#
#<?php die('Forbidden.'); ?>
#Date: 2023-10-13 12:16:39 UTC
#Software: Joomla! 4.3.4 Stable [ Bora ] 22-August-2023 16:00 GMT

#Fields: date	time	line_nr	action	comment
2023-10-13	12:16:39	0	[DEBUG]	Clean up old logs. Found 2 logs and threshold is 25 logs
2023-10-13	12:16:40	0	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:16:40	0	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:16:40	0	[DEBUG]	Load the fields to process
2023-10-13	12:16:40	0	[DEBUG]	Setup field: product_sku
2023-10-13	12:16:40	0	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:16:40	0	[DEBUG]	Setup field: taille
2023-10-13	12:16:40	0	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:16:40	0	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:16:40	0	[DEBUG]	Setup field: product_name
2023-10-13	12:16:40	0	[DEBUG]	Setup field: category_path
2023-10-13	12:16:40	0	[DEBUG]	Setup field: product_price
2023-10-13	12:16:40	0	[DEBUG]	Setup field: product_override_price
2023-10-13	12:16:40	0	[DEBUG]	Setup field: product_tax
2023-10-13	12:16:40	0	[DEBUG]	Setup field: file_url
2023-10-13	12:16:40	0	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:16:40	0	[DEBUG]	Setup field: product_desc
2023-10-13	12:16:40	0	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:16:40	0	[DEBUG]	Setup field: product_availability
2023-10-13	12:16:40	0	[DEBUG]	Setup field: product_weight
2023-10-13	12:16:40	0	[DEBUG]	Setup field: product_unit
2023-10-13	12:16:40	0	[DEBUG]	Setup field: related_products
2023-10-13	12:16:40	0	[DEBUG]	Setup field: product_special
2023-10-13	12:16:40	0	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:16:40	0	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:16:40	0	[DEBUG]	Setup field: published
2023-10-13	12:16:40	0	[DEBUG]	Setup field: metadesc
2023-10-13	12:16:40	0	[DEBUG]	Setup field: metakey
2023-10-13	12:16:40	0	[DEBUG]	Setup field: custom_title
2023-10-13	12:16:40	0	[DEBUG]	Setup field: custom_value
2023-10-13	12:16:40	0	[DEBUG]	Setup field: custom_param
2023-10-13	12:16:40	0	[DEBUG]	Setup field: override
2023-10-13	12:16:40	0	[DEBUG]	Setup field: public_price
2023-10-13	12:16:40	0	[DEBUG]	Setup field: slug
2023-10-13	12:16:40	0	[DEBUG]	Use the file for configuration
2023-10-13	12:16:41	0	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:16:41	0	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:16:41	0	[DEBUG]	Load the fields to process
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_sku
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:16:41	0	[DEBUG]	Setup field: taille
2023-10-13	12:16:41	0	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:16:41	0	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_name
2023-10-13	12:16:41	0	[DEBUG]	Setup field: category_path
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_price
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_override_price
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_tax
2023-10-13	12:16:41	0	[DEBUG]	Setup field: file_url
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_desc
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_availability
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_weight
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_unit
2023-10-13	12:16:41	0	[DEBUG]	Setup field: related_products
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_special
2023-10-13	12:16:41	0	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:16:41	0	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:16:41	0	[DEBUG]	Setup field: published
2023-10-13	12:16:41	0	[DEBUG]	Setup field: metadesc
2023-10-13	12:16:41	0	[DEBUG]	Setup field: metakey
2023-10-13	12:16:41	0	[DEBUG]	Setup field: custom_title
2023-10-13	12:16:41	0	[DEBUG]	Setup field: custom_value
2023-10-13	12:16:41	0	[DEBUG]	Setup field: custom_param
2023-10-13	12:16:41	0	[DEBUG]	Setup field: override
2023-10-13	12:16:41	0	[DEBUG]	Setup field: public_price
2023-10-13	12:16:41	0	[DEBUG]	Setup field: slug
2023-10-13	12:16:41	0	[DEBUG]	Use the file for configuration
2023-10-13	12:16:41	0	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:16:41	0	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:16:41	0	[DEBUG]	Load the fields to process
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_sku
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:16:41	0	[DEBUG]	Setup field: taille
2023-10-13	12:16:41	0	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:16:41	0	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_name
2023-10-13	12:16:41	0	[DEBUG]	Setup field: category_path
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_price
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_override_price
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_tax
2023-10-13	12:16:41	0	[DEBUG]	Setup field: file_url
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_desc
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_availability
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_weight
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_unit
2023-10-13	12:16:41	0	[DEBUG]	Setup field: related_products
2023-10-13	12:16:41	0	[DEBUG]	Setup field: product_special
2023-10-13	12:16:41	0	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:16:41	0	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:16:41	0	[DEBUG]	Setup field: published
2023-10-13	12:16:41	0	[DEBUG]	Setup field: metadesc
2023-10-13	12:16:41	0	[DEBUG]	Setup field: metakey
2023-10-13	12:16:41	0	[DEBUG]	Setup field: custom_title
2023-10-13	12:16:41	0	[DEBUG]	Setup field: custom_value
2023-10-13	12:16:41	0	[DEBUG]	Setup field: custom_param
2023-10-13	12:16:41	0	[DEBUG]	Setup field: override
2023-10-13	12:16:41	0	[DEBUG]	Setup field: public_price
2023-10-13	12:16:41	0	[DEBUG]	Setup field: slug
2023-10-13	12:16:41	0	[DEBUG]	Use the file for configuration
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field taille
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field category_path
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field product_weight
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field published
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field custom_title
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field custom_param
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field override
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field public_price
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field slug
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field taille
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field category_path
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field product_weight
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:41	0	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:41	0	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field published
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field custom_title
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field custom_param
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field override
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field public_price
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field slug
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field taille
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field category_path
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_weight
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field published
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field custom_title
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field custom_param
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field override
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field public_price
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field slug
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field taille
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field category_path
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_weight
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field published
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field custom_title
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field custom_param
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field override
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field public_price
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field slug
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field taille
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field category_path
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field product_weight
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field published
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:42	0	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field custom_title
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field custom_param
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field override
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field public_price
2023-10-13	12:16:42	0	[DEBUG]	Use field value for field slug
2023-10-13	12:16:43	0	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:16:43	0	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:16:43	0	[DEBUG]	Load the fields to process
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_sku
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:16:43	0	[DEBUG]	Setup field: taille
2023-10-13	12:16:43	0	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:16:43	0	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_name
2023-10-13	12:16:43	0	[DEBUG]	Setup field: category_path
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_price
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_override_price
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_tax
2023-10-13	12:16:43	0	[DEBUG]	Setup field: file_url
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_desc
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_availability
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_weight
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_unit
2023-10-13	12:16:43	0	[DEBUG]	Setup field: related_products
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_special
2023-10-13	12:16:43	0	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:16:43	0	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:16:43	0	[DEBUG]	Setup field: published
2023-10-13	12:16:43	0	[DEBUG]	Setup field: metadesc
2023-10-13	12:16:43	0	[DEBUG]	Setup field: metakey
2023-10-13	12:16:43	0	[DEBUG]	Setup field: custom_title
2023-10-13	12:16:43	0	[DEBUG]	Setup field: custom_value
2023-10-13	12:16:43	0	[DEBUG]	Setup field: custom_param
2023-10-13	12:16:43	0	[DEBUG]	Setup field: override
2023-10-13	12:16:43	0	[DEBUG]	Setup field: public_price
2023-10-13	12:16:43	0	[DEBUG]	Setup field: slug
2023-10-13	12:16:43	0	[DEBUG]	Use the file for configuration
2023-10-13	12:16:43	0	[DEBUG]	Clean up old logs. Found 2 logs and threshold is 25 logs
2023-10-13	12:16:43	0	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:16:43	0	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:16:43	0	[DEBUG]	Load the fields to process
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_sku
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:16:43	0	[DEBUG]	Setup field: taille
2023-10-13	12:16:43	0	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:16:43	0	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_name
2023-10-13	12:16:43	0	[DEBUG]	Setup field: category_path
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_price
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_override_price
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_tax
2023-10-13	12:16:43	0	[DEBUG]	Setup field: file_url
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_desc
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_availability
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_weight
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_unit
2023-10-13	12:16:43	0	[DEBUG]	Setup field: related_products
2023-10-13	12:16:43	0	[DEBUG]	Setup field: product_special
2023-10-13	12:16:43	0	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:16:43	0	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:16:43	0	[DEBUG]	Setup field: published
2023-10-13	12:16:43	0	[DEBUG]	Setup field: metadesc
2023-10-13	12:16:43	0	[DEBUG]	Setup field: metakey
2023-10-13	12:16:43	0	[DEBUG]	Setup field: custom_title
2023-10-13	12:16:43	0	[DEBUG]	Setup field: custom_value
2023-10-13	12:16:43	0	[DEBUG]	Setup field: custom_param
2023-10-13	12:16:43	0	[DEBUG]	Setup field: override
2023-10-13	12:16:43	0	[DEBUG]	Setup field: public_price
2023-10-13	12:16:43	0	[DEBUG]	Setup field: slug
2023-10-13	12:16:43	0	[DEBUG]	Use the file for configuration
2023-10-13	12:16:43	0	[DEBUG]	==========
2023-10-13	12:16:43	0	[DEBUG]	RO CSVI Version: 8.8.0
2023-10-13	12:16:43	0	[DEBUG]	PHP version: 8.1.23
2023-10-13	12:16:43	0	[DEBUG]	Action: import
2023-10-13	12:16:43	0	[DEBUG]	Component: com_virtuemart
2023-10-13	12:16:43	0	[DEBUG]	Operation: product
2023-10-13	12:16:43	0	[DEBUG]	Override: 
2023-10-13	12:16:43	0	[DEBUG]	Source: fromserver
2023-10-13	12:16:43	0	[DEBUG]	Load from your computer: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/tmp/com_csvi/3470028287/bcprisme.txt
2023-10-13	12:16:43	0	[DEBUG]	Load from server: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/bcprisme.txt
2023-10-13	12:16:43	0	[DEBUG]	Delete after import: No
2023-10-13	12:16:43	0	[DEBUG]	URL: http://
2023-10-13	12:16:43	0	[DEBUG]	URL Username: 
2023-10-13	12:16:43	0	[DEBUG]	Name of username field: user
2023-10-13	12:16:43	0	[DEBUG]	URL Password: 
2023-10-13	12:16:43	0	[DEBUG]	Name of the password field: password
2023-10-13	12:16:43	0	[DEBUG]	Retrieve method: get
2023-10-13	12:16:43	0	[DEBUG]	Authorization Type: htaccess
2023-10-13	12:16:43	0	[DEBUG]	Encode URL: Yes
2023-10-13	12:16:43	0	[DEBUG]	(S)FTP Host: 
2023-10-13	12:16:43	0	[DEBUG]	(S)FTP Port: 
2023-10-13	12:16:43	0	[DEBUG]	SFTP: No
2023-10-13	12:16:43	0	[DEBUG]	(S)FTP Root Folder: 
2023-10-13	12:16:43	0	[DEBUG]	(S)FTP Filename: 
2023-10-13	12:16:43	0	[DEBUG]	Connection Type: 
2023-10-13	12:16:43	0	[DEBUG]	Table List: 
2023-10-13	12:16:43	0	[DEBUG]	Username: 
2023-10-13	12:16:43	0	[DEBUG]	Host: 
2023-10-13	12:16:43	0	[DEBUG]	Port: 
2023-10-13	12:16:43	0	[DEBUG]	Database Name: 
2023-10-13	12:16:43	0	[DEBUG]	Database Table: 
2023-10-13	12:16:43	0	[DEBUG]	Client ID: 
2023-10-13	12:16:43	0	[DEBUG]	Client Secret: 
2023-10-13	12:16:43	0	[DEBUG]	Spreadsheet Id: 
2023-10-13	12:16:43	0	[DEBUG]	Sheet Name: 
2023-10-13	12:16:43	0	[DEBUG]	From Cell/Column: 
2023-10-13	12:16:43	0	[DEBUG]	To Cell/Column: 
2023-10-13	12:16:43	0	[DEBUG]	Autodetect delimiters: No
2023-10-13	12:16:43	0	[DEBUG]	Field Delimiter: ;
2023-10-13	12:16:43	0	[DEBUG]	Text Enclosure: "
2023-10-13	12:16:43	0	[DEBUG]	Escape Character: 
2023-10-13	12:16:43	0	[DEBUG]	Use file extension: 
2023-10-13	12:16:43	0	[DEBUG]	I'm Mac: No
2023-10-13	12:16:43	0	[DEBUG]	Use file for configuration: Yes
2023-10-13	12:16:43	0	[DEBUG]	Add extra fields: No
2023-10-13	12:16:43	0	[DEBUG]	Skip first line: No
2023-10-13	12:16:43	0	[DEBUG]	Skip lines: Yes
2023-10-13	12:16:43	0	[DEBUG]	Overwrite existing data: Yes
2023-10-13	12:16:43	0	[DEBUG]	Skip new items: No
2023-10-13	12:16:43	0	[DEBUG]	Skip empty custom fields: No
2023-10-13	12:16:43	0	[DEBUG]	Record container: 
2023-10-13	12:16:43	0	[DEBUG]	Record name: 
2023-10-13	12:16:43	0	[DEBUG]	Language: fr-FR
2023-10-13	12:16:43	0	[DEBUG]	Category separator: ^
2023-10-13	12:16:43	0	[DEBUG]	Append categories: No
2023-10-13	12:16:43	0	[DEBUG]	Import based on: product_sku
2023-10-13	12:16:43	0	[DEBUG]	Unpublish before import: No
2023-10-13	12:16:43	0	[DEBUG]	COM_CSVI_JFORM_0_LABEL: none
2023-10-13	12:16:43	0	[DEBUG]	Recreate alias: Yes
2023-10-13	12:16:43	0	[DEBUG]	Delete custom fields relations: No
2023-10-13	12:16:43	0	[DEBUG]	Delete existing prices: No
2023-10-13	12:16:43	0	[DEBUG]	Delete shopper groups: No
2023-10-13	12:16:43	0	[DEBUG]	Delete related products: No
2023-10-13	12:16:43	0	[DEBUG]	Delete related categories: No
2023-10-13	12:16:43	0	[DEBUG]	Delete manufacturers: No
2023-10-13	12:16:43	0	[DEBUG]	Use ICEcat data: No
2023-10-13	12:16:43	0	[DEBUG]	Similar SKU search: No
2023-10-13	12:16:43	0	[DEBUG]	Number of images: 
2023-10-13	12:16:43	0	[DEBUG]	Download PDF files: No
2023-10-13	12:16:43	0	[DEBUG]	COM_CSVI_JFORM_0_LABEL: 
2023-10-13	12:16:43	0	[DEBUG]	Product name field: Name
2023-10-13	12:16:43	0	[DEBUG]	Location product files: bcprisme
2023-10-13	12:16:43	0	[DEBUG]	Delete image relations: No
2023-10-13	12:16:43	0	[DEBUG]	Create image name: No
2023-10-13	12:16:43	0	[DEBUG]	Image name based on: product_sku
2023-10-13	12:16:43	0	[DEBUG]	Image name format: jpg
2023-10-13	12:16:43	0	[DEBUG]	Change case: none
2023-10-13	12:16:43	0	[DEBUG]	Fill media fields: No
2023-10-13	12:16:43	0	[DEBUG]	Update media link only: No
2023-10-13	12:16:43	0	[DEBUG]	Process images: Yes
2023-10-13	12:16:43	0	[DEBUG]	Keep original file: No
2023-10-13	12:16:43	0	[DEBUG]	Convert image type: none
2023-10-13	12:16:43	0	[DEBUG]	Save images on server: No
2023-10-13	12:16:43	0	[DEBUG]	Re-download image: Yes
2023-10-13	12:16:43	0	[DEBUG]	Resize large image: No
2023-10-13	12:16:43	0	[DEBUG]	Full image width: 
2023-10-13	12:16:43	0	[DEBUG]	Full image height: 
2023-10-13	12:16:43	0	[DEBUG]	Check filetype: No
2023-10-13	12:16:43	0	[DEBUG]	Fill Used Thumb URL value: Yes
2023-10-13	12:16:43	0	[DEBUG]	Automatic thumbnail creation: No
2023-10-13	12:16:43	0	[DEBUG]	Thumbnail type: none
2023-10-13	12:16:43	0	[DEBUG]	Thumbnail width: 90
2023-10-13	12:16:43	0	[DEBUG]	Thumbnail height: 90
2023-10-13	12:16:43	0	[DEBUG]	Maximum width resize: 1024
2023-10-13	12:16:43	0	[DEBUG]	Maximum height resize: 768
2023-10-13	12:16:43	0	[DEBUG]	Watermark: No
2023-10-13	12:16:43	0	[DEBUG]	Right margin: No
2023-10-13	12:16:43	0	[DEBUG]	Bottom margin: No
2023-10-13	12:16:43	0	[DEBUG]	Image: 
2023-10-13	12:16:43	0	[DEBUG]	URL Username: 
2023-10-13	12:16:43	0	[DEBUG]	URL Password: 
2023-10-13	12:16:43	0	[DEBUG]	Retrieve method: post
2023-10-13	12:16:43	0	[DEBUG]	Authorization Type: htaccess
2023-10-13	12:16:43	0	[DEBUG]	Encode URL: Yes
2023-10-13	12:16:43	0	[DEBUG]	Verify SSL: Yes
2023-10-13	12:16:43	0	[DEBUG]	Global Rules: 
2023-10-13	12:16:43	0	[DEBUG]	Lines per import: 100
2023-10-13	12:16:43	0	[DEBUG]	Time between imports: 20
2023-10-13	12:16:43	0	[DEBUG]	Override system limits?: No
2023-10-13	12:16:43	0	[DEBUG]	Maximum execution time: 
2023-10-13	12:16:43	0	[DEBUG]	Maximum amount of memory: 
2023-10-13	12:16:43	0	[DEBUG]	Maximum size of POST data in megabytes: 
2023-10-13	12:16:43	0	[DEBUG]	Maximum allowed size for uploaded files in megabytes: 
2023-10-13	12:16:43	0	[DEBUG]	Template ID: 3
2023-10-13	12:16:43	0	[DEBUG]	==========
2023-10-13	12:16:43	0	[DEBUG]	Updating start date and time of import
2023-10-13	12:16:43	0	[QUERY]	 UPDATE `mlvbch_csvi_logs` SET `start` = '2023-10-13 12:16:43' WHERE `csvi_log_id` = 22
2023-10-13	12:16:43	0	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:16:43	0	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:16:43	0	[DEBUG]	Load the custom fields
2023-10-13	12:16:43	0	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:16:43	0	[DEBUG]	Load stockable custom fields
2023-10-13	12:16:43	0	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:16:43	0	[DEBUG]	Load custom fields for all
2023-10-13	12:16:43	0	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:43	1	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field taille
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field category_path
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:43	1	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:16:43	1	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:43	1	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field product_weight
2023-10-13	12:16:43	1	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:43	1	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:43	1	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field published
2023-10-13	12:16:43	1	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:43	1	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field custom_title
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field custom_param
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field override
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field public_price
2023-10-13	12:16:43	1	[DEBUG]	Use field value for field slug
2023-10-13	12:16:43	1	[DEBUG]	Process line 1
2023-10-13	12:16:43	1	[DEBUG]	Check if the vendor exists
2023-10-13	12:16:43	1	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9175_208'
2023-10-13	12:16:43	1	[DEBUG]	Load a row
2023-10-13	12:16:43	1	[DEBUG]	Processing item: A_9175_208
2023-10-13	12:16:43	1	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:43	1	[DEBUG]	Processing product tax
2023-10-13	12:16:43	1	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:43	1	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:43	1	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:43	1	[DEBUG]	Query for Product
2023-10-13	12:16:43	1	[DEBUG]	Executed store
2023-10-13	12:16:43	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9175_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:43	1	[DEBUG]	Check product language entry
2023-10-13	12:16:43	1	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859493
2023-10-13	12:16:43	1	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:43	1	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9175_208' AND `virtuemart_product_id` != 1859493
2023-10-13	12:16:43	1	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:43	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859493, 'A_9175_208')
2023-10-13	12:16:43	1	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:43	1	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-entretoise-pour-contre-ecrou-cs-lg600-11-aucune' AND `virtuemart_product_id` != 1859493
2023-10-13	12:16:43	1	[DEBUG]	Query for ProductLang
2023-10-13	12:16:43	1	[DEBUG]	Executed store
2023-10-13	12:16:43	1	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.83669',`product_name`='SHIMANO Entretoise pour contre+écrou CS-LG600-11 / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-entretoise-pour-contre-ecrou-cs-lg600-11-aucune' WHERE `virtuemart_product_id` = '1859493'
2023-10-13	12:16:43	1	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38243_entretoise_pour_contre+ecrou_cs-lg600-11.jpg
2023-10-13	12:16:43	1	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:16:43	1	[DEBUG]	Process image file
2023-10-13	12:16:43	1	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:16:43	1	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:43	1	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38243_entretoise_pour_contre+ecrou_cs-lg600-11.jpg
2023-10-13	12:16:43	1	[DEBUG]	Full name target: bcprisme/38243_entretoise_pour_contre+ecrou_cs-lg600-11.jpg
2023-10-13	12:16:44	1	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:44	1	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38243_entretoise_pour_contre+ecrou_cs-lg600-11.jpg'
2023-10-13	12:16:44	1	[DEBUG]	Query for Media
2023-10-13	12:16:44	1	[DEBUG]	Executed store
2023-10-13	12:16:44	1	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38243_entretoise_pour_contre+ecrou_cs-lg600-11.jpg',`file_url_thumb`='bcprisme/38243_entretoise_pour_contre+ecrou_cs-lg600-11.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1326493'
2023-10-13	12:16:44	1	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:44	1	[DEBUG]	Executed store
2023-10-13	12:16:44	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859493','1326493','1')
2023-10-13	12:16:44	1	[DEBUG]	Store product image relation
2023-10-13	12:16:44	1	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:44	1	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859493 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:44	1	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:44	1	[DEBUG]	Executed store
2023-10-13	12:16:44	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859493','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:44	1	[DEBUG]	Checking manufacturer
2023-10-13	12:16:44	1	[DEBUG]	Load a row
2023-10-13	12:16:44	1	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:44	1	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:16:44	1	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:44	1	[DEBUG]	Executed store
2023-10-13	12:16:44	1	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:16:44	1	[DEBUG]	Manufacturer exists
2023-10-13	12:16:44	1	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:16:44	1	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:44	1	[DEBUG]	Executed store
2023-10-13	12:16:44	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859493','26')
2023-10-13	12:16:44	1	[DEBUG]	Find the custom field ID
2023-10-13	12:16:44	1	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:16:44	1	[DEBUG]	No custom field ID found
2023-10-13	12:16:44	1	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:44	1	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:16:44	1	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859493 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:44	1	[DEBUG]	Store custom available field
2023-10-13	12:16:44	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859493,3,'0',1)
2023-10-13	12:16:44	1	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:44	1	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:16:44	1	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859493 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:44	1	[DEBUG]	Store custom available field
2023-10-13	12:16:44	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859493,6,'choisir la taille',3)
2023-10-13	12:16:44	1	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:44	1	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:16:44	1	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:16:44	1	[DEBUG]	Find the multi variant product entry
2023-10-13	12:16:44	1	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859493 AND `virtuemart_custom_id` = 8
2023-10-13	12:16:44	1	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:16:44	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859493,8,1)
2023-10-13	12:16:44	1	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:44	1	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859493\":[1859493,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859493
2023-10-13	12:16:44	1	[DEBUG]	Checking category
2023-10-13	12:16:44	1	[DEBUG]	Check if category path exists: <Aucun>
2023-10-13	12:16:44	1	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = '<Aucun>' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:16:44	1	[DEBUG]	Check if category path exists: <Aucun>
2023-10-13	12:16:44	1	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = '<Aucun>' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7258
2023-10-13	12:16:44	1	[DEBUG]	Get the existing categories for the product
2023-10-13	12:16:44	1	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859493
2023-10-13	12:16:44	1	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:16:44	1	[DEBUG]	Executed store
2023-10-13	12:16:44	1	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859493','7259')
2023-10-13	12:16:44	1	[DEBUG]	Delete leftover product categories
2023-10-13	12:16:44	1	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859493 AND `virtuemart_category_id` NOT IN (7259)
2023-10-13	12:16:44	1	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:44	1	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859493
2023-10-13	12:16:44	2	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:44	2	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:16:44	2	[DEBUG]	Use field value for field taille
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:16:44	2	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field category_path
2023-10-13	12:16:44	2	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:44	2	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:44	2	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:44	2	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:16:44	2	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field product_weight
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:44	2	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:44	2	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:44	2	[DEBUG]	Use field value for field published
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field custom_title
2023-10-13	12:16:44	2	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field custom_param
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field override
2023-10-13	12:16:44	2	[DEBUG]	Use default value for field public_price
2023-10-13	12:16:44	2	[DEBUG]	Use field value for field slug
2023-10-13	12:16:44	2	[DEBUG]	Process line 2
2023-10-13	12:16:44	2	[DEBUG]	Load a row
2023-10-13	12:16:44	2	[DEBUG]	Processing item: 7630032614352
2023-10-13	12:16:44	2	[DEBUG]	Looking for parent SKU
2023-10-13	12:16:44	2	[DEBUG]	Checking product parent SKU
2023-10-13	12:16:44	2	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9175_208'
2023-10-13	12:16:44	2	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:44	2	[DEBUG]	Processing product tax
2023-10-13	12:16:44	2	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:44	2	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:44	2	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:44	2	[DEBUG]	Query for Product
2023-10-13	12:16:44	2	[DEBUG]	Executed store
2023-10-13	12:16:44	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859493','7630032614352','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:44	2	[DEBUG]	No parent found
2023-10-13	12:16:44	2	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859493 AND customfield_value = 'stockable'
2023-10-13	12:16:44	2	[DEBUG]	Check product language entry
2023-10-13	12:16:44	2	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859494
2023-10-13	12:16:44	2	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:44	2	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7630032614352' AND `virtuemart_product_id` != 1859494
2023-10-13	12:16:44	2	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:44	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859494, '7630032614352')
2023-10-13	12:16:44	2	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:44	2	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-entretoise-pour-contre-ecrou-cs-lg600-11-aucune-unitaire' AND `virtuemart_product_id` != 1859494
2023-10-13	12:16:44	2	[DEBUG]	Query for ProductLang
2023-10-13	12:16:44	2	[DEBUG]	Executed store
2023-10-13	12:16:44	2	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Entretoise pour contre+écrou CS-LG600-11 / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-entretoise-pour-contre-ecrou-cs-lg600-11-aucune-unitaire' WHERE `virtuemart_product_id` = '1859494'
2023-10-13	12:16:44	2	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38243_entretoise_pour_contre+ecrou_cs-lg600-11.jpg
2023-10-13	12:16:44	2	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:16:45	2	[DEBUG]	Process image file
2023-10-13	12:16:45	2	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:16:45	2	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:45	2	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38243_entretoise_pour_contre+ecrou_cs-lg600-11.jpg
2023-10-13	12:16:45	2	[DEBUG]	Full name target: bcprisme/38243_entretoise_pour_contre+ecrou_cs-lg600-11.jpg
2023-10-13	12:16:45	2	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:45	2	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38243_entretoise_pour_contre+ecrou_cs-lg600-11.jpg'
2023-10-13	12:16:45	2	[DEBUG]	Query for Media
2023-10-13	12:16:45	2	[DEBUG]	Executed store
2023-10-13	12:16:45	2	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38243_entretoise_pour_contre+ecrou_cs-lg600-11.jpg',`file_url_thumb`='bcprisme/38243_entretoise_pour_contre+ecrou_cs-lg600-11.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1326493'
2023-10-13	12:16:45	2	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:45	2	[DEBUG]	Executed store
2023-10-13	12:16:45	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859494','1326493','1')
2023-10-13	12:16:45	2	[DEBUG]	Store product image relation
2023-10-13	12:16:45	2	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:45	2	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859494 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:45	2	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:45	2	[DEBUG]	Executed store
2023-10-13	12:16:45	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859494','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:45	2	[DEBUG]	Checking manufacturer
2023-10-13	12:16:45	2	[DEBUG]	Load a row
2023-10-13	12:16:45	2	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:45	2	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:16:45	2	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:45	2	[DEBUG]	Executed store
2023-10-13	12:16:45	2	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:16:45	2	[DEBUG]	Manufacturer exists
2023-10-13	12:16:45	2	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:16:45	2	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:45	2	[DEBUG]	Executed store
2023-10-13	12:16:45	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859494','26')
2023-10-13	12:16:45	2	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:45	2	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:16:45	2	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859494 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:45	2	[DEBUG]	Store custom available field
2023-10-13	12:16:45	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859494,3,'',1)
2023-10-13	12:16:45	2	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:45	2	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:16:45	2	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859494 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:45	2	[DEBUG]	Store custom available field
2023-10-13	12:16:45	2	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859494,6,'Unitaire',3)
2023-10-13	12:16:45	2	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:45	2	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:16:45	2	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859493
2023-10-13	12:16:45	2	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:45	2	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859493\":[1859493,8,1,\"choisir la taille\"],\"1859494\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859493
2023-10-13	12:16:45	2	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:45	2	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859494
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:45	3	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field taille
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field category_path
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:45	3	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:16:45	3	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:45	3	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field product_weight
2023-10-13	12:16:45	3	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:45	3	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:45	3	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field published
2023-10-13	12:16:45	3	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:45	3	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field custom_title
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field custom_param
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field override
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field public_price
2023-10-13	12:16:45	3	[DEBUG]	Use field value for field slug
2023-10-13	12:16:45	3	[DEBUG]	Process line 3
2023-10-13	12:16:45	3	[DEBUG]	Load a row
2023-10-13	12:16:45	3	[DEBUG]	Processing item: A_5985_208
2023-10-13	12:16:45	3	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:45	3	[DEBUG]	Processing product tax
2023-10-13	12:16:45	3	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:45	3	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:45	3	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:45	3	[DEBUG]	Query for Product
2023-10-13	12:16:46	3	[DEBUG]	Executed store
2023-10-13	12:16:46	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5985_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:46	3	[DEBUG]	Check product language entry
2023-10-13	12:16:46	3	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859495
2023-10-13	12:16:46	3	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:46	3	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5985_208' AND `virtuemart_product_id` != 1859495
2023-10-13	12:16:46	3	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:46	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859495, 'A_5985_208')
2023-10-13	12:16:46	3	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:46	3	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-aimant-pour-du-e6000-6001-en-vrac-aucune' AND `virtuemart_product_id` != 1859495
2023-10-13	12:16:46	3	[DEBUG]	Query for ProductLang
2023-10-13	12:16:46	3	[DEBUG]	Executed store
2023-10-13	12:16:46	3	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 75.61484',`product_name`='SHIMANO Aimant pour DU-E6000/6001 en vrac / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-aimant-pour-du-e6000-6001-en-vrac-aucune' WHERE `virtuemart_product_id` = '1859495'
2023-10-13	12:16:46	3	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31586_shimano_aimant_pour_du-e6000-6001_en_vrac.jpg
2023-10-13	12:16:46	3	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:46	3	[DEBUG]	Process image file
2023-10-13	12:16:46	3	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:46	3	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:46	3	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31586_shimano_aimant_pour_du-e6000-6001_en_vrac.jpg
2023-10-13	12:16:46	3	[DEBUG]	Full name target: bcprisme/31586_shimano_aimant_pour_du-e6000-6001_en_vrac.jpg
2023-10-13	12:16:46	3	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:46	3	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31586_shimano_aimant_pour_du-e6000-6001_en_vrac.jpg'
2023-10-13	12:16:46	3	[DEBUG]	Query for Media
2023-10-13	12:16:46	3	[DEBUG]	Executed store
2023-10-13	12:16:46	3	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31586_shimano_aimant_pour_du-e6000-6001_en_vrac.jpg',`file_url_thumb`='bcprisme/31586_shimano_aimant_pour_du-e6000-6001_en_vrac.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1140494'
2023-10-13	12:16:46	3	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:46	3	[DEBUG]	Executed store
2023-10-13	12:16:46	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859495','1140494','1')
2023-10-13	12:16:46	3	[DEBUG]	Store product image relation
2023-10-13	12:16:46	3	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:46	3	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859495 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:46	3	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:46	3	[DEBUG]	Executed store
2023-10-13	12:16:46	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859495','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:46	3	[DEBUG]	Checking manufacturer
2023-10-13	12:16:46	3	[DEBUG]	Load a row
2023-10-13	12:16:46	3	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:46	3	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:16:46	3	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:46	3	[DEBUG]	Executed store
2023-10-13	12:16:46	3	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:16:46	3	[DEBUG]	Manufacturer exists
2023-10-13	12:16:46	3	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:16:46	3	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:46	3	[DEBUG]	Executed store
2023-10-13	12:16:46	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859495','26')
2023-10-13	12:16:46	3	[DEBUG]	Find the custom field ID
2023-10-13	12:16:46	3	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:16:46	3	[DEBUG]	No custom field ID found
2023-10-13	12:16:46	3	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:46	3	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:16:46	3	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859495 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:46	3	[DEBUG]	Store custom available field
2023-10-13	12:16:46	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859495,3,'0',1)
2023-10-13	12:16:46	3	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:46	3	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:16:46	3	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859495 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:46	3	[DEBUG]	Store custom available field
2023-10-13	12:16:46	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859495,6,'choisir la taille',3)
2023-10-13	12:16:46	3	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:46	3	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:16:46	3	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:16:46	3	[DEBUG]	Find the multi variant product entry
2023-10-13	12:16:46	3	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859495 AND `virtuemart_custom_id` = 8
2023-10-13	12:16:46	3	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:16:46	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859495,8,1)
2023-10-13	12:16:46	3	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:46	3	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859495\":[1859495,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859495
2023-10-13	12:16:46	3	[DEBUG]	Checking category
2023-10-13	12:16:46	3	[DEBUG]	Check if category path exists: AIMANTS
2023-10-13	12:16:46	3	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'AIMANTS' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:16:46	3	[DEBUG]	Check if category path exists: AIMANTS
2023-10-13	12:16:46	3	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'AIMANTS' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7260
2023-10-13	12:16:46	3	[DEBUG]	Get the existing categories for the product
2023-10-13	12:16:46	3	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859495
2023-10-13	12:16:46	3	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:16:46	3	[DEBUG]	Executed store
2023-10-13	12:16:46	3	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859495','7261')
2023-10-13	12:16:46	3	[DEBUG]	Delete leftover product categories
2023-10-13	12:16:46	3	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859495 AND `virtuemart_category_id` NOT IN (7261)
2023-10-13	12:16:46	3	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:46	3	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859495
2023-10-13	12:16:46	4	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:46	4	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:16:46	4	[DEBUG]	Use field value for field taille
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:16:46	4	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field category_path
2023-10-13	12:16:46	4	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:46	4	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:46	4	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:46	4	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:16:46	4	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field product_weight
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:46	4	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:46	4	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:46	4	[DEBUG]	Use field value for field published
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field custom_title
2023-10-13	12:16:46	4	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field custom_param
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field override
2023-10-13	12:16:46	4	[DEBUG]	Use default value for field public_price
2023-10-13	12:16:46	4	[DEBUG]	Use field value for field slug
2023-10-13	12:16:47	4	[DEBUG]	Process line 4
2023-10-13	12:16:47	4	[DEBUG]	Load a row
2023-10-13	12:16:47	4	[DEBUG]	Processing item: 4524667887300
2023-10-13	12:16:47	4	[DEBUG]	Looking for parent SKU
2023-10-13	12:16:47	4	[DEBUG]	Checking product parent SKU
2023-10-13	12:16:47	4	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5985_208'
2023-10-13	12:16:47	4	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:47	4	[DEBUG]	Processing product tax
2023-10-13	12:16:47	4	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:47	4	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:47	4	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:47	4	[DEBUG]	Query for Product
2023-10-13	12:16:47	4	[DEBUG]	Executed store
2023-10-13	12:16:47	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859495','4524667887300','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:47	4	[DEBUG]	No parent found
2023-10-13	12:16:47	4	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859495 AND customfield_value = 'stockable'
2023-10-13	12:16:47	4	[DEBUG]	Check product language entry
2023-10-13	12:16:47	4	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859496
2023-10-13	12:16:47	4	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:47	4	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667887300' AND `virtuemart_product_id` != 1859496
2023-10-13	12:16:47	4	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:47	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859496, '4524667887300')
2023-10-13	12:16:47	4	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:47	4	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-aimant-pour-du-e6000-6001-en-vrac-aucune-all' AND `virtuemart_product_id` != 1859496
2023-10-13	12:16:47	4	[DEBUG]	Query for ProductLang
2023-10-13	12:16:47	4	[DEBUG]	Executed store
2023-10-13	12:16:47	4	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Aimant pour DU-E6000/6001 en vrac / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-aimant-pour-du-e6000-6001-en-vrac-aucune-all' WHERE `virtuemart_product_id` = '1859496'
2023-10-13	12:16:47	4	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31586_shimano_aimant_pour_du-e6000-6001_en_vrac.jpg
2023-10-13	12:16:47	4	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:47	4	[DEBUG]	Process image file
2023-10-13	12:16:47	4	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:47	4	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:47	4	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31586_shimano_aimant_pour_du-e6000-6001_en_vrac.jpg
2023-10-13	12:16:47	4	[DEBUG]	Full name target: bcprisme/31586_shimano_aimant_pour_du-e6000-6001_en_vrac.jpg
2023-10-13	12:16:48	4	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:48	4	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31586_shimano_aimant_pour_du-e6000-6001_en_vrac.jpg'
2023-10-13	12:16:48	4	[DEBUG]	Query for Media
2023-10-13	12:16:48	4	[DEBUG]	Executed store
2023-10-13	12:16:48	4	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31586_shimano_aimant_pour_du-e6000-6001_en_vrac.jpg',`file_url_thumb`='bcprisme/31586_shimano_aimant_pour_du-e6000-6001_en_vrac.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1140494'
2023-10-13	12:16:48	4	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:48	4	[DEBUG]	Executed store
2023-10-13	12:16:48	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859496','1140494','1')
2023-10-13	12:16:48	4	[DEBUG]	Store product image relation
2023-10-13	12:16:48	4	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:48	4	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859496 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:48	4	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:48	4	[DEBUG]	Executed store
2023-10-13	12:16:48	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859496','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:48	4	[DEBUG]	Checking manufacturer
2023-10-13	12:16:48	4	[DEBUG]	Load a row
2023-10-13	12:16:48	4	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:48	4	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:16:48	4	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:48	4	[DEBUG]	Executed store
2023-10-13	12:16:48	4	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:16:48	4	[DEBUG]	Manufacturer exists
2023-10-13	12:16:48	4	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:16:48	4	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:48	4	[DEBUG]	Executed store
2023-10-13	12:16:48	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859496','26')
2023-10-13	12:16:48	4	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:48	4	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:16:48	4	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859496 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:48	4	[DEBUG]	Store custom available field
2023-10-13	12:16:48	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859496,3,'',1)
2023-10-13	12:16:48	4	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:48	4	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:16:48	4	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859496 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:48	4	[DEBUG]	Store custom available field
2023-10-13	12:16:48	4	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859496,6,'All',3)
2023-10-13	12:16:48	4	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:48	4	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:16:48	4	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859495
2023-10-13	12:16:48	4	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:48	4	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859495\":[1859495,8,1,\"choisir la taille\"],\"1859496\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859495
2023-10-13	12:16:48	4	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:48	4	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859496
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:48	5	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field taille
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field category_path
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:48	5	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:16:48	5	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:48	5	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field product_weight
2023-10-13	12:16:48	5	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:48	5	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:48	5	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field published
2023-10-13	12:16:48	5	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:48	5	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field custom_title
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field custom_param
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field override
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field public_price
2023-10-13	12:16:48	5	[DEBUG]	Use field value for field slug
2023-10-13	12:16:48	5	[DEBUG]	Process line 5
2023-10-13	12:16:48	5	[DEBUG]	Load a row
2023-10-13	12:16:48	5	[DEBUG]	Processing item: A_8711_1
2023-10-13	12:16:48	5	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:48	5	[DEBUG]	Processing product tax
2023-10-13	12:16:48	5	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:48	5	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:48	5	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:48	5	[DEBUG]	Query for Product
2023-10-13	12:16:48	5	[DEBUG]	Executed store
2023-10-13	12:16:48	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8711_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:48	5	[DEBUG]	Check product language entry
2023-10-13	12:16:48	5	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859497
2023-10-13	12:16:48	5	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:48	5	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8711_1' AND `virtuemart_product_id` != 1859497
2023-10-13	12:16:48	5	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:48	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859497, 'A_8711_1')
2023-10-13	12:16:48	5	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:48	5	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-aimant-a-centerlock-noir' AND `virtuemart_product_id` != 1859497
2023-10-13	12:16:48	5	[DEBUG]	Query for ProductLang
2023-10-13	12:16:48	5	[DEBUG]	Executed store
2023-10-13	12:16:48	5	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.79464',`product_name`='Bosch Aimant à Centerlock / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-aimant-a-centerlock-noir' WHERE `virtuemart_product_id` = '1859497'
2023-10-13	12:16:48	5	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_79464_jpg.jpg
2023-10-13	12:16:48	5	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:48	5	[DEBUG]	Process image file
2023-10-13	12:16:48	5	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:48	5	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:48	5	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_79464_jpg.jpg
2023-10-13	12:16:48	5	[DEBUG]	Full name target: bcprisme/56_79464_jpg.jpg
2023-10-13	12:16:49	5	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:49	5	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_79464_jpg.jpg'
2023-10-13	12:16:49	5	[DEBUG]	Query for Media
2023-10-13	12:16:49	5	[DEBUG]	Executed store
2023-10-13	12:16:49	5	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_79464_jpg.jpg',`file_url_thumb`='bcprisme/56_79464_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1037707'
2023-10-13	12:16:49	5	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:49	5	[DEBUG]	Executed store
2023-10-13	12:16:49	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859497','1037707','1')
2023-10-13	12:16:49	5	[DEBUG]	Store product image relation
2023-10-13	12:16:49	5	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:49	5	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859497 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:49	5	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:49	5	[DEBUG]	Executed store
2023-10-13	12:16:49	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859497','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:49	5	[DEBUG]	Checking manufacturer
2023-10-13	12:16:49	5	[DEBUG]	Load a row
2023-10-13	12:16:49	5	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:49	5	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:16:49	5	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:49	5	[DEBUG]	Executed store
2023-10-13	12:16:49	5	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:16:49	5	[DEBUG]	Manufacturer exists
2023-10-13	12:16:49	5	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:16:49	5	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:49	5	[DEBUG]	Executed store
2023-10-13	12:16:49	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859497','33')
2023-10-13	12:16:49	5	[DEBUG]	Find the custom field ID
2023-10-13	12:16:49	5	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:16:49	5	[DEBUG]	No custom field ID found
2023-10-13	12:16:49	5	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:49	5	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:16:49	5	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859497 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:49	5	[DEBUG]	Store custom available field
2023-10-13	12:16:49	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859497,3,'0',1)
2023-10-13	12:16:49	5	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:49	5	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:16:49	5	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859497 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:49	5	[DEBUG]	Store custom available field
2023-10-13	12:16:49	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859497,6,'choisir la taille',3)
2023-10-13	12:16:49	5	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:49	5	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:16:49	5	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:16:49	5	[DEBUG]	Find the multi variant product entry
2023-10-13	12:16:49	5	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859497 AND `virtuemart_custom_id` = 8
2023-10-13	12:16:49	5	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:16:49	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859497,8,1)
2023-10-13	12:16:49	5	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:49	5	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859497\":[1859497,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859497
2023-10-13	12:16:49	5	[DEBUG]	Checking category
2023-10-13	12:16:49	5	[DEBUG]	Get the existing categories for the product
2023-10-13	12:16:49	5	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859497
2023-10-13	12:16:49	5	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:16:49	5	[DEBUG]	Executed store
2023-10-13	12:16:49	5	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859497','7261')
2023-10-13	12:16:49	5	[DEBUG]	Delete leftover product categories
2023-10-13	12:16:49	5	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859497 AND `virtuemart_category_id` NOT IN (7261)
2023-10-13	12:16:49	5	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:49	5	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859497
2023-10-13	12:16:49	6	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:49	6	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:16:49	6	[DEBUG]	Use field value for field taille
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:16:49	6	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field category_path
2023-10-13	12:16:49	6	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:49	6	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:49	6	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:49	6	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:16:49	6	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field product_weight
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:49	6	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:49	6	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:49	6	[DEBUG]	Use field value for field published
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field custom_title
2023-10-13	12:16:49	6	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field custom_param
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field override
2023-10-13	12:16:49	6	[DEBUG]	Use default value for field public_price
2023-10-13	12:16:49	6	[DEBUG]	Use field value for field slug
2023-10-13	12:16:49	6	[DEBUG]	Process line 6
2023-10-13	12:16:49	6	[DEBUG]	Load a row
2023-10-13	12:16:49	6	[DEBUG]	Processing item: 4054289001520
2023-10-13	12:16:49	6	[DEBUG]	Looking for parent SKU
2023-10-13	12:16:49	6	[DEBUG]	Checking product parent SKU
2023-10-13	12:16:49	6	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8711_1'
2023-10-13	12:16:49	6	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:49	6	[DEBUG]	Processing product tax
2023-10-13	12:16:49	6	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:49	6	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:49	6	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:49	6	[DEBUG]	Query for Product
2023-10-13	12:16:49	6	[DEBUG]	Executed store
2023-10-13	12:16:49	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859497','4054289001520','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:49	6	[DEBUG]	No parent found
2023-10-13	12:16:49	6	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859497 AND customfield_value = 'stockable'
2023-10-13	12:16:49	6	[DEBUG]	Check product language entry
2023-10-13	12:16:49	6	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859498
2023-10-13	12:16:49	6	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:49	6	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4054289001520' AND `virtuemart_product_id` != 1859498
2023-10-13	12:16:49	6	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:49	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859498, '4054289001520')
2023-10-13	12:16:49	6	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:49	6	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-aimant-a-centerlock-noir-unitaire' AND `virtuemart_product_id` != 1859498
2023-10-13	12:16:49	6	[DEBUG]	Query for ProductLang
2023-10-13	12:16:49	6	[DEBUG]	Executed store
2023-10-13	12:16:49	6	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Aimant à Centerlock / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-aimant-a-centerlock-noir-unitaire' WHERE `virtuemart_product_id` = '1859498'
2023-10-13	12:16:49	6	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_79464_jpg.jpg
2023-10-13	12:16:49	6	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:49	6	[DEBUG]	Process image file
2023-10-13	12:16:49	6	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:49	6	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:49	6	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_79464_jpg.jpg
2023-10-13	12:16:49	6	[DEBUG]	Full name target: bcprisme/56_79464_jpg.jpg
2023-10-13	12:16:50	6	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:50	6	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_79464_jpg.jpg'
2023-10-13	12:16:50	6	[DEBUG]	Query for Media
2023-10-13	12:16:50	6	[DEBUG]	Executed store
2023-10-13	12:16:50	6	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_79464_jpg.jpg',`file_url_thumb`='bcprisme/56_79464_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1037707'
2023-10-13	12:16:50	6	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:50	6	[DEBUG]	Executed store
2023-10-13	12:16:50	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859498','1037707','1')
2023-10-13	12:16:50	6	[DEBUG]	Store product image relation
2023-10-13	12:16:50	6	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:50	6	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859498 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:50	6	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:50	6	[DEBUG]	Executed store
2023-10-13	12:16:50	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859498','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:50	6	[DEBUG]	Checking manufacturer
2023-10-13	12:16:50	6	[DEBUG]	Load a row
2023-10-13	12:16:50	6	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:50	6	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:16:50	6	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:50	6	[DEBUG]	Executed store
2023-10-13	12:16:50	6	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:16:50	6	[DEBUG]	Manufacturer exists
2023-10-13	12:16:50	6	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:16:50	6	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:50	6	[DEBUG]	Executed store
2023-10-13	12:16:50	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859498','33')
2023-10-13	12:16:50	6	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:50	6	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:16:50	6	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859498 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:50	6	[DEBUG]	Store custom available field
2023-10-13	12:16:50	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859498,3,'',1)
2023-10-13	12:16:50	6	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:50	6	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:16:50	6	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859498 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:50	6	[DEBUG]	Store custom available field
2023-10-13	12:16:50	6	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859498,6,'Unitaire',3)
2023-10-13	12:16:50	6	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:50	6	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:16:50	6	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859497
2023-10-13	12:16:50	6	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:50	6	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859497\":[1859497,8,1,\"choisir la taille\"],\"1859498\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859497
2023-10-13	12:16:50	6	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:50	6	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859498
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:50	7	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field taille
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field category_path
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:50	7	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:16:50	7	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:50	7	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field product_weight
2023-10-13	12:16:50	7	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:50	7	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:50	7	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field published
2023-10-13	12:16:50	7	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:50	7	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field custom_title
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field custom_param
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field override
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field public_price
2023-10-13	12:16:50	7	[DEBUG]	Use field value for field slug
2023-10-13	12:16:50	7	[DEBUG]	Process line 7
2023-10-13	12:16:50	7	[DEBUG]	Load a row
2023-10-13	12:16:50	7	[DEBUG]	Processing item: A_8728_13
2023-10-13	12:16:50	7	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:50	7	[DEBUG]	Processing product tax
2023-10-13	12:16:50	7	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:50	7	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:50	7	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:50	7	[DEBUG]	Query for Product
2023-10-13	12:16:50	7	[DEBUG]	Executed store
2023-10-13	12:16:50	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8728_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:50	7	[DEBUG]	Check product language entry
2023-10-13	12:16:50	7	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859499
2023-10-13	12:16:50	7	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:50	7	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8728_13' AND `virtuemart_product_id` != 1859499
2023-10-13	12:16:50	7	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:50	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859499, 'A_8728_13')
2023-10-13	12:16:50	7	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:50	7	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-aimant-de-cadence-fin-argent' AND `virtuemart_product_id` != 1859499
2023-10-13	12:16:50	7	[DEBUG]	Query for ProductLang
2023-10-13	12:16:50	7	[DEBUG]	Executed store
2023-10-13	12:16:50	7	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.59751',`product_name`='Sigma Compteur aimant de cadence fin / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-aimant-de-cadence-fin-argent' WHERE `virtuemart_product_id` = '1859499'
2023-10-13	12:16:50	7	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_59751_jpg.jpg
2023-10-13	12:16:50	7	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:50	7	[DEBUG]	Process image file
2023-10-13	12:16:50	7	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:50	7	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:50	7	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_59751_jpg.jpg
2023-10-13	12:16:50	7	[DEBUG]	Full name target: bcprisme/20_59751_jpg.jpg
2023-10-13	12:16:51	7	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:51	7	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_59751_jpg.jpg'
2023-10-13	12:16:51	7	[DEBUG]	Query for Media
2023-10-13	12:16:51	7	[DEBUG]	Executed store
2023-10-13	12:16:51	7	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_59751_jpg.jpg',`file_url_thumb`='bcprisme/20_59751_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1058284'
2023-10-13	12:16:51	7	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:51	7	[DEBUG]	Executed store
2023-10-13	12:16:51	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859499','1058284','1')
2023-10-13	12:16:51	7	[DEBUG]	Store product image relation
2023-10-13	12:16:51	7	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:51	7	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859499 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:51	7	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:51	7	[DEBUG]	Executed store
2023-10-13	12:16:51	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859499','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:51	7	[DEBUG]	Checking manufacturer
2023-10-13	12:16:51	7	[DEBUG]	Load a row
2023-10-13	12:16:51	7	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:51	7	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:16:51	7	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:51	7	[DEBUG]	Executed store
2023-10-13	12:16:51	7	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:16:51	7	[DEBUG]	Manufacturer exists
2023-10-13	12:16:51	7	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:16:51	7	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:51	7	[DEBUG]	Executed store
2023-10-13	12:16:51	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859499','79')
2023-10-13	12:16:51	7	[DEBUG]	Find the custom field ID
2023-10-13	12:16:51	7	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:16:51	7	[DEBUG]	No custom field ID found
2023-10-13	12:16:51	7	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:51	7	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:16:51	7	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859499 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:51	7	[DEBUG]	Store custom available field
2023-10-13	12:16:51	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859499,3,'0',1)
2023-10-13	12:16:51	7	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:51	7	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:16:51	7	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859499 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:51	7	[DEBUG]	Store custom available field
2023-10-13	12:16:51	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859499,6,'choisir la taille',3)
2023-10-13	12:16:51	7	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:51	7	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:16:51	7	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:16:51	7	[DEBUG]	Find the multi variant product entry
2023-10-13	12:16:51	7	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859499 AND `virtuemart_custom_id` = 8
2023-10-13	12:16:51	7	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:16:51	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859499,8,1)
2023-10-13	12:16:51	7	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:51	7	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859499\":[1859499,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859499
2023-10-13	12:16:51	7	[DEBUG]	Checking category
2023-10-13	12:16:51	7	[DEBUG]	Get the existing categories for the product
2023-10-13	12:16:51	7	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859499
2023-10-13	12:16:51	7	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:16:51	7	[DEBUG]	Executed store
2023-10-13	12:16:51	7	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859499','7261')
2023-10-13	12:16:51	7	[DEBUG]	Delete leftover product categories
2023-10-13	12:16:51	7	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859499 AND `virtuemart_category_id` NOT IN (7261)
2023-10-13	12:16:51	7	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:51	7	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859499
2023-10-13	12:16:51	8	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:51	8	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:16:51	8	[DEBUG]	Use field value for field taille
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:16:51	8	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field category_path
2023-10-13	12:16:51	8	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:51	8	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:51	8	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:51	8	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:16:51	8	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field product_weight
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:51	8	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:51	8	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:51	8	[DEBUG]	Use field value for field published
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field custom_title
2023-10-13	12:16:51	8	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field custom_param
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field override
2023-10-13	12:16:51	8	[DEBUG]	Use default value for field public_price
2023-10-13	12:16:51	8	[DEBUG]	Use field value for field slug
2023-10-13	12:16:51	8	[DEBUG]	Process line 8
2023-10-13	12:16:51	8	[DEBUG]	Load a row
2023-10-13	12:16:51	8	[DEBUG]	Processing item: 4016224205202
2023-10-13	12:16:51	8	[DEBUG]	Looking for parent SKU
2023-10-13	12:16:51	8	[DEBUG]	Checking product parent SKU
2023-10-13	12:16:51	8	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8728_13'
2023-10-13	12:16:51	8	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:51	8	[DEBUG]	Processing product tax
2023-10-13	12:16:51	8	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:51	8	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:51	8	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:51	8	[DEBUG]	Query for Product
2023-10-13	12:16:51	8	[DEBUG]	Executed store
2023-10-13	12:16:51	8	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859499','4016224205202','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:51	8	[DEBUG]	No parent found
2023-10-13	12:16:51	8	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859499 AND customfield_value = 'stockable'
2023-10-13	12:16:51	8	[DEBUG]	Check product language entry
2023-10-13	12:16:51	8	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859500
2023-10-13	12:16:51	8	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:51	8	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4016224205202' AND `virtuemart_product_id` != 1859500
2023-10-13	12:16:51	8	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:51	8	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859500, '4016224205202')
2023-10-13	12:16:51	8	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:51	8	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-aimant-de-cadence-fin-argent-unitaire' AND `virtuemart_product_id` != 1859500
2023-10-13	12:16:51	8	[DEBUG]	Query for ProductLang
2023-10-13	12:16:51	8	[DEBUG]	Executed store
2023-10-13	12:16:51	8	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma Compteur aimant de cadence fin / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-aimant-de-cadence-fin-argent-unitaire' WHERE `virtuemart_product_id` = '1859500'
2023-10-13	12:16:51	8	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_59751_jpg.jpg
2023-10-13	12:16:51	8	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:51	8	[DEBUG]	Process image file
2023-10-13	12:16:51	8	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:51	8	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:51	8	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_59751_jpg.jpg
2023-10-13	12:16:51	8	[DEBUG]	Full name target: bcprisme/20_59751_jpg.jpg
2023-10-13	12:16:52	8	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:52	8	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_59751_jpg.jpg'
2023-10-13	12:16:52	8	[DEBUG]	Query for Media
2023-10-13	12:16:52	8	[DEBUG]	Executed store
2023-10-13	12:16:52	8	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_59751_jpg.jpg',`file_url_thumb`='bcprisme/20_59751_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1058284'
2023-10-13	12:16:52	8	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:52	8	[DEBUG]	Executed store
2023-10-13	12:16:52	8	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859500','1058284','1')
2023-10-13	12:16:52	8	[DEBUG]	Store product image relation
2023-10-13	12:16:52	8	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:52	8	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859500 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:52	8	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:52	8	[DEBUG]	Executed store
2023-10-13	12:16:52	8	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859500','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:52	8	[DEBUG]	Checking manufacturer
2023-10-13	12:16:52	8	[DEBUG]	Load a row
2023-10-13	12:16:52	8	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:52	8	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:16:52	8	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:52	8	[DEBUG]	Executed store
2023-10-13	12:16:52	8	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:16:52	8	[DEBUG]	Manufacturer exists
2023-10-13	12:16:52	8	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:16:52	8	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:52	8	[DEBUG]	Executed store
2023-10-13	12:16:52	8	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859500','79')
2023-10-13	12:16:52	8	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:52	8	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:16:52	8	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859500 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:52	8	[DEBUG]	Store custom available field
2023-10-13	12:16:52	8	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859500,3,'',1)
2023-10-13	12:16:52	8	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:52	8	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:16:52	8	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859500 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:52	8	[DEBUG]	Store custom available field
2023-10-13	12:16:52	8	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859500,6,'Unitaire',3)
2023-10-13	12:16:52	8	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:52	8	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:16:52	8	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859499
2023-10-13	12:16:52	8	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:52	8	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859499\":[1859499,8,1,\"choisir la taille\"],\"1859500\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859499
2023-10-13	12:16:52	8	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:52	8	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859500
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:52	9	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field taille
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field category_path
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:52	9	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:16:52	9	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:52	9	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field product_weight
2023-10-13	12:16:52	9	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:52	9	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:52	9	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field published
2023-10-13	12:16:52	9	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:52	9	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field custom_title
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field custom_param
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field override
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field public_price
2023-10-13	12:16:52	9	[DEBUG]	Use field value for field slug
2023-10-13	12:16:52	9	[DEBUG]	Process line 9
2023-10-13	12:16:52	9	[DEBUG]	Load a row
2023-10-13	12:16:52	9	[DEBUG]	Processing item: A_8754_1
2023-10-13	12:16:52	9	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:52	9	[DEBUG]	Processing product tax
2023-10-13	12:16:52	9	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:52	9	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:52	9	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:52	9	[DEBUG]	Query for Product
2023-10-13	12:16:52	9	[DEBUG]	Executed store
2023-10-13	12:16:52	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8754_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:52	9	[DEBUG]	Check product language entry
2023-10-13	12:16:52	9	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859501
2023-10-13	12:16:52	9	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:52	9	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8754_1' AND `virtuemart_product_id` != 1859501
2023-10-13	12:16:52	9	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:52	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859501, 'A_8754_1')
2023-10-13	12:16:52	9	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:52	9	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-aimant-a-centerlock-noir' AND `virtuemart_product_id` != 1859501
2023-10-13	12:16:52	9	[DEBUG]	Query for ProductLang
2023-10-13	12:16:52	9	[DEBUG]	Executed store
2023-10-13	12:16:52	9	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.130',`product_name`='GIANT Aimant à Centerlock  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-aimant-a-centerlock-noir' WHERE `virtuemart_product_id` = '1859501'
2023-10-13	12:16:52	9	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37728_aimant_à_centerlock_(copie).jpg
2023-10-13	12:16:52	9	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	12:16:52	9	[DEBUG]	Process image file
2023-10-13	12:16:52	9	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	12:16:52	9	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:52	9	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37728_aimant_à_centerlock_(copie).jpg
2023-10-13	12:16:52	9	[DEBUG]	Full name target: bcprisme/37728_aimant_à_centerlock_(copie).jpg
2023-10-13	12:16:53	9	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:53	9	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37728_aimant_à_centerlock_(copie).jpg'
2023-10-13	12:16:53	9	[DEBUG]	Query for Media
2023-10-13	12:16:53	9	[DEBUG]	Executed store
2023-10-13	12:16:53	9	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37728_aimant_à_centerlock_(copie).jpg',`file_url_thumb`='bcprisme/37728_aimant_à_centerlock_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1068616'
2023-10-13	12:16:53	9	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:53	9	[DEBUG]	Executed store
2023-10-13	12:16:53	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859501','1068616','1')
2023-10-13	12:16:53	9	[DEBUG]	Store product image relation
2023-10-13	12:16:53	9	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:53	9	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859501 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:53	9	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:53	9	[DEBUG]	Executed store
2023-10-13	12:16:53	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859501','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:53	9	[DEBUG]	Checking manufacturer
2023-10-13	12:16:53	9	[DEBUG]	Load a row
2023-10-13	12:16:53	9	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:53	9	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:16:53	9	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:53	9	[DEBUG]	Executed store
2023-10-13	12:16:53	9	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:16:53	9	[DEBUG]	Manufacturer exists
2023-10-13	12:16:53	9	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:16:53	9	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:53	9	[DEBUG]	Executed store
2023-10-13	12:16:53	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859501','29')
2023-10-13	12:16:53	9	[DEBUG]	Find the custom field ID
2023-10-13	12:16:53	9	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:16:53	9	[DEBUG]	No custom field ID found
2023-10-13	12:16:53	9	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:53	9	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:16:53	9	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859501 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:53	9	[DEBUG]	Store custom available field
2023-10-13	12:16:53	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859501,3,'0',1)
2023-10-13	12:16:53	9	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:53	9	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:16:53	9	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859501 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:53	9	[DEBUG]	Store custom available field
2023-10-13	12:16:53	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859501,6,'choisir la taille',3)
2023-10-13	12:16:53	9	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:53	9	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:16:53	9	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:16:53	9	[DEBUG]	Find the multi variant product entry
2023-10-13	12:16:53	9	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859501 AND `virtuemart_custom_id` = 8
2023-10-13	12:16:53	9	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:16:53	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859501,8,1)
2023-10-13	12:16:53	9	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:53	9	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859501\":[1859501,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859501
2023-10-13	12:16:53	9	[DEBUG]	Checking category
2023-10-13	12:16:53	9	[DEBUG]	Get the existing categories for the product
2023-10-13	12:16:53	9	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859501
2023-10-13	12:16:53	9	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:16:53	9	[DEBUG]	Executed store
2023-10-13	12:16:53	9	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859501','7261')
2023-10-13	12:16:53	9	[DEBUG]	Delete leftover product categories
2023-10-13	12:16:53	9	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859501 AND `virtuemart_category_id` NOT IN (7261)
2023-10-13	12:16:53	9	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:53	9	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859501
2023-10-13	12:16:53	10	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:53	10	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:16:53	10	[DEBUG]	Use field value for field taille
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:16:53	10	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field category_path
2023-10-13	12:16:53	10	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:53	10	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:53	10	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:53	10	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:16:53	10	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field product_weight
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:53	10	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:53	10	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:53	10	[DEBUG]	Use field value for field published
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field custom_title
2023-10-13	12:16:53	10	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field custom_param
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field override
2023-10-13	12:16:53	10	[DEBUG]	Use default value for field public_price
2023-10-13	12:16:53	10	[DEBUG]	Use field value for field slug
2023-10-13	12:16:53	10	[DEBUG]	Process line 10
2023-10-13	12:16:53	10	[DEBUG]	Load a row
2023-10-13	12:16:53	10	[DEBUG]	Processing item: 1000000163148
2023-10-13	12:16:53	10	[DEBUG]	Looking for parent SKU
2023-10-13	12:16:53	10	[DEBUG]	Checking product parent SKU
2023-10-13	12:16:53	10	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8754_1'
2023-10-13	12:16:53	10	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:53	10	[DEBUG]	Processing product tax
2023-10-13	12:16:53	10	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:53	10	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:53	10	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:53	10	[DEBUG]	Query for Product
2023-10-13	12:16:53	10	[DEBUG]	Executed store
2023-10-13	12:16:53	10	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859501','1000000163148','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:53	10	[DEBUG]	No parent found
2023-10-13	12:16:53	10	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859501 AND customfield_value = 'stockable'
2023-10-13	12:16:53	10	[DEBUG]	Check product language entry
2023-10-13	12:16:53	10	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859502
2023-10-13	12:16:53	10	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:53	10	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163148' AND `virtuemart_product_id` != 1859502
2023-10-13	12:16:53	10	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:53	10	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859502, '1000000163148')
2023-10-13	12:16:53	10	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:53	10	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-aimant-a-centerlock-noir-unitaire' AND `virtuemart_product_id` != 1859502
2023-10-13	12:16:53	10	[DEBUG]	Query for ProductLang
2023-10-13	12:16:53	10	[DEBUG]	Executed store
2023-10-13	12:16:53	10	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Aimant à Centerlock  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-aimant-a-centerlock-noir-unitaire' WHERE `virtuemart_product_id` = '1859502'
2023-10-13	12:16:53	10	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37728_aimant_à_centerlock_(copie).jpg
2023-10-13	12:16:53	10	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	12:16:53	10	[DEBUG]	Process image file
2023-10-13	12:16:53	10	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	12:16:53	10	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:53	10	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37728_aimant_à_centerlock_(copie).jpg
2023-10-13	12:16:53	10	[DEBUG]	Full name target: bcprisme/37728_aimant_à_centerlock_(copie).jpg
2023-10-13	12:16:54	10	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:54	10	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37728_aimant_à_centerlock_(copie).jpg'
2023-10-13	12:16:54	10	[DEBUG]	Query for Media
2023-10-13	12:16:54	10	[DEBUG]	Executed store
2023-10-13	12:16:54	10	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37728_aimant_à_centerlock_(copie).jpg',`file_url_thumb`='bcprisme/37728_aimant_à_centerlock_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1068616'
2023-10-13	12:16:54	10	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:54	10	[DEBUG]	Executed store
2023-10-13	12:16:54	10	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859502','1068616','1')
2023-10-13	12:16:54	10	[DEBUG]	Store product image relation
2023-10-13	12:16:54	10	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:54	10	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859502 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:54	10	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:54	10	[DEBUG]	Executed store
2023-10-13	12:16:54	10	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859502','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:54	10	[DEBUG]	Checking manufacturer
2023-10-13	12:16:54	10	[DEBUG]	Load a row
2023-10-13	12:16:54	10	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:54	10	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:16:54	10	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:54	10	[DEBUG]	Executed store
2023-10-13	12:16:54	10	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:16:54	10	[DEBUG]	Manufacturer exists
2023-10-13	12:16:54	10	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:16:54	10	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:54	10	[DEBUG]	Executed store
2023-10-13	12:16:54	10	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859502','29')
2023-10-13	12:16:54	10	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:54	10	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:16:54	10	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859502 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:54	10	[DEBUG]	Store custom available field
2023-10-13	12:16:54	10	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859502,3,'',1)
2023-10-13	12:16:54	10	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:54	10	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:16:54	10	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859502 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:54	10	[DEBUG]	Store custom available field
2023-10-13	12:16:54	10	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859502,6,'Unitaire',3)
2023-10-13	12:16:54	10	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:54	10	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:16:54	10	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859501
2023-10-13	12:16:54	10	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:54	10	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859501\":[1859501,8,1,\"choisir la taille\"],\"1859502\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859501
2023-10-13	12:16:54	10	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:54	10	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859502
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:54	11	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field taille
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field category_path
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:54	11	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:16:54	11	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:54	11	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field product_weight
2023-10-13	12:16:54	11	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:54	11	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:54	11	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field published
2023-10-13	12:16:54	11	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:54	11	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field custom_title
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field custom_param
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field override
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field public_price
2023-10-13	12:16:54	11	[DEBUG]	Use field value for field slug
2023-10-13	12:16:54	11	[DEBUG]	Process line 11
2023-10-13	12:16:54	11	[DEBUG]	Load a row
2023-10-13	12:16:54	11	[DEBUG]	Processing item: A_8895_1
2023-10-13	12:16:54	11	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:54	11	[DEBUG]	Processing product tax
2023-10-13	12:16:54	11	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:54	11	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:54	11	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:54	11	[DEBUG]	Query for Product
2023-10-13	12:16:54	11	[DEBUG]	Executed store
2023-10-13	12:16:54	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8895_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:54	11	[DEBUG]	Check product language entry
2023-10-13	12:16:54	11	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859503
2023-10-13	12:16:54	11	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:54	11	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8895_1' AND `virtuemart_product_id` != 1859503
2023-10-13	12:16:54	11	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:54	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859503, 'A_8895_1')
2023-10-13	12:16:54	11	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:54	11	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'orbea-aimant-pour-orbea-ebikemotion-lockring-rpm-sensor-noir' AND `virtuemart_product_id` != 1859503
2023-10-13	12:16:54	11	[DEBUG]	Query for ProductLang
2023-10-13	12:16:54	11	[DEBUG]	Executed store
2023-10-13	12:16:54	11	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H3011E',`product_name`='ORBEA Aimant pour Orbea EBIKEMOTION LOCKRING RPM SENSOR / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='orbea-aimant-pour-orbea-ebikemotion-lockring-rpm-sensor-noir' WHERE `virtuemart_product_id` = '1859503'
2023-10-13	12:16:54	11	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37881_aimant_pour_orbea_ebikemotion_lockring_rpm_sensor.jpg
2023-10-13	12:16:54	11	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:54	11	[DEBUG]	Process image file
2023-10-13	12:16:54	11	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:54	11	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:54	11	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37881_aimant_pour_orbea_ebikemotion_lockring_rpm_sensor.jpg
2023-10-13	12:16:54	11	[DEBUG]	Full name target: bcprisme/37881_aimant_pour_orbea_ebikemotion_lockring_rpm_sensor.jpg
2023-10-13	12:16:55	11	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:55	11	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37881_aimant_pour_orbea_ebikemotion_lockring_rpm_sensor.jpg'
2023-10-13	12:16:55	11	[DEBUG]	Query for Media
2023-10-13	12:16:55	11	[DEBUG]	Executed store
2023-10-13	12:16:55	11	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37881_aimant_pour_orbea_ebikemotion_lockring_rpm_sensor.jpg',`file_url_thumb`='bcprisme/37881_aimant_pour_orbea_ebikemotion_lockring_rpm_sensor.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1140502'
2023-10-13	12:16:55	11	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:55	11	[DEBUG]	Executed store
2023-10-13	12:16:55	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859503','1140502','1')
2023-10-13	12:16:55	11	[DEBUG]	Store product image relation
2023-10-13	12:16:55	11	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:55	11	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859503 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:55	11	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:55	11	[DEBUG]	Executed store
2023-10-13	12:16:55	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859503','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:55	11	[DEBUG]	Checking manufacturer
2023-10-13	12:16:55	11	[DEBUG]	Load a row
2023-10-13	12:16:55	11	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:55	11	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '235'
2023-10-13	12:16:55	11	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:55	11	[DEBUG]	Executed store
2023-10-13	12:16:55	11	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='52',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='52' WHERE `virtuemart_manufacturer_id` = '235'
2023-10-13	12:16:55	11	[DEBUG]	Manufacturer exists
2023-10-13	12:16:55	11	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 235
2023-10-13	12:16:55	11	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:55	11	[DEBUG]	Executed store
2023-10-13	12:16:55	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859503','235')
2023-10-13	12:16:55	11	[DEBUG]	Find the custom field ID
2023-10-13	12:16:55	11	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:16:55	11	[DEBUG]	No custom field ID found
2023-10-13	12:16:55	11	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:55	11	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:16:55	11	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859503 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:55	11	[DEBUG]	Store custom available field
2023-10-13	12:16:55	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859503,3,'0',1)
2023-10-13	12:16:55	11	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:55	11	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:16:55	11	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859503 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:55	11	[DEBUG]	Store custom available field
2023-10-13	12:16:55	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859503,6,'choisir la taille',3)
2023-10-13	12:16:55	11	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:55	11	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:16:55	11	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:16:55	11	[DEBUG]	Find the multi variant product entry
2023-10-13	12:16:55	11	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859503 AND `virtuemart_custom_id` = 8
2023-10-13	12:16:55	11	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:16:55	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859503,8,1)
2023-10-13	12:16:55	11	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:55	11	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859503\":[1859503,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859503
2023-10-13	12:16:55	11	[DEBUG]	Checking category
2023-10-13	12:16:55	11	[DEBUG]	Get the existing categories for the product
2023-10-13	12:16:55	11	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859503
2023-10-13	12:16:55	11	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:16:55	11	[DEBUG]	Executed store
2023-10-13	12:16:55	11	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859503','7261')
2023-10-13	12:16:55	11	[DEBUG]	Delete leftover product categories
2023-10-13	12:16:55	11	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859503 AND `virtuemart_category_id` NOT IN (7261)
2023-10-13	12:16:55	11	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:55	11	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859503
2023-10-13	12:16:55	12	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:55	12	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:16:55	12	[DEBUG]	Use field value for field taille
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:16:55	12	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field category_path
2023-10-13	12:16:55	12	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:55	12	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:55	12	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:55	12	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:16:55	12	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field product_weight
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:55	12	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:55	12	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:55	12	[DEBUG]	Use field value for field published
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field custom_title
2023-10-13	12:16:55	12	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field custom_param
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field override
2023-10-13	12:16:55	12	[DEBUG]	Use default value for field public_price
2023-10-13	12:16:55	12	[DEBUG]	Use field value for field slug
2023-10-13	12:16:55	12	[DEBUG]	Process line 12
2023-10-13	12:16:55	12	[DEBUG]	Load a row
2023-10-13	12:16:55	12	[DEBUG]	Processing item: 1000000170825
2023-10-13	12:16:55	12	[DEBUG]	Looking for parent SKU
2023-10-13	12:16:55	12	[DEBUG]	Checking product parent SKU
2023-10-13	12:16:55	12	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8895_1'
2023-10-13	12:16:55	12	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:55	12	[DEBUG]	Processing product tax
2023-10-13	12:16:55	12	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:55	12	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:55	12	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:55	12	[DEBUG]	Query for Product
2023-10-13	12:16:55	12	[DEBUG]	Executed store
2023-10-13	12:16:55	12	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859503','1000000170825','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:55	12	[DEBUG]	No parent found
2023-10-13	12:16:55	12	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859503 AND customfield_value = 'stockable'
2023-10-13	12:16:55	12	[DEBUG]	Check product language entry
2023-10-13	12:16:55	12	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859504
2023-10-13	12:16:55	12	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:55	12	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000170825' AND `virtuemart_product_id` != 1859504
2023-10-13	12:16:55	12	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:55	12	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859504, '1000000170825')
2023-10-13	12:16:55	12	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:55	12	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'orbea-aimant-pour-orbea-ebikemotion-lockring-rpm-sensor-noir-unitaire' AND `virtuemart_product_id` != 1859504
2023-10-13	12:16:55	12	[DEBUG]	Query for ProductLang
2023-10-13	12:16:55	12	[DEBUG]	Executed store
2023-10-13	12:16:55	12	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ORBEA Aimant pour Orbea EBIKEMOTION LOCKRING RPM SENSOR / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='orbea-aimant-pour-orbea-ebikemotion-lockring-rpm-sensor-noir-unitaire' WHERE `virtuemart_product_id` = '1859504'
2023-10-13	12:16:55	12	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37881_aimant_pour_orbea_ebikemotion_lockring_rpm_sensor.jpg
2023-10-13	12:16:55	12	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:55	12	[DEBUG]	Process image file
2023-10-13	12:16:55	12	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:55	12	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:55	12	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37881_aimant_pour_orbea_ebikemotion_lockring_rpm_sensor.jpg
2023-10-13	12:16:55	12	[DEBUG]	Full name target: bcprisme/37881_aimant_pour_orbea_ebikemotion_lockring_rpm_sensor.jpg
2023-10-13	12:16:56	12	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:56	12	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37881_aimant_pour_orbea_ebikemotion_lockring_rpm_sensor.jpg'
2023-10-13	12:16:56	12	[DEBUG]	Query for Media
2023-10-13	12:16:56	12	[DEBUG]	Executed store
2023-10-13	12:16:56	12	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37881_aimant_pour_orbea_ebikemotion_lockring_rpm_sensor.jpg',`file_url_thumb`='bcprisme/37881_aimant_pour_orbea_ebikemotion_lockring_rpm_sensor.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1140502'
2023-10-13	12:16:56	12	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:56	12	[DEBUG]	Executed store
2023-10-13	12:16:56	12	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859504','1140502','1')
2023-10-13	12:16:56	12	[DEBUG]	Store product image relation
2023-10-13	12:16:56	12	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:56	12	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859504 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:56	12	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:56	12	[DEBUG]	Executed store
2023-10-13	12:16:56	12	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859504','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:56	12	[DEBUG]	Checking manufacturer
2023-10-13	12:16:56	12	[DEBUG]	Load a row
2023-10-13	12:16:56	12	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:56	12	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '235'
2023-10-13	12:16:56	12	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:56	12	[DEBUG]	Executed store
2023-10-13	12:16:56	12	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='52',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='52' WHERE `virtuemart_manufacturer_id` = '235'
2023-10-13	12:16:56	12	[DEBUG]	Manufacturer exists
2023-10-13	12:16:56	12	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 235
2023-10-13	12:16:56	12	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:56	12	[DEBUG]	Executed store
2023-10-13	12:16:56	12	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859504','235')
2023-10-13	12:16:56	12	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:56	12	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:16:56	12	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859504 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:56	12	[DEBUG]	Store custom available field
2023-10-13	12:16:56	12	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859504,3,'',1)
2023-10-13	12:16:56	12	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:56	12	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:16:56	12	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859504 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:56	12	[DEBUG]	Store custom available field
2023-10-13	12:16:56	12	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859504,6,'Unitaire',3)
2023-10-13	12:16:56	12	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:56	12	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:16:56	12	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859503
2023-10-13	12:16:56	12	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:56	12	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859503\":[1859503,8,1,\"choisir la taille\"],\"1859504\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859503
2023-10-13	12:16:56	12	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:56	12	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859504
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:56	13	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field taille
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field category_path
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:56	13	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:16:56	13	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:56	13	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field product_weight
2023-10-13	12:16:56	13	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:56	13	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:56	13	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field published
2023-10-13	12:16:56	13	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:56	13	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field custom_title
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field custom_param
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field override
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field public_price
2023-10-13	12:16:56	13	[DEBUG]	Use field value for field slug
2023-10-13	12:16:56	13	[DEBUG]	Process line 13
2023-10-13	12:16:56	13	[DEBUG]	Load a row
2023-10-13	12:16:56	13	[DEBUG]	Processing item: A_8896_1
2023-10-13	12:16:56	13	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:56	13	[DEBUG]	Processing product tax
2023-10-13	12:16:56	13	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:56	13	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:56	13	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:56	13	[DEBUG]	Query for Product
2023-10-13	12:16:56	13	[DEBUG]	Executed store
2023-10-13	12:16:56	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8896_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:56	13	[DEBUG]	Check product language entry
2023-10-13	12:16:56	13	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859505
2023-10-13	12:16:56	13	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:56	13	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8896_1' AND `virtuemart_product_id` != 1859505
2023-10-13	12:16:56	13	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:56	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859505, 'A_8896_1')
2023-10-13	12:16:56	13	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:56	13	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'orbea-aimant-pour-orbea-rise-fixation-disque-6-trous-noir' AND `virtuemart_product_id` != 1859505
2023-10-13	12:16:56	13	[DEBUG]	Query for ProductLang
2023-10-13	12:16:56	13	[DEBUG]	Executed store
2023-10-13	12:16:56	13	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H3014M',`product_name`='ORBEA Aimant pour Orbea Rise fixation disque 6 trous / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='orbea-aimant-pour-orbea-rise-fixation-disque-6-trous-noir' WHERE `virtuemart_product_id` = '1859505'
2023-10-13	12:16:56	13	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37883_aimant_pour_orbea_rise_fixation_disque_6_trous.jpg
2023-10-13	12:16:56	13	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:56	13	[DEBUG]	Process image file
2023-10-13	12:16:56	13	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:56	13	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:56	13	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37883_aimant_pour_orbea_rise_fixation_disque_6_trous.jpg
2023-10-13	12:16:56	13	[DEBUG]	Full name target: bcprisme/37883_aimant_pour_orbea_rise_fixation_disque_6_trous.jpg
2023-10-13	12:16:57	13	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:57	13	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37883_aimant_pour_orbea_rise_fixation_disque_6_trous.jpg'
2023-10-13	12:16:57	13	[DEBUG]	Query for Media
2023-10-13	12:16:57	13	[DEBUG]	Executed store
2023-10-13	12:16:57	13	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37883_aimant_pour_orbea_rise_fixation_disque_6_trous.jpg',`file_url_thumb`='bcprisme/37883_aimant_pour_orbea_rise_fixation_disque_6_trous.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1140504'
2023-10-13	12:16:57	13	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:57	13	[DEBUG]	Executed store
2023-10-13	12:16:57	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859505','1140504','1')
2023-10-13	12:16:57	13	[DEBUG]	Store product image relation
2023-10-13	12:16:57	13	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:57	13	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859505 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:57	13	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:57	13	[DEBUG]	Executed store
2023-10-13	12:16:57	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859505','0','12.9990714948932','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:57	13	[DEBUG]	Checking manufacturer
2023-10-13	12:16:57	13	[DEBUG]	Load a row
2023-10-13	12:16:57	13	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:57	13	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '235'
2023-10-13	12:16:57	13	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:57	13	[DEBUG]	Executed store
2023-10-13	12:16:57	13	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='52',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='52' WHERE `virtuemart_manufacturer_id` = '235'
2023-10-13	12:16:57	13	[DEBUG]	Manufacturer exists
2023-10-13	12:16:57	13	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 235
2023-10-13	12:16:57	13	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:57	13	[DEBUG]	Executed store
2023-10-13	12:16:57	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859505','235')
2023-10-13	12:16:57	13	[DEBUG]	Find the custom field ID
2023-10-13	12:16:57	13	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:16:57	13	[DEBUG]	No custom field ID found
2023-10-13	12:16:57	13	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:57	13	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:16:57	13	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859505 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:57	13	[DEBUG]	Store custom available field
2023-10-13	12:16:57	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859505,3,'0',1)
2023-10-13	12:16:57	13	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:57	13	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:16:57	13	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859505 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:57	13	[DEBUG]	Store custom available field
2023-10-13	12:16:57	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859505,6,'choisir la taille',3)
2023-10-13	12:16:57	13	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:57	13	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:16:57	13	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:16:57	13	[DEBUG]	Find the multi variant product entry
2023-10-13	12:16:57	13	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859505 AND `virtuemart_custom_id` = 8
2023-10-13	12:16:57	13	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:16:57	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859505,8,1)
2023-10-13	12:16:57	13	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:57	13	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859505\":[1859505,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859505
2023-10-13	12:16:57	13	[DEBUG]	Checking category
2023-10-13	12:16:57	13	[DEBUG]	Get the existing categories for the product
2023-10-13	12:16:57	13	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859505
2023-10-13	12:16:57	13	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:16:57	13	[DEBUG]	Executed store
2023-10-13	12:16:57	13	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859505','7261')
2023-10-13	12:16:57	13	[DEBUG]	Delete leftover product categories
2023-10-13	12:16:57	13	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859505 AND `virtuemart_category_id` NOT IN (7261)
2023-10-13	12:16:57	13	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:57	13	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859505
2023-10-13	12:16:57	14	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:57	14	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:16:57	14	[DEBUG]	Use field value for field taille
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:16:57	14	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field category_path
2023-10-13	12:16:57	14	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:57	14	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:57	14	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:57	14	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:16:57	14	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field product_weight
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:57	14	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:57	14	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:57	14	[DEBUG]	Use field value for field published
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field custom_title
2023-10-13	12:16:57	14	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field custom_param
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field override
2023-10-13	12:16:57	14	[DEBUG]	Use default value for field public_price
2023-10-13	12:16:57	14	[DEBUG]	Use field value for field slug
2023-10-13	12:16:57	14	[DEBUG]	Process line 14
2023-10-13	12:16:57	14	[DEBUG]	Load a row
2023-10-13	12:16:57	14	[DEBUG]	Processing item: 1000000170832
2023-10-13	12:16:57	14	[DEBUG]	Looking for parent SKU
2023-10-13	12:16:57	14	[DEBUG]	Checking product parent SKU
2023-10-13	12:16:57	14	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8896_1'
2023-10-13	12:16:57	14	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:57	14	[DEBUG]	Processing product tax
2023-10-13	12:16:57	14	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:57	14	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:57	14	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:57	14	[DEBUG]	Query for Product
2023-10-13	12:16:57	14	[DEBUG]	Executed store
2023-10-13	12:16:57	14	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859505','1000000170832','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:57	14	[DEBUG]	No parent found
2023-10-13	12:16:57	14	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859505 AND customfield_value = 'stockable'
2023-10-13	12:16:57	14	[DEBUG]	Check product language entry
2023-10-13	12:16:57	14	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859506
2023-10-13	12:16:57	14	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:57	14	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000170832' AND `virtuemart_product_id` != 1859506
2023-10-13	12:16:57	14	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:57	14	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859506, '1000000170832')
2023-10-13	12:16:57	14	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:57	14	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'orbea-aimant-pour-orbea-rise-fixation-disque-6-trous-noir-unitaire' AND `virtuemart_product_id` != 1859506
2023-10-13	12:16:57	14	[DEBUG]	Query for ProductLang
2023-10-13	12:16:57	14	[DEBUG]	Executed store
2023-10-13	12:16:57	14	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ORBEA Aimant pour Orbea Rise fixation disque 6 trous / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='orbea-aimant-pour-orbea-rise-fixation-disque-6-trous-noir-unitaire' WHERE `virtuemart_product_id` = '1859506'
2023-10-13	12:16:57	14	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37883_aimant_pour_orbea_rise_fixation_disque_6_trous.jpg
2023-10-13	12:16:57	14	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:57	14	[DEBUG]	Process image file
2023-10-13	12:16:57	14	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:57	14	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:57	14	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37883_aimant_pour_orbea_rise_fixation_disque_6_trous.jpg
2023-10-13	12:16:57	14	[DEBUG]	Full name target: bcprisme/37883_aimant_pour_orbea_rise_fixation_disque_6_trous.jpg
2023-10-13	12:16:58	14	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:58	14	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37883_aimant_pour_orbea_rise_fixation_disque_6_trous.jpg'
2023-10-13	12:16:58	14	[DEBUG]	Query for Media
2023-10-13	12:16:58	14	[DEBUG]	Executed store
2023-10-13	12:16:58	14	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37883_aimant_pour_orbea_rise_fixation_disque_6_trous.jpg',`file_url_thumb`='bcprisme/37883_aimant_pour_orbea_rise_fixation_disque_6_trous.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1140504'
2023-10-13	12:16:58	14	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:58	14	[DEBUG]	Executed store
2023-10-13	12:16:58	14	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859506','1140504','1')
2023-10-13	12:16:58	14	[DEBUG]	Store product image relation
2023-10-13	12:16:58	14	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:58	14	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859506 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:58	14	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:58	14	[DEBUG]	Executed store
2023-10-13	12:16:58	14	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859506','0','12.9990714948932','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:58	14	[DEBUG]	Checking manufacturer
2023-10-13	12:16:58	14	[DEBUG]	Load a row
2023-10-13	12:16:58	14	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:58	14	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '235'
2023-10-13	12:16:58	14	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:58	14	[DEBUG]	Executed store
2023-10-13	12:16:58	14	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='52',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='52' WHERE `virtuemart_manufacturer_id` = '235'
2023-10-13	12:16:58	14	[DEBUG]	Manufacturer exists
2023-10-13	12:16:58	14	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 235
2023-10-13	12:16:58	14	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:58	14	[DEBUG]	Executed store
2023-10-13	12:16:58	14	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859506','235')
2023-10-13	12:16:58	14	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:58	14	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:16:58	14	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859506 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:58	14	[DEBUG]	Store custom available field
2023-10-13	12:16:58	14	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859506,3,'',1)
2023-10-13	12:16:58	14	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:58	14	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:16:58	14	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859506 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:58	14	[DEBUG]	Store custom available field
2023-10-13	12:16:58	14	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859506,6,'Unitaire',3)
2023-10-13	12:16:58	14	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:58	14	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:16:58	14	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859505
2023-10-13	12:16:58	14	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:58	14	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859505\":[1859505,8,1,\"choisir la taille\"],\"1859506\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859505
2023-10-13	12:16:58	14	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:58	14	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859506
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:58	15	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field taille
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field category_path
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:58	15	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:16:58	15	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:58	15	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field product_weight
2023-10-13	12:16:58	15	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:58	15	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:58	15	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field published
2023-10-13	12:16:58	15	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:58	15	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field custom_title
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field custom_param
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field override
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field public_price
2023-10-13	12:16:58	15	[DEBUG]	Use field value for field slug
2023-10-13	12:16:58	15	[DEBUG]	Process line 15
2023-10-13	12:16:58	15	[DEBUG]	Load a row
2023-10-13	12:16:58	15	[DEBUG]	Processing item: A_9042_13
2023-10-13	12:16:58	15	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:58	15	[DEBUG]	Processing product tax
2023-10-13	12:16:58	15	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:58	15	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:58	15	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:58	15	[DEBUG]	Query for Product
2023-10-13	12:16:58	15	[DEBUG]	Executed store
2023-10-13	12:16:58	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9042_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:58	15	[DEBUG]	Check product language entry
2023-10-13	12:16:58	15	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859507
2023-10-13	12:16:58	15	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:58	15	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9042_13' AND `virtuemart_product_id` != 1859507
2023-10-13	12:16:58	15	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:58	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859507, 'A_9042_13')
2023-10-13	12:16:58	15	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:58	15	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-aimant-a-rayons-bsm3150-remanence-tres-forte-argent' AND `virtuemart_product_id` != 1859507
2023-10-13	12:16:58	15	[DEBUG]	Query for ProductLang
2023-10-13	12:16:58	15	[DEBUG]	Executed store
2023-10-13	12:16:58	15	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.82965',`product_name`='Bosch Aimant à rayons BSM3150 (rémanence très forte) / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-aimant-a-rayons-bsm3150-remanence-tres-forte-argent' WHERE `virtuemart_product_id` = '1859507'
2023-10-13	12:16:58	15	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8296.jpg
2023-10-13	12:16:58	15	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:58	15	[DEBUG]	Process image file
2023-10-13	12:16:58	15	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:58	15	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:58	15	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8296.jpg
2023-10-13	12:16:58	15	[DEBUG]	Full name target: bcprisme/56_8296.jpg
2023-10-13	12:16:59	15	[DEBUG]	Checking if the file_url exists
2023-10-13	12:16:59	15	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_8296.jpg'
2023-10-13	12:16:59	15	[DEBUG]	Query for Media
2023-10-13	12:16:59	15	[DEBUG]	Executed store
2023-10-13	12:16:59	15	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_8296.jpg',`file_url_thumb`='bcprisme/56_8296.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1252586'
2023-10-13	12:16:59	15	[DEBUG]	Query for ProductMedia
2023-10-13	12:16:59	15	[DEBUG]	Executed store
2023-10-13	12:16:59	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859507','1252586','1')
2023-10-13	12:16:59	15	[DEBUG]	Store product image relation
2023-10-13	12:16:59	15	[DEBUG]	Finding a product_price_id
2023-10-13	12:16:59	15	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859507 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:16:59	15	[DEBUG]	Query for ProductPrice
2023-10-13	12:16:59	15	[DEBUG]	Executed store
2023-10-13	12:16:59	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859507','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:16:59	15	[DEBUG]	Checking manufacturer
2023-10-13	12:16:59	15	[DEBUG]	Load a row
2023-10-13	12:16:59	15	[DEBUG]	Manufacturer already exists
2023-10-13	12:16:59	15	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:16:59	15	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:16:59	15	[DEBUG]	Executed store
2023-10-13	12:16:59	15	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:16:59	15	[DEBUG]	Manufacturer exists
2023-10-13	12:16:59	15	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:16:59	15	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:16:59	15	[DEBUG]	Executed store
2023-10-13	12:16:59	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859507','33')
2023-10-13	12:16:59	15	[DEBUG]	Find the custom field ID
2023-10-13	12:16:59	15	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:16:59	15	[DEBUG]	No custom field ID found
2023-10-13	12:16:59	15	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:16:59	15	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:16:59	15	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859507 AND `virtuemart_custom_id` = 3
2023-10-13	12:16:59	15	[DEBUG]	Store custom available field
2023-10-13	12:16:59	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859507,3,'0',1)
2023-10-13	12:16:59	15	[DEBUG]	Processing custom available field: taille
2023-10-13	12:16:59	15	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:16:59	15	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859507 AND `virtuemart_custom_id` = 6
2023-10-13	12:16:59	15	[DEBUG]	Store custom available field
2023-10-13	12:16:59	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859507,6,'choisir la taille',3)
2023-10-13	12:16:59	15	[DEBUG]	Process multi-variant fields
2023-10-13	12:16:59	15	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:16:59	15	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:16:59	15	[DEBUG]	Find the multi variant product entry
2023-10-13	12:16:59	15	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859507 AND `virtuemart_custom_id` = 8
2023-10-13	12:16:59	15	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:16:59	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859507,8,1)
2023-10-13	12:16:59	15	[DEBUG]	Store the updated customfield_params
2023-10-13	12:16:59	15	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859507\":[1859507,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859507
2023-10-13	12:16:59	15	[DEBUG]	Checking category
2023-10-13	12:16:59	15	[DEBUG]	Get the existing categories for the product
2023-10-13	12:16:59	15	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859507
2023-10-13	12:16:59	15	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:16:59	15	[DEBUG]	Executed store
2023-10-13	12:16:59	15	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859507','7261')
2023-10-13	12:16:59	15	[DEBUG]	Delete leftover product categories
2023-10-13	12:16:59	15	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859507 AND `virtuemart_category_id` NOT IN (7261)
2023-10-13	12:16:59	15	[DEBUG]	Update has fields after all processing
2023-10-13	12:16:59	15	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859507
2023-10-13	12:16:59	16	[DEBUG]	Use field value for field product_sku
2023-10-13	12:16:59	16	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:16:59	16	[DEBUG]	Use field value for field taille
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:16:59	16	[DEBUG]	Use field value for field product_name
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field category_path
2023-10-13	12:16:59	16	[DEBUG]	Use field value for field product_price
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:16:59	16	[DEBUG]	Use field value for field product_tax
2023-10-13	12:16:59	16	[DEBUG]	Use field value for field file_url
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field product_desc
2023-10-13	12:16:59	16	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:16:59	16	[DEBUG]	Use field value for field product_availability
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field product_weight
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field product_unit
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field related_products
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field product_special
2023-10-13	12:16:59	16	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:16:59	16	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:16:59	16	[DEBUG]	Use field value for field published
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field metadesc
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field metakey
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field custom_title
2023-10-13	12:16:59	16	[DEBUG]	Use field value for field custom_value
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field custom_param
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field override
2023-10-13	12:16:59	16	[DEBUG]	Use default value for field public_price
2023-10-13	12:16:59	16	[DEBUG]	Use field value for field slug
2023-10-13	12:16:59	16	[DEBUG]	Process line 16
2023-10-13	12:16:59	16	[DEBUG]	Load a row
2023-10-13	12:16:59	16	[DEBUG]	Processing item: 4054289005337
2023-10-13	12:16:59	16	[DEBUG]	Looking for parent SKU
2023-10-13	12:16:59	16	[DEBUG]	Checking product parent SKU
2023-10-13	12:16:59	16	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9042_13'
2023-10-13	12:16:59	16	[DEBUG]	Product tax: 7.7
2023-10-13	12:16:59	16	[DEBUG]	Processing product tax
2023-10-13	12:16:59	16	[DEBUG]	Check if calculation rule exists
2023-10-13	12:16:59	16	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:16:59	16	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:16:59	16	[DEBUG]	Query for Product
2023-10-13	12:16:59	16	[DEBUG]	Executed store
2023-10-13	12:16:59	16	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859507','4054289005337','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:16:59	16	[DEBUG]	No parent found
2023-10-13	12:16:59	16	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859507 AND customfield_value = 'stockable'
2023-10-13	12:16:59	16	[DEBUG]	Check product language entry
2023-10-13	12:16:59	16	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859508
2023-10-13	12:16:59	16	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:59	16	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4054289005337' AND `virtuemart_product_id` != 1859508
2023-10-13	12:16:59	16	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:16:59	16	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859508, '4054289005337')
2023-10-13	12:16:59	16	[DEBUG]	Check if the product slug exists
2023-10-13	12:16:59	16	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-aimant-a-rayons-bsm3150-remanence-tres-forte-argent-unitaire' AND `virtuemart_product_id` != 1859508
2023-10-13	12:16:59	16	[DEBUG]	Query for ProductLang
2023-10-13	12:16:59	16	[DEBUG]	Executed store
2023-10-13	12:16:59	16	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Aimant à rayons BSM3150 (rémanence très forte) / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-aimant-a-rayons-bsm3150-remanence-tres-forte-argent-unitaire' WHERE `virtuemart_product_id` = '1859508'
2023-10-13	12:16:59	16	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8296.jpg
2023-10-13	12:16:59	16	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:59	16	[DEBUG]	Process image file
2023-10-13	12:16:59	16	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:16:59	16	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:16:59	16	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8296.jpg
2023-10-13	12:16:59	16	[DEBUG]	Full name target: bcprisme/56_8296.jpg
2023-10-13	12:17:00	16	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:00	16	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_8296.jpg'
2023-10-13	12:17:00	16	[DEBUG]	Query for Media
2023-10-13	12:17:00	16	[DEBUG]	Executed store
2023-10-13	12:17:00	16	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_8296.jpg',`file_url_thumb`='bcprisme/56_8296.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1252586'
2023-10-13	12:17:00	16	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:00	16	[DEBUG]	Executed store
2023-10-13	12:17:00	16	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859508','1252586','1')
2023-10-13	12:17:00	16	[DEBUG]	Store product image relation
2023-10-13	12:17:00	16	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:00	16	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859508 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:00	16	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:00	16	[DEBUG]	Executed store
2023-10-13	12:17:00	16	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859508','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:00	16	[DEBUG]	Checking manufacturer
2023-10-13	12:17:00	16	[DEBUG]	Load a row
2023-10-13	12:17:00	16	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:00	16	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:17:00	16	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:00	16	[DEBUG]	Executed store
2023-10-13	12:17:00	16	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:17:00	16	[DEBUG]	Manufacturer exists
2023-10-13	12:17:00	16	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:17:00	16	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:00	16	[DEBUG]	Executed store
2023-10-13	12:17:00	16	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859508','33')
2023-10-13	12:17:00	16	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:00	16	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:00	16	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859508 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:00	16	[DEBUG]	Store custom available field
2023-10-13	12:17:00	16	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859508,3,'',1)
2023-10-13	12:17:00	16	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:00	16	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:00	16	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859508 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:00	16	[DEBUG]	Store custom available field
2023-10-13	12:17:00	16	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859508,6,'Unitaire',3)
2023-10-13	12:17:00	16	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:00	16	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:00	16	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859507
2023-10-13	12:17:00	16	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:00	16	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859507\":[1859507,8,1,\"choisir la taille\"],\"1859508\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859507
2023-10-13	12:17:00	16	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:00	16	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859508
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:00	17	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field taille
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:00	17	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:00	17	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:00	17	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:00	17	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:00	17	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:00	17	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field published
2023-10-13	12:17:00	17	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:00	17	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field override
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:00	17	[DEBUG]	Use field value for field slug
2023-10-13	12:17:00	17	[DEBUG]	Process line 17
2023-10-13	12:17:00	17	[DEBUG]	Load a row
2023-10-13	12:17:00	17	[DEBUG]	Processing item: A_9138_1
2023-10-13	12:17:00	17	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:00	17	[DEBUG]	Processing product tax
2023-10-13	12:17:00	17	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:00	17	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:00	17	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:00	17	[DEBUG]	Query for Product
2023-10-13	12:17:00	17	[DEBUG]	Executed store
2023-10-13	12:17:00	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9138_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:00	17	[DEBUG]	Check product language entry
2023-10-13	12:17:00	17	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859509
2023-10-13	12:17:00	17	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:00	17	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9138_1' AND `virtuemart_product_id` != 1859509
2023-10-13	12:17:00	17	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:00	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859509, 'A_9138_1')
2023-10-13	12:17:00	17	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:00	17	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-contre-ecrou-shimano-avec-aimant-ew-ss302-noir' AND `virtuemart_product_id` != 1859509
2023-10-13	12:17:00	17	[DEBUG]	Query for ProductLang
2023-10-13	12:17:00	17	[DEBUG]	Executed store
2023-10-13	12:17:00	17	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.83108',`product_name`='Bosch Contre-écrou Shimano avec aimant EW-SS302 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-contre-ecrou-shimano-avec-aimant-ew-ss302-noir' WHERE `virtuemart_product_id` = '1859509'
2023-10-13	12:17:00	17	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_83108_09.jpg
2023-10-13	12:17:00	17	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:00	17	[DEBUG]	Process image file
2023-10-13	12:17:00	17	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:00	17	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:00	17	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_83108_09.jpg
2023-10-13	12:17:00	17	[DEBUG]	Full name target: bcprisme/73_83108_09.jpg
2023-10-13	12:17:01	17	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:01	17	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_83108_09.jpg'
2023-10-13	12:17:01	17	[DEBUG]	Query for Media
2023-10-13	12:17:01	17	[DEBUG]	Executed store
2023-10-13	12:17:01	17	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_83108_09.jpg',`file_url_thumb`='bcprisme/73_83108_09.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1274119'
2023-10-13	12:17:01	17	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:01	17	[DEBUG]	Executed store
2023-10-13	12:17:01	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859509','1274119','1')
2023-10-13	12:17:01	17	[DEBUG]	Store product image relation
2023-10-13	12:17:01	17	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:01	17	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859509 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:01	17	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:01	17	[DEBUG]	Executed store
2023-10-13	12:17:01	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859509','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:01	17	[DEBUG]	Checking manufacturer
2023-10-13	12:17:01	17	[DEBUG]	Load a row
2023-10-13	12:17:01	17	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:01	17	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:17:01	17	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:01	17	[DEBUG]	Executed store
2023-10-13	12:17:01	17	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:17:01	17	[DEBUG]	Manufacturer exists
2023-10-13	12:17:01	17	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:17:01	17	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:01	17	[DEBUG]	Executed store
2023-10-13	12:17:01	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859509','33')
2023-10-13	12:17:01	17	[DEBUG]	Find the custom field ID
2023-10-13	12:17:01	17	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:01	17	[DEBUG]	No custom field ID found
2023-10-13	12:17:01	17	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:01	17	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:17:01	17	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859509 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:01	17	[DEBUG]	Store custom available field
2023-10-13	12:17:01	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859509,3,'0',1)
2023-10-13	12:17:01	17	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:01	17	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:01	17	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859509 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:01	17	[DEBUG]	Store custom available field
2023-10-13	12:17:01	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859509,6,'choisir la taille',3)
2023-10-13	12:17:01	17	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:01	17	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:01	17	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:01	17	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:01	17	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859509 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:01	17	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:01	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859509,8,1)
2023-10-13	12:17:01	17	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:01	17	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859509\":[1859509,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859509
2023-10-13	12:17:01	17	[DEBUG]	Checking category
2023-10-13	12:17:01	17	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:01	17	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859509
2023-10-13	12:17:01	17	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:01	17	[DEBUG]	Executed store
2023-10-13	12:17:01	17	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859509','7261')
2023-10-13	12:17:01	17	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:01	17	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859509 AND `virtuemart_category_id` NOT IN (7261)
2023-10-13	12:17:01	17	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:01	17	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859509
2023-10-13	12:17:01	18	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:01	18	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:01	18	[DEBUG]	Use field value for field taille
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:01	18	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:01	18	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:01	18	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:01	18	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:01	18	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:01	18	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:01	18	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:01	18	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:01	18	[DEBUG]	Use field value for field published
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:01	18	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field override
2023-10-13	12:17:01	18	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:01	18	[DEBUG]	Use field value for field slug
2023-10-13	12:17:01	18	[DEBUG]	Process line 18
2023-10-13	12:17:01	18	[DEBUG]	Load a row
2023-10-13	12:17:01	18	[DEBUG]	Processing item: 4550170239220
2023-10-13	12:17:01	18	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:01	18	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:01	18	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9138_1'
2023-10-13	12:17:01	18	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:01	18	[DEBUG]	Processing product tax
2023-10-13	12:17:01	18	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:01	18	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:01	18	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:01	18	[DEBUG]	Query for Product
2023-10-13	12:17:01	18	[DEBUG]	Executed store
2023-10-13	12:17:01	18	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859509','4550170239220','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:01	18	[DEBUG]	No parent found
2023-10-13	12:17:01	18	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859509 AND customfield_value = 'stockable'
2023-10-13	12:17:01	18	[DEBUG]	Check product language entry
2023-10-13	12:17:01	18	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859510
2023-10-13	12:17:01	18	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:01	18	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170239220' AND `virtuemart_product_id` != 1859510
2023-10-13	12:17:01	18	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:01	18	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859510, '4550170239220')
2023-10-13	12:17:01	18	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:01	18	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-contre-ecrou-shimano-avec-aimant-ew-ss302-noir-unitaire' AND `virtuemart_product_id` != 1859510
2023-10-13	12:17:01	18	[DEBUG]	Query for ProductLang
2023-10-13	12:17:01	18	[DEBUG]	Executed store
2023-10-13	12:17:01	18	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Contre-écrou Shimano avec aimant EW-SS302 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-contre-ecrou-shimano-avec-aimant-ew-ss302-noir-unitaire' WHERE `virtuemart_product_id` = '1859510'
2023-10-13	12:17:01	18	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_83108_09.jpg
2023-10-13	12:17:01	18	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:01	18	[DEBUG]	Process image file
2023-10-13	12:17:01	18	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:01	18	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:01	18	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_83108_09.jpg
2023-10-13	12:17:01	18	[DEBUG]	Full name target: bcprisme/73_83108_09.jpg
2023-10-13	12:17:02	18	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:02	18	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_83108_09.jpg'
2023-10-13	12:17:02	18	[DEBUG]	Query for Media
2023-10-13	12:17:02	18	[DEBUG]	Executed store
2023-10-13	12:17:02	18	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_83108_09.jpg',`file_url_thumb`='bcprisme/73_83108_09.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1274119'
2023-10-13	12:17:02	18	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:02	18	[DEBUG]	Executed store
2023-10-13	12:17:02	18	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859510','1274119','1')
2023-10-13	12:17:02	18	[DEBUG]	Store product image relation
2023-10-13	12:17:02	18	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:02	18	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859510 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:02	18	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:02	18	[DEBUG]	Executed store
2023-10-13	12:17:02	18	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859510','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:02	18	[DEBUG]	Checking manufacturer
2023-10-13	12:17:02	18	[DEBUG]	Load a row
2023-10-13	12:17:02	18	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:02	18	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:17:02	18	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:02	18	[DEBUG]	Executed store
2023-10-13	12:17:02	18	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:17:02	18	[DEBUG]	Manufacturer exists
2023-10-13	12:17:02	18	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:17:02	18	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:02	18	[DEBUG]	Executed store
2023-10-13	12:17:02	18	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859510','33')
2023-10-13	12:17:02	18	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:02	18	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:02	18	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859510 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:02	18	[DEBUG]	Store custom available field
2023-10-13	12:17:02	18	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859510,3,'',1)
2023-10-13	12:17:02	18	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:02	18	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:02	18	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859510 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:02	18	[DEBUG]	Store custom available field
2023-10-13	12:17:02	18	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859510,6,'Unitaire',3)
2023-10-13	12:17:02	18	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:02	18	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:02	18	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859509
2023-10-13	12:17:02	18	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:02	18	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859509\":[1859509,8,1,\"choisir la taille\"],\"1859510\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859509
2023-10-13	12:17:02	18	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:02	18	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859510
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:02	19	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field taille
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:02	19	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:02	19	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:02	19	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:02	19	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:02	19	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:02	19	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field published
2023-10-13	12:17:02	19	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:02	19	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field override
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:02	19	[DEBUG]	Use field value for field slug
2023-10-13	12:17:02	19	[DEBUG]	Process line 19
2023-10-13	12:17:02	19	[DEBUG]	Load a row
2023-10-13	12:17:02	19	[DEBUG]	Processing item: A_9597_1
2023-10-13	12:17:02	19	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:02	19	[DEBUG]	Processing product tax
2023-10-13	12:17:02	19	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:02	19	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:02	19	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:02	19	[DEBUG]	Query for Product
2023-10-13	12:17:02	19	[DEBUG]	Executed store
2023-10-13	12:17:02	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9597_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:02	19	[DEBUG]	Check product language entry
2023-10-13	12:17:02	19	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859511
2023-10-13	12:17:02	19	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:02	19	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9597_1' AND `virtuemart_product_id` != 1859511
2023-10-13	12:17:02	19	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:02	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859511, 'A_9597_1')
2023-10-13	12:17:02	19	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:02	19	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-aimant-de-jante-brm3400-noir-noir' AND `virtuemart_product_id` != 1859511
2023-10-13	12:17:02	19	[DEBUG]	Query for ProductLang
2023-10-13	12:17:02	19	[DEBUG]	Executed store
2023-10-13	12:17:02	19	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.82966',`product_name`='Bosch Aimant de jante BRM3400 noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-aimant-de-jante-brm3400-noir-noir' WHERE `virtuemart_product_id` = '1859511'
2023-10-13	12:17:02	19	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_82966_.jpg
2023-10-13	12:17:02	19	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:17:02	19	[DEBUG]	Process image file
2023-10-13	12:17:02	19	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:17:02	19	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:02	19	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_82966_.jpg
2023-10-13	12:17:02	19	[DEBUG]	Full name target: bcprisme/56_82966_.jpg
2023-10-13	12:17:03	19	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:03	19	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_82966_.jpg'
2023-10-13	12:17:03	19	[DEBUG]	Query for Media
2023-10-13	12:17:03	19	[DEBUG]	Executed store
2023-10-13	12:17:03	19	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_82966_.jpg',`file_url_thumb`='bcprisme/56_82966_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498092'
2023-10-13	12:17:03	19	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:03	19	[DEBUG]	Executed store
2023-10-13	12:17:03	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859511','1498092','1')
2023-10-13	12:17:03	19	[DEBUG]	Store product image relation
2023-10-13	12:17:03	19	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:03	19	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859511 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:03	19	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:03	19	[DEBUG]	Executed store
2023-10-13	12:17:03	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859511','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:03	19	[DEBUG]	Checking manufacturer
2023-10-13	12:17:03	19	[DEBUG]	Load a row
2023-10-13	12:17:03	19	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:03	19	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:17:03	19	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:03	19	[DEBUG]	Executed store
2023-10-13	12:17:03	19	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:17:03	19	[DEBUG]	Manufacturer exists
2023-10-13	12:17:03	19	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:17:03	19	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:03	19	[DEBUG]	Executed store
2023-10-13	12:17:03	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859511','33')
2023-10-13	12:17:03	19	[DEBUG]	Find the custom field ID
2023-10-13	12:17:03	19	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:03	19	[DEBUG]	No custom field ID found
2023-10-13	12:17:03	19	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:03	19	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:17:03	19	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859511 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:03	19	[DEBUG]	Store custom available field
2023-10-13	12:17:03	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859511,3,'0',1)
2023-10-13	12:17:03	19	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:03	19	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:03	19	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859511 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:03	19	[DEBUG]	Store custom available field
2023-10-13	12:17:03	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859511,6,'choisir la taille',3)
2023-10-13	12:17:03	19	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:03	19	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:03	19	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:03	19	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:03	19	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859511 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:03	19	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:03	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859511,8,1)
2023-10-13	12:17:03	19	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:03	19	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859511\":[1859511,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859511
2023-10-13	12:17:03	19	[DEBUG]	Checking category
2023-10-13	12:17:03	19	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:03	19	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859511
2023-10-13	12:17:03	19	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:03	19	[DEBUG]	Executed store
2023-10-13	12:17:03	19	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859511','7261')
2023-10-13	12:17:03	19	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:03	19	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859511 AND `virtuemart_category_id` NOT IN (7261)
2023-10-13	12:17:03	19	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:03	19	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859511
2023-10-13	12:17:03	20	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:03	20	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:03	20	[DEBUG]	Use field value for field taille
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:03	20	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:03	20	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:03	20	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:03	20	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:03	20	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:03	20	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:03	20	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:03	20	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:03	20	[DEBUG]	Use field value for field published
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:03	20	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field override
2023-10-13	12:17:03	20	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:03	20	[DEBUG]	Use field value for field slug
2023-10-13	12:17:03	20	[DEBUG]	Process line 20
2023-10-13	12:17:03	20	[DEBUG]	Load a row
2023-10-13	12:17:03	20	[DEBUG]	Processing item: 4054289003746
2023-10-13	12:17:03	20	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:03	20	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:03	20	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9597_1'
2023-10-13	12:17:03	20	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:03	20	[DEBUG]	Processing product tax
2023-10-13	12:17:03	20	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:03	20	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:03	20	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:03	20	[DEBUG]	Query for Product
2023-10-13	12:17:03	20	[DEBUG]	Executed store
2023-10-13	12:17:03	20	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859511','4054289003746','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:03	20	[DEBUG]	No parent found
2023-10-13	12:17:03	20	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859511 AND customfield_value = 'stockable'
2023-10-13	12:17:03	20	[DEBUG]	Check product language entry
2023-10-13	12:17:03	20	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859512
2023-10-13	12:17:03	20	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:03	20	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4054289003746' AND `virtuemart_product_id` != 1859512
2023-10-13	12:17:03	20	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:03	20	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859512, '4054289003746')
2023-10-13	12:17:03	20	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:03	20	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-aimant-de-jante-brm3400-noir-noir-unitaire' AND `virtuemart_product_id` != 1859512
2023-10-13	12:17:03	20	[DEBUG]	Query for ProductLang
2023-10-13	12:17:03	20	[DEBUG]	Executed store
2023-10-13	12:17:03	20	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Aimant de jante BRM3400 noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-aimant-de-jante-brm3400-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1859512'
2023-10-13	12:17:03	20	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_82966_.jpg
2023-10-13	12:17:03	20	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:17:03	20	[DEBUG]	Process image file
2023-10-13	12:17:03	20	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:17:03	20	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:03	20	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_82966_.jpg
2023-10-13	12:17:03	20	[DEBUG]	Full name target: bcprisme/56_82966_.jpg
2023-10-13	12:17:04	20	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:04	20	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_82966_.jpg'
2023-10-13	12:17:04	20	[DEBUG]	Query for Media
2023-10-13	12:17:04	20	[DEBUG]	Executed store
2023-10-13	12:17:04	20	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_82966_.jpg',`file_url_thumb`='bcprisme/56_82966_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498092'
2023-10-13	12:17:04	20	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:04	20	[DEBUG]	Executed store
2023-10-13	12:17:04	20	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859512','1498092','1')
2023-10-13	12:17:04	20	[DEBUG]	Store product image relation
2023-10-13	12:17:04	20	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:04	20	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859512 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:04	20	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:04	20	[DEBUG]	Executed store
2023-10-13	12:17:04	20	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859512','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:04	20	[DEBUG]	Checking manufacturer
2023-10-13	12:17:04	20	[DEBUG]	Load a row
2023-10-13	12:17:04	20	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:04	20	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:17:04	20	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:04	20	[DEBUG]	Executed store
2023-10-13	12:17:04	20	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:17:04	20	[DEBUG]	Manufacturer exists
2023-10-13	12:17:04	20	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:17:04	20	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:04	20	[DEBUG]	Executed store
2023-10-13	12:17:04	20	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859512','33')
2023-10-13	12:17:04	20	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:04	20	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:04	20	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859512 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:04	20	[DEBUG]	Store custom available field
2023-10-13	12:17:04	20	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859512,3,'',1)
2023-10-13	12:17:04	20	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:04	20	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:04	20	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859512 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:04	20	[DEBUG]	Store custom available field
2023-10-13	12:17:04	20	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859512,6,'Unitaire',3)
2023-10-13	12:17:04	20	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:04	20	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:04	20	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859511
2023-10-13	12:17:04	20	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:04	20	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859511\":[1859511,8,1,\"choisir la taille\"],\"1859512\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859511
2023-10-13	12:17:04	20	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:04	20	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859512
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:04	21	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field taille
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:04	21	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:04	21	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:04	21	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:04	21	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:04	21	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:04	21	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:04	21	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field published
2023-10-13	12:17:04	21	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:04	21	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field override
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:04	21	[DEBUG]	Use field value for field slug
2023-10-13	12:17:04	21	[DEBUG]	Process line 21
2023-10-13	12:17:04	21	[DEBUG]	Load a row
2023-10-13	12:17:04	21	[DEBUG]	Processing item: A_8063_3
2023-10-13	12:17:04	21	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:04	21	[DEBUG]	Processing product tax
2023-10-13	12:17:04	21	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:04	21	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:04	21	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:04	21	[DEBUG]	Query for Product
2023-10-13	12:17:04	21	[DEBUG]	Executed store
2023-10-13	12:17:04	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8063_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:04	21	[DEBUG]	Check product language entry
2023-10-13	12:17:04	21	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859513
2023-10-13	12:17:04	21	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:04	21	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8063_3' AND `virtuemart_product_id` != 1859513
2023-10-13	12:17:04	21	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:04	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859513, 'A_8063_3')
2023-10-13	12:17:04	21	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:04	21	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-unit-none' AND `virtuemart_product_id` != 1859513
2023-10-13	12:17:04	21	[DEBUG]	Query for ProductLang
2023-10-13	12:17:04	21	[DEBUG]	Executed store
2023-10-13	12:17:04	21	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Les produits Axxios powered by Snipptec permettent de réduire durablement les vibrations, les charges et les turbulences émanant de tout corps en mouvement et sous contrainte. Il s’agit d’une technologie développée à la suite d’études approfondies dans le domaine des turbulences, des champs magnétiques perturbateurs, des vibrations et de leurs conséquences dévastatrices sur les performances, la qualité et la sécurité.<br><br>Les fondamentaux scientifiques reposent notamment sur la spintronique. La spintronique est une discipline qui exploite une propriété magnétique et quantique de l’électron appelée spin (rotation).<br><br>Une fois en mouvement, ton vélo et ton corps sont soumis à des micro-vibrations néfastes et omniprésentes.<br><br>Que tu soies amateur ou professionnel, nous proposons de nombreuses options afin d’optimiser les performances et le confort de ton vélo.<br><br>Les puces Axxios permettent de diminuer l’effet néfaste des vibrations sur ton vélo et de gagner en sensations, confort et performance.<br><br>Chaque puce a une programmation qui lui est propre et joue un rôle spécifique selon son emplacement ainsi que suivant le type de composant sur laquelle elle est placée.<br><br>CADRE & ACCESSOIRES<br><br>Stabilisation de l’engin<br><br>Diminution de l’impact sur corps humain<br><br><br>SUSPENSIONS<br><br>Suspensions plus réactives<br><br>Davantage de feeling pour le pilote<br><br><br>PNEUMATIQUE<br><br>Grip accru<br><br>Davantage de précision dans la conduite<br><br><br>ROULABILITE<br>Roulements plus libres Moins d’effort requis<br><br>',`product_name`='AXXIOS Axx UNIT / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-unit-none' WHERE `virtuemart_product_id` = '1859513'
2023-10-13	12:17:04	21	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36573_axx_unit.png
2023-10-13	12:17:04	21	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:04	21	[DEBUG]	Process image file
2023-10-13	12:17:04	21	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:04	21	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:04	21	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36573_axx_unit.png
2023-10-13	12:17:04	21	[DEBUG]	Full name target: bcprisme/36573_axx_unit.png
2023-10-13	12:17:05	21	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:05	21	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36573_axx_unit.png'
2023-10-13	12:17:05	21	[DEBUG]	Query for Media
2023-10-13	12:17:05	21	[DEBUG]	Executed store
2023-10-13	12:17:05	21	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36573_axx_unit.png',`file_url_thumb`='bcprisme/36573_axx_unit.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1584200'
2023-10-13	12:17:05	21	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:05	21	[DEBUG]	Executed store
2023-10-13	12:17:05	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859513','1584200','1')
2023-10-13	12:17:05	21	[DEBUG]	Store product image relation
2023-10-13	12:17:05	21	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:05	21	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859513 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:05	21	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:05	21	[DEBUG]	Executed store
2023-10-13	12:17:05	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859513','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:05	21	[DEBUG]	Checking manufacturer
2023-10-13	12:17:05	21	[DEBUG]	Load a row
2023-10-13	12:17:05	21	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:05	21	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:05	21	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:05	21	[DEBUG]	Executed store
2023-10-13	12:17:05	21	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:05	21	[DEBUG]	Manufacturer exists
2023-10-13	12:17:05	21	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:05	21	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:05	21	[DEBUG]	Executed store
2023-10-13	12:17:05	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859513','254')
2023-10-13	12:17:05	21	[DEBUG]	Find the custom field ID
2023-10-13	12:17:05	21	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:05	21	[DEBUG]	No custom field ID found
2023-10-13	12:17:05	21	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:05	21	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:17:05	21	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859513 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:05	21	[DEBUG]	Store custom available field
2023-10-13	12:17:05	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859513,3,'0',1)
2023-10-13	12:17:05	21	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:05	21	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:05	21	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859513 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:05	21	[DEBUG]	Store custom available field
2023-10-13	12:17:05	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859513,6,'choisir la taille',3)
2023-10-13	12:17:05	21	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:05	21	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:05	21	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:05	21	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:05	21	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859513 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:05	21	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:05	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859513,8,1)
2023-10-13	12:17:05	21	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:05	21	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859513\":[1859513,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859513
2023-10-13	12:17:05	21	[DEBUG]	Checking category
2023-10-13	12:17:05	21	[DEBUG]	Check if category path exists: AXXIOS
2023-10-13	12:17:05	21	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'AXXIOS' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:17:05	21	[DEBUG]	Check if category path exists: AXXIOS
2023-10-13	12:17:05	21	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'AXXIOS' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7262
2023-10-13	12:17:05	21	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:05	21	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859513
2023-10-13	12:17:05	21	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:05	21	[DEBUG]	Executed store
2023-10-13	12:17:05	21	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859513','7263')
2023-10-13	12:17:05	21	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:05	21	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859513 AND `virtuemart_category_id` NOT IN (7263)
2023-10-13	12:17:05	21	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:05	21	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859513
2023-10-13	12:17:05	22	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:05	22	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:05	22	[DEBUG]	Use field value for field taille
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:05	22	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:05	22	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:05	22	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:05	22	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:05	22	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:05	22	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:05	22	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:05	22	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:05	22	[DEBUG]	Use field value for field published
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:05	22	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field override
2023-10-13	12:17:05	22	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:05	22	[DEBUG]	Use field value for field slug
2023-10-13	12:17:05	22	[DEBUG]	Process line 22
2023-10-13	12:17:05	22	[DEBUG]	Load a row
2023-10-13	12:17:05	22	[DEBUG]	Processing item: 1000000143515
2023-10-13	12:17:05	22	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:05	22	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:05	22	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8063_3'
2023-10-13	12:17:05	22	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:05	22	[DEBUG]	Processing product tax
2023-10-13	12:17:05	22	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:05	22	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:05	22	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:05	22	[DEBUG]	Query for Product
2023-10-13	12:17:05	22	[DEBUG]	Executed store
2023-10-13	12:17:05	22	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859513','1000000143515','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:05	22	[DEBUG]	No parent found
2023-10-13	12:17:05	22	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859513 AND customfield_value = 'stockable'
2023-10-13	12:17:05	22	[DEBUG]	Check product language entry
2023-10-13	12:17:05	22	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859514
2023-10-13	12:17:05	22	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:05	22	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000143515' AND `virtuemart_product_id` != 1859514
2023-10-13	12:17:05	22	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:05	22	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859514, '1000000143515')
2023-10-13	12:17:05	22	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:05	22	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-unit-none-unitaire' AND `virtuemart_product_id` != 1859514
2023-10-13	12:17:05	22	[DEBUG]	Query for ProductLang
2023-10-13	12:17:05	22	[DEBUG]	Executed store
2023-10-13	12:17:05	22	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXXIOS Axx UNIT / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-unit-none-unitaire' WHERE `virtuemart_product_id` = '1859514'
2023-10-13	12:17:05	22	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36573_axx_unit.png
2023-10-13	12:17:05	22	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:05	22	[DEBUG]	Process image file
2023-10-13	12:17:05	22	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:05	22	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:05	22	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36573_axx_unit.png
2023-10-13	12:17:05	22	[DEBUG]	Full name target: bcprisme/36573_axx_unit.png
2023-10-13	12:17:06	22	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:06	22	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36573_axx_unit.png'
2023-10-13	12:17:06	22	[DEBUG]	Query for Media
2023-10-13	12:17:06	22	[DEBUG]	Executed store
2023-10-13	12:17:06	22	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36573_axx_unit.png',`file_url_thumb`='bcprisme/36573_axx_unit.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1584200'
2023-10-13	12:17:06	22	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:06	22	[DEBUG]	Executed store
2023-10-13	12:17:06	22	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859514','1584200','1')
2023-10-13	12:17:06	22	[DEBUG]	Store product image relation
2023-10-13	12:17:06	22	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:06	22	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859514 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:06	22	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:06	22	[DEBUG]	Executed store
2023-10-13	12:17:06	22	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859514','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:06	22	[DEBUG]	Checking manufacturer
2023-10-13	12:17:06	22	[DEBUG]	Load a row
2023-10-13	12:17:06	22	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:06	22	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:06	22	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:06	22	[DEBUG]	Executed store
2023-10-13	12:17:06	22	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:06	22	[DEBUG]	Manufacturer exists
2023-10-13	12:17:06	22	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:06	22	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:06	22	[DEBUG]	Executed store
2023-10-13	12:17:06	22	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859514','254')
2023-10-13	12:17:06	22	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:06	22	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:06	22	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859514 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:06	22	[DEBUG]	Store custom available field
2023-10-13	12:17:06	22	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859514,3,'',1)
2023-10-13	12:17:06	22	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:06	22	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:06	22	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859514 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:06	22	[DEBUG]	Store custom available field
2023-10-13	12:17:06	22	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859514,6,'Unitaire',3)
2023-10-13	12:17:06	22	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:06	22	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:06	22	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859513
2023-10-13	12:17:06	22	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:06	22	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859513\":[1859513,8,1,\"choisir la taille\"],\"1859514\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859513
2023-10-13	12:17:06	22	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:06	22	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859514
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:06	23	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field taille
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:06	23	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:06	23	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:06	23	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:06	23	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:06	23	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:06	23	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:06	23	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field published
2023-10-13	12:17:06	23	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:06	23	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field override
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:06	23	[DEBUG]	Use field value for field slug
2023-10-13	12:17:06	23	[DEBUG]	Process line 23
2023-10-13	12:17:06	23	[DEBUG]	Load a row
2023-10-13	12:17:06	23	[DEBUG]	Processing item: A_8064_3
2023-10-13	12:17:06	23	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:06	23	[DEBUG]	Processing product tax
2023-10-13	12:17:06	23	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:06	23	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:06	23	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:06	23	[DEBUG]	Query for Product
2023-10-13	12:17:06	23	[DEBUG]	Executed store
2023-10-13	12:17:06	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8064_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:06	23	[DEBUG]	Check product language entry
2023-10-13	12:17:06	23	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859515
2023-10-13	12:17:06	23	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:06	23	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8064_3' AND `virtuemart_product_id` != 1859515
2023-10-13	12:17:06	23	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:06	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859515, 'A_8064_3')
2023-10-13	12:17:06	23	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:06	23	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-wheels-kit-none' AND `virtuemart_product_id` != 1859515
2023-10-13	12:17:06	23	[DEBUG]	Query for ProductLang
2023-10-13	12:17:06	23	[DEBUG]	Executed store
2023-10-13	12:17:06	23	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='AXX WHEELS Pour un gain en roulabilité et meilleur retour du terrain<br><br>Emplacements: <br>Jantes<br>Moyeux<br><br>Les produits Axxios powered by Snipptec permettent de réduire durablement les vibrations, les charges et les turbulences émanant de tout corps en mouvement et sous contrainte. Il s’agit d’une technologie développée à la suite d’études approfondies dans le domaine des turbulences, des champs magnétiques perturbateurs, des vibrations et de leurs conséquences dévastatrices sur les performances, la qualité et la sécurité.<br><br>Les fondamentaux scientifiques reposent notamment sur la spintronique. La spintronique est une discipline qui exploite une propriété magnétique et quantique de l’électron appelée spin (rotation).<br><br>Une fois en mouvement, ton vélo et ton corps sont soumis à des micro-vibrations néfastes et omniprésentes.<br><br>Que tu soies amateur ou professionnel, nous proposons de nombreuses options afin d’optimiser les performances et le confort de ton vélo.<br><br>Les puces Axxios permettent de diminuer l’effet néfaste des vibrations sur ton vélo et de gagner en sensations, confort et performance.<br><br>Chaque puce a une programmation qui lui est propre et joue un rôle spécifique selon son emplacement ainsi que suivant le type de composant sur laquelle elle est placée.<br><br>CADRE & ACCESSOIRES<br>Stabilisation de l’engin<br>Diminution de l’impact sur corps humain<br><br>SUSPENSIONS<br>Suspensions plus réactives<br>Davantage de feeling pour le pilote<br><br>PNEUMATIQUE<br>Grip accru<br>Davantage de précision dans la conduite<br><br>ROULABILITE<br>Roulements plus libres Moins d’effort requis<br><br>',`product_name`='AXXIOS Axx WHEELS KIT / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-wheels-kit-none' WHERE `virtuemart_product_id` = '1859515'
2023-10-13	12:17:06	23	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36574_axx_wheels_kit.png
2023-10-13	12:17:06	23	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:06	23	[DEBUG]	Process image file
2023-10-13	12:17:06	23	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:06	23	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:06	23	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36574_axx_wheels_kit.png
2023-10-13	12:17:06	23	[DEBUG]	Full name target: bcprisme/36574_axx_wheels_kit.png
2023-10-13	12:17:07	23	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:07	23	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36574_axx_wheels_kit.png'
2023-10-13	12:17:07	23	[DEBUG]	Query for Media
2023-10-13	12:17:07	23	[DEBUG]	Executed store
2023-10-13	12:17:07	23	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36574_axx_wheels_kit.png',`file_url_thumb`='bcprisme/36574_axx_wheels_kit.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '887674'
2023-10-13	12:17:07	23	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:07	23	[DEBUG]	Executed store
2023-10-13	12:17:07	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859515','887674','1')
2023-10-13	12:17:07	23	[DEBUG]	Store product image relation
2023-10-13	12:17:07	23	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:07	23	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859515 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:07	23	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:07	23	[DEBUG]	Executed store
2023-10-13	12:17:07	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859515','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:07	23	[DEBUG]	Checking manufacturer
2023-10-13	12:17:07	23	[DEBUG]	Load a row
2023-10-13	12:17:07	23	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:07	23	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:07	23	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:07	23	[DEBUG]	Executed store
2023-10-13	12:17:07	23	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:07	23	[DEBUG]	Manufacturer exists
2023-10-13	12:17:07	23	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:07	23	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:07	23	[DEBUG]	Executed store
2023-10-13	12:17:07	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859515','254')
2023-10-13	12:17:07	23	[DEBUG]	Find the custom field ID
2023-10-13	12:17:07	23	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:07	23	[DEBUG]	No custom field ID found
2023-10-13	12:17:07	23	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:07	23	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:17:07	23	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859515 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:07	23	[DEBUG]	Store custom available field
2023-10-13	12:17:07	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859515,3,'0',1)
2023-10-13	12:17:07	23	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:07	23	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:07	23	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859515 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:07	23	[DEBUG]	Store custom available field
2023-10-13	12:17:07	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859515,6,'choisir la taille',3)
2023-10-13	12:17:07	23	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:07	23	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:07	23	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:07	23	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:07	23	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859515 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:07	23	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:07	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859515,8,1)
2023-10-13	12:17:07	23	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:07	23	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859515\":[1859515,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859515
2023-10-13	12:17:07	23	[DEBUG]	Checking category
2023-10-13	12:17:07	23	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:07	23	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859515
2023-10-13	12:17:07	23	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:07	23	[DEBUG]	Executed store
2023-10-13	12:17:07	23	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859515','7263')
2023-10-13	12:17:07	23	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:07	23	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859515 AND `virtuemart_category_id` NOT IN (7263)
2023-10-13	12:17:07	23	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:07	23	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859515
2023-10-13	12:17:07	24	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:07	24	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:07	24	[DEBUG]	Use field value for field taille
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:07	24	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:07	24	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:07	24	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:07	24	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:07	24	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:07	24	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:07	24	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:07	24	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:07	24	[DEBUG]	Use field value for field published
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:07	24	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field override
2023-10-13	12:17:07	24	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:07	24	[DEBUG]	Use field value for field slug
2023-10-13	12:17:07	24	[DEBUG]	Process line 24
2023-10-13	12:17:07	24	[DEBUG]	Load a row
2023-10-13	12:17:07	24	[DEBUG]	Processing item: 1000000143522
2023-10-13	12:17:07	24	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:07	24	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:07	24	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8064_3'
2023-10-13	12:17:07	24	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:07	24	[DEBUG]	Processing product tax
2023-10-13	12:17:07	24	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:07	24	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:07	24	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:07	24	[DEBUG]	Query for Product
2023-10-13	12:17:07	24	[DEBUG]	Executed store
2023-10-13	12:17:07	24	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859515','1000000143522','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:07	24	[DEBUG]	No parent found
2023-10-13	12:17:07	24	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859515 AND customfield_value = 'stockable'
2023-10-13	12:17:07	24	[DEBUG]	Check product language entry
2023-10-13	12:17:07	24	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859516
2023-10-13	12:17:07	24	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:07	24	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000143522' AND `virtuemart_product_id` != 1859516
2023-10-13	12:17:07	24	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:07	24	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859516, '1000000143522')
2023-10-13	12:17:07	24	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:07	24	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-wheels-kit-none-unitaire' AND `virtuemart_product_id` != 1859516
2023-10-13	12:17:07	24	[DEBUG]	Query for ProductLang
2023-10-13	12:17:07	24	[DEBUG]	Executed store
2023-10-13	12:17:07	24	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXXIOS Axx WHEELS KIT / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-wheels-kit-none-unitaire' WHERE `virtuemart_product_id` = '1859516'
2023-10-13	12:17:07	24	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36574_axx_wheels_kit.png
2023-10-13	12:17:07	24	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:07	24	[DEBUG]	Process image file
2023-10-13	12:17:07	24	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:07	24	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:07	24	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36574_axx_wheels_kit.png
2023-10-13	12:17:07	24	[DEBUG]	Full name target: bcprisme/36574_axx_wheels_kit.png
2023-10-13	12:17:08	24	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:08	24	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36574_axx_wheels_kit.png'
2023-10-13	12:17:08	24	[DEBUG]	Query for Media
2023-10-13	12:17:08	24	[DEBUG]	Executed store
2023-10-13	12:17:08	24	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36574_axx_wheels_kit.png',`file_url_thumb`='bcprisme/36574_axx_wheels_kit.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '887674'
2023-10-13	12:17:08	24	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:08	24	[DEBUG]	Executed store
2023-10-13	12:17:08	24	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859516','887674','1')
2023-10-13	12:17:08	24	[DEBUG]	Store product image relation
2023-10-13	12:17:08	24	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:08	24	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859516 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:08	24	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:08	24	[DEBUG]	Executed store
2023-10-13	12:17:08	24	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859516','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:08	24	[DEBUG]	Checking manufacturer
2023-10-13	12:17:08	24	[DEBUG]	Load a row
2023-10-13	12:17:08	24	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:08	24	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:08	24	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:08	24	[DEBUG]	Executed store
2023-10-13	12:17:08	24	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:08	24	[DEBUG]	Manufacturer exists
2023-10-13	12:17:08	24	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:08	24	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:08	24	[DEBUG]	Executed store
2023-10-13	12:17:08	24	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859516','254')
2023-10-13	12:17:08	24	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:08	24	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:08	24	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859516 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:08	24	[DEBUG]	Store custom available field
2023-10-13	12:17:08	24	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859516,3,'',1)
2023-10-13	12:17:08	24	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:08	24	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:08	24	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859516 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:08	24	[DEBUG]	Store custom available field
2023-10-13	12:17:08	24	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859516,6,'Unitaire',3)
2023-10-13	12:17:08	24	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:08	24	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:08	24	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859515
2023-10-13	12:17:08	24	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:08	24	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859515\":[1859515,8,1,\"choisir la taille\"],\"1859516\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859515
2023-10-13	12:17:08	24	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:08	24	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859516
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:08	25	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field taille
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:08	25	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:08	25	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:08	25	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:08	25	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:08	25	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:08	25	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:08	25	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field published
2023-10-13	12:17:08	25	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:08	25	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field override
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:08	25	[DEBUG]	Use field value for field slug
2023-10-13	12:17:08	25	[DEBUG]	Process line 25
2023-10-13	12:17:08	25	[DEBUG]	Load a row
2023-10-13	12:17:08	25	[DEBUG]	Processing item: A_8065_3
2023-10-13	12:17:08	25	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:08	25	[DEBUG]	Processing product tax
2023-10-13	12:17:08	25	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:08	25	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:08	25	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:08	25	[DEBUG]	Query for Product
2023-10-13	12:17:08	25	[DEBUG]	Executed store
2023-10-13	12:17:08	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8065_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:08	25	[DEBUG]	Check product language entry
2023-10-13	12:17:08	25	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859517
2023-10-13	12:17:08	25	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:08	25	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8065_3' AND `virtuemart_product_id` != 1859517
2023-10-13	12:17:08	25	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:08	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859517, 'A_8065_3')
2023-10-13	12:17:08	25	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:08	25	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-premium-kit-none' AND `virtuemart_product_id` != 1859517
2023-10-13	12:17:08	25	[DEBUG]	Query for ProductLang
2023-10-13	12:17:08	25	[DEBUG]	Executed store
2023-10-13	12:17:08	25	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='AXX’PREMIUM L AXX COMFORT et l’AXX WHEELS combinés pour un gain en efficience.<br><br>Améliore tes segments STRAVA grâce à l’AXX PREMIUM!<br><br>Emplacements:<br>•Poste de pilotage<br>•Roues<br><br>Les produits “Axxios powered by Snipptec” permettent de réduire durablement les vibrations, les charges et les turbulences émanant de tout corps en mouvement et sous contrainte. Il s’agit d’une technologie développée à la suite d’études approfondies dans le domaine des turbulences, des champs magnétiques perturbateurs, des vibrations et de leurs conséquences dévastatrices sur les performances, la qualité et la sécurité.<br><br>Les fondamentaux scientifiques reposent notamment sur la spintronique. La spintronique est une discipline qui exploite une propriété magnétique et quantique de l’électron appelée spin (rotation).<br><br>Une fois en mouvement, ton vélo et ton corps sont soumis à des micro-vibrations néfastes et omniprésentes.<br><br>Que tu soies amateur ou professionnel, nous proposons de nombreuses options afin d’optimiser les performances et le confort de ton vélo.<br><br>Les puces Axxios permettent de diminuer l’effet néfaste des vibrations sur ton vélo et de gagner en sensations, confort et performance.<br><br>Chaque puce a une programmation qui lui est propre et joue un rôle spécifique selon son emplacement ainsi que suivant le type de composant sur laquelle elle est placée.<br><br>CADRE & ACCESSOIRES<br>Stabilisation de l’engin<br>Diminution de l’impact sur corps humain<br><br>SUSPENSIONS<br>Suspensions plus réactives<br>Davantage de feeling pour le pilote<br><br>PNEUMATIQUE<br>Grip accru<br>Davantage de précision dans la conduite<br><br>ROULABILITE<br>Roulements plus libres Moins d’effort requis<br><br>',`product_name`='AXXIOS Axx PREMIUM KIT / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-premium-kit-none' WHERE `virtuemart_product_id` = '1859517'
2023-10-13	12:17:08	25	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36575_axx_premium_kit.png
2023-10-13	12:17:08	25	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:08	25	[DEBUG]	Process image file
2023-10-13	12:17:08	25	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:08	25	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:08	25	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36575_axx_premium_kit.png
2023-10-13	12:17:08	25	[DEBUG]	Full name target: bcprisme/36575_axx_premium_kit.png
2023-10-13	12:17:09	25	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:09	25	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36575_axx_premium_kit.png'
2023-10-13	12:17:09	25	[DEBUG]	Query for Media
2023-10-13	12:17:09	25	[DEBUG]	Executed store
2023-10-13	12:17:09	25	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36575_axx_premium_kit.png',`file_url_thumb`='bcprisme/36575_axx_premium_kit.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '887676'
2023-10-13	12:17:09	25	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:09	25	[DEBUG]	Executed store
2023-10-13	12:17:09	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859517','887676','1')
2023-10-13	12:17:09	25	[DEBUG]	Store product image relation
2023-10-13	12:17:09	25	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:09	25	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859517 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:09	25	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:09	25	[DEBUG]	Executed store
2023-10-13	12:17:09	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859517','0','249.767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:09	25	[DEBUG]	Checking manufacturer
2023-10-13	12:17:09	25	[DEBUG]	Load a row
2023-10-13	12:17:09	25	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:09	25	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:09	25	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:09	25	[DEBUG]	Executed store
2023-10-13	12:17:09	25	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:09	25	[DEBUG]	Manufacturer exists
2023-10-13	12:17:09	25	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:09	25	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:09	25	[DEBUG]	Executed store
2023-10-13	12:17:09	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859517','254')
2023-10-13	12:17:09	25	[DEBUG]	Find the custom field ID
2023-10-13	12:17:09	25	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:09	25	[DEBUG]	No custom field ID found
2023-10-13	12:17:09	25	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:09	25	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:17:09	25	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859517 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:09	25	[DEBUG]	Store custom available field
2023-10-13	12:17:09	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859517,3,'0',1)
2023-10-13	12:17:09	25	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:09	25	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:09	25	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859517 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:09	25	[DEBUG]	Store custom available field
2023-10-13	12:17:09	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859517,6,'choisir la taille',3)
2023-10-13	12:17:09	25	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:09	25	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:09	25	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:09	25	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:09	25	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859517 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:09	25	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:09	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859517,8,1)
2023-10-13	12:17:09	25	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:09	25	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859517\":[1859517,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859517
2023-10-13	12:17:09	25	[DEBUG]	Checking category
2023-10-13	12:17:09	25	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:09	25	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859517
2023-10-13	12:17:09	25	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:09	25	[DEBUG]	Executed store
2023-10-13	12:17:09	25	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859517','7263')
2023-10-13	12:17:09	25	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:09	25	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859517 AND `virtuemart_category_id` NOT IN (7263)
2023-10-13	12:17:09	25	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:09	25	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859517
2023-10-13	12:17:09	26	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:09	26	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:09	26	[DEBUG]	Use field value for field taille
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:09	26	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:09	26	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:09	26	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:09	26	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:09	26	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:09	26	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:09	26	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:09	26	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:09	26	[DEBUG]	Use field value for field published
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:09	26	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field override
2023-10-13	12:17:09	26	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:09	26	[DEBUG]	Use field value for field slug
2023-10-13	12:17:09	26	[DEBUG]	Process line 26
2023-10-13	12:17:09	26	[DEBUG]	Load a row
2023-10-13	12:17:09	26	[DEBUG]	Processing item: 1000000143539
2023-10-13	12:17:09	26	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:09	26	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:09	26	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8065_3'
2023-10-13	12:17:09	26	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:09	26	[DEBUG]	Processing product tax
2023-10-13	12:17:09	26	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:09	26	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:09	26	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:09	26	[DEBUG]	Query for Product
2023-10-13	12:17:09	26	[DEBUG]	Executed store
2023-10-13	12:17:09	26	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859517','1000000143539','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:09	26	[DEBUG]	No parent found
2023-10-13	12:17:09	26	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859517 AND customfield_value = 'stockable'
2023-10-13	12:17:09	26	[DEBUG]	Check product language entry
2023-10-13	12:17:09	26	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859518
2023-10-13	12:17:09	26	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:09	26	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000143539' AND `virtuemart_product_id` != 1859518
2023-10-13	12:17:09	26	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:09	26	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859518, '1000000143539')
2023-10-13	12:17:09	26	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:09	26	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-premium-kit-none-unitaire' AND `virtuemart_product_id` != 1859518
2023-10-13	12:17:09	26	[DEBUG]	Query for ProductLang
2023-10-13	12:17:09	26	[DEBUG]	Executed store
2023-10-13	12:17:09	26	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXXIOS Axx PREMIUM KIT / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-premium-kit-none-unitaire' WHERE `virtuemart_product_id` = '1859518'
2023-10-13	12:17:09	26	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36575_axx_premium_kit.png
2023-10-13	12:17:09	26	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:09	26	[DEBUG]	Process image file
2023-10-13	12:17:09	26	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:09	26	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:09	26	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36575_axx_premium_kit.png
2023-10-13	12:17:09	26	[DEBUG]	Full name target: bcprisme/36575_axx_premium_kit.png
2023-10-13	12:17:10	26	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:10	26	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36575_axx_premium_kit.png'
2023-10-13	12:17:10	26	[DEBUG]	Query for Media
2023-10-13	12:17:10	26	[DEBUG]	Executed store
2023-10-13	12:17:10	26	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36575_axx_premium_kit.png',`file_url_thumb`='bcprisme/36575_axx_premium_kit.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '887676'
2023-10-13	12:17:10	26	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:10	26	[DEBUG]	Executed store
2023-10-13	12:17:10	26	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859518','887676','1')
2023-10-13	12:17:10	26	[DEBUG]	Store product image relation
2023-10-13	12:17:10	26	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:10	26	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859518 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:10	26	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:10	26	[DEBUG]	Executed store
2023-10-13	12:17:10	26	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859518','0','249.767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:10	26	[DEBUG]	Checking manufacturer
2023-10-13	12:17:10	26	[DEBUG]	Load a row
2023-10-13	12:17:10	26	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:10	26	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:10	26	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:10	26	[DEBUG]	Executed store
2023-10-13	12:17:10	26	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:10	26	[DEBUG]	Manufacturer exists
2023-10-13	12:17:10	26	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:10	26	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:10	26	[DEBUG]	Executed store
2023-10-13	12:17:10	26	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859518','254')
2023-10-13	12:17:10	26	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:10	26	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:10	26	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859518 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:10	26	[DEBUG]	Store custom available field
2023-10-13	12:17:10	26	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859518,3,'',1)
2023-10-13	12:17:10	26	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:10	26	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:10	26	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859518 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:10	26	[DEBUG]	Store custom available field
2023-10-13	12:17:10	26	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859518,6,'Unitaire',3)
2023-10-13	12:17:10	26	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:10	26	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:10	26	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859517
2023-10-13	12:17:10	26	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:10	26	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859517\":[1859517,8,1,\"choisir la taille\"],\"1859518\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859517
2023-10-13	12:17:10	26	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:10	26	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859518
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:10	27	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field taille
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:10	27	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:10	27	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:10	27	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:10	27	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:10	27	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:10	27	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:10	27	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field published
2023-10-13	12:17:10	27	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:10	27	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field override
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:10	27	[DEBUG]	Use field value for field slug
2023-10-13	12:17:10	27	[DEBUG]	Process line 27
2023-10-13	12:17:10	27	[DEBUG]	Load a row
2023-10-13	12:17:10	27	[DEBUG]	Processing item: A_8066_3
2023-10-13	12:17:10	27	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:10	27	[DEBUG]	Processing product tax
2023-10-13	12:17:10	27	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:10	27	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:10	27	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:10	27	[DEBUG]	Query for Product
2023-10-13	12:17:10	27	[DEBUG]	Executed store
2023-10-13	12:17:10	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8066_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:10	27	[DEBUG]	Check product language entry
2023-10-13	12:17:10	27	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859519
2023-10-13	12:17:10	27	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:10	27	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8066_3' AND `virtuemart_product_id` != 1859519
2023-10-13	12:17:10	27	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:10	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859519, 'A_8066_3')
2023-10-13	12:17:10	27	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:10	27	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-frame-kit-none' AND `virtuemart_product_id` != 1859519
2023-10-13	12:17:10	27	[DEBUG]	Query for ProductLang
2023-10-13	12:17:10	27	[DEBUG]	Executed store
2023-10-13	12:17:10	27	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='AXX FRAME Pour un gain en stabilité et une meilleure dynamique du vélo<br><br>Emplacements:<br>•Fourche<br>•Direction<br>•Tube diagonal<br>•Boîtier de pédalier<br>•Amortisseur<br>•Tige de selle<br>•Haubans<br><br>Les produits Axxios powered by Snipptec permettent de réduire durablement les vibrations, les charges et les turbulences émanant de tout corps en mouvement et sous contrainte. Il s’agit d’une technologie développée à la suite d’études approfondies dans le domaine des turbulences, des champs magnétiques perturbateurs, des vibrations et de leurs conséquences dévastatrices sur les performances, la qualité et la sécurité.<br><br>Les fondamentaux scientifiques reposent notamment sur la spintronique. La spintronique est une discipline qui exploite une propriété magnétique et quantique de l’électron appelée spin (rotation).<br><br>Une fois en mouvement, ton vélo et ton corps sont soumis à des micro-vibrations néfastes et omniprésentes.<br><br>Que tu soies amateur ou professionnel, nous proposons de nombreuses options afin d’optimiser les performances et le confort de ton vélo.<br><br>Les puces Axxios permettent de diminuer l’effet néfaste des vibrations sur ton vélo et de gagner en sensations, confort et performance.<br><br>Chaque puce a une programmation qui lui est propre et joue un rôle spécifique selon son emplacement ainsi que suivant le type de composant sur laquelle elle est placée.<br><br>CADRE & ACCESSOIRES<br>Stabilisation de l’engin<br>Diminution de l’impact sur corps humain<br><br>SUSPENSIONS<br>Suspensions plus réactives<br>Davantage de feeling pour le pilote<br><br>PNEUMATIQUE<br>Grip accru<br>Davantage de précision dans la conduite<br><br>ROULABILITE<br>Roulements plus libres Moins d’effort requis<br><br>',`product_name`='AXXIOS Axx FRAME KIT / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-frame-kit-none' WHERE `virtuemart_product_id` = '1859519'
2023-10-13	12:17:10	27	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36576_axx_frame_kit.png
2023-10-13	12:17:10	27	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:10	27	[DEBUG]	Process image file
2023-10-13	12:17:10	27	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:10	27	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:10	27	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36576_axx_frame_kit.png
2023-10-13	12:17:10	27	[DEBUG]	Full name target: bcprisme/36576_axx_frame_kit.png
2023-10-13	12:17:11	27	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:11	27	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36576_axx_frame_kit.png'
2023-10-13	12:17:11	27	[DEBUG]	Query for Media
2023-10-13	12:17:11	27	[DEBUG]	Executed store
2023-10-13	12:17:11	27	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36576_axx_frame_kit.png',`file_url_thumb`='bcprisme/36576_axx_frame_kit.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '887678'
2023-10-13	12:17:11	27	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:11	27	[DEBUG]	Executed store
2023-10-13	12:17:11	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859519','887678','1')
2023-10-13	12:17:11	27	[DEBUG]	Store product image relation
2023-10-13	12:17:11	27	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:11	27	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859519 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:11	27	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:11	27	[DEBUG]	Executed store
2023-10-13	12:17:11	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859519','0','110.492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:11	27	[DEBUG]	Checking manufacturer
2023-10-13	12:17:11	27	[DEBUG]	Load a row
2023-10-13	12:17:11	27	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:11	27	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:11	27	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:11	27	[DEBUG]	Executed store
2023-10-13	12:17:11	27	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:11	27	[DEBUG]	Manufacturer exists
2023-10-13	12:17:11	27	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:11	27	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:11	27	[DEBUG]	Executed store
2023-10-13	12:17:11	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859519','254')
2023-10-13	12:17:11	27	[DEBUG]	Find the custom field ID
2023-10-13	12:17:11	27	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:11	27	[DEBUG]	No custom field ID found
2023-10-13	12:17:11	27	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:11	27	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:17:11	27	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859519 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:11	27	[DEBUG]	Store custom available field
2023-10-13	12:17:11	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859519,3,'0',1)
2023-10-13	12:17:11	27	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:11	27	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:11	27	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859519 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:11	27	[DEBUG]	Store custom available field
2023-10-13	12:17:11	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859519,6,'choisir la taille',3)
2023-10-13	12:17:11	27	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:11	27	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:11	27	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:11	27	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:11	27	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859519 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:11	27	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:11	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859519,8,1)
2023-10-13	12:17:11	27	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:11	27	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859519\":[1859519,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859519
2023-10-13	12:17:11	27	[DEBUG]	Checking category
2023-10-13	12:17:11	27	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:11	27	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859519
2023-10-13	12:17:11	27	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:11	27	[DEBUG]	Executed store
2023-10-13	12:17:11	27	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859519','7263')
2023-10-13	12:17:11	27	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:11	27	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859519 AND `virtuemart_category_id` NOT IN (7263)
2023-10-13	12:17:11	27	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:11	27	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859519
2023-10-13	12:17:11	28	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:11	28	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:11	28	[DEBUG]	Use field value for field taille
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:11	28	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:11	28	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:11	28	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:11	28	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:11	28	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:11	28	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:11	28	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:11	28	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:11	28	[DEBUG]	Use field value for field published
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:11	28	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field override
2023-10-13	12:17:11	28	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:11	28	[DEBUG]	Use field value for field slug
2023-10-13	12:17:11	28	[DEBUG]	Process line 28
2023-10-13	12:17:11	28	[DEBUG]	Load a row
2023-10-13	12:17:11	28	[DEBUG]	Processing item: 1000000143546
2023-10-13	12:17:11	28	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:11	28	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:11	28	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8066_3'
2023-10-13	12:17:11	28	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:11	28	[DEBUG]	Processing product tax
2023-10-13	12:17:11	28	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:11	28	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:11	28	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:11	28	[DEBUG]	Query for Product
2023-10-13	12:17:11	28	[DEBUG]	Executed store
2023-10-13	12:17:11	28	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859519','1000000143546','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:11	28	[DEBUG]	No parent found
2023-10-13	12:17:11	28	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859519 AND customfield_value = 'stockable'
2023-10-13	12:17:11	28	[DEBUG]	Check product language entry
2023-10-13	12:17:11	28	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859520
2023-10-13	12:17:11	28	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:11	28	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000143546' AND `virtuemart_product_id` != 1859520
2023-10-13	12:17:11	28	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:11	28	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859520, '1000000143546')
2023-10-13	12:17:12	28	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:12	28	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-frame-kit-none-unitaire' AND `virtuemart_product_id` != 1859520
2023-10-13	12:17:12	28	[DEBUG]	Query for ProductLang
2023-10-13	12:17:12	28	[DEBUG]	Executed store
2023-10-13	12:17:12	28	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXXIOS Axx FRAME KIT / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-frame-kit-none-unitaire' WHERE `virtuemart_product_id` = '1859520'
2023-10-13	12:17:12	28	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36576_axx_frame_kit.png
2023-10-13	12:17:12	28	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:12	28	[DEBUG]	Process image file
2023-10-13	12:17:12	28	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:12	28	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:12	28	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36576_axx_frame_kit.png
2023-10-13	12:17:12	28	[DEBUG]	Full name target: bcprisme/36576_axx_frame_kit.png
2023-10-13	12:17:12	28	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:12	28	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36576_axx_frame_kit.png'
2023-10-13	12:17:12	28	[DEBUG]	Query for Media
2023-10-13	12:17:12	28	[DEBUG]	Executed store
2023-10-13	12:17:12	28	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36576_axx_frame_kit.png',`file_url_thumb`='bcprisme/36576_axx_frame_kit.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '887678'
2023-10-13	12:17:12	28	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:12	28	[DEBUG]	Executed store
2023-10-13	12:17:12	28	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859520','887678','1')
2023-10-13	12:17:12	28	[DEBUG]	Store product image relation
2023-10-13	12:17:12	28	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:12	28	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859520 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:12	28	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:12	28	[DEBUG]	Executed store
2023-10-13	12:17:12	28	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859520','0','110.492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:12	28	[DEBUG]	Checking manufacturer
2023-10-13	12:17:12	28	[DEBUG]	Load a row
2023-10-13	12:17:12	28	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:12	28	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:12	28	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:12	28	[DEBUG]	Executed store
2023-10-13	12:17:12	28	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:12	28	[DEBUG]	Manufacturer exists
2023-10-13	12:17:12	28	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:12	28	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:12	28	[DEBUG]	Executed store
2023-10-13	12:17:12	28	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859520','254')
2023-10-13	12:17:12	28	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:12	28	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:12	28	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859520 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:12	28	[DEBUG]	Store custom available field
2023-10-13	12:17:12	28	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859520,3,'',1)
2023-10-13	12:17:12	28	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:12	28	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:12	28	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859520 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:12	28	[DEBUG]	Store custom available field
2023-10-13	12:17:12	28	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859520,6,'Unitaire',3)
2023-10-13	12:17:12	28	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:12	28	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:12	28	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859519
2023-10-13	12:17:12	28	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:12	28	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859519\":[1859519,8,1,\"choisir la taille\"],\"1859520\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859519
2023-10-13	12:17:12	28	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:12	28	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859520
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:12	29	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field taille
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:12	29	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:12	29	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:12	29	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:12	29	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:12	29	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:12	29	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:12	29	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field published
2023-10-13	12:17:12	29	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:12	29	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field override
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:12	29	[DEBUG]	Use field value for field slug
2023-10-13	12:17:12	29	[DEBUG]	Process line 29
2023-10-13	12:17:12	29	[DEBUG]	Load a row
2023-10-13	12:17:12	29	[DEBUG]	Processing item: A_8067_3
2023-10-13	12:17:12	29	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:12	29	[DEBUG]	Processing product tax
2023-10-13	12:17:12	29	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:12	29	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:12	29	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:12	29	[DEBUG]	Query for Product
2023-10-13	12:17:13	29	[DEBUG]	Executed store
2023-10-13	12:17:13	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8067_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:13	29	[DEBUG]	Check product language entry
2023-10-13	12:17:13	29	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859521
2023-10-13	12:17:13	29	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:13	29	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8067_3' AND `virtuemart_product_id` != 1859521
2023-10-13	12:17:13	29	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:13	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859521, 'A_8067_3')
2023-10-13	12:17:13	29	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:13	29	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-racing-kit-none' AND `virtuemart_product_id` != 1859521
2023-10-13	12:17:13	29	[DEBUG]	Query for ProductLang
2023-10-13	12:17:13	29	[DEBUG]	Executed store
2023-10-13	12:17:13	29	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='AXX RACING : L’AXX COMFORT, l’AXX WHEELS et l’AXX FRAME combinés pour un meilleur rendement (watts) et une précision accrue dans le pilotage, donc de meilleurs chronos.<br><br>Emplacements:<br>•Poste de pilotage<br>•Roues<br>•Cadre<br><br><br>Les produits Axxios powered by Snipptec permettent de réduire durablement les vibrations, les charges et les turbulences émanant de tout corps en mouvement et sous contrainte. Il s’agit d’une technologie développée à la suite d’études approfondies dans le domaine des turbulences, des champs magnétiques perturbateurs, des vibrations et de leurs conséquences dévastatrices sur les performances, la qualité et la sécurité.<br><br>Les fondamentaux scientifiques reposent notamment sur la spintronique. La spintronique est une discipline qui exploite une propriété magnétique et quantique de l’électron appelée spin (rotation).<br><br>Une fois en mouvement, ton vélo et ton corps sont soumis à des micro-vibrations néfastes et omniprésentes.<br><br>Que tu soies amateur ou professionnel, nous proposons de nombreuses options afin d’optimiser les performances et le confort de ton vélo.<br><br>Les puces Axxios permettent de diminuer l’effet néfaste des vibrations sur ton vélo et de gagner en sensations, confort et performance.<br><br>Chaque puce a une programmation qui lui est propre et joue un rôle spécifique selon son emplacement ainsi que suivant le type de composant sur laquelle elle est placée.<br><br>CADRE & ACCESSOIRES<br>Stabilisation de l’engin<br>Diminution de l’impact sur corps humain<br><br>SUSPENSIONS<br>Suspensions plus réactives<br>Davantage de feeling pour le pilote<br><br>PNEUMATIQUE<br>Grip accru<br>Davantage de précision dans la conduite<br><br>ROULABILITE<br>Roulements plus libres Moins d’effort requis<br><br>',`product_name`='AXXIOS Axx RACING KIT / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-racing-kit-none' WHERE `virtuemart_product_id` = '1859521'
2023-10-13	12:17:13	29	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36577_axx_racing_kit.png
2023-10-13	12:17:13	29	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:13	29	[DEBUG]	Process image file
2023-10-13	12:17:13	29	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:13	29	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:13	29	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36577_axx_racing_kit.png
2023-10-13	12:17:13	29	[DEBUG]	Full name target: bcprisme/36577_axx_racing_kit.png
2023-10-13	12:17:14	29	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:14	29	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36577_axx_racing_kit.png'
2023-10-13	12:17:14	29	[DEBUG]	Query for Media
2023-10-13	12:17:14	29	[DEBUG]	Executed store
2023-10-13	12:17:14	29	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36577_axx_racing_kit.png',`file_url_thumb`='bcprisme/36577_axx_racing_kit.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '887680'
2023-10-13	12:17:14	29	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:14	29	[DEBUG]	Executed store
2023-10-13	12:17:14	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859521','887680','1')
2023-10-13	12:17:14	29	[DEBUG]	Store product image relation
2023-10-13	12:17:14	29	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:14	29	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859521 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:14	29	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:14	29	[DEBUG]	Executed store
2023-10-13	12:17:14	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859521','0','361.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:14	29	[DEBUG]	Checking manufacturer
2023-10-13	12:17:14	29	[DEBUG]	Load a row
2023-10-13	12:17:14	29	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:14	29	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:14	29	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:14	29	[DEBUG]	Executed store
2023-10-13	12:17:14	29	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:14	29	[DEBUG]	Manufacturer exists
2023-10-13	12:17:14	29	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:14	29	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:14	29	[DEBUG]	Executed store
2023-10-13	12:17:14	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859521','254')
2023-10-13	12:17:14	29	[DEBUG]	Find the custom field ID
2023-10-13	12:17:14	29	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:14	29	[DEBUG]	No custom field ID found
2023-10-13	12:17:14	29	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:14	29	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:17:14	29	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859521 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:14	29	[DEBUG]	Store custom available field
2023-10-13	12:17:14	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859521,3,'0',1)
2023-10-13	12:17:14	29	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:14	29	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:14	29	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859521 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:14	29	[DEBUG]	Store custom available field
2023-10-13	12:17:14	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859521,6,'choisir la taille',3)
2023-10-13	12:17:14	29	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:14	29	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:14	29	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:14	29	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:14	29	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859521 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:14	29	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:14	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859521,8,1)
2023-10-13	12:17:14	29	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:14	29	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859521\":[1859521,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859521
2023-10-13	12:17:14	29	[DEBUG]	Checking category
2023-10-13	12:17:14	29	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:14	29	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859521
2023-10-13	12:17:14	29	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:14	29	[DEBUG]	Executed store
2023-10-13	12:17:14	29	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859521','7263')
2023-10-13	12:17:14	29	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:14	29	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859521 AND `virtuemart_category_id` NOT IN (7263)
2023-10-13	12:17:14	29	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:14	29	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859521
2023-10-13	12:17:14	30	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:14	30	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:14	30	[DEBUG]	Use field value for field taille
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:14	30	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:14	30	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:14	30	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:14	30	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:14	30	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:14	30	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:14	30	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:14	30	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:14	30	[DEBUG]	Use field value for field published
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:14	30	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field override
2023-10-13	12:17:14	30	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:14	30	[DEBUG]	Use field value for field slug
2023-10-13	12:17:14	30	[DEBUG]	Process line 30
2023-10-13	12:17:14	30	[DEBUG]	Load a row
2023-10-13	12:17:14	30	[DEBUG]	Processing item: 1000000143553
2023-10-13	12:17:14	30	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:14	30	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:14	30	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8067_3'
2023-10-13	12:17:14	30	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:14	30	[DEBUG]	Processing product tax
2023-10-13	12:17:14	30	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:14	30	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:14	30	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:14	30	[DEBUG]	Query for Product
2023-10-13	12:17:14	30	[DEBUG]	Executed store
2023-10-13	12:17:14	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859521','1000000143553','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:14	30	[DEBUG]	No parent found
2023-10-13	12:17:14	30	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859521 AND customfield_value = 'stockable'
2023-10-13	12:17:14	30	[DEBUG]	Check product language entry
2023-10-13	12:17:14	30	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859522
2023-10-13	12:17:14	30	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:14	30	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000143553' AND `virtuemart_product_id` != 1859522
2023-10-13	12:17:14	30	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:14	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859522, '1000000143553')
2023-10-13	12:17:14	30	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:14	30	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-racing-kit-none-unitaire' AND `virtuemart_product_id` != 1859522
2023-10-13	12:17:14	30	[DEBUG]	Query for ProductLang
2023-10-13	12:17:14	30	[DEBUG]	Executed store
2023-10-13	12:17:14	30	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXXIOS Axx RACING KIT / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-racing-kit-none-unitaire' WHERE `virtuemart_product_id` = '1859522'
2023-10-13	12:17:14	30	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36577_axx_racing_kit.png
2023-10-13	12:17:14	30	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:14	30	[DEBUG]	Process image file
2023-10-13	12:17:14	30	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:14	30	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:14	30	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36577_axx_racing_kit.png
2023-10-13	12:17:14	30	[DEBUG]	Full name target: bcprisme/36577_axx_racing_kit.png
2023-10-13	12:17:15	30	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:15	30	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36577_axx_racing_kit.png'
2023-10-13	12:17:15	30	[DEBUG]	Query for Media
2023-10-13	12:17:15	30	[DEBUG]	Executed store
2023-10-13	12:17:15	30	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36577_axx_racing_kit.png',`file_url_thumb`='bcprisme/36577_axx_racing_kit.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '887680'
2023-10-13	12:17:15	30	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:15	30	[DEBUG]	Executed store
2023-10-13	12:17:15	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859522','887680','1')
2023-10-13	12:17:15	30	[DEBUG]	Store product image relation
2023-10-13	12:17:15	30	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:15	30	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859522 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:15	30	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:15	30	[DEBUG]	Executed store
2023-10-13	12:17:15	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859522','0','361.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:15	30	[DEBUG]	Checking manufacturer
2023-10-13	12:17:15	30	[DEBUG]	Load a row
2023-10-13	12:17:15	30	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:15	30	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:15	30	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:15	30	[DEBUG]	Executed store
2023-10-13	12:17:15	30	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:15	30	[DEBUG]	Manufacturer exists
2023-10-13	12:17:15	30	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:15	30	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:15	30	[DEBUG]	Executed store
2023-10-13	12:17:15	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859522','254')
2023-10-13	12:17:15	30	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:15	30	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:15	30	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859522 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:15	30	[DEBUG]	Store custom available field
2023-10-13	12:17:15	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859522,3,'',1)
2023-10-13	12:17:15	30	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:15	30	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:15	30	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859522 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:15	30	[DEBUG]	Store custom available field
2023-10-13	12:17:15	30	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859522,6,'Unitaire',3)
2023-10-13	12:17:15	30	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:15	30	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:15	30	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859521
2023-10-13	12:17:15	30	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:15	30	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859521\":[1859521,8,1,\"choisir la taille\"],\"1859522\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859521
2023-10-13	12:17:15	30	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:15	30	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859522
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:15	31	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field taille
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:15	31	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:15	31	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:15	31	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:15	31	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:15	31	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:15	31	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:15	31	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field published
2023-10-13	12:17:15	31	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:15	31	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field override
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:15	31	[DEBUG]	Use field value for field slug
2023-10-13	12:17:15	31	[DEBUG]	Process line 31
2023-10-13	12:17:15	31	[DEBUG]	Load a row
2023-10-13	12:17:15	31	[DEBUG]	Processing item: A_8068_3
2023-10-13	12:17:15	31	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:15	31	[DEBUG]	Processing product tax
2023-10-13	12:17:15	31	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:15	31	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:15	31	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:15	31	[DEBUG]	Query for Product
2023-10-13	12:17:15	31	[DEBUG]	Executed store
2023-10-13	12:17:15	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8068_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:15	31	[DEBUG]	Check product language entry
2023-10-13	12:17:15	31	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859523
2023-10-13	12:17:15	31	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:15	31	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8068_3' AND `virtuemart_product_id` != 1859523
2023-10-13	12:17:15	31	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:15	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859523, 'A_8068_3')
2023-10-13	12:17:15	31	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:15	31	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-ultimate-kit-none' AND `virtuemart_product_id` != 1859523
2023-10-13	12:17:15	31	[DEBUG]	Query for ProductLang
2023-10-13	12:17:15	31	[DEBUG]	Executed store
2023-10-13	12:17:15	31	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='AXX ULTIMATE Le set-up complet pour une efficacité accrue, un meilleur grip, fait pour battre tes chronos<br><br>Emplacements:<br>•Poste de pilotage<br>•Roues<br>•Cadre<br>•Suspensions<br>•Pneus<br><br>Les produits Axxios powered by Snipptec permettent de réduire durablement les vibrations, les charges et les turbulences émanant de tout corps en mouvement et sous contrainte. Il s’agit d’une technologie développée à la suite d’études approfondies dans le domaine des turbulences, des champs magnétiques perturbateurs, des vibrations et de leurs conséquences dévastatrices sur les performances, la qualité et la sécurité.<br><br>Les fondamentaux scientifiques reposent notamment sur la spintronique. La spintronique est une discipline qui exploite une propriété magnétique et quantique de l’électron appelée spin (rotation).<br><br>Une fois en mouvement, ton vélo et ton corps sont soumis à des micro-vibrations néfastes et omniprésentes.<br><br>Que tu soies amateur ou professionnel, nous proposons de nombreuses options afin d’optimiser les performances et le confort de ton vélo.<br><br>Les puces Axxios permettent de diminuer l’effet néfaste des vibrations sur ton vélo et de gagner en sensations, confort et performance.<br><br>Chaque puce a une programmation qui lui est propre et joue un rôle spécifique selon son emplacement ainsi que suivant le type de composant sur laquelle elle est placée.<br><br>CADRE & ACCESSOIRES<br>Stabilisation de l’engin<br>Diminution de l’impact sur corps humain<br><br>SUSPENSIONS<br>Suspensions plus réactives<br>Davantage de feeling pour le pilote<br><br>PNEUMATIQUE<br>Grip accru<br>Davantage de précision dans la conduite<br><br>ROULABILITE<br>Roulements plus libres Moins d’effort requis<br><br>',`product_name`='AXXIOS Axx ULTIMATE KIT / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-ultimate-kit-none' WHERE `virtuemart_product_id` = '1859523'
2023-10-13	12:17:15	31	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36578_axx_ultimate_kit.png
2023-10-13	12:17:15	31	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:15	31	[DEBUG]	Process image file
2023-10-13	12:17:15	31	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:15	31	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:15	31	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36578_axx_ultimate_kit.png
2023-10-13	12:17:15	31	[DEBUG]	Full name target: bcprisme/36578_axx_ultimate_kit.png
2023-10-13	12:17:16	31	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:16	31	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36578_axx_ultimate_kit.png'
2023-10-13	12:17:16	31	[DEBUG]	Query for Media
2023-10-13	12:17:16	31	[DEBUG]	Executed store
2023-10-13	12:17:16	31	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36578_axx_ultimate_kit.png',`file_url_thumb`='bcprisme/36578_axx_ultimate_kit.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '887682'
2023-10-13	12:17:16	31	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:16	31	[DEBUG]	Executed store
2023-10-13	12:17:16	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859523','887682','1')
2023-10-13	12:17:16	31	[DEBUG]	Store product image relation
2023-10-13	12:17:16	31	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:16	31	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859523 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:16	31	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:16	31	[DEBUG]	Executed store
2023-10-13	12:17:16	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859523','0','518.105849582173','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:16	31	[DEBUG]	Checking manufacturer
2023-10-13	12:17:16	31	[DEBUG]	Load a row
2023-10-13	12:17:16	31	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:16	31	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:16	31	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:16	31	[DEBUG]	Executed store
2023-10-13	12:17:16	31	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:16	31	[DEBUG]	Manufacturer exists
2023-10-13	12:17:16	31	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:16	31	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:16	31	[DEBUG]	Executed store
2023-10-13	12:17:16	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859523','254')
2023-10-13	12:17:16	31	[DEBUG]	Find the custom field ID
2023-10-13	12:17:16	31	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:16	31	[DEBUG]	No custom field ID found
2023-10-13	12:17:16	31	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:16	31	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:17:16	31	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859523 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:16	31	[DEBUG]	Store custom available field
2023-10-13	12:17:16	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859523,3,'0',1)
2023-10-13	12:17:16	31	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:16	31	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:16	31	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859523 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:16	31	[DEBUG]	Store custom available field
2023-10-13	12:17:16	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859523,6,'choisir la taille',3)
2023-10-13	12:17:16	31	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:16	31	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:16	31	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:16	31	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:16	31	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859523 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:16	31	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:16	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859523,8,1)
2023-10-13	12:17:16	31	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:16	31	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859523\":[1859523,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859523
2023-10-13	12:17:16	31	[DEBUG]	Checking category
2023-10-13	12:17:16	31	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:16	31	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859523
2023-10-13	12:17:16	31	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:16	31	[DEBUG]	Executed store
2023-10-13	12:17:16	31	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859523','7263')
2023-10-13	12:17:16	31	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:16	31	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859523 AND `virtuemart_category_id` NOT IN (7263)
2023-10-13	12:17:16	31	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:16	31	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859523
2023-10-13	12:17:16	32	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:16	32	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:16	32	[DEBUG]	Use field value for field taille
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:16	32	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:16	32	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:16	32	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:16	32	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:16	32	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:16	32	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:16	32	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:16	32	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:16	32	[DEBUG]	Use field value for field published
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:16	32	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field override
2023-10-13	12:17:16	32	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:16	32	[DEBUG]	Use field value for field slug
2023-10-13	12:17:16	32	[DEBUG]	Process line 32
2023-10-13	12:17:16	32	[DEBUG]	Load a row
2023-10-13	12:17:16	32	[DEBUG]	Processing item: 1000000143560
2023-10-13	12:17:16	32	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:16	32	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:16	32	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8068_3'
2023-10-13	12:17:16	32	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:16	32	[DEBUG]	Processing product tax
2023-10-13	12:17:16	32	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:16	32	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:16	32	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:16	32	[DEBUG]	Query for Product
2023-10-13	12:17:16	32	[DEBUG]	Executed store
2023-10-13	12:17:16	32	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859523','1000000143560','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:16	32	[DEBUG]	No parent found
2023-10-13	12:17:16	32	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859523 AND customfield_value = 'stockable'
2023-10-13	12:17:16	32	[DEBUG]	Check product language entry
2023-10-13	12:17:16	32	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859524
2023-10-13	12:17:16	32	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:16	32	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000143560' AND `virtuemart_product_id` != 1859524
2023-10-13	12:17:16	32	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:16	32	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859524, '1000000143560')
2023-10-13	12:17:16	32	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:16	32	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-ultimate-kit-none-unitaire' AND `virtuemart_product_id` != 1859524
2023-10-13	12:17:16	32	[DEBUG]	Query for ProductLang
2023-10-13	12:17:16	32	[DEBUG]	Executed store
2023-10-13	12:17:16	32	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXXIOS Axx ULTIMATE KIT / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-ultimate-kit-none-unitaire' WHERE `virtuemart_product_id` = '1859524'
2023-10-13	12:17:16	32	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36578_axx_ultimate_kit.png
2023-10-13	12:17:16	32	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:16	32	[DEBUG]	Process image file
2023-10-13	12:17:16	32	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:16	32	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:16	32	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36578_axx_ultimate_kit.png
2023-10-13	12:17:16	32	[DEBUG]	Full name target: bcprisme/36578_axx_ultimate_kit.png
2023-10-13	12:17:17	32	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:17	32	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36578_axx_ultimate_kit.png'
2023-10-13	12:17:17	32	[DEBUG]	Query for Media
2023-10-13	12:17:17	32	[DEBUG]	Executed store
2023-10-13	12:17:17	32	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36578_axx_ultimate_kit.png',`file_url_thumb`='bcprisme/36578_axx_ultimate_kit.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '887682'
2023-10-13	12:17:17	32	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:17	32	[DEBUG]	Executed store
2023-10-13	12:17:17	32	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859524','887682','1')
2023-10-13	12:17:17	32	[DEBUG]	Store product image relation
2023-10-13	12:17:17	32	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:17	32	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859524 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:17	32	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:17	32	[DEBUG]	Executed store
2023-10-13	12:17:17	32	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859524','0','518.105849582173','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:17	32	[DEBUG]	Checking manufacturer
2023-10-13	12:17:17	32	[DEBUG]	Load a row
2023-10-13	12:17:17	32	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:17	32	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:17	32	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:17	32	[DEBUG]	Executed store
2023-10-13	12:17:17	32	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:17	32	[DEBUG]	Manufacturer exists
2023-10-13	12:17:17	32	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:17	32	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:17	32	[DEBUG]	Executed store
2023-10-13	12:17:17	32	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859524','254')
2023-10-13	12:17:17	32	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:17	32	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:17	32	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859524 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:17	32	[DEBUG]	Store custom available field
2023-10-13	12:17:17	32	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859524,3,'',1)
2023-10-13	12:17:17	32	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:17	32	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:17	32	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859524 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:17	32	[DEBUG]	Store custom available field
2023-10-13	12:17:17	32	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859524,6,'Unitaire',3)
2023-10-13	12:17:17	32	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:17	32	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:17	32	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859523
2023-10-13	12:17:17	32	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:17	32	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859523\":[1859523,8,1,\"choisir la taille\"],\"1859524\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859523
2023-10-13	12:17:17	32	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:17	32	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859524
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:17	33	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field taille
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:17	33	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:17	33	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:17	33	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:17	33	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:17	33	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:17	33	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:17	33	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field published
2023-10-13	12:17:17	33	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:17	33	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field override
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:17	33	[DEBUG]	Use field value for field slug
2023-10-13	12:17:17	33	[DEBUG]	Process line 33
2023-10-13	12:17:17	33	[DEBUG]	Load a row
2023-10-13	12:17:17	33	[DEBUG]	Processing item: A_8069_3
2023-10-13	12:17:17	33	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:17	33	[DEBUG]	Processing product tax
2023-10-13	12:17:17	33	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:17	33	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:17	33	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:17	33	[DEBUG]	Query for Product
2023-10-13	12:17:17	33	[DEBUG]	Executed store
2023-10-13	12:17:17	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8069_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:17	33	[DEBUG]	Check product language entry
2023-10-13	12:17:17	33	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859525
2023-10-13	12:17:17	33	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:17	33	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8069_3' AND `virtuemart_product_id` != 1859525
2023-10-13	12:17:17	33	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:17	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859525, 'A_8069_3')
2023-10-13	12:17:17	33	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:17	33	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-unit-tyre-none' AND `virtuemart_product_id` != 1859525
2023-10-13	12:17:17	33	[DEBUG]	Query for ProductLang
2023-10-13	12:17:17	33	[DEBUG]	Executed store
2023-10-13	12:17:17	33	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Les produits Axxios powered by Snipptec permettent de réduire durablement les vibrations, les charges et les turbulences émanant de tout corps en mouvement et sous contrainte. Il s’agit d’une technologie développée à la suite d’études approfondies dans le domaine des turbulences, des champs magnétiques perturbateurs, des vibrations et de leurs conséquences dévastatrices sur les performances, la qualité et la sécurité.<br><br>Les fondamentaux scientifiques reposent notamment sur la spintronique. La spintronique est une discipline qui exploite une propriété magnétique et quantique de l’électron appelée spin (rotation).<br><br>Une fois en mouvement, ton vélo et ton corps sont soumis à des micro-vibrations néfastes et omniprésentes.<br><br>Que tu soies amateur ou professionnel, nous proposons de nombreuses options afin d’optimiser les performances et le confort de ton vélo.<br><br>Les puces Axxios permettent de diminuer l’effet néfaste des vibrations sur ton vélo et de gagner en sensations, confort et performance.<br><br>Chaque puce a une programmation qui lui est propre et joue un rôle spécifique selon son emplacement ainsi que suivant le type de composant sur laquelle elle est placée.<br><br>CADRE & ACCESSOIRES<br><br>Stabilisation de l’engin<br><br>Diminution de l’impact sur corps humain<br><br><br>SUSPENSIONS<br><br>Suspensions plus réactives<br><br>Davantage de feeling pour le pilote<br><br><br>PNEUMATIQUE<br><br>Grip accru<br><br>Davantage de précision dans la conduite<br><br><br>ROULABILITE<br>Roulements plus libres Moins d’effort requis<br><br>',`product_name`='AXXIOS Axx UNIT TYRE / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-unit-tyre-none' WHERE `virtuemart_product_id` = '1859525'
2023-10-13	12:17:17	33	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36579_axx_unit_tyre.png
2023-10-13	12:17:17	33	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:17	33	[DEBUG]	Process image file
2023-10-13	12:17:17	33	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:17	33	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:17	33	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36579_axx_unit_tyre.png
2023-10-13	12:17:17	33	[DEBUG]	Full name target: bcprisme/36579_axx_unit_tyre.png
2023-10-13	12:17:18	33	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:18	33	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36579_axx_unit_tyre.png'
2023-10-13	12:17:18	33	[DEBUG]	Query for Media
2023-10-13	12:17:18	33	[DEBUG]	Executed store
2023-10-13	12:17:18	33	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36579_axx_unit_tyre.png',`file_url_thumb`='bcprisme/36579_axx_unit_tyre.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1584212'
2023-10-13	12:17:18	33	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:18	33	[DEBUG]	Executed store
2023-10-13	12:17:18	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859525','1584212','1')
2023-10-13	12:17:18	33	[DEBUG]	Store product image relation
2023-10-13	12:17:18	33	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:18	33	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859525 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:18	33	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:18	33	[DEBUG]	Executed store
2023-10-13	12:17:18	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859525','0','13.9275766016713','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:18	33	[DEBUG]	Checking manufacturer
2023-10-13	12:17:18	33	[DEBUG]	Load a row
2023-10-13	12:17:18	33	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:18	33	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:18	33	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:18	33	[DEBUG]	Executed store
2023-10-13	12:17:18	33	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:18	33	[DEBUG]	Manufacturer exists
2023-10-13	12:17:18	33	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:18	33	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:18	33	[DEBUG]	Executed store
2023-10-13	12:17:18	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859525','254')
2023-10-13	12:17:18	33	[DEBUG]	Find the custom field ID
2023-10-13	12:17:18	33	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:18	33	[DEBUG]	No custom field ID found
2023-10-13	12:17:18	33	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:18	33	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:17:18	33	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859525 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:18	33	[DEBUG]	Store custom available field
2023-10-13	12:17:18	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859525,3,'0',1)
2023-10-13	12:17:18	33	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:18	33	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:18	33	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859525 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:18	33	[DEBUG]	Store custom available field
2023-10-13	12:17:18	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859525,6,'choisir la taille',3)
2023-10-13	12:17:18	33	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:18	33	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:18	33	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:18	33	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:18	33	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859525 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:18	33	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:18	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859525,8,1)
2023-10-13	12:17:18	33	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:18	33	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859525\":[1859525,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859525
2023-10-13	12:17:18	33	[DEBUG]	Checking category
2023-10-13	12:17:18	33	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:18	33	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859525
2023-10-13	12:17:18	33	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:18	33	[DEBUG]	Executed store
2023-10-13	12:17:18	33	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859525','7263')
2023-10-13	12:17:18	33	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:18	33	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859525 AND `virtuemart_category_id` NOT IN (7263)
2023-10-13	12:17:18	33	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:18	33	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859525
2023-10-13	12:17:18	34	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:18	34	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:18	34	[DEBUG]	Use field value for field taille
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:18	34	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:18	34	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:18	34	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:18	34	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:18	34	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:18	34	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:18	34	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:18	34	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:18	34	[DEBUG]	Use field value for field published
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:18	34	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field override
2023-10-13	12:17:18	34	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:18	34	[DEBUG]	Use field value for field slug
2023-10-13	12:17:18	34	[DEBUG]	Process line 34
2023-10-13	12:17:18	34	[DEBUG]	Load a row
2023-10-13	12:17:18	34	[DEBUG]	Processing item: 1000000143577
2023-10-13	12:17:18	34	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:18	34	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:18	34	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8069_3'
2023-10-13	12:17:18	34	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:18	34	[DEBUG]	Processing product tax
2023-10-13	12:17:18	34	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:18	34	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:18	34	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:18	34	[DEBUG]	Query for Product
2023-10-13	12:17:18	34	[DEBUG]	Executed store
2023-10-13	12:17:18	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859525','1000000143577','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:18	34	[DEBUG]	No parent found
2023-10-13	12:17:18	34	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859525 AND customfield_value = 'stockable'
2023-10-13	12:17:18	34	[DEBUG]	Check product language entry
2023-10-13	12:17:18	34	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859526
2023-10-13	12:17:18	34	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:18	34	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000143577' AND `virtuemart_product_id` != 1859526
2023-10-13	12:17:18	34	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:18	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859526, '1000000143577')
2023-10-13	12:17:18	34	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:18	34	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-unit-tyre-none-unitaire' AND `virtuemart_product_id` != 1859526
2023-10-13	12:17:18	34	[DEBUG]	Query for ProductLang
2023-10-13	12:17:18	34	[DEBUG]	Executed store
2023-10-13	12:17:18	34	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXXIOS Axx UNIT TYRE / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-unit-tyre-none-unitaire' WHERE `virtuemart_product_id` = '1859526'
2023-10-13	12:17:18	34	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36579_axx_unit_tyre.png
2023-10-13	12:17:18	34	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:18	34	[DEBUG]	Process image file
2023-10-13	12:17:18	34	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:18	34	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:18	34	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36579_axx_unit_tyre.png
2023-10-13	12:17:18	34	[DEBUG]	Full name target: bcprisme/36579_axx_unit_tyre.png
2023-10-13	12:17:19	34	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:19	34	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36579_axx_unit_tyre.png'
2023-10-13	12:17:19	34	[DEBUG]	Query for Media
2023-10-13	12:17:19	34	[DEBUG]	Executed store
2023-10-13	12:17:19	34	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36579_axx_unit_tyre.png',`file_url_thumb`='bcprisme/36579_axx_unit_tyre.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1584212'
2023-10-13	12:17:19	34	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:19	34	[DEBUG]	Executed store
2023-10-13	12:17:19	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859526','1584212','1')
2023-10-13	12:17:19	34	[DEBUG]	Store product image relation
2023-10-13	12:17:19	34	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:19	34	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859526 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:19	34	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:19	34	[DEBUG]	Executed store
2023-10-13	12:17:19	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859526','0','13.9275766016713','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:19	34	[DEBUG]	Checking manufacturer
2023-10-13	12:17:19	34	[DEBUG]	Load a row
2023-10-13	12:17:19	34	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:19	34	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:19	34	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:19	34	[DEBUG]	Executed store
2023-10-13	12:17:19	34	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:19	34	[DEBUG]	Manufacturer exists
2023-10-13	12:17:19	34	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:19	34	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:19	34	[DEBUG]	Executed store
2023-10-13	12:17:19	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859526','254')
2023-10-13	12:17:19	34	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:19	34	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:19	34	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859526 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:19	34	[DEBUG]	Store custom available field
2023-10-13	12:17:19	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859526,3,'',1)
2023-10-13	12:17:19	34	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:19	34	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:19	34	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859526 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:19	34	[DEBUG]	Store custom available field
2023-10-13	12:17:19	34	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859526,6,'Unitaire',3)
2023-10-13	12:17:19	34	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:19	34	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:19	34	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859525
2023-10-13	12:17:19	34	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:19	34	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859525\":[1859525,8,1,\"choisir la taille\"],\"1859526\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859525
2023-10-13	12:17:19	34	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:19	34	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859526
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:19	35	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field taille
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:19	35	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:19	35	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:19	35	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:19	35	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:19	35	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:19	35	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:19	35	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field published
2023-10-13	12:17:19	35	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:19	35	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field override
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:19	35	[DEBUG]	Use field value for field slug
2023-10-13	12:17:19	35	[DEBUG]	Process line 35
2023-10-13	12:17:19	35	[DEBUG]	Load a row
2023-10-13	12:17:19	35	[DEBUG]	Processing item: A_8070_3
2023-10-13	12:17:19	35	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:19	35	[DEBUG]	Processing product tax
2023-10-13	12:17:19	35	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:19	35	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:19	35	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:19	35	[DEBUG]	Query for Product
2023-10-13	12:17:19	35	[DEBUG]	Executed store
2023-10-13	12:17:19	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8070_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:19	35	[DEBUG]	Check product language entry
2023-10-13	12:17:19	35	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859527
2023-10-13	12:17:19	35	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:19	35	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8070_3' AND `virtuemart_product_id` != 1859527
2023-10-13	12:17:19	35	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:19	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859527, 'A_8070_3')
2023-10-13	12:17:19	35	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:19	35	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-comfort-kit-none' AND `virtuemart_product_id` != 1859527
2023-10-13	12:17:19	35	[DEBUG]	Query for ProductLang
2023-10-13	12:17:19	35	[DEBUG]	Executed store
2023-10-13	12:17:19	35	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='AXX COMFORT : Pour un confort général accru et moins de douleurs dans les mains<br><br> Emplacements:<br>•Guidon<br>•Potence<br><br>Les produits Axxios powered by Snipptec permettent de réduire durablement les vibrations, les charges et les turbulences émanant de tout corps en mouvement et sous contrainte. Il s’agit d’une technologie développée à la suite d’études approfondies dans le domaine des turbulences, des champs magnétiques perturbateurs, des vibrations et de leurs conséquences dévastatrices sur les performances, la qualité et la sécurité.<br><br>Les fondamentaux scientifiques reposent notamment sur la spintronique. La spintronique est une discipline qui exploite une propriété magnétique et quantique de l’électron appelée spin(rotation).<br><br>Une fois en mouvement, ton vélo et ton corps sont soumis à des micro-vibrations néfastes et omniprésentes.<br><br>Que tu soies amateur ou professionnel, nous proposons de nombreuses options afin d’optimiser les performances et le confort de ton vélo.<br><br>Les puces Axxios permettent de diminuer l’effet néfaste des vibrations sur ton vélo et de gagner en sensations, confort et performance.<br><br>Chaque puce a une programmation qui lui est propre et joue un rôle spécifique selon son emplacement ainsi que suivant le type de composant sur laquelle elle est placée.<br><br>CADRE & ACCESSOIRES<br><br>Stabilisation de l’engin<br><br>Diminution de l’impact sur corps humain<br><br><br>SUSPENSIONS<br><br>Suspensions plus réactives<br><br>Davantage de feeling pour le pilote<br><br><br>PNEUMATIQUE<br><br>Grip accru<br><br>Davantage de précision dans la conduite<br><br><br>ROULABILITE<br>Roulements plus libres Moins d’effort requis<br><br><br>',`product_name`='AXXIOS Axx COMFORT KIT  / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-comfort-kit-none' WHERE `virtuemart_product_id` = '1859527'
2023-10-13	12:17:19	35	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36580_axx_comfort_kit_.png
2023-10-13	12:17:19	35	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:19	35	[DEBUG]	Process image file
2023-10-13	12:17:19	35	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:19	35	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:19	35	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36580_axx_comfort_kit_.png
2023-10-13	12:17:19	35	[DEBUG]	Full name target: bcprisme/36580_axx_comfort_kit_.png
2023-10-13	12:17:20	35	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:20	35	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36580_axx_comfort_kit_.png'
2023-10-13	12:17:20	35	[DEBUG]	Query for Media
2023-10-13	12:17:20	35	[DEBUG]	Executed store
2023-10-13	12:17:20	35	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36580_axx_comfort_kit_.png',`file_url_thumb`='bcprisme/36580_axx_comfort_kit_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '887684'
2023-10-13	12:17:20	35	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:20	35	[DEBUG]	Executed store
2023-10-13	12:17:20	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859527','887684','1')
2023-10-13	12:17:20	35	[DEBUG]	Store product image relation
2023-10-13	12:17:20	35	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:20	35	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859527 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:20	35	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:20	35	[DEBUG]	Executed store
2023-10-13	12:17:20	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859527','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:20	35	[DEBUG]	Checking manufacturer
2023-10-13	12:17:20	35	[DEBUG]	Load a row
2023-10-13	12:17:20	35	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:20	35	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:20	35	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:20	35	[DEBUG]	Executed store
2023-10-13	12:17:20	35	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:20	35	[DEBUG]	Manufacturer exists
2023-10-13	12:17:20	35	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:20	35	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:20	35	[DEBUG]	Executed store
2023-10-13	12:17:20	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859527','254')
2023-10-13	12:17:20	35	[DEBUG]	Find the custom field ID
2023-10-13	12:17:20	35	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:20	35	[DEBUG]	No custom field ID found
2023-10-13	12:17:20	35	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:20	35	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:17:20	35	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859527 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:20	35	[DEBUG]	Store custom available field
2023-10-13	12:17:20	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859527,3,'0',1)
2023-10-13	12:17:20	35	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:20	35	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:20	35	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859527 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:20	35	[DEBUG]	Store custom available field
2023-10-13	12:17:20	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859527,6,'choisir la taille',3)
2023-10-13	12:17:20	35	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:20	35	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:20	35	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:20	35	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:20	35	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859527 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:20	35	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:20	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859527,8,1)
2023-10-13	12:17:20	35	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:20	35	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859527\":[1859527,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859527
2023-10-13	12:17:20	35	[DEBUG]	Checking category
2023-10-13	12:17:20	35	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:20	35	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859527
2023-10-13	12:17:20	35	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:20	35	[DEBUG]	Executed store
2023-10-13	12:17:20	35	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859527','7263')
2023-10-13	12:17:20	35	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:20	35	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859527 AND `virtuemart_category_id` NOT IN (7263)
2023-10-13	12:17:20	35	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:20	35	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859527
2023-10-13	12:17:20	36	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:20	36	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:20	36	[DEBUG]	Use field value for field taille
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:20	36	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:20	36	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:20	36	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:20	36	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:20	36	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:20	36	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:20	36	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:20	36	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:20	36	[DEBUG]	Use field value for field published
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:20	36	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field override
2023-10-13	12:17:20	36	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:20	36	[DEBUG]	Use field value for field slug
2023-10-13	12:17:20	36	[DEBUG]	Process line 36
2023-10-13	12:17:20	36	[DEBUG]	Load a row
2023-10-13	12:17:20	36	[DEBUG]	Processing item: 1000000143584
2023-10-13	12:17:20	36	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:20	36	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:20	36	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8070_3'
2023-10-13	12:17:20	36	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:20	36	[DEBUG]	Processing product tax
2023-10-13	12:17:20	36	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:20	36	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:20	36	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:20	36	[DEBUG]	Query for Product
2023-10-13	12:17:20	36	[DEBUG]	Executed store
2023-10-13	12:17:20	36	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859527','1000000143584','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:20	36	[DEBUG]	No parent found
2023-10-13	12:17:20	36	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859527 AND customfield_value = 'stockable'
2023-10-13	12:17:20	36	[DEBUG]	Check product language entry
2023-10-13	12:17:20	36	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859528
2023-10-13	12:17:20	36	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:20	36	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000143584' AND `virtuemart_product_id` != 1859528
2023-10-13	12:17:20	36	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:20	36	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859528, '1000000143584')
2023-10-13	12:17:20	36	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:20	36	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axxios-axx-comfort-kit-none-unitaire' AND `virtuemart_product_id` != 1859528
2023-10-13	12:17:20	36	[DEBUG]	Query for ProductLang
2023-10-13	12:17:20	36	[DEBUG]	Executed store
2023-10-13	12:17:20	36	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXXIOS Axx COMFORT KIT  / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axxios-axx-comfort-kit-none-unitaire' WHERE `virtuemart_product_id` = '1859528'
2023-10-13	12:17:20	36	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36580_axx_comfort_kit_.png
2023-10-13	12:17:20	36	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:20	36	[DEBUG]	Process image file
2023-10-13	12:17:20	36	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000149
2023-10-13	12:17:20	36	[DEBUG]	Mime type found: image/png
2023-10-13	12:17:20	36	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36580_axx_comfort_kit_.png
2023-10-13	12:17:20	36	[DEBUG]	Full name target: bcprisme/36580_axx_comfort_kit_.png
2023-10-13	12:17:21	36	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:21	36	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36580_axx_comfort_kit_.png'
2023-10-13	12:17:21	36	[DEBUG]	Query for Media
2023-10-13	12:17:21	36	[DEBUG]	Executed store
2023-10-13	12:17:21	36	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36580_axx_comfort_kit_.png',`file_url_thumb`='bcprisme/36580_axx_comfort_kit_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '887684'
2023-10-13	12:17:21	36	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:21	36	[DEBUG]	Executed store
2023-10-13	12:17:21	36	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859528','887684','1')
2023-10-13	12:17:21	36	[DEBUG]	Store product image relation
2023-10-13	12:17:21	36	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:21	36	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859528 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:21	36	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:21	36	[DEBUG]	Executed store
2023-10-13	12:17:21	36	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859528','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:21	36	[DEBUG]	Checking manufacturer
2023-10-13	12:17:21	36	[DEBUG]	Load a row
2023-10-13	12:17:21	36	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:21	36	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:21	36	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:21	36	[DEBUG]	Executed store
2023-10-13	12:17:21	36	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='75',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='75' WHERE `virtuemart_manufacturer_id` = '254'
2023-10-13	12:17:21	36	[DEBUG]	Manufacturer exists
2023-10-13	12:17:21	36	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 254
2023-10-13	12:17:21	36	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:21	36	[DEBUG]	Executed store
2023-10-13	12:17:21	36	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859528','254')
2023-10-13	12:17:21	36	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:21	36	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:21	36	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859528 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:21	36	[DEBUG]	Store custom available field
2023-10-13	12:17:21	36	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859528,3,'',1)
2023-10-13	12:17:21	36	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:21	36	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:21	36	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859528 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:21	36	[DEBUG]	Store custom available field
2023-10-13	12:17:21	36	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859528,6,'Unitaire',3)
2023-10-13	12:17:21	36	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:21	36	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:21	36	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859527
2023-10-13	12:17:21	36	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:21	36	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859527\":[1859527,8,1,\"choisir la taille\"],\"1859528\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859527
2023-10-13	12:17:21	36	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:21	36	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859528
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:21	37	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field taille
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:21	37	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:21	37	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:21	37	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:21	37	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:21	37	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:21	37	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field published
2023-10-13	12:17:21	37	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:21	37	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field override
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:21	37	[DEBUG]	Use field value for field slug
2023-10-13	12:17:21	37	[DEBUG]	Process line 37
2023-10-13	12:17:21	37	[DEBUG]	Load a row
2023-10-13	12:17:21	37	[DEBUG]	Processing item: A_32_10
2023-10-13	12:17:21	37	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:21	37	[DEBUG]	Processing product tax
2023-10-13	12:17:21	37	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:21	37	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:21	37	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:21	37	[DEBUG]	Query for Product
2023-10-13	12:17:21	37	[DEBUG]	Executed store
2023-10-13	12:17:21	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_32_10','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:21	37	[DEBUG]	Check product language entry
2023-10-13	12:17:21	37	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859529
2023-10-13	12:17:21	37	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:21	37	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_32_10' AND `virtuemart_product_id` != 1859529
2023-10-13	12:17:21	37	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:21	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859529, 'A_32_10')
2023-10-13	12:17:21	37	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:21	37	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ponza-embouts-de-guidons-ponza-pork-foot-noir-argent' AND `virtuemart_product_id` != 1859529
2023-10-13	12:17:21	37	[DEBUG]	Query for ProductLang
2023-10-13	12:17:21	37	[DEBUG]	Executed store
2023-10-13	12:17:21	37	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 9003',`product_name`='PONZA EMBOUTS DE GUIDONS PONZA Pork Foot / Noir-argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ponza-embouts-de-guidons-ponza-pork-foot-noir-argent' WHERE `virtuemart_product_id` = '1859529'
2023-10-13	12:17:21	37	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_32.jpg
2023-10-13	12:17:21	37	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:21	37	[DEBUG]	Process image file
2023-10-13	12:17:21	37	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:21	37	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:21	37	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_32.jpg
2023-10-13	12:17:21	37	[DEBUG]	Full name target: bcprisme/image_32.jpg
2023-10-13	12:17:22	37	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:22	37	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_32.jpg'
2023-10-13	12:17:22	37	[DEBUG]	Query for Media
2023-10-13	12:17:22	37	[DEBUG]	Executed store
2023-10-13	12:17:22	37	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_32.jpg',`file_url_thumb`='bcprisme/image_32.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12285'
2023-10-13	12:17:22	37	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:22	37	[DEBUG]	Executed store
2023-10-13	12:17:22	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859529','12285','1')
2023-10-13	12:17:22	37	[DEBUG]	Store product image relation
2023-10-13	12:17:22	37	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:22	37	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859529 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:22	37	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:22	37	[DEBUG]	Executed store
2023-10-13	12:17:22	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859529','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:22	37	[DEBUG]	Checking manufacturer
2023-10-13	12:17:22	37	[DEBUG]	Load a row
2023-10-13	12:17:22	37	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:22	37	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '215'
2023-10-13	12:17:22	37	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:22	37	[DEBUG]	Executed store
2023-10-13	12:17:22	37	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='2',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2' WHERE `virtuemart_manufacturer_id` = '215'
2023-10-13	12:17:22	37	[DEBUG]	Manufacturer exists
2023-10-13	12:17:22	37	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 215
2023-10-13	12:17:22	37	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:22	37	[DEBUG]	Executed store
2023-10-13	12:17:22	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859529','215')
2023-10-13	12:17:22	37	[DEBUG]	Find the custom field ID
2023-10-13	12:17:22	37	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:22	37	[DEBUG]	No custom field ID found
2023-10-13	12:17:22	37	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:22	37	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:17:22	37	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859529 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:22	37	[DEBUG]	Store custom available field
2023-10-13	12:17:22	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859529,3,'12.8641666666667',1)
2023-10-13	12:17:22	37	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:22	37	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:22	37	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859529 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:22	37	[DEBUG]	Store custom available field
2023-10-13	12:17:22	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859529,6,'choisir la taille',3)
2023-10-13	12:17:22	37	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:22	37	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:22	37	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:22	37	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:22	37	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859529 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:22	37	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:22	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859529,8,1)
2023-10-13	12:17:22	37	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:22	37	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859529\":[1859529,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859529
2023-10-13	12:17:22	37	[DEBUG]	Checking category
2023-10-13	12:17:22	37	[DEBUG]	Check if category path exists: BAR-END
2023-10-13	12:17:22	37	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BAR-END' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:17:22	37	[DEBUG]	Check if category path exists: BAR-END
2023-10-13	12:17:22	37	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BAR-END' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7264
2023-10-13	12:17:22	37	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:22	37	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859529
2023-10-13	12:17:22	37	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:22	37	[DEBUG]	Executed store
2023-10-13	12:17:22	37	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859529','7265')
2023-10-13	12:17:22	37	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:22	37	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859529 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:22	37	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:22	37	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859529
2023-10-13	12:17:22	38	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:22	38	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:22	38	[DEBUG]	Use field value for field taille
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:22	38	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:22	38	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:22	38	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:22	38	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:22	38	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:22	38	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:22	38	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:22	38	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:22	38	[DEBUG]	Use field value for field published
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:22	38	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field override
2023-10-13	12:17:22	38	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:22	38	[DEBUG]	Use field value for field slug
2023-10-13	12:17:22	38	[DEBUG]	Process line 38
2023-10-13	12:17:22	38	[DEBUG]	Load a row
2023-10-13	12:17:22	38	[DEBUG]	Processing item: 8436041139393
2023-10-13	12:17:22	38	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:22	38	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:22	38	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_32_10'
2023-10-13	12:17:22	38	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:22	38	[DEBUG]	Processing product tax
2023-10-13	12:17:22	38	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:22	38	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:22	38	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:22	38	[DEBUG]	Query for Product
2023-10-13	12:17:22	38	[DEBUG]	Executed store
2023-10-13	12:17:22	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859529','8436041139393','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:22	38	[DEBUG]	No parent found
2023-10-13	12:17:22	38	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859529 AND customfield_value = 'stockable'
2023-10-13	12:17:22	38	[DEBUG]	Check product language entry
2023-10-13	12:17:22	38	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859530
2023-10-13	12:17:22	38	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:22	38	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041139393' AND `virtuemart_product_id` != 1859530
2023-10-13	12:17:22	38	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:22	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859530, '8436041139393')
2023-10-13	12:17:22	38	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:22	38	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ponza-embouts-de-guidons-ponza-pork-foot-noir-argent-set' AND `virtuemart_product_id` != 1859530
2023-10-13	12:17:22	38	[DEBUG]	Query for ProductLang
2023-10-13	12:17:22	38	[DEBUG]	Executed store
2023-10-13	12:17:22	38	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='PONZA EMBOUTS DE GUIDONS PONZA Pork Foot / Noir-argent (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ponza-embouts-de-guidons-ponza-pork-foot-noir-argent-set' WHERE `virtuemart_product_id` = '1859530'
2023-10-13	12:17:22	38	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_32.jpg
2023-10-13	12:17:22	38	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:22	38	[DEBUG]	Process image file
2023-10-13	12:17:22	38	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:22	38	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:22	38	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_32.jpg
2023-10-13	12:17:22	38	[DEBUG]	Full name target: bcprisme/image_32.jpg
2023-10-13	12:17:23	38	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:23	38	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_32.jpg'
2023-10-13	12:17:23	38	[DEBUG]	Query for Media
2023-10-13	12:17:23	38	[DEBUG]	Executed store
2023-10-13	12:17:23	38	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_32.jpg',`file_url_thumb`='bcprisme/image_32.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12285'
2023-10-13	12:17:23	38	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:23	38	[DEBUG]	Executed store
2023-10-13	12:17:23	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859530','12285','1')
2023-10-13	12:17:23	38	[DEBUG]	Store product image relation
2023-10-13	12:17:23	38	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:23	38	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859530 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:23	38	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:23	38	[DEBUG]	Executed store
2023-10-13	12:17:23	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859530','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:23	38	[DEBUG]	Checking manufacturer
2023-10-13	12:17:23	38	[DEBUG]	Load a row
2023-10-13	12:17:23	38	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:23	38	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '215'
2023-10-13	12:17:23	38	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:23	38	[DEBUG]	Executed store
2023-10-13	12:17:23	38	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='2',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2' WHERE `virtuemart_manufacturer_id` = '215'
2023-10-13	12:17:23	38	[DEBUG]	Manufacturer exists
2023-10-13	12:17:23	38	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 215
2023-10-13	12:17:23	38	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:23	38	[DEBUG]	Executed store
2023-10-13	12:17:23	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859530','215')
2023-10-13	12:17:23	38	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:23	38	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:23	38	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859530 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:23	38	[DEBUG]	Store custom available field
2023-10-13	12:17:23	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859530,3,'',1)
2023-10-13	12:17:23	38	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:23	38	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:17:23	38	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859530 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:23	38	[DEBUG]	Store custom available field
2023-10-13	12:17:23	38	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859530,6,'Set',3)
2023-10-13	12:17:23	38	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:23	38	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:23	38	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859529
2023-10-13	12:17:23	38	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:23	38	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1859529\":[1859529,8,1,\"choisir la taille\"],\"1859530\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1859529
2023-10-13	12:17:23	38	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:23	38	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859530
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:23	39	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field taille
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:23	39	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:23	39	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:23	39	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:23	39	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:23	39	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:23	39	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field published
2023-10-13	12:17:23	39	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:23	39	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field override
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:23	39	[DEBUG]	Use field value for field slug
2023-10-13	12:17:23	39	[DEBUG]	Process line 39
2023-10-13	12:17:23	39	[DEBUG]	Load a row
2023-10-13	12:17:23	39	[DEBUG]	Processing item: A_283_5
2023-10-13	12:17:23	39	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:23	39	[DEBUG]	Processing product tax
2023-10-13	12:17:23	39	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:23	39	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:23	39	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:23	39	[DEBUG]	Query for Product
2023-10-13	12:17:23	39	[DEBUG]	Executed store
2023-10-13	12:17:23	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_283_5','0.053','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:23	39	[DEBUG]	Check product language entry
2023-10-13	12:17:23	39	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859531
2023-10-13	12:17:23	39	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:23	39	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_283_5' AND `virtuemart_product_id` != 1859531
2023-10-13	12:17:23	39	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:23	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859531, 'A_283_5')
2023-10-13	12:17:23	39	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:23	39	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-or' AND `virtuemart_product_id` != 1859531
2023-10-13	12:17:23	39	[DEBUG]	Query for ProductLang
2023-10-13	12:17:23	39	[DEBUG]	Executed store
2023-10-13	12:17:23	39	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='25,5Ø/85MM/5º   , bar-ends ultralight, 49 grammes !<br>N° art fourn : ALUBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-or' WHERE `virtuemart_product_id` = '1859531'
2023-10-13	12:17:23	39	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_306.jpg
2023-10-13	12:17:23	39	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:23	39	[DEBUG]	Process image file
2023-10-13	12:17:23	39	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:23	39	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:23	39	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_306.jpg
2023-10-13	12:17:23	39	[DEBUG]	Full name target: bcprisme/image_306.jpg
2023-10-13	12:17:24	39	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:24	39	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_306.jpg'
2023-10-13	12:17:24	39	[DEBUG]	Query for Media
2023-10-13	12:17:24	39	[DEBUG]	Executed store
2023-10-13	12:17:24	39	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_306.jpg',`file_url_thumb`='bcprisme/image_306.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12287'
2023-10-13	12:17:24	39	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:24	39	[DEBUG]	Executed store
2023-10-13	12:17:24	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859531','12287','1')
2023-10-13	12:17:24	39	[DEBUG]	Store product image relation
2023-10-13	12:17:24	39	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:24	39	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859531 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:24	39	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:24	39	[DEBUG]	Executed store
2023-10-13	12:17:24	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859531','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:24	39	[DEBUG]	Checking manufacturer
2023-10-13	12:17:24	39	[DEBUG]	Load a row
2023-10-13	12:17:24	39	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:24	39	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:24	39	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:24	39	[DEBUG]	Executed store
2023-10-13	12:17:24	39	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:24	39	[DEBUG]	Manufacturer exists
2023-10-13	12:17:24	39	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:24	39	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:24	39	[DEBUG]	Executed store
2023-10-13	12:17:24	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859531','32')
2023-10-13	12:17:24	39	[DEBUG]	Find the custom field ID
2023-10-13	12:17:24	39	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:24	39	[DEBUG]	No custom field ID found
2023-10-13	12:17:24	39	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:24	39	[DEBUG]	Get existing row with customfield value 59.7336111111111
2023-10-13	12:17:24	39	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859531 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:24	39	[DEBUG]	Store custom available field
2023-10-13	12:17:24	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859531,3,'59.7336111111111',1)
2023-10-13	12:17:24	39	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:24	39	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:24	39	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859531 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:24	39	[DEBUG]	Store custom available field
2023-10-13	12:17:24	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859531,6,'choisir la taille',3)
2023-10-13	12:17:24	39	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:24	39	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:24	39	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:24	39	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:24	39	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859531 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:24	39	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:24	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859531,8,1)
2023-10-13	12:17:24	39	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:24	39	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859531\":[1859531,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859531
2023-10-13	12:17:24	39	[DEBUG]	Checking category
2023-10-13	12:17:24	39	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:24	39	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859531
2023-10-13	12:17:24	39	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:24	39	[DEBUG]	Executed store
2023-10-13	12:17:24	39	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859531','7265')
2023-10-13	12:17:24	39	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:24	39	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859531 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:24	39	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:24	39	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859531
2023-10-13	12:17:24	40	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:24	40	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:24	40	[DEBUG]	Use field value for field taille
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:24	40	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:24	40	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:24	40	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:24	40	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:24	40	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:24	40	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:24	40	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:24	40	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:24	40	[DEBUG]	Use field value for field published
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:24	40	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field override
2023-10-13	12:17:24	40	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:24	40	[DEBUG]	Use field value for field slug
2023-10-13	12:17:24	40	[DEBUG]	Process line 40
2023-10-13	12:17:24	40	[DEBUG]	Load a row
2023-10-13	12:17:24	40	[DEBUG]	Processing item: 8436047357760
2023-10-13	12:17:24	40	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:24	40	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:24	40	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_283_5'
2023-10-13	12:17:24	40	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:24	40	[DEBUG]	Processing product tax
2023-10-13	12:17:24	40	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:24	40	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:24	40	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:24	40	[DEBUG]	Query for Product
2023-10-13	12:17:24	40	[DEBUG]	Executed store
2023-10-13	12:17:24	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859531','8436047357760','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:24	40	[DEBUG]	No parent found
2023-10-13	12:17:24	40	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859531 AND customfield_value = 'stockable'
2023-10-13	12:17:24	40	[DEBUG]	Check product language entry
2023-10-13	12:17:24	40	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859532
2023-10-13	12:17:24	40	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:24	40	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357760' AND `virtuemart_product_id` != 1859532
2023-10-13	12:17:24	40	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:24	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859532, '8436047357760')
2023-10-13	12:17:24	40	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:24	40	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-or-set' AND `virtuemart_product_id` != 1859532
2023-10-13	12:17:24	40	[DEBUG]	Query for ProductLang
2023-10-13	12:17:24	40	[DEBUG]	Executed store
2023-10-13	12:17:24	40	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º / Or (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-or-set' WHERE `virtuemart_product_id` = '1859532'
2023-10-13	12:17:24	40	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_306.jpg
2023-10-13	12:17:24	40	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:24	40	[DEBUG]	Process image file
2023-10-13	12:17:24	40	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:24	40	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:24	40	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_306.jpg
2023-10-13	12:17:24	40	[DEBUG]	Full name target: bcprisme/image_306.jpg
2023-10-13	12:17:25	40	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:25	40	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_306.jpg'
2023-10-13	12:17:25	40	[DEBUG]	Query for Media
2023-10-13	12:17:25	40	[DEBUG]	Executed store
2023-10-13	12:17:25	40	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_306.jpg',`file_url_thumb`='bcprisme/image_306.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12287'
2023-10-13	12:17:25	40	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:25	40	[DEBUG]	Executed store
2023-10-13	12:17:25	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859532','12287','1')
2023-10-13	12:17:25	40	[DEBUG]	Store product image relation
2023-10-13	12:17:25	40	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:25	40	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859532 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:25	40	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:25	40	[DEBUG]	Executed store
2023-10-13	12:17:25	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859532','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:25	40	[DEBUG]	Checking manufacturer
2023-10-13	12:17:25	40	[DEBUG]	Load a row
2023-10-13	12:17:25	40	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:25	40	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:25	40	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:25	40	[DEBUG]	Executed store
2023-10-13	12:17:25	40	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:25	40	[DEBUG]	Manufacturer exists
2023-10-13	12:17:25	40	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:25	40	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:25	40	[DEBUG]	Executed store
2023-10-13	12:17:25	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859532','32')
2023-10-13	12:17:25	40	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:25	40	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:25	40	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859532 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:25	40	[DEBUG]	Store custom available field
2023-10-13	12:17:25	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859532,3,'',1)
2023-10-13	12:17:25	40	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:25	40	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:17:25	40	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859532 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:25	40	[DEBUG]	Store custom available field
2023-10-13	12:17:25	40	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859532,6,'Set',3)
2023-10-13	12:17:25	40	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:25	40	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:25	40	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859531
2023-10-13	12:17:25	40	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:25	40	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1859531\":[1859531,8,1,\"choisir la taille\"],\"1859532\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1859531
2023-10-13	12:17:25	40	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:25	40	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859532
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:25	41	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field taille
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:25	41	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:25	41	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:25	41	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:25	41	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:25	41	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:25	41	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field published
2023-10-13	12:17:25	41	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:25	41	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field override
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:25	41	[DEBUG]	Use field value for field slug
2023-10-13	12:17:25	41	[DEBUG]	Process line 41
2023-10-13	12:17:25	41	[DEBUG]	Load a row
2023-10-13	12:17:25	41	[DEBUG]	Processing item: A_283_7
2023-10-13	12:17:25	41	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:25	41	[DEBUG]	Processing product tax
2023-10-13	12:17:25	41	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:25	41	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:25	41	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:25	41	[DEBUG]	Query for Product
2023-10-13	12:17:25	41	[DEBUG]	Executed store
2023-10-13	12:17:25	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_283_7','0.053','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:25	41	[DEBUG]	Check product language entry
2023-10-13	12:17:25	41	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859533
2023-10-13	12:17:25	41	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:25	41	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_283_7' AND `virtuemart_product_id` != 1859533
2023-10-13	12:17:25	41	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:25	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859533, 'A_283_7')
2023-10-13	12:17:25	41	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:25	41	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-rouge' AND `virtuemart_product_id` != 1859533
2023-10-13	12:17:25	41	[DEBUG]	Query for ProductLang
2023-10-13	12:17:25	41	[DEBUG]	Executed store
2023-10-13	12:17:25	41	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='25,5Ø/85MM/5º   , bar-ends ultralight, 49 grammes !<br>N° art fourn : ALUBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-rouge' WHERE `virtuemart_product_id` = '1859533'
2023-10-13	12:17:25	41	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5617.jpg
2023-10-13	12:17:25	41	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:25	41	[DEBUG]	Process image file
2023-10-13	12:17:25	41	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:25	41	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:25	41	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5617.jpg
2023-10-13	12:17:25	41	[DEBUG]	Full name target: bcprisme/image_5617.jpg
2023-10-13	12:17:26	41	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:26	41	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5617.jpg'
2023-10-13	12:17:26	41	[DEBUG]	Query for Media
2023-10-13	12:17:26	41	[DEBUG]	Executed store
2023-10-13	12:17:26	41	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5617.jpg',`file_url_thumb`='bcprisme/image_5617.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12288'
2023-10-13	12:17:26	41	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:26	41	[DEBUG]	Executed store
2023-10-13	12:17:26	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859533','12288','1')
2023-10-13	12:17:26	41	[DEBUG]	Store product image relation
2023-10-13	12:17:26	41	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:26	41	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859533 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:26	41	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:26	41	[DEBUG]	Executed store
2023-10-13	12:17:26	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859533','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:26	41	[DEBUG]	Checking manufacturer
2023-10-13	12:17:26	41	[DEBUG]	Load a row
2023-10-13	12:17:26	41	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:26	41	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:26	41	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:26	41	[DEBUG]	Executed store
2023-10-13	12:17:26	41	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:26	41	[DEBUG]	Manufacturer exists
2023-10-13	12:17:26	41	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:26	41	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:26	41	[DEBUG]	Executed store
2023-10-13	12:17:26	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859533','32')
2023-10-13	12:17:26	41	[DEBUG]	Find the custom field ID
2023-10-13	12:17:26	41	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:26	41	[DEBUG]	No custom field ID found
2023-10-13	12:17:26	41	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:26	41	[DEBUG]	Get existing row with customfield value 59.7336111111111
2023-10-13	12:17:26	41	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859533 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:26	41	[DEBUG]	Store custom available field
2023-10-13	12:17:26	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859533,3,'59.7336111111111',1)
2023-10-13	12:17:26	41	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:26	41	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:26	41	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859533 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:26	41	[DEBUG]	Store custom available field
2023-10-13	12:17:26	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859533,6,'choisir la taille',3)
2023-10-13	12:17:26	41	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:26	41	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:26	41	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:26	41	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:26	41	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859533 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:26	41	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:26	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859533,8,1)
2023-10-13	12:17:26	41	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:26	41	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859533\":[1859533,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859533
2023-10-13	12:17:26	41	[DEBUG]	Checking category
2023-10-13	12:17:26	41	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:26	41	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859533
2023-10-13	12:17:26	41	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:26	41	[DEBUG]	Executed store
2023-10-13	12:17:26	41	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859533','7265')
2023-10-13	12:17:26	41	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:26	41	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859533 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:26	41	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:26	41	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859533
2023-10-13	12:17:26	42	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:26	42	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:26	42	[DEBUG]	Use field value for field taille
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:26	42	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:26	42	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:26	42	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:26	42	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:26	42	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:26	42	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:26	42	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:26	42	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:26	42	[DEBUG]	Use field value for field published
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:26	42	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field override
2023-10-13	12:17:26	42	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:26	42	[DEBUG]	Use field value for field slug
2023-10-13	12:17:26	42	[DEBUG]	Process line 42
2023-10-13	12:17:26	42	[DEBUG]	Load a row
2023-10-13	12:17:26	42	[DEBUG]	Processing item: 8436047357739
2023-10-13	12:17:26	42	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:26	42	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:26	42	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_283_7'
2023-10-13	12:17:26	42	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:26	42	[DEBUG]	Processing product tax
2023-10-13	12:17:26	42	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:26	42	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:26	42	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:26	42	[DEBUG]	Query for Product
2023-10-13	12:17:26	42	[DEBUG]	Executed store
2023-10-13	12:17:26	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859533','8436047357739','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:26	42	[DEBUG]	No parent found
2023-10-13	12:17:26	42	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859533 AND customfield_value = 'stockable'
2023-10-13	12:17:26	42	[DEBUG]	Check product language entry
2023-10-13	12:17:26	42	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859534
2023-10-13	12:17:26	42	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:26	42	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357739' AND `virtuemart_product_id` != 1859534
2023-10-13	12:17:26	42	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:26	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859534, '8436047357739')
2023-10-13	12:17:26	42	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:26	42	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-rouge-set' AND `virtuemart_product_id` != 1859534
2023-10-13	12:17:26	42	[DEBUG]	Query for ProductLang
2023-10-13	12:17:26	42	[DEBUG]	Executed store
2023-10-13	12:17:26	42	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º / Rouge (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-rouge-set' WHERE `virtuemart_product_id` = '1859534'
2023-10-13	12:17:26	42	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5617.jpg
2023-10-13	12:17:26	42	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:26	42	[DEBUG]	Process image file
2023-10-13	12:17:26	42	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:26	42	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:26	42	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5617.jpg
2023-10-13	12:17:26	42	[DEBUG]	Full name target: bcprisme/image_5617.jpg
2023-10-13	12:17:27	42	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:27	42	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5617.jpg'
2023-10-13	12:17:27	42	[DEBUG]	Query for Media
2023-10-13	12:17:27	42	[DEBUG]	Executed store
2023-10-13	12:17:27	42	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5617.jpg',`file_url_thumb`='bcprisme/image_5617.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12288'
2023-10-13	12:17:27	42	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:27	42	[DEBUG]	Executed store
2023-10-13	12:17:27	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859534','12288','1')
2023-10-13	12:17:27	42	[DEBUG]	Store product image relation
2023-10-13	12:17:27	42	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:27	42	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859534 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:27	42	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:27	42	[DEBUG]	Executed store
2023-10-13	12:17:27	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859534','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:28	42	[DEBUG]	Checking manufacturer
2023-10-13	12:17:28	42	[DEBUG]	Load a row
2023-10-13	12:17:28	42	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:28	42	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:28	42	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:28	42	[DEBUG]	Executed store
2023-10-13	12:17:28	42	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:28	42	[DEBUG]	Manufacturer exists
2023-10-13	12:17:28	42	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:28	42	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:28	42	[DEBUG]	Executed store
2023-10-13	12:17:28	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859534','32')
2023-10-13	12:17:28	42	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:28	42	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:28	42	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859534 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:28	42	[DEBUG]	Store custom available field
2023-10-13	12:17:28	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859534,3,'',1)
2023-10-13	12:17:28	42	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:28	42	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:17:28	42	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859534 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:28	42	[DEBUG]	Store custom available field
2023-10-13	12:17:28	42	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859534,6,'Set',3)
2023-10-13	12:17:28	42	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:28	42	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:28	42	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859533
2023-10-13	12:17:28	42	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:28	42	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1859533\":[1859533,8,1,\"choisir la taille\"],\"1859534\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1859533
2023-10-13	12:17:28	42	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:28	42	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859534
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:28	43	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field taille
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:28	43	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:28	43	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:28	43	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:28	43	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:28	43	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:28	43	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field published
2023-10-13	12:17:28	43	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:28	43	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field override
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:28	43	[DEBUG]	Use field value for field slug
2023-10-13	12:17:28	43	[DEBUG]	Process line 43
2023-10-13	12:17:28	43	[DEBUG]	Load a row
2023-10-13	12:17:28	43	[DEBUG]	Processing item: A_283_12
2023-10-13	12:17:28	43	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:28	43	[DEBUG]	Processing product tax
2023-10-13	12:17:28	43	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:28	43	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:28	43	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:28	43	[DEBUG]	Query for Product
2023-10-13	12:17:28	43	[DEBUG]	Executed store
2023-10-13	12:17:28	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_283_12','0.053','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:28	43	[DEBUG]	Check product language entry
2023-10-13	12:17:28	43	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859535
2023-10-13	12:17:28	43	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:28	43	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_283_12' AND `virtuemart_product_id` != 1859535
2023-10-13	12:17:28	43	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:28	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859535, 'A_283_12')
2023-10-13	12:17:28	43	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:28	43	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-blanc' AND `virtuemart_product_id` != 1859535
2023-10-13	12:17:28	43	[DEBUG]	Query for ProductLang
2023-10-13	12:17:28	43	[DEBUG]	Executed store
2023-10-13	12:17:28	43	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='25,5Ø/85MM/5º   , bar-ends ultralight, 49 grammes !<br>N° art fourn : ALUBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-blanc' WHERE `virtuemart_product_id` = '1859535'
2023-10-13	12:17:28	43	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_308.jpg
2023-10-13	12:17:28	43	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:28	43	[DEBUG]	Process image file
2023-10-13	12:17:28	43	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:28	43	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:28	43	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_308.jpg
2023-10-13	12:17:28	43	[DEBUG]	Full name target: bcprisme/image_308.jpg
2023-10-13	12:17:29	43	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:29	43	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_308.jpg'
2023-10-13	12:17:29	43	[DEBUG]	Query for Media
2023-10-13	12:17:29	43	[DEBUG]	Executed store
2023-10-13	12:17:29	43	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_308.jpg',`file_url_thumb`='bcprisme/image_308.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12289'
2023-10-13	12:17:29	43	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:29	43	[DEBUG]	Executed store
2023-10-13	12:17:29	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859535','12289','1')
2023-10-13	12:17:29	43	[DEBUG]	Store product image relation
2023-10-13	12:17:29	43	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:29	43	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859535 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:29	43	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:29	43	[DEBUG]	Executed store
2023-10-13	12:17:29	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859535','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:29	43	[DEBUG]	Checking manufacturer
2023-10-13	12:17:29	43	[DEBUG]	Load a row
2023-10-13	12:17:29	43	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:29	43	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:29	43	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:29	43	[DEBUG]	Executed store
2023-10-13	12:17:29	43	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:29	43	[DEBUG]	Manufacturer exists
2023-10-13	12:17:29	43	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:29	43	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:29	43	[DEBUG]	Executed store
2023-10-13	12:17:29	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859535','32')
2023-10-13	12:17:29	43	[DEBUG]	Find the custom field ID
2023-10-13	12:17:29	43	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:29	43	[DEBUG]	No custom field ID found
2023-10-13	12:17:29	43	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:29	43	[DEBUG]	Get existing row with customfield value 59.7336111111111
2023-10-13	12:17:29	43	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859535 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:29	43	[DEBUG]	Store custom available field
2023-10-13	12:17:29	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859535,3,'59.7336111111111',1)
2023-10-13	12:17:29	43	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:29	43	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:29	43	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859535 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:29	43	[DEBUG]	Store custom available field
2023-10-13	12:17:29	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859535,6,'choisir la taille',3)
2023-10-13	12:17:29	43	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:29	43	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:29	43	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:29	43	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:29	43	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859535 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:29	43	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:29	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859535,8,1)
2023-10-13	12:17:29	43	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:29	43	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859535\":[1859535,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859535
2023-10-13	12:17:29	43	[DEBUG]	Checking category
2023-10-13	12:17:29	43	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:29	43	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859535
2023-10-13	12:17:29	43	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:29	43	[DEBUG]	Executed store
2023-10-13	12:17:29	43	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859535','7265')
2023-10-13	12:17:29	43	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:29	43	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859535 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:29	43	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:29	43	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859535
2023-10-13	12:17:29	44	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:29	44	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:29	44	[DEBUG]	Use field value for field taille
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:29	44	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:29	44	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:29	44	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:29	44	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:29	44	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:29	44	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:29	44	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:29	44	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:29	44	[DEBUG]	Use field value for field published
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:29	44	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field override
2023-10-13	12:17:29	44	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:29	44	[DEBUG]	Use field value for field slug
2023-10-13	12:17:29	44	[DEBUG]	Process line 44
2023-10-13	12:17:29	44	[DEBUG]	Load a row
2023-10-13	12:17:29	44	[DEBUG]	Processing item: 8436047358286
2023-10-13	12:17:29	44	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:29	44	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:29	44	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_283_12'
2023-10-13	12:17:29	44	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:29	44	[DEBUG]	Processing product tax
2023-10-13	12:17:29	44	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:29	44	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:29	44	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:29	44	[DEBUG]	Query for Product
2023-10-13	12:17:29	44	[DEBUG]	Executed store
2023-10-13	12:17:29	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859535','8436047358286','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:29	44	[DEBUG]	No parent found
2023-10-13	12:17:29	44	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859535 AND customfield_value = 'stockable'
2023-10-13	12:17:29	44	[DEBUG]	Check product language entry
2023-10-13	12:17:29	44	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859536
2023-10-13	12:17:29	44	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:29	44	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047358286' AND `virtuemart_product_id` != 1859536
2023-10-13	12:17:29	44	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:29	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859536, '8436047358286')
2023-10-13	12:17:29	44	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:29	44	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-blanc-set' AND `virtuemart_product_id` != 1859536
2023-10-13	12:17:29	44	[DEBUG]	Query for ProductLang
2023-10-13	12:17:29	44	[DEBUG]	Executed store
2023-10-13	12:17:29	44	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º / Blanc (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-blanc-set' WHERE `virtuemart_product_id` = '1859536'
2023-10-13	12:17:29	44	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_308.jpg
2023-10-13	12:17:29	44	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:29	44	[DEBUG]	Process image file
2023-10-13	12:17:29	44	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:29	44	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:29	44	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_308.jpg
2023-10-13	12:17:29	44	[DEBUG]	Full name target: bcprisme/image_308.jpg
2023-10-13	12:17:30	44	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:30	44	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_308.jpg'
2023-10-13	12:17:30	44	[DEBUG]	Query for Media
2023-10-13	12:17:30	44	[DEBUG]	Executed store
2023-10-13	12:17:30	44	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_308.jpg',`file_url_thumb`='bcprisme/image_308.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12289'
2023-10-13	12:17:30	44	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:30	44	[DEBUG]	Executed store
2023-10-13	12:17:30	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859536','12289','1')
2023-10-13	12:17:30	44	[DEBUG]	Store product image relation
2023-10-13	12:17:30	44	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:30	44	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859536 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:30	44	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:30	44	[DEBUG]	Executed store
2023-10-13	12:17:30	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859536','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:30	44	[DEBUG]	Checking manufacturer
2023-10-13	12:17:30	44	[DEBUG]	Load a row
2023-10-13	12:17:30	44	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:30	44	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:30	44	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:30	44	[DEBUG]	Executed store
2023-10-13	12:17:30	44	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:30	44	[DEBUG]	Manufacturer exists
2023-10-13	12:17:30	44	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:30	44	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:30	44	[DEBUG]	Executed store
2023-10-13	12:17:30	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859536','32')
2023-10-13	12:17:30	44	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:30	44	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:30	44	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859536 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:30	44	[DEBUG]	Store custom available field
2023-10-13	12:17:30	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859536,3,'',1)
2023-10-13	12:17:30	44	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:30	44	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:17:30	44	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859536 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:30	44	[DEBUG]	Store custom available field
2023-10-13	12:17:30	44	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859536,6,'Set',3)
2023-10-13	12:17:30	44	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:30	44	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:30	44	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859535
2023-10-13	12:17:30	44	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:30	44	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1859535\":[1859535,8,1,\"choisir la taille\"],\"1859536\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1859535
2023-10-13	12:17:30	44	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:30	44	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859536
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:30	45	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field taille
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:30	45	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:30	45	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:30	45	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:30	45	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:30	45	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:30	45	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field published
2023-10-13	12:17:30	45	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:30	45	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field override
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:30	45	[DEBUG]	Use field value for field slug
2023-10-13	12:17:30	45	[DEBUG]	Process line 45
2023-10-13	12:17:30	45	[DEBUG]	Load a row
2023-10-13	12:17:30	45	[DEBUG]	Processing item: A_283_13
2023-10-13	12:17:30	45	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:30	45	[DEBUG]	Processing product tax
2023-10-13	12:17:30	45	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:30	45	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:30	45	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:30	45	[DEBUG]	Query for Product
2023-10-13	12:17:30	45	[DEBUG]	Executed store
2023-10-13	12:17:30	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_283_13','0.053','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:30	45	[DEBUG]	Check product language entry
2023-10-13	12:17:30	45	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859537
2023-10-13	12:17:30	45	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:30	45	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_283_13' AND `virtuemart_product_id` != 1859537
2023-10-13	12:17:30	45	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:30	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859537, 'A_283_13')
2023-10-13	12:17:30	45	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:30	45	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-argent' AND `virtuemart_product_id` != 1859537
2023-10-13	12:17:30	45	[DEBUG]	Query for ProductLang
2023-10-13	12:17:30	45	[DEBUG]	Executed store
2023-10-13	12:17:30	45	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='25,5Ø/85MM/5º   , bar-ends ultralight, 49 grammes !<br>N° art fourn : ALUBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-argent' WHERE `virtuemart_product_id` = '1859537'
2023-10-13	12:17:30	45	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_307.jpg
2023-10-13	12:17:30	45	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:30	45	[DEBUG]	Process image file
2023-10-13	12:17:30	45	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:30	45	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:30	45	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_307.jpg
2023-10-13	12:17:30	45	[DEBUG]	Full name target: bcprisme/image_307.jpg
2023-10-13	12:17:31	45	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:31	45	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_307.jpg'
2023-10-13	12:17:31	45	[DEBUG]	Query for Media
2023-10-13	12:17:31	45	[DEBUG]	Executed store
2023-10-13	12:17:31	45	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_307.jpg',`file_url_thumb`='bcprisme/image_307.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12290'
2023-10-13	12:17:31	45	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:31	45	[DEBUG]	Executed store
2023-10-13	12:17:31	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859537','12290','1')
2023-10-13	12:17:31	45	[DEBUG]	Store product image relation
2023-10-13	12:17:31	45	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:31	45	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859537 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:31	45	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:31	45	[DEBUG]	Executed store
2023-10-13	12:17:31	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859537','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:31	45	[DEBUG]	Checking manufacturer
2023-10-13	12:17:31	45	[DEBUG]	Load a row
2023-10-13	12:17:31	45	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:31	45	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:31	45	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:31	45	[DEBUG]	Executed store
2023-10-13	12:17:31	45	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:31	45	[DEBUG]	Manufacturer exists
2023-10-13	12:17:31	45	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:31	45	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:31	45	[DEBUG]	Executed store
2023-10-13	12:17:31	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859537','32')
2023-10-13	12:17:31	45	[DEBUG]	Find the custom field ID
2023-10-13	12:17:31	45	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:31	45	[DEBUG]	No custom field ID found
2023-10-13	12:17:31	45	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:31	45	[DEBUG]	Get existing row with customfield value 59.7336111111111
2023-10-13	12:17:31	45	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859537 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:31	45	[DEBUG]	Store custom available field
2023-10-13	12:17:31	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859537,3,'59.7336111111111',1)
2023-10-13	12:17:31	45	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:31	45	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:31	45	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859537 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:31	45	[DEBUG]	Store custom available field
2023-10-13	12:17:31	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859537,6,'choisir la taille',3)
2023-10-13	12:17:31	45	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:31	45	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:31	45	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:31	45	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:31	45	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859537 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:31	45	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:31	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859537,8,1)
2023-10-13	12:17:31	45	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:31	45	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859537\":[1859537,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859537
2023-10-13	12:17:31	45	[DEBUG]	Checking category
2023-10-13	12:17:31	45	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:31	45	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859537
2023-10-13	12:17:31	45	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:31	45	[DEBUG]	Executed store
2023-10-13	12:17:31	45	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859537','7265')
2023-10-13	12:17:31	45	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:31	45	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859537 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:31	45	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:31	45	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859537
2023-10-13	12:17:31	46	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:31	46	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:31	46	[DEBUG]	Use field value for field taille
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:31	46	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:31	46	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:31	46	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:31	46	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:31	46	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:31	46	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:31	46	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:31	46	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:31	46	[DEBUG]	Use field value for field published
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:31	46	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field override
2023-10-13	12:17:31	46	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:31	46	[DEBUG]	Use field value for field slug
2023-10-13	12:17:31	46	[DEBUG]	Process line 46
2023-10-13	12:17:31	46	[DEBUG]	Load a row
2023-10-13	12:17:31	46	[DEBUG]	Processing item: 8436047357746
2023-10-13	12:17:31	46	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:31	46	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:31	46	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_283_13'
2023-10-13	12:17:31	46	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:31	46	[DEBUG]	Processing product tax
2023-10-13	12:17:31	46	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:31	46	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:31	46	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:31	46	[DEBUG]	Query for Product
2023-10-13	12:17:31	46	[DEBUG]	Executed store
2023-10-13	12:17:31	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859537','8436047357746','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:31	46	[DEBUG]	No parent found
2023-10-13	12:17:31	46	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859537 AND customfield_value = 'stockable'
2023-10-13	12:17:31	46	[DEBUG]	Check product language entry
2023-10-13	12:17:31	46	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859538
2023-10-13	12:17:31	46	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:31	46	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357746' AND `virtuemart_product_id` != 1859538
2023-10-13	12:17:31	46	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:31	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859538, '8436047357746')
2023-10-13	12:17:31	46	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:31	46	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-argent-set' AND `virtuemart_product_id` != 1859538
2023-10-13	12:17:31	46	[DEBUG]	Query for ProductLang
2023-10-13	12:17:31	46	[DEBUG]	Executed store
2023-10-13	12:17:31	46	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º / Argent (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-argent-set' WHERE `virtuemart_product_id` = '1859538'
2023-10-13	12:17:31	46	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_307.jpg
2023-10-13	12:17:31	46	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:31	46	[DEBUG]	Process image file
2023-10-13	12:17:31	46	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:31	46	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:31	46	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_307.jpg
2023-10-13	12:17:31	46	[DEBUG]	Full name target: bcprisme/image_307.jpg
2023-10-13	12:17:32	46	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:32	46	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_307.jpg'
2023-10-13	12:17:32	46	[DEBUG]	Query for Media
2023-10-13	12:17:32	46	[DEBUG]	Executed store
2023-10-13	12:17:32	46	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_307.jpg',`file_url_thumb`='bcprisme/image_307.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12290'
2023-10-13	12:17:32	46	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:32	46	[DEBUG]	Executed store
2023-10-13	12:17:32	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859538','12290','1')
2023-10-13	12:17:32	46	[DEBUG]	Store product image relation
2023-10-13	12:17:32	46	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:32	46	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859538 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:32	46	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:32	46	[DEBUG]	Executed store
2023-10-13	12:17:32	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859538','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:32	46	[DEBUG]	Checking manufacturer
2023-10-13	12:17:32	46	[DEBUG]	Load a row
2023-10-13	12:17:32	46	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:32	46	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:32	46	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:32	46	[DEBUG]	Executed store
2023-10-13	12:17:32	46	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:32	46	[DEBUG]	Manufacturer exists
2023-10-13	12:17:32	46	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:32	46	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:32	46	[DEBUG]	Executed store
2023-10-13	12:17:32	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859538','32')
2023-10-13	12:17:32	46	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:32	46	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:32	46	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859538 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:32	46	[DEBUG]	Store custom available field
2023-10-13	12:17:32	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859538,3,'',1)
2023-10-13	12:17:32	46	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:32	46	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:17:32	46	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859538 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:32	46	[DEBUG]	Store custom available field
2023-10-13	12:17:32	46	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859538,6,'Set',3)
2023-10-13	12:17:32	46	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:32	46	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:32	46	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859537
2023-10-13	12:17:32	46	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:32	46	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1859537\":[1859537,8,1,\"choisir la taille\"],\"1859538\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1859537
2023-10-13	12:17:32	46	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:32	46	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859538
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:32	47	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field taille
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:32	47	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:32	47	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:32	47	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:32	47	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:32	47	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:32	47	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field published
2023-10-13	12:17:32	47	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:32	47	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field override
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:32	47	[DEBUG]	Use field value for field slug
2023-10-13	12:17:32	47	[DEBUG]	Process line 47
2023-10-13	12:17:32	47	[DEBUG]	Load a row
2023-10-13	12:17:32	47	[DEBUG]	Processing item: A_283_22
2023-10-13	12:17:32	47	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:32	47	[DEBUG]	Processing product tax
2023-10-13	12:17:32	47	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:32	47	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:32	47	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:32	47	[DEBUG]	Query for Product
2023-10-13	12:17:32	47	[DEBUG]	Executed store
2023-10-13	12:17:32	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_283_22','0.053','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:32	47	[DEBUG]	Check product language entry
2023-10-13	12:17:32	47	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859539
2023-10-13	12:17:32	47	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:32	47	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_283_22' AND `virtuemart_product_id` != 1859539
2023-10-13	12:17:32	47	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:32	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859539, 'A_283_22')
2023-10-13	12:17:32	47	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:32	47	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-bleu' AND `virtuemart_product_id` != 1859539
2023-10-13	12:17:32	47	[DEBUG]	Query for ProductLang
2023-10-13	12:17:32	47	[DEBUG]	Executed store
2023-10-13	12:17:32	47	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='25,5Ø/85MM/5º   , bar-ends ultralight, 49 grammes !<br>N° art fourn : ALUBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-bleu' WHERE `virtuemart_product_id` = '1859539'
2023-10-13	12:17:32	47	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5619.jpg
2023-10-13	12:17:32	47	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:32	47	[DEBUG]	Process image file
2023-10-13	12:17:32	47	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:32	47	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:32	47	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5619.jpg
2023-10-13	12:17:32	47	[DEBUG]	Full name target: bcprisme/image_5619.jpg
2023-10-13	12:17:33	47	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:33	47	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5619.jpg'
2023-10-13	12:17:33	47	[DEBUG]	Query for Media
2023-10-13	12:17:33	47	[DEBUG]	Executed store
2023-10-13	12:17:33	47	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5619.jpg',`file_url_thumb`='bcprisme/image_5619.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12291'
2023-10-13	12:17:33	47	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:33	47	[DEBUG]	Executed store
2023-10-13	12:17:33	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859539','12291','1')
2023-10-13	12:17:33	47	[DEBUG]	Store product image relation
2023-10-13	12:17:33	47	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:33	47	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859539 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:33	47	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:33	47	[DEBUG]	Executed store
2023-10-13	12:17:33	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859539','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:33	47	[DEBUG]	Checking manufacturer
2023-10-13	12:17:33	47	[DEBUG]	Load a row
2023-10-13	12:17:33	47	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:33	47	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:33	47	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:33	47	[DEBUG]	Executed store
2023-10-13	12:17:33	47	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:33	47	[DEBUG]	Manufacturer exists
2023-10-13	12:17:33	47	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:33	47	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:33	47	[DEBUG]	Executed store
2023-10-13	12:17:33	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859539','32')
2023-10-13	12:17:33	47	[DEBUG]	Find the custom field ID
2023-10-13	12:17:33	47	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:33	47	[DEBUG]	No custom field ID found
2023-10-13	12:17:33	47	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:33	47	[DEBUG]	Get existing row with customfield value 59.7336111111111
2023-10-13	12:17:33	47	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859539 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:33	47	[DEBUG]	Store custom available field
2023-10-13	12:17:33	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859539,3,'59.7336111111111',1)
2023-10-13	12:17:33	47	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:33	47	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:33	47	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859539 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:33	47	[DEBUG]	Store custom available field
2023-10-13	12:17:33	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859539,6,'choisir la taille',3)
2023-10-13	12:17:33	47	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:33	47	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:33	47	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:33	47	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:33	47	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859539 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:33	47	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:33	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859539,8,1)
2023-10-13	12:17:33	47	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:33	47	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859539\":[1859539,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859539
2023-10-13	12:17:33	47	[DEBUG]	Checking category
2023-10-13	12:17:33	47	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:33	47	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859539
2023-10-13	12:17:33	47	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:33	47	[DEBUG]	Executed store
2023-10-13	12:17:33	47	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859539','7265')
2023-10-13	12:17:33	47	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:33	47	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859539 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:33	47	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:33	47	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859539
2023-10-13	12:17:33	48	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:33	48	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:33	48	[DEBUG]	Use field value for field taille
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:33	48	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:33	48	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:33	48	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:33	48	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:33	48	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:33	48	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:33	48	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:33	48	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:33	48	[DEBUG]	Use field value for field published
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:33	48	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field override
2023-10-13	12:17:33	48	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:33	48	[DEBUG]	Use field value for field slug
2023-10-13	12:17:33	48	[DEBUG]	Process line 48
2023-10-13	12:17:33	48	[DEBUG]	Load a row
2023-10-13	12:17:33	48	[DEBUG]	Processing item: 8436047357753
2023-10-13	12:17:33	48	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:33	48	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:33	48	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_283_22'
2023-10-13	12:17:33	48	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:33	48	[DEBUG]	Processing product tax
2023-10-13	12:17:33	48	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:33	48	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:33	48	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:33	48	[DEBUG]	Query for Product
2023-10-13	12:17:33	48	[DEBUG]	Executed store
2023-10-13	12:17:33	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859539','8436047357753','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:33	48	[DEBUG]	No parent found
2023-10-13	12:17:33	48	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859539 AND customfield_value = 'stockable'
2023-10-13	12:17:33	48	[DEBUG]	Check product language entry
2023-10-13	12:17:33	48	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859540
2023-10-13	12:17:33	48	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:33	48	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357753' AND `virtuemart_product_id` != 1859540
2023-10-13	12:17:33	48	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:33	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859540, '8436047357753')
2023-10-13	12:17:33	48	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:33	48	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-bleu-set' AND `virtuemart_product_id` != 1859540
2023-10-13	12:17:33	48	[DEBUG]	Query for ProductLang
2023-10-13	12:17:33	48	[DEBUG]	Executed store
2023-10-13	12:17:33	48	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT Alu7075T6 25,5mm 85mm 5º / Bleu (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu7075t6-25-5mm-85mm-5-bleu-set' WHERE `virtuemart_product_id` = '1859540'
2023-10-13	12:17:33	48	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5619.jpg
2023-10-13	12:17:33	48	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:33	48	[DEBUG]	Process image file
2023-10-13	12:17:33	48	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:33	48	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:33	48	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5619.jpg
2023-10-13	12:17:33	48	[DEBUG]	Full name target: bcprisme/image_5619.jpg
2023-10-13	12:17:34	48	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:34	48	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5619.jpg'
2023-10-13	12:17:34	48	[DEBUG]	Query for Media
2023-10-13	12:17:34	48	[DEBUG]	Executed store
2023-10-13	12:17:34	48	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5619.jpg',`file_url_thumb`='bcprisme/image_5619.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12291'
2023-10-13	12:17:34	48	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:34	48	[DEBUG]	Executed store
2023-10-13	12:17:34	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859540','12291','1')
2023-10-13	12:17:34	48	[DEBUG]	Store product image relation
2023-10-13	12:17:34	48	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:34	48	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859540 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:34	48	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:34	48	[DEBUG]	Executed store
2023-10-13	12:17:34	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859540','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:34	48	[DEBUG]	Checking manufacturer
2023-10-13	12:17:34	48	[DEBUG]	Load a row
2023-10-13	12:17:34	48	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:34	48	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:34	48	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:34	48	[DEBUG]	Executed store
2023-10-13	12:17:34	48	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:34	48	[DEBUG]	Manufacturer exists
2023-10-13	12:17:34	48	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:34	48	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:34	48	[DEBUG]	Executed store
2023-10-13	12:17:34	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859540','32')
2023-10-13	12:17:34	48	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:34	48	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:34	48	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859540 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:34	48	[DEBUG]	Store custom available field
2023-10-13	12:17:34	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859540,3,'',1)
2023-10-13	12:17:34	48	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:34	48	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:17:34	48	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859540 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:34	48	[DEBUG]	Store custom available field
2023-10-13	12:17:34	48	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859540,6,'Set',3)
2023-10-13	12:17:34	48	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:34	48	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:34	48	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859539
2023-10-13	12:17:34	48	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:34	48	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1859539\":[1859539,8,1,\"choisir la taille\"],\"1859540\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1859539
2023-10-13	12:17:34	48	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:34	48	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859540
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:34	49	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field taille
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:34	49	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:34	49	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:34	49	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:34	49	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:34	49	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:34	49	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field published
2023-10-13	12:17:34	49	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:34	49	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field override
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:34	49	[DEBUG]	Use field value for field slug
2023-10-13	12:17:34	49	[DEBUG]	Process line 49
2023-10-13	12:17:34	49	[DEBUG]	Load a row
2023-10-13	12:17:34	49	[DEBUG]	Processing item: A_321_12
2023-10-13	12:17:34	49	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:34	49	[DEBUG]	Processing product tax
2023-10-13	12:17:34	49	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:34	49	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:34	49	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:34	49	[DEBUG]	Query for Product
2023-10-13	12:17:34	49	[DEBUG]	Executed store
2023-10-13	12:17:34	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_321_12','0.117','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:34	49	[DEBUG]	Check product language entry
2023-10-13	12:17:34	49	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859541
2023-10-13	12:17:34	49	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:34	49	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_321_12' AND `virtuemart_product_id` != 1859541
2023-10-13	12:17:34	49	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:34	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859541, 'A_321_12')
2023-10-13	12:17:34	49	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:34	49	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-forges-blanc-blanc' AND `virtuemart_product_id` != 1859541
2023-10-13	12:17:34	49	[DEBUG]	Query for ProductLang
2023-10-13	12:17:34	49	[DEBUG]	Executed store
2023-10-13	12:17:34	49	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22,6Ø/85MM/16º , Blanc, 117 gr<br>N° art fourn : BETG1W',`product_name`='MSC EMBOUTS DE GUIDONS MSC forgés Blanc / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-forges-blanc-blanc' WHERE `virtuemart_product_id` = '1859541'
2023-10-13	12:17:34	49	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_363.jpg
2023-10-13	12:17:34	49	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:34	49	[DEBUG]	Process image file
2023-10-13	12:17:34	49	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:34	49	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:34	49	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_363.jpg
2023-10-13	12:17:34	49	[DEBUG]	Full name target: bcprisme/image_363.jpg
2023-10-13	12:17:35	49	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:35	49	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_363.jpg'
2023-10-13	12:17:35	49	[DEBUG]	Query for Media
2023-10-13	12:17:35	49	[DEBUG]	Executed store
2023-10-13	12:17:35	49	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_363.jpg',`file_url_thumb`='bcprisme/image_363.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15657'
2023-10-13	12:17:35	49	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:35	49	[DEBUG]	Executed store
2023-10-13	12:17:35	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859541','15657','1')
2023-10-13	12:17:35	49	[DEBUG]	Store product image relation
2023-10-13	12:17:35	49	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:35	49	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859541 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:35	49	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:35	49	[DEBUG]	Executed store
2023-10-13	12:17:35	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859541','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:35	49	[DEBUG]	Checking manufacturer
2023-10-13	12:17:35	49	[DEBUG]	Load a row
2023-10-13	12:17:35	49	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:35	49	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:35	49	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:35	49	[DEBUG]	Executed store
2023-10-13	12:17:35	49	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:35	49	[DEBUG]	Manufacturer exists
2023-10-13	12:17:35	49	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:35	49	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:35	49	[DEBUG]	Executed store
2023-10-13	12:17:35	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859541','32')
2023-10-13	12:17:35	49	[DEBUG]	Find the custom field ID
2023-10-13	12:17:35	49	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:35	49	[DEBUG]	No custom field ID found
2023-10-13	12:17:35	49	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:35	49	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	12:17:35	49	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859541 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:35	49	[DEBUG]	Store custom available field
2023-10-13	12:17:35	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859541,3,'29.8169444444444',1)
2023-10-13	12:17:35	49	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:35	49	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:35	49	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859541 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:35	49	[DEBUG]	Store custom available field
2023-10-13	12:17:35	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859541,6,'choisir la taille',3)
2023-10-13	12:17:35	49	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:35	49	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:35	49	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:35	49	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:35	49	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859541 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:35	49	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:35	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859541,8,1)
2023-10-13	12:17:35	49	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:35	49	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859541\":[1859541,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859541
2023-10-13	12:17:35	49	[DEBUG]	Checking category
2023-10-13	12:17:35	49	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:35	49	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859541
2023-10-13	12:17:35	49	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:35	49	[DEBUG]	Executed store
2023-10-13	12:17:35	49	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859541','7265')
2023-10-13	12:17:35	49	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:35	49	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859541 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:35	49	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:35	49	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859541
2023-10-13	12:17:35	50	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:35	50	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:35	50	[DEBUG]	Use field value for field taille
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:35	50	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:35	50	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:35	50	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:35	50	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:35	50	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:35	50	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:35	50	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:35	50	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:35	50	[DEBUG]	Use field value for field published
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:35	50	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field override
2023-10-13	12:17:35	50	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:35	50	[DEBUG]	Use field value for field slug
2023-10-13	12:17:35	50	[DEBUG]	Process line 50
2023-10-13	12:17:35	50	[DEBUG]	Load a row
2023-10-13	12:17:35	50	[DEBUG]	Processing item: 8436047359795
2023-10-13	12:17:35	50	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:35	50	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:35	50	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_321_12'
2023-10-13	12:17:35	50	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:35	50	[DEBUG]	Processing product tax
2023-10-13	12:17:35	50	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:35	50	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:35	50	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:35	50	[DEBUG]	Query for Product
2023-10-13	12:17:35	50	[DEBUG]	Executed store
2023-10-13	12:17:35	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859541','8436047359795','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:35	50	[DEBUG]	No parent found
2023-10-13	12:17:35	50	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859541 AND customfield_value = 'stockable'
2023-10-13	12:17:35	50	[DEBUG]	Check product language entry
2023-10-13	12:17:35	50	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859542
2023-10-13	12:17:35	50	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:35	50	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047359795' AND `virtuemart_product_id` != 1859542
2023-10-13	12:17:35	50	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:35	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859542, '8436047359795')
2023-10-13	12:17:35	50	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:35	50	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-forges-blanc-blanc-set' AND `virtuemart_product_id` != 1859542
2023-10-13	12:17:35	50	[DEBUG]	Query for ProductLang
2023-10-13	12:17:35	50	[DEBUG]	Executed store
2023-10-13	12:17:35	50	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC forgés Blanc / Blanc (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-forges-blanc-blanc-set' WHERE `virtuemart_product_id` = '1859542'
2023-10-13	12:17:35	50	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_363.jpg
2023-10-13	12:17:35	50	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:35	50	[DEBUG]	Process image file
2023-10-13	12:17:35	50	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:35	50	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:35	50	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_363.jpg
2023-10-13	12:17:35	50	[DEBUG]	Full name target: bcprisme/image_363.jpg
2023-10-13	12:17:36	50	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:36	50	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_363.jpg'
2023-10-13	12:17:36	50	[DEBUG]	Query for Media
2023-10-13	12:17:36	50	[DEBUG]	Executed store
2023-10-13	12:17:36	50	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_363.jpg',`file_url_thumb`='bcprisme/image_363.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15657'
2023-10-13	12:17:36	50	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:36	50	[DEBUG]	Executed store
2023-10-13	12:17:36	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859542','15657','1')
2023-10-13	12:17:36	50	[DEBUG]	Store product image relation
2023-10-13	12:17:36	50	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:36	50	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859542 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:36	50	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:36	50	[DEBUG]	Executed store
2023-10-13	12:17:36	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859542','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:36	50	[DEBUG]	Checking manufacturer
2023-10-13	12:17:36	50	[DEBUG]	Load a row
2023-10-13	12:17:36	50	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:36	50	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:36	50	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:36	50	[DEBUG]	Executed store
2023-10-13	12:17:36	50	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:36	50	[DEBUG]	Manufacturer exists
2023-10-13	12:17:36	50	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:36	50	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:36	50	[DEBUG]	Executed store
2023-10-13	12:17:36	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859542','32')
2023-10-13	12:17:36	50	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:36	50	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:36	50	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859542 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:36	50	[DEBUG]	Store custom available field
2023-10-13	12:17:36	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859542,3,'',1)
2023-10-13	12:17:36	50	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:36	50	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:17:36	50	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859542 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:36	50	[DEBUG]	Store custom available field
2023-10-13	12:17:36	50	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859542,6,'Set',3)
2023-10-13	12:17:36	50	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:36	50	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:36	50	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859541
2023-10-13	12:17:36	50	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:36	50	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1859541\":[1859541,8,1,\"choisir la taille\"],\"1859542\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1859541
2023-10-13	12:17:36	50	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:36	50	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859542
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:36	51	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field taille
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:36	51	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:36	51	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:36	51	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:36	51	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:36	51	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:36	51	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field published
2023-10-13	12:17:36	51	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:36	51	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field override
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:36	51	[DEBUG]	Use field value for field slug
2023-10-13	12:17:36	51	[DEBUG]	Process line 51
2023-10-13	12:17:36	51	[DEBUG]	Load a row
2023-10-13	12:17:36	51	[DEBUG]	Processing item: A_505_5
2023-10-13	12:17:36	51	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:36	51	[DEBUG]	Processing product tax
2023-10-13	12:17:36	51	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:36	51	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:36	51	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:36	51	[DEBUG]	Query for Product
2023-10-13	12:17:36	51	[DEBUG]	Executed store
2023-10-13	12:17:36	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_505_5','0.056','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:36	51	[DEBUG]	Check product language entry
2023-10-13	12:17:36	51	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859543
2023-10-13	12:17:36	51	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:36	51	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_505_5' AND `virtuemart_product_id` != 1859543
2023-10-13	12:17:36	51	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:36	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859543, 'A_505_5')
2023-10-13	12:17:36	51	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:36	51	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-or' AND `virtuemart_product_id` != 1859543
2023-10-13	12:17:36	51	[DEBUG]	Query for ProductLang
2023-10-13	12:17:36	51	[DEBUG]	Executed store
2023-10-13	12:17:36	51	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22,2Ø/85MM/5º  Avec bouchons de guidon, 56 gr !<br>N° art fourn : EB23',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT alu 7075 T6  / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-or' WHERE `virtuemart_product_id` = '1859543'
2023-10-13	12:17:36	51	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_574.jpg
2023-10-13	12:17:36	51	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:36	51	[DEBUG]	Process image file
2023-10-13	12:17:36	51	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:36	51	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:36	51	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_574.jpg
2023-10-13	12:17:36	51	[DEBUG]	Full name target: bcprisme/image_574.jpg
2023-10-13	12:17:37	51	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:37	51	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_574.jpg'
2023-10-13	12:17:37	51	[DEBUG]	Query for Media
2023-10-13	12:17:37	51	[DEBUG]	Executed store
2023-10-13	12:17:37	51	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_574.jpg',`file_url_thumb`='bcprisme/image_574.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12292'
2023-10-13	12:17:37	51	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:37	51	[DEBUG]	Executed store
2023-10-13	12:17:37	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859543','12292','1')
2023-10-13	12:17:37	51	[DEBUG]	Store product image relation
2023-10-13	12:17:37	51	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:37	51	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859543 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:37	51	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:37	51	[DEBUG]	Executed store
2023-10-13	12:17:37	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859543','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:37	51	[DEBUG]	Checking manufacturer
2023-10-13	12:17:37	51	[DEBUG]	Load a row
2023-10-13	12:17:37	51	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:37	51	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:37	51	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:37	51	[DEBUG]	Executed store
2023-10-13	12:17:37	51	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:37	51	[DEBUG]	Manufacturer exists
2023-10-13	12:17:37	51	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:37	51	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:37	51	[DEBUG]	Executed store
2023-10-13	12:17:37	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859543','32')
2023-10-13	12:17:37	51	[DEBUG]	Find the custom field ID
2023-10-13	12:17:37	51	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:37	51	[DEBUG]	No custom field ID found
2023-10-13	12:17:37	51	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:37	51	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	12:17:37	51	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859543 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:37	51	[DEBUG]	Store custom available field
2023-10-13	12:17:37	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859543,3,'39.7891666666667',1)
2023-10-13	12:17:37	51	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:37	51	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:37	51	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859543 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:37	51	[DEBUG]	Store custom available field
2023-10-13	12:17:37	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859543,6,'choisir la taille',3)
2023-10-13	12:17:37	51	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:37	51	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:37	51	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:37	51	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:37	51	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859543 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:37	51	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:37	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859543,8,1)
2023-10-13	12:17:37	51	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:37	51	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859543\":[1859543,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859543
2023-10-13	12:17:37	51	[DEBUG]	Checking category
2023-10-13	12:17:37	51	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:37	51	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859543
2023-10-13	12:17:37	51	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:37	51	[DEBUG]	Executed store
2023-10-13	12:17:37	51	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859543','7265')
2023-10-13	12:17:37	51	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:37	51	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859543 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:37	51	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:37	51	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859543
2023-10-13	12:17:37	52	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:37	52	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:37	52	[DEBUG]	Use field value for field taille
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:37	52	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:37	52	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:37	52	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:37	52	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:37	52	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:37	52	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:37	52	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:37	52	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:37	52	[DEBUG]	Use field value for field published
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:37	52	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field override
2023-10-13	12:17:37	52	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:37	52	[DEBUG]	Use field value for field slug
2023-10-13	12:17:37	52	[DEBUG]	Process line 52
2023-10-13	12:17:37	52	[DEBUG]	Load a row
2023-10-13	12:17:37	52	[DEBUG]	Processing item: 8436047357357
2023-10-13	12:17:37	52	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:37	52	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:37	52	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_505_5'
2023-10-13	12:17:37	52	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:37	52	[DEBUG]	Processing product tax
2023-10-13	12:17:37	52	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:37	52	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:37	52	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:37	52	[DEBUG]	Query for Product
2023-10-13	12:17:37	52	[DEBUG]	Executed store
2023-10-13	12:17:37	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859543','8436047357357','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:37	52	[DEBUG]	No parent found
2023-10-13	12:17:37	52	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859543 AND customfield_value = 'stockable'
2023-10-13	12:17:37	52	[DEBUG]	Check product language entry
2023-10-13	12:17:37	52	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859544
2023-10-13	12:17:37	52	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:37	52	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357357' AND `virtuemart_product_id` != 1859544
2023-10-13	12:17:37	52	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:37	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859544, '8436047357357')
2023-10-13	12:17:37	52	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:37	52	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-or-set' AND `virtuemart_product_id` != 1859544
2023-10-13	12:17:37	52	[DEBUG]	Query for ProductLang
2023-10-13	12:17:37	52	[DEBUG]	Executed store
2023-10-13	12:17:37	52	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT alu 7075 T6  / Or (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-or-set' WHERE `virtuemart_product_id` = '1859544'
2023-10-13	12:17:37	52	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_574.jpg
2023-10-13	12:17:37	52	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:37	52	[DEBUG]	Process image file
2023-10-13	12:17:37	52	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:37	52	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:37	52	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_574.jpg
2023-10-13	12:17:37	52	[DEBUG]	Full name target: bcprisme/image_574.jpg
2023-10-13	12:17:38	52	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:38	52	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_574.jpg'
2023-10-13	12:17:38	52	[DEBUG]	Query for Media
2023-10-13	12:17:38	52	[DEBUG]	Executed store
2023-10-13	12:17:38	52	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_574.jpg',`file_url_thumb`='bcprisme/image_574.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12292'
2023-10-13	12:17:38	52	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:38	52	[DEBUG]	Executed store
2023-10-13	12:17:38	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859544','12292','1')
2023-10-13	12:17:38	52	[DEBUG]	Store product image relation
2023-10-13	12:17:38	52	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:38	52	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859544 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:38	52	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:38	52	[DEBUG]	Executed store
2023-10-13	12:17:38	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859544','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:38	52	[DEBUG]	Checking manufacturer
2023-10-13	12:17:38	52	[DEBUG]	Load a row
2023-10-13	12:17:38	52	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:38	52	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:38	52	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:38	52	[DEBUG]	Executed store
2023-10-13	12:17:38	52	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:38	52	[DEBUG]	Manufacturer exists
2023-10-13	12:17:38	52	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:38	52	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:38	52	[DEBUG]	Executed store
2023-10-13	12:17:38	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859544','32')
2023-10-13	12:17:38	52	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:38	52	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:38	52	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859544 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:38	52	[DEBUG]	Store custom available field
2023-10-13	12:17:38	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859544,3,'',1)
2023-10-13	12:17:38	52	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:38	52	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:17:38	52	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859544 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:38	52	[DEBUG]	Store custom available field
2023-10-13	12:17:38	52	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859544,6,'Set',3)
2023-10-13	12:17:38	52	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:38	52	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:38	52	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859543
2023-10-13	12:17:38	52	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:38	52	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1859543\":[1859543,8,1,\"choisir la taille\"],\"1859544\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1859543
2023-10-13	12:17:38	52	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:38	52	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859544
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:38	53	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field taille
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:38	53	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:38	53	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:38	53	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:38	53	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:38	53	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:38	53	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field published
2023-10-13	12:17:38	53	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:38	53	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field override
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:38	53	[DEBUG]	Use field value for field slug
2023-10-13	12:17:38	53	[DEBUG]	Process line 53
2023-10-13	12:17:38	53	[DEBUG]	Load a row
2023-10-13	12:17:38	53	[DEBUG]	Processing item: A_505_7
2023-10-13	12:17:38	53	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:38	53	[DEBUG]	Processing product tax
2023-10-13	12:17:38	53	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:38	53	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:38	53	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:38	53	[DEBUG]	Query for Product
2023-10-13	12:17:38	53	[DEBUG]	Executed store
2023-10-13	12:17:38	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_505_7','0.056','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:38	53	[DEBUG]	Check product language entry
2023-10-13	12:17:38	53	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859545
2023-10-13	12:17:38	53	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:38	53	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_505_7' AND `virtuemart_product_id` != 1859545
2023-10-13	12:17:38	53	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:38	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859545, 'A_505_7')
2023-10-13	12:17:38	53	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:38	53	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-rouge' AND `virtuemart_product_id` != 1859545
2023-10-13	12:17:38	53	[DEBUG]	Query for ProductLang
2023-10-13	12:17:38	53	[DEBUG]	Executed store
2023-10-13	12:17:38	53	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22,2Ø/85MM/5º  Avec bouchons de guidon, 56 gr !<br>N° art fourn : EB23',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT alu 7075 T6  / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-rouge' WHERE `virtuemart_product_id` = '1859545'
2023-10-13	12:17:38	53	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_576.jpg
2023-10-13	12:17:38	53	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:38	53	[DEBUG]	Process image file
2023-10-13	12:17:38	53	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:38	53	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:38	53	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_576.jpg
2023-10-13	12:17:38	53	[DEBUG]	Full name target: bcprisme/image_576.jpg
2023-10-13	12:17:40	53	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:40	53	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_576.jpg'
2023-10-13	12:17:40	53	[DEBUG]	Query for Media
2023-10-13	12:17:40	53	[DEBUG]	Executed store
2023-10-13	12:17:40	53	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_576.jpg',`file_url_thumb`='bcprisme/image_576.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12293'
2023-10-13	12:17:40	53	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:40	53	[DEBUG]	Executed store
2023-10-13	12:17:40	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859545','12293','1')
2023-10-13	12:17:40	53	[DEBUG]	Store product image relation
2023-10-13	12:17:40	53	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:40	53	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859545 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:40	53	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:40	53	[DEBUG]	Executed store
2023-10-13	12:17:40	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859545','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:40	53	[DEBUG]	Checking manufacturer
2023-10-13	12:17:40	53	[DEBUG]	Load a row
2023-10-13	12:17:40	53	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:40	53	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:40	53	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:40	53	[DEBUG]	Executed store
2023-10-13	12:17:40	53	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:40	53	[DEBUG]	Manufacturer exists
2023-10-13	12:17:40	53	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:40	53	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:40	53	[DEBUG]	Executed store
2023-10-13	12:17:40	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859545','32')
2023-10-13	12:17:40	53	[DEBUG]	Find the custom field ID
2023-10-13	12:17:40	53	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:40	53	[DEBUG]	No custom field ID found
2023-10-13	12:17:40	53	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:40	53	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	12:17:40	53	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859545 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:40	53	[DEBUG]	Store custom available field
2023-10-13	12:17:40	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859545,3,'39.7891666666667',1)
2023-10-13	12:17:40	53	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:40	53	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:40	53	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859545 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:40	53	[DEBUG]	Store custom available field
2023-10-13	12:17:40	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859545,6,'choisir la taille',3)
2023-10-13	12:17:40	53	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:40	53	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:40	53	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:40	53	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:40	53	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859545 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:40	53	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:40	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859545,8,1)
2023-10-13	12:17:40	53	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:40	53	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859545\":[1859545,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859545
2023-10-13	12:17:40	53	[DEBUG]	Checking category
2023-10-13	12:17:40	53	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:40	53	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859545
2023-10-13	12:17:40	53	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:40	53	[DEBUG]	Executed store
2023-10-13	12:17:40	53	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859545','7265')
2023-10-13	12:17:40	53	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:40	53	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859545 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:40	53	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:40	53	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859545
2023-10-13	12:17:40	54	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:40	54	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:40	54	[DEBUG]	Use field value for field taille
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:40	54	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:40	54	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:40	54	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:40	54	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:40	54	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:40	54	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:40	54	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:40	54	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:40	54	[DEBUG]	Use field value for field published
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:40	54	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field override
2023-10-13	12:17:40	54	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:40	54	[DEBUG]	Use field value for field slug
2023-10-13	12:17:40	54	[DEBUG]	Process line 54
2023-10-13	12:17:40	54	[DEBUG]	Load a row
2023-10-13	12:17:40	54	[DEBUG]	Processing item: 8436047357319
2023-10-13	12:17:40	54	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:40	54	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:40	54	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_505_7'
2023-10-13	12:17:40	54	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:40	54	[DEBUG]	Processing product tax
2023-10-13	12:17:40	54	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:40	54	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:40	54	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:40	54	[DEBUG]	Query for Product
2023-10-13	12:17:40	54	[DEBUG]	Executed store
2023-10-13	12:17:40	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859545','8436047357319','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:40	54	[DEBUG]	No parent found
2023-10-13	12:17:40	54	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859545 AND customfield_value = 'stockable'
2023-10-13	12:17:40	54	[DEBUG]	Check product language entry
2023-10-13	12:17:40	54	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859546
2023-10-13	12:17:40	54	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:40	54	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357319' AND `virtuemart_product_id` != 1859546
2023-10-13	12:17:40	54	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:40	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859546, '8436047357319')
2023-10-13	12:17:40	54	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:40	54	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-rouge-set' AND `virtuemart_product_id` != 1859546
2023-10-13	12:17:40	54	[DEBUG]	Query for ProductLang
2023-10-13	12:17:40	54	[DEBUG]	Executed store
2023-10-13	12:17:40	54	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT alu 7075 T6  / Rouge (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-rouge-set' WHERE `virtuemart_product_id` = '1859546'
2023-10-13	12:17:40	54	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_576.jpg
2023-10-13	12:17:40	54	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:40	54	[DEBUG]	Process image file
2023-10-13	12:17:40	54	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:40	54	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:40	54	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_576.jpg
2023-10-13	12:17:40	54	[DEBUG]	Full name target: bcprisme/image_576.jpg
2023-10-13	12:17:41	54	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:41	54	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_576.jpg'
2023-10-13	12:17:41	54	[DEBUG]	Query for Media
2023-10-13	12:17:41	54	[DEBUG]	Executed store
2023-10-13	12:17:41	54	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_576.jpg',`file_url_thumb`='bcprisme/image_576.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12293'
2023-10-13	12:17:41	54	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:41	54	[DEBUG]	Executed store
2023-10-13	12:17:41	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859546','12293','1')
2023-10-13	12:17:41	54	[DEBUG]	Store product image relation
2023-10-13	12:17:41	54	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:41	54	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859546 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:41	54	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:41	54	[DEBUG]	Executed store
2023-10-13	12:17:41	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859546','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:41	54	[DEBUG]	Checking manufacturer
2023-10-13	12:17:41	54	[DEBUG]	Load a row
2023-10-13	12:17:41	54	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:41	54	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:41	54	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:41	54	[DEBUG]	Executed store
2023-10-13	12:17:41	54	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:41	54	[DEBUG]	Manufacturer exists
2023-10-13	12:17:41	54	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:41	54	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:41	54	[DEBUG]	Executed store
2023-10-13	12:17:41	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859546','32')
2023-10-13	12:17:41	54	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:41	54	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:41	54	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859546 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:41	54	[DEBUG]	Store custom available field
2023-10-13	12:17:41	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859546,3,'',1)
2023-10-13	12:17:41	54	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:41	54	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:17:41	54	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859546 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:41	54	[DEBUG]	Store custom available field
2023-10-13	12:17:41	54	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859546,6,'Set',3)
2023-10-13	12:17:41	54	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:41	54	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:41	54	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859545
2023-10-13	12:17:41	54	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:41	54	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1859545\":[1859545,8,1,\"choisir la taille\"],\"1859546\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1859545
2023-10-13	12:17:41	54	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:41	54	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859546
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:41	55	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field taille
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:41	55	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:41	55	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:41	55	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:41	55	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:41	55	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:41	55	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field published
2023-10-13	12:17:41	55	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:41	55	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field override
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:41	55	[DEBUG]	Use field value for field slug
2023-10-13	12:17:41	55	[DEBUG]	Process line 55
2023-10-13	12:17:41	55	[DEBUG]	Load a row
2023-10-13	12:17:41	55	[DEBUG]	Processing item: A_505_22
2023-10-13	12:17:41	55	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:41	55	[DEBUG]	Processing product tax
2023-10-13	12:17:41	55	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:41	55	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:41	55	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:41	55	[DEBUG]	Query for Product
2023-10-13	12:17:41	55	[DEBUG]	Executed store
2023-10-13	12:17:41	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_505_22','0.056','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:41	55	[DEBUG]	Check product language entry
2023-10-13	12:17:41	55	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859547
2023-10-13	12:17:41	55	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:41	55	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_505_22' AND `virtuemart_product_id` != 1859547
2023-10-13	12:17:41	55	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:41	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859547, 'A_505_22')
2023-10-13	12:17:41	55	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:41	55	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-bleu' AND `virtuemart_product_id` != 1859547
2023-10-13	12:17:41	55	[DEBUG]	Query for ProductLang
2023-10-13	12:17:41	55	[DEBUG]	Executed store
2023-10-13	12:17:41	55	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22,2Ø/85MM/5º  Avec bouchons de guidon, 56 gr !<br>N° art fourn : EB23',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT alu 7075 T6  / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-bleu' WHERE `virtuemart_product_id` = '1859547'
2023-10-13	12:17:41	55	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_572.jpg
2023-10-13	12:17:41	55	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:41	55	[DEBUG]	Process image file
2023-10-13	12:17:41	55	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:41	55	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:41	55	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_572.jpg
2023-10-13	12:17:41	55	[DEBUG]	Full name target: bcprisme/image_572.jpg
2023-10-13	12:17:42	55	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:42	55	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_572.jpg'
2023-10-13	12:17:42	55	[DEBUG]	Query for Media
2023-10-13	12:17:42	55	[DEBUG]	Executed store
2023-10-13	12:17:42	55	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_572.jpg',`file_url_thumb`='bcprisme/image_572.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12295'
2023-10-13	12:17:42	55	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:42	55	[DEBUG]	Executed store
2023-10-13	12:17:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859547','12295','1')
2023-10-13	12:17:42	55	[DEBUG]	Store product image relation
2023-10-13	12:17:42	55	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:42	55	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859547 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:42	55	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:42	55	[DEBUG]	Executed store
2023-10-13	12:17:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859547','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:42	55	[DEBUG]	Checking manufacturer
2023-10-13	12:17:42	55	[DEBUG]	Load a row
2023-10-13	12:17:42	55	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:42	55	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:42	55	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:42	55	[DEBUG]	Executed store
2023-10-13	12:17:42	55	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:42	55	[DEBUG]	Manufacturer exists
2023-10-13	12:17:42	55	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:42	55	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:42	55	[DEBUG]	Executed store
2023-10-13	12:17:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859547','32')
2023-10-13	12:17:42	55	[DEBUG]	Find the custom field ID
2023-10-13	12:17:42	55	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:42	55	[DEBUG]	No custom field ID found
2023-10-13	12:17:42	55	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:42	55	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	12:17:42	55	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859547 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:42	55	[DEBUG]	Store custom available field
2023-10-13	12:17:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859547,3,'39.7891666666667',1)
2023-10-13	12:17:42	55	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:42	55	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:42	55	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859547 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:42	55	[DEBUG]	Store custom available field
2023-10-13	12:17:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859547,6,'choisir la taille',3)
2023-10-13	12:17:42	55	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:42	55	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:42	55	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:42	55	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:42	55	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859547 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:42	55	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859547,8,1)
2023-10-13	12:17:42	55	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:42	55	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859547\":[1859547,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859547
2023-10-13	12:17:42	55	[DEBUG]	Checking category
2023-10-13	12:17:42	55	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:42	55	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859547
2023-10-13	12:17:42	55	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:42	55	[DEBUG]	Executed store
2023-10-13	12:17:42	55	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859547','7265')
2023-10-13	12:17:42	55	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:42	55	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859547 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:42	55	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:42	55	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859547
2023-10-13	12:17:42	56	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:42	56	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:42	56	[DEBUG]	Use field value for field taille
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:42	56	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:42	56	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:42	56	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:42	56	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:42	56	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:42	56	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:42	56	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:42	56	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:42	56	[DEBUG]	Use field value for field published
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:42	56	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field override
2023-10-13	12:17:42	56	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:42	56	[DEBUG]	Use field value for field slug
2023-10-13	12:17:42	56	[DEBUG]	Process line 56
2023-10-13	12:17:42	56	[DEBUG]	Load a row
2023-10-13	12:17:42	56	[DEBUG]	Processing item: 8436047357333
2023-10-13	12:17:42	56	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:42	56	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:42	56	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_505_22'
2023-10-13	12:17:42	56	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:42	56	[DEBUG]	Processing product tax
2023-10-13	12:17:42	56	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:42	56	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:42	56	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:42	56	[DEBUG]	Query for Product
2023-10-13	12:17:42	56	[DEBUG]	Executed store
2023-10-13	12:17:42	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859547','8436047357333','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:42	56	[DEBUG]	No parent found
2023-10-13	12:17:42	56	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859547 AND customfield_value = 'stockable'
2023-10-13	12:17:42	56	[DEBUG]	Check product language entry
2023-10-13	12:17:42	56	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859548
2023-10-13	12:17:42	56	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:42	56	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357333' AND `virtuemart_product_id` != 1859548
2023-10-13	12:17:42	56	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:42	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859548, '8436047357333')
2023-10-13	12:17:42	56	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:42	56	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-bleu-set' AND `virtuemart_product_id` != 1859548
2023-10-13	12:17:42	56	[DEBUG]	Query for ProductLang
2023-10-13	12:17:42	56	[DEBUG]	Executed store
2023-10-13	12:17:42	56	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ULTRALIGHT alu 7075 T6  / Bleu (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ultralight-alu-7075-t6-bleu-set' WHERE `virtuemart_product_id` = '1859548'
2023-10-13	12:17:42	56	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_572.jpg
2023-10-13	12:17:42	56	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:42	56	[DEBUG]	Process image file
2023-10-13	12:17:42	56	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:17:42	56	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:42	56	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_572.jpg
2023-10-13	12:17:42	56	[DEBUG]	Full name target: bcprisme/image_572.jpg
2023-10-13	12:17:43	56	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:43	56	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_572.jpg'
2023-10-13	12:17:43	56	[DEBUG]	Query for Media
2023-10-13	12:17:43	56	[DEBUG]	Executed store
2023-10-13	12:17:43	56	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_572.jpg',`file_url_thumb`='bcprisme/image_572.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12295'
2023-10-13	12:17:43	56	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:43	56	[DEBUG]	Executed store
2023-10-13	12:17:43	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859548','12295','1')
2023-10-13	12:17:43	56	[DEBUG]	Store product image relation
2023-10-13	12:17:43	56	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:43	56	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859548 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:43	56	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:43	56	[DEBUG]	Executed store
2023-10-13	12:17:43	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859548','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:43	56	[DEBUG]	Checking manufacturer
2023-10-13	12:17:43	56	[DEBUG]	Load a row
2023-10-13	12:17:43	56	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:43	56	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:43	56	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:43	56	[DEBUG]	Executed store
2023-10-13	12:17:43	56	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:43	56	[DEBUG]	Manufacturer exists
2023-10-13	12:17:43	56	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:43	56	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:43	56	[DEBUG]	Executed store
2023-10-13	12:17:43	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859548','32')
2023-10-13	12:17:43	56	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:43	56	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:43	56	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859548 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:43	56	[DEBUG]	Store custom available field
2023-10-13	12:17:43	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859548,3,'',1)
2023-10-13	12:17:43	56	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:43	56	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:17:43	56	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859548 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:43	56	[DEBUG]	Store custom available field
2023-10-13	12:17:43	56	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859548,6,'Set',3)
2023-10-13	12:17:43	56	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:43	56	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:43	56	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859547
2023-10-13	12:17:43	56	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:43	56	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1859547\":[1859547,8,1,\"choisir la taille\"],\"1859548\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1859547
2023-10-13	12:17:43	56	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:43	56	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859548
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:43	57	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field taille
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:43	57	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:43	57	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:43	57	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:43	57	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:43	57	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:43	57	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:43	57	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field published
2023-10-13	12:17:43	57	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:43	57	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field override
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:43	57	[DEBUG]	Use field value for field slug
2023-10-13	12:17:43	57	[DEBUG]	Process line 57
2023-10-13	12:17:43	57	[DEBUG]	Load a row
2023-10-13	12:17:43	57	[DEBUG]	Processing item: A_1512_5
2023-10-13	12:17:43	57	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:43	57	[DEBUG]	Processing product tax
2023-10-13	12:17:43	57	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:43	57	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:43	57	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:43	57	[DEBUG]	Query for Product
2023-10-13	12:17:43	57	[DEBUG]	Executed store
2023-10-13	12:17:43	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1512_5','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:43	57	[DEBUG]	Check product language entry
2023-10-13	12:17:43	57	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859549
2023-10-13	12:17:43	57	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:43	57	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1512_5' AND `virtuemart_product_id` != 1859549
2023-10-13	12:17:43	57	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:43	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859549, 'A_1512_5')
2023-10-13	12:17:43	57	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:43	57	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-cornes-or' AND `virtuemart_product_id` != 1859549
2023-10-13	12:17:43	57	[DEBUG]	Query for ProductLang
2023-10-13	12:17:43	57	[DEBUG]	Executed store
2023-10-13	12:17:43	57	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Bouchons de cornes, 2 unités pour cornes Aluminium<br>N° art fourn : TAPALUBE',`product_name`='MSC BOUCHON DE CORNES / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-cornes-or' WHERE `virtuemart_product_id` = '1859549'
2023-10-13	12:17:43	57	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3459.jpg
2023-10-13	12:17:43	57	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:43	57	[DEBUG]	Process image file
2023-10-13	12:17:43	57	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:43	57	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:43	57	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3459.jpg
2023-10-13	12:17:43	57	[DEBUG]	Full name target: bcprisme/image_3459.jpg
2023-10-13	12:17:44	57	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:44	57	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3459.jpg'
2023-10-13	12:17:44	57	[DEBUG]	Query for Media
2023-10-13	12:17:44	57	[DEBUG]	Executed store
2023-10-13	12:17:44	57	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3459.jpg',`file_url_thumb`='bcprisme/image_3459.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15658'
2023-10-13	12:17:44	57	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:44	57	[DEBUG]	Executed store
2023-10-13	12:17:44	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859549','15658','1')
2023-10-13	12:17:45	57	[DEBUG]	Store product image relation
2023-10-13	12:17:45	57	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:45	57	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859549 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:45	57	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:45	57	[DEBUG]	Executed store
2023-10-13	12:17:45	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859549','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:45	57	[DEBUG]	Checking manufacturer
2023-10-13	12:17:45	57	[DEBUG]	Load a row
2023-10-13	12:17:45	57	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:45	57	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:45	57	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:45	57	[DEBUG]	Executed store
2023-10-13	12:17:45	57	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:45	57	[DEBUG]	Manufacturer exists
2023-10-13	12:17:45	57	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:45	57	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:45	57	[DEBUG]	Executed store
2023-10-13	12:17:45	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859549','32')
2023-10-13	12:17:45	57	[DEBUG]	Find the custom field ID
2023-10-13	12:17:45	57	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:45	57	[DEBUG]	No custom field ID found
2023-10-13	12:17:45	57	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:45	57	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	12:17:45	57	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859549 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:45	57	[DEBUG]	Store custom available field
2023-10-13	12:17:45	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859549,3,'8.87527777777778',1)
2023-10-13	12:17:45	57	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:45	57	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:45	57	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859549 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:45	57	[DEBUG]	Store custom available field
2023-10-13	12:17:45	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859549,6,'choisir la taille',3)
2023-10-13	12:17:45	57	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:45	57	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:45	57	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:45	57	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:45	57	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859549 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:45	57	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:45	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859549,8,1)
2023-10-13	12:17:45	57	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:45	57	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859549\":[1859549,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859549
2023-10-13	12:17:45	57	[DEBUG]	Checking category
2023-10-13	12:17:45	57	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:45	57	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859549
2023-10-13	12:17:45	57	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:45	57	[DEBUG]	Executed store
2023-10-13	12:17:45	57	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859549','7265')
2023-10-13	12:17:45	57	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:45	57	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859549 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:45	57	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:45	57	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859549
2023-10-13	12:17:45	58	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:45	58	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:45	58	[DEBUG]	Use field value for field taille
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:45	58	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:45	58	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:45	58	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:45	58	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:45	58	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:45	58	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:45	58	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:45	58	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:45	58	[DEBUG]	Use field value for field published
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:45	58	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field override
2023-10-13	12:17:45	58	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:45	58	[DEBUG]	Use field value for field slug
2023-10-13	12:17:45	58	[DEBUG]	Process line 58
2023-10-13	12:17:45	58	[DEBUG]	Load a row
2023-10-13	12:17:45	58	[DEBUG]	Processing item: 1000000026467
2023-10-13	12:17:45	58	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:45	58	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:45	58	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1512_5'
2023-10-13	12:17:45	58	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:45	58	[DEBUG]	Processing product tax
2023-10-13	12:17:45	58	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:45	58	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:45	58	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:45	58	[DEBUG]	Query for Product
2023-10-13	12:17:45	58	[DEBUG]	Executed store
2023-10-13	12:17:45	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859549','1000000026467','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:45	58	[DEBUG]	No parent found
2023-10-13	12:17:45	58	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859549 AND customfield_value = 'stockable'
2023-10-13	12:17:45	58	[DEBUG]	Check product language entry
2023-10-13	12:17:45	58	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859550
2023-10-13	12:17:45	58	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:45	58	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000026467' AND `virtuemart_product_id` != 1859550
2023-10-13	12:17:45	58	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:45	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859550, '1000000026467')
2023-10-13	12:17:45	58	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:45	58	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-cornes-or-unitaire' AND `virtuemart_product_id` != 1859550
2023-10-13	12:17:45	58	[DEBUG]	Query for ProductLang
2023-10-13	12:17:45	58	[DEBUG]	Executed store
2023-10-13	12:17:45	58	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC BOUCHON DE CORNES / Or (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-cornes-or-unitaire' WHERE `virtuemart_product_id` = '1859550'
2023-10-13	12:17:45	58	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3459.jpg
2023-10-13	12:17:45	58	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:45	58	[DEBUG]	Process image file
2023-10-13	12:17:45	58	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:45	58	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:45	58	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3459.jpg
2023-10-13	12:17:45	58	[DEBUG]	Full name target: bcprisme/image_3459.jpg
2023-10-13	12:17:46	58	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:46	58	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3459.jpg'
2023-10-13	12:17:46	58	[DEBUG]	Query for Media
2023-10-13	12:17:46	58	[DEBUG]	Executed store
2023-10-13	12:17:46	58	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3459.jpg',`file_url_thumb`='bcprisme/image_3459.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15658'
2023-10-13	12:17:46	58	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:46	58	[DEBUG]	Executed store
2023-10-13	12:17:46	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859550','15658','1')
2023-10-13	12:17:46	58	[DEBUG]	Store product image relation
2023-10-13	12:17:46	58	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:46	58	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859550 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:46	58	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:46	58	[DEBUG]	Executed store
2023-10-13	12:17:46	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859550','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:46	58	[DEBUG]	Checking manufacturer
2023-10-13	12:17:46	58	[DEBUG]	Load a row
2023-10-13	12:17:46	58	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:46	58	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:46	58	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:46	58	[DEBUG]	Executed store
2023-10-13	12:17:46	58	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:46	58	[DEBUG]	Manufacturer exists
2023-10-13	12:17:46	58	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:46	58	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:46	58	[DEBUG]	Executed store
2023-10-13	12:17:46	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859550','32')
2023-10-13	12:17:46	58	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:46	58	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:46	58	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859550 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:46	58	[DEBUG]	Store custom available field
2023-10-13	12:17:46	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859550,3,'',1)
2023-10-13	12:17:46	58	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:46	58	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:46	58	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859550 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:46	58	[DEBUG]	Store custom available field
2023-10-13	12:17:46	58	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859550,6,'Unitaire',3)
2023-10-13	12:17:46	58	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:46	58	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:46	58	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859549
2023-10-13	12:17:46	58	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:46	58	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859549\":[1859549,8,1,\"choisir la taille\"],\"1859550\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859549
2023-10-13	12:17:46	58	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:46	58	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859550
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:46	59	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field taille
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:46	59	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:46	59	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:46	59	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:46	59	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:46	59	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:46	59	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:46	59	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field published
2023-10-13	12:17:46	59	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:46	59	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field override
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:46	59	[DEBUG]	Use field value for field slug
2023-10-13	12:17:46	59	[DEBUG]	Process line 59
2023-10-13	12:17:46	59	[DEBUG]	Load a row
2023-10-13	12:17:46	59	[DEBUG]	Processing item: A_1512_12
2023-10-13	12:17:46	59	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:46	59	[DEBUG]	Processing product tax
2023-10-13	12:17:46	59	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:46	59	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:46	59	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:46	59	[DEBUG]	Query for Product
2023-10-13	12:17:46	59	[DEBUG]	Executed store
2023-10-13	12:17:46	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1512_12','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:46	59	[DEBUG]	Check product language entry
2023-10-13	12:17:46	59	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859551
2023-10-13	12:17:46	59	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:46	59	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1512_12' AND `virtuemart_product_id` != 1859551
2023-10-13	12:17:46	59	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:46	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859551, 'A_1512_12')
2023-10-13	12:17:46	59	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:46	59	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-cornes-blanc' AND `virtuemart_product_id` != 1859551
2023-10-13	12:17:46	59	[DEBUG]	Query for ProductLang
2023-10-13	12:17:46	59	[DEBUG]	Executed store
2023-10-13	12:17:46	59	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Bouchons de cornes, 2 unités pour cornes Aluminium<br>N° art fourn : TAPALUBE',`product_name`='MSC BOUCHON DE CORNES / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-cornes-blanc' WHERE `virtuemart_product_id` = '1859551'
2023-10-13	12:17:46	59	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3460.jpg
2023-10-13	12:17:46	59	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:46	59	[DEBUG]	Process image file
2023-10-13	12:17:46	59	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:46	59	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:46	59	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3460.jpg
2023-10-13	12:17:46	59	[DEBUG]	Full name target: bcprisme/image_3460.jpg
2023-10-13	12:17:47	59	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:47	59	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3460.jpg'
2023-10-13	12:17:47	59	[DEBUG]	Query for Media
2023-10-13	12:17:47	59	[DEBUG]	Executed store
2023-10-13	12:17:47	59	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3460.jpg',`file_url_thumb`='bcprisme/image_3460.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15659'
2023-10-13	12:17:47	59	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:47	59	[DEBUG]	Executed store
2023-10-13	12:17:47	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859551','15659','1')
2023-10-13	12:17:47	59	[DEBUG]	Store product image relation
2023-10-13	12:17:47	59	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:47	59	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859551 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:47	59	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:47	59	[DEBUG]	Executed store
2023-10-13	12:17:47	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859551','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:47	59	[DEBUG]	Checking manufacturer
2023-10-13	12:17:47	59	[DEBUG]	Load a row
2023-10-13	12:17:47	59	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:47	59	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:47	59	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:47	59	[DEBUG]	Executed store
2023-10-13	12:17:47	59	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:47	59	[DEBUG]	Manufacturer exists
2023-10-13	12:17:47	59	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:47	59	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:47	59	[DEBUG]	Executed store
2023-10-13	12:17:47	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859551','32')
2023-10-13	12:17:47	59	[DEBUG]	Find the custom field ID
2023-10-13	12:17:47	59	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:47	59	[DEBUG]	No custom field ID found
2023-10-13	12:17:47	59	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:47	59	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	12:17:47	59	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859551 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:47	59	[DEBUG]	Store custom available field
2023-10-13	12:17:47	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859551,3,'8.87527777777778',1)
2023-10-13	12:17:47	59	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:47	59	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:47	59	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859551 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:47	59	[DEBUG]	Store custom available field
2023-10-13	12:17:47	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859551,6,'choisir la taille',3)
2023-10-13	12:17:47	59	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:47	59	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:47	59	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:47	59	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:47	59	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859551 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:47	59	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:47	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859551,8,1)
2023-10-13	12:17:47	59	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:47	59	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859551\":[1859551,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859551
2023-10-13	12:17:47	59	[DEBUG]	Checking category
2023-10-13	12:17:47	59	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:47	59	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859551
2023-10-13	12:17:47	59	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:47	59	[DEBUG]	Executed store
2023-10-13	12:17:47	59	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859551','7265')
2023-10-13	12:17:47	59	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:47	59	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859551 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:47	59	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:47	59	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859551
2023-10-13	12:17:47	60	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:47	60	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:47	60	[DEBUG]	Use field value for field taille
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:47	60	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:47	60	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:47	60	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:47	60	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:47	60	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:47	60	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:47	60	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:47	60	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:47	60	[DEBUG]	Use field value for field published
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:47	60	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field override
2023-10-13	12:17:47	60	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:47	60	[DEBUG]	Use field value for field slug
2023-10-13	12:17:47	60	[DEBUG]	Process line 60
2023-10-13	12:17:47	60	[DEBUG]	Load a row
2023-10-13	12:17:47	60	[DEBUG]	Processing item: 1000000026474
2023-10-13	12:17:47	60	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:47	60	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:47	60	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1512_12'
2023-10-13	12:17:47	60	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:47	60	[DEBUG]	Processing product tax
2023-10-13	12:17:47	60	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:47	60	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:47	60	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:47	60	[DEBUG]	Query for Product
2023-10-13	12:17:47	60	[DEBUG]	Executed store
2023-10-13	12:17:47	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859551','1000000026474','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:47	60	[DEBUG]	No parent found
2023-10-13	12:17:47	60	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859551 AND customfield_value = 'stockable'
2023-10-13	12:17:47	60	[DEBUG]	Check product language entry
2023-10-13	12:17:47	60	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859552
2023-10-13	12:17:47	60	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:47	60	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000026474' AND `virtuemart_product_id` != 1859552
2023-10-13	12:17:47	60	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:47	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859552, '1000000026474')
2023-10-13	12:17:47	60	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:47	60	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-cornes-blanc-unitaire' AND `virtuemart_product_id` != 1859552
2023-10-13	12:17:47	60	[DEBUG]	Query for ProductLang
2023-10-13	12:17:47	60	[DEBUG]	Executed store
2023-10-13	12:17:47	60	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC BOUCHON DE CORNES / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-cornes-blanc-unitaire' WHERE `virtuemart_product_id` = '1859552'
2023-10-13	12:17:47	60	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3460.jpg
2023-10-13	12:17:47	60	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:47	60	[DEBUG]	Process image file
2023-10-13	12:17:47	60	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:47	60	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:47	60	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3460.jpg
2023-10-13	12:17:47	60	[DEBUG]	Full name target: bcprisme/image_3460.jpg
2023-10-13	12:17:48	60	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:48	60	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3460.jpg'
2023-10-13	12:17:48	60	[DEBUG]	Query for Media
2023-10-13	12:17:48	60	[DEBUG]	Executed store
2023-10-13	12:17:48	60	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3460.jpg',`file_url_thumb`='bcprisme/image_3460.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15659'
2023-10-13	12:17:48	60	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:48	60	[DEBUG]	Executed store
2023-10-13	12:17:48	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859552','15659','1')
2023-10-13	12:17:48	60	[DEBUG]	Store product image relation
2023-10-13	12:17:48	60	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:48	60	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859552 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:48	60	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:48	60	[DEBUG]	Executed store
2023-10-13	12:17:48	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859552','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:48	60	[DEBUG]	Checking manufacturer
2023-10-13	12:17:48	60	[DEBUG]	Load a row
2023-10-13	12:17:48	60	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:48	60	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:48	60	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:48	60	[DEBUG]	Executed store
2023-10-13	12:17:48	60	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:48	60	[DEBUG]	Manufacturer exists
2023-10-13	12:17:48	60	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:48	60	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:48	60	[DEBUG]	Executed store
2023-10-13	12:17:48	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859552','32')
2023-10-13	12:17:48	60	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:48	60	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:48	60	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859552 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:48	60	[DEBUG]	Store custom available field
2023-10-13	12:17:48	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859552,3,'',1)
2023-10-13	12:17:48	60	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:48	60	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:48	60	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859552 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:48	60	[DEBUG]	Store custom available field
2023-10-13	12:17:48	60	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859552,6,'Unitaire',3)
2023-10-13	12:17:48	60	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:48	60	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:48	60	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859551
2023-10-13	12:17:48	60	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:48	60	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859551\":[1859551,8,1,\"choisir la taille\"],\"1859552\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859551
2023-10-13	12:17:48	60	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:48	60	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859552
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:48	61	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field taille
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:48	61	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:48	61	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:48	61	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:48	61	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:48	61	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:48	61	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:48	61	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field published
2023-10-13	12:17:48	61	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:48	61	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field override
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:48	61	[DEBUG]	Use field value for field slug
2023-10-13	12:17:48	61	[DEBUG]	Process line 61
2023-10-13	12:17:48	61	[DEBUG]	Load a row
2023-10-13	12:17:48	61	[DEBUG]	Processing item: A_1512_124
2023-10-13	12:17:48	61	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:48	61	[DEBUG]	Processing product tax
2023-10-13	12:17:48	61	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:48	61	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:48	61	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:48	61	[DEBUG]	Query for Product
2023-10-13	12:17:48	61	[DEBUG]	Executed store
2023-10-13	12:17:48	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1512_124','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:48	61	[DEBUG]	Check product language entry
2023-10-13	12:17:48	61	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859553
2023-10-13	12:17:48	61	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:48	61	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1512_124' AND `virtuemart_product_id` != 1859553
2023-10-13	12:17:48	61	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:48	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859553, 'A_1512_124')
2023-10-13	12:17:48	61	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:48	61	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-cornes-chrome' AND `virtuemart_product_id` != 1859553
2023-10-13	12:17:48	61	[DEBUG]	Query for ProductLang
2023-10-13	12:17:48	61	[DEBUG]	Executed store
2023-10-13	12:17:48	61	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Bouchons de cornes, 2 unités pour cornes Aluminium<br>N° art fourn : TAPALUBE',`product_name`='MSC BOUCHON DE CORNES / Chromé',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-cornes-chrome' WHERE `virtuemart_product_id` = '1859553'
2023-10-13	12:17:48	61	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3458.jpg
2023-10-13	12:17:48	61	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:48	61	[DEBUG]	Process image file
2023-10-13	12:17:48	61	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:48	61	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:48	61	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3458.jpg
2023-10-13	12:17:48	61	[DEBUG]	Full name target: bcprisme/image_3458.jpg
2023-10-13	12:17:49	61	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:49	61	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3458.jpg'
2023-10-13	12:17:49	61	[DEBUG]	Query for Media
2023-10-13	12:17:49	61	[DEBUG]	Executed store
2023-10-13	12:17:49	61	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3458.jpg',`file_url_thumb`='bcprisme/image_3458.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15660'
2023-10-13	12:17:49	61	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:49	61	[DEBUG]	Executed store
2023-10-13	12:17:49	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859553','15660','1')
2023-10-13	12:17:49	61	[DEBUG]	Store product image relation
2023-10-13	12:17:49	61	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:49	61	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859553 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:49	61	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:49	61	[DEBUG]	Executed store
2023-10-13	12:17:49	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859553','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:49	61	[DEBUG]	Checking manufacturer
2023-10-13	12:17:49	61	[DEBUG]	Load a row
2023-10-13	12:17:49	61	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:49	61	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:49	61	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:49	61	[DEBUG]	Executed store
2023-10-13	12:17:49	61	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:49	61	[DEBUG]	Manufacturer exists
2023-10-13	12:17:49	61	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:49	61	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:49	61	[DEBUG]	Executed store
2023-10-13	12:17:49	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859553','32')
2023-10-13	12:17:49	61	[DEBUG]	Find the custom field ID
2023-10-13	12:17:49	61	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:49	61	[DEBUG]	No custom field ID found
2023-10-13	12:17:49	61	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:49	61	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	12:17:49	61	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859553 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:49	61	[DEBUG]	Store custom available field
2023-10-13	12:17:49	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859553,3,'8.87527777777778',1)
2023-10-13	12:17:49	61	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:49	61	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:49	61	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859553 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:49	61	[DEBUG]	Store custom available field
2023-10-13	12:17:49	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859553,6,'choisir la taille',3)
2023-10-13	12:17:49	61	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:49	61	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:49	61	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:49	61	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:49	61	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859553 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:49	61	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:49	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859553,8,1)
2023-10-13	12:17:49	61	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:49	61	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859553\":[1859553,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859553
2023-10-13	12:17:49	61	[DEBUG]	Checking category
2023-10-13	12:17:49	61	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:49	61	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859553
2023-10-13	12:17:49	61	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:49	61	[DEBUG]	Executed store
2023-10-13	12:17:49	61	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859553','7265')
2023-10-13	12:17:49	61	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:49	61	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859553 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:49	61	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:49	61	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859553
2023-10-13	12:17:49	62	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:49	62	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:49	62	[DEBUG]	Use field value for field taille
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:49	62	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:49	62	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:49	62	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:49	62	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:49	62	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:49	62	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:49	62	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:49	62	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:49	62	[DEBUG]	Use field value for field published
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:49	62	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field override
2023-10-13	12:17:49	62	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:49	62	[DEBUG]	Use field value for field slug
2023-10-13	12:17:49	62	[DEBUG]	Process line 62
2023-10-13	12:17:49	62	[DEBUG]	Load a row
2023-10-13	12:17:49	62	[DEBUG]	Processing item: 1000000026450
2023-10-13	12:17:49	62	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:49	62	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:49	62	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1512_124'
2023-10-13	12:17:49	62	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:49	62	[DEBUG]	Processing product tax
2023-10-13	12:17:49	62	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:49	62	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:49	62	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:49	62	[DEBUG]	Query for Product
2023-10-13	12:17:49	62	[DEBUG]	Executed store
2023-10-13	12:17:49	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859553','1000000026450','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:49	62	[DEBUG]	No parent found
2023-10-13	12:17:49	62	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859553 AND customfield_value = 'stockable'
2023-10-13	12:17:49	62	[DEBUG]	Check product language entry
2023-10-13	12:17:49	62	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859554
2023-10-13	12:17:49	62	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:49	62	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000026450' AND `virtuemart_product_id` != 1859554
2023-10-13	12:17:49	62	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:49	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859554, '1000000026450')
2023-10-13	12:17:49	62	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:49	62	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-cornes-chrome-unitaire' AND `virtuemart_product_id` != 1859554
2023-10-13	12:17:49	62	[DEBUG]	Query for ProductLang
2023-10-13	12:17:49	62	[DEBUG]	Executed store
2023-10-13	12:17:49	62	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC BOUCHON DE CORNES / Chromé (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-cornes-chrome-unitaire' WHERE `virtuemart_product_id` = '1859554'
2023-10-13	12:17:49	62	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3458.jpg
2023-10-13	12:17:49	62	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:49	62	[DEBUG]	Process image file
2023-10-13	12:17:49	62	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:49	62	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:49	62	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3458.jpg
2023-10-13	12:17:49	62	[DEBUG]	Full name target: bcprisme/image_3458.jpg
2023-10-13	12:17:50	62	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:50	62	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3458.jpg'
2023-10-13	12:17:50	62	[DEBUG]	Query for Media
2023-10-13	12:17:50	62	[DEBUG]	Executed store
2023-10-13	12:17:50	62	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3458.jpg',`file_url_thumb`='bcprisme/image_3458.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15660'
2023-10-13	12:17:50	62	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:50	62	[DEBUG]	Executed store
2023-10-13	12:17:50	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859554','15660','1')
2023-10-13	12:17:50	62	[DEBUG]	Store product image relation
2023-10-13	12:17:50	62	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:50	62	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859554 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:50	62	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:50	62	[DEBUG]	Executed store
2023-10-13	12:17:50	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859554','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:50	62	[DEBUG]	Checking manufacturer
2023-10-13	12:17:50	62	[DEBUG]	Load a row
2023-10-13	12:17:50	62	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:50	62	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:50	62	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:50	62	[DEBUG]	Executed store
2023-10-13	12:17:50	62	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:50	62	[DEBUG]	Manufacturer exists
2023-10-13	12:17:50	62	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:50	62	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:50	62	[DEBUG]	Executed store
2023-10-13	12:17:50	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859554','32')
2023-10-13	12:17:50	62	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:50	62	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:50	62	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859554 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:50	62	[DEBUG]	Store custom available field
2023-10-13	12:17:50	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859554,3,'',1)
2023-10-13	12:17:50	62	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:50	62	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:50	62	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859554 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:50	62	[DEBUG]	Store custom available field
2023-10-13	12:17:50	62	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859554,6,'Unitaire',3)
2023-10-13	12:17:50	62	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:50	62	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:50	62	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859553
2023-10-13	12:17:50	62	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:50	62	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859553\":[1859553,8,1,\"choisir la taille\"],\"1859554\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859553
2023-10-13	12:17:50	62	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:50	62	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859554
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:50	63	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field taille
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:50	63	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:50	63	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:50	63	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:50	63	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:50	63	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:50	63	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field published
2023-10-13	12:17:50	63	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:50	63	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field override
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:50	63	[DEBUG]	Use field value for field slug
2023-10-13	12:17:50	63	[DEBUG]	Process line 63
2023-10-13	12:17:50	63	[DEBUG]	Load a row
2023-10-13	12:17:50	63	[DEBUG]	Processing item: A_1694_12
2023-10-13	12:17:50	63	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:50	63	[DEBUG]	Processing product tax
2023-10-13	12:17:50	63	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:50	63	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:50	63	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:50	63	[DEBUG]	Query for Product
2023-10-13	12:17:50	63	[DEBUG]	Executed store
2023-10-13	12:17:50	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1694_12','0.111','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:50	63	[DEBUG]	Check product language entry
2023-10-13	12:17:50	63	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859555
2023-10-13	12:17:50	63	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:50	63	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1694_12' AND `virtuemart_product_id` != 1859555
2023-10-13	12:17:50	63	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:50	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859555, 'A_1694_12')
2023-10-13	12:17:50	63	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:50	63	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-blanc' AND `virtuemart_product_id` != 1859555
2023-10-13	12:17:50	63	[DEBUG]	Query for ProductLang
2023-10-13	12:17:50	63	[DEBUG]	Executed store
2023-10-13	12:17:50	63	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Embouts guidon ergonomiques en gommes 75mm, 111 gr.<br>N° art fourn : 600CR',`product_name`='MSC EMBOUTS DE GUIDONS MSC ERGONOMIQUES GOMME 75mm / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-blanc' WHERE `virtuemart_product_id` = '1859555'
2023-10-13	12:17:50	63	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5784.jpg
2023-10-13	12:17:50	63	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:50	63	[DEBUG]	Process image file
2023-10-13	12:17:50	63	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:50	63	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:50	63	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5784.jpg
2023-10-13	12:17:50	63	[DEBUG]	Full name target: bcprisme/image_5784.jpg
2023-10-13	12:17:51	63	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:51	63	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5784.jpg'
2023-10-13	12:17:51	63	[DEBUG]	Query for Media
2023-10-13	12:17:51	63	[DEBUG]	Executed store
2023-10-13	12:17:51	63	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5784.jpg',`file_url_thumb`='bcprisme/image_5784.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12300'
2023-10-13	12:17:51	63	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:51	63	[DEBUG]	Executed store
2023-10-13	12:17:51	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859555','12300','1')
2023-10-13	12:17:51	63	[DEBUG]	Store product image relation
2023-10-13	12:17:51	63	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:51	63	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859555 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:51	63	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:51	63	[DEBUG]	Executed store
2023-10-13	12:17:51	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859555','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:51	63	[DEBUG]	Checking manufacturer
2023-10-13	12:17:51	63	[DEBUG]	Load a row
2023-10-13	12:17:51	63	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:51	63	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:51	63	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:51	63	[DEBUG]	Executed store
2023-10-13	12:17:51	63	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:51	63	[DEBUG]	Manufacturer exists
2023-10-13	12:17:51	63	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:51	63	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:51	63	[DEBUG]	Executed store
2023-10-13	12:17:51	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859555','32')
2023-10-13	12:17:51	63	[DEBUG]	Find the custom field ID
2023-10-13	12:17:51	63	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:51	63	[DEBUG]	No custom field ID found
2023-10-13	12:17:51	63	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:51	63	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	12:17:51	63	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859555 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:51	63	[DEBUG]	Store custom available field
2023-10-13	12:17:51	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859555,3,'39.7891666666667',1)
2023-10-13	12:17:51	63	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:51	63	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:51	63	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859555 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:51	63	[DEBUG]	Store custom available field
2023-10-13	12:17:51	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859555,6,'choisir la taille',3)
2023-10-13	12:17:51	63	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:51	63	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:51	63	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:51	63	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:51	63	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859555 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:51	63	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:51	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859555,8,1)
2023-10-13	12:17:51	63	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:51	63	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859555\":[1859555,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859555
2023-10-13	12:17:51	63	[DEBUG]	Checking category
2023-10-13	12:17:51	63	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:51	63	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859555
2023-10-13	12:17:51	63	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:51	63	[DEBUG]	Executed store
2023-10-13	12:17:51	63	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859555','7265')
2023-10-13	12:17:51	63	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:51	63	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859555 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:51	63	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:51	63	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859555
2023-10-13	12:17:51	64	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:51	64	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:51	64	[DEBUG]	Use field value for field taille
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:51	64	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:51	64	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:51	64	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:51	64	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:51	64	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:51	64	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:51	64	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:51	64	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:51	64	[DEBUG]	Use field value for field published
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:51	64	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field override
2023-10-13	12:17:51	64	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:51	64	[DEBUG]	Use field value for field slug
2023-10-13	12:17:51	64	[DEBUG]	Process line 64
2023-10-13	12:17:51	64	[DEBUG]	Load a row
2023-10-13	12:17:51	64	[DEBUG]	Processing item: 1000000030174
2023-10-13	12:17:51	64	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:51	64	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:51	64	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1694_12'
2023-10-13	12:17:51	64	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:51	64	[DEBUG]	Processing product tax
2023-10-13	12:17:51	64	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:51	64	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:51	64	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:51	64	[DEBUG]	Query for Product
2023-10-13	12:17:51	64	[DEBUG]	Executed store
2023-10-13	12:17:51	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859555','1000000030174','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:51	64	[DEBUG]	No parent found
2023-10-13	12:17:51	64	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859555 AND customfield_value = 'stockable'
2023-10-13	12:17:51	64	[DEBUG]	Check product language entry
2023-10-13	12:17:51	64	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859556
2023-10-13	12:17:51	64	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:51	64	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000030174' AND `virtuemart_product_id` != 1859556
2023-10-13	12:17:51	64	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:51	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859556, '1000000030174')
2023-10-13	12:17:51	64	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:51	64	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-blanc-unitaire' AND `virtuemart_product_id` != 1859556
2023-10-13	12:17:51	64	[DEBUG]	Query for ProductLang
2023-10-13	12:17:51	64	[DEBUG]	Executed store
2023-10-13	12:17:51	64	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ERGONOMIQUES GOMME 75mm / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ergonomiques-gomme-75mm-blanc-unitaire' WHERE `virtuemart_product_id` = '1859556'
2023-10-13	12:17:51	64	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5784.jpg
2023-10-13	12:17:51	64	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:51	64	[DEBUG]	Process image file
2023-10-13	12:17:51	64	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:17:51	64	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:51	64	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5784.jpg
2023-10-13	12:17:51	64	[DEBUG]	Full name target: bcprisme/image_5784.jpg
2023-10-13	12:17:52	64	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:52	64	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5784.jpg'
2023-10-13	12:17:52	64	[DEBUG]	Query for Media
2023-10-13	12:17:52	64	[DEBUG]	Executed store
2023-10-13	12:17:52	64	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5784.jpg',`file_url_thumb`='bcprisme/image_5784.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12300'
2023-10-13	12:17:52	64	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:52	64	[DEBUG]	Executed store
2023-10-13	12:17:52	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859556','12300','1')
2023-10-13	12:17:52	64	[DEBUG]	Store product image relation
2023-10-13	12:17:52	64	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:52	64	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859556 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:52	64	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:52	64	[DEBUG]	Executed store
2023-10-13	12:17:52	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859556','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:52	64	[DEBUG]	Checking manufacturer
2023-10-13	12:17:52	64	[DEBUG]	Load a row
2023-10-13	12:17:52	64	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:52	64	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:52	64	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:52	64	[DEBUG]	Executed store
2023-10-13	12:17:52	64	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:52	64	[DEBUG]	Manufacturer exists
2023-10-13	12:17:52	64	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:52	64	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:52	64	[DEBUG]	Executed store
2023-10-13	12:17:52	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859556','32')
2023-10-13	12:17:52	64	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:52	64	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:52	64	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859556 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:52	64	[DEBUG]	Store custom available field
2023-10-13	12:17:52	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859556,3,'',1)
2023-10-13	12:17:52	64	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:52	64	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:52	64	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859556 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:52	64	[DEBUG]	Store custom available field
2023-10-13	12:17:52	64	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859556,6,'Unitaire',3)
2023-10-13	12:17:52	64	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:52	64	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:52	64	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859555
2023-10-13	12:17:52	64	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:52	64	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859555\":[1859555,8,1,\"choisir la taille\"],\"1859556\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859555
2023-10-13	12:17:52	64	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:52	64	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859556
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:52	65	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field taille
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:52	65	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:52	65	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:52	65	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:52	65	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:52	65	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:52	65	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field published
2023-10-13	12:17:52	65	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:52	65	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field override
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:52	65	[DEBUG]	Use field value for field slug
2023-10-13	12:17:52	65	[DEBUG]	Process line 65
2023-10-13	12:17:52	65	[DEBUG]	Load a row
2023-10-13	12:17:52	65	[DEBUG]	Processing item: A_1695_1
2023-10-13	12:17:52	65	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:52	65	[DEBUG]	Processing product tax
2023-10-13	12:17:52	65	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:52	65	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:52	65	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:52	65	[DEBUG]	Query for Product
2023-10-13	12:17:52	65	[DEBUG]	Executed store
2023-10-13	12:17:52	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1695_1','0.11','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:52	65	[DEBUG]	Check product language entry
2023-10-13	12:17:52	65	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859557
2023-10-13	12:17:52	65	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:52	65	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1695_1' AND `virtuemart_product_id` != 1859557
2023-10-13	12:17:52	65	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:52	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859557, 'A_1695_1')
2023-10-13	12:17:52	65	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:52	65	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-alu-50mm-noir' AND `virtuemart_product_id` != 1859557
2023-10-13	12:17:52	65	[DEBUG]	Query for ProductLang
2023-10-13	12:17:52	65	[DEBUG]	Executed store
2023-10-13	12:17:52	65	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Embouts guidons aluminium ergonomiques 50mm<br>N° art fourn : 600D',`product_name`='MSC EMBOUTS DE GUIDONS MSC ERGONOMIQUES ALU 50mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ergonomiques-alu-50mm-noir' WHERE `virtuemart_product_id` = '1859557'
2023-10-13	12:17:52	65	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5786.jpg
2023-10-13	12:17:52	65	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:17:52	65	[DEBUG]	Process image file
2023-10-13	12:17:52	65	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:17:52	65	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:52	65	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5786.jpg
2023-10-13	12:17:52	65	[DEBUG]	Full name target: bcprisme/image_5786.jpg
2023-10-13	12:17:53	65	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:53	65	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5786.jpg'
2023-10-13	12:17:53	65	[DEBUG]	Query for Media
2023-10-13	12:17:53	65	[DEBUG]	Executed store
2023-10-13	12:17:53	65	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5786.jpg',`file_url_thumb`='bcprisme/image_5786.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12301'
2023-10-13	12:17:53	65	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:53	65	[DEBUG]	Executed store
2023-10-13	12:17:53	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859557','12301','1')
2023-10-13	12:17:53	65	[DEBUG]	Store product image relation
2023-10-13	12:17:53	65	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:53	65	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859557 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:53	65	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:53	65	[DEBUG]	Executed store
2023-10-13	12:17:53	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859557','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:53	65	[DEBUG]	Checking manufacturer
2023-10-13	12:17:53	65	[DEBUG]	Load a row
2023-10-13	12:17:53	65	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:53	65	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:53	65	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:53	65	[DEBUG]	Executed store
2023-10-13	12:17:53	65	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:53	65	[DEBUG]	Manufacturer exists
2023-10-13	12:17:53	65	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:53	65	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:53	65	[DEBUG]	Executed store
2023-10-13	12:17:53	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859557','32')
2023-10-13	12:17:53	65	[DEBUG]	Find the custom field ID
2023-10-13	12:17:53	65	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:53	65	[DEBUG]	No custom field ID found
2023-10-13	12:17:53	65	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:53	65	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	12:17:53	65	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859557 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:53	65	[DEBUG]	Store custom available field
2023-10-13	12:17:53	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859557,3,'39.7891666666667',1)
2023-10-13	12:17:53	65	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:53	65	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:53	65	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859557 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:53	65	[DEBUG]	Store custom available field
2023-10-13	12:17:53	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859557,6,'choisir la taille',3)
2023-10-13	12:17:53	65	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:53	65	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:53	65	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:53	65	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:53	65	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859557 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:53	65	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:53	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859557,8,1)
2023-10-13	12:17:53	65	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:53	65	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859557\":[1859557,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859557
2023-10-13	12:17:53	65	[DEBUG]	Checking category
2023-10-13	12:17:53	65	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:53	65	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859557
2023-10-13	12:17:53	65	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:53	65	[DEBUG]	Executed store
2023-10-13	12:17:53	65	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859557','7265')
2023-10-13	12:17:53	65	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:53	65	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859557 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:53	65	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:53	65	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859557
2023-10-13	12:17:53	66	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:53	66	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:53	66	[DEBUG]	Use field value for field taille
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:53	66	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:53	66	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:53	66	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:53	66	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:53	66	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:53	66	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:53	66	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:53	66	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:53	66	[DEBUG]	Use field value for field published
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:53	66	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field override
2023-10-13	12:17:53	66	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:53	66	[DEBUG]	Use field value for field slug
2023-10-13	12:17:54	66	[DEBUG]	Process line 66
2023-10-13	12:17:54	66	[DEBUG]	Load a row
2023-10-13	12:17:54	66	[DEBUG]	Processing item: 8436041523550
2023-10-13	12:17:54	66	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:54	66	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:54	66	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1695_1'
2023-10-13	12:17:54	66	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:54	66	[DEBUG]	Processing product tax
2023-10-13	12:17:54	66	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:54	66	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:54	66	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:54	66	[DEBUG]	Query for Product
2023-10-13	12:17:54	66	[DEBUG]	Executed store
2023-10-13	12:17:54	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859557','8436041523550','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:54	66	[DEBUG]	No parent found
2023-10-13	12:17:54	66	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859557 AND customfield_value = 'stockable'
2023-10-13	12:17:54	66	[DEBUG]	Check product language entry
2023-10-13	12:17:54	66	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859558
2023-10-13	12:17:54	66	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:54	66	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041523550' AND `virtuemart_product_id` != 1859558
2023-10-13	12:17:54	66	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:54	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859558, '8436041523550')
2023-10-13	12:17:54	66	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:54	66	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-ergonomiques-alu-50mm-noir-unitaire' AND `virtuemart_product_id` != 1859558
2023-10-13	12:17:54	66	[DEBUG]	Query for ProductLang
2023-10-13	12:17:54	66	[DEBUG]	Executed store
2023-10-13	12:17:54	66	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC ERGONOMIQUES ALU 50mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-ergonomiques-alu-50mm-noir-unitaire' WHERE `virtuemart_product_id` = '1859558'
2023-10-13	12:17:54	66	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5786.jpg
2023-10-13	12:17:54	66	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:17:54	66	[DEBUG]	Process image file
2023-10-13	12:17:54	66	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:17:54	66	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:54	66	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5786.jpg
2023-10-13	12:17:54	66	[DEBUG]	Full name target: bcprisme/image_5786.jpg
2023-10-13	12:17:55	66	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:55	66	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5786.jpg'
2023-10-13	12:17:55	66	[DEBUG]	Query for Media
2023-10-13	12:17:55	66	[DEBUG]	Executed store
2023-10-13	12:17:55	66	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5786.jpg',`file_url_thumb`='bcprisme/image_5786.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12301'
2023-10-13	12:17:55	66	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:55	66	[DEBUG]	Executed store
2023-10-13	12:17:55	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859558','12301','1')
2023-10-13	12:17:55	66	[DEBUG]	Store product image relation
2023-10-13	12:17:55	66	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:55	66	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859558 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:55	66	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:55	66	[DEBUG]	Executed store
2023-10-13	12:17:55	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859558','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:55	66	[DEBUG]	Checking manufacturer
2023-10-13	12:17:55	66	[DEBUG]	Load a row
2023-10-13	12:17:55	66	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:55	66	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:55	66	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:55	66	[DEBUG]	Executed store
2023-10-13	12:17:55	66	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:55	66	[DEBUG]	Manufacturer exists
2023-10-13	12:17:55	66	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:55	66	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:55	66	[DEBUG]	Executed store
2023-10-13	12:17:55	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859558','32')
2023-10-13	12:17:55	66	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:55	66	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:55	66	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859558 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:55	66	[DEBUG]	Store custom available field
2023-10-13	12:17:55	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859558,3,'',1)
2023-10-13	12:17:55	66	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:55	66	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:55	66	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859558 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:55	66	[DEBUG]	Store custom available field
2023-10-13	12:17:55	66	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859558,6,'Unitaire',3)
2023-10-13	12:17:55	66	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:55	66	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:55	66	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859557
2023-10-13	12:17:55	66	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:55	66	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859557\":[1859557,8,1,\"choisir la taille\"],\"1859558\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859557
2023-10-13	12:17:55	66	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:55	66	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859558
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:55	67	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field taille
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:55	67	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:55	67	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:55	67	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:55	67	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:55	67	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:55	67	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field published
2023-10-13	12:17:55	67	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:55	67	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field override
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:55	67	[DEBUG]	Use field value for field slug
2023-10-13	12:17:55	67	[DEBUG]	Process line 67
2023-10-13	12:17:55	67	[DEBUG]	Load a row
2023-10-13	12:17:55	67	[DEBUG]	Processing item: A_9364_2
2023-10-13	12:17:55	67	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:55	67	[DEBUG]	Processing product tax
2023-10-13	12:17:55	67	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:55	67	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:55	67	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:55	67	[DEBUG]	Query for Product
2023-10-13	12:17:55	67	[DEBUG]	Executed store
2023-10-13	12:17:55	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9364_2','0.111','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:55	67	[DEBUG]	Check product language entry
2023-10-13	12:17:55	67	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859559
2023-10-13	12:17:55	67	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:55	67	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9364_2' AND `virtuemart_product_id` != 1859559
2023-10-13	12:17:55	67	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:55	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859559, 'A_9364_2')
2023-10-13	12:17:55	67	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:55	67	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-carbone-ultralight-carbone' AND `virtuemart_product_id` != 1859559
2023-10-13	12:17:55	67	[DEBUG]	Query for ProductLang
2023-10-13	12:17:55	67	[DEBUG]	Executed store
2023-10-13	12:17:55	67	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : MSCBE',`product_name`='MSC EMBOUTS DE GUIDONS MSC Carbone Ultralight / Carbone',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-carbone-ultralight-carbone' WHERE `virtuemart_product_id` = '1859559'
2023-10-13	12:17:55	67	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38458_embouts_de_guidons_msc_carbone_ultralight.jpg
2023-10-13	12:17:55	67	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:55	67	[DEBUG]	Process image file
2023-10-13	12:17:55	67	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:55	67	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:55	67	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38458_embouts_de_guidons_msc_carbone_ultralight.jpg
2023-10-13	12:17:55	67	[DEBUG]	Full name target: bcprisme/38458_embouts_de_guidons_msc_carbone_ultralight.jpg
2023-10-13	12:17:55	67	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:55	67	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38458_embouts_de_guidons_msc_carbone_ultralight.jpg'
2023-10-13	12:17:55	67	[DEBUG]	Query for Media
2023-10-13	12:17:55	67	[DEBUG]	Executed store
2023-10-13	12:17:55	67	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38458_embouts_de_guidons_msc_carbone_ultralight.jpg',`file_url_thumb`='bcprisme/38458_embouts_de_guidons_msc_carbone_ultralight.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1398207'
2023-10-13	12:17:56	67	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:56	67	[DEBUG]	Executed store
2023-10-13	12:17:56	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859559','1398207','1')
2023-10-13	12:17:56	67	[DEBUG]	Store product image relation
2023-10-13	12:17:56	67	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:56	67	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859559 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:56	67	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:56	67	[DEBUG]	Executed store
2023-10-13	12:17:56	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859559','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:56	67	[DEBUG]	Checking manufacturer
2023-10-13	12:17:56	67	[DEBUG]	Load a row
2023-10-13	12:17:56	67	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:56	67	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:56	67	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:56	67	[DEBUG]	Executed store
2023-10-13	12:17:56	67	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:56	67	[DEBUG]	Manufacturer exists
2023-10-13	12:17:56	67	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:56	67	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:56	67	[DEBUG]	Executed store
2023-10-13	12:17:56	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859559','32')
2023-10-13	12:17:56	67	[DEBUG]	Find the custom field ID
2023-10-13	12:17:56	67	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:56	67	[DEBUG]	No custom field ID found
2023-10-13	12:17:56	67	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:56	67	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	12:17:56	67	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859559 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:56	67	[DEBUG]	Store custom available field
2023-10-13	12:17:56	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859559,3,'39.7891666666667',1)
2023-10-13	12:17:56	67	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:56	67	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:56	67	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859559 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:56	67	[DEBUG]	Store custom available field
2023-10-13	12:17:56	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859559,6,'choisir la taille',3)
2023-10-13	12:17:56	67	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:56	67	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:56	67	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:56	67	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:56	67	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859559 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:56	67	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:56	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859559,8,1)
2023-10-13	12:17:56	67	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:56	67	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859559\":[1859559,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859559
2023-10-13	12:17:56	67	[DEBUG]	Checking category
2023-10-13	12:17:56	67	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:56	67	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859559
2023-10-13	12:17:56	67	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:56	67	[DEBUG]	Executed store
2023-10-13	12:17:56	67	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859559','7265')
2023-10-13	12:17:56	67	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:56	67	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859559 AND `virtuemart_category_id` NOT IN (7265)
2023-10-13	12:17:56	67	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:56	67	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859559
2023-10-13	12:17:56	68	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:56	68	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:56	68	[DEBUG]	Use field value for field taille
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:56	68	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:56	68	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:56	68	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:56	68	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:56	68	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:56	68	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:56	68	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:56	68	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:56	68	[DEBUG]	Use field value for field published
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:56	68	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field override
2023-10-13	12:17:56	68	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:56	68	[DEBUG]	Use field value for field slug
2023-10-13	12:17:56	68	[DEBUG]	Process line 68
2023-10-13	12:17:56	68	[DEBUG]	Load a row
2023-10-13	12:17:56	68	[DEBUG]	Processing item: 1000000236064
2023-10-13	12:17:56	68	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:56	68	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:56	68	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9364_2'
2023-10-13	12:17:56	68	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:56	68	[DEBUG]	Processing product tax
2023-10-13	12:17:56	68	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:56	68	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:56	68	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:56	68	[DEBUG]	Query for Product
2023-10-13	12:17:56	68	[DEBUG]	Executed store
2023-10-13	12:17:56	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859559','1000000236064','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:56	68	[DEBUG]	No parent found
2023-10-13	12:17:56	68	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859559 AND customfield_value = 'stockable'
2023-10-13	12:17:56	68	[DEBUG]	Check product language entry
2023-10-13	12:17:56	68	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859560
2023-10-13	12:17:56	68	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:56	68	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000236064' AND `virtuemart_product_id` != 1859560
2023-10-13	12:17:56	68	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:56	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859560, '1000000236064')
2023-10-13	12:17:56	68	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:56	68	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-embouts-de-guidons-msc-carbone-ultralight-carbone-unitaire' AND `virtuemart_product_id` != 1859560
2023-10-13	12:17:56	68	[DEBUG]	Query for ProductLang
2023-10-13	12:17:56	68	[DEBUG]	Executed store
2023-10-13	12:17:56	68	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC EMBOUTS DE GUIDONS MSC Carbone Ultralight / Carbone (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-embouts-de-guidons-msc-carbone-ultralight-carbone-unitaire' WHERE `virtuemart_product_id` = '1859560'
2023-10-13	12:17:56	68	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38458_embouts_de_guidons_msc_carbone_ultralight.jpg
2023-10-13	12:17:56	68	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:56	68	[DEBUG]	Process image file
2023-10-13	12:17:56	68	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:56	68	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:56	68	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38458_embouts_de_guidons_msc_carbone_ultralight.jpg
2023-10-13	12:17:56	68	[DEBUG]	Full name target: bcprisme/38458_embouts_de_guidons_msc_carbone_ultralight.jpg
2023-10-13	12:17:56	68	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:56	68	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38458_embouts_de_guidons_msc_carbone_ultralight.jpg'
2023-10-13	12:17:56	68	[DEBUG]	Query for Media
2023-10-13	12:17:56	68	[DEBUG]	Executed store
2023-10-13	12:17:56	68	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38458_embouts_de_guidons_msc_carbone_ultralight.jpg',`file_url_thumb`='bcprisme/38458_embouts_de_guidons_msc_carbone_ultralight.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1398207'
2023-10-13	12:17:57	68	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:57	68	[DEBUG]	Executed store
2023-10-13	12:17:57	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859560','1398207','1')
2023-10-13	12:17:57	68	[DEBUG]	Store product image relation
2023-10-13	12:17:57	68	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:57	68	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859560 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:57	68	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:57	68	[DEBUG]	Executed store
2023-10-13	12:17:57	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859560','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:57	68	[DEBUG]	Checking manufacturer
2023-10-13	12:17:57	68	[DEBUG]	Load a row
2023-10-13	12:17:57	68	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:57	68	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:57	68	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:57	68	[DEBUG]	Executed store
2023-10-13	12:17:57	68	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:17:57	68	[DEBUG]	Manufacturer exists
2023-10-13	12:17:57	68	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:17:57	68	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:57	68	[DEBUG]	Executed store
2023-10-13	12:17:57	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859560','32')
2023-10-13	12:17:57	68	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:57	68	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:57	68	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859560 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:57	68	[DEBUG]	Store custom available field
2023-10-13	12:17:57	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859560,3,'',1)
2023-10-13	12:17:57	68	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:57	68	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:17:57	68	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859560 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:57	68	[DEBUG]	Store custom available field
2023-10-13	12:17:57	68	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859560,6,'Unitaire',3)
2023-10-13	12:17:57	68	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:57	68	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:57	68	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859559
2023-10-13	12:17:57	68	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:57	68	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859559\":[1859559,8,1,\"choisir la taille\"],\"1859560\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859559
2023-10-13	12:17:57	68	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:57	68	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859560
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:57	69	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field taille
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:57	69	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:57	69	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:57	69	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:57	69	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:57	69	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:57	69	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field published
2023-10-13	12:17:57	69	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:57	69	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field override
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:57	69	[DEBUG]	Use field value for field slug
2023-10-13	12:17:57	69	[DEBUG]	Process line 69
2023-10-13	12:17:57	69	[DEBUG]	Load a row
2023-10-13	12:17:57	69	[DEBUG]	Processing item: A_5368_208
2023-10-13	12:17:57	69	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:57	69	[DEBUG]	Processing product tax
2023-10-13	12:17:57	69	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:57	69	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:57	69	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:57	69	[DEBUG]	Query for Product
2023-10-13	12:17:57	69	[DEBUG]	Executed store
2023-10-13	12:17:57	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5368_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:57	69	[DEBUG]	Check product language entry
2023-10-13	12:17:57	69	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859561
2023-10-13	12:17:57	69	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:57	69	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5368_208' AND `virtuemart_product_id` != 1859561
2023-10-13	12:17:57	69	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:57	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859561, 'A_5368_208')
2023-10-13	12:17:57	69	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:57	69	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-cr2450-3v-lithium-plate-blister-a-1-aucune' AND `virtuemart_product_id` != 1859561
2023-10-13	12:17:57	69	[DEBUG]	Query for ProductLang
2023-10-13	12:17:57	69	[DEBUG]	Executed store
2023-10-13	12:17:57	69	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.53380',`product_name`='Duracell Pile CR2450 3V Lithium plate blister à 1 / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-cr2450-3v-lithium-plate-blister-a-1-aucune' WHERE `virtuemart_product_id` = '1859561'
2023-10-13	12:17:57	69	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29846_duracell_pile_cr2450_3v_lithium_plate_blister_à_1.jpg
2023-10-13	12:17:57	69	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:57	69	[DEBUG]	Process image file
2023-10-13	12:17:57	69	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:57	69	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:57	69	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29846_duracell_pile_cr2450_3v_lithium_plate_blister_à_1.jpg
2023-10-13	12:17:57	69	[DEBUG]	Full name target: bcprisme/29846_duracell_pile_cr2450_3v_lithium_plate_blister_à_1.jpg
2023-10-13	12:17:58	69	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:58	69	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29846_duracell_pile_cr2450_3v_lithium_plate_blister_à_1.jpg'
2023-10-13	12:17:58	69	[DEBUG]	Query for Media
2023-10-13	12:17:58	69	[DEBUG]	Executed store
2023-10-13	12:17:58	69	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29846_duracell_pile_cr2450_3v_lithium_plate_blister_à_1.jpg',`file_url_thumb`='bcprisme/29846_duracell_pile_cr2450_3v_lithium_plate_blister_à_1.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '34931'
2023-10-13	12:17:58	69	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:58	69	[DEBUG]	Executed store
2023-10-13	12:17:58	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859561','34931','1')
2023-10-13	12:17:58	69	[DEBUG]	Store product image relation
2023-10-13	12:17:58	69	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:58	69	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859561 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:58	69	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:58	69	[DEBUG]	Executed store
2023-10-13	12:17:58	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859561','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:58	69	[DEBUG]	Checking manufacturer
2023-10-13	12:17:58	69	[DEBUG]	Load a row
2023-10-13	12:17:58	69	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:58	69	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	12:17:58	69	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:58	69	[DEBUG]	Executed store
2023-10-13	12:17:58	69	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	12:17:58	69	[DEBUG]	Manufacturer exists
2023-10-13	12:17:58	69	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	12:17:58	69	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:58	69	[DEBUG]	Executed store
2023-10-13	12:17:58	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859561','57')
2023-10-13	12:17:58	69	[DEBUG]	Find the custom field ID
2023-10-13	12:17:58	69	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:17:58	69	[DEBUG]	No custom field ID found
2023-10-13	12:17:58	69	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:58	69	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:17:58	69	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859561 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:58	69	[DEBUG]	Store custom available field
2023-10-13	12:17:58	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859561,3,'0',1)
2023-10-13	12:17:58	69	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:58	69	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:17:58	69	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859561 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:58	69	[DEBUG]	Store custom available field
2023-10-13	12:17:58	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859561,6,'choisir la taille',3)
2023-10-13	12:17:58	69	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:58	69	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:17:58	69	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:17:58	69	[DEBUG]	Find the multi variant product entry
2023-10-13	12:17:58	69	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859561 AND `virtuemart_custom_id` = 8
2023-10-13	12:17:58	69	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:17:58	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859561,8,1)
2023-10-13	12:17:58	69	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:58	69	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859561\":[1859561,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859561
2023-10-13	12:17:58	69	[DEBUG]	Checking category
2023-10-13	12:17:58	69	[DEBUG]	Check if category path exists: BATTERIE
2023-10-13	12:17:58	69	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BATTERIE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:17:58	69	[DEBUG]	Check if category path exists: BATTERIE
2023-10-13	12:17:58	69	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BATTERIE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7266
2023-10-13	12:17:58	69	[DEBUG]	Get the existing categories for the product
2023-10-13	12:17:58	69	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859561
2023-10-13	12:17:58	69	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:17:58	69	[DEBUG]	Executed store
2023-10-13	12:17:58	69	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859561','7326')
2023-10-13	12:17:58	69	[DEBUG]	Delete leftover product categories
2023-10-13	12:17:58	69	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859561 AND `virtuemart_category_id` NOT IN (7326)
2023-10-13	12:17:58	69	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:58	69	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859561
2023-10-13	12:17:58	70	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:58	70	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:17:58	70	[DEBUG]	Use field value for field taille
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:17:58	70	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field category_path
2023-10-13	12:17:58	70	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:58	70	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:58	70	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:58	70	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:17:58	70	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field product_weight
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:58	70	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:58	70	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:58	70	[DEBUG]	Use field value for field published
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field custom_title
2023-10-13	12:17:58	70	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field custom_param
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field override
2023-10-13	12:17:58	70	[DEBUG]	Use default value for field public_price
2023-10-13	12:17:58	70	[DEBUG]	Use field value for field slug
2023-10-13	12:17:58	70	[DEBUG]	Process line 70
2023-10-13	12:17:58	70	[DEBUG]	Load a row
2023-10-13	12:17:58	70	[DEBUG]	Processing item: 5000394030428
2023-10-13	12:17:58	70	[DEBUG]	Looking for parent SKU
2023-10-13	12:17:58	70	[DEBUG]	Checking product parent SKU
2023-10-13	12:17:58	70	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5368_208'
2023-10-13	12:17:58	70	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:58	70	[DEBUG]	Processing product tax
2023-10-13	12:17:58	70	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:58	70	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:58	70	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:58	70	[DEBUG]	Query for Product
2023-10-13	12:17:58	70	[DEBUG]	Executed store
2023-10-13	12:17:58	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859561','5000394030428','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:58	70	[DEBUG]	No parent found
2023-10-13	12:17:58	70	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859561 AND customfield_value = 'stockable'
2023-10-13	12:17:58	70	[DEBUG]	Check product language entry
2023-10-13	12:17:58	70	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859562
2023-10-13	12:17:58	70	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:58	70	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '5000394030428' AND `virtuemart_product_id` != 1859562
2023-10-13	12:17:58	70	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:58	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859562, '5000394030428')
2023-10-13	12:17:58	70	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:58	70	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-cr2450-3v-lithium-plate-blister-a-1-aucune-all' AND `virtuemart_product_id` != 1859562
2023-10-13	12:17:58	70	[DEBUG]	Query for ProductLang
2023-10-13	12:17:58	70	[DEBUG]	Executed store
2023-10-13	12:17:58	70	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Duracell Pile CR2450 3V Lithium plate blister à 1 / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-cr2450-3v-lithium-plate-blister-a-1-aucune-all' WHERE `virtuemart_product_id` = '1859562'
2023-10-13	12:17:58	70	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29846_duracell_pile_cr2450_3v_lithium_plate_blister_à_1.jpg
2023-10-13	12:17:58	70	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:58	70	[DEBUG]	Process image file
2023-10-13	12:17:58	70	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:58	70	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:58	70	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29846_duracell_pile_cr2450_3v_lithium_plate_blister_à_1.jpg
2023-10-13	12:17:58	70	[DEBUG]	Full name target: bcprisme/29846_duracell_pile_cr2450_3v_lithium_plate_blister_à_1.jpg
2023-10-13	12:17:59	70	[DEBUG]	Checking if the file_url exists
2023-10-13	12:17:59	70	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29846_duracell_pile_cr2450_3v_lithium_plate_blister_à_1.jpg'
2023-10-13	12:17:59	70	[DEBUG]	Query for Media
2023-10-13	12:17:59	70	[DEBUG]	Executed store
2023-10-13	12:17:59	70	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29846_duracell_pile_cr2450_3v_lithium_plate_blister_à_1.jpg',`file_url_thumb`='bcprisme/29846_duracell_pile_cr2450_3v_lithium_plate_blister_à_1.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '34931'
2023-10-13	12:17:59	70	[DEBUG]	Query for ProductMedia
2023-10-13	12:17:59	70	[DEBUG]	Executed store
2023-10-13	12:17:59	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859562','34931','1')
2023-10-13	12:17:59	70	[DEBUG]	Store product image relation
2023-10-13	12:17:59	70	[DEBUG]	Finding a product_price_id
2023-10-13	12:17:59	70	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859562 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:17:59	70	[DEBUG]	Query for ProductPrice
2023-10-13	12:17:59	70	[DEBUG]	Executed store
2023-10-13	12:17:59	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859562','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:17:59	70	[DEBUG]	Checking manufacturer
2023-10-13	12:17:59	70	[DEBUG]	Load a row
2023-10-13	12:17:59	70	[DEBUG]	Manufacturer already exists
2023-10-13	12:17:59	70	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	12:17:59	70	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:17:59	70	[DEBUG]	Executed store
2023-10-13	12:17:59	70	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	12:17:59	70	[DEBUG]	Manufacturer exists
2023-10-13	12:17:59	70	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	12:17:59	70	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:17:59	70	[DEBUG]	Executed store
2023-10-13	12:17:59	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859562','57')
2023-10-13	12:17:59	70	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:17:59	70	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:17:59	70	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859562 AND `virtuemart_custom_id` = 3
2023-10-13	12:17:59	70	[DEBUG]	Store custom available field
2023-10-13	12:17:59	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859562,3,'',1)
2023-10-13	12:17:59	70	[DEBUG]	Processing custom available field: taille
2023-10-13	12:17:59	70	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:17:59	70	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859562 AND `virtuemart_custom_id` = 6
2023-10-13	12:17:59	70	[DEBUG]	Store custom available field
2023-10-13	12:17:59	70	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859562,6,'All',3)
2023-10-13	12:17:59	70	[DEBUG]	Process multi-variant fields
2023-10-13	12:17:59	70	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:17:59	70	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859561
2023-10-13	12:17:59	70	[DEBUG]	Store the updated customfield_params
2023-10-13	12:17:59	70	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859561\":[1859561,8,1,\"choisir la taille\"],\"1859562\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859561
2023-10-13	12:17:59	70	[DEBUG]	Update has fields after all processing
2023-10-13	12:17:59	70	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859562
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field product_sku
2023-10-13	12:17:59	71	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field taille
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field product_name
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field category_path
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field product_price
2023-10-13	12:17:59	71	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field product_tax
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field file_url
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:17:59	71	[DEBUG]	Use default value for field product_desc
2023-10-13	12:17:59	71	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field product_availability
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field product_weight
2023-10-13	12:17:59	71	[DEBUG]	Use default value for field product_unit
2023-10-13	12:17:59	71	[DEBUG]	Use default value for field related_products
2023-10-13	12:17:59	71	[DEBUG]	Use default value for field product_special
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field published
2023-10-13	12:17:59	71	[DEBUG]	Use default value for field metadesc
2023-10-13	12:17:59	71	[DEBUG]	Use default value for field metakey
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field custom_title
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field custom_value
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field custom_param
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field override
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field public_price
2023-10-13	12:17:59	71	[DEBUG]	Use field value for field slug
2023-10-13	12:17:59	71	[DEBUG]	Process line 71
2023-10-13	12:17:59	71	[DEBUG]	Load a row
2023-10-13	12:17:59	71	[DEBUG]	Processing item: A_6159_16
2023-10-13	12:17:59	71	[DEBUG]	Product tax: 7.7
2023-10-13	12:17:59	71	[DEBUG]	Processing product tax
2023-10-13	12:17:59	71	[DEBUG]	Check if calculation rule exists
2023-10-13	12:17:59	71	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:17:59	71	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:17:59	71	[DEBUG]	Query for Product
2023-10-13	12:17:59	71	[DEBUG]	Executed store
2023-10-13	12:17:59	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6159_16','3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:17:59	71	[DEBUG]	Check product language entry
2023-10-13	12:17:59	71	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859563
2023-10-13	12:17:59	71	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:59	71	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6159_16' AND `virtuemart_product_id` != 1859563
2023-10-13	12:17:59	71	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:17:59	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859563, 'A_6159_16')
2023-10-13	12:17:59	71	[DEBUG]	Check if the product slug exists
2023-10-13	12:17:59	71	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-batterie-power-pack-500-wh-performance-gris' AND `virtuemart_product_id` != 1859563
2023-10-13	12:17:59	71	[DEBUG]	Query for ProductLang
2023-10-13	12:17:59	71	[DEBUG]	Executed store
2023-10-13	12:17:59	71	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.65563',`product_name`='Bosch Batterie Power Pack 500 Wh Performance  / Gris',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-batterie-power-pack-500-wh-performance-gris' WHERE `virtuemart_product_id` = '1859563'
2023-10-13	12:17:59	71	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_65563.jpg
2023-10-13	12:17:59	71	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:59	71	[DEBUG]	Process image file
2023-10-13	12:17:59	71	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:17:59	71	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:17:59	71	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_65563.jpg
2023-10-13	12:17:59	71	[DEBUG]	Full name target: bcprisme/56_65563.jpg
2023-10-13	12:18:00	71	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:00	71	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_65563.jpg'
2023-10-13	12:18:00	71	[DEBUG]	Query for Media
2023-10-13	12:18:00	71	[DEBUG]	Executed store
2023-10-13	12:18:00	71	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_65563.jpg',`file_url_thumb`='bcprisme/56_65563.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '887724'
2023-10-13	12:18:00	71	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:00	71	[DEBUG]	Executed store
2023-10-13	12:18:00	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859563','887724','1')
2023-10-13	12:18:00	71	[DEBUG]	Store product image relation
2023-10-13	12:18:00	71	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:00	71	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859563 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:00	71	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:00	71	[DEBUG]	Executed store
2023-10-13	12:18:00	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859563','0','797.585886722377','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:00	71	[DEBUG]	Checking manufacturer
2023-10-13	12:18:00	71	[DEBUG]	Load a row
2023-10-13	12:18:00	71	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:00	71	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:18:00	71	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:00	71	[DEBUG]	Executed store
2023-10-13	12:18:00	71	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:18:00	71	[DEBUG]	Manufacturer exists
2023-10-13	12:18:00	71	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:18:00	71	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:00	71	[DEBUG]	Executed store
2023-10-13	12:18:00	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859563','33')
2023-10-13	12:18:00	71	[DEBUG]	Find the custom field ID
2023-10-13	12:18:00	71	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:00	71	[DEBUG]	No custom field ID found
2023-10-13	12:18:00	71	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:00	71	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:00	71	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859563 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:00	71	[DEBUG]	Store custom available field
2023-10-13	12:18:00	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859563,3,'0',1)
2023-10-13	12:18:00	71	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:00	71	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:00	71	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859563 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:00	71	[DEBUG]	Store custom available field
2023-10-13	12:18:00	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859563,6,'choisir la taille',3)
2023-10-13	12:18:00	71	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:00	71	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:00	71	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:00	71	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:00	71	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859563 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:00	71	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:00	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859563,8,1)
2023-10-13	12:18:00	71	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:00	71	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859563\":[1859563,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859563
2023-10-13	12:18:00	71	[DEBUG]	Checking category
2023-10-13	12:18:00	71	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:00	71	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859563
2023-10-13	12:18:00	71	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:00	71	[DEBUG]	Executed store
2023-10-13	12:18:00	71	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859563','7326')
2023-10-13	12:18:00	71	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:00	71	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859563 AND `virtuemart_category_id` NOT IN (7326)
2023-10-13	12:18:00	71	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:00	71	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859563
2023-10-13	12:18:00	72	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:00	72	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:00	72	[DEBUG]	Use field value for field taille
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:00	72	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:00	72	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:00	72	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:00	72	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:00	72	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:00	72	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:00	72	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:00	72	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:00	72	[DEBUG]	Use field value for field published
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:00	72	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field override
2023-10-13	12:18:00	72	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:00	72	[DEBUG]	Use field value for field slug
2023-10-13	12:18:00	72	[DEBUG]	Process line 72
2023-10-13	12:18:00	72	[DEBUG]	Load a row
2023-10-13	12:18:00	72	[DEBUG]	Processing item: 1000000102130
2023-10-13	12:18:00	72	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:00	72	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:00	72	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6159_16'
2023-10-13	12:18:00	72	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:00	72	[DEBUG]	Processing product tax
2023-10-13	12:18:00	72	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:00	72	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:00	72	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:00	72	[DEBUG]	Query for Product
2023-10-13	12:18:00	72	[DEBUG]	Executed store
2023-10-13	12:18:00	72	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859563','1000000102130','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:00	72	[DEBUG]	No parent found
2023-10-13	12:18:00	72	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859563 AND customfield_value = 'stockable'
2023-10-13	12:18:00	72	[DEBUG]	Check product language entry
2023-10-13	12:18:00	72	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859564
2023-10-13	12:18:00	72	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:00	72	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000102130' AND `virtuemart_product_id` != 1859564
2023-10-13	12:18:00	72	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:00	72	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859564, '1000000102130')
2023-10-13	12:18:00	72	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:00	72	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-batterie-power-pack-500-wh-performance-gris-all' AND `virtuemart_product_id` != 1859564
2023-10-13	12:18:00	72	[DEBUG]	Query for ProductLang
2023-10-13	12:18:00	72	[DEBUG]	Executed store
2023-10-13	12:18:00	72	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Batterie Power Pack 500 Wh Performance  / Gris (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-batterie-power-pack-500-wh-performance-gris-all' WHERE `virtuemart_product_id` = '1859564'
2023-10-13	12:18:00	72	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_65563.jpg
2023-10-13	12:18:00	72	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:00	72	[DEBUG]	Process image file
2023-10-13	12:18:00	72	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:00	72	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:00	72	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_65563.jpg
2023-10-13	12:18:00	72	[DEBUG]	Full name target: bcprisme/56_65563.jpg
2023-10-13	12:18:01	72	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:01	72	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_65563.jpg'
2023-10-13	12:18:01	72	[DEBUG]	Query for Media
2023-10-13	12:18:01	72	[DEBUG]	Executed store
2023-10-13	12:18:01	72	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_65563.jpg',`file_url_thumb`='bcprisme/56_65563.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '887724'
2023-10-13	12:18:01	72	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:01	72	[DEBUG]	Executed store
2023-10-13	12:18:01	72	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859564','887724','1')
2023-10-13	12:18:01	72	[DEBUG]	Store product image relation
2023-10-13	12:18:01	72	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:01	72	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859564 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:01	72	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:01	72	[DEBUG]	Executed store
2023-10-13	12:18:01	72	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859564','0','797.585886722377','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:01	72	[DEBUG]	Checking manufacturer
2023-10-13	12:18:01	72	[DEBUG]	Load a row
2023-10-13	12:18:01	72	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:01	72	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:18:01	72	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:01	72	[DEBUG]	Executed store
2023-10-13	12:18:01	72	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:18:01	72	[DEBUG]	Manufacturer exists
2023-10-13	12:18:01	72	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:18:01	72	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:01	72	[DEBUG]	Executed store
2023-10-13	12:18:01	72	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859564','33')
2023-10-13	12:18:01	72	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:01	72	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:01	72	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859564 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:01	72	[DEBUG]	Store custom available field
2023-10-13	12:18:01	72	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859564,3,'',1)
2023-10-13	12:18:01	72	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:01	72	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:18:01	72	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859564 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:01	72	[DEBUG]	Store custom available field
2023-10-13	12:18:01	72	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859564,6,'All',3)
2023-10-13	12:18:01	72	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:01	72	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:01	72	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859563
2023-10-13	12:18:01	72	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:01	72	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859563\":[1859563,8,1,\"choisir la taille\"],\"1859564\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859563
2023-10-13	12:18:01	72	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:01	72	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859564
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:01	73	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field taille
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:01	73	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:01	73	[DEBUG]	Use default value for field file_url
2023-10-13	12:18:01	73	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:01	73	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:01	73	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:01	73	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:01	73	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:01	73	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:01	73	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field published
2023-10-13	12:18:01	73	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:01	73	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field override
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:01	73	[DEBUG]	Use field value for field slug
2023-10-13	12:18:01	73	[DEBUG]	Process line 73
2023-10-13	12:18:01	73	[DEBUG]	Load a row
2023-10-13	12:18:01	73	[DEBUG]	Processing item: A_6191_3
2023-10-13	12:18:01	73	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:01	73	[DEBUG]	Processing product tax
2023-10-13	12:18:01	73	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:01	73	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:01	73	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:01	73	[DEBUG]	Query for Product
2023-10-13	12:18:01	73	[DEBUG]	Executed store
2023-10-13	12:18:01	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6191_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:01	73	[DEBUG]	Check product language entry
2023-10-13	12:18:01	73	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859565
2023-10-13	12:18:01	73	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:01	73	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6191_3' AND `virtuemart_product_id` != 1859565
2023-10-13	12:18:01	73	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:01	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859565, 'A_6191_3')
2023-10-13	12:18:01	73	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:01	73	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fabien-bike-batterie-panasonic-16ah-416wh-none' AND `virtuemart_product_id` != 1859565
2023-10-13	12:18:01	73	[DEBUG]	Query for ProductLang
2023-10-13	12:18:01	73	[DEBUG]	Executed store
2023-10-13	12:18:01	73	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fabien Bike BATTERIE PANASONIC 16AH/416WH / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fabien-bike-batterie-panasonic-16ah-416wh-none' WHERE `virtuemart_product_id` = '1859565'
2023-10-13	12:18:01	73	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:01	73	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859565 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:01	73	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:01	73	[DEBUG]	Executed store
2023-10-13	12:18:01	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859565','0','826.369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:01	73	[DEBUG]	Checking manufacturer
2023-10-13	12:18:01	73	[DEBUG]	Load a row
2023-10-13	12:18:01	73	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:01	73	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '27'
2023-10-13	12:18:01	73	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:01	73	[DEBUG]	Executed store
2023-10-13	12:18:01	73	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-27649235336' WHERE `virtuemart_manufacturer_id` = '27'
2023-10-13	12:18:01	73	[DEBUG]	Manufacturer exists
2023-10-13	12:18:01	73	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 27
2023-10-13	12:18:01	73	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:01	73	[DEBUG]	Executed store
2023-10-13	12:18:01	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859565','27')
2023-10-13	12:18:01	73	[DEBUG]	Find the custom field ID
2023-10-13	12:18:01	73	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:01	73	[DEBUG]	No custom field ID found
2023-10-13	12:18:01	73	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:01	73	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:01	73	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859565 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:01	73	[DEBUG]	Store custom available field
2023-10-13	12:18:01	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859565,3,'0',1)
2023-10-13	12:18:01	73	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:01	73	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:01	73	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859565 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:01	73	[DEBUG]	Store custom available field
2023-10-13	12:18:01	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859565,6,'choisir la taille',3)
2023-10-13	12:18:01	73	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:01	73	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:01	73	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:01	73	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:01	73	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859565 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:01	73	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:01	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859565,8,1)
2023-10-13	12:18:01	73	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:01	73	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859565\":[1859565,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859565
2023-10-13	12:18:01	73	[DEBUG]	Checking category
2023-10-13	12:18:01	73	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:01	73	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859565
2023-10-13	12:18:01	73	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:01	73	[DEBUG]	Executed store
2023-10-13	12:18:01	73	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859565','7326')
2023-10-13	12:18:01	73	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:01	73	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859565 AND `virtuemart_category_id` NOT IN (7326)
2023-10-13	12:18:01	73	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:01	73	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859565
2023-10-13	12:18:01	74	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:01	74	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:01	74	[DEBUG]	Use field value for field taille
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:01	74	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:01	74	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:01	74	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field file_url
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:01	74	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:01	74	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:01	74	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:01	74	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:01	74	[DEBUG]	Use field value for field published
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:01	74	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field override
2023-10-13	12:18:01	74	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:01	74	[DEBUG]	Use field value for field slug
2023-10-13	12:18:01	74	[DEBUG]	Process line 74
2023-10-13	12:18:01	74	[DEBUG]	Load a row
2023-10-13	12:18:01	74	[DEBUG]	Processing item: 1000000102505
2023-10-13	12:18:01	74	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:01	74	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:01	74	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6191_3'
2023-10-13	12:18:01	74	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:01	74	[DEBUG]	Processing product tax
2023-10-13	12:18:01	74	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:01	74	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:01	74	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:01	74	[DEBUG]	Query for Product
2023-10-13	12:18:01	74	[DEBUG]	Executed store
2023-10-13	12:18:01	74	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859565','1000000102505','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:01	74	[DEBUG]	No parent found
2023-10-13	12:18:01	74	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859565 AND customfield_value = 'stockable'
2023-10-13	12:18:01	74	[DEBUG]	Check product language entry
2023-10-13	12:18:01	74	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859566
2023-10-13	12:18:01	74	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:01	74	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000102505' AND `virtuemart_product_id` != 1859566
2023-10-13	12:18:01	74	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:01	74	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859566, '1000000102505')
2023-10-13	12:18:01	74	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:01	74	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fabien-bike-batterie-panasonic-16ah-416wh-none-unitaire' AND `virtuemart_product_id` != 1859566
2023-10-13	12:18:01	74	[DEBUG]	Query for ProductLang
2023-10-13	12:18:01	74	[DEBUG]	Executed store
2023-10-13	12:18:01	74	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fabien Bike BATTERIE PANASONIC 16AH/416WH / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fabien-bike-batterie-panasonic-16ah-416wh-none-unitaire' WHERE `virtuemart_product_id` = '1859566'
2023-10-13	12:18:01	74	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:01	74	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859566 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:01	74	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:01	74	[DEBUG]	Executed store
2023-10-13	12:18:01	74	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859566','0','826.369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:01	74	[DEBUG]	Checking manufacturer
2023-10-13	12:18:01	74	[DEBUG]	Load a row
2023-10-13	12:18:01	74	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:01	74	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '27'
2023-10-13	12:18:01	74	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:01	74	[DEBUG]	Executed store
2023-10-13	12:18:01	74	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-27649235336' WHERE `virtuemart_manufacturer_id` = '27'
2023-10-13	12:18:01	74	[DEBUG]	Manufacturer exists
2023-10-13	12:18:01	74	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 27
2023-10-13	12:18:01	74	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:01	74	[DEBUG]	Executed store
2023-10-13	12:18:01	74	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859566','27')
2023-10-13	12:18:01	74	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:01	74	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:01	74	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859566 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:01	74	[DEBUG]	Store custom available field
2023-10-13	12:18:01	74	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859566,3,'',1)
2023-10-13	12:18:01	74	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:01	74	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:01	74	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859566 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:01	74	[DEBUG]	Store custom available field
2023-10-13	12:18:01	74	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859566,6,'Unitaire',3)
2023-10-13	12:18:01	74	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:01	74	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:01	74	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859565
2023-10-13	12:18:01	74	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:01	74	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859565\":[1859565,8,1,\"choisir la taille\"],\"1859566\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859565
2023-10-13	12:18:01	74	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:01	74	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859566
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:01	75	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field taille
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:01	75	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:01	75	[DEBUG]	Use default value for field file_url
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:01	75	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:01	75	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:01	75	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:01	75	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:01	75	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:01	75	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field published
2023-10-13	12:18:01	75	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:01	75	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field override
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:01	75	[DEBUG]	Use field value for field slug
2023-10-13	12:18:01	75	[DEBUG]	Process line 75
2023-10-13	12:18:01	75	[DEBUG]	Load a row
2023-10-13	12:18:01	75	[DEBUG]	Processing item: A_6325_3
2023-10-13	12:18:01	75	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:01	75	[DEBUG]	Processing product tax
2023-10-13	12:18:01	75	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:01	75	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:01	75	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:01	75	[DEBUG]	Query for Product
2023-10-13	12:18:01	75	[DEBUG]	Executed store
2023-10-13	12:18:01	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6325_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:01	75	[DEBUG]	Check product language entry
2023-10-13	12:18:01	75	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859567
2023-10-13	12:18:01	75	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:01	75	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6325_3' AND `virtuemart_product_id` != 1859567
2023-10-13	12:18:01	75	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:01	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859567, 'A_6325_3')
2023-10-13	12:18:01	75	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:01	75	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fabien-bike-batterie-panasonic-deluxe-36v-554wh-15ah-next-generation-none' AND `virtuemart_product_id` != 1859567
2023-10-13	12:18:01	75	[DEBUG]	Query for ProductLang
2023-10-13	12:18:01	75	[DEBUG]	Executed store
2023-10-13	12:18:01	75	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 152302',`product_name`='Fabien Bike BATTERIE PANASONIC DELUXE 36V/554Wh 15Ah Next generation / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fabien-bike-batterie-panasonic-deluxe-36v-554wh-15ah-next-generation-none' WHERE `virtuemart_product_id` = '1859567'
2023-10-13	12:18:01	75	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:01	75	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859567 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:01	75	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:01	75	[DEBUG]	Executed store
2023-10-13	12:18:01	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859567','0','919.220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:01	75	[DEBUG]	Checking manufacturer
2023-10-13	12:18:01	75	[DEBUG]	Load a row
2023-10-13	12:18:01	75	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:01	75	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '27'
2023-10-13	12:18:01	75	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:01	75	[DEBUG]	Executed store
2023-10-13	12:18:01	75	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-27649235336' WHERE `virtuemart_manufacturer_id` = '27'
2023-10-13	12:18:01	75	[DEBUG]	Manufacturer exists
2023-10-13	12:18:01	75	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 27
2023-10-13	12:18:01	75	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:01	75	[DEBUG]	Executed store
2023-10-13	12:18:01	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859567','27')
2023-10-13	12:18:01	75	[DEBUG]	Find the custom field ID
2023-10-13	12:18:01	75	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:01	75	[DEBUG]	No custom field ID found
2023-10-13	12:18:01	75	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:01	75	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:01	75	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859567 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:01	75	[DEBUG]	Store custom available field
2023-10-13	12:18:01	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859567,3,'0',1)
2023-10-13	12:18:01	75	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:01	75	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:01	75	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859567 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:01	75	[DEBUG]	Store custom available field
2023-10-13	12:18:01	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859567,6,'choisir la taille',3)
2023-10-13	12:18:01	75	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:01	75	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:01	75	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:01	75	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:01	75	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859567 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:01	75	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:01	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859567,8,1)
2023-10-13	12:18:01	75	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:01	75	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859567\":[1859567,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859567
2023-10-13	12:18:01	75	[DEBUG]	Checking category
2023-10-13	12:18:01	75	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:01	75	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859567
2023-10-13	12:18:01	75	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:01	75	[DEBUG]	Executed store
2023-10-13	12:18:01	75	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859567','7326')
2023-10-13	12:18:01	75	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:01	75	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859567 AND `virtuemart_category_id` NOT IN (7326)
2023-10-13	12:18:01	75	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:01	75	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859567
2023-10-13	12:18:01	76	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:01	76	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:01	76	[DEBUG]	Use field value for field taille
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:01	76	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:01	76	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:01	76	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field file_url
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:01	76	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:01	76	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:01	76	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:01	76	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:01	76	[DEBUG]	Use field value for field published
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:01	76	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field override
2023-10-13	12:18:01	76	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:01	76	[DEBUG]	Use field value for field slug
2023-10-13	12:18:01	76	[DEBUG]	Process line 76
2023-10-13	12:18:01	76	[DEBUG]	Load a row
2023-10-13	12:18:01	76	[DEBUG]	Processing item: 1000000104172
2023-10-13	12:18:01	76	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:01	76	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:01	76	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6325_3'
2023-10-13	12:18:01	76	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:01	76	[DEBUG]	Processing product tax
2023-10-13	12:18:01	76	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:01	76	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:01	76	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:01	76	[DEBUG]	Query for Product
2023-10-13	12:18:01	76	[DEBUG]	Executed store
2023-10-13	12:18:01	76	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859567','1000000104172','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:01	76	[DEBUG]	No parent found
2023-10-13	12:18:01	76	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859567 AND customfield_value = 'stockable'
2023-10-13	12:18:01	76	[DEBUG]	Check product language entry
2023-10-13	12:18:01	76	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859568
2023-10-13	12:18:01	76	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:01	76	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000104172' AND `virtuemart_product_id` != 1859568
2023-10-13	12:18:01	76	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:01	76	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859568, '1000000104172')
2023-10-13	12:18:01	76	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:01	76	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fabien-bike-batterie-panasonic-deluxe-36v-554wh-15ah-next-generation-none-unitaire' AND `virtuemart_product_id` != 1859568
2023-10-13	12:18:01	76	[DEBUG]	Query for ProductLang
2023-10-13	12:18:01	76	[DEBUG]	Executed store
2023-10-13	12:18:01	76	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fabien Bike BATTERIE PANASONIC DELUXE 36V/554Wh 15Ah Next generation / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fabien-bike-batterie-panasonic-deluxe-36v-554wh-15ah-next-generation-none-unitaire' WHERE `virtuemart_product_id` = '1859568'
2023-10-13	12:18:01	76	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:01	76	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859568 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:01	76	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:01	76	[DEBUG]	Executed store
2023-10-13	12:18:01	76	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859568','0','919.220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:01	76	[DEBUG]	Checking manufacturer
2023-10-13	12:18:01	76	[DEBUG]	Load a row
2023-10-13	12:18:01	76	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:01	76	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '27'
2023-10-13	12:18:01	76	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:01	76	[DEBUG]	Executed store
2023-10-13	12:18:01	76	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-27649235336' WHERE `virtuemart_manufacturer_id` = '27'
2023-10-13	12:18:01	76	[DEBUG]	Manufacturer exists
2023-10-13	12:18:01	76	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 27
2023-10-13	12:18:01	76	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:01	76	[DEBUG]	Executed store
2023-10-13	12:18:01	76	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859568','27')
2023-10-13	12:18:01	76	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:01	76	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:01	76	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859568 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:01	76	[DEBUG]	Store custom available field
2023-10-13	12:18:01	76	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859568,3,'',1)
2023-10-13	12:18:01	76	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:01	76	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:01	76	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859568 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:01	76	[DEBUG]	Store custom available field
2023-10-13	12:18:01	76	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859568,6,'Unitaire',3)
2023-10-13	12:18:01	76	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:01	76	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:01	76	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859567
2023-10-13	12:18:01	76	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:01	76	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859567\":[1859567,8,1,\"choisir la taille\"],\"1859568\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859567
2023-10-13	12:18:01	76	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:01	76	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859568
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:01	77	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field taille
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:01	77	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:01	77	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:01	77	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:01	77	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:01	77	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:01	77	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field published
2023-10-13	12:18:01	77	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:01	77	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field override
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:01	77	[DEBUG]	Use field value for field slug
2023-10-13	12:18:01	77	[DEBUG]	Process line 77
2023-10-13	12:18:01	77	[DEBUG]	Load a row
2023-10-13	12:18:01	77	[DEBUG]	Processing item: A_6408_208
2023-10-13	12:18:01	77	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:01	77	[DEBUG]	Processing product tax
2023-10-13	12:18:01	77	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:01	77	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:01	77	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:01	77	[DEBUG]	Query for Product
2023-10-13	12:18:01	77	[DEBUG]	Executed store
2023-10-13	12:18:01	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6408_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:01	77	[DEBUG]	Check product language entry
2023-10-13	12:18:01	77	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859569
2023-10-13	12:18:01	77	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:01	77	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6408_208' AND `virtuemart_product_id` != 1859569
2023-10-13	12:18:01	77	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:01	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859569, 'A_6408_208')
2023-10-13	12:18:01	77	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:01	77	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-batterie-du-cadre-powerpack-500-performance-anthrazit-aucune' AND `virtuemart_product_id` != 1859569
2023-10-13	12:18:01	77	[DEBUG]	Query for ProductLang
2023-10-13	12:18:01	77	[DEBUG]	Executed store
2023-10-13	12:18:01	77	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.65561',`product_name`='Bosch Batterie du cadre PowerPack 500 Performance Anthrazit / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-batterie-du-cadre-powerpack-500-performance-anthrazit-aucune' WHERE `virtuemart_product_id` = '1859569'
2023-10-13	12:18:01	77	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32293_bosch_batterie_du_cadre_powerpack_500_performance_anthrazit.jpg
2023-10-13	12:18:01	77	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:01	77	[DEBUG]	Process image file
2023-10-13	12:18:01	77	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:01	77	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:01	77	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32293_bosch_batterie_du_cadre_powerpack_500_performance_anthrazit.jpg
2023-10-13	12:18:01	77	[DEBUG]	Full name target: bcprisme/32293_bosch_batterie_du_cadre_powerpack_500_performance_anthrazit.jpg
2023-10-13	12:18:02	77	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:02	77	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32293_bosch_batterie_du_cadre_powerpack_500_performance_anthrazit.jpg'
2023-10-13	12:18:02	77	[DEBUG]	Query for Media
2023-10-13	12:18:02	77	[DEBUG]	Executed store
2023-10-13	12:18:02	77	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32293_bosch_batterie_du_cadre_powerpack_500_performance_anthrazit.jpg',`file_url_thumb`='bcprisme/32293_bosch_batterie_du_cadre_powerpack_500_performance_anthrazit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15266'
2023-10-13	12:18:02	77	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:02	77	[DEBUG]	Executed store
2023-10-13	12:18:02	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859569','15266','1')
2023-10-13	12:18:02	77	[DEBUG]	Store product image relation
2023-10-13	12:18:02	77	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:02	77	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859569 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:02	77	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:02	77	[DEBUG]	Executed store
2023-10-13	12:18:02	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859569','0','714.020427112349','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:02	77	[DEBUG]	Checking manufacturer
2023-10-13	12:18:02	77	[DEBUG]	Load a row
2023-10-13	12:18:02	77	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:02	77	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:18:02	77	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:02	77	[DEBUG]	Executed store
2023-10-13	12:18:02	77	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:18:02	77	[DEBUG]	Manufacturer exists
2023-10-13	12:18:02	77	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:18:02	77	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:02	77	[DEBUG]	Executed store
2023-10-13	12:18:02	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859569','33')
2023-10-13	12:18:02	77	[DEBUG]	Find the custom field ID
2023-10-13	12:18:02	77	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:02	77	[DEBUG]	No custom field ID found
2023-10-13	12:18:02	77	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:02	77	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:02	77	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859569 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:02	77	[DEBUG]	Store custom available field
2023-10-13	12:18:02	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859569,3,'0',1)
2023-10-13	12:18:02	77	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:02	77	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:02	77	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859569 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:02	77	[DEBUG]	Store custom available field
2023-10-13	12:18:02	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859569,6,'choisir la taille',3)
2023-10-13	12:18:02	77	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:02	77	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:02	77	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:02	77	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:02	77	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859569 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:02	77	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:02	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859569,8,1)
2023-10-13	12:18:02	77	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:02	77	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859569\":[1859569,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859569
2023-10-13	12:18:02	77	[DEBUG]	Checking category
2023-10-13	12:18:02	77	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:02	77	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859569
2023-10-13	12:18:02	77	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:02	77	[DEBUG]	Executed store
2023-10-13	12:18:02	77	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859569','7326')
2023-10-13	12:18:02	77	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:02	77	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859569 AND `virtuemart_category_id` NOT IN (7326)
2023-10-13	12:18:02	77	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:02	77	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859569
2023-10-13	12:18:02	78	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:02	78	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:02	78	[DEBUG]	Use field value for field taille
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:02	78	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:02	78	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:02	78	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:02	78	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:02	78	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:02	78	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:02	78	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:02	78	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:02	78	[DEBUG]	Use field value for field published
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:02	78	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field override
2023-10-13	12:18:02	78	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:02	78	[DEBUG]	Use field value for field slug
2023-10-13	12:18:02	78	[DEBUG]	Process line 78
2023-10-13	12:18:02	78	[DEBUG]	Load a row
2023-10-13	12:18:02	78	[DEBUG]	Processing item: 4047025396202
2023-10-13	12:18:02	78	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:02	78	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:02	78	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6408_208'
2023-10-13	12:18:02	78	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:02	78	[DEBUG]	Processing product tax
2023-10-13	12:18:02	78	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:02	78	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:02	78	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:02	78	[DEBUG]	Query for Product
2023-10-13	12:18:02	78	[DEBUG]	Executed store
2023-10-13	12:18:02	78	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859569','4047025396202','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:02	78	[DEBUG]	No parent found
2023-10-13	12:18:02	78	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859569 AND customfield_value = 'stockable'
2023-10-13	12:18:02	78	[DEBUG]	Check product language entry
2023-10-13	12:18:02	78	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859570
2023-10-13	12:18:02	78	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:02	78	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047025396202' AND `virtuemart_product_id` != 1859570
2023-10-13	12:18:02	78	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:02	78	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859570, '4047025396202')
2023-10-13	12:18:02	78	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:02	78	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-batterie-du-cadre-powerpack-500-performance-anthrazit-aucune-all' AND `virtuemart_product_id` != 1859570
2023-10-13	12:18:02	78	[DEBUG]	Query for ProductLang
2023-10-13	12:18:02	78	[DEBUG]	Executed store
2023-10-13	12:18:02	78	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Batterie du cadre PowerPack 500 Performance Anthrazit / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-batterie-du-cadre-powerpack-500-performance-anthrazit-aucune-all' WHERE `virtuemart_product_id` = '1859570'
2023-10-13	12:18:02	78	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32293_bosch_batterie_du_cadre_powerpack_500_performance_anthrazit.jpg
2023-10-13	12:18:02	78	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:02	78	[DEBUG]	Process image file
2023-10-13	12:18:02	78	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:02	78	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:02	78	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32293_bosch_batterie_du_cadre_powerpack_500_performance_anthrazit.jpg
2023-10-13	12:18:02	78	[DEBUG]	Full name target: bcprisme/32293_bosch_batterie_du_cadre_powerpack_500_performance_anthrazit.jpg
2023-10-13	12:18:03	78	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:03	78	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32293_bosch_batterie_du_cadre_powerpack_500_performance_anthrazit.jpg'
2023-10-13	12:18:03	78	[DEBUG]	Query for Media
2023-10-13	12:18:03	78	[DEBUG]	Executed store
2023-10-13	12:18:03	78	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32293_bosch_batterie_du_cadre_powerpack_500_performance_anthrazit.jpg',`file_url_thumb`='bcprisme/32293_bosch_batterie_du_cadre_powerpack_500_performance_anthrazit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15266'
2023-10-13	12:18:03	78	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:03	78	[DEBUG]	Executed store
2023-10-13	12:18:03	78	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859570','15266','1')
2023-10-13	12:18:03	78	[DEBUG]	Store product image relation
2023-10-13	12:18:03	78	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:03	78	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859570 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:03	78	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:03	78	[DEBUG]	Executed store
2023-10-13	12:18:03	78	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859570','0','714.020427112349','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:03	78	[DEBUG]	Checking manufacturer
2023-10-13	12:18:03	78	[DEBUG]	Load a row
2023-10-13	12:18:03	78	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:03	78	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:18:03	78	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:03	78	[DEBUG]	Executed store
2023-10-13	12:18:03	78	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:18:03	78	[DEBUG]	Manufacturer exists
2023-10-13	12:18:03	78	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:18:03	78	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:03	78	[DEBUG]	Executed store
2023-10-13	12:18:03	78	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859570','33')
2023-10-13	12:18:03	78	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:03	78	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:03	78	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859570 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:03	78	[DEBUG]	Store custom available field
2023-10-13	12:18:03	78	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859570,3,'',1)
2023-10-13	12:18:03	78	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:03	78	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:18:03	78	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859570 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:03	78	[DEBUG]	Store custom available field
2023-10-13	12:18:03	78	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859570,6,'All',3)
2023-10-13	12:18:03	78	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:03	78	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:03	78	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859569
2023-10-13	12:18:03	78	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:03	78	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859569\":[1859569,8,1,\"choisir la taille\"],\"1859570\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859569
2023-10-13	12:18:03	78	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:03	78	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859570
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:03	79	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field taille
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:03	79	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:03	79	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:03	79	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:03	79	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:03	79	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:03	79	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field published
2023-10-13	12:18:03	79	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:03	79	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field override
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:03	79	[DEBUG]	Use field value for field slug
2023-10-13	12:18:03	79	[DEBUG]	Process line 79
2023-10-13	12:18:03	79	[DEBUG]	Load a row
2023-10-13	12:18:03	79	[DEBUG]	Processing item: A_6464_3
2023-10-13	12:18:03	79	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:03	79	[DEBUG]	Processing product tax
2023-10-13	12:18:03	79	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:03	79	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:03	79	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:03	79	[DEBUG]	Query for Product
2023-10-13	12:18:03	79	[DEBUG]	Executed store
2023-10-13	12:18:03	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6464_3','5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:03	79	[DEBUG]	Check product language entry
2023-10-13	12:18:03	79	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859571
2023-10-13	12:18:03	79	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:03	79	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6464_3' AND `virtuemart_product_id` != 1859571
2023-10-13	12:18:03	79	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:03	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859571, 'A_6464_3')
2023-10-13	12:18:03	79	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:03	79	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-batterie-de-cadre-500-watt-a-partir-de-my17-none' AND `virtuemart_product_id` != 1859571
2023-10-13	12:18:03	79	[DEBUG]	Query for ProductLang
2023-10-13	12:18:03	79	[DEBUG]	Executed store
2023-10-13	12:18:03	79	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.032',`product_name`='GIANT Batterie de cadre 500 Watt à partir de MY17 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-batterie-de-cadre-500-watt-a-partir-de-my17-none' WHERE `virtuemart_product_id` = '1859571'
2023-10-13	12:18:03	79	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32347_giant_batterie_de_cadre_500_watt.jpg
2023-10-13	12:18:03	79	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:03	79	[DEBUG]	Process image file
2023-10-13	12:18:03	79	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:03	79	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:03	79	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32347_giant_batterie_de_cadre_500_watt.jpg
2023-10-13	12:18:03	79	[DEBUG]	Full name target: bcprisme/32347_giant_batterie_de_cadre_500_watt.jpg
2023-10-13	12:18:04	79	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:04	79	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32347_giant_batterie_de_cadre_500_watt.jpg'
2023-10-13	12:18:04	79	[DEBUG]	Query for Media
2023-10-13	12:18:04	79	[DEBUG]	Executed store
2023-10-13	12:18:04	79	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32347_giant_batterie_de_cadre_500_watt.jpg',`file_url_thumb`='bcprisme/32347_giant_batterie_de_cadre_500_watt.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '181202'
2023-10-13	12:18:04	79	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:04	79	[DEBUG]	Executed store
2023-10-13	12:18:04	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859571','181202','1')
2023-10-13	12:18:04	79	[DEBUG]	Store product image relation
2023-10-13	12:18:04	79	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:04	79	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859571 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:04	79	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:04	79	[DEBUG]	Executed store
2023-10-13	12:18:04	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859571','0','834.7260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:04	79	[DEBUG]	Checking manufacturer
2023-10-13	12:18:04	79	[DEBUG]	Load a row
2023-10-13	12:18:04	79	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:04	79	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:04	79	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:04	79	[DEBUG]	Executed store
2023-10-13	12:18:04	79	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:04	79	[DEBUG]	Manufacturer exists
2023-10-13	12:18:04	79	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:04	79	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:04	79	[DEBUG]	Executed store
2023-10-13	12:18:04	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859571','29')
2023-10-13	12:18:04	79	[DEBUG]	Find the custom field ID
2023-10-13	12:18:04	79	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:04	79	[DEBUG]	No custom field ID found
2023-10-13	12:18:04	79	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:04	79	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:04	79	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859571 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:04	79	[DEBUG]	Store custom available field
2023-10-13	12:18:04	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859571,3,'0',1)
2023-10-13	12:18:04	79	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:04	79	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:04	79	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859571 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:04	79	[DEBUG]	Store custom available field
2023-10-13	12:18:04	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859571,6,'choisir la taille',3)
2023-10-13	12:18:04	79	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:04	79	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:04	79	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:04	79	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:04	79	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859571 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:04	79	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:04	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859571,8,1)
2023-10-13	12:18:04	79	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:04	79	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859571\":[1859571,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859571
2023-10-13	12:18:04	79	[DEBUG]	Checking category
2023-10-13	12:18:04	79	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:04	79	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859571
2023-10-13	12:18:04	79	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:04	79	[DEBUG]	Executed store
2023-10-13	12:18:04	79	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859571','7326')
2023-10-13	12:18:04	79	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:04	79	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859571 AND `virtuemart_category_id` NOT IN (7326)
2023-10-13	12:18:04	79	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:04	79	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859571
2023-10-13	12:18:04	80	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:04	80	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:04	80	[DEBUG]	Use field value for field taille
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:04	80	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:04	80	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:04	80	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:04	80	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:04	80	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:04	80	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:04	80	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:04	80	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:04	80	[DEBUG]	Use field value for field published
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:04	80	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field override
2023-10-13	12:18:04	80	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:04	80	[DEBUG]	Use field value for field slug
2023-10-13	12:18:04	80	[DEBUG]	Process line 80
2023-10-13	12:18:04	80	[DEBUG]	Load a row
2023-10-13	12:18:04	80	[DEBUG]	Processing item: 1000000105605
2023-10-13	12:18:04	80	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:04	80	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:04	80	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6464_3'
2023-10-13	12:18:04	80	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:04	80	[DEBUG]	Processing product tax
2023-10-13	12:18:04	80	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:04	80	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:04	80	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:04	80	[DEBUG]	Query for Product
2023-10-13	12:18:04	80	[DEBUG]	Executed store
2023-10-13	12:18:04	80	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859571','1000000105605','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:04	80	[DEBUG]	No parent found
2023-10-13	12:18:04	80	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859571 AND customfield_value = 'stockable'
2023-10-13	12:18:04	80	[DEBUG]	Check product language entry
2023-10-13	12:18:04	80	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859572
2023-10-13	12:18:04	80	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:04	80	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000105605' AND `virtuemart_product_id` != 1859572
2023-10-13	12:18:04	80	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:04	80	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859572, '1000000105605')
2023-10-13	12:18:04	80	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:04	80	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-batterie-de-cadre-500-watt-a-partir-de-my17-none-unitaire' AND `virtuemart_product_id` != 1859572
2023-10-13	12:18:04	80	[DEBUG]	Query for ProductLang
2023-10-13	12:18:04	80	[DEBUG]	Executed store
2023-10-13	12:18:04	80	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Batterie de cadre 500 Watt à partir de MY17 / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-batterie-de-cadre-500-watt-a-partir-de-my17-none-unitaire' WHERE `virtuemart_product_id` = '1859572'
2023-10-13	12:18:04	80	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32347_giant_batterie_de_cadre_500_watt.jpg
2023-10-13	12:18:04	80	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:04	80	[DEBUG]	Process image file
2023-10-13	12:18:04	80	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:04	80	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:04	80	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32347_giant_batterie_de_cadre_500_watt.jpg
2023-10-13	12:18:04	80	[DEBUG]	Full name target: bcprisme/32347_giant_batterie_de_cadre_500_watt.jpg
2023-10-13	12:18:05	80	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:05	80	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32347_giant_batterie_de_cadre_500_watt.jpg'
2023-10-13	12:18:05	80	[DEBUG]	Query for Media
2023-10-13	12:18:05	80	[DEBUG]	Executed store
2023-10-13	12:18:05	80	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32347_giant_batterie_de_cadre_500_watt.jpg',`file_url_thumb`='bcprisme/32347_giant_batterie_de_cadre_500_watt.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '181202'
2023-10-13	12:18:05	80	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:05	80	[DEBUG]	Executed store
2023-10-13	12:18:05	80	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859572','181202','1')
2023-10-13	12:18:05	80	[DEBUG]	Store product image relation
2023-10-13	12:18:05	80	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:05	80	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859572 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:05	80	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:05	80	[DEBUG]	Executed store
2023-10-13	12:18:05	80	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859572','0','834.7260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:05	80	[DEBUG]	Checking manufacturer
2023-10-13	12:18:05	80	[DEBUG]	Load a row
2023-10-13	12:18:05	80	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:05	80	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:05	80	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:05	80	[DEBUG]	Executed store
2023-10-13	12:18:05	80	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:05	80	[DEBUG]	Manufacturer exists
2023-10-13	12:18:05	80	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:05	80	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:05	80	[DEBUG]	Executed store
2023-10-13	12:18:05	80	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859572','29')
2023-10-13	12:18:05	80	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:05	80	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:05	80	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859572 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:05	80	[DEBUG]	Store custom available field
2023-10-13	12:18:05	80	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859572,3,'',1)
2023-10-13	12:18:05	80	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:05	80	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:05	80	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859572 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:05	80	[DEBUG]	Store custom available field
2023-10-13	12:18:05	80	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859572,6,'Unitaire',3)
2023-10-13	12:18:05	80	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:05	80	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:05	80	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859571
2023-10-13	12:18:05	80	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:05	80	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859571\":[1859571,8,1,\"choisir la taille\"],\"1859572\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859571
2023-10-13	12:18:05	80	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:05	80	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859572
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:05	81	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field taille
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:05	81	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:05	81	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:05	81	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:05	81	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:05	81	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:05	81	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field published
2023-10-13	12:18:05	81	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:05	81	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field override
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:05	81	[DEBUG]	Use field value for field slug
2023-10-13	12:18:05	81	[DEBUG]	Process line 81
2023-10-13	12:18:05	81	[DEBUG]	Load a row
2023-10-13	12:18:05	81	[DEBUG]	Processing item: A_7751_1
2023-10-13	12:18:05	81	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:05	81	[DEBUG]	Processing product tax
2023-10-13	12:18:05	81	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:05	81	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:05	81	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:05	81	[DEBUG]	Query for Product
2023-10-13	12:18:05	81	[DEBUG]	Executed store
2023-10-13	12:18:05	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7751_1','5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:05	81	[DEBUG]	Check product language entry
2023-10-13	12:18:05	81	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859573
2023-10-13	12:18:05	81	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:05	81	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7751_1' AND `virtuemart_product_id` != 1859573
2023-10-13	12:18:05	81	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:05	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859573, 'A_7751_1')
2023-10-13	12:18:05	81	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:05	81	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-batterie-de-cadre-500-watt-a-partir-de-my19-noir' AND `virtuemart_product_id` != 1859573
2023-10-13	12:18:05	81	[DEBUG]	Query for ProductLang
2023-10-13	12:18:05	81	[DEBUG]	Executed store
2023-10-13	12:18:05	81	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.069',`product_name`='GIANT Batterie de cadre 500 Watt à partir de MY19 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-batterie-de-cadre-500-watt-a-partir-de-my19-noir' WHERE `virtuemart_product_id` = '1859573'
2023-10-13	12:18:05	81	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36109_giant_batterie_de_cadre_500_watt_à_partir_de_my19.jpg
2023-10-13	12:18:05	81	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:05	81	[DEBUG]	Process image file
2023-10-13	12:18:05	81	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:05	81	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:05	81	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36109_giant_batterie_de_cadre_500_watt_à_partir_de_my19.jpg
2023-10-13	12:18:05	81	[DEBUG]	Full name target: bcprisme/36109_giant_batterie_de_cadre_500_watt_à_partir_de_my19.jpg
2023-10-13	12:18:06	81	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:06	81	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36109_giant_batterie_de_cadre_500_watt_à_partir_de_my19.jpg'
2023-10-13	12:18:06	81	[DEBUG]	Query for Media
2023-10-13	12:18:06	81	[DEBUG]	Executed store
2023-10-13	12:18:06	81	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36109_giant_batterie_de_cadre_500_watt_à_partir_de_my19.jpg',`file_url_thumb`='bcprisme/36109_giant_batterie_de_cadre_500_watt_à_partir_de_my19.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '441973'
2023-10-13	12:18:06	81	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:06	81	[DEBUG]	Executed store
2023-10-13	12:18:06	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859573','441973','1')
2023-10-13	12:18:06	81	[DEBUG]	Store product image relation
2023-10-13	12:18:06	81	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:06	81	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859573 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:06	81	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:06	81	[DEBUG]	Executed store
2023-10-13	12:18:06	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859573','0','927.576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:06	81	[DEBUG]	Checking manufacturer
2023-10-13	12:18:06	81	[DEBUG]	Load a row
2023-10-13	12:18:06	81	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:06	81	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:06	81	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:06	81	[DEBUG]	Executed store
2023-10-13	12:18:06	81	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:06	81	[DEBUG]	Manufacturer exists
2023-10-13	12:18:06	81	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:06	81	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:06	81	[DEBUG]	Executed store
2023-10-13	12:18:06	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859573','29')
2023-10-13	12:18:06	81	[DEBUG]	Find the custom field ID
2023-10-13	12:18:06	81	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:06	81	[DEBUG]	No custom field ID found
2023-10-13	12:18:06	81	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:06	81	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:06	81	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859573 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:06	81	[DEBUG]	Store custom available field
2023-10-13	12:18:06	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859573,3,'0',1)
2023-10-13	12:18:06	81	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:06	81	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:06	81	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859573 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:06	81	[DEBUG]	Store custom available field
2023-10-13	12:18:06	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859573,6,'choisir la taille',3)
2023-10-13	12:18:06	81	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:06	81	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:06	81	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:06	81	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:06	81	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859573 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:06	81	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:06	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859573,8,1)
2023-10-13	12:18:06	81	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:06	81	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859573\":[1859573,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859573
2023-10-13	12:18:06	81	[DEBUG]	Checking category
2023-10-13	12:18:06	81	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:06	81	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859573
2023-10-13	12:18:06	81	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:06	81	[DEBUG]	Executed store
2023-10-13	12:18:06	81	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859573','7326')
2023-10-13	12:18:06	81	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:06	81	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859573 AND `virtuemart_category_id` NOT IN (7326)
2023-10-13	12:18:06	81	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:06	81	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859573
2023-10-13	12:18:06	82	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:06	82	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:06	82	[DEBUG]	Use field value for field taille
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:06	82	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:06	82	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:06	82	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:06	82	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:06	82	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:06	82	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:06	82	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:06	82	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:06	82	[DEBUG]	Use field value for field published
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:06	82	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field override
2023-10-13	12:18:06	82	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:06	82	[DEBUG]	Use field value for field slug
2023-10-13	12:18:06	82	[DEBUG]	Process line 82
2023-10-13	12:18:06	82	[DEBUG]	Load a row
2023-10-13	12:18:06	82	[DEBUG]	Processing item: 1000000135893
2023-10-13	12:18:06	82	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:06	82	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:06	82	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7751_1'
2023-10-13	12:18:06	82	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:06	82	[DEBUG]	Processing product tax
2023-10-13	12:18:06	82	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:06	82	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:06	82	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:06	82	[DEBUG]	Query for Product
2023-10-13	12:18:06	82	[DEBUG]	Executed store
2023-10-13	12:18:06	82	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859573','1000000135893','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:06	82	[DEBUG]	No parent found
2023-10-13	12:18:06	82	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859573 AND customfield_value = 'stockable'
2023-10-13	12:18:06	82	[DEBUG]	Check product language entry
2023-10-13	12:18:06	82	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859574
2023-10-13	12:18:06	82	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:06	82	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000135893' AND `virtuemart_product_id` != 1859574
2023-10-13	12:18:06	82	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:06	82	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859574, '1000000135893')
2023-10-13	12:18:06	82	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:06	82	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-batterie-de-cadre-500-watt-a-partir-de-my19-noir-unitaire' AND `virtuemart_product_id` != 1859574
2023-10-13	12:18:06	82	[DEBUG]	Query for ProductLang
2023-10-13	12:18:06	82	[DEBUG]	Executed store
2023-10-13	12:18:06	82	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Batterie de cadre 500 Watt à partir de MY19 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-batterie-de-cadre-500-watt-a-partir-de-my19-noir-unitaire' WHERE `virtuemart_product_id` = '1859574'
2023-10-13	12:18:06	82	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36109_giant_batterie_de_cadre_500_watt_à_partir_de_my19.jpg
2023-10-13	12:18:06	82	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:06	82	[DEBUG]	Process image file
2023-10-13	12:18:06	82	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:06	82	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:06	82	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36109_giant_batterie_de_cadre_500_watt_à_partir_de_my19.jpg
2023-10-13	12:18:06	82	[DEBUG]	Full name target: bcprisme/36109_giant_batterie_de_cadre_500_watt_à_partir_de_my19.jpg
2023-10-13	12:18:07	82	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:07	82	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36109_giant_batterie_de_cadre_500_watt_à_partir_de_my19.jpg'
2023-10-13	12:18:07	82	[DEBUG]	Query for Media
2023-10-13	12:18:07	82	[DEBUG]	Executed store
2023-10-13	12:18:07	82	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36109_giant_batterie_de_cadre_500_watt_à_partir_de_my19.jpg',`file_url_thumb`='bcprisme/36109_giant_batterie_de_cadre_500_watt_à_partir_de_my19.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '441973'
2023-10-13	12:18:07	82	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:07	82	[DEBUG]	Executed store
2023-10-13	12:18:07	82	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859574','441973','1')
2023-10-13	12:18:07	82	[DEBUG]	Store product image relation
2023-10-13	12:18:07	82	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:07	82	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859574 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:07	82	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:07	82	[DEBUG]	Executed store
2023-10-13	12:18:07	82	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859574','0','927.576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:07	82	[DEBUG]	Checking manufacturer
2023-10-13	12:18:07	82	[DEBUG]	Load a row
2023-10-13	12:18:07	82	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:07	82	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:07	82	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:07	82	[DEBUG]	Executed store
2023-10-13	12:18:07	82	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:07	82	[DEBUG]	Manufacturer exists
2023-10-13	12:18:07	82	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:07	82	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:07	82	[DEBUG]	Executed store
2023-10-13	12:18:07	82	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859574','29')
2023-10-13	12:18:07	82	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:07	82	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:07	82	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859574 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:07	82	[DEBUG]	Store custom available field
2023-10-13	12:18:07	82	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859574,3,'',1)
2023-10-13	12:18:07	82	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:07	82	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:07	82	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859574 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:07	82	[DEBUG]	Store custom available field
2023-10-13	12:18:07	82	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859574,6,'Unitaire',3)
2023-10-13	12:18:07	82	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:07	82	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:07	82	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859573
2023-10-13	12:18:07	82	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:07	82	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859573\":[1859573,8,1,\"choisir la taille\"],\"1859574\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859573
2023-10-13	12:18:07	82	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:07	82	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859574
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:07	83	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field taille
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:07	83	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:07	83	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:07	83	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:07	83	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:07	83	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:07	83	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field published
2023-10-13	12:18:07	83	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:07	83	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field override
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:07	83	[DEBUG]	Use field value for field slug
2023-10-13	12:18:07	83	[DEBUG]	Process line 83
2023-10-13	12:18:07	83	[DEBUG]	Load a row
2023-10-13	12:18:07	83	[DEBUG]	Processing item: A_7784_1
2023-10-13	12:18:07	83	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:07	83	[DEBUG]	Processing product tax
2023-10-13	12:18:07	83	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:07	83	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:07	83	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:07	83	[DEBUG]	Query for Product
2023-10-13	12:18:07	83	[DEBUG]	Executed store
2023-10-13	12:18:07	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7784_1','5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:07	83	[DEBUG]	Check product language entry
2023-10-13	12:18:07	83	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859575
2023-10-13	12:18:07	83	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:07	83	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7784_1' AND `virtuemart_product_id` != 1859575
2023-10-13	12:18:07	83	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:07	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859575, 'A_7784_1')
2023-10-13	12:18:07	83	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:07	83	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-batterie-de-cadre-625-watt-a-partir-de-my20-noir' AND `virtuemart_product_id` != 1859575
2023-10-13	12:18:07	83	[DEBUG]	Query for ProductLang
2023-10-13	12:18:07	83	[DEBUG]	Executed store
2023-10-13	12:18:07	83	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.079',`product_name`='GIANT Batterie de cadre 625 Watt à partir de MY20  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-batterie-de-cadre-625-watt-a-partir-de-my20-noir' WHERE `virtuemart_product_id` = '1859575'
2023-10-13	12:18:07	83	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36154_giant_batterie_de_cadre_625_watt_à_partir_de_my20_.jpg
2023-10-13	12:18:07	83	[DEBUG]	Identity string: ffd8ffe000104a46494600010101009600960000
2023-10-13	12:18:07	83	[DEBUG]	Process image file
2023-10-13	12:18:07	83	[DEBUG]	Identity string: ffd8ffe000104a46494600010101009600960000
2023-10-13	12:18:07	83	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:07	83	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36154_giant_batterie_de_cadre_625_watt_à_partir_de_my20_.jpg
2023-10-13	12:18:07	83	[DEBUG]	Full name target: bcprisme/36154_giant_batterie_de_cadre_625_watt_à_partir_de_my20_.jpg
2023-10-13	12:18:08	83	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:08	83	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36154_giant_batterie_de_cadre_625_watt_à_partir_de_my20_.jpg'
2023-10-13	12:18:08	83	[DEBUG]	Query for Media
2023-10-13	12:18:08	83	[DEBUG]	Executed store
2023-10-13	12:18:08	83	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36154_giant_batterie_de_cadre_625_watt_à_partir_de_my20_.jpg',`file_url_thumb`='bcprisme/36154_giant_batterie_de_cadre_625_watt_à_partir_de_my20_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '478619'
2023-10-13	12:18:08	83	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:08	83	[DEBUG]	Executed store
2023-10-13	12:18:08	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859575','478619','1')
2023-10-13	12:18:08	83	[DEBUG]	Store product image relation
2023-10-13	12:18:08	83	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:08	83	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859575 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:08	83	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:08	83	[DEBUG]	Executed store
2023-10-13	12:18:08	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859575','0','1113.27762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:08	83	[DEBUG]	Checking manufacturer
2023-10-13	12:18:08	83	[DEBUG]	Load a row
2023-10-13	12:18:08	83	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:08	83	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:08	83	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:08	83	[DEBUG]	Executed store
2023-10-13	12:18:08	83	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:08	83	[DEBUG]	Manufacturer exists
2023-10-13	12:18:08	83	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:08	83	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:08	83	[DEBUG]	Executed store
2023-10-13	12:18:08	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859575','29')
2023-10-13	12:18:08	83	[DEBUG]	Find the custom field ID
2023-10-13	12:18:08	83	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:08	83	[DEBUG]	No custom field ID found
2023-10-13	12:18:08	83	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:08	83	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:08	83	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859575 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:08	83	[DEBUG]	Store custom available field
2023-10-13	12:18:08	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859575,3,'0',1)
2023-10-13	12:18:08	83	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:08	83	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:08	83	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859575 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:08	83	[DEBUG]	Store custom available field
2023-10-13	12:18:08	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859575,6,'choisir la taille',3)
2023-10-13	12:18:08	83	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:08	83	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:08	83	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:08	83	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:08	83	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859575 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:08	83	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:08	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859575,8,1)
2023-10-13	12:18:08	83	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:08	83	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859575\":[1859575,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859575
2023-10-13	12:18:08	83	[DEBUG]	Checking category
2023-10-13	12:18:08	83	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:08	83	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859575
2023-10-13	12:18:08	83	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:08	83	[DEBUG]	Executed store
2023-10-13	12:18:08	83	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859575','7326')
2023-10-13	12:18:08	83	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:08	83	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859575 AND `virtuemart_category_id` NOT IN (7326)
2023-10-13	12:18:08	83	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:08	83	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859575
2023-10-13	12:18:08	84	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:08	84	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:08	84	[DEBUG]	Use field value for field taille
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:08	84	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:08	84	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:08	84	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:08	84	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:08	84	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:08	84	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:08	84	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:08	84	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:08	84	[DEBUG]	Use field value for field published
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:08	84	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field override
2023-10-13	12:18:08	84	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:08	84	[DEBUG]	Use field value for field slug
2023-10-13	12:18:08	84	[DEBUG]	Process line 84
2023-10-13	12:18:08	84	[DEBUG]	Load a row
2023-10-13	12:18:08	84	[DEBUG]	Processing item: 1000000137675
2023-10-13	12:18:08	84	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:08	84	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:08	84	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7784_1'
2023-10-13	12:18:08	84	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:08	84	[DEBUG]	Processing product tax
2023-10-13	12:18:08	84	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:08	84	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:08	84	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:08	84	[DEBUG]	Query for Product
2023-10-13	12:18:08	84	[DEBUG]	Executed store
2023-10-13	12:18:08	84	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859575','1000000137675','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:08	84	[DEBUG]	No parent found
2023-10-13	12:18:08	84	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859575 AND customfield_value = 'stockable'
2023-10-13	12:18:08	84	[DEBUG]	Check product language entry
2023-10-13	12:18:08	84	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859576
2023-10-13	12:18:08	84	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:08	84	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000137675' AND `virtuemart_product_id` != 1859576
2023-10-13	12:18:08	84	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:08	84	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859576, '1000000137675')
2023-10-13	12:18:08	84	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:08	84	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-batterie-de-cadre-625-watt-a-partir-de-my20-noir-unitaire' AND `virtuemart_product_id` != 1859576
2023-10-13	12:18:08	84	[DEBUG]	Query for ProductLang
2023-10-13	12:18:08	84	[DEBUG]	Executed store
2023-10-13	12:18:08	84	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Batterie de cadre 625 Watt à partir de MY20  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-batterie-de-cadre-625-watt-a-partir-de-my20-noir-unitaire' WHERE `virtuemart_product_id` = '1859576'
2023-10-13	12:18:08	84	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36154_giant_batterie_de_cadre_625_watt_à_partir_de_my20_.jpg
2023-10-13	12:18:08	84	[DEBUG]	Identity string: ffd8ffe000104a46494600010101009600960000
2023-10-13	12:18:08	84	[DEBUG]	Process image file
2023-10-13	12:18:08	84	[DEBUG]	Identity string: ffd8ffe000104a46494600010101009600960000
2023-10-13	12:18:08	84	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:08	84	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36154_giant_batterie_de_cadre_625_watt_à_partir_de_my20_.jpg
2023-10-13	12:18:08	84	[DEBUG]	Full name target: bcprisme/36154_giant_batterie_de_cadre_625_watt_à_partir_de_my20_.jpg
2023-10-13	12:18:09	84	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:09	84	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36154_giant_batterie_de_cadre_625_watt_à_partir_de_my20_.jpg'
2023-10-13	12:18:09	84	[DEBUG]	Query for Media
2023-10-13	12:18:09	84	[DEBUG]	Executed store
2023-10-13	12:18:09	84	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36154_giant_batterie_de_cadre_625_watt_à_partir_de_my20_.jpg',`file_url_thumb`='bcprisme/36154_giant_batterie_de_cadre_625_watt_à_partir_de_my20_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '478619'
2023-10-13	12:18:09	84	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:09	84	[DEBUG]	Executed store
2023-10-13	12:18:09	84	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859576','478619','1')
2023-10-13	12:18:09	84	[DEBUG]	Store product image relation
2023-10-13	12:18:09	84	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:09	84	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859576 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:09	84	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:09	84	[DEBUG]	Executed store
2023-10-13	12:18:09	84	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859576','0','1113.27762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:09	84	[DEBUG]	Checking manufacturer
2023-10-13	12:18:09	84	[DEBUG]	Load a row
2023-10-13	12:18:09	84	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:09	84	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:09	84	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:09	84	[DEBUG]	Executed store
2023-10-13	12:18:09	84	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:09	84	[DEBUG]	Manufacturer exists
2023-10-13	12:18:09	84	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:09	84	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:09	84	[DEBUG]	Executed store
2023-10-13	12:18:09	84	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859576','29')
2023-10-13	12:18:09	84	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:09	84	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:09	84	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859576 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:09	84	[DEBUG]	Store custom available field
2023-10-13	12:18:09	84	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859576,3,'',1)
2023-10-13	12:18:09	84	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:09	84	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:09	84	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859576 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:09	84	[DEBUG]	Store custom available field
2023-10-13	12:18:09	84	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859576,6,'Unitaire',3)
2023-10-13	12:18:09	84	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:09	84	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:09	84	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859575
2023-10-13	12:18:09	84	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:09	84	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859575\":[1859575,8,1,\"choisir la taille\"],\"1859576\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859575
2023-10-13	12:18:09	84	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:09	84	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859576
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:09	85	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field taille
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:09	85	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:09	85	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:09	85	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:09	85	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:09	85	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:09	85	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field published
2023-10-13	12:18:09	85	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:09	85	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field override
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:09	85	[DEBUG]	Use field value for field slug
2023-10-13	12:18:09	85	[DEBUG]	Process line 85
2023-10-13	12:18:09	85	[DEBUG]	Load a row
2023-10-13	12:18:09	85	[DEBUG]	Processing item: A_8015_1
2023-10-13	12:18:09	85	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:09	85	[DEBUG]	Processing product tax
2023-10-13	12:18:09	85	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:09	85	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:09	85	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:09	85	[DEBUG]	Query for Product
2023-10-13	12:18:09	85	[DEBUG]	Executed store
2023-10-13	12:18:09	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8015_1','5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:09	85	[DEBUG]	Check product language entry
2023-10-13	12:18:09	85	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859577
2023-10-13	12:18:09	85	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:09	85	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8015_1' AND `virtuemart_product_id` != 1859577
2023-10-13	12:18:09	85	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:09	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859577, 'A_8015_1')
2023-10-13	12:18:09	85	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:09	85	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-range-extender-energy-pack-plus-250-wh-a-partir-de-my20-noir' AND `virtuemart_product_id` != 1859577
2023-10-13	12:18:09	85	[DEBUG]	Query for ProductLang
2023-10-13	12:18:09	85	[DEBUG]	Executed store
2023-10-13	12:18:09	85	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pour Reign E+, Road E+, Fastroad E+, Thrive E+, revolt E+, Explore E+, Trance X E+. Livré sans sac.<br>N° art fourn : 400.005.081',`product_name`='GIANT Range Extender Energy Pack Plus 250 Wh, à partir de MY20 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-range-extender-energy-pack-plus-250-wh-a-partir-de-my20-noir' WHERE `virtuemart_product_id` = '1859577'
2023-10-13	12:18:09	85	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36498_giant_range_extender_energy_pack_plus_250_wh,_à_partir_de_my20.jpg
2023-10-13	12:18:09	85	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:09	85	[DEBUG]	Process image file
2023-10-13	12:18:09	85	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:09	85	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:09	85	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36498_giant_range_extender_energy_pack_plus_250_wh,_à_partir_de_my20.jpg
2023-10-13	12:18:09	85	[DEBUG]	Full name target: bcprisme/36498_giant_range_extender_energy_pack_plus_250_wh,_à_partir_de_my20.jpg
2023-10-13	12:18:10	85	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:10	85	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36498_giant_range_extender_energy_pack_plus_250_wh,_à_partir_de_my20.jpg'
2023-10-13	12:18:10	85	[DEBUG]	Query for Media
2023-10-13	12:18:10	85	[DEBUG]	Executed store
2023-10-13	12:18:10	85	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36498_giant_range_extender_energy_pack_plus_250_wh,_à_partir_de_my20.jpg',`file_url_thumb`='bcprisme/36498_giant_range_extender_energy_pack_plus_250_wh,_à_partir_de_my20.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '594660'
2023-10-13	12:18:10	85	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:10	85	[DEBUG]	Executed store
2023-10-13	12:18:10	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859577','594660','1')
2023-10-13	12:18:10	85	[DEBUG]	Store product image relation
2023-10-13	12:18:10	85	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:10	85	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859577 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:10	85	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:10	85	[DEBUG]	Executed store
2023-10-13	12:18:10	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859577','0','603.528319405757','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:10	85	[DEBUG]	Checking manufacturer
2023-10-13	12:18:10	85	[DEBUG]	Load a row
2023-10-13	12:18:10	85	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:10	85	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:10	85	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:10	85	[DEBUG]	Executed store
2023-10-13	12:18:10	85	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:10	85	[DEBUG]	Manufacturer exists
2023-10-13	12:18:10	85	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:10	85	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:10	85	[DEBUG]	Executed store
2023-10-13	12:18:10	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859577','29')
2023-10-13	12:18:10	85	[DEBUG]	Find the custom field ID
2023-10-13	12:18:10	85	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:10	85	[DEBUG]	No custom field ID found
2023-10-13	12:18:10	85	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:10	85	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:10	85	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859577 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:10	85	[DEBUG]	Store custom available field
2023-10-13	12:18:10	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859577,3,'0',1)
2023-10-13	12:18:10	85	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:10	85	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:10	85	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859577 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:10	85	[DEBUG]	Store custom available field
2023-10-13	12:18:10	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859577,6,'choisir la taille',3)
2023-10-13	12:18:10	85	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:10	85	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:10	85	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:10	85	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:10	85	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859577 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:10	85	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:10	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859577,8,1)
2023-10-13	12:18:10	85	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:10	85	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859577\":[1859577,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859577
2023-10-13	12:18:10	85	[DEBUG]	Checking category
2023-10-13	12:18:10	85	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:10	85	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859577
2023-10-13	12:18:10	85	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:10	85	[DEBUG]	Executed store
2023-10-13	12:18:10	85	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859577','7326')
2023-10-13	12:18:10	85	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:10	85	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859577 AND `virtuemart_category_id` NOT IN (7326)
2023-10-13	12:18:10	85	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:10	85	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859577
2023-10-13	12:18:10	86	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:10	86	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:10	86	[DEBUG]	Use field value for field taille
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:10	86	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:10	86	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:10	86	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:10	86	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:10	86	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:10	86	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:10	86	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:10	86	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:10	86	[DEBUG]	Use field value for field published
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:10	86	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field override
2023-10-13	12:18:10	86	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:10	86	[DEBUG]	Use field value for field slug
2023-10-13	12:18:10	86	[DEBUG]	Process line 86
2023-10-13	12:18:10	86	[DEBUG]	Load a row
2023-10-13	12:18:10	86	[DEBUG]	Processing item: 4713250001685
2023-10-13	12:18:10	86	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:10	86	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:10	86	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8015_1'
2023-10-13	12:18:10	86	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:10	86	[DEBUG]	Processing product tax
2023-10-13	12:18:10	86	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:10	86	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:10	86	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:10	86	[DEBUG]	Query for Product
2023-10-13	12:18:10	86	[DEBUG]	Executed store
2023-10-13	12:18:10	86	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859577','4713250001685','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:10	86	[DEBUG]	No parent found
2023-10-13	12:18:10	86	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859577 AND customfield_value = 'stockable'
2023-10-13	12:18:10	86	[DEBUG]	Check product language entry
2023-10-13	12:18:10	86	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859578
2023-10-13	12:18:10	86	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:10	86	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713250001685' AND `virtuemart_product_id` != 1859578
2023-10-13	12:18:10	86	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:10	86	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859578, '4713250001685')
2023-10-13	12:18:10	86	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:10	86	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-range-extender-energy-pack-plus-250-wh-a-partir-de-my20-noir-unitaire' AND `virtuemart_product_id` != 1859578
2023-10-13	12:18:10	86	[DEBUG]	Query for ProductLang
2023-10-13	12:18:10	86	[DEBUG]	Executed store
2023-10-13	12:18:10	86	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Range Extender Energy Pack Plus 250 Wh, à partir de MY20 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-range-extender-energy-pack-plus-250-wh-a-partir-de-my20-noir-unitaire' WHERE `virtuemart_product_id` = '1859578'
2023-10-13	12:18:10	86	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36498_giant_range_extender_energy_pack_plus_250_wh,_à_partir_de_my20.jpg
2023-10-13	12:18:10	86	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:10	86	[DEBUG]	Process image file
2023-10-13	12:18:10	86	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:10	86	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:10	86	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36498_giant_range_extender_energy_pack_plus_250_wh,_à_partir_de_my20.jpg
2023-10-13	12:18:10	86	[DEBUG]	Full name target: bcprisme/36498_giant_range_extender_energy_pack_plus_250_wh,_à_partir_de_my20.jpg
2023-10-13	12:18:11	86	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:11	86	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36498_giant_range_extender_energy_pack_plus_250_wh,_à_partir_de_my20.jpg'
2023-10-13	12:18:11	86	[DEBUG]	Query for Media
2023-10-13	12:18:11	86	[DEBUG]	Executed store
2023-10-13	12:18:11	86	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36498_giant_range_extender_energy_pack_plus_250_wh,_à_partir_de_my20.jpg',`file_url_thumb`='bcprisme/36498_giant_range_extender_energy_pack_plus_250_wh,_à_partir_de_my20.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '594660'
2023-10-13	12:18:11	86	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:11	86	[DEBUG]	Executed store
2023-10-13	12:18:11	86	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859578','594660','1')
2023-10-13	12:18:11	86	[DEBUG]	Store product image relation
2023-10-13	12:18:11	86	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:11	86	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859578 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:11	86	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:11	86	[DEBUG]	Executed store
2023-10-13	12:18:11	86	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859578','0','603.528319405757','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:11	86	[DEBUG]	Checking manufacturer
2023-10-13	12:18:11	86	[DEBUG]	Load a row
2023-10-13	12:18:11	86	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:11	86	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:11	86	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:11	86	[DEBUG]	Executed store
2023-10-13	12:18:11	86	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:11	86	[DEBUG]	Manufacturer exists
2023-10-13	12:18:11	86	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:11	86	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:11	86	[DEBUG]	Executed store
2023-10-13	12:18:11	86	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859578','29')
2023-10-13	12:18:11	86	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:11	86	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:11	86	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859578 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:11	86	[DEBUG]	Store custom available field
2023-10-13	12:18:11	86	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859578,3,'',1)
2023-10-13	12:18:11	86	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:11	86	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:11	86	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859578 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:11	86	[DEBUG]	Store custom available field
2023-10-13	12:18:11	86	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859578,6,'Unitaire',3)
2023-10-13	12:18:11	86	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:11	86	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:11	86	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859577
2023-10-13	12:18:11	86	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:11	86	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859577\":[1859577,8,1,\"choisir la taille\"],\"1859578\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859577
2023-10-13	12:18:11	86	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:11	86	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859578
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:11	87	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field taille
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:11	87	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:11	87	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:11	87	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:11	87	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:11	87	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:11	87	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field published
2023-10-13	12:18:11	87	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:11	87	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field override
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:11	87	[DEBUG]	Use field value for field slug
2023-10-13	12:18:11	87	[DEBUG]	Process line 87
2023-10-13	12:18:11	87	[DEBUG]	Load a row
2023-10-13	12:18:11	87	[DEBUG]	Processing item: A_8016_1
2023-10-13	12:18:11	87	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:11	87	[DEBUG]	Processing product tax
2023-10-13	12:18:11	87	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:11	87	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:11	87	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:11	87	[DEBUG]	Query for Product
2023-10-13	12:18:11	87	[DEBUG]	Executed store
2023-10-13	12:18:11	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8016_1','5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:11	87	[DEBUG]	Check product language entry
2023-10-13	12:18:11	87	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859579
2023-10-13	12:18:11	87	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:11	87	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8016_1' AND `virtuemart_product_id` != 1859579
2023-10-13	12:18:11	87	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:11	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859579, 'A_8016_1')
2023-10-13	12:18:11	87	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:11	87	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-accessoires-pour-energy-pack-plus-range-extender-250-wh-a-partir-de-my2020-noir' AND `virtuemart_product_id` != 1859579
2023-10-13	12:18:11	87	[DEBUG]	Query for ProductLang
2023-10-13	12:18:11	87	[DEBUG]	Executed store
2023-10-13	12:18:11	87	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pour Reign E+, Road E+, Fastroad E+, Thrive E+, revolt E+, Explore E+, Trance X E+. Livré sans sac.<br>N° art fourn : 400.005.082',`product_name`='GIANT Accessoires pour Energy Pack Plus Range Extender 250 Wh, à partir de MY2020 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-accessoires-pour-energy-pack-plus-range-extender-250-wh-a-partir-de-my2020-noir' WHERE `virtuemart_product_id` = '1859579'
2023-10-13	12:18:11	87	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36499_giant_accessoires_pour_energy_pack_plus_250_wh,_à_partir_de_my2020.jpg
2023-10-13	12:18:11	87	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:11	87	[DEBUG]	Process image file
2023-10-13	12:18:11	87	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:11	87	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:11	87	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36499_giant_accessoires_pour_energy_pack_plus_250_wh,_à_partir_de_my2020.jpg
2023-10-13	12:18:11	87	[DEBUG]	Full name target: bcprisme/36499_giant_accessoires_pour_energy_pack_plus_250_wh,_à_partir_de_my2020.jpg
2023-10-13	12:18:12	87	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:12	87	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36499_giant_accessoires_pour_energy_pack_plus_250_wh,_à_partir_de_my2020.jpg'
2023-10-13	12:18:12	87	[DEBUG]	Query for Media
2023-10-13	12:18:12	87	[DEBUG]	Executed store
2023-10-13	12:18:12	87	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36499_giant_accessoires_pour_energy_pack_plus_250_wh,_à_partir_de_my2020.jpg',`file_url_thumb`='bcprisme/36499_giant_accessoires_pour_energy_pack_plus_250_wh,_à_partir_de_my2020.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '594662'
2023-10-13	12:18:12	87	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:12	87	[DEBUG]	Executed store
2023-10-13	12:18:12	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859579','594662','1')
2023-10-13	12:18:12	87	[DEBUG]	Store product image relation
2023-10-13	12:18:12	87	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:12	87	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859579 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:12	87	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:12	87	[DEBUG]	Executed store
2023-10-13	12:18:12	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859579','0','139.275766016713','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:12	87	[DEBUG]	Checking manufacturer
2023-10-13	12:18:12	87	[DEBUG]	Load a row
2023-10-13	12:18:12	87	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:12	87	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:12	87	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:12	87	[DEBUG]	Executed store
2023-10-13	12:18:12	87	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:12	87	[DEBUG]	Manufacturer exists
2023-10-13	12:18:12	87	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:12	87	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:12	87	[DEBUG]	Executed store
2023-10-13	12:18:12	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859579','29')
2023-10-13	12:18:12	87	[DEBUG]	Find the custom field ID
2023-10-13	12:18:12	87	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:12	87	[DEBUG]	No custom field ID found
2023-10-13	12:18:12	87	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:12	87	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:12	87	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859579 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:12	87	[DEBUG]	Store custom available field
2023-10-13	12:18:12	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859579,3,'0',1)
2023-10-13	12:18:12	87	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:12	87	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:12	87	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859579 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:12	87	[DEBUG]	Store custom available field
2023-10-13	12:18:12	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859579,6,'choisir la taille',3)
2023-10-13	12:18:12	87	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:12	87	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:12	87	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:12	87	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:12	87	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859579 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:12	87	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:12	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859579,8,1)
2023-10-13	12:18:12	87	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:12	87	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859579\":[1859579,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859579
2023-10-13	12:18:12	87	[DEBUG]	Checking category
2023-10-13	12:18:12	87	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:12	87	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859579
2023-10-13	12:18:12	87	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:12	87	[DEBUG]	Executed store
2023-10-13	12:18:12	87	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859579','7326')
2023-10-13	12:18:12	87	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:12	87	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859579 AND `virtuemart_category_id` NOT IN (7326)
2023-10-13	12:18:12	87	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:12	87	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859579
2023-10-13	12:18:12	88	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:12	88	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:12	88	[DEBUG]	Use field value for field taille
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:12	88	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:12	88	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:12	88	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:12	88	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:12	88	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:12	88	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:12	88	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:12	88	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:12	88	[DEBUG]	Use field value for field published
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:12	88	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field override
2023-10-13	12:18:12	88	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:12	88	[DEBUG]	Use field value for field slug
2023-10-13	12:18:12	88	[DEBUG]	Process line 88
2023-10-13	12:18:12	88	[DEBUG]	Load a row
2023-10-13	12:18:12	88	[DEBUG]	Processing item: 4713250003283
2023-10-13	12:18:12	88	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:12	88	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:12	88	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8016_1'
2023-10-13	12:18:12	88	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:12	88	[DEBUG]	Processing product tax
2023-10-13	12:18:12	88	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:12	88	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:12	88	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:12	88	[DEBUG]	Query for Product
2023-10-13	12:18:12	88	[DEBUG]	Executed store
2023-10-13	12:18:12	88	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859579','4713250003283','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:12	88	[DEBUG]	No parent found
2023-10-13	12:18:12	88	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859579 AND customfield_value = 'stockable'
2023-10-13	12:18:12	88	[DEBUG]	Check product language entry
2023-10-13	12:18:12	88	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859580
2023-10-13	12:18:12	88	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:12	88	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713250003283' AND `virtuemart_product_id` != 1859580
2023-10-13	12:18:12	88	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:12	88	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859580, '4713250003283')
2023-10-13	12:18:12	88	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:12	88	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-accessoires-pour-energy-pack-plus-range-extender-250-wh-a-partir-de-my2020-noir-unitaire' AND `virtuemart_product_id` != 1859580
2023-10-13	12:18:12	88	[DEBUG]	Query for ProductLang
2023-10-13	12:18:12	88	[DEBUG]	Executed store
2023-10-13	12:18:12	88	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Accessoires pour Energy Pack Plus Range Extender 250 Wh, à partir de MY2020 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-accessoires-pour-energy-pack-plus-range-extender-250-wh-a-partir-de-my2020-noir-unitaire' WHERE `virtuemart_product_id` = '1859580'
2023-10-13	12:18:12	88	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36499_giant_accessoires_pour_energy_pack_plus_250_wh,_à_partir_de_my2020.jpg
2023-10-13	12:18:12	88	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:12	88	[DEBUG]	Process image file
2023-10-13	12:18:12	88	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:12	88	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:12	88	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36499_giant_accessoires_pour_energy_pack_plus_250_wh,_à_partir_de_my2020.jpg
2023-10-13	12:18:12	88	[DEBUG]	Full name target: bcprisme/36499_giant_accessoires_pour_energy_pack_plus_250_wh,_à_partir_de_my2020.jpg
2023-10-13	12:18:13	88	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:13	88	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36499_giant_accessoires_pour_energy_pack_plus_250_wh,_à_partir_de_my2020.jpg'
2023-10-13	12:18:13	88	[DEBUG]	Query for Media
2023-10-13	12:18:13	88	[DEBUG]	Executed store
2023-10-13	12:18:13	88	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36499_giant_accessoires_pour_energy_pack_plus_250_wh,_à_partir_de_my2020.jpg',`file_url_thumb`='bcprisme/36499_giant_accessoires_pour_energy_pack_plus_250_wh,_à_partir_de_my2020.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '594662'
2023-10-13	12:18:13	88	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:13	88	[DEBUG]	Executed store
2023-10-13	12:18:13	88	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859580','594662','1')
2023-10-13	12:18:13	88	[DEBUG]	Store product image relation
2023-10-13	12:18:13	88	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:13	88	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859580 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:13	88	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:13	88	[DEBUG]	Executed store
2023-10-13	12:18:13	88	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859580','0','139.275766016713','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:13	88	[DEBUG]	Checking manufacturer
2023-10-13	12:18:13	88	[DEBUG]	Load a row
2023-10-13	12:18:13	88	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:13	88	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:13	88	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:13	88	[DEBUG]	Executed store
2023-10-13	12:18:13	88	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:13	88	[DEBUG]	Manufacturer exists
2023-10-13	12:18:13	88	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:13	88	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:13	88	[DEBUG]	Executed store
2023-10-13	12:18:13	88	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859580','29')
2023-10-13	12:18:13	88	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:13	88	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:13	88	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859580 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:13	88	[DEBUG]	Store custom available field
2023-10-13	12:18:13	88	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859580,3,'',1)
2023-10-13	12:18:13	88	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:13	88	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:13	88	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859580 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:13	88	[DEBUG]	Store custom available field
2023-10-13	12:18:13	88	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859580,6,'Unitaire',3)
2023-10-13	12:18:13	88	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:13	88	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:13	88	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859579
2023-10-13	12:18:13	88	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:13	88	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859579\":[1859579,8,1,\"choisir la taille\"],\"1859580\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859579
2023-10-13	12:18:13	88	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:13	88	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859580
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:13	89	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field taille
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:13	89	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:13	89	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:13	89	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:13	89	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:13	89	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:13	89	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field published
2023-10-13	12:18:13	89	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:13	89	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field override
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:13	89	[DEBUG]	Use field value for field slug
2023-10-13	12:18:13	89	[DEBUG]	Process line 89
2023-10-13	12:18:13	89	[DEBUG]	Load a row
2023-10-13	12:18:13	89	[DEBUG]	Processing item: A_8367_1
2023-10-13	12:18:13	89	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:13	89	[DEBUG]	Processing product tax
2023-10-13	12:18:13	89	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:13	89	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:13	89	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:13	89	[DEBUG]	Query for Product
2023-10-13	12:18:13	89	[DEBUG]	Executed store
2023-10-13	12:18:13	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8367_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:13	89	[DEBUG]	Check product language entry
2023-10-13	12:18:13	89	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859581
2023-10-13	12:18:13	89	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:13	89	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8367_1' AND `virtuemart_product_id` != 1859581
2023-10-13	12:18:13	89	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:13	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859581, 'A_8367_1')
2023-10-13	12:18:13	89	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:13	89	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-bavette-de-batterie-pour-giant-liv-pour-reign-e-trance-x-e-intrigue-x-e-noir' AND `virtuemart_product_id` != 1859581
2023-10-13	12:18:13	89	[DEBUG]	Query for ProductLang
2023-10-13	12:18:13	89	[DEBUG]	Executed store
2023-10-13	12:18:13	89	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.094',`product_name`='GIANT Bavette de batterie pour Giant / LIV  pour Reign-E+ Trance X-E+, Intrigue X E+ / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-bavette-de-batterie-pour-giant-liv-pour-reign-e-trance-x-e-intrigue-x-e-noir' WHERE `virtuemart_product_id` = '1859581'
2023-10-13	12:18:13	89	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37011_bavette_de_batterie_pour_giant_-_liv__pour_reign-e+,_trance_x-e+,_intrigue_x_e+.jpg
2023-10-13	12:18:13	89	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:18:13	89	[DEBUG]	Process image file
2023-10-13	12:18:13	89	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:18:13	89	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:13	89	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37011_bavette_de_batterie_pour_giant_-_liv__pour_reign-e+,_trance_x-e+,_intrigue_x_e+.jpg
2023-10-13	12:18:13	89	[DEBUG]	Full name target: bcprisme/37011_bavette_de_batterie_pour_giant_-_liv__pour_reign-e+,_trance_x-e+,_intrigue_x_e+.jpg
2023-10-13	12:18:14	89	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:14	89	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37011_bavette_de_batterie_pour_giant_-_liv__pour_reign-e+,_trance_x-e+,_intrigue_x_e+.jpg'
2023-10-13	12:18:14	89	[DEBUG]	Query for Media
2023-10-13	12:18:14	89	[DEBUG]	Executed store
2023-10-13	12:18:14	89	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37011_bavette_de_batterie_pour_giant_-_liv__pour_reign-e+,_trance_x-e+,_intrigue_x_e+.jpg',`file_url_thumb`='bcprisme/37011_bavette_de_batterie_pour_giant_-_liv__pour_reign-e+,_trance_x-e+,_intrigue_x_e+.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '805688'
2023-10-13	12:18:14	89	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:14	89	[DEBUG]	Executed store
2023-10-13	12:18:14	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859581','805688','1')
2023-10-13	12:18:14	89	[DEBUG]	Store product image relation
2023-10-13	12:18:14	89	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:14	89	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859581 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:14	89	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:14	89	[DEBUG]	Executed store
2023-10-13	12:18:14	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859581','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:14	89	[DEBUG]	Checking manufacturer
2023-10-13	12:18:14	89	[DEBUG]	Load a row
2023-10-13	12:18:14	89	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:14	89	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:14	89	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:14	89	[DEBUG]	Executed store
2023-10-13	12:18:14	89	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:14	89	[DEBUG]	Manufacturer exists
2023-10-13	12:18:14	89	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:14	89	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:14	89	[DEBUG]	Executed store
2023-10-13	12:18:14	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859581','29')
2023-10-13	12:18:14	89	[DEBUG]	Find the custom field ID
2023-10-13	12:18:14	89	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:14	89	[DEBUG]	No custom field ID found
2023-10-13	12:18:14	89	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:14	89	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:14	89	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859581 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:14	89	[DEBUG]	Store custom available field
2023-10-13	12:18:14	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859581,3,'0',1)
2023-10-13	12:18:14	89	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:14	89	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:14	89	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859581 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:14	89	[DEBUG]	Store custom available field
2023-10-13	12:18:14	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859581,6,'choisir la taille',3)
2023-10-13	12:18:14	89	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:14	89	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:14	89	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:14	89	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:14	89	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859581 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:14	89	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:14	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859581,8,1)
2023-10-13	12:18:14	89	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:14	89	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859581\":[1859581,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859581
2023-10-13	12:18:14	89	[DEBUG]	Checking category
2023-10-13	12:18:14	89	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:14	89	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859581
2023-10-13	12:18:14	89	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:14	89	[DEBUG]	Executed store
2023-10-13	12:18:14	89	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859581','7326')
2023-10-13	12:18:14	89	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:14	89	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859581 AND `virtuemart_category_id` NOT IN (7326)
2023-10-13	12:18:14	89	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:14	89	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859581
2023-10-13	12:18:14	90	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:14	90	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:14	90	[DEBUG]	Use field value for field taille
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:14	90	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:14	90	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:14	90	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:14	90	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:14	90	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:14	90	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:14	90	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:14	90	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:14	90	[DEBUG]	Use field value for field published
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:14	90	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field override
2023-10-13	12:18:14	90	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:14	90	[DEBUG]	Use field value for field slug
2023-10-13	12:18:14	90	[DEBUG]	Process line 90
2023-10-13	12:18:14	90	[DEBUG]	Load a row
2023-10-13	12:18:14	90	[DEBUG]	Processing item: 1000000150735
2023-10-13	12:18:14	90	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:14	90	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:14	90	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8367_1'
2023-10-13	12:18:14	90	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:14	90	[DEBUG]	Processing product tax
2023-10-13	12:18:14	90	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:14	90	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:14	90	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:14	90	[DEBUG]	Query for Product
2023-10-13	12:18:14	90	[DEBUG]	Executed store
2023-10-13	12:18:14	90	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859581','1000000150735','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:14	90	[DEBUG]	No parent found
2023-10-13	12:18:14	90	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859581 AND customfield_value = 'stockable'
2023-10-13	12:18:14	90	[DEBUG]	Check product language entry
2023-10-13	12:18:14	90	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859582
2023-10-13	12:18:14	90	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:14	90	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000150735' AND `virtuemart_product_id` != 1859582
2023-10-13	12:18:14	90	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:14	90	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859582, '1000000150735')
2023-10-13	12:18:14	90	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:14	90	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-bavette-de-batterie-pour-giant-liv-pour-reign-e-trance-x-e-intrigue-x-e-noir-all' AND `virtuemart_product_id` != 1859582
2023-10-13	12:18:14	90	[DEBUG]	Query for ProductLang
2023-10-13	12:18:14	90	[DEBUG]	Executed store
2023-10-13	12:18:14	90	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Bavette de batterie pour Giant / LIV  pour Reign-E+ Trance X-E+, Intrigue X E+ / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-bavette-de-batterie-pour-giant-liv-pour-reign-e-trance-x-e-intrigue-x-e-noir-all' WHERE `virtuemart_product_id` = '1859582'
2023-10-13	12:18:14	90	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37011_bavette_de_batterie_pour_giant_-_liv__pour_reign-e+,_trance_x-e+,_intrigue_x_e+.jpg
2023-10-13	12:18:14	90	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:18:14	90	[DEBUG]	Process image file
2023-10-13	12:18:14	90	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:18:14	90	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:14	90	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37011_bavette_de_batterie_pour_giant_-_liv__pour_reign-e+,_trance_x-e+,_intrigue_x_e+.jpg
2023-10-13	12:18:14	90	[DEBUG]	Full name target: bcprisme/37011_bavette_de_batterie_pour_giant_-_liv__pour_reign-e+,_trance_x-e+,_intrigue_x_e+.jpg
2023-10-13	12:18:15	90	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:15	90	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37011_bavette_de_batterie_pour_giant_-_liv__pour_reign-e+,_trance_x-e+,_intrigue_x_e+.jpg'
2023-10-13	12:18:15	90	[DEBUG]	Query for Media
2023-10-13	12:18:15	90	[DEBUG]	Executed store
2023-10-13	12:18:15	90	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37011_bavette_de_batterie_pour_giant_-_liv__pour_reign-e+,_trance_x-e+,_intrigue_x_e+.jpg',`file_url_thumb`='bcprisme/37011_bavette_de_batterie_pour_giant_-_liv__pour_reign-e+,_trance_x-e+,_intrigue_x_e+.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '805688'
2023-10-13	12:18:15	90	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:15	90	[DEBUG]	Executed store
2023-10-13	12:18:15	90	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859582','805688','1')
2023-10-13	12:18:15	90	[DEBUG]	Store product image relation
2023-10-13	12:18:15	90	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:15	90	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859582 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:15	90	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:15	90	[DEBUG]	Executed store
2023-10-13	12:18:15	90	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859582','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:15	90	[DEBUG]	Checking manufacturer
2023-10-13	12:18:15	90	[DEBUG]	Load a row
2023-10-13	12:18:15	90	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:15	90	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:15	90	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:15	90	[DEBUG]	Executed store
2023-10-13	12:18:15	90	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:15	90	[DEBUG]	Manufacturer exists
2023-10-13	12:18:15	90	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:15	90	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:15	90	[DEBUG]	Executed store
2023-10-13	12:18:15	90	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859582','29')
2023-10-13	12:18:15	90	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:15	90	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:15	90	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859582 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:15	90	[DEBUG]	Store custom available field
2023-10-13	12:18:15	90	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859582,3,'',1)
2023-10-13	12:18:15	90	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:15	90	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:18:15	90	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859582 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:15	90	[DEBUG]	Store custom available field
2023-10-13	12:18:15	90	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859582,6,'All',3)
2023-10-13	12:18:15	90	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:15	90	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:15	90	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859581
2023-10-13	12:18:15	90	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:15	90	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859581\":[1859581,8,1,\"choisir la taille\"],\"1859582\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859581
2023-10-13	12:18:15	90	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:15	90	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859582
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:15	91	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field taille
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:15	91	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:15	91	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:15	91	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:15	91	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:15	91	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:15	91	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field published
2023-10-13	12:18:15	91	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:15	91	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field override
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:15	91	[DEBUG]	Use field value for field slug
2023-10-13	12:18:15	91	[DEBUG]	Process line 91
2023-10-13	12:18:15	91	[DEBUG]	Load a row
2023-10-13	12:18:15	91	[DEBUG]	Processing item: A_8799_1
2023-10-13	12:18:15	91	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:15	91	[DEBUG]	Processing product tax
2023-10-13	12:18:15	91	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:15	91	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:15	91	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:15	91	[DEBUG]	Query for Product
2023-10-13	12:18:15	91	[DEBUG]	Executed store
2023-10-13	12:18:15	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8799_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:15	91	[DEBUG]	Check product language entry
2023-10-13	12:18:15	91	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859583
2023-10-13	12:18:15	91	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:15	91	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8799_1' AND `virtuemart_product_id` != 1859583
2023-10-13	12:18:15	91	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:15	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859583, 'A_8799_1')
2023-10-13	12:18:15	91	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:15	91	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-batterie-interne-di2-box-arriere-noir' AND `virtuemart_product_id` != 1859583
2023-10-13	12:18:15	91	[DEBUG]	Query for ProductLang
2023-10-13	12:18:15	91	[DEBUG]	Executed store
2023-10-13	12:18:15	91	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 69.66282',`product_name`='SHIMANO Batterie interne DI2 box arrière / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-batterie-interne-di2-box-arriere-noir' WHERE `virtuemart_product_id` = '1859583'
2023-10-13	12:18:15	91	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37780_batterie_interne_di2_box_arriere.jpg has not been found.
2023-10-13	12:18:15	91	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:15	91	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859583 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:15	91	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:15	91	[DEBUG]	Executed store
2023-10-13	12:18:15	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859583','0','164.345403899721','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:15	91	[DEBUG]	Checking manufacturer
2023-10-13	12:18:15	91	[DEBUG]	Load a row
2023-10-13	12:18:15	91	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:15	91	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:15	91	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:15	91	[DEBUG]	Executed store
2023-10-13	12:18:15	91	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:15	91	[DEBUG]	Manufacturer exists
2023-10-13	12:18:15	91	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:18:15	91	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:15	91	[DEBUG]	Executed store
2023-10-13	12:18:15	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859583','26')
2023-10-13	12:18:15	91	[DEBUG]	Find the custom field ID
2023-10-13	12:18:15	91	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:15	91	[DEBUG]	No custom field ID found
2023-10-13	12:18:15	91	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:15	91	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:15	91	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859583 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:15	91	[DEBUG]	Store custom available field
2023-10-13	12:18:15	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859583,3,'0',1)
2023-10-13	12:18:15	91	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:15	91	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:15	91	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859583 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:15	91	[DEBUG]	Store custom available field
2023-10-13	12:18:15	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859583,6,'choisir la taille',3)
2023-10-13	12:18:15	91	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:15	91	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:15	91	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:15	91	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:15	91	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859583 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:15	91	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:15	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859583,8,1)
2023-10-13	12:18:15	91	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:15	91	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859583\":[1859583,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859583
2023-10-13	12:18:15	91	[DEBUG]	Checking category
2023-10-13	12:18:15	91	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:15	91	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859583
2023-10-13	12:18:15	91	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:15	91	[DEBUG]	Executed store
2023-10-13	12:18:15	91	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859583','7326')
2023-10-13	12:18:15	91	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:15	91	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859583 AND `virtuemart_category_id` NOT IN (7326)
2023-10-13	12:18:15	91	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:15	91	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859583
2023-10-13	12:18:15	92	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:15	92	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:15	92	[DEBUG]	Use field value for field taille
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:15	92	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:15	92	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:15	92	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:15	92	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:15	92	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:15	92	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:15	92	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:15	92	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:15	92	[DEBUG]	Use field value for field published
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:15	92	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field override
2023-10-13	12:18:15	92	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:15	92	[DEBUG]	Use field value for field slug
2023-10-13	12:18:15	92	[DEBUG]	Process line 92
2023-10-13	12:18:15	92	[DEBUG]	Load a row
2023-10-13	12:18:15	92	[DEBUG]	Processing item: 1000000164381
2023-10-13	12:18:15	92	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:15	92	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:15	92	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8799_1'
2023-10-13	12:18:15	92	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:15	92	[DEBUG]	Processing product tax
2023-10-13	12:18:15	92	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:15	92	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:15	92	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:15	92	[DEBUG]	Query for Product
2023-10-13	12:18:15	92	[DEBUG]	Executed store
2023-10-13	12:18:15	92	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859583','1000000164381','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:15	92	[DEBUG]	No parent found
2023-10-13	12:18:15	92	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859583 AND customfield_value = 'stockable'
2023-10-13	12:18:15	92	[DEBUG]	Check product language entry
2023-10-13	12:18:15	92	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859584
2023-10-13	12:18:15	92	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:15	92	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164381' AND `virtuemart_product_id` != 1859584
2023-10-13	12:18:15	92	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:15	92	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859584, '1000000164381')
2023-10-13	12:18:15	92	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:15	92	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-batterie-interne-di2-box-arriere-noir-all' AND `virtuemart_product_id` != 1859584
2023-10-13	12:18:15	92	[DEBUG]	Query for ProductLang
2023-10-13	12:18:15	92	[DEBUG]	Executed store
2023-10-13	12:18:15	92	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Batterie interne DI2 box arrière / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-batterie-interne-di2-box-arriere-noir-all' WHERE `virtuemart_product_id` = '1859584'
2023-10-13	12:18:15	92	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37780_batterie_interne_di2_box_arriere.jpg has not been found.
2023-10-13	12:18:15	92	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:15	92	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859584 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:15	92	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:15	92	[DEBUG]	Executed store
2023-10-13	12:18:15	92	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859584','0','164.345403899721','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:15	92	[DEBUG]	Checking manufacturer
2023-10-13	12:18:15	92	[DEBUG]	Load a row
2023-10-13	12:18:15	92	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:15	92	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:15	92	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:15	92	[DEBUG]	Executed store
2023-10-13	12:18:16	92	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:16	92	[DEBUG]	Manufacturer exists
2023-10-13	12:18:16	92	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:18:16	92	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:16	92	[DEBUG]	Executed store
2023-10-13	12:18:16	92	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859584','26')
2023-10-13	12:18:16	92	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:16	92	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:16	92	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859584 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:16	92	[DEBUG]	Store custom available field
2023-10-13	12:18:16	92	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859584,3,'',1)
2023-10-13	12:18:16	92	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:16	92	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:18:16	92	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859584 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:16	92	[DEBUG]	Store custom available field
2023-10-13	12:18:16	92	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859584,6,'All',3)
2023-10-13	12:18:16	92	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:16	92	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:16	92	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859583
2023-10-13	12:18:16	92	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:16	92	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859583\":[1859583,8,1,\"choisir la taille\"],\"1859584\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859583
2023-10-13	12:18:16	92	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:16	92	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859584
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:16	93	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field taille
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:16	93	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:16	93	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:16	93	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:16	93	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:16	93	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:16	93	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field published
2023-10-13	12:18:16	93	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:16	93	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field override
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:16	93	[DEBUG]	Use field value for field slug
2023-10-13	12:18:16	93	[DEBUG]	Process line 93
2023-10-13	12:18:16	93	[DEBUG]	Load a row
2023-10-13	12:18:16	93	[DEBUG]	Processing item: A_8821_1
2023-10-13	12:18:16	93	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:16	93	[DEBUG]	Processing product tax
2023-10-13	12:18:16	93	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:16	93	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:16	93	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:16	93	[DEBUG]	Query for Product
2023-10-13	12:18:16	93	[DEBUG]	Executed store
2023-10-13	12:18:16	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8821_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:16	93	[DEBUG]	Check product language entry
2023-10-13	12:18:16	93	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859585
2023-10-13	12:18:16	93	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:16	93	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8821_1' AND `virtuemart_product_id` != 1859585
2023-10-13	12:18:16	93	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:16	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859585, 'A_8821_1')
2023-10-13	12:18:16	93	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:16	93	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-batterie-top-release-500wh-6pin-my17-my18-noir' AND `virtuemart_product_id` != 1859585
2023-10-13	12:18:16	93	[DEBUG]	Query for ProductLang
2023-10-13	12:18:16	93	[DEBUG]	Executed store
2023-10-13	12:18:16	93	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.046',`product_name`='GIANT Batterie/Top Release 500Wh 6Pin MY17-MY18 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-batterie-top-release-500wh-6pin-my17-my18-noir' WHERE `virtuemart_product_id` = '1859585'
2023-10-13	12:18:16	93	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37806_batterie-top_release_500wh_6pin_my17-my18.jpg
2023-10-13	12:18:16	93	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:18:16	93	[DEBUG]	Process image file
2023-10-13	12:18:16	93	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:18:16	93	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:16	93	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37806_batterie-top_release_500wh_6pin_my17-my18.jpg
2023-10-13	12:18:16	93	[DEBUG]	Full name target: bcprisme/37806_batterie-top_release_500wh_6pin_my17-my18.jpg
2023-10-13	12:18:17	93	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:17	93	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37806_batterie-top_release_500wh_6pin_my17-my18.jpg'
2023-10-13	12:18:17	93	[DEBUG]	Query for Media
2023-10-13	12:18:17	93	[DEBUG]	Executed store
2023-10-13	12:18:17	93	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37806_batterie-top_release_500wh_6pin_my17-my18.jpg',`file_url_thumb`='bcprisme/37806_batterie-top_release_500wh_6pin_my17-my18.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1083641'
2023-10-13	12:18:17	93	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:17	93	[DEBUG]	Executed store
2023-10-13	12:18:17	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859585','1083641','1')
2023-10-13	12:18:17	93	[DEBUG]	Store product image relation
2023-10-13	12:18:17	93	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:17	93	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859585 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:17	93	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:17	93	[DEBUG]	Executed store
2023-10-13	12:18:17	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859585','0','779.944289693593','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:17	93	[DEBUG]	Checking manufacturer
2023-10-13	12:18:17	93	[DEBUG]	Load a row
2023-10-13	12:18:17	93	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:17	93	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:17	93	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:17	93	[DEBUG]	Executed store
2023-10-13	12:18:17	93	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:17	93	[DEBUG]	Manufacturer exists
2023-10-13	12:18:17	93	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:17	93	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:17	93	[DEBUG]	Executed store
2023-10-13	12:18:17	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859585','29')
2023-10-13	12:18:17	93	[DEBUG]	Find the custom field ID
2023-10-13	12:18:17	93	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:17	93	[DEBUG]	No custom field ID found
2023-10-13	12:18:17	93	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:17	93	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:17	93	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859585 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:17	93	[DEBUG]	Store custom available field
2023-10-13	12:18:17	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859585,3,'0',1)
2023-10-13	12:18:17	93	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:17	93	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:17	93	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859585 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:17	93	[DEBUG]	Store custom available field
2023-10-13	12:18:17	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859585,6,'choisir la taille',3)
2023-10-13	12:18:17	93	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:17	93	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:17	93	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:17	93	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:17	93	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859585 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:17	93	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:17	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859585,8,1)
2023-10-13	12:18:17	93	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:17	93	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859585\":[1859585,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859585
2023-10-13	12:18:17	93	[DEBUG]	Checking category
2023-10-13	12:18:17	93	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:17	93	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859585
2023-10-13	12:18:17	93	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:17	93	[DEBUG]	Executed store
2023-10-13	12:18:17	93	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859585','7326')
2023-10-13	12:18:17	93	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:17	93	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859585 AND `virtuemart_category_id` NOT IN (7326)
2023-10-13	12:18:17	93	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:17	93	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859585
2023-10-13	12:18:17	94	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:17	94	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:17	94	[DEBUG]	Use field value for field taille
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:17	94	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:17	94	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:17	94	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:17	94	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:17	94	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:17	94	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:17	94	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:17	94	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:17	94	[DEBUG]	Use field value for field published
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:17	94	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field override
2023-10-13	12:18:17	94	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:17	94	[DEBUG]	Use field value for field slug
2023-10-13	12:18:17	94	[DEBUG]	Process line 94
2023-10-13	12:18:17	94	[DEBUG]	Load a row
2023-10-13	12:18:17	94	[DEBUG]	Processing item: 1000000166033
2023-10-13	12:18:17	94	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:17	94	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:17	94	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8821_1'
2023-10-13	12:18:17	94	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:17	94	[DEBUG]	Processing product tax
2023-10-13	12:18:17	94	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:17	94	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:17	94	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:17	94	[DEBUG]	Query for Product
2023-10-13	12:18:17	94	[DEBUG]	Executed store
2023-10-13	12:18:17	94	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859585','1000000166033','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:17	94	[DEBUG]	No parent found
2023-10-13	12:18:17	94	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859585 AND customfield_value = 'stockable'
2023-10-13	12:18:17	94	[DEBUG]	Check product language entry
2023-10-13	12:18:17	94	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859586
2023-10-13	12:18:17	94	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:17	94	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000166033' AND `virtuemart_product_id` != 1859586
2023-10-13	12:18:17	94	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:17	94	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859586, '1000000166033')
2023-10-13	12:18:17	94	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:17	94	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-batterie-top-release-500wh-6pin-my17-my18-noir-all' AND `virtuemart_product_id` != 1859586
2023-10-13	12:18:17	94	[DEBUG]	Query for ProductLang
2023-10-13	12:18:17	94	[DEBUG]	Executed store
2023-10-13	12:18:17	94	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Batterie/Top Release 500Wh 6Pin MY17-MY18 / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-batterie-top-release-500wh-6pin-my17-my18-noir-all' WHERE `virtuemart_product_id` = '1859586'
2023-10-13	12:18:17	94	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37806_batterie-top_release_500wh_6pin_my17-my18.jpg
2023-10-13	12:18:17	94	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:18:17	94	[DEBUG]	Process image file
2023-10-13	12:18:17	94	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:18:17	94	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:17	94	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37806_batterie-top_release_500wh_6pin_my17-my18.jpg
2023-10-13	12:18:17	94	[DEBUG]	Full name target: bcprisme/37806_batterie-top_release_500wh_6pin_my17-my18.jpg
2023-10-13	12:18:18	94	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:18	94	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37806_batterie-top_release_500wh_6pin_my17-my18.jpg'
2023-10-13	12:18:18	94	[DEBUG]	Query for Media
2023-10-13	12:18:18	94	[DEBUG]	Executed store
2023-10-13	12:18:18	94	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37806_batterie-top_release_500wh_6pin_my17-my18.jpg',`file_url_thumb`='bcprisme/37806_batterie-top_release_500wh_6pin_my17-my18.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1083641'
2023-10-13	12:18:18	94	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:18	94	[DEBUG]	Executed store
2023-10-13	12:18:18	94	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859586','1083641','1')
2023-10-13	12:18:18	94	[DEBUG]	Store product image relation
2023-10-13	12:18:18	94	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:18	94	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859586 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:18	94	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:18	94	[DEBUG]	Executed store
2023-10-13	12:18:18	94	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859586','0','779.944289693593','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:18	94	[DEBUG]	Checking manufacturer
2023-10-13	12:18:18	94	[DEBUG]	Load a row
2023-10-13	12:18:18	94	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:18	94	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:18	94	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:18	94	[DEBUG]	Executed store
2023-10-13	12:18:18	94	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:18	94	[DEBUG]	Manufacturer exists
2023-10-13	12:18:18	94	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:18	94	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:18	94	[DEBUG]	Executed store
2023-10-13	12:18:18	94	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859586','29')
2023-10-13	12:18:18	94	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:18	94	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:18	94	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859586 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:18	94	[DEBUG]	Store custom available field
2023-10-13	12:18:18	94	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859586,3,'',1)
2023-10-13	12:18:18	94	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:18	94	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:18:18	94	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859586 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:18	94	[DEBUG]	Store custom available field
2023-10-13	12:18:18	94	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859586,6,'All',3)
2023-10-13	12:18:18	94	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:18	94	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:18	94	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859585
2023-10-13	12:18:18	94	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:18	94	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859585\":[1859585,8,1,\"choisir la taille\"],\"1859586\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859585
2023-10-13	12:18:18	94	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:18	94	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859586
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:18	95	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field taille
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:18	95	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:18	95	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:18	95	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:18	95	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:18	95	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:18	95	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field published
2023-10-13	12:18:18	95	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:18	95	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field override
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:18	95	[DEBUG]	Use field value for field slug
2023-10-13	12:18:18	95	[DEBUG]	Process line 95
2023-10-13	12:18:18	95	[DEBUG]	Load a row
2023-10-13	12:18:18	95	[DEBUG]	Processing item: A_9057_208
2023-10-13	12:18:18	95	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:18	95	[DEBUG]	Processing product tax
2023-10-13	12:18:18	95	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:18	95	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:18	95	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:18	95	[DEBUG]	Query for Product
2023-10-13	12:18:18	95	[DEBUG]	Executed store
2023-10-13	12:18:18	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9057_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:18	95	[DEBUG]	Check product language entry
2023-10-13	12:18:18	95	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859587
2023-10-13	12:18:18	95	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:18	95	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9057_208' AND `virtuemart_product_id` != 1859587
2023-10-13	12:18:18	95	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:18	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859587, 'A_9057_208')
2023-10-13	12:18:18	95	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:18	95	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-batterie-interne-bt-dn300-di2-box-aucune' AND `virtuemart_product_id` != 1859587
2023-10-13	12:18:18	95	[DEBUG]	Query for ProductLang
2023-10-13	12:18:18	95	[DEBUG]	Executed store
2023-10-13	12:18:18	95	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 69.80707',`product_name`='SHIMANO Batterie interne BT-DN300 Di2 box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-batterie-interne-bt-dn300-di2-box-aucune' WHERE `virtuemart_product_id` = '1859587'
2023-10-13	12:18:18	95	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_80707_0.jpg
2023-10-13	12:18:18	95	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:18	95	[DEBUG]	Process image file
2023-10-13	12:18:18	95	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:18	95	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:18	95	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_80707_0.jpg
2023-10-13	12:18:18	95	[DEBUG]	Full name target: bcprisme/69_80707_0.jpg
2023-10-13	12:18:19	95	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:19	95	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/69_80707_0.jpg'
2023-10-13	12:18:19	95	[DEBUG]	Query for Media
2023-10-13	12:18:19	95	[DEBUG]	Executed store
2023-10-13	12:18:19	95	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/69_80707_0.jpg',`file_url_thumb`='bcprisme/69_80707_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1252674'
2023-10-13	12:18:19	95	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:19	95	[DEBUG]	Executed store
2023-10-13	12:18:19	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859587','1252674','1')
2023-10-13	12:18:19	95	[DEBUG]	Store product image relation
2023-10-13	12:18:19	95	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:19	95	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859587 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:19	95	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:19	95	[DEBUG]	Executed store
2023-10-13	12:18:19	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859587','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:19	95	[DEBUG]	Checking manufacturer
2023-10-13	12:18:19	95	[DEBUG]	Load a row
2023-10-13	12:18:19	95	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:19	95	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:19	95	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:19	95	[DEBUG]	Executed store
2023-10-13	12:18:19	95	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:19	95	[DEBUG]	Manufacturer exists
2023-10-13	12:18:19	95	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:18:19	95	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:19	95	[DEBUG]	Executed store
2023-10-13	12:18:19	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859587','26')
2023-10-13	12:18:19	95	[DEBUG]	Find the custom field ID
2023-10-13	12:18:19	95	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:19	95	[DEBUG]	No custom field ID found
2023-10-13	12:18:19	95	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:19	95	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:19	95	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859587 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:19	95	[DEBUG]	Store custom available field
2023-10-13	12:18:19	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859587,3,'0',1)
2023-10-13	12:18:19	95	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:19	95	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:19	95	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859587 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:19	95	[DEBUG]	Store custom available field
2023-10-13	12:18:19	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859587,6,'choisir la taille',3)
2023-10-13	12:18:19	95	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:19	95	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:19	95	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:19	95	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:19	95	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859587 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:19	95	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:19	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859587,8,1)
2023-10-13	12:18:19	95	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:19	95	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859587\":[1859587,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859587
2023-10-13	12:18:19	95	[DEBUG]	Checking category
2023-10-13	12:18:19	95	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:19	95	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859587
2023-10-13	12:18:19	95	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:19	95	[DEBUG]	Executed store
2023-10-13	12:18:19	95	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859587','7326')
2023-10-13	12:18:19	95	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:19	95	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859587 AND `virtuemart_category_id` NOT IN (7326)
2023-10-13	12:18:19	95	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:19	95	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859587
2023-10-13	12:18:19	96	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:19	96	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:19	96	[DEBUG]	Use field value for field taille
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:19	96	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:19	96	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:19	96	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:19	96	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:19	96	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:19	96	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:19	96	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:19	96	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:19	96	[DEBUG]	Use field value for field published
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:19	96	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field override
2023-10-13	12:18:19	96	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:19	96	[DEBUG]	Use field value for field slug
2023-10-13	12:18:19	96	[DEBUG]	Process line 96
2023-10-13	12:18:19	96	[DEBUG]	Load a row
2023-10-13	12:18:19	96	[DEBUG]	Processing item: 4550170894740
2023-10-13	12:18:19	96	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:19	96	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:19	96	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9057_208'
2023-10-13	12:18:19	96	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:19	96	[DEBUG]	Processing product tax
2023-10-13	12:18:19	96	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:19	96	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:19	96	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:19	96	[DEBUG]	Query for Product
2023-10-13	12:18:19	96	[DEBUG]	Executed store
2023-10-13	12:18:19	96	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859587','4550170894740','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:19	96	[DEBUG]	No parent found
2023-10-13	12:18:19	96	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859587 AND customfield_value = 'stockable'
2023-10-13	12:18:19	96	[DEBUG]	Check product language entry
2023-10-13	12:18:19	96	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859588
2023-10-13	12:18:19	96	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:19	96	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170894740' AND `virtuemart_product_id` != 1859588
2023-10-13	12:18:19	96	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:19	96	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859588, '4550170894740')
2023-10-13	12:18:19	96	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:19	96	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-batterie-interne-bt-dn300-di2-box-aucune-unitaire' AND `virtuemart_product_id` != 1859588
2023-10-13	12:18:19	96	[DEBUG]	Query for ProductLang
2023-10-13	12:18:19	96	[DEBUG]	Executed store
2023-10-13	12:18:19	96	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Batterie interne BT-DN300 Di2 box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-batterie-interne-bt-dn300-di2-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1859588'
2023-10-13	12:18:19	96	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_80707_0.jpg
2023-10-13	12:18:19	96	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:19	96	[DEBUG]	Process image file
2023-10-13	12:18:19	96	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:19	96	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:19	96	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_80707_0.jpg
2023-10-13	12:18:19	96	[DEBUG]	Full name target: bcprisme/69_80707_0.jpg
2023-10-13	12:18:20	96	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:20	96	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/69_80707_0.jpg'
2023-10-13	12:18:20	96	[DEBUG]	Query for Media
2023-10-13	12:18:20	96	[DEBUG]	Executed store
2023-10-13	12:18:20	96	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/69_80707_0.jpg',`file_url_thumb`='bcprisme/69_80707_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1252674'
2023-10-13	12:18:20	96	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:20	96	[DEBUG]	Executed store
2023-10-13	12:18:20	96	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859588','1252674','1')
2023-10-13	12:18:20	96	[DEBUG]	Store product image relation
2023-10-13	12:18:20	96	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:20	96	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859588 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:20	96	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:20	96	[DEBUG]	Executed store
2023-10-13	12:18:20	96	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859588','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:20	96	[DEBUG]	Checking manufacturer
2023-10-13	12:18:20	96	[DEBUG]	Load a row
2023-10-13	12:18:20	96	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:20	96	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:20	96	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:20	96	[DEBUG]	Executed store
2023-10-13	12:18:20	96	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:20	96	[DEBUG]	Manufacturer exists
2023-10-13	12:18:20	96	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:18:20	96	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:20	96	[DEBUG]	Executed store
2023-10-13	12:18:20	96	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859588','26')
2023-10-13	12:18:20	96	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:20	96	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:20	96	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859588 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:20	96	[DEBUG]	Store custom available field
2023-10-13	12:18:20	96	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859588,3,'',1)
2023-10-13	12:18:20	96	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:20	96	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:20	96	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859588 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:20	96	[DEBUG]	Store custom available field
2023-10-13	12:18:20	96	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859588,6,'Unitaire',3)
2023-10-13	12:18:20	96	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:20	96	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:20	96	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859587
2023-10-13	12:18:20	96	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:20	96	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859587\":[1859587,8,1,\"choisir la taille\"],\"1859588\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859587
2023-10-13	12:18:20	96	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:20	96	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859588
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:20	97	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field taille
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:20	97	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:20	97	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:20	97	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:20	97	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:20	97	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:20	97	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:20	97	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field published
2023-10-13	12:18:20	97	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:20	97	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field override
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:20	97	[DEBUG]	Use field value for field slug
2023-10-13	12:18:20	97	[DEBUG]	Process line 97
2023-10-13	12:18:20	97	[DEBUG]	Load a row
2023-10-13	12:18:20	97	[DEBUG]	Processing item: A_5378_208
2023-10-13	12:18:20	97	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:20	97	[DEBUG]	Processing product tax
2023-10-13	12:18:20	97	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:20	97	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:20	97	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:20	97	[DEBUG]	Query for Product
2023-10-13	12:18:20	97	[DEBUG]	Executed store
2023-10-13	12:18:20	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5378_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:20	97	[DEBUG]	Check product language entry
2023-10-13	12:18:20	97	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859589
2023-10-13	12:18:20	97	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:20	97	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5378_208' AND `virtuemart_product_id` != 1859589
2023-10-13	12:18:20	97	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:20	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859589, 'A_5378_208')
2023-10-13	12:18:20	97	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:20	97	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chargeur-de-batterie-dura-ace-di2-sm-bcr2-220v-eu-pour-port-usb-box-aucune' AND `virtuemart_product_id` != 1859589
2023-10-13	12:18:20	97	[DEBUG]	Query for ProductLang
2023-10-13	12:18:20	97	[DEBUG]	Executed store
2023-10-13	12:18:20	97	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 69.55422',`product_name`='SHIMANO Chargeur de batterie Dura-Ace Di2 SM-BCR2 220V/EU pour port USB box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chargeur-de-batterie-dura-ace-di2-sm-bcr2-220v-eu-pour-port-usb-box-aucune' WHERE `virtuemart_product_id` = '1859589'
2023-10-13	12:18:20	97	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29856_shimano_chargeur_de_batterie_dura-ace_di2_sm-bcr2_220v-eu_pour_port_usb_box.jpg has not been found.
2023-10-13	12:18:20	97	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:20	97	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859589 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:20	97	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:20	97	[DEBUG]	Executed store
2023-10-13	12:18:20	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859589','0','126.27669452182','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:20	97	[DEBUG]	Checking manufacturer
2023-10-13	12:18:20	97	[DEBUG]	Load a row
2023-10-13	12:18:20	97	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:20	97	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:18:20	97	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:20	97	[DEBUG]	Executed store
2023-10-13	12:18:20	97	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:18:20	97	[DEBUG]	Manufacturer exists
2023-10-13	12:18:20	97	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:18:20	97	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:20	97	[DEBUG]	Executed store
2023-10-13	12:18:20	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859589','123')
2023-10-13	12:18:20	97	[DEBUG]	Find the custom field ID
2023-10-13	12:18:20	97	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:20	97	[DEBUG]	No custom field ID found
2023-10-13	12:18:20	97	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:20	97	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:20	97	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859589 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:20	97	[DEBUG]	Store custom available field
2023-10-13	12:18:20	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859589,3,'0',1)
2023-10-13	12:18:20	97	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:20	97	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:20	97	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859589 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:20	97	[DEBUG]	Store custom available field
2023-10-13	12:18:20	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859589,6,'choisir la taille',3)
2023-10-13	12:18:20	97	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:20	97	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:20	97	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:20	97	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:20	97	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859589 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:20	97	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:20	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859589,8,1)
2023-10-13	12:18:20	97	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:20	97	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859589\":[1859589,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859589
2023-10-13	12:18:20	97	[DEBUG]	Checking category
2023-10-13	12:18:20	97	[DEBUG]	Check if category path exists: BATTERIE ACCESSOIRES
2023-10-13	12:18:20	97	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BATTERIE ACCESSOIRES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7266
2023-10-13	12:18:20	97	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:20	97	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859589
2023-10-13	12:18:20	97	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:20	97	[DEBUG]	Executed store
2023-10-13	12:18:20	97	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859589','7267')
2023-10-13	12:18:20	97	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:20	97	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859589 AND `virtuemart_category_id` NOT IN (7267)
2023-10-13	12:18:20	97	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:20	97	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859589
2023-10-13	12:18:20	98	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:20	98	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:20	98	[DEBUG]	Use field value for field taille
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:20	98	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:20	98	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:20	98	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:20	98	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:20	98	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:20	98	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:20	98	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:20	98	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:20	98	[DEBUG]	Use field value for field published
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:20	98	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field override
2023-10-13	12:18:20	98	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:20	98	[DEBUG]	Use field value for field slug
2023-10-13	12:18:20	98	[DEBUG]	Process line 98
2023-10-13	12:18:20	98	[DEBUG]	Load a row
2023-10-13	12:18:20	98	[DEBUG]	Processing item: 4524667725626
2023-10-13	12:18:20	98	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:20	98	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:20	98	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5378_208'
2023-10-13	12:18:20	98	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:20	98	[DEBUG]	Processing product tax
2023-10-13	12:18:20	98	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:20	98	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:20	98	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:20	98	[DEBUG]	Query for Product
2023-10-13	12:18:20	98	[DEBUG]	Executed store
2023-10-13	12:18:20	98	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859589','4524667725626','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:20	98	[DEBUG]	No parent found
2023-10-13	12:18:20	98	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859589 AND customfield_value = 'stockable'
2023-10-13	12:18:20	98	[DEBUG]	Check product language entry
2023-10-13	12:18:20	98	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859590
2023-10-13	12:18:20	98	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:20	98	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667725626' AND `virtuemart_product_id` != 1859590
2023-10-13	12:18:20	98	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:20	98	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859590, '4524667725626')
2023-10-13	12:18:20	98	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:20	98	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chargeur-de-batterie-dura-ace-di2-sm-bcr2-220v-eu-pour-port-usb-box-aucune-all' AND `virtuemart_product_id` != 1859590
2023-10-13	12:18:20	98	[DEBUG]	Query for ProductLang
2023-10-13	12:18:20	98	[DEBUG]	Executed store
2023-10-13	12:18:20	98	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chargeur de batterie Dura-Ace Di2 SM-BCR2 220V/EU pour port USB box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chargeur-de-batterie-dura-ace-di2-sm-bcr2-220v-eu-pour-port-usb-box-aucune-all' WHERE `virtuemart_product_id` = '1859590'
2023-10-13	12:18:20	98	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29856_shimano_chargeur_de_batterie_dura-ace_di2_sm-bcr2_220v-eu_pour_port_usb_box.jpg has not been found.
2023-10-13	12:18:20	98	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:20	98	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859590 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:20	98	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:20	98	[DEBUG]	Executed store
2023-10-13	12:18:20	98	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859590','0','126.27669452182','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:20	98	[DEBUG]	Checking manufacturer
2023-10-13	12:18:20	98	[DEBUG]	Load a row
2023-10-13	12:18:20	98	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:20	98	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:18:20	98	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:20	98	[DEBUG]	Executed store
2023-10-13	12:18:20	98	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:18:20	98	[DEBUG]	Manufacturer exists
2023-10-13	12:18:20	98	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:18:20	98	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:20	98	[DEBUG]	Executed store
2023-10-13	12:18:20	98	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859590','123')
2023-10-13	12:18:20	98	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:20	98	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:20	98	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859590 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:20	98	[DEBUG]	Store custom available field
2023-10-13	12:18:20	98	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859590,3,'',1)
2023-10-13	12:18:20	98	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:20	98	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:18:20	98	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859590 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:20	98	[DEBUG]	Store custom available field
2023-10-13	12:18:20	98	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859590,6,'All',3)
2023-10-13	12:18:20	98	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:20	98	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:20	98	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859589
2023-10-13	12:18:20	98	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:20	98	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859589\":[1859589,8,1,\"choisir la taille\"],\"1859590\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859589
2023-10-13	12:18:20	98	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:20	98	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859590
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:20	99	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field taille
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:20	99	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:20	99	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:20	99	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:20	99	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:20	99	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:20	99	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field published
2023-10-13	12:18:20	99	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:20	99	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field override
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:20	99	[DEBUG]	Use field value for field slug
2023-10-13	12:18:20	99	[DEBUG]	Process line 99
2023-10-13	12:18:20	99	[DEBUG]	Load a row
2023-10-13	12:18:20	99	[DEBUG]	Processing item: A_6462_1
2023-10-13	12:18:20	99	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:20	99	[DEBUG]	Processing product tax
2023-10-13	12:18:20	99	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:20	99	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:20	99	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:20	99	[DEBUG]	Query for Product
2023-10-13	12:18:20	99	[DEBUG]	Executed store
2023-10-13	12:18:20	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6462_1','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:20	99	[DEBUG]	Check product language entry
2023-10-13	12:18:20	99	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859591
2023-10-13	12:18:20	99	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:20	99	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6462_1' AND `virtuemart_product_id` != 1859591
2023-10-13	12:18:20	99	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:20	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859591, 'A_6462_1')
2023-10-13	12:18:20	99	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:20	99	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chargeur-etap-sram-noir' AND `virtuemart_product_id` != 1859591
2023-10-13	12:18:20	99	[DEBUG]	Query for ProductLang
2023-10-13	12:18:20	99	[DEBUG]	Executed store
2023-10-13	12:18:20	99	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7520S',`product_name`='SRAM Chargeur eTap SRAM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chargeur-etap-sram-noir' WHERE `virtuemart_product_id` = '1859591'
2023-10-13	12:18:20	99	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32345_chargeur_etap_sram.jpg
2023-10-13	12:18:20	99	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:20	99	[DEBUG]	Process image file
2023-10-13	12:18:20	99	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:20	99	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:20	99	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32345_chargeur_etap_sram.jpg
2023-10-13	12:18:20	99	[DEBUG]	Full name target: bcprisme/32345_chargeur_etap_sram.jpg
2023-10-13	12:18:21	99	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:21	99	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32345_chargeur_etap_sram.jpg'
2023-10-13	12:18:21	99	[DEBUG]	Query for Media
2023-10-13	12:18:21	99	[DEBUG]	Executed store
2023-10-13	12:18:21	99	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32345_chargeur_etap_sram.jpg',`file_url_thumb`='bcprisme/32345_chargeur_etap_sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079061'
2023-10-13	12:18:21	99	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:21	99	[DEBUG]	Executed store
2023-10-13	12:18:21	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859591','1079061','1')
2023-10-13	12:18:21	99	[DEBUG]	Store product image relation
2023-10-13	12:18:21	99	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:21	99	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859591 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:21	99	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:21	99	[DEBUG]	Executed store
2023-10-13	12:18:21	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859591','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:21	99	[DEBUG]	Checking manufacturer
2023-10-13	12:18:21	99	[DEBUG]	Load a row
2023-10-13	12:18:21	99	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:21	99	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:21	99	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:21	99	[DEBUG]	Executed store
2023-10-13	12:18:21	99	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:21	99	[DEBUG]	Manufacturer exists
2023-10-13	12:18:21	99	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:18:21	99	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:21	99	[DEBUG]	Executed store
2023-10-13	12:18:21	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859591','35')
2023-10-13	12:18:21	99	[DEBUG]	Find the custom field ID
2023-10-13	12:18:21	99	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:21	99	[DEBUG]	No custom field ID found
2023-10-13	12:18:21	99	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:21	99	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:21	99	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859591 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:21	99	[DEBUG]	Store custom available field
2023-10-13	12:18:21	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859591,3,'0',1)
2023-10-13	12:18:21	99	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:21	99	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:21	99	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859591 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:21	99	[DEBUG]	Store custom available field
2023-10-13	12:18:21	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859591,6,'choisir la taille',3)
2023-10-13	12:18:21	99	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:21	99	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:21	99	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:21	99	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:21	99	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859591 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:21	99	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:21	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859591,8,1)
2023-10-13	12:18:21	99	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:21	99	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859591\":[1859591,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859591
2023-10-13	12:18:21	99	[DEBUG]	Checking category
2023-10-13	12:18:21	99	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:21	99	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859591
2023-10-13	12:18:21	99	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:21	99	[DEBUG]	Executed store
2023-10-13	12:18:21	99	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859591','7267')
2023-10-13	12:18:21	99	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:21	99	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859591 AND `virtuemart_category_id` NOT IN (7267)
2023-10-13	12:18:21	99	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:21	99	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859591
2023-10-13	12:18:21	100	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:21	100	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:21	100	[DEBUG]	Use field value for field taille
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:21	100	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:21	100	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:21	100	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:21	100	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:21	100	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:21	100	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:21	100	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:21	100	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:21	100	[DEBUG]	Use field value for field published
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:21	100	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field override
2023-10-13	12:18:21	100	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:21	100	[DEBUG]	Use field value for field slug
2023-10-13	12:18:21	100	[DEBUG]	Process line 100
2023-10-13	12:18:21	100	[DEBUG]	Load a row
2023-10-13	12:18:21	100	[DEBUG]	Processing item: 710845780752
2023-10-13	12:18:21	100	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:21	100	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:21	100	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6462_1'
2023-10-13	12:18:21	100	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:21	100	[DEBUG]	Processing product tax
2023-10-13	12:18:21	100	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:21	100	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:21	100	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:21	100	[DEBUG]	Query for Product
2023-10-13	12:18:21	100	[DEBUG]	Executed store
2023-10-13	12:18:21	100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859591','710845780752','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0')
2023-10-13	12:18:21	100	[DEBUG]	No parent found
2023-10-13	12:18:21	100	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859591 AND customfield_value = 'stockable'
2023-10-13	12:18:21	100	[DEBUG]	Check product language entry
2023-10-13	12:18:21	100	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859592
2023-10-13	12:18:21	100	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:21	100	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845780752' AND `virtuemart_product_id` != 1859592
2023-10-13	12:18:21	100	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:21	100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859592, '710845780752')
2023-10-13	12:18:21	100	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:21	100	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chargeur-etap-sram-noir-unitaire' AND `virtuemart_product_id` != 1859592
2023-10-13	12:18:21	100	[DEBUG]	Query for ProductLang
2023-10-13	12:18:21	100	[DEBUG]	Executed store
2023-10-13	12:18:21	100	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chargeur eTap SRAM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chargeur-etap-sram-noir-unitaire' WHERE `virtuemart_product_id` = '1859592'
2023-10-13	12:18:21	100	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32345_chargeur_etap_sram.jpg
2023-10-13	12:18:21	100	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:21	100	[DEBUG]	Process image file
2023-10-13	12:18:21	100	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:21	100	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:21	100	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32345_chargeur_etap_sram.jpg
2023-10-13	12:18:21	100	[DEBUG]	Full name target: bcprisme/32345_chargeur_etap_sram.jpg
2023-10-13	12:18:22	100	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:22	100	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32345_chargeur_etap_sram.jpg'
2023-10-13	12:18:22	100	[DEBUG]	Query for Media
2023-10-13	12:18:22	100	[DEBUG]	Executed store
2023-10-13	12:18:22	100	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32345_chargeur_etap_sram.jpg',`file_url_thumb`='bcprisme/32345_chargeur_etap_sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079061'
2023-10-13	12:18:22	100	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:22	100	[DEBUG]	Executed store
2023-10-13	12:18:22	100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859592','1079061','1')
2023-10-13	12:18:22	100	[DEBUG]	Store product image relation
2023-10-13	12:18:22	100	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:22	100	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859592 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:22	100	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:22	100	[DEBUG]	Executed store
2023-10-13	12:18:22	100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859592','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:16:43','1593','2023-10-13 12:16:43','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:22	100	[DEBUG]	Checking manufacturer
2023-10-13	12:18:22	100	[DEBUG]	Load a row
2023-10-13	12:18:22	100	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:22	100	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:22	100	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:22	100	[DEBUG]	Executed store
2023-10-13	12:18:22	100	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:22	100	[DEBUG]	Manufacturer exists
2023-10-13	12:18:22	100	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:18:22	100	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:22	100	[DEBUG]	Executed store
2023-10-13	12:18:22	100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859592','35')
2023-10-13	12:18:22	100	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:22	100	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:22	100	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859592 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:22	100	[DEBUG]	Store custom available field
2023-10-13	12:18:22	100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859592,3,'',1)
2023-10-13	12:18:22	100	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:22	100	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:22	100	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859592 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:22	100	[DEBUG]	Store custom available field
2023-10-13	12:18:22	100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859592,6,'Unitaire',3)
2023-10-13	12:18:22	100	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:22	100	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:22	100	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859591
2023-10-13	12:18:22	100	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:22	100	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859591\":[1859591,8,1,\"choisir la taille\"],\"1859592\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859591
2023-10-13	12:18:22	100	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:22	100	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859592
2023-10-13	12:18:42	100	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:18:42	100	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:18:42	100	[DEBUG]	Load the fields to process
2023-10-13	12:18:42	100	[DEBUG]	Setup field: product_sku
2023-10-13	12:18:42	100	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:18:42	100	[DEBUG]	Setup field: taille
2023-10-13	12:18:42	100	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:18:42	100	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:18:42	100	[DEBUG]	Setup field: product_name
2023-10-13	12:18:42	100	[DEBUG]	Setup field: category_path
2023-10-13	12:18:42	100	[DEBUG]	Setup field: product_price
2023-10-13	12:18:42	100	[DEBUG]	Setup field: product_override_price
2023-10-13	12:18:42	100	[DEBUG]	Setup field: product_tax
2023-10-13	12:18:42	100	[DEBUG]	Setup field: file_url
2023-10-13	12:18:42	100	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:18:42	100	[DEBUG]	Setup field: product_desc
2023-10-13	12:18:42	100	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:18:42	100	[DEBUG]	Setup field: product_availability
2023-10-13	12:18:42	100	[DEBUG]	Setup field: product_weight
2023-10-13	12:18:42	100	[DEBUG]	Setup field: product_unit
2023-10-13	12:18:42	100	[DEBUG]	Setup field: related_products
2023-10-13	12:18:42	100	[DEBUG]	Setup field: product_special
2023-10-13	12:18:42	100	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:18:42	100	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:18:42	100	[DEBUG]	Setup field: published
2023-10-13	12:18:42	100	[DEBUG]	Setup field: metadesc
2023-10-13	12:18:42	100	[DEBUG]	Setup field: metakey
2023-10-13	12:18:42	100	[DEBUG]	Setup field: custom_title
2023-10-13	12:18:42	100	[DEBUG]	Setup field: custom_value
2023-10-13	12:18:42	100	[DEBUG]	Setup field: custom_param
2023-10-13	12:18:42	100	[DEBUG]	Setup field: override
2023-10-13	12:18:42	100	[DEBUG]	Setup field: public_price
2023-10-13	12:18:42	100	[DEBUG]	Setup field: slug
2023-10-13	12:18:42	100	[DEBUG]	Use the file for configuration
2023-10-13	12:18:42	100	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:18:42	100	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:18:42	100	[DEBUG]	Load the custom fields
2023-10-13	12:18:42	100	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:18:42	100	[DEBUG]	Load stockable custom fields
2023-10-13	12:18:42	100	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:18:42	100	[DEBUG]	Load custom fields for all
2023-10-13	12:18:42	100	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:42	101	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field taille
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:42	101	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:42	101	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:42	101	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:42	101	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:42	101	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:42	101	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field published
2023-10-13	12:18:42	101	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:42	101	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field override
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:42	101	[DEBUG]	Use field value for field slug
2023-10-13	12:18:42	101	[DEBUG]	Process line 101
2023-10-13	12:18:42	101	[DEBUG]	Check if the vendor exists
2023-10-13	12:18:42	101	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6501_1'
2023-10-13	12:18:42	101	[DEBUG]	Load a row
2023-10-13	12:18:42	101	[DEBUG]	Processing item: A_6501_1
2023-10-13	12:18:42	101	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:42	101	[DEBUG]	Processing product tax
2023-10-13	12:18:42	101	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:42	101	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:42	101	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:42	101	[DEBUG]	Query for Product
2023-10-13	12:18:42	101	[DEBUG]	Executed store
2023-10-13	12:18:42	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6501_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:42	101	[DEBUG]	Check product language entry
2023-10-13	12:18:42	101	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859593
2023-10-13	12:18:42	101	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:42	101	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6501_1' AND `virtuemart_product_id` != 1859593
2023-10-13	12:18:42	101	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:42	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859593, 'A_6501_1')
2023-10-13	12:18:42	101	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:42	101	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-etap-batterie-noir' AND `virtuemart_product_id` != 1859593
2023-10-13	12:18:42	101	[DEBUG]	Query for ProductLang
2023-10-13	12:18:42	101	[DEBUG]	Executed store
2023-10-13	12:18:42	101	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7520R',`product_name`='SRAM ETap Batterie / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-etap-batterie-noir' WHERE `virtuemart_product_id` = '1859593'
2023-10-13	12:18:42	101	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32383_etap_batterie.jpg
2023-10-13	12:18:42	101	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:42	101	[DEBUG]	Process image file
2023-10-13	12:18:42	101	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:42	101	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:42	101	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32383_etap_batterie.jpg
2023-10-13	12:18:42	101	[DEBUG]	Full name target: bcprisme/32383_etap_batterie.jpg
2023-10-13	12:18:43	101	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:43	101	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32383_etap_batterie.jpg'
2023-10-13	12:18:43	101	[DEBUG]	Query for Media
2023-10-13	12:18:43	101	[DEBUG]	Executed store
2023-10-13	12:18:43	101	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32383_etap_batterie.jpg',`file_url_thumb`='bcprisme/32383_etap_batterie.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1037791'
2023-10-13	12:18:43	101	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:43	101	[DEBUG]	Executed store
2023-10-13	12:18:43	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859593','1037791','1')
2023-10-13	12:18:43	101	[DEBUG]	Store product image relation
2023-10-13	12:18:43	101	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:43	101	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859593 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:43	101	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:43	101	[DEBUG]	Executed store
2023-10-13	12:18:43	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859593','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:43	101	[DEBUG]	Checking manufacturer
2023-10-13	12:18:43	101	[DEBUG]	Load a row
2023-10-13	12:18:43	101	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:43	101	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:43	101	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:43	101	[DEBUG]	Executed store
2023-10-13	12:18:43	101	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:43	101	[DEBUG]	Manufacturer exists
2023-10-13	12:18:43	101	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:18:43	101	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:43	101	[DEBUG]	Executed store
2023-10-13	12:18:43	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859593','35')
2023-10-13	12:18:43	101	[DEBUG]	Find the custom field ID
2023-10-13	12:18:43	101	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:43	101	[DEBUG]	No custom field ID found
2023-10-13	12:18:43	101	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:43	101	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:43	101	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859593 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:43	101	[DEBUG]	Store custom available field
2023-10-13	12:18:43	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859593,3,'0',1)
2023-10-13	12:18:43	101	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:43	101	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:43	101	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859593 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:43	101	[DEBUG]	Store custom available field
2023-10-13	12:18:43	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859593,6,'choisir la taille',3)
2023-10-13	12:18:43	101	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:43	101	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:43	101	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:43	101	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:43	101	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859593 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:43	101	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:43	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859593,8,1)
2023-10-13	12:18:43	101	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:43	101	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859593\":[1859593,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859593
2023-10-13	12:18:43	101	[DEBUG]	Checking category
2023-10-13	12:18:43	101	[DEBUG]	Check if category path exists: BATTERIE
2023-10-13	12:18:43	101	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BATTERIE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:18:43	101	[DEBUG]	Check if category path exists: BATTERIE ACCESSOIRES
2023-10-13	12:18:43	101	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BATTERIE ACCESSOIRES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7266
2023-10-13	12:18:43	101	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:43	101	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859593
2023-10-13	12:18:43	101	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:43	101	[DEBUG]	Executed store
2023-10-13	12:18:43	101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859593','7267')
2023-10-13	12:18:43	101	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:43	101	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859593 AND `virtuemart_category_id` NOT IN (7267)
2023-10-13	12:18:43	101	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:43	101	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859593
2023-10-13	12:18:43	102	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:43	102	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:43	102	[DEBUG]	Use field value for field taille
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:43	102	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:43	102	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:43	102	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:43	102	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:43	102	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:43	102	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:43	102	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:43	102	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:43	102	[DEBUG]	Use field value for field published
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:43	102	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field override
2023-10-13	12:18:43	102	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:43	102	[DEBUG]	Use field value for field slug
2023-10-13	12:18:43	102	[DEBUG]	Process line 102
2023-10-13	12:18:43	102	[DEBUG]	Load a row
2023-10-13	12:18:43	102	[DEBUG]	Processing item: 710845780615
2023-10-13	12:18:43	102	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:43	102	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:43	102	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6501_1'
2023-10-13	12:18:43	102	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:43	102	[DEBUG]	Processing product tax
2023-10-13	12:18:43	102	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:43	102	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:43	102	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:43	102	[DEBUG]	Query for Product
2023-10-13	12:18:43	102	[DEBUG]	Executed store
2023-10-13	12:18:43	102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859593','710845780615','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:43	102	[DEBUG]	No parent found
2023-10-13	12:18:43	102	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859593 AND customfield_value = 'stockable'
2023-10-13	12:18:43	102	[DEBUG]	Check product language entry
2023-10-13	12:18:43	102	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859594
2023-10-13	12:18:43	102	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:43	102	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845780615' AND `virtuemart_product_id` != 1859594
2023-10-13	12:18:43	102	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:43	102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859594, '710845780615')
2023-10-13	12:18:43	102	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:43	102	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-etap-batterie-noir-unitaire' AND `virtuemart_product_id` != 1859594
2023-10-13	12:18:43	102	[DEBUG]	Query for ProductLang
2023-10-13	12:18:43	102	[DEBUG]	Executed store
2023-10-13	12:18:43	102	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM ETap Batterie / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-etap-batterie-noir-unitaire' WHERE `virtuemart_product_id` = '1859594'
2023-10-13	12:18:43	102	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32383_etap_batterie.jpg
2023-10-13	12:18:43	102	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:43	102	[DEBUG]	Process image file
2023-10-13	12:18:43	102	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:43	102	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:43	102	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32383_etap_batterie.jpg
2023-10-13	12:18:43	102	[DEBUG]	Full name target: bcprisme/32383_etap_batterie.jpg
2023-10-13	12:18:44	102	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:44	102	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32383_etap_batterie.jpg'
2023-10-13	12:18:44	102	[DEBUG]	Query for Media
2023-10-13	12:18:44	102	[DEBUG]	Executed store
2023-10-13	12:18:44	102	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32383_etap_batterie.jpg',`file_url_thumb`='bcprisme/32383_etap_batterie.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1037791'
2023-10-13	12:18:44	102	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:44	102	[DEBUG]	Executed store
2023-10-13	12:18:44	102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859594','1037791','1')
2023-10-13	12:18:44	102	[DEBUG]	Store product image relation
2023-10-13	12:18:44	102	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:44	102	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859594 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:44	102	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:44	102	[DEBUG]	Executed store
2023-10-13	12:18:44	102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859594','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:44	102	[DEBUG]	Checking manufacturer
2023-10-13	12:18:44	102	[DEBUG]	Load a row
2023-10-13	12:18:44	102	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:44	102	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:44	102	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:44	102	[DEBUG]	Executed store
2023-10-13	12:18:44	102	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:44	102	[DEBUG]	Manufacturer exists
2023-10-13	12:18:44	102	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:18:44	102	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:44	102	[DEBUG]	Executed store
2023-10-13	12:18:44	102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859594','35')
2023-10-13	12:18:44	102	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:44	102	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:44	102	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859594 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:44	102	[DEBUG]	Store custom available field
2023-10-13	12:18:44	102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859594,3,'',1)
2023-10-13	12:18:44	102	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:44	102	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:44	102	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859594 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:44	102	[DEBUG]	Store custom available field
2023-10-13	12:18:44	102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859594,6,'Unitaire',3)
2023-10-13	12:18:44	102	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:44	102	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:44	102	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859593
2023-10-13	12:18:44	102	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:44	102	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859593\":[1859593,8,1,\"choisir la taille\"],\"1859594\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859593
2023-10-13	12:18:44	102	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:44	102	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859594
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:44	103	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field taille
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:44	103	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:44	103	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:44	103	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:44	103	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:44	103	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:44	103	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field published
2023-10-13	12:18:44	103	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:44	103	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field override
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:44	103	[DEBUG]	Use field value for field slug
2023-10-13	12:18:44	103	[DEBUG]	Process line 103
2023-10-13	12:18:44	103	[DEBUG]	Load a row
2023-10-13	12:18:44	103	[DEBUG]	Processing item: A_7381_1
2023-10-13	12:18:44	103	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:44	103	[DEBUG]	Processing product tax
2023-10-13	12:18:44	103	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:44	103	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:44	103	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:44	103	[DEBUG]	Query for Product
2023-10-13	12:18:44	103	[DEBUG]	Executed store
2023-10-13	12:18:44	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7381_1','5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:44	103	[DEBUG]	Check product language entry
2023-10-13	12:18:44	103	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859595
2023-10-13	12:18:44	103	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:44	103	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7381_1' AND `virtuemart_product_id` != 1859595
2023-10-13	12:18:44	103	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:44	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859595, 'A_7381_1')
2023-10-13	12:18:44	103	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:44	103	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-cache-pour-la-prise-de-charge-dans-le-cadre-noir' AND `virtuemart_product_id` != 1859595
2023-10-13	12:18:44	103	[DEBUG]	Query for ProductLang
2023-10-13	12:18:44	103	[DEBUG]	Executed store
2023-10-13	12:18:44	103	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.063',`product_name`='GIANT Cache pour la prise de charge dans le cadre / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-cache-pour-la-prise-de-charge-dans-le-cadre-noir' WHERE `virtuemart_product_id` = '1859595'
2023-10-13	12:18:44	103	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34622_giant_cache_pour_la_prise_de_charge_dans_le_cadre.jpg
2023-10-13	12:18:44	103	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:44	103	[DEBUG]	Process image file
2023-10-13	12:18:44	103	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:44	103	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:44	103	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34622_giant_cache_pour_la_prise_de_charge_dans_le_cadre.jpg
2023-10-13	12:18:44	103	[DEBUG]	Full name target: bcprisme/34622_giant_cache_pour_la_prise_de_charge_dans_le_cadre.jpg
2023-10-13	12:18:45	103	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:45	103	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34622_giant_cache_pour_la_prise_de_charge_dans_le_cadre.jpg'
2023-10-13	12:18:45	103	[DEBUG]	Query for Media
2023-10-13	12:18:45	103	[DEBUG]	Executed store
2023-10-13	12:18:45	103	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34622_giant_cache_pour_la_prise_de_charge_dans_le_cadre.jpg',`file_url_thumb`='bcprisme/34622_giant_cache_pour_la_prise_de_charge_dans_le_cadre.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '181204'
2023-10-13	12:18:45	103	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:45	103	[DEBUG]	Executed store
2023-10-13	12:18:45	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859595','181204','1')
2023-10-13	12:18:45	103	[DEBUG]	Store product image relation
2023-10-13	12:18:45	103	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:45	103	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859595 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:45	103	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:45	103	[DEBUG]	Executed store
2023-10-13	12:18:45	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859595','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:45	103	[DEBUG]	Checking manufacturer
2023-10-13	12:18:45	103	[DEBUG]	Load a row
2023-10-13	12:18:45	103	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:45	103	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:45	103	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:45	103	[DEBUG]	Executed store
2023-10-13	12:18:45	103	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:45	103	[DEBUG]	Manufacturer exists
2023-10-13	12:18:45	103	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:45	103	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:45	103	[DEBUG]	Executed store
2023-10-13	12:18:45	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859595','29')
2023-10-13	12:18:45	103	[DEBUG]	Find the custom field ID
2023-10-13	12:18:45	103	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:45	103	[DEBUG]	No custom field ID found
2023-10-13	12:18:45	103	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:45	103	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:45	103	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859595 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:45	103	[DEBUG]	Store custom available field
2023-10-13	12:18:45	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859595,3,'0',1)
2023-10-13	12:18:45	103	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:45	103	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:45	103	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859595 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:45	103	[DEBUG]	Store custom available field
2023-10-13	12:18:45	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859595,6,'choisir la taille',3)
2023-10-13	12:18:45	103	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:45	103	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:45	103	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:45	103	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:45	103	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859595 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:45	103	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:45	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859595,8,1)
2023-10-13	12:18:45	103	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:45	103	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859595\":[1859595,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859595
2023-10-13	12:18:45	103	[DEBUG]	Checking category
2023-10-13	12:18:45	103	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:45	103	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859595
2023-10-13	12:18:45	103	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:45	103	[DEBUG]	Executed store
2023-10-13	12:18:45	103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859595','7267')
2023-10-13	12:18:45	103	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:45	103	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859595 AND `virtuemart_category_id` NOT IN (7267)
2023-10-13	12:18:45	103	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:45	103	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859595
2023-10-13	12:18:45	104	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:45	104	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:45	104	[DEBUG]	Use field value for field taille
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:45	104	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:45	104	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:45	104	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:45	104	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:45	104	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:45	104	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:45	104	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:45	104	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:45	104	[DEBUG]	Use field value for field published
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:45	104	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field override
2023-10-13	12:18:45	104	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:45	104	[DEBUG]	Use field value for field slug
2023-10-13	12:18:45	104	[DEBUG]	Process line 104
2023-10-13	12:18:45	104	[DEBUG]	Load a row
2023-10-13	12:18:45	104	[DEBUG]	Processing item: 527'EB19RB'10
2023-10-13	12:18:45	104	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:45	104	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:45	104	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7381_1'
2023-10-13	12:18:45	104	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:45	104	[DEBUG]	Processing product tax
2023-10-13	12:18:45	104	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:45	104	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:45	104	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:45	104	[DEBUG]	Query for Product
2023-10-13	12:18:45	104	[DEBUG]	Executed store
2023-10-13	12:18:45	104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859595','527\'EB19RB\'10','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:45	104	[DEBUG]	No parent found
2023-10-13	12:18:45	104	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859595 AND customfield_value = 'stockable'
2023-10-13	12:18:45	104	[DEBUG]	Check product language entry
2023-10-13	12:18:45	104	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859596
2023-10-13	12:18:45	104	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:45	104	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '527\'EB19RB\'10' AND `virtuemart_product_id` != 1859596
2023-10-13	12:18:45	104	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:45	104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859596, '527\'EB19RB\'10')
2023-10-13	12:18:45	104	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:45	104	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-cache-pour-la-prise-de-charge-dans-le-cadre-noir-unitaire' AND `virtuemart_product_id` != 1859596
2023-10-13	12:18:45	104	[DEBUG]	Query for ProductLang
2023-10-13	12:18:45	104	[DEBUG]	Executed store
2023-10-13	12:18:45	104	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Cache pour la prise de charge dans le cadre / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-cache-pour-la-prise-de-charge-dans-le-cadre-noir-unitaire' WHERE `virtuemart_product_id` = '1859596'
2023-10-13	12:18:45	104	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34622_giant_cache_pour_la_prise_de_charge_dans_le_cadre.jpg
2023-10-13	12:18:45	104	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:45	104	[DEBUG]	Process image file
2023-10-13	12:18:45	104	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:45	104	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:45	104	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34622_giant_cache_pour_la_prise_de_charge_dans_le_cadre.jpg
2023-10-13	12:18:45	104	[DEBUG]	Full name target: bcprisme/34622_giant_cache_pour_la_prise_de_charge_dans_le_cadre.jpg
2023-10-13	12:18:46	104	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:46	104	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34622_giant_cache_pour_la_prise_de_charge_dans_le_cadre.jpg'
2023-10-13	12:18:46	104	[DEBUG]	Query for Media
2023-10-13	12:18:46	104	[DEBUG]	Executed store
2023-10-13	12:18:46	104	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34622_giant_cache_pour_la_prise_de_charge_dans_le_cadre.jpg',`file_url_thumb`='bcprisme/34622_giant_cache_pour_la_prise_de_charge_dans_le_cadre.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '181204'
2023-10-13	12:18:46	104	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:46	104	[DEBUG]	Executed store
2023-10-13	12:18:46	104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859596','181204','1')
2023-10-13	12:18:46	104	[DEBUG]	Store product image relation
2023-10-13	12:18:46	104	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:46	104	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859596 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:46	104	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:46	104	[DEBUG]	Executed store
2023-10-13	12:18:46	104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859596','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:46	104	[DEBUG]	Checking manufacturer
2023-10-13	12:18:46	104	[DEBUG]	Load a row
2023-10-13	12:18:46	104	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:46	104	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:46	104	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:46	104	[DEBUG]	Executed store
2023-10-13	12:18:46	104	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:46	104	[DEBUG]	Manufacturer exists
2023-10-13	12:18:46	104	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:46	104	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:46	104	[DEBUG]	Executed store
2023-10-13	12:18:46	104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859596','29')
2023-10-13	12:18:46	104	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:46	104	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:46	104	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859596 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:46	104	[DEBUG]	Store custom available field
2023-10-13	12:18:46	104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859596,3,'',1)
2023-10-13	12:18:46	104	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:46	104	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:46	104	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859596 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:46	104	[DEBUG]	Store custom available field
2023-10-13	12:18:46	104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859596,6,'Unitaire',3)
2023-10-13	12:18:46	104	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:46	104	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:46	104	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859595
2023-10-13	12:18:46	104	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:46	104	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859595\":[1859595,8,1,\"choisir la taille\"],\"1859596\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859595
2023-10-13	12:18:46	104	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:46	104	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859596
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:46	105	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field taille
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:46	105	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:46	105	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:46	105	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:46	105	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:46	105	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:46	105	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field published
2023-10-13	12:18:46	105	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:46	105	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field override
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:46	105	[DEBUG]	Use field value for field slug
2023-10-13	12:18:46	105	[DEBUG]	Process line 105
2023-10-13	12:18:46	105	[DEBUG]	Load a row
2023-10-13	12:18:46	105	[DEBUG]	Processing item: A_7752_1
2023-10-13	12:18:46	105	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:46	105	[DEBUG]	Processing product tax
2023-10-13	12:18:46	105	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:46	105	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:46	105	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:46	105	[DEBUG]	Query for Product
2023-10-13	12:18:46	105	[DEBUG]	Executed store
2023-10-13	12:18:46	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7752_1','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:46	105	[DEBUG]	Check product language entry
2023-10-13	12:18:46	105	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859597
2023-10-13	12:18:46	105	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:46	105	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7752_1' AND `virtuemart_product_id` != 1859597
2023-10-13	12:18:46	105	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:46	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859597, 'A_7752_1')
2023-10-13	12:18:46	105	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:46	105	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-cache-batterie-giant-trance-a-partir-de-my19-noir' AND `virtuemart_product_id` != 1859597
2023-10-13	12:18:46	105	[DEBUG]	Query for ProductLang
2023-10-13	12:18:46	105	[DEBUG]	Executed store
2023-10-13	12:18:46	105	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.074',`product_name`='GIANT Cache batterie Giant Trance à partir de MY19 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-cache-batterie-giant-trance-a-partir-de-my19-noir' WHERE `virtuemart_product_id` = '1859597'
2023-10-13	12:18:46	105	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36142_cache_batterie_giant_trance_à_partir_de_my19.png
2023-10-13	12:18:46	105	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000283
2023-10-13	12:18:46	105	[DEBUG]	Process image file
2023-10-13	12:18:46	105	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000283
2023-10-13	12:18:46	105	[DEBUG]	Mime type found: image/png
2023-10-13	12:18:46	105	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36142_cache_batterie_giant_trance_à_partir_de_my19.png
2023-10-13	12:18:46	105	[DEBUG]	Full name target: bcprisme/36142_cache_batterie_giant_trance_à_partir_de_my19.png
2023-10-13	12:18:47	105	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:47	105	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36142_cache_batterie_giant_trance_à_partir_de_my19.png'
2023-10-13	12:18:47	105	[DEBUG]	Query for Media
2023-10-13	12:18:47	105	[DEBUG]	Executed store
2023-10-13	12:18:47	105	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36142_cache_batterie_giant_trance_à_partir_de_my19.png',`file_url_thumb`='bcprisme/36142_cache_batterie_giant_trance_à_partir_de_my19.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '463923'
2023-10-13	12:18:47	105	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:47	105	[DEBUG]	Executed store
2023-10-13	12:18:47	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859597','463923','1')
2023-10-13	12:18:47	105	[DEBUG]	Store product image relation
2023-10-13	12:18:47	105	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:47	105	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859597 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:47	105	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:47	105	[DEBUG]	Executed store
2023-10-13	12:18:47	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859597','0','80.6870937790158','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:47	105	[DEBUG]	Checking manufacturer
2023-10-13	12:18:47	105	[DEBUG]	Load a row
2023-10-13	12:18:47	105	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:47	105	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:47	105	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:47	105	[DEBUG]	Executed store
2023-10-13	12:18:47	105	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:47	105	[DEBUG]	Manufacturer exists
2023-10-13	12:18:47	105	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:47	105	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:47	105	[DEBUG]	Executed store
2023-10-13	12:18:47	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859597','29')
2023-10-13	12:18:47	105	[DEBUG]	Find the custom field ID
2023-10-13	12:18:47	105	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:47	105	[DEBUG]	No custom field ID found
2023-10-13	12:18:47	105	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:47	105	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:47	105	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859597 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:47	105	[DEBUG]	Store custom available field
2023-10-13	12:18:47	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859597,3,'0',1)
2023-10-13	12:18:47	105	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:47	105	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:47	105	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859597 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:47	105	[DEBUG]	Store custom available field
2023-10-13	12:18:47	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859597,6,'choisir la taille',3)
2023-10-13	12:18:47	105	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:47	105	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:47	105	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:47	105	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:47	105	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859597 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:47	105	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:47	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859597,8,1)
2023-10-13	12:18:47	105	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:47	105	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859597\":[1859597,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859597
2023-10-13	12:18:47	105	[DEBUG]	Checking category
2023-10-13	12:18:47	105	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:47	105	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859597
2023-10-13	12:18:47	105	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:47	105	[DEBUG]	Executed store
2023-10-13	12:18:47	105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859597','7267')
2023-10-13	12:18:47	105	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:47	105	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859597 AND `virtuemart_category_id` NOT IN (7267)
2023-10-13	12:18:47	105	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:47	105	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859597
2023-10-13	12:18:47	106	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:47	106	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:47	106	[DEBUG]	Use field value for field taille
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:47	106	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:47	106	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:47	106	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:47	106	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:47	106	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:47	106	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:47	106	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:47	106	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:47	106	[DEBUG]	Use field value for field published
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:47	106	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field override
2023-10-13	12:18:47	106	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:47	106	[DEBUG]	Use field value for field slug
2023-10-13	12:18:47	106	[DEBUG]	Process line 106
2023-10-13	12:18:47	106	[DEBUG]	Load a row
2023-10-13	12:18:47	106	[DEBUG]	Processing item: 1000000136913
2023-10-13	12:18:47	106	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:47	106	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:47	106	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7752_1'
2023-10-13	12:18:47	106	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:47	106	[DEBUG]	Processing product tax
2023-10-13	12:18:47	106	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:47	106	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:47	106	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:47	106	[DEBUG]	Query for Product
2023-10-13	12:18:47	106	[DEBUG]	Executed store
2023-10-13	12:18:47	106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859597','1000000136913','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:47	106	[DEBUG]	No parent found
2023-10-13	12:18:47	106	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859597 AND customfield_value = 'stockable'
2023-10-13	12:18:47	106	[DEBUG]	Check product language entry
2023-10-13	12:18:47	106	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859598
2023-10-13	12:18:47	106	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:47	106	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000136913' AND `virtuemart_product_id` != 1859598
2023-10-13	12:18:47	106	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:47	106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859598, '1000000136913')
2023-10-13	12:18:47	106	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:47	106	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-cache-batterie-giant-trance-a-partir-de-my19-noir-all' AND `virtuemart_product_id` != 1859598
2023-10-13	12:18:47	106	[DEBUG]	Query for ProductLang
2023-10-13	12:18:47	106	[DEBUG]	Executed store
2023-10-13	12:18:47	106	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Cache batterie Giant Trance à partir de MY19 / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-cache-batterie-giant-trance-a-partir-de-my19-noir-all' WHERE `virtuemart_product_id` = '1859598'
2023-10-13	12:18:47	106	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36142_cache_batterie_giant_trance_à_partir_de_my19.png
2023-10-13	12:18:47	106	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000283
2023-10-13	12:18:47	106	[DEBUG]	Process image file
2023-10-13	12:18:47	106	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000283
2023-10-13	12:18:47	106	[DEBUG]	Mime type found: image/png
2023-10-13	12:18:47	106	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36142_cache_batterie_giant_trance_à_partir_de_my19.png
2023-10-13	12:18:47	106	[DEBUG]	Full name target: bcprisme/36142_cache_batterie_giant_trance_à_partir_de_my19.png
2023-10-13	12:18:48	106	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:48	106	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36142_cache_batterie_giant_trance_à_partir_de_my19.png'
2023-10-13	12:18:48	106	[DEBUG]	Query for Media
2023-10-13	12:18:48	106	[DEBUG]	Executed store
2023-10-13	12:18:48	106	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36142_cache_batterie_giant_trance_à_partir_de_my19.png',`file_url_thumb`='bcprisme/36142_cache_batterie_giant_trance_à_partir_de_my19.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '463923'
2023-10-13	12:18:48	106	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:48	106	[DEBUG]	Executed store
2023-10-13	12:18:48	106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859598','463923','1')
2023-10-13	12:18:48	106	[DEBUG]	Store product image relation
2023-10-13	12:18:48	106	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:48	106	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859598 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:48	106	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:48	106	[DEBUG]	Executed store
2023-10-13	12:18:48	106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859598','0','80.6870937790158','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:48	106	[DEBUG]	Checking manufacturer
2023-10-13	12:18:48	106	[DEBUG]	Load a row
2023-10-13	12:18:48	106	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:48	106	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:48	106	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:48	106	[DEBUG]	Executed store
2023-10-13	12:18:48	106	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:49	106	[DEBUG]	Manufacturer exists
2023-10-13	12:18:49	106	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:49	106	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:49	106	[DEBUG]	Executed store
2023-10-13	12:18:49	106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859598','29')
2023-10-13	12:18:49	106	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:49	106	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:49	106	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859598 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:49	106	[DEBUG]	Store custom available field
2023-10-13	12:18:49	106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859598,3,'',1)
2023-10-13	12:18:49	106	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:49	106	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:18:49	106	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859598 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:49	106	[DEBUG]	Store custom available field
2023-10-13	12:18:49	106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859598,6,'All',3)
2023-10-13	12:18:49	106	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:49	106	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:49	106	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859597
2023-10-13	12:18:49	106	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:49	106	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859597\":[1859597,8,1,\"choisir la taille\"],\"1859598\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859597
2023-10-13	12:18:49	106	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:49	106	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859598
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:49	107	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field taille
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:49	107	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:49	107	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:49	107	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:49	107	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:49	107	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:49	107	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field published
2023-10-13	12:18:49	107	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:49	107	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field override
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:49	107	[DEBUG]	Use field value for field slug
2023-10-13	12:18:49	107	[DEBUG]	Process line 107
2023-10-13	12:18:49	107	[DEBUG]	Load a row
2023-10-13	12:18:49	107	[DEBUG]	Processing item: A_7752_445
2023-10-13	12:18:49	107	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:49	107	[DEBUG]	Processing product tax
2023-10-13	12:18:49	107	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:49	107	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:49	107	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:49	107	[DEBUG]	Query for Product
2023-10-13	12:18:49	107	[DEBUG]	Executed store
2023-10-13	12:18:49	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7752_445','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:49	107	[DEBUG]	Check product language entry
2023-10-13	12:18:49	107	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859599
2023-10-13	12:18:49	107	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:49	107	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7752_445' AND `virtuemart_product_id` != 1859599
2023-10-13	12:18:49	107	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:49	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859599, 'A_7752_445')
2023-10-13	12:18:49	107	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:49	107	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-cache-batterie-giant-trance-a-partir-de-my19-desert-sage' AND `virtuemart_product_id` != 1859599
2023-10-13	12:18:49	107	[DEBUG]	Query for ProductLang
2023-10-13	12:18:49	107	[DEBUG]	Executed store
2023-10-13	12:18:49	107	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.074',`product_name`='GIANT Cache batterie Giant Trance à partir de MY19 / Desert Sage',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-cache-batterie-giant-trance-a-partir-de-my19-desert-sage' WHERE `virtuemart_product_id` = '1859599'
2023-10-13	12:18:49	107	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37207_cache_batterie_giant_trance_à_partir_de_my19.png
2023-10-13	12:18:49	107	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000283
2023-10-13	12:18:49	107	[DEBUG]	Process image file
2023-10-13	12:18:49	107	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000283
2023-10-13	12:18:49	107	[DEBUG]	Mime type found: image/png
2023-10-13	12:18:49	107	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37207_cache_batterie_giant_trance_à_partir_de_my19.png
2023-10-13	12:18:49	107	[DEBUG]	Full name target: bcprisme/37207_cache_batterie_giant_trance_à_partir_de_my19.png
2023-10-13	12:18:50	107	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:50	107	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37207_cache_batterie_giant_trance_à_partir_de_my19.png'
2023-10-13	12:18:50	107	[DEBUG]	Query for Media
2023-10-13	12:18:50	107	[DEBUG]	Executed store
2023-10-13	12:18:50	107	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37207_cache_batterie_giant_trance_à_partir_de_my19.png',`file_url_thumb`='bcprisme/37207_cache_batterie_giant_trance_à_partir_de_my19.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '857766'
2023-10-13	12:18:50	107	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:50	107	[DEBUG]	Executed store
2023-10-13	12:18:50	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859599','857766','1')
2023-10-13	12:18:50	107	[DEBUG]	Store product image relation
2023-10-13	12:18:50	107	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:50	107	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859599 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:50	107	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:50	107	[DEBUG]	Executed store
2023-10-13	12:18:50	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859599','0','80.6870937790158','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:50	107	[DEBUG]	Checking manufacturer
2023-10-13	12:18:50	107	[DEBUG]	Load a row
2023-10-13	12:18:50	107	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:50	107	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:50	107	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:50	107	[DEBUG]	Executed store
2023-10-13	12:18:50	107	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:50	107	[DEBUG]	Manufacturer exists
2023-10-13	12:18:50	107	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:50	107	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:50	107	[DEBUG]	Executed store
2023-10-13	12:18:50	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859599','29')
2023-10-13	12:18:50	107	[DEBUG]	Find the custom field ID
2023-10-13	12:18:50	107	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:50	107	[DEBUG]	No custom field ID found
2023-10-13	12:18:50	107	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:50	107	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:50	107	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859599 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:50	107	[DEBUG]	Store custom available field
2023-10-13	12:18:50	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859599,3,'0',1)
2023-10-13	12:18:50	107	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:50	107	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:50	107	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859599 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:50	107	[DEBUG]	Store custom available field
2023-10-13	12:18:50	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859599,6,'choisir la taille',3)
2023-10-13	12:18:50	107	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:50	107	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:50	107	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:50	107	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:50	107	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859599 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:50	107	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:50	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859599,8,1)
2023-10-13	12:18:50	107	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:50	107	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859599\":[1859599,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859599
2023-10-13	12:18:50	107	[DEBUG]	Checking category
2023-10-13	12:18:50	107	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:50	107	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859599
2023-10-13	12:18:50	107	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:50	107	[DEBUG]	Executed store
2023-10-13	12:18:50	107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859599','7267')
2023-10-13	12:18:50	107	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:50	107	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859599 AND `virtuemart_category_id` NOT IN (7267)
2023-10-13	12:18:50	107	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:50	107	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859599
2023-10-13	12:18:50	108	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:50	108	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:50	108	[DEBUG]	Use field value for field taille
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:50	108	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:50	108	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:50	108	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:50	108	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:50	108	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:50	108	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:50	108	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:50	108	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:50	108	[DEBUG]	Use field value for field published
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:50	108	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field override
2023-10-13	12:18:50	108	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:50	108	[DEBUG]	Use field value for field slug
2023-10-13	12:18:50	108	[DEBUG]	Process line 108
2023-10-13	12:18:50	108	[DEBUG]	Load a row
2023-10-13	12:18:50	108	[DEBUG]	Processing item: 1000000152685
2023-10-13	12:18:50	108	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:50	108	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:50	108	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7752_445'
2023-10-13	12:18:50	108	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:50	108	[DEBUG]	Processing product tax
2023-10-13	12:18:50	108	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:50	108	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:50	108	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:50	108	[DEBUG]	Query for Product
2023-10-13	12:18:50	108	[DEBUG]	Executed store
2023-10-13	12:18:50	108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859599','1000000152685','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:50	108	[DEBUG]	No parent found
2023-10-13	12:18:50	108	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859599 AND customfield_value = 'stockable'
2023-10-13	12:18:50	108	[DEBUG]	Check product language entry
2023-10-13	12:18:50	108	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859600
2023-10-13	12:18:50	108	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:50	108	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152685' AND `virtuemart_product_id` != 1859600
2023-10-13	12:18:50	108	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:50	108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859600, '1000000152685')
2023-10-13	12:18:50	108	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:50	108	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-cache-batterie-giant-trance-a-partir-de-my19-desert-sage-all' AND `virtuemart_product_id` != 1859600
2023-10-13	12:18:50	108	[DEBUG]	Query for ProductLang
2023-10-13	12:18:50	108	[DEBUG]	Executed store
2023-10-13	12:18:50	108	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Cache batterie Giant Trance à partir de MY19 / Desert Sage (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-cache-batterie-giant-trance-a-partir-de-my19-desert-sage-all' WHERE `virtuemart_product_id` = '1859600'
2023-10-13	12:18:50	108	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37207_cache_batterie_giant_trance_à_partir_de_my19.png
2023-10-13	12:18:50	108	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000283
2023-10-13	12:18:50	108	[DEBUG]	Process image file
2023-10-13	12:18:50	108	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000283
2023-10-13	12:18:50	108	[DEBUG]	Mime type found: image/png
2023-10-13	12:18:50	108	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37207_cache_batterie_giant_trance_à_partir_de_my19.png
2023-10-13	12:18:50	108	[DEBUG]	Full name target: bcprisme/37207_cache_batterie_giant_trance_à_partir_de_my19.png
2023-10-13	12:18:51	108	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:51	108	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37207_cache_batterie_giant_trance_à_partir_de_my19.png'
2023-10-13	12:18:51	108	[DEBUG]	Query for Media
2023-10-13	12:18:51	108	[DEBUG]	Executed store
2023-10-13	12:18:51	108	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37207_cache_batterie_giant_trance_à_partir_de_my19.png',`file_url_thumb`='bcprisme/37207_cache_batterie_giant_trance_à_partir_de_my19.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '857766'
2023-10-13	12:18:51	108	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:51	108	[DEBUG]	Executed store
2023-10-13	12:18:51	108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859600','857766','1')
2023-10-13	12:18:51	108	[DEBUG]	Store product image relation
2023-10-13	12:18:51	108	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:51	108	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859600 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:51	108	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:51	108	[DEBUG]	Executed store
2023-10-13	12:18:51	108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859600','0','80.6870937790158','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:51	108	[DEBUG]	Checking manufacturer
2023-10-13	12:18:51	108	[DEBUG]	Load a row
2023-10-13	12:18:51	108	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:51	108	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:51	108	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:51	108	[DEBUG]	Executed store
2023-10-13	12:18:51	108	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:51	108	[DEBUG]	Manufacturer exists
2023-10-13	12:18:51	108	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:51	108	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:51	108	[DEBUG]	Executed store
2023-10-13	12:18:51	108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859600','29')
2023-10-13	12:18:51	108	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:51	108	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:51	108	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859600 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:51	108	[DEBUG]	Store custom available field
2023-10-13	12:18:51	108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859600,3,'',1)
2023-10-13	12:18:51	108	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:51	108	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:18:51	108	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859600 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:51	108	[DEBUG]	Store custom available field
2023-10-13	12:18:51	108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859600,6,'All',3)
2023-10-13	12:18:51	108	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:51	108	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:51	108	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859599
2023-10-13	12:18:51	108	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:51	108	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859599\":[1859599,8,1,\"choisir la taille\"],\"1859600\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859599
2023-10-13	12:18:51	108	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:51	108	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859600
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:51	109	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field taille
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:51	109	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:51	109	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:51	109	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:51	109	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:51	109	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:51	109	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field published
2023-10-13	12:18:51	109	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:51	109	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field override
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:51	109	[DEBUG]	Use field value for field slug
2023-10-13	12:18:51	109	[DEBUG]	Process line 109
2023-10-13	12:18:51	109	[DEBUG]	Load a row
2023-10-13	12:18:51	109	[DEBUG]	Processing item: A_8019_0
2023-10-13	12:18:51	109	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:51	109	[DEBUG]	Processing product tax
2023-10-13	12:18:51	109	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:51	109	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:51	109	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:51	109	[DEBUG]	Query for Product
2023-10-13	12:18:51	109	[DEBUG]	Executed store
2023-10-13	12:18:51	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8019_0','5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:51	109	[DEBUG]	Check product language entry
2023-10-13	12:18:51	109	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859601
2023-10-13	12:18:51	109	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:51	109	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8019_0' AND `virtuemart_product_id` != 1859601
2023-10-13	12:18:51	109	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:51	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859601, 'A_8019_0')
2023-10-13	12:18:51	109	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:51	109	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-port-de-charge-giant-liv-pour-e-mtb-avec-energy-pack-plus-range-extender-unique' AND `virtuemart_product_id` != 1859601
2023-10-13	12:18:51	109	[DEBUG]	Query for ProductLang
2023-10-13	12:18:51	109	[DEBUG]	Executed store
2023-10-13	12:18:51	109	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.114',`product_name`='GIANT Port de charge Giant / LIV pour E-MTB avec Energy Pack Plus Range Extender / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-port-de-charge-giant-liv-pour-e-mtb-avec-energy-pack-plus-range-extender-unique' WHERE `virtuemart_product_id` = '1859601'
2023-10-13	12:18:51	109	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36504_port_de_charge_giant_-_liv_pour_e-mtb_avec_energy_pack_plus_range_extender.jpg
2023-10-13	12:18:51	109	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:18:51	109	[DEBUG]	Process image file
2023-10-13	12:18:51	109	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:18:51	109	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:51	109	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36504_port_de_charge_giant_-_liv_pour_e-mtb_avec_energy_pack_plus_range_extender.jpg
2023-10-13	12:18:51	109	[DEBUG]	Full name target: bcprisme/36504_port_de_charge_giant_-_liv_pour_e-mtb_avec_energy_pack_plus_range_extender.jpg
2023-10-13	12:18:52	109	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:52	109	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36504_port_de_charge_giant_-_liv_pour_e-mtb_avec_energy_pack_plus_range_extender.jpg'
2023-10-13	12:18:52	109	[DEBUG]	Query for Media
2023-10-13	12:18:52	109	[DEBUG]	Executed store
2023-10-13	12:18:52	109	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36504_port_de_charge_giant_-_liv_pour_e-mtb_avec_energy_pack_plus_range_extender.jpg',`file_url_thumb`='bcprisme/36504_port_de_charge_giant_-_liv_pour_e-mtb_avec_energy_pack_plus_range_extender.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '614462'
2023-10-13	12:18:52	109	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:52	109	[DEBUG]	Executed store
2023-10-13	12:18:52	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859601','614462','1')
2023-10-13	12:18:52	109	[DEBUG]	Store product image relation
2023-10-13	12:18:52	109	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:52	109	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859601 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:52	109	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:52	109	[DEBUG]	Executed store
2023-10-13	12:18:52	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859601','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:52	109	[DEBUG]	Checking manufacturer
2023-10-13	12:18:52	109	[DEBUG]	Load a row
2023-10-13	12:18:52	109	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:52	109	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:52	109	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:52	109	[DEBUG]	Executed store
2023-10-13	12:18:52	109	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:52	109	[DEBUG]	Manufacturer exists
2023-10-13	12:18:52	109	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:52	109	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:52	109	[DEBUG]	Executed store
2023-10-13	12:18:52	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859601','29')
2023-10-13	12:18:52	109	[DEBUG]	Find the custom field ID
2023-10-13	12:18:52	109	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:52	109	[DEBUG]	No custom field ID found
2023-10-13	12:18:52	109	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:52	109	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:52	109	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859601 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:52	109	[DEBUG]	Store custom available field
2023-10-13	12:18:52	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859601,3,'0',1)
2023-10-13	12:18:52	109	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:52	109	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:52	109	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859601 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:52	109	[DEBUG]	Store custom available field
2023-10-13	12:18:52	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859601,6,'choisir la taille',3)
2023-10-13	12:18:52	109	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:52	109	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:52	109	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:52	109	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:52	109	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859601 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:52	109	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:52	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859601,8,1)
2023-10-13	12:18:52	109	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:52	109	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859601\":[1859601,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859601
2023-10-13	12:18:52	109	[DEBUG]	Checking category
2023-10-13	12:18:52	109	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:52	109	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859601
2023-10-13	12:18:52	109	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:52	109	[DEBUG]	Executed store
2023-10-13	12:18:52	109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859601','7267')
2023-10-13	12:18:52	109	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:52	109	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859601 AND `virtuemart_category_id` NOT IN (7267)
2023-10-13	12:18:52	109	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:52	109	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859601
2023-10-13	12:18:52	110	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:52	110	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:52	110	[DEBUG]	Use field value for field taille
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:52	110	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:52	110	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:52	110	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:52	110	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:52	110	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:52	110	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:52	110	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:52	110	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:52	110	[DEBUG]	Use field value for field published
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:52	110	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field override
2023-10-13	12:18:52	110	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:52	110	[DEBUG]	Use field value for field slug
2023-10-13	12:18:52	110	[DEBUG]	Process line 110
2023-10-13	12:18:52	110	[DEBUG]	Load a row
2023-10-13	12:18:52	110	[DEBUG]	Processing item: 147L'HDC000'10
2023-10-13	12:18:52	110	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:52	110	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:52	110	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8019_0'
2023-10-13	12:18:52	110	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:52	110	[DEBUG]	Processing product tax
2023-10-13	12:18:52	110	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:52	110	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:52	110	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:52	110	[DEBUG]	Query for Product
2023-10-13	12:18:52	110	[DEBUG]	Executed store
2023-10-13	12:18:52	110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859601','147L\'HDC000\'10','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:52	110	[DEBUG]	No parent found
2023-10-13	12:18:52	110	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859601 AND customfield_value = 'stockable'
2023-10-13	12:18:52	110	[DEBUG]	Check product language entry
2023-10-13	12:18:52	110	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859602
2023-10-13	12:18:52	110	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:52	110	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '147L\'HDC000\'10' AND `virtuemart_product_id` != 1859602
2023-10-13	12:18:52	110	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:52	110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859602, '147L\'HDC000\'10')
2023-10-13	12:18:52	110	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:52	110	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-port-de-charge-giant-liv-pour-e-mtb-avec-energy-pack-plus-range-extender-unique-unitaire' AND `virtuemart_product_id` != 1859602
2023-10-13	12:18:52	110	[DEBUG]	Query for ProductLang
2023-10-13	12:18:52	110	[DEBUG]	Executed store
2023-10-13	12:18:52	110	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Port de charge Giant / LIV pour E-MTB avec Energy Pack Plus Range Extender / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-port-de-charge-giant-liv-pour-e-mtb-avec-energy-pack-plus-range-extender-unique-unitaire' WHERE `virtuemart_product_id` = '1859602'
2023-10-13	12:18:52	110	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36504_port_de_charge_giant_-_liv_pour_e-mtb_avec_energy_pack_plus_range_extender.jpg
2023-10-13	12:18:52	110	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:18:52	110	[DEBUG]	Process image file
2023-10-13	12:18:52	110	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:18:52	110	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:52	110	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36504_port_de_charge_giant_-_liv_pour_e-mtb_avec_energy_pack_plus_range_extender.jpg
2023-10-13	12:18:52	110	[DEBUG]	Full name target: bcprisme/36504_port_de_charge_giant_-_liv_pour_e-mtb_avec_energy_pack_plus_range_extender.jpg
2023-10-13	12:18:53	110	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:53	110	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36504_port_de_charge_giant_-_liv_pour_e-mtb_avec_energy_pack_plus_range_extender.jpg'
2023-10-13	12:18:53	110	[DEBUG]	Query for Media
2023-10-13	12:18:53	110	[DEBUG]	Executed store
2023-10-13	12:18:53	110	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36504_port_de_charge_giant_-_liv_pour_e-mtb_avec_energy_pack_plus_range_extender.jpg',`file_url_thumb`='bcprisme/36504_port_de_charge_giant_-_liv_pour_e-mtb_avec_energy_pack_plus_range_extender.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '614462'
2023-10-13	12:18:53	110	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:53	110	[DEBUG]	Executed store
2023-10-13	12:18:53	110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859602','614462','1')
2023-10-13	12:18:53	110	[DEBUG]	Store product image relation
2023-10-13	12:18:53	110	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:53	110	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859602 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:53	110	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:53	110	[DEBUG]	Executed store
2023-10-13	12:18:53	110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859602','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:53	110	[DEBUG]	Checking manufacturer
2023-10-13	12:18:53	110	[DEBUG]	Load a row
2023-10-13	12:18:53	110	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:53	110	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:53	110	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:53	110	[DEBUG]	Executed store
2023-10-13	12:18:53	110	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:18:53	110	[DEBUG]	Manufacturer exists
2023-10-13	12:18:53	110	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:18:53	110	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:53	110	[DEBUG]	Executed store
2023-10-13	12:18:53	110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859602','29')
2023-10-13	12:18:53	110	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:53	110	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:53	110	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859602 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:53	110	[DEBUG]	Store custom available field
2023-10-13	12:18:53	110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859602,3,'',1)
2023-10-13	12:18:53	110	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:53	110	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:53	110	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859602 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:53	110	[DEBUG]	Store custom available field
2023-10-13	12:18:53	110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859602,6,'Unitaire',3)
2023-10-13	12:18:53	110	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:53	110	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:53	110	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859601
2023-10-13	12:18:53	110	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:53	110	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859601\":[1859601,8,1,\"choisir la taille\"],\"1859602\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859601
2023-10-13	12:18:53	110	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:53	110	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859602
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:53	111	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field taille
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:53	111	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:53	111	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:53	111	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:53	111	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:53	111	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:53	111	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field published
2023-10-13	12:18:53	111	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:53	111	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field override
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:53	111	[DEBUG]	Use field value for field slug
2023-10-13	12:18:53	111	[DEBUG]	Process line 111
2023-10-13	12:18:53	111	[DEBUG]	Load a row
2023-10-13	12:18:53	111	[DEBUG]	Processing item: A_8102_1
2023-10-13	12:18:53	111	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:53	111	[DEBUG]	Processing product tax
2023-10-13	12:18:53	111	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:53	111	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:53	111	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:53	111	[DEBUG]	Query for Product
2023-10-13	12:18:53	111	[DEBUG]	Executed store
2023-10-13	12:18:53	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8102_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:53	111	[DEBUG]	Check product language entry
2023-10-13	12:18:53	111	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859603
2023-10-13	12:18:53	111	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:53	111	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8102_1' AND `virtuemart_product_id` != 1859603
2023-10-13	12:18:53	111	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:53	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859603, 'A_8102_1')
2023-10-13	12:18:53	111	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:53	111	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-protecteur-batterie-eagle-axs-xx1-xo1-gx1-noir' AND `virtuemart_product_id` != 1859603
2023-10-13	12:18:53	111	[DEBUG]	Query for ProductLang
2023-10-13	12:18:53	111	[DEBUG]	Executed store
2023-10-13	12:18:53	111	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7565G',`product_name`='SRAM Protecteur batterie Eagle AXS XX1/XO1/GX1 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-protecteur-batterie-eagle-axs-xx1-xo1-gx1-noir' WHERE `virtuemart_product_id` = '1859603'
2023-10-13	12:18:53	111	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36624_protecteur_batterie_eagle_axs_xx1-xo1-gx1.jpg
2023-10-13	12:18:53	111	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:53	111	[DEBUG]	Process image file
2023-10-13	12:18:53	111	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:53	111	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:53	111	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36624_protecteur_batterie_eagle_axs_xx1-xo1-gx1.jpg
2023-10-13	12:18:53	111	[DEBUG]	Full name target: bcprisme/36624_protecteur_batterie_eagle_axs_xx1-xo1-gx1.jpg
2023-10-13	12:18:54	111	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:54	111	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36624_protecteur_batterie_eagle_axs_xx1-xo1-gx1.jpg'
2023-10-13	12:18:54	111	[DEBUG]	Query for Media
2023-10-13	12:18:54	111	[DEBUG]	Executed store
2023-10-13	12:18:54	111	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36624_protecteur_batterie_eagle_axs_xx1-xo1-gx1.jpg',`file_url_thumb`='bcprisme/36624_protecteur_batterie_eagle_axs_xx1-xo1-gx1.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1027419'
2023-10-13	12:18:54	111	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:54	111	[DEBUG]	Executed store
2023-10-13	12:18:54	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859603','1027419','1')
2023-10-13	12:18:54	111	[DEBUG]	Store product image relation
2023-10-13	12:18:54	111	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:54	111	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859603 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:54	111	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:54	111	[DEBUG]	Executed store
2023-10-13	12:18:54	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859603','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:54	111	[DEBUG]	Checking manufacturer
2023-10-13	12:18:54	111	[DEBUG]	Load a row
2023-10-13	12:18:54	111	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:54	111	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:54	111	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:54	111	[DEBUG]	Executed store
2023-10-13	12:18:54	111	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:54	111	[DEBUG]	Manufacturer exists
2023-10-13	12:18:54	111	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:18:54	111	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:54	111	[DEBUG]	Executed store
2023-10-13	12:18:54	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859603','35')
2023-10-13	12:18:54	111	[DEBUG]	Find the custom field ID
2023-10-13	12:18:54	111	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:54	111	[DEBUG]	No custom field ID found
2023-10-13	12:18:54	111	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:54	111	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:54	111	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859603 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:54	111	[DEBUG]	Store custom available field
2023-10-13	12:18:54	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859603,3,'0',1)
2023-10-13	12:18:54	111	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:54	111	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:54	111	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859603 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:54	111	[DEBUG]	Store custom available field
2023-10-13	12:18:54	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859603,6,'choisir la taille',3)
2023-10-13	12:18:54	111	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:54	111	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:54	111	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:54	111	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:54	111	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859603 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:54	111	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:54	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859603,8,1)
2023-10-13	12:18:54	111	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:54	111	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859603\":[1859603,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859603
2023-10-13	12:18:54	111	[DEBUG]	Checking category
2023-10-13	12:18:54	111	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:54	111	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859603
2023-10-13	12:18:54	111	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:54	111	[DEBUG]	Executed store
2023-10-13	12:18:54	111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859603','7267')
2023-10-13	12:18:54	111	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:54	111	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859603 AND `virtuemart_category_id` NOT IN (7267)
2023-10-13	12:18:54	111	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:54	111	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859603
2023-10-13	12:18:54	112	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:54	112	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:54	112	[DEBUG]	Use field value for field taille
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:54	112	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:54	112	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:54	112	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:54	112	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:54	112	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:54	112	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:54	112	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:54	112	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:54	112	[DEBUG]	Use field value for field published
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:54	112	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field override
2023-10-13	12:18:54	112	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:54	112	[DEBUG]	Use field value for field slug
2023-10-13	12:18:54	112	[DEBUG]	Process line 112
2023-10-13	12:18:54	112	[DEBUG]	Load a row
2023-10-13	12:18:54	112	[DEBUG]	Processing item: 710845868931
2023-10-13	12:18:54	112	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:54	112	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:54	112	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8102_1'
2023-10-13	12:18:54	112	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:54	112	[DEBUG]	Processing product tax
2023-10-13	12:18:54	112	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:54	112	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:54	112	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:54	112	[DEBUG]	Query for Product
2023-10-13	12:18:54	112	[DEBUG]	Executed store
2023-10-13	12:18:54	112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859603','710845868931','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:54	112	[DEBUG]	No parent found
2023-10-13	12:18:54	112	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859603 AND customfield_value = 'stockable'
2023-10-13	12:18:54	112	[DEBUG]	Check product language entry
2023-10-13	12:18:54	112	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859604
2023-10-13	12:18:54	112	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:54	112	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845868931' AND `virtuemart_product_id` != 1859604
2023-10-13	12:18:54	112	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:54	112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859604, '710845868931')
2023-10-13	12:18:54	112	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:54	112	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-protecteur-batterie-eagle-axs-xx1-xo1-gx1-noir-unitaire' AND `virtuemart_product_id` != 1859604
2023-10-13	12:18:54	112	[DEBUG]	Query for ProductLang
2023-10-13	12:18:54	112	[DEBUG]	Executed store
2023-10-13	12:18:54	112	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Protecteur batterie Eagle AXS XX1/XO1/GX1 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-protecteur-batterie-eagle-axs-xx1-xo1-gx1-noir-unitaire' WHERE `virtuemart_product_id` = '1859604'
2023-10-13	12:18:54	112	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36624_protecteur_batterie_eagle_axs_xx1-xo1-gx1.jpg
2023-10-13	12:18:54	112	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:54	112	[DEBUG]	Process image file
2023-10-13	12:18:54	112	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:54	112	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:54	112	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36624_protecteur_batterie_eagle_axs_xx1-xo1-gx1.jpg
2023-10-13	12:18:54	112	[DEBUG]	Full name target: bcprisme/36624_protecteur_batterie_eagle_axs_xx1-xo1-gx1.jpg
2023-10-13	12:18:55	112	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:55	112	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36624_protecteur_batterie_eagle_axs_xx1-xo1-gx1.jpg'
2023-10-13	12:18:55	112	[DEBUG]	Query for Media
2023-10-13	12:18:55	112	[DEBUG]	Executed store
2023-10-13	12:18:55	112	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36624_protecteur_batterie_eagle_axs_xx1-xo1-gx1.jpg',`file_url_thumb`='bcprisme/36624_protecteur_batterie_eagle_axs_xx1-xo1-gx1.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1027419'
2023-10-13	12:18:55	112	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:55	112	[DEBUG]	Executed store
2023-10-13	12:18:55	112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859604','1027419','1')
2023-10-13	12:18:55	112	[DEBUG]	Store product image relation
2023-10-13	12:18:55	112	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:55	112	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859604 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:55	112	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:55	112	[DEBUG]	Executed store
2023-10-13	12:18:55	112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859604','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:55	112	[DEBUG]	Checking manufacturer
2023-10-13	12:18:55	112	[DEBUG]	Load a row
2023-10-13	12:18:55	112	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:55	112	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:55	112	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:55	112	[DEBUG]	Executed store
2023-10-13	12:18:55	112	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:55	112	[DEBUG]	Manufacturer exists
2023-10-13	12:18:55	112	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:18:55	112	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:55	112	[DEBUG]	Executed store
2023-10-13	12:18:55	112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859604','35')
2023-10-13	12:18:55	112	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:55	112	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:55	112	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859604 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:55	112	[DEBUG]	Store custom available field
2023-10-13	12:18:55	112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859604,3,'',1)
2023-10-13	12:18:55	112	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:55	112	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:55	112	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859604 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:55	112	[DEBUG]	Store custom available field
2023-10-13	12:18:55	112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859604,6,'Unitaire',3)
2023-10-13	12:18:55	112	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:55	112	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:55	112	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859603
2023-10-13	12:18:55	112	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:55	112	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859603\":[1859603,8,1,\"choisir la taille\"],\"1859604\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859603
2023-10-13	12:18:55	112	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:55	112	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859604
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:55	113	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field taille
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:55	113	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:55	113	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:55	113	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:55	113	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:55	113	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:55	113	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field published
2023-10-13	12:18:55	113	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:55	113	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field override
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:55	113	[DEBUG]	Use field value for field slug
2023-10-13	12:18:55	113	[DEBUG]	Process line 113
2023-10-13	12:18:55	113	[DEBUG]	Load a row
2023-10-13	12:18:55	113	[DEBUG]	Processing item: A_9086_1
2023-10-13	12:18:55	113	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:55	113	[DEBUG]	Processing product tax
2023-10-13	12:18:55	113	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:55	113	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:55	113	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:55	113	[DEBUG]	Query for Product
2023-10-13	12:18:55	113	[DEBUG]	Executed store
2023-10-13	12:18:55	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9086_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:55	113	[DEBUG]	Check product language entry
2023-10-13	12:18:55	113	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859605
2023-10-13	12:18:55	113	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:55	113	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9086_1' AND `virtuemart_product_id` != 1859605
2023-10-13	12:18:55	113	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:55	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859605, 'A_9086_1')
2023-10-13	12:18:55	113	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:55	113	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-chargeur-active-performance-4-ampere-avec-cordon-electrique-noir' AND `virtuemart_product_id` != 1859605
2023-10-13	12:18:55	113	[DEBUG]	Query for ProductLang
2023-10-13	12:18:55	113	[DEBUG]	Executed store
2023-10-13	12:18:55	113	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.59541',`product_name`='Bosch Chargeur Active/Performance 4 ampère avec cordon électrique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-chargeur-active-performance-4-ampere-avec-cordon-electrique-noir' WHERE `virtuemart_product_id` = '1859605'
2023-10-13	12:18:55	113	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_5954.jpg
2023-10-13	12:18:55	113	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:55	113	[DEBUG]	Process image file
2023-10-13	12:18:55	113	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:55	113	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:55	113	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_5954.jpg
2023-10-13	12:18:55	113	[DEBUG]	Full name target: bcprisme/56_5954.jpg
2023-10-13	12:18:56	113	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:56	113	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_5954.jpg'
2023-10-13	12:18:56	113	[DEBUG]	Query for Media
2023-10-13	12:18:56	113	[DEBUG]	Executed store
2023-10-13	12:18:56	113	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_5954.jpg',`file_url_thumb`='bcprisme/56_5954.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1252688'
2023-10-13	12:18:56	113	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:56	113	[DEBUG]	Executed store
2023-10-13	12:18:56	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859605','1252688','1')
2023-10-13	12:18:56	113	[DEBUG]	Store product image relation
2023-10-13	12:18:56	113	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:56	113	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859605 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:56	113	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:56	113	[DEBUG]	Executed store
2023-10-13	12:18:56	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859605','0','129.062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:56	113	[DEBUG]	Checking manufacturer
2023-10-13	12:18:56	113	[DEBUG]	Load a row
2023-10-13	12:18:56	113	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:56	113	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:18:56	113	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:56	113	[DEBUG]	Executed store
2023-10-13	12:18:56	113	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:18:56	113	[DEBUG]	Manufacturer exists
2023-10-13	12:18:56	113	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:18:56	113	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:56	113	[DEBUG]	Executed store
2023-10-13	12:18:56	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859605','33')
2023-10-13	12:18:56	113	[DEBUG]	Find the custom field ID
2023-10-13	12:18:56	113	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:56	113	[DEBUG]	No custom field ID found
2023-10-13	12:18:56	113	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:56	113	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:56	113	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859605 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:56	113	[DEBUG]	Store custom available field
2023-10-13	12:18:56	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859605,3,'0',1)
2023-10-13	12:18:56	113	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:56	113	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:56	113	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859605 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:56	113	[DEBUG]	Store custom available field
2023-10-13	12:18:56	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859605,6,'choisir la taille',3)
2023-10-13	12:18:56	113	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:56	113	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:56	113	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:56	113	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:56	113	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859605 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:56	113	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:56	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859605,8,1)
2023-10-13	12:18:56	113	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:56	113	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859605\":[1859605,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859605
2023-10-13	12:18:56	113	[DEBUG]	Checking category
2023-10-13	12:18:56	113	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:56	113	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859605
2023-10-13	12:18:56	113	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:56	113	[DEBUG]	Executed store
2023-10-13	12:18:56	113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859605','7267')
2023-10-13	12:18:56	113	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:56	113	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859605 AND `virtuemart_category_id` NOT IN (7267)
2023-10-13	12:18:56	113	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:56	113	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859605
2023-10-13	12:18:56	114	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:56	114	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:56	114	[DEBUG]	Use field value for field taille
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:56	114	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:56	114	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:56	114	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:56	114	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:56	114	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:56	114	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:56	114	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:56	114	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:56	114	[DEBUG]	Use field value for field published
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:56	114	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field override
2023-10-13	12:18:56	114	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:56	114	[DEBUG]	Use field value for field slug
2023-10-13	12:18:56	114	[DEBUG]	Process line 114
2023-10-13	12:18:56	114	[DEBUG]	Load a row
2023-10-13	12:18:56	114	[DEBUG]	Processing item: 4047025220194
2023-10-13	12:18:56	114	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:56	114	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:56	114	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9086_1'
2023-10-13	12:18:56	114	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:56	114	[DEBUG]	Processing product tax
2023-10-13	12:18:56	114	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:56	114	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:56	114	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:56	114	[DEBUG]	Query for Product
2023-10-13	12:18:56	114	[DEBUG]	Executed store
2023-10-13	12:18:56	114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859605','4047025220194','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:56	114	[DEBUG]	No parent found
2023-10-13	12:18:56	114	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859605 AND customfield_value = 'stockable'
2023-10-13	12:18:56	114	[DEBUG]	Check product language entry
2023-10-13	12:18:56	114	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859606
2023-10-13	12:18:56	114	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:56	114	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047025220194' AND `virtuemart_product_id` != 1859606
2023-10-13	12:18:56	114	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:56	114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859606, '4047025220194')
2023-10-13	12:18:56	114	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:56	114	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-chargeur-active-performance-4-ampere-avec-cordon-electrique-noir-unitaire' AND `virtuemart_product_id` != 1859606
2023-10-13	12:18:56	114	[DEBUG]	Query for ProductLang
2023-10-13	12:18:56	114	[DEBUG]	Executed store
2023-10-13	12:18:56	114	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Chargeur Active/Performance 4 ampère avec cordon électrique / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-chargeur-active-performance-4-ampere-avec-cordon-electrique-noir-unitaire' WHERE `virtuemart_product_id` = '1859606'
2023-10-13	12:18:56	114	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_5954.jpg
2023-10-13	12:18:56	114	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:56	114	[DEBUG]	Process image file
2023-10-13	12:18:56	114	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:56	114	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:56	114	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_5954.jpg
2023-10-13	12:18:56	114	[DEBUG]	Full name target: bcprisme/56_5954.jpg
2023-10-13	12:18:57	114	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:57	114	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_5954.jpg'
2023-10-13	12:18:57	114	[DEBUG]	Query for Media
2023-10-13	12:18:57	114	[DEBUG]	Executed store
2023-10-13	12:18:57	114	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_5954.jpg',`file_url_thumb`='bcprisme/56_5954.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1252688'
2023-10-13	12:18:57	114	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:57	114	[DEBUG]	Executed store
2023-10-13	12:18:57	114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859606','1252688','1')
2023-10-13	12:18:57	114	[DEBUG]	Store product image relation
2023-10-13	12:18:57	114	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:57	114	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859606 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:57	114	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:57	114	[DEBUG]	Executed store
2023-10-13	12:18:57	114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859606','0','129.062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:57	114	[DEBUG]	Checking manufacturer
2023-10-13	12:18:57	114	[DEBUG]	Load a row
2023-10-13	12:18:57	114	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:57	114	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:18:57	114	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:57	114	[DEBUG]	Executed store
2023-10-13	12:18:57	114	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:18:57	114	[DEBUG]	Manufacturer exists
2023-10-13	12:18:57	114	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:18:57	114	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:57	114	[DEBUG]	Executed store
2023-10-13	12:18:57	114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859606','33')
2023-10-13	12:18:57	114	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:57	114	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:57	114	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859606 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:57	114	[DEBUG]	Store custom available field
2023-10-13	12:18:57	114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859606,3,'',1)
2023-10-13	12:18:57	114	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:57	114	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:57	114	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859606 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:57	114	[DEBUG]	Store custom available field
2023-10-13	12:18:57	114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859606,6,'Unitaire',3)
2023-10-13	12:18:57	114	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:57	114	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:57	114	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859605
2023-10-13	12:18:57	114	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:57	114	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859605\":[1859605,8,1,\"choisir la taille\"],\"1859606\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859605
2023-10-13	12:18:57	114	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:57	114	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859606
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:57	115	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field taille
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:57	115	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:57	115	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:57	115	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:57	115	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:57	115	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:57	115	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field published
2023-10-13	12:18:57	115	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:57	115	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field override
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:57	115	[DEBUG]	Use field value for field slug
2023-10-13	12:18:57	115	[DEBUG]	Process line 115
2023-10-13	12:18:57	115	[DEBUG]	Load a row
2023-10-13	12:18:57	115	[DEBUG]	Processing item: A_9802_731
2023-10-13	12:18:57	115	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:57	115	[DEBUG]	Processing product tax
2023-10-13	12:18:57	115	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:57	115	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:57	115	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:57	115	[DEBUG]	Query for Product
2023-10-13	12:18:57	115	[DEBUG]	Executed store
2023-10-13	12:18:57	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9802_731','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:57	115	[DEBUG]	Check product language entry
2023-10-13	12:18:57	115	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859607
2023-10-13	12:18:57	115	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:57	115	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9802_731' AND `virtuemart_product_id` != 1859607
2023-10-13	12:18:57	115	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:57	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859607, 'A_9802_731')
2023-10-13	12:18:57	115	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:57	115	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-bottom-bracket-dub-t47-bsax85-5x28-99-road-wide-85-5mm-n-a' AND `virtuemart_product_id` != 1859607
2023-10-13	12:18:57	115	[DEBUG]	Query for ProductLang
2023-10-13	12:18:57	115	[DEBUG]	Executed store
2023-10-13	12:18:57	115	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7563C',`product_name`='SRAM Bottom Bracket DUB T47 (BSAx85.5x28.99) Road Wide 85.5mm / N/A',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-bottom-bracket-dub-t47-bsax85-5x28-99-road-wide-85-5mm-n-a' WHERE `virtuemart_product_id` = '1859607'
2023-10-13	12:18:57	115	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39263_bottom_bracket_dub_t47_(bsax85_5x28_99)_road_wide_85_5mm.jpg
2023-10-13	12:18:57	115	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:57	115	[DEBUG]	Process image file
2023-10-13	12:18:57	115	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:57	115	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:57	115	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39263_bottom_bracket_dub_t47_(bsax85_5x28_99)_road_wide_85_5mm.jpg
2023-10-13	12:18:57	115	[DEBUG]	Full name target: bcprisme/39263_bottom_bracket_dub_t47_(bsax85_5x28_99)_road_wide_85_5mm.jpg
2023-10-13	12:18:58	115	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:58	115	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39263_bottom_bracket_dub_t47_(bsax85_5x28_99)_road_wide_85_5mm.jpg'
2023-10-13	12:18:58	115	[DEBUG]	Query for Media
2023-10-13	12:18:58	115	[DEBUG]	Executed store
2023-10-13	12:18:58	115	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39263_bottom_bracket_dub_t47_(bsax85_5x28_99)_road_wide_85_5mm.jpg',`file_url_thumb`='bcprisme/39263_bottom_bracket_dub_t47_(bsax85_5x28_99)_road_wide_85_5mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1595023'
2023-10-13	12:18:58	115	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:58	115	[DEBUG]	Executed store
2023-10-13	12:18:58	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859607','1595023','1')
2023-10-13	12:18:58	115	[DEBUG]	Store product image relation
2023-10-13	12:18:58	115	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:58	115	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859607 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:58	115	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:58	115	[DEBUG]	Executed store
2023-10-13	12:18:58	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859607','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:58	115	[DEBUG]	Checking manufacturer
2023-10-13	12:18:58	115	[DEBUG]	Load a row
2023-10-13	12:18:58	115	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:58	115	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:58	115	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:58	115	[DEBUG]	Executed store
2023-10-13	12:18:58	115	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:58	115	[DEBUG]	Manufacturer exists
2023-10-13	12:18:58	115	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:18:58	115	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:58	115	[DEBUG]	Executed store
2023-10-13	12:18:58	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859607','35')
2023-10-13	12:18:58	115	[DEBUG]	Find the custom field ID
2023-10-13	12:18:58	115	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:58	115	[DEBUG]	No custom field ID found
2023-10-13	12:18:58	115	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:58	115	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:58	115	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859607 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:58	115	[DEBUG]	Store custom available field
2023-10-13	12:18:58	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859607,3,'0',1)
2023-10-13	12:18:58	115	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:58	115	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:58	115	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859607 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:58	115	[DEBUG]	Store custom available field
2023-10-13	12:18:58	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859607,6,'choisir la taille',3)
2023-10-13	12:18:58	115	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:58	115	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:58	115	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:58	115	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:58	115	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859607 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:58	115	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:58	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859607,8,1)
2023-10-13	12:18:58	115	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:58	115	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859607\":[1859607,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859607
2023-10-13	12:18:58	115	[DEBUG]	Checking category
2023-10-13	12:18:58	115	[DEBUG]	Check if category path exists: BOITIERS DE PEDALIERS - TRETLAGER / INNENLAGER
2023-10-13	12:18:58	115	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BOITIERS DE PEDALIERS - TRETLAGER / INNENLAGER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:18:58	115	[DEBUG]	Check if category path exists: BOITIERS FILETES
2023-10-13	12:18:58	115	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BOITIERS FILETES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7271
2023-10-13	12:18:58	115	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:58	115	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859607
2023-10-13	12:18:58	115	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:58	115	[DEBUG]	Executed store
2023-10-13	12:18:58	115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859607','7272')
2023-10-13	12:18:58	115	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:58	115	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859607 AND `virtuemart_category_id` NOT IN (7272)
2023-10-13	12:18:58	115	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:58	115	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859607
2023-10-13	12:18:58	116	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:58	116	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:58	116	[DEBUG]	Use field value for field taille
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:58	116	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:58	116	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:58	116	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:58	116	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:58	116	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:58	116	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:58	116	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:58	116	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:58	116	[DEBUG]	Use field value for field published
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:58	116	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field override
2023-10-13	12:18:58	116	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:58	116	[DEBUG]	Use field value for field slug
2023-10-13	12:18:58	116	[DEBUG]	Process line 116
2023-10-13	12:18:58	116	[DEBUG]	Load a row
2023-10-13	12:18:58	116	[DEBUG]	Processing item: 710845854439
2023-10-13	12:18:58	116	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:58	116	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:58	116	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9802_731'
2023-10-13	12:18:58	116	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:58	116	[DEBUG]	Processing product tax
2023-10-13	12:18:58	116	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:58	116	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:58	116	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:58	116	[DEBUG]	Query for Product
2023-10-13	12:18:58	116	[DEBUG]	Executed store
2023-10-13	12:18:58	116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859607','710845854439','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:58	116	[DEBUG]	No parent found
2023-10-13	12:18:58	116	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859607 AND customfield_value = 'stockable'
2023-10-13	12:18:58	116	[DEBUG]	Check product language entry
2023-10-13	12:18:58	116	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859608
2023-10-13	12:18:58	116	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:58	116	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845854439' AND `virtuemart_product_id` != 1859608
2023-10-13	12:18:58	116	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:58	116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859608, '710845854439')
2023-10-13	12:18:58	116	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:58	116	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-bottom-bracket-dub-t47-bsax85-5x28-99-road-wide-85-5mm-n-a-unitaire' AND `virtuemart_product_id` != 1859608
2023-10-13	12:18:58	116	[DEBUG]	Query for ProductLang
2023-10-13	12:18:58	116	[DEBUG]	Executed store
2023-10-13	12:18:58	116	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Bottom Bracket DUB T47 (BSAx85.5x28.99) Road Wide 85.5mm / N/A (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-bottom-bracket-dub-t47-bsax85-5x28-99-road-wide-85-5mm-n-a-unitaire' WHERE `virtuemart_product_id` = '1859608'
2023-10-13	12:18:58	116	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39263_bottom_bracket_dub_t47_(bsax85_5x28_99)_road_wide_85_5mm.jpg
2023-10-13	12:18:58	116	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:58	116	[DEBUG]	Process image file
2023-10-13	12:18:58	116	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:18:58	116	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:58	116	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39263_bottom_bracket_dub_t47_(bsax85_5x28_99)_road_wide_85_5mm.jpg
2023-10-13	12:18:58	116	[DEBUG]	Full name target: bcprisme/39263_bottom_bracket_dub_t47_(bsax85_5x28_99)_road_wide_85_5mm.jpg
2023-10-13	12:18:59	116	[DEBUG]	Checking if the file_url exists
2023-10-13	12:18:59	116	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39263_bottom_bracket_dub_t47_(bsax85_5x28_99)_road_wide_85_5mm.jpg'
2023-10-13	12:18:59	116	[DEBUG]	Query for Media
2023-10-13	12:18:59	116	[DEBUG]	Executed store
2023-10-13	12:18:59	116	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39263_bottom_bracket_dub_t47_(bsax85_5x28_99)_road_wide_85_5mm.jpg',`file_url_thumb`='bcprisme/39263_bottom_bracket_dub_t47_(bsax85_5x28_99)_road_wide_85_5mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1595023'
2023-10-13	12:18:59	116	[DEBUG]	Query for ProductMedia
2023-10-13	12:18:59	116	[DEBUG]	Executed store
2023-10-13	12:18:59	116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859608','1595023','1')
2023-10-13	12:18:59	116	[DEBUG]	Store product image relation
2023-10-13	12:18:59	116	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:59	116	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859608 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:59	116	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:59	116	[DEBUG]	Executed store
2023-10-13	12:18:59	116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859608','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:59	116	[DEBUG]	Checking manufacturer
2023-10-13	12:18:59	116	[DEBUG]	Load a row
2023-10-13	12:18:59	116	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:59	116	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:59	116	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:59	116	[DEBUG]	Executed store
2023-10-13	12:18:59	116	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:18:59	116	[DEBUG]	Manufacturer exists
2023-10-13	12:18:59	116	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:18:59	116	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:59	116	[DEBUG]	Executed store
2023-10-13	12:18:59	116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859608','35')
2023-10-13	12:18:59	116	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:59	116	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:59	116	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859608 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:59	116	[DEBUG]	Store custom available field
2023-10-13	12:18:59	116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859608,3,'',1)
2023-10-13	12:18:59	116	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:59	116	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:59	116	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859608 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:59	116	[DEBUG]	Store custom available field
2023-10-13	12:18:59	116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859608,6,'Unitaire',3)
2023-10-13	12:18:59	116	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:59	116	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:59	116	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859607
2023-10-13	12:18:59	116	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:59	116	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859607\":[1859607,8,1,\"choisir la taille\"],\"1859608\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859607
2023-10-13	12:18:59	116	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:59	116	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859608
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:59	117	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field taille
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:59	117	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:59	117	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:59	117	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:59	117	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:59	117	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:59	117	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:59	117	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field published
2023-10-13	12:18:59	117	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:59	117	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field override
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:59	117	[DEBUG]	Use field value for field slug
2023-10-13	12:18:59	117	[DEBUG]	Process line 117
2023-10-13	12:18:59	117	[DEBUG]	Load a row
2023-10-13	12:18:59	117	[DEBUG]	Processing item: A_9146_208
2023-10-13	12:18:59	117	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:59	117	[DEBUG]	Processing product tax
2023-10-13	12:18:59	117	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:59	117	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:59	117	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:59	117	[DEBUG]	Query for Product
2023-10-13	12:18:59	117	[DEBUG]	Executed store
2023-10-13	12:18:59	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9146_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:59	117	[DEBUG]	Check product language entry
2023-10-13	12:18:59	117	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859609
2023-10-13	12:18:59	117	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:59	117	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9146_208' AND `virtuemart_product_id` != 1859609
2023-10-13	12:18:59	117	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:59	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859609, 'A_9146_208')
2023-10-13	12:18:59	117	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:59	117	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manivelle-fc-r9100-p-172-5mm-gauche-aucune' AND `virtuemart_product_id` != 1859609
2023-10-13	12:18:59	117	[DEBUG]	Query for ProductLang
2023-10-13	12:18:59	117	[DEBUG]	Executed store
2023-10-13	12:18:59	117	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 75.71667',`product_name`='SHIMANO Manivelle FC-R9100-P 172,5mm gauche / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manivelle-fc-r9100-p-172-5mm-gauche-aucune' WHERE `virtuemart_product_id` = '1859609'
2023-10-13	12:18:59	117	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/75_7166.jpg has not been found.
2023-10-13	12:18:59	117	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:59	117	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859609 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:59	117	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:59	117	[DEBUG]	Executed store
2023-10-13	12:18:59	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859609','0','540.389972144847','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:59	117	[DEBUG]	Checking manufacturer
2023-10-13	12:18:59	117	[DEBUG]	Load a row
2023-10-13	12:18:59	117	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:59	117	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:59	117	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:59	117	[DEBUG]	Executed store
2023-10-13	12:18:59	117	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:59	117	[DEBUG]	Manufacturer exists
2023-10-13	12:18:59	117	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:18:59	117	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:59	117	[DEBUG]	Executed store
2023-10-13	12:18:59	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859609','26')
2023-10-13	12:18:59	117	[DEBUG]	Find the custom field ID
2023-10-13	12:18:59	117	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:59	117	[DEBUG]	No custom field ID found
2023-10-13	12:18:59	117	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:59	117	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:59	117	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859609 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:59	117	[DEBUG]	Store custom available field
2023-10-13	12:18:59	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859609,3,'0',1)
2023-10-13	12:18:59	117	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:59	117	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:59	117	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859609 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:59	117	[DEBUG]	Store custom available field
2023-10-13	12:18:59	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859609,6,'choisir la taille',3)
2023-10-13	12:18:59	117	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:59	117	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:59	117	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:59	117	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:59	117	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859609 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:59	117	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:59	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859609,8,1)
2023-10-13	12:18:59	117	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:59	117	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859609\":[1859609,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859609
2023-10-13	12:18:59	117	[DEBUG]	Checking category
2023-10-13	12:18:59	117	[DEBUG]	Check if category path exists: BOITIERS MANIVELLES INTEGREES - TRETLAGER EINHAITEN
2023-10-13	12:18:59	117	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BOITIERS MANIVELLES INTEGREES - TRETLAGER EINHAITEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7271
2023-10-13	12:18:59	117	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:59	117	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859609
2023-10-13	12:18:59	117	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:59	117	[DEBUG]	Executed store
2023-10-13	12:18:59	117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859609','7327')
2023-10-13	12:18:59	117	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:59	117	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859609 AND `virtuemart_category_id` NOT IN (7327)
2023-10-13	12:18:59	117	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:59	117	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859609
2023-10-13	12:18:59	118	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:59	118	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:59	118	[DEBUG]	Use field value for field taille
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:59	118	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:59	118	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:59	118	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:59	118	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:59	118	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:59	118	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:59	118	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:59	118	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:59	118	[DEBUG]	Use field value for field published
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:59	118	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field override
2023-10-13	12:18:59	118	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:59	118	[DEBUG]	Use field value for field slug
2023-10-13	12:18:59	118	[DEBUG]	Process line 118
2023-10-13	12:18:59	118	[DEBUG]	Load a row
2023-10-13	12:18:59	118	[DEBUG]	Processing item: 4524667320852
2023-10-13	12:18:59	118	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:59	118	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:59	118	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9146_208'
2023-10-13	12:18:59	118	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:59	118	[DEBUG]	Processing product tax
2023-10-13	12:18:59	118	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:59	118	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:59	118	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:59	118	[DEBUG]	Query for Product
2023-10-13	12:18:59	118	[DEBUG]	Executed store
2023-10-13	12:18:59	118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859609','4524667320852','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:59	118	[DEBUG]	No parent found
2023-10-13	12:18:59	118	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859609 AND customfield_value = 'stockable'
2023-10-13	12:18:59	118	[DEBUG]	Check product language entry
2023-10-13	12:18:59	118	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859610
2023-10-13	12:18:59	118	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:59	118	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667320852' AND `virtuemart_product_id` != 1859610
2023-10-13	12:18:59	118	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:59	118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859610, '4524667320852')
2023-10-13	12:18:59	118	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:59	118	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manivelle-fc-r9100-p-172-5mm-gauche-aucune-unitaire' AND `virtuemart_product_id` != 1859610
2023-10-13	12:18:59	118	[DEBUG]	Query for ProductLang
2023-10-13	12:18:59	118	[DEBUG]	Executed store
2023-10-13	12:18:59	118	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manivelle FC-R9100-P 172,5mm gauche / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manivelle-fc-r9100-p-172-5mm-gauche-aucune-unitaire' WHERE `virtuemart_product_id` = '1859610'
2023-10-13	12:18:59	118	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/75_7166.jpg has not been found.
2023-10-13	12:18:59	118	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:59	118	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859610 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:59	118	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:59	118	[DEBUG]	Executed store
2023-10-13	12:18:59	118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859610','0','540.389972144847','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:59	118	[DEBUG]	Checking manufacturer
2023-10-13	12:18:59	118	[DEBUG]	Load a row
2023-10-13	12:18:59	118	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:59	118	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:59	118	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:59	118	[DEBUG]	Executed store
2023-10-13	12:18:59	118	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:59	118	[DEBUG]	Manufacturer exists
2023-10-13	12:18:59	118	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:18:59	118	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:59	118	[DEBUG]	Executed store
2023-10-13	12:18:59	118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859610','26')
2023-10-13	12:18:59	118	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:59	118	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:59	118	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859610 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:59	118	[DEBUG]	Store custom available field
2023-10-13	12:18:59	118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859610,3,'',1)
2023-10-13	12:18:59	118	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:59	118	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:59	118	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859610 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:59	118	[DEBUG]	Store custom available field
2023-10-13	12:18:59	118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859610,6,'Unitaire',3)
2023-10-13	12:18:59	118	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:59	118	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:59	118	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859609
2023-10-13	12:18:59	118	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:59	118	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859609\":[1859609,8,1,\"choisir la taille\"],\"1859610\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859609
2023-10-13	12:18:59	118	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:59	118	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859610
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:59	119	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field taille
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:59	119	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:59	119	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:59	119	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:59	119	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:59	119	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:59	119	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:59	119	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field published
2023-10-13	12:18:59	119	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:59	119	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field override
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:59	119	[DEBUG]	Use field value for field slug
2023-10-13	12:18:59	119	[DEBUG]	Process line 119
2023-10-13	12:18:59	119	[DEBUG]	Load a row
2023-10-13	12:18:59	119	[DEBUG]	Processing item: A_8782_208
2023-10-13	12:18:59	119	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:59	119	[DEBUG]	Processing product tax
2023-10-13	12:18:59	119	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:59	119	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:59	119	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:59	119	[DEBUG]	Query for Product
2023-10-13	12:18:59	119	[DEBUG]	Executed store
2023-10-13	12:18:59	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8782_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:59	119	[DEBUG]	Check product language entry
2023-10-13	12:18:59	119	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859611
2023-10-13	12:18:59	119	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:59	119	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8782_208' AND `virtuemart_product_id` != 1859611
2023-10-13	12:18:59	119	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:59	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859611, 'A_8782_208')
2023-10-13	12:18:59	119	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:59	119	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-jeu-de-pedalier-pressure-sm-bb94a-sans-filetage-box-aucune' AND `virtuemart_product_id` != 1859611
2023-10-13	12:18:59	119	[DEBUG]	Query for ProductLang
2023-10-13	12:18:59	119	[DEBUG]	Executed store
2023-10-13	12:18:59	119	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 62.57810',`product_name`='SHIMANO Jeu de pédalier pressuré SM-BB94A sans filetage box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-jeu-de-pedalier-pressure-sm-bb94a-sans-filetage-box-aucune' WHERE `virtuemart_product_id` = '1859611'
2023-10-13	12:18:59	119	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/62_57810_003_jpg.jpg has not been found.
2023-10-13	12:18:59	119	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:59	119	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859611 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:59	119	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:59	119	[DEBUG]	Executed store
2023-10-13	12:18:59	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859611','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:59	119	[DEBUG]	Checking manufacturer
2023-10-13	12:18:59	119	[DEBUG]	Load a row
2023-10-13	12:18:59	119	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:59	119	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:59	119	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:59	119	[DEBUG]	Executed store
2023-10-13	12:18:59	119	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:59	119	[DEBUG]	Manufacturer exists
2023-10-13	12:18:59	119	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:18:59	119	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:59	119	[DEBUG]	Executed store
2023-10-13	12:18:59	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859611','26')
2023-10-13	12:18:59	119	[DEBUG]	Find the custom field ID
2023-10-13	12:18:59	119	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:59	119	[DEBUG]	No custom field ID found
2023-10-13	12:18:59	119	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:59	119	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:59	119	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859611 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:59	119	[DEBUG]	Store custom available field
2023-10-13	12:18:59	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859611,3,'0',1)
2023-10-13	12:18:59	119	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:59	119	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:59	119	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859611 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:59	119	[DEBUG]	Store custom available field
2023-10-13	12:18:59	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859611,6,'choisir la taille',3)
2023-10-13	12:18:59	119	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:59	119	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:59	119	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:59	119	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:59	119	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859611 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:59	119	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:59	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859611,8,1)
2023-10-13	12:18:59	119	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:59	119	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859611\":[1859611,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859611
2023-10-13	12:18:59	119	[DEBUG]	Checking category
2023-10-13	12:18:59	119	[DEBUG]	Check if category path exists: PRESS-FIT
2023-10-13	12:18:59	119	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PRESS-FIT' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7271
2023-10-13	12:18:59	119	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:59	119	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859611
2023-10-13	12:18:59	119	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:59	119	[DEBUG]	Executed store
2023-10-13	12:18:59	119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859611','7328')
2023-10-13	12:18:59	119	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:59	119	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859611 AND `virtuemart_category_id` NOT IN (7328)
2023-10-13	12:18:59	119	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:59	119	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859611
2023-10-13	12:18:59	120	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:59	120	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:59	120	[DEBUG]	Use field value for field taille
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:59	120	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:59	120	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:59	120	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:59	120	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:59	120	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:59	120	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:59	120	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:59	120	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:59	120	[DEBUG]	Use field value for field published
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:59	120	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field override
2023-10-13	12:18:59	120	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:59	120	[DEBUG]	Use field value for field slug
2023-10-13	12:18:59	120	[DEBUG]	Process line 120
2023-10-13	12:18:59	120	[DEBUG]	Load a row
2023-10-13	12:18:59	120	[DEBUG]	Processing item: 4524667997290
2023-10-13	12:18:59	120	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:59	120	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:59	120	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8782_208'
2023-10-13	12:18:59	120	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:59	120	[DEBUG]	Processing product tax
2023-10-13	12:18:59	120	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:59	120	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:59	120	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:59	120	[DEBUG]	Query for Product
2023-10-13	12:18:59	120	[DEBUG]	Executed store
2023-10-13	12:18:59	120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859611','4524667997290','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:59	120	[DEBUG]	No parent found
2023-10-13	12:18:59	120	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859611 AND customfield_value = 'stockable'
2023-10-13	12:18:59	120	[DEBUG]	Check product language entry
2023-10-13	12:18:59	120	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859612
2023-10-13	12:18:59	120	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:59	120	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667997290' AND `virtuemart_product_id` != 1859612
2023-10-13	12:18:59	120	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:59	120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859612, '4524667997290')
2023-10-13	12:18:59	120	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:59	120	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-jeu-de-pedalier-pressure-sm-bb94a-sans-filetage-box-aucune-unitaire' AND `virtuemart_product_id` != 1859612
2023-10-13	12:18:59	120	[DEBUG]	Query for ProductLang
2023-10-13	12:18:59	120	[DEBUG]	Executed store
2023-10-13	12:18:59	120	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Jeu de pédalier pressuré SM-BB94A sans filetage box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-jeu-de-pedalier-pressure-sm-bb94a-sans-filetage-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1859612'
2023-10-13	12:18:59	120	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/62_57810_003_jpg.jpg has not been found.
2023-10-13	12:18:59	120	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:59	120	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859612 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:59	120	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:59	120	[DEBUG]	Executed store
2023-10-13	12:18:59	120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859612','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:59	120	[DEBUG]	Checking manufacturer
2023-10-13	12:18:59	120	[DEBUG]	Load a row
2023-10-13	12:18:59	120	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:59	120	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:59	120	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:59	120	[DEBUG]	Executed store
2023-10-13	12:18:59	120	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:59	120	[DEBUG]	Manufacturer exists
2023-10-13	12:18:59	120	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:18:59	120	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:59	120	[DEBUG]	Executed store
2023-10-13	12:18:59	120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859612','26')
2023-10-13	12:18:59	120	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:59	120	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:59	120	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859612 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:59	120	[DEBUG]	Store custom available field
2023-10-13	12:18:59	120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859612,3,'',1)
2023-10-13	12:18:59	120	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:59	120	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:59	120	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859612 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:59	120	[DEBUG]	Store custom available field
2023-10-13	12:18:59	120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859612,6,'Unitaire',3)
2023-10-13	12:18:59	120	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:59	120	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:59	120	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859611
2023-10-13	12:18:59	120	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:59	120	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859611\":[1859611,8,1,\"choisir la taille\"],\"1859612\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859611
2023-10-13	12:18:59	120	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:59	120	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859612
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:59	121	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field taille
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:59	121	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:59	121	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:59	121	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:59	121	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:59	121	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:59	121	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:59	121	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field published
2023-10-13	12:18:59	121	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:59	121	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field override
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:59	121	[DEBUG]	Use field value for field slug
2023-10-13	12:18:59	121	[DEBUG]	Process line 121
2023-10-13	12:18:59	121	[DEBUG]	Load a row
2023-10-13	12:18:59	121	[DEBUG]	Processing item: A_9482_1
2023-10-13	12:18:59	121	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:59	121	[DEBUG]	Processing product tax
2023-10-13	12:18:59	121	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:59	121	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:59	121	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:59	121	[DEBUG]	Query for Product
2023-10-13	12:18:59	121	[DEBUG]	Executed store
2023-10-13	12:18:59	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9482_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:59	121	[DEBUG]	Check product language entry
2023-10-13	12:18:59	121	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859613
2023-10-13	12:18:59	121	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:59	121	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9482_1' AND `virtuemart_product_id` != 1859613
2023-10-13	12:18:59	121	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:59	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859613, 'A_9482_1')
2023-10-13	12:18:59	121	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:59	121	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cable-derailleur-set-1-2x2100mm-noir' AND `virtuemart_product_id` != 1859613
2023-10-13	12:18:59	121	[DEBUG]	Query for ProductLang
2023-10-13	12:18:59	121	[DEBUG]	Executed store
2023-10-13	12:18:59	121	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 86.52382',`product_name`='SHIMANO Câble dérailleur set 1.2x2100mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cable-derailleur-set-1-2x2100mm-noir' WHERE `virtuemart_product_id` = '1859613'
2023-10-13	12:18:59	121	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_5238.jpg has not been found.
2023-10-13	12:18:59	121	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:59	121	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859613 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:59	121	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:59	121	[DEBUG]	Executed store
2023-10-13	12:18:59	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859613','0','25.9052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:59	121	[DEBUG]	Checking manufacturer
2023-10-13	12:18:59	121	[DEBUG]	Load a row
2023-10-13	12:18:59	121	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:59	121	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:59	121	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:59	121	[DEBUG]	Executed store
2023-10-13	12:18:59	121	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:59	121	[DEBUG]	Manufacturer exists
2023-10-13	12:18:59	121	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:18:59	121	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:59	121	[DEBUG]	Executed store
2023-10-13	12:18:59	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859613','26')
2023-10-13	12:18:59	121	[DEBUG]	Find the custom field ID
2023-10-13	12:18:59	121	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:18:59	121	[DEBUG]	No custom field ID found
2023-10-13	12:18:59	121	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:59	121	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:18:59	121	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859613 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:59	121	[DEBUG]	Store custom available field
2023-10-13	12:18:59	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859613,3,'0',1)
2023-10-13	12:18:59	121	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:59	121	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:18:59	121	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859613 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:59	121	[DEBUG]	Store custom available field
2023-10-13	12:18:59	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859613,6,'choisir la taille',3)
2023-10-13	12:18:59	121	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:59	121	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:18:59	121	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:18:59	121	[DEBUG]	Find the multi variant product entry
2023-10-13	12:18:59	121	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859613 AND `virtuemart_custom_id` = 8
2023-10-13	12:18:59	121	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:18:59	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859613,8,1)
2023-10-13	12:18:59	121	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:59	121	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859613\":[1859613,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859613
2023-10-13	12:18:59	121	[DEBUG]	Checking category
2023-10-13	12:18:59	121	[DEBUG]	Check if category path exists: CABLES DE VITESSES - SCHALTKABEL
2023-10-13	12:18:59	121	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CABLES DE VITESSES - SCHALTKABEL' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:18:59	121	[DEBUG]	Check if category path exists: CABLES DE VITESSES - SCHALTKABEL
2023-10-13	12:18:59	121	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CABLES DE VITESSES - SCHALTKABEL' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7329
2023-10-13	12:18:59	121	[DEBUG]	Get the existing categories for the product
2023-10-13	12:18:59	121	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859613
2023-10-13	12:18:59	121	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:18:59	121	[DEBUG]	Executed store
2023-10-13	12:18:59	121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859613','7330')
2023-10-13	12:18:59	121	[DEBUG]	Delete leftover product categories
2023-10-13	12:18:59	121	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859613 AND `virtuemart_category_id` NOT IN (7330)
2023-10-13	12:18:59	121	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:59	121	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859613
2023-10-13	12:18:59	122	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:59	122	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:18:59	122	[DEBUG]	Use field value for field taille
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:18:59	122	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field category_path
2023-10-13	12:18:59	122	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:59	122	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:59	122	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:59	122	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:18:59	122	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field product_weight
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:59	122	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:59	122	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:59	122	[DEBUG]	Use field value for field published
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field custom_title
2023-10-13	12:18:59	122	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field custom_param
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field override
2023-10-13	12:18:59	122	[DEBUG]	Use default value for field public_price
2023-10-13	12:18:59	122	[DEBUG]	Use field value for field slug
2023-10-13	12:18:59	122	[DEBUG]	Process line 122
2023-10-13	12:18:59	122	[DEBUG]	Load a row
2023-10-13	12:18:59	122	[DEBUG]	Processing item: 4524667602880
2023-10-13	12:18:59	122	[DEBUG]	Looking for parent SKU
2023-10-13	12:18:59	122	[DEBUG]	Checking product parent SKU
2023-10-13	12:18:59	122	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9482_1'
2023-10-13	12:18:59	122	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:59	122	[DEBUG]	Processing product tax
2023-10-13	12:18:59	122	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:59	122	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:59	122	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:59	122	[DEBUG]	Query for Product
2023-10-13	12:18:59	122	[DEBUG]	Executed store
2023-10-13	12:18:59	122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859613','4524667602880','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:59	122	[DEBUG]	No parent found
2023-10-13	12:18:59	122	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859613 AND customfield_value = 'stockable'
2023-10-13	12:18:59	122	[DEBUG]	Check product language entry
2023-10-13	12:18:59	122	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859614
2023-10-13	12:18:59	122	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:59	122	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667602880' AND `virtuemart_product_id` != 1859614
2023-10-13	12:18:59	122	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:59	122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859614, '4524667602880')
2023-10-13	12:18:59	122	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:59	122	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cable-derailleur-set-1-2x2100mm-noir-unitaire' AND `virtuemart_product_id` != 1859614
2023-10-13	12:18:59	122	[DEBUG]	Query for ProductLang
2023-10-13	12:18:59	122	[DEBUG]	Executed store
2023-10-13	12:18:59	122	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Câble dérailleur set 1.2x2100mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cable-derailleur-set-1-2x2100mm-noir-unitaire' WHERE `virtuemart_product_id` = '1859614'
2023-10-13	12:18:59	122	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_5238.jpg has not been found.
2023-10-13	12:18:59	122	[DEBUG]	Finding a product_price_id
2023-10-13	12:18:59	122	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859614 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:18:59	122	[DEBUG]	Query for ProductPrice
2023-10-13	12:18:59	122	[DEBUG]	Executed store
2023-10-13	12:18:59	122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859614','0','25.9052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:18:59	122	[DEBUG]	Checking manufacturer
2023-10-13	12:18:59	122	[DEBUG]	Load a row
2023-10-13	12:18:59	122	[DEBUG]	Manufacturer already exists
2023-10-13	12:18:59	122	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:59	122	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:18:59	122	[DEBUG]	Executed store
2023-10-13	12:18:59	122	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:18:59	122	[DEBUG]	Manufacturer exists
2023-10-13	12:18:59	122	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:18:59	122	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:18:59	122	[DEBUG]	Executed store
2023-10-13	12:18:59	122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859614','26')
2023-10-13	12:18:59	122	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:18:59	122	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:18:59	122	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859614 AND `virtuemart_custom_id` = 3
2023-10-13	12:18:59	122	[DEBUG]	Store custom available field
2023-10-13	12:18:59	122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859614,3,'',1)
2023-10-13	12:18:59	122	[DEBUG]	Processing custom available field: taille
2023-10-13	12:18:59	122	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:18:59	122	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859614 AND `virtuemart_custom_id` = 6
2023-10-13	12:18:59	122	[DEBUG]	Store custom available field
2023-10-13	12:18:59	122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859614,6,'Unitaire',3)
2023-10-13	12:18:59	122	[DEBUG]	Process multi-variant fields
2023-10-13	12:18:59	122	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:18:59	122	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859613
2023-10-13	12:18:59	122	[DEBUG]	Store the updated customfield_params
2023-10-13	12:18:59	122	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859613\":[1859613,8,1,\"choisir la taille\"],\"1859614\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859613
2023-10-13	12:18:59	122	[DEBUG]	Update has fields after all processing
2023-10-13	12:18:59	122	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859614
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field product_sku
2023-10-13	12:18:59	123	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field taille
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field product_name
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field category_path
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field product_price
2023-10-13	12:18:59	123	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field product_tax
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field file_url
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:18:59	123	[DEBUG]	Use default value for field product_desc
2023-10-13	12:18:59	123	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field product_availability
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field product_weight
2023-10-13	12:18:59	123	[DEBUG]	Use default value for field product_unit
2023-10-13	12:18:59	123	[DEBUG]	Use default value for field related_products
2023-10-13	12:18:59	123	[DEBUG]	Use default value for field product_special
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field published
2023-10-13	12:18:59	123	[DEBUG]	Use default value for field metadesc
2023-10-13	12:18:59	123	[DEBUG]	Use default value for field metakey
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field custom_title
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field custom_value
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field custom_param
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field override
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field public_price
2023-10-13	12:18:59	123	[DEBUG]	Use field value for field slug
2023-10-13	12:18:59	123	[DEBUG]	Process line 123
2023-10-13	12:18:59	123	[DEBUG]	Load a row
2023-10-13	12:18:59	123	[DEBUG]	Processing item: A_5680_208
2023-10-13	12:18:59	123	[DEBUG]	Product tax: 7.7
2023-10-13	12:18:59	123	[DEBUG]	Processing product tax
2023-10-13	12:18:59	123	[DEBUG]	Check if calculation rule exists
2023-10-13	12:18:59	123	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:18:59	123	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:18:59	123	[DEBUG]	Query for Product
2023-10-13	12:18:59	123	[DEBUG]	Executed store
2023-10-13	12:18:59	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5680_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:18:59	123	[DEBUG]	Check product language entry
2023-10-13	12:18:59	123	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859615
2023-10-13	12:18:59	123	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:59	123	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5680_208' AND `virtuemart_product_id` != 1859615
2023-10-13	12:18:59	123	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:18:59	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859615, 'A_5680_208')
2023-10-13	12:18:59	123	[DEBUG]	Check if the product slug exists
2023-10-13	12:18:59	123	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-electronique-repartiteur-di2-sm-ew90-b-avec-5-x-e-tube-connexion-box-aucune' AND `virtuemart_product_id` != 1859615
2023-10-13	12:18:59	123	[DEBUG]	Query for ProductLang
2023-10-13	12:18:59	123	[DEBUG]	Executed store
2023-10-13	12:18:59	123	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 86.56925',`product_name`='SHIMANO électronique répartiteur Di2 SM-EW90-B avec 5 x E-Tube connexion box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-electronique-repartiteur-di2-sm-ew90-b-avec-5-x-e-tube-connexion-box-aucune' WHERE `virtuemart_product_id` = '1859615'
2023-10-13	12:18:59	123	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_55428_002.jpg
2023-10-13	12:18:59	123	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:59	123	[DEBUG]	Process image file
2023-10-13	12:18:59	123	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:18:59	123	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:18:59	123	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_55428_002.jpg
2023-10-13	12:18:59	123	[DEBUG]	Full name target: bcprisme/86_55428_002.jpg
2023-10-13	12:19:00	123	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:00	123	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/86_55428_002.jpg'
2023-10-13	12:19:00	123	[DEBUG]	Query for Media
2023-10-13	12:19:00	123	[DEBUG]	Executed store
2023-10-13	12:19:00	123	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/86_55428_002.jpg',`file_url_thumb`='bcprisme/86_55428_002.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435021'
2023-10-13	12:19:00	123	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:00	123	[DEBUG]	Executed store
2023-10-13	12:19:00	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859615','435021','1')
2023-10-13	12:19:00	123	[DEBUG]	Store product image relation
2023-10-13	12:19:00	123	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:00	123	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859615 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:00	123	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:00	123	[DEBUG]	Executed store
2023-10-13	12:19:00	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859615','0','136.490250696379','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:00	123	[DEBUG]	Checking manufacturer
2023-10-13	12:19:00	123	[DEBUG]	Load a row
2023-10-13	12:19:00	123	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:00	123	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:00	123	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:00	123	[DEBUG]	Executed store
2023-10-13	12:19:00	123	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:00	123	[DEBUG]	Manufacturer exists
2023-10-13	12:19:00	123	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:19:00	123	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:00	123	[DEBUG]	Executed store
2023-10-13	12:19:00	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859615','26')
2023-10-13	12:19:00	123	[DEBUG]	Find the custom field ID
2023-10-13	12:19:00	123	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:00	123	[DEBUG]	No custom field ID found
2023-10-13	12:19:00	123	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:00	123	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:00	123	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859615 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:00	123	[DEBUG]	Store custom available field
2023-10-13	12:19:00	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859615,3,'0',1)
2023-10-13	12:19:00	123	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:00	123	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:00	123	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859615 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:00	123	[DEBUG]	Store custom available field
2023-10-13	12:19:00	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859615,6,'choisir la taille',3)
2023-10-13	12:19:00	123	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:00	123	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:00	123	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:00	123	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:00	123	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859615 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:00	123	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:00	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859615,8,1)
2023-10-13	12:19:00	123	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:00	123	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859615\":[1859615,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859615
2023-10-13	12:19:00	123	[DEBUG]	Checking category
2023-10-13	12:19:00	123	[DEBUG]	Check if category path exists: CABLES ELECTRIQUES
2023-10-13	12:19:00	123	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CABLES ELECTRIQUES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:19:00	123	[DEBUG]	Check if category path exists: CABLES ELECTRIQUES
2023-10-13	12:19:00	123	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CABLES ELECTRIQUES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7273
2023-10-13	12:19:00	123	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:00	123	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859615
2023-10-13	12:19:00	123	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:00	123	[DEBUG]	Executed store
2023-10-13	12:19:00	123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859615','7274')
2023-10-13	12:19:00	123	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:00	123	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859615 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:00	123	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:00	123	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859615
2023-10-13	12:19:00	124	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:00	124	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:00	124	[DEBUG]	Use field value for field taille
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:00	124	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:00	124	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:00	124	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:00	124	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:00	124	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:00	124	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:00	124	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:00	124	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:00	124	[DEBUG]	Use field value for field published
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:00	124	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field override
2023-10-13	12:19:00	124	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:00	124	[DEBUG]	Use field value for field slug
2023-10-13	12:19:00	124	[DEBUG]	Process line 124
2023-10-13	12:19:00	124	[DEBUG]	Load a row
2023-10-13	12:19:00	124	[DEBUG]	Processing item: 4524667986393
2023-10-13	12:19:00	124	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:00	124	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:00	124	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5680_208'
2023-10-13	12:19:00	124	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:00	124	[DEBUG]	Processing product tax
2023-10-13	12:19:00	124	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:00	124	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:00	124	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:00	124	[DEBUG]	Query for Product
2023-10-13	12:19:00	124	[DEBUG]	Executed store
2023-10-13	12:19:00	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859615','4524667986393','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:00	124	[DEBUG]	No parent found
2023-10-13	12:19:00	124	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859615 AND customfield_value = 'stockable'
2023-10-13	12:19:00	124	[DEBUG]	Check product language entry
2023-10-13	12:19:00	124	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859616
2023-10-13	12:19:00	124	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:00	124	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667986393' AND `virtuemart_product_id` != 1859616
2023-10-13	12:19:00	124	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:00	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859616, '4524667986393')
2023-10-13	12:19:00	124	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:00	124	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-electronique-repartiteur-di2-sm-ew90-b-avec-5-x-e-tube-connexion-box-aucune-all' AND `virtuemart_product_id` != 1859616
2023-10-13	12:19:00	124	[DEBUG]	Query for ProductLang
2023-10-13	12:19:00	124	[DEBUG]	Executed store
2023-10-13	12:19:00	124	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO électronique répartiteur Di2 SM-EW90-B avec 5 x E-Tube connexion box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-electronique-repartiteur-di2-sm-ew90-b-avec-5-x-e-tube-connexion-box-aucune-all' WHERE `virtuemart_product_id` = '1859616'
2023-10-13	12:19:00	124	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_55428_002.jpg
2023-10-13	12:19:00	124	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:00	124	[DEBUG]	Process image file
2023-10-13	12:19:00	124	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:00	124	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:00	124	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_55428_002.jpg
2023-10-13	12:19:00	124	[DEBUG]	Full name target: bcprisme/86_55428_002.jpg
2023-10-13	12:19:01	124	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:01	124	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/86_55428_002.jpg'
2023-10-13	12:19:01	124	[DEBUG]	Query for Media
2023-10-13	12:19:01	124	[DEBUG]	Executed store
2023-10-13	12:19:01	124	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/86_55428_002.jpg',`file_url_thumb`='bcprisme/86_55428_002.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435021'
2023-10-13	12:19:01	124	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:01	124	[DEBUG]	Executed store
2023-10-13	12:19:01	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859616','435021','1')
2023-10-13	12:19:01	124	[DEBUG]	Store product image relation
2023-10-13	12:19:01	124	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:01	124	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859616 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:01	124	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:01	124	[DEBUG]	Executed store
2023-10-13	12:19:01	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859616','0','136.490250696379','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:01	124	[DEBUG]	Checking manufacturer
2023-10-13	12:19:01	124	[DEBUG]	Load a row
2023-10-13	12:19:01	124	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:01	124	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:01	124	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:01	124	[DEBUG]	Executed store
2023-10-13	12:19:01	124	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:01	124	[DEBUG]	Manufacturer exists
2023-10-13	12:19:01	124	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:19:01	124	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:01	124	[DEBUG]	Executed store
2023-10-13	12:19:01	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859616','26')
2023-10-13	12:19:01	124	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:01	124	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:01	124	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859616 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:01	124	[DEBUG]	Store custom available field
2023-10-13	12:19:01	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859616,3,'',1)
2023-10-13	12:19:01	124	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:01	124	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:19:01	124	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859616 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:01	124	[DEBUG]	Store custom available field
2023-10-13	12:19:01	124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859616,6,'All',3)
2023-10-13	12:19:01	124	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:01	124	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:01	124	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859615
2023-10-13	12:19:01	124	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:01	124	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859615\":[1859615,8,1,\"choisir la taille\"],\"1859616\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859615
2023-10-13	12:19:01	124	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:01	124	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859616
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:01	125	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field taille
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:01	125	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:01	125	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:01	125	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:01	125	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:01	125	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:01	125	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field published
2023-10-13	12:19:01	125	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:01	125	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field override
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:01	125	[DEBUG]	Use field value for field slug
2023-10-13	12:19:01	125	[DEBUG]	Process line 125
2023-10-13	12:19:01	125	[DEBUG]	Load a row
2023-10-13	12:19:01	125	[DEBUG]	Processing item: A_5854_208
2023-10-13	12:19:01	125	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:01	125	[DEBUG]	Processing product tax
2023-10-13	12:19:01	125	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:01	125	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:01	125	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:01	125	[DEBUG]	Query for Product
2023-10-13	12:19:01	125	[DEBUG]	Executed store
2023-10-13	12:19:01	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5854_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:01	125	[DEBUG]	Check product language entry
2023-10-13	12:19:01	125	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859617
2023-10-13	12:19:01	125	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:01	125	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5854_208' AND `virtuemart_product_id` != 1859617
2023-10-13	12:19:01	125	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:01	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859617, 'A_5854_208')
2023-10-13	12:19:01	125	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:01	125	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-cable-eclairage-arriere-1400-mm-aucune' AND `virtuemart_product_id` != 1859617
2023-10-13	12:19:01	125	[DEBUG]	Query for ProductLang
2023-10-13	12:19:01	125	[DEBUG]	Executed store
2023-10-13	12:19:01	125	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.55694',`product_name`='Bosch Cable éclairage arrière 1400 mm / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-cable-eclairage-arriere-1400-mm-aucune' WHERE `virtuemart_product_id` = '1859617'
2023-10-13	12:19:01	125	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55694.jpg
2023-10-13	12:19:01	125	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:01	125	[DEBUG]	Process image file
2023-10-13	12:19:01	125	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:01	125	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:01	125	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55694.jpg
2023-10-13	12:19:01	125	[DEBUG]	Full name target: bcprisme/56_55694.jpg
2023-10-13	12:19:02	125	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:02	125	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_55694.jpg'
2023-10-13	12:19:02	125	[DEBUG]	Query for Media
2023-10-13	12:19:02	125	[DEBUG]	Executed store
2023-10-13	12:19:02	125	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_55694.jpg',`file_url_thumb`='bcprisme/56_55694.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435023'
2023-10-13	12:19:02	125	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:02	125	[DEBUG]	Executed store
2023-10-13	12:19:02	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859617','435023','1')
2023-10-13	12:19:02	125	[DEBUG]	Store product image relation
2023-10-13	12:19:02	125	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:02	125	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859617 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:02	125	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:02	125	[DEBUG]	Executed store
2023-10-13	12:19:02	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859617','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:02	125	[DEBUG]	Checking manufacturer
2023-10-13	12:19:02	125	[DEBUG]	Load a row
2023-10-13	12:19:02	125	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:02	125	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:02	125	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:02	125	[DEBUG]	Executed store
2023-10-13	12:19:02	125	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:02	125	[DEBUG]	Manufacturer exists
2023-10-13	12:19:02	125	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:19:02	125	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:02	125	[DEBUG]	Executed store
2023-10-13	12:19:02	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859617','33')
2023-10-13	12:19:02	125	[DEBUG]	Find the custom field ID
2023-10-13	12:19:02	125	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:02	125	[DEBUG]	No custom field ID found
2023-10-13	12:19:02	125	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:02	125	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:02	125	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859617 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:02	125	[DEBUG]	Store custom available field
2023-10-13	12:19:02	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859617,3,'0',1)
2023-10-13	12:19:02	125	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:02	125	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:02	125	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859617 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:02	125	[DEBUG]	Store custom available field
2023-10-13	12:19:02	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859617,6,'choisir la taille',3)
2023-10-13	12:19:02	125	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:02	125	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:02	125	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:02	125	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:02	125	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859617 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:02	125	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:02	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859617,8,1)
2023-10-13	12:19:02	125	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:02	125	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859617\":[1859617,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859617
2023-10-13	12:19:02	125	[DEBUG]	Checking category
2023-10-13	12:19:02	125	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:02	125	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859617
2023-10-13	12:19:02	125	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:02	125	[DEBUG]	Executed store
2023-10-13	12:19:02	125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859617','7274')
2023-10-13	12:19:02	125	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:02	125	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859617 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:02	125	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:02	125	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859617
2023-10-13	12:19:02	126	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:02	126	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:02	126	[DEBUG]	Use field value for field taille
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:02	126	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:02	126	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:02	126	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:02	126	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:02	126	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:02	126	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:02	126	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:02	126	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:02	126	[DEBUG]	Use field value for field published
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:02	126	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field override
2023-10-13	12:19:02	126	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:02	126	[DEBUG]	Use field value for field slug
2023-10-13	12:19:02	126	[DEBUG]	Process line 126
2023-10-13	12:19:02	126	[DEBUG]	Load a row
2023-10-13	12:19:02	126	[DEBUG]	Processing item: 4047025144896
2023-10-13	12:19:02	126	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:02	126	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:02	126	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5854_208'
2023-10-13	12:19:02	126	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:02	126	[DEBUG]	Processing product tax
2023-10-13	12:19:02	126	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:02	126	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:02	126	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:02	126	[DEBUG]	Query for Product
2023-10-13	12:19:02	126	[DEBUG]	Executed store
2023-10-13	12:19:02	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859617','4047025144896','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:02	126	[DEBUG]	No parent found
2023-10-13	12:19:02	126	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859617 AND customfield_value = 'stockable'
2023-10-13	12:19:02	126	[DEBUG]	Check product language entry
2023-10-13	12:19:02	126	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859618
2023-10-13	12:19:02	126	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:02	126	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047025144896' AND `virtuemart_product_id` != 1859618
2023-10-13	12:19:02	126	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:02	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859618, '4047025144896')
2023-10-13	12:19:02	126	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:02	126	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-cable-eclairage-arriere-1400-mm-aucune-all' AND `virtuemart_product_id` != 1859618
2023-10-13	12:19:02	126	[DEBUG]	Query for ProductLang
2023-10-13	12:19:02	126	[DEBUG]	Executed store
2023-10-13	12:19:02	126	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Cable éclairage arrière 1400 mm / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-cable-eclairage-arriere-1400-mm-aucune-all' WHERE `virtuemart_product_id` = '1859618'
2023-10-13	12:19:02	126	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55694.jpg
2023-10-13	12:19:02	126	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:02	126	[DEBUG]	Process image file
2023-10-13	12:19:02	126	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:02	126	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:02	126	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55694.jpg
2023-10-13	12:19:02	126	[DEBUG]	Full name target: bcprisme/56_55694.jpg
2023-10-13	12:19:03	126	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:03	126	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_55694.jpg'
2023-10-13	12:19:03	126	[DEBUG]	Query for Media
2023-10-13	12:19:03	126	[DEBUG]	Executed store
2023-10-13	12:19:03	126	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_55694.jpg',`file_url_thumb`='bcprisme/56_55694.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435023'
2023-10-13	12:19:03	126	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:03	126	[DEBUG]	Executed store
2023-10-13	12:19:03	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859618','435023','1')
2023-10-13	12:19:03	126	[DEBUG]	Store product image relation
2023-10-13	12:19:03	126	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:03	126	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859618 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:03	126	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:03	126	[DEBUG]	Executed store
2023-10-13	12:19:03	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859618','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:03	126	[DEBUG]	Checking manufacturer
2023-10-13	12:19:03	126	[DEBUG]	Load a row
2023-10-13	12:19:03	126	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:03	126	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:03	126	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:03	126	[DEBUG]	Executed store
2023-10-13	12:19:03	126	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:03	126	[DEBUG]	Manufacturer exists
2023-10-13	12:19:03	126	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:19:03	126	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:03	126	[DEBUG]	Executed store
2023-10-13	12:19:03	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859618','33')
2023-10-13	12:19:03	126	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:03	126	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:03	126	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859618 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:03	126	[DEBUG]	Store custom available field
2023-10-13	12:19:03	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859618,3,'',1)
2023-10-13	12:19:03	126	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:03	126	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:19:03	126	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859618 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:03	126	[DEBUG]	Store custom available field
2023-10-13	12:19:03	126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859618,6,'All',3)
2023-10-13	12:19:03	126	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:03	126	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:03	126	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859617
2023-10-13	12:19:03	126	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:03	126	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859617\":[1859617,8,1,\"choisir la taille\"],\"1859618\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859617
2023-10-13	12:19:03	126	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:03	126	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859618
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:03	127	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field taille
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:03	127	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:03	127	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:03	127	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:03	127	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:03	127	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:03	127	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field published
2023-10-13	12:19:03	127	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:03	127	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field override
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:03	127	[DEBUG]	Use field value for field slug
2023-10-13	12:19:03	127	[DEBUG]	Process line 127
2023-10-13	12:19:03	127	[DEBUG]	Load a row
2023-10-13	12:19:03	127	[DEBUG]	Processing item: A_5855_208
2023-10-13	12:19:03	127	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:03	127	[DEBUG]	Processing product tax
2023-10-13	12:19:03	127	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:03	127	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:03	127	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:03	127	[DEBUG]	Query for Product
2023-10-13	12:19:03	127	[DEBUG]	Executed store
2023-10-13	12:19:03	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5855_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:03	127	[DEBUG]	Check product language entry
2023-10-13	12:19:03	127	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859619
2023-10-13	12:19:03	127	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:03	127	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5855_208' AND `virtuemart_product_id` != 1859619
2023-10-13	12:19:03	127	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:03	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859619, 'A_5855_208')
2023-10-13	12:19:03	127	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:03	127	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-cable-eclairage-avant-1400-mm-aucune' AND `virtuemart_product_id` != 1859619
2023-10-13	12:19:03	127	[DEBUG]	Query for ProductLang
2023-10-13	12:19:03	127	[DEBUG]	Executed store
2023-10-13	12:19:03	127	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.55692',`product_name`='Bosch Cable éclairage avant 1400 mm / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-cable-eclairage-avant-1400-mm-aucune' WHERE `virtuemart_product_id` = '1859619'
2023-10-13	12:19:03	127	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55692.jpg
2023-10-13	12:19:03	127	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:03	127	[DEBUG]	Process image file
2023-10-13	12:19:03	127	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:03	127	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:03	127	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55692.jpg
2023-10-13	12:19:03	127	[DEBUG]	Full name target: bcprisme/56_55692.jpg
2023-10-13	12:19:04	127	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:04	127	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_55692.jpg'
2023-10-13	12:19:04	127	[DEBUG]	Query for Media
2023-10-13	12:19:04	127	[DEBUG]	Executed store
2023-10-13	12:19:04	127	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_55692.jpg',`file_url_thumb`='bcprisme/56_55692.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '988979'
2023-10-13	12:19:04	127	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:04	127	[DEBUG]	Executed store
2023-10-13	12:19:04	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859619','988979','1')
2023-10-13	12:19:04	127	[DEBUG]	Store product image relation
2023-10-13	12:19:04	127	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:04	127	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859619 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:04	127	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:04	127	[DEBUG]	Executed store
2023-10-13	12:19:04	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859619','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:04	127	[DEBUG]	Checking manufacturer
2023-10-13	12:19:04	127	[DEBUG]	Load a row
2023-10-13	12:19:04	127	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:04	127	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:04	127	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:04	127	[DEBUG]	Executed store
2023-10-13	12:19:04	127	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:04	127	[DEBUG]	Manufacturer exists
2023-10-13	12:19:04	127	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:19:04	127	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:04	127	[DEBUG]	Executed store
2023-10-13	12:19:04	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859619','33')
2023-10-13	12:19:04	127	[DEBUG]	Find the custom field ID
2023-10-13	12:19:04	127	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:04	127	[DEBUG]	No custom field ID found
2023-10-13	12:19:04	127	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:04	127	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:04	127	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859619 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:04	127	[DEBUG]	Store custom available field
2023-10-13	12:19:04	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859619,3,'0',1)
2023-10-13	12:19:04	127	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:04	127	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:04	127	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859619 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:04	127	[DEBUG]	Store custom available field
2023-10-13	12:19:04	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859619,6,'choisir la taille',3)
2023-10-13	12:19:04	127	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:04	127	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:04	127	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:04	127	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:04	127	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859619 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:04	127	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:04	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859619,8,1)
2023-10-13	12:19:04	127	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:04	127	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859619\":[1859619,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859619
2023-10-13	12:19:04	127	[DEBUG]	Checking category
2023-10-13	12:19:04	127	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:04	127	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859619
2023-10-13	12:19:04	127	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:04	127	[DEBUG]	Executed store
2023-10-13	12:19:04	127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859619','7274')
2023-10-13	12:19:04	127	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:04	127	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859619 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:04	127	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:04	127	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859619
2023-10-13	12:19:04	128	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:04	128	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:04	128	[DEBUG]	Use field value for field taille
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:04	128	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:04	128	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:04	128	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:04	128	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:04	128	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:04	128	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:04	128	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:04	128	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:04	128	[DEBUG]	Use field value for field published
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:04	128	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field override
2023-10-13	12:19:04	128	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:04	128	[DEBUG]	Use field value for field slug
2023-10-13	12:19:04	128	[DEBUG]	Process line 128
2023-10-13	12:19:04	128	[DEBUG]	Load a row
2023-10-13	12:19:04	128	[DEBUG]	Processing item: 4047024973671
2023-10-13	12:19:04	128	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:04	128	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:04	128	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5855_208'
2023-10-13	12:19:04	128	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:04	128	[DEBUG]	Processing product tax
2023-10-13	12:19:04	128	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:04	128	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:04	128	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:04	128	[DEBUG]	Query for Product
2023-10-13	12:19:04	128	[DEBUG]	Executed store
2023-10-13	12:19:04	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859619','4047024973671','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:04	128	[DEBUG]	No parent found
2023-10-13	12:19:04	128	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859619 AND customfield_value = 'stockable'
2023-10-13	12:19:04	128	[DEBUG]	Check product language entry
2023-10-13	12:19:04	128	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859620
2023-10-13	12:19:04	128	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:04	128	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047024973671' AND `virtuemart_product_id` != 1859620
2023-10-13	12:19:04	128	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:04	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859620, '4047024973671')
2023-10-13	12:19:04	128	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:04	128	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-cable-eclairage-avant-1400-mm-aucune-all' AND `virtuemart_product_id` != 1859620
2023-10-13	12:19:04	128	[DEBUG]	Query for ProductLang
2023-10-13	12:19:04	128	[DEBUG]	Executed store
2023-10-13	12:19:04	128	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Cable éclairage avant 1400 mm / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-cable-eclairage-avant-1400-mm-aucune-all' WHERE `virtuemart_product_id` = '1859620'
2023-10-13	12:19:04	128	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55692.jpg
2023-10-13	12:19:04	128	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:04	128	[DEBUG]	Process image file
2023-10-13	12:19:04	128	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:04	128	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:04	128	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55692.jpg
2023-10-13	12:19:04	128	[DEBUG]	Full name target: bcprisme/56_55692.jpg
2023-10-13	12:19:05	128	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:05	128	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_55692.jpg'
2023-10-13	12:19:05	128	[DEBUG]	Query for Media
2023-10-13	12:19:05	128	[DEBUG]	Executed store
2023-10-13	12:19:05	128	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_55692.jpg',`file_url_thumb`='bcprisme/56_55692.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '988979'
2023-10-13	12:19:05	128	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:05	128	[DEBUG]	Executed store
2023-10-13	12:19:05	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859620','988979','1')
2023-10-13	12:19:05	128	[DEBUG]	Store product image relation
2023-10-13	12:19:05	128	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:05	128	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859620 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:05	128	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:05	128	[DEBUG]	Executed store
2023-10-13	12:19:05	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859620','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:05	128	[DEBUG]	Checking manufacturer
2023-10-13	12:19:05	128	[DEBUG]	Load a row
2023-10-13	12:19:05	128	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:05	128	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:05	128	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:05	128	[DEBUG]	Executed store
2023-10-13	12:19:05	128	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:05	128	[DEBUG]	Manufacturer exists
2023-10-13	12:19:05	128	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:19:05	128	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:05	128	[DEBUG]	Executed store
2023-10-13	12:19:05	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859620','33')
2023-10-13	12:19:05	128	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:05	128	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:05	128	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859620 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:05	128	[DEBUG]	Store custom available field
2023-10-13	12:19:05	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859620,3,'',1)
2023-10-13	12:19:05	128	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:05	128	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:19:05	128	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859620 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:05	128	[DEBUG]	Store custom available field
2023-10-13	12:19:05	128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859620,6,'All',3)
2023-10-13	12:19:05	128	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:05	128	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:05	128	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859619
2023-10-13	12:19:05	128	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:05	128	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859619\":[1859619,8,1,\"choisir la taille\"],\"1859620\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859619
2023-10-13	12:19:05	128	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:05	128	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859620
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:05	129	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field taille
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:05	129	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:05	129	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:05	129	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:05	129	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:05	129	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:05	129	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field published
2023-10-13	12:19:05	129	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:05	129	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field override
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:05	129	[DEBUG]	Use field value for field slug
2023-10-13	12:19:05	129	[DEBUG]	Process line 129
2023-10-13	12:19:05	129	[DEBUG]	Load a row
2023-10-13	12:19:05	129	[DEBUG]	Processing item: A_5987_208
2023-10-13	12:19:05	129	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:05	129	[DEBUG]	Processing product tax
2023-10-13	12:19:05	129	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:05	129	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:05	129	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:05	129	[DEBUG]	Query for Product
2023-10-13	12:19:05	129	[DEBUG]	Executed store
2023-10-13	12:19:05	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5987_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:05	129	[DEBUG]	Check product language entry
2023-10-13	12:19:05	129	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859621
2023-10-13	12:19:05	129	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:05	129	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5987_208' AND `virtuemart_product_id` != 1859621
2023-10-13	12:19:05	129	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:05	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859621, 'A_5987_208')
2023-10-13	12:19:05	129	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:05	129	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-capteur-de-vitesse-600-mm-aucune' AND `virtuemart_product_id` != 1859621
2023-10-13	12:19:05	129	[DEBUG]	Query for ProductLang
2023-10-13	12:19:05	129	[DEBUG]	Executed store
2023-10-13	12:19:05	129	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.55687',`product_name`='Bosch Capteur de vitesse 600 mm / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-capteur-de-vitesse-600-mm-aucune' WHERE `virtuemart_product_id` = '1859621'
2023-10-13	12:19:05	129	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55687.jpg
2023-10-13	12:19:05	129	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:05	129	[DEBUG]	Process image file
2023-10-13	12:19:05	129	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:05	129	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:05	129	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55687.jpg
2023-10-13	12:19:05	129	[DEBUG]	Full name target: bcprisme/56_55687.jpg
2023-10-13	12:19:06	129	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:06	129	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_55687.jpg'
2023-10-13	12:19:06	129	[DEBUG]	Query for Media
2023-10-13	12:19:06	129	[DEBUG]	Executed store
2023-10-13	12:19:06	129	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_55687.jpg',`file_url_thumb`='bcprisme/56_55687.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '219871'
2023-10-13	12:19:06	129	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:06	129	[DEBUG]	Executed store
2023-10-13	12:19:06	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859621','219871','1')
2023-10-13	12:19:06	129	[DEBUG]	Store product image relation
2023-10-13	12:19:06	129	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:06	129	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859621 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:06	129	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:06	129	[DEBUG]	Executed store
2023-10-13	12:19:06	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859621','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:06	129	[DEBUG]	Checking manufacturer
2023-10-13	12:19:06	129	[DEBUG]	Load a row
2023-10-13	12:19:06	129	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:06	129	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:06	129	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:06	129	[DEBUG]	Executed store
2023-10-13	12:19:06	129	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:06	129	[DEBUG]	Manufacturer exists
2023-10-13	12:19:06	129	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:19:06	129	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:06	129	[DEBUG]	Executed store
2023-10-13	12:19:06	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859621','33')
2023-10-13	12:19:06	129	[DEBUG]	Find the custom field ID
2023-10-13	12:19:06	129	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:06	129	[DEBUG]	No custom field ID found
2023-10-13	12:19:06	129	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:06	129	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:06	129	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859621 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:06	129	[DEBUG]	Store custom available field
2023-10-13	12:19:06	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859621,3,'0',1)
2023-10-13	12:19:06	129	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:06	129	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:06	129	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859621 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:06	129	[DEBUG]	Store custom available field
2023-10-13	12:19:06	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859621,6,'choisir la taille',3)
2023-10-13	12:19:06	129	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:06	129	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:06	129	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:06	129	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:06	129	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859621 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:06	129	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:06	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859621,8,1)
2023-10-13	12:19:06	129	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:06	129	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859621\":[1859621,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859621
2023-10-13	12:19:06	129	[DEBUG]	Checking category
2023-10-13	12:19:06	129	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:06	129	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859621
2023-10-13	12:19:06	129	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:06	129	[DEBUG]	Executed store
2023-10-13	12:19:06	129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859621','7274')
2023-10-13	12:19:06	129	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:06	129	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859621 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:06	129	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:06	129	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859621
2023-10-13	12:19:06	130	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:06	130	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:06	130	[DEBUG]	Use field value for field taille
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:06	130	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:06	130	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:06	130	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:06	130	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:06	130	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:06	130	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:06	130	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:06	130	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:06	130	[DEBUG]	Use field value for field published
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:06	130	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field override
2023-10-13	12:19:06	130	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:06	130	[DEBUG]	Use field value for field slug
2023-10-13	12:19:06	130	[DEBUG]	Process line 130
2023-10-13	12:19:06	130	[DEBUG]	Load a row
2023-10-13	12:19:06	130	[DEBUG]	Processing item: 4047024973480
2023-10-13	12:19:06	130	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:06	130	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:06	130	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5987_208'
2023-10-13	12:19:06	130	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:06	130	[DEBUG]	Processing product tax
2023-10-13	12:19:06	130	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:06	130	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:06	130	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:06	130	[DEBUG]	Query for Product
2023-10-13	12:19:06	130	[DEBUG]	Executed store
2023-10-13	12:19:06	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859621','4047024973480','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:06	130	[DEBUG]	No parent found
2023-10-13	12:19:06	130	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859621 AND customfield_value = 'stockable'
2023-10-13	12:19:06	130	[DEBUG]	Check product language entry
2023-10-13	12:19:06	130	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859622
2023-10-13	12:19:06	130	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:06	130	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047024973480' AND `virtuemart_product_id` != 1859622
2023-10-13	12:19:06	130	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:06	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859622, '4047024973480')
2023-10-13	12:19:07	130	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:07	130	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-capteur-de-vitesse-600-mm-aucune-all' AND `virtuemart_product_id` != 1859622
2023-10-13	12:19:07	130	[DEBUG]	Query for ProductLang
2023-10-13	12:19:07	130	[DEBUG]	Executed store
2023-10-13	12:19:07	130	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Capteur de vitesse 600 mm / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-capteur-de-vitesse-600-mm-aucune-all' WHERE `virtuemart_product_id` = '1859622'
2023-10-13	12:19:07	130	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55687.jpg
2023-10-13	12:19:07	130	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:07	130	[DEBUG]	Process image file
2023-10-13	12:19:07	130	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:07	130	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:07	130	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55687.jpg
2023-10-13	12:19:07	130	[DEBUG]	Full name target: bcprisme/56_55687.jpg
2023-10-13	12:19:07	130	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:07	130	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_55687.jpg'
2023-10-13	12:19:07	130	[DEBUG]	Query for Media
2023-10-13	12:19:07	130	[DEBUG]	Executed store
2023-10-13	12:19:07	130	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_55687.jpg',`file_url_thumb`='bcprisme/56_55687.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '219871'
2023-10-13	12:19:07	130	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:07	130	[DEBUG]	Executed store
2023-10-13	12:19:07	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859622','219871','1')
2023-10-13	12:19:07	130	[DEBUG]	Store product image relation
2023-10-13	12:19:07	130	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:07	130	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859622 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:07	130	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:07	130	[DEBUG]	Executed store
2023-10-13	12:19:07	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859622','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:07	130	[DEBUG]	Checking manufacturer
2023-10-13	12:19:07	130	[DEBUG]	Load a row
2023-10-13	12:19:07	130	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:07	130	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:07	130	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:07	130	[DEBUG]	Executed store
2023-10-13	12:19:07	130	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:07	130	[DEBUG]	Manufacturer exists
2023-10-13	12:19:07	130	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:19:07	130	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:07	130	[DEBUG]	Executed store
2023-10-13	12:19:07	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859622','33')
2023-10-13	12:19:07	130	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:07	130	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:07	130	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859622 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:07	130	[DEBUG]	Store custom available field
2023-10-13	12:19:07	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859622,3,'',1)
2023-10-13	12:19:07	130	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:07	130	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:19:07	130	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859622 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:07	130	[DEBUG]	Store custom available field
2023-10-13	12:19:07	130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859622,6,'All',3)
2023-10-13	12:19:07	130	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:07	130	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:07	130	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859621
2023-10-13	12:19:07	130	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:07	130	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859621\":[1859621,8,1,\"choisir la taille\"],\"1859622\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859621
2023-10-13	12:19:07	130	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:07	130	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859622
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:07	131	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field taille
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:07	131	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:07	131	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:07	131	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:07	131	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:07	131	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:07	131	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field published
2023-10-13	12:19:07	131	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:07	131	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field override
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:07	131	[DEBUG]	Use field value for field slug
2023-10-13	12:19:07	131	[DEBUG]	Process line 131
2023-10-13	12:19:07	131	[DEBUG]	Load a row
2023-10-13	12:19:07	131	[DEBUG]	Processing item: A_5988_1
2023-10-13	12:19:07	131	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:07	131	[DEBUG]	Processing product tax
2023-10-13	12:19:07	131	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:07	131	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:07	131	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:07	131	[DEBUG]	Query for Product
2023-10-13	12:19:08	131	[DEBUG]	Executed store
2023-10-13	12:19:08	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5988_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:08	131	[DEBUG]	Check product language entry
2023-10-13	12:19:08	131	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859623
2023-10-13	12:19:08	131	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:08	131	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5988_1' AND `virtuemart_product_id` != 1859623
2023-10-13	12:19:08	131	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:08	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859623, 'A_5988_1')
2023-10-13	12:19:08	131	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:08	131	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-capteur-de-vitesse-415-mm-noir' AND `virtuemart_product_id` != 1859623
2023-10-13	12:19:08	131	[DEBUG]	Query for ProductLang
2023-10-13	12:19:08	131	[DEBUG]	Executed store
2023-10-13	12:19:08	131	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.70869',`product_name`='Bosch Capteur de vitesse 415 mm  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-capteur-de-vitesse-415-mm-noir' WHERE `virtuemart_product_id` = '1859623'
2023-10-13	12:19:08	131	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55687.jpg
2023-10-13	12:19:08	131	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:08	131	[DEBUG]	Process image file
2023-10-13	12:19:08	131	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:08	131	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:08	131	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55687.jpg
2023-10-13	12:19:08	131	[DEBUG]	Full name target: bcprisme/56_55687.jpg
2023-10-13	12:19:08	131	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:08	131	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_55687.jpg'
2023-10-13	12:19:08	131	[DEBUG]	Query for Media
2023-10-13	12:19:08	131	[DEBUG]	Executed store
2023-10-13	12:19:08	131	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_55687.jpg',`file_url_thumb`='bcprisme/56_55687.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '219871'
2023-10-13	12:19:08	131	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:08	131	[DEBUG]	Executed store
2023-10-13	12:19:08	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859623','219871','1')
2023-10-13	12:19:08	131	[DEBUG]	Store product image relation
2023-10-13	12:19:08	131	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:08	131	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859623 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:08	131	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:08	131	[DEBUG]	Executed store
2023-10-13	12:19:08	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859623','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:08	131	[DEBUG]	Checking manufacturer
2023-10-13	12:19:08	131	[DEBUG]	Load a row
2023-10-13	12:19:08	131	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:08	131	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:08	131	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:08	131	[DEBUG]	Executed store
2023-10-13	12:19:08	131	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:08	131	[DEBUG]	Manufacturer exists
2023-10-13	12:19:08	131	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:19:08	131	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:08	131	[DEBUG]	Executed store
2023-10-13	12:19:08	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859623','33')
2023-10-13	12:19:08	131	[DEBUG]	Find the custom field ID
2023-10-13	12:19:08	131	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:08	131	[DEBUG]	No custom field ID found
2023-10-13	12:19:08	131	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:08	131	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:08	131	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859623 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:08	131	[DEBUG]	Store custom available field
2023-10-13	12:19:08	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859623,3,'0',1)
2023-10-13	12:19:08	131	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:08	131	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:08	131	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859623 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:08	131	[DEBUG]	Store custom available field
2023-10-13	12:19:08	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859623,6,'choisir la taille',3)
2023-10-13	12:19:08	131	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:08	131	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:08	131	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:08	131	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:08	131	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859623 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:08	131	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:08	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859623,8,1)
2023-10-13	12:19:08	131	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:08	131	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859623\":[1859623,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859623
2023-10-13	12:19:08	131	[DEBUG]	Checking category
2023-10-13	12:19:08	131	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:08	131	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859623
2023-10-13	12:19:08	131	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:08	131	[DEBUG]	Executed store
2023-10-13	12:19:08	131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859623','7274')
2023-10-13	12:19:08	131	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:08	131	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859623 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:08	131	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:08	131	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859623
2023-10-13	12:19:08	132	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:08	132	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:08	132	[DEBUG]	Use field value for field taille
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:08	132	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:08	132	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:08	132	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:08	132	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:08	132	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:08	132	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:08	132	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:08	132	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:08	132	[DEBUG]	Use field value for field published
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:08	132	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field override
2023-10-13	12:19:08	132	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:08	132	[DEBUG]	Use field value for field slug
2023-10-13	12:19:08	132	[DEBUG]	Process line 132
2023-10-13	12:19:08	132	[DEBUG]	Load a row
2023-10-13	12:19:08	132	[DEBUG]	Processing item: 4047026050387
2023-10-13	12:19:08	132	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:08	132	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:08	132	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5988_1'
2023-10-13	12:19:08	132	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:08	132	[DEBUG]	Processing product tax
2023-10-13	12:19:08	132	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:08	132	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:08	132	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:08	132	[DEBUG]	Query for Product
2023-10-13	12:19:08	132	[DEBUG]	Executed store
2023-10-13	12:19:08	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859623','4047026050387','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:08	132	[DEBUG]	No parent found
2023-10-13	12:19:08	132	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859623 AND customfield_value = 'stockable'
2023-10-13	12:19:08	132	[DEBUG]	Check product language entry
2023-10-13	12:19:08	132	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859624
2023-10-13	12:19:08	132	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:08	132	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047026050387' AND `virtuemart_product_id` != 1859624
2023-10-13	12:19:08	132	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:08	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859624, '4047026050387')
2023-10-13	12:19:08	132	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:08	132	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-capteur-de-vitesse-415-mm-noir-all' AND `virtuemart_product_id` != 1859624
2023-10-13	12:19:08	132	[DEBUG]	Query for ProductLang
2023-10-13	12:19:08	132	[DEBUG]	Executed store
2023-10-13	12:19:08	132	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Capteur de vitesse 415 mm  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-capteur-de-vitesse-415-mm-noir-all' WHERE `virtuemart_product_id` = '1859624'
2023-10-13	12:19:08	132	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55687.jpg
2023-10-13	12:19:08	132	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:08	132	[DEBUG]	Process image file
2023-10-13	12:19:08	132	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:08	132	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:08	132	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_55687.jpg
2023-10-13	12:19:08	132	[DEBUG]	Full name target: bcprisme/56_55687.jpg
2023-10-13	12:19:09	132	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:09	132	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_55687.jpg'
2023-10-13	12:19:09	132	[DEBUG]	Query for Media
2023-10-13	12:19:09	132	[DEBUG]	Executed store
2023-10-13	12:19:09	132	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_55687.jpg',`file_url_thumb`='bcprisme/56_55687.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '219871'
2023-10-13	12:19:09	132	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:09	132	[DEBUG]	Executed store
2023-10-13	12:19:09	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859624','219871','1')
2023-10-13	12:19:09	132	[DEBUG]	Store product image relation
2023-10-13	12:19:09	132	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:09	132	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859624 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:09	132	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:09	132	[DEBUG]	Executed store
2023-10-13	12:19:09	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859624','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:09	132	[DEBUG]	Checking manufacturer
2023-10-13	12:19:09	132	[DEBUG]	Load a row
2023-10-13	12:19:09	132	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:09	132	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:09	132	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:09	132	[DEBUG]	Executed store
2023-10-13	12:19:09	132	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:09	132	[DEBUG]	Manufacturer exists
2023-10-13	12:19:09	132	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:19:09	132	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:09	132	[DEBUG]	Executed store
2023-10-13	12:19:09	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859624','33')
2023-10-13	12:19:09	132	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:09	132	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:09	132	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859624 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:09	132	[DEBUG]	Store custom available field
2023-10-13	12:19:09	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859624,3,'',1)
2023-10-13	12:19:09	132	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:09	132	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:19:09	132	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859624 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:09	132	[DEBUG]	Store custom available field
2023-10-13	12:19:09	132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859624,6,'All',3)
2023-10-13	12:19:09	132	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:09	132	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:09	132	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859623
2023-10-13	12:19:09	132	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:09	132	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859623\":[1859623,8,1,\"choisir la taille\"],\"1859624\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859623
2023-10-13	12:19:09	132	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:09	132	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859624
2023-10-13	12:19:09	133	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:09	133	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:09	133	[DEBUG]	Use field value for field taille
2023-10-13	12:19:09	133	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:09	133	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:09	133	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:09	133	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:09	133	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:09	133	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:09	133	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:09	133	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:09	133	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:09	133	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:09	133	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:09	133	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:10	133	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:10	133	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:10	133	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:10	133	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:10	133	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:10	133	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:10	133	[DEBUG]	Use field value for field published
2023-10-13	12:19:10	133	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:10	133	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:10	133	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:10	133	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:10	133	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:10	133	[DEBUG]	Use field value for field override
2023-10-13	12:19:10	133	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:10	133	[DEBUG]	Use field value for field slug
2023-10-13	12:19:10	133	[DEBUG]	Process line 133
2023-10-13	12:19:10	133	[DEBUG]	Load a row
2023-10-13	12:19:10	133	[DEBUG]	Processing item: A_6155_3
2023-10-13	12:19:10	133	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:10	133	[DEBUG]	Processing product tax
2023-10-13	12:19:10	133	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:10	133	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:10	133	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:10	133	[DEBUG]	Query for Product
2023-10-13	12:19:10	133	[DEBUG]	Executed store
2023-10-13	12:19:10	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6155_3','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:10	133	[DEBUG]	Check product language entry
2023-10-13	12:19:10	133	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859625
2023-10-13	12:19:10	133	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:10	133	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6155_3' AND `virtuemart_product_id` != 1859625
2023-10-13	12:19:10	133	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:10	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859625, 'A_6155_3')
2023-10-13	12:19:10	133	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:10	133	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-chargeur-turbo-4a-pour-modeles-hybrides-none' AND `virtuemart_product_id` != 1859625
2023-10-13	12:19:10	133	[DEBUG]	Query for ProductLang
2023-10-13	12:19:10	133	[DEBUG]	Executed store
2023-10-13	12:19:10	133	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.064',`product_name`='GIANT Chargeur turbo 4A pour modèles hybrides / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-chargeur-turbo-4a-pour-modeles-hybrides-none' WHERE `virtuemart_product_id` = '1859625'
2023-10-13	12:19:10	133	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31851_giant_chargeur_turbo_4a_pour_modeles_hybrides.jpg
2023-10-13	12:19:10	133	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:10	133	[DEBUG]	Process image file
2023-10-13	12:19:10	133	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:10	133	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:10	133	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31851_giant_chargeur_turbo_4a_pour_modeles_hybrides.jpg
2023-10-13	12:19:10	133	[DEBUG]	Full name target: bcprisme/31851_giant_chargeur_turbo_4a_pour_modeles_hybrides.jpg
2023-10-13	12:19:11	133	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:11	133	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31851_giant_chargeur_turbo_4a_pour_modeles_hybrides.jpg'
2023-10-13	12:19:11	133	[DEBUG]	Query for Media
2023-10-13	12:19:11	133	[DEBUG]	Executed store
2023-10-13	12:19:11	133	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31851_giant_chargeur_turbo_4a_pour_modeles_hybrides.jpg',`file_url_thumb`='bcprisme/31851_giant_chargeur_turbo_4a_pour_modeles_hybrides.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '146203'
2023-10-13	12:19:11	133	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:11	133	[DEBUG]	Executed store
2023-10-13	12:19:11	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859625','146203','1')
2023-10-13	12:19:11	133	[DEBUG]	Store product image relation
2023-10-13	12:19:11	133	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:11	133	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859625 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:11	133	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:11	133	[DEBUG]	Executed store
2023-10-13	12:19:11	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859625','0','231.197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:11	133	[DEBUG]	Checking manufacturer
2023-10-13	12:19:11	133	[DEBUG]	Load a row
2023-10-13	12:19:11	133	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:11	133	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:11	133	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:11	133	[DEBUG]	Executed store
2023-10-13	12:19:11	133	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:11	133	[DEBUG]	Manufacturer exists
2023-10-13	12:19:11	133	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:11	133	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:11	133	[DEBUG]	Executed store
2023-10-13	12:19:11	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859625','29')
2023-10-13	12:19:11	133	[DEBUG]	Find the custom field ID
2023-10-13	12:19:11	133	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:11	133	[DEBUG]	No custom field ID found
2023-10-13	12:19:11	133	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:11	133	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:19:11	133	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859625 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:11	133	[DEBUG]	Store custom available field
2023-10-13	12:19:11	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859625,3,'12.8641666666667',1)
2023-10-13	12:19:11	133	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:11	133	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:11	133	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859625 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:11	133	[DEBUG]	Store custom available field
2023-10-13	12:19:11	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859625,6,'choisir la taille',3)
2023-10-13	12:19:11	133	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:11	133	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:11	133	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:11	133	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:11	133	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859625 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:11	133	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:11	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859625,8,1)
2023-10-13	12:19:11	133	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:11	133	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859625\":[1859625,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859625
2023-10-13	12:19:11	133	[DEBUG]	Checking category
2023-10-13	12:19:11	133	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:11	133	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859625
2023-10-13	12:19:11	133	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:11	133	[DEBUG]	Executed store
2023-10-13	12:19:11	133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859625','7274')
2023-10-13	12:19:11	133	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:11	133	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859625 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:11	133	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:11	133	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859625
2023-10-13	12:19:11	134	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:11	134	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:11	134	[DEBUG]	Use field value for field taille
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:11	134	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:11	134	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:11	134	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:11	134	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:11	134	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:11	134	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:11	134	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:11	134	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:11	134	[DEBUG]	Use field value for field published
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:11	134	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field override
2023-10-13	12:19:11	134	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:11	134	[DEBUG]	Use field value for field slug
2023-10-13	12:19:11	134	[DEBUG]	Process line 134
2023-10-13	12:19:11	134	[DEBUG]	Load a row
2023-10-13	12:19:11	134	[DEBUG]	Processing item: 544M36V6A'01V
2023-10-13	12:19:11	134	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:11	134	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:11	134	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6155_3'
2023-10-13	12:19:11	134	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:11	134	[DEBUG]	Processing product tax
2023-10-13	12:19:11	134	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:11	134	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:11	134	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:11	134	[DEBUG]	Query for Product
2023-10-13	12:19:11	134	[DEBUG]	Executed store
2023-10-13	12:19:11	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859625','544M36V6A\'01V','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:11	134	[DEBUG]	No parent found
2023-10-13	12:19:11	134	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859625 AND customfield_value = 'stockable'
2023-10-13	12:19:11	134	[DEBUG]	Check product language entry
2023-10-13	12:19:11	134	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859626
2023-10-13	12:19:11	134	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:11	134	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '544M36V6A\'01V' AND `virtuemart_product_id` != 1859626
2023-10-13	12:19:11	134	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:11	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859626, '544M36V6A\'01V')
2023-10-13	12:19:11	134	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:11	134	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-chargeur-turbo-4a-pour-modeles-hybrides-none-set' AND `virtuemart_product_id` != 1859626
2023-10-13	12:19:11	134	[DEBUG]	Query for ProductLang
2023-10-13	12:19:11	134	[DEBUG]	Executed store
2023-10-13	12:19:11	134	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Chargeur turbo 4A pour modèles hybrides / None (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-chargeur-turbo-4a-pour-modeles-hybrides-none-set' WHERE `virtuemart_product_id` = '1859626'
2023-10-13	12:19:11	134	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31851_giant_chargeur_turbo_4a_pour_modeles_hybrides.jpg
2023-10-13	12:19:11	134	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:11	134	[DEBUG]	Process image file
2023-10-13	12:19:11	134	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:11	134	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:11	134	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31851_giant_chargeur_turbo_4a_pour_modeles_hybrides.jpg
2023-10-13	12:19:11	134	[DEBUG]	Full name target: bcprisme/31851_giant_chargeur_turbo_4a_pour_modeles_hybrides.jpg
2023-10-13	12:19:12	134	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:12	134	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31851_giant_chargeur_turbo_4a_pour_modeles_hybrides.jpg'
2023-10-13	12:19:12	134	[DEBUG]	Query for Media
2023-10-13	12:19:12	134	[DEBUG]	Executed store
2023-10-13	12:19:12	134	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31851_giant_chargeur_turbo_4a_pour_modeles_hybrides.jpg',`file_url_thumb`='bcprisme/31851_giant_chargeur_turbo_4a_pour_modeles_hybrides.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '146203'
2023-10-13	12:19:12	134	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:12	134	[DEBUG]	Executed store
2023-10-13	12:19:12	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859626','146203','1')
2023-10-13	12:19:12	134	[DEBUG]	Store product image relation
2023-10-13	12:19:12	134	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:12	134	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859626 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:12	134	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:12	134	[DEBUG]	Executed store
2023-10-13	12:19:12	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859626','0','231.197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:12	134	[DEBUG]	Checking manufacturer
2023-10-13	12:19:12	134	[DEBUG]	Load a row
2023-10-13	12:19:12	134	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:12	134	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:12	134	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:12	134	[DEBUG]	Executed store
2023-10-13	12:19:12	134	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:12	134	[DEBUG]	Manufacturer exists
2023-10-13	12:19:12	134	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:12	134	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:12	134	[DEBUG]	Executed store
2023-10-13	12:19:12	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859626','29')
2023-10-13	12:19:12	134	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:12	134	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:12	134	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859626 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:12	134	[DEBUG]	Store custom available field
2023-10-13	12:19:12	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859626,3,'',1)
2023-10-13	12:19:12	134	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:12	134	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:19:12	134	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859626 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:12	134	[DEBUG]	Store custom available field
2023-10-13	12:19:12	134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859626,6,'Set',3)
2023-10-13	12:19:12	134	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:12	134	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:12	134	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859625
2023-10-13	12:19:12	134	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:12	134	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1859625\":[1859625,8,1,\"choisir la taille\"],\"1859626\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1859625
2023-10-13	12:19:12	134	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:12	134	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859626
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:12	135	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field taille
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:12	135	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:12	135	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:12	135	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:12	135	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:12	135	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:12	135	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field published
2023-10-13	12:19:12	135	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:12	135	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field override
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:12	135	[DEBUG]	Use field value for field slug
2023-10-13	12:19:12	135	[DEBUG]	Process line 135
2023-10-13	12:19:12	135	[DEBUG]	Load a row
2023-10-13	12:19:12	135	[DEBUG]	Processing item: A_6190_1
2023-10-13	12:19:12	135	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:12	135	[DEBUG]	Processing product tax
2023-10-13	12:19:12	135	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:12	135	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:12	135	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:12	135	[DEBUG]	Query for Product
2023-10-13	12:19:12	135	[DEBUG]	Executed store
2023-10-13	12:19:12	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6190_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:12	135	[DEBUG]	Check product language entry
2023-10-13	12:19:12	135	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859627
2023-10-13	12:19:12	135	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:12	135	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6190_1' AND `virtuemart_product_id` != 1859627
2023-10-13	12:19:12	135	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:12	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859627, 'A_6190_1')
2023-10-13	12:19:12	135	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:12	135	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-capteur-de-vitesse-giant-full-e-noir' AND `virtuemart_product_id` != 1859627
2023-10-13	12:19:12	135	[DEBUG]	Query for ProductLang
2023-10-13	12:19:12	135	[DEBUG]	Executed store
2023-10-13	12:19:12	135	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.011',`product_name`='GIANT Capteur de vitesse Giant Full-E / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-capteur-de-vitesse-giant-full-e-noir' WHERE `virtuemart_product_id` = '1859627'
2023-10-13	12:19:12	135	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32031_capteur_de_vitesse_giant_full-e.jpg
2023-10-13	12:19:12	135	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:19:12	135	[DEBUG]	Process image file
2023-10-13	12:19:12	135	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:19:12	135	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:12	135	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32031_capteur_de_vitesse_giant_full-e.jpg
2023-10-13	12:19:12	135	[DEBUG]	Full name target: bcprisme/32031_capteur_de_vitesse_giant_full-e.jpg
2023-10-13	12:19:13	135	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:13	135	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32031_capteur_de_vitesse_giant_full-e.jpg'
2023-10-13	12:19:13	135	[DEBUG]	Query for Media
2023-10-13	12:19:13	135	[DEBUG]	Executed store
2023-10-13	12:19:13	135	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32031_capteur_de_vitesse_giant_full-e.jpg',`file_url_thumb`='bcprisme/32031_capteur_de_vitesse_giant_full-e.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '795840'
2023-10-13	12:19:13	135	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:13	135	[DEBUG]	Executed store
2023-10-13	12:19:13	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859627','795840','1')
2023-10-13	12:19:13	135	[DEBUG]	Store product image relation
2023-10-13	12:19:13	135	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:13	135	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859627 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:13	135	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:13	135	[DEBUG]	Executed store
2023-10-13	12:19:13	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859627','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:13	135	[DEBUG]	Checking manufacturer
2023-10-13	12:19:13	135	[DEBUG]	Load a row
2023-10-13	12:19:13	135	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:13	135	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:13	135	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:13	135	[DEBUG]	Executed store
2023-10-13	12:19:13	135	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:13	135	[DEBUG]	Manufacturer exists
2023-10-13	12:19:13	135	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:13	135	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:13	135	[DEBUG]	Executed store
2023-10-13	12:19:13	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859627','29')
2023-10-13	12:19:13	135	[DEBUG]	Find the custom field ID
2023-10-13	12:19:13	135	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:13	135	[DEBUG]	No custom field ID found
2023-10-13	12:19:13	135	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:13	135	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:13	135	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859627 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:13	135	[DEBUG]	Store custom available field
2023-10-13	12:19:13	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859627,3,'0',1)
2023-10-13	12:19:13	135	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:13	135	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:13	135	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859627 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:13	135	[DEBUG]	Store custom available field
2023-10-13	12:19:13	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859627,6,'choisir la taille',3)
2023-10-13	12:19:13	135	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:13	135	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:13	135	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:13	135	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:13	135	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859627 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:13	135	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:13	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859627,8,1)
2023-10-13	12:19:13	135	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:13	135	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859627\":[1859627,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859627
2023-10-13	12:19:13	135	[DEBUG]	Checking category
2023-10-13	12:19:13	135	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:13	135	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859627
2023-10-13	12:19:13	135	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:13	135	[DEBUG]	Executed store
2023-10-13	12:19:13	135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859627','7274')
2023-10-13	12:19:13	135	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:13	135	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859627 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:13	135	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:13	135	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859627
2023-10-13	12:19:13	136	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:13	136	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:13	136	[DEBUG]	Use field value for field taille
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:13	136	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:13	136	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:13	136	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:13	136	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:13	136	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:13	136	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:13	136	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:13	136	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:13	136	[DEBUG]	Use field value for field published
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:13	136	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field override
2023-10-13	12:19:13	136	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:13	136	[DEBUG]	Use field value for field slug
2023-10-13	12:19:13	136	[DEBUG]	Process line 136
2023-10-13	12:19:13	136	[DEBUG]	Load a row
2023-10-13	12:19:13	136	[DEBUG]	Processing item: 245MZAMH'02V
2023-10-13	12:19:13	136	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:13	136	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:13	136	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6190_1'
2023-10-13	12:19:13	136	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:13	136	[DEBUG]	Processing product tax
2023-10-13	12:19:13	136	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:13	136	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:13	136	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:13	136	[DEBUG]	Query for Product
2023-10-13	12:19:13	136	[DEBUG]	Executed store
2023-10-13	12:19:13	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859627','245MZAMH\'02V','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:13	136	[DEBUG]	No parent found
2023-10-13	12:19:13	136	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859627 AND customfield_value = 'stockable'
2023-10-13	12:19:13	136	[DEBUG]	Check product language entry
2023-10-13	12:19:13	136	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859628
2023-10-13	12:19:13	136	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:13	136	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '245MZAMH\'02V' AND `virtuemart_product_id` != 1859628
2023-10-13	12:19:13	136	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:13	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859628, '245MZAMH\'02V')
2023-10-13	12:19:13	136	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:13	136	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-capteur-de-vitesse-giant-full-e-noir-all' AND `virtuemart_product_id` != 1859628
2023-10-13	12:19:13	136	[DEBUG]	Query for ProductLang
2023-10-13	12:19:13	136	[DEBUG]	Executed store
2023-10-13	12:19:13	136	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Capteur de vitesse Giant Full-E / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-capteur-de-vitesse-giant-full-e-noir-all' WHERE `virtuemart_product_id` = '1859628'
2023-10-13	12:19:13	136	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32031_capteur_de_vitesse_giant_full-e.jpg
2023-10-13	12:19:13	136	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:19:13	136	[DEBUG]	Process image file
2023-10-13	12:19:13	136	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:19:13	136	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:13	136	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32031_capteur_de_vitesse_giant_full-e.jpg
2023-10-13	12:19:13	136	[DEBUG]	Full name target: bcprisme/32031_capteur_de_vitesse_giant_full-e.jpg
2023-10-13	12:19:14	136	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:14	136	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32031_capteur_de_vitesse_giant_full-e.jpg'
2023-10-13	12:19:14	136	[DEBUG]	Query for Media
2023-10-13	12:19:14	136	[DEBUG]	Executed store
2023-10-13	12:19:14	136	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32031_capteur_de_vitesse_giant_full-e.jpg',`file_url_thumb`='bcprisme/32031_capteur_de_vitesse_giant_full-e.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '795840'
2023-10-13	12:19:14	136	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:14	136	[DEBUG]	Executed store
2023-10-13	12:19:14	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859628','795840','1')
2023-10-13	12:19:14	136	[DEBUG]	Store product image relation
2023-10-13	12:19:14	136	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:14	136	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859628 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:14	136	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:14	136	[DEBUG]	Executed store
2023-10-13	12:19:14	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859628','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:14	136	[DEBUG]	Checking manufacturer
2023-10-13	12:19:14	136	[DEBUG]	Load a row
2023-10-13	12:19:14	136	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:14	136	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:14	136	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:14	136	[DEBUG]	Executed store
2023-10-13	12:19:14	136	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:14	136	[DEBUG]	Manufacturer exists
2023-10-13	12:19:14	136	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:14	136	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:14	136	[DEBUG]	Executed store
2023-10-13	12:19:14	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859628','29')
2023-10-13	12:19:14	136	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:14	136	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:14	136	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859628 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:14	136	[DEBUG]	Store custom available field
2023-10-13	12:19:14	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859628,3,'',1)
2023-10-13	12:19:14	136	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:14	136	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:19:14	136	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859628 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:14	136	[DEBUG]	Store custom available field
2023-10-13	12:19:14	136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859628,6,'All',3)
2023-10-13	12:19:14	136	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:14	136	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:14	136	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859627
2023-10-13	12:19:14	136	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:14	136	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859627\":[1859627,8,1,\"choisir la taille\"],\"1859628\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859627
2023-10-13	12:19:14	136	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:14	136	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859628
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:14	137	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field taille
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:14	137	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:14	137	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:14	137	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:14	137	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:14	137	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:14	137	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field published
2023-10-13	12:19:14	137	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:14	137	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field override
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:14	137	[DEBUG]	Use field value for field slug
2023-10-13	12:19:14	137	[DEBUG]	Process line 137
2023-10-13	12:19:14	137	[DEBUG]	Load a row
2023-10-13	12:19:14	137	[DEBUG]	Processing item: A_7319_1
2023-10-13	12:19:14	137	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:14	137	[DEBUG]	Processing product tax
2023-10-13	12:19:14	137	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:14	137	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:14	137	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:14	137	[DEBUG]	Query for Product
2023-10-13	12:19:14	137	[DEBUG]	Executed store
2023-10-13	12:19:14	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7319_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:14	137	[DEBUG]	Check product language entry
2023-10-13	12:19:14	137	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859629
2023-10-13	12:19:14	137	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:14	137	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7319_1' AND `virtuemart_product_id` != 1859629
2023-10-13	12:19:14	137	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:14	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859629, 'A_7319_1')
2023-10-13	12:19:14	137	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:14	137	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-adaptateur-6-broches-pour-chargeur-a-partir-de-2019-noir' AND `virtuemart_product_id` != 1859629
2023-10-13	12:19:14	137	[DEBUG]	Query for ProductLang
2023-10-13	12:19:14	137	[DEBUG]	Executed store
2023-10-13	12:19:14	137	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.088',`product_name`='GIANT Adaptateur 6 broches pour chargeur à partir de 2019 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-adaptateur-6-broches-pour-chargeur-a-partir-de-2019-noir' WHERE `virtuemart_product_id` = '1859629'
2023-10-13	12:19:14	137	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34540_giant_prise_de_raccorde.jpg
2023-10-13	12:19:14	137	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:14	137	[DEBUG]	Process image file
2023-10-13	12:19:14	137	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:14	137	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:14	137	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34540_giant_prise_de_raccorde.jpg
2023-10-13	12:19:14	137	[DEBUG]	Full name target: bcprisme/34540_giant_prise_de_raccorde.jpg
2023-10-13	12:19:15	137	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:15	137	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34540_giant_prise_de_raccorde.jpg'
2023-10-13	12:19:15	137	[DEBUG]	Query for Media
2023-10-13	12:19:15	137	[DEBUG]	Executed store
2023-10-13	12:19:15	137	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34540_giant_prise_de_raccorde.jpg',`file_url_thumb`='bcprisme/34540_giant_prise_de_raccorde.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '158269'
2023-10-13	12:19:15	137	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:15	137	[DEBUG]	Executed store
2023-10-13	12:19:15	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859629','158269','1')
2023-10-13	12:19:15	137	[DEBUG]	Store product image relation
2023-10-13	12:19:15	137	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:15	137	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859629 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:15	137	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:15	137	[DEBUG]	Executed store
2023-10-13	12:19:15	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859629','0','33.3333333333333','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:15	137	[DEBUG]	Checking manufacturer
2023-10-13	12:19:15	137	[DEBUG]	Load a row
2023-10-13	12:19:15	137	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:15	137	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:15	137	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:15	137	[DEBUG]	Executed store
2023-10-13	12:19:15	137	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:15	137	[DEBUG]	Manufacturer exists
2023-10-13	12:19:15	137	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:15	137	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:15	137	[DEBUG]	Executed store
2023-10-13	12:19:15	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859629','29')
2023-10-13	12:19:15	137	[DEBUG]	Find the custom field ID
2023-10-13	12:19:15	137	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:15	137	[DEBUG]	No custom field ID found
2023-10-13	12:19:15	137	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:15	137	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:19:15	137	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859629 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:15	137	[DEBUG]	Store custom available field
2023-10-13	12:19:15	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859629,3,'12.8641666666667',1)
2023-10-13	12:19:15	137	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:15	137	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:15	137	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859629 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:15	137	[DEBUG]	Store custom available field
2023-10-13	12:19:15	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859629,6,'choisir la taille',3)
2023-10-13	12:19:15	137	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:15	137	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:15	137	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:15	137	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:15	137	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859629 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:15	137	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:15	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859629,8,1)
2023-10-13	12:19:15	137	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:15	137	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859629\":[1859629,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859629
2023-10-13	12:19:15	137	[DEBUG]	Checking category
2023-10-13	12:19:15	137	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:15	137	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859629
2023-10-13	12:19:15	137	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:15	137	[DEBUG]	Executed store
2023-10-13	12:19:15	137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859629','7274')
2023-10-13	12:19:15	137	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:15	137	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859629 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:15	137	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:15	137	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859629
2023-10-13	12:19:15	138	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:15	138	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:15	138	[DEBUG]	Use field value for field taille
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:15	138	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:15	138	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:15	138	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:15	138	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:15	138	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:15	138	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:15	138	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:15	138	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:15	138	[DEBUG]	Use field value for field published
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:15	138	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field override
2023-10-13	12:19:15	138	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:15	138	[DEBUG]	Use field value for field slug
2023-10-13	12:19:15	138	[DEBUG]	Process line 138
2023-10-13	12:19:15	138	[DEBUG]	Load a row
2023-10-13	12:19:15	138	[DEBUG]	Processing item: 1000000120370
2023-10-13	12:19:15	138	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:15	138	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:15	138	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7319_1'
2023-10-13	12:19:15	138	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:15	138	[DEBUG]	Processing product tax
2023-10-13	12:19:15	138	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:15	138	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:15	138	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:15	138	[DEBUG]	Query for Product
2023-10-13	12:19:15	138	[DEBUG]	Executed store
2023-10-13	12:19:15	138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859629','1000000120370','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:15	138	[DEBUG]	No parent found
2023-10-13	12:19:15	138	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859629 AND customfield_value = 'stockable'
2023-10-13	12:19:15	138	[DEBUG]	Check product language entry
2023-10-13	12:19:15	138	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859630
2023-10-13	12:19:15	138	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:15	138	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000120370' AND `virtuemart_product_id` != 1859630
2023-10-13	12:19:15	138	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:15	138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859630, '1000000120370')
2023-10-13	12:19:15	138	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:15	138	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-adaptateur-6-broches-pour-chargeur-a-partir-de-2019-noir-set' AND `virtuemart_product_id` != 1859630
2023-10-13	12:19:15	138	[DEBUG]	Query for ProductLang
2023-10-13	12:19:15	138	[DEBUG]	Executed store
2023-10-13	12:19:15	138	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Adaptateur 6 broches pour chargeur à partir de 2019 / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-adaptateur-6-broches-pour-chargeur-a-partir-de-2019-noir-set' WHERE `virtuemart_product_id` = '1859630'
2023-10-13	12:19:15	138	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34540_giant_prise_de_raccorde.jpg
2023-10-13	12:19:15	138	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:15	138	[DEBUG]	Process image file
2023-10-13	12:19:15	138	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:15	138	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:15	138	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34540_giant_prise_de_raccorde.jpg
2023-10-13	12:19:15	138	[DEBUG]	Full name target: bcprisme/34540_giant_prise_de_raccorde.jpg
2023-10-13	12:19:16	138	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:16	138	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34540_giant_prise_de_raccorde.jpg'
2023-10-13	12:19:16	138	[DEBUG]	Query for Media
2023-10-13	12:19:16	138	[DEBUG]	Executed store
2023-10-13	12:19:16	138	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34540_giant_prise_de_raccorde.jpg',`file_url_thumb`='bcprisme/34540_giant_prise_de_raccorde.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '158269'
2023-10-13	12:19:16	138	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:16	138	[DEBUG]	Executed store
2023-10-13	12:19:16	138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859630','158269','1')
2023-10-13	12:19:16	138	[DEBUG]	Store product image relation
2023-10-13	12:19:16	138	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:16	138	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859630 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:16	138	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:16	138	[DEBUG]	Executed store
2023-10-13	12:19:16	138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859630','0','33.3333333333333','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:16	138	[DEBUG]	Checking manufacturer
2023-10-13	12:19:16	138	[DEBUG]	Load a row
2023-10-13	12:19:16	138	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:16	138	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:16	138	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:16	138	[DEBUG]	Executed store
2023-10-13	12:19:16	138	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:16	138	[DEBUG]	Manufacturer exists
2023-10-13	12:19:16	138	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:16	138	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:16	138	[DEBUG]	Executed store
2023-10-13	12:19:16	138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859630','29')
2023-10-13	12:19:16	138	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:16	138	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:16	138	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859630 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:16	138	[DEBUG]	Store custom available field
2023-10-13	12:19:16	138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859630,3,'',1)
2023-10-13	12:19:16	138	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:16	138	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:19:16	138	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859630 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:16	138	[DEBUG]	Store custom available field
2023-10-13	12:19:16	138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859630,6,'Set',3)
2023-10-13	12:19:16	138	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:16	138	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:16	138	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859629
2023-10-13	12:19:16	138	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:16	138	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1859629\":[1859629,8,1,\"choisir la taille\"],\"1859630\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1859629
2023-10-13	12:19:16	138	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:16	138	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859630
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:16	139	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field taille
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:16	139	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:16	139	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:16	139	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:16	139	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:16	139	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:16	139	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field published
2023-10-13	12:19:16	139	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:16	139	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field override
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:16	139	[DEBUG]	Use field value for field slug
2023-10-13	12:19:16	139	[DEBUG]	Process line 139
2023-10-13	12:19:16	139	[DEBUG]	Load a row
2023-10-13	12:19:16	139	[DEBUG]	Processing item: A_7563_0
2023-10-13	12:19:16	139	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:16	139	[DEBUG]	Processing product tax
2023-10-13	12:19:16	139	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:16	139	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:16	139	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:16	139	[DEBUG]	Query for Product
2023-10-13	12:19:16	139	[DEBUG]	Executed store
2023-10-13	12:19:16	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7563_0','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:16	139	[DEBUG]	Check product language entry
2023-10-13	12:19:16	139	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859631
2023-10-13	12:19:16	139	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:16	139	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7563_0' AND `virtuemart_product_id` != 1859631
2023-10-13	12:19:16	139	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:16	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859631, 'A_7563_0')
2023-10-13	12:19:16	139	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:16	139	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-cables-giant-pour-e-bike-modele-my20-accu-moteur-unique' AND `virtuemart_product_id` != 1859631
2023-10-13	12:19:16	139	[DEBUG]	Query for ProductLang
2023-10-13	12:19:16	139	[DEBUG]	Executed store
2023-10-13	12:19:16	139	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.100',`product_name`='GIANT Câbles Giant pour E-bike modèle MY20 accu =) moteur / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-cables-giant-pour-e-bike-modele-my20-accu-moteur-unique' WHERE `virtuemart_product_id` = '1859631'
2023-10-13	12:19:16	139	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34976_cebles_giant_pour_e-bike_modele_my20_accu_=)_moteur.jpg
2023-10-13	12:19:16	139	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:16	139	[DEBUG]	Process image file
2023-10-13	12:19:16	139	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:16	139	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:16	139	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34976_cebles_giant_pour_e-bike_modele_my20_accu_=)_moteur.jpg
2023-10-13	12:19:16	139	[DEBUG]	Full name target: bcprisme/34976_cebles_giant_pour_e-bike_modele_my20_accu_=)_moteur.jpg
2023-10-13	12:19:17	139	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:17	139	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34976_cebles_giant_pour_e-bike_modele_my20_accu_=)_moteur.jpg'
2023-10-13	12:19:17	139	[DEBUG]	Query for Media
2023-10-13	12:19:17	139	[DEBUG]	Executed store
2023-10-13	12:19:17	139	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34976_cebles_giant_pour_e-bike_modele_my20_accu_=)_moteur.jpg',`file_url_thumb`='bcprisme/34976_cebles_giant_pour_e-bike_modele_my20_accu_=)_moteur.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '315736'
2023-10-13	12:19:17	139	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:17	139	[DEBUG]	Executed store
2023-10-13	12:19:17	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859631','315736','1')
2023-10-13	12:19:17	139	[DEBUG]	Store product image relation
2023-10-13	12:19:17	139	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:17	139	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859631 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:17	139	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:17	139	[DEBUG]	Executed store
2023-10-13	12:19:17	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859631','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:17	139	[DEBUG]	Checking manufacturer
2023-10-13	12:19:17	139	[DEBUG]	Load a row
2023-10-13	12:19:17	139	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:17	139	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:17	139	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:17	139	[DEBUG]	Executed store
2023-10-13	12:19:17	139	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:17	139	[DEBUG]	Manufacturer exists
2023-10-13	12:19:17	139	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:17	139	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:17	139	[DEBUG]	Executed store
2023-10-13	12:19:17	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859631','29')
2023-10-13	12:19:17	139	[DEBUG]	Find the custom field ID
2023-10-13	12:19:17	139	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:17	139	[DEBUG]	No custom field ID found
2023-10-13	12:19:17	139	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:17	139	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:17	139	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859631 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:17	139	[DEBUG]	Store custom available field
2023-10-13	12:19:17	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859631,3,'0',1)
2023-10-13	12:19:17	139	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:17	139	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:17	139	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859631 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:17	139	[DEBUG]	Store custom available field
2023-10-13	12:19:17	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859631,6,'choisir la taille',3)
2023-10-13	12:19:17	139	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:17	139	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:17	139	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:17	139	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:17	139	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859631 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:17	139	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:17	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859631,8,1)
2023-10-13	12:19:17	139	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:17	139	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859631\":[1859631,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859631
2023-10-13	12:19:17	139	[DEBUG]	Checking category
2023-10-13	12:19:17	139	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:17	139	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859631
2023-10-13	12:19:17	139	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:17	139	[DEBUG]	Executed store
2023-10-13	12:19:17	139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859631','7274')
2023-10-13	12:19:17	139	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:17	139	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859631 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:17	139	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:17	139	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859631
2023-10-13	12:19:17	140	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:17	140	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:17	140	[DEBUG]	Use field value for field taille
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:17	140	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:17	140	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:17	140	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:17	140	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:17	140	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:17	140	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:17	140	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:17	140	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:17	140	[DEBUG]	Use field value for field published
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:17	140	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field override
2023-10-13	12:19:17	140	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:17	140	[DEBUG]	Use field value for field slug
2023-10-13	12:19:17	140	[DEBUG]	Process line 140
2023-10-13	12:19:17	140	[DEBUG]	Load a row
2023-10-13	12:19:17	140	[DEBUG]	Processing item: 147L'HDB000'40
2023-10-13	12:19:17	140	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:17	140	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:17	140	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7563_0'
2023-10-13	12:19:17	140	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:17	140	[DEBUG]	Processing product tax
2023-10-13	12:19:17	140	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:17	140	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:17	140	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:17	140	[DEBUG]	Query for Product
2023-10-13	12:19:17	140	[DEBUG]	Executed store
2023-10-13	12:19:17	140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859631','147L\'HDB000\'40','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:17	140	[DEBUG]	No parent found
2023-10-13	12:19:17	140	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859631 AND customfield_value = 'stockable'
2023-10-13	12:19:17	140	[DEBUG]	Check product language entry
2023-10-13	12:19:17	140	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859632
2023-10-13	12:19:17	140	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:17	140	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '147L\'HDB000\'40' AND `virtuemart_product_id` != 1859632
2023-10-13	12:19:17	140	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:17	140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859632, '147L\'HDB000\'40')
2023-10-13	12:19:17	140	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:17	140	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-cables-giant-pour-e-bike-modele-my20-accu-moteur-unique-unitaire' AND `virtuemart_product_id` != 1859632
2023-10-13	12:19:17	140	[DEBUG]	Query for ProductLang
2023-10-13	12:19:17	140	[DEBUG]	Executed store
2023-10-13	12:19:17	140	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Câbles Giant pour E-bike modèle MY20 accu =) moteur / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-cables-giant-pour-e-bike-modele-my20-accu-moteur-unique-unitaire' WHERE `virtuemart_product_id` = '1859632'
2023-10-13	12:19:17	140	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34976_cebles_giant_pour_e-bike_modele_my20_accu_=)_moteur.jpg
2023-10-13	12:19:17	140	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:17	140	[DEBUG]	Process image file
2023-10-13	12:19:17	140	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:17	140	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:17	140	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34976_cebles_giant_pour_e-bike_modele_my20_accu_=)_moteur.jpg
2023-10-13	12:19:17	140	[DEBUG]	Full name target: bcprisme/34976_cebles_giant_pour_e-bike_modele_my20_accu_=)_moteur.jpg
2023-10-13	12:19:18	140	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:18	140	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34976_cebles_giant_pour_e-bike_modele_my20_accu_=)_moteur.jpg'
2023-10-13	12:19:18	140	[DEBUG]	Query for Media
2023-10-13	12:19:18	140	[DEBUG]	Executed store
2023-10-13	12:19:18	140	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34976_cebles_giant_pour_e-bike_modele_my20_accu_=)_moteur.jpg',`file_url_thumb`='bcprisme/34976_cebles_giant_pour_e-bike_modele_my20_accu_=)_moteur.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '315736'
2023-10-13	12:19:18	140	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:18	140	[DEBUG]	Executed store
2023-10-13	12:19:18	140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859632','315736','1')
2023-10-13	12:19:18	140	[DEBUG]	Store product image relation
2023-10-13	12:19:18	140	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:18	140	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859632 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:18	140	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:18	140	[DEBUG]	Executed store
2023-10-13	12:19:18	140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859632','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:18	140	[DEBUG]	Checking manufacturer
2023-10-13	12:19:18	140	[DEBUG]	Load a row
2023-10-13	12:19:18	140	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:18	140	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:18	140	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:18	140	[DEBUG]	Executed store
2023-10-13	12:19:18	140	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:18	140	[DEBUG]	Manufacturer exists
2023-10-13	12:19:18	140	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:18	140	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:18	140	[DEBUG]	Executed store
2023-10-13	12:19:18	140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859632','29')
2023-10-13	12:19:18	140	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:18	140	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:18	140	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859632 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:18	140	[DEBUG]	Store custom available field
2023-10-13	12:19:18	140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859632,3,'',1)
2023-10-13	12:19:18	140	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:18	140	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:18	140	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859632 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:18	140	[DEBUG]	Store custom available field
2023-10-13	12:19:18	140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859632,6,'Unitaire',3)
2023-10-13	12:19:18	140	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:18	140	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:18	140	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859631
2023-10-13	12:19:18	140	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:18	140	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859631\":[1859631,8,1,\"choisir la taille\"],\"1859632\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859631
2023-10-13	12:19:18	140	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:18	140	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859632
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:18	141	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field taille
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:18	141	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:18	141	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:18	141	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:18	141	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:18	141	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:18	141	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field published
2023-10-13	12:19:18	141	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:18	141	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field override
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:18	141	[DEBUG]	Use field value for field slug
2023-10-13	12:19:18	141	[DEBUG]	Process line 141
2023-10-13	12:19:18	141	[DEBUG]	Load a row
2023-10-13	12:19:18	141	[DEBUG]	Processing item: A_7963_1
2023-10-13	12:19:18	141	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:18	141	[DEBUG]	Processing product tax
2023-10-13	12:19:18	141	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:18	141	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:18	141	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:18	141	[DEBUG]	Query for Product
2023-10-13	12:19:18	141	[DEBUG]	Executed store
2023-10-13	12:19:18	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7963_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:18	141	[DEBUG]	Check product language entry
2023-10-13	12:19:18	141	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859633
2023-10-13	12:19:18	141	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:18	141	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7963_1' AND `virtuemart_product_id` != 1859633
2023-10-13	12:19:18	141	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:18	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859633, 'A_7963_1')
2023-10-13	12:19:18	141	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:18	141	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-connecteur-de-chage-147-l---hdc000-01-pour-e-bikes-my19-et-my20-noir' AND `virtuemart_product_id` != 1859633
2023-10-13	12:19:18	141	[DEBUG]	Query for ProductLang
2023-10-13	12:19:18	141	[DEBUG]	Executed store
2023-10-13	12:19:18	141	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.091',`product_name`='GIANT Connecteur de chage 147 L - HDC000-01 pour E-Bikes MY19 et My20 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-connecteur-de-chage-147-l---hdc000-01-pour-e-bikes-my19-et-my20-noir' WHERE `virtuemart_product_id` = '1859633'
2023-10-13	12:19:18	141	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36422_giant_connecteur_de_chage_147_l_-_hdc000-01_pour_e-bikes_my19_et_my20.jpg
2023-10-13	12:19:18	141	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:19:18	141	[DEBUG]	Process image file
2023-10-13	12:19:18	141	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:19:18	141	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:18	141	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36422_giant_connecteur_de_chage_147_l_-_hdc000-01_pour_e-bikes_my19_et_my20.jpg
2023-10-13	12:19:18	141	[DEBUG]	Full name target: bcprisme/36422_giant_connecteur_de_chage_147_l_-_hdc000-01_pour_e-bikes_my19_et_my20.jpg
2023-10-13	12:19:19	141	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:19	141	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36422_giant_connecteur_de_chage_147_l_-_hdc000-01_pour_e-bikes_my19_et_my20.jpg'
2023-10-13	12:19:19	141	[DEBUG]	Query for Media
2023-10-13	12:19:19	141	[DEBUG]	Executed store
2023-10-13	12:19:19	141	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36422_giant_connecteur_de_chage_147_l_-_hdc000-01_pour_e-bikes_my19_et_my20.jpg',`file_url_thumb`='bcprisme/36422_giant_connecteur_de_chage_147_l_-_hdc000-01_pour_e-bikes_my19_et_my20.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '575315'
2023-10-13	12:19:19	141	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:19	141	[DEBUG]	Executed store
2023-10-13	12:19:19	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859633','575315','1')
2023-10-13	12:19:19	141	[DEBUG]	Store product image relation
2023-10-13	12:19:19	141	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:19	141	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859633 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:19	141	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:19	141	[DEBUG]	Executed store
2023-10-13	12:19:19	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859633','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:19	141	[DEBUG]	Checking manufacturer
2023-10-13	12:19:19	141	[DEBUG]	Load a row
2023-10-13	12:19:19	141	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:19	141	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:19	141	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:19	141	[DEBUG]	Executed store
2023-10-13	12:19:19	141	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:19	141	[DEBUG]	Manufacturer exists
2023-10-13	12:19:19	141	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:19	141	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:19	141	[DEBUG]	Executed store
2023-10-13	12:19:19	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859633','29')
2023-10-13	12:19:19	141	[DEBUG]	Find the custom field ID
2023-10-13	12:19:19	141	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:19	141	[DEBUG]	No custom field ID found
2023-10-13	12:19:19	141	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:19	141	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:19:19	141	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859633 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:19	141	[DEBUG]	Store custom available field
2023-10-13	12:19:19	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859633,3,'12.8641666666667',1)
2023-10-13	12:19:19	141	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:19	141	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:19	141	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859633 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:19	141	[DEBUG]	Store custom available field
2023-10-13	12:19:19	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859633,6,'choisir la taille',3)
2023-10-13	12:19:19	141	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:19	141	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:19	141	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:19	141	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:19	141	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859633 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:19	141	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:19	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859633,8,1)
2023-10-13	12:19:19	141	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:19	141	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859633\":[1859633,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859633
2023-10-13	12:19:19	141	[DEBUG]	Checking category
2023-10-13	12:19:19	141	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:19	141	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859633
2023-10-13	12:19:19	141	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:19	141	[DEBUG]	Executed store
2023-10-13	12:19:19	141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859633','7274')
2023-10-13	12:19:19	141	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:19	141	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859633 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:19	141	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:19	141	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859633
2023-10-13	12:19:19	142	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:19	142	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:19	142	[DEBUG]	Use field value for field taille
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:19	142	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:19	142	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:19	142	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:19	142	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:19	142	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:19	142	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:19	142	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:19	142	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:19	142	[DEBUG]	Use field value for field published
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:19	142	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field override
2023-10-13	12:19:19	142	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:19	142	[DEBUG]	Use field value for field slug
2023-10-13	12:19:19	142	[DEBUG]	Process line 142
2023-10-13	12:19:19	142	[DEBUG]	Load a row
2023-10-13	12:19:19	142	[DEBUG]	Processing item: 147L'HDC000'01
2023-10-13	12:19:19	142	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:19	142	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:19	142	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7963_1'
2023-10-13	12:19:19	142	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:19	142	[DEBUG]	Processing product tax
2023-10-13	12:19:19	142	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:19	142	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:19	142	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:19	142	[DEBUG]	Query for Product
2023-10-13	12:19:19	142	[DEBUG]	Executed store
2023-10-13	12:19:19	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859633','147L\'HDC000\'01','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:19	142	[DEBUG]	No parent found
2023-10-13	12:19:19	142	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859633 AND customfield_value = 'stockable'
2023-10-13	12:19:19	142	[DEBUG]	Check product language entry
2023-10-13	12:19:19	142	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859634
2023-10-13	12:19:19	142	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:19	142	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '147L\'HDC000\'01' AND `virtuemart_product_id` != 1859634
2023-10-13	12:19:19	142	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:19	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859634, '147L\'HDC000\'01')
2023-10-13	12:19:19	142	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:19	142	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-connecteur-de-chage-147-l---hdc000-01-pour-e-bikes-my19-et-my20-noir-unitaire' AND `virtuemart_product_id` != 1859634
2023-10-13	12:19:19	142	[DEBUG]	Query for ProductLang
2023-10-13	12:19:19	142	[DEBUG]	Executed store
2023-10-13	12:19:19	142	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Connecteur de chage 147 L - HDC000-01 pour E-Bikes MY19 et My20 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-connecteur-de-chage-147-l---hdc000-01-pour-e-bikes-my19-et-my20-noir-unitaire' WHERE `virtuemart_product_id` = '1859634'
2023-10-13	12:19:19	142	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36422_giant_connecteur_de_chage_147_l_-_hdc000-01_pour_e-bikes_my19_et_my20.jpg
2023-10-13	12:19:19	142	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:19:19	142	[DEBUG]	Process image file
2023-10-13	12:19:19	142	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:19:19	142	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:19	142	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36422_giant_connecteur_de_chage_147_l_-_hdc000-01_pour_e-bikes_my19_et_my20.jpg
2023-10-13	12:19:19	142	[DEBUG]	Full name target: bcprisme/36422_giant_connecteur_de_chage_147_l_-_hdc000-01_pour_e-bikes_my19_et_my20.jpg
2023-10-13	12:19:20	142	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:20	142	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36422_giant_connecteur_de_chage_147_l_-_hdc000-01_pour_e-bikes_my19_et_my20.jpg'
2023-10-13	12:19:20	142	[DEBUG]	Query for Media
2023-10-13	12:19:20	142	[DEBUG]	Executed store
2023-10-13	12:19:20	142	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36422_giant_connecteur_de_chage_147_l_-_hdc000-01_pour_e-bikes_my19_et_my20.jpg',`file_url_thumb`='bcprisme/36422_giant_connecteur_de_chage_147_l_-_hdc000-01_pour_e-bikes_my19_et_my20.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '575315'
2023-10-13	12:19:20	142	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:20	142	[DEBUG]	Executed store
2023-10-13	12:19:20	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859634','575315','1')
2023-10-13	12:19:20	142	[DEBUG]	Store product image relation
2023-10-13	12:19:20	142	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:20	142	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859634 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:20	142	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:20	142	[DEBUG]	Executed store
2023-10-13	12:19:20	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859634','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:20	142	[DEBUG]	Checking manufacturer
2023-10-13	12:19:20	142	[DEBUG]	Load a row
2023-10-13	12:19:20	142	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:20	142	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:20	142	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:20	142	[DEBUG]	Executed store
2023-10-13	12:19:20	142	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:20	142	[DEBUG]	Manufacturer exists
2023-10-13	12:19:20	142	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:20	142	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:20	142	[DEBUG]	Executed store
2023-10-13	12:19:20	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859634','29')
2023-10-13	12:19:20	142	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:20	142	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:20	142	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859634 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:20	142	[DEBUG]	Store custom available field
2023-10-13	12:19:20	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859634,3,'',1)
2023-10-13	12:19:20	142	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:20	142	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:20	142	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859634 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:20	142	[DEBUG]	Store custom available field
2023-10-13	12:19:20	142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859634,6,'Unitaire',3)
2023-10-13	12:19:20	142	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:20	142	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:20	142	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859633
2023-10-13	12:19:20	142	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:20	142	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859633\":[1859633,8,1,\"choisir la taille\"],\"1859634\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859633
2023-10-13	12:19:20	142	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:20	142	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859634
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:20	143	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field taille
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:20	143	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:20	143	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:20	143	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:20	143	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:20	143	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:20	143	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field published
2023-10-13	12:19:20	143	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:20	143	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field override
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:20	143	[DEBUG]	Use field value for field slug
2023-10-13	12:19:20	143	[DEBUG]	Process line 143
2023-10-13	12:19:20	143	[DEBUG]	Load a row
2023-10-13	12:19:20	143	[DEBUG]	Processing item: A_7981_584
2023-10-13	12:19:20	143	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:20	143	[DEBUG]	Processing product tax
2023-10-13	12:19:20	143	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:20	143	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:20	143	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:20	143	[DEBUG]	Query for Product
2023-10-13	12:19:20	143	[DEBUG]	Executed store
2023-10-13	12:19:20	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7981_584','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:20	143	[DEBUG]	Check product language entry
2023-10-13	12:19:20	143	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859635
2023-10-13	12:19:20	143	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:20	143	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7981_584' AND `virtuemart_product_id` != 1859635
2023-10-13	12:19:20	143	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:20	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859635, 'A_7981_584')
2023-10-13	12:19:20	143	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:20	143	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cable-electrique-ew-sd350-e-tube-di2-600mm-interne-noir-box-schwarz' AND `virtuemart_product_id` != 1859635
2023-10-13	12:19:20	143	[DEBUG]	Query for ProductLang
2023-10-13	12:19:20	143	[DEBUG]	Executed store
2023-10-13	12:19:20	143	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 86.77924',`product_name`='SHIMANO Câble électrique EW-SD350 E-Tube /Di2 600mm interne noir box / schwarz',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cable-electrique-ew-sd350-e-tube-di2-600mm-interne-noir-box-schwarz' WHERE `virtuemart_product_id` = '1859635'
2023-10-13	12:19:20	143	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_77916_001_jpg.jpg has not been found.
2023-10-13	12:19:20	143	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:20	143	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859635 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:20	143	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:20	143	[DEBUG]	Executed store
2023-10-13	12:19:20	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859635','0','35.1903435468895','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:20	143	[DEBUG]	Checking manufacturer
2023-10-13	12:19:20	143	[DEBUG]	Load a row
2023-10-13	12:19:20	143	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:20	143	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:20	143	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:20	143	[DEBUG]	Executed store
2023-10-13	12:19:20	143	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:20	143	[DEBUG]	Manufacturer exists
2023-10-13	12:19:20	143	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:19:20	143	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:20	143	[DEBUG]	Executed store
2023-10-13	12:19:20	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859635','26')
2023-10-13	12:19:20	143	[DEBUG]	Find the custom field ID
2023-10-13	12:19:20	143	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:20	143	[DEBUG]	No custom field ID found
2023-10-13	12:19:20	143	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:20	143	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:20	143	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859635 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:20	143	[DEBUG]	Store custom available field
2023-10-13	12:19:20	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859635,3,'0',1)
2023-10-13	12:19:20	143	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:20	143	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:20	143	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859635 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:20	143	[DEBUG]	Store custom available field
2023-10-13	12:19:20	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859635,6,'choisir la taille',3)
2023-10-13	12:19:20	143	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:20	143	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:20	143	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:20	143	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:20	143	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859635 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:20	143	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:20	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859635,8,1)
2023-10-13	12:19:20	143	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:20	143	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859635\":[1859635,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859635
2023-10-13	12:19:20	143	[DEBUG]	Checking category
2023-10-13	12:19:20	143	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:20	143	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859635
2023-10-13	12:19:20	143	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:20	143	[DEBUG]	Executed store
2023-10-13	12:19:20	143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859635','7274')
2023-10-13	12:19:20	143	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:20	143	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859635 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:20	143	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:20	143	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859635
2023-10-13	12:19:20	144	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:20	144	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:20	144	[DEBUG]	Use field value for field taille
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:20	144	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:20	144	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:20	144	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:20	144	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:20	144	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:20	144	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:20	144	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:20	144	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:20	144	[DEBUG]	Use field value for field published
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:20	144	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field override
2023-10-13	12:19:20	144	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:20	144	[DEBUG]	Use field value for field slug
2023-10-13	12:19:20	144	[DEBUG]	Process line 144
2023-10-13	12:19:20	144	[DEBUG]	Load a row
2023-10-13	12:19:20	144	[DEBUG]	Processing item: 4550170635237
2023-10-13	12:19:20	144	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:20	144	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:20	144	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7981_584'
2023-10-13	12:19:20	144	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:20	144	[DEBUG]	Processing product tax
2023-10-13	12:19:20	144	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:20	144	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:20	144	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:20	144	[DEBUG]	Query for Product
2023-10-13	12:19:20	144	[DEBUG]	Executed store
2023-10-13	12:19:20	144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859635','4550170635237','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:20	144	[DEBUG]	No parent found
2023-10-13	12:19:20	144	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859635 AND customfield_value = 'stockable'
2023-10-13	12:19:20	144	[DEBUG]	Check product language entry
2023-10-13	12:19:20	144	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859636
2023-10-13	12:19:20	144	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:20	144	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170635237' AND `virtuemart_product_id` != 1859636
2023-10-13	12:19:20	144	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:20	144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859636, '4550170635237')
2023-10-13	12:19:20	144	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:20	144	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cable-electrique-ew-sd350-e-tube-di2-600mm-interne-noir-box-schwarz-unitaire' AND `virtuemart_product_id` != 1859636
2023-10-13	12:19:20	144	[DEBUG]	Query for ProductLang
2023-10-13	12:19:20	144	[DEBUG]	Executed store
2023-10-13	12:19:20	144	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Câble électrique EW-SD350 E-Tube /Di2 600mm interne noir box / schwarz (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cable-electrique-ew-sd350-e-tube-di2-600mm-interne-noir-box-schwarz-unitaire' WHERE `virtuemart_product_id` = '1859636'
2023-10-13	12:19:20	144	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_77916_001_jpg.jpg has not been found.
2023-10-13	12:19:20	144	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:20	144	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859636 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:20	144	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:20	144	[DEBUG]	Executed store
2023-10-13	12:19:20	144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859636','0','35.1903435468895','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:20	144	[DEBUG]	Checking manufacturer
2023-10-13	12:19:20	144	[DEBUG]	Load a row
2023-10-13	12:19:20	144	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:20	144	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:20	144	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:20	144	[DEBUG]	Executed store
2023-10-13	12:19:20	144	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:20	144	[DEBUG]	Manufacturer exists
2023-10-13	12:19:20	144	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:19:20	144	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:20	144	[DEBUG]	Executed store
2023-10-13	12:19:20	144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859636','26')
2023-10-13	12:19:20	144	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:20	144	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:20	144	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859636 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:20	144	[DEBUG]	Store custom available field
2023-10-13	12:19:20	144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859636,3,'',1)
2023-10-13	12:19:20	144	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:20	144	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:20	144	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859636 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:20	144	[DEBUG]	Store custom available field
2023-10-13	12:19:20	144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859636,6,'Unitaire',3)
2023-10-13	12:19:20	144	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:20	144	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:20	144	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859635
2023-10-13	12:19:20	144	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:20	144	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859635\":[1859635,8,1,\"choisir la taille\"],\"1859636\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859635
2023-10-13	12:19:20	144	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:20	144	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859636
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:20	145	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field taille
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:20	145	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:20	145	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:20	145	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:20	145	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:20	145	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:20	145	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field published
2023-10-13	12:19:20	145	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:20	145	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field override
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:20	145	[DEBUG]	Use field value for field slug
2023-10-13	12:19:20	145	[DEBUG]	Process line 145
2023-10-13	12:19:20	145	[DEBUG]	Load a row
2023-10-13	12:19:20	145	[DEBUG]	Processing item: A_8328_1
2023-10-13	12:19:20	145	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:20	145	[DEBUG]	Processing product tax
2023-10-13	12:19:20	145	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:20	145	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:20	145	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:20	145	[DEBUG]	Query for Product
2023-10-13	12:19:20	145	[DEBUG]	Executed store
2023-10-13	12:19:20	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8328_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:20	145	[DEBUG]	Check product language entry
2023-10-13	12:19:20	145	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859637
2023-10-13	12:19:20	145	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:20	145	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8328_1' AND `virtuemart_product_id` != 1859637
2023-10-13	12:19:20	145	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:20	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859637, 'A_8328_1')
2023-10-13	12:19:20	145	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:20	145	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-chargeur-energy-pack-smart-chargeur-4a-noir' AND `virtuemart_product_id` != 1859637
2023-10-13	12:19:20	145	[DEBUG]	Query for ProductLang
2023-10-13	12:19:20	145	[DEBUG]	Executed store
2023-10-13	12:19:20	145	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.140',`product_name`='GIANT Chargeur Energy Pack Smart Chargeur 4A / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-chargeur-energy-pack-smart-chargeur-4a-noir' WHERE `virtuemart_product_id` = '1859637'
2023-10-13	12:19:20	145	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36963_giant_chargeur_energy_pack_smart_chargeur.gif
2023-10-13	12:19:20	145	[DEBUG]	Identity string: 47494638376100048002d5000004020484828444
2023-10-13	12:19:20	145	[DEBUG]	Process image file
2023-10-13	12:19:20	145	[DEBUG]	Identity string: 47494638376100048002d5000004020484828444
2023-10-13	12:19:20	145	[DEBUG]	Mime type found: image/gif
2023-10-13	12:19:20	145	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36963_giant_chargeur_energy_pack_smart_chargeur.gif
2023-10-13	12:19:20	145	[DEBUG]	Full name target: bcprisme/36963_giant_chargeur_energy_pack_smart_chargeur.gif
2023-10-13	12:19:21	145	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:21	145	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36963_giant_chargeur_energy_pack_smart_chargeur.gif'
2023-10-13	12:19:21	145	[DEBUG]	Query for Media
2023-10-13	12:19:21	145	[DEBUG]	Executed store
2023-10-13	12:19:21	145	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/gif',`file_type`='product',`file_url`='bcprisme/36963_giant_chargeur_energy_pack_smart_chargeur.gif',`file_url_thumb`='bcprisme/36963_giant_chargeur_energy_pack_smart_chargeur.gif',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '785646'
2023-10-13	12:19:21	145	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:21	145	[DEBUG]	Executed store
2023-10-13	12:19:21	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859637','785646','1')
2023-10-13	12:19:21	145	[DEBUG]	Store product image relation
2023-10-13	12:19:21	145	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:21	145	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859637 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:21	145	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:21	145	[DEBUG]	Executed store
2023-10-13	12:19:21	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859637','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:21	145	[DEBUG]	Checking manufacturer
2023-10-13	12:19:21	145	[DEBUG]	Load a row
2023-10-13	12:19:21	145	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:21	145	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:21	145	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:21	145	[DEBUG]	Executed store
2023-10-13	12:19:21	145	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:21	145	[DEBUG]	Manufacturer exists
2023-10-13	12:19:21	145	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:21	145	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:21	145	[DEBUG]	Executed store
2023-10-13	12:19:21	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859637','29')
2023-10-13	12:19:21	145	[DEBUG]	Find the custom field ID
2023-10-13	12:19:21	145	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:21	145	[DEBUG]	No custom field ID found
2023-10-13	12:19:21	145	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:21	145	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:19:21	145	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859637 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:21	145	[DEBUG]	Store custom available field
2023-10-13	12:19:21	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859637,3,'12.8641666666667',1)
2023-10-13	12:19:21	145	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:21	145	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:21	145	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859637 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:21	145	[DEBUG]	Store custom available field
2023-10-13	12:19:21	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859637,6,'choisir la taille',3)
2023-10-13	12:19:21	145	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:21	145	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:21	145	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:21	145	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:21	145	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859637 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:21	145	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:21	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859637,8,1)
2023-10-13	12:19:21	145	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:21	145	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859637\":[1859637,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859637
2023-10-13	12:19:21	145	[DEBUG]	Checking category
2023-10-13	12:19:21	145	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:21	145	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859637
2023-10-13	12:19:21	145	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:21	145	[DEBUG]	Executed store
2023-10-13	12:19:21	145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859637','7274')
2023-10-13	12:19:21	145	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:21	145	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859637 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:21	145	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:21	145	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859637
2023-10-13	12:19:21	146	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:21	146	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:21	146	[DEBUG]	Use field value for field taille
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:21	146	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:21	146	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:21	146	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:21	146	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:21	146	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:21	146	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:21	146	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:21	146	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:21	146	[DEBUG]	Use field value for field published
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:21	146	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field override
2023-10-13	12:19:21	146	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:21	146	[DEBUG]	Use field value for field slug
2023-10-13	12:19:21	146	[DEBUG]	Process line 146
2023-10-13	12:19:21	146	[DEBUG]	Load a row
2023-10-13	12:19:21	146	[DEBUG]	Processing item: 544MQQE36V'18
2023-10-13	12:19:21	146	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:21	146	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:21	146	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8328_1'
2023-10-13	12:19:21	146	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:21	146	[DEBUG]	Processing product tax
2023-10-13	12:19:21	146	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:21	146	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:21	146	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:21	146	[DEBUG]	Query for Product
2023-10-13	12:19:21	146	[DEBUG]	Executed store
2023-10-13	12:19:21	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859637','544MQQE36V\'18','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:21	146	[DEBUG]	No parent found
2023-10-13	12:19:21	146	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859637 AND customfield_value = 'stockable'
2023-10-13	12:19:21	146	[DEBUG]	Check product language entry
2023-10-13	12:19:21	146	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859638
2023-10-13	12:19:21	146	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:21	146	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '544MQQE36V\'18' AND `virtuemart_product_id` != 1859638
2023-10-13	12:19:21	146	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:21	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859638, '544MQQE36V\'18')
2023-10-13	12:19:21	146	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:21	146	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-chargeur-energy-pack-smart-chargeur-4a-noir-set' AND `virtuemart_product_id` != 1859638
2023-10-13	12:19:21	146	[DEBUG]	Query for ProductLang
2023-10-13	12:19:21	146	[DEBUG]	Executed store
2023-10-13	12:19:21	146	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Chargeur Energy Pack Smart Chargeur 4A / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-chargeur-energy-pack-smart-chargeur-4a-noir-set' WHERE `virtuemart_product_id` = '1859638'
2023-10-13	12:19:21	146	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36963_giant_chargeur_energy_pack_smart_chargeur.gif
2023-10-13	12:19:21	146	[DEBUG]	Identity string: 47494638376100048002d5000004020484828444
2023-10-13	12:19:21	146	[DEBUG]	Process image file
2023-10-13	12:19:21	146	[DEBUG]	Identity string: 47494638376100048002d5000004020484828444
2023-10-13	12:19:21	146	[DEBUG]	Mime type found: image/gif
2023-10-13	12:19:21	146	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36963_giant_chargeur_energy_pack_smart_chargeur.gif
2023-10-13	12:19:21	146	[DEBUG]	Full name target: bcprisme/36963_giant_chargeur_energy_pack_smart_chargeur.gif
2023-10-13	12:19:22	146	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:22	146	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36963_giant_chargeur_energy_pack_smart_chargeur.gif'
2023-10-13	12:19:22	146	[DEBUG]	Query for Media
2023-10-13	12:19:22	146	[DEBUG]	Executed store
2023-10-13	12:19:22	146	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/gif',`file_type`='product',`file_url`='bcprisme/36963_giant_chargeur_energy_pack_smart_chargeur.gif',`file_url_thumb`='bcprisme/36963_giant_chargeur_energy_pack_smart_chargeur.gif',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '785646'
2023-10-13	12:19:22	146	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:22	146	[DEBUG]	Executed store
2023-10-13	12:19:22	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859638','785646','1')
2023-10-13	12:19:22	146	[DEBUG]	Store product image relation
2023-10-13	12:19:22	146	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:22	146	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859638 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:22	146	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:22	146	[DEBUG]	Executed store
2023-10-13	12:19:22	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859638','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:22	146	[DEBUG]	Checking manufacturer
2023-10-13	12:19:22	146	[DEBUG]	Load a row
2023-10-13	12:19:22	146	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:22	146	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:22	146	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:22	146	[DEBUG]	Executed store
2023-10-13	12:19:22	146	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:22	146	[DEBUG]	Manufacturer exists
2023-10-13	12:19:22	146	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:22	146	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:22	146	[DEBUG]	Executed store
2023-10-13	12:19:22	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859638','29')
2023-10-13	12:19:22	146	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:22	146	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:22	146	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859638 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:22	146	[DEBUG]	Store custom available field
2023-10-13	12:19:22	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859638,3,'',1)
2023-10-13	12:19:22	146	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:22	146	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:19:22	146	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859638 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:22	146	[DEBUG]	Store custom available field
2023-10-13	12:19:22	146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859638,6,'Set',3)
2023-10-13	12:19:22	146	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:22	146	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:22	146	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859637
2023-10-13	12:19:22	146	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:22	146	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1859637\":[1859637,8,1,\"choisir la taille\"],\"1859638\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1859637
2023-10-13	12:19:22	146	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:22	146	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859638
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:22	147	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field taille
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:22	147	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:22	147	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:22	147	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:22	147	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:22	147	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:22	147	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field published
2023-10-13	12:19:22	147	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:22	147	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field override
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:22	147	[DEBUG]	Use field value for field slug
2023-10-13	12:19:22	147	[DEBUG]	Process line 147
2023-10-13	12:19:22	147	[DEBUG]	Load a row
2023-10-13	12:19:22	147	[DEBUG]	Processing item: A_8429_208
2023-10-13	12:19:22	147	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:22	147	[DEBUG]	Processing product tax
2023-10-13	12:19:22	147	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:22	147	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:22	147	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:22	147	[DEBUG]	Query for Product
2023-10-13	12:19:22	147	[DEBUG]	Executed store
2023-10-13	12:19:22	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8429_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:22	147	[DEBUG]	Check product language entry
2023-10-13	12:19:22	147	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859639
2023-10-13	12:19:22	147	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:22	147	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8429_208' AND `virtuemart_product_id` != 1859639
2023-10-13	12:19:22	147	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:22	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859639, 'A_8429_208')
2023-10-13	12:19:22	147	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:22	147	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-cable-de-connexion-batterie-cadre-520mm-active-performance-aucune' AND `virtuemart_product_id` != 1859639
2023-10-13	12:19:22	147	[DEBUG]	Query for ProductLang
2023-10-13	12:19:22	147	[DEBUG]	Executed store
2023-10-13	12:19:22	147	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.59500',`product_name`='Bosch Câble de connexion batterie cadre 520mm Active/Performance / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-cable-de-connexion-batterie-cadre-520mm-active-performance-aucune' WHERE `virtuemart_product_id` = '1859639'
2023-10-13	12:19:22	147	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_59499_jpg.jpg
2023-10-13	12:19:22	147	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:22	147	[DEBUG]	Process image file
2023-10-13	12:19:22	147	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:22	147	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:22	147	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_59499_jpg.jpg
2023-10-13	12:19:22	147	[DEBUG]	Full name target: bcprisme/56_59499_jpg.jpg
2023-10-13	12:19:23	147	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:23	147	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_59499_jpg.jpg'
2023-10-13	12:19:23	147	[DEBUG]	Query for Media
2023-10-13	12:19:23	147	[DEBUG]	Executed store
2023-10-13	12:19:23	147	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_59499_jpg.jpg',`file_url_thumb`='bcprisme/56_59499_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '847721'
2023-10-13	12:19:23	147	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:23	147	[DEBUG]	Executed store
2023-10-13	12:19:23	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859639','847721','1')
2023-10-13	12:19:23	147	[DEBUG]	Store product image relation
2023-10-13	12:19:23	147	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:23	147	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859639 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:23	147	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:23	147	[DEBUG]	Executed store
2023-10-13	12:19:23	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859639','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:23	147	[DEBUG]	Checking manufacturer
2023-10-13	12:19:23	147	[DEBUG]	Load a row
2023-10-13	12:19:23	147	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:23	147	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:23	147	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:23	147	[DEBUG]	Executed store
2023-10-13	12:19:23	147	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:23	147	[DEBUG]	Manufacturer exists
2023-10-13	12:19:23	147	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:19:23	147	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:23	147	[DEBUG]	Executed store
2023-10-13	12:19:23	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859639','33')
2023-10-13	12:19:23	147	[DEBUG]	Find the custom field ID
2023-10-13	12:19:23	147	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:23	147	[DEBUG]	No custom field ID found
2023-10-13	12:19:23	147	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:23	147	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:23	147	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859639 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:23	147	[DEBUG]	Store custom available field
2023-10-13	12:19:23	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859639,3,'0',1)
2023-10-13	12:19:23	147	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:23	147	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:23	147	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859639 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:23	147	[DEBUG]	Store custom available field
2023-10-13	12:19:23	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859639,6,'choisir la taille',3)
2023-10-13	12:19:23	147	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:23	147	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:23	147	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:23	147	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:23	147	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859639 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:23	147	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:23	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859639,8,1)
2023-10-13	12:19:23	147	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:23	147	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859639\":[1859639,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859639
2023-10-13	12:19:23	147	[DEBUG]	Checking category
2023-10-13	12:19:23	147	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:23	147	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859639
2023-10-13	12:19:23	147	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:23	147	[DEBUG]	Executed store
2023-10-13	12:19:23	147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859639','7274')
2023-10-13	12:19:23	147	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:23	147	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859639 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:23	147	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:23	147	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859639
2023-10-13	12:19:23	148	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:23	148	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:23	148	[DEBUG]	Use field value for field taille
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:23	148	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:23	148	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:23	148	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:23	148	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:23	148	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:23	148	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:23	148	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:23	148	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:23	148	[DEBUG]	Use field value for field published
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:23	148	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field override
2023-10-13	12:19:23	148	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:23	148	[DEBUG]	Use field value for field slug
2023-10-13	12:19:23	148	[DEBUG]	Process line 148
2023-10-13	12:19:23	148	[DEBUG]	Load a row
2023-10-13	12:19:23	148	[DEBUG]	Processing item: 4047025220446
2023-10-13	12:19:23	148	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:23	148	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:23	148	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8429_208'
2023-10-13	12:19:23	148	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:23	148	[DEBUG]	Processing product tax
2023-10-13	12:19:23	148	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:23	148	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:23	148	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:23	148	[DEBUG]	Query for Product
2023-10-13	12:19:23	148	[DEBUG]	Executed store
2023-10-13	12:19:23	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859639','4047025220446','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:23	148	[DEBUG]	No parent found
2023-10-13	12:19:23	148	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859639 AND customfield_value = 'stockable'
2023-10-13	12:19:23	148	[DEBUG]	Check product language entry
2023-10-13	12:19:23	148	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859640
2023-10-13	12:19:23	148	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:23	148	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047025220446' AND `virtuemart_product_id` != 1859640
2023-10-13	12:19:23	148	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:23	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859640, '4047025220446')
2023-10-13	12:19:23	148	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:23	148	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-cable-de-connexion-batterie-cadre-520mm-active-performance-aucune-unitaire' AND `virtuemart_product_id` != 1859640
2023-10-13	12:19:23	148	[DEBUG]	Query for ProductLang
2023-10-13	12:19:23	148	[DEBUG]	Executed store
2023-10-13	12:19:23	148	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Câble de connexion batterie cadre 520mm Active/Performance / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-cable-de-connexion-batterie-cadre-520mm-active-performance-aucune-unitaire' WHERE `virtuemart_product_id` = '1859640'
2023-10-13	12:19:23	148	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_59499_jpg.jpg
2023-10-13	12:19:23	148	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:23	148	[DEBUG]	Process image file
2023-10-13	12:19:23	148	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:23	148	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:23	148	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_59499_jpg.jpg
2023-10-13	12:19:23	148	[DEBUG]	Full name target: bcprisme/56_59499_jpg.jpg
2023-10-13	12:19:24	148	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:24	148	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_59499_jpg.jpg'
2023-10-13	12:19:24	148	[DEBUG]	Query for Media
2023-10-13	12:19:24	148	[DEBUG]	Executed store
2023-10-13	12:19:24	148	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_59499_jpg.jpg',`file_url_thumb`='bcprisme/56_59499_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '847721'
2023-10-13	12:19:24	148	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:24	148	[DEBUG]	Executed store
2023-10-13	12:19:24	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859640','847721','1')
2023-10-13	12:19:24	148	[DEBUG]	Store product image relation
2023-10-13	12:19:24	148	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:24	148	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859640 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:24	148	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:24	148	[DEBUG]	Executed store
2023-10-13	12:19:24	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859640','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:24	148	[DEBUG]	Checking manufacturer
2023-10-13	12:19:24	148	[DEBUG]	Load a row
2023-10-13	12:19:24	148	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:24	148	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:24	148	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:24	148	[DEBUG]	Executed store
2023-10-13	12:19:24	148	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:24	148	[DEBUG]	Manufacturer exists
2023-10-13	12:19:24	148	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:19:24	148	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:24	148	[DEBUG]	Executed store
2023-10-13	12:19:24	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859640','33')
2023-10-13	12:19:24	148	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:24	148	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:24	148	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859640 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:24	148	[DEBUG]	Store custom available field
2023-10-13	12:19:24	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859640,3,'',1)
2023-10-13	12:19:24	148	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:24	148	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:24	148	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859640 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:24	148	[DEBUG]	Store custom available field
2023-10-13	12:19:24	148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859640,6,'Unitaire',3)
2023-10-13	12:19:24	148	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:24	148	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:24	148	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859639
2023-10-13	12:19:24	148	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:24	148	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859639\":[1859639,8,1,\"choisir la taille\"],\"1859640\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859639
2023-10-13	12:19:24	148	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:24	148	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859640
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:24	149	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field taille
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:24	149	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:24	149	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:24	149	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:24	149	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:24	149	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:24	149	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field published
2023-10-13	12:19:24	149	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:24	149	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field override
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:24	149	[DEBUG]	Use field value for field slug
2023-10-13	12:19:24	149	[DEBUG]	Process line 149
2023-10-13	12:19:24	149	[DEBUG]	Load a row
2023-10-13	12:19:24	149	[DEBUG]	Processing item: A_8559_1
2023-10-13	12:19:24	149	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:24	149	[DEBUG]	Processing product tax
2023-10-13	12:19:24	149	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:24	149	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:24	149	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:24	149	[DEBUG]	Query for Product
2023-10-13	12:19:24	149	[DEBUG]	Executed store
2023-10-13	12:19:24	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8559_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:24	149	[DEBUG]	Check product language entry
2023-10-13	12:19:24	149	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859641
2023-10-13	12:19:24	149	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:24	149	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8559_1' AND `virtuemart_product_id` != 1859641
2023-10-13	12:19:24	149	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:24	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859641, 'A_8559_1')
2023-10-13	12:19:24	149	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:24	149	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-blocage-du-boitier-en-plast-du-kit-de-batterie-du-cadre-active-performance-noir' AND `virtuemart_product_id` != 1859641
2023-10-13	12:19:24	149	[DEBUG]	Query for ProductLang
2023-10-13	12:19:24	149	[DEBUG]	Executed store
2023-10-13	12:19:24	149	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.62352',`product_name`='Bosch Blocage du boîtier en plast.du kit de batterie du cadre Active/Performance / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-blocage-du-boitier-en-plast-du-kit-de-batterie-du-cadre-active-performance-noir' WHERE `virtuemart_product_id` = '1859641'
2023-10-13	12:19:24	149	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_62352_01_jpg.jpg has not been found.
2023-10-13	12:19:24	149	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:24	149	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859641 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:25	149	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:25	149	[DEBUG]	Executed store
2023-10-13	12:19:25	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859641','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:25	149	[DEBUG]	Checking manufacturer
2023-10-13	12:19:25	149	[DEBUG]	Load a row
2023-10-13	12:19:25	149	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:25	149	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:25	149	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:25	149	[DEBUG]	Executed store
2023-10-13	12:19:25	149	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:25	149	[DEBUG]	Manufacturer exists
2023-10-13	12:19:25	149	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:19:25	149	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:25	149	[DEBUG]	Executed store
2023-10-13	12:19:25	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859641','33')
2023-10-13	12:19:25	149	[DEBUG]	Find the custom field ID
2023-10-13	12:19:25	149	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:25	149	[DEBUG]	No custom field ID found
2023-10-13	12:19:25	149	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:25	149	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:25	149	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859641 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:25	149	[DEBUG]	Store custom available field
2023-10-13	12:19:25	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859641,3,'0',1)
2023-10-13	12:19:25	149	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:25	149	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:25	149	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859641 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:25	149	[DEBUG]	Store custom available field
2023-10-13	12:19:25	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859641,6,'choisir la taille',3)
2023-10-13	12:19:25	149	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:25	149	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:25	149	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:25	149	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:25	149	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859641 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:25	149	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:25	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859641,8,1)
2023-10-13	12:19:25	149	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:25	149	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859641\":[1859641,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859641
2023-10-13	12:19:25	149	[DEBUG]	Checking category
2023-10-13	12:19:25	149	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:25	149	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859641
2023-10-13	12:19:25	149	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:25	149	[DEBUG]	Executed store
2023-10-13	12:19:25	149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859641','7274')
2023-10-13	12:19:25	149	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:25	149	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859641 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:25	149	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:25	149	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859641
2023-10-13	12:19:25	150	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:25	150	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:25	150	[DEBUG]	Use field value for field taille
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:25	150	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:25	150	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:25	150	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:25	150	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:25	150	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:25	150	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:25	150	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:25	150	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:25	150	[DEBUG]	Use field value for field published
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:25	150	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field override
2023-10-13	12:19:25	150	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:25	150	[DEBUG]	Use field value for field slug
2023-10-13	12:19:25	150	[DEBUG]	Process line 150
2023-10-13	12:19:25	150	[DEBUG]	Load a row
2023-10-13	12:19:25	150	[DEBUG]	Processing item: 4047025332088
2023-10-13	12:19:25	150	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:25	150	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:25	150	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8559_1'
2023-10-13	12:19:25	150	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:25	150	[DEBUG]	Processing product tax
2023-10-13	12:19:25	150	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:25	150	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:25	150	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:25	150	[DEBUG]	Query for Product
2023-10-13	12:19:25	150	[DEBUG]	Executed store
2023-10-13	12:19:25	150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859641','4047025332088','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:25	150	[DEBUG]	No parent found
2023-10-13	12:19:25	150	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859641 AND customfield_value = 'stockable'
2023-10-13	12:19:25	150	[DEBUG]	Check product language entry
2023-10-13	12:19:25	150	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859642
2023-10-13	12:19:25	150	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:25	150	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047025332088' AND `virtuemart_product_id` != 1859642
2023-10-13	12:19:25	150	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:25	150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859642, '4047025332088')
2023-10-13	12:19:25	150	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:25	150	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-blocage-du-boitier-en-plast-du-kit-de-batterie-du-cadre-active-performance-noir-unitaire' AND `virtuemart_product_id` != 1859642
2023-10-13	12:19:25	150	[DEBUG]	Query for ProductLang
2023-10-13	12:19:25	150	[DEBUG]	Executed store
2023-10-13	12:19:25	150	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Blocage du boîtier en plast.du kit de batterie du cadre Active/Performance / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-blocage-du-boitier-en-plast-du-kit-de-batterie-du-cadre-active-performance-noir-unitaire' WHERE `virtuemart_product_id` = '1859642'
2023-10-13	12:19:25	150	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_62352_01_jpg.jpg has not been found.
2023-10-13	12:19:25	150	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:25	150	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859642 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:25	150	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:25	150	[DEBUG]	Executed store
2023-10-13	12:19:25	150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859642','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:25	150	[DEBUG]	Checking manufacturer
2023-10-13	12:19:25	150	[DEBUG]	Load a row
2023-10-13	12:19:25	150	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:25	150	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:25	150	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:25	150	[DEBUG]	Executed store
2023-10-13	12:19:25	150	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:25	150	[DEBUG]	Manufacturer exists
2023-10-13	12:19:25	150	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:19:25	150	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:25	150	[DEBUG]	Executed store
2023-10-13	12:19:25	150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859642','33')
2023-10-13	12:19:25	150	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:25	150	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:25	150	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859642 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:25	150	[DEBUG]	Store custom available field
2023-10-13	12:19:25	150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859642,3,'',1)
2023-10-13	12:19:25	150	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:25	150	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:25	150	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859642 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:25	150	[DEBUG]	Store custom available field
2023-10-13	12:19:25	150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859642,6,'Unitaire',3)
2023-10-13	12:19:25	150	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:25	150	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:25	150	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859641
2023-10-13	12:19:25	150	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:25	150	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859641\":[1859641,8,1,\"choisir la taille\"],\"1859642\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859641
2023-10-13	12:19:25	150	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:25	150	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859642
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:25	151	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field taille
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:25	151	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:25	151	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:25	151	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:25	151	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:25	151	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:25	151	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field published
2023-10-13	12:19:25	151	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:25	151	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field override
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:25	151	[DEBUG]	Use field value for field slug
2023-10-13	12:19:25	151	[DEBUG]	Process line 151
2023-10-13	12:19:25	151	[DEBUG]	Load a row
2023-10-13	12:19:25	151	[DEBUG]	Processing item: A_8902_1
2023-10-13	12:19:25	151	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:25	151	[DEBUG]	Processing product tax
2023-10-13	12:19:25	151	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:25	151	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:25	151	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:25	151	[DEBUG]	Query for Product
2023-10-13	12:19:25	151	[DEBUG]	Executed store
2023-10-13	12:19:25	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8902_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:25	151	[DEBUG]	Check product language entry
2023-10-13	12:19:25	151	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859643
2023-10-13	12:19:25	151	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:25	151	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8902_1' AND `virtuemart_product_id` != 1859643
2023-10-13	12:19:25	151	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:25	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859643, 'A_8902_1')
2023-10-13	12:19:25	151	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:25	151	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-elec-adaptateurr-ew-ad305-ew-sd300-pour-ew-sd50-box-noir' AND `virtuemart_product_id` != 1859643
2023-10-13	12:19:25	151	[DEBUG]	Query for ProductLang
2023-10-13	12:19:25	151	[DEBUG]	Executed store
2023-10-13	12:19:25	151	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 86.77854',`product_name`='SHIMANO elec. adaptateurr EW-AD305 EW-SD300 pour EW-SD50 box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-elec-adaptateurr-ew-ad305-ew-sd300-pour-ew-sd50-box-noir' WHERE `virtuemart_product_id` = '1859643'
2023-10-13	12:19:25	151	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_77854_001_jpg.jpg
2023-10-13	12:19:25	151	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:25	151	[DEBUG]	Process image file
2023-10-13	12:19:25	151	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:25	151	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:25	151	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_77854_001_jpg.jpg
2023-10-13	12:19:25	151	[DEBUG]	Full name target: bcprisme/86_77854_001_jpg.jpg
2023-10-13	12:19:26	151	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:26	151	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/86_77854_001_jpg.jpg'
2023-10-13	12:19:26	151	[DEBUG]	Query for Media
2023-10-13	12:19:26	151	[DEBUG]	Executed store
2023-10-13	12:19:26	151	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/86_77854_001_jpg.jpg',`file_url_thumb`='bcprisme/86_77854_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1151490'
2023-10-13	12:19:26	151	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:26	151	[DEBUG]	Executed store
2023-10-13	12:19:26	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859643','1151490','1')
2023-10-13	12:19:26	151	[DEBUG]	Store product image relation
2023-10-13	12:19:26	151	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:26	151	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859643 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:26	151	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:26	151	[DEBUG]	Executed store
2023-10-13	12:19:26	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859643','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:26	151	[DEBUG]	Checking manufacturer
2023-10-13	12:19:26	151	[DEBUG]	Load a row
2023-10-13	12:19:26	151	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:26	151	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:26	151	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:26	151	[DEBUG]	Executed store
2023-10-13	12:19:26	151	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:26	151	[DEBUG]	Manufacturer exists
2023-10-13	12:19:26	151	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:19:26	151	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:26	151	[DEBUG]	Executed store
2023-10-13	12:19:26	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859643','26')
2023-10-13	12:19:26	151	[DEBUG]	Find the custom field ID
2023-10-13	12:19:26	151	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:26	151	[DEBUG]	No custom field ID found
2023-10-13	12:19:26	151	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:26	151	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:26	151	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859643 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:26	151	[DEBUG]	Store custom available field
2023-10-13	12:19:26	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859643,3,'0',1)
2023-10-13	12:19:26	151	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:26	151	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:26	151	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859643 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:26	151	[DEBUG]	Store custom available field
2023-10-13	12:19:26	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859643,6,'choisir la taille',3)
2023-10-13	12:19:26	151	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:26	151	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:26	151	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:26	151	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:26	151	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859643 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:26	151	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:26	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859643,8,1)
2023-10-13	12:19:26	151	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:26	151	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859643\":[1859643,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859643
2023-10-13	12:19:26	151	[DEBUG]	Checking category
2023-10-13	12:19:26	151	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:26	151	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859643
2023-10-13	12:19:26	151	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:26	151	[DEBUG]	Executed store
2023-10-13	12:19:26	151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859643','7274')
2023-10-13	12:19:26	151	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:26	151	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859643 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:26	151	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:26	151	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859643
2023-10-13	12:19:26	152	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:26	152	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:26	152	[DEBUG]	Use field value for field taille
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:26	152	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:26	152	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:26	152	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:26	152	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:26	152	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:26	152	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:26	152	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:26	152	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:26	152	[DEBUG]	Use field value for field published
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:26	152	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field override
2023-10-13	12:19:26	152	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:26	152	[DEBUG]	Use field value for field slug
2023-10-13	12:19:26	152	[DEBUG]	Process line 152
2023-10-13	12:19:26	152	[DEBUG]	Load a row
2023-10-13	12:19:26	152	[DEBUG]	Processing item: 4550170597177
2023-10-13	12:19:26	152	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:26	152	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:26	152	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8902_1'
2023-10-13	12:19:26	152	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:26	152	[DEBUG]	Processing product tax
2023-10-13	12:19:26	152	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:26	152	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:26	152	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:26	152	[DEBUG]	Query for Product
2023-10-13	12:19:26	152	[DEBUG]	Executed store
2023-10-13	12:19:26	152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859643','4550170597177','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:26	152	[DEBUG]	No parent found
2023-10-13	12:19:26	152	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859643 AND customfield_value = 'stockable'
2023-10-13	12:19:26	152	[DEBUG]	Check product language entry
2023-10-13	12:19:26	152	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859644
2023-10-13	12:19:26	152	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:26	152	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170597177' AND `virtuemart_product_id` != 1859644
2023-10-13	12:19:26	152	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:26	152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859644, '4550170597177')
2023-10-13	12:19:26	152	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:26	152	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-elec-adaptateurr-ew-ad305-ew-sd300-pour-ew-sd50-box-noir-unitaire' AND `virtuemart_product_id` != 1859644
2023-10-13	12:19:26	152	[DEBUG]	Query for ProductLang
2023-10-13	12:19:26	152	[DEBUG]	Executed store
2023-10-13	12:19:26	152	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO elec. adaptateurr EW-AD305 EW-SD300 pour EW-SD50 box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-elec-adaptateurr-ew-ad305-ew-sd300-pour-ew-sd50-box-noir-unitaire' WHERE `virtuemart_product_id` = '1859644'
2023-10-13	12:19:26	152	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_77854_001_jpg.jpg
2023-10-13	12:19:26	152	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:26	152	[DEBUG]	Process image file
2023-10-13	12:19:26	152	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:26	152	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:26	152	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_77854_001_jpg.jpg
2023-10-13	12:19:26	152	[DEBUG]	Full name target: bcprisme/86_77854_001_jpg.jpg
2023-10-13	12:19:27	152	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:27	152	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/86_77854_001_jpg.jpg'
2023-10-13	12:19:27	152	[DEBUG]	Query for Media
2023-10-13	12:19:27	152	[DEBUG]	Executed store
2023-10-13	12:19:27	152	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/86_77854_001_jpg.jpg',`file_url_thumb`='bcprisme/86_77854_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1151490'
2023-10-13	12:19:27	152	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:27	152	[DEBUG]	Executed store
2023-10-13	12:19:27	152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859644','1151490','1')
2023-10-13	12:19:27	152	[DEBUG]	Store product image relation
2023-10-13	12:19:27	152	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:27	152	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859644 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:27	152	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:27	152	[DEBUG]	Executed store
2023-10-13	12:19:27	152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859644','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:27	152	[DEBUG]	Checking manufacturer
2023-10-13	12:19:27	152	[DEBUG]	Load a row
2023-10-13	12:19:27	152	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:27	152	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:27	152	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:27	152	[DEBUG]	Executed store
2023-10-13	12:19:27	152	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:27	152	[DEBUG]	Manufacturer exists
2023-10-13	12:19:27	152	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:19:27	152	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:27	152	[DEBUG]	Executed store
2023-10-13	12:19:27	152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859644','26')
2023-10-13	12:19:27	152	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:27	152	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:27	152	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859644 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:27	152	[DEBUG]	Store custom available field
2023-10-13	12:19:27	152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859644,3,'',1)
2023-10-13	12:19:27	152	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:27	152	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:27	152	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859644 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:27	152	[DEBUG]	Store custom available field
2023-10-13	12:19:27	152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859644,6,'Unitaire',3)
2023-10-13	12:19:27	152	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:27	152	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:27	152	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859643
2023-10-13	12:19:27	152	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:27	152	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859643\":[1859643,8,1,\"choisir la taille\"],\"1859644\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859643
2023-10-13	12:19:27	152	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:27	152	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859644
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:27	153	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field taille
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:27	153	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:27	153	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:27	153	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:27	153	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:27	153	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:27	153	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field published
2023-10-13	12:19:27	153	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:27	153	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field override
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:27	153	[DEBUG]	Use field value for field slug
2023-10-13	12:19:27	153	[DEBUG]	Process line 153
2023-10-13	12:19:27	153	[DEBUG]	Load a row
2023-10-13	12:19:27	153	[DEBUG]	Processing item: A_9090_1
2023-10-13	12:19:27	153	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:27	153	[DEBUG]	Processing product tax
2023-10-13	12:19:27	153	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:27	153	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:27	153	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:27	153	[DEBUG]	Query for Product
2023-10-13	12:19:27	153	[DEBUG]	Executed store
2023-10-13	12:19:27	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9090_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:27	153	[DEBUG]	Check product language entry
2023-10-13	12:19:27	153	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859645
2023-10-13	12:19:27	153	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:27	153	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9090_1' AND `virtuemart_product_id` != 1859645
2023-10-13	12:19:27	153	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:27	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859645, 'A_9090_1')
2023-10-13	12:19:27	153	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:27	153	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cable-electrique-ew-sd50-e-tube-di2-1000mm-intern-box-noir' AND `virtuemart_product_id` != 1859645
2023-10-13	12:19:27	153	[DEBUG]	Query for ProductLang
2023-10-13	12:19:27	153	[DEBUG]	Executed store
2023-10-13	12:19:27	153	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 86.58176',`product_name`='SHIMANO Câble électrique EW-SD50 E-Tube/ Di2 1000mm intern box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cable-electrique-ew-sd50-e-tube-di2-1000mm-intern-box-noir' WHERE `virtuemart_product_id` = '1859645'
2023-10-13	12:19:27	153	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_51337_0.jpg
2023-10-13	12:19:27	153	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:27	153	[DEBUG]	Process image file
2023-10-13	12:19:27	153	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:27	153	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:27	153	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_51337_0.jpg
2023-10-13	12:19:27	153	[DEBUG]	Full name target: bcprisme/86_51337_0.jpg
2023-10-13	12:19:28	153	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:28	153	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/86_51337_0.jpg'
2023-10-13	12:19:28	153	[DEBUG]	Query for Media
2023-10-13	12:19:28	153	[DEBUG]	Executed store
2023-10-13	12:19:28	153	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/86_51337_0.jpg',`file_url_thumb`='bcprisme/86_51337_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1253086'
2023-10-13	12:19:28	153	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:28	153	[DEBUG]	Executed store
2023-10-13	12:19:28	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859645','1253086','1')
2023-10-13	12:19:28	153	[DEBUG]	Store product image relation
2023-10-13	12:19:28	153	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:28	153	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859645 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:28	153	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:28	153	[DEBUG]	Executed store
2023-10-13	12:19:28	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859645','0','33.3333333333333','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:28	153	[DEBUG]	Checking manufacturer
2023-10-13	12:19:28	153	[DEBUG]	Load a row
2023-10-13	12:19:28	153	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:28	153	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:28	153	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:28	153	[DEBUG]	Executed store
2023-10-13	12:19:28	153	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:28	153	[DEBUG]	Manufacturer exists
2023-10-13	12:19:28	153	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:19:28	153	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:28	153	[DEBUG]	Executed store
2023-10-13	12:19:28	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859645','26')
2023-10-13	12:19:28	153	[DEBUG]	Find the custom field ID
2023-10-13	12:19:28	153	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:28	153	[DEBUG]	No custom field ID found
2023-10-13	12:19:28	153	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:28	153	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:28	153	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859645 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:28	153	[DEBUG]	Store custom available field
2023-10-13	12:19:28	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859645,3,'0',1)
2023-10-13	12:19:28	153	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:28	153	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:28	153	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859645 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:28	153	[DEBUG]	Store custom available field
2023-10-13	12:19:28	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859645,6,'choisir la taille',3)
2023-10-13	12:19:28	153	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:28	153	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:28	153	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:28	153	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:28	153	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859645 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:28	153	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:28	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859645,8,1)
2023-10-13	12:19:28	153	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:28	153	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859645\":[1859645,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859645
2023-10-13	12:19:28	153	[DEBUG]	Checking category
2023-10-13	12:19:28	153	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:28	153	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859645
2023-10-13	12:19:28	153	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:28	153	[DEBUG]	Executed store
2023-10-13	12:19:28	153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859645','7274')
2023-10-13	12:19:28	153	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:28	153	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859645 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:28	153	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:28	153	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859645
2023-10-13	12:19:28	154	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:28	154	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:28	154	[DEBUG]	Use field value for field taille
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:28	154	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:28	154	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:28	154	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:28	154	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:28	154	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:28	154	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:28	154	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:28	154	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:28	154	[DEBUG]	Use field value for field published
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:28	154	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field override
2023-10-13	12:19:28	154	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:28	154	[DEBUG]	Use field value for field slug
2023-10-13	12:19:28	154	[DEBUG]	Process line 154
2023-10-13	12:19:28	154	[DEBUG]	Load a row
2023-10-13	12:19:28	154	[DEBUG]	Processing item: 4524667690108
2023-10-13	12:19:28	154	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:28	154	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:28	154	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9090_1'
2023-10-13	12:19:28	154	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:28	154	[DEBUG]	Processing product tax
2023-10-13	12:19:28	154	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:28	154	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:28	154	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:28	154	[DEBUG]	Query for Product
2023-10-13	12:19:28	154	[DEBUG]	Executed store
2023-10-13	12:19:28	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859645','4524667690108','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:28	154	[DEBUG]	No parent found
2023-10-13	12:19:28	154	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859645 AND customfield_value = 'stockable'
2023-10-13	12:19:28	154	[DEBUG]	Check product language entry
2023-10-13	12:19:28	154	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859646
2023-10-13	12:19:28	154	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:28	154	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667690108' AND `virtuemart_product_id` != 1859646
2023-10-13	12:19:28	154	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:28	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859646, '4524667690108')
2023-10-13	12:19:28	154	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:28	154	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cable-electrique-ew-sd50-e-tube-di2-1000mm-intern-box-noir-unitaire' AND `virtuemart_product_id` != 1859646
2023-10-13	12:19:28	154	[DEBUG]	Query for ProductLang
2023-10-13	12:19:28	154	[DEBUG]	Executed store
2023-10-13	12:19:28	154	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Câble électrique EW-SD50 E-Tube/ Di2 1000mm intern box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cable-electrique-ew-sd50-e-tube-di2-1000mm-intern-box-noir-unitaire' WHERE `virtuemart_product_id` = '1859646'
2023-10-13	12:19:28	154	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_51337_0.jpg
2023-10-13	12:19:28	154	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:28	154	[DEBUG]	Process image file
2023-10-13	12:19:28	154	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:28	154	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:28	154	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_51337_0.jpg
2023-10-13	12:19:28	154	[DEBUG]	Full name target: bcprisme/86_51337_0.jpg
2023-10-13	12:19:29	154	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:29	154	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/86_51337_0.jpg'
2023-10-13	12:19:29	154	[DEBUG]	Query for Media
2023-10-13	12:19:29	154	[DEBUG]	Executed store
2023-10-13	12:19:29	154	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/86_51337_0.jpg',`file_url_thumb`='bcprisme/86_51337_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1253086'
2023-10-13	12:19:29	154	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:29	154	[DEBUG]	Executed store
2023-10-13	12:19:29	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859646','1253086','1')
2023-10-13	12:19:29	154	[DEBUG]	Store product image relation
2023-10-13	12:19:29	154	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:29	154	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859646 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:29	154	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:29	154	[DEBUG]	Executed store
2023-10-13	12:19:29	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859646','0','33.3333333333333','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:29	154	[DEBUG]	Checking manufacturer
2023-10-13	12:19:29	154	[DEBUG]	Load a row
2023-10-13	12:19:29	154	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:29	154	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:29	154	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:29	154	[DEBUG]	Executed store
2023-10-13	12:19:29	154	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:29	154	[DEBUG]	Manufacturer exists
2023-10-13	12:19:29	154	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:19:29	154	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:29	154	[DEBUG]	Executed store
2023-10-13	12:19:29	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859646','26')
2023-10-13	12:19:29	154	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:29	154	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:29	154	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859646 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:29	154	[DEBUG]	Store custom available field
2023-10-13	12:19:29	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859646,3,'',1)
2023-10-13	12:19:29	154	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:29	154	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:29	154	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859646 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:29	154	[DEBUG]	Store custom available field
2023-10-13	12:19:29	154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859646,6,'Unitaire',3)
2023-10-13	12:19:29	154	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:29	154	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:29	154	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859645
2023-10-13	12:19:29	154	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:29	154	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859645\":[1859645,8,1,\"choisir la taille\"],\"1859646\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859645
2023-10-13	12:19:29	154	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:29	154	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859646
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:29	155	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field taille
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:29	155	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:29	155	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:29	155	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:29	155	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:29	155	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:29	155	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field published
2023-10-13	12:19:29	155	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:29	155	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field override
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:29	155	[DEBUG]	Use field value for field slug
2023-10-13	12:19:29	155	[DEBUG]	Process line 155
2023-10-13	12:19:29	155	[DEBUG]	Load a row
2023-10-13	12:19:29	155	[DEBUG]	Processing item: A_9227_1
2023-10-13	12:19:29	155	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:29	155	[DEBUG]	Processing product tax
2023-10-13	12:19:29	155	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:29	155	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:29	155	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:29	155	[DEBUG]	Query for Product
2023-10-13	12:19:29	155	[DEBUG]	Executed store
2023-10-13	12:19:29	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9227_1','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:29	155	[DEBUG]	Check product language entry
2023-10-13	12:19:29	155	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859647
2023-10-13	12:19:29	155	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:29	155	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9227_1' AND `virtuemart_product_id` != 1859647
2023-10-13	12:19:29	155	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:29	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859647, 'A_9227_1')
2023-10-13	12:19:29	155	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:29	155	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chargeur-de-batterie-ew-ec300-di2-1500mm-box-noir' AND `virtuemart_product_id` != 1859647
2023-10-13	12:19:29	155	[DEBUG]	Query for ProductLang
2023-10-13	12:19:29	155	[DEBUG]	Executed store
2023-10-13	12:19:29	155	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 86.80710',`product_name`='SHIMANO Chargeur de batterie EW-EC300 Di2 1500mm box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chargeur-de-batterie-ew-ec300-di2-1500mm-box-noir' WHERE `virtuemart_product_id` = '1859647'
2023-10-13	12:19:29	155	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_80710_0.jpg
2023-10-13	12:19:29	155	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:29	155	[DEBUG]	Process image file
2023-10-13	12:19:29	155	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:29	155	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:29	155	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_80710_0.jpg
2023-10-13	12:19:29	155	[DEBUG]	Full name target: bcprisme/86_80710_0.jpg
2023-10-13	12:19:30	155	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:30	155	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/86_80710_0.jpg'
2023-10-13	12:19:30	155	[DEBUG]	Query for Media
2023-10-13	12:19:30	155	[DEBUG]	Executed store
2023-10-13	12:19:30	155	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/86_80710_0.jpg',`file_url_thumb`='bcprisme/86_80710_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1329227'
2023-10-13	12:19:30	155	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:30	155	[DEBUG]	Executed store
2023-10-13	12:19:30	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859647','1329227','1')
2023-10-13	12:19:30	155	[DEBUG]	Store product image relation
2023-10-13	12:19:30	155	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:30	155	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859647 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:30	155	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:30	155	[DEBUG]	Executed store
2023-10-13	12:19:30	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859647','0','61.2813370473538','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:30	155	[DEBUG]	Checking manufacturer
2023-10-13	12:19:30	155	[DEBUG]	Load a row
2023-10-13	12:19:30	155	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:30	155	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:30	155	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:30	155	[DEBUG]	Executed store
2023-10-13	12:19:30	155	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:30	155	[DEBUG]	Manufacturer exists
2023-10-13	12:19:30	155	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:19:30	155	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:30	155	[DEBUG]	Executed store
2023-10-13	12:19:30	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859647','26')
2023-10-13	12:19:30	155	[DEBUG]	Find the custom field ID
2023-10-13	12:19:30	155	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:30	155	[DEBUG]	No custom field ID found
2023-10-13	12:19:30	155	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:30	155	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:30	155	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859647 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:30	155	[DEBUG]	Store custom available field
2023-10-13	12:19:30	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859647,3,'0',1)
2023-10-13	12:19:30	155	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:30	155	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:30	155	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859647 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:30	155	[DEBUG]	Store custom available field
2023-10-13	12:19:30	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859647,6,'choisir la taille',3)
2023-10-13	12:19:30	155	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:30	155	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:30	155	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:30	155	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:30	155	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859647 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:30	155	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:30	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859647,8,1)
2023-10-13	12:19:30	155	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:30	155	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859647\":[1859647,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859647
2023-10-13	12:19:30	155	[DEBUG]	Checking category
2023-10-13	12:19:30	155	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:30	155	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859647
2023-10-13	12:19:30	155	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:30	155	[DEBUG]	Executed store
2023-10-13	12:19:30	155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859647','7274')
2023-10-13	12:19:30	155	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:30	155	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859647 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:30	155	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:30	155	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859647
2023-10-13	12:19:30	156	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:30	156	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:30	156	[DEBUG]	Use field value for field taille
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:30	156	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:30	156	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:30	156	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:30	156	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:30	156	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:30	156	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:30	156	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:30	156	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:30	156	[DEBUG]	Use field value for field published
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:30	156	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field override
2023-10-13	12:19:30	156	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:30	156	[DEBUG]	Use field value for field slug
2023-10-13	12:19:30	156	[DEBUG]	Process line 156
2023-10-13	12:19:30	156	[DEBUG]	Load a row
2023-10-13	12:19:30	156	[DEBUG]	Processing item: 4550170889807
2023-10-13	12:19:30	156	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:30	156	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:30	156	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9227_1'
2023-10-13	12:19:30	156	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:30	156	[DEBUG]	Processing product tax
2023-10-13	12:19:30	156	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:30	156	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:30	156	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:30	156	[DEBUG]	Query for Product
2023-10-13	12:19:30	156	[DEBUG]	Executed store
2023-10-13	12:19:30	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859647','4550170889807','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:30	156	[DEBUG]	No parent found
2023-10-13	12:19:30	156	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859647 AND customfield_value = 'stockable'
2023-10-13	12:19:30	156	[DEBUG]	Check product language entry
2023-10-13	12:19:30	156	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859648
2023-10-13	12:19:30	156	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:30	156	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170889807' AND `virtuemart_product_id` != 1859648
2023-10-13	12:19:30	156	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:30	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859648, '4550170889807')
2023-10-13	12:19:30	156	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:30	156	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chargeur-de-batterie-ew-ec300-di2-1500mm-box-noir-unitaire' AND `virtuemart_product_id` != 1859648
2023-10-13	12:19:30	156	[DEBUG]	Query for ProductLang
2023-10-13	12:19:30	156	[DEBUG]	Executed store
2023-10-13	12:19:30	156	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chargeur de batterie EW-EC300 Di2 1500mm box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chargeur-de-batterie-ew-ec300-di2-1500mm-box-noir-unitaire' WHERE `virtuemart_product_id` = '1859648'
2023-10-13	12:19:30	156	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_80710_0.jpg
2023-10-13	12:19:30	156	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:30	156	[DEBUG]	Process image file
2023-10-13	12:19:30	156	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:30	156	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:30	156	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_80710_0.jpg
2023-10-13	12:19:30	156	[DEBUG]	Full name target: bcprisme/86_80710_0.jpg
2023-10-13	12:19:31	156	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:31	156	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/86_80710_0.jpg'
2023-10-13	12:19:31	156	[DEBUG]	Query for Media
2023-10-13	12:19:31	156	[DEBUG]	Executed store
2023-10-13	12:19:31	156	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/86_80710_0.jpg',`file_url_thumb`='bcprisme/86_80710_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1329227'
2023-10-13	12:19:31	156	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:31	156	[DEBUG]	Executed store
2023-10-13	12:19:31	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859648','1329227','1')
2023-10-13	12:19:31	156	[DEBUG]	Store product image relation
2023-10-13	12:19:31	156	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:31	156	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859648 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:31	156	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:31	156	[DEBUG]	Executed store
2023-10-13	12:19:31	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859648','0','61.2813370473538','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:31	156	[DEBUG]	Checking manufacturer
2023-10-13	12:19:31	156	[DEBUG]	Load a row
2023-10-13	12:19:31	156	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:31	156	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:31	156	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:31	156	[DEBUG]	Executed store
2023-10-13	12:19:31	156	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:31	156	[DEBUG]	Manufacturer exists
2023-10-13	12:19:31	156	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:19:31	156	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:31	156	[DEBUG]	Executed store
2023-10-13	12:19:31	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859648','26')
2023-10-13	12:19:31	156	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:31	156	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:31	156	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859648 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:31	156	[DEBUG]	Store custom available field
2023-10-13	12:19:31	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859648,3,'',1)
2023-10-13	12:19:31	156	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:31	156	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:31	156	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859648 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:31	156	[DEBUG]	Store custom available field
2023-10-13	12:19:31	156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859648,6,'Unitaire',3)
2023-10-13	12:19:31	156	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:31	156	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:31	156	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859647
2023-10-13	12:19:31	156	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:31	156	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859647\":[1859647,8,1,\"choisir la taille\"],\"1859648\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859647
2023-10-13	12:19:31	156	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:31	156	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859648
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:31	157	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field taille
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:31	157	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:31	157	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:31	157	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:31	157	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:31	157	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:31	157	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field published
2023-10-13	12:19:31	157	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:31	157	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field override
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:31	157	[DEBUG]	Use field value for field slug
2023-10-13	12:19:31	157	[DEBUG]	Process line 157
2023-10-13	12:19:31	157	[DEBUG]	Load a row
2023-10-13	12:19:31	157	[DEBUG]	Processing item: A_9228_1
2023-10-13	12:19:31	157	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:31	157	[DEBUG]	Processing product tax
2023-10-13	12:19:31	157	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:31	157	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:31	157	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:31	157	[DEBUG]	Query for Product
2023-10-13	12:19:31	157	[DEBUG]	Executed store
2023-10-13	12:19:31	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9228_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:31	157	[DEBUG]	Check product language entry
2023-10-13	12:19:31	157	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859649
2023-10-13	12:19:31	157	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:31	157	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9228_1' AND `virtuemart_product_id` != 1859649
2023-10-13	12:19:31	157	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:31	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859649, 'A_9228_1')
2023-10-13	12:19:31	157	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:31	157	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cable-electrique-ew-sd350-e-tube-di2-1200mm-interne-noir-box-noir' AND `virtuemart_product_id` != 1859649
2023-10-13	12:19:31	157	[DEBUG]	Query for ProductLang
2023-10-13	12:19:31	157	[DEBUG]	Executed store
2023-10-13	12:19:31	157	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 86.77933',`product_name`='SHIMANO Câble électrique EW-SD350 E-Tube /Di2 1200mm interne noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cable-electrique-ew-sd350-e-tube-di2-1200mm-interne-noir-box-noir' WHERE `virtuemart_product_id` = '1859649'
2023-10-13	12:19:31	157	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_77916_00.jpg
2023-10-13	12:19:31	157	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:31	157	[DEBUG]	Process image file
2023-10-13	12:19:31	157	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:31	157	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:31	157	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_77916_00.jpg
2023-10-13	12:19:31	157	[DEBUG]	Full name target: bcprisme/86_77916_00.jpg
2023-10-13	12:19:32	157	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:32	157	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/86_77916_00.jpg'
2023-10-13	12:19:32	157	[DEBUG]	Query for Media
2023-10-13	12:19:32	157	[DEBUG]	Executed store
2023-10-13	12:19:32	157	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/86_77916_00.jpg',`file_url_thumb`='bcprisme/86_77916_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1329229'
2023-10-13	12:19:32	157	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:32	157	[DEBUG]	Executed store
2023-10-13	12:19:32	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859649','1329229','1')
2023-10-13	12:19:32	157	[DEBUG]	Store product image relation
2023-10-13	12:19:32	157	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:32	157	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859649 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:32	157	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:32	157	[DEBUG]	Executed store
2023-10-13	12:19:32	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859649','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:32	157	[DEBUG]	Checking manufacturer
2023-10-13	12:19:32	157	[DEBUG]	Load a row
2023-10-13	12:19:32	157	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:32	157	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:32	157	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:32	157	[DEBUG]	Executed store
2023-10-13	12:19:32	157	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:32	157	[DEBUG]	Manufacturer exists
2023-10-13	12:19:32	157	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:19:32	157	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:32	157	[DEBUG]	Executed store
2023-10-13	12:19:32	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859649','26')
2023-10-13	12:19:32	157	[DEBUG]	Find the custom field ID
2023-10-13	12:19:32	157	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:32	157	[DEBUG]	No custom field ID found
2023-10-13	12:19:32	157	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:32	157	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:32	157	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859649 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:32	157	[DEBUG]	Store custom available field
2023-10-13	12:19:32	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859649,3,'0',1)
2023-10-13	12:19:32	157	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:32	157	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:32	157	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859649 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:32	157	[DEBUG]	Store custom available field
2023-10-13	12:19:32	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859649,6,'choisir la taille',3)
2023-10-13	12:19:32	157	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:32	157	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:32	157	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:32	157	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:32	157	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859649 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:32	157	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:32	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859649,8,1)
2023-10-13	12:19:32	157	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:32	157	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859649\":[1859649,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859649
2023-10-13	12:19:32	157	[DEBUG]	Checking category
2023-10-13	12:19:32	157	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:32	157	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859649
2023-10-13	12:19:32	157	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:32	157	[DEBUG]	Executed store
2023-10-13	12:19:32	157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859649','7274')
2023-10-13	12:19:32	157	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:32	157	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859649 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:32	157	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:32	157	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859649
2023-10-13	12:19:32	158	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:32	158	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:32	158	[DEBUG]	Use field value for field taille
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:32	158	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:32	158	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:32	158	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:32	158	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:32	158	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:32	158	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:32	158	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:32	158	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:32	158	[DEBUG]	Use field value for field published
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:32	158	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field override
2023-10-13	12:19:32	158	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:32	158	[DEBUG]	Use field value for field slug
2023-10-13	12:19:32	158	[DEBUG]	Process line 158
2023-10-13	12:19:32	158	[DEBUG]	Load a row
2023-10-13	12:19:32	158	[DEBUG]	Processing item: 4550170635046
2023-10-13	12:19:32	158	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:32	158	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:32	158	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9228_1'
2023-10-13	12:19:32	158	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:32	158	[DEBUG]	Processing product tax
2023-10-13	12:19:32	158	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:32	158	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:32	158	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:32	158	[DEBUG]	Query for Product
2023-10-13	12:19:32	158	[DEBUG]	Executed store
2023-10-13	12:19:32	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859649','4550170635046','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:32	158	[DEBUG]	No parent found
2023-10-13	12:19:32	158	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859649 AND customfield_value = 'stockable'
2023-10-13	12:19:32	158	[DEBUG]	Check product language entry
2023-10-13	12:19:32	158	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859650
2023-10-13	12:19:32	158	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:32	158	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170635046' AND `virtuemart_product_id` != 1859650
2023-10-13	12:19:32	158	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:32	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859650, '4550170635046')
2023-10-13	12:19:32	158	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:32	158	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cable-electrique-ew-sd350-e-tube-di2-1200mm-interne-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1859650
2023-10-13	12:19:32	158	[DEBUG]	Query for ProductLang
2023-10-13	12:19:32	158	[DEBUG]	Executed store
2023-10-13	12:19:32	158	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Câble électrique EW-SD350 E-Tube /Di2 1200mm interne noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cable-electrique-ew-sd350-e-tube-di2-1200mm-interne-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1859650'
2023-10-13	12:19:32	158	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_77916_00.jpg
2023-10-13	12:19:32	158	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:32	158	[DEBUG]	Process image file
2023-10-13	12:19:32	158	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:32	158	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:32	158	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_77916_00.jpg
2023-10-13	12:19:32	158	[DEBUG]	Full name target: bcprisme/86_77916_00.jpg
2023-10-13	12:19:33	158	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:33	158	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/86_77916_00.jpg'
2023-10-13	12:19:33	158	[DEBUG]	Query for Media
2023-10-13	12:19:33	158	[DEBUG]	Executed store
2023-10-13	12:19:33	158	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/86_77916_00.jpg',`file_url_thumb`='bcprisme/86_77916_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1329229'
2023-10-13	12:19:33	158	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:33	158	[DEBUG]	Executed store
2023-10-13	12:19:33	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859650','1329229','1')
2023-10-13	12:19:33	158	[DEBUG]	Store product image relation
2023-10-13	12:19:33	158	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:33	158	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859650 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:33	158	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:33	158	[DEBUG]	Executed store
2023-10-13	12:19:33	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859650','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:33	158	[DEBUG]	Checking manufacturer
2023-10-13	12:19:33	158	[DEBUG]	Load a row
2023-10-13	12:19:33	158	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:33	158	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:33	158	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:33	158	[DEBUG]	Executed store
2023-10-13	12:19:33	158	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:19:33	158	[DEBUG]	Manufacturer exists
2023-10-13	12:19:33	158	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:19:33	158	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:33	158	[DEBUG]	Executed store
2023-10-13	12:19:33	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859650','26')
2023-10-13	12:19:33	158	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:33	158	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:33	158	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859650 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:33	158	[DEBUG]	Store custom available field
2023-10-13	12:19:33	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859650,3,'',1)
2023-10-13	12:19:33	158	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:33	158	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:33	158	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859650 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:33	158	[DEBUG]	Store custom available field
2023-10-13	12:19:33	158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859650,6,'Unitaire',3)
2023-10-13	12:19:33	158	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:33	158	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:33	158	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859649
2023-10-13	12:19:33	158	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:33	158	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859649\":[1859649,8,1,\"choisir la taille\"],\"1859650\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859649
2023-10-13	12:19:33	158	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:33	158	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859650
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:33	159	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field taille
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:33	159	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:33	159	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:33	159	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:33	159	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:33	159	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:33	159	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field published
2023-10-13	12:19:33	159	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:33	159	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field override
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:33	159	[DEBUG]	Use field value for field slug
2023-10-13	12:19:33	159	[DEBUG]	Process line 159
2023-10-13	12:19:33	159	[DEBUG]	Load a row
2023-10-13	12:19:33	159	[DEBUG]	Processing item: A_9546_1
2023-10-13	12:19:33	159	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:33	159	[DEBUG]	Processing product tax
2023-10-13	12:19:33	159	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:33	159	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:33	159	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:33	159	[DEBUG]	Query for Product
2023-10-13	12:19:33	159	[DEBUG]	Executed store
2023-10-13	12:19:33	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9546_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:33	159	[DEBUG]	Check product language entry
2023-10-13	12:19:33	159	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859651
2023-10-13	12:19:33	159	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:33	159	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9546_1' AND `virtuemart_product_id` != 1859651
2023-10-13	12:19:33	159	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:33	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859651, 'A_9546_1')
2023-10-13	12:19:33	159	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:33	159	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-capteur-de-vitesse-giant-ride-control-go-pour-reign-e-mx-trance-x-e-trance-x-advanced-e-noir' AND `virtuemart_product_id` != 1859651
2023-10-13	12:19:33	159	[DEBUG]	Query for ProductLang
2023-10-13	12:19:33	159	[DEBUG]	Executed store
2023-10-13	12:19:33	159	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.161',`product_name`='GIANT Capteur de vitesse Giant Ride Control GO pour Reign E + MX, Trance X E+°, Trance X Advanced E+ / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-capteur-de-vitesse-giant-ride-control-go-pour-reign-e-mx-trance-x-e-trance-x-advanced-e-noir' WHERE `virtuemart_product_id` = '1859651'
2023-10-13	12:19:33	159	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38915_capteur_de_vitesse_giant_ride_control_go_pour_reign_e_+_mx,_trance_x_e+_,_trance_x_advanced_e+.jpg has not been found.
2023-10-13	12:19:33	159	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:33	159	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859651 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:33	159	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:33	159	[DEBUG]	Executed store
2023-10-13	12:19:33	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859651','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:33	159	[DEBUG]	Checking manufacturer
2023-10-13	12:19:33	159	[DEBUG]	Load a row
2023-10-13	12:19:33	159	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:33	159	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:33	159	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:33	159	[DEBUG]	Executed store
2023-10-13	12:19:33	159	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:33	159	[DEBUG]	Manufacturer exists
2023-10-13	12:19:33	159	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:33	159	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:33	159	[DEBUG]	Executed store
2023-10-13	12:19:33	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859651','29')
2023-10-13	12:19:33	159	[DEBUG]	Find the custom field ID
2023-10-13	12:19:33	159	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:33	159	[DEBUG]	No custom field ID found
2023-10-13	12:19:33	159	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:33	159	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:33	159	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859651 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:33	159	[DEBUG]	Store custom available field
2023-10-13	12:19:33	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859651,3,'0',1)
2023-10-13	12:19:33	159	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:33	159	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:33	159	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859651 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:33	159	[DEBUG]	Store custom available field
2023-10-13	12:19:33	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859651,6,'choisir la taille',3)
2023-10-13	12:19:33	159	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:33	159	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:33	159	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:33	159	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:33	159	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859651 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:33	159	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:33	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859651,8,1)
2023-10-13	12:19:33	159	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:33	159	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859651\":[1859651,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859651
2023-10-13	12:19:33	159	[DEBUG]	Checking category
2023-10-13	12:19:33	159	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:33	159	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859651
2023-10-13	12:19:33	159	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:33	159	[DEBUG]	Executed store
2023-10-13	12:19:33	159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859651','7274')
2023-10-13	12:19:33	159	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:33	159	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859651 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:33	159	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:33	159	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859651
2023-10-13	12:19:33	160	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:33	160	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:33	160	[DEBUG]	Use field value for field taille
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:33	160	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:33	160	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:33	160	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:33	160	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:33	160	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:33	160	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:33	160	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:33	160	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:33	160	[DEBUG]	Use field value for field published
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:33	160	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field override
2023-10-13	12:19:33	160	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:33	160	[DEBUG]	Use field value for field slug
2023-10-13	12:19:33	160	[DEBUG]	Process line 160
2023-10-13	12:19:33	160	[DEBUG]	Load a row
2023-10-13	12:19:33	160	[DEBUG]	Processing item: 4430'FSJISS'02
2023-10-13	12:19:33	160	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:33	160	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:33	160	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9546_1'
2023-10-13	12:19:33	160	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:33	160	[DEBUG]	Processing product tax
2023-10-13	12:19:33	160	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:33	160	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:33	160	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:33	160	[DEBUG]	Query for Product
2023-10-13	12:19:33	160	[DEBUG]	Executed store
2023-10-13	12:19:33	160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859651','4430\'FSJISS\'02','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:33	160	[DEBUG]	No parent found
2023-10-13	12:19:33	160	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859651 AND customfield_value = 'stockable'
2023-10-13	12:19:33	160	[DEBUG]	Check product language entry
2023-10-13	12:19:33	160	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859652
2023-10-13	12:19:33	160	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:33	160	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4430\'FSJISS\'02' AND `virtuemart_product_id` != 1859652
2023-10-13	12:19:33	160	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:33	160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859652, '4430\'FSJISS\'02')
2023-10-13	12:19:33	160	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:33	160	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-capteur-de-vitesse-giant-ride-control-go-pour-reign-e-mx-trance-x-e-trance-x-advanced-e-noir-all' AND `virtuemart_product_id` != 1859652
2023-10-13	12:19:33	160	[DEBUG]	Query for ProductLang
2023-10-13	12:19:33	160	[DEBUG]	Executed store
2023-10-13	12:19:33	160	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Capteur de vitesse Giant Ride Control GO pour Reign E + MX, Trance X E+°, Trance X Advanced E+ / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-capteur-de-vitesse-giant-ride-control-go-pour-reign-e-mx-trance-x-e-trance-x-advanced-e-noir-all' WHERE `virtuemart_product_id` = '1859652'
2023-10-13	12:19:33	160	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38915_capteur_de_vitesse_giant_ride_control_go_pour_reign_e_+_mx,_trance_x_e+_,_trance_x_advanced_e+.jpg has not been found.
2023-10-13	12:19:33	160	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:33	160	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859652 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:33	160	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:33	160	[DEBUG]	Executed store
2023-10-13	12:19:33	160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859652','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:33	160	[DEBUG]	Checking manufacturer
2023-10-13	12:19:33	160	[DEBUG]	Load a row
2023-10-13	12:19:33	160	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:33	160	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:33	160	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:33	160	[DEBUG]	Executed store
2023-10-13	12:19:33	160	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:33	160	[DEBUG]	Manufacturer exists
2023-10-13	12:19:33	160	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:33	160	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:33	160	[DEBUG]	Executed store
2023-10-13	12:19:33	160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859652','29')
2023-10-13	12:19:33	160	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:33	160	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:33	160	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859652 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:33	160	[DEBUG]	Store custom available field
2023-10-13	12:19:33	160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859652,3,'',1)
2023-10-13	12:19:33	160	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:33	160	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:19:33	160	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859652 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:33	160	[DEBUG]	Store custom available field
2023-10-13	12:19:33	160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859652,6,'All',3)
2023-10-13	12:19:33	160	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:33	160	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:33	160	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859651
2023-10-13	12:19:33	160	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:33	160	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1859651\":[1859651,8,1,\"choisir la taille\"],\"1859652\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1859651
2023-10-13	12:19:33	160	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:33	160	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859652
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:33	161	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field taille
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:33	161	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:33	161	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:33	161	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:33	161	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:33	161	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:33	161	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field published
2023-10-13	12:19:33	161	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:33	161	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field override
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:33	161	[DEBUG]	Use field value for field slug
2023-10-13	12:19:33	161	[DEBUG]	Process line 161
2023-10-13	12:19:33	161	[DEBUG]	Load a row
2023-10-13	12:19:33	161	[DEBUG]	Processing item: A_9710_1
2023-10-13	12:19:33	161	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:33	161	[DEBUG]	Processing product tax
2023-10-13	12:19:33	161	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:33	161	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:33	161	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:33	161	[DEBUG]	Query for Product
2023-10-13	12:19:33	161	[DEBUG]	Executed store
2023-10-13	12:19:33	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9710_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:33	161	[DEBUG]	Check product language entry
2023-10-13	12:19:33	161	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859653
2023-10-13	12:19:33	161	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:33	161	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9710_1' AND `virtuemart_product_id` != 1859653
2023-10-13	12:19:33	161	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:33	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859653, 'A_9710_1')
2023-10-13	12:19:33	161	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:33	161	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-chargeur-standard-4-ampere-bpc3400-avec-cordon-electrique-noir-noir' AND `virtuemart_product_id` != 1859653
2023-10-13	12:19:33	161	[DEBUG]	Query for ProductLang
2023-10-13	12:19:33	161	[DEBUG]	Executed store
2023-10-13	12:19:33	161	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.83014',`product_name`='Bosch Chargeur Standard 4 ampère BPC3400 avec cordon électrique noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-chargeur-standard-4-ampere-bpc3400-avec-cordon-electrique-noir-noir' WHERE `virtuemart_product_id` = '1859653'
2023-10-13	12:19:33	161	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:19:33	161	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:33	161	[DEBUG]	Process image file
2023-10-13	12:19:33	161	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:33	161	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:33	161	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:19:33	161	[DEBUG]	Full name target: bcprisme/56_8301.jpg
2023-10-13	12:19:34	161	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:34	161	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_8301.jpg'
2023-10-13	12:19:34	161	[DEBUG]	Query for Media
2023-10-13	12:19:34	161	[DEBUG]	Executed store
2023-10-13	12:19:34	161	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_8301.jpg',`file_url_thumb`='bcprisme/56_8301.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1466839'
2023-10-13	12:19:34	161	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:34	161	[DEBUG]	Executed store
2023-10-13	12:19:34	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859653','1466839','1')
2023-10-13	12:19:34	161	[DEBUG]	Store product image relation
2023-10-13	12:19:34	161	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:34	161	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859653 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:34	161	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:34	161	[DEBUG]	Executed store
2023-10-13	12:19:34	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859653','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:34	161	[DEBUG]	Checking manufacturer
2023-10-13	12:19:34	161	[DEBUG]	Load a row
2023-10-13	12:19:34	161	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:34	161	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:34	161	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:34	161	[DEBUG]	Executed store
2023-10-13	12:19:34	161	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:34	161	[DEBUG]	Manufacturer exists
2023-10-13	12:19:34	161	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:19:34	161	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:34	161	[DEBUG]	Executed store
2023-10-13	12:19:34	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859653','33')
2023-10-13	12:19:34	161	[DEBUG]	Find the custom field ID
2023-10-13	12:19:34	161	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:34	161	[DEBUG]	No custom field ID found
2023-10-13	12:19:34	161	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:34	161	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:34	161	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859653 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:34	161	[DEBUG]	Store custom available field
2023-10-13	12:19:34	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859653,3,'0',1)
2023-10-13	12:19:34	161	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:34	161	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:34	161	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859653 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:34	161	[DEBUG]	Store custom available field
2023-10-13	12:19:34	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859653,6,'choisir la taille',3)
2023-10-13	12:19:34	161	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:34	161	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:34	161	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:34	161	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:34	161	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859653 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:34	161	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:34	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859653,8,1)
2023-10-13	12:19:34	161	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:34	161	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859653\":[1859653,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859653
2023-10-13	12:19:34	161	[DEBUG]	Checking category
2023-10-13	12:19:34	161	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:34	161	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859653
2023-10-13	12:19:34	161	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:34	161	[DEBUG]	Executed store
2023-10-13	12:19:34	161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859653','7274')
2023-10-13	12:19:34	161	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:34	161	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859653 AND `virtuemart_category_id` NOT IN (7274)
2023-10-13	12:19:34	161	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:34	161	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859653
2023-10-13	12:19:34	162	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:34	162	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:34	162	[DEBUG]	Use field value for field taille
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:34	162	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:34	162	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:34	162	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:34	162	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:34	162	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:34	162	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:34	162	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:34	162	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:34	162	[DEBUG]	Use field value for field published
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:34	162	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field override
2023-10-13	12:19:34	162	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:34	162	[DEBUG]	Use field value for field slug
2023-10-13	12:19:34	162	[DEBUG]	Process line 162
2023-10-13	12:19:34	162	[DEBUG]	Load a row
2023-10-13	12:19:34	162	[DEBUG]	Processing item: 4054289004873
2023-10-13	12:19:34	162	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:34	162	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:34	162	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9710_1'
2023-10-13	12:19:34	162	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:34	162	[DEBUG]	Processing product tax
2023-10-13	12:19:34	162	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:34	162	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:34	162	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:34	162	[DEBUG]	Query for Product
2023-10-13	12:19:34	162	[DEBUG]	Executed store
2023-10-13	12:19:34	162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859653','4054289004873','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:34	162	[DEBUG]	No parent found
2023-10-13	12:19:34	162	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859653 AND customfield_value = 'stockable'
2023-10-13	12:19:34	162	[DEBUG]	Check product language entry
2023-10-13	12:19:34	162	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859654
2023-10-13	12:19:34	162	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:34	162	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4054289004873' AND `virtuemart_product_id` != 1859654
2023-10-13	12:19:34	162	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:34	162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859654, '4054289004873')
2023-10-13	12:19:34	162	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:34	162	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-chargeur-standard-4-ampere-bpc3400-avec-cordon-electrique-noir-noir-unitaire' AND `virtuemart_product_id` != 1859654
2023-10-13	12:19:34	162	[DEBUG]	Query for ProductLang
2023-10-13	12:19:34	162	[DEBUG]	Executed store
2023-10-13	12:19:34	162	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Chargeur Standard 4 ampère BPC3400 avec cordon électrique noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-chargeur-standard-4-ampere-bpc3400-avec-cordon-electrique-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1859654'
2023-10-13	12:19:34	162	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:19:34	162	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:34	162	[DEBUG]	Process image file
2023-10-13	12:19:34	162	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:19:34	162	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:34	162	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:19:34	162	[DEBUG]	Full name target: bcprisme/56_8301.jpg
2023-10-13	12:19:35	162	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:35	162	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_8301.jpg'
2023-10-13	12:19:35	162	[DEBUG]	Query for Media
2023-10-13	12:19:35	162	[DEBUG]	Executed store
2023-10-13	12:19:35	162	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_8301.jpg',`file_url_thumb`='bcprisme/56_8301.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1466839'
2023-10-13	12:19:35	162	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:35	162	[DEBUG]	Executed store
2023-10-13	12:19:35	162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859654','1466839','1')
2023-10-13	12:19:35	162	[DEBUG]	Store product image relation
2023-10-13	12:19:35	162	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:35	162	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859654 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:35	162	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:35	162	[DEBUG]	Executed store
2023-10-13	12:19:35	162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859654','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:35	162	[DEBUG]	Checking manufacturer
2023-10-13	12:19:35	162	[DEBUG]	Load a row
2023-10-13	12:19:35	162	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:35	162	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:35	162	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:35	162	[DEBUG]	Executed store
2023-10-13	12:19:35	162	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:19:35	162	[DEBUG]	Manufacturer exists
2023-10-13	12:19:35	162	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:19:35	162	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:35	162	[DEBUG]	Executed store
2023-10-13	12:19:35	162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859654','33')
2023-10-13	12:19:35	162	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:35	162	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:35	162	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859654 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:35	162	[DEBUG]	Store custom available field
2023-10-13	12:19:35	162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859654,3,'',1)
2023-10-13	12:19:35	162	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:35	162	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:35	162	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859654 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:35	162	[DEBUG]	Store custom available field
2023-10-13	12:19:35	162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859654,6,'Unitaire',3)
2023-10-13	12:19:35	162	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:35	162	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:35	162	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859653
2023-10-13	12:19:35	162	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:35	162	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859653\":[1859653,8,1,\"choisir la taille\"],\"1859654\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859653
2023-10-13	12:19:35	162	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:35	162	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859654
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:35	163	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field taille
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:35	163	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:35	163	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:35	163	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:35	163	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:35	163	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:35	163	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field published
2023-10-13	12:19:35	163	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:35	163	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field override
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:35	163	[DEBUG]	Use field value for field slug
2023-10-13	12:19:35	163	[DEBUG]	Process line 163
2023-10-13	12:19:35	163	[DEBUG]	Load a row
2023-10-13	12:19:35	163	[DEBUG]	Processing item: A_2665_1
2023-10-13	12:19:35	163	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:35	163	[DEBUG]	Processing product tax
2023-10-13	12:19:35	163	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:35	163	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:35	163	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:35	163	[DEBUG]	Query for Product
2023-10-13	12:19:35	163	[DEBUG]	Executed store
2023-10-13	12:19:35	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2665_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:35	163	[DEBUG]	Check product language entry
2023-10-13	12:19:35	163	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859655
2023-10-13	12:19:35	163	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:35	163	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2665_1' AND `virtuemart_product_id` != 1859655
2023-10-13	12:19:35	163	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:35	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859655, 'A_2665_1')
2023-10-13	12:19:35	163	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:35	163	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cadena-spirale-avec-code-securite-noir' AND `virtuemart_product_id` != 1859655
2023-10-13	12:19:35	163	[DEBUG]	Query for ProductLang
2023-10-13	12:19:35	163	[DEBUG]	Executed store
2023-10-13	12:19:35	163	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Cadenas avec code sécurité <br>Spécificité du cable: 8x600mm<br>288.5 gr.<br>N° art fourn : LOCK429',`product_name`='MSC Cadena spirale avec code sécurité  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cadena-spirale-avec-code-securite-noir' WHERE `virtuemart_product_id` = '1859655'
2023-10-13	12:19:35	163	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11046.jpg
2023-10-13	12:19:35	163	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:35	163	[DEBUG]	Process image file
2023-10-13	12:19:35	163	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:35	163	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:35	163	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11046.jpg
2023-10-13	12:19:35	163	[DEBUG]	Full name target: bcprisme/image_11046.jpg
2023-10-13	12:19:36	163	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:36	163	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11046.jpg'
2023-10-13	12:19:36	163	[DEBUG]	Query for Media
2023-10-13	12:19:36	163	[DEBUG]	Executed store
2023-10-13	12:19:36	163	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11046.jpg',`file_url_thumb`='bcprisme/image_11046.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12365'
2023-10-13	12:19:36	163	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:36	163	[DEBUG]	Executed store
2023-10-13	12:19:36	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859655','12365','1')
2023-10-13	12:19:36	163	[DEBUG]	Store product image relation
2023-10-13	12:19:36	163	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:36	163	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859655 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:36	163	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:36	163	[DEBUG]	Executed store
2023-10-13	12:19:36	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859655','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:36	163	[DEBUG]	Checking manufacturer
2023-10-13	12:19:36	163	[DEBUG]	Load a row
2023-10-13	12:19:36	163	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:36	163	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:19:36	163	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:36	163	[DEBUG]	Executed store
2023-10-13	12:19:36	163	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:19:36	163	[DEBUG]	Manufacturer exists
2023-10-13	12:19:36	163	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:19:36	163	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:36	163	[DEBUG]	Executed store
2023-10-13	12:19:36	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859655','32')
2023-10-13	12:19:36	163	[DEBUG]	Find the custom field ID
2023-10-13	12:19:36	163	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:36	163	[DEBUG]	No custom field ID found
2023-10-13	12:19:36	163	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:36	163	[DEBUG]	Get existing row with customfield value 18.8475
2023-10-13	12:19:36	163	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859655 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:36	163	[DEBUG]	Store custom available field
2023-10-13	12:19:36	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859655,3,'18.8475',1)
2023-10-13	12:19:36	163	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:36	163	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:36	163	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859655 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:36	163	[DEBUG]	Store custom available field
2023-10-13	12:19:36	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859655,6,'choisir la taille',3)
2023-10-13	12:19:36	163	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:36	163	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:36	163	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:36	163	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:36	163	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859655 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:36	163	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:36	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859655,8,1)
2023-10-13	12:19:36	163	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:36	163	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859655\":[1859655,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859655
2023-10-13	12:19:36	163	[DEBUG]	Checking category
2023-10-13	12:19:36	163	[DEBUG]	Check if category path exists: CADENAS - SCHLÖSSER
2023-10-13	12:19:36	163	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CADENAS - SCHLÖSSER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:19:36	163	[DEBUG]	Check if category path exists: CADENAS - SCHLÖSSER
2023-10-13	12:19:36	163	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CADENAS - SCHLÖSSER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7275
2023-10-13	12:19:36	163	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:36	163	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859655
2023-10-13	12:19:36	163	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:36	163	[DEBUG]	Executed store
2023-10-13	12:19:36	163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859655','7276')
2023-10-13	12:19:36	163	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:36	163	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859655 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:19:36	163	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:36	163	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859655
2023-10-13	12:19:36	164	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:36	164	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:36	164	[DEBUG]	Use field value for field taille
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:36	164	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:36	164	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:36	164	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:36	164	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:36	164	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:36	164	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:36	164	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:36	164	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:36	164	[DEBUG]	Use field value for field published
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:36	164	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field override
2023-10-13	12:19:36	164	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:36	164	[DEBUG]	Use field value for field slug
2023-10-13	12:19:36	164	[DEBUG]	Process line 164
2023-10-13	12:19:36	164	[DEBUG]	Load a row
2023-10-13	12:19:36	164	[DEBUG]	Processing item: 8436550190502
2023-10-13	12:19:36	164	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:36	164	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:36	164	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2665_1'
2023-10-13	12:19:36	164	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:36	164	[DEBUG]	Processing product tax
2023-10-13	12:19:36	164	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:36	164	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:36	164	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:36	164	[DEBUG]	Query for Product
2023-10-13	12:19:36	164	[DEBUG]	Executed store
2023-10-13	12:19:36	164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859655','8436550190502','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:36	164	[DEBUG]	No parent found
2023-10-13	12:19:36	164	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859655 AND customfield_value = 'stockable'
2023-10-13	12:19:36	164	[DEBUG]	Check product language entry
2023-10-13	12:19:36	164	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859656
2023-10-13	12:19:36	164	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:36	164	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550190502' AND `virtuemart_product_id` != 1859656
2023-10-13	12:19:36	164	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:36	164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859656, '8436550190502')
2023-10-13	12:19:36	164	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:36	164	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cadena-spirale-avec-code-securite-noir-unitaire' AND `virtuemart_product_id` != 1859656
2023-10-13	12:19:36	164	[DEBUG]	Query for ProductLang
2023-10-13	12:19:36	164	[DEBUG]	Executed store
2023-10-13	12:19:36	164	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cadena spirale avec code sécurité  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cadena-spirale-avec-code-securite-noir-unitaire' WHERE `virtuemart_product_id` = '1859656'
2023-10-13	12:19:36	164	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11046.jpg
2023-10-13	12:19:36	164	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:36	164	[DEBUG]	Process image file
2023-10-13	12:19:36	164	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:36	164	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:36	164	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11046.jpg
2023-10-13	12:19:36	164	[DEBUG]	Full name target: bcprisme/image_11046.jpg
2023-10-13	12:19:37	164	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:37	164	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11046.jpg'
2023-10-13	12:19:37	164	[DEBUG]	Query for Media
2023-10-13	12:19:37	164	[DEBUG]	Executed store
2023-10-13	12:19:37	164	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11046.jpg',`file_url_thumb`='bcprisme/image_11046.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12365'
2023-10-13	12:19:37	164	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:37	164	[DEBUG]	Executed store
2023-10-13	12:19:37	164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859656','12365','1')
2023-10-13	12:19:37	164	[DEBUG]	Store product image relation
2023-10-13	12:19:37	164	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:37	164	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859656 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:37	164	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:37	164	[DEBUG]	Executed store
2023-10-13	12:19:37	164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859656','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:37	164	[DEBUG]	Checking manufacturer
2023-10-13	12:19:37	164	[DEBUG]	Load a row
2023-10-13	12:19:37	164	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:37	164	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:19:37	164	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:37	164	[DEBUG]	Executed store
2023-10-13	12:19:37	164	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:19:37	164	[DEBUG]	Manufacturer exists
2023-10-13	12:19:37	164	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:19:37	164	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:37	164	[DEBUG]	Executed store
2023-10-13	12:19:37	164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859656','32')
2023-10-13	12:19:37	164	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:37	164	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:37	164	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859656 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:37	164	[DEBUG]	Store custom available field
2023-10-13	12:19:37	164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859656,3,'',1)
2023-10-13	12:19:37	164	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:37	164	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:37	164	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859656 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:37	164	[DEBUG]	Store custom available field
2023-10-13	12:19:37	164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859656,6,'Unitaire',3)
2023-10-13	12:19:37	164	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:37	164	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:37	164	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859655
2023-10-13	12:19:37	164	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:37	164	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859655\":[1859655,8,1,\"choisir la taille\"],\"1859656\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859655
2023-10-13	12:19:37	164	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:37	164	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859656
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:37	165	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field taille
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:37	165	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:37	165	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:37	165	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:37	165	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:37	165	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:37	165	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field published
2023-10-13	12:19:37	165	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:37	165	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field override
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:37	165	[DEBUG]	Use field value for field slug
2023-10-13	12:19:37	165	[DEBUG]	Process line 165
2023-10-13	12:19:37	165	[DEBUG]	Load a row
2023-10-13	12:19:37	165	[DEBUG]	Processing item: A_4978_1
2023-10-13	12:19:37	165	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:37	165	[DEBUG]	Processing product tax
2023-10-13	12:19:37	165	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:37	165	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:37	165	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:37	165	[DEBUG]	Query for Product
2023-10-13	12:19:37	165	[DEBUG]	Executed store
2023-10-13	12:19:37	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4978_1','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:37	165	[DEBUG]	Check product language entry
2023-10-13	12:19:37	165	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859657
2023-10-13	12:19:37	165	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:37	165	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4978_1' AND `virtuemart_product_id` != 1859657
2023-10-13	12:19:37	165	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:37	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859657, 'A_4978_1')
2023-10-13	12:19:37	165	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:37	165	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-cadena-spirale-familie-lock-noir-3-pieces-noir' AND `virtuemart_product_id` != 1859657
2023-10-13	12:19:37	165	[DEBUG]	Query for ProductLang
2023-10-13	12:19:37	165	[DEBUG]	Executed store
2023-10-13	12:19:37	165	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 52.288',`product_name`='<Null> Cadena SPIRALE Familie Lock noir 3 pièces / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-cadena-spirale-familie-lock-noir-3-pieces-noir' WHERE `virtuemart_product_id` = '1859657'
2023-10-13	12:19:37	165	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29346_cadenas_spirale_familie_lock_noir_3_pieces.jpg
2023-10-13	12:19:37	165	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:37	165	[DEBUG]	Process image file
2023-10-13	12:19:37	165	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:37	165	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:37	165	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29346_cadenas_spirale_familie_lock_noir_3_pieces.jpg
2023-10-13	12:19:37	165	[DEBUG]	Full name target: bcprisme/29346_cadenas_spirale_familie_lock_noir_3_pieces.jpg
2023-10-13	12:19:38	165	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:38	165	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29346_cadenas_spirale_familie_lock_noir_3_pieces.jpg'
2023-10-13	12:19:38	165	[DEBUG]	Query for Media
2023-10-13	12:19:38	165	[DEBUG]	Executed store
2023-10-13	12:19:38	165	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29346_cadenas_spirale_familie_lock_noir_3_pieces.jpg',`file_url_thumb`='bcprisme/29346_cadenas_spirale_familie_lock_noir_3_pieces.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435043'
2023-10-13	12:19:38	165	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:38	165	[DEBUG]	Executed store
2023-10-13	12:19:38	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859657','435043','1')
2023-10-13	12:19:38	165	[DEBUG]	Store product image relation
2023-10-13	12:19:38	165	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:38	165	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859657 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:38	165	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:38	165	[DEBUG]	Executed store
2023-10-13	12:19:38	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859657','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:38	165	[DEBUG]	Checking manufacturer
2023-10-13	12:19:38	165	[DEBUG]	Manufacturer exists
2023-10-13	12:19:38	165	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	12:19:38	165	[DEBUG]	Load a row
2023-10-13	12:19:38	165	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:38	165	[DEBUG]	Executed store
2023-10-13	12:19:38	165	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	12:19:38	165	[DEBUG]	Manufacturer exists
2023-10-13	12:19:38	165	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	12:19:38	165	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:38	165	[DEBUG]	Executed store
2023-10-13	12:19:38	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859657','20')
2023-10-13	12:19:38	165	[DEBUG]	Find the custom field ID
2023-10-13	12:19:38	165	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:38	165	[DEBUG]	No custom field ID found
2023-10-13	12:19:38	165	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:38	165	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:38	165	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859657 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:38	165	[DEBUG]	Store custom available field
2023-10-13	12:19:38	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859657,3,'0',1)
2023-10-13	12:19:38	165	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:38	165	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:38	165	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859657 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:38	165	[DEBUG]	Store custom available field
2023-10-13	12:19:38	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859657,6,'choisir la taille',3)
2023-10-13	12:19:38	165	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:38	165	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:38	165	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:38	165	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:38	165	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859657 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:38	165	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:38	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859657,8,1)
2023-10-13	12:19:38	165	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:38	165	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859657\":[1859657,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859657
2023-10-13	12:19:38	165	[DEBUG]	Checking category
2023-10-13	12:19:38	165	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:38	165	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859657
2023-10-13	12:19:38	165	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:38	165	[DEBUG]	Executed store
2023-10-13	12:19:38	165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859657','7276')
2023-10-13	12:19:38	165	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:38	165	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859657 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:19:38	165	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:38	165	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859657
2023-10-13	12:19:38	166	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:38	166	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:38	166	[DEBUG]	Use field value for field taille
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:38	166	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:38	166	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:38	166	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:38	166	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:38	166	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:38	166	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:38	166	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:38	166	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:38	166	[DEBUG]	Use field value for field published
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:38	166	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field override
2023-10-13	12:19:38	166	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:38	166	[DEBUG]	Use field value for field slug
2023-10-13	12:19:38	166	[DEBUG]	Process line 166
2023-10-13	12:19:38	166	[DEBUG]	Load a row
2023-10-13	12:19:38	166	[DEBUG]	Processing item: 52.288
2023-10-13	12:19:38	166	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:38	166	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:38	166	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4978_1'
2023-10-13	12:19:38	166	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:38	166	[DEBUG]	Processing product tax
2023-10-13	12:19:38	166	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:38	166	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:38	166	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:38	166	[DEBUG]	Query for Product
2023-10-13	12:19:38	166	[DEBUG]	Executed store
2023-10-13	12:19:38	166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859657','52.288','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:38	166	[DEBUG]	No parent found
2023-10-13	12:19:38	166	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859657 AND customfield_value = 'stockable'
2023-10-13	12:19:38	166	[DEBUG]	Check product language entry
2023-10-13	12:19:38	166	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859658
2023-10-13	12:19:38	166	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:38	166	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '52.288' AND `virtuemart_product_id` != 1859658
2023-10-13	12:19:38	166	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:38	166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859658, '52.288')
2023-10-13	12:19:38	166	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:38	166	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-cadena-spirale-familie-lock-noir-3-pieces-noir-unitaire' AND `virtuemart_product_id` != 1859658
2023-10-13	12:19:38	166	[DEBUG]	Query for ProductLang
2023-10-13	12:19:38	166	[DEBUG]	Executed store
2023-10-13	12:19:38	166	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='<Null> Cadena SPIRALE Familie Lock noir 3 pièces / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-cadena-spirale-familie-lock-noir-3-pieces-noir-unitaire' WHERE `virtuemart_product_id` = '1859658'
2023-10-13	12:19:38	166	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29346_cadenas_spirale_familie_lock_noir_3_pieces.jpg
2023-10-13	12:19:38	166	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:38	166	[DEBUG]	Process image file
2023-10-13	12:19:38	166	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:38	166	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:38	166	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29346_cadenas_spirale_familie_lock_noir_3_pieces.jpg
2023-10-13	12:19:38	166	[DEBUG]	Full name target: bcprisme/29346_cadenas_spirale_familie_lock_noir_3_pieces.jpg
2023-10-13	12:19:39	166	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:39	166	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29346_cadenas_spirale_familie_lock_noir_3_pieces.jpg'
2023-10-13	12:19:39	166	[DEBUG]	Query for Media
2023-10-13	12:19:39	166	[DEBUG]	Executed store
2023-10-13	12:19:39	166	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29346_cadenas_spirale_familie_lock_noir_3_pieces.jpg',`file_url_thumb`='bcprisme/29346_cadenas_spirale_familie_lock_noir_3_pieces.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435043'
2023-10-13	12:19:39	166	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:39	166	[DEBUG]	Executed store
2023-10-13	12:19:39	166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859658','435043','1')
2023-10-13	12:19:39	166	[DEBUG]	Store product image relation
2023-10-13	12:19:39	166	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:39	166	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859658 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:39	166	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:39	166	[DEBUG]	Executed store
2023-10-13	12:19:39	166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859658','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:39	166	[DEBUG]	Checking manufacturer
2023-10-13	12:19:39	166	[DEBUG]	Manufacturer exists
2023-10-13	12:19:39	166	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	12:19:39	166	[DEBUG]	Load a row
2023-10-13	12:19:39	166	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:39	166	[DEBUG]	Executed store
2023-10-13	12:19:39	166	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	12:19:39	166	[DEBUG]	Manufacturer exists
2023-10-13	12:19:39	166	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	12:19:39	166	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:39	166	[DEBUG]	Executed store
2023-10-13	12:19:39	166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859658','20')
2023-10-13	12:19:39	166	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:39	166	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:39	166	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859658 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:39	166	[DEBUG]	Store custom available field
2023-10-13	12:19:39	166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859658,3,'',1)
2023-10-13	12:19:39	166	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:39	166	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:39	166	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859658 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:39	166	[DEBUG]	Store custom available field
2023-10-13	12:19:39	166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859658,6,'Unitaire',3)
2023-10-13	12:19:39	166	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:39	166	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:39	166	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859657
2023-10-13	12:19:39	166	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:39	166	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859657\":[1859657,8,1,\"choisir la taille\"],\"1859658\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859657
2023-10-13	12:19:39	166	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:39	166	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859658
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:39	167	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field taille
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:39	167	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:39	167	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:39	167	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:39	167	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:39	167	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:39	167	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field published
2023-10-13	12:19:39	167	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:39	167	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field override
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:39	167	[DEBUG]	Use field value for field slug
2023-10-13	12:19:39	167	[DEBUG]	Process line 167
2023-10-13	12:19:39	167	[DEBUG]	Load a row
2023-10-13	12:19:39	167	[DEBUG]	Processing item: A_5188_399
2023-10-13	12:19:39	167	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:39	167	[DEBUG]	Processing product tax
2023-10-13	12:19:39	167	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:39	167	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:39	167	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:39	167	[DEBUG]	Query for Product
2023-10-13	12:19:39	167	[DEBUG]	Executed store
2023-10-13	12:19:39	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5188_399','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:39	167	[DEBUG]	Check product language entry
2023-10-13	12:19:39	167	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859659
2023-10-13	12:19:39	167	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:39	167	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5188_399' AND `virtuemart_product_id` != 1859659
2023-10-13	12:19:39	167	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:39	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859659, 'A_5188_399')
2023-10-13	12:19:39	167	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:39	167	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'master-lock-cadena-s-enroulant-family-set-kit-3-pces-rouge-gris-bleu' AND `virtuemart_product_id` != 1859659
2023-10-13	12:19:39	167	[DEBUG]	Query for ProductLang
2023-10-13	12:19:39	167	[DEBUG]	Executed store
2023-10-13	12:19:39	167	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 309021',`product_name`='Master lock Cadena s\'enroulant Family-Set Kit 3 pces / Rouge/Gris/Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='master-lock-cadena-s-enroulant-family-set-kit-3-pces-rouge-gris-bleu' WHERE `virtuemart_product_id` = '1859659'
2023-10-13	12:19:39	167	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34218_cadenas_s_enroulant_family-set_kit_3_pces.png
2023-10-13	12:19:39	167	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000216
2023-10-13	12:19:39	167	[DEBUG]	Process image file
2023-10-13	12:19:39	167	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000216
2023-10-13	12:19:39	167	[DEBUG]	Mime type found: image/png
2023-10-13	12:19:39	167	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34218_cadenas_s_enroulant_family-set_kit_3_pces.png
2023-10-13	12:19:39	167	[DEBUG]	Full name target: bcprisme/34218_cadenas_s_enroulant_family-set_kit_3_pces.png
2023-10-13	12:19:40	167	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:40	167	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34218_cadenas_s_enroulant_family-set_kit_3_pces.png'
2023-10-13	12:19:40	167	[DEBUG]	Query for Media
2023-10-13	12:19:40	167	[DEBUG]	Executed store
2023-10-13	12:19:40	167	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34218_cadenas_s_enroulant_family-set_kit_3_pces.png',`file_url_thumb`='bcprisme/34218_cadenas_s_enroulant_family-set_kit_3_pces.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '35249'
2023-10-13	12:19:40	167	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:40	167	[DEBUG]	Executed store
2023-10-13	12:19:40	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859659','35249','1')
2023-10-13	12:19:40	167	[DEBUG]	Store product image relation
2023-10-13	12:19:40	167	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:40	167	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859659 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:40	167	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:40	167	[DEBUG]	Executed store
2023-10-13	12:19:40	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859659','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:40	167	[DEBUG]	Checking manufacturer
2023-10-13	12:19:40	167	[DEBUG]	Load a row
2023-10-13	12:19:40	167	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:40	167	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '115'
2023-10-13	12:19:40	167	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:40	167	[DEBUG]	Executed store
2023-10-13	12:19:40	167	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481575326948' WHERE `virtuemart_manufacturer_id` = '115'
2023-10-13	12:19:40	167	[DEBUG]	Manufacturer exists
2023-10-13	12:19:40	167	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 115
2023-10-13	12:19:40	167	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:40	167	[DEBUG]	Executed store
2023-10-13	12:19:40	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859659','115')
2023-10-13	12:19:40	167	[DEBUG]	Find the custom field ID
2023-10-13	12:19:40	167	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:40	167	[DEBUG]	No custom field ID found
2023-10-13	12:19:40	167	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:40	167	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:40	167	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859659 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:40	167	[DEBUG]	Store custom available field
2023-10-13	12:19:40	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859659,3,'0',1)
2023-10-13	12:19:40	167	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:40	167	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:40	167	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859659 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:40	167	[DEBUG]	Store custom available field
2023-10-13	12:19:40	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859659,6,'choisir la taille',3)
2023-10-13	12:19:40	167	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:40	167	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:40	167	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:40	167	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:40	167	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859659 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:40	167	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:40	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859659,8,1)
2023-10-13	12:19:40	167	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:40	167	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859659\":[1859659,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859659
2023-10-13	12:19:40	167	[DEBUG]	Checking category
2023-10-13	12:19:40	167	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:40	167	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859659
2023-10-13	12:19:40	167	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:40	167	[DEBUG]	Executed store
2023-10-13	12:19:40	167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859659','7276')
2023-10-13	12:19:40	167	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:40	167	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859659 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:19:40	167	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:40	167	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859659
2023-10-13	12:19:40	168	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:40	168	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:40	168	[DEBUG]	Use field value for field taille
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:40	168	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:40	168	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:40	168	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:40	168	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:40	168	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:40	168	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:40	168	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:40	168	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:40	168	[DEBUG]	Use field value for field published
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:40	168	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field override
2023-10-13	12:19:40	168	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:40	168	[DEBUG]	Use field value for field slug
2023-10-13	12:19:40	168	[DEBUG]	Process line 168
2023-10-13	12:19:40	168	[DEBUG]	Load a row
2023-10-13	12:19:40	168	[DEBUG]	Processing item: 3520190924292
2023-10-13	12:19:40	168	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:40	168	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:40	168	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5188_399'
2023-10-13	12:19:40	168	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:40	168	[DEBUG]	Processing product tax
2023-10-13	12:19:40	168	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:40	168	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:40	168	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:40	168	[DEBUG]	Query for Product
2023-10-13	12:19:40	168	[DEBUG]	Executed store
2023-10-13	12:19:40	168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859659','3520190924292','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:40	168	[DEBUG]	No parent found
2023-10-13	12:19:40	168	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859659 AND customfield_value = 'stockable'
2023-10-13	12:19:40	168	[DEBUG]	Check product language entry
2023-10-13	12:19:40	168	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859660
2023-10-13	12:19:40	168	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:40	168	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3520190924292' AND `virtuemart_product_id` != 1859660
2023-10-13	12:19:40	168	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:40	168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859660, '3520190924292')
2023-10-13	12:19:40	168	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:40	168	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'master-lock-cadena-s-enroulant-family-set-kit-3-pces-rouge-gris-bleu-unitaire' AND `virtuemart_product_id` != 1859660
2023-10-13	12:19:40	168	[DEBUG]	Query for ProductLang
2023-10-13	12:19:40	168	[DEBUG]	Executed store
2023-10-13	12:19:40	168	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Master lock Cadena s\'enroulant Family-Set Kit 3 pces / Rouge/Gris/Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='master-lock-cadena-s-enroulant-family-set-kit-3-pces-rouge-gris-bleu-unitaire' WHERE `virtuemart_product_id` = '1859660'
2023-10-13	12:19:40	168	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34218_cadenas_s_enroulant_family-set_kit_3_pces.png
2023-10-13	12:19:40	168	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000216
2023-10-13	12:19:40	168	[DEBUG]	Process image file
2023-10-13	12:19:40	168	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000216
2023-10-13	12:19:40	168	[DEBUG]	Mime type found: image/png
2023-10-13	12:19:40	168	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34218_cadenas_s_enroulant_family-set_kit_3_pces.png
2023-10-13	12:19:40	168	[DEBUG]	Full name target: bcprisme/34218_cadenas_s_enroulant_family-set_kit_3_pces.png
2023-10-13	12:19:41	168	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:41	168	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34218_cadenas_s_enroulant_family-set_kit_3_pces.png'
2023-10-13	12:19:41	168	[DEBUG]	Query for Media
2023-10-13	12:19:41	168	[DEBUG]	Executed store
2023-10-13	12:19:41	168	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34218_cadenas_s_enroulant_family-set_kit_3_pces.png',`file_url_thumb`='bcprisme/34218_cadenas_s_enroulant_family-set_kit_3_pces.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '35249'
2023-10-13	12:19:41	168	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:41	168	[DEBUG]	Executed store
2023-10-13	12:19:41	168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859660','35249','1')
2023-10-13	12:19:41	168	[DEBUG]	Store product image relation
2023-10-13	12:19:41	168	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:41	168	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859660 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:41	168	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:41	168	[DEBUG]	Executed store
2023-10-13	12:19:41	168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859660','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:41	168	[DEBUG]	Checking manufacturer
2023-10-13	12:19:41	168	[DEBUG]	Load a row
2023-10-13	12:19:41	168	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:41	168	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '115'
2023-10-13	12:19:41	168	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:41	168	[DEBUG]	Executed store
2023-10-13	12:19:41	168	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481575326948' WHERE `virtuemart_manufacturer_id` = '115'
2023-10-13	12:19:41	168	[DEBUG]	Manufacturer exists
2023-10-13	12:19:41	168	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 115
2023-10-13	12:19:41	168	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:41	168	[DEBUG]	Executed store
2023-10-13	12:19:41	168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859660','115')
2023-10-13	12:19:41	168	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:41	168	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:41	168	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859660 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:41	168	[DEBUG]	Store custom available field
2023-10-13	12:19:41	168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859660,3,'',1)
2023-10-13	12:19:41	168	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:41	168	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:41	168	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859660 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:41	168	[DEBUG]	Store custom available field
2023-10-13	12:19:41	168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859660,6,'Unitaire',3)
2023-10-13	12:19:41	168	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:41	168	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:41	168	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859659
2023-10-13	12:19:41	168	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:41	168	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859659\":[1859659,8,1,\"choisir la taille\"],\"1859660\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859659
2023-10-13	12:19:41	168	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:41	168	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859660
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:41	169	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field taille
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:41	169	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:41	169	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:41	169	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:41	169	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:41	169	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:41	169	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field published
2023-10-13	12:19:41	169	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:41	169	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field override
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:41	169	[DEBUG]	Use field value for field slug
2023-10-13	12:19:41	169	[DEBUG]	Process line 169
2023-10-13	12:19:41	169	[DEBUG]	Load a row
2023-10-13	12:19:41	169	[DEBUG]	Processing item: A_5660_1
2023-10-13	12:19:41	169	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:41	169	[DEBUG]	Processing product tax
2023-10-13	12:19:41	169	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:41	169	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:41	169	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:41	169	[DEBUG]	Query for Product
2023-10-13	12:19:41	169	[DEBUG]	Executed store
2023-10-13	12:19:41	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5660_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:41	169	[DEBUG]	Check product language entry
2023-10-13	12:19:41	169	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859661
2023-10-13	12:19:41	169	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:41	169	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5660_1' AND `virtuemart_product_id` != 1859661
2023-10-13	12:19:41	169	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:41	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859661, 'A_5660_1')
2023-10-13	12:19:41	169	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:41	169	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-cadena-giant-flex-combo-a-code-12mm-x-185-cm-noir' AND `virtuemart_product_id` != 1859661
2023-10-13	12:19:41	169	[DEBUG]	Query for ProductLang
2023-10-13	12:19:41	169	[DEBUG]	Executed store
2023-10-13	12:19:41	169	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 52.401',`product_name`='GIANT Cadena GIANT FLEX-COMBO à CODE 12mm x 185 cm   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-cadena-giant-flex-combo-a-code-12mm-x-185-cm-noir' WHERE `virtuemart_product_id` = '1859661'
2023-10-13	12:19:41	169	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30161_cadenas_giant_flex-combo_à_code.jpg
2023-10-13	12:19:41	169	[DEBUG]	Identity string: ffd8ffe000104a46494600010101015e015e0000
2023-10-13	12:19:41	169	[DEBUG]	Process image file
2023-10-13	12:19:41	169	[DEBUG]	Identity string: ffd8ffe000104a46494600010101015e015e0000
2023-10-13	12:19:41	169	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:41	169	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30161_cadenas_giant_flex-combo_à_code.jpg
2023-10-13	12:19:41	169	[DEBUG]	Full name target: bcprisme/30161_cadenas_giant_flex-combo_à_code.jpg
2023-10-13	12:19:42	169	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:42	169	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30161_cadenas_giant_flex-combo_à_code.jpg'
2023-10-13	12:19:42	169	[DEBUG]	Query for Media
2023-10-13	12:19:42	169	[DEBUG]	Executed store
2023-10-13	12:19:42	169	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30161_cadenas_giant_flex-combo_à_code.jpg',`file_url_thumb`='bcprisme/30161_cadenas_giant_flex-combo_à_code.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16543'
2023-10-13	12:19:42	169	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:42	169	[DEBUG]	Executed store
2023-10-13	12:19:42	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859661','16543','1')
2023-10-13	12:19:42	169	[DEBUG]	Store product image relation
2023-10-13	12:19:42	169	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:42	169	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859661 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:42	169	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:42	169	[DEBUG]	Executed store
2023-10-13	12:19:42	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859661','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:42	169	[DEBUG]	Checking manufacturer
2023-10-13	12:19:42	169	[DEBUG]	Load a row
2023-10-13	12:19:42	169	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:42	169	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:42	169	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:42	169	[DEBUG]	Executed store
2023-10-13	12:19:42	169	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:42	169	[DEBUG]	Manufacturer exists
2023-10-13	12:19:42	169	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:42	169	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:42	169	[DEBUG]	Executed store
2023-10-13	12:19:42	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859661','29')
2023-10-13	12:19:42	169	[DEBUG]	Find the custom field ID
2023-10-13	12:19:42	169	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:42	169	[DEBUG]	No custom field ID found
2023-10-13	12:19:42	169	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:42	169	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:42	169	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859661 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:42	169	[DEBUG]	Store custom available field
2023-10-13	12:19:42	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859661,3,'0',1)
2023-10-13	12:19:42	169	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:42	169	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:42	169	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859661 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:42	169	[DEBUG]	Store custom available field
2023-10-13	12:19:42	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859661,6,'choisir la taille',3)
2023-10-13	12:19:42	169	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:42	169	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:42	169	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:42	169	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:42	169	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859661 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:42	169	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:42	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859661,8,1)
2023-10-13	12:19:42	169	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:42	169	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859661\":[1859661,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859661
2023-10-13	12:19:42	169	[DEBUG]	Checking category
2023-10-13	12:19:42	169	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:42	169	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859661
2023-10-13	12:19:42	169	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:42	169	[DEBUG]	Executed store
2023-10-13	12:19:42	169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859661','7276')
2023-10-13	12:19:42	169	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:42	169	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859661 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:19:42	169	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:42	169	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859661
2023-10-13	12:19:42	170	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:42	170	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:42	170	[DEBUG]	Use field value for field taille
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:42	170	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:42	170	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:42	170	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:42	170	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:42	170	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:42	170	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:42	170	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:42	170	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:42	170	[DEBUG]	Use field value for field published
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:42	170	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field override
2023-10-13	12:19:42	170	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:42	170	[DEBUG]	Use field value for field slug
2023-10-13	12:19:42	170	[DEBUG]	Process line 170
2023-10-13	12:19:42	170	[DEBUG]	Load a row
2023-10-13	12:19:42	170	[DEBUG]	Processing item: 4718905984481
2023-10-13	12:19:42	170	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:42	170	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:42	170	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5660_1'
2023-10-13	12:19:42	170	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:42	170	[DEBUG]	Processing product tax
2023-10-13	12:19:42	170	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:42	170	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:42	170	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:42	170	[DEBUG]	Query for Product
2023-10-13	12:19:42	170	[DEBUG]	Executed store
2023-10-13	12:19:42	170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859661','4718905984481','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:42	170	[DEBUG]	No parent found
2023-10-13	12:19:42	170	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859661 AND customfield_value = 'stockable'
2023-10-13	12:19:42	170	[DEBUG]	Check product language entry
2023-10-13	12:19:42	170	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859662
2023-10-13	12:19:42	170	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:42	170	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4718905984481' AND `virtuemart_product_id` != 1859662
2023-10-13	12:19:42	170	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:42	170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859662, '4718905984481')
2023-10-13	12:19:42	170	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:42	170	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-cadena-giant-flex-combo-a-code-12mm-x-185-cm-noir-unitaire' AND `virtuemart_product_id` != 1859662
2023-10-13	12:19:42	170	[DEBUG]	Query for ProductLang
2023-10-13	12:19:42	170	[DEBUG]	Executed store
2023-10-13	12:19:42	170	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Cadena GIANT FLEX-COMBO à CODE 12mm x 185 cm   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-cadena-giant-flex-combo-a-code-12mm-x-185-cm-noir-unitaire' WHERE `virtuemart_product_id` = '1859662'
2023-10-13	12:19:42	170	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30161_cadenas_giant_flex-combo_à_code.jpg
2023-10-13	12:19:42	170	[DEBUG]	Identity string: ffd8ffe000104a46494600010101015e015e0000
2023-10-13	12:19:42	170	[DEBUG]	Process image file
2023-10-13	12:19:42	170	[DEBUG]	Identity string: ffd8ffe000104a46494600010101015e015e0000
2023-10-13	12:19:43	170	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:43	170	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30161_cadenas_giant_flex-combo_à_code.jpg
2023-10-13	12:19:43	170	[DEBUG]	Full name target: bcprisme/30161_cadenas_giant_flex-combo_à_code.jpg
2023-10-13	12:19:43	170	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:43	170	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30161_cadenas_giant_flex-combo_à_code.jpg'
2023-10-13	12:19:43	170	[DEBUG]	Query for Media
2023-10-13	12:19:43	170	[DEBUG]	Executed store
2023-10-13	12:19:43	170	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30161_cadenas_giant_flex-combo_à_code.jpg',`file_url_thumb`='bcprisme/30161_cadenas_giant_flex-combo_à_code.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16543'
2023-10-13	12:19:43	170	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:43	170	[DEBUG]	Executed store
2023-10-13	12:19:43	170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859662','16543','1')
2023-10-13	12:19:43	170	[DEBUG]	Store product image relation
2023-10-13	12:19:43	170	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:43	170	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859662 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:43	170	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:43	170	[DEBUG]	Executed store
2023-10-13	12:19:43	170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859662','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:43	170	[DEBUG]	Checking manufacturer
2023-10-13	12:19:43	170	[DEBUG]	Load a row
2023-10-13	12:19:43	170	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:43	170	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:43	170	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:43	170	[DEBUG]	Executed store
2023-10-13	12:19:43	170	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:43	170	[DEBUG]	Manufacturer exists
2023-10-13	12:19:43	170	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:43	170	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:43	170	[DEBUG]	Executed store
2023-10-13	12:19:43	170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859662','29')
2023-10-13	12:19:43	170	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:43	170	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:43	170	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859662 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:43	170	[DEBUG]	Store custom available field
2023-10-13	12:19:43	170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859662,3,'',1)
2023-10-13	12:19:43	170	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:43	170	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:43	170	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859662 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:43	170	[DEBUG]	Store custom available field
2023-10-13	12:19:43	170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859662,6,'Unitaire',3)
2023-10-13	12:19:43	170	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:43	170	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:43	170	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859661
2023-10-13	12:19:43	170	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:43	170	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859661\":[1859661,8,1,\"choisir la taille\"],\"1859662\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859661
2023-10-13	12:19:43	170	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:43	170	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859662
2023-10-13	12:19:43	171	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:43	171	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:43	171	[DEBUG]	Use field value for field taille
2023-10-13	12:19:43	171	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:43	171	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:43	171	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:43	171	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:43	171	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:43	171	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:43	171	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:43	171	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:44	171	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:44	171	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:44	171	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:44	171	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:44	171	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:44	171	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:44	171	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:44	171	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:44	171	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:44	171	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:44	171	[DEBUG]	Use field value for field published
2023-10-13	12:19:44	171	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:44	171	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:44	171	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:44	171	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:44	171	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:44	171	[DEBUG]	Use field value for field override
2023-10-13	12:19:44	171	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:44	171	[DEBUG]	Use field value for field slug
2023-10-13	12:19:44	171	[DEBUG]	Process line 171
2023-10-13	12:19:44	171	[DEBUG]	Load a row
2023-10-13	12:19:44	171	[DEBUG]	Processing item: A_6825_27
2023-10-13	12:19:44	171	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:44	171	[DEBUG]	Processing product tax
2023-10-13	12:19:44	171	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:44	171	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:44	171	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:44	171	[DEBUG]	Query for Product
2023-10-13	12:19:44	171	[DEBUG]	Executed store
2023-10-13	12:19:44	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6825_27','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:44	171	[DEBUG]	Check product language entry
2023-10-13	12:19:44	171	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859663
2023-10-13	12:19:44	171	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:44	171	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6825_27' AND `virtuemart_product_id` != 1859663
2023-10-13	12:19:44	171	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:44	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859663, 'A_6825_27')
2023-10-13	12:19:44	171	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:44	171	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-1950-120-orange' AND `virtuemart_product_id` != 1859663
2023-10-13	12:19:44	171	[DEBUG]	Query for ProductLang
2023-10-13	12:19:44	171	[DEBUG]	Executed store
2023-10-13	12:19:44	171	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.72964',`product_name`='ABUS Cadena à spirale 1950/120 / Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-1950-120-orange' WHERE `virtuemart_product_id` = '1859663'
2023-10-13	12:19:44	171	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33635_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:44	171	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:44	171	[DEBUG]	Process image file
2023-10-13	12:19:44	171	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:44	171	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:44	171	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33635_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:44	171	[DEBUG]	Full name target: bcprisme/33635_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:44	171	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:44	171	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33635_cadenas_abus_à_spirale_1950-120.jpg'
2023-10-13	12:19:44	171	[DEBUG]	Query for Media
2023-10-13	12:19:44	171	[DEBUG]	Executed store
2023-10-13	12:19:44	171	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33635_cadenas_abus_à_spirale_1950-120.jpg',`file_url_thumb`='bcprisme/33635_cadenas_abus_à_spirale_1950-120.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15268'
2023-10-13	12:19:44	171	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:44	171	[DEBUG]	Executed store
2023-10-13	12:19:44	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859663','15268','1')
2023-10-13	12:19:44	171	[DEBUG]	Store product image relation
2023-10-13	12:19:44	171	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:44	171	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859663 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:44	171	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:44	171	[DEBUG]	Executed store
2023-10-13	12:19:44	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859663','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:44	171	[DEBUG]	Checking manufacturer
2023-10-13	12:19:44	171	[DEBUG]	Load a row
2023-10-13	12:19:44	171	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:44	171	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:44	171	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:44	171	[DEBUG]	Executed store
2023-10-13	12:19:44	171	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:44	171	[DEBUG]	Manufacturer exists
2023-10-13	12:19:44	171	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:19:44	171	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:44	171	[DEBUG]	Executed store
2023-10-13	12:19:44	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859663','162')
2023-10-13	12:19:44	171	[DEBUG]	Find the custom field ID
2023-10-13	12:19:44	171	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:44	171	[DEBUG]	No custom field ID found
2023-10-13	12:19:44	171	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:44	171	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:44	171	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859663 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:44	171	[DEBUG]	Store custom available field
2023-10-13	12:19:44	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859663,3,'0',1)
2023-10-13	12:19:44	171	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:44	171	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:44	171	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859663 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:44	171	[DEBUG]	Store custom available field
2023-10-13	12:19:44	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859663,6,'choisir la taille',3)
2023-10-13	12:19:44	171	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:44	171	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:44	171	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:44	171	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:44	171	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859663 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:44	171	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:44	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859663,8,1)
2023-10-13	12:19:44	171	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:44	171	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859663\":[1859663,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859663
2023-10-13	12:19:44	171	[DEBUG]	Checking category
2023-10-13	12:19:44	171	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:44	171	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859663
2023-10-13	12:19:44	171	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:44	171	[DEBUG]	Executed store
2023-10-13	12:19:44	171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859663','7276')
2023-10-13	12:19:44	171	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:44	171	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859663 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:19:44	171	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:44	171	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859663
2023-10-13	12:19:44	172	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:44	172	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:44	172	[DEBUG]	Use field value for field taille
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:44	172	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:44	172	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:44	172	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:44	172	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:44	172	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:44	172	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:44	172	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:44	172	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:44	172	[DEBUG]	Use field value for field published
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:44	172	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field override
2023-10-13	12:19:44	172	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:44	172	[DEBUG]	Use field value for field slug
2023-10-13	12:19:44	172	[DEBUG]	Process line 172
2023-10-13	12:19:44	172	[DEBUG]	Load a row
2023-10-13	12:19:44	172	[DEBUG]	Processing item: 4003318431609
2023-10-13	12:19:44	172	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:44	172	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:44	172	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6825_27'
2023-10-13	12:19:44	172	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:44	172	[DEBUG]	Processing product tax
2023-10-13	12:19:44	172	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:44	172	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:44	172	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:44	172	[DEBUG]	Query for Product
2023-10-13	12:19:44	172	[DEBUG]	Executed store
2023-10-13	12:19:44	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859663','4003318431609','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:44	172	[DEBUG]	No parent found
2023-10-13	12:19:44	172	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859663 AND customfield_value = 'stockable'
2023-10-13	12:19:44	172	[DEBUG]	Check product language entry
2023-10-13	12:19:44	172	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859664
2023-10-13	12:19:44	172	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:44	172	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318431609' AND `virtuemart_product_id` != 1859664
2023-10-13	12:19:44	172	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:44	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859664, '4003318431609')
2023-10-13	12:19:44	172	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:44	172	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-1950-120-orange-unitaire' AND `virtuemart_product_id` != 1859664
2023-10-13	12:19:44	172	[DEBUG]	Query for ProductLang
2023-10-13	12:19:44	172	[DEBUG]	Executed store
2023-10-13	12:19:44	172	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale 1950/120 / Orange (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-1950-120-orange-unitaire' WHERE `virtuemart_product_id` = '1859664'
2023-10-13	12:19:44	172	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33635_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:44	172	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:44	172	[DEBUG]	Process image file
2023-10-13	12:19:44	172	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:44	172	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:44	172	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33635_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:44	172	[DEBUG]	Full name target: bcprisme/33635_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:45	172	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:45	172	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33635_cadenas_abus_à_spirale_1950-120.jpg'
2023-10-13	12:19:45	172	[DEBUG]	Query for Media
2023-10-13	12:19:45	172	[DEBUG]	Executed store
2023-10-13	12:19:45	172	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33635_cadenas_abus_à_spirale_1950-120.jpg',`file_url_thumb`='bcprisme/33635_cadenas_abus_à_spirale_1950-120.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15268'
2023-10-13	12:19:45	172	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:45	172	[DEBUG]	Executed store
2023-10-13	12:19:45	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859664','15268','1')
2023-10-13	12:19:45	172	[DEBUG]	Store product image relation
2023-10-13	12:19:45	172	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:45	172	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859664 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:45	172	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:45	172	[DEBUG]	Executed store
2023-10-13	12:19:45	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859664','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:45	172	[DEBUG]	Checking manufacturer
2023-10-13	12:19:45	172	[DEBUG]	Load a row
2023-10-13	12:19:45	172	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:45	172	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:46	172	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:46	172	[DEBUG]	Executed store
2023-10-13	12:19:46	172	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:46	172	[DEBUG]	Manufacturer exists
2023-10-13	12:19:46	172	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:19:46	172	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:46	172	[DEBUG]	Executed store
2023-10-13	12:19:46	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859664','162')
2023-10-13	12:19:46	172	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:46	172	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:46	172	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859664 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:46	172	[DEBUG]	Store custom available field
2023-10-13	12:19:46	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859664,3,'',1)
2023-10-13	12:19:46	172	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:46	172	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:46	172	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859664 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:46	172	[DEBUG]	Store custom available field
2023-10-13	12:19:46	172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859664,6,'Unitaire',3)
2023-10-13	12:19:46	172	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:46	172	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:46	172	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859663
2023-10-13	12:19:46	172	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:46	172	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859663\":[1859663,8,1,\"choisir la taille\"],\"1859664\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859663
2023-10-13	12:19:46	172	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:46	172	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859664
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:46	173	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field taille
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:46	173	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:46	173	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:46	173	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:46	173	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:46	173	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:46	173	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field published
2023-10-13	12:19:46	173	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:46	173	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field override
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:46	173	[DEBUG]	Use field value for field slug
2023-10-13	12:19:46	173	[DEBUG]	Process line 173
2023-10-13	12:19:46	173	[DEBUG]	Load a row
2023-10-13	12:19:46	173	[DEBUG]	Processing item: A_6825_40
2023-10-13	12:19:46	173	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:46	173	[DEBUG]	Processing product tax
2023-10-13	12:19:46	173	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:46	173	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:46	173	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:46	173	[DEBUG]	Query for Product
2023-10-13	12:19:46	173	[DEBUG]	Executed store
2023-10-13	12:19:46	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6825_40','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:46	173	[DEBUG]	Check product language entry
2023-10-13	12:19:46	173	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859665
2023-10-13	12:19:46	173	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:46	173	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6825_40' AND `virtuemart_product_id` != 1859665
2023-10-13	12:19:46	173	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:46	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859665, 'A_6825_40')
2023-10-13	12:19:46	173	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:46	173	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-1950-120-vert' AND `virtuemart_product_id` != 1859665
2023-10-13	12:19:46	173	[DEBUG]	Query for ProductLang
2023-10-13	12:19:46	173	[DEBUG]	Executed store
2023-10-13	12:19:46	173	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.72964',`product_name`='ABUS Cadena à spirale 1950/120 / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-1950-120-vert' WHERE `virtuemart_product_id` = '1859665'
2023-10-13	12:19:46	173	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33638_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:46	173	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:46	173	[DEBUG]	Process image file
2023-10-13	12:19:46	173	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:46	173	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:46	173	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33638_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:46	173	[DEBUG]	Full name target: bcprisme/33638_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:47	173	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:47	173	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33638_cadenas_abus_à_spirale_1950-120.jpg'
2023-10-13	12:19:47	173	[DEBUG]	Query for Media
2023-10-13	12:19:47	173	[DEBUG]	Executed store
2023-10-13	12:19:47	173	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33638_cadenas_abus_à_spirale_1950-120.jpg',`file_url_thumb`='bcprisme/33638_cadenas_abus_à_spirale_1950-120.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15269'
2023-10-13	12:19:47	173	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:47	173	[DEBUG]	Executed store
2023-10-13	12:19:47	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859665','15269','1')
2023-10-13	12:19:47	173	[DEBUG]	Store product image relation
2023-10-13	12:19:47	173	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:47	173	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859665 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:47	173	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:47	173	[DEBUG]	Executed store
2023-10-13	12:19:47	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859665','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:47	173	[DEBUG]	Checking manufacturer
2023-10-13	12:19:47	173	[DEBUG]	Load a row
2023-10-13	12:19:47	173	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:47	173	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:47	173	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:47	173	[DEBUG]	Executed store
2023-10-13	12:19:47	173	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:47	173	[DEBUG]	Manufacturer exists
2023-10-13	12:19:47	173	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:19:47	173	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:47	173	[DEBUG]	Executed store
2023-10-13	12:19:47	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859665','162')
2023-10-13	12:19:47	173	[DEBUG]	Find the custom field ID
2023-10-13	12:19:47	173	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:47	173	[DEBUG]	No custom field ID found
2023-10-13	12:19:47	173	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:47	173	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:47	173	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859665 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:47	173	[DEBUG]	Store custom available field
2023-10-13	12:19:47	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859665,3,'0',1)
2023-10-13	12:19:47	173	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:47	173	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:47	173	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859665 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:47	173	[DEBUG]	Store custom available field
2023-10-13	12:19:47	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859665,6,'choisir la taille',3)
2023-10-13	12:19:47	173	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:47	173	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:47	173	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:47	173	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:47	173	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859665 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:47	173	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:47	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859665,8,1)
2023-10-13	12:19:47	173	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:47	173	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859665\":[1859665,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859665
2023-10-13	12:19:47	173	[DEBUG]	Checking category
2023-10-13	12:19:47	173	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:47	173	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859665
2023-10-13	12:19:47	173	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:47	173	[DEBUG]	Executed store
2023-10-13	12:19:47	173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859665','7276')
2023-10-13	12:19:47	173	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:47	173	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859665 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:19:47	173	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:47	173	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859665
2023-10-13	12:19:47	174	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:47	174	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:47	174	[DEBUG]	Use field value for field taille
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:47	174	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:47	174	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:47	174	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:47	174	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:47	174	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:47	174	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:47	174	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:47	174	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:47	174	[DEBUG]	Use field value for field published
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:47	174	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field override
2023-10-13	12:19:47	174	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:47	174	[DEBUG]	Use field value for field slug
2023-10-13	12:19:47	174	[DEBUG]	Process line 174
2023-10-13	12:19:47	174	[DEBUG]	Load a row
2023-10-13	12:19:47	174	[DEBUG]	Processing item: 704660265648
2023-10-13	12:19:47	174	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:47	174	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:47	174	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6825_40'
2023-10-13	12:19:47	174	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:47	174	[DEBUG]	Processing product tax
2023-10-13	12:19:47	174	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:47	174	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:47	174	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:47	174	[DEBUG]	Query for Product
2023-10-13	12:19:47	174	[DEBUG]	Executed store
2023-10-13	12:19:47	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859665','704660265648','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:47	174	[DEBUG]	No parent found
2023-10-13	12:19:47	174	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859665 AND customfield_value = 'stockable'
2023-10-13	12:19:47	174	[DEBUG]	Check product language entry
2023-10-13	12:19:47	174	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859666
2023-10-13	12:19:47	174	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:47	174	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '704660265648' AND `virtuemart_product_id` != 1859666
2023-10-13	12:19:47	174	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:47	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859666, '704660265648')
2023-10-13	12:19:47	174	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:47	174	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-1950-120-vert-unitaire' AND `virtuemart_product_id` != 1859666
2023-10-13	12:19:47	174	[DEBUG]	Query for ProductLang
2023-10-13	12:19:47	174	[DEBUG]	Executed store
2023-10-13	12:19:47	174	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale 1950/120 / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-1950-120-vert-unitaire' WHERE `virtuemart_product_id` = '1859666'
2023-10-13	12:19:47	174	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33638_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:47	174	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:47	174	[DEBUG]	Process image file
2023-10-13	12:19:47	174	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:47	174	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:47	174	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33638_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:47	174	[DEBUG]	Full name target: bcprisme/33638_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:48	174	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:48	174	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33638_cadenas_abus_à_spirale_1950-120.jpg'
2023-10-13	12:19:48	174	[DEBUG]	Query for Media
2023-10-13	12:19:48	174	[DEBUG]	Executed store
2023-10-13	12:19:48	174	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33638_cadenas_abus_à_spirale_1950-120.jpg',`file_url_thumb`='bcprisme/33638_cadenas_abus_à_spirale_1950-120.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15269'
2023-10-13	12:19:48	174	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:48	174	[DEBUG]	Executed store
2023-10-13	12:19:48	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859666','15269','1')
2023-10-13	12:19:48	174	[DEBUG]	Store product image relation
2023-10-13	12:19:48	174	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:48	174	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859666 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:48	174	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:48	174	[DEBUG]	Executed store
2023-10-13	12:19:48	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859666','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:48	174	[DEBUG]	Checking manufacturer
2023-10-13	12:19:48	174	[DEBUG]	Load a row
2023-10-13	12:19:48	174	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:48	174	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:48	174	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:48	174	[DEBUG]	Executed store
2023-10-13	12:19:48	174	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:48	174	[DEBUG]	Manufacturer exists
2023-10-13	12:19:48	174	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:19:48	174	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:48	174	[DEBUG]	Executed store
2023-10-13	12:19:48	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859666','162')
2023-10-13	12:19:48	174	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:48	174	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:48	174	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859666 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:48	174	[DEBUG]	Store custom available field
2023-10-13	12:19:48	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859666,3,'',1)
2023-10-13	12:19:48	174	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:48	174	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:48	174	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859666 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:48	174	[DEBUG]	Store custom available field
2023-10-13	12:19:48	174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859666,6,'Unitaire',3)
2023-10-13	12:19:48	174	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:48	174	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:48	174	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859665
2023-10-13	12:19:48	174	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:48	174	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859665\":[1859665,8,1,\"choisir la taille\"],\"1859666\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859665
2023-10-13	12:19:48	174	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:48	174	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859666
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:48	175	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field taille
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:48	175	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:48	175	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:48	175	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:48	175	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:48	175	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:48	175	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field published
2023-10-13	12:19:48	175	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:48	175	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field override
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:48	175	[DEBUG]	Use field value for field slug
2023-10-13	12:19:48	175	[DEBUG]	Process line 175
2023-10-13	12:19:48	175	[DEBUG]	Load a row
2023-10-13	12:19:48	175	[DEBUG]	Processing item: A_6825_150
2023-10-13	12:19:48	175	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:48	175	[DEBUG]	Processing product tax
2023-10-13	12:19:48	175	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:48	175	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:48	175	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:48	175	[DEBUG]	Query for Product
2023-10-13	12:19:48	175	[DEBUG]	Executed store
2023-10-13	12:19:48	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6825_150','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:48	175	[DEBUG]	Check product language entry
2023-10-13	12:19:48	175	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859667
2023-10-13	12:19:48	175	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:48	175	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6825_150' AND `virtuemart_product_id` != 1859667
2023-10-13	12:19:48	175	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:48	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859667, 'A_6825_150')
2023-10-13	12:19:48	175	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:48	175	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-1950-120-rose' AND `virtuemart_product_id` != 1859667
2023-10-13	12:19:48	175	[DEBUG]	Query for ProductLang
2023-10-13	12:19:48	175	[DEBUG]	Executed store
2023-10-13	12:19:48	175	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.72964',`product_name`='ABUS Cadena à spirale 1950/120 / Rose',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-1950-120-rose' WHERE `virtuemart_product_id` = '1859667'
2023-10-13	12:19:48	175	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33637_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:48	175	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:48	175	[DEBUG]	Process image file
2023-10-13	12:19:48	175	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:48	175	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:48	175	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33637_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:48	175	[DEBUG]	Full name target: bcprisme/33637_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:49	175	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:49	175	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33637_cadenas_abus_à_spirale_1950-120.jpg'
2023-10-13	12:19:49	175	[DEBUG]	Query for Media
2023-10-13	12:19:49	175	[DEBUG]	Executed store
2023-10-13	12:19:49	175	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33637_cadenas_abus_à_spirale_1950-120.jpg',`file_url_thumb`='bcprisme/33637_cadenas_abus_à_spirale_1950-120.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15270'
2023-10-13	12:19:49	175	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:49	175	[DEBUG]	Executed store
2023-10-13	12:19:49	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859667','15270','1')
2023-10-13	12:19:49	175	[DEBUG]	Store product image relation
2023-10-13	12:19:49	175	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:49	175	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859667 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:49	175	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:49	175	[DEBUG]	Executed store
2023-10-13	12:19:49	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859667','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:49	175	[DEBUG]	Checking manufacturer
2023-10-13	12:19:49	175	[DEBUG]	Load a row
2023-10-13	12:19:49	175	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:49	175	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:49	175	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:49	175	[DEBUG]	Executed store
2023-10-13	12:19:49	175	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:49	175	[DEBUG]	Manufacturer exists
2023-10-13	12:19:49	175	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:19:49	175	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:49	175	[DEBUG]	Executed store
2023-10-13	12:19:49	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859667','162')
2023-10-13	12:19:49	175	[DEBUG]	Find the custom field ID
2023-10-13	12:19:49	175	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:49	175	[DEBUG]	No custom field ID found
2023-10-13	12:19:49	175	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:49	175	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:49	175	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859667 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:49	175	[DEBUG]	Store custom available field
2023-10-13	12:19:49	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859667,3,'0',1)
2023-10-13	12:19:49	175	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:49	175	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:49	175	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859667 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:49	175	[DEBUG]	Store custom available field
2023-10-13	12:19:49	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859667,6,'choisir la taille',3)
2023-10-13	12:19:49	175	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:49	175	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:49	175	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:49	175	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:49	175	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859667 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:49	175	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:49	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859667,8,1)
2023-10-13	12:19:49	175	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:49	175	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859667\":[1859667,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859667
2023-10-13	12:19:49	175	[DEBUG]	Checking category
2023-10-13	12:19:49	175	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:49	175	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859667
2023-10-13	12:19:49	175	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:49	175	[DEBUG]	Executed store
2023-10-13	12:19:49	175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859667','7276')
2023-10-13	12:19:49	175	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:49	175	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859667 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:19:49	175	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:49	175	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859667
2023-10-13	12:19:49	176	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:49	176	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:49	176	[DEBUG]	Use field value for field taille
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:49	176	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:49	176	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:49	176	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:49	176	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:49	176	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:49	176	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:49	176	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:49	176	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:49	176	[DEBUG]	Use field value for field published
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:49	176	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field override
2023-10-13	12:19:49	176	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:49	176	[DEBUG]	Use field value for field slug
2023-10-13	12:19:49	176	[DEBUG]	Process line 176
2023-10-13	12:19:49	176	[DEBUG]	Load a row
2023-10-13	12:19:49	176	[DEBUG]	Processing item: 1000000109993
2023-10-13	12:19:49	176	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:49	176	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:49	176	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6825_150'
2023-10-13	12:19:49	176	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:49	176	[DEBUG]	Processing product tax
2023-10-13	12:19:49	176	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:49	176	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:49	176	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:49	176	[DEBUG]	Query for Product
2023-10-13	12:19:49	176	[DEBUG]	Executed store
2023-10-13	12:19:49	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859667','1000000109993','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:49	176	[DEBUG]	No parent found
2023-10-13	12:19:49	176	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859667 AND customfield_value = 'stockable'
2023-10-13	12:19:49	176	[DEBUG]	Check product language entry
2023-10-13	12:19:49	176	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859668
2023-10-13	12:19:49	176	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:49	176	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000109993' AND `virtuemart_product_id` != 1859668
2023-10-13	12:19:49	176	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:49	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859668, '1000000109993')
2023-10-13	12:19:49	176	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:49	176	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-1950-120-rose-unitaire' AND `virtuemart_product_id` != 1859668
2023-10-13	12:19:49	176	[DEBUG]	Query for ProductLang
2023-10-13	12:19:49	176	[DEBUG]	Executed store
2023-10-13	12:19:49	176	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale 1950/120 / Rose (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-1950-120-rose-unitaire' WHERE `virtuemart_product_id` = '1859668'
2023-10-13	12:19:49	176	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33637_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:49	176	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:49	176	[DEBUG]	Process image file
2023-10-13	12:19:49	176	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:49	176	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:49	176	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33637_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:49	176	[DEBUG]	Full name target: bcprisme/33637_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:50	176	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:50	176	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33637_cadenas_abus_à_spirale_1950-120.jpg'
2023-10-13	12:19:50	176	[DEBUG]	Query for Media
2023-10-13	12:19:50	176	[DEBUG]	Executed store
2023-10-13	12:19:50	176	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33637_cadenas_abus_à_spirale_1950-120.jpg',`file_url_thumb`='bcprisme/33637_cadenas_abus_à_spirale_1950-120.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15270'
2023-10-13	12:19:50	176	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:50	176	[DEBUG]	Executed store
2023-10-13	12:19:50	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859668','15270','1')
2023-10-13	12:19:50	176	[DEBUG]	Store product image relation
2023-10-13	12:19:50	176	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:50	176	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859668 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:50	176	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:50	176	[DEBUG]	Executed store
2023-10-13	12:19:50	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859668','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:50	176	[DEBUG]	Checking manufacturer
2023-10-13	12:19:50	176	[DEBUG]	Load a row
2023-10-13	12:19:50	176	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:50	176	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:50	176	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:50	176	[DEBUG]	Executed store
2023-10-13	12:19:50	176	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:50	176	[DEBUG]	Manufacturer exists
2023-10-13	12:19:50	176	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:19:50	176	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:50	176	[DEBUG]	Executed store
2023-10-13	12:19:50	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859668','162')
2023-10-13	12:19:50	176	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:50	176	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:50	176	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859668 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:50	176	[DEBUG]	Store custom available field
2023-10-13	12:19:50	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859668,3,'',1)
2023-10-13	12:19:50	176	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:50	176	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:50	176	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859668 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:50	176	[DEBUG]	Store custom available field
2023-10-13	12:19:50	176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859668,6,'Unitaire',3)
2023-10-13	12:19:50	176	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:50	176	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:50	176	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859667
2023-10-13	12:19:50	176	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:50	176	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859667\":[1859667,8,1,\"choisir la taille\"],\"1859668\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859667
2023-10-13	12:19:50	176	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:50	176	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859668
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:50	177	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field taille
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:50	177	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:50	177	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:50	177	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:50	177	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:50	177	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:50	177	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field published
2023-10-13	12:19:50	177	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:50	177	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field override
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:50	177	[DEBUG]	Use field value for field slug
2023-10-13	12:19:50	177	[DEBUG]	Process line 177
2023-10-13	12:19:50	177	[DEBUG]	Load a row
2023-10-13	12:19:50	177	[DEBUG]	Processing item: A_6825_163
2023-10-13	12:19:50	177	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:50	177	[DEBUG]	Processing product tax
2023-10-13	12:19:50	177	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:50	177	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:50	177	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:50	177	[DEBUG]	Query for Product
2023-10-13	12:19:50	177	[DEBUG]	Executed store
2023-10-13	12:19:50	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6825_163','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:50	177	[DEBUG]	Check product language entry
2023-10-13	12:19:50	177	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859669
2023-10-13	12:19:50	177	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:50	177	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6825_163' AND `virtuemart_product_id` != 1859669
2023-10-13	12:19:50	177	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:50	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859669, 'A_6825_163')
2023-10-13	12:19:50	177	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:50	177	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-1950-120-bleu-clair' AND `virtuemart_product_id` != 1859669
2023-10-13	12:19:50	177	[DEBUG]	Query for ProductLang
2023-10-13	12:19:50	177	[DEBUG]	Executed store
2023-10-13	12:19:50	177	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.72964',`product_name`='ABUS Cadena à spirale 1950/120 / Bleu-Clair',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-1950-120-bleu-clair' WHERE `virtuemart_product_id` = '1859669'
2023-10-13	12:19:50	177	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33634_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:50	177	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:50	177	[DEBUG]	Process image file
2023-10-13	12:19:50	177	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:50	177	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:50	177	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33634_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:50	177	[DEBUG]	Full name target: bcprisme/33634_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:51	177	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:51	177	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33634_cadenas_abus_à_spirale_1950-120.jpg'
2023-10-13	12:19:51	177	[DEBUG]	Query for Media
2023-10-13	12:19:51	177	[DEBUG]	Executed store
2023-10-13	12:19:51	177	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33634_cadenas_abus_à_spirale_1950-120.jpg',`file_url_thumb`='bcprisme/33634_cadenas_abus_à_spirale_1950-120.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15271'
2023-10-13	12:19:51	177	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:51	177	[DEBUG]	Executed store
2023-10-13	12:19:51	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859669','15271','1')
2023-10-13	12:19:51	177	[DEBUG]	Store product image relation
2023-10-13	12:19:51	177	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:51	177	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859669 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:51	177	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:51	177	[DEBUG]	Executed store
2023-10-13	12:19:51	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859669','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:51	177	[DEBUG]	Checking manufacturer
2023-10-13	12:19:51	177	[DEBUG]	Load a row
2023-10-13	12:19:51	177	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:51	177	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:51	177	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:51	177	[DEBUG]	Executed store
2023-10-13	12:19:51	177	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:51	177	[DEBUG]	Manufacturer exists
2023-10-13	12:19:51	177	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:19:51	177	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:51	177	[DEBUG]	Executed store
2023-10-13	12:19:51	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859669','162')
2023-10-13	12:19:51	177	[DEBUG]	Find the custom field ID
2023-10-13	12:19:51	177	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:51	177	[DEBUG]	No custom field ID found
2023-10-13	12:19:51	177	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:51	177	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:51	177	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859669 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:51	177	[DEBUG]	Store custom available field
2023-10-13	12:19:51	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859669,3,'0',1)
2023-10-13	12:19:51	177	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:51	177	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:51	177	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859669 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:51	177	[DEBUG]	Store custom available field
2023-10-13	12:19:51	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859669,6,'choisir la taille',3)
2023-10-13	12:19:51	177	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:51	177	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:51	177	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:51	177	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:51	177	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859669 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:51	177	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:51	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859669,8,1)
2023-10-13	12:19:51	177	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:51	177	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859669\":[1859669,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859669
2023-10-13	12:19:51	177	[DEBUG]	Checking category
2023-10-13	12:19:51	177	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:51	177	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859669
2023-10-13	12:19:51	177	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:51	177	[DEBUG]	Executed store
2023-10-13	12:19:51	177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859669','7276')
2023-10-13	12:19:51	177	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:51	177	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859669 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:19:51	177	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:51	177	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859669
2023-10-13	12:19:51	178	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:51	178	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:51	178	[DEBUG]	Use field value for field taille
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:51	178	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:51	178	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:51	178	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:51	178	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:51	178	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:51	178	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:51	178	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:51	178	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:51	178	[DEBUG]	Use field value for field published
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:51	178	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field override
2023-10-13	12:19:51	178	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:51	178	[DEBUG]	Use field value for field slug
2023-10-13	12:19:51	178	[DEBUG]	Process line 178
2023-10-13	12:19:51	178	[DEBUG]	Load a row
2023-10-13	12:19:51	178	[DEBUG]	Processing item: 1000000109979
2023-10-13	12:19:51	178	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:51	178	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:51	178	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6825_163'
2023-10-13	12:19:51	178	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:51	178	[DEBUG]	Processing product tax
2023-10-13	12:19:51	178	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:51	178	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:51	178	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:51	178	[DEBUG]	Query for Product
2023-10-13	12:19:51	178	[DEBUG]	Executed store
2023-10-13	12:19:51	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859669','1000000109979','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:51	178	[DEBUG]	No parent found
2023-10-13	12:19:51	178	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859669 AND customfield_value = 'stockable'
2023-10-13	12:19:51	178	[DEBUG]	Check product language entry
2023-10-13	12:19:51	178	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859670
2023-10-13	12:19:51	178	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:51	178	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000109979' AND `virtuemart_product_id` != 1859670
2023-10-13	12:19:51	178	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:51	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859670, '1000000109979')
2023-10-13	12:19:51	178	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:51	178	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-1950-120-bleu-clair-unitaire' AND `virtuemart_product_id` != 1859670
2023-10-13	12:19:51	178	[DEBUG]	Query for ProductLang
2023-10-13	12:19:51	178	[DEBUG]	Executed store
2023-10-13	12:19:51	178	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale 1950/120 / Bleu-Clair (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-1950-120-bleu-clair-unitaire' WHERE `virtuemart_product_id` = '1859670'
2023-10-13	12:19:51	178	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33634_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:51	178	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:51	178	[DEBUG]	Process image file
2023-10-13	12:19:51	178	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:51	178	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:51	178	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33634_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:51	178	[DEBUG]	Full name target: bcprisme/33634_cadenas_abus_à_spirale_1950-120.jpg
2023-10-13	12:19:52	178	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:52	178	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33634_cadenas_abus_à_spirale_1950-120.jpg'
2023-10-13	12:19:52	178	[DEBUG]	Query for Media
2023-10-13	12:19:52	178	[DEBUG]	Executed store
2023-10-13	12:19:52	178	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33634_cadenas_abus_à_spirale_1950-120.jpg',`file_url_thumb`='bcprisme/33634_cadenas_abus_à_spirale_1950-120.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15271'
2023-10-13	12:19:52	178	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:52	178	[DEBUG]	Executed store
2023-10-13	12:19:52	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859670','15271','1')
2023-10-13	12:19:52	178	[DEBUG]	Store product image relation
2023-10-13	12:19:52	178	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:52	178	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859670 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:52	178	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:52	178	[DEBUG]	Executed store
2023-10-13	12:19:52	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859670','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:52	178	[DEBUG]	Checking manufacturer
2023-10-13	12:19:52	178	[DEBUG]	Load a row
2023-10-13	12:19:52	178	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:52	178	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:52	178	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:52	178	[DEBUG]	Executed store
2023-10-13	12:19:52	178	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:52	178	[DEBUG]	Manufacturer exists
2023-10-13	12:19:52	178	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:19:52	178	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:52	178	[DEBUG]	Executed store
2023-10-13	12:19:52	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859670','162')
2023-10-13	12:19:52	178	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:52	178	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:52	178	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859670 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:52	178	[DEBUG]	Store custom available field
2023-10-13	12:19:52	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859670,3,'',1)
2023-10-13	12:19:52	178	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:52	178	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:52	178	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859670 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:52	178	[DEBUG]	Store custom available field
2023-10-13	12:19:52	178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859670,6,'Unitaire',3)
2023-10-13	12:19:52	178	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:52	178	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:52	178	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859669
2023-10-13	12:19:52	178	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:52	178	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859669\":[1859669,8,1,\"choisir la taille\"],\"1859670\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859669
2023-10-13	12:19:52	178	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:52	178	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859670
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:52	179	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field taille
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:52	179	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:52	179	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:52	179	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:52	179	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:52	179	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:52	179	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field published
2023-10-13	12:19:52	179	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:52	179	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field override
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:52	179	[DEBUG]	Use field value for field slug
2023-10-13	12:19:52	179	[DEBUG]	Process line 179
2023-10-13	12:19:52	179	[DEBUG]	Load a row
2023-10-13	12:19:52	179	[DEBUG]	Processing item: A_6975_1
2023-10-13	12:19:52	179	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:52	179	[DEBUG]	Processing product tax
2023-10-13	12:19:52	179	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:52	179	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:52	179	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:52	179	[DEBUG]	Query for Product
2023-10-13	12:19:52	179	[DEBUG]	Executed store
2023-10-13	12:19:52	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6975_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:52	179	[DEBUG]	Check product language entry
2023-10-13	12:19:52	179	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859671
2023-10-13	12:19:52	179	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:52	179	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6975_1' AND `virtuemart_product_id` != 1859671
2023-10-13	12:19:52	179	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:52	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859671, 'A_6975_1')
2023-10-13	12:19:52	179	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:52	179	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-numero-5510c-scmu-180cmx10mm-noir' AND `virtuemart_product_id` != 1859671
2023-10-13	12:19:52	179	[DEBUG]	Query for ProductLang
2023-10-13	12:19:52	179	[DEBUG]	Executed store
2023-10-13	12:19:52	179	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 520.001.011',`product_name`='ABUS Cadena Numéro 5510C SCMU 180cmx10mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-numero-5510c-scmu-180cmx10mm-noir' WHERE `virtuemart_product_id` = '1859671'
2023-10-13	12:19:52	179	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34112_cadenas_abus_numero_5510c_scmu_180cmx10mm.jpg
2023-10-13	12:19:52	179	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:52	179	[DEBUG]	Process image file
2023-10-13	12:19:52	179	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:52	179	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:52	179	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34112_cadenas_abus_numero_5510c_scmu_180cmx10mm.jpg
2023-10-13	12:19:52	179	[DEBUG]	Full name target: bcprisme/34112_cadenas_abus_numero_5510c_scmu_180cmx10mm.jpg
2023-10-13	12:19:53	179	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:53	179	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34112_cadenas_abus_numero_5510c_scmu_180cmx10mm.jpg'
2023-10-13	12:19:53	179	[DEBUG]	Query for Media
2023-10-13	12:19:53	179	[DEBUG]	Executed store
2023-10-13	12:19:53	179	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34112_cadenas_abus_numero_5510c_scmu_180cmx10mm.jpg',`file_url_thumb`='bcprisme/34112_cadenas_abus_numero_5510c_scmu_180cmx10mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23781'
2023-10-13	12:19:53	179	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:53	179	[DEBUG]	Executed store
2023-10-13	12:19:53	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859671','23781','1')
2023-10-13	12:19:53	179	[DEBUG]	Store product image relation
2023-10-13	12:19:53	179	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:53	179	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859671 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:53	179	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:53	179	[DEBUG]	Executed store
2023-10-13	12:19:53	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859671','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:53	179	[DEBUG]	Checking manufacturer
2023-10-13	12:19:53	179	[DEBUG]	Load a row
2023-10-13	12:19:53	179	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:53	179	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:53	179	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:53	179	[DEBUG]	Executed store
2023-10-13	12:19:53	179	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:53	179	[DEBUG]	Manufacturer exists
2023-10-13	12:19:53	179	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:19:53	179	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:53	179	[DEBUG]	Executed store
2023-10-13	12:19:53	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859671','162')
2023-10-13	12:19:53	179	[DEBUG]	Find the custom field ID
2023-10-13	12:19:53	179	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:53	179	[DEBUG]	No custom field ID found
2023-10-13	12:19:53	179	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:53	179	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:53	179	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859671 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:53	179	[DEBUG]	Store custom available field
2023-10-13	12:19:53	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859671,3,'0',1)
2023-10-13	12:19:53	179	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:53	179	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:53	179	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859671 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:53	179	[DEBUG]	Store custom available field
2023-10-13	12:19:53	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859671,6,'choisir la taille',3)
2023-10-13	12:19:53	179	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:53	179	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:53	179	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:53	179	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:53	179	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859671 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:53	179	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:53	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859671,8,1)
2023-10-13	12:19:53	179	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:53	179	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859671\":[1859671,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859671
2023-10-13	12:19:53	179	[DEBUG]	Checking category
2023-10-13	12:19:53	179	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:53	179	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859671
2023-10-13	12:19:53	179	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:53	179	[DEBUG]	Executed store
2023-10-13	12:19:53	179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859671','7276')
2023-10-13	12:19:53	179	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:53	179	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859671 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:19:53	179	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:53	179	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859671
2023-10-13	12:19:53	180	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:53	180	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:53	180	[DEBUG]	Use field value for field taille
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:53	180	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:53	180	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:53	180	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:53	180	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:53	180	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:53	180	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:53	180	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:53	180	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:53	180	[DEBUG]	Use field value for field published
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:53	180	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field override
2023-10-13	12:19:53	180	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:53	180	[DEBUG]	Use field value for field slug
2023-10-13	12:19:53	180	[DEBUG]	Process line 180
2023-10-13	12:19:53	180	[DEBUG]	Load a row
2023-10-13	12:19:53	180	[DEBUG]	Processing item: 4003318165238
2023-10-13	12:19:53	180	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:53	180	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:53	180	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6975_1'
2023-10-13	12:19:53	180	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:53	180	[DEBUG]	Processing product tax
2023-10-13	12:19:53	180	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:53	180	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:53	180	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:53	180	[DEBUG]	Query for Product
2023-10-13	12:19:53	180	[DEBUG]	Executed store
2023-10-13	12:19:53	180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859671','4003318165238','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:53	180	[DEBUG]	No parent found
2023-10-13	12:19:53	180	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859671 AND customfield_value = 'stockable'
2023-10-13	12:19:53	180	[DEBUG]	Check product language entry
2023-10-13	12:19:53	180	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859672
2023-10-13	12:19:53	180	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:53	180	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318165238' AND `virtuemart_product_id` != 1859672
2023-10-13	12:19:53	180	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:53	180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859672, '4003318165238')
2023-10-13	12:19:53	180	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:53	180	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-numero-5510c-scmu-180cmx10mm-noir-unitaire' AND `virtuemart_product_id` != 1859672
2023-10-13	12:19:53	180	[DEBUG]	Query for ProductLang
2023-10-13	12:19:53	180	[DEBUG]	Executed store
2023-10-13	12:19:53	180	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena Numéro 5510C SCMU 180cmx10mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-numero-5510c-scmu-180cmx10mm-noir-unitaire' WHERE `virtuemart_product_id` = '1859672'
2023-10-13	12:19:53	180	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34112_cadenas_abus_numero_5510c_scmu_180cmx10mm.jpg
2023-10-13	12:19:53	180	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:53	180	[DEBUG]	Process image file
2023-10-13	12:19:53	180	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:53	180	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:53	180	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34112_cadenas_abus_numero_5510c_scmu_180cmx10mm.jpg
2023-10-13	12:19:53	180	[DEBUG]	Full name target: bcprisme/34112_cadenas_abus_numero_5510c_scmu_180cmx10mm.jpg
2023-10-13	12:19:54	180	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:54	180	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34112_cadenas_abus_numero_5510c_scmu_180cmx10mm.jpg'
2023-10-13	12:19:54	180	[DEBUG]	Query for Media
2023-10-13	12:19:54	180	[DEBUG]	Executed store
2023-10-13	12:19:54	180	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34112_cadenas_abus_numero_5510c_scmu_180cmx10mm.jpg',`file_url_thumb`='bcprisme/34112_cadenas_abus_numero_5510c_scmu_180cmx10mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23781'
2023-10-13	12:19:54	180	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:54	180	[DEBUG]	Executed store
2023-10-13	12:19:54	180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859672','23781','1')
2023-10-13	12:19:54	180	[DEBUG]	Store product image relation
2023-10-13	12:19:54	180	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:54	180	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859672 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:54	180	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:54	180	[DEBUG]	Executed store
2023-10-13	12:19:54	180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859672','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:54	180	[DEBUG]	Checking manufacturer
2023-10-13	12:19:54	180	[DEBUG]	Load a row
2023-10-13	12:19:54	180	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:54	180	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:54	180	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:54	180	[DEBUG]	Executed store
2023-10-13	12:19:54	180	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:54	180	[DEBUG]	Manufacturer exists
2023-10-13	12:19:54	180	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:19:54	180	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:54	180	[DEBUG]	Executed store
2023-10-13	12:19:54	180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859672','162')
2023-10-13	12:19:54	180	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:54	180	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:54	180	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859672 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:54	180	[DEBUG]	Store custom available field
2023-10-13	12:19:54	180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859672,3,'',1)
2023-10-13	12:19:54	180	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:54	180	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:54	180	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859672 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:54	180	[DEBUG]	Store custom available field
2023-10-13	12:19:54	180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859672,6,'Unitaire',3)
2023-10-13	12:19:54	180	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:54	180	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:54	180	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859671
2023-10-13	12:19:54	180	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:54	180	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859671\":[1859671,8,1,\"choisir la taille\"],\"1859672\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859671
2023-10-13	12:19:54	180	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:54	180	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859672
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:54	181	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field taille
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:54	181	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:54	181	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:54	181	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:54	181	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:54	181	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:54	181	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field published
2023-10-13	12:19:54	181	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:54	181	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field override
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:54	181	[DEBUG]	Use field value for field slug
2023-10-13	12:19:54	181	[DEBUG]	Process line 181
2023-10-13	12:19:54	181	[DEBUG]	Load a row
2023-10-13	12:19:54	181	[DEBUG]	Processing item: A_6976_1
2023-10-13	12:19:54	181	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:54	181	[DEBUG]	Processing product tax
2023-10-13	12:19:54	181	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:54	181	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:54	181	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:54	181	[DEBUG]	Query for Product
2023-10-13	12:19:54	181	[DEBUG]	Executed store
2023-10-13	12:19:54	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6976_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:54	181	[DEBUG]	Check product language entry
2023-10-13	12:19:54	181	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859673
2023-10-13	12:19:54	181	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:54	181	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6976_1' AND `virtuemart_product_id` != 1859673
2023-10-13	12:19:54	181	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:54	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859673, 'A_6976_1')
2023-10-13	12:19:54	181	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:54	181	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-primo-5510k-scmu-180cmx10mm-noir' AND `virtuemart_product_id` != 1859673
2023-10-13	12:19:54	181	[DEBUG]	Query for ProductLang
2023-10-13	12:19:54	181	[DEBUG]	Executed store
2023-10-13	12:19:54	181	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 520.001.010',`product_name`='ABUS Cadena Primo 5510K SCMU 180cmx10mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-primo-5510k-scmu-180cmx10mm-noir' WHERE `virtuemart_product_id` = '1859673'
2023-10-13	12:19:54	181	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34113_cadenas_abus_primo_5510k_scmu_180cmx10mm.jpg
2023-10-13	12:19:54	181	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:54	181	[DEBUG]	Process image file
2023-10-13	12:19:54	181	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:54	181	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:54	181	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34113_cadenas_abus_primo_5510k_scmu_180cmx10mm.jpg
2023-10-13	12:19:54	181	[DEBUG]	Full name target: bcprisme/34113_cadenas_abus_primo_5510k_scmu_180cmx10mm.jpg
2023-10-13	12:19:55	181	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:55	181	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34113_cadenas_abus_primo_5510k_scmu_180cmx10mm.jpg'
2023-10-13	12:19:55	181	[DEBUG]	Query for Media
2023-10-13	12:19:55	181	[DEBUG]	Executed store
2023-10-13	12:19:55	181	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34113_cadenas_abus_primo_5510k_scmu_180cmx10mm.jpg',`file_url_thumb`='bcprisme/34113_cadenas_abus_primo_5510k_scmu_180cmx10mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23783'
2023-10-13	12:19:55	181	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:55	181	[DEBUG]	Executed store
2023-10-13	12:19:55	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859673','23783','1')
2023-10-13	12:19:55	181	[DEBUG]	Store product image relation
2023-10-13	12:19:55	181	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:55	181	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859673 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:55	181	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:55	181	[DEBUG]	Executed store
2023-10-13	12:19:55	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859673','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:55	181	[DEBUG]	Checking manufacturer
2023-10-13	12:19:55	181	[DEBUG]	Load a row
2023-10-13	12:19:55	181	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:55	181	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:55	181	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:55	181	[DEBUG]	Executed store
2023-10-13	12:19:55	181	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:55	181	[DEBUG]	Manufacturer exists
2023-10-13	12:19:55	181	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:19:55	181	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:55	181	[DEBUG]	Executed store
2023-10-13	12:19:55	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859673','162')
2023-10-13	12:19:55	181	[DEBUG]	Find the custom field ID
2023-10-13	12:19:55	181	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:55	181	[DEBUG]	No custom field ID found
2023-10-13	12:19:55	181	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:55	181	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:55	181	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859673 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:55	181	[DEBUG]	Store custom available field
2023-10-13	12:19:55	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859673,3,'0',1)
2023-10-13	12:19:55	181	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:55	181	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:55	181	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859673 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:55	181	[DEBUG]	Store custom available field
2023-10-13	12:19:55	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859673,6,'choisir la taille',3)
2023-10-13	12:19:55	181	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:55	181	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:55	181	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:55	181	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:55	181	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859673 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:55	181	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:55	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859673,8,1)
2023-10-13	12:19:55	181	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:55	181	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859673\":[1859673,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859673
2023-10-13	12:19:55	181	[DEBUG]	Checking category
2023-10-13	12:19:55	181	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:55	181	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859673
2023-10-13	12:19:55	181	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:55	181	[DEBUG]	Executed store
2023-10-13	12:19:55	181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859673','7276')
2023-10-13	12:19:55	181	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:55	181	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859673 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:19:55	181	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:55	181	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859673
2023-10-13	12:19:55	182	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:55	182	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:55	182	[DEBUG]	Use field value for field taille
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:55	182	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:55	182	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:55	182	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:55	182	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:55	182	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:55	182	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:55	182	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:55	182	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:55	182	[DEBUG]	Use field value for field published
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:55	182	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field override
2023-10-13	12:19:55	182	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:55	182	[DEBUG]	Use field value for field slug
2023-10-13	12:19:55	182	[DEBUG]	Process line 182
2023-10-13	12:19:55	182	[DEBUG]	Load a row
2023-10-13	12:19:55	182	[DEBUG]	Processing item: 4003318142451
2023-10-13	12:19:55	182	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:55	182	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:55	182	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6976_1'
2023-10-13	12:19:55	182	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:55	182	[DEBUG]	Processing product tax
2023-10-13	12:19:55	182	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:55	182	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:55	182	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:55	182	[DEBUG]	Query for Product
2023-10-13	12:19:55	182	[DEBUG]	Executed store
2023-10-13	12:19:55	182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859673','4003318142451','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:55	182	[DEBUG]	No parent found
2023-10-13	12:19:55	182	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859673 AND customfield_value = 'stockable'
2023-10-13	12:19:55	182	[DEBUG]	Check product language entry
2023-10-13	12:19:55	182	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859674
2023-10-13	12:19:55	182	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:55	182	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318142451' AND `virtuemart_product_id` != 1859674
2023-10-13	12:19:55	182	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:55	182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859674, '4003318142451')
2023-10-13	12:19:55	182	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:55	182	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-primo-5510k-scmu-180cmx10mm-noir-unitaire' AND `virtuemart_product_id` != 1859674
2023-10-13	12:19:55	182	[DEBUG]	Query for ProductLang
2023-10-13	12:19:55	182	[DEBUG]	Executed store
2023-10-13	12:19:55	182	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena Primo 5510K SCMU 180cmx10mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-primo-5510k-scmu-180cmx10mm-noir-unitaire' WHERE `virtuemart_product_id` = '1859674'
2023-10-13	12:19:55	182	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34113_cadenas_abus_primo_5510k_scmu_180cmx10mm.jpg
2023-10-13	12:19:55	182	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:55	182	[DEBUG]	Process image file
2023-10-13	12:19:55	182	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:55	182	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:55	182	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34113_cadenas_abus_primo_5510k_scmu_180cmx10mm.jpg
2023-10-13	12:19:55	182	[DEBUG]	Full name target: bcprisme/34113_cadenas_abus_primo_5510k_scmu_180cmx10mm.jpg
2023-10-13	12:19:56	182	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:56	182	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34113_cadenas_abus_primo_5510k_scmu_180cmx10mm.jpg'
2023-10-13	12:19:56	182	[DEBUG]	Query for Media
2023-10-13	12:19:56	182	[DEBUG]	Executed store
2023-10-13	12:19:56	182	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34113_cadenas_abus_primo_5510k_scmu_180cmx10mm.jpg',`file_url_thumb`='bcprisme/34113_cadenas_abus_primo_5510k_scmu_180cmx10mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23783'
2023-10-13	12:19:56	182	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:56	182	[DEBUG]	Executed store
2023-10-13	12:19:56	182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859674','23783','1')
2023-10-13	12:19:56	182	[DEBUG]	Store product image relation
2023-10-13	12:19:56	182	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:56	182	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859674 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:56	182	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:56	182	[DEBUG]	Executed store
2023-10-13	12:19:56	182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859674','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:56	182	[DEBUG]	Checking manufacturer
2023-10-13	12:19:56	182	[DEBUG]	Load a row
2023-10-13	12:19:56	182	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:56	182	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:56	182	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:56	182	[DEBUG]	Executed store
2023-10-13	12:19:56	182	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:56	182	[DEBUG]	Manufacturer exists
2023-10-13	12:19:56	182	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:19:56	182	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:56	182	[DEBUG]	Executed store
2023-10-13	12:19:56	182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859674','162')
2023-10-13	12:19:56	182	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:56	182	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:56	182	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859674 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:56	182	[DEBUG]	Store custom available field
2023-10-13	12:19:56	182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859674,3,'',1)
2023-10-13	12:19:56	182	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:56	182	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:56	182	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859674 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:56	182	[DEBUG]	Store custom available field
2023-10-13	12:19:56	182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859674,6,'Unitaire',3)
2023-10-13	12:19:56	182	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:56	182	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:56	182	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859673
2023-10-13	12:19:56	182	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:56	182	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859673\":[1859673,8,1,\"choisir la taille\"],\"1859674\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859673
2023-10-13	12:19:56	182	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:56	182	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859674
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:56	183	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field taille
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:56	183	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:56	183	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:56	183	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:56	183	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:56	183	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:56	183	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field published
2023-10-13	12:19:56	183	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:56	183	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field override
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:56	183	[DEBUG]	Use field value for field slug
2023-10-13	12:19:56	183	[DEBUG]	Process line 183
2023-10-13	12:19:56	183	[DEBUG]	Load a row
2023-10-13	12:19:56	183	[DEBUG]	Processing item: A_7005_1
2023-10-13	12:19:56	183	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:56	183	[DEBUG]	Processing product tax
2023-10-13	12:19:56	183	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:56	183	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:56	183	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:56	183	[DEBUG]	Query for Product
2023-10-13	12:19:56	183	[DEBUG]	Executed store
2023-10-13	12:19:56	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7005_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:56	183	[DEBUG]	Check product language entry
2023-10-13	12:19:56	183	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859675
2023-10-13	12:19:56	183	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:56	183	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7005_1' AND `virtuemart_product_id` != 1859675
2023-10-13	12:19:56	183	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:56	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859675, 'A_7005_1')
2023-10-13	12:19:56	183	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:56	183	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-cadena-numerino-scmu-code-12-mm-x-85-cm-snap-cage-halter-noir' AND `virtuemart_product_id` != 1859675
2023-10-13	12:19:56	183	[DEBUG]	Query for ProductLang
2023-10-13	12:19:56	183	[DEBUG]	Executed store
2023-10-13	12:19:56	183	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 520.001.014',`product_name`='GIANT Cadena Numerino SCMU Code 12 mm x 85 cm Snap cage Halter / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-cadena-numerino-scmu-code-12-mm-x-85-cm-snap-cage-halter-noir' WHERE `virtuemart_product_id` = '1859675'
2023-10-13	12:19:56	183	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34143_cadenas_abus_numerino_scmu_code_12_mm_x_85_cm_snap_cage_halter.jpg
2023-10-13	12:19:56	183	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:56	183	[DEBUG]	Process image file
2023-10-13	12:19:56	183	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:56	183	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:56	183	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34143_cadenas_abus_numerino_scmu_code_12_mm_x_85_cm_snap_cage_halter.jpg
2023-10-13	12:19:56	183	[DEBUG]	Full name target: bcprisme/34143_cadenas_abus_numerino_scmu_code_12_mm_x_85_cm_snap_cage_halter.jpg
2023-10-13	12:19:57	183	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:57	183	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34143_cadenas_abus_numerino_scmu_code_12_mm_x_85_cm_snap_cage_halter.jpg'
2023-10-13	12:19:57	183	[DEBUG]	Query for Media
2023-10-13	12:19:57	183	[DEBUG]	Executed store
2023-10-13	12:19:57	183	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34143_cadenas_abus_numerino_scmu_code_12_mm_x_85_cm_snap_cage_halter.jpg',`file_url_thumb`='bcprisme/34143_cadenas_abus_numerino_scmu_code_12_mm_x_85_cm_snap_cage_halter.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16544'
2023-10-13	12:19:57	183	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:57	183	[DEBUG]	Executed store
2023-10-13	12:19:57	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859675','16544','1')
2023-10-13	12:19:57	183	[DEBUG]	Store product image relation
2023-10-13	12:19:57	183	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:57	183	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859675 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:57	183	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:57	183	[DEBUG]	Executed store
2023-10-13	12:19:57	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859675','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:57	183	[DEBUG]	Checking manufacturer
2023-10-13	12:19:57	183	[DEBUG]	Load a row
2023-10-13	12:19:57	183	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:57	183	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:57	183	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:57	183	[DEBUG]	Executed store
2023-10-13	12:19:57	183	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:57	183	[DEBUG]	Manufacturer exists
2023-10-13	12:19:57	183	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:57	183	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:57	183	[DEBUG]	Executed store
2023-10-13	12:19:57	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859675','29')
2023-10-13	12:19:57	183	[DEBUG]	Find the custom field ID
2023-10-13	12:19:57	183	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:57	183	[DEBUG]	No custom field ID found
2023-10-13	12:19:57	183	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:57	183	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:57	183	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859675 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:57	183	[DEBUG]	Store custom available field
2023-10-13	12:19:57	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859675,3,'0',1)
2023-10-13	12:19:57	183	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:57	183	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:57	183	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859675 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:57	183	[DEBUG]	Store custom available field
2023-10-13	12:19:57	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859675,6,'choisir la taille',3)
2023-10-13	12:19:57	183	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:57	183	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:57	183	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:57	183	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:57	183	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859675 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:57	183	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:57	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859675,8,1)
2023-10-13	12:19:57	183	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:57	183	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859675\":[1859675,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859675
2023-10-13	12:19:57	183	[DEBUG]	Checking category
2023-10-13	12:19:57	183	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:57	183	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859675
2023-10-13	12:19:57	183	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:57	183	[DEBUG]	Executed store
2023-10-13	12:19:57	183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859675','7276')
2023-10-13	12:19:57	183	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:57	183	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859675 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:19:57	183	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:57	183	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859675
2023-10-13	12:19:57	184	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:57	184	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:57	184	[DEBUG]	Use field value for field taille
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:57	184	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:57	184	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:57	184	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:57	184	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:57	184	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:57	184	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:57	184	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:57	184	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:57	184	[DEBUG]	Use field value for field published
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:57	184	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field override
2023-10-13	12:19:57	184	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:57	184	[DEBUG]	Use field value for field slug
2023-10-13	12:19:57	184	[DEBUG]	Process line 184
2023-10-13	12:19:57	184	[DEBUG]	Load a row
2023-10-13	12:19:57	184	[DEBUG]	Processing item: 1000000115512
2023-10-13	12:19:57	184	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:57	184	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:57	184	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7005_1'
2023-10-13	12:19:57	184	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:57	184	[DEBUG]	Processing product tax
2023-10-13	12:19:57	184	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:57	184	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:57	184	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:57	184	[DEBUG]	Query for Product
2023-10-13	12:19:57	184	[DEBUG]	Executed store
2023-10-13	12:19:57	184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859675','1000000115512','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:57	184	[DEBUG]	No parent found
2023-10-13	12:19:57	184	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859675 AND customfield_value = 'stockable'
2023-10-13	12:19:57	184	[DEBUG]	Check product language entry
2023-10-13	12:19:57	184	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859676
2023-10-13	12:19:57	184	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:57	184	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000115512' AND `virtuemart_product_id` != 1859676
2023-10-13	12:19:57	184	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:57	184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859676, '1000000115512')
2023-10-13	12:19:57	184	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:57	184	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-cadena-numerino-scmu-code-12-mm-x-85-cm-snap-cage-halter-noir-unitaire' AND `virtuemart_product_id` != 1859676
2023-10-13	12:19:57	184	[DEBUG]	Query for ProductLang
2023-10-13	12:19:57	184	[DEBUG]	Executed store
2023-10-13	12:19:57	184	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Cadena Numerino SCMU Code 12 mm x 85 cm Snap cage Halter / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-cadena-numerino-scmu-code-12-mm-x-85-cm-snap-cage-halter-noir-unitaire' WHERE `virtuemart_product_id` = '1859676'
2023-10-13	12:19:57	184	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34143_cadenas_abus_numerino_scmu_code_12_mm_x_85_cm_snap_cage_halter.jpg
2023-10-13	12:19:57	184	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:57	184	[DEBUG]	Process image file
2023-10-13	12:19:57	184	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:19:57	184	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:57	184	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34143_cadenas_abus_numerino_scmu_code_12_mm_x_85_cm_snap_cage_halter.jpg
2023-10-13	12:19:57	184	[DEBUG]	Full name target: bcprisme/34143_cadenas_abus_numerino_scmu_code_12_mm_x_85_cm_snap_cage_halter.jpg
2023-10-13	12:19:58	184	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:58	184	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34143_cadenas_abus_numerino_scmu_code_12_mm_x_85_cm_snap_cage_halter.jpg'
2023-10-13	12:19:58	184	[DEBUG]	Query for Media
2023-10-13	12:19:58	184	[DEBUG]	Executed store
2023-10-13	12:19:58	184	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34143_cadenas_abus_numerino_scmu_code_12_mm_x_85_cm_snap_cage_halter.jpg',`file_url_thumb`='bcprisme/34143_cadenas_abus_numerino_scmu_code_12_mm_x_85_cm_snap_cage_halter.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16544'
2023-10-13	12:19:58	184	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:58	184	[DEBUG]	Executed store
2023-10-13	12:19:58	184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859676','16544','1')
2023-10-13	12:19:58	184	[DEBUG]	Store product image relation
2023-10-13	12:19:58	184	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:58	184	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859676 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:58	184	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:58	184	[DEBUG]	Executed store
2023-10-13	12:19:58	184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859676','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:58	184	[DEBUG]	Checking manufacturer
2023-10-13	12:19:58	184	[DEBUG]	Load a row
2023-10-13	12:19:58	184	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:58	184	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:58	184	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:58	184	[DEBUG]	Executed store
2023-10-13	12:19:58	184	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:19:58	184	[DEBUG]	Manufacturer exists
2023-10-13	12:19:58	184	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:19:58	184	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:58	184	[DEBUG]	Executed store
2023-10-13	12:19:58	184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859676','29')
2023-10-13	12:19:58	184	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:58	184	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:19:58	184	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859676 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:58	184	[DEBUG]	Store custom available field
2023-10-13	12:19:58	184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859676,3,'',1)
2023-10-13	12:19:58	184	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:58	184	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:19:58	184	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859676 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:58	184	[DEBUG]	Store custom available field
2023-10-13	12:19:58	184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859676,6,'Unitaire',3)
2023-10-13	12:19:58	184	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:58	184	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:19:58	184	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859675
2023-10-13	12:19:58	184	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:58	184	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859675\":[1859675,8,1,\"choisir la taille\"],\"1859676\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859675
2023-10-13	12:19:58	184	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:58	184	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859676
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:58	185	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field taille
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field category_path
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:58	185	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:19:58	185	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:58	185	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field product_weight
2023-10-13	12:19:58	185	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:58	185	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:58	185	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field published
2023-10-13	12:19:58	185	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:58	185	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field custom_title
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field custom_param
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field override
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field public_price
2023-10-13	12:19:58	185	[DEBUG]	Use field value for field slug
2023-10-13	12:19:58	185	[DEBUG]	Process line 185
2023-10-13	12:19:58	185	[DEBUG]	Load a row
2023-10-13	12:19:58	185	[DEBUG]	Processing item: A_7077_1
2023-10-13	12:19:58	185	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:58	185	[DEBUG]	Processing product tax
2023-10-13	12:19:58	185	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:58	185	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:58	185	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:58	185	[DEBUG]	Query for Product
2023-10-13	12:19:58	185	[DEBUG]	Executed store
2023-10-13	12:19:58	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7077_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:58	185	[DEBUG]	Check product language entry
2023-10-13	12:19:58	185	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859677
2023-10-13	12:19:58	185	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:58	185	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7077_1' AND `virtuemart_product_id` != 1859677
2023-10-13	12:19:58	185	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:58	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859677, 'A_7077_1')
2023-10-13	12:19:58	185	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:58	185	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-star-4508k-cle-antivol-a-cable-150cm-noir' AND `virtuemart_product_id` != 1859677
2023-10-13	12:19:58	185	[DEBUG]	Query for ProductLang
2023-10-13	12:19:58	185	[DEBUG]	Executed store
2023-10-13	12:19:58	185	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 520.001.009',`product_name`='ABUS Cadena STAR 4508K clé-antivol à câble 150cm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-star-4508k-cle-antivol-a-cable-150cm-noir' WHERE `virtuemart_product_id` = '1859677'
2023-10-13	12:19:58	185	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34231_cadenas_abus_star_4508k_cle-antivol_à_cable_150cm.jpg
2023-10-13	12:19:58	185	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:19:58	185	[DEBUG]	Process image file
2023-10-13	12:19:58	185	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:19:58	185	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:58	185	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34231_cadenas_abus_star_4508k_cle-antivol_à_cable_150cm.jpg
2023-10-13	12:19:58	185	[DEBUG]	Full name target: bcprisme/34231_cadenas_abus_star_4508k_cle-antivol_à_cable_150cm.jpg
2023-10-13	12:19:59	185	[DEBUG]	Checking if the file_url exists
2023-10-13	12:19:59	185	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34231_cadenas_abus_star_4508k_cle-antivol_à_cable_150cm.jpg'
2023-10-13	12:19:59	185	[DEBUG]	Query for Media
2023-10-13	12:19:59	185	[DEBUG]	Executed store
2023-10-13	12:19:59	185	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34231_cadenas_abus_star_4508k_cle-antivol_à_cable_150cm.jpg',`file_url_thumb`='bcprisme/34231_cadenas_abus_star_4508k_cle-antivol_à_cable_150cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '858152'
2023-10-13	12:19:59	185	[DEBUG]	Query for ProductMedia
2023-10-13	12:19:59	185	[DEBUG]	Executed store
2023-10-13	12:19:59	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859677','858152','1')
2023-10-13	12:19:59	185	[DEBUG]	Store product image relation
2023-10-13	12:19:59	185	[DEBUG]	Finding a product_price_id
2023-10-13	12:19:59	185	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859677 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:19:59	185	[DEBUG]	Query for ProductPrice
2023-10-13	12:19:59	185	[DEBUG]	Executed store
2023-10-13	12:19:59	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859677','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:19:59	185	[DEBUG]	Checking manufacturer
2023-10-13	12:19:59	185	[DEBUG]	Load a row
2023-10-13	12:19:59	185	[DEBUG]	Manufacturer already exists
2023-10-13	12:19:59	185	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:59	185	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:19:59	185	[DEBUG]	Executed store
2023-10-13	12:19:59	185	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:19:59	185	[DEBUG]	Manufacturer exists
2023-10-13	12:19:59	185	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:19:59	185	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:19:59	185	[DEBUG]	Executed store
2023-10-13	12:19:59	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859677','162')
2023-10-13	12:19:59	185	[DEBUG]	Find the custom field ID
2023-10-13	12:19:59	185	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:19:59	185	[DEBUG]	No custom field ID found
2023-10-13	12:19:59	185	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:19:59	185	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:19:59	185	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859677 AND `virtuemart_custom_id` = 3
2023-10-13	12:19:59	185	[DEBUG]	Store custom available field
2023-10-13	12:19:59	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859677,3,'0',1)
2023-10-13	12:19:59	185	[DEBUG]	Processing custom available field: taille
2023-10-13	12:19:59	185	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:19:59	185	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859677 AND `virtuemart_custom_id` = 6
2023-10-13	12:19:59	185	[DEBUG]	Store custom available field
2023-10-13	12:19:59	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859677,6,'choisir la taille',3)
2023-10-13	12:19:59	185	[DEBUG]	Process multi-variant fields
2023-10-13	12:19:59	185	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:19:59	185	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:19:59	185	[DEBUG]	Find the multi variant product entry
2023-10-13	12:19:59	185	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859677 AND `virtuemart_custom_id` = 8
2023-10-13	12:19:59	185	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:19:59	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859677,8,1)
2023-10-13	12:19:59	185	[DEBUG]	Store the updated customfield_params
2023-10-13	12:19:59	185	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859677\":[1859677,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859677
2023-10-13	12:19:59	185	[DEBUG]	Checking category
2023-10-13	12:19:59	185	[DEBUG]	Get the existing categories for the product
2023-10-13	12:19:59	185	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859677
2023-10-13	12:19:59	185	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:19:59	185	[DEBUG]	Executed store
2023-10-13	12:19:59	185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859677','7276')
2023-10-13	12:19:59	185	[DEBUG]	Delete leftover product categories
2023-10-13	12:19:59	185	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859677 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:19:59	185	[DEBUG]	Update has fields after all processing
2023-10-13	12:19:59	185	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859677
2023-10-13	12:19:59	186	[DEBUG]	Use field value for field product_sku
2023-10-13	12:19:59	186	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:19:59	186	[DEBUG]	Use field value for field taille
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:19:59	186	[DEBUG]	Use field value for field product_name
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field category_path
2023-10-13	12:19:59	186	[DEBUG]	Use field value for field product_price
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:19:59	186	[DEBUG]	Use field value for field product_tax
2023-10-13	12:19:59	186	[DEBUG]	Use field value for field file_url
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field product_desc
2023-10-13	12:19:59	186	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:19:59	186	[DEBUG]	Use field value for field product_availability
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field product_weight
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field product_unit
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field related_products
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field product_special
2023-10-13	12:19:59	186	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:19:59	186	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:19:59	186	[DEBUG]	Use field value for field published
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field metadesc
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field metakey
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field custom_title
2023-10-13	12:19:59	186	[DEBUG]	Use field value for field custom_value
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field custom_param
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field override
2023-10-13	12:19:59	186	[DEBUG]	Use default value for field public_price
2023-10-13	12:19:59	186	[DEBUG]	Use field value for field slug
2023-10-13	12:19:59	186	[DEBUG]	Process line 186
2023-10-13	12:19:59	186	[DEBUG]	Load a row
2023-10-13	12:19:59	186	[DEBUG]	Processing item: 4003318200168
2023-10-13	12:19:59	186	[DEBUG]	Looking for parent SKU
2023-10-13	12:19:59	186	[DEBUG]	Checking product parent SKU
2023-10-13	12:19:59	186	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7077_1'
2023-10-13	12:19:59	186	[DEBUG]	Product tax: 7.7
2023-10-13	12:19:59	186	[DEBUG]	Processing product tax
2023-10-13	12:19:59	186	[DEBUG]	Check if calculation rule exists
2023-10-13	12:19:59	186	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:19:59	186	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:19:59	186	[DEBUG]	Query for Product
2023-10-13	12:19:59	186	[DEBUG]	Executed store
2023-10-13	12:19:59	186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859677','4003318200168','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:19:59	186	[DEBUG]	No parent found
2023-10-13	12:19:59	186	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859677 AND customfield_value = 'stockable'
2023-10-13	12:19:59	186	[DEBUG]	Check product language entry
2023-10-13	12:19:59	186	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859678
2023-10-13	12:19:59	186	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:59	186	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318200168' AND `virtuemart_product_id` != 1859678
2023-10-13	12:19:59	186	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:19:59	186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859678, '4003318200168')
2023-10-13	12:19:59	186	[DEBUG]	Check if the product slug exists
2023-10-13	12:19:59	186	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-star-4508k-cle-antivol-a-cable-150cm-noir-unitaire' AND `virtuemart_product_id` != 1859678
2023-10-13	12:19:59	186	[DEBUG]	Query for ProductLang
2023-10-13	12:19:59	186	[DEBUG]	Executed store
2023-10-13	12:19:59	186	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena STAR 4508K clé-antivol à câble 150cm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-star-4508k-cle-antivol-a-cable-150cm-noir-unitaire' WHERE `virtuemart_product_id` = '1859678'
2023-10-13	12:19:59	186	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34231_cadenas_abus_star_4508k_cle-antivol_à_cable_150cm.jpg
2023-10-13	12:19:59	186	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:19:59	186	[DEBUG]	Process image file
2023-10-13	12:19:59	186	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:19:59	186	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:19:59	186	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34231_cadenas_abus_star_4508k_cle-antivol_à_cable_150cm.jpg
2023-10-13	12:19:59	186	[DEBUG]	Full name target: bcprisme/34231_cadenas_abus_star_4508k_cle-antivol_à_cable_150cm.jpg
2023-10-13	12:20:00	186	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:00	186	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34231_cadenas_abus_star_4508k_cle-antivol_à_cable_150cm.jpg'
2023-10-13	12:20:00	186	[DEBUG]	Query for Media
2023-10-13	12:20:00	186	[DEBUG]	Executed store
2023-10-13	12:20:00	186	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34231_cadenas_abus_star_4508k_cle-antivol_à_cable_150cm.jpg',`file_url_thumb`='bcprisme/34231_cadenas_abus_star_4508k_cle-antivol_à_cable_150cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '858152'
2023-10-13	12:20:00	186	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:00	186	[DEBUG]	Executed store
2023-10-13	12:20:00	186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859678','858152','1')
2023-10-13	12:20:00	186	[DEBUG]	Store product image relation
2023-10-13	12:20:00	186	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:00	186	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859678 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:00	186	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:00	186	[DEBUG]	Executed store
2023-10-13	12:20:00	186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859678','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:00	186	[DEBUG]	Checking manufacturer
2023-10-13	12:20:00	186	[DEBUG]	Load a row
2023-10-13	12:20:00	186	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:00	186	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:00	186	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:00	186	[DEBUG]	Executed store
2023-10-13	12:20:00	186	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:00	186	[DEBUG]	Manufacturer exists
2023-10-13	12:20:00	186	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:00	186	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:00	186	[DEBUG]	Executed store
2023-10-13	12:20:00	186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859678','162')
2023-10-13	12:20:00	186	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:00	186	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:00	186	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859678 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:00	186	[DEBUG]	Store custom available field
2023-10-13	12:20:00	186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859678,3,'',1)
2023-10-13	12:20:00	186	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:00	186	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:00	186	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859678 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:00	186	[DEBUG]	Store custom available field
2023-10-13	12:20:00	186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859678,6,'Unitaire',3)
2023-10-13	12:20:00	186	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:00	186	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:00	186	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859677
2023-10-13	12:20:00	186	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:00	186	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859677\":[1859677,8,1,\"choisir la taille\"],\"1859678\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859677
2023-10-13	12:20:00	186	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:00	186	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859678
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:00	187	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field taille
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:00	187	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:00	187	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:00	187	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:00	187	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:00	187	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:00	187	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field published
2023-10-13	12:20:00	187	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:00	187	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field override
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:00	187	[DEBUG]	Use field value for field slug
2023-10-13	12:20:00	187	[DEBUG]	Process line 187
2023-10-13	12:20:00	187	[DEBUG]	Load a row
2023-10-13	12:20:00	187	[DEBUG]	Processing item: A_7101_1
2023-10-13	12:20:00	187	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:00	187	[DEBUG]	Processing product tax
2023-10-13	12:20:00	187	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:00	187	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:00	187	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:00	187	[DEBUG]	Query for Product
2023-10-13	12:20:00	187	[DEBUG]	Executed store
2023-10-13	12:20:00	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7101_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:20:00	187	[DEBUG]	Check product language entry
2023-10-13	12:20:00	187	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859679
2023-10-13	12:20:00	187	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:00	187	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7101_1' AND `virtuemart_product_id` != 1859679
2023-10-13	12:20:00	187	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:00	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859679, 'A_7101_1')
2023-10-13	12:20:00	187	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:00	187	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cadena-avec-clef-securite-en-silicone-noir' AND `virtuemart_product_id` != 1859679
2023-10-13	12:20:00	187	[DEBUG]	Query for ProductLang
2023-10-13	12:20:00	187	[DEBUG]	Executed store
2023-10-13	12:20:00	187	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Cadenas avec code sécurité <br>Spécificité du cable: 8x600mm<br>288.5 gr.<br>N° art fourn : LOCKFLEXBK',`product_name`='MSC Cadena avec clef sécurité en Silicone / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cadena-avec-clef-securite-en-silicone-noir' WHERE `virtuemart_product_id` = '1859679'
2023-10-13	12:20:00	187	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34257_cadenas_avec_clef_securite.jpg
2023-10-13	12:20:00	187	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:20:00	187	[DEBUG]	Process image file
2023-10-13	12:20:00	187	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:20:00	187	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:00	187	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34257_cadenas_avec_clef_securite.jpg
2023-10-13	12:20:00	187	[DEBUG]	Full name target: bcprisme/34257_cadenas_avec_clef_securite.jpg
2023-10-13	12:20:01	187	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:01	187	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34257_cadenas_avec_clef_securite.jpg'
2023-10-13	12:20:01	187	[DEBUG]	Query for Media
2023-10-13	12:20:01	187	[DEBUG]	Executed store
2023-10-13	12:20:01	187	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34257_cadenas_avec_clef_securite.jpg',`file_url_thumb`='bcprisme/34257_cadenas_avec_clef_securite.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '109973'
2023-10-13	12:20:01	187	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:01	187	[DEBUG]	Executed store
2023-10-13	12:20:01	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859679','109973','1')
2023-10-13	12:20:01	187	[DEBUG]	Store product image relation
2023-10-13	12:20:01	187	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:01	187	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859679 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:01	187	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:01	187	[DEBUG]	Executed store
2023-10-13	12:20:01	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859679','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:01	187	[DEBUG]	Checking manufacturer
2023-10-13	12:20:01	187	[DEBUG]	Load a row
2023-10-13	12:20:01	187	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:01	187	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:20:01	187	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:01	187	[DEBUG]	Executed store
2023-10-13	12:20:01	187	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:20:01	187	[DEBUG]	Manufacturer exists
2023-10-13	12:20:01	187	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:20:01	187	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:01	187	[DEBUG]	Executed store
2023-10-13	12:20:01	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859679','32')
2023-10-13	12:20:01	187	[DEBUG]	Find the custom field ID
2023-10-13	12:20:01	187	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:01	187	[DEBUG]	No custom field ID found
2023-10-13	12:20:01	187	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:01	187	[DEBUG]	Get existing row with customfield value 18.8475
2023-10-13	12:20:01	187	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859679 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:01	187	[DEBUG]	Store custom available field
2023-10-13	12:20:01	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859679,3,'18.8475',1)
2023-10-13	12:20:01	187	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:01	187	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:01	187	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859679 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:01	187	[DEBUG]	Store custom available field
2023-10-13	12:20:01	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859679,6,'choisir la taille',3)
2023-10-13	12:20:01	187	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:01	187	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:01	187	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:01	187	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:01	187	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859679 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:01	187	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:01	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859679,8,1)
2023-10-13	12:20:01	187	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:01	187	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859679\":[1859679,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859679
2023-10-13	12:20:01	187	[DEBUG]	Checking category
2023-10-13	12:20:01	187	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:01	187	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859679
2023-10-13	12:20:01	187	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:01	187	[DEBUG]	Executed store
2023-10-13	12:20:01	187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859679','7276')
2023-10-13	12:20:01	187	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:01	187	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859679 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:01	187	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:01	187	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859679
2023-10-13	12:20:01	188	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:01	188	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:01	188	[DEBUG]	Use field value for field taille
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:01	188	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:01	188	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:01	188	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:01	188	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:01	188	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:01	188	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:01	188	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:01	188	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:01	188	[DEBUG]	Use field value for field published
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:01	188	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field override
2023-10-13	12:20:01	188	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:01	188	[DEBUG]	Use field value for field slug
2023-10-13	12:20:01	188	[DEBUG]	Process line 188
2023-10-13	12:20:01	188	[DEBUG]	Load a row
2023-10-13	12:20:01	188	[DEBUG]	Processing item: 8435466213886
2023-10-13	12:20:01	188	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:01	188	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:01	188	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7101_1'
2023-10-13	12:20:01	188	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:01	188	[DEBUG]	Processing product tax
2023-10-13	12:20:01	188	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:01	188	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:01	188	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:01	188	[DEBUG]	Query for Product
2023-10-13	12:20:01	188	[DEBUG]	Executed store
2023-10-13	12:20:01	188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859679','8435466213886','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:20:01	188	[DEBUG]	No parent found
2023-10-13	12:20:01	188	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859679 AND customfield_value = 'stockable'
2023-10-13	12:20:01	188	[DEBUG]	Check product language entry
2023-10-13	12:20:01	188	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859680
2023-10-13	12:20:01	188	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:01	188	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213886' AND `virtuemart_product_id` != 1859680
2023-10-13	12:20:01	188	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:01	188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859680, '8435466213886')
2023-10-13	12:20:01	188	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:01	188	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cadena-avec-clef-securite-en-silicone-noir-unitaire' AND `virtuemart_product_id` != 1859680
2023-10-13	12:20:01	188	[DEBUG]	Query for ProductLang
2023-10-13	12:20:01	188	[DEBUG]	Executed store
2023-10-13	12:20:01	188	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cadena avec clef sécurité en Silicone / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cadena-avec-clef-securite-en-silicone-noir-unitaire' WHERE `virtuemart_product_id` = '1859680'
2023-10-13	12:20:01	188	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34257_cadenas_avec_clef_securite.jpg
2023-10-13	12:20:01	188	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:20:01	188	[DEBUG]	Process image file
2023-10-13	12:20:01	188	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:20:01	188	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:01	188	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34257_cadenas_avec_clef_securite.jpg
2023-10-13	12:20:01	188	[DEBUG]	Full name target: bcprisme/34257_cadenas_avec_clef_securite.jpg
2023-10-13	12:20:02	188	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:02	188	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34257_cadenas_avec_clef_securite.jpg'
2023-10-13	12:20:02	188	[DEBUG]	Query for Media
2023-10-13	12:20:02	188	[DEBUG]	Executed store
2023-10-13	12:20:02	188	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34257_cadenas_avec_clef_securite.jpg',`file_url_thumb`='bcprisme/34257_cadenas_avec_clef_securite.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '109973'
2023-10-13	12:20:02	188	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:02	188	[DEBUG]	Executed store
2023-10-13	12:20:02	188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859680','109973','1')
2023-10-13	12:20:02	188	[DEBUG]	Store product image relation
2023-10-13	12:20:02	188	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:02	188	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859680 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:02	188	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:02	188	[DEBUG]	Executed store
2023-10-13	12:20:02	188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859680','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:02	188	[DEBUG]	Checking manufacturer
2023-10-13	12:20:02	188	[DEBUG]	Load a row
2023-10-13	12:20:02	188	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:02	188	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:20:02	188	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:02	188	[DEBUG]	Executed store
2023-10-13	12:20:02	188	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:20:02	188	[DEBUG]	Manufacturer exists
2023-10-13	12:20:02	188	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:20:02	188	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:02	188	[DEBUG]	Executed store
2023-10-13	12:20:02	188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859680','32')
2023-10-13	12:20:02	188	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:02	188	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:02	188	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859680 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:02	188	[DEBUG]	Store custom available field
2023-10-13	12:20:02	188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859680,3,'',1)
2023-10-13	12:20:02	188	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:02	188	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:02	188	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859680 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:02	188	[DEBUG]	Store custom available field
2023-10-13	12:20:02	188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859680,6,'Unitaire',3)
2023-10-13	12:20:02	188	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:02	188	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:02	188	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859679
2023-10-13	12:20:02	188	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:02	188	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859679\":[1859679,8,1,\"choisir la taille\"],\"1859680\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859679
2023-10-13	12:20:02	188	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:02	188	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859680
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:02	189	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field taille
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:02	189	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:02	189	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:02	189	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:02	189	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:02	189	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:02	189	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:02	189	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field published
2023-10-13	12:20:02	189	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:02	189	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field override
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:02	189	[DEBUG]	Use field value for field slug
2023-10-13	12:20:02	189	[DEBUG]	Process line 189
2023-10-13	12:20:02	189	[DEBUG]	Load a row
2023-10-13	12:20:02	189	[DEBUG]	Processing item: A_7888_84
2023-10-13	12:20:02	189	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:02	189	[DEBUG]	Processing product tax
2023-10-13	12:20:02	189	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:02	189	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:02	189	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:02	189	[DEBUG]	Query for Product
2023-10-13	12:20:02	189	[DEBUG]	Executed store
2023-10-13	12:20:02	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7888_84','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:20:02	189	[DEBUG]	Check product language entry
2023-10-13	12:20:02	189	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859681
2023-10-13	12:20:02	189	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:02	189	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7888_84' AND `virtuemart_product_id` != 1859681
2023-10-13	12:20:02	189	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:02	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859681, 'A_7888_84')
2023-10-13	12:20:02	189	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:02	189	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-primo-5510k-180-sans-support-noir-black' AND `virtuemart_product_id` != 1859681
2023-10-13	12:20:02	189	[DEBUG]	Query for ProductLang
2023-10-13	12:20:02	189	[DEBUG]	Executed store
2023-10-13	12:20:02	189	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.72956',`product_name`='ABUS Cadena à spirale Primo 5510K/180 sans support noir / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-primo-5510k-180-sans-support-noir-black' WHERE `virtuemart_product_id` = '1859681'
2023-10-13	12:20:02	189	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72956_fr_jpg.jpg
2023-10-13	12:20:02	189	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:02	189	[DEBUG]	Process image file
2023-10-13	12:20:02	189	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:02	189	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:02	189	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72956_fr_jpg.jpg
2023-10-13	12:20:02	189	[DEBUG]	Full name target: bcprisme/11_72956_fr_jpg.jpg
2023-10-13	12:20:04	189	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:04	189	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_72956_fr_jpg.jpg'
2023-10-13	12:20:04	189	[DEBUG]	Query for Media
2023-10-13	12:20:04	189	[DEBUG]	Executed store
2023-10-13	12:20:04	189	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_72956_fr_jpg.jpg',`file_url_thumb`='bcprisme/11_72956_fr_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '978865'
2023-10-13	12:20:04	189	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:04	189	[DEBUG]	Executed store
2023-10-13	12:20:04	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859681','978865','1')
2023-10-13	12:20:04	189	[DEBUG]	Store product image relation
2023-10-13	12:20:04	189	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:04	189	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859681 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:04	189	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:04	189	[DEBUG]	Executed store
2023-10-13	12:20:04	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859681','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:04	189	[DEBUG]	Checking manufacturer
2023-10-13	12:20:04	189	[DEBUG]	Load a row
2023-10-13	12:20:04	189	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:04	189	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:04	189	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:04	189	[DEBUG]	Executed store
2023-10-13	12:20:04	189	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:04	189	[DEBUG]	Manufacturer exists
2023-10-13	12:20:04	189	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:04	189	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:04	189	[DEBUG]	Executed store
2023-10-13	12:20:04	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859681','162')
2023-10-13	12:20:04	189	[DEBUG]	Find the custom field ID
2023-10-13	12:20:04	189	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:04	189	[DEBUG]	No custom field ID found
2023-10-13	12:20:04	189	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:04	189	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:04	189	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859681 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:04	189	[DEBUG]	Store custom available field
2023-10-13	12:20:04	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859681,3,'0',1)
2023-10-13	12:20:04	189	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:04	189	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:04	189	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859681 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:04	189	[DEBUG]	Store custom available field
2023-10-13	12:20:04	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859681,6,'choisir la taille',3)
2023-10-13	12:20:04	189	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:04	189	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:04	189	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:04	189	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:04	189	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859681 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:04	189	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:04	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859681,8,1)
2023-10-13	12:20:04	189	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:04	189	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859681\":[1859681,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859681
2023-10-13	12:20:04	189	[DEBUG]	Checking category
2023-10-13	12:20:04	189	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:04	189	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859681
2023-10-13	12:20:04	189	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:04	189	[DEBUG]	Executed store
2023-10-13	12:20:04	189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859681','7276')
2023-10-13	12:20:04	189	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:04	189	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859681 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:04	189	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:04	189	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859681
2023-10-13	12:20:04	190	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:04	190	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:04	190	[DEBUG]	Use field value for field taille
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:04	190	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:04	190	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:04	190	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:04	190	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:04	190	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:04	190	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:04	190	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:04	190	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:04	190	[DEBUG]	Use field value for field published
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:04	190	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field override
2023-10-13	12:20:04	190	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:04	190	[DEBUG]	Use field value for field slug
2023-10-13	12:20:04	190	[DEBUG]	Process line 190
2023-10-13	12:20:04	190	[DEBUG]	Load a row
2023-10-13	12:20:04	190	[DEBUG]	Processing item: 4003318142604
2023-10-13	12:20:04	190	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:04	190	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:04	190	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7888_84'
2023-10-13	12:20:04	190	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:04	190	[DEBUG]	Processing product tax
2023-10-13	12:20:04	190	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:04	190	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:04	190	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:04	190	[DEBUG]	Query for Product
2023-10-13	12:20:04	190	[DEBUG]	Executed store
2023-10-13	12:20:04	190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859681','4003318142604','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:20:04	190	[DEBUG]	No parent found
2023-10-13	12:20:04	190	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859681 AND customfield_value = 'stockable'
2023-10-13	12:20:04	190	[DEBUG]	Check product language entry
2023-10-13	12:20:04	190	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859682
2023-10-13	12:20:04	190	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:04	190	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318142604' AND `virtuemart_product_id` != 1859682
2023-10-13	12:20:04	190	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:04	190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859682, '4003318142604')
2023-10-13	12:20:04	190	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:04	190	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-primo-5510k-180-sans-support-noir-black-unitaire' AND `virtuemart_product_id` != 1859682
2023-10-13	12:20:04	190	[DEBUG]	Query for ProductLang
2023-10-13	12:20:04	190	[DEBUG]	Executed store
2023-10-13	12:20:04	190	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale Primo 5510K/180 sans support noir / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-primo-5510k-180-sans-support-noir-black-unitaire' WHERE `virtuemart_product_id` = '1859682'
2023-10-13	12:20:04	190	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72956_fr_jpg.jpg
2023-10-13	12:20:04	190	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:04	190	[DEBUG]	Process image file
2023-10-13	12:20:04	190	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:04	190	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:04	190	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72956_fr_jpg.jpg
2023-10-13	12:20:04	190	[DEBUG]	Full name target: bcprisme/11_72956_fr_jpg.jpg
2023-10-13	12:20:05	190	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:05	190	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_72956_fr_jpg.jpg'
2023-10-13	12:20:05	190	[DEBUG]	Query for Media
2023-10-13	12:20:05	190	[DEBUG]	Executed store
2023-10-13	12:20:05	190	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_72956_fr_jpg.jpg',`file_url_thumb`='bcprisme/11_72956_fr_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '978865'
2023-10-13	12:20:05	190	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:05	190	[DEBUG]	Executed store
2023-10-13	12:20:05	190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859682','978865','1')
2023-10-13	12:20:05	190	[DEBUG]	Store product image relation
2023-10-13	12:20:05	190	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:05	190	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859682 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:05	190	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:05	190	[DEBUG]	Executed store
2023-10-13	12:20:05	190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859682','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:05	190	[DEBUG]	Checking manufacturer
2023-10-13	12:20:05	190	[DEBUG]	Load a row
2023-10-13	12:20:05	190	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:05	190	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:05	190	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:05	190	[DEBUG]	Executed store
2023-10-13	12:20:05	190	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:05	190	[DEBUG]	Manufacturer exists
2023-10-13	12:20:05	190	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:05	190	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:05	190	[DEBUG]	Executed store
2023-10-13	12:20:05	190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859682','162')
2023-10-13	12:20:05	190	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:05	190	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:05	190	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859682 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:05	190	[DEBUG]	Store custom available field
2023-10-13	12:20:05	190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859682,3,'',1)
2023-10-13	12:20:05	190	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:05	190	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:05	190	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859682 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:05	190	[DEBUG]	Store custom available field
2023-10-13	12:20:05	190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859682,6,'Unitaire',3)
2023-10-13	12:20:05	190	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:05	190	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:05	190	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859681
2023-10-13	12:20:05	190	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:05	190	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859681\":[1859681,8,1,\"choisir la taille\"],\"1859682\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859681
2023-10-13	12:20:05	190	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:05	190	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859682
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:05	191	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field taille
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:05	191	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:05	191	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:05	191	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:05	191	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:05	191	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:05	191	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:05	191	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field published
2023-10-13	12:20:05	191	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:05	191	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field override
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:05	191	[DEBUG]	Use field value for field slug
2023-10-13	12:20:05	191	[DEBUG]	Process line 191
2023-10-13	12:20:05	191	[DEBUG]	Load a row
2023-10-13	12:20:05	191	[DEBUG]	Processing item: A_7889_84
2023-10-13	12:20:05	191	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:05	191	[DEBUG]	Processing product tax
2023-10-13	12:20:05	191	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:05	191	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:05	191	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:05	191	[DEBUG]	Query for Product
2023-10-13	12:20:05	191	[DEBUG]	Executed store
2023-10-13	12:20:05	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7889_84','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:20:05	191	[DEBUG]	Check product language entry
2023-10-13	12:20:05	191	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859683
2023-10-13	12:20:05	191	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:05	191	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7889_84' AND `virtuemart_product_id` != 1859683
2023-10-13	12:20:05	191	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:05	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859683, 'A_7889_84')
2023-10-13	12:20:05	191	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:05	191	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-numero-5510c-180-code-sans-support-noir-black' AND `virtuemart_product_id` != 1859683
2023-10-13	12:20:05	191	[DEBUG]	Query for ProductLang
2023-10-13	12:20:05	191	[DEBUG]	Executed store
2023-10-13	12:20:05	191	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.72957',`product_name`='ABUS Cadena à spirale Numero 5510C/180 code sans support noir / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-numero-5510c-180-code-sans-support-noir-black' WHERE `virtuemart_product_id` = '1859683'
2023-10-13	12:20:05	191	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72957_fr_jpg.jpg
2023-10-13	12:20:05	191	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:05	191	[DEBUG]	Process image file
2023-10-13	12:20:05	191	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:05	191	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:05	191	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72957_fr_jpg.jpg
2023-10-13	12:20:05	191	[DEBUG]	Full name target: bcprisme/11_72957_fr_jpg.jpg
2023-10-13	12:20:06	191	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:06	191	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_72957_fr_jpg.jpg'
2023-10-13	12:20:06	191	[DEBUG]	Query for Media
2023-10-13	12:20:06	191	[DEBUG]	Executed store
2023-10-13	12:20:06	191	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_72957_fr_jpg.jpg',`file_url_thumb`='bcprisme/11_72957_fr_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '978867'
2023-10-13	12:20:06	191	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:06	191	[DEBUG]	Executed store
2023-10-13	12:20:06	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859683','978867','1')
2023-10-13	12:20:06	191	[DEBUG]	Store product image relation
2023-10-13	12:20:06	191	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:06	191	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859683 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:06	191	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:06	191	[DEBUG]	Executed store
2023-10-13	12:20:06	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859683','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:06	191	[DEBUG]	Checking manufacturer
2023-10-13	12:20:06	191	[DEBUG]	Load a row
2023-10-13	12:20:06	191	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:06	191	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:06	191	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:06	191	[DEBUG]	Executed store
2023-10-13	12:20:06	191	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:06	191	[DEBUG]	Manufacturer exists
2023-10-13	12:20:06	191	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:06	191	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:06	191	[DEBUG]	Executed store
2023-10-13	12:20:06	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859683','162')
2023-10-13	12:20:06	191	[DEBUG]	Find the custom field ID
2023-10-13	12:20:06	191	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:06	191	[DEBUG]	No custom field ID found
2023-10-13	12:20:06	191	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:06	191	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:06	191	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859683 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:06	191	[DEBUG]	Store custom available field
2023-10-13	12:20:06	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859683,3,'0',1)
2023-10-13	12:20:06	191	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:06	191	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:06	191	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859683 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:06	191	[DEBUG]	Store custom available field
2023-10-13	12:20:06	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859683,6,'choisir la taille',3)
2023-10-13	12:20:06	191	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:06	191	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:06	191	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:06	191	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:06	191	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859683 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:06	191	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:06	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859683,8,1)
2023-10-13	12:20:06	191	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:06	191	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859683\":[1859683,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859683
2023-10-13	12:20:06	191	[DEBUG]	Checking category
2023-10-13	12:20:06	191	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:06	191	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859683
2023-10-13	12:20:06	191	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:06	191	[DEBUG]	Executed store
2023-10-13	12:20:06	191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859683','7276')
2023-10-13	12:20:06	191	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:06	191	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859683 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:06	191	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:06	191	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859683
2023-10-13	12:20:06	192	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:06	192	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:06	192	[DEBUG]	Use field value for field taille
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:06	192	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:06	192	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:06	192	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:06	192	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:06	192	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:06	192	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:06	192	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:06	192	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:06	192	[DEBUG]	Use field value for field published
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:06	192	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field override
2023-10-13	12:20:06	192	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:06	192	[DEBUG]	Use field value for field slug
2023-10-13	12:20:06	192	[DEBUG]	Process line 192
2023-10-13	12:20:06	192	[DEBUG]	Load a row
2023-10-13	12:20:06	192	[DEBUG]	Processing item: 4003318165245
2023-10-13	12:20:06	192	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:06	192	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:06	192	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7889_84'
2023-10-13	12:20:06	192	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:06	192	[DEBUG]	Processing product tax
2023-10-13	12:20:06	192	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:06	192	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:06	192	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:06	192	[DEBUG]	Query for Product
2023-10-13	12:20:06	192	[DEBUG]	Executed store
2023-10-13	12:20:06	192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859683','4003318165245','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:20:06	192	[DEBUG]	No parent found
2023-10-13	12:20:06	192	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859683 AND customfield_value = 'stockable'
2023-10-13	12:20:06	192	[DEBUG]	Check product language entry
2023-10-13	12:20:06	192	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859684
2023-10-13	12:20:06	192	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:06	192	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318165245' AND `virtuemart_product_id` != 1859684
2023-10-13	12:20:06	192	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:06	192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859684, '4003318165245')
2023-10-13	12:20:06	192	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:06	192	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-numero-5510c-180-code-sans-support-noir-black-unitaire' AND `virtuemart_product_id` != 1859684
2023-10-13	12:20:06	192	[DEBUG]	Query for ProductLang
2023-10-13	12:20:06	192	[DEBUG]	Executed store
2023-10-13	12:20:06	192	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale Numero 5510C/180 code sans support noir / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-numero-5510c-180-code-sans-support-noir-black-unitaire' WHERE `virtuemart_product_id` = '1859684'
2023-10-13	12:20:06	192	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72957_fr_jpg.jpg
2023-10-13	12:20:06	192	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:06	192	[DEBUG]	Process image file
2023-10-13	12:20:06	192	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:06	192	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:06	192	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72957_fr_jpg.jpg
2023-10-13	12:20:06	192	[DEBUG]	Full name target: bcprisme/11_72957_fr_jpg.jpg
2023-10-13	12:20:07	192	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:07	192	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_72957_fr_jpg.jpg'
2023-10-13	12:20:07	192	[DEBUG]	Query for Media
2023-10-13	12:20:07	192	[DEBUG]	Executed store
2023-10-13	12:20:07	192	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_72957_fr_jpg.jpg',`file_url_thumb`='bcprisme/11_72957_fr_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '978867'
2023-10-13	12:20:07	192	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:07	192	[DEBUG]	Executed store
2023-10-13	12:20:07	192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859684','978867','1')
2023-10-13	12:20:07	192	[DEBUG]	Store product image relation
2023-10-13	12:20:07	192	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:07	192	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859684 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:07	192	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:07	192	[DEBUG]	Executed store
2023-10-13	12:20:07	192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859684','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:07	192	[DEBUG]	Checking manufacturer
2023-10-13	12:20:07	192	[DEBUG]	Load a row
2023-10-13	12:20:07	192	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:07	192	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:07	192	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:07	192	[DEBUG]	Executed store
2023-10-13	12:20:07	192	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:07	192	[DEBUG]	Manufacturer exists
2023-10-13	12:20:07	192	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:07	192	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:07	192	[DEBUG]	Executed store
2023-10-13	12:20:07	192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859684','162')
2023-10-13	12:20:07	192	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:07	192	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:07	192	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859684 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:07	192	[DEBUG]	Store custom available field
2023-10-13	12:20:07	192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859684,3,'',1)
2023-10-13	12:20:07	192	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:07	192	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:07	192	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859684 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:07	192	[DEBUG]	Store custom available field
2023-10-13	12:20:07	192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859684,6,'Unitaire',3)
2023-10-13	12:20:07	192	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:07	192	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:07	192	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859683
2023-10-13	12:20:07	192	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:07	192	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859683\":[1859683,8,1,\"choisir la taille\"],\"1859684\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859683
2023-10-13	12:20:07	192	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:07	192	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859684
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:07	193	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field taille
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:07	193	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:07	193	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:07	193	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:07	193	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:07	193	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:07	193	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field published
2023-10-13	12:20:07	193	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:07	193	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field override
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:07	193	[DEBUG]	Use field value for field slug
2023-10-13	12:20:07	193	[DEBUG]	Process line 193
2023-10-13	12:20:07	193	[DEBUG]	Load a row
2023-10-13	12:20:07	193	[DEBUG]	Processing item: A_7964_1
2023-10-13	12:20:07	193	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:07	193	[DEBUG]	Processing product tax
2023-10-13	12:20:07	193	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:07	193	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:07	193	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:07	193	[DEBUG]	Query for Product
2023-10-13	12:20:07	193	[DEBUG]	Executed store
2023-10-13	12:20:07	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7964_1','0.088','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:20:07	193	[DEBUG]	Check product language entry
2023-10-13	12:20:07	193	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859685
2023-10-13	12:20:07	193	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:07	193	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7964_1' AND `virtuemart_product_id` != 1859685
2023-10-13	12:20:07	193	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:07	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859685, 'A_7964_1')
2023-10-13	12:20:07	193	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:07	193	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-serrure-pour-batterie-de-cadre-giant-full-e-noir' AND `virtuemart_product_id` != 1859685
2023-10-13	12:20:07	193	[DEBUG]	Query for ProductLang
2023-10-13	12:20:07	193	[DEBUG]	Executed store
2023-10-13	12:20:07	193	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Longueur: 1m<br>N° art fourn : 400.005.001',`product_name`='GIANT Serrure pour batterie de cadre Giant Full-E / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-serrure-pour-batterie-de-cadre-giant-full-e-noir' WHERE `virtuemart_product_id` = '1859685'
2023-10-13	12:20:07	193	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36423_serrure_pour_batterie_de_cadre_giant_full-e.jpg
2023-10-13	12:20:07	193	[DEBUG]	Identity string: ffd8ffe000104a46494600010101003d003d0000
2023-10-13	12:20:07	193	[DEBUG]	Process image file
2023-10-13	12:20:07	193	[DEBUG]	Identity string: ffd8ffe000104a46494600010101003d003d0000
2023-10-13	12:20:07	193	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:07	193	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36423_serrure_pour_batterie_de_cadre_giant_full-e.jpg
2023-10-13	12:20:07	193	[DEBUG]	Full name target: bcprisme/36423_serrure_pour_batterie_de_cadre_giant_full-e.jpg
2023-10-13	12:20:08	193	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:08	193	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36423_serrure_pour_batterie_de_cadre_giant_full-e.jpg'
2023-10-13	12:20:08	193	[DEBUG]	Query for Media
2023-10-13	12:20:08	193	[DEBUG]	Executed store
2023-10-13	12:20:08	193	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36423_serrure_pour_batterie_de_cadre_giant_full-e.jpg',`file_url_thumb`='bcprisme/36423_serrure_pour_batterie_de_cadre_giant_full-e.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '575347'
2023-10-13	12:20:08	193	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:08	193	[DEBUG]	Executed store
2023-10-13	12:20:08	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859685','575347','1')
2023-10-13	12:20:08	193	[DEBUG]	Store product image relation
2023-10-13	12:20:08	193	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:08	193	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859685 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:08	193	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:08	193	[DEBUG]	Executed store
2023-10-13	12:20:08	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859685','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:08	193	[DEBUG]	Checking manufacturer
2023-10-13	12:20:08	193	[DEBUG]	Load a row
2023-10-13	12:20:08	193	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:08	193	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:20:08	193	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:08	193	[DEBUG]	Executed store
2023-10-13	12:20:08	193	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:20:08	193	[DEBUG]	Manufacturer exists
2023-10-13	12:20:08	193	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:20:08	193	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:08	193	[DEBUG]	Executed store
2023-10-13	12:20:08	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859685','29')
2023-10-13	12:20:08	193	[DEBUG]	Find the custom field ID
2023-10-13	12:20:08	193	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:08	193	[DEBUG]	No custom field ID found
2023-10-13	12:20:08	193	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:08	193	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:20:08	193	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859685 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:08	193	[DEBUG]	Store custom available field
2023-10-13	12:20:08	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859685,3,'12.8641666666667',1)
2023-10-13	12:20:08	193	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:08	193	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:08	193	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859685 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:08	193	[DEBUG]	Store custom available field
2023-10-13	12:20:08	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859685,6,'choisir la taille',3)
2023-10-13	12:20:08	193	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:08	193	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:08	193	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:08	193	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:08	193	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859685 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:08	193	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:08	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859685,8,1)
2023-10-13	12:20:08	193	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:08	193	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859685\":[1859685,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859685
2023-10-13	12:20:08	193	[DEBUG]	Checking category
2023-10-13	12:20:08	193	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:08	193	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859685
2023-10-13	12:20:08	193	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:08	193	[DEBUG]	Executed store
2023-10-13	12:20:08	193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859685','7276')
2023-10-13	12:20:08	193	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:08	193	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859685 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:08	193	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:08	193	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859685
2023-10-13	12:20:08	194	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:08	194	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:08	194	[DEBUG]	Use field value for field taille
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:08	194	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:08	194	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:08	194	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:08	194	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:08	194	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:08	194	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:08	194	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:08	194	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:08	194	[DEBUG]	Use field value for field published
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:08	194	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field override
2023-10-13	12:20:08	194	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:08	194	[DEBUG]	Use field value for field slug
2023-10-13	12:20:08	194	[DEBUG]	Process line 194
2023-10-13	12:20:08	194	[DEBUG]	Load a row
2023-10-13	12:20:08	194	[DEBUG]	Processing item: 1842'KM14'02V
2023-10-13	12:20:08	194	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:08	194	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:08	194	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7964_1'
2023-10-13	12:20:08	194	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:08	194	[DEBUG]	Processing product tax
2023-10-13	12:20:08	194	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:08	194	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:08	194	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:08	194	[DEBUG]	Query for Product
2023-10-13	12:20:08	194	[DEBUG]	Executed store
2023-10-13	12:20:08	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859685','1842\'KM14\'02V','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:20:08	194	[DEBUG]	No parent found
2023-10-13	12:20:08	194	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859685 AND customfield_value = 'stockable'
2023-10-13	12:20:08	194	[DEBUG]	Check product language entry
2023-10-13	12:20:08	194	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859686
2023-10-13	12:20:08	194	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:08	194	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1842\'KM14\'02V' AND `virtuemart_product_id` != 1859686
2023-10-13	12:20:08	194	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:08	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859686, '1842\'KM14\'02V')
2023-10-13	12:20:08	194	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:08	194	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-serrure-pour-batterie-de-cadre-giant-full-e-noir-unitaire' AND `virtuemart_product_id` != 1859686
2023-10-13	12:20:08	194	[DEBUG]	Query for ProductLang
2023-10-13	12:20:08	194	[DEBUG]	Executed store
2023-10-13	12:20:08	194	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Serrure pour batterie de cadre Giant Full-E / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-serrure-pour-batterie-de-cadre-giant-full-e-noir-unitaire' WHERE `virtuemart_product_id` = '1859686'
2023-10-13	12:20:08	194	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36423_serrure_pour_batterie_de_cadre_giant_full-e.jpg
2023-10-13	12:20:08	194	[DEBUG]	Identity string: ffd8ffe000104a46494600010101003d003d0000
2023-10-13	12:20:08	194	[DEBUG]	Process image file
2023-10-13	12:20:08	194	[DEBUG]	Identity string: ffd8ffe000104a46494600010101003d003d0000
2023-10-13	12:20:08	194	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:08	194	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36423_serrure_pour_batterie_de_cadre_giant_full-e.jpg
2023-10-13	12:20:08	194	[DEBUG]	Full name target: bcprisme/36423_serrure_pour_batterie_de_cadre_giant_full-e.jpg
2023-10-13	12:20:09	194	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:09	194	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36423_serrure_pour_batterie_de_cadre_giant_full-e.jpg'
2023-10-13	12:20:09	194	[DEBUG]	Query for Media
2023-10-13	12:20:09	194	[DEBUG]	Executed store
2023-10-13	12:20:09	194	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36423_serrure_pour_batterie_de_cadre_giant_full-e.jpg',`file_url_thumb`='bcprisme/36423_serrure_pour_batterie_de_cadre_giant_full-e.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '575347'
2023-10-13	12:20:09	194	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:09	194	[DEBUG]	Executed store
2023-10-13	12:20:09	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859686','575347','1')
2023-10-13	12:20:09	194	[DEBUG]	Store product image relation
2023-10-13	12:20:09	194	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:09	194	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859686 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:09	194	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:09	194	[DEBUG]	Executed store
2023-10-13	12:20:09	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859686','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:09	194	[DEBUG]	Checking manufacturer
2023-10-13	12:20:09	194	[DEBUG]	Load a row
2023-10-13	12:20:09	194	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:09	194	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:20:09	194	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:09	194	[DEBUG]	Executed store
2023-10-13	12:20:09	194	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:20:09	194	[DEBUG]	Manufacturer exists
2023-10-13	12:20:09	194	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:20:09	194	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:09	194	[DEBUG]	Executed store
2023-10-13	12:20:09	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859686','29')
2023-10-13	12:20:09	194	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:09	194	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:09	194	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859686 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:09	194	[DEBUG]	Store custom available field
2023-10-13	12:20:09	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859686,3,'',1)
2023-10-13	12:20:09	194	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:09	194	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:09	194	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859686 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:09	194	[DEBUG]	Store custom available field
2023-10-13	12:20:09	194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859686,6,'Unitaire',3)
2023-10-13	12:20:09	194	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:09	194	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:09	194	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859685
2023-10-13	12:20:09	194	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:09	194	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859685\":[1859685,8,1,\"choisir la taille\"],\"1859686\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859685
2023-10-13	12:20:09	194	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:09	194	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859686
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:09	195	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field taille
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:09	195	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:09	195	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:09	195	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:09	195	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:09	195	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:09	195	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field published
2023-10-13	12:20:09	195	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:09	195	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field override
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:09	195	[DEBUG]	Use field value for field slug
2023-10-13	12:20:09	195	[DEBUG]	Process line 195
2023-10-13	12:20:09	195	[DEBUG]	Load a row
2023-10-13	12:20:09	195	[DEBUG]	Processing item: A_8135_84
2023-10-13	12:20:09	195	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:09	195	[DEBUG]	Processing product tax
2023-10-13	12:20:09	195	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:09	195	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:09	195	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:09	195	[DEBUG]	Query for Product
2023-10-13	12:20:09	195	[DEBUG]	Executed store
2023-10-13	12:20:09	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8135_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:20:09	195	[DEBUG]	Check product language entry
2023-10-13	12:20:09	195	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859687
2023-10-13	12:20:09	195	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:09	195	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8135_84' AND `virtuemart_product_id` != 1859687
2023-10-13	12:20:09	195	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:09	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859687, 'A_8135_84')
2023-10-13	12:20:09	195	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:09	195	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-1950-120-sans-support-noir-black' AND `virtuemart_product_id` != 1859687
2023-10-13	12:20:09	195	[DEBUG]	Query for ProductLang
2023-10-13	12:20:09	195	[DEBUG]	Executed store
2023-10-13	12:20:09	195	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.72963',`product_name`='ABUS Cadena à spirale 1950/120 sans support noir / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-1950-120-sans-support-noir-black' WHERE `virtuemart_product_id` = '1859687'
2023-10-13	12:20:09	195	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72963_fr_jpg.jpg
2023-10-13	12:20:09	195	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:09	195	[DEBUG]	Process image file
2023-10-13	12:20:09	195	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:09	195	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:09	195	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72963_fr_jpg.jpg
2023-10-13	12:20:09	195	[DEBUG]	Full name target: bcprisme/11_72963_fr_jpg.jpg
2023-10-13	12:20:10	195	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:10	195	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_72963_fr_jpg.jpg'
2023-10-13	12:20:10	195	[DEBUG]	Query for Media
2023-10-13	12:20:10	195	[DEBUG]	Executed store
2023-10-13	12:20:10	195	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_72963_fr_jpg.jpg',`file_url_thumb`='bcprisme/11_72963_fr_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '684484'
2023-10-13	12:20:10	195	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:10	195	[DEBUG]	Executed store
2023-10-13	12:20:10	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859687','684484','1')
2023-10-13	12:20:10	195	[DEBUG]	Store product image relation
2023-10-13	12:20:10	195	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:10	195	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859687 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:10	195	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:10	195	[DEBUG]	Executed store
2023-10-13	12:20:10	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859687','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:10	195	[DEBUG]	Checking manufacturer
2023-10-13	12:20:10	195	[DEBUG]	Load a row
2023-10-13	12:20:10	195	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:10	195	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:10	195	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:10	195	[DEBUG]	Executed store
2023-10-13	12:20:10	195	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:10	195	[DEBUG]	Manufacturer exists
2023-10-13	12:20:10	195	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:10	195	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:10	195	[DEBUG]	Executed store
2023-10-13	12:20:10	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859687','162')
2023-10-13	12:20:10	195	[DEBUG]	Find the custom field ID
2023-10-13	12:20:10	195	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:10	195	[DEBUG]	No custom field ID found
2023-10-13	12:20:10	195	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:10	195	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:10	195	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859687 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:10	195	[DEBUG]	Store custom available field
2023-10-13	12:20:10	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859687,3,'0',1)
2023-10-13	12:20:10	195	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:10	195	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:10	195	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859687 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:10	195	[DEBUG]	Store custom available field
2023-10-13	12:20:10	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859687,6,'choisir la taille',3)
2023-10-13	12:20:10	195	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:10	195	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:10	195	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:10	195	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:10	195	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859687 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:10	195	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:10	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859687,8,1)
2023-10-13	12:20:10	195	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:10	195	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859687\":[1859687,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859687
2023-10-13	12:20:10	195	[DEBUG]	Checking category
2023-10-13	12:20:10	195	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:10	195	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859687
2023-10-13	12:20:10	195	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:10	195	[DEBUG]	Executed store
2023-10-13	12:20:10	195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859687','7276')
2023-10-13	12:20:10	195	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:10	195	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859687 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:10	195	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:10	195	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859687
2023-10-13	12:20:10	196	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:10	196	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:10	196	[DEBUG]	Use field value for field taille
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:10	196	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:10	196	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:10	196	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:10	196	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:10	196	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:10	196	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:10	196	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:10	196	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:10	196	[DEBUG]	Use field value for field published
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:10	196	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field override
2023-10-13	12:20:10	196	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:10	196	[DEBUG]	Use field value for field slug
2023-10-13	12:20:10	196	[DEBUG]	Process line 196
2023-10-13	12:20:10	196	[DEBUG]	Load a row
2023-10-13	12:20:10	196	[DEBUG]	Processing item: 4003318073557
2023-10-13	12:20:10	196	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:10	196	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:10	196	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8135_84'
2023-10-13	12:20:10	196	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:10	196	[DEBUG]	Processing product tax
2023-10-13	12:20:10	196	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:10	196	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:10	196	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:10	196	[DEBUG]	Query for Product
2023-10-13	12:20:10	196	[DEBUG]	Executed store
2023-10-13	12:20:10	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859687','4003318073557','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:20:10	196	[DEBUG]	No parent found
2023-10-13	12:20:10	196	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859687 AND customfield_value = 'stockable'
2023-10-13	12:20:10	196	[DEBUG]	Check product language entry
2023-10-13	12:20:10	196	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859688
2023-10-13	12:20:10	196	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:10	196	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318073557' AND `virtuemart_product_id` != 1859688
2023-10-13	12:20:10	196	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:10	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859688, '4003318073557')
2023-10-13	12:20:10	196	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:10	196	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-1950-120-sans-support-noir-black-unitaire' AND `virtuemart_product_id` != 1859688
2023-10-13	12:20:10	196	[DEBUG]	Query for ProductLang
2023-10-13	12:20:10	196	[DEBUG]	Executed store
2023-10-13	12:20:10	196	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale 1950/120 sans support noir / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-1950-120-sans-support-noir-black-unitaire' WHERE `virtuemart_product_id` = '1859688'
2023-10-13	12:20:10	196	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72963_fr_jpg.jpg
2023-10-13	12:20:10	196	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:10	196	[DEBUG]	Process image file
2023-10-13	12:20:10	196	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:10	196	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:10	196	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72963_fr_jpg.jpg
2023-10-13	12:20:10	196	[DEBUG]	Full name target: bcprisme/11_72963_fr_jpg.jpg
2023-10-13	12:20:11	196	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:11	196	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_72963_fr_jpg.jpg'
2023-10-13	12:20:11	196	[DEBUG]	Query for Media
2023-10-13	12:20:11	196	[DEBUG]	Executed store
2023-10-13	12:20:11	196	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_72963_fr_jpg.jpg',`file_url_thumb`='bcprisme/11_72963_fr_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '684484'
2023-10-13	12:20:11	196	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:11	196	[DEBUG]	Executed store
2023-10-13	12:20:11	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859688','684484','1')
2023-10-13	12:20:11	196	[DEBUG]	Store product image relation
2023-10-13	12:20:11	196	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:11	196	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859688 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:11	196	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:11	196	[DEBUG]	Executed store
2023-10-13	12:20:11	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859688','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:11	196	[DEBUG]	Checking manufacturer
2023-10-13	12:20:11	196	[DEBUG]	Load a row
2023-10-13	12:20:11	196	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:11	196	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:11	196	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:11	196	[DEBUG]	Executed store
2023-10-13	12:20:11	196	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:11	196	[DEBUG]	Manufacturer exists
2023-10-13	12:20:11	196	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:11	196	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:11	196	[DEBUG]	Executed store
2023-10-13	12:20:11	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859688','162')
2023-10-13	12:20:11	196	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:11	196	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:11	196	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859688 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:11	196	[DEBUG]	Store custom available field
2023-10-13	12:20:11	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859688,3,'',1)
2023-10-13	12:20:11	196	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:11	196	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:11	196	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859688 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:11	196	[DEBUG]	Store custom available field
2023-10-13	12:20:11	196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859688,6,'Unitaire',3)
2023-10-13	12:20:11	196	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:11	196	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:11	196	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859687
2023-10-13	12:20:11	196	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:11	196	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859687\":[1859687,8,1,\"choisir la taille\"],\"1859688\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859687
2023-10-13	12:20:11	196	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:11	196	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859688
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:11	197	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field taille
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:11	197	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:11	197	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:11	197	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:11	197	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:11	197	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:11	197	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field published
2023-10-13	12:20:11	197	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:11	197	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field override
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:11	197	[DEBUG]	Use field value for field slug
2023-10-13	12:20:11	197	[DEBUG]	Process line 197
2023-10-13	12:20:11	197	[DEBUG]	Load a row
2023-10-13	12:20:11	197	[DEBUG]	Processing item: A_8136_88
2023-10-13	12:20:11	197	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:11	197	[DEBUG]	Processing product tax
2023-10-13	12:20:11	197	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:11	197	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:11	197	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:11	197	[DEBUG]	Query for Product
2023-10-13	12:20:11	197	[DEBUG]	Executed store
2023-10-13	12:20:11	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8136_88','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:20:11	197	[DEBUG]	Check product language entry
2023-10-13	12:20:11	197	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859689
2023-10-13	12:20:11	197	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:11	197	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8136_88' AND `virtuemart_product_id` != 1859689
2023-10-13	12:20:11	197	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:11	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859689, 'A_8136_88')
2023-10-13	12:20:11	197	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:11	197	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-star-4508c-150-code-sans-support-bleu-blue' AND `virtuemart_product_id` != 1859689
2023-10-13	12:20:11	197	[DEBUG]	Query for ProductLang
2023-10-13	12:20:11	197	[DEBUG]	Executed store
2023-10-13	12:20:11	197	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.81232',`product_name`='ABUS Cadena à spirale Star 4508C/150 code sans support bleu / Blue',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-star-4508c-150-code-sans-support-bleu-blue' WHERE `virtuemart_product_id` = '1859689'
2023-10-13	12:20:11	197	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81232_jpg.jpg
2023-10-13	12:20:11	197	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:11	197	[DEBUG]	Process image file
2023-10-13	12:20:11	197	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:11	197	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:11	197	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81232_jpg.jpg
2023-10-13	12:20:11	197	[DEBUG]	Full name target: bcprisme/11_81232_jpg.jpg
2023-10-13	12:20:12	197	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:12	197	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_81232_jpg.jpg'
2023-10-13	12:20:12	197	[DEBUG]	Query for Media
2023-10-13	12:20:12	197	[DEBUG]	Executed store
2023-10-13	12:20:12	197	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_81232_jpg.jpg',`file_url_thumb`='bcprisme/11_81232_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '684486'
2023-10-13	12:20:12	197	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:12	197	[DEBUG]	Executed store
2023-10-13	12:20:12	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859689','684486','1')
2023-10-13	12:20:12	197	[DEBUG]	Store product image relation
2023-10-13	12:20:12	197	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:12	197	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859689 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:12	197	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:12	197	[DEBUG]	Executed store
2023-10-13	12:20:12	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859689','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:12	197	[DEBUG]	Checking manufacturer
2023-10-13	12:20:12	197	[DEBUG]	Load a row
2023-10-13	12:20:12	197	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:12	197	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:12	197	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:12	197	[DEBUG]	Executed store
2023-10-13	12:20:12	197	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:12	197	[DEBUG]	Manufacturer exists
2023-10-13	12:20:12	197	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:12	197	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:12	197	[DEBUG]	Executed store
2023-10-13	12:20:12	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859689','162')
2023-10-13	12:20:12	197	[DEBUG]	Find the custom field ID
2023-10-13	12:20:12	197	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:12	197	[DEBUG]	No custom field ID found
2023-10-13	12:20:12	197	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:12	197	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:12	197	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859689 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:12	197	[DEBUG]	Store custom available field
2023-10-13	12:20:12	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859689,3,'0',1)
2023-10-13	12:20:12	197	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:12	197	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:12	197	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859689 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:12	197	[DEBUG]	Store custom available field
2023-10-13	12:20:12	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859689,6,'choisir la taille',3)
2023-10-13	12:20:12	197	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:12	197	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:12	197	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:12	197	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:12	197	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859689 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:12	197	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:12	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859689,8,1)
2023-10-13	12:20:12	197	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:12	197	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859689\":[1859689,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859689
2023-10-13	12:20:12	197	[DEBUG]	Checking category
2023-10-13	12:20:12	197	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:12	197	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859689
2023-10-13	12:20:12	197	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:12	197	[DEBUG]	Executed store
2023-10-13	12:20:12	197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859689','7276')
2023-10-13	12:20:12	197	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:12	197	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859689 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:12	197	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:12	197	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859689
2023-10-13	12:20:12	198	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:12	198	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:12	198	[DEBUG]	Use field value for field taille
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:12	198	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:12	198	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:12	198	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:12	198	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:12	198	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:12	198	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:12	198	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:12	198	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:12	198	[DEBUG]	Use field value for field published
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:12	198	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field override
2023-10-13	12:20:12	198	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:12	198	[DEBUG]	Use field value for field slug
2023-10-13	12:20:12	198	[DEBUG]	Process line 198
2023-10-13	12:20:12	198	[DEBUG]	Load a row
2023-10-13	12:20:12	198	[DEBUG]	Processing item: 4003318407789
2023-10-13	12:20:12	198	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:12	198	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:12	198	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8136_88'
2023-10-13	12:20:12	198	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:12	198	[DEBUG]	Processing product tax
2023-10-13	12:20:12	198	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:12	198	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:12	198	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:12	198	[DEBUG]	Query for Product
2023-10-13	12:20:12	198	[DEBUG]	Executed store
2023-10-13	12:20:12	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859689','4003318407789','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:20:12	198	[DEBUG]	No parent found
2023-10-13	12:20:12	198	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859689 AND customfield_value = 'stockable'
2023-10-13	12:20:12	198	[DEBUG]	Check product language entry
2023-10-13	12:20:12	198	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859690
2023-10-13	12:20:12	198	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:12	198	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318407789' AND `virtuemart_product_id` != 1859690
2023-10-13	12:20:12	198	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:12	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859690, '4003318407789')
2023-10-13	12:20:12	198	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:12	198	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-star-4508c-150-code-sans-support-bleu-blue-unitaire' AND `virtuemart_product_id` != 1859690
2023-10-13	12:20:12	198	[DEBUG]	Query for ProductLang
2023-10-13	12:20:12	198	[DEBUG]	Executed store
2023-10-13	12:20:12	198	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale Star 4508C/150 code sans support bleu / Blue  (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-star-4508c-150-code-sans-support-bleu-blue-unitaire' WHERE `virtuemart_product_id` = '1859690'
2023-10-13	12:20:12	198	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81232_jpg.jpg
2023-10-13	12:20:12	198	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:12	198	[DEBUG]	Process image file
2023-10-13	12:20:12	198	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:12	198	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:12	198	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81232_jpg.jpg
2023-10-13	12:20:12	198	[DEBUG]	Full name target: bcprisme/11_81232_jpg.jpg
2023-10-13	12:20:13	198	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:13	198	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_81232_jpg.jpg'
2023-10-13	12:20:13	198	[DEBUG]	Query for Media
2023-10-13	12:20:13	198	[DEBUG]	Executed store
2023-10-13	12:20:13	198	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_81232_jpg.jpg',`file_url_thumb`='bcprisme/11_81232_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '684486'
2023-10-13	12:20:13	198	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:13	198	[DEBUG]	Executed store
2023-10-13	12:20:13	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859690','684486','1')
2023-10-13	12:20:13	198	[DEBUG]	Store product image relation
2023-10-13	12:20:13	198	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:13	198	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859690 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:13	198	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:13	198	[DEBUG]	Executed store
2023-10-13	12:20:13	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859690','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:13	198	[DEBUG]	Checking manufacturer
2023-10-13	12:20:13	198	[DEBUG]	Load a row
2023-10-13	12:20:13	198	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:13	198	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:13	198	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:13	198	[DEBUG]	Executed store
2023-10-13	12:20:13	198	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:13	198	[DEBUG]	Manufacturer exists
2023-10-13	12:20:13	198	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:13	198	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:13	198	[DEBUG]	Executed store
2023-10-13	12:20:13	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859690','162')
2023-10-13	12:20:13	198	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:13	198	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:13	198	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859690 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:13	198	[DEBUG]	Store custom available field
2023-10-13	12:20:13	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859690,3,'',1)
2023-10-13	12:20:13	198	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:13	198	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:13	198	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859690 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:13	198	[DEBUG]	Store custom available field
2023-10-13	12:20:13	198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859690,6,'Unitaire',3)
2023-10-13	12:20:13	198	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:13	198	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:13	198	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859689
2023-10-13	12:20:13	198	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:13	198	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859689\":[1859689,8,1,\"choisir la taille\"],\"1859690\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859689
2023-10-13	12:20:13	198	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:13	198	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859690
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:13	199	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field taille
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:13	199	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:13	199	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:13	199	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:13	199	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:13	199	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:13	199	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field published
2023-10-13	12:20:13	199	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:13	199	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field override
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:13	199	[DEBUG]	Use field value for field slug
2023-10-13	12:20:13	199	[DEBUG]	Process line 199
2023-10-13	12:20:13	199	[DEBUG]	Load a row
2023-10-13	12:20:13	199	[DEBUG]	Processing item: A_8137_183
2023-10-13	12:20:13	199	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:13	199	[DEBUG]	Processing product tax
2023-10-13	12:20:13	199	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:13	199	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:13	199	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:13	199	[DEBUG]	Query for Product
2023-10-13	12:20:13	199	[DEBUG]	Executed store
2023-10-13	12:20:13	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8137_183','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:20:13	199	[DEBUG]	Check product language entry
2023-10-13	12:20:13	199	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859691
2023-10-13	12:20:13	199	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:13	199	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8137_183' AND `virtuemart_product_id` != 1859691
2023-10-13	12:20:13	199	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:13	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859691, 'A_8137_183')
2023-10-13	12:20:13	199	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:13	199	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-star-4508c-150-code-sans-support-vert-green' AND `virtuemart_product_id` != 1859691
2023-10-13	12:20:13	199	[DEBUG]	Query for ProductLang
2023-10-13	12:20:13	199	[DEBUG]	Executed store
2023-10-13	12:20:13	199	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.81234',`product_name`='ABUS Cadena à spirale Star 4508C/150 code sans support vert / GREEN',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-star-4508c-150-code-sans-support-vert-green' WHERE `virtuemart_product_id` = '1859691'
2023-10-13	12:20:13	199	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81234_jpg.jpg
2023-10-13	12:20:13	199	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:13	199	[DEBUG]	Process image file
2023-10-13	12:20:13	199	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:13	199	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:13	199	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81234_jpg.jpg
2023-10-13	12:20:13	199	[DEBUG]	Full name target: bcprisme/11_81234_jpg.jpg
2023-10-13	12:20:14	199	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:14	199	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_81234_jpg.jpg'
2023-10-13	12:20:14	199	[DEBUG]	Query for Media
2023-10-13	12:20:14	199	[DEBUG]	Executed store
2023-10-13	12:20:14	199	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_81234_jpg.jpg',`file_url_thumb`='bcprisme/11_81234_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '684488'
2023-10-13	12:20:14	199	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:14	199	[DEBUG]	Executed store
2023-10-13	12:20:14	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859691','684488','1')
2023-10-13	12:20:14	199	[DEBUG]	Store product image relation
2023-10-13	12:20:14	199	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:14	199	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859691 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:14	199	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:14	199	[DEBUG]	Executed store
2023-10-13	12:20:14	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859691','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:14	199	[DEBUG]	Checking manufacturer
2023-10-13	12:20:14	199	[DEBUG]	Load a row
2023-10-13	12:20:14	199	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:14	199	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:14	199	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:14	199	[DEBUG]	Executed store
2023-10-13	12:20:14	199	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:14	199	[DEBUG]	Manufacturer exists
2023-10-13	12:20:14	199	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:14	199	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:14	199	[DEBUG]	Executed store
2023-10-13	12:20:14	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859691','162')
2023-10-13	12:20:14	199	[DEBUG]	Find the custom field ID
2023-10-13	12:20:14	199	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:14	199	[DEBUG]	No custom field ID found
2023-10-13	12:20:14	199	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:14	199	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:14	199	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859691 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:14	199	[DEBUG]	Store custom available field
2023-10-13	12:20:14	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859691,3,'0',1)
2023-10-13	12:20:14	199	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:14	199	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:14	199	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859691 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:14	199	[DEBUG]	Store custom available field
2023-10-13	12:20:14	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859691,6,'choisir la taille',3)
2023-10-13	12:20:14	199	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:14	199	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:14	199	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:14	199	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:14	199	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859691 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:14	199	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:14	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859691,8,1)
2023-10-13	12:20:14	199	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:14	199	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859691\":[1859691,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859691
2023-10-13	12:20:14	199	[DEBUG]	Checking category
2023-10-13	12:20:14	199	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:14	199	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859691
2023-10-13	12:20:14	199	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:14	199	[DEBUG]	Executed store
2023-10-13	12:20:14	199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859691','7276')
2023-10-13	12:20:14	199	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:14	199	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859691 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:14	199	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:14	199	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859691
2023-10-13	12:20:14	200	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:14	200	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:14	200	[DEBUG]	Use field value for field taille
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:14	200	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:14	200	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:14	200	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:14	200	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:14	200	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:14	200	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:14	200	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:14	200	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:14	200	[DEBUG]	Use field value for field published
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:14	200	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field override
2023-10-13	12:20:14	200	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:14	200	[DEBUG]	Use field value for field slug
2023-10-13	12:20:14	200	[DEBUG]	Process line 200
2023-10-13	12:20:14	200	[DEBUG]	Load a row
2023-10-13	12:20:14	200	[DEBUG]	Processing item: 4003318407802
2023-10-13	12:20:14	200	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:14	200	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:14	200	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8137_183'
2023-10-13	12:20:14	200	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:14	200	[DEBUG]	Processing product tax
2023-10-13	12:20:14	200	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:14	200	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:14	200	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:14	200	[DEBUG]	Query for Product
2023-10-13	12:20:14	200	[DEBUG]	Executed store
2023-10-13	12:20:14	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859691','4003318407802','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0')
2023-10-13	12:20:14	200	[DEBUG]	No parent found
2023-10-13	12:20:14	200	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859691 AND customfield_value = 'stockable'
2023-10-13	12:20:14	200	[DEBUG]	Check product language entry
2023-10-13	12:20:14	200	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859692
2023-10-13	12:20:14	200	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:14	200	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318407802' AND `virtuemart_product_id` != 1859692
2023-10-13	12:20:14	200	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:14	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859692, '4003318407802')
2023-10-13	12:20:14	200	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:14	200	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-star-4508c-150-code-sans-support-vert-green-unitaire' AND `virtuemart_product_id` != 1859692
2023-10-13	12:20:14	200	[DEBUG]	Query for ProductLang
2023-10-13	12:20:14	200	[DEBUG]	Executed store
2023-10-13	12:20:14	200	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale Star 4508C/150 code sans support vert / GREEN (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-star-4508c-150-code-sans-support-vert-green-unitaire' WHERE `virtuemart_product_id` = '1859692'
2023-10-13	12:20:14	200	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81234_jpg.jpg
2023-10-13	12:20:14	200	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:14	200	[DEBUG]	Process image file
2023-10-13	12:20:14	200	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:14	200	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:14	200	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81234_jpg.jpg
2023-10-13	12:20:14	200	[DEBUG]	Full name target: bcprisme/11_81234_jpg.jpg
2023-10-13	12:20:15	200	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:15	200	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_81234_jpg.jpg'
2023-10-13	12:20:15	200	[DEBUG]	Query for Media
2023-10-13	12:20:15	200	[DEBUG]	Executed store
2023-10-13	12:20:15	200	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_81234_jpg.jpg',`file_url_thumb`='bcprisme/11_81234_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '684488'
2023-10-13	12:20:15	200	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:15	200	[DEBUG]	Executed store
2023-10-13	12:20:15	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859692','684488','1')
2023-10-13	12:20:15	200	[DEBUG]	Store product image relation
2023-10-13	12:20:15	200	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:15	200	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859692 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:15	200	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:15	200	[DEBUG]	Executed store
2023-10-13	12:20:15	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859692','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:18:42','1593','2023-10-13 12:18:42','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:15	200	[DEBUG]	Checking manufacturer
2023-10-13	12:20:15	200	[DEBUG]	Load a row
2023-10-13	12:20:15	200	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:15	200	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:15	200	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:15	200	[DEBUG]	Executed store
2023-10-13	12:20:15	200	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:15	200	[DEBUG]	Manufacturer exists
2023-10-13	12:20:15	200	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:15	200	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:15	200	[DEBUG]	Executed store
2023-10-13	12:20:15	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859692','162')
2023-10-13	12:20:15	200	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:15	200	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:15	200	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859692 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:15	200	[DEBUG]	Store custom available field
2023-10-13	12:20:15	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859692,3,'',1)
2023-10-13	12:20:15	200	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:15	200	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:15	200	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859692 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:15	200	[DEBUG]	Store custom available field
2023-10-13	12:20:15	200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859692,6,'Unitaire',3)
2023-10-13	12:20:15	200	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:15	200	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:15	200	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859691
2023-10-13	12:20:15	200	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:15	200	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859691\":[1859691,8,1,\"choisir la taille\"],\"1859692\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859691
2023-10-13	12:20:15	200	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:15	200	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859692
2023-10-13	12:20:35	200	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:20:35	200	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:20:35	200	[DEBUG]	Load the fields to process
2023-10-13	12:20:35	200	[DEBUG]	Setup field: product_sku
2023-10-13	12:20:35	200	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:20:35	200	[DEBUG]	Setup field: taille
2023-10-13	12:20:35	200	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:20:35	200	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:20:35	200	[DEBUG]	Setup field: product_name
2023-10-13	12:20:35	200	[DEBUG]	Setup field: category_path
2023-10-13	12:20:35	200	[DEBUG]	Setup field: product_price
2023-10-13	12:20:35	200	[DEBUG]	Setup field: product_override_price
2023-10-13	12:20:35	200	[DEBUG]	Setup field: product_tax
2023-10-13	12:20:35	200	[DEBUG]	Setup field: file_url
2023-10-13	12:20:35	200	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:20:35	200	[DEBUG]	Setup field: product_desc
2023-10-13	12:20:35	200	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:20:35	200	[DEBUG]	Setup field: product_availability
2023-10-13	12:20:35	200	[DEBUG]	Setup field: product_weight
2023-10-13	12:20:35	200	[DEBUG]	Setup field: product_unit
2023-10-13	12:20:35	200	[DEBUG]	Setup field: related_products
2023-10-13	12:20:35	200	[DEBUG]	Setup field: product_special
2023-10-13	12:20:35	200	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:20:35	200	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:20:35	200	[DEBUG]	Setup field: published
2023-10-13	12:20:35	200	[DEBUG]	Setup field: metadesc
2023-10-13	12:20:35	200	[DEBUG]	Setup field: metakey
2023-10-13	12:20:35	200	[DEBUG]	Setup field: custom_title
2023-10-13	12:20:35	200	[DEBUG]	Setup field: custom_value
2023-10-13	12:20:35	200	[DEBUG]	Setup field: custom_param
2023-10-13	12:20:35	200	[DEBUG]	Setup field: override
2023-10-13	12:20:35	200	[DEBUG]	Setup field: public_price
2023-10-13	12:20:35	200	[DEBUG]	Setup field: slug
2023-10-13	12:20:35	200	[DEBUG]	Use the file for configuration
2023-10-13	12:20:35	200	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:20:35	200	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:20:35	200	[DEBUG]	Load the custom fields
2023-10-13	12:20:35	200	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:20:35	200	[DEBUG]	Load stockable custom fields
2023-10-13	12:20:35	200	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:20:35	200	[DEBUG]	Load custom fields for all
2023-10-13	12:20:35	200	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:35	201	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field taille
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:35	201	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:35	201	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:35	201	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:35	201	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:35	201	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:35	201	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:35	201	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field published
2023-10-13	12:20:35	201	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:35	201	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field override
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:35	201	[DEBUG]	Use field value for field slug
2023-10-13	12:20:35	201	[DEBUG]	Process line 201
2023-10-13	12:20:35	201	[DEBUG]	Check if the vendor exists
2023-10-13	12:20:35	201	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8138_85'
2023-10-13	12:20:35	201	[DEBUG]	Load a row
2023-10-13	12:20:35	201	[DEBUG]	Processing item: A_8138_85
2023-10-13	12:20:35	201	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:35	201	[DEBUG]	Processing product tax
2023-10-13	12:20:35	201	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:35	201	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:35	201	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:35	201	[DEBUG]	Query for Product
2023-10-13	12:20:35	201	[DEBUG]	Executed store
2023-10-13	12:20:35	201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8138_85','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:35	201	[DEBUG]	Check product language entry
2023-10-13	12:20:35	201	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859693
2023-10-13	12:20:35	201	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:35	201	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8138_85' AND `virtuemart_product_id` != 1859693
2023-10-13	12:20:35	201	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:35	201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859693, 'A_8138_85')
2023-10-13	12:20:35	201	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:35	201	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-star-4508c-150-code-sans-support-rouge-red' AND `virtuemart_product_id` != 1859693
2023-10-13	12:20:35	201	[DEBUG]	Query for ProductLang
2023-10-13	12:20:35	201	[DEBUG]	Executed store
2023-10-13	12:20:35	201	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.81233',`product_name`='ABUS Cadena à spirale Star 4508C/150 code sans support rouge / Red',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-star-4508c-150-code-sans-support-rouge-red' WHERE `virtuemart_product_id` = '1859693'
2023-10-13	12:20:35	201	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81233_jpg.jpg has not been found.
2023-10-13	12:20:35	201	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:35	201	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859693 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:35	201	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:35	201	[DEBUG]	Executed store
2023-10-13	12:20:35	201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859693','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:35	201	[DEBUG]	Checking manufacturer
2023-10-13	12:20:35	201	[DEBUG]	Load a row
2023-10-13	12:20:35	201	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:35	201	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:35	201	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:35	201	[DEBUG]	Executed store
2023-10-13	12:20:35	201	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:35	201	[DEBUG]	Manufacturer exists
2023-10-13	12:20:35	201	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:35	201	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:35	201	[DEBUG]	Executed store
2023-10-13	12:20:35	201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859693','162')
2023-10-13	12:20:35	201	[DEBUG]	Find the custom field ID
2023-10-13	12:20:35	201	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:35	201	[DEBUG]	No custom field ID found
2023-10-13	12:20:35	201	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:35	201	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:35	201	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859693 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:35	201	[DEBUG]	Store custom available field
2023-10-13	12:20:35	201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859693,3,'0',1)
2023-10-13	12:20:35	201	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:35	201	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:35	201	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859693 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:35	201	[DEBUG]	Store custom available field
2023-10-13	12:20:35	201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859693,6,'choisir la taille',3)
2023-10-13	12:20:35	201	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:35	201	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:35	201	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:35	201	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:35	201	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859693 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:35	201	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:35	201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859693,8,1)
2023-10-13	12:20:35	201	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:35	201	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859693\":[1859693,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859693
2023-10-13	12:20:35	201	[DEBUG]	Checking category
2023-10-13	12:20:35	201	[DEBUG]	Check if category path exists: CADENAS - SCHLÖSSER
2023-10-13	12:20:35	201	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CADENAS - SCHLÖSSER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:20:35	201	[DEBUG]	Check if category path exists: CADENAS - SCHLÖSSER
2023-10-13	12:20:35	201	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CADENAS - SCHLÖSSER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7275
2023-10-13	12:20:35	201	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:35	201	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859693
2023-10-13	12:20:35	201	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:35	201	[DEBUG]	Executed store
2023-10-13	12:20:35	201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859693','7276')
2023-10-13	12:20:35	201	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:35	201	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859693 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:35	201	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:35	201	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859693
2023-10-13	12:20:35	202	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:35	202	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:35	202	[DEBUG]	Use field value for field taille
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:35	202	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:35	202	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:35	202	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:35	202	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:35	202	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:35	202	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:35	202	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:35	202	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:35	202	[DEBUG]	Use field value for field published
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:35	202	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field override
2023-10-13	12:20:35	202	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:35	202	[DEBUG]	Use field value for field slug
2023-10-13	12:20:35	202	[DEBUG]	Process line 202
2023-10-13	12:20:35	202	[DEBUG]	Load a row
2023-10-13	12:20:35	202	[DEBUG]	Processing item: 4003318407796
2023-10-13	12:20:35	202	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:35	202	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:35	202	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8138_85'
2023-10-13	12:20:35	202	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:35	202	[DEBUG]	Processing product tax
2023-10-13	12:20:35	202	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:35	202	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:35	202	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:35	202	[DEBUG]	Query for Product
2023-10-13	12:20:35	202	[DEBUG]	Executed store
2023-10-13	12:20:35	202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859693','4003318407796','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:35	202	[DEBUG]	No parent found
2023-10-13	12:20:35	202	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859693 AND customfield_value = 'stockable'
2023-10-13	12:20:35	202	[DEBUG]	Check product language entry
2023-10-13	12:20:35	202	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859694
2023-10-13	12:20:35	202	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:35	202	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318407796' AND `virtuemart_product_id` != 1859694
2023-10-13	12:20:35	202	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:35	202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859694, '4003318407796')
2023-10-13	12:20:35	202	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:35	202	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-star-4508c-150-code-sans-support-rouge-red-unitaire' AND `virtuemart_product_id` != 1859694
2023-10-13	12:20:35	202	[DEBUG]	Query for ProductLang
2023-10-13	12:20:35	202	[DEBUG]	Executed store
2023-10-13	12:20:35	202	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale Star 4508C/150 code sans support rouge / Red (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-star-4508c-150-code-sans-support-rouge-red-unitaire' WHERE `virtuemart_product_id` = '1859694'
2023-10-13	12:20:35	202	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81233_jpg.jpg has not been found.
2023-10-13	12:20:35	202	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:35	202	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859694 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:35	202	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:35	202	[DEBUG]	Executed store
2023-10-13	12:20:35	202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859694','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:35	202	[DEBUG]	Checking manufacturer
2023-10-13	12:20:35	202	[DEBUG]	Load a row
2023-10-13	12:20:35	202	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:35	202	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:35	202	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:35	202	[DEBUG]	Executed store
2023-10-13	12:20:35	202	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:35	202	[DEBUG]	Manufacturer exists
2023-10-13	12:20:35	202	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:35	202	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:35	202	[DEBUG]	Executed store
2023-10-13	12:20:35	202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859694','162')
2023-10-13	12:20:35	202	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:35	202	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:35	202	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859694 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:35	202	[DEBUG]	Store custom available field
2023-10-13	12:20:35	202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859694,3,'',1)
2023-10-13	12:20:35	202	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:35	202	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:35	202	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859694 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:35	202	[DEBUG]	Store custom available field
2023-10-13	12:20:35	202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859694,6,'Unitaire',3)
2023-10-13	12:20:35	202	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:35	202	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:35	202	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859693
2023-10-13	12:20:35	202	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:35	202	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859693\":[1859693,8,1,\"choisir la taille\"],\"1859694\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859693
2023-10-13	12:20:35	202	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:35	202	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859694
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:35	203	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field taille
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:35	203	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:35	203	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:35	203	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:35	203	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:35	203	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:35	203	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field published
2023-10-13	12:20:35	203	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:35	203	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field override
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:35	203	[DEBUG]	Use field value for field slug
2023-10-13	12:20:35	203	[DEBUG]	Process line 203
2023-10-13	12:20:35	203	[DEBUG]	Load a row
2023-10-13	12:20:35	203	[DEBUG]	Processing item: A_8139_88
2023-10-13	12:20:35	203	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:35	203	[DEBUG]	Processing product tax
2023-10-13	12:20:35	203	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:35	203	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:35	203	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:35	203	[DEBUG]	Query for Product
2023-10-13	12:20:35	203	[DEBUG]	Executed store
2023-10-13	12:20:35	203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8139_88','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:35	203	[DEBUG]	Check product language entry
2023-10-13	12:20:35	203	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859695
2023-10-13	12:20:35	203	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:35	203	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8139_88' AND `virtuemart_product_id` != 1859695
2023-10-13	12:20:35	203	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:35	203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859695, 'A_8139_88')
2023-10-13	12:20:35	203	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:35	203	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-star-4508k-150-sans-support-bleu-blue' AND `virtuemart_product_id` != 1859695
2023-10-13	12:20:35	203	[DEBUG]	Query for ProductLang
2023-10-13	12:20:35	203	[DEBUG]	Executed store
2023-10-13	12:20:35	203	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.81235',`product_name`='ABUS Cadena à spirale Star 4508K/150 sans support bleu / Blue',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-star-4508k-150-sans-support-bleu-blue' WHERE `virtuemart_product_id` = '1859695'
2023-10-13	12:20:35	203	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81235_jpg.jpg
2023-10-13	12:20:35	203	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:35	203	[DEBUG]	Process image file
2023-10-13	12:20:35	203	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:35	203	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:35	203	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81235_jpg.jpg
2023-10-13	12:20:35	203	[DEBUG]	Full name target: bcprisme/11_81235_jpg.jpg
2023-10-13	12:20:36	203	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:36	203	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_81235_jpg.jpg'
2023-10-13	12:20:36	203	[DEBUG]	Query for Media
2023-10-13	12:20:36	203	[DEBUG]	Executed store
2023-10-13	12:20:36	203	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_81235_jpg.jpg',`file_url_thumb`='bcprisme/11_81235_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '684490'
2023-10-13	12:20:36	203	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:36	203	[DEBUG]	Executed store
2023-10-13	12:20:36	203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859695','684490','1')
2023-10-13	12:20:36	203	[DEBUG]	Store product image relation
2023-10-13	12:20:36	203	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:36	203	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859695 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:36	203	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:36	203	[DEBUG]	Executed store
2023-10-13	12:20:36	203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859695','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:36	203	[DEBUG]	Checking manufacturer
2023-10-13	12:20:36	203	[DEBUG]	Load a row
2023-10-13	12:20:36	203	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:36	203	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:36	203	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:36	203	[DEBUG]	Executed store
2023-10-13	12:20:36	203	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:36	203	[DEBUG]	Manufacturer exists
2023-10-13	12:20:36	203	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:36	203	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:36	203	[DEBUG]	Executed store
2023-10-13	12:20:36	203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859695','162')
2023-10-13	12:20:36	203	[DEBUG]	Find the custom field ID
2023-10-13	12:20:36	203	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:36	203	[DEBUG]	No custom field ID found
2023-10-13	12:20:36	203	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:36	203	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:36	203	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859695 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:36	203	[DEBUG]	Store custom available field
2023-10-13	12:20:36	203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859695,3,'0',1)
2023-10-13	12:20:36	203	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:36	203	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:36	203	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859695 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:36	203	[DEBUG]	Store custom available field
2023-10-13	12:20:36	203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859695,6,'choisir la taille',3)
2023-10-13	12:20:36	203	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:36	203	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:36	203	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:36	203	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:36	203	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859695 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:36	203	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:36	203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859695,8,1)
2023-10-13	12:20:36	203	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:36	203	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859695\":[1859695,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859695
2023-10-13	12:20:36	203	[DEBUG]	Checking category
2023-10-13	12:20:36	203	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:36	203	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859695
2023-10-13	12:20:36	203	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:36	203	[DEBUG]	Executed store
2023-10-13	12:20:36	203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859695','7276')
2023-10-13	12:20:36	203	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:36	203	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859695 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:36	203	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:36	203	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859695
2023-10-13	12:20:36	204	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:36	204	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:36	204	[DEBUG]	Use field value for field taille
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:36	204	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:36	204	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:36	204	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:36	204	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:36	204	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:36	204	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:36	204	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:36	204	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:36	204	[DEBUG]	Use field value for field published
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:36	204	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field override
2023-10-13	12:20:36	204	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:36	204	[DEBUG]	Use field value for field slug
2023-10-13	12:20:36	204	[DEBUG]	Process line 204
2023-10-13	12:20:36	204	[DEBUG]	Load a row
2023-10-13	12:20:36	204	[DEBUG]	Processing item: 4003318407758
2023-10-13	12:20:36	204	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:36	204	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:36	204	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8139_88'
2023-10-13	12:20:36	204	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:36	204	[DEBUG]	Processing product tax
2023-10-13	12:20:36	204	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:36	204	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:36	204	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:36	204	[DEBUG]	Query for Product
2023-10-13	12:20:36	204	[DEBUG]	Executed store
2023-10-13	12:20:36	204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859695','4003318407758','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:36	204	[DEBUG]	No parent found
2023-10-13	12:20:36	204	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859695 AND customfield_value = 'stockable'
2023-10-13	12:20:36	204	[DEBUG]	Check product language entry
2023-10-13	12:20:36	204	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859696
2023-10-13	12:20:36	204	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:36	204	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318407758' AND `virtuemart_product_id` != 1859696
2023-10-13	12:20:36	204	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:36	204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859696, '4003318407758')
2023-10-13	12:20:36	204	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:36	204	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-star-4508k-150-sans-support-bleu-blue-unitaire' AND `virtuemart_product_id` != 1859696
2023-10-13	12:20:36	204	[DEBUG]	Query for ProductLang
2023-10-13	12:20:36	204	[DEBUG]	Executed store
2023-10-13	12:20:36	204	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale Star 4508K/150 sans support bleu / Blue  (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-star-4508k-150-sans-support-bleu-blue-unitaire' WHERE `virtuemart_product_id` = '1859696'
2023-10-13	12:20:36	204	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81235_jpg.jpg
2023-10-13	12:20:36	204	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:36	204	[DEBUG]	Process image file
2023-10-13	12:20:36	204	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:36	204	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:36	204	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81235_jpg.jpg
2023-10-13	12:20:36	204	[DEBUG]	Full name target: bcprisme/11_81235_jpg.jpg
2023-10-13	12:20:37	204	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:37	204	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_81235_jpg.jpg'
2023-10-13	12:20:37	204	[DEBUG]	Query for Media
2023-10-13	12:20:37	204	[DEBUG]	Executed store
2023-10-13	12:20:37	204	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_81235_jpg.jpg',`file_url_thumb`='bcprisme/11_81235_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '684490'
2023-10-13	12:20:37	204	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:37	204	[DEBUG]	Executed store
2023-10-13	12:20:37	204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859696','684490','1')
2023-10-13	12:20:37	204	[DEBUG]	Store product image relation
2023-10-13	12:20:37	204	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:37	204	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859696 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:37	204	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:37	204	[DEBUG]	Executed store
2023-10-13	12:20:37	204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859696','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:37	204	[DEBUG]	Checking manufacturer
2023-10-13	12:20:37	204	[DEBUG]	Load a row
2023-10-13	12:20:37	204	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:37	204	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:37	204	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:37	204	[DEBUG]	Executed store
2023-10-13	12:20:37	204	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:37	204	[DEBUG]	Manufacturer exists
2023-10-13	12:20:37	204	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:37	204	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:37	204	[DEBUG]	Executed store
2023-10-13	12:20:37	204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859696','162')
2023-10-13	12:20:37	204	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:37	204	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:37	204	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859696 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:37	204	[DEBUG]	Store custom available field
2023-10-13	12:20:37	204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859696,3,'',1)
2023-10-13	12:20:37	204	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:37	204	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:37	204	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859696 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:37	204	[DEBUG]	Store custom available field
2023-10-13	12:20:37	204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859696,6,'Unitaire',3)
2023-10-13	12:20:37	204	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:37	204	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:37	204	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859695
2023-10-13	12:20:37	204	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:37	204	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859695\":[1859695,8,1,\"choisir la taille\"],\"1859696\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859695
2023-10-13	12:20:37	204	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:37	204	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859696
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:37	205	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field taille
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:37	205	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:37	205	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:37	205	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:37	205	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:37	205	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:37	205	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field published
2023-10-13	12:20:37	205	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:37	205	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field override
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:37	205	[DEBUG]	Use field value for field slug
2023-10-13	12:20:37	205	[DEBUG]	Process line 205
2023-10-13	12:20:37	205	[DEBUG]	Load a row
2023-10-13	12:20:37	205	[DEBUG]	Processing item: A_8140_85
2023-10-13	12:20:37	205	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:37	205	[DEBUG]	Processing product tax
2023-10-13	12:20:37	205	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:37	205	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:37	205	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:37	205	[DEBUG]	Query for Product
2023-10-13	12:20:37	205	[DEBUG]	Executed store
2023-10-13	12:20:37	205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8140_85','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:37	205	[DEBUG]	Check product language entry
2023-10-13	12:20:37	205	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859697
2023-10-13	12:20:37	205	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:37	205	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8140_85' AND `virtuemart_product_id` != 1859697
2023-10-13	12:20:37	205	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:37	205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859697, 'A_8140_85')
2023-10-13	12:20:37	205	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:37	205	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-star-4508k-150-sans-support-rouge-red' AND `virtuemart_product_id` != 1859697
2023-10-13	12:20:37	205	[DEBUG]	Query for ProductLang
2023-10-13	12:20:37	205	[DEBUG]	Executed store
2023-10-13	12:20:37	205	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.81236',`product_name`='ABUS Cadena à spirale Star 4508K/150 sans support rouge / Red',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-star-4508k-150-sans-support-rouge-red' WHERE `virtuemart_product_id` = '1859697'
2023-10-13	12:20:37	205	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81236_jpg.jpg
2023-10-13	12:20:37	205	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:37	205	[DEBUG]	Process image file
2023-10-13	12:20:37	205	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:37	205	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:37	205	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81236_jpg.jpg
2023-10-13	12:20:37	205	[DEBUG]	Full name target: bcprisme/11_81236_jpg.jpg
2023-10-13	12:20:38	205	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:38	205	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_81236_jpg.jpg'
2023-10-13	12:20:38	205	[DEBUG]	Query for Media
2023-10-13	12:20:38	205	[DEBUG]	Executed store
2023-10-13	12:20:38	205	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_81236_jpg.jpg',`file_url_thumb`='bcprisme/11_81236_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '684492'
2023-10-13	12:20:38	205	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:38	205	[DEBUG]	Executed store
2023-10-13	12:20:38	205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859697','684492','1')
2023-10-13	12:20:38	205	[DEBUG]	Store product image relation
2023-10-13	12:20:38	205	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:38	205	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859697 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:38	205	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:38	205	[DEBUG]	Executed store
2023-10-13	12:20:38	205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859697','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:38	205	[DEBUG]	Checking manufacturer
2023-10-13	12:20:38	205	[DEBUG]	Load a row
2023-10-13	12:20:38	205	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:38	205	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:38	205	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:38	205	[DEBUG]	Executed store
2023-10-13	12:20:38	205	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:38	205	[DEBUG]	Manufacturer exists
2023-10-13	12:20:38	205	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:38	205	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:38	205	[DEBUG]	Executed store
2023-10-13	12:20:38	205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859697','162')
2023-10-13	12:20:38	205	[DEBUG]	Find the custom field ID
2023-10-13	12:20:38	205	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:38	205	[DEBUG]	No custom field ID found
2023-10-13	12:20:38	205	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:38	205	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:38	205	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859697 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:38	205	[DEBUG]	Store custom available field
2023-10-13	12:20:38	205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859697,3,'0',1)
2023-10-13	12:20:38	205	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:38	205	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:38	205	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859697 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:38	205	[DEBUG]	Store custom available field
2023-10-13	12:20:38	205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859697,6,'choisir la taille',3)
2023-10-13	12:20:38	205	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:38	205	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:38	205	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:38	205	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:38	205	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859697 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:38	205	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:38	205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859697,8,1)
2023-10-13	12:20:38	205	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:38	205	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859697\":[1859697,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859697
2023-10-13	12:20:38	205	[DEBUG]	Checking category
2023-10-13	12:20:38	205	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:38	205	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859697
2023-10-13	12:20:38	205	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:38	205	[DEBUG]	Executed store
2023-10-13	12:20:38	205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859697','7276')
2023-10-13	12:20:38	205	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:38	205	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859697 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:38	205	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:38	205	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859697
2023-10-13	12:20:38	206	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:38	206	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:38	206	[DEBUG]	Use field value for field taille
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:38	206	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:38	206	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:38	206	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:38	206	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:38	206	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:38	206	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:38	206	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:38	206	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:38	206	[DEBUG]	Use field value for field published
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:38	206	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field override
2023-10-13	12:20:38	206	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:38	206	[DEBUG]	Use field value for field slug
2023-10-13	12:20:38	206	[DEBUG]	Process line 206
2023-10-13	12:20:38	206	[DEBUG]	Load a row
2023-10-13	12:20:38	206	[DEBUG]	Processing item: 4003318407765
2023-10-13	12:20:38	206	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:38	206	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:38	206	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8140_85'
2023-10-13	12:20:38	206	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:38	206	[DEBUG]	Processing product tax
2023-10-13	12:20:38	206	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:38	206	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:38	206	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:38	206	[DEBUG]	Query for Product
2023-10-13	12:20:38	206	[DEBUG]	Executed store
2023-10-13	12:20:38	206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859697','4003318407765','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:38	206	[DEBUG]	No parent found
2023-10-13	12:20:38	206	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859697 AND customfield_value = 'stockable'
2023-10-13	12:20:38	206	[DEBUG]	Check product language entry
2023-10-13	12:20:38	206	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859698
2023-10-13	12:20:38	206	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:38	206	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318407765' AND `virtuemart_product_id` != 1859698
2023-10-13	12:20:38	206	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:38	206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859698, '4003318407765')
2023-10-13	12:20:38	206	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:38	206	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-star-4508k-150-sans-support-rouge-red-unitaire' AND `virtuemart_product_id` != 1859698
2023-10-13	12:20:38	206	[DEBUG]	Query for ProductLang
2023-10-13	12:20:38	206	[DEBUG]	Executed store
2023-10-13	12:20:38	206	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale Star 4508K/150 sans support rouge / Red (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-star-4508k-150-sans-support-rouge-red-unitaire' WHERE `virtuemart_product_id` = '1859698'
2023-10-13	12:20:38	206	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81236_jpg.jpg
2023-10-13	12:20:38	206	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:38	206	[DEBUG]	Process image file
2023-10-13	12:20:38	206	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:38	206	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:38	206	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81236_jpg.jpg
2023-10-13	12:20:38	206	[DEBUG]	Full name target: bcprisme/11_81236_jpg.jpg
2023-10-13	12:20:39	206	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:39	206	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_81236_jpg.jpg'
2023-10-13	12:20:39	206	[DEBUG]	Query for Media
2023-10-13	12:20:39	206	[DEBUG]	Executed store
2023-10-13	12:20:39	206	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_81236_jpg.jpg',`file_url_thumb`='bcprisme/11_81236_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '684492'
2023-10-13	12:20:39	206	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:39	206	[DEBUG]	Executed store
2023-10-13	12:20:39	206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859698','684492','1')
2023-10-13	12:20:39	206	[DEBUG]	Store product image relation
2023-10-13	12:20:39	206	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:39	206	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859698 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:39	206	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:39	206	[DEBUG]	Executed store
2023-10-13	12:20:39	206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859698','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:39	206	[DEBUG]	Checking manufacturer
2023-10-13	12:20:39	206	[DEBUG]	Load a row
2023-10-13	12:20:39	206	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:39	206	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:39	206	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:39	206	[DEBUG]	Executed store
2023-10-13	12:20:39	206	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:39	206	[DEBUG]	Manufacturer exists
2023-10-13	12:20:39	206	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:39	206	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:39	206	[DEBUG]	Executed store
2023-10-13	12:20:39	206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859698','162')
2023-10-13	12:20:39	206	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:39	206	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:39	206	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859698 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:39	206	[DEBUG]	Store custom available field
2023-10-13	12:20:39	206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859698,3,'',1)
2023-10-13	12:20:39	206	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:39	206	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:39	206	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859698 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:39	206	[DEBUG]	Store custom available field
2023-10-13	12:20:39	206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859698,6,'Unitaire',3)
2023-10-13	12:20:39	206	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:39	206	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:39	206	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859697
2023-10-13	12:20:39	206	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:39	206	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859697\":[1859697,8,1,\"choisir la taille\"],\"1859698\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859697
2023-10-13	12:20:39	206	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:39	206	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859698
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:39	207	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field taille
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:39	207	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:39	207	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:39	207	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:39	207	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:39	207	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:39	207	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field published
2023-10-13	12:20:39	207	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:39	207	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field override
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:39	207	[DEBUG]	Use field value for field slug
2023-10-13	12:20:39	207	[DEBUG]	Process line 207
2023-10-13	12:20:39	207	[DEBUG]	Load a row
2023-10-13	12:20:39	207	[DEBUG]	Processing item: A_8141_183
2023-10-13	12:20:39	207	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:39	207	[DEBUG]	Processing product tax
2023-10-13	12:20:39	207	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:39	207	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:39	207	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:39	207	[DEBUG]	Query for Product
2023-10-13	12:20:39	207	[DEBUG]	Executed store
2023-10-13	12:20:39	207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8141_183','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:39	207	[DEBUG]	Check product language entry
2023-10-13	12:20:39	207	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859699
2023-10-13	12:20:39	207	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:39	207	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8141_183' AND `virtuemart_product_id` != 1859699
2023-10-13	12:20:39	207	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:39	207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859699, 'A_8141_183')
2023-10-13	12:20:39	207	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:39	207	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-star-4508k-150-sans-support-vert-green' AND `virtuemart_product_id` != 1859699
2023-10-13	12:20:39	207	[DEBUG]	Query for ProductLang
2023-10-13	12:20:39	207	[DEBUG]	Executed store
2023-10-13	12:20:39	207	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.81237',`product_name`='ABUS Cadena à spirale Star 4508K/150 sans support vert / GREEN',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-star-4508k-150-sans-support-vert-green' WHERE `virtuemart_product_id` = '1859699'
2023-10-13	12:20:39	207	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81237_jpg.jpg has not been found.
2023-10-13	12:20:39	207	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:39	207	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859699 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:39	207	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:39	207	[DEBUG]	Executed store
2023-10-13	12:20:39	207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859699','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:39	207	[DEBUG]	Checking manufacturer
2023-10-13	12:20:39	207	[DEBUG]	Load a row
2023-10-13	12:20:40	207	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:40	207	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:40	207	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:40	207	[DEBUG]	Executed store
2023-10-13	12:20:40	207	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:40	207	[DEBUG]	Manufacturer exists
2023-10-13	12:20:40	207	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:40	207	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:40	207	[DEBUG]	Executed store
2023-10-13	12:20:40	207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859699','162')
2023-10-13	12:20:40	207	[DEBUG]	Find the custom field ID
2023-10-13	12:20:40	207	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:40	207	[DEBUG]	No custom field ID found
2023-10-13	12:20:40	207	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:40	207	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:40	207	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859699 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:40	207	[DEBUG]	Store custom available field
2023-10-13	12:20:40	207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859699,3,'0',1)
2023-10-13	12:20:40	207	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:40	207	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:40	207	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859699 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:40	207	[DEBUG]	Store custom available field
2023-10-13	12:20:40	207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859699,6,'choisir la taille',3)
2023-10-13	12:20:40	207	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:40	207	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:40	207	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:40	207	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:40	207	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859699 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:40	207	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:40	207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859699,8,1)
2023-10-13	12:20:40	207	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:40	207	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859699\":[1859699,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859699
2023-10-13	12:20:40	207	[DEBUG]	Checking category
2023-10-13	12:20:40	207	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:40	207	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859699
2023-10-13	12:20:40	207	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:40	207	[DEBUG]	Executed store
2023-10-13	12:20:40	207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859699','7276')
2023-10-13	12:20:40	207	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:40	207	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859699 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:40	207	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:40	207	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859699
2023-10-13	12:20:40	208	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:40	208	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:40	208	[DEBUG]	Use field value for field taille
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:40	208	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:40	208	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:40	208	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:40	208	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:40	208	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:40	208	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:40	208	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:40	208	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:40	208	[DEBUG]	Use field value for field published
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:40	208	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field override
2023-10-13	12:20:40	208	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:40	208	[DEBUG]	Use field value for field slug
2023-10-13	12:20:40	208	[DEBUG]	Process line 208
2023-10-13	12:20:40	208	[DEBUG]	Load a row
2023-10-13	12:20:40	208	[DEBUG]	Processing item: 4003318407772
2023-10-13	12:20:40	208	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:40	208	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:40	208	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8141_183'
2023-10-13	12:20:40	208	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:40	208	[DEBUG]	Processing product tax
2023-10-13	12:20:40	208	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:40	208	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:40	208	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:40	208	[DEBUG]	Query for Product
2023-10-13	12:20:40	208	[DEBUG]	Executed store
2023-10-13	12:20:40	208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859699','4003318407772','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:40	208	[DEBUG]	No parent found
2023-10-13	12:20:40	208	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859699 AND customfield_value = 'stockable'
2023-10-13	12:20:40	208	[DEBUG]	Check product language entry
2023-10-13	12:20:40	208	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859700
2023-10-13	12:20:40	208	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:40	208	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318407772' AND `virtuemart_product_id` != 1859700
2023-10-13	12:20:40	208	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:40	208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859700, '4003318407772')
2023-10-13	12:20:40	208	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:40	208	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-star-4508k-150-sans-support-vert-green-unitaire' AND `virtuemart_product_id` != 1859700
2023-10-13	12:20:40	208	[DEBUG]	Query for ProductLang
2023-10-13	12:20:40	208	[DEBUG]	Executed store
2023-10-13	12:20:40	208	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale Star 4508K/150 sans support vert / GREEN (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-star-4508k-150-sans-support-vert-green-unitaire' WHERE `virtuemart_product_id` = '1859700'
2023-10-13	12:20:40	208	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81237_jpg.jpg has not been found.
2023-10-13	12:20:40	208	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:40	208	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859700 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:40	208	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:40	208	[DEBUG]	Executed store
2023-10-13	12:20:40	208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859700','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:40	208	[DEBUG]	Checking manufacturer
2023-10-13	12:20:40	208	[DEBUG]	Load a row
2023-10-13	12:20:40	208	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:40	208	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:40	208	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:40	208	[DEBUG]	Executed store
2023-10-13	12:20:40	208	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:40	208	[DEBUG]	Manufacturer exists
2023-10-13	12:20:40	208	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:40	208	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:40	208	[DEBUG]	Executed store
2023-10-13	12:20:40	208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859700','162')
2023-10-13	12:20:40	208	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:40	208	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:40	208	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859700 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:40	208	[DEBUG]	Store custom available field
2023-10-13	12:20:40	208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859700,3,'',1)
2023-10-13	12:20:40	208	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:40	208	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:40	208	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859700 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:40	208	[DEBUG]	Store custom available field
2023-10-13	12:20:40	208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859700,6,'Unitaire',3)
2023-10-13	12:20:40	208	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:40	208	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:40	208	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859699
2023-10-13	12:20:40	208	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:40	208	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859699\":[1859699,8,1,\"choisir la taille\"],\"1859700\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859699
2023-10-13	12:20:40	208	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:40	208	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859700
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:40	209	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field taille
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:40	209	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:40	209	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:40	209	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:40	209	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:40	209	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:40	209	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field published
2023-10-13	12:20:40	209	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:40	209	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field override
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:40	209	[DEBUG]	Use field value for field slug
2023-10-13	12:20:40	209	[DEBUG]	Process line 209
2023-10-13	12:20:40	209	[DEBUG]	Load a row
2023-10-13	12:20:40	209	[DEBUG]	Processing item: A_8327_84
2023-10-13	12:20:40	209	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:40	209	[DEBUG]	Processing product tax
2023-10-13	12:20:40	209	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:40	209	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:40	209	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:40	209	[DEBUG]	Query for Product
2023-10-13	12:20:40	209	[DEBUG]	Executed store
2023-10-13	12:20:40	209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8327_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:40	209	[DEBUG]	Check product language entry
2023-10-13	12:20:40	209	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859701
2023-10-13	12:20:40	209	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:40	209	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8327_84' AND `virtuemart_product_id` != 1859701
2023-10-13	12:20:40	209	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:40	209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859701, 'A_8327_84')
2023-10-13	12:20:40	209	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:40	209	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-cable-3406c-55-code-sans-support-noir-black' AND `virtuemart_product_id` != 1859701
2023-10-13	12:20:40	209	[DEBUG]	Query for ProductLang
2023-10-13	12:20:40	209	[DEBUG]	Executed store
2023-10-13	12:20:40	209	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.81547',`product_name`='ABUS Cadena à câble 3406C/55 code sans support noir / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-cable-3406c-55-code-sans-support-noir-black' WHERE `virtuemart_product_id` = '1859701'
2023-10-13	12:20:40	209	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81547_jpg.jpg
2023-10-13	12:20:40	209	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:40	209	[DEBUG]	Process image file
2023-10-13	12:20:40	209	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:40	209	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:40	209	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81547_jpg.jpg
2023-10-13	12:20:40	209	[DEBUG]	Full name target: bcprisme/11_81547_jpg.jpg
2023-10-13	12:20:41	209	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:41	209	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_81547_jpg.jpg'
2023-10-13	12:20:41	209	[DEBUG]	Query for Media
2023-10-13	12:20:41	209	[DEBUG]	Executed store
2023-10-13	12:20:41	209	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_81547_jpg.jpg',`file_url_thumb`='bcprisme/11_81547_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '785690'
2023-10-13	12:20:41	209	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:41	209	[DEBUG]	Executed store
2023-10-13	12:20:41	209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859701','785690','1')
2023-10-13	12:20:41	209	[DEBUG]	Store product image relation
2023-10-13	12:20:41	209	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:41	209	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859701 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:41	209	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:41	209	[DEBUG]	Executed store
2023-10-13	12:20:41	209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859701','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:41	209	[DEBUG]	Checking manufacturer
2023-10-13	12:20:41	209	[DEBUG]	Load a row
2023-10-13	12:20:41	209	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:41	209	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:41	209	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:41	209	[DEBUG]	Executed store
2023-10-13	12:20:41	209	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:41	209	[DEBUG]	Manufacturer exists
2023-10-13	12:20:41	209	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:41	209	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:41	209	[DEBUG]	Executed store
2023-10-13	12:20:41	209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859701','162')
2023-10-13	12:20:41	209	[DEBUG]	Find the custom field ID
2023-10-13	12:20:41	209	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:41	209	[DEBUG]	No custom field ID found
2023-10-13	12:20:41	209	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:41	209	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:41	209	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859701 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:41	209	[DEBUG]	Store custom available field
2023-10-13	12:20:41	209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859701,3,'0',1)
2023-10-13	12:20:41	209	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:41	209	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:41	209	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859701 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:41	209	[DEBUG]	Store custom available field
2023-10-13	12:20:41	209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859701,6,'choisir la taille',3)
2023-10-13	12:20:41	209	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:41	209	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:41	209	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:41	209	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:41	209	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859701 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:41	209	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:41	209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859701,8,1)
2023-10-13	12:20:41	209	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:41	209	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859701\":[1859701,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859701
2023-10-13	12:20:41	209	[DEBUG]	Checking category
2023-10-13	12:20:41	209	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:41	209	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859701
2023-10-13	12:20:41	209	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:41	209	[DEBUG]	Executed store
2023-10-13	12:20:41	209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859701','7276')
2023-10-13	12:20:41	209	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:41	209	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859701 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:41	209	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:41	209	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859701
2023-10-13	12:20:41	210	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:41	210	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:41	210	[DEBUG]	Use field value for field taille
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:41	210	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:41	210	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:41	210	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:41	210	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:41	210	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:41	210	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:41	210	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:41	210	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:41	210	[DEBUG]	Use field value for field published
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:41	210	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field override
2023-10-13	12:20:41	210	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:41	210	[DEBUG]	Use field value for field slug
2023-10-13	12:20:41	210	[DEBUG]	Process line 210
2023-10-13	12:20:41	210	[DEBUG]	Load a row
2023-10-13	12:20:41	210	[DEBUG]	Processing item: 4003318407871
2023-10-13	12:20:41	210	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:41	210	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:41	210	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8327_84'
2023-10-13	12:20:41	210	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:41	210	[DEBUG]	Processing product tax
2023-10-13	12:20:41	210	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:41	210	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:41	210	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:41	210	[DEBUG]	Query for Product
2023-10-13	12:20:41	210	[DEBUG]	Executed store
2023-10-13	12:20:41	210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859701','4003318407871','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:41	210	[DEBUG]	No parent found
2023-10-13	12:20:41	210	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859701 AND customfield_value = 'stockable'
2023-10-13	12:20:41	210	[DEBUG]	Check product language entry
2023-10-13	12:20:41	210	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859702
2023-10-13	12:20:41	210	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:41	210	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318407871' AND `virtuemart_product_id` != 1859702
2023-10-13	12:20:41	210	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:41	210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859702, '4003318407871')
2023-10-13	12:20:41	210	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:41	210	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-cable-3406c-55-code-sans-support-noir-black-unitaire' AND `virtuemart_product_id` != 1859702
2023-10-13	12:20:41	210	[DEBUG]	Query for ProductLang
2023-10-13	12:20:41	210	[DEBUG]	Executed store
2023-10-13	12:20:41	210	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à câble 3406C/55 code sans support noir / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-cable-3406c-55-code-sans-support-noir-black-unitaire' WHERE `virtuemart_product_id` = '1859702'
2023-10-13	12:20:41	210	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81547_jpg.jpg
2023-10-13	12:20:41	210	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:41	210	[DEBUG]	Process image file
2023-10-13	12:20:41	210	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:20:41	210	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:41	210	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_81547_jpg.jpg
2023-10-13	12:20:41	210	[DEBUG]	Full name target: bcprisme/11_81547_jpg.jpg
2023-10-13	12:20:42	210	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:42	210	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_81547_jpg.jpg'
2023-10-13	12:20:42	210	[DEBUG]	Query for Media
2023-10-13	12:20:42	210	[DEBUG]	Executed store
2023-10-13	12:20:42	210	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_81547_jpg.jpg',`file_url_thumb`='bcprisme/11_81547_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '785690'
2023-10-13	12:20:42	210	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:42	210	[DEBUG]	Executed store
2023-10-13	12:20:42	210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859702','785690','1')
2023-10-13	12:20:42	210	[DEBUG]	Store product image relation
2023-10-13	12:20:42	210	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:42	210	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859702 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:42	210	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:42	210	[DEBUG]	Executed store
2023-10-13	12:20:42	210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859702','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:42	210	[DEBUG]	Checking manufacturer
2023-10-13	12:20:42	210	[DEBUG]	Load a row
2023-10-13	12:20:42	210	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:42	210	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:42	210	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:42	210	[DEBUG]	Executed store
2023-10-13	12:20:42	210	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:20:42	210	[DEBUG]	Manufacturer exists
2023-10-13	12:20:42	210	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:20:42	210	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:42	210	[DEBUG]	Executed store
2023-10-13	12:20:42	210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859702','162')
2023-10-13	12:20:42	210	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:42	210	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:42	210	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859702 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:42	210	[DEBUG]	Store custom available field
2023-10-13	12:20:42	210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859702,3,'',1)
2023-10-13	12:20:42	210	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:42	210	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:42	210	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859702 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:42	210	[DEBUG]	Store custom available field
2023-10-13	12:20:42	210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859702,6,'Unitaire',3)
2023-10-13	12:20:42	210	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:42	210	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:42	210	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859701
2023-10-13	12:20:42	210	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:42	210	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859701\":[1859701,8,1,\"choisir la taille\"],\"1859702\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859701
2023-10-13	12:20:42	210	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:42	210	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859702
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:42	211	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field taille
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:42	211	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:42	211	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:42	211	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:42	211	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:42	211	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:42	211	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field published
2023-10-13	12:20:42	211	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:42	211	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field override
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:42	211	[DEBUG]	Use field value for field slug
2023-10-13	12:20:42	211	[DEBUG]	Process line 211
2023-10-13	12:20:42	211	[DEBUG]	Load a row
2023-10-13	12:20:42	211	[DEBUG]	Processing item: A_8487_1
2023-10-13	12:20:42	211	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:42	211	[DEBUG]	Processing product tax
2023-10-13	12:20:42	211	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:42	211	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:42	211	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:42	211	[DEBUG]	Query for Product
2023-10-13	12:20:42	211	[DEBUG]	Executed store
2023-10-13	12:20:42	211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8487_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:42	211	[DEBUG]	Check product language entry
2023-10-13	12:20:42	211	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859703
2023-10-13	12:20:42	211	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:42	211	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8487_1' AND `virtuemart_product_id` != 1859703
2023-10-13	12:20:42	211	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:42	211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859703, 'A_8487_1')
2023-10-13	12:20:42	211	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:42	211	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'hiplok-cadena-z-lok-combos-a-code-noir' AND `virtuemart_product_id` != 1859703
2023-10-13	12:20:42	211	[DEBUG]	Query for ProductLang
2023-10-13	12:20:42	211	[DEBUG]	Executed store
2023-10-13	12:20:42	211	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : b0001206 ZCOM1MULTI',`product_name`='HIPLOK Cadena  Z LOK COMBOS à code / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='hiplok-cadena-z-lok-combos-a-code-noir' WHERE `virtuemart_product_id` = '1859703'
2023-10-13	12:20:42	211	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37253_cadenas_z_lok_combos_à_code.jpg
2023-10-13	12:20:42	211	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:42	211	[DEBUG]	Process image file
2023-10-13	12:20:42	211	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:42	211	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:42	211	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37253_cadenas_z_lok_combos_à_code.jpg
2023-10-13	12:20:42	211	[DEBUG]	Full name target: bcprisme/37253_cadenas_z_lok_combos_à_code.jpg
2023-10-13	12:20:43	211	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:43	211	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37253_cadenas_z_lok_combos_à_code.jpg'
2023-10-13	12:20:43	211	[DEBUG]	Query for Media
2023-10-13	12:20:43	211	[DEBUG]	Executed store
2023-10-13	12:20:43	211	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37253_cadenas_z_lok_combos_à_code.jpg',`file_url_thumb`='bcprisme/37253_cadenas_z_lok_combos_à_code.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908263'
2023-10-13	12:20:43	211	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:43	211	[DEBUG]	Executed store
2023-10-13	12:20:43	211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859703','908263','1')
2023-10-13	12:20:43	211	[DEBUG]	Store product image relation
2023-10-13	12:20:43	211	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:43	211	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859703 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:43	211	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:43	211	[DEBUG]	Executed store
2023-10-13	12:20:43	211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859703','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:43	211	[DEBUG]	Checking manufacturer
2023-10-13	12:20:43	211	[DEBUG]	Load a row
2023-10-13	12:20:43	211	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:43	211	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:43	211	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:43	211	[DEBUG]	Executed store
2023-10-13	12:20:43	211	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='175',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='175' WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:43	211	[DEBUG]	Manufacturer exists
2023-10-13	12:20:43	211	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 266
2023-10-13	12:20:43	211	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:43	211	[DEBUG]	Executed store
2023-10-13	12:20:43	211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859703','266')
2023-10-13	12:20:43	211	[DEBUG]	Find the custom field ID
2023-10-13	12:20:43	211	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:43	211	[DEBUG]	No custom field ID found
2023-10-13	12:20:43	211	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:43	211	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:43	211	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859703 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:43	211	[DEBUG]	Store custom available field
2023-10-13	12:20:43	211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859703,3,'0',1)
2023-10-13	12:20:43	211	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:43	211	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:43	211	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859703 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:43	211	[DEBUG]	Store custom available field
2023-10-13	12:20:43	211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859703,6,'choisir la taille',3)
2023-10-13	12:20:43	211	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:43	211	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:43	211	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:43	211	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:43	211	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859703 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:43	211	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:43	211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859703,8,1)
2023-10-13	12:20:43	211	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:43	211	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859703\":[1859703,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859703
2023-10-13	12:20:43	211	[DEBUG]	Checking category
2023-10-13	12:20:43	211	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:43	211	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859703
2023-10-13	12:20:43	211	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:43	211	[DEBUG]	Executed store
2023-10-13	12:20:43	211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859703','7276')
2023-10-13	12:20:43	211	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:43	211	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859703 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:43	211	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:43	211	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859703
2023-10-13	12:20:43	212	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:43	212	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:43	212	[DEBUG]	Use field value for field taille
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:43	212	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:43	212	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:43	212	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:43	212	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:43	212	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:43	212	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:43	212	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:43	212	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:43	212	[DEBUG]	Use field value for field published
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:43	212	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field override
2023-10-13	12:20:43	212	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:43	212	[DEBUG]	Use field value for field slug
2023-10-13	12:20:43	212	[DEBUG]	Process line 212
2023-10-13	12:20:43	212	[DEBUG]	Load a row
2023-10-13	12:20:43	212	[DEBUG]	Processing item: 1000000154016
2023-10-13	12:20:43	212	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:43	212	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:43	212	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8487_1'
2023-10-13	12:20:43	212	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:43	212	[DEBUG]	Processing product tax
2023-10-13	12:20:43	212	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:43	212	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:43	212	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:43	212	[DEBUG]	Query for Product
2023-10-13	12:20:43	212	[DEBUG]	Executed store
2023-10-13	12:20:43	212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859703','1000000154016','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:43	212	[DEBUG]	No parent found
2023-10-13	12:20:43	212	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859703 AND customfield_value = 'stockable'
2023-10-13	12:20:43	212	[DEBUG]	Check product language entry
2023-10-13	12:20:43	212	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859704
2023-10-13	12:20:43	212	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:43	212	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000154016' AND `virtuemart_product_id` != 1859704
2023-10-13	12:20:43	212	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:43	212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859704, '1000000154016')
2023-10-13	12:20:43	212	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:43	212	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'hiplok-cadena-z-lok-combos-a-code-noir-unitaire' AND `virtuemart_product_id` != 1859704
2023-10-13	12:20:43	212	[DEBUG]	Query for ProductLang
2023-10-13	12:20:43	212	[DEBUG]	Executed store
2023-10-13	12:20:43	212	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='HIPLOK Cadena  Z LOK COMBOS à code / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='hiplok-cadena-z-lok-combos-a-code-noir-unitaire' WHERE `virtuemart_product_id` = '1859704'
2023-10-13	12:20:43	212	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37253_cadenas_z_lok_combos_à_code.jpg
2023-10-13	12:20:43	212	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:43	212	[DEBUG]	Process image file
2023-10-13	12:20:43	212	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:43	212	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:43	212	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37253_cadenas_z_lok_combos_à_code.jpg
2023-10-13	12:20:43	212	[DEBUG]	Full name target: bcprisme/37253_cadenas_z_lok_combos_à_code.jpg
2023-10-13	12:20:44	212	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:44	212	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37253_cadenas_z_lok_combos_à_code.jpg'
2023-10-13	12:20:44	212	[DEBUG]	Query for Media
2023-10-13	12:20:44	212	[DEBUG]	Executed store
2023-10-13	12:20:44	212	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37253_cadenas_z_lok_combos_à_code.jpg',`file_url_thumb`='bcprisme/37253_cadenas_z_lok_combos_à_code.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908263'
2023-10-13	12:20:44	212	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:44	212	[DEBUG]	Executed store
2023-10-13	12:20:44	212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859704','908263','1')
2023-10-13	12:20:44	212	[DEBUG]	Store product image relation
2023-10-13	12:20:44	212	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:44	212	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859704 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:44	212	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:44	212	[DEBUG]	Executed store
2023-10-13	12:20:44	212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859704','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:44	212	[DEBUG]	Checking manufacturer
2023-10-13	12:20:44	212	[DEBUG]	Load a row
2023-10-13	12:20:44	212	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:44	212	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:44	212	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:44	212	[DEBUG]	Executed store
2023-10-13	12:20:44	212	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='175',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='175' WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:44	212	[DEBUG]	Manufacturer exists
2023-10-13	12:20:44	212	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 266
2023-10-13	12:20:44	212	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:44	212	[DEBUG]	Executed store
2023-10-13	12:20:44	212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859704','266')
2023-10-13	12:20:44	212	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:44	212	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:44	212	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859704 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:44	212	[DEBUG]	Store custom available field
2023-10-13	12:20:44	212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859704,3,'',1)
2023-10-13	12:20:44	212	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:44	212	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:44	212	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859704 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:44	212	[DEBUG]	Store custom available field
2023-10-13	12:20:44	212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859704,6,'Unitaire',3)
2023-10-13	12:20:44	212	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:44	212	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:44	212	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859703
2023-10-13	12:20:44	212	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:44	212	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859703\":[1859703,8,1,\"choisir la taille\"],\"1859704\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859703
2023-10-13	12:20:44	212	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:44	212	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859704
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:44	213	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field taille
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:44	213	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:44	213	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:44	213	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:44	213	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:44	213	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:44	213	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field published
2023-10-13	12:20:44	213	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:44	213	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field override
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:44	213	[DEBUG]	Use field value for field slug
2023-10-13	12:20:44	213	[DEBUG]	Process line 213
2023-10-13	12:20:44	213	[DEBUG]	Load a row
2023-10-13	12:20:44	213	[DEBUG]	Processing item: A_8487_65
2023-10-13	12:20:44	213	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:44	213	[DEBUG]	Processing product tax
2023-10-13	12:20:44	213	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:44	213	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:44	213	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:44	213	[DEBUG]	Query for Product
2023-10-13	12:20:44	213	[DEBUG]	Executed store
2023-10-13	12:20:44	213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8487_65','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:44	213	[DEBUG]	Check product language entry
2023-10-13	12:20:44	213	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859705
2023-10-13	12:20:44	213	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:44	213	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8487_65' AND `virtuemart_product_id` != 1859705
2023-10-13	12:20:44	213	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:44	213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859705, 'A_8487_65')
2023-10-13	12:20:44	213	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:44	213	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'hiplok-cadena-z-lok-combos-a-code-jaune' AND `virtuemart_product_id` != 1859705
2023-10-13	12:20:44	213	[DEBUG]	Query for ProductLang
2023-10-13	12:20:44	213	[DEBUG]	Executed store
2023-10-13	12:20:44	213	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : b0001206 ZCOM1MULTI',`product_name`='HIPLOK Cadena  Z LOK COMBOS à code / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='hiplok-cadena-z-lok-combos-a-code-jaune' WHERE `virtuemart_product_id` = '1859705'
2023-10-13	12:20:44	213	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37255_cadenas_z_lok_combos.jpg
2023-10-13	12:20:44	213	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:44	213	[DEBUG]	Process image file
2023-10-13	12:20:44	213	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:44	213	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:44	213	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37255_cadenas_z_lok_combos.jpg
2023-10-13	12:20:44	213	[DEBUG]	Full name target: bcprisme/37255_cadenas_z_lok_combos.jpg
2023-10-13	12:20:45	213	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:45	213	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37255_cadenas_z_lok_combos.jpg'
2023-10-13	12:20:45	213	[DEBUG]	Query for Media
2023-10-13	12:20:45	213	[DEBUG]	Executed store
2023-10-13	12:20:45	213	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37255_cadenas_z_lok_combos.jpg',`file_url_thumb`='bcprisme/37255_cadenas_z_lok_combos.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908265'
2023-10-13	12:20:45	213	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:45	213	[DEBUG]	Executed store
2023-10-13	12:20:45	213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859705','908265','1')
2023-10-13	12:20:45	213	[DEBUG]	Store product image relation
2023-10-13	12:20:45	213	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:45	213	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859705 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:45	213	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:45	213	[DEBUG]	Executed store
2023-10-13	12:20:45	213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859705','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:45	213	[DEBUG]	Checking manufacturer
2023-10-13	12:20:45	213	[DEBUG]	Load a row
2023-10-13	12:20:45	213	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:45	213	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:45	213	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:45	213	[DEBUG]	Executed store
2023-10-13	12:20:45	213	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='175',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='175' WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:45	213	[DEBUG]	Manufacturer exists
2023-10-13	12:20:45	213	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 266
2023-10-13	12:20:45	213	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:45	213	[DEBUG]	Executed store
2023-10-13	12:20:45	213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859705','266')
2023-10-13	12:20:45	213	[DEBUG]	Find the custom field ID
2023-10-13	12:20:45	213	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:45	213	[DEBUG]	No custom field ID found
2023-10-13	12:20:45	213	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:45	213	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:45	213	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859705 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:45	213	[DEBUG]	Store custom available field
2023-10-13	12:20:45	213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859705,3,'0',1)
2023-10-13	12:20:45	213	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:45	213	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:45	213	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859705 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:45	213	[DEBUG]	Store custom available field
2023-10-13	12:20:45	213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859705,6,'choisir la taille',3)
2023-10-13	12:20:45	213	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:45	213	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:45	213	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:45	213	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:45	213	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859705 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:45	213	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:45	213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859705,8,1)
2023-10-13	12:20:45	213	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:45	213	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859705\":[1859705,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859705
2023-10-13	12:20:45	213	[DEBUG]	Checking category
2023-10-13	12:20:45	213	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:45	213	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859705
2023-10-13	12:20:45	213	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:45	213	[DEBUG]	Executed store
2023-10-13	12:20:45	213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859705','7276')
2023-10-13	12:20:45	213	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:45	213	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859705 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:45	213	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:45	213	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859705
2023-10-13	12:20:45	214	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:45	214	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:45	214	[DEBUG]	Use field value for field taille
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:45	214	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:45	214	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:45	214	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:45	214	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:45	214	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:45	214	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:45	214	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:45	214	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:45	214	[DEBUG]	Use field value for field published
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:45	214	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field override
2023-10-13	12:20:45	214	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:45	214	[DEBUG]	Use field value for field slug
2023-10-13	12:20:45	214	[DEBUG]	Process line 214
2023-10-13	12:20:45	214	[DEBUG]	Load a row
2023-10-13	12:20:45	214	[DEBUG]	Processing item: 1000000154030
2023-10-13	12:20:45	214	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:45	214	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:45	214	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8487_65'
2023-10-13	12:20:45	214	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:45	214	[DEBUG]	Processing product tax
2023-10-13	12:20:45	214	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:45	214	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:45	214	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:45	214	[DEBUG]	Query for Product
2023-10-13	12:20:45	214	[DEBUG]	Executed store
2023-10-13	12:20:45	214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859705','1000000154030','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:45	214	[DEBUG]	No parent found
2023-10-13	12:20:45	214	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859705 AND customfield_value = 'stockable'
2023-10-13	12:20:45	214	[DEBUG]	Check product language entry
2023-10-13	12:20:45	214	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859706
2023-10-13	12:20:45	214	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:45	214	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000154030' AND `virtuemart_product_id` != 1859706
2023-10-13	12:20:45	214	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:45	214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859706, '1000000154030')
2023-10-13	12:20:45	214	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:45	214	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'hiplok-cadena-z-lok-combos-a-code-jaune-unitaire' AND `virtuemart_product_id` != 1859706
2023-10-13	12:20:45	214	[DEBUG]	Query for ProductLang
2023-10-13	12:20:45	214	[DEBUG]	Executed store
2023-10-13	12:20:45	214	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='HIPLOK Cadena  Z LOK COMBOS à code / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='hiplok-cadena-z-lok-combos-a-code-jaune-unitaire' WHERE `virtuemart_product_id` = '1859706'
2023-10-13	12:20:45	214	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37255_cadenas_z_lok_combos.jpg
2023-10-13	12:20:45	214	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:45	214	[DEBUG]	Process image file
2023-10-13	12:20:45	214	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:45	214	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:45	214	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37255_cadenas_z_lok_combos.jpg
2023-10-13	12:20:45	214	[DEBUG]	Full name target: bcprisme/37255_cadenas_z_lok_combos.jpg
2023-10-13	12:20:46	214	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:46	214	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37255_cadenas_z_lok_combos.jpg'
2023-10-13	12:20:46	214	[DEBUG]	Query for Media
2023-10-13	12:20:46	214	[DEBUG]	Executed store
2023-10-13	12:20:46	214	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37255_cadenas_z_lok_combos.jpg',`file_url_thumb`='bcprisme/37255_cadenas_z_lok_combos.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908265'
2023-10-13	12:20:46	214	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:46	214	[DEBUG]	Executed store
2023-10-13	12:20:46	214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859706','908265','1')
2023-10-13	12:20:46	214	[DEBUG]	Store product image relation
2023-10-13	12:20:46	214	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:46	214	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859706 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:46	214	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:46	214	[DEBUG]	Executed store
2023-10-13	12:20:46	214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859706','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:46	214	[DEBUG]	Checking manufacturer
2023-10-13	12:20:46	214	[DEBUG]	Load a row
2023-10-13	12:20:46	214	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:46	214	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:46	214	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:46	214	[DEBUG]	Executed store
2023-10-13	12:20:46	214	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='175',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='175' WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:46	214	[DEBUG]	Manufacturer exists
2023-10-13	12:20:46	214	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 266
2023-10-13	12:20:46	214	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:46	214	[DEBUG]	Executed store
2023-10-13	12:20:46	214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859706','266')
2023-10-13	12:20:46	214	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:46	214	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:46	214	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859706 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:46	214	[DEBUG]	Store custom available field
2023-10-13	12:20:46	214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859706,3,'',1)
2023-10-13	12:20:46	214	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:46	214	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:46	214	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859706 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:46	214	[DEBUG]	Store custom available field
2023-10-13	12:20:46	214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859706,6,'Unitaire',3)
2023-10-13	12:20:46	214	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:46	214	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:46	214	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859705
2023-10-13	12:20:46	214	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:46	214	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859705\":[1859705,8,1,\"choisir la taille\"],\"1859706\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859705
2023-10-13	12:20:46	214	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:46	214	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859706
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:46	215	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field taille
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:46	215	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:46	215	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:46	215	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:46	215	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:46	215	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:46	215	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field published
2023-10-13	12:20:46	215	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:46	215	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field override
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:46	215	[DEBUG]	Use field value for field slug
2023-10-13	12:20:46	215	[DEBUG]	Process line 215
2023-10-13	12:20:46	215	[DEBUG]	Load a row
2023-10-13	12:20:46	215	[DEBUG]	Processing item: A_8487_175
2023-10-13	12:20:46	215	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:46	215	[DEBUG]	Processing product tax
2023-10-13	12:20:46	215	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:46	215	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:46	215	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:46	215	[DEBUG]	Query for Product
2023-10-13	12:20:46	215	[DEBUG]	Executed store
2023-10-13	12:20:46	215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8487_175','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:46	215	[DEBUG]	Check product language entry
2023-10-13	12:20:46	215	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859707
2023-10-13	12:20:46	215	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:46	215	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8487_175' AND `virtuemart_product_id` != 1859707
2023-10-13	12:20:46	215	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:46	215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859707, 'A_8487_175')
2023-10-13	12:20:46	215	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:46	215	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'hiplok-cadena-z-lok-combos-a-code-turquoise' AND `virtuemart_product_id` != 1859707
2023-10-13	12:20:46	215	[DEBUG]	Query for ProductLang
2023-10-13	12:20:46	215	[DEBUG]	Executed store
2023-10-13	12:20:46	215	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : b0001206 ZCOM1MULTI',`product_name`='HIPLOK Cadena  Z LOK COMBOS à code / Turquoise',`metadesc`='',`metakey`='',`customtitle`='',`slug`='hiplok-cadena-z-lok-combos-a-code-turquoise' WHERE `virtuemart_product_id` = '1859707'
2023-10-13	12:20:46	215	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37254_cadenas_z_lok_combos_à_code.jpg
2023-10-13	12:20:46	215	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:46	215	[DEBUG]	Process image file
2023-10-13	12:20:46	215	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:46	215	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:46	215	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37254_cadenas_z_lok_combos_à_code.jpg
2023-10-13	12:20:46	215	[DEBUG]	Full name target: bcprisme/37254_cadenas_z_lok_combos_à_code.jpg
2023-10-13	12:20:47	215	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:47	215	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37254_cadenas_z_lok_combos_à_code.jpg'
2023-10-13	12:20:47	215	[DEBUG]	Query for Media
2023-10-13	12:20:47	215	[DEBUG]	Executed store
2023-10-13	12:20:47	215	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37254_cadenas_z_lok_combos_à_code.jpg',`file_url_thumb`='bcprisme/37254_cadenas_z_lok_combos_à_code.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908267'
2023-10-13	12:20:47	215	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:47	215	[DEBUG]	Executed store
2023-10-13	12:20:47	215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859707','908267','1')
2023-10-13	12:20:47	215	[DEBUG]	Store product image relation
2023-10-13	12:20:47	215	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:47	215	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859707 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:47	215	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:47	215	[DEBUG]	Executed store
2023-10-13	12:20:47	215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859707','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:47	215	[DEBUG]	Checking manufacturer
2023-10-13	12:20:47	215	[DEBUG]	Load a row
2023-10-13	12:20:47	215	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:47	215	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:47	215	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:47	215	[DEBUG]	Executed store
2023-10-13	12:20:47	215	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='175',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='175' WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:47	215	[DEBUG]	Manufacturer exists
2023-10-13	12:20:47	215	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 266
2023-10-13	12:20:47	215	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:47	215	[DEBUG]	Executed store
2023-10-13	12:20:47	215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859707','266')
2023-10-13	12:20:47	215	[DEBUG]	Find the custom field ID
2023-10-13	12:20:47	215	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:47	215	[DEBUG]	No custom field ID found
2023-10-13	12:20:47	215	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:47	215	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:47	215	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859707 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:47	215	[DEBUG]	Store custom available field
2023-10-13	12:20:47	215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859707,3,'0',1)
2023-10-13	12:20:47	215	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:47	215	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:47	215	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859707 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:47	215	[DEBUG]	Store custom available field
2023-10-13	12:20:47	215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859707,6,'choisir la taille',3)
2023-10-13	12:20:47	215	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:47	215	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:47	215	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:47	215	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:47	215	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859707 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:47	215	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:47	215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859707,8,1)
2023-10-13	12:20:47	215	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:47	215	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859707\":[1859707,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859707
2023-10-13	12:20:47	215	[DEBUG]	Checking category
2023-10-13	12:20:47	215	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:47	215	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859707
2023-10-13	12:20:47	215	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:47	215	[DEBUG]	Executed store
2023-10-13	12:20:47	215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859707','7276')
2023-10-13	12:20:47	215	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:47	215	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859707 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:47	215	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:47	215	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859707
2023-10-13	12:20:47	216	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:47	216	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:47	216	[DEBUG]	Use field value for field taille
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:47	216	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:47	216	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:47	216	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:47	216	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:47	216	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:47	216	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:47	216	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:47	216	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:47	216	[DEBUG]	Use field value for field published
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:47	216	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field override
2023-10-13	12:20:47	216	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:47	216	[DEBUG]	Use field value for field slug
2023-10-13	12:20:47	216	[DEBUG]	Process line 216
2023-10-13	12:20:47	216	[DEBUG]	Load a row
2023-10-13	12:20:47	216	[DEBUG]	Processing item: 1000000154023
2023-10-13	12:20:47	216	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:47	216	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:47	216	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8487_175'
2023-10-13	12:20:47	216	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:47	216	[DEBUG]	Processing product tax
2023-10-13	12:20:47	216	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:47	216	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:47	216	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:47	216	[DEBUG]	Query for Product
2023-10-13	12:20:47	216	[DEBUG]	Executed store
2023-10-13	12:20:47	216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859707','1000000154023','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:47	216	[DEBUG]	No parent found
2023-10-13	12:20:47	216	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859707 AND customfield_value = 'stockable'
2023-10-13	12:20:47	216	[DEBUG]	Check product language entry
2023-10-13	12:20:47	216	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859708
2023-10-13	12:20:47	216	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:47	216	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000154023' AND `virtuemart_product_id` != 1859708
2023-10-13	12:20:47	216	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:47	216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859708, '1000000154023')
2023-10-13	12:20:47	216	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:47	216	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'hiplok-cadena-z-lok-combos-a-code-turquoise-unitaire' AND `virtuemart_product_id` != 1859708
2023-10-13	12:20:47	216	[DEBUG]	Query for ProductLang
2023-10-13	12:20:47	216	[DEBUG]	Executed store
2023-10-13	12:20:47	216	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='HIPLOK Cadena  Z LOK COMBOS à code / Turquoise (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='hiplok-cadena-z-lok-combos-a-code-turquoise-unitaire' WHERE `virtuemart_product_id` = '1859708'
2023-10-13	12:20:47	216	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37254_cadenas_z_lok_combos_à_code.jpg
2023-10-13	12:20:47	216	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:47	216	[DEBUG]	Process image file
2023-10-13	12:20:47	216	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:47	216	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:47	216	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37254_cadenas_z_lok_combos_à_code.jpg
2023-10-13	12:20:47	216	[DEBUG]	Full name target: bcprisme/37254_cadenas_z_lok_combos_à_code.jpg
2023-10-13	12:20:48	216	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:48	216	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37254_cadenas_z_lok_combos_à_code.jpg'
2023-10-13	12:20:48	216	[DEBUG]	Query for Media
2023-10-13	12:20:48	216	[DEBUG]	Executed store
2023-10-13	12:20:48	216	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37254_cadenas_z_lok_combos_à_code.jpg',`file_url_thumb`='bcprisme/37254_cadenas_z_lok_combos_à_code.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908267'
2023-10-13	12:20:48	216	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:48	216	[DEBUG]	Executed store
2023-10-13	12:20:48	216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859708','908267','1')
2023-10-13	12:20:48	216	[DEBUG]	Store product image relation
2023-10-13	12:20:48	216	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:48	216	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859708 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:48	216	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:48	216	[DEBUG]	Executed store
2023-10-13	12:20:48	216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859708','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:48	216	[DEBUG]	Checking manufacturer
2023-10-13	12:20:48	216	[DEBUG]	Load a row
2023-10-13	12:20:48	216	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:48	216	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:48	216	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:48	216	[DEBUG]	Executed store
2023-10-13	12:20:48	216	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='175',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='175' WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:48	216	[DEBUG]	Manufacturer exists
2023-10-13	12:20:48	216	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 266
2023-10-13	12:20:48	216	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:48	216	[DEBUG]	Executed store
2023-10-13	12:20:48	216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859708','266')
2023-10-13	12:20:48	216	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:48	216	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:48	216	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859708 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:48	216	[DEBUG]	Store custom available field
2023-10-13	12:20:48	216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859708,3,'',1)
2023-10-13	12:20:48	216	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:48	216	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:48	216	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859708 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:48	216	[DEBUG]	Store custom available field
2023-10-13	12:20:48	216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859708,6,'Unitaire',3)
2023-10-13	12:20:48	216	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:48	216	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:48	216	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859707
2023-10-13	12:20:48	216	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:48	216	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859707\":[1859707,8,1,\"choisir la taille\"],\"1859708\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859707
2023-10-13	12:20:48	216	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:48	216	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859708
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:48	217	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field taille
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:48	217	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:48	217	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:48	217	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:48	217	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:48	217	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:48	217	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field published
2023-10-13	12:20:48	217	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:48	217	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field override
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:48	217	[DEBUG]	Use field value for field slug
2023-10-13	12:20:48	217	[DEBUG]	Process line 217
2023-10-13	12:20:48	217	[DEBUG]	Load a row
2023-10-13	12:20:48	217	[DEBUG]	Processing item: A_8488_1
2023-10-13	12:20:48	217	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:48	217	[DEBUG]	Processing product tax
2023-10-13	12:20:48	217	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:48	217	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:48	217	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:48	217	[DEBUG]	Query for Product
2023-10-13	12:20:48	217	[DEBUG]	Executed store
2023-10-13	12:20:48	217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8488_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:48	217	[DEBUG]	Check product language entry
2023-10-13	12:20:48	217	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859709
2023-10-13	12:20:48	217	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:48	217	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8488_1' AND `virtuemart_product_id` != 1859709
2023-10-13	12:20:48	217	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:48	217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859709, 'A_8488_1')
2023-10-13	12:20:48	217	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:48	217	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'hiplok-cadena-z-lok-single-a-clefs-noir' AND `virtuemart_product_id` != 1859709
2023-10-13	12:20:48	217	[DEBUG]	Query for ProductLang
2023-10-13	12:20:48	217	[DEBUG]	Executed store
2023-10-13	12:20:48	217	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : b0001109 ZLK1MULTI2',`product_name`='HIPLOK Cadena Z LOK SINGLE à clefs / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='hiplok-cadena-z-lok-single-a-clefs-noir' WHERE `virtuemart_product_id` = '1859709'
2023-10-13	12:20:48	217	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37256_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:48	217	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:48	217	[DEBUG]	Process image file
2023-10-13	12:20:48	217	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:48	217	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:48	217	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37256_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:48	217	[DEBUG]	Full name target: bcprisme/37256_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:49	217	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:49	217	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37256_cadenas_z_lok_single_à_clefs.jpg'
2023-10-13	12:20:49	217	[DEBUG]	Query for Media
2023-10-13	12:20:49	217	[DEBUG]	Executed store
2023-10-13	12:20:49	217	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37256_cadenas_z_lok_single_à_clefs.jpg',`file_url_thumb`='bcprisme/37256_cadenas_z_lok_single_à_clefs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908269'
2023-10-13	12:20:49	217	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:49	217	[DEBUG]	Executed store
2023-10-13	12:20:49	217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859709','908269','1')
2023-10-13	12:20:49	217	[DEBUG]	Store product image relation
2023-10-13	12:20:49	217	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:49	217	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859709 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:49	217	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:49	217	[DEBUG]	Executed store
2023-10-13	12:20:49	217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859709','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:49	217	[DEBUG]	Checking manufacturer
2023-10-13	12:20:49	217	[DEBUG]	Load a row
2023-10-13	12:20:49	217	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:49	217	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:49	217	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:49	217	[DEBUG]	Executed store
2023-10-13	12:20:49	217	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='175',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='175' WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:49	217	[DEBUG]	Manufacturer exists
2023-10-13	12:20:49	217	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 266
2023-10-13	12:20:49	217	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:49	217	[DEBUG]	Executed store
2023-10-13	12:20:49	217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859709','266')
2023-10-13	12:20:49	217	[DEBUG]	Find the custom field ID
2023-10-13	12:20:49	217	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:49	217	[DEBUG]	No custom field ID found
2023-10-13	12:20:49	217	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:49	217	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:49	217	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859709 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:49	217	[DEBUG]	Store custom available field
2023-10-13	12:20:49	217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859709,3,'0',1)
2023-10-13	12:20:49	217	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:49	217	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:49	217	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859709 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:49	217	[DEBUG]	Store custom available field
2023-10-13	12:20:49	217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859709,6,'choisir la taille',3)
2023-10-13	12:20:49	217	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:49	217	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:49	217	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:49	217	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:49	217	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859709 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:49	217	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:49	217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859709,8,1)
2023-10-13	12:20:49	217	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:49	217	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859709\":[1859709,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859709
2023-10-13	12:20:49	217	[DEBUG]	Checking category
2023-10-13	12:20:49	217	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:49	217	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859709
2023-10-13	12:20:49	217	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:49	217	[DEBUG]	Executed store
2023-10-13	12:20:49	217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859709','7276')
2023-10-13	12:20:49	217	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:49	217	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859709 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:49	217	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:49	217	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859709
2023-10-13	12:20:49	218	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:49	218	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:49	218	[DEBUG]	Use field value for field taille
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:49	218	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:49	218	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:49	218	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:49	218	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:49	218	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:49	218	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:49	218	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:49	218	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:49	218	[DEBUG]	Use field value for field published
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:49	218	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field override
2023-10-13	12:20:49	218	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:49	218	[DEBUG]	Use field value for field slug
2023-10-13	12:20:49	218	[DEBUG]	Process line 218
2023-10-13	12:20:49	218	[DEBUG]	Load a row
2023-10-13	12:20:49	218	[DEBUG]	Processing item: 1000000154047
2023-10-13	12:20:49	218	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:49	218	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:49	218	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8488_1'
2023-10-13	12:20:49	218	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:49	218	[DEBUG]	Processing product tax
2023-10-13	12:20:49	218	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:49	218	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:49	218	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:49	218	[DEBUG]	Query for Product
2023-10-13	12:20:49	218	[DEBUG]	Executed store
2023-10-13	12:20:49	218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859709','1000000154047','0','KG','M','','10','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:49	218	[DEBUG]	No parent found
2023-10-13	12:20:49	218	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859709 AND customfield_value = 'stockable'
2023-10-13	12:20:49	218	[DEBUG]	Check product language entry
2023-10-13	12:20:49	218	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859710
2023-10-13	12:20:49	218	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:49	218	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000154047' AND `virtuemart_product_id` != 1859710
2023-10-13	12:20:49	218	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:49	218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859710, '1000000154047')
2023-10-13	12:20:49	218	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:49	218	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'hiplok-cadena-z-lok-single-a-clefs-noir-unitaire' AND `virtuemart_product_id` != 1859710
2023-10-13	12:20:49	218	[DEBUG]	Query for ProductLang
2023-10-13	12:20:49	218	[DEBUG]	Executed store
2023-10-13	12:20:49	218	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='HIPLOK Cadena Z LOK SINGLE à clefs / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='hiplok-cadena-z-lok-single-a-clefs-noir-unitaire' WHERE `virtuemart_product_id` = '1859710'
2023-10-13	12:20:49	218	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37256_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:49	218	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:49	218	[DEBUG]	Process image file
2023-10-13	12:20:49	218	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:49	218	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:49	218	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37256_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:49	218	[DEBUG]	Full name target: bcprisme/37256_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:50	218	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:50	218	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37256_cadenas_z_lok_single_à_clefs.jpg'
2023-10-13	12:20:50	218	[DEBUG]	Query for Media
2023-10-13	12:20:50	218	[DEBUG]	Executed store
2023-10-13	12:20:50	218	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37256_cadenas_z_lok_single_à_clefs.jpg',`file_url_thumb`='bcprisme/37256_cadenas_z_lok_single_à_clefs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908269'
2023-10-13	12:20:50	218	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:50	218	[DEBUG]	Executed store
2023-10-13	12:20:50	218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859710','908269','1')
2023-10-13	12:20:50	218	[DEBUG]	Store product image relation
2023-10-13	12:20:50	218	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:50	218	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859710 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:50	218	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:50	218	[DEBUG]	Executed store
2023-10-13	12:20:50	218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859710','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:50	218	[DEBUG]	Checking manufacturer
2023-10-13	12:20:50	218	[DEBUG]	Load a row
2023-10-13	12:20:50	218	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:50	218	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:50	218	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:50	218	[DEBUG]	Executed store
2023-10-13	12:20:50	218	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='175',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='175' WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:50	218	[DEBUG]	Manufacturer exists
2023-10-13	12:20:50	218	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 266
2023-10-13	12:20:50	218	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:50	218	[DEBUG]	Executed store
2023-10-13	12:20:50	218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859710','266')
2023-10-13	12:20:50	218	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:50	218	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:50	218	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859710 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:50	218	[DEBUG]	Store custom available field
2023-10-13	12:20:50	218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859710,3,'',1)
2023-10-13	12:20:50	218	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:50	218	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:50	218	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859710 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:50	218	[DEBUG]	Store custom available field
2023-10-13	12:20:50	218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859710,6,'Unitaire',3)
2023-10-13	12:20:50	218	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:50	218	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:50	218	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859709
2023-10-13	12:20:50	218	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:50	218	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859709\":[1859709,8,1,\"choisir la taille\"],\"1859710\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859709
2023-10-13	12:20:50	218	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:50	218	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859710
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:50	219	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field taille
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:50	219	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:50	219	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:50	219	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:50	219	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:50	219	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:50	219	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field published
2023-10-13	12:20:50	219	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:50	219	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field override
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:50	219	[DEBUG]	Use field value for field slug
2023-10-13	12:20:50	219	[DEBUG]	Process line 219
2023-10-13	12:20:50	219	[DEBUG]	Load a row
2023-10-13	12:20:50	219	[DEBUG]	Processing item: A_8488_22
2023-10-13	12:20:50	219	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:50	219	[DEBUG]	Processing product tax
2023-10-13	12:20:50	219	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:50	219	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:50	219	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:50	219	[DEBUG]	Query for Product
2023-10-13	12:20:50	219	[DEBUG]	Executed store
2023-10-13	12:20:50	219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8488_22','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:50	219	[DEBUG]	Check product language entry
2023-10-13	12:20:50	219	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859711
2023-10-13	12:20:50	219	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:50	219	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8488_22' AND `virtuemart_product_id` != 1859711
2023-10-13	12:20:50	219	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:50	219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859711, 'A_8488_22')
2023-10-13	12:20:50	219	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:50	219	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'hiplok-cadena-z-lok-single-a-clefs-bleu' AND `virtuemart_product_id` != 1859711
2023-10-13	12:20:50	219	[DEBUG]	Query for ProductLang
2023-10-13	12:20:50	219	[DEBUG]	Executed store
2023-10-13	12:20:50	219	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : b0001109 ZLK1MULTI2',`product_name`='HIPLOK Cadena Z LOK SINGLE à clefs / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='hiplok-cadena-z-lok-single-a-clefs-bleu' WHERE `virtuemart_product_id` = '1859711'
2023-10-13	12:20:50	219	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37258_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:50	219	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:50	219	[DEBUG]	Process image file
2023-10-13	12:20:50	219	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:50	219	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:50	219	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37258_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:50	219	[DEBUG]	Full name target: bcprisme/37258_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:51	219	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:51	219	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37258_cadenas_z_lok_single_à_clefs.jpg'
2023-10-13	12:20:51	219	[DEBUG]	Query for Media
2023-10-13	12:20:51	219	[DEBUG]	Executed store
2023-10-13	12:20:51	219	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37258_cadenas_z_lok_single_à_clefs.jpg',`file_url_thumb`='bcprisme/37258_cadenas_z_lok_single_à_clefs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908271'
2023-10-13	12:20:51	219	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:51	219	[DEBUG]	Executed store
2023-10-13	12:20:51	219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859711','908271','1')
2023-10-13	12:20:51	219	[DEBUG]	Store product image relation
2023-10-13	12:20:51	219	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:51	219	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859711 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:51	219	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:51	219	[DEBUG]	Executed store
2023-10-13	12:20:51	219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859711','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:51	219	[DEBUG]	Checking manufacturer
2023-10-13	12:20:51	219	[DEBUG]	Load a row
2023-10-13	12:20:51	219	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:51	219	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:51	219	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:51	219	[DEBUG]	Executed store
2023-10-13	12:20:51	219	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='175',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='175' WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:51	219	[DEBUG]	Manufacturer exists
2023-10-13	12:20:51	219	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 266
2023-10-13	12:20:51	219	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:51	219	[DEBUG]	Executed store
2023-10-13	12:20:51	219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859711','266')
2023-10-13	12:20:51	219	[DEBUG]	Find the custom field ID
2023-10-13	12:20:51	219	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:51	219	[DEBUG]	No custom field ID found
2023-10-13	12:20:51	219	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:51	219	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:51	219	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859711 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:51	219	[DEBUG]	Store custom available field
2023-10-13	12:20:51	219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859711,3,'0',1)
2023-10-13	12:20:51	219	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:51	219	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:51	219	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859711 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:51	219	[DEBUG]	Store custom available field
2023-10-13	12:20:51	219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859711,6,'choisir la taille',3)
2023-10-13	12:20:51	219	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:51	219	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:51	219	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:51	219	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:51	219	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859711 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:51	219	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:51	219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859711,8,1)
2023-10-13	12:20:51	219	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:51	219	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859711\":[1859711,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859711
2023-10-13	12:20:51	219	[DEBUG]	Checking category
2023-10-13	12:20:51	219	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:51	219	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859711
2023-10-13	12:20:51	219	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:51	219	[DEBUG]	Executed store
2023-10-13	12:20:51	219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859711','7276')
2023-10-13	12:20:51	219	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:51	219	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859711 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:51	219	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:51	219	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859711
2023-10-13	12:20:51	220	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:51	220	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:51	220	[DEBUG]	Use field value for field taille
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:51	220	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:51	220	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:51	220	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:51	220	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:51	220	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:51	220	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:51	220	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:51	220	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:51	220	[DEBUG]	Use field value for field published
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:51	220	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field override
2023-10-13	12:20:51	220	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:51	220	[DEBUG]	Use field value for field slug
2023-10-13	12:20:51	220	[DEBUG]	Process line 220
2023-10-13	12:20:51	220	[DEBUG]	Load a row
2023-10-13	12:20:51	220	[DEBUG]	Processing item: 5060277661057
2023-10-13	12:20:51	220	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:51	220	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:51	220	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8488_22'
2023-10-13	12:20:51	220	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:51	220	[DEBUG]	Processing product tax
2023-10-13	12:20:51	220	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:51	220	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:51	220	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:51	220	[DEBUG]	Query for Product
2023-10-13	12:20:51	220	[DEBUG]	Executed store
2023-10-13	12:20:51	220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859711','5060277661057','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:51	220	[DEBUG]	No parent found
2023-10-13	12:20:51	220	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859711 AND customfield_value = 'stockable'
2023-10-13	12:20:51	220	[DEBUG]	Check product language entry
2023-10-13	12:20:51	220	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859712
2023-10-13	12:20:51	220	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:51	220	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '5060277661057' AND `virtuemart_product_id` != 1859712
2023-10-13	12:20:51	220	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:51	220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859712, '5060277661057')
2023-10-13	12:20:51	220	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:51	220	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'hiplok-cadena-z-lok-single-a-clefs-bleu-unitaire' AND `virtuemart_product_id` != 1859712
2023-10-13	12:20:51	220	[DEBUG]	Query for ProductLang
2023-10-13	12:20:51	220	[DEBUG]	Executed store
2023-10-13	12:20:51	220	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='HIPLOK Cadena Z LOK SINGLE à clefs / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='hiplok-cadena-z-lok-single-a-clefs-bleu-unitaire' WHERE `virtuemart_product_id` = '1859712'
2023-10-13	12:20:51	220	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37258_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:51	220	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:51	220	[DEBUG]	Process image file
2023-10-13	12:20:51	220	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:51	220	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:51	220	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37258_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:51	220	[DEBUG]	Full name target: bcprisme/37258_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:52	220	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:52	220	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37258_cadenas_z_lok_single_à_clefs.jpg'
2023-10-13	12:20:52	220	[DEBUG]	Query for Media
2023-10-13	12:20:52	220	[DEBUG]	Executed store
2023-10-13	12:20:52	220	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37258_cadenas_z_lok_single_à_clefs.jpg',`file_url_thumb`='bcprisme/37258_cadenas_z_lok_single_à_clefs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908271'
2023-10-13	12:20:52	220	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:52	220	[DEBUG]	Executed store
2023-10-13	12:20:52	220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859712','908271','1')
2023-10-13	12:20:52	220	[DEBUG]	Store product image relation
2023-10-13	12:20:52	220	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:52	220	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859712 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:52	220	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:52	220	[DEBUG]	Executed store
2023-10-13	12:20:52	220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859712','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:52	220	[DEBUG]	Checking manufacturer
2023-10-13	12:20:52	220	[DEBUG]	Load a row
2023-10-13	12:20:52	220	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:52	220	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:52	220	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:52	220	[DEBUG]	Executed store
2023-10-13	12:20:52	220	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='175',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='175' WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:52	220	[DEBUG]	Manufacturer exists
2023-10-13	12:20:52	220	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 266
2023-10-13	12:20:52	220	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:52	220	[DEBUG]	Executed store
2023-10-13	12:20:52	220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859712','266')
2023-10-13	12:20:52	220	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:52	220	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:52	220	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859712 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:52	220	[DEBUG]	Store custom available field
2023-10-13	12:20:52	220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859712,3,'',1)
2023-10-13	12:20:52	220	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:52	220	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:52	220	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859712 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:52	220	[DEBUG]	Store custom available field
2023-10-13	12:20:52	220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859712,6,'Unitaire',3)
2023-10-13	12:20:52	220	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:52	220	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:52	220	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859711
2023-10-13	12:20:52	220	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:52	220	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859711\":[1859711,8,1,\"choisir la taille\"],\"1859712\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859711
2023-10-13	12:20:52	220	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:52	220	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859712
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:52	221	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field taille
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:52	221	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:52	221	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:52	221	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:52	221	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:52	221	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:52	221	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field published
2023-10-13	12:20:52	221	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:52	221	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field override
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:52	221	[DEBUG]	Use field value for field slug
2023-10-13	12:20:52	221	[DEBUG]	Process line 221
2023-10-13	12:20:52	221	[DEBUG]	Load a row
2023-10-13	12:20:52	221	[DEBUG]	Processing item: A_8488_27
2023-10-13	12:20:52	221	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:52	221	[DEBUG]	Processing product tax
2023-10-13	12:20:52	221	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:52	221	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:52	221	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:52	221	[DEBUG]	Query for Product
2023-10-13	12:20:52	221	[DEBUG]	Executed store
2023-10-13	12:20:52	221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8488_27','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:52	221	[DEBUG]	Check product language entry
2023-10-13	12:20:52	221	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859713
2023-10-13	12:20:52	221	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:52	221	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8488_27' AND `virtuemart_product_id` != 1859713
2023-10-13	12:20:52	221	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:52	221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859713, 'A_8488_27')
2023-10-13	12:20:52	221	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:52	221	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'hiplok-cadena-z-lok-single-a-clefs-orange' AND `virtuemart_product_id` != 1859713
2023-10-13	12:20:52	221	[DEBUG]	Query for ProductLang
2023-10-13	12:20:52	221	[DEBUG]	Executed store
2023-10-13	12:20:52	221	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : b0001109 ZLK1MULTI2',`product_name`='HIPLOK Cadena Z LOK SINGLE à clefs / Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='hiplok-cadena-z-lok-single-a-clefs-orange' WHERE `virtuemart_product_id` = '1859713'
2023-10-13	12:20:52	221	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37257_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:52	221	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:52	221	[DEBUG]	Process image file
2023-10-13	12:20:52	221	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:52	221	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:52	221	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37257_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:52	221	[DEBUG]	Full name target: bcprisme/37257_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:53	221	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:53	221	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37257_cadenas_z_lok_single_à_clefs.jpg'
2023-10-13	12:20:53	221	[DEBUG]	Query for Media
2023-10-13	12:20:53	221	[DEBUG]	Executed store
2023-10-13	12:20:53	221	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37257_cadenas_z_lok_single_à_clefs.jpg',`file_url_thumb`='bcprisme/37257_cadenas_z_lok_single_à_clefs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908273'
2023-10-13	12:20:53	221	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:53	221	[DEBUG]	Executed store
2023-10-13	12:20:53	221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859713','908273','1')
2023-10-13	12:20:53	221	[DEBUG]	Store product image relation
2023-10-13	12:20:53	221	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:53	221	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859713 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:53	221	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:53	221	[DEBUG]	Executed store
2023-10-13	12:20:53	221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859713','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:53	221	[DEBUG]	Checking manufacturer
2023-10-13	12:20:53	221	[DEBUG]	Load a row
2023-10-13	12:20:53	221	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:53	221	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:53	221	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:53	221	[DEBUG]	Executed store
2023-10-13	12:20:53	221	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='175',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='175' WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:53	221	[DEBUG]	Manufacturer exists
2023-10-13	12:20:53	221	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 266
2023-10-13	12:20:53	221	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:53	221	[DEBUG]	Executed store
2023-10-13	12:20:53	221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859713','266')
2023-10-13	12:20:53	221	[DEBUG]	Find the custom field ID
2023-10-13	12:20:53	221	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:53	221	[DEBUG]	No custom field ID found
2023-10-13	12:20:53	221	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:53	221	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:20:53	221	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859713 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:53	221	[DEBUG]	Store custom available field
2023-10-13	12:20:53	221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859713,3,'0',1)
2023-10-13	12:20:53	221	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:53	221	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:53	221	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859713 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:53	221	[DEBUG]	Store custom available field
2023-10-13	12:20:53	221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859713,6,'choisir la taille',3)
2023-10-13	12:20:53	221	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:53	221	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:53	221	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:53	221	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:53	221	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859713 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:53	221	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:53	221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859713,8,1)
2023-10-13	12:20:53	221	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:53	221	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859713\":[1859713,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859713
2023-10-13	12:20:53	221	[DEBUG]	Checking category
2023-10-13	12:20:53	221	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:53	221	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859713
2023-10-13	12:20:53	221	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:53	221	[DEBUG]	Executed store
2023-10-13	12:20:53	221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859713','7276')
2023-10-13	12:20:53	221	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:53	221	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859713 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:53	221	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:53	221	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859713
2023-10-13	12:20:53	222	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:53	222	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:53	222	[DEBUG]	Use field value for field taille
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:53	222	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:53	222	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:53	222	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:53	222	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:53	222	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:53	222	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:53	222	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:53	222	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:53	222	[DEBUG]	Use field value for field published
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:53	222	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field override
2023-10-13	12:20:53	222	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:53	222	[DEBUG]	Use field value for field slug
2023-10-13	12:20:53	222	[DEBUG]	Process line 222
2023-10-13	12:20:53	222	[DEBUG]	Load a row
2023-10-13	12:20:53	222	[DEBUG]	Processing item: 1000000154054
2023-10-13	12:20:53	222	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:53	222	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:53	222	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8488_27'
2023-10-13	12:20:53	222	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:53	222	[DEBUG]	Processing product tax
2023-10-13	12:20:53	222	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:53	222	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:53	222	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:53	222	[DEBUG]	Query for Product
2023-10-13	12:20:53	222	[DEBUG]	Executed store
2023-10-13	12:20:53	222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859713','1000000154054','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:53	222	[DEBUG]	No parent found
2023-10-13	12:20:53	222	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859713 AND customfield_value = 'stockable'
2023-10-13	12:20:53	222	[DEBUG]	Check product language entry
2023-10-13	12:20:53	222	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859714
2023-10-13	12:20:53	222	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:53	222	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000154054' AND `virtuemart_product_id` != 1859714
2023-10-13	12:20:53	222	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:53	222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859714, '1000000154054')
2023-10-13	12:20:53	222	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:53	222	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'hiplok-cadena-z-lok-single-a-clefs-orange-unitaire' AND `virtuemart_product_id` != 1859714
2023-10-13	12:20:53	222	[DEBUG]	Query for ProductLang
2023-10-13	12:20:53	222	[DEBUG]	Executed store
2023-10-13	12:20:53	222	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='HIPLOK Cadena Z LOK SINGLE à clefs / Orange (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='hiplok-cadena-z-lok-single-a-clefs-orange-unitaire' WHERE `virtuemart_product_id` = '1859714'
2023-10-13	12:20:53	222	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37257_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:53	222	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:53	222	[DEBUG]	Process image file
2023-10-13	12:20:53	222	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:53	222	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:53	222	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37257_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:53	222	[DEBUG]	Full name target: bcprisme/37257_cadenas_z_lok_single_à_clefs.jpg
2023-10-13	12:20:54	222	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:54	222	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37257_cadenas_z_lok_single_à_clefs.jpg'
2023-10-13	12:20:54	222	[DEBUG]	Query for Media
2023-10-13	12:20:54	222	[DEBUG]	Executed store
2023-10-13	12:20:54	222	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37257_cadenas_z_lok_single_à_clefs.jpg',`file_url_thumb`='bcprisme/37257_cadenas_z_lok_single_à_clefs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908273'
2023-10-13	12:20:54	222	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:54	222	[DEBUG]	Executed store
2023-10-13	12:20:54	222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859714','908273','1')
2023-10-13	12:20:54	222	[DEBUG]	Store product image relation
2023-10-13	12:20:54	222	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:54	222	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859714 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:54	222	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:54	222	[DEBUG]	Executed store
2023-10-13	12:20:54	222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859714','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:54	222	[DEBUG]	Checking manufacturer
2023-10-13	12:20:54	222	[DEBUG]	Load a row
2023-10-13	12:20:54	222	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:54	222	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:54	222	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:54	222	[DEBUG]	Executed store
2023-10-13	12:20:54	222	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='175',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='175' WHERE `virtuemart_manufacturer_id` = '266'
2023-10-13	12:20:54	222	[DEBUG]	Manufacturer exists
2023-10-13	12:20:54	222	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 266
2023-10-13	12:20:54	222	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:54	222	[DEBUG]	Executed store
2023-10-13	12:20:54	222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859714','266')
2023-10-13	12:20:54	222	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:54	222	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:54	222	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859714 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:54	222	[DEBUG]	Store custom available field
2023-10-13	12:20:54	222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859714,3,'',1)
2023-10-13	12:20:54	222	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:54	222	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:54	222	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859714 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:54	222	[DEBUG]	Store custom available field
2023-10-13	12:20:54	222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859714,6,'Unitaire',3)
2023-10-13	12:20:54	222	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:54	222	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:54	222	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859713
2023-10-13	12:20:54	222	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:54	222	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859713\":[1859713,8,1,\"choisir la taille\"],\"1859714\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859713
2023-10-13	12:20:54	222	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:54	222	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859714
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:54	223	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field taille
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:54	223	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:54	223	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:54	223	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:54	223	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:54	223	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:54	223	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field published
2023-10-13	12:20:54	223	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:54	223	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field override
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:54	223	[DEBUG]	Use field value for field slug
2023-10-13	12:20:54	223	[DEBUG]	Process line 223
2023-10-13	12:20:54	223	[DEBUG]	Load a row
2023-10-13	12:20:54	223	[DEBUG]	Processing item: A_8566_1
2023-10-13	12:20:54	223	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:54	223	[DEBUG]	Processing product tax
2023-10-13	12:20:54	223	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:54	223	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:54	223	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:54	223	[DEBUG]	Query for Product
2023-10-13	12:20:54	223	[DEBUG]	Executed store
2023-10-13	12:20:54	223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8566_1','0.088','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:54	223	[DEBUG]	Check product language entry
2023-10-13	12:20:54	223	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859715
2023-10-13	12:20:54	223	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:54	223	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8566_1' AND `virtuemart_product_id` != 1859715
2023-10-13	12:20:54	223	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:54	223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859715, 'A_8566_1')
2023-10-13	12:20:54	223	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:54	223	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-serrure-pour-batterie-de-cadre-giant-downtube-des-my19-noir' AND `virtuemart_product_id` != 1859715
2023-10-13	12:20:54	223	[DEBUG]	Query for ProductLang
2023-10-13	12:20:54	223	[DEBUG]	Executed store
2023-10-13	12:20:54	223	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Modelljahr 2019<br><br>Giant Trance E+ Pro<br>Giant Stance E+ Pro<br>Giant Fathom E+ Pro<br>Liv Intrigue E+ Pro<br>Liv Embolden E+ Pro<br>Liv Vall-E+ 1 Pro<br>Modelljahr 2020<br><br>Giant Trance E+ Pro<br>Giant Stance E+ Pro<br>Giant Explore E+ 0 Pro, 1 Pro<br>Liv Intrigue E+ Pro<br>Liv Embolden E+ Pro<br>Modelljahr 2021<br><br>Giant Explore E+ 0 Pro, 1 Pro, 2 Pro, 1 625<br>Liv Embolden E+ 1, 2<br>Liv Amiti E+  1, 2,  1 625<br>N° art fourn : 400.005.061',`product_name`='GIANT Serrure pour batterie de cadre Giant Downtube dès MY19 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-serrure-pour-batterie-de-cadre-giant-downtube-des-my19-noir' WHERE `virtuemart_product_id` = '1859715'
2023-10-13	12:20:54	223	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37382_serrure_pour_batterie_de_cadre_giant_downtube.jpg
2023-10-13	12:20:54	223	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:54	223	[DEBUG]	Process image file
2023-10-13	12:20:54	223	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:54	223	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:54	223	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37382_serrure_pour_batterie_de_cadre_giant_downtube.jpg
2023-10-13	12:20:54	223	[DEBUG]	Full name target: bcprisme/37382_serrure_pour_batterie_de_cadre_giant_downtube.jpg
2023-10-13	12:20:55	223	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:55	223	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37382_serrure_pour_batterie_de_cadre_giant_downtube.jpg'
2023-10-13	12:20:55	223	[DEBUG]	Query for Media
2023-10-13	12:20:55	223	[DEBUG]	Executed store
2023-10-13	12:20:55	223	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37382_serrure_pour_batterie_de_cadre_giant_downtube.jpg',`file_url_thumb`='bcprisme/37382_serrure_pour_batterie_de_cadre_giant_downtube.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '989063'
2023-10-13	12:20:55	223	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:55	223	[DEBUG]	Executed store
2023-10-13	12:20:55	223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859715','989063','1')
2023-10-13	12:20:55	223	[DEBUG]	Store product image relation
2023-10-13	12:20:55	223	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:55	223	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859715 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:55	223	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:55	223	[DEBUG]	Executed store
2023-10-13	12:20:55	223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859715','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:55	223	[DEBUG]	Checking manufacturer
2023-10-13	12:20:55	223	[DEBUG]	Load a row
2023-10-13	12:20:55	223	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:55	223	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:20:55	223	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:55	223	[DEBUG]	Executed store
2023-10-13	12:20:55	223	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:20:55	223	[DEBUG]	Manufacturer exists
2023-10-13	12:20:55	223	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:20:55	223	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:55	223	[DEBUG]	Executed store
2023-10-13	12:20:55	223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859715','29')
2023-10-13	12:20:55	223	[DEBUG]	Find the custom field ID
2023-10-13	12:20:55	223	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:55	223	[DEBUG]	No custom field ID found
2023-10-13	12:20:55	223	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:55	223	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:20:55	223	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859715 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:55	223	[DEBUG]	Store custom available field
2023-10-13	12:20:55	223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859715,3,'12.8641666666667',1)
2023-10-13	12:20:55	223	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:55	223	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:55	223	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859715 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:55	223	[DEBUG]	Store custom available field
2023-10-13	12:20:55	223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859715,6,'choisir la taille',3)
2023-10-13	12:20:55	223	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:55	223	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:55	223	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:55	223	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:55	223	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859715 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:55	223	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:55	223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859715,8,1)
2023-10-13	12:20:55	223	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:55	223	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859715\":[1859715,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859715
2023-10-13	12:20:55	223	[DEBUG]	Checking category
2023-10-13	12:20:55	223	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:55	223	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859715
2023-10-13	12:20:55	223	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:55	223	[DEBUG]	Executed store
2023-10-13	12:20:55	223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859715','7276')
2023-10-13	12:20:55	223	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:55	223	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859715 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:55	223	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:55	223	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859715
2023-10-13	12:20:55	224	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:55	224	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:55	224	[DEBUG]	Use field value for field taille
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:55	224	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:55	224	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:55	224	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:55	224	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:55	224	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:55	224	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:55	224	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:55	224	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:55	224	[DEBUG]	Use field value for field published
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:55	224	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field override
2023-10-13	12:20:55	224	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:55	224	[DEBUG]	Use field value for field slug
2023-10-13	12:20:55	224	[DEBUG]	Process line 224
2023-10-13	12:20:55	224	[DEBUG]	Load a row
2023-10-13	12:20:55	224	[DEBUG]	Processing item: 1000000156386
2023-10-13	12:20:55	224	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:55	224	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:55	224	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8566_1'
2023-10-13	12:20:55	224	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:55	224	[DEBUG]	Processing product tax
2023-10-13	12:20:55	224	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:55	224	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:55	224	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:55	224	[DEBUG]	Query for Product
2023-10-13	12:20:55	224	[DEBUG]	Executed store
2023-10-13	12:20:55	224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859715','1000000156386','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:55	224	[DEBUG]	No parent found
2023-10-13	12:20:55	224	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859715 AND customfield_value = 'stockable'
2023-10-13	12:20:55	224	[DEBUG]	Check product language entry
2023-10-13	12:20:55	224	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859716
2023-10-13	12:20:55	224	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:55	224	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000156386' AND `virtuemart_product_id` != 1859716
2023-10-13	12:20:55	224	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:55	224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859716, '1000000156386')
2023-10-13	12:20:55	224	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:55	224	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-serrure-pour-batterie-de-cadre-giant-downtube-des-my19-noir-unitaire' AND `virtuemart_product_id` != 1859716
2023-10-13	12:20:55	224	[DEBUG]	Query for ProductLang
2023-10-13	12:20:55	224	[DEBUG]	Executed store
2023-10-13	12:20:55	224	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Serrure pour batterie de cadre Giant Downtube dès MY19 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-serrure-pour-batterie-de-cadre-giant-downtube-des-my19-noir-unitaire' WHERE `virtuemart_product_id` = '1859716'
2023-10-13	12:20:55	224	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37382_serrure_pour_batterie_de_cadre_giant_downtube.jpg
2023-10-13	12:20:55	224	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:55	224	[DEBUG]	Process image file
2023-10-13	12:20:55	224	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:55	224	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:55	224	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37382_serrure_pour_batterie_de_cadre_giant_downtube.jpg
2023-10-13	12:20:55	224	[DEBUG]	Full name target: bcprisme/37382_serrure_pour_batterie_de_cadre_giant_downtube.jpg
2023-10-13	12:20:56	224	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:56	224	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37382_serrure_pour_batterie_de_cadre_giant_downtube.jpg'
2023-10-13	12:20:56	224	[DEBUG]	Query for Media
2023-10-13	12:20:56	224	[DEBUG]	Executed store
2023-10-13	12:20:56	224	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37382_serrure_pour_batterie_de_cadre_giant_downtube.jpg',`file_url_thumb`='bcprisme/37382_serrure_pour_batterie_de_cadre_giant_downtube.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '989063'
2023-10-13	12:20:56	224	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:56	224	[DEBUG]	Executed store
2023-10-13	12:20:56	224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859716','989063','1')
2023-10-13	12:20:56	224	[DEBUG]	Store product image relation
2023-10-13	12:20:56	224	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:56	224	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859716 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:56	224	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:56	224	[DEBUG]	Executed store
2023-10-13	12:20:56	224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859716','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:56	224	[DEBUG]	Checking manufacturer
2023-10-13	12:20:56	224	[DEBUG]	Load a row
2023-10-13	12:20:56	224	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:56	224	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:20:56	224	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:56	224	[DEBUG]	Executed store
2023-10-13	12:20:56	224	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:20:56	224	[DEBUG]	Manufacturer exists
2023-10-13	12:20:56	224	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:20:56	224	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:56	224	[DEBUG]	Executed store
2023-10-13	12:20:56	224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859716','29')
2023-10-13	12:20:56	224	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:56	224	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:56	224	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859716 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:56	224	[DEBUG]	Store custom available field
2023-10-13	12:20:56	224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859716,3,'',1)
2023-10-13	12:20:56	224	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:56	224	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:56	224	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859716 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:56	224	[DEBUG]	Store custom available field
2023-10-13	12:20:56	224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859716,6,'Unitaire',3)
2023-10-13	12:20:56	224	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:56	224	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:56	224	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859715
2023-10-13	12:20:56	224	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:56	224	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859715\":[1859715,8,1,\"choisir la taille\"],\"1859716\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859715
2023-10-13	12:20:56	224	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:56	224	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859716
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:56	225	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field taille
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:56	225	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:56	225	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:56	225	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:56	225	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:56	225	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:56	225	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field published
2023-10-13	12:20:56	225	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:56	225	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field override
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:56	225	[DEBUG]	Use field value for field slug
2023-10-13	12:20:56	225	[DEBUG]	Process line 225
2023-10-13	12:20:56	225	[DEBUG]	Load a row
2023-10-13	12:20:56	225	[DEBUG]	Processing item: A_8697_1
2023-10-13	12:20:56	225	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:56	225	[DEBUG]	Processing product tax
2023-10-13	12:20:56	225	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:56	225	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:56	225	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:56	225	[DEBUG]	Query for Product
2023-10-13	12:20:56	225	[DEBUG]	Executed store
2023-10-13	12:20:56	225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8697_1','0.088','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:56	225	[DEBUG]	Check product language entry
2023-10-13	12:20:56	225	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859717
2023-10-13	12:20:56	225	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:56	225	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8697_1' AND `virtuemart_product_id` != 1859717
2023-10-13	12:20:56	225	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:56	225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859717, 'A_8697_1')
2023-10-13	12:20:56	225	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:56	225	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-serrure-pour-batterie-de-cadre-giant-downtube-k234-des-2021-fermeture-torx-noir' AND `virtuemart_product_id` != 1859717
2023-10-13	12:20:56	225	[DEBUG]	Query for ProductLang
2023-10-13	12:20:56	225	[DEBUG]	Executed store
2023-10-13	12:20:56	225	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Modelljahr 2019<br><br>Giant Trance E+ Pro<br>Giant Stance E+ Pro<br>Giant Fathom E+ Pro<br>Liv Intrigue E+ Pro<br>Liv Embolden E+ Pro<br>Liv Vall-E+ 1 Pro<br>Modelljahr 2020<br><br>Giant Trance E+ Pro<br>Giant Stance E+ Pro<br>Giant Explore E+ 0 Pro, 1 Pro<br>Liv Intrigue E+ Pro<br>Liv Embolden E+ Pro<br>Modelljahr 2021<br><br>Giant Explore E+ 0 Pro, 1 Pro, 2 Pro, 1 625<br>Liv Embolden E+ 1, 2<br>Liv Amiti E+  1, 2,  1 625<br>N° art fourn : 400.005.132',`product_name`='GIANT Serrure pour batterie de cadre Giant Downtube K234 dès 2021, fermeture Torx / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-serrure-pour-batterie-de-cadre-giant-downtube-k234-des-2021-fermeture-torx-noir' WHERE `virtuemart_product_id` = '1859717'
2023-10-13	12:20:56	225	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37657_serrure_pour_batterie_de_cadre_giant_downtube_k234.jpg
2023-10-13	12:20:56	225	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:56	225	[DEBUG]	Process image file
2023-10-13	12:20:56	225	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:56	225	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:56	225	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37657_serrure_pour_batterie_de_cadre_giant_downtube_k234.jpg
2023-10-13	12:20:56	225	[DEBUG]	Full name target: bcprisme/37657_serrure_pour_batterie_de_cadre_giant_downtube_k234.jpg
2023-10-13	12:20:57	225	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:57	225	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37657_serrure_pour_batterie_de_cadre_giant_downtube_k234.jpg'
2023-10-13	12:20:57	225	[DEBUG]	Query for Media
2023-10-13	12:20:57	225	[DEBUG]	Executed store
2023-10-13	12:20:57	225	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37657_serrure_pour_batterie_de_cadre_giant_downtube_k234.jpg',`file_url_thumb`='bcprisme/37657_serrure_pour_batterie_de_cadre_giant_downtube_k234.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038237'
2023-10-13	12:20:57	225	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:57	225	[DEBUG]	Executed store
2023-10-13	12:20:57	225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859717','1038237','1')
2023-10-13	12:20:57	225	[DEBUG]	Store product image relation
2023-10-13	12:20:57	225	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:57	225	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859717 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:57	225	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:57	225	[DEBUG]	Executed store
2023-10-13	12:20:57	225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859717','0','111.42061281337','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:57	225	[DEBUG]	Checking manufacturer
2023-10-13	12:20:57	225	[DEBUG]	Load a row
2023-10-13	12:20:57	225	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:57	225	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:20:57	225	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:57	225	[DEBUG]	Executed store
2023-10-13	12:20:57	225	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:20:57	225	[DEBUG]	Manufacturer exists
2023-10-13	12:20:57	225	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:20:57	225	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:57	225	[DEBUG]	Executed store
2023-10-13	12:20:57	225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859717','29')
2023-10-13	12:20:57	225	[DEBUG]	Find the custom field ID
2023-10-13	12:20:57	225	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:57	225	[DEBUG]	No custom field ID found
2023-10-13	12:20:57	225	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:57	225	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:20:57	225	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859717 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:57	225	[DEBUG]	Store custom available field
2023-10-13	12:20:57	225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859717,3,'12.8641666666667',1)
2023-10-13	12:20:57	225	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:57	225	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:57	225	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859717 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:57	225	[DEBUG]	Store custom available field
2023-10-13	12:20:57	225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859717,6,'choisir la taille',3)
2023-10-13	12:20:57	225	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:57	225	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:57	225	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:57	225	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:57	225	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859717 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:57	225	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:57	225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859717,8,1)
2023-10-13	12:20:57	225	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:57	225	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859717\":[1859717,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859717
2023-10-13	12:20:57	225	[DEBUG]	Checking category
2023-10-13	12:20:57	225	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:57	225	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859717
2023-10-13	12:20:57	225	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:57	225	[DEBUG]	Executed store
2023-10-13	12:20:57	225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859717','7276')
2023-10-13	12:20:57	225	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:57	225	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859717 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:57	225	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:57	225	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859717
2023-10-13	12:20:57	226	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:57	226	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:57	226	[DEBUG]	Use field value for field taille
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:57	226	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:57	226	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:57	226	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:57	226	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:57	226	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:57	226	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:57	226	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:57	226	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:57	226	[DEBUG]	Use field value for field published
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:57	226	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field override
2023-10-13	12:20:57	226	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:57	226	[DEBUG]	Use field value for field slug
2023-10-13	12:20:57	226	[DEBUG]	Process line 226
2023-10-13	12:20:57	226	[DEBUG]	Load a row
2023-10-13	12:20:57	226	[DEBUG]	Processing item: 1842'K234'01
2023-10-13	12:20:57	226	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:57	226	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:57	226	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8697_1'
2023-10-13	12:20:57	226	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:57	226	[DEBUG]	Processing product tax
2023-10-13	12:20:57	226	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:57	226	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:57	226	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:57	226	[DEBUG]	Query for Product
2023-10-13	12:20:57	226	[DEBUG]	Executed store
2023-10-13	12:20:57	226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859717','1842\'K234\'01','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:57	226	[DEBUG]	No parent found
2023-10-13	12:20:57	226	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859717 AND customfield_value = 'stockable'
2023-10-13	12:20:57	226	[DEBUG]	Check product language entry
2023-10-13	12:20:57	226	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859718
2023-10-13	12:20:57	226	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:57	226	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1842\'K234\'01' AND `virtuemart_product_id` != 1859718
2023-10-13	12:20:57	226	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:57	226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859718, '1842\'K234\'01')
2023-10-13	12:20:57	226	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:57	226	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-serrure-pour-batterie-de-cadre-giant-downtube-k234-des-2021-fermeture-torx-noir-unitaire' AND `virtuemart_product_id` != 1859718
2023-10-13	12:20:57	226	[DEBUG]	Query for ProductLang
2023-10-13	12:20:57	226	[DEBUG]	Executed store
2023-10-13	12:20:57	226	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Serrure pour batterie de cadre Giant Downtube K234 dès 2021, fermeture Torx / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-serrure-pour-batterie-de-cadre-giant-downtube-k234-des-2021-fermeture-torx-noir-unitaire' WHERE `virtuemart_product_id` = '1859718'
2023-10-13	12:20:57	226	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37657_serrure_pour_batterie_de_cadre_giant_downtube_k234.jpg
2023-10-13	12:20:57	226	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:57	226	[DEBUG]	Process image file
2023-10-13	12:20:57	226	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:20:57	226	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:57	226	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37657_serrure_pour_batterie_de_cadre_giant_downtube_k234.jpg
2023-10-13	12:20:57	226	[DEBUG]	Full name target: bcprisme/37657_serrure_pour_batterie_de_cadre_giant_downtube_k234.jpg
2023-10-13	12:20:58	226	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:58	226	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37657_serrure_pour_batterie_de_cadre_giant_downtube_k234.jpg'
2023-10-13	12:20:58	226	[DEBUG]	Query for Media
2023-10-13	12:20:58	226	[DEBUG]	Executed store
2023-10-13	12:20:58	226	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37657_serrure_pour_batterie_de_cadre_giant_downtube_k234.jpg',`file_url_thumb`='bcprisme/37657_serrure_pour_batterie_de_cadre_giant_downtube_k234.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038237'
2023-10-13	12:20:58	226	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:58	226	[DEBUG]	Executed store
2023-10-13	12:20:58	226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859718','1038237','1')
2023-10-13	12:20:58	226	[DEBUG]	Store product image relation
2023-10-13	12:20:58	226	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:58	226	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859718 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:58	226	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:58	226	[DEBUG]	Executed store
2023-10-13	12:20:58	226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859718','0','111.42061281337','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:58	226	[DEBUG]	Checking manufacturer
2023-10-13	12:20:58	226	[DEBUG]	Load a row
2023-10-13	12:20:58	226	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:58	226	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:20:58	226	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:58	226	[DEBUG]	Executed store
2023-10-13	12:20:58	226	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:20:58	226	[DEBUG]	Manufacturer exists
2023-10-13	12:20:58	226	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:20:58	226	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:58	226	[DEBUG]	Executed store
2023-10-13	12:20:58	226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859718','29')
2023-10-13	12:20:58	226	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:58	226	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:20:58	226	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859718 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:58	226	[DEBUG]	Store custom available field
2023-10-13	12:20:58	226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859718,3,'',1)
2023-10-13	12:20:58	226	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:58	226	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:20:58	226	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859718 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:58	226	[DEBUG]	Store custom available field
2023-10-13	12:20:58	226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859718,6,'Unitaire',3)
2023-10-13	12:20:58	226	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:58	226	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:20:58	226	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859717
2023-10-13	12:20:58	226	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:58	226	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859717\":[1859717,8,1,\"choisir la taille\"],\"1859718\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859717
2023-10-13	12:20:58	226	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:58	226	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859718
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:58	227	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field taille
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field category_path
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:58	227	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:20:58	227	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:58	227	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field product_weight
2023-10-13	12:20:58	227	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:58	227	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:58	227	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field published
2023-10-13	12:20:58	227	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:58	227	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field custom_title
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field custom_param
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field override
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field public_price
2023-10-13	12:20:58	227	[DEBUG]	Use field value for field slug
2023-10-13	12:20:58	227	[DEBUG]	Process line 227
2023-10-13	12:20:58	227	[DEBUG]	Load a row
2023-10-13	12:20:58	227	[DEBUG]	Processing item: A_8700_1
2023-10-13	12:20:58	227	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:58	227	[DEBUG]	Processing product tax
2023-10-13	12:20:58	227	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:58	227	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:58	227	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:58	227	[DEBUG]	Query for Product
2023-10-13	12:20:58	227	[DEBUG]	Executed store
2023-10-13	12:20:58	227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8700_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:58	227	[DEBUG]	Check product language entry
2023-10-13	12:20:58	227	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859719
2023-10-13	12:20:58	227	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:58	227	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8700_1' AND `virtuemart_product_id` != 1859719
2023-10-13	12:20:58	227	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:58	227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859719, 'A_8700_1')
2023-10-13	12:20:58	227	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:58	227	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cadena-msc-u-recouvert-de-silicone-150-x290-mm-noir' AND `virtuemart_product_id` != 1859719
2023-10-13	12:20:58	227	[DEBUG]	Query for ProductLang
2023-10-13	12:20:58	227	[DEBUG]	Executed store
2023-10-13	12:20:58	227	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Cadenas à résistance maximale recouvert de silicone pour protéger le vélo des éventuelles frictions lors de la manipulation. Comprend des clés de sécurité. Taille: 150 x 290 cm.<br>N° art fourn : LOCKUBIG',`product_name`='MSC Cadena MSC U recouvert de silicone 150 x290 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cadena-msc-u-recouvert-de-silicone-150-x290-mm-noir' WHERE `virtuemart_product_id` = '1859719'
2023-10-13	12:20:58	227	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37660_cadenas_msc_u_recouvert_de_silicone_150_x290_mm.jpg
2023-10-13	12:20:58	227	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:20:58	227	[DEBUG]	Process image file
2023-10-13	12:20:58	227	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:20:58	227	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:58	227	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37660_cadenas_msc_u_recouvert_de_silicone_150_x290_mm.jpg
2023-10-13	12:20:58	227	[DEBUG]	Full name target: bcprisme/37660_cadenas_msc_u_recouvert_de_silicone_150_x290_mm.jpg
2023-10-13	12:20:59	227	[DEBUG]	Checking if the file_url exists
2023-10-13	12:20:59	227	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37660_cadenas_msc_u_recouvert_de_silicone_150_x290_mm.jpg'
2023-10-13	12:20:59	227	[DEBUG]	Query for Media
2023-10-13	12:20:59	227	[DEBUG]	Executed store
2023-10-13	12:20:59	227	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37660_cadenas_msc_u_recouvert_de_silicone_150_x290_mm.jpg',`file_url_thumb`='bcprisme/37660_cadenas_msc_u_recouvert_de_silicone_150_x290_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038239'
2023-10-13	12:20:59	227	[DEBUG]	Query for ProductMedia
2023-10-13	12:20:59	227	[DEBUG]	Executed store
2023-10-13	12:20:59	227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859719','1038239','1')
2023-10-13	12:20:59	227	[DEBUG]	Store product image relation
2023-10-13	12:20:59	227	[DEBUG]	Finding a product_price_id
2023-10-13	12:20:59	227	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859719 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:20:59	227	[DEBUG]	Query for ProductPrice
2023-10-13	12:20:59	227	[DEBUG]	Executed store
2023-10-13	12:20:59	227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859719','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:20:59	227	[DEBUG]	Checking manufacturer
2023-10-13	12:20:59	227	[DEBUG]	Load a row
2023-10-13	12:20:59	227	[DEBUG]	Manufacturer already exists
2023-10-13	12:20:59	227	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:20:59	227	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:20:59	227	[DEBUG]	Executed store
2023-10-13	12:20:59	227	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:20:59	227	[DEBUG]	Manufacturer exists
2023-10-13	12:20:59	227	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:20:59	227	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:20:59	227	[DEBUG]	Executed store
2023-10-13	12:20:59	227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859719','32')
2023-10-13	12:20:59	227	[DEBUG]	Find the custom field ID
2023-10-13	12:20:59	227	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:20:59	227	[DEBUG]	No custom field ID found
2023-10-13	12:20:59	227	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:20:59	227	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	12:20:59	227	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859719 AND `virtuemart_custom_id` = 3
2023-10-13	12:20:59	227	[DEBUG]	Store custom available field
2023-10-13	12:20:59	227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859719,3,'29.8169444444444',1)
2023-10-13	12:20:59	227	[DEBUG]	Processing custom available field: taille
2023-10-13	12:20:59	227	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:20:59	227	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859719 AND `virtuemart_custom_id` = 6
2023-10-13	12:20:59	227	[DEBUG]	Store custom available field
2023-10-13	12:20:59	227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859719,6,'choisir la taille',3)
2023-10-13	12:20:59	227	[DEBUG]	Process multi-variant fields
2023-10-13	12:20:59	227	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:20:59	227	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:20:59	227	[DEBUG]	Find the multi variant product entry
2023-10-13	12:20:59	227	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859719 AND `virtuemart_custom_id` = 8
2023-10-13	12:20:59	227	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:20:59	227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859719,8,1)
2023-10-13	12:20:59	227	[DEBUG]	Store the updated customfield_params
2023-10-13	12:20:59	227	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859719\":[1859719,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859719
2023-10-13	12:20:59	227	[DEBUG]	Checking category
2023-10-13	12:20:59	227	[DEBUG]	Get the existing categories for the product
2023-10-13	12:20:59	227	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859719
2023-10-13	12:20:59	227	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:20:59	227	[DEBUG]	Executed store
2023-10-13	12:20:59	227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859719','7276')
2023-10-13	12:20:59	227	[DEBUG]	Delete leftover product categories
2023-10-13	12:20:59	227	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859719 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:20:59	227	[DEBUG]	Update has fields after all processing
2023-10-13	12:20:59	227	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859719
2023-10-13	12:20:59	228	[DEBUG]	Use field value for field product_sku
2023-10-13	12:20:59	228	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:20:59	228	[DEBUG]	Use field value for field taille
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:20:59	228	[DEBUG]	Use field value for field product_name
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field category_path
2023-10-13	12:20:59	228	[DEBUG]	Use field value for field product_price
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:20:59	228	[DEBUG]	Use field value for field product_tax
2023-10-13	12:20:59	228	[DEBUG]	Use field value for field file_url
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field product_desc
2023-10-13	12:20:59	228	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:20:59	228	[DEBUG]	Use field value for field product_availability
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field product_weight
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field product_unit
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field related_products
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field product_special
2023-10-13	12:20:59	228	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:20:59	228	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:20:59	228	[DEBUG]	Use field value for field published
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field metadesc
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field metakey
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field custom_title
2023-10-13	12:20:59	228	[DEBUG]	Use field value for field custom_value
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field custom_param
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field override
2023-10-13	12:20:59	228	[DEBUG]	Use default value for field public_price
2023-10-13	12:20:59	228	[DEBUG]	Use field value for field slug
2023-10-13	12:20:59	228	[DEBUG]	Process line 228
2023-10-13	12:20:59	228	[DEBUG]	Load a row
2023-10-13	12:20:59	228	[DEBUG]	Processing item: 8435466213909
2023-10-13	12:20:59	228	[DEBUG]	Looking for parent SKU
2023-10-13	12:20:59	228	[DEBUG]	Checking product parent SKU
2023-10-13	12:20:59	228	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8700_1'
2023-10-13	12:20:59	228	[DEBUG]	Product tax: 7.7
2023-10-13	12:20:59	228	[DEBUG]	Processing product tax
2023-10-13	12:20:59	228	[DEBUG]	Check if calculation rule exists
2023-10-13	12:20:59	228	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:20:59	228	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:20:59	228	[DEBUG]	Query for Product
2023-10-13	12:20:59	228	[DEBUG]	Executed store
2023-10-13	12:20:59	228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859719','8435466213909','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:20:59	228	[DEBUG]	No parent found
2023-10-13	12:20:59	228	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859719 AND customfield_value = 'stockable'
2023-10-13	12:20:59	228	[DEBUG]	Check product language entry
2023-10-13	12:20:59	228	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859720
2023-10-13	12:20:59	228	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:59	228	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213909' AND `virtuemart_product_id` != 1859720
2023-10-13	12:20:59	228	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:20:59	228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859720, '8435466213909')
2023-10-13	12:20:59	228	[DEBUG]	Check if the product slug exists
2023-10-13	12:20:59	228	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cadena-msc-u-recouvert-de-silicone-150-x290-mm-noir-unitaire' AND `virtuemart_product_id` != 1859720
2023-10-13	12:20:59	228	[DEBUG]	Query for ProductLang
2023-10-13	12:20:59	228	[DEBUG]	Executed store
2023-10-13	12:20:59	228	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cadena MSC U recouvert de silicone 150 x290 mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cadena-msc-u-recouvert-de-silicone-150-x290-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1859720'
2023-10-13	12:20:59	228	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37660_cadenas_msc_u_recouvert_de_silicone_150_x290_mm.jpg
2023-10-13	12:20:59	228	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:20:59	228	[DEBUG]	Process image file
2023-10-13	12:20:59	228	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:20:59	228	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:20:59	228	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37660_cadenas_msc_u_recouvert_de_silicone_150_x290_mm.jpg
2023-10-13	12:20:59	228	[DEBUG]	Full name target: bcprisme/37660_cadenas_msc_u_recouvert_de_silicone_150_x290_mm.jpg
2023-10-13	12:21:00	228	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:00	228	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37660_cadenas_msc_u_recouvert_de_silicone_150_x290_mm.jpg'
2023-10-13	12:21:00	228	[DEBUG]	Query for Media
2023-10-13	12:21:00	228	[DEBUG]	Executed store
2023-10-13	12:21:00	228	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37660_cadenas_msc_u_recouvert_de_silicone_150_x290_mm.jpg',`file_url_thumb`='bcprisme/37660_cadenas_msc_u_recouvert_de_silicone_150_x290_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038239'
2023-10-13	12:21:00	228	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:00	228	[DEBUG]	Executed store
2023-10-13	12:21:00	228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859720','1038239','1')
2023-10-13	12:21:00	228	[DEBUG]	Store product image relation
2023-10-13	12:21:00	228	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:00	228	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859720 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:00	228	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:00	228	[DEBUG]	Executed store
2023-10-13	12:21:00	228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859720','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:00	228	[DEBUG]	Checking manufacturer
2023-10-13	12:21:00	228	[DEBUG]	Load a row
2023-10-13	12:21:00	228	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:00	228	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:00	228	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:00	228	[DEBUG]	Executed store
2023-10-13	12:21:00	228	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:00	228	[DEBUG]	Manufacturer exists
2023-10-13	12:21:00	228	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:00	228	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:00	228	[DEBUG]	Executed store
2023-10-13	12:21:00	228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859720','32')
2023-10-13	12:21:00	228	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:00	228	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:00	228	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859720 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:00	228	[DEBUG]	Store custom available field
2023-10-13	12:21:00	228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859720,3,'',1)
2023-10-13	12:21:00	228	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:00	228	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:21:00	228	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859720 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:00	228	[DEBUG]	Store custom available field
2023-10-13	12:21:00	228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859720,6,'Unitaire',3)
2023-10-13	12:21:00	228	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:00	228	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:00	228	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859719
2023-10-13	12:21:00	228	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:00	228	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859719\":[1859719,8,1,\"choisir la taille\"],\"1859720\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859719
2023-10-13	12:21:00	228	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:00	228	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859720
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:00	229	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field taille
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:00	229	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:00	229	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:00	229	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:00	229	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:00	229	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:00	229	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:00	229	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field published
2023-10-13	12:21:00	229	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:00	229	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field override
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:00	229	[DEBUG]	Use field value for field slug
2023-10-13	12:21:00	229	[DEBUG]	Process line 229
2023-10-13	12:21:00	229	[DEBUG]	Load a row
2023-10-13	12:21:00	229	[DEBUG]	Processing item: A_8812_84
2023-10-13	12:21:00	229	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:00	229	[DEBUG]	Processing product tax
2023-10-13	12:21:00	229	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:00	229	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:00	229	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:00	229	[DEBUG]	Query for Product
2023-10-13	12:21:00	229	[DEBUG]	Executed store
2023-10-13	12:21:00	229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8812_84','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:00	229	[DEBUG]	Check product language entry
2023-10-13	12:21:00	229	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859721
2023-10-13	12:21:00	229	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:00	229	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8812_84' AND `virtuemart_product_id` != 1859721
2023-10-13	12:21:00	229	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:00	229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859721, 'A_8812_84')
2023-10-13	12:21:00	229	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:00	229	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-star-4508c-black' AND `virtuemart_product_id` != 1859721
2023-10-13	12:21:00	229	[DEBUG]	Query for ProductLang
2023-10-13	12:21:00	229	[DEBUG]	Executed store
2023-10-13	12:21:00	229	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 520.001.008',`product_name`='ABUS Cadena STAR 4508C / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-star-4508c-black' WHERE `virtuemart_product_id` = '1859721'
2023-10-13	12:21:00	229	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72961_fr_jpg.jpg
2023-10-13	12:21:00	229	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:00	229	[DEBUG]	Process image file
2023-10-13	12:21:00	229	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:00	229	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:00	229	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72961_fr_jpg.jpg
2023-10-13	12:21:00	229	[DEBUG]	Full name target: bcprisme/11_72961_fr_jpg.jpg
2023-10-13	12:21:01	229	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:01	229	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_72961_fr_jpg.jpg'
2023-10-13	12:21:01	229	[DEBUG]	Query for Media
2023-10-13	12:21:01	229	[DEBUG]	Executed store
2023-10-13	12:21:01	229	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_72961_fr_jpg.jpg',`file_url_thumb`='bcprisme/11_72961_fr_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1084099'
2023-10-13	12:21:01	229	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:01	229	[DEBUG]	Executed store
2023-10-13	12:21:01	229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859721','1084099','1')
2023-10-13	12:21:01	229	[DEBUG]	Store product image relation
2023-10-13	12:21:01	229	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:01	229	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859721 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:01	229	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:01	229	[DEBUG]	Executed store
2023-10-13	12:21:01	229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859721','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:01	229	[DEBUG]	Checking manufacturer
2023-10-13	12:21:01	229	[DEBUG]	Load a row
2023-10-13	12:21:01	229	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:01	229	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:01	229	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:01	229	[DEBUG]	Executed store
2023-10-13	12:21:01	229	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:01	229	[DEBUG]	Manufacturer exists
2023-10-13	12:21:01	229	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:21:01	229	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:01	229	[DEBUG]	Executed store
2023-10-13	12:21:01	229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859721','162')
2023-10-13	12:21:01	229	[DEBUG]	Find the custom field ID
2023-10-13	12:21:01	229	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:01	229	[DEBUG]	No custom field ID found
2023-10-13	12:21:01	229	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:01	229	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:21:01	229	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859721 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:01	229	[DEBUG]	Store custom available field
2023-10-13	12:21:01	229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859721,3,'0',1)
2023-10-13	12:21:01	229	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:01	229	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:01	229	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859721 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:01	229	[DEBUG]	Store custom available field
2023-10-13	12:21:01	229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859721,6,'choisir la taille',3)
2023-10-13	12:21:01	229	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:01	229	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:01	229	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:01	229	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:01	229	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859721 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:01	229	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:01	229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859721,8,1)
2023-10-13	12:21:01	229	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:01	229	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859721\":[1859721,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859721
2023-10-13	12:21:01	229	[DEBUG]	Checking category
2023-10-13	12:21:01	229	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:01	229	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859721
2023-10-13	12:21:01	229	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:01	229	[DEBUG]	Executed store
2023-10-13	12:21:01	229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859721','7276')
2023-10-13	12:21:01	229	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:01	229	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859721 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:21:01	229	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:01	229	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859721
2023-10-13	12:21:01	230	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:01	230	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:01	230	[DEBUG]	Use field value for field taille
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:01	230	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:01	230	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:01	230	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:01	230	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:01	230	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:01	230	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:01	230	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:01	230	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:01	230	[DEBUG]	Use field value for field published
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:01	230	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field override
2023-10-13	12:21:01	230	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:01	230	[DEBUG]	Use field value for field slug
2023-10-13	12:21:01	230	[DEBUG]	Process line 230
2023-10-13	12:21:01	230	[DEBUG]	Load a row
2023-10-13	12:21:01	230	[DEBUG]	Processing item: 4003318200199
2023-10-13	12:21:01	230	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:01	230	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:01	230	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8812_84'
2023-10-13	12:21:01	230	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:01	230	[DEBUG]	Processing product tax
2023-10-13	12:21:01	230	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:01	230	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:01	230	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:01	230	[DEBUG]	Query for Product
2023-10-13	12:21:01	230	[DEBUG]	Executed store
2023-10-13	12:21:01	230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859721','4003318200199','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:01	230	[DEBUG]	No parent found
2023-10-13	12:21:01	230	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859721 AND customfield_value = 'stockable'
2023-10-13	12:21:01	230	[DEBUG]	Check product language entry
2023-10-13	12:21:01	230	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859722
2023-10-13	12:21:01	230	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:01	230	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318200199' AND `virtuemart_product_id` != 1859722
2023-10-13	12:21:01	230	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:01	230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859722, '4003318200199')
2023-10-13	12:21:01	230	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:01	230	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-star-4508c-black-unitaire' AND `virtuemart_product_id` != 1859722
2023-10-13	12:21:01	230	[DEBUG]	Query for ProductLang
2023-10-13	12:21:01	230	[DEBUG]	Executed store
2023-10-13	12:21:01	230	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena STAR 4508C / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-star-4508c-black-unitaire' WHERE `virtuemart_product_id` = '1859722'
2023-10-13	12:21:01	230	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72961_fr_jpg.jpg
2023-10-13	12:21:01	230	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:01	230	[DEBUG]	Process image file
2023-10-13	12:21:01	230	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:01	230	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:01	230	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72961_fr_jpg.jpg
2023-10-13	12:21:01	230	[DEBUG]	Full name target: bcprisme/11_72961_fr_jpg.jpg
2023-10-13	12:21:02	230	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:02	230	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_72961_fr_jpg.jpg'
2023-10-13	12:21:02	230	[DEBUG]	Query for Media
2023-10-13	12:21:02	230	[DEBUG]	Executed store
2023-10-13	12:21:02	230	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_72961_fr_jpg.jpg',`file_url_thumb`='bcprisme/11_72961_fr_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1084099'
2023-10-13	12:21:02	230	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:02	230	[DEBUG]	Executed store
2023-10-13	12:21:02	230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859722','1084099','1')
2023-10-13	12:21:02	230	[DEBUG]	Store product image relation
2023-10-13	12:21:02	230	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:02	230	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859722 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:02	230	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:02	230	[DEBUG]	Executed store
2023-10-13	12:21:02	230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859722','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:02	230	[DEBUG]	Checking manufacturer
2023-10-13	12:21:02	230	[DEBUG]	Load a row
2023-10-13	12:21:02	230	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:02	230	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:02	230	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:02	230	[DEBUG]	Executed store
2023-10-13	12:21:02	230	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:02	230	[DEBUG]	Manufacturer exists
2023-10-13	12:21:02	230	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:21:02	230	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:02	230	[DEBUG]	Executed store
2023-10-13	12:21:02	230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859722','162')
2023-10-13	12:21:02	230	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:02	230	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:02	230	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859722 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:02	230	[DEBUG]	Store custom available field
2023-10-13	12:21:02	230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859722,3,'',1)
2023-10-13	12:21:02	230	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:02	230	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:21:02	230	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859722 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:02	230	[DEBUG]	Store custom available field
2023-10-13	12:21:02	230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859722,6,'Unitaire',3)
2023-10-13	12:21:02	230	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:02	230	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:02	230	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859721
2023-10-13	12:21:02	230	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:02	230	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859721\":[1859721,8,1,\"choisir la taille\"],\"1859722\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859721
2023-10-13	12:21:02	230	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:02	230	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859722
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:02	231	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field taille
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:02	231	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:02	231	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:02	231	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:02	231	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:02	231	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:02	231	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field published
2023-10-13	12:21:02	231	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:02	231	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field override
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:02	231	[DEBUG]	Use field value for field slug
2023-10-13	12:21:02	231	[DEBUG]	Process line 231
2023-10-13	12:21:02	231	[DEBUG]	Load a row
2023-10-13	12:21:02	231	[DEBUG]	Processing item: A_8968_734
2023-10-13	12:21:02	231	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:02	231	[DEBUG]	Processing product tax
2023-10-13	12:21:02	231	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:02	231	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:02	231	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:02	231	[DEBUG]	Query for Product
2023-10-13	12:21:02	231	[DEBUG]	Executed store
2023-10-13	12:21:03	231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8968_734','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:03	231	[DEBUG]	Check product language entry
2023-10-13	12:21:03	231	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859723
2023-10-13	12:21:03	231	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:03	231	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8968_734' AND `virtuemart_product_id` != 1859723
2023-10-13	12:21:03	231	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:03	231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859723, 'A_8968_734')
2023-10-13	12:21:03	231	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:03	231	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-3506c-120-code-sans-support-assorties-assortiment-de-couleurs' AND `virtuemart_product_id` != 1859723
2023-10-13	12:21:03	231	[DEBUG]	Query for ProductLang
2023-10-13	12:21:03	231	[DEBUG]	Executed store
2023-10-13	12:21:03	231	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.81229',`product_name`='ABUS Cadena à spirale 3506C/120 code sans support assorties / assortiment de couleurs',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-3506c-120-code-sans-support-assorties-assortiment-de-couleurs' WHERE `virtuemart_product_id` = '1859723'
2023-10-13	12:21:03	231	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_8122.jpg
2023-10-13	12:21:03	231	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:03	231	[DEBUG]	Process image file
2023-10-13	12:21:03	231	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:03	231	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:03	231	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_8122.jpg
2023-10-13	12:21:03	231	[DEBUG]	Full name target: bcprisme/11_8122.jpg
2023-10-13	12:21:03	231	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:03	231	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_8122.jpg'
2023-10-13	12:21:03	231	[DEBUG]	Query for Media
2023-10-13	12:21:03	231	[DEBUG]	Executed store
2023-10-13	12:21:03	231	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_8122.jpg',`file_url_thumb`='bcprisme/11_8122.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183145'
2023-10-13	12:21:03	231	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:03	231	[DEBUG]	Executed store
2023-10-13	12:21:03	231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859723','1183145','1')
2023-10-13	12:21:03	231	[DEBUG]	Store product image relation
2023-10-13	12:21:03	231	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:03	231	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859723 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:03	231	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:03	231	[DEBUG]	Executed store
2023-10-13	12:21:03	231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859723','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:03	231	[DEBUG]	Checking manufacturer
2023-10-13	12:21:03	231	[DEBUG]	Load a row
2023-10-13	12:21:03	231	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:03	231	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:03	231	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:03	231	[DEBUG]	Executed store
2023-10-13	12:21:03	231	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:03	231	[DEBUG]	Manufacturer exists
2023-10-13	12:21:03	231	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:21:03	231	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:03	231	[DEBUG]	Executed store
2023-10-13	12:21:03	231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859723','162')
2023-10-13	12:21:03	231	[DEBUG]	Find the custom field ID
2023-10-13	12:21:03	231	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:03	231	[DEBUG]	No custom field ID found
2023-10-13	12:21:03	231	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:03	231	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:21:03	231	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859723 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:03	231	[DEBUG]	Store custom available field
2023-10-13	12:21:03	231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859723,3,'0',1)
2023-10-13	12:21:03	231	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:03	231	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:03	231	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859723 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:03	231	[DEBUG]	Store custom available field
2023-10-13	12:21:03	231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859723,6,'choisir la taille',3)
2023-10-13	12:21:03	231	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:03	231	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:03	231	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:03	231	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:03	231	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859723 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:03	231	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:03	231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859723,8,1)
2023-10-13	12:21:03	231	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:03	231	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859723\":[1859723,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859723
2023-10-13	12:21:03	231	[DEBUG]	Checking category
2023-10-13	12:21:03	231	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:03	231	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859723
2023-10-13	12:21:03	231	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:03	231	[DEBUG]	Executed store
2023-10-13	12:21:03	231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859723','7276')
2023-10-13	12:21:03	231	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:03	231	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859723 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:21:03	231	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:03	231	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859723
2023-10-13	12:21:03	232	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:03	232	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:03	232	[DEBUG]	Use field value for field taille
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:03	232	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:03	232	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:03	232	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:03	232	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:03	232	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:03	232	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:03	232	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:03	232	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:03	232	[DEBUG]	Use field value for field published
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:03	232	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field override
2023-10-13	12:21:03	232	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:03	232	[DEBUG]	Use field value for field slug
2023-10-13	12:21:03	232	[DEBUG]	Process line 232
2023-10-13	12:21:03	232	[DEBUG]	Load a row
2023-10-13	12:21:03	232	[DEBUG]	Processing item: 4003318407734
2023-10-13	12:21:03	232	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:03	232	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:03	232	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8968_734'
2023-10-13	12:21:03	232	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:03	232	[DEBUG]	Processing product tax
2023-10-13	12:21:03	232	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:03	232	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:03	232	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:03	232	[DEBUG]	Query for Product
2023-10-13	12:21:03	232	[DEBUG]	Executed store
2023-10-13	12:21:03	232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859723','4003318407734','0','KG','M','','10','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:04	232	[DEBUG]	No parent found
2023-10-13	12:21:04	232	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859723 AND customfield_value = 'stockable'
2023-10-13	12:21:04	232	[DEBUG]	Check product language entry
2023-10-13	12:21:04	232	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859724
2023-10-13	12:21:04	232	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:04	232	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318407734' AND `virtuemart_product_id` != 1859724
2023-10-13	12:21:04	232	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:04	232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859724, '4003318407734')
2023-10-13	12:21:04	232	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:04	232	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-3506c-120-code-sans-support-assorties-assortiment-de-couleurs-unitaire' AND `virtuemart_product_id` != 1859724
2023-10-13	12:21:04	232	[DEBUG]	Query for ProductLang
2023-10-13	12:21:04	232	[DEBUG]	Executed store
2023-10-13	12:21:04	232	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale 3506C/120 code sans support assorties / assortiment de couleurs (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-3506c-120-code-sans-support-assorties-assortiment-de-couleurs-unitaire' WHERE `virtuemart_product_id` = '1859724'
2023-10-13	12:21:04	232	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_8122.jpg
2023-10-13	12:21:04	232	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:04	232	[DEBUG]	Process image file
2023-10-13	12:21:04	232	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:04	232	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:04	232	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_8122.jpg
2023-10-13	12:21:04	232	[DEBUG]	Full name target: bcprisme/11_8122.jpg
2023-10-13	12:21:04	232	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:04	232	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_8122.jpg'
2023-10-13	12:21:04	232	[DEBUG]	Query for Media
2023-10-13	12:21:04	232	[DEBUG]	Executed store
2023-10-13	12:21:04	232	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_8122.jpg',`file_url_thumb`='bcprisme/11_8122.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183145'
2023-10-13	12:21:04	232	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:04	232	[DEBUG]	Executed store
2023-10-13	12:21:04	232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859724','1183145','1')
2023-10-13	12:21:04	232	[DEBUG]	Store product image relation
2023-10-13	12:21:04	232	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:04	232	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859724 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:04	232	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:04	232	[DEBUG]	Executed store
2023-10-13	12:21:04	232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859724','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:04	232	[DEBUG]	Checking manufacturer
2023-10-13	12:21:04	232	[DEBUG]	Load a row
2023-10-13	12:21:04	232	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:04	232	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:04	232	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:04	232	[DEBUG]	Executed store
2023-10-13	12:21:04	232	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:04	232	[DEBUG]	Manufacturer exists
2023-10-13	12:21:04	232	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:21:04	232	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:04	232	[DEBUG]	Executed store
2023-10-13	12:21:04	232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859724','162')
2023-10-13	12:21:04	232	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:04	232	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:04	232	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859724 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:04	232	[DEBUG]	Store custom available field
2023-10-13	12:21:04	232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859724,3,'',1)
2023-10-13	12:21:04	232	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:04	232	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:21:04	232	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859724 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:04	232	[DEBUG]	Store custom available field
2023-10-13	12:21:04	232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859724,6,'Unitaire',3)
2023-10-13	12:21:04	232	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:04	232	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:04	232	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859723
2023-10-13	12:21:04	232	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:04	232	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859723\":[1859723,8,1,\"choisir la taille\"],\"1859724\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859723
2023-10-13	12:21:04	232	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:04	232	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859724
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:04	233	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field taille
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:04	233	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:04	233	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:04	233	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:04	233	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:04	233	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:04	233	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field published
2023-10-13	12:21:04	233	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:04	233	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field override
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:04	233	[DEBUG]	Use field value for field slug
2023-10-13	12:21:04	233	[DEBUG]	Process line 233
2023-10-13	12:21:04	233	[DEBUG]	Load a row
2023-10-13	12:21:04	233	[DEBUG]	Processing item: A_8970_734
2023-10-13	12:21:04	233	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:04	233	[DEBUG]	Processing product tax
2023-10-13	12:21:04	233	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:04	233	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:04	233	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:04	233	[DEBUG]	Query for Product
2023-10-13	12:21:05	233	[DEBUG]	Executed store
2023-10-13	12:21:05	233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8970_734','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:05	233	[DEBUG]	Check product language entry
2023-10-13	12:21:05	233	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859725
2023-10-13	12:21:05	233	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:05	233	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8970_734' AND `virtuemart_product_id` != 1859725
2023-10-13	12:21:05	233	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:05	233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859725, 'A_8970_734')
2023-10-13	12:21:05	233	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:05	233	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-cable-3406c-55-code-sans-support-assorties-assortiment-de-couleurs' AND `virtuemart_product_id` != 1859725
2023-10-13	12:21:05	233	[DEBUG]	Query for ProductLang
2023-10-13	12:21:05	233	[DEBUG]	Executed store
2023-10-13	12:21:05	233	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.81548',`product_name`='ABUS Cadena à câble 3406C/55 code sans support assorties / assortiment de couleurs',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-cable-3406c-55-code-sans-support-assorties-assortiment-de-couleurs' WHERE `virtuemart_product_id` = '1859725'
2023-10-13	12:21:05	233	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_8154.jpg
2023-10-13	12:21:05	233	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:05	233	[DEBUG]	Process image file
2023-10-13	12:21:05	233	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:05	233	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:05	233	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_8154.jpg
2023-10-13	12:21:05	233	[DEBUG]	Full name target: bcprisme/11_8154.jpg
2023-10-13	12:21:05	233	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:05	233	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_8154.jpg'
2023-10-13	12:21:05	233	[DEBUG]	Query for Media
2023-10-13	12:21:05	233	[DEBUG]	Executed store
2023-10-13	12:21:05	233	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_8154.jpg',`file_url_thumb`='bcprisme/11_8154.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183147'
2023-10-13	12:21:05	233	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:05	233	[DEBUG]	Executed store
2023-10-13	12:21:05	233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859725','1183147','1')
2023-10-13	12:21:05	233	[DEBUG]	Store product image relation
2023-10-13	12:21:05	233	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:05	233	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859725 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:05	233	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:05	233	[DEBUG]	Executed store
2023-10-13	12:21:05	233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859725','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:05	233	[DEBUG]	Checking manufacturer
2023-10-13	12:21:05	233	[DEBUG]	Load a row
2023-10-13	12:21:05	233	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:05	233	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:05	233	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:05	233	[DEBUG]	Executed store
2023-10-13	12:21:05	233	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:05	233	[DEBUG]	Manufacturer exists
2023-10-13	12:21:05	233	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:21:05	233	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:05	233	[DEBUG]	Executed store
2023-10-13	12:21:05	233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859725','162')
2023-10-13	12:21:05	233	[DEBUG]	Find the custom field ID
2023-10-13	12:21:05	233	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:05	233	[DEBUG]	No custom field ID found
2023-10-13	12:21:05	233	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:05	233	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:21:05	233	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859725 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:05	233	[DEBUG]	Store custom available field
2023-10-13	12:21:05	233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859725,3,'0',1)
2023-10-13	12:21:05	233	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:05	233	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:05	233	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859725 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:05	233	[DEBUG]	Store custom available field
2023-10-13	12:21:05	233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859725,6,'choisir la taille',3)
2023-10-13	12:21:05	233	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:05	233	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:05	233	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:05	233	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:05	233	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859725 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:05	233	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:05	233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859725,8,1)
2023-10-13	12:21:05	233	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:05	233	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859725\":[1859725,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859725
2023-10-13	12:21:05	233	[DEBUG]	Checking category
2023-10-13	12:21:05	233	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:05	233	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859725
2023-10-13	12:21:05	233	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:05	233	[DEBUG]	Executed store
2023-10-13	12:21:05	233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859725','7276')
2023-10-13	12:21:05	233	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:05	233	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859725 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:21:05	233	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:05	233	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859725
2023-10-13	12:21:05	234	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:05	234	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:05	234	[DEBUG]	Use field value for field taille
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:05	234	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:05	234	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:05	234	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:05	234	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:05	234	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:05	234	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:05	234	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:05	234	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:05	234	[DEBUG]	Use field value for field published
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:05	234	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field override
2023-10-13	12:21:05	234	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:05	234	[DEBUG]	Use field value for field slug
2023-10-13	12:21:05	234	[DEBUG]	Process line 234
2023-10-13	12:21:06	234	[DEBUG]	Load a row
2023-10-13	12:21:06	234	[DEBUG]	Processing item: 4003318407895
2023-10-13	12:21:06	234	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:06	234	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:06	234	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8970_734'
2023-10-13	12:21:06	234	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:06	234	[DEBUG]	Processing product tax
2023-10-13	12:21:06	234	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:06	234	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:06	234	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:06	234	[DEBUG]	Query for Product
2023-10-13	12:21:06	234	[DEBUG]	Executed store
2023-10-13	12:21:06	234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859725','4003318407895','0','KG','M','','12','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:06	234	[DEBUG]	No parent found
2023-10-13	12:21:06	234	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859725 AND customfield_value = 'stockable'
2023-10-13	12:21:06	234	[DEBUG]	Check product language entry
2023-10-13	12:21:06	234	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859726
2023-10-13	12:21:06	234	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:06	234	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318407895' AND `virtuemart_product_id` != 1859726
2023-10-13	12:21:06	234	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:06	234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859726, '4003318407895')
2023-10-13	12:21:06	234	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:06	234	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-cable-3406c-55-code-sans-support-assorties-assortiment-de-couleurs-unitaire' AND `virtuemart_product_id` != 1859726
2023-10-13	12:21:06	234	[DEBUG]	Query for ProductLang
2023-10-13	12:21:06	234	[DEBUG]	Executed store
2023-10-13	12:21:06	234	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à câble 3406C/55 code sans support assorties / assortiment de couleurs (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-cable-3406c-55-code-sans-support-assorties-assortiment-de-couleurs-unitaire' WHERE `virtuemart_product_id` = '1859726'
2023-10-13	12:21:06	234	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_8154.jpg
2023-10-13	12:21:06	234	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:06	234	[DEBUG]	Process image file
2023-10-13	12:21:06	234	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:06	234	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:06	234	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_8154.jpg
2023-10-13	12:21:06	234	[DEBUG]	Full name target: bcprisme/11_8154.jpg
2023-10-13	12:21:06	234	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:06	234	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_8154.jpg'
2023-10-13	12:21:06	234	[DEBUG]	Query for Media
2023-10-13	12:21:06	234	[DEBUG]	Executed store
2023-10-13	12:21:06	234	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_8154.jpg',`file_url_thumb`='bcprisme/11_8154.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183147'
2023-10-13	12:21:06	234	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:06	234	[DEBUG]	Executed store
2023-10-13	12:21:06	234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859726','1183147','1')
2023-10-13	12:21:06	234	[DEBUG]	Store product image relation
2023-10-13	12:21:06	234	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:06	234	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859726 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:06	234	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:06	234	[DEBUG]	Executed store
2023-10-13	12:21:06	234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859726','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:06	234	[DEBUG]	Checking manufacturer
2023-10-13	12:21:06	234	[DEBUG]	Load a row
2023-10-13	12:21:06	234	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:06	234	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:06	234	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:06	234	[DEBUG]	Executed store
2023-10-13	12:21:06	234	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:06	234	[DEBUG]	Manufacturer exists
2023-10-13	12:21:06	234	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:21:07	234	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:07	234	[DEBUG]	Executed store
2023-10-13	12:21:07	234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859726','162')
2023-10-13	12:21:07	234	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:07	234	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:07	234	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859726 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:07	234	[DEBUG]	Store custom available field
2023-10-13	12:21:07	234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859726,3,'',1)
2023-10-13	12:21:07	234	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:07	234	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:21:07	234	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859726 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:07	234	[DEBUG]	Store custom available field
2023-10-13	12:21:07	234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859726,6,'Unitaire',3)
2023-10-13	12:21:07	234	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:07	234	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:07	234	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859725
2023-10-13	12:21:07	234	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:07	234	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859725\":[1859725,8,1,\"choisir la taille\"],\"1859726\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859725
2023-10-13	12:21:07	234	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:07	234	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859726
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:07	235	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field taille
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:07	235	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:07	235	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:07	235	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:07	235	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:07	235	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:07	235	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field published
2023-10-13	12:21:07	235	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:07	235	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field override
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:07	235	[DEBUG]	Use field value for field slug
2023-10-13	12:21:07	235	[DEBUG]	Process line 235
2023-10-13	12:21:07	235	[DEBUG]	Load a row
2023-10-13	12:21:07	235	[DEBUG]	Processing item: A_9081_208
2023-10-13	12:21:07	235	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:07	235	[DEBUG]	Processing product tax
2023-10-13	12:21:07	235	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:07	235	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:07	235	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:07	235	[DEBUG]	Query for Product
2023-10-13	12:21:07	235	[DEBUG]	Executed store
2023-10-13	12:21:07	235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9081_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:07	235	[DEBUG]	Check product language entry
2023-10-13	12:21:07	235	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859727
2023-10-13	12:21:07	235	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:07	235	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9081_208' AND `virtuemart_product_id` != 1859727
2023-10-13	12:21:07	235	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:07	235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859727, 'A_9081_208')
2023-10-13	12:21:07	235	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:07	235	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-batterie-dt1-pour-cadre-shimano-aucune' AND `virtuemart_product_id` != 1859727
2023-10-13	12:21:07	235	[DEBUG]	Query for ProductLang
2023-10-13	12:21:07	235	[DEBUG]	Executed store
2023-10-13	12:21:07	235	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.69925',`product_name`='ABUS Cadena batterie DT1 pour cadre Shimano / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-batterie-dt1-pour-cadre-shimano-aucune' WHERE `virtuemart_product_id` = '1859727'
2023-10-13	12:21:07	235	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_6992.jpg
2023-10-13	12:21:07	235	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:07	235	[DEBUG]	Process image file
2023-10-13	12:21:07	235	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:07	235	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:07	235	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_6992.jpg
2023-10-13	12:21:07	235	[DEBUG]	Full name target: bcprisme/11_6992.jpg
2023-10-13	12:21:07	235	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:07	235	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_6992.jpg'
2023-10-13	12:21:07	235	[DEBUG]	Query for Media
2023-10-13	12:21:07	235	[DEBUG]	Executed store
2023-10-13	12:21:07	235	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_6992.jpg',`file_url_thumb`='bcprisme/11_6992.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1253156'
2023-10-13	12:21:07	235	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:07	235	[DEBUG]	Executed store
2023-10-13	12:21:07	235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859727','1253156','1')
2023-10-13	12:21:07	235	[DEBUG]	Store product image relation
2023-10-13	12:21:07	235	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:07	235	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859727 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:07	235	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:07	235	[DEBUG]	Executed store
2023-10-13	12:21:07	235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859727','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:07	235	[DEBUG]	Checking manufacturer
2023-10-13	12:21:07	235	[DEBUG]	Load a row
2023-10-13	12:21:07	235	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:07	235	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:07	235	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:08	235	[DEBUG]	Executed store
2023-10-13	12:21:08	235	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:08	235	[DEBUG]	Manufacturer exists
2023-10-13	12:21:08	235	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:21:08	235	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:08	235	[DEBUG]	Executed store
2023-10-13	12:21:08	235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859727','162')
2023-10-13	12:21:08	235	[DEBUG]	Find the custom field ID
2023-10-13	12:21:08	235	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:08	235	[DEBUG]	No custom field ID found
2023-10-13	12:21:08	235	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:08	235	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:21:08	235	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859727 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:08	235	[DEBUG]	Store custom available field
2023-10-13	12:21:08	235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859727,3,'0',1)
2023-10-13	12:21:08	235	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:08	235	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:08	235	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859727 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:08	235	[DEBUG]	Store custom available field
2023-10-13	12:21:08	235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859727,6,'choisir la taille',3)
2023-10-13	12:21:08	235	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:08	235	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:08	235	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:08	235	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:08	235	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859727 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:08	235	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:08	235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859727,8,1)
2023-10-13	12:21:08	235	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:08	235	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859727\":[1859727,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859727
2023-10-13	12:21:08	235	[DEBUG]	Checking category
2023-10-13	12:21:08	235	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:08	235	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859727
2023-10-13	12:21:08	235	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:08	235	[DEBUG]	Executed store
2023-10-13	12:21:08	235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859727','7276')
2023-10-13	12:21:08	235	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:08	235	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859727 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:21:08	235	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:08	235	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859727
2023-10-13	12:21:08	236	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:08	236	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:08	236	[DEBUG]	Use field value for field taille
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:08	236	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:08	236	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:08	236	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:08	236	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:08	236	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:08	236	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:08	236	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:08	236	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:08	236	[DEBUG]	Use field value for field published
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:08	236	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field override
2023-10-13	12:21:08	236	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:08	236	[DEBUG]	Use field value for field slug
2023-10-13	12:21:08	236	[DEBUG]	Process line 236
2023-10-13	12:21:08	236	[DEBUG]	Load a row
2023-10-13	12:21:08	236	[DEBUG]	Processing item: 4003318371967
2023-10-13	12:21:08	236	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:08	236	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:08	236	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9081_208'
2023-10-13	12:21:08	236	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:08	236	[DEBUG]	Processing product tax
2023-10-13	12:21:08	236	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:08	236	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:08	236	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:08	236	[DEBUG]	Query for Product
2023-10-13	12:21:08	236	[DEBUG]	Executed store
2023-10-13	12:21:08	236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859727','4003318371967','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:08	236	[DEBUG]	No parent found
2023-10-13	12:21:08	236	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859727 AND customfield_value = 'stockable'
2023-10-13	12:21:08	236	[DEBUG]	Check product language entry
2023-10-13	12:21:08	236	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859728
2023-10-13	12:21:08	236	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:08	236	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318371967' AND `virtuemart_product_id` != 1859728
2023-10-13	12:21:08	236	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:08	236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859728, '4003318371967')
2023-10-13	12:21:08	236	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:08	236	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-batterie-dt1-pour-cadre-shimano-aucune-unitaire' AND `virtuemart_product_id` != 1859728
2023-10-13	12:21:08	236	[DEBUG]	Query for ProductLang
2023-10-13	12:21:08	236	[DEBUG]	Executed store
2023-10-13	12:21:08	236	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena batterie DT1 pour cadre Shimano / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-batterie-dt1-pour-cadre-shimano-aucune-unitaire' WHERE `virtuemart_product_id` = '1859728'
2023-10-13	12:21:08	236	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_6992.jpg
2023-10-13	12:21:08	236	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:08	236	[DEBUG]	Process image file
2023-10-13	12:21:08	236	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:08	236	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:08	236	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_6992.jpg
2023-10-13	12:21:08	236	[DEBUG]	Full name target: bcprisme/11_6992.jpg
2023-10-13	12:21:09	236	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:09	236	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_6992.jpg'
2023-10-13	12:21:09	236	[DEBUG]	Query for Media
2023-10-13	12:21:09	236	[DEBUG]	Executed store
2023-10-13	12:21:09	236	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_6992.jpg',`file_url_thumb`='bcprisme/11_6992.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1253156'
2023-10-13	12:21:09	236	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:09	236	[DEBUG]	Executed store
2023-10-13	12:21:09	236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859728','1253156','1')
2023-10-13	12:21:09	236	[DEBUG]	Store product image relation
2023-10-13	12:21:09	236	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:09	236	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859728 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:09	236	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:09	236	[DEBUG]	Executed store
2023-10-13	12:21:09	236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859728','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:09	236	[DEBUG]	Checking manufacturer
2023-10-13	12:21:09	236	[DEBUG]	Load a row
2023-10-13	12:21:09	236	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:09	236	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:09	236	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:09	236	[DEBUG]	Executed store
2023-10-13	12:21:09	236	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:09	236	[DEBUG]	Manufacturer exists
2023-10-13	12:21:09	236	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:21:09	236	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:09	236	[DEBUG]	Executed store
2023-10-13	12:21:09	236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859728','162')
2023-10-13	12:21:09	236	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:09	236	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:09	236	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859728 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:09	236	[DEBUG]	Store custom available field
2023-10-13	12:21:09	236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859728,3,'',1)
2023-10-13	12:21:09	236	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:09	236	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:21:09	236	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859728 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:09	236	[DEBUG]	Store custom available field
2023-10-13	12:21:09	236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859728,6,'Unitaire',3)
2023-10-13	12:21:09	236	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:09	236	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:09	236	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859727
2023-10-13	12:21:09	236	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:09	236	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859727\":[1859727,8,1,\"choisir la taille\"],\"1859728\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859727
2023-10-13	12:21:09	236	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:09	236	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859728
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:09	237	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field taille
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:09	237	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:09	237	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:09	237	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:09	237	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:09	237	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:09	237	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field published
2023-10-13	12:21:09	237	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:09	237	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field override
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:09	237	[DEBUG]	Use field value for field slug
2023-10-13	12:21:09	237	[DEBUG]	Process line 237
2023-10-13	12:21:09	237	[DEBUG]	Load a row
2023-10-13	12:21:09	237	[DEBUG]	Processing item: A_9208_734
2023-10-13	12:21:09	237	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:09	237	[DEBUG]	Processing product tax
2023-10-13	12:21:09	237	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:09	237	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:09	237	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:09	237	[DEBUG]	Query for Product
2023-10-13	12:21:09	237	[DEBUG]	Executed store
2023-10-13	12:21:09	237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9208_734','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:09	237	[DEBUG]	Check product language entry
2023-10-13	12:21:09	237	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859729
2023-10-13	12:21:09	237	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:09	237	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9208_734' AND `virtuemart_product_id` != 1859729
2023-10-13	12:21:09	237	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:09	237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859729, 'A_9208_734')
2023-10-13	12:21:09	237	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:09	237	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-3506k-120-sans-support-assorties-assortiment-de-couleurs' AND `virtuemart_product_id` != 1859729
2023-10-13	12:21:09	237	[DEBUG]	Query for ProductLang
2023-10-13	12:21:09	237	[DEBUG]	Executed store
2023-10-13	12:21:09	237	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.81231',`product_name`='ABUS Cadena à spirale 3506K/120 sans support assorties / assortiment de couleurs',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-3506k-120-sans-support-assorties-assortiment-de-couleurs' WHERE `virtuemart_product_id` = '1859729'
2023-10-13	12:21:09	237	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_8123.jpg
2023-10-13	12:21:09	237	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:09	237	[DEBUG]	Process image file
2023-10-13	12:21:09	237	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:09	237	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:09	237	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_8123.jpg
2023-10-13	12:21:09	237	[DEBUG]	Full name target: bcprisme/11_8123.jpg
2023-10-13	12:21:10	237	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:10	237	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_8123.jpg'
2023-10-13	12:21:10	237	[DEBUG]	Query for Media
2023-10-13	12:21:10	237	[DEBUG]	Executed store
2023-10-13	12:21:10	237	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_8123.jpg',`file_url_thumb`='bcprisme/11_8123.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1329301'
2023-10-13	12:21:10	237	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:10	237	[DEBUG]	Executed store
2023-10-13	12:21:10	237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859729','1329301','1')
2023-10-13	12:21:10	237	[DEBUG]	Store product image relation
2023-10-13	12:21:10	237	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:10	237	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859729 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:10	237	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:10	237	[DEBUG]	Executed store
2023-10-13	12:21:10	237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859729','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:10	237	[DEBUG]	Checking manufacturer
2023-10-13	12:21:10	237	[DEBUG]	Load a row
2023-10-13	12:21:10	237	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:10	237	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:10	237	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:10	237	[DEBUG]	Executed store
2023-10-13	12:21:10	237	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:10	237	[DEBUG]	Manufacturer exists
2023-10-13	12:21:10	237	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:21:10	237	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:10	237	[DEBUG]	Executed store
2023-10-13	12:21:10	237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859729','162')
2023-10-13	12:21:10	237	[DEBUG]	Find the custom field ID
2023-10-13	12:21:10	237	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:10	237	[DEBUG]	No custom field ID found
2023-10-13	12:21:10	237	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:10	237	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:21:10	237	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859729 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:10	237	[DEBUG]	Store custom available field
2023-10-13	12:21:10	237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859729,3,'0',1)
2023-10-13	12:21:10	237	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:10	237	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:10	237	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859729 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:10	237	[DEBUG]	Store custom available field
2023-10-13	12:21:10	237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859729,6,'choisir la taille',3)
2023-10-13	12:21:10	237	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:10	237	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:10	237	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:10	237	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:10	237	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859729 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:10	237	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:10	237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859729,8,1)
2023-10-13	12:21:10	237	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:10	237	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859729\":[1859729,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859729
2023-10-13	12:21:10	237	[DEBUG]	Checking category
2023-10-13	12:21:10	237	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:10	237	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859729
2023-10-13	12:21:10	237	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:10	237	[DEBUG]	Executed store
2023-10-13	12:21:10	237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859729','7276')
2023-10-13	12:21:10	237	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:10	237	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859729 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:21:10	237	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:10	237	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859729
2023-10-13	12:21:10	238	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:10	238	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:10	238	[DEBUG]	Use field value for field taille
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:10	238	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:10	238	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:10	238	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:10	238	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:10	238	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:10	238	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:10	238	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:10	238	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:10	238	[DEBUG]	Use field value for field published
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:10	238	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field override
2023-10-13	12:21:10	238	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:10	238	[DEBUG]	Use field value for field slug
2023-10-13	12:21:10	238	[DEBUG]	Process line 238
2023-10-13	12:21:10	238	[DEBUG]	Load a row
2023-10-13	12:21:10	238	[DEBUG]	Processing item: 4003318407703
2023-10-13	12:21:10	238	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:10	238	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:10	238	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9208_734'
2023-10-13	12:21:10	238	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:10	238	[DEBUG]	Processing product tax
2023-10-13	12:21:10	238	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:10	238	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:10	238	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:10	238	[DEBUG]	Query for Product
2023-10-13	12:21:10	238	[DEBUG]	Executed store
2023-10-13	12:21:10	238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859729','4003318407703','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:10	238	[DEBUG]	No parent found
2023-10-13	12:21:10	238	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859729 AND customfield_value = 'stockable'
2023-10-13	12:21:10	238	[DEBUG]	Check product language entry
2023-10-13	12:21:10	238	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859730
2023-10-13	12:21:10	238	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:10	238	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318407703' AND `virtuemart_product_id` != 1859730
2023-10-13	12:21:10	238	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:10	238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859730, '4003318407703')
2023-10-13	12:21:10	238	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:10	238	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-3506k-120-sans-support-assorties-assortiment-de-couleurs-unitaire' AND `virtuemart_product_id` != 1859730
2023-10-13	12:21:10	238	[DEBUG]	Query for ProductLang
2023-10-13	12:21:10	238	[DEBUG]	Executed store
2023-10-13	12:21:10	238	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale 3506K/120 sans support assorties / assortiment de couleurs (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-3506k-120-sans-support-assorties-assortiment-de-couleurs-unitaire' WHERE `virtuemart_product_id` = '1859730'
2023-10-13	12:21:10	238	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_8123.jpg
2023-10-13	12:21:10	238	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:10	238	[DEBUG]	Process image file
2023-10-13	12:21:10	238	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:10	238	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:10	238	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_8123.jpg
2023-10-13	12:21:10	238	[DEBUG]	Full name target: bcprisme/11_8123.jpg
2023-10-13	12:21:11	238	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:11	238	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_8123.jpg'
2023-10-13	12:21:11	238	[DEBUG]	Query for Media
2023-10-13	12:21:11	238	[DEBUG]	Executed store
2023-10-13	12:21:11	238	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_8123.jpg',`file_url_thumb`='bcprisme/11_8123.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1329301'
2023-10-13	12:21:11	238	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:11	238	[DEBUG]	Executed store
2023-10-13	12:21:11	238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859730','1329301','1')
2023-10-13	12:21:11	238	[DEBUG]	Store product image relation
2023-10-13	12:21:11	238	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:11	238	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859730 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:11	238	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:11	238	[DEBUG]	Executed store
2023-10-13	12:21:11	238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859730','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:11	238	[DEBUG]	Checking manufacturer
2023-10-13	12:21:11	238	[DEBUG]	Load a row
2023-10-13	12:21:11	238	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:11	238	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:11	238	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:11	238	[DEBUG]	Executed store
2023-10-13	12:21:11	238	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:11	238	[DEBUG]	Manufacturer exists
2023-10-13	12:21:11	238	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:21:11	238	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:11	238	[DEBUG]	Executed store
2023-10-13	12:21:11	238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859730','162')
2023-10-13	12:21:11	238	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:11	238	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:11	238	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859730 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:11	238	[DEBUG]	Store custom available field
2023-10-13	12:21:11	238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859730,3,'',1)
2023-10-13	12:21:11	238	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:11	238	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:21:11	238	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859730 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:11	238	[DEBUG]	Store custom available field
2023-10-13	12:21:11	238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859730,6,'Unitaire',3)
2023-10-13	12:21:11	238	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:11	238	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:11	238	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859729
2023-10-13	12:21:11	238	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:11	238	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859729\":[1859729,8,1,\"choisir la taille\"],\"1859730\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859729
2023-10-13	12:21:11	238	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:11	238	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859730
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:11	239	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field taille
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:11	239	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:11	239	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:11	239	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:11	239	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:11	239	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:11	239	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:11	239	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field published
2023-10-13	12:21:11	239	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:11	239	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field override
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:11	239	[DEBUG]	Use field value for field slug
2023-10-13	12:21:11	239	[DEBUG]	Process line 239
2023-10-13	12:21:11	239	[DEBUG]	Load a row
2023-10-13	12:21:11	239	[DEBUG]	Processing item: A_9373_84
2023-10-13	12:21:11	239	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:11	239	[DEBUG]	Processing product tax
2023-10-13	12:21:11	239	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:11	239	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:11	239	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:11	239	[DEBUG]	Query for Product
2023-10-13	12:21:11	239	[DEBUG]	Executed store
2023-10-13	12:21:11	239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9373_84','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:11	239	[DEBUG]	Check product language entry
2023-10-13	12:21:11	239	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859731
2023-10-13	12:21:11	239	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:11	239	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9373_84' AND `virtuemart_product_id` != 1859731
2023-10-13	12:21:11	239	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:11	239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859731, 'A_9373_84')
2023-10-13	12:21:11	239	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:11	239	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-pliable-bordo-6000k-90-avec-support-sh-6000-90-noir-black' AND `virtuemart_product_id` != 1859731
2023-10-13	12:21:11	239	[DEBUG]	Query for ProductLang
2023-10-13	12:21:11	239	[DEBUG]	Executed store
2023-10-13	12:21:11	239	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.82848',`product_name`='ABUS Cadena pliable Bordo 6000K/90 avec support SH 6000/90 noir / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-pliable-bordo-6000k-90-avec-support-sh-6000-90-noir-black' WHERE `virtuemart_product_id` = '1859731'
2023-10-13	12:21:11	239	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_82848_f.jpg
2023-10-13	12:21:11	239	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:11	239	[DEBUG]	Process image file
2023-10-13	12:21:11	239	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:11	239	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:11	239	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_82848_f.jpg
2023-10-13	12:21:11	239	[DEBUG]	Full name target: bcprisme/11_82848_f.jpg
2023-10-13	12:21:12	239	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:12	239	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_82848_f.jpg'
2023-10-13	12:21:12	239	[DEBUG]	Query for Media
2023-10-13	12:21:12	239	[DEBUG]	Executed store
2023-10-13	12:21:12	239	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_82848_f.jpg',`file_url_thumb`='bcprisme/11_82848_f.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409667'
2023-10-13	12:21:12	239	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:12	239	[DEBUG]	Executed store
2023-10-13	12:21:12	239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859731','1409667','1')
2023-10-13	12:21:12	239	[DEBUG]	Store product image relation
2023-10-13	12:21:12	239	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:12	239	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859731 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:12	239	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:12	239	[DEBUG]	Executed store
2023-10-13	12:21:12	239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859731','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:12	239	[DEBUG]	Checking manufacturer
2023-10-13	12:21:12	239	[DEBUG]	Load a row
2023-10-13	12:21:12	239	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:12	239	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:12	239	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:12	239	[DEBUG]	Executed store
2023-10-13	12:21:12	239	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:12	239	[DEBUG]	Manufacturer exists
2023-10-13	12:21:12	239	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:21:12	239	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:12	239	[DEBUG]	Executed store
2023-10-13	12:21:12	239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859731','162')
2023-10-13	12:21:12	239	[DEBUG]	Find the custom field ID
2023-10-13	12:21:12	239	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:12	239	[DEBUG]	No custom field ID found
2023-10-13	12:21:12	239	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:12	239	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:21:12	239	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859731 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:12	239	[DEBUG]	Store custom available field
2023-10-13	12:21:12	239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859731,3,'0',1)
2023-10-13	12:21:12	239	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:12	239	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:12	239	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859731 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:12	239	[DEBUG]	Store custom available field
2023-10-13	12:21:12	239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859731,6,'choisir la taille',3)
2023-10-13	12:21:12	239	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:12	239	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:12	239	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:12	239	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:12	239	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859731 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:12	239	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:12	239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859731,8,1)
2023-10-13	12:21:12	239	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:12	239	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859731\":[1859731,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859731
2023-10-13	12:21:12	239	[DEBUG]	Checking category
2023-10-13	12:21:12	239	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:12	239	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859731
2023-10-13	12:21:12	239	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:12	239	[DEBUG]	Executed store
2023-10-13	12:21:12	239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859731','7276')
2023-10-13	12:21:12	239	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:12	239	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859731 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:21:12	239	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:12	239	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859731
2023-10-13	12:21:12	240	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:12	240	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:12	240	[DEBUG]	Use field value for field taille
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:12	240	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:12	240	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:12	240	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:12	240	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:12	240	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:12	240	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:12	240	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:12	240	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:12	240	[DEBUG]	Use field value for field published
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:12	240	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field override
2023-10-13	12:21:12	240	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:12	240	[DEBUG]	Use field value for field slug
2023-10-13	12:21:12	240	[DEBUG]	Process line 240
2023-10-13	12:21:12	240	[DEBUG]	Load a row
2023-10-13	12:21:12	240	[DEBUG]	Processing item: 4003318620942
2023-10-13	12:21:12	240	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:12	240	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:12	240	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9373_84'
2023-10-13	12:21:12	240	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:12	240	[DEBUG]	Processing product tax
2023-10-13	12:21:12	240	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:12	240	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:12	240	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:12	240	[DEBUG]	Query for Product
2023-10-13	12:21:12	240	[DEBUG]	Executed store
2023-10-13	12:21:12	240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859731','4003318620942','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:12	240	[DEBUG]	No parent found
2023-10-13	12:21:12	240	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859731 AND customfield_value = 'stockable'
2023-10-13	12:21:12	240	[DEBUG]	Check product language entry
2023-10-13	12:21:12	240	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859732
2023-10-13	12:21:12	240	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:12	240	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003318620942' AND `virtuemart_product_id` != 1859732
2023-10-13	12:21:12	240	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:12	240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859732, '4003318620942')
2023-10-13	12:21:12	240	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:12	240	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-pliable-bordo-6000k-90-avec-support-sh-6000-90-noir-black-unitaire' AND `virtuemart_product_id` != 1859732
2023-10-13	12:21:12	240	[DEBUG]	Query for ProductLang
2023-10-13	12:21:12	240	[DEBUG]	Executed store
2023-10-13	12:21:12	240	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena pliable Bordo 6000K/90 avec support SH 6000/90 noir / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-pliable-bordo-6000k-90-avec-support-sh-6000-90-noir-black-unitaire' WHERE `virtuemart_product_id` = '1859732'
2023-10-13	12:21:12	240	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_82848_f.jpg
2023-10-13	12:21:12	240	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:12	240	[DEBUG]	Process image file
2023-10-13	12:21:12	240	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:12	240	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:12	240	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_82848_f.jpg
2023-10-13	12:21:12	240	[DEBUG]	Full name target: bcprisme/11_82848_f.jpg
2023-10-13	12:21:13	240	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:13	240	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_82848_f.jpg'
2023-10-13	12:21:13	240	[DEBUG]	Query for Media
2023-10-13	12:21:13	240	[DEBUG]	Executed store
2023-10-13	12:21:13	240	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_82848_f.jpg',`file_url_thumb`='bcprisme/11_82848_f.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409667'
2023-10-13	12:21:13	240	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:13	240	[DEBUG]	Executed store
2023-10-13	12:21:13	240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859732','1409667','1')
2023-10-13	12:21:13	240	[DEBUG]	Store product image relation
2023-10-13	12:21:13	240	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:13	240	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859732 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:13	240	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:13	240	[DEBUG]	Executed store
2023-10-13	12:21:13	240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859732','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:13	240	[DEBUG]	Checking manufacturer
2023-10-13	12:21:13	240	[DEBUG]	Load a row
2023-10-13	12:21:13	240	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:13	240	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:13	240	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:13	240	[DEBUG]	Executed store
2023-10-13	12:21:13	240	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:13	240	[DEBUG]	Manufacturer exists
2023-10-13	12:21:13	240	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:21:13	240	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:13	240	[DEBUG]	Executed store
2023-10-13	12:21:13	240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859732','162')
2023-10-13	12:21:13	240	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:13	240	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:13	240	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859732 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:13	240	[DEBUG]	Store custom available field
2023-10-13	12:21:13	240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859732,3,'',1)
2023-10-13	12:21:13	240	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:13	240	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:21:13	240	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859732 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:13	240	[DEBUG]	Store custom available field
2023-10-13	12:21:13	240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859732,6,'Unitaire',3)
2023-10-13	12:21:13	240	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:13	240	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:13	240	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859731
2023-10-13	12:21:13	240	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:13	240	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859731\":[1859731,8,1,\"choisir la taille\"],\"1859732\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859731
2023-10-13	12:21:13	240	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:13	240	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859732
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:13	241	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field taille
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:13	241	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:13	241	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:13	241	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:13	241	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:13	241	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:13	241	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:13	241	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field published
2023-10-13	12:21:13	241	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:13	241	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field override
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:13	241	[DEBUG]	Use field value for field slug
2023-10-13	12:21:13	241	[DEBUG]	Process line 241
2023-10-13	12:21:13	241	[DEBUG]	Load a row
2023-10-13	12:21:13	241	[DEBUG]	Processing item: A_9663_84
2023-10-13	12:21:13	241	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:13	241	[DEBUG]	Processing product tax
2023-10-13	12:21:13	241	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:13	241	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:13	241	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:13	241	[DEBUG]	Query for Product
2023-10-13	12:21:13	241	[DEBUG]	Executed store
2023-10-13	12:21:13	241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9663_84','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:13	241	[DEBUG]	Check product language entry
2023-10-13	12:21:13	241	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859733
2023-10-13	12:21:13	241	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:13	241	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9663_84' AND `virtuemart_product_id` != 1859733
2023-10-13	12:21:13	241	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:13	241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859733, 'A_9663_84')
2023-10-13	12:21:13	241	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:13	241	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-phantom-8950-180-mit-halter-texfl-noir-black' AND `virtuemart_product_id` != 1859733
2023-10-13	12:21:13	241	[DEBUG]	Query for ProductLang
2023-10-13	12:21:13	241	[DEBUG]	Executed store
2023-10-13	12:21:13	241	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.72952',`product_name`='ABUS Cadena à spirale Phantom 8950/180 mit Halter TexFL noir / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-phantom-8950-180-mit-halter-texfl-noir-black' WHERE `virtuemart_product_id` = '1859733'
2023-10-13	12:21:13	241	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72952_fr.jpg
2023-10-13	12:21:13	241	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:13	241	[DEBUG]	Process image file
2023-10-13	12:21:13	241	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:13	241	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:13	241	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72952_fr.jpg
2023-10-13	12:21:13	241	[DEBUG]	Full name target: bcprisme/11_72952_fr.jpg
2023-10-13	12:21:14	241	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:14	241	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_72952_fr.jpg'
2023-10-13	12:21:14	241	[DEBUG]	Query for Media
2023-10-13	12:21:14	241	[DEBUG]	Executed store
2023-10-13	12:21:14	241	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_72952_fr.jpg',`file_url_thumb`='bcprisme/11_72952_fr.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1516825'
2023-10-13	12:21:14	241	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:14	241	[DEBUG]	Executed store
2023-10-13	12:21:14	241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859733','1516825','1')
2023-10-13	12:21:14	241	[DEBUG]	Store product image relation
2023-10-13	12:21:14	241	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:14	241	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859733 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:14	241	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:14	241	[DEBUG]	Executed store
2023-10-13	12:21:14	241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859733','0','69.6378830083565','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:14	241	[DEBUG]	Checking manufacturer
2023-10-13	12:21:14	241	[DEBUG]	Load a row
2023-10-13	12:21:14	241	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:14	241	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:14	241	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:14	241	[DEBUG]	Executed store
2023-10-13	12:21:14	241	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:14	241	[DEBUG]	Manufacturer exists
2023-10-13	12:21:14	241	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:21:14	241	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:14	241	[DEBUG]	Executed store
2023-10-13	12:21:14	241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859733','162')
2023-10-13	12:21:14	241	[DEBUG]	Find the custom field ID
2023-10-13	12:21:14	241	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:14	241	[DEBUG]	No custom field ID found
2023-10-13	12:21:14	241	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:14	241	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:21:14	241	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859733 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:14	241	[DEBUG]	Store custom available field
2023-10-13	12:21:14	241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859733,3,'0',1)
2023-10-13	12:21:14	241	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:14	241	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:14	241	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859733 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:14	241	[DEBUG]	Store custom available field
2023-10-13	12:21:14	241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859733,6,'choisir la taille',3)
2023-10-13	12:21:14	241	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:14	241	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:14	241	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:14	241	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:14	241	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859733 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:14	241	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:14	241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859733,8,1)
2023-10-13	12:21:14	241	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:14	241	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859733\":[1859733,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859733
2023-10-13	12:21:14	241	[DEBUG]	Checking category
2023-10-13	12:21:14	241	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:14	241	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859733
2023-10-13	12:21:14	241	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:14	241	[DEBUG]	Executed store
2023-10-13	12:21:14	241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859733','7276')
2023-10-13	12:21:14	241	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:14	241	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859733 AND `virtuemart_category_id` NOT IN (7276)
2023-10-13	12:21:14	241	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:14	241	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859733
2023-10-13	12:21:14	242	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:14	242	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:14	242	[DEBUG]	Use field value for field taille
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:14	242	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:14	242	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:14	242	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:14	242	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:14	242	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:14	242	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:14	242	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:14	242	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:14	242	[DEBUG]	Use field value for field published
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:14	242	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field override
2023-10-13	12:21:14	242	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:14	242	[DEBUG]	Use field value for field slug
2023-10-13	12:21:14	242	[DEBUG]	Process line 242
2023-10-13	12:21:14	242	[DEBUG]	Load a row
2023-10-13	12:21:14	242	[DEBUG]	Processing item: 704660266300
2023-10-13	12:21:14	242	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:14	242	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:14	242	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9663_84'
2023-10-13	12:21:14	242	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:14	242	[DEBUG]	Processing product tax
2023-10-13	12:21:14	242	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:14	242	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:14	242	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:14	242	[DEBUG]	Query for Product
2023-10-13	12:21:14	242	[DEBUG]	Executed store
2023-10-13	12:21:14	242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859733','704660266300','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:14	242	[DEBUG]	No parent found
2023-10-13	12:21:14	242	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859733 AND customfield_value = 'stockable'
2023-10-13	12:21:14	242	[DEBUG]	Check product language entry
2023-10-13	12:21:14	242	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859734
2023-10-13	12:21:14	242	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:14	242	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '704660266300' AND `virtuemart_product_id` != 1859734
2023-10-13	12:21:14	242	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:14	242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859734, '704660266300')
2023-10-13	12:21:14	242	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:14	242	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-cadena-a-spirale-phantom-8950-180-mit-halter-texfl-noir-black-unitaire' AND `virtuemart_product_id` != 1859734
2023-10-13	12:21:14	242	[DEBUG]	Query for ProductLang
2023-10-13	12:21:14	242	[DEBUG]	Executed store
2023-10-13	12:21:14	242	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Cadena à spirale Phantom 8950/180 mit Halter TexFL noir / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-cadena-a-spirale-phantom-8950-180-mit-halter-texfl-noir-black-unitaire' WHERE `virtuemart_product_id` = '1859734'
2023-10-13	12:21:14	242	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72952_fr.jpg
2023-10-13	12:21:14	242	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:14	242	[DEBUG]	Process image file
2023-10-13	12:21:14	242	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:14	242	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:14	242	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11_72952_fr.jpg
2023-10-13	12:21:14	242	[DEBUG]	Full name target: bcprisme/11_72952_fr.jpg
2023-10-13	12:21:15	242	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:15	242	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11_72952_fr.jpg'
2023-10-13	12:21:15	242	[DEBUG]	Query for Media
2023-10-13	12:21:15	242	[DEBUG]	Executed store
2023-10-13	12:21:15	242	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11_72952_fr.jpg',`file_url_thumb`='bcprisme/11_72952_fr.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1516825'
2023-10-13	12:21:15	242	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:15	242	[DEBUG]	Executed store
2023-10-13	12:21:15	242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859734','1516825','1')
2023-10-13	12:21:15	242	[DEBUG]	Store product image relation
2023-10-13	12:21:15	242	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:15	242	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859734 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:15	242	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:15	242	[DEBUG]	Executed store
2023-10-13	12:21:15	242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859734','0','69.6378830083565','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:15	242	[DEBUG]	Checking manufacturer
2023-10-13	12:21:15	242	[DEBUG]	Load a row
2023-10-13	12:21:15	242	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:15	242	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:15	242	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:15	242	[DEBUG]	Executed store
2023-10-13	12:21:15	242	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	12:21:15	242	[DEBUG]	Manufacturer exists
2023-10-13	12:21:15	242	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	12:21:15	242	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:15	242	[DEBUG]	Executed store
2023-10-13	12:21:15	242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859734','162')
2023-10-13	12:21:15	242	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:15	242	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:15	242	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859734 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:15	242	[DEBUG]	Store custom available field
2023-10-13	12:21:15	242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859734,3,'',1)
2023-10-13	12:21:15	242	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:15	242	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:21:15	242	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859734 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:15	242	[DEBUG]	Store custom available field
2023-10-13	12:21:15	242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859734,6,'Unitaire',3)
2023-10-13	12:21:15	242	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:15	242	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:15	242	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859733
2023-10-13	12:21:15	242	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:15	242	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859733\":[1859733,8,1,\"choisir la taille\"],\"1859734\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859733
2023-10-13	12:21:15	242	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:15	242	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859734
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:15	243	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field taille
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:15	243	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:15	243	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:15	243	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:15	243	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:15	243	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:15	243	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:15	243	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field published
2023-10-13	12:21:15	243	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:15	243	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field override
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:15	243	[DEBUG]	Use field value for field slug
2023-10-13	12:21:15	243	[DEBUG]	Process line 243
2023-10-13	12:21:15	243	[DEBUG]	Load a row
2023-10-13	12:21:15	243	[DEBUG]	Processing item: A_8338_1
2023-10-13	12:21:15	243	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:15	243	[DEBUG]	Processing product tax
2023-10-13	12:21:15	243	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:15	243	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:15	243	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:15	243	[DEBUG]	Query for Product
2023-10-13	12:21:15	243	[DEBUG]	Executed store
2023-10-13	12:21:15	243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8338_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:15	243	[DEBUG]	Check product language entry
2023-10-13	12:21:15	243	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859735
2023-10-13	12:21:15	243	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:15	243	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8338_1' AND `virtuemart_product_id` != 1859735
2023-10-13	12:21:15	243	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:15	243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859735, 'A_8338_1')
2023-10-13	12:21:15	243	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:15	243	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'quarq-capteur-puissance-powermeter-spider-xx1-eagle-boost-quarq-dzero-axs-dub-noir' AND `virtuemart_product_id` != 1859735
2023-10-13	12:21:15	243	[DEBUG]	Query for ProductLang
2023-10-13	12:21:15	243	[DEBUG]	Executed store
2023-10-13	12:21:15	243	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7556Z',`product_name`='QUARQ CAPTEUR PUISSANCE Powermeter Spider XX1 Eagle BOOST Quarq DZero AXS DUB / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='quarq-capteur-puissance-powermeter-spider-xx1-eagle-boost-quarq-dzero-axs-dub-noir' WHERE `virtuemart_product_id` = '1859735'
2023-10-13	12:21:15	243	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36974_capteur_puissance_powermeter_spider_xx1_eagle_boost_quarq_dzero_axs_dub.jpg
2023-10-13	12:21:15	243	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:15	243	[DEBUG]	Process image file
2023-10-13	12:21:15	243	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:15	243	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:15	243	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36974_capteur_puissance_powermeter_spider_xx1_eagle_boost_quarq_dzero_axs_dub.jpg
2023-10-13	12:21:15	243	[DEBUG]	Full name target: bcprisme/36974_capteur_puissance_powermeter_spider_xx1_eagle_boost_quarq_dzero_axs_dub.jpg
2023-10-13	12:21:16	243	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:16	243	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36974_capteur_puissance_powermeter_spider_xx1_eagle_boost_quarq_dzero_axs_dub.jpg'
2023-10-13	12:21:16	243	[DEBUG]	Query for Media
2023-10-13	12:21:16	243	[DEBUG]	Executed store
2023-10-13	12:21:16	243	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36974_capteur_puissance_powermeter_spider_xx1_eagle_boost_quarq_dzero_axs_dub.jpg',`file_url_thumb`='bcprisme/36974_capteur_puissance_powermeter_spider_xx1_eagle_boost_quarq_dzero_axs_dub.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1340234'
2023-10-13	12:21:16	243	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:16	243	[DEBUG]	Executed store
2023-10-13	12:21:16	243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859735','1340234','1')
2023-10-13	12:21:16	243	[DEBUG]	Store product image relation
2023-10-13	12:21:16	243	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:16	243	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859735 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:16	243	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:16	243	[DEBUG]	Executed store
2023-10-13	12:21:16	243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859735','0','649.025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:16	243	[DEBUG]	Checking manufacturer
2023-10-13	12:21:16	243	[DEBUG]	Load a row
2023-10-13	12:21:16	243	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:16	243	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '263'
2023-10-13	12:21:16	243	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:16	243	[DEBUG]	Executed store
2023-10-13	12:21:16	243	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='133',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='133' WHERE `virtuemart_manufacturer_id` = '263'
2023-10-13	12:21:16	243	[DEBUG]	Manufacturer exists
2023-10-13	12:21:16	243	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 263
2023-10-13	12:21:16	243	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:16	243	[DEBUG]	Executed store
2023-10-13	12:21:16	243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859735','263')
2023-10-13	12:21:16	243	[DEBUG]	Find the custom field ID
2023-10-13	12:21:16	243	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:16	243	[DEBUG]	No custom field ID found
2023-10-13	12:21:16	243	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:16	243	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:21:16	243	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859735 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:16	243	[DEBUG]	Store custom available field
2023-10-13	12:21:16	243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859735,3,'0',1)
2023-10-13	12:21:16	243	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:16	243	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:16	243	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859735 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:16	243	[DEBUG]	Store custom available field
2023-10-13	12:21:16	243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859735,6,'choisir la taille',3)
2023-10-13	12:21:16	243	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:16	243	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:16	243	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:16	243	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:16	243	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859735 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:16	243	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:16	243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859735,8,1)
2023-10-13	12:21:16	243	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:16	243	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859735\":[1859735,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859735
2023-10-13	12:21:16	243	[DEBUG]	Checking category
2023-10-13	12:21:16	243	[DEBUG]	Check if category path exists: CAPTEUR DE PUISSANCE
2023-10-13	12:21:16	243	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CAPTEUR DE PUISSANCE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:21:16	243	[DEBUG]	Check if category path exists: CAPTEUR PUISSANCE
2023-10-13	12:21:16	243	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CAPTEUR PUISSANCE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7277
2023-10-13	12:21:16	243	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:16	243	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859735
2023-10-13	12:21:16	243	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:16	243	[DEBUG]	Executed store
2023-10-13	12:21:16	243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859735','7278')
2023-10-13	12:21:16	243	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:16	243	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859735 AND `virtuemart_category_id` NOT IN (7278)
2023-10-13	12:21:16	243	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:16	243	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859735
2023-10-13	12:21:16	244	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:16	244	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:16	244	[DEBUG]	Use field value for field taille
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:16	244	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:16	244	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:16	244	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:16	244	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:16	244	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:16	244	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:16	244	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:16	244	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:16	244	[DEBUG]	Use field value for field published
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:16	244	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field override
2023-10-13	12:21:16	244	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:16	244	[DEBUG]	Use field value for field slug
2023-10-13	12:21:16	244	[DEBUG]	Process line 244
2023-10-13	12:21:16	244	[DEBUG]	Load a row
2023-10-13	12:21:16	244	[DEBUG]	Processing item: 710845875618
2023-10-13	12:21:16	244	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:16	244	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:16	244	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8338_1'
2023-10-13	12:21:16	244	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:16	244	[DEBUG]	Processing product tax
2023-10-13	12:21:16	244	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:16	244	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:16	244	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:16	244	[DEBUG]	Query for Product
2023-10-13	12:21:16	244	[DEBUG]	Executed store
2023-10-13	12:21:16	244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859735','710845875618','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:16	244	[DEBUG]	No parent found
2023-10-13	12:21:16	244	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859735 AND customfield_value = 'stockable'
2023-10-13	12:21:16	244	[DEBUG]	Check product language entry
2023-10-13	12:21:16	244	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859736
2023-10-13	12:21:16	244	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:16	244	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845875618' AND `virtuemart_product_id` != 1859736
2023-10-13	12:21:16	244	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:16	244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859736, '710845875618')
2023-10-13	12:21:16	244	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:16	244	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'quarq-capteur-puissance-powermeter-spider-xx1-eagle-boost-quarq-dzero-axs-dub-noir-unitaire' AND `virtuemart_product_id` != 1859736
2023-10-13	12:21:16	244	[DEBUG]	Query for ProductLang
2023-10-13	12:21:16	244	[DEBUG]	Executed store
2023-10-13	12:21:16	244	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='QUARQ CAPTEUR PUISSANCE Powermeter Spider XX1 Eagle BOOST Quarq DZero AXS DUB / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='quarq-capteur-puissance-powermeter-spider-xx1-eagle-boost-quarq-dzero-axs-dub-noir-unitaire' WHERE `virtuemart_product_id` = '1859736'
2023-10-13	12:21:16	244	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36974_capteur_puissance_powermeter_spider_xx1_eagle_boost_quarq_dzero_axs_dub.jpg
2023-10-13	12:21:16	244	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:16	244	[DEBUG]	Process image file
2023-10-13	12:21:16	244	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:16	244	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:16	244	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36974_capteur_puissance_powermeter_spider_xx1_eagle_boost_quarq_dzero_axs_dub.jpg
2023-10-13	12:21:16	244	[DEBUG]	Full name target: bcprisme/36974_capteur_puissance_powermeter_spider_xx1_eagle_boost_quarq_dzero_axs_dub.jpg
2023-10-13	12:21:17	244	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:17	244	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36974_capteur_puissance_powermeter_spider_xx1_eagle_boost_quarq_dzero_axs_dub.jpg'
2023-10-13	12:21:17	244	[DEBUG]	Query for Media
2023-10-13	12:21:17	244	[DEBUG]	Executed store
2023-10-13	12:21:17	244	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36974_capteur_puissance_powermeter_spider_xx1_eagle_boost_quarq_dzero_axs_dub.jpg',`file_url_thumb`='bcprisme/36974_capteur_puissance_powermeter_spider_xx1_eagle_boost_quarq_dzero_axs_dub.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1340234'
2023-10-13	12:21:17	244	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:17	244	[DEBUG]	Executed store
2023-10-13	12:21:17	244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859736','1340234','1')
2023-10-13	12:21:17	244	[DEBUG]	Store product image relation
2023-10-13	12:21:17	244	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:17	244	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859736 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:17	244	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:17	244	[DEBUG]	Executed store
2023-10-13	12:21:17	244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859736','0','649.025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:17	244	[DEBUG]	Checking manufacturer
2023-10-13	12:21:17	244	[DEBUG]	Load a row
2023-10-13	12:21:17	244	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:17	244	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '263'
2023-10-13	12:21:17	244	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:17	244	[DEBUG]	Executed store
2023-10-13	12:21:17	244	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='133',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='133' WHERE `virtuemart_manufacturer_id` = '263'
2023-10-13	12:21:17	244	[DEBUG]	Manufacturer exists
2023-10-13	12:21:17	244	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 263
2023-10-13	12:21:17	244	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:17	244	[DEBUG]	Executed store
2023-10-13	12:21:17	244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859736','263')
2023-10-13	12:21:17	244	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:17	244	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:17	244	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859736 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:17	244	[DEBUG]	Store custom available field
2023-10-13	12:21:17	244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859736,3,'',1)
2023-10-13	12:21:17	244	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:17	244	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:21:17	244	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859736 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:17	244	[DEBUG]	Store custom available field
2023-10-13	12:21:17	244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859736,6,'Unitaire',3)
2023-10-13	12:21:17	244	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:17	244	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:17	244	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859735
2023-10-13	12:21:17	244	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:17	244	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859735\":[1859735,8,1,\"choisir la taille\"],\"1859736\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859735
2023-10-13	12:21:17	244	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:17	244	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859736
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:17	245	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field taille
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:17	245	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:17	245	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:17	245	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:17	245	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:17	245	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:17	245	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:17	245	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field published
2023-10-13	12:21:17	245	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:17	245	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field override
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:17	245	[DEBUG]	Use field value for field slug
2023-10-13	12:21:17	245	[DEBUG]	Process line 245
2023-10-13	12:21:17	245	[DEBUG]	Load a row
2023-10-13	12:21:17	245	[DEBUG]	Processing item: A_9668_731
2023-10-13	12:21:17	245	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:17	245	[DEBUG]	Processing product tax
2023-10-13	12:21:17	245	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:17	245	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:17	245	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:17	245	[DEBUG]	Query for Product
2023-10-13	12:21:17	245	[DEBUG]	Executed store
2023-10-13	12:21:17	245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9668_731','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:17	245	[DEBUG]	Check product language entry
2023-10-13	12:21:17	245	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859737
2023-10-13	12:21:17	245	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:17	245	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9668_731' AND `virtuemart_product_id` != 1859737
2023-10-13	12:21:17	245	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:17	245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859737, 'A_9668_731')
2023-10-13	12:21:17	245	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:17	245	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'quarq-removal-tool-for-transmiossion-power-meter-chainrings-one-size-n-a' AND `virtuemart_product_id` != 1859737
2023-10-13	12:21:17	245	[DEBUG]	Query for ProductLang
2023-10-13	12:21:17	245	[DEBUG]	Executed store
2023-10-13	12:21:17	245	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7581H',`product_name`='QUARQ Removal Tool for Transmiossion Power Meter Chainrings one size / N/A',`metadesc`='',`metakey`='',`customtitle`='',`slug`='quarq-removal-tool-for-transmiossion-power-meter-chainrings-one-size-n-a' WHERE `virtuemart_product_id` = '1859737'
2023-10-13	12:21:17	245	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/18f781d5-b137-4cdc-a89b-332f9deb0cc3.png has not been found.
2023-10-13	12:21:17	245	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:17	245	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859737 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:17	245	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:17	245	[DEBUG]	Executed store
2023-10-13	12:21:17	245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859737','0','67.6880222841226','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:17	245	[DEBUG]	Checking manufacturer
2023-10-13	12:21:17	245	[DEBUG]	Load a row
2023-10-13	12:21:17	245	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:17	245	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '263'
2023-10-13	12:21:17	245	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:17	245	[DEBUG]	Executed store
2023-10-13	12:21:17	245	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='133',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='133' WHERE `virtuemart_manufacturer_id` = '263'
2023-10-13	12:21:17	245	[DEBUG]	Manufacturer exists
2023-10-13	12:21:17	245	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 263
2023-10-13	12:21:17	245	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:17	245	[DEBUG]	Executed store
2023-10-13	12:21:17	245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859737','263')
2023-10-13	12:21:17	245	[DEBUG]	Find the custom field ID
2023-10-13	12:21:17	245	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:17	245	[DEBUG]	No custom field ID found
2023-10-13	12:21:17	245	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:17	245	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:21:17	245	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859737 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:17	245	[DEBUG]	Store custom available field
2023-10-13	12:21:17	245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859737,3,'0',1)
2023-10-13	12:21:17	245	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:17	245	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:17	245	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859737 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:17	245	[DEBUG]	Store custom available field
2023-10-13	12:21:17	245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859737,6,'choisir la taille',3)
2023-10-13	12:21:17	245	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:17	245	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:17	245	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:17	245	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:17	245	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859737 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:17	245	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:17	245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859737,8,1)
2023-10-13	12:21:17	245	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:17	245	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859737\":[1859737,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859737
2023-10-13	12:21:17	245	[DEBUG]	Checking category
2023-10-13	12:21:17	245	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:17	245	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859737
2023-10-13	12:21:17	245	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:17	245	[DEBUG]	Executed store
2023-10-13	12:21:17	245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859737','7278')
2023-10-13	12:21:17	245	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:17	245	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859737 AND `virtuemart_category_id` NOT IN (7278)
2023-10-13	12:21:17	245	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:17	245	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859737
2023-10-13	12:21:17	246	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:17	246	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:17	246	[DEBUG]	Use field value for field taille
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:17	246	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:17	246	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:17	246	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:17	246	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:17	246	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:17	246	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:17	246	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:17	246	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:17	246	[DEBUG]	Use field value for field published
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:17	246	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field override
2023-10-13	12:21:17	246	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:17	246	[DEBUG]	Use field value for field slug
2023-10-13	12:21:17	246	[DEBUG]	Process line 246
2023-10-13	12:21:17	246	[DEBUG]	Load a row
2023-10-13	12:21:17	246	[DEBUG]	Processing item: 710845887383
2023-10-13	12:21:17	246	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:17	246	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:17	246	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9668_731'
2023-10-13	12:21:17	246	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:17	246	[DEBUG]	Processing product tax
2023-10-13	12:21:17	246	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:17	246	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:17	246	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:17	246	[DEBUG]	Query for Product
2023-10-13	12:21:17	246	[DEBUG]	Executed store
2023-10-13	12:21:17	246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859737','710845887383','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:17	246	[DEBUG]	No parent found
2023-10-13	12:21:17	246	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859737 AND customfield_value = 'stockable'
2023-10-13	12:21:17	246	[DEBUG]	Check product language entry
2023-10-13	12:21:17	246	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859738
2023-10-13	12:21:17	246	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:17	246	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845887383' AND `virtuemart_product_id` != 1859738
2023-10-13	12:21:17	246	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:17	246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859738, '710845887383')
2023-10-13	12:21:17	246	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:17	246	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'quarq-removal-tool-for-transmiossion-power-meter-chainrings-one-size-n-a-unitaire' AND `virtuemart_product_id` != 1859738
2023-10-13	12:21:17	246	[DEBUG]	Query for ProductLang
2023-10-13	12:21:17	246	[DEBUG]	Executed store
2023-10-13	12:21:17	246	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='QUARQ Removal Tool for Transmiossion Power Meter Chainrings one size / N/A (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='quarq-removal-tool-for-transmiossion-power-meter-chainrings-one-size-n-a-unitaire' WHERE `virtuemart_product_id` = '1859738'
2023-10-13	12:21:17	246	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/18f781d5-b137-4cdc-a89b-332f9deb0cc3.png has not been found.
2023-10-13	12:21:17	246	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:17	246	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859738 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:17	246	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:17	246	[DEBUG]	Executed store
2023-10-13	12:21:17	246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859738','0','67.6880222841226','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:17	246	[DEBUG]	Checking manufacturer
2023-10-13	12:21:17	246	[DEBUG]	Load a row
2023-10-13	12:21:17	246	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:17	246	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '263'
2023-10-13	12:21:17	246	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:17	246	[DEBUG]	Executed store
2023-10-13	12:21:17	246	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='133',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='133' WHERE `virtuemart_manufacturer_id` = '263'
2023-10-13	12:21:17	246	[DEBUG]	Manufacturer exists
2023-10-13	12:21:17	246	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 263
2023-10-13	12:21:17	246	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:17	246	[DEBUG]	Executed store
2023-10-13	12:21:17	246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859738','263')
2023-10-13	12:21:17	246	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:17	246	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:17	246	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859738 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:17	246	[DEBUG]	Store custom available field
2023-10-13	12:21:17	246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859738,3,'',1)
2023-10-13	12:21:17	246	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:17	246	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:21:17	246	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859738 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:17	246	[DEBUG]	Store custom available field
2023-10-13	12:21:17	246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859738,6,'Unitaire',3)
2023-10-13	12:21:17	246	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:17	246	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:17	246	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859737
2023-10-13	12:21:17	246	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:17	246	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859737\":[1859737,8,1,\"choisir la taille\"],\"1859738\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859737
2023-10-13	12:21:17	246	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:17	246	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859738
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:17	247	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field taille
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:17	247	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:17	247	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:17	247	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:17	247	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:17	247	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:17	247	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field published
2023-10-13	12:21:17	247	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:17	247	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field override
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:17	247	[DEBUG]	Use field value for field slug
2023-10-13	12:21:17	247	[DEBUG]	Process line 247
2023-10-13	12:21:17	247	[DEBUG]	Load a row
2023-10-13	12:21:17	247	[DEBUG]	Processing item: A_7583_1
2023-10-13	12:21:17	247	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:17	247	[DEBUG]	Processing product tax
2023-10-13	12:21:17	247	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:17	247	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:17	247	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:17	247	[DEBUG]	Query for Product
2023-10-13	12:21:17	247	[DEBUG]	Executed store
2023-10-13	12:21:17	247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7583_1','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:17	247	[DEBUG]	Check product language entry
2023-10-13	12:21:17	247	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859739
2023-10-13	12:21:17	247	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:17	247	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7583_1' AND `virtuemart_product_id` != 1859739
2023-10-13	12:21:17	247	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:17	247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859739, 'A_7583_1')
2023-10-13	12:21:17	247	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:17	247	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-couvre-casque-agu-commuter-compact-noir' AND `virtuemart_product_id` != 1859739
2023-10-13	12:21:17	247	[DEBUG]	Query for ProductLang
2023-10-13	12:21:17	247	[DEBUG]	Executed store
2023-10-13	12:21:17	247	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Polyester recyclé, résistant au vent, imperméable et respirant, 2,5 couches<br>Colonne d\'eau 10000 mm<br>Cordon élastique ajustable<br>Éléments réfléchissants pour une meilleure visibilité par faible luminosité<br>Marque:AGUSecteur d\'utilisation:Comfort/City, E-BikeDescription du produit:Couvre-casqueModèle:CommuterTailles:onesize<br>N° art fourn : 35.80185',`product_name`='Agu Couvre casque AGU Commuter Compact  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-couvre-casque-agu-commuter-compact-noir' WHERE `virtuemart_product_id` = '1859739'
2023-10-13	12:21:17	247	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35011_couvre_casque_agu_commuter_compact_.jpg
2023-10-13	12:21:17	247	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:17	247	[DEBUG]	Process image file
2023-10-13	12:21:17	247	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:17	247	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:17	247	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35011_couvre_casque_agu_commuter_compact_.jpg
2023-10-13	12:21:17	247	[DEBUG]	Full name target: bcprisme/35011_couvre_casque_agu_commuter_compact_.jpg
2023-10-13	12:21:18	247	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:18	247	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35011_couvre_casque_agu_commuter_compact_.jpg'
2023-10-13	12:21:18	247	[DEBUG]	Query for Media
2023-10-13	12:21:18	247	[DEBUG]	Executed store
2023-10-13	12:21:18	247	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35011_couvre_casque_agu_commuter_compact_.jpg',`file_url_thumb`='bcprisme/35011_couvre_casque_agu_commuter_compact_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435067'
2023-10-13	12:21:18	247	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:18	247	[DEBUG]	Executed store
2023-10-13	12:21:18	247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859739','435067','1')
2023-10-13	12:21:18	247	[DEBUG]	Store product image relation
2023-10-13	12:21:18	247	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:18	247	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859739 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:18	247	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:18	247	[DEBUG]	Executed store
2023-10-13	12:21:18	247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859739','0','27.8551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:18	247	[DEBUG]	Checking manufacturer
2023-10-13	12:21:18	247	[DEBUG]	Load a row
2023-10-13	12:21:18	247	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:18	247	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	12:21:18	247	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:18	247	[DEBUG]	Executed store
2023-10-13	12:21:18	247	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	12:21:18	247	[DEBUG]	Manufacturer exists
2023-10-13	12:21:18	247	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	12:21:18	247	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:18	247	[DEBUG]	Executed store
2023-10-13	12:21:18	247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859739','45')
2023-10-13	12:21:18	247	[DEBUG]	Find the custom field ID
2023-10-13	12:21:18	247	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:18	247	[DEBUG]	No custom field ID found
2023-10-13	12:21:18	247	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:18	247	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:21:18	247	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859739 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:18	247	[DEBUG]	Store custom available field
2023-10-13	12:21:18	247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859739,3,'9.8725',1)
2023-10-13	12:21:18	247	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:18	247	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:18	247	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859739 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:18	247	[DEBUG]	Store custom available field
2023-10-13	12:21:18	247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859739,6,'choisir la taille',3)
2023-10-13	12:21:18	247	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:18	247	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:18	247	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:18	247	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:18	247	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859739 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:18	247	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:18	247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859739,8,1)
2023-10-13	12:21:18	247	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:18	247	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859739\":[1859739,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859739
2023-10-13	12:21:18	247	[DEBUG]	Checking category
2023-10-13	12:21:18	247	[DEBUG]	Check if category path exists: CASQUES - HELME
2023-10-13	12:21:18	247	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASQUES - HELME' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:21:18	247	[DEBUG]	Check if category path exists: ACCESSOIRES CASQUES - HELME ZUBEHÖRTEILE
2023-10-13	12:21:18	247	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'ACCESSOIRES CASQUES - HELME ZUBEHÖRTEILE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7279
2023-10-13	12:21:18	247	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:18	247	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859739
2023-10-13	12:21:18	247	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:18	247	[DEBUG]	Executed store
2023-10-13	12:21:18	247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859739','7280')
2023-10-13	12:21:18	247	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:18	247	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859739 AND `virtuemart_category_id` NOT IN (7280)
2023-10-13	12:21:18	247	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:18	247	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859739
2023-10-13	12:21:18	248	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:18	248	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:18	248	[DEBUG]	Use field value for field taille
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:18	248	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:18	248	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:18	248	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:18	248	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:18	248	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:18	248	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:18	248	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:18	248	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:18	248	[DEBUG]	Use field value for field published
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:18	248	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field override
2023-10-13	12:21:18	248	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:18	248	[DEBUG]	Use field value for field slug
2023-10-13	12:21:18	248	[DEBUG]	Process line 248
2023-10-13	12:21:18	248	[DEBUG]	Load a row
2023-10-13	12:21:18	248	[DEBUG]	Processing item: 1000000129281
2023-10-13	12:21:18	248	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:18	248	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:18	248	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7583_1'
2023-10-13	12:21:18	248	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:18	248	[DEBUG]	Processing product tax
2023-10-13	12:21:18	248	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:18	248	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:18	248	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:18	248	[DEBUG]	Query for Product
2023-10-13	12:21:18	248	[DEBUG]	Executed store
2023-10-13	12:21:18	248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859739','1000000129281','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:18	248	[DEBUG]	No parent found
2023-10-13	12:21:18	248	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859739 AND customfield_value = 'stockable'
2023-10-13	12:21:18	248	[DEBUG]	Check product language entry
2023-10-13	12:21:18	248	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859740
2023-10-13	12:21:18	248	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:18	248	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000129281' AND `virtuemart_product_id` != 1859740
2023-10-13	12:21:18	248	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:18	248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859740, '1000000129281')
2023-10-13	12:21:18	248	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:18	248	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-couvre-casque-agu-commuter-compact-noir-unitaire' AND `virtuemart_product_id` != 1859740
2023-10-13	12:21:18	248	[DEBUG]	Query for ProductLang
2023-10-13	12:21:18	248	[DEBUG]	Executed store
2023-10-13	12:21:18	248	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Agu Couvre casque AGU Commuter Compact  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-couvre-casque-agu-commuter-compact-noir-unitaire' WHERE `virtuemart_product_id` = '1859740'
2023-10-13	12:21:18	248	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35011_couvre_casque_agu_commuter_compact_.jpg
2023-10-13	12:21:18	248	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:18	248	[DEBUG]	Process image file
2023-10-13	12:21:18	248	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:18	248	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:18	248	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35011_couvre_casque_agu_commuter_compact_.jpg
2023-10-13	12:21:18	248	[DEBUG]	Full name target: bcprisme/35011_couvre_casque_agu_commuter_compact_.jpg
2023-10-13	12:21:19	248	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:19	248	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35011_couvre_casque_agu_commuter_compact_.jpg'
2023-10-13	12:21:19	248	[DEBUG]	Query for Media
2023-10-13	12:21:19	248	[DEBUG]	Executed store
2023-10-13	12:21:19	248	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35011_couvre_casque_agu_commuter_compact_.jpg',`file_url_thumb`='bcprisme/35011_couvre_casque_agu_commuter_compact_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435067'
2023-10-13	12:21:19	248	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:19	248	[DEBUG]	Executed store
2023-10-13	12:21:19	248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859740','435067','1')
2023-10-13	12:21:19	248	[DEBUG]	Store product image relation
2023-10-13	12:21:19	248	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:19	248	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859740 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:19	248	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:19	248	[DEBUG]	Executed store
2023-10-13	12:21:19	248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859740','0','27.8551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:19	248	[DEBUG]	Checking manufacturer
2023-10-13	12:21:19	248	[DEBUG]	Load a row
2023-10-13	12:21:19	248	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:19	248	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	12:21:19	248	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:19	248	[DEBUG]	Executed store
2023-10-13	12:21:19	248	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	12:21:19	248	[DEBUG]	Manufacturer exists
2023-10-13	12:21:19	248	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	12:21:19	248	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:19	248	[DEBUG]	Executed store
2023-10-13	12:21:19	248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859740','45')
2023-10-13	12:21:19	248	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:19	248	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:19	248	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859740 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:19	248	[DEBUG]	Store custom available field
2023-10-13	12:21:19	248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859740,3,'',1)
2023-10-13	12:21:19	248	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:19	248	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:21:19	248	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859740 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:19	248	[DEBUG]	Store custom available field
2023-10-13	12:21:19	248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859740,6,'Unitaire',3)
2023-10-13	12:21:19	248	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:19	248	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:19	248	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859739
2023-10-13	12:21:19	248	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:19	248	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859739\":[1859739,8,1,\"choisir la taille\"],\"1859740\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859739
2023-10-13	12:21:19	248	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:19	248	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859740
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:19	249	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field taille
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:19	249	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:19	249	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:19	249	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:19	249	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:19	249	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:19	249	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field published
2023-10-13	12:21:19	249	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:19	249	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field override
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:19	249	[DEBUG]	Use field value for field slug
2023-10-13	12:21:19	249	[DEBUG]	Process line 249
2023-10-13	12:21:19	249	[DEBUG]	Load a row
2023-10-13	12:21:19	249	[DEBUG]	Processing item: A_7583_525
2023-10-13	12:21:19	249	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:19	249	[DEBUG]	Processing product tax
2023-10-13	12:21:19	249	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:19	249	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:19	249	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:19	249	[DEBUG]	Query for Product
2023-10-13	12:21:19	249	[DEBUG]	Executed store
2023-10-13	12:21:19	249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7583_525','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:19	249	[DEBUG]	Check product language entry
2023-10-13	12:21:19	249	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859741
2023-10-13	12:21:19	249	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:19	249	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7583_525' AND `virtuemart_product_id` != 1859741
2023-10-13	12:21:19	249	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:19	249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859741, 'A_7583_525')
2023-10-13	12:21:19	249	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:19	249	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-couvre-casque-agu-commuter-compact-jaune-fluo' AND `virtuemart_product_id` != 1859741
2023-10-13	12:21:19	249	[DEBUG]	Query for ProductLang
2023-10-13	12:21:19	249	[DEBUG]	Executed store
2023-10-13	12:21:19	249	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Polyester recyclé, résistant au vent, imperméable et respirant, 2,5 couches<br>Colonne d\'eau 10000 mm<br>Cordon élastique ajustable<br>Éléments réfléchissants pour une meilleure visibilité par faible luminosité<br>Marque:AGUSecteur d\'utilisation:Comfort/City, E-BikeDescription du produit:Couvre-casqueModèle:CommuterTailles:onesize<br>N° art fourn : 35.80185',`product_name`='Agu Couvre casque AGU Commuter Compact  / Jaune Fluo',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-couvre-casque-agu-commuter-compact-jaune-fluo' WHERE `virtuemart_product_id` = '1859741'
2023-10-13	12:21:19	249	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35_80185.jpg
2023-10-13	12:21:19	249	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:19	249	[DEBUG]	Process image file
2023-10-13	12:21:19	249	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:19	249	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:19	249	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35_80185.jpg
2023-10-13	12:21:19	249	[DEBUG]	Full name target: bcprisme/35_80185.jpg
2023-10-13	12:21:20	249	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:20	249	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35_80185.jpg'
2023-10-13	12:21:20	249	[DEBUG]	Query for Media
2023-10-13	12:21:20	249	[DEBUG]	Executed store
2023-10-13	12:21:20	249	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35_80185.jpg',`file_url_thumb`='bcprisme/35_80185.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435069'
2023-10-13	12:21:20	249	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:20	249	[DEBUG]	Executed store
2023-10-13	12:21:20	249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859741','435069','1')
2023-10-13	12:21:20	249	[DEBUG]	Store product image relation
2023-10-13	12:21:20	249	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:20	249	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859741 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:20	249	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:20	249	[DEBUG]	Executed store
2023-10-13	12:21:20	249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859741','0','27.8551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:20	249	[DEBUG]	Checking manufacturer
2023-10-13	12:21:20	249	[DEBUG]	Load a row
2023-10-13	12:21:20	249	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:20	249	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	12:21:20	249	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:20	249	[DEBUG]	Executed store
2023-10-13	12:21:20	249	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	12:21:20	249	[DEBUG]	Manufacturer exists
2023-10-13	12:21:20	249	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	12:21:20	249	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:20	249	[DEBUG]	Executed store
2023-10-13	12:21:20	249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859741','45')
2023-10-13	12:21:20	249	[DEBUG]	Find the custom field ID
2023-10-13	12:21:20	249	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:20	249	[DEBUG]	No custom field ID found
2023-10-13	12:21:20	249	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:20	249	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:21:20	249	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859741 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:20	249	[DEBUG]	Store custom available field
2023-10-13	12:21:20	249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859741,3,'9.8725',1)
2023-10-13	12:21:20	249	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:20	249	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:20	249	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859741 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:20	249	[DEBUG]	Store custom available field
2023-10-13	12:21:20	249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859741,6,'choisir la taille',3)
2023-10-13	12:21:20	249	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:20	249	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:20	249	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:20	249	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:20	249	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859741 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:20	249	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:20	249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859741,8,1)
2023-10-13	12:21:20	249	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:20	249	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859741\":[1859741,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859741
2023-10-13	12:21:20	249	[DEBUG]	Checking category
2023-10-13	12:21:20	249	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:20	249	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859741
2023-10-13	12:21:20	249	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:20	249	[DEBUG]	Executed store
2023-10-13	12:21:20	249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859741','7280')
2023-10-13	12:21:20	249	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:20	249	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859741 AND `virtuemart_category_id` NOT IN (7280)
2023-10-13	12:21:20	249	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:20	249	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859741
2023-10-13	12:21:20	250	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:20	250	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:20	250	[DEBUG]	Use field value for field taille
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:20	250	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:20	250	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:20	250	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:20	250	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:20	250	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:20	250	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:20	250	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:20	250	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:20	250	[DEBUG]	Use field value for field published
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:20	250	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field override
2023-10-13	12:21:20	250	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:20	250	[DEBUG]	Use field value for field slug
2023-10-13	12:21:20	250	[DEBUG]	Process line 250
2023-10-13	12:21:20	250	[DEBUG]	Load a row
2023-10-13	12:21:20	250	[DEBUG]	Processing item: 1000000129298
2023-10-13	12:21:20	250	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:20	250	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:20	250	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7583_525'
2023-10-13	12:21:20	250	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:20	250	[DEBUG]	Processing product tax
2023-10-13	12:21:20	250	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:20	250	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:20	250	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:20	250	[DEBUG]	Query for Product
2023-10-13	12:21:20	250	[DEBUG]	Executed store
2023-10-13	12:21:20	250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859741','1000000129298','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:20	250	[DEBUG]	No parent found
2023-10-13	12:21:20	250	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859741 AND customfield_value = 'stockable'
2023-10-13	12:21:20	250	[DEBUG]	Check product language entry
2023-10-13	12:21:20	250	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859742
2023-10-13	12:21:20	250	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:20	250	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000129298' AND `virtuemart_product_id` != 1859742
2023-10-13	12:21:20	250	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:20	250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859742, '1000000129298')
2023-10-13	12:21:20	250	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:20	250	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-couvre-casque-agu-commuter-compact-jaune-fluo-unitaire' AND `virtuemart_product_id` != 1859742
2023-10-13	12:21:20	250	[DEBUG]	Query for ProductLang
2023-10-13	12:21:20	250	[DEBUG]	Executed store
2023-10-13	12:21:20	250	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Agu Couvre casque AGU Commuter Compact  / Jaune Fluo (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-couvre-casque-agu-commuter-compact-jaune-fluo-unitaire' WHERE `virtuemart_product_id` = '1859742'
2023-10-13	12:21:20	250	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35_80185.jpg
2023-10-13	12:21:20	250	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:20	250	[DEBUG]	Process image file
2023-10-13	12:21:20	250	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:20	250	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:20	250	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35_80185.jpg
2023-10-13	12:21:20	250	[DEBUG]	Full name target: bcprisme/35_80185.jpg
2023-10-13	12:21:21	250	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:21	250	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35_80185.jpg'
2023-10-13	12:21:21	250	[DEBUG]	Query for Media
2023-10-13	12:21:21	250	[DEBUG]	Executed store
2023-10-13	12:21:21	250	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35_80185.jpg',`file_url_thumb`='bcprisme/35_80185.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435069'
2023-10-13	12:21:21	250	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:21	250	[DEBUG]	Executed store
2023-10-13	12:21:21	250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859742','435069','1')
2023-10-13	12:21:21	250	[DEBUG]	Store product image relation
2023-10-13	12:21:21	250	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:21	250	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859742 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:21	250	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:21	250	[DEBUG]	Executed store
2023-10-13	12:21:21	250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859742','0','27.8551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:21	250	[DEBUG]	Checking manufacturer
2023-10-13	12:21:21	250	[DEBUG]	Load a row
2023-10-13	12:21:21	250	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:21	250	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	12:21:21	250	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:21	250	[DEBUG]	Executed store
2023-10-13	12:21:21	250	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	12:21:21	250	[DEBUG]	Manufacturer exists
2023-10-13	12:21:21	250	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	12:21:21	250	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:21	250	[DEBUG]	Executed store
2023-10-13	12:21:21	250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859742','45')
2023-10-13	12:21:21	250	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:21	250	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:21	250	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859742 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:21	250	[DEBUG]	Store custom available field
2023-10-13	12:21:21	250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859742,3,'',1)
2023-10-13	12:21:21	250	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:21	250	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:21:21	250	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859742 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:21	250	[DEBUG]	Store custom available field
2023-10-13	12:21:21	250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859742,6,'Unitaire',3)
2023-10-13	12:21:21	250	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:21	250	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:21	250	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859741
2023-10-13	12:21:21	250	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:21	250	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859741\":[1859741,8,1,\"choisir la taille\"],\"1859742\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859741
2023-10-13	12:21:21	250	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:21	250	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859742
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:21	251	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field taille
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:21	251	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:21	251	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:21	251	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:21	251	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:21	251	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:21	251	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field published
2023-10-13	12:21:21	251	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:21	251	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field override
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:21	251	[DEBUG]	Use field value for field slug
2023-10-13	12:21:21	251	[DEBUG]	Process line 251
2023-10-13	12:21:21	251	[DEBUG]	Load a row
2023-10-13	12:21:21	251	[DEBUG]	Processing item: A_9356_84
2023-10-13	12:21:21	251	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:21	251	[DEBUG]	Processing product tax
2023-10-13	12:21:21	251	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:21	251	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:21	251	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:21	251	[DEBUG]	Query for Product
2023-10-13	12:21:21	251	[DEBUG]	Executed store
2023-10-13	12:21:21	251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9356_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:21	251	[DEBUG]	Check product language entry
2023-10-13	12:21:21	251	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859743
2023-10-13	12:21:21	251	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:21	251	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9356_84' AND `virtuemart_product_id` != 1859743
2023-10-13	12:21:21	251	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:21	251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859743, 'A_9356_84')
2023-10-13	12:21:21	251	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:21	251	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-thrm-cyc-cap-black-onesi-onesize-black' AND `virtuemart_product_id` != 1859743
2023-10-13	12:21:21	251	[DEBUG]	Query for ProductLang
2023-10-13	12:21:21	251	[DEBUG]	Executed store
2023-10-13	12:21:21	251	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 57.83963',`product_name`='Pearl Izumi THRM Cyc Cap black ONESI onesize / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-thrm-cyc-cap-black-onesi-onesize-black' WHERE `virtuemart_product_id` = '1859743'
2023-10-13	12:21:21	251	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/57_83963_f.jpg
2023-10-13	12:21:21	251	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:21	251	[DEBUG]	Process image file
2023-10-13	12:21:21	251	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:21	251	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:21	251	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/57_83963_f.jpg
2023-10-13	12:21:21	251	[DEBUG]	Full name target: bcprisme/57_83963_f.jpg
2023-10-13	12:21:22	251	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:22	251	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/57_83963_f.jpg'
2023-10-13	12:21:22	251	[DEBUG]	Query for Media
2023-10-13	12:21:22	251	[DEBUG]	Executed store
2023-10-13	12:21:22	251	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/57_83963_f.jpg',`file_url_thumb`='bcprisme/57_83963_f.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1398733'
2023-10-13	12:21:22	251	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:22	251	[DEBUG]	Executed store
2023-10-13	12:21:22	251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859743','1398733','1')
2023-10-13	12:21:22	251	[DEBUG]	Store product image relation
2023-10-13	12:21:22	251	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:22	251	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859743 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:22	251	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:22	251	[DEBUG]	Executed store
2023-10-13	12:21:22	251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859743','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:22	251	[DEBUG]	Checking manufacturer
2023-10-13	12:21:22	251	[DEBUG]	Load a row
2023-10-13	12:21:22	251	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:22	251	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:21:22	251	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:22	251	[DEBUG]	Executed store
2023-10-13	12:21:22	251	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:21:22	251	[DEBUG]	Manufacturer exists
2023-10-13	12:21:22	251	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:21:22	251	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:22	251	[DEBUG]	Executed store
2023-10-13	12:21:22	251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859743','73')
2023-10-13	12:21:22	251	[DEBUG]	Find the custom field ID
2023-10-13	12:21:22	251	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:22	251	[DEBUG]	No custom field ID found
2023-10-13	12:21:22	251	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:22	251	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:21:22	251	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859743 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:22	251	[DEBUG]	Store custom available field
2023-10-13	12:21:22	251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859743,3,'0',1)
2023-10-13	12:21:22	251	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:22	251	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:22	251	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859743 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:22	251	[DEBUG]	Store custom available field
2023-10-13	12:21:22	251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859743,6,'choisir la taille',3)
2023-10-13	12:21:22	251	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:22	251	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:22	251	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:22	251	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:22	251	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859743 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:22	251	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:22	251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859743,8,1)
2023-10-13	12:21:22	251	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:22	251	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859743\":[1859743,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859743
2023-10-13	12:21:22	251	[DEBUG]	Checking category
2023-10-13	12:21:22	251	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:22	251	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859743
2023-10-13	12:21:22	251	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:22	251	[DEBUG]	Executed store
2023-10-13	12:21:22	251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859743','7280')
2023-10-13	12:21:22	251	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:22	251	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859743 AND `virtuemart_category_id` NOT IN (7280)
2023-10-13	12:21:22	251	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:22	251	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859743
2023-10-13	12:21:22	252	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:22	252	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:22	252	[DEBUG]	Use field value for field taille
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:22	252	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:22	252	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:22	252	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:22	252	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:22	252	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:22	252	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:22	252	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:22	252	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:22	252	[DEBUG]	Use field value for field published
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:22	252	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field override
2023-10-13	12:21:22	252	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:22	252	[DEBUG]	Use field value for field slug
2023-10-13	12:21:22	252	[DEBUG]	Process line 252
2023-10-13	12:21:22	252	[DEBUG]	Load a row
2023-10-13	12:21:22	252	[DEBUG]	Processing item: 191234922883
2023-10-13	12:21:22	252	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:22	252	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:22	252	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9356_84'
2023-10-13	12:21:22	252	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:22	252	[DEBUG]	Processing product tax
2023-10-13	12:21:22	252	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:22	252	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:22	252	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:22	252	[DEBUG]	Query for Product
2023-10-13	12:21:22	252	[DEBUG]	Executed store
2023-10-13	12:21:22	252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859743','191234922883','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:22	252	[DEBUG]	No parent found
2023-10-13	12:21:22	252	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859743 AND customfield_value = 'stockable'
2023-10-13	12:21:22	252	[DEBUG]	Check product language entry
2023-10-13	12:21:22	252	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859744
2023-10-13	12:21:22	252	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:22	252	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191234922883' AND `virtuemart_product_id` != 1859744
2023-10-13	12:21:22	252	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:22	252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859744, '191234922883')
2023-10-13	12:21:22	252	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:22	252	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-thrm-cyc-cap-black-onesi-onesize-black-unitaire' AND `virtuemart_product_id` != 1859744
2023-10-13	12:21:22	252	[DEBUG]	Query for ProductLang
2023-10-13	12:21:22	252	[DEBUG]	Executed store
2023-10-13	12:21:22	252	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pearl Izumi THRM Cyc Cap black ONESI onesize / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-thrm-cyc-cap-black-onesi-onesize-black-unitaire' WHERE `virtuemart_product_id` = '1859744'
2023-10-13	12:21:22	252	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/57_83963_f.jpg
2023-10-13	12:21:22	252	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:22	252	[DEBUG]	Process image file
2023-10-13	12:21:22	252	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:21:22	252	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:22	252	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/57_83963_f.jpg
2023-10-13	12:21:22	252	[DEBUG]	Full name target: bcprisme/57_83963_f.jpg
2023-10-13	12:21:23	252	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:23	252	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/57_83963_f.jpg'
2023-10-13	12:21:23	252	[DEBUG]	Query for Media
2023-10-13	12:21:23	252	[DEBUG]	Executed store
2023-10-13	12:21:23	252	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/57_83963_f.jpg',`file_url_thumb`='bcprisme/57_83963_f.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1398733'
2023-10-13	12:21:23	252	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:23	252	[DEBUG]	Executed store
2023-10-13	12:21:23	252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859744','1398733','1')
2023-10-13	12:21:23	252	[DEBUG]	Store product image relation
2023-10-13	12:21:23	252	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:23	252	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859744 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:23	252	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:23	252	[DEBUG]	Executed store
2023-10-13	12:21:23	252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859744','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:23	252	[DEBUG]	Checking manufacturer
2023-10-13	12:21:23	252	[DEBUG]	Load a row
2023-10-13	12:21:23	252	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:23	252	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:21:23	252	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:23	252	[DEBUG]	Executed store
2023-10-13	12:21:23	252	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:21:23	252	[DEBUG]	Manufacturer exists
2023-10-13	12:21:23	252	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:21:23	252	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:23	252	[DEBUG]	Executed store
2023-10-13	12:21:23	252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859744','73')
2023-10-13	12:21:23	252	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:23	252	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:23	252	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859744 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:23	252	[DEBUG]	Store custom available field
2023-10-13	12:21:23	252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859744,3,'',1)
2023-10-13	12:21:23	252	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:23	252	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:21:23	252	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859744 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:23	252	[DEBUG]	Store custom available field
2023-10-13	12:21:23	252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859744,6,'Unitaire',3)
2023-10-13	12:21:23	252	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:23	252	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:23	252	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859743
2023-10-13	12:21:23	252	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:23	252	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859743\":[1859743,8,1,\"choisir la taille\"],\"1859744\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859743
2023-10-13	12:21:23	252	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:23	252	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859744
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:23	253	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field taille
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:23	253	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:23	253	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:23	253	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:23	253	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:23	253	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:23	253	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field published
2023-10-13	12:21:23	253	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:23	253	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field override
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:23	253	[DEBUG]	Use field value for field slug
2023-10-13	12:21:23	253	[DEBUG]	Process line 253
2023-10-13	12:21:23	253	[DEBUG]	Load a row
2023-10-13	12:21:23	253	[DEBUG]	Processing item: A_2761_7
2023-10-13	12:21:23	253	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:23	253	[DEBUG]	Processing product tax
2023-10-13	12:21:23	253	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:23	253	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:23	253	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:23	253	[DEBUG]	Query for Product
2023-10-13	12:21:23	253	[DEBUG]	Executed store
2023-10-13	12:21:23	253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2761_7','0.255','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:23	253	[DEBUG]	Check product language entry
2023-10-13	12:21:23	253	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859745
2023-10-13	12:21:23	253	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:23	253	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2761_7' AND `virtuemart_product_id` != 1859745
2023-10-13	12:21:23	253	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:23	253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859745, 'A_2761_7')
2023-10-13	12:21:23	253	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:23	253	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-route-immold-rouge' AND `virtuemart_product_id` != 1859745
2023-10-13	12:21:23	253	[DEBUG]	Query for ProductLang
2023-10-13	12:21:23	253	[DEBUG]	Executed store
2023-10-13	12:21:23	253	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='CASQUE MSC ROUTE IMMOLD Taille S/M, poids 255 gr.<br>N° art fourn : HX13KSM',`product_name`='MSC Casque MSC ROUTE IMMOLD  / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-route-immold-rouge' WHERE `virtuemart_product_id` = '1859745'
2023-10-13	12:21:23	253	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11559.jpg
2023-10-13	12:21:23	253	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:23	253	[DEBUG]	Process image file
2023-10-13	12:21:23	253	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:23	253	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:23	253	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11559.jpg
2023-10-13	12:21:23	253	[DEBUG]	Full name target: bcprisme/image_11559.jpg
2023-10-13	12:21:24	253	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:24	253	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11559.jpg'
2023-10-13	12:21:24	253	[DEBUG]	Query for Media
2023-10-13	12:21:24	253	[DEBUG]	Executed store
2023-10-13	12:21:24	253	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11559.jpg',`file_url_thumb`='bcprisme/image_11559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12418'
2023-10-13	12:21:24	253	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:24	253	[DEBUG]	Executed store
2023-10-13	12:21:24	253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859745','12418','1')
2023-10-13	12:21:24	253	[DEBUG]	Store product image relation
2023-10-13	12:21:24	253	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:24	253	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859745 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:24	253	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:24	253	[DEBUG]	Executed store
2023-10-13	12:21:24	253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859745','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:24	253	[DEBUG]	Checking manufacturer
2023-10-13	12:21:24	253	[DEBUG]	Load a row
2023-10-13	12:21:24	253	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:24	253	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:24	253	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:24	253	[DEBUG]	Executed store
2023-10-13	12:21:24	253	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:24	253	[DEBUG]	Manufacturer exists
2023-10-13	12:21:24	253	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:24	253	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:24	253	[DEBUG]	Executed store
2023-10-13	12:21:24	253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859745','32')
2023-10-13	12:21:24	253	[DEBUG]	Find the custom field ID
2023-10-13	12:21:24	253	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:24	253	[DEBUG]	No custom field ID found
2023-10-13	12:21:24	253	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:24	253	[DEBUG]	Get existing row with customfield value 119.566944444444
2023-10-13	12:21:24	253	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859745 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:24	253	[DEBUG]	Store custom available field
2023-10-13	12:21:24	253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859745,3,'119.566944444444',1)
2023-10-13	12:21:24	253	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:24	253	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:24	253	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859745 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:24	253	[DEBUG]	Store custom available field
2023-10-13	12:21:24	253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859745,6,'choisir la taille',3)
2023-10-13	12:21:24	253	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:24	253	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:24	253	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:24	253	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:24	253	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859745 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:24	253	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:24	253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859745,8,1)
2023-10-13	12:21:24	253	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:24	253	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859745\":[1859745,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859745
2023-10-13	12:21:24	253	[DEBUG]	Checking category
2023-10-13	12:21:24	253	[DEBUG]	Check if category path exists: CASQUES - HELME
2023-10-13	12:21:24	253	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASQUES - HELME' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7279
2023-10-13	12:21:24	253	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:24	253	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859745
2023-10-13	12:21:24	253	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:24	253	[DEBUG]	Executed store
2023-10-13	12:21:24	253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859745','7281')
2023-10-13	12:21:24	253	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:24	253	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859745 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:21:24	253	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:24	253	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859745
2023-10-13	12:21:24	254	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:24	254	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:24	254	[DEBUG]	Use field value for field taille
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:24	254	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:24	254	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:24	254	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:24	254	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:24	254	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:24	254	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:24	254	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:24	254	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:24	254	[DEBUG]	Use field value for field published
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:24	254	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field override
2023-10-13	12:21:24	254	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:24	254	[DEBUG]	Use field value for field slug
2023-10-13	12:21:24	254	[DEBUG]	Process line 254
2023-10-13	12:21:24	254	[DEBUG]	Load a row
2023-10-13	12:21:24	254	[DEBUG]	Processing item: 1000000046250
2023-10-13	12:21:24	254	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:24	254	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:24	254	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2761_7'
2023-10-13	12:21:24	254	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:24	254	[DEBUG]	Processing product tax
2023-10-13	12:21:24	254	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:24	254	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:24	254	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:24	254	[DEBUG]	Query for Product
2023-10-13	12:21:24	254	[DEBUG]	Executed store
2023-10-13	12:21:24	254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859745','1000000046250','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:24	254	[DEBUG]	No parent found
2023-10-13	12:21:24	254	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859745 AND customfield_value = 'stockable'
2023-10-13	12:21:24	254	[DEBUG]	Check product language entry
2023-10-13	12:21:24	254	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859746
2023-10-13	12:21:24	254	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:24	254	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000046250' AND `virtuemart_product_id` != 1859746
2023-10-13	12:21:24	254	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:24	254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859746, '1000000046250')
2023-10-13	12:21:24	254	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:24	254	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-route-immold-rouge-s-m' AND `virtuemart_product_id` != 1859746
2023-10-13	12:21:24	254	[DEBUG]	Query for ProductLang
2023-10-13	12:21:24	254	[DEBUG]	Executed store
2023-10-13	12:21:24	254	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC ROUTE IMMOLD  / Rouge (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-route-immold-rouge-s-m' WHERE `virtuemart_product_id` = '1859746'
2023-10-13	12:21:24	254	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11559.jpg
2023-10-13	12:21:24	254	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:24	254	[DEBUG]	Process image file
2023-10-13	12:21:24	254	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:24	254	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:24	254	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11559.jpg
2023-10-13	12:21:24	254	[DEBUG]	Full name target: bcprisme/image_11559.jpg
2023-10-13	12:21:25	254	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:25	254	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11559.jpg'
2023-10-13	12:21:25	254	[DEBUG]	Query for Media
2023-10-13	12:21:25	254	[DEBUG]	Executed store
2023-10-13	12:21:25	254	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11559.jpg',`file_url_thumb`='bcprisme/image_11559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12418'
2023-10-13	12:21:25	254	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:25	254	[DEBUG]	Executed store
2023-10-13	12:21:25	254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859746','12418','1')
2023-10-13	12:21:25	254	[DEBUG]	Store product image relation
2023-10-13	12:21:25	254	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:25	254	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859746 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:25	254	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:25	254	[DEBUG]	Executed store
2023-10-13	12:21:25	254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859746','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:25	254	[DEBUG]	Checking manufacturer
2023-10-13	12:21:25	254	[DEBUG]	Load a row
2023-10-13	12:21:25	254	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:25	254	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:25	254	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:25	254	[DEBUG]	Executed store
2023-10-13	12:21:25	254	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:25	254	[DEBUG]	Manufacturer exists
2023-10-13	12:21:25	254	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:25	254	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:25	254	[DEBUG]	Executed store
2023-10-13	12:21:25	254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859746','32')
2023-10-13	12:21:25	254	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:25	254	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:25	254	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859746 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:25	254	[DEBUG]	Store custom available field
2023-10-13	12:21:25	254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859746,3,'',1)
2023-10-13	12:21:25	254	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:25	254	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:21:25	254	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859746 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:25	254	[DEBUG]	Store custom available field
2023-10-13	12:21:25	254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859746,6,'S/M',3)
2023-10-13	12:21:25	254	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:25	254	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:25	254	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859745
2023-10-13	12:21:25	254	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:25	254	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859745\":[1859745,8,1,\"choisir la taille\"],\"1859746\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859745
2023-10-13	12:21:25	254	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:25	254	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859746
2023-10-13	12:21:25	255	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:25	255	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:25	255	[DEBUG]	Use field value for field taille
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:25	255	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:25	255	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:25	255	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:25	255	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:25	255	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:25	255	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:25	255	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:25	255	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:25	255	[DEBUG]	Use field value for field published
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:25	255	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field override
2023-10-13	12:21:25	255	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:25	255	[DEBUG]	Use field value for field slug
2023-10-13	12:21:25	255	[DEBUG]	Process line 255
2023-10-13	12:21:25	255	[DEBUG]	Load a row
2023-10-13	12:21:25	255	[DEBUG]	Processing item: 1000000113020
2023-10-13	12:21:25	255	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:25	255	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:25	255	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2761_7'
2023-10-13	12:21:25	255	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:25	255	[DEBUG]	Processing product tax
2023-10-13	12:21:25	255	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:25	255	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:25	255	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:25	255	[DEBUG]	Query for Product
2023-10-13	12:21:25	255	[DEBUG]	Executed store
2023-10-13	12:21:25	255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859745','1000000113020','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:25	255	[DEBUG]	No parent found
2023-10-13	12:21:25	255	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859745 AND customfield_value = 'stockable'
2023-10-13	12:21:25	255	[DEBUG]	Check product language entry
2023-10-13	12:21:25	255	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859747
2023-10-13	12:21:25	255	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:25	255	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113020' AND `virtuemart_product_id` != 1859747
2023-10-13	12:21:25	255	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:25	255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859747, '1000000113020')
2023-10-13	12:21:25	255	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:25	255	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-route-immold-rouge-l-xl' AND `virtuemart_product_id` != 1859747
2023-10-13	12:21:25	255	[DEBUG]	Query for ProductLang
2023-10-13	12:21:25	255	[DEBUG]	Executed store
2023-10-13	12:21:25	255	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC ROUTE IMMOLD  / Rouge (L/XL)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-route-immold-rouge-l-xl' WHERE `virtuemart_product_id` = '1859747'
2023-10-13	12:21:25	255	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11559.jpg
2023-10-13	12:21:25	255	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:25	255	[DEBUG]	Process image file
2023-10-13	12:21:25	255	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:25	255	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:25	255	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11559.jpg
2023-10-13	12:21:25	255	[DEBUG]	Full name target: bcprisme/image_11559.jpg
2023-10-13	12:21:27	255	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:27	255	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11559.jpg'
2023-10-13	12:21:27	255	[DEBUG]	Query for Media
2023-10-13	12:21:27	255	[DEBUG]	Executed store
2023-10-13	12:21:27	255	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11559.jpg',`file_url_thumb`='bcprisme/image_11559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12418'
2023-10-13	12:21:27	255	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:27	255	[DEBUG]	Executed store
2023-10-13	12:21:27	255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859747','12418','1')
2023-10-13	12:21:27	255	[DEBUG]	Store product image relation
2023-10-13	12:21:27	255	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:27	255	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859747 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:27	255	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:27	255	[DEBUG]	Executed store
2023-10-13	12:21:27	255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859747','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:27	255	[DEBUG]	Checking manufacturer
2023-10-13	12:21:27	255	[DEBUG]	Load a row
2023-10-13	12:21:27	255	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:27	255	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:27	255	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:27	255	[DEBUG]	Executed store
2023-10-13	12:21:27	255	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:27	255	[DEBUG]	Manufacturer exists
2023-10-13	12:21:27	255	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:27	255	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:27	255	[DEBUG]	Executed store
2023-10-13	12:21:27	255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859747','32')
2023-10-13	12:21:27	255	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:27	255	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:27	255	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859747 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:27	255	[DEBUG]	Store custom available field
2023-10-13	12:21:27	255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859747,3,'',1)
2023-10-13	12:21:27	255	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:27	255	[DEBUG]	Get existing row with customfield value L/XL
2023-10-13	12:21:27	255	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859747 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:27	255	[DEBUG]	Store custom available field
2023-10-13	12:21:27	255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859747,6,'L/XL',3)
2023-10-13	12:21:27	255	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:27	255	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:27	255	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859745
2023-10-13	12:21:27	255	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:27	255	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nL\\/XL\"}]|clabels=0|options={\"1859745\":[1859745,8,1,\"choisir la taille\"],\"1859746\":[\"S\\/M\"],\"1859747\":[\"L\\/XL\"]}|' WHERE `virtuemart_product_id` = 1859745
2023-10-13	12:21:27	255	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:27	255	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859747
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:27	256	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field taille
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:27	256	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:27	256	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:27	256	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:27	256	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:27	256	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:27	256	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field published
2023-10-13	12:21:27	256	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:27	256	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field override
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:27	256	[DEBUG]	Use field value for field slug
2023-10-13	12:21:27	256	[DEBUG]	Process line 256
2023-10-13	12:21:27	256	[DEBUG]	Load a row
2023-10-13	12:21:27	256	[DEBUG]	Processing item: A_2761_22
2023-10-13	12:21:27	256	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:27	256	[DEBUG]	Processing product tax
2023-10-13	12:21:27	256	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:27	256	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:27	256	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:27	256	[DEBUG]	Query for Product
2023-10-13	12:21:27	256	[DEBUG]	Executed store
2023-10-13	12:21:27	256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2761_22','0.255','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:27	256	[DEBUG]	Check product language entry
2023-10-13	12:21:27	256	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859748
2023-10-13	12:21:27	256	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:27	256	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2761_22' AND `virtuemart_product_id` != 1859748
2023-10-13	12:21:27	256	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:27	256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859748, 'A_2761_22')
2023-10-13	12:21:27	256	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:27	256	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-route-immold-bleu' AND `virtuemart_product_id` != 1859748
2023-10-13	12:21:27	256	[DEBUG]	Query for ProductLang
2023-10-13	12:21:27	256	[DEBUG]	Executed store
2023-10-13	12:21:27	256	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='CASQUE MSC ROUTE IMMOLD Taille S/M, poids 255 gr.<br>N° art fourn : HX13KSM',`product_name`='MSC Casque MSC ROUTE IMMOLD  / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-route-immold-bleu' WHERE `virtuemart_product_id` = '1859748'
2023-10-13	12:21:27	256	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11557.jpg
2023-10-13	12:21:27	256	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:27	256	[DEBUG]	Process image file
2023-10-13	12:21:27	256	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:27	256	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:27	256	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11557.jpg
2023-10-13	12:21:27	256	[DEBUG]	Full name target: bcprisme/image_11557.jpg
2023-10-13	12:21:28	256	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:28	256	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11557.jpg'
2023-10-13	12:21:28	256	[DEBUG]	Query for Media
2023-10-13	12:21:28	256	[DEBUG]	Executed store
2023-10-13	12:21:28	256	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11557.jpg',`file_url_thumb`='bcprisme/image_11557.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12420'
2023-10-13	12:21:28	256	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:28	256	[DEBUG]	Executed store
2023-10-13	12:21:28	256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859748','12420','1')
2023-10-13	12:21:28	256	[DEBUG]	Store product image relation
2023-10-13	12:21:28	256	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:28	256	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859748 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:28	256	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:28	256	[DEBUG]	Executed store
2023-10-13	12:21:28	256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859748','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:28	256	[DEBUG]	Checking manufacturer
2023-10-13	12:21:28	256	[DEBUG]	Load a row
2023-10-13	12:21:28	256	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:28	256	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:28	256	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:28	256	[DEBUG]	Executed store
2023-10-13	12:21:28	256	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:28	256	[DEBUG]	Manufacturer exists
2023-10-13	12:21:28	256	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:28	256	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:28	256	[DEBUG]	Executed store
2023-10-13	12:21:28	256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859748','32')
2023-10-13	12:21:28	256	[DEBUG]	Find the custom field ID
2023-10-13	12:21:28	256	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:28	256	[DEBUG]	No custom field ID found
2023-10-13	12:21:28	256	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:28	256	[DEBUG]	Get existing row with customfield value 119.566944444444
2023-10-13	12:21:28	256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859748 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:28	256	[DEBUG]	Store custom available field
2023-10-13	12:21:28	256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859748,3,'119.566944444444',1)
2023-10-13	12:21:28	256	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:28	256	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:28	256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859748 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:28	256	[DEBUG]	Store custom available field
2023-10-13	12:21:28	256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859748,6,'choisir la taille',3)
2023-10-13	12:21:28	256	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:28	256	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:28	256	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:28	256	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:28	256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859748 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:28	256	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:28	256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859748,8,1)
2023-10-13	12:21:28	256	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:28	256	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859748\":[1859748,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859748
2023-10-13	12:21:28	256	[DEBUG]	Checking category
2023-10-13	12:21:28	256	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:28	256	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859748
2023-10-13	12:21:28	256	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:28	256	[DEBUG]	Executed store
2023-10-13	12:21:28	256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859748','7281')
2023-10-13	12:21:28	256	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:28	256	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859748 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:21:28	256	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:28	256	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859748
2023-10-13	12:21:28	257	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:28	257	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:28	257	[DEBUG]	Use field value for field taille
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:28	257	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:28	257	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:28	257	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:28	257	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:28	257	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:28	257	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:28	257	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:28	257	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:28	257	[DEBUG]	Use field value for field published
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:28	257	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field override
2023-10-13	12:21:28	257	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:28	257	[DEBUG]	Use field value for field slug
2023-10-13	12:21:28	257	[DEBUG]	Process line 257
2023-10-13	12:21:28	257	[DEBUG]	Load a row
2023-10-13	12:21:28	257	[DEBUG]	Processing item: 1000000046236
2023-10-13	12:21:28	257	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:28	257	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:28	257	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2761_22'
2023-10-13	12:21:28	257	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:28	257	[DEBUG]	Processing product tax
2023-10-13	12:21:28	257	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:28	257	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:28	257	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:28	257	[DEBUG]	Query for Product
2023-10-13	12:21:28	257	[DEBUG]	Executed store
2023-10-13	12:21:28	257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859748','1000000046236','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:28	257	[DEBUG]	No parent found
2023-10-13	12:21:28	257	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859748 AND customfield_value = 'stockable'
2023-10-13	12:21:28	257	[DEBUG]	Check product language entry
2023-10-13	12:21:28	257	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859749
2023-10-13	12:21:28	257	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:28	257	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000046236' AND `virtuemart_product_id` != 1859749
2023-10-13	12:21:28	257	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:28	257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859749, '1000000046236')
2023-10-13	12:21:28	257	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:28	257	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-route-immold-bleu-s-m' AND `virtuemart_product_id` != 1859749
2023-10-13	12:21:28	257	[DEBUG]	Query for ProductLang
2023-10-13	12:21:28	257	[DEBUG]	Executed store
2023-10-13	12:21:28	257	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC ROUTE IMMOLD  / Bleu (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-route-immold-bleu-s-m' WHERE `virtuemart_product_id` = '1859749'
2023-10-13	12:21:28	257	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11557.jpg
2023-10-13	12:21:28	257	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:28	257	[DEBUG]	Process image file
2023-10-13	12:21:28	257	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:28	257	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:28	257	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11557.jpg
2023-10-13	12:21:28	257	[DEBUG]	Full name target: bcprisme/image_11557.jpg
2023-10-13	12:21:29	257	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:29	257	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11557.jpg'
2023-10-13	12:21:29	257	[DEBUG]	Query for Media
2023-10-13	12:21:29	257	[DEBUG]	Executed store
2023-10-13	12:21:29	257	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11557.jpg',`file_url_thumb`='bcprisme/image_11557.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12420'
2023-10-13	12:21:29	257	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:29	257	[DEBUG]	Executed store
2023-10-13	12:21:29	257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859749','12420','1')
2023-10-13	12:21:29	257	[DEBUG]	Store product image relation
2023-10-13	12:21:29	257	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:29	257	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859749 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:29	257	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:29	257	[DEBUG]	Executed store
2023-10-13	12:21:29	257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859749','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:29	257	[DEBUG]	Checking manufacturer
2023-10-13	12:21:29	257	[DEBUG]	Load a row
2023-10-13	12:21:29	257	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:29	257	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:29	257	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:29	257	[DEBUG]	Executed store
2023-10-13	12:21:29	257	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:29	257	[DEBUG]	Manufacturer exists
2023-10-13	12:21:29	257	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:29	257	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:29	257	[DEBUG]	Executed store
2023-10-13	12:21:29	257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859749','32')
2023-10-13	12:21:29	257	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:29	257	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:29	257	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859749 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:29	257	[DEBUG]	Store custom available field
2023-10-13	12:21:29	257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859749,3,'',1)
2023-10-13	12:21:29	257	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:29	257	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:21:29	257	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859749 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:29	257	[DEBUG]	Store custom available field
2023-10-13	12:21:29	257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859749,6,'S/M',3)
2023-10-13	12:21:29	257	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:29	257	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:29	257	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859748
2023-10-13	12:21:29	257	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:29	257	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859748\":[1859748,8,1,\"choisir la taille\"],\"1859749\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859748
2023-10-13	12:21:29	257	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:29	257	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859749
2023-10-13	12:21:29	258	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:29	258	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:29	258	[DEBUG]	Use field value for field taille
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:29	258	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:29	258	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:29	258	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:29	258	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:29	258	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:29	258	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:29	258	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:29	258	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:29	258	[DEBUG]	Use field value for field published
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:29	258	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field override
2023-10-13	12:21:29	258	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:29	258	[DEBUG]	Use field value for field slug
2023-10-13	12:21:29	258	[DEBUG]	Process line 258
2023-10-13	12:21:29	258	[DEBUG]	Load a row
2023-10-13	12:21:29	258	[DEBUG]	Processing item: 1000000113006
2023-10-13	12:21:29	258	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:29	258	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:29	258	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2761_22'
2023-10-13	12:21:29	258	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:29	258	[DEBUG]	Processing product tax
2023-10-13	12:21:29	258	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:29	258	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:29	258	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:29	258	[DEBUG]	Query for Product
2023-10-13	12:21:29	258	[DEBUG]	Executed store
2023-10-13	12:21:29	258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859748','1000000113006','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:29	258	[DEBUG]	No parent found
2023-10-13	12:21:29	258	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859748 AND customfield_value = 'stockable'
2023-10-13	12:21:29	258	[DEBUG]	Check product language entry
2023-10-13	12:21:29	258	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859750
2023-10-13	12:21:29	258	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:29	258	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113006' AND `virtuemart_product_id` != 1859750
2023-10-13	12:21:29	258	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:29	258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859750, '1000000113006')
2023-10-13	12:21:29	258	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:29	258	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-route-immold-bleu-l-xl' AND `virtuemart_product_id` != 1859750
2023-10-13	12:21:29	258	[DEBUG]	Query for ProductLang
2023-10-13	12:21:29	258	[DEBUG]	Executed store
2023-10-13	12:21:29	258	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC ROUTE IMMOLD  / Bleu (L/XL)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-route-immold-bleu-l-xl' WHERE `virtuemart_product_id` = '1859750'
2023-10-13	12:21:29	258	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11557.jpg
2023-10-13	12:21:29	258	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:29	258	[DEBUG]	Process image file
2023-10-13	12:21:29	258	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:29	258	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:29	258	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11557.jpg
2023-10-13	12:21:29	258	[DEBUG]	Full name target: bcprisme/image_11557.jpg
2023-10-13	12:21:30	258	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:30	258	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11557.jpg'
2023-10-13	12:21:30	258	[DEBUG]	Query for Media
2023-10-13	12:21:30	258	[DEBUG]	Executed store
2023-10-13	12:21:30	258	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11557.jpg',`file_url_thumb`='bcprisme/image_11557.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12420'
2023-10-13	12:21:30	258	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:30	258	[DEBUG]	Executed store
2023-10-13	12:21:30	258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859750','12420','1')
2023-10-13	12:21:30	258	[DEBUG]	Store product image relation
2023-10-13	12:21:30	258	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:30	258	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859750 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:30	258	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:30	258	[DEBUG]	Executed store
2023-10-13	12:21:30	258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859750','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:30	258	[DEBUG]	Checking manufacturer
2023-10-13	12:21:30	258	[DEBUG]	Load a row
2023-10-13	12:21:30	258	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:30	258	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:30	258	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:30	258	[DEBUG]	Executed store
2023-10-13	12:21:30	258	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:30	258	[DEBUG]	Manufacturer exists
2023-10-13	12:21:30	258	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:30	258	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:30	258	[DEBUG]	Executed store
2023-10-13	12:21:30	258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859750','32')
2023-10-13	12:21:30	258	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:30	258	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:30	258	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859750 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:30	258	[DEBUG]	Store custom available field
2023-10-13	12:21:30	258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859750,3,'',1)
2023-10-13	12:21:30	258	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:30	258	[DEBUG]	Get existing row with customfield value L/XL
2023-10-13	12:21:30	258	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859750 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:30	258	[DEBUG]	Store custom available field
2023-10-13	12:21:30	258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859750,6,'L/XL',3)
2023-10-13	12:21:30	258	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:30	258	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:30	258	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859748
2023-10-13	12:21:30	258	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:30	258	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nL\\/XL\"}]|clabels=0|options={\"1859748\":[1859748,8,1,\"choisir la taille\"],\"1859749\":[\"S\\/M\"],\"1859750\":[\"L\\/XL\"]}|' WHERE `virtuemart_product_id` = 1859748
2023-10-13	12:21:31	258	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:31	258	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859750
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:31	259	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field taille
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:31	259	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:31	259	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:31	259	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:31	259	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:31	259	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:31	259	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field published
2023-10-13	12:21:31	259	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:31	259	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field override
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:31	259	[DEBUG]	Use field value for field slug
2023-10-13	12:21:31	259	[DEBUG]	Process line 259
2023-10-13	12:21:31	259	[DEBUG]	Load a row
2023-10-13	12:21:31	259	[DEBUG]	Processing item: A_3262_70
2023-10-13	12:21:31	259	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:31	259	[DEBUG]	Processing product tax
2023-10-13	12:21:31	259	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:31	259	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:31	259	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:31	259	[DEBUG]	Query for Product
2023-10-13	12:21:31	259	[DEBUG]	Executed store
2023-10-13	12:21:31	259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3262_70','0.238','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:31	259	[DEBUG]	Check product language entry
2023-10-13	12:21:31	259	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859751
2023-10-13	12:21:31	259	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:31	259	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3262_70' AND `virtuemart_product_id` != 1859751
2023-10-13	12:21:31	259	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:31	259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859751, 'A_3262_70')
2023-10-13	12:21:31	259	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:31	259	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-route-inmold-rouge-blanc' AND `virtuemart_product_id` != 1859751
2023-10-13	12:21:31	259	[DEBUG]	Query for ProductLang
2023-10-13	12:21:31	259	[DEBUG]	Executed store
2023-10-13	12:21:31	259	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque Route inmold Taille S/M  54-57 cm Taille M/L 58-61 cm<br>Extrêmement léger avec un maximum de ventilation, technologie inmold. Vous oublierez que vous portez un casque. <br>  <br><br> <br><br><br>POIDS: 238 gr<br><br>N° art fourn : HM15ROADSM',`product_name`='MSC Casque MSC ROUTE INMOLD  / Rouge-blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-route-inmold-rouge-blanc' WHERE `virtuemart_product_id` = '1859751'
2023-10-13	12:21:31	259	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17146.jpg
2023-10-13	12:21:31	259	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	12:21:31	259	[DEBUG]	Process image file
2023-10-13	12:21:31	259	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	12:21:31	259	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:31	259	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17146.jpg
2023-10-13	12:21:31	259	[DEBUG]	Full name target: bcprisme/image_17146.jpg
2023-10-13	12:21:32	259	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:32	259	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17146.jpg'
2023-10-13	12:21:32	259	[DEBUG]	Query for Media
2023-10-13	12:21:32	259	[DEBUG]	Executed store
2023-10-13	12:21:32	259	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17146.jpg',`file_url_thumb`='bcprisme/image_17146.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12423'
2023-10-13	12:21:32	259	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:32	259	[DEBUG]	Executed store
2023-10-13	12:21:32	259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859751','12423','1')
2023-10-13	12:21:32	259	[DEBUG]	Store product image relation
2023-10-13	12:21:32	259	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:32	259	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859751 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:32	259	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:32	259	[DEBUG]	Executed store
2023-10-13	12:21:32	259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859751','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:32	259	[DEBUG]	Checking manufacturer
2023-10-13	12:21:32	259	[DEBUG]	Load a row
2023-10-13	12:21:32	259	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:32	259	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:32	259	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:32	259	[DEBUG]	Executed store
2023-10-13	12:21:32	259	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:32	259	[DEBUG]	Manufacturer exists
2023-10-13	12:21:32	259	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:32	259	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:32	259	[DEBUG]	Executed store
2023-10-13	12:21:32	259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859751','32')
2023-10-13	12:21:32	259	[DEBUG]	Find the custom field ID
2023-10-13	12:21:32	259	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:32	259	[DEBUG]	No custom field ID found
2023-10-13	12:21:32	259	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:32	259	[DEBUG]	Get existing row with customfield value 119.566944444444
2023-10-13	12:21:32	259	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859751 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:32	259	[DEBUG]	Store custom available field
2023-10-13	12:21:32	259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859751,3,'119.566944444444',1)
2023-10-13	12:21:32	259	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:32	259	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:32	259	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859751 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:32	259	[DEBUG]	Store custom available field
2023-10-13	12:21:32	259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859751,6,'choisir la taille',3)
2023-10-13	12:21:32	259	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:32	259	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:32	259	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:32	259	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:32	259	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859751 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:32	259	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:32	259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859751,8,1)
2023-10-13	12:21:32	259	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:32	259	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859751\":[1859751,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859751
2023-10-13	12:21:32	259	[DEBUG]	Checking category
2023-10-13	12:21:32	259	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:32	259	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859751
2023-10-13	12:21:32	259	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:32	259	[DEBUG]	Executed store
2023-10-13	12:21:32	259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859751','7281')
2023-10-13	12:21:32	259	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:32	259	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859751 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:21:32	259	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:32	259	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859751
2023-10-13	12:21:32	260	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:32	260	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:32	260	[DEBUG]	Use field value for field taille
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:32	260	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:32	260	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:32	260	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:32	260	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:32	260	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:32	260	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:32	260	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:32	260	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:32	260	[DEBUG]	Use field value for field published
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:32	260	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field override
2023-10-13	12:21:32	260	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:32	260	[DEBUG]	Use field value for field slug
2023-10-13	12:21:32	260	[DEBUG]	Process line 260
2023-10-13	12:21:32	260	[DEBUG]	Load a row
2023-10-13	12:21:32	260	[DEBUG]	Processing item: 1000000054972
2023-10-13	12:21:32	260	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:32	260	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:32	260	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3262_70'
2023-10-13	12:21:32	260	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:32	260	[DEBUG]	Processing product tax
2023-10-13	12:21:32	260	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:32	260	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:32	260	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:32	260	[DEBUG]	Query for Product
2023-10-13	12:21:32	260	[DEBUG]	Executed store
2023-10-13	12:21:32	260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859751','1000000054972','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:32	260	[DEBUG]	No parent found
2023-10-13	12:21:32	260	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859751 AND customfield_value = 'stockable'
2023-10-13	12:21:32	260	[DEBUG]	Check product language entry
2023-10-13	12:21:32	260	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859752
2023-10-13	12:21:32	260	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:32	260	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000054972' AND `virtuemart_product_id` != 1859752
2023-10-13	12:21:32	260	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:32	260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859752, '1000000054972')
2023-10-13	12:21:32	260	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:32	260	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-route-inmold-rouge-blanc-s-m' AND `virtuemart_product_id` != 1859752
2023-10-13	12:21:32	260	[DEBUG]	Query for ProductLang
2023-10-13	12:21:32	260	[DEBUG]	Executed store
2023-10-13	12:21:32	260	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC ROUTE INMOLD  / Rouge-blanc (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-route-inmold-rouge-blanc-s-m' WHERE `virtuemart_product_id` = '1859752'
2023-10-13	12:21:32	260	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17146.jpg
2023-10-13	12:21:32	260	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	12:21:32	260	[DEBUG]	Process image file
2023-10-13	12:21:32	260	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	12:21:32	260	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:32	260	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17146.jpg
2023-10-13	12:21:32	260	[DEBUG]	Full name target: bcprisme/image_17146.jpg
2023-10-13	12:21:33	260	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:33	260	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17146.jpg'
2023-10-13	12:21:33	260	[DEBUG]	Query for Media
2023-10-13	12:21:33	260	[DEBUG]	Executed store
2023-10-13	12:21:33	260	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17146.jpg',`file_url_thumb`='bcprisme/image_17146.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12423'
2023-10-13	12:21:33	260	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:33	260	[DEBUG]	Executed store
2023-10-13	12:21:33	260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859752','12423','1')
2023-10-13	12:21:33	260	[DEBUG]	Store product image relation
2023-10-13	12:21:33	260	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:33	260	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859752 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:33	260	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:33	260	[DEBUG]	Executed store
2023-10-13	12:21:33	260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859752','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:33	260	[DEBUG]	Checking manufacturer
2023-10-13	12:21:33	260	[DEBUG]	Load a row
2023-10-13	12:21:33	260	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:33	260	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:33	260	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:33	260	[DEBUG]	Executed store
2023-10-13	12:21:33	260	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:33	260	[DEBUG]	Manufacturer exists
2023-10-13	12:21:33	260	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:33	260	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:33	260	[DEBUG]	Executed store
2023-10-13	12:21:33	260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859752','32')
2023-10-13	12:21:33	260	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:33	260	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:33	260	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859752 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:33	260	[DEBUG]	Store custom available field
2023-10-13	12:21:33	260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859752,3,'',1)
2023-10-13	12:21:33	260	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:33	260	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:21:33	260	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859752 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:33	260	[DEBUG]	Store custom available field
2023-10-13	12:21:33	260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859752,6,'S/M',3)
2023-10-13	12:21:33	260	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:33	260	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:33	260	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859751
2023-10-13	12:21:33	260	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:33	260	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859751\":[1859751,8,1,\"choisir la taille\"],\"1859752\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859751
2023-10-13	12:21:33	260	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:33	260	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859752
2023-10-13	12:21:33	261	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:33	261	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:33	261	[DEBUG]	Use field value for field taille
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:33	261	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:33	261	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:33	261	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:33	261	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:33	261	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:33	261	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:33	261	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:33	261	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:33	261	[DEBUG]	Use field value for field published
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:33	261	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field override
2023-10-13	12:21:33	261	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:33	261	[DEBUG]	Use field value for field slug
2023-10-13	12:21:33	261	[DEBUG]	Process line 261
2023-10-13	12:21:33	261	[DEBUG]	Load a row
2023-10-13	12:21:33	261	[DEBUG]	Processing item: 1000000113044
2023-10-13	12:21:33	261	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:33	261	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:33	261	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3262_70'
2023-10-13	12:21:33	261	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:33	261	[DEBUG]	Processing product tax
2023-10-13	12:21:33	261	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:33	261	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:33	261	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:33	261	[DEBUG]	Query for Product
2023-10-13	12:21:33	261	[DEBUG]	Executed store
2023-10-13	12:21:33	261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859751','1000000113044','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:33	261	[DEBUG]	No parent found
2023-10-13	12:21:33	261	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859751 AND customfield_value = 'stockable'
2023-10-13	12:21:33	261	[DEBUG]	Check product language entry
2023-10-13	12:21:33	261	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859753
2023-10-13	12:21:33	261	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:33	261	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113044' AND `virtuemart_product_id` != 1859753
2023-10-13	12:21:33	261	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:33	261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859753, '1000000113044')
2023-10-13	12:21:33	261	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:33	261	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-route-inmold-rouge-blanc-m-l' AND `virtuemart_product_id` != 1859753
2023-10-13	12:21:33	261	[DEBUG]	Query for ProductLang
2023-10-13	12:21:33	261	[DEBUG]	Executed store
2023-10-13	12:21:33	261	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC ROUTE INMOLD  / Rouge-blanc (M/L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-route-inmold-rouge-blanc-m-l' WHERE `virtuemart_product_id` = '1859753'
2023-10-13	12:21:33	261	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17146.jpg
2023-10-13	12:21:33	261	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	12:21:33	261	[DEBUG]	Process image file
2023-10-13	12:21:33	261	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	12:21:33	261	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:33	261	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17146.jpg
2023-10-13	12:21:33	261	[DEBUG]	Full name target: bcprisme/image_17146.jpg
2023-10-13	12:21:34	261	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:34	261	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17146.jpg'
2023-10-13	12:21:34	261	[DEBUG]	Query for Media
2023-10-13	12:21:34	261	[DEBUG]	Executed store
2023-10-13	12:21:34	261	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17146.jpg',`file_url_thumb`='bcprisme/image_17146.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12423'
2023-10-13	12:21:34	261	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:34	261	[DEBUG]	Executed store
2023-10-13	12:21:34	261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859753','12423','1')
2023-10-13	12:21:34	261	[DEBUG]	Store product image relation
2023-10-13	12:21:34	261	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:34	261	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859753 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:34	261	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:34	261	[DEBUG]	Executed store
2023-10-13	12:21:34	261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859753','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:34	261	[DEBUG]	Checking manufacturer
2023-10-13	12:21:34	261	[DEBUG]	Load a row
2023-10-13	12:21:34	261	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:34	261	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:34	261	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:34	261	[DEBUG]	Executed store
2023-10-13	12:21:34	261	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:34	261	[DEBUG]	Manufacturer exists
2023-10-13	12:21:34	261	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:34	261	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:34	261	[DEBUG]	Executed store
2023-10-13	12:21:34	261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859753','32')
2023-10-13	12:21:34	261	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:34	261	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:34	261	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859753 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:34	261	[DEBUG]	Store custom available field
2023-10-13	12:21:34	261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859753,3,'',1)
2023-10-13	12:21:34	261	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:34	261	[DEBUG]	Get existing row with customfield value M/L
2023-10-13	12:21:34	261	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859753 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:34	261	[DEBUG]	Store custom available field
2023-10-13	12:21:34	261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859753,6,'M/L',3)
2023-10-13	12:21:34	261	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:34	261	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:34	261	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859751
2023-10-13	12:21:34	261	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:34	261	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nM\\/L\"}]|clabels=0|options={\"1859751\":[1859751,8,1,\"choisir la taille\"],\"1859752\":[\"S\\/M\"],\"1859753\":[\"M\\/L\"]}|' WHERE `virtuemart_product_id` = 1859751
2023-10-13	12:21:34	261	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:34	261	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859753
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:34	262	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field taille
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:34	262	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:34	262	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:34	262	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:34	262	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:34	262	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:34	262	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field published
2023-10-13	12:21:34	262	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:34	262	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field override
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:34	262	[DEBUG]	Use field value for field slug
2023-10-13	12:21:34	262	[DEBUG]	Process line 262
2023-10-13	12:21:34	262	[DEBUG]	Load a row
2023-10-13	12:21:34	262	[DEBUG]	Processing item: A_3262_156
2023-10-13	12:21:34	262	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:34	262	[DEBUG]	Processing product tax
2023-10-13	12:21:34	262	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:34	262	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:34	262	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:34	262	[DEBUG]	Query for Product
2023-10-13	12:21:34	262	[DEBUG]	Executed store
2023-10-13	12:21:34	262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3262_156','0.238','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:34	262	[DEBUG]	Check product language entry
2023-10-13	12:21:34	262	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859754
2023-10-13	12:21:34	262	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:34	262	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3262_156' AND `virtuemart_product_id` != 1859754
2023-10-13	12:21:34	262	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:34	262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859754, 'A_3262_156')
2023-10-13	12:21:34	262	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:34	262	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-route-inmold-bleu-blanc' AND `virtuemart_product_id` != 1859754
2023-10-13	12:21:34	262	[DEBUG]	Query for ProductLang
2023-10-13	12:21:34	262	[DEBUG]	Executed store
2023-10-13	12:21:34	262	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque Route inmold Taille S/M  54-57 cm Taille M/L 58-61 cm<br>Extrêmement léger avec un maximum de ventilation, technologie inmold. Vous oublierez que vous portez un casque. <br>  <br><br> <br><br><br>POIDS: 238 gr<br><br>N° art fourn : HM15ROADSM',`product_name`='MSC Casque MSC ROUTE INMOLD  / Bleu-blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-route-inmold-bleu-blanc' WHERE `virtuemart_product_id` = '1859754'
2023-10-13	12:21:34	262	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15734.jpg
2023-10-13	12:21:34	262	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:34	262	[DEBUG]	Process image file
2023-10-13	12:21:34	262	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:34	262	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:34	262	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15734.jpg
2023-10-13	12:21:34	262	[DEBUG]	Full name target: bcprisme/image_15734.jpg
2023-10-13	12:21:36	262	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:36	262	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15734.jpg'
2023-10-13	12:21:36	262	[DEBUG]	Query for Media
2023-10-13	12:21:36	262	[DEBUG]	Executed store
2023-10-13	12:21:36	262	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15734.jpg',`file_url_thumb`='bcprisme/image_15734.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12424'
2023-10-13	12:21:36	262	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:36	262	[DEBUG]	Executed store
2023-10-13	12:21:36	262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859754','12424','1')
2023-10-13	12:21:36	262	[DEBUG]	Store product image relation
2023-10-13	12:21:36	262	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:36	262	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859754 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:36	262	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:36	262	[DEBUG]	Executed store
2023-10-13	12:21:36	262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859754','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:36	262	[DEBUG]	Checking manufacturer
2023-10-13	12:21:36	262	[DEBUG]	Load a row
2023-10-13	12:21:36	262	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:36	262	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:36	262	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:36	262	[DEBUG]	Executed store
2023-10-13	12:21:36	262	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:36	262	[DEBUG]	Manufacturer exists
2023-10-13	12:21:36	262	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:36	262	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:36	262	[DEBUG]	Executed store
2023-10-13	12:21:36	262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859754','32')
2023-10-13	12:21:36	262	[DEBUG]	Find the custom field ID
2023-10-13	12:21:36	262	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:36	262	[DEBUG]	No custom field ID found
2023-10-13	12:21:36	262	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:36	262	[DEBUG]	Get existing row with customfield value 119.566944444444
2023-10-13	12:21:36	262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859754 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:36	262	[DEBUG]	Store custom available field
2023-10-13	12:21:36	262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859754,3,'119.566944444444',1)
2023-10-13	12:21:36	262	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:36	262	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:36	262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859754 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:36	262	[DEBUG]	Store custom available field
2023-10-13	12:21:36	262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859754,6,'choisir la taille',3)
2023-10-13	12:21:36	262	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:36	262	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:36	262	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:36	262	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:36	262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859754 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:36	262	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:36	262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859754,8,1)
2023-10-13	12:21:36	262	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:36	262	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859754\":[1859754,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859754
2023-10-13	12:21:36	262	[DEBUG]	Checking category
2023-10-13	12:21:36	262	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:36	262	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859754
2023-10-13	12:21:36	262	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:36	262	[DEBUG]	Executed store
2023-10-13	12:21:36	262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859754','7281')
2023-10-13	12:21:36	262	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:36	262	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859754 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:21:36	262	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:36	262	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859754
2023-10-13	12:21:36	263	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:36	263	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:36	263	[DEBUG]	Use field value for field taille
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:36	263	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:36	263	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:36	263	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:36	263	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:36	263	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:36	263	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:36	263	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:36	263	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:36	263	[DEBUG]	Use field value for field published
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:36	263	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field override
2023-10-13	12:21:36	263	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:36	263	[DEBUG]	Use field value for field slug
2023-10-13	12:21:36	263	[DEBUG]	Process line 263
2023-10-13	12:21:36	263	[DEBUG]	Load a row
2023-10-13	12:21:36	263	[DEBUG]	Processing item: 1000000053036
2023-10-13	12:21:36	263	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:36	263	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:36	263	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3262_156'
2023-10-13	12:21:36	263	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:36	263	[DEBUG]	Processing product tax
2023-10-13	12:21:36	263	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:36	263	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:36	263	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:36	263	[DEBUG]	Query for Product
2023-10-13	12:21:36	263	[DEBUG]	Executed store
2023-10-13	12:21:36	263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859754','1000000053036','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:36	263	[DEBUG]	No parent found
2023-10-13	12:21:36	263	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859754 AND customfield_value = 'stockable'
2023-10-13	12:21:36	263	[DEBUG]	Check product language entry
2023-10-13	12:21:36	263	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859755
2023-10-13	12:21:36	263	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:36	263	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000053036' AND `virtuemart_product_id` != 1859755
2023-10-13	12:21:36	263	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:36	263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859755, '1000000053036')
2023-10-13	12:21:36	263	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:36	263	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-route-inmold-bleu-blanc-s-m' AND `virtuemart_product_id` != 1859755
2023-10-13	12:21:36	263	[DEBUG]	Query for ProductLang
2023-10-13	12:21:36	263	[DEBUG]	Executed store
2023-10-13	12:21:36	263	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC ROUTE INMOLD  / Bleu-blanc (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-route-inmold-bleu-blanc-s-m' WHERE `virtuemart_product_id` = '1859755'
2023-10-13	12:21:36	263	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15734.jpg
2023-10-13	12:21:36	263	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:36	263	[DEBUG]	Process image file
2023-10-13	12:21:36	263	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:36	263	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:36	263	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15734.jpg
2023-10-13	12:21:36	263	[DEBUG]	Full name target: bcprisme/image_15734.jpg
2023-10-13	12:21:38	263	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:38	263	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15734.jpg'
2023-10-13	12:21:38	263	[DEBUG]	Query for Media
2023-10-13	12:21:38	263	[DEBUG]	Executed store
2023-10-13	12:21:38	263	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15734.jpg',`file_url_thumb`='bcprisme/image_15734.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12424'
2023-10-13	12:21:38	263	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:38	263	[DEBUG]	Executed store
2023-10-13	12:21:38	263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859755','12424','1')
2023-10-13	12:21:38	263	[DEBUG]	Store product image relation
2023-10-13	12:21:38	263	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:38	263	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859755 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:38	263	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:38	263	[DEBUG]	Executed store
2023-10-13	12:21:38	263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859755','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:38	263	[DEBUG]	Checking manufacturer
2023-10-13	12:21:38	263	[DEBUG]	Load a row
2023-10-13	12:21:38	263	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:38	263	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:38	263	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:38	263	[DEBUG]	Executed store
2023-10-13	12:21:38	263	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:38	263	[DEBUG]	Manufacturer exists
2023-10-13	12:21:38	263	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:38	263	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:38	263	[DEBUG]	Executed store
2023-10-13	12:21:38	263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859755','32')
2023-10-13	12:21:38	263	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:38	263	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:38	263	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859755 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:38	263	[DEBUG]	Store custom available field
2023-10-13	12:21:38	263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859755,3,'',1)
2023-10-13	12:21:38	263	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:38	263	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:21:38	263	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859755 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:38	263	[DEBUG]	Store custom available field
2023-10-13	12:21:38	263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859755,6,'S/M',3)
2023-10-13	12:21:38	263	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:38	263	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:38	263	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859754
2023-10-13	12:21:38	263	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:38	263	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859754\":[1859754,8,1,\"choisir la taille\"],\"1859755\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859754
2023-10-13	12:21:38	263	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:38	263	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859755
2023-10-13	12:21:38	264	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:38	264	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:38	264	[DEBUG]	Use field value for field taille
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:38	264	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:38	264	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:38	264	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:38	264	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:38	264	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:38	264	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:38	264	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:38	264	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:38	264	[DEBUG]	Use field value for field published
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:38	264	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field override
2023-10-13	12:21:38	264	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:38	264	[DEBUG]	Use field value for field slug
2023-10-13	12:21:38	264	[DEBUG]	Process line 264
2023-10-13	12:21:38	264	[DEBUG]	Load a row
2023-10-13	12:21:38	264	[DEBUG]	Processing item: 1000000113051
2023-10-13	12:21:38	264	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:38	264	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:38	264	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3262_156'
2023-10-13	12:21:38	264	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:38	264	[DEBUG]	Processing product tax
2023-10-13	12:21:38	264	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:38	264	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:38	264	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:38	264	[DEBUG]	Query for Product
2023-10-13	12:21:38	264	[DEBUG]	Executed store
2023-10-13	12:21:38	264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859754','1000000113051','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:38	264	[DEBUG]	No parent found
2023-10-13	12:21:38	264	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859754 AND customfield_value = 'stockable'
2023-10-13	12:21:38	264	[DEBUG]	Check product language entry
2023-10-13	12:21:38	264	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859756
2023-10-13	12:21:38	264	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:38	264	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113051' AND `virtuemart_product_id` != 1859756
2023-10-13	12:21:38	264	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:38	264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859756, '1000000113051')
2023-10-13	12:21:38	264	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:38	264	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-route-inmold-bleu-blanc-m-l' AND `virtuemart_product_id` != 1859756
2023-10-13	12:21:38	264	[DEBUG]	Query for ProductLang
2023-10-13	12:21:38	264	[DEBUG]	Executed store
2023-10-13	12:21:38	264	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC ROUTE INMOLD  / Bleu-blanc (M/L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-route-inmold-bleu-blanc-m-l' WHERE `virtuemart_product_id` = '1859756'
2023-10-13	12:21:38	264	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15734.jpg
2023-10-13	12:21:38	264	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:38	264	[DEBUG]	Process image file
2023-10-13	12:21:38	264	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:38	264	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:38	264	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15734.jpg
2023-10-13	12:21:38	264	[DEBUG]	Full name target: bcprisme/image_15734.jpg
2023-10-13	12:21:40	264	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:40	264	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15734.jpg'
2023-10-13	12:21:40	264	[DEBUG]	Query for Media
2023-10-13	12:21:40	264	[DEBUG]	Executed store
2023-10-13	12:21:40	264	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15734.jpg',`file_url_thumb`='bcprisme/image_15734.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12424'
2023-10-13	12:21:40	264	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:40	264	[DEBUG]	Executed store
2023-10-13	12:21:40	264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859756','12424','1')
2023-10-13	12:21:40	264	[DEBUG]	Store product image relation
2023-10-13	12:21:40	264	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:40	264	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859756 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:40	264	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:40	264	[DEBUG]	Executed store
2023-10-13	12:21:40	264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859756','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:40	264	[DEBUG]	Checking manufacturer
2023-10-13	12:21:40	264	[DEBUG]	Load a row
2023-10-13	12:21:40	264	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:40	264	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:40	264	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:40	264	[DEBUG]	Executed store
2023-10-13	12:21:40	264	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:40	264	[DEBUG]	Manufacturer exists
2023-10-13	12:21:40	264	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:40	264	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:40	264	[DEBUG]	Executed store
2023-10-13	12:21:40	264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859756','32')
2023-10-13	12:21:40	264	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:40	264	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:40	264	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859756 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:40	264	[DEBUG]	Store custom available field
2023-10-13	12:21:40	264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859756,3,'',1)
2023-10-13	12:21:40	264	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:40	264	[DEBUG]	Get existing row with customfield value M/L
2023-10-13	12:21:40	264	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859756 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:40	264	[DEBUG]	Store custom available field
2023-10-13	12:21:40	264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859756,6,'M/L',3)
2023-10-13	12:21:40	264	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:40	264	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:40	264	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859754
2023-10-13	12:21:40	264	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:40	264	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nM\\/L\"}]|clabels=0|options={\"1859754\":[1859754,8,1,\"choisir la taille\"],\"1859755\":[\"S\\/M\"],\"1859756\":[\"M\\/L\"]}|' WHERE `virtuemart_product_id` = 1859754
2023-10-13	12:21:40	264	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:40	264	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859756
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:40	265	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field taille
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:40	265	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:40	265	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:40	265	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:40	265	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:40	265	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:40	265	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field published
2023-10-13	12:21:40	265	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:40	265	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field override
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:40	265	[DEBUG]	Use field value for field slug
2023-10-13	12:21:40	265	[DEBUG]	Process line 265
2023-10-13	12:21:40	265	[DEBUG]	Load a row
2023-10-13	12:21:40	265	[DEBUG]	Processing item: A_3266_23
2023-10-13	12:21:40	265	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:40	265	[DEBUG]	Processing product tax
2023-10-13	12:21:40	265	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:40	265	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:40	265	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:40	265	[DEBUG]	Query for Product
2023-10-13	12:21:40	265	[DEBUG]	Executed store
2023-10-13	12:21:40	265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3266_23','0.276','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:40	265	[DEBUG]	Check product language entry
2023-10-13	12:21:40	265	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859757
2023-10-13	12:21:40	265	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:40	265	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3266_23' AND `virtuemart_product_id` != 1859757
2023-10-13	12:21:40	265	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:40	265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859757, 'A_3266_23')
2023-10-13	12:21:40	265	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:40	265	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-pro-kevlar-noir-gris' AND `virtuemart_product_id` != 1859757
2023-10-13	12:21:40	265	[DEBUG]	Query for ProductLang
2023-10-13	12:21:40	265	[DEBUG]	Executed store
2023-10-13	12:21:40	265	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque Vtt Pro S/M  55/58 cm, 276 gr  M/L 59/62 cm, 280 gr. <br><br>Un casque pour champions. Léger, ventilé avec squelette en Kevlar pour augmenter la résistance lors d\'impact et répartir le choc de manière uniforme sur toute la superficie du crâne. <br>  <br><br> <br><br><br>POIDS: 276 gr<br><br>N° art fourn : HM15XCPROSM',`product_name`='MSC Casque MSC VTT PRO KEVLAR  / Noir-gris',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-pro-kevlar-noir-gris' WHERE `virtuemart_product_id` = '1859757'
2023-10-13	12:21:40	265	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15749.jpg
2023-10-13	12:21:40	265	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:40	265	[DEBUG]	Process image file
2023-10-13	12:21:40	265	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:40	265	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:40	265	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15749.jpg
2023-10-13	12:21:40	265	[DEBUG]	Full name target: bcprisme/image_15749.jpg
2023-10-13	12:21:41	265	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:41	265	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15749.jpg'
2023-10-13	12:21:41	265	[DEBUG]	Query for Media
2023-10-13	12:21:41	265	[DEBUG]	Executed store
2023-10-13	12:21:41	265	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15749.jpg',`file_url_thumb`='bcprisme/image_15749.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12383'
2023-10-13	12:21:41	265	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:41	265	[DEBUG]	Executed store
2023-10-13	12:21:41	265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859757','12383','1')
2023-10-13	12:21:41	265	[DEBUG]	Store product image relation
2023-10-13	12:21:41	265	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:41	265	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859757 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:41	265	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:41	265	[DEBUG]	Executed store
2023-10-13	12:21:41	265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859757','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:41	265	[DEBUG]	Checking manufacturer
2023-10-13	12:21:41	265	[DEBUG]	Load a row
2023-10-13	12:21:41	265	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:41	265	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:41	265	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:41	265	[DEBUG]	Executed store
2023-10-13	12:21:41	265	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:41	265	[DEBUG]	Manufacturer exists
2023-10-13	12:21:41	265	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:41	265	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:41	265	[DEBUG]	Executed store
2023-10-13	12:21:41	265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859757','32')
2023-10-13	12:21:41	265	[DEBUG]	Find the custom field ID
2023-10-13	12:21:41	265	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:41	265	[DEBUG]	No custom field ID found
2023-10-13	12:21:41	265	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:41	265	[DEBUG]	Get existing row with customfield value 169.428055555556
2023-10-13	12:21:41	265	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859757 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:41	265	[DEBUG]	Store custom available field
2023-10-13	12:21:41	265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859757,3,'169.428055555556',1)
2023-10-13	12:21:41	265	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:41	265	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:41	265	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859757 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:41	265	[DEBUG]	Store custom available field
2023-10-13	12:21:41	265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859757,6,'choisir la taille',3)
2023-10-13	12:21:41	265	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:41	265	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:41	265	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:41	265	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:41	265	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859757 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:41	265	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:41	265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859757,8,1)
2023-10-13	12:21:41	265	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:41	265	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859757\":[1859757,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859757
2023-10-13	12:21:41	265	[DEBUG]	Checking category
2023-10-13	12:21:41	265	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:41	265	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859757
2023-10-13	12:21:41	265	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:41	265	[DEBUG]	Executed store
2023-10-13	12:21:41	265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859757','7281')
2023-10-13	12:21:41	265	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:41	265	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859757 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:21:41	265	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:41	265	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859757
2023-10-13	12:21:41	266	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:41	266	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:41	266	[DEBUG]	Use field value for field taille
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:41	266	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:41	266	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:41	266	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:41	266	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:41	266	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:41	266	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:41	266	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:41	266	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:41	266	[DEBUG]	Use field value for field published
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:41	266	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field override
2023-10-13	12:21:41	266	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:41	266	[DEBUG]	Use field value for field slug
2023-10-13	12:21:41	266	[DEBUG]	Process line 266
2023-10-13	12:21:41	266	[DEBUG]	Load a row
2023-10-13	12:21:41	266	[DEBUG]	Processing item: 1000000053159
2023-10-13	12:21:41	266	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:41	266	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:41	266	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3266_23'
2023-10-13	12:21:41	266	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:41	266	[DEBUG]	Processing product tax
2023-10-13	12:21:41	266	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:41	266	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:41	266	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:41	266	[DEBUG]	Query for Product
2023-10-13	12:21:41	266	[DEBUG]	Executed store
2023-10-13	12:21:41	266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859757','1000000053159','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:41	266	[DEBUG]	No parent found
2023-10-13	12:21:41	266	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859757 AND customfield_value = 'stockable'
2023-10-13	12:21:41	266	[DEBUG]	Check product language entry
2023-10-13	12:21:41	266	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859758
2023-10-13	12:21:41	266	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:41	266	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000053159' AND `virtuemart_product_id` != 1859758
2023-10-13	12:21:41	266	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:41	266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859758, '1000000053159')
2023-10-13	12:21:41	266	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:41	266	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-pro-kevlar-noir-gris-s-m' AND `virtuemart_product_id` != 1859758
2023-10-13	12:21:41	266	[DEBUG]	Query for ProductLang
2023-10-13	12:21:41	266	[DEBUG]	Executed store
2023-10-13	12:21:41	266	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC VTT PRO KEVLAR  / Noir-gris (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-pro-kevlar-noir-gris-s-m' WHERE `virtuemart_product_id` = '1859758'
2023-10-13	12:21:41	266	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15749.jpg
2023-10-13	12:21:41	266	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:41	266	[DEBUG]	Process image file
2023-10-13	12:21:41	266	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:41	266	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:41	266	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15749.jpg
2023-10-13	12:21:41	266	[DEBUG]	Full name target: bcprisme/image_15749.jpg
2023-10-13	12:21:42	266	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:42	266	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15749.jpg'
2023-10-13	12:21:42	266	[DEBUG]	Query for Media
2023-10-13	12:21:42	266	[DEBUG]	Executed store
2023-10-13	12:21:42	266	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15749.jpg',`file_url_thumb`='bcprisme/image_15749.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12383'
2023-10-13	12:21:42	266	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:42	266	[DEBUG]	Executed store
2023-10-13	12:21:42	266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859758','12383','1')
2023-10-13	12:21:42	266	[DEBUG]	Store product image relation
2023-10-13	12:21:42	266	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:42	266	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859758 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:42	266	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:42	266	[DEBUG]	Executed store
2023-10-13	12:21:42	266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859758','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:42	266	[DEBUG]	Checking manufacturer
2023-10-13	12:21:42	266	[DEBUG]	Load a row
2023-10-13	12:21:42	266	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:42	266	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:42	266	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:42	266	[DEBUG]	Executed store
2023-10-13	12:21:42	266	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:42	266	[DEBUG]	Manufacturer exists
2023-10-13	12:21:42	266	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:42	266	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:42	266	[DEBUG]	Executed store
2023-10-13	12:21:42	266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859758','32')
2023-10-13	12:21:42	266	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:42	266	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:42	266	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859758 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:42	266	[DEBUG]	Store custom available field
2023-10-13	12:21:42	266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859758,3,'',1)
2023-10-13	12:21:42	266	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:42	266	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:21:42	266	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859758 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:42	266	[DEBUG]	Store custom available field
2023-10-13	12:21:42	266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859758,6,'S/M',3)
2023-10-13	12:21:42	266	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:42	266	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:42	266	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859757
2023-10-13	12:21:42	266	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:42	266	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859757\":[1859757,8,1,\"choisir la taille\"],\"1859758\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859757
2023-10-13	12:21:42	266	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:42	266	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859758
2023-10-13	12:21:42	267	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:42	267	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:42	267	[DEBUG]	Use field value for field taille
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:42	267	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:42	267	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:42	267	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:42	267	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:42	267	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:42	267	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:42	267	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:42	267	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:42	267	[DEBUG]	Use field value for field published
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:42	267	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field override
2023-10-13	12:21:42	267	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:42	267	[DEBUG]	Use field value for field slug
2023-10-13	12:21:42	267	[DEBUG]	Process line 267
2023-10-13	12:21:42	267	[DEBUG]	Load a row
2023-10-13	12:21:42	267	[DEBUG]	Processing item: 1000000113068
2023-10-13	12:21:42	267	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:42	267	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:42	267	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3266_23'
2023-10-13	12:21:42	267	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:42	267	[DEBUG]	Processing product tax
2023-10-13	12:21:42	267	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:42	267	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:42	267	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:42	267	[DEBUG]	Query for Product
2023-10-13	12:21:42	267	[DEBUG]	Executed store
2023-10-13	12:21:42	267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859757','1000000113068','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:42	267	[DEBUG]	No parent found
2023-10-13	12:21:42	267	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859757 AND customfield_value = 'stockable'
2023-10-13	12:21:42	267	[DEBUG]	Check product language entry
2023-10-13	12:21:42	267	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859759
2023-10-13	12:21:42	267	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:42	267	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113068' AND `virtuemart_product_id` != 1859759
2023-10-13	12:21:42	267	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:42	267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859759, '1000000113068')
2023-10-13	12:21:42	267	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:42	267	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-pro-kevlar-noir-gris-m-l' AND `virtuemart_product_id` != 1859759
2023-10-13	12:21:42	267	[DEBUG]	Query for ProductLang
2023-10-13	12:21:42	267	[DEBUG]	Executed store
2023-10-13	12:21:42	267	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC VTT PRO KEVLAR  / Noir-gris (M/L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-pro-kevlar-noir-gris-m-l' WHERE `virtuemart_product_id` = '1859759'
2023-10-13	12:21:42	267	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15749.jpg
2023-10-13	12:21:42	267	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:42	267	[DEBUG]	Process image file
2023-10-13	12:21:42	267	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:42	267	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:42	267	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15749.jpg
2023-10-13	12:21:42	267	[DEBUG]	Full name target: bcprisme/image_15749.jpg
2023-10-13	12:21:43	267	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:43	267	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15749.jpg'
2023-10-13	12:21:43	267	[DEBUG]	Query for Media
2023-10-13	12:21:43	267	[DEBUG]	Executed store
2023-10-13	12:21:43	267	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15749.jpg',`file_url_thumb`='bcprisme/image_15749.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12383'
2023-10-13	12:21:43	267	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:43	267	[DEBUG]	Executed store
2023-10-13	12:21:43	267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859759','12383','1')
2023-10-13	12:21:43	267	[DEBUG]	Store product image relation
2023-10-13	12:21:43	267	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:43	267	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859759 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:43	267	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:43	267	[DEBUG]	Executed store
2023-10-13	12:21:43	267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859759','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:43	267	[DEBUG]	Checking manufacturer
2023-10-13	12:21:43	267	[DEBUG]	Load a row
2023-10-13	12:21:43	267	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:43	267	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:43	267	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:43	267	[DEBUG]	Executed store
2023-10-13	12:21:43	267	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:43	267	[DEBUG]	Manufacturer exists
2023-10-13	12:21:43	267	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:43	267	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:43	267	[DEBUG]	Executed store
2023-10-13	12:21:43	267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859759','32')
2023-10-13	12:21:43	267	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:43	267	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:43	267	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859759 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:43	267	[DEBUG]	Store custom available field
2023-10-13	12:21:43	267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859759,3,'',1)
2023-10-13	12:21:43	267	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:43	267	[DEBUG]	Get existing row with customfield value M/L
2023-10-13	12:21:43	267	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859759 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:43	267	[DEBUG]	Store custom available field
2023-10-13	12:21:43	267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859759,6,'M/L',3)
2023-10-13	12:21:43	267	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:43	267	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:43	267	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859757
2023-10-13	12:21:43	267	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:43	267	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nM\\/L\"}]|clabels=0|options={\"1859757\":[1859757,8,1,\"choisir la taille\"],\"1859758\":[\"S\\/M\"],\"1859759\":[\"M\\/L\"]}|' WHERE `virtuemart_product_id` = 1859757
2023-10-13	12:21:43	267	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:43	267	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859759
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:43	268	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field taille
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:43	268	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:43	268	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:43	268	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:43	268	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:43	268	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:43	268	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field published
2023-10-13	12:21:43	268	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:43	268	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field override
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:43	268	[DEBUG]	Use field value for field slug
2023-10-13	12:21:43	268	[DEBUG]	Process line 268
2023-10-13	12:21:43	268	[DEBUG]	Load a row
2023-10-13	12:21:43	268	[DEBUG]	Processing item: A_3266_53
2023-10-13	12:21:43	268	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:43	268	[DEBUG]	Processing product tax
2023-10-13	12:21:43	268	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:43	268	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:43	268	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:43	268	[DEBUG]	Query for Product
2023-10-13	12:21:43	268	[DEBUG]	Executed store
2023-10-13	12:21:43	268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3266_53','0.276','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:43	268	[DEBUG]	Check product language entry
2023-10-13	12:21:43	268	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859760
2023-10-13	12:21:43	268	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:43	268	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3266_53' AND `virtuemart_product_id` != 1859760
2023-10-13	12:21:43	268	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:43	268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859760, 'A_3266_53')
2023-10-13	12:21:43	268	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:43	268	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-pro-kevlar-rouge-noir' AND `virtuemart_product_id` != 1859760
2023-10-13	12:21:43	268	[DEBUG]	Query for ProductLang
2023-10-13	12:21:43	268	[DEBUG]	Executed store
2023-10-13	12:21:43	268	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque Vtt Pro S/M  55/58 cm, 276 gr  M/L 59/62 cm, 280 gr. <br><br>Un casque pour champions. Léger, ventilé avec squelette en Kevlar pour augmenter la résistance lors d\'impact et répartir le choc de manière uniforme sur toute la superficie du crâne. <br>  <br><br> <br><br><br>POIDS: 276 gr<br><br>N° art fourn : HM15XCPROSM',`product_name`='MSC Casque MSC VTT PRO KEVLAR  / Rouge-noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-pro-kevlar-rouge-noir' WHERE `virtuemart_product_id` = '1859760'
2023-10-13	12:21:43	268	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15746.jpg
2023-10-13	12:21:43	268	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:43	268	[DEBUG]	Process image file
2023-10-13	12:21:43	268	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:43	268	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:43	268	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15746.jpg
2023-10-13	12:21:43	268	[DEBUG]	Full name target: bcprisme/image_15746.jpg
2023-10-13	12:21:44	268	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:44	268	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15746.jpg'
2023-10-13	12:21:44	268	[DEBUG]	Query for Media
2023-10-13	12:21:44	268	[DEBUG]	Executed store
2023-10-13	12:21:44	268	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15746.jpg',`file_url_thumb`='bcprisme/image_15746.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12384'
2023-10-13	12:21:44	268	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:44	268	[DEBUG]	Executed store
2023-10-13	12:21:44	268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859760','12384','1')
2023-10-13	12:21:44	268	[DEBUG]	Store product image relation
2023-10-13	12:21:44	268	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:44	268	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859760 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:44	268	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:44	268	[DEBUG]	Executed store
2023-10-13	12:21:44	268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859760','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:44	268	[DEBUG]	Checking manufacturer
2023-10-13	12:21:44	268	[DEBUG]	Load a row
2023-10-13	12:21:44	268	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:44	268	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:44	268	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:44	268	[DEBUG]	Executed store
2023-10-13	12:21:44	268	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:44	268	[DEBUG]	Manufacturer exists
2023-10-13	12:21:44	268	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:44	268	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:44	268	[DEBUG]	Executed store
2023-10-13	12:21:44	268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859760','32')
2023-10-13	12:21:44	268	[DEBUG]	Find the custom field ID
2023-10-13	12:21:44	268	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:44	268	[DEBUG]	No custom field ID found
2023-10-13	12:21:44	268	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:44	268	[DEBUG]	Get existing row with customfield value 169.428055555556
2023-10-13	12:21:44	268	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859760 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:44	268	[DEBUG]	Store custom available field
2023-10-13	12:21:44	268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859760,3,'169.428055555556',1)
2023-10-13	12:21:44	268	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:44	268	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:44	268	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859760 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:44	268	[DEBUG]	Store custom available field
2023-10-13	12:21:44	268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859760,6,'choisir la taille',3)
2023-10-13	12:21:44	268	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:44	268	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:44	268	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:44	268	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:44	268	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859760 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:44	268	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:44	268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859760,8,1)
2023-10-13	12:21:44	268	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:44	268	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859760\":[1859760,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859760
2023-10-13	12:21:44	268	[DEBUG]	Checking category
2023-10-13	12:21:44	268	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:44	268	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859760
2023-10-13	12:21:44	268	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:44	268	[DEBUG]	Executed store
2023-10-13	12:21:44	268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859760','7281')
2023-10-13	12:21:44	268	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:44	268	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859760 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:21:44	268	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:44	268	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859760
2023-10-13	12:21:44	269	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:44	269	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:44	269	[DEBUG]	Use field value for field taille
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:44	269	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:44	269	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:44	269	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:44	269	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:44	269	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:44	269	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:44	269	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:44	269	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:44	269	[DEBUG]	Use field value for field published
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:44	269	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field override
2023-10-13	12:21:44	269	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:44	269	[DEBUG]	Use field value for field slug
2023-10-13	12:21:44	269	[DEBUG]	Process line 269
2023-10-13	12:21:44	269	[DEBUG]	Load a row
2023-10-13	12:21:44	269	[DEBUG]	Processing item: 8436550195323
2023-10-13	12:21:44	269	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:44	269	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:44	269	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3266_53'
2023-10-13	12:21:44	269	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:44	269	[DEBUG]	Processing product tax
2023-10-13	12:21:44	269	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:44	269	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:44	269	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:44	269	[DEBUG]	Query for Product
2023-10-13	12:21:44	269	[DEBUG]	Executed store
2023-10-13	12:21:44	269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859760','8436550195323','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:44	269	[DEBUG]	No parent found
2023-10-13	12:21:44	269	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859760 AND customfield_value = 'stockable'
2023-10-13	12:21:44	269	[DEBUG]	Check product language entry
2023-10-13	12:21:44	269	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859761
2023-10-13	12:21:44	269	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:44	269	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550195323' AND `virtuemart_product_id` != 1859761
2023-10-13	12:21:44	269	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:44	269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859761, '8436550195323')
2023-10-13	12:21:44	269	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:44	269	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-pro-kevlar-rouge-noir-s-m' AND `virtuemart_product_id` != 1859761
2023-10-13	12:21:44	269	[DEBUG]	Query for ProductLang
2023-10-13	12:21:44	269	[DEBUG]	Executed store
2023-10-13	12:21:44	269	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC VTT PRO KEVLAR  / Rouge-noir (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-pro-kevlar-rouge-noir-s-m' WHERE `virtuemart_product_id` = '1859761'
2023-10-13	12:21:44	269	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15746.jpg
2023-10-13	12:21:44	269	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:44	269	[DEBUG]	Process image file
2023-10-13	12:21:44	269	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:44	269	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:44	269	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15746.jpg
2023-10-13	12:21:44	269	[DEBUG]	Full name target: bcprisme/image_15746.jpg
2023-10-13	12:21:45	269	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:45	269	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15746.jpg'
2023-10-13	12:21:45	269	[DEBUG]	Query for Media
2023-10-13	12:21:45	269	[DEBUG]	Executed store
2023-10-13	12:21:45	269	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15746.jpg',`file_url_thumb`='bcprisme/image_15746.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12384'
2023-10-13	12:21:45	269	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:45	269	[DEBUG]	Executed store
2023-10-13	12:21:45	269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859761','12384','1')
2023-10-13	12:21:45	269	[DEBUG]	Store product image relation
2023-10-13	12:21:45	269	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:45	269	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859761 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:45	269	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:45	269	[DEBUG]	Executed store
2023-10-13	12:21:45	269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859761','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:45	269	[DEBUG]	Checking manufacturer
2023-10-13	12:21:45	269	[DEBUG]	Load a row
2023-10-13	12:21:45	269	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:45	269	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:45	269	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:45	269	[DEBUG]	Executed store
2023-10-13	12:21:45	269	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:45	269	[DEBUG]	Manufacturer exists
2023-10-13	12:21:45	269	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:45	269	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:45	269	[DEBUG]	Executed store
2023-10-13	12:21:45	269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859761','32')
2023-10-13	12:21:45	269	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:45	269	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:45	269	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859761 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:45	269	[DEBUG]	Store custom available field
2023-10-13	12:21:45	269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859761,3,'',1)
2023-10-13	12:21:45	269	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:45	269	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:21:45	269	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859761 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:45	269	[DEBUG]	Store custom available field
2023-10-13	12:21:45	269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859761,6,'S/M',3)
2023-10-13	12:21:45	269	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:45	269	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:45	269	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859760
2023-10-13	12:21:45	269	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:45	269	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859760\":[1859760,8,1,\"choisir la taille\"],\"1859761\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859760
2023-10-13	12:21:45	269	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:45	269	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859761
2023-10-13	12:21:45	270	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:45	270	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:45	270	[DEBUG]	Use field value for field taille
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:45	270	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:45	270	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:45	270	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:45	270	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:45	270	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:45	270	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:45	270	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:45	270	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:45	270	[DEBUG]	Use field value for field published
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:45	270	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field override
2023-10-13	12:21:45	270	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:45	270	[DEBUG]	Use field value for field slug
2023-10-13	12:21:45	270	[DEBUG]	Process line 270
2023-10-13	12:21:45	270	[DEBUG]	Load a row
2023-10-13	12:21:45	270	[DEBUG]	Processing item: 1000000113082
2023-10-13	12:21:45	270	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:45	270	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:45	270	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3266_53'
2023-10-13	12:21:45	270	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:45	270	[DEBUG]	Processing product tax
2023-10-13	12:21:45	270	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:45	270	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:45	270	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:45	270	[DEBUG]	Query for Product
2023-10-13	12:21:45	270	[DEBUG]	Executed store
2023-10-13	12:21:45	270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859760','1000000113082','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:45	270	[DEBUG]	No parent found
2023-10-13	12:21:45	270	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859760 AND customfield_value = 'stockable'
2023-10-13	12:21:45	270	[DEBUG]	Check product language entry
2023-10-13	12:21:45	270	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859762
2023-10-13	12:21:45	270	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:45	270	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113082' AND `virtuemart_product_id` != 1859762
2023-10-13	12:21:45	270	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:45	270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859762, '1000000113082')
2023-10-13	12:21:45	270	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:45	270	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-pro-kevlar-rouge-noir-m-l' AND `virtuemart_product_id` != 1859762
2023-10-13	12:21:45	270	[DEBUG]	Query for ProductLang
2023-10-13	12:21:45	270	[DEBUG]	Executed store
2023-10-13	12:21:45	270	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC VTT PRO KEVLAR  / Rouge-noir (M/L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-pro-kevlar-rouge-noir-m-l' WHERE `virtuemart_product_id` = '1859762'
2023-10-13	12:21:45	270	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15746.jpg
2023-10-13	12:21:45	270	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:45	270	[DEBUG]	Process image file
2023-10-13	12:21:45	270	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:45	270	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:45	270	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15746.jpg
2023-10-13	12:21:45	270	[DEBUG]	Full name target: bcprisme/image_15746.jpg
2023-10-13	12:21:46	270	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:46	270	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15746.jpg'
2023-10-13	12:21:46	270	[DEBUG]	Query for Media
2023-10-13	12:21:46	270	[DEBUG]	Executed store
2023-10-13	12:21:46	270	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15746.jpg',`file_url_thumb`='bcprisme/image_15746.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12384'
2023-10-13	12:21:46	270	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:46	270	[DEBUG]	Executed store
2023-10-13	12:21:46	270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859762','12384','1')
2023-10-13	12:21:46	270	[DEBUG]	Store product image relation
2023-10-13	12:21:46	270	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:46	270	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859762 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:46	270	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:46	270	[DEBUG]	Executed store
2023-10-13	12:21:46	270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859762','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:46	270	[DEBUG]	Checking manufacturer
2023-10-13	12:21:46	270	[DEBUG]	Load a row
2023-10-13	12:21:46	270	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:46	270	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:46	270	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:46	270	[DEBUG]	Executed store
2023-10-13	12:21:46	270	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:46	270	[DEBUG]	Manufacturer exists
2023-10-13	12:21:46	270	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:46	270	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:46	270	[DEBUG]	Executed store
2023-10-13	12:21:46	270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859762','32')
2023-10-13	12:21:46	270	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:46	270	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:46	270	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859762 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:46	270	[DEBUG]	Store custom available field
2023-10-13	12:21:46	270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859762,3,'',1)
2023-10-13	12:21:46	270	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:46	270	[DEBUG]	Get existing row with customfield value M/L
2023-10-13	12:21:46	270	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859762 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:46	270	[DEBUG]	Store custom available field
2023-10-13	12:21:46	270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859762,6,'M/L',3)
2023-10-13	12:21:46	270	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:46	270	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:46	270	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859760
2023-10-13	12:21:46	270	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:46	270	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nM\\/L\"}]|clabels=0|options={\"1859760\":[1859760,8,1,\"choisir la taille\"],\"1859761\":[\"S\\/M\"],\"1859762\":[\"M\\/L\"]}|' WHERE `virtuemart_product_id` = 1859760
2023-10-13	12:21:46	270	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:46	270	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859762
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:46	271	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field taille
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:46	271	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:46	271	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:46	271	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:46	271	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:46	271	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:46	271	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field published
2023-10-13	12:21:46	271	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:46	271	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field override
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:46	271	[DEBUG]	Use field value for field slug
2023-10-13	12:21:46	271	[DEBUG]	Process line 271
2023-10-13	12:21:46	271	[DEBUG]	Load a row
2023-10-13	12:21:46	271	[DEBUG]	Processing item: A_3266_149
2023-10-13	12:21:46	271	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:46	271	[DEBUG]	Processing product tax
2023-10-13	12:21:46	271	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:46	271	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:46	271	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:46	271	[DEBUG]	Query for Product
2023-10-13	12:21:46	271	[DEBUG]	Executed store
2023-10-13	12:21:46	271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3266_149','0.276','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:46	271	[DEBUG]	Check product language entry
2023-10-13	12:21:46	271	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859763
2023-10-13	12:21:46	271	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:46	271	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3266_149' AND `virtuemart_product_id` != 1859763
2023-10-13	12:21:46	271	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:46	271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859763, 'A_3266_149')
2023-10-13	12:21:46	271	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:46	271	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-pro-kevlar-vert-noir' AND `virtuemart_product_id` != 1859763
2023-10-13	12:21:46	271	[DEBUG]	Query for ProductLang
2023-10-13	12:21:46	271	[DEBUG]	Executed store
2023-10-13	12:21:46	271	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque Vtt Pro S/M  55/58 cm, 276 gr  M/L 59/62 cm, 280 gr. <br><br>Un casque pour champions. Léger, ventilé avec squelette en Kevlar pour augmenter la résistance lors d\'impact et répartir le choc de manière uniforme sur toute la superficie du crâne. <br>  <br><br> <br><br><br>POIDS: 276 gr<br><br>N° art fourn : HM15XCPROSM',`product_name`='MSC Casque MSC VTT PRO KEVLAR  / VERT-NOIR',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-pro-kevlar-vert-noir' WHERE `virtuemart_product_id` = '1859763'
2023-10-13	12:21:46	271	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15748.jpg
2023-10-13	12:21:46	271	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:46	271	[DEBUG]	Process image file
2023-10-13	12:21:46	271	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:46	271	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:46	271	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15748.jpg
2023-10-13	12:21:46	271	[DEBUG]	Full name target: bcprisme/image_15748.jpg
2023-10-13	12:21:47	271	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:47	271	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15748.jpg'
2023-10-13	12:21:47	271	[DEBUG]	Query for Media
2023-10-13	12:21:47	271	[DEBUG]	Executed store
2023-10-13	12:21:47	271	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15748.jpg',`file_url_thumb`='bcprisme/image_15748.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12385'
2023-10-13	12:21:47	271	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:47	271	[DEBUG]	Executed store
2023-10-13	12:21:47	271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859763','12385','1')
2023-10-13	12:21:47	271	[DEBUG]	Store product image relation
2023-10-13	12:21:47	271	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:47	271	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859763 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:47	271	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:47	271	[DEBUG]	Executed store
2023-10-13	12:21:47	271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859763','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:47	271	[DEBUG]	Checking manufacturer
2023-10-13	12:21:47	271	[DEBUG]	Load a row
2023-10-13	12:21:47	271	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:47	271	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:47	271	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:47	271	[DEBUG]	Executed store
2023-10-13	12:21:47	271	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:47	271	[DEBUG]	Manufacturer exists
2023-10-13	12:21:47	271	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:47	271	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:47	271	[DEBUG]	Executed store
2023-10-13	12:21:47	271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859763','32')
2023-10-13	12:21:47	271	[DEBUG]	Find the custom field ID
2023-10-13	12:21:47	271	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:47	271	[DEBUG]	No custom field ID found
2023-10-13	12:21:47	271	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:47	271	[DEBUG]	Get existing row with customfield value 169.428055555556
2023-10-13	12:21:47	271	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859763 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:47	271	[DEBUG]	Store custom available field
2023-10-13	12:21:47	271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859763,3,'169.428055555556',1)
2023-10-13	12:21:47	271	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:47	271	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:47	271	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859763 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:47	271	[DEBUG]	Store custom available field
2023-10-13	12:21:47	271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859763,6,'choisir la taille',3)
2023-10-13	12:21:47	271	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:47	271	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:47	271	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:47	271	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:47	271	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859763 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:47	271	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:47	271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859763,8,1)
2023-10-13	12:21:47	271	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:47	271	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859763\":[1859763,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859763
2023-10-13	12:21:47	271	[DEBUG]	Checking category
2023-10-13	12:21:47	271	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:47	271	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859763
2023-10-13	12:21:47	271	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:47	271	[DEBUG]	Executed store
2023-10-13	12:21:47	271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859763','7281')
2023-10-13	12:21:47	271	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:47	271	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859763 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:21:47	271	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:47	271	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859763
2023-10-13	12:21:47	272	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:47	272	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:47	272	[DEBUG]	Use field value for field taille
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:47	272	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:47	272	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:47	272	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:47	272	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:47	272	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:47	272	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:47	272	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:47	272	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:47	272	[DEBUG]	Use field value for field published
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:47	272	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field override
2023-10-13	12:21:47	272	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:47	272	[DEBUG]	Use field value for field slug
2023-10-13	12:21:47	272	[DEBUG]	Process line 272
2023-10-13	12:21:47	272	[DEBUG]	Load a row
2023-10-13	12:21:47	272	[DEBUG]	Processing item: 1000000053135
2023-10-13	12:21:47	272	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:47	272	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:47	272	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3266_149'
2023-10-13	12:21:47	272	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:47	272	[DEBUG]	Processing product tax
2023-10-13	12:21:47	272	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:47	272	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:47	272	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:47	272	[DEBUG]	Query for Product
2023-10-13	12:21:47	272	[DEBUG]	Executed store
2023-10-13	12:21:47	272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859763','1000000053135','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:47	272	[DEBUG]	No parent found
2023-10-13	12:21:47	272	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859763 AND customfield_value = 'stockable'
2023-10-13	12:21:47	272	[DEBUG]	Check product language entry
2023-10-13	12:21:47	272	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859764
2023-10-13	12:21:47	272	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:47	272	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000053135' AND `virtuemart_product_id` != 1859764
2023-10-13	12:21:47	272	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:47	272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859764, '1000000053135')
2023-10-13	12:21:47	272	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:47	272	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-pro-kevlar-vert-noir-s-m' AND `virtuemart_product_id` != 1859764
2023-10-13	12:21:47	272	[DEBUG]	Query for ProductLang
2023-10-13	12:21:47	272	[DEBUG]	Executed store
2023-10-13	12:21:47	272	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC VTT PRO KEVLAR  / VERT-NOIR (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-pro-kevlar-vert-noir-s-m' WHERE `virtuemart_product_id` = '1859764'
2023-10-13	12:21:47	272	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15748.jpg
2023-10-13	12:21:47	272	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:47	272	[DEBUG]	Process image file
2023-10-13	12:21:47	272	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:47	272	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:47	272	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15748.jpg
2023-10-13	12:21:47	272	[DEBUG]	Full name target: bcprisme/image_15748.jpg
2023-10-13	12:21:49	272	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:49	272	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15748.jpg'
2023-10-13	12:21:49	272	[DEBUG]	Query for Media
2023-10-13	12:21:49	272	[DEBUG]	Executed store
2023-10-13	12:21:49	272	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15748.jpg',`file_url_thumb`='bcprisme/image_15748.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12385'
2023-10-13	12:21:49	272	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:49	272	[DEBUG]	Executed store
2023-10-13	12:21:49	272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859764','12385','1')
2023-10-13	12:21:49	272	[DEBUG]	Store product image relation
2023-10-13	12:21:49	272	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:49	272	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859764 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:49	272	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:49	272	[DEBUG]	Executed store
2023-10-13	12:21:49	272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859764','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:49	272	[DEBUG]	Checking manufacturer
2023-10-13	12:21:49	272	[DEBUG]	Load a row
2023-10-13	12:21:49	272	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:49	272	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:49	272	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:49	272	[DEBUG]	Executed store
2023-10-13	12:21:49	272	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:49	272	[DEBUG]	Manufacturer exists
2023-10-13	12:21:49	272	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:49	272	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:49	272	[DEBUG]	Executed store
2023-10-13	12:21:49	272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859764','32')
2023-10-13	12:21:49	272	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:49	272	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:49	272	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859764 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:49	272	[DEBUG]	Store custom available field
2023-10-13	12:21:49	272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859764,3,'',1)
2023-10-13	12:21:49	272	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:49	272	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:21:49	272	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859764 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:49	272	[DEBUG]	Store custom available field
2023-10-13	12:21:49	272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859764,6,'S/M',3)
2023-10-13	12:21:49	272	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:49	272	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:49	272	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859763
2023-10-13	12:21:49	272	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:49	272	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859763\":[1859763,8,1,\"choisir la taille\"],\"1859764\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859763
2023-10-13	12:21:49	272	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:49	272	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859764
2023-10-13	12:21:49	273	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:49	273	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:49	273	[DEBUG]	Use field value for field taille
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:49	273	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:49	273	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:49	273	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:49	273	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:49	273	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:49	273	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:49	273	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:49	273	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:49	273	[DEBUG]	Use field value for field published
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:49	273	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field override
2023-10-13	12:21:49	273	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:49	273	[DEBUG]	Use field value for field slug
2023-10-13	12:21:49	273	[DEBUG]	Process line 273
2023-10-13	12:21:49	273	[DEBUG]	Load a row
2023-10-13	12:21:49	273	[DEBUG]	Processing item: 8436550195293
2023-10-13	12:21:49	273	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:49	273	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:49	273	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3266_149'
2023-10-13	12:21:49	273	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:49	273	[DEBUG]	Processing product tax
2023-10-13	12:21:49	273	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:49	273	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:49	273	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:49	273	[DEBUG]	Query for Product
2023-10-13	12:21:49	273	[DEBUG]	Executed store
2023-10-13	12:21:49	273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859763','8436550195293','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:49	273	[DEBUG]	No parent found
2023-10-13	12:21:49	273	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859763 AND customfield_value = 'stockable'
2023-10-13	12:21:49	273	[DEBUG]	Check product language entry
2023-10-13	12:21:49	273	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859765
2023-10-13	12:21:49	273	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:49	273	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550195293' AND `virtuemart_product_id` != 1859765
2023-10-13	12:21:49	273	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:49	273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859765, '8436550195293')
2023-10-13	12:21:49	273	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:49	273	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-pro-kevlar-vert-noir-m-l' AND `virtuemart_product_id` != 1859765
2023-10-13	12:21:49	273	[DEBUG]	Query for ProductLang
2023-10-13	12:21:49	273	[DEBUG]	Executed store
2023-10-13	12:21:49	273	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC VTT PRO KEVLAR  / VERT-NOIR (M/L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-pro-kevlar-vert-noir-m-l' WHERE `virtuemart_product_id` = '1859765'
2023-10-13	12:21:49	273	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15748.jpg
2023-10-13	12:21:49	273	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:49	273	[DEBUG]	Process image file
2023-10-13	12:21:49	273	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:49	273	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:49	273	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15748.jpg
2023-10-13	12:21:49	273	[DEBUG]	Full name target: bcprisme/image_15748.jpg
2023-10-13	12:21:50	273	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:50	273	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15748.jpg'
2023-10-13	12:21:50	273	[DEBUG]	Query for Media
2023-10-13	12:21:50	273	[DEBUG]	Executed store
2023-10-13	12:21:50	273	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15748.jpg',`file_url_thumb`='bcprisme/image_15748.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12385'
2023-10-13	12:21:50	273	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:50	273	[DEBUG]	Executed store
2023-10-13	12:21:50	273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859765','12385','1')
2023-10-13	12:21:50	273	[DEBUG]	Store product image relation
2023-10-13	12:21:50	273	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:50	273	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859765 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:50	273	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:50	273	[DEBUG]	Executed store
2023-10-13	12:21:50	273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859765','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:50	273	[DEBUG]	Checking manufacturer
2023-10-13	12:21:50	273	[DEBUG]	Load a row
2023-10-13	12:21:50	273	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:50	273	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:50	273	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:50	273	[DEBUG]	Executed store
2023-10-13	12:21:50	273	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:50	273	[DEBUG]	Manufacturer exists
2023-10-13	12:21:50	273	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:50	273	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:50	273	[DEBUG]	Executed store
2023-10-13	12:21:50	273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859765','32')
2023-10-13	12:21:50	273	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:50	273	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:50	273	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859765 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:50	273	[DEBUG]	Store custom available field
2023-10-13	12:21:50	273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859765,3,'',1)
2023-10-13	12:21:50	273	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:50	273	[DEBUG]	Get existing row with customfield value M/L
2023-10-13	12:21:50	273	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859765 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:50	273	[DEBUG]	Store custom available field
2023-10-13	12:21:50	273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859765,6,'M/L',3)
2023-10-13	12:21:50	273	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:50	273	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:50	273	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859763
2023-10-13	12:21:50	273	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:50	273	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nM\\/L\"}]|clabels=0|options={\"1859763\":[1859763,8,1,\"choisir la taille\"],\"1859764\":[\"S\\/M\"],\"1859765\":[\"M\\/L\"]}|' WHERE `virtuemart_product_id` = 1859763
2023-10-13	12:21:50	273	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:50	273	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859765
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:50	274	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field taille
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:50	274	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:50	274	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:50	274	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:50	274	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:50	274	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:50	274	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field published
2023-10-13	12:21:50	274	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:50	274	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field override
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:50	274	[DEBUG]	Use field value for field slug
2023-10-13	12:21:50	274	[DEBUG]	Process line 274
2023-10-13	12:21:50	274	[DEBUG]	Load a row
2023-10-13	12:21:50	274	[DEBUG]	Processing item: A_3847_7
2023-10-13	12:21:50	274	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:50	274	[DEBUG]	Processing product tax
2023-10-13	12:21:50	274	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:50	274	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:50	274	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:50	274	[DEBUG]	Query for Product
2023-10-13	12:21:50	274	[DEBUG]	Executed store
2023-10-13	12:21:50	274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3847_7','0.33','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:50	274	[DEBUG]	Check product language entry
2023-10-13	12:21:50	274	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859766
2023-10-13	12:21:50	274	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:50	274	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3847_7' AND `virtuemart_product_id` != 1859766
2023-10-13	12:21:50	274	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:50	274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859766, 'A_3847_7')
2023-10-13	12:21:50	274	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:50	274	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-mips-city-rouge' AND `virtuemart_product_id` != 1859766
2023-10-13	12:21:50	274	[DEBUG]	Query for ProductLang
2023-10-13	12:21:50	274	[DEBUG]	Executed store
2023-10-13	12:21:50	274	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque MIPS City M/L, 330 GR. Casques avec la technologie MIPS comprennent une sorte de doublure jaune sur l’impact pour rediriger les forces de course de glissement, à son tour, la réorientation du transfert d’énergie qui irait autrement au cerveau. Doublure se déplace que de quelques millimètres pour une très courte période de 2 millisecondes: cependant, ceci est suffisant pour réduire la force de rotation qui peut être transféré vers le cerveau et causer des dommages ou des blessures. <br>N° art fourn : HMCITYSRML',`product_name`='MSC Casque MSC MIPS CITY  / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-mips-city-rouge' WHERE `virtuemart_product_id` = '1859766'
2023-10-13	12:21:50	274	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20253.jpg
2023-10-13	12:21:50	274	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:50	274	[DEBUG]	Process image file
2023-10-13	12:21:50	274	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:50	274	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:50	274	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20253.jpg
2023-10-13	12:21:50	274	[DEBUG]	Full name target: bcprisme/image_20253.jpg
2023-10-13	12:21:51	274	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:51	274	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20253.jpg'
2023-10-13	12:21:51	274	[DEBUG]	Query for Media
2023-10-13	12:21:51	274	[DEBUG]	Executed store
2023-10-13	12:21:51	274	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20253.jpg',`file_url_thumb`='bcprisme/image_20253.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12392'
2023-10-13	12:21:51	274	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:51	274	[DEBUG]	Executed store
2023-10-13	12:21:51	274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859766','12392','1')
2023-10-13	12:21:51	274	[DEBUG]	Store product image relation
2023-10-13	12:21:51	274	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:51	274	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859766 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:51	274	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:51	274	[DEBUG]	Executed store
2023-10-13	12:21:51	274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859766','0','185.60817084494','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:51	274	[DEBUG]	Checking manufacturer
2023-10-13	12:21:51	274	[DEBUG]	Load a row
2023-10-13	12:21:51	274	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:51	274	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:51	274	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:51	274	[DEBUG]	Executed store
2023-10-13	12:21:51	274	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:51	274	[DEBUG]	Manufacturer exists
2023-10-13	12:21:51	274	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:51	274	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:51	274	[DEBUG]	Executed store
2023-10-13	12:21:51	274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859766','32')
2023-10-13	12:21:51	274	[DEBUG]	Find the custom field ID
2023-10-13	12:21:51	274	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:51	274	[DEBUG]	No custom field ID found
2023-10-13	12:21:51	274	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:51	274	[DEBUG]	Get existing row with customfield value 189.3725
2023-10-13	12:21:51	274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859766 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:51	274	[DEBUG]	Store custom available field
2023-10-13	12:21:51	274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859766,3,'189.3725',1)
2023-10-13	12:21:51	274	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:51	274	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:51	274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859766 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:51	274	[DEBUG]	Store custom available field
2023-10-13	12:21:51	274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859766,6,'choisir la taille',3)
2023-10-13	12:21:51	274	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:51	274	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:51	274	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:51	274	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:51	274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859766 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:51	274	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:51	274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859766,8,1)
2023-10-13	12:21:51	274	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:51	274	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859766\":[1859766,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859766
2023-10-13	12:21:51	274	[DEBUG]	Checking category
2023-10-13	12:21:51	274	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:51	274	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859766
2023-10-13	12:21:51	274	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:51	274	[DEBUG]	Executed store
2023-10-13	12:21:51	274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859766','7281')
2023-10-13	12:21:51	274	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:51	274	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859766 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:21:51	274	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:51	274	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859766
2023-10-13	12:21:51	275	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:51	275	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:51	275	[DEBUG]	Use field value for field taille
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:51	275	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:51	275	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:51	275	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:51	275	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:51	275	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:51	275	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:51	275	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:51	275	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:51	275	[DEBUG]	Use field value for field published
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:51	275	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field override
2023-10-13	12:21:51	275	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:51	275	[DEBUG]	Use field value for field slug
2023-10-13	12:21:51	275	[DEBUG]	Process line 275
2023-10-13	12:21:51	275	[DEBUG]	Load a row
2023-10-13	12:21:51	275	[DEBUG]	Processing item: 1000000060379
2023-10-13	12:21:51	275	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:51	275	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:51	275	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3847_7'
2023-10-13	12:21:51	275	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:51	275	[DEBUG]	Processing product tax
2023-10-13	12:21:51	275	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:51	275	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:51	275	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:51	275	[DEBUG]	Query for Product
2023-10-13	12:21:51	275	[DEBUG]	Executed store
2023-10-13	12:21:51	275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859766','1000000060379','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:51	275	[DEBUG]	No parent found
2023-10-13	12:21:51	275	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859766 AND customfield_value = 'stockable'
2023-10-13	12:21:51	275	[DEBUG]	Check product language entry
2023-10-13	12:21:51	275	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859767
2023-10-13	12:21:51	275	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:51	275	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000060379' AND `virtuemart_product_id` != 1859767
2023-10-13	12:21:51	275	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:51	275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859767, '1000000060379')
2023-10-13	12:21:51	275	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:51	275	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-mips-city-rouge-s-m' AND `virtuemart_product_id` != 1859767
2023-10-13	12:21:51	275	[DEBUG]	Query for ProductLang
2023-10-13	12:21:51	275	[DEBUG]	Executed store
2023-10-13	12:21:51	275	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC MIPS CITY  / Rouge (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-mips-city-rouge-s-m' WHERE `virtuemart_product_id` = '1859767'
2023-10-13	12:21:51	275	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20253.jpg
2023-10-13	12:21:51	275	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:51	275	[DEBUG]	Process image file
2023-10-13	12:21:51	275	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:51	275	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:51	275	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20253.jpg
2023-10-13	12:21:51	275	[DEBUG]	Full name target: bcprisme/image_20253.jpg
2023-10-13	12:21:52	275	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:52	275	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20253.jpg'
2023-10-13	12:21:52	275	[DEBUG]	Query for Media
2023-10-13	12:21:52	275	[DEBUG]	Executed store
2023-10-13	12:21:52	275	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20253.jpg',`file_url_thumb`='bcprisme/image_20253.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12392'
2023-10-13	12:21:52	275	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:52	275	[DEBUG]	Executed store
2023-10-13	12:21:52	275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859767','12392','1')
2023-10-13	12:21:52	275	[DEBUG]	Store product image relation
2023-10-13	12:21:52	275	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:52	275	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859767 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:52	275	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:52	275	[DEBUG]	Executed store
2023-10-13	12:21:52	275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859767','0','185.60817084494','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:52	275	[DEBUG]	Checking manufacturer
2023-10-13	12:21:52	275	[DEBUG]	Load a row
2023-10-13	12:21:52	275	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:52	275	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:52	275	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:52	275	[DEBUG]	Executed store
2023-10-13	12:21:52	275	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:52	275	[DEBUG]	Manufacturer exists
2023-10-13	12:21:52	275	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:52	275	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:52	275	[DEBUG]	Executed store
2023-10-13	12:21:52	275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859767','32')
2023-10-13	12:21:52	275	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:52	275	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:52	275	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859767 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:52	275	[DEBUG]	Store custom available field
2023-10-13	12:21:52	275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859767,3,'',1)
2023-10-13	12:21:52	275	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:52	275	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:21:52	275	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859767 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:52	275	[DEBUG]	Store custom available field
2023-10-13	12:21:52	275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859767,6,'S/M',3)
2023-10-13	12:21:52	275	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:52	275	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:52	275	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859766
2023-10-13	12:21:52	275	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:52	275	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859766\":[1859766,8,1,\"choisir la taille\"],\"1859767\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859766
2023-10-13	12:21:52	275	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:52	275	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859767
2023-10-13	12:21:52	276	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:52	276	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:52	276	[DEBUG]	Use field value for field taille
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:52	276	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:52	276	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:52	276	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:52	276	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:52	276	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:52	276	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:52	276	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:52	276	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:52	276	[DEBUG]	Use field value for field published
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:52	276	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field override
2023-10-13	12:21:52	276	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:52	276	[DEBUG]	Use field value for field slug
2023-10-13	12:21:52	276	[DEBUG]	Process line 276
2023-10-13	12:21:52	276	[DEBUG]	Load a row
2023-10-13	12:21:52	276	[DEBUG]	Processing item: 1000000113129
2023-10-13	12:21:52	276	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:52	276	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:52	276	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3847_7'
2023-10-13	12:21:52	276	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:52	276	[DEBUG]	Processing product tax
2023-10-13	12:21:52	276	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:52	276	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:52	276	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:52	276	[DEBUG]	Query for Product
2023-10-13	12:21:52	276	[DEBUG]	Executed store
2023-10-13	12:21:52	276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859766','1000000113129','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:52	276	[DEBUG]	No parent found
2023-10-13	12:21:52	276	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859766 AND customfield_value = 'stockable'
2023-10-13	12:21:52	276	[DEBUG]	Check product language entry
2023-10-13	12:21:52	276	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859768
2023-10-13	12:21:52	276	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:52	276	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113129' AND `virtuemart_product_id` != 1859768
2023-10-13	12:21:52	276	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:52	276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859768, '1000000113129')
2023-10-13	12:21:52	276	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:52	276	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-mips-city-rouge-m-l' AND `virtuemart_product_id` != 1859768
2023-10-13	12:21:52	276	[DEBUG]	Query for ProductLang
2023-10-13	12:21:52	276	[DEBUG]	Executed store
2023-10-13	12:21:52	276	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC MIPS CITY  / Rouge (M/L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-mips-city-rouge-m-l' WHERE `virtuemart_product_id` = '1859768'
2023-10-13	12:21:52	276	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20253.jpg
2023-10-13	12:21:52	276	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:52	276	[DEBUG]	Process image file
2023-10-13	12:21:52	276	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:52	276	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:52	276	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20253.jpg
2023-10-13	12:21:52	276	[DEBUG]	Full name target: bcprisme/image_20253.jpg
2023-10-13	12:21:53	276	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:53	276	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20253.jpg'
2023-10-13	12:21:53	276	[DEBUG]	Query for Media
2023-10-13	12:21:53	276	[DEBUG]	Executed store
2023-10-13	12:21:53	276	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20253.jpg',`file_url_thumb`='bcprisme/image_20253.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12392'
2023-10-13	12:21:53	276	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:53	276	[DEBUG]	Executed store
2023-10-13	12:21:53	276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859768','12392','1')
2023-10-13	12:21:53	276	[DEBUG]	Store product image relation
2023-10-13	12:21:53	276	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:53	276	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859768 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:53	276	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:53	276	[DEBUG]	Executed store
2023-10-13	12:21:53	276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859768','0','185.60817084494','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:53	276	[DEBUG]	Checking manufacturer
2023-10-13	12:21:53	276	[DEBUG]	Load a row
2023-10-13	12:21:53	276	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:53	276	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:53	276	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:53	276	[DEBUG]	Executed store
2023-10-13	12:21:53	276	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:53	276	[DEBUG]	Manufacturer exists
2023-10-13	12:21:53	276	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:53	276	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:53	276	[DEBUG]	Executed store
2023-10-13	12:21:53	276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859768','32')
2023-10-13	12:21:53	276	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:53	276	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:53	276	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859768 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:53	276	[DEBUG]	Store custom available field
2023-10-13	12:21:53	276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859768,3,'',1)
2023-10-13	12:21:53	276	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:53	276	[DEBUG]	Get existing row with customfield value M/L
2023-10-13	12:21:53	276	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859768 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:53	276	[DEBUG]	Store custom available field
2023-10-13	12:21:53	276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859768,6,'M/L',3)
2023-10-13	12:21:53	276	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:53	276	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:53	276	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859766
2023-10-13	12:21:53	276	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:53	276	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nM\\/L\"}]|clabels=0|options={\"1859766\":[1859766,8,1,\"choisir la taille\"],\"1859767\":[\"S\\/M\"],\"1859768\":[\"M\\/L\"]}|' WHERE `virtuemart_product_id` = 1859766
2023-10-13	12:21:53	276	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:53	276	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859768
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:53	277	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field taille
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field product_override_price
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:53	277	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:53	277	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:53	277	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:53	277	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:53	277	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field published
2023-10-13	12:21:53	277	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:53	277	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field override
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:53	277	[DEBUG]	Use field value for field slug
2023-10-13	12:21:53	277	[DEBUG]	Process line 277
2023-10-13	12:21:53	277	[DEBUG]	Load a row
2023-10-13	12:21:53	277	[DEBUG]	Processing item: A_3850_44
2023-10-13	12:21:53	277	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:53	277	[DEBUG]	Processing product tax
2023-10-13	12:21:53	277	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:53	277	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:53	277	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:53	277	[DEBUG]	Query for Product
2023-10-13	12:21:53	277	[DEBUG]	Executed store
2023-10-13	12:21:53	277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3850_44','0.43','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:53	277	[DEBUG]	Check product language entry
2023-10-13	12:21:53	277	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859769
2023-10-13	12:21:53	277	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:53	277	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3850_44' AND `virtuemart_product_id` != 1859769
2023-10-13	12:21:53	277	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:53	277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859769, 'A_3850_44')
2023-10-13	12:21:53	277	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:53	277	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-mips-enduro-blanc-rouge' AND `virtuemart_product_id` != 1859769
2023-10-13	12:21:53	277	[DEBUG]	Query for ProductLang
2023-10-13	12:21:53	277	[DEBUG]	Executed store
2023-10-13	12:21:53	277	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque MSC MIPS Enduro S/M et M/L, 430 gr. La membrane se déplace de quelques millimètres sur une très courte période de 2 millisecondes: cependant, ceci est suffisant pour réduire la force de rotation qui peut être transféré vers le cerveau et causer des dommages ou des blessures.<br>N° art fourn : HMENDUROWHSM',`product_name`='MSC Casque MSC MIPS ENDURO  / Blanc-rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-mips-enduro-blanc-rouge' WHERE `virtuemart_product_id` = '1859769'
2023-10-13	12:21:53	277	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20262.jpg
2023-10-13	12:21:53	277	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:53	277	[DEBUG]	Process image file
2023-10-13	12:21:53	277	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:53	277	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:53	277	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20262.jpg
2023-10-13	12:21:53	277	[DEBUG]	Full name target: bcprisme/image_20262.jpg
2023-10-13	12:21:54	277	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:54	277	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20262.jpg'
2023-10-13	12:21:54	277	[DEBUG]	Query for Media
2023-10-13	12:21:54	277	[DEBUG]	Executed store
2023-10-13	12:21:54	277	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20262.jpg',`file_url_thumb`='bcprisme/image_20262.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12401'
2023-10-13	12:21:54	277	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:54	277	[DEBUG]	Executed store
2023-10-13	12:21:54	277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859769','12401','1')
2023-10-13	12:21:54	277	[DEBUG]	Store product image relation
2023-10-13	12:21:54	277	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:54	277	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859769 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:54	277	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:54	277	[DEBUG]	Executed store
2023-10-13	12:21:54	277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859769','0','194.893221912721','-1','176.323119777159','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:54	277	[DEBUG]	Checking manufacturer
2023-10-13	12:21:54	277	[DEBUG]	Load a row
2023-10-13	12:21:54	277	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:54	277	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:54	277	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:54	277	[DEBUG]	Executed store
2023-10-13	12:21:54	277	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:54	277	[DEBUG]	Manufacturer exists
2023-10-13	12:21:54	277	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:54	277	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:54	277	[DEBUG]	Executed store
2023-10-13	12:21:54	277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859769','32')
2023-10-13	12:21:54	277	[DEBUG]	Find the custom field ID
2023-10-13	12:21:54	277	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:54	277	[DEBUG]	No custom field ID found
2023-10-13	12:21:54	277	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:54	277	[DEBUG]	Get existing row with customfield value 209.316944444444
2023-10-13	12:21:54	277	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859769 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:54	277	[DEBUG]	Store custom available field
2023-10-13	12:21:54	277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859769,3,'209.316944444444',1)
2023-10-13	12:21:54	277	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:54	277	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:54	277	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859769 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:54	277	[DEBUG]	Store custom available field
2023-10-13	12:21:54	277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859769,6,'choisir la taille',3)
2023-10-13	12:21:54	277	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:54	277	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:54	277	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:54	277	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:54	277	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859769 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:54	277	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:54	277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859769,8,1)
2023-10-13	12:21:54	277	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:54	277	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859769\":[1859769,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859769
2023-10-13	12:21:54	277	[DEBUG]	Checking category
2023-10-13	12:21:54	277	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:54	277	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859769
2023-10-13	12:21:54	277	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:54	277	[DEBUG]	Executed store
2023-10-13	12:21:54	277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859769','7281')
2023-10-13	12:21:54	277	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:54	277	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859769 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:21:54	277	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:54	277	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859769
2023-10-13	12:21:54	278	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:54	278	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:54	278	[DEBUG]	Use field value for field taille
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:54	278	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:54	278	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:54	278	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:54	278	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:54	278	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:54	278	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:54	278	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:54	278	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:54	278	[DEBUG]	Use field value for field published
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:54	278	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field override
2023-10-13	12:21:54	278	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:54	278	[DEBUG]	Use field value for field slug
2023-10-13	12:21:54	278	[DEBUG]	Process line 278
2023-10-13	12:21:54	278	[DEBUG]	Load a row
2023-10-13	12:21:54	278	[DEBUG]	Processing item: 1000000060454
2023-10-13	12:21:54	278	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:54	278	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:54	278	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3850_44'
2023-10-13	12:21:54	278	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:54	278	[DEBUG]	Processing product tax
2023-10-13	12:21:54	278	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:54	278	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:54	278	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:54	278	[DEBUG]	Query for Product
2023-10-13	12:21:54	278	[DEBUG]	Executed store
2023-10-13	12:21:54	278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859769','1000000060454','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:54	278	[DEBUG]	No parent found
2023-10-13	12:21:54	278	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859769 AND customfield_value = 'stockable'
2023-10-13	12:21:54	278	[DEBUG]	Check product language entry
2023-10-13	12:21:54	278	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859770
2023-10-13	12:21:54	278	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:54	278	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000060454' AND `virtuemart_product_id` != 1859770
2023-10-13	12:21:54	278	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:54	278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859770, '1000000060454')
2023-10-13	12:21:54	278	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:54	278	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-mips-enduro-blanc-rouge-s-m' AND `virtuemart_product_id` != 1859770
2023-10-13	12:21:54	278	[DEBUG]	Query for ProductLang
2023-10-13	12:21:54	278	[DEBUG]	Executed store
2023-10-13	12:21:54	278	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC MIPS ENDURO  / Blanc-rouge (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-mips-enduro-blanc-rouge-s-m' WHERE `virtuemart_product_id` = '1859770'
2023-10-13	12:21:54	278	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20262.jpg
2023-10-13	12:21:54	278	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:54	278	[DEBUG]	Process image file
2023-10-13	12:21:54	278	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:54	278	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:54	278	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20262.jpg
2023-10-13	12:21:54	278	[DEBUG]	Full name target: bcprisme/image_20262.jpg
2023-10-13	12:21:55	278	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:55	278	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20262.jpg'
2023-10-13	12:21:55	278	[DEBUG]	Query for Media
2023-10-13	12:21:55	278	[DEBUG]	Executed store
2023-10-13	12:21:55	278	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20262.jpg',`file_url_thumb`='bcprisme/image_20262.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12401'
2023-10-13	12:21:55	278	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:55	278	[DEBUG]	Executed store
2023-10-13	12:21:55	278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859770','12401','1')
2023-10-13	12:21:55	278	[DEBUG]	Store product image relation
2023-10-13	12:21:55	278	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:55	278	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859770 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:55	278	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:55	278	[DEBUG]	Executed store
2023-10-13	12:21:55	278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859770','0','194.893221912721','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:55	278	[DEBUG]	Checking manufacturer
2023-10-13	12:21:55	278	[DEBUG]	Load a row
2023-10-13	12:21:55	278	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:55	278	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:55	278	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:55	278	[DEBUG]	Executed store
2023-10-13	12:21:55	278	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:55	278	[DEBUG]	Manufacturer exists
2023-10-13	12:21:55	278	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:55	278	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:55	278	[DEBUG]	Executed store
2023-10-13	12:21:55	278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859770','32')
2023-10-13	12:21:55	278	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:55	278	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:55	278	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859770 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:55	278	[DEBUG]	Store custom available field
2023-10-13	12:21:55	278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859770,3,'',1)
2023-10-13	12:21:55	278	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:55	278	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:21:55	278	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859770 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:55	278	[DEBUG]	Store custom available field
2023-10-13	12:21:55	278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859770,6,'S/M',3)
2023-10-13	12:21:55	278	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:55	278	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:55	278	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859769
2023-10-13	12:21:55	278	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:55	278	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859769\":[1859769,8,1,\"choisir la taille\"],\"1859770\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859769
2023-10-13	12:21:55	278	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:55	278	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859770
2023-10-13	12:21:55	279	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:55	279	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:55	279	[DEBUG]	Use field value for field taille
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:55	279	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:55	279	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:55	279	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:55	279	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:55	279	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:55	279	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:55	279	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:55	279	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:55	279	[DEBUG]	Use field value for field published
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:55	279	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field override
2023-10-13	12:21:55	279	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:55	279	[DEBUG]	Use field value for field slug
2023-10-13	12:21:55	279	[DEBUG]	Process line 279
2023-10-13	12:21:55	279	[DEBUG]	Load a row
2023-10-13	12:21:55	279	[DEBUG]	Processing item: 8436550199819
2023-10-13	12:21:55	279	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:55	279	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:55	279	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3850_44'
2023-10-13	12:21:55	279	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:55	279	[DEBUG]	Processing product tax
2023-10-13	12:21:55	279	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:55	279	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:55	279	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:55	279	[DEBUG]	Query for Product
2023-10-13	12:21:55	279	[DEBUG]	Executed store
2023-10-13	12:21:55	279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859769','8436550199819','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:55	279	[DEBUG]	No parent found
2023-10-13	12:21:55	279	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859769 AND customfield_value = 'stockable'
2023-10-13	12:21:55	279	[DEBUG]	Check product language entry
2023-10-13	12:21:55	279	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859771
2023-10-13	12:21:55	279	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:55	279	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550199819' AND `virtuemart_product_id` != 1859771
2023-10-13	12:21:55	279	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:55	279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859771, '8436550199819')
2023-10-13	12:21:55	279	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:55	279	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-mips-enduro-blanc-rouge-m-l' AND `virtuemart_product_id` != 1859771
2023-10-13	12:21:55	279	[DEBUG]	Query for ProductLang
2023-10-13	12:21:55	279	[DEBUG]	Executed store
2023-10-13	12:21:55	279	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC MIPS ENDURO  / Blanc-rouge (M/L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-mips-enduro-blanc-rouge-m-l' WHERE `virtuemart_product_id` = '1859771'
2023-10-13	12:21:55	279	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20262.jpg
2023-10-13	12:21:55	279	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:55	279	[DEBUG]	Process image file
2023-10-13	12:21:55	279	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:55	279	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:55	279	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20262.jpg
2023-10-13	12:21:55	279	[DEBUG]	Full name target: bcprisme/image_20262.jpg
2023-10-13	12:21:56	279	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:56	279	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20262.jpg'
2023-10-13	12:21:56	279	[DEBUG]	Query for Media
2023-10-13	12:21:56	279	[DEBUG]	Executed store
2023-10-13	12:21:56	279	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20262.jpg',`file_url_thumb`='bcprisme/image_20262.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12401'
2023-10-13	12:21:56	279	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:56	279	[DEBUG]	Executed store
2023-10-13	12:21:56	279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859771','12401','1')
2023-10-13	12:21:56	279	[DEBUG]	Store product image relation
2023-10-13	12:21:56	279	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:56	279	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859771 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:56	279	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:56	279	[DEBUG]	Executed store
2023-10-13	12:21:56	279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859771','0','194.893221912721','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:56	279	[DEBUG]	Checking manufacturer
2023-10-13	12:21:56	279	[DEBUG]	Load a row
2023-10-13	12:21:56	279	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:56	279	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:56	279	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:56	279	[DEBUG]	Executed store
2023-10-13	12:21:56	279	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:56	279	[DEBUG]	Manufacturer exists
2023-10-13	12:21:56	279	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:56	279	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:56	279	[DEBUG]	Executed store
2023-10-13	12:21:56	279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859771','32')
2023-10-13	12:21:56	279	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:56	279	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:56	279	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859771 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:56	279	[DEBUG]	Store custom available field
2023-10-13	12:21:56	279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859771,3,'',1)
2023-10-13	12:21:56	279	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:56	279	[DEBUG]	Get existing row with customfield value M/L
2023-10-13	12:21:56	279	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859771 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:56	279	[DEBUG]	Store custom available field
2023-10-13	12:21:56	279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859771,6,'M/L',3)
2023-10-13	12:21:56	279	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:56	279	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:56	279	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859769
2023-10-13	12:21:56	279	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:56	279	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nM\\/L\"}]|clabels=0|options={\"1859769\":[1859769,8,1,\"choisir la taille\"],\"1859770\":[\"S\\/M\"],\"1859771\":[\"M\\/L\"]}|' WHERE `virtuemart_product_id` = 1859769
2023-10-13	12:21:56	279	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:56	279	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859771
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:56	280	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field taille
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field category_path
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field product_override_price
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:21:56	280	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:56	280	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field product_weight
2023-10-13	12:21:56	280	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:56	280	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:56	280	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field published
2023-10-13	12:21:56	280	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:56	280	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field custom_title
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field custom_param
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field override
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field public_price
2023-10-13	12:21:56	280	[DEBUG]	Use field value for field slug
2023-10-13	12:21:56	280	[DEBUG]	Process line 280
2023-10-13	12:21:57	280	[DEBUG]	Load a row
2023-10-13	12:21:57	280	[DEBUG]	Processing item: A_3850_165
2023-10-13	12:21:57	280	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:57	280	[DEBUG]	Processing product tax
2023-10-13	12:21:57	280	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:57	280	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:57	280	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:57	280	[DEBUG]	Query for Product
2023-10-13	12:21:57	280	[DEBUG]	Executed store
2023-10-13	12:21:57	280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3850_165','0.43','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:57	280	[DEBUG]	Check product language entry
2023-10-13	12:21:57	280	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859772
2023-10-13	12:21:57	280	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:57	280	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3850_165' AND `virtuemart_product_id` != 1859772
2023-10-13	12:21:57	280	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:57	280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859772, 'A_3850_165')
2023-10-13	12:21:57	280	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:57	280	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-mips-enduro-orange-violet' AND `virtuemart_product_id` != 1859772
2023-10-13	12:21:57	280	[DEBUG]	Query for ProductLang
2023-10-13	12:21:57	280	[DEBUG]	Executed store
2023-10-13	12:21:57	280	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque MSC MIPS Enduro S/M et M/L, 430 gr. La membrane se déplace de quelques millimètres sur une très courte période de 2 millisecondes: cependant, ceci est suffisant pour réduire la force de rotation qui peut être transféré vers le cerveau et causer des dommages ou des blessures.<br>N° art fourn : HMENDUROWHSM',`product_name`='MSC Casque MSC MIPS ENDURO  / Orange-violet',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-mips-enduro-orange-violet' WHERE `virtuemart_product_id` = '1859772'
2023-10-13	12:21:57	280	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20265.jpg
2023-10-13	12:21:57	280	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:57	280	[DEBUG]	Process image file
2023-10-13	12:21:57	280	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:57	280	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:57	280	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20265.jpg
2023-10-13	12:21:57	280	[DEBUG]	Full name target: bcprisme/image_20265.jpg
2023-10-13	12:21:58	280	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:58	280	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20265.jpg'
2023-10-13	12:21:58	280	[DEBUG]	Query for Media
2023-10-13	12:21:58	280	[DEBUG]	Executed store
2023-10-13	12:21:58	280	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20265.jpg',`file_url_thumb`='bcprisme/image_20265.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12404'
2023-10-13	12:21:58	280	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:58	280	[DEBUG]	Executed store
2023-10-13	12:21:58	280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859772','12404','1')
2023-10-13	12:21:58	280	[DEBUG]	Store product image relation
2023-10-13	12:21:58	280	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:58	280	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859772 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:58	280	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:58	280	[DEBUG]	Executed store
2023-10-13	12:21:58	280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859772','0','194.893221912721','-1','176.323119777159','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:58	280	[DEBUG]	Checking manufacturer
2023-10-13	12:21:58	280	[DEBUG]	Load a row
2023-10-13	12:21:58	280	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:58	280	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:58	280	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:58	280	[DEBUG]	Executed store
2023-10-13	12:21:58	280	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:58	280	[DEBUG]	Manufacturer exists
2023-10-13	12:21:58	280	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:58	280	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:58	280	[DEBUG]	Executed store
2023-10-13	12:21:58	280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859772','32')
2023-10-13	12:21:58	280	[DEBUG]	Find the custom field ID
2023-10-13	12:21:58	280	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:21:58	280	[DEBUG]	No custom field ID found
2023-10-13	12:21:58	280	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:58	280	[DEBUG]	Get existing row with customfield value 209.316944444444
2023-10-13	12:21:58	280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859772 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:58	280	[DEBUG]	Store custom available field
2023-10-13	12:21:58	280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859772,3,'209.316944444444',1)
2023-10-13	12:21:58	280	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:58	280	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:21:58	280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859772 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:58	280	[DEBUG]	Store custom available field
2023-10-13	12:21:58	280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859772,6,'choisir la taille',3)
2023-10-13	12:21:58	280	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:58	280	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:21:58	280	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:21:58	280	[DEBUG]	Find the multi variant product entry
2023-10-13	12:21:58	280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859772 AND `virtuemart_custom_id` = 8
2023-10-13	12:21:58	280	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:21:58	280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859772,8,1)
2023-10-13	12:21:58	280	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:58	280	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859772\":[1859772,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859772
2023-10-13	12:21:58	280	[DEBUG]	Checking category
2023-10-13	12:21:58	280	[DEBUG]	Get the existing categories for the product
2023-10-13	12:21:58	280	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859772
2023-10-13	12:21:58	280	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:21:58	280	[DEBUG]	Executed store
2023-10-13	12:21:58	280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859772','7281')
2023-10-13	12:21:58	280	[DEBUG]	Delete leftover product categories
2023-10-13	12:21:58	280	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859772 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:21:58	280	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:58	280	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859772
2023-10-13	12:21:58	281	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:58	281	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:58	281	[DEBUG]	Use field value for field taille
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:58	281	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:58	281	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:58	281	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:58	281	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:58	281	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:58	281	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:58	281	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:58	281	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:58	281	[DEBUG]	Use field value for field published
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:58	281	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field override
2023-10-13	12:21:58	281	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:58	281	[DEBUG]	Use field value for field slug
2023-10-13	12:21:58	281	[DEBUG]	Process line 281
2023-10-13	12:21:58	281	[DEBUG]	Load a row
2023-10-13	12:21:58	281	[DEBUG]	Processing item: 8436550199864
2023-10-13	12:21:58	281	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:58	281	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:58	281	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3850_165'
2023-10-13	12:21:58	281	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:58	281	[DEBUG]	Processing product tax
2023-10-13	12:21:58	281	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:58	281	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:58	281	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:58	281	[DEBUG]	Query for Product
2023-10-13	12:21:58	281	[DEBUG]	Executed store
2023-10-13	12:21:58	281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859772','8436550199864','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:58	281	[DEBUG]	No parent found
2023-10-13	12:21:58	281	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859772 AND customfield_value = 'stockable'
2023-10-13	12:21:58	281	[DEBUG]	Check product language entry
2023-10-13	12:21:58	281	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859773
2023-10-13	12:21:58	281	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:58	281	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550199864' AND `virtuemart_product_id` != 1859773
2023-10-13	12:21:58	281	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:58	281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859773, '8436550199864')
2023-10-13	12:21:58	281	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:58	281	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-mips-enduro-orange-violet-s-m' AND `virtuemart_product_id` != 1859773
2023-10-13	12:21:58	281	[DEBUG]	Query for ProductLang
2023-10-13	12:21:58	281	[DEBUG]	Executed store
2023-10-13	12:21:58	281	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC MIPS ENDURO  / Orange-violet (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-mips-enduro-orange-violet-s-m' WHERE `virtuemart_product_id` = '1859773'
2023-10-13	12:21:58	281	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20265.jpg
2023-10-13	12:21:58	281	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:58	281	[DEBUG]	Process image file
2023-10-13	12:21:58	281	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:58	281	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:58	281	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20265.jpg
2023-10-13	12:21:58	281	[DEBUG]	Full name target: bcprisme/image_20265.jpg
2023-10-13	12:21:59	281	[DEBUG]	Checking if the file_url exists
2023-10-13	12:21:59	281	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20265.jpg'
2023-10-13	12:21:59	281	[DEBUG]	Query for Media
2023-10-13	12:21:59	281	[DEBUG]	Executed store
2023-10-13	12:21:59	281	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20265.jpg',`file_url_thumb`='bcprisme/image_20265.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12404'
2023-10-13	12:21:59	281	[DEBUG]	Query for ProductMedia
2023-10-13	12:21:59	281	[DEBUG]	Executed store
2023-10-13	12:21:59	281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859773','12404','1')
2023-10-13	12:21:59	281	[DEBUG]	Store product image relation
2023-10-13	12:21:59	281	[DEBUG]	Finding a product_price_id
2023-10-13	12:21:59	281	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859773 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:21:59	281	[DEBUG]	Query for ProductPrice
2023-10-13	12:21:59	281	[DEBUG]	Executed store
2023-10-13	12:21:59	281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859773','0','194.893221912721','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:21:59	281	[DEBUG]	Checking manufacturer
2023-10-13	12:21:59	281	[DEBUG]	Load a row
2023-10-13	12:21:59	281	[DEBUG]	Manufacturer already exists
2023-10-13	12:21:59	281	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:59	281	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:21:59	281	[DEBUG]	Executed store
2023-10-13	12:21:59	281	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:21:59	281	[DEBUG]	Manufacturer exists
2023-10-13	12:21:59	281	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:21:59	281	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:21:59	281	[DEBUG]	Executed store
2023-10-13	12:21:59	281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859773','32')
2023-10-13	12:21:59	281	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:21:59	281	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:21:59	281	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859773 AND `virtuemart_custom_id` = 3
2023-10-13	12:21:59	281	[DEBUG]	Store custom available field
2023-10-13	12:21:59	281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859773,3,'',1)
2023-10-13	12:21:59	281	[DEBUG]	Processing custom available field: taille
2023-10-13	12:21:59	281	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:21:59	281	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859773 AND `virtuemart_custom_id` = 6
2023-10-13	12:21:59	281	[DEBUG]	Store custom available field
2023-10-13	12:21:59	281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859773,6,'S/M',3)
2023-10-13	12:21:59	281	[DEBUG]	Process multi-variant fields
2023-10-13	12:21:59	281	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:21:59	281	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859772
2023-10-13	12:21:59	281	[DEBUG]	Store the updated customfield_params
2023-10-13	12:21:59	281	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859772\":[1859772,8,1,\"choisir la taille\"],\"1859773\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859772
2023-10-13	12:21:59	281	[DEBUG]	Update has fields after all processing
2023-10-13	12:21:59	281	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859773
2023-10-13	12:21:59	282	[DEBUG]	Use field value for field product_sku
2023-10-13	12:21:59	282	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:21:59	282	[DEBUG]	Use field value for field taille
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:21:59	282	[DEBUG]	Use field value for field product_name
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field category_path
2023-10-13	12:21:59	282	[DEBUG]	Use field value for field product_price
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:21:59	282	[DEBUG]	Use field value for field product_tax
2023-10-13	12:21:59	282	[DEBUG]	Use field value for field file_url
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field product_desc
2023-10-13	12:21:59	282	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:21:59	282	[DEBUG]	Use field value for field product_availability
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field product_weight
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field product_unit
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field related_products
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field product_special
2023-10-13	12:21:59	282	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:21:59	282	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:21:59	282	[DEBUG]	Use field value for field published
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field metadesc
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field metakey
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field custom_title
2023-10-13	12:21:59	282	[DEBUG]	Use field value for field custom_value
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field custom_param
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field override
2023-10-13	12:21:59	282	[DEBUG]	Use default value for field public_price
2023-10-13	12:21:59	282	[DEBUG]	Use field value for field slug
2023-10-13	12:21:59	282	[DEBUG]	Process line 282
2023-10-13	12:21:59	282	[DEBUG]	Load a row
2023-10-13	12:21:59	282	[DEBUG]	Processing item: 1000000113167
2023-10-13	12:21:59	282	[DEBUG]	Looking for parent SKU
2023-10-13	12:21:59	282	[DEBUG]	Checking product parent SKU
2023-10-13	12:21:59	282	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3850_165'
2023-10-13	12:21:59	282	[DEBUG]	Product tax: 7.7
2023-10-13	12:21:59	282	[DEBUG]	Processing product tax
2023-10-13	12:21:59	282	[DEBUG]	Check if calculation rule exists
2023-10-13	12:21:59	282	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:21:59	282	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:21:59	282	[DEBUG]	Query for Product
2023-10-13	12:21:59	282	[DEBUG]	Executed store
2023-10-13	12:21:59	282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859772','1000000113167','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:21:59	282	[DEBUG]	No parent found
2023-10-13	12:21:59	282	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859772 AND customfield_value = 'stockable'
2023-10-13	12:21:59	282	[DEBUG]	Check product language entry
2023-10-13	12:21:59	282	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859774
2023-10-13	12:21:59	282	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:59	282	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113167' AND `virtuemart_product_id` != 1859774
2023-10-13	12:21:59	282	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:21:59	282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859774, '1000000113167')
2023-10-13	12:21:59	282	[DEBUG]	Check if the product slug exists
2023-10-13	12:21:59	282	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-mips-enduro-orange-violet-m-l' AND `virtuemart_product_id` != 1859774
2023-10-13	12:21:59	282	[DEBUG]	Query for ProductLang
2023-10-13	12:21:59	282	[DEBUG]	Executed store
2023-10-13	12:21:59	282	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC MIPS ENDURO  / Orange-violet (M/L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-mips-enduro-orange-violet-m-l' WHERE `virtuemart_product_id` = '1859774'
2023-10-13	12:21:59	282	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20265.jpg
2023-10-13	12:21:59	282	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:59	282	[DEBUG]	Process image file
2023-10-13	12:21:59	282	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:21:59	282	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:21:59	282	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20265.jpg
2023-10-13	12:21:59	282	[DEBUG]	Full name target: bcprisme/image_20265.jpg
2023-10-13	12:22:00	282	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:00	282	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20265.jpg'
2023-10-13	12:22:00	282	[DEBUG]	Query for Media
2023-10-13	12:22:00	282	[DEBUG]	Executed store
2023-10-13	12:22:00	282	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20265.jpg',`file_url_thumb`='bcprisme/image_20265.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12404'
2023-10-13	12:22:00	282	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:00	282	[DEBUG]	Executed store
2023-10-13	12:22:00	282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859774','12404','1')
2023-10-13	12:22:00	282	[DEBUG]	Store product image relation
2023-10-13	12:22:00	282	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:00	282	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859774 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:00	282	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:00	282	[DEBUG]	Executed store
2023-10-13	12:22:00	282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859774','0','194.893221912721','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:00	282	[DEBUG]	Checking manufacturer
2023-10-13	12:22:00	282	[DEBUG]	Load a row
2023-10-13	12:22:00	282	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:00	282	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:00	282	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:00	282	[DEBUG]	Executed store
2023-10-13	12:22:00	282	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:00	282	[DEBUG]	Manufacturer exists
2023-10-13	12:22:00	282	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:00	282	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:00	282	[DEBUG]	Executed store
2023-10-13	12:22:00	282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859774','32')
2023-10-13	12:22:00	282	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:00	282	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:00	282	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859774 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:00	282	[DEBUG]	Store custom available field
2023-10-13	12:22:00	282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859774,3,'',1)
2023-10-13	12:22:00	282	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:00	282	[DEBUG]	Get existing row with customfield value M/L
2023-10-13	12:22:00	282	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859774 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:00	282	[DEBUG]	Store custom available field
2023-10-13	12:22:00	282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859774,6,'M/L',3)
2023-10-13	12:22:00	282	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:00	282	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:00	282	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859772
2023-10-13	12:22:00	282	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:00	282	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nM\\/L\"}]|clabels=0|options={\"1859772\":[1859772,8,1,\"choisir la taille\"],\"1859773\":[\"S\\/M\"],\"1859774\":[\"M\\/L\"]}|' WHERE `virtuemart_product_id` = 1859772
2023-10-13	12:22:00	282	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:00	282	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859774
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:00	283	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field taille
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field category_path
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:00	283	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:22:00	283	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:00	283	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field product_weight
2023-10-13	12:22:00	283	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:00	283	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:00	283	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field published
2023-10-13	12:22:00	283	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:00	283	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field custom_title
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field custom_param
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field override
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field public_price
2023-10-13	12:22:00	283	[DEBUG]	Use field value for field slug
2023-10-13	12:22:00	283	[DEBUG]	Process line 283
2023-10-13	12:22:00	283	[DEBUG]	Load a row
2023-10-13	12:22:00	283	[DEBUG]	Processing item: A_5342_1
2023-10-13	12:22:00	283	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:00	283	[DEBUG]	Processing product tax
2023-10-13	12:22:00	283	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:00	283	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:00	283	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:00	283	[DEBUG]	Query for Product
2023-10-13	12:22:00	283	[DEBUG]	Executed store
2023-10-13	12:22:00	283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5342_1','0.42','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:00	283	[DEBUG]	Check product language entry
2023-10-13	12:22:00	283	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859775
2023-10-13	12:22:00	283	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:00	283	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5342_1' AND `virtuemart_product_id` != 1859775
2023-10-13	12:22:00	283	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:00	283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859775, 'A_5342_1')
2023-10-13	12:22:00	283	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:00	283	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-dirt-noir' AND `virtuemart_product_id` != 1859775
2023-10-13	12:22:00	283	[DEBUG]	Query for ProductLang
2023-10-13	12:22:00	283	[DEBUG]	Executed store
2023-10-13	12:22:00	283	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Conception aérodynamique optimisée. Aérodynamique viseur soumis par des aimants. 420 gr.<br>  <br><br> <br><br><br><br>N° art fourn : Dirt118BK',`product_name`='MSC Casque MSC DIRT / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-dirt-noir' WHERE `virtuemart_product_id` = '1859775'
2023-10-13	12:22:00	283	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:00	283	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:00	283	[DEBUG]	Process image file
2023-10-13	12:22:00	283	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:00	283	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:00	283	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:00	283	[DEBUG]	Full name target: bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:01	283	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:01	283	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg'
2023-10-13	12:22:01	283	[DEBUG]	Query for Media
2023-10-13	12:22:01	283	[DEBUG]	Executed store
2023-10-13	12:22:01	283	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg',`file_url_thumb`='bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12429'
2023-10-13	12:22:01	283	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:01	283	[DEBUG]	Executed store
2023-10-13	12:22:01	283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859775','12429','1')
2023-10-13	12:22:01	283	[DEBUG]	Store product image relation
2023-10-13	12:22:01	283	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:01	283	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859775 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:01	283	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:01	283	[DEBUG]	Executed store
2023-10-13	12:22:01	283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859775','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:01	283	[DEBUG]	Checking manufacturer
2023-10-13	12:22:01	283	[DEBUG]	Load a row
2023-10-13	12:22:01	283	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:01	283	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:01	283	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:01	283	[DEBUG]	Executed store
2023-10-13	12:22:01	283	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:01	283	[DEBUG]	Manufacturer exists
2023-10-13	12:22:01	283	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:01	283	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:01	283	[DEBUG]	Executed store
2023-10-13	12:22:01	283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859775','32')
2023-10-13	12:22:01	283	[DEBUG]	Find the custom field ID
2023-10-13	12:22:01	283	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:22:01	283	[DEBUG]	No custom field ID found
2023-10-13	12:22:01	283	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:01	283	[DEBUG]	Get existing row with customfield value 198.447222222222
2023-10-13	12:22:01	283	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859775 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:01	283	[DEBUG]	Store custom available field
2023-10-13	12:22:01	283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859775,3,'198.447222222222',1)
2023-10-13	12:22:01	283	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:01	283	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:22:01	283	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859775 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:01	283	[DEBUG]	Store custom available field
2023-10-13	12:22:01	283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859775,6,'choisir la taille',3)
2023-10-13	12:22:01	283	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:01	283	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:22:01	283	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:22:01	283	[DEBUG]	Find the multi variant product entry
2023-10-13	12:22:01	283	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859775 AND `virtuemart_custom_id` = 8
2023-10-13	12:22:01	283	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:22:01	283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859775,8,1)
2023-10-13	12:22:01	283	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:01	283	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859775\":[1859775,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859775
2023-10-13	12:22:01	283	[DEBUG]	Checking category
2023-10-13	12:22:01	283	[DEBUG]	Get the existing categories for the product
2023-10-13	12:22:01	283	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859775
2023-10-13	12:22:01	283	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:22:01	283	[DEBUG]	Executed store
2023-10-13	12:22:01	283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859775','7281')
2023-10-13	12:22:01	283	[DEBUG]	Delete leftover product categories
2023-10-13	12:22:01	283	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859775 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:22:01	283	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:01	283	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859775
2023-10-13	12:22:01	284	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:01	284	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:01	284	[DEBUG]	Use field value for field taille
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:01	284	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:01	284	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:01	284	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:01	284	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:01	284	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:01	284	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:01	284	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:01	284	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:01	284	[DEBUG]	Use field value for field published
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:01	284	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field override
2023-10-13	12:22:01	284	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:01	284	[DEBUG]	Use field value for field slug
2023-10-13	12:22:01	284	[DEBUG]	Process line 284
2023-10-13	12:22:01	284	[DEBUG]	Load a row
2023-10-13	12:22:01	284	[DEBUG]	Processing item: 1000000081947
2023-10-13	12:22:01	284	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:01	284	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:01	284	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5342_1'
2023-10-13	12:22:01	284	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:01	284	[DEBUG]	Processing product tax
2023-10-13	12:22:01	284	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:01	284	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:01	284	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:01	284	[DEBUG]	Query for Product
2023-10-13	12:22:01	284	[DEBUG]	Executed store
2023-10-13	12:22:01	284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859775','1000000081947','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:01	284	[DEBUG]	No parent found
2023-10-13	12:22:01	284	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859775 AND customfield_value = 'stockable'
2023-10-13	12:22:01	284	[DEBUG]	Check product language entry
2023-10-13	12:22:01	284	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859776
2023-10-13	12:22:01	284	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:01	284	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000081947' AND `virtuemart_product_id` != 1859776
2023-10-13	12:22:01	284	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:01	284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859776, '1000000081947')
2023-10-13	12:22:01	284	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:01	284	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-dirt-noir-s-m' AND `virtuemart_product_id` != 1859776
2023-10-13	12:22:01	284	[DEBUG]	Query for ProductLang
2023-10-13	12:22:01	284	[DEBUG]	Executed store
2023-10-13	12:22:01	284	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC DIRT / Noir (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-dirt-noir-s-m' WHERE `virtuemart_product_id` = '1859776'
2023-10-13	12:22:01	284	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:01	284	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:01	284	[DEBUG]	Process image file
2023-10-13	12:22:01	284	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:01	284	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:01	284	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:01	284	[DEBUG]	Full name target: bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:02	284	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:02	284	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg'
2023-10-13	12:22:02	284	[DEBUG]	Query for Media
2023-10-13	12:22:02	284	[DEBUG]	Executed store
2023-10-13	12:22:02	284	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg',`file_url_thumb`='bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12429'
2023-10-13	12:22:02	284	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:02	284	[DEBUG]	Executed store
2023-10-13	12:22:02	284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859776','12429','1')
2023-10-13	12:22:02	284	[DEBUG]	Store product image relation
2023-10-13	12:22:02	284	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:02	284	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859776 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:02	284	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:02	284	[DEBUG]	Executed store
2023-10-13	12:22:02	284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859776','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:02	284	[DEBUG]	Checking manufacturer
2023-10-13	12:22:02	284	[DEBUG]	Load a row
2023-10-13	12:22:02	284	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:02	284	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:02	284	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:02	284	[DEBUG]	Executed store
2023-10-13	12:22:02	284	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:02	284	[DEBUG]	Manufacturer exists
2023-10-13	12:22:02	284	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:02	284	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:02	284	[DEBUG]	Executed store
2023-10-13	12:22:02	284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859776','32')
2023-10-13	12:22:02	284	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:02	284	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:02	284	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859776 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:02	284	[DEBUG]	Store custom available field
2023-10-13	12:22:02	284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859776,3,'',1)
2023-10-13	12:22:02	284	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:02	284	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:22:02	284	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859776 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:02	284	[DEBUG]	Store custom available field
2023-10-13	12:22:02	284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859776,6,'S/M',3)
2023-10-13	12:22:02	284	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:02	284	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:02	284	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859775
2023-10-13	12:22:02	284	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:02	284	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859775\":[1859775,8,1,\"choisir la taille\"],\"1859776\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859775
2023-10-13	12:22:02	284	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:02	284	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859776
2023-10-13	12:22:02	285	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:02	285	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:02	285	[DEBUG]	Use field value for field taille
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:02	285	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:02	285	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:02	285	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:02	285	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:02	285	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:02	285	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:02	285	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:02	285	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:02	285	[DEBUG]	Use field value for field published
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:02	285	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field override
2023-10-13	12:22:02	285	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:02	285	[DEBUG]	Use field value for field slug
2023-10-13	12:22:02	285	[DEBUG]	Process line 285
2023-10-13	12:22:02	285	[DEBUG]	Load a row
2023-10-13	12:22:02	285	[DEBUG]	Processing item: 1000000081954
2023-10-13	12:22:02	285	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:02	285	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:02	285	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5342_1'
2023-10-13	12:22:02	285	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:02	285	[DEBUG]	Processing product tax
2023-10-13	12:22:02	285	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:02	285	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:02	285	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:02	285	[DEBUG]	Query for Product
2023-10-13	12:22:02	285	[DEBUG]	Executed store
2023-10-13	12:22:02	285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859775','1000000081954','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:02	285	[DEBUG]	No parent found
2023-10-13	12:22:02	285	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859775 AND customfield_value = 'stockable'
2023-10-13	12:22:02	285	[DEBUG]	Check product language entry
2023-10-13	12:22:02	285	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859777
2023-10-13	12:22:02	285	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:02	285	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000081954' AND `virtuemart_product_id` != 1859777
2023-10-13	12:22:02	285	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:02	285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859777, '1000000081954')
2023-10-13	12:22:02	285	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:02	285	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-dirt-noir-m-l' AND `virtuemart_product_id` != 1859777
2023-10-13	12:22:02	285	[DEBUG]	Query for ProductLang
2023-10-13	12:22:02	285	[DEBUG]	Executed store
2023-10-13	12:22:02	285	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC DIRT / Noir (M/L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-dirt-noir-m-l' WHERE `virtuemart_product_id` = '1859777'
2023-10-13	12:22:02	285	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:02	285	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:02	285	[DEBUG]	Process image file
2023-10-13	12:22:02	285	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:02	285	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:02	285	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:02	285	[DEBUG]	Full name target: bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:03	285	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:03	285	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg'
2023-10-13	12:22:03	285	[DEBUG]	Query for Media
2023-10-13	12:22:03	285	[DEBUG]	Executed store
2023-10-13	12:22:03	285	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg',`file_url_thumb`='bcprisme/29820_casque_msc_dirt_taille_s-m_(55_-_58_cm).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12429'
2023-10-13	12:22:03	285	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:03	285	[DEBUG]	Executed store
2023-10-13	12:22:03	285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859777','12429','1')
2023-10-13	12:22:03	285	[DEBUG]	Store product image relation
2023-10-13	12:22:03	285	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:03	285	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859777 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:03	285	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:03	285	[DEBUG]	Executed store
2023-10-13	12:22:03	285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859777','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:03	285	[DEBUG]	Checking manufacturer
2023-10-13	12:22:03	285	[DEBUG]	Load a row
2023-10-13	12:22:03	285	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:03	285	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:03	285	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:03	285	[DEBUG]	Executed store
2023-10-13	12:22:03	285	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:03	285	[DEBUG]	Manufacturer exists
2023-10-13	12:22:03	285	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:03	285	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:03	285	[DEBUG]	Executed store
2023-10-13	12:22:03	285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859777','32')
2023-10-13	12:22:03	285	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:03	285	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:03	285	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859777 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:03	285	[DEBUG]	Store custom available field
2023-10-13	12:22:03	285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859777,3,'',1)
2023-10-13	12:22:03	285	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:03	285	[DEBUG]	Get existing row with customfield value M/L
2023-10-13	12:22:03	285	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859777 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:03	285	[DEBUG]	Store custom available field
2023-10-13	12:22:03	285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859777,6,'M/L',3)
2023-10-13	12:22:03	285	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:03	285	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:03	285	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859775
2023-10-13	12:22:03	285	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:03	285	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nM\\/L\"}]|clabels=0|options={\"1859775\":[1859775,8,1,\"choisir la taille\"],\"1859776\":[\"S\\/M\"],\"1859777\":[\"M\\/L\"]}|' WHERE `virtuemart_product_id` = 1859775
2023-10-13	12:22:03	285	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:03	285	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859777
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:03	286	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field taille
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field category_path
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:03	286	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:22:03	286	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:03	286	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field product_weight
2023-10-13	12:22:03	286	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:03	286	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:03	286	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field published
2023-10-13	12:22:03	286	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:03	286	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field custom_title
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field custom_param
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field override
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field public_price
2023-10-13	12:22:03	286	[DEBUG]	Use field value for field slug
2023-10-13	12:22:03	286	[DEBUG]	Process line 286
2023-10-13	12:22:03	286	[DEBUG]	Load a row
2023-10-13	12:22:03	286	[DEBUG]	Processing item: A_6748_1
2023-10-13	12:22:03	286	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:03	286	[DEBUG]	Processing product tax
2023-10-13	12:22:03	286	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:03	286	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:03	286	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:03	286	[DEBUG]	Query for Product
2023-10-13	12:22:03	286	[DEBUG]	Executed store
2023-10-13	12:22:03	286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6748_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:03	286	[DEBUG]	Check product language entry
2023-10-13	12:22:03	286	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859778
2023-10-13	12:22:03	286	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:03	286	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6748_1' AND `virtuemart_product_id` != 1859778
2023-10-13	12:22:03	286	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:03	286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859778, 'A_6748_1')
2023-10-13	12:22:03	286	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:03	286	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-snow-inmold-noir' AND `virtuemart_product_id` != 1859778
2023-10-13	12:22:03	286	[DEBUG]	Query for ProductLang
2023-10-13	12:22:03	286	[DEBUG]	Executed store
2023-10-13	12:22:03	286	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='385 g  S/M (55-58 cm) M/L (58-61cm) <br>- Casque convertible été / hiver. Doublure/cache-oreilles facilement amovibles et lavables pour transformer le casque de protection contre la neige en un casque de ville ou de Dirt avec ou sans visière.<br><br>- fixation arrière pour masque de ski<br><br>- Protection forte contre le froid en mode hiver, avec des ventilations pour éviter la formation de buée sur le masque / lunettes<br><br>- En mode été / vélo ville / Dirt, v...<br><br><br>N° art fourn : SNOW118',`product_name`='MSC Casque MSC SNOW INMOLD  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-snow-inmold-noir' WHERE `virtuemart_product_id` = '1859778'
2023-10-13	12:22:03	286	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:03	286	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:03	286	[DEBUG]	Process image file
2023-10-13	12:22:03	286	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:03	286	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:03	286	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:03	286	[DEBUG]	Full name target: bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:04	286	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:04	286	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg'
2023-10-13	12:22:04	286	[DEBUG]	Query for Media
2023-10-13	12:22:04	286	[DEBUG]	Executed store
2023-10-13	12:22:04	286	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg',`file_url_thumb`='bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12376'
2023-10-13	12:22:04	286	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:04	286	[DEBUG]	Executed store
2023-10-13	12:22:04	286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859778','12376','1')
2023-10-13	12:22:04	286	[DEBUG]	Store product image relation
2023-10-13	12:22:04	286	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:04	286	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859778 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:04	286	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:04	286	[DEBUG]	Executed store
2023-10-13	12:22:04	286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859778','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:04	286	[DEBUG]	Checking manufacturer
2023-10-13	12:22:04	286	[DEBUG]	Load a row
2023-10-13	12:22:04	286	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:04	286	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:04	286	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:04	286	[DEBUG]	Executed store
2023-10-13	12:22:04	286	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:04	286	[DEBUG]	Manufacturer exists
2023-10-13	12:22:04	286	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:04	286	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:04	286	[DEBUG]	Executed store
2023-10-13	12:22:04	286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859778','32')
2023-10-13	12:22:04	286	[DEBUG]	Find the custom field ID
2023-10-13	12:22:04	286	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:22:04	286	[DEBUG]	No custom field ID found
2023-10-13	12:22:04	286	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:04	286	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:22:04	286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859778 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:04	286	[DEBUG]	Store custom available field
2023-10-13	12:22:04	286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859778,3,'0',1)
2023-10-13	12:22:04	286	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:04	286	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:22:04	286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859778 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:04	286	[DEBUG]	Store custom available field
2023-10-13	12:22:04	286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859778,6,'choisir la taille',3)
2023-10-13	12:22:04	286	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:04	286	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:22:04	286	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:22:04	286	[DEBUG]	Find the multi variant product entry
2023-10-13	12:22:04	286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859778 AND `virtuemart_custom_id` = 8
2023-10-13	12:22:04	286	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:22:04	286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859778,8,1)
2023-10-13	12:22:04	286	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:04	286	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859778\":[1859778,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859778
2023-10-13	12:22:04	286	[DEBUG]	Checking category
2023-10-13	12:22:04	286	[DEBUG]	Get the existing categories for the product
2023-10-13	12:22:04	286	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859778
2023-10-13	12:22:04	286	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:22:04	286	[DEBUG]	Executed store
2023-10-13	12:22:04	286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859778','7281')
2023-10-13	12:22:04	286	[DEBUG]	Delete leftover product categories
2023-10-13	12:22:04	286	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859778 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:22:04	286	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:04	286	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859778
2023-10-13	12:22:04	287	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:04	287	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:04	287	[DEBUG]	Use field value for field taille
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:04	287	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:04	287	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:04	287	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:04	287	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:04	287	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:04	287	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:04	287	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:04	287	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:04	287	[DEBUG]	Use field value for field published
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:04	287	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field override
2023-10-13	12:22:04	287	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:04	287	[DEBUG]	Use field value for field slug
2023-10-13	12:22:04	287	[DEBUG]	Process line 287
2023-10-13	12:22:04	287	[DEBUG]	Load a row
2023-10-13	12:22:04	287	[DEBUG]	Processing item: 1000000109351
2023-10-13	12:22:04	287	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:04	287	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:04	287	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6748_1'
2023-10-13	12:22:04	287	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:04	287	[DEBUG]	Processing product tax
2023-10-13	12:22:04	287	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:04	287	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:04	287	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:04	287	[DEBUG]	Query for Product
2023-10-13	12:22:04	287	[DEBUG]	Executed store
2023-10-13	12:22:04	287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859778','1000000109351','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:04	287	[DEBUG]	No parent found
2023-10-13	12:22:04	287	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859778 AND customfield_value = 'stockable'
2023-10-13	12:22:04	287	[DEBUG]	Check product language entry
2023-10-13	12:22:04	287	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859779
2023-10-13	12:22:04	287	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:04	287	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000109351' AND `virtuemart_product_id` != 1859779
2023-10-13	12:22:04	287	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:04	287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859779, '1000000109351')
2023-10-13	12:22:04	287	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:04	287	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-snow-inmold-noir-s-m' AND `virtuemart_product_id` != 1859779
2023-10-13	12:22:04	287	[DEBUG]	Query for ProductLang
2023-10-13	12:22:04	287	[DEBUG]	Executed store
2023-10-13	12:22:04	287	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC SNOW INMOLD  / Noir (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-snow-inmold-noir-s-m' WHERE `virtuemart_product_id` = '1859779'
2023-10-13	12:22:04	287	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:04	287	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:04	287	[DEBUG]	Process image file
2023-10-13	12:22:04	287	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:04	287	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:04	287	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:04	287	[DEBUG]	Full name target: bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:05	287	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:05	287	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg'
2023-10-13	12:22:05	287	[DEBUG]	Query for Media
2023-10-13	12:22:05	287	[DEBUG]	Executed store
2023-10-13	12:22:05	287	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg',`file_url_thumb`='bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12376'
2023-10-13	12:22:05	287	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:05	287	[DEBUG]	Executed store
2023-10-13	12:22:05	287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859779','12376','1')
2023-10-13	12:22:05	287	[DEBUG]	Store product image relation
2023-10-13	12:22:05	287	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:05	287	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859779 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:05	287	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:05	287	[DEBUG]	Executed store
2023-10-13	12:22:05	287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859779','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:05	287	[DEBUG]	Checking manufacturer
2023-10-13	12:22:05	287	[DEBUG]	Load a row
2023-10-13	12:22:05	287	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:05	287	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:05	287	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:05	287	[DEBUG]	Executed store
2023-10-13	12:22:05	287	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:05	287	[DEBUG]	Manufacturer exists
2023-10-13	12:22:05	287	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:05	287	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:05	287	[DEBUG]	Executed store
2023-10-13	12:22:05	287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859779','32')
2023-10-13	12:22:05	287	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:05	287	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:05	287	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859779 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:05	287	[DEBUG]	Store custom available field
2023-10-13	12:22:05	287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859779,3,'',1)
2023-10-13	12:22:05	287	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:05	287	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:22:05	287	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859779 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:05	287	[DEBUG]	Store custom available field
2023-10-13	12:22:05	287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859779,6,'S/M',3)
2023-10-13	12:22:05	287	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:05	287	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:05	287	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859778
2023-10-13	12:22:05	287	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:05	287	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859778\":[1859778,8,1,\"choisir la taille\"],\"1859779\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859778
2023-10-13	12:22:05	287	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:05	287	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859779
2023-10-13	12:22:05	288	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:05	288	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:05	288	[DEBUG]	Use field value for field taille
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:05	288	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:05	288	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:05	288	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:05	288	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:05	288	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:05	288	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:05	288	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:05	288	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:05	288	[DEBUG]	Use field value for field published
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:05	288	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field override
2023-10-13	12:22:05	288	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:05	288	[DEBUG]	Use field value for field slug
2023-10-13	12:22:05	288	[DEBUG]	Process line 288
2023-10-13	12:22:05	288	[DEBUG]	Load a row
2023-10-13	12:22:05	288	[DEBUG]	Processing item: 1000000113327
2023-10-13	12:22:05	288	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:05	288	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:05	288	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6748_1'
2023-10-13	12:22:05	288	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:05	288	[DEBUG]	Processing product tax
2023-10-13	12:22:05	288	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:05	288	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:05	288	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:05	288	[DEBUG]	Query for Product
2023-10-13	12:22:05	288	[DEBUG]	Executed store
2023-10-13	12:22:05	288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859778','1000000113327','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:05	288	[DEBUG]	No parent found
2023-10-13	12:22:05	288	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859778 AND customfield_value = 'stockable'
2023-10-13	12:22:05	288	[DEBUG]	Check product language entry
2023-10-13	12:22:05	288	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859780
2023-10-13	12:22:05	288	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:05	288	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113327' AND `virtuemart_product_id` != 1859780
2023-10-13	12:22:05	288	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:05	288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859780, '1000000113327')
2023-10-13	12:22:05	288	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:05	288	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-snow-inmold-noir-m-l' AND `virtuemart_product_id` != 1859780
2023-10-13	12:22:05	288	[DEBUG]	Query for ProductLang
2023-10-13	12:22:05	288	[DEBUG]	Executed store
2023-10-13	12:22:05	288	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC SNOW INMOLD  / Noir (M/L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-snow-inmold-noir-m-l' WHERE `virtuemart_product_id` = '1859780'
2023-10-13	12:22:05	288	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:05	288	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:05	288	[DEBUG]	Process image file
2023-10-13	12:22:05	288	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:05	288	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:05	288	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:05	288	[DEBUG]	Full name target: bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:06	288	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:06	288	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg'
2023-10-13	12:22:06	288	[DEBUG]	Query for Media
2023-10-13	12:22:06	288	[DEBUG]	Executed store
2023-10-13	12:22:06	288	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg',`file_url_thumb`='bcprisme/33007_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12376'
2023-10-13	12:22:06	288	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:06	288	[DEBUG]	Executed store
2023-10-13	12:22:06	288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859780','12376','1')
2023-10-13	12:22:06	288	[DEBUG]	Store product image relation
2023-10-13	12:22:06	288	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:06	288	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859780 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:06	288	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:06	288	[DEBUG]	Executed store
2023-10-13	12:22:06	288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859780','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:06	288	[DEBUG]	Checking manufacturer
2023-10-13	12:22:06	288	[DEBUG]	Load a row
2023-10-13	12:22:06	288	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:06	288	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:06	288	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:06	288	[DEBUG]	Executed store
2023-10-13	12:22:06	288	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:06	288	[DEBUG]	Manufacturer exists
2023-10-13	12:22:06	288	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:06	288	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:06	288	[DEBUG]	Executed store
2023-10-13	12:22:06	288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859780','32')
2023-10-13	12:22:06	288	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:06	288	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:06	288	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859780 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:06	288	[DEBUG]	Store custom available field
2023-10-13	12:22:06	288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859780,3,'',1)
2023-10-13	12:22:06	288	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:06	288	[DEBUG]	Get existing row with customfield value M/L
2023-10-13	12:22:06	288	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859780 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:06	288	[DEBUG]	Store custom available field
2023-10-13	12:22:06	288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859780,6,'M/L',3)
2023-10-13	12:22:06	288	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:06	288	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:06	288	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859778
2023-10-13	12:22:06	288	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:06	288	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nM\\/L\"}]|clabels=0|options={\"1859778\":[1859778,8,1,\"choisir la taille\"],\"1859779\":[\"S\\/M\"],\"1859780\":[\"M\\/L\"]}|' WHERE `virtuemart_product_id` = 1859778
2023-10-13	12:22:06	288	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:06	288	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859780
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:06	289	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field taille
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field category_path
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:06	289	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:22:06	289	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:06	289	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field product_weight
2023-10-13	12:22:06	289	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:06	289	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:06	289	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field published
2023-10-13	12:22:06	289	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:06	289	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field custom_title
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field custom_param
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field override
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field public_price
2023-10-13	12:22:06	289	[DEBUG]	Use field value for field slug
2023-10-13	12:22:06	289	[DEBUG]	Process line 289
2023-10-13	12:22:06	289	[DEBUG]	Load a row
2023-10-13	12:22:06	289	[DEBUG]	Processing item: A_6748_22
2023-10-13	12:22:06	289	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:06	289	[DEBUG]	Processing product tax
2023-10-13	12:22:06	289	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:06	289	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:06	289	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:06	289	[DEBUG]	Query for Product
2023-10-13	12:22:06	289	[DEBUG]	Executed store
2023-10-13	12:22:06	289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6748_22','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:06	289	[DEBUG]	Check product language entry
2023-10-13	12:22:06	289	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859781
2023-10-13	12:22:06	289	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:06	289	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6748_22' AND `virtuemart_product_id` != 1859781
2023-10-13	12:22:06	289	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:06	289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859781, 'A_6748_22')
2023-10-13	12:22:06	289	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:06	289	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-snow-inmold-bleu' AND `virtuemart_product_id` != 1859781
2023-10-13	12:22:06	289	[DEBUG]	Query for ProductLang
2023-10-13	12:22:06	289	[DEBUG]	Executed store
2023-10-13	12:22:06	289	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='385 g  S/M (55-58 cm) M/L (58-61cm) <br>- Casque convertible été / hiver. Doublure/cache-oreilles facilement amovibles et lavables pour transformer le casque de protection contre la neige en un casque de ville ou de Dirt avec ou sans visière.<br><br>- fixation arrière pour masque de ski<br><br>- Protection forte contre le froid en mode hiver, avec des ventilations pour éviter la formation de buée sur le masque / lunettes<br><br>- En mode été / vélo ville / Dirt, v...<br><br><br>N° art fourn : SNOW118',`product_name`='MSC Casque MSC SNOW INMOLD  / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-snow-inmold-bleu' WHERE `virtuemart_product_id` = '1859781'
2023-10-13	12:22:06	289	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:06	289	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:06	289	[DEBUG]	Process image file
2023-10-13	12:22:06	289	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:06	289	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:06	289	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:06	289	[DEBUG]	Full name target: bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:08	289	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:08	289	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg'
2023-10-13	12:22:08	289	[DEBUG]	Query for Media
2023-10-13	12:22:08	289	[DEBUG]	Executed store
2023-10-13	12:22:08	289	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg',`file_url_thumb`='bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12378'
2023-10-13	12:22:08	289	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:08	289	[DEBUG]	Executed store
2023-10-13	12:22:08	289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859781','12378','1')
2023-10-13	12:22:08	289	[DEBUG]	Store product image relation
2023-10-13	12:22:08	289	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:08	289	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859781 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:08	289	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:08	289	[DEBUG]	Executed store
2023-10-13	12:22:08	289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859781','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:08	289	[DEBUG]	Checking manufacturer
2023-10-13	12:22:08	289	[DEBUG]	Load a row
2023-10-13	12:22:08	289	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:08	289	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:08	289	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:08	289	[DEBUG]	Executed store
2023-10-13	12:22:08	289	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:08	289	[DEBUG]	Manufacturer exists
2023-10-13	12:22:08	289	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:08	289	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:08	289	[DEBUG]	Executed store
2023-10-13	12:22:08	289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859781','32')
2023-10-13	12:22:08	289	[DEBUG]	Find the custom field ID
2023-10-13	12:22:08	289	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:22:08	289	[DEBUG]	No custom field ID found
2023-10-13	12:22:08	289	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:08	289	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:22:08	289	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859781 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:08	289	[DEBUG]	Store custom available field
2023-10-13	12:22:08	289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859781,3,'0',1)
2023-10-13	12:22:08	289	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:08	289	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:22:08	289	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859781 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:08	289	[DEBUG]	Store custom available field
2023-10-13	12:22:08	289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859781,6,'choisir la taille',3)
2023-10-13	12:22:08	289	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:08	289	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:22:08	289	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:22:08	289	[DEBUG]	Find the multi variant product entry
2023-10-13	12:22:08	289	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859781 AND `virtuemart_custom_id` = 8
2023-10-13	12:22:08	289	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:22:08	289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859781,8,1)
2023-10-13	12:22:08	289	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:08	289	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859781\":[1859781,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859781
2023-10-13	12:22:08	289	[DEBUG]	Checking category
2023-10-13	12:22:08	289	[DEBUG]	Get the existing categories for the product
2023-10-13	12:22:08	289	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859781
2023-10-13	12:22:08	289	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:22:08	289	[DEBUG]	Executed store
2023-10-13	12:22:08	289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859781','7281')
2023-10-13	12:22:08	289	[DEBUG]	Delete leftover product categories
2023-10-13	12:22:08	289	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859781 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:22:08	289	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:08	289	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859781
2023-10-13	12:22:08	290	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:08	290	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:08	290	[DEBUG]	Use field value for field taille
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:08	290	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:08	290	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:08	290	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:08	290	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:08	290	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:08	290	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:08	290	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:08	290	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:08	290	[DEBUG]	Use field value for field published
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:08	290	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field override
2023-10-13	12:22:08	290	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:08	290	[DEBUG]	Use field value for field slug
2023-10-13	12:22:08	290	[DEBUG]	Process line 290
2023-10-13	12:22:08	290	[DEBUG]	Load a row
2023-10-13	12:22:08	290	[DEBUG]	Processing item: 1000000109344
2023-10-13	12:22:08	290	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:08	290	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:08	290	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6748_22'
2023-10-13	12:22:08	290	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:08	290	[DEBUG]	Processing product tax
2023-10-13	12:22:08	290	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:08	290	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:08	290	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:08	290	[DEBUG]	Query for Product
2023-10-13	12:22:08	290	[DEBUG]	Executed store
2023-10-13	12:22:08	290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859781','1000000109344','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:08	290	[DEBUG]	No parent found
2023-10-13	12:22:08	290	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859781 AND customfield_value = 'stockable'
2023-10-13	12:22:08	290	[DEBUG]	Check product language entry
2023-10-13	12:22:08	290	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859782
2023-10-13	12:22:08	290	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:08	290	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000109344' AND `virtuemart_product_id` != 1859782
2023-10-13	12:22:08	290	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:08	290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859782, '1000000109344')
2023-10-13	12:22:08	290	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:08	290	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-snow-inmold-bleu-s-m' AND `virtuemart_product_id` != 1859782
2023-10-13	12:22:08	290	[DEBUG]	Query for ProductLang
2023-10-13	12:22:08	290	[DEBUG]	Executed store
2023-10-13	12:22:08	290	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC SNOW INMOLD  / Bleu (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-snow-inmold-bleu-s-m' WHERE `virtuemart_product_id` = '1859782'
2023-10-13	12:22:08	290	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:08	290	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:08	290	[DEBUG]	Process image file
2023-10-13	12:22:08	290	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:08	290	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:08	290	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:08	290	[DEBUG]	Full name target: bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:09	290	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:09	290	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg'
2023-10-13	12:22:09	290	[DEBUG]	Query for Media
2023-10-13	12:22:09	290	[DEBUG]	Executed store
2023-10-13	12:22:09	290	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg',`file_url_thumb`='bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12378'
2023-10-13	12:22:09	290	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:09	290	[DEBUG]	Executed store
2023-10-13	12:22:09	290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859782','12378','1')
2023-10-13	12:22:09	290	[DEBUG]	Store product image relation
2023-10-13	12:22:09	290	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:09	290	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859782 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:09	290	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:09	290	[DEBUG]	Executed store
2023-10-13	12:22:09	290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859782','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:09	290	[DEBUG]	Checking manufacturer
2023-10-13	12:22:09	290	[DEBUG]	Load a row
2023-10-13	12:22:09	290	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:09	290	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:09	290	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:09	290	[DEBUG]	Executed store
2023-10-13	12:22:09	290	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:09	290	[DEBUG]	Manufacturer exists
2023-10-13	12:22:09	290	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:09	290	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:09	290	[DEBUG]	Executed store
2023-10-13	12:22:09	290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859782','32')
2023-10-13	12:22:09	290	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:09	290	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:09	290	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859782 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:09	290	[DEBUG]	Store custom available field
2023-10-13	12:22:09	290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859782,3,'',1)
2023-10-13	12:22:09	290	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:09	290	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:22:09	290	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859782 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:09	290	[DEBUG]	Store custom available field
2023-10-13	12:22:09	290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859782,6,'S/M',3)
2023-10-13	12:22:09	290	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:09	290	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:09	290	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859781
2023-10-13	12:22:09	290	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:09	290	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859781\":[1859781,8,1,\"choisir la taille\"],\"1859782\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859781
2023-10-13	12:22:09	290	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:09	290	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859782
2023-10-13	12:22:09	291	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:09	291	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:09	291	[DEBUG]	Use field value for field taille
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:09	291	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:09	291	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:09	291	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:09	291	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:09	291	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:09	291	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:09	291	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:09	291	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:09	291	[DEBUG]	Use field value for field published
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:09	291	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field override
2023-10-13	12:22:09	291	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:09	291	[DEBUG]	Use field value for field slug
2023-10-13	12:22:09	291	[DEBUG]	Process line 291
2023-10-13	12:22:09	291	[DEBUG]	Load a row
2023-10-13	12:22:09	291	[DEBUG]	Processing item: 1000000113310
2023-10-13	12:22:09	291	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:09	291	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:09	291	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6748_22'
2023-10-13	12:22:09	291	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:09	291	[DEBUG]	Processing product tax
2023-10-13	12:22:09	291	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:09	291	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:09	291	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:09	291	[DEBUG]	Query for Product
2023-10-13	12:22:09	291	[DEBUG]	Executed store
2023-10-13	12:22:09	291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859781','1000000113310','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:09	291	[DEBUG]	No parent found
2023-10-13	12:22:09	291	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859781 AND customfield_value = 'stockable'
2023-10-13	12:22:09	291	[DEBUG]	Check product language entry
2023-10-13	12:22:09	291	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859783
2023-10-13	12:22:09	291	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:09	291	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113310' AND `virtuemart_product_id` != 1859783
2023-10-13	12:22:09	291	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:09	291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859783, '1000000113310')
2023-10-13	12:22:09	291	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:09	291	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-snow-inmold-bleu-m-l' AND `virtuemart_product_id` != 1859783
2023-10-13	12:22:09	291	[DEBUG]	Query for ProductLang
2023-10-13	12:22:09	291	[DEBUG]	Executed store
2023-10-13	12:22:09	291	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC SNOW INMOLD  / Bleu (M/L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-snow-inmold-bleu-m-l' WHERE `virtuemart_product_id` = '1859783'
2023-10-13	12:22:09	291	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:09	291	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:09	291	[DEBUG]	Process image file
2023-10-13	12:22:09	291	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:09	291	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:09	291	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:09	291	[DEBUG]	Full name target: bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg
2023-10-13	12:22:10	291	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:10	291	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg'
2023-10-13	12:22:10	291	[DEBUG]	Query for Media
2023-10-13	12:22:10	291	[DEBUG]	Executed store
2023-10-13	12:22:10	291	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg',`file_url_thumb`='bcprisme/33006_casque_msc_snow_inmold_taille_s-m_(55_-_58_cm).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12378'
2023-10-13	12:22:10	291	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:10	291	[DEBUG]	Executed store
2023-10-13	12:22:10	291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859783','12378','1')
2023-10-13	12:22:10	291	[DEBUG]	Store product image relation
2023-10-13	12:22:10	291	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:10	291	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859783 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:10	291	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:10	291	[DEBUG]	Executed store
2023-10-13	12:22:10	291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859783','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:10	291	[DEBUG]	Checking manufacturer
2023-10-13	12:22:10	291	[DEBUG]	Load a row
2023-10-13	12:22:10	291	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:10	291	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:10	291	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:10	291	[DEBUG]	Executed store
2023-10-13	12:22:10	291	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:10	291	[DEBUG]	Manufacturer exists
2023-10-13	12:22:10	291	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:10	291	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:10	291	[DEBUG]	Executed store
2023-10-13	12:22:10	291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859783','32')
2023-10-13	12:22:10	291	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:10	291	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:10	291	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859783 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:10	291	[DEBUG]	Store custom available field
2023-10-13	12:22:10	291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859783,3,'',1)
2023-10-13	12:22:10	291	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:10	291	[DEBUG]	Get existing row with customfield value M/L
2023-10-13	12:22:10	291	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859783 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:10	291	[DEBUG]	Store custom available field
2023-10-13	12:22:10	291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859783,6,'M/L',3)
2023-10-13	12:22:10	291	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:10	291	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:10	291	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859781
2023-10-13	12:22:10	291	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:10	291	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nM\\/L\"}]|clabels=0|options={\"1859781\":[1859781,8,1,\"choisir la taille\"],\"1859782\":[\"S\\/M\"],\"1859783\":[\"M\\/L\"]}|' WHERE `virtuemart_product_id` = 1859781
2023-10-13	12:22:10	291	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:10	291	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859783
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:10	292	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field taille
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field category_path
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:10	292	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:22:10	292	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:10	292	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field product_weight
2023-10-13	12:22:10	292	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:10	292	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:10	292	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field published
2023-10-13	12:22:10	292	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:10	292	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field custom_title
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field custom_param
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field override
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field public_price
2023-10-13	12:22:10	292	[DEBUG]	Use field value for field slug
2023-10-13	12:22:10	292	[DEBUG]	Process line 292
2023-10-13	12:22:10	292	[DEBUG]	Load a row
2023-10-13	12:22:10	292	[DEBUG]	Processing item: A_6751_359
2023-10-13	12:22:10	292	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:10	292	[DEBUG]	Processing product tax
2023-10-13	12:22:10	292	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:10	292	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:10	292	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:10	292	[DEBUG]	Query for Product
2023-10-13	12:22:10	292	[DEBUG]	Executed store
2023-10-13	12:22:10	292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6751_359','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:10	292	[DEBUG]	Check product language entry
2023-10-13	12:22:10	292	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859784
2023-10-13	12:22:10	292	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:10	292	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6751_359' AND `virtuemart_product_id` != 1859784
2023-10-13	12:22:10	292	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:10	292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859784, 'A_6751_359')
2023-10-13	12:22:10	292	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:10	292	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-alpina-snow-taille-50-54-black-matt-red' AND `virtuemart_product_id` != 1859784
2023-10-13	12:22:10	292	[DEBUG]	Query for ProductLang
2023-10-13	12:22:10	292	[DEBUG]	Executed store
2023-10-13	12:22:10	292	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : A9059.1.39',`product_name`='Alpina Casque ALPINA SNOW TAILLE 50-54  / BLACK MATT RED',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-alpina-snow-taille-50-54-black-matt-red' WHERE `virtuemart_product_id` = '1859784'
2023-10-13	12:22:10	292	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg
2023-10-13	12:22:10	292	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:10	292	[DEBUG]	Process image file
2023-10-13	12:22:10	292	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:10	292	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:10	292	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg
2023-10-13	12:22:10	292	[DEBUG]	Full name target: bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg
2023-10-13	12:22:11	292	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:11	292	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg'
2023-10-13	12:22:11	292	[DEBUG]	Query for Media
2023-10-13	12:22:11	292	[DEBUG]	Executed store
2023-10-13	12:22:11	292	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg',`file_url_thumb`='bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15770'
2023-10-13	12:22:11	292	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:11	292	[DEBUG]	Executed store
2023-10-13	12:22:11	292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859784','15770','1')
2023-10-13	12:22:11	292	[DEBUG]	Store product image relation
2023-10-13	12:22:11	292	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:11	292	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859784 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:11	292	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:11	292	[DEBUG]	Executed store
2023-10-13	12:22:11	292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859784','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:11	292	[DEBUG]	Checking manufacturer
2023-10-13	12:22:11	292	[DEBUG]	Load a row
2023-10-13	12:22:11	292	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:11	292	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:11	292	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:11	292	[DEBUG]	Executed store
2023-10-13	12:22:11	292	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:11	292	[DEBUG]	Manufacturer exists
2023-10-13	12:22:11	292	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:22:11	292	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:11	292	[DEBUG]	Executed store
2023-10-13	12:22:11	292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859784','171')
2023-10-13	12:22:11	292	[DEBUG]	Find the custom field ID
2023-10-13	12:22:11	292	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:22:11	292	[DEBUG]	No custom field ID found
2023-10-13	12:22:11	292	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:11	292	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:22:11	292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859784 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:11	292	[DEBUG]	Store custom available field
2023-10-13	12:22:11	292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859784,3,'0',1)
2023-10-13	12:22:11	292	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:11	292	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:22:11	292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859784 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:11	292	[DEBUG]	Store custom available field
2023-10-13	12:22:11	292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859784,6,'choisir la taille',3)
2023-10-13	12:22:11	292	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:11	292	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:22:11	292	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:22:11	292	[DEBUG]	Find the multi variant product entry
2023-10-13	12:22:11	292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859784 AND `virtuemart_custom_id` = 8
2023-10-13	12:22:11	292	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:22:11	292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859784,8,1)
2023-10-13	12:22:11	292	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:11	292	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859784\":[1859784,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859784
2023-10-13	12:22:11	292	[DEBUG]	Checking category
2023-10-13	12:22:11	292	[DEBUG]	Get the existing categories for the product
2023-10-13	12:22:11	292	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859784
2023-10-13	12:22:11	292	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:22:11	292	[DEBUG]	Executed store
2023-10-13	12:22:11	292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859784','7281')
2023-10-13	12:22:11	292	[DEBUG]	Delete leftover product categories
2023-10-13	12:22:11	292	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859784 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:22:11	292	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:11	292	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859784
2023-10-13	12:22:11	293	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:11	293	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:11	293	[DEBUG]	Use field value for field taille
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:11	293	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:11	293	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:11	293	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:11	293	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:11	293	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:11	293	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:11	293	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:11	293	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:11	293	[DEBUG]	Use field value for field published
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:11	293	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field override
2023-10-13	12:22:11	293	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:11	293	[DEBUG]	Use field value for field slug
2023-10-13	12:22:11	293	[DEBUG]	Process line 293
2023-10-13	12:22:11	293	[DEBUG]	Load a row
2023-10-13	12:22:11	293	[DEBUG]	Processing item: 4003692236791
2023-10-13	12:22:11	293	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:11	293	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:11	293	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6751_359'
2023-10-13	12:22:11	293	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:11	293	[DEBUG]	Processing product tax
2023-10-13	12:22:11	293	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:11	293	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:11	293	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:11	293	[DEBUG]	Query for Product
2023-10-13	12:22:11	293	[DEBUG]	Executed store
2023-10-13	12:22:11	293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859784','4003692236791','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:11	293	[DEBUG]	No parent found
2023-10-13	12:22:11	293	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859784 AND customfield_value = 'stockable'
2023-10-13	12:22:11	293	[DEBUG]	Check product language entry
2023-10-13	12:22:11	293	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859785
2023-10-13	12:22:11	293	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:11	293	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003692236791' AND `virtuemart_product_id` != 1859785
2023-10-13	12:22:11	293	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:11	293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859785, '4003692236791')
2023-10-13	12:22:11	293	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:11	293	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-alpina-snow-taille-50-54-black-matt-red-unitaire' AND `virtuemart_product_id` != 1859785
2023-10-13	12:22:11	293	[DEBUG]	Query for ProductLang
2023-10-13	12:22:11	293	[DEBUG]	Executed store
2023-10-13	12:22:11	293	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque ALPINA SNOW TAILLE 50-54  / BLACK MATT RED (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-alpina-snow-taille-50-54-black-matt-red-unitaire' WHERE `virtuemart_product_id` = '1859785'
2023-10-13	12:22:11	293	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg
2023-10-13	12:22:11	293	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:11	293	[DEBUG]	Process image file
2023-10-13	12:22:11	293	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:11	293	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:11	293	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg
2023-10-13	12:22:11	293	[DEBUG]	Full name target: bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg
2023-10-13	12:22:12	293	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:12	293	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg'
2023-10-13	12:22:12	293	[DEBUG]	Query for Media
2023-10-13	12:22:12	293	[DEBUG]	Executed store
2023-10-13	12:22:12	293	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg',`file_url_thumb`='bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15770'
2023-10-13	12:22:12	293	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:12	293	[DEBUG]	Executed store
2023-10-13	12:22:12	293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859785','15770','1')
2023-10-13	12:22:12	293	[DEBUG]	Store product image relation
2023-10-13	12:22:12	293	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:12	293	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859785 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:12	293	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:12	293	[DEBUG]	Executed store
2023-10-13	12:22:12	293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859785','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:12	293	[DEBUG]	Checking manufacturer
2023-10-13	12:22:12	293	[DEBUG]	Load a row
2023-10-13	12:22:12	293	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:12	293	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:12	293	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:12	293	[DEBUG]	Executed store
2023-10-13	12:22:12	293	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:12	293	[DEBUG]	Manufacturer exists
2023-10-13	12:22:12	293	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:22:12	293	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:12	293	[DEBUG]	Executed store
2023-10-13	12:22:12	293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859785','171')
2023-10-13	12:22:12	293	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:12	293	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:12	293	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859785 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:12	293	[DEBUG]	Store custom available field
2023-10-13	12:22:12	293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859785,3,'',1)
2023-10-13	12:22:12	293	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:12	293	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:22:12	293	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859785 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:12	293	[DEBUG]	Store custom available field
2023-10-13	12:22:12	293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859785,6,'Unitaire',3)
2023-10-13	12:22:12	293	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:12	293	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:12	293	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859784
2023-10-13	12:22:12	293	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:12	293	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859784\":[1859784,8,1,\"choisir la taille\"],\"1859785\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859784
2023-10-13	12:22:12	293	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:12	293	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859785
2023-10-13	12:22:12	294	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:12	294	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field taille
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:12	294	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:12	294	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:12	294	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:12	294	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:12	294	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:12	294	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:12	294	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:12	294	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:12	294	[DEBUG]	Use field value for field published
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:12	294	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field override
2023-10-13	12:22:12	294	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:12	294	[DEBUG]	Use field value for field slug
2023-10-13	12:22:12	294	[DEBUG]	Process line 294
2023-10-13	12:22:12	294	[DEBUG]	Load a row
2023-10-13	12:22:12	294	[DEBUG]	Processing item: 1000000114485
2023-10-13	12:22:12	294	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:12	294	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:12	294	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6751_359'
2023-10-13	12:22:12	294	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:12	294	[DEBUG]	Processing product tax
2023-10-13	12:22:12	294	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:12	294	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:12	294	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:12	294	[DEBUG]	Query for Product
2023-10-13	12:22:12	294	[DEBUG]	Executed store
2023-10-13	12:22:12	294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859784','1000000114485','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:12	294	[DEBUG]	No parent found
2023-10-13	12:22:12	294	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859784 AND customfield_value = 'stockable'
2023-10-13	12:22:12	294	[DEBUG]	Check product language entry
2023-10-13	12:22:12	294	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859786
2023-10-13	12:22:12	294	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:12	294	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114485' AND `virtuemart_product_id` != 1859786
2023-10-13	12:22:12	294	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:12	294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859786, '1000000114485')
2023-10-13	12:22:12	294	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:12	294	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-alpina-snow-taille-50-54-black-matt-red' AND `virtuemart_product_id` != 1859786
2023-10-13	12:22:12	294	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:22:12	294	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'alpina-casque-alpina-snow-taille-50-54-black-matt-red', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'alpina-casque-alpina-snow-taille-50-54-black-matt-red' OR `slug` LIKE 'alpina-casque-alpina-snow-taille-50-54-black-matt-red-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1859786 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:22:12	294	[DEBUG]	Query for ProductLang
2023-10-13	12:22:12	294	[DEBUG]	Executed store
2023-10-13	12:22:12	294	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque ALPINA SNOW TAILLE 50-54  / BLACK MATT RED ()',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-alpina-snow-taille-50-54-black-matt-red-1' WHERE `virtuemart_product_id` = '1859786'
2023-10-13	12:22:12	294	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg
2023-10-13	12:22:12	294	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:12	294	[DEBUG]	Process image file
2023-10-13	12:22:12	294	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:12	294	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:12	294	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg
2023-10-13	12:22:12	294	[DEBUG]	Full name target: bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg
2023-10-13	12:22:13	294	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:13	294	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg'
2023-10-13	12:22:13	294	[DEBUG]	Query for Media
2023-10-13	12:22:13	294	[DEBUG]	Executed store
2023-10-13	12:22:13	294	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg',`file_url_thumb`='bcprisme/32977_casque_alpina_snow_taille_50-54_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15770'
2023-10-13	12:22:13	294	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:13	294	[DEBUG]	Executed store
2023-10-13	12:22:13	294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859786','15770','1')
2023-10-13	12:22:13	294	[DEBUG]	Store product image relation
2023-10-13	12:22:13	294	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:13	294	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859786 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:13	294	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:13	294	[DEBUG]	Executed store
2023-10-13	12:22:13	294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859786','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:13	294	[DEBUG]	Checking manufacturer
2023-10-13	12:22:13	294	[DEBUG]	Load a row
2023-10-13	12:22:13	294	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:13	294	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:13	294	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:13	294	[DEBUG]	Executed store
2023-10-13	12:22:13	294	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:13	294	[DEBUG]	Manufacturer exists
2023-10-13	12:22:13	294	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:22:13	294	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:13	294	[DEBUG]	Executed store
2023-10-13	12:22:13	294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859786','171')
2023-10-13	12:22:13	294	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:13	294	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:13	294	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859786 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:13	294	[DEBUG]	Store custom available field
2023-10-13	12:22:13	294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859786,3,'',1)
2023-10-13	12:22:13	294	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:13	294	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:13	294	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859786 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:13	294	[DEBUG]	Store custom available field
2023-10-13	12:22:13	294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859786,6,'',3)
2023-10-13	12:22:13	294	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:13	294	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:13	294	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859784
2023-10-13	12:22:13	294	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:13	294	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859784\":[1859784,8,1,\"choisir la taille\"],\"1859785\":[\"Unitaire\"],\"1859786\":[\"0\"]}|' WHERE `virtuemart_product_id` = 1859784
2023-10-13	12:22:13	294	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:13	294	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859786
2023-10-13	12:22:13	295	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:13	295	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field taille
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:13	295	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:13	295	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:13	295	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:13	295	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:13	295	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:13	295	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:13	295	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:13	295	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:13	295	[DEBUG]	Use field value for field published
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:13	295	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field override
2023-10-13	12:22:13	295	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:13	295	[DEBUG]	Use field value for field slug
2023-10-13	12:22:13	295	[DEBUG]	Process line 295
2023-10-13	12:22:13	295	[DEBUG]	Load a row
2023-10-13	12:22:13	295	[DEBUG]	Processing item: 1000000114492
2023-10-13	12:22:13	295	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:13	295	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:13	295	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6751_359'
2023-10-13	12:22:13	295	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:13	295	[DEBUG]	Processing product tax
2023-10-13	12:22:13	295	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:13	295	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:13	295	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:13	295	[DEBUG]	Query for Product
2023-10-13	12:22:13	295	[DEBUG]	Executed store
2023-10-13	12:22:13	295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859784','1000000114492','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:13	295	[DEBUG]	No parent found
2023-10-13	12:22:13	295	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859784 AND customfield_value = 'stockable'
2023-10-13	12:22:13	295	[DEBUG]	Check product language entry
2023-10-13	12:22:13	295	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859787
2023-10-13	12:22:13	295	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:13	295	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114492' AND `virtuemart_product_id` != 1859787
2023-10-13	12:22:13	295	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:13	295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859787, '1000000114492')
2023-10-13	12:22:13	295	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:13	295	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-alpina-snow-taille-50-54-black-matt-red' AND `virtuemart_product_id` != 1859787
2023-10-13	12:22:13	295	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:22:13	295	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'alpina-casque-alpina-snow-taille-50-54-black-matt-red', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'alpina-casque-alpina-snow-taille-50-54-black-matt-red' OR `slug` LIKE 'alpina-casque-alpina-snow-taille-50-54-black-matt-red-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1859787 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:22:13	295	[DEBUG]	Query for ProductLang
2023-10-13	12:22:13	295	[DEBUG]	Executed store
2023-10-13	12:22:13	295	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque ALPINA SNOW TAILLE 50-54  / BLACK MATT RED ()',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-alpina-snow-taille-50-54-black-matt-red-1' WHERE `virtuemart_product_id` = '1859787'
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:13	296	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field taille
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field category_path
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:13	296	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:22:13	296	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:13	296	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field product_weight
2023-10-13	12:22:13	296	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:13	296	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:13	296	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field published
2023-10-13	12:22:13	296	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:13	296	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field custom_title
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field custom_param
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field override
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field public_price
2023-10-13	12:22:13	296	[DEBUG]	Use field value for field slug
2023-10-13	12:22:13	296	[DEBUG]	Process line 296
2023-10-13	12:22:13	296	[DEBUG]	Load a row
2023-10-13	12:22:13	296	[DEBUG]	Processing item: A_6752_360
2023-10-13	12:22:13	296	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:13	296	[DEBUG]	Processing product tax
2023-10-13	12:22:13	296	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:13	296	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:13	296	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:13	296	[DEBUG]	Query for Product
2023-10-13	12:22:13	296	[DEBUG]	Executed store
2023-10-13	12:22:13	296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6752_360','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:13	296	[DEBUG]	Check product language entry
2023-10-13	12:22:13	296	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859788
2023-10-13	12:22:13	296	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:13	296	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6752_360' AND `virtuemart_product_id` != 1859788
2023-10-13	12:22:13	296	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:13	296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859788, 'A_6752_360')
2023-10-13	12:22:13	296	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:13	296	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-alpina-snow-taille-54-58-black-matt-white' AND `virtuemart_product_id` != 1859788
2023-10-13	12:22:13	296	[DEBUG]	Query for ProductLang
2023-10-13	12:22:13	296	[DEBUG]	Executed store
2023-10-13	12:22:13	296	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : A9059.2.39',`product_name`='Alpina Casque ALPINA SNOW TAILLE 54-58 / BLACK MATT WHITE',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-alpina-snow-taille-54-58-black-matt-white' WHERE `virtuemart_product_id` = '1859788'
2023-10-13	12:22:13	296	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32978_casque_alpina_snow_taille_54-58.jpg
2023-10-13	12:22:13	296	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:13	296	[DEBUG]	Process image file
2023-10-13	12:22:13	296	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:13	296	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:13	296	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32978_casque_alpina_snow_taille_54-58.jpg
2023-10-13	12:22:13	296	[DEBUG]	Full name target: bcprisme/32978_casque_alpina_snow_taille_54-58.jpg
2023-10-13	12:22:14	296	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:14	296	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32978_casque_alpina_snow_taille_54-58.jpg'
2023-10-13	12:22:14	296	[DEBUG]	Query for Media
2023-10-13	12:22:14	296	[DEBUG]	Executed store
2023-10-13	12:22:14	296	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32978_casque_alpina_snow_taille_54-58.jpg',`file_url_thumb`='bcprisme/32978_casque_alpina_snow_taille_54-58.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15771'
2023-10-13	12:22:14	296	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:14	296	[DEBUG]	Executed store
2023-10-13	12:22:14	296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859788','15771','1')
2023-10-13	12:22:14	296	[DEBUG]	Store product image relation
2023-10-13	12:22:14	296	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:14	296	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859788 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:14	296	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:14	296	[DEBUG]	Executed store
2023-10-13	12:22:14	296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859788','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:14	296	[DEBUG]	Checking manufacturer
2023-10-13	12:22:14	296	[DEBUG]	Load a row
2023-10-13	12:22:14	296	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:14	296	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:14	296	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:14	296	[DEBUG]	Executed store
2023-10-13	12:22:14	296	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:14	296	[DEBUG]	Manufacturer exists
2023-10-13	12:22:14	296	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:22:14	296	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:14	296	[DEBUG]	Executed store
2023-10-13	12:22:14	296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859788','171')
2023-10-13	12:22:14	296	[DEBUG]	Find the custom field ID
2023-10-13	12:22:14	296	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:22:14	296	[DEBUG]	No custom field ID found
2023-10-13	12:22:14	296	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:14	296	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:22:14	296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859788 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:14	296	[DEBUG]	Store custom available field
2023-10-13	12:22:14	296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859788,3,'0',1)
2023-10-13	12:22:14	296	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:14	296	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:22:14	296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859788 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:14	296	[DEBUG]	Store custom available field
2023-10-13	12:22:14	296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859788,6,'choisir la taille',3)
2023-10-13	12:22:14	296	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:14	296	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:22:14	296	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:22:14	296	[DEBUG]	Find the multi variant product entry
2023-10-13	12:22:14	296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859788 AND `virtuemart_custom_id` = 8
2023-10-13	12:22:14	296	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:22:14	296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859788,8,1)
2023-10-13	12:22:14	296	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:14	296	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859788\":[1859788,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859788
2023-10-13	12:22:14	296	[DEBUG]	Checking category
2023-10-13	12:22:14	296	[DEBUG]	Get the existing categories for the product
2023-10-13	12:22:14	296	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859788
2023-10-13	12:22:14	296	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:22:14	296	[DEBUG]	Executed store
2023-10-13	12:22:14	296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859788','7281')
2023-10-13	12:22:14	296	[DEBUG]	Delete leftover product categories
2023-10-13	12:22:14	296	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859788 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:22:14	296	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:14	296	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859788
2023-10-13	12:22:14	297	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:14	297	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:14	297	[DEBUG]	Use field value for field taille
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:14	297	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:14	297	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:14	297	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:14	297	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:14	297	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:14	297	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:14	297	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:14	297	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:14	297	[DEBUG]	Use field value for field published
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:14	297	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field override
2023-10-13	12:22:14	297	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:14	297	[DEBUG]	Use field value for field slug
2023-10-13	12:22:14	297	[DEBUG]	Process line 297
2023-10-13	12:22:14	297	[DEBUG]	Load a row
2023-10-13	12:22:14	297	[DEBUG]	Processing item: 4003692236807
2023-10-13	12:22:14	297	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:14	297	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:14	297	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6752_360'
2023-10-13	12:22:14	297	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:14	297	[DEBUG]	Processing product tax
2023-10-13	12:22:14	297	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:14	297	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:14	297	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:14	297	[DEBUG]	Query for Product
2023-10-13	12:22:14	297	[DEBUG]	Executed store
2023-10-13	12:22:14	297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859788','4003692236807','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:14	297	[DEBUG]	No parent found
2023-10-13	12:22:14	297	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859788 AND customfield_value = 'stockable'
2023-10-13	12:22:14	297	[DEBUG]	Check product language entry
2023-10-13	12:22:14	297	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859789
2023-10-13	12:22:14	297	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:14	297	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003692236807' AND `virtuemart_product_id` != 1859789
2023-10-13	12:22:14	297	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:14	297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859789, '4003692236807')
2023-10-13	12:22:14	297	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:14	297	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-alpina-snow-taille-54-58-black-matt-white-unitaire' AND `virtuemart_product_id` != 1859789
2023-10-13	12:22:14	297	[DEBUG]	Query for ProductLang
2023-10-13	12:22:14	297	[DEBUG]	Executed store
2023-10-13	12:22:14	297	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque ALPINA SNOW TAILLE 54-58 / BLACK MATT WHITE (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-alpina-snow-taille-54-58-black-matt-white-unitaire' WHERE `virtuemart_product_id` = '1859789'
2023-10-13	12:22:14	297	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32978_casque_alpina_snow_taille_54-58.jpg
2023-10-13	12:22:14	297	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:14	297	[DEBUG]	Process image file
2023-10-13	12:22:14	297	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:14	297	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:14	297	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32978_casque_alpina_snow_taille_54-58.jpg
2023-10-13	12:22:14	297	[DEBUG]	Full name target: bcprisme/32978_casque_alpina_snow_taille_54-58.jpg
2023-10-13	12:22:15	297	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:15	297	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32978_casque_alpina_snow_taille_54-58.jpg'
2023-10-13	12:22:15	297	[DEBUG]	Query for Media
2023-10-13	12:22:15	297	[DEBUG]	Executed store
2023-10-13	12:22:15	297	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32978_casque_alpina_snow_taille_54-58.jpg',`file_url_thumb`='bcprisme/32978_casque_alpina_snow_taille_54-58.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15771'
2023-10-13	12:22:15	297	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:15	297	[DEBUG]	Executed store
2023-10-13	12:22:15	297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859789','15771','1')
2023-10-13	12:22:15	297	[DEBUG]	Store product image relation
2023-10-13	12:22:15	297	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:15	297	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859789 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:15	297	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:15	297	[DEBUG]	Executed store
2023-10-13	12:22:15	297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859789','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:15	297	[DEBUG]	Checking manufacturer
2023-10-13	12:22:15	297	[DEBUG]	Load a row
2023-10-13	12:22:15	297	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:15	297	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:15	297	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:15	297	[DEBUG]	Executed store
2023-10-13	12:22:15	297	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:15	297	[DEBUG]	Manufacturer exists
2023-10-13	12:22:15	297	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:22:15	297	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:15	297	[DEBUG]	Executed store
2023-10-13	12:22:15	297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859789','171')
2023-10-13	12:22:15	297	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:15	297	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:15	297	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859789 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:15	297	[DEBUG]	Store custom available field
2023-10-13	12:22:15	297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859789,3,'',1)
2023-10-13	12:22:15	297	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:15	297	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:22:15	297	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859789 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:15	297	[DEBUG]	Store custom available field
2023-10-13	12:22:15	297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859789,6,'Unitaire',3)
2023-10-13	12:22:15	297	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:15	297	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:15	297	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859788
2023-10-13	12:22:15	297	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:15	297	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859788\":[1859788,8,1,\"choisir la taille\"],\"1859789\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859788
2023-10-13	12:22:15	297	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:15	297	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859789
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:15	298	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field taille
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field category_path
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:15	298	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:22:15	298	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:15	298	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field product_weight
2023-10-13	12:22:15	298	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:15	298	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:15	298	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field published
2023-10-13	12:22:15	298	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:15	298	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field custom_title
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field custom_param
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field override
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field public_price
2023-10-13	12:22:15	298	[DEBUG]	Use field value for field slug
2023-10-13	12:22:15	298	[DEBUG]	Process line 298
2023-10-13	12:22:15	298	[DEBUG]	Load a row
2023-10-13	12:22:15	298	[DEBUG]	Processing item: A_6753_361
2023-10-13	12:22:15	298	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:15	298	[DEBUG]	Processing product tax
2023-10-13	12:22:15	298	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:15	298	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:15	298	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:15	298	[DEBUG]	Query for Product
2023-10-13	12:22:15	298	[DEBUG]	Executed store
2023-10-13	12:22:15	298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6753_361','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:15	298	[DEBUG]	Check product language entry
2023-10-13	12:22:15	298	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859790
2023-10-13	12:22:15	298	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:15	298	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6753_361' AND `virtuemart_product_id` != 1859790
2023-10-13	12:22:15	298	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:15	298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859790, 'A_6753_361')
2023-10-13	12:22:15	298	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:15	298	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-alpina-snow-taille-58-62-black-matt-green' AND `virtuemart_product_id` != 1859790
2023-10-13	12:22:15	298	[DEBUG]	Query for ProductLang
2023-10-13	12:22:15	298	[DEBUG]	Executed store
2023-10-13	12:22:15	298	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : A9059.3.39',`product_name`='Alpina Casque ALPINA SNOW TAILLE 58-62 / BLACK MATT GREEN',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-alpina-snow-taille-58-62-black-matt-green' WHERE `virtuemart_product_id` = '1859790'
2023-10-13	12:22:15	298	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32979_casque_alpina_snow_taille_58-62.jpg
2023-10-13	12:22:15	298	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:15	298	[DEBUG]	Process image file
2023-10-13	12:22:15	298	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:15	298	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:15	298	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32979_casque_alpina_snow_taille_58-62.jpg
2023-10-13	12:22:15	298	[DEBUG]	Full name target: bcprisme/32979_casque_alpina_snow_taille_58-62.jpg
2023-10-13	12:22:16	298	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:16	298	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32979_casque_alpina_snow_taille_58-62.jpg'
2023-10-13	12:22:16	298	[DEBUG]	Query for Media
2023-10-13	12:22:16	298	[DEBUG]	Executed store
2023-10-13	12:22:16	298	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32979_casque_alpina_snow_taille_58-62.jpg',`file_url_thumb`='bcprisme/32979_casque_alpina_snow_taille_58-62.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15772'
2023-10-13	12:22:17	298	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:17	298	[DEBUG]	Executed store
2023-10-13	12:22:17	298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859790','15772','1')
2023-10-13	12:22:17	298	[DEBUG]	Store product image relation
2023-10-13	12:22:17	298	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:17	298	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859790 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:17	298	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:17	298	[DEBUG]	Executed store
2023-10-13	12:22:17	298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859790','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:17	298	[DEBUG]	Checking manufacturer
2023-10-13	12:22:17	298	[DEBUG]	Load a row
2023-10-13	12:22:17	298	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:17	298	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:17	298	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:17	298	[DEBUG]	Executed store
2023-10-13	12:22:17	298	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:17	298	[DEBUG]	Manufacturer exists
2023-10-13	12:22:17	298	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:22:17	298	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:17	298	[DEBUG]	Executed store
2023-10-13	12:22:17	298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859790','171')
2023-10-13	12:22:17	298	[DEBUG]	Find the custom field ID
2023-10-13	12:22:17	298	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:22:17	298	[DEBUG]	No custom field ID found
2023-10-13	12:22:17	298	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:17	298	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:22:17	298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859790 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:17	298	[DEBUG]	Store custom available field
2023-10-13	12:22:17	298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859790,3,'0',1)
2023-10-13	12:22:17	298	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:17	298	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:22:17	298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859790 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:17	298	[DEBUG]	Store custom available field
2023-10-13	12:22:17	298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859790,6,'choisir la taille',3)
2023-10-13	12:22:17	298	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:17	298	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:22:17	298	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:22:17	298	[DEBUG]	Find the multi variant product entry
2023-10-13	12:22:17	298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859790 AND `virtuemart_custom_id` = 8
2023-10-13	12:22:17	298	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:22:17	298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859790,8,1)
2023-10-13	12:22:17	298	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:17	298	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859790\":[1859790,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859790
2023-10-13	12:22:17	298	[DEBUG]	Checking category
2023-10-13	12:22:17	298	[DEBUG]	Get the existing categories for the product
2023-10-13	12:22:17	298	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859790
2023-10-13	12:22:17	298	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:22:17	298	[DEBUG]	Executed store
2023-10-13	12:22:17	298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859790','7281')
2023-10-13	12:22:17	298	[DEBUG]	Delete leftover product categories
2023-10-13	12:22:17	298	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859790 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:22:17	298	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:17	298	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859790
2023-10-13	12:22:17	299	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:17	299	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:17	299	[DEBUG]	Use field value for field taille
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:17	299	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:17	299	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:17	299	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:17	299	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:17	299	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:17	299	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:17	299	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:17	299	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:17	299	[DEBUG]	Use field value for field published
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:17	299	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field override
2023-10-13	12:22:17	299	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:17	299	[DEBUG]	Use field value for field slug
2023-10-13	12:22:17	299	[DEBUG]	Process line 299
2023-10-13	12:22:17	299	[DEBUG]	Load a row
2023-10-13	12:22:17	299	[DEBUG]	Processing item: 1000000109047
2023-10-13	12:22:17	299	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:17	299	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:17	299	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6753_361'
2023-10-13	12:22:17	299	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:17	299	[DEBUG]	Processing product tax
2023-10-13	12:22:17	299	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:17	299	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:17	299	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:17	299	[DEBUG]	Query for Product
2023-10-13	12:22:17	299	[DEBUG]	Executed store
2023-10-13	12:22:17	299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859790','1000000109047','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:17	299	[DEBUG]	No parent found
2023-10-13	12:22:17	299	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859790 AND customfield_value = 'stockable'
2023-10-13	12:22:17	299	[DEBUG]	Check product language entry
2023-10-13	12:22:17	299	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859791
2023-10-13	12:22:17	299	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:17	299	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000109047' AND `virtuemart_product_id` != 1859791
2023-10-13	12:22:17	299	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:17	299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859791, '1000000109047')
2023-10-13	12:22:17	299	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:17	299	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-alpina-snow-taille-58-62-black-matt-green-unitaire' AND `virtuemart_product_id` != 1859791
2023-10-13	12:22:17	299	[DEBUG]	Query for ProductLang
2023-10-13	12:22:17	299	[DEBUG]	Executed store
2023-10-13	12:22:17	299	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque ALPINA SNOW TAILLE 58-62 / BLACK MATT GREEN (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-alpina-snow-taille-58-62-black-matt-green-unitaire' WHERE `virtuemart_product_id` = '1859791'
2023-10-13	12:22:17	299	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32979_casque_alpina_snow_taille_58-62.jpg
2023-10-13	12:22:17	299	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:17	299	[DEBUG]	Process image file
2023-10-13	12:22:17	299	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:17	299	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:17	299	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32979_casque_alpina_snow_taille_58-62.jpg
2023-10-13	12:22:17	299	[DEBUG]	Full name target: bcprisme/32979_casque_alpina_snow_taille_58-62.jpg
2023-10-13	12:22:18	299	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:18	299	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32979_casque_alpina_snow_taille_58-62.jpg'
2023-10-13	12:22:18	299	[DEBUG]	Query for Media
2023-10-13	12:22:18	299	[DEBUG]	Executed store
2023-10-13	12:22:18	299	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32979_casque_alpina_snow_taille_58-62.jpg',`file_url_thumb`='bcprisme/32979_casque_alpina_snow_taille_58-62.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15772'
2023-10-13	12:22:18	299	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:18	299	[DEBUG]	Executed store
2023-10-13	12:22:18	299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859791','15772','1')
2023-10-13	12:22:18	299	[DEBUG]	Store product image relation
2023-10-13	12:22:18	299	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:18	299	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859791 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:18	299	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:18	299	[DEBUG]	Executed store
2023-10-13	12:22:18	299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859791','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:18	299	[DEBUG]	Checking manufacturer
2023-10-13	12:22:18	299	[DEBUG]	Load a row
2023-10-13	12:22:18	299	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:18	299	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:18	299	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:18	299	[DEBUG]	Executed store
2023-10-13	12:22:18	299	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:18	299	[DEBUG]	Manufacturer exists
2023-10-13	12:22:18	299	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:22:18	299	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:18	299	[DEBUG]	Executed store
2023-10-13	12:22:18	299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859791','171')
2023-10-13	12:22:18	299	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:18	299	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:18	299	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859791 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:18	299	[DEBUG]	Store custom available field
2023-10-13	12:22:18	299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859791,3,'',1)
2023-10-13	12:22:18	299	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:18	299	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:22:18	299	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859791 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:18	299	[DEBUG]	Store custom available field
2023-10-13	12:22:18	299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859791,6,'Unitaire',3)
2023-10-13	12:22:18	299	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:18	299	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:18	299	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859790
2023-10-13	12:22:18	299	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:18	299	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859790\":[1859790,8,1,\"choisir la taille\"],\"1859791\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859790
2023-10-13	12:22:18	299	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:18	299	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859791
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:18	300	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field taille
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field category_path
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:18	300	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:22:18	300	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:18	300	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field product_weight
2023-10-13	12:22:18	300	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:18	300	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:18	300	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field published
2023-10-13	12:22:18	300	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:18	300	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field custom_title
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field custom_param
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field override
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field public_price
2023-10-13	12:22:18	300	[DEBUG]	Use field value for field slug
2023-10-13	12:22:18	300	[DEBUG]	Process line 300
2023-10-13	12:22:18	300	[DEBUG]	Load a row
2023-10-13	12:22:18	300	[DEBUG]	Processing item: A_6916_141
2023-10-13	12:22:18	300	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:18	300	[DEBUG]	Processing product tax
2023-10-13	12:22:18	300	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:18	300	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:18	300	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:18	300	[DEBUG]	Query for Product
2023-10-13	12:22:18	300	[DEBUG]	Executed store
2023-10-13	12:22:18	300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6916_141','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0')
2023-10-13	12:22:18	300	[DEBUG]	Check product language entry
2023-10-13	12:22:18	300	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859792
2023-10-13	12:22:18	300	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:18	300	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6916_141' AND `virtuemart_product_id` != 1859792
2023-10-13	12:22:18	300	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:18	300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859792, 'A_6916_141')
2023-10-13	12:22:18	300	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:18	300	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-xc-noir-blanc' AND `virtuemart_product_id` != 1859792
2023-10-13	12:22:18	300	[DEBUG]	Query for ProductLang
2023-10-13	12:22:18	300	[DEBUG]	Executed store
2023-10-13	12:22:18	300	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque VTT MSC XC Taille S/M 55-58 cm Taille M/L 58-61 cm - Casque Inmold - Protection avant anti-insecte - Visière amovible - Mousse interchangeable<br>N° art fourn : HX100',`product_name`='MSC Casque MSC VTT XC   / Noir-Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-xc-noir-blanc' WHERE `virtuemart_product_id` = '1859792'
2023-10-13	12:22:18	300	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:18	300	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:18	300	[DEBUG]	Process image file
2023-10-13	12:22:18	300	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:18	300	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:18	300	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:18	300	[DEBUG]	Full name target: bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:19	300	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:19	300	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg'
2023-10-13	12:22:19	300	[DEBUG]	Query for Media
2023-10-13	12:22:19	300	[DEBUG]	Executed store
2023-10-13	12:22:19	300	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_url_thumb`='bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15946'
2023-10-13	12:22:19	300	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:19	300	[DEBUG]	Executed store
2023-10-13	12:22:19	300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859792','15946','1')
2023-10-13	12:22:19	300	[DEBUG]	Store product image relation
2023-10-13	12:22:19	300	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:19	300	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859792 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:19	300	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:19	300	[DEBUG]	Executed store
2023-10-13	12:22:19	300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859792','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:20:35','1593','2023-10-13 12:20:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:19	300	[DEBUG]	Checking manufacturer
2023-10-13	12:22:19	300	[DEBUG]	Load a row
2023-10-13	12:22:19	300	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:19	300	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:19	300	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:19	300	[DEBUG]	Executed store
2023-10-13	12:22:19	300	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:19	300	[DEBUG]	Manufacturer exists
2023-10-13	12:22:19	300	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:19	300	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:19	300	[DEBUG]	Executed store
2023-10-13	12:22:19	300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859792','32')
2023-10-13	12:22:19	300	[DEBUG]	Find the custom field ID
2023-10-13	12:22:19	300	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:22:19	300	[DEBUG]	No custom field ID found
2023-10-13	12:22:19	300	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:19	300	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:22:19	300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859792 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:19	300	[DEBUG]	Store custom available field
2023-10-13	12:22:19	300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859792,3,'69.7058333333334',1)
2023-10-13	12:22:19	300	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:19	300	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:22:19	300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859792 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:19	300	[DEBUG]	Store custom available field
2023-10-13	12:22:19	300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859792,6,'choisir la taille',3)
2023-10-13	12:22:19	300	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:19	300	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:22:19	300	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:22:19	300	[DEBUG]	Find the multi variant product entry
2023-10-13	12:22:19	300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859792 AND `virtuemart_custom_id` = 8
2023-10-13	12:22:19	300	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:22:19	300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859792,8,1)
2023-10-13	12:22:19	300	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:19	300	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859792\":[1859792,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859792
2023-10-13	12:22:19	300	[DEBUG]	Checking category
2023-10-13	12:22:19	300	[DEBUG]	Get the existing categories for the product
2023-10-13	12:22:19	300	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859792
2023-10-13	12:22:19	300	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:22:19	300	[DEBUG]	Executed store
2023-10-13	12:22:19	300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859792','7281')
2023-10-13	12:22:19	300	[DEBUG]	Delete leftover product categories
2023-10-13	12:22:19	300	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859792 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:22:19	300	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:19	300	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859792
2023-10-13	12:22:40	300	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:22:40	300	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:22:40	300	[DEBUG]	Load the fields to process
2023-10-13	12:22:40	300	[DEBUG]	Setup field: product_sku
2023-10-13	12:22:40	300	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:22:40	300	[DEBUG]	Setup field: taille
2023-10-13	12:22:40	300	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:22:40	300	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:22:40	300	[DEBUG]	Setup field: product_name
2023-10-13	12:22:40	300	[DEBUG]	Setup field: category_path
2023-10-13	12:22:40	300	[DEBUG]	Setup field: product_price
2023-10-13	12:22:40	300	[DEBUG]	Setup field: product_override_price
2023-10-13	12:22:40	300	[DEBUG]	Setup field: product_tax
2023-10-13	12:22:40	300	[DEBUG]	Setup field: file_url
2023-10-13	12:22:40	300	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:22:40	300	[DEBUG]	Setup field: product_desc
2023-10-13	12:22:40	300	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:22:40	300	[DEBUG]	Setup field: product_availability
2023-10-13	12:22:40	300	[DEBUG]	Setup field: product_weight
2023-10-13	12:22:40	300	[DEBUG]	Setup field: product_unit
2023-10-13	12:22:40	300	[DEBUG]	Setup field: related_products
2023-10-13	12:22:40	300	[DEBUG]	Setup field: product_special
2023-10-13	12:22:40	300	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:22:40	300	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:22:40	300	[DEBUG]	Setup field: published
2023-10-13	12:22:40	300	[DEBUG]	Setup field: metadesc
2023-10-13	12:22:40	300	[DEBUG]	Setup field: metakey
2023-10-13	12:22:40	300	[DEBUG]	Setup field: custom_title
2023-10-13	12:22:40	300	[DEBUG]	Setup field: custom_value
2023-10-13	12:22:40	300	[DEBUG]	Setup field: custom_param
2023-10-13	12:22:40	300	[DEBUG]	Setup field: override
2023-10-13	12:22:40	300	[DEBUG]	Setup field: public_price
2023-10-13	12:22:40	300	[DEBUG]	Setup field: slug
2023-10-13	12:22:40	300	[DEBUG]	Use the file for configuration
2023-10-13	12:22:40	300	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:22:40	300	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:22:40	300	[DEBUG]	Load the custom fields
2023-10-13	12:22:40	300	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:22:40	300	[DEBUG]	Load stockable custom fields
2023-10-13	12:22:40	300	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:22:40	300	[DEBUG]	Load custom fields for all
2023-10-13	12:22:40	300	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:22:40	301	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:40	301	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:40	301	[DEBUG]	Use field value for field taille
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:40	301	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:40	301	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:40	301	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:40	301	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:40	301	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:40	301	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:40	301	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:40	301	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:40	301	[DEBUG]	Use field value for field published
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:40	301	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field override
2023-10-13	12:22:40	301	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:40	301	[DEBUG]	Use field value for field slug
2023-10-13	12:22:40	301	[DEBUG]	Process line 301
2023-10-13	12:22:40	301	[DEBUG]	Check if the vendor exists
2023-10-13	12:22:40	301	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '8435466291891'
2023-10-13	12:22:40	301	[DEBUG]	Load a row
2023-10-13	12:22:40	301	[DEBUG]	Processing item: 8435466291891
2023-10-13	12:22:40	301	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:40	301	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:40	301	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6916_141'
2023-10-13	12:22:40	301	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:40	301	[DEBUG]	Processing product tax
2023-10-13	12:22:40	301	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:40	301	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:40	301	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:40	301	[DEBUG]	Query for Product
2023-10-13	12:22:40	301	[DEBUG]	Executed store
2023-10-13	12:22:40	301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859792','8435466291891','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:40	301	[DEBUG]	No parent found
2023-10-13	12:22:40	301	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859792 AND customfield_value = 'stockable'
2023-10-13	12:22:40	301	[DEBUG]	Check product language entry
2023-10-13	12:22:40	301	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859793
2023-10-13	12:22:40	301	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:40	301	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291891' AND `virtuemart_product_id` != 1859793
2023-10-13	12:22:40	301	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:40	301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859793, '8435466291891')
2023-10-13	12:22:40	301	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:40	301	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-xc-noir-blanc-s-m' AND `virtuemart_product_id` != 1859793
2023-10-13	12:22:40	301	[DEBUG]	Query for ProductLang
2023-10-13	12:22:40	301	[DEBUG]	Executed store
2023-10-13	12:22:40	301	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC VTT XC   / Noir-Blanc (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-xc-noir-blanc-s-m' WHERE `virtuemart_product_id` = '1859793'
2023-10-13	12:22:40	301	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:40	301	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:40	301	[DEBUG]	Process image file
2023-10-13	12:22:40	301	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:40	301	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:40	301	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:40	301	[DEBUG]	Full name target: bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:41	301	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:41	301	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg'
2023-10-13	12:22:41	301	[DEBUG]	Query for Media
2023-10-13	12:22:41	301	[DEBUG]	Executed store
2023-10-13	12:22:41	301	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_url_thumb`='bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15946'
2023-10-13	12:22:41	301	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:41	301	[DEBUG]	Executed store
2023-10-13	12:22:41	301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859793','15946','1')
2023-10-13	12:22:41	301	[DEBUG]	Store product image relation
2023-10-13	12:22:41	301	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:41	301	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859793 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:41	301	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:41	301	[DEBUG]	Executed store
2023-10-13	12:22:41	301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859793','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:41	301	[DEBUG]	Checking manufacturer
2023-10-13	12:22:41	301	[DEBUG]	Load a row
2023-10-13	12:22:41	301	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:41	301	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:41	301	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:41	301	[DEBUG]	Executed store
2023-10-13	12:22:41	301	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:41	301	[DEBUG]	Manufacturer exists
2023-10-13	12:22:41	301	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:41	301	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:41	301	[DEBUG]	Executed store
2023-10-13	12:22:41	301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859793','32')
2023-10-13	12:22:41	301	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:41	301	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:41	301	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859793 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:41	301	[DEBUG]	Store custom available field
2023-10-13	12:22:41	301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859793,3,'',1)
2023-10-13	12:22:41	301	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:41	301	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:22:41	301	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859793 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:41	301	[DEBUG]	Store custom available field
2023-10-13	12:22:41	301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859793,6,'S/M',3)
2023-10-13	12:22:41	301	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:41	301	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:41	301	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859792
2023-10-13	12:22:41	301	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:41	301	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859792\":[1859792,8,1,\"choisir la taille\"],\"1859793\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859792
2023-10-13	12:22:41	301	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:41	301	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859793
2023-10-13	12:22:41	302	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:41	302	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:41	302	[DEBUG]	Use field value for field taille
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:41	302	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:41	302	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:41	302	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:41	302	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:41	302	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:41	302	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:41	302	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:41	302	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:41	302	[DEBUG]	Use field value for field published
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:41	302	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field override
2023-10-13	12:22:41	302	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:41	302	[DEBUG]	Use field value for field slug
2023-10-13	12:22:41	302	[DEBUG]	Process line 302
2023-10-13	12:22:41	302	[DEBUG]	Load a row
2023-10-13	12:22:41	302	[DEBUG]	Processing item: 8435466291907
2023-10-13	12:22:41	302	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:41	302	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:41	302	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6916_141'
2023-10-13	12:22:41	302	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:41	302	[DEBUG]	Processing product tax
2023-10-13	12:22:41	302	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:41	302	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:41	302	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:41	302	[DEBUG]	Query for Product
2023-10-13	12:22:41	302	[DEBUG]	Executed store
2023-10-13	12:22:41	302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859792','8435466291907','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:41	302	[DEBUG]	No parent found
2023-10-13	12:22:41	302	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859792 AND customfield_value = 'stockable'
2023-10-13	12:22:41	302	[DEBUG]	Check product language entry
2023-10-13	12:22:41	302	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859794
2023-10-13	12:22:41	302	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:41	302	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291907' AND `virtuemart_product_id` != 1859794
2023-10-13	12:22:41	302	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:41	302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859794, '8435466291907')
2023-10-13	12:22:41	302	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:41	302	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-xc-noir-blanc-m-l' AND `virtuemart_product_id` != 1859794
2023-10-13	12:22:41	302	[DEBUG]	Query for ProductLang
2023-10-13	12:22:41	302	[DEBUG]	Executed store
2023-10-13	12:22:41	302	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC VTT XC   / Noir-Blanc (M/L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-xc-noir-blanc-m-l' WHERE `virtuemart_product_id` = '1859794'
2023-10-13	12:22:41	302	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:41	302	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:41	302	[DEBUG]	Process image file
2023-10-13	12:22:41	302	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:41	302	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:41	302	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:41	302	[DEBUG]	Full name target: bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:42	302	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:42	302	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg'
2023-10-13	12:22:42	302	[DEBUG]	Query for Media
2023-10-13	12:22:42	302	[DEBUG]	Executed store
2023-10-13	12:22:42	302	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_url_thumb`='bcprisme/34037_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15946'
2023-10-13	12:22:42	302	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:42	302	[DEBUG]	Executed store
2023-10-13	12:22:42	302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859794','15946','1')
2023-10-13	12:22:42	302	[DEBUG]	Store product image relation
2023-10-13	12:22:42	302	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:42	302	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859794 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:42	302	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:42	302	[DEBUG]	Executed store
2023-10-13	12:22:42	302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859794','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:42	302	[DEBUG]	Checking manufacturer
2023-10-13	12:22:42	302	[DEBUG]	Load a row
2023-10-13	12:22:42	302	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:42	302	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:42	302	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:42	302	[DEBUG]	Executed store
2023-10-13	12:22:42	302	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:42	302	[DEBUG]	Manufacturer exists
2023-10-13	12:22:42	302	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:42	302	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:42	302	[DEBUG]	Executed store
2023-10-13	12:22:42	302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859794','32')
2023-10-13	12:22:42	302	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:42	302	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:42	302	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859794 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:42	302	[DEBUG]	Store custom available field
2023-10-13	12:22:42	302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859794,3,'',1)
2023-10-13	12:22:42	302	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:42	302	[DEBUG]	Get existing row with customfield value M/L
2023-10-13	12:22:42	302	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859794 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:42	302	[DEBUG]	Store custom available field
2023-10-13	12:22:42	302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859794,6,'M/L',3)
2023-10-13	12:22:42	302	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:42	302	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:42	302	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859792
2023-10-13	12:22:42	302	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:42	302	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nM\\/L\"}]|clabels=0|options={\"1859792\":[1859792,8,1,\"choisir la taille\"],\"1859793\":[\"S\\/M\"],\"1859794\":[\"M\\/L\"]}|' WHERE `virtuemart_product_id` = 1859792
2023-10-13	12:22:42	302	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:42	302	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859794
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:42	303	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field taille
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field category_path
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:42	303	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:22:42	303	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:42	303	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field product_weight
2023-10-13	12:22:42	303	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:42	303	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:42	303	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field published
2023-10-13	12:22:42	303	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:42	303	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field custom_title
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field custom_param
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field override
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field public_price
2023-10-13	12:22:42	303	[DEBUG]	Use field value for field slug
2023-10-13	12:22:42	303	[DEBUG]	Process line 303
2023-10-13	12:22:42	303	[DEBUG]	Load a row
2023-10-13	12:22:42	303	[DEBUG]	Processing item: A_6916_375
2023-10-13	12:22:42	303	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:42	303	[DEBUG]	Processing product tax
2023-10-13	12:22:42	303	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:42	303	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:42	303	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:42	303	[DEBUG]	Query for Product
2023-10-13	12:22:42	303	[DEBUG]	Executed store
2023-10-13	12:22:42	303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6916_375','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:42	303	[DEBUG]	Check product language entry
2023-10-13	12:22:42	303	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859795
2023-10-13	12:22:42	303	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:42	303	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6916_375' AND `virtuemart_product_id` != 1859795
2023-10-13	12:22:42	303	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:42	303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859795, 'A_6916_375')
2023-10-13	12:22:42	303	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:42	303	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-xc-noir-vert' AND `virtuemart_product_id` != 1859795
2023-10-13	12:22:42	303	[DEBUG]	Query for ProductLang
2023-10-13	12:22:42	303	[DEBUG]	Executed store
2023-10-13	12:22:42	303	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque VTT MSC XC Taille S/M 55-58 cm Taille M/L 58-61 cm - Casque Inmold - Protection avant anti-insecte - Visière amovible - Mousse interchangeable<br>N° art fourn : HX100',`product_name`='MSC Casque MSC VTT XC   / Noir-Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-xc-noir-vert' WHERE `virtuemart_product_id` = '1859795'
2023-10-13	12:22:42	303	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:42	303	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:42	303	[DEBUG]	Process image file
2023-10-13	12:22:42	303	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:42	303	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:42	303	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:42	303	[DEBUG]	Full name target: bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:43	303	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:43	303	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg'
2023-10-13	12:22:43	303	[DEBUG]	Query for Media
2023-10-13	12:22:43	303	[DEBUG]	Executed store
2023-10-13	12:22:43	303	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_url_thumb`='bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15949'
2023-10-13	12:22:43	303	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:43	303	[DEBUG]	Executed store
2023-10-13	12:22:43	303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859795','15949','1')
2023-10-13	12:22:43	303	[DEBUG]	Store product image relation
2023-10-13	12:22:43	303	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:43	303	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859795 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:43	303	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:43	303	[DEBUG]	Executed store
2023-10-13	12:22:43	303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859795','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:43	303	[DEBUG]	Checking manufacturer
2023-10-13	12:22:43	303	[DEBUG]	Load a row
2023-10-13	12:22:43	303	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:43	303	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:43	303	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:43	303	[DEBUG]	Executed store
2023-10-13	12:22:43	303	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:43	303	[DEBUG]	Manufacturer exists
2023-10-13	12:22:43	303	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:43	303	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:43	303	[DEBUG]	Executed store
2023-10-13	12:22:43	303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859795','32')
2023-10-13	12:22:43	303	[DEBUG]	Find the custom field ID
2023-10-13	12:22:43	303	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:22:43	303	[DEBUG]	No custom field ID found
2023-10-13	12:22:43	303	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:43	303	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:22:43	303	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859795 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:43	303	[DEBUG]	Store custom available field
2023-10-13	12:22:43	303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859795,3,'69.7058333333334',1)
2023-10-13	12:22:43	303	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:43	303	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:22:43	303	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859795 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:43	303	[DEBUG]	Store custom available field
2023-10-13	12:22:43	303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859795,6,'choisir la taille',3)
2023-10-13	12:22:43	303	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:43	303	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:22:43	303	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:22:43	303	[DEBUG]	Find the multi variant product entry
2023-10-13	12:22:43	303	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859795 AND `virtuemart_custom_id` = 8
2023-10-13	12:22:43	303	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:22:43	303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859795,8,1)
2023-10-13	12:22:43	303	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:43	303	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859795\":[1859795,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859795
2023-10-13	12:22:43	303	[DEBUG]	Checking category
2023-10-13	12:22:43	303	[DEBUG]	Check if category path exists: CASQUES - HELME
2023-10-13	12:22:43	303	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASQUES - HELME' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:22:43	303	[DEBUG]	Check if category path exists: CASQUES - HELME
2023-10-13	12:22:43	303	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASQUES - HELME' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7279
2023-10-13	12:22:43	303	[DEBUG]	Get the existing categories for the product
2023-10-13	12:22:43	303	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859795
2023-10-13	12:22:43	303	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:22:43	303	[DEBUG]	Executed store
2023-10-13	12:22:43	303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859795','7281')
2023-10-13	12:22:43	303	[DEBUG]	Delete leftover product categories
2023-10-13	12:22:43	303	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859795 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:22:43	303	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:43	303	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859795
2023-10-13	12:22:43	304	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:43	304	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:43	304	[DEBUG]	Use field value for field taille
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:43	304	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:43	304	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:43	304	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:43	304	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:43	304	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:43	304	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:43	304	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:43	304	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:43	304	[DEBUG]	Use field value for field published
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:43	304	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field override
2023-10-13	12:22:43	304	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:43	304	[DEBUG]	Use field value for field slug
2023-10-13	12:22:43	304	[DEBUG]	Process line 304
2023-10-13	12:22:43	304	[DEBUG]	Load a row
2023-10-13	12:22:43	304	[DEBUG]	Processing item: 8435466291952
2023-10-13	12:22:43	304	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:43	304	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:43	304	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6916_375'
2023-10-13	12:22:43	304	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:43	304	[DEBUG]	Processing product tax
2023-10-13	12:22:43	304	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:43	304	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:43	304	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:43	304	[DEBUG]	Query for Product
2023-10-13	12:22:43	304	[DEBUG]	Executed store
2023-10-13	12:22:43	304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859795','8435466291952','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:43	304	[DEBUG]	No parent found
2023-10-13	12:22:43	304	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859795 AND customfield_value = 'stockable'
2023-10-13	12:22:43	304	[DEBUG]	Check product language entry
2023-10-13	12:22:43	304	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859796
2023-10-13	12:22:43	304	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:43	304	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291952' AND `virtuemart_product_id` != 1859796
2023-10-13	12:22:43	304	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:43	304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859796, '8435466291952')
2023-10-13	12:22:43	304	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:43	304	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-xc-noir-vert-s-m' AND `virtuemart_product_id` != 1859796
2023-10-13	12:22:43	304	[DEBUG]	Query for ProductLang
2023-10-13	12:22:43	304	[DEBUG]	Executed store
2023-10-13	12:22:43	304	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC VTT XC   / Noir-Vert (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-xc-noir-vert-s-m' WHERE `virtuemart_product_id` = '1859796'
2023-10-13	12:22:43	304	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:43	304	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:43	304	[DEBUG]	Process image file
2023-10-13	12:22:43	304	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:43	304	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:43	304	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:43	304	[DEBUG]	Full name target: bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:44	304	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:44	304	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg'
2023-10-13	12:22:44	304	[DEBUG]	Query for Media
2023-10-13	12:22:44	304	[DEBUG]	Executed store
2023-10-13	12:22:44	304	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_url_thumb`='bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15949'
2023-10-13	12:22:44	304	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:44	304	[DEBUG]	Executed store
2023-10-13	12:22:44	304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859796','15949','1')
2023-10-13	12:22:44	304	[DEBUG]	Store product image relation
2023-10-13	12:22:44	304	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:44	304	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859796 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:44	304	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:44	304	[DEBUG]	Executed store
2023-10-13	12:22:44	304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859796','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:44	304	[DEBUG]	Checking manufacturer
2023-10-13	12:22:44	304	[DEBUG]	Load a row
2023-10-13	12:22:44	304	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:44	304	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:44	304	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:44	304	[DEBUG]	Executed store
2023-10-13	12:22:44	304	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:44	304	[DEBUG]	Manufacturer exists
2023-10-13	12:22:44	304	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:44	304	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:44	304	[DEBUG]	Executed store
2023-10-13	12:22:44	304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859796','32')
2023-10-13	12:22:44	304	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:44	304	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:44	304	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859796 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:44	304	[DEBUG]	Store custom available field
2023-10-13	12:22:44	304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859796,3,'',1)
2023-10-13	12:22:44	304	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:44	304	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:22:44	304	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859796 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:44	304	[DEBUG]	Store custom available field
2023-10-13	12:22:44	304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859796,6,'S/M',3)
2023-10-13	12:22:44	304	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:44	304	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:44	304	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859795
2023-10-13	12:22:44	304	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:44	304	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859795\":[1859795,8,1,\"choisir la taille\"],\"1859796\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859795
2023-10-13	12:22:44	304	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:44	304	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859796
2023-10-13	12:22:44	305	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:44	305	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:44	305	[DEBUG]	Use field value for field taille
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:44	305	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:44	305	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:44	305	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:44	305	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:44	305	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:44	305	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:44	305	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:44	305	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:44	305	[DEBUG]	Use field value for field published
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:44	305	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field override
2023-10-13	12:22:44	305	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:44	305	[DEBUG]	Use field value for field slug
2023-10-13	12:22:44	305	[DEBUG]	Process line 305
2023-10-13	12:22:44	305	[DEBUG]	Load a row
2023-10-13	12:22:44	305	[DEBUG]	Processing item: 1000000112986
2023-10-13	12:22:44	305	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:44	305	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:44	305	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6916_375'
2023-10-13	12:22:44	305	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:44	305	[DEBUG]	Processing product tax
2023-10-13	12:22:44	305	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:44	305	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:44	305	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:44	305	[DEBUG]	Query for Product
2023-10-13	12:22:44	305	[DEBUG]	Executed store
2023-10-13	12:22:44	305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859795','1000000112986','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:44	305	[DEBUG]	No parent found
2023-10-13	12:22:44	305	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859795 AND customfield_value = 'stockable'
2023-10-13	12:22:44	305	[DEBUG]	Check product language entry
2023-10-13	12:22:44	305	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859797
2023-10-13	12:22:44	305	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:44	305	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000112986' AND `virtuemart_product_id` != 1859797
2023-10-13	12:22:44	305	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:44	305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859797, '1000000112986')
2023-10-13	12:22:44	305	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:44	305	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-xc-noir-vert-m-l' AND `virtuemart_product_id` != 1859797
2023-10-13	12:22:44	305	[DEBUG]	Query for ProductLang
2023-10-13	12:22:44	305	[DEBUG]	Executed store
2023-10-13	12:22:44	305	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC VTT XC   / Noir-Vert (M/L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-xc-noir-vert-m-l' WHERE `virtuemart_product_id` = '1859797'
2023-10-13	12:22:44	305	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:44	305	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:44	305	[DEBUG]	Process image file
2023-10-13	12:22:44	305	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:44	305	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:44	305	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:44	305	[DEBUG]	Full name target: bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:45	305	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:45	305	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg'
2023-10-13	12:22:45	305	[DEBUG]	Query for Media
2023-10-13	12:22:45	305	[DEBUG]	Executed store
2023-10-13	12:22:45	305	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_url_thumb`='bcprisme/34042_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15949'
2023-10-13	12:22:45	305	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:45	305	[DEBUG]	Executed store
2023-10-13	12:22:45	305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859797','15949','1')
2023-10-13	12:22:45	305	[DEBUG]	Store product image relation
2023-10-13	12:22:45	305	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:45	305	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859797 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:45	305	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:45	305	[DEBUG]	Executed store
2023-10-13	12:22:45	305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859797','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:45	305	[DEBUG]	Checking manufacturer
2023-10-13	12:22:45	305	[DEBUG]	Load a row
2023-10-13	12:22:45	305	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:45	305	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:45	305	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:45	305	[DEBUG]	Executed store
2023-10-13	12:22:45	305	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:45	305	[DEBUG]	Manufacturer exists
2023-10-13	12:22:45	305	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:45	305	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:45	305	[DEBUG]	Executed store
2023-10-13	12:22:45	305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859797','32')
2023-10-13	12:22:45	305	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:45	305	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:45	305	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859797 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:45	305	[DEBUG]	Store custom available field
2023-10-13	12:22:45	305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859797,3,'',1)
2023-10-13	12:22:45	305	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:45	305	[DEBUG]	Get existing row with customfield value M/L
2023-10-13	12:22:45	305	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859797 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:45	305	[DEBUG]	Store custom available field
2023-10-13	12:22:45	305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859797,6,'M/L',3)
2023-10-13	12:22:45	305	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:45	305	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:45	305	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859795
2023-10-13	12:22:45	305	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:45	305	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nM\\/L\"}]|clabels=0|options={\"1859795\":[1859795,8,1,\"choisir la taille\"],\"1859796\":[\"S\\/M\"],\"1859797\":[\"M\\/L\"]}|' WHERE `virtuemart_product_id` = 1859795
2023-10-13	12:22:45	305	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:45	305	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859797
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:45	306	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field taille
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field category_path
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:45	306	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:22:45	306	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:45	306	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field product_weight
2023-10-13	12:22:45	306	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:45	306	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:45	306	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field published
2023-10-13	12:22:45	306	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:45	306	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field custom_title
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field custom_param
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field override
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field public_price
2023-10-13	12:22:45	306	[DEBUG]	Use field value for field slug
2023-10-13	12:22:45	306	[DEBUG]	Process line 306
2023-10-13	12:22:45	306	[DEBUG]	Load a row
2023-10-13	12:22:45	306	[DEBUG]	Processing item: A_6916_377
2023-10-13	12:22:45	306	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:45	306	[DEBUG]	Processing product tax
2023-10-13	12:22:45	306	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:45	306	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:45	306	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:45	306	[DEBUG]	Query for Product
2023-10-13	12:22:45	306	[DEBUG]	Executed store
2023-10-13	12:22:45	306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6916_377','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:45	306	[DEBUG]	Check product language entry
2023-10-13	12:22:45	306	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859798
2023-10-13	12:22:45	306	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:45	306	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6916_377' AND `virtuemart_product_id` != 1859798
2023-10-13	12:22:45	306	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:45	306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859798, 'A_6916_377')
2023-10-13	12:22:45	306	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:45	306	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-xc-noir-jaune' AND `virtuemart_product_id` != 1859798
2023-10-13	12:22:45	306	[DEBUG]	Query for ProductLang
2023-10-13	12:22:45	306	[DEBUG]	Executed store
2023-10-13	12:22:45	306	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque VTT MSC XC Taille S/M 55-58 cm Taille M/L 58-61 cm - Casque Inmold - Protection avant anti-insecte - Visière amovible - Mousse interchangeable<br>N° art fourn : HX100',`product_name`='MSC Casque MSC VTT XC   / Noir-Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-xc-noir-jaune' WHERE `virtuemart_product_id` = '1859798'
2023-10-13	12:22:45	306	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:45	306	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:45	306	[DEBUG]	Process image file
2023-10-13	12:22:45	306	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:45	306	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:45	306	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:45	306	[DEBUG]	Full name target: bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:45	306	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:45	306	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg'
2023-10-13	12:22:45	306	[DEBUG]	Query for Media
2023-10-13	12:22:45	306	[DEBUG]	Executed store
2023-10-13	12:22:45	306	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_url_thumb`='bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15951'
2023-10-13	12:22:45	306	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:45	306	[DEBUG]	Executed store
2023-10-13	12:22:45	306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859798','15951','1')
2023-10-13	12:22:45	306	[DEBUG]	Store product image relation
2023-10-13	12:22:45	306	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:45	306	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859798 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:45	306	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:45	306	[DEBUG]	Executed store
2023-10-13	12:22:45	306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859798','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:45	306	[DEBUG]	Checking manufacturer
2023-10-13	12:22:45	306	[DEBUG]	Load a row
2023-10-13	12:22:45	306	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:45	306	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:45	306	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:45	306	[DEBUG]	Executed store
2023-10-13	12:22:45	306	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:45	306	[DEBUG]	Manufacturer exists
2023-10-13	12:22:45	306	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:45	306	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:45	306	[DEBUG]	Executed store
2023-10-13	12:22:45	306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859798','32')
2023-10-13	12:22:45	306	[DEBUG]	Find the custom field ID
2023-10-13	12:22:45	306	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:22:45	306	[DEBUG]	No custom field ID found
2023-10-13	12:22:45	306	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:45	306	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:22:45	306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859798 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:45	306	[DEBUG]	Store custom available field
2023-10-13	12:22:45	306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859798,3,'69.7058333333334',1)
2023-10-13	12:22:45	306	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:45	306	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:22:45	306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859798 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:46	306	[DEBUG]	Store custom available field
2023-10-13	12:22:46	306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859798,6,'choisir la taille',3)
2023-10-13	12:22:46	306	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:46	306	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:22:46	306	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:22:46	306	[DEBUG]	Find the multi variant product entry
2023-10-13	12:22:46	306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859798 AND `virtuemart_custom_id` = 8
2023-10-13	12:22:46	306	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:22:46	306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859798,8,1)
2023-10-13	12:22:46	306	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:46	306	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859798\":[1859798,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859798
2023-10-13	12:22:46	306	[DEBUG]	Checking category
2023-10-13	12:22:46	306	[DEBUG]	Get the existing categories for the product
2023-10-13	12:22:46	306	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859798
2023-10-13	12:22:46	306	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:22:46	306	[DEBUG]	Executed store
2023-10-13	12:22:46	306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859798','7281')
2023-10-13	12:22:46	306	[DEBUG]	Delete leftover product categories
2023-10-13	12:22:46	306	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859798 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:22:46	306	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:46	306	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859798
2023-10-13	12:22:46	307	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:46	307	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:46	307	[DEBUG]	Use field value for field taille
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:46	307	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:46	307	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:46	307	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:46	307	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:46	307	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:46	307	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:46	307	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:46	307	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:46	307	[DEBUG]	Use field value for field published
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:46	307	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field override
2023-10-13	12:22:46	307	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:46	307	[DEBUG]	Use field value for field slug
2023-10-13	12:22:46	307	[DEBUG]	Process line 307
2023-10-13	12:22:46	307	[DEBUG]	Load a row
2023-10-13	12:22:46	307	[DEBUG]	Processing item: 8435466291983
2023-10-13	12:22:46	307	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:46	307	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:46	307	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6916_377'
2023-10-13	12:22:46	307	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:46	307	[DEBUG]	Processing product tax
2023-10-13	12:22:46	307	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:46	307	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:46	307	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:46	307	[DEBUG]	Query for Product
2023-10-13	12:22:46	307	[DEBUG]	Executed store
2023-10-13	12:22:46	307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859798','8435466291983','0','KG','M','','13','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:46	307	[DEBUG]	No parent found
2023-10-13	12:22:46	307	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859798 AND customfield_value = 'stockable'
2023-10-13	12:22:46	307	[DEBUG]	Check product language entry
2023-10-13	12:22:46	307	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859799
2023-10-13	12:22:46	307	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:46	307	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291983' AND `virtuemart_product_id` != 1859799
2023-10-13	12:22:46	307	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:46	307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859799, '8435466291983')
2023-10-13	12:22:46	307	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:46	307	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-xc-noir-jaune-s-m' AND `virtuemart_product_id` != 1859799
2023-10-13	12:22:46	307	[DEBUG]	Query for ProductLang
2023-10-13	12:22:46	307	[DEBUG]	Executed store
2023-10-13	12:22:46	307	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC VTT XC   / Noir-Jaune (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-xc-noir-jaune-s-m' WHERE `virtuemart_product_id` = '1859799'
2023-10-13	12:22:46	307	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:46	307	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:46	307	[DEBUG]	Process image file
2023-10-13	12:22:46	307	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:46	307	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:46	307	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:46	307	[DEBUG]	Full name target: bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:47	307	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:47	307	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg'
2023-10-13	12:22:47	307	[DEBUG]	Query for Media
2023-10-13	12:22:47	307	[DEBUG]	Executed store
2023-10-13	12:22:47	307	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_url_thumb`='bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15951'
2023-10-13	12:22:47	307	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:47	307	[DEBUG]	Executed store
2023-10-13	12:22:47	307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859799','15951','1')
2023-10-13	12:22:47	307	[DEBUG]	Store product image relation
2023-10-13	12:22:47	307	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:47	307	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859799 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:47	307	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:47	307	[DEBUG]	Executed store
2023-10-13	12:22:47	307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859799','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:47	307	[DEBUG]	Checking manufacturer
2023-10-13	12:22:47	307	[DEBUG]	Load a row
2023-10-13	12:22:47	307	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:47	307	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:47	307	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:47	307	[DEBUG]	Executed store
2023-10-13	12:22:47	307	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:47	307	[DEBUG]	Manufacturer exists
2023-10-13	12:22:47	307	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:47	307	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:47	307	[DEBUG]	Executed store
2023-10-13	12:22:47	307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859799','32')
2023-10-13	12:22:47	307	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:47	307	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:47	307	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859799 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:47	307	[DEBUG]	Store custom available field
2023-10-13	12:22:47	307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859799,3,'',1)
2023-10-13	12:22:47	307	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:47	307	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:22:47	307	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859799 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:47	307	[DEBUG]	Store custom available field
2023-10-13	12:22:47	307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859799,6,'S/M',3)
2023-10-13	12:22:47	307	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:47	307	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:47	307	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859798
2023-10-13	12:22:47	307	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:47	307	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\"}]|clabels=0|options={\"1859798\":[1859798,8,1,\"choisir la taille\"],\"1859799\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1859798
2023-10-13	12:22:47	307	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:47	307	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859799
2023-10-13	12:22:47	308	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:47	308	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:47	308	[DEBUG]	Use field value for field taille
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:47	308	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:47	308	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:47	308	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:47	308	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:47	308	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:47	308	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:47	308	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:47	308	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:47	308	[DEBUG]	Use field value for field published
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:47	308	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field override
2023-10-13	12:22:47	308	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:47	308	[DEBUG]	Use field value for field slug
2023-10-13	12:22:47	308	[DEBUG]	Process line 308
2023-10-13	12:22:47	308	[DEBUG]	Load a row
2023-10-13	12:22:47	308	[DEBUG]	Processing item: 1000000112955
2023-10-13	12:22:47	308	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:47	308	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:47	308	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6916_377'
2023-10-13	12:22:47	308	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:47	308	[DEBUG]	Processing product tax
2023-10-13	12:22:47	308	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:47	308	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:47	308	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:47	308	[DEBUG]	Query for Product
2023-10-13	12:22:47	308	[DEBUG]	Executed store
2023-10-13	12:22:47	308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859798','1000000112955','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:47	308	[DEBUG]	No parent found
2023-10-13	12:22:47	308	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859798 AND customfield_value = 'stockable'
2023-10-13	12:22:47	308	[DEBUG]	Check product language entry
2023-10-13	12:22:47	308	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859800
2023-10-13	12:22:47	308	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:47	308	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000112955' AND `virtuemart_product_id` != 1859800
2023-10-13	12:22:47	308	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:47	308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859800, '1000000112955')
2023-10-13	12:22:47	308	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:47	308	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-vtt-xc-noir-jaune-m-l' AND `virtuemart_product_id` != 1859800
2023-10-13	12:22:47	308	[DEBUG]	Query for ProductLang
2023-10-13	12:22:47	308	[DEBUG]	Executed store
2023-10-13	12:22:47	308	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC VTT XC   / Noir-Jaune (M/L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-vtt-xc-noir-jaune-m-l' WHERE `virtuemart_product_id` = '1859800'
2023-10-13	12:22:47	308	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:47	308	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:47	308	[DEBUG]	Process image file
2023-10-13	12:22:47	308	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:47	308	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:47	308	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:47	308	[DEBUG]	Full name target: bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg
2023-10-13	12:22:48	308	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:48	308	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg'
2023-10-13	12:22:48	308	[DEBUG]	Query for Media
2023-10-13	12:22:48	308	[DEBUG]	Executed store
2023-10-13	12:22:48	308	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_url_thumb`='bcprisme/34039_casque_vtt_msc_xc__225_gr__taille_s-m_55-58_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15951'
2023-10-13	12:22:48	308	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:48	308	[DEBUG]	Executed store
2023-10-13	12:22:48	308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859800','15951','1')
2023-10-13	12:22:48	308	[DEBUG]	Store product image relation
2023-10-13	12:22:48	308	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:48	308	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859800 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:48	308	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:48	308	[DEBUG]	Executed store
2023-10-13	12:22:48	308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859800','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:48	308	[DEBUG]	Checking manufacturer
2023-10-13	12:22:48	308	[DEBUG]	Load a row
2023-10-13	12:22:48	308	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:48	308	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:48	308	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:48	308	[DEBUG]	Executed store
2023-10-13	12:22:48	308	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:22:48	308	[DEBUG]	Manufacturer exists
2023-10-13	12:22:48	308	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:22:48	308	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:48	308	[DEBUG]	Executed store
2023-10-13	12:22:48	308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859800','32')
2023-10-13	12:22:48	308	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:48	308	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:48	308	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859800 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:48	308	[DEBUG]	Store custom available field
2023-10-13	12:22:48	308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859800,3,'',1)
2023-10-13	12:22:48	308	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:48	308	[DEBUG]	Get existing row with customfield value M/L
2023-10-13	12:22:48	308	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859800 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:48	308	[DEBUG]	Store custom available field
2023-10-13	12:22:48	308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859800,6,'M/L',3)
2023-10-13	12:22:48	308	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:48	308	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:48	308	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859798
2023-10-13	12:22:48	308	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:48	308	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\/M\\r\\nM\\/L\"}]|clabels=0|options={\"1859798\":[1859798,8,1,\"choisir la taille\"],\"1859799\":[\"S\\/M\"],\"1859800\":[\"M\\/L\"]}|' WHERE `virtuemart_product_id` = 1859798
2023-10-13	12:22:48	308	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:48	308	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859800
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:48	309	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field taille
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field category_path
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:48	309	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:22:48	309	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:48	309	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field product_weight
2023-10-13	12:22:48	309	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:48	309	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:48	309	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field published
2023-10-13	12:22:48	309	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:48	309	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field custom_title
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field custom_param
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field override
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field public_price
2023-10-13	12:22:48	309	[DEBUG]	Use field value for field slug
2023-10-13	12:22:48	309	[DEBUG]	Process line 309
2023-10-13	12:22:48	309	[DEBUG]	Load a row
2023-10-13	12:22:48	309	[DEBUG]	Processing item: A_6948_275
2023-10-13	12:22:48	309	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:48	309	[DEBUG]	Processing product tax
2023-10-13	12:22:48	309	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:48	309	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:48	309	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:48	309	[DEBUG]	Query for Product
2023-10-13	12:22:48	309	[DEBUG]	Executed store
2023-10-13	12:22:48	309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6948_275','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:48	309	[DEBUG]	Check product language entry
2023-10-13	12:22:48	309	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859801
2023-10-13	12:22:48	309	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:48	309	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6948_275' AND `virtuemart_product_id` != 1859801
2023-10-13	12:22:48	309	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:48	309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859801, 'A_6948_275')
2023-10-13	12:22:48	309	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:48	309	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-alpina-snow-jump-2-0-hm-black-matt' AND `virtuemart_product_id` != 1859801
2023-10-13	12:22:48	309	[DEBUG]	Query for ProductLang
2023-10-13	12:22:48	309	[DEBUG]	Executed store
2023-10-13	12:22:48	309	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : A9211330',`product_name`='Alpina Casque ALPINA SNOW JUMP 2.0 HM / Black matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-alpina-snow-jump-2-0-hm-black-matt' WHERE `virtuemart_product_id` = '1859801'
2023-10-13	12:22:48	309	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:48	309	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:48	309	[DEBUG]	Process image file
2023-10-13	12:22:48	309	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:48	309	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:48	309	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:48	309	[DEBUG]	Full name target: bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:49	309	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:49	309	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg'
2023-10-13	12:22:49	309	[DEBUG]	Query for Media
2023-10-13	12:22:49	309	[DEBUG]	Executed store
2023-10-13	12:22:49	309	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg',`file_url_thumb`='bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '348786'
2023-10-13	12:22:49	309	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:49	309	[DEBUG]	Executed store
2023-10-13	12:22:49	309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859801','348786','1')
2023-10-13	12:22:49	309	[DEBUG]	Store product image relation
2023-10-13	12:22:49	309	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:49	309	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859801 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:49	309	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:49	309	[DEBUG]	Executed store
2023-10-13	12:22:49	309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859801','0','249.767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:49	309	[DEBUG]	Checking manufacturer
2023-10-13	12:22:49	309	[DEBUG]	Load a row
2023-10-13	12:22:49	309	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:49	309	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:49	309	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:49	309	[DEBUG]	Executed store
2023-10-13	12:22:49	309	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:49	309	[DEBUG]	Manufacturer exists
2023-10-13	12:22:49	309	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:22:49	309	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:49	309	[DEBUG]	Executed store
2023-10-13	12:22:49	309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859801','171')
2023-10-13	12:22:49	309	[DEBUG]	Find the custom field ID
2023-10-13	12:22:49	309	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:22:49	309	[DEBUG]	No custom field ID found
2023-10-13	12:22:49	309	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:49	309	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:22:49	309	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859801 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:49	309	[DEBUG]	Store custom available field
2023-10-13	12:22:49	309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859801,3,'0',1)
2023-10-13	12:22:49	309	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:49	309	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:22:49	309	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859801 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:49	309	[DEBUG]	Store custom available field
2023-10-13	12:22:49	309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859801,6,'choisir la taille',3)
2023-10-13	12:22:49	309	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:49	309	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:22:49	309	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:22:49	309	[DEBUG]	Find the multi variant product entry
2023-10-13	12:22:49	309	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859801 AND `virtuemart_custom_id` = 8
2023-10-13	12:22:49	309	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:22:49	309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859801,8,1)
2023-10-13	12:22:49	309	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:49	309	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859801\":[1859801,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859801
2023-10-13	12:22:49	309	[DEBUG]	Checking category
2023-10-13	12:22:49	309	[DEBUG]	Get the existing categories for the product
2023-10-13	12:22:49	309	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859801
2023-10-13	12:22:49	309	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:22:49	309	[DEBUG]	Executed store
2023-10-13	12:22:49	309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859801','7281')
2023-10-13	12:22:49	309	[DEBUG]	Delete leftover product categories
2023-10-13	12:22:49	309	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859801 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:22:49	309	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:49	309	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859801
2023-10-13	12:22:49	310	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:49	310	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:49	310	[DEBUG]	Use field value for field taille
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:49	310	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:49	310	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:49	310	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:49	310	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:49	310	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:49	310	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:49	310	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:49	310	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:49	310	[DEBUG]	Use field value for field published
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:49	310	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field override
2023-10-13	12:22:49	310	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:49	310	[DEBUG]	Use field value for field slug
2023-10-13	12:22:49	310	[DEBUG]	Process line 310
2023-10-13	12:22:49	310	[DEBUG]	Load a row
2023-10-13	12:22:49	310	[DEBUG]	Processing item: 1000000114768
2023-10-13	12:22:49	310	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:49	310	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:49	310	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6948_275'
2023-10-13	12:22:49	310	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:49	310	[DEBUG]	Processing product tax
2023-10-13	12:22:49	310	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:49	310	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:49	310	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:49	310	[DEBUG]	Query for Product
2023-10-13	12:22:49	310	[DEBUG]	Executed store
2023-10-13	12:22:49	310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859801','1000000114768','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:49	310	[DEBUG]	No parent found
2023-10-13	12:22:49	310	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859801 AND customfield_value = 'stockable'
2023-10-13	12:22:49	310	[DEBUG]	Check product language entry
2023-10-13	12:22:49	310	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859802
2023-10-13	12:22:49	310	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:49	310	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114768' AND `virtuemart_product_id` != 1859802
2023-10-13	12:22:49	310	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:49	310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859802, '1000000114768')
2023-10-13	12:22:49	310	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:49	310	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-alpina-snow-jump-2-0-hm-black-matt-52-57' AND `virtuemart_product_id` != 1859802
2023-10-13	12:22:49	310	[DEBUG]	Query for ProductLang
2023-10-13	12:22:49	310	[DEBUG]	Executed store
2023-10-13	12:22:49	310	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque ALPINA SNOW JUMP 2.0 HM / Black matt (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-alpina-snow-jump-2-0-hm-black-matt-52-57' WHERE `virtuemart_product_id` = '1859802'
2023-10-13	12:22:49	310	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:49	310	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:49	310	[DEBUG]	Process image file
2023-10-13	12:22:49	310	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:49	310	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:49	310	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:49	310	[DEBUG]	Full name target: bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:50	310	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:50	310	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg'
2023-10-13	12:22:50	310	[DEBUG]	Query for Media
2023-10-13	12:22:50	310	[DEBUG]	Executed store
2023-10-13	12:22:50	310	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg',`file_url_thumb`='bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '348786'
2023-10-13	12:22:50	310	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:50	310	[DEBUG]	Executed store
2023-10-13	12:22:50	310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859802','348786','1')
2023-10-13	12:22:50	310	[DEBUG]	Store product image relation
2023-10-13	12:22:50	310	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:50	310	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859802 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:50	310	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:50	310	[DEBUG]	Executed store
2023-10-13	12:22:50	310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859802','0','249.767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:50	310	[DEBUG]	Checking manufacturer
2023-10-13	12:22:50	310	[DEBUG]	Load a row
2023-10-13	12:22:50	310	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:50	310	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:50	310	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:50	310	[DEBUG]	Executed store
2023-10-13	12:22:50	310	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:50	310	[DEBUG]	Manufacturer exists
2023-10-13	12:22:50	310	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:22:50	310	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:50	310	[DEBUG]	Executed store
2023-10-13	12:22:50	310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859802','171')
2023-10-13	12:22:50	310	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:50	310	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:50	310	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859802 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:50	310	[DEBUG]	Store custom available field
2023-10-13	12:22:50	310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859802,3,'',1)
2023-10-13	12:22:50	310	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:50	310	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:22:50	310	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859802 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:50	310	[DEBUG]	Store custom available field
2023-10-13	12:22:50	310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859802,6,'52-57',3)
2023-10-13	12:22:50	310	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:50	310	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:50	310	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859801
2023-10-13	12:22:50	310	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:50	310	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859801\":[1859801,8,1,\"choisir la taille\"],\"1859802\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859801
2023-10-13	12:22:50	310	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:50	310	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859802
2023-10-13	12:22:50	311	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:50	311	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:50	311	[DEBUG]	Use field value for field taille
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:50	311	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:50	311	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:50	311	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:50	311	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:50	311	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:50	311	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:50	311	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:50	311	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:50	311	[DEBUG]	Use field value for field published
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:50	311	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field override
2023-10-13	12:22:50	311	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:50	311	[DEBUG]	Use field value for field slug
2023-10-13	12:22:50	311	[DEBUG]	Process line 311
2023-10-13	12:22:50	311	[DEBUG]	Load a row
2023-10-13	12:22:50	311	[DEBUG]	Processing item: 1000000114775
2023-10-13	12:22:50	311	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:50	311	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:50	311	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6948_275'
2023-10-13	12:22:50	311	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:50	311	[DEBUG]	Processing product tax
2023-10-13	12:22:50	311	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:50	311	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:50	311	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:50	311	[DEBUG]	Query for Product
2023-10-13	12:22:50	311	[DEBUG]	Executed store
2023-10-13	12:22:50	311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859801','1000000114775','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:50	311	[DEBUG]	No parent found
2023-10-13	12:22:50	311	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859801 AND customfield_value = 'stockable'
2023-10-13	12:22:50	311	[DEBUG]	Check product language entry
2023-10-13	12:22:50	311	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859803
2023-10-13	12:22:50	311	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:50	311	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114775' AND `virtuemart_product_id` != 1859803
2023-10-13	12:22:50	311	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:50	311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859803, '1000000114775')
2023-10-13	12:22:50	311	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:50	311	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-alpina-snow-jump-2-0-hm-black-matt-60-64' AND `virtuemart_product_id` != 1859803
2023-10-13	12:22:50	311	[DEBUG]	Query for ProductLang
2023-10-13	12:22:50	311	[DEBUG]	Executed store
2023-10-13	12:22:50	311	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque ALPINA SNOW JUMP 2.0 HM / Black matt (60-64)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-alpina-snow-jump-2-0-hm-black-matt-60-64' WHERE `virtuemart_product_id` = '1859803'
2023-10-13	12:22:50	311	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:50	311	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:50	311	[DEBUG]	Process image file
2023-10-13	12:22:50	311	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:50	311	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:50	311	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:50	311	[DEBUG]	Full name target: bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:51	311	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:51	311	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg'
2023-10-13	12:22:51	311	[DEBUG]	Query for Media
2023-10-13	12:22:51	311	[DEBUG]	Executed store
2023-10-13	12:22:51	311	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg',`file_url_thumb`='bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '348786'
2023-10-13	12:22:51	311	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:51	311	[DEBUG]	Executed store
2023-10-13	12:22:51	311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859803','348786','1')
2023-10-13	12:22:51	311	[DEBUG]	Store product image relation
2023-10-13	12:22:51	311	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:51	311	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859803 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:51	311	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:51	311	[DEBUG]	Executed store
2023-10-13	12:22:51	311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859803','0','249.767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:51	311	[DEBUG]	Checking manufacturer
2023-10-13	12:22:51	311	[DEBUG]	Load a row
2023-10-13	12:22:51	311	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:51	311	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:51	311	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:51	311	[DEBUG]	Executed store
2023-10-13	12:22:51	311	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:51	311	[DEBUG]	Manufacturer exists
2023-10-13	12:22:51	311	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:22:51	311	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:51	311	[DEBUG]	Executed store
2023-10-13	12:22:51	311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859803','171')
2023-10-13	12:22:51	311	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:51	311	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:51	311	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859803 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:51	311	[DEBUG]	Store custom available field
2023-10-13	12:22:51	311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859803,3,'',1)
2023-10-13	12:22:51	311	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:51	311	[DEBUG]	Get existing row with customfield value 60-64
2023-10-13	12:22:51	311	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859803 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:51	311	[DEBUG]	Store custom available field
2023-10-13	12:22:51	311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859803,6,'60-64',3)
2023-10-13	12:22:51	311	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:51	311	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:51	311	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859801
2023-10-13	12:22:51	311	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:51	311	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n60-64\"}]|clabels=0|options={\"1859801\":[1859801,8,1,\"choisir la taille\"],\"1859802\":[\"52-57\"],\"1859803\":[\"60-64\"]}|' WHERE `virtuemart_product_id` = 1859801
2023-10-13	12:22:51	311	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:51	311	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859803
2023-10-13	12:22:51	312	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:51	312	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field taille
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:51	312	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:51	312	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:51	312	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:51	312	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:51	312	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:51	312	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:51	312	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:51	312	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:51	312	[DEBUG]	Use field value for field published
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:51	312	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field override
2023-10-13	12:22:51	312	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:51	312	[DEBUG]	Use field value for field slug
2023-10-13	12:22:51	312	[DEBUG]	Process line 312
2023-10-13	12:22:51	312	[DEBUG]	Load a row
2023-10-13	12:22:51	312	[DEBUG]	Processing item: 1000000114782
2023-10-13	12:22:51	312	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:51	312	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:51	312	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6948_275'
2023-10-13	12:22:51	312	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:51	312	[DEBUG]	Processing product tax
2023-10-13	12:22:51	312	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:51	312	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:51	312	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:51	312	[DEBUG]	Query for Product
2023-10-13	12:22:51	312	[DEBUG]	Executed store
2023-10-13	12:22:51	312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859801','1000000114782','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:51	312	[DEBUG]	No parent found
2023-10-13	12:22:51	312	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859801 AND customfield_value = 'stockable'
2023-10-13	12:22:51	312	[DEBUG]	Check product language entry
2023-10-13	12:22:51	312	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859804
2023-10-13	12:22:51	312	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:51	312	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114782' AND `virtuemart_product_id` != 1859804
2023-10-13	12:22:51	312	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:51	312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859804, '1000000114782')
2023-10-13	12:22:51	312	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:51	312	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-alpina-snow-jump-2-0-hm-black-matt' AND `virtuemart_product_id` != 1859804
2023-10-13	12:22:51	312	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:22:51	312	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'alpina-casque-alpina-snow-jump-2-0-hm-black-matt', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'alpina-casque-alpina-snow-jump-2-0-hm-black-matt' OR `slug` LIKE 'alpina-casque-alpina-snow-jump-2-0-hm-black-matt-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1859804 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:22:51	312	[DEBUG]	Query for ProductLang
2023-10-13	12:22:51	312	[DEBUG]	Executed store
2023-10-13	12:22:51	312	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque ALPINA SNOW JUMP 2.0 HM / Black matt ()',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-alpina-snow-jump-2-0-hm-black-matt-61' WHERE `virtuemart_product_id` = '1859804'
2023-10-13	12:22:51	312	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:51	312	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:51	312	[DEBUG]	Process image file
2023-10-13	12:22:51	312	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:51	312	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:51	312	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:51	312	[DEBUG]	Full name target: bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:52	312	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:52	312	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg'
2023-10-13	12:22:52	312	[DEBUG]	Query for Media
2023-10-13	12:22:52	312	[DEBUG]	Executed store
2023-10-13	12:22:52	312	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg',`file_url_thumb`='bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '348786'
2023-10-13	12:22:52	312	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:52	312	[DEBUG]	Executed store
2023-10-13	12:22:52	312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859804','348786','1')
2023-10-13	12:22:52	312	[DEBUG]	Store product image relation
2023-10-13	12:22:52	312	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:52	312	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859804 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:52	312	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:52	312	[DEBUG]	Executed store
2023-10-13	12:22:52	312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859804','0','249.767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:52	312	[DEBUG]	Checking manufacturer
2023-10-13	12:22:52	312	[DEBUG]	Load a row
2023-10-13	12:22:52	312	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:52	312	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:52	312	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:52	312	[DEBUG]	Executed store
2023-10-13	12:22:52	312	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:52	312	[DEBUG]	Manufacturer exists
2023-10-13	12:22:52	312	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:22:52	312	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:52	312	[DEBUG]	Executed store
2023-10-13	12:22:52	312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859804','171')
2023-10-13	12:22:52	312	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:52	312	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:52	312	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859804 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:52	312	[DEBUG]	Store custom available field
2023-10-13	12:22:52	312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859804,3,'',1)
2023-10-13	12:22:52	312	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:52	312	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:52	312	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859804 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:52	312	[DEBUG]	Store custom available field
2023-10-13	12:22:52	312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859804,6,'',3)
2023-10-13	12:22:52	312	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:52	312	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:52	312	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859801
2023-10-13	12:22:52	312	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:52	312	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n60-64\"}]|clabels=0|options={\"1859801\":[1859801,8,1,\"choisir la taille\"],\"1859802\":[\"52-57\"],\"1859803\":[\"60-64\"],\"1859804\":[\"0\"]}|' WHERE `virtuemart_product_id` = 1859801
2023-10-13	12:22:52	312	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:52	312	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859804
2023-10-13	12:22:52	313	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:52	313	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:52	313	[DEBUG]	Use field value for field taille
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:52	313	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:52	313	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:52	313	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:52	313	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:52	313	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:52	313	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:52	313	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:52	313	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:52	313	[DEBUG]	Use field value for field published
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:52	313	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field override
2023-10-13	12:22:52	313	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:52	313	[DEBUG]	Use field value for field slug
2023-10-13	12:22:52	313	[DEBUG]	Process line 313
2023-10-13	12:22:52	313	[DEBUG]	Load a row
2023-10-13	12:22:52	313	[DEBUG]	Processing item: 1000000114799
2023-10-13	12:22:52	313	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:52	313	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:52	313	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6948_275'
2023-10-13	12:22:52	313	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:52	313	[DEBUG]	Processing product tax
2023-10-13	12:22:52	313	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:52	313	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:52	313	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:52	313	[DEBUG]	Query for Product
2023-10-13	12:22:52	313	[DEBUG]	Executed store
2023-10-13	12:22:52	313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859801','1000000114799','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:52	313	[DEBUG]	No parent found
2023-10-13	12:22:52	313	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859801 AND customfield_value = 'stockable'
2023-10-13	12:22:52	313	[DEBUG]	Check product language entry
2023-10-13	12:22:52	313	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859805
2023-10-13	12:22:52	313	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:52	313	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114799' AND `virtuemart_product_id` != 1859805
2023-10-13	12:22:52	313	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:52	313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859805, '1000000114799')
2023-10-13	12:22:52	313	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:52	313	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-alpina-snow-jump-2-0-hm-black-matt-57-60' AND `virtuemart_product_id` != 1859805
2023-10-13	12:22:52	313	[DEBUG]	Query for ProductLang
2023-10-13	12:22:52	313	[DEBUG]	Executed store
2023-10-13	12:22:52	313	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque ALPINA SNOW JUMP 2.0 HM / Black matt (57.60)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-alpina-snow-jump-2-0-hm-black-matt-57-60' WHERE `virtuemart_product_id` = '1859805'
2023-10-13	12:22:52	313	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:52	313	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:52	313	[DEBUG]	Process image file
2023-10-13	12:22:52	313	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:52	313	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:52	313	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:52	313	[DEBUG]	Full name target: bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg
2023-10-13	12:22:53	313	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:53	313	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg'
2023-10-13	12:22:53	313	[DEBUG]	Query for Media
2023-10-13	12:22:53	313	[DEBUG]	Executed store
2023-10-13	12:22:53	313	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg',`file_url_thumb`='bcprisme/34083_casque_alpina_snow_jump_2_0_hm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '348786'
2023-10-13	12:22:53	313	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:53	313	[DEBUG]	Executed store
2023-10-13	12:22:53	313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859805','348786','1')
2023-10-13	12:22:53	313	[DEBUG]	Store product image relation
2023-10-13	12:22:53	313	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:53	313	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859805 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:53	313	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:53	313	[DEBUG]	Executed store
2023-10-13	12:22:53	313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859805','0','249.767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:53	313	[DEBUG]	Checking manufacturer
2023-10-13	12:22:53	313	[DEBUG]	Load a row
2023-10-13	12:22:53	313	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:53	313	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:53	313	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:53	313	[DEBUG]	Executed store
2023-10-13	12:22:53	313	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:22:53	313	[DEBUG]	Manufacturer exists
2023-10-13	12:22:53	313	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:22:53	313	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:53	313	[DEBUG]	Executed store
2023-10-13	12:22:53	313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859805','171')
2023-10-13	12:22:53	313	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:53	313	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:53	313	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859805 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:53	313	[DEBUG]	Store custom available field
2023-10-13	12:22:53	313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859805,3,'',1)
2023-10-13	12:22:53	313	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:53	313	[DEBUG]	Get existing row with customfield value 57.60
2023-10-13	12:22:53	313	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859805 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:53	313	[DEBUG]	Store custom available field
2023-10-13	12:22:53	313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859805,6,'57.60',3)
2023-10-13	12:22:53	313	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:53	313	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:53	313	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859801
2023-10-13	12:22:53	313	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:53	313	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n60-64\\r\\n57.60\"}]|clabels=0|options={\"1859801\":[1859801,8,1,\"choisir la taille\"],\"1859802\":[\"52-57\"],\"1859803\":[\"60-64\"],\"1859804\":[\"0\"],\"1859805\":[\"57.60\"]}|' WHERE `virtuemart_product_id` = 1859801
2023-10-13	12:22:53	313	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:53	313	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859805
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:53	314	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field taille
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field category_path
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:53	314	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:22:53	314	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:53	314	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field product_weight
2023-10-13	12:22:53	314	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:53	314	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:53	314	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field published
2023-10-13	12:22:53	314	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:53	314	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field custom_title
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field custom_param
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field override
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field public_price
2023-10-13	12:22:53	314	[DEBUG]	Use field value for field slug
2023-10-13	12:22:53	314	[DEBUG]	Process line 314
2023-10-13	12:22:53	314	[DEBUG]	Load a row
2023-10-13	12:22:53	314	[DEBUG]	Processing item: A_7176_7
2023-10-13	12:22:53	314	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:53	314	[DEBUG]	Processing product tax
2023-10-13	12:22:53	314	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:53	314	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:53	314	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:53	314	[DEBUG]	Query for Product
2023-10-13	12:22:53	314	[DEBUG]	Executed store
2023-10-13	12:22:53	314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7176_7','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:53	314	[DEBUG]	Check product language entry
2023-10-13	12:22:53	314	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859806
2023-10-13	12:22:53	314	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:53	314	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7176_7' AND `virtuemart_product_id` != 1859806
2023-10-13	12:22:53	314	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:53	314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859806, 'A_7176_7')
2023-10-13	12:22:53	314	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:53	314	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-rouge' AND `virtuemart_product_id` != 1859806
2023-10-13	12:22:53	314	[DEBUG]	Query for ProductLang
2023-10-13	12:22:53	314	[DEBUG]	Executed store
2023-10-13	12:22:53	314	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit <br>Casque VTT MET Echo de premier choix pour débutants, alliance optimale entre sécurité et design pour un excellent rapport qualité-prix. Les standards de sécurité éprouvés et les technologies des modèles haut de gamme de MET ont été intégrés dans ce modèle. La partie arrière basse est prolongée pour une protection fiable en cas de chute.<br>Autres caractéristiques:<br>Visière amovible<br>Sangles réglables<br>Système de réglage Safe-T E-MID<br>Coque externe en polycarbonate et structure interne en EPS liées par le procédé In-Mould<br>N° art fourn : 720.018.006',`product_name`='MET Casque MTB Echo  / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-rouge' WHERE `virtuemart_product_id` = '1859806'
2023-10-13	12:22:53	314	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37730_casque_mtb_echo_.jpg
2023-10-13	12:22:53	314	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:22:53	314	[DEBUG]	Process image file
2023-10-13	12:22:53	314	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:22:53	314	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:53	314	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37730_casque_mtb_echo_.jpg
2023-10-13	12:22:53	314	[DEBUG]	Full name target: bcprisme/37730_casque_mtb_echo_.jpg
2023-10-13	12:22:54	314	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:54	314	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37730_casque_mtb_echo_.jpg'
2023-10-13	12:22:54	314	[DEBUG]	Query for Media
2023-10-13	12:22:54	314	[DEBUG]	Executed store
2023-10-13	12:22:54	314	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37730_casque_mtb_echo_.jpg',`file_url_thumb`='bcprisme/37730_casque_mtb_echo_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069256'
2023-10-13	12:22:54	314	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:54	314	[DEBUG]	Executed store
2023-10-13	12:22:54	314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859806','1069256','1')
2023-10-13	12:22:54	314	[DEBUG]	Store product image relation
2023-10-13	12:22:54	314	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:54	314	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859806 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:54	314	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:54	314	[DEBUG]	Executed store
2023-10-13	12:22:54	314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859806','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:54	314	[DEBUG]	Checking manufacturer
2023-10-13	12:22:54	314	[DEBUG]	Load a row
2023-10-13	12:22:54	314	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:54	314	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:22:54	314	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:54	314	[DEBUG]	Executed store
2023-10-13	12:22:54	314	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:22:54	314	[DEBUG]	Manufacturer exists
2023-10-13	12:22:54	314	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:22:54	314	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:54	314	[DEBUG]	Executed store
2023-10-13	12:22:54	314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859806','226')
2023-10-13	12:22:54	314	[DEBUG]	Find the custom field ID
2023-10-13	12:22:54	314	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:22:54	314	[DEBUG]	No custom field ID found
2023-10-13	12:22:54	314	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:54	314	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:22:54	314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859806 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:54	314	[DEBUG]	Store custom available field
2023-10-13	12:22:54	314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859806,3,'9.8725',1)
2023-10-13	12:22:54	314	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:54	314	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:22:54	314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859806 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:54	314	[DEBUG]	Store custom available field
2023-10-13	12:22:54	314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859806,6,'choisir la taille',3)
2023-10-13	12:22:54	314	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:54	314	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:22:54	314	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:22:54	314	[DEBUG]	Find the multi variant product entry
2023-10-13	12:22:54	314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859806 AND `virtuemart_custom_id` = 8
2023-10-13	12:22:54	314	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:22:54	314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859806,8,1)
2023-10-13	12:22:54	314	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:54	314	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859806\":[1859806,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859806
2023-10-13	12:22:54	314	[DEBUG]	Checking category
2023-10-13	12:22:54	314	[DEBUG]	Get the existing categories for the product
2023-10-13	12:22:54	314	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859806
2023-10-13	12:22:54	314	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:22:54	314	[DEBUG]	Executed store
2023-10-13	12:22:54	314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859806','7281')
2023-10-13	12:22:54	314	[DEBUG]	Delete leftover product categories
2023-10-13	12:22:54	314	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859806 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:22:54	314	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:54	314	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859806
2023-10-13	12:22:54	315	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:54	315	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:54	315	[DEBUG]	Use field value for field taille
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:54	315	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:54	315	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:54	315	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:54	315	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:54	315	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:54	315	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:54	315	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:54	315	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:54	315	[DEBUG]	Use field value for field published
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:54	315	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field override
2023-10-13	12:22:54	315	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:54	315	[DEBUG]	Use field value for field slug
2023-10-13	12:22:54	315	[DEBUG]	Process line 315
2023-10-13	12:22:54	315	[DEBUG]	Load a row
2023-10-13	12:22:54	315	[DEBUG]	Processing item: 1000000163247
2023-10-13	12:22:54	315	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:54	315	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:54	315	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7176_7'
2023-10-13	12:22:54	315	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:54	315	[DEBUG]	Processing product tax
2023-10-13	12:22:54	315	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:54	315	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:54	315	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:54	315	[DEBUG]	Query for Product
2023-10-13	12:22:54	315	[DEBUG]	Executed store
2023-10-13	12:22:54	315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859806','1000000163247','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:54	315	[DEBUG]	No parent found
2023-10-13	12:22:54	315	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859806 AND customfield_value = 'stockable'
2023-10-13	12:22:54	315	[DEBUG]	Check product language entry
2023-10-13	12:22:54	315	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859807
2023-10-13	12:22:54	315	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:54	315	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163247' AND `virtuemart_product_id` != 1859807
2023-10-13	12:22:54	315	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:54	315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859807, '1000000163247')
2023-10-13	12:22:54	315	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:54	315	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-rouge-52-57' AND `virtuemart_product_id` != 1859807
2023-10-13	12:22:54	315	[DEBUG]	Query for ProductLang
2023-10-13	12:22:54	315	[DEBUG]	Executed store
2023-10-13	12:22:54	315	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo  / Rouge (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-rouge-52-57' WHERE `virtuemart_product_id` = '1859807'
2023-10-13	12:22:54	315	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37730_casque_mtb_echo_.jpg
2023-10-13	12:22:54	315	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:22:54	315	[DEBUG]	Process image file
2023-10-13	12:22:54	315	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:22:54	315	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:54	315	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37730_casque_mtb_echo_.jpg
2023-10-13	12:22:54	315	[DEBUG]	Full name target: bcprisme/37730_casque_mtb_echo_.jpg
2023-10-13	12:22:55	315	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:55	315	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37730_casque_mtb_echo_.jpg'
2023-10-13	12:22:55	315	[DEBUG]	Query for Media
2023-10-13	12:22:55	315	[DEBUG]	Executed store
2023-10-13	12:22:55	315	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37730_casque_mtb_echo_.jpg',`file_url_thumb`='bcprisme/37730_casque_mtb_echo_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069256'
2023-10-13	12:22:55	315	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:55	315	[DEBUG]	Executed store
2023-10-13	12:22:55	315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859807','1069256','1')
2023-10-13	12:22:55	315	[DEBUG]	Store product image relation
2023-10-13	12:22:55	315	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:55	315	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859807 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:55	315	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:55	315	[DEBUG]	Executed store
2023-10-13	12:22:55	315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859807','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:55	315	[DEBUG]	Checking manufacturer
2023-10-13	12:22:55	315	[DEBUG]	Load a row
2023-10-13	12:22:55	315	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:55	315	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:22:55	315	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:55	315	[DEBUG]	Executed store
2023-10-13	12:22:55	315	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:22:55	315	[DEBUG]	Manufacturer exists
2023-10-13	12:22:55	315	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:22:55	315	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:55	315	[DEBUG]	Executed store
2023-10-13	12:22:55	315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859807','226')
2023-10-13	12:22:55	315	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:55	315	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:55	315	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859807 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:55	315	[DEBUG]	Store custom available field
2023-10-13	12:22:55	315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859807,3,'',1)
2023-10-13	12:22:55	315	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:55	315	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:22:55	315	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859807 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:55	315	[DEBUG]	Store custom available field
2023-10-13	12:22:55	315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859807,6,'52-57',3)
2023-10-13	12:22:55	315	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:55	315	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:55	315	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859806
2023-10-13	12:22:55	315	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:55	315	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859806\":[1859806,8,1,\"choisir la taille\"],\"1859807\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859806
2023-10-13	12:22:55	315	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:55	315	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859807
2023-10-13	12:22:55	316	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:55	316	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:55	316	[DEBUG]	Use field value for field taille
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:55	316	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:55	316	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:55	316	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:55	316	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:55	316	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:55	316	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:55	316	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:55	316	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:55	316	[DEBUG]	Use field value for field published
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:55	316	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field override
2023-10-13	12:22:55	316	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:55	316	[DEBUG]	Use field value for field slug
2023-10-13	12:22:55	316	[DEBUG]	Process line 316
2023-10-13	12:22:55	316	[DEBUG]	Load a row
2023-10-13	12:22:55	316	[DEBUG]	Processing item: 1000000163254
2023-10-13	12:22:55	316	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:55	316	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:55	316	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7176_7'
2023-10-13	12:22:55	316	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:55	316	[DEBUG]	Processing product tax
2023-10-13	12:22:55	316	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:55	316	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:55	316	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:55	316	[DEBUG]	Query for Product
2023-10-13	12:22:55	316	[DEBUG]	Executed store
2023-10-13	12:22:55	316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859806','1000000163254','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:55	316	[DEBUG]	No parent found
2023-10-13	12:22:55	316	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859806 AND customfield_value = 'stockable'
2023-10-13	12:22:55	316	[DEBUG]	Check product language entry
2023-10-13	12:22:55	316	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859808
2023-10-13	12:22:55	316	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:55	316	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163254' AND `virtuemart_product_id` != 1859808
2023-10-13	12:22:55	316	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:55	316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859808, '1000000163254')
2023-10-13	12:22:55	316	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:55	316	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-rouge-57-60' AND `virtuemart_product_id` != 1859808
2023-10-13	12:22:55	316	[DEBUG]	Query for ProductLang
2023-10-13	12:22:55	316	[DEBUG]	Executed store
2023-10-13	12:22:55	316	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo  / Rouge (57-60)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-rouge-57-60' WHERE `virtuemart_product_id` = '1859808'
2023-10-13	12:22:55	316	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37730_casque_mtb_echo_.jpg
2023-10-13	12:22:55	316	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:22:55	316	[DEBUG]	Process image file
2023-10-13	12:22:55	316	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:22:55	316	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:55	316	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37730_casque_mtb_echo_.jpg
2023-10-13	12:22:55	316	[DEBUG]	Full name target: bcprisme/37730_casque_mtb_echo_.jpg
2023-10-13	12:22:56	316	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:56	316	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37730_casque_mtb_echo_.jpg'
2023-10-13	12:22:56	316	[DEBUG]	Query for Media
2023-10-13	12:22:56	316	[DEBUG]	Executed store
2023-10-13	12:22:56	316	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37730_casque_mtb_echo_.jpg',`file_url_thumb`='bcprisme/37730_casque_mtb_echo_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069256'
2023-10-13	12:22:56	316	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:56	316	[DEBUG]	Executed store
2023-10-13	12:22:56	316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859808','1069256','1')
2023-10-13	12:22:56	316	[DEBUG]	Store product image relation
2023-10-13	12:22:56	316	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:56	316	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859808 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:56	316	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:56	316	[DEBUG]	Executed store
2023-10-13	12:22:56	316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859808','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:56	316	[DEBUG]	Checking manufacturer
2023-10-13	12:22:56	316	[DEBUG]	Load a row
2023-10-13	12:22:56	316	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:56	316	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:22:56	316	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:56	316	[DEBUG]	Executed store
2023-10-13	12:22:56	316	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:22:56	316	[DEBUG]	Manufacturer exists
2023-10-13	12:22:56	316	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:22:56	316	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:56	316	[DEBUG]	Executed store
2023-10-13	12:22:56	316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859808','226')
2023-10-13	12:22:56	316	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:56	316	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:56	316	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859808 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:56	316	[DEBUG]	Store custom available field
2023-10-13	12:22:56	316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859808,3,'',1)
2023-10-13	12:22:56	316	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:56	316	[DEBUG]	Get existing row with customfield value 57-60
2023-10-13	12:22:56	316	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859808 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:56	316	[DEBUG]	Store custom available field
2023-10-13	12:22:56	316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859808,6,'57-60',3)
2023-10-13	12:22:56	316	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:56	316	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:56	316	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859806
2023-10-13	12:22:56	316	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:56	316	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-60\"}]|clabels=0|options={\"1859806\":[1859806,8,1,\"choisir la taille\"],\"1859807\":[\"52-57\"],\"1859808\":[\"57-60\"]}|' WHERE `virtuemart_product_id` = 1859806
2023-10-13	12:22:56	316	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:56	316	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859808
2023-10-13	12:22:56	317	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:56	317	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:56	317	[DEBUG]	Use field value for field taille
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:56	317	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:56	317	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:56	317	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:56	317	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:56	317	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:56	317	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:56	317	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:56	317	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:56	317	[DEBUG]	Use field value for field published
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:56	317	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field override
2023-10-13	12:22:56	317	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:56	317	[DEBUG]	Use field value for field slug
2023-10-13	12:22:56	317	[DEBUG]	Process line 317
2023-10-13	12:22:56	317	[DEBUG]	Load a row
2023-10-13	12:22:56	317	[DEBUG]	Processing item: 1000000163261
2023-10-13	12:22:56	317	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:56	317	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:56	317	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7176_7'
2023-10-13	12:22:56	317	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:56	317	[DEBUG]	Processing product tax
2023-10-13	12:22:56	317	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:56	317	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:56	317	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:56	317	[DEBUG]	Query for Product
2023-10-13	12:22:56	317	[DEBUG]	Executed store
2023-10-13	12:22:56	317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859806','1000000163261','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:56	317	[DEBUG]	No parent found
2023-10-13	12:22:56	317	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859806 AND customfield_value = 'stockable'
2023-10-13	12:22:56	317	[DEBUG]	Check product language entry
2023-10-13	12:22:56	317	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859809
2023-10-13	12:22:56	317	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:56	317	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163261' AND `virtuemart_product_id` != 1859809
2023-10-13	12:22:56	317	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:56	317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859809, '1000000163261')
2023-10-13	12:22:56	317	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:56	317	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-rouge-60-64' AND `virtuemart_product_id` != 1859809
2023-10-13	12:22:56	317	[DEBUG]	Query for ProductLang
2023-10-13	12:22:56	317	[DEBUG]	Executed store
2023-10-13	12:22:56	317	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo  / Rouge (60-64)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-rouge-60-64' WHERE `virtuemart_product_id` = '1859809'
2023-10-13	12:22:56	317	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37730_casque_mtb_echo_.jpg
2023-10-13	12:22:56	317	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:22:56	317	[DEBUG]	Process image file
2023-10-13	12:22:56	317	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:22:56	317	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:56	317	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37730_casque_mtb_echo_.jpg
2023-10-13	12:22:56	317	[DEBUG]	Full name target: bcprisme/37730_casque_mtb_echo_.jpg
2023-10-13	12:22:57	317	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:57	317	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37730_casque_mtb_echo_.jpg'
2023-10-13	12:22:57	317	[DEBUG]	Query for Media
2023-10-13	12:22:57	317	[DEBUG]	Executed store
2023-10-13	12:22:57	317	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37730_casque_mtb_echo_.jpg',`file_url_thumb`='bcprisme/37730_casque_mtb_echo_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069256'
2023-10-13	12:22:57	317	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:57	317	[DEBUG]	Executed store
2023-10-13	12:22:57	317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859809','1069256','1')
2023-10-13	12:22:57	317	[DEBUG]	Store product image relation
2023-10-13	12:22:57	317	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:57	317	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859809 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:57	317	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:57	317	[DEBUG]	Executed store
2023-10-13	12:22:57	317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859809','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:57	317	[DEBUG]	Checking manufacturer
2023-10-13	12:22:57	317	[DEBUG]	Load a row
2023-10-13	12:22:57	317	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:57	317	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:22:57	317	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:57	317	[DEBUG]	Executed store
2023-10-13	12:22:57	317	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:22:57	317	[DEBUG]	Manufacturer exists
2023-10-13	12:22:57	317	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:22:57	317	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:57	317	[DEBUG]	Executed store
2023-10-13	12:22:57	317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859809','226')
2023-10-13	12:22:57	317	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:57	317	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:22:57	317	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859809 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:57	317	[DEBUG]	Store custom available field
2023-10-13	12:22:57	317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859809,3,'',1)
2023-10-13	12:22:57	317	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:57	317	[DEBUG]	Get existing row with customfield value 60-64
2023-10-13	12:22:57	317	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859809 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:57	317	[DEBUG]	Store custom available field
2023-10-13	12:22:57	317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859809,6,'60-64',3)
2023-10-13	12:22:57	317	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:57	317	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:22:57	317	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859806
2023-10-13	12:22:57	317	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:57	317	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-60\\r\\n60-64\"}]|clabels=0|options={\"1859806\":[1859806,8,1,\"choisir la taille\"],\"1859807\":[\"52-57\"],\"1859808\":[\"57-60\"],\"1859809\":[\"60-64\"]}|' WHERE `virtuemart_product_id` = 1859806
2023-10-13	12:22:57	317	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:57	317	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859809
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:57	318	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field taille
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field category_path
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:57	318	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:22:57	318	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:57	318	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field product_weight
2023-10-13	12:22:57	318	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:57	318	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:57	318	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field published
2023-10-13	12:22:57	318	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:57	318	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field custom_title
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field custom_param
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field override
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field public_price
2023-10-13	12:22:57	318	[DEBUG]	Use field value for field slug
2023-10-13	12:22:57	318	[DEBUG]	Process line 318
2023-10-13	12:22:57	318	[DEBUG]	Load a row
2023-10-13	12:22:57	318	[DEBUG]	Processing item: A_7176_87
2023-10-13	12:22:57	318	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:57	318	[DEBUG]	Processing product tax
2023-10-13	12:22:57	318	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:57	318	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:57	318	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:57	318	[DEBUG]	Query for Product
2023-10-13	12:22:57	318	[DEBUG]	Executed store
2023-10-13	12:22:57	318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7176_87','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:57	318	[DEBUG]	Check product language entry
2023-10-13	12:22:57	318	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859810
2023-10-13	12:22:57	318	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:57	318	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7176_87' AND `virtuemart_product_id` != 1859810
2023-10-13	12:22:57	318	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:57	318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859810, 'A_7176_87')
2023-10-13	12:22:57	318	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:57	318	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-white' AND `virtuemart_product_id` != 1859810
2023-10-13	12:22:57	318	[DEBUG]	Query for ProductLang
2023-10-13	12:22:57	318	[DEBUG]	Executed store
2023-10-13	12:22:57	318	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit <br>Casque VTT MET Echo de premier choix pour débutants, alliance optimale entre sécurité et design pour un excellent rapport qualité-prix. Les standards de sécurité éprouvés et les technologies des modèles haut de gamme de MET ont été intégrés dans ce modèle. La partie arrière basse est prolongée pour une protection fiable en cas de chute.<br>Autres caractéristiques:<br>Visière amovible<br>Sangles réglables<br>Système de réglage Safe-T E-MID<br>Coque externe en polycarbonate et structure interne en EPS liées par le procédé In-Mould<br>N° art fourn : 720.018.006',`product_name`='MET Casque MTB Echo  / White',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-white' WHERE `virtuemart_product_id` = '1859810'
2023-10-13	12:22:57	318	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:22:57	318	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:57	318	[DEBUG]	Process image file
2023-10-13	12:22:57	318	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:57	318	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:57	318	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:22:57	318	[DEBUG]	Full name target: bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:22:58	318	[DEBUG]	Checking if the file_url exists
2023-10-13	12:22:58	318	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg'
2023-10-13	12:22:58	318	[DEBUG]	Query for Media
2023-10-13	12:22:58	318	[DEBUG]	Executed store
2023-10-13	12:22:58	318	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg',`file_url_thumb`='bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239061'
2023-10-13	12:22:58	318	[DEBUG]	Query for ProductMedia
2023-10-13	12:22:58	318	[DEBUG]	Executed store
2023-10-13	12:22:58	318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859810','239061','1')
2023-10-13	12:22:58	318	[DEBUG]	Store product image relation
2023-10-13	12:22:58	318	[DEBUG]	Finding a product_price_id
2023-10-13	12:22:58	318	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859810 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:22:58	318	[DEBUG]	Query for ProductPrice
2023-10-13	12:22:58	318	[DEBUG]	Executed store
2023-10-13	12:22:58	318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859810','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:22:58	318	[DEBUG]	Checking manufacturer
2023-10-13	12:22:58	318	[DEBUG]	Load a row
2023-10-13	12:22:58	318	[DEBUG]	Manufacturer already exists
2023-10-13	12:22:58	318	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:22:58	318	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:22:58	318	[DEBUG]	Executed store
2023-10-13	12:22:58	318	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:22:58	318	[DEBUG]	Manufacturer exists
2023-10-13	12:22:58	318	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:22:58	318	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:22:58	318	[DEBUG]	Executed store
2023-10-13	12:22:58	318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859810','226')
2023-10-13	12:22:58	318	[DEBUG]	Find the custom field ID
2023-10-13	12:22:58	318	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:22:58	318	[DEBUG]	No custom field ID found
2023-10-13	12:22:58	318	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:22:58	318	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:22:58	318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859810 AND `virtuemart_custom_id` = 3
2023-10-13	12:22:58	318	[DEBUG]	Store custom available field
2023-10-13	12:22:58	318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859810,3,'9.8725',1)
2023-10-13	12:22:58	318	[DEBUG]	Processing custom available field: taille
2023-10-13	12:22:58	318	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:22:58	318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859810 AND `virtuemart_custom_id` = 6
2023-10-13	12:22:58	318	[DEBUG]	Store custom available field
2023-10-13	12:22:58	318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859810,6,'choisir la taille',3)
2023-10-13	12:22:58	318	[DEBUG]	Process multi-variant fields
2023-10-13	12:22:58	318	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:22:58	318	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:22:58	318	[DEBUG]	Find the multi variant product entry
2023-10-13	12:22:58	318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859810 AND `virtuemart_custom_id` = 8
2023-10-13	12:22:58	318	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:22:58	318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859810,8,1)
2023-10-13	12:22:58	318	[DEBUG]	Store the updated customfield_params
2023-10-13	12:22:58	318	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859810\":[1859810,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859810
2023-10-13	12:22:58	318	[DEBUG]	Checking category
2023-10-13	12:22:58	318	[DEBUG]	Get the existing categories for the product
2023-10-13	12:22:58	318	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859810
2023-10-13	12:22:58	318	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:22:58	318	[DEBUG]	Executed store
2023-10-13	12:22:58	318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859810','7281')
2023-10-13	12:22:58	318	[DEBUG]	Delete leftover product categories
2023-10-13	12:22:58	318	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859810 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:22:58	318	[DEBUG]	Update has fields after all processing
2023-10-13	12:22:58	318	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859810
2023-10-13	12:22:58	319	[DEBUG]	Use field value for field product_sku
2023-10-13	12:22:58	319	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:22:58	319	[DEBUG]	Use field value for field taille
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:22:58	319	[DEBUG]	Use field value for field product_name
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field category_path
2023-10-13	12:22:58	319	[DEBUG]	Use field value for field product_price
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:22:58	319	[DEBUG]	Use field value for field product_tax
2023-10-13	12:22:58	319	[DEBUG]	Use field value for field file_url
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field product_desc
2023-10-13	12:22:58	319	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:22:58	319	[DEBUG]	Use field value for field product_availability
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field product_weight
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field product_unit
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field related_products
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field product_special
2023-10-13	12:22:58	319	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:22:58	319	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:22:58	319	[DEBUG]	Use field value for field published
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field metadesc
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field metakey
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field custom_title
2023-10-13	12:22:58	319	[DEBUG]	Use field value for field custom_value
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field custom_param
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field override
2023-10-13	12:22:58	319	[DEBUG]	Use default value for field public_price
2023-10-13	12:22:58	319	[DEBUG]	Use field value for field slug
2023-10-13	12:22:58	319	[DEBUG]	Process line 319
2023-10-13	12:22:58	319	[DEBUG]	Load a row
2023-10-13	12:22:58	319	[DEBUG]	Processing item: 1000000125399
2023-10-13	12:22:58	319	[DEBUG]	Looking for parent SKU
2023-10-13	12:22:58	319	[DEBUG]	Checking product parent SKU
2023-10-13	12:22:58	319	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7176_87'
2023-10-13	12:22:58	319	[DEBUG]	Product tax: 7.7
2023-10-13	12:22:58	319	[DEBUG]	Processing product tax
2023-10-13	12:22:58	319	[DEBUG]	Check if calculation rule exists
2023-10-13	12:22:58	319	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:22:58	319	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:22:58	319	[DEBUG]	Query for Product
2023-10-13	12:22:58	319	[DEBUG]	Executed store
2023-10-13	12:22:58	319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859810','1000000125399','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:22:58	319	[DEBUG]	No parent found
2023-10-13	12:22:58	319	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859810 AND customfield_value = 'stockable'
2023-10-13	12:22:58	319	[DEBUG]	Check product language entry
2023-10-13	12:22:58	319	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859811
2023-10-13	12:22:58	319	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:58	319	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125399' AND `virtuemart_product_id` != 1859811
2023-10-13	12:22:58	319	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:22:58	319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859811, '1000000125399')
2023-10-13	12:22:58	319	[DEBUG]	Check if the product slug exists
2023-10-13	12:22:58	319	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-white-52-57' AND `virtuemart_product_id` != 1859811
2023-10-13	12:22:58	319	[DEBUG]	Query for ProductLang
2023-10-13	12:22:58	319	[DEBUG]	Executed store
2023-10-13	12:22:58	319	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo  / White (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-white-52-57' WHERE `virtuemart_product_id` = '1859811'
2023-10-13	12:22:58	319	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:22:58	319	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:58	319	[DEBUG]	Process image file
2023-10-13	12:22:58	319	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:22:58	319	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:22:58	319	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:22:58	319	[DEBUG]	Full name target: bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:23:00	319	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:00	319	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg'
2023-10-13	12:23:00	319	[DEBUG]	Query for Media
2023-10-13	12:23:00	319	[DEBUG]	Executed store
2023-10-13	12:23:00	319	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg',`file_url_thumb`='bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239061'
2023-10-13	12:23:00	319	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:00	319	[DEBUG]	Executed store
2023-10-13	12:23:00	319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859811','239061','1')
2023-10-13	12:23:00	319	[DEBUG]	Store product image relation
2023-10-13	12:23:00	319	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:00	319	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859811 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:00	319	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:00	319	[DEBUG]	Executed store
2023-10-13	12:23:00	319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859811','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:00	319	[DEBUG]	Checking manufacturer
2023-10-13	12:23:00	319	[DEBUG]	Load a row
2023-10-13	12:23:00	319	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:00	319	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:00	319	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:00	319	[DEBUG]	Executed store
2023-10-13	12:23:00	319	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:00	319	[DEBUG]	Manufacturer exists
2023-10-13	12:23:00	319	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:00	319	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:00	319	[DEBUG]	Executed store
2023-10-13	12:23:00	319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859811','226')
2023-10-13	12:23:00	319	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:00	319	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:00	319	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859811 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:00	319	[DEBUG]	Store custom available field
2023-10-13	12:23:00	319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859811,3,'',1)
2023-10-13	12:23:00	319	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:00	319	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:23:00	319	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859811 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:00	319	[DEBUG]	Store custom available field
2023-10-13	12:23:00	319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859811,6,'52-57',3)
2023-10-13	12:23:00	319	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:00	319	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:00	319	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859810
2023-10-13	12:23:00	319	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:00	319	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859810\":[1859810,8,1,\"choisir la taille\"],\"1859811\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859810
2023-10-13	12:23:00	319	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:00	319	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859811
2023-10-13	12:23:00	320	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:00	320	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:00	320	[DEBUG]	Use field value for field taille
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:00	320	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:00	320	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:00	320	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:00	320	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:00	320	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:00	320	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:00	320	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:00	320	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:00	320	[DEBUG]	Use field value for field published
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:00	320	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field override
2023-10-13	12:23:00	320	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:00	320	[DEBUG]	Use field value for field slug
2023-10-13	12:23:00	320	[DEBUG]	Process line 320
2023-10-13	12:23:00	320	[DEBUG]	Load a row
2023-10-13	12:23:00	320	[DEBUG]	Processing item: 8015190258928
2023-10-13	12:23:00	320	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:00	320	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:00	320	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7176_87'
2023-10-13	12:23:00	320	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:00	320	[DEBUG]	Processing product tax
2023-10-13	12:23:00	320	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:00	320	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:00	320	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:00	320	[DEBUG]	Query for Product
2023-10-13	12:23:00	320	[DEBUG]	Executed store
2023-10-13	12:23:00	320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859810','8015190258928','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:00	320	[DEBUG]	No parent found
2023-10-13	12:23:00	320	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859810 AND customfield_value = 'stockable'
2023-10-13	12:23:00	320	[DEBUG]	Check product language entry
2023-10-13	12:23:00	320	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859812
2023-10-13	12:23:00	320	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:00	320	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8015190258928' AND `virtuemart_product_id` != 1859812
2023-10-13	12:23:00	320	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:00	320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859812, '8015190258928')
2023-10-13	12:23:00	320	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:00	320	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-white-57-60' AND `virtuemart_product_id` != 1859812
2023-10-13	12:23:00	320	[DEBUG]	Query for ProductLang
2023-10-13	12:23:00	320	[DEBUG]	Executed store
2023-10-13	12:23:00	320	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo  / White (57-60)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-white-57-60' WHERE `virtuemart_product_id` = '1859812'
2023-10-13	12:23:00	320	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:23:00	320	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:00	320	[DEBUG]	Process image file
2023-10-13	12:23:00	320	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:00	320	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:00	320	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:23:00	320	[DEBUG]	Full name target: bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:23:01	320	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:01	320	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg'
2023-10-13	12:23:01	320	[DEBUG]	Query for Media
2023-10-13	12:23:01	320	[DEBUG]	Executed store
2023-10-13	12:23:01	320	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg',`file_url_thumb`='bcprisme/34887_casque_met_mtb_echo_57-60cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239061'
2023-10-13	12:23:01	320	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:01	320	[DEBUG]	Executed store
2023-10-13	12:23:01	320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859812','239061','1')
2023-10-13	12:23:01	320	[DEBUG]	Store product image relation
2023-10-13	12:23:01	320	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:01	320	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859812 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:01	320	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:01	320	[DEBUG]	Executed store
2023-10-13	12:23:01	320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859812','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:01	320	[DEBUG]	Checking manufacturer
2023-10-13	12:23:01	320	[DEBUG]	Load a row
2023-10-13	12:23:01	320	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:01	320	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:01	320	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:01	320	[DEBUG]	Executed store
2023-10-13	12:23:01	320	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:01	320	[DEBUG]	Manufacturer exists
2023-10-13	12:23:01	320	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:01	320	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:01	320	[DEBUG]	Executed store
2023-10-13	12:23:01	320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859812','226')
2023-10-13	12:23:01	320	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:01	320	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:01	320	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859812 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:01	320	[DEBUG]	Store custom available field
2023-10-13	12:23:01	320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859812,3,'',1)
2023-10-13	12:23:01	320	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:01	320	[DEBUG]	Get existing row with customfield value 57-60
2023-10-13	12:23:01	320	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859812 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:01	320	[DEBUG]	Store custom available field
2023-10-13	12:23:01	320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859812,6,'57-60',3)
2023-10-13	12:23:01	320	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:01	320	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:01	320	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859810
2023-10-13	12:23:01	320	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:01	320	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-60\"}]|clabels=0|options={\"1859810\":[1859810,8,1,\"choisir la taille\"],\"1859811\":[\"52-57\"],\"1859812\":[\"57-60\"]}|' WHERE `virtuemart_product_id` = 1859810
2023-10-13	12:23:01	320	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:01	320	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859812
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:01	321	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field taille
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:01	321	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:01	321	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:01	321	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:01	321	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:01	321	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:01	321	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field published
2023-10-13	12:23:01	321	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:01	321	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field override
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:01	321	[DEBUG]	Use field value for field slug
2023-10-13	12:23:01	321	[DEBUG]	Process line 321
2023-10-13	12:23:01	321	[DEBUG]	Load a row
2023-10-13	12:23:01	321	[DEBUG]	Processing item: A_7176_275
2023-10-13	12:23:01	321	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:01	321	[DEBUG]	Processing product tax
2023-10-13	12:23:01	321	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:01	321	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:01	321	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:01	321	[DEBUG]	Query for Product
2023-10-13	12:23:01	321	[DEBUG]	Executed store
2023-10-13	12:23:01	321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7176_275','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:01	321	[DEBUG]	Check product language entry
2023-10-13	12:23:01	321	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859813
2023-10-13	12:23:01	321	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:01	321	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7176_275' AND `virtuemart_product_id` != 1859813
2023-10-13	12:23:01	321	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:01	321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859813, 'A_7176_275')
2023-10-13	12:23:01	321	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:01	321	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-black-matt' AND `virtuemart_product_id` != 1859813
2023-10-13	12:23:01	321	[DEBUG]	Query for ProductLang
2023-10-13	12:23:01	321	[DEBUG]	Executed store
2023-10-13	12:23:01	321	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit <br>Casque VTT MET Echo de premier choix pour débutants, alliance optimale entre sécurité et design pour un excellent rapport qualité-prix. Les standards de sécurité éprouvés et les technologies des modèles haut de gamme de MET ont été intégrés dans ce modèle. La partie arrière basse est prolongée pour une protection fiable en cas de chute.<br>Autres caractéristiques:<br>Visière amovible<br>Sangles réglables<br>Système de réglage Safe-T E-MID<br>Coque externe en polycarbonate et structure interne en EPS liées par le procédé In-Mould<br>N° art fourn : 720.018.006',`product_name`='MET Casque MTB Echo  / Black matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-black-matt' WHERE `virtuemart_product_id` = '1859813'
2023-10-13	12:23:01	321	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37729_casque_mtb_echo_.jpg
2023-10-13	12:23:01	321	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:01	321	[DEBUG]	Process image file
2023-10-13	12:23:01	321	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:01	321	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:01	321	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37729_casque_mtb_echo_.jpg
2023-10-13	12:23:01	321	[DEBUG]	Full name target: bcprisme/37729_casque_mtb_echo_.jpg
2023-10-13	12:23:02	321	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:02	321	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37729_casque_mtb_echo_.jpg'
2023-10-13	12:23:02	321	[DEBUG]	Query for Media
2023-10-13	12:23:02	321	[DEBUG]	Executed store
2023-10-13	12:23:02	321	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37729_casque_mtb_echo_.jpg',`file_url_thumb`='bcprisme/37729_casque_mtb_echo_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069263'
2023-10-13	12:23:02	321	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:02	321	[DEBUG]	Executed store
2023-10-13	12:23:02	321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859813','1069263','1')
2023-10-13	12:23:02	321	[DEBUG]	Store product image relation
2023-10-13	12:23:02	321	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:02	321	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859813 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:02	321	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:02	321	[DEBUG]	Executed store
2023-10-13	12:23:02	321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859813','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:02	321	[DEBUG]	Checking manufacturer
2023-10-13	12:23:02	321	[DEBUG]	Load a row
2023-10-13	12:23:02	321	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:02	321	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:02	321	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:02	321	[DEBUG]	Executed store
2023-10-13	12:23:02	321	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:02	321	[DEBUG]	Manufacturer exists
2023-10-13	12:23:02	321	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:02	321	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:02	321	[DEBUG]	Executed store
2023-10-13	12:23:02	321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859813','226')
2023-10-13	12:23:02	321	[DEBUG]	Find the custom field ID
2023-10-13	12:23:02	321	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:02	321	[DEBUG]	No custom field ID found
2023-10-13	12:23:02	321	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:02	321	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:23:02	321	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859813 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:02	321	[DEBUG]	Store custom available field
2023-10-13	12:23:02	321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859813,3,'9.8725',1)
2023-10-13	12:23:02	321	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:02	321	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:02	321	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859813 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:02	321	[DEBUG]	Store custom available field
2023-10-13	12:23:02	321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859813,6,'choisir la taille',3)
2023-10-13	12:23:02	321	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:02	321	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:02	321	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:02	321	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:02	321	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859813 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:02	321	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:02	321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859813,8,1)
2023-10-13	12:23:02	321	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:02	321	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859813\":[1859813,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859813
2023-10-13	12:23:02	321	[DEBUG]	Checking category
2023-10-13	12:23:02	321	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:02	321	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859813
2023-10-13	12:23:02	321	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:02	321	[DEBUG]	Executed store
2023-10-13	12:23:02	321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859813','7281')
2023-10-13	12:23:02	321	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:02	321	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859813 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:02	321	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:02	321	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859813
2023-10-13	12:23:02	322	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:02	322	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:02	322	[DEBUG]	Use field value for field taille
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:02	322	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:02	322	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:02	322	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:02	322	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:02	322	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:02	322	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:02	322	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:02	322	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:02	322	[DEBUG]	Use field value for field published
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:02	322	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field override
2023-10-13	12:23:02	322	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:02	322	[DEBUG]	Use field value for field slug
2023-10-13	12:23:02	322	[DEBUG]	Process line 322
2023-10-13	12:23:02	322	[DEBUG]	Load a row
2023-10-13	12:23:02	322	[DEBUG]	Processing item: 1000000163216
2023-10-13	12:23:02	322	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:02	322	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:02	322	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7176_275'
2023-10-13	12:23:02	322	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:02	322	[DEBUG]	Processing product tax
2023-10-13	12:23:02	322	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:02	322	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:02	322	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:02	322	[DEBUG]	Query for Product
2023-10-13	12:23:02	322	[DEBUG]	Executed store
2023-10-13	12:23:02	322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859813','1000000163216','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:02	322	[DEBUG]	No parent found
2023-10-13	12:23:02	322	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859813 AND customfield_value = 'stockable'
2023-10-13	12:23:02	322	[DEBUG]	Check product language entry
2023-10-13	12:23:02	322	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859814
2023-10-13	12:23:02	322	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:02	322	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163216' AND `virtuemart_product_id` != 1859814
2023-10-13	12:23:02	322	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:02	322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859814, '1000000163216')
2023-10-13	12:23:02	322	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:02	322	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-black-matt-52-57' AND `virtuemart_product_id` != 1859814
2023-10-13	12:23:02	322	[DEBUG]	Query for ProductLang
2023-10-13	12:23:02	322	[DEBUG]	Executed store
2023-10-13	12:23:02	322	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo  / Black matt (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-black-matt-52-57' WHERE `virtuemart_product_id` = '1859814'
2023-10-13	12:23:02	322	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37729_casque_mtb_echo_.jpg
2023-10-13	12:23:02	322	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:02	322	[DEBUG]	Process image file
2023-10-13	12:23:02	322	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:02	322	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:02	322	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37729_casque_mtb_echo_.jpg
2023-10-13	12:23:02	322	[DEBUG]	Full name target: bcprisme/37729_casque_mtb_echo_.jpg
2023-10-13	12:23:03	322	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:03	322	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37729_casque_mtb_echo_.jpg'
2023-10-13	12:23:03	322	[DEBUG]	Query for Media
2023-10-13	12:23:03	322	[DEBUG]	Executed store
2023-10-13	12:23:03	322	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37729_casque_mtb_echo_.jpg',`file_url_thumb`='bcprisme/37729_casque_mtb_echo_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069263'
2023-10-13	12:23:03	322	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:03	322	[DEBUG]	Executed store
2023-10-13	12:23:03	322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859814','1069263','1')
2023-10-13	12:23:03	322	[DEBUG]	Store product image relation
2023-10-13	12:23:03	322	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:03	322	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859814 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:03	322	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:03	322	[DEBUG]	Executed store
2023-10-13	12:23:03	322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859814','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:03	322	[DEBUG]	Checking manufacturer
2023-10-13	12:23:03	322	[DEBUG]	Load a row
2023-10-13	12:23:03	322	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:03	322	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:03	322	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:03	322	[DEBUG]	Executed store
2023-10-13	12:23:03	322	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:03	322	[DEBUG]	Manufacturer exists
2023-10-13	12:23:03	322	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:03	322	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:03	322	[DEBUG]	Executed store
2023-10-13	12:23:03	322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859814','226')
2023-10-13	12:23:03	322	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:03	322	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:03	322	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859814 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:03	322	[DEBUG]	Store custom available field
2023-10-13	12:23:03	322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859814,3,'',1)
2023-10-13	12:23:03	322	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:03	322	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:23:03	322	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859814 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:03	322	[DEBUG]	Store custom available field
2023-10-13	12:23:03	322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859814,6,'52-57',3)
2023-10-13	12:23:03	322	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:03	322	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:03	322	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859813
2023-10-13	12:23:03	322	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:03	322	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859813\":[1859813,8,1,\"choisir la taille\"],\"1859814\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859813
2023-10-13	12:23:03	322	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:03	322	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859814
2023-10-13	12:23:03	323	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:03	323	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:03	323	[DEBUG]	Use field value for field taille
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:03	323	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:03	323	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:03	323	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:03	323	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:03	323	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:03	323	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:03	323	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:03	323	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:03	323	[DEBUG]	Use field value for field published
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:03	323	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field override
2023-10-13	12:23:03	323	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:03	323	[DEBUG]	Use field value for field slug
2023-10-13	12:23:03	323	[DEBUG]	Process line 323
2023-10-13	12:23:03	323	[DEBUG]	Load a row
2023-10-13	12:23:03	323	[DEBUG]	Processing item: 1000000163223
2023-10-13	12:23:03	323	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:03	323	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:03	323	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7176_275'
2023-10-13	12:23:03	323	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:03	323	[DEBUG]	Processing product tax
2023-10-13	12:23:03	323	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:03	323	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:03	323	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:03	323	[DEBUG]	Query for Product
2023-10-13	12:23:03	323	[DEBUG]	Executed store
2023-10-13	12:23:03	323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859813','1000000163223','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:03	323	[DEBUG]	No parent found
2023-10-13	12:23:03	323	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859813 AND customfield_value = 'stockable'
2023-10-13	12:23:03	323	[DEBUG]	Check product language entry
2023-10-13	12:23:03	323	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859815
2023-10-13	12:23:03	323	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:03	323	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163223' AND `virtuemart_product_id` != 1859815
2023-10-13	12:23:03	323	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:03	323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859815, '1000000163223')
2023-10-13	12:23:03	323	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:03	323	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-black-matt-57-60' AND `virtuemart_product_id` != 1859815
2023-10-13	12:23:03	323	[DEBUG]	Query for ProductLang
2023-10-13	12:23:03	323	[DEBUG]	Executed store
2023-10-13	12:23:03	323	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo  / Black matt (57-60)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-black-matt-57-60' WHERE `virtuemart_product_id` = '1859815'
2023-10-13	12:23:03	323	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37729_casque_mtb_echo_.jpg
2023-10-13	12:23:03	323	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:03	323	[DEBUG]	Process image file
2023-10-13	12:23:03	323	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:03	323	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:03	323	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37729_casque_mtb_echo_.jpg
2023-10-13	12:23:03	323	[DEBUG]	Full name target: bcprisme/37729_casque_mtb_echo_.jpg
2023-10-13	12:23:04	323	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:04	323	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37729_casque_mtb_echo_.jpg'
2023-10-13	12:23:04	323	[DEBUG]	Query for Media
2023-10-13	12:23:04	323	[DEBUG]	Executed store
2023-10-13	12:23:04	323	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37729_casque_mtb_echo_.jpg',`file_url_thumb`='bcprisme/37729_casque_mtb_echo_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069263'
2023-10-13	12:23:04	323	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:04	323	[DEBUG]	Executed store
2023-10-13	12:23:04	323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859815','1069263','1')
2023-10-13	12:23:04	323	[DEBUG]	Store product image relation
2023-10-13	12:23:04	323	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:04	323	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859815 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:04	323	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:04	323	[DEBUG]	Executed store
2023-10-13	12:23:04	323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859815','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:04	323	[DEBUG]	Checking manufacturer
2023-10-13	12:23:04	323	[DEBUG]	Load a row
2023-10-13	12:23:04	323	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:04	323	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:04	323	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:04	323	[DEBUG]	Executed store
2023-10-13	12:23:04	323	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:04	323	[DEBUG]	Manufacturer exists
2023-10-13	12:23:04	323	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:04	323	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:04	323	[DEBUG]	Executed store
2023-10-13	12:23:04	323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859815','226')
2023-10-13	12:23:04	323	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:04	323	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:04	323	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859815 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:04	323	[DEBUG]	Store custom available field
2023-10-13	12:23:04	323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859815,3,'',1)
2023-10-13	12:23:04	323	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:04	323	[DEBUG]	Get existing row with customfield value 57-60
2023-10-13	12:23:04	323	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859815 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:04	323	[DEBUG]	Store custom available field
2023-10-13	12:23:04	323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859815,6,'57-60',3)
2023-10-13	12:23:04	323	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:04	323	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:04	323	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859813
2023-10-13	12:23:04	323	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:04	323	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-60\"}]|clabels=0|options={\"1859813\":[1859813,8,1,\"choisir la taille\"],\"1859814\":[\"52-57\"],\"1859815\":[\"57-60\"]}|' WHERE `virtuemart_product_id` = 1859813
2023-10-13	12:23:04	323	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:04	323	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859815
2023-10-13	12:23:04	324	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:04	324	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:04	324	[DEBUG]	Use field value for field taille
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:04	324	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:04	324	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:04	324	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:04	324	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:04	324	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:04	324	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:04	324	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:04	324	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:04	324	[DEBUG]	Use field value for field published
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:04	324	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field override
2023-10-13	12:23:04	324	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:04	324	[DEBUG]	Use field value for field slug
2023-10-13	12:23:04	324	[DEBUG]	Process line 324
2023-10-13	12:23:04	324	[DEBUG]	Load a row
2023-10-13	12:23:04	324	[DEBUG]	Processing item: 1000000163230
2023-10-13	12:23:04	324	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:04	324	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:04	324	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7176_275'
2023-10-13	12:23:04	324	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:04	324	[DEBUG]	Processing product tax
2023-10-13	12:23:04	324	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:04	324	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:04	324	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:04	324	[DEBUG]	Query for Product
2023-10-13	12:23:04	324	[DEBUG]	Executed store
2023-10-13	12:23:04	324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859813','1000000163230','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:04	324	[DEBUG]	No parent found
2023-10-13	12:23:04	324	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859813 AND customfield_value = 'stockable'
2023-10-13	12:23:04	324	[DEBUG]	Check product language entry
2023-10-13	12:23:04	324	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859816
2023-10-13	12:23:04	324	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:04	324	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163230' AND `virtuemart_product_id` != 1859816
2023-10-13	12:23:04	324	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:04	324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859816, '1000000163230')
2023-10-13	12:23:04	324	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:04	324	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-black-matt-60-64' AND `virtuemart_product_id` != 1859816
2023-10-13	12:23:04	324	[DEBUG]	Query for ProductLang
2023-10-13	12:23:04	324	[DEBUG]	Executed store
2023-10-13	12:23:04	324	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo  / Black matt (60-64)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-black-matt-60-64' WHERE `virtuemart_product_id` = '1859816'
2023-10-13	12:23:04	324	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37729_casque_mtb_echo_.jpg
2023-10-13	12:23:04	324	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:04	324	[DEBUG]	Process image file
2023-10-13	12:23:04	324	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:04	324	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:04	324	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37729_casque_mtb_echo_.jpg
2023-10-13	12:23:04	324	[DEBUG]	Full name target: bcprisme/37729_casque_mtb_echo_.jpg
2023-10-13	12:23:05	324	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:05	324	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37729_casque_mtb_echo_.jpg'
2023-10-13	12:23:05	324	[DEBUG]	Query for Media
2023-10-13	12:23:05	324	[DEBUG]	Executed store
2023-10-13	12:23:05	324	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37729_casque_mtb_echo_.jpg',`file_url_thumb`='bcprisme/37729_casque_mtb_echo_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069263'
2023-10-13	12:23:05	324	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:05	324	[DEBUG]	Executed store
2023-10-13	12:23:05	324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859816','1069263','1')
2023-10-13	12:23:05	324	[DEBUG]	Store product image relation
2023-10-13	12:23:05	324	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:05	324	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859816 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:05	324	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:05	324	[DEBUG]	Executed store
2023-10-13	12:23:05	324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859816','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:05	324	[DEBUG]	Checking manufacturer
2023-10-13	12:23:05	324	[DEBUG]	Load a row
2023-10-13	12:23:05	324	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:05	324	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:05	324	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:05	324	[DEBUG]	Executed store
2023-10-13	12:23:05	324	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:05	324	[DEBUG]	Manufacturer exists
2023-10-13	12:23:05	324	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:05	324	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:05	324	[DEBUG]	Executed store
2023-10-13	12:23:05	324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859816','226')
2023-10-13	12:23:05	324	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:05	324	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:05	324	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859816 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:05	324	[DEBUG]	Store custom available field
2023-10-13	12:23:05	324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859816,3,'',1)
2023-10-13	12:23:05	324	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:05	324	[DEBUG]	Get existing row with customfield value 60-64
2023-10-13	12:23:05	324	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859816 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:05	324	[DEBUG]	Store custom available field
2023-10-13	12:23:05	324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859816,6,'60-64',3)
2023-10-13	12:23:05	324	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:05	324	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:05	324	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859813
2023-10-13	12:23:05	324	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:05	324	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-60\\r\\n60-64\"}]|clabels=0|options={\"1859813\":[1859813,8,1,\"choisir la taille\"],\"1859814\":[\"52-57\"],\"1859815\":[\"57-60\"],\"1859816\":[\"60-64\"]}|' WHERE `virtuemart_product_id` = 1859813
2023-10-13	12:23:05	324	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:05	324	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859816
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:05	325	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field taille
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:05	325	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:05	325	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:05	325	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:05	325	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:05	325	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:05	325	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field published
2023-10-13	12:23:05	325	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:05	325	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field override
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:05	325	[DEBUG]	Use field value for field slug
2023-10-13	12:23:05	325	[DEBUG]	Process line 325
2023-10-13	12:23:05	325	[DEBUG]	Load a row
2023-10-13	12:23:05	325	[DEBUG]	Processing item: A_7176_415
2023-10-13	12:23:05	325	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:05	325	[DEBUG]	Processing product tax
2023-10-13	12:23:05	325	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:05	325	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:05	325	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:05	325	[DEBUG]	Query for Product
2023-10-13	12:23:05	325	[DEBUG]	Executed store
2023-10-13	12:23:05	325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7176_415','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:05	325	[DEBUG]	Check product language entry
2023-10-13	12:23:05	325	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859817
2023-10-13	12:23:05	325	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:05	325	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7176_415' AND `virtuemart_product_id` != 1859817
2023-10-13	12:23:05	325	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:05	325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859817, 'A_7176_415')
2023-10-13	12:23:05	325	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:05	325	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-petrol-blue' AND `virtuemart_product_id` != 1859817
2023-10-13	12:23:05	325	[DEBUG]	Query for ProductLang
2023-10-13	12:23:05	325	[DEBUG]	Executed store
2023-10-13	12:23:05	325	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit <br>Casque VTT MET Echo de premier choix pour débutants, alliance optimale entre sécurité et design pour un excellent rapport qualité-prix. Les standards de sécurité éprouvés et les technologies des modèles haut de gamme de MET ont été intégrés dans ce modèle. La partie arrière basse est prolongée pour une protection fiable en cas de chute.<br>Autres caractéristiques:<br>Visière amovible<br>Sangles réglables<br>Système de réglage Safe-T E-MID<br>Coque externe en polycarbonate et structure interne en EPS liées par le procédé In-Mould<br>N° art fourn : 720.018.006',`product_name`='MET Casque MTB Echo  / Petrol Blue',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-petrol-blue' WHERE `virtuemart_product_id` = '1859817'
2023-10-13	12:23:05	325	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:23:05	325	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:05	325	[DEBUG]	Process image file
2023-10-13	12:23:05	325	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:05	325	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:05	325	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:23:05	325	[DEBUG]	Full name target: bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:23:06	325	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:06	325	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg'
2023-10-13	12:23:06	325	[DEBUG]	Query for Media
2023-10-13	12:23:06	325	[DEBUG]	Executed store
2023-10-13	12:23:06	325	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg',`file_url_thumb`='bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239067'
2023-10-13	12:23:06	325	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:06	325	[DEBUG]	Executed store
2023-10-13	12:23:06	325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859817','239067','1')
2023-10-13	12:23:06	325	[DEBUG]	Store product image relation
2023-10-13	12:23:06	325	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:06	325	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859817 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:06	325	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:06	325	[DEBUG]	Executed store
2023-10-13	12:23:06	325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859817','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:06	325	[DEBUG]	Checking manufacturer
2023-10-13	12:23:06	325	[DEBUG]	Load a row
2023-10-13	12:23:06	325	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:06	325	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:06	325	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:06	325	[DEBUG]	Executed store
2023-10-13	12:23:06	325	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:06	325	[DEBUG]	Manufacturer exists
2023-10-13	12:23:06	325	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:06	325	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:06	325	[DEBUG]	Executed store
2023-10-13	12:23:06	325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859817','226')
2023-10-13	12:23:06	325	[DEBUG]	Find the custom field ID
2023-10-13	12:23:06	325	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:06	325	[DEBUG]	No custom field ID found
2023-10-13	12:23:06	325	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:06	325	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:23:06	325	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859817 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:06	325	[DEBUG]	Store custom available field
2023-10-13	12:23:06	325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859817,3,'9.8725',1)
2023-10-13	12:23:06	325	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:06	325	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:06	325	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859817 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:06	325	[DEBUG]	Store custom available field
2023-10-13	12:23:06	325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859817,6,'choisir la taille',3)
2023-10-13	12:23:06	325	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:06	325	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:06	325	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:06	325	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:06	325	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859817 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:06	325	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:06	325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859817,8,1)
2023-10-13	12:23:06	325	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:06	325	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859817\":[1859817,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859817
2023-10-13	12:23:06	325	[DEBUG]	Checking category
2023-10-13	12:23:06	325	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:06	325	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859817
2023-10-13	12:23:06	325	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:06	325	[DEBUG]	Executed store
2023-10-13	12:23:06	325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859817','7281')
2023-10-13	12:23:06	325	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:06	325	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859817 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:06	325	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:06	325	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859817
2023-10-13	12:23:06	326	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:06	326	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:06	326	[DEBUG]	Use field value for field taille
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:06	326	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:06	326	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:06	326	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:06	326	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:06	326	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:06	326	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:06	326	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:06	326	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:06	326	[DEBUG]	Use field value for field published
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:06	326	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field override
2023-10-13	12:23:06	326	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:06	326	[DEBUG]	Use field value for field slug
2023-10-13	12:23:06	326	[DEBUG]	Process line 326
2023-10-13	12:23:06	326	[DEBUG]	Load a row
2023-10-13	12:23:06	326	[DEBUG]	Processing item: 1000000125405
2023-10-13	12:23:06	326	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:06	326	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:06	326	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7176_415'
2023-10-13	12:23:06	326	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:06	326	[DEBUG]	Processing product tax
2023-10-13	12:23:06	326	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:06	326	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:06	326	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:06	326	[DEBUG]	Query for Product
2023-10-13	12:23:06	326	[DEBUG]	Executed store
2023-10-13	12:23:06	326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859817','1000000125405','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:06	326	[DEBUG]	No parent found
2023-10-13	12:23:06	326	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859817 AND customfield_value = 'stockable'
2023-10-13	12:23:06	326	[DEBUG]	Check product language entry
2023-10-13	12:23:06	326	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859818
2023-10-13	12:23:06	326	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:06	326	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125405' AND `virtuemart_product_id` != 1859818
2023-10-13	12:23:06	326	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:06	326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859818, '1000000125405')
2023-10-13	12:23:06	326	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:06	326	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-petrol-blue-52-57' AND `virtuemart_product_id` != 1859818
2023-10-13	12:23:06	326	[DEBUG]	Query for ProductLang
2023-10-13	12:23:06	326	[DEBUG]	Executed store
2023-10-13	12:23:06	326	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo  / Petrol Blue (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-petrol-blue-52-57' WHERE `virtuemart_product_id` = '1859818'
2023-10-13	12:23:06	326	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:23:06	326	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:06	326	[DEBUG]	Process image file
2023-10-13	12:23:06	326	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:06	326	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:06	326	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:23:06	326	[DEBUG]	Full name target: bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:23:07	326	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:07	326	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg'
2023-10-13	12:23:07	326	[DEBUG]	Query for Media
2023-10-13	12:23:07	326	[DEBUG]	Executed store
2023-10-13	12:23:07	326	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg',`file_url_thumb`='bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239067'
2023-10-13	12:23:07	326	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:07	326	[DEBUG]	Executed store
2023-10-13	12:23:07	326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859818','239067','1')
2023-10-13	12:23:07	326	[DEBUG]	Store product image relation
2023-10-13	12:23:07	326	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:07	326	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859818 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:07	326	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:07	326	[DEBUG]	Executed store
2023-10-13	12:23:07	326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859818','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:07	326	[DEBUG]	Checking manufacturer
2023-10-13	12:23:07	326	[DEBUG]	Load a row
2023-10-13	12:23:07	326	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:07	326	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:07	326	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:07	326	[DEBUG]	Executed store
2023-10-13	12:23:07	326	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:07	326	[DEBUG]	Manufacturer exists
2023-10-13	12:23:07	326	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:07	326	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:07	326	[DEBUG]	Executed store
2023-10-13	12:23:07	326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859818','226')
2023-10-13	12:23:07	326	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:07	326	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:07	326	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859818 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:07	326	[DEBUG]	Store custom available field
2023-10-13	12:23:07	326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859818,3,'',1)
2023-10-13	12:23:07	326	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:07	326	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:23:07	326	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859818 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:07	326	[DEBUG]	Store custom available field
2023-10-13	12:23:07	326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859818,6,'52-57',3)
2023-10-13	12:23:07	326	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:07	326	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:07	326	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859817
2023-10-13	12:23:07	326	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:07	326	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859817\":[1859817,8,1,\"choisir la taille\"],\"1859818\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859817
2023-10-13	12:23:07	326	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:07	326	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859818
2023-10-13	12:23:07	327	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:07	327	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:07	327	[DEBUG]	Use field value for field taille
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:07	327	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:07	327	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:07	327	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:07	327	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:07	327	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:07	327	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:07	327	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:07	327	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:07	327	[DEBUG]	Use field value for field published
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:07	327	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field override
2023-10-13	12:23:07	327	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:07	327	[DEBUG]	Use field value for field slug
2023-10-13	12:23:07	327	[DEBUG]	Process line 327
2023-10-13	12:23:07	327	[DEBUG]	Load a row
2023-10-13	12:23:07	327	[DEBUG]	Processing item: 1000000125412
2023-10-13	12:23:07	327	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:07	327	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:07	327	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7176_415'
2023-10-13	12:23:07	327	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:07	327	[DEBUG]	Processing product tax
2023-10-13	12:23:07	327	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:07	327	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:07	327	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:07	327	[DEBUG]	Query for Product
2023-10-13	12:23:07	327	[DEBUG]	Executed store
2023-10-13	12:23:07	327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859817','1000000125412','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:07	327	[DEBUG]	No parent found
2023-10-13	12:23:07	327	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859817 AND customfield_value = 'stockable'
2023-10-13	12:23:07	327	[DEBUG]	Check product language entry
2023-10-13	12:23:07	327	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859819
2023-10-13	12:23:07	327	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:07	327	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125412' AND `virtuemart_product_id` != 1859819
2023-10-13	12:23:07	327	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:07	327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859819, '1000000125412')
2023-10-13	12:23:07	327	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:07	327	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-petrol-blue-57-60' AND `virtuemart_product_id` != 1859819
2023-10-13	12:23:07	327	[DEBUG]	Query for ProductLang
2023-10-13	12:23:07	327	[DEBUG]	Executed store
2023-10-13	12:23:07	327	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo  / Petrol Blue (57-60)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-petrol-blue-57-60' WHERE `virtuemart_product_id` = '1859819'
2023-10-13	12:23:07	327	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:23:07	327	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:07	327	[DEBUG]	Process image file
2023-10-13	12:23:07	327	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:07	327	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:07	327	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:23:07	327	[DEBUG]	Full name target: bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg
2023-10-13	12:23:08	327	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:08	327	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg'
2023-10-13	12:23:08	327	[DEBUG]	Query for Media
2023-10-13	12:23:08	327	[DEBUG]	Executed store
2023-10-13	12:23:08	327	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg',`file_url_thumb`='bcprisme/34888_casque_met_mtb_echo_57-60cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239067'
2023-10-13	12:23:08	327	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:08	327	[DEBUG]	Executed store
2023-10-13	12:23:08	327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859819','239067','1')
2023-10-13	12:23:08	327	[DEBUG]	Store product image relation
2023-10-13	12:23:08	327	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:08	327	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859819 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:08	327	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:08	327	[DEBUG]	Executed store
2023-10-13	12:23:08	327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859819','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:08	327	[DEBUG]	Checking manufacturer
2023-10-13	12:23:08	327	[DEBUG]	Load a row
2023-10-13	12:23:08	327	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:08	327	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:08	327	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:08	327	[DEBUG]	Executed store
2023-10-13	12:23:08	327	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:08	327	[DEBUG]	Manufacturer exists
2023-10-13	12:23:08	327	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:08	327	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:08	327	[DEBUG]	Executed store
2023-10-13	12:23:08	327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859819','226')
2023-10-13	12:23:08	327	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:08	327	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:08	327	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859819 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:08	327	[DEBUG]	Store custom available field
2023-10-13	12:23:08	327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859819,3,'',1)
2023-10-13	12:23:08	327	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:08	327	[DEBUG]	Get existing row with customfield value 57-60
2023-10-13	12:23:08	327	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859819 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:08	327	[DEBUG]	Store custom available field
2023-10-13	12:23:08	327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859819,6,'57-60',3)
2023-10-13	12:23:08	327	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:08	327	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:08	327	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859817
2023-10-13	12:23:08	327	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:08	327	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-60\"}]|clabels=0|options={\"1859817\":[1859817,8,1,\"choisir la taille\"],\"1859818\":[\"52-57\"],\"1859819\":[\"57-60\"]}|' WHERE `virtuemart_product_id` = 1859817
2023-10-13	12:23:08	327	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:08	327	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859819
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:08	328	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field taille
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:08	328	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:08	328	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:08	328	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:08	328	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:08	328	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:08	328	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field published
2023-10-13	12:23:08	328	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:08	328	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field override
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:08	328	[DEBUG]	Use field value for field slug
2023-10-13	12:23:08	328	[DEBUG]	Process line 328
2023-10-13	12:23:08	328	[DEBUG]	Load a row
2023-10-13	12:23:08	328	[DEBUG]	Processing item: A_7176_557
2023-10-13	12:23:08	328	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:08	328	[DEBUG]	Processing product tax
2023-10-13	12:23:08	328	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:08	328	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:08	328	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:08	328	[DEBUG]	Query for Product
2023-10-13	12:23:08	328	[DEBUG]	Executed store
2023-10-13	12:23:08	328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7176_557','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:08	328	[DEBUG]	Check product language entry
2023-10-13	12:23:08	328	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859820
2023-10-13	12:23:08	328	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:08	328	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7176_557' AND `virtuemart_product_id` != 1859820
2023-10-13	12:23:08	328	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:08	328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859820, 'A_7176_557')
2023-10-13	12:23:08	328	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:08	328	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-alpine-green-orange-matt' AND `virtuemart_product_id` != 1859820
2023-10-13	12:23:08	328	[DEBUG]	Query for ProductLang
2023-10-13	12:23:08	328	[DEBUG]	Executed store
2023-10-13	12:23:08	328	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit <br>Casque VTT MET Echo de premier choix pour débutants, alliance optimale entre sécurité et design pour un excellent rapport qualité-prix. Les standards de sécurité éprouvés et les technologies des modèles haut de gamme de MET ont été intégrés dans ce modèle. La partie arrière basse est prolongée pour une protection fiable en cas de chute.<br>Autres caractéristiques:<br>Visière amovible<br>Sangles réglables<br>Système de réglage Safe-T E-MID<br>Coque externe en polycarbonate et structure interne en EPS liées par le procédé In-Mould<br>N° art fourn : 720.018.006',`product_name`='MET Casque MTB Echo  / ALPINE GREEN ORANGE MATT',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-alpine-green-orange-matt' WHERE `virtuemart_product_id` = '1859820'
2023-10-13	12:23:08	328	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36126_casque_met_mtb_echo_.png
2023-10-13	12:23:08	328	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000442
2023-10-13	12:23:08	328	[DEBUG]	Process image file
2023-10-13	12:23:08	328	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000442
2023-10-13	12:23:08	328	[DEBUG]	Mime type found: image/png
2023-10-13	12:23:08	328	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36126_casque_met_mtb_echo_.png
2023-10-13	12:23:08	328	[DEBUG]	Full name target: bcprisme/36126_casque_met_mtb_echo_.png
2023-10-13	12:23:09	328	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:09	328	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36126_casque_met_mtb_echo_.png'
2023-10-13	12:23:09	328	[DEBUG]	Query for Media
2023-10-13	12:23:09	328	[DEBUG]	Executed store
2023-10-13	12:23:09	328	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36126_casque_met_mtb_echo_.png',`file_url_thumb`='bcprisme/36126_casque_met_mtb_echo_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '457090'
2023-10-13	12:23:09	328	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:09	328	[DEBUG]	Executed store
2023-10-13	12:23:09	328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859820','457090','1')
2023-10-13	12:23:09	328	[DEBUG]	Store product image relation
2023-10-13	12:23:09	328	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:09	328	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859820 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:09	328	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:09	328	[DEBUG]	Executed store
2023-10-13	12:23:09	328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859820','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:09	328	[DEBUG]	Checking manufacturer
2023-10-13	12:23:09	328	[DEBUG]	Load a row
2023-10-13	12:23:09	328	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:09	328	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:09	328	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:09	328	[DEBUG]	Executed store
2023-10-13	12:23:09	328	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:09	328	[DEBUG]	Manufacturer exists
2023-10-13	12:23:09	328	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:09	328	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:09	328	[DEBUG]	Executed store
2023-10-13	12:23:09	328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859820','226')
2023-10-13	12:23:09	328	[DEBUG]	Find the custom field ID
2023-10-13	12:23:09	328	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:09	328	[DEBUG]	No custom field ID found
2023-10-13	12:23:09	328	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:09	328	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:23:09	328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859820 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:09	328	[DEBUG]	Store custom available field
2023-10-13	12:23:09	328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859820,3,'9.8725',1)
2023-10-13	12:23:09	328	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:09	328	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:09	328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859820 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:09	328	[DEBUG]	Store custom available field
2023-10-13	12:23:09	328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859820,6,'choisir la taille',3)
2023-10-13	12:23:09	328	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:09	328	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:09	328	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:09	328	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:09	328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859820 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:09	328	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:09	328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859820,8,1)
2023-10-13	12:23:09	328	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:09	328	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859820\":[1859820,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859820
2023-10-13	12:23:09	328	[DEBUG]	Checking category
2023-10-13	12:23:09	328	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:09	328	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859820
2023-10-13	12:23:09	328	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:09	328	[DEBUG]	Executed store
2023-10-13	12:23:09	328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859820','7281')
2023-10-13	12:23:09	328	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:09	328	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859820 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:09	328	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:09	328	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859820
2023-10-13	12:23:09	329	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:09	329	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:09	329	[DEBUG]	Use field value for field taille
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:09	329	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:09	329	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:09	329	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:09	329	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:09	329	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:09	329	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:09	329	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:09	329	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:09	329	[DEBUG]	Use field value for field published
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:09	329	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field override
2023-10-13	12:23:09	329	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:09	329	[DEBUG]	Use field value for field slug
2023-10-13	12:23:09	329	[DEBUG]	Process line 329
2023-10-13	12:23:09	329	[DEBUG]	Load a row
2023-10-13	12:23:09	329	[DEBUG]	Processing item: 1000000136715
2023-10-13	12:23:09	329	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:09	329	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:09	329	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7176_557'
2023-10-13	12:23:09	329	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:09	329	[DEBUG]	Processing product tax
2023-10-13	12:23:09	329	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:09	329	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:09	329	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:09	329	[DEBUG]	Query for Product
2023-10-13	12:23:09	329	[DEBUG]	Executed store
2023-10-13	12:23:09	329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859820','1000000136715','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:09	329	[DEBUG]	No parent found
2023-10-13	12:23:09	329	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859820 AND customfield_value = 'stockable'
2023-10-13	12:23:09	329	[DEBUG]	Check product language entry
2023-10-13	12:23:09	329	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859821
2023-10-13	12:23:09	329	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:09	329	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000136715' AND `virtuemart_product_id` != 1859821
2023-10-13	12:23:09	329	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:09	329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859821, '1000000136715')
2023-10-13	12:23:09	329	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:09	329	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-alpine-green-orange-matt-57-60' AND `virtuemart_product_id` != 1859821
2023-10-13	12:23:09	329	[DEBUG]	Query for ProductLang
2023-10-13	12:23:09	329	[DEBUG]	Executed store
2023-10-13	12:23:09	329	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo  / ALPINE GREEN ORANGE MATT (57-60)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-alpine-green-orange-matt-57-60' WHERE `virtuemart_product_id` = '1859821'
2023-10-13	12:23:09	329	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36126_casque_met_mtb_echo_.png
2023-10-13	12:23:09	329	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000442
2023-10-13	12:23:09	329	[DEBUG]	Process image file
2023-10-13	12:23:09	329	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000442
2023-10-13	12:23:09	329	[DEBUG]	Mime type found: image/png
2023-10-13	12:23:09	329	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36126_casque_met_mtb_echo_.png
2023-10-13	12:23:09	329	[DEBUG]	Full name target: bcprisme/36126_casque_met_mtb_echo_.png
2023-10-13	12:23:10	329	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:10	329	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36126_casque_met_mtb_echo_.png'
2023-10-13	12:23:10	329	[DEBUG]	Query for Media
2023-10-13	12:23:10	329	[DEBUG]	Executed store
2023-10-13	12:23:10	329	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36126_casque_met_mtb_echo_.png',`file_url_thumb`='bcprisme/36126_casque_met_mtb_echo_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '457090'
2023-10-13	12:23:10	329	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:10	329	[DEBUG]	Executed store
2023-10-13	12:23:10	329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859821','457090','1')
2023-10-13	12:23:10	329	[DEBUG]	Store product image relation
2023-10-13	12:23:10	329	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:10	329	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859821 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:10	329	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:10	329	[DEBUG]	Executed store
2023-10-13	12:23:10	329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859821','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:10	329	[DEBUG]	Checking manufacturer
2023-10-13	12:23:10	329	[DEBUG]	Load a row
2023-10-13	12:23:10	329	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:10	329	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:10	329	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:10	329	[DEBUG]	Executed store
2023-10-13	12:23:10	329	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:10	329	[DEBUG]	Manufacturer exists
2023-10-13	12:23:10	329	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:10	329	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:10	329	[DEBUG]	Executed store
2023-10-13	12:23:10	329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859821','226')
2023-10-13	12:23:10	329	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:10	329	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:10	329	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859821 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:10	329	[DEBUG]	Store custom available field
2023-10-13	12:23:10	329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859821,3,'',1)
2023-10-13	12:23:10	329	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:10	329	[DEBUG]	Get existing row with customfield value 57-60
2023-10-13	12:23:10	329	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859821 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:10	329	[DEBUG]	Store custom available field
2023-10-13	12:23:10	329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859821,6,'57-60',3)
2023-10-13	12:23:10	329	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:10	329	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:10	329	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859820
2023-10-13	12:23:10	329	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:10	329	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-60\"}]|clabels=0|options={\"1859820\":[1859820,8,1,\"choisir la taille\"],\"1859821\":[\"57-60\"]}|' WHERE `virtuemart_product_id` = 1859820
2023-10-13	12:23:10	329	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:10	329	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859821
2023-10-13	12:23:10	330	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:10	330	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:10	330	[DEBUG]	Use field value for field taille
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:10	330	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:10	330	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:10	330	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:10	330	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:10	330	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:10	330	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:10	330	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:10	330	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:10	330	[DEBUG]	Use field value for field published
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:10	330	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field override
2023-10-13	12:23:10	330	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:10	330	[DEBUG]	Use field value for field slug
2023-10-13	12:23:10	330	[DEBUG]	Process line 330
2023-10-13	12:23:10	330	[DEBUG]	Load a row
2023-10-13	12:23:10	330	[DEBUG]	Processing item: 1000000136791
2023-10-13	12:23:10	330	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:10	330	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:10	330	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7176_557'
2023-10-13	12:23:10	330	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:10	330	[DEBUG]	Processing product tax
2023-10-13	12:23:10	330	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:10	330	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:10	330	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:10	330	[DEBUG]	Query for Product
2023-10-13	12:23:10	330	[DEBUG]	Executed store
2023-10-13	12:23:10	330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859820','1000000136791','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:10	330	[DEBUG]	No parent found
2023-10-13	12:23:10	330	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859820 AND customfield_value = 'stockable'
2023-10-13	12:23:10	330	[DEBUG]	Check product language entry
2023-10-13	12:23:10	330	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859822
2023-10-13	12:23:10	330	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:10	330	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000136791' AND `virtuemart_product_id` != 1859822
2023-10-13	12:23:10	330	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:10	330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859822, '1000000136791')
2023-10-13	12:23:10	330	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:10	330	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-alpine-green-orange-matt-52-57' AND `virtuemart_product_id` != 1859822
2023-10-13	12:23:10	330	[DEBUG]	Query for ProductLang
2023-10-13	12:23:10	330	[DEBUG]	Executed store
2023-10-13	12:23:10	330	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo  / ALPINE GREEN ORANGE MATT (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-alpine-green-orange-matt-52-57' WHERE `virtuemart_product_id` = '1859822'
2023-10-13	12:23:10	330	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36126_casque_met_mtb_echo_.png
2023-10-13	12:23:10	330	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000442
2023-10-13	12:23:10	330	[DEBUG]	Process image file
2023-10-13	12:23:10	330	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000442
2023-10-13	12:23:10	330	[DEBUG]	Mime type found: image/png
2023-10-13	12:23:10	330	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36126_casque_met_mtb_echo_.png
2023-10-13	12:23:10	330	[DEBUG]	Full name target: bcprisme/36126_casque_met_mtb_echo_.png
2023-10-13	12:23:11	330	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:11	330	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36126_casque_met_mtb_echo_.png'
2023-10-13	12:23:11	330	[DEBUG]	Query for Media
2023-10-13	12:23:11	330	[DEBUG]	Executed store
2023-10-13	12:23:11	330	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36126_casque_met_mtb_echo_.png',`file_url_thumb`='bcprisme/36126_casque_met_mtb_echo_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '457090'
2023-10-13	12:23:11	330	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:11	330	[DEBUG]	Executed store
2023-10-13	12:23:11	330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859822','457090','1')
2023-10-13	12:23:11	330	[DEBUG]	Store product image relation
2023-10-13	12:23:11	330	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:11	330	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859822 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:11	330	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:11	330	[DEBUG]	Executed store
2023-10-13	12:23:11	330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859822','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:11	330	[DEBUG]	Checking manufacturer
2023-10-13	12:23:11	330	[DEBUG]	Load a row
2023-10-13	12:23:11	330	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:11	330	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:11	330	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:11	330	[DEBUG]	Executed store
2023-10-13	12:23:11	330	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:11	330	[DEBUG]	Manufacturer exists
2023-10-13	12:23:11	330	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:11	330	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:11	330	[DEBUG]	Executed store
2023-10-13	12:23:11	330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859822','226')
2023-10-13	12:23:11	330	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:11	330	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:11	330	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859822 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:11	330	[DEBUG]	Store custom available field
2023-10-13	12:23:11	330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859822,3,'',1)
2023-10-13	12:23:11	330	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:11	330	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:23:11	330	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859822 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:11	330	[DEBUG]	Store custom available field
2023-10-13	12:23:11	330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859822,6,'52-57',3)
2023-10-13	12:23:11	330	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:11	330	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:11	330	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859820
2023-10-13	12:23:11	330	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:11	330	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-60\\r\\n52-57\"}]|clabels=0|options={\"1859820\":[1859820,8,1,\"choisir la taille\"],\"1859821\":[\"57-60\"],\"1859822\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859820
2023-10-13	12:23:11	330	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:11	330	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859822
2023-10-13	12:23:11	331	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:11	331	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:11	331	[DEBUG]	Use field value for field taille
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:11	331	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:11	331	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:11	331	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:11	331	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:11	331	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:11	331	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:11	331	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:11	331	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:11	331	[DEBUG]	Use field value for field published
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:11	331	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field override
2023-10-13	12:23:11	331	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:11	331	[DEBUG]	Use field value for field slug
2023-10-13	12:23:11	331	[DEBUG]	Process line 331
2023-10-13	12:23:11	331	[DEBUG]	Load a row
2023-10-13	12:23:11	331	[DEBUG]	Processing item: 1000000163209
2023-10-13	12:23:11	331	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:11	331	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:11	331	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7176_557'
2023-10-13	12:23:11	331	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:11	331	[DEBUG]	Processing product tax
2023-10-13	12:23:11	331	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:11	331	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:11	331	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:11	331	[DEBUG]	Query for Product
2023-10-13	12:23:11	331	[DEBUG]	Executed store
2023-10-13	12:23:11	331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859820','1000000163209','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:11	331	[DEBUG]	No parent found
2023-10-13	12:23:11	331	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859820 AND customfield_value = 'stockable'
2023-10-13	12:23:11	331	[DEBUG]	Check product language entry
2023-10-13	12:23:11	331	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859823
2023-10-13	12:23:11	331	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:11	331	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163209' AND `virtuemart_product_id` != 1859823
2023-10-13	12:23:11	331	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:11	331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859823, '1000000163209')
2023-10-13	12:23:11	331	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:11	331	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-alpine-green-orange-matt-60-64' AND `virtuemart_product_id` != 1859823
2023-10-13	12:23:11	331	[DEBUG]	Query for ProductLang
2023-10-13	12:23:11	331	[DEBUG]	Executed store
2023-10-13	12:23:11	331	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo  / ALPINE GREEN ORANGE MATT (60-64)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-alpine-green-orange-matt-60-64' WHERE `virtuemart_product_id` = '1859823'
2023-10-13	12:23:11	331	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36126_casque_met_mtb_echo_.png
2023-10-13	12:23:11	331	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000442
2023-10-13	12:23:11	331	[DEBUG]	Process image file
2023-10-13	12:23:11	331	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000442
2023-10-13	12:23:11	331	[DEBUG]	Mime type found: image/png
2023-10-13	12:23:11	331	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36126_casque_met_mtb_echo_.png
2023-10-13	12:23:11	331	[DEBUG]	Full name target: bcprisme/36126_casque_met_mtb_echo_.png
2023-10-13	12:23:12	331	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:12	331	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36126_casque_met_mtb_echo_.png'
2023-10-13	12:23:12	331	[DEBUG]	Query for Media
2023-10-13	12:23:12	331	[DEBUG]	Executed store
2023-10-13	12:23:12	331	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36126_casque_met_mtb_echo_.png',`file_url_thumb`='bcprisme/36126_casque_met_mtb_echo_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '457090'
2023-10-13	12:23:12	331	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:12	331	[DEBUG]	Executed store
2023-10-13	12:23:12	331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859823','457090','1')
2023-10-13	12:23:12	331	[DEBUG]	Store product image relation
2023-10-13	12:23:12	331	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:12	331	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859823 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:12	331	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:12	331	[DEBUG]	Executed store
2023-10-13	12:23:12	331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859823','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:12	331	[DEBUG]	Checking manufacturer
2023-10-13	12:23:12	331	[DEBUG]	Load a row
2023-10-13	12:23:12	331	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:12	331	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:12	331	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:12	331	[DEBUG]	Executed store
2023-10-13	12:23:12	331	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:12	331	[DEBUG]	Manufacturer exists
2023-10-13	12:23:12	331	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:12	331	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:12	331	[DEBUG]	Executed store
2023-10-13	12:23:12	331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859823','226')
2023-10-13	12:23:12	331	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:12	331	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:12	331	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859823 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:12	331	[DEBUG]	Store custom available field
2023-10-13	12:23:12	331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859823,3,'',1)
2023-10-13	12:23:12	331	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:12	331	[DEBUG]	Get existing row with customfield value 60-64
2023-10-13	12:23:12	331	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859823 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:12	331	[DEBUG]	Store custom available field
2023-10-13	12:23:12	331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859823,6,'60-64',3)
2023-10-13	12:23:12	331	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:12	331	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:12	331	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859820
2023-10-13	12:23:12	331	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:12	331	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-60\\r\\n52-57\\r\\n60-64\"}]|clabels=0|options={\"1859820\":[1859820,8,1,\"choisir la taille\"],\"1859821\":[\"57-60\"],\"1859822\":[\"52-57\"],\"1859823\":[\"60-64\"]}|' WHERE `virtuemart_product_id` = 1859820
2023-10-13	12:23:12	331	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:12	331	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859823
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:12	332	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field taille
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:12	332	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:12	332	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:12	332	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:12	332	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:12	332	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:12	332	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field published
2023-10-13	12:23:12	332	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:12	332	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field override
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:12	332	[DEBUG]	Use field value for field slug
2023-10-13	12:23:12	332	[DEBUG]	Process line 332
2023-10-13	12:23:12	332	[DEBUG]	Load a row
2023-10-13	12:23:12	332	[DEBUG]	Processing item: A_7238_432
2023-10-13	12:23:12	332	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:12	332	[DEBUG]	Processing product tax
2023-10-13	12:23:12	332	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:12	332	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:12	332	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:12	332	[DEBUG]	Query for Product
2023-10-13	12:23:12	332	[DEBUG]	Executed store
2023-10-13	12:23:12	332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7238_432','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:12	332	[DEBUG]	Check product language entry
2023-10-13	12:23:12	332	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859824
2023-10-13	12:23:12	332	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:12	332	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7238_432' AND `virtuemart_product_id` != 1859824
2023-10-13	12:23:12	332	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:12	332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859824, 'A_7238_432')
2023-10-13	12:23:12	332	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:12	332	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-lupo-mtb-unisexe-white-black' AND `virtuemart_product_id` != 1859824
2023-10-13	12:23:12	332	[DEBUG]	Query for ProductLang
2023-10-13	12:23:12	332	[DEBUG]	Executed store
2023-10-13	12:23:12	332	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br><br>La combinaison parfaite entre design agressif, respirabilité et confort font du Lupo l\'un des casques de all-mountain les plus populaires. Avec son poids réduit, on ne le remarque pas même après plusieurs heures en selle. On peut ainsi profiter pleinement du plaisir de conduite avec la certitude d\'être bien protégé.<br><br>Caractéristiques:<br><br>Construction In-Mold Intelligent Fusion- et HES (Squelette Homothétique Intégré)<br>Système de réglage optimisé au niveau du poids Safe-T Advanced pour un ajustement horizontal et vertical<br>Sangles légères et robustes en Kevlar<br>Mousse avant en Gel 02 et mousses internes Coolmax<br>Visière réglable<br>N° art fourn : 720.007.004',`product_name`='MET Casque MET Lupo MTB unisexe  / White/Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-lupo-mtb-unisexe-white-black' WHERE `virtuemart_product_id` = '1859824'
2023-10-13	12:23:12	332	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:12	332	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:12	332	[DEBUG]	Process image file
2023-10-13	12:23:12	332	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:12	332	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:12	332	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:12	332	[DEBUG]	Full name target: bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:13	332	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:13	332	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg'
2023-10-13	12:23:13	332	[DEBUG]	Query for Media
2023-10-13	12:23:13	332	[DEBUG]	Executed store
2023-10-13	12:23:13	332	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg',`file_url_thumb`='bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239074'
2023-10-13	12:23:13	332	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:13	332	[DEBUG]	Executed store
2023-10-13	12:23:13	332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859824','239074','1')
2023-10-13	12:23:13	332	[DEBUG]	Store product image relation
2023-10-13	12:23:13	332	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:13	332	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859824 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:13	332	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:13	332	[DEBUG]	Executed store
2023-10-13	12:23:13	332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859824','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:13	332	[DEBUG]	Checking manufacturer
2023-10-13	12:23:13	332	[DEBUG]	Load a row
2023-10-13	12:23:13	332	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:13	332	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:13	332	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:13	332	[DEBUG]	Executed store
2023-10-13	12:23:13	332	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:13	332	[DEBUG]	Manufacturer exists
2023-10-13	12:23:13	332	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:13	332	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:13	332	[DEBUG]	Executed store
2023-10-13	12:23:13	332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859824','226')
2023-10-13	12:23:13	332	[DEBUG]	Find the custom field ID
2023-10-13	12:23:13	332	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:13	332	[DEBUG]	No custom field ID found
2023-10-13	12:23:13	332	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:13	332	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:23:13	332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859824 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:13	332	[DEBUG]	Store custom available field
2023-10-13	12:23:13	332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859824,3,'9.8725',1)
2023-10-13	12:23:13	332	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:13	332	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:13	332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859824 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:13	332	[DEBUG]	Store custom available field
2023-10-13	12:23:13	332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859824,6,'choisir la taille',3)
2023-10-13	12:23:13	332	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:13	332	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:13	332	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:13	332	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:13	332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859824 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:13	332	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:13	332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859824,8,1)
2023-10-13	12:23:13	332	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:13	332	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859824\":[1859824,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859824
2023-10-13	12:23:13	332	[DEBUG]	Checking category
2023-10-13	12:23:13	332	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:13	332	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859824
2023-10-13	12:23:13	332	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:13	332	[DEBUG]	Executed store
2023-10-13	12:23:13	332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859824','7281')
2023-10-13	12:23:13	332	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:13	332	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859824 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:13	332	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:13	332	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859824
2023-10-13	12:23:13	333	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:13	333	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:13	333	[DEBUG]	Use field value for field taille
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:13	333	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:13	333	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:13	333	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:13	333	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:13	333	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:13	333	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:13	333	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:13	333	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:13	333	[DEBUG]	Use field value for field published
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:13	333	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field override
2023-10-13	12:23:13	333	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:13	333	[DEBUG]	Use field value for field slug
2023-10-13	12:23:13	333	[DEBUG]	Process line 333
2023-10-13	12:23:13	333	[DEBUG]	Load a row
2023-10-13	12:23:13	333	[DEBUG]	Processing item: 1000000118964
2023-10-13	12:23:13	333	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:13	333	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:13	333	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7238_432'
2023-10-13	12:23:13	333	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:13	333	[DEBUG]	Processing product tax
2023-10-13	12:23:13	333	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:13	333	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:13	333	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:13	333	[DEBUG]	Query for Product
2023-10-13	12:23:13	333	[DEBUG]	Executed store
2023-10-13	12:23:13	333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859824','1000000118964','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:13	333	[DEBUG]	No parent found
2023-10-13	12:23:13	333	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859824 AND customfield_value = 'stockable'
2023-10-13	12:23:13	333	[DEBUG]	Check product language entry
2023-10-13	12:23:13	333	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859825
2023-10-13	12:23:13	333	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:13	333	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000118964' AND `virtuemart_product_id` != 1859825
2023-10-13	12:23:13	333	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:13	333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859825, '1000000118964')
2023-10-13	12:23:13	333	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:13	333	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-lupo-mtb-unisexe-white-black-59-62' AND `virtuemart_product_id` != 1859825
2023-10-13	12:23:13	333	[DEBUG]	Query for ProductLang
2023-10-13	12:23:13	333	[DEBUG]	Executed store
2023-10-13	12:23:13	333	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Lupo MTB unisexe  / White/Black (59-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-lupo-mtb-unisexe-white-black-59-62' WHERE `virtuemart_product_id` = '1859825'
2023-10-13	12:23:13	333	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:13	333	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:13	333	[DEBUG]	Process image file
2023-10-13	12:23:13	333	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:13	333	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:13	333	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:13	333	[DEBUG]	Full name target: bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:14	333	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:14	333	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg'
2023-10-13	12:23:14	333	[DEBUG]	Query for Media
2023-10-13	12:23:14	333	[DEBUG]	Executed store
2023-10-13	12:23:14	333	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg',`file_url_thumb`='bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239074'
2023-10-13	12:23:14	333	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:14	333	[DEBUG]	Executed store
2023-10-13	12:23:14	333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859825','239074','1')
2023-10-13	12:23:14	333	[DEBUG]	Store product image relation
2023-10-13	12:23:14	333	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:14	333	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859825 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:14	333	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:14	333	[DEBUG]	Executed store
2023-10-13	12:23:14	333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859825','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:14	333	[DEBUG]	Checking manufacturer
2023-10-13	12:23:14	333	[DEBUG]	Load a row
2023-10-13	12:23:14	333	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:14	333	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:14	333	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:14	333	[DEBUG]	Executed store
2023-10-13	12:23:14	333	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:14	333	[DEBUG]	Manufacturer exists
2023-10-13	12:23:14	333	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:14	333	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:14	333	[DEBUG]	Executed store
2023-10-13	12:23:14	333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859825','226')
2023-10-13	12:23:14	333	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:14	333	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:14	333	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859825 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:14	333	[DEBUG]	Store custom available field
2023-10-13	12:23:14	333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859825,3,'',1)
2023-10-13	12:23:14	333	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:14	333	[DEBUG]	Get existing row with customfield value 59-62
2023-10-13	12:23:14	333	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859825 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:14	333	[DEBUG]	Store custom available field
2023-10-13	12:23:14	333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859825,6,'59-62',3)
2023-10-13	12:23:14	333	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:14	333	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:14	333	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859824
2023-10-13	12:23:14	333	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:14	333	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n59-62\"}]|clabels=0|options={\"1859824\":[1859824,8,1,\"choisir la taille\"],\"1859825\":[\"59-62\"]}|' WHERE `virtuemart_product_id` = 1859824
2023-10-13	12:23:14	333	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:14	333	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859825
2023-10-13	12:23:14	334	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:14	334	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field taille
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:14	334	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:14	334	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:14	334	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:14	334	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:14	334	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:14	334	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:14	334	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:14	334	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:14	334	[DEBUG]	Use field value for field published
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:14	334	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field override
2023-10-13	12:23:14	334	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:14	334	[DEBUG]	Use field value for field slug
2023-10-13	12:23:14	334	[DEBUG]	Process line 334
2023-10-13	12:23:14	334	[DEBUG]	Load a row
2023-10-13	12:23:14	334	[DEBUG]	Processing item: 1000000118971
2023-10-13	12:23:14	334	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:14	334	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:14	334	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7238_432'
2023-10-13	12:23:14	334	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:14	334	[DEBUG]	Processing product tax
2023-10-13	12:23:14	334	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:14	334	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:14	334	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:14	334	[DEBUG]	Query for Product
2023-10-13	12:23:14	334	[DEBUG]	Executed store
2023-10-13	12:23:14	334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859824','1000000118971','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:14	334	[DEBUG]	No parent found
2023-10-13	12:23:14	334	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859824 AND customfield_value = 'stockable'
2023-10-13	12:23:14	334	[DEBUG]	Check product language entry
2023-10-13	12:23:14	334	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859826
2023-10-13	12:23:14	334	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:14	334	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000118971' AND `virtuemart_product_id` != 1859826
2023-10-13	12:23:14	334	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:14	334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859826, '1000000118971')
2023-10-13	12:23:14	334	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:14	334	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-lupo-mtb-unisexe-white-black' AND `virtuemart_product_id` != 1859826
2023-10-13	12:23:14	334	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:23:14	334	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'met-casque-met-lupo-mtb-unisexe-white-black', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'met-casque-met-lupo-mtb-unisexe-white-black' OR `slug` LIKE 'met-casque-met-lupo-mtb-unisexe-white-black-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1859826 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:23:14	334	[DEBUG]	Query for ProductLang
2023-10-13	12:23:14	334	[DEBUG]	Executed store
2023-10-13	12:23:14	334	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Lupo MTB unisexe  / White/Black ()',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-lupo-mtb-unisexe-white-black-60' WHERE `virtuemart_product_id` = '1859826'
2023-10-13	12:23:14	334	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:14	334	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:14	334	[DEBUG]	Process image file
2023-10-13	12:23:14	334	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:14	334	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:14	334	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:14	334	[DEBUG]	Full name target: bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:15	334	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:15	334	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg'
2023-10-13	12:23:15	334	[DEBUG]	Query for Media
2023-10-13	12:23:15	334	[DEBUG]	Executed store
2023-10-13	12:23:15	334	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg',`file_url_thumb`='bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239074'
2023-10-13	12:23:15	334	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:15	334	[DEBUG]	Executed store
2023-10-13	12:23:15	334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859826','239074','1')
2023-10-13	12:23:15	334	[DEBUG]	Store product image relation
2023-10-13	12:23:15	334	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:15	334	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859826 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:15	334	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:15	334	[DEBUG]	Executed store
2023-10-13	12:23:15	334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859826','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:15	334	[DEBUG]	Checking manufacturer
2023-10-13	12:23:15	334	[DEBUG]	Load a row
2023-10-13	12:23:15	334	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:15	334	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:15	334	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:15	334	[DEBUG]	Executed store
2023-10-13	12:23:15	334	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:15	334	[DEBUG]	Manufacturer exists
2023-10-13	12:23:15	334	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:15	334	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:15	334	[DEBUG]	Executed store
2023-10-13	12:23:15	334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859826','226')
2023-10-13	12:23:15	334	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:15	334	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:15	334	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859826 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:15	334	[DEBUG]	Store custom available field
2023-10-13	12:23:15	334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859826,3,'',1)
2023-10-13	12:23:15	334	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:15	334	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:15	334	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859826 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:15	334	[DEBUG]	Store custom available field
2023-10-13	12:23:15	334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859826,6,'',3)
2023-10-13	12:23:15	334	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:15	334	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:15	334	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859824
2023-10-13	12:23:15	334	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:15	334	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n59-62\"}]|clabels=0|options={\"1859824\":[1859824,8,1,\"choisir la taille\"],\"1859825\":[\"59-62\"],\"1859826\":[\"0\"]}|' WHERE `virtuemart_product_id` = 1859824
2023-10-13	12:23:15	334	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:15	334	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859826
2023-10-13	12:23:15	335	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:15	335	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:15	335	[DEBUG]	Use field value for field taille
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:15	335	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:15	335	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:15	335	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:15	335	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:15	335	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:15	335	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:15	335	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:15	335	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:15	335	[DEBUG]	Use field value for field published
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:15	335	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field override
2023-10-13	12:23:15	335	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:15	335	[DEBUG]	Use field value for field slug
2023-10-13	12:23:15	335	[DEBUG]	Process line 335
2023-10-13	12:23:15	335	[DEBUG]	Load a row
2023-10-13	12:23:15	335	[DEBUG]	Processing item: 010801519025185110E200007
2023-10-13	12:23:15	335	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:15	335	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:15	335	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7238_432'
2023-10-13	12:23:15	335	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:15	335	[DEBUG]	Processing product tax
2023-10-13	12:23:15	335	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:15	335	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:15	335	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:15	335	[DEBUG]	Query for Product
2023-10-13	12:23:15	335	[DEBUG]	Executed store
2023-10-13	12:23:15	335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859824','010801519025185110E200007','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:15	335	[DEBUG]	No parent found
2023-10-13	12:23:15	335	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859824 AND customfield_value = 'stockable'
2023-10-13	12:23:15	335	[DEBUG]	Check product language entry
2023-10-13	12:23:15	335	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859827
2023-10-13	12:23:15	335	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:15	335	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '010801519025185110E200007' AND `virtuemart_product_id` != 1859827
2023-10-13	12:23:15	335	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:15	335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859827, '010801519025185110E200007')
2023-10-13	12:23:15	335	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:15	335	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-lupo-mtb-unisexe-white-black-54-58' AND `virtuemart_product_id` != 1859827
2023-10-13	12:23:15	335	[DEBUG]	Query for ProductLang
2023-10-13	12:23:15	335	[DEBUG]	Executed store
2023-10-13	12:23:15	335	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Lupo MTB unisexe  / White/Black (54-58)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-lupo-mtb-unisexe-white-black-54-58' WHERE `virtuemart_product_id` = '1859827'
2023-10-13	12:23:15	335	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:15	335	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:15	335	[DEBUG]	Process image file
2023-10-13	12:23:15	335	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:15	335	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:15	335	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:15	335	[DEBUG]	Full name target: bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:16	335	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:16	335	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg'
2023-10-13	12:23:16	335	[DEBUG]	Query for Media
2023-10-13	12:23:16	335	[DEBUG]	Executed store
2023-10-13	12:23:16	335	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg',`file_url_thumb`='bcprisme/34422_casque_met_lupo_mtb_unisexe_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239074'
2023-10-13	12:23:16	335	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:16	335	[DEBUG]	Executed store
2023-10-13	12:23:16	335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859827','239074','1')
2023-10-13	12:23:16	335	[DEBUG]	Store product image relation
2023-10-13	12:23:16	335	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:16	335	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859827 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:16	335	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:16	335	[DEBUG]	Executed store
2023-10-13	12:23:16	335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859827','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:16	335	[DEBUG]	Checking manufacturer
2023-10-13	12:23:16	335	[DEBUG]	Load a row
2023-10-13	12:23:16	335	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:16	335	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:16	335	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:16	335	[DEBUG]	Executed store
2023-10-13	12:23:16	335	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:16	335	[DEBUG]	Manufacturer exists
2023-10-13	12:23:16	335	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:16	335	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:16	335	[DEBUG]	Executed store
2023-10-13	12:23:16	335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859827','226')
2023-10-13	12:23:16	335	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:16	335	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:16	335	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859827 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:16	335	[DEBUG]	Store custom available field
2023-10-13	12:23:16	335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859827,3,'',1)
2023-10-13	12:23:16	335	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:16	335	[DEBUG]	Get existing row with customfield value 54-58
2023-10-13	12:23:16	335	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859827 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:16	335	[DEBUG]	Store custom available field
2023-10-13	12:23:16	335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859827,6,'54-58',3)
2023-10-13	12:23:16	335	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:16	335	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:16	335	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859824
2023-10-13	12:23:16	335	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:16	335	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n59-62\\r\\n54-58\"}]|clabels=0|options={\"1859824\":[1859824,8,1,\"choisir la taille\"],\"1859825\":[\"59-62\"],\"1859826\":[\"0\"],\"1859827\":[\"54-58\"]}|' WHERE `virtuemart_product_id` = 1859824
2023-10-13	12:23:16	335	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:16	335	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859827
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:16	336	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field taille
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:16	336	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:16	336	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:16	336	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:16	336	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:16	336	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:16	336	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field published
2023-10-13	12:23:16	336	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:16	336	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field override
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:16	336	[DEBUG]	Use field value for field slug
2023-10-13	12:23:16	336	[DEBUG]	Process line 336
2023-10-13	12:23:16	336	[DEBUG]	Load a row
2023-10-13	12:23:16	336	[DEBUG]	Processing item: A_7238_434
2023-10-13	12:23:16	336	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:16	336	[DEBUG]	Processing product tax
2023-10-13	12:23:16	336	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:16	336	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:16	336	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:16	336	[DEBUG]	Query for Product
2023-10-13	12:23:16	336	[DEBUG]	Executed store
2023-10-13	12:23:16	336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7238_434','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:16	336	[DEBUG]	Check product language entry
2023-10-13	12:23:16	336	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859828
2023-10-13	12:23:16	336	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:16	336	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7238_434' AND `virtuemart_product_id` != 1859828
2023-10-13	12:23:16	336	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:16	336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859828, 'A_7238_434')
2023-10-13	12:23:16	336	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:16	336	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-lupo-mtb-unisexe-safety-yellow-black' AND `virtuemart_product_id` != 1859828
2023-10-13	12:23:16	336	[DEBUG]	Query for ProductLang
2023-10-13	12:23:16	336	[DEBUG]	Executed store
2023-10-13	12:23:16	336	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br><br>La combinaison parfaite entre design agressif, respirabilité et confort font du Lupo l\'un des casques de all-mountain les plus populaires. Avec son poids réduit, on ne le remarque pas même après plusieurs heures en selle. On peut ainsi profiter pleinement du plaisir de conduite avec la certitude d\'être bien protégé.<br><br>Caractéristiques:<br><br>Construction In-Mold Intelligent Fusion- et HES (Squelette Homothétique Intégré)<br>Système de réglage optimisé au niveau du poids Safe-T Advanced pour un ajustement horizontal et vertical<br>Sangles légères et robustes en Kevlar<br>Mousse avant en Gel 02 et mousses internes Coolmax<br>Visière réglable<br>N° art fourn : 720.007.004',`product_name`='MET Casque MET Lupo MTB unisexe  / Safety Yellow/Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-lupo-mtb-unisexe-safety-yellow-black' WHERE `virtuemart_product_id` = '1859828'
2023-10-13	12:23:16	336	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:16	336	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:16	336	[DEBUG]	Process image file
2023-10-13	12:23:16	336	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:16	336	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:16	336	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:16	336	[DEBUG]	Full name target: bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:17	336	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:17	336	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg'
2023-10-13	12:23:17	336	[DEBUG]	Query for Media
2023-10-13	12:23:17	336	[DEBUG]	Executed store
2023-10-13	12:23:17	336	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg',`file_url_thumb`='bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239078'
2023-10-13	12:23:17	336	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:17	336	[DEBUG]	Executed store
2023-10-13	12:23:17	336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859828','239078','1')
2023-10-13	12:23:17	336	[DEBUG]	Store product image relation
2023-10-13	12:23:17	336	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:17	336	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859828 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:17	336	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:17	336	[DEBUG]	Executed store
2023-10-13	12:23:17	336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859828','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:17	336	[DEBUG]	Checking manufacturer
2023-10-13	12:23:17	336	[DEBUG]	Load a row
2023-10-13	12:23:17	336	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:17	336	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:17	336	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:17	336	[DEBUG]	Executed store
2023-10-13	12:23:17	336	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:17	336	[DEBUG]	Manufacturer exists
2023-10-13	12:23:17	336	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:17	336	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:17	336	[DEBUG]	Executed store
2023-10-13	12:23:17	336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859828','226')
2023-10-13	12:23:17	336	[DEBUG]	Find the custom field ID
2023-10-13	12:23:17	336	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:17	336	[DEBUG]	No custom field ID found
2023-10-13	12:23:17	336	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:17	336	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:23:17	336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859828 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:17	336	[DEBUG]	Store custom available field
2023-10-13	12:23:17	336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859828,3,'9.8725',1)
2023-10-13	12:23:17	336	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:17	336	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:17	336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859828 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:17	336	[DEBUG]	Store custom available field
2023-10-13	12:23:17	336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859828,6,'choisir la taille',3)
2023-10-13	12:23:17	336	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:17	336	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:17	336	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:17	336	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:17	336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859828 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:17	336	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:17	336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859828,8,1)
2023-10-13	12:23:17	336	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:17	336	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859828\":[1859828,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859828
2023-10-13	12:23:17	336	[DEBUG]	Checking category
2023-10-13	12:23:17	336	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:17	336	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859828
2023-10-13	12:23:17	336	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:17	336	[DEBUG]	Executed store
2023-10-13	12:23:17	336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859828','7281')
2023-10-13	12:23:17	336	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:17	336	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859828 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:17	336	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:17	336	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859828
2023-10-13	12:23:17	337	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:17	337	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field taille
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:17	337	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:17	337	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:17	337	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:17	337	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:17	337	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:17	337	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:17	337	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:17	337	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:17	337	[DEBUG]	Use field value for field published
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:17	337	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field override
2023-10-13	12:23:17	337	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:17	337	[DEBUG]	Use field value for field slug
2023-10-13	12:23:17	337	[DEBUG]	Process line 337
2023-10-13	12:23:17	337	[DEBUG]	Load a row
2023-10-13	12:23:17	337	[DEBUG]	Processing item: 1000000118988
2023-10-13	12:23:17	337	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:17	337	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:17	337	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7238_434'
2023-10-13	12:23:17	337	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:17	337	[DEBUG]	Processing product tax
2023-10-13	12:23:17	337	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:17	337	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:17	337	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:17	337	[DEBUG]	Query for Product
2023-10-13	12:23:17	337	[DEBUG]	Executed store
2023-10-13	12:23:17	337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859828','1000000118988','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:17	337	[DEBUG]	No parent found
2023-10-13	12:23:17	337	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859828 AND customfield_value = 'stockable'
2023-10-13	12:23:17	337	[DEBUG]	Check product language entry
2023-10-13	12:23:17	337	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859829
2023-10-13	12:23:17	337	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:17	337	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000118988' AND `virtuemart_product_id` != 1859829
2023-10-13	12:23:17	337	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:17	337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859829, '1000000118988')
2023-10-13	12:23:17	337	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:17	337	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-lupo-mtb-unisexe-safety-yellow-black' AND `virtuemart_product_id` != 1859829
2023-10-13	12:23:17	337	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:23:17	337	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'met-casque-met-lupo-mtb-unisexe-safety-yellow-black', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'met-casque-met-lupo-mtb-unisexe-safety-yellow-black' OR `slug` LIKE 'met-casque-met-lupo-mtb-unisexe-safety-yellow-black-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1859829 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:23:17	337	[DEBUG]	Query for ProductLang
2023-10-13	12:23:17	337	[DEBUG]	Executed store
2023-10-13	12:23:17	337	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Lupo MTB unisexe  / Safety Yellow/Black ()',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-lupo-mtb-unisexe-safety-yellow-black-1' WHERE `virtuemart_product_id` = '1859829'
2023-10-13	12:23:17	337	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:17	337	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:17	337	[DEBUG]	Process image file
2023-10-13	12:23:17	337	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:17	337	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:17	337	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:17	337	[DEBUG]	Full name target: bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:18	337	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:18	337	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg'
2023-10-13	12:23:18	337	[DEBUG]	Query for Media
2023-10-13	12:23:18	337	[DEBUG]	Executed store
2023-10-13	12:23:18	337	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg',`file_url_thumb`='bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239078'
2023-10-13	12:23:18	337	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:18	337	[DEBUG]	Executed store
2023-10-13	12:23:18	337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859829','239078','1')
2023-10-13	12:23:18	337	[DEBUG]	Store product image relation
2023-10-13	12:23:18	337	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:18	337	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859829 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:18	337	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:18	337	[DEBUG]	Executed store
2023-10-13	12:23:18	337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859829','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:18	337	[DEBUG]	Checking manufacturer
2023-10-13	12:23:18	337	[DEBUG]	Load a row
2023-10-13	12:23:18	337	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:18	337	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:18	337	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:18	337	[DEBUG]	Executed store
2023-10-13	12:23:18	337	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:18	337	[DEBUG]	Manufacturer exists
2023-10-13	12:23:18	337	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:18	337	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:18	337	[DEBUG]	Executed store
2023-10-13	12:23:18	337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859829','226')
2023-10-13	12:23:18	337	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:18	337	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:18	337	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859829 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:18	337	[DEBUG]	Store custom available field
2023-10-13	12:23:18	337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859829,3,'',1)
2023-10-13	12:23:18	337	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:18	337	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:18	337	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859829 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:18	337	[DEBUG]	Store custom available field
2023-10-13	12:23:18	337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859829,6,'',3)
2023-10-13	12:23:18	337	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:18	337	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:18	337	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859828
2023-10-13	12:23:18	337	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:18	337	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859828\":[1859828,8,1,\"choisir la taille\"],\"1859829\":[\"0\"]}|' WHERE `virtuemart_product_id` = 1859828
2023-10-13	12:23:18	337	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:18	337	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859829
2023-10-13	12:23:18	338	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:18	338	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:18	338	[DEBUG]	Use field value for field taille
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:18	338	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:18	338	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:18	338	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:18	338	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:18	338	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:18	338	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:18	338	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:18	338	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:18	338	[DEBUG]	Use field value for field published
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:18	338	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field override
2023-10-13	12:23:18	338	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:18	338	[DEBUG]	Use field value for field slug
2023-10-13	12:23:18	338	[DEBUG]	Process line 338
2023-10-13	12:23:18	338	[DEBUG]	Load a row
2023-10-13	12:23:18	338	[DEBUG]	Processing item: 1000000118995
2023-10-13	12:23:18	338	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:18	338	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:18	338	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7238_434'
2023-10-13	12:23:18	338	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:18	338	[DEBUG]	Processing product tax
2023-10-13	12:23:18	338	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:18	338	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:18	338	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:18	338	[DEBUG]	Query for Product
2023-10-13	12:23:18	338	[DEBUG]	Executed store
2023-10-13	12:23:18	338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859828','1000000118995','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:18	338	[DEBUG]	No parent found
2023-10-13	12:23:18	338	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859828 AND customfield_value = 'stockable'
2023-10-13	12:23:18	338	[DEBUG]	Check product language entry
2023-10-13	12:23:18	338	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859830
2023-10-13	12:23:18	338	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:18	338	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000118995' AND `virtuemart_product_id` != 1859830
2023-10-13	12:23:18	338	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:18	338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859830, '1000000118995')
2023-10-13	12:23:18	338	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:18	338	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-lupo-mtb-unisexe-safety-yellow-black-59-62' AND `virtuemart_product_id` != 1859830
2023-10-13	12:23:18	338	[DEBUG]	Query for ProductLang
2023-10-13	12:23:18	338	[DEBUG]	Executed store
2023-10-13	12:23:18	338	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Lupo MTB unisexe  / Safety Yellow/Black (59-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-lupo-mtb-unisexe-safety-yellow-black-59-62' WHERE `virtuemart_product_id` = '1859830'
2023-10-13	12:23:18	338	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:18	338	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:18	338	[DEBUG]	Process image file
2023-10-13	12:23:18	338	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:18	338	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:18	338	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:18	338	[DEBUG]	Full name target: bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:19	338	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:19	338	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg'
2023-10-13	12:23:19	338	[DEBUG]	Query for Media
2023-10-13	12:23:19	338	[DEBUG]	Executed store
2023-10-13	12:23:19	338	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg',`file_url_thumb`='bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239078'
2023-10-13	12:23:19	338	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:19	338	[DEBUG]	Executed store
2023-10-13	12:23:19	338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859830','239078','1')
2023-10-13	12:23:19	338	[DEBUG]	Store product image relation
2023-10-13	12:23:19	338	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:19	338	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859830 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:19	338	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:19	338	[DEBUG]	Executed store
2023-10-13	12:23:19	338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859830','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:19	338	[DEBUG]	Checking manufacturer
2023-10-13	12:23:19	338	[DEBUG]	Load a row
2023-10-13	12:23:19	338	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:19	338	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:19	338	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:19	338	[DEBUG]	Executed store
2023-10-13	12:23:19	338	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:19	338	[DEBUG]	Manufacturer exists
2023-10-13	12:23:19	338	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:19	338	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:19	338	[DEBUG]	Executed store
2023-10-13	12:23:19	338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859830','226')
2023-10-13	12:23:19	338	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:19	338	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:19	338	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859830 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:19	338	[DEBUG]	Store custom available field
2023-10-13	12:23:19	338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859830,3,'',1)
2023-10-13	12:23:19	338	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:19	338	[DEBUG]	Get existing row with customfield value 59-62
2023-10-13	12:23:19	338	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859830 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:19	338	[DEBUG]	Store custom available field
2023-10-13	12:23:19	338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859830,6,'59-62',3)
2023-10-13	12:23:19	338	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:19	338	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:19	338	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859828
2023-10-13	12:23:19	338	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:19	338	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n59-62\"}]|clabels=0|options={\"1859828\":[1859828,8,1,\"choisir la taille\"],\"1859829\":[\"0\"],\"1859830\":[\"59-62\"]}|' WHERE `virtuemart_product_id` = 1859828
2023-10-13	12:23:19	338	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:19	338	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859830
2023-10-13	12:23:19	339	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:19	339	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:19	339	[DEBUG]	Use field value for field taille
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:19	339	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:19	339	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:19	339	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:19	339	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:19	339	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:19	339	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:19	339	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:19	339	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:19	339	[DEBUG]	Use field value for field published
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:19	339	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field override
2023-10-13	12:23:19	339	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:19	339	[DEBUG]	Use field value for field slug
2023-10-13	12:23:19	339	[DEBUG]	Process line 339
2023-10-13	12:23:19	339	[DEBUG]	Load a row
2023-10-13	12:23:19	339	[DEBUG]	Processing item: 1000000119008
2023-10-13	12:23:19	339	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:19	339	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:19	339	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7238_434'
2023-10-13	12:23:19	339	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:19	339	[DEBUG]	Processing product tax
2023-10-13	12:23:19	339	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:19	339	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:19	339	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:19	339	[DEBUG]	Query for Product
2023-10-13	12:23:19	339	[DEBUG]	Executed store
2023-10-13	12:23:19	339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859828','1000000119008','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:19	339	[DEBUG]	No parent found
2023-10-13	12:23:19	339	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859828 AND customfield_value = 'stockable'
2023-10-13	12:23:19	339	[DEBUG]	Check product language entry
2023-10-13	12:23:19	339	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859831
2023-10-13	12:23:19	339	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:19	339	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000119008' AND `virtuemart_product_id` != 1859831
2023-10-13	12:23:19	339	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:19	339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859831, '1000000119008')
2023-10-13	12:23:19	339	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:19	339	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-lupo-mtb-unisexe-safety-yellow-black-54-58' AND `virtuemart_product_id` != 1859831
2023-10-13	12:23:19	339	[DEBUG]	Query for ProductLang
2023-10-13	12:23:19	339	[DEBUG]	Executed store
2023-10-13	12:23:19	339	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Lupo MTB unisexe  / Safety Yellow/Black (54-58)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-lupo-mtb-unisexe-safety-yellow-black-54-58' WHERE `virtuemart_product_id` = '1859831'
2023-10-13	12:23:19	339	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:19	339	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:19	339	[DEBUG]	Process image file
2023-10-13	12:23:19	339	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:19	339	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:19	339	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:19	339	[DEBUG]	Full name target: bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:20	339	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:20	339	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg'
2023-10-13	12:23:20	339	[DEBUG]	Query for Media
2023-10-13	12:23:20	339	[DEBUG]	Executed store
2023-10-13	12:23:20	339	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg',`file_url_thumb`='bcprisme/34424_casque_met_lupo_mtb_unisexe_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239078'
2023-10-13	12:23:20	339	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:20	339	[DEBUG]	Executed store
2023-10-13	12:23:20	339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859831','239078','1')
2023-10-13	12:23:20	339	[DEBUG]	Store product image relation
2023-10-13	12:23:20	339	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:20	339	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859831 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:20	339	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:20	339	[DEBUG]	Executed store
2023-10-13	12:23:20	339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859831','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:20	339	[DEBUG]	Checking manufacturer
2023-10-13	12:23:20	339	[DEBUG]	Load a row
2023-10-13	12:23:20	339	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:20	339	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:20	339	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:20	339	[DEBUG]	Executed store
2023-10-13	12:23:20	339	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:20	339	[DEBUG]	Manufacturer exists
2023-10-13	12:23:20	339	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:20	339	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:20	339	[DEBUG]	Executed store
2023-10-13	12:23:20	339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859831','226')
2023-10-13	12:23:20	339	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:20	339	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:20	339	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859831 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:20	339	[DEBUG]	Store custom available field
2023-10-13	12:23:20	339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859831,3,'',1)
2023-10-13	12:23:20	339	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:20	339	[DEBUG]	Get existing row with customfield value 54-58
2023-10-13	12:23:20	339	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859831 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:20	339	[DEBUG]	Store custom available field
2023-10-13	12:23:20	339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859831,6,'54-58',3)
2023-10-13	12:23:20	339	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:20	339	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:20	339	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859828
2023-10-13	12:23:20	339	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:20	339	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n59-62\\r\\n54-58\"}]|clabels=0|options={\"1859828\":[1859828,8,1,\"choisir la taille\"],\"1859829\":[\"0\"],\"1859830\":[\"59-62\"],\"1859831\":[\"54-58\"]}|' WHERE `virtuemart_product_id` = 1859828
2023-10-13	12:23:20	339	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:20	339	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859831
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:20	340	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field taille
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:20	340	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:20	340	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:20	340	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:20	340	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:20	340	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:20	340	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field published
2023-10-13	12:23:20	340	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:20	340	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field override
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:20	340	[DEBUG]	Use field value for field slug
2023-10-13	12:23:20	340	[DEBUG]	Process line 340
2023-10-13	12:23:20	340	[DEBUG]	Load a row
2023-10-13	12:23:20	340	[DEBUG]	Processing item: A_7238_556
2023-10-13	12:23:20	340	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:20	340	[DEBUG]	Processing product tax
2023-10-13	12:23:20	340	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:20	340	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:20	340	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:20	340	[DEBUG]	Query for Product
2023-10-13	12:23:20	340	[DEBUG]	Executed store
2023-10-13	12:23:20	340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7238_556','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:20	340	[DEBUG]	Check product language entry
2023-10-13	12:23:20	340	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859832
2023-10-13	12:23:20	340	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:20	340	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7238_556' AND `virtuemart_product_id` != 1859832
2023-10-13	12:23:20	340	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:20	340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859832, 'A_7238_556')
2023-10-13	12:23:20	340	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:20	340	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-lupo-mtb-unisexe-avio-texture-matt' AND `virtuemart_product_id` != 1859832
2023-10-13	12:23:20	340	[DEBUG]	Query for ProductLang
2023-10-13	12:23:20	340	[DEBUG]	Executed store
2023-10-13	12:23:20	340	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br><br>La combinaison parfaite entre design agressif, respirabilité et confort font du Lupo l\'un des casques de all-mountain les plus populaires. Avec son poids réduit, on ne le remarque pas même après plusieurs heures en selle. On peut ainsi profiter pleinement du plaisir de conduite avec la certitude d\'être bien protégé.<br><br>Caractéristiques:<br><br>Construction In-Mold Intelligent Fusion- et HES (Squelette Homothétique Intégré)<br>Système de réglage optimisé au niveau du poids Safe-T Advanced pour un ajustement horizontal et vertical<br>Sangles légères et robustes en Kevlar<br>Mousse avant en Gel 02 et mousses internes Coolmax<br>Visière réglable<br>N° art fourn : 720.007.004',`product_name`='MET Casque MET Lupo MTB unisexe  / AVIO TEXTURE MATT',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-lupo-mtb-unisexe-avio-texture-matt' WHERE `virtuemart_product_id` = '1859832'
2023-10-13	12:23:20	340	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36123_casque_met_lupo_mtb_unisexe_.png
2023-10-13	12:23:20	340	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000362
2023-10-13	12:23:20	340	[DEBUG]	Process image file
2023-10-13	12:23:20	340	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000362
2023-10-13	12:23:20	340	[DEBUG]	Mime type found: image/png
2023-10-13	12:23:20	340	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36123_casque_met_lupo_mtb_unisexe_.png
2023-10-13	12:23:20	340	[DEBUG]	Full name target: bcprisme/36123_casque_met_lupo_mtb_unisexe_.png
2023-10-13	12:23:21	340	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:21	340	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36123_casque_met_lupo_mtb_unisexe_.png'
2023-10-13	12:23:21	340	[DEBUG]	Query for Media
2023-10-13	12:23:21	340	[DEBUG]	Executed store
2023-10-13	12:23:21	340	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36123_casque_met_lupo_mtb_unisexe_.png',`file_url_thumb`='bcprisme/36123_casque_met_lupo_mtb_unisexe_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '457113'
2023-10-13	12:23:21	340	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:21	340	[DEBUG]	Executed store
2023-10-13	12:23:21	340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859832','457113','1')
2023-10-13	12:23:21	340	[DEBUG]	Store product image relation
2023-10-13	12:23:21	340	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:21	340	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859832 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:21	340	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:21	340	[DEBUG]	Executed store
2023-10-13	12:23:21	340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859832','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:21	340	[DEBUG]	Checking manufacturer
2023-10-13	12:23:21	340	[DEBUG]	Load a row
2023-10-13	12:23:21	340	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:21	340	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:21	340	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:21	340	[DEBUG]	Executed store
2023-10-13	12:23:21	340	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:21	340	[DEBUG]	Manufacturer exists
2023-10-13	12:23:21	340	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:21	340	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:21	340	[DEBUG]	Executed store
2023-10-13	12:23:21	340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859832','226')
2023-10-13	12:23:21	340	[DEBUG]	Find the custom field ID
2023-10-13	12:23:21	340	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:21	340	[DEBUG]	No custom field ID found
2023-10-13	12:23:21	340	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:21	340	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:23:21	340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859832 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:21	340	[DEBUG]	Store custom available field
2023-10-13	12:23:21	340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859832,3,'9.8725',1)
2023-10-13	12:23:21	340	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:21	340	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:21	340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859832 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:21	340	[DEBUG]	Store custom available field
2023-10-13	12:23:21	340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859832,6,'choisir la taille',3)
2023-10-13	12:23:21	340	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:21	340	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:21	340	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:21	340	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:21	340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859832 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:21	340	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:21	340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859832,8,1)
2023-10-13	12:23:21	340	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:21	340	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859832\":[1859832,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859832
2023-10-13	12:23:21	340	[DEBUG]	Checking category
2023-10-13	12:23:21	340	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:21	340	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859832
2023-10-13	12:23:21	340	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:21	340	[DEBUG]	Executed store
2023-10-13	12:23:21	340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859832','7281')
2023-10-13	12:23:21	340	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:21	340	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859832 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:21	340	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:21	340	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859832
2023-10-13	12:23:21	341	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:21	341	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:21	341	[DEBUG]	Use field value for field taille
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:21	341	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:21	341	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:21	341	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:21	341	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:21	341	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:21	341	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:21	341	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:21	341	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:21	341	[DEBUG]	Use field value for field published
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:21	341	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field override
2023-10-13	12:23:21	341	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:21	341	[DEBUG]	Use field value for field slug
2023-10-13	12:23:21	341	[DEBUG]	Process line 341
2023-10-13	12:23:21	341	[DEBUG]	Load a row
2023-10-13	12:23:21	341	[DEBUG]	Processing item: 010801519025188210E200008
2023-10-13	12:23:21	341	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:21	341	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:21	341	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7238_556'
2023-10-13	12:23:21	341	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:21	341	[DEBUG]	Processing product tax
2023-10-13	12:23:21	341	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:21	341	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:21	341	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:21	341	[DEBUG]	Query for Product
2023-10-13	12:23:21	341	[DEBUG]	Executed store
2023-10-13	12:23:21	341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859832','010801519025188210E200008','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:21	341	[DEBUG]	No parent found
2023-10-13	12:23:21	341	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859832 AND customfield_value = 'stockable'
2023-10-13	12:23:21	341	[DEBUG]	Check product language entry
2023-10-13	12:23:21	341	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859833
2023-10-13	12:23:21	341	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:21	341	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '010801519025188210E200008' AND `virtuemart_product_id` != 1859833
2023-10-13	12:23:21	341	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:21	341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859833, '010801519025188210E200008')
2023-10-13	12:23:21	341	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:21	341	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-lupo-mtb-unisexe-avio-texture-matt-59-62' AND `virtuemart_product_id` != 1859833
2023-10-13	12:23:21	341	[DEBUG]	Query for ProductLang
2023-10-13	12:23:21	341	[DEBUG]	Executed store
2023-10-13	12:23:21	341	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Lupo MTB unisexe  / AVIO TEXTURE MATT (59-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-lupo-mtb-unisexe-avio-texture-matt-59-62' WHERE `virtuemart_product_id` = '1859833'
2023-10-13	12:23:21	341	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36123_casque_met_lupo_mtb_unisexe_.png
2023-10-13	12:23:21	341	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000362
2023-10-13	12:23:21	341	[DEBUG]	Process image file
2023-10-13	12:23:21	341	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000362
2023-10-13	12:23:21	341	[DEBUG]	Mime type found: image/png
2023-10-13	12:23:21	341	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36123_casque_met_lupo_mtb_unisexe_.png
2023-10-13	12:23:21	341	[DEBUG]	Full name target: bcprisme/36123_casque_met_lupo_mtb_unisexe_.png
2023-10-13	12:23:22	341	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:22	341	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36123_casque_met_lupo_mtb_unisexe_.png'
2023-10-13	12:23:22	341	[DEBUG]	Query for Media
2023-10-13	12:23:22	341	[DEBUG]	Executed store
2023-10-13	12:23:22	341	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36123_casque_met_lupo_mtb_unisexe_.png',`file_url_thumb`='bcprisme/36123_casque_met_lupo_mtb_unisexe_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '457113'
2023-10-13	12:23:22	341	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:22	341	[DEBUG]	Executed store
2023-10-13	12:23:22	341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859833','457113','1')
2023-10-13	12:23:22	341	[DEBUG]	Store product image relation
2023-10-13	12:23:22	341	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:22	341	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859833 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:22	341	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:22	341	[DEBUG]	Executed store
2023-10-13	12:23:22	341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859833','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:22	341	[DEBUG]	Checking manufacturer
2023-10-13	12:23:22	341	[DEBUG]	Load a row
2023-10-13	12:23:22	341	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:22	341	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:22	341	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:22	341	[DEBUG]	Executed store
2023-10-13	12:23:22	341	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:22	341	[DEBUG]	Manufacturer exists
2023-10-13	12:23:22	341	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:22	341	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:22	341	[DEBUG]	Executed store
2023-10-13	12:23:22	341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859833','226')
2023-10-13	12:23:22	341	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:22	341	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:22	341	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859833 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:22	341	[DEBUG]	Store custom available field
2023-10-13	12:23:22	341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859833,3,'',1)
2023-10-13	12:23:22	341	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:22	341	[DEBUG]	Get existing row with customfield value 59-62
2023-10-13	12:23:22	341	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859833 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:22	341	[DEBUG]	Store custom available field
2023-10-13	12:23:22	341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859833,6,'59-62',3)
2023-10-13	12:23:22	341	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:22	341	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:22	341	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859832
2023-10-13	12:23:22	341	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:22	341	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n59-62\"}]|clabels=0|options={\"1859832\":[1859832,8,1,\"choisir la taille\"],\"1859833\":[\"59-62\"]}|' WHERE `virtuemart_product_id` = 1859832
2023-10-13	12:23:22	341	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:22	341	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859833
2023-10-13	12:23:22	342	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:22	342	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:22	342	[DEBUG]	Use field value for field taille
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:22	342	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:22	342	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:22	342	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:22	342	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:22	342	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:22	342	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:22	342	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:22	342	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:22	342	[DEBUG]	Use field value for field published
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:22	342	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field override
2023-10-13	12:23:22	342	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:22	342	[DEBUG]	Use field value for field slug
2023-10-13	12:23:22	342	[DEBUG]	Process line 342
2023-10-13	12:23:22	342	[DEBUG]	Load a row
2023-10-13	12:23:22	342	[DEBUG]	Processing item: 010801519025187510E200007
2023-10-13	12:23:22	342	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:22	342	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:22	342	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7238_556'
2023-10-13	12:23:22	342	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:22	342	[DEBUG]	Processing product tax
2023-10-13	12:23:22	342	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:22	342	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:22	342	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:22	342	[DEBUG]	Query for Product
2023-10-13	12:23:22	342	[DEBUG]	Executed store
2023-10-13	12:23:22	342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859832','010801519025187510E200007','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:22	342	[DEBUG]	No parent found
2023-10-13	12:23:22	342	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859832 AND customfield_value = 'stockable'
2023-10-13	12:23:22	342	[DEBUG]	Check product language entry
2023-10-13	12:23:22	342	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859834
2023-10-13	12:23:22	342	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:22	342	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '010801519025187510E200007' AND `virtuemart_product_id` != 1859834
2023-10-13	12:23:22	342	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:22	342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859834, '010801519025187510E200007')
2023-10-13	12:23:22	342	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:22	342	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-lupo-mtb-unisexe-avio-texture-matt-54-58' AND `virtuemart_product_id` != 1859834
2023-10-13	12:23:22	342	[DEBUG]	Query for ProductLang
2023-10-13	12:23:22	342	[DEBUG]	Executed store
2023-10-13	12:23:22	342	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Lupo MTB unisexe  / AVIO TEXTURE MATT (54-58)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-lupo-mtb-unisexe-avio-texture-matt-54-58' WHERE `virtuemart_product_id` = '1859834'
2023-10-13	12:23:22	342	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36123_casque_met_lupo_mtb_unisexe_.png
2023-10-13	12:23:22	342	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000362
2023-10-13	12:23:22	342	[DEBUG]	Process image file
2023-10-13	12:23:22	342	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000362
2023-10-13	12:23:22	342	[DEBUG]	Mime type found: image/png
2023-10-13	12:23:22	342	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36123_casque_met_lupo_mtb_unisexe_.png
2023-10-13	12:23:22	342	[DEBUG]	Full name target: bcprisme/36123_casque_met_lupo_mtb_unisexe_.png
2023-10-13	12:23:23	342	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:23	342	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36123_casque_met_lupo_mtb_unisexe_.png'
2023-10-13	12:23:23	342	[DEBUG]	Query for Media
2023-10-13	12:23:23	342	[DEBUG]	Executed store
2023-10-13	12:23:23	342	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36123_casque_met_lupo_mtb_unisexe_.png',`file_url_thumb`='bcprisme/36123_casque_met_lupo_mtb_unisexe_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '457113'
2023-10-13	12:23:23	342	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:23	342	[DEBUG]	Executed store
2023-10-13	12:23:23	342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859834','457113','1')
2023-10-13	12:23:23	342	[DEBUG]	Store product image relation
2023-10-13	12:23:23	342	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:23	342	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859834 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:23	342	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:23	342	[DEBUG]	Executed store
2023-10-13	12:23:23	342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859834','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:23	342	[DEBUG]	Checking manufacturer
2023-10-13	12:23:23	342	[DEBUG]	Load a row
2023-10-13	12:23:23	342	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:23	342	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:23	342	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:23	342	[DEBUG]	Executed store
2023-10-13	12:23:23	342	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:23	342	[DEBUG]	Manufacturer exists
2023-10-13	12:23:23	342	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:23	342	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:23	342	[DEBUG]	Executed store
2023-10-13	12:23:23	342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859834','226')
2023-10-13	12:23:23	342	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:23	342	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:23	342	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859834 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:23	342	[DEBUG]	Store custom available field
2023-10-13	12:23:23	342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859834,3,'',1)
2023-10-13	12:23:23	342	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:23	342	[DEBUG]	Get existing row with customfield value 54-58
2023-10-13	12:23:23	342	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859834 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:23	342	[DEBUG]	Store custom available field
2023-10-13	12:23:23	342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859834,6,'54-58',3)
2023-10-13	12:23:23	342	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:23	342	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:23	342	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859832
2023-10-13	12:23:23	342	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:23	342	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n59-62\\r\\n54-58\"}]|clabels=0|options={\"1859832\":[1859832,8,1,\"choisir la taille\"],\"1859833\":[\"59-62\"],\"1859834\":[\"54-58\"]}|' WHERE `virtuemart_product_id` = 1859832
2023-10-13	12:23:23	342	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:23	342	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859834
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:23	343	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field taille
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:23	343	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:23	343	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:23	343	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:23	343	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:23	343	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:23	343	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field published
2023-10-13	12:23:23	343	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:23	343	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field override
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:23	343	[DEBUG]	Use field value for field slug
2023-10-13	12:23:23	343	[DEBUG]	Process line 343
2023-10-13	12:23:23	343	[DEBUG]	Load a row
2023-10-13	12:23:23	343	[DEBUG]	Processing item: A_7238_563
2023-10-13	12:23:23	343	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:23	343	[DEBUG]	Processing product tax
2023-10-13	12:23:23	343	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:23	343	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:23	343	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:23	343	[DEBUG]	Query for Product
2023-10-13	12:23:23	343	[DEBUG]	Executed store
2023-10-13	12:23:23	343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7238_563','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:23	343	[DEBUG]	Check product language entry
2023-10-13	12:23:23	343	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859835
2023-10-13	12:23:23	343	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:23	343	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7238_563' AND `virtuemart_product_id` != 1859835
2023-10-13	12:23:23	343	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:23	343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859835, 'A_7238_563')
2023-10-13	12:23:23	343	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:23	343	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-lupo-mtb-unisexe-orange-black-matt' AND `virtuemart_product_id` != 1859835
2023-10-13	12:23:23	343	[DEBUG]	Query for ProductLang
2023-10-13	12:23:23	343	[DEBUG]	Executed store
2023-10-13	12:23:23	343	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br><br>La combinaison parfaite entre design agressif, respirabilité et confort font du Lupo l\'un des casques de all-mountain les plus populaires. Avec son poids réduit, on ne le remarque pas même après plusieurs heures en selle. On peut ainsi profiter pleinement du plaisir de conduite avec la certitude d\'être bien protégé.<br><br>Caractéristiques:<br><br>Construction In-Mold Intelligent Fusion- et HES (Squelette Homothétique Intégré)<br>Système de réglage optimisé au niveau du poids Safe-T Advanced pour un ajustement horizontal et vertical<br>Sangles légères et robustes en Kevlar<br>Mousse avant en Gel 02 et mousses internes Coolmax<br>Visière réglable<br>N° art fourn : 720.007.004',`product_name`='MET Casque MET Lupo MTB unisexe  / Orange/Black/Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-lupo-mtb-unisexe-orange-black-matt' WHERE `virtuemart_product_id` = '1859835'
2023-10-13	12:23:23	343	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:23	343	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:23:23	343	[DEBUG]	Process image file
2023-10-13	12:23:23	343	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:23:23	343	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:23	343	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:23	343	[DEBUG]	Full name target: bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:24	343	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:24	343	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg'
2023-10-13	12:23:24	343	[DEBUG]	Query for Media
2023-10-13	12:23:24	343	[DEBUG]	Executed store
2023-10-13	12:23:24	343	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg',`file_url_thumb`='bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '624893'
2023-10-13	12:23:24	343	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:24	343	[DEBUG]	Executed store
2023-10-13	12:23:24	343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859835','624893','1')
2023-10-13	12:23:24	343	[DEBUG]	Store product image relation
2023-10-13	12:23:24	343	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:24	343	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859835 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:24	343	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:24	343	[DEBUG]	Executed store
2023-10-13	12:23:24	343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859835','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:24	343	[DEBUG]	Checking manufacturer
2023-10-13	12:23:24	343	[DEBUG]	Load a row
2023-10-13	12:23:24	343	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:24	343	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:24	343	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:24	343	[DEBUG]	Executed store
2023-10-13	12:23:24	343	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:24	343	[DEBUG]	Manufacturer exists
2023-10-13	12:23:24	343	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:24	343	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:24	343	[DEBUG]	Executed store
2023-10-13	12:23:24	343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859835','226')
2023-10-13	12:23:24	343	[DEBUG]	Find the custom field ID
2023-10-13	12:23:24	343	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:24	343	[DEBUG]	No custom field ID found
2023-10-13	12:23:24	343	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:24	343	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:23:24	343	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859835 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:24	343	[DEBUG]	Store custom available field
2023-10-13	12:23:24	343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859835,3,'9.8725',1)
2023-10-13	12:23:24	343	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:24	343	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:24	343	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859835 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:24	343	[DEBUG]	Store custom available field
2023-10-13	12:23:24	343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859835,6,'choisir la taille',3)
2023-10-13	12:23:24	343	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:24	343	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:24	343	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:24	343	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:24	343	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859835 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:24	343	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:24	343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859835,8,1)
2023-10-13	12:23:24	343	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:24	343	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859835\":[1859835,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859835
2023-10-13	12:23:24	343	[DEBUG]	Checking category
2023-10-13	12:23:24	343	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:24	343	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859835
2023-10-13	12:23:24	343	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:24	343	[DEBUG]	Executed store
2023-10-13	12:23:24	343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859835','7281')
2023-10-13	12:23:24	343	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:24	343	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859835 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:24	343	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:24	343	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859835
2023-10-13	12:23:24	344	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:24	344	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:24	344	[DEBUG]	Use field value for field taille
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:24	344	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:24	344	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:24	344	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:24	344	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:24	344	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:24	344	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:24	344	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:24	344	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:24	344	[DEBUG]	Use field value for field published
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:24	344	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field override
2023-10-13	12:23:24	344	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:24	344	[DEBUG]	Use field value for field slug
2023-10-13	12:23:24	344	[DEBUG]	Process line 344
2023-10-13	12:23:24	344	[DEBUG]	Load a row
2023-10-13	12:23:24	344	[DEBUG]	Processing item: 1000000136807
2023-10-13	12:23:24	344	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:24	344	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:24	344	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7238_563'
2023-10-13	12:23:24	344	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:24	344	[DEBUG]	Processing product tax
2023-10-13	12:23:24	344	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:24	344	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:24	344	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:24	344	[DEBUG]	Query for Product
2023-10-13	12:23:24	344	[DEBUG]	Executed store
2023-10-13	12:23:24	344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859835','1000000136807','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:24	344	[DEBUG]	No parent found
2023-10-13	12:23:24	344	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859835 AND customfield_value = 'stockable'
2023-10-13	12:23:24	344	[DEBUG]	Check product language entry
2023-10-13	12:23:24	344	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859836
2023-10-13	12:23:24	344	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:24	344	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000136807' AND `virtuemart_product_id` != 1859836
2023-10-13	12:23:24	344	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:24	344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859836, '1000000136807')
2023-10-13	12:23:24	344	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:24	344	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-lupo-mtb-unisexe-orange-black-matt-59-62' AND `virtuemart_product_id` != 1859836
2023-10-13	12:23:24	344	[DEBUG]	Query for ProductLang
2023-10-13	12:23:24	344	[DEBUG]	Executed store
2023-10-13	12:23:24	344	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Lupo MTB unisexe  / Orange/Black/Matt (59-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-lupo-mtb-unisexe-orange-black-matt-59-62' WHERE `virtuemart_product_id` = '1859836'
2023-10-13	12:23:24	344	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:24	344	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:23:24	344	[DEBUG]	Process image file
2023-10-13	12:23:24	344	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:23:24	344	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:24	344	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:24	344	[DEBUG]	Full name target: bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:25	344	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:25	344	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg'
2023-10-13	12:23:25	344	[DEBUG]	Query for Media
2023-10-13	12:23:25	344	[DEBUG]	Executed store
2023-10-13	12:23:25	344	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg',`file_url_thumb`='bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '624893'
2023-10-13	12:23:25	344	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:25	344	[DEBUG]	Executed store
2023-10-13	12:23:25	344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859836','624893','1')
2023-10-13	12:23:25	344	[DEBUG]	Store product image relation
2023-10-13	12:23:25	344	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:25	344	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859836 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:25	344	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:25	344	[DEBUG]	Executed store
2023-10-13	12:23:25	344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859836','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:25	344	[DEBUG]	Checking manufacturer
2023-10-13	12:23:25	344	[DEBUG]	Load a row
2023-10-13	12:23:25	344	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:25	344	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:25	344	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:25	344	[DEBUG]	Executed store
2023-10-13	12:23:25	344	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:25	344	[DEBUG]	Manufacturer exists
2023-10-13	12:23:25	344	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:25	344	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:25	344	[DEBUG]	Executed store
2023-10-13	12:23:25	344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859836','226')
2023-10-13	12:23:25	344	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:25	344	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:25	344	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859836 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:25	344	[DEBUG]	Store custom available field
2023-10-13	12:23:25	344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859836,3,'',1)
2023-10-13	12:23:25	344	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:25	344	[DEBUG]	Get existing row with customfield value 59-62
2023-10-13	12:23:25	344	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859836 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:25	344	[DEBUG]	Store custom available field
2023-10-13	12:23:25	344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859836,6,'59-62',3)
2023-10-13	12:23:25	344	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:25	344	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:25	344	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859835
2023-10-13	12:23:25	344	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:25	344	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n59-62\"}]|clabels=0|options={\"1859835\":[1859835,8,1,\"choisir la taille\"],\"1859836\":[\"59-62\"]}|' WHERE `virtuemart_product_id` = 1859835
2023-10-13	12:23:25	344	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:25	344	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859836
2023-10-13	12:23:25	345	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:25	345	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:25	345	[DEBUG]	Use field value for field taille
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:25	345	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:25	345	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:25	345	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:25	345	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:25	345	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:25	345	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:25	345	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:25	345	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:25	345	[DEBUG]	Use field value for field published
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:25	345	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field override
2023-10-13	12:23:25	345	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:25	345	[DEBUG]	Use field value for field slug
2023-10-13	12:23:25	345	[DEBUG]	Process line 345
2023-10-13	12:23:25	345	[DEBUG]	Load a row
2023-10-13	12:23:25	345	[DEBUG]	Processing item: 1000000136814
2023-10-13	12:23:25	345	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:25	345	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:25	345	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7238_563'
2023-10-13	12:23:25	345	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:25	345	[DEBUG]	Processing product tax
2023-10-13	12:23:25	345	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:25	345	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:25	345	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:25	345	[DEBUG]	Query for Product
2023-10-13	12:23:25	345	[DEBUG]	Executed store
2023-10-13	12:23:25	345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859835','1000000136814','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:25	345	[DEBUG]	No parent found
2023-10-13	12:23:25	345	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859835 AND customfield_value = 'stockable'
2023-10-13	12:23:25	345	[DEBUG]	Check product language entry
2023-10-13	12:23:25	345	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859837
2023-10-13	12:23:25	345	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:25	345	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000136814' AND `virtuemart_product_id` != 1859837
2023-10-13	12:23:25	345	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:25	345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859837, '1000000136814')
2023-10-13	12:23:25	345	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:25	345	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-lupo-mtb-unisexe-orange-black-matt-54-58' AND `virtuemart_product_id` != 1859837
2023-10-13	12:23:25	345	[DEBUG]	Query for ProductLang
2023-10-13	12:23:25	345	[DEBUG]	Executed store
2023-10-13	12:23:25	345	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Lupo MTB unisexe  / Orange/Black/Matt (54-58)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-lupo-mtb-unisexe-orange-black-matt-54-58' WHERE `virtuemart_product_id` = '1859837'
2023-10-13	12:23:25	345	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:25	345	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:23:25	345	[DEBUG]	Process image file
2023-10-13	12:23:25	345	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:23:25	345	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:25	345	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:25	345	[DEBUG]	Full name target: bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg
2023-10-13	12:23:26	345	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:26	345	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg'
2023-10-13	12:23:26	345	[DEBUG]	Query for Media
2023-10-13	12:23:26	345	[DEBUG]	Executed store
2023-10-13	12:23:26	345	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg',`file_url_thumb`='bcprisme/36132_casque_met_lupo_mtb_unisexe_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '624893'
2023-10-13	12:23:26	345	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:26	345	[DEBUG]	Executed store
2023-10-13	12:23:26	345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859837','624893','1')
2023-10-13	12:23:26	345	[DEBUG]	Store product image relation
2023-10-13	12:23:26	345	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:26	345	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859837 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:26	345	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:26	345	[DEBUG]	Executed store
2023-10-13	12:23:26	345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859837','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:26	345	[DEBUG]	Checking manufacturer
2023-10-13	12:23:26	345	[DEBUG]	Load a row
2023-10-13	12:23:26	345	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:26	345	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:26	345	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:26	345	[DEBUG]	Executed store
2023-10-13	12:23:26	345	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:26	345	[DEBUG]	Manufacturer exists
2023-10-13	12:23:26	345	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:26	345	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:26	345	[DEBUG]	Executed store
2023-10-13	12:23:26	345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859837','226')
2023-10-13	12:23:26	345	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:26	345	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:26	345	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859837 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:26	345	[DEBUG]	Store custom available field
2023-10-13	12:23:26	345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859837,3,'',1)
2023-10-13	12:23:26	345	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:26	345	[DEBUG]	Get existing row with customfield value 54-58
2023-10-13	12:23:26	345	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859837 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:26	345	[DEBUG]	Store custom available field
2023-10-13	12:23:26	345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859837,6,'54-58',3)
2023-10-13	12:23:26	345	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:26	345	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:26	345	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859835
2023-10-13	12:23:26	345	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:26	345	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n59-62\\r\\n54-58\"}]|clabels=0|options={\"1859835\":[1859835,8,1,\"choisir la taille\"],\"1859836\":[\"59-62\"],\"1859837\":[\"54-58\"]}|' WHERE `virtuemart_product_id` = 1859835
2023-10-13	12:23:26	345	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:26	345	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859837
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:26	346	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field taille
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:26	346	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:26	346	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:26	346	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:26	346	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:26	346	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:26	346	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:26	346	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field published
2023-10-13	12:23:26	346	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:26	346	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field override
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:26	346	[DEBUG]	Use field value for field slug
2023-10-13	12:23:26	346	[DEBUG]	Process line 346
2023-10-13	12:23:26	346	[DEBUG]	Load a row
2023-10-13	12:23:26	346	[DEBUG]	Processing item: A_7311_588
2023-10-13	12:23:26	346	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:26	346	[DEBUG]	Processing product tax
2023-10-13	12:23:26	346	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:26	346	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:26	346	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:26	346	[DEBUG]	Query for Product
2023-10-13	12:23:26	346	[DEBUG]	Executed store
2023-10-13	12:23:26	346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7311_588','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:26	346	[DEBUG]	Check product language entry
2023-10-13	12:23:26	346	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859838
2023-10-13	12:23:26	346	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:26	346	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7311_588' AND `virtuemart_product_id` != 1859838
2023-10-13	12:23:26	346	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:26	346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859838, 'A_7311_588')
2023-10-13	12:23:26	346	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:26	346	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-comox-57-62cm-dirtblue-matt' AND `virtuemart_product_id` != 1859838
2023-10-13	12:23:26	346	[DEBUG]	Query for ProductLang
2023-10-13	12:23:26	346	[DEBUG]	Executed store
2023-10-13	12:23:26	346	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Sûr, léger, à visière courte, style incontesté. Le COMOX est un casque flexible et confortable sur le trail. Pour tous les trails. La combinaison de son ergonomie, son style branché et une protection élevée répond à presque toutes les exigences. Le COMOX est extrêmement bien aéré, ce qui rend possible son utilisation pour l’enduro, l’allmountain et les circuits. Le choix te revient. Avec le Run System Ergo Flex 2, le casque COMOX est équipé d’un système d’ajustement léger et confortable. La structure en filigrane épouse parfaitement la forme de la tête et offre davantage de protection. Les cyclistes sont les défenseurs de l\'adage qui affirme que sur le vélo, aucun jour n\'est mauvais. C\'est vrai avec le casque d’enduro COMOX.<br>N° art fourn : A9751380',`product_name`='Alpina Casque VTT COMOX 57-62cm / Dirtblue Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-comox-57-62cm-dirtblue-matt' WHERE `virtuemart_product_id` = '1859838'
2023-10-13	12:23:26	346	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36467_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:26	346	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:26	346	[DEBUG]	Process image file
2023-10-13	12:23:26	346	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:26	346	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:26	346	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36467_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:26	346	[DEBUG]	Full name target: bcprisme/36467_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:27	346	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:27	346	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36467_casque_vtt_comox_57-62cm.jpg'
2023-10-13	12:23:27	346	[DEBUG]	Query for Media
2023-10-13	12:23:27	346	[DEBUG]	Executed store
2023-10-13	12:23:27	346	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36467_casque_vtt_comox_57-62cm.jpg',`file_url_thumb`='bcprisme/36467_casque_vtt_comox_57-62cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585343'
2023-10-13	12:23:27	346	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:27	346	[DEBUG]	Executed store
2023-10-13	12:23:27	346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859838','585343','1')
2023-10-13	12:23:27	346	[DEBUG]	Store product image relation
2023-10-13	12:23:27	346	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:27	346	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859838 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:27	346	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:27	346	[DEBUG]	Executed store
2023-10-13	12:23:27	346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859838','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:27	346	[DEBUG]	Checking manufacturer
2023-10-13	12:23:27	346	[DEBUG]	Load a row
2023-10-13	12:23:27	346	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:27	346	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:27	346	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:27	346	[DEBUG]	Executed store
2023-10-13	12:23:27	346	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:27	346	[DEBUG]	Manufacturer exists
2023-10-13	12:23:27	346	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:23:27	346	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:27	346	[DEBUG]	Executed store
2023-10-13	12:23:27	346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859838','171')
2023-10-13	12:23:27	346	[DEBUG]	Find the custom field ID
2023-10-13	12:23:27	346	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:27	346	[DEBUG]	No custom field ID found
2023-10-13	12:23:27	346	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:27	346	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:23:27	346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859838 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:27	346	[DEBUG]	Store custom available field
2023-10-13	12:23:27	346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859838,3,'0',1)
2023-10-13	12:23:27	346	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:27	346	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:27	346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859838 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:27	346	[DEBUG]	Store custom available field
2023-10-13	12:23:27	346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859838,6,'choisir la taille',3)
2023-10-13	12:23:27	346	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:27	346	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:27	346	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:27	346	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:27	346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859838 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:27	346	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:27	346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859838,8,1)
2023-10-13	12:23:27	346	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:27	346	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859838\":[1859838,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859838
2023-10-13	12:23:27	346	[DEBUG]	Checking category
2023-10-13	12:23:27	346	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:27	346	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859838
2023-10-13	12:23:27	346	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:27	346	[DEBUG]	Executed store
2023-10-13	12:23:27	346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859838','7281')
2023-10-13	12:23:27	346	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:27	346	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859838 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:27	346	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:27	346	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859838
2023-10-13	12:23:27	347	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:27	347	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:27	347	[DEBUG]	Use field value for field taille
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:27	347	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:27	347	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:27	347	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:27	347	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:27	347	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:27	347	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:27	347	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:27	347	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:27	347	[DEBUG]	Use field value for field published
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:27	347	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field override
2023-10-13	12:23:27	347	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:27	347	[DEBUG]	Use field value for field slug
2023-10-13	12:23:27	347	[DEBUG]	Process line 347
2023-10-13	12:23:27	347	[DEBUG]	Load a row
2023-10-13	12:23:27	347	[DEBUG]	Processing item: 1000000140941
2023-10-13	12:23:27	347	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:27	347	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:27	347	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7311_588'
2023-10-13	12:23:27	347	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:27	347	[DEBUG]	Processing product tax
2023-10-13	12:23:27	347	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:27	347	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:27	347	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:27	347	[DEBUG]	Query for Product
2023-10-13	12:23:27	347	[DEBUG]	Executed store
2023-10-13	12:23:27	347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859838','1000000140941','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:27	347	[DEBUG]	No parent found
2023-10-13	12:23:27	347	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859838 AND customfield_value = 'stockable'
2023-10-13	12:23:27	347	[DEBUG]	Check product language entry
2023-10-13	12:23:27	347	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859839
2023-10-13	12:23:27	347	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:27	347	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000140941' AND `virtuemart_product_id` != 1859839
2023-10-13	12:23:27	347	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:27	347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859839, '1000000140941')
2023-10-13	12:23:27	347	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:27	347	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-comox-57-62cm-dirtblue-matt-52-57' AND `virtuemart_product_id` != 1859839
2023-10-13	12:23:27	347	[DEBUG]	Query for ProductLang
2023-10-13	12:23:27	347	[DEBUG]	Executed store
2023-10-13	12:23:27	347	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT COMOX 57-62cm / Dirtblue Matt (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-comox-57-62cm-dirtblue-matt-52-57' WHERE `virtuemart_product_id` = '1859839'
2023-10-13	12:23:27	347	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36467_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:27	347	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:27	347	[DEBUG]	Process image file
2023-10-13	12:23:27	347	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:27	347	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:27	347	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36467_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:27	347	[DEBUG]	Full name target: bcprisme/36467_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:28	347	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:28	347	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36467_casque_vtt_comox_57-62cm.jpg'
2023-10-13	12:23:28	347	[DEBUG]	Query for Media
2023-10-13	12:23:28	347	[DEBUG]	Executed store
2023-10-13	12:23:28	347	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36467_casque_vtt_comox_57-62cm.jpg',`file_url_thumb`='bcprisme/36467_casque_vtt_comox_57-62cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585343'
2023-10-13	12:23:28	347	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:28	347	[DEBUG]	Executed store
2023-10-13	12:23:28	347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859839','585343','1')
2023-10-13	12:23:28	347	[DEBUG]	Store product image relation
2023-10-13	12:23:28	347	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:28	347	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859839 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:28	347	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:28	347	[DEBUG]	Executed store
2023-10-13	12:23:28	347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859839','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:28	347	[DEBUG]	Checking manufacturer
2023-10-13	12:23:28	347	[DEBUG]	Load a row
2023-10-13	12:23:28	347	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:28	347	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:28	347	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:28	347	[DEBUG]	Executed store
2023-10-13	12:23:28	347	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:28	347	[DEBUG]	Manufacturer exists
2023-10-13	12:23:28	347	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:23:28	347	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:28	347	[DEBUG]	Executed store
2023-10-13	12:23:28	347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859839','171')
2023-10-13	12:23:28	347	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:28	347	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:28	347	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859839 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:28	347	[DEBUG]	Store custom available field
2023-10-13	12:23:28	347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859839,3,'',1)
2023-10-13	12:23:28	347	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:28	347	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:23:28	347	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859839 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:28	347	[DEBUG]	Store custom available field
2023-10-13	12:23:28	347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859839,6,'52-57',3)
2023-10-13	12:23:28	347	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:28	347	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:28	347	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859838
2023-10-13	12:23:28	347	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:28	347	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859838\":[1859838,8,1,\"choisir la taille\"],\"1859839\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859838
2023-10-13	12:23:28	347	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:28	347	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859839
2023-10-13	12:23:28	348	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:28	348	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:28	348	[DEBUG]	Use field value for field taille
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:28	348	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:28	348	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:28	348	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:28	348	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:28	348	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:28	348	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:28	348	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:28	348	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:28	348	[DEBUG]	Use field value for field published
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:28	348	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field override
2023-10-13	12:23:28	348	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:28	348	[DEBUG]	Use field value for field slug
2023-10-13	12:23:28	348	[DEBUG]	Process line 348
2023-10-13	12:23:28	348	[DEBUG]	Load a row
2023-10-13	12:23:28	348	[DEBUG]	Processing item: 1000000152920
2023-10-13	12:23:28	348	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:28	348	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:28	348	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7311_588'
2023-10-13	12:23:28	348	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:28	348	[DEBUG]	Processing product tax
2023-10-13	12:23:28	348	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:28	348	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:28	348	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:28	348	[DEBUG]	Query for Product
2023-10-13	12:23:28	348	[DEBUG]	Executed store
2023-10-13	12:23:28	348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859838','1000000152920','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:28	348	[DEBUG]	No parent found
2023-10-13	12:23:28	348	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859838 AND customfield_value = 'stockable'
2023-10-13	12:23:28	348	[DEBUG]	Check product language entry
2023-10-13	12:23:28	348	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859840
2023-10-13	12:23:28	348	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:28	348	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152920' AND `virtuemart_product_id` != 1859840
2023-10-13	12:23:28	348	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:28	348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859840, '1000000152920')
2023-10-13	12:23:28	348	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:28	348	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-comox-57-62cm-dirtblue-matt-57-60' AND `virtuemart_product_id` != 1859840
2023-10-13	12:23:28	348	[DEBUG]	Query for ProductLang
2023-10-13	12:23:28	348	[DEBUG]	Executed store
2023-10-13	12:23:28	348	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT COMOX 57-62cm / Dirtblue Matt (57.60)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-comox-57-62cm-dirtblue-matt-57-60' WHERE `virtuemart_product_id` = '1859840'
2023-10-13	12:23:28	348	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36467_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:28	348	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:28	348	[DEBUG]	Process image file
2023-10-13	12:23:28	348	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:28	348	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:28	348	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36467_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:28	348	[DEBUG]	Full name target: bcprisme/36467_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:29	348	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:29	348	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36467_casque_vtt_comox_57-62cm.jpg'
2023-10-13	12:23:29	348	[DEBUG]	Query for Media
2023-10-13	12:23:29	348	[DEBUG]	Executed store
2023-10-13	12:23:29	348	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36467_casque_vtt_comox_57-62cm.jpg',`file_url_thumb`='bcprisme/36467_casque_vtt_comox_57-62cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585343'
2023-10-13	12:23:29	348	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:29	348	[DEBUG]	Executed store
2023-10-13	12:23:29	348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859840','585343','1')
2023-10-13	12:23:29	348	[DEBUG]	Store product image relation
2023-10-13	12:23:29	348	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:29	348	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859840 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:29	348	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:29	348	[DEBUG]	Executed store
2023-10-13	12:23:29	348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859840','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:29	348	[DEBUG]	Checking manufacturer
2023-10-13	12:23:29	348	[DEBUG]	Load a row
2023-10-13	12:23:29	348	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:29	348	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:29	348	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:29	348	[DEBUG]	Executed store
2023-10-13	12:23:29	348	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:29	348	[DEBUG]	Manufacturer exists
2023-10-13	12:23:29	348	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:23:29	348	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:29	348	[DEBUG]	Executed store
2023-10-13	12:23:29	348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859840','171')
2023-10-13	12:23:29	348	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:29	348	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:29	348	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859840 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:29	348	[DEBUG]	Store custom available field
2023-10-13	12:23:29	348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859840,3,'',1)
2023-10-13	12:23:29	348	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:29	348	[DEBUG]	Get existing row with customfield value 57.60
2023-10-13	12:23:29	348	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859840 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:29	348	[DEBUG]	Store custom available field
2023-10-13	12:23:29	348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859840,6,'57.60',3)
2023-10-13	12:23:29	348	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:29	348	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:29	348	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859838
2023-10-13	12:23:29	348	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:29	348	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57.60\"}]|clabels=0|options={\"1859838\":[1859838,8,1,\"choisir la taille\"],\"1859839\":[\"52-57\"],\"1859840\":[\"57.60\"]}|' WHERE `virtuemart_product_id` = 1859838
2023-10-13	12:23:29	348	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:29	348	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859840
2023-10-13	12:23:29	349	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:29	349	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:29	349	[DEBUG]	Use field value for field taille
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:29	349	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:29	349	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:29	349	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:29	349	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:29	349	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:29	349	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:29	349	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:29	349	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:29	349	[DEBUG]	Use field value for field published
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:29	349	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field override
2023-10-13	12:23:29	349	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:29	349	[DEBUG]	Use field value for field slug
2023-10-13	12:23:29	349	[DEBUG]	Process line 349
2023-10-13	12:23:29	349	[DEBUG]	Load a row
2023-10-13	12:23:29	349	[DEBUG]	Processing item: 1000000152937
2023-10-13	12:23:29	349	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:29	349	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:29	349	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7311_588'
2023-10-13	12:23:29	349	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:29	349	[DEBUG]	Processing product tax
2023-10-13	12:23:29	349	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:29	349	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:29	349	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:29	349	[DEBUG]	Query for Product
2023-10-13	12:23:29	349	[DEBUG]	Executed store
2023-10-13	12:23:29	349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859838','1000000152937','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:29	349	[DEBUG]	No parent found
2023-10-13	12:23:29	349	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859838 AND customfield_value = 'stockable'
2023-10-13	12:23:29	349	[DEBUG]	Check product language entry
2023-10-13	12:23:29	349	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859841
2023-10-13	12:23:29	349	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:29	349	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152937' AND `virtuemart_product_id` != 1859841
2023-10-13	12:23:29	349	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:29	349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859841, '1000000152937')
2023-10-13	12:23:29	349	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:29	349	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-comox-57-62cm-dirtblue-matt-60-64' AND `virtuemart_product_id` != 1859841
2023-10-13	12:23:29	349	[DEBUG]	Query for ProductLang
2023-10-13	12:23:29	349	[DEBUG]	Executed store
2023-10-13	12:23:29	349	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT COMOX 57-62cm / Dirtblue Matt (60-64)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-comox-57-62cm-dirtblue-matt-60-64' WHERE `virtuemart_product_id` = '1859841'
2023-10-13	12:23:29	349	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36467_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:29	349	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:29	349	[DEBUG]	Process image file
2023-10-13	12:23:29	349	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:29	349	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:29	349	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36467_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:29	349	[DEBUG]	Full name target: bcprisme/36467_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:30	349	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:30	349	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36467_casque_vtt_comox_57-62cm.jpg'
2023-10-13	12:23:30	349	[DEBUG]	Query for Media
2023-10-13	12:23:30	349	[DEBUG]	Executed store
2023-10-13	12:23:30	349	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36467_casque_vtt_comox_57-62cm.jpg',`file_url_thumb`='bcprisme/36467_casque_vtt_comox_57-62cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585343'
2023-10-13	12:23:30	349	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:30	349	[DEBUG]	Executed store
2023-10-13	12:23:30	349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859841','585343','1')
2023-10-13	12:23:30	349	[DEBUG]	Store product image relation
2023-10-13	12:23:30	349	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:30	349	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859841 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:30	349	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:30	349	[DEBUG]	Executed store
2023-10-13	12:23:30	349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859841','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:30	349	[DEBUG]	Checking manufacturer
2023-10-13	12:23:30	349	[DEBUG]	Load a row
2023-10-13	12:23:30	349	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:30	349	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:30	349	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:30	349	[DEBUG]	Executed store
2023-10-13	12:23:30	349	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:30	349	[DEBUG]	Manufacturer exists
2023-10-13	12:23:30	349	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:23:30	349	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:30	349	[DEBUG]	Executed store
2023-10-13	12:23:30	349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859841','171')
2023-10-13	12:23:30	349	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:30	349	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:30	349	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859841 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:30	349	[DEBUG]	Store custom available field
2023-10-13	12:23:30	349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859841,3,'',1)
2023-10-13	12:23:30	349	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:30	349	[DEBUG]	Get existing row with customfield value 60-64
2023-10-13	12:23:30	349	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859841 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:30	349	[DEBUG]	Store custom available field
2023-10-13	12:23:30	349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859841,6,'60-64',3)
2023-10-13	12:23:30	349	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:30	349	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:30	349	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859838
2023-10-13	12:23:30	349	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:30	349	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57.60\\r\\n60-64\"}]|clabels=0|options={\"1859838\":[1859838,8,1,\"choisir la taille\"],\"1859839\":[\"52-57\"],\"1859840\":[\"57.60\"],\"1859841\":[\"60-64\"]}|' WHERE `virtuemart_product_id` = 1859838
2023-10-13	12:23:30	349	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:30	349	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859841
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:30	350	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field taille
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:30	350	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:30	350	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:30	350	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:30	350	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:30	350	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:30	350	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:30	350	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field published
2023-10-13	12:23:30	350	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:30	350	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field override
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:30	350	[DEBUG]	Use field value for field slug
2023-10-13	12:23:30	350	[DEBUG]	Process line 350
2023-10-13	12:23:30	350	[DEBUG]	Load a row
2023-10-13	12:23:30	350	[DEBUG]	Processing item: A_7311_589
2023-10-13	12:23:30	350	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:30	350	[DEBUG]	Processing product tax
2023-10-13	12:23:30	350	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:30	350	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:30	350	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:30	350	[DEBUG]	Query for Product
2023-10-13	12:23:30	350	[DEBUG]	Executed store
2023-10-13	12:23:30	350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7311_589','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:30	350	[DEBUG]	Check product language entry
2023-10-13	12:23:30	350	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859842
2023-10-13	12:23:30	350	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:30	350	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7311_589' AND `virtuemart_product_id` != 1859842
2023-10-13	12:23:30	350	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:30	350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859842, 'A_7311_589')
2023-10-13	12:23:30	350	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:30	350	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-comox-57-62cm-black-neon-matt' AND `virtuemart_product_id` != 1859842
2023-10-13	12:23:30	350	[DEBUG]	Query for ProductLang
2023-10-13	12:23:30	350	[DEBUG]	Executed store
2023-10-13	12:23:30	350	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Sûr, léger, à visière courte, style incontesté. Le COMOX est un casque flexible et confortable sur le trail. Pour tous les trails. La combinaison de son ergonomie, son style branché et une protection élevée répond à presque toutes les exigences. Le COMOX est extrêmement bien aéré, ce qui rend possible son utilisation pour l’enduro, l’allmountain et les circuits. Le choix te revient. Avec le Run System Ergo Flex 2, le casque COMOX est équipé d’un système d’ajustement léger et confortable. La structure en filigrane épouse parfaitement la forme de la tête et offre davantage de protection. Les cyclistes sont les défenseurs de l\'adage qui affirme que sur le vélo, aucun jour n\'est mauvais. C\'est vrai avec le casque d’enduro COMOX.<br>N° art fourn : A9751380',`product_name`='Alpina Casque VTT COMOX 57-62cm / Black Néon matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-comox-57-62cm-black-neon-matt' WHERE `virtuemart_product_id` = '1859842'
2023-10-13	12:23:30	350	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36468_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:30	350	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:30	350	[DEBUG]	Process image file
2023-10-13	12:23:30	350	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:30	350	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:30	350	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36468_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:30	350	[DEBUG]	Full name target: bcprisme/36468_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:31	350	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:31	350	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36468_casque_vtt_comox_57-62cm.jpg'
2023-10-13	12:23:31	350	[DEBUG]	Query for Media
2023-10-13	12:23:31	350	[DEBUG]	Executed store
2023-10-13	12:23:31	350	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36468_casque_vtt_comox_57-62cm.jpg',`file_url_thumb`='bcprisme/36468_casque_vtt_comox_57-62cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585345'
2023-10-13	12:23:31	350	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:31	350	[DEBUG]	Executed store
2023-10-13	12:23:31	350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859842','585345','1')
2023-10-13	12:23:31	350	[DEBUG]	Store product image relation
2023-10-13	12:23:31	350	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:31	350	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859842 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:31	350	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:31	350	[DEBUG]	Executed store
2023-10-13	12:23:31	350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859842','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:31	350	[DEBUG]	Checking manufacturer
2023-10-13	12:23:31	350	[DEBUG]	Load a row
2023-10-13	12:23:31	350	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:31	350	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:31	350	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:31	350	[DEBUG]	Executed store
2023-10-13	12:23:31	350	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:31	350	[DEBUG]	Manufacturer exists
2023-10-13	12:23:31	350	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:23:31	350	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:31	350	[DEBUG]	Executed store
2023-10-13	12:23:31	350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859842','171')
2023-10-13	12:23:31	350	[DEBUG]	Find the custom field ID
2023-10-13	12:23:31	350	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:31	350	[DEBUG]	No custom field ID found
2023-10-13	12:23:31	350	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:31	350	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:23:31	350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859842 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:31	350	[DEBUG]	Store custom available field
2023-10-13	12:23:31	350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859842,3,'0',1)
2023-10-13	12:23:31	350	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:31	350	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:31	350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859842 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:31	350	[DEBUG]	Store custom available field
2023-10-13	12:23:31	350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859842,6,'choisir la taille',3)
2023-10-13	12:23:31	350	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:31	350	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:31	350	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:31	350	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:31	350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859842 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:31	350	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:31	350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859842,8,1)
2023-10-13	12:23:31	350	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:31	350	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859842\":[1859842,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859842
2023-10-13	12:23:31	350	[DEBUG]	Checking category
2023-10-13	12:23:31	350	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:31	350	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859842
2023-10-13	12:23:31	350	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:31	350	[DEBUG]	Executed store
2023-10-13	12:23:31	350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859842','7281')
2023-10-13	12:23:31	350	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:31	350	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859842 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:31	350	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:31	350	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859842
2023-10-13	12:23:31	351	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:31	351	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:31	351	[DEBUG]	Use field value for field taille
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:31	351	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:31	351	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:31	351	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:31	351	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:31	351	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:31	351	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:31	351	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:31	351	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:31	351	[DEBUG]	Use field value for field published
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:31	351	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field override
2023-10-13	12:23:31	351	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:31	351	[DEBUG]	Use field value for field slug
2023-10-13	12:23:31	351	[DEBUG]	Process line 351
2023-10-13	12:23:31	351	[DEBUG]	Load a row
2023-10-13	12:23:31	351	[DEBUG]	Processing item: 1000000140958
2023-10-13	12:23:31	351	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:31	351	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:31	351	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7311_589'
2023-10-13	12:23:31	351	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:31	351	[DEBUG]	Processing product tax
2023-10-13	12:23:31	351	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:31	351	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:31	351	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:31	351	[DEBUG]	Query for Product
2023-10-13	12:23:31	351	[DEBUG]	Executed store
2023-10-13	12:23:31	351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859842','1000000140958','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:31	351	[DEBUG]	No parent found
2023-10-13	12:23:31	351	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859842 AND customfield_value = 'stockable'
2023-10-13	12:23:31	351	[DEBUG]	Check product language entry
2023-10-13	12:23:31	351	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859843
2023-10-13	12:23:31	351	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:31	351	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000140958' AND `virtuemart_product_id` != 1859843
2023-10-13	12:23:31	351	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:31	351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859843, '1000000140958')
2023-10-13	12:23:31	351	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:31	351	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-comox-57-62cm-black-neon-matt-52-57' AND `virtuemart_product_id` != 1859843
2023-10-13	12:23:31	351	[DEBUG]	Query for ProductLang
2023-10-13	12:23:31	351	[DEBUG]	Executed store
2023-10-13	12:23:31	351	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT COMOX 57-62cm / Black Néon matt (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-comox-57-62cm-black-neon-matt-52-57' WHERE `virtuemart_product_id` = '1859843'
2023-10-13	12:23:31	351	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36468_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:31	351	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:31	351	[DEBUG]	Process image file
2023-10-13	12:23:31	351	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:31	351	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:31	351	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36468_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:31	351	[DEBUG]	Full name target: bcprisme/36468_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:32	351	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:32	351	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36468_casque_vtt_comox_57-62cm.jpg'
2023-10-13	12:23:32	351	[DEBUG]	Query for Media
2023-10-13	12:23:32	351	[DEBUG]	Executed store
2023-10-13	12:23:32	351	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36468_casque_vtt_comox_57-62cm.jpg',`file_url_thumb`='bcprisme/36468_casque_vtt_comox_57-62cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585345'
2023-10-13	12:23:32	351	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:32	351	[DEBUG]	Executed store
2023-10-13	12:23:32	351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859843','585345','1')
2023-10-13	12:23:32	351	[DEBUG]	Store product image relation
2023-10-13	12:23:32	351	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:32	351	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859843 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:32	351	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:32	351	[DEBUG]	Executed store
2023-10-13	12:23:32	351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859843','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:32	351	[DEBUG]	Checking manufacturer
2023-10-13	12:23:32	351	[DEBUG]	Load a row
2023-10-13	12:23:32	351	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:32	351	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:32	351	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:32	351	[DEBUG]	Executed store
2023-10-13	12:23:32	351	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:32	351	[DEBUG]	Manufacturer exists
2023-10-13	12:23:32	351	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:23:32	351	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:32	351	[DEBUG]	Executed store
2023-10-13	12:23:32	351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859843','171')
2023-10-13	12:23:32	351	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:32	351	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:32	351	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859843 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:32	351	[DEBUG]	Store custom available field
2023-10-13	12:23:32	351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859843,3,'',1)
2023-10-13	12:23:32	351	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:32	351	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:23:32	351	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859843 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:32	351	[DEBUG]	Store custom available field
2023-10-13	12:23:32	351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859843,6,'52-57',3)
2023-10-13	12:23:32	351	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:32	351	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:32	351	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859842
2023-10-13	12:23:32	351	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:32	351	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859842\":[1859842,8,1,\"choisir la taille\"],\"1859843\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859842
2023-10-13	12:23:32	351	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:32	351	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859843
2023-10-13	12:23:32	352	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:32	352	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:32	352	[DEBUG]	Use field value for field taille
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:32	352	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:32	352	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:32	352	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:32	352	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:32	352	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:32	352	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:32	352	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:32	352	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:32	352	[DEBUG]	Use field value for field published
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:32	352	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field override
2023-10-13	12:23:32	352	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:32	352	[DEBUG]	Use field value for field slug
2023-10-13	12:23:32	352	[DEBUG]	Process line 352
2023-10-13	12:23:32	352	[DEBUG]	Load a row
2023-10-13	12:23:32	352	[DEBUG]	Processing item: 1000000140996
2023-10-13	12:23:32	352	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:32	352	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:32	352	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7311_589'
2023-10-13	12:23:32	352	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:32	352	[DEBUG]	Processing product tax
2023-10-13	12:23:32	352	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:32	352	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:32	352	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:32	352	[DEBUG]	Query for Product
2023-10-13	12:23:32	352	[DEBUG]	Executed store
2023-10-13	12:23:32	352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859842','1000000140996','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:32	352	[DEBUG]	No parent found
2023-10-13	12:23:32	352	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859842 AND customfield_value = 'stockable'
2023-10-13	12:23:32	352	[DEBUG]	Check product language entry
2023-10-13	12:23:32	352	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859844
2023-10-13	12:23:32	352	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:32	352	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000140996' AND `virtuemart_product_id` != 1859844
2023-10-13	12:23:32	352	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:32	352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859844, '1000000140996')
2023-10-13	12:23:32	352	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:32	352	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-comox-57-62cm-black-neon-matt-57-60' AND `virtuemart_product_id` != 1859844
2023-10-13	12:23:32	352	[DEBUG]	Query for ProductLang
2023-10-13	12:23:32	352	[DEBUG]	Executed store
2023-10-13	12:23:32	352	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT COMOX 57-62cm / Black Néon matt (57.60)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-comox-57-62cm-black-neon-matt-57-60' WHERE `virtuemart_product_id` = '1859844'
2023-10-13	12:23:32	352	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36468_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:32	352	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:32	352	[DEBUG]	Process image file
2023-10-13	12:23:32	352	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:32	352	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:32	352	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36468_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:32	352	[DEBUG]	Full name target: bcprisme/36468_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:33	352	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:33	352	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36468_casque_vtt_comox_57-62cm.jpg'
2023-10-13	12:23:33	352	[DEBUG]	Query for Media
2023-10-13	12:23:33	352	[DEBUG]	Executed store
2023-10-13	12:23:33	352	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36468_casque_vtt_comox_57-62cm.jpg',`file_url_thumb`='bcprisme/36468_casque_vtt_comox_57-62cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585345'
2023-10-13	12:23:33	352	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:33	352	[DEBUG]	Executed store
2023-10-13	12:23:33	352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859844','585345','1')
2023-10-13	12:23:33	352	[DEBUG]	Store product image relation
2023-10-13	12:23:33	352	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:33	352	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859844 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:33	352	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:33	352	[DEBUG]	Executed store
2023-10-13	12:23:33	352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859844','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:33	352	[DEBUG]	Checking manufacturer
2023-10-13	12:23:33	352	[DEBUG]	Load a row
2023-10-13	12:23:33	352	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:33	352	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:33	352	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:33	352	[DEBUG]	Executed store
2023-10-13	12:23:33	352	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:33	352	[DEBUG]	Manufacturer exists
2023-10-13	12:23:33	352	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:23:33	352	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:33	352	[DEBUG]	Executed store
2023-10-13	12:23:33	352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859844','171')
2023-10-13	12:23:33	352	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:33	352	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:33	352	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859844 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:33	352	[DEBUG]	Store custom available field
2023-10-13	12:23:33	352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859844,3,'',1)
2023-10-13	12:23:33	352	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:33	352	[DEBUG]	Get existing row with customfield value 57.60
2023-10-13	12:23:33	352	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859844 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:33	352	[DEBUG]	Store custom available field
2023-10-13	12:23:33	352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859844,6,'57.60',3)
2023-10-13	12:23:33	352	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:33	352	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:33	352	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859842
2023-10-13	12:23:33	352	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:33	352	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57.60\"}]|clabels=0|options={\"1859842\":[1859842,8,1,\"choisir la taille\"],\"1859843\":[\"52-57\"],\"1859844\":[\"57.60\"]}|' WHERE `virtuemart_product_id` = 1859842
2023-10-13	12:23:33	352	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:33	352	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859844
2023-10-13	12:23:33	353	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:33	353	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:33	353	[DEBUG]	Use field value for field taille
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:33	353	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:33	353	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:33	353	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:33	353	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:33	353	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:33	353	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:33	353	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:33	353	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:33	353	[DEBUG]	Use field value for field published
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:33	353	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field override
2023-10-13	12:23:33	353	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:33	353	[DEBUG]	Use field value for field slug
2023-10-13	12:23:33	353	[DEBUG]	Process line 353
2023-10-13	12:23:33	353	[DEBUG]	Load a row
2023-10-13	12:23:33	353	[DEBUG]	Processing item: 1000000141009
2023-10-13	12:23:33	353	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:33	353	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:33	353	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7311_589'
2023-10-13	12:23:33	353	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:33	353	[DEBUG]	Processing product tax
2023-10-13	12:23:33	353	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:33	353	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:33	353	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:33	353	[DEBUG]	Query for Product
2023-10-13	12:23:34	353	[DEBUG]	Executed store
2023-10-13	12:23:34	353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859842','1000000141009','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:34	353	[DEBUG]	No parent found
2023-10-13	12:23:34	353	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859842 AND customfield_value = 'stockable'
2023-10-13	12:23:34	353	[DEBUG]	Check product language entry
2023-10-13	12:23:34	353	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859845
2023-10-13	12:23:34	353	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:34	353	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000141009' AND `virtuemart_product_id` != 1859845
2023-10-13	12:23:34	353	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:34	353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859845, '1000000141009')
2023-10-13	12:23:34	353	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:34	353	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-comox-57-62cm-black-neon-matt-60-64' AND `virtuemart_product_id` != 1859845
2023-10-13	12:23:34	353	[DEBUG]	Query for ProductLang
2023-10-13	12:23:34	353	[DEBUG]	Executed store
2023-10-13	12:23:34	353	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT COMOX 57-62cm / Black Néon matt (60-64)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-comox-57-62cm-black-neon-matt-60-64' WHERE `virtuemart_product_id` = '1859845'
2023-10-13	12:23:34	353	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36468_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:34	353	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:34	353	[DEBUG]	Process image file
2023-10-13	12:23:34	353	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:34	353	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:34	353	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36468_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:34	353	[DEBUG]	Full name target: bcprisme/36468_casque_vtt_comox_57-62cm.jpg
2023-10-13	12:23:34	353	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:34	353	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36468_casque_vtt_comox_57-62cm.jpg'
2023-10-13	12:23:34	353	[DEBUG]	Query for Media
2023-10-13	12:23:34	353	[DEBUG]	Executed store
2023-10-13	12:23:34	353	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36468_casque_vtt_comox_57-62cm.jpg',`file_url_thumb`='bcprisme/36468_casque_vtt_comox_57-62cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585345'
2023-10-13	12:23:34	353	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:34	353	[DEBUG]	Executed store
2023-10-13	12:23:34	353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859845','585345','1')
2023-10-13	12:23:34	353	[DEBUG]	Store product image relation
2023-10-13	12:23:34	353	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:34	353	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859845 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:34	353	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:34	353	[DEBUG]	Executed store
2023-10-13	12:23:34	353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859845','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:34	353	[DEBUG]	Checking manufacturer
2023-10-13	12:23:34	353	[DEBUG]	Load a row
2023-10-13	12:23:34	353	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:34	353	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:34	353	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:34	353	[DEBUG]	Executed store
2023-10-13	12:23:34	353	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:23:34	353	[DEBUG]	Manufacturer exists
2023-10-13	12:23:34	353	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:23:34	353	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:34	353	[DEBUG]	Executed store
2023-10-13	12:23:34	353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859845','171')
2023-10-13	12:23:34	353	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:34	353	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:34	353	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859845 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:34	353	[DEBUG]	Store custom available field
2023-10-13	12:23:34	353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859845,3,'',1)
2023-10-13	12:23:34	353	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:34	353	[DEBUG]	Get existing row with customfield value 60-64
2023-10-13	12:23:34	353	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859845 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:34	353	[DEBUG]	Store custom available field
2023-10-13	12:23:34	353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859845,6,'60-64',3)
2023-10-13	12:23:34	353	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:34	353	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:34	353	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859842
2023-10-13	12:23:34	353	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:34	353	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57.60\\r\\n60-64\"}]|clabels=0|options={\"1859842\":[1859842,8,1,\"choisir la taille\"],\"1859843\":[\"52-57\"],\"1859844\":[\"57.60\"],\"1859845\":[\"60-64\"]}|' WHERE `virtuemart_product_id` = 1859842
2023-10-13	12:23:34	353	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:34	353	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859845
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:35	354	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field taille
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:35	354	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:35	354	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:35	354	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:35	354	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:35	354	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:35	354	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field published
2023-10-13	12:23:35	354	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:35	354	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field override
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:35	354	[DEBUG]	Use field value for field slug
2023-10-13	12:23:35	354	[DEBUG]	Process line 354
2023-10-13	12:23:35	354	[DEBUG]	Load a row
2023-10-13	12:23:35	354	[DEBUG]	Processing item: A_7500_1
2023-10-13	12:23:35	354	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:35	354	[DEBUG]	Processing product tax
2023-10-13	12:23:35	354	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:35	354	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:35	354	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:35	354	[DEBUG]	Query for Product
2023-10-13	12:23:35	354	[DEBUG]	Executed store
2023-10-13	12:23:35	354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7500_1','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:35	354	[DEBUG]	Check product language entry
2023-10-13	12:23:35	354	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859846
2023-10-13	12:23:35	354	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:35	354	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7500_1' AND `virtuemart_product_id` != 1859846
2023-10-13	12:23:35	354	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:35	354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859846, 'A_7500_1')
2023-10-13	12:23:35	354	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:35	354	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-noir' AND `virtuemart_product_id` != 1859846
2023-10-13	12:23:35	354	[DEBUG]	Query for ProductLang
2023-10-13	12:23:35	354	[DEBUG]	Executed store
2023-10-13	12:23:35	354	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le casque MET Terranova avec MIPS est destiné aux fans d\'enduro et de all-mountain avec une conduite agressive et rapide. Sa construction et sa forme sont inspirées du casque primé Roam et garantissent un confort optimal. Comparé aux casques de VTT traditionnels, le MET dispose d\'une surface de protection agrandie, la protection de la nuque descend plus bas. Ainsi, il tient bien sur ta tête. Équipé du système MIPS, le Terranova flotte au-dessus de la tête ce qui lui permet d\'absorber les forces de rotation en cas de chute. Le système d\'ajustement Safe-T Duo comprend un bandeau sur 360° permettant un réglage vertical sur quatre positions.<br><br>Caractéristiques:<br><br>17 ouvertures de ventilation<br>Avec système de protection du cerveau MIPS-C2<br>Compatible avec les queues de cheval<br>Visière réglable<br>N° art fourn : 720.026',`product_name`='MET Casque MET Terranova avec MIPS / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-noir' WHERE `virtuemart_product_id` = '1859846'
2023-10-13	12:23:35	354	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34884_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:35	354	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:35	354	[DEBUG]	Process image file
2023-10-13	12:23:35	354	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:35	354	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:35	354	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34884_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:35	354	[DEBUG]	Full name target: bcprisme/34884_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:35	354	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:35	354	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34884_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:35	354	[DEBUG]	Query for Media
2023-10-13	12:23:35	354	[DEBUG]	Executed store
2023-10-13	12:23:35	354	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34884_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/34884_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239110'
2023-10-13	12:23:35	354	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:36	354	[DEBUG]	Executed store
2023-10-13	12:23:36	354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859846','239110','1')
2023-10-13	12:23:36	354	[DEBUG]	Store product image relation
2023-10-13	12:23:36	354	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:36	354	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859846 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:36	354	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:36	354	[DEBUG]	Executed store
2023-10-13	12:23:36	354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859846','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:36	354	[DEBUG]	Checking manufacturer
2023-10-13	12:23:36	354	[DEBUG]	Load a row
2023-10-13	12:23:36	354	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:36	354	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:36	354	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:36	354	[DEBUG]	Executed store
2023-10-13	12:23:36	354	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:36	354	[DEBUG]	Manufacturer exists
2023-10-13	12:23:36	354	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:36	354	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:36	354	[DEBUG]	Executed store
2023-10-13	12:23:36	354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859846','226')
2023-10-13	12:23:36	354	[DEBUG]	Find the custom field ID
2023-10-13	12:23:36	354	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:36	354	[DEBUG]	No custom field ID found
2023-10-13	12:23:36	354	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:36	354	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:23:36	354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859846 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:36	354	[DEBUG]	Store custom available field
2023-10-13	12:23:36	354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859846,3,'69.7058333333334',1)
2023-10-13	12:23:36	354	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:36	354	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:36	354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859846 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:36	354	[DEBUG]	Store custom available field
2023-10-13	12:23:36	354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859846,6,'choisir la taille',3)
2023-10-13	12:23:36	354	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:36	354	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:36	354	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:36	354	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:36	354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859846 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:36	354	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:36	354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859846,8,1)
2023-10-13	12:23:36	354	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:36	354	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859846\":[1859846,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859846
2023-10-13	12:23:36	354	[DEBUG]	Checking category
2023-10-13	12:23:36	354	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:36	354	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859846
2023-10-13	12:23:36	354	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:36	354	[DEBUG]	Executed store
2023-10-13	12:23:36	354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859846','7281')
2023-10-13	12:23:36	354	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:36	354	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859846 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:36	354	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:36	354	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859846
2023-10-13	12:23:36	355	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:36	355	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:36	355	[DEBUG]	Use field value for field taille
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:36	355	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:36	355	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:36	355	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:36	355	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:36	355	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:36	355	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:36	355	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:36	355	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:36	355	[DEBUG]	Use field value for field published
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:36	355	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field override
2023-10-13	12:23:36	355	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:36	355	[DEBUG]	Use field value for field slug
2023-10-13	12:23:36	355	[DEBUG]	Process line 355
2023-10-13	12:23:36	355	[DEBUG]	Load a row
2023-10-13	12:23:36	355	[DEBUG]	Processing item: 1000000125337
2023-10-13	12:23:36	355	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:36	355	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:36	355	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_1'
2023-10-13	12:23:36	355	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:36	355	[DEBUG]	Processing product tax
2023-10-13	12:23:36	355	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:36	355	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:36	355	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:36	355	[DEBUG]	Query for Product
2023-10-13	12:23:36	355	[DEBUG]	Executed store
2023-10-13	12:23:36	355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859846','1000000125337','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:36	355	[DEBUG]	No parent found
2023-10-13	12:23:36	355	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859846 AND customfield_value = 'stockable'
2023-10-13	12:23:36	355	[DEBUG]	Check product language entry
2023-10-13	12:23:36	355	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859847
2023-10-13	12:23:36	355	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:36	355	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125337' AND `virtuemart_product_id` != 1859847
2023-10-13	12:23:36	355	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:36	355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859847, '1000000125337')
2023-10-13	12:23:36	355	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:36	355	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-noir-52-56cm' AND `virtuemart_product_id` != 1859847
2023-10-13	12:23:36	355	[DEBUG]	Query for ProductLang
2023-10-13	12:23:36	355	[DEBUG]	Executed store
2023-10-13	12:23:36	355	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / Noir (52-56cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-noir-52-56cm' WHERE `virtuemart_product_id` = '1859847'
2023-10-13	12:23:36	355	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34884_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:36	355	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:36	355	[DEBUG]	Process image file
2023-10-13	12:23:36	355	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:36	355	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:36	355	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34884_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:36	355	[DEBUG]	Full name target: bcprisme/34884_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:36	355	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:36	355	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34884_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:36	355	[DEBUG]	Query for Media
2023-10-13	12:23:36	355	[DEBUG]	Executed store
2023-10-13	12:23:36	355	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34884_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/34884_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239110'
2023-10-13	12:23:36	355	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:36	355	[DEBUG]	Executed store
2023-10-13	12:23:36	355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859847','239110','1')
2023-10-13	12:23:36	355	[DEBUG]	Store product image relation
2023-10-13	12:23:36	355	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:36	355	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859847 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:36	355	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:36	355	[DEBUG]	Executed store
2023-10-13	12:23:36	355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859847','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:36	355	[DEBUG]	Checking manufacturer
2023-10-13	12:23:36	355	[DEBUG]	Load a row
2023-10-13	12:23:36	355	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:36	355	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:36	355	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:36	355	[DEBUG]	Executed store
2023-10-13	12:23:36	355	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:36	355	[DEBUG]	Manufacturer exists
2023-10-13	12:23:36	355	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:36	355	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:36	355	[DEBUG]	Executed store
2023-10-13	12:23:36	355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859847','226')
2023-10-13	12:23:36	355	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:36	355	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:36	355	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859847 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:36	355	[DEBUG]	Store custom available field
2023-10-13	12:23:36	355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859847,3,'',1)
2023-10-13	12:23:36	355	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:36	355	[DEBUG]	Get existing row with customfield value 52-56cm
2023-10-13	12:23:36	355	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859847 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:36	355	[DEBUG]	Store custom available field
2023-10-13	12:23:36	355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859847,6,'52-56cm',3)
2023-10-13	12:23:36	355	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:36	355	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:36	355	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859846
2023-10-13	12:23:36	355	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:36	355	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-56cm\"}]|clabels=0|options={\"1859846\":[1859846,8,1,\"choisir la taille\"],\"1859847\":[\"52-56cm\"]}|' WHERE `virtuemart_product_id` = 1859846
2023-10-13	12:23:36	355	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:36	355	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859847
2023-10-13	12:23:36	356	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:36	356	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:36	356	[DEBUG]	Use field value for field taille
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:36	356	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:36	356	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:36	356	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:36	356	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:36	356	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:36	356	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:36	356	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:36	356	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:36	356	[DEBUG]	Use field value for field published
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:36	356	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field override
2023-10-13	12:23:36	356	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:36	356	[DEBUG]	Use field value for field slug
2023-10-13	12:23:36	356	[DEBUG]	Process line 356
2023-10-13	12:23:36	356	[DEBUG]	Load a row
2023-10-13	12:23:36	356	[DEBUG]	Processing item: 1000000125344
2023-10-13	12:23:36	356	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:36	356	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:36	356	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_1'
2023-10-13	12:23:36	356	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:36	356	[DEBUG]	Processing product tax
2023-10-13	12:23:36	356	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:36	356	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:36	356	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:36	356	[DEBUG]	Query for Product
2023-10-13	12:23:36	356	[DEBUG]	Executed store
2023-10-13	12:23:36	356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859846','1000000125344','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:36	356	[DEBUG]	No parent found
2023-10-13	12:23:36	356	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859846 AND customfield_value = 'stockable'
2023-10-13	12:23:36	356	[DEBUG]	Check product language entry
2023-10-13	12:23:36	356	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859848
2023-10-13	12:23:36	356	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:36	356	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125344' AND `virtuemart_product_id` != 1859848
2023-10-13	12:23:36	356	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:36	356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859848, '1000000125344')
2023-10-13	12:23:36	356	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:36	356	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-noir-56-58cm' AND `virtuemart_product_id` != 1859848
2023-10-13	12:23:36	356	[DEBUG]	Query for ProductLang
2023-10-13	12:23:36	356	[DEBUG]	Executed store
2023-10-13	12:23:36	356	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / Noir (56-58cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-noir-56-58cm' WHERE `virtuemart_product_id` = '1859848'
2023-10-13	12:23:36	356	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34884_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:36	356	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:36	356	[DEBUG]	Process image file
2023-10-13	12:23:36	356	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:36	356	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:36	356	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34884_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:36	356	[DEBUG]	Full name target: bcprisme/34884_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:37	356	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:37	356	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34884_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:37	356	[DEBUG]	Query for Media
2023-10-13	12:23:37	356	[DEBUG]	Executed store
2023-10-13	12:23:37	356	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34884_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/34884_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239110'
2023-10-13	12:23:37	356	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:37	356	[DEBUG]	Executed store
2023-10-13	12:23:37	356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859848','239110','1')
2023-10-13	12:23:37	356	[DEBUG]	Store product image relation
2023-10-13	12:23:37	356	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:37	356	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859848 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:37	356	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:37	356	[DEBUG]	Executed store
2023-10-13	12:23:37	356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859848','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:37	356	[DEBUG]	Checking manufacturer
2023-10-13	12:23:37	356	[DEBUG]	Load a row
2023-10-13	12:23:37	356	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:37	356	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:37	356	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:37	356	[DEBUG]	Executed store
2023-10-13	12:23:37	356	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:37	356	[DEBUG]	Manufacturer exists
2023-10-13	12:23:37	356	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:37	356	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:37	356	[DEBUG]	Executed store
2023-10-13	12:23:37	356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859848','226')
2023-10-13	12:23:37	356	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:37	356	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:37	356	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859848 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:37	356	[DEBUG]	Store custom available field
2023-10-13	12:23:37	356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859848,3,'',1)
2023-10-13	12:23:37	356	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:37	356	[DEBUG]	Get existing row with customfield value 56-58cm
2023-10-13	12:23:37	356	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859848 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:37	356	[DEBUG]	Store custom available field
2023-10-13	12:23:37	356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859848,6,'56-58cm',3)
2023-10-13	12:23:37	356	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:37	356	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:37	356	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859846
2023-10-13	12:23:37	356	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:37	356	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-56cm\\r\\n56-58cm\"}]|clabels=0|options={\"1859846\":[1859846,8,1,\"choisir la taille\"],\"1859847\":[\"52-56cm\"],\"1859848\":[\"56-58cm\"]}|' WHERE `virtuemart_product_id` = 1859846
2023-10-13	12:23:37	356	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:37	356	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859848
2023-10-13	12:23:37	357	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:37	357	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:37	357	[DEBUG]	Use field value for field taille
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:37	357	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:37	357	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:37	357	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:37	357	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:37	357	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:37	357	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:37	357	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:37	357	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:37	357	[DEBUG]	Use field value for field published
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:37	357	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field override
2023-10-13	12:23:37	357	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:37	357	[DEBUG]	Use field value for field slug
2023-10-13	12:23:37	357	[DEBUG]	Process line 357
2023-10-13	12:23:37	357	[DEBUG]	Load a row
2023-10-13	12:23:37	357	[DEBUG]	Processing item: 1000000125351
2023-10-13	12:23:37	357	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:37	357	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:37	357	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_1'
2023-10-13	12:23:37	357	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:37	357	[DEBUG]	Processing product tax
2023-10-13	12:23:37	357	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:37	357	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:37	357	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:37	357	[DEBUG]	Query for Product
2023-10-13	12:23:37	357	[DEBUG]	Executed store
2023-10-13	12:23:37	357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859846','1000000125351','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:37	357	[DEBUG]	No parent found
2023-10-13	12:23:37	357	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859846 AND customfield_value = 'stockable'
2023-10-13	12:23:37	357	[DEBUG]	Check product language entry
2023-10-13	12:23:37	357	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859849
2023-10-13	12:23:37	357	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:37	357	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125351' AND `virtuemart_product_id` != 1859849
2023-10-13	12:23:37	357	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:37	357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859849, '1000000125351')
2023-10-13	12:23:37	357	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:37	357	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-noir-58-62cm' AND `virtuemart_product_id` != 1859849
2023-10-13	12:23:37	357	[DEBUG]	Query for ProductLang
2023-10-13	12:23:37	357	[DEBUG]	Executed store
2023-10-13	12:23:37	357	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / Noir (58-62cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-noir-58-62cm' WHERE `virtuemart_product_id` = '1859849'
2023-10-13	12:23:37	357	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34884_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:37	357	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:37	357	[DEBUG]	Process image file
2023-10-13	12:23:37	357	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:37	357	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:37	357	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34884_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:37	357	[DEBUG]	Full name target: bcprisme/34884_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:38	357	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:38	357	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34884_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:38	357	[DEBUG]	Query for Media
2023-10-13	12:23:38	357	[DEBUG]	Executed store
2023-10-13	12:23:38	357	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34884_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/34884_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239110'
2023-10-13	12:23:38	357	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:38	357	[DEBUG]	Executed store
2023-10-13	12:23:38	357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859849','239110','1')
2023-10-13	12:23:38	357	[DEBUG]	Store product image relation
2023-10-13	12:23:38	357	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:38	357	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859849 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:38	357	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:38	357	[DEBUG]	Executed store
2023-10-13	12:23:38	357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859849','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:38	357	[DEBUG]	Checking manufacturer
2023-10-13	12:23:38	357	[DEBUG]	Load a row
2023-10-13	12:23:38	357	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:38	357	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:38	357	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:38	357	[DEBUG]	Executed store
2023-10-13	12:23:38	357	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:38	357	[DEBUG]	Manufacturer exists
2023-10-13	12:23:38	357	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:38	357	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:38	357	[DEBUG]	Executed store
2023-10-13	12:23:38	357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859849','226')
2023-10-13	12:23:38	357	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:38	357	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:38	357	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859849 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:38	357	[DEBUG]	Store custom available field
2023-10-13	12:23:38	357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859849,3,'',1)
2023-10-13	12:23:38	357	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:38	357	[DEBUG]	Get existing row with customfield value 58-62cm
2023-10-13	12:23:38	357	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859849 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:38	357	[DEBUG]	Store custom available field
2023-10-13	12:23:38	357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859849,6,'58-62cm',3)
2023-10-13	12:23:38	357	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:38	357	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:38	357	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859846
2023-10-13	12:23:38	357	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:38	357	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-56cm\\r\\n56-58cm\\r\\n58-62cm\"}]|clabels=0|options={\"1859846\":[1859846,8,1,\"choisir la taille\"],\"1859847\":[\"52-56cm\"],\"1859848\":[\"56-58cm\"],\"1859849\":[\"58-62cm\"]}|' WHERE `virtuemart_product_id` = 1859846
2023-10-13	12:23:38	357	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:38	357	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859849
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:38	358	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field taille
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:38	358	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:38	358	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:38	358	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:38	358	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:38	358	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:38	358	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field published
2023-10-13	12:23:38	358	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:38	358	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field override
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:38	358	[DEBUG]	Use field value for field slug
2023-10-13	12:23:38	358	[DEBUG]	Process line 358
2023-10-13	12:23:38	358	[DEBUG]	Load a row
2023-10-13	12:23:38	358	[DEBUG]	Processing item: A_7500_216
2023-10-13	12:23:38	358	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:38	358	[DEBUG]	Processing product tax
2023-10-13	12:23:38	358	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:38	358	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:38	358	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:38	358	[DEBUG]	Query for Product
2023-10-13	12:23:38	358	[DEBUG]	Executed store
2023-10-13	12:23:38	358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7500_216','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:38	358	[DEBUG]	Check product language entry
2023-10-13	12:23:38	358	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859850
2023-10-13	12:23:38	358	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:38	358	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7500_216' AND `virtuemart_product_id` != 1859850
2023-10-13	12:23:38	358	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:38	358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859850, 'A_7500_216')
2023-10-13	12:23:39	358	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:39	358	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-purple' AND `virtuemart_product_id` != 1859850
2023-10-13	12:23:39	358	[DEBUG]	Query for ProductLang
2023-10-13	12:23:39	358	[DEBUG]	Executed store
2023-10-13	12:23:39	358	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le casque MET Terranova avec MIPS est destiné aux fans d\'enduro et de all-mountain avec une conduite agressive et rapide. Sa construction et sa forme sont inspirées du casque primé Roam et garantissent un confort optimal. Comparé aux casques de VTT traditionnels, le MET dispose d\'une surface de protection agrandie, la protection de la nuque descend plus bas. Ainsi, il tient bien sur ta tête. Équipé du système MIPS, le Terranova flotte au-dessus de la tête ce qui lui permet d\'absorber les forces de rotation en cas de chute. Le système d\'ajustement Safe-T Duo comprend un bandeau sur 360° permettant un réglage vertical sur quatre positions.<br><br>Caractéristiques:<br><br>17 ouvertures de ventilation<br>Avec système de protection du cerveau MIPS-C2<br>Compatible avec les queues de cheval<br>Visière réglable<br>N° art fourn : 720.026',`product_name`='MET Casque MET Terranova avec MIPS / Purple',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-purple' WHERE `virtuemart_product_id` = '1859850'
2023-10-13	12:23:39	358	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39518_casque_met_terranova_avec_mips.png has not been found.
2023-10-13	12:23:39	358	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:39	358	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859850 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:39	358	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:39	358	[DEBUG]	Executed store
2023-10-13	12:23:39	358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859850','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:39	358	[DEBUG]	Checking manufacturer
2023-10-13	12:23:39	358	[DEBUG]	Load a row
2023-10-13	12:23:39	358	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:39	358	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:39	358	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:39	358	[DEBUG]	Executed store
2023-10-13	12:23:39	358	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:39	358	[DEBUG]	Manufacturer exists
2023-10-13	12:23:39	358	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:39	358	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:39	358	[DEBUG]	Executed store
2023-10-13	12:23:39	358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859850','226')
2023-10-13	12:23:39	358	[DEBUG]	Find the custom field ID
2023-10-13	12:23:39	358	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:39	358	[DEBUG]	No custom field ID found
2023-10-13	12:23:39	358	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:39	358	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:23:39	358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859850 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:39	358	[DEBUG]	Store custom available field
2023-10-13	12:23:39	358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859850,3,'69.7058333333334',1)
2023-10-13	12:23:39	358	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:39	358	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:39	358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859850 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:39	358	[DEBUG]	Store custom available field
2023-10-13	12:23:39	358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859850,6,'choisir la taille',3)
2023-10-13	12:23:39	358	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:39	358	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:39	358	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:39	358	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:39	358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859850 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:39	358	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:39	358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859850,8,1)
2023-10-13	12:23:39	358	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:39	358	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859850\":[1859850,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859850
2023-10-13	12:23:39	358	[DEBUG]	Checking category
2023-10-13	12:23:39	358	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:39	358	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859850
2023-10-13	12:23:39	358	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:39	358	[DEBUG]	Executed store
2023-10-13	12:23:39	358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859850','7281')
2023-10-13	12:23:39	358	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:39	358	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859850 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:39	358	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:39	358	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859850
2023-10-13	12:23:39	359	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:39	359	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:39	359	[DEBUG]	Use field value for field taille
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:39	359	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:39	359	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:39	359	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:39	359	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:39	359	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:39	359	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:39	359	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:39	359	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:39	359	[DEBUG]	Use field value for field published
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:39	359	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field override
2023-10-13	12:23:39	359	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:39	359	[DEBUG]	Use field value for field slug
2023-10-13	12:23:39	359	[DEBUG]	Process line 359
2023-10-13	12:23:39	359	[DEBUG]	Load a row
2023-10-13	12:23:39	359	[DEBUG]	Processing item: 1000022735118
2023-10-13	12:23:39	359	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:39	359	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:39	359	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_216'
2023-10-13	12:23:39	359	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:39	359	[DEBUG]	Processing product tax
2023-10-13	12:23:39	359	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:39	359	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:39	359	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:39	359	[DEBUG]	Query for Product
2023-10-13	12:23:39	359	[DEBUG]	Executed store
2023-10-13	12:23:39	359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859850','1000022735118','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:39	359	[DEBUG]	No parent found
2023-10-13	12:23:39	359	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859850 AND customfield_value = 'stockable'
2023-10-13	12:23:39	359	[DEBUG]	Check product language entry
2023-10-13	12:23:39	359	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859851
2023-10-13	12:23:39	359	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:39	359	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022735118' AND `virtuemart_product_id` != 1859851
2023-10-13	12:23:39	359	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:39	359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859851, '1000022735118')
2023-10-13	12:23:39	359	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:39	359	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-purple-56-58cm' AND `virtuemart_product_id` != 1859851
2023-10-13	12:23:39	359	[DEBUG]	Query for ProductLang
2023-10-13	12:23:39	359	[DEBUG]	Executed store
2023-10-13	12:23:39	359	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / Purple (56-58cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-purple-56-58cm' WHERE `virtuemart_product_id` = '1859851'
2023-10-13	12:23:39	359	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39518_casque_met_terranova_avec_mips.png has not been found.
2023-10-13	12:23:39	359	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:39	359	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859851 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:39	359	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:39	359	[DEBUG]	Executed store
2023-10-13	12:23:39	359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859851','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:39	359	[DEBUG]	Checking manufacturer
2023-10-13	12:23:39	359	[DEBUG]	Load a row
2023-10-13	12:23:39	359	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:39	359	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:39	359	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:39	359	[DEBUG]	Executed store
2023-10-13	12:23:39	359	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:39	359	[DEBUG]	Manufacturer exists
2023-10-13	12:23:39	359	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:39	359	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:39	359	[DEBUG]	Executed store
2023-10-13	12:23:39	359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859851','226')
2023-10-13	12:23:39	359	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:39	359	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:39	359	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859851 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:39	359	[DEBUG]	Store custom available field
2023-10-13	12:23:39	359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859851,3,'',1)
2023-10-13	12:23:39	359	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:39	359	[DEBUG]	Get existing row with customfield value 56-58cm
2023-10-13	12:23:39	359	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859851 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:39	359	[DEBUG]	Store custom available field
2023-10-13	12:23:39	359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859851,6,'56-58cm',3)
2023-10-13	12:23:39	359	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:39	359	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:39	359	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859850
2023-10-13	12:23:39	359	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:39	359	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n56-58cm\"}]|clabels=0|options={\"1859850\":[1859850,8,1,\"choisir la taille\"],\"1859851\":[\"56-58cm\"]}|' WHERE `virtuemart_product_id` = 1859850
2023-10-13	12:23:39	359	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:39	359	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859851
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:39	360	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field taille
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:39	360	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:39	360	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:39	360	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:39	360	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:39	360	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:39	360	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field published
2023-10-13	12:23:39	360	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:39	360	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field override
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:39	360	[DEBUG]	Use field value for field slug
2023-10-13	12:23:39	360	[DEBUG]	Process line 360
2023-10-13	12:23:39	360	[DEBUG]	Load a row
2023-10-13	12:23:39	360	[DEBUG]	Processing item: A_7500_449
2023-10-13	12:23:39	360	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:39	360	[DEBUG]	Processing product tax
2023-10-13	12:23:39	360	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:39	360	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:39	360	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:39	360	[DEBUG]	Query for Product
2023-10-13	12:23:39	360	[DEBUG]	Executed store
2023-10-13	12:23:39	360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7500_449','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:39	360	[DEBUG]	Check product language entry
2023-10-13	12:23:39	360	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859852
2023-10-13	12:23:39	360	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:39	360	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7500_449' AND `virtuemart_product_id` != 1859852
2023-10-13	12:23:39	360	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:39	360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859852, 'A_7500_449')
2023-10-13	12:23:39	360	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:39	360	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-noire-rouge' AND `virtuemart_product_id` != 1859852
2023-10-13	12:23:39	360	[DEBUG]	Query for ProductLang
2023-10-13	12:23:39	360	[DEBUG]	Executed store
2023-10-13	12:23:39	360	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le casque MET Terranova avec MIPS est destiné aux fans d\'enduro et de all-mountain avec une conduite agressive et rapide. Sa construction et sa forme sont inspirées du casque primé Roam et garantissent un confort optimal. Comparé aux casques de VTT traditionnels, le MET dispose d\'une surface de protection agrandie, la protection de la nuque descend plus bas. Ainsi, il tient bien sur ta tête. Équipé du système MIPS, le Terranova flotte au-dessus de la tête ce qui lui permet d\'absorber les forces de rotation en cas de chute. Le système d\'ajustement Safe-T Duo comprend un bandeau sur 360° permettant un réglage vertical sur quatre positions.<br><br>Caractéristiques:<br><br>17 ouvertures de ventilation<br>Avec système de protection du cerveau MIPS-C2<br>Compatible avec les queues de cheval<br>Visière réglable<br>N° art fourn : 720.026',`product_name`='MET Casque MET Terranova avec MIPS / Noire-rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-noire-rouge' WHERE `virtuemart_product_id` = '1859852'
2023-10-13	12:23:39	360	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34886_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:39	360	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:39	360	[DEBUG]	Process image file
2023-10-13	12:23:39	360	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:39	360	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:39	360	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34886_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:39	360	[DEBUG]	Full name target: bcprisme/34886_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:40	360	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:40	360	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34886_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:40	360	[DEBUG]	Query for Media
2023-10-13	12:23:40	360	[DEBUG]	Executed store
2023-10-13	12:23:40	360	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34886_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/34886_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239114'
2023-10-13	12:23:40	360	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:40	360	[DEBUG]	Executed store
2023-10-13	12:23:40	360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859852','239114','1')
2023-10-13	12:23:40	360	[DEBUG]	Store product image relation
2023-10-13	12:23:40	360	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:40	360	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859852 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:40	360	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:40	360	[DEBUG]	Executed store
2023-10-13	12:23:40	360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859852','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:40	360	[DEBUG]	Checking manufacturer
2023-10-13	12:23:40	360	[DEBUG]	Load a row
2023-10-13	12:23:40	360	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:40	360	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:40	360	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:40	360	[DEBUG]	Executed store
2023-10-13	12:23:40	360	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:40	360	[DEBUG]	Manufacturer exists
2023-10-13	12:23:40	360	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:40	360	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:40	360	[DEBUG]	Executed store
2023-10-13	12:23:40	360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859852','226')
2023-10-13	12:23:40	360	[DEBUG]	Find the custom field ID
2023-10-13	12:23:40	360	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:40	360	[DEBUG]	No custom field ID found
2023-10-13	12:23:40	360	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:40	360	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:23:40	360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859852 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:40	360	[DEBUG]	Store custom available field
2023-10-13	12:23:40	360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859852,3,'69.7058333333334',1)
2023-10-13	12:23:40	360	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:40	360	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:40	360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859852 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:40	360	[DEBUG]	Store custom available field
2023-10-13	12:23:40	360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859852,6,'choisir la taille',3)
2023-10-13	12:23:40	360	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:40	360	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:40	360	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:40	360	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:40	360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859852 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:40	360	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:40	360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859852,8,1)
2023-10-13	12:23:40	360	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:40	360	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859852\":[1859852,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859852
2023-10-13	12:23:40	360	[DEBUG]	Checking category
2023-10-13	12:23:40	360	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:40	360	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859852
2023-10-13	12:23:40	360	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:40	360	[DEBUG]	Executed store
2023-10-13	12:23:40	360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859852','7281')
2023-10-13	12:23:40	360	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:40	360	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859852 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:40	360	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:40	360	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859852
2023-10-13	12:23:40	361	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:40	361	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:40	361	[DEBUG]	Use field value for field taille
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:40	361	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:40	361	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:40	361	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:40	361	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:40	361	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:40	361	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:40	361	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:40	361	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:40	361	[DEBUG]	Use field value for field published
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:40	361	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field override
2023-10-13	12:23:40	361	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:40	361	[DEBUG]	Use field value for field slug
2023-10-13	12:23:40	361	[DEBUG]	Process line 361
2023-10-13	12:23:40	361	[DEBUG]	Load a row
2023-10-13	12:23:40	361	[DEBUG]	Processing item: 1000000125368
2023-10-13	12:23:40	361	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:40	361	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:40	361	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_449'
2023-10-13	12:23:40	361	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:40	361	[DEBUG]	Processing product tax
2023-10-13	12:23:40	361	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:40	361	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:40	361	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:40	361	[DEBUG]	Query for Product
2023-10-13	12:23:40	361	[DEBUG]	Executed store
2023-10-13	12:23:40	361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859852','1000000125368','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:40	361	[DEBUG]	No parent found
2023-10-13	12:23:40	361	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859852 AND customfield_value = 'stockable'
2023-10-13	12:23:40	361	[DEBUG]	Check product language entry
2023-10-13	12:23:40	361	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859853
2023-10-13	12:23:40	361	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:40	361	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125368' AND `virtuemart_product_id` != 1859853
2023-10-13	12:23:40	361	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:40	361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859853, '1000000125368')
2023-10-13	12:23:40	361	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:40	361	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-noire-rouge-56-58cm' AND `virtuemart_product_id` != 1859853
2023-10-13	12:23:40	361	[DEBUG]	Query for ProductLang
2023-10-13	12:23:40	361	[DEBUG]	Executed store
2023-10-13	12:23:40	361	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / Noire-rouge (56-58cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-noire-rouge-56-58cm' WHERE `virtuemart_product_id` = '1859853'
2023-10-13	12:23:40	361	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34886_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:40	361	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:40	361	[DEBUG]	Process image file
2023-10-13	12:23:40	361	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:40	361	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:40	361	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34886_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:40	361	[DEBUG]	Full name target: bcprisme/34886_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:41	361	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:41	361	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34886_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:41	361	[DEBUG]	Query for Media
2023-10-13	12:23:41	361	[DEBUG]	Executed store
2023-10-13	12:23:41	361	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34886_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/34886_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239114'
2023-10-13	12:23:41	361	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:41	361	[DEBUG]	Executed store
2023-10-13	12:23:41	361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859853','239114','1')
2023-10-13	12:23:41	361	[DEBUG]	Store product image relation
2023-10-13	12:23:41	361	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:41	361	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859853 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:41	361	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:41	361	[DEBUG]	Executed store
2023-10-13	12:23:41	361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859853','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:41	361	[DEBUG]	Checking manufacturer
2023-10-13	12:23:41	361	[DEBUG]	Load a row
2023-10-13	12:23:41	361	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:41	361	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:41	361	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:41	361	[DEBUG]	Executed store
2023-10-13	12:23:41	361	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:41	361	[DEBUG]	Manufacturer exists
2023-10-13	12:23:41	361	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:41	361	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:41	361	[DEBUG]	Executed store
2023-10-13	12:23:41	361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859853','226')
2023-10-13	12:23:41	361	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:41	361	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:41	361	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859853 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:41	361	[DEBUG]	Store custom available field
2023-10-13	12:23:41	361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859853,3,'',1)
2023-10-13	12:23:41	361	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:41	361	[DEBUG]	Get existing row with customfield value 56-58cm
2023-10-13	12:23:41	361	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859853 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:41	361	[DEBUG]	Store custom available field
2023-10-13	12:23:41	361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859853,6,'56-58cm',3)
2023-10-13	12:23:41	361	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:41	361	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:41	361	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859852
2023-10-13	12:23:41	361	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:41	361	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n56-58cm\"}]|clabels=0|options={\"1859852\":[1859852,8,1,\"choisir la taille\"],\"1859853\":[\"56-58cm\"]}|' WHERE `virtuemart_product_id` = 1859852
2023-10-13	12:23:41	361	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:41	361	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859853
2023-10-13	12:23:41	362	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:41	362	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:41	362	[DEBUG]	Use field value for field taille
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:41	362	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:41	362	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:41	362	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:41	362	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:41	362	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:41	362	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:41	362	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:41	362	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:41	362	[DEBUG]	Use field value for field published
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:41	362	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field override
2023-10-13	12:23:41	362	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:41	362	[DEBUG]	Use field value for field slug
2023-10-13	12:23:41	362	[DEBUG]	Process line 362
2023-10-13	12:23:41	362	[DEBUG]	Load a row
2023-10-13	12:23:41	362	[DEBUG]	Processing item: 8015190265216
2023-10-13	12:23:41	362	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:41	362	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:41	362	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_449'
2023-10-13	12:23:41	362	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:41	362	[DEBUG]	Processing product tax
2023-10-13	12:23:41	362	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:41	362	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:41	362	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:41	362	[DEBUG]	Query for Product
2023-10-13	12:23:41	362	[DEBUG]	Executed store
2023-10-13	12:23:41	362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859852','8015190265216','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:41	362	[DEBUG]	No parent found
2023-10-13	12:23:41	362	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859852 AND customfield_value = 'stockable'
2023-10-13	12:23:41	362	[DEBUG]	Check product language entry
2023-10-13	12:23:41	362	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859854
2023-10-13	12:23:41	362	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:41	362	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8015190265216' AND `virtuemart_product_id` != 1859854
2023-10-13	12:23:41	362	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:41	362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859854, '8015190265216')
2023-10-13	12:23:41	362	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:41	362	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-noire-rouge-58-62cm' AND `virtuemart_product_id` != 1859854
2023-10-13	12:23:41	362	[DEBUG]	Query for ProductLang
2023-10-13	12:23:41	362	[DEBUG]	Executed store
2023-10-13	12:23:41	362	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / Noire-rouge (58-62cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-noire-rouge-58-62cm' WHERE `virtuemart_product_id` = '1859854'
2023-10-13	12:23:41	362	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34886_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:41	362	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:41	362	[DEBUG]	Process image file
2023-10-13	12:23:41	362	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:41	362	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:41	362	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34886_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:41	362	[DEBUG]	Full name target: bcprisme/34886_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:42	362	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:42	362	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34886_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:42	362	[DEBUG]	Query for Media
2023-10-13	12:23:42	362	[DEBUG]	Executed store
2023-10-13	12:23:42	362	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34886_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/34886_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239114'
2023-10-13	12:23:42	362	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:42	362	[DEBUG]	Executed store
2023-10-13	12:23:42	362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859854','239114','1')
2023-10-13	12:23:42	362	[DEBUG]	Store product image relation
2023-10-13	12:23:42	362	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:42	362	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859854 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:42	362	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:42	362	[DEBUG]	Executed store
2023-10-13	12:23:42	362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859854','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:42	362	[DEBUG]	Checking manufacturer
2023-10-13	12:23:42	362	[DEBUG]	Load a row
2023-10-13	12:23:42	362	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:42	362	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:42	362	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:42	362	[DEBUG]	Executed store
2023-10-13	12:23:42	362	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:42	362	[DEBUG]	Manufacturer exists
2023-10-13	12:23:42	362	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:42	362	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:42	362	[DEBUG]	Executed store
2023-10-13	12:23:42	362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859854','226')
2023-10-13	12:23:42	362	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:42	362	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:42	362	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859854 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:42	362	[DEBUG]	Store custom available field
2023-10-13	12:23:42	362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859854,3,'',1)
2023-10-13	12:23:42	362	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:42	362	[DEBUG]	Get existing row with customfield value 58-62cm
2023-10-13	12:23:42	362	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859854 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:42	362	[DEBUG]	Store custom available field
2023-10-13	12:23:42	362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859854,6,'58-62cm',3)
2023-10-13	12:23:42	362	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:42	362	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:42	362	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859852
2023-10-13	12:23:42	362	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:42	362	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n56-58cm\\r\\n58-62cm\"}]|clabels=0|options={\"1859852\":[1859852,8,1,\"choisir la taille\"],\"1859853\":[\"56-58cm\"],\"1859854\":[\"58-62cm\"]}|' WHERE `virtuemart_product_id` = 1859852
2023-10-13	12:23:42	362	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:42	362	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859854
2023-10-13	12:23:42	363	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:42	363	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:42	363	[DEBUG]	Use field value for field taille
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:42	363	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:42	363	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:42	363	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:42	363	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:42	363	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:42	363	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:42	363	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:42	363	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:42	363	[DEBUG]	Use field value for field published
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:42	363	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field override
2023-10-13	12:23:42	363	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:42	363	[DEBUG]	Use field value for field slug
2023-10-13	12:23:42	363	[DEBUG]	Process line 363
2023-10-13	12:23:42	363	[DEBUG]	Load a row
2023-10-13	12:23:42	363	[DEBUG]	Processing item: 8015190265179
2023-10-13	12:23:42	363	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:42	363	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:42	363	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_449'
2023-10-13	12:23:42	363	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:42	363	[DEBUG]	Processing product tax
2023-10-13	12:23:42	363	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:42	363	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:42	363	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:42	363	[DEBUG]	Query for Product
2023-10-13	12:23:42	363	[DEBUG]	Executed store
2023-10-13	12:23:42	363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859852','8015190265179','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:42	363	[DEBUG]	No parent found
2023-10-13	12:23:42	363	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859852 AND customfield_value = 'stockable'
2023-10-13	12:23:42	363	[DEBUG]	Check product language entry
2023-10-13	12:23:42	363	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859855
2023-10-13	12:23:42	363	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:42	363	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8015190265179' AND `virtuemart_product_id` != 1859855
2023-10-13	12:23:42	363	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:42	363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859855, '8015190265179')
2023-10-13	12:23:42	363	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:42	363	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-noire-rouge-52-56cm' AND `virtuemart_product_id` != 1859855
2023-10-13	12:23:42	363	[DEBUG]	Query for ProductLang
2023-10-13	12:23:42	363	[DEBUG]	Executed store
2023-10-13	12:23:42	363	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / Noire-rouge (52-56cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-noire-rouge-52-56cm' WHERE `virtuemart_product_id` = '1859855'
2023-10-13	12:23:42	363	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34886_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:42	363	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:42	363	[DEBUG]	Process image file
2023-10-13	12:23:42	363	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:42	363	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:42	363	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34886_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:42	363	[DEBUG]	Full name target: bcprisme/34886_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:43	363	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:43	363	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34886_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:43	363	[DEBUG]	Query for Media
2023-10-13	12:23:43	363	[DEBUG]	Executed store
2023-10-13	12:23:43	363	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34886_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/34886_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239114'
2023-10-13	12:23:43	363	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:43	363	[DEBUG]	Executed store
2023-10-13	12:23:43	363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859855','239114','1')
2023-10-13	12:23:43	363	[DEBUG]	Store product image relation
2023-10-13	12:23:43	363	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:43	363	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859855 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:43	363	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:43	363	[DEBUG]	Executed store
2023-10-13	12:23:43	363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859855','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:43	363	[DEBUG]	Checking manufacturer
2023-10-13	12:23:43	363	[DEBUG]	Load a row
2023-10-13	12:23:43	363	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:43	363	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:43	363	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:43	363	[DEBUG]	Executed store
2023-10-13	12:23:43	363	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:43	363	[DEBUG]	Manufacturer exists
2023-10-13	12:23:43	363	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:43	363	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:43	363	[DEBUG]	Executed store
2023-10-13	12:23:43	363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859855','226')
2023-10-13	12:23:43	363	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:43	363	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:43	363	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859855 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:43	363	[DEBUG]	Store custom available field
2023-10-13	12:23:43	363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859855,3,'',1)
2023-10-13	12:23:43	363	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:43	363	[DEBUG]	Get existing row with customfield value 52-56cm
2023-10-13	12:23:43	363	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859855 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:43	363	[DEBUG]	Store custom available field
2023-10-13	12:23:43	363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859855,6,'52-56cm',3)
2023-10-13	12:23:43	363	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:43	363	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:43	363	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859852
2023-10-13	12:23:43	363	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:43	363	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n56-58cm\\r\\n58-62cm\\r\\n52-56cm\"}]|clabels=0|options={\"1859852\":[1859852,8,1,\"choisir la taille\"],\"1859853\":[\"56-58cm\"],\"1859854\":[\"58-62cm\"],\"1859855\":[\"52-56cm\"]}|' WHERE `virtuemart_product_id` = 1859852
2023-10-13	12:23:43	363	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:43	363	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859855
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:43	364	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field taille
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:43	364	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:43	364	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:43	364	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:43	364	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:43	364	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:43	364	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field published
2023-10-13	12:23:43	364	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:43	364	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field override
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:43	364	[DEBUG]	Use field value for field slug
2023-10-13	12:23:43	364	[DEBUG]	Process line 364
2023-10-13	12:23:43	364	[DEBUG]	Load a row
2023-10-13	12:23:43	364	[DEBUG]	Processing item: A_7500_502
2023-10-13	12:23:43	364	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:43	364	[DEBUG]	Processing product tax
2023-10-13	12:23:43	364	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:43	364	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:43	364	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:43	364	[DEBUG]	Query for Product
2023-10-13	12:23:43	364	[DEBUG]	Executed store
2023-10-13	12:23:43	364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7500_502','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:43	364	[DEBUG]	Check product language entry
2023-10-13	12:23:43	364	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859856
2023-10-13	12:23:43	364	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:43	364	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7500_502' AND `virtuemart_product_id` != 1859856
2023-10-13	12:23:43	364	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:43	364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859856, 'A_7500_502')
2023-10-13	12:23:43	364	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:43	364	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-blue-lime' AND `virtuemart_product_id` != 1859856
2023-10-13	12:23:43	364	[DEBUG]	Query for ProductLang
2023-10-13	12:23:43	364	[DEBUG]	Executed store
2023-10-13	12:23:43	364	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le casque MET Terranova avec MIPS est destiné aux fans d\'enduro et de all-mountain avec une conduite agressive et rapide. Sa construction et sa forme sont inspirées du casque primé Roam et garantissent un confort optimal. Comparé aux casques de VTT traditionnels, le MET dispose d\'une surface de protection agrandie, la protection de la nuque descend plus bas. Ainsi, il tient bien sur ta tête. Équipé du système MIPS, le Terranova flotte au-dessus de la tête ce qui lui permet d\'absorber les forces de rotation en cas de chute. Le système d\'ajustement Safe-T Duo comprend un bandeau sur 360° permettant un réglage vertical sur quatre positions.<br><br>Caractéristiques:<br><br>17 ouvertures de ventilation<br>Avec système de protection du cerveau MIPS-C2<br>Compatible avec les queues de cheval<br>Visière réglable<br>N° art fourn : 720.026',`product_name`='MET Casque MET Terranova avec MIPS / Blue Lime',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-blue-lime' WHERE `virtuemart_product_id` = '1859856'
2023-10-13	12:23:43	364	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34885_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:43	364	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:43	364	[DEBUG]	Process image file
2023-10-13	12:23:43	364	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:43	364	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:43	364	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34885_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:43	364	[DEBUG]	Full name target: bcprisme/34885_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:44	364	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:44	364	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34885_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:44	364	[DEBUG]	Query for Media
2023-10-13	12:23:44	364	[DEBUG]	Executed store
2023-10-13	12:23:44	364	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34885_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/34885_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239118'
2023-10-13	12:23:44	364	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:44	364	[DEBUG]	Executed store
2023-10-13	12:23:44	364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859856','239118','1')
2023-10-13	12:23:44	364	[DEBUG]	Store product image relation
2023-10-13	12:23:44	364	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:44	364	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859856 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:44	364	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:44	364	[DEBUG]	Executed store
2023-10-13	12:23:44	364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859856','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:44	364	[DEBUG]	Checking manufacturer
2023-10-13	12:23:44	364	[DEBUG]	Load a row
2023-10-13	12:23:44	364	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:44	364	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:44	364	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:44	364	[DEBUG]	Executed store
2023-10-13	12:23:44	364	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:44	364	[DEBUG]	Manufacturer exists
2023-10-13	12:23:44	364	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:44	364	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:44	364	[DEBUG]	Executed store
2023-10-13	12:23:44	364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859856','226')
2023-10-13	12:23:44	364	[DEBUG]	Find the custom field ID
2023-10-13	12:23:44	364	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:44	364	[DEBUG]	No custom field ID found
2023-10-13	12:23:44	364	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:44	364	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:23:44	364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859856 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:44	364	[DEBUG]	Store custom available field
2023-10-13	12:23:44	364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859856,3,'69.7058333333334',1)
2023-10-13	12:23:44	364	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:44	364	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:44	364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859856 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:44	364	[DEBUG]	Store custom available field
2023-10-13	12:23:44	364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859856,6,'choisir la taille',3)
2023-10-13	12:23:44	364	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:44	364	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:44	364	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:44	364	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:44	364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859856 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:44	364	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:44	364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859856,8,1)
2023-10-13	12:23:44	364	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:44	364	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859856\":[1859856,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859856
2023-10-13	12:23:44	364	[DEBUG]	Checking category
2023-10-13	12:23:44	364	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:44	364	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859856
2023-10-13	12:23:44	364	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:44	364	[DEBUG]	Executed store
2023-10-13	12:23:44	364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859856','7281')
2023-10-13	12:23:44	364	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:44	364	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859856 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:44	364	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:44	364	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859856
2023-10-13	12:23:44	365	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:44	365	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:44	365	[DEBUG]	Use field value for field taille
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:44	365	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:44	365	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:44	365	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:44	365	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:44	365	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:44	365	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:44	365	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:44	365	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:44	365	[DEBUG]	Use field value for field published
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:44	365	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field override
2023-10-13	12:23:44	365	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:44	365	[DEBUG]	Use field value for field slug
2023-10-13	12:23:44	365	[DEBUG]	Process line 365
2023-10-13	12:23:44	365	[DEBUG]	Load a row
2023-10-13	12:23:44	365	[DEBUG]	Processing item: 1000000125306
2023-10-13	12:23:44	365	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:44	365	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:44	365	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_502'
2023-10-13	12:23:44	365	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:44	365	[DEBUG]	Processing product tax
2023-10-13	12:23:44	365	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:44	365	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:44	365	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:44	365	[DEBUG]	Query for Product
2023-10-13	12:23:44	365	[DEBUG]	Executed store
2023-10-13	12:23:44	365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859856','1000000125306','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:44	365	[DEBUG]	No parent found
2023-10-13	12:23:44	365	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859856 AND customfield_value = 'stockable'
2023-10-13	12:23:44	365	[DEBUG]	Check product language entry
2023-10-13	12:23:44	365	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859857
2023-10-13	12:23:44	365	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:44	365	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125306' AND `virtuemart_product_id` != 1859857
2023-10-13	12:23:44	365	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:44	365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859857, '1000000125306')
2023-10-13	12:23:44	365	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:44	365	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-blue-lime-52-56cm' AND `virtuemart_product_id` != 1859857
2023-10-13	12:23:44	365	[DEBUG]	Query for ProductLang
2023-10-13	12:23:44	365	[DEBUG]	Executed store
2023-10-13	12:23:44	365	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / Blue Lime (52-56cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-blue-lime-52-56cm' WHERE `virtuemart_product_id` = '1859857'
2023-10-13	12:23:44	365	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34885_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:44	365	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:44	365	[DEBUG]	Process image file
2023-10-13	12:23:44	365	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:44	365	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:44	365	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34885_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:44	365	[DEBUG]	Full name target: bcprisme/34885_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:45	365	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:45	365	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34885_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:45	365	[DEBUG]	Query for Media
2023-10-13	12:23:45	365	[DEBUG]	Executed store
2023-10-13	12:23:45	365	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34885_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/34885_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239118'
2023-10-13	12:23:45	365	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:45	365	[DEBUG]	Executed store
2023-10-13	12:23:45	365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859857','239118','1')
2023-10-13	12:23:45	365	[DEBUG]	Store product image relation
2023-10-13	12:23:45	365	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:45	365	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859857 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:45	365	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:45	365	[DEBUG]	Executed store
2023-10-13	12:23:45	365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859857','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:45	365	[DEBUG]	Checking manufacturer
2023-10-13	12:23:45	365	[DEBUG]	Load a row
2023-10-13	12:23:45	365	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:45	365	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:45	365	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:45	365	[DEBUG]	Executed store
2023-10-13	12:23:45	365	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:45	365	[DEBUG]	Manufacturer exists
2023-10-13	12:23:45	365	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:45	365	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:45	365	[DEBUG]	Executed store
2023-10-13	12:23:45	365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859857','226')
2023-10-13	12:23:45	365	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:45	365	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:45	365	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859857 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:45	365	[DEBUG]	Store custom available field
2023-10-13	12:23:45	365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859857,3,'',1)
2023-10-13	12:23:45	365	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:45	365	[DEBUG]	Get existing row with customfield value 52-56cm
2023-10-13	12:23:45	365	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859857 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:45	365	[DEBUG]	Store custom available field
2023-10-13	12:23:45	365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859857,6,'52-56cm',3)
2023-10-13	12:23:45	365	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:45	365	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:45	365	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859856
2023-10-13	12:23:45	365	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:45	365	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-56cm\"}]|clabels=0|options={\"1859856\":[1859856,8,1,\"choisir la taille\"],\"1859857\":[\"52-56cm\"]}|' WHERE `virtuemart_product_id` = 1859856
2023-10-13	12:23:45	365	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:45	365	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859857
2023-10-13	12:23:45	366	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:45	366	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:45	366	[DEBUG]	Use field value for field taille
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:45	366	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:45	366	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:45	366	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:45	366	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:45	366	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:45	366	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:45	366	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:45	366	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:45	366	[DEBUG]	Use field value for field published
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:45	366	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field override
2023-10-13	12:23:45	366	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:45	366	[DEBUG]	Use field value for field slug
2023-10-13	12:23:45	366	[DEBUG]	Process line 366
2023-10-13	12:23:45	366	[DEBUG]	Load a row
2023-10-13	12:23:45	366	[DEBUG]	Processing item: 1000000125313
2023-10-13	12:23:45	366	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:45	366	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:45	366	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_502'
2023-10-13	12:23:45	366	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:45	366	[DEBUG]	Processing product tax
2023-10-13	12:23:45	366	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:45	366	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:45	366	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:45	366	[DEBUG]	Query for Product
2023-10-13	12:23:45	366	[DEBUG]	Executed store
2023-10-13	12:23:45	366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859856','1000000125313','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:45	366	[DEBUG]	No parent found
2023-10-13	12:23:45	366	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859856 AND customfield_value = 'stockable'
2023-10-13	12:23:45	366	[DEBUG]	Check product language entry
2023-10-13	12:23:45	366	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859858
2023-10-13	12:23:45	366	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:45	366	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125313' AND `virtuemart_product_id` != 1859858
2023-10-13	12:23:45	366	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:45	366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859858, '1000000125313')
2023-10-13	12:23:45	366	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:45	366	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-blue-lime-56-58cm' AND `virtuemart_product_id` != 1859858
2023-10-13	12:23:45	366	[DEBUG]	Query for ProductLang
2023-10-13	12:23:45	366	[DEBUG]	Executed store
2023-10-13	12:23:45	366	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / Blue Lime (56-58cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-blue-lime-56-58cm' WHERE `virtuemart_product_id` = '1859858'
2023-10-13	12:23:45	366	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34885_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:45	366	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:45	366	[DEBUG]	Process image file
2023-10-13	12:23:45	366	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:45	366	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:45	366	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34885_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:45	366	[DEBUG]	Full name target: bcprisme/34885_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:46	366	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:46	366	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34885_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:46	366	[DEBUG]	Query for Media
2023-10-13	12:23:46	366	[DEBUG]	Executed store
2023-10-13	12:23:46	366	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34885_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/34885_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239118'
2023-10-13	12:23:46	366	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:46	366	[DEBUG]	Executed store
2023-10-13	12:23:46	366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859858','239118','1')
2023-10-13	12:23:46	366	[DEBUG]	Store product image relation
2023-10-13	12:23:46	366	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:46	366	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859858 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:46	366	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:46	366	[DEBUG]	Executed store
2023-10-13	12:23:46	366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859858','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:46	366	[DEBUG]	Checking manufacturer
2023-10-13	12:23:46	366	[DEBUG]	Load a row
2023-10-13	12:23:46	366	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:46	366	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:46	366	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:46	366	[DEBUG]	Executed store
2023-10-13	12:23:46	366	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:46	366	[DEBUG]	Manufacturer exists
2023-10-13	12:23:46	366	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:46	366	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:46	366	[DEBUG]	Executed store
2023-10-13	12:23:46	366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859858','226')
2023-10-13	12:23:46	366	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:46	366	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:46	366	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859858 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:46	366	[DEBUG]	Store custom available field
2023-10-13	12:23:46	366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859858,3,'',1)
2023-10-13	12:23:46	366	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:46	366	[DEBUG]	Get existing row with customfield value 56-58cm
2023-10-13	12:23:46	366	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859858 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:46	366	[DEBUG]	Store custom available field
2023-10-13	12:23:46	366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859858,6,'56-58cm',3)
2023-10-13	12:23:46	366	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:46	366	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:46	366	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859856
2023-10-13	12:23:46	366	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:46	366	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-56cm\\r\\n56-58cm\"}]|clabels=0|options={\"1859856\":[1859856,8,1,\"choisir la taille\"],\"1859857\":[\"52-56cm\"],\"1859858\":[\"56-58cm\"]}|' WHERE `virtuemart_product_id` = 1859856
2023-10-13	12:23:46	366	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:46	366	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859858
2023-10-13	12:23:46	367	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:46	367	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:46	367	[DEBUG]	Use field value for field taille
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:46	367	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:46	367	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:46	367	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:46	367	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:46	367	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:46	367	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:46	367	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:46	367	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:46	367	[DEBUG]	Use field value for field published
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:46	367	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field override
2023-10-13	12:23:46	367	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:46	367	[DEBUG]	Use field value for field slug
2023-10-13	12:23:46	367	[DEBUG]	Process line 367
2023-10-13	12:23:46	367	[DEBUG]	Load a row
2023-10-13	12:23:46	367	[DEBUG]	Processing item: 1000000125320
2023-10-13	12:23:46	367	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:46	367	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:46	367	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_502'
2023-10-13	12:23:46	367	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:46	367	[DEBUG]	Processing product tax
2023-10-13	12:23:46	367	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:46	367	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:46	367	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:46	367	[DEBUG]	Query for Product
2023-10-13	12:23:46	367	[DEBUG]	Executed store
2023-10-13	12:23:46	367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859856','1000000125320','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:46	367	[DEBUG]	No parent found
2023-10-13	12:23:46	367	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859856 AND customfield_value = 'stockable'
2023-10-13	12:23:46	367	[DEBUG]	Check product language entry
2023-10-13	12:23:46	367	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859859
2023-10-13	12:23:46	367	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:46	367	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125320' AND `virtuemart_product_id` != 1859859
2023-10-13	12:23:46	367	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:46	367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859859, '1000000125320')
2023-10-13	12:23:46	367	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:46	367	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-blue-lime-58-62cm' AND `virtuemart_product_id` != 1859859
2023-10-13	12:23:46	367	[DEBUG]	Query for ProductLang
2023-10-13	12:23:46	367	[DEBUG]	Executed store
2023-10-13	12:23:46	367	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / Blue Lime (58-62cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-blue-lime-58-62cm' WHERE `virtuemart_product_id` = '1859859'
2023-10-13	12:23:46	367	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34885_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:46	367	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:46	367	[DEBUG]	Process image file
2023-10-13	12:23:46	367	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:46	367	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:46	367	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34885_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:46	367	[DEBUG]	Full name target: bcprisme/34885_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:47	367	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:47	367	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34885_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:47	367	[DEBUG]	Query for Media
2023-10-13	12:23:47	367	[DEBUG]	Executed store
2023-10-13	12:23:47	367	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34885_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/34885_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239118'
2023-10-13	12:23:47	367	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:47	367	[DEBUG]	Executed store
2023-10-13	12:23:47	367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859859','239118','1')
2023-10-13	12:23:47	367	[DEBUG]	Store product image relation
2023-10-13	12:23:47	367	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:47	367	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859859 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:47	367	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:47	367	[DEBUG]	Executed store
2023-10-13	12:23:47	367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859859','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:47	367	[DEBUG]	Checking manufacturer
2023-10-13	12:23:47	367	[DEBUG]	Load a row
2023-10-13	12:23:47	367	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:47	367	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:47	367	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:47	367	[DEBUG]	Executed store
2023-10-13	12:23:47	367	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:47	367	[DEBUG]	Manufacturer exists
2023-10-13	12:23:47	367	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:47	367	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:47	367	[DEBUG]	Executed store
2023-10-13	12:23:47	367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859859','226')
2023-10-13	12:23:47	367	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:47	367	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:47	367	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859859 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:47	367	[DEBUG]	Store custom available field
2023-10-13	12:23:47	367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859859,3,'',1)
2023-10-13	12:23:47	367	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:47	367	[DEBUG]	Get existing row with customfield value 58-62cm
2023-10-13	12:23:47	367	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859859 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:47	367	[DEBUG]	Store custom available field
2023-10-13	12:23:47	367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859859,6,'58-62cm',3)
2023-10-13	12:23:47	367	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:47	367	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:47	367	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859856
2023-10-13	12:23:47	367	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:47	367	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-56cm\\r\\n56-58cm\\r\\n58-62cm\"}]|clabels=0|options={\"1859856\":[1859856,8,1,\"choisir la taille\"],\"1859857\":[\"52-56cm\"],\"1859858\":[\"56-58cm\"],\"1859859\":[\"58-62cm\"]}|' WHERE `virtuemart_product_id` = 1859856
2023-10-13	12:23:47	367	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:47	367	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859859
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:47	368	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field taille
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:47	368	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:47	368	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:47	368	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:47	368	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:47	368	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:47	368	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field published
2023-10-13	12:23:47	368	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:47	368	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field override
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:47	368	[DEBUG]	Use field value for field slug
2023-10-13	12:23:47	368	[DEBUG]	Process line 368
2023-10-13	12:23:47	368	[DEBUG]	Load a row
2023-10-13	12:23:47	368	[DEBUG]	Processing item: A_7500_559
2023-10-13	12:23:47	368	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:47	368	[DEBUG]	Processing product tax
2023-10-13	12:23:47	368	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:47	368	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:47	368	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:47	368	[DEBUG]	Query for Product
2023-10-13	12:23:47	368	[DEBUG]	Executed store
2023-10-13	12:23:47	368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7500_559','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:47	368	[DEBUG]	Check product language entry
2023-10-13	12:23:47	368	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859860
2023-10-13	12:23:47	368	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:47	368	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7500_559' AND `virtuemart_product_id` != 1859860
2023-10-13	12:23:47	368	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:47	368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859860, 'A_7500_559')
2023-10-13	12:23:47	368	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:47	368	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-camo-lime' AND `virtuemart_product_id` != 1859860
2023-10-13	12:23:47	368	[DEBUG]	Query for ProductLang
2023-10-13	12:23:47	368	[DEBUG]	Executed store
2023-10-13	12:23:47	368	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le casque MET Terranova avec MIPS est destiné aux fans d\'enduro et de all-mountain avec une conduite agressive et rapide. Sa construction et sa forme sont inspirées du casque primé Roam et garantissent un confort optimal. Comparé aux casques de VTT traditionnels, le MET dispose d\'une surface de protection agrandie, la protection de la nuque descend plus bas. Ainsi, il tient bien sur ta tête. Équipé du système MIPS, le Terranova flotte au-dessus de la tête ce qui lui permet d\'absorber les forces de rotation en cas de chute. Le système d\'ajustement Safe-T Duo comprend un bandeau sur 360° permettant un réglage vertical sur quatre positions.<br><br>Caractéristiques:<br><br>17 ouvertures de ventilation<br>Avec système de protection du cerveau MIPS-C2<br>Compatible avec les queues de cheval<br>Visière réglable<br>N° art fourn : 720.026',`product_name`='MET Casque MET Terranova avec MIPS / CAMO-LIME',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-camo-lime' WHERE `virtuemart_product_id` = '1859860'
2023-10-13	12:23:47	368	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36127_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:47	368	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:47	368	[DEBUG]	Process image file
2023-10-13	12:23:47	368	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:47	368	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:47	368	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36127_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:47	368	[DEBUG]	Full name target: bcprisme/36127_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:48	368	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:48	368	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36127_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:48	368	[DEBUG]	Query for Media
2023-10-13	12:23:48	368	[DEBUG]	Executed store
2023-10-13	12:23:48	368	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36127_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/36127_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585391'
2023-10-13	12:23:48	368	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:48	368	[DEBUG]	Executed store
2023-10-13	12:23:48	368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859860','585391','1')
2023-10-13	12:23:48	368	[DEBUG]	Store product image relation
2023-10-13	12:23:48	368	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:48	368	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859860 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:48	368	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:48	368	[DEBUG]	Executed store
2023-10-13	12:23:48	368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859860','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:48	368	[DEBUG]	Checking manufacturer
2023-10-13	12:23:48	368	[DEBUG]	Load a row
2023-10-13	12:23:48	368	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:48	368	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:48	368	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:48	368	[DEBUG]	Executed store
2023-10-13	12:23:48	368	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:48	368	[DEBUG]	Manufacturer exists
2023-10-13	12:23:48	368	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:48	368	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:48	368	[DEBUG]	Executed store
2023-10-13	12:23:48	368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859860','226')
2023-10-13	12:23:48	368	[DEBUG]	Find the custom field ID
2023-10-13	12:23:48	368	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:48	368	[DEBUG]	No custom field ID found
2023-10-13	12:23:48	368	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:48	368	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:23:48	368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859860 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:48	368	[DEBUG]	Store custom available field
2023-10-13	12:23:48	368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859860,3,'69.7058333333334',1)
2023-10-13	12:23:48	368	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:48	368	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:48	368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859860 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:48	368	[DEBUG]	Store custom available field
2023-10-13	12:23:48	368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859860,6,'choisir la taille',3)
2023-10-13	12:23:48	368	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:48	368	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:48	368	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:48	368	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:48	368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859860 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:48	368	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:48	368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859860,8,1)
2023-10-13	12:23:48	368	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:48	368	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859860\":[1859860,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859860
2023-10-13	12:23:48	368	[DEBUG]	Checking category
2023-10-13	12:23:48	368	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:48	368	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859860
2023-10-13	12:23:48	368	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:48	368	[DEBUG]	Executed store
2023-10-13	12:23:48	368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859860','7281')
2023-10-13	12:23:48	368	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:48	368	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859860 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:48	368	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:48	368	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859860
2023-10-13	12:23:48	369	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:48	369	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:48	369	[DEBUG]	Use field value for field taille
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:48	369	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:48	369	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:48	369	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:48	369	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:48	369	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:48	369	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:48	369	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:48	369	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:48	369	[DEBUG]	Use field value for field published
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:48	369	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field override
2023-10-13	12:23:48	369	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:48	369	[DEBUG]	Use field value for field slug
2023-10-13	12:23:48	369	[DEBUG]	Process line 369
2023-10-13	12:23:48	369	[DEBUG]	Load a row
2023-10-13	12:23:48	369	[DEBUG]	Processing item: 1000000136722
2023-10-13	12:23:48	369	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:48	369	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:48	369	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_559'
2023-10-13	12:23:48	369	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:48	369	[DEBUG]	Processing product tax
2023-10-13	12:23:48	369	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:48	369	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:48	369	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:48	369	[DEBUG]	Query for Product
2023-10-13	12:23:48	369	[DEBUG]	Executed store
2023-10-13	12:23:48	369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859860','1000000136722','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:48	369	[DEBUG]	No parent found
2023-10-13	12:23:48	369	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859860 AND customfield_value = 'stockable'
2023-10-13	12:23:48	369	[DEBUG]	Check product language entry
2023-10-13	12:23:48	369	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859861
2023-10-13	12:23:48	369	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:48	369	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000136722' AND `virtuemart_product_id` != 1859861
2023-10-13	12:23:48	369	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:48	369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859861, '1000000136722')
2023-10-13	12:23:48	369	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:48	369	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-camo-lime-56-58cm' AND `virtuemart_product_id` != 1859861
2023-10-13	12:23:48	369	[DEBUG]	Query for ProductLang
2023-10-13	12:23:48	369	[DEBUG]	Executed store
2023-10-13	12:23:48	369	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / CAMO-LIME (56-58cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-camo-lime-56-58cm' WHERE `virtuemart_product_id` = '1859861'
2023-10-13	12:23:48	369	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36127_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:48	369	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:48	369	[DEBUG]	Process image file
2023-10-13	12:23:48	369	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:48	369	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:48	369	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36127_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:48	369	[DEBUG]	Full name target: bcprisme/36127_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:49	369	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:49	369	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36127_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:49	369	[DEBUG]	Query for Media
2023-10-13	12:23:49	369	[DEBUG]	Executed store
2023-10-13	12:23:49	369	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36127_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/36127_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585391'
2023-10-13	12:23:49	369	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:49	369	[DEBUG]	Executed store
2023-10-13	12:23:49	369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859861','585391','1')
2023-10-13	12:23:49	369	[DEBUG]	Store product image relation
2023-10-13	12:23:49	369	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:49	369	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859861 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:49	369	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:49	369	[DEBUG]	Executed store
2023-10-13	12:23:49	369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859861','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:49	369	[DEBUG]	Checking manufacturer
2023-10-13	12:23:49	369	[DEBUG]	Load a row
2023-10-13	12:23:49	369	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:49	369	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:49	369	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:49	369	[DEBUG]	Executed store
2023-10-13	12:23:49	369	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:49	369	[DEBUG]	Manufacturer exists
2023-10-13	12:23:49	369	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:49	369	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:49	369	[DEBUG]	Executed store
2023-10-13	12:23:49	369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859861','226')
2023-10-13	12:23:49	369	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:49	369	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:49	369	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859861 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:49	369	[DEBUG]	Store custom available field
2023-10-13	12:23:49	369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859861,3,'',1)
2023-10-13	12:23:49	369	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:49	369	[DEBUG]	Get existing row with customfield value 56-58cm
2023-10-13	12:23:49	369	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859861 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:49	369	[DEBUG]	Store custom available field
2023-10-13	12:23:49	369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859861,6,'56-58cm',3)
2023-10-13	12:23:49	369	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:49	369	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:49	369	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859860
2023-10-13	12:23:49	369	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:49	369	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n56-58cm\"}]|clabels=0|options={\"1859860\":[1859860,8,1,\"choisir la taille\"],\"1859861\":[\"56-58cm\"]}|' WHERE `virtuemart_product_id` = 1859860
2023-10-13	12:23:49	369	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:49	369	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859861
2023-10-13	12:23:49	370	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:49	370	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:49	370	[DEBUG]	Use field value for field taille
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:49	370	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:49	370	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:49	370	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:49	370	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:49	370	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:49	370	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:49	370	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:49	370	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:49	370	[DEBUG]	Use field value for field published
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:49	370	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field override
2023-10-13	12:23:49	370	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:49	370	[DEBUG]	Use field value for field slug
2023-10-13	12:23:49	370	[DEBUG]	Process line 370
2023-10-13	12:23:49	370	[DEBUG]	Load a row
2023-10-13	12:23:49	370	[DEBUG]	Processing item: 1000000136739
2023-10-13	12:23:49	370	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:49	370	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:49	370	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_559'
2023-10-13	12:23:49	370	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:49	370	[DEBUG]	Processing product tax
2023-10-13	12:23:49	370	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:49	370	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:49	370	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:49	370	[DEBUG]	Query for Product
2023-10-13	12:23:49	370	[DEBUG]	Executed store
2023-10-13	12:23:49	370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859860','1000000136739','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:49	370	[DEBUG]	No parent found
2023-10-13	12:23:49	370	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859860 AND customfield_value = 'stockable'
2023-10-13	12:23:49	370	[DEBUG]	Check product language entry
2023-10-13	12:23:49	370	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859862
2023-10-13	12:23:49	370	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:49	370	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000136739' AND `virtuemart_product_id` != 1859862
2023-10-13	12:23:49	370	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:49	370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859862, '1000000136739')
2023-10-13	12:23:49	370	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:49	370	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-camo-lime-58-62cm' AND `virtuemart_product_id` != 1859862
2023-10-13	12:23:49	370	[DEBUG]	Query for ProductLang
2023-10-13	12:23:49	370	[DEBUG]	Executed store
2023-10-13	12:23:49	370	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / CAMO-LIME (58-62cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-camo-lime-58-62cm' WHERE `virtuemart_product_id` = '1859862'
2023-10-13	12:23:49	370	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36127_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:49	370	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:49	370	[DEBUG]	Process image file
2023-10-13	12:23:49	370	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:49	370	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:49	370	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36127_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:49	370	[DEBUG]	Full name target: bcprisme/36127_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:50	370	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:50	370	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36127_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:50	370	[DEBUG]	Query for Media
2023-10-13	12:23:50	370	[DEBUG]	Executed store
2023-10-13	12:23:50	370	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36127_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/36127_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585391'
2023-10-13	12:23:50	370	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:50	370	[DEBUG]	Executed store
2023-10-13	12:23:50	370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859862','585391','1')
2023-10-13	12:23:50	370	[DEBUG]	Store product image relation
2023-10-13	12:23:50	370	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:50	370	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859862 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:50	370	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:50	370	[DEBUG]	Executed store
2023-10-13	12:23:50	370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859862','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:50	370	[DEBUG]	Checking manufacturer
2023-10-13	12:23:50	370	[DEBUG]	Load a row
2023-10-13	12:23:50	370	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:50	370	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:50	370	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:50	370	[DEBUG]	Executed store
2023-10-13	12:23:50	370	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:50	370	[DEBUG]	Manufacturer exists
2023-10-13	12:23:50	370	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:50	370	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:50	370	[DEBUG]	Executed store
2023-10-13	12:23:50	370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859862','226')
2023-10-13	12:23:50	370	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:50	370	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:50	370	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859862 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:50	370	[DEBUG]	Store custom available field
2023-10-13	12:23:50	370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859862,3,'',1)
2023-10-13	12:23:50	370	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:50	370	[DEBUG]	Get existing row with customfield value 58-62cm
2023-10-13	12:23:50	370	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859862 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:50	370	[DEBUG]	Store custom available field
2023-10-13	12:23:50	370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859862,6,'58-62cm',3)
2023-10-13	12:23:50	370	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:50	370	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:50	370	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859860
2023-10-13	12:23:50	370	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:50	370	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n56-58cm\\r\\n58-62cm\"}]|clabels=0|options={\"1859860\":[1859860,8,1,\"choisir la taille\"],\"1859861\":[\"56-58cm\"],\"1859862\":[\"58-62cm\"]}|' WHERE `virtuemart_product_id` = 1859860
2023-10-13	12:23:50	370	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:50	370	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859862
2023-10-13	12:23:50	371	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:50	371	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:50	371	[DEBUG]	Use field value for field taille
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:50	371	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:50	371	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:50	371	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:50	371	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:50	371	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:50	371	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:50	371	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:50	371	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:50	371	[DEBUG]	Use field value for field published
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:50	371	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field override
2023-10-13	12:23:50	371	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:50	371	[DEBUG]	Use field value for field slug
2023-10-13	12:23:50	371	[DEBUG]	Process line 371
2023-10-13	12:23:50	371	[DEBUG]	Load a row
2023-10-13	12:23:50	371	[DEBUG]	Processing item: 1000000136784
2023-10-13	12:23:50	371	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:50	371	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:50	371	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_559'
2023-10-13	12:23:50	371	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:50	371	[DEBUG]	Processing product tax
2023-10-13	12:23:50	371	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:50	371	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:50	371	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:50	371	[DEBUG]	Query for Product
2023-10-13	12:23:50	371	[DEBUG]	Executed store
2023-10-13	12:23:50	371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859860','1000000136784','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:50	371	[DEBUG]	No parent found
2023-10-13	12:23:50	371	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859860 AND customfield_value = 'stockable'
2023-10-13	12:23:50	371	[DEBUG]	Check product language entry
2023-10-13	12:23:50	371	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859863
2023-10-13	12:23:50	371	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:50	371	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000136784' AND `virtuemart_product_id` != 1859863
2023-10-13	12:23:50	371	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:50	371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859863, '1000000136784')
2023-10-13	12:23:50	371	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:50	371	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-camo-lime-52-56cm' AND `virtuemart_product_id` != 1859863
2023-10-13	12:23:50	371	[DEBUG]	Query for ProductLang
2023-10-13	12:23:50	371	[DEBUG]	Executed store
2023-10-13	12:23:50	371	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / CAMO-LIME (52-56cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-camo-lime-52-56cm' WHERE `virtuemart_product_id` = '1859863'
2023-10-13	12:23:50	371	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36127_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:50	371	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:50	371	[DEBUG]	Process image file
2023-10-13	12:23:50	371	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:50	371	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:50	371	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36127_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:50	371	[DEBUG]	Full name target: bcprisme/36127_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:51	371	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:51	371	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36127_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:51	371	[DEBUG]	Query for Media
2023-10-13	12:23:51	371	[DEBUG]	Executed store
2023-10-13	12:23:51	371	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36127_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/36127_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585391'
2023-10-13	12:23:51	371	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:51	371	[DEBUG]	Executed store
2023-10-13	12:23:51	371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859863','585391','1')
2023-10-13	12:23:51	371	[DEBUG]	Store product image relation
2023-10-13	12:23:51	371	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:51	371	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859863 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:51	371	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:51	371	[DEBUG]	Executed store
2023-10-13	12:23:51	371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859863','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:51	371	[DEBUG]	Checking manufacturer
2023-10-13	12:23:51	371	[DEBUG]	Load a row
2023-10-13	12:23:51	371	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:51	371	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:51	371	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:51	371	[DEBUG]	Executed store
2023-10-13	12:23:51	371	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:51	371	[DEBUG]	Manufacturer exists
2023-10-13	12:23:51	371	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:51	371	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:51	371	[DEBUG]	Executed store
2023-10-13	12:23:51	371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859863','226')
2023-10-13	12:23:51	371	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:51	371	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:51	371	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859863 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:51	371	[DEBUG]	Store custom available field
2023-10-13	12:23:51	371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859863,3,'',1)
2023-10-13	12:23:51	371	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:51	371	[DEBUG]	Get existing row with customfield value 52-56cm
2023-10-13	12:23:51	371	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859863 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:51	371	[DEBUG]	Store custom available field
2023-10-13	12:23:51	371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859863,6,'52-56cm',3)
2023-10-13	12:23:51	371	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:51	371	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:51	371	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859860
2023-10-13	12:23:51	371	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:51	371	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n56-58cm\\r\\n58-62cm\\r\\n52-56cm\"}]|clabels=0|options={\"1859860\":[1859860,8,1,\"choisir la taille\"],\"1859861\":[\"56-58cm\"],\"1859862\":[\"58-62cm\"],\"1859863\":[\"52-56cm\"]}|' WHERE `virtuemart_product_id` = 1859860
2023-10-13	12:23:51	371	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:51	371	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859863
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:51	372	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field taille
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:51	372	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:51	372	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:51	372	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:51	372	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:51	372	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:51	372	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field published
2023-10-13	12:23:51	372	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:51	372	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field override
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:51	372	[DEBUG]	Use field value for field slug
2023-10-13	12:23:51	372	[DEBUG]	Process line 372
2023-10-13	12:23:51	372	[DEBUG]	Load a row
2023-10-13	12:23:51	372	[DEBUG]	Processing item: A_7500_710
2023-10-13	12:23:51	372	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:51	372	[DEBUG]	Processing product tax
2023-10-13	12:23:51	372	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:51	372	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:51	372	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:51	372	[DEBUG]	Query for Product
2023-10-13	12:23:51	372	[DEBUG]	Executed store
2023-10-13	12:23:51	372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7500_710','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:51	372	[DEBUG]	Check product language entry
2023-10-13	12:23:51	372	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859864
2023-10-13	12:23:51	372	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:51	372	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7500_710' AND `virtuemart_product_id` != 1859864
2023-10-13	12:23:51	372	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:51	372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859864, 'A_7500_710')
2023-10-13	12:23:51	372	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:51	372	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-sage-green-black' AND `virtuemart_product_id` != 1859864
2023-10-13	12:23:51	372	[DEBUG]	Query for ProductLang
2023-10-13	12:23:51	372	[DEBUG]	Executed store
2023-10-13	12:23:51	372	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le casque MET Terranova avec MIPS est destiné aux fans d\'enduro et de all-mountain avec une conduite agressive et rapide. Sa construction et sa forme sont inspirées du casque primé Roam et garantissent un confort optimal. Comparé aux casques de VTT traditionnels, le MET dispose d\'une surface de protection agrandie, la protection de la nuque descend plus bas. Ainsi, il tient bien sur ta tête. Équipé du système MIPS, le Terranova flotte au-dessus de la tête ce qui lui permet d\'absorber les forces de rotation en cas de chute. Le système d\'ajustement Safe-T Duo comprend un bandeau sur 360° permettant un réglage vertical sur quatre positions.<br><br>Caractéristiques:<br><br>17 ouvertures de ventilation<br>Avec système de protection du cerveau MIPS-C2<br>Compatible avec les queues de cheval<br>Visière réglable<br>N° art fourn : 720.026',`product_name`='MET Casque MET Terranova avec MIPS / SAGE-GREEN-BLACK',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-sage-green-black' WHERE `virtuemart_product_id` = '1859864'
2023-10-13	12:23:51	372	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37709_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:51	372	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:51	372	[DEBUG]	Process image file
2023-10-13	12:23:51	372	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:51	372	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:51	372	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37709_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:51	372	[DEBUG]	Full name target: bcprisme/37709_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:52	372	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:52	372	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37709_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:52	372	[DEBUG]	Query for Media
2023-10-13	12:23:52	372	[DEBUG]	Executed store
2023-10-13	12:23:52	372	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37709_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/37709_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1059008'
2023-10-13	12:23:52	372	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:52	372	[DEBUG]	Executed store
2023-10-13	12:23:52	372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859864','1059008','1')
2023-10-13	12:23:52	372	[DEBUG]	Store product image relation
2023-10-13	12:23:52	372	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:52	372	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859864 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:52	372	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:52	372	[DEBUG]	Executed store
2023-10-13	12:23:52	372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859864','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:52	372	[DEBUG]	Checking manufacturer
2023-10-13	12:23:52	372	[DEBUG]	Load a row
2023-10-13	12:23:52	372	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:52	372	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:52	372	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:52	372	[DEBUG]	Executed store
2023-10-13	12:23:52	372	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:52	372	[DEBUG]	Manufacturer exists
2023-10-13	12:23:52	372	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:52	372	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:52	372	[DEBUG]	Executed store
2023-10-13	12:23:52	372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859864','226')
2023-10-13	12:23:52	372	[DEBUG]	Find the custom field ID
2023-10-13	12:23:52	372	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:52	372	[DEBUG]	No custom field ID found
2023-10-13	12:23:52	372	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:52	372	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:23:52	372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859864 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:52	372	[DEBUG]	Store custom available field
2023-10-13	12:23:52	372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859864,3,'69.7058333333334',1)
2023-10-13	12:23:52	372	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:52	372	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:52	372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859864 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:52	372	[DEBUG]	Store custom available field
2023-10-13	12:23:52	372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859864,6,'choisir la taille',3)
2023-10-13	12:23:52	372	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:52	372	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:52	372	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:52	372	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:52	372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859864 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:52	372	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:52	372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859864,8,1)
2023-10-13	12:23:52	372	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:52	372	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859864\":[1859864,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859864
2023-10-13	12:23:52	372	[DEBUG]	Checking category
2023-10-13	12:23:52	372	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:52	372	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859864
2023-10-13	12:23:52	372	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:52	372	[DEBUG]	Executed store
2023-10-13	12:23:52	372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859864','7281')
2023-10-13	12:23:52	372	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:52	372	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859864 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:52	372	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:52	372	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859864
2023-10-13	12:23:52	373	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:52	373	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:52	373	[DEBUG]	Use field value for field taille
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:52	373	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:52	373	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:52	373	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:52	373	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:52	373	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:52	373	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:52	373	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:52	373	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:52	373	[DEBUG]	Use field value for field published
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:52	373	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field override
2023-10-13	12:23:52	373	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:52	373	[DEBUG]	Use field value for field slug
2023-10-13	12:23:52	373	[DEBUG]	Process line 373
2023-10-13	12:23:52	373	[DEBUG]	Load a row
2023-10-13	12:23:52	373	[DEBUG]	Processing item: 1000000162912
2023-10-13	12:23:52	373	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:52	373	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:52	373	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_710'
2023-10-13	12:23:52	373	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:52	373	[DEBUG]	Processing product tax
2023-10-13	12:23:52	373	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:52	373	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:52	373	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:52	373	[DEBUG]	Query for Product
2023-10-13	12:23:52	373	[DEBUG]	Executed store
2023-10-13	12:23:52	373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859864','1000000162912','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:52	373	[DEBUG]	No parent found
2023-10-13	12:23:52	373	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859864 AND customfield_value = 'stockable'
2023-10-13	12:23:52	373	[DEBUG]	Check product language entry
2023-10-13	12:23:52	373	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859865
2023-10-13	12:23:52	373	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:52	373	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000162912' AND `virtuemart_product_id` != 1859865
2023-10-13	12:23:52	373	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:52	373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859865, '1000000162912')
2023-10-13	12:23:52	373	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:52	373	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-sage-green-black-56-58cm' AND `virtuemart_product_id` != 1859865
2023-10-13	12:23:52	373	[DEBUG]	Query for ProductLang
2023-10-13	12:23:52	373	[DEBUG]	Executed store
2023-10-13	12:23:52	373	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / SAGE-GREEN-BLACK (56-58cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-sage-green-black-56-58cm' WHERE `virtuemart_product_id` = '1859865'
2023-10-13	12:23:52	373	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37709_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:52	373	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:52	373	[DEBUG]	Process image file
2023-10-13	12:23:52	373	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:52	373	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:52	373	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37709_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:52	373	[DEBUG]	Full name target: bcprisme/37709_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:53	373	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:53	373	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37709_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:53	373	[DEBUG]	Query for Media
2023-10-13	12:23:53	373	[DEBUG]	Executed store
2023-10-13	12:23:53	373	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37709_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/37709_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1059008'
2023-10-13	12:23:53	373	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:53	373	[DEBUG]	Executed store
2023-10-13	12:23:53	373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859865','1059008','1')
2023-10-13	12:23:53	373	[DEBUG]	Store product image relation
2023-10-13	12:23:53	373	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:53	373	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859865 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:53	373	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:53	373	[DEBUG]	Executed store
2023-10-13	12:23:53	373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859865','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:53	373	[DEBUG]	Checking manufacturer
2023-10-13	12:23:53	373	[DEBUG]	Load a row
2023-10-13	12:23:53	373	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:53	373	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:53	373	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:53	373	[DEBUG]	Executed store
2023-10-13	12:23:53	373	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:53	373	[DEBUG]	Manufacturer exists
2023-10-13	12:23:53	373	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:53	373	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:53	373	[DEBUG]	Executed store
2023-10-13	12:23:53	373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859865','226')
2023-10-13	12:23:53	373	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:53	373	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:53	373	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859865 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:53	373	[DEBUG]	Store custom available field
2023-10-13	12:23:53	373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859865,3,'',1)
2023-10-13	12:23:53	373	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:53	373	[DEBUG]	Get existing row with customfield value 56-58cm
2023-10-13	12:23:53	373	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859865 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:53	373	[DEBUG]	Store custom available field
2023-10-13	12:23:53	373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859865,6,'56-58cm',3)
2023-10-13	12:23:53	373	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:53	373	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:53	373	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859864
2023-10-13	12:23:53	373	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:53	373	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n56-58cm\"}]|clabels=0|options={\"1859864\":[1859864,8,1,\"choisir la taille\"],\"1859865\":[\"56-58cm\"]}|' WHERE `virtuemart_product_id` = 1859864
2023-10-13	12:23:53	373	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:53	373	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859865
2023-10-13	12:23:53	374	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:53	374	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:53	374	[DEBUG]	Use field value for field taille
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:53	374	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:53	374	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:53	374	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:53	374	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:53	374	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:53	374	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:53	374	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:53	374	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:53	374	[DEBUG]	Use field value for field published
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:53	374	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field override
2023-10-13	12:23:53	374	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:53	374	[DEBUG]	Use field value for field slug
2023-10-13	12:23:53	374	[DEBUG]	Process line 374
2023-10-13	12:23:53	374	[DEBUG]	Load a row
2023-10-13	12:23:53	374	[DEBUG]	Processing item: 8015190276410
2023-10-13	12:23:53	374	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:53	374	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:53	374	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_710'
2023-10-13	12:23:53	374	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:53	374	[DEBUG]	Processing product tax
2023-10-13	12:23:53	374	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:53	374	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:53	374	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:53	374	[DEBUG]	Query for Product
2023-10-13	12:23:53	374	[DEBUG]	Executed store
2023-10-13	12:23:53	374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859864','8015190276410','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:53	374	[DEBUG]	No parent found
2023-10-13	12:23:53	374	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859864 AND customfield_value = 'stockable'
2023-10-13	12:23:53	374	[DEBUG]	Check product language entry
2023-10-13	12:23:53	374	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859866
2023-10-13	12:23:53	374	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:53	374	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8015190276410' AND `virtuemart_product_id` != 1859866
2023-10-13	12:23:53	374	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:53	374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859866, '8015190276410')
2023-10-13	12:23:53	374	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:53	374	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-sage-green-black-58-62cm' AND `virtuemart_product_id` != 1859866
2023-10-13	12:23:53	374	[DEBUG]	Query for ProductLang
2023-10-13	12:23:53	374	[DEBUG]	Executed store
2023-10-13	12:23:53	374	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / SAGE-GREEN-BLACK (58-62cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-sage-green-black-58-62cm' WHERE `virtuemart_product_id` = '1859866'
2023-10-13	12:23:53	374	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37709_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:53	374	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:53	374	[DEBUG]	Process image file
2023-10-13	12:23:53	374	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:23:53	374	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:53	374	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37709_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:53	374	[DEBUG]	Full name target: bcprisme/37709_casque_met_terranova_avec_mips.jpg
2023-10-13	12:23:54	374	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:54	374	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37709_casque_met_terranova_avec_mips.jpg'
2023-10-13	12:23:54	374	[DEBUG]	Query for Media
2023-10-13	12:23:54	374	[DEBUG]	Executed store
2023-10-13	12:23:54	374	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37709_casque_met_terranova_avec_mips.jpg',`file_url_thumb`='bcprisme/37709_casque_met_terranova_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1059008'
2023-10-13	12:23:54	374	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:54	374	[DEBUG]	Executed store
2023-10-13	12:23:54	374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859866','1059008','1')
2023-10-13	12:23:54	374	[DEBUG]	Store product image relation
2023-10-13	12:23:54	374	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:54	374	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859866 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:54	374	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:54	374	[DEBUG]	Executed store
2023-10-13	12:23:54	374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859866','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:54	374	[DEBUG]	Checking manufacturer
2023-10-13	12:23:54	374	[DEBUG]	Load a row
2023-10-13	12:23:54	374	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:54	374	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:54	374	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:54	374	[DEBUG]	Executed store
2023-10-13	12:23:54	374	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:54	374	[DEBUG]	Manufacturer exists
2023-10-13	12:23:54	374	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:54	374	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:54	374	[DEBUG]	Executed store
2023-10-13	12:23:54	374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859866','226')
2023-10-13	12:23:54	374	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:54	374	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:54	374	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859866 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:54	374	[DEBUG]	Store custom available field
2023-10-13	12:23:54	374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859866,3,'',1)
2023-10-13	12:23:54	374	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:54	374	[DEBUG]	Get existing row with customfield value 58-62cm
2023-10-13	12:23:54	374	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859866 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:54	374	[DEBUG]	Store custom available field
2023-10-13	12:23:54	374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859866,6,'58-62cm',3)
2023-10-13	12:23:54	374	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:54	374	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:54	374	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859864
2023-10-13	12:23:54	374	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:54	374	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n56-58cm\\r\\n58-62cm\"}]|clabels=0|options={\"1859864\":[1859864,8,1,\"choisir la taille\"],\"1859865\":[\"56-58cm\"],\"1859866\":[\"58-62cm\"]}|' WHERE `virtuemart_product_id` = 1859864
2023-10-13	12:23:54	374	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:54	374	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859866
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:54	375	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field taille
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:54	375	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:54	375	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:54	375	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:54	375	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:54	375	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:54	375	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field published
2023-10-13	12:23:54	375	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:54	375	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field override
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:54	375	[DEBUG]	Use field value for field slug
2023-10-13	12:23:54	375	[DEBUG]	Process line 375
2023-10-13	12:23:54	375	[DEBUG]	Load a row
2023-10-13	12:23:54	375	[DEBUG]	Processing item: A_7500_903
2023-10-13	12:23:54	375	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:54	375	[DEBUG]	Processing product tax
2023-10-13	12:23:54	375	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:54	375	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:54	375	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:54	375	[DEBUG]	Query for Product
2023-10-13	12:23:54	375	[DEBUG]	Executed store
2023-10-13	12:23:54	375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7500_903','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:54	375	[DEBUG]	Check product language entry
2023-10-13	12:23:54	375	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859867
2023-10-13	12:23:54	375	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:54	375	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7500_903' AND `virtuemart_product_id` != 1859867
2023-10-13	12:23:54	375	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:54	375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859867, 'A_7500_903')
2023-10-13	12:23:54	375	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:54	375	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-gray-lime' AND `virtuemart_product_id` != 1859867
2023-10-13	12:23:54	375	[DEBUG]	Query for ProductLang
2023-10-13	12:23:54	375	[DEBUG]	Executed store
2023-10-13	12:23:54	375	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le casque MET Terranova avec MIPS est destiné aux fans d\'enduro et de all-mountain avec une conduite agressive et rapide. Sa construction et sa forme sont inspirées du casque primé Roam et garantissent un confort optimal. Comparé aux casques de VTT traditionnels, le MET dispose d\'une surface de protection agrandie, la protection de la nuque descend plus bas. Ainsi, il tient bien sur ta tête. Équipé du système MIPS, le Terranova flotte au-dessus de la tête ce qui lui permet d\'absorber les forces de rotation en cas de chute. Le système d\'ajustement Safe-T Duo comprend un bandeau sur 360° permettant un réglage vertical sur quatre positions.<br><br>Caractéristiques:<br><br>17 ouvertures de ventilation<br>Avec système de protection du cerveau MIPS-C2<br>Compatible avec les queues de cheval<br>Visière réglable<br>N° art fourn : 720.026',`product_name`='MET Casque MET Terranova avec MIPS / Gray-Lime',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-gray-lime' WHERE `virtuemart_product_id` = '1859867'
2023-10-13	12:23:54	375	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39517_casque_met_terranova_avec_mips.png has not been found.
2023-10-13	12:23:54	375	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:54	375	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859867 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:54	375	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:54	375	[DEBUG]	Executed store
2023-10-13	12:23:54	375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859867','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:54	375	[DEBUG]	Checking manufacturer
2023-10-13	12:23:54	375	[DEBUG]	Load a row
2023-10-13	12:23:54	375	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:54	375	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:54	375	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:54	375	[DEBUG]	Executed store
2023-10-13	12:23:54	375	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:54	375	[DEBUG]	Manufacturer exists
2023-10-13	12:23:54	375	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:54	375	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:54	375	[DEBUG]	Executed store
2023-10-13	12:23:54	375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859867','226')
2023-10-13	12:23:54	375	[DEBUG]	Find the custom field ID
2023-10-13	12:23:54	375	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:54	375	[DEBUG]	No custom field ID found
2023-10-13	12:23:54	375	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:54	375	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:23:54	375	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859867 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:54	375	[DEBUG]	Store custom available field
2023-10-13	12:23:54	375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859867,3,'69.7058333333334',1)
2023-10-13	12:23:54	375	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:54	375	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:54	375	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859867 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:54	375	[DEBUG]	Store custom available field
2023-10-13	12:23:54	375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859867,6,'choisir la taille',3)
2023-10-13	12:23:54	375	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:54	375	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:54	375	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:54	375	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:54	375	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859867 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:54	375	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:54	375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859867,8,1)
2023-10-13	12:23:54	375	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:54	375	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859867\":[1859867,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859867
2023-10-13	12:23:54	375	[DEBUG]	Checking category
2023-10-13	12:23:54	375	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:54	375	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859867
2023-10-13	12:23:54	375	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:54	375	[DEBUG]	Executed store
2023-10-13	12:23:54	375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859867','7281')
2023-10-13	12:23:54	375	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:54	375	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859867 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:54	375	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:54	375	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859867
2023-10-13	12:23:54	376	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:54	376	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:54	376	[DEBUG]	Use field value for field taille
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:54	376	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:54	376	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:54	376	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:54	376	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:54	376	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:54	376	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:54	376	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:54	376	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:54	376	[DEBUG]	Use field value for field published
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:54	376	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field override
2023-10-13	12:23:54	376	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:54	376	[DEBUG]	Use field value for field slug
2023-10-13	12:23:54	376	[DEBUG]	Process line 376
2023-10-13	12:23:54	376	[DEBUG]	Load a row
2023-10-13	12:23:54	376	[DEBUG]	Processing item: 1000022735125
2023-10-13	12:23:54	376	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:54	376	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:54	376	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7500_903'
2023-10-13	12:23:54	376	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:54	376	[DEBUG]	Processing product tax
2023-10-13	12:23:54	376	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:54	376	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:54	376	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:54	376	[DEBUG]	Query for Product
2023-10-13	12:23:54	376	[DEBUG]	Executed store
2023-10-13	12:23:54	376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859867','1000022735125','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:54	376	[DEBUG]	No parent found
2023-10-13	12:23:54	376	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859867 AND customfield_value = 'stockable'
2023-10-13	12:23:54	376	[DEBUG]	Check product language entry
2023-10-13	12:23:54	376	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859868
2023-10-13	12:23:54	376	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:54	376	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022735125' AND `virtuemart_product_id` != 1859868
2023-10-13	12:23:54	376	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:54	376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859868, '1000022735125')
2023-10-13	12:23:54	376	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:54	376	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-terranova-avec-mips-gray-lime-56-58cm' AND `virtuemart_product_id` != 1859868
2023-10-13	12:23:54	376	[DEBUG]	Query for ProductLang
2023-10-13	12:23:54	376	[DEBUG]	Executed store
2023-10-13	12:23:54	376	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Terranova avec MIPS / Gray-Lime (56-58cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-terranova-avec-mips-gray-lime-56-58cm' WHERE `virtuemart_product_id` = '1859868'
2023-10-13	12:23:54	376	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39517_casque_met_terranova_avec_mips.png has not been found.
2023-10-13	12:23:54	376	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:54	376	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859868 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:54	376	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:54	376	[DEBUG]	Executed store
2023-10-13	12:23:54	376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859868','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:54	376	[DEBUG]	Checking manufacturer
2023-10-13	12:23:54	376	[DEBUG]	Load a row
2023-10-13	12:23:54	376	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:54	376	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:54	376	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:54	376	[DEBUG]	Executed store
2023-10-13	12:23:54	376	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:54	376	[DEBUG]	Manufacturer exists
2023-10-13	12:23:54	376	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:54	376	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:54	376	[DEBUG]	Executed store
2023-10-13	12:23:54	376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859868','226')
2023-10-13	12:23:54	376	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:54	376	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:54	376	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859868 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:54	376	[DEBUG]	Store custom available field
2023-10-13	12:23:54	376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859868,3,'',1)
2023-10-13	12:23:54	376	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:54	376	[DEBUG]	Get existing row with customfield value 56-58cm
2023-10-13	12:23:54	376	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859868 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:54	376	[DEBUG]	Store custom available field
2023-10-13	12:23:54	376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859868,6,'56-58cm',3)
2023-10-13	12:23:54	376	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:54	376	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:54	376	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859867
2023-10-13	12:23:54	376	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:54	376	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n56-58cm\"}]|clabels=0|options={\"1859867\":[1859867,8,1,\"choisir la taille\"],\"1859868\":[\"56-58cm\"]}|' WHERE `virtuemart_product_id` = 1859867
2023-10-13	12:23:54	376	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:54	376	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859868
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:54	377	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field taille
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:54	377	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:54	377	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:54	377	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:54	377	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:54	377	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:54	377	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field published
2023-10-13	12:23:54	377	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:54	377	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field override
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:54	377	[DEBUG]	Use field value for field slug
2023-10-13	12:23:54	377	[DEBUG]	Process line 377
2023-10-13	12:23:54	377	[DEBUG]	Load a row
2023-10-13	12:23:54	377	[DEBUG]	Processing item: A_7501_1
2023-10-13	12:23:54	377	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:54	377	[DEBUG]	Processing product tax
2023-10-13	12:23:54	377	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:54	377	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:54	377	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:54	377	[DEBUG]	Query for Product
2023-10-13	12:23:54	377	[DEBUG]	Executed store
2023-10-13	12:23:54	377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7501_1','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:54	377	[DEBUG]	Check product language entry
2023-10-13	12:23:54	377	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859869
2023-10-13	12:23:54	377	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:54	377	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7501_1' AND `virtuemart_product_id` != 1859869
2023-10-13	12:23:54	377	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:54	377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859869, 'A_7501_1')
2023-10-13	12:23:54	377	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:54	377	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-avec-mips-noir' AND `virtuemart_product_id` != 1859869
2023-10-13	12:23:54	377	[DEBUG]	Query for ProductLang
2023-10-13	12:23:54	377	[DEBUG]	Executed store
2023-10-13	12:23:54	377	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque VTT MET Echo de premier choix pour débutants, alliance optimale entre sécurité et design pour un excellent rapport qualité-prix. Les standards de sécurité éprouvés et les technologies des modèles haut de gamme de MET ont été intégrés dans ce modèle. La partie arrière basse est prolongée pour une protection fiable en cas de chute.<br>Autres caractéristiques:<br>Visière amovible<br>Sangles réglables<br>Système de réglage Safe-T E-MID<br>Coque externe en polycarbonate et structure interne en EPS liées par le procédé In-Mould<br>MIPS<br>N° art fourn : 720.025.002',`product_name`='MET Casque MTB Echo avec MIPS / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-avec-mips-noir' WHERE `virtuemart_product_id` = '1859869'
2023-10-13	12:23:54	377	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:54	377	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:54	377	[DEBUG]	Process image file
2023-10-13	12:23:54	377	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:54	377	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:54	377	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:54	377	[DEBUG]	Full name target: bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:55	377	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:55	377	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg'
2023-10-13	12:23:55	377	[DEBUG]	Query for Media
2023-10-13	12:23:55	377	[DEBUG]	Executed store
2023-10-13	12:23:55	377	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg',`file_url_thumb`='bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239122'
2023-10-13	12:23:55	377	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:55	377	[DEBUG]	Executed store
2023-10-13	12:23:55	377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859869','239122','1')
2023-10-13	12:23:55	377	[DEBUG]	Store product image relation
2023-10-13	12:23:55	377	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:55	377	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859869 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:55	377	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:55	377	[DEBUG]	Executed store
2023-10-13	12:23:55	377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859869','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:55	377	[DEBUG]	Checking manufacturer
2023-10-13	12:23:55	377	[DEBUG]	Load a row
2023-10-13	12:23:55	377	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:55	377	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:55	377	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:55	377	[DEBUG]	Executed store
2023-10-13	12:23:55	377	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:55	377	[DEBUG]	Manufacturer exists
2023-10-13	12:23:55	377	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:55	377	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:55	377	[DEBUG]	Executed store
2023-10-13	12:23:55	377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859869','226')
2023-10-13	12:23:55	377	[DEBUG]	Find the custom field ID
2023-10-13	12:23:55	377	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:55	377	[DEBUG]	No custom field ID found
2023-10-13	12:23:55	377	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:55	377	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:23:55	377	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859869 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:55	377	[DEBUG]	Store custom available field
2023-10-13	12:23:55	377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859869,3,'9.8725',1)
2023-10-13	12:23:55	377	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:55	377	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:55	377	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859869 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:55	377	[DEBUG]	Store custom available field
2023-10-13	12:23:55	377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859869,6,'choisir la taille',3)
2023-10-13	12:23:55	377	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:55	377	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:55	377	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:55	377	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:55	377	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859869 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:55	377	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:55	377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859869,8,1)
2023-10-13	12:23:55	377	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:55	377	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859869\":[1859869,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859869
2023-10-13	12:23:55	377	[DEBUG]	Checking category
2023-10-13	12:23:55	377	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:55	377	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859869
2023-10-13	12:23:55	377	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:55	377	[DEBUG]	Executed store
2023-10-13	12:23:55	377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859869','7281')
2023-10-13	12:23:55	377	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:55	377	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859869 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:55	377	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:55	377	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859869
2023-10-13	12:23:55	378	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:55	378	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:55	378	[DEBUG]	Use field value for field taille
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:55	378	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:55	378	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:55	378	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:55	378	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:55	378	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:55	378	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:55	378	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:55	378	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:55	378	[DEBUG]	Use field value for field published
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:55	378	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field override
2023-10-13	12:23:55	378	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:55	378	[DEBUG]	Use field value for field slug
2023-10-13	12:23:55	378	[DEBUG]	Process line 378
2023-10-13	12:23:55	378	[DEBUG]	Load a row
2023-10-13	12:23:55	378	[DEBUG]	Processing item: 1000000125467
2023-10-13	12:23:55	378	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:55	378	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:55	378	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7501_1'
2023-10-13	12:23:55	378	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:55	378	[DEBUG]	Processing product tax
2023-10-13	12:23:55	378	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:55	378	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:55	378	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:55	378	[DEBUG]	Query for Product
2023-10-13	12:23:55	378	[DEBUG]	Executed store
2023-10-13	12:23:55	378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859869','1000000125467','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:55	378	[DEBUG]	No parent found
2023-10-13	12:23:55	378	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859869 AND customfield_value = 'stockable'
2023-10-13	12:23:55	378	[DEBUG]	Check product language entry
2023-10-13	12:23:55	378	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859870
2023-10-13	12:23:55	378	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:55	378	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125467' AND `virtuemart_product_id` != 1859870
2023-10-13	12:23:55	378	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:55	378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859870, '1000000125467')
2023-10-13	12:23:55	378	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:55	378	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-avec-mips-noir-52-57' AND `virtuemart_product_id` != 1859870
2023-10-13	12:23:55	378	[DEBUG]	Query for ProductLang
2023-10-13	12:23:55	378	[DEBUG]	Executed store
2023-10-13	12:23:55	378	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo avec MIPS / Noir (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-avec-mips-noir-52-57' WHERE `virtuemart_product_id` = '1859870'
2023-10-13	12:23:55	378	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:55	378	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:55	378	[DEBUG]	Process image file
2023-10-13	12:23:55	378	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:55	378	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:55	378	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:55	378	[DEBUG]	Full name target: bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:56	378	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:56	378	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg'
2023-10-13	12:23:56	378	[DEBUG]	Query for Media
2023-10-13	12:23:56	378	[DEBUG]	Executed store
2023-10-13	12:23:56	378	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg',`file_url_thumb`='bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239122'
2023-10-13	12:23:56	378	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:56	378	[DEBUG]	Executed store
2023-10-13	12:23:56	378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859870','239122','1')
2023-10-13	12:23:56	378	[DEBUG]	Store product image relation
2023-10-13	12:23:56	378	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:56	378	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859870 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:56	378	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:56	378	[DEBUG]	Executed store
2023-10-13	12:23:56	378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859870','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:56	378	[DEBUG]	Checking manufacturer
2023-10-13	12:23:56	378	[DEBUG]	Load a row
2023-10-13	12:23:56	378	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:56	378	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:56	378	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:56	378	[DEBUG]	Executed store
2023-10-13	12:23:56	378	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:56	378	[DEBUG]	Manufacturer exists
2023-10-13	12:23:56	378	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:56	378	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:56	378	[DEBUG]	Executed store
2023-10-13	12:23:56	378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859870','226')
2023-10-13	12:23:56	378	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:56	378	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:56	378	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859870 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:56	378	[DEBUG]	Store custom available field
2023-10-13	12:23:56	378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859870,3,'',1)
2023-10-13	12:23:56	378	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:56	378	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:23:56	378	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859870 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:56	378	[DEBUG]	Store custom available field
2023-10-13	12:23:56	378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859870,6,'52-57',3)
2023-10-13	12:23:56	378	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:56	378	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:56	378	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859869
2023-10-13	12:23:56	378	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:56	378	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859869\":[1859869,8,1,\"choisir la taille\"],\"1859870\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859869
2023-10-13	12:23:56	378	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:56	378	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859870
2023-10-13	12:23:56	379	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:56	379	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:56	379	[DEBUG]	Use field value for field taille
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:56	379	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:56	379	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:56	379	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:56	379	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:56	379	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:56	379	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:56	379	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:56	379	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:56	379	[DEBUG]	Use field value for field published
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:56	379	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field override
2023-10-13	12:23:56	379	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:56	379	[DEBUG]	Use field value for field slug
2023-10-13	12:23:56	379	[DEBUG]	Process line 379
2023-10-13	12:23:56	379	[DEBUG]	Load a row
2023-10-13	12:23:56	379	[DEBUG]	Processing item: 1000000125474
2023-10-13	12:23:56	379	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:56	379	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:56	379	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7501_1'
2023-10-13	12:23:56	379	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:56	379	[DEBUG]	Processing product tax
2023-10-13	12:23:56	379	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:56	379	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:56	379	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:56	379	[DEBUG]	Query for Product
2023-10-13	12:23:56	379	[DEBUG]	Executed store
2023-10-13	12:23:56	379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859869','1000000125474','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:56	379	[DEBUG]	No parent found
2023-10-13	12:23:56	379	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859869 AND customfield_value = 'stockable'
2023-10-13	12:23:56	379	[DEBUG]	Check product language entry
2023-10-13	12:23:56	379	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859871
2023-10-13	12:23:56	379	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:56	379	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125474' AND `virtuemart_product_id` != 1859871
2023-10-13	12:23:56	379	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:56	379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859871, '1000000125474')
2023-10-13	12:23:56	379	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:56	379	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-avec-mips-noir-57-60' AND `virtuemart_product_id` != 1859871
2023-10-13	12:23:56	379	[DEBUG]	Query for ProductLang
2023-10-13	12:23:56	379	[DEBUG]	Executed store
2023-10-13	12:23:56	379	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo avec MIPS / Noir (57-60)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-avec-mips-noir-57-60' WHERE `virtuemart_product_id` = '1859871'
2023-10-13	12:23:56	379	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:56	379	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:56	379	[DEBUG]	Process image file
2023-10-13	12:23:56	379	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:56	379	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:56	379	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:56	379	[DEBUG]	Full name target: bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:57	379	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:57	379	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg'
2023-10-13	12:23:57	379	[DEBUG]	Query for Media
2023-10-13	12:23:57	379	[DEBUG]	Executed store
2023-10-13	12:23:57	379	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg',`file_url_thumb`='bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239122'
2023-10-13	12:23:57	379	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:57	379	[DEBUG]	Executed store
2023-10-13	12:23:57	379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859871','239122','1')
2023-10-13	12:23:57	379	[DEBUG]	Store product image relation
2023-10-13	12:23:57	379	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:57	379	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859871 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:57	379	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:57	379	[DEBUG]	Executed store
2023-10-13	12:23:57	379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859871','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:57	379	[DEBUG]	Checking manufacturer
2023-10-13	12:23:57	379	[DEBUG]	Load a row
2023-10-13	12:23:57	379	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:57	379	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:57	379	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:57	379	[DEBUG]	Executed store
2023-10-13	12:23:57	379	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:57	379	[DEBUG]	Manufacturer exists
2023-10-13	12:23:57	379	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:57	379	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:57	379	[DEBUG]	Executed store
2023-10-13	12:23:57	379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859871','226')
2023-10-13	12:23:57	379	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:57	379	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:57	379	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859871 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:57	379	[DEBUG]	Store custom available field
2023-10-13	12:23:57	379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859871,3,'',1)
2023-10-13	12:23:57	379	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:57	379	[DEBUG]	Get existing row with customfield value 57-60
2023-10-13	12:23:57	379	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859871 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:57	379	[DEBUG]	Store custom available field
2023-10-13	12:23:57	379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859871,6,'57-60',3)
2023-10-13	12:23:57	379	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:57	379	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:57	379	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859869
2023-10-13	12:23:57	379	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:57	379	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-60\"}]|clabels=0|options={\"1859869\":[1859869,8,1,\"choisir la taille\"],\"1859870\":[\"52-57\"],\"1859871\":[\"57-60\"]}|' WHERE `virtuemart_product_id` = 1859869
2023-10-13	12:23:57	379	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:57	379	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859871
2023-10-13	12:23:57	380	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:57	380	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:57	380	[DEBUG]	Use field value for field taille
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:57	380	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:57	380	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:57	380	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:57	380	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:57	380	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:57	380	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:57	380	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:57	380	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:57	380	[DEBUG]	Use field value for field published
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:57	380	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field override
2023-10-13	12:23:57	380	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:57	380	[DEBUG]	Use field value for field slug
2023-10-13	12:23:57	380	[DEBUG]	Process line 380
2023-10-13	12:23:57	380	[DEBUG]	Load a row
2023-10-13	12:23:57	380	[DEBUG]	Processing item: 1000000136708
2023-10-13	12:23:57	380	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:57	380	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:57	380	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7501_1'
2023-10-13	12:23:57	380	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:57	380	[DEBUG]	Processing product tax
2023-10-13	12:23:57	380	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:57	380	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:57	380	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:57	380	[DEBUG]	Query for Product
2023-10-13	12:23:57	380	[DEBUG]	Executed store
2023-10-13	12:23:57	380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859869','1000000136708','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:57	380	[DEBUG]	No parent found
2023-10-13	12:23:57	380	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859869 AND customfield_value = 'stockable'
2023-10-13	12:23:57	380	[DEBUG]	Check product language entry
2023-10-13	12:23:57	380	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859872
2023-10-13	12:23:57	380	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:57	380	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000136708' AND `virtuemart_product_id` != 1859872
2023-10-13	12:23:57	380	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:57	380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859872, '1000000136708')
2023-10-13	12:23:57	380	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:57	380	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-avec-mips-noir-60-64' AND `virtuemart_product_id` != 1859872
2023-10-13	12:23:57	380	[DEBUG]	Query for ProductLang
2023-10-13	12:23:57	380	[DEBUG]	Executed store
2023-10-13	12:23:57	380	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo avec MIPS / Noir (60-64)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-avec-mips-noir-60-64' WHERE `virtuemart_product_id` = '1859872'
2023-10-13	12:23:57	380	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:57	380	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:57	380	[DEBUG]	Process image file
2023-10-13	12:23:57	380	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:57	380	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:57	380	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:57	380	[DEBUG]	Full name target: bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:58	380	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:58	380	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg'
2023-10-13	12:23:58	380	[DEBUG]	Query for Media
2023-10-13	12:23:58	380	[DEBUG]	Executed store
2023-10-13	12:23:58	380	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg',`file_url_thumb`='bcprisme/34889_casque_met_mtb_echo_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239122'
2023-10-13	12:23:58	380	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:58	380	[DEBUG]	Executed store
2023-10-13	12:23:58	380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859872','239122','1')
2023-10-13	12:23:58	380	[DEBUG]	Store product image relation
2023-10-13	12:23:58	380	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:58	380	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859872 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:58	380	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:58	380	[DEBUG]	Executed store
2023-10-13	12:23:58	380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859872','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:58	380	[DEBUG]	Checking manufacturer
2023-10-13	12:23:58	380	[DEBUG]	Load a row
2023-10-13	12:23:58	380	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:58	380	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:58	380	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:58	380	[DEBUG]	Executed store
2023-10-13	12:23:58	380	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:58	380	[DEBUG]	Manufacturer exists
2023-10-13	12:23:58	380	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:58	380	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:58	380	[DEBUG]	Executed store
2023-10-13	12:23:58	380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859872','226')
2023-10-13	12:23:58	380	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:58	380	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:23:58	380	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859872 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:58	380	[DEBUG]	Store custom available field
2023-10-13	12:23:58	380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859872,3,'',1)
2023-10-13	12:23:58	380	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:58	380	[DEBUG]	Get existing row with customfield value 60-64
2023-10-13	12:23:58	380	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859872 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:58	380	[DEBUG]	Store custom available field
2023-10-13	12:23:58	380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859872,6,'60-64',3)
2023-10-13	12:23:58	380	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:58	380	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:23:58	380	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859869
2023-10-13	12:23:58	380	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:58	380	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-60\\r\\n60-64\"}]|clabels=0|options={\"1859869\":[1859869,8,1,\"choisir la taille\"],\"1859870\":[\"52-57\"],\"1859871\":[\"57-60\"],\"1859872\":[\"60-64\"]}|' WHERE `virtuemart_product_id` = 1859869
2023-10-13	12:23:58	380	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:58	380	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859872
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:58	381	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field taille
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field category_path
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:58	381	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:23:58	381	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:58	381	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field product_weight
2023-10-13	12:23:58	381	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:58	381	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:58	381	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field published
2023-10-13	12:23:58	381	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:58	381	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field custom_title
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field custom_param
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field override
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field public_price
2023-10-13	12:23:58	381	[DEBUG]	Use field value for field slug
2023-10-13	12:23:58	381	[DEBUG]	Process line 381
2023-10-13	12:23:58	381	[DEBUG]	Load a row
2023-10-13	12:23:58	381	[DEBUG]	Processing item: A_7501_415
2023-10-13	12:23:58	381	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:58	381	[DEBUG]	Processing product tax
2023-10-13	12:23:58	381	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:58	381	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:58	381	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:58	381	[DEBUG]	Query for Product
2023-10-13	12:23:58	381	[DEBUG]	Executed store
2023-10-13	12:23:58	381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7501_415','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:58	381	[DEBUG]	Check product language entry
2023-10-13	12:23:58	381	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859873
2023-10-13	12:23:58	381	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:58	381	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7501_415' AND `virtuemart_product_id` != 1859873
2023-10-13	12:23:58	381	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:58	381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859873, 'A_7501_415')
2023-10-13	12:23:58	381	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:58	381	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-avec-mips-petrol-blue' AND `virtuemart_product_id` != 1859873
2023-10-13	12:23:58	381	[DEBUG]	Query for ProductLang
2023-10-13	12:23:58	381	[DEBUG]	Executed store
2023-10-13	12:23:58	381	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque VTT MET Echo de premier choix pour débutants, alliance optimale entre sécurité et design pour un excellent rapport qualité-prix. Les standards de sécurité éprouvés et les technologies des modèles haut de gamme de MET ont été intégrés dans ce modèle. La partie arrière basse est prolongée pour une protection fiable en cas de chute.<br>Autres caractéristiques:<br>Visière amovible<br>Sangles réglables<br>Système de réglage Safe-T E-MID<br>Coque externe en polycarbonate et structure interne en EPS liées par le procédé In-Mould<br>MIPS<br>N° art fourn : 720.025.002',`product_name`='MET Casque MTB Echo avec MIPS / Petrol Blue',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-avec-mips-petrol-blue' WHERE `virtuemart_product_id` = '1859873'
2023-10-13	12:23:58	381	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:58	381	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:58	381	[DEBUG]	Process image file
2023-10-13	12:23:58	381	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:58	381	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:58	381	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:58	381	[DEBUG]	Full name target: bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:59	381	[DEBUG]	Checking if the file_url exists
2023-10-13	12:23:59	381	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg'
2023-10-13	12:23:59	381	[DEBUG]	Query for Media
2023-10-13	12:23:59	381	[DEBUG]	Executed store
2023-10-13	12:23:59	381	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg',`file_url_thumb`='bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239128'
2023-10-13	12:23:59	381	[DEBUG]	Query for ProductMedia
2023-10-13	12:23:59	381	[DEBUG]	Executed store
2023-10-13	12:23:59	381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859873','239128','1')
2023-10-13	12:23:59	381	[DEBUG]	Store product image relation
2023-10-13	12:23:59	381	[DEBUG]	Finding a product_price_id
2023-10-13	12:23:59	381	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859873 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:23:59	381	[DEBUG]	Query for ProductPrice
2023-10-13	12:23:59	381	[DEBUG]	Executed store
2023-10-13	12:23:59	381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859873','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:23:59	381	[DEBUG]	Checking manufacturer
2023-10-13	12:23:59	381	[DEBUG]	Load a row
2023-10-13	12:23:59	381	[DEBUG]	Manufacturer already exists
2023-10-13	12:23:59	381	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:59	381	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:23:59	381	[DEBUG]	Executed store
2023-10-13	12:23:59	381	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:23:59	381	[DEBUG]	Manufacturer exists
2023-10-13	12:23:59	381	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:23:59	381	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:23:59	381	[DEBUG]	Executed store
2023-10-13	12:23:59	381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859873','226')
2023-10-13	12:23:59	381	[DEBUG]	Find the custom field ID
2023-10-13	12:23:59	381	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:23:59	381	[DEBUG]	No custom field ID found
2023-10-13	12:23:59	381	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:23:59	381	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:23:59	381	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859873 AND `virtuemart_custom_id` = 3
2023-10-13	12:23:59	381	[DEBUG]	Store custom available field
2023-10-13	12:23:59	381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859873,3,'9.8725',1)
2023-10-13	12:23:59	381	[DEBUG]	Processing custom available field: taille
2023-10-13	12:23:59	381	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:23:59	381	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859873 AND `virtuemart_custom_id` = 6
2023-10-13	12:23:59	381	[DEBUG]	Store custom available field
2023-10-13	12:23:59	381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859873,6,'choisir la taille',3)
2023-10-13	12:23:59	381	[DEBUG]	Process multi-variant fields
2023-10-13	12:23:59	381	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:23:59	381	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:23:59	381	[DEBUG]	Find the multi variant product entry
2023-10-13	12:23:59	381	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859873 AND `virtuemart_custom_id` = 8
2023-10-13	12:23:59	381	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:23:59	381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859873,8,1)
2023-10-13	12:23:59	381	[DEBUG]	Store the updated customfield_params
2023-10-13	12:23:59	381	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859873\":[1859873,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859873
2023-10-13	12:23:59	381	[DEBUG]	Checking category
2023-10-13	12:23:59	381	[DEBUG]	Get the existing categories for the product
2023-10-13	12:23:59	381	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859873
2023-10-13	12:23:59	381	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:23:59	381	[DEBUG]	Executed store
2023-10-13	12:23:59	381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859873','7281')
2023-10-13	12:23:59	381	[DEBUG]	Delete leftover product categories
2023-10-13	12:23:59	381	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859873 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:23:59	381	[DEBUG]	Update has fields after all processing
2023-10-13	12:23:59	381	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859873
2023-10-13	12:23:59	382	[DEBUG]	Use field value for field product_sku
2023-10-13	12:23:59	382	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:23:59	382	[DEBUG]	Use field value for field taille
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:23:59	382	[DEBUG]	Use field value for field product_name
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field category_path
2023-10-13	12:23:59	382	[DEBUG]	Use field value for field product_price
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:23:59	382	[DEBUG]	Use field value for field product_tax
2023-10-13	12:23:59	382	[DEBUG]	Use field value for field file_url
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field product_desc
2023-10-13	12:23:59	382	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:23:59	382	[DEBUG]	Use field value for field product_availability
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field product_weight
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field product_unit
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field related_products
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field product_special
2023-10-13	12:23:59	382	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:23:59	382	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:23:59	382	[DEBUG]	Use field value for field published
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field metadesc
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field metakey
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field custom_title
2023-10-13	12:23:59	382	[DEBUG]	Use field value for field custom_value
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field custom_param
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field override
2023-10-13	12:23:59	382	[DEBUG]	Use default value for field public_price
2023-10-13	12:23:59	382	[DEBUG]	Use field value for field slug
2023-10-13	12:23:59	382	[DEBUG]	Process line 382
2023-10-13	12:23:59	382	[DEBUG]	Load a row
2023-10-13	12:23:59	382	[DEBUG]	Processing item: 1000000125481
2023-10-13	12:23:59	382	[DEBUG]	Looking for parent SKU
2023-10-13	12:23:59	382	[DEBUG]	Checking product parent SKU
2023-10-13	12:23:59	382	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7501_415'
2023-10-13	12:23:59	382	[DEBUG]	Product tax: 7.7
2023-10-13	12:23:59	382	[DEBUG]	Processing product tax
2023-10-13	12:23:59	382	[DEBUG]	Check if calculation rule exists
2023-10-13	12:23:59	382	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:23:59	382	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:23:59	382	[DEBUG]	Query for Product
2023-10-13	12:23:59	382	[DEBUG]	Executed store
2023-10-13	12:23:59	382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859873','1000000125481','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:23:59	382	[DEBUG]	No parent found
2023-10-13	12:23:59	382	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859873 AND customfield_value = 'stockable'
2023-10-13	12:23:59	382	[DEBUG]	Check product language entry
2023-10-13	12:23:59	382	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859874
2023-10-13	12:23:59	382	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:59	382	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125481' AND `virtuemart_product_id` != 1859874
2023-10-13	12:23:59	382	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:23:59	382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859874, '1000000125481')
2023-10-13	12:23:59	382	[DEBUG]	Check if the product slug exists
2023-10-13	12:23:59	382	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-avec-mips-petrol-blue-52-57' AND `virtuemart_product_id` != 1859874
2023-10-13	12:23:59	382	[DEBUG]	Query for ProductLang
2023-10-13	12:23:59	382	[DEBUG]	Executed store
2023-10-13	12:23:59	382	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo avec MIPS / Petrol Blue (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-avec-mips-petrol-blue-52-57' WHERE `virtuemart_product_id` = '1859874'
2023-10-13	12:23:59	382	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:59	382	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:59	382	[DEBUG]	Process image file
2023-10-13	12:23:59	382	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:23:59	382	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:23:59	382	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:23:59	382	[DEBUG]	Full name target: bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:24:00	382	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:00	382	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg'
2023-10-13	12:24:00	382	[DEBUG]	Query for Media
2023-10-13	12:24:00	382	[DEBUG]	Executed store
2023-10-13	12:24:00	382	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg',`file_url_thumb`='bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239128'
2023-10-13	12:24:00	382	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:00	382	[DEBUG]	Executed store
2023-10-13	12:24:00	382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859874','239128','1')
2023-10-13	12:24:00	382	[DEBUG]	Store product image relation
2023-10-13	12:24:00	382	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:00	382	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859874 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:00	382	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:00	382	[DEBUG]	Executed store
2023-10-13	12:24:00	382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859874','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:00	382	[DEBUG]	Checking manufacturer
2023-10-13	12:24:00	382	[DEBUG]	Load a row
2023-10-13	12:24:00	382	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:00	382	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:00	382	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:00	382	[DEBUG]	Executed store
2023-10-13	12:24:00	382	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:00	382	[DEBUG]	Manufacturer exists
2023-10-13	12:24:00	382	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:24:00	382	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:00	382	[DEBUG]	Executed store
2023-10-13	12:24:00	382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859874','226')
2023-10-13	12:24:00	382	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:00	382	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:00	382	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859874 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:00	382	[DEBUG]	Store custom available field
2023-10-13	12:24:00	382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859874,3,'',1)
2023-10-13	12:24:00	382	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:00	382	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:24:00	382	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859874 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:00	382	[DEBUG]	Store custom available field
2023-10-13	12:24:00	382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859874,6,'52-57',3)
2023-10-13	12:24:00	382	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:00	382	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:00	382	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859873
2023-10-13	12:24:00	382	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:00	382	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859873\":[1859873,8,1,\"choisir la taille\"],\"1859874\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859873
2023-10-13	12:24:00	382	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:00	382	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859874
2023-10-13	12:24:00	383	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:00	383	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:00	383	[DEBUG]	Use field value for field taille
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:00	383	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:00	383	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:00	383	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:00	383	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:00	383	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:00	383	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:00	383	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:00	383	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:00	383	[DEBUG]	Use field value for field published
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:00	383	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field override
2023-10-13	12:24:00	383	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:00	383	[DEBUG]	Use field value for field slug
2023-10-13	12:24:00	383	[DEBUG]	Process line 383
2023-10-13	12:24:00	383	[DEBUG]	Load a row
2023-10-13	12:24:00	383	[DEBUG]	Processing item: 1000000125498
2023-10-13	12:24:00	383	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:00	383	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:00	383	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7501_415'
2023-10-13	12:24:00	383	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:00	383	[DEBUG]	Processing product tax
2023-10-13	12:24:00	383	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:00	383	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:00	383	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:00	383	[DEBUG]	Query for Product
2023-10-13	12:24:00	383	[DEBUG]	Executed store
2023-10-13	12:24:00	383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859873','1000000125498','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:00	383	[DEBUG]	No parent found
2023-10-13	12:24:00	383	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859873 AND customfield_value = 'stockable'
2023-10-13	12:24:00	383	[DEBUG]	Check product language entry
2023-10-13	12:24:00	383	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859875
2023-10-13	12:24:00	383	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:00	383	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125498' AND `virtuemart_product_id` != 1859875
2023-10-13	12:24:00	383	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:00	383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859875, '1000000125498')
2023-10-13	12:24:00	383	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:00	383	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-avec-mips-petrol-blue-57-60' AND `virtuemart_product_id` != 1859875
2023-10-13	12:24:00	383	[DEBUG]	Query for ProductLang
2023-10-13	12:24:00	383	[DEBUG]	Executed store
2023-10-13	12:24:00	383	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo avec MIPS / Petrol Blue (57-60)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-avec-mips-petrol-blue-57-60' WHERE `virtuemart_product_id` = '1859875'
2023-10-13	12:24:00	383	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:24:00	383	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:24:00	383	[DEBUG]	Process image file
2023-10-13	12:24:00	383	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:24:00	383	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:00	383	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:24:00	383	[DEBUG]	Full name target: bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg
2023-10-13	12:24:01	383	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:01	383	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg'
2023-10-13	12:24:01	383	[DEBUG]	Query for Media
2023-10-13	12:24:01	383	[DEBUG]	Executed store
2023-10-13	12:24:01	383	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg',`file_url_thumb`='bcprisme/34891_casque_met_mtb_echo_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239128'
2023-10-13	12:24:01	383	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:01	383	[DEBUG]	Executed store
2023-10-13	12:24:01	383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859875','239128','1')
2023-10-13	12:24:01	383	[DEBUG]	Store product image relation
2023-10-13	12:24:01	383	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:01	383	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859875 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:01	383	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:01	383	[DEBUG]	Executed store
2023-10-13	12:24:01	383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859875','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:01	383	[DEBUG]	Checking manufacturer
2023-10-13	12:24:01	383	[DEBUG]	Load a row
2023-10-13	12:24:01	383	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:01	383	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:01	383	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:01	383	[DEBUG]	Executed store
2023-10-13	12:24:01	383	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:01	383	[DEBUG]	Manufacturer exists
2023-10-13	12:24:01	383	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:24:01	383	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:01	383	[DEBUG]	Executed store
2023-10-13	12:24:01	383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859875','226')
2023-10-13	12:24:01	383	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:01	383	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:01	383	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859875 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:01	383	[DEBUG]	Store custom available field
2023-10-13	12:24:01	383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859875,3,'',1)
2023-10-13	12:24:01	383	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:01	383	[DEBUG]	Get existing row with customfield value 57-60
2023-10-13	12:24:01	383	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859875 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:01	383	[DEBUG]	Store custom available field
2023-10-13	12:24:01	383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859875,6,'57-60',3)
2023-10-13	12:24:01	383	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:01	383	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:01	383	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859873
2023-10-13	12:24:01	383	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:01	383	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-60\"}]|clabels=0|options={\"1859873\":[1859873,8,1,\"choisir la taille\"],\"1859874\":[\"52-57\"],\"1859875\":[\"57-60\"]}|' WHERE `virtuemart_product_id` = 1859873
2023-10-13	12:24:01	383	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:01	383	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859875
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:01	384	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field taille
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field category_path
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:01	384	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:24:01	384	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:01	384	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field product_weight
2023-10-13	12:24:01	384	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:01	384	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:01	384	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field published
2023-10-13	12:24:01	384	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:01	384	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field custom_title
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field custom_param
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field override
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field public_price
2023-10-13	12:24:01	384	[DEBUG]	Use field value for field slug
2023-10-13	12:24:01	384	[DEBUG]	Process line 384
2023-10-13	12:24:01	384	[DEBUG]	Load a row
2023-10-13	12:24:01	384	[DEBUG]	Processing item: A_7501_715
2023-10-13	12:24:01	384	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:01	384	[DEBUG]	Processing product tax
2023-10-13	12:24:01	384	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:01	384	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:01	384	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:01	384	[DEBUG]	Query for Product
2023-10-13	12:24:01	384	[DEBUG]	Executed store
2023-10-13	12:24:01	384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7501_715','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:01	384	[DEBUG]	Check product language entry
2023-10-13	12:24:01	384	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859876
2023-10-13	12:24:01	384	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:01	384	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7501_715' AND `virtuemart_product_id` != 1859876
2023-10-13	12:24:01	384	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:01	384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859876, 'A_7501_715')
2023-10-13	12:24:01	384	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:01	384	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-avec-mips-olive' AND `virtuemart_product_id` != 1859876
2023-10-13	12:24:01	384	[DEBUG]	Query for ProductLang
2023-10-13	12:24:01	384	[DEBUG]	Executed store
2023-10-13	12:24:01	384	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque VTT MET Echo de premier choix pour débutants, alliance optimale entre sécurité et design pour un excellent rapport qualité-prix. Les standards de sécurité éprouvés et les technologies des modèles haut de gamme de MET ont été intégrés dans ce modèle. La partie arrière basse est prolongée pour une protection fiable en cas de chute.<br>Autres caractéristiques:<br>Visière amovible<br>Sangles réglables<br>Système de réglage Safe-T E-MID<br>Coque externe en polycarbonate et structure interne en EPS liées par le procédé In-Mould<br>MIPS<br>N° art fourn : 720.025.002',`product_name`='MET Casque MTB Echo avec MIPS / Olive',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-avec-mips-olive' WHERE `virtuemart_product_id` = '1859876'
2023-10-13	12:24:01	384	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37723_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:01	384	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:01	384	[DEBUG]	Process image file
2023-10-13	12:24:01	384	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:01	384	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:01	384	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37723_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:01	384	[DEBUG]	Full name target: bcprisme/37723_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:02	384	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:02	384	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37723_casque_mtb_echo_avec_mips.jpg'
2023-10-13	12:24:02	384	[DEBUG]	Query for Media
2023-10-13	12:24:02	384	[DEBUG]	Executed store
2023-10-13	12:24:02	384	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37723_casque_mtb_echo_avec_mips.jpg',`file_url_thumb`='bcprisme/37723_casque_mtb_echo_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069362'
2023-10-13	12:24:02	384	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:02	384	[DEBUG]	Executed store
2023-10-13	12:24:02	384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859876','1069362','1')
2023-10-13	12:24:02	384	[DEBUG]	Store product image relation
2023-10-13	12:24:02	384	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:02	384	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859876 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:02	384	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:02	384	[DEBUG]	Executed store
2023-10-13	12:24:02	384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859876','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:02	384	[DEBUG]	Checking manufacturer
2023-10-13	12:24:02	384	[DEBUG]	Load a row
2023-10-13	12:24:02	384	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:02	384	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:02	384	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:02	384	[DEBUG]	Executed store
2023-10-13	12:24:02	384	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:03	384	[DEBUG]	Manufacturer exists
2023-10-13	12:24:03	384	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:24:03	384	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:03	384	[DEBUG]	Executed store
2023-10-13	12:24:03	384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859876','226')
2023-10-13	12:24:03	384	[DEBUG]	Find the custom field ID
2023-10-13	12:24:03	384	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:24:03	384	[DEBUG]	No custom field ID found
2023-10-13	12:24:03	384	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:03	384	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:24:03	384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859876 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:03	384	[DEBUG]	Store custom available field
2023-10-13	12:24:03	384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859876,3,'9.8725',1)
2023-10-13	12:24:03	384	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:03	384	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:24:03	384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859876 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:03	384	[DEBUG]	Store custom available field
2023-10-13	12:24:03	384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859876,6,'choisir la taille',3)
2023-10-13	12:24:03	384	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:03	384	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:24:03	384	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:24:03	384	[DEBUG]	Find the multi variant product entry
2023-10-13	12:24:03	384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859876 AND `virtuemart_custom_id` = 8
2023-10-13	12:24:03	384	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:24:03	384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859876,8,1)
2023-10-13	12:24:03	384	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:03	384	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859876\":[1859876,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859876
2023-10-13	12:24:03	384	[DEBUG]	Checking category
2023-10-13	12:24:03	384	[DEBUG]	Get the existing categories for the product
2023-10-13	12:24:03	384	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859876
2023-10-13	12:24:03	384	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:24:03	384	[DEBUG]	Executed store
2023-10-13	12:24:03	384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859876','7281')
2023-10-13	12:24:03	384	[DEBUG]	Delete leftover product categories
2023-10-13	12:24:03	384	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859876 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:24:03	384	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:03	384	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859876
2023-10-13	12:24:03	385	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:03	385	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:03	385	[DEBUG]	Use field value for field taille
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:03	385	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:03	385	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:03	385	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:03	385	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:03	385	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:03	385	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:03	385	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:03	385	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:03	385	[DEBUG]	Use field value for field published
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:03	385	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field override
2023-10-13	12:24:03	385	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:03	385	[DEBUG]	Use field value for field slug
2023-10-13	12:24:03	385	[DEBUG]	Process line 385
2023-10-13	12:24:03	385	[DEBUG]	Load a row
2023-10-13	12:24:03	385	[DEBUG]	Processing item: 1000000163070
2023-10-13	12:24:03	385	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:03	385	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:03	385	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7501_715'
2023-10-13	12:24:03	385	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:03	385	[DEBUG]	Processing product tax
2023-10-13	12:24:03	385	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:03	385	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:03	385	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:03	385	[DEBUG]	Query for Product
2023-10-13	12:24:03	385	[DEBUG]	Executed store
2023-10-13	12:24:03	385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859876','1000000163070','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:03	385	[DEBUG]	No parent found
2023-10-13	12:24:03	385	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859876 AND customfield_value = 'stockable'
2023-10-13	12:24:03	385	[DEBUG]	Check product language entry
2023-10-13	12:24:03	385	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859877
2023-10-13	12:24:03	385	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:03	385	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163070' AND `virtuemart_product_id` != 1859877
2023-10-13	12:24:03	385	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:03	385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859877, '1000000163070')
2023-10-13	12:24:03	385	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:03	385	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-avec-mips-olive-57-60' AND `virtuemart_product_id` != 1859877
2023-10-13	12:24:03	385	[DEBUG]	Query for ProductLang
2023-10-13	12:24:03	385	[DEBUG]	Executed store
2023-10-13	12:24:03	385	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo avec MIPS / Olive (57-60)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-avec-mips-olive-57-60' WHERE `virtuemart_product_id` = '1859877'
2023-10-13	12:24:03	385	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37723_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:03	385	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:03	385	[DEBUG]	Process image file
2023-10-13	12:24:03	385	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:03	385	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:03	385	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37723_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:03	385	[DEBUG]	Full name target: bcprisme/37723_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:04	385	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:04	385	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37723_casque_mtb_echo_avec_mips.jpg'
2023-10-13	12:24:04	385	[DEBUG]	Query for Media
2023-10-13	12:24:04	385	[DEBUG]	Executed store
2023-10-13	12:24:04	385	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37723_casque_mtb_echo_avec_mips.jpg',`file_url_thumb`='bcprisme/37723_casque_mtb_echo_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069362'
2023-10-13	12:24:04	385	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:04	385	[DEBUG]	Executed store
2023-10-13	12:24:04	385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859877','1069362','1')
2023-10-13	12:24:04	385	[DEBUG]	Store product image relation
2023-10-13	12:24:04	385	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:04	385	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859877 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:04	385	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:04	385	[DEBUG]	Executed store
2023-10-13	12:24:04	385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859877','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:04	385	[DEBUG]	Checking manufacturer
2023-10-13	12:24:04	385	[DEBUG]	Load a row
2023-10-13	12:24:04	385	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:04	385	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:04	385	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:04	385	[DEBUG]	Executed store
2023-10-13	12:24:04	385	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:04	385	[DEBUG]	Manufacturer exists
2023-10-13	12:24:04	385	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:24:04	385	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:04	385	[DEBUG]	Executed store
2023-10-13	12:24:04	385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859877','226')
2023-10-13	12:24:04	385	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:04	385	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:04	385	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859877 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:04	385	[DEBUG]	Store custom available field
2023-10-13	12:24:04	385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859877,3,'',1)
2023-10-13	12:24:04	385	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:04	385	[DEBUG]	Get existing row with customfield value 57-60
2023-10-13	12:24:04	385	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859877 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:04	385	[DEBUG]	Store custom available field
2023-10-13	12:24:04	385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859877,6,'57-60',3)
2023-10-13	12:24:04	385	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:04	385	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:04	385	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859876
2023-10-13	12:24:04	385	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:04	385	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-60\"}]|clabels=0|options={\"1859876\":[1859876,8,1,\"choisir la taille\"],\"1859877\":[\"57-60\"]}|' WHERE `virtuemart_product_id` = 1859876
2023-10-13	12:24:04	385	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:04	385	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859877
2023-10-13	12:24:04	386	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:04	386	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:04	386	[DEBUG]	Use field value for field taille
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:04	386	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:04	386	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:04	386	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:04	386	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:04	386	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:04	386	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:04	386	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:04	386	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:04	386	[DEBUG]	Use field value for field published
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:04	386	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field override
2023-10-13	12:24:04	386	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:04	386	[DEBUG]	Use field value for field slug
2023-10-13	12:24:04	386	[DEBUG]	Process line 386
2023-10-13	12:24:04	386	[DEBUG]	Load a row
2023-10-13	12:24:04	386	[DEBUG]	Processing item: 1000000163100
2023-10-13	12:24:04	386	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:04	386	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:04	386	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7501_715'
2023-10-13	12:24:04	386	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:04	386	[DEBUG]	Processing product tax
2023-10-13	12:24:04	386	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:04	386	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:04	386	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:04	386	[DEBUG]	Query for Product
2023-10-13	12:24:04	386	[DEBUG]	Executed store
2023-10-13	12:24:04	386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859876','1000000163100','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:04	386	[DEBUG]	No parent found
2023-10-13	12:24:04	386	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859876 AND customfield_value = 'stockable'
2023-10-13	12:24:04	386	[DEBUG]	Check product language entry
2023-10-13	12:24:04	386	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859878
2023-10-13	12:24:04	386	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:04	386	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163100' AND `virtuemart_product_id` != 1859878
2023-10-13	12:24:04	386	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:04	386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859878, '1000000163100')
2023-10-13	12:24:04	386	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:04	386	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-avec-mips-olive-52-57' AND `virtuemart_product_id` != 1859878
2023-10-13	12:24:04	386	[DEBUG]	Query for ProductLang
2023-10-13	12:24:04	386	[DEBUG]	Executed store
2023-10-13	12:24:04	386	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo avec MIPS / Olive (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-avec-mips-olive-52-57' WHERE `virtuemart_product_id` = '1859878'
2023-10-13	12:24:04	386	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37723_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:04	386	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:04	386	[DEBUG]	Process image file
2023-10-13	12:24:04	386	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:04	386	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:04	386	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37723_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:04	386	[DEBUG]	Full name target: bcprisme/37723_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:05	386	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:05	386	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37723_casque_mtb_echo_avec_mips.jpg'
2023-10-13	12:24:05	386	[DEBUG]	Query for Media
2023-10-13	12:24:05	386	[DEBUG]	Executed store
2023-10-13	12:24:05	386	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37723_casque_mtb_echo_avec_mips.jpg',`file_url_thumb`='bcprisme/37723_casque_mtb_echo_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069362'
2023-10-13	12:24:05	386	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:05	386	[DEBUG]	Executed store
2023-10-13	12:24:05	386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859878','1069362','1')
2023-10-13	12:24:05	386	[DEBUG]	Store product image relation
2023-10-13	12:24:05	386	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:05	386	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859878 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:05	386	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:05	386	[DEBUG]	Executed store
2023-10-13	12:24:05	386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859878','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:05	386	[DEBUG]	Checking manufacturer
2023-10-13	12:24:05	386	[DEBUG]	Load a row
2023-10-13	12:24:05	386	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:05	386	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:05	386	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:05	386	[DEBUG]	Executed store
2023-10-13	12:24:05	386	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:05	386	[DEBUG]	Manufacturer exists
2023-10-13	12:24:05	386	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:24:05	386	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:05	386	[DEBUG]	Executed store
2023-10-13	12:24:05	386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859878','226')
2023-10-13	12:24:05	386	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:05	386	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:05	386	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859878 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:05	386	[DEBUG]	Store custom available field
2023-10-13	12:24:05	386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859878,3,'',1)
2023-10-13	12:24:05	386	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:05	386	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:24:05	386	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859878 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:05	386	[DEBUG]	Store custom available field
2023-10-13	12:24:05	386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859878,6,'52-57',3)
2023-10-13	12:24:05	386	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:05	386	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:05	386	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859876
2023-10-13	12:24:05	386	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:05	386	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-60\\r\\n52-57\"}]|clabels=0|options={\"1859876\":[1859876,8,1,\"choisir la taille\"],\"1859877\":[\"57-60\"],\"1859878\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859876
2023-10-13	12:24:05	386	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:05	386	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859878
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:05	387	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field taille
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field category_path
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:05	387	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:24:05	387	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:05	387	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field product_weight
2023-10-13	12:24:05	387	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:05	387	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:05	387	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field published
2023-10-13	12:24:05	387	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:05	387	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field custom_title
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field custom_param
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field override
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field public_price
2023-10-13	12:24:05	387	[DEBUG]	Use field value for field slug
2023-10-13	12:24:05	387	[DEBUG]	Process line 387
2023-10-13	12:24:05	387	[DEBUG]	Load a row
2023-10-13	12:24:05	387	[DEBUG]	Processing item: A_7501_719
2023-10-13	12:24:05	387	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:05	387	[DEBUG]	Processing product tax
2023-10-13	12:24:05	387	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:05	387	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:05	387	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:05	387	[DEBUG]	Query for Product
2023-10-13	12:24:05	387	[DEBUG]	Executed store
2023-10-13	12:24:05	387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7501_719','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:05	387	[DEBUG]	Check product language entry
2023-10-13	12:24:05	387	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859879
2023-10-13	12:24:05	387	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:05	387	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7501_719' AND `virtuemart_product_id` != 1859879
2023-10-13	12:24:05	387	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:05	387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859879, 'A_7501_719')
2023-10-13	12:24:05	387	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:05	387	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-avec-mips-matte-titanium' AND `virtuemart_product_id` != 1859879
2023-10-13	12:24:05	387	[DEBUG]	Query for ProductLang
2023-10-13	12:24:05	387	[DEBUG]	Executed store
2023-10-13	12:24:05	387	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque VTT MET Echo de premier choix pour débutants, alliance optimale entre sécurité et design pour un excellent rapport qualité-prix. Les standards de sécurité éprouvés et les technologies des modèles haut de gamme de MET ont été intégrés dans ce modèle. La partie arrière basse est prolongée pour une protection fiable en cas de chute.<br>Autres caractéristiques:<br>Visière amovible<br>Sangles réglables<br>Système de réglage Safe-T E-MID<br>Coque externe en polycarbonate et structure interne en EPS liées par le procédé In-Mould<br>MIPS<br>N° art fourn : 720.025.002',`product_name`='MET Casque MTB Echo avec MIPS / Matte Titanium',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-avec-mips-matte-titanium' WHERE `virtuemart_product_id` = '1859879'
2023-10-13	12:24:05	387	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37724_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:05	387	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:05	387	[DEBUG]	Process image file
2023-10-13	12:24:05	387	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:05	387	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:05	387	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37724_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:05	387	[DEBUG]	Full name target: bcprisme/37724_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:06	387	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:06	387	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37724_casque_mtb_echo_avec_mips.jpg'
2023-10-13	12:24:06	387	[DEBUG]	Query for Media
2023-10-13	12:24:06	387	[DEBUG]	Executed store
2023-10-13	12:24:06	387	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37724_casque_mtb_echo_avec_mips.jpg',`file_url_thumb`='bcprisme/37724_casque_mtb_echo_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069365'
2023-10-13	12:24:06	387	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:06	387	[DEBUG]	Executed store
2023-10-13	12:24:06	387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859879','1069365','1')
2023-10-13	12:24:06	387	[DEBUG]	Store product image relation
2023-10-13	12:24:06	387	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:06	387	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859879 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:06	387	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:06	387	[DEBUG]	Executed store
2023-10-13	12:24:06	387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859879','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:06	387	[DEBUG]	Checking manufacturer
2023-10-13	12:24:06	387	[DEBUG]	Load a row
2023-10-13	12:24:06	387	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:06	387	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:06	387	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:06	387	[DEBUG]	Executed store
2023-10-13	12:24:06	387	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:06	387	[DEBUG]	Manufacturer exists
2023-10-13	12:24:06	387	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:24:06	387	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:06	387	[DEBUG]	Executed store
2023-10-13	12:24:06	387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859879','226')
2023-10-13	12:24:06	387	[DEBUG]	Find the custom field ID
2023-10-13	12:24:06	387	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:24:06	387	[DEBUG]	No custom field ID found
2023-10-13	12:24:06	387	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:06	387	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:24:06	387	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859879 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:06	387	[DEBUG]	Store custom available field
2023-10-13	12:24:06	387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859879,3,'9.8725',1)
2023-10-13	12:24:06	387	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:06	387	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:24:06	387	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859879 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:06	387	[DEBUG]	Store custom available field
2023-10-13	12:24:06	387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859879,6,'choisir la taille',3)
2023-10-13	12:24:06	387	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:06	387	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:24:06	387	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:24:06	387	[DEBUG]	Find the multi variant product entry
2023-10-13	12:24:06	387	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859879 AND `virtuemart_custom_id` = 8
2023-10-13	12:24:06	387	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:24:06	387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859879,8,1)
2023-10-13	12:24:06	387	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:06	387	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859879\":[1859879,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859879
2023-10-13	12:24:06	387	[DEBUG]	Checking category
2023-10-13	12:24:06	387	[DEBUG]	Get the existing categories for the product
2023-10-13	12:24:06	387	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859879
2023-10-13	12:24:06	387	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:24:06	387	[DEBUG]	Executed store
2023-10-13	12:24:06	387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859879','7281')
2023-10-13	12:24:06	387	[DEBUG]	Delete leftover product categories
2023-10-13	12:24:06	387	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859879 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:24:06	387	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:06	387	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859879
2023-10-13	12:24:06	388	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:06	388	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:06	388	[DEBUG]	Use field value for field taille
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:06	388	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:06	388	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:06	388	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:06	388	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:06	388	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:06	388	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:06	388	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:06	388	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:06	388	[DEBUG]	Use field value for field published
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:06	388	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field override
2023-10-13	12:24:06	388	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:06	388	[DEBUG]	Use field value for field slug
2023-10-13	12:24:06	388	[DEBUG]	Process line 388
2023-10-13	12:24:06	388	[DEBUG]	Load a row
2023-10-13	12:24:06	388	[DEBUG]	Processing item: 1000000163087
2023-10-13	12:24:06	388	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:06	388	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:06	388	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7501_719'
2023-10-13	12:24:06	388	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:06	388	[DEBUG]	Processing product tax
2023-10-13	12:24:06	388	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:06	388	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:06	388	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:06	388	[DEBUG]	Query for Product
2023-10-13	12:24:06	388	[DEBUG]	Executed store
2023-10-13	12:24:06	388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859879','1000000163087','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:06	388	[DEBUG]	No parent found
2023-10-13	12:24:06	388	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859879 AND customfield_value = 'stockable'
2023-10-13	12:24:06	388	[DEBUG]	Check product language entry
2023-10-13	12:24:06	388	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859880
2023-10-13	12:24:06	388	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:06	388	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163087' AND `virtuemart_product_id` != 1859880
2023-10-13	12:24:06	388	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:06	388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859880, '1000000163087')
2023-10-13	12:24:06	388	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:06	388	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-avec-mips-matte-titanium-57-60' AND `virtuemart_product_id` != 1859880
2023-10-13	12:24:06	388	[DEBUG]	Query for ProductLang
2023-10-13	12:24:06	388	[DEBUG]	Executed store
2023-10-13	12:24:06	388	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo avec MIPS / Matte Titanium  (57-60)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-avec-mips-matte-titanium-57-60' WHERE `virtuemart_product_id` = '1859880'
2023-10-13	12:24:06	388	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37724_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:06	388	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:06	388	[DEBUG]	Process image file
2023-10-13	12:24:06	388	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:06	388	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:06	388	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37724_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:06	388	[DEBUG]	Full name target: bcprisme/37724_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:07	388	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:07	388	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37724_casque_mtb_echo_avec_mips.jpg'
2023-10-13	12:24:07	388	[DEBUG]	Query for Media
2023-10-13	12:24:07	388	[DEBUG]	Executed store
2023-10-13	12:24:07	388	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37724_casque_mtb_echo_avec_mips.jpg',`file_url_thumb`='bcprisme/37724_casque_mtb_echo_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069365'
2023-10-13	12:24:07	388	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:07	388	[DEBUG]	Executed store
2023-10-13	12:24:07	388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859880','1069365','1')
2023-10-13	12:24:07	388	[DEBUG]	Store product image relation
2023-10-13	12:24:07	388	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:07	388	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859880 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:07	388	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:07	388	[DEBUG]	Executed store
2023-10-13	12:24:07	388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859880','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:07	388	[DEBUG]	Checking manufacturer
2023-10-13	12:24:07	388	[DEBUG]	Load a row
2023-10-13	12:24:07	388	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:07	388	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:07	388	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:07	388	[DEBUG]	Executed store
2023-10-13	12:24:07	388	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:07	388	[DEBUG]	Manufacturer exists
2023-10-13	12:24:07	388	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:24:07	388	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:07	388	[DEBUG]	Executed store
2023-10-13	12:24:07	388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859880','226')
2023-10-13	12:24:07	388	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:07	388	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:07	388	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859880 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:07	388	[DEBUG]	Store custom available field
2023-10-13	12:24:07	388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859880,3,'',1)
2023-10-13	12:24:07	388	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:07	388	[DEBUG]	Get existing row with customfield value 57-60
2023-10-13	12:24:07	388	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859880 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:07	388	[DEBUG]	Store custom available field
2023-10-13	12:24:07	388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859880,6,'57-60',3)
2023-10-13	12:24:07	388	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:07	388	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:07	388	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859879
2023-10-13	12:24:07	388	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:07	388	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-60\"}]|clabels=0|options={\"1859879\":[1859879,8,1,\"choisir la taille\"],\"1859880\":[\"57-60\"]}|' WHERE `virtuemart_product_id` = 1859879
2023-10-13	12:24:07	388	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:07	388	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859880
2023-10-13	12:24:07	389	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:07	389	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:07	389	[DEBUG]	Use field value for field taille
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:07	389	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:07	389	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:07	389	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:07	389	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:07	389	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:07	389	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:07	389	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:07	389	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:07	389	[DEBUG]	Use field value for field published
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:07	389	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field override
2023-10-13	12:24:07	389	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:07	389	[DEBUG]	Use field value for field slug
2023-10-13	12:24:07	389	[DEBUG]	Process line 389
2023-10-13	12:24:07	389	[DEBUG]	Load a row
2023-10-13	12:24:07	389	[DEBUG]	Processing item: 1000000163094
2023-10-13	12:24:07	389	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:07	389	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:07	389	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7501_719'
2023-10-13	12:24:07	389	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:07	389	[DEBUG]	Processing product tax
2023-10-13	12:24:07	389	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:07	389	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:07	389	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:07	389	[DEBUG]	Query for Product
2023-10-13	12:24:07	389	[DEBUG]	Executed store
2023-10-13	12:24:07	389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859879','1000000163094','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:07	389	[DEBUG]	No parent found
2023-10-13	12:24:07	389	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859879 AND customfield_value = 'stockable'
2023-10-13	12:24:07	389	[DEBUG]	Check product language entry
2023-10-13	12:24:07	389	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859881
2023-10-13	12:24:07	389	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:07	389	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163094' AND `virtuemart_product_id` != 1859881
2023-10-13	12:24:07	389	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:07	389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859881, '1000000163094')
2023-10-13	12:24:07	389	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:07	389	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-mtb-echo-avec-mips-matte-titanium-52-57' AND `virtuemart_product_id` != 1859881
2023-10-13	12:24:07	389	[DEBUG]	Query for ProductLang
2023-10-13	12:24:07	389	[DEBUG]	Executed store
2023-10-13	12:24:07	389	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MTB Echo avec MIPS / Matte Titanium  (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-mtb-echo-avec-mips-matte-titanium-52-57' WHERE `virtuemart_product_id` = '1859881'
2023-10-13	12:24:07	389	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37724_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:07	389	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:07	389	[DEBUG]	Process image file
2023-10-13	12:24:07	389	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:07	389	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:07	389	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37724_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:07	389	[DEBUG]	Full name target: bcprisme/37724_casque_mtb_echo_avec_mips.jpg
2023-10-13	12:24:08	389	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:08	389	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37724_casque_mtb_echo_avec_mips.jpg'
2023-10-13	12:24:08	389	[DEBUG]	Query for Media
2023-10-13	12:24:08	389	[DEBUG]	Executed store
2023-10-13	12:24:08	389	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37724_casque_mtb_echo_avec_mips.jpg',`file_url_thumb`='bcprisme/37724_casque_mtb_echo_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069365'
2023-10-13	12:24:08	389	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:08	389	[DEBUG]	Executed store
2023-10-13	12:24:08	389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859881','1069365','1')
2023-10-13	12:24:08	389	[DEBUG]	Store product image relation
2023-10-13	12:24:08	389	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:08	389	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859881 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:08	389	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:08	389	[DEBUG]	Executed store
2023-10-13	12:24:08	389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859881','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:08	389	[DEBUG]	Checking manufacturer
2023-10-13	12:24:08	389	[DEBUG]	Load a row
2023-10-13	12:24:08	389	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:08	389	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:08	389	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:08	389	[DEBUG]	Executed store
2023-10-13	12:24:08	389	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:08	389	[DEBUG]	Manufacturer exists
2023-10-13	12:24:08	389	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:24:08	389	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:08	389	[DEBUG]	Executed store
2023-10-13	12:24:08	389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859881','226')
2023-10-13	12:24:08	389	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:08	389	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:08	389	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859881 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:08	389	[DEBUG]	Store custom available field
2023-10-13	12:24:08	389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859881,3,'',1)
2023-10-13	12:24:08	389	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:08	389	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:24:08	389	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859881 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:08	389	[DEBUG]	Store custom available field
2023-10-13	12:24:08	389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859881,6,'52-57',3)
2023-10-13	12:24:08	389	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:08	389	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:08	389	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859879
2023-10-13	12:24:08	389	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:08	389	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-60\\r\\n52-57\"}]|clabels=0|options={\"1859879\":[1859879,8,1,\"choisir la taille\"],\"1859880\":[\"57-60\"],\"1859881\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859879
2023-10-13	12:24:08	389	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:08	389	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859881
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:08	390	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field taille
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field category_path
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:08	390	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:24:08	390	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:08	390	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field product_weight
2023-10-13	12:24:08	390	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:08	390	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:08	390	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field published
2023-10-13	12:24:08	390	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:08	390	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field custom_title
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field custom_param
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field override
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field public_price
2023-10-13	12:24:08	390	[DEBUG]	Use field value for field slug
2023-10-13	12:24:08	390	[DEBUG]	Process line 390
2023-10-13	12:24:08	390	[DEBUG]	Load a row
2023-10-13	12:24:08	390	[DEBUG]	Processing item: A_7991_84
2023-10-13	12:24:08	390	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:08	390	[DEBUG]	Processing product tax
2023-10-13	12:24:08	390	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:08	390	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:08	390	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:08	390	[DEBUG]	Query for Product
2023-10-13	12:24:08	390	[DEBUG]	Executed store
2023-10-13	12:24:08	390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7991_84','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:08	390	[DEBUG]	Check product language entry
2023-10-13	12:24:08	390	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859882
2023-10-13	12:24:08	390	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:08	390	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7991_84' AND `virtuemart_product_id` != 1859882
2023-10-13	12:24:08	390	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:08	390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859882, 'A_7991_84')
2023-10-13	12:24:08	390	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:08	390	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-mobilite-mips-black' AND `virtuemart_product_id` != 1859882
2023-10-13	12:24:08	390	[DEBUG]	Query for ProductLang
2023-10-13	12:24:08	390	[DEBUG]	Executed store
2023-10-13	12:24:08	390	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le casque MET Mobilite Mips offre une très bonne protection des zones sensibles de la tête grâce à son recouvrement élargi. 14 ouvertures ainsi que des conduits de ventilation internes permettent de garder la tête froide pendant les journées chaudes. Lorsque tu roules de nuit, tu peux clipser le feu arrière à LED dans une ouverture située à l\'arrière du casque. 4 LED éclairent en mode permanent ou clignotant jusqu\'à 60 heures et rendent bien visible au milieu du trafic routier. Avec le système de protection du cerveau MIPS-C2®, ton cerveau est bien protégé en cas d\'impact linéaire ou rotatif.<br><br>Caractéristiques:<br><br>Recouvrement élargi de la tête<br>Coque en polycarbonate In-Mould avec doublure EPS<br>Feux arrière à LED<br>Système de protection du cerveau MIPS-C2<br>Fermeture magnétique Fidlock®<br>Système d\'ajustement Safe-T-Mid<br>Bandeau de tête sur 360°<br>Mentonnière rembourrée<br>Coussinets lavables à la main<br>Filet anti-insectes intégré<br>Visière amovible<br>Sangle ajustable par diviseurs<br>14 ouvertures<br>Conduits de ventilation internes<br>Autocollants réfléchissants à l\'arrière<br>Certifications: CE: AS/NZS<br>N° art fourn : 720.034.00',`product_name`='MET Casque MET MOBILITE MIPS / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-mobilite-mips-black' WHERE `virtuemart_product_id` = '1859882'
2023-10-13	12:24:08	390	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36461_casque_met_mobilite_mips.jpg
2023-10-13	12:24:08	390	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:24:08	390	[DEBUG]	Process image file
2023-10-13	12:24:08	390	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:24:08	390	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:08	390	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36461_casque_met_mobilite_mips.jpg
2023-10-13	12:24:08	390	[DEBUG]	Full name target: bcprisme/36461_casque_met_mobilite_mips.jpg
2023-10-13	12:24:09	390	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:09	390	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36461_casque_met_mobilite_mips.jpg'
2023-10-13	12:24:09	390	[DEBUG]	Query for Media
2023-10-13	12:24:09	390	[DEBUG]	Executed store
2023-10-13	12:24:09	390	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36461_casque_met_mobilite_mips.jpg',`file_url_thumb`='bcprisme/36461_casque_met_mobilite_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '575595'
2023-10-13	12:24:09	390	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:09	390	[DEBUG]	Executed store
2023-10-13	12:24:09	390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859882','575595','1')
2023-10-13	12:24:09	390	[DEBUG]	Store product image relation
2023-10-13	12:24:09	390	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:09	390	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859882 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:09	390	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:09	390	[DEBUG]	Executed store
2023-10-13	12:24:09	390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859882','0','110.492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:09	390	[DEBUG]	Checking manufacturer
2023-10-13	12:24:09	390	[DEBUG]	Load a row
2023-10-13	12:24:09	390	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:09	390	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:09	390	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:09	390	[DEBUG]	Executed store
2023-10-13	12:24:09	390	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:09	390	[DEBUG]	Manufacturer exists
2023-10-13	12:24:09	390	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:24:09	390	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:09	390	[DEBUG]	Executed store
2023-10-13	12:24:09	390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859882','226')
2023-10-13	12:24:09	390	[DEBUG]	Find the custom field ID
2023-10-13	12:24:09	390	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:24:09	390	[DEBUG]	No custom field ID found
2023-10-13	12:24:09	390	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:09	390	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:24:09	390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859882 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:09	390	[DEBUG]	Store custom available field
2023-10-13	12:24:09	390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859882,3,'9.8725',1)
2023-10-13	12:24:09	390	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:09	390	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:24:09	390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859882 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:09	390	[DEBUG]	Store custom available field
2023-10-13	12:24:09	390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859882,6,'choisir la taille',3)
2023-10-13	12:24:09	390	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:09	390	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:24:09	390	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:24:09	390	[DEBUG]	Find the multi variant product entry
2023-10-13	12:24:09	390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859882 AND `virtuemart_custom_id` = 8
2023-10-13	12:24:09	390	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:24:09	390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859882,8,1)
2023-10-13	12:24:09	390	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:09	390	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859882\":[1859882,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859882
2023-10-13	12:24:09	390	[DEBUG]	Checking category
2023-10-13	12:24:09	390	[DEBUG]	Get the existing categories for the product
2023-10-13	12:24:09	390	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859882
2023-10-13	12:24:09	390	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:24:09	390	[DEBUG]	Executed store
2023-10-13	12:24:09	390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859882','7281')
2023-10-13	12:24:09	390	[DEBUG]	Delete leftover product categories
2023-10-13	12:24:09	390	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859882 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:24:09	390	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:09	390	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859882
2023-10-13	12:24:09	391	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:09	391	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:09	391	[DEBUG]	Use field value for field taille
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:09	391	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:09	391	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:09	391	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:09	391	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:09	391	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:09	391	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:09	391	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:09	391	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:09	391	[DEBUG]	Use field value for field published
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:09	391	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field override
2023-10-13	12:24:09	391	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:09	391	[DEBUG]	Use field value for field slug
2023-10-13	12:24:09	391	[DEBUG]	Process line 391
2023-10-13	12:24:09	391	[DEBUG]	Load a row
2023-10-13	12:24:09	391	[DEBUG]	Processing item: 8015190270012
2023-10-13	12:24:09	391	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:09	391	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:09	391	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7991_84'
2023-10-13	12:24:09	391	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:09	391	[DEBUG]	Processing product tax
2023-10-13	12:24:09	391	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:09	391	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:09	391	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:09	391	[DEBUG]	Query for Product
2023-10-13	12:24:09	391	[DEBUG]	Executed store
2023-10-13	12:24:09	391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859882','8015190270012','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:09	391	[DEBUG]	No parent found
2023-10-13	12:24:09	391	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859882 AND customfield_value = 'stockable'
2023-10-13	12:24:09	391	[DEBUG]	Check product language entry
2023-10-13	12:24:09	391	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859883
2023-10-13	12:24:09	391	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:09	391	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8015190270012' AND `virtuemart_product_id` != 1859883
2023-10-13	12:24:09	391	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:09	391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859883, '8015190270012')
2023-10-13	12:24:09	391	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:09	391	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-mobilite-mips-black-57-60' AND `virtuemart_product_id` != 1859883
2023-10-13	12:24:09	391	[DEBUG]	Query for ProductLang
2023-10-13	12:24:09	391	[DEBUG]	Executed store
2023-10-13	12:24:09	391	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET MOBILITE MIPS / Black (57-60)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-mobilite-mips-black-57-60' WHERE `virtuemart_product_id` = '1859883'
2023-10-13	12:24:09	391	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36461_casque_met_mobilite_mips.jpg
2023-10-13	12:24:09	391	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:24:09	391	[DEBUG]	Process image file
2023-10-13	12:24:09	391	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:24:09	391	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:09	391	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36461_casque_met_mobilite_mips.jpg
2023-10-13	12:24:09	391	[DEBUG]	Full name target: bcprisme/36461_casque_met_mobilite_mips.jpg
2023-10-13	12:24:10	391	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:10	391	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36461_casque_met_mobilite_mips.jpg'
2023-10-13	12:24:10	391	[DEBUG]	Query for Media
2023-10-13	12:24:10	391	[DEBUG]	Executed store
2023-10-13	12:24:10	391	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36461_casque_met_mobilite_mips.jpg',`file_url_thumb`='bcprisme/36461_casque_met_mobilite_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '575595'
2023-10-13	12:24:10	391	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:10	391	[DEBUG]	Executed store
2023-10-13	12:24:10	391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859883','575595','1')
2023-10-13	12:24:10	391	[DEBUG]	Store product image relation
2023-10-13	12:24:10	391	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:10	391	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859883 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:10	391	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:10	391	[DEBUG]	Executed store
2023-10-13	12:24:10	391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859883','0','110.492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:10	391	[DEBUG]	Checking manufacturer
2023-10-13	12:24:10	391	[DEBUG]	Load a row
2023-10-13	12:24:10	391	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:10	391	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:10	391	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:10	391	[DEBUG]	Executed store
2023-10-13	12:24:10	391	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:10	391	[DEBUG]	Manufacturer exists
2023-10-13	12:24:10	391	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:24:10	391	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:10	391	[DEBUG]	Executed store
2023-10-13	12:24:10	391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859883','226')
2023-10-13	12:24:10	391	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:10	391	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:10	391	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859883 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:10	391	[DEBUG]	Store custom available field
2023-10-13	12:24:10	391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859883,3,'',1)
2023-10-13	12:24:10	391	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:10	391	[DEBUG]	Get existing row with customfield value 57-60
2023-10-13	12:24:10	391	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859883 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:10	391	[DEBUG]	Store custom available field
2023-10-13	12:24:10	391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859883,6,'57-60',3)
2023-10-13	12:24:10	391	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:10	391	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:10	391	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859882
2023-10-13	12:24:10	391	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:10	391	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-60\"}]|clabels=0|options={\"1859882\":[1859882,8,1,\"choisir la taille\"],\"1859883\":[\"57-60\"]}|' WHERE `virtuemart_product_id` = 1859882
2023-10-13	12:24:10	391	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:10	391	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859883
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:10	392	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field taille
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field category_path
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:10	392	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:24:10	392	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:10	392	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field product_weight
2023-10-13	12:24:10	392	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:10	392	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:10	392	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field published
2023-10-13	12:24:10	392	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:10	392	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field custom_title
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field custom_param
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field override
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field public_price
2023-10-13	12:24:10	392	[DEBUG]	Use field value for field slug
2023-10-13	12:24:10	392	[DEBUG]	Process line 392
2023-10-13	12:24:10	392	[DEBUG]	Load a row
2023-10-13	12:24:10	392	[DEBUG]	Processing item: A_7991_587
2023-10-13	12:24:10	392	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:10	392	[DEBUG]	Processing product tax
2023-10-13	12:24:10	392	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:10	392	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:10	392	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:10	392	[DEBUG]	Query for Product
2023-10-13	12:24:10	392	[DEBUG]	Executed store
2023-10-13	12:24:10	392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7991_587','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:10	392	[DEBUG]	Check product language entry
2023-10-13	12:24:10	392	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859884
2023-10-13	12:24:10	392	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:10	392	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7991_587' AND `virtuemart_product_id` != 1859884
2023-10-13	12:24:10	392	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:10	392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859884, 'A_7991_587')
2023-10-13	12:24:10	392	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:10	392	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-mobilite-mips-gray' AND `virtuemart_product_id` != 1859884
2023-10-13	12:24:10	392	[DEBUG]	Query for ProductLang
2023-10-13	12:24:10	392	[DEBUG]	Executed store
2023-10-13	12:24:10	392	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le casque MET Mobilite Mips offre une très bonne protection des zones sensibles de la tête grâce à son recouvrement élargi. 14 ouvertures ainsi que des conduits de ventilation internes permettent de garder la tête froide pendant les journées chaudes. Lorsque tu roules de nuit, tu peux clipser le feu arrière à LED dans une ouverture située à l\'arrière du casque. 4 LED éclairent en mode permanent ou clignotant jusqu\'à 60 heures et rendent bien visible au milieu du trafic routier. Avec le système de protection du cerveau MIPS-C2®, ton cerveau est bien protégé en cas d\'impact linéaire ou rotatif.<br><br>Caractéristiques:<br><br>Recouvrement élargi de la tête<br>Coque en polycarbonate In-Mould avec doublure EPS<br>Feux arrière à LED<br>Système de protection du cerveau MIPS-C2<br>Fermeture magnétique Fidlock®<br>Système d\'ajustement Safe-T-Mid<br>Bandeau de tête sur 360°<br>Mentonnière rembourrée<br>Coussinets lavables à la main<br>Filet anti-insectes intégré<br>Visière amovible<br>Sangle ajustable par diviseurs<br>14 ouvertures<br>Conduits de ventilation internes<br>Autocollants réfléchissants à l\'arrière<br>Certifications: CE: AS/NZS<br>N° art fourn : 720.034.00',`product_name`='MET Casque MET MOBILITE MIPS / Gray',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-mobilite-mips-gray' WHERE `virtuemart_product_id` = '1859884'
2023-10-13	12:24:10	392	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36460_casque_met_mobilite_mips.jpg
2023-10-13	12:24:10	392	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:24:10	392	[DEBUG]	Process image file
2023-10-13	12:24:10	392	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:24:10	392	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:10	392	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36460_casque_met_mobilite_mips.jpg
2023-10-13	12:24:10	392	[DEBUG]	Full name target: bcprisme/36460_casque_met_mobilite_mips.jpg
2023-10-13	12:24:11	392	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:11	392	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36460_casque_met_mobilite_mips.jpg'
2023-10-13	12:24:11	392	[DEBUG]	Query for Media
2023-10-13	12:24:11	392	[DEBUG]	Executed store
2023-10-13	12:24:11	392	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36460_casque_met_mobilite_mips.jpg',`file_url_thumb`='bcprisme/36460_casque_met_mobilite_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '575597'
2023-10-13	12:24:11	392	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:11	392	[DEBUG]	Executed store
2023-10-13	12:24:11	392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859884','575597','1')
2023-10-13	12:24:11	392	[DEBUG]	Store product image relation
2023-10-13	12:24:11	392	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:11	392	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859884 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:11	392	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:11	392	[DEBUG]	Executed store
2023-10-13	12:24:11	392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859884','0','110.492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:11	392	[DEBUG]	Checking manufacturer
2023-10-13	12:24:11	392	[DEBUG]	Load a row
2023-10-13	12:24:11	392	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:11	392	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:11	392	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:11	392	[DEBUG]	Executed store
2023-10-13	12:24:11	392	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:11	392	[DEBUG]	Manufacturer exists
2023-10-13	12:24:11	392	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:24:11	392	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:11	392	[DEBUG]	Executed store
2023-10-13	12:24:11	392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859884','226')
2023-10-13	12:24:11	392	[DEBUG]	Find the custom field ID
2023-10-13	12:24:11	392	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:24:11	392	[DEBUG]	No custom field ID found
2023-10-13	12:24:11	392	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:11	392	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:24:11	392	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859884 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:11	392	[DEBUG]	Store custom available field
2023-10-13	12:24:11	392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859884,3,'9.8725',1)
2023-10-13	12:24:11	392	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:11	392	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:24:11	392	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859884 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:11	392	[DEBUG]	Store custom available field
2023-10-13	12:24:11	392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859884,6,'choisir la taille',3)
2023-10-13	12:24:11	392	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:11	392	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:24:11	392	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:24:11	392	[DEBUG]	Find the multi variant product entry
2023-10-13	12:24:11	392	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859884 AND `virtuemart_custom_id` = 8
2023-10-13	12:24:11	392	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:24:11	392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859884,8,1)
2023-10-13	12:24:11	392	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:11	392	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859884\":[1859884,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859884
2023-10-13	12:24:11	392	[DEBUG]	Checking category
2023-10-13	12:24:11	392	[DEBUG]	Get the existing categories for the product
2023-10-13	12:24:11	392	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859884
2023-10-13	12:24:11	392	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:24:11	392	[DEBUG]	Executed store
2023-10-13	12:24:11	392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859884','7281')
2023-10-13	12:24:11	392	[DEBUG]	Delete leftover product categories
2023-10-13	12:24:11	392	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859884 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:24:11	392	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:11	392	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859884
2023-10-13	12:24:11	393	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:11	393	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:11	393	[DEBUG]	Use field value for field taille
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:11	393	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:11	393	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:11	393	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:11	393	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:11	393	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:11	393	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:11	393	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:11	393	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:11	393	[DEBUG]	Use field value for field published
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:11	393	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field override
2023-10-13	12:24:11	393	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:11	393	[DEBUG]	Use field value for field slug
2023-10-13	12:24:11	393	[DEBUG]	Process line 393
2023-10-13	12:24:11	393	[DEBUG]	Load a row
2023-10-13	12:24:11	393	[DEBUG]	Processing item: 8015190270036
2023-10-13	12:24:11	393	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:11	393	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:11	393	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7991_587'
2023-10-13	12:24:11	393	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:11	393	[DEBUG]	Processing product tax
2023-10-13	12:24:11	393	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:11	393	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:11	393	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:11	393	[DEBUG]	Query for Product
2023-10-13	12:24:11	393	[DEBUG]	Executed store
2023-10-13	12:24:11	393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859884','8015190270036','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:11	393	[DEBUG]	No parent found
2023-10-13	12:24:11	393	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859884 AND customfield_value = 'stockable'
2023-10-13	12:24:11	393	[DEBUG]	Check product language entry
2023-10-13	12:24:11	393	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859885
2023-10-13	12:24:11	393	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:11	393	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8015190270036' AND `virtuemart_product_id` != 1859885
2023-10-13	12:24:11	393	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:11	393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859885, '8015190270036')
2023-10-13	12:24:11	393	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:11	393	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-mobilite-mips-gray-52-57' AND `virtuemart_product_id` != 1859885
2023-10-13	12:24:11	393	[DEBUG]	Query for ProductLang
2023-10-13	12:24:11	393	[DEBUG]	Executed store
2023-10-13	12:24:11	393	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET MOBILITE MIPS / Gray (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-mobilite-mips-gray-52-57' WHERE `virtuemart_product_id` = '1859885'
2023-10-13	12:24:11	393	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36460_casque_met_mobilite_mips.jpg
2023-10-13	12:24:11	393	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:24:11	393	[DEBUG]	Process image file
2023-10-13	12:24:11	393	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:24:11	393	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:11	393	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36460_casque_met_mobilite_mips.jpg
2023-10-13	12:24:11	393	[DEBUG]	Full name target: bcprisme/36460_casque_met_mobilite_mips.jpg
2023-10-13	12:24:12	393	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:12	393	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36460_casque_met_mobilite_mips.jpg'
2023-10-13	12:24:12	393	[DEBUG]	Query for Media
2023-10-13	12:24:12	393	[DEBUG]	Executed store
2023-10-13	12:24:12	393	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36460_casque_met_mobilite_mips.jpg',`file_url_thumb`='bcprisme/36460_casque_met_mobilite_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '575597'
2023-10-13	12:24:12	393	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:12	393	[DEBUG]	Executed store
2023-10-13	12:24:12	393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859885','575597','1')
2023-10-13	12:24:12	393	[DEBUG]	Store product image relation
2023-10-13	12:24:12	393	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:12	393	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859885 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:12	393	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:12	393	[DEBUG]	Executed store
2023-10-13	12:24:12	393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859885','0','110.492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:12	393	[DEBUG]	Checking manufacturer
2023-10-13	12:24:12	393	[DEBUG]	Load a row
2023-10-13	12:24:12	393	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:12	393	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:12	393	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:12	393	[DEBUG]	Executed store
2023-10-13	12:24:12	393	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:24:12	393	[DEBUG]	Manufacturer exists
2023-10-13	12:24:12	393	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:24:12	393	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:12	393	[DEBUG]	Executed store
2023-10-13	12:24:12	393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859885','226')
2023-10-13	12:24:12	393	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:12	393	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:12	393	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859885 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:12	393	[DEBUG]	Store custom available field
2023-10-13	12:24:12	393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859885,3,'',1)
2023-10-13	12:24:12	393	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:12	393	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:24:12	393	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859885 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:12	393	[DEBUG]	Store custom available field
2023-10-13	12:24:12	393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859885,6,'52-57',3)
2023-10-13	12:24:12	393	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:12	393	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:12	393	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859884
2023-10-13	12:24:12	393	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:12	393	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859884\":[1859884,8,1,\"choisir la taille\"],\"1859885\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859884
2023-10-13	12:24:12	393	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:12	393	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859885
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:12	394	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field taille
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field category_path
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:12	394	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:24:12	394	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:12	394	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field product_weight
2023-10-13	12:24:12	394	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:12	394	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:12	394	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field published
2023-10-13	12:24:12	394	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:12	394	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field custom_title
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field custom_param
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field override
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field public_price
2023-10-13	12:24:12	394	[DEBUG]	Use field value for field slug
2023-10-13	12:24:12	394	[DEBUG]	Process line 394
2023-10-13	12:24:12	394	[DEBUG]	Load a row
2023-10-13	12:24:12	394	[DEBUG]	Processing item: A_7995_175
2023-10-13	12:24:12	394	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:12	394	[DEBUG]	Processing product tax
2023-10-13	12:24:12	394	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:12	394	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:12	394	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:12	394	[DEBUG]	Query for Product
2023-10-13	12:24:12	394	[DEBUG]	Executed store
2023-10-13	12:24:12	394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7995_175','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:12	394	[DEBUG]	Check product language entry
2023-10-13	12:24:12	394	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859886
2023-10-13	12:24:12	394	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:12	394	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7995_175' AND `virtuemart_product_id` != 1859886
2023-10-13	12:24:12	394	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:12	394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859886, 'A_7995_175')
2023-10-13	12:24:12	394	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:12	394	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-turquoise' AND `virtuemart_product_id` != 1859886
2023-10-13	12:24:12	394	[DEBUG]	Query for ProductLang
2023-10-13	12:24:12	394	[DEBUG]	Executed store
2023-10-13	12:24:12	394	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Carapax 2.0 d’Alpina est adapté aux sentiers tout terrain. Avec la version révisé du modèle à succès, on est sûr de toujours faire le bon choix. Peu importe si l’on parcourt un chemin en montée ou en descente. Il s’agit d’un casque polyvalent adapté aux espaces tout-terrain et il compte parmi les modèles enduro les plus légers sur le marché. Le système Run System Ergo Flex assure un confort maximal et une sécurité optimale. Un système d’ajustement constitué d’une structure filigrane fixe le casque de manière uniforme sur 360 degrés du tour de tête. L’ajustement du casque de vélo peut se réaliser d’une manière parfaitement autonome, souple et confortable. Un avantage complémentaire en faveur du confort : le rembourrage amovible. Celui-ci est très agréable à porter - indépendamment des températures sur le terrain. Le poids léger du Carapax 2.0 est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Grâce à la Seamless Connection, il épouse parfaitement la coque supérieure. Pour garantir la meilleure sécurité sur des trails complexes, l’arrière du casque et la zone des tempes ont été rallongés vers le bas. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération permettent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière réglable en hauteur garantit une protection optimale dans la zone de la vision.<br>N° art fourn : A9725188',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Turquoise',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-turquoise' WHERE `virtuemart_product_id` = '1859886'
2023-10-13	12:24:12	394	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38646_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:12	394	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:12	394	[DEBUG]	Process image file
2023-10-13	12:24:12	394	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:12	394	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:12	394	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38646_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:12	394	[DEBUG]	Full name target: bcprisme/38646_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:13	394	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:13	394	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38646_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:13	394	[DEBUG]	Query for Media
2023-10-13	12:24:13	394	[DEBUG]	Executed store
2023-10-13	12:24:13	394	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38646_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/38646_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409890'
2023-10-13	12:24:13	394	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:13	394	[DEBUG]	Executed store
2023-10-13	12:24:13	394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859886','1409890','1')
2023-10-13	12:24:13	394	[DEBUG]	Store product image relation
2023-10-13	12:24:13	394	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:13	394	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859886 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:13	394	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:13	394	[DEBUG]	Executed store
2023-10-13	12:24:13	394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859886','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:13	394	[DEBUG]	Checking manufacturer
2023-10-13	12:24:13	394	[DEBUG]	Load a row
2023-10-13	12:24:13	394	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:13	394	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:13	394	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:13	394	[DEBUG]	Executed store
2023-10-13	12:24:13	394	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:13	394	[DEBUG]	Manufacturer exists
2023-10-13	12:24:13	394	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:13	394	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:13	394	[DEBUG]	Executed store
2023-10-13	12:24:13	394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859886','171')
2023-10-13	12:24:13	394	[DEBUG]	Find the custom field ID
2023-10-13	12:24:13	394	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:24:13	394	[DEBUG]	No custom field ID found
2023-10-13	12:24:13	394	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:13	394	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:24:13	394	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859886 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:13	394	[DEBUG]	Store custom available field
2023-10-13	12:24:13	394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859886,3,'0',1)
2023-10-13	12:24:13	394	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:13	394	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:24:13	394	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859886 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:13	394	[DEBUG]	Store custom available field
2023-10-13	12:24:13	394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859886,6,'choisir la taille',3)
2023-10-13	12:24:13	394	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:13	394	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:24:13	394	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:24:13	394	[DEBUG]	Find the multi variant product entry
2023-10-13	12:24:13	394	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859886 AND `virtuemart_custom_id` = 8
2023-10-13	12:24:13	394	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:24:13	394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859886,8,1)
2023-10-13	12:24:13	394	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:13	394	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859886\":[1859886,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859886
2023-10-13	12:24:13	394	[DEBUG]	Checking category
2023-10-13	12:24:13	394	[DEBUG]	Get the existing categories for the product
2023-10-13	12:24:13	394	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859886
2023-10-13	12:24:13	394	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:24:13	394	[DEBUG]	Executed store
2023-10-13	12:24:13	394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859886','7281')
2023-10-13	12:24:13	394	[DEBUG]	Delete leftover product categories
2023-10-13	12:24:13	394	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859886 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:24:13	394	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:13	394	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859886
2023-10-13	12:24:13	395	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:13	395	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:13	395	[DEBUG]	Use field value for field taille
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:13	395	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:13	395	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:13	395	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:13	395	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:13	395	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:13	395	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:13	395	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:13	395	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:13	395	[DEBUG]	Use field value for field published
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:13	395	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field override
2023-10-13	12:24:13	395	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:13	395	[DEBUG]	Use field value for field slug
2023-10-13	12:24:13	395	[DEBUG]	Process line 395
2023-10-13	12:24:13	395	[DEBUG]	Load a row
2023-10-13	12:24:13	395	[DEBUG]	Processing item: 4003692315595
2023-10-13	12:24:13	395	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:13	395	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:13	395	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_175'
2023-10-13	12:24:13	395	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:13	395	[DEBUG]	Processing product tax
2023-10-13	12:24:13	395	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:13	395	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:13	395	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:13	395	[DEBUG]	Query for Product
2023-10-13	12:24:13	395	[DEBUG]	Executed store
2023-10-13	12:24:13	395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859886','4003692315595','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:13	395	[DEBUG]	No parent found
2023-10-13	12:24:13	395	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859886 AND customfield_value = 'stockable'
2023-10-13	12:24:13	395	[DEBUG]	Check product language entry
2023-10-13	12:24:13	395	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859887
2023-10-13	12:24:13	395	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:13	395	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003692315595' AND `virtuemart_product_id` != 1859887
2023-10-13	12:24:13	395	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:13	395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859887, '4003692315595')
2023-10-13	12:24:13	395	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:13	395	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-turquoise-52-57' AND `virtuemart_product_id` != 1859887
2023-10-13	12:24:13	395	[DEBUG]	Query for ProductLang
2023-10-13	12:24:13	395	[DEBUG]	Executed store
2023-10-13	12:24:13	395	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Turquoise (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-turquoise-52-57' WHERE `virtuemart_product_id` = '1859887'
2023-10-13	12:24:13	395	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38646_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:13	395	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:13	395	[DEBUG]	Process image file
2023-10-13	12:24:13	395	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:13	395	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:13	395	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38646_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:13	395	[DEBUG]	Full name target: bcprisme/38646_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:14	395	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:14	395	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38646_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:14	395	[DEBUG]	Query for Media
2023-10-13	12:24:14	395	[DEBUG]	Executed store
2023-10-13	12:24:14	395	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38646_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/38646_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409890'
2023-10-13	12:24:14	395	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:14	395	[DEBUG]	Executed store
2023-10-13	12:24:14	395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859887','1409890','1')
2023-10-13	12:24:14	395	[DEBUG]	Store product image relation
2023-10-13	12:24:14	395	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:14	395	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859887 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:14	395	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:14	395	[DEBUG]	Executed store
2023-10-13	12:24:14	395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859887','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:14	395	[DEBUG]	Checking manufacturer
2023-10-13	12:24:14	395	[DEBUG]	Load a row
2023-10-13	12:24:14	395	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:14	395	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:14	395	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:14	395	[DEBUG]	Executed store
2023-10-13	12:24:14	395	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:14	395	[DEBUG]	Manufacturer exists
2023-10-13	12:24:14	395	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:14	395	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:14	395	[DEBUG]	Executed store
2023-10-13	12:24:14	395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859887','171')
2023-10-13	12:24:14	395	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:14	395	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:14	395	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859887 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:14	395	[DEBUG]	Store custom available field
2023-10-13	12:24:14	395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859887,3,'',1)
2023-10-13	12:24:14	395	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:14	395	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:24:14	395	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859887 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:14	395	[DEBUG]	Store custom available field
2023-10-13	12:24:14	395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859887,6,'52-57',3)
2023-10-13	12:24:14	395	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:14	395	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:14	395	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859886
2023-10-13	12:24:14	395	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:14	395	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859886\":[1859886,8,1,\"choisir la taille\"],\"1859887\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859886
2023-10-13	12:24:14	395	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:14	395	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859887
2023-10-13	12:24:14	396	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:14	396	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:14	396	[DEBUG]	Use field value for field taille
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:14	396	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:14	396	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:14	396	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:14	396	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:14	396	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:14	396	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:14	396	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:14	396	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:14	396	[DEBUG]	Use field value for field published
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:14	396	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field override
2023-10-13	12:24:14	396	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:14	396	[DEBUG]	Use field value for field slug
2023-10-13	12:24:14	396	[DEBUG]	Process line 396
2023-10-13	12:24:14	396	[DEBUG]	Load a row
2023-10-13	12:24:14	396	[DEBUG]	Processing item: 1000000243932
2023-10-13	12:24:14	396	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:14	396	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:14	396	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_175'
2023-10-13	12:24:14	396	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:14	396	[DEBUG]	Processing product tax
2023-10-13	12:24:14	396	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:14	396	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:14	396	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:14	396	[DEBUG]	Query for Product
2023-10-13	12:24:14	396	[DEBUG]	Executed store
2023-10-13	12:24:14	396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859886','1000000243932','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:14	396	[DEBUG]	No parent found
2023-10-13	12:24:14	396	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859886 AND customfield_value = 'stockable'
2023-10-13	12:24:14	396	[DEBUG]	Check product language entry
2023-10-13	12:24:14	396	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859888
2023-10-13	12:24:14	396	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:14	396	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000243932' AND `virtuemart_product_id` != 1859888
2023-10-13	12:24:14	396	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:14	396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859888, '1000000243932')
2023-10-13	12:24:14	396	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:14	396	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-turquoise-57-62' AND `virtuemart_product_id` != 1859888
2023-10-13	12:24:14	396	[DEBUG]	Query for ProductLang
2023-10-13	12:24:14	396	[DEBUG]	Executed store
2023-10-13	12:24:14	396	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Turquoise (57-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-turquoise-57-62' WHERE `virtuemart_product_id` = '1859888'
2023-10-13	12:24:14	396	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38646_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:14	396	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:14	396	[DEBUG]	Process image file
2023-10-13	12:24:14	396	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:14	396	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:14	396	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38646_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:14	396	[DEBUG]	Full name target: bcprisme/38646_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:15	396	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:15	396	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38646_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:15	396	[DEBUG]	Query for Media
2023-10-13	12:24:15	396	[DEBUG]	Executed store
2023-10-13	12:24:15	396	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38646_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/38646_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409890'
2023-10-13	12:24:15	396	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:15	396	[DEBUG]	Executed store
2023-10-13	12:24:15	396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859888','1409890','1')
2023-10-13	12:24:15	396	[DEBUG]	Store product image relation
2023-10-13	12:24:15	396	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:15	396	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859888 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:15	396	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:15	396	[DEBUG]	Executed store
2023-10-13	12:24:15	396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859888','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:15	396	[DEBUG]	Checking manufacturer
2023-10-13	12:24:15	396	[DEBUG]	Load a row
2023-10-13	12:24:15	396	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:15	396	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:15	396	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:15	396	[DEBUG]	Executed store
2023-10-13	12:24:15	396	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:15	396	[DEBUG]	Manufacturer exists
2023-10-13	12:24:15	396	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:15	396	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:15	396	[DEBUG]	Executed store
2023-10-13	12:24:15	396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859888','171')
2023-10-13	12:24:15	396	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:15	396	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:15	396	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859888 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:15	396	[DEBUG]	Store custom available field
2023-10-13	12:24:15	396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859888,3,'',1)
2023-10-13	12:24:15	396	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:15	396	[DEBUG]	Get existing row with customfield value 57-62
2023-10-13	12:24:15	396	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859888 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:15	396	[DEBUG]	Store custom available field
2023-10-13	12:24:15	396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859888,6,'57-62',3)
2023-10-13	12:24:15	396	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:15	396	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:15	396	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859886
2023-10-13	12:24:15	396	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:15	396	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-62\"}]|clabels=0|options={\"1859886\":[1859886,8,1,\"choisir la taille\"],\"1859887\":[\"52-57\"],\"1859888\":[\"57-62\"]}|' WHERE `virtuemart_product_id` = 1859886
2023-10-13	12:24:15	396	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:15	396	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859888
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:15	397	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field taille
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field category_path
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:15	397	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:24:15	397	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:15	397	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field product_weight
2023-10-13	12:24:15	397	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:15	397	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:15	397	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field published
2023-10-13	12:24:15	397	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:15	397	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field custom_title
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field custom_param
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field override
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field public_price
2023-10-13	12:24:15	397	[DEBUG]	Use field value for field slug
2023-10-13	12:24:15	397	[DEBUG]	Process line 397
2023-10-13	12:24:15	397	[DEBUG]	Load a row
2023-10-13	12:24:15	397	[DEBUG]	Processing item: A_7995_588
2023-10-13	12:24:15	397	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:15	397	[DEBUG]	Processing product tax
2023-10-13	12:24:15	397	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:15	397	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:15	397	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:15	397	[DEBUG]	Query for Product
2023-10-13	12:24:15	397	[DEBUG]	Executed store
2023-10-13	12:24:15	397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7995_588','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:15	397	[DEBUG]	Check product language entry
2023-10-13	12:24:15	397	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859889
2023-10-13	12:24:15	397	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:15	397	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7995_588' AND `virtuemart_product_id` != 1859889
2023-10-13	12:24:15	397	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:15	397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859889, 'A_7995_588')
2023-10-13	12:24:15	397	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:15	397	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-dirtblue-matt' AND `virtuemart_product_id` != 1859889
2023-10-13	12:24:15	397	[DEBUG]	Query for ProductLang
2023-10-13	12:24:15	397	[DEBUG]	Executed store
2023-10-13	12:24:15	397	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Carapax 2.0 d’Alpina est adapté aux sentiers tout terrain. Avec la version révisé du modèle à succès, on est sûr de toujours faire le bon choix. Peu importe si l’on parcourt un chemin en montée ou en descente. Il s’agit d’un casque polyvalent adapté aux espaces tout-terrain et il compte parmi les modèles enduro les plus légers sur le marché. Le système Run System Ergo Flex assure un confort maximal et une sécurité optimale. Un système d’ajustement constitué d’une structure filigrane fixe le casque de manière uniforme sur 360 degrés du tour de tête. L’ajustement du casque de vélo peut se réaliser d’une manière parfaitement autonome, souple et confortable. Un avantage complémentaire en faveur du confort : le rembourrage amovible. Celui-ci est très agréable à porter - indépendamment des températures sur le terrain. Le poids léger du Carapax 2.0 est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Grâce à la Seamless Connection, il épouse parfaitement la coque supérieure. Pour garantir la meilleure sécurité sur des trails complexes, l’arrière du casque et la zone des tempes ont été rallongés vers le bas. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération permettent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière réglable en hauteur garantit une protection optimale dans la zone de la vision.<br>N° art fourn : A9725188',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Dirtblue Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-dirtblue-matt' WHERE `virtuemart_product_id` = '1859889'
2023-10-13	12:24:15	397	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36469_casque_vtt_carapax_2_0.jpg
2023-10-13	12:24:15	397	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:15	397	[DEBUG]	Process image file
2023-10-13	12:24:15	397	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:15	397	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:15	397	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36469_casque_vtt_carapax_2_0.jpg
2023-10-13	12:24:15	397	[DEBUG]	Full name target: bcprisme/36469_casque_vtt_carapax_2_0.jpg
2023-10-13	12:24:16	397	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:16	397	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36469_casque_vtt_carapax_2_0.jpg'
2023-10-13	12:24:16	397	[DEBUG]	Query for Media
2023-10-13	12:24:16	397	[DEBUG]	Executed store
2023-10-13	12:24:16	397	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36469_casque_vtt_carapax_2_0.jpg',`file_url_thumb`='bcprisme/36469_casque_vtt_carapax_2_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585436'
2023-10-13	12:24:16	397	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:16	397	[DEBUG]	Executed store
2023-10-13	12:24:16	397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859889','585436','1')
2023-10-13	12:24:16	397	[DEBUG]	Store product image relation
2023-10-13	12:24:16	397	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:16	397	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859889 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:16	397	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:16	397	[DEBUG]	Executed store
2023-10-13	12:24:16	397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859889','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:16	397	[DEBUG]	Checking manufacturer
2023-10-13	12:24:16	397	[DEBUG]	Load a row
2023-10-13	12:24:16	397	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:16	397	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:16	397	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:16	397	[DEBUG]	Executed store
2023-10-13	12:24:16	397	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:16	397	[DEBUG]	Manufacturer exists
2023-10-13	12:24:16	397	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:16	397	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:16	397	[DEBUG]	Executed store
2023-10-13	12:24:16	397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859889','171')
2023-10-13	12:24:16	397	[DEBUG]	Find the custom field ID
2023-10-13	12:24:16	397	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:24:16	397	[DEBUG]	No custom field ID found
2023-10-13	12:24:16	397	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:16	397	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:24:16	397	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859889 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:16	397	[DEBUG]	Store custom available field
2023-10-13	12:24:16	397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859889,3,'0',1)
2023-10-13	12:24:16	397	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:16	397	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:24:16	397	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859889 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:16	397	[DEBUG]	Store custom available field
2023-10-13	12:24:16	397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859889,6,'choisir la taille',3)
2023-10-13	12:24:16	397	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:16	397	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:24:16	397	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:24:16	397	[DEBUG]	Find the multi variant product entry
2023-10-13	12:24:16	397	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859889 AND `virtuemart_custom_id` = 8
2023-10-13	12:24:16	397	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:24:16	397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859889,8,1)
2023-10-13	12:24:16	397	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:16	397	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859889\":[1859889,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859889
2023-10-13	12:24:16	397	[DEBUG]	Checking category
2023-10-13	12:24:16	397	[DEBUG]	Get the existing categories for the product
2023-10-13	12:24:16	397	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859889
2023-10-13	12:24:16	397	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:24:16	397	[DEBUG]	Executed store
2023-10-13	12:24:16	397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859889','7281')
2023-10-13	12:24:16	397	[DEBUG]	Delete leftover product categories
2023-10-13	12:24:16	397	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859889 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:24:16	397	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:16	397	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859889
2023-10-13	12:24:16	398	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:16	398	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:16	398	[DEBUG]	Use field value for field taille
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:16	398	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:16	398	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:16	398	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:16	398	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:16	398	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:16	398	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:16	398	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:16	398	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:16	398	[DEBUG]	Use field value for field published
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:16	398	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field override
2023-10-13	12:24:16	398	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:16	398	[DEBUG]	Use field value for field slug
2023-10-13	12:24:16	398	[DEBUG]	Process line 398
2023-10-13	12:24:16	398	[DEBUG]	Load a row
2023-10-13	12:24:16	398	[DEBUG]	Processing item: 1000000140965
2023-10-13	12:24:16	398	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:16	398	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:16	398	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_588'
2023-10-13	12:24:16	398	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:16	398	[DEBUG]	Processing product tax
2023-10-13	12:24:16	398	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:16	398	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:16	398	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:16	398	[DEBUG]	Query for Product
2023-10-13	12:24:16	398	[DEBUG]	Executed store
2023-10-13	12:24:16	398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859889','1000000140965','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:16	398	[DEBUG]	No parent found
2023-10-13	12:24:16	398	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859889 AND customfield_value = 'stockable'
2023-10-13	12:24:16	398	[DEBUG]	Check product language entry
2023-10-13	12:24:16	398	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859890
2023-10-13	12:24:16	398	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:16	398	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000140965' AND `virtuemart_product_id` != 1859890
2023-10-13	12:24:16	398	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:16	398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859890, '1000000140965')
2023-10-13	12:24:16	398	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:16	398	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-dirtblue-matt-52-57' AND `virtuemart_product_id` != 1859890
2023-10-13	12:24:16	398	[DEBUG]	Query for ProductLang
2023-10-13	12:24:16	398	[DEBUG]	Executed store
2023-10-13	12:24:16	398	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Dirtblue Matt (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-dirtblue-matt-52-57' WHERE `virtuemart_product_id` = '1859890'
2023-10-13	12:24:16	398	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36469_casque_vtt_carapax_2_0.jpg
2023-10-13	12:24:16	398	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:16	398	[DEBUG]	Process image file
2023-10-13	12:24:16	398	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:16	398	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:16	398	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36469_casque_vtt_carapax_2_0.jpg
2023-10-13	12:24:16	398	[DEBUG]	Full name target: bcprisme/36469_casque_vtt_carapax_2_0.jpg
2023-10-13	12:24:17	398	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:17	398	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36469_casque_vtt_carapax_2_0.jpg'
2023-10-13	12:24:17	398	[DEBUG]	Query for Media
2023-10-13	12:24:17	398	[DEBUG]	Executed store
2023-10-13	12:24:17	398	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36469_casque_vtt_carapax_2_0.jpg',`file_url_thumb`='bcprisme/36469_casque_vtt_carapax_2_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585436'
2023-10-13	12:24:17	398	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:17	398	[DEBUG]	Executed store
2023-10-13	12:24:17	398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859890','585436','1')
2023-10-13	12:24:17	398	[DEBUG]	Store product image relation
2023-10-13	12:24:17	398	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:17	398	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859890 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:17	398	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:17	398	[DEBUG]	Executed store
2023-10-13	12:24:17	398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859890','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:17	398	[DEBUG]	Checking manufacturer
2023-10-13	12:24:17	398	[DEBUG]	Load a row
2023-10-13	12:24:17	398	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:17	398	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:17	398	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:17	398	[DEBUG]	Executed store
2023-10-13	12:24:17	398	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:17	398	[DEBUG]	Manufacturer exists
2023-10-13	12:24:17	398	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:17	398	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:17	398	[DEBUG]	Executed store
2023-10-13	12:24:17	398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859890','171')
2023-10-13	12:24:17	398	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:17	398	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:17	398	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859890 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:17	398	[DEBUG]	Store custom available field
2023-10-13	12:24:17	398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859890,3,'',1)
2023-10-13	12:24:17	398	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:17	398	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:24:17	398	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859890 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:17	398	[DEBUG]	Store custom available field
2023-10-13	12:24:17	398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859890,6,'52-57',3)
2023-10-13	12:24:17	398	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:17	398	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:17	398	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859889
2023-10-13	12:24:17	398	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:17	398	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859889\":[1859889,8,1,\"choisir la taille\"],\"1859890\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859889
2023-10-13	12:24:17	398	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:17	398	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859890
2023-10-13	12:24:17	399	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:17	399	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:17	399	[DEBUG]	Use field value for field taille
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:17	399	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:17	399	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:17	399	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:17	399	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:17	399	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:17	399	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:17	399	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:17	399	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:17	399	[DEBUG]	Use field value for field published
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:17	399	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field override
2023-10-13	12:24:17	399	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:17	399	[DEBUG]	Use field value for field slug
2023-10-13	12:24:17	399	[DEBUG]	Process line 399
2023-10-13	12:24:17	399	[DEBUG]	Load a row
2023-10-13	12:24:17	399	[DEBUG]	Processing item: 1000000140972
2023-10-13	12:24:17	399	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:17	399	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:17	399	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_588'
2023-10-13	12:24:17	399	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:17	399	[DEBUG]	Processing product tax
2023-10-13	12:24:17	399	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:17	399	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:17	399	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:17	399	[DEBUG]	Query for Product
2023-10-13	12:24:17	399	[DEBUG]	Executed store
2023-10-13	12:24:17	399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859889','1000000140972','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:17	399	[DEBUG]	No parent found
2023-10-13	12:24:17	399	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859889 AND customfield_value = 'stockable'
2023-10-13	12:24:17	399	[DEBUG]	Check product language entry
2023-10-13	12:24:17	399	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859891
2023-10-13	12:24:17	399	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:17	399	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000140972' AND `virtuemart_product_id` != 1859891
2023-10-13	12:24:17	399	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:17	399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859891, '1000000140972')
2023-10-13	12:24:17	399	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:17	399	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-dirtblue-matt-57-62' AND `virtuemart_product_id` != 1859891
2023-10-13	12:24:17	399	[DEBUG]	Query for ProductLang
2023-10-13	12:24:17	399	[DEBUG]	Executed store
2023-10-13	12:24:17	399	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Dirtblue Matt (57-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-dirtblue-matt-57-62' WHERE `virtuemart_product_id` = '1859891'
2023-10-13	12:24:17	399	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36469_casque_vtt_carapax_2_0.jpg
2023-10-13	12:24:17	399	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:17	399	[DEBUG]	Process image file
2023-10-13	12:24:17	399	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:17	399	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:17	399	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36469_casque_vtt_carapax_2_0.jpg
2023-10-13	12:24:17	399	[DEBUG]	Full name target: bcprisme/36469_casque_vtt_carapax_2_0.jpg
2023-10-13	12:24:18	399	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:18	399	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36469_casque_vtt_carapax_2_0.jpg'
2023-10-13	12:24:18	399	[DEBUG]	Query for Media
2023-10-13	12:24:18	399	[DEBUG]	Executed store
2023-10-13	12:24:18	399	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36469_casque_vtt_carapax_2_0.jpg',`file_url_thumb`='bcprisme/36469_casque_vtt_carapax_2_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585436'
2023-10-13	12:24:18	399	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:18	399	[DEBUG]	Executed store
2023-10-13	12:24:18	399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859891','585436','1')
2023-10-13	12:24:18	399	[DEBUG]	Store product image relation
2023-10-13	12:24:18	399	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:18	399	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859891 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:18	399	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:18	399	[DEBUG]	Executed store
2023-10-13	12:24:18	399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859891','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:18	399	[DEBUG]	Checking manufacturer
2023-10-13	12:24:18	399	[DEBUG]	Load a row
2023-10-13	12:24:18	399	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:18	399	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:18	399	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:18	399	[DEBUG]	Executed store
2023-10-13	12:24:18	399	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:18	399	[DEBUG]	Manufacturer exists
2023-10-13	12:24:18	399	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:18	399	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:18	399	[DEBUG]	Executed store
2023-10-13	12:24:18	399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859891','171')
2023-10-13	12:24:18	399	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:18	399	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:18	399	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859891 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:18	399	[DEBUG]	Store custom available field
2023-10-13	12:24:18	399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859891,3,'',1)
2023-10-13	12:24:18	399	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:18	399	[DEBUG]	Get existing row with customfield value 57-62
2023-10-13	12:24:18	399	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859891 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:18	399	[DEBUG]	Store custom available field
2023-10-13	12:24:18	399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859891,6,'57-62',3)
2023-10-13	12:24:18	399	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:18	399	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:18	399	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859889
2023-10-13	12:24:18	399	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:18	399	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-62\"}]|clabels=0|options={\"1859889\":[1859889,8,1,\"choisir la taille\"],\"1859890\":[\"52-57\"],\"1859891\":[\"57-62\"]}|' WHERE `virtuemart_product_id` = 1859889
2023-10-13	12:24:18	399	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:18	399	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859891
2023-10-13	12:24:18	400	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:18	400	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field taille
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:18	400	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:18	400	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:18	400	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:18	400	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:18	400	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:18	400	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:18	400	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:18	400	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:18	400	[DEBUG]	Use field value for field published
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:18	400	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field override
2023-10-13	12:24:18	400	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:18	400	[DEBUG]	Use field value for field slug
2023-10-13	12:24:18	400	[DEBUG]	Process line 400
2023-10-13	12:24:18	400	[DEBUG]	Load a row
2023-10-13	12:24:18	400	[DEBUG]	Processing item: 1000000140989
2023-10-13	12:24:18	400	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:18	400	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:18	400	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_588'
2023-10-13	12:24:18	400	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:18	400	[DEBUG]	Processing product tax
2023-10-13	12:24:18	400	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:18	400	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:18	400	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:18	400	[DEBUG]	Query for Product
2023-10-13	12:24:18	400	[DEBUG]	Executed store
2023-10-13	12:24:18	400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859889','1000000140989','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0')
2023-10-13	12:24:18	400	[DEBUG]	No parent found
2023-10-13	12:24:18	400	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859889 AND customfield_value = 'stockable'
2023-10-13	12:24:18	400	[DEBUG]	Check product language entry
2023-10-13	12:24:18	400	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859892
2023-10-13	12:24:18	400	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:18	400	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000140989' AND `virtuemart_product_id` != 1859892
2023-10-13	12:24:18	400	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:18	400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859892, '1000000140989')
2023-10-13	12:24:18	400	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:18	400	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-dirtblue-matt' AND `virtuemart_product_id` != 1859892
2023-10-13	12:24:18	400	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:24:18	400	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'alpina-casque-vtt-carapax-2-0-dirtblue-matt', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'alpina-casque-vtt-carapax-2-0-dirtblue-matt' OR `slug` LIKE 'alpina-casque-vtt-carapax-2-0-dirtblue-matt-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1859892 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:24:18	400	[DEBUG]	Query for ProductLang
2023-10-13	12:24:18	400	[DEBUG]	Executed store
2023-10-13	12:24:18	400	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Dirtblue Matt ()',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-dirtblue-matt-58' WHERE `virtuemart_product_id` = '1859892'
2023-10-13	12:24:18	400	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36469_casque_vtt_carapax_2_0.jpg
2023-10-13	12:24:18	400	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:18	400	[DEBUG]	Process image file
2023-10-13	12:24:18	400	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:18	400	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:18	400	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36469_casque_vtt_carapax_2_0.jpg
2023-10-13	12:24:18	400	[DEBUG]	Full name target: bcprisme/36469_casque_vtt_carapax_2_0.jpg
2023-10-13	12:24:19	400	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:19	400	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36469_casque_vtt_carapax_2_0.jpg'
2023-10-13	12:24:19	400	[DEBUG]	Query for Media
2023-10-13	12:24:19	400	[DEBUG]	Executed store
2023-10-13	12:24:19	400	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36469_casque_vtt_carapax_2_0.jpg',`file_url_thumb`='bcprisme/36469_casque_vtt_carapax_2_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585436'
2023-10-13	12:24:19	400	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:19	400	[DEBUG]	Executed store
2023-10-13	12:24:19	400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859892','585436','1')
2023-10-13	12:24:19	400	[DEBUG]	Store product image relation
2023-10-13	12:24:19	400	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:19	400	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859892 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:19	400	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:19	400	[DEBUG]	Executed store
2023-10-13	12:24:19	400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859892','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:22:40','1593','2023-10-13 12:22:40','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:19	400	[DEBUG]	Checking manufacturer
2023-10-13	12:24:19	400	[DEBUG]	Load a row
2023-10-13	12:24:19	400	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:19	400	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:19	400	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:19	400	[DEBUG]	Executed store
2023-10-13	12:24:19	400	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:19	400	[DEBUG]	Manufacturer exists
2023-10-13	12:24:19	400	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:19	400	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:19	400	[DEBUG]	Executed store
2023-10-13	12:24:19	400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859892','171')
2023-10-13	12:24:19	400	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:19	400	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:19	400	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859892 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:19	400	[DEBUG]	Store custom available field
2023-10-13	12:24:19	400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859892,3,'',1)
2023-10-13	12:24:19	400	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:19	400	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:19	400	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859892 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:19	400	[DEBUG]	Store custom available field
2023-10-13	12:24:19	400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859892,6,'',3)
2023-10-13	12:24:19	400	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:19	400	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:19	400	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859889
2023-10-13	12:24:19	400	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:19	400	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-62\"}]|clabels=0|options={\"1859889\":[1859889,8,1,\"choisir la taille\"],\"1859890\":[\"52-57\"],\"1859891\":[\"57-62\"],\"1859892\":[\"0\"]}|' WHERE `virtuemart_product_id` = 1859889
2023-10-13	12:24:19	400	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:19	400	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859892
2023-10-13	12:24:39	400	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:24:39	400	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:24:39	400	[DEBUG]	Load the fields to process
2023-10-13	12:24:39	400	[DEBUG]	Setup field: product_sku
2023-10-13	12:24:39	400	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:24:39	400	[DEBUG]	Setup field: taille
2023-10-13	12:24:39	400	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:24:39	400	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:24:39	400	[DEBUG]	Setup field: product_name
2023-10-13	12:24:39	400	[DEBUG]	Setup field: category_path
2023-10-13	12:24:39	400	[DEBUG]	Setup field: product_price
2023-10-13	12:24:39	400	[DEBUG]	Setup field: product_override_price
2023-10-13	12:24:39	400	[DEBUG]	Setup field: product_tax
2023-10-13	12:24:39	400	[DEBUG]	Setup field: file_url
2023-10-13	12:24:39	400	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:24:39	400	[DEBUG]	Setup field: product_desc
2023-10-13	12:24:39	400	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:24:39	400	[DEBUG]	Setup field: product_availability
2023-10-13	12:24:39	400	[DEBUG]	Setup field: product_weight
2023-10-13	12:24:39	400	[DEBUG]	Setup field: product_unit
2023-10-13	12:24:39	400	[DEBUG]	Setup field: related_products
2023-10-13	12:24:39	400	[DEBUG]	Setup field: product_special
2023-10-13	12:24:39	400	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:24:39	400	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:24:39	400	[DEBUG]	Setup field: published
2023-10-13	12:24:39	400	[DEBUG]	Setup field: metadesc
2023-10-13	12:24:39	400	[DEBUG]	Setup field: metakey
2023-10-13	12:24:39	400	[DEBUG]	Setup field: custom_title
2023-10-13	12:24:39	400	[DEBUG]	Setup field: custom_value
2023-10-13	12:24:39	400	[DEBUG]	Setup field: custom_param
2023-10-13	12:24:39	400	[DEBUG]	Setup field: override
2023-10-13	12:24:39	400	[DEBUG]	Setup field: public_price
2023-10-13	12:24:39	400	[DEBUG]	Setup field: slug
2023-10-13	12:24:39	400	[DEBUG]	Use the file for configuration
2023-10-13	12:24:39	400	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:24:39	400	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:24:39	400	[DEBUG]	Load the custom fields
2023-10-13	12:24:39	400	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:24:39	400	[DEBUG]	Load stockable custom fields
2023-10-13	12:24:39	400	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:24:39	400	[DEBUG]	Load custom fields for all
2023-10-13	12:24:39	400	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:39	401	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field taille
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field category_path
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:39	401	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:24:39	401	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:39	401	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field product_weight
2023-10-13	12:24:39	401	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:39	401	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:39	401	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field published
2023-10-13	12:24:39	401	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:39	401	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field custom_title
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field custom_param
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field override
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field public_price
2023-10-13	12:24:39	401	[DEBUG]	Use field value for field slug
2023-10-13	12:24:39	401	[DEBUG]	Process line 401
2023-10-13	12:24:39	401	[DEBUG]	Check if the vendor exists
2023-10-13	12:24:39	401	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_652'
2023-10-13	12:24:39	401	[DEBUG]	Load a row
2023-10-13	12:24:39	401	[DEBUG]	Processing item: A_7995_652
2023-10-13	12:24:39	401	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:39	401	[DEBUG]	Processing product tax
2023-10-13	12:24:39	401	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:39	401	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:39	401	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:39	401	[DEBUG]	Query for Product
2023-10-13	12:24:39	401	[DEBUG]	Executed store
2023-10-13	12:24:39	401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7995_652','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:39	401	[DEBUG]	Check product language entry
2023-10-13	12:24:39	401	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859893
2023-10-13	12:24:39	401	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:39	401	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7995_652' AND `virtuemart_product_id` != 1859893
2023-10-13	12:24:39	401	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:39	401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859893, 'A_7995_652')
2023-10-13	12:24:39	401	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:39	401	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-orchid' AND `virtuemart_product_id` != 1859893
2023-10-13	12:24:39	401	[DEBUG]	Query for ProductLang
2023-10-13	12:24:39	401	[DEBUG]	Executed store
2023-10-13	12:24:39	401	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Carapax 2.0 d’Alpina est adapté aux sentiers tout terrain. Avec la version révisé du modèle à succès, on est sûr de toujours faire le bon choix. Peu importe si l’on parcourt un chemin en montée ou en descente. Il s’agit d’un casque polyvalent adapté aux espaces tout-terrain et il compte parmi les modèles enduro les plus légers sur le marché. Le système Run System Ergo Flex assure un confort maximal et une sécurité optimale. Un système d’ajustement constitué d’une structure filigrane fixe le casque de manière uniforme sur 360 degrés du tour de tête. L’ajustement du casque de vélo peut se réaliser d’une manière parfaitement autonome, souple et confortable. Un avantage complémentaire en faveur du confort : le rembourrage amovible. Celui-ci est très agréable à porter - indépendamment des températures sur le terrain. Le poids léger du Carapax 2.0 est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Grâce à la Seamless Connection, il épouse parfaitement la coque supérieure. Pour garantir la meilleure sécurité sur des trails complexes, l’arrière du casque et la zone des tempes ont été rallongés vers le bas. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération permettent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière réglable en hauteur garantit une protection optimale dans la zone de la vision.<br>N° art fourn : A9725188',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Orchid',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-orchid' WHERE `virtuemart_product_id` = '1859893'
2023-10-13	12:24:39	401	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36895_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:39	401	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:39	401	[DEBUG]	Process image file
2023-10-13	12:24:39	401	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:39	401	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:39	401	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36895_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:39	401	[DEBUG]	Full name target: bcprisme/36895_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:40	401	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:40	401	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36895_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:40	401	[DEBUG]	Query for Media
2023-10-13	12:24:40	401	[DEBUG]	Executed store
2023-10-13	12:24:40	401	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36895_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/36895_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '755455'
2023-10-13	12:24:40	401	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:40	401	[DEBUG]	Executed store
2023-10-13	12:24:40	401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859893','755455','1')
2023-10-13	12:24:40	401	[DEBUG]	Store product image relation
2023-10-13	12:24:40	401	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:40	401	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859893 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:40	401	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:40	401	[DEBUG]	Executed store
2023-10-13	12:24:40	401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859893','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:40	401	[DEBUG]	Checking manufacturer
2023-10-13	12:24:40	401	[DEBUG]	Load a row
2023-10-13	12:24:40	401	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:40	401	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:40	401	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:40	401	[DEBUG]	Executed store
2023-10-13	12:24:40	401	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:40	401	[DEBUG]	Manufacturer exists
2023-10-13	12:24:40	401	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:40	401	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:40	401	[DEBUG]	Executed store
2023-10-13	12:24:40	401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859893','171')
2023-10-13	12:24:40	401	[DEBUG]	Find the custom field ID
2023-10-13	12:24:40	401	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:24:40	401	[DEBUG]	No custom field ID found
2023-10-13	12:24:40	401	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:40	401	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:24:40	401	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859893 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:40	401	[DEBUG]	Store custom available field
2023-10-13	12:24:40	401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859893,3,'0',1)
2023-10-13	12:24:40	401	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:40	401	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:24:40	401	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859893 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:40	401	[DEBUG]	Store custom available field
2023-10-13	12:24:40	401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859893,6,'choisir la taille',3)
2023-10-13	12:24:40	401	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:40	401	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:24:40	401	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:24:40	401	[DEBUG]	Find the multi variant product entry
2023-10-13	12:24:40	401	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859893 AND `virtuemart_custom_id` = 8
2023-10-13	12:24:40	401	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:24:40	401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859893,8,1)
2023-10-13	12:24:40	401	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:40	401	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859893\":[1859893,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859893
2023-10-13	12:24:40	401	[DEBUG]	Checking category
2023-10-13	12:24:40	401	[DEBUG]	Check if category path exists: CASQUES - HELME
2023-10-13	12:24:40	401	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASQUES - HELME' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:24:40	401	[DEBUG]	Check if category path exists: CASQUES - HELME
2023-10-13	12:24:40	401	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASQUES - HELME' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7279
2023-10-13	12:24:40	401	[DEBUG]	Get the existing categories for the product
2023-10-13	12:24:40	401	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859893
2023-10-13	12:24:40	401	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:24:40	401	[DEBUG]	Executed store
2023-10-13	12:24:40	401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859893','7281')
2023-10-13	12:24:40	401	[DEBUG]	Delete leftover product categories
2023-10-13	12:24:40	401	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859893 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:24:40	401	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:40	401	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859893
2023-10-13	12:24:40	402	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:40	402	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:40	402	[DEBUG]	Use field value for field taille
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:40	402	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:40	402	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:40	402	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:40	402	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:40	402	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:40	402	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:40	402	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:40	402	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:40	402	[DEBUG]	Use field value for field published
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:40	402	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field override
2023-10-13	12:24:40	402	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:40	402	[DEBUG]	Use field value for field slug
2023-10-13	12:24:40	402	[DEBUG]	Process line 402
2023-10-13	12:24:40	402	[DEBUG]	Load a row
2023-10-13	12:24:40	402	[DEBUG]	Processing item: 4003692301857
2023-10-13	12:24:40	402	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:40	402	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:40	402	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_652'
2023-10-13	12:24:40	402	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:40	402	[DEBUG]	Processing product tax
2023-10-13	12:24:40	402	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:40	402	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:40	402	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:40	402	[DEBUG]	Query for Product
2023-10-13	12:24:40	402	[DEBUG]	Executed store
2023-10-13	12:24:40	402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859893','4003692301857','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:40	402	[DEBUG]	No parent found
2023-10-13	12:24:40	402	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859893 AND customfield_value = 'stockable'
2023-10-13	12:24:40	402	[DEBUG]	Check product language entry
2023-10-13	12:24:40	402	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859894
2023-10-13	12:24:40	402	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:40	402	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003692301857' AND `virtuemart_product_id` != 1859894
2023-10-13	12:24:40	402	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:40	402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859894, '4003692301857')
2023-10-13	12:24:40	402	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:40	402	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-orchid-52-57' AND `virtuemart_product_id` != 1859894
2023-10-13	12:24:40	402	[DEBUG]	Query for ProductLang
2023-10-13	12:24:40	402	[DEBUG]	Executed store
2023-10-13	12:24:40	402	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Orchid (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-orchid-52-57' WHERE `virtuemart_product_id` = '1859894'
2023-10-13	12:24:40	402	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36895_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:40	402	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:40	402	[DEBUG]	Process image file
2023-10-13	12:24:40	402	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:40	402	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:40	402	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36895_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:40	402	[DEBUG]	Full name target: bcprisme/36895_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:41	402	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:41	402	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36895_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:41	402	[DEBUG]	Query for Media
2023-10-13	12:24:41	402	[DEBUG]	Executed store
2023-10-13	12:24:41	402	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36895_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/36895_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '755455'
2023-10-13	12:24:41	402	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:41	402	[DEBUG]	Executed store
2023-10-13	12:24:41	402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859894','755455','1')
2023-10-13	12:24:41	402	[DEBUG]	Store product image relation
2023-10-13	12:24:41	402	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:41	402	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859894 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:41	402	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:41	402	[DEBUG]	Executed store
2023-10-13	12:24:41	402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859894','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:41	402	[DEBUG]	Checking manufacturer
2023-10-13	12:24:41	402	[DEBUG]	Load a row
2023-10-13	12:24:41	402	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:41	402	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:41	402	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:41	402	[DEBUG]	Executed store
2023-10-13	12:24:41	402	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:41	402	[DEBUG]	Manufacturer exists
2023-10-13	12:24:41	402	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:41	402	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:41	402	[DEBUG]	Executed store
2023-10-13	12:24:41	402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859894','171')
2023-10-13	12:24:41	402	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:41	402	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:41	402	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859894 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:41	402	[DEBUG]	Store custom available field
2023-10-13	12:24:41	402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859894,3,'',1)
2023-10-13	12:24:41	402	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:41	402	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:24:41	402	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859894 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:41	402	[DEBUG]	Store custom available field
2023-10-13	12:24:41	402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859894,6,'52-57',3)
2023-10-13	12:24:41	402	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:41	402	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:41	402	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859893
2023-10-13	12:24:41	402	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:41	402	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859893\":[1859893,8,1,\"choisir la taille\"],\"1859894\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859893
2023-10-13	12:24:41	402	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:41	402	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859894
2023-10-13	12:24:41	403	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:41	403	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:41	403	[DEBUG]	Use field value for field taille
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:41	403	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:41	403	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:41	403	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:41	403	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:41	403	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:41	403	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:41	403	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:41	403	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:41	403	[DEBUG]	Use field value for field published
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:41	403	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field override
2023-10-13	12:24:41	403	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:41	403	[DEBUG]	Use field value for field slug
2023-10-13	12:24:41	403	[DEBUG]	Process line 403
2023-10-13	12:24:41	403	[DEBUG]	Load a row
2023-10-13	12:24:41	403	[DEBUG]	Processing item: 1000000148367
2023-10-13	12:24:41	403	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:41	403	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:41	403	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_652'
2023-10-13	12:24:41	403	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:41	403	[DEBUG]	Processing product tax
2023-10-13	12:24:41	403	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:41	403	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:41	403	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:41	403	[DEBUG]	Query for Product
2023-10-13	12:24:41	403	[DEBUG]	Executed store
2023-10-13	12:24:41	403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859893','1000000148367','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:41	403	[DEBUG]	No parent found
2023-10-13	12:24:41	403	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859893 AND customfield_value = 'stockable'
2023-10-13	12:24:41	403	[DEBUG]	Check product language entry
2023-10-13	12:24:41	403	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859895
2023-10-13	12:24:41	403	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:41	403	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000148367' AND `virtuemart_product_id` != 1859895
2023-10-13	12:24:41	403	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:41	403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859895, '1000000148367')
2023-10-13	12:24:41	403	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:41	403	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-orchid-57-62' AND `virtuemart_product_id` != 1859895
2023-10-13	12:24:41	403	[DEBUG]	Query for ProductLang
2023-10-13	12:24:41	403	[DEBUG]	Executed store
2023-10-13	12:24:41	403	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Orchid (57-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-orchid-57-62' WHERE `virtuemart_product_id` = '1859895'
2023-10-13	12:24:41	403	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36895_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:41	403	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:41	403	[DEBUG]	Process image file
2023-10-13	12:24:41	403	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:41	403	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:41	403	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36895_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:41	403	[DEBUG]	Full name target: bcprisme/36895_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:42	403	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:42	403	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36895_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:42	403	[DEBUG]	Query for Media
2023-10-13	12:24:42	403	[DEBUG]	Executed store
2023-10-13	12:24:42	403	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36895_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/36895_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '755455'
2023-10-13	12:24:42	403	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:42	403	[DEBUG]	Executed store
2023-10-13	12:24:42	403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859895','755455','1')
2023-10-13	12:24:42	403	[DEBUG]	Store product image relation
2023-10-13	12:24:42	403	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:42	403	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859895 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:42	403	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:42	403	[DEBUG]	Executed store
2023-10-13	12:24:42	403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859895','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:42	403	[DEBUG]	Checking manufacturer
2023-10-13	12:24:42	403	[DEBUG]	Load a row
2023-10-13	12:24:42	403	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:42	403	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:42	403	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:42	403	[DEBUG]	Executed store
2023-10-13	12:24:42	403	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:42	403	[DEBUG]	Manufacturer exists
2023-10-13	12:24:42	403	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:42	403	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:42	403	[DEBUG]	Executed store
2023-10-13	12:24:42	403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859895','171')
2023-10-13	12:24:42	403	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:42	403	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:42	403	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859895 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:42	403	[DEBUG]	Store custom available field
2023-10-13	12:24:42	403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859895,3,'',1)
2023-10-13	12:24:42	403	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:42	403	[DEBUG]	Get existing row with customfield value 57-62
2023-10-13	12:24:42	403	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859895 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:42	403	[DEBUG]	Store custom available field
2023-10-13	12:24:42	403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859895,6,'57-62',3)
2023-10-13	12:24:42	403	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:42	403	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:42	403	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859893
2023-10-13	12:24:42	403	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:42	403	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-62\"}]|clabels=0|options={\"1859893\":[1859893,8,1,\"choisir la taille\"],\"1859894\":[\"52-57\"],\"1859895\":[\"57-62\"]}|' WHERE `virtuemart_product_id` = 1859893
2023-10-13	12:24:42	403	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:42	403	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859895
2023-10-13	12:24:42	404	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:42	404	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field taille
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:42	404	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:42	404	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:42	404	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:42	404	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:42	404	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:42	404	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:42	404	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:42	404	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:42	404	[DEBUG]	Use field value for field published
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:42	404	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field override
2023-10-13	12:24:42	404	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:42	404	[DEBUG]	Use field value for field slug
2023-10-13	12:24:42	404	[DEBUG]	Process line 404
2023-10-13	12:24:42	404	[DEBUG]	Load a row
2023-10-13	12:24:42	404	[DEBUG]	Processing item: 1000000148374
2023-10-13	12:24:42	404	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:42	404	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:42	404	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_652'
2023-10-13	12:24:42	404	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:42	404	[DEBUG]	Processing product tax
2023-10-13	12:24:42	404	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:42	404	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:42	404	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:42	404	[DEBUG]	Query for Product
2023-10-13	12:24:42	404	[DEBUG]	Executed store
2023-10-13	12:24:42	404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859893','1000000148374','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:42	404	[DEBUG]	No parent found
2023-10-13	12:24:42	404	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859893 AND customfield_value = 'stockable'
2023-10-13	12:24:42	404	[DEBUG]	Check product language entry
2023-10-13	12:24:42	404	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859896
2023-10-13	12:24:42	404	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:42	404	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000148374' AND `virtuemart_product_id` != 1859896
2023-10-13	12:24:42	404	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:42	404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859896, '1000000148374')
2023-10-13	12:24:43	404	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:43	404	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-orchid' AND `virtuemart_product_id` != 1859896
2023-10-13	12:24:43	404	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:24:43	404	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'alpina-casque-vtt-carapax-2-0-orchid', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'alpina-casque-vtt-carapax-2-0-orchid' OR `slug` LIKE 'alpina-casque-vtt-carapax-2-0-orchid-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1859896 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:24:43	404	[DEBUG]	Query for ProductLang
2023-10-13	12:24:43	404	[DEBUG]	Executed store
2023-10-13	12:24:43	404	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Orchid ()',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-orchid-58' WHERE `virtuemart_product_id` = '1859896'
2023-10-13	12:24:43	404	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36895_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:43	404	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:43	404	[DEBUG]	Process image file
2023-10-13	12:24:43	404	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:43	404	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:43	404	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36895_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:43	404	[DEBUG]	Full name target: bcprisme/36895_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:43	404	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:43	404	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36895_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:43	404	[DEBUG]	Query for Media
2023-10-13	12:24:43	404	[DEBUG]	Executed store
2023-10-13	12:24:43	404	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36895_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/36895_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '755455'
2023-10-13	12:24:43	404	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:43	404	[DEBUG]	Executed store
2023-10-13	12:24:43	404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859896','755455','1')
2023-10-13	12:24:43	404	[DEBUG]	Store product image relation
2023-10-13	12:24:43	404	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:43	404	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859896 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:43	404	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:43	404	[DEBUG]	Executed store
2023-10-13	12:24:43	404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859896','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:43	404	[DEBUG]	Checking manufacturer
2023-10-13	12:24:43	404	[DEBUG]	Load a row
2023-10-13	12:24:43	404	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:43	404	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:43	404	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:43	404	[DEBUG]	Executed store
2023-10-13	12:24:43	404	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:43	404	[DEBUG]	Manufacturer exists
2023-10-13	12:24:43	404	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:43	404	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:43	404	[DEBUG]	Executed store
2023-10-13	12:24:43	404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859896','171')
2023-10-13	12:24:43	404	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:43	404	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:43	404	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859896 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:43	404	[DEBUG]	Store custom available field
2023-10-13	12:24:43	404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859896,3,'',1)
2023-10-13	12:24:43	404	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:43	404	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:43	404	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859896 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:44	404	[DEBUG]	Store custom available field
2023-10-13	12:24:44	404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859896,6,'',3)
2023-10-13	12:24:44	404	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:44	404	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:44	404	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859893
2023-10-13	12:24:44	404	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:44	404	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-62\"}]|clabels=0|options={\"1859893\":[1859893,8,1,\"choisir la taille\"],\"1859894\":[\"52-57\"],\"1859895\":[\"57-62\"],\"1859896\":[\"0\"]}|' WHERE `virtuemart_product_id` = 1859893
2023-10-13	12:24:44	404	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:44	404	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859896
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:44	405	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field taille
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field category_path
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:44	405	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:24:44	405	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:44	405	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field product_weight
2023-10-13	12:24:44	405	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:44	405	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:44	405	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field published
2023-10-13	12:24:44	405	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:44	405	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field custom_title
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field custom_param
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field override
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field public_price
2023-10-13	12:24:44	405	[DEBUG]	Use field value for field slug
2023-10-13	12:24:44	405	[DEBUG]	Process line 405
2023-10-13	12:24:44	405	[DEBUG]	Load a row
2023-10-13	12:24:44	405	[DEBUG]	Processing item: A_7995_685
2023-10-13	12:24:44	405	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:44	405	[DEBUG]	Processing product tax
2023-10-13	12:24:44	405	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:44	405	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:44	405	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:44	405	[DEBUG]	Query for Product
2023-10-13	12:24:44	405	[DEBUG]	Executed store
2023-10-13	12:24:44	405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7995_685','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:44	405	[DEBUG]	Check product language entry
2023-10-13	12:24:44	405	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859897
2023-10-13	12:24:44	405	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:44	405	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7995_685' AND `virtuemart_product_id` != 1859897
2023-10-13	12:24:44	405	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:44	405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859897, 'A_7995_685')
2023-10-13	12:24:44	405	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:44	405	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-moon-grey-peach' AND `virtuemart_product_id` != 1859897
2023-10-13	12:24:44	405	[DEBUG]	Query for ProductLang
2023-10-13	12:24:44	405	[DEBUG]	Executed store
2023-10-13	12:24:44	405	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Carapax 2.0 d’Alpina est adapté aux sentiers tout terrain. Avec la version révisé du modèle à succès, on est sûr de toujours faire le bon choix. Peu importe si l’on parcourt un chemin en montée ou en descente. Il s’agit d’un casque polyvalent adapté aux espaces tout-terrain et il compte parmi les modèles enduro les plus légers sur le marché. Le système Run System Ergo Flex assure un confort maximal et une sécurité optimale. Un système d’ajustement constitué d’une structure filigrane fixe le casque de manière uniforme sur 360 degrés du tour de tête. L’ajustement du casque de vélo peut se réaliser d’une manière parfaitement autonome, souple et confortable. Un avantage complémentaire en faveur du confort : le rembourrage amovible. Celui-ci est très agréable à porter - indépendamment des températures sur le terrain. Le poids léger du Carapax 2.0 est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Grâce à la Seamless Connection, il épouse parfaitement la coque supérieure. Pour garantir la meilleure sécurité sur des trails complexes, l’arrière du casque et la zone des tempes ont été rallongés vers le bas. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération permettent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière réglable en hauteur garantit une protection optimale dans la zone de la vision.<br>N° art fourn : A9725188',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Moon Grey Peach',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-moon-grey-peach' WHERE `virtuemart_product_id` = '1859897'
2023-10-13	12:24:44	405	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37113_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:44	405	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:44	405	[DEBUG]	Process image file
2023-10-13	12:24:44	405	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:44	405	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:44	405	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37113_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:44	405	[DEBUG]	Full name target: bcprisme/37113_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:45	405	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:45	405	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37113_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:45	405	[DEBUG]	Query for Media
2023-10-13	12:24:45	405	[DEBUG]	Executed store
2023-10-13	12:24:45	405	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37113_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/37113_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '898469'
2023-10-13	12:24:45	405	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:45	405	[DEBUG]	Executed store
2023-10-13	12:24:45	405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859897','898469','1')
2023-10-13	12:24:45	405	[DEBUG]	Store product image relation
2023-10-13	12:24:45	405	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:45	405	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859897 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:45	405	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:45	405	[DEBUG]	Executed store
2023-10-13	12:24:45	405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859897','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:45	405	[DEBUG]	Checking manufacturer
2023-10-13	12:24:45	405	[DEBUG]	Load a row
2023-10-13	12:24:45	405	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:45	405	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:45	405	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:45	405	[DEBUG]	Executed store
2023-10-13	12:24:45	405	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:45	405	[DEBUG]	Manufacturer exists
2023-10-13	12:24:45	405	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:45	405	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:45	405	[DEBUG]	Executed store
2023-10-13	12:24:45	405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859897','171')
2023-10-13	12:24:45	405	[DEBUG]	Find the custom field ID
2023-10-13	12:24:45	405	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:24:45	405	[DEBUG]	No custom field ID found
2023-10-13	12:24:45	405	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:45	405	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:24:45	405	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859897 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:45	405	[DEBUG]	Store custom available field
2023-10-13	12:24:45	405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859897,3,'0',1)
2023-10-13	12:24:45	405	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:45	405	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:24:45	405	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859897 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:45	405	[DEBUG]	Store custom available field
2023-10-13	12:24:45	405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859897,6,'choisir la taille',3)
2023-10-13	12:24:45	405	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:45	405	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:24:45	405	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:24:45	405	[DEBUG]	Find the multi variant product entry
2023-10-13	12:24:45	405	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859897 AND `virtuemart_custom_id` = 8
2023-10-13	12:24:45	405	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:24:45	405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859897,8,1)
2023-10-13	12:24:45	405	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:45	405	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859897\":[1859897,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859897
2023-10-13	12:24:45	405	[DEBUG]	Checking category
2023-10-13	12:24:45	405	[DEBUG]	Get the existing categories for the product
2023-10-13	12:24:45	405	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859897
2023-10-13	12:24:45	405	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:24:45	405	[DEBUG]	Executed store
2023-10-13	12:24:45	405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859897','7281')
2023-10-13	12:24:45	405	[DEBUG]	Delete leftover product categories
2023-10-13	12:24:45	405	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859897 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:24:45	405	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:45	405	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859897
2023-10-13	12:24:45	406	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:45	406	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:45	406	[DEBUG]	Use field value for field taille
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:45	406	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:45	406	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:45	406	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:45	406	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:45	406	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:45	406	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:45	406	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:45	406	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:45	406	[DEBUG]	Use field value for field published
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:45	406	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field override
2023-10-13	12:24:45	406	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:45	406	[DEBUG]	Use field value for field slug
2023-10-13	12:24:45	406	[DEBUG]	Process line 406
2023-10-13	12:24:45	406	[DEBUG]	Load a row
2023-10-13	12:24:45	406	[DEBUG]	Processing item: 1000000152432
2023-10-13	12:24:45	406	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:45	406	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:45	406	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_685'
2023-10-13	12:24:45	406	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:45	406	[DEBUG]	Processing product tax
2023-10-13	12:24:45	406	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:45	406	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:45	406	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:45	406	[DEBUG]	Query for Product
2023-10-13	12:24:45	406	[DEBUG]	Executed store
2023-10-13	12:24:45	406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859897','1000000152432','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:45	406	[DEBUG]	No parent found
2023-10-13	12:24:45	406	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859897 AND customfield_value = 'stockable'
2023-10-13	12:24:45	406	[DEBUG]	Check product language entry
2023-10-13	12:24:45	406	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859898
2023-10-13	12:24:45	406	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:45	406	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152432' AND `virtuemart_product_id` != 1859898
2023-10-13	12:24:45	406	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:45	406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859898, '1000000152432')
2023-10-13	12:24:45	406	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:45	406	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-moon-grey-peach-52-57' AND `virtuemart_product_id` != 1859898
2023-10-13	12:24:45	406	[DEBUG]	Query for ProductLang
2023-10-13	12:24:45	406	[DEBUG]	Executed store
2023-10-13	12:24:45	406	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Moon Grey Peach (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-moon-grey-peach-52-57' WHERE `virtuemart_product_id` = '1859898'
2023-10-13	12:24:45	406	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37113_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:45	406	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:45	406	[DEBUG]	Process image file
2023-10-13	12:24:45	406	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:45	406	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:45	406	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37113_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:45	406	[DEBUG]	Full name target: bcprisme/37113_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:46	406	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:46	406	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37113_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:46	406	[DEBUG]	Query for Media
2023-10-13	12:24:46	406	[DEBUG]	Executed store
2023-10-13	12:24:46	406	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37113_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/37113_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '898469'
2023-10-13	12:24:46	406	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:46	406	[DEBUG]	Executed store
2023-10-13	12:24:46	406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859898','898469','1')
2023-10-13	12:24:46	406	[DEBUG]	Store product image relation
2023-10-13	12:24:46	406	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:46	406	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859898 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:46	406	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:46	406	[DEBUG]	Executed store
2023-10-13	12:24:46	406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859898','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:46	406	[DEBUG]	Checking manufacturer
2023-10-13	12:24:46	406	[DEBUG]	Load a row
2023-10-13	12:24:46	406	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:46	406	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:46	406	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:46	406	[DEBUG]	Executed store
2023-10-13	12:24:46	406	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:46	406	[DEBUG]	Manufacturer exists
2023-10-13	12:24:46	406	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:46	406	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:46	406	[DEBUG]	Executed store
2023-10-13	12:24:46	406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859898','171')
2023-10-13	12:24:46	406	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:46	406	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:46	406	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859898 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:46	406	[DEBUG]	Store custom available field
2023-10-13	12:24:46	406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859898,3,'',1)
2023-10-13	12:24:46	406	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:46	406	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:24:46	406	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859898 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:46	406	[DEBUG]	Store custom available field
2023-10-13	12:24:46	406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859898,6,'52-57',3)
2023-10-13	12:24:46	406	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:46	406	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:46	406	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859897
2023-10-13	12:24:46	406	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:46	406	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859897\":[1859897,8,1,\"choisir la taille\"],\"1859898\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859897
2023-10-13	12:24:46	406	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:46	406	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859898
2023-10-13	12:24:46	407	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:46	407	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:46	407	[DEBUG]	Use field value for field taille
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:46	407	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:46	407	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:46	407	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:46	407	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:46	407	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:46	407	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:46	407	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:46	407	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:46	407	[DEBUG]	Use field value for field published
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:46	407	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field override
2023-10-13	12:24:46	407	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:46	407	[DEBUG]	Use field value for field slug
2023-10-13	12:24:46	407	[DEBUG]	Process line 407
2023-10-13	12:24:46	407	[DEBUG]	Load a row
2023-10-13	12:24:46	407	[DEBUG]	Processing item: 1000000152449
2023-10-13	12:24:46	407	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:46	407	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:46	407	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_685'
2023-10-13	12:24:46	407	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:46	407	[DEBUG]	Processing product tax
2023-10-13	12:24:46	407	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:46	407	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:46	407	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:46	407	[DEBUG]	Query for Product
2023-10-13	12:24:46	407	[DEBUG]	Executed store
2023-10-13	12:24:46	407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859897','1000000152449','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:46	407	[DEBUG]	No parent found
2023-10-13	12:24:46	407	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859897 AND customfield_value = 'stockable'
2023-10-13	12:24:46	407	[DEBUG]	Check product language entry
2023-10-13	12:24:46	407	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859899
2023-10-13	12:24:46	407	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:46	407	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152449' AND `virtuemart_product_id` != 1859899
2023-10-13	12:24:46	407	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:46	407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859899, '1000000152449')
2023-10-13	12:24:46	407	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:46	407	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-moon-grey-peach-57-62' AND `virtuemart_product_id` != 1859899
2023-10-13	12:24:46	407	[DEBUG]	Query for ProductLang
2023-10-13	12:24:46	407	[DEBUG]	Executed store
2023-10-13	12:24:46	407	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Moon Grey Peach (57-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-moon-grey-peach-57-62' WHERE `virtuemart_product_id` = '1859899'
2023-10-13	12:24:46	407	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37113_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:46	407	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:46	407	[DEBUG]	Process image file
2023-10-13	12:24:46	407	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:46	407	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:46	407	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37113_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:46	407	[DEBUG]	Full name target: bcprisme/37113_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:47	407	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:47	407	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37113_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:47	407	[DEBUG]	Query for Media
2023-10-13	12:24:47	407	[DEBUG]	Executed store
2023-10-13	12:24:47	407	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37113_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/37113_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '898469'
2023-10-13	12:24:47	407	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:47	407	[DEBUG]	Executed store
2023-10-13	12:24:47	407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859899','898469','1')
2023-10-13	12:24:47	407	[DEBUG]	Store product image relation
2023-10-13	12:24:47	407	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:47	407	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859899 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:47	407	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:47	407	[DEBUG]	Executed store
2023-10-13	12:24:47	407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859899','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:47	407	[DEBUG]	Checking manufacturer
2023-10-13	12:24:47	407	[DEBUG]	Load a row
2023-10-13	12:24:47	407	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:47	407	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:47	407	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:47	407	[DEBUG]	Executed store
2023-10-13	12:24:47	407	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:47	407	[DEBUG]	Manufacturer exists
2023-10-13	12:24:47	407	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:47	407	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:47	407	[DEBUG]	Executed store
2023-10-13	12:24:47	407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859899','171')
2023-10-13	12:24:47	407	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:47	407	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:47	407	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859899 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:47	407	[DEBUG]	Store custom available field
2023-10-13	12:24:47	407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859899,3,'',1)
2023-10-13	12:24:47	407	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:47	407	[DEBUG]	Get existing row with customfield value 57-62
2023-10-13	12:24:47	407	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859899 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:47	407	[DEBUG]	Store custom available field
2023-10-13	12:24:47	407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859899,6,'57-62',3)
2023-10-13	12:24:47	407	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:47	407	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:47	407	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859897
2023-10-13	12:24:47	407	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:47	407	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-62\"}]|clabels=0|options={\"1859897\":[1859897,8,1,\"choisir la taille\"],\"1859898\":[\"52-57\"],\"1859899\":[\"57-62\"]}|' WHERE `virtuemart_product_id` = 1859897
2023-10-13	12:24:47	407	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:47	407	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859899
2023-10-13	12:24:47	408	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:47	408	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field taille
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:47	408	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:47	408	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:47	408	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:47	408	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:47	408	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:47	408	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:47	408	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:47	408	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:47	408	[DEBUG]	Use field value for field published
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:47	408	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field override
2023-10-13	12:24:47	408	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:47	408	[DEBUG]	Use field value for field slug
2023-10-13	12:24:47	408	[DEBUG]	Process line 408
2023-10-13	12:24:47	408	[DEBUG]	Load a row
2023-10-13	12:24:47	408	[DEBUG]	Processing item: 1000000152456
2023-10-13	12:24:47	408	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:47	408	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:47	408	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_685'
2023-10-13	12:24:47	408	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:47	408	[DEBUG]	Processing product tax
2023-10-13	12:24:47	408	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:47	408	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:47	408	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:47	408	[DEBUG]	Query for Product
2023-10-13	12:24:47	408	[DEBUG]	Executed store
2023-10-13	12:24:47	408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859897','1000000152456','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:47	408	[DEBUG]	No parent found
2023-10-13	12:24:47	408	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859897 AND customfield_value = 'stockable'
2023-10-13	12:24:47	408	[DEBUG]	Check product language entry
2023-10-13	12:24:47	408	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859900
2023-10-13	12:24:47	408	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:47	408	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152456' AND `virtuemart_product_id` != 1859900
2023-10-13	12:24:47	408	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:47	408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859900, '1000000152456')
2023-10-13	12:24:47	408	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:47	408	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-moon-grey-peach' AND `virtuemart_product_id` != 1859900
2023-10-13	12:24:47	408	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:24:47	408	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'alpina-casque-vtt-carapax-2-0-moon-grey-peach', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'alpina-casque-vtt-carapax-2-0-moon-grey-peach' OR `slug` LIKE 'alpina-casque-vtt-carapax-2-0-moon-grey-peach-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1859900 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:24:47	408	[DEBUG]	Query for ProductLang
2023-10-13	12:24:47	408	[DEBUG]	Executed store
2023-10-13	12:24:47	408	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Moon Grey Peach ()',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-moon-grey-peach-58' WHERE `virtuemart_product_id` = '1859900'
2023-10-13	12:24:47	408	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37113_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:47	408	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:47	408	[DEBUG]	Process image file
2023-10-13	12:24:47	408	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:47	408	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:47	408	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37113_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:47	408	[DEBUG]	Full name target: bcprisme/37113_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:48	408	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:48	408	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37113_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:48	408	[DEBUG]	Query for Media
2023-10-13	12:24:48	408	[DEBUG]	Executed store
2023-10-13	12:24:48	408	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37113_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/37113_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '898469'
2023-10-13	12:24:48	408	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:48	408	[DEBUG]	Executed store
2023-10-13	12:24:48	408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859900','898469','1')
2023-10-13	12:24:48	408	[DEBUG]	Store product image relation
2023-10-13	12:24:48	408	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:48	408	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859900 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:48	408	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:48	408	[DEBUG]	Executed store
2023-10-13	12:24:48	408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859900','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:48	408	[DEBUG]	Checking manufacturer
2023-10-13	12:24:48	408	[DEBUG]	Load a row
2023-10-13	12:24:48	408	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:48	408	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:48	408	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:48	408	[DEBUG]	Executed store
2023-10-13	12:24:48	408	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:48	408	[DEBUG]	Manufacturer exists
2023-10-13	12:24:48	408	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:48	408	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:48	408	[DEBUG]	Executed store
2023-10-13	12:24:48	408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859900','171')
2023-10-13	12:24:48	408	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:48	408	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:48	408	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859900 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:48	408	[DEBUG]	Store custom available field
2023-10-13	12:24:48	408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859900,3,'',1)
2023-10-13	12:24:48	408	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:48	408	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:48	408	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859900 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:48	408	[DEBUG]	Store custom available field
2023-10-13	12:24:48	408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859900,6,'',3)
2023-10-13	12:24:48	408	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:48	408	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:48	408	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859897
2023-10-13	12:24:48	408	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:48	408	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-62\"}]|clabels=0|options={\"1859897\":[1859897,8,1,\"choisir la taille\"],\"1859898\":[\"52-57\"],\"1859899\":[\"57-62\"],\"1859900\":[\"0\"]}|' WHERE `virtuemart_product_id` = 1859897
2023-10-13	12:24:48	408	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:48	408	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859900
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:48	409	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field taille
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field category_path
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:48	409	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:24:48	409	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:48	409	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field product_weight
2023-10-13	12:24:48	409	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:48	409	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:48	409	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field published
2023-10-13	12:24:48	409	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:48	409	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field custom_title
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field custom_param
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field override
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field public_price
2023-10-13	12:24:48	409	[DEBUG]	Use field value for field slug
2023-10-13	12:24:48	409	[DEBUG]	Process line 409
2023-10-13	12:24:48	409	[DEBUG]	Load a row
2023-10-13	12:24:48	409	[DEBUG]	Processing item: A_7995_687
2023-10-13	12:24:48	409	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:48	409	[DEBUG]	Processing product tax
2023-10-13	12:24:48	409	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:48	409	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:48	409	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:48	409	[DEBUG]	Query for Product
2023-10-13	12:24:48	409	[DEBUG]	Executed store
2023-10-13	12:24:48	409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7995_687','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:48	409	[DEBUG]	Check product language entry
2023-10-13	12:24:48	409	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859901
2023-10-13	12:24:48	409	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:48	409	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7995_687' AND `virtuemart_product_id` != 1859901
2023-10-13	12:24:48	409	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:48	409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859901, 'A_7995_687')
2023-10-13	12:24:48	409	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:48	409	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-black-neon-yellow' AND `virtuemart_product_id` != 1859901
2023-10-13	12:24:48	409	[DEBUG]	Query for ProductLang
2023-10-13	12:24:48	409	[DEBUG]	Executed store
2023-10-13	12:24:48	409	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Carapax 2.0 d’Alpina est adapté aux sentiers tout terrain. Avec la version révisé du modèle à succès, on est sûr de toujours faire le bon choix. Peu importe si l’on parcourt un chemin en montée ou en descente. Il s’agit d’un casque polyvalent adapté aux espaces tout-terrain et il compte parmi les modèles enduro les plus légers sur le marché. Le système Run System Ergo Flex assure un confort maximal et une sécurité optimale. Un système d’ajustement constitué d’une structure filigrane fixe le casque de manière uniforme sur 360 degrés du tour de tête. L’ajustement du casque de vélo peut se réaliser d’une manière parfaitement autonome, souple et confortable. Un avantage complémentaire en faveur du confort : le rembourrage amovible. Celui-ci est très agréable à porter - indépendamment des températures sur le terrain. Le poids léger du Carapax 2.0 est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Grâce à la Seamless Connection, il épouse parfaitement la coque supérieure. Pour garantir la meilleure sécurité sur des trails complexes, l’arrière du casque et la zone des tempes ont été rallongés vers le bas. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération permettent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière réglable en hauteur garantit une protection optimale dans la zone de la vision.<br>N° art fourn : A9725188',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Black Neon Yellow',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-black-neon-yellow' WHERE `virtuemart_product_id` = '1859901'
2023-10-13	12:24:48	409	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37115_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:48	409	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:48	409	[DEBUG]	Process image file
2023-10-13	12:24:48	409	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:48	409	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:48	409	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37115_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:48	409	[DEBUG]	Full name target: bcprisme/37115_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:49	409	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:49	409	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37115_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:49	409	[DEBUG]	Query for Media
2023-10-13	12:24:49	409	[DEBUG]	Executed store
2023-10-13	12:24:49	409	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37115_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/37115_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1130784'
2023-10-13	12:24:49	409	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:49	409	[DEBUG]	Executed store
2023-10-13	12:24:49	409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859901','1130784','1')
2023-10-13	12:24:49	409	[DEBUG]	Store product image relation
2023-10-13	12:24:49	409	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:49	409	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859901 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:49	409	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:49	409	[DEBUG]	Executed store
2023-10-13	12:24:49	409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859901','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:49	409	[DEBUG]	Checking manufacturer
2023-10-13	12:24:49	409	[DEBUG]	Load a row
2023-10-13	12:24:49	409	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:49	409	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:49	409	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:49	409	[DEBUG]	Executed store
2023-10-13	12:24:49	409	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:49	409	[DEBUG]	Manufacturer exists
2023-10-13	12:24:49	409	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:49	409	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:49	409	[DEBUG]	Executed store
2023-10-13	12:24:49	409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859901','171')
2023-10-13	12:24:49	409	[DEBUG]	Find the custom field ID
2023-10-13	12:24:49	409	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:24:49	409	[DEBUG]	No custom field ID found
2023-10-13	12:24:49	409	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:49	409	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:24:49	409	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859901 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:49	409	[DEBUG]	Store custom available field
2023-10-13	12:24:49	409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859901,3,'0',1)
2023-10-13	12:24:49	409	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:49	409	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:24:49	409	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859901 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:49	409	[DEBUG]	Store custom available field
2023-10-13	12:24:49	409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859901,6,'choisir la taille',3)
2023-10-13	12:24:49	409	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:49	409	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:24:49	409	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:24:49	409	[DEBUG]	Find the multi variant product entry
2023-10-13	12:24:49	409	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859901 AND `virtuemart_custom_id` = 8
2023-10-13	12:24:49	409	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:24:49	409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859901,8,1)
2023-10-13	12:24:49	409	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:49	409	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859901\":[1859901,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859901
2023-10-13	12:24:49	409	[DEBUG]	Checking category
2023-10-13	12:24:49	409	[DEBUG]	Get the existing categories for the product
2023-10-13	12:24:49	409	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859901
2023-10-13	12:24:49	409	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:24:49	409	[DEBUG]	Executed store
2023-10-13	12:24:49	409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859901','7281')
2023-10-13	12:24:49	409	[DEBUG]	Delete leftover product categories
2023-10-13	12:24:49	409	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859901 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:24:49	409	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:49	409	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859901
2023-10-13	12:24:49	410	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:49	410	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:49	410	[DEBUG]	Use field value for field taille
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:49	410	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:49	410	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:49	410	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:49	410	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:49	410	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:49	410	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:49	410	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:49	410	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:49	410	[DEBUG]	Use field value for field published
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:49	410	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field override
2023-10-13	12:24:49	410	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:49	410	[DEBUG]	Use field value for field slug
2023-10-13	12:24:49	410	[DEBUG]	Process line 410
2023-10-13	12:24:49	410	[DEBUG]	Load a row
2023-10-13	12:24:49	410	[DEBUG]	Processing item: 1000000152463
2023-10-13	12:24:49	410	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:49	410	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:49	410	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_687'
2023-10-13	12:24:49	410	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:49	410	[DEBUG]	Processing product tax
2023-10-13	12:24:49	410	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:49	410	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:49	410	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:49	410	[DEBUG]	Query for Product
2023-10-13	12:24:49	410	[DEBUG]	Executed store
2023-10-13	12:24:49	410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859901','1000000152463','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:49	410	[DEBUG]	No parent found
2023-10-13	12:24:49	410	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859901 AND customfield_value = 'stockable'
2023-10-13	12:24:49	410	[DEBUG]	Check product language entry
2023-10-13	12:24:49	410	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859902
2023-10-13	12:24:49	410	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:49	410	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152463' AND `virtuemart_product_id` != 1859902
2023-10-13	12:24:49	410	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:49	410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859902, '1000000152463')
2023-10-13	12:24:49	410	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:49	410	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-black-neon-yellow-57-62' AND `virtuemart_product_id` != 1859902
2023-10-13	12:24:49	410	[DEBUG]	Query for ProductLang
2023-10-13	12:24:49	410	[DEBUG]	Executed store
2023-10-13	12:24:49	410	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Black Neon Yellow (57-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-black-neon-yellow-57-62' WHERE `virtuemart_product_id` = '1859902'
2023-10-13	12:24:49	410	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37115_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:49	410	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:49	410	[DEBUG]	Process image file
2023-10-13	12:24:49	410	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:49	410	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:49	410	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37115_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:49	410	[DEBUG]	Full name target: bcprisme/37115_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:50	410	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:50	410	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37115_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:50	410	[DEBUG]	Query for Media
2023-10-13	12:24:50	410	[DEBUG]	Executed store
2023-10-13	12:24:50	410	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37115_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/37115_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1130784'
2023-10-13	12:24:50	410	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:50	410	[DEBUG]	Executed store
2023-10-13	12:24:50	410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859902','1130784','1')
2023-10-13	12:24:50	410	[DEBUG]	Store product image relation
2023-10-13	12:24:50	410	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:50	410	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859902 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:50	410	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:50	410	[DEBUG]	Executed store
2023-10-13	12:24:50	410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859902','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:50	410	[DEBUG]	Checking manufacturer
2023-10-13	12:24:50	410	[DEBUG]	Load a row
2023-10-13	12:24:50	410	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:50	410	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:50	410	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:50	410	[DEBUG]	Executed store
2023-10-13	12:24:50	410	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:50	410	[DEBUG]	Manufacturer exists
2023-10-13	12:24:50	410	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:50	410	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:50	410	[DEBUG]	Executed store
2023-10-13	12:24:50	410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859902','171')
2023-10-13	12:24:50	410	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:50	410	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:50	410	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859902 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:50	410	[DEBUG]	Store custom available field
2023-10-13	12:24:50	410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859902,3,'',1)
2023-10-13	12:24:50	410	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:50	410	[DEBUG]	Get existing row with customfield value 57-62
2023-10-13	12:24:50	410	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859902 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:50	410	[DEBUG]	Store custom available field
2023-10-13	12:24:50	410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859902,6,'57-62',3)
2023-10-13	12:24:50	410	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:50	410	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:50	410	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859901
2023-10-13	12:24:50	410	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:50	410	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-62\"}]|clabels=0|options={\"1859901\":[1859901,8,1,\"choisir la taille\"],\"1859902\":[\"57-62\"]}|' WHERE `virtuemart_product_id` = 1859901
2023-10-13	12:24:50	410	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:50	410	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859902
2023-10-13	12:24:50	411	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:50	411	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:50	411	[DEBUG]	Use field value for field taille
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:50	411	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:50	411	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:50	411	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:50	411	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:50	411	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:50	411	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:50	411	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:50	411	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:50	411	[DEBUG]	Use field value for field published
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:50	411	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field override
2023-10-13	12:24:50	411	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:50	411	[DEBUG]	Use field value for field slug
2023-10-13	12:24:50	411	[DEBUG]	Process line 411
2023-10-13	12:24:50	411	[DEBUG]	Load a row
2023-10-13	12:24:50	411	[DEBUG]	Processing item: 1000000152470
2023-10-13	12:24:50	411	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:50	411	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:50	411	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_687'
2023-10-13	12:24:50	411	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:50	411	[DEBUG]	Processing product tax
2023-10-13	12:24:50	411	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:50	411	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:50	411	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:50	411	[DEBUG]	Query for Product
2023-10-13	12:24:50	411	[DEBUG]	Executed store
2023-10-13	12:24:50	411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859901','1000000152470','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:50	411	[DEBUG]	No parent found
2023-10-13	12:24:50	411	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859901 AND customfield_value = 'stockable'
2023-10-13	12:24:50	411	[DEBUG]	Check product language entry
2023-10-13	12:24:50	411	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859903
2023-10-13	12:24:50	411	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:50	411	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152470' AND `virtuemart_product_id` != 1859903
2023-10-13	12:24:50	411	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:50	411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859903, '1000000152470')
2023-10-13	12:24:50	411	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:50	411	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-black-neon-yellow-52-57' AND `virtuemart_product_id` != 1859903
2023-10-13	12:24:50	411	[DEBUG]	Query for ProductLang
2023-10-13	12:24:50	411	[DEBUG]	Executed store
2023-10-13	12:24:50	411	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Black Neon Yellow (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-black-neon-yellow-52-57' WHERE `virtuemart_product_id` = '1859903'
2023-10-13	12:24:50	411	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37115_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:50	411	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:50	411	[DEBUG]	Process image file
2023-10-13	12:24:50	411	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:50	411	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:50	411	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37115_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:50	411	[DEBUG]	Full name target: bcprisme/37115_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:51	411	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:51	411	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37115_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:51	411	[DEBUG]	Query for Media
2023-10-13	12:24:51	411	[DEBUG]	Executed store
2023-10-13	12:24:51	411	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37115_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/37115_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1130784'
2023-10-13	12:24:51	411	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:51	411	[DEBUG]	Executed store
2023-10-13	12:24:51	411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859903','1130784','1')
2023-10-13	12:24:51	411	[DEBUG]	Store product image relation
2023-10-13	12:24:51	411	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:51	411	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859903 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:51	411	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:51	411	[DEBUG]	Executed store
2023-10-13	12:24:51	411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859903','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:51	411	[DEBUG]	Checking manufacturer
2023-10-13	12:24:51	411	[DEBUG]	Load a row
2023-10-13	12:24:51	411	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:51	411	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:51	411	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:51	411	[DEBUG]	Executed store
2023-10-13	12:24:51	411	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:51	411	[DEBUG]	Manufacturer exists
2023-10-13	12:24:51	411	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:51	411	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:51	411	[DEBUG]	Executed store
2023-10-13	12:24:51	411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859903','171')
2023-10-13	12:24:51	411	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:51	411	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:51	411	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859903 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:51	411	[DEBUG]	Store custom available field
2023-10-13	12:24:51	411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859903,3,'',1)
2023-10-13	12:24:51	411	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:51	411	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:24:51	411	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859903 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:51	411	[DEBUG]	Store custom available field
2023-10-13	12:24:51	411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859903,6,'52-57',3)
2023-10-13	12:24:51	411	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:51	411	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:51	411	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859901
2023-10-13	12:24:51	411	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:51	411	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-62\\r\\n52-57\"}]|clabels=0|options={\"1859901\":[1859901,8,1,\"choisir la taille\"],\"1859902\":[\"57-62\"],\"1859903\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859901
2023-10-13	12:24:51	411	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:51	411	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859903
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:51	412	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field taille
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field category_path
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:51	412	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:24:51	412	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:51	412	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field product_weight
2023-10-13	12:24:51	412	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:51	412	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:51	412	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field published
2023-10-13	12:24:51	412	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:51	412	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field custom_title
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field custom_param
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field override
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field public_price
2023-10-13	12:24:51	412	[DEBUG]	Use field value for field slug
2023-10-13	12:24:51	412	[DEBUG]	Process line 412
2023-10-13	12:24:51	412	[DEBUG]	Load a row
2023-10-13	12:24:51	412	[DEBUG]	Processing item: A_7995_688
2023-10-13	12:24:51	412	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:51	412	[DEBUG]	Processing product tax
2023-10-13	12:24:51	412	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:51	412	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:51	412	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:51	412	[DEBUG]	Query for Product
2023-10-13	12:24:51	412	[DEBUG]	Executed store
2023-10-13	12:24:51	412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7995_688','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:51	412	[DEBUG]	Check product language entry
2023-10-13	12:24:51	412	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859904
2023-10-13	12:24:51	412	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:51	412	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7995_688' AND `virtuemart_product_id` != 1859904
2023-10-13	12:24:51	412	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:51	412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859904, 'A_7995_688')
2023-10-13	12:24:51	412	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:51	412	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-dove-blue-grey' AND `virtuemart_product_id` != 1859904
2023-10-13	12:24:51	412	[DEBUG]	Query for ProductLang
2023-10-13	12:24:51	412	[DEBUG]	Executed store
2023-10-13	12:24:51	412	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Carapax 2.0 d’Alpina est adapté aux sentiers tout terrain. Avec la version révisé du modèle à succès, on est sûr de toujours faire le bon choix. Peu importe si l’on parcourt un chemin en montée ou en descente. Il s’agit d’un casque polyvalent adapté aux espaces tout-terrain et il compte parmi les modèles enduro les plus légers sur le marché. Le système Run System Ergo Flex assure un confort maximal et une sécurité optimale. Un système d’ajustement constitué d’une structure filigrane fixe le casque de manière uniforme sur 360 degrés du tour de tête. L’ajustement du casque de vélo peut se réaliser d’une manière parfaitement autonome, souple et confortable. Un avantage complémentaire en faveur du confort : le rembourrage amovible. Celui-ci est très agréable à porter - indépendamment des températures sur le terrain. Le poids léger du Carapax 2.0 est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Grâce à la Seamless Connection, il épouse parfaitement la coque supérieure. Pour garantir la meilleure sécurité sur des trails complexes, l’arrière du casque et la zone des tempes ont été rallongés vers le bas. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération permettent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière réglable en hauteur garantit une protection optimale dans la zone de la vision.<br>N° art fourn : A9725188',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Dove Blue Grey',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-dove-blue-grey' WHERE `virtuemart_product_id` = '1859904'
2023-10-13	12:24:51	412	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37116_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:51	412	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:24:51	412	[DEBUG]	Process image file
2023-10-13	12:24:51	412	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:24:51	412	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:51	412	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37116_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:51	412	[DEBUG]	Full name target: bcprisme/37116_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:52	412	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:52	412	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37116_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:52	412	[DEBUG]	Query for Media
2023-10-13	12:24:52	412	[DEBUG]	Executed store
2023-10-13	12:24:52	412	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37116_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/37116_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '898473'
2023-10-13	12:24:52	412	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:52	412	[DEBUG]	Executed store
2023-10-13	12:24:52	412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859904','898473','1')
2023-10-13	12:24:52	412	[DEBUG]	Store product image relation
2023-10-13	12:24:52	412	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:52	412	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859904 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:52	412	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:52	412	[DEBUG]	Executed store
2023-10-13	12:24:52	412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859904','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:52	412	[DEBUG]	Checking manufacturer
2023-10-13	12:24:52	412	[DEBUG]	Load a row
2023-10-13	12:24:52	412	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:52	412	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:52	412	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:52	412	[DEBUG]	Executed store
2023-10-13	12:24:52	412	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:52	412	[DEBUG]	Manufacturer exists
2023-10-13	12:24:52	412	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:52	412	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:52	412	[DEBUG]	Executed store
2023-10-13	12:24:52	412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859904','171')
2023-10-13	12:24:52	412	[DEBUG]	Find the custom field ID
2023-10-13	12:24:52	412	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:24:52	412	[DEBUG]	No custom field ID found
2023-10-13	12:24:52	412	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:52	412	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:24:52	412	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859904 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:52	412	[DEBUG]	Store custom available field
2023-10-13	12:24:52	412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859904,3,'0',1)
2023-10-13	12:24:52	412	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:52	412	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:24:52	412	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859904 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:52	412	[DEBUG]	Store custom available field
2023-10-13	12:24:52	412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859904,6,'choisir la taille',3)
2023-10-13	12:24:52	412	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:52	412	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:24:52	412	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:24:52	412	[DEBUG]	Find the multi variant product entry
2023-10-13	12:24:52	412	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859904 AND `virtuemart_custom_id` = 8
2023-10-13	12:24:52	412	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:24:52	412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859904,8,1)
2023-10-13	12:24:52	412	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:52	412	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859904\":[1859904,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859904
2023-10-13	12:24:52	412	[DEBUG]	Checking category
2023-10-13	12:24:52	412	[DEBUG]	Get the existing categories for the product
2023-10-13	12:24:52	412	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859904
2023-10-13	12:24:52	412	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:24:52	412	[DEBUG]	Executed store
2023-10-13	12:24:52	412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859904','7281')
2023-10-13	12:24:52	412	[DEBUG]	Delete leftover product categories
2023-10-13	12:24:52	412	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859904 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:24:52	412	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:52	412	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859904
2023-10-13	12:24:52	413	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:52	413	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:52	413	[DEBUG]	Use field value for field taille
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:52	413	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:52	413	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:52	413	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:52	413	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:52	413	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:52	413	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:52	413	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:52	413	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:52	413	[DEBUG]	Use field value for field published
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:52	413	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field override
2023-10-13	12:24:52	413	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:52	413	[DEBUG]	Use field value for field slug
2023-10-13	12:24:52	413	[DEBUG]	Process line 413
2023-10-13	12:24:52	413	[DEBUG]	Load a row
2023-10-13	12:24:52	413	[DEBUG]	Processing item: 1000000152487
2023-10-13	12:24:52	413	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:52	413	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:52	413	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_688'
2023-10-13	12:24:52	413	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:52	413	[DEBUG]	Processing product tax
2023-10-13	12:24:52	413	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:52	413	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:52	413	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:52	413	[DEBUG]	Query for Product
2023-10-13	12:24:52	413	[DEBUG]	Executed store
2023-10-13	12:24:52	413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859904','1000000152487','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:52	413	[DEBUG]	No parent found
2023-10-13	12:24:52	413	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859904 AND customfield_value = 'stockable'
2023-10-13	12:24:52	413	[DEBUG]	Check product language entry
2023-10-13	12:24:52	413	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859905
2023-10-13	12:24:52	413	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:52	413	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152487' AND `virtuemart_product_id` != 1859905
2023-10-13	12:24:52	413	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:52	413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859905, '1000000152487')
2023-10-13	12:24:52	413	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:52	413	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-dove-blue-grey-57-62' AND `virtuemart_product_id` != 1859905
2023-10-13	12:24:52	413	[DEBUG]	Query for ProductLang
2023-10-13	12:24:52	413	[DEBUG]	Executed store
2023-10-13	12:24:52	413	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Dove Blue Grey (57-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-dove-blue-grey-57-62' WHERE `virtuemart_product_id` = '1859905'
2023-10-13	12:24:52	413	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37116_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:52	413	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:24:52	413	[DEBUG]	Process image file
2023-10-13	12:24:52	413	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:24:52	413	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:52	413	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37116_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:52	413	[DEBUG]	Full name target: bcprisme/37116_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:53	413	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:53	413	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37116_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:53	413	[DEBUG]	Query for Media
2023-10-13	12:24:53	413	[DEBUG]	Executed store
2023-10-13	12:24:53	413	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37116_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/37116_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '898473'
2023-10-13	12:24:53	413	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:53	413	[DEBUG]	Executed store
2023-10-13	12:24:53	413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859905','898473','1')
2023-10-13	12:24:53	413	[DEBUG]	Store product image relation
2023-10-13	12:24:53	413	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:53	413	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859905 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:53	413	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:53	413	[DEBUG]	Executed store
2023-10-13	12:24:53	413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859905','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:53	413	[DEBUG]	Checking manufacturer
2023-10-13	12:24:53	413	[DEBUG]	Load a row
2023-10-13	12:24:53	413	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:53	413	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:53	413	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:53	413	[DEBUG]	Executed store
2023-10-13	12:24:53	413	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:53	413	[DEBUG]	Manufacturer exists
2023-10-13	12:24:53	413	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:53	413	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:53	413	[DEBUG]	Executed store
2023-10-13	12:24:53	413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859905','171')
2023-10-13	12:24:53	413	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:53	413	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:53	413	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859905 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:53	413	[DEBUG]	Store custom available field
2023-10-13	12:24:53	413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859905,3,'',1)
2023-10-13	12:24:53	413	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:53	413	[DEBUG]	Get existing row with customfield value 57-62
2023-10-13	12:24:53	413	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859905 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:53	413	[DEBUG]	Store custom available field
2023-10-13	12:24:53	413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859905,6,'57-62',3)
2023-10-13	12:24:53	413	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:53	413	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:53	413	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859904
2023-10-13	12:24:53	413	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:53	413	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-62\"}]|clabels=0|options={\"1859904\":[1859904,8,1,\"choisir la taille\"],\"1859905\":[\"57-62\"]}|' WHERE `virtuemart_product_id` = 1859904
2023-10-13	12:24:53	413	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:53	413	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859905
2023-10-13	12:24:53	414	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:53	414	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:53	414	[DEBUG]	Use field value for field taille
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:53	414	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:53	414	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:53	414	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:53	414	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:53	414	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:53	414	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:53	414	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:53	414	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:53	414	[DEBUG]	Use field value for field published
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:53	414	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field override
2023-10-13	12:24:53	414	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:53	414	[DEBUG]	Use field value for field slug
2023-10-13	12:24:53	414	[DEBUG]	Process line 414
2023-10-13	12:24:53	414	[DEBUG]	Load a row
2023-10-13	12:24:53	414	[DEBUG]	Processing item: 1000000152494
2023-10-13	12:24:53	414	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:53	414	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:53	414	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_688'
2023-10-13	12:24:53	414	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:53	414	[DEBUG]	Processing product tax
2023-10-13	12:24:53	414	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:53	414	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:53	414	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:53	414	[DEBUG]	Query for Product
2023-10-13	12:24:53	414	[DEBUG]	Executed store
2023-10-13	12:24:53	414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859904','1000000152494','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:53	414	[DEBUG]	No parent found
2023-10-13	12:24:53	414	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859904 AND customfield_value = 'stockable'
2023-10-13	12:24:53	414	[DEBUG]	Check product language entry
2023-10-13	12:24:53	414	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859906
2023-10-13	12:24:53	414	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:53	414	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152494' AND `virtuemart_product_id` != 1859906
2023-10-13	12:24:53	414	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:53	414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859906, '1000000152494')
2023-10-13	12:24:53	414	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:53	414	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-dove-blue-grey-52-57' AND `virtuemart_product_id` != 1859906
2023-10-13	12:24:53	414	[DEBUG]	Query for ProductLang
2023-10-13	12:24:53	414	[DEBUG]	Executed store
2023-10-13	12:24:53	414	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Dove Blue Grey (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-dove-blue-grey-52-57' WHERE `virtuemart_product_id` = '1859906'
2023-10-13	12:24:53	414	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37116_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:53	414	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:24:53	414	[DEBUG]	Process image file
2023-10-13	12:24:53	414	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:24:53	414	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:53	414	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37116_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:53	414	[DEBUG]	Full name target: bcprisme/37116_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:54	414	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:54	414	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37116_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:54	414	[DEBUG]	Query for Media
2023-10-13	12:24:54	414	[DEBUG]	Executed store
2023-10-13	12:24:54	414	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37116_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/37116_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '898473'
2023-10-13	12:24:54	414	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:54	414	[DEBUG]	Executed store
2023-10-13	12:24:54	414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859906','898473','1')
2023-10-13	12:24:54	414	[DEBUG]	Store product image relation
2023-10-13	12:24:54	414	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:54	414	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859906 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:54	414	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:54	414	[DEBUG]	Executed store
2023-10-13	12:24:54	414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859906','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:54	414	[DEBUG]	Checking manufacturer
2023-10-13	12:24:54	414	[DEBUG]	Load a row
2023-10-13	12:24:54	414	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:54	414	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:54	414	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:54	414	[DEBUG]	Executed store
2023-10-13	12:24:54	414	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:54	414	[DEBUG]	Manufacturer exists
2023-10-13	12:24:54	414	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:54	414	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:54	414	[DEBUG]	Executed store
2023-10-13	12:24:54	414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859906','171')
2023-10-13	12:24:54	414	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:54	414	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:54	414	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859906 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:54	414	[DEBUG]	Store custom available field
2023-10-13	12:24:54	414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859906,3,'',1)
2023-10-13	12:24:54	414	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:54	414	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:24:54	414	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859906 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:54	414	[DEBUG]	Store custom available field
2023-10-13	12:24:54	414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859906,6,'52-57',3)
2023-10-13	12:24:54	414	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:54	414	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:54	414	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859904
2023-10-13	12:24:54	414	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:54	414	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-62\\r\\n52-57\"}]|clabels=0|options={\"1859904\":[1859904,8,1,\"choisir la taille\"],\"1859905\":[\"57-62\"],\"1859906\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859904
2023-10-13	12:24:54	414	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:54	414	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859906
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:54	415	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field taille
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field category_path
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:54	415	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:24:54	415	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:54	415	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field product_weight
2023-10-13	12:24:54	415	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:54	415	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:54	415	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field published
2023-10-13	12:24:54	415	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:54	415	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field custom_title
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field custom_param
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field override
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field public_price
2023-10-13	12:24:54	415	[DEBUG]	Use field value for field slug
2023-10-13	12:24:54	415	[DEBUG]	Process line 415
2023-10-13	12:24:54	415	[DEBUG]	Load a row
2023-10-13	12:24:54	415	[DEBUG]	Processing item: A_7995_785
2023-10-13	12:24:54	415	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:54	415	[DEBUG]	Processing product tax
2023-10-13	12:24:54	415	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:54	415	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:54	415	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:54	415	[DEBUG]	Query for Product
2023-10-13	12:24:54	415	[DEBUG]	Executed store
2023-10-13	12:24:54	415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7995_785','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:54	415	[DEBUG]	Check product language entry
2023-10-13	12:24:54	415	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859907
2023-10-13	12:24:54	415	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:54	415	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7995_785' AND `virtuemart_product_id` != 1859907
2023-10-13	12:24:54	415	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:54	415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859907, 'A_7995_785')
2023-10-13	12:24:54	415	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:54	415	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-olive' AND `virtuemart_product_id` != 1859907
2023-10-13	12:24:54	415	[DEBUG]	Query for ProductLang
2023-10-13	12:24:54	415	[DEBUG]	Executed store
2023-10-13	12:24:54	415	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Carapax 2.0 d’Alpina est adapté aux sentiers tout terrain. Avec la version révisé du modèle à succès, on est sûr de toujours faire le bon choix. Peu importe si l’on parcourt un chemin en montée ou en descente. Il s’agit d’un casque polyvalent adapté aux espaces tout-terrain et il compte parmi les modèles enduro les plus légers sur le marché. Le système Run System Ergo Flex assure un confort maximal et une sécurité optimale. Un système d’ajustement constitué d’une structure filigrane fixe le casque de manière uniforme sur 360 degrés du tour de tête. L’ajustement du casque de vélo peut se réaliser d’une manière parfaitement autonome, souple et confortable. Un avantage complémentaire en faveur du confort : le rembourrage amovible. Celui-ci est très agréable à porter - indépendamment des températures sur le terrain. Le poids léger du Carapax 2.0 est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Grâce à la Seamless Connection, il épouse parfaitement la coque supérieure. Pour garantir la meilleure sécurité sur des trails complexes, l’arrière du casque et la zone des tempes ont été rallongés vers le bas. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération permettent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière réglable en hauteur garantit une protection optimale dans la zone de la vision.<br>N° art fourn : A9725188',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Olive',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-olive' WHERE `virtuemart_product_id` = '1859907'
2023-10-13	12:24:54	415	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38647_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:54	415	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:54	415	[DEBUG]	Process image file
2023-10-13	12:24:54	415	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:54	415	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:54	415	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38647_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:54	415	[DEBUG]	Full name target: bcprisme/38647_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:55	415	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:55	415	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38647_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:55	415	[DEBUG]	Query for Media
2023-10-13	12:24:55	415	[DEBUG]	Executed store
2023-10-13	12:24:55	415	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38647_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/38647_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409911'
2023-10-13	12:24:55	415	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:55	415	[DEBUG]	Executed store
2023-10-13	12:24:55	415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859907','1409911','1')
2023-10-13	12:24:55	415	[DEBUG]	Store product image relation
2023-10-13	12:24:55	415	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:55	415	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859907 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:55	415	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:55	415	[DEBUG]	Executed store
2023-10-13	12:24:55	415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859907','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:55	415	[DEBUG]	Checking manufacturer
2023-10-13	12:24:55	415	[DEBUG]	Load a row
2023-10-13	12:24:55	415	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:55	415	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:55	415	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:55	415	[DEBUG]	Executed store
2023-10-13	12:24:55	415	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:55	415	[DEBUG]	Manufacturer exists
2023-10-13	12:24:55	415	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:55	415	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:55	415	[DEBUG]	Executed store
2023-10-13	12:24:55	415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859907','171')
2023-10-13	12:24:55	415	[DEBUG]	Find the custom field ID
2023-10-13	12:24:55	415	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:24:55	415	[DEBUG]	No custom field ID found
2023-10-13	12:24:55	415	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:55	415	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:24:55	415	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859907 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:55	415	[DEBUG]	Store custom available field
2023-10-13	12:24:55	415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859907,3,'0',1)
2023-10-13	12:24:55	415	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:55	415	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:24:55	415	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859907 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:55	415	[DEBUG]	Store custom available field
2023-10-13	12:24:55	415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859907,6,'choisir la taille',3)
2023-10-13	12:24:55	415	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:55	415	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:24:55	415	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:24:55	415	[DEBUG]	Find the multi variant product entry
2023-10-13	12:24:55	415	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859907 AND `virtuemart_custom_id` = 8
2023-10-13	12:24:55	415	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:24:55	415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859907,8,1)
2023-10-13	12:24:55	415	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:55	415	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859907\":[1859907,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859907
2023-10-13	12:24:55	415	[DEBUG]	Checking category
2023-10-13	12:24:55	415	[DEBUG]	Get the existing categories for the product
2023-10-13	12:24:55	415	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859907
2023-10-13	12:24:55	415	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:24:55	415	[DEBUG]	Executed store
2023-10-13	12:24:55	415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859907','7281')
2023-10-13	12:24:55	415	[DEBUG]	Delete leftover product categories
2023-10-13	12:24:55	415	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859907 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:24:55	415	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:55	415	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859907
2023-10-13	12:24:55	416	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:55	416	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:55	416	[DEBUG]	Use field value for field taille
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:55	416	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:55	416	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:55	416	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:55	416	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:55	416	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:55	416	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:55	416	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:55	416	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:55	416	[DEBUG]	Use field value for field published
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:55	416	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field override
2023-10-13	12:24:55	416	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:55	416	[DEBUG]	Use field value for field slug
2023-10-13	12:24:55	416	[DEBUG]	Process line 416
2023-10-13	12:24:55	416	[DEBUG]	Load a row
2023-10-13	12:24:55	416	[DEBUG]	Processing item: 1000000243949
2023-10-13	12:24:55	416	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:55	416	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:55	416	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_785'
2023-10-13	12:24:55	416	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:55	416	[DEBUG]	Processing product tax
2023-10-13	12:24:55	416	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:55	416	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:55	416	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:55	416	[DEBUG]	Query for Product
2023-10-13	12:24:55	416	[DEBUG]	Executed store
2023-10-13	12:24:55	416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859907','1000000243949','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:55	416	[DEBUG]	No parent found
2023-10-13	12:24:55	416	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859907 AND customfield_value = 'stockable'
2023-10-13	12:24:55	416	[DEBUG]	Check product language entry
2023-10-13	12:24:55	416	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859908
2023-10-13	12:24:55	416	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:55	416	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000243949' AND `virtuemart_product_id` != 1859908
2023-10-13	12:24:55	416	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:55	416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859908, '1000000243949')
2023-10-13	12:24:55	416	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:55	416	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-olive-52-57' AND `virtuemart_product_id` != 1859908
2023-10-13	12:24:55	416	[DEBUG]	Query for ProductLang
2023-10-13	12:24:55	416	[DEBUG]	Executed store
2023-10-13	12:24:55	416	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Olive (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-olive-52-57' WHERE `virtuemart_product_id` = '1859908'
2023-10-13	12:24:55	416	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38647_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:55	416	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:55	416	[DEBUG]	Process image file
2023-10-13	12:24:55	416	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:55	416	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:55	416	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38647_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:55	416	[DEBUG]	Full name target: bcprisme/38647_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:56	416	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:56	416	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38647_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:56	416	[DEBUG]	Query for Media
2023-10-13	12:24:56	416	[DEBUG]	Executed store
2023-10-13	12:24:56	416	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38647_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/38647_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409911'
2023-10-13	12:24:56	416	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:56	416	[DEBUG]	Executed store
2023-10-13	12:24:56	416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859908','1409911','1')
2023-10-13	12:24:56	416	[DEBUG]	Store product image relation
2023-10-13	12:24:56	416	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:56	416	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859908 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:56	416	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:56	416	[DEBUG]	Executed store
2023-10-13	12:24:56	416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859908','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:56	416	[DEBUG]	Checking manufacturer
2023-10-13	12:24:56	416	[DEBUG]	Load a row
2023-10-13	12:24:56	416	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:56	416	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:56	416	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:56	416	[DEBUG]	Executed store
2023-10-13	12:24:56	416	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:56	416	[DEBUG]	Manufacturer exists
2023-10-13	12:24:56	416	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:56	416	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:56	416	[DEBUG]	Executed store
2023-10-13	12:24:56	416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859908','171')
2023-10-13	12:24:56	416	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:56	416	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:56	416	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859908 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:56	416	[DEBUG]	Store custom available field
2023-10-13	12:24:56	416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859908,3,'',1)
2023-10-13	12:24:56	416	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:56	416	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:24:56	416	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859908 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:56	416	[DEBUG]	Store custom available field
2023-10-13	12:24:56	416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859908,6,'52-57',3)
2023-10-13	12:24:56	416	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:56	416	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:56	416	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859907
2023-10-13	12:24:56	416	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:56	416	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859907\":[1859907,8,1,\"choisir la taille\"],\"1859908\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859907
2023-10-13	12:24:56	416	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:56	416	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859908
2023-10-13	12:24:56	417	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:56	417	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:56	417	[DEBUG]	Use field value for field taille
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:56	417	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:56	417	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:56	417	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:56	417	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:56	417	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:56	417	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:56	417	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:56	417	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:56	417	[DEBUG]	Use field value for field published
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:56	417	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field override
2023-10-13	12:24:56	417	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:56	417	[DEBUG]	Use field value for field slug
2023-10-13	12:24:56	417	[DEBUG]	Process line 417
2023-10-13	12:24:56	417	[DEBUG]	Load a row
2023-10-13	12:24:56	417	[DEBUG]	Processing item: 1000000243956
2023-10-13	12:24:56	417	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:56	417	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:56	417	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_785'
2023-10-13	12:24:56	417	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:56	417	[DEBUG]	Processing product tax
2023-10-13	12:24:56	417	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:56	417	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:56	417	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:56	417	[DEBUG]	Query for Product
2023-10-13	12:24:56	417	[DEBUG]	Executed store
2023-10-13	12:24:56	417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859907','1000000243956','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:56	417	[DEBUG]	No parent found
2023-10-13	12:24:56	417	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859907 AND customfield_value = 'stockable'
2023-10-13	12:24:56	417	[DEBUG]	Check product language entry
2023-10-13	12:24:56	417	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859909
2023-10-13	12:24:56	417	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:56	417	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000243956' AND `virtuemart_product_id` != 1859909
2023-10-13	12:24:56	417	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:56	417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859909, '1000000243956')
2023-10-13	12:24:56	417	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:56	417	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-olive-57-62' AND `virtuemart_product_id` != 1859909
2023-10-13	12:24:56	417	[DEBUG]	Query for ProductLang
2023-10-13	12:24:56	417	[DEBUG]	Executed store
2023-10-13	12:24:56	417	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Olive (57-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-olive-57-62' WHERE `virtuemart_product_id` = '1859909'
2023-10-13	12:24:56	417	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38647_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:56	417	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:56	417	[DEBUG]	Process image file
2023-10-13	12:24:56	417	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:56	417	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:56	417	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38647_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:56	417	[DEBUG]	Full name target: bcprisme/38647_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:57	417	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:57	417	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38647_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:57	417	[DEBUG]	Query for Media
2023-10-13	12:24:57	417	[DEBUG]	Executed store
2023-10-13	12:24:57	417	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38647_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/38647_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409911'
2023-10-13	12:24:57	417	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:57	417	[DEBUG]	Executed store
2023-10-13	12:24:57	417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859909','1409911','1')
2023-10-13	12:24:57	417	[DEBUG]	Store product image relation
2023-10-13	12:24:57	417	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:57	417	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859909 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:57	417	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:57	417	[DEBUG]	Executed store
2023-10-13	12:24:57	417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859909','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:57	417	[DEBUG]	Checking manufacturer
2023-10-13	12:24:57	417	[DEBUG]	Load a row
2023-10-13	12:24:57	417	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:57	417	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:57	417	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:57	417	[DEBUG]	Executed store
2023-10-13	12:24:57	417	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:57	417	[DEBUG]	Manufacturer exists
2023-10-13	12:24:57	417	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:57	417	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:57	417	[DEBUG]	Executed store
2023-10-13	12:24:57	417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859909','171')
2023-10-13	12:24:57	417	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:57	417	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:57	417	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859909 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:57	417	[DEBUG]	Store custom available field
2023-10-13	12:24:57	417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859909,3,'',1)
2023-10-13	12:24:57	417	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:57	417	[DEBUG]	Get existing row with customfield value 57-62
2023-10-13	12:24:57	417	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859909 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:57	417	[DEBUG]	Store custom available field
2023-10-13	12:24:57	417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859909,6,'57-62',3)
2023-10-13	12:24:57	417	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:57	417	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:57	417	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859907
2023-10-13	12:24:57	417	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:57	417	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-62\"}]|clabels=0|options={\"1859907\":[1859907,8,1,\"choisir la taille\"],\"1859908\":[\"52-57\"],\"1859909\":[\"57-62\"]}|' WHERE `virtuemart_product_id` = 1859907
2023-10-13	12:24:57	417	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:57	417	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859909
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:57	418	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field taille
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field category_path
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:57	418	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:24:57	418	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:57	418	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field product_weight
2023-10-13	12:24:57	418	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:57	418	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:57	418	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field published
2023-10-13	12:24:57	418	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:57	418	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field custom_title
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field custom_param
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field override
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field public_price
2023-10-13	12:24:57	418	[DEBUG]	Use field value for field slug
2023-10-13	12:24:57	418	[DEBUG]	Process line 418
2023-10-13	12:24:57	418	[DEBUG]	Load a row
2023-10-13	12:24:57	418	[DEBUG]	Processing item: A_7995_796
2023-10-13	12:24:57	418	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:57	418	[DEBUG]	Processing product tax
2023-10-13	12:24:57	418	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:57	418	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:57	418	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:57	418	[DEBUG]	Query for Product
2023-10-13	12:24:57	418	[DEBUG]	Executed store
2023-10-13	12:24:57	418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7995_796','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:57	418	[DEBUG]	Check product language entry
2023-10-13	12:24:57	418	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859910
2023-10-13	12:24:57	418	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:57	418	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7995_796' AND `virtuemart_product_id` != 1859910
2023-10-13	12:24:57	418	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:57	418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859910, 'A_7995_796')
2023-10-13	12:24:57	418	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:57	418	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-white-gloss' AND `virtuemart_product_id` != 1859910
2023-10-13	12:24:57	418	[DEBUG]	Query for ProductLang
2023-10-13	12:24:57	418	[DEBUG]	Executed store
2023-10-13	12:24:57	418	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Carapax 2.0 d’Alpina est adapté aux sentiers tout terrain. Avec la version révisé du modèle à succès, on est sûr de toujours faire le bon choix. Peu importe si l’on parcourt un chemin en montée ou en descente. Il s’agit d’un casque polyvalent adapté aux espaces tout-terrain et il compte parmi les modèles enduro les plus légers sur le marché. Le système Run System Ergo Flex assure un confort maximal et une sécurité optimale. Un système d’ajustement constitué d’une structure filigrane fixe le casque de manière uniforme sur 360 degrés du tour de tête. L’ajustement du casque de vélo peut se réaliser d’une manière parfaitement autonome, souple et confortable. Un avantage complémentaire en faveur du confort : le rembourrage amovible. Celui-ci est très agréable à porter - indépendamment des températures sur le terrain. Le poids léger du Carapax 2.0 est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Grâce à la Seamless Connection, il épouse parfaitement la coque supérieure. Pour garantir la meilleure sécurité sur des trails complexes, l’arrière du casque et la zone des tempes ont été rallongés vers le bas. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération permettent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière réglable en hauteur garantit une protection optimale dans la zone de la vision.<br>N° art fourn : A9725188',`product_name`='Alpina Casque VTT CARAPAX 2,0  / WHITE-GLOSS',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-white-gloss' WHERE `virtuemart_product_id` = '1859910'
2023-10-13	12:24:57	418	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38700_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:57	418	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:57	418	[DEBUG]	Process image file
2023-10-13	12:24:57	418	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:57	418	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:57	418	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38700_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:57	418	[DEBUG]	Full name target: bcprisme/38700_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:58	418	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:58	418	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38700_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:58	418	[DEBUG]	Query for Media
2023-10-13	12:24:58	418	[DEBUG]	Executed store
2023-10-13	12:24:58	418	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38700_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/38700_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1420942'
2023-10-13	12:24:58	418	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:58	418	[DEBUG]	Executed store
2023-10-13	12:24:58	418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859910','1420942','1')
2023-10-13	12:24:58	418	[DEBUG]	Store product image relation
2023-10-13	12:24:58	418	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:58	418	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859910 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:58	418	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:58	418	[DEBUG]	Executed store
2023-10-13	12:24:58	418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859910','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:58	418	[DEBUG]	Checking manufacturer
2023-10-13	12:24:58	418	[DEBUG]	Load a row
2023-10-13	12:24:58	418	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:58	418	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:58	418	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:58	418	[DEBUG]	Executed store
2023-10-13	12:24:58	418	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:58	418	[DEBUG]	Manufacturer exists
2023-10-13	12:24:58	418	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:58	418	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:58	418	[DEBUG]	Executed store
2023-10-13	12:24:58	418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859910','171')
2023-10-13	12:24:58	418	[DEBUG]	Find the custom field ID
2023-10-13	12:24:58	418	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:24:58	418	[DEBUG]	No custom field ID found
2023-10-13	12:24:58	418	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:58	418	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:24:58	418	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859910 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:58	418	[DEBUG]	Store custom available field
2023-10-13	12:24:58	418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859910,3,'0',1)
2023-10-13	12:24:58	418	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:58	418	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:24:58	418	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859910 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:58	418	[DEBUG]	Store custom available field
2023-10-13	12:24:58	418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859910,6,'choisir la taille',3)
2023-10-13	12:24:58	418	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:58	418	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:24:58	418	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:24:58	418	[DEBUG]	Find the multi variant product entry
2023-10-13	12:24:58	418	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859910 AND `virtuemart_custom_id` = 8
2023-10-13	12:24:58	418	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:24:58	418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859910,8,1)
2023-10-13	12:24:58	418	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:58	418	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859910\":[1859910,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859910
2023-10-13	12:24:58	418	[DEBUG]	Checking category
2023-10-13	12:24:58	418	[DEBUG]	Get the existing categories for the product
2023-10-13	12:24:58	418	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859910
2023-10-13	12:24:58	418	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:24:58	418	[DEBUG]	Executed store
2023-10-13	12:24:58	418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859910','7281')
2023-10-13	12:24:58	418	[DEBUG]	Delete leftover product categories
2023-10-13	12:24:58	418	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859910 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:24:58	418	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:58	418	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859910
2023-10-13	12:24:58	419	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:58	419	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:24:58	419	[DEBUG]	Use field value for field taille
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:24:58	419	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field category_path
2023-10-13	12:24:58	419	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:58	419	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:58	419	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:58	419	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:24:58	419	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field product_weight
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:58	419	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:58	419	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:58	419	[DEBUG]	Use field value for field published
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field custom_title
2023-10-13	12:24:58	419	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field custom_param
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field override
2023-10-13	12:24:58	419	[DEBUG]	Use default value for field public_price
2023-10-13	12:24:58	419	[DEBUG]	Use field value for field slug
2023-10-13	12:24:58	419	[DEBUG]	Process line 419
2023-10-13	12:24:58	419	[DEBUG]	Load a row
2023-10-13	12:24:58	419	[DEBUG]	Processing item: 4003692315304
2023-10-13	12:24:58	419	[DEBUG]	Looking for parent SKU
2023-10-13	12:24:58	419	[DEBUG]	Checking product parent SKU
2023-10-13	12:24:58	419	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_796'
2023-10-13	12:24:58	419	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:58	419	[DEBUG]	Processing product tax
2023-10-13	12:24:58	419	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:58	419	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:58	419	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:58	419	[DEBUG]	Query for Product
2023-10-13	12:24:58	419	[DEBUG]	Executed store
2023-10-13	12:24:58	419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859910','4003692315304','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:58	419	[DEBUG]	No parent found
2023-10-13	12:24:58	419	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859910 AND customfield_value = 'stockable'
2023-10-13	12:24:58	419	[DEBUG]	Check product language entry
2023-10-13	12:24:58	419	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859911
2023-10-13	12:24:58	419	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:58	419	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003692315304' AND `virtuemart_product_id` != 1859911
2023-10-13	12:24:58	419	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:58	419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859911, '4003692315304')
2023-10-13	12:24:58	419	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:58	419	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-white-gloss-52-57' AND `virtuemart_product_id` != 1859911
2023-10-13	12:24:58	419	[DEBUG]	Query for ProductLang
2023-10-13	12:24:58	419	[DEBUG]	Executed store
2023-10-13	12:24:58	419	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / WHITE-GLOSS (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-white-gloss-52-57' WHERE `virtuemart_product_id` = '1859911'
2023-10-13	12:24:58	419	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38700_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:58	419	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:58	419	[DEBUG]	Process image file
2023-10-13	12:24:58	419	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:58	419	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:58	419	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38700_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:58	419	[DEBUG]	Full name target: bcprisme/38700_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:59	419	[DEBUG]	Checking if the file_url exists
2023-10-13	12:24:59	419	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38700_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:24:59	419	[DEBUG]	Query for Media
2023-10-13	12:24:59	419	[DEBUG]	Executed store
2023-10-13	12:24:59	419	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38700_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/38700_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1420942'
2023-10-13	12:24:59	419	[DEBUG]	Query for ProductMedia
2023-10-13	12:24:59	419	[DEBUG]	Executed store
2023-10-13	12:24:59	419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859911','1420942','1')
2023-10-13	12:24:59	419	[DEBUG]	Store product image relation
2023-10-13	12:24:59	419	[DEBUG]	Finding a product_price_id
2023-10-13	12:24:59	419	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859911 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:24:59	419	[DEBUG]	Query for ProductPrice
2023-10-13	12:24:59	419	[DEBUG]	Executed store
2023-10-13	12:24:59	419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859911','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:24:59	419	[DEBUG]	Checking manufacturer
2023-10-13	12:24:59	419	[DEBUG]	Load a row
2023-10-13	12:24:59	419	[DEBUG]	Manufacturer already exists
2023-10-13	12:24:59	419	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:59	419	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:24:59	419	[DEBUG]	Executed store
2023-10-13	12:24:59	419	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:24:59	419	[DEBUG]	Manufacturer exists
2023-10-13	12:24:59	419	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:24:59	419	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:24:59	419	[DEBUG]	Executed store
2023-10-13	12:24:59	419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859911','171')
2023-10-13	12:24:59	419	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:24:59	419	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:24:59	419	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859911 AND `virtuemart_custom_id` = 3
2023-10-13	12:24:59	419	[DEBUG]	Store custom available field
2023-10-13	12:24:59	419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859911,3,'',1)
2023-10-13	12:24:59	419	[DEBUG]	Processing custom available field: taille
2023-10-13	12:24:59	419	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:24:59	419	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859911 AND `virtuemart_custom_id` = 6
2023-10-13	12:24:59	419	[DEBUG]	Store custom available field
2023-10-13	12:24:59	419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859911,6,'52-57',3)
2023-10-13	12:24:59	419	[DEBUG]	Process multi-variant fields
2023-10-13	12:24:59	419	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:24:59	419	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859910
2023-10-13	12:24:59	419	[DEBUG]	Store the updated customfield_params
2023-10-13	12:24:59	419	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859910\":[1859910,8,1,\"choisir la taille\"],\"1859911\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859910
2023-10-13	12:24:59	419	[DEBUG]	Update has fields after all processing
2023-10-13	12:24:59	419	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859911
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field product_sku
2023-10-13	12:24:59	420	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field taille
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field product_name
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field category_path
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field product_price
2023-10-13	12:24:59	420	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field product_tax
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field file_url
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:24:59	420	[DEBUG]	Use default value for field product_desc
2023-10-13	12:24:59	420	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field product_availability
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field product_weight
2023-10-13	12:24:59	420	[DEBUG]	Use default value for field product_unit
2023-10-13	12:24:59	420	[DEBUG]	Use default value for field related_products
2023-10-13	12:24:59	420	[DEBUG]	Use default value for field product_special
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field published
2023-10-13	12:24:59	420	[DEBUG]	Use default value for field metadesc
2023-10-13	12:24:59	420	[DEBUG]	Use default value for field metakey
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field custom_title
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field custom_value
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field custom_param
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field override
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field public_price
2023-10-13	12:24:59	420	[DEBUG]	Use field value for field slug
2023-10-13	12:24:59	420	[DEBUG]	Process line 420
2023-10-13	12:24:59	420	[DEBUG]	Load a row
2023-10-13	12:24:59	420	[DEBUG]	Processing item: A_7995_799
2023-10-13	12:24:59	420	[DEBUG]	Product tax: 7.7
2023-10-13	12:24:59	420	[DEBUG]	Processing product tax
2023-10-13	12:24:59	420	[DEBUG]	Check if calculation rule exists
2023-10-13	12:24:59	420	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:24:59	420	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:24:59	420	[DEBUG]	Query for Product
2023-10-13	12:24:59	420	[DEBUG]	Executed store
2023-10-13	12:24:59	420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7995_799','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:24:59	420	[DEBUG]	Check product language entry
2023-10-13	12:24:59	420	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859912
2023-10-13	12:24:59	420	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:59	420	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7995_799' AND `virtuemart_product_id` != 1859912
2023-10-13	12:24:59	420	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:24:59	420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859912, 'A_7995_799')
2023-10-13	12:24:59	420	[DEBUG]	Check if the product slug exists
2023-10-13	12:24:59	420	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-michael-cina-black-matt' AND `virtuemart_product_id` != 1859912
2023-10-13	12:24:59	420	[DEBUG]	Query for ProductLang
2023-10-13	12:24:59	420	[DEBUG]	Executed store
2023-10-13	12:24:59	420	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Carapax 2.0 d’Alpina est adapté aux sentiers tout terrain. Avec la version révisé du modèle à succès, on est sûr de toujours faire le bon choix. Peu importe si l’on parcourt un chemin en montée ou en descente. Il s’agit d’un casque polyvalent adapté aux espaces tout-terrain et il compte parmi les modèles enduro les plus légers sur le marché. Le système Run System Ergo Flex assure un confort maximal et une sécurité optimale. Un système d’ajustement constitué d’une structure filigrane fixe le casque de manière uniforme sur 360 degrés du tour de tête. L’ajustement du casque de vélo peut se réaliser d’une manière parfaitement autonome, souple et confortable. Un avantage complémentaire en faveur du confort : le rembourrage amovible. Celui-ci est très agréable à porter - indépendamment des températures sur le terrain. Le poids léger du Carapax 2.0 est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Grâce à la Seamless Connection, il épouse parfaitement la coque supérieure. Pour garantir la meilleure sécurité sur des trails complexes, l’arrière du casque et la zone des tempes ont été rallongés vers le bas. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération permettent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière réglable en hauteur garantit une protection optimale dans la zone de la vision.<br>N° art fourn : A9725188',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Michael Cina Black Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-michael-cina-black-matt' WHERE `virtuemart_product_id` = '1859912'
2023-10-13	12:24:59	420	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38704_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:59	420	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:59	420	[DEBUG]	Process image file
2023-10-13	12:24:59	420	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:24:59	420	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:24:59	420	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38704_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:24:59	420	[DEBUG]	Full name target: bcprisme/38704_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:25:00	420	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:00	420	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38704_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:25:00	420	[DEBUG]	Query for Media
2023-10-13	12:25:00	420	[DEBUG]	Executed store
2023-10-13	12:25:00	420	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38704_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/38704_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1420944'
2023-10-13	12:25:00	420	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:00	420	[DEBUG]	Executed store
2023-10-13	12:25:00	420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859912','1420944','1')
2023-10-13	12:25:00	420	[DEBUG]	Store product image relation
2023-10-13	12:25:00	420	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:00	420	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859912 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:00	420	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:00	420	[DEBUG]	Executed store
2023-10-13	12:25:00	420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859912','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:00	420	[DEBUG]	Checking manufacturer
2023-10-13	12:25:00	420	[DEBUG]	Load a row
2023-10-13	12:25:00	420	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:00	420	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:00	420	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:00	420	[DEBUG]	Executed store
2023-10-13	12:25:00	420	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:00	420	[DEBUG]	Manufacturer exists
2023-10-13	12:25:00	420	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:25:00	420	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:00	420	[DEBUG]	Executed store
2023-10-13	12:25:00	420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859912','171')
2023-10-13	12:25:00	420	[DEBUG]	Find the custom field ID
2023-10-13	12:25:00	420	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:00	420	[DEBUG]	No custom field ID found
2023-10-13	12:25:00	420	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:00	420	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:25:00	420	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859912 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:00	420	[DEBUG]	Store custom available field
2023-10-13	12:25:00	420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859912,3,'0',1)
2023-10-13	12:25:00	420	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:00	420	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:00	420	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859912 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:00	420	[DEBUG]	Store custom available field
2023-10-13	12:25:00	420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859912,6,'choisir la taille',3)
2023-10-13	12:25:00	420	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:00	420	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:00	420	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:00	420	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:00	420	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859912 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:00	420	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:00	420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859912,8,1)
2023-10-13	12:25:00	420	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:00	420	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859912\":[1859912,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859912
2023-10-13	12:25:00	420	[DEBUG]	Checking category
2023-10-13	12:25:00	420	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:00	420	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859912
2023-10-13	12:25:00	420	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:00	420	[DEBUG]	Executed store
2023-10-13	12:25:00	420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859912','7281')
2023-10-13	12:25:00	420	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:00	420	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859912 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:00	420	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:00	420	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859912
2023-10-13	12:25:00	421	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:00	421	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:00	421	[DEBUG]	Use field value for field taille
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:00	421	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:00	421	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:00	421	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:00	421	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:00	421	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:00	421	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:00	421	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:00	421	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:00	421	[DEBUG]	Use field value for field published
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:00	421	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field override
2023-10-13	12:25:00	421	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:00	421	[DEBUG]	Use field value for field slug
2023-10-13	12:25:00	421	[DEBUG]	Process line 421
2023-10-13	12:25:00	421	[DEBUG]	Load a row
2023-10-13	12:25:00	421	[DEBUG]	Processing item: 1000000553475
2023-10-13	12:25:00	421	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:00	421	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:00	421	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_799'
2023-10-13	12:25:00	421	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:00	421	[DEBUG]	Processing product tax
2023-10-13	12:25:00	421	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:00	421	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:00	421	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:00	421	[DEBUG]	Query for Product
2023-10-13	12:25:00	421	[DEBUG]	Executed store
2023-10-13	12:25:00	421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859912','1000000553475','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:00	421	[DEBUG]	No parent found
2023-10-13	12:25:00	421	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859912 AND customfield_value = 'stockable'
2023-10-13	12:25:00	421	[DEBUG]	Check product language entry
2023-10-13	12:25:00	421	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859913
2023-10-13	12:25:00	421	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:00	421	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000553475' AND `virtuemart_product_id` != 1859913
2023-10-13	12:25:00	421	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:00	421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859913, '1000000553475')
2023-10-13	12:25:00	421	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:00	421	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-michael-cina-black-matt-52-57' AND `virtuemart_product_id` != 1859913
2023-10-13	12:25:00	421	[DEBUG]	Query for ProductLang
2023-10-13	12:25:00	421	[DEBUG]	Executed store
2023-10-13	12:25:00	421	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Michael Cina Black Matt (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-michael-cina-black-matt-52-57' WHERE `virtuemart_product_id` = '1859913'
2023-10-13	12:25:00	421	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38704_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:25:00	421	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:00	421	[DEBUG]	Process image file
2023-10-13	12:25:00	421	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:00	421	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:00	421	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38704_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:25:00	421	[DEBUG]	Full name target: bcprisme/38704_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:25:01	421	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:01	421	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38704_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:25:01	421	[DEBUG]	Query for Media
2023-10-13	12:25:01	421	[DEBUG]	Executed store
2023-10-13	12:25:01	421	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38704_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/38704_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1420944'
2023-10-13	12:25:01	421	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:01	421	[DEBUG]	Executed store
2023-10-13	12:25:01	421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859913','1420944','1')
2023-10-13	12:25:01	421	[DEBUG]	Store product image relation
2023-10-13	12:25:01	421	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:01	421	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859913 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:01	421	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:01	421	[DEBUG]	Executed store
2023-10-13	12:25:01	421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859913','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:01	421	[DEBUG]	Checking manufacturer
2023-10-13	12:25:01	421	[DEBUG]	Load a row
2023-10-13	12:25:01	421	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:01	421	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:01	421	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:01	421	[DEBUG]	Executed store
2023-10-13	12:25:01	421	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:01	421	[DEBUG]	Manufacturer exists
2023-10-13	12:25:01	421	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:25:01	421	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:01	421	[DEBUG]	Executed store
2023-10-13	12:25:01	421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859913','171')
2023-10-13	12:25:01	421	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:01	421	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:01	421	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859913 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:01	421	[DEBUG]	Store custom available field
2023-10-13	12:25:01	421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859913,3,'',1)
2023-10-13	12:25:01	421	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:01	421	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:25:01	421	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859913 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:01	421	[DEBUG]	Store custom available field
2023-10-13	12:25:01	421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859913,6,'52-57',3)
2023-10-13	12:25:01	421	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:01	421	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:01	421	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859912
2023-10-13	12:25:01	421	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:01	421	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859912\":[1859912,8,1,\"choisir la taille\"],\"1859913\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859912
2023-10-13	12:25:01	421	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:01	421	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859913
2023-10-13	12:25:01	422	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:01	422	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:01	422	[DEBUG]	Use field value for field taille
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:01	422	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:01	422	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:01	422	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:01	422	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:01	422	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:01	422	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:01	422	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:01	422	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:01	422	[DEBUG]	Use field value for field published
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:01	422	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field override
2023-10-13	12:25:01	422	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:01	422	[DEBUG]	Use field value for field slug
2023-10-13	12:25:01	422	[DEBUG]	Process line 422
2023-10-13	12:25:01	422	[DEBUG]	Load a row
2023-10-13	12:25:01	422	[DEBUG]	Processing item: 1000000553482
2023-10-13	12:25:01	422	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:01	422	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:01	422	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7995_799'
2023-10-13	12:25:01	422	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:01	422	[DEBUG]	Processing product tax
2023-10-13	12:25:01	422	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:01	422	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:01	422	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:01	422	[DEBUG]	Query for Product
2023-10-13	12:25:01	422	[DEBUG]	Executed store
2023-10-13	12:25:01	422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859912','1000000553482','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:01	422	[DEBUG]	No parent found
2023-10-13	12:25:01	422	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859912 AND customfield_value = 'stockable'
2023-10-13	12:25:01	422	[DEBUG]	Check product language entry
2023-10-13	12:25:01	422	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859914
2023-10-13	12:25:01	422	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:01	422	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000553482' AND `virtuemart_product_id` != 1859914
2023-10-13	12:25:01	422	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:01	422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859914, '1000000553482')
2023-10-13	12:25:01	422	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:01	422	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-2-0-michael-cina-black-matt-57-62' AND `virtuemart_product_id` != 1859914
2023-10-13	12:25:01	422	[DEBUG]	Query for ProductLang
2023-10-13	12:25:01	422	[DEBUG]	Executed store
2023-10-13	12:25:01	422	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX 2,0  / Michael Cina Black Matt (57-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-2-0-michael-cina-black-matt-57-62' WHERE `virtuemart_product_id` = '1859914'
2023-10-13	12:25:01	422	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38704_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:25:01	422	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:01	422	[DEBUG]	Process image file
2023-10-13	12:25:01	422	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:01	422	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:01	422	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38704_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:25:01	422	[DEBUG]	Full name target: bcprisme/38704_casque_vtt_carapax_2_0_.jpg
2023-10-13	12:25:02	422	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:02	422	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38704_casque_vtt_carapax_2_0_.jpg'
2023-10-13	12:25:02	422	[DEBUG]	Query for Media
2023-10-13	12:25:02	422	[DEBUG]	Executed store
2023-10-13	12:25:02	422	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38704_casque_vtt_carapax_2_0_.jpg',`file_url_thumb`='bcprisme/38704_casque_vtt_carapax_2_0_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1420944'
2023-10-13	12:25:02	422	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:02	422	[DEBUG]	Executed store
2023-10-13	12:25:02	422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859914','1420944','1')
2023-10-13	12:25:02	422	[DEBUG]	Store product image relation
2023-10-13	12:25:02	422	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:02	422	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859914 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:02	422	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:02	422	[DEBUG]	Executed store
2023-10-13	12:25:02	422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859914','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:02	422	[DEBUG]	Checking manufacturer
2023-10-13	12:25:02	422	[DEBUG]	Load a row
2023-10-13	12:25:02	422	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:02	422	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:02	422	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:02	422	[DEBUG]	Executed store
2023-10-13	12:25:02	422	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:02	422	[DEBUG]	Manufacturer exists
2023-10-13	12:25:02	422	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:25:02	422	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:02	422	[DEBUG]	Executed store
2023-10-13	12:25:02	422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859914','171')
2023-10-13	12:25:02	422	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:02	422	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:02	422	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859914 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:02	422	[DEBUG]	Store custom available field
2023-10-13	12:25:02	422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859914,3,'',1)
2023-10-13	12:25:02	422	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:02	422	[DEBUG]	Get existing row with customfield value 57-62
2023-10-13	12:25:02	422	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859914 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:02	422	[DEBUG]	Store custom available field
2023-10-13	12:25:02	422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859914,6,'57-62',3)
2023-10-13	12:25:02	422	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:02	422	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:02	422	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859912
2023-10-13	12:25:02	422	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:02	422	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-62\"}]|clabels=0|options={\"1859912\":[1859912,8,1,\"choisir la taille\"],\"1859913\":[\"52-57\"],\"1859914\":[\"57-62\"]}|' WHERE `virtuemart_product_id` = 1859912
2023-10-13	12:25:02	422	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:02	422	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859914
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:02	423	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field taille
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:02	423	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:02	423	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:02	423	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:02	423	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:02	423	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:02	423	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field published
2023-10-13	12:25:02	423	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:02	423	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field override
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:02	423	[DEBUG]	Use field value for field slug
2023-10-13	12:25:02	423	[DEBUG]	Process line 423
2023-10-13	12:25:02	423	[DEBUG]	Load a row
2023-10-13	12:25:02	423	[DEBUG]	Processing item: A_8021_599
2023-10-13	12:25:02	423	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:02	423	[DEBUG]	Processing product tax
2023-10-13	12:25:02	423	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:02	423	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:02	423	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:02	423	[DEBUG]	Query for Product
2023-10-13	12:25:02	423	[DEBUG]	Executed store
2023-10-13	12:25:02	423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8021_599','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:02	423	[DEBUG]	Check product language entry
2023-10-13	12:25:02	423	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859915
2023-10-13	12:25:02	423	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:02	423	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8021_599' AND `virtuemart_product_id` != 1859915
2023-10-13	12:25:02	423	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:02	423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859915, 'A_8021_599')
2023-10-13	12:25:02	423	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:02	423	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-rogue-green-orange-matt' AND `virtuemart_product_id` != 1859915
2023-10-13	12:25:02	423	[DEBUG]	Query for ProductLang
2023-10-13	12:25:02	423	[DEBUG]	Executed store
2023-10-13	12:25:02	423	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Confortable, robuste et bien ventilé, le Bluegrass Golden Eyes rassemble les dernières technologies dans un tout nouveau design. Ce casque est destiné à la pratique de l\'enduro, du trail et du all-mountain! Grâce à l\'imbrication de deux coques et à la surface de protection étendue au niveau de la nuque, il a été possible de réduire le poids tout en augmentant la sécurité. La construction intégrant une protection contre les chocs refroidit ta tête de manière fiable même sur les parcours les plus difficiles. Toutes ces caractéristiques font du Bluegrass Golden Eyes le compagnon idéal pour tes sorties VTT.<br><br>Autres caractéristiques:<br><br>Coque In-Mould polycarbonate<br>Système d\'ajustement Safe-T Advanced<br>Visière flexible 3 positions<br>Mousses confortables lavables à la main<br>N° art fourn : 710.007',`product_name`='Bluegrass Casque ROGUE / Green/Orange/Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-rogue-green-orange-matt' WHERE `virtuemart_product_id` = '1859915'
2023-10-13	12:25:02	423	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36505_casque_bluegrass_rogue.jpg
2023-10-13	12:25:02	423	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:02	423	[DEBUG]	Process image file
2023-10-13	12:25:02	423	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:02	423	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:02	423	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36505_casque_bluegrass_rogue.jpg
2023-10-13	12:25:02	423	[DEBUG]	Full name target: bcprisme/36505_casque_bluegrass_rogue.jpg
2023-10-13	12:25:03	423	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:03	423	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36505_casque_bluegrass_rogue.jpg'
2023-10-13	12:25:03	423	[DEBUG]	Query for Media
2023-10-13	12:25:03	423	[DEBUG]	Executed store
2023-10-13	12:25:03	423	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36505_casque_bluegrass_rogue.jpg',`file_url_thumb`='bcprisme/36505_casque_bluegrass_rogue.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '625002'
2023-10-13	12:25:03	423	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:03	423	[DEBUG]	Executed store
2023-10-13	12:25:03	423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859915','625002','1')
2023-10-13	12:25:03	423	[DEBUG]	Store product image relation
2023-10-13	12:25:03	423	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:03	423	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859915 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:03	423	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:03	423	[DEBUG]	Executed store
2023-10-13	12:25:03	423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859915','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:03	423	[DEBUG]	Checking manufacturer
2023-10-13	12:25:03	423	[DEBUG]	Load a row
2023-10-13	12:25:03	423	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:03	423	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:03	423	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:03	423	[DEBUG]	Executed store
2023-10-13	12:25:03	423	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:03	423	[DEBUG]	Manufacturer exists
2023-10-13	12:25:03	423	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:25:03	423	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:03	423	[DEBUG]	Executed store
2023-10-13	12:25:03	423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859915','50')
2023-10-13	12:25:03	423	[DEBUG]	Find the custom field ID
2023-10-13	12:25:03	423	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:03	423	[DEBUG]	No custom field ID found
2023-10-13	12:25:03	423	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:03	423	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:25:03	423	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859915 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:03	423	[DEBUG]	Store custom available field
2023-10-13	12:25:03	423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859915,3,'9.8725',1)
2023-10-13	12:25:03	423	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:03	423	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:03	423	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859915 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:03	423	[DEBUG]	Store custom available field
2023-10-13	12:25:03	423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859915,6,'choisir la taille',3)
2023-10-13	12:25:03	423	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:03	423	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:03	423	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:03	423	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:03	423	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859915 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:03	423	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:03	423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859915,8,1)
2023-10-13	12:25:03	423	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:03	423	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859915\":[1859915,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859915
2023-10-13	12:25:03	423	[DEBUG]	Checking category
2023-10-13	12:25:03	423	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:03	423	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859915
2023-10-13	12:25:03	423	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:03	423	[DEBUG]	Executed store
2023-10-13	12:25:03	423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859915','7281')
2023-10-13	12:25:03	423	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:03	423	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859915 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:03	423	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:03	423	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859915
2023-10-13	12:25:03	424	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:03	424	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:03	424	[DEBUG]	Use field value for field taille
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:03	424	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:03	424	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:03	424	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:03	424	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:03	424	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:03	424	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:03	424	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:03	424	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:03	424	[DEBUG]	Use field value for field published
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:03	424	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field override
2023-10-13	12:25:03	424	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:03	424	[DEBUG]	Use field value for field slug
2023-10-13	12:25:03	424	[DEBUG]	Process line 424
2023-10-13	12:25:03	424	[DEBUG]	Load a row
2023-10-13	12:25:03	424	[DEBUG]	Processing item: 010801519027107110E200135
2023-10-13	12:25:03	424	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:03	424	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:03	424	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8021_599'
2023-10-13	12:25:03	424	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:03	424	[DEBUG]	Processing product tax
2023-10-13	12:25:03	424	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:03	424	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:03	424	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:03	424	[DEBUG]	Query for Product
2023-10-13	12:25:03	424	[DEBUG]	Executed store
2023-10-13	12:25:03	424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859915','010801519027107110E200135','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:03	424	[DEBUG]	No parent found
2023-10-13	12:25:03	424	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859915 AND customfield_value = 'stockable'
2023-10-13	12:25:03	424	[DEBUG]	Check product language entry
2023-10-13	12:25:03	424	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859916
2023-10-13	12:25:03	424	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:03	424	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '010801519027107110E200135' AND `virtuemart_product_id` != 1859916
2023-10-13	12:25:03	424	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:03	424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859916, '010801519027107110E200135')
2023-10-13	12:25:03	424	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:03	424	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-rogue-green-orange-matt-58-61cm' AND `virtuemart_product_id` != 1859916
2023-10-13	12:25:03	424	[DEBUG]	Query for ProductLang
2023-10-13	12:25:03	424	[DEBUG]	Executed store
2023-10-13	12:25:03	424	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bluegrass Casque ROGUE / Green/Orange/Matt  (58-61cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-rogue-green-orange-matt-58-61cm' WHERE `virtuemart_product_id` = '1859916'
2023-10-13	12:25:03	424	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36505_casque_bluegrass_rogue.jpg
2023-10-13	12:25:03	424	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:03	424	[DEBUG]	Process image file
2023-10-13	12:25:03	424	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:03	424	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:03	424	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36505_casque_bluegrass_rogue.jpg
2023-10-13	12:25:03	424	[DEBUG]	Full name target: bcprisme/36505_casque_bluegrass_rogue.jpg
2023-10-13	12:25:04	424	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:04	424	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36505_casque_bluegrass_rogue.jpg'
2023-10-13	12:25:04	424	[DEBUG]	Query for Media
2023-10-13	12:25:04	424	[DEBUG]	Executed store
2023-10-13	12:25:04	424	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36505_casque_bluegrass_rogue.jpg',`file_url_thumb`='bcprisme/36505_casque_bluegrass_rogue.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '625002'
2023-10-13	12:25:04	424	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:04	424	[DEBUG]	Executed store
2023-10-13	12:25:04	424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859916','625002','1')
2023-10-13	12:25:04	424	[DEBUG]	Store product image relation
2023-10-13	12:25:04	424	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:04	424	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859916 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:04	424	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:04	424	[DEBUG]	Executed store
2023-10-13	12:25:04	424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859916','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:04	424	[DEBUG]	Checking manufacturer
2023-10-13	12:25:04	424	[DEBUG]	Load a row
2023-10-13	12:25:04	424	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:04	424	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:04	424	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:04	424	[DEBUG]	Executed store
2023-10-13	12:25:04	424	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:04	424	[DEBUG]	Manufacturer exists
2023-10-13	12:25:04	424	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:25:04	424	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:04	424	[DEBUG]	Executed store
2023-10-13	12:25:04	424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859916','50')
2023-10-13	12:25:04	424	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:04	424	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:04	424	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859916 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:04	424	[DEBUG]	Store custom available field
2023-10-13	12:25:04	424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859916,3,'',1)
2023-10-13	12:25:04	424	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:04	424	[DEBUG]	Get existing row with customfield value 58-61cm
2023-10-13	12:25:04	424	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859916 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:04	424	[DEBUG]	Store custom available field
2023-10-13	12:25:04	424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859916,6,'58-61cm',3)
2023-10-13	12:25:04	424	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:04	424	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:04	424	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859915
2023-10-13	12:25:04	424	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:04	424	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n58-61cm\"}]|clabels=0|options={\"1859915\":[1859915,8,1,\"choisir la taille\"],\"1859916\":[\"58-61cm\"]}|' WHERE `virtuemart_product_id` = 1859915
2023-10-13	12:25:04	424	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:04	424	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859916
2023-10-13	12:25:04	425	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:04	425	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:04	425	[DEBUG]	Use field value for field taille
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:04	425	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:04	425	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:04	425	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:04	425	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:04	425	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:04	425	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:04	425	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:04	425	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:04	425	[DEBUG]	Use field value for field published
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:04	425	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field override
2023-10-13	12:25:04	425	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:04	425	[DEBUG]	Use field value for field slug
2023-10-13	12:25:04	425	[DEBUG]	Process line 425
2023-10-13	12:25:04	425	[DEBUG]	Load a row
2023-10-13	12:25:04	425	[DEBUG]	Processing item: 8015190271064
2023-10-13	12:25:04	425	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:04	425	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:04	425	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8021_599'
2023-10-13	12:25:04	425	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:04	425	[DEBUG]	Processing product tax
2023-10-13	12:25:04	425	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:04	425	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:04	425	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:04	425	[DEBUG]	Query for Product
2023-10-13	12:25:04	425	[DEBUG]	Executed store
2023-10-13	12:25:04	425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859915','8015190271064','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:04	425	[DEBUG]	No parent found
2023-10-13	12:25:04	425	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859915 AND customfield_value = 'stockable'
2023-10-13	12:25:04	425	[DEBUG]	Check product language entry
2023-10-13	12:25:04	425	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859917
2023-10-13	12:25:04	425	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:04	425	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8015190271064' AND `virtuemart_product_id` != 1859917
2023-10-13	12:25:04	425	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:04	425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859917, '8015190271064')
2023-10-13	12:25:04	425	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:04	425	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-rogue-green-orange-matt-56-58cm' AND `virtuemart_product_id` != 1859917
2023-10-13	12:25:04	425	[DEBUG]	Query for ProductLang
2023-10-13	12:25:04	425	[DEBUG]	Executed store
2023-10-13	12:25:04	425	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bluegrass Casque ROGUE / Green/Orange/Matt  (56-58cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-rogue-green-orange-matt-56-58cm' WHERE `virtuemart_product_id` = '1859917'
2023-10-13	12:25:04	425	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36505_casque_bluegrass_rogue.jpg
2023-10-13	12:25:04	425	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:04	425	[DEBUG]	Process image file
2023-10-13	12:25:04	425	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:04	425	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:04	425	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36505_casque_bluegrass_rogue.jpg
2023-10-13	12:25:04	425	[DEBUG]	Full name target: bcprisme/36505_casque_bluegrass_rogue.jpg
2023-10-13	12:25:05	425	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:05	425	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36505_casque_bluegrass_rogue.jpg'
2023-10-13	12:25:05	425	[DEBUG]	Query for Media
2023-10-13	12:25:05	425	[DEBUG]	Executed store
2023-10-13	12:25:05	425	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36505_casque_bluegrass_rogue.jpg',`file_url_thumb`='bcprisme/36505_casque_bluegrass_rogue.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '625002'
2023-10-13	12:25:05	425	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:05	425	[DEBUG]	Executed store
2023-10-13	12:25:05	425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859917','625002','1')
2023-10-13	12:25:05	425	[DEBUG]	Store product image relation
2023-10-13	12:25:05	425	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:05	425	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859917 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:05	425	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:05	425	[DEBUG]	Executed store
2023-10-13	12:25:05	425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859917','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:05	425	[DEBUG]	Checking manufacturer
2023-10-13	12:25:05	425	[DEBUG]	Load a row
2023-10-13	12:25:05	425	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:05	425	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:05	425	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:05	425	[DEBUG]	Executed store
2023-10-13	12:25:05	425	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:05	425	[DEBUG]	Manufacturer exists
2023-10-13	12:25:05	425	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:25:05	425	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:05	425	[DEBUG]	Executed store
2023-10-13	12:25:05	425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859917','50')
2023-10-13	12:25:05	425	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:05	425	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:05	425	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859917 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:05	425	[DEBUG]	Store custom available field
2023-10-13	12:25:05	425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859917,3,'',1)
2023-10-13	12:25:05	425	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:05	425	[DEBUG]	Get existing row with customfield value 56-58cm
2023-10-13	12:25:05	425	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859917 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:05	425	[DEBUG]	Store custom available field
2023-10-13	12:25:05	425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859917,6,'56-58cm',3)
2023-10-13	12:25:05	425	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:05	425	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:05	425	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859915
2023-10-13	12:25:05	425	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:05	425	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n58-61cm\\r\\n56-58cm\"}]|clabels=0|options={\"1859915\":[1859915,8,1,\"choisir la taille\"],\"1859916\":[\"58-61cm\"],\"1859917\":[\"56-58cm\"]}|' WHERE `virtuemart_product_id` = 1859915
2023-10-13	12:25:05	425	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:05	425	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859917
2023-10-13	12:25:05	426	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:05	426	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:05	426	[DEBUG]	Use field value for field taille
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:05	426	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:05	426	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:05	426	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:05	426	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:05	426	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:05	426	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:05	426	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:05	426	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:05	426	[DEBUG]	Use field value for field published
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:05	426	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field override
2023-10-13	12:25:05	426	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:05	426	[DEBUG]	Use field value for field slug
2023-10-13	12:25:05	426	[DEBUG]	Process line 426
2023-10-13	12:25:05	426	[DEBUG]	Load a row
2023-10-13	12:25:05	426	[DEBUG]	Processing item: 1000000142273
2023-10-13	12:25:05	426	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:05	426	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:05	426	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8021_599'
2023-10-13	12:25:05	426	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:05	426	[DEBUG]	Processing product tax
2023-10-13	12:25:05	426	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:05	426	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:05	426	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:05	426	[DEBUG]	Query for Product
2023-10-13	12:25:05	426	[DEBUG]	Executed store
2023-10-13	12:25:05	426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859915','1000000142273','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:05	426	[DEBUG]	No parent found
2023-10-13	12:25:05	426	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859915 AND customfield_value = 'stockable'
2023-10-13	12:25:05	426	[DEBUG]	Check product language entry
2023-10-13	12:25:05	426	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859918
2023-10-13	12:25:05	426	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:05	426	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000142273' AND `virtuemart_product_id` != 1859918
2023-10-13	12:25:05	426	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:05	426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859918, '1000000142273')
2023-10-13	12:25:05	426	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:05	426	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-rogue-green-orange-matt-52-56cm' AND `virtuemart_product_id` != 1859918
2023-10-13	12:25:05	426	[DEBUG]	Query for ProductLang
2023-10-13	12:25:05	426	[DEBUG]	Executed store
2023-10-13	12:25:05	426	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bluegrass Casque ROGUE / Green/Orange/Matt  (52-56cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-rogue-green-orange-matt-52-56cm' WHERE `virtuemart_product_id` = '1859918'
2023-10-13	12:25:05	426	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36505_casque_bluegrass_rogue.jpg
2023-10-13	12:25:05	426	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:05	426	[DEBUG]	Process image file
2023-10-13	12:25:05	426	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:05	426	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:05	426	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36505_casque_bluegrass_rogue.jpg
2023-10-13	12:25:05	426	[DEBUG]	Full name target: bcprisme/36505_casque_bluegrass_rogue.jpg
2023-10-13	12:25:06	426	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:06	426	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36505_casque_bluegrass_rogue.jpg'
2023-10-13	12:25:06	426	[DEBUG]	Query for Media
2023-10-13	12:25:06	426	[DEBUG]	Executed store
2023-10-13	12:25:06	426	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36505_casque_bluegrass_rogue.jpg',`file_url_thumb`='bcprisme/36505_casque_bluegrass_rogue.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '625002'
2023-10-13	12:25:06	426	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:06	426	[DEBUG]	Executed store
2023-10-13	12:25:06	426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859918','625002','1')
2023-10-13	12:25:06	426	[DEBUG]	Store product image relation
2023-10-13	12:25:06	426	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:06	426	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859918 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:06	426	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:06	426	[DEBUG]	Executed store
2023-10-13	12:25:06	426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859918','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:06	426	[DEBUG]	Checking manufacturer
2023-10-13	12:25:06	426	[DEBUG]	Load a row
2023-10-13	12:25:06	426	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:06	426	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:06	426	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:06	426	[DEBUG]	Executed store
2023-10-13	12:25:06	426	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:06	426	[DEBUG]	Manufacturer exists
2023-10-13	12:25:06	426	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:25:06	426	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:06	426	[DEBUG]	Executed store
2023-10-13	12:25:06	426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859918','50')
2023-10-13	12:25:06	426	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:06	426	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:06	426	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859918 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:06	426	[DEBUG]	Store custom available field
2023-10-13	12:25:06	426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859918,3,'',1)
2023-10-13	12:25:06	426	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:06	426	[DEBUG]	Get existing row with customfield value 52-56cm
2023-10-13	12:25:06	426	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859918 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:06	426	[DEBUG]	Store custom available field
2023-10-13	12:25:06	426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859918,6,'52-56cm',3)
2023-10-13	12:25:06	426	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:06	426	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:06	426	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859915
2023-10-13	12:25:06	426	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:06	426	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n58-61cm\\r\\n56-58cm\\r\\n52-56cm\"}]|clabels=0|options={\"1859915\":[1859915,8,1,\"choisir la taille\"],\"1859916\":[\"58-61cm\"],\"1859917\":[\"56-58cm\"],\"1859918\":[\"52-56cm\"]}|' WHERE `virtuemart_product_id` = 1859915
2023-10-13	12:25:06	426	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:06	426	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859918
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:06	427	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field taille
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:06	427	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:06	427	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:06	427	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:06	427	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:06	427	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:06	427	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field published
2023-10-13	12:25:06	427	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:06	427	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field override
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:06	427	[DEBUG]	Use field value for field slug
2023-10-13	12:25:06	427	[DEBUG]	Process line 427
2023-10-13	12:25:06	427	[DEBUG]	Load a row
2023-10-13	12:25:06	427	[DEBUG]	Processing item: A_8021_600
2023-10-13	12:25:06	427	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:06	427	[DEBUG]	Processing product tax
2023-10-13	12:25:06	427	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:06	427	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:06	427	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:06	427	[DEBUG]	Query for Product
2023-10-13	12:25:06	427	[DEBUG]	Executed store
2023-10-13	12:25:06	427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8021_600','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:06	427	[DEBUG]	Check product language entry
2023-10-13	12:25:06	427	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859919
2023-10-13	12:25:06	427	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:06	427	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8021_600' AND `virtuemart_product_id` != 1859919
2023-10-13	12:25:06	427	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:06	427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859919, 'A_8021_600')
2023-10-13	12:25:06	427	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:06	427	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-rogue-petrole-blue-matt' AND `virtuemart_product_id` != 1859919
2023-10-13	12:25:06	427	[DEBUG]	Query for ProductLang
2023-10-13	12:25:06	427	[DEBUG]	Executed store
2023-10-13	12:25:06	427	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Confortable, robuste et bien ventilé, le Bluegrass Golden Eyes rassemble les dernières technologies dans un tout nouveau design. Ce casque est destiné à la pratique de l\'enduro, du trail et du all-mountain! Grâce à l\'imbrication de deux coques et à la surface de protection étendue au niveau de la nuque, il a été possible de réduire le poids tout en augmentant la sécurité. La construction intégrant une protection contre les chocs refroidit ta tête de manière fiable même sur les parcours les plus difficiles. Toutes ces caractéristiques font du Bluegrass Golden Eyes le compagnon idéal pour tes sorties VTT.<br><br>Autres caractéristiques:<br><br>Coque In-Mould polycarbonate<br>Système d\'ajustement Safe-T Advanced<br>Visière flexible 3 positions<br>Mousses confortables lavables à la main<br>N° art fourn : 710.007',`product_name`='Bluegrass Casque ROGUE / Pétrole/Blue/Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-rogue-petrole-blue-matt' WHERE `virtuemart_product_id` = '1859919'
2023-10-13	12:25:06	427	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36506_casque_bluegrass_rogue.jpg
2023-10-13	12:25:06	427	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:06	427	[DEBUG]	Process image file
2023-10-13	12:25:06	427	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:06	427	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:06	427	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36506_casque_bluegrass_rogue.jpg
2023-10-13	12:25:06	427	[DEBUG]	Full name target: bcprisme/36506_casque_bluegrass_rogue.jpg
2023-10-13	12:25:07	427	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:07	427	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36506_casque_bluegrass_rogue.jpg'
2023-10-13	12:25:07	427	[DEBUG]	Query for Media
2023-10-13	12:25:07	427	[DEBUG]	Executed store
2023-10-13	12:25:07	427	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36506_casque_bluegrass_rogue.jpg',`file_url_thumb`='bcprisme/36506_casque_bluegrass_rogue.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '625006'
2023-10-13	12:25:07	427	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:07	427	[DEBUG]	Executed store
2023-10-13	12:25:07	427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859919','625006','1')
2023-10-13	12:25:07	427	[DEBUG]	Store product image relation
2023-10-13	12:25:07	427	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:07	427	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859919 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:07	427	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:07	427	[DEBUG]	Executed store
2023-10-13	12:25:07	427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859919','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:07	427	[DEBUG]	Checking manufacturer
2023-10-13	12:25:07	427	[DEBUG]	Load a row
2023-10-13	12:25:07	427	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:07	427	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:07	427	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:07	427	[DEBUG]	Executed store
2023-10-13	12:25:07	427	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:07	427	[DEBUG]	Manufacturer exists
2023-10-13	12:25:07	427	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:25:07	427	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:07	427	[DEBUG]	Executed store
2023-10-13	12:25:07	427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859919','50')
2023-10-13	12:25:07	427	[DEBUG]	Find the custom field ID
2023-10-13	12:25:07	427	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:07	427	[DEBUG]	No custom field ID found
2023-10-13	12:25:07	427	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:07	427	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:25:07	427	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859919 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:07	427	[DEBUG]	Store custom available field
2023-10-13	12:25:07	427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859919,3,'9.8725',1)
2023-10-13	12:25:07	427	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:07	427	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:07	427	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859919 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:07	427	[DEBUG]	Store custom available field
2023-10-13	12:25:07	427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859919,6,'choisir la taille',3)
2023-10-13	12:25:07	427	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:07	427	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:07	427	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:07	427	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:07	427	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859919 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:07	427	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:07	427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859919,8,1)
2023-10-13	12:25:07	427	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:07	427	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859919\":[1859919,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859919
2023-10-13	12:25:07	427	[DEBUG]	Checking category
2023-10-13	12:25:07	427	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:07	427	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859919
2023-10-13	12:25:07	427	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:07	427	[DEBUG]	Executed store
2023-10-13	12:25:07	427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859919','7281')
2023-10-13	12:25:07	427	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:07	427	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859919 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:07	427	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:07	427	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859919
2023-10-13	12:25:07	428	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:07	428	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:07	428	[DEBUG]	Use field value for field taille
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:07	428	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:07	428	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:07	428	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:07	428	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:07	428	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:07	428	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:07	428	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:07	428	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:07	428	[DEBUG]	Use field value for field published
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:07	428	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field override
2023-10-13	12:25:07	428	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:07	428	[DEBUG]	Use field value for field slug
2023-10-13	12:25:07	428	[DEBUG]	Process line 428
2023-10-13	12:25:07	428	[DEBUG]	Load a row
2023-10-13	12:25:07	428	[DEBUG]	Processing item: 1000000142280
2023-10-13	12:25:07	428	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:07	428	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:07	428	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8021_600'
2023-10-13	12:25:07	428	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:07	428	[DEBUG]	Processing product tax
2023-10-13	12:25:07	428	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:07	428	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:07	428	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:07	428	[DEBUG]	Query for Product
2023-10-13	12:25:07	428	[DEBUG]	Executed store
2023-10-13	12:25:07	428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859919','1000000142280','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:07	428	[DEBUG]	No parent found
2023-10-13	12:25:07	428	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859919 AND customfield_value = 'stockable'
2023-10-13	12:25:07	428	[DEBUG]	Check product language entry
2023-10-13	12:25:07	428	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859920
2023-10-13	12:25:07	428	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:07	428	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000142280' AND `virtuemart_product_id` != 1859920
2023-10-13	12:25:07	428	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:07	428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859920, '1000000142280')
2023-10-13	12:25:07	428	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:07	428	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-rogue-petrole-blue-matt-52-56cm' AND `virtuemart_product_id` != 1859920
2023-10-13	12:25:07	428	[DEBUG]	Query for ProductLang
2023-10-13	12:25:07	428	[DEBUG]	Executed store
2023-10-13	12:25:07	428	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bluegrass Casque ROGUE / Pétrole/Blue/Matt (52-56cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-rogue-petrole-blue-matt-52-56cm' WHERE `virtuemart_product_id` = '1859920'
2023-10-13	12:25:07	428	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36506_casque_bluegrass_rogue.jpg
2023-10-13	12:25:07	428	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:07	428	[DEBUG]	Process image file
2023-10-13	12:25:07	428	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:07	428	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:07	428	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36506_casque_bluegrass_rogue.jpg
2023-10-13	12:25:07	428	[DEBUG]	Full name target: bcprisme/36506_casque_bluegrass_rogue.jpg
2023-10-13	12:25:08	428	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:08	428	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36506_casque_bluegrass_rogue.jpg'
2023-10-13	12:25:08	428	[DEBUG]	Query for Media
2023-10-13	12:25:08	428	[DEBUG]	Executed store
2023-10-13	12:25:08	428	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36506_casque_bluegrass_rogue.jpg',`file_url_thumb`='bcprisme/36506_casque_bluegrass_rogue.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '625006'
2023-10-13	12:25:08	428	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:08	428	[DEBUG]	Executed store
2023-10-13	12:25:08	428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859920','625006','1')
2023-10-13	12:25:08	428	[DEBUG]	Store product image relation
2023-10-13	12:25:08	428	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:08	428	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859920 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:08	428	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:08	428	[DEBUG]	Executed store
2023-10-13	12:25:08	428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859920','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:08	428	[DEBUG]	Checking manufacturer
2023-10-13	12:25:08	428	[DEBUG]	Load a row
2023-10-13	12:25:08	428	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:08	428	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:08	428	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:08	428	[DEBUG]	Executed store
2023-10-13	12:25:08	428	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:08	428	[DEBUG]	Manufacturer exists
2023-10-13	12:25:08	428	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:25:08	428	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:08	428	[DEBUG]	Executed store
2023-10-13	12:25:08	428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859920','50')
2023-10-13	12:25:08	428	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:08	428	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:08	428	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859920 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:08	428	[DEBUG]	Store custom available field
2023-10-13	12:25:08	428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859920,3,'',1)
2023-10-13	12:25:08	428	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:08	428	[DEBUG]	Get existing row with customfield value 52-56cm
2023-10-13	12:25:08	428	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859920 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:08	428	[DEBUG]	Store custom available field
2023-10-13	12:25:08	428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859920,6,'52-56cm',3)
2023-10-13	12:25:08	428	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:08	428	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:08	428	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859919
2023-10-13	12:25:08	428	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:08	428	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-56cm\"}]|clabels=0|options={\"1859919\":[1859919,8,1,\"choisir la taille\"],\"1859920\":[\"52-56cm\"]}|' WHERE `virtuemart_product_id` = 1859919
2023-10-13	12:25:08	428	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:08	428	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859920
2023-10-13	12:25:08	429	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:08	429	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:08	429	[DEBUG]	Use field value for field taille
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:08	429	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:08	429	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:08	429	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:08	429	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:08	429	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:08	429	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:08	429	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:08	429	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:08	429	[DEBUG]	Use field value for field published
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:08	429	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field override
2023-10-13	12:25:08	429	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:08	429	[DEBUG]	Use field value for field slug
2023-10-13	12:25:08	429	[DEBUG]	Process line 429
2023-10-13	12:25:08	429	[DEBUG]	Load a row
2023-10-13	12:25:08	429	[DEBUG]	Processing item: 010801519027103310E200134
2023-10-13	12:25:08	429	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:08	429	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:08	429	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8021_600'
2023-10-13	12:25:08	429	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:08	429	[DEBUG]	Processing product tax
2023-10-13	12:25:08	429	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:08	429	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:08	429	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:08	429	[DEBUG]	Query for Product
2023-10-13	12:25:08	429	[DEBUG]	Executed store
2023-10-13	12:25:08	429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859919','010801519027103310E200134','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:08	429	[DEBUG]	No parent found
2023-10-13	12:25:08	429	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859919 AND customfield_value = 'stockable'
2023-10-13	12:25:08	429	[DEBUG]	Check product language entry
2023-10-13	12:25:08	429	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859921
2023-10-13	12:25:08	429	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:08	429	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '010801519027103310E200134' AND `virtuemart_product_id` != 1859921
2023-10-13	12:25:08	429	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:08	429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859921, '010801519027103310E200134')
2023-10-13	12:25:08	429	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:08	429	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-rogue-petrole-blue-matt-56-58cm' AND `virtuemart_product_id` != 1859921
2023-10-13	12:25:08	429	[DEBUG]	Query for ProductLang
2023-10-13	12:25:08	429	[DEBUG]	Executed store
2023-10-13	12:25:08	429	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bluegrass Casque ROGUE / Pétrole/Blue/Matt (56-58cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-rogue-petrole-blue-matt-56-58cm' WHERE `virtuemart_product_id` = '1859921'
2023-10-13	12:25:08	429	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36506_casque_bluegrass_rogue.jpg
2023-10-13	12:25:08	429	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:08	429	[DEBUG]	Process image file
2023-10-13	12:25:08	429	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:08	429	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:08	429	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36506_casque_bluegrass_rogue.jpg
2023-10-13	12:25:08	429	[DEBUG]	Full name target: bcprisme/36506_casque_bluegrass_rogue.jpg
2023-10-13	12:25:09	429	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:09	429	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36506_casque_bluegrass_rogue.jpg'
2023-10-13	12:25:09	429	[DEBUG]	Query for Media
2023-10-13	12:25:09	429	[DEBUG]	Executed store
2023-10-13	12:25:09	429	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36506_casque_bluegrass_rogue.jpg',`file_url_thumb`='bcprisme/36506_casque_bluegrass_rogue.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '625006'
2023-10-13	12:25:09	429	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:09	429	[DEBUG]	Executed store
2023-10-13	12:25:09	429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859921','625006','1')
2023-10-13	12:25:09	429	[DEBUG]	Store product image relation
2023-10-13	12:25:09	429	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:09	429	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859921 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:09	429	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:09	429	[DEBUG]	Executed store
2023-10-13	12:25:09	429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859921','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:09	429	[DEBUG]	Checking manufacturer
2023-10-13	12:25:09	429	[DEBUG]	Load a row
2023-10-13	12:25:09	429	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:09	429	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:09	429	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:09	429	[DEBUG]	Executed store
2023-10-13	12:25:09	429	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:09	429	[DEBUG]	Manufacturer exists
2023-10-13	12:25:09	429	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:25:09	429	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:09	429	[DEBUG]	Executed store
2023-10-13	12:25:09	429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859921','50')
2023-10-13	12:25:09	429	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:09	429	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:09	429	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859921 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:09	429	[DEBUG]	Store custom available field
2023-10-13	12:25:09	429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859921,3,'',1)
2023-10-13	12:25:09	429	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:09	429	[DEBUG]	Get existing row with customfield value 56-58cm
2023-10-13	12:25:09	429	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859921 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:09	429	[DEBUG]	Store custom available field
2023-10-13	12:25:09	429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859921,6,'56-58cm',3)
2023-10-13	12:25:09	429	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:09	429	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:09	429	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859919
2023-10-13	12:25:09	429	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:09	429	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-56cm\\r\\n56-58cm\"}]|clabels=0|options={\"1859919\":[1859919,8,1,\"choisir la taille\"],\"1859920\":[\"52-56cm\"],\"1859921\":[\"56-58cm\"]}|' WHERE `virtuemart_product_id` = 1859919
2023-10-13	12:25:09	429	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:09	429	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859921
2023-10-13	12:25:09	430	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:09	430	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:09	430	[DEBUG]	Use field value for field taille
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:09	430	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:09	430	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:09	430	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:09	430	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:09	430	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:09	430	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:09	430	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:09	430	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:09	430	[DEBUG]	Use field value for field published
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:09	430	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field override
2023-10-13	12:25:09	430	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:09	430	[DEBUG]	Use field value for field slug
2023-10-13	12:25:09	430	[DEBUG]	Process line 430
2023-10-13	12:25:09	430	[DEBUG]	Load a row
2023-10-13	12:25:09	430	[DEBUG]	Processing item: 010801519027104010E200135
2023-10-13	12:25:09	430	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:09	430	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:09	430	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8021_600'
2023-10-13	12:25:09	430	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:09	430	[DEBUG]	Processing product tax
2023-10-13	12:25:09	430	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:09	430	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:09	430	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:09	430	[DEBUG]	Query for Product
2023-10-13	12:25:09	430	[DEBUG]	Executed store
2023-10-13	12:25:09	430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859919','010801519027104010E200135','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:09	430	[DEBUG]	No parent found
2023-10-13	12:25:09	430	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859919 AND customfield_value = 'stockable'
2023-10-13	12:25:09	430	[DEBUG]	Check product language entry
2023-10-13	12:25:09	430	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859922
2023-10-13	12:25:09	430	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:09	430	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '010801519027104010E200135' AND `virtuemart_product_id` != 1859922
2023-10-13	12:25:09	430	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:09	430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859922, '010801519027104010E200135')
2023-10-13	12:25:10	430	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:10	430	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-rogue-petrole-blue-matt-58-61cm' AND `virtuemart_product_id` != 1859922
2023-10-13	12:25:10	430	[DEBUG]	Query for ProductLang
2023-10-13	12:25:10	430	[DEBUG]	Executed store
2023-10-13	12:25:10	430	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bluegrass Casque ROGUE / Pétrole/Blue/Matt (58-61cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-rogue-petrole-blue-matt-58-61cm' WHERE `virtuemart_product_id` = '1859922'
2023-10-13	12:25:10	430	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36506_casque_bluegrass_rogue.jpg
2023-10-13	12:25:10	430	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:10	430	[DEBUG]	Process image file
2023-10-13	12:25:10	430	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:25:10	430	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:10	430	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36506_casque_bluegrass_rogue.jpg
2023-10-13	12:25:10	430	[DEBUG]	Full name target: bcprisme/36506_casque_bluegrass_rogue.jpg
2023-10-13	12:25:10	430	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:10	430	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36506_casque_bluegrass_rogue.jpg'
2023-10-13	12:25:10	430	[DEBUG]	Query for Media
2023-10-13	12:25:10	430	[DEBUG]	Executed store
2023-10-13	12:25:10	430	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36506_casque_bluegrass_rogue.jpg',`file_url_thumb`='bcprisme/36506_casque_bluegrass_rogue.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '625006'
2023-10-13	12:25:10	430	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:10	430	[DEBUG]	Executed store
2023-10-13	12:25:10	430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859922','625006','1')
2023-10-13	12:25:10	430	[DEBUG]	Store product image relation
2023-10-13	12:25:10	430	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:10	430	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859922 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:10	430	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:10	430	[DEBUG]	Executed store
2023-10-13	12:25:10	430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859922','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:10	430	[DEBUG]	Checking manufacturer
2023-10-13	12:25:10	430	[DEBUG]	Load a row
2023-10-13	12:25:10	430	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:10	430	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:10	430	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:10	430	[DEBUG]	Executed store
2023-10-13	12:25:10	430	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:25:10	430	[DEBUG]	Manufacturer exists
2023-10-13	12:25:10	430	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:25:10	430	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:10	430	[DEBUG]	Executed store
2023-10-13	12:25:10	430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859922','50')
2023-10-13	12:25:10	430	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:10	430	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:10	430	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859922 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:10	430	[DEBUG]	Store custom available field
2023-10-13	12:25:10	430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859922,3,'',1)
2023-10-13	12:25:10	430	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:10	430	[DEBUG]	Get existing row with customfield value 58-61cm
2023-10-13	12:25:10	430	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859922 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:10	430	[DEBUG]	Store custom available field
2023-10-13	12:25:10	430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859922,6,'58-61cm',3)
2023-10-13	12:25:10	430	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:10	430	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:10	430	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859919
2023-10-13	12:25:10	430	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:10	430	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-56cm\\r\\n56-58cm\\r\\n58-61cm\"}]|clabels=0|options={\"1859919\":[1859919,8,1,\"choisir la taille\"],\"1859920\":[\"52-56cm\"],\"1859921\":[\"56-58cm\"],\"1859922\":[\"58-61cm\"]}|' WHERE `virtuemart_product_id` = 1859919
2023-10-13	12:25:10	430	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:10	430	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859922
2023-10-13	12:25:10	431	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:10	431	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:10	431	[DEBUG]	Use field value for field taille
2023-10-13	12:25:10	431	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:10	431	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:10	431	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:11	431	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:11	431	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:11	431	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:11	431	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:11	431	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:11	431	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:11	431	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field published
2023-10-13	12:25:11	431	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:11	431	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field override
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:11	431	[DEBUG]	Use field value for field slug
2023-10-13	12:25:11	431	[DEBUG]	Process line 431
2023-10-13	12:25:11	431	[DEBUG]	Load a row
2023-10-13	12:25:11	431	[DEBUG]	Processing item: A_8342_663
2023-10-13	12:25:11	431	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:11	431	[DEBUG]	Processing product tax
2023-10-13	12:25:11	431	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:11	431	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:11	431	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:11	431	[DEBUG]	Query for Product
2023-10-13	12:25:11	431	[DEBUG]	Executed store
2023-10-13	12:25:11	431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8342_663','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:11	431	[DEBUG]	Check product language entry
2023-10-13	12:25:11	431	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859923
2023-10-13	12:25:11	431	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:11	431	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8342_663' AND `virtuemart_product_id` != 1859923
2023-10-13	12:25:11	431	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:11	431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859923, 'A_8342_663')
2023-10-13	12:25:11	431	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:11	431	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-mythos-3-0-coffe-grey-matt' AND `virtuemart_product_id` != 1859923
2023-10-13	12:25:11	431	[DEBUG]	Query for ProductLang
2023-10-13	12:25:11	431	[DEBUG]	Executed store
2023-10-13	12:25:11	431	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Carapax 2.0 d’Alpina est adapté aux sentiers tout terrain. Avec la version révisé du modèle à succès, on est sûr de toujours faire le bon choix. Peu importe si l’on parcourt un chemin en montée ou en descente. Il s’agit d’un casque polyvalent adapté aux espaces tout-terrain et il compte parmi les modèles enduro les plus légers sur le marché. Le système Run System Ergo Flex assure un confort maximal et une sécurité optimale. Un système d’ajustement constitué d’une structure filigrane fixe le casque de manière uniforme sur 360 degrés du tour de tête. L’ajustement du casque de vélo peut se réaliser d’une manière parfaitement autonome, souple et confortable. Un avantage complémentaire en faveur du confort : le rembourrage amovible. Celui-ci est très agréable à porter - indépendamment des températures sur le terrain. Le poids léger du Carapax 2.0 est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Grâce à la Seamless Connection, il épouse parfaitement la coque supérieure. Pour garantir la meilleure sécurité sur des trails complexes, l’arrière du casque et la zone des tempes ont été rallongés vers le bas. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération permettent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière réglable en hauteur garantit une protection optimale dans la zone de la vision.<br>N° art fourn : A9713338',`product_name`='Alpina Casque VTT MYTHOS 3.0 / Coffe-grey matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-mythos-3-0-coffe-grey-matt' WHERE `virtuemart_product_id` = '1859923'
2023-10-13	12:25:11	431	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36978_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:11	431	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:11	431	[DEBUG]	Process image file
2023-10-13	12:25:11	431	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:11	431	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:11	431	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36978_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:11	431	[DEBUG]	Full name target: bcprisme/36978_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:12	431	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:12	431	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36978_casque_vtt_mythos_3_0.jpg'
2023-10-13	12:25:12	431	[DEBUG]	Query for Media
2023-10-13	12:25:12	431	[DEBUG]	Executed store
2023-10-13	12:25:12	431	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36978_casque_vtt_mythos_3_0.jpg',`file_url_thumb`='bcprisme/36978_casque_vtt_mythos_3_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '796194'
2023-10-13	12:25:12	431	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:12	431	[DEBUG]	Executed store
2023-10-13	12:25:12	431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859923','796194','1')
2023-10-13	12:25:12	431	[DEBUG]	Store product image relation
2023-10-13	12:25:12	431	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:12	431	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859923 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:12	431	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:12	431	[DEBUG]	Executed store
2023-10-13	12:25:12	431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859923','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:12	431	[DEBUG]	Checking manufacturer
2023-10-13	12:25:12	431	[DEBUG]	Load a row
2023-10-13	12:25:12	431	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:12	431	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:12	431	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:12	431	[DEBUG]	Executed store
2023-10-13	12:25:12	431	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:12	431	[DEBUG]	Manufacturer exists
2023-10-13	12:25:12	431	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:25:12	431	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:12	431	[DEBUG]	Executed store
2023-10-13	12:25:12	431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859923','171')
2023-10-13	12:25:12	431	[DEBUG]	Find the custom field ID
2023-10-13	12:25:12	431	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:12	431	[DEBUG]	No custom field ID found
2023-10-13	12:25:12	431	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:12	431	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:25:12	431	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859923 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:12	431	[DEBUG]	Store custom available field
2023-10-13	12:25:12	431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859923,3,'0',1)
2023-10-13	12:25:12	431	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:12	431	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:12	431	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859923 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:12	431	[DEBUG]	Store custom available field
2023-10-13	12:25:12	431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859923,6,'choisir la taille',3)
2023-10-13	12:25:12	431	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:12	431	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:12	431	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:12	431	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:12	431	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859923 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:12	431	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:12	431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859923,8,1)
2023-10-13	12:25:12	431	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:12	431	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859923\":[1859923,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859923
2023-10-13	12:25:12	431	[DEBUG]	Checking category
2023-10-13	12:25:12	431	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:12	431	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859923
2023-10-13	12:25:12	431	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:12	431	[DEBUG]	Executed store
2023-10-13	12:25:12	431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859923','7281')
2023-10-13	12:25:12	431	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:12	431	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859923 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:12	431	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:12	431	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859923
2023-10-13	12:25:12	432	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:12	432	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:12	432	[DEBUG]	Use field value for field taille
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:12	432	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:12	432	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:12	432	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:12	432	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:12	432	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:12	432	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:12	432	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:12	432	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:12	432	[DEBUG]	Use field value for field published
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:12	432	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field override
2023-10-13	12:25:12	432	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:12	432	[DEBUG]	Use field value for field slug
2023-10-13	12:25:12	432	[DEBUG]	Process line 432
2023-10-13	12:25:12	432	[DEBUG]	Load a row
2023-10-13	12:25:12	432	[DEBUG]	Processing item: 1000000149999
2023-10-13	12:25:12	432	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:12	432	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:12	432	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8342_663'
2023-10-13	12:25:12	432	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:12	432	[DEBUG]	Processing product tax
2023-10-13	12:25:12	432	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:12	432	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:12	432	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:12	432	[DEBUG]	Query for Product
2023-10-13	12:25:12	432	[DEBUG]	Executed store
2023-10-13	12:25:12	432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859923','1000000149999','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:12	432	[DEBUG]	No parent found
2023-10-13	12:25:12	432	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859923 AND customfield_value = 'stockable'
2023-10-13	12:25:12	432	[DEBUG]	Check product language entry
2023-10-13	12:25:12	432	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859924
2023-10-13	12:25:12	432	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:12	432	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000149999' AND `virtuemart_product_id` != 1859924
2023-10-13	12:25:12	432	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:12	432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859924, '1000000149999')
2023-10-13	12:25:12	432	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:12	432	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-mythos-3-0-coffe-grey-matt-52-57' AND `virtuemart_product_id` != 1859924
2023-10-13	12:25:12	432	[DEBUG]	Query for ProductLang
2023-10-13	12:25:12	432	[DEBUG]	Executed store
2023-10-13	12:25:12	432	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT MYTHOS 3.0 / Coffe-grey matt (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-mythos-3-0-coffe-grey-matt-52-57' WHERE `virtuemart_product_id` = '1859924'
2023-10-13	12:25:12	432	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36978_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:12	432	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:12	432	[DEBUG]	Process image file
2023-10-13	12:25:12	432	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:12	432	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:12	432	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36978_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:12	432	[DEBUG]	Full name target: bcprisme/36978_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:13	432	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:13	432	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36978_casque_vtt_mythos_3_0.jpg'
2023-10-13	12:25:13	432	[DEBUG]	Query for Media
2023-10-13	12:25:13	432	[DEBUG]	Executed store
2023-10-13	12:25:13	432	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36978_casque_vtt_mythos_3_0.jpg',`file_url_thumb`='bcprisme/36978_casque_vtt_mythos_3_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '796194'
2023-10-13	12:25:13	432	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:13	432	[DEBUG]	Executed store
2023-10-13	12:25:13	432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859924','796194','1')
2023-10-13	12:25:13	432	[DEBUG]	Store product image relation
2023-10-13	12:25:13	432	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:13	432	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859924 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:13	432	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:13	432	[DEBUG]	Executed store
2023-10-13	12:25:13	432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859924','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:13	432	[DEBUG]	Checking manufacturer
2023-10-13	12:25:13	432	[DEBUG]	Load a row
2023-10-13	12:25:13	432	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:13	432	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:13	432	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:13	432	[DEBUG]	Executed store
2023-10-13	12:25:13	432	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:13	432	[DEBUG]	Manufacturer exists
2023-10-13	12:25:13	432	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:25:13	432	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:13	432	[DEBUG]	Executed store
2023-10-13	12:25:13	432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859924','171')
2023-10-13	12:25:13	432	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:13	432	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:13	432	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859924 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:13	432	[DEBUG]	Store custom available field
2023-10-13	12:25:13	432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859924,3,'',1)
2023-10-13	12:25:13	432	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:13	432	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:25:13	432	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859924 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:13	432	[DEBUG]	Store custom available field
2023-10-13	12:25:13	432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859924,6,'52-57',3)
2023-10-13	12:25:13	432	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:13	432	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:13	432	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859923
2023-10-13	12:25:13	432	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:13	432	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1859923\":[1859923,8,1,\"choisir la taille\"],\"1859924\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859923
2023-10-13	12:25:13	432	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:13	432	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859924
2023-10-13	12:25:13	433	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:13	433	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:13	433	[DEBUG]	Use field value for field taille
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:13	433	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:13	433	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:13	433	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:13	433	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:13	433	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:13	433	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:13	433	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:13	433	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:13	433	[DEBUG]	Use field value for field published
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:13	433	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field override
2023-10-13	12:25:13	433	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:13	433	[DEBUG]	Use field value for field slug
2023-10-13	12:25:13	433	[DEBUG]	Process line 433
2023-10-13	12:25:13	433	[DEBUG]	Load a row
2023-10-13	12:25:13	433	[DEBUG]	Processing item: 1000000150001
2023-10-13	12:25:13	433	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:13	433	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:13	433	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8342_663'
2023-10-13	12:25:13	433	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:13	433	[DEBUG]	Processing product tax
2023-10-13	12:25:13	433	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:13	433	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:13	433	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:13	433	[DEBUG]	Query for Product
2023-10-13	12:25:13	433	[DEBUG]	Executed store
2023-10-13	12:25:13	433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859923','1000000150001','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:13	433	[DEBUG]	No parent found
2023-10-13	12:25:13	433	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859923 AND customfield_value = 'stockable'
2023-10-13	12:25:13	433	[DEBUG]	Check product language entry
2023-10-13	12:25:13	433	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859925
2023-10-13	12:25:13	433	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:13	433	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000150001' AND `virtuemart_product_id` != 1859925
2023-10-13	12:25:13	433	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:13	433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859925, '1000000150001')
2023-10-13	12:25:13	433	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:13	433	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-mythos-3-0-coffe-grey-matt-59-64' AND `virtuemart_product_id` != 1859925
2023-10-13	12:25:13	433	[DEBUG]	Query for ProductLang
2023-10-13	12:25:13	433	[DEBUG]	Executed store
2023-10-13	12:25:13	433	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT MYTHOS 3.0 / Coffe-grey matt (59-64)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-mythos-3-0-coffe-grey-matt-59-64' WHERE `virtuemart_product_id` = '1859925'
2023-10-13	12:25:13	433	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36978_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:13	433	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:13	433	[DEBUG]	Process image file
2023-10-13	12:25:13	433	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:13	433	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:13	433	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36978_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:13	433	[DEBUG]	Full name target: bcprisme/36978_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:14	433	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:14	433	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36978_casque_vtt_mythos_3_0.jpg'
2023-10-13	12:25:14	433	[DEBUG]	Query for Media
2023-10-13	12:25:14	433	[DEBUG]	Executed store
2023-10-13	12:25:14	433	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36978_casque_vtt_mythos_3_0.jpg',`file_url_thumb`='bcprisme/36978_casque_vtt_mythos_3_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '796194'
2023-10-13	12:25:14	433	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:14	433	[DEBUG]	Executed store
2023-10-13	12:25:14	433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859925','796194','1')
2023-10-13	12:25:14	433	[DEBUG]	Store product image relation
2023-10-13	12:25:14	433	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:14	433	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859925 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:14	433	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:14	433	[DEBUG]	Executed store
2023-10-13	12:25:14	433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859925','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:14	433	[DEBUG]	Checking manufacturer
2023-10-13	12:25:14	433	[DEBUG]	Load a row
2023-10-13	12:25:14	433	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:14	433	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:14	433	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:14	433	[DEBUG]	Executed store
2023-10-13	12:25:14	433	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:14	433	[DEBUG]	Manufacturer exists
2023-10-13	12:25:14	433	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:25:14	433	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:14	433	[DEBUG]	Executed store
2023-10-13	12:25:14	433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859925','171')
2023-10-13	12:25:14	433	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:14	433	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:14	433	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859925 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:14	433	[DEBUG]	Store custom available field
2023-10-13	12:25:14	433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859925,3,'',1)
2023-10-13	12:25:14	433	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:14	433	[DEBUG]	Get existing row with customfield value 59-64
2023-10-13	12:25:14	433	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859925 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:14	433	[DEBUG]	Store custom available field
2023-10-13	12:25:14	433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859925,6,'59-64',3)
2023-10-13	12:25:14	433	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:14	433	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:14	433	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859923
2023-10-13	12:25:14	433	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:14	433	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n59-64\"}]|clabels=0|options={\"1859923\":[1859923,8,1,\"choisir la taille\"],\"1859924\":[\"52-57\"],\"1859925\":[\"59-64\"]}|' WHERE `virtuemart_product_id` = 1859923
2023-10-13	12:25:14	433	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:14	433	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859925
2023-10-13	12:25:14	434	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:14	434	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:14	434	[DEBUG]	Use field value for field taille
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:14	434	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:14	434	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:14	434	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:14	434	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:14	434	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:14	434	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:14	434	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:14	434	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:14	434	[DEBUG]	Use field value for field published
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:14	434	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field override
2023-10-13	12:25:14	434	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:14	434	[DEBUG]	Use field value for field slug
2023-10-13	12:25:14	434	[DEBUG]	Process line 434
2023-10-13	12:25:14	434	[DEBUG]	Load a row
2023-10-13	12:25:14	434	[DEBUG]	Processing item: 1000000150018
2023-10-13	12:25:14	434	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:14	434	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:14	434	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8342_663'
2023-10-13	12:25:14	434	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:14	434	[DEBUG]	Processing product tax
2023-10-13	12:25:14	434	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:14	434	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:14	434	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:14	434	[DEBUG]	Query for Product
2023-10-13	12:25:14	434	[DEBUG]	Executed store
2023-10-13	12:25:14	434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859923','1000000150018','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:14	434	[DEBUG]	No parent found
2023-10-13	12:25:14	434	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859923 AND customfield_value = 'stockable'
2023-10-13	12:25:14	434	[DEBUG]	Check product language entry
2023-10-13	12:25:14	434	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859926
2023-10-13	12:25:14	434	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:14	434	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000150018' AND `virtuemart_product_id` != 1859926
2023-10-13	12:25:14	434	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:14	434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859926, '1000000150018')
2023-10-13	12:25:14	434	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:14	434	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-mythos-3-0-coffe-grey-matt-57-62' AND `virtuemart_product_id` != 1859926
2023-10-13	12:25:14	434	[DEBUG]	Query for ProductLang
2023-10-13	12:25:14	434	[DEBUG]	Executed store
2023-10-13	12:25:14	434	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT MYTHOS 3.0 / Coffe-grey matt (57-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-mythos-3-0-coffe-grey-matt-57-62' WHERE `virtuemart_product_id` = '1859926'
2023-10-13	12:25:14	434	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36978_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:14	434	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:14	434	[DEBUG]	Process image file
2023-10-13	12:25:14	434	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:14	434	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:14	434	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36978_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:14	434	[DEBUG]	Full name target: bcprisme/36978_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:15	434	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:15	434	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36978_casque_vtt_mythos_3_0.jpg'
2023-10-13	12:25:15	434	[DEBUG]	Query for Media
2023-10-13	12:25:15	434	[DEBUG]	Executed store
2023-10-13	12:25:15	434	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36978_casque_vtt_mythos_3_0.jpg',`file_url_thumb`='bcprisme/36978_casque_vtt_mythos_3_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '796194'
2023-10-13	12:25:15	434	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:15	434	[DEBUG]	Executed store
2023-10-13	12:25:15	434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859926','796194','1')
2023-10-13	12:25:15	434	[DEBUG]	Store product image relation
2023-10-13	12:25:15	434	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:15	434	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859926 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:15	434	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:15	434	[DEBUG]	Executed store
2023-10-13	12:25:15	434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859926','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:15	434	[DEBUG]	Checking manufacturer
2023-10-13	12:25:15	434	[DEBUG]	Load a row
2023-10-13	12:25:15	434	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:15	434	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:15	434	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:15	434	[DEBUG]	Executed store
2023-10-13	12:25:15	434	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:15	434	[DEBUG]	Manufacturer exists
2023-10-13	12:25:15	434	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:25:15	434	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:15	434	[DEBUG]	Executed store
2023-10-13	12:25:15	434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859926','171')
2023-10-13	12:25:15	434	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:15	434	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:15	434	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859926 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:15	434	[DEBUG]	Store custom available field
2023-10-13	12:25:15	434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859926,3,'',1)
2023-10-13	12:25:15	434	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:15	434	[DEBUG]	Get existing row with customfield value 57-62
2023-10-13	12:25:15	434	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859926 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:15	434	[DEBUG]	Store custom available field
2023-10-13	12:25:15	434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859926,6,'57-62',3)
2023-10-13	12:25:15	434	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:15	434	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:15	434	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859923
2023-10-13	12:25:15	434	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:15	434	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n59-64\\r\\n57-62\"}]|clabels=0|options={\"1859923\":[1859923,8,1,\"choisir la taille\"],\"1859924\":[\"52-57\"],\"1859925\":[\"59-64\"],\"1859926\":[\"57-62\"]}|' WHERE `virtuemart_product_id` = 1859923
2023-10-13	12:25:15	434	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:15	434	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859926
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:15	435	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field taille
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:15	435	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:15	435	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:15	435	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:15	435	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:15	435	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:15	435	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:15	435	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field published
2023-10-13	12:25:15	435	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:15	435	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field override
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:15	435	[DEBUG]	Use field value for field slug
2023-10-13	12:25:15	435	[DEBUG]	Process line 435
2023-10-13	12:25:15	435	[DEBUG]	Load a row
2023-10-13	12:25:15	435	[DEBUG]	Processing item: A_8342_684
2023-10-13	12:25:15	435	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:15	435	[DEBUG]	Processing product tax
2023-10-13	12:25:15	435	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:15	435	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:15	435	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:15	435	[DEBUG]	Query for Product
2023-10-13	12:25:15	435	[DEBUG]	Executed store
2023-10-13	12:25:15	435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8342_684','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:15	435	[DEBUG]	Check product language entry
2023-10-13	12:25:15	435	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859927
2023-10-13	12:25:15	435	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:15	435	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8342_684' AND `virtuemart_product_id` != 1859927
2023-10-13	12:25:15	435	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:15	435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859927, 'A_8342_684')
2023-10-13	12:25:15	435	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:15	435	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-mythos-3-0-pastel-blue-matt' AND `virtuemart_product_id` != 1859927
2023-10-13	12:25:15	435	[DEBUG]	Query for ProductLang
2023-10-13	12:25:15	435	[DEBUG]	Executed store
2023-10-13	12:25:15	435	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Carapax 2.0 d’Alpina est adapté aux sentiers tout terrain. Avec la version révisé du modèle à succès, on est sûr de toujours faire le bon choix. Peu importe si l’on parcourt un chemin en montée ou en descente. Il s’agit d’un casque polyvalent adapté aux espaces tout-terrain et il compte parmi les modèles enduro les plus légers sur le marché. Le système Run System Ergo Flex assure un confort maximal et une sécurité optimale. Un système d’ajustement constitué d’une structure filigrane fixe le casque de manière uniforme sur 360 degrés du tour de tête. L’ajustement du casque de vélo peut se réaliser d’une manière parfaitement autonome, souple et confortable. Un avantage complémentaire en faveur du confort : le rembourrage amovible. Celui-ci est très agréable à porter - indépendamment des températures sur le terrain. Le poids léger du Carapax 2.0 est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Grâce à la Seamless Connection, il épouse parfaitement la coque supérieure. Pour garantir la meilleure sécurité sur des trails complexes, l’arrière du casque et la zone des tempes ont été rallongés vers le bas. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération permettent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière réglable en hauteur garantit une protection optimale dans la zone de la vision.<br>N° art fourn : A9713338',`product_name`='Alpina Casque VTT MYTHOS 3.0 / Pastel Blue Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-mythos-3-0-pastel-blue-matt' WHERE `virtuemart_product_id` = '1859927'
2023-10-13	12:25:15	435	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37112_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:15	435	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:15	435	[DEBUG]	Process image file
2023-10-13	12:25:15	435	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:15	435	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:15	435	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37112_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:15	435	[DEBUG]	Full name target: bcprisme/37112_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:16	435	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:16	435	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37112_casque_vtt_mythos_3_0.jpg'
2023-10-13	12:25:16	435	[DEBUG]	Query for Media
2023-10-13	12:25:16	435	[DEBUG]	Executed store
2023-10-13	12:25:16	435	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37112_casque_vtt_mythos_3_0.jpg',`file_url_thumb`='bcprisme/37112_casque_vtt_mythos_3_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908583'
2023-10-13	12:25:16	435	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:16	435	[DEBUG]	Executed store
2023-10-13	12:25:16	435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859927','908583','1')
2023-10-13	12:25:16	435	[DEBUG]	Store product image relation
2023-10-13	12:25:16	435	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:16	435	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859927 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:16	435	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:16	435	[DEBUG]	Executed store
2023-10-13	12:25:16	435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859927','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:16	435	[DEBUG]	Checking manufacturer
2023-10-13	12:25:16	435	[DEBUG]	Load a row
2023-10-13	12:25:16	435	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:16	435	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:16	435	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:16	435	[DEBUG]	Executed store
2023-10-13	12:25:16	435	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:16	435	[DEBUG]	Manufacturer exists
2023-10-13	12:25:16	435	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:25:16	435	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:16	435	[DEBUG]	Executed store
2023-10-13	12:25:16	435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859927','171')
2023-10-13	12:25:16	435	[DEBUG]	Find the custom field ID
2023-10-13	12:25:16	435	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:16	435	[DEBUG]	No custom field ID found
2023-10-13	12:25:16	435	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:16	435	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:25:16	435	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859927 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:16	435	[DEBUG]	Store custom available field
2023-10-13	12:25:16	435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859927,3,'0',1)
2023-10-13	12:25:16	435	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:16	435	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:16	435	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859927 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:16	435	[DEBUG]	Store custom available field
2023-10-13	12:25:16	435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859927,6,'choisir la taille',3)
2023-10-13	12:25:16	435	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:16	435	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:16	435	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:16	435	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:16	435	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859927 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:16	435	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:16	435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859927,8,1)
2023-10-13	12:25:16	435	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:16	435	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859927\":[1859927,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859927
2023-10-13	12:25:16	435	[DEBUG]	Checking category
2023-10-13	12:25:16	435	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:16	435	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859927
2023-10-13	12:25:16	435	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:16	435	[DEBUG]	Executed store
2023-10-13	12:25:16	435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859927','7281')
2023-10-13	12:25:16	435	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:16	435	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859927 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:16	435	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:16	435	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859927
2023-10-13	12:25:16	436	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:16	436	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:16	436	[DEBUG]	Use field value for field taille
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:16	436	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:16	436	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:16	436	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:16	436	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:16	436	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:16	436	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:16	436	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:16	436	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:16	436	[DEBUG]	Use field value for field published
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:16	436	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field override
2023-10-13	12:25:16	436	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:16	436	[DEBUG]	Use field value for field slug
2023-10-13	12:25:16	436	[DEBUG]	Process line 436
2023-10-13	12:25:16	436	[DEBUG]	Load a row
2023-10-13	12:25:16	436	[DEBUG]	Processing item: 1000000152401
2023-10-13	12:25:16	436	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:16	436	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:16	436	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8342_684'
2023-10-13	12:25:16	436	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:16	436	[DEBUG]	Processing product tax
2023-10-13	12:25:16	436	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:16	436	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:16	436	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:16	436	[DEBUG]	Query for Product
2023-10-13	12:25:16	436	[DEBUG]	Executed store
2023-10-13	12:25:16	436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859927','1000000152401','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:16	436	[DEBUG]	No parent found
2023-10-13	12:25:16	436	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859927 AND customfield_value = 'stockable'
2023-10-13	12:25:16	436	[DEBUG]	Check product language entry
2023-10-13	12:25:16	436	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859928
2023-10-13	12:25:16	436	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:16	436	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152401' AND `virtuemart_product_id` != 1859928
2023-10-13	12:25:16	436	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:16	436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859928, '1000000152401')
2023-10-13	12:25:16	436	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:16	436	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-mythos-3-0-pastel-blue-matt-57-62' AND `virtuemart_product_id` != 1859928
2023-10-13	12:25:16	436	[DEBUG]	Query for ProductLang
2023-10-13	12:25:16	436	[DEBUG]	Executed store
2023-10-13	12:25:16	436	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT MYTHOS 3.0 / Pastel Blue Matt (57-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-mythos-3-0-pastel-blue-matt-57-62' WHERE `virtuemart_product_id` = '1859928'
2023-10-13	12:25:16	436	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37112_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:16	436	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:16	436	[DEBUG]	Process image file
2023-10-13	12:25:16	436	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:16	436	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:16	436	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37112_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:16	436	[DEBUG]	Full name target: bcprisme/37112_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:17	436	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:17	436	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37112_casque_vtt_mythos_3_0.jpg'
2023-10-13	12:25:17	436	[DEBUG]	Query for Media
2023-10-13	12:25:17	436	[DEBUG]	Executed store
2023-10-13	12:25:17	436	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37112_casque_vtt_mythos_3_0.jpg',`file_url_thumb`='bcprisme/37112_casque_vtt_mythos_3_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908583'
2023-10-13	12:25:17	436	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:17	436	[DEBUG]	Executed store
2023-10-13	12:25:17	436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859928','908583','1')
2023-10-13	12:25:17	436	[DEBUG]	Store product image relation
2023-10-13	12:25:17	436	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:17	436	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859928 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:17	436	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:17	436	[DEBUG]	Executed store
2023-10-13	12:25:17	436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859928','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:17	436	[DEBUG]	Checking manufacturer
2023-10-13	12:25:17	436	[DEBUG]	Load a row
2023-10-13	12:25:17	436	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:17	436	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:17	436	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:17	436	[DEBUG]	Executed store
2023-10-13	12:25:17	436	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:17	436	[DEBUG]	Manufacturer exists
2023-10-13	12:25:17	436	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:25:17	436	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:17	436	[DEBUG]	Executed store
2023-10-13	12:25:17	436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859928','171')
2023-10-13	12:25:17	436	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:17	436	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:17	436	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859928 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:17	436	[DEBUG]	Store custom available field
2023-10-13	12:25:17	436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859928,3,'',1)
2023-10-13	12:25:17	436	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:17	436	[DEBUG]	Get existing row with customfield value 57-62
2023-10-13	12:25:17	436	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859928 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:17	436	[DEBUG]	Store custom available field
2023-10-13	12:25:17	436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859928,6,'57-62',3)
2023-10-13	12:25:17	436	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:17	436	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:17	436	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859927
2023-10-13	12:25:17	436	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:17	436	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-62\"}]|clabels=0|options={\"1859927\":[1859927,8,1,\"choisir la taille\"],\"1859928\":[\"57-62\"]}|' WHERE `virtuemart_product_id` = 1859927
2023-10-13	12:25:17	436	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:17	436	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859928
2023-10-13	12:25:17	437	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:17	437	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:17	437	[DEBUG]	Use field value for field taille
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:17	437	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:17	437	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:17	437	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:17	437	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:17	437	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:17	437	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:17	437	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:17	437	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:17	437	[DEBUG]	Use field value for field published
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:17	437	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field override
2023-10-13	12:25:17	437	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:17	437	[DEBUG]	Use field value for field slug
2023-10-13	12:25:17	437	[DEBUG]	Process line 437
2023-10-13	12:25:17	437	[DEBUG]	Load a row
2023-10-13	12:25:17	437	[DEBUG]	Processing item: 1000000152418
2023-10-13	12:25:17	437	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:17	437	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:17	437	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8342_684'
2023-10-13	12:25:17	437	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:17	437	[DEBUG]	Processing product tax
2023-10-13	12:25:17	437	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:17	437	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:17	437	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:17	437	[DEBUG]	Query for Product
2023-10-13	12:25:17	437	[DEBUG]	Executed store
2023-10-13	12:25:17	437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859927','1000000152418','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:17	437	[DEBUG]	No parent found
2023-10-13	12:25:17	437	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859927 AND customfield_value = 'stockable'
2023-10-13	12:25:17	437	[DEBUG]	Check product language entry
2023-10-13	12:25:17	437	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859929
2023-10-13	12:25:17	437	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:17	437	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152418' AND `virtuemart_product_id` != 1859929
2023-10-13	12:25:17	437	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:17	437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859929, '1000000152418')
2023-10-13	12:25:17	437	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:17	437	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-mythos-3-0-pastel-blue-matt-59-64' AND `virtuemart_product_id` != 1859929
2023-10-13	12:25:17	437	[DEBUG]	Query for ProductLang
2023-10-13	12:25:17	437	[DEBUG]	Executed store
2023-10-13	12:25:17	437	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT MYTHOS 3.0 / Pastel Blue Matt (59-64)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-mythos-3-0-pastel-blue-matt-59-64' WHERE `virtuemart_product_id` = '1859929'
2023-10-13	12:25:17	437	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37112_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:17	437	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:17	437	[DEBUG]	Process image file
2023-10-13	12:25:17	437	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:17	437	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:17	437	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37112_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:17	437	[DEBUG]	Full name target: bcprisme/37112_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:18	437	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:18	437	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37112_casque_vtt_mythos_3_0.jpg'
2023-10-13	12:25:18	437	[DEBUG]	Query for Media
2023-10-13	12:25:18	437	[DEBUG]	Executed store
2023-10-13	12:25:18	437	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37112_casque_vtt_mythos_3_0.jpg',`file_url_thumb`='bcprisme/37112_casque_vtt_mythos_3_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908583'
2023-10-13	12:25:18	437	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:18	437	[DEBUG]	Executed store
2023-10-13	12:25:18	437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859929','908583','1')
2023-10-13	12:25:18	437	[DEBUG]	Store product image relation
2023-10-13	12:25:18	437	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:18	437	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859929 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:18	437	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:18	437	[DEBUG]	Executed store
2023-10-13	12:25:18	437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859929','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:18	437	[DEBUG]	Checking manufacturer
2023-10-13	12:25:18	437	[DEBUG]	Load a row
2023-10-13	12:25:18	437	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:18	437	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:18	437	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:18	437	[DEBUG]	Executed store
2023-10-13	12:25:18	437	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:18	437	[DEBUG]	Manufacturer exists
2023-10-13	12:25:18	437	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:25:18	437	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:18	437	[DEBUG]	Executed store
2023-10-13	12:25:18	437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859929','171')
2023-10-13	12:25:18	437	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:18	437	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:18	437	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859929 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:18	437	[DEBUG]	Store custom available field
2023-10-13	12:25:18	437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859929,3,'',1)
2023-10-13	12:25:18	437	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:18	437	[DEBUG]	Get existing row with customfield value 59-64
2023-10-13	12:25:18	437	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859929 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:18	437	[DEBUG]	Store custom available field
2023-10-13	12:25:18	437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859929,6,'59-64',3)
2023-10-13	12:25:18	437	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:18	437	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:18	437	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859927
2023-10-13	12:25:18	437	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:18	437	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-62\\r\\n59-64\"}]|clabels=0|options={\"1859927\":[1859927,8,1,\"choisir la taille\"],\"1859928\":[\"57-62\"],\"1859929\":[\"59-64\"]}|' WHERE `virtuemart_product_id` = 1859927
2023-10-13	12:25:18	437	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:18	437	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859929
2023-10-13	12:25:18	438	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:18	438	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:18	438	[DEBUG]	Use field value for field taille
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:18	438	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:18	438	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:18	438	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:18	438	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:18	438	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:18	438	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:18	438	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:18	438	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:18	438	[DEBUG]	Use field value for field published
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:18	438	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field override
2023-10-13	12:25:18	438	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:18	438	[DEBUG]	Use field value for field slug
2023-10-13	12:25:18	438	[DEBUG]	Process line 438
2023-10-13	12:25:18	438	[DEBUG]	Load a row
2023-10-13	12:25:18	438	[DEBUG]	Processing item: 1000000152425
2023-10-13	12:25:18	438	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:18	438	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:18	438	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8342_684'
2023-10-13	12:25:18	438	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:18	438	[DEBUG]	Processing product tax
2023-10-13	12:25:18	438	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:18	438	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:18	438	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:18	438	[DEBUG]	Query for Product
2023-10-13	12:25:18	438	[DEBUG]	Executed store
2023-10-13	12:25:18	438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859927','1000000152425','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:18	438	[DEBUG]	No parent found
2023-10-13	12:25:18	438	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859927 AND customfield_value = 'stockable'
2023-10-13	12:25:18	438	[DEBUG]	Check product language entry
2023-10-13	12:25:18	438	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859930
2023-10-13	12:25:18	438	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:18	438	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152425' AND `virtuemart_product_id` != 1859930
2023-10-13	12:25:18	438	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:18	438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859930, '1000000152425')
2023-10-13	12:25:18	438	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:18	438	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-mythos-3-0-pastel-blue-matt-52-57' AND `virtuemart_product_id` != 1859930
2023-10-13	12:25:18	438	[DEBUG]	Query for ProductLang
2023-10-13	12:25:18	438	[DEBUG]	Executed store
2023-10-13	12:25:18	438	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT MYTHOS 3.0 / Pastel Blue Matt (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-mythos-3-0-pastel-blue-matt-52-57' WHERE `virtuemart_product_id` = '1859930'
2023-10-13	12:25:18	438	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37112_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:18	438	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:18	438	[DEBUG]	Process image file
2023-10-13	12:25:18	438	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:18	438	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:18	438	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37112_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:18	438	[DEBUG]	Full name target: bcprisme/37112_casque_vtt_mythos_3_0.jpg
2023-10-13	12:25:19	438	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:19	438	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37112_casque_vtt_mythos_3_0.jpg'
2023-10-13	12:25:19	438	[DEBUG]	Query for Media
2023-10-13	12:25:19	438	[DEBUG]	Executed store
2023-10-13	12:25:19	438	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37112_casque_vtt_mythos_3_0.jpg',`file_url_thumb`='bcprisme/37112_casque_vtt_mythos_3_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '908583'
2023-10-13	12:25:19	438	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:19	438	[DEBUG]	Executed store
2023-10-13	12:25:19	438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859930','908583','1')
2023-10-13	12:25:19	438	[DEBUG]	Store product image relation
2023-10-13	12:25:19	438	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:19	438	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859930 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:19	438	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:19	438	[DEBUG]	Executed store
2023-10-13	12:25:19	438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859930','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:19	438	[DEBUG]	Checking manufacturer
2023-10-13	12:25:19	438	[DEBUG]	Load a row
2023-10-13	12:25:19	438	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:19	438	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:19	438	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:19	438	[DEBUG]	Executed store
2023-10-13	12:25:19	438	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:19	438	[DEBUG]	Manufacturer exists
2023-10-13	12:25:19	438	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:25:19	438	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:19	438	[DEBUG]	Executed store
2023-10-13	12:25:19	438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859930','171')
2023-10-13	12:25:19	438	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:19	438	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:19	438	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859930 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:19	438	[DEBUG]	Store custom available field
2023-10-13	12:25:19	438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859930,3,'',1)
2023-10-13	12:25:19	438	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:19	438	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:25:19	438	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859930 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:19	438	[DEBUG]	Store custom available field
2023-10-13	12:25:19	438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859930,6,'52-57',3)
2023-10-13	12:25:19	438	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:19	438	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:19	438	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859927
2023-10-13	12:25:19	438	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:19	438	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n57-62\\r\\n59-64\\r\\n52-57\"}]|clabels=0|options={\"1859927\":[1859927,8,1,\"choisir la taille\"],\"1859928\":[\"57-62\"],\"1859929\":[\"59-64\"],\"1859930\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1859927
2023-10-13	12:25:19	438	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:19	438	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859930
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:19	439	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field taille
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:19	439	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:19	439	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:19	439	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:19	439	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:19	439	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:19	439	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field published
2023-10-13	12:25:19	439	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:19	439	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field override
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:19	439	[DEBUG]	Use field value for field slug
2023-10-13	12:25:19	439	[DEBUG]	Process line 439
2023-10-13	12:25:19	439	[DEBUG]	Load a row
2023-10-13	12:25:19	439	[DEBUG]	Processing item: A_8524_322
2023-10-13	12:25:19	439	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:19	439	[DEBUG]	Processing product tax
2023-10-13	12:25:19	439	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:19	439	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:19	439	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:19	439	[DEBUG]	Query for Product
2023-10-13	12:25:19	439	[DEBUG]	Executed store
2023-10-13	12:25:19	439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8524_322','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:19	439	[DEBUG]	Check product language entry
2023-10-13	12:25:19	439	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859931
2023-10-13	12:25:19	439	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:19	439	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8524_322' AND `virtuemart_product_id` != 1859931
2023-10-13	12:25:19	439	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:19	439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859931, 'A_8524_322')
2023-10-13	12:25:19	439	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:19	439	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-manta-shaded-matt-black' AND `virtuemart_product_id` != 1859931
2023-10-13	12:25:19	439	[DEBUG]	Query for ProductLang
2023-10-13	12:25:19	439	[DEBUG]	Executed store
2023-10-13	12:25:19	439	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Manta de MET est avec ses 200 g l\'un des casques fermés les plus légers. En plus du poids, il permet d\'économiser jusqu\'à 10 Watt de puissance à 50 km/h grâce à son design aérodynamique comparé à d\'autres casques tout en offrant une sécurité conforme aux standards les plus élevés.<br><br>Caractéristiques:<br><br>Casque aéro léger avec seulement 200 g<br>Construction In-Mold Intelligent Fusion- et HES (Squelette Homothétique Intégré)<br>Système de réglage Safe-T Advanced, 25% plus léger que Safe-T Smart<br>Sangles Air Lite légères et aérodynamiques<br>Mousses Coolmax<br>Compatible avec éclairage USB MET<br>Sac de casque en Néoprène inclus<br>Facteur de refroidissement: 6,5 (sur 10)<br>HCS (surface de contact entre la tête et le casque): 50 %<br>N° art fourn : 720.012.008',`product_name`='MET Casque route Manta / Shaded Matt Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-manta-shaded-matt-black' WHERE `virtuemart_product_id` = '1859931'
2023-10-13	12:25:19	439	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39032_casque_met_manta.jpg
2023-10-13	12:25:19	439	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:19	439	[DEBUG]	Process image file
2023-10-13	12:25:19	439	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:19	439	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:19	439	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39032_casque_met_manta.jpg
2023-10-13	12:25:19	439	[DEBUG]	Full name target: bcprisme/39032_casque_met_manta.jpg
2023-10-13	12:25:20	439	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:20	439	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39032_casque_met_manta.jpg'
2023-10-13	12:25:20	439	[DEBUG]	Query for Media
2023-10-13	12:25:20	439	[DEBUG]	Executed store
2023-10-13	12:25:20	439	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39032_casque_met_manta.jpg',`file_url_thumb`='bcprisme/39032_casque_met_manta.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498973'
2023-10-13	12:25:20	439	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:20	439	[DEBUG]	Executed store
2023-10-13	12:25:20	439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859931','1498973','1')
2023-10-13	12:25:20	439	[DEBUG]	Store product image relation
2023-10-13	12:25:20	439	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:20	439	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859931 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:20	439	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:20	439	[DEBUG]	Executed store
2023-10-13	12:25:20	439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859931','0','222.748375116063','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:20	439	[DEBUG]	Checking manufacturer
2023-10-13	12:25:20	439	[DEBUG]	Load a row
2023-10-13	12:25:20	439	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:20	439	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:20	439	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:20	439	[DEBUG]	Executed store
2023-10-13	12:25:20	439	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:20	439	[DEBUG]	Manufacturer exists
2023-10-13	12:25:20	439	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:20	439	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:20	439	[DEBUG]	Executed store
2023-10-13	12:25:20	439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859931','226')
2023-10-13	12:25:20	439	[DEBUG]	Find the custom field ID
2023-10-13	12:25:20	439	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:20	439	[DEBUG]	No custom field ID found
2023-10-13	12:25:20	439	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:20	439	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:25:20	439	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859931 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:20	439	[DEBUG]	Store custom available field
2023-10-13	12:25:20	439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859931,3,'69.7058333333334',1)
2023-10-13	12:25:20	439	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:20	439	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:20	439	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859931 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:20	439	[DEBUG]	Store custom available field
2023-10-13	12:25:20	439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859931,6,'choisir la taille',3)
2023-10-13	12:25:20	439	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:20	439	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:20	439	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:20	439	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:20	439	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859931 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:20	439	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:20	439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859931,8,1)
2023-10-13	12:25:20	439	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:20	439	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859931\":[1859931,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859931
2023-10-13	12:25:20	439	[DEBUG]	Checking category
2023-10-13	12:25:20	439	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:20	439	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859931
2023-10-13	12:25:20	439	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:20	439	[DEBUG]	Executed store
2023-10-13	12:25:20	439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859931','7281')
2023-10-13	12:25:20	439	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:20	439	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859931 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:20	439	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:20	439	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859931
2023-10-13	12:25:20	440	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:20	440	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:20	440	[DEBUG]	Use field value for field taille
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:20	440	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:20	440	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:20	440	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:20	440	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:20	440	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:20	440	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:20	440	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:20	440	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:20	440	[DEBUG]	Use field value for field published
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:20	440	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field override
2023-10-13	12:25:20	440	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:20	440	[DEBUG]	Use field value for field slug
2023-10-13	12:25:20	440	[DEBUG]	Process line 440
2023-10-13	12:25:20	440	[DEBUG]	Load a row
2023-10-13	12:25:20	440	[DEBUG]	Processing item: ¨C1010801519025823210V180480
2023-10-13	12:25:20	440	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:20	440	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:20	440	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8524_322'
2023-10-13	12:25:20	440	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:20	440	[DEBUG]	Processing product tax
2023-10-13	12:25:20	440	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:20	440	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:20	440	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:20	440	[DEBUG]	Query for Product
2023-10-13	12:25:20	440	[DEBUG]	Executed store
2023-10-13	12:25:20	440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859931','¨C1010801519025823210V180480','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:20	440	[DEBUG]	No parent found
2023-10-13	12:25:20	440	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859931 AND customfield_value = 'stockable'
2023-10-13	12:25:20	440	[DEBUG]	Check product language entry
2023-10-13	12:25:20	440	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859932
2023-10-13	12:25:20	440	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:20	440	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '¨C1010801519025823210V180480' AND `virtuemart_product_id` != 1859932
2023-10-13	12:25:20	440	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:20	440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859932, '¨C1010801519025823210V180480')
2023-10-13	12:25:20	440	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:20	440	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-manta-shaded-matt-black-58-62' AND `virtuemart_product_id` != 1859932
2023-10-13	12:25:20	440	[DEBUG]	Query for ProductLang
2023-10-13	12:25:20	440	[DEBUG]	Executed store
2023-10-13	12:25:20	440	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque route Manta / Shaded Matt Black (58-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-manta-shaded-matt-black-58-62' WHERE `virtuemart_product_id` = '1859932'
2023-10-13	12:25:20	440	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39032_casque_met_manta.jpg
2023-10-13	12:25:20	440	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:20	440	[DEBUG]	Process image file
2023-10-13	12:25:20	440	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:20	440	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:20	440	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39032_casque_met_manta.jpg
2023-10-13	12:25:20	440	[DEBUG]	Full name target: bcprisme/39032_casque_met_manta.jpg
2023-10-13	12:25:21	440	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:21	440	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39032_casque_met_manta.jpg'
2023-10-13	12:25:21	440	[DEBUG]	Query for Media
2023-10-13	12:25:21	440	[DEBUG]	Executed store
2023-10-13	12:25:21	440	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39032_casque_met_manta.jpg',`file_url_thumb`='bcprisme/39032_casque_met_manta.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498973'
2023-10-13	12:25:21	440	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:21	440	[DEBUG]	Executed store
2023-10-13	12:25:21	440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859932','1498973','1')
2023-10-13	12:25:21	440	[DEBUG]	Store product image relation
2023-10-13	12:25:21	440	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:21	440	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859932 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:21	440	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:21	440	[DEBUG]	Executed store
2023-10-13	12:25:21	440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859932','0','222.748375116063','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:21	440	[DEBUG]	Checking manufacturer
2023-10-13	12:25:21	440	[DEBUG]	Load a row
2023-10-13	12:25:21	440	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:21	440	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:21	440	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:21	440	[DEBUG]	Executed store
2023-10-13	12:25:21	440	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:21	440	[DEBUG]	Manufacturer exists
2023-10-13	12:25:21	440	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:21	440	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:21	440	[DEBUG]	Executed store
2023-10-13	12:25:21	440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859932','226')
2023-10-13	12:25:21	440	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:21	440	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:21	440	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859932 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:21	440	[DEBUG]	Store custom available field
2023-10-13	12:25:21	440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859932,3,'',1)
2023-10-13	12:25:21	440	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:21	440	[DEBUG]	Get existing row with customfield value 58-62
2023-10-13	12:25:21	440	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859932 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:21	440	[DEBUG]	Store custom available field
2023-10-13	12:25:21	440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859932,6,'58-62',3)
2023-10-13	12:25:21	440	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:21	440	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:21	440	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859931
2023-10-13	12:25:21	440	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:21	440	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n58-62\"}]|clabels=0|options={\"1859931\":[1859931,8,1,\"choisir la taille\"],\"1859932\":[\"58-62\"]}|' WHERE `virtuemart_product_id` = 1859931
2023-10-13	12:25:21	440	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:21	440	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859932
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:21	441	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field taille
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:21	441	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:21	441	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:21	441	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:21	441	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:21	441	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:21	441	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field published
2023-10-13	12:25:21	441	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:21	441	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field override
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:21	441	[DEBUG]	Use field value for field slug
2023-10-13	12:25:21	441	[DEBUG]	Process line 441
2023-10-13	12:25:21	441	[DEBUG]	Load a row
2023-10-13	12:25:21	441	[DEBUG]	Processing item: A_8524_696
2023-10-13	12:25:21	441	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:21	441	[DEBUG]	Processing product tax
2023-10-13	12:25:21	441	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:21	441	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:21	441	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:21	441	[DEBUG]	Query for Product
2023-10-13	12:25:21	441	[DEBUG]	Executed store
2023-10-13	12:25:21	441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8524_696','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:21	441	[DEBUG]	Check product language entry
2023-10-13	12:25:21	441	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859933
2023-10-13	12:25:21	441	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:21	441	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8524_696' AND `virtuemart_product_id` != 1859933
2023-10-13	12:25:21	441	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:21	441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859933, 'A_8524_696')
2023-10-13	12:25:21	441	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:21	441	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-manta-deep-blue-white' AND `virtuemart_product_id` != 1859933
2023-10-13	12:25:21	441	[DEBUG]	Query for ProductLang
2023-10-13	12:25:21	441	[DEBUG]	Executed store
2023-10-13	12:25:21	441	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Manta de MET est avec ses 200 g l\'un des casques fermés les plus légers. En plus du poids, il permet d\'économiser jusqu\'à 10 Watt de puissance à 50 km/h grâce à son design aérodynamique comparé à d\'autres casques tout en offrant une sécurité conforme aux standards les plus élevés.<br><br>Caractéristiques:<br><br>Casque aéro léger avec seulement 200 g<br>Construction In-Mold Intelligent Fusion- et HES (Squelette Homothétique Intégré)<br>Système de réglage Safe-T Advanced, 25% plus léger que Safe-T Smart<br>Sangles Air Lite légères et aérodynamiques<br>Mousses Coolmax<br>Compatible avec éclairage USB MET<br>Sac de casque en Néoprène inclus<br>Facteur de refroidissement: 6,5 (sur 10)<br>HCS (surface de contact entre la tête et le casque): 50 %<br>N° art fourn : 720.012.008',`product_name`='MET Casque route Manta / Deep Blue White',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-manta-deep-blue-white' WHERE `virtuemart_product_id` = '1859933'
2023-10-13	12:25:21	441	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37310_casque_met_manta.jpg
2023-10-13	12:25:21	441	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:21	441	[DEBUG]	Process image file
2023-10-13	12:25:21	441	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:21	441	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:21	441	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37310_casque_met_manta.jpg
2023-10-13	12:25:21	441	[DEBUG]	Full name target: bcprisme/37310_casque_met_manta.jpg
2023-10-13	12:25:22	441	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:22	441	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37310_casque_met_manta.jpg'
2023-10-13	12:25:22	441	[DEBUG]	Query for Media
2023-10-13	12:25:22	441	[DEBUG]	Executed store
2023-10-13	12:25:22	441	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37310_casque_met_manta.jpg',`file_url_thumb`='bcprisme/37310_casque_met_manta.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498975'
2023-10-13	12:25:22	441	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:22	441	[DEBUG]	Executed store
2023-10-13	12:25:22	441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859933','1498975','1')
2023-10-13	12:25:22	441	[DEBUG]	Store product image relation
2023-10-13	12:25:22	441	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:22	441	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859933 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:22	441	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:22	441	[DEBUG]	Executed store
2023-10-13	12:25:22	441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859933','0','222.748375116063','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:22	441	[DEBUG]	Checking manufacturer
2023-10-13	12:25:22	441	[DEBUG]	Load a row
2023-10-13	12:25:22	441	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:22	441	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:22	441	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:22	441	[DEBUG]	Executed store
2023-10-13	12:25:22	441	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:22	441	[DEBUG]	Manufacturer exists
2023-10-13	12:25:22	441	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:22	441	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:22	441	[DEBUG]	Executed store
2023-10-13	12:25:22	441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859933','226')
2023-10-13	12:25:22	441	[DEBUG]	Find the custom field ID
2023-10-13	12:25:22	441	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:22	441	[DEBUG]	No custom field ID found
2023-10-13	12:25:22	441	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:22	441	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:25:22	441	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859933 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:22	441	[DEBUG]	Store custom available field
2023-10-13	12:25:22	441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859933,3,'69.7058333333334',1)
2023-10-13	12:25:22	441	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:22	441	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:22	441	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859933 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:22	441	[DEBUG]	Store custom available field
2023-10-13	12:25:22	441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859933,6,'choisir la taille',3)
2023-10-13	12:25:22	441	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:22	441	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:22	441	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:22	441	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:22	441	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859933 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:22	441	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:22	441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859933,8,1)
2023-10-13	12:25:22	441	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:22	441	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859933\":[1859933,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859933
2023-10-13	12:25:22	441	[DEBUG]	Checking category
2023-10-13	12:25:22	441	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:22	441	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859933
2023-10-13	12:25:22	441	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:22	441	[DEBUG]	Executed store
2023-10-13	12:25:22	441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859933','7281')
2023-10-13	12:25:22	441	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:22	441	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859933 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:22	441	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:22	441	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859933
2023-10-13	12:25:22	442	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:22	442	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:22	442	[DEBUG]	Use field value for field taille
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:22	442	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:22	442	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:22	442	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:22	442	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:22	442	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:22	442	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:22	442	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:22	442	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:22	442	[DEBUG]	Use field value for field published
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:22	442	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field override
2023-10-13	12:25:22	442	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:22	442	[DEBUG]	Use field value for field slug
2023-10-13	12:25:22	442	[DEBUG]	Process line 442
2023-10-13	12:25:22	442	[DEBUG]	Load a row
2023-10-13	12:25:22	442	[DEBUG]	Processing item: 1000000155136
2023-10-13	12:25:22	442	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:22	442	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:22	442	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8524_696'
2023-10-13	12:25:22	442	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:22	442	[DEBUG]	Processing product tax
2023-10-13	12:25:22	442	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:22	442	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:22	442	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:22	442	[DEBUG]	Query for Product
2023-10-13	12:25:22	442	[DEBUG]	Executed store
2023-10-13	12:25:22	442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859933','1000000155136','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:22	442	[DEBUG]	No parent found
2023-10-13	12:25:22	442	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859933 AND customfield_value = 'stockable'
2023-10-13	12:25:22	442	[DEBUG]	Check product language entry
2023-10-13	12:25:22	442	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859934
2023-10-13	12:25:22	442	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:22	442	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000155136' AND `virtuemart_product_id` != 1859934
2023-10-13	12:25:22	442	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:22	442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859934, '1000000155136')
2023-10-13	12:25:22	442	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:22	442	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-manta-deep-blue-white-54-58' AND `virtuemart_product_id` != 1859934
2023-10-13	12:25:22	442	[DEBUG]	Query for ProductLang
2023-10-13	12:25:22	442	[DEBUG]	Executed store
2023-10-13	12:25:22	442	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque route Manta / Deep Blue White (54-58)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-manta-deep-blue-white-54-58' WHERE `virtuemart_product_id` = '1859934'
2023-10-13	12:25:22	442	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37310_casque_met_manta.jpg
2023-10-13	12:25:22	442	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:22	442	[DEBUG]	Process image file
2023-10-13	12:25:22	442	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:22	442	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:22	442	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37310_casque_met_manta.jpg
2023-10-13	12:25:22	442	[DEBUG]	Full name target: bcprisme/37310_casque_met_manta.jpg
2023-10-13	12:25:23	442	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:23	442	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37310_casque_met_manta.jpg'
2023-10-13	12:25:23	442	[DEBUG]	Query for Media
2023-10-13	12:25:23	442	[DEBUG]	Executed store
2023-10-13	12:25:23	442	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37310_casque_met_manta.jpg',`file_url_thumb`='bcprisme/37310_casque_met_manta.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498975'
2023-10-13	12:25:23	442	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:23	442	[DEBUG]	Executed store
2023-10-13	12:25:23	442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859934','1498975','1')
2023-10-13	12:25:23	442	[DEBUG]	Store product image relation
2023-10-13	12:25:23	442	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:23	442	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859934 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:23	442	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:23	442	[DEBUG]	Executed store
2023-10-13	12:25:23	442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859934','0','222.748375116063','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:23	442	[DEBUG]	Checking manufacturer
2023-10-13	12:25:23	442	[DEBUG]	Load a row
2023-10-13	12:25:23	442	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:23	442	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:23	442	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:23	442	[DEBUG]	Executed store
2023-10-13	12:25:23	442	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:23	442	[DEBUG]	Manufacturer exists
2023-10-13	12:25:23	442	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:23	442	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:23	442	[DEBUG]	Executed store
2023-10-13	12:25:23	442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859934','226')
2023-10-13	12:25:23	442	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:23	442	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:23	442	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859934 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:23	442	[DEBUG]	Store custom available field
2023-10-13	12:25:23	442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859934,3,'',1)
2023-10-13	12:25:23	442	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:23	442	[DEBUG]	Get existing row with customfield value 54-58
2023-10-13	12:25:23	442	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859934 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:23	442	[DEBUG]	Store custom available field
2023-10-13	12:25:23	442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859934,6,'54-58',3)
2023-10-13	12:25:23	442	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:23	442	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:23	442	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859933
2023-10-13	12:25:23	442	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:23	442	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n54-58\"}]|clabels=0|options={\"1859933\":[1859933,8,1,\"choisir la taille\"],\"1859934\":[\"54-58\"]}|' WHERE `virtuemart_product_id` = 1859933
2023-10-13	12:25:23	442	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:23	442	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859934
2023-10-13	12:25:23	443	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:23	443	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:23	443	[DEBUG]	Use field value for field taille
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:23	443	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:23	443	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:23	443	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:23	443	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:23	443	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:23	443	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:23	443	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:23	443	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:23	443	[DEBUG]	Use field value for field published
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:23	443	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field override
2023-10-13	12:25:23	443	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:23	443	[DEBUG]	Use field value for field slug
2023-10-13	12:25:23	443	[DEBUG]	Process line 443
2023-10-13	12:25:23	443	[DEBUG]	Load a row
2023-10-13	12:25:23	443	[DEBUG]	Processing item: ¨C1010801519025181310V180216
2023-10-13	12:25:23	443	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:23	443	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:23	443	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8524_696'
2023-10-13	12:25:23	443	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:23	443	[DEBUG]	Processing product tax
2023-10-13	12:25:23	443	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:23	443	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:23	443	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:23	443	[DEBUG]	Query for Product
2023-10-13	12:25:23	443	[DEBUG]	Executed store
2023-10-13	12:25:23	443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859933','¨C1010801519025181310V180216','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:23	443	[DEBUG]	No parent found
2023-10-13	12:25:23	443	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859933 AND customfield_value = 'stockable'
2023-10-13	12:25:23	443	[DEBUG]	Check product language entry
2023-10-13	12:25:23	443	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859935
2023-10-13	12:25:23	443	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:23	443	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '¨C1010801519025181310V180216' AND `virtuemart_product_id` != 1859935
2023-10-13	12:25:23	443	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:23	443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859935, '¨C1010801519025181310V180216')
2023-10-13	12:25:23	443	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:23	443	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-manta-deep-blue-white-58-62' AND `virtuemart_product_id` != 1859935
2023-10-13	12:25:23	443	[DEBUG]	Query for ProductLang
2023-10-13	12:25:23	443	[DEBUG]	Executed store
2023-10-13	12:25:23	443	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque route Manta / Deep Blue White (58-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-manta-deep-blue-white-58-62' WHERE `virtuemart_product_id` = '1859935'
2023-10-13	12:25:23	443	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37310_casque_met_manta.jpg
2023-10-13	12:25:23	443	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:23	443	[DEBUG]	Process image file
2023-10-13	12:25:23	443	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:23	443	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:23	443	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37310_casque_met_manta.jpg
2023-10-13	12:25:23	443	[DEBUG]	Full name target: bcprisme/37310_casque_met_manta.jpg
2023-10-13	12:25:25	443	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:25	443	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37310_casque_met_manta.jpg'
2023-10-13	12:25:25	443	[DEBUG]	Query for Media
2023-10-13	12:25:25	443	[DEBUG]	Executed store
2023-10-13	12:25:25	443	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37310_casque_met_manta.jpg',`file_url_thumb`='bcprisme/37310_casque_met_manta.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498975'
2023-10-13	12:25:25	443	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:25	443	[DEBUG]	Executed store
2023-10-13	12:25:25	443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859935','1498975','1')
2023-10-13	12:25:25	443	[DEBUG]	Store product image relation
2023-10-13	12:25:25	443	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:25	443	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859935 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:25	443	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:25	443	[DEBUG]	Executed store
2023-10-13	12:25:25	443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859935','0','222.748375116063','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:25	443	[DEBUG]	Checking manufacturer
2023-10-13	12:25:25	443	[DEBUG]	Load a row
2023-10-13	12:25:25	443	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:25	443	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:25	443	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:25	443	[DEBUG]	Executed store
2023-10-13	12:25:25	443	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:25	443	[DEBUG]	Manufacturer exists
2023-10-13	12:25:25	443	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:25	443	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:25	443	[DEBUG]	Executed store
2023-10-13	12:25:25	443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859935','226')
2023-10-13	12:25:25	443	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:25	443	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:25	443	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859935 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:25	443	[DEBUG]	Store custom available field
2023-10-13	12:25:25	443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859935,3,'',1)
2023-10-13	12:25:25	443	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:25	443	[DEBUG]	Get existing row with customfield value 58-62
2023-10-13	12:25:25	443	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859935 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:25	443	[DEBUG]	Store custom available field
2023-10-13	12:25:25	443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859935,6,'58-62',3)
2023-10-13	12:25:25	443	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:25	443	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:25	443	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859933
2023-10-13	12:25:25	443	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:25	443	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n54-58\\r\\n58-62\"}]|clabels=0|options={\"1859933\":[1859933,8,1,\"choisir la taille\"],\"1859934\":[\"54-58\"],\"1859935\":[\"58-62\"]}|' WHERE `virtuemart_product_id` = 1859933
2023-10-13	12:25:25	443	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:25	443	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859935
2023-10-13	12:25:25	444	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:25	444	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:25	444	[DEBUG]	Use field value for field taille
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:25	444	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:25	444	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:25	444	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:25	444	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:25	444	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:25	444	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:25	444	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:25	444	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:25	444	[DEBUG]	Use field value for field published
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:25	444	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field override
2023-10-13	12:25:25	444	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:25	444	[DEBUG]	Use field value for field slug
2023-10-13	12:25:25	444	[DEBUG]	Process line 444
2023-10-13	12:25:25	444	[DEBUG]	Load a row
2023-10-13	12:25:25	444	[DEBUG]	Processing item: 1000000155150
2023-10-13	12:25:25	444	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:25	444	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:25	444	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8524_696'
2023-10-13	12:25:25	444	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:25	444	[DEBUG]	Processing product tax
2023-10-13	12:25:25	444	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:25	444	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:25	444	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:25	444	[DEBUG]	Query for Product
2023-10-13	12:25:25	444	[DEBUG]	Executed store
2023-10-13	12:25:25	444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859933','1000000155150','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:25	444	[DEBUG]	No parent found
2023-10-13	12:25:25	444	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859933 AND customfield_value = 'stockable'
2023-10-13	12:25:25	444	[DEBUG]	Check product language entry
2023-10-13	12:25:25	444	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859936
2023-10-13	12:25:25	444	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:25	444	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000155150' AND `virtuemart_product_id` != 1859936
2023-10-13	12:25:25	444	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:25	444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859936, '1000000155150')
2023-10-13	12:25:25	444	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:25	444	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-manta-deep-blue-white-50-54' AND `virtuemart_product_id` != 1859936
2023-10-13	12:25:25	444	[DEBUG]	Query for ProductLang
2023-10-13	12:25:25	444	[DEBUG]	Executed store
2023-10-13	12:25:25	444	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque route Manta / Deep Blue White (50-54)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-manta-deep-blue-white-50-54' WHERE `virtuemart_product_id` = '1859936'
2023-10-13	12:25:25	444	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37310_casque_met_manta.jpg
2023-10-13	12:25:25	444	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:25	444	[DEBUG]	Process image file
2023-10-13	12:25:25	444	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:25	444	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:25	444	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37310_casque_met_manta.jpg
2023-10-13	12:25:25	444	[DEBUG]	Full name target: bcprisme/37310_casque_met_manta.jpg
2023-10-13	12:25:26	444	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:26	444	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37310_casque_met_manta.jpg'
2023-10-13	12:25:26	444	[DEBUG]	Query for Media
2023-10-13	12:25:26	444	[DEBUG]	Executed store
2023-10-13	12:25:26	444	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37310_casque_met_manta.jpg',`file_url_thumb`='bcprisme/37310_casque_met_manta.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498975'
2023-10-13	12:25:26	444	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:26	444	[DEBUG]	Executed store
2023-10-13	12:25:26	444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859936','1498975','1')
2023-10-13	12:25:26	444	[DEBUG]	Store product image relation
2023-10-13	12:25:26	444	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:26	444	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859936 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:26	444	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:26	444	[DEBUG]	Executed store
2023-10-13	12:25:26	444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859936','0','222.748375116063','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:26	444	[DEBUG]	Checking manufacturer
2023-10-13	12:25:26	444	[DEBUG]	Load a row
2023-10-13	12:25:26	444	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:26	444	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:26	444	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:26	444	[DEBUG]	Executed store
2023-10-13	12:25:26	444	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:26	444	[DEBUG]	Manufacturer exists
2023-10-13	12:25:26	444	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:26	444	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:26	444	[DEBUG]	Executed store
2023-10-13	12:25:26	444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859936','226')
2023-10-13	12:25:26	444	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:26	444	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:26	444	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859936 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:26	444	[DEBUG]	Store custom available field
2023-10-13	12:25:26	444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859936,3,'',1)
2023-10-13	12:25:26	444	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:26	444	[DEBUG]	Get existing row with customfield value 50-54
2023-10-13	12:25:26	444	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859936 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:26	444	[DEBUG]	Store custom available field
2023-10-13	12:25:26	444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859936,6,'50-54',3)
2023-10-13	12:25:26	444	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:26	444	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:26	444	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859933
2023-10-13	12:25:26	444	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:26	444	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n54-58\\r\\n58-62\\r\\n50-54\"}]|clabels=0|options={\"1859933\":[1859933,8,1,\"choisir la taille\"],\"1859934\":[\"54-58\"],\"1859935\":[\"58-62\"],\"1859936\":[\"50-54\"]}|' WHERE `virtuemart_product_id` = 1859933
2023-10-13	12:25:26	444	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:26	444	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859936
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:26	445	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field taille
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:26	445	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:26	445	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:26	445	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:26	445	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:26	445	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:26	445	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field published
2023-10-13	12:25:26	445	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:26	445	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field override
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:26	445	[DEBUG]	Use field value for field slug
2023-10-13	12:25:26	445	[DEBUG]	Process line 445
2023-10-13	12:25:26	445	[DEBUG]	Load a row
2023-10-13	12:25:26	445	[DEBUG]	Processing item: A_8524_723
2023-10-13	12:25:26	445	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:26	445	[DEBUG]	Processing product tax
2023-10-13	12:25:26	445	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:26	445	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:26	445	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:26	445	[DEBUG]	Query for Product
2023-10-13	12:25:26	445	[DEBUG]	Executed store
2023-10-13	12:25:26	445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8524_723','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:26	445	[DEBUG]	Check product language entry
2023-10-13	12:25:26	445	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859937
2023-10-13	12:25:26	445	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:26	445	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8524_723' AND `virtuemart_product_id` != 1859937
2023-10-13	12:25:26	445	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:26	445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859937, 'A_8524_723')
2023-10-13	12:25:26	445	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:26	445	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-manta-white-matt' AND `virtuemart_product_id` != 1859937
2023-10-13	12:25:26	445	[DEBUG]	Query for ProductLang
2023-10-13	12:25:26	445	[DEBUG]	Executed store
2023-10-13	12:25:26	445	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Manta de MET est avec ses 200 g l\'un des casques fermés les plus légers. En plus du poids, il permet d\'économiser jusqu\'à 10 Watt de puissance à 50 km/h grâce à son design aérodynamique comparé à d\'autres casques tout en offrant une sécurité conforme aux standards les plus élevés.<br><br>Caractéristiques:<br><br>Casque aéro léger avec seulement 200 g<br>Construction In-Mold Intelligent Fusion- et HES (Squelette Homothétique Intégré)<br>Système de réglage Safe-T Advanced, 25% plus léger que Safe-T Smart<br>Sangles Air Lite légères et aérodynamiques<br>Mousses Coolmax<br>Compatible avec éclairage USB MET<br>Sac de casque en Néoprène inclus<br>Facteur de refroidissement: 6,5 (sur 10)<br>HCS (surface de contact entre la tête et le casque): 50 %<br>N° art fourn : 720.012.008',`product_name`='MET Casque route Manta / White matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-manta-white-matt' WHERE `virtuemart_product_id` = '1859937'
2023-10-13	12:25:26	445	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39033_casque_met_manta.jpg
2023-10-13	12:25:26	445	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:26	445	[DEBUG]	Process image file
2023-10-13	12:25:26	445	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:26	445	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:26	445	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39033_casque_met_manta.jpg
2023-10-13	12:25:26	445	[DEBUG]	Full name target: bcprisme/39033_casque_met_manta.jpg
2023-10-13	12:25:27	445	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:27	445	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39033_casque_met_manta.jpg'
2023-10-13	12:25:27	445	[DEBUG]	Query for Media
2023-10-13	12:25:27	445	[DEBUG]	Executed store
2023-10-13	12:25:27	445	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39033_casque_met_manta.jpg',`file_url_thumb`='bcprisme/39033_casque_met_manta.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498979'
2023-10-13	12:25:27	445	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:27	445	[DEBUG]	Executed store
2023-10-13	12:25:27	445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859937','1498979','1')
2023-10-13	12:25:27	445	[DEBUG]	Store product image relation
2023-10-13	12:25:27	445	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:27	445	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859937 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:27	445	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:27	445	[DEBUG]	Executed store
2023-10-13	12:25:27	445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859937','0','222.748375116063','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:27	445	[DEBUG]	Checking manufacturer
2023-10-13	12:25:27	445	[DEBUG]	Load a row
2023-10-13	12:25:27	445	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:27	445	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:27	445	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:27	445	[DEBUG]	Executed store
2023-10-13	12:25:27	445	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:27	445	[DEBUG]	Manufacturer exists
2023-10-13	12:25:27	445	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:27	445	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:27	445	[DEBUG]	Executed store
2023-10-13	12:25:27	445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859937','226')
2023-10-13	12:25:27	445	[DEBUG]	Find the custom field ID
2023-10-13	12:25:27	445	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:27	445	[DEBUG]	No custom field ID found
2023-10-13	12:25:27	445	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:27	445	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:25:27	445	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859937 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:27	445	[DEBUG]	Store custom available field
2023-10-13	12:25:27	445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859937,3,'69.7058333333334',1)
2023-10-13	12:25:27	445	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:27	445	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:27	445	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859937 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:27	445	[DEBUG]	Store custom available field
2023-10-13	12:25:27	445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859937,6,'choisir la taille',3)
2023-10-13	12:25:27	445	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:27	445	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:27	445	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:27	445	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:27	445	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859937 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:27	445	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:27	445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859937,8,1)
2023-10-13	12:25:27	445	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:27	445	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859937\":[1859937,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859937
2023-10-13	12:25:27	445	[DEBUG]	Checking category
2023-10-13	12:25:27	445	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:27	445	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859937
2023-10-13	12:25:27	445	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:27	445	[DEBUG]	Executed store
2023-10-13	12:25:27	445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859937','7281')
2023-10-13	12:25:27	445	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:27	445	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859937 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:27	445	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:27	445	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859937
2023-10-13	12:25:27	446	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:27	446	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:27	446	[DEBUG]	Use field value for field taille
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:27	446	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:27	446	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:27	446	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:27	446	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:27	446	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:27	446	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:27	446	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:27	446	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:27	446	[DEBUG]	Use field value for field published
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:27	446	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field override
2023-10-13	12:25:27	446	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:27	446	[DEBUG]	Use field value for field slug
2023-10-13	12:25:27	446	[DEBUG]	Process line 446
2023-10-13	12:25:27	446	[DEBUG]	Load a row
2023-10-13	12:25:27	446	[DEBUG]	Processing item: ¨C1010801519025811910V180480
2023-10-13	12:25:27	446	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:27	446	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:27	446	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8524_723'
2023-10-13	12:25:27	446	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:27	446	[DEBUG]	Processing product tax
2023-10-13	12:25:27	446	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:27	446	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:27	446	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:27	446	[DEBUG]	Query for Product
2023-10-13	12:25:27	446	[DEBUG]	Executed store
2023-10-13	12:25:27	446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859937','¨C1010801519025811910V180480','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:27	446	[DEBUG]	No parent found
2023-10-13	12:25:27	446	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859937 AND customfield_value = 'stockable'
2023-10-13	12:25:27	446	[DEBUG]	Check product language entry
2023-10-13	12:25:27	446	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859938
2023-10-13	12:25:27	446	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:27	446	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '¨C1010801519025811910V180480' AND `virtuemart_product_id` != 1859938
2023-10-13	12:25:27	446	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:27	446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859938, '¨C1010801519025811910V180480')
2023-10-13	12:25:27	446	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:27	446	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-manta-white-matt-58-62' AND `virtuemart_product_id` != 1859938
2023-10-13	12:25:27	446	[DEBUG]	Query for ProductLang
2023-10-13	12:25:27	446	[DEBUG]	Executed store
2023-10-13	12:25:27	446	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque route Manta / White matt (58-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-manta-white-matt-58-62' WHERE `virtuemart_product_id` = '1859938'
2023-10-13	12:25:27	446	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39033_casque_met_manta.jpg
2023-10-13	12:25:27	446	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:27	446	[DEBUG]	Process image file
2023-10-13	12:25:27	446	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:27	446	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:27	446	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39033_casque_met_manta.jpg
2023-10-13	12:25:27	446	[DEBUG]	Full name target: bcprisme/39033_casque_met_manta.jpg
2023-10-13	12:25:28	446	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:28	446	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39033_casque_met_manta.jpg'
2023-10-13	12:25:28	446	[DEBUG]	Query for Media
2023-10-13	12:25:28	446	[DEBUG]	Executed store
2023-10-13	12:25:28	446	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39033_casque_met_manta.jpg',`file_url_thumb`='bcprisme/39033_casque_met_manta.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498979'
2023-10-13	12:25:28	446	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:28	446	[DEBUG]	Executed store
2023-10-13	12:25:28	446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859938','1498979','1')
2023-10-13	12:25:28	446	[DEBUG]	Store product image relation
2023-10-13	12:25:28	446	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:28	446	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859938 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:28	446	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:28	446	[DEBUG]	Executed store
2023-10-13	12:25:28	446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859938','0','222.748375116063','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:28	446	[DEBUG]	Checking manufacturer
2023-10-13	12:25:28	446	[DEBUG]	Load a row
2023-10-13	12:25:28	446	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:28	446	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:28	446	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:28	446	[DEBUG]	Executed store
2023-10-13	12:25:28	446	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:28	446	[DEBUG]	Manufacturer exists
2023-10-13	12:25:28	446	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:28	446	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:28	446	[DEBUG]	Executed store
2023-10-13	12:25:28	446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859938','226')
2023-10-13	12:25:28	446	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:28	446	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:28	446	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859938 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:28	446	[DEBUG]	Store custom available field
2023-10-13	12:25:28	446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859938,3,'',1)
2023-10-13	12:25:28	446	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:28	446	[DEBUG]	Get existing row with customfield value 58-62
2023-10-13	12:25:28	446	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859938 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:28	446	[DEBUG]	Store custom available field
2023-10-13	12:25:28	446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859938,6,'58-62',3)
2023-10-13	12:25:28	446	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:28	446	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:28	446	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859937
2023-10-13	12:25:28	446	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:28	446	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n58-62\"}]|clabels=0|options={\"1859937\":[1859937,8,1,\"choisir la taille\"],\"1859938\":[\"58-62\"]}|' WHERE `virtuemart_product_id` = 1859937
2023-10-13	12:25:28	446	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:28	446	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859938
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:28	447	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field taille
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:28	447	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:28	447	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:28	447	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:28	447	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:28	447	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:28	447	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field published
2023-10-13	12:25:28	447	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:28	447	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field override
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:28	447	[DEBUG]	Use field value for field slug
2023-10-13	12:25:28	447	[DEBUG]	Process line 447
2023-10-13	12:25:28	447	[DEBUG]	Load a row
2023-10-13	12:25:28	447	[DEBUG]	Processing item: A_8524_823
2023-10-13	12:25:28	447	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:28	447	[DEBUG]	Processing product tax
2023-10-13	12:25:28	447	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:28	447	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:28	447	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:28	447	[DEBUG]	Query for Product
2023-10-13	12:25:28	447	[DEBUG]	Executed store
2023-10-13	12:25:28	447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8524_823','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:28	447	[DEBUG]	Check product language entry
2023-10-13	12:25:28	447	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859939
2023-10-13	12:25:28	447	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:28	447	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8524_823' AND `virtuemart_product_id` != 1859939
2023-10-13	12:25:28	447	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:28	447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859939, 'A_8524_823')
2023-10-13	12:25:28	447	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:28	447	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-manta-shaded-black-white-matt' AND `virtuemart_product_id` != 1859939
2023-10-13	12:25:28	447	[DEBUG]	Query for ProductLang
2023-10-13	12:25:28	447	[DEBUG]	Executed store
2023-10-13	12:25:28	447	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Manta de MET est avec ses 200 g l\'un des casques fermés les plus légers. En plus du poids, il permet d\'économiser jusqu\'à 10 Watt de puissance à 50 km/h grâce à son design aérodynamique comparé à d\'autres casques tout en offrant une sécurité conforme aux standards les plus élevés.<br><br>Caractéristiques:<br><br>Casque aéro léger avec seulement 200 g<br>Construction In-Mold Intelligent Fusion- et HES (Squelette Homothétique Intégré)<br>Système de réglage Safe-T Advanced, 25% plus léger que Safe-T Smart<br>Sangles Air Lite légères et aérodynamiques<br>Mousses Coolmax<br>Compatible avec éclairage USB MET<br>Sac de casque en Néoprène inclus<br>Facteur de refroidissement: 6,5 (sur 10)<br>HCS (surface de contact entre la tête et le casque): 50 %<br>N° art fourn : 720.012.008',`product_name`='MET Casque route Manta / Shaded Black/White Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-manta-shaded-black-white-matt' WHERE `virtuemart_product_id` = '1859939'
2023-10-13	12:25:28	447	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39034_casque_met_manta.jpg
2023-10-13	12:25:28	447	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:28	447	[DEBUG]	Process image file
2023-10-13	12:25:28	447	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:28	447	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:28	447	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39034_casque_met_manta.jpg
2023-10-13	12:25:28	447	[DEBUG]	Full name target: bcprisme/39034_casque_met_manta.jpg
2023-10-13	12:25:29	447	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:29	447	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39034_casque_met_manta.jpg'
2023-10-13	12:25:29	447	[DEBUG]	Query for Media
2023-10-13	12:25:29	447	[DEBUG]	Executed store
2023-10-13	12:25:29	447	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39034_casque_met_manta.jpg',`file_url_thumb`='bcprisme/39034_casque_met_manta.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498981'
2023-10-13	12:25:29	447	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:29	447	[DEBUG]	Executed store
2023-10-13	12:25:29	447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859939','1498981','1')
2023-10-13	12:25:29	447	[DEBUG]	Store product image relation
2023-10-13	12:25:29	447	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:29	447	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859939 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:29	447	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:29	447	[DEBUG]	Executed store
2023-10-13	12:25:29	447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859939','0','222.748375116063','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:29	447	[DEBUG]	Checking manufacturer
2023-10-13	12:25:29	447	[DEBUG]	Load a row
2023-10-13	12:25:29	447	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:29	447	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:29	447	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:29	447	[DEBUG]	Executed store
2023-10-13	12:25:29	447	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:29	447	[DEBUG]	Manufacturer exists
2023-10-13	12:25:29	447	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:29	447	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:29	447	[DEBUG]	Executed store
2023-10-13	12:25:29	447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859939','226')
2023-10-13	12:25:29	447	[DEBUG]	Find the custom field ID
2023-10-13	12:25:29	447	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:29	447	[DEBUG]	No custom field ID found
2023-10-13	12:25:29	447	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:29	447	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:25:29	447	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859939 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:29	447	[DEBUG]	Store custom available field
2023-10-13	12:25:29	447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859939,3,'69.7058333333334',1)
2023-10-13	12:25:29	447	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:29	447	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:29	447	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859939 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:29	447	[DEBUG]	Store custom available field
2023-10-13	12:25:29	447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859939,6,'choisir la taille',3)
2023-10-13	12:25:29	447	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:29	447	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:29	447	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:29	447	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:29	447	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859939 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:29	447	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:29	447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859939,8,1)
2023-10-13	12:25:29	447	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:29	447	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859939\":[1859939,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859939
2023-10-13	12:25:29	447	[DEBUG]	Checking category
2023-10-13	12:25:29	447	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:29	447	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859939
2023-10-13	12:25:29	447	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:29	447	[DEBUG]	Executed store
2023-10-13	12:25:29	447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859939','7281')
2023-10-13	12:25:29	447	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:29	447	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859939 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:29	447	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:29	447	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859939
2023-10-13	12:25:29	448	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:29	448	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:29	448	[DEBUG]	Use field value for field taille
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:29	448	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:29	448	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:29	448	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:29	448	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:29	448	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:29	448	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:29	448	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:29	448	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:29	448	[DEBUG]	Use field value for field published
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:29	448	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field override
2023-10-13	12:25:29	448	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:29	448	[DEBUG]	Use field value for field slug
2023-10-13	12:25:29	448	[DEBUG]	Process line 448
2023-10-13	12:25:29	448	[DEBUG]	Load a row
2023-10-13	12:25:29	448	[DEBUG]	Processing item: ¨C1010801519024597310V180216
2023-10-13	12:25:29	448	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:29	448	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:29	448	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8524_823'
2023-10-13	12:25:29	448	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:29	448	[DEBUG]	Processing product tax
2023-10-13	12:25:29	448	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:29	448	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:29	448	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:29	448	[DEBUG]	Query for Product
2023-10-13	12:25:29	448	[DEBUG]	Executed store
2023-10-13	12:25:29	448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859939','¨C1010801519024597310V180216','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:29	448	[DEBUG]	No parent found
2023-10-13	12:25:29	448	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859939 AND customfield_value = 'stockable'
2023-10-13	12:25:29	448	[DEBUG]	Check product language entry
2023-10-13	12:25:29	448	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859940
2023-10-13	12:25:29	448	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:29	448	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '¨C1010801519024597310V180216' AND `virtuemart_product_id` != 1859940
2023-10-13	12:25:29	448	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:29	448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859940, '¨C1010801519024597310V180216')
2023-10-13	12:25:29	448	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:29	448	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-manta-shaded-black-white-matt-58-62' AND `virtuemart_product_id` != 1859940
2023-10-13	12:25:29	448	[DEBUG]	Query for ProductLang
2023-10-13	12:25:29	448	[DEBUG]	Executed store
2023-10-13	12:25:29	448	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque route Manta / Shaded Black/White Matt (58-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-manta-shaded-black-white-matt-58-62' WHERE `virtuemart_product_id` = '1859940'
2023-10-13	12:25:29	448	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39034_casque_met_manta.jpg
2023-10-13	12:25:29	448	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:29	448	[DEBUG]	Process image file
2023-10-13	12:25:29	448	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:29	448	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:29	448	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39034_casque_met_manta.jpg
2023-10-13	12:25:29	448	[DEBUG]	Full name target: bcprisme/39034_casque_met_manta.jpg
2023-10-13	12:25:30	448	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:30	448	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39034_casque_met_manta.jpg'
2023-10-13	12:25:30	448	[DEBUG]	Query for Media
2023-10-13	12:25:30	448	[DEBUG]	Executed store
2023-10-13	12:25:30	448	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39034_casque_met_manta.jpg',`file_url_thumb`='bcprisme/39034_casque_met_manta.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498981'
2023-10-13	12:25:30	448	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:30	448	[DEBUG]	Executed store
2023-10-13	12:25:30	448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859940','1498981','1')
2023-10-13	12:25:30	448	[DEBUG]	Store product image relation
2023-10-13	12:25:30	448	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:30	448	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859940 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:30	448	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:30	448	[DEBUG]	Executed store
2023-10-13	12:25:30	448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859940','0','222.748375116063','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:30	448	[DEBUG]	Checking manufacturer
2023-10-13	12:25:30	448	[DEBUG]	Load a row
2023-10-13	12:25:30	448	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:30	448	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:30	448	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:30	448	[DEBUG]	Executed store
2023-10-13	12:25:30	448	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:30	448	[DEBUG]	Manufacturer exists
2023-10-13	12:25:30	448	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:30	448	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:30	448	[DEBUG]	Executed store
2023-10-13	12:25:30	448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859940','226')
2023-10-13	12:25:30	448	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:30	448	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:30	448	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859940 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:30	448	[DEBUG]	Store custom available field
2023-10-13	12:25:30	448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859940,3,'',1)
2023-10-13	12:25:30	448	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:30	448	[DEBUG]	Get existing row with customfield value 58-62
2023-10-13	12:25:30	448	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859940 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:30	448	[DEBUG]	Store custom available field
2023-10-13	12:25:30	448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859940,6,'58-62',3)
2023-10-13	12:25:30	448	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:30	448	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:30	448	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859939
2023-10-13	12:25:30	448	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:30	448	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n58-62\"}]|clabels=0|options={\"1859939\":[1859939,8,1,\"choisir la taille\"],\"1859940\":[\"58-62\"]}|' WHERE `virtuemart_product_id` = 1859939
2023-10-13	12:25:30	448	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:30	448	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859940
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:30	449	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field taille
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:30	449	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:30	449	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:30	449	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:30	449	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:30	449	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:30	449	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field published
2023-10-13	12:25:30	449	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:30	449	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field override
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:30	449	[DEBUG]	Use field value for field slug
2023-10-13	12:25:30	449	[DEBUG]	Process line 449
2023-10-13	12:25:30	449	[DEBUG]	Load a row
2023-10-13	12:25:30	449	[DEBUG]	Processing item: A_8679_87
2023-10-13	12:25:30	449	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:30	449	[DEBUG]	Processing product tax
2023-10-13	12:25:30	449	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:30	449	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:30	449	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:30	449	[DEBUG]	Query for Product
2023-10-13	12:25:30	449	[DEBUG]	Executed store
2023-10-13	12:25:30	449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8679_87','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:30	449	[DEBUG]	Check product language entry
2023-10-13	12:25:30	449	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859941
2023-10-13	12:25:30	449	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:30	449	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8679_87' AND `virtuemart_product_id` != 1859941
2023-10-13	12:25:30	449	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:30	449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859941, 'A_8679_87')
2023-10-13	12:25:30	449	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:30	449	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-rivale-mips-white' AND `virtuemart_product_id` != 1859941
2023-10-13	12:25:30	449	[DEBUG]	Query for ProductLang
2023-10-13	12:25:30	449	[DEBUG]	Executed store
2023-10-13	12:25:30	449	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Rival Mips offre des performances supérieures et un design élégant sur la route. Il peut être ajusté à la forme de ta tête grâce à son système d\'ajustement Safe-T Upsilon. En cas de chute, la technologie MIPS protège efficacement ta tête contre les forces de rotation. Les conduits internes fournissent une excellente ventilation.<br>Caractéristiques:<br>Système de protection du cerveau MIPS-C2®<br>Coque en polycarbonate In-Mould avec doublure EPS<br>Conduits de ventilation internes<br>Système d\'ajustement Safe-T Upsilon<br>Support pour lunettes de soleil<br>Système de ventilation aérodynamique NACA Vent<br>Sangle Air-Lite réglable par diviseurs<br>Coussinets Air-Mesh lavables à la main<br>Autocollants réfléchissants à l\'arrière<br>Certifications CE: AS/NZS: US<br>Tailles: S (52-56 cm), M (56-58 cm), L (58-61 cm)<br>Poids: 240 g (S), 250 g (M), 270 g (L)<br>N° art fourn : 720.031.006',`product_name`='MET Casque route Rivale Mips / White',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-rivale-mips-white' WHERE `virtuemart_product_id` = '1859941'
2023-10-13	12:25:30	449	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39170_casque_met_rivale_mips.jpg
2023-10-13	12:25:30	449	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:30	449	[DEBUG]	Process image file
2023-10-13	12:25:30	449	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:30	449	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:30	449	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39170_casque_met_rivale_mips.jpg
2023-10-13	12:25:30	449	[DEBUG]	Full name target: bcprisme/39170_casque_met_rivale_mips.jpg
2023-10-13	12:25:31	449	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:31	449	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39170_casque_met_rivale_mips.jpg'
2023-10-13	12:25:31	449	[DEBUG]	Query for Media
2023-10-13	12:25:31	449	[DEBUG]	Executed store
2023-10-13	12:25:31	449	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39170_casque_met_rivale_mips.jpg',`file_url_thumb`='bcprisme/39170_casque_met_rivale_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1584867'
2023-10-13	12:25:31	449	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:31	449	[DEBUG]	Executed store
2023-10-13	12:25:31	449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859941','1584867','1')
2023-10-13	12:25:31	449	[DEBUG]	Store product image relation
2023-10-13	12:25:31	449	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:31	449	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859941 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:31	449	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:31	449	[DEBUG]	Executed store
2023-10-13	12:25:31	449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859941','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:31	449	[DEBUG]	Checking manufacturer
2023-10-13	12:25:31	449	[DEBUG]	Load a row
2023-10-13	12:25:31	449	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:31	449	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:31	449	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:31	449	[DEBUG]	Executed store
2023-10-13	12:25:31	449	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:31	449	[DEBUG]	Manufacturer exists
2023-10-13	12:25:31	449	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:31	449	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:31	449	[DEBUG]	Executed store
2023-10-13	12:25:31	449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859941','226')
2023-10-13	12:25:31	449	[DEBUG]	Find the custom field ID
2023-10-13	12:25:31	449	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:31	449	[DEBUG]	No custom field ID found
2023-10-13	12:25:31	449	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:31	449	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:25:31	449	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859941 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:31	449	[DEBUG]	Store custom available field
2023-10-13	12:25:31	449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859941,3,'9.8725',1)
2023-10-13	12:25:31	449	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:31	449	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:31	449	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859941 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:31	449	[DEBUG]	Store custom available field
2023-10-13	12:25:31	449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859941,6,'choisir la taille',3)
2023-10-13	12:25:31	449	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:31	449	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:31	449	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:31	449	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:31	449	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859941 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:31	449	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:31	449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859941,8,1)
2023-10-13	12:25:31	449	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:31	449	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859941\":[1859941,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859941
2023-10-13	12:25:31	449	[DEBUG]	Checking category
2023-10-13	12:25:31	449	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:31	449	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859941
2023-10-13	12:25:31	449	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:31	449	[DEBUG]	Executed store
2023-10-13	12:25:31	449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859941','7281')
2023-10-13	12:25:31	449	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:31	449	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859941 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:31	449	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:31	449	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859941
2023-10-13	12:25:31	450	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:31	450	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:31	450	[DEBUG]	Use field value for field taille
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:31	450	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:31	450	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:31	450	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:31	450	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:31	450	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:31	450	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:31	450	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:31	450	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:31	450	[DEBUG]	Use field value for field published
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:31	450	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field override
2023-10-13	12:25:31	450	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:31	450	[DEBUG]	Use field value for field slug
2023-10-13	12:25:31	450	[DEBUG]	Process line 450
2023-10-13	12:25:31	450	[DEBUG]	Load a row
2023-10-13	12:25:31	450	[DEBUG]	Processing item: 1000016038867
2023-10-13	12:25:31	450	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:31	450	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:31	450	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8679_87'
2023-10-13	12:25:31	450	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:31	450	[DEBUG]	Processing product tax
2023-10-13	12:25:31	450	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:31	450	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:31	450	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:31	450	[DEBUG]	Query for Product
2023-10-13	12:25:31	450	[DEBUG]	Executed store
2023-10-13	12:25:31	450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859941','1000016038867','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:31	450	[DEBUG]	No parent found
2023-10-13	12:25:31	450	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859941 AND customfield_value = 'stockable'
2023-10-13	12:25:31	450	[DEBUG]	Check product language entry
2023-10-13	12:25:31	450	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859942
2023-10-13	12:25:31	450	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:31	450	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000016038867' AND `virtuemart_product_id` != 1859942
2023-10-13	12:25:31	450	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:31	450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859942, '1000016038867')
2023-10-13	12:25:31	450	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:31	450	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-rivale-mips-white-l' AND `virtuemart_product_id` != 1859942
2023-10-13	12:25:31	450	[DEBUG]	Query for ProductLang
2023-10-13	12:25:31	450	[DEBUG]	Executed store
2023-10-13	12:25:31	450	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque route Rivale Mips / White (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-rivale-mips-white-l' WHERE `virtuemart_product_id` = '1859942'
2023-10-13	12:25:31	450	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39170_casque_met_rivale_mips.jpg
2023-10-13	12:25:31	450	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:31	450	[DEBUG]	Process image file
2023-10-13	12:25:31	450	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:31	450	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:31	450	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39170_casque_met_rivale_mips.jpg
2023-10-13	12:25:31	450	[DEBUG]	Full name target: bcprisme/39170_casque_met_rivale_mips.jpg
2023-10-13	12:25:32	450	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:32	450	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39170_casque_met_rivale_mips.jpg'
2023-10-13	12:25:32	450	[DEBUG]	Query for Media
2023-10-13	12:25:32	450	[DEBUG]	Executed store
2023-10-13	12:25:32	450	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39170_casque_met_rivale_mips.jpg',`file_url_thumb`='bcprisme/39170_casque_met_rivale_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1584867'
2023-10-13	12:25:32	450	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:32	450	[DEBUG]	Executed store
2023-10-13	12:25:32	450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859942','1584867','1')
2023-10-13	12:25:32	450	[DEBUG]	Store product image relation
2023-10-13	12:25:32	450	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:32	450	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859942 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:32	450	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:32	450	[DEBUG]	Executed store
2023-10-13	12:25:32	450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859942','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:32	450	[DEBUG]	Checking manufacturer
2023-10-13	12:25:32	450	[DEBUG]	Load a row
2023-10-13	12:25:32	450	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:32	450	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:32	450	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:32	450	[DEBUG]	Executed store
2023-10-13	12:25:32	450	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:32	450	[DEBUG]	Manufacturer exists
2023-10-13	12:25:32	450	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:32	450	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:32	450	[DEBUG]	Executed store
2023-10-13	12:25:32	450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859942','226')
2023-10-13	12:25:32	450	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:32	450	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:32	450	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859942 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:32	450	[DEBUG]	Store custom available field
2023-10-13	12:25:32	450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859942,3,'',1)
2023-10-13	12:25:32	450	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:32	450	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:25:32	450	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859942 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:32	450	[DEBUG]	Store custom available field
2023-10-13	12:25:32	450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859942,6,'L',3)
2023-10-13	12:25:32	450	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:32	450	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:32	450	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859941
2023-10-13	12:25:32	450	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:32	450	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\"}]|clabels=0|options={\"1859941\":[1859941,8,1,\"choisir la taille\"],\"1859942\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1859941
2023-10-13	12:25:32	450	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:32	450	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859942
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:32	451	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field taille
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:32	451	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:32	451	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:32	451	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:32	451	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:32	451	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:32	451	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field published
2023-10-13	12:25:32	451	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:32	451	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field override
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:32	451	[DEBUG]	Use field value for field slug
2023-10-13	12:25:32	451	[DEBUG]	Process line 451
2023-10-13	12:25:32	451	[DEBUG]	Load a row
2023-10-13	12:25:32	451	[DEBUG]	Processing item: A_8679_704
2023-10-13	12:25:32	451	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:32	451	[DEBUG]	Processing product tax
2023-10-13	12:25:32	451	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:32	451	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:32	451	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:32	451	[DEBUG]	Query for Product
2023-10-13	12:25:32	451	[DEBUG]	Executed store
2023-10-13	12:25:32	451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8679_704','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:32	451	[DEBUG]	Check product language entry
2023-10-13	12:25:32	451	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859943
2023-10-13	12:25:32	451	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:32	451	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8679_704' AND `virtuemart_product_id` != 1859943
2023-10-13	12:25:32	451	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:32	451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859943, 'A_8679_704')
2023-10-13	12:25:32	451	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:32	451	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-rivale-mips-black-safety-yellow' AND `virtuemart_product_id` != 1859943
2023-10-13	12:25:32	451	[DEBUG]	Query for ProductLang
2023-10-13	12:25:32	451	[DEBUG]	Executed store
2023-10-13	12:25:32	451	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Rival Mips offre des performances supérieures et un design élégant sur la route. Il peut être ajusté à la forme de ta tête grâce à son système d\'ajustement Safe-T Upsilon. En cas de chute, la technologie MIPS protège efficacement ta tête contre les forces de rotation. Les conduits internes fournissent une excellente ventilation.<br>Caractéristiques:<br>Système de protection du cerveau MIPS-C2®<br>Coque en polycarbonate In-Mould avec doublure EPS<br>Conduits de ventilation internes<br>Système d\'ajustement Safe-T Upsilon<br>Support pour lunettes de soleil<br>Système de ventilation aérodynamique NACA Vent<br>Sangle Air-Lite réglable par diviseurs<br>Coussinets Air-Mesh lavables à la main<br>Autocollants réfléchissants à l\'arrière<br>Certifications CE: AS/NZS: US<br>Tailles: S (52-56 cm), M (56-58 cm), L (58-61 cm)<br>Poids: 240 g (S), 250 g (M), 270 g (L)<br>N° art fourn : 720.031.006',`product_name`='MET Casque route Rivale Mips / Black Safety Yellow',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-rivale-mips-black-safety-yellow' WHERE `virtuemart_product_id` = '1859943'
2023-10-13	12:25:32	451	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37636_casque_met_rival_mips.jpg
2023-10-13	12:25:32	451	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:32	451	[DEBUG]	Process image file
2023-10-13	12:25:32	451	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:32	451	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:32	451	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37636_casque_met_rival_mips.jpg
2023-10-13	12:25:32	451	[DEBUG]	Full name target: bcprisme/37636_casque_met_rival_mips.jpg
2023-10-13	12:25:33	451	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:33	451	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37636_casque_met_rival_mips.jpg'
2023-10-13	12:25:33	451	[DEBUG]	Query for Media
2023-10-13	12:25:33	451	[DEBUG]	Executed store
2023-10-13	12:25:33	451	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37636_casque_met_rival_mips.jpg',`file_url_thumb`='bcprisme/37636_casque_met_rival_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038597'
2023-10-13	12:25:33	451	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:33	451	[DEBUG]	Executed store
2023-10-13	12:25:33	451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859943','1038597','1')
2023-10-13	12:25:33	451	[DEBUG]	Store product image relation
2023-10-13	12:25:33	451	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:33	451	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859943 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:33	451	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:33	451	[DEBUG]	Executed store
2023-10-13	12:25:33	451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859943','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:33	451	[DEBUG]	Checking manufacturer
2023-10-13	12:25:33	451	[DEBUG]	Load a row
2023-10-13	12:25:33	451	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:33	451	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:33	451	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:33	451	[DEBUG]	Executed store
2023-10-13	12:25:33	451	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:33	451	[DEBUG]	Manufacturer exists
2023-10-13	12:25:33	451	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:33	451	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:33	451	[DEBUG]	Executed store
2023-10-13	12:25:33	451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859943','226')
2023-10-13	12:25:33	451	[DEBUG]	Find the custom field ID
2023-10-13	12:25:33	451	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:33	451	[DEBUG]	No custom field ID found
2023-10-13	12:25:33	451	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:33	451	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:25:33	451	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859943 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:33	451	[DEBUG]	Store custom available field
2023-10-13	12:25:33	451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859943,3,'9.8725',1)
2023-10-13	12:25:33	451	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:33	451	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:33	451	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859943 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:33	451	[DEBUG]	Store custom available field
2023-10-13	12:25:33	451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859943,6,'choisir la taille',3)
2023-10-13	12:25:33	451	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:33	451	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:33	451	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:33	451	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:33	451	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859943 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:33	451	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:33	451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859943,8,1)
2023-10-13	12:25:33	451	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:33	451	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859943\":[1859943,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859943
2023-10-13	12:25:33	451	[DEBUG]	Checking category
2023-10-13	12:25:33	451	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:33	451	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859943
2023-10-13	12:25:33	451	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:33	451	[DEBUG]	Executed store
2023-10-13	12:25:33	451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859943','7281')
2023-10-13	12:25:33	451	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:33	451	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859943 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:33	451	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:33	451	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859943
2023-10-13	12:25:33	452	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:33	452	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:33	452	[DEBUG]	Use field value for field taille
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:33	452	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:33	452	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:33	452	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:33	452	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:33	452	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:33	452	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:33	452	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:33	452	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:33	452	[DEBUG]	Use field value for field published
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:33	452	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field override
2023-10-13	12:25:33	452	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:33	452	[DEBUG]	Use field value for field slug
2023-10-13	12:25:33	452	[DEBUG]	Process line 452
2023-10-13	12:25:33	452	[DEBUG]	Load a row
2023-10-13	12:25:33	452	[DEBUG]	Processing item: 1000000160444
2023-10-13	12:25:33	452	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:33	452	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:33	452	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8679_704'
2023-10-13	12:25:33	452	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:33	452	[DEBUG]	Processing product tax
2023-10-13	12:25:33	452	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:33	452	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:33	452	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:33	452	[DEBUG]	Query for Product
2023-10-13	12:25:33	452	[DEBUG]	Executed store
2023-10-13	12:25:33	452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859943','1000000160444','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:33	452	[DEBUG]	No parent found
2023-10-13	12:25:33	452	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859943 AND customfield_value = 'stockable'
2023-10-13	12:25:33	452	[DEBUG]	Check product language entry
2023-10-13	12:25:33	452	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859944
2023-10-13	12:25:33	452	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:33	452	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000160444' AND `virtuemart_product_id` != 1859944
2023-10-13	12:25:33	452	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:33	452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859944, '1000000160444')
2023-10-13	12:25:33	452	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:33	452	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-rivale-mips-black-safety-yellow-l' AND `virtuemart_product_id` != 1859944
2023-10-13	12:25:33	452	[DEBUG]	Query for ProductLang
2023-10-13	12:25:33	452	[DEBUG]	Executed store
2023-10-13	12:25:33	452	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque route Rivale Mips / Black Safety Yellow (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-rivale-mips-black-safety-yellow-l' WHERE `virtuemart_product_id` = '1859944'
2023-10-13	12:25:33	452	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37636_casque_met_rival_mips.jpg
2023-10-13	12:25:33	452	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:33	452	[DEBUG]	Process image file
2023-10-13	12:25:33	452	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:33	452	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:33	452	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37636_casque_met_rival_mips.jpg
2023-10-13	12:25:33	452	[DEBUG]	Full name target: bcprisme/37636_casque_met_rival_mips.jpg
2023-10-13	12:25:34	452	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:34	452	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37636_casque_met_rival_mips.jpg'
2023-10-13	12:25:34	452	[DEBUG]	Query for Media
2023-10-13	12:25:34	452	[DEBUG]	Executed store
2023-10-13	12:25:34	452	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37636_casque_met_rival_mips.jpg',`file_url_thumb`='bcprisme/37636_casque_met_rival_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038597'
2023-10-13	12:25:34	452	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:34	452	[DEBUG]	Executed store
2023-10-13	12:25:34	452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859944','1038597','1')
2023-10-13	12:25:34	452	[DEBUG]	Store product image relation
2023-10-13	12:25:34	452	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:34	452	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859944 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:34	452	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:34	452	[DEBUG]	Executed store
2023-10-13	12:25:34	452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859944','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:34	452	[DEBUG]	Checking manufacturer
2023-10-13	12:25:34	452	[DEBUG]	Load a row
2023-10-13	12:25:34	452	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:34	452	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:34	452	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:34	452	[DEBUG]	Executed store
2023-10-13	12:25:34	452	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:34	452	[DEBUG]	Manufacturer exists
2023-10-13	12:25:34	452	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:34	452	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:34	452	[DEBUG]	Executed store
2023-10-13	12:25:34	452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859944','226')
2023-10-13	12:25:34	452	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:34	452	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:34	452	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859944 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:34	452	[DEBUG]	Store custom available field
2023-10-13	12:25:34	452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859944,3,'',1)
2023-10-13	12:25:34	452	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:34	452	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:25:34	452	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859944 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:34	452	[DEBUG]	Store custom available field
2023-10-13	12:25:34	452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859944,6,'L',3)
2023-10-13	12:25:34	452	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:34	452	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:34	452	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859943
2023-10-13	12:25:34	452	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:34	452	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\"}]|clabels=0|options={\"1859943\":[1859943,8,1,\"choisir la taille\"],\"1859944\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1859943
2023-10-13	12:25:34	452	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:34	452	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859944
2023-10-13	12:25:34	453	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:34	453	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:34	453	[DEBUG]	Use field value for field taille
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:34	453	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:34	453	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:34	453	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:34	453	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:34	453	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:34	453	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:34	453	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:34	453	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:34	453	[DEBUG]	Use field value for field published
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:34	453	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field override
2023-10-13	12:25:34	453	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:34	453	[DEBUG]	Use field value for field slug
2023-10-13	12:25:34	453	[DEBUG]	Process line 453
2023-10-13	12:25:34	453	[DEBUG]	Load a row
2023-10-13	12:25:34	453	[DEBUG]	Processing item: 1000000169973
2023-10-13	12:25:34	453	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:34	453	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:34	453	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8679_704'
2023-10-13	12:25:34	453	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:34	453	[DEBUG]	Processing product tax
2023-10-13	12:25:34	453	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:34	453	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:34	453	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:34	453	[DEBUG]	Query for Product
2023-10-13	12:25:34	453	[DEBUG]	Executed store
2023-10-13	12:25:34	453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859943','1000000169973','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:34	453	[DEBUG]	No parent found
2023-10-13	12:25:34	453	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859943 AND customfield_value = 'stockable'
2023-10-13	12:25:34	453	[DEBUG]	Check product language entry
2023-10-13	12:25:34	453	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859945
2023-10-13	12:25:34	453	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:34	453	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000169973' AND `virtuemart_product_id` != 1859945
2023-10-13	12:25:34	453	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:34	453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859945, '1000000169973')
2023-10-13	12:25:34	453	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:34	453	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-rivale-mips-black-safety-yellow-m' AND `virtuemart_product_id` != 1859945
2023-10-13	12:25:34	453	[DEBUG]	Query for ProductLang
2023-10-13	12:25:34	453	[DEBUG]	Executed store
2023-10-13	12:25:34	453	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque route Rivale Mips / Black Safety Yellow (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-rivale-mips-black-safety-yellow-m' WHERE `virtuemart_product_id` = '1859945'
2023-10-13	12:25:34	453	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37636_casque_met_rival_mips.jpg
2023-10-13	12:25:34	453	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:34	453	[DEBUG]	Process image file
2023-10-13	12:25:34	453	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:34	453	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:34	453	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37636_casque_met_rival_mips.jpg
2023-10-13	12:25:34	453	[DEBUG]	Full name target: bcprisme/37636_casque_met_rival_mips.jpg
2023-10-13	12:25:35	453	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:35	453	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37636_casque_met_rival_mips.jpg'
2023-10-13	12:25:35	453	[DEBUG]	Query for Media
2023-10-13	12:25:35	453	[DEBUG]	Executed store
2023-10-13	12:25:35	453	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37636_casque_met_rival_mips.jpg',`file_url_thumb`='bcprisme/37636_casque_met_rival_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038597'
2023-10-13	12:25:35	453	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:35	453	[DEBUG]	Executed store
2023-10-13	12:25:35	453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859945','1038597','1')
2023-10-13	12:25:35	453	[DEBUG]	Store product image relation
2023-10-13	12:25:35	453	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:35	453	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859945 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:35	453	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:35	453	[DEBUG]	Executed store
2023-10-13	12:25:35	453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859945','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:35	453	[DEBUG]	Checking manufacturer
2023-10-13	12:25:35	453	[DEBUG]	Load a row
2023-10-13	12:25:35	453	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:35	453	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:35	453	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:35	453	[DEBUG]	Executed store
2023-10-13	12:25:35	453	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:35	453	[DEBUG]	Manufacturer exists
2023-10-13	12:25:35	453	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:35	453	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:35	453	[DEBUG]	Executed store
2023-10-13	12:25:35	453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859945','226')
2023-10-13	12:25:35	453	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:35	453	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:35	453	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859945 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:35	453	[DEBUG]	Store custom available field
2023-10-13	12:25:35	453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859945,3,'',1)
2023-10-13	12:25:35	453	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:35	453	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:25:35	453	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859945 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:35	453	[DEBUG]	Store custom available field
2023-10-13	12:25:35	453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859945,6,'M',3)
2023-10-13	12:25:35	453	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:35	453	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:35	453	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859943
2023-10-13	12:25:35	453	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:35	453	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\\r\\nM\"}]|clabels=0|options={\"1859943\":[1859943,8,1,\"choisir la taille\"],\"1859944\":[\"L\"],\"1859945\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1859943
2023-10-13	12:25:35	453	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:35	453	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859945
2023-10-13	12:25:35	454	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:35	454	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:35	454	[DEBUG]	Use field value for field taille
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:35	454	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:35	454	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:35	454	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:35	454	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:35	454	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:35	454	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:35	454	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:35	454	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:35	454	[DEBUG]	Use field value for field published
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:35	454	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field override
2023-10-13	12:25:35	454	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:35	454	[DEBUG]	Use field value for field slug
2023-10-13	12:25:35	454	[DEBUG]	Process line 454
2023-10-13	12:25:35	454	[DEBUG]	Load a row
2023-10-13	12:25:35	454	[DEBUG]	Processing item: 1000000169980
2023-10-13	12:25:35	454	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:35	454	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:35	454	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8679_704'
2023-10-13	12:25:35	454	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:35	454	[DEBUG]	Processing product tax
2023-10-13	12:25:35	454	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:35	454	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:35	454	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:35	454	[DEBUG]	Query for Product
2023-10-13	12:25:35	454	[DEBUG]	Executed store
2023-10-13	12:25:35	454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859943','1000000169980','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:35	454	[DEBUG]	No parent found
2023-10-13	12:25:35	454	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859943 AND customfield_value = 'stockable'
2023-10-13	12:25:35	454	[DEBUG]	Check product language entry
2023-10-13	12:25:35	454	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859946
2023-10-13	12:25:35	454	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:35	454	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000169980' AND `virtuemart_product_id` != 1859946
2023-10-13	12:25:35	454	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:35	454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859946, '1000000169980')
2023-10-13	12:25:35	454	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:35	454	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-rivale-mips-black-safety-yellow-s' AND `virtuemart_product_id` != 1859946
2023-10-13	12:25:35	454	[DEBUG]	Query for ProductLang
2023-10-13	12:25:35	454	[DEBUG]	Executed store
2023-10-13	12:25:35	454	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque route Rivale Mips / Black Safety Yellow (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-rivale-mips-black-safety-yellow-s' WHERE `virtuemart_product_id` = '1859946'
2023-10-13	12:25:35	454	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37636_casque_met_rival_mips.jpg
2023-10-13	12:25:35	454	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:35	454	[DEBUG]	Process image file
2023-10-13	12:25:35	454	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:35	454	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:35	454	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37636_casque_met_rival_mips.jpg
2023-10-13	12:25:35	454	[DEBUG]	Full name target: bcprisme/37636_casque_met_rival_mips.jpg
2023-10-13	12:25:36	454	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:36	454	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37636_casque_met_rival_mips.jpg'
2023-10-13	12:25:36	454	[DEBUG]	Query for Media
2023-10-13	12:25:36	454	[DEBUG]	Executed store
2023-10-13	12:25:36	454	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37636_casque_met_rival_mips.jpg',`file_url_thumb`='bcprisme/37636_casque_met_rival_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038597'
2023-10-13	12:25:36	454	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:36	454	[DEBUG]	Executed store
2023-10-13	12:25:36	454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859946','1038597','1')
2023-10-13	12:25:36	454	[DEBUG]	Store product image relation
2023-10-13	12:25:36	454	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:36	454	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859946 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:36	454	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:36	454	[DEBUG]	Executed store
2023-10-13	12:25:36	454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859946','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:36	454	[DEBUG]	Checking manufacturer
2023-10-13	12:25:36	454	[DEBUG]	Load a row
2023-10-13	12:25:36	454	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:36	454	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:36	454	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:36	454	[DEBUG]	Executed store
2023-10-13	12:25:36	454	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:36	454	[DEBUG]	Manufacturer exists
2023-10-13	12:25:36	454	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:36	454	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:36	454	[DEBUG]	Executed store
2023-10-13	12:25:36	454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859946','226')
2023-10-13	12:25:36	454	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:36	454	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:36	454	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859946 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:36	454	[DEBUG]	Store custom available field
2023-10-13	12:25:36	454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859946,3,'',1)
2023-10-13	12:25:36	454	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:36	454	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:25:36	454	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859946 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:36	454	[DEBUG]	Store custom available field
2023-10-13	12:25:36	454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859946,6,'S',3)
2023-10-13	12:25:36	454	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:36	454	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:36	454	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859943
2023-10-13	12:25:36	454	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:36	454	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\\r\\nM\\r\\nS\"}]|clabels=0|options={\"1859943\":[1859943,8,1,\"choisir la taille\"],\"1859944\":[\"L\"],\"1859945\":[\"M\"],\"1859946\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1859943
2023-10-13	12:25:36	454	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:36	454	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859946
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:36	455	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field taille
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:36	455	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:36	455	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:36	455	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:36	455	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:36	455	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:36	455	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field published
2023-10-13	12:25:36	455	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:36	455	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field override
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:36	455	[DEBUG]	Use field value for field slug
2023-10-13	12:25:36	455	[DEBUG]	Process line 455
2023-10-13	12:25:36	455	[DEBUG]	Load a row
2023-10-13	12:25:36	455	[DEBUG]	Processing item: A_8679_711
2023-10-13	12:25:36	455	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:36	455	[DEBUG]	Processing product tax
2023-10-13	12:25:36	455	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:36	455	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:36	455	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:36	455	[DEBUG]	Query for Product
2023-10-13	12:25:36	455	[DEBUG]	Executed store
2023-10-13	12:25:36	455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8679_711','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:36	455	[DEBUG]	Check product language entry
2023-10-13	12:25:36	455	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859947
2023-10-13	12:25:36	455	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:36	455	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8679_711' AND `virtuemart_product_id` != 1859947
2023-10-13	12:25:36	455	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:36	455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859947, 'A_8679_711')
2023-10-13	12:25:36	455	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:36	455	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-rivale-mips-black-red-metallic' AND `virtuemart_product_id` != 1859947
2023-10-13	12:25:36	455	[DEBUG]	Query for ProductLang
2023-10-13	12:25:36	455	[DEBUG]	Executed store
2023-10-13	12:25:36	455	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Rival Mips offre des performances supérieures et un design élégant sur la route. Il peut être ajusté à la forme de ta tête grâce à son système d\'ajustement Safe-T Upsilon. En cas de chute, la technologie MIPS protège efficacement ta tête contre les forces de rotation. Les conduits internes fournissent une excellente ventilation.<br>Caractéristiques:<br>Système de protection du cerveau MIPS-C2®<br>Coque en polycarbonate In-Mould avec doublure EPS<br>Conduits de ventilation internes<br>Système d\'ajustement Safe-T Upsilon<br>Support pour lunettes de soleil<br>Système de ventilation aérodynamique NACA Vent<br>Sangle Air-Lite réglable par diviseurs<br>Coussinets Air-Mesh lavables à la main<br>Autocollants réfléchissants à l\'arrière<br>Certifications CE: AS/NZS: US<br>Tailles: S (52-56 cm), M (56-58 cm), L (58-61 cm)<br>Poids: 240 g (S), 250 g (M), 270 g (L)<br>N° art fourn : 720.031.006',`product_name`='MET Casque route Rivale Mips / Black-Red-Metallic',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-rivale-mips-black-red-metallic' WHERE `virtuemart_product_id` = '1859947'
2023-10-13	12:25:36	455	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37710_casque_met_rivale_mips.jpg
2023-10-13	12:25:36	455	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:36	455	[DEBUG]	Process image file
2023-10-13	12:25:36	455	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:36	455	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:36	455	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37710_casque_met_rivale_mips.jpg
2023-10-13	12:25:36	455	[DEBUG]	Full name target: bcprisme/37710_casque_met_rivale_mips.jpg
2023-10-13	12:25:37	455	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:37	455	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37710_casque_met_rivale_mips.jpg'
2023-10-13	12:25:37	455	[DEBUG]	Query for Media
2023-10-13	12:25:37	455	[DEBUG]	Executed store
2023-10-13	12:25:37	455	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37710_casque_met_rivale_mips.jpg',`file_url_thumb`='bcprisme/37710_casque_met_rivale_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1059181'
2023-10-13	12:25:37	455	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:37	455	[DEBUG]	Executed store
2023-10-13	12:25:37	455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859947','1059181','1')
2023-10-13	12:25:37	455	[DEBUG]	Store product image relation
2023-10-13	12:25:37	455	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:37	455	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859947 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:37	455	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:37	455	[DEBUG]	Executed store
2023-10-13	12:25:37	455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859947','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:37	455	[DEBUG]	Checking manufacturer
2023-10-13	12:25:37	455	[DEBUG]	Load a row
2023-10-13	12:25:37	455	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:37	455	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:37	455	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:37	455	[DEBUG]	Executed store
2023-10-13	12:25:37	455	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:37	455	[DEBUG]	Manufacturer exists
2023-10-13	12:25:37	455	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:37	455	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:37	455	[DEBUG]	Executed store
2023-10-13	12:25:37	455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859947','226')
2023-10-13	12:25:37	455	[DEBUG]	Find the custom field ID
2023-10-13	12:25:37	455	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:37	455	[DEBUG]	No custom field ID found
2023-10-13	12:25:37	455	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:37	455	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:25:37	455	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859947 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:37	455	[DEBUG]	Store custom available field
2023-10-13	12:25:37	455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859947,3,'9.8725',1)
2023-10-13	12:25:37	455	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:37	455	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:37	455	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859947 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:37	455	[DEBUG]	Store custom available field
2023-10-13	12:25:37	455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859947,6,'choisir la taille',3)
2023-10-13	12:25:37	455	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:37	455	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:37	455	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:37	455	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:37	455	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859947 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:37	455	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:37	455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859947,8,1)
2023-10-13	12:25:37	455	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:37	455	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859947\":[1859947,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859947
2023-10-13	12:25:37	455	[DEBUG]	Checking category
2023-10-13	12:25:37	455	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:37	455	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859947
2023-10-13	12:25:37	455	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:37	455	[DEBUG]	Executed store
2023-10-13	12:25:37	455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859947','7281')
2023-10-13	12:25:37	455	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:37	455	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859947 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:37	455	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:37	455	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859947
2023-10-13	12:25:37	456	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:37	456	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:37	456	[DEBUG]	Use field value for field taille
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:37	456	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:37	456	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:37	456	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:37	456	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:37	456	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:37	456	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:37	456	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:37	456	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:37	456	[DEBUG]	Use field value for field published
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:37	456	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field override
2023-10-13	12:25:37	456	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:37	456	[DEBUG]	Use field value for field slug
2023-10-13	12:25:37	456	[DEBUG]	Process line 456
2023-10-13	12:25:37	456	[DEBUG]	Load a row
2023-10-13	12:25:37	456	[DEBUG]	Processing item: 8015190275499
2023-10-13	12:25:37	456	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:37	456	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:37	456	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8679_711'
2023-10-13	12:25:37	456	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:37	456	[DEBUG]	Processing product tax
2023-10-13	12:25:37	456	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:37	456	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:37	456	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:37	456	[DEBUG]	Query for Product
2023-10-13	12:25:37	456	[DEBUG]	Executed store
2023-10-13	12:25:37	456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859947','8015190275499','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:37	456	[DEBUG]	No parent found
2023-10-13	12:25:37	456	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859947 AND customfield_value = 'stockable'
2023-10-13	12:25:37	456	[DEBUG]	Check product language entry
2023-10-13	12:25:37	456	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859948
2023-10-13	12:25:37	456	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:37	456	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8015190275499' AND `virtuemart_product_id` != 1859948
2023-10-13	12:25:37	456	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:37	456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859948, '8015190275499')
2023-10-13	12:25:37	456	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:37	456	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-route-rivale-mips-black-red-metallic-l' AND `virtuemart_product_id` != 1859948
2023-10-13	12:25:37	456	[DEBUG]	Query for ProductLang
2023-10-13	12:25:37	456	[DEBUG]	Executed store
2023-10-13	12:25:37	456	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque route Rivale Mips / Black-Red-Metallic (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-route-rivale-mips-black-red-metallic-l' WHERE `virtuemart_product_id` = '1859948'
2023-10-13	12:25:37	456	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37710_casque_met_rivale_mips.jpg
2023-10-13	12:25:37	456	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:37	456	[DEBUG]	Process image file
2023-10-13	12:25:37	456	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:37	456	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:37	456	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37710_casque_met_rivale_mips.jpg
2023-10-13	12:25:37	456	[DEBUG]	Full name target: bcprisme/37710_casque_met_rivale_mips.jpg
2023-10-13	12:25:38	456	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:38	456	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37710_casque_met_rivale_mips.jpg'
2023-10-13	12:25:38	456	[DEBUG]	Query for Media
2023-10-13	12:25:38	456	[DEBUG]	Executed store
2023-10-13	12:25:38	456	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37710_casque_met_rivale_mips.jpg',`file_url_thumb`='bcprisme/37710_casque_met_rivale_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1059181'
2023-10-13	12:25:38	456	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:38	456	[DEBUG]	Executed store
2023-10-13	12:25:38	456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859948','1059181','1')
2023-10-13	12:25:38	456	[DEBUG]	Store product image relation
2023-10-13	12:25:38	456	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:38	456	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859948 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:38	456	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:38	456	[DEBUG]	Executed store
2023-10-13	12:25:38	456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859948','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:38	456	[DEBUG]	Checking manufacturer
2023-10-13	12:25:38	456	[DEBUG]	Load a row
2023-10-13	12:25:38	456	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:38	456	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:38	456	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:38	456	[DEBUG]	Executed store
2023-10-13	12:25:38	456	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:38	456	[DEBUG]	Manufacturer exists
2023-10-13	12:25:38	456	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:38	456	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:38	456	[DEBUG]	Executed store
2023-10-13	12:25:38	456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859948','226')
2023-10-13	12:25:38	456	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:38	456	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:38	456	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859948 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:39	456	[DEBUG]	Store custom available field
2023-10-13	12:25:39	456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859948,3,'',1)
2023-10-13	12:25:39	456	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:39	456	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:25:39	456	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859948 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:39	456	[DEBUG]	Store custom available field
2023-10-13	12:25:39	456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859948,6,'L',3)
2023-10-13	12:25:39	456	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:39	456	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:39	456	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859947
2023-10-13	12:25:39	456	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:39	456	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\"}]|clabels=0|options={\"1859947\":[1859947,8,1,\"choisir la taille\"],\"1859948\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1859947
2023-10-13	12:25:39	456	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:39	456	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859948
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:39	457	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field taille
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:39	457	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:39	457	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:39	457	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:39	457	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:39	457	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:39	457	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field published
2023-10-13	12:25:39	457	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:39	457	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field override
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:39	457	[DEBUG]	Use field value for field slug
2023-10-13	12:25:39	457	[DEBUG]	Process line 457
2023-10-13	12:25:39	457	[DEBUG]	Load a row
2023-10-13	12:25:39	457	[DEBUG]	Processing item: A_8680_1
2023-10-13	12:25:39	457	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:39	457	[DEBUG]	Processing product tax
2023-10-13	12:25:39	457	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:39	457	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:39	457	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:39	457	[DEBUG]	Query for Product
2023-10-13	12:25:39	457	[DEBUG]	Executed store
2023-10-13	12:25:39	457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8680_1','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:39	457	[DEBUG]	Check product language entry
2023-10-13	12:25:39	457	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859949
2023-10-13	12:25:39	457	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:39	457	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8680_1' AND `virtuemart_product_id` != 1859949
2023-10-13	12:25:39	457	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:39	457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859949, 'A_8680_1')
2023-10-13	12:25:39	457	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:39	457	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-noir' AND `virtuemart_product_id` != 1859949
2023-10-13	12:25:39	457	[DEBUG]	Query for ProductLang
2023-10-13	12:25:39	457	[DEBUG]	Executed store
2023-10-13	12:25:39	457	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit <br>Le MET Veleno est le casque optimal pour une utilisation polyvalente. En tout-terrain comme sur route, il fait toujours bonne figure.  Ce casque léger et bien ventilé dispose d\'une visière amovible avec des clips de fixation. La coque externe en polycarbonate rend le casque plus résistant et protège la partie en EPS des conditions extérieures. Le bandeau de tête du système MET Safe-T Upsilon Fit empêche les points de pression et sa forme intérieure s\'adapte à presque toutes les formes de tête. Le système de protection MIPS-C2® permet au casque de glisser sur la tête en cas de chute afin d\'absorber les mouvements de rotation néfastes. Le système de protection du cerveau MIPS Brain Protection System (BPS) est intégré entre le rembourrage et la partie en EPS.<br>Caractéristiques:<br>MIPS<br>26 ouvertures de ventilation<br>Visière amovible<br>Système d\'ajustement MET Safe-T Upsilon Fit<br>N° art fourn : 720.038.002',`product_name`='MET Casque Veleno Mips / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-noir' WHERE `virtuemart_product_id` = '1859949'
2023-10-13	12:25:39	457	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37960_casque_met_veleno_mips.png
2023-10-13	12:25:39	457	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:25:39	457	[DEBUG]	Process image file
2023-10-13	12:25:39	457	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:25:39	457	[DEBUG]	Mime type found: image/png
2023-10-13	12:25:39	457	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37960_casque_met_veleno_mips.png
2023-10-13	12:25:39	457	[DEBUG]	Full name target: bcprisme/37960_casque_met_veleno_mips.png
2023-10-13	12:25:40	457	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:40	457	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37960_casque_met_veleno_mips.png'
2023-10-13	12:25:40	457	[DEBUG]	Query for Media
2023-10-13	12:25:40	457	[DEBUG]	Executed store
2023-10-13	12:25:40	457	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37960_casque_met_veleno_mips.png',`file_url_thumb`='bcprisme/37960_casque_met_veleno_mips.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409953'
2023-10-13	12:25:40	457	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:40	457	[DEBUG]	Executed store
2023-10-13	12:25:40	457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859949','1409953','1')
2023-10-13	12:25:40	457	[DEBUG]	Store product image relation
2023-10-13	12:25:40	457	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:40	457	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859949 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:40	457	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:40	457	[DEBUG]	Executed store
2023-10-13	12:25:40	457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859949','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:40	457	[DEBUG]	Checking manufacturer
2023-10-13	12:25:40	457	[DEBUG]	Load a row
2023-10-13	12:25:40	457	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:40	457	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:40	457	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:40	457	[DEBUG]	Executed store
2023-10-13	12:25:40	457	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:40	457	[DEBUG]	Manufacturer exists
2023-10-13	12:25:40	457	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:40	457	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:40	457	[DEBUG]	Executed store
2023-10-13	12:25:40	457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859949','226')
2023-10-13	12:25:40	457	[DEBUG]	Find the custom field ID
2023-10-13	12:25:40	457	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:40	457	[DEBUG]	No custom field ID found
2023-10-13	12:25:40	457	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:40	457	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:25:40	457	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859949 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:40	457	[DEBUG]	Store custom available field
2023-10-13	12:25:40	457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859949,3,'9.8725',1)
2023-10-13	12:25:40	457	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:40	457	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:40	457	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859949 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:40	457	[DEBUG]	Store custom available field
2023-10-13	12:25:40	457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859949,6,'choisir la taille',3)
2023-10-13	12:25:40	457	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:40	457	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:40	457	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:40	457	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:40	457	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859949 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:40	457	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:40	457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859949,8,1)
2023-10-13	12:25:40	457	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:40	457	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859949\":[1859949,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859949
2023-10-13	12:25:40	457	[DEBUG]	Checking category
2023-10-13	12:25:40	457	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:40	457	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859949
2023-10-13	12:25:40	457	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:40	457	[DEBUG]	Executed store
2023-10-13	12:25:40	457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859949','7281')
2023-10-13	12:25:40	457	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:40	457	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859949 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:40	457	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:40	457	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859949
2023-10-13	12:25:40	458	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:40	458	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:40	458	[DEBUG]	Use field value for field taille
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:40	458	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:40	458	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:40	458	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:40	458	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:40	458	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:40	458	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:40	458	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:40	458	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:40	458	[DEBUG]	Use field value for field published
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:40	458	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field override
2023-10-13	12:25:40	458	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:40	458	[DEBUG]	Use field value for field slug
2023-10-13	12:25:40	458	[DEBUG]	Process line 458
2023-10-13	12:25:40	458	[DEBUG]	Load a row
2023-10-13	12:25:40	458	[DEBUG]	Processing item: 1000000176391
2023-10-13	12:25:40	458	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:40	458	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:40	458	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8680_1'
2023-10-13	12:25:40	458	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:40	458	[DEBUG]	Processing product tax
2023-10-13	12:25:40	458	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:40	458	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:40	458	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:40	458	[DEBUG]	Query for Product
2023-10-13	12:25:40	458	[DEBUG]	Executed store
2023-10-13	12:25:40	458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859949','1000000176391','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:40	458	[DEBUG]	No parent found
2023-10-13	12:25:40	458	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859949 AND customfield_value = 'stockable'
2023-10-13	12:25:40	458	[DEBUG]	Check product language entry
2023-10-13	12:25:40	458	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859950
2023-10-13	12:25:40	458	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:40	458	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000176391' AND `virtuemart_product_id` != 1859950
2023-10-13	12:25:40	458	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:40	458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859950, '1000000176391')
2023-10-13	12:25:40	458	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:40	458	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-noir-l' AND `virtuemart_product_id` != 1859950
2023-10-13	12:25:40	458	[DEBUG]	Query for ProductLang
2023-10-13	12:25:40	458	[DEBUG]	Executed store
2023-10-13	12:25:40	458	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Veleno Mips / Noir (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-noir-l' WHERE `virtuemart_product_id` = '1859950'
2023-10-13	12:25:40	458	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37960_casque_met_veleno_mips.png
2023-10-13	12:25:40	458	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:25:40	458	[DEBUG]	Process image file
2023-10-13	12:25:40	458	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:25:40	458	[DEBUG]	Mime type found: image/png
2023-10-13	12:25:40	458	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37960_casque_met_veleno_mips.png
2023-10-13	12:25:40	458	[DEBUG]	Full name target: bcprisme/37960_casque_met_veleno_mips.png
2023-10-13	12:25:41	458	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:41	458	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37960_casque_met_veleno_mips.png'
2023-10-13	12:25:41	458	[DEBUG]	Query for Media
2023-10-13	12:25:41	458	[DEBUG]	Executed store
2023-10-13	12:25:41	458	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37960_casque_met_veleno_mips.png',`file_url_thumb`='bcprisme/37960_casque_met_veleno_mips.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409953'
2023-10-13	12:25:41	458	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:41	458	[DEBUG]	Executed store
2023-10-13	12:25:41	458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859950','1409953','1')
2023-10-13	12:25:41	458	[DEBUG]	Store product image relation
2023-10-13	12:25:41	458	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:41	458	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859950 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:41	458	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:41	458	[DEBUG]	Executed store
2023-10-13	12:25:41	458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859950','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:41	458	[DEBUG]	Checking manufacturer
2023-10-13	12:25:41	458	[DEBUG]	Load a row
2023-10-13	12:25:41	458	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:41	458	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:41	458	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:41	458	[DEBUG]	Executed store
2023-10-13	12:25:41	458	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:41	458	[DEBUG]	Manufacturer exists
2023-10-13	12:25:41	458	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:41	458	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:41	458	[DEBUG]	Executed store
2023-10-13	12:25:41	458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859950','226')
2023-10-13	12:25:41	458	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:41	458	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:41	458	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859950 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:41	458	[DEBUG]	Store custom available field
2023-10-13	12:25:41	458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859950,3,'',1)
2023-10-13	12:25:41	458	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:41	458	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:25:41	458	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859950 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:41	458	[DEBUG]	Store custom available field
2023-10-13	12:25:41	458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859950,6,'L',3)
2023-10-13	12:25:41	458	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:41	458	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:41	458	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859949
2023-10-13	12:25:41	458	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:41	458	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\"}]|clabels=0|options={\"1859949\":[1859949,8,1,\"choisir la taille\"],\"1859950\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1859949
2023-10-13	12:25:41	458	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:41	458	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859950
2023-10-13	12:25:41	459	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:41	459	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:41	459	[DEBUG]	Use field value for field taille
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:41	459	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:41	459	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:41	459	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:41	459	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:41	459	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:41	459	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:41	459	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:41	459	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:41	459	[DEBUG]	Use field value for field published
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:41	459	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field override
2023-10-13	12:25:41	459	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:41	459	[DEBUG]	Use field value for field slug
2023-10-13	12:25:41	459	[DEBUG]	Process line 459
2023-10-13	12:25:41	459	[DEBUG]	Load a row
2023-10-13	12:25:41	459	[DEBUG]	Processing item: 1000000176407
2023-10-13	12:25:41	459	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:41	459	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:41	459	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8680_1'
2023-10-13	12:25:41	459	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:41	459	[DEBUG]	Processing product tax
2023-10-13	12:25:41	459	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:41	459	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:41	459	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:41	459	[DEBUG]	Query for Product
2023-10-13	12:25:41	459	[DEBUG]	Executed store
2023-10-13	12:25:41	459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859949','1000000176407','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:41	459	[DEBUG]	No parent found
2023-10-13	12:25:41	459	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859949 AND customfield_value = 'stockable'
2023-10-13	12:25:41	459	[DEBUG]	Check product language entry
2023-10-13	12:25:41	459	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859951
2023-10-13	12:25:41	459	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:41	459	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000176407' AND `virtuemart_product_id` != 1859951
2023-10-13	12:25:41	459	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:41	459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859951, '1000000176407')
2023-10-13	12:25:41	459	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:41	459	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-noir-m' AND `virtuemart_product_id` != 1859951
2023-10-13	12:25:41	459	[DEBUG]	Query for ProductLang
2023-10-13	12:25:41	459	[DEBUG]	Executed store
2023-10-13	12:25:41	459	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Veleno Mips / Noir (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-noir-m' WHERE `virtuemart_product_id` = '1859951'
2023-10-13	12:25:41	459	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37960_casque_met_veleno_mips.png
2023-10-13	12:25:41	459	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:25:41	459	[DEBUG]	Process image file
2023-10-13	12:25:41	459	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:25:41	459	[DEBUG]	Mime type found: image/png
2023-10-13	12:25:41	459	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37960_casque_met_veleno_mips.png
2023-10-13	12:25:41	459	[DEBUG]	Full name target: bcprisme/37960_casque_met_veleno_mips.png
2023-10-13	12:25:42	459	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:42	459	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37960_casque_met_veleno_mips.png'
2023-10-13	12:25:42	459	[DEBUG]	Query for Media
2023-10-13	12:25:42	459	[DEBUG]	Executed store
2023-10-13	12:25:42	459	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37960_casque_met_veleno_mips.png',`file_url_thumb`='bcprisme/37960_casque_met_veleno_mips.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409953'
2023-10-13	12:25:42	459	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:42	459	[DEBUG]	Executed store
2023-10-13	12:25:42	459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859951','1409953','1')
2023-10-13	12:25:42	459	[DEBUG]	Store product image relation
2023-10-13	12:25:42	459	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:42	459	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859951 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:42	459	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:42	459	[DEBUG]	Executed store
2023-10-13	12:25:42	459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859951','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:42	459	[DEBUG]	Checking manufacturer
2023-10-13	12:25:42	459	[DEBUG]	Load a row
2023-10-13	12:25:42	459	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:42	459	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:42	459	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:42	459	[DEBUG]	Executed store
2023-10-13	12:25:42	459	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:42	459	[DEBUG]	Manufacturer exists
2023-10-13	12:25:42	459	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:42	459	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:42	459	[DEBUG]	Executed store
2023-10-13	12:25:42	459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859951','226')
2023-10-13	12:25:42	459	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:42	459	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:42	459	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859951 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:42	459	[DEBUG]	Store custom available field
2023-10-13	12:25:42	459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859951,3,'',1)
2023-10-13	12:25:42	459	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:42	459	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:25:42	459	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859951 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:42	459	[DEBUG]	Store custom available field
2023-10-13	12:25:42	459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859951,6,'M',3)
2023-10-13	12:25:42	459	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:42	459	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:42	459	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859949
2023-10-13	12:25:42	459	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:42	459	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\\r\\nM\"}]|clabels=0|options={\"1859949\":[1859949,8,1,\"choisir la taille\"],\"1859950\":[\"L\"],\"1859951\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1859949
2023-10-13	12:25:42	459	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:42	459	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859951
2023-10-13	12:25:42	460	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:42	460	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:42	460	[DEBUG]	Use field value for field taille
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:42	460	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:42	460	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:42	460	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:42	460	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:42	460	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:42	460	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:42	460	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:42	460	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:42	460	[DEBUG]	Use field value for field published
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:42	460	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field override
2023-10-13	12:25:42	460	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:42	460	[DEBUG]	Use field value for field slug
2023-10-13	12:25:42	460	[DEBUG]	Process line 460
2023-10-13	12:25:42	460	[DEBUG]	Load a row
2023-10-13	12:25:42	460	[DEBUG]	Processing item: 1000000176414
2023-10-13	12:25:42	460	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:42	460	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:42	460	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8680_1'
2023-10-13	12:25:42	460	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:42	460	[DEBUG]	Processing product tax
2023-10-13	12:25:42	460	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:42	460	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:42	460	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:42	460	[DEBUG]	Query for Product
2023-10-13	12:25:42	460	[DEBUG]	Executed store
2023-10-13	12:25:42	460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859949','1000000176414','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:42	460	[DEBUG]	No parent found
2023-10-13	12:25:42	460	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859949 AND customfield_value = 'stockable'
2023-10-13	12:25:42	460	[DEBUG]	Check product language entry
2023-10-13	12:25:42	460	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859952
2023-10-13	12:25:42	460	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:42	460	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000176414' AND `virtuemart_product_id` != 1859952
2023-10-13	12:25:42	460	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:42	460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859952, '1000000176414')
2023-10-13	12:25:42	460	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:42	460	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-noir-s' AND `virtuemart_product_id` != 1859952
2023-10-13	12:25:42	460	[DEBUG]	Query for ProductLang
2023-10-13	12:25:42	460	[DEBUG]	Executed store
2023-10-13	12:25:42	460	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Veleno Mips / Noir (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-noir-s' WHERE `virtuemart_product_id` = '1859952'
2023-10-13	12:25:42	460	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37960_casque_met_veleno_mips.png
2023-10-13	12:25:42	460	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:25:42	460	[DEBUG]	Process image file
2023-10-13	12:25:42	460	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:25:42	460	[DEBUG]	Mime type found: image/png
2023-10-13	12:25:42	460	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37960_casque_met_veleno_mips.png
2023-10-13	12:25:42	460	[DEBUG]	Full name target: bcprisme/37960_casque_met_veleno_mips.png
2023-10-13	12:25:43	460	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:43	460	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37960_casque_met_veleno_mips.png'
2023-10-13	12:25:43	460	[DEBUG]	Query for Media
2023-10-13	12:25:43	460	[DEBUG]	Executed store
2023-10-13	12:25:43	460	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37960_casque_met_veleno_mips.png',`file_url_thumb`='bcprisme/37960_casque_met_veleno_mips.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409953'
2023-10-13	12:25:43	460	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:43	460	[DEBUG]	Executed store
2023-10-13	12:25:43	460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859952','1409953','1')
2023-10-13	12:25:43	460	[DEBUG]	Store product image relation
2023-10-13	12:25:43	460	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:43	460	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859952 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:43	460	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:43	460	[DEBUG]	Executed store
2023-10-13	12:25:43	460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859952','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:43	460	[DEBUG]	Checking manufacturer
2023-10-13	12:25:43	460	[DEBUG]	Load a row
2023-10-13	12:25:43	460	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:43	460	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:43	460	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:43	460	[DEBUG]	Executed store
2023-10-13	12:25:43	460	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:43	460	[DEBUG]	Manufacturer exists
2023-10-13	12:25:43	460	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:43	460	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:43	460	[DEBUG]	Executed store
2023-10-13	12:25:43	460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859952','226')
2023-10-13	12:25:43	460	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:43	460	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:43	460	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859952 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:43	460	[DEBUG]	Store custom available field
2023-10-13	12:25:43	460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859952,3,'',1)
2023-10-13	12:25:43	460	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:43	460	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:25:43	460	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859952 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:43	460	[DEBUG]	Store custom available field
2023-10-13	12:25:43	460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859952,6,'S',3)
2023-10-13	12:25:43	460	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:43	460	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:43	460	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859949
2023-10-13	12:25:43	460	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:43	460	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\\r\\nM\\r\\nS\"}]|clabels=0|options={\"1859949\":[1859949,8,1,\"choisir la taille\"],\"1859950\":[\"L\"],\"1859951\":[\"M\"],\"1859952\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1859949
2023-10-13	12:25:43	460	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:43	460	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859952
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:43	461	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field taille
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:43	461	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:43	461	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:43	461	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:43	461	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:43	461	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:43	461	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field published
2023-10-13	12:25:43	461	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:43	461	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field override
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:43	461	[DEBUG]	Use field value for field slug
2023-10-13	12:25:43	461	[DEBUG]	Process line 461
2023-10-13	12:25:43	461	[DEBUG]	Load a row
2023-10-13	12:25:43	461	[DEBUG]	Processing item: A_8680_705
2023-10-13	12:25:43	461	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:43	461	[DEBUG]	Processing product tax
2023-10-13	12:25:43	461	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:43	461	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:43	461	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:43	461	[DEBUG]	Query for Product
2023-10-13	12:25:43	461	[DEBUG]	Executed store
2023-10-13	12:25:43	461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8680_705','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:43	461	[DEBUG]	Check product language entry
2023-10-13	12:25:43	461	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859953
2023-10-13	12:25:43	461	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:43	461	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8680_705' AND `virtuemart_product_id` != 1859953
2023-10-13	12:25:43	461	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:43	461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859953, 'A_8680_705')
2023-10-13	12:25:43	461	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:43	461	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-teal-blue-metallic' AND `virtuemart_product_id` != 1859953
2023-10-13	12:25:43	461	[DEBUG]	Query for ProductLang
2023-10-13	12:25:43	461	[DEBUG]	Executed store
2023-10-13	12:25:43	461	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit <br>Le MET Veleno est le casque optimal pour une utilisation polyvalente. En tout-terrain comme sur route, il fait toujours bonne figure.  Ce casque léger et bien ventilé dispose d\'une visière amovible avec des clips de fixation. La coque externe en polycarbonate rend le casque plus résistant et protège la partie en EPS des conditions extérieures. Le bandeau de tête du système MET Safe-T Upsilon Fit empêche les points de pression et sa forme intérieure s\'adapte à presque toutes les formes de tête. Le système de protection MIPS-C2® permet au casque de glisser sur la tête en cas de chute afin d\'absorber les mouvements de rotation néfastes. Le système de protection du cerveau MIPS Brain Protection System (BPS) est intégré entre le rembourrage et la partie en EPS.<br>Caractéristiques:<br>MIPS<br>26 ouvertures de ventilation<br>Visière amovible<br>Système d\'ajustement MET Safe-T Upsilon Fit<br>N° art fourn : 720.038.002',`product_name`='MET Casque Veleno Mips / Teal Blue Metallic',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-teal-blue-metallic' WHERE `virtuemart_product_id` = '1859953'
2023-10-13	12:25:43	461	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37637_casque_met_veleno_mips.jpg
2023-10-13	12:25:43	461	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:43	461	[DEBUG]	Process image file
2023-10-13	12:25:43	461	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:43	461	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:43	461	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37637_casque_met_veleno_mips.jpg
2023-10-13	12:25:43	461	[DEBUG]	Full name target: bcprisme/37637_casque_met_veleno_mips.jpg
2023-10-13	12:25:44	461	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:44	461	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37637_casque_met_veleno_mips.jpg'
2023-10-13	12:25:44	461	[DEBUG]	Query for Media
2023-10-13	12:25:44	461	[DEBUG]	Executed store
2023-10-13	12:25:44	461	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37637_casque_met_veleno_mips.jpg',`file_url_thumb`='bcprisme/37637_casque_met_veleno_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038535'
2023-10-13	12:25:44	461	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:44	461	[DEBUG]	Executed store
2023-10-13	12:25:44	461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859953','1038535','1')
2023-10-13	12:25:44	461	[DEBUG]	Store product image relation
2023-10-13	12:25:44	461	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:44	461	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859953 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:44	461	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:44	461	[DEBUG]	Executed store
2023-10-13	12:25:44	461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859953','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:44	461	[DEBUG]	Checking manufacturer
2023-10-13	12:25:44	461	[DEBUG]	Load a row
2023-10-13	12:25:44	461	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:44	461	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:44	461	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:44	461	[DEBUG]	Executed store
2023-10-13	12:25:44	461	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:44	461	[DEBUG]	Manufacturer exists
2023-10-13	12:25:44	461	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:44	461	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:44	461	[DEBUG]	Executed store
2023-10-13	12:25:44	461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859953','226')
2023-10-13	12:25:44	461	[DEBUG]	Find the custom field ID
2023-10-13	12:25:44	461	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:44	461	[DEBUG]	No custom field ID found
2023-10-13	12:25:44	461	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:44	461	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:25:44	461	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859953 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:44	461	[DEBUG]	Store custom available field
2023-10-13	12:25:44	461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859953,3,'9.8725',1)
2023-10-13	12:25:44	461	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:44	461	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:44	461	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859953 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:44	461	[DEBUG]	Store custom available field
2023-10-13	12:25:44	461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859953,6,'choisir la taille',3)
2023-10-13	12:25:44	461	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:44	461	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:44	461	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:44	461	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:44	461	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859953 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:44	461	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:44	461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859953,8,1)
2023-10-13	12:25:44	461	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:44	461	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859953\":[1859953,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859953
2023-10-13	12:25:44	461	[DEBUG]	Checking category
2023-10-13	12:25:44	461	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:44	461	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859953
2023-10-13	12:25:44	461	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:44	461	[DEBUG]	Executed store
2023-10-13	12:25:44	461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859953','7281')
2023-10-13	12:25:44	461	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:44	461	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859953 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:44	461	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:44	461	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859953
2023-10-13	12:25:44	462	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:44	462	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:44	462	[DEBUG]	Use field value for field taille
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:44	462	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:44	462	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:44	462	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:44	462	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:44	462	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:44	462	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:44	462	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:44	462	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:44	462	[DEBUG]	Use field value for field published
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:44	462	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field override
2023-10-13	12:25:44	462	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:44	462	[DEBUG]	Use field value for field slug
2023-10-13	12:25:44	462	[DEBUG]	Process line 462
2023-10-13	12:25:44	462	[DEBUG]	Load a row
2023-10-13	12:25:44	462	[DEBUG]	Processing item: 1000000160451
2023-10-13	12:25:44	462	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:44	462	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:44	462	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8680_705'
2023-10-13	12:25:44	462	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:44	462	[DEBUG]	Processing product tax
2023-10-13	12:25:44	462	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:44	462	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:44	462	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:44	462	[DEBUG]	Query for Product
2023-10-13	12:25:44	462	[DEBUG]	Executed store
2023-10-13	12:25:44	462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859953','1000000160451','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:44	462	[DEBUG]	No parent found
2023-10-13	12:25:44	462	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859953 AND customfield_value = 'stockable'
2023-10-13	12:25:44	462	[DEBUG]	Check product language entry
2023-10-13	12:25:44	462	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859954
2023-10-13	12:25:44	462	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:44	462	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000160451' AND `virtuemart_product_id` != 1859954
2023-10-13	12:25:44	462	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:44	462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859954, '1000000160451')
2023-10-13	12:25:44	462	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:44	462	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-teal-blue-metallic-l' AND `virtuemart_product_id` != 1859954
2023-10-13	12:25:44	462	[DEBUG]	Query for ProductLang
2023-10-13	12:25:44	462	[DEBUG]	Executed store
2023-10-13	12:25:44	462	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Veleno Mips / Teal Blue Metallic (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-teal-blue-metallic-l' WHERE `virtuemart_product_id` = '1859954'
2023-10-13	12:25:44	462	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37637_casque_met_veleno_mips.jpg
2023-10-13	12:25:44	462	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:44	462	[DEBUG]	Process image file
2023-10-13	12:25:44	462	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:44	462	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:44	462	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37637_casque_met_veleno_mips.jpg
2023-10-13	12:25:44	462	[DEBUG]	Full name target: bcprisme/37637_casque_met_veleno_mips.jpg
2023-10-13	12:25:45	462	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:45	462	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37637_casque_met_veleno_mips.jpg'
2023-10-13	12:25:45	462	[DEBUG]	Query for Media
2023-10-13	12:25:45	462	[DEBUG]	Executed store
2023-10-13	12:25:45	462	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37637_casque_met_veleno_mips.jpg',`file_url_thumb`='bcprisme/37637_casque_met_veleno_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038535'
2023-10-13	12:25:45	462	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:45	462	[DEBUG]	Executed store
2023-10-13	12:25:45	462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859954','1038535','1')
2023-10-13	12:25:45	462	[DEBUG]	Store product image relation
2023-10-13	12:25:45	462	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:45	462	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859954 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:45	462	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:45	462	[DEBUG]	Executed store
2023-10-13	12:25:45	462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859954','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:45	462	[DEBUG]	Checking manufacturer
2023-10-13	12:25:45	462	[DEBUG]	Load a row
2023-10-13	12:25:45	462	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:45	462	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:45	462	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:45	462	[DEBUG]	Executed store
2023-10-13	12:25:45	462	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:45	462	[DEBUG]	Manufacturer exists
2023-10-13	12:25:45	462	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:45	462	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:45	462	[DEBUG]	Executed store
2023-10-13	12:25:45	462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859954','226')
2023-10-13	12:25:45	462	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:45	462	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:45	462	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859954 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:45	462	[DEBUG]	Store custom available field
2023-10-13	12:25:45	462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859954,3,'',1)
2023-10-13	12:25:45	462	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:45	462	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:25:45	462	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859954 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:45	462	[DEBUG]	Store custom available field
2023-10-13	12:25:45	462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859954,6,'L',3)
2023-10-13	12:25:45	462	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:45	462	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:45	462	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859953
2023-10-13	12:25:45	462	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:45	462	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\"}]|clabels=0|options={\"1859953\":[1859953,8,1,\"choisir la taille\"],\"1859954\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1859953
2023-10-13	12:25:45	462	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:45	462	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859954
2023-10-13	12:25:45	463	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:45	463	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:45	463	[DEBUG]	Use field value for field taille
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:45	463	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:45	463	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:45	463	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:45	463	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:45	463	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:45	463	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:45	463	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:45	463	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:45	463	[DEBUG]	Use field value for field published
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:45	463	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field override
2023-10-13	12:25:45	463	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:45	463	[DEBUG]	Use field value for field slug
2023-10-13	12:25:45	463	[DEBUG]	Process line 463
2023-10-13	12:25:45	463	[DEBUG]	Load a row
2023-10-13	12:25:45	463	[DEBUG]	Processing item: 1000000160505
2023-10-13	12:25:45	463	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:45	463	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:45	463	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8680_705'
2023-10-13	12:25:45	463	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:45	463	[DEBUG]	Processing product tax
2023-10-13	12:25:45	463	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:45	463	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:45	463	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:45	463	[DEBUG]	Query for Product
2023-10-13	12:25:45	463	[DEBUG]	Executed store
2023-10-13	12:25:45	463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859953','1000000160505','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:45	463	[DEBUG]	No parent found
2023-10-13	12:25:45	463	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859953 AND customfield_value = 'stockable'
2023-10-13	12:25:45	463	[DEBUG]	Check product language entry
2023-10-13	12:25:45	463	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859955
2023-10-13	12:25:45	463	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:45	463	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000160505' AND `virtuemart_product_id` != 1859955
2023-10-13	12:25:45	463	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:45	463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859955, '1000000160505')
2023-10-13	12:25:45	463	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:45	463	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-teal-blue-metallic-m' AND `virtuemart_product_id` != 1859955
2023-10-13	12:25:45	463	[DEBUG]	Query for ProductLang
2023-10-13	12:25:45	463	[DEBUG]	Executed store
2023-10-13	12:25:45	463	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Veleno Mips / Teal Blue Metallic (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-teal-blue-metallic-m' WHERE `virtuemart_product_id` = '1859955'
2023-10-13	12:25:45	463	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37637_casque_met_veleno_mips.jpg
2023-10-13	12:25:45	463	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:45	463	[DEBUG]	Process image file
2023-10-13	12:25:45	463	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:45	463	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:45	463	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37637_casque_met_veleno_mips.jpg
2023-10-13	12:25:45	463	[DEBUG]	Full name target: bcprisme/37637_casque_met_veleno_mips.jpg
2023-10-13	12:25:47	463	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:47	463	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37637_casque_met_veleno_mips.jpg'
2023-10-13	12:25:47	463	[DEBUG]	Query for Media
2023-10-13	12:25:47	463	[DEBUG]	Executed store
2023-10-13	12:25:47	463	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37637_casque_met_veleno_mips.jpg',`file_url_thumb`='bcprisme/37637_casque_met_veleno_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038535'
2023-10-13	12:25:47	463	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:47	463	[DEBUG]	Executed store
2023-10-13	12:25:47	463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859955','1038535','1')
2023-10-13	12:25:47	463	[DEBUG]	Store product image relation
2023-10-13	12:25:47	463	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:47	463	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859955 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:47	463	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:47	463	[DEBUG]	Executed store
2023-10-13	12:25:47	463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859955','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:47	463	[DEBUG]	Checking manufacturer
2023-10-13	12:25:47	463	[DEBUG]	Load a row
2023-10-13	12:25:47	463	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:47	463	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:47	463	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:47	463	[DEBUG]	Executed store
2023-10-13	12:25:47	463	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:47	463	[DEBUG]	Manufacturer exists
2023-10-13	12:25:47	463	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:47	463	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:47	463	[DEBUG]	Executed store
2023-10-13	12:25:47	463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859955','226')
2023-10-13	12:25:47	463	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:47	463	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:47	463	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859955 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:47	463	[DEBUG]	Store custom available field
2023-10-13	12:25:47	463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859955,3,'',1)
2023-10-13	12:25:47	463	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:47	463	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:25:47	463	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859955 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:47	463	[DEBUG]	Store custom available field
2023-10-13	12:25:47	463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859955,6,'M',3)
2023-10-13	12:25:47	463	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:47	463	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:47	463	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859953
2023-10-13	12:25:47	463	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:47	463	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\\r\\nM\"}]|clabels=0|options={\"1859953\":[1859953,8,1,\"choisir la taille\"],\"1859954\":[\"L\"],\"1859955\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1859953
2023-10-13	12:25:47	463	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:47	463	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859955
2023-10-13	12:25:47	464	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:47	464	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:47	464	[DEBUG]	Use field value for field taille
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:47	464	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:47	464	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:47	464	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:47	464	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:47	464	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:47	464	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:47	464	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:47	464	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:47	464	[DEBUG]	Use field value for field published
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:47	464	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field override
2023-10-13	12:25:47	464	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:47	464	[DEBUG]	Use field value for field slug
2023-10-13	12:25:47	464	[DEBUG]	Process line 464
2023-10-13	12:25:47	464	[DEBUG]	Load a row
2023-10-13	12:25:47	464	[DEBUG]	Processing item: 1000000176421
2023-10-13	12:25:47	464	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:47	464	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:47	464	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8680_705'
2023-10-13	12:25:47	464	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:47	464	[DEBUG]	Processing product tax
2023-10-13	12:25:47	464	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:47	464	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:47	464	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:47	464	[DEBUG]	Query for Product
2023-10-13	12:25:47	464	[DEBUG]	Executed store
2023-10-13	12:25:47	464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859953','1000000176421','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:47	464	[DEBUG]	No parent found
2023-10-13	12:25:47	464	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859953 AND customfield_value = 'stockable'
2023-10-13	12:25:47	464	[DEBUG]	Check product language entry
2023-10-13	12:25:47	464	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859956
2023-10-13	12:25:47	464	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:47	464	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000176421' AND `virtuemart_product_id` != 1859956
2023-10-13	12:25:47	464	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:47	464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859956, '1000000176421')
2023-10-13	12:25:47	464	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:47	464	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-teal-blue-metallic-s' AND `virtuemart_product_id` != 1859956
2023-10-13	12:25:47	464	[DEBUG]	Query for ProductLang
2023-10-13	12:25:47	464	[DEBUG]	Executed store
2023-10-13	12:25:47	464	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Veleno Mips / Teal Blue Metallic (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-teal-blue-metallic-s' WHERE `virtuemart_product_id` = '1859956'
2023-10-13	12:25:47	464	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37637_casque_met_veleno_mips.jpg
2023-10-13	12:25:47	464	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:47	464	[DEBUG]	Process image file
2023-10-13	12:25:47	464	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:47	464	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:47	464	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37637_casque_met_veleno_mips.jpg
2023-10-13	12:25:47	464	[DEBUG]	Full name target: bcprisme/37637_casque_met_veleno_mips.jpg
2023-10-13	12:25:48	464	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:48	464	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37637_casque_met_veleno_mips.jpg'
2023-10-13	12:25:48	464	[DEBUG]	Query for Media
2023-10-13	12:25:48	464	[DEBUG]	Executed store
2023-10-13	12:25:48	464	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37637_casque_met_veleno_mips.jpg',`file_url_thumb`='bcprisme/37637_casque_met_veleno_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038535'
2023-10-13	12:25:48	464	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:48	464	[DEBUG]	Executed store
2023-10-13	12:25:48	464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859956','1038535','1')
2023-10-13	12:25:48	464	[DEBUG]	Store product image relation
2023-10-13	12:25:48	464	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:48	464	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859956 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:48	464	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:48	464	[DEBUG]	Executed store
2023-10-13	12:25:48	464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859956','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:48	464	[DEBUG]	Checking manufacturer
2023-10-13	12:25:48	464	[DEBUG]	Load a row
2023-10-13	12:25:48	464	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:48	464	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:48	464	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:48	464	[DEBUG]	Executed store
2023-10-13	12:25:48	464	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:48	464	[DEBUG]	Manufacturer exists
2023-10-13	12:25:48	464	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:48	464	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:48	464	[DEBUG]	Executed store
2023-10-13	12:25:48	464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859956','226')
2023-10-13	12:25:48	464	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:48	464	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:48	464	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859956 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:48	464	[DEBUG]	Store custom available field
2023-10-13	12:25:48	464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859956,3,'',1)
2023-10-13	12:25:48	464	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:48	464	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:25:48	464	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859956 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:48	464	[DEBUG]	Store custom available field
2023-10-13	12:25:48	464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859956,6,'S',3)
2023-10-13	12:25:48	464	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:48	464	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:48	464	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859953
2023-10-13	12:25:48	464	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:48	464	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\\r\\nM\\r\\nS\"}]|clabels=0|options={\"1859953\":[1859953,8,1,\"choisir la taille\"],\"1859954\":[\"L\"],\"1859955\":[\"M\"],\"1859956\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1859953
2023-10-13	12:25:48	464	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:48	464	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859956
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:48	465	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field taille
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:48	465	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:48	465	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:48	465	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:48	465	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:48	465	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:48	465	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field published
2023-10-13	12:25:48	465	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:48	465	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field override
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:48	465	[DEBUG]	Use field value for field slug
2023-10-13	12:25:48	465	[DEBUG]	Process line 465
2023-10-13	12:25:48	465	[DEBUG]	Load a row
2023-10-13	12:25:48	465	[DEBUG]	Processing item: A_8680_706
2023-10-13	12:25:48	465	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:48	465	[DEBUG]	Processing product tax
2023-10-13	12:25:48	465	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:48	465	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:48	465	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:48	465	[DEBUG]	Query for Product
2023-10-13	12:25:48	465	[DEBUG]	Executed store
2023-10-13	12:25:48	465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8680_706','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:48	465	[DEBUG]	Check product language entry
2023-10-13	12:25:48	465	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859957
2023-10-13	12:25:48	465	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:48	465	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8680_706' AND `virtuemart_product_id` != 1859957
2023-10-13	12:25:48	465	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:48	465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859957, 'A_8680_706')
2023-10-13	12:25:48	465	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:48	465	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-white-grey' AND `virtuemart_product_id` != 1859957
2023-10-13	12:25:48	465	[DEBUG]	Query for ProductLang
2023-10-13	12:25:48	465	[DEBUG]	Executed store
2023-10-13	12:25:48	465	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit <br>Le MET Veleno est le casque optimal pour une utilisation polyvalente. En tout-terrain comme sur route, il fait toujours bonne figure.  Ce casque léger et bien ventilé dispose d\'une visière amovible avec des clips de fixation. La coque externe en polycarbonate rend le casque plus résistant et protège la partie en EPS des conditions extérieures. Le bandeau de tête du système MET Safe-T Upsilon Fit empêche les points de pression et sa forme intérieure s\'adapte à presque toutes les formes de tête. Le système de protection MIPS-C2® permet au casque de glisser sur la tête en cas de chute afin d\'absorber les mouvements de rotation néfastes. Le système de protection du cerveau MIPS Brain Protection System (BPS) est intégré entre le rembourrage et la partie en EPS.<br>Caractéristiques:<br>MIPS<br>26 ouvertures de ventilation<br>Visière amovible<br>Système d\'ajustement MET Safe-T Upsilon Fit<br>N° art fourn : 720.038.002',`product_name`='MET Casque Veleno Mips / White Grey',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-white-grey' WHERE `virtuemart_product_id` = '1859957'
2023-10-13	12:25:48	465	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37639_casque_met_veleno_mips.jpg
2023-10-13	12:25:48	465	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:48	465	[DEBUG]	Process image file
2023-10-13	12:25:48	465	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:48	465	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:48	465	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37639_casque_met_veleno_mips.jpg
2023-10-13	12:25:48	465	[DEBUG]	Full name target: bcprisme/37639_casque_met_veleno_mips.jpg
2023-10-13	12:25:49	465	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:49	465	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37639_casque_met_veleno_mips.jpg'
2023-10-13	12:25:49	465	[DEBUG]	Query for Media
2023-10-13	12:25:49	465	[DEBUG]	Executed store
2023-10-13	12:25:49	465	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37639_casque_met_veleno_mips.jpg',`file_url_thumb`='bcprisme/37639_casque_met_veleno_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038538'
2023-10-13	12:25:49	465	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:49	465	[DEBUG]	Executed store
2023-10-13	12:25:49	465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859957','1038538','1')
2023-10-13	12:25:49	465	[DEBUG]	Store product image relation
2023-10-13	12:25:49	465	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:49	465	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859957 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:49	465	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:49	465	[DEBUG]	Executed store
2023-10-13	12:25:49	465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859957','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:49	465	[DEBUG]	Checking manufacturer
2023-10-13	12:25:49	465	[DEBUG]	Load a row
2023-10-13	12:25:49	465	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:49	465	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:49	465	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:49	465	[DEBUG]	Executed store
2023-10-13	12:25:49	465	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:49	465	[DEBUG]	Manufacturer exists
2023-10-13	12:25:49	465	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:49	465	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:49	465	[DEBUG]	Executed store
2023-10-13	12:25:49	465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859957','226')
2023-10-13	12:25:49	465	[DEBUG]	Find the custom field ID
2023-10-13	12:25:49	465	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:49	465	[DEBUG]	No custom field ID found
2023-10-13	12:25:49	465	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:49	465	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:25:49	465	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859957 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:49	465	[DEBUG]	Store custom available field
2023-10-13	12:25:49	465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859957,3,'9.8725',1)
2023-10-13	12:25:49	465	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:49	465	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:49	465	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859957 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:49	465	[DEBUG]	Store custom available field
2023-10-13	12:25:49	465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859957,6,'choisir la taille',3)
2023-10-13	12:25:49	465	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:49	465	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:49	465	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:49	465	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:49	465	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859957 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:49	465	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:49	465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859957,8,1)
2023-10-13	12:25:49	465	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:49	465	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859957\":[1859957,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859957
2023-10-13	12:25:49	465	[DEBUG]	Checking category
2023-10-13	12:25:49	465	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:49	465	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859957
2023-10-13	12:25:49	465	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:49	465	[DEBUG]	Executed store
2023-10-13	12:25:49	465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859957','7281')
2023-10-13	12:25:49	465	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:49	465	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859957 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:49	465	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:49	465	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859957
2023-10-13	12:25:49	466	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:49	466	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:49	466	[DEBUG]	Use field value for field taille
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:49	466	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:49	466	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:49	466	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:49	466	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:49	466	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:49	466	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:49	466	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:49	466	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:49	466	[DEBUG]	Use field value for field published
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:49	466	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field override
2023-10-13	12:25:49	466	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:49	466	[DEBUG]	Use field value for field slug
2023-10-13	12:25:49	466	[DEBUG]	Process line 466
2023-10-13	12:25:49	466	[DEBUG]	Load a row
2023-10-13	12:25:49	466	[DEBUG]	Processing item: 1000000160499
2023-10-13	12:25:49	466	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:49	466	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:49	466	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8680_706'
2023-10-13	12:25:49	466	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:49	466	[DEBUG]	Processing product tax
2023-10-13	12:25:49	466	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:49	466	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:49	466	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:49	466	[DEBUG]	Query for Product
2023-10-13	12:25:49	466	[DEBUG]	Executed store
2023-10-13	12:25:49	466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859957','1000000160499','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:49	466	[DEBUG]	No parent found
2023-10-13	12:25:49	466	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859957 AND customfield_value = 'stockable'
2023-10-13	12:25:49	466	[DEBUG]	Check product language entry
2023-10-13	12:25:49	466	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859958
2023-10-13	12:25:49	466	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:49	466	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000160499' AND `virtuemart_product_id` != 1859958
2023-10-13	12:25:49	466	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:49	466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859958, '1000000160499')
2023-10-13	12:25:49	466	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:49	466	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-white-grey-m' AND `virtuemart_product_id` != 1859958
2023-10-13	12:25:49	466	[DEBUG]	Query for ProductLang
2023-10-13	12:25:49	466	[DEBUG]	Executed store
2023-10-13	12:25:49	466	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Veleno Mips / White Grey (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-white-grey-m' WHERE `virtuemart_product_id` = '1859958'
2023-10-13	12:25:49	466	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37639_casque_met_veleno_mips.jpg
2023-10-13	12:25:49	466	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:49	466	[DEBUG]	Process image file
2023-10-13	12:25:49	466	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:49	466	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:49	466	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37639_casque_met_veleno_mips.jpg
2023-10-13	12:25:49	466	[DEBUG]	Full name target: bcprisme/37639_casque_met_veleno_mips.jpg
2023-10-13	12:25:50	466	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:50	466	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37639_casque_met_veleno_mips.jpg'
2023-10-13	12:25:50	466	[DEBUG]	Query for Media
2023-10-13	12:25:50	466	[DEBUG]	Executed store
2023-10-13	12:25:50	466	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37639_casque_met_veleno_mips.jpg',`file_url_thumb`='bcprisme/37639_casque_met_veleno_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038538'
2023-10-13	12:25:50	466	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:50	466	[DEBUG]	Executed store
2023-10-13	12:25:50	466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859958','1038538','1')
2023-10-13	12:25:50	466	[DEBUG]	Store product image relation
2023-10-13	12:25:50	466	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:50	466	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859958 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:50	466	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:50	466	[DEBUG]	Executed store
2023-10-13	12:25:50	466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859958','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:50	466	[DEBUG]	Checking manufacturer
2023-10-13	12:25:50	466	[DEBUG]	Load a row
2023-10-13	12:25:50	466	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:50	466	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:50	466	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:50	466	[DEBUG]	Executed store
2023-10-13	12:25:50	466	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:50	466	[DEBUG]	Manufacturer exists
2023-10-13	12:25:50	466	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:50	466	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:50	466	[DEBUG]	Executed store
2023-10-13	12:25:50	466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859958','226')
2023-10-13	12:25:50	466	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:50	466	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:50	466	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859958 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:50	466	[DEBUG]	Store custom available field
2023-10-13	12:25:50	466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859958,3,'',1)
2023-10-13	12:25:50	466	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:50	466	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:25:50	466	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859958 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:50	466	[DEBUG]	Store custom available field
2023-10-13	12:25:50	466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859958,6,'M',3)
2023-10-13	12:25:50	466	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:50	466	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:50	466	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859957
2023-10-13	12:25:50	466	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:50	466	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nM\"}]|clabels=0|options={\"1859957\":[1859957,8,1,\"choisir la taille\"],\"1859958\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1859957
2023-10-13	12:25:50	466	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:50	466	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859958
2023-10-13	12:25:50	467	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:50	467	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:50	467	[DEBUG]	Use field value for field taille
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:50	467	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:50	467	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:50	467	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:50	467	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:50	467	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:50	467	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:50	467	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:50	467	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:50	467	[DEBUG]	Use field value for field published
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:50	467	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field override
2023-10-13	12:25:50	467	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:50	467	[DEBUG]	Use field value for field slug
2023-10-13	12:25:50	467	[DEBUG]	Process line 467
2023-10-13	12:25:50	467	[DEBUG]	Load a row
2023-10-13	12:25:50	467	[DEBUG]	Processing item: 1000000163179
2023-10-13	12:25:50	467	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:50	467	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:50	467	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8680_706'
2023-10-13	12:25:50	467	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:50	467	[DEBUG]	Processing product tax
2023-10-13	12:25:50	467	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:50	467	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:50	467	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:50	467	[DEBUG]	Query for Product
2023-10-13	12:25:50	467	[DEBUG]	Executed store
2023-10-13	12:25:50	467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859957','1000000163179','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:50	467	[DEBUG]	No parent found
2023-10-13	12:25:50	467	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859957 AND customfield_value = 'stockable'
2023-10-13	12:25:50	467	[DEBUG]	Check product language entry
2023-10-13	12:25:50	467	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859959
2023-10-13	12:25:50	467	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:50	467	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163179' AND `virtuemart_product_id` != 1859959
2023-10-13	12:25:50	467	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:50	467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859959, '1000000163179')
2023-10-13	12:25:50	467	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:50	467	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-white-grey-s' AND `virtuemart_product_id` != 1859959
2023-10-13	12:25:50	467	[DEBUG]	Query for ProductLang
2023-10-13	12:25:50	467	[DEBUG]	Executed store
2023-10-13	12:25:50	467	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Veleno Mips / White Grey (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-white-grey-s' WHERE `virtuemart_product_id` = '1859959'
2023-10-13	12:25:50	467	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37639_casque_met_veleno_mips.jpg
2023-10-13	12:25:50	467	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:50	467	[DEBUG]	Process image file
2023-10-13	12:25:50	467	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:50	467	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:50	467	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37639_casque_met_veleno_mips.jpg
2023-10-13	12:25:50	467	[DEBUG]	Full name target: bcprisme/37639_casque_met_veleno_mips.jpg
2023-10-13	12:25:51	467	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:51	467	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37639_casque_met_veleno_mips.jpg'
2023-10-13	12:25:51	467	[DEBUG]	Query for Media
2023-10-13	12:25:51	467	[DEBUG]	Executed store
2023-10-13	12:25:51	467	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37639_casque_met_veleno_mips.jpg',`file_url_thumb`='bcprisme/37639_casque_met_veleno_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038538'
2023-10-13	12:25:51	467	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:51	467	[DEBUG]	Executed store
2023-10-13	12:25:51	467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859959','1038538','1')
2023-10-13	12:25:51	467	[DEBUG]	Store product image relation
2023-10-13	12:25:51	467	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:51	467	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859959 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:51	467	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:51	467	[DEBUG]	Executed store
2023-10-13	12:25:51	467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859959','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:51	467	[DEBUG]	Checking manufacturer
2023-10-13	12:25:51	467	[DEBUG]	Load a row
2023-10-13	12:25:51	467	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:51	467	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:51	467	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:51	467	[DEBUG]	Executed store
2023-10-13	12:25:51	467	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:51	467	[DEBUG]	Manufacturer exists
2023-10-13	12:25:51	467	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:51	467	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:51	467	[DEBUG]	Executed store
2023-10-13	12:25:51	467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859959','226')
2023-10-13	12:25:51	467	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:51	467	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:51	467	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859959 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:51	467	[DEBUG]	Store custom available field
2023-10-13	12:25:51	467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859959,3,'',1)
2023-10-13	12:25:51	467	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:51	467	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:25:51	467	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859959 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:51	467	[DEBUG]	Store custom available field
2023-10-13	12:25:51	467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859959,6,'S',3)
2023-10-13	12:25:51	467	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:51	467	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:51	467	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859957
2023-10-13	12:25:51	467	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:51	467	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nM\\r\\nS\"}]|clabels=0|options={\"1859957\":[1859957,8,1,\"choisir la taille\"],\"1859958\":[\"M\"],\"1859959\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1859957
2023-10-13	12:25:51	467	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:51	467	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859959
2023-10-13	12:25:51	468	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:51	468	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:51	468	[DEBUG]	Use field value for field taille
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:51	468	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:51	468	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:51	468	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:51	468	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:51	468	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:51	468	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:51	468	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:51	468	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:51	468	[DEBUG]	Use field value for field published
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:51	468	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field override
2023-10-13	12:25:51	468	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:51	468	[DEBUG]	Use field value for field slug
2023-10-13	12:25:51	468	[DEBUG]	Process line 468
2023-10-13	12:25:51	468	[DEBUG]	Load a row
2023-10-13	12:25:51	468	[DEBUG]	Processing item: 1000000163186
2023-10-13	12:25:51	468	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:51	468	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:51	468	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8680_706'
2023-10-13	12:25:51	468	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:51	468	[DEBUG]	Processing product tax
2023-10-13	12:25:51	468	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:51	468	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:51	468	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:51	468	[DEBUG]	Query for Product
2023-10-13	12:25:51	468	[DEBUG]	Executed store
2023-10-13	12:25:51	468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859957','1000000163186','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:51	468	[DEBUG]	No parent found
2023-10-13	12:25:51	468	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859957 AND customfield_value = 'stockable'
2023-10-13	12:25:51	468	[DEBUG]	Check product language entry
2023-10-13	12:25:51	468	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859960
2023-10-13	12:25:51	468	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:51	468	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163186' AND `virtuemart_product_id` != 1859960
2023-10-13	12:25:51	468	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:51	468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859960, '1000000163186')
2023-10-13	12:25:51	468	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:51	468	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-white-grey-l' AND `virtuemart_product_id` != 1859960
2023-10-13	12:25:51	468	[DEBUG]	Query for ProductLang
2023-10-13	12:25:51	468	[DEBUG]	Executed store
2023-10-13	12:25:51	468	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Veleno Mips / White Grey (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-white-grey-l' WHERE `virtuemart_product_id` = '1859960'
2023-10-13	12:25:51	468	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37639_casque_met_veleno_mips.jpg
2023-10-13	12:25:51	468	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:51	468	[DEBUG]	Process image file
2023-10-13	12:25:51	468	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:51	468	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:51	468	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37639_casque_met_veleno_mips.jpg
2023-10-13	12:25:51	468	[DEBUG]	Full name target: bcprisme/37639_casque_met_veleno_mips.jpg
2023-10-13	12:25:52	468	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:52	468	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37639_casque_met_veleno_mips.jpg'
2023-10-13	12:25:52	468	[DEBUG]	Query for Media
2023-10-13	12:25:52	468	[DEBUG]	Executed store
2023-10-13	12:25:52	468	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37639_casque_met_veleno_mips.jpg',`file_url_thumb`='bcprisme/37639_casque_met_veleno_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038538'
2023-10-13	12:25:52	468	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:52	468	[DEBUG]	Executed store
2023-10-13	12:25:52	468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859960','1038538','1')
2023-10-13	12:25:52	468	[DEBUG]	Store product image relation
2023-10-13	12:25:52	468	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:52	468	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859960 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:52	468	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:52	468	[DEBUG]	Executed store
2023-10-13	12:25:52	468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859960','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:52	468	[DEBUG]	Checking manufacturer
2023-10-13	12:25:52	468	[DEBUG]	Load a row
2023-10-13	12:25:52	468	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:52	468	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:52	468	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:52	468	[DEBUG]	Executed store
2023-10-13	12:25:52	468	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:52	468	[DEBUG]	Manufacturer exists
2023-10-13	12:25:52	468	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:52	468	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:52	468	[DEBUG]	Executed store
2023-10-13	12:25:52	468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859960','226')
2023-10-13	12:25:52	468	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:52	468	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:52	468	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859960 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:52	468	[DEBUG]	Store custom available field
2023-10-13	12:25:52	468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859960,3,'',1)
2023-10-13	12:25:52	468	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:52	468	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:25:52	468	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859960 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:52	468	[DEBUG]	Store custom available field
2023-10-13	12:25:52	468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859960,6,'L',3)
2023-10-13	12:25:52	468	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:52	468	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:52	468	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859957
2023-10-13	12:25:52	468	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:52	468	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nM\\r\\nS\\r\\nL\"}]|clabels=0|options={\"1859957\":[1859957,8,1,\"choisir la taille\"],\"1859958\":[\"M\"],\"1859959\":[\"S\"],\"1859960\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1859957
2023-10-13	12:25:52	468	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:52	468	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859960
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:52	469	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field taille
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:52	469	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:52	469	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:52	469	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:52	469	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:52	469	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:52	469	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field published
2023-10-13	12:25:52	469	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:52	469	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field override
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:52	469	[DEBUG]	Use field value for field slug
2023-10-13	12:25:52	469	[DEBUG]	Process line 469
2023-10-13	12:25:52	469	[DEBUG]	Load a row
2023-10-13	12:25:52	469	[DEBUG]	Processing item: A_8680_715
2023-10-13	12:25:52	469	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:52	469	[DEBUG]	Processing product tax
2023-10-13	12:25:52	469	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:52	469	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:52	469	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:52	469	[DEBUG]	Query for Product
2023-10-13	12:25:52	469	[DEBUG]	Executed store
2023-10-13	12:25:52	469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8680_715','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:52	469	[DEBUG]	Check product language entry
2023-10-13	12:25:52	469	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859961
2023-10-13	12:25:52	469	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:52	469	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8680_715' AND `virtuemart_product_id` != 1859961
2023-10-13	12:25:52	469	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:52	469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859961, 'A_8680_715')
2023-10-13	12:25:52	469	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:52	469	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-olive' AND `virtuemart_product_id` != 1859961
2023-10-13	12:25:52	469	[DEBUG]	Query for ProductLang
2023-10-13	12:25:52	469	[DEBUG]	Executed store
2023-10-13	12:25:52	469	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit <br>Le MET Veleno est le casque optimal pour une utilisation polyvalente. En tout-terrain comme sur route, il fait toujours bonne figure.  Ce casque léger et bien ventilé dispose d\'une visière amovible avec des clips de fixation. La coque externe en polycarbonate rend le casque plus résistant et protège la partie en EPS des conditions extérieures. Le bandeau de tête du système MET Safe-T Upsilon Fit empêche les points de pression et sa forme intérieure s\'adapte à presque toutes les formes de tête. Le système de protection MIPS-C2® permet au casque de glisser sur la tête en cas de chute afin d\'absorber les mouvements de rotation néfastes. Le système de protection du cerveau MIPS Brain Protection System (BPS) est intégré entre le rembourrage et la partie en EPS.<br>Caractéristiques:<br>MIPS<br>26 ouvertures de ventilation<br>Visière amovible<br>Système d\'ajustement MET Safe-T Upsilon Fit<br>N° art fourn : 720.038.002',`product_name`='MET Casque Veleno Mips / Olive',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-olive' WHERE `virtuemart_product_id` = '1859961'
2023-10-13	12:25:52	469	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37716_casque_met_veleno_mips.jpg
2023-10-13	12:25:52	469	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:52	469	[DEBUG]	Process image file
2023-10-13	12:25:52	469	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:52	469	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:52	469	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37716_casque_met_veleno_mips.jpg
2023-10-13	12:25:52	469	[DEBUG]	Full name target: bcprisme/37716_casque_met_veleno_mips.jpg
2023-10-13	12:25:53	469	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:53	469	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37716_casque_met_veleno_mips.jpg'
2023-10-13	12:25:53	469	[DEBUG]	Query for Media
2023-10-13	12:25:53	469	[DEBUG]	Executed store
2023-10-13	12:25:53	469	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37716_casque_met_veleno_mips.jpg',`file_url_thumb`='bcprisme/37716_casque_met_veleno_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069475'
2023-10-13	12:25:53	469	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:53	469	[DEBUG]	Executed store
2023-10-13	12:25:53	469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859961','1069475','1')
2023-10-13	12:25:53	469	[DEBUG]	Store product image relation
2023-10-13	12:25:53	469	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:53	469	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859961 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:53	469	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:53	469	[DEBUG]	Executed store
2023-10-13	12:25:53	469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859961','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:53	469	[DEBUG]	Checking manufacturer
2023-10-13	12:25:53	469	[DEBUG]	Load a row
2023-10-13	12:25:53	469	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:53	469	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:53	469	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:53	469	[DEBUG]	Executed store
2023-10-13	12:25:53	469	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:53	469	[DEBUG]	Manufacturer exists
2023-10-13	12:25:53	469	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:53	469	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:53	469	[DEBUG]	Executed store
2023-10-13	12:25:53	469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859961','226')
2023-10-13	12:25:53	469	[DEBUG]	Find the custom field ID
2023-10-13	12:25:53	469	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:53	469	[DEBUG]	No custom field ID found
2023-10-13	12:25:53	469	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:53	469	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:25:53	469	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859961 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:53	469	[DEBUG]	Store custom available field
2023-10-13	12:25:53	469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859961,3,'9.8725',1)
2023-10-13	12:25:53	469	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:53	469	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:53	469	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859961 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:53	469	[DEBUG]	Store custom available field
2023-10-13	12:25:53	469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859961,6,'choisir la taille',3)
2023-10-13	12:25:53	469	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:53	469	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:53	469	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:53	469	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:53	469	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859961 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:53	469	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:53	469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859961,8,1)
2023-10-13	12:25:53	469	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:53	469	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859961\":[1859961,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859961
2023-10-13	12:25:53	469	[DEBUG]	Checking category
2023-10-13	12:25:53	469	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:53	469	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859961
2023-10-13	12:25:53	469	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:53	469	[DEBUG]	Executed store
2023-10-13	12:25:53	469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859961','7281')
2023-10-13	12:25:53	469	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:53	469	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859961 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:53	469	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:53	469	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859961
2023-10-13	12:25:53	470	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:53	470	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:53	470	[DEBUG]	Use field value for field taille
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:53	470	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:53	470	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:53	470	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:53	470	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:53	470	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:53	470	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:53	470	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:53	470	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:53	470	[DEBUG]	Use field value for field published
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:53	470	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field override
2023-10-13	12:25:53	470	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:53	470	[DEBUG]	Use field value for field slug
2023-10-13	12:25:53	470	[DEBUG]	Process line 470
2023-10-13	12:25:53	470	[DEBUG]	Load a row
2023-10-13	12:25:53	470	[DEBUG]	Processing item: 1000000162998
2023-10-13	12:25:53	470	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:53	470	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:53	470	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8680_715'
2023-10-13	12:25:53	470	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:53	470	[DEBUG]	Processing product tax
2023-10-13	12:25:53	470	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:53	470	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:53	470	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:53	470	[DEBUG]	Query for Product
2023-10-13	12:25:53	470	[DEBUG]	Executed store
2023-10-13	12:25:53	470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859961','1000000162998','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:53	470	[DEBUG]	No parent found
2023-10-13	12:25:53	470	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859961 AND customfield_value = 'stockable'
2023-10-13	12:25:53	470	[DEBUG]	Check product language entry
2023-10-13	12:25:53	470	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859962
2023-10-13	12:25:53	470	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:53	470	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000162998' AND `virtuemart_product_id` != 1859962
2023-10-13	12:25:53	470	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:53	470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859962, '1000000162998')
2023-10-13	12:25:53	470	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:53	470	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-olive-l' AND `virtuemart_product_id` != 1859962
2023-10-13	12:25:53	470	[DEBUG]	Query for ProductLang
2023-10-13	12:25:53	470	[DEBUG]	Executed store
2023-10-13	12:25:53	470	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Veleno Mips / Olive (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-olive-l' WHERE `virtuemart_product_id` = '1859962'
2023-10-13	12:25:53	470	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37716_casque_met_veleno_mips.jpg
2023-10-13	12:25:53	470	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:53	470	[DEBUG]	Process image file
2023-10-13	12:25:53	470	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:53	470	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:53	470	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37716_casque_met_veleno_mips.jpg
2023-10-13	12:25:53	470	[DEBUG]	Full name target: bcprisme/37716_casque_met_veleno_mips.jpg
2023-10-13	12:25:54	470	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:54	470	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37716_casque_met_veleno_mips.jpg'
2023-10-13	12:25:54	470	[DEBUG]	Query for Media
2023-10-13	12:25:54	470	[DEBUG]	Executed store
2023-10-13	12:25:54	470	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37716_casque_met_veleno_mips.jpg',`file_url_thumb`='bcprisme/37716_casque_met_veleno_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069475'
2023-10-13	12:25:54	470	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:54	470	[DEBUG]	Executed store
2023-10-13	12:25:54	470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859962','1069475','1')
2023-10-13	12:25:54	470	[DEBUG]	Store product image relation
2023-10-13	12:25:54	470	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:54	470	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859962 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:54	470	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:54	470	[DEBUG]	Executed store
2023-10-13	12:25:54	470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859962','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:54	470	[DEBUG]	Checking manufacturer
2023-10-13	12:25:54	470	[DEBUG]	Load a row
2023-10-13	12:25:54	470	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:54	470	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:54	470	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:54	470	[DEBUG]	Executed store
2023-10-13	12:25:54	470	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:54	470	[DEBUG]	Manufacturer exists
2023-10-13	12:25:54	470	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:54	470	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:54	470	[DEBUG]	Executed store
2023-10-13	12:25:54	470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859962','226')
2023-10-13	12:25:54	470	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:54	470	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:54	470	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859962 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:54	470	[DEBUG]	Store custom available field
2023-10-13	12:25:54	470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859962,3,'',1)
2023-10-13	12:25:54	470	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:54	470	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:25:54	470	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859962 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:54	470	[DEBUG]	Store custom available field
2023-10-13	12:25:54	470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859962,6,'L',3)
2023-10-13	12:25:54	470	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:54	470	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:54	470	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859961
2023-10-13	12:25:54	470	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:54	470	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\"}]|clabels=0|options={\"1859961\":[1859961,8,1,\"choisir la taille\"],\"1859962\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1859961
2023-10-13	12:25:54	470	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:54	470	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859962
2023-10-13	12:25:54	471	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:54	471	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:54	471	[DEBUG]	Use field value for field taille
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:54	471	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:54	471	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:54	471	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:54	471	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:54	471	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:54	471	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:54	471	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:54	471	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:54	471	[DEBUG]	Use field value for field published
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:54	471	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field override
2023-10-13	12:25:54	471	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:54	471	[DEBUG]	Use field value for field slug
2023-10-13	12:25:54	471	[DEBUG]	Process line 471
2023-10-13	12:25:54	471	[DEBUG]	Load a row
2023-10-13	12:25:54	471	[DEBUG]	Processing item: 1000000163155
2023-10-13	12:25:54	471	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:54	471	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:54	471	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8680_715'
2023-10-13	12:25:54	471	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:54	471	[DEBUG]	Processing product tax
2023-10-13	12:25:54	471	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:54	471	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:54	471	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:54	471	[DEBUG]	Query for Product
2023-10-13	12:25:54	471	[DEBUG]	Executed store
2023-10-13	12:25:54	471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859961','1000000163155','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:54	471	[DEBUG]	No parent found
2023-10-13	12:25:54	471	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859961 AND customfield_value = 'stockable'
2023-10-13	12:25:54	471	[DEBUG]	Check product language entry
2023-10-13	12:25:54	471	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859963
2023-10-13	12:25:54	471	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:54	471	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163155' AND `virtuemart_product_id` != 1859963
2023-10-13	12:25:54	471	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:54	471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859963, '1000000163155')
2023-10-13	12:25:54	471	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:54	471	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-olive-m' AND `virtuemart_product_id` != 1859963
2023-10-13	12:25:54	471	[DEBUG]	Query for ProductLang
2023-10-13	12:25:54	471	[DEBUG]	Executed store
2023-10-13	12:25:54	471	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Veleno Mips / Olive (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-olive-m' WHERE `virtuemart_product_id` = '1859963'
2023-10-13	12:25:54	471	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37716_casque_met_veleno_mips.jpg
2023-10-13	12:25:54	471	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:54	471	[DEBUG]	Process image file
2023-10-13	12:25:54	471	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:54	471	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:54	471	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37716_casque_met_veleno_mips.jpg
2023-10-13	12:25:54	471	[DEBUG]	Full name target: bcprisme/37716_casque_met_veleno_mips.jpg
2023-10-13	12:25:55	471	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:55	471	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37716_casque_met_veleno_mips.jpg'
2023-10-13	12:25:55	471	[DEBUG]	Query for Media
2023-10-13	12:25:55	471	[DEBUG]	Executed store
2023-10-13	12:25:55	471	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37716_casque_met_veleno_mips.jpg',`file_url_thumb`='bcprisme/37716_casque_met_veleno_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069475'
2023-10-13	12:25:55	471	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:55	471	[DEBUG]	Executed store
2023-10-13	12:25:55	471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859963','1069475','1')
2023-10-13	12:25:55	471	[DEBUG]	Store product image relation
2023-10-13	12:25:55	471	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:55	471	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859963 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:55	471	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:55	471	[DEBUG]	Executed store
2023-10-13	12:25:55	471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859963','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:55	471	[DEBUG]	Checking manufacturer
2023-10-13	12:25:55	471	[DEBUG]	Load a row
2023-10-13	12:25:55	471	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:55	471	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:55	471	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:55	471	[DEBUG]	Executed store
2023-10-13	12:25:55	471	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:55	471	[DEBUG]	Manufacturer exists
2023-10-13	12:25:55	471	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:55	471	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:55	471	[DEBUG]	Executed store
2023-10-13	12:25:55	471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859963','226')
2023-10-13	12:25:55	471	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:55	471	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:55	471	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859963 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:55	471	[DEBUG]	Store custom available field
2023-10-13	12:25:55	471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859963,3,'',1)
2023-10-13	12:25:55	471	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:55	471	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:25:55	471	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859963 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:55	471	[DEBUG]	Store custom available field
2023-10-13	12:25:55	471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859963,6,'M',3)
2023-10-13	12:25:55	471	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:55	471	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:55	471	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859961
2023-10-13	12:25:55	471	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:55	471	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\\r\\nM\"}]|clabels=0|options={\"1859961\":[1859961,8,1,\"choisir la taille\"],\"1859962\":[\"L\"],\"1859963\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1859961
2023-10-13	12:25:55	471	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:55	471	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859963
2023-10-13	12:25:55	472	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:55	472	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:55	472	[DEBUG]	Use field value for field taille
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:55	472	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:55	472	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:55	472	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:55	472	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:55	472	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:55	472	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:55	472	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:55	472	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:55	472	[DEBUG]	Use field value for field published
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:55	472	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field override
2023-10-13	12:25:55	472	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:55	472	[DEBUG]	Use field value for field slug
2023-10-13	12:25:55	472	[DEBUG]	Process line 472
2023-10-13	12:25:55	472	[DEBUG]	Load a row
2023-10-13	12:25:55	472	[DEBUG]	Processing item: 1000000163162
2023-10-13	12:25:55	472	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:55	472	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:55	472	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8680_715'
2023-10-13	12:25:55	472	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:55	472	[DEBUG]	Processing product tax
2023-10-13	12:25:55	472	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:55	472	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:55	472	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:55	472	[DEBUG]	Query for Product
2023-10-13	12:25:55	472	[DEBUG]	Executed store
2023-10-13	12:25:55	472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859961','1000000163162','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:55	472	[DEBUG]	No parent found
2023-10-13	12:25:55	472	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859961 AND customfield_value = 'stockable'
2023-10-13	12:25:55	472	[DEBUG]	Check product language entry
2023-10-13	12:25:55	472	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859964
2023-10-13	12:25:55	472	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:55	472	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163162' AND `virtuemart_product_id` != 1859964
2023-10-13	12:25:55	472	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:55	472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859964, '1000000163162')
2023-10-13	12:25:55	472	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:55	472	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-veleno-mips-olive-s' AND `virtuemart_product_id` != 1859964
2023-10-13	12:25:55	472	[DEBUG]	Query for ProductLang
2023-10-13	12:25:55	472	[DEBUG]	Executed store
2023-10-13	12:25:55	472	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Veleno Mips / Olive (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-veleno-mips-olive-s' WHERE `virtuemart_product_id` = '1859964'
2023-10-13	12:25:55	472	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37716_casque_met_veleno_mips.jpg
2023-10-13	12:25:55	472	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:55	472	[DEBUG]	Process image file
2023-10-13	12:25:55	472	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:55	472	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:55	472	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37716_casque_met_veleno_mips.jpg
2023-10-13	12:25:55	472	[DEBUG]	Full name target: bcprisme/37716_casque_met_veleno_mips.jpg
2023-10-13	12:25:56	472	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:56	472	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37716_casque_met_veleno_mips.jpg'
2023-10-13	12:25:56	472	[DEBUG]	Query for Media
2023-10-13	12:25:56	472	[DEBUG]	Executed store
2023-10-13	12:25:56	472	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37716_casque_met_veleno_mips.jpg',`file_url_thumb`='bcprisme/37716_casque_met_veleno_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069475'
2023-10-13	12:25:56	472	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:56	472	[DEBUG]	Executed store
2023-10-13	12:25:56	472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859964','1069475','1')
2023-10-13	12:25:56	472	[DEBUG]	Store product image relation
2023-10-13	12:25:56	472	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:56	472	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859964 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:56	472	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:56	472	[DEBUG]	Executed store
2023-10-13	12:25:56	472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859964','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:56	472	[DEBUG]	Checking manufacturer
2023-10-13	12:25:56	472	[DEBUG]	Load a row
2023-10-13	12:25:56	472	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:56	472	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:56	472	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:56	472	[DEBUG]	Executed store
2023-10-13	12:25:56	472	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:25:56	472	[DEBUG]	Manufacturer exists
2023-10-13	12:25:56	472	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:25:56	472	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:56	472	[DEBUG]	Executed store
2023-10-13	12:25:56	472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859964','226')
2023-10-13	12:25:56	472	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:56	472	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:56	472	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859964 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:56	472	[DEBUG]	Store custom available field
2023-10-13	12:25:56	472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859964,3,'',1)
2023-10-13	12:25:56	472	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:56	472	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:25:56	472	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859964 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:56	472	[DEBUG]	Store custom available field
2023-10-13	12:25:56	472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859964,6,'S',3)
2023-10-13	12:25:56	472	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:56	472	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:56	472	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859961
2023-10-13	12:25:56	472	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:56	472	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\\r\\nM\\r\\nS\"}]|clabels=0|options={\"1859961\":[1859961,8,1,\"choisir la taille\"],\"1859962\":[\"L\"],\"1859963\":[\"M\"],\"1859964\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1859961
2023-10-13	12:25:56	472	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:56	472	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859964
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:56	473	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field taille
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:56	473	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:56	473	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:56	473	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:56	473	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:56	473	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:56	473	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field published
2023-10-13	12:25:56	473	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:56	473	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field override
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:56	473	[DEBUG]	Use field value for field slug
2023-10-13	12:25:56	473	[DEBUG]	Process line 473
2023-10-13	12:25:56	473	[DEBUG]	Load a row
2023-10-13	12:25:56	473	[DEBUG]	Processing item: A_8802_723
2023-10-13	12:25:56	473	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:56	473	[DEBUG]	Processing product tax
2023-10-13	12:25:56	473	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:56	473	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:56	473	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:56	473	[DEBUG]	Query for Product
2023-10-13	12:25:56	473	[DEBUG]	Executed store
2023-10-13	12:25:56	473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8802_723','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:56	473	[DEBUG]	Check product language entry
2023-10-13	12:25:56	473	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859965
2023-10-13	12:25:56	473	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:56	473	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8802_723' AND `virtuemart_product_id` != 1859965
2023-10-13	12:25:56	473	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:56	473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859965, 'A_8802_723')
2023-10-13	12:25:56	473	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:56	473	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-kamloop-white-matt' AND `virtuemart_product_id` != 1859965
2023-10-13	12:25:56	473	[DEBUG]	Query for ProductLang
2023-10-13	12:25:56	473	[DEBUG]	Executed store
2023-10-13	12:25:56	473	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : A97691',`product_name`='Alpina Casque KAMLOOP / White matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-kamloop-white-matt' WHERE `virtuemart_product_id` = '1859965'
2023-10-13	12:25:56	473	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37783_kamloop.jpg
2023-10-13	12:25:56	473	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:56	473	[DEBUG]	Process image file
2023-10-13	12:25:56	473	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:56	473	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:56	473	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37783_kamloop.jpg
2023-10-13	12:25:56	473	[DEBUG]	Full name target: bcprisme/37783_kamloop.jpg
2023-10-13	12:25:57	473	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:57	473	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37783_kamloop.jpg'
2023-10-13	12:25:57	473	[DEBUG]	Query for Media
2023-10-13	12:25:57	473	[DEBUG]	Executed store
2023-10-13	12:25:57	473	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37783_kamloop.jpg',`file_url_thumb`='bcprisme/37783_kamloop.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079579'
2023-10-13	12:25:57	473	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:57	473	[DEBUG]	Executed store
2023-10-13	12:25:57	473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859965','1079579','1')
2023-10-13	12:25:57	473	[DEBUG]	Store product image relation
2023-10-13	12:25:57	473	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:57	473	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859965 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:57	473	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:57	473	[DEBUG]	Executed store
2023-10-13	12:25:57	473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859965','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:57	473	[DEBUG]	Checking manufacturer
2023-10-13	12:25:57	473	[DEBUG]	Load a row
2023-10-13	12:25:57	473	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:57	473	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:57	473	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:57	473	[DEBUG]	Executed store
2023-10-13	12:25:57	473	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:57	473	[DEBUG]	Manufacturer exists
2023-10-13	12:25:57	473	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:25:57	473	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:57	473	[DEBUG]	Executed store
2023-10-13	12:25:57	473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859965','171')
2023-10-13	12:25:57	473	[DEBUG]	Find the custom field ID
2023-10-13	12:25:57	473	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:57	473	[DEBUG]	No custom field ID found
2023-10-13	12:25:57	473	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:57	473	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:25:57	473	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859965 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:57	473	[DEBUG]	Store custom available field
2023-10-13	12:25:57	473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859965,3,'0',1)
2023-10-13	12:25:57	473	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:57	473	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:57	473	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859965 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:57	473	[DEBUG]	Store custom available field
2023-10-13	12:25:57	473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859965,6,'choisir la taille',3)
2023-10-13	12:25:57	473	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:57	473	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:57	473	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:57	473	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:57	473	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859965 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:57	473	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:57	473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859965,8,1)
2023-10-13	12:25:57	473	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:57	473	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859965\":[1859965,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859965
2023-10-13	12:25:57	473	[DEBUG]	Checking category
2023-10-13	12:25:57	473	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:57	473	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859965
2023-10-13	12:25:57	473	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:57	473	[DEBUG]	Executed store
2023-10-13	12:25:57	473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859965','7281')
2023-10-13	12:25:57	473	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:57	473	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859965 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:57	473	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:57	473	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859965
2023-10-13	12:25:57	474	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:57	474	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:57	474	[DEBUG]	Use field value for field taille
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:57	474	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:57	474	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:57	474	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:57	474	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:57	474	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:57	474	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:57	474	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:57	474	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:57	474	[DEBUG]	Use field value for field published
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:57	474	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field override
2023-10-13	12:25:57	474	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:57	474	[DEBUG]	Use field value for field slug
2023-10-13	12:25:57	474	[DEBUG]	Process line 474
2023-10-13	12:25:57	474	[DEBUG]	Load a row
2023-10-13	12:25:57	474	[DEBUG]	Processing item: 1000000164411
2023-10-13	12:25:57	474	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:57	474	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:57	474	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8802_723'
2023-10-13	12:25:57	474	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:57	474	[DEBUG]	Processing product tax
2023-10-13	12:25:57	474	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:57	474	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:57	474	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:57	474	[DEBUG]	Query for Product
2023-10-13	12:25:57	474	[DEBUG]	Executed store
2023-10-13	12:25:57	474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859965','1000000164411','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:57	474	[DEBUG]	No parent found
2023-10-13	12:25:57	474	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859965 AND customfield_value = 'stockable'
2023-10-13	12:25:57	474	[DEBUG]	Check product language entry
2023-10-13	12:25:57	474	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859966
2023-10-13	12:25:57	474	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:57	474	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164411' AND `virtuemart_product_id` != 1859966
2023-10-13	12:25:57	474	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:57	474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859966, '1000000164411')
2023-10-13	12:25:57	474	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:57	474	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-kamloop-white-matt-51-55' AND `virtuemart_product_id` != 1859966
2023-10-13	12:25:57	474	[DEBUG]	Query for ProductLang
2023-10-13	12:25:57	474	[DEBUG]	Executed store
2023-10-13	12:25:57	474	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque KAMLOOP / White matt (51-55)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-kamloop-white-matt-51-55' WHERE `virtuemart_product_id` = '1859966'
2023-10-13	12:25:57	474	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37783_kamloop.jpg
2023-10-13	12:25:57	474	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:57	474	[DEBUG]	Process image file
2023-10-13	12:25:57	474	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:57	474	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:57	474	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37783_kamloop.jpg
2023-10-13	12:25:57	474	[DEBUG]	Full name target: bcprisme/37783_kamloop.jpg
2023-10-13	12:25:58	474	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:58	474	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37783_kamloop.jpg'
2023-10-13	12:25:58	474	[DEBUG]	Query for Media
2023-10-13	12:25:58	474	[DEBUG]	Executed store
2023-10-13	12:25:58	474	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37783_kamloop.jpg',`file_url_thumb`='bcprisme/37783_kamloop.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079579'
2023-10-13	12:25:58	474	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:58	474	[DEBUG]	Executed store
2023-10-13	12:25:58	474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859966','1079579','1')
2023-10-13	12:25:58	474	[DEBUG]	Store product image relation
2023-10-13	12:25:58	474	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:58	474	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859966 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:58	474	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:58	474	[DEBUG]	Executed store
2023-10-13	12:25:58	474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859966','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:58	474	[DEBUG]	Checking manufacturer
2023-10-13	12:25:58	474	[DEBUG]	Load a row
2023-10-13	12:25:58	474	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:58	474	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:58	474	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:58	474	[DEBUG]	Executed store
2023-10-13	12:25:58	474	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:58	474	[DEBUG]	Manufacturer exists
2023-10-13	12:25:58	474	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:25:58	474	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:58	474	[DEBUG]	Executed store
2023-10-13	12:25:58	474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859966','171')
2023-10-13	12:25:58	474	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:58	474	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:25:58	474	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859966 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:58	474	[DEBUG]	Store custom available field
2023-10-13	12:25:58	474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859966,3,'',1)
2023-10-13	12:25:58	474	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:58	474	[DEBUG]	Get existing row with customfield value 51-55
2023-10-13	12:25:58	474	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859966 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:58	474	[DEBUG]	Store custom available field
2023-10-13	12:25:58	474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859966,6,'51-55',3)
2023-10-13	12:25:58	474	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:58	474	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:25:58	474	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859965
2023-10-13	12:25:58	474	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:58	474	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n51-55\"}]|clabels=0|options={\"1859965\":[1859965,8,1,\"choisir la taille\"],\"1859966\":[\"51-55\"]}|' WHERE `virtuemart_product_id` = 1859965
2023-10-13	12:25:58	474	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:58	474	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859966
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:58	475	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field taille
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field category_path
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:58	475	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:25:58	475	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:58	475	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field product_weight
2023-10-13	12:25:58	475	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:58	475	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:58	475	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field published
2023-10-13	12:25:58	475	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:58	475	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field custom_title
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field custom_param
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field override
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field public_price
2023-10-13	12:25:58	475	[DEBUG]	Use field value for field slug
2023-10-13	12:25:58	475	[DEBUG]	Process line 475
2023-10-13	12:25:58	475	[DEBUG]	Load a row
2023-10-13	12:25:58	475	[DEBUG]	Processing item: A_8802_724
2023-10-13	12:25:58	475	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:58	475	[DEBUG]	Processing product tax
2023-10-13	12:25:58	475	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:58	475	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:58	475	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:58	475	[DEBUG]	Query for Product
2023-10-13	12:25:58	475	[DEBUG]	Executed store
2023-10-13	12:25:58	475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8802_724','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:58	475	[DEBUG]	Check product language entry
2023-10-13	12:25:58	475	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859967
2023-10-13	12:25:58	475	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:58	475	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8802_724' AND `virtuemart_product_id` != 1859967
2023-10-13	12:25:58	475	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:58	475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859967, 'A_8802_724')
2023-10-13	12:25:58	475	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:58	475	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-kamloop-moon-grey-peach' AND `virtuemart_product_id` != 1859967
2023-10-13	12:25:58	475	[DEBUG]	Query for ProductLang
2023-10-13	12:25:58	475	[DEBUG]	Executed store
2023-10-13	12:25:58	475	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : A97691',`product_name`='Alpina Casque KAMLOOP / Moon grey-peach',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-kamloop-moon-grey-peach' WHERE `virtuemart_product_id` = '1859967'
2023-10-13	12:25:58	475	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37784_kamloop.jpg
2023-10-13	12:25:58	475	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:58	475	[DEBUG]	Process image file
2023-10-13	12:25:58	475	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:58	475	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:58	475	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37784_kamloop.jpg
2023-10-13	12:25:58	475	[DEBUG]	Full name target: bcprisme/37784_kamloop.jpg
2023-10-13	12:25:59	475	[DEBUG]	Checking if the file_url exists
2023-10-13	12:25:59	475	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37784_kamloop.jpg'
2023-10-13	12:25:59	475	[DEBUG]	Query for Media
2023-10-13	12:25:59	475	[DEBUG]	Executed store
2023-10-13	12:25:59	475	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37784_kamloop.jpg',`file_url_thumb`='bcprisme/37784_kamloop.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079581'
2023-10-13	12:25:59	475	[DEBUG]	Query for ProductMedia
2023-10-13	12:25:59	475	[DEBUG]	Executed store
2023-10-13	12:25:59	475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859967','1079581','1')
2023-10-13	12:25:59	475	[DEBUG]	Store product image relation
2023-10-13	12:25:59	475	[DEBUG]	Finding a product_price_id
2023-10-13	12:25:59	475	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859967 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:25:59	475	[DEBUG]	Query for ProductPrice
2023-10-13	12:25:59	475	[DEBUG]	Executed store
2023-10-13	12:25:59	475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859967','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:25:59	475	[DEBUG]	Checking manufacturer
2023-10-13	12:25:59	475	[DEBUG]	Load a row
2023-10-13	12:25:59	475	[DEBUG]	Manufacturer already exists
2023-10-13	12:25:59	475	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:59	475	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:25:59	475	[DEBUG]	Executed store
2023-10-13	12:25:59	475	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:25:59	475	[DEBUG]	Manufacturer exists
2023-10-13	12:25:59	475	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:25:59	475	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:25:59	475	[DEBUG]	Executed store
2023-10-13	12:25:59	475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859967','171')
2023-10-13	12:25:59	475	[DEBUG]	Find the custom field ID
2023-10-13	12:25:59	475	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:25:59	475	[DEBUG]	No custom field ID found
2023-10-13	12:25:59	475	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:25:59	475	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:25:59	475	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859967 AND `virtuemart_custom_id` = 3
2023-10-13	12:25:59	475	[DEBUG]	Store custom available field
2023-10-13	12:25:59	475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859967,3,'0',1)
2023-10-13	12:25:59	475	[DEBUG]	Processing custom available field: taille
2023-10-13	12:25:59	475	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:25:59	475	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859967 AND `virtuemart_custom_id` = 6
2023-10-13	12:25:59	475	[DEBUG]	Store custom available field
2023-10-13	12:25:59	475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859967,6,'choisir la taille',3)
2023-10-13	12:25:59	475	[DEBUG]	Process multi-variant fields
2023-10-13	12:25:59	475	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:25:59	475	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:25:59	475	[DEBUG]	Find the multi variant product entry
2023-10-13	12:25:59	475	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859967 AND `virtuemart_custom_id` = 8
2023-10-13	12:25:59	475	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:25:59	475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859967,8,1)
2023-10-13	12:25:59	475	[DEBUG]	Store the updated customfield_params
2023-10-13	12:25:59	475	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859967\":[1859967,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859967
2023-10-13	12:25:59	475	[DEBUG]	Checking category
2023-10-13	12:25:59	475	[DEBUG]	Get the existing categories for the product
2023-10-13	12:25:59	475	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859967
2023-10-13	12:25:59	475	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:25:59	475	[DEBUG]	Executed store
2023-10-13	12:25:59	475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859967','7281')
2023-10-13	12:25:59	475	[DEBUG]	Delete leftover product categories
2023-10-13	12:25:59	475	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859967 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:25:59	475	[DEBUG]	Update has fields after all processing
2023-10-13	12:25:59	475	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859967
2023-10-13	12:25:59	476	[DEBUG]	Use field value for field product_sku
2023-10-13	12:25:59	476	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:25:59	476	[DEBUG]	Use field value for field taille
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:25:59	476	[DEBUG]	Use field value for field product_name
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field category_path
2023-10-13	12:25:59	476	[DEBUG]	Use field value for field product_price
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:25:59	476	[DEBUG]	Use field value for field product_tax
2023-10-13	12:25:59	476	[DEBUG]	Use field value for field file_url
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field product_desc
2023-10-13	12:25:59	476	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:25:59	476	[DEBUG]	Use field value for field product_availability
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field product_weight
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field product_unit
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field related_products
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field product_special
2023-10-13	12:25:59	476	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:25:59	476	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:25:59	476	[DEBUG]	Use field value for field published
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field metadesc
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field metakey
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field custom_title
2023-10-13	12:25:59	476	[DEBUG]	Use field value for field custom_value
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field custom_param
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field override
2023-10-13	12:25:59	476	[DEBUG]	Use default value for field public_price
2023-10-13	12:25:59	476	[DEBUG]	Use field value for field slug
2023-10-13	12:25:59	476	[DEBUG]	Process line 476
2023-10-13	12:25:59	476	[DEBUG]	Load a row
2023-10-13	12:25:59	476	[DEBUG]	Processing item: 1000000164428
2023-10-13	12:25:59	476	[DEBUG]	Looking for parent SKU
2023-10-13	12:25:59	476	[DEBUG]	Checking product parent SKU
2023-10-13	12:25:59	476	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8802_724'
2023-10-13	12:25:59	476	[DEBUG]	Product tax: 7.7
2023-10-13	12:25:59	476	[DEBUG]	Processing product tax
2023-10-13	12:25:59	476	[DEBUG]	Check if calculation rule exists
2023-10-13	12:25:59	476	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:25:59	476	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:25:59	476	[DEBUG]	Query for Product
2023-10-13	12:25:59	476	[DEBUG]	Executed store
2023-10-13	12:25:59	476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859967','1000000164428','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:25:59	476	[DEBUG]	No parent found
2023-10-13	12:25:59	476	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859967 AND customfield_value = 'stockable'
2023-10-13	12:25:59	476	[DEBUG]	Check product language entry
2023-10-13	12:25:59	476	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859968
2023-10-13	12:25:59	476	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:59	476	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164428' AND `virtuemart_product_id` != 1859968
2023-10-13	12:25:59	476	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:25:59	476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859968, '1000000164428')
2023-10-13	12:25:59	476	[DEBUG]	Check if the product slug exists
2023-10-13	12:25:59	476	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-kamloop-moon-grey-peach-51-55' AND `virtuemart_product_id` != 1859968
2023-10-13	12:25:59	476	[DEBUG]	Query for ProductLang
2023-10-13	12:25:59	476	[DEBUG]	Executed store
2023-10-13	12:25:59	476	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque KAMLOOP / Moon grey-peach (51-55)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-kamloop-moon-grey-peach-51-55' WHERE `virtuemart_product_id` = '1859968'
2023-10-13	12:25:59	476	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37784_kamloop.jpg
2023-10-13	12:25:59	476	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:59	476	[DEBUG]	Process image file
2023-10-13	12:25:59	476	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:25:59	476	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:25:59	476	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37784_kamloop.jpg
2023-10-13	12:25:59	476	[DEBUG]	Full name target: bcprisme/37784_kamloop.jpg
2023-10-13	12:26:00	476	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:00	476	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37784_kamloop.jpg'
2023-10-13	12:26:00	476	[DEBUG]	Query for Media
2023-10-13	12:26:00	476	[DEBUG]	Executed store
2023-10-13	12:26:00	476	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37784_kamloop.jpg',`file_url_thumb`='bcprisme/37784_kamloop.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079581'
2023-10-13	12:26:00	476	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:00	476	[DEBUG]	Executed store
2023-10-13	12:26:00	476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859968','1079581','1')
2023-10-13	12:26:00	476	[DEBUG]	Store product image relation
2023-10-13	12:26:00	476	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:00	476	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859968 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:00	476	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:00	476	[DEBUG]	Executed store
2023-10-13	12:26:00	476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859968','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:00	476	[DEBUG]	Checking manufacturer
2023-10-13	12:26:00	476	[DEBUG]	Load a row
2023-10-13	12:26:00	476	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:00	476	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:00	476	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:00	476	[DEBUG]	Executed store
2023-10-13	12:26:00	476	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:00	476	[DEBUG]	Manufacturer exists
2023-10-13	12:26:00	476	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:00	476	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:00	476	[DEBUG]	Executed store
2023-10-13	12:26:00	476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859968','171')
2023-10-13	12:26:00	476	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:00	476	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:00	476	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859968 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:00	476	[DEBUG]	Store custom available field
2023-10-13	12:26:00	476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859968,3,'',1)
2023-10-13	12:26:00	476	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:00	476	[DEBUG]	Get existing row with customfield value 51-55
2023-10-13	12:26:00	476	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859968 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:00	476	[DEBUG]	Store custom available field
2023-10-13	12:26:00	476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859968,6,'51-55',3)
2023-10-13	12:26:00	476	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:00	476	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:00	476	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859967
2023-10-13	12:26:00	476	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:00	476	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n51-55\"}]|clabels=0|options={\"1859967\":[1859967,8,1,\"choisir la taille\"],\"1859968\":[\"51-55\"]}|' WHERE `virtuemart_product_id` = 1859967
2023-10-13	12:26:00	476	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:00	476	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859968
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:00	477	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field taille
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:00	477	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:00	477	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:00	477	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field product_weight
2023-10-13	12:26:00	477	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:00	477	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:00	477	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field published
2023-10-13	12:26:00	477	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:00	477	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field override
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:00	477	[DEBUG]	Use field value for field slug
2023-10-13	12:26:00	477	[DEBUG]	Process line 477
2023-10-13	12:26:00	477	[DEBUG]	Load a row
2023-10-13	12:26:00	477	[DEBUG]	Processing item: A_8804_585
2023-10-13	12:26:00	477	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:00	477	[DEBUG]	Processing product tax
2023-10-13	12:26:00	477	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:00	477	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:00	477	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:00	477	[DEBUG]	Query for Product
2023-10-13	12:26:00	477	[DEBUG]	Executed store
2023-10-13	12:26:00	477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8804_585','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:00	477	[DEBUG]	Check product language entry
2023-10-13	12:26:00	477	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859969
2023-10-13	12:26:00	477	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:00	477	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8804_585' AND `virtuemart_product_id` != 1859969
2023-10-13	12:26:00	477	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:00	477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859969, 'A_8804_585')
2023-10-13	12:26:00	477	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:00	477	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-blanc' AND `virtuemart_product_id` != 1859969
2023-10-13	12:26:00	477	[DEBUG]	Query for ProductLang
2023-10-13	12:26:00	477	[DEBUG]	Executed store
2023-10-13	12:26:00	477	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 26840-575',`product_name`='Fox Casque Speedframe / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-blanc' WHERE `virtuemart_product_id` = '1859969'
2023-10-13	12:26:00	477	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37787_casque_fox_22_helmet_speedframe.jpg
2023-10-13	12:26:00	477	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:00	477	[DEBUG]	Process image file
2023-10-13	12:26:00	477	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:00	477	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:00	477	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37787_casque_fox_22_helmet_speedframe.jpg
2023-10-13	12:26:00	477	[DEBUG]	Full name target: bcprisme/37787_casque_fox_22_helmet_speedframe.jpg
2023-10-13	12:26:01	477	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:01	477	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37787_casque_fox_22_helmet_speedframe.jpg'
2023-10-13	12:26:01	477	[DEBUG]	Query for Media
2023-10-13	12:26:01	477	[DEBUG]	Executed store
2023-10-13	12:26:01	477	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37787_casque_fox_22_helmet_speedframe.jpg',`file_url_thumb`='bcprisme/37787_casque_fox_22_helmet_speedframe.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079867'
2023-10-13	12:26:01	477	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:01	477	[DEBUG]	Executed store
2023-10-13	12:26:01	477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859969','1079867','1')
2023-10-13	12:26:01	477	[DEBUG]	Store product image relation
2023-10-13	12:26:01	477	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:01	477	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859969 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:01	477	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:01	477	[DEBUG]	Executed store
2023-10-13	12:26:01	477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859969','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:01	477	[DEBUG]	Checking manufacturer
2023-10-13	12:26:01	477	[DEBUG]	Load a row
2023-10-13	12:26:01	477	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:01	477	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:01	477	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:01	477	[DEBUG]	Executed store
2023-10-13	12:26:01	477	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:01	477	[DEBUG]	Manufacturer exists
2023-10-13	12:26:01	477	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:01	477	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:01	477	[DEBUG]	Executed store
2023-10-13	12:26:01	477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859969','44')
2023-10-13	12:26:01	477	[DEBUG]	Find the custom field ID
2023-10-13	12:26:01	477	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:01	477	[DEBUG]	No custom field ID found
2023-10-13	12:26:01	477	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:01	477	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:26:01	477	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859969 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:01	477	[DEBUG]	Store custom available field
2023-10-13	12:26:01	477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859969,3,'9.8725',1)
2023-10-13	12:26:01	477	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:01	477	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:01	477	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859969 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:01	477	[DEBUG]	Store custom available field
2023-10-13	12:26:01	477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859969,6,'choisir la taille',3)
2023-10-13	12:26:01	477	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:01	477	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:01	477	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:01	477	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:01	477	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859969 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:01	477	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:01	477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859969,8,1)
2023-10-13	12:26:01	477	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:01	477	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859969\":[1859969,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859969
2023-10-13	12:26:01	477	[DEBUG]	Checking category
2023-10-13	12:26:01	477	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:01	477	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859969
2023-10-13	12:26:01	477	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:01	477	[DEBUG]	Executed store
2023-10-13	12:26:01	477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859969','7281')
2023-10-13	12:26:01	477	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:01	477	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859969 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:01	477	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:01	477	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859969
2023-10-13	12:26:01	478	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:01	478	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:01	478	[DEBUG]	Use field value for field taille
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:01	478	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:01	478	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:01	478	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:01	478	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:01	478	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:01	478	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:01	478	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:01	478	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:01	478	[DEBUG]	Use field value for field published
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:01	478	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field override
2023-10-13	12:26:01	478	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:01	478	[DEBUG]	Use field value for field slug
2023-10-13	12:26:01	478	[DEBUG]	Process line 478
2023-10-13	12:26:01	478	[DEBUG]	Load a row
2023-10-13	12:26:01	478	[DEBUG]	Processing item: 1000000164442
2023-10-13	12:26:01	478	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:01	478	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:01	478	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8804_585'
2023-10-13	12:26:01	478	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:01	478	[DEBUG]	Processing product tax
2023-10-13	12:26:01	478	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:01	478	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:01	478	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:01	478	[DEBUG]	Query for Product
2023-10-13	12:26:01	478	[DEBUG]	Executed store
2023-10-13	12:26:01	478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859969','1000000164442','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:01	478	[DEBUG]	No parent found
2023-10-13	12:26:01	478	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859969 AND customfield_value = 'stockable'
2023-10-13	12:26:01	478	[DEBUG]	Check product language entry
2023-10-13	12:26:01	478	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859970
2023-10-13	12:26:01	478	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:01	478	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164442' AND `virtuemart_product_id` != 1859970
2023-10-13	12:26:01	478	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:01	478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859970, '1000000164442')
2023-10-13	12:26:01	478	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:01	478	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-blanc-s' AND `virtuemart_product_id` != 1859970
2023-10-13	12:26:01	478	[DEBUG]	Query for ProductLang
2023-10-13	12:26:01	478	[DEBUG]	Executed store
2023-10-13	12:26:01	478	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe / Blanc (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-blanc-s' WHERE `virtuemart_product_id` = '1859970'
2023-10-13	12:26:01	478	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37787_casque_fox_22_helmet_speedframe.jpg
2023-10-13	12:26:01	478	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:01	478	[DEBUG]	Process image file
2023-10-13	12:26:01	478	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:01	478	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:01	478	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37787_casque_fox_22_helmet_speedframe.jpg
2023-10-13	12:26:01	478	[DEBUG]	Full name target: bcprisme/37787_casque_fox_22_helmet_speedframe.jpg
2023-10-13	12:26:02	478	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:02	478	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37787_casque_fox_22_helmet_speedframe.jpg'
2023-10-13	12:26:02	478	[DEBUG]	Query for Media
2023-10-13	12:26:02	478	[DEBUG]	Executed store
2023-10-13	12:26:02	478	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37787_casque_fox_22_helmet_speedframe.jpg',`file_url_thumb`='bcprisme/37787_casque_fox_22_helmet_speedframe.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079867'
2023-10-13	12:26:02	478	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:02	478	[DEBUG]	Executed store
2023-10-13	12:26:02	478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859970','1079867','1')
2023-10-13	12:26:02	478	[DEBUG]	Store product image relation
2023-10-13	12:26:02	478	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:02	478	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859970 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:02	478	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:02	478	[DEBUG]	Executed store
2023-10-13	12:26:02	478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859970','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:02	478	[DEBUG]	Checking manufacturer
2023-10-13	12:26:02	478	[DEBUG]	Load a row
2023-10-13	12:26:02	478	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:02	478	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:02	478	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:02	478	[DEBUG]	Executed store
2023-10-13	12:26:02	478	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:02	478	[DEBUG]	Manufacturer exists
2023-10-13	12:26:02	478	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:02	478	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:02	478	[DEBUG]	Executed store
2023-10-13	12:26:02	478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859970','44')
2023-10-13	12:26:02	478	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:02	478	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:02	478	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859970 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:02	478	[DEBUG]	Store custom available field
2023-10-13	12:26:02	478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859970,3,'',1)
2023-10-13	12:26:02	478	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:02	478	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:26:02	478	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859970 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:02	478	[DEBUG]	Store custom available field
2023-10-13	12:26:02	478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859970,6,'S',3)
2023-10-13	12:26:02	478	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:02	478	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:02	478	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859969
2023-10-13	12:26:02	478	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:02	478	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\"}]|clabels=0|options={\"1859969\":[1859969,8,1,\"choisir la taille\"],\"1859970\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1859969
2023-10-13	12:26:02	478	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:02	478	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859970
2023-10-13	12:26:02	479	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:02	479	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:02	479	[DEBUG]	Use field value for field taille
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:02	479	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:02	479	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:02	479	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:02	479	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:02	479	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:02	479	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:02	479	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:02	479	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:02	479	[DEBUG]	Use field value for field published
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:02	479	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field override
2023-10-13	12:26:02	479	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:02	479	[DEBUG]	Use field value for field slug
2023-10-13	12:26:03	479	[DEBUG]	Process line 479
2023-10-13	12:26:03	479	[DEBUG]	Load a row
2023-10-13	12:26:03	479	[DEBUG]	Processing item: 1000000164459
2023-10-13	12:26:03	479	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:03	479	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:03	479	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8804_585'
2023-10-13	12:26:03	479	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:03	479	[DEBUG]	Processing product tax
2023-10-13	12:26:03	479	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:03	479	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:03	479	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:03	479	[DEBUG]	Query for Product
2023-10-13	12:26:03	479	[DEBUG]	Executed store
2023-10-13	12:26:03	479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859969','1000000164459','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:03	479	[DEBUG]	No parent found
2023-10-13	12:26:03	479	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859969 AND customfield_value = 'stockable'
2023-10-13	12:26:03	479	[DEBUG]	Check product language entry
2023-10-13	12:26:03	479	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859971
2023-10-13	12:26:03	479	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:03	479	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164459' AND `virtuemart_product_id` != 1859971
2023-10-13	12:26:03	479	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:03	479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859971, '1000000164459')
2023-10-13	12:26:03	479	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:03	479	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-blanc-m' AND `virtuemart_product_id` != 1859971
2023-10-13	12:26:03	479	[DEBUG]	Query for ProductLang
2023-10-13	12:26:03	479	[DEBUG]	Executed store
2023-10-13	12:26:03	479	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe / Blanc (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-blanc-m' WHERE `virtuemart_product_id` = '1859971'
2023-10-13	12:26:03	479	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37787_casque_fox_22_helmet_speedframe.jpg
2023-10-13	12:26:03	479	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:03	479	[DEBUG]	Process image file
2023-10-13	12:26:03	479	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:03	479	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:03	479	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37787_casque_fox_22_helmet_speedframe.jpg
2023-10-13	12:26:03	479	[DEBUG]	Full name target: bcprisme/37787_casque_fox_22_helmet_speedframe.jpg
2023-10-13	12:26:03	479	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:03	479	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37787_casque_fox_22_helmet_speedframe.jpg'
2023-10-13	12:26:03	479	[DEBUG]	Query for Media
2023-10-13	12:26:03	479	[DEBUG]	Executed store
2023-10-13	12:26:03	479	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37787_casque_fox_22_helmet_speedframe.jpg',`file_url_thumb`='bcprisme/37787_casque_fox_22_helmet_speedframe.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079867'
2023-10-13	12:26:03	479	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:03	479	[DEBUG]	Executed store
2023-10-13	12:26:03	479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859971','1079867','1')
2023-10-13	12:26:04	479	[DEBUG]	Store product image relation
2023-10-13	12:26:04	479	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:04	479	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859971 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:04	479	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:04	479	[DEBUG]	Executed store
2023-10-13	12:26:04	479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859971','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:04	479	[DEBUG]	Checking manufacturer
2023-10-13	12:26:04	479	[DEBUG]	Load a row
2023-10-13	12:26:04	479	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:04	479	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:04	479	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:04	479	[DEBUG]	Executed store
2023-10-13	12:26:04	479	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:04	479	[DEBUG]	Manufacturer exists
2023-10-13	12:26:04	479	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:04	479	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:04	479	[DEBUG]	Executed store
2023-10-13	12:26:04	479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859971','44')
2023-10-13	12:26:04	479	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:04	479	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:04	479	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859971 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:04	479	[DEBUG]	Store custom available field
2023-10-13	12:26:04	479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859971,3,'',1)
2023-10-13	12:26:04	479	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:04	479	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:26:04	479	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859971 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:04	479	[DEBUG]	Store custom available field
2023-10-13	12:26:04	479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859971,6,'M',3)
2023-10-13	12:26:04	479	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:04	479	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:04	479	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859969
2023-10-13	12:26:04	479	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:04	479	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\r\\nM\"}]|clabels=0|options={\"1859969\":[1859969,8,1,\"choisir la taille\"],\"1859970\":[\"S\"],\"1859971\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1859969
2023-10-13	12:26:04	479	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:04	479	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859971
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:04	480	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field taille
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:04	480	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:04	480	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:04	480	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field product_weight
2023-10-13	12:26:04	480	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:04	480	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:04	480	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field published
2023-10-13	12:26:04	480	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:04	480	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field override
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:04	480	[DEBUG]	Use field value for field slug
2023-10-13	12:26:04	480	[DEBUG]	Process line 480
2023-10-13	12:26:04	480	[DEBUG]	Load a row
2023-10-13	12:26:04	480	[DEBUG]	Processing item: A_8805_40
2023-10-13	12:26:04	480	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:04	480	[DEBUG]	Processing product tax
2023-10-13	12:26:04	480	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:04	480	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:04	480	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:04	480	[DEBUG]	Query for Product
2023-10-13	12:26:04	480	[DEBUG]	Executed store
2023-10-13	12:26:04	480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8805_40','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:04	480	[DEBUG]	Check product language entry
2023-10-13	12:26:04	480	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859972
2023-10-13	12:26:04	480	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:04	480	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8805_40' AND `virtuemart_product_id` != 1859972
2023-10-13	12:26:04	480	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:04	480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859972, 'A_8805_40')
2023-10-13	12:26:04	480	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:04	480	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vert' AND `virtuemart_product_id` != 1859972
2023-10-13	12:26:04	480	[DEBUG]	Query for ProductLang
2023-10-13	12:26:04	480	[DEBUG]	Executed store
2023-10-13	12:26:04	480	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 26840-341',`product_name`='Fox Casque Speedframe  / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vert' WHERE `virtuemart_product_id` = '1859972'
2023-10-13	12:26:04	480	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37788_casque_fox_22_helmet_speedframe_.jpg
2023-10-13	12:26:04	480	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:04	480	[DEBUG]	Process image file
2023-10-13	12:26:04	480	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:04	480	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:04	480	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37788_casque_fox_22_helmet_speedframe_.jpg
2023-10-13	12:26:04	480	[DEBUG]	Full name target: bcprisme/37788_casque_fox_22_helmet_speedframe_.jpg
2023-10-13	12:26:05	480	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:05	480	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37788_casque_fox_22_helmet_speedframe_.jpg'
2023-10-13	12:26:05	480	[DEBUG]	Query for Media
2023-10-13	12:26:05	480	[DEBUG]	Executed store
2023-10-13	12:26:05	480	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37788_casque_fox_22_helmet_speedframe_.jpg',`file_url_thumb`='bcprisme/37788_casque_fox_22_helmet_speedframe_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079870'
2023-10-13	12:26:05	480	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:05	480	[DEBUG]	Executed store
2023-10-13	12:26:05	480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859972','1079870','1')
2023-10-13	12:26:05	480	[DEBUG]	Store product image relation
2023-10-13	12:26:05	480	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:05	480	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859972 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:05	480	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:05	480	[DEBUG]	Executed store
2023-10-13	12:26:05	480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859972','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:05	480	[DEBUG]	Checking manufacturer
2023-10-13	12:26:05	480	[DEBUG]	Load a row
2023-10-13	12:26:05	480	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:05	480	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:05	480	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:05	480	[DEBUG]	Executed store
2023-10-13	12:26:05	480	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:05	480	[DEBUG]	Manufacturer exists
2023-10-13	12:26:05	480	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:05	480	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:05	480	[DEBUG]	Executed store
2023-10-13	12:26:05	480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859972','44')
2023-10-13	12:26:05	480	[DEBUG]	Find the custom field ID
2023-10-13	12:26:05	480	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:05	480	[DEBUG]	No custom field ID found
2023-10-13	12:26:05	480	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:05	480	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:26:05	480	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859972 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:05	480	[DEBUG]	Store custom available field
2023-10-13	12:26:05	480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859972,3,'9.8725',1)
2023-10-13	12:26:05	480	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:05	480	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:05	480	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859972 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:05	480	[DEBUG]	Store custom available field
2023-10-13	12:26:05	480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859972,6,'choisir la taille',3)
2023-10-13	12:26:05	480	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:05	480	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:05	480	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:05	480	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:05	480	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859972 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:05	480	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:05	480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859972,8,1)
2023-10-13	12:26:05	480	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:05	480	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859972\":[1859972,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859972
2023-10-13	12:26:05	480	[DEBUG]	Checking category
2023-10-13	12:26:05	480	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:05	480	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859972
2023-10-13	12:26:05	480	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:05	480	[DEBUG]	Executed store
2023-10-13	12:26:05	480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859972','7281')
2023-10-13	12:26:05	480	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:05	480	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859972 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:05	480	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:05	480	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859972
2023-10-13	12:26:05	481	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:05	481	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:05	481	[DEBUG]	Use field value for field taille
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:05	481	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:05	481	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:05	481	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:05	481	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:05	481	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:05	481	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:05	481	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:05	481	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:05	481	[DEBUG]	Use field value for field published
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:05	481	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field override
2023-10-13	12:26:05	481	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:05	481	[DEBUG]	Use field value for field slug
2023-10-13	12:26:05	481	[DEBUG]	Process line 481
2023-10-13	12:26:05	481	[DEBUG]	Load a row
2023-10-13	12:26:05	481	[DEBUG]	Processing item: 1000000164466
2023-10-13	12:26:05	481	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:05	481	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:05	481	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8805_40'
2023-10-13	12:26:05	481	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:05	481	[DEBUG]	Processing product tax
2023-10-13	12:26:05	481	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:05	481	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:05	481	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:05	481	[DEBUG]	Query for Product
2023-10-13	12:26:05	481	[DEBUG]	Executed store
2023-10-13	12:26:05	481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859972','1000000164466','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:05	481	[DEBUG]	No parent found
2023-10-13	12:26:05	481	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859972 AND customfield_value = 'stockable'
2023-10-13	12:26:05	481	[DEBUG]	Check product language entry
2023-10-13	12:26:05	481	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859973
2023-10-13	12:26:05	481	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:05	481	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164466' AND `virtuemart_product_id` != 1859973
2023-10-13	12:26:05	481	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:05	481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859973, '1000000164466')
2023-10-13	12:26:05	481	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:05	481	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vert-m' AND `virtuemart_product_id` != 1859973
2023-10-13	12:26:05	481	[DEBUG]	Query for ProductLang
2023-10-13	12:26:05	481	[DEBUG]	Executed store
2023-10-13	12:26:05	481	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe  / Vert (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vert-m' WHERE `virtuemart_product_id` = '1859973'
2023-10-13	12:26:05	481	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37788_casque_fox_22_helmet_speedframe_.jpg
2023-10-13	12:26:05	481	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:05	481	[DEBUG]	Process image file
2023-10-13	12:26:05	481	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:05	481	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:05	481	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37788_casque_fox_22_helmet_speedframe_.jpg
2023-10-13	12:26:05	481	[DEBUG]	Full name target: bcprisme/37788_casque_fox_22_helmet_speedframe_.jpg
2023-10-13	12:26:06	481	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:06	481	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37788_casque_fox_22_helmet_speedframe_.jpg'
2023-10-13	12:26:06	481	[DEBUG]	Query for Media
2023-10-13	12:26:06	481	[DEBUG]	Executed store
2023-10-13	12:26:06	481	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37788_casque_fox_22_helmet_speedframe_.jpg',`file_url_thumb`='bcprisme/37788_casque_fox_22_helmet_speedframe_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079870'
2023-10-13	12:26:06	481	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:06	481	[DEBUG]	Executed store
2023-10-13	12:26:06	481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859973','1079870','1')
2023-10-13	12:26:06	481	[DEBUG]	Store product image relation
2023-10-13	12:26:06	481	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:06	481	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859973 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:06	481	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:06	481	[DEBUG]	Executed store
2023-10-13	12:26:06	481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859973','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:06	481	[DEBUG]	Checking manufacturer
2023-10-13	12:26:06	481	[DEBUG]	Load a row
2023-10-13	12:26:06	481	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:06	481	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:06	481	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:06	481	[DEBUG]	Executed store
2023-10-13	12:26:06	481	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:06	481	[DEBUG]	Manufacturer exists
2023-10-13	12:26:06	481	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:06	481	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:06	481	[DEBUG]	Executed store
2023-10-13	12:26:06	481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859973','44')
2023-10-13	12:26:06	481	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:06	481	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:06	481	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859973 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:06	481	[DEBUG]	Store custom available field
2023-10-13	12:26:06	481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859973,3,'',1)
2023-10-13	12:26:06	481	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:06	481	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:26:06	481	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859973 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:06	481	[DEBUG]	Store custom available field
2023-10-13	12:26:06	481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859973,6,'M',3)
2023-10-13	12:26:06	481	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:06	481	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:06	481	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859972
2023-10-13	12:26:06	481	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:06	481	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nM\"}]|clabels=0|options={\"1859972\":[1859972,8,1,\"choisir la taille\"],\"1859973\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1859972
2023-10-13	12:26:06	481	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:06	481	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859973
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:06	482	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field taille
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:06	482	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:06	482	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:06	482	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field product_weight
2023-10-13	12:26:06	482	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:06	482	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:06	482	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field published
2023-10-13	12:26:06	482	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:06	482	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field override
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:06	482	[DEBUG]	Use field value for field slug
2023-10-13	12:26:06	482	[DEBUG]	Process line 482
2023-10-13	12:26:06	482	[DEBUG]	Load a row
2023-10-13	12:26:06	482	[DEBUG]	Processing item: A_8806_12
2023-10-13	12:26:06	482	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:06	482	[DEBUG]	Processing product tax
2023-10-13	12:26:06	482	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:06	482	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:06	482	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:06	482	[DEBUG]	Query for Product
2023-10-13	12:26:06	482	[DEBUG]	Executed store
2023-10-13	12:26:06	482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8806_12','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:06	482	[DEBUG]	Check product language entry
2023-10-13	12:26:06	482	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859974
2023-10-13	12:26:06	482	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:06	482	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8806_12' AND `virtuemart_product_id` != 1859974
2023-10-13	12:26:06	482	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:06	482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859974, 'A_8806_12')
2023-10-13	12:26:06	482	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:06	482	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-blanc' AND `virtuemart_product_id` != 1859974
2023-10-13	12:26:06	482	[DEBUG]	Query for ProductLang
2023-10-13	12:26:06	482	[DEBUG]	Executed store
2023-10-13	12:26:06	482	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 29410-008',`product_name`='Fox Casque Speedframe VNISH / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-blanc' WHERE `virtuemart_product_id` = '1859974'
2023-10-13	12:26:06	482	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:06	482	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:06	482	[DEBUG]	Process image file
2023-10-13	12:26:06	482	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:06	482	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:06	482	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:06	482	[DEBUG]	Full name target: bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:07	482	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:07	482	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg'
2023-10-13	12:26:07	482	[DEBUG]	Query for Media
2023-10-13	12:26:07	482	[DEBUG]	Executed store
2023-10-13	12:26:07	482	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg',`file_url_thumb`='bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079872'
2023-10-13	12:26:07	482	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:07	482	[DEBUG]	Executed store
2023-10-13	12:26:07	482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859974','1079872','1')
2023-10-13	12:26:07	482	[DEBUG]	Store product image relation
2023-10-13	12:26:07	482	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:07	482	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859974 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:07	482	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:07	482	[DEBUG]	Executed store
2023-10-13	12:26:07	482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859974','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:07	482	[DEBUG]	Checking manufacturer
2023-10-13	12:26:07	482	[DEBUG]	Load a row
2023-10-13	12:26:07	482	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:07	482	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:07	482	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:07	482	[DEBUG]	Executed store
2023-10-13	12:26:07	482	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:07	482	[DEBUG]	Manufacturer exists
2023-10-13	12:26:07	482	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:07	482	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:07	482	[DEBUG]	Executed store
2023-10-13	12:26:07	482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859974','44')
2023-10-13	12:26:07	482	[DEBUG]	Find the custom field ID
2023-10-13	12:26:07	482	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:07	482	[DEBUG]	No custom field ID found
2023-10-13	12:26:07	482	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:07	482	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:26:07	482	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859974 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:07	482	[DEBUG]	Store custom available field
2023-10-13	12:26:07	482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859974,3,'9.8725',1)
2023-10-13	12:26:07	482	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:07	482	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:07	482	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859974 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:07	482	[DEBUG]	Store custom available field
2023-10-13	12:26:07	482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859974,6,'choisir la taille',3)
2023-10-13	12:26:07	482	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:07	482	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:07	482	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:07	482	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:07	482	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859974 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:07	482	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:07	482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859974,8,1)
2023-10-13	12:26:07	482	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:07	482	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859974\":[1859974,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859974
2023-10-13	12:26:07	482	[DEBUG]	Checking category
2023-10-13	12:26:07	482	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:07	482	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859974
2023-10-13	12:26:07	482	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:07	482	[DEBUG]	Executed store
2023-10-13	12:26:07	482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859974','7281')
2023-10-13	12:26:07	482	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:07	482	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859974 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:07	482	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:07	482	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859974
2023-10-13	12:26:07	483	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:07	483	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:07	483	[DEBUG]	Use field value for field taille
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:07	483	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:07	483	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:07	483	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:07	483	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:07	483	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:07	483	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:07	483	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:07	483	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:07	483	[DEBUG]	Use field value for field published
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:07	483	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field override
2023-10-13	12:26:07	483	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:07	483	[DEBUG]	Use field value for field slug
2023-10-13	12:26:07	483	[DEBUG]	Process line 483
2023-10-13	12:26:07	483	[DEBUG]	Load a row
2023-10-13	12:26:07	483	[DEBUG]	Processing item: 191972655463
2023-10-13	12:26:07	483	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:07	483	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:07	483	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8806_12'
2023-10-13	12:26:07	483	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:07	483	[DEBUG]	Processing product tax
2023-10-13	12:26:07	483	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:07	483	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:07	483	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:07	483	[DEBUG]	Query for Product
2023-10-13	12:26:07	483	[DEBUG]	Executed store
2023-10-13	12:26:07	483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859974','191972655463','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:07	483	[DEBUG]	No parent found
2023-10-13	12:26:07	483	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859974 AND customfield_value = 'stockable'
2023-10-13	12:26:07	483	[DEBUG]	Check product language entry
2023-10-13	12:26:07	483	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859975
2023-10-13	12:26:07	483	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:07	483	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972655463' AND `virtuemart_product_id` != 1859975
2023-10-13	12:26:07	483	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:07	483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859975, '191972655463')
2023-10-13	12:26:07	483	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:07	483	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-blanc-s' AND `virtuemart_product_id` != 1859975
2023-10-13	12:26:07	483	[DEBUG]	Query for ProductLang
2023-10-13	12:26:07	483	[DEBUG]	Executed store
2023-10-13	12:26:07	483	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe VNISH / Blanc (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-blanc-s' WHERE `virtuemart_product_id` = '1859975'
2023-10-13	12:26:07	483	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:07	483	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:07	483	[DEBUG]	Process image file
2023-10-13	12:26:07	483	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:07	483	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:07	483	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:07	483	[DEBUG]	Full name target: bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:08	483	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:08	483	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg'
2023-10-13	12:26:08	483	[DEBUG]	Query for Media
2023-10-13	12:26:08	483	[DEBUG]	Executed store
2023-10-13	12:26:08	483	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg',`file_url_thumb`='bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079872'
2023-10-13	12:26:08	483	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:08	483	[DEBUG]	Executed store
2023-10-13	12:26:08	483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859975','1079872','1')
2023-10-13	12:26:08	483	[DEBUG]	Store product image relation
2023-10-13	12:26:08	483	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:08	483	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859975 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:08	483	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:08	483	[DEBUG]	Executed store
2023-10-13	12:26:08	483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859975','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:08	483	[DEBUG]	Checking manufacturer
2023-10-13	12:26:08	483	[DEBUG]	Load a row
2023-10-13	12:26:08	483	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:08	483	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:08	483	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:08	483	[DEBUG]	Executed store
2023-10-13	12:26:08	483	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:08	483	[DEBUG]	Manufacturer exists
2023-10-13	12:26:08	483	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:08	483	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:08	483	[DEBUG]	Executed store
2023-10-13	12:26:08	483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859975','44')
2023-10-13	12:26:08	483	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:08	483	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:08	483	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859975 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:08	483	[DEBUG]	Store custom available field
2023-10-13	12:26:08	483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859975,3,'',1)
2023-10-13	12:26:08	483	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:08	483	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:26:08	483	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859975 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:08	483	[DEBUG]	Store custom available field
2023-10-13	12:26:08	483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859975,6,'S',3)
2023-10-13	12:26:08	483	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:08	483	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:08	483	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859974
2023-10-13	12:26:08	483	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:08	483	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\"}]|clabels=0|options={\"1859974\":[1859974,8,1,\"choisir la taille\"],\"1859975\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1859974
2023-10-13	12:26:08	483	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:08	483	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859975
2023-10-13	12:26:08	484	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:08	484	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:08	484	[DEBUG]	Use field value for field taille
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:08	484	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:08	484	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:08	484	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:08	484	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:08	484	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:08	484	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:08	484	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:08	484	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:08	484	[DEBUG]	Use field value for field published
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:08	484	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field override
2023-10-13	12:26:08	484	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:08	484	[DEBUG]	Use field value for field slug
2023-10-13	12:26:08	484	[DEBUG]	Process line 484
2023-10-13	12:26:08	484	[DEBUG]	Load a row
2023-10-13	12:26:08	484	[DEBUG]	Processing item: 1000000164480
2023-10-13	12:26:08	484	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:08	484	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:08	484	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8806_12'
2023-10-13	12:26:08	484	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:08	484	[DEBUG]	Processing product tax
2023-10-13	12:26:08	484	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:08	484	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:08	484	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:08	484	[DEBUG]	Query for Product
2023-10-13	12:26:08	484	[DEBUG]	Executed store
2023-10-13	12:26:08	484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859974','1000000164480','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:08	484	[DEBUG]	No parent found
2023-10-13	12:26:08	484	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859974 AND customfield_value = 'stockable'
2023-10-13	12:26:08	484	[DEBUG]	Check product language entry
2023-10-13	12:26:08	484	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859976
2023-10-13	12:26:08	484	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:08	484	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164480' AND `virtuemart_product_id` != 1859976
2023-10-13	12:26:08	484	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:08	484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859976, '1000000164480')
2023-10-13	12:26:08	484	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:08	484	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-blanc-m' AND `virtuemart_product_id` != 1859976
2023-10-13	12:26:08	484	[DEBUG]	Query for ProductLang
2023-10-13	12:26:08	484	[DEBUG]	Executed store
2023-10-13	12:26:08	484	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe VNISH / Blanc (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-blanc-m' WHERE `virtuemart_product_id` = '1859976'
2023-10-13	12:26:08	484	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:08	484	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:08	484	[DEBUG]	Process image file
2023-10-13	12:26:08	484	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:08	484	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:08	484	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:08	484	[DEBUG]	Full name target: bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:09	484	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:09	484	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg'
2023-10-13	12:26:09	484	[DEBUG]	Query for Media
2023-10-13	12:26:09	484	[DEBUG]	Executed store
2023-10-13	12:26:09	484	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg',`file_url_thumb`='bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079872'
2023-10-13	12:26:09	484	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:09	484	[DEBUG]	Executed store
2023-10-13	12:26:09	484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859976','1079872','1')
2023-10-13	12:26:09	484	[DEBUG]	Store product image relation
2023-10-13	12:26:09	484	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:09	484	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859976 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:09	484	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:09	484	[DEBUG]	Executed store
2023-10-13	12:26:09	484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859976','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:09	484	[DEBUG]	Checking manufacturer
2023-10-13	12:26:09	484	[DEBUG]	Load a row
2023-10-13	12:26:09	484	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:09	484	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:09	484	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:09	484	[DEBUG]	Executed store
2023-10-13	12:26:09	484	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:09	484	[DEBUG]	Manufacturer exists
2023-10-13	12:26:09	484	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:09	484	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:09	484	[DEBUG]	Executed store
2023-10-13	12:26:09	484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859976','44')
2023-10-13	12:26:09	484	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:09	484	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:09	484	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859976 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:09	484	[DEBUG]	Store custom available field
2023-10-13	12:26:09	484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859976,3,'',1)
2023-10-13	12:26:09	484	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:09	484	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:26:09	484	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859976 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:09	484	[DEBUG]	Store custom available field
2023-10-13	12:26:09	484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859976,6,'M',3)
2023-10-13	12:26:09	484	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:09	484	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:09	484	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859974
2023-10-13	12:26:09	484	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:09	484	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\r\\nM\"}]|clabels=0|options={\"1859974\":[1859974,8,1,\"choisir la taille\"],\"1859975\":[\"S\"],\"1859976\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1859974
2023-10-13	12:26:09	484	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:09	484	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859976
2023-10-13	12:26:09	485	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:09	485	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:09	485	[DEBUG]	Use field value for field taille
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:09	485	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:09	485	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:09	485	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:09	485	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:09	485	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:09	485	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:09	485	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:09	485	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:09	485	[DEBUG]	Use field value for field published
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:09	485	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field override
2023-10-13	12:26:09	485	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:09	485	[DEBUG]	Use field value for field slug
2023-10-13	12:26:09	485	[DEBUG]	Process line 485
2023-10-13	12:26:09	485	[DEBUG]	Load a row
2023-10-13	12:26:09	485	[DEBUG]	Processing item: 1000000186857
2023-10-13	12:26:09	485	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:09	485	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:09	485	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8806_12'
2023-10-13	12:26:09	485	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:09	485	[DEBUG]	Processing product tax
2023-10-13	12:26:09	485	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:09	485	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:09	485	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:09	485	[DEBUG]	Query for Product
2023-10-13	12:26:09	485	[DEBUG]	Executed store
2023-10-13	12:26:09	485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859974','1000000186857','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:09	485	[DEBUG]	No parent found
2023-10-13	12:26:09	485	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859974 AND customfield_value = 'stockable'
2023-10-13	12:26:09	485	[DEBUG]	Check product language entry
2023-10-13	12:26:09	485	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859977
2023-10-13	12:26:09	485	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:09	485	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000186857' AND `virtuemart_product_id` != 1859977
2023-10-13	12:26:09	485	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:09	485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859977, '1000000186857')
2023-10-13	12:26:09	485	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:09	485	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-blanc-l' AND `virtuemart_product_id` != 1859977
2023-10-13	12:26:09	485	[DEBUG]	Query for ProductLang
2023-10-13	12:26:09	485	[DEBUG]	Executed store
2023-10-13	12:26:09	485	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe VNISH / Blanc (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-blanc-l' WHERE `virtuemart_product_id` = '1859977'
2023-10-13	12:26:09	485	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:09	485	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:09	485	[DEBUG]	Process image file
2023-10-13	12:26:09	485	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:09	485	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:09	485	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:09	485	[DEBUG]	Full name target: bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:10	485	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:10	485	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg'
2023-10-13	12:26:10	485	[DEBUG]	Query for Media
2023-10-13	12:26:10	485	[DEBUG]	Executed store
2023-10-13	12:26:10	485	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg',`file_url_thumb`='bcprisme/37789_casque_fox_22_helmet_speedframe_vnish.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079872'
2023-10-13	12:26:10	485	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:10	485	[DEBUG]	Executed store
2023-10-13	12:26:10	485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859977','1079872','1')
2023-10-13	12:26:10	485	[DEBUG]	Store product image relation
2023-10-13	12:26:10	485	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:10	485	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859977 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:10	485	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:10	485	[DEBUG]	Executed store
2023-10-13	12:26:10	485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859977','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:10	485	[DEBUG]	Checking manufacturer
2023-10-13	12:26:10	485	[DEBUG]	Load a row
2023-10-13	12:26:10	485	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:10	485	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:10	485	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:10	485	[DEBUG]	Executed store
2023-10-13	12:26:10	485	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:10	485	[DEBUG]	Manufacturer exists
2023-10-13	12:26:10	485	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:10	485	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:10	485	[DEBUG]	Executed store
2023-10-13	12:26:10	485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859977','44')
2023-10-13	12:26:10	485	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:10	485	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:10	485	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859977 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:10	485	[DEBUG]	Store custom available field
2023-10-13	12:26:10	485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859977,3,'',1)
2023-10-13	12:26:10	485	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:10	485	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:26:10	485	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859977 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:10	485	[DEBUG]	Store custom available field
2023-10-13	12:26:10	485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859977,6,'L',3)
2023-10-13	12:26:10	485	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:10	485	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:10	485	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859974
2023-10-13	12:26:10	485	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:10	485	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\r\\nM\\r\\nL\"}]|clabels=0|options={\"1859974\":[1859974,8,1,\"choisir la taille\"],\"1859975\":[\"S\"],\"1859976\":[\"M\"],\"1859977\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1859974
2023-10-13	12:26:10	485	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:10	485	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859977
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:10	486	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field taille
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:10	486	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:10	486	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:10	486	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field product_weight
2023-10-13	12:26:10	486	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:10	486	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:10	486	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field published
2023-10-13	12:26:10	486	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:10	486	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field override
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:10	486	[DEBUG]	Use field value for field slug
2023-10-13	12:26:10	486	[DEBUG]	Process line 486
2023-10-13	12:26:10	486	[DEBUG]	Load a row
2023-10-13	12:26:10	486	[DEBUG]	Processing item: A_8807_16
2023-10-13	12:26:10	486	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:10	486	[DEBUG]	Processing product tax
2023-10-13	12:26:10	486	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:10	486	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:10	486	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:10	486	[DEBUG]	Query for Product
2023-10-13	12:26:10	486	[DEBUG]	Executed store
2023-10-13	12:26:10	486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8807_16','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:10	486	[DEBUG]	Check product language entry
2023-10-13	12:26:10	486	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859978
2023-10-13	12:26:10	486	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:10	486	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8807_16' AND `virtuemart_product_id` != 1859978
2023-10-13	12:26:10	486	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:10	486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859978, 'A_8807_16')
2023-10-13	12:26:10	486	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:10	486	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-gris' AND `virtuemart_product_id` != 1859978
2023-10-13	12:26:10	486	[DEBUG]	Query for ProductLang
2023-10-13	12:26:10	486	[DEBUG]	Executed store
2023-10-13	12:26:10	486	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 29410-330',`product_name`='Fox Casque Speedframe VNISH  / Gris',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-gris' WHERE `virtuemart_product_id` = '1859978'
2023-10-13	12:26:10	486	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg
2023-10-13	12:26:10	486	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:10	486	[DEBUG]	Process image file
2023-10-13	12:26:10	486	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:10	486	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:10	486	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg
2023-10-13	12:26:10	486	[DEBUG]	Full name target: bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg
2023-10-13	12:26:11	486	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:11	486	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg'
2023-10-13	12:26:11	486	[DEBUG]	Query for Media
2023-10-13	12:26:11	486	[DEBUG]	Executed store
2023-10-13	12:26:11	486	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg',`file_url_thumb`='bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079875'
2023-10-13	12:26:11	486	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:11	486	[DEBUG]	Executed store
2023-10-13	12:26:11	486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859978','1079875','1')
2023-10-13	12:26:11	486	[DEBUG]	Store product image relation
2023-10-13	12:26:11	486	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:11	486	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859978 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:11	486	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:11	486	[DEBUG]	Executed store
2023-10-13	12:26:11	486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859978','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:11	486	[DEBUG]	Checking manufacturer
2023-10-13	12:26:11	486	[DEBUG]	Load a row
2023-10-13	12:26:11	486	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:11	486	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:11	486	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:11	486	[DEBUG]	Executed store
2023-10-13	12:26:11	486	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:11	486	[DEBUG]	Manufacturer exists
2023-10-13	12:26:11	486	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:11	486	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:11	486	[DEBUG]	Executed store
2023-10-13	12:26:11	486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859978','44')
2023-10-13	12:26:11	486	[DEBUG]	Find the custom field ID
2023-10-13	12:26:11	486	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:11	486	[DEBUG]	No custom field ID found
2023-10-13	12:26:11	486	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:11	486	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:26:11	486	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859978 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:11	486	[DEBUG]	Store custom available field
2023-10-13	12:26:11	486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859978,3,'9.8725',1)
2023-10-13	12:26:11	486	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:11	486	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:11	486	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859978 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:11	486	[DEBUG]	Store custom available field
2023-10-13	12:26:11	486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859978,6,'choisir la taille',3)
2023-10-13	12:26:11	486	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:11	486	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:11	486	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:11	486	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:11	486	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859978 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:11	486	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:11	486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859978,8,1)
2023-10-13	12:26:11	486	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:11	486	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859978\":[1859978,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859978
2023-10-13	12:26:11	486	[DEBUG]	Checking category
2023-10-13	12:26:11	486	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:11	486	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859978
2023-10-13	12:26:11	486	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:11	486	[DEBUG]	Executed store
2023-10-13	12:26:11	486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859978','7281')
2023-10-13	12:26:11	486	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:11	486	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859978 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:11	486	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:11	486	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859978
2023-10-13	12:26:11	487	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:11	487	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:11	487	[DEBUG]	Use field value for field taille
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:11	487	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:11	487	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:11	487	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:11	487	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:11	487	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:11	487	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:11	487	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:11	487	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:11	487	[DEBUG]	Use field value for field published
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:11	487	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field override
2023-10-13	12:26:11	487	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:11	487	[DEBUG]	Use field value for field slug
2023-10-13	12:26:11	487	[DEBUG]	Process line 487
2023-10-13	12:26:11	487	[DEBUG]	Load a row
2023-10-13	12:26:11	487	[DEBUG]	Processing item: 191972631221
2023-10-13	12:26:11	487	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:11	487	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:11	487	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8807_16'
2023-10-13	12:26:11	487	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:11	487	[DEBUG]	Processing product tax
2023-10-13	12:26:11	487	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:11	487	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:11	487	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:11	487	[DEBUG]	Query for Product
2023-10-13	12:26:11	487	[DEBUG]	Executed store
2023-10-13	12:26:11	487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859978','191972631221','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:11	487	[DEBUG]	No parent found
2023-10-13	12:26:11	487	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859978 AND customfield_value = 'stockable'
2023-10-13	12:26:11	487	[DEBUG]	Check product language entry
2023-10-13	12:26:11	487	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859979
2023-10-13	12:26:11	487	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:11	487	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972631221' AND `virtuemart_product_id` != 1859979
2023-10-13	12:26:11	487	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:11	487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859979, '191972631221')
2023-10-13	12:26:11	487	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:11	487	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-gris-s' AND `virtuemart_product_id` != 1859979
2023-10-13	12:26:11	487	[DEBUG]	Query for ProductLang
2023-10-13	12:26:11	487	[DEBUG]	Executed store
2023-10-13	12:26:11	487	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe VNISH  / Gris (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-gris-s' WHERE `virtuemart_product_id` = '1859979'
2023-10-13	12:26:11	487	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg
2023-10-13	12:26:11	487	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:11	487	[DEBUG]	Process image file
2023-10-13	12:26:11	487	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:11	487	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:11	487	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg
2023-10-13	12:26:11	487	[DEBUG]	Full name target: bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg
2023-10-13	12:26:12	487	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:12	487	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg'
2023-10-13	12:26:12	487	[DEBUG]	Query for Media
2023-10-13	12:26:12	487	[DEBUG]	Executed store
2023-10-13	12:26:12	487	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg',`file_url_thumb`='bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079875'
2023-10-13	12:26:12	487	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:12	487	[DEBUG]	Executed store
2023-10-13	12:26:12	487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859979','1079875','1')
2023-10-13	12:26:12	487	[DEBUG]	Store product image relation
2023-10-13	12:26:12	487	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:12	487	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859979 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:12	487	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:12	487	[DEBUG]	Executed store
2023-10-13	12:26:12	487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859979','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:12	487	[DEBUG]	Checking manufacturer
2023-10-13	12:26:12	487	[DEBUG]	Load a row
2023-10-13	12:26:12	487	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:12	487	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:12	487	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:12	487	[DEBUG]	Executed store
2023-10-13	12:26:12	487	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:12	487	[DEBUG]	Manufacturer exists
2023-10-13	12:26:12	487	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:12	487	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:12	487	[DEBUG]	Executed store
2023-10-13	12:26:12	487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859979','44')
2023-10-13	12:26:12	487	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:12	487	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:12	487	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859979 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:12	487	[DEBUG]	Store custom available field
2023-10-13	12:26:12	487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859979,3,'',1)
2023-10-13	12:26:12	487	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:12	487	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:26:12	487	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859979 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:12	487	[DEBUG]	Store custom available field
2023-10-13	12:26:12	487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859979,6,'S',3)
2023-10-13	12:26:12	487	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:12	487	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:12	487	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859978
2023-10-13	12:26:12	487	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:12	487	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\"}]|clabels=0|options={\"1859978\":[1859978,8,1,\"choisir la taille\"],\"1859979\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1859978
2023-10-13	12:26:12	487	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:12	487	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859979
2023-10-13	12:26:12	488	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:12	488	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:12	488	[DEBUG]	Use field value for field taille
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:12	488	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:12	488	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:12	488	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:12	488	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:12	488	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:12	488	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:12	488	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:12	488	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:12	488	[DEBUG]	Use field value for field published
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:12	488	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field override
2023-10-13	12:26:12	488	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:12	488	[DEBUG]	Use field value for field slug
2023-10-13	12:26:12	488	[DEBUG]	Process line 488
2023-10-13	12:26:12	488	[DEBUG]	Load a row
2023-10-13	12:26:12	488	[DEBUG]	Processing item: 1000000164503
2023-10-13	12:26:12	488	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:12	488	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:12	488	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8807_16'
2023-10-13	12:26:12	488	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:12	488	[DEBUG]	Processing product tax
2023-10-13	12:26:12	488	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:12	488	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:12	488	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:12	488	[DEBUG]	Query for Product
2023-10-13	12:26:12	488	[DEBUG]	Executed store
2023-10-13	12:26:12	488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859978','1000000164503','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:12	488	[DEBUG]	No parent found
2023-10-13	12:26:12	488	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859978 AND customfield_value = 'stockable'
2023-10-13	12:26:12	488	[DEBUG]	Check product language entry
2023-10-13	12:26:12	488	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859980
2023-10-13	12:26:12	488	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:12	488	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164503' AND `virtuemart_product_id` != 1859980
2023-10-13	12:26:12	488	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:12	488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859980, '1000000164503')
2023-10-13	12:26:12	488	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:12	488	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-gris-m' AND `virtuemart_product_id` != 1859980
2023-10-13	12:26:12	488	[DEBUG]	Query for ProductLang
2023-10-13	12:26:12	488	[DEBUG]	Executed store
2023-10-13	12:26:12	488	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe VNISH  / Gris (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-gris-m' WHERE `virtuemart_product_id` = '1859980'
2023-10-13	12:26:12	488	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg
2023-10-13	12:26:12	488	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:12	488	[DEBUG]	Process image file
2023-10-13	12:26:12	488	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:12	488	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:12	488	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg
2023-10-13	12:26:12	488	[DEBUG]	Full name target: bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg
2023-10-13	12:26:13	488	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:13	488	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg'
2023-10-13	12:26:13	488	[DEBUG]	Query for Media
2023-10-13	12:26:13	488	[DEBUG]	Executed store
2023-10-13	12:26:13	488	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg',`file_url_thumb`='bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079875'
2023-10-13	12:26:13	488	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:13	488	[DEBUG]	Executed store
2023-10-13	12:26:13	488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859980','1079875','1')
2023-10-13	12:26:13	488	[DEBUG]	Store product image relation
2023-10-13	12:26:13	488	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:13	488	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859980 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:13	488	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:13	488	[DEBUG]	Executed store
2023-10-13	12:26:13	488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859980','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:13	488	[DEBUG]	Checking manufacturer
2023-10-13	12:26:13	488	[DEBUG]	Load a row
2023-10-13	12:26:13	488	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:13	488	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:13	488	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:13	488	[DEBUG]	Executed store
2023-10-13	12:26:13	488	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:13	488	[DEBUG]	Manufacturer exists
2023-10-13	12:26:13	488	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:13	488	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:13	488	[DEBUG]	Executed store
2023-10-13	12:26:13	488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859980','44')
2023-10-13	12:26:13	488	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:13	488	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:13	488	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859980 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:13	488	[DEBUG]	Store custom available field
2023-10-13	12:26:13	488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859980,3,'',1)
2023-10-13	12:26:13	488	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:13	488	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:26:13	488	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859980 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:13	488	[DEBUG]	Store custom available field
2023-10-13	12:26:13	488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859980,6,'M',3)
2023-10-13	12:26:13	488	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:13	488	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:13	488	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859978
2023-10-13	12:26:13	488	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:13	488	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\r\\nM\"}]|clabels=0|options={\"1859978\":[1859978,8,1,\"choisir la taille\"],\"1859979\":[\"S\"],\"1859980\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1859978
2023-10-13	12:26:13	488	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:13	488	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859980
2023-10-13	12:26:13	489	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:13	489	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:13	489	[DEBUG]	Use field value for field taille
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:13	489	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:13	489	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:13	489	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:13	489	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:13	489	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:13	489	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:13	489	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:13	489	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:13	489	[DEBUG]	Use field value for field published
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:13	489	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field override
2023-10-13	12:26:13	489	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:13	489	[DEBUG]	Use field value for field slug
2023-10-13	12:26:13	489	[DEBUG]	Process line 489
2023-10-13	12:26:13	489	[DEBUG]	Load a row
2023-10-13	12:26:13	489	[DEBUG]	Processing item: 1000000164565
2023-10-13	12:26:13	489	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:13	489	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:13	489	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8807_16'
2023-10-13	12:26:13	489	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:13	489	[DEBUG]	Processing product tax
2023-10-13	12:26:13	489	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:13	489	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:13	489	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:13	489	[DEBUG]	Query for Product
2023-10-13	12:26:13	489	[DEBUG]	Executed store
2023-10-13	12:26:13	489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859978','1000000164565','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:13	489	[DEBUG]	No parent found
2023-10-13	12:26:13	489	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859978 AND customfield_value = 'stockable'
2023-10-13	12:26:13	489	[DEBUG]	Check product language entry
2023-10-13	12:26:13	489	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859981
2023-10-13	12:26:13	489	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:13	489	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164565' AND `virtuemart_product_id` != 1859981
2023-10-13	12:26:13	489	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:13	489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859981, '1000000164565')
2023-10-13	12:26:13	489	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:13	489	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-gris-l' AND `virtuemart_product_id` != 1859981
2023-10-13	12:26:13	489	[DEBUG]	Query for ProductLang
2023-10-13	12:26:13	489	[DEBUG]	Executed store
2023-10-13	12:26:13	489	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe VNISH  / Gris (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-gris-l' WHERE `virtuemart_product_id` = '1859981'
2023-10-13	12:26:13	489	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg
2023-10-13	12:26:13	489	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:13	489	[DEBUG]	Process image file
2023-10-13	12:26:13	489	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:13	489	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:13	489	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg
2023-10-13	12:26:13	489	[DEBUG]	Full name target: bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg
2023-10-13	12:26:14	489	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:14	489	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg'
2023-10-13	12:26:14	489	[DEBUG]	Query for Media
2023-10-13	12:26:14	489	[DEBUG]	Executed store
2023-10-13	12:26:14	489	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg',`file_url_thumb`='bcprisme/37790_casque_fox_22_helmet_speedframe_vnish_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079875'
2023-10-13	12:26:14	489	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:14	489	[DEBUG]	Executed store
2023-10-13	12:26:14	489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859981','1079875','1')
2023-10-13	12:26:14	489	[DEBUG]	Store product image relation
2023-10-13	12:26:14	489	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:14	489	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859981 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:14	489	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:14	489	[DEBUG]	Executed store
2023-10-13	12:26:14	489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859981','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:14	489	[DEBUG]	Checking manufacturer
2023-10-13	12:26:14	489	[DEBUG]	Load a row
2023-10-13	12:26:14	489	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:14	489	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:14	489	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:14	489	[DEBUG]	Executed store
2023-10-13	12:26:14	489	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:14	489	[DEBUG]	Manufacturer exists
2023-10-13	12:26:14	489	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:14	489	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:14	489	[DEBUG]	Executed store
2023-10-13	12:26:14	489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859981','44')
2023-10-13	12:26:14	489	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:14	489	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:14	489	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859981 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:14	489	[DEBUG]	Store custom available field
2023-10-13	12:26:14	489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859981,3,'',1)
2023-10-13	12:26:14	489	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:14	489	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:26:14	489	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859981 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:14	489	[DEBUG]	Store custom available field
2023-10-13	12:26:14	489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859981,6,'L',3)
2023-10-13	12:26:14	489	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:14	489	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:14	489	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859978
2023-10-13	12:26:14	489	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:14	489	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\r\\nM\\r\\nL\"}]|clabels=0|options={\"1859978\":[1859978,8,1,\"choisir la taille\"],\"1859979\":[\"S\"],\"1859980\":[\"M\"],\"1859981\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1859978
2023-10-13	12:26:14	489	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:14	489	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859981
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:14	490	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field taille
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:14	490	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:14	490	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:14	490	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field product_weight
2023-10-13	12:26:14	490	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:14	490	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:14	490	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field published
2023-10-13	12:26:14	490	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:14	490	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field override
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:14	490	[DEBUG]	Use field value for field slug
2023-10-13	12:26:14	490	[DEBUG]	Process line 490
2023-10-13	12:26:14	490	[DEBUG]	Load a row
2023-10-13	12:26:14	490	[DEBUG]	Processing item: A_8808_12
2023-10-13	12:26:14	490	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:14	490	[DEBUG]	Processing product tax
2023-10-13	12:26:14	490	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:14	490	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:14	490	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:14	490	[DEBUG]	Query for Product
2023-10-13	12:26:14	490	[DEBUG]	Executed store
2023-10-13	12:26:14	490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8808_12','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:14	490	[DEBUG]	Check product language entry
2023-10-13	12:26:14	490	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859982
2023-10-13	12:26:14	490	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:14	490	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8808_12' AND `virtuemart_product_id` != 1859982
2023-10-13	12:26:14	490	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:14	490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859982, 'A_8808_12')
2023-10-13	12:26:14	490	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:14	490	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-blanc' AND `virtuemart_product_id` != 1859982
2023-10-13	12:26:14	490	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:26:14	490	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'fox-casque-speedframe-vnish-blanc', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'fox-casque-speedframe-vnish-blanc' OR `slug` LIKE 'fox-casque-speedframe-vnish-blanc-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1859982 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:26:14	490	[DEBUG]	Query for ProductLang
2023-10-13	12:26:14	490	[DEBUG]	Executed store
2023-10-13	12:26:14	490	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 29410-575',`product_name`='Fox Casque Speedframe VNISH   / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-blanc-1' WHERE `virtuemart_product_id` = '1859982'
2023-10-13	12:26:14	490	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg
2023-10-13	12:26:14	490	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:14	490	[DEBUG]	Process image file
2023-10-13	12:26:14	490	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:14	490	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:14	490	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg
2023-10-13	12:26:14	490	[DEBUG]	Full name target: bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg
2023-10-13	12:26:15	490	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:15	490	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg'
2023-10-13	12:26:15	490	[DEBUG]	Query for Media
2023-10-13	12:26:15	490	[DEBUG]	Executed store
2023-10-13	12:26:15	490	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg',`file_url_thumb`='bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079879'
2023-10-13	12:26:15	490	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:15	490	[DEBUG]	Executed store
2023-10-13	12:26:15	490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859982','1079879','1')
2023-10-13	12:26:15	490	[DEBUG]	Store product image relation
2023-10-13	12:26:15	490	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:15	490	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859982 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:15	490	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:15	490	[DEBUG]	Executed store
2023-10-13	12:26:15	490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859982','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:15	490	[DEBUG]	Checking manufacturer
2023-10-13	12:26:15	490	[DEBUG]	Load a row
2023-10-13	12:26:15	490	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:15	490	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:15	490	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:15	490	[DEBUG]	Executed store
2023-10-13	12:26:15	490	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:15	490	[DEBUG]	Manufacturer exists
2023-10-13	12:26:15	490	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:15	490	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:15	490	[DEBUG]	Executed store
2023-10-13	12:26:15	490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859982','44')
2023-10-13	12:26:15	490	[DEBUG]	Find the custom field ID
2023-10-13	12:26:15	490	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:15	490	[DEBUG]	No custom field ID found
2023-10-13	12:26:15	490	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:15	490	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:26:15	490	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859982 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:15	490	[DEBUG]	Store custom available field
2023-10-13	12:26:15	490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859982,3,'9.8725',1)
2023-10-13	12:26:15	490	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:15	490	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:15	490	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859982 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:15	490	[DEBUG]	Store custom available field
2023-10-13	12:26:15	490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859982,6,'choisir la taille',3)
2023-10-13	12:26:15	490	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:15	490	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:15	490	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:15	490	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:15	490	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859982 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:15	490	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:15	490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859982,8,1)
2023-10-13	12:26:15	490	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:15	490	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859982\":[1859982,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859982
2023-10-13	12:26:15	490	[DEBUG]	Checking category
2023-10-13	12:26:15	490	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:15	490	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859982
2023-10-13	12:26:15	490	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:15	490	[DEBUG]	Executed store
2023-10-13	12:26:15	490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859982','7281')
2023-10-13	12:26:15	490	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:15	490	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859982 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:15	490	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:15	490	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859982
2023-10-13	12:26:15	491	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:15	491	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:15	491	[DEBUG]	Use field value for field taille
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:15	491	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:15	491	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:15	491	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:15	491	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:15	491	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:15	491	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:15	491	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:15	491	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:15	491	[DEBUG]	Use field value for field published
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:15	491	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field override
2023-10-13	12:26:15	491	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:15	491	[DEBUG]	Use field value for field slug
2023-10-13	12:26:15	491	[DEBUG]	Process line 491
2023-10-13	12:26:15	491	[DEBUG]	Load a row
2023-10-13	12:26:15	491	[DEBUG]	Processing item: 1000000164510
2023-10-13	12:26:15	491	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:15	491	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:15	491	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8808_12'
2023-10-13	12:26:15	491	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:15	491	[DEBUG]	Processing product tax
2023-10-13	12:26:15	491	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:15	491	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:15	491	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:15	491	[DEBUG]	Query for Product
2023-10-13	12:26:15	491	[DEBUG]	Executed store
2023-10-13	12:26:15	491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859982','1000000164510','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:15	491	[DEBUG]	No parent found
2023-10-13	12:26:15	491	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859982 AND customfield_value = 'stockable'
2023-10-13	12:26:15	491	[DEBUG]	Check product language entry
2023-10-13	12:26:15	491	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859983
2023-10-13	12:26:15	491	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:15	491	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164510' AND `virtuemart_product_id` != 1859983
2023-10-13	12:26:15	491	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:15	491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859983, '1000000164510')
2023-10-13	12:26:15	491	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:15	491	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-blanc-s' AND `virtuemart_product_id` != 1859983
2023-10-13	12:26:15	491	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:26:15	491	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'fox-casque-speedframe-vnish-blanc-s', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'fox-casque-speedframe-vnish-blanc-s' OR `slug` LIKE 'fox-casque-speedframe-vnish-blanc-s-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1859983 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:26:15	491	[DEBUG]	Query for ProductLang
2023-10-13	12:26:15	491	[DEBUG]	Executed store
2023-10-13	12:26:15	491	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe VNISH   / Blanc (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-blanc-s-1' WHERE `virtuemart_product_id` = '1859983'
2023-10-13	12:26:15	491	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg
2023-10-13	12:26:15	491	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:15	491	[DEBUG]	Process image file
2023-10-13	12:26:15	491	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:15	491	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:15	491	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg
2023-10-13	12:26:15	491	[DEBUG]	Full name target: bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg
2023-10-13	12:26:16	491	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:16	491	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg'
2023-10-13	12:26:16	491	[DEBUG]	Query for Media
2023-10-13	12:26:16	491	[DEBUG]	Executed store
2023-10-13	12:26:16	491	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg',`file_url_thumb`='bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079879'
2023-10-13	12:26:16	491	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:16	491	[DEBUG]	Executed store
2023-10-13	12:26:16	491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859983','1079879','1')
2023-10-13	12:26:16	491	[DEBUG]	Store product image relation
2023-10-13	12:26:16	491	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:16	491	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859983 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:16	491	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:16	491	[DEBUG]	Executed store
2023-10-13	12:26:16	491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859983','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:16	491	[DEBUG]	Checking manufacturer
2023-10-13	12:26:16	491	[DEBUG]	Load a row
2023-10-13	12:26:16	491	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:16	491	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:16	491	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:16	491	[DEBUG]	Executed store
2023-10-13	12:26:16	491	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:16	491	[DEBUG]	Manufacturer exists
2023-10-13	12:26:16	491	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:16	491	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:16	491	[DEBUG]	Executed store
2023-10-13	12:26:16	491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859983','44')
2023-10-13	12:26:16	491	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:16	491	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:16	491	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859983 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:16	491	[DEBUG]	Store custom available field
2023-10-13	12:26:16	491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859983,3,'',1)
2023-10-13	12:26:16	491	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:16	491	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:26:16	491	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859983 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:16	491	[DEBUG]	Store custom available field
2023-10-13	12:26:16	491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859983,6,'S',3)
2023-10-13	12:26:16	491	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:16	491	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:16	491	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859982
2023-10-13	12:26:16	491	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:16	491	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\"}]|clabels=0|options={\"1859982\":[1859982,8,1,\"choisir la taille\"],\"1859983\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1859982
2023-10-13	12:26:16	491	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:16	491	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859983
2023-10-13	12:26:16	492	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:16	492	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:16	492	[DEBUG]	Use field value for field taille
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:16	492	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:16	492	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:16	492	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:16	492	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:16	492	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:16	492	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:16	492	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:16	492	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:16	492	[DEBUG]	Use field value for field published
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:16	492	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field override
2023-10-13	12:26:16	492	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:16	492	[DEBUG]	Use field value for field slug
2023-10-13	12:26:16	492	[DEBUG]	Process line 492
2023-10-13	12:26:16	492	[DEBUG]	Load a row
2023-10-13	12:26:16	492	[DEBUG]	Processing item: 1000000164527
2023-10-13	12:26:16	492	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:16	492	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:16	492	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8808_12'
2023-10-13	12:26:16	492	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:16	492	[DEBUG]	Processing product tax
2023-10-13	12:26:16	492	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:16	492	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:16	492	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:16	492	[DEBUG]	Query for Product
2023-10-13	12:26:16	492	[DEBUG]	Executed store
2023-10-13	12:26:16	492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859982','1000000164527','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:16	492	[DEBUG]	No parent found
2023-10-13	12:26:16	492	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859982 AND customfield_value = 'stockable'
2023-10-13	12:26:16	492	[DEBUG]	Check product language entry
2023-10-13	12:26:16	492	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859984
2023-10-13	12:26:16	492	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:16	492	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164527' AND `virtuemart_product_id` != 1859984
2023-10-13	12:26:16	492	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:16	492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859984, '1000000164527')
2023-10-13	12:26:16	492	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:16	492	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-blanc-m' AND `virtuemart_product_id` != 1859984
2023-10-13	12:26:16	492	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:26:16	492	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'fox-casque-speedframe-vnish-blanc-m', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'fox-casque-speedframe-vnish-blanc-m' OR `slug` LIKE 'fox-casque-speedframe-vnish-blanc-m-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1859984 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:26:16	492	[DEBUG]	Query for ProductLang
2023-10-13	12:26:16	492	[DEBUG]	Executed store
2023-10-13	12:26:16	492	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe VNISH   / Blanc (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-blanc-m-1' WHERE `virtuemart_product_id` = '1859984'
2023-10-13	12:26:16	492	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg
2023-10-13	12:26:16	492	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:16	492	[DEBUG]	Process image file
2023-10-13	12:26:16	492	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:16	492	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:16	492	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg
2023-10-13	12:26:16	492	[DEBUG]	Full name target: bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg
2023-10-13	12:26:17	492	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:17	492	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg'
2023-10-13	12:26:17	492	[DEBUG]	Query for Media
2023-10-13	12:26:17	492	[DEBUG]	Executed store
2023-10-13	12:26:17	492	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg',`file_url_thumb`='bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079879'
2023-10-13	12:26:17	492	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:17	492	[DEBUG]	Executed store
2023-10-13	12:26:17	492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859984','1079879','1')
2023-10-13	12:26:17	492	[DEBUG]	Store product image relation
2023-10-13	12:26:17	492	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:17	492	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859984 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:17	492	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:17	492	[DEBUG]	Executed store
2023-10-13	12:26:17	492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859984','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:17	492	[DEBUG]	Checking manufacturer
2023-10-13	12:26:17	492	[DEBUG]	Load a row
2023-10-13	12:26:17	492	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:17	492	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:17	492	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:17	492	[DEBUG]	Executed store
2023-10-13	12:26:17	492	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:17	492	[DEBUG]	Manufacturer exists
2023-10-13	12:26:17	492	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:17	492	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:17	492	[DEBUG]	Executed store
2023-10-13	12:26:17	492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859984','44')
2023-10-13	12:26:17	492	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:17	492	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:17	492	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859984 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:17	492	[DEBUG]	Store custom available field
2023-10-13	12:26:17	492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859984,3,'',1)
2023-10-13	12:26:17	492	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:17	492	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:26:17	492	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859984 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:17	492	[DEBUG]	Store custom available field
2023-10-13	12:26:17	492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859984,6,'M',3)
2023-10-13	12:26:17	492	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:17	492	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:17	492	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859982
2023-10-13	12:26:17	492	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:17	492	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\r\\nM\"}]|clabels=0|options={\"1859982\":[1859982,8,1,\"choisir la taille\"],\"1859983\":[\"S\"],\"1859984\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1859982
2023-10-13	12:26:17	492	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:17	492	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859984
2023-10-13	12:26:17	493	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:17	493	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:17	493	[DEBUG]	Use field value for field taille
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:17	493	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:17	493	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:17	493	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:17	493	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:17	493	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:17	493	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:17	493	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:17	493	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:17	493	[DEBUG]	Use field value for field published
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:17	493	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field override
2023-10-13	12:26:17	493	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:17	493	[DEBUG]	Use field value for field slug
2023-10-13	12:26:17	493	[DEBUG]	Process line 493
2023-10-13	12:26:17	493	[DEBUG]	Load a row
2023-10-13	12:26:17	493	[DEBUG]	Processing item: 1000000164558
2023-10-13	12:26:17	493	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:17	493	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:17	493	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8808_12'
2023-10-13	12:26:17	493	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:17	493	[DEBUG]	Processing product tax
2023-10-13	12:26:17	493	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:17	493	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:17	493	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:17	493	[DEBUG]	Query for Product
2023-10-13	12:26:17	493	[DEBUG]	Executed store
2023-10-13	12:26:17	493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859982','1000000164558','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:17	493	[DEBUG]	No parent found
2023-10-13	12:26:17	493	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859982 AND customfield_value = 'stockable'
2023-10-13	12:26:17	493	[DEBUG]	Check product language entry
2023-10-13	12:26:17	493	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859985
2023-10-13	12:26:17	493	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:17	493	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164558' AND `virtuemart_product_id` != 1859985
2023-10-13	12:26:17	493	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:17	493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859985, '1000000164558')
2023-10-13	12:26:17	493	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:17	493	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-blanc-l' AND `virtuemart_product_id` != 1859985
2023-10-13	12:26:17	493	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:26:17	493	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'fox-casque-speedframe-vnish-blanc-l', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'fox-casque-speedframe-vnish-blanc-l' OR `slug` LIKE 'fox-casque-speedframe-vnish-blanc-l-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1859985 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:26:17	493	[DEBUG]	Query for ProductLang
2023-10-13	12:26:17	493	[DEBUG]	Executed store
2023-10-13	12:26:17	493	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe VNISH   / Blanc (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-blanc-l-1' WHERE `virtuemart_product_id` = '1859985'
2023-10-13	12:26:17	493	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg
2023-10-13	12:26:17	493	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:17	493	[DEBUG]	Process image file
2023-10-13	12:26:17	493	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:17	493	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:17	493	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg
2023-10-13	12:26:17	493	[DEBUG]	Full name target: bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg
2023-10-13	12:26:18	493	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:18	493	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg'
2023-10-13	12:26:18	493	[DEBUG]	Query for Media
2023-10-13	12:26:18	493	[DEBUG]	Executed store
2023-10-13	12:26:18	493	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg',`file_url_thumb`='bcprisme/37791_casque_fox_22_helmet_speedframe_vnish__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079879'
2023-10-13	12:26:18	493	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:18	493	[DEBUG]	Executed store
2023-10-13	12:26:18	493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859985','1079879','1')
2023-10-13	12:26:18	493	[DEBUG]	Store product image relation
2023-10-13	12:26:18	493	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:18	493	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859985 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:18	493	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:18	493	[DEBUG]	Executed store
2023-10-13	12:26:18	493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859985','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:18	493	[DEBUG]	Checking manufacturer
2023-10-13	12:26:18	493	[DEBUG]	Load a row
2023-10-13	12:26:18	493	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:18	493	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:18	493	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:18	493	[DEBUG]	Executed store
2023-10-13	12:26:18	493	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:18	493	[DEBUG]	Manufacturer exists
2023-10-13	12:26:18	493	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:18	493	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:18	493	[DEBUG]	Executed store
2023-10-13	12:26:18	493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859985','44')
2023-10-13	12:26:18	493	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:18	493	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:18	493	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859985 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:18	493	[DEBUG]	Store custom available field
2023-10-13	12:26:18	493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859985,3,'',1)
2023-10-13	12:26:18	493	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:18	493	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:26:18	493	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859985 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:18	493	[DEBUG]	Store custom available field
2023-10-13	12:26:18	493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859985,6,'L',3)
2023-10-13	12:26:18	493	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:18	493	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:18	493	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859982
2023-10-13	12:26:18	493	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:18	493	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\r\\nM\\r\\nL\"}]|clabels=0|options={\"1859982\":[1859982,8,1,\"choisir la taille\"],\"1859983\":[\"S\"],\"1859984\":[\"M\"],\"1859985\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1859982
2023-10-13	12:26:18	493	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:18	493	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859985
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:18	494	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field taille
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:18	494	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:18	494	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:18	494	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field product_weight
2023-10-13	12:26:18	494	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:18	494	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:18	494	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field published
2023-10-13	12:26:18	494	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:18	494	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field override
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:18	494	[DEBUG]	Use field value for field slug
2023-10-13	12:26:18	494	[DEBUG]	Process line 494
2023-10-13	12:26:18	494	[DEBUG]	Load a row
2023-10-13	12:26:18	494	[DEBUG]	Processing item: A_8809_22
2023-10-13	12:26:18	494	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:18	494	[DEBUG]	Processing product tax
2023-10-13	12:26:18	494	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:18	494	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:18	494	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:18	494	[DEBUG]	Query for Product
2023-10-13	12:26:18	494	[DEBUG]	Executed store
2023-10-13	12:26:18	494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8809_22','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:18	494	[DEBUG]	Check product language entry
2023-10-13	12:26:18	494	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859986
2023-10-13	12:26:18	494	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:18	494	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8809_22' AND `virtuemart_product_id` != 1859986
2023-10-13	12:26:18	494	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:18	494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859986, 'A_8809_22')
2023-10-13	12:26:18	494	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:18	494	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-bleu' AND `virtuemart_product_id` != 1859986
2023-10-13	12:26:18	494	[DEBUG]	Query for ProductLang
2023-10-13	12:26:18	494	[DEBUG]	Executed store
2023-10-13	12:26:18	494	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 29410-157',`product_name`='Fox Casque Speedframe VNISH / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-bleu' WHERE `virtuemart_product_id` = '1859986'
2023-10-13	12:26:18	494	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:18	494	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:18	494	[DEBUG]	Process image file
2023-10-13	12:26:18	494	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:18	494	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:18	494	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:18	494	[DEBUG]	Full name target: bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:19	494	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:19	494	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg'
2023-10-13	12:26:19	494	[DEBUG]	Query for Media
2023-10-13	12:26:19	494	[DEBUG]	Executed store
2023-10-13	12:26:19	494	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg',`file_url_thumb`='bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079883'
2023-10-13	12:26:19	494	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:19	494	[DEBUG]	Executed store
2023-10-13	12:26:19	494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859986','1079883','1')
2023-10-13	12:26:19	494	[DEBUG]	Store product image relation
2023-10-13	12:26:19	494	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:19	494	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859986 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:19	494	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:19	494	[DEBUG]	Executed store
2023-10-13	12:26:19	494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859986','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:19	494	[DEBUG]	Checking manufacturer
2023-10-13	12:26:19	494	[DEBUG]	Load a row
2023-10-13	12:26:19	494	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:19	494	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:19	494	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:19	494	[DEBUG]	Executed store
2023-10-13	12:26:19	494	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:19	494	[DEBUG]	Manufacturer exists
2023-10-13	12:26:19	494	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:19	494	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:19	494	[DEBUG]	Executed store
2023-10-13	12:26:19	494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859986','44')
2023-10-13	12:26:19	494	[DEBUG]	Find the custom field ID
2023-10-13	12:26:19	494	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:19	494	[DEBUG]	No custom field ID found
2023-10-13	12:26:19	494	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:19	494	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:26:19	494	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859986 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:19	494	[DEBUG]	Store custom available field
2023-10-13	12:26:19	494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859986,3,'9.8725',1)
2023-10-13	12:26:19	494	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:19	494	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:19	494	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859986 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:19	494	[DEBUG]	Store custom available field
2023-10-13	12:26:19	494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859986,6,'choisir la taille',3)
2023-10-13	12:26:19	494	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:19	494	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:19	494	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:19	494	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:19	494	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859986 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:19	494	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:19	494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859986,8,1)
2023-10-13	12:26:19	494	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:19	494	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859986\":[1859986,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859986
2023-10-13	12:26:19	494	[DEBUG]	Checking category
2023-10-13	12:26:19	494	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:19	494	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859986
2023-10-13	12:26:19	494	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:19	494	[DEBUG]	Executed store
2023-10-13	12:26:19	494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859986','7281')
2023-10-13	12:26:19	494	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:19	494	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859986 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:19	494	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:19	494	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859986
2023-10-13	12:26:19	495	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:19	495	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:19	495	[DEBUG]	Use field value for field taille
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:19	495	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:19	495	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:19	495	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:19	495	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:19	495	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:19	495	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:19	495	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:19	495	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:19	495	[DEBUG]	Use field value for field published
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:19	495	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field override
2023-10-13	12:26:19	495	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:19	495	[DEBUG]	Use field value for field slug
2023-10-13	12:26:19	495	[DEBUG]	Process line 495
2023-10-13	12:26:19	495	[DEBUG]	Load a row
2023-10-13	12:26:19	495	[DEBUG]	Processing item: 1000000164534
2023-10-13	12:26:19	495	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:19	495	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:19	495	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8809_22'
2023-10-13	12:26:19	495	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:19	495	[DEBUG]	Processing product tax
2023-10-13	12:26:19	495	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:19	495	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:19	495	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:19	495	[DEBUG]	Query for Product
2023-10-13	12:26:19	495	[DEBUG]	Executed store
2023-10-13	12:26:19	495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859986','1000000164534','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:20	495	[DEBUG]	No parent found
2023-10-13	12:26:20	495	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859986 AND customfield_value = 'stockable'
2023-10-13	12:26:20	495	[DEBUG]	Check product language entry
2023-10-13	12:26:20	495	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859987
2023-10-13	12:26:20	495	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:20	495	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164534' AND `virtuemart_product_id` != 1859987
2023-10-13	12:26:20	495	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:20	495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859987, '1000000164534')
2023-10-13	12:26:20	495	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:20	495	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-bleu-m' AND `virtuemart_product_id` != 1859987
2023-10-13	12:26:20	495	[DEBUG]	Query for ProductLang
2023-10-13	12:26:20	495	[DEBUG]	Executed store
2023-10-13	12:26:20	495	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe VNISH / Bleu (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-bleu-m' WHERE `virtuemart_product_id` = '1859987'
2023-10-13	12:26:20	495	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:20	495	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:20	495	[DEBUG]	Process image file
2023-10-13	12:26:20	495	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:20	495	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:20	495	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:20	495	[DEBUG]	Full name target: bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:20	495	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:20	495	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg'
2023-10-13	12:26:20	495	[DEBUG]	Query for Media
2023-10-13	12:26:20	495	[DEBUG]	Executed store
2023-10-13	12:26:20	495	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg',`file_url_thumb`='bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079883'
2023-10-13	12:26:20	495	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:20	495	[DEBUG]	Executed store
2023-10-13	12:26:20	495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859987','1079883','1')
2023-10-13	12:26:21	495	[DEBUG]	Store product image relation
2023-10-13	12:26:21	495	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:21	495	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859987 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:21	495	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:21	495	[DEBUG]	Executed store
2023-10-13	12:26:21	495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859987','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:21	495	[DEBUG]	Checking manufacturer
2023-10-13	12:26:21	495	[DEBUG]	Load a row
2023-10-13	12:26:21	495	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:21	495	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:21	495	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:21	495	[DEBUG]	Executed store
2023-10-13	12:26:21	495	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:21	495	[DEBUG]	Manufacturer exists
2023-10-13	12:26:21	495	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:21	495	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:21	495	[DEBUG]	Executed store
2023-10-13	12:26:21	495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859987','44')
2023-10-13	12:26:21	495	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:21	495	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:21	495	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859987 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:21	495	[DEBUG]	Store custom available field
2023-10-13	12:26:21	495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859987,3,'',1)
2023-10-13	12:26:21	495	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:21	495	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:26:21	495	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859987 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:21	495	[DEBUG]	Store custom available field
2023-10-13	12:26:21	495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859987,6,'M',3)
2023-10-13	12:26:21	495	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:21	495	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:21	495	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859986
2023-10-13	12:26:21	495	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:21	495	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nM\"}]|clabels=0|options={\"1859986\":[1859986,8,1,\"choisir la taille\"],\"1859987\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1859986
2023-10-13	12:26:21	495	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:21	495	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859987
2023-10-13	12:26:21	496	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:21	496	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:21	496	[DEBUG]	Use field value for field taille
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:21	496	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:21	496	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:21	496	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:21	496	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:21	496	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:21	496	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:21	496	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:21	496	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:21	496	[DEBUG]	Use field value for field published
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:21	496	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field override
2023-10-13	12:26:21	496	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:21	496	[DEBUG]	Use field value for field slug
2023-10-13	12:26:21	496	[DEBUG]	Process line 496
2023-10-13	12:26:21	496	[DEBUG]	Load a row
2023-10-13	12:26:21	496	[DEBUG]	Processing item: 1000000164541
2023-10-13	12:26:21	496	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:21	496	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:21	496	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8809_22'
2023-10-13	12:26:21	496	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:21	496	[DEBUG]	Processing product tax
2023-10-13	12:26:21	496	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:21	496	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:21	496	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:21	496	[DEBUG]	Query for Product
2023-10-13	12:26:21	496	[DEBUG]	Executed store
2023-10-13	12:26:21	496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859986','1000000164541','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:21	496	[DEBUG]	No parent found
2023-10-13	12:26:21	496	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859986 AND customfield_value = 'stockable'
2023-10-13	12:26:21	496	[DEBUG]	Check product language entry
2023-10-13	12:26:21	496	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859988
2023-10-13	12:26:21	496	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:21	496	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164541' AND `virtuemart_product_id` != 1859988
2023-10-13	12:26:21	496	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:21	496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859988, '1000000164541')
2023-10-13	12:26:21	496	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:21	496	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vnish-bleu-l' AND `virtuemart_product_id` != 1859988
2023-10-13	12:26:21	496	[DEBUG]	Query for ProductLang
2023-10-13	12:26:21	496	[DEBUG]	Executed store
2023-10-13	12:26:21	496	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe VNISH / Bleu (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vnish-bleu-l' WHERE `virtuemart_product_id` = '1859988'
2023-10-13	12:26:21	496	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:21	496	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:21	496	[DEBUG]	Process image file
2023-10-13	12:26:21	496	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:21	496	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:21	496	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:21	496	[DEBUG]	Full name target: bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg
2023-10-13	12:26:22	496	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:22	496	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg'
2023-10-13	12:26:22	496	[DEBUG]	Query for Media
2023-10-13	12:26:22	496	[DEBUG]	Executed store
2023-10-13	12:26:22	496	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg',`file_url_thumb`='bcprisme/37792_casque_fox_22_helmet_speedframe_vnish.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1079883'
2023-10-13	12:26:22	496	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:22	496	[DEBUG]	Executed store
2023-10-13	12:26:22	496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859988','1079883','1')
2023-10-13	12:26:22	496	[DEBUG]	Store product image relation
2023-10-13	12:26:22	496	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:22	496	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859988 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:22	496	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:22	496	[DEBUG]	Executed store
2023-10-13	12:26:22	496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859988','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:22	496	[DEBUG]	Checking manufacturer
2023-10-13	12:26:22	496	[DEBUG]	Load a row
2023-10-13	12:26:22	496	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:22	496	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:22	496	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:22	496	[DEBUG]	Executed store
2023-10-13	12:26:22	496	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:26:22	496	[DEBUG]	Manufacturer exists
2023-10-13	12:26:22	496	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:26:22	496	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:22	496	[DEBUG]	Executed store
2023-10-13	12:26:22	496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859988','44')
2023-10-13	12:26:22	496	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:22	496	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:22	496	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859988 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:22	496	[DEBUG]	Store custom available field
2023-10-13	12:26:22	496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859988,3,'',1)
2023-10-13	12:26:22	496	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:22	496	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:26:22	496	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859988 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:22	496	[DEBUG]	Store custom available field
2023-10-13	12:26:22	496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859988,6,'L',3)
2023-10-13	12:26:22	496	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:22	496	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:22	496	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859986
2023-10-13	12:26:22	496	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:22	496	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nM\\r\\nL\"}]|clabels=0|options={\"1859986\":[1859986,8,1,\"choisir la taille\"],\"1859987\":[\"M\"],\"1859988\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1859986
2023-10-13	12:26:22	496	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:22	496	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859988
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:22	497	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field taille
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:22	497	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:22	497	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:22	497	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:22	497	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:22	497	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:22	497	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:22	497	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field published
2023-10-13	12:26:22	497	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:22	497	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field override
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:22	497	[DEBUG]	Use field value for field slug
2023-10-13	12:26:22	497	[DEBUG]	Process line 497
2023-10-13	12:26:22	497	[DEBUG]	Load a row
2023-10-13	12:26:22	497	[DEBUG]	Processing item: A_8856_726
2023-10-13	12:26:22	497	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:22	497	[DEBUG]	Processing product tax
2023-10-13	12:26:22	497	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:22	497	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:22	497	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:22	497	[DEBUG]	Query for Product
2023-10-13	12:26:22	497	[DEBUG]	Executed store
2023-10-13	12:26:22	497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8856_726','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:22	497	[DEBUG]	Check product language entry
2023-10-13	12:26:22	497	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859989
2023-10-13	12:26:22	497	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:22	497	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8856_726' AND `virtuemart_product_id` != 1859989
2023-10-13	12:26:22	497	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:22	497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859989, 'A_8856_726')
2023-10-13	12:26:22	497	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:22	497	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-commuter-compact-rain-helmet-cover-reflection-black-onesi-onesize-reflection-black' AND `virtuemart_product_id` != 1859989
2023-10-13	12:26:22	497	[DEBUG]	Query for ProductLang
2023-10-13	12:26:22	497	[DEBUG]	Executed store
2023-10-13	12:26:22	497	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 35.80186',`product_name`='Agu Commuter Compact Rain Helmet Cover Reflection Black ONESI onesize / Reflection Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-commuter-compact-rain-helmet-cover-reflection-black-onesi-onesize-reflection-black' WHERE `virtuemart_product_id` = '1859989'
2023-10-13	12:26:22	497	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35_80186_jpg.jpg
2023-10-13	12:26:22	497	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:22	497	[DEBUG]	Process image file
2023-10-13	12:26:22	497	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:22	497	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:22	497	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35_80186_jpg.jpg
2023-10-13	12:26:22	497	[DEBUG]	Full name target: bcprisme/35_80186_jpg.jpg
2023-10-13	12:26:23	497	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:23	497	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35_80186_jpg.jpg'
2023-10-13	12:26:23	497	[DEBUG]	Query for Media
2023-10-13	12:26:23	497	[DEBUG]	Executed store
2023-10-13	12:26:23	497	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35_80186_jpg.jpg',`file_url_thumb`='bcprisme/35_80186_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1339128'
2023-10-13	12:26:23	497	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:23	497	[DEBUG]	Executed store
2023-10-13	12:26:23	497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859989','1339128','1')
2023-10-13	12:26:23	497	[DEBUG]	Store product image relation
2023-10-13	12:26:23	497	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:23	497	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859989 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:23	497	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:23	497	[DEBUG]	Executed store
2023-10-13	12:26:23	497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859989','0','27.8551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:23	497	[DEBUG]	Checking manufacturer
2023-10-13	12:26:23	497	[DEBUG]	Load a row
2023-10-13	12:26:23	497	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:23	497	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	12:26:23	497	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:23	497	[DEBUG]	Executed store
2023-10-13	12:26:23	497	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	12:26:23	497	[DEBUG]	Manufacturer exists
2023-10-13	12:26:23	497	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	12:26:23	497	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:23	497	[DEBUG]	Executed store
2023-10-13	12:26:23	497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859989','45')
2023-10-13	12:26:23	497	[DEBUG]	Find the custom field ID
2023-10-13	12:26:23	497	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:23	497	[DEBUG]	No custom field ID found
2023-10-13	12:26:23	497	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:23	497	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:26:23	497	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859989 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:23	497	[DEBUG]	Store custom available field
2023-10-13	12:26:23	497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859989,3,'0',1)
2023-10-13	12:26:23	497	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:23	497	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:23	497	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859989 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:23	497	[DEBUG]	Store custom available field
2023-10-13	12:26:23	497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859989,6,'choisir la taille',3)
2023-10-13	12:26:23	497	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:23	497	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:23	497	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:23	497	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:23	497	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859989 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:23	497	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:23	497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859989,8,1)
2023-10-13	12:26:23	497	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:23	497	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859989\":[1859989,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859989
2023-10-13	12:26:23	497	[DEBUG]	Checking category
2023-10-13	12:26:23	497	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:23	497	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859989
2023-10-13	12:26:23	497	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:23	497	[DEBUG]	Executed store
2023-10-13	12:26:23	497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859989','7281')
2023-10-13	12:26:23	497	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:23	497	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859989 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:23	497	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:23	497	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859989
2023-10-13	12:26:23	498	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:23	498	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:23	498	[DEBUG]	Use field value for field taille
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:23	498	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:23	498	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:23	498	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:23	498	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:23	498	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:23	498	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:23	498	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:23	498	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:23	498	[DEBUG]	Use field value for field published
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:23	498	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field override
2023-10-13	12:26:23	498	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:23	498	[DEBUG]	Use field value for field slug
2023-10-13	12:26:23	498	[DEBUG]	Process line 498
2023-10-13	12:26:23	498	[DEBUG]	Load a row
2023-10-13	12:26:23	498	[DEBUG]	Processing item: 8717565664692
2023-10-13	12:26:23	498	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:23	498	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:23	498	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8856_726'
2023-10-13	12:26:23	498	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:23	498	[DEBUG]	Processing product tax
2023-10-13	12:26:23	498	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:23	498	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:23	498	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:23	498	[DEBUG]	Query for Product
2023-10-13	12:26:23	498	[DEBUG]	Executed store
2023-10-13	12:26:23	498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859989','8717565664692','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:23	498	[DEBUG]	No parent found
2023-10-13	12:26:23	498	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859989 AND customfield_value = 'stockable'
2023-10-13	12:26:23	498	[DEBUG]	Check product language entry
2023-10-13	12:26:23	498	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859990
2023-10-13	12:26:23	498	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:23	498	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717565664692' AND `virtuemart_product_id` != 1859990
2023-10-13	12:26:23	498	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:23	498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859990, '8717565664692')
2023-10-13	12:26:23	498	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:23	498	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-commuter-compact-rain-helmet-cover-reflection-black-onesi-onesize-reflection-black-unitaire' AND `virtuemart_product_id` != 1859990
2023-10-13	12:26:23	498	[DEBUG]	Query for ProductLang
2023-10-13	12:26:23	498	[DEBUG]	Executed store
2023-10-13	12:26:23	498	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Agu Commuter Compact Rain Helmet Cover Reflection Black ONESI onesize / Reflection Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-commuter-compact-rain-helmet-cover-reflection-black-onesi-onesize-reflection-black-unitaire' WHERE `virtuemart_product_id` = '1859990'
2023-10-13	12:26:23	498	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35_80186_jpg.jpg
2023-10-13	12:26:23	498	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:23	498	[DEBUG]	Process image file
2023-10-13	12:26:23	498	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:26:23	498	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:23	498	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35_80186_jpg.jpg
2023-10-13	12:26:23	498	[DEBUG]	Full name target: bcprisme/35_80186_jpg.jpg
2023-10-13	12:26:24	498	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:24	498	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35_80186_jpg.jpg'
2023-10-13	12:26:24	498	[DEBUG]	Query for Media
2023-10-13	12:26:24	498	[DEBUG]	Executed store
2023-10-13	12:26:24	498	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35_80186_jpg.jpg',`file_url_thumb`='bcprisme/35_80186_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1339128'
2023-10-13	12:26:24	498	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:24	498	[DEBUG]	Executed store
2023-10-13	12:26:24	498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859990','1339128','1')
2023-10-13	12:26:24	498	[DEBUG]	Store product image relation
2023-10-13	12:26:24	498	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:24	498	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859990 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:24	498	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:24	498	[DEBUG]	Executed store
2023-10-13	12:26:24	498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859990','0','27.8551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:24	498	[DEBUG]	Checking manufacturer
2023-10-13	12:26:24	498	[DEBUG]	Load a row
2023-10-13	12:26:24	498	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:24	498	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	12:26:24	498	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:24	498	[DEBUG]	Executed store
2023-10-13	12:26:24	498	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	12:26:24	498	[DEBUG]	Manufacturer exists
2023-10-13	12:26:24	498	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	12:26:24	498	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:24	498	[DEBUG]	Executed store
2023-10-13	12:26:24	498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859990','45')
2023-10-13	12:26:24	498	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:24	498	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:24	498	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859990 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:24	498	[DEBUG]	Store custom available field
2023-10-13	12:26:24	498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859990,3,'',1)
2023-10-13	12:26:24	498	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:24	498	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:26:24	498	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859990 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:24	498	[DEBUG]	Store custom available field
2023-10-13	12:26:24	498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859990,6,'Unitaire',3)
2023-10-13	12:26:24	498	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:24	498	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:24	498	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859989
2023-10-13	12:26:24	498	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:24	498	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1859989\":[1859989,8,1,\"choisir la taille\"],\"1859990\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1859989
2023-10-13	12:26:24	498	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:24	498	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859990
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:24	499	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field taille
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:24	499	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:24	499	[DEBUG]	Use default value for field file_url
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:24	499	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:24	499	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:24	499	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:24	499	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:24	499	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:24	499	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field published
2023-10-13	12:26:24	499	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:24	499	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field override
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:24	499	[DEBUG]	Use field value for field slug
2023-10-13	12:26:24	499	[DEBUG]	Process line 499
2023-10-13	12:26:24	499	[DEBUG]	Load a row
2023-10-13	12:26:24	499	[DEBUG]	Processing item: A_9442_663
2023-10-13	12:26:24	499	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:24	499	[DEBUG]	Processing product tax
2023-10-13	12:26:24	499	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:24	499	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:24	499	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:24	499	[DEBUG]	Query for Product
2023-10-13	12:26:24	499	[DEBUG]	Executed store
2023-10-13	12:26:24	499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9442_663','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:24	499	[DEBUG]	Check product language entry
2023-10-13	12:26:24	499	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859991
2023-10-13	12:26:24	499	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:24	499	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9442_663' AND `virtuemart_product_id` != 1859991
2023-10-13	12:26:24	499	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:24	499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859991, 'A_9442_663')
2023-10-13	12:26:24	499	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:24	499	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-stan-mips-coffe-grey-matt' AND `virtuemart_product_id` != 1859991
2023-10-13	12:26:24	499	[DEBUG]	Query for ProductLang
2023-10-13	12:26:24	499	[DEBUG]	Executed store
2023-10-13	12:26:24	499	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le STAN MIPS est un casque pour les randonnées alpines, les montées, les trails fluides et les passages techniques. Le casque MTB est ventilé de manière optimale et dispose d\'une fonctionnalité de sécurité supplémentaire avec MIPS. La construction Inmold de ce casque MTB est sûre et légère, et la fonctionnalité de sécurité MIPS est également intégrée. Le système MIPS permet de minimiser les forces de rotation en cas de chute. Pendant le vélo, la sueur est comme un trophée : pour la performance, la force et le courage. Le STAN MIPS ne veut pas vous prendre ce trophée, mais simplement vous rafraichir la tête d’une manière aussi durable que possible avec la conception spéciale du système de ventilation du casque. Une forme optimisée et une large gamme d\'options de réglage ainsi que d\'autres caractéristiques de confort assurent un confort de port maximal.<br>N° art fourn : A9768339',`product_name`='Alpina Casque VTT STAN MIPS / Coffe-grey matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-stan-mips-coffe-grey-matt' WHERE `virtuemart_product_id` = '1859991'
2023-10-13	12:26:24	499	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:24	499	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859991 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:24	499	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:24	499	[DEBUG]	Executed store
2023-10-13	12:26:24	499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859991','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:24	499	[DEBUG]	Checking manufacturer
2023-10-13	12:26:24	499	[DEBUG]	Load a row
2023-10-13	12:26:24	499	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:24	499	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:24	499	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:24	499	[DEBUG]	Executed store
2023-10-13	12:26:24	499	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:24	499	[DEBUG]	Manufacturer exists
2023-10-13	12:26:24	499	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:24	499	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:24	499	[DEBUG]	Executed store
2023-10-13	12:26:24	499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859991','171')
2023-10-13	12:26:24	499	[DEBUG]	Find the custom field ID
2023-10-13	12:26:24	499	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:24	499	[DEBUG]	No custom field ID found
2023-10-13	12:26:24	499	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:24	499	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:26:24	499	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859991 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:24	499	[DEBUG]	Store custom available field
2023-10-13	12:26:24	499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859991,3,'0',1)
2023-10-13	12:26:24	499	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:24	499	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:24	499	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859991 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:24	499	[DEBUG]	Store custom available field
2023-10-13	12:26:24	499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859991,6,'choisir la taille',3)
2023-10-13	12:26:24	499	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:24	499	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:24	499	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:24	499	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:24	499	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859991 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:24	499	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:24	499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859991,8,1)
2023-10-13	12:26:24	499	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:24	499	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859991\":[1859991,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859991
2023-10-13	12:26:24	499	[DEBUG]	Checking category
2023-10-13	12:26:24	499	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:24	499	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859991
2023-10-13	12:26:24	499	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:24	499	[DEBUG]	Executed store
2023-10-13	12:26:24	499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859991','7281')
2023-10-13	12:26:24	499	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:24	499	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859991 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:24	499	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:24	499	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859991
2023-10-13	12:26:24	500	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:24	500	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:24	500	[DEBUG]	Use field value for field taille
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:24	500	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:24	500	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:24	500	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field file_url
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:24	500	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:24	500	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:24	500	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:24	500	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:24	500	[DEBUG]	Use field value for field published
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:24	500	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field override
2023-10-13	12:26:24	500	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:24	500	[DEBUG]	Use field value for field slug
2023-10-13	12:26:24	500	[DEBUG]	Process line 500
2023-10-13	12:26:24	500	[DEBUG]	Load a row
2023-10-13	12:26:24	500	[DEBUG]	Processing item: 1000013325717
2023-10-13	12:26:24	500	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:24	500	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:24	500	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9442_663'
2023-10-13	12:26:24	500	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:24	500	[DEBUG]	Processing product tax
2023-10-13	12:26:24	500	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:24	500	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:24	500	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:24	500	[DEBUG]	Query for Product
2023-10-13	12:26:24	500	[DEBUG]	Executed store
2023-10-13	12:26:24	500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859991','1000013325717','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0')
2023-10-13	12:26:24	500	[DEBUG]	No parent found
2023-10-13	12:26:24	500	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859991 AND customfield_value = 'stockable'
2023-10-13	12:26:24	500	[DEBUG]	Check product language entry
2023-10-13	12:26:24	500	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859992
2023-10-13	12:26:24	500	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:24	500	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000013325717' AND `virtuemart_product_id` != 1859992
2023-10-13	12:26:24	500	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:24	500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859992, '1000013325717')
2023-10-13	12:26:24	500	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:24	500	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-stan-mips-coffe-grey-matt-60-64' AND `virtuemart_product_id` != 1859992
2023-10-13	12:26:24	500	[DEBUG]	Query for ProductLang
2023-10-13	12:26:24	500	[DEBUG]	Executed store
2023-10-13	12:26:24	500	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT STAN MIPS / Coffe-grey matt (60-64)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-stan-mips-coffe-grey-matt-60-64' WHERE `virtuemart_product_id` = '1859992'
2023-10-13	12:26:24	500	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:24	500	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859992 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:24	500	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:24	500	[DEBUG]	Executed store
2023-10-13	12:26:24	500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859992','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:24:39','1593','2023-10-13 12:24:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:24	500	[DEBUG]	Checking manufacturer
2023-10-13	12:26:24	500	[DEBUG]	Load a row
2023-10-13	12:26:24	500	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:24	500	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:24	500	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:24	500	[DEBUG]	Executed store
2023-10-13	12:26:24	500	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:24	500	[DEBUG]	Manufacturer exists
2023-10-13	12:26:24	500	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:24	500	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:24	500	[DEBUG]	Executed store
2023-10-13	12:26:24	500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859992','171')
2023-10-13	12:26:24	500	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:24	500	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:24	500	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859992 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:24	500	[DEBUG]	Store custom available field
2023-10-13	12:26:24	500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859992,3,'',1)
2023-10-13	12:26:24	500	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:24	500	[DEBUG]	Get existing row with customfield value 60-64
2023-10-13	12:26:24	500	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859992 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:24	500	[DEBUG]	Store custom available field
2023-10-13	12:26:24	500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859992,6,'60-64',3)
2023-10-13	12:26:24	500	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:24	500	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:24	500	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859991
2023-10-13	12:26:24	500	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:24	500	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n60-64\"}]|clabels=0|options={\"1859991\":[1859991,8,1,\"choisir la taille\"],\"1859992\":[\"60-64\"]}|' WHERE `virtuemart_product_id` = 1859991
2023-10-13	12:26:24	500	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:24	500	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859992
2023-10-13	12:26:44	500	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:26:44	500	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:26:44	500	[DEBUG]	Load the fields to process
2023-10-13	12:26:44	500	[DEBUG]	Setup field: product_sku
2023-10-13	12:26:44	500	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:26:44	500	[DEBUG]	Setup field: taille
2023-10-13	12:26:44	500	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:26:44	500	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:26:44	500	[DEBUG]	Setup field: product_name
2023-10-13	12:26:44	500	[DEBUG]	Setup field: category_path
2023-10-13	12:26:44	500	[DEBUG]	Setup field: product_price
2023-10-13	12:26:44	500	[DEBUG]	Setup field: product_override_price
2023-10-13	12:26:44	500	[DEBUG]	Setup field: product_tax
2023-10-13	12:26:44	500	[DEBUG]	Setup field: file_url
2023-10-13	12:26:44	500	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:26:44	500	[DEBUG]	Setup field: product_desc
2023-10-13	12:26:44	500	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:26:44	500	[DEBUG]	Setup field: product_availability
2023-10-13	12:26:44	500	[DEBUG]	Setup field: product_weight
2023-10-13	12:26:44	500	[DEBUG]	Setup field: product_unit
2023-10-13	12:26:44	500	[DEBUG]	Setup field: related_products
2023-10-13	12:26:44	500	[DEBUG]	Setup field: product_special
2023-10-13	12:26:44	500	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:26:44	500	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:26:44	500	[DEBUG]	Setup field: published
2023-10-13	12:26:44	500	[DEBUG]	Setup field: metadesc
2023-10-13	12:26:44	500	[DEBUG]	Setup field: metakey
2023-10-13	12:26:44	500	[DEBUG]	Setup field: custom_title
2023-10-13	12:26:44	500	[DEBUG]	Setup field: custom_value
2023-10-13	12:26:44	500	[DEBUG]	Setup field: custom_param
2023-10-13	12:26:44	500	[DEBUG]	Setup field: override
2023-10-13	12:26:44	500	[DEBUG]	Setup field: public_price
2023-10-13	12:26:44	500	[DEBUG]	Setup field: slug
2023-10-13	12:26:44	500	[DEBUG]	Use the file for configuration
2023-10-13	12:26:44	500	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:26:44	500	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:26:44	500	[DEBUG]	Load the custom fields
2023-10-13	12:26:44	500	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:26:44	500	[DEBUG]	Load stockable custom fields
2023-10-13	12:26:44	500	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:26:44	500	[DEBUG]	Load custom fields for all
2023-10-13	12:26:44	500	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:44	501	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field taille
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:44	501	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:44	501	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:44	501	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:44	501	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:44	501	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:44	501	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:44	501	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field published
2023-10-13	12:26:44	501	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:44	501	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field override
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:44	501	[DEBUG]	Use field value for field slug
2023-10-13	12:26:44	501	[DEBUG]	Process line 501
2023-10-13	12:26:44	501	[DEBUG]	Check if the vendor exists
2023-10-13	12:26:44	501	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9442_715'
2023-10-13	12:26:44	501	[DEBUG]	Load a row
2023-10-13	12:26:44	501	[DEBUG]	Processing item: A_9442_715
2023-10-13	12:26:44	501	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:44	501	[DEBUG]	Processing product tax
2023-10-13	12:26:44	501	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:44	501	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:44	501	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:44	501	[DEBUG]	Query for Product
2023-10-13	12:26:44	501	[DEBUG]	Executed store
2023-10-13	12:26:44	501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9442_715','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:44	501	[DEBUG]	Check product language entry
2023-10-13	12:26:44	501	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859993
2023-10-13	12:26:44	501	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:44	501	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9442_715' AND `virtuemart_product_id` != 1859993
2023-10-13	12:26:44	501	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:44	501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859993, 'A_9442_715')
2023-10-13	12:26:44	501	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:44	501	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-stan-mips-olive' AND `virtuemart_product_id` != 1859993
2023-10-13	12:26:44	501	[DEBUG]	Query for ProductLang
2023-10-13	12:26:44	501	[DEBUG]	Executed store
2023-10-13	12:26:44	501	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le STAN MIPS est un casque pour les randonnées alpines, les montées, les trails fluides et les passages techniques. Le casque MTB est ventilé de manière optimale et dispose d\'une fonctionnalité de sécurité supplémentaire avec MIPS. La construction Inmold de ce casque MTB est sûre et légère, et la fonctionnalité de sécurité MIPS est également intégrée. Le système MIPS permet de minimiser les forces de rotation en cas de chute. Pendant le vélo, la sueur est comme un trophée : pour la performance, la force et le courage. Le STAN MIPS ne veut pas vous prendre ce trophée, mais simplement vous rafraichir la tête d’une manière aussi durable que possible avec la conception spéciale du système de ventilation du casque. Une forme optimisée et une large gamme d\'options de réglage ainsi que d\'autres caractéristiques de confort assurent un confort de port maximal.<br>N° art fourn : A9768339',`product_name`='Alpina Casque VTT STAN MIPS / Olive',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-stan-mips-olive' WHERE `virtuemart_product_id` = '1859993'
2023-10-13	12:26:44	501	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38648_casque_vtt_stan_mips.jpg
2023-10-13	12:26:44	501	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:44	501	[DEBUG]	Process image file
2023-10-13	12:26:44	501	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:44	501	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:44	501	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38648_casque_vtt_stan_mips.jpg
2023-10-13	12:26:44	501	[DEBUG]	Full name target: bcprisme/38648_casque_vtt_stan_mips.jpg
2023-10-13	12:26:45	501	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:45	501	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38648_casque_vtt_stan_mips.jpg'
2023-10-13	12:26:45	501	[DEBUG]	Query for Media
2023-10-13	12:26:45	501	[DEBUG]	Executed store
2023-10-13	12:26:45	501	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38648_casque_vtt_stan_mips.jpg',`file_url_thumb`='bcprisme/38648_casque_vtt_stan_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409989'
2023-10-13	12:26:45	501	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:45	501	[DEBUG]	Executed store
2023-10-13	12:26:45	501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859993','1409989','1')
2023-10-13	12:26:45	501	[DEBUG]	Store product image relation
2023-10-13	12:26:45	501	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:45	501	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859993 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:45	501	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:45	501	[DEBUG]	Executed store
2023-10-13	12:26:45	501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859993','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:45	501	[DEBUG]	Checking manufacturer
2023-10-13	12:26:45	501	[DEBUG]	Load a row
2023-10-13	12:26:45	501	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:45	501	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:45	501	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:45	501	[DEBUG]	Executed store
2023-10-13	12:26:45	501	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:45	501	[DEBUG]	Manufacturer exists
2023-10-13	12:26:45	501	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:45	501	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:45	501	[DEBUG]	Executed store
2023-10-13	12:26:45	501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859993','171')
2023-10-13	12:26:45	501	[DEBUG]	Find the custom field ID
2023-10-13	12:26:45	501	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:45	501	[DEBUG]	No custom field ID found
2023-10-13	12:26:45	501	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:45	501	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:26:45	501	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859993 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:45	501	[DEBUG]	Store custom available field
2023-10-13	12:26:45	501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859993,3,'0',1)
2023-10-13	12:26:45	501	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:45	501	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:45	501	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859993 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:45	501	[DEBUG]	Store custom available field
2023-10-13	12:26:45	501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859993,6,'choisir la taille',3)
2023-10-13	12:26:45	501	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:45	501	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:45	501	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:45	501	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:45	501	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859993 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:45	501	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:45	501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859993,8,1)
2023-10-13	12:26:45	501	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:45	501	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859993\":[1859993,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859993
2023-10-13	12:26:45	501	[DEBUG]	Checking category
2023-10-13	12:26:45	501	[DEBUG]	Check if category path exists: CASQUES - HELME
2023-10-13	12:26:45	501	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASQUES - HELME' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:26:45	501	[DEBUG]	Check if category path exists: CASQUES - HELME
2023-10-13	12:26:45	501	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASQUES - HELME' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7279
2023-10-13	12:26:45	501	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:45	501	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859993
2023-10-13	12:26:45	501	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:45	501	[DEBUG]	Executed store
2023-10-13	12:26:45	501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859993','7281')
2023-10-13	12:26:45	501	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:45	501	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859993 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:45	501	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:45	501	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859993
2023-10-13	12:26:45	502	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:45	502	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:45	502	[DEBUG]	Use field value for field taille
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:45	502	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:45	502	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:45	502	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:45	502	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:45	502	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:45	502	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:45	502	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:45	502	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:45	502	[DEBUG]	Use field value for field published
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:45	502	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field override
2023-10-13	12:26:45	502	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:45	502	[DEBUG]	Use field value for field slug
2023-10-13	12:26:45	502	[DEBUG]	Process line 502
2023-10-13	12:26:45	502	[DEBUG]	Load a row
2023-10-13	12:26:45	502	[DEBUG]	Processing item: 1000000243963
2023-10-13	12:26:45	502	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:45	502	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:45	502	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9442_715'
2023-10-13	12:26:45	502	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:45	502	[DEBUG]	Processing product tax
2023-10-13	12:26:45	502	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:45	502	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:45	502	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:45	502	[DEBUG]	Query for Product
2023-10-13	12:26:45	502	[DEBUG]	Executed store
2023-10-13	12:26:45	502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859993','1000000243963','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:45	502	[DEBUG]	No parent found
2023-10-13	12:26:45	502	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859993 AND customfield_value = 'stockable'
2023-10-13	12:26:45	502	[DEBUG]	Check product language entry
2023-10-13	12:26:45	502	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859994
2023-10-13	12:26:45	502	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:45	502	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000243963' AND `virtuemart_product_id` != 1859994
2023-10-13	12:26:45	502	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:45	502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859994, '1000000243963')
2023-10-13	12:26:45	502	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:45	502	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-stan-mips-olive-60-64' AND `virtuemart_product_id` != 1859994
2023-10-13	12:26:45	502	[DEBUG]	Query for ProductLang
2023-10-13	12:26:45	502	[DEBUG]	Executed store
2023-10-13	12:26:45	502	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT STAN MIPS / Olive (60-64)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-stan-mips-olive-60-64' WHERE `virtuemart_product_id` = '1859994'
2023-10-13	12:26:45	502	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38648_casque_vtt_stan_mips.jpg
2023-10-13	12:26:45	502	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:45	502	[DEBUG]	Process image file
2023-10-13	12:26:45	502	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:45	502	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:45	502	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38648_casque_vtt_stan_mips.jpg
2023-10-13	12:26:45	502	[DEBUG]	Full name target: bcprisme/38648_casque_vtt_stan_mips.jpg
2023-10-13	12:26:46	502	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:46	502	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38648_casque_vtt_stan_mips.jpg'
2023-10-13	12:26:46	502	[DEBUG]	Query for Media
2023-10-13	12:26:46	502	[DEBUG]	Executed store
2023-10-13	12:26:46	502	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38648_casque_vtt_stan_mips.jpg',`file_url_thumb`='bcprisme/38648_casque_vtt_stan_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409989'
2023-10-13	12:26:46	502	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:46	502	[DEBUG]	Executed store
2023-10-13	12:26:46	502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859994','1409989','1')
2023-10-13	12:26:46	502	[DEBUG]	Store product image relation
2023-10-13	12:26:46	502	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:46	502	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859994 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:46	502	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:46	502	[DEBUG]	Executed store
2023-10-13	12:26:46	502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859994','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:46	502	[DEBUG]	Checking manufacturer
2023-10-13	12:26:46	502	[DEBUG]	Load a row
2023-10-13	12:26:46	502	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:46	502	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:46	502	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:46	502	[DEBUG]	Executed store
2023-10-13	12:26:46	502	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:46	502	[DEBUG]	Manufacturer exists
2023-10-13	12:26:46	502	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:46	502	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:46	502	[DEBUG]	Executed store
2023-10-13	12:26:46	502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859994','171')
2023-10-13	12:26:46	502	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:46	502	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:46	502	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859994 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:46	502	[DEBUG]	Store custom available field
2023-10-13	12:26:46	502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859994,3,'',1)
2023-10-13	12:26:46	502	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:46	502	[DEBUG]	Get existing row with customfield value 60-64
2023-10-13	12:26:46	502	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859994 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:46	502	[DEBUG]	Store custom available field
2023-10-13	12:26:46	502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859994,6,'60-64',3)
2023-10-13	12:26:46	502	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:46	502	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:46	502	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859993
2023-10-13	12:26:46	502	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:46	502	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n60-64\"}]|clabels=0|options={\"1859993\":[1859993,8,1,\"choisir la taille\"],\"1859994\":[\"60-64\"]}|' WHERE `virtuemart_product_id` = 1859993
2023-10-13	12:26:46	502	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:46	502	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859994
2023-10-13	12:26:46	503	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:46	503	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:46	503	[DEBUG]	Use field value for field taille
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:46	503	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:46	503	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:46	503	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:46	503	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:46	503	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:46	503	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:46	503	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:46	503	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:46	503	[DEBUG]	Use field value for field published
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:46	503	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field override
2023-10-13	12:26:46	503	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:46	503	[DEBUG]	Use field value for field slug
2023-10-13	12:26:46	503	[DEBUG]	Process line 503
2023-10-13	12:26:46	503	[DEBUG]	Load a row
2023-10-13	12:26:46	503	[DEBUG]	Processing item: 1000000243970
2023-10-13	12:26:46	503	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:46	503	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:46	503	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9442_715'
2023-10-13	12:26:46	503	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:46	503	[DEBUG]	Processing product tax
2023-10-13	12:26:46	503	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:46	503	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:46	503	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:46	503	[DEBUG]	Query for Product
2023-10-13	12:26:46	503	[DEBUG]	Executed store
2023-10-13	12:26:46	503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859993','1000000243970','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:46	503	[DEBUG]	No parent found
2023-10-13	12:26:46	503	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859993 AND customfield_value = 'stockable'
2023-10-13	12:26:46	503	[DEBUG]	Check product language entry
2023-10-13	12:26:46	503	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859995
2023-10-13	12:26:46	503	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:46	503	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000243970' AND `virtuemart_product_id` != 1859995
2023-10-13	12:26:46	503	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:46	503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859995, '1000000243970')
2023-10-13	12:26:46	503	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:46	503	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-stan-mips-olive-56-59' AND `virtuemart_product_id` != 1859995
2023-10-13	12:26:46	503	[DEBUG]	Query for ProductLang
2023-10-13	12:26:46	503	[DEBUG]	Executed store
2023-10-13	12:26:46	503	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT STAN MIPS / Olive (56-59)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-stan-mips-olive-56-59' WHERE `virtuemart_product_id` = '1859995'
2023-10-13	12:26:46	503	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38648_casque_vtt_stan_mips.jpg
2023-10-13	12:26:46	503	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:46	503	[DEBUG]	Process image file
2023-10-13	12:26:46	503	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:46	503	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:46	503	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38648_casque_vtt_stan_mips.jpg
2023-10-13	12:26:46	503	[DEBUG]	Full name target: bcprisme/38648_casque_vtt_stan_mips.jpg
2023-10-13	12:26:47	503	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:47	503	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38648_casque_vtt_stan_mips.jpg'
2023-10-13	12:26:47	503	[DEBUG]	Query for Media
2023-10-13	12:26:47	503	[DEBUG]	Executed store
2023-10-13	12:26:47	503	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38648_casque_vtt_stan_mips.jpg',`file_url_thumb`='bcprisme/38648_casque_vtt_stan_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409989'
2023-10-13	12:26:47	503	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:47	503	[DEBUG]	Executed store
2023-10-13	12:26:47	503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859995','1409989','1')
2023-10-13	12:26:47	503	[DEBUG]	Store product image relation
2023-10-13	12:26:47	503	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:47	503	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859995 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:47	503	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:47	503	[DEBUG]	Executed store
2023-10-13	12:26:47	503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859995','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:47	503	[DEBUG]	Checking manufacturer
2023-10-13	12:26:47	503	[DEBUG]	Load a row
2023-10-13	12:26:47	503	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:47	503	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:47	503	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:47	503	[DEBUG]	Executed store
2023-10-13	12:26:47	503	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:47	503	[DEBUG]	Manufacturer exists
2023-10-13	12:26:47	503	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:47	503	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:47	503	[DEBUG]	Executed store
2023-10-13	12:26:47	503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859995','171')
2023-10-13	12:26:47	503	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:47	503	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:47	503	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859995 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:47	503	[DEBUG]	Store custom available field
2023-10-13	12:26:47	503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859995,3,'',1)
2023-10-13	12:26:47	503	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:47	503	[DEBUG]	Get existing row with customfield value 56-59
2023-10-13	12:26:47	503	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859995 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:47	503	[DEBUG]	Store custom available field
2023-10-13	12:26:47	503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859995,6,'56-59',3)
2023-10-13	12:26:47	503	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:47	503	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:47	503	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859993
2023-10-13	12:26:47	503	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:47	503	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n60-64\\r\\n56-59\"}]|clabels=0|options={\"1859993\":[1859993,8,1,\"choisir la taille\"],\"1859994\":[\"60-64\"],\"1859995\":[\"56-59\"]}|' WHERE `virtuemart_product_id` = 1859993
2023-10-13	12:26:47	503	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:47	503	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859995
2023-10-13	12:26:47	504	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:47	504	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:47	504	[DEBUG]	Use field value for field taille
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:47	504	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:47	504	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:47	504	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:47	504	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:47	504	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:47	504	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:47	504	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:47	504	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:47	504	[DEBUG]	Use field value for field published
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:47	504	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field override
2023-10-13	12:26:47	504	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:47	504	[DEBUG]	Use field value for field slug
2023-10-13	12:26:47	504	[DEBUG]	Process line 504
2023-10-13	12:26:47	504	[DEBUG]	Load a row
2023-10-13	12:26:47	504	[DEBUG]	Processing item: 1000000243987
2023-10-13	12:26:47	504	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:47	504	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:47	504	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9442_715'
2023-10-13	12:26:47	504	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:47	504	[DEBUG]	Processing product tax
2023-10-13	12:26:47	504	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:47	504	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:47	504	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:47	504	[DEBUG]	Query for Product
2023-10-13	12:26:47	504	[DEBUG]	Executed store
2023-10-13	12:26:47	504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859993','1000000243987','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:47	504	[DEBUG]	No parent found
2023-10-13	12:26:47	504	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859993 AND customfield_value = 'stockable'
2023-10-13	12:26:47	504	[DEBUG]	Check product language entry
2023-10-13	12:26:47	504	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859996
2023-10-13	12:26:47	504	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:47	504	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000243987' AND `virtuemart_product_id` != 1859996
2023-10-13	12:26:47	504	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:47	504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859996, '1000000243987')
2023-10-13	12:26:47	504	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:47	504	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-stan-mips-olive-51-55' AND `virtuemart_product_id` != 1859996
2023-10-13	12:26:47	504	[DEBUG]	Query for ProductLang
2023-10-13	12:26:48	504	[DEBUG]	Executed store
2023-10-13	12:26:48	504	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT STAN MIPS / Olive (51-55)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-stan-mips-olive-51-55' WHERE `virtuemart_product_id` = '1859996'
2023-10-13	12:26:48	504	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38648_casque_vtt_stan_mips.jpg
2023-10-13	12:26:48	504	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:48	504	[DEBUG]	Process image file
2023-10-13	12:26:48	504	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:48	504	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:48	504	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38648_casque_vtt_stan_mips.jpg
2023-10-13	12:26:48	504	[DEBUG]	Full name target: bcprisme/38648_casque_vtt_stan_mips.jpg
2023-10-13	12:26:48	504	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:48	504	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38648_casque_vtt_stan_mips.jpg'
2023-10-13	12:26:48	504	[DEBUG]	Query for Media
2023-10-13	12:26:48	504	[DEBUG]	Executed store
2023-10-13	12:26:48	504	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38648_casque_vtt_stan_mips.jpg',`file_url_thumb`='bcprisme/38648_casque_vtt_stan_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409989'
2023-10-13	12:26:48	504	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:48	504	[DEBUG]	Executed store
2023-10-13	12:26:48	504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859996','1409989','1')
2023-10-13	12:26:48	504	[DEBUG]	Store product image relation
2023-10-13	12:26:48	504	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:48	504	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859996 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:48	504	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:48	504	[DEBUG]	Executed store
2023-10-13	12:26:48	504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859996','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:48	504	[DEBUG]	Checking manufacturer
2023-10-13	12:26:48	504	[DEBUG]	Load a row
2023-10-13	12:26:48	504	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:48	504	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:48	504	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:48	504	[DEBUG]	Executed store
2023-10-13	12:26:48	504	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:48	504	[DEBUG]	Manufacturer exists
2023-10-13	12:26:48	504	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:48	504	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:48	504	[DEBUG]	Executed store
2023-10-13	12:26:48	504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859996','171')
2023-10-13	12:26:48	504	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:48	504	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:48	504	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859996 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:48	504	[DEBUG]	Store custom available field
2023-10-13	12:26:48	504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859996,3,'',1)
2023-10-13	12:26:48	504	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:48	504	[DEBUG]	Get existing row with customfield value 51-55
2023-10-13	12:26:48	504	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859996 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:48	504	[DEBUG]	Store custom available field
2023-10-13	12:26:48	504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859996,6,'51-55',3)
2023-10-13	12:26:48	504	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:48	504	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:48	504	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859993
2023-10-13	12:26:48	504	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:48	504	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n60-64\\r\\n56-59\\r\\n51-55\"}]|clabels=0|options={\"1859993\":[1859993,8,1,\"choisir la taille\"],\"1859994\":[\"60-64\"],\"1859995\":[\"56-59\"],\"1859996\":[\"51-55\"]}|' WHERE `virtuemart_product_id` = 1859993
2023-10-13	12:26:48	504	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:48	504	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859996
2023-10-13	12:26:48	505	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:49	505	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field taille
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:49	505	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:49	505	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:49	505	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:49	505	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:49	505	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:49	505	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:49	505	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field published
2023-10-13	12:26:49	505	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:49	505	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field override
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:49	505	[DEBUG]	Use field value for field slug
2023-10-13	12:26:49	505	[DEBUG]	Process line 505
2023-10-13	12:26:49	505	[DEBUG]	Load a row
2023-10-13	12:26:49	505	[DEBUG]	Processing item: A_9442_786
2023-10-13	12:26:49	505	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:49	505	[DEBUG]	Processing product tax
2023-10-13	12:26:49	505	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:49	505	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:49	505	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:49	505	[DEBUG]	Query for Product
2023-10-13	12:26:49	505	[DEBUG]	Executed store
2023-10-13	12:26:49	505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9442_786','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:49	505	[DEBUG]	Check product language entry
2023-10-13	12:26:49	505	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859997
2023-10-13	12:26:49	505	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:49	505	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9442_786' AND `virtuemart_product_id` != 1859997
2023-10-13	12:26:49	505	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:49	505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859997, 'A_9442_786')
2023-10-13	12:26:49	505	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:49	505	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-stan-mips-black-turquoise' AND `virtuemart_product_id` != 1859997
2023-10-13	12:26:49	505	[DEBUG]	Query for ProductLang
2023-10-13	12:26:49	505	[DEBUG]	Executed store
2023-10-13	12:26:49	505	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le STAN MIPS est un casque pour les randonnées alpines, les montées, les trails fluides et les passages techniques. Le casque MTB est ventilé de manière optimale et dispose d\'une fonctionnalité de sécurité supplémentaire avec MIPS. La construction Inmold de ce casque MTB est sûre et légère, et la fonctionnalité de sécurité MIPS est également intégrée. Le système MIPS permet de minimiser les forces de rotation en cas de chute. Pendant le vélo, la sueur est comme un trophée : pour la performance, la force et le courage. Le STAN MIPS ne veut pas vous prendre ce trophée, mais simplement vous rafraichir la tête d’une manière aussi durable que possible avec la conception spéciale du système de ventilation du casque. Une forme optimisée et une large gamme d\'options de réglage ainsi que d\'autres caractéristiques de confort assurent un confort de port maximal.<br>N° art fourn : A9768339',`product_name`='Alpina Casque VTT STAN MIPS / Black-Turquoise',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-stan-mips-black-turquoise' WHERE `virtuemart_product_id` = '1859997'
2023-10-13	12:26:49	505	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38650_casque_vtt_stan_mips.jpg
2023-10-13	12:26:49	505	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:49	505	[DEBUG]	Process image file
2023-10-13	12:26:49	505	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:49	505	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:49	505	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38650_casque_vtt_stan_mips.jpg
2023-10-13	12:26:49	505	[DEBUG]	Full name target: bcprisme/38650_casque_vtt_stan_mips.jpg
2023-10-13	12:26:49	505	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:49	505	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38650_casque_vtt_stan_mips.jpg'
2023-10-13	12:26:49	505	[DEBUG]	Query for Media
2023-10-13	12:26:49	505	[DEBUG]	Executed store
2023-10-13	12:26:49	505	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38650_casque_vtt_stan_mips.jpg',`file_url_thumb`='bcprisme/38650_casque_vtt_stan_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421026'
2023-10-13	12:26:49	505	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:49	505	[DEBUG]	Executed store
2023-10-13	12:26:49	505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859997','1421026','1')
2023-10-13	12:26:49	505	[DEBUG]	Store product image relation
2023-10-13	12:26:49	505	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:49	505	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859997 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:49	505	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:49	505	[DEBUG]	Executed store
2023-10-13	12:26:49	505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859997','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:49	505	[DEBUG]	Checking manufacturer
2023-10-13	12:26:49	505	[DEBUG]	Load a row
2023-10-13	12:26:50	505	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:50	505	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:50	505	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:50	505	[DEBUG]	Executed store
2023-10-13	12:26:50	505	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:50	505	[DEBUG]	Manufacturer exists
2023-10-13	12:26:50	505	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:50	505	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:50	505	[DEBUG]	Executed store
2023-10-13	12:26:50	505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859997','171')
2023-10-13	12:26:50	505	[DEBUG]	Find the custom field ID
2023-10-13	12:26:50	505	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:50	505	[DEBUG]	No custom field ID found
2023-10-13	12:26:50	505	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:50	505	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:26:50	505	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859997 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:50	505	[DEBUG]	Store custom available field
2023-10-13	12:26:50	505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859997,3,'0',1)
2023-10-13	12:26:50	505	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:50	505	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:50	505	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859997 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:50	505	[DEBUG]	Store custom available field
2023-10-13	12:26:50	505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859997,6,'choisir la taille',3)
2023-10-13	12:26:50	505	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:50	505	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:50	505	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:50	505	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:50	505	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859997 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:50	505	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:50	505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1859997,8,1)
2023-10-13	12:26:50	505	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:50	505	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1859997\":[1859997,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1859997
2023-10-13	12:26:50	505	[DEBUG]	Checking category
2023-10-13	12:26:50	505	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:50	505	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859997
2023-10-13	12:26:50	505	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:50	505	[DEBUG]	Executed store
2023-10-13	12:26:50	505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1859997','7281')
2023-10-13	12:26:50	505	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:50	505	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1859997 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:50	505	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:50	505	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859997
2023-10-13	12:26:50	506	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:50	506	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:50	506	[DEBUG]	Use field value for field taille
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:50	506	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:50	506	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:50	506	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:50	506	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:50	506	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:50	506	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:50	506	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:50	506	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:50	506	[DEBUG]	Use field value for field published
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:50	506	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field override
2023-10-13	12:26:50	506	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:50	506	[DEBUG]	Use field value for field slug
2023-10-13	12:26:50	506	[DEBUG]	Process line 506
2023-10-13	12:26:50	506	[DEBUG]	Load a row
2023-10-13	12:26:50	506	[DEBUG]	Processing item: 1000000553505
2023-10-13	12:26:50	506	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:50	506	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:50	506	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9442_786'
2023-10-13	12:26:50	506	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:50	506	[DEBUG]	Processing product tax
2023-10-13	12:26:50	506	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:50	506	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:50	506	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:50	506	[DEBUG]	Query for Product
2023-10-13	12:26:50	506	[DEBUG]	Executed store
2023-10-13	12:26:50	506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859997','1000000553505','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:50	506	[DEBUG]	No parent found
2023-10-13	12:26:50	506	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859997 AND customfield_value = 'stockable'
2023-10-13	12:26:50	506	[DEBUG]	Check product language entry
2023-10-13	12:26:50	506	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859998
2023-10-13	12:26:50	506	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:50	506	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000553505' AND `virtuemart_product_id` != 1859998
2023-10-13	12:26:50	506	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:50	506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859998, '1000000553505')
2023-10-13	12:26:50	506	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:50	506	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-stan-mips-black-turquoise-56-59' AND `virtuemart_product_id` != 1859998
2023-10-13	12:26:50	506	[DEBUG]	Query for ProductLang
2023-10-13	12:26:50	506	[DEBUG]	Executed store
2023-10-13	12:26:50	506	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT STAN MIPS / Black-Turquoise (56-59)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-stan-mips-black-turquoise-56-59' WHERE `virtuemart_product_id` = '1859998'
2023-10-13	12:26:50	506	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38650_casque_vtt_stan_mips.jpg
2023-10-13	12:26:50	506	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:50	506	[DEBUG]	Process image file
2023-10-13	12:26:50	506	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:50	506	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:50	506	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38650_casque_vtt_stan_mips.jpg
2023-10-13	12:26:50	506	[DEBUG]	Full name target: bcprisme/38650_casque_vtt_stan_mips.jpg
2023-10-13	12:26:51	506	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:51	506	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38650_casque_vtt_stan_mips.jpg'
2023-10-13	12:26:51	506	[DEBUG]	Query for Media
2023-10-13	12:26:51	506	[DEBUG]	Executed store
2023-10-13	12:26:51	506	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38650_casque_vtt_stan_mips.jpg',`file_url_thumb`='bcprisme/38650_casque_vtt_stan_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421026'
2023-10-13	12:26:51	506	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:51	506	[DEBUG]	Executed store
2023-10-13	12:26:51	506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859998','1421026','1')
2023-10-13	12:26:51	506	[DEBUG]	Store product image relation
2023-10-13	12:26:51	506	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:51	506	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859998 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:51	506	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:51	506	[DEBUG]	Executed store
2023-10-13	12:26:51	506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859998','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:51	506	[DEBUG]	Checking manufacturer
2023-10-13	12:26:51	506	[DEBUG]	Load a row
2023-10-13	12:26:51	506	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:51	506	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:51	506	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:51	506	[DEBUG]	Executed store
2023-10-13	12:26:51	506	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:51	506	[DEBUG]	Manufacturer exists
2023-10-13	12:26:51	506	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:51	506	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:51	506	[DEBUG]	Executed store
2023-10-13	12:26:51	506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859998','171')
2023-10-13	12:26:51	506	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:51	506	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:51	506	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859998 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:51	506	[DEBUG]	Store custom available field
2023-10-13	12:26:51	506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859998,3,'',1)
2023-10-13	12:26:51	506	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:51	506	[DEBUG]	Get existing row with customfield value 56-59
2023-10-13	12:26:51	506	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859998 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:51	506	[DEBUG]	Store custom available field
2023-10-13	12:26:51	506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859998,6,'56-59',3)
2023-10-13	12:26:51	506	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:51	506	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:51	506	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859997
2023-10-13	12:26:51	506	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:51	506	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n56-59\"}]|clabels=0|options={\"1859997\":[1859997,8,1,\"choisir la taille\"],\"1859998\":[\"56-59\"]}|' WHERE `virtuemart_product_id` = 1859997
2023-10-13	12:26:51	506	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:51	506	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859998
2023-10-13	12:26:51	507	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:51	507	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:51	507	[DEBUG]	Use field value for field taille
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:51	507	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:51	507	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:51	507	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:51	507	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:51	507	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:51	507	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:51	507	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:51	507	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:51	507	[DEBUG]	Use field value for field published
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:51	507	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field override
2023-10-13	12:26:51	507	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:51	507	[DEBUG]	Use field value for field slug
2023-10-13	12:26:51	507	[DEBUG]	Process line 507
2023-10-13	12:26:51	507	[DEBUG]	Load a row
2023-10-13	12:26:51	507	[DEBUG]	Processing item: 1000000553512
2023-10-13	12:26:51	507	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:51	507	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:51	507	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9442_786'
2023-10-13	12:26:51	507	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:51	507	[DEBUG]	Processing product tax
2023-10-13	12:26:51	507	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:51	507	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:51	507	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:51	507	[DEBUG]	Query for Product
2023-10-13	12:26:51	507	[DEBUG]	Executed store
2023-10-13	12:26:51	507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859997','1000000553512','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:51	507	[DEBUG]	No parent found
2023-10-13	12:26:51	507	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859997 AND customfield_value = 'stockable'
2023-10-13	12:26:51	507	[DEBUG]	Check product language entry
2023-10-13	12:26:51	507	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1859999
2023-10-13	12:26:51	507	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:51	507	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000553512' AND `virtuemart_product_id` != 1859999
2023-10-13	12:26:51	507	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:51	507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1859999, '1000000553512')
2023-10-13	12:26:51	507	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:51	507	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-stan-mips-black-turquoise-60-64' AND `virtuemart_product_id` != 1859999
2023-10-13	12:26:51	507	[DEBUG]	Query for ProductLang
2023-10-13	12:26:51	507	[DEBUG]	Executed store
2023-10-13	12:26:51	507	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT STAN MIPS / Black-Turquoise (60-64)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-stan-mips-black-turquoise-60-64' WHERE `virtuemart_product_id` = '1859999'
2023-10-13	12:26:51	507	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38650_casque_vtt_stan_mips.jpg
2023-10-13	12:26:51	507	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:51	507	[DEBUG]	Process image file
2023-10-13	12:26:51	507	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:51	507	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:51	507	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38650_casque_vtt_stan_mips.jpg
2023-10-13	12:26:51	507	[DEBUG]	Full name target: bcprisme/38650_casque_vtt_stan_mips.jpg
2023-10-13	12:26:52	507	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:52	507	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38650_casque_vtt_stan_mips.jpg'
2023-10-13	12:26:52	507	[DEBUG]	Query for Media
2023-10-13	12:26:52	507	[DEBUG]	Executed store
2023-10-13	12:26:52	507	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38650_casque_vtt_stan_mips.jpg',`file_url_thumb`='bcprisme/38650_casque_vtt_stan_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421026'
2023-10-13	12:26:52	507	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:52	507	[DEBUG]	Executed store
2023-10-13	12:26:52	507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1859999','1421026','1')
2023-10-13	12:26:52	507	[DEBUG]	Store product image relation
2023-10-13	12:26:52	507	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:52	507	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1859999 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:52	507	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:52	507	[DEBUG]	Executed store
2023-10-13	12:26:52	507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1859999','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:52	507	[DEBUG]	Checking manufacturer
2023-10-13	12:26:52	507	[DEBUG]	Load a row
2023-10-13	12:26:52	507	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:52	507	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:52	507	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:52	507	[DEBUG]	Executed store
2023-10-13	12:26:52	507	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:52	507	[DEBUG]	Manufacturer exists
2023-10-13	12:26:52	507	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:52	507	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:52	507	[DEBUG]	Executed store
2023-10-13	12:26:52	507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1859999','171')
2023-10-13	12:26:52	507	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:52	507	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:52	507	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859999 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:52	507	[DEBUG]	Store custom available field
2023-10-13	12:26:52	507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859999,3,'',1)
2023-10-13	12:26:52	507	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:52	507	[DEBUG]	Get existing row with customfield value 60-64
2023-10-13	12:26:52	507	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1859999 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:52	507	[DEBUG]	Store custom available field
2023-10-13	12:26:52	507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1859999,6,'60-64',3)
2023-10-13	12:26:52	507	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:52	507	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:52	507	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859997
2023-10-13	12:26:52	507	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:52	507	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n56-59\\r\\n60-64\"}]|clabels=0|options={\"1859997\":[1859997,8,1,\"choisir la taille\"],\"1859998\":[\"56-59\"],\"1859999\":[\"60-64\"]}|' WHERE `virtuemart_product_id` = 1859997
2023-10-13	12:26:52	507	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:52	507	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1859999
2023-10-13	12:26:52	508	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:52	508	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:52	508	[DEBUG]	Use field value for field taille
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:52	508	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:52	508	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:52	508	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:52	508	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:52	508	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:52	508	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:52	508	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:52	508	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:52	508	[DEBUG]	Use field value for field published
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:52	508	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field override
2023-10-13	12:26:52	508	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:52	508	[DEBUG]	Use field value for field slug
2023-10-13	12:26:52	508	[DEBUG]	Process line 508
2023-10-13	12:26:52	508	[DEBUG]	Load a row
2023-10-13	12:26:52	508	[DEBUG]	Processing item: 1000000553529
2023-10-13	12:26:52	508	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:52	508	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:52	508	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9442_786'
2023-10-13	12:26:52	508	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:52	508	[DEBUG]	Processing product tax
2023-10-13	12:26:52	508	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:52	508	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:52	508	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:52	508	[DEBUG]	Query for Product
2023-10-13	12:26:52	508	[DEBUG]	Executed store
2023-10-13	12:26:52	508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1859997','1000000553529','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:52	508	[DEBUG]	No parent found
2023-10-13	12:26:52	508	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1859997 AND customfield_value = 'stockable'
2023-10-13	12:26:52	508	[DEBUG]	Check product language entry
2023-10-13	12:26:52	508	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860000
2023-10-13	12:26:52	508	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:52	508	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000553529' AND `virtuemart_product_id` != 1860000
2023-10-13	12:26:52	508	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:52	508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860000, '1000000553529')
2023-10-13	12:26:52	508	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:52	508	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-stan-mips-black-turquoise-51-55' AND `virtuemart_product_id` != 1860000
2023-10-13	12:26:52	508	[DEBUG]	Query for ProductLang
2023-10-13	12:26:52	508	[DEBUG]	Executed store
2023-10-13	12:26:52	508	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT STAN MIPS / Black-Turquoise (51-55)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-stan-mips-black-turquoise-51-55' WHERE `virtuemart_product_id` = '1860000'
2023-10-13	12:26:52	508	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38650_casque_vtt_stan_mips.jpg
2023-10-13	12:26:52	508	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:52	508	[DEBUG]	Process image file
2023-10-13	12:26:52	508	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:52	508	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:52	508	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38650_casque_vtt_stan_mips.jpg
2023-10-13	12:26:52	508	[DEBUG]	Full name target: bcprisme/38650_casque_vtt_stan_mips.jpg
2023-10-13	12:26:53	508	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:53	508	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38650_casque_vtt_stan_mips.jpg'
2023-10-13	12:26:53	508	[DEBUG]	Query for Media
2023-10-13	12:26:53	508	[DEBUG]	Executed store
2023-10-13	12:26:53	508	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38650_casque_vtt_stan_mips.jpg',`file_url_thumb`='bcprisme/38650_casque_vtt_stan_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421026'
2023-10-13	12:26:53	508	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:53	508	[DEBUG]	Executed store
2023-10-13	12:26:53	508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860000','1421026','1')
2023-10-13	12:26:53	508	[DEBUG]	Store product image relation
2023-10-13	12:26:53	508	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:53	508	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860000 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:53	508	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:53	508	[DEBUG]	Executed store
2023-10-13	12:26:53	508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860000','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:53	508	[DEBUG]	Checking manufacturer
2023-10-13	12:26:53	508	[DEBUG]	Load a row
2023-10-13	12:26:53	508	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:53	508	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:53	508	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:53	508	[DEBUG]	Executed store
2023-10-13	12:26:53	508	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:53	508	[DEBUG]	Manufacturer exists
2023-10-13	12:26:53	508	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:53	508	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:53	508	[DEBUG]	Executed store
2023-10-13	12:26:53	508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860000','171')
2023-10-13	12:26:53	508	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:53	508	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:53	508	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860000 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:53	508	[DEBUG]	Store custom available field
2023-10-13	12:26:53	508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860000,3,'',1)
2023-10-13	12:26:53	508	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:53	508	[DEBUG]	Get existing row with customfield value 51-55
2023-10-13	12:26:53	508	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860000 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:53	508	[DEBUG]	Store custom available field
2023-10-13	12:26:53	508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860000,6,'51-55',3)
2023-10-13	12:26:53	508	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:53	508	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:53	508	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1859997
2023-10-13	12:26:53	508	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:53	508	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n56-59\\r\\n60-64\\r\\n51-55\"}]|clabels=0|options={\"1859997\":[1859997,8,1,\"choisir la taille\"],\"1859998\":[\"56-59\"],\"1859999\":[\"60-64\"],\"1860000\":[\"51-55\"]}|' WHERE `virtuemart_product_id` = 1859997
2023-10-13	12:26:53	508	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:53	508	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860000
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:53	509	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field taille
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:53	509	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:53	509	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:53	509	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:53	509	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:53	509	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:53	509	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:53	509	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field published
2023-10-13	12:26:53	509	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:53	509	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field override
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:53	509	[DEBUG]	Use field value for field slug
2023-10-13	12:26:53	509	[DEBUG]	Process line 509
2023-10-13	12:26:53	509	[DEBUG]	Load a row
2023-10-13	12:26:53	509	[DEBUG]	Processing item: A_9444_684
2023-10-13	12:26:53	509	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:53	509	[DEBUG]	Processing product tax
2023-10-13	12:26:53	509	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:53	509	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:53	509	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:53	509	[DEBUG]	Query for Product
2023-10-13	12:26:53	509	[DEBUG]	Executed store
2023-10-13	12:26:53	509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9444_684','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:53	509	[DEBUG]	Check product language entry
2023-10-13	12:26:53	509	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860001
2023-10-13	12:26:53	509	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:53	509	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9444_684' AND `virtuemart_product_id` != 1860001
2023-10-13	12:26:53	509	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:53	509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860001, 'A_9444_684')
2023-10-13	12:26:53	509	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:53	509	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-ravel-pastel-blue-matt' AND `virtuemart_product_id` != 1860001
2023-10-13	12:26:53	509	[DEBUG]	Query for ProductLang
2023-10-13	12:26:53	509	[DEBUG]	Executed store
2023-10-13	12:26:53	509	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le RAVEL aime le gravel. Les pontons dynamiques indiquent la direction à suivre : On avance. Et lorsque le rythme s\'accélère, les interstices assurent une bonne aération. Si la piste de gravier est rugueuse, le casque doit être parfaitement adapté. Le système Run réglable en hauteur du Ravel le garantit. De plus, grâce à la fabrication Inmold-Tec, le casque Gravel est sûr, léger et agréable à porter. Un intérieur antibactérien veille à ce que cela reste ainsi. En option, le Ravel peut être équipé d\'une lampe flash. Le Ravel est Made in Germany\".<br>N° art fourn : A9783081\"',`product_name`='Alpina Casque VTT RAVEL / Pastel Blue Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-ravel-pastel-blue-matt' WHERE `virtuemart_product_id` = '1860001'
2023-10-13	12:26:53	509	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38655_casque_vtt_ravel.jpg
2023-10-13	12:26:53	509	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:53	509	[DEBUG]	Process image file
2023-10-13	12:26:53	509	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:53	509	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:53	509	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38655_casque_vtt_ravel.jpg
2023-10-13	12:26:53	509	[DEBUG]	Full name target: bcprisme/38655_casque_vtt_ravel.jpg
2023-10-13	12:26:54	509	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:54	509	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38655_casque_vtt_ravel.jpg'
2023-10-13	12:26:54	509	[DEBUG]	Query for Media
2023-10-13	12:26:54	509	[DEBUG]	Executed store
2023-10-13	12:26:54	509	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38655_casque_vtt_ravel.jpg',`file_url_thumb`='bcprisme/38655_casque_vtt_ravel.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421034'
2023-10-13	12:26:54	509	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:54	509	[DEBUG]	Executed store
2023-10-13	12:26:54	509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860001','1421034','1')
2023-10-13	12:26:54	509	[DEBUG]	Store product image relation
2023-10-13	12:26:54	509	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:54	509	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860001 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:54	509	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:54	509	[DEBUG]	Executed store
2023-10-13	12:26:54	509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860001','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:54	509	[DEBUG]	Checking manufacturer
2023-10-13	12:26:54	509	[DEBUG]	Load a row
2023-10-13	12:26:54	509	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:54	509	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:54	509	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:54	509	[DEBUG]	Executed store
2023-10-13	12:26:54	509	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:54	509	[DEBUG]	Manufacturer exists
2023-10-13	12:26:54	509	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:54	509	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:54	509	[DEBUG]	Executed store
2023-10-13	12:26:54	509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860001','171')
2023-10-13	12:26:54	509	[DEBUG]	Find the custom field ID
2023-10-13	12:26:54	509	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:54	509	[DEBUG]	No custom field ID found
2023-10-13	12:26:54	509	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:54	509	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:26:54	509	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860001 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:54	509	[DEBUG]	Store custom available field
2023-10-13	12:26:54	509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860001,3,'0',1)
2023-10-13	12:26:54	509	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:54	509	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:54	509	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860001 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:54	509	[DEBUG]	Store custom available field
2023-10-13	12:26:54	509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860001,6,'choisir la taille',3)
2023-10-13	12:26:54	509	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:54	509	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:54	509	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:54	509	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:54	509	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860001 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:54	509	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:54	509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860001,8,1)
2023-10-13	12:26:54	509	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:54	509	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860001\":[1860001,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860001
2023-10-13	12:26:54	509	[DEBUG]	Checking category
2023-10-13	12:26:54	509	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:54	509	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860001
2023-10-13	12:26:54	509	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:54	509	[DEBUG]	Executed store
2023-10-13	12:26:54	509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860001','7281')
2023-10-13	12:26:54	509	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:54	509	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860001 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:54	509	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:54	509	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860001
2023-10-13	12:26:54	510	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:54	510	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:54	510	[DEBUG]	Use field value for field taille
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:54	510	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:54	510	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:54	510	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:54	510	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:54	510	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:54	510	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:54	510	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:54	510	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:54	510	[DEBUG]	Use field value for field published
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:54	510	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field override
2023-10-13	12:26:54	510	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:54	510	[DEBUG]	Use field value for field slug
2023-10-13	12:26:54	510	[DEBUG]	Process line 510
2023-10-13	12:26:54	510	[DEBUG]	Load a row
2023-10-13	12:26:54	510	[DEBUG]	Processing item: 1000000553567
2023-10-13	12:26:54	510	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:54	510	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:54	510	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9444_684'
2023-10-13	12:26:54	510	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:54	510	[DEBUG]	Processing product tax
2023-10-13	12:26:54	510	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:54	510	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:54	510	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:54	510	[DEBUG]	Query for Product
2023-10-13	12:26:54	510	[DEBUG]	Executed store
2023-10-13	12:26:54	510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860001','1000000553567','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:54	510	[DEBUG]	No parent found
2023-10-13	12:26:54	510	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860001 AND customfield_value = 'stockable'
2023-10-13	12:26:54	510	[DEBUG]	Check product language entry
2023-10-13	12:26:54	510	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860002
2023-10-13	12:26:54	510	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:54	510	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000553567' AND `virtuemart_product_id` != 1860002
2023-10-13	12:26:54	510	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:54	510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860002, '1000000553567')
2023-10-13	12:26:54	510	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:54	510	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-ravel-pastel-blue-matt-51-56' AND `virtuemart_product_id` != 1860002
2023-10-13	12:26:54	510	[DEBUG]	Query for ProductLang
2023-10-13	12:26:54	510	[DEBUG]	Executed store
2023-10-13	12:26:54	510	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT RAVEL / Pastel Blue Matt (51-56)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-ravel-pastel-blue-matt-51-56' WHERE `virtuemart_product_id` = '1860002'
2023-10-13	12:26:54	510	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38655_casque_vtt_ravel.jpg
2023-10-13	12:26:54	510	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:54	510	[DEBUG]	Process image file
2023-10-13	12:26:54	510	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:54	510	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:54	510	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38655_casque_vtt_ravel.jpg
2023-10-13	12:26:54	510	[DEBUG]	Full name target: bcprisme/38655_casque_vtt_ravel.jpg
2023-10-13	12:26:55	510	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:55	510	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38655_casque_vtt_ravel.jpg'
2023-10-13	12:26:55	510	[DEBUG]	Query for Media
2023-10-13	12:26:55	510	[DEBUG]	Executed store
2023-10-13	12:26:55	510	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38655_casque_vtt_ravel.jpg',`file_url_thumb`='bcprisme/38655_casque_vtt_ravel.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421034'
2023-10-13	12:26:55	510	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:55	510	[DEBUG]	Executed store
2023-10-13	12:26:55	510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860002','1421034','1')
2023-10-13	12:26:55	510	[DEBUG]	Store product image relation
2023-10-13	12:26:55	510	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:55	510	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860002 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:55	510	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:55	510	[DEBUG]	Executed store
2023-10-13	12:26:55	510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860002','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:55	510	[DEBUG]	Checking manufacturer
2023-10-13	12:26:55	510	[DEBUG]	Load a row
2023-10-13	12:26:55	510	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:55	510	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:55	510	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:55	510	[DEBUG]	Executed store
2023-10-13	12:26:55	510	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:55	510	[DEBUG]	Manufacturer exists
2023-10-13	12:26:55	510	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:55	510	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:55	510	[DEBUG]	Executed store
2023-10-13	12:26:55	510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860002','171')
2023-10-13	12:26:55	510	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:55	510	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:55	510	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860002 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:55	510	[DEBUG]	Store custom available field
2023-10-13	12:26:55	510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860002,3,'',1)
2023-10-13	12:26:55	510	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:55	510	[DEBUG]	Get existing row with customfield value 51-56
2023-10-13	12:26:55	510	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860002 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:55	510	[DEBUG]	Store custom available field
2023-10-13	12:26:55	510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860002,6,'51-56',3)
2023-10-13	12:26:55	510	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:55	510	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:55	510	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860001
2023-10-13	12:26:55	510	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:55	510	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n51-56\"}]|clabels=0|options={\"1860001\":[1860001,8,1,\"choisir la taille\"],\"1860002\":[\"51-56\"]}|' WHERE `virtuemart_product_id` = 1860001
2023-10-13	12:26:55	510	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:55	510	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860002
2023-10-13	12:26:55	511	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:55	511	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:55	511	[DEBUG]	Use field value for field taille
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:55	511	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:55	511	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:55	511	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:55	511	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:55	511	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:55	511	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:55	511	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:55	511	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:55	511	[DEBUG]	Use field value for field published
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:55	511	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field override
2023-10-13	12:26:55	511	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:55	511	[DEBUG]	Use field value for field slug
2023-10-13	12:26:55	511	[DEBUG]	Process line 511
2023-10-13	12:26:55	511	[DEBUG]	Load a row
2023-10-13	12:26:55	511	[DEBUG]	Processing item: 1000000553574
2023-10-13	12:26:55	511	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:55	511	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:55	511	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9444_684'
2023-10-13	12:26:55	511	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:55	511	[DEBUG]	Processing product tax
2023-10-13	12:26:55	511	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:55	511	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:55	511	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:55	511	[DEBUG]	Query for Product
2023-10-13	12:26:55	511	[DEBUG]	Executed store
2023-10-13	12:26:55	511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860001','1000000553574','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:55	511	[DEBUG]	No parent found
2023-10-13	12:26:55	511	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860001 AND customfield_value = 'stockable'
2023-10-13	12:26:55	511	[DEBUG]	Check product language entry
2023-10-13	12:26:55	511	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860003
2023-10-13	12:26:55	511	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:55	511	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000553574' AND `virtuemart_product_id` != 1860003
2023-10-13	12:26:55	511	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:55	511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860003, '1000000553574')
2023-10-13	12:26:55	511	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:55	511	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-ravel-pastel-blue-matt-55-59' AND `virtuemart_product_id` != 1860003
2023-10-13	12:26:55	511	[DEBUG]	Query for ProductLang
2023-10-13	12:26:55	511	[DEBUG]	Executed store
2023-10-13	12:26:55	511	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT RAVEL / Pastel Blue Matt (55-59)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-ravel-pastel-blue-matt-55-59' WHERE `virtuemart_product_id` = '1860003'
2023-10-13	12:26:55	511	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38655_casque_vtt_ravel.jpg
2023-10-13	12:26:55	511	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:55	511	[DEBUG]	Process image file
2023-10-13	12:26:55	511	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:55	511	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:55	511	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38655_casque_vtt_ravel.jpg
2023-10-13	12:26:55	511	[DEBUG]	Full name target: bcprisme/38655_casque_vtt_ravel.jpg
2023-10-13	12:26:56	511	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:56	511	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38655_casque_vtt_ravel.jpg'
2023-10-13	12:26:56	511	[DEBUG]	Query for Media
2023-10-13	12:26:56	511	[DEBUG]	Executed store
2023-10-13	12:26:56	511	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38655_casque_vtt_ravel.jpg',`file_url_thumb`='bcprisme/38655_casque_vtt_ravel.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421034'
2023-10-13	12:26:56	511	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:56	511	[DEBUG]	Executed store
2023-10-13	12:26:56	511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860003','1421034','1')
2023-10-13	12:26:56	511	[DEBUG]	Store product image relation
2023-10-13	12:26:56	511	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:56	511	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860003 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:56	511	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:56	511	[DEBUG]	Executed store
2023-10-13	12:26:56	511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860003','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:56	511	[DEBUG]	Checking manufacturer
2023-10-13	12:26:56	511	[DEBUG]	Load a row
2023-10-13	12:26:56	511	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:56	511	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:56	511	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:56	511	[DEBUG]	Executed store
2023-10-13	12:26:56	511	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:56	511	[DEBUG]	Manufacturer exists
2023-10-13	12:26:56	511	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:56	511	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:56	511	[DEBUG]	Executed store
2023-10-13	12:26:56	511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860003','171')
2023-10-13	12:26:56	511	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:56	511	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:56	511	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860003 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:56	511	[DEBUG]	Store custom available field
2023-10-13	12:26:56	511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860003,3,'',1)
2023-10-13	12:26:56	511	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:56	511	[DEBUG]	Get existing row with customfield value 55-59
2023-10-13	12:26:56	511	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860003 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:56	511	[DEBUG]	Store custom available field
2023-10-13	12:26:56	511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860003,6,'55-59',3)
2023-10-13	12:26:56	511	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:56	511	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:56	511	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860001
2023-10-13	12:26:56	511	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:56	511	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n51-56\\r\\n55-59\"}]|clabels=0|options={\"1860001\":[1860001,8,1,\"choisir la taille\"],\"1860002\":[\"51-56\"],\"1860003\":[\"55-59\"]}|' WHERE `virtuemart_product_id` = 1860001
2023-10-13	12:26:56	511	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:56	511	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860003
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:56	512	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field taille
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:56	512	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:56	512	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:56	512	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:56	512	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:56	512	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:56	512	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:56	512	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field published
2023-10-13	12:26:56	512	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:56	512	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field override
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:56	512	[DEBUG]	Use field value for field slug
2023-10-13	12:26:56	512	[DEBUG]	Process line 512
2023-10-13	12:26:56	512	[DEBUG]	Load a row
2023-10-13	12:26:56	512	[DEBUG]	Processing item: A_9444_789
2023-10-13	12:26:56	512	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:56	512	[DEBUG]	Processing product tax
2023-10-13	12:26:56	512	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:56	512	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:56	512	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:56	512	[DEBUG]	Query for Product
2023-10-13	12:26:56	512	[DEBUG]	Executed store
2023-10-13	12:26:56	512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9444_789','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:56	512	[DEBUG]	Check product language entry
2023-10-13	12:26:56	512	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860004
2023-10-13	12:26:56	512	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:56	512	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9444_789' AND `virtuemart_product_id` != 1860004
2023-10-13	12:26:56	512	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:56	512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860004, 'A_9444_789')
2023-10-13	12:26:56	512	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:56	512	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-ravel-mojave-sand-matt' AND `virtuemart_product_id` != 1860004
2023-10-13	12:26:56	512	[DEBUG]	Query for ProductLang
2023-10-13	12:26:56	512	[DEBUG]	Executed store
2023-10-13	12:26:56	512	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le RAVEL aime le gravel. Les pontons dynamiques indiquent la direction à suivre : On avance. Et lorsque le rythme s\'accélère, les interstices assurent une bonne aération. Si la piste de gravier est rugueuse, le casque doit être parfaitement adapté. Le système Run réglable en hauteur du Ravel le garantit. De plus, grâce à la fabrication Inmold-Tec, le casque Gravel est sûr, léger et agréable à porter. Un intérieur antibactérien veille à ce que cela reste ainsi. En option, le Ravel peut être équipé d\'une lampe flash. Le Ravel est Made in Germany\".<br>N° art fourn : A9783081\"',`product_name`='Alpina Casque VTT RAVEL / mojave-sand matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-ravel-mojave-sand-matt' WHERE `virtuemart_product_id` = '1860004'
2023-10-13	12:26:56	512	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38654_casque_vtt_ravel.jpg
2023-10-13	12:26:56	512	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:56	512	[DEBUG]	Process image file
2023-10-13	12:26:56	512	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:56	512	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:56	512	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38654_casque_vtt_ravel.jpg
2023-10-13	12:26:56	512	[DEBUG]	Full name target: bcprisme/38654_casque_vtt_ravel.jpg
2023-10-13	12:26:57	512	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:57	512	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38654_casque_vtt_ravel.jpg'
2023-10-13	12:26:57	512	[DEBUG]	Query for Media
2023-10-13	12:26:57	512	[DEBUG]	Executed store
2023-10-13	12:26:57	512	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38654_casque_vtt_ravel.jpg',`file_url_thumb`='bcprisme/38654_casque_vtt_ravel.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421037'
2023-10-13	12:26:57	512	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:57	512	[DEBUG]	Executed store
2023-10-13	12:26:57	512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860004','1421037','1')
2023-10-13	12:26:57	512	[DEBUG]	Store product image relation
2023-10-13	12:26:57	512	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:57	512	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860004 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:57	512	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:57	512	[DEBUG]	Executed store
2023-10-13	12:26:57	512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860004','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:57	512	[DEBUG]	Checking manufacturer
2023-10-13	12:26:57	512	[DEBUG]	Load a row
2023-10-13	12:26:57	512	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:57	512	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:57	512	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:57	512	[DEBUG]	Executed store
2023-10-13	12:26:57	512	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:57	512	[DEBUG]	Manufacturer exists
2023-10-13	12:26:57	512	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:57	512	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:57	512	[DEBUG]	Executed store
2023-10-13	12:26:57	512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860004','171')
2023-10-13	12:26:57	512	[DEBUG]	Find the custom field ID
2023-10-13	12:26:57	512	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:57	512	[DEBUG]	No custom field ID found
2023-10-13	12:26:57	512	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:57	512	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:26:57	512	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860004 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:57	512	[DEBUG]	Store custom available field
2023-10-13	12:26:57	512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860004,3,'0',1)
2023-10-13	12:26:57	512	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:57	512	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:57	512	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860004 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:57	512	[DEBUG]	Store custom available field
2023-10-13	12:26:57	512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860004,6,'choisir la taille',3)
2023-10-13	12:26:57	512	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:57	512	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:57	512	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:57	512	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:57	512	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860004 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:57	512	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:57	512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860004,8,1)
2023-10-13	12:26:57	512	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:57	512	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860004\":[1860004,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860004
2023-10-13	12:26:57	512	[DEBUG]	Checking category
2023-10-13	12:26:57	512	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:57	512	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860004
2023-10-13	12:26:57	512	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:57	512	[DEBUG]	Executed store
2023-10-13	12:26:57	512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860004','7281')
2023-10-13	12:26:57	512	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:57	512	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860004 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:57	512	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:57	512	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860004
2023-10-13	12:26:57	513	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:57	513	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:57	513	[DEBUG]	Use field value for field taille
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:57	513	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:57	513	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:57	513	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:57	513	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:57	513	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:57	513	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:57	513	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:57	513	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:57	513	[DEBUG]	Use field value for field published
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:57	513	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field override
2023-10-13	12:26:57	513	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:57	513	[DEBUG]	Use field value for field slug
2023-10-13	12:26:57	513	[DEBUG]	Process line 513
2023-10-13	12:26:57	513	[DEBUG]	Load a row
2023-10-13	12:26:57	513	[DEBUG]	Processing item: 1000000553550
2023-10-13	12:26:57	513	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:57	513	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:57	513	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9444_789'
2023-10-13	12:26:57	513	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:57	513	[DEBUG]	Processing product tax
2023-10-13	12:26:57	513	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:57	513	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:57	513	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:57	513	[DEBUG]	Query for Product
2023-10-13	12:26:57	513	[DEBUG]	Executed store
2023-10-13	12:26:57	513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860004','1000000553550','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:57	513	[DEBUG]	No parent found
2023-10-13	12:26:57	513	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860004 AND customfield_value = 'stockable'
2023-10-13	12:26:57	513	[DEBUG]	Check product language entry
2023-10-13	12:26:57	513	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860005
2023-10-13	12:26:57	513	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:57	513	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000553550' AND `virtuemart_product_id` != 1860005
2023-10-13	12:26:57	513	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:57	513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860005, '1000000553550')
2023-10-13	12:26:57	513	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:57	513	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-ravel-mojave-sand-matt-55-59' AND `virtuemart_product_id` != 1860005
2023-10-13	12:26:57	513	[DEBUG]	Query for ProductLang
2023-10-13	12:26:57	513	[DEBUG]	Executed store
2023-10-13	12:26:57	513	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT RAVEL / mojave-sand matt (55-59)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-ravel-mojave-sand-matt-55-59' WHERE `virtuemart_product_id` = '1860005'
2023-10-13	12:26:57	513	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38654_casque_vtt_ravel.jpg
2023-10-13	12:26:57	513	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:57	513	[DEBUG]	Process image file
2023-10-13	12:26:57	513	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:57	513	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:57	513	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38654_casque_vtt_ravel.jpg
2023-10-13	12:26:57	513	[DEBUG]	Full name target: bcprisme/38654_casque_vtt_ravel.jpg
2023-10-13	12:26:58	513	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:58	513	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38654_casque_vtt_ravel.jpg'
2023-10-13	12:26:58	513	[DEBUG]	Query for Media
2023-10-13	12:26:58	513	[DEBUG]	Executed store
2023-10-13	12:26:58	513	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38654_casque_vtt_ravel.jpg',`file_url_thumb`='bcprisme/38654_casque_vtt_ravel.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421037'
2023-10-13	12:26:58	513	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:58	513	[DEBUG]	Executed store
2023-10-13	12:26:58	513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860005','1421037','1')
2023-10-13	12:26:58	513	[DEBUG]	Store product image relation
2023-10-13	12:26:58	513	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:58	513	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860005 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:58	513	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:58	513	[DEBUG]	Executed store
2023-10-13	12:26:58	513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860005','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:58	513	[DEBUG]	Checking manufacturer
2023-10-13	12:26:58	513	[DEBUG]	Load a row
2023-10-13	12:26:58	513	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:58	513	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:58	513	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:58	513	[DEBUG]	Executed store
2023-10-13	12:26:58	513	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:58	513	[DEBUG]	Manufacturer exists
2023-10-13	12:26:58	513	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:58	513	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:58	513	[DEBUG]	Executed store
2023-10-13	12:26:58	513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860005','171')
2023-10-13	12:26:58	513	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:58	513	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:58	513	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860005 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:58	513	[DEBUG]	Store custom available field
2023-10-13	12:26:58	513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860005,3,'',1)
2023-10-13	12:26:58	513	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:58	513	[DEBUG]	Get existing row with customfield value 55-59
2023-10-13	12:26:58	513	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860005 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:58	513	[DEBUG]	Store custom available field
2023-10-13	12:26:58	513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860005,6,'55-59',3)
2023-10-13	12:26:58	513	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:58	513	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:58	513	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860004
2023-10-13	12:26:58	513	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:58	513	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n55-59\"}]|clabels=0|options={\"1860004\":[1860004,8,1,\"choisir la taille\"],\"1860005\":[\"55-59\"]}|' WHERE `virtuemart_product_id` = 1860004
2023-10-13	12:26:58	513	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:58	513	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860005
2023-10-13	12:26:58	514	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:58	514	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:58	514	[DEBUG]	Use field value for field taille
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:58	514	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:58	514	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:58	514	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:58	514	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:58	514	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:58	514	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:58	514	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:58	514	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:58	514	[DEBUG]	Use field value for field published
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:58	514	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field override
2023-10-13	12:26:58	514	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:58	514	[DEBUG]	Use field value for field slug
2023-10-13	12:26:58	514	[DEBUG]	Process line 514
2023-10-13	12:26:58	514	[DEBUG]	Load a row
2023-10-13	12:26:58	514	[DEBUG]	Processing item: 1000000553581
2023-10-13	12:26:58	514	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:58	514	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:58	514	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9444_789'
2023-10-13	12:26:58	514	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:58	514	[DEBUG]	Processing product tax
2023-10-13	12:26:58	514	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:58	514	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:58	514	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:58	514	[DEBUG]	Query for Product
2023-10-13	12:26:58	514	[DEBUG]	Executed store
2023-10-13	12:26:58	514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860004','1000000553581','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:58	514	[DEBUG]	No parent found
2023-10-13	12:26:58	514	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860004 AND customfield_value = 'stockable'
2023-10-13	12:26:58	514	[DEBUG]	Check product language entry
2023-10-13	12:26:58	514	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860006
2023-10-13	12:26:58	514	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:58	514	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000553581' AND `virtuemart_product_id` != 1860006
2023-10-13	12:26:58	514	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:58	514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860006, '1000000553581')
2023-10-13	12:26:58	514	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:58	514	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-ravel-mojave-sand-matt-51-56' AND `virtuemart_product_id` != 1860006
2023-10-13	12:26:58	514	[DEBUG]	Query for ProductLang
2023-10-13	12:26:58	514	[DEBUG]	Executed store
2023-10-13	12:26:58	514	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT RAVEL / mojave-sand matt (51-56)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-ravel-mojave-sand-matt-51-56' WHERE `virtuemart_product_id` = '1860006'
2023-10-13	12:26:58	514	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38654_casque_vtt_ravel.jpg
2023-10-13	12:26:58	514	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:58	514	[DEBUG]	Process image file
2023-10-13	12:26:58	514	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:26:58	514	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:26:58	514	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38654_casque_vtt_ravel.jpg
2023-10-13	12:26:58	514	[DEBUG]	Full name target: bcprisme/38654_casque_vtt_ravel.jpg
2023-10-13	12:26:59	514	[DEBUG]	Checking if the file_url exists
2023-10-13	12:26:59	514	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38654_casque_vtt_ravel.jpg'
2023-10-13	12:26:59	514	[DEBUG]	Query for Media
2023-10-13	12:26:59	514	[DEBUG]	Executed store
2023-10-13	12:26:59	514	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38654_casque_vtt_ravel.jpg',`file_url_thumb`='bcprisme/38654_casque_vtt_ravel.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421037'
2023-10-13	12:26:59	514	[DEBUG]	Query for ProductMedia
2023-10-13	12:26:59	514	[DEBUG]	Executed store
2023-10-13	12:26:59	514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860006','1421037','1')
2023-10-13	12:26:59	514	[DEBUG]	Store product image relation
2023-10-13	12:26:59	514	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:59	514	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860006 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:59	514	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:59	514	[DEBUG]	Executed store
2023-10-13	12:26:59	514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860006','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:59	514	[DEBUG]	Checking manufacturer
2023-10-13	12:26:59	514	[DEBUG]	Load a row
2023-10-13	12:26:59	514	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:59	514	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:59	514	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:59	514	[DEBUG]	Executed store
2023-10-13	12:26:59	514	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:59	514	[DEBUG]	Manufacturer exists
2023-10-13	12:26:59	514	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:59	514	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:59	514	[DEBUG]	Executed store
2023-10-13	12:26:59	514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860006','171')
2023-10-13	12:26:59	514	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:59	514	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:59	514	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860006 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:59	514	[DEBUG]	Store custom available field
2023-10-13	12:26:59	514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860006,3,'',1)
2023-10-13	12:26:59	514	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:59	514	[DEBUG]	Get existing row with customfield value 51-56
2023-10-13	12:26:59	514	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860006 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:59	514	[DEBUG]	Store custom available field
2023-10-13	12:26:59	514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860006,6,'51-56',3)
2023-10-13	12:26:59	514	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:59	514	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:59	514	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860004
2023-10-13	12:26:59	514	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:59	514	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n55-59\\r\\n51-56\"}]|clabels=0|options={\"1860004\":[1860004,8,1,\"choisir la taille\"],\"1860005\":[\"55-59\"],\"1860006\":[\"51-56\"]}|' WHERE `virtuemart_product_id` = 1860004
2023-10-13	12:26:59	514	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:59	514	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860006
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:59	515	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field taille
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:59	515	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:59	515	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:59	515	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:59	515	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:59	515	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:59	515	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:59	515	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field published
2023-10-13	12:26:59	515	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:59	515	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field override
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:59	515	[DEBUG]	Use field value for field slug
2023-10-13	12:26:59	515	[DEBUG]	Process line 515
2023-10-13	12:26:59	515	[DEBUG]	Load a row
2023-10-13	12:26:59	515	[DEBUG]	Processing item: A_9444_795
2023-10-13	12:26:59	515	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:59	515	[DEBUG]	Processing product tax
2023-10-13	12:26:59	515	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:59	515	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:59	515	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:59	515	[DEBUG]	Query for Product
2023-10-13	12:26:59	515	[DEBUG]	Executed store
2023-10-13	12:26:59	515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9444_795','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:59	515	[DEBUG]	Check product language entry
2023-10-13	12:26:59	515	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860007
2023-10-13	12:26:59	515	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:59	515	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9444_795' AND `virtuemart_product_id` != 1860007
2023-10-13	12:26:59	515	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:59	515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860007, 'A_9444_795')
2023-10-13	12:26:59	515	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:59	515	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-ravel-michael-cina' AND `virtuemart_product_id` != 1860007
2023-10-13	12:26:59	515	[DEBUG]	Query for ProductLang
2023-10-13	12:26:59	515	[DEBUG]	Executed store
2023-10-13	12:26:59	515	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le RAVEL aime le gravel. Les pontons dynamiques indiquent la direction à suivre : On avance. Et lorsque le rythme s\'accélère, les interstices assurent une bonne aération. Si la piste de gravier est rugueuse, le casque doit être parfaitement adapté. Le système Run réglable en hauteur du Ravel le garantit. De plus, grâce à la fabrication Inmold-Tec, le casque Gravel est sûr, léger et agréable à porter. Un intérieur antibactérien veille à ce que cela reste ainsi. En option, le Ravel peut être équipé d\'une lampe flash. Le Ravel est Made in Germany\".<br>N° art fourn : A9783081\"',`product_name`='Alpina Casque VTT RAVEL / Michael Cina',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-ravel-michael-cina' WHERE `virtuemart_product_id` = '1860007'
2023-10-13	12:26:59	515	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39521_casque_vtt_ravel.jpg has not been found.
2023-10-13	12:26:59	515	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:59	515	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860007 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:59	515	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:59	515	[DEBUG]	Executed store
2023-10-13	12:26:59	515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860007','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:59	515	[DEBUG]	Checking manufacturer
2023-10-13	12:26:59	515	[DEBUG]	Load a row
2023-10-13	12:26:59	515	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:59	515	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:59	515	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:59	515	[DEBUG]	Executed store
2023-10-13	12:26:59	515	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:59	515	[DEBUG]	Manufacturer exists
2023-10-13	12:26:59	515	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:59	515	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:59	515	[DEBUG]	Executed store
2023-10-13	12:26:59	515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860007','171')
2023-10-13	12:26:59	515	[DEBUG]	Find the custom field ID
2023-10-13	12:26:59	515	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:59	515	[DEBUG]	No custom field ID found
2023-10-13	12:26:59	515	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:59	515	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:26:59	515	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860007 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:59	515	[DEBUG]	Store custom available field
2023-10-13	12:26:59	515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860007,3,'0',1)
2023-10-13	12:26:59	515	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:59	515	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:59	515	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860007 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:59	515	[DEBUG]	Store custom available field
2023-10-13	12:26:59	515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860007,6,'choisir la taille',3)
2023-10-13	12:26:59	515	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:59	515	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:59	515	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:59	515	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:59	515	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860007 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:59	515	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:59	515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860007,8,1)
2023-10-13	12:26:59	515	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:59	515	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860007\":[1860007,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860007
2023-10-13	12:26:59	515	[DEBUG]	Checking category
2023-10-13	12:26:59	515	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:59	515	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860007
2023-10-13	12:26:59	515	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:59	515	[DEBUG]	Executed store
2023-10-13	12:26:59	515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860007','7281')
2023-10-13	12:26:59	515	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:59	515	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860007 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:59	515	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:59	515	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860007
2023-10-13	12:26:59	516	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:59	516	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:59	516	[DEBUG]	Use field value for field taille
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:59	516	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:59	516	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:59	516	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:59	516	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:59	516	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:59	516	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:59	516	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:59	516	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:59	516	[DEBUG]	Use field value for field published
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:59	516	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field override
2023-10-13	12:26:59	516	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:59	516	[DEBUG]	Use field value for field slug
2023-10-13	12:26:59	516	[DEBUG]	Process line 516
2023-10-13	12:26:59	516	[DEBUG]	Load a row
2023-10-13	12:26:59	516	[DEBUG]	Processing item: 1000022735149
2023-10-13	12:26:59	516	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:59	516	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:59	516	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9444_795'
2023-10-13	12:26:59	516	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:59	516	[DEBUG]	Processing product tax
2023-10-13	12:26:59	516	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:59	516	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:59	516	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:59	516	[DEBUG]	Query for Product
2023-10-13	12:26:59	516	[DEBUG]	Executed store
2023-10-13	12:26:59	516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860007','1000022735149','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:59	516	[DEBUG]	No parent found
2023-10-13	12:26:59	516	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860007 AND customfield_value = 'stockable'
2023-10-13	12:26:59	516	[DEBUG]	Check product language entry
2023-10-13	12:26:59	516	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860008
2023-10-13	12:26:59	516	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:59	516	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022735149' AND `virtuemart_product_id` != 1860008
2023-10-13	12:26:59	516	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:59	516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860008, '1000022735149')
2023-10-13	12:26:59	516	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:59	516	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-ravel-michael-cina-51-56' AND `virtuemart_product_id` != 1860008
2023-10-13	12:26:59	516	[DEBUG]	Query for ProductLang
2023-10-13	12:26:59	516	[DEBUG]	Executed store
2023-10-13	12:26:59	516	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT RAVEL / Michael Cina (51-56)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-ravel-michael-cina-51-56' WHERE `virtuemart_product_id` = '1860008'
2023-10-13	12:26:59	516	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39521_casque_vtt_ravel.jpg has not been found.
2023-10-13	12:26:59	516	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:59	516	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860008 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:59	516	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:59	516	[DEBUG]	Executed store
2023-10-13	12:26:59	516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860008','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:59	516	[DEBUG]	Checking manufacturer
2023-10-13	12:26:59	516	[DEBUG]	Load a row
2023-10-13	12:26:59	516	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:59	516	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:59	516	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:59	516	[DEBUG]	Executed store
2023-10-13	12:26:59	516	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:59	516	[DEBUG]	Manufacturer exists
2023-10-13	12:26:59	516	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:59	516	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:59	516	[DEBUG]	Executed store
2023-10-13	12:26:59	516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860008','171')
2023-10-13	12:26:59	516	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:59	516	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:59	516	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860008 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:59	516	[DEBUG]	Store custom available field
2023-10-13	12:26:59	516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860008,3,'',1)
2023-10-13	12:26:59	516	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:59	516	[DEBUG]	Get existing row with customfield value 51-56
2023-10-13	12:26:59	516	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860008 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:59	516	[DEBUG]	Store custom available field
2023-10-13	12:26:59	516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860008,6,'51-56',3)
2023-10-13	12:26:59	516	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:59	516	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:59	516	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860007
2023-10-13	12:26:59	516	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:59	516	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n51-56\"}]|clabels=0|options={\"1860007\":[1860007,8,1,\"choisir la taille\"],\"1860008\":[\"51-56\"]}|' WHERE `virtuemart_product_id` = 1860007
2023-10-13	12:26:59	516	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:59	516	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860008
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:59	517	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field taille
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:59	517	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:59	517	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:59	517	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field product_weight
2023-10-13	12:26:59	517	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:59	517	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:59	517	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field published
2023-10-13	12:26:59	517	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:59	517	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field override
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:59	517	[DEBUG]	Use field value for field slug
2023-10-13	12:26:59	517	[DEBUG]	Process line 517
2023-10-13	12:26:59	517	[DEBUG]	Load a row
2023-10-13	12:26:59	517	[DEBUG]	Processing item: A_9490_84
2023-10-13	12:26:59	517	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:59	517	[DEBUG]	Processing product tax
2023-10-13	12:26:59	517	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:59	517	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:59	517	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:59	517	[DEBUG]	Query for Product
2023-10-13	12:26:59	517	[DEBUG]	Executed store
2023-10-13	12:26:59	517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9490_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:59	517	[DEBUG]	Check product language entry
2023-10-13	12:26:59	517	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860009
2023-10-13	12:26:59	517	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:59	517	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9490_84' AND `virtuemart_product_id` != 1860009
2023-10-13	12:26:59	517	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:59	517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860009, 'A_9490_84')
2023-10-13	12:26:59	517	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:59	517	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-rootage-evo-black' AND `virtuemart_product_id` != 1860009
2023-10-13	12:26:59	517	[DEBUG]	Query for ProductLang
2023-10-13	12:26:59	517	[DEBUG]	Executed store
2023-10-13	12:26:59	517	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Peu importe que ce soit pour un circuit, un circuit hors-piste ou avec le E-Fully dans le parc VTT. Le ROOTAGE EVO est un bon choix. La structure du casque qui couvre les oreilles offre surtout une bien meilleure protection en cas d’impact latéral qu’un casque demi-coque. De plus, le matériau à densité multiple EPP utilisé au niveau des oreilles et à l\'arrière du casque permet de garder son effet protecteur, même après plusieurs impacts. La visière fixe guide le flux d’air vers les canaux de ventilation du ROOTAGE EVO permettant de rafraichir la tête. Le ROOTAGE EVO est le premier casque jet pour cyclistes avec un système de réglage de la taille et qui permet d’ailleurs l’ajout d’un protège-nuque. Le ROOTAGE EVO garantit protection, confort et régulation thermique.<br>N° art fourn : A9750113',`product_name`='Alpina Casque VTT ROOTAGE EVO / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-rootage-evo-black' WHERE `virtuemart_product_id` = '1860009'
2023-10-13	12:26:59	517	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39524_casque_vtt_rootage_evo.jpg has not been found.
2023-10-13	12:26:59	517	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:59	517	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860009 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:59	517	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:59	517	[DEBUG]	Executed store
2023-10-13	12:26:59	517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860009','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:59	517	[DEBUG]	Checking manufacturer
2023-10-13	12:26:59	517	[DEBUG]	Load a row
2023-10-13	12:26:59	517	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:59	517	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:59	517	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:59	517	[DEBUG]	Executed store
2023-10-13	12:26:59	517	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:59	517	[DEBUG]	Manufacturer exists
2023-10-13	12:26:59	517	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:59	517	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:59	517	[DEBUG]	Executed store
2023-10-13	12:26:59	517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860009','171')
2023-10-13	12:26:59	517	[DEBUG]	Find the custom field ID
2023-10-13	12:26:59	517	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:59	517	[DEBUG]	No custom field ID found
2023-10-13	12:26:59	517	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:59	517	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:26:59	517	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860009 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:59	517	[DEBUG]	Store custom available field
2023-10-13	12:26:59	517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860009,3,'0',1)
2023-10-13	12:26:59	517	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:59	517	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:59	517	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860009 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:59	517	[DEBUG]	Store custom available field
2023-10-13	12:26:59	517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860009,6,'choisir la taille',3)
2023-10-13	12:26:59	517	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:59	517	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:59	517	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:59	517	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:59	517	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860009 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:59	517	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:59	517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860009,8,1)
2023-10-13	12:26:59	517	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:59	517	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860009\":[1860009,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860009
2023-10-13	12:26:59	517	[DEBUG]	Checking category
2023-10-13	12:26:59	517	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:59	517	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860009
2023-10-13	12:26:59	517	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:59	517	[DEBUG]	Executed store
2023-10-13	12:26:59	517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860009','7281')
2023-10-13	12:26:59	517	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:59	517	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860009 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:59	517	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:59	517	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860009
2023-10-13	12:26:59	518	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:59	518	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:59	518	[DEBUG]	Use field value for field taille
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:59	518	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:59	518	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:59	518	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:59	518	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:59	518	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:59	518	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:59	518	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:59	518	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:59	518	[DEBUG]	Use field value for field published
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:59	518	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field override
2023-10-13	12:26:59	518	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:59	518	[DEBUG]	Use field value for field slug
2023-10-13	12:26:59	518	[DEBUG]	Process line 518
2023-10-13	12:26:59	518	[DEBUG]	Load a row
2023-10-13	12:26:59	518	[DEBUG]	Processing item: 1000022735170
2023-10-13	12:26:59	518	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:59	518	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:59	518	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9490_84'
2023-10-13	12:26:59	518	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:59	518	[DEBUG]	Processing product tax
2023-10-13	12:26:59	518	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:59	518	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:59	518	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:59	518	[DEBUG]	Query for Product
2023-10-13	12:26:59	518	[DEBUG]	Executed store
2023-10-13	12:26:59	518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860009','1000022735170','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:59	518	[DEBUG]	No parent found
2023-10-13	12:26:59	518	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860009 AND customfield_value = 'stockable'
2023-10-13	12:26:59	518	[DEBUG]	Check product language entry
2023-10-13	12:26:59	518	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860010
2023-10-13	12:26:59	518	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:59	518	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022735170' AND `virtuemart_product_id` != 1860010
2023-10-13	12:26:59	518	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:59	518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860010, '1000022735170')
2023-10-13	12:26:59	518	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:59	518	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-rootage-evo-black-52-57' AND `virtuemart_product_id` != 1860010
2023-10-13	12:26:59	518	[DEBUG]	Query for ProductLang
2023-10-13	12:26:59	518	[DEBUG]	Executed store
2023-10-13	12:26:59	518	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT ROOTAGE EVO / Black (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-rootage-evo-black-52-57' WHERE `virtuemart_product_id` = '1860010'
2023-10-13	12:26:59	518	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39524_casque_vtt_rootage_evo.jpg has not been found.
2023-10-13	12:26:59	518	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:59	518	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860010 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:59	518	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:59	518	[DEBUG]	Executed store
2023-10-13	12:26:59	518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860010','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:59	518	[DEBUG]	Checking manufacturer
2023-10-13	12:26:59	518	[DEBUG]	Load a row
2023-10-13	12:26:59	518	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:59	518	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:59	518	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:59	518	[DEBUG]	Executed store
2023-10-13	12:26:59	518	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:59	518	[DEBUG]	Manufacturer exists
2023-10-13	12:26:59	518	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:59	518	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:59	518	[DEBUG]	Executed store
2023-10-13	12:26:59	518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860010','171')
2023-10-13	12:26:59	518	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:59	518	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:26:59	518	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860010 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:59	518	[DEBUG]	Store custom available field
2023-10-13	12:26:59	518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860010,3,'',1)
2023-10-13	12:26:59	518	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:59	518	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:26:59	518	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860010 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:59	518	[DEBUG]	Store custom available field
2023-10-13	12:26:59	518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860010,6,'52-57',3)
2023-10-13	12:26:59	518	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:59	518	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:26:59	518	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860009
2023-10-13	12:26:59	518	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:59	518	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1860009\":[1860009,8,1,\"choisir la taille\"],\"1860010\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1860009
2023-10-13	12:26:59	518	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:59	518	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860010
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:59	519	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field taille
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field category_path
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:59	519	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:26:59	519	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:59	519	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field product_weight
2023-10-13	12:26:59	519	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:59	519	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:59	519	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field published
2023-10-13	12:26:59	519	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:59	519	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field custom_title
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field custom_param
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field override
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field public_price
2023-10-13	12:26:59	519	[DEBUG]	Use field value for field slug
2023-10-13	12:26:59	519	[DEBUG]	Process line 519
2023-10-13	12:26:59	519	[DEBUG]	Load a row
2023-10-13	12:26:59	519	[DEBUG]	Processing item: A_9490_175
2023-10-13	12:26:59	519	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:59	519	[DEBUG]	Processing product tax
2023-10-13	12:26:59	519	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:59	519	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:59	519	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:59	519	[DEBUG]	Query for Product
2023-10-13	12:26:59	519	[DEBUG]	Executed store
2023-10-13	12:26:59	519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9490_175','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:26:59	519	[DEBUG]	Check product language entry
2023-10-13	12:26:59	519	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860011
2023-10-13	12:26:59	519	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:59	519	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9490_175' AND `virtuemart_product_id` != 1860011
2023-10-13	12:26:59	519	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:26:59	519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860011, 'A_9490_175')
2023-10-13	12:26:59	519	[DEBUG]	Check if the product slug exists
2023-10-13	12:26:59	519	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-rootage-evo-turquoise' AND `virtuemart_product_id` != 1860011
2023-10-13	12:26:59	519	[DEBUG]	Query for ProductLang
2023-10-13	12:26:59	519	[DEBUG]	Executed store
2023-10-13	12:26:59	519	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Peu importe que ce soit pour un circuit, un circuit hors-piste ou avec le E-Fully dans le parc VTT. Le ROOTAGE EVO est un bon choix. La structure du casque qui couvre les oreilles offre surtout une bien meilleure protection en cas d’impact latéral qu’un casque demi-coque. De plus, le matériau à densité multiple EPP utilisé au niveau des oreilles et à l\'arrière du casque permet de garder son effet protecteur, même après plusieurs impacts. La visière fixe guide le flux d’air vers les canaux de ventilation du ROOTAGE EVO permettant de rafraichir la tête. Le ROOTAGE EVO est le premier casque jet pour cyclistes avec un système de réglage de la taille et qui permet d’ailleurs l’ajout d’un protège-nuque. Le ROOTAGE EVO garantit protection, confort et régulation thermique.<br>N° art fourn : A9750113',`product_name`='Alpina Casque VTT ROOTAGE EVO / Turquoise',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-rootage-evo-turquoise' WHERE `virtuemart_product_id` = '1860011'
2023-10-13	12:26:59	519	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39523_casque_vtt_rootage_evo.jpg has not been found.
2023-10-13	12:26:59	519	[DEBUG]	Finding a product_price_id
2023-10-13	12:26:59	519	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860011 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:26:59	519	[DEBUG]	Query for ProductPrice
2023-10-13	12:26:59	519	[DEBUG]	Executed store
2023-10-13	12:26:59	519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860011','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:26:59	519	[DEBUG]	Checking manufacturer
2023-10-13	12:26:59	519	[DEBUG]	Load a row
2023-10-13	12:26:59	519	[DEBUG]	Manufacturer already exists
2023-10-13	12:26:59	519	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:59	519	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:26:59	519	[DEBUG]	Executed store
2023-10-13	12:26:59	519	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:26:59	519	[DEBUG]	Manufacturer exists
2023-10-13	12:26:59	519	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:26:59	519	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:26:59	519	[DEBUG]	Executed store
2023-10-13	12:26:59	519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860011','171')
2023-10-13	12:26:59	519	[DEBUG]	Find the custom field ID
2023-10-13	12:26:59	519	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:26:59	519	[DEBUG]	No custom field ID found
2023-10-13	12:26:59	519	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:26:59	519	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:26:59	519	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860011 AND `virtuemart_custom_id` = 3
2023-10-13	12:26:59	519	[DEBUG]	Store custom available field
2023-10-13	12:26:59	519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860011,3,'0',1)
2023-10-13	12:26:59	519	[DEBUG]	Processing custom available field: taille
2023-10-13	12:26:59	519	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:26:59	519	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860011 AND `virtuemart_custom_id` = 6
2023-10-13	12:26:59	519	[DEBUG]	Store custom available field
2023-10-13	12:26:59	519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860011,6,'choisir la taille',3)
2023-10-13	12:26:59	519	[DEBUG]	Process multi-variant fields
2023-10-13	12:26:59	519	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:26:59	519	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:26:59	519	[DEBUG]	Find the multi variant product entry
2023-10-13	12:26:59	519	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860011 AND `virtuemart_custom_id` = 8
2023-10-13	12:26:59	519	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:26:59	519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860011,8,1)
2023-10-13	12:26:59	519	[DEBUG]	Store the updated customfield_params
2023-10-13	12:26:59	519	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860011\":[1860011,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860011
2023-10-13	12:26:59	519	[DEBUG]	Checking category
2023-10-13	12:26:59	519	[DEBUG]	Get the existing categories for the product
2023-10-13	12:26:59	519	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860011
2023-10-13	12:26:59	519	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:26:59	519	[DEBUG]	Executed store
2023-10-13	12:26:59	519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860011','7281')
2023-10-13	12:26:59	519	[DEBUG]	Delete leftover product categories
2023-10-13	12:26:59	519	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860011 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:26:59	519	[DEBUG]	Update has fields after all processing
2023-10-13	12:26:59	519	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860011
2023-10-13	12:26:59	520	[DEBUG]	Use field value for field product_sku
2023-10-13	12:26:59	520	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:26:59	520	[DEBUG]	Use field value for field taille
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:26:59	520	[DEBUG]	Use field value for field product_name
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field category_path
2023-10-13	12:26:59	520	[DEBUG]	Use field value for field product_price
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:26:59	520	[DEBUG]	Use field value for field product_tax
2023-10-13	12:26:59	520	[DEBUG]	Use field value for field file_url
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field product_desc
2023-10-13	12:26:59	520	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:26:59	520	[DEBUG]	Use field value for field product_availability
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field product_weight
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field product_unit
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field related_products
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field product_special
2023-10-13	12:26:59	520	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:26:59	520	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:26:59	520	[DEBUG]	Use field value for field published
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field metadesc
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field metakey
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field custom_title
2023-10-13	12:26:59	520	[DEBUG]	Use field value for field custom_value
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field custom_param
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field override
2023-10-13	12:26:59	520	[DEBUG]	Use default value for field public_price
2023-10-13	12:26:59	520	[DEBUG]	Use field value for field slug
2023-10-13	12:26:59	520	[DEBUG]	Process line 520
2023-10-13	12:26:59	520	[DEBUG]	Load a row
2023-10-13	12:26:59	520	[DEBUG]	Processing item: 1000022735163
2023-10-13	12:26:59	520	[DEBUG]	Looking for parent SKU
2023-10-13	12:26:59	520	[DEBUG]	Checking product parent SKU
2023-10-13	12:26:59	520	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9490_175'
2023-10-13	12:26:59	520	[DEBUG]	Product tax: 7.7
2023-10-13	12:26:59	520	[DEBUG]	Processing product tax
2023-10-13	12:26:59	520	[DEBUG]	Check if calculation rule exists
2023-10-13	12:26:59	520	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:26:59	520	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:26:59	520	[DEBUG]	Query for Product
2023-10-13	12:27:00	520	[DEBUG]	Executed store
2023-10-13	12:27:00	520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860011','1000022735163','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:00	520	[DEBUG]	No parent found
2023-10-13	12:27:00	520	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860011 AND customfield_value = 'stockable'
2023-10-13	12:27:00	520	[DEBUG]	Check product language entry
2023-10-13	12:27:00	520	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860012
2023-10-13	12:27:00	520	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:00	520	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022735163' AND `virtuemart_product_id` != 1860012
2023-10-13	12:27:00	520	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:00	520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860012, '1000022735163')
2023-10-13	12:27:00	520	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:00	520	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-rootage-evo-turquoise-52-57' AND `virtuemart_product_id` != 1860012
2023-10-13	12:27:00	520	[DEBUG]	Query for ProductLang
2023-10-13	12:27:00	520	[DEBUG]	Executed store
2023-10-13	12:27:00	520	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT ROOTAGE EVO / Turquoise (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-rootage-evo-turquoise-52-57' WHERE `virtuemart_product_id` = '1860012'
2023-10-13	12:27:00	520	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39523_casque_vtt_rootage_evo.jpg has not been found.
2023-10-13	12:27:00	520	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:00	520	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860012 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:00	520	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:00	520	[DEBUG]	Executed store
2023-10-13	12:27:00	520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860012','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:00	520	[DEBUG]	Checking manufacturer
2023-10-13	12:27:00	520	[DEBUG]	Load a row
2023-10-13	12:27:00	520	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:00	520	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:00	520	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:00	520	[DEBUG]	Executed store
2023-10-13	12:27:00	520	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:00	520	[DEBUG]	Manufacturer exists
2023-10-13	12:27:00	520	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:27:00	520	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:00	520	[DEBUG]	Executed store
2023-10-13	12:27:00	520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860012','171')
2023-10-13	12:27:00	520	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:00	520	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:00	520	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860012 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:00	520	[DEBUG]	Store custom available field
2023-10-13	12:27:00	520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860012,3,'',1)
2023-10-13	12:27:00	520	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:00	520	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:27:00	520	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860012 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:00	520	[DEBUG]	Store custom available field
2023-10-13	12:27:00	520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860012,6,'52-57',3)
2023-10-13	12:27:00	520	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:00	520	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:00	520	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860011
2023-10-13	12:27:00	520	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:00	520	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1860011\":[1860011,8,1,\"choisir la taille\"],\"1860012\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1860011
2023-10-13	12:27:00	520	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:00	520	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860012
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:00	521	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field taille
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:00	521	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:00	521	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:00	521	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:00	521	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:00	521	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:00	521	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field published
2023-10-13	12:27:00	521	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:00	521	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field override
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:00	521	[DEBUG]	Use field value for field slug
2023-10-13	12:27:00	521	[DEBUG]	Process line 521
2023-10-13	12:27:00	521	[DEBUG]	Load a row
2023-10-13	12:27:00	521	[DEBUG]	Processing item: A_9490_681
2023-10-13	12:27:00	521	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:00	521	[DEBUG]	Processing product tax
2023-10-13	12:27:00	521	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:00	521	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:00	521	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:00	521	[DEBUG]	Query for Product
2023-10-13	12:27:00	521	[DEBUG]	Executed store
2023-10-13	12:27:00	521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9490_681','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:00	521	[DEBUG]	Check product language entry
2023-10-13	12:27:00	521	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860013
2023-10-13	12:27:00	521	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:00	521	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9490_681' AND `virtuemart_product_id` != 1860013
2023-10-13	12:27:00	521	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:00	521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860013, 'A_9490_681')
2023-10-13	12:27:00	521	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:00	521	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-rootage-evo-olive-matt' AND `virtuemart_product_id` != 1860013
2023-10-13	12:27:00	521	[DEBUG]	Query for ProductLang
2023-10-13	12:27:00	521	[DEBUG]	Executed store
2023-10-13	12:27:00	521	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Peu importe que ce soit pour un circuit, un circuit hors-piste ou avec le E-Fully dans le parc VTT. Le ROOTAGE EVO est un bon choix. La structure du casque qui couvre les oreilles offre surtout une bien meilleure protection en cas d’impact latéral qu’un casque demi-coque. De plus, le matériau à densité multiple EPP utilisé au niveau des oreilles et à l\'arrière du casque permet de garder son effet protecteur, même après plusieurs impacts. La visière fixe guide le flux d’air vers les canaux de ventilation du ROOTAGE EVO permettant de rafraichir la tête. Le ROOTAGE EVO est le premier casque jet pour cyclistes avec un système de réglage de la taille et qui permet d’ailleurs l’ajout d’un protège-nuque. Le ROOTAGE EVO garantit protection, confort et régulation thermique.<br>N° art fourn : A9750113',`product_name`='Alpina Casque VTT ROOTAGE EVO / Olive Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-rootage-evo-olive-matt' WHERE `virtuemart_product_id` = '1860013'
2023-10-13	12:27:00	521	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39522_casque_vtt_rootage_evo.jpg has not been found.
2023-10-13	12:27:00	521	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:00	521	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860013 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:00	521	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:00	521	[DEBUG]	Executed store
2023-10-13	12:27:00	521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860013','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:00	521	[DEBUG]	Checking manufacturer
2023-10-13	12:27:00	521	[DEBUG]	Load a row
2023-10-13	12:27:00	521	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:00	521	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:00	521	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:00	521	[DEBUG]	Executed store
2023-10-13	12:27:00	521	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:00	521	[DEBUG]	Manufacturer exists
2023-10-13	12:27:00	521	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:27:00	521	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:00	521	[DEBUG]	Executed store
2023-10-13	12:27:00	521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860013','171')
2023-10-13	12:27:00	521	[DEBUG]	Find the custom field ID
2023-10-13	12:27:00	521	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:00	521	[DEBUG]	No custom field ID found
2023-10-13	12:27:00	521	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:00	521	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:27:00	521	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860013 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:00	521	[DEBUG]	Store custom available field
2023-10-13	12:27:00	521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860013,3,'0',1)
2023-10-13	12:27:00	521	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:00	521	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:00	521	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860013 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:00	521	[DEBUG]	Store custom available field
2023-10-13	12:27:00	521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860013,6,'choisir la taille',3)
2023-10-13	12:27:00	521	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:00	521	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:00	521	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:00	521	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:00	521	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860013 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:00	521	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:00	521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860013,8,1)
2023-10-13	12:27:00	521	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:00	521	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860013\":[1860013,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860013
2023-10-13	12:27:00	521	[DEBUG]	Checking category
2023-10-13	12:27:00	521	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:00	521	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860013
2023-10-13	12:27:00	521	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:00	521	[DEBUG]	Executed store
2023-10-13	12:27:00	521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860013','7281')
2023-10-13	12:27:00	521	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:00	521	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860013 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:00	521	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:00	521	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860013
2023-10-13	12:27:00	522	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:00	522	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:00	522	[DEBUG]	Use field value for field taille
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:00	522	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:00	522	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:00	522	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:00	522	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:00	522	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:00	522	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:00	522	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:00	522	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:00	522	[DEBUG]	Use field value for field published
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:00	522	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field override
2023-10-13	12:27:00	522	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:00	522	[DEBUG]	Use field value for field slug
2023-10-13	12:27:00	522	[DEBUG]	Process line 522
2023-10-13	12:27:00	522	[DEBUG]	Load a row
2023-10-13	12:27:00	522	[DEBUG]	Processing item: 1000022735156
2023-10-13	12:27:00	522	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:00	522	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:00	522	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9490_681'
2023-10-13	12:27:00	522	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:00	522	[DEBUG]	Processing product tax
2023-10-13	12:27:00	522	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:00	522	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:00	522	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:00	522	[DEBUG]	Query for Product
2023-10-13	12:27:00	522	[DEBUG]	Executed store
2023-10-13	12:27:00	522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860013','1000022735156','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:00	522	[DEBUG]	No parent found
2023-10-13	12:27:00	522	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860013 AND customfield_value = 'stockable'
2023-10-13	12:27:00	522	[DEBUG]	Check product language entry
2023-10-13	12:27:00	522	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860014
2023-10-13	12:27:00	522	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:00	522	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022735156' AND `virtuemart_product_id` != 1860014
2023-10-13	12:27:00	522	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:00	522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860014, '1000022735156')
2023-10-13	12:27:00	522	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:00	522	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-rootage-evo-olive-matt-52-57' AND `virtuemart_product_id` != 1860014
2023-10-13	12:27:00	522	[DEBUG]	Query for ProductLang
2023-10-13	12:27:00	522	[DEBUG]	Executed store
2023-10-13	12:27:00	522	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT ROOTAGE EVO / Olive Matt (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-rootage-evo-olive-matt-52-57' WHERE `virtuemart_product_id` = '1860014'
2023-10-13	12:27:00	522	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39522_casque_vtt_rootage_evo.jpg has not been found.
2023-10-13	12:27:00	522	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:00	522	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860014 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:00	522	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:00	522	[DEBUG]	Executed store
2023-10-13	12:27:00	522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860014','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:00	522	[DEBUG]	Checking manufacturer
2023-10-13	12:27:00	522	[DEBUG]	Load a row
2023-10-13	12:27:00	522	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:00	522	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:00	522	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:00	522	[DEBUG]	Executed store
2023-10-13	12:27:00	522	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:00	522	[DEBUG]	Manufacturer exists
2023-10-13	12:27:00	522	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:27:00	522	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:00	522	[DEBUG]	Executed store
2023-10-13	12:27:00	522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860014','171')
2023-10-13	12:27:00	522	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:00	522	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:00	522	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860014 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:00	522	[DEBUG]	Store custom available field
2023-10-13	12:27:00	522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860014,3,'',1)
2023-10-13	12:27:00	522	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:00	522	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:27:00	522	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860014 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:00	522	[DEBUG]	Store custom available field
2023-10-13	12:27:00	522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860014,6,'52-57',3)
2023-10-13	12:27:00	522	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:00	522	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:00	522	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860013
2023-10-13	12:27:00	522	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:00	522	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1860013\":[1860013,8,1,\"choisir la taille\"],\"1860014\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1860013
2023-10-13	12:27:00	522	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:00	522	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860014
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:00	523	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field taille
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:00	523	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:00	523	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:00	523	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:00	523	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:00	523	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:00	523	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field published
2023-10-13	12:27:00	523	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:00	523	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field override
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:00	523	[DEBUG]	Use field value for field slug
2023-10-13	12:27:00	523	[DEBUG]	Process line 523
2023-10-13	12:27:00	523	[DEBUG]	Load a row
2023-10-13	12:27:00	523	[DEBUG]	Processing item: A_9490_798
2023-10-13	12:27:00	523	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:00	523	[DEBUG]	Processing product tax
2023-10-13	12:27:00	523	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:00	523	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:00	523	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:00	523	[DEBUG]	Query for Product
2023-10-13	12:27:00	523	[DEBUG]	Executed store
2023-10-13	12:27:00	523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9490_798','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:00	523	[DEBUG]	Check product language entry
2023-10-13	12:27:00	523	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860015
2023-10-13	12:27:00	523	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:00	523	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9490_798' AND `virtuemart_product_id` != 1860015
2023-10-13	12:27:00	523	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:00	523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860015, 'A_9490_798')
2023-10-13	12:27:00	523	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:00	523	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-rootage-evo-michael-cina-black-matt' AND `virtuemart_product_id` != 1860015
2023-10-13	12:27:00	523	[DEBUG]	Query for ProductLang
2023-10-13	12:27:00	523	[DEBUG]	Executed store
2023-10-13	12:27:00	523	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Peu importe que ce soit pour un circuit, un circuit hors-piste ou avec le E-Fully dans le parc VTT. Le ROOTAGE EVO est un bon choix. La structure du casque qui couvre les oreilles offre surtout une bien meilleure protection en cas d’impact latéral qu’un casque demi-coque. De plus, le matériau à densité multiple EPP utilisé au niveau des oreilles et à l\'arrière du casque permet de garder son effet protecteur, même après plusieurs impacts. La visière fixe guide le flux d’air vers les canaux de ventilation du ROOTAGE EVO permettant de rafraichir la tête. Le ROOTAGE EVO est le premier casque jet pour cyclistes avec un système de réglage de la taille et qui permet d’ailleurs l’ajout d’un protège-nuque. Le ROOTAGE EVO garantit protection, confort et régulation thermique.<br>N° art fourn : A9750113',`product_name`='Alpina Casque VTT ROOTAGE EVO / Michael Cina Black Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-rootage-evo-michael-cina-black-matt' WHERE `virtuemart_product_id` = '1860015'
2023-10-13	12:27:00	523	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38713_casque_vtt_rootage_evo.jpg
2023-10-13	12:27:00	523	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:00	523	[DEBUG]	Process image file
2023-10-13	12:27:00	523	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:00	523	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:00	523	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38713_casque_vtt_rootage_evo.jpg
2023-10-13	12:27:00	523	[DEBUG]	Full name target: bcprisme/38713_casque_vtt_rootage_evo.jpg
2023-10-13	12:27:01	523	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:01	523	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38713_casque_vtt_rootage_evo.jpg'
2023-10-13	12:27:01	523	[DEBUG]	Query for Media
2023-10-13	12:27:01	523	[DEBUG]	Executed store
2023-10-13	12:27:01	523	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38713_casque_vtt_rootage_evo.jpg',`file_url_thumb`='bcprisme/38713_casque_vtt_rootage_evo.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1432115'
2023-10-13	12:27:01	523	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:01	523	[DEBUG]	Executed store
2023-10-13	12:27:01	523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860015','1432115','1')
2023-10-13	12:27:01	523	[DEBUG]	Store product image relation
2023-10-13	12:27:01	523	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:01	523	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860015 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:01	523	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:01	523	[DEBUG]	Executed store
2023-10-13	12:27:01	523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860015','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:01	523	[DEBUG]	Checking manufacturer
2023-10-13	12:27:01	523	[DEBUG]	Load a row
2023-10-13	12:27:01	523	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:01	523	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:01	523	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:01	523	[DEBUG]	Executed store
2023-10-13	12:27:01	523	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:01	523	[DEBUG]	Manufacturer exists
2023-10-13	12:27:01	523	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:27:01	523	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:01	523	[DEBUG]	Executed store
2023-10-13	12:27:01	523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860015','171')
2023-10-13	12:27:01	523	[DEBUG]	Find the custom field ID
2023-10-13	12:27:01	523	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:01	523	[DEBUG]	No custom field ID found
2023-10-13	12:27:01	523	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:01	523	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:27:01	523	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860015 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:01	523	[DEBUG]	Store custom available field
2023-10-13	12:27:01	523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860015,3,'0',1)
2023-10-13	12:27:01	523	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:01	523	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:01	523	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860015 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:01	523	[DEBUG]	Store custom available field
2023-10-13	12:27:01	523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860015,6,'choisir la taille',3)
2023-10-13	12:27:01	523	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:01	523	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:01	523	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:01	523	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:01	523	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860015 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:01	523	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:01	523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860015,8,1)
2023-10-13	12:27:01	523	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:01	523	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860015\":[1860015,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860015
2023-10-13	12:27:01	523	[DEBUG]	Checking category
2023-10-13	12:27:01	523	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:01	523	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860015
2023-10-13	12:27:01	523	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:01	523	[DEBUG]	Executed store
2023-10-13	12:27:01	523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860015','7281')
2023-10-13	12:27:01	523	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:01	523	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860015 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:01	523	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:01	523	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860015
2023-10-13	12:27:01	524	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:01	524	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:01	524	[DEBUG]	Use field value for field taille
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:01	524	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:01	524	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:01	524	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:01	524	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:01	524	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:01	524	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:01	524	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:01	524	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:01	524	[DEBUG]	Use field value for field published
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:01	524	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field override
2023-10-13	12:27:01	524	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:01	524	[DEBUG]	Use field value for field slug
2023-10-13	12:27:01	524	[DEBUG]	Process line 524
2023-10-13	12:27:01	524	[DEBUG]	Load a row
2023-10-13	12:27:01	524	[DEBUG]	Processing item: 1000001479330
2023-10-13	12:27:01	524	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:01	524	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:01	524	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9490_798'
2023-10-13	12:27:01	524	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:01	524	[DEBUG]	Processing product tax
2023-10-13	12:27:01	524	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:01	524	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:01	524	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:01	524	[DEBUG]	Query for Product
2023-10-13	12:27:01	524	[DEBUG]	Executed store
2023-10-13	12:27:01	524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860015','1000001479330','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:01	524	[DEBUG]	No parent found
2023-10-13	12:27:01	524	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860015 AND customfield_value = 'stockable'
2023-10-13	12:27:01	524	[DEBUG]	Check product language entry
2023-10-13	12:27:01	524	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860016
2023-10-13	12:27:01	524	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:01	524	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000001479330' AND `virtuemart_product_id` != 1860016
2023-10-13	12:27:01	524	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:01	524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860016, '1000001479330')
2023-10-13	12:27:01	524	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:01	524	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-rootage-evo-michael-cina-black-matt-52-57' AND `virtuemart_product_id` != 1860016
2023-10-13	12:27:01	524	[DEBUG]	Query for ProductLang
2023-10-13	12:27:01	524	[DEBUG]	Executed store
2023-10-13	12:27:01	524	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT ROOTAGE EVO / Michael Cina Black Matt (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-rootage-evo-michael-cina-black-matt-52-57' WHERE `virtuemart_product_id` = '1860016'
2023-10-13	12:27:01	524	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38713_casque_vtt_rootage_evo.jpg
2023-10-13	12:27:01	524	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:01	524	[DEBUG]	Process image file
2023-10-13	12:27:01	524	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:01	524	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:01	524	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38713_casque_vtt_rootage_evo.jpg
2023-10-13	12:27:01	524	[DEBUG]	Full name target: bcprisme/38713_casque_vtt_rootage_evo.jpg
2023-10-13	12:27:02	524	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:02	524	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38713_casque_vtt_rootage_evo.jpg'
2023-10-13	12:27:02	524	[DEBUG]	Query for Media
2023-10-13	12:27:02	524	[DEBUG]	Executed store
2023-10-13	12:27:02	524	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38713_casque_vtt_rootage_evo.jpg',`file_url_thumb`='bcprisme/38713_casque_vtt_rootage_evo.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1432115'
2023-10-13	12:27:02	524	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:02	524	[DEBUG]	Executed store
2023-10-13	12:27:02	524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860016','1432115','1')
2023-10-13	12:27:02	524	[DEBUG]	Store product image relation
2023-10-13	12:27:02	524	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:02	524	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860016 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:02	524	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:02	524	[DEBUG]	Executed store
2023-10-13	12:27:02	524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860016','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:02	524	[DEBUG]	Checking manufacturer
2023-10-13	12:27:02	524	[DEBUG]	Load a row
2023-10-13	12:27:02	524	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:02	524	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:02	524	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:02	524	[DEBUG]	Executed store
2023-10-13	12:27:02	524	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:02	524	[DEBUG]	Manufacturer exists
2023-10-13	12:27:02	524	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:27:02	524	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:02	524	[DEBUG]	Executed store
2023-10-13	12:27:02	524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860016','171')
2023-10-13	12:27:02	524	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:02	524	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:02	524	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860016 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:02	524	[DEBUG]	Store custom available field
2023-10-13	12:27:02	524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860016,3,'',1)
2023-10-13	12:27:02	524	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:02	524	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:27:02	524	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860016 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:02	524	[DEBUG]	Store custom available field
2023-10-13	12:27:02	524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860016,6,'52-57',3)
2023-10-13	12:27:02	524	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:02	524	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:02	524	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860015
2023-10-13	12:27:02	524	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:02	524	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1860015\":[1860015,8,1,\"choisir la taille\"],\"1860016\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1860015
2023-10-13	12:27:02	524	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:02	524	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860016
2023-10-13	12:27:02	525	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:02	525	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:02	525	[DEBUG]	Use field value for field taille
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:02	525	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:02	525	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:02	525	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:02	525	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:02	525	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:02	525	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:02	525	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:02	525	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:02	525	[DEBUG]	Use field value for field published
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:02	525	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field override
2023-10-13	12:27:02	525	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:02	525	[DEBUG]	Use field value for field slug
2023-10-13	12:27:02	525	[DEBUG]	Process line 525
2023-10-13	12:27:02	525	[DEBUG]	Load a row
2023-10-13	12:27:02	525	[DEBUG]	Processing item: 1000001479347
2023-10-13	12:27:02	525	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:02	525	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:02	525	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9490_798'
2023-10-13	12:27:02	525	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:02	525	[DEBUG]	Processing product tax
2023-10-13	12:27:02	525	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:02	525	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:02	525	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:02	525	[DEBUG]	Query for Product
2023-10-13	12:27:02	525	[DEBUG]	Executed store
2023-10-13	12:27:02	525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860015','1000001479347','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:02	525	[DEBUG]	No parent found
2023-10-13	12:27:02	525	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860015 AND customfield_value = 'stockable'
2023-10-13	12:27:02	525	[DEBUG]	Check product language entry
2023-10-13	12:27:02	525	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860017
2023-10-13	12:27:02	525	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:02	525	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000001479347' AND `virtuemart_product_id` != 1860017
2023-10-13	12:27:02	525	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:02	525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860017, '1000001479347')
2023-10-13	12:27:02	525	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:02	525	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-rootage-evo-michael-cina-black-matt-57-62' AND `virtuemart_product_id` != 1860017
2023-10-13	12:27:02	525	[DEBUG]	Query for ProductLang
2023-10-13	12:27:02	525	[DEBUG]	Executed store
2023-10-13	12:27:02	525	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT ROOTAGE EVO / Michael Cina Black Matt (57-62)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-rootage-evo-michael-cina-black-matt-57-62' WHERE `virtuemart_product_id` = '1860017'
2023-10-13	12:27:02	525	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38713_casque_vtt_rootage_evo.jpg
2023-10-13	12:27:02	525	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:02	525	[DEBUG]	Process image file
2023-10-13	12:27:02	525	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:02	525	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:02	525	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38713_casque_vtt_rootage_evo.jpg
2023-10-13	12:27:02	525	[DEBUG]	Full name target: bcprisme/38713_casque_vtt_rootage_evo.jpg
2023-10-13	12:27:03	525	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:03	525	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38713_casque_vtt_rootage_evo.jpg'
2023-10-13	12:27:03	525	[DEBUG]	Query for Media
2023-10-13	12:27:03	525	[DEBUG]	Executed store
2023-10-13	12:27:03	525	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38713_casque_vtt_rootage_evo.jpg',`file_url_thumb`='bcprisme/38713_casque_vtt_rootage_evo.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1432115'
2023-10-13	12:27:03	525	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:03	525	[DEBUG]	Executed store
2023-10-13	12:27:03	525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860017','1432115','1')
2023-10-13	12:27:03	525	[DEBUG]	Store product image relation
2023-10-13	12:27:03	525	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:03	525	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860017 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:03	525	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:03	525	[DEBUG]	Executed store
2023-10-13	12:27:03	525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860017','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:03	525	[DEBUG]	Checking manufacturer
2023-10-13	12:27:03	525	[DEBUG]	Load a row
2023-10-13	12:27:03	525	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:03	525	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:03	525	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:03	525	[DEBUG]	Executed store
2023-10-13	12:27:03	525	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:03	525	[DEBUG]	Manufacturer exists
2023-10-13	12:27:03	525	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:27:03	525	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:03	525	[DEBUG]	Executed store
2023-10-13	12:27:03	525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860017','171')
2023-10-13	12:27:03	525	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:03	525	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:03	525	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860017 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:03	525	[DEBUG]	Store custom available field
2023-10-13	12:27:03	525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860017,3,'',1)
2023-10-13	12:27:03	525	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:03	525	[DEBUG]	Get existing row with customfield value 57-62
2023-10-13	12:27:03	525	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860017 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:03	525	[DEBUG]	Store custom available field
2023-10-13	12:27:03	525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860017,6,'57-62',3)
2023-10-13	12:27:03	525	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:03	525	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:03	525	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860015
2023-10-13	12:27:03	525	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:03	525	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n57-62\"}]|clabels=0|options={\"1860015\":[1860015,8,1,\"choisir la taille\"],\"1860016\":[\"52-57\"],\"1860017\":[\"57-62\"]}|' WHERE `virtuemart_product_id` = 1860015
2023-10-13	12:27:03	525	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:03	525	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860017
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:03	526	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field taille
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:03	526	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:03	526	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:03	526	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:03	526	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:03	526	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:03	526	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field published
2023-10-13	12:27:03	526	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:03	526	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field override
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:03	526	[DEBUG]	Use field value for field slug
2023-10-13	12:27:03	526	[DEBUG]	Process line 526
2023-10-13	12:27:03	526	[DEBUG]	Load a row
2023-10-13	12:27:03	526	[DEBUG]	Processing item: A_9512_40
2023-10-13	12:27:03	526	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:03	526	[DEBUG]	Processing product tax
2023-10-13	12:27:03	526	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:03	526	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:03	526	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:03	526	[DEBUG]	Query for Product
2023-10-13	12:27:03	526	[DEBUG]	Executed store
2023-10-13	12:27:03	526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9512_40','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:03	526	[DEBUG]	Check product language entry
2023-10-13	12:27:03	526	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860018
2023-10-13	12:27:03	526	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:03	526	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9512_40' AND `virtuemart_product_id` != 1860018
2023-10-13	12:27:03	526	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:03	526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860018, 'A_9512_40')
2023-10-13	12:27:03	526	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:03	526	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-pro-blocked-vert' AND `virtuemart_product_id` != 1860018
2023-10-13	12:27:03	526	[DEBUG]	Query for ProductLang
2023-10-13	12:27:03	526	[DEBUG]	Executed store
2023-10-13	12:27:03	526	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 29414-532',`product_name`='Fox Casque Speedframe PRO BLOCKED / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-pro-blocked-vert' WHERE `virtuemart_product_id` = '1860018'
2023-10-13	12:27:03	526	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38873_casque_fox_23_helmet_speedframe_pro_blocked.jpg
2023-10-13	12:27:03	526	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:03	526	[DEBUG]	Process image file
2023-10-13	12:27:03	526	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:03	526	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:03	526	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38873_casque_fox_23_helmet_speedframe_pro_blocked.jpg
2023-10-13	12:27:03	526	[DEBUG]	Full name target: bcprisme/38873_casque_fox_23_helmet_speedframe_pro_blocked.jpg
2023-10-13	12:27:04	526	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:04	526	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38873_casque_fox_23_helmet_speedframe_pro_blocked.jpg'
2023-10-13	12:27:04	526	[DEBUG]	Query for Media
2023-10-13	12:27:04	526	[DEBUG]	Executed store
2023-10-13	12:27:04	526	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38873_casque_fox_23_helmet_speedframe_pro_blocked.jpg',`file_url_thumb`='bcprisme/38873_casque_fox_23_helmet_speedframe_pro_blocked.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1454289'
2023-10-13	12:27:04	526	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:04	526	[DEBUG]	Executed store
2023-10-13	12:27:04	526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860018','1454289','1')
2023-10-13	12:27:04	526	[DEBUG]	Store product image relation
2023-10-13	12:27:04	526	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:04	526	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860018 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:04	526	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:04	526	[DEBUG]	Executed store
2023-10-13	12:27:04	526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860018','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:04	526	[DEBUG]	Checking manufacturer
2023-10-13	12:27:04	526	[DEBUG]	Load a row
2023-10-13	12:27:04	526	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:04	526	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:04	526	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:04	526	[DEBUG]	Executed store
2023-10-13	12:27:04	526	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:04	526	[DEBUG]	Manufacturer exists
2023-10-13	12:27:04	526	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:04	526	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:04	526	[DEBUG]	Executed store
2023-10-13	12:27:04	526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860018','44')
2023-10-13	12:27:04	526	[DEBUG]	Find the custom field ID
2023-10-13	12:27:04	526	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:04	526	[DEBUG]	No custom field ID found
2023-10-13	12:27:04	526	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:04	526	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:04	526	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860018 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:04	526	[DEBUG]	Store custom available field
2023-10-13	12:27:04	526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860018,3,'9.8725',1)
2023-10-13	12:27:04	526	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:04	526	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:04	526	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860018 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:04	526	[DEBUG]	Store custom available field
2023-10-13	12:27:04	526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860018,6,'choisir la taille',3)
2023-10-13	12:27:04	526	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:04	526	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:04	526	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:04	526	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:04	526	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860018 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:04	526	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:04	526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860018,8,1)
2023-10-13	12:27:04	526	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:04	526	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860018\":[1860018,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860018
2023-10-13	12:27:04	526	[DEBUG]	Checking category
2023-10-13	12:27:04	526	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:04	526	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860018
2023-10-13	12:27:04	526	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:04	526	[DEBUG]	Executed store
2023-10-13	12:27:04	526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860018','7281')
2023-10-13	12:27:04	526	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:04	526	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860018 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:04	526	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:04	526	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860018
2023-10-13	12:27:04	527	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:04	527	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:04	527	[DEBUG]	Use field value for field taille
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:04	527	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:04	527	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:04	527	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:04	527	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:04	527	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:04	527	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:04	527	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:04	527	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:04	527	[DEBUG]	Use field value for field published
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:04	527	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field override
2023-10-13	12:27:04	527	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:04	527	[DEBUG]	Use field value for field slug
2023-10-13	12:27:04	527	[DEBUG]	Process line 527
2023-10-13	12:27:04	527	[DEBUG]	Load a row
2023-10-13	12:27:04	527	[DEBUG]	Processing item: 191972661778
2023-10-13	12:27:04	527	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:04	527	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:04	527	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9512_40'
2023-10-13	12:27:04	527	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:04	527	[DEBUG]	Processing product tax
2023-10-13	12:27:04	527	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:04	527	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:04	527	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:04	527	[DEBUG]	Query for Product
2023-10-13	12:27:04	527	[DEBUG]	Executed store
2023-10-13	12:27:04	527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860018','191972661778','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:04	527	[DEBUG]	No parent found
2023-10-13	12:27:04	527	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860018 AND customfield_value = 'stockable'
2023-10-13	12:27:04	527	[DEBUG]	Check product language entry
2023-10-13	12:27:04	527	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860019
2023-10-13	12:27:04	527	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:04	527	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972661778' AND `virtuemart_product_id` != 1860019
2023-10-13	12:27:04	527	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:04	527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860019, '191972661778')
2023-10-13	12:27:04	527	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:04	527	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-pro-blocked-vert-m' AND `virtuemart_product_id` != 1860019
2023-10-13	12:27:04	527	[DEBUG]	Query for ProductLang
2023-10-13	12:27:04	527	[DEBUG]	Executed store
2023-10-13	12:27:04	527	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe PRO BLOCKED / Vert (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-pro-blocked-vert-m' WHERE `virtuemart_product_id` = '1860019'
2023-10-13	12:27:04	527	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38873_casque_fox_23_helmet_speedframe_pro_blocked.jpg
2023-10-13	12:27:04	527	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:04	527	[DEBUG]	Process image file
2023-10-13	12:27:04	527	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:04	527	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:04	527	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38873_casque_fox_23_helmet_speedframe_pro_blocked.jpg
2023-10-13	12:27:04	527	[DEBUG]	Full name target: bcprisme/38873_casque_fox_23_helmet_speedframe_pro_blocked.jpg
2023-10-13	12:27:05	527	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:05	527	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38873_casque_fox_23_helmet_speedframe_pro_blocked.jpg'
2023-10-13	12:27:05	527	[DEBUG]	Query for Media
2023-10-13	12:27:05	527	[DEBUG]	Executed store
2023-10-13	12:27:05	527	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38873_casque_fox_23_helmet_speedframe_pro_blocked.jpg',`file_url_thumb`='bcprisme/38873_casque_fox_23_helmet_speedframe_pro_blocked.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1454289'
2023-10-13	12:27:05	527	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:05	527	[DEBUG]	Executed store
2023-10-13	12:27:05	527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860019','1454289','1')
2023-10-13	12:27:05	527	[DEBUG]	Store product image relation
2023-10-13	12:27:05	527	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:05	527	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860019 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:05	527	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:05	527	[DEBUG]	Executed store
2023-10-13	12:27:05	527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860019','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:05	527	[DEBUG]	Checking manufacturer
2023-10-13	12:27:05	527	[DEBUG]	Load a row
2023-10-13	12:27:05	527	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:05	527	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:05	527	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:05	527	[DEBUG]	Executed store
2023-10-13	12:27:05	527	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:05	527	[DEBUG]	Manufacturer exists
2023-10-13	12:27:05	527	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:05	527	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:05	527	[DEBUG]	Executed store
2023-10-13	12:27:05	527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860019','44')
2023-10-13	12:27:05	527	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:05	527	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:05	527	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860019 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:05	527	[DEBUG]	Store custom available field
2023-10-13	12:27:05	527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860019,3,'',1)
2023-10-13	12:27:05	527	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:05	527	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:27:05	527	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860019 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:05	527	[DEBUG]	Store custom available field
2023-10-13	12:27:05	527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860019,6,'M',3)
2023-10-13	12:27:05	527	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:05	527	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:05	527	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860018
2023-10-13	12:27:05	527	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:05	527	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nM\"}]|clabels=0|options={\"1860018\":[1860018,8,1,\"choisir la taille\"],\"1860019\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1860018
2023-10-13	12:27:05	527	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:05	527	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860019
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:05	528	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field taille
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:05	528	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:05	528	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:05	528	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:05	528	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:05	528	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:05	528	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field published
2023-10-13	12:27:05	528	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:05	528	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field override
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:05	528	[DEBUG]	Use field value for field slug
2023-10-13	12:27:05	528	[DEBUG]	Process line 528
2023-10-13	12:27:05	528	[DEBUG]	Load a row
2023-10-13	12:27:05	528	[DEBUG]	Processing item: A_9513_42
2023-10-13	12:27:05	528	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:05	528	[DEBUG]	Processing product tax
2023-10-13	12:27:05	528	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:05	528	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:05	528	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:05	528	[DEBUG]	Query for Product
2023-10-13	12:27:05	528	[DEBUG]	Executed store
2023-10-13	12:27:05	528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9513_42','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:05	528	[DEBUG]	Check product language entry
2023-10-13	12:27:05	528	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860020
2023-10-13	12:27:05	528	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:05	528	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9513_42' AND `virtuemart_product_id` != 1860020
2023-10-13	12:27:05	528	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:05	528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860020, 'A_9513_42')
2023-10-13	12:27:05	528	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:05	528	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-pro-klif-brun' AND `virtuemart_product_id` != 1860020
2023-10-13	12:27:05	528	[DEBUG]	Query for ProductLang
2023-10-13	12:27:05	528	[DEBUG]	Executed store
2023-10-13	12:27:05	528	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 30930-553',`product_name`='Fox Casque Speedframe PRO KLIF / Brun',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-pro-klif-brun' WHERE `virtuemart_product_id` = '1860020'
2023-10-13	12:27:05	528	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38874_casque_fox_23_helmet_speedframe_pro_klif.jpg
2023-10-13	12:27:05	528	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:05	528	[DEBUG]	Process image file
2023-10-13	12:27:05	528	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:05	528	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:05	528	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38874_casque_fox_23_helmet_speedframe_pro_klif.jpg
2023-10-13	12:27:05	528	[DEBUG]	Full name target: bcprisme/38874_casque_fox_23_helmet_speedframe_pro_klif.jpg
2023-10-13	12:27:06	528	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:06	528	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38874_casque_fox_23_helmet_speedframe_pro_klif.jpg'
2023-10-13	12:27:06	528	[DEBUG]	Query for Media
2023-10-13	12:27:06	528	[DEBUG]	Executed store
2023-10-13	12:27:06	528	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38874_casque_fox_23_helmet_speedframe_pro_klif.jpg',`file_url_thumb`='bcprisme/38874_casque_fox_23_helmet_speedframe_pro_klif.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1454291'
2023-10-13	12:27:06	528	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:06	528	[DEBUG]	Executed store
2023-10-13	12:27:06	528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860020','1454291','1')
2023-10-13	12:27:06	528	[DEBUG]	Store product image relation
2023-10-13	12:27:06	528	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:06	528	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860020 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:06	528	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:06	528	[DEBUG]	Executed store
2023-10-13	12:27:06	528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860020','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:06	528	[DEBUG]	Checking manufacturer
2023-10-13	12:27:06	528	[DEBUG]	Load a row
2023-10-13	12:27:06	528	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:06	528	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:06	528	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:06	528	[DEBUG]	Executed store
2023-10-13	12:27:06	528	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:06	528	[DEBUG]	Manufacturer exists
2023-10-13	12:27:06	528	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:06	528	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:06	528	[DEBUG]	Executed store
2023-10-13	12:27:06	528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860020','44')
2023-10-13	12:27:06	528	[DEBUG]	Find the custom field ID
2023-10-13	12:27:06	528	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:06	528	[DEBUG]	No custom field ID found
2023-10-13	12:27:06	528	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:06	528	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:06	528	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860020 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:06	528	[DEBUG]	Store custom available field
2023-10-13	12:27:06	528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860020,3,'9.8725',1)
2023-10-13	12:27:06	528	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:06	528	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:06	528	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860020 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:06	528	[DEBUG]	Store custom available field
2023-10-13	12:27:06	528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860020,6,'choisir la taille',3)
2023-10-13	12:27:06	528	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:06	528	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:06	528	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:06	528	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:06	528	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860020 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:06	528	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:06	528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860020,8,1)
2023-10-13	12:27:06	528	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:06	528	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860020\":[1860020,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860020
2023-10-13	12:27:06	528	[DEBUG]	Checking category
2023-10-13	12:27:06	528	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:06	528	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860020
2023-10-13	12:27:06	528	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:06	528	[DEBUG]	Executed store
2023-10-13	12:27:06	528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860020','7281')
2023-10-13	12:27:06	528	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:06	528	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860020 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:06	528	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:06	528	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860020
2023-10-13	12:27:06	529	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:06	529	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:06	529	[DEBUG]	Use field value for field taille
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:06	529	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:06	529	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:06	529	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:06	529	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:06	529	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:06	529	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:06	529	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:06	529	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:06	529	[DEBUG]	Use field value for field published
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:06	529	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field override
2023-10-13	12:27:06	529	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:06	529	[DEBUG]	Use field value for field slug
2023-10-13	12:27:06	529	[DEBUG]	Process line 529
2023-10-13	12:27:06	529	[DEBUG]	Load a row
2023-10-13	12:27:06	529	[DEBUG]	Processing item: 191972687761
2023-10-13	12:27:06	529	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:06	529	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:06	529	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9513_42'
2023-10-13	12:27:06	529	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:06	529	[DEBUG]	Processing product tax
2023-10-13	12:27:06	529	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:06	529	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:06	529	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:06	529	[DEBUG]	Query for Product
2023-10-13	12:27:06	529	[DEBUG]	Executed store
2023-10-13	12:27:06	529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860020','191972687761','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:06	529	[DEBUG]	No parent found
2023-10-13	12:27:06	529	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860020 AND customfield_value = 'stockable'
2023-10-13	12:27:06	529	[DEBUG]	Check product language entry
2023-10-13	12:27:06	529	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860021
2023-10-13	12:27:06	529	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:06	529	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972687761' AND `virtuemart_product_id` != 1860021
2023-10-13	12:27:06	529	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:06	529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860021, '191972687761')
2023-10-13	12:27:06	529	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:06	529	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-pro-klif-brun-m' AND `virtuemart_product_id` != 1860021
2023-10-13	12:27:06	529	[DEBUG]	Query for ProductLang
2023-10-13	12:27:06	529	[DEBUG]	Executed store
2023-10-13	12:27:06	529	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe PRO KLIF / Brun (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-pro-klif-brun-m' WHERE `virtuemart_product_id` = '1860021'
2023-10-13	12:27:06	529	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38874_casque_fox_23_helmet_speedframe_pro_klif.jpg
2023-10-13	12:27:06	529	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:06	529	[DEBUG]	Process image file
2023-10-13	12:27:06	529	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:06	529	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:06	529	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38874_casque_fox_23_helmet_speedframe_pro_klif.jpg
2023-10-13	12:27:06	529	[DEBUG]	Full name target: bcprisme/38874_casque_fox_23_helmet_speedframe_pro_klif.jpg
2023-10-13	12:27:07	529	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:07	529	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38874_casque_fox_23_helmet_speedframe_pro_klif.jpg'
2023-10-13	12:27:07	529	[DEBUG]	Query for Media
2023-10-13	12:27:07	529	[DEBUG]	Executed store
2023-10-13	12:27:07	529	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38874_casque_fox_23_helmet_speedframe_pro_klif.jpg',`file_url_thumb`='bcprisme/38874_casque_fox_23_helmet_speedframe_pro_klif.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1454291'
2023-10-13	12:27:07	529	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:07	529	[DEBUG]	Executed store
2023-10-13	12:27:07	529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860021','1454291','1')
2023-10-13	12:27:07	529	[DEBUG]	Store product image relation
2023-10-13	12:27:07	529	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:07	529	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860021 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:07	529	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:07	529	[DEBUG]	Executed store
2023-10-13	12:27:07	529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860021','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:07	529	[DEBUG]	Checking manufacturer
2023-10-13	12:27:07	529	[DEBUG]	Load a row
2023-10-13	12:27:07	529	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:07	529	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:07	529	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:07	529	[DEBUG]	Executed store
2023-10-13	12:27:07	529	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:07	529	[DEBUG]	Manufacturer exists
2023-10-13	12:27:07	529	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:07	529	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:07	529	[DEBUG]	Executed store
2023-10-13	12:27:07	529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860021','44')
2023-10-13	12:27:07	529	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:07	529	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:07	529	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860021 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:07	529	[DEBUG]	Store custom available field
2023-10-13	12:27:07	529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860021,3,'',1)
2023-10-13	12:27:07	529	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:07	529	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:27:07	529	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860021 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:07	529	[DEBUG]	Store custom available field
2023-10-13	12:27:07	529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860021,6,'M',3)
2023-10-13	12:27:07	529	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:07	529	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:07	529	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860020
2023-10-13	12:27:07	529	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:07	529	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nM\"}]|clabels=0|options={\"1860020\":[1860020,8,1,\"choisir la taille\"],\"1860021\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1860020
2023-10-13	12:27:07	529	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:07	529	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860021
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:07	530	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field taille
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:07	530	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:07	530	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:07	530	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:07	530	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:07	530	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:07	530	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field published
2023-10-13	12:27:07	530	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:07	530	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field override
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:07	530	[DEBUG]	Use field value for field slug
2023-10-13	12:27:07	530	[DEBUG]	Process line 530
2023-10-13	12:27:07	530	[DEBUG]	Load a row
2023-10-13	12:27:07	530	[DEBUG]	Processing item: A_9514_12
2023-10-13	12:27:07	530	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:07	530	[DEBUG]	Processing product tax
2023-10-13	12:27:07	530	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:07	530	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:07	530	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:07	530	[DEBUG]	Query for Product
2023-10-13	12:27:07	530	[DEBUG]	Executed store
2023-10-13	12:27:07	530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9514_12','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:07	530	[DEBUG]	Check product language entry
2023-10-13	12:27:07	530	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860022
2023-10-13	12:27:07	530	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:07	530	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9514_12' AND `virtuemart_product_id` != 1860022
2023-10-13	12:27:07	530	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:07	530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860022, 'A_9514_12')
2023-10-13	12:27:07	530	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:07	530	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-blanc' AND `virtuemart_product_id` != 1860022
2023-10-13	12:27:07	530	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:27:07	530	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'fox-casque-speedframe-blanc', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'fox-casque-speedframe-blanc' OR `slug` LIKE 'fox-casque-speedframe-blanc-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1860022 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:27:07	530	[DEBUG]	Query for ProductLang
2023-10-13	12:27:07	530	[DEBUG]	Executed store
2023-10-13	12:27:07	530	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 26840',`product_name`='Fox Casque Speedframe / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-blanc-1' WHERE `virtuemart_product_id` = '1860022'
2023-10-13	12:27:07	530	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38876_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:07	530	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:07	530	[DEBUG]	Process image file
2023-10-13	12:27:07	530	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:07	530	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:07	530	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38876_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:07	530	[DEBUG]	Full name target: bcprisme/38876_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:08	530	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:08	530	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38876_casque_fox_23_helmet_speedfram.jpg'
2023-10-13	12:27:08	530	[DEBUG]	Query for Media
2023-10-13	12:27:08	530	[DEBUG]	Executed store
2023-10-13	12:27:08	530	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38876_casque_fox_23_helmet_speedfram.jpg',`file_url_thumb`='bcprisme/38876_casque_fox_23_helmet_speedfram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1454293'
2023-10-13	12:27:08	530	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:08	530	[DEBUG]	Executed store
2023-10-13	12:27:08	530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860022','1454293','1')
2023-10-13	12:27:08	530	[DEBUG]	Store product image relation
2023-10-13	12:27:08	530	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:08	530	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860022 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:08	530	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:08	530	[DEBUG]	Executed store
2023-10-13	12:27:08	530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860022','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:08	530	[DEBUG]	Checking manufacturer
2023-10-13	12:27:08	530	[DEBUG]	Load a row
2023-10-13	12:27:08	530	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:08	530	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:08	530	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:08	530	[DEBUG]	Executed store
2023-10-13	12:27:08	530	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:08	530	[DEBUG]	Manufacturer exists
2023-10-13	12:27:08	530	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:08	530	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:08	530	[DEBUG]	Executed store
2023-10-13	12:27:08	530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860022','44')
2023-10-13	12:27:08	530	[DEBUG]	Find the custom field ID
2023-10-13	12:27:08	530	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:08	530	[DEBUG]	No custom field ID found
2023-10-13	12:27:08	530	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:08	530	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:08	530	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860022 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:08	530	[DEBUG]	Store custom available field
2023-10-13	12:27:08	530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860022,3,'9.8725',1)
2023-10-13	12:27:08	530	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:08	530	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:08	530	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860022 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:08	530	[DEBUG]	Store custom available field
2023-10-13	12:27:08	530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860022,6,'choisir la taille',3)
2023-10-13	12:27:08	530	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:08	530	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:08	530	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:08	530	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:08	530	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860022 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:08	530	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:08	530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860022,8,1)
2023-10-13	12:27:08	530	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:08	530	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860022\":[1860022,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860022
2023-10-13	12:27:08	530	[DEBUG]	Checking category
2023-10-13	12:27:08	530	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:08	530	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860022
2023-10-13	12:27:08	530	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:08	530	[DEBUG]	Executed store
2023-10-13	12:27:08	530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860022','7281')
2023-10-13	12:27:08	530	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:08	530	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860022 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:08	530	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:08	530	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860022
2023-10-13	12:27:08	531	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:08	531	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:08	531	[DEBUG]	Use field value for field taille
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:08	531	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:08	531	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:08	531	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:08	531	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:08	531	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:08	531	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:08	531	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:08	531	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:08	531	[DEBUG]	Use field value for field published
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:08	531	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field override
2023-10-13	12:27:08	531	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:08	531	[DEBUG]	Use field value for field slug
2023-10-13	12:27:08	531	[DEBUG]	Process line 531
2023-10-13	12:27:08	531	[DEBUG]	Load a row
2023-10-13	12:27:08	531	[DEBUG]	Processing item: 191972709975
2023-10-13	12:27:08	531	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:08	531	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:08	531	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9514_12'
2023-10-13	12:27:08	531	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:08	531	[DEBUG]	Processing product tax
2023-10-13	12:27:08	531	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:08	531	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:08	531	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:08	531	[DEBUG]	Query for Product
2023-10-13	12:27:08	531	[DEBUG]	Executed store
2023-10-13	12:27:08	531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860022','191972709975','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:08	531	[DEBUG]	No parent found
2023-10-13	12:27:08	531	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860022 AND customfield_value = 'stockable'
2023-10-13	12:27:08	531	[DEBUG]	Check product language entry
2023-10-13	12:27:08	531	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860023
2023-10-13	12:27:08	531	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:08	531	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972709975' AND `virtuemart_product_id` != 1860023
2023-10-13	12:27:08	531	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:08	531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860023, '191972709975')
2023-10-13	12:27:08	531	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:08	531	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-blanc-s' AND `virtuemart_product_id` != 1860023
2023-10-13	12:27:08	531	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:27:08	531	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'fox-casque-speedframe-blanc-s', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'fox-casque-speedframe-blanc-s' OR `slug` LIKE 'fox-casque-speedframe-blanc-s-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1860023 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:27:08	531	[DEBUG]	Query for ProductLang
2023-10-13	12:27:08	531	[DEBUG]	Executed store
2023-10-13	12:27:08	531	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe / Blanc (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-blanc-s-1' WHERE `virtuemart_product_id` = '1860023'
2023-10-13	12:27:08	531	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38876_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:08	531	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:08	531	[DEBUG]	Process image file
2023-10-13	12:27:08	531	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:08	531	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:08	531	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38876_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:08	531	[DEBUG]	Full name target: bcprisme/38876_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:09	531	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:09	531	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38876_casque_fox_23_helmet_speedfram.jpg'
2023-10-13	12:27:10	531	[DEBUG]	Query for Media
2023-10-13	12:27:10	531	[DEBUG]	Executed store
2023-10-13	12:27:10	531	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38876_casque_fox_23_helmet_speedfram.jpg',`file_url_thumb`='bcprisme/38876_casque_fox_23_helmet_speedfram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1454293'
2023-10-13	12:27:10	531	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:10	531	[DEBUG]	Executed store
2023-10-13	12:27:10	531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860023','1454293','1')
2023-10-13	12:27:10	531	[DEBUG]	Store product image relation
2023-10-13	12:27:10	531	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:10	531	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860023 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:10	531	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:10	531	[DEBUG]	Executed store
2023-10-13	12:27:10	531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860023','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:10	531	[DEBUG]	Checking manufacturer
2023-10-13	12:27:10	531	[DEBUG]	Load a row
2023-10-13	12:27:10	531	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:10	531	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:10	531	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:10	531	[DEBUG]	Executed store
2023-10-13	12:27:10	531	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:10	531	[DEBUG]	Manufacturer exists
2023-10-13	12:27:10	531	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:10	531	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:10	531	[DEBUG]	Executed store
2023-10-13	12:27:10	531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860023','44')
2023-10-13	12:27:10	531	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:10	531	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:10	531	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860023 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:10	531	[DEBUG]	Store custom available field
2023-10-13	12:27:10	531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860023,3,'',1)
2023-10-13	12:27:10	531	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:10	531	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:27:10	531	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860023 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:10	531	[DEBUG]	Store custom available field
2023-10-13	12:27:10	531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860023,6,'S',3)
2023-10-13	12:27:10	531	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:10	531	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:10	531	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860022
2023-10-13	12:27:10	531	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:10	531	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\"}]|clabels=0|options={\"1860022\":[1860022,8,1,\"choisir la taille\"],\"1860023\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1860022
2023-10-13	12:27:10	531	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:10	531	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860023
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:10	532	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field taille
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:10	532	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:10	532	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:10	532	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:10	532	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:10	532	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:10	532	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field published
2023-10-13	12:27:10	532	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:10	532	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field override
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:10	532	[DEBUG]	Use field value for field slug
2023-10-13	12:27:10	532	[DEBUG]	Process line 532
2023-10-13	12:27:10	532	[DEBUG]	Load a row
2023-10-13	12:27:10	532	[DEBUG]	Processing item: A_9514_40
2023-10-13	12:27:10	532	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:10	532	[DEBUG]	Processing product tax
2023-10-13	12:27:10	532	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:10	532	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:10	532	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:10	532	[DEBUG]	Query for Product
2023-10-13	12:27:10	532	[DEBUG]	Executed store
2023-10-13	12:27:10	532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9514_40','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:10	532	[DEBUG]	Check product language entry
2023-10-13	12:27:10	532	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860024
2023-10-13	12:27:10	532	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:10	532	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9514_40' AND `virtuemart_product_id` != 1860024
2023-10-13	12:27:10	532	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:10	532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860024, 'A_9514_40')
2023-10-13	12:27:10	532	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:10	532	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vert' AND `virtuemart_product_id` != 1860024
2023-10-13	12:27:10	532	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:27:10	532	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'fox-casque-speedframe-vert', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'fox-casque-speedframe-vert' OR `slug` LIKE 'fox-casque-speedframe-vert-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1860024 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:27:10	532	[DEBUG]	Query for ProductLang
2023-10-13	12:27:10	532	[DEBUG]	Executed store
2023-10-13	12:27:10	532	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 26840',`product_name`='Fox Casque Speedframe / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vert-1' WHERE `virtuemart_product_id` = '1860024'
2023-10-13	12:27:10	532	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38875_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:10	532	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:10	532	[DEBUG]	Process image file
2023-10-13	12:27:10	532	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:10	532	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:10	532	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38875_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:10	532	[DEBUG]	Full name target: bcprisme/38875_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:11	532	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:11	532	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38875_casque_fox_23_helmet_speedfram.jpg'
2023-10-13	12:27:11	532	[DEBUG]	Query for Media
2023-10-13	12:27:11	532	[DEBUG]	Executed store
2023-10-13	12:27:11	532	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38875_casque_fox_23_helmet_speedfram.jpg',`file_url_thumb`='bcprisme/38875_casque_fox_23_helmet_speedfram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1454295'
2023-10-13	12:27:11	532	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:11	532	[DEBUG]	Executed store
2023-10-13	12:27:11	532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860024','1454295','1')
2023-10-13	12:27:11	532	[DEBUG]	Store product image relation
2023-10-13	12:27:11	532	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:11	532	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860024 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:11	532	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:11	532	[DEBUG]	Executed store
2023-10-13	12:27:11	532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860024','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:11	532	[DEBUG]	Checking manufacturer
2023-10-13	12:27:11	532	[DEBUG]	Load a row
2023-10-13	12:27:11	532	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:11	532	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:11	532	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:11	532	[DEBUG]	Executed store
2023-10-13	12:27:11	532	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:11	532	[DEBUG]	Manufacturer exists
2023-10-13	12:27:11	532	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:11	532	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:11	532	[DEBUG]	Executed store
2023-10-13	12:27:11	532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860024','44')
2023-10-13	12:27:11	532	[DEBUG]	Find the custom field ID
2023-10-13	12:27:11	532	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:11	532	[DEBUG]	No custom field ID found
2023-10-13	12:27:11	532	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:11	532	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:11	532	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860024 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:11	532	[DEBUG]	Store custom available field
2023-10-13	12:27:11	532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860024,3,'9.8725',1)
2023-10-13	12:27:11	532	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:11	532	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:11	532	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860024 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:11	532	[DEBUG]	Store custom available field
2023-10-13	12:27:11	532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860024,6,'choisir la taille',3)
2023-10-13	12:27:11	532	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:11	532	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:11	532	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:11	532	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:11	532	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860024 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:11	532	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:11	532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860024,8,1)
2023-10-13	12:27:11	532	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:11	532	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860024\":[1860024,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860024
2023-10-13	12:27:11	532	[DEBUG]	Checking category
2023-10-13	12:27:11	532	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:11	532	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860024
2023-10-13	12:27:11	532	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:11	532	[DEBUG]	Executed store
2023-10-13	12:27:11	532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860024','7281')
2023-10-13	12:27:11	532	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:11	532	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860024 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:11	532	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:11	532	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860024
2023-10-13	12:27:11	533	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:11	533	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:11	533	[DEBUG]	Use field value for field taille
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:11	533	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:11	533	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:11	533	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:11	533	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:11	533	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:11	533	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:11	533	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:11	533	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:11	533	[DEBUG]	Use field value for field published
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:11	533	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field override
2023-10-13	12:27:11	533	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:11	533	[DEBUG]	Use field value for field slug
2023-10-13	12:27:11	533	[DEBUG]	Process line 533
2023-10-13	12:27:11	533	[DEBUG]	Load a row
2023-10-13	12:27:11	533	[DEBUG]	Processing item: 191972780585
2023-10-13	12:27:11	533	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:11	533	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:11	533	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9514_40'
2023-10-13	12:27:11	533	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:11	533	[DEBUG]	Processing product tax
2023-10-13	12:27:11	533	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:11	533	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:11	533	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:11	533	[DEBUG]	Query for Product
2023-10-13	12:27:11	533	[DEBUG]	Executed store
2023-10-13	12:27:11	533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860024','191972780585','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:11	533	[DEBUG]	No parent found
2023-10-13	12:27:11	533	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860024 AND customfield_value = 'stockable'
2023-10-13	12:27:11	533	[DEBUG]	Check product language entry
2023-10-13	12:27:11	533	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860025
2023-10-13	12:27:11	533	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:11	533	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972780585' AND `virtuemart_product_id` != 1860025
2023-10-13	12:27:11	533	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:11	533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860025, '191972780585')
2023-10-13	12:27:11	533	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:11	533	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vert-s' AND `virtuemart_product_id` != 1860025
2023-10-13	12:27:11	533	[DEBUG]	Query for ProductLang
2023-10-13	12:27:11	533	[DEBUG]	Executed store
2023-10-13	12:27:11	533	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe / Vert (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vert-s' WHERE `virtuemart_product_id` = '1860025'
2023-10-13	12:27:11	533	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38875_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:11	533	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:11	533	[DEBUG]	Process image file
2023-10-13	12:27:11	533	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:11	533	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:11	533	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38875_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:11	533	[DEBUG]	Full name target: bcprisme/38875_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:12	533	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:12	533	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38875_casque_fox_23_helmet_speedfram.jpg'
2023-10-13	12:27:12	533	[DEBUG]	Query for Media
2023-10-13	12:27:12	533	[DEBUG]	Executed store
2023-10-13	12:27:12	533	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38875_casque_fox_23_helmet_speedfram.jpg',`file_url_thumb`='bcprisme/38875_casque_fox_23_helmet_speedfram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1454295'
2023-10-13	12:27:12	533	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:12	533	[DEBUG]	Executed store
2023-10-13	12:27:12	533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860025','1454295','1')
2023-10-13	12:27:12	533	[DEBUG]	Store product image relation
2023-10-13	12:27:12	533	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:12	533	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860025 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:12	533	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:12	533	[DEBUG]	Executed store
2023-10-13	12:27:12	533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860025','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:12	533	[DEBUG]	Checking manufacturer
2023-10-13	12:27:12	533	[DEBUG]	Load a row
2023-10-13	12:27:12	533	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:12	533	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:12	533	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:12	533	[DEBUG]	Executed store
2023-10-13	12:27:12	533	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:12	533	[DEBUG]	Manufacturer exists
2023-10-13	12:27:12	533	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:12	533	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:12	533	[DEBUG]	Executed store
2023-10-13	12:27:12	533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860025','44')
2023-10-13	12:27:12	533	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:12	533	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:12	533	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860025 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:12	533	[DEBUG]	Store custom available field
2023-10-13	12:27:12	533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860025,3,'',1)
2023-10-13	12:27:12	533	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:12	533	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:27:12	533	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860025 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:12	533	[DEBUG]	Store custom available field
2023-10-13	12:27:12	533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860025,6,'S',3)
2023-10-13	12:27:12	533	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:12	533	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:12	533	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860024
2023-10-13	12:27:12	533	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:12	533	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\"}]|clabels=0|options={\"1860024\":[1860024,8,1,\"choisir la taille\"],\"1860025\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1860024
2023-10-13	12:27:12	533	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:12	533	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860025
2023-10-13	12:27:12	534	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:12	534	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:12	534	[DEBUG]	Use field value for field taille
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:12	534	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:12	534	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:12	534	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:12	534	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:12	534	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:12	534	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:12	534	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:12	534	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:12	534	[DEBUG]	Use field value for field published
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:12	534	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field override
2023-10-13	12:27:12	534	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:12	534	[DEBUG]	Use field value for field slug
2023-10-13	12:27:12	534	[DEBUG]	Process line 534
2023-10-13	12:27:12	534	[DEBUG]	Load a row
2023-10-13	12:27:12	534	[DEBUG]	Processing item: 1000011442492
2023-10-13	12:27:12	534	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:12	534	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:12	534	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9514_40'
2023-10-13	12:27:12	534	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:12	534	[DEBUG]	Processing product tax
2023-10-13	12:27:12	534	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:12	534	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:12	534	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:12	534	[DEBUG]	Query for Product
2023-10-13	12:27:12	534	[DEBUG]	Executed store
2023-10-13	12:27:12	534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860024','1000011442492','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:12	534	[DEBUG]	No parent found
2023-10-13	12:27:12	534	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860024 AND customfield_value = 'stockable'
2023-10-13	12:27:12	534	[DEBUG]	Check product language entry
2023-10-13	12:27:12	534	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860026
2023-10-13	12:27:12	534	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:12	534	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000011442492' AND `virtuemart_product_id` != 1860026
2023-10-13	12:27:12	534	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:12	534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860026, '1000011442492')
2023-10-13	12:27:12	534	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:12	534	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vert-m' AND `virtuemart_product_id` != 1860026
2023-10-13	12:27:12	534	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:27:12	534	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'fox-casque-speedframe-vert-m', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'fox-casque-speedframe-vert-m' OR `slug` LIKE 'fox-casque-speedframe-vert-m-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1860026 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:27:12	534	[DEBUG]	Query for ProductLang
2023-10-13	12:27:12	534	[DEBUG]	Executed store
2023-10-13	12:27:12	534	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe / Vert (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vert-m-1' WHERE `virtuemart_product_id` = '1860026'
2023-10-13	12:27:12	534	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38875_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:12	534	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:12	534	[DEBUG]	Process image file
2023-10-13	12:27:12	534	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:12	534	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:12	534	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38875_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:12	534	[DEBUG]	Full name target: bcprisme/38875_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:13	534	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:13	534	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38875_casque_fox_23_helmet_speedfram.jpg'
2023-10-13	12:27:13	534	[DEBUG]	Query for Media
2023-10-13	12:27:13	534	[DEBUG]	Executed store
2023-10-13	12:27:13	534	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38875_casque_fox_23_helmet_speedfram.jpg',`file_url_thumb`='bcprisme/38875_casque_fox_23_helmet_speedfram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1454295'
2023-10-13	12:27:13	534	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:13	534	[DEBUG]	Executed store
2023-10-13	12:27:13	534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860026','1454295','1')
2023-10-13	12:27:13	534	[DEBUG]	Store product image relation
2023-10-13	12:27:13	534	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:13	534	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860026 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:13	534	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:13	534	[DEBUG]	Executed store
2023-10-13	12:27:13	534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860026','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:13	534	[DEBUG]	Checking manufacturer
2023-10-13	12:27:13	534	[DEBUG]	Load a row
2023-10-13	12:27:13	534	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:13	534	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:13	534	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:13	534	[DEBUG]	Executed store
2023-10-13	12:27:13	534	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:13	534	[DEBUG]	Manufacturer exists
2023-10-13	12:27:13	534	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:13	534	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:13	534	[DEBUG]	Executed store
2023-10-13	12:27:13	534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860026','44')
2023-10-13	12:27:13	534	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:13	534	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:13	534	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860026 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:13	534	[DEBUG]	Store custom available field
2023-10-13	12:27:13	534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860026,3,'',1)
2023-10-13	12:27:13	534	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:13	534	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:27:13	534	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860026 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:13	534	[DEBUG]	Store custom available field
2023-10-13	12:27:13	534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860026,6,'M',3)
2023-10-13	12:27:13	534	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:13	534	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:13	534	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860024
2023-10-13	12:27:13	534	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:13	534	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\r\\nM\"}]|clabels=0|options={\"1860024\":[1860024,8,1,\"choisir la taille\"],\"1860025\":[\"S\"],\"1860026\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1860024
2023-10-13	12:27:13	534	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:13	534	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860026
2023-10-13	12:27:13	535	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:13	535	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:13	535	[DEBUG]	Use field value for field taille
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:13	535	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:13	535	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:13	535	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:13	535	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:13	535	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:13	535	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:13	535	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:13	535	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:13	535	[DEBUG]	Use field value for field published
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:13	535	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field override
2023-10-13	12:27:13	535	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:13	535	[DEBUG]	Use field value for field slug
2023-10-13	12:27:13	535	[DEBUG]	Process line 535
2023-10-13	12:27:13	535	[DEBUG]	Load a row
2023-10-13	12:27:13	535	[DEBUG]	Processing item: 1000011442508
2023-10-13	12:27:13	535	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:13	535	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:13	535	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9514_40'
2023-10-13	12:27:13	535	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:13	535	[DEBUG]	Processing product tax
2023-10-13	12:27:13	535	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:13	535	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:13	535	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:13	535	[DEBUG]	Query for Product
2023-10-13	12:27:13	535	[DEBUG]	Executed store
2023-10-13	12:27:13	535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860024','1000011442508','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:13	535	[DEBUG]	No parent found
2023-10-13	12:27:13	535	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860024 AND customfield_value = 'stockable'
2023-10-13	12:27:13	535	[DEBUG]	Check product language entry
2023-10-13	12:27:13	535	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860027
2023-10-13	12:27:13	535	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:13	535	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000011442508' AND `virtuemart_product_id` != 1860027
2023-10-13	12:27:13	535	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:13	535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860027, '1000011442508')
2023-10-13	12:27:13	535	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:13	535	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-vert-l' AND `virtuemart_product_id` != 1860027
2023-10-13	12:27:13	535	[DEBUG]	Query for ProductLang
2023-10-13	12:27:13	535	[DEBUG]	Executed store
2023-10-13	12:27:13	535	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe / Vert (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-vert-l' WHERE `virtuemart_product_id` = '1860027'
2023-10-13	12:27:13	535	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38875_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:13	535	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:13	535	[DEBUG]	Process image file
2023-10-13	12:27:13	535	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:13	535	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:13	535	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38875_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:13	535	[DEBUG]	Full name target: bcprisme/38875_casque_fox_23_helmet_speedfram.jpg
2023-10-13	12:27:14	535	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:14	535	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38875_casque_fox_23_helmet_speedfram.jpg'
2023-10-13	12:27:14	535	[DEBUG]	Query for Media
2023-10-13	12:27:14	535	[DEBUG]	Executed store
2023-10-13	12:27:14	535	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38875_casque_fox_23_helmet_speedfram.jpg',`file_url_thumb`='bcprisme/38875_casque_fox_23_helmet_speedfram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1454295'
2023-10-13	12:27:14	535	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:14	535	[DEBUG]	Executed store
2023-10-13	12:27:14	535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860027','1454295','1')
2023-10-13	12:27:14	535	[DEBUG]	Store product image relation
2023-10-13	12:27:14	535	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:14	535	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860027 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:14	535	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:14	535	[DEBUG]	Executed store
2023-10-13	12:27:14	535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860027','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:14	535	[DEBUG]	Checking manufacturer
2023-10-13	12:27:14	535	[DEBUG]	Load a row
2023-10-13	12:27:14	535	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:14	535	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:14	535	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:14	535	[DEBUG]	Executed store
2023-10-13	12:27:14	535	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:14	535	[DEBUG]	Manufacturer exists
2023-10-13	12:27:14	535	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:14	535	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:14	535	[DEBUG]	Executed store
2023-10-13	12:27:14	535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860027','44')
2023-10-13	12:27:14	535	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:14	535	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:14	535	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860027 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:14	535	[DEBUG]	Store custom available field
2023-10-13	12:27:14	535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860027,3,'',1)
2023-10-13	12:27:14	535	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:14	535	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:27:14	535	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860027 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:14	535	[DEBUG]	Store custom available field
2023-10-13	12:27:14	535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860027,6,'L',3)
2023-10-13	12:27:14	535	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:14	535	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:14	535	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860024
2023-10-13	12:27:14	535	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:14	535	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\r\\nM\\r\\nL\"}]|clabels=0|options={\"1860024\":[1860024,8,1,\"choisir la taille\"],\"1860025\":[\"S\"],\"1860026\":[\"M\"],\"1860027\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1860024
2023-10-13	12:27:14	535	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:14	535	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860027
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:14	536	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field taille
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:14	536	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:14	536	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:14	536	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:14	536	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:14	536	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:14	536	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:14	536	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field published
2023-10-13	12:27:14	536	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:14	536	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field override
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:14	536	[DEBUG]	Use field value for field slug
2023-10-13	12:27:14	536	[DEBUG]	Process line 536
2023-10-13	12:27:14	536	[DEBUG]	Load a row
2023-10-13	12:27:14	536	[DEBUG]	Processing item: A_9558_663
2023-10-13	12:27:14	536	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:14	536	[DEBUG]	Processing product tax
2023-10-13	12:27:14	536	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:14	536	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:14	536	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:14	536	[DEBUG]	Query for Product
2023-10-13	12:27:14	536	[DEBUG]	Executed store
2023-10-13	12:27:14	536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9558_663','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:14	536	[DEBUG]	Check product language entry
2023-10-13	12:27:14	536	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860028
2023-10-13	12:27:14	536	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:14	536	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9558_663' AND `virtuemart_product_id` != 1860028
2023-10-13	12:27:14	536	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:14	536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860028, 'A_9558_663')
2023-10-13	12:27:14	536	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:14	536	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-a-visiere-soho-visor-coffe-grey-matt' AND `virtuemart_product_id` != 1860028
2023-10-13	12:27:14	536	[DEBUG]	Query for ProductLang
2023-10-13	12:27:14	536	[DEBUG]	Executed store
2023-10-13	12:27:14	536	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le SOHO est à l\'aise dans l\'environnement urbain. Son design technique, son look personnalisé et ses nombreuses options de couleurs permettent aux navetteurs et aux femmes d\'affaires d\'arriver à destination en toute sécurité, confortablement et avec un bel aspect. La coque rigide du SOHO protège en cas de chute et est conçue pour une utilisation quotidienne. L\'absorption des chocs est assurée par le Hi-EPS léger. Un logo réfléchissant assure une visibilité supplémentaire et attire très tôt l\'attention des autres usagers de la route sur toi. Neuf ouvertures d\'aération stratégiquement placées permettent à l\'air frais d\'atteindre la tête en permanence. Et grâce aux nombreuses options de couleur, tu peux faire de ce casque urbain ton propre accessoire de style de vie. Le Soho est Made in Germany\".<br>N° art fourn : A9786331\"',`product_name`='Alpina Casque VTT à visière SOHO VISOR / Coffe-grey matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-a-visiere-soho-visor-coffe-grey-matt' WHERE `virtuemart_product_id` = '1860028'
2023-10-13	12:27:14	536	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg
2023-10-13	12:27:14	536	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:14	536	[DEBUG]	Process image file
2023-10-13	12:27:14	536	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:14	536	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:14	536	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg
2023-10-13	12:27:14	536	[DEBUG]	Full name target: bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg
2023-10-13	12:27:15	536	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:15	536	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg'
2023-10-13	12:27:15	536	[DEBUG]	Query for Media
2023-10-13	12:27:15	536	[DEBUG]	Executed store
2023-10-13	12:27:15	536	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg',`file_url_thumb`='bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1476640'
2023-10-13	12:27:15	536	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:15	536	[DEBUG]	Executed store
2023-10-13	12:27:15	536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860028','1476640','1')
2023-10-13	12:27:15	536	[DEBUG]	Store product image relation
2023-10-13	12:27:15	536	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:15	536	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860028 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:15	536	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:15	536	[DEBUG]	Executed store
2023-10-13	12:27:15	536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860028','0','156.917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:15	536	[DEBUG]	Checking manufacturer
2023-10-13	12:27:15	536	[DEBUG]	Load a row
2023-10-13	12:27:15	536	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:15	536	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:15	536	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:15	536	[DEBUG]	Executed store
2023-10-13	12:27:15	536	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:15	536	[DEBUG]	Manufacturer exists
2023-10-13	12:27:15	536	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:27:15	536	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:15	536	[DEBUG]	Executed store
2023-10-13	12:27:15	536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860028','171')
2023-10-13	12:27:15	536	[DEBUG]	Find the custom field ID
2023-10-13	12:27:15	536	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:15	536	[DEBUG]	No custom field ID found
2023-10-13	12:27:15	536	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:15	536	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:27:15	536	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860028 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:15	536	[DEBUG]	Store custom available field
2023-10-13	12:27:15	536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860028,3,'0',1)
2023-10-13	12:27:15	536	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:15	536	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:15	536	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860028 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:15	536	[DEBUG]	Store custom available field
2023-10-13	12:27:15	536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860028,6,'choisir la taille',3)
2023-10-13	12:27:15	536	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:15	536	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:15	536	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:15	536	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:15	536	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860028 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:15	536	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:15	536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860028,8,1)
2023-10-13	12:27:15	536	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:15	536	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860028\":[1860028,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860028
2023-10-13	12:27:15	536	[DEBUG]	Checking category
2023-10-13	12:27:15	536	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:15	536	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860028
2023-10-13	12:27:15	536	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:15	536	[DEBUG]	Executed store
2023-10-13	12:27:15	536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860028','7281')
2023-10-13	12:27:15	536	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:15	536	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860028 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:15	536	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:15	536	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860028
2023-10-13	12:27:15	537	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:15	537	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:15	537	[DEBUG]	Use field value for field taille
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:15	537	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:15	537	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:15	537	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:15	537	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:15	537	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:15	537	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:15	537	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:15	537	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:15	537	[DEBUG]	Use field value for field published
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:15	537	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field override
2023-10-13	12:27:15	537	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:15	537	[DEBUG]	Use field value for field slug
2023-10-13	12:27:15	537	[DEBUG]	Process line 537
2023-10-13	12:27:15	537	[DEBUG]	Load a row
2023-10-13	12:27:15	537	[DEBUG]	Processing item: 1000003007357
2023-10-13	12:27:15	537	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:15	537	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:15	537	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9558_663'
2023-10-13	12:27:15	537	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:15	537	[DEBUG]	Processing product tax
2023-10-13	12:27:15	537	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:15	537	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:15	537	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:15	537	[DEBUG]	Query for Product
2023-10-13	12:27:15	537	[DEBUG]	Executed store
2023-10-13	12:27:15	537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860028','1000003007357','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:15	537	[DEBUG]	No parent found
2023-10-13	12:27:15	537	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860028 AND customfield_value = 'stockable'
2023-10-13	12:27:15	537	[DEBUG]	Check product language entry
2023-10-13	12:27:15	537	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860029
2023-10-13	12:27:15	537	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:15	537	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000003007357' AND `virtuemart_product_id` != 1860029
2023-10-13	12:27:15	537	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:15	537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860029, '1000003007357')
2023-10-13	12:27:15	537	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:15	537	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-a-visiere-soho-visor-coffe-grey-matt-55-59' AND `virtuemart_product_id` != 1860029
2023-10-13	12:27:15	537	[DEBUG]	Query for ProductLang
2023-10-13	12:27:15	537	[DEBUG]	Executed store
2023-10-13	12:27:15	537	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT à visière SOHO VISOR / Coffe-grey matt (55-59)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-a-visiere-soho-visor-coffe-grey-matt-55-59' WHERE `virtuemart_product_id` = '1860029'
2023-10-13	12:27:15	537	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg
2023-10-13	12:27:15	537	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:15	537	[DEBUG]	Process image file
2023-10-13	12:27:15	537	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:15	537	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:15	537	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg
2023-10-13	12:27:15	537	[DEBUG]	Full name target: bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg
2023-10-13	12:27:16	537	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:16	537	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg'
2023-10-13	12:27:16	537	[DEBUG]	Query for Media
2023-10-13	12:27:16	537	[DEBUG]	Executed store
2023-10-13	12:27:16	537	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg',`file_url_thumb`='bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1476640'
2023-10-13	12:27:16	537	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:16	537	[DEBUG]	Executed store
2023-10-13	12:27:16	537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860029','1476640','1')
2023-10-13	12:27:16	537	[DEBUG]	Store product image relation
2023-10-13	12:27:16	537	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:16	537	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860029 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:16	537	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:16	537	[DEBUG]	Executed store
2023-10-13	12:27:16	537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860029','0','156.917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:16	537	[DEBUG]	Checking manufacturer
2023-10-13	12:27:16	537	[DEBUG]	Load a row
2023-10-13	12:27:16	537	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:16	537	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:16	537	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:16	537	[DEBUG]	Executed store
2023-10-13	12:27:16	537	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:16	537	[DEBUG]	Manufacturer exists
2023-10-13	12:27:16	537	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:27:16	537	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:16	537	[DEBUG]	Executed store
2023-10-13	12:27:16	537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860029','171')
2023-10-13	12:27:16	537	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:16	537	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:16	537	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860029 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:16	537	[DEBUG]	Store custom available field
2023-10-13	12:27:16	537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860029,3,'',1)
2023-10-13	12:27:16	537	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:16	537	[DEBUG]	Get existing row with customfield value 55-59
2023-10-13	12:27:16	537	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860029 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:16	537	[DEBUG]	Store custom available field
2023-10-13	12:27:16	537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860029,6,'55-59',3)
2023-10-13	12:27:16	537	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:16	537	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:16	537	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860028
2023-10-13	12:27:16	537	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:16	537	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n55-59\"}]|clabels=0|options={\"1860028\":[1860028,8,1,\"choisir la taille\"],\"1860029\":[\"55-59\"]}|' WHERE `virtuemart_product_id` = 1860028
2023-10-13	12:27:16	537	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:16	537	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860029
2023-10-13	12:27:16	538	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:16	538	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:16	538	[DEBUG]	Use field value for field taille
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:16	538	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:16	538	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:16	538	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:16	538	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:16	538	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:16	538	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:16	538	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:16	538	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:16	538	[DEBUG]	Use field value for field published
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:16	538	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field override
2023-10-13	12:27:16	538	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:16	538	[DEBUG]	Use field value for field slug
2023-10-13	12:27:16	538	[DEBUG]	Process line 538
2023-10-13	12:27:16	538	[DEBUG]	Load a row
2023-10-13	12:27:16	538	[DEBUG]	Processing item: 1000003007364
2023-10-13	12:27:16	538	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:16	538	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:16	538	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9558_663'
2023-10-13	12:27:16	538	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:16	538	[DEBUG]	Processing product tax
2023-10-13	12:27:16	538	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:16	538	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:16	538	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:16	538	[DEBUG]	Query for Product
2023-10-13	12:27:16	538	[DEBUG]	Executed store
2023-10-13	12:27:16	538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860028','1000003007364','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:16	538	[DEBUG]	No parent found
2023-10-13	12:27:16	538	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860028 AND customfield_value = 'stockable'
2023-10-13	12:27:16	538	[DEBUG]	Check product language entry
2023-10-13	12:27:16	538	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860030
2023-10-13	12:27:16	538	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:16	538	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000003007364' AND `virtuemart_product_id` != 1860030
2023-10-13	12:27:16	538	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:16	538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860030, '1000003007364')
2023-10-13	12:27:16	538	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:16	538	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-a-visiere-soho-visor-coffe-grey-matt-51-56' AND `virtuemart_product_id` != 1860030
2023-10-13	12:27:16	538	[DEBUG]	Query for ProductLang
2023-10-13	12:27:16	538	[DEBUG]	Executed store
2023-10-13	12:27:16	538	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT à visière SOHO VISOR / Coffe-grey matt (51-56)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-a-visiere-soho-visor-coffe-grey-matt-51-56' WHERE `virtuemart_product_id` = '1860030'
2023-10-13	12:27:16	538	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg
2023-10-13	12:27:16	538	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:16	538	[DEBUG]	Process image file
2023-10-13	12:27:16	538	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:16	538	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:16	538	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg
2023-10-13	12:27:16	538	[DEBUG]	Full name target: bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg
2023-10-13	12:27:17	538	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:17	538	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg'
2023-10-13	12:27:17	538	[DEBUG]	Query for Media
2023-10-13	12:27:17	538	[DEBUG]	Executed store
2023-10-13	12:27:17	538	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg',`file_url_thumb`='bcprisme/38927_casque_vtt_à_visiere_soho_visor.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1476640'
2023-10-13	12:27:17	538	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:17	538	[DEBUG]	Executed store
2023-10-13	12:27:17	538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860030','1476640','1')
2023-10-13	12:27:17	538	[DEBUG]	Store product image relation
2023-10-13	12:27:17	538	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:17	538	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860030 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:17	538	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:17	538	[DEBUG]	Executed store
2023-10-13	12:27:17	538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860030','0','156.917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:17	538	[DEBUG]	Checking manufacturer
2023-10-13	12:27:17	538	[DEBUG]	Load a row
2023-10-13	12:27:17	538	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:17	538	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:17	538	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:17	538	[DEBUG]	Executed store
2023-10-13	12:27:17	538	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:17	538	[DEBUG]	Manufacturer exists
2023-10-13	12:27:17	538	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:27:17	538	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:17	538	[DEBUG]	Executed store
2023-10-13	12:27:17	538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860030','171')
2023-10-13	12:27:17	538	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:17	538	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:17	538	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860030 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:17	538	[DEBUG]	Store custom available field
2023-10-13	12:27:17	538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860030,3,'',1)
2023-10-13	12:27:17	538	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:17	538	[DEBUG]	Get existing row with customfield value 51-56
2023-10-13	12:27:17	538	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860030 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:17	538	[DEBUG]	Store custom available field
2023-10-13	12:27:17	538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860030,6,'51-56',3)
2023-10-13	12:27:17	538	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:17	538	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:17	538	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860028
2023-10-13	12:27:17	538	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:17	538	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n55-59\\r\\n51-56\"}]|clabels=0|options={\"1860028\":[1860028,8,1,\"choisir la taille\"],\"1860029\":[\"55-59\"],\"1860030\":[\"51-56\"]}|' WHERE `virtuemart_product_id` = 1860028
2023-10-13	12:27:17	538	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:17	538	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860030
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:17	539	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field taille
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:17	539	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:17	539	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:17	539	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:17	539	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:17	539	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:17	539	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field published
2023-10-13	12:27:17	539	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:17	539	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field override
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:17	539	[DEBUG]	Use field value for field slug
2023-10-13	12:27:17	539	[DEBUG]	Process line 539
2023-10-13	12:27:17	539	[DEBUG]	Load a row
2023-10-13	12:27:17	539	[DEBUG]	Processing item: A_9611_1
2023-10-13	12:27:17	539	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:17	539	[DEBUG]	Processing product tax
2023-10-13	12:27:17	539	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:17	539	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:17	539	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:17	539	[DEBUG]	Query for Product
2023-10-13	12:27:17	539	[DEBUG]	Executed store
2023-10-13	12:27:17	539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9611_1','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:17	539	[DEBUG]	Check product language entry
2023-10-13	12:27:17	539	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860031
2023-10-13	12:27:17	539	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:17	539	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9611_1' AND `virtuemart_product_id` != 1860031
2023-10-13	12:27:17	539	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:17	539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860031, 'A_9611_1')
2023-10-13	12:27:17	539	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:17	539	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-rampage-noir' AND `virtuemart_product_id` != 1860031
2023-10-13	12:27:17	539	[DEBUG]	Query for ProductLang
2023-10-13	12:27:17	539	[DEBUG]	Executed store
2023-10-13	12:27:17	539	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='-Coque en ABS légère moulée par injection<br>-Inspiré de notre modèle Rampage Pro approuvé par les champions<br>-Écrans de ventilation en mesh pour une respirabilité optimale et une protection contre la boue et les cailloux<br>-Boucle de fermeture en D<br>-Visière réglable<br>CERTIFICATIONS -CPSC -EN 1078AS/NZS 2063<br>-ASTM 1952-15 DOWNHILL<br>-ASTM 2032-15 BMX<br>N° art fourn : 27507-021',`product_name`='Fox Casque RAMPAGE  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-rampage-noir' WHERE `virtuemart_product_id` = '1860031'
2023-10-13	12:27:17	539	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38991_casque_rampage_.jpg
2023-10-13	12:27:17	539	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:17	539	[DEBUG]	Process image file
2023-10-13	12:27:17	539	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:17	539	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:17	539	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38991_casque_rampage_.jpg
2023-10-13	12:27:17	539	[DEBUG]	Full name target: bcprisme/38991_casque_rampage_.jpg
2023-10-13	12:27:18	539	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:18	539	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38991_casque_rampage_.jpg'
2023-10-13	12:27:18	539	[DEBUG]	Query for Media
2023-10-13	12:27:18	539	[DEBUG]	Executed store
2023-10-13	12:27:18	539	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38991_casque_rampage_.jpg',`file_url_thumb`='bcprisme/38991_casque_rampage_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498753'
2023-10-13	12:27:18	539	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:18	539	[DEBUG]	Executed store
2023-10-13	12:27:18	539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860031','1498753','1')
2023-10-13	12:27:18	539	[DEBUG]	Store product image relation
2023-10-13	12:27:18	539	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:18	539	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860031 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:18	539	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:18	539	[DEBUG]	Executed store
2023-10-13	12:27:18	539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860031','0','232.033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:18	539	[DEBUG]	Checking manufacturer
2023-10-13	12:27:18	539	[DEBUG]	Load a row
2023-10-13	12:27:18	539	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:18	539	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:18	539	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:18	539	[DEBUG]	Executed store
2023-10-13	12:27:18	539	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:18	539	[DEBUG]	Manufacturer exists
2023-10-13	12:27:18	539	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:18	539	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:18	539	[DEBUG]	Executed store
2023-10-13	12:27:18	539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860031','44')
2023-10-13	12:27:18	539	[DEBUG]	Find the custom field ID
2023-10-13	12:27:18	539	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:18	539	[DEBUG]	No custom field ID found
2023-10-13	12:27:18	539	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:18	539	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:18	539	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860031 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:18	539	[DEBUG]	Store custom available field
2023-10-13	12:27:18	539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860031,3,'9.8725',1)
2023-10-13	12:27:18	539	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:18	539	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:18	539	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860031 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:18	539	[DEBUG]	Store custom available field
2023-10-13	12:27:18	539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860031,6,'choisir la taille',3)
2023-10-13	12:27:18	539	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:18	539	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:18	539	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:18	539	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:18	539	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860031 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:18	539	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:18	539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860031,8,1)
2023-10-13	12:27:18	539	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:18	539	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860031\":[1860031,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860031
2023-10-13	12:27:18	539	[DEBUG]	Checking category
2023-10-13	12:27:18	539	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:18	539	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860031
2023-10-13	12:27:18	539	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:18	539	[DEBUG]	Executed store
2023-10-13	12:27:18	539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860031','7281')
2023-10-13	12:27:18	539	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:18	539	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860031 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:18	539	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:18	539	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860031
2023-10-13	12:27:18	540	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:18	540	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:18	540	[DEBUG]	Use field value for field taille
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:18	540	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:18	540	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:18	540	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:18	540	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:18	540	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:18	540	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:18	540	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:18	540	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:18	540	[DEBUG]	Use field value for field published
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:18	540	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field override
2023-10-13	12:27:18	540	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:18	540	[DEBUG]	Use field value for field slug
2023-10-13	12:27:18	540	[DEBUG]	Process line 540
2023-10-13	12:27:18	540	[DEBUG]	Load a row
2023-10-13	12:27:18	540	[DEBUG]	Processing item: 1000007592200
2023-10-13	12:27:18	540	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:18	540	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:18	540	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9611_1'
2023-10-13	12:27:18	540	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:18	540	[DEBUG]	Processing product tax
2023-10-13	12:27:18	540	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:18	540	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:18	540	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:18	540	[DEBUG]	Query for Product
2023-10-13	12:27:18	540	[DEBUG]	Executed store
2023-10-13	12:27:18	540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860031','1000007592200','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:18	540	[DEBUG]	No parent found
2023-10-13	12:27:18	540	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860031 AND customfield_value = 'stockable'
2023-10-13	12:27:18	540	[DEBUG]	Check product language entry
2023-10-13	12:27:18	540	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860032
2023-10-13	12:27:18	540	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:18	540	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000007592200' AND `virtuemart_product_id` != 1860032
2023-10-13	12:27:18	540	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:18	540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860032, '1000007592200')
2023-10-13	12:27:18	540	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:18	540	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-rampage-noir-m' AND `virtuemart_product_id` != 1860032
2023-10-13	12:27:18	540	[DEBUG]	Query for ProductLang
2023-10-13	12:27:18	540	[DEBUG]	Executed store
2023-10-13	12:27:18	540	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque RAMPAGE  / Noir (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-rampage-noir-m' WHERE `virtuemart_product_id` = '1860032'
2023-10-13	12:27:18	540	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38991_casque_rampage_.jpg
2023-10-13	12:27:18	540	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:18	540	[DEBUG]	Process image file
2023-10-13	12:27:18	540	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:18	540	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:18	540	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38991_casque_rampage_.jpg
2023-10-13	12:27:18	540	[DEBUG]	Full name target: bcprisme/38991_casque_rampage_.jpg
2023-10-13	12:27:19	540	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:19	540	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38991_casque_rampage_.jpg'
2023-10-13	12:27:19	540	[DEBUG]	Query for Media
2023-10-13	12:27:19	540	[DEBUG]	Executed store
2023-10-13	12:27:19	540	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38991_casque_rampage_.jpg',`file_url_thumb`='bcprisme/38991_casque_rampage_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498753'
2023-10-13	12:27:19	540	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:19	540	[DEBUG]	Executed store
2023-10-13	12:27:19	540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860032','1498753','1')
2023-10-13	12:27:19	540	[DEBUG]	Store product image relation
2023-10-13	12:27:19	540	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:19	540	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860032 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:19	540	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:19	540	[DEBUG]	Executed store
2023-10-13	12:27:19	540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860032','0','232.033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:19	540	[DEBUG]	Checking manufacturer
2023-10-13	12:27:19	540	[DEBUG]	Load a row
2023-10-13	12:27:19	540	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:19	540	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:19	540	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:19	540	[DEBUG]	Executed store
2023-10-13	12:27:19	540	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:19	540	[DEBUG]	Manufacturer exists
2023-10-13	12:27:19	540	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:19	540	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:19	540	[DEBUG]	Executed store
2023-10-13	12:27:19	540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860032','44')
2023-10-13	12:27:19	540	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:19	540	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:19	540	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860032 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:19	540	[DEBUG]	Store custom available field
2023-10-13	12:27:19	540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860032,3,'',1)
2023-10-13	12:27:19	540	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:19	540	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:27:19	540	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860032 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:19	540	[DEBUG]	Store custom available field
2023-10-13	12:27:19	540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860032,6,'M',3)
2023-10-13	12:27:19	540	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:19	540	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:19	540	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860031
2023-10-13	12:27:19	540	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:19	540	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nM\"}]|clabels=0|options={\"1860031\":[1860031,8,1,\"choisir la taille\"],\"1860032\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1860031
2023-10-13	12:27:19	540	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:19	540	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860032
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:19	541	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field taille
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:19	541	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:19	541	[DEBUG]	Use default value for field file_url
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:19	541	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:19	541	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:19	541	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:19	541	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:19	541	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field published
2023-10-13	12:27:19	541	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:19	541	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field override
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:19	541	[DEBUG]	Use field value for field slug
2023-10-13	12:27:19	541	[DEBUG]	Process line 541
2023-10-13	12:27:19	541	[DEBUG]	Load a row
2023-10-13	12:27:19	541	[DEBUG]	Processing item: A_9649_723
2023-10-13	12:27:19	541	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:19	541	[DEBUG]	Processing product tax
2023-10-13	12:27:19	541	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:19	541	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:19	541	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:19	541	[DEBUG]	Query for Product
2023-10-13	12:27:19	541	[DEBUG]	Executed store
2023-10-13	12:27:19	541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9649_723','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:19	541	[DEBUG]	Check product language entry
2023-10-13	12:27:19	541	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860033
2023-10-13	12:27:19	541	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:19	541	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9649_723' AND `virtuemart_product_id` != 1860033
2023-10-13	12:27:19	541	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:19	541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860033, 'A_9649_723')
2023-10-13	12:27:19	541	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:19	541	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-crossover-mips-52-59-white-matt' AND `virtuemart_product_id` != 1860033
2023-10-13	12:27:19	541	[DEBUG]	Query for ProductLang
2023-10-13	12:27:19	541	[DEBUG]	Executed store
2023-10-13	12:27:19	541	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Crossover MIPS est le casque idéal pour une utilisation polyvalente. Grâce aux clips de fixation invisibles, la visière se fixe/se retire facilement et le Crossover passe d\'un casque de VTT sportif avec visière à un casque de ville discret. Le système MIPS intégré protège efficacement ta tête en cas de chute contre les forces de rotation. Le feu arrière à LED intégré assure une grande visibilité au milieu du trafic routier.<br><br>Caractéristiques<br><br>Transformable de casque de VTT en un casque de ville<br>Système de clips invisibles pour la fixation de la visière<br>Système de protection du cerveau MIPS absorbe les forces de rotation<br>Coque en polycarbonate In-Mould avec doublure EPS<br>Système d\'ajustement Safe-T E-Mid à molette<br>Feu arrière intégré 4 LED, 60 heures d\'autonomie<br>Filet anti-insectes intégré<br>Autocollants réfléchissants à l\'arrière<br>Mousses confortables lavables à la main<br>Sangles avec boucles réglables<br>Certifications: CE, AS/NZS<br>N° art fourn : 720.003.020',`product_name`='MET Casque Crossover MIPS 52-59 / White matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-crossover-mips-52-59-white-matt' WHERE `virtuemart_product_id` = '1860033'
2023-10-13	12:27:19	541	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:19	541	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860033 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:19	541	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:19	541	[DEBUG]	Executed store
2023-10-13	12:27:19	541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860033','0','106.77808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:19	541	[DEBUG]	Checking manufacturer
2023-10-13	12:27:19	541	[DEBUG]	Load a row
2023-10-13	12:27:19	541	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:19	541	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:19	541	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:19	541	[DEBUG]	Executed store
2023-10-13	12:27:19	541	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:19	541	[DEBUG]	Manufacturer exists
2023-10-13	12:27:19	541	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:19	541	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:19	541	[DEBUG]	Executed store
2023-10-13	12:27:19	541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860033','226')
2023-10-13	12:27:19	541	[DEBUG]	Find the custom field ID
2023-10-13	12:27:19	541	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:19	541	[DEBUG]	No custom field ID found
2023-10-13	12:27:19	541	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:19	541	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:19	541	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860033 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:19	541	[DEBUG]	Store custom available field
2023-10-13	12:27:19	541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860033,3,'9.8725',1)
2023-10-13	12:27:19	541	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:19	541	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:19	541	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860033 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:19	541	[DEBUG]	Store custom available field
2023-10-13	12:27:19	541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860033,6,'choisir la taille',3)
2023-10-13	12:27:19	541	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:19	541	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:19	541	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:19	541	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:19	541	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860033 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:19	541	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:19	541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860033,8,1)
2023-10-13	12:27:19	541	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:19	541	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860033\":[1860033,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860033
2023-10-13	12:27:19	541	[DEBUG]	Checking category
2023-10-13	12:27:19	541	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:19	541	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860033
2023-10-13	12:27:19	541	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:19	541	[DEBUG]	Executed store
2023-10-13	12:27:19	541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860033','7281')
2023-10-13	12:27:19	541	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:19	541	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860033 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:19	541	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:19	541	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860033
2023-10-13	12:27:19	542	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:19	542	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:19	542	[DEBUG]	Use field value for field taille
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:19	542	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:19	542	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:19	542	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field file_url
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:19	542	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:19	542	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:19	542	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:19	542	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:19	542	[DEBUG]	Use field value for field published
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:19	542	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field override
2023-10-13	12:27:19	542	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:19	542	[DEBUG]	Use field value for field slug
2023-10-13	12:27:19	542	[DEBUG]	Process line 542
2023-10-13	12:27:19	542	[DEBUG]	Load a row
2023-10-13	12:27:19	542	[DEBUG]	Processing item: 1000011148530
2023-10-13	12:27:19	542	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:19	542	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:19	542	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9649_723'
2023-10-13	12:27:19	542	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:19	542	[DEBUG]	Processing product tax
2023-10-13	12:27:19	542	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:19	542	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:19	542	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:19	542	[DEBUG]	Query for Product
2023-10-13	12:27:19	542	[DEBUG]	Executed store
2023-10-13	12:27:19	542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860033','1000011148530','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:19	542	[DEBUG]	No parent found
2023-10-13	12:27:19	542	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860033 AND customfield_value = 'stockable'
2023-10-13	12:27:19	542	[DEBUG]	Check product language entry
2023-10-13	12:27:19	542	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860034
2023-10-13	12:27:19	542	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:19	542	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000011148530' AND `virtuemart_product_id` != 1860034
2023-10-13	12:27:19	542	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:19	542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860034, '1000011148530')
2023-10-13	12:27:19	542	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:19	542	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-crossover-mips-52-59-white-matt-unitaire' AND `virtuemart_product_id` != 1860034
2023-10-13	12:27:19	542	[DEBUG]	Query for ProductLang
2023-10-13	12:27:19	542	[DEBUG]	Executed store
2023-10-13	12:27:19	542	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Crossover MIPS 52-59 / White matt (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-crossover-mips-52-59-white-matt-unitaire' WHERE `virtuemart_product_id` = '1860034'
2023-10-13	12:27:19	542	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:19	542	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860034 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:19	542	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:19	542	[DEBUG]	Executed store
2023-10-13	12:27:19	542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860034','0','106.77808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:19	542	[DEBUG]	Checking manufacturer
2023-10-13	12:27:19	542	[DEBUG]	Load a row
2023-10-13	12:27:19	542	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:19	542	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:19	542	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:19	542	[DEBUG]	Executed store
2023-10-13	12:27:19	542	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:19	542	[DEBUG]	Manufacturer exists
2023-10-13	12:27:19	542	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:19	542	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:19	542	[DEBUG]	Executed store
2023-10-13	12:27:19	542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860034','226')
2023-10-13	12:27:19	542	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:19	542	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:19	542	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860034 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:19	542	[DEBUG]	Store custom available field
2023-10-13	12:27:19	542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860034,3,'',1)
2023-10-13	12:27:19	542	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:19	542	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:27:19	542	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860034 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:19	542	[DEBUG]	Store custom available field
2023-10-13	12:27:19	542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860034,6,'Unitaire',3)
2023-10-13	12:27:19	542	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:19	542	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:19	542	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860033
2023-10-13	12:27:19	542	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:19	542	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860033\":[1860033,8,1,\"choisir la taille\"],\"1860034\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860033
2023-10-13	12:27:19	542	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:19	542	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860034
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:19	543	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field taille
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:19	543	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:19	543	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:19	543	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:19	543	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:19	543	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:19	543	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field published
2023-10-13	12:27:19	543	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:19	543	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field override
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:19	543	[DEBUG]	Use field value for field slug
2023-10-13	12:27:19	543	[DEBUG]	Process line 543
2023-10-13	12:27:19	543	[DEBUG]	Load a row
2023-10-13	12:27:19	543	[DEBUG]	Processing item: A_9697_845
2023-10-13	12:27:19	543	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:19	543	[DEBUG]	Processing product tax
2023-10-13	12:27:19	543	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:19	543	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:19	543	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:19	543	[DEBUG]	Query for Product
2023-10-13	12:27:19	543	[DEBUG]	Executed store
2023-10-13	12:27:19	543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9697_845','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:19	543	[DEBUG]	Check product language entry
2023-10-13	12:27:19	543	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860035
2023-10-13	12:27:19	543	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:19	543	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9697_845' AND `virtuemart_product_id` != 1860035
2023-10-13	12:27:19	543	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:19	543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860035, 'A_9697_845')
2023-10-13	12:27:19	543	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:19	543	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-parachute-mcr-helm-indigo-blau' AND `virtuemart_product_id` != 1860035
2023-10-13	12:27:19	543	[DEBUG]	Query for ProductLang
2023-10-13	12:27:19	543	[DEBUG]	Executed store
2023-10-13	12:27:19	543	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le casque MET Parachute MCR est le casque ultime pour l\'enduro, le all-mountain et le VAE. Développé en Italie, testé par des professionnels du monde entier<br><br>Grâce à sa mentonnière amovible, tu disposes de deux casques en un. Grâce au MCR – Magnetic Chinbar Release - le Parachute passe facilement et rapidement d\'un casque intégral à un casque de VTT ouvert, même en le portant. Le système intégré MIPS-C2® protège ta tête contre les forces de rotation qui peuvent survenir lors d\'une chute. Tu disposes ainsi d\'une protection élevée contre les actions linéaires et rotatives.<br><br>Le Parachute MCR est certifié ASTM F1952-15/ F2032-15 et maintient la tête au frais grâce à ses 21 ouvertures de ventilation et à ses canaux disposés de manière judicieuse. Le système de réglage occipital BOA®FS1® permet d\'ajuster le casque à ta tête en un tour de main. Les coussinets latéraux (2 tailles incluses) se fixent par clips et sont lavables.<br><br>La visière se compose d\'un matériau flexible qui épouse la forme du casque en cas de choc. Cela permet d\'absorber des forces de rotation supplémentaires et de réduire les effets sur la nuque. Pour que tes lunettes trouvent leur place, la visière se règle en hauteur sur deux niveaux.<br><br>Le système de fermeture magnétique FIDLOCK® permet une manipulation aisée lorsque l\'on met ou enlève le casque.<br><br>Caractéristiques:<br><br>Intégral et demi-coque - deux casques en un grâce à la mentonnière amovible<br>MCR - Magnetic Chinbar Release. MCR est un système breveté développé en collaboration avec FIDLOCK®.<br>MIPS-C2®- Protège ta tête contre les forces de rotation. Une couche de plastique à faible coefficient de frottement constituée de 3-4 élastomères et fixée à la coque flotte entre le casque et la tête. Cette couche peut se mouvoir de 10-15 mm dans toutes les directions, ce qui amortit les forces de rotation.<br>21 ouvertures de ventilation assurent un climat agréable.<br>BOA®FS1®Fit-System, ajustement rapide et précis par molette, compatible avec les queues de cheval<br>Visière flexible et réglable en hauteur<br>Fermeture magnétique FIDLOCK®<br>Mousses de joue interchangeables et lavables (2 tailles incluses)<br>Couleurs modernes suivant les tendances actuelles<br>N° art fourn : 720.022.030',`product_name`='MET Casque Parachute MCR Helm / Indigo-Blau',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-parachute-mcr-helm-indigo-blau' WHERE `virtuemart_product_id` = '1860035'
2023-10-13	12:27:19	544	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:19	544	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:19	544	[DEBUG]	Use field value for field taille
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:19	544	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:19	544	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:19	544	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:19	544	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:19	544	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:19	544	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:19	544	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:19	544	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:19	544	[DEBUG]	Use field value for field published
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:19	544	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field override
2023-10-13	12:27:19	544	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:19	544	[DEBUG]	Use field value for field slug
2023-10-13	12:27:19	544	[DEBUG]	Process line 544
2023-10-13	12:27:19	544	[DEBUG]	Load a row
2023-10-13	12:27:19	544	[DEBUG]	Processing item: 1000013012143
2023-10-13	12:27:19	544	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:19	544	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:19	544	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9697_845'
2023-10-13	12:27:19	544	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:19	544	[DEBUG]	Processing product tax
2023-10-13	12:27:19	544	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:19	544	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:19	544	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:19	544	[DEBUG]	Query for Product
2023-10-13	12:27:19	544	[DEBUG]	Executed store
2023-10-13	12:27:19	544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860035','1000013012143','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:19	544	[DEBUG]	No parent found
2023-10-13	12:27:19	544	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860035 AND customfield_value = 'stockable'
2023-10-13	12:27:19	544	[DEBUG]	Check product language entry
2023-10-13	12:27:19	544	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860036
2023-10-13	12:27:19	544	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:19	544	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000013012143' AND `virtuemart_product_id` != 1860036
2023-10-13	12:27:19	544	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:19	544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860036, '1000013012143')
2023-10-13	12:27:19	544	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:19	544	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-parachute-mcr-helm-indigo-blau-l' AND `virtuemart_product_id` != 1860036
2023-10-13	12:27:19	544	[DEBUG]	Query for ProductLang
2023-10-13	12:27:19	544	[DEBUG]	Executed store
2023-10-13	12:27:19	544	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Parachute MCR Helm / Indigo-Blau (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-parachute-mcr-helm-indigo-blau-l' WHERE `virtuemart_product_id` = '1860036'
2023-10-13	12:27:19	544	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39109_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:19	544	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:19	544	[DEBUG]	Process image file
2023-10-13	12:27:19	544	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:19	544	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:19	544	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39109_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:19	544	[DEBUG]	Full name target: bcprisme/39109_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:20	544	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:20	544	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39109_casque_parachute_mcr_helm.jpg'
2023-10-13	12:27:20	544	[DEBUG]	Query for Media
2023-10-13	12:27:20	544	[DEBUG]	Executed store
2023-10-13	12:27:20	544	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39109_casque_parachute_mcr_helm.jpg',`file_url_thumb`='bcprisme/39109_casque_parachute_mcr_helm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1517202'
2023-10-13	12:27:20	544	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:20	544	[DEBUG]	Executed store
2023-10-13	12:27:20	544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860036','1517202','1')
2023-10-13	12:27:20	544	[DEBUG]	Store product image relation
2023-10-13	12:27:20	544	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:20	544	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860036 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:20	544	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:20	544	[DEBUG]	Executed store
2023-10-13	12:27:20	544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860036','0','361.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:20	544	[DEBUG]	Checking manufacturer
2023-10-13	12:27:20	544	[DEBUG]	Load a row
2023-10-13	12:27:20	544	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:20	544	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:20	544	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:20	544	[DEBUG]	Executed store
2023-10-13	12:27:20	544	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:20	544	[DEBUG]	Manufacturer exists
2023-10-13	12:27:20	544	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:20	544	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:20	544	[DEBUG]	Executed store
2023-10-13	12:27:20	544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860036','226')
2023-10-13	12:27:20	544	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:20	544	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:20	544	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860036 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:20	544	[DEBUG]	Store custom available field
2023-10-13	12:27:20	544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860036,3,'',1)
2023-10-13	12:27:20	544	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:20	544	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:27:20	544	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860036 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:20	544	[DEBUG]	Store custom available field
2023-10-13	12:27:20	544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860036,6,'L',3)
2023-10-13	12:27:20	544	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:20	544	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:20	544	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860035
2023-10-13	12:27:20	544	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:20	544	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[]|clabels=0|options={\"1860036\":[]}|' WHERE `virtuemart_product_id` = 1860035
2023-10-13	12:27:20	544	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:20	544	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860036
2023-10-13	12:27:20	545	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:20	545	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:20	545	[DEBUG]	Use field value for field taille
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:20	545	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:20	545	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:20	545	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:20	545	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:20	545	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:20	545	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:20	545	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:20	545	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:20	545	[DEBUG]	Use field value for field published
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:20	545	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field override
2023-10-13	12:27:20	545	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:20	545	[DEBUG]	Use field value for field slug
2023-10-13	12:27:20	545	[DEBUG]	Process line 545
2023-10-13	12:27:20	545	[DEBUG]	Load a row
2023-10-13	12:27:20	545	[DEBUG]	Processing item: 1000013012167
2023-10-13	12:27:20	545	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:20	545	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:20	545	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9697_845'
2023-10-13	12:27:20	545	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:20	545	[DEBUG]	Processing product tax
2023-10-13	12:27:20	545	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:20	545	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:20	545	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:20	545	[DEBUG]	Query for Product
2023-10-13	12:27:20	545	[DEBUG]	Executed store
2023-10-13	12:27:20	545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860035','1000013012167','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:20	545	[DEBUG]	No parent found
2023-10-13	12:27:20	545	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860035 AND customfield_value = 'stockable'
2023-10-13	12:27:20	545	[DEBUG]	Check product language entry
2023-10-13	12:27:20	545	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860037
2023-10-13	12:27:20	545	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:20	545	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000013012167' AND `virtuemart_product_id` != 1860037
2023-10-13	12:27:20	545	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:20	545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860037, '1000013012167')
2023-10-13	12:27:20	545	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:20	545	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-parachute-mcr-helm-indigo-blau-m' AND `virtuemart_product_id` != 1860037
2023-10-13	12:27:20	545	[DEBUG]	Query for ProductLang
2023-10-13	12:27:20	545	[DEBUG]	Executed store
2023-10-13	12:27:20	545	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Parachute MCR Helm / Indigo-Blau (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-parachute-mcr-helm-indigo-blau-m' WHERE `virtuemart_product_id` = '1860037'
2023-10-13	12:27:20	545	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39109_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:20	545	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:20	545	[DEBUG]	Process image file
2023-10-13	12:27:20	545	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:20	545	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:20	545	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39109_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:20	545	[DEBUG]	Full name target: bcprisme/39109_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:21	545	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:21	545	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39109_casque_parachute_mcr_helm.jpg'
2023-10-13	12:27:21	545	[DEBUG]	Query for Media
2023-10-13	12:27:21	545	[DEBUG]	Executed store
2023-10-13	12:27:21	545	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39109_casque_parachute_mcr_helm.jpg',`file_url_thumb`='bcprisme/39109_casque_parachute_mcr_helm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1517202'
2023-10-13	12:27:21	545	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:21	545	[DEBUG]	Executed store
2023-10-13	12:27:21	545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860037','1517202','1')
2023-10-13	12:27:21	545	[DEBUG]	Store product image relation
2023-10-13	12:27:21	545	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:21	545	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860037 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:21	545	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:21	545	[DEBUG]	Executed store
2023-10-13	12:27:21	545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860037','0','361.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:21	545	[DEBUG]	Checking manufacturer
2023-10-13	12:27:21	545	[DEBUG]	Load a row
2023-10-13	12:27:21	545	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:21	545	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:21	545	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:21	545	[DEBUG]	Executed store
2023-10-13	12:27:21	545	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:21	545	[DEBUG]	Manufacturer exists
2023-10-13	12:27:21	545	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:21	545	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:21	545	[DEBUG]	Executed store
2023-10-13	12:27:21	545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860037','226')
2023-10-13	12:27:21	545	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:21	545	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:21	545	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860037 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:21	545	[DEBUG]	Store custom available field
2023-10-13	12:27:21	545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860037,3,'',1)
2023-10-13	12:27:21	545	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:21	545	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:27:21	545	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860037 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:21	545	[DEBUG]	Store custom available field
2023-10-13	12:27:21	545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860037,6,'M',3)
2023-10-13	12:27:21	545	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:21	545	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:21	545	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860035
2023-10-13	12:27:21	545	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:21	545	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[]|clabels=0|options={\"1860037\":[]}|' WHERE `virtuemart_product_id` = 1860035
2023-10-13	12:27:21	545	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:21	545	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860037
2023-10-13	12:27:21	546	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:21	546	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:21	546	[DEBUG]	Use field value for field taille
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:21	546	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:21	546	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:21	546	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:21	546	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:21	546	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:21	546	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:21	546	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:21	546	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:21	546	[DEBUG]	Use field value for field published
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:21	546	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field override
2023-10-13	12:27:21	546	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:21	546	[DEBUG]	Use field value for field slug
2023-10-13	12:27:21	546	[DEBUG]	Process line 546
2023-10-13	12:27:21	546	[DEBUG]	Load a row
2023-10-13	12:27:21	546	[DEBUG]	Processing item: 1000013012174
2023-10-13	12:27:21	546	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:21	546	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:21	546	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9697_845'
2023-10-13	12:27:21	546	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:21	546	[DEBUG]	Processing product tax
2023-10-13	12:27:21	546	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:21	546	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:21	546	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:21	546	[DEBUG]	Query for Product
2023-10-13	12:27:21	546	[DEBUG]	Executed store
2023-10-13	12:27:21	546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860035','1000013012174','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:21	546	[DEBUG]	No parent found
2023-10-13	12:27:21	546	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860035 AND customfield_value = 'stockable'
2023-10-13	12:27:21	546	[DEBUG]	Check product language entry
2023-10-13	12:27:21	546	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860038
2023-10-13	12:27:21	546	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:21	546	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000013012174' AND `virtuemart_product_id` != 1860038
2023-10-13	12:27:21	546	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:21	546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860038, '1000013012174')
2023-10-13	12:27:21	546	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:21	546	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-parachute-mcr-helm-indigo-blau-s' AND `virtuemart_product_id` != 1860038
2023-10-13	12:27:21	546	[DEBUG]	Query for ProductLang
2023-10-13	12:27:21	546	[DEBUG]	Executed store
2023-10-13	12:27:21	546	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Parachute MCR Helm / Indigo-Blau (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-parachute-mcr-helm-indigo-blau-s' WHERE `virtuemart_product_id` = '1860038'
2023-10-13	12:27:21	546	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39109_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:21	546	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:21	546	[DEBUG]	Process image file
2023-10-13	12:27:21	546	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:21	546	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:21	546	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39109_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:21	546	[DEBUG]	Full name target: bcprisme/39109_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:22	546	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:22	546	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39109_casque_parachute_mcr_helm.jpg'
2023-10-13	12:27:22	546	[DEBUG]	Query for Media
2023-10-13	12:27:22	546	[DEBUG]	Executed store
2023-10-13	12:27:22	546	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39109_casque_parachute_mcr_helm.jpg',`file_url_thumb`='bcprisme/39109_casque_parachute_mcr_helm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1517202'
2023-10-13	12:27:22	546	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:22	546	[DEBUG]	Executed store
2023-10-13	12:27:22	546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860038','1517202','1')
2023-10-13	12:27:22	546	[DEBUG]	Store product image relation
2023-10-13	12:27:22	546	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:22	546	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860038 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:22	546	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:22	546	[DEBUG]	Executed store
2023-10-13	12:27:22	546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860038','0','361.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:22	546	[DEBUG]	Checking manufacturer
2023-10-13	12:27:22	546	[DEBUG]	Load a row
2023-10-13	12:27:22	546	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:22	546	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:22	546	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:22	546	[DEBUG]	Executed store
2023-10-13	12:27:22	546	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:22	546	[DEBUG]	Manufacturer exists
2023-10-13	12:27:22	546	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:22	546	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:23	546	[DEBUG]	Executed store
2023-10-13	12:27:23	546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860038','226')
2023-10-13	12:27:23	546	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:23	546	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:23	546	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860038 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:23	546	[DEBUG]	Store custom available field
2023-10-13	12:27:23	546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860038,3,'',1)
2023-10-13	12:27:23	546	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:23	546	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:27:23	546	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860038 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:23	546	[DEBUG]	Store custom available field
2023-10-13	12:27:23	546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860038,6,'S',3)
2023-10-13	12:27:23	546	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:23	546	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:23	546	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860035
2023-10-13	12:27:23	546	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:23	546	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[]|clabels=0|options={\"1860038\":[]}|' WHERE `virtuemart_product_id` = 1860035
2023-10-13	12:27:23	546	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:23	546	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860038
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:23	547	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field taille
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:23	547	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:23	547	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:23	547	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:23	547	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:23	547	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:23	547	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field published
2023-10-13	12:27:23	547	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:23	547	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field override
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:23	547	[DEBUG]	Use field value for field slug
2023-10-13	12:27:23	547	[DEBUG]	Process line 547
2023-10-13	12:27:23	547	[DEBUG]	Load a row
2023-10-13	12:27:23	547	[DEBUG]	Processing item: A_9697_846
2023-10-13	12:27:23	547	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:23	547	[DEBUG]	Processing product tax
2023-10-13	12:27:23	547	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:23	547	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:23	547	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:23	547	[DEBUG]	Query for Product
2023-10-13	12:27:23	547	[DEBUG]	Executed store
2023-10-13	12:27:23	547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9697_846','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:23	547	[DEBUG]	Check product language entry
2023-10-13	12:27:23	547	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860039
2023-10-13	12:27:23	547	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:23	547	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9697_846' AND `virtuemart_product_id` != 1860039
2023-10-13	12:27:23	547	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:23	547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860039, 'A_9697_846')
2023-10-13	12:27:23	547	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:23	547	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-parachute-mcr-helm-petrol-blue-matt' AND `virtuemart_product_id` != 1860039
2023-10-13	12:27:23	547	[DEBUG]	Query for ProductLang
2023-10-13	12:27:23	547	[DEBUG]	Executed store
2023-10-13	12:27:23	547	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le casque MET Parachute MCR est le casque ultime pour l\'enduro, le all-mountain et le VAE. Développé en Italie, testé par des professionnels du monde entier<br><br>Grâce à sa mentonnière amovible, tu disposes de deux casques en un. Grâce au MCR – Magnetic Chinbar Release - le Parachute passe facilement et rapidement d\'un casque intégral à un casque de VTT ouvert, même en le portant. Le système intégré MIPS-C2® protège ta tête contre les forces de rotation qui peuvent survenir lors d\'une chute. Tu disposes ainsi d\'une protection élevée contre les actions linéaires et rotatives.<br><br>Le Parachute MCR est certifié ASTM F1952-15/ F2032-15 et maintient la tête au frais grâce à ses 21 ouvertures de ventilation et à ses canaux disposés de manière judicieuse. Le système de réglage occipital BOA®FS1® permet d\'ajuster le casque à ta tête en un tour de main. Les coussinets latéraux (2 tailles incluses) se fixent par clips et sont lavables.<br><br>La visière se compose d\'un matériau flexible qui épouse la forme du casque en cas de choc. Cela permet d\'absorber des forces de rotation supplémentaires et de réduire les effets sur la nuque. Pour que tes lunettes trouvent leur place, la visière se règle en hauteur sur deux niveaux.<br><br>Le système de fermeture magnétique FIDLOCK® permet une manipulation aisée lorsque l\'on met ou enlève le casque.<br><br>Caractéristiques:<br><br>Intégral et demi-coque - deux casques en un grâce à la mentonnière amovible<br>MCR - Magnetic Chinbar Release. MCR est un système breveté développé en collaboration avec FIDLOCK®.<br>MIPS-C2®- Protège ta tête contre les forces de rotation. Une couche de plastique à faible coefficient de frottement constituée de 3-4 élastomères et fixée à la coque flotte entre le casque et la tête. Cette couche peut se mouvoir de 10-15 mm dans toutes les directions, ce qui amortit les forces de rotation.<br>21 ouvertures de ventilation assurent un climat agréable.<br>BOA®FS1®Fit-System, ajustement rapide et précis par molette, compatible avec les queues de cheval<br>Visière flexible et réglable en hauteur<br>Fermeture magnétique FIDLOCK®<br>Mousses de joue interchangeables et lavables (2 tailles incluses)<br>Couleurs modernes suivant les tendances actuelles<br>N° art fourn : 720.022.030',`product_name`='MET Casque Parachute MCR Helm / Petrol Blue Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-parachute-mcr-helm-petrol-blue-matt' WHERE `virtuemart_product_id` = '1860039'
2023-10-13	12:27:23	548	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:23	548	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:23	548	[DEBUG]	Use field value for field taille
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:23	548	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:23	548	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:23	548	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:23	548	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:23	548	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:23	548	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:23	548	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:23	548	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:23	548	[DEBUG]	Use field value for field published
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:23	548	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field override
2023-10-13	12:27:23	548	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:23	548	[DEBUG]	Use field value for field slug
2023-10-13	12:27:23	548	[DEBUG]	Process line 548
2023-10-13	12:27:23	548	[DEBUG]	Load a row
2023-10-13	12:27:23	548	[DEBUG]	Processing item: 1000013012150
2023-10-13	12:27:23	548	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:23	548	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:23	548	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9697_846'
2023-10-13	12:27:23	548	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:23	548	[DEBUG]	Processing product tax
2023-10-13	12:27:23	548	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:23	548	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:23	548	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:23	548	[DEBUG]	Query for Product
2023-10-13	12:27:23	548	[DEBUG]	Executed store
2023-10-13	12:27:23	548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860039','1000013012150','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:23	548	[DEBUG]	No parent found
2023-10-13	12:27:23	548	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860039 AND customfield_value = 'stockable'
2023-10-13	12:27:23	548	[DEBUG]	Check product language entry
2023-10-13	12:27:23	548	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860040
2023-10-13	12:27:23	548	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:23	548	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000013012150' AND `virtuemart_product_id` != 1860040
2023-10-13	12:27:23	548	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:23	548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860040, '1000013012150')
2023-10-13	12:27:23	548	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:23	548	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-parachute-mcr-helm-petrol-blue-matt-m' AND `virtuemart_product_id` != 1860040
2023-10-13	12:27:23	548	[DEBUG]	Query for ProductLang
2023-10-13	12:27:23	548	[DEBUG]	Executed store
2023-10-13	12:27:23	548	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Parachute MCR Helm / Petrol Blue Matt (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-parachute-mcr-helm-petrol-blue-matt-m' WHERE `virtuemart_product_id` = '1860040'
2023-10-13	12:27:23	548	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39112_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:23	548	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:23	548	[DEBUG]	Process image file
2023-10-13	12:27:23	548	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:23	548	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:23	548	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39112_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:23	548	[DEBUG]	Full name target: bcprisme/39112_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:24	548	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:24	548	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39112_casque_parachute_mcr_helm.jpg'
2023-10-13	12:27:24	548	[DEBUG]	Query for Media
2023-10-13	12:27:24	548	[DEBUG]	Executed store
2023-10-13	12:27:24	548	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39112_casque_parachute_mcr_helm.jpg',`file_url_thumb`='bcprisme/39112_casque_parachute_mcr_helm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1517206'
2023-10-13	12:27:24	548	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:24	548	[DEBUG]	Executed store
2023-10-13	12:27:24	548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860040','1517206','1')
2023-10-13	12:27:24	548	[DEBUG]	Store product image relation
2023-10-13	12:27:24	548	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:24	548	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860040 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:24	548	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:24	548	[DEBUG]	Executed store
2023-10-13	12:27:24	548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860040','0','361.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:24	548	[DEBUG]	Checking manufacturer
2023-10-13	12:27:24	548	[DEBUG]	Load a row
2023-10-13	12:27:24	548	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:24	548	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:24	548	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:24	548	[DEBUG]	Executed store
2023-10-13	12:27:24	548	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:24	548	[DEBUG]	Manufacturer exists
2023-10-13	12:27:24	548	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:24	548	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:24	548	[DEBUG]	Executed store
2023-10-13	12:27:24	548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860040','226')
2023-10-13	12:27:24	548	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:24	548	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:24	548	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860040 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:24	548	[DEBUG]	Store custom available field
2023-10-13	12:27:24	548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860040,3,'',1)
2023-10-13	12:27:24	548	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:24	548	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:27:24	548	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860040 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:24	548	[DEBUG]	Store custom available field
2023-10-13	12:27:24	548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860040,6,'M',3)
2023-10-13	12:27:24	548	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:24	548	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:24	548	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860039
2023-10-13	12:27:24	548	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:24	548	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[]|clabels=0|options={\"1860040\":[]}|' WHERE `virtuemart_product_id` = 1860039
2023-10-13	12:27:24	548	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:24	548	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860040
2023-10-13	12:27:24	549	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:24	549	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:24	549	[DEBUG]	Use field value for field taille
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:24	549	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:24	549	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:24	549	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:24	549	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:24	549	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:24	549	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:24	549	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:24	549	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:24	549	[DEBUG]	Use field value for field published
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:24	549	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field override
2023-10-13	12:27:24	549	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:24	549	[DEBUG]	Use field value for field slug
2023-10-13	12:27:24	549	[DEBUG]	Process line 549
2023-10-13	12:27:24	549	[DEBUG]	Load a row
2023-10-13	12:27:24	549	[DEBUG]	Processing item: 1000013012181
2023-10-13	12:27:24	549	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:24	549	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:24	549	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9697_846'
2023-10-13	12:27:24	549	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:24	549	[DEBUG]	Processing product tax
2023-10-13	12:27:24	549	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:24	549	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:24	549	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:24	549	[DEBUG]	Query for Product
2023-10-13	12:27:24	549	[DEBUG]	Executed store
2023-10-13	12:27:24	549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860039','1000013012181','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:24	549	[DEBUG]	No parent found
2023-10-13	12:27:24	549	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860039 AND customfield_value = 'stockable'
2023-10-13	12:27:24	549	[DEBUG]	Check product language entry
2023-10-13	12:27:24	549	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860041
2023-10-13	12:27:24	549	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:24	549	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000013012181' AND `virtuemart_product_id` != 1860041
2023-10-13	12:27:24	549	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:24	549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860041, '1000013012181')
2023-10-13	12:27:24	549	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:24	549	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-parachute-mcr-helm-petrol-blue-matt-s' AND `virtuemart_product_id` != 1860041
2023-10-13	12:27:24	549	[DEBUG]	Query for ProductLang
2023-10-13	12:27:24	549	[DEBUG]	Executed store
2023-10-13	12:27:24	549	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Parachute MCR Helm / Petrol Blue Matt (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-parachute-mcr-helm-petrol-blue-matt-s' WHERE `virtuemart_product_id` = '1860041'
2023-10-13	12:27:24	549	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39112_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:24	549	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:24	549	[DEBUG]	Process image file
2023-10-13	12:27:24	549	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:24	549	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:24	549	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39112_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:24	549	[DEBUG]	Full name target: bcprisme/39112_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:25	549	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:25	549	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39112_casque_parachute_mcr_helm.jpg'
2023-10-13	12:27:25	549	[DEBUG]	Query for Media
2023-10-13	12:27:25	549	[DEBUG]	Executed store
2023-10-13	12:27:25	549	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39112_casque_parachute_mcr_helm.jpg',`file_url_thumb`='bcprisme/39112_casque_parachute_mcr_helm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1517206'
2023-10-13	12:27:25	549	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:25	549	[DEBUG]	Executed store
2023-10-13	12:27:25	549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860041','1517206','1')
2023-10-13	12:27:25	549	[DEBUG]	Store product image relation
2023-10-13	12:27:25	549	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:25	549	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860041 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:25	549	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:25	549	[DEBUG]	Executed store
2023-10-13	12:27:25	549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860041','0','361.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:25	549	[DEBUG]	Checking manufacturer
2023-10-13	12:27:25	549	[DEBUG]	Load a row
2023-10-13	12:27:25	549	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:25	549	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:25	549	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:25	549	[DEBUG]	Executed store
2023-10-13	12:27:25	549	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:25	549	[DEBUG]	Manufacturer exists
2023-10-13	12:27:25	549	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:25	549	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:25	549	[DEBUG]	Executed store
2023-10-13	12:27:25	549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860041','226')
2023-10-13	12:27:25	549	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:25	549	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:25	549	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860041 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:25	549	[DEBUG]	Store custom available field
2023-10-13	12:27:25	549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860041,3,'',1)
2023-10-13	12:27:25	549	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:25	549	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:27:25	549	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860041 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:25	549	[DEBUG]	Store custom available field
2023-10-13	12:27:25	549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860041,6,'S',3)
2023-10-13	12:27:25	549	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:25	549	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:25	549	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860039
2023-10-13	12:27:25	549	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:25	549	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[]|clabels=0|options={\"1860041\":[]}|' WHERE `virtuemart_product_id` = 1860039
2023-10-13	12:27:25	549	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:25	549	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860041
2023-10-13	12:27:25	550	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:25	550	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:25	550	[DEBUG]	Use field value for field taille
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:25	550	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:25	550	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:25	550	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:25	550	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:25	550	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:25	550	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:25	550	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:25	550	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:25	550	[DEBUG]	Use field value for field published
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:25	550	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field override
2023-10-13	12:27:25	550	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:25	550	[DEBUG]	Use field value for field slug
2023-10-13	12:27:25	550	[DEBUG]	Process line 550
2023-10-13	12:27:25	550	[DEBUG]	Load a row
2023-10-13	12:27:25	550	[DEBUG]	Processing item: 1000013012198
2023-10-13	12:27:25	550	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:25	550	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:25	550	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9697_846'
2023-10-13	12:27:25	550	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:25	550	[DEBUG]	Processing product tax
2023-10-13	12:27:25	550	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:25	550	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:25	550	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:25	550	[DEBUG]	Query for Product
2023-10-13	12:27:25	550	[DEBUG]	Executed store
2023-10-13	12:27:25	550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860039','1000013012198','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:25	550	[DEBUG]	No parent found
2023-10-13	12:27:25	550	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860039 AND customfield_value = 'stockable'
2023-10-13	12:27:25	550	[DEBUG]	Check product language entry
2023-10-13	12:27:25	550	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860042
2023-10-13	12:27:25	550	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:25	550	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000013012198' AND `virtuemart_product_id` != 1860042
2023-10-13	12:27:25	550	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:25	550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860042, '1000013012198')
2023-10-13	12:27:25	550	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:25	550	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-parachute-mcr-helm-petrol-blue-matt-l' AND `virtuemart_product_id` != 1860042
2023-10-13	12:27:25	550	[DEBUG]	Query for ProductLang
2023-10-13	12:27:25	550	[DEBUG]	Executed store
2023-10-13	12:27:25	550	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Parachute MCR Helm / Petrol Blue Matt (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-parachute-mcr-helm-petrol-blue-matt-l' WHERE `virtuemart_product_id` = '1860042'
2023-10-13	12:27:25	550	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39112_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:25	550	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:25	550	[DEBUG]	Process image file
2023-10-13	12:27:25	550	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:25	550	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:25	550	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39112_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:25	550	[DEBUG]	Full name target: bcprisme/39112_casque_parachute_mcr_helm.jpg
2023-10-13	12:27:26	550	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:26	550	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39112_casque_parachute_mcr_helm.jpg'
2023-10-13	12:27:26	550	[DEBUG]	Query for Media
2023-10-13	12:27:26	550	[DEBUG]	Executed store
2023-10-13	12:27:26	550	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39112_casque_parachute_mcr_helm.jpg',`file_url_thumb`='bcprisme/39112_casque_parachute_mcr_helm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1517206'
2023-10-13	12:27:26	550	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:26	550	[DEBUG]	Executed store
2023-10-13	12:27:26	550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860042','1517206','1')
2023-10-13	12:27:26	550	[DEBUG]	Store product image relation
2023-10-13	12:27:26	550	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:26	550	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860042 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:26	550	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:26	550	[DEBUG]	Executed store
2023-10-13	12:27:26	550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860042','0','361.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:26	550	[DEBUG]	Checking manufacturer
2023-10-13	12:27:26	550	[DEBUG]	Load a row
2023-10-13	12:27:26	550	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:26	550	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:26	550	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:26	550	[DEBUG]	Executed store
2023-10-13	12:27:26	550	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:26	550	[DEBUG]	Manufacturer exists
2023-10-13	12:27:26	550	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:26	550	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:26	550	[DEBUG]	Executed store
2023-10-13	12:27:26	550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860042','226')
2023-10-13	12:27:26	550	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:26	550	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:26	550	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860042 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:26	550	[DEBUG]	Store custom available field
2023-10-13	12:27:26	550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860042,3,'',1)
2023-10-13	12:27:26	550	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:26	550	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:27:26	550	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860042 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:26	550	[DEBUG]	Store custom available field
2023-10-13	12:27:26	550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860042,6,'L',3)
2023-10-13	12:27:26	550	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:26	550	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:26	550	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860039
2023-10-13	12:27:26	550	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:26	550	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[]|clabels=0|options={\"1860042\":[]}|' WHERE `virtuemart_product_id` = 1860039
2023-10-13	12:27:26	550	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:26	550	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860042
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:26	551	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field taille
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:26	551	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:26	551	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:26	551	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:26	551	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:26	551	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:26	551	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field published
2023-10-13	12:27:26	551	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:26	551	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field override
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:26	551	[DEBUG]	Use field value for field slug
2023-10-13	12:27:26	551	[DEBUG]	Process line 551
2023-10-13	12:27:26	551	[DEBUG]	Load a row
2023-10-13	12:27:26	551	[DEBUG]	Processing item: A_9699_847
2023-10-13	12:27:26	551	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:26	551	[DEBUG]	Processing product tax
2023-10-13	12:27:26	551	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:26	551	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:26	551	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:26	551	[DEBUG]	Query for Product
2023-10-13	12:27:26	551	[DEBUG]	Executed store
2023-10-13	12:27:26	551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9699_847','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:26	551	[DEBUG]	Check product language entry
2023-10-13	12:27:26	551	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860043
2023-10-13	12:27:26	551	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:26	551	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9699_847' AND `virtuemart_product_id` != 1860043
2023-10-13	12:27:26	551	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:26	551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860043, 'A_9699_847')
2023-10-13	12:27:26	551	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:26	551	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-intercity-avec-mips-titanium-metallic' AND `virtuemart_product_id` != 1860043
2023-10-13	12:27:26	551	[DEBUG]	Query for ProductLang
2023-10-13	12:27:26	551	[DEBUG]	Executed store
2023-10-13	12:27:26	551	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Un maximum de fonctionnalités pour le casque le plus sûr afin de profiter de sa liberté à vélo. Le nouveau casque MET Intercity avec MIPS offre de nombreuses protections. Sa visière large et réglable protège efficacement du vent, de la poussière et des insectes pendant les trajets en vélo électrique. L\'Intercity Mips est certifié NTA 8776. La certification NTA est la première norme de sécurité au monde à avoir été développée spécifiquement pour les casques de VAE. Grâce au système de protection du cerveau MIPS-C2®, le MET Intercity Mips limite les forces de rotation dangereuses pour la tête en cas de choc. L\'éclairage magnétique à LED et USB de MET est placé sur la partie supérieure arrière du casque afin de garantir une visibilité maximale dans toutes les conditions. Grâce au système d\'ajustement MET Safe-T Heta, le casque s\'adapte facilement à la tête et offre un grand confort.<br><br>Caractéristiques:<br><br>Système de protection du cerveau MIPS-C2®<br>Certifié NTA <br>Système d\'ajustement MET Safe-T Heta<br>Éclairage magnétique intégré - rechargeable via USB-C <br>Grande visière intégrée <br>N° art fourn : 720.039.001',`product_name`='MET Casque Intercity avec MIPS / Titanium Metallic',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-intercity-avec-mips-titanium-metallic' WHERE `virtuemart_product_id` = '1860043'
2023-10-13	12:27:26	551	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39113_casque_intercity_avec_mips.jpg
2023-10-13	12:27:26	551	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:26	551	[DEBUG]	Process image file
2023-10-13	12:27:26	551	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:26	551	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:26	551	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39113_casque_intercity_avec_mips.jpg
2023-10-13	12:27:26	551	[DEBUG]	Full name target: bcprisme/39113_casque_intercity_avec_mips.jpg
2023-10-13	12:27:27	551	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:27	551	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39113_casque_intercity_avec_mips.jpg'
2023-10-13	12:27:27	551	[DEBUG]	Query for Media
2023-10-13	12:27:27	551	[DEBUG]	Executed store
2023-10-13	12:27:27	551	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39113_casque_intercity_avec_mips.jpg',`file_url_thumb`='bcprisme/39113_casque_intercity_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1517210'
2023-10-13	12:27:27	551	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:27	551	[DEBUG]	Executed store
2023-10-13	12:27:27	551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860043','1517210','1')
2023-10-13	12:27:27	551	[DEBUG]	Store product image relation
2023-10-13	12:27:27	551	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:27	551	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860043 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:27	551	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:27	551	[DEBUG]	Executed store
2023-10-13	12:27:27	551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860043','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:27	551	[DEBUG]	Checking manufacturer
2023-10-13	12:27:27	551	[DEBUG]	Load a row
2023-10-13	12:27:27	551	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:27	551	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:27	551	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:27	551	[DEBUG]	Executed store
2023-10-13	12:27:27	551	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:27	551	[DEBUG]	Manufacturer exists
2023-10-13	12:27:27	551	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:27	551	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:27	551	[DEBUG]	Executed store
2023-10-13	12:27:27	551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860043','226')
2023-10-13	12:27:27	551	[DEBUG]	Find the custom field ID
2023-10-13	12:27:27	551	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:27	551	[DEBUG]	No custom field ID found
2023-10-13	12:27:27	551	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:27	551	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:27	551	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860043 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:27	551	[DEBUG]	Store custom available field
2023-10-13	12:27:27	551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860043,3,'9.8725',1)
2023-10-13	12:27:27	551	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:27	551	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:27	551	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860043 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:27	551	[DEBUG]	Store custom available field
2023-10-13	12:27:27	551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860043,6,'choisir la taille',3)
2023-10-13	12:27:27	551	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:27	551	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:27	551	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:27	551	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:27	551	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860043 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:27	551	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:27	551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860043,8,1)
2023-10-13	12:27:27	551	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:27	551	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860043\":[1860043,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860043
2023-10-13	12:27:27	551	[DEBUG]	Checking category
2023-10-13	12:27:27	551	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:27	551	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860043
2023-10-13	12:27:27	551	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:27	551	[DEBUG]	Executed store
2023-10-13	12:27:27	551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860043','7281')
2023-10-13	12:27:27	551	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:27	551	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860043 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:27	551	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:27	551	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860043
2023-10-13	12:27:27	552	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:27	552	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:27	552	[DEBUG]	Use field value for field taille
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:27	552	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:27	552	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:27	552	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:27	552	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:27	552	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:27	552	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:27	552	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:27	552	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:27	552	[DEBUG]	Use field value for field published
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:27	552	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field override
2023-10-13	12:27:27	552	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:27	552	[DEBUG]	Use field value for field slug
2023-10-13	12:27:27	552	[DEBUG]	Process line 552
2023-10-13	12:27:27	552	[DEBUG]	Load a row
2023-10-13	12:27:27	552	[DEBUG]	Processing item: 1000013012204
2023-10-13	12:27:27	552	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:27	552	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:27	552	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9699_847'
2023-10-13	12:27:27	552	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:27	552	[DEBUG]	Processing product tax
2023-10-13	12:27:27	552	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:27	552	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:27	552	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:27	552	[DEBUG]	Query for Product
2023-10-13	12:27:27	552	[DEBUG]	Executed store
2023-10-13	12:27:27	552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860043','1000013012204','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:27	552	[DEBUG]	No parent found
2023-10-13	12:27:27	552	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860043 AND customfield_value = 'stockable'
2023-10-13	12:27:27	552	[DEBUG]	Check product language entry
2023-10-13	12:27:27	552	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860044
2023-10-13	12:27:27	552	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:27	552	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000013012204' AND `virtuemart_product_id` != 1860044
2023-10-13	12:27:27	552	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:27	552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860044, '1000013012204')
2023-10-13	12:27:27	552	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:27	552	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-intercity-avec-mips-titanium-metallic-56-58-cm' AND `virtuemart_product_id` != 1860044
2023-10-13	12:27:27	552	[DEBUG]	Query for ProductLang
2023-10-13	12:27:27	552	[DEBUG]	Executed store
2023-10-13	12:27:27	552	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Intercity avec MIPS / Titanium Metallic (56-58 cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-intercity-avec-mips-titanium-metallic-56-58-cm' WHERE `virtuemart_product_id` = '1860044'
2023-10-13	12:27:27	552	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39113_casque_intercity_avec_mips.jpg
2023-10-13	12:27:27	552	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:27	552	[DEBUG]	Process image file
2023-10-13	12:27:27	552	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:27	552	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:27	552	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39113_casque_intercity_avec_mips.jpg
2023-10-13	12:27:27	552	[DEBUG]	Full name target: bcprisme/39113_casque_intercity_avec_mips.jpg
2023-10-13	12:27:28	552	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:28	552	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39113_casque_intercity_avec_mips.jpg'
2023-10-13	12:27:28	552	[DEBUG]	Query for Media
2023-10-13	12:27:28	552	[DEBUG]	Executed store
2023-10-13	12:27:28	552	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39113_casque_intercity_avec_mips.jpg',`file_url_thumb`='bcprisme/39113_casque_intercity_avec_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1517210'
2023-10-13	12:27:28	552	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:28	552	[DEBUG]	Executed store
2023-10-13	12:27:28	552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860044','1517210','1')
2023-10-13	12:27:28	552	[DEBUG]	Store product image relation
2023-10-13	12:27:28	552	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:28	552	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860044 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:28	552	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:28	552	[DEBUG]	Executed store
2023-10-13	12:27:28	552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860044','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:28	552	[DEBUG]	Checking manufacturer
2023-10-13	12:27:28	552	[DEBUG]	Load a row
2023-10-13	12:27:28	552	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:28	552	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:28	552	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:28	552	[DEBUG]	Executed store
2023-10-13	12:27:28	552	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:28	552	[DEBUG]	Manufacturer exists
2023-10-13	12:27:28	552	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:28	552	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:28	552	[DEBUG]	Executed store
2023-10-13	12:27:28	552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860044','226')
2023-10-13	12:27:28	552	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:28	552	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:28	552	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860044 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:28	552	[DEBUG]	Store custom available field
2023-10-13	12:27:28	552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860044,3,'',1)
2023-10-13	12:27:28	552	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:28	552	[DEBUG]	Get existing row with customfield value 56-58 cm
2023-10-13	12:27:28	552	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860044 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:28	552	[DEBUG]	Store custom available field
2023-10-13	12:27:28	552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860044,6,'56-58 cm',3)
2023-10-13	12:27:28	552	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:28	552	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:28	552	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860043
2023-10-13	12:27:28	552	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:28	552	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n56-58 cm\"}]|clabels=0|options={\"1860043\":[1860043,8,1,\"choisir la taille\"],\"1860044\":[\"56-58 cm\"]}|' WHERE `virtuemart_product_id` = 1860043
2023-10-13	12:27:28	552	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:28	552	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860044
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:28	553	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field taille
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:28	553	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:28	553	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:28	553	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:28	553	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:28	553	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:28	553	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field published
2023-10-13	12:27:28	553	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:28	553	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field override
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:28	553	[DEBUG]	Use field value for field slug
2023-10-13	12:27:28	553	[DEBUG]	Process line 553
2023-10-13	12:27:28	553	[DEBUG]	Load a row
2023-10-13	12:27:28	553	[DEBUG]	Processing item: A_9721_854
2023-10-13	12:27:28	553	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:28	553	[DEBUG]	Processing product tax
2023-10-13	12:27:28	553	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:28	553	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:28	553	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:28	553	[DEBUG]	Query for Product
2023-10-13	12:27:28	553	[DEBUG]	Executed store
2023-10-13	12:27:28	553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9721_854','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:28	553	[DEBUG]	Check product language entry
2023-10-13	12:27:28	553	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860045
2023-10-13	12:27:28	553	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:28	553	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9721_854' AND `virtuemart_product_id` != 1860045
2023-10-13	12:27:28	553	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:28	553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860045, 'A_9721_854')
2023-10-13	12:27:28	553	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:28	553	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-helm-estro-mips-white-holographic-matt-glossy' AND `virtuemart_product_id` != 1860045
2023-10-13	12:27:28	553	[DEBUG]	Query for ProductLang
2023-10-13	12:27:28	553	[DEBUG]	Executed store
2023-10-13	12:27:28	553	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Elfo a été spécialement développé pour répondre aux spécificité des têtes d\'enfants. Grâce à sa géométrie particulière, il garantit un contact permanent avec la fontanelle, la partie nécessitant la meilleure protection chez les enfants. Son design permet en outre une position assise droite dans les sièges enfant afin de ne pas gâcher le plaisir de la promenade en vélo. Pour des virées nocturnes, il intègre un éclairage arrière qui améliore la visibilité et la sécurité.<br><br>Géométrie spéciale pour une protection de la tête des enfants<br>Construction In Mold Intelligent Fusion<br>Sangles ajustables colorées pour un maintient parfait<br>Filets anti-insectes intégrés et éclairage LED arrière<br>Safe-T E-Twist pour un ajustement facile<br>N° art fourn : 720.010.01',`product_name`='MET Casque Helm Estro Mips  / White holographic Matt Glossy',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-helm-estro-mips-white-holographic-matt-glossy' WHERE `virtuemart_product_id` = '1860045'
2023-10-13	12:27:28	553	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39137_casque_helm_estro_mips_.jpg
2023-10-13	12:27:28	553	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:28	553	[DEBUG]	Process image file
2023-10-13	12:27:28	553	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:28	553	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:28	553	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39137_casque_helm_estro_mips_.jpg
2023-10-13	12:27:28	553	[DEBUG]	Full name target: bcprisme/39137_casque_helm_estro_mips_.jpg
2023-10-13	12:27:29	553	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:29	553	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39137_casque_helm_estro_mips_.jpg'
2023-10-13	12:27:29	553	[DEBUG]	Query for Media
2023-10-13	12:27:29	553	[DEBUG]	Executed store
2023-10-13	12:27:29	553	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39137_casque_helm_estro_mips_.jpg',`file_url_thumb`='bcprisme/39137_casque_helm_estro_mips_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1551240'
2023-10-13	12:27:29	553	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:29	553	[DEBUG]	Executed store
2023-10-13	12:27:29	553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860045','1551240','1')
2023-10-13	12:27:29	553	[DEBUG]	Store product image relation
2023-10-13	12:27:29	553	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:29	553	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860045 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:29	553	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:29	553	[DEBUG]	Executed store
2023-10-13	12:27:29	553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860045','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:29	553	[DEBUG]	Checking manufacturer
2023-10-13	12:27:29	553	[DEBUG]	Load a row
2023-10-13	12:27:29	553	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:29	553	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:29	553	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:29	553	[DEBUG]	Executed store
2023-10-13	12:27:29	553	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:29	553	[DEBUG]	Manufacturer exists
2023-10-13	12:27:29	553	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:29	553	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:29	553	[DEBUG]	Executed store
2023-10-13	12:27:29	553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860045','226')
2023-10-13	12:27:29	553	[DEBUG]	Find the custom field ID
2023-10-13	12:27:29	553	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:29	553	[DEBUG]	No custom field ID found
2023-10-13	12:27:29	553	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:29	553	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:29	553	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860045 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:29	553	[DEBUG]	Store custom available field
2023-10-13	12:27:29	553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860045,3,'9.8725',1)
2023-10-13	12:27:29	553	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:29	553	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:29	553	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860045 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:29	553	[DEBUG]	Store custom available field
2023-10-13	12:27:29	553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860045,6,'choisir la taille',3)
2023-10-13	12:27:29	553	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:29	553	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:29	553	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:29	553	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:29	553	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860045 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:29	553	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:29	553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860045,8,1)
2023-10-13	12:27:29	553	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:29	553	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860045\":[1860045,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860045
2023-10-13	12:27:29	553	[DEBUG]	Checking category
2023-10-13	12:27:29	553	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:29	553	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860045
2023-10-13	12:27:29	553	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:29	553	[DEBUG]	Executed store
2023-10-13	12:27:29	553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860045','7281')
2023-10-13	12:27:29	553	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:29	553	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860045 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:29	553	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:29	553	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860045
2023-10-13	12:27:29	554	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:29	554	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:29	554	[DEBUG]	Use field value for field taille
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:29	554	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:29	554	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:29	554	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:29	554	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:29	554	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:29	554	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:29	554	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:29	554	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:29	554	[DEBUG]	Use field value for field published
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:29	554	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field override
2023-10-13	12:27:29	554	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:29	554	[DEBUG]	Use field value for field slug
2023-10-13	12:27:29	554	[DEBUG]	Process line 554
2023-10-13	12:27:29	554	[DEBUG]	Load a row
2023-10-13	12:27:29	554	[DEBUG]	Processing item: 1000014505958
2023-10-13	12:27:29	554	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:29	554	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:29	554	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9721_854'
2023-10-13	12:27:29	554	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:29	554	[DEBUG]	Processing product tax
2023-10-13	12:27:29	554	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:29	554	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:29	554	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:29	554	[DEBUG]	Query for Product
2023-10-13	12:27:29	554	[DEBUG]	Executed store
2023-10-13	12:27:29	554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860045','1000014505958','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:29	554	[DEBUG]	No parent found
2023-10-13	12:27:29	554	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860045 AND customfield_value = 'stockable'
2023-10-13	12:27:29	554	[DEBUG]	Check product language entry
2023-10-13	12:27:29	554	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860046
2023-10-13	12:27:29	554	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:29	554	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000014505958' AND `virtuemart_product_id` != 1860046
2023-10-13	12:27:29	554	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:29	554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860046, '1000014505958')
2023-10-13	12:27:29	554	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:29	554	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-helm-estro-mips-white-holographic-matt-glossy-m' AND `virtuemart_product_id` != 1860046
2023-10-13	12:27:29	554	[DEBUG]	Query for ProductLang
2023-10-13	12:27:29	554	[DEBUG]	Executed store
2023-10-13	12:27:29	554	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Helm Estro Mips  / White holographic Matt Glossy (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-helm-estro-mips-white-holographic-matt-glossy-m' WHERE `virtuemart_product_id` = '1860046'
2023-10-13	12:27:29	554	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39137_casque_helm_estro_mips_.jpg
2023-10-13	12:27:29	554	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:29	554	[DEBUG]	Process image file
2023-10-13	12:27:29	554	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:29	554	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:29	554	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39137_casque_helm_estro_mips_.jpg
2023-10-13	12:27:29	554	[DEBUG]	Full name target: bcprisme/39137_casque_helm_estro_mips_.jpg
2023-10-13	12:27:30	554	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:30	554	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39137_casque_helm_estro_mips_.jpg'
2023-10-13	12:27:30	554	[DEBUG]	Query for Media
2023-10-13	12:27:30	554	[DEBUG]	Executed store
2023-10-13	12:27:30	554	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39137_casque_helm_estro_mips_.jpg',`file_url_thumb`='bcprisme/39137_casque_helm_estro_mips_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1551240'
2023-10-13	12:27:30	554	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:30	554	[DEBUG]	Executed store
2023-10-13	12:27:30	554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860046','1551240','1')
2023-10-13	12:27:30	554	[DEBUG]	Store product image relation
2023-10-13	12:27:30	554	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:30	554	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860046 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:30	554	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:30	554	[DEBUG]	Executed store
2023-10-13	12:27:30	554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860046','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:30	554	[DEBUG]	Checking manufacturer
2023-10-13	12:27:30	554	[DEBUG]	Load a row
2023-10-13	12:27:30	554	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:30	554	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:30	554	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:30	554	[DEBUG]	Executed store
2023-10-13	12:27:30	554	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:30	554	[DEBUG]	Manufacturer exists
2023-10-13	12:27:30	554	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:30	554	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:30	554	[DEBUG]	Executed store
2023-10-13	12:27:30	554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860046','226')
2023-10-13	12:27:30	554	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:30	554	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:30	554	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860046 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:30	554	[DEBUG]	Store custom available field
2023-10-13	12:27:30	554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860046,3,'',1)
2023-10-13	12:27:30	554	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:30	554	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:27:30	554	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860046 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:30	554	[DEBUG]	Store custom available field
2023-10-13	12:27:30	554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860046,6,'M',3)
2023-10-13	12:27:30	554	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:30	554	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:30	554	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860045
2023-10-13	12:27:30	554	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:30	554	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nM\"}]|clabels=0|options={\"1860045\":[1860045,8,1,\"choisir la taille\"],\"1860046\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1860045
2023-10-13	12:27:30	554	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:30	554	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860046
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:30	555	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field taille
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:30	555	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:30	555	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:30	555	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:30	555	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:30	555	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:30	555	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field published
2023-10-13	12:27:30	555	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:30	555	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field override
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:30	555	[DEBUG]	Use field value for field slug
2023-10-13	12:27:30	555	[DEBUG]	Process line 555
2023-10-13	12:27:30	555	[DEBUG]	Load a row
2023-10-13	12:27:30	555	[DEBUG]	Processing item: A_9722_855
2023-10-13	12:27:30	555	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:30	555	[DEBUG]	Processing product tax
2023-10-13	12:27:30	555	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:30	555	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:30	555	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:30	555	[DEBUG]	Query for Product
2023-10-13	12:27:30	555	[DEBUG]	Executed store
2023-10-13	12:27:30	555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9722_855','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:30	555	[DEBUG]	Check product language entry
2023-10-13	12:27:30	555	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860047
2023-10-13	12:27:30	555	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:30	555	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9722_855' AND `virtuemart_product_id` != 1860047
2023-10-13	12:27:30	555	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:30	555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860047, 'A_9722_855')
2023-10-13	12:27:30	555	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:30	555	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-helm-vinci-mips-blue-metallic' AND `virtuemart_product_id` != 1860047
2023-10-13	12:27:30	555	[DEBUG]	Query for ProductLang
2023-10-13	12:27:30	555	[DEBUG]	Executed store
2023-10-13	12:27:30	555	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Elfo a été spécialement développé pour répondre aux spécificité des têtes d\'enfants. Grâce à sa géométrie particulière, il garantit un contact permanent avec la fontanelle, la partie nécessitant la meilleure protection chez les enfants. Son design permet en outre une position assise droite dans les sièges enfant afin de ne pas gâcher le plaisir de la promenade en vélo. Pour des virées nocturnes, il intègre un éclairage arrière qui améliore la visibilité et la sécurité.<br><br>Géométrie spéciale pour une protection de la tête des enfants<br>Construction In Mold Intelligent Fusion<br>Sangles ajustables colorées pour un maintient parfait<br>Filets anti-insectes intégrés et éclairage LED arrière<br>Safe-T E-Twist pour un ajustement facile<br>N° art fourn : 720.030.00',`product_name`='MET Casque Helm Vinci MIPS / Blue Metallic',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-helm-vinci-mips-blue-metallic' WHERE `virtuemart_product_id` = '1860047'
2023-10-13	12:27:30	555	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39138_casque_helm_vinci_mips.jpg
2023-10-13	12:27:30	555	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:30	555	[DEBUG]	Process image file
2023-10-13	12:27:30	555	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:30	555	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:30	555	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39138_casque_helm_vinci_mips.jpg
2023-10-13	12:27:30	555	[DEBUG]	Full name target: bcprisme/39138_casque_helm_vinci_mips.jpg
2023-10-13	12:27:31	555	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:31	555	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39138_casque_helm_vinci_mips.jpg'
2023-10-13	12:27:31	555	[DEBUG]	Query for Media
2023-10-13	12:27:31	555	[DEBUG]	Executed store
2023-10-13	12:27:31	555	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39138_casque_helm_vinci_mips.jpg',`file_url_thumb`='bcprisme/39138_casque_helm_vinci_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1551242'
2023-10-13	12:27:31	555	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:31	555	[DEBUG]	Executed store
2023-10-13	12:27:31	555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860047','1551242','1')
2023-10-13	12:27:31	555	[DEBUG]	Store product image relation
2023-10-13	12:27:31	555	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:31	555	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860047 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:31	555	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:31	555	[DEBUG]	Executed store
2023-10-13	12:27:31	555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860047','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:31	555	[DEBUG]	Checking manufacturer
2023-10-13	12:27:31	555	[DEBUG]	Load a row
2023-10-13	12:27:31	555	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:31	555	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:31	555	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:31	555	[DEBUG]	Executed store
2023-10-13	12:27:31	555	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:31	555	[DEBUG]	Manufacturer exists
2023-10-13	12:27:31	555	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:31	555	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:31	555	[DEBUG]	Executed store
2023-10-13	12:27:31	555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860047','226')
2023-10-13	12:27:31	555	[DEBUG]	Find the custom field ID
2023-10-13	12:27:31	555	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:31	555	[DEBUG]	No custom field ID found
2023-10-13	12:27:31	555	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:31	555	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:31	555	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860047 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:31	555	[DEBUG]	Store custom available field
2023-10-13	12:27:31	555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860047,3,'9.8725',1)
2023-10-13	12:27:31	555	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:31	555	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:31	555	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860047 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:31	555	[DEBUG]	Store custom available field
2023-10-13	12:27:31	555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860047,6,'choisir la taille',3)
2023-10-13	12:27:31	555	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:31	555	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:31	555	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:31	555	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:31	555	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860047 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:31	555	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:31	555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860047,8,1)
2023-10-13	12:27:31	555	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:31	555	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860047\":[1860047,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860047
2023-10-13	12:27:31	555	[DEBUG]	Checking category
2023-10-13	12:27:31	555	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:31	555	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860047
2023-10-13	12:27:31	555	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:31	555	[DEBUG]	Executed store
2023-10-13	12:27:31	555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860047','7281')
2023-10-13	12:27:31	555	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:31	555	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860047 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:31	555	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:31	555	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860047
2023-10-13	12:27:31	556	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:31	556	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:31	556	[DEBUG]	Use field value for field taille
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:31	556	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:31	556	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:31	556	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:31	556	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:31	556	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:31	556	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:31	556	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:31	556	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:31	556	[DEBUG]	Use field value for field published
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:31	556	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field override
2023-10-13	12:27:31	556	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:31	556	[DEBUG]	Use field value for field slug
2023-10-13	12:27:31	556	[DEBUG]	Process line 556
2023-10-13	12:27:31	556	[DEBUG]	Load a row
2023-10-13	12:27:31	556	[DEBUG]	Processing item: 1000014505965
2023-10-13	12:27:31	556	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:31	556	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:31	556	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9722_855'
2023-10-13	12:27:31	556	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:31	556	[DEBUG]	Processing product tax
2023-10-13	12:27:31	556	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:31	556	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:31	556	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:31	556	[DEBUG]	Query for Product
2023-10-13	12:27:31	556	[DEBUG]	Executed store
2023-10-13	12:27:31	556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860047','1000014505965','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:31	556	[DEBUG]	No parent found
2023-10-13	12:27:31	556	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860047 AND customfield_value = 'stockable'
2023-10-13	12:27:31	556	[DEBUG]	Check product language entry
2023-10-13	12:27:31	556	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860048
2023-10-13	12:27:31	556	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:31	556	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000014505965' AND `virtuemart_product_id` != 1860048
2023-10-13	12:27:31	556	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:31	556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860048, '1000014505965')
2023-10-13	12:27:31	556	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:31	556	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-helm-vinci-mips-blue-metallic-l' AND `virtuemart_product_id` != 1860048
2023-10-13	12:27:31	556	[DEBUG]	Query for ProductLang
2023-10-13	12:27:31	556	[DEBUG]	Executed store
2023-10-13	12:27:31	556	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Helm Vinci MIPS / Blue Metallic (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-helm-vinci-mips-blue-metallic-l' WHERE `virtuemart_product_id` = '1860048'
2023-10-13	12:27:31	556	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39138_casque_helm_vinci_mips.jpg
2023-10-13	12:27:31	556	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:31	556	[DEBUG]	Process image file
2023-10-13	12:27:31	556	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:31	556	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:31	556	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39138_casque_helm_vinci_mips.jpg
2023-10-13	12:27:31	556	[DEBUG]	Full name target: bcprisme/39138_casque_helm_vinci_mips.jpg
2023-10-13	12:27:32	556	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:32	556	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39138_casque_helm_vinci_mips.jpg'
2023-10-13	12:27:32	556	[DEBUG]	Query for Media
2023-10-13	12:27:32	556	[DEBUG]	Executed store
2023-10-13	12:27:32	556	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39138_casque_helm_vinci_mips.jpg',`file_url_thumb`='bcprisme/39138_casque_helm_vinci_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1551242'
2023-10-13	12:27:32	556	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:32	556	[DEBUG]	Executed store
2023-10-13	12:27:32	556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860048','1551242','1')
2023-10-13	12:27:32	556	[DEBUG]	Store product image relation
2023-10-13	12:27:32	556	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:32	556	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860048 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:32	556	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:32	556	[DEBUG]	Executed store
2023-10-13	12:27:32	556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860048','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:32	556	[DEBUG]	Checking manufacturer
2023-10-13	12:27:32	556	[DEBUG]	Load a row
2023-10-13	12:27:32	556	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:32	556	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:32	556	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:32	556	[DEBUG]	Executed store
2023-10-13	12:27:32	556	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:32	556	[DEBUG]	Manufacturer exists
2023-10-13	12:27:32	556	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:32	556	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:32	556	[DEBUG]	Executed store
2023-10-13	12:27:32	556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860048','226')
2023-10-13	12:27:32	556	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:32	556	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:32	556	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860048 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:32	556	[DEBUG]	Store custom available field
2023-10-13	12:27:32	556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860048,3,'',1)
2023-10-13	12:27:32	556	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:32	556	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:27:32	556	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860048 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:32	556	[DEBUG]	Store custom available field
2023-10-13	12:27:32	556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860048,6,'L',3)
2023-10-13	12:27:32	556	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:32	556	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:32	556	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860047
2023-10-13	12:27:32	556	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:32	556	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\"}]|clabels=0|options={\"1860047\":[1860047,8,1,\"choisir la taille\"],\"1860048\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1860047
2023-10-13	12:27:32	556	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:32	556	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860048
2023-10-13	12:27:32	557	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:32	557	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:32	557	[DEBUG]	Use field value for field taille
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:32	557	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:32	557	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:32	557	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:32	557	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:32	557	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:32	557	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:32	557	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:32	557	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:32	557	[DEBUG]	Use field value for field published
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:32	557	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field override
2023-10-13	12:27:32	557	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:32	557	[DEBUG]	Use field value for field slug
2023-10-13	12:27:32	557	[DEBUG]	Process line 557
2023-10-13	12:27:32	557	[DEBUG]	Load a row
2023-10-13	12:27:32	557	[DEBUG]	Processing item: 1000014505972
2023-10-13	12:27:32	557	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:32	557	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:32	557	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9722_855'
2023-10-13	12:27:32	557	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:32	557	[DEBUG]	Processing product tax
2023-10-13	12:27:32	557	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:32	557	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:32	557	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:32	557	[DEBUG]	Query for Product
2023-10-13	12:27:32	557	[DEBUG]	Executed store
2023-10-13	12:27:32	557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860047','1000014505972','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:32	557	[DEBUG]	No parent found
2023-10-13	12:27:32	557	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860047 AND customfield_value = 'stockable'
2023-10-13	12:27:32	557	[DEBUG]	Check product language entry
2023-10-13	12:27:32	557	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860049
2023-10-13	12:27:32	557	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:32	557	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000014505972' AND `virtuemart_product_id` != 1860049
2023-10-13	12:27:32	557	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:32	557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860049, '1000014505972')
2023-10-13	12:27:32	557	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:32	557	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-helm-vinci-mips-blue-metallic-m' AND `virtuemart_product_id` != 1860049
2023-10-13	12:27:32	557	[DEBUG]	Query for ProductLang
2023-10-13	12:27:32	557	[DEBUG]	Executed store
2023-10-13	12:27:32	557	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Helm Vinci MIPS / Blue Metallic (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-helm-vinci-mips-blue-metallic-m' WHERE `virtuemart_product_id` = '1860049'
2023-10-13	12:27:32	557	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39138_casque_helm_vinci_mips.jpg
2023-10-13	12:27:32	557	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:32	557	[DEBUG]	Process image file
2023-10-13	12:27:32	557	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:32	557	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:32	557	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39138_casque_helm_vinci_mips.jpg
2023-10-13	12:27:32	557	[DEBUG]	Full name target: bcprisme/39138_casque_helm_vinci_mips.jpg
2023-10-13	12:27:33	557	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:33	557	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39138_casque_helm_vinci_mips.jpg'
2023-10-13	12:27:33	557	[DEBUG]	Query for Media
2023-10-13	12:27:33	557	[DEBUG]	Executed store
2023-10-13	12:27:33	557	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39138_casque_helm_vinci_mips.jpg',`file_url_thumb`='bcprisme/39138_casque_helm_vinci_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1551242'
2023-10-13	12:27:33	557	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:33	557	[DEBUG]	Executed store
2023-10-13	12:27:33	557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860049','1551242','1')
2023-10-13	12:27:33	557	[DEBUG]	Store product image relation
2023-10-13	12:27:33	557	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:33	557	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860049 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:33	557	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:33	557	[DEBUG]	Executed store
2023-10-13	12:27:33	557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860049','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:33	557	[DEBUG]	Checking manufacturer
2023-10-13	12:27:33	557	[DEBUG]	Load a row
2023-10-13	12:27:33	557	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:33	557	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:33	557	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:33	557	[DEBUG]	Executed store
2023-10-13	12:27:33	557	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:33	557	[DEBUG]	Manufacturer exists
2023-10-13	12:27:33	557	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:33	557	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:33	557	[DEBUG]	Executed store
2023-10-13	12:27:33	557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860049','226')
2023-10-13	12:27:33	557	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:33	557	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:33	557	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860049 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:33	557	[DEBUG]	Store custom available field
2023-10-13	12:27:33	557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860049,3,'',1)
2023-10-13	12:27:33	557	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:33	557	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:27:33	557	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860049 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:33	557	[DEBUG]	Store custom available field
2023-10-13	12:27:33	557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860049,6,'M',3)
2023-10-13	12:27:33	557	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:33	557	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:33	557	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860047
2023-10-13	12:27:33	557	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:33	557	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\\r\\nM\"}]|clabels=0|options={\"1860047\":[1860047,8,1,\"choisir la taille\"],\"1860048\":[\"L\"],\"1860049\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1860047
2023-10-13	12:27:33	557	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:33	557	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860049
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:33	558	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field taille
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:33	558	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:33	558	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:33	558	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:33	558	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:33	558	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:33	558	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field published
2023-10-13	12:27:33	558	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:33	558	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field override
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:33	558	[DEBUG]	Use field value for field slug
2023-10-13	12:27:33	558	[DEBUG]	Process line 558
2023-10-13	12:27:33	558	[DEBUG]	Load a row
2023-10-13	12:27:33	558	[DEBUG]	Processing item: A_9744_275
2023-10-13	12:27:33	558	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:33	558	[DEBUG]	Processing product tax
2023-10-13	12:27:33	558	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:33	558	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:33	558	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:33	558	[DEBUG]	Query for Product
2023-10-13	12:27:33	558	[DEBUG]	Executed store
2023-10-13	12:27:33	558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9744_275','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:33	558	[DEBUG]	Check product language entry
2023-10-13	12:27:33	558	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860050
2023-10-13	12:27:33	558	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:33	558	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9744_275' AND `virtuemart_product_id` != 1860050
2023-10-13	12:27:33	558	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:33	558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860050, 'A_9744_275')
2023-10-13	12:27:33	558	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:33	558	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-path-black-matt' AND `virtuemart_product_id` != 1860050
2023-10-13	12:27:33	558	[DEBUG]	Query for ProductLang
2023-10-13	12:27:33	558	[DEBUG]	Executed store
2023-10-13	12:27:33	558	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Carapax 2.0 d’Alpina est adapté aux sentiers tout terrain. Avec la version révisé du modèle à succès, on est sûr de toujours faire le bon choix. Peu importe si l’on parcourt un chemin en montée ou en descente. Il s’agit d’un casque polyvalent adapté aux espaces tout-terrain et il compte parmi les modèles enduro les plus légers sur le marché. Le système Run System Ergo Flex assure un confort maximal et une sécurité optimale. Un système d’ajustement constitué d’une structure filigrane fixe le casque de manière uniforme sur 360 degrés du tour de tête. L’ajustement du casque de vélo peut se réaliser d’une manière parfaitement autonome, souple et confortable. Un avantage complémentaire en faveur du confort : le rembourrage amovible. Celui-ci est très agréable à porter - indépendamment des températures sur le terrain. Le poids léger du Carapax 2.0 est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Grâce à la Seamless Connection, il épouse parfaitement la coque supérieure. Pour garantir la meilleure sécurité sur des trails complexes, l’arrière du casque et la zone des tempes ont été rallongés vers le bas. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération permettent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière réglable en hauteur garantit une protection optimale dans la zone de la vision.<br>N° art fourn : A9725188',`product_name`='Alpina Casque PATH  / Black matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-path-black-matt' WHERE `virtuemart_product_id` = '1860050'
2023-10-13	12:27:33	558	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39175_casque_path_.jpg
2023-10-13	12:27:33	558	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:33	558	[DEBUG]	Process image file
2023-10-13	12:27:33	558	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:33	558	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:33	558	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39175_casque_path_.jpg
2023-10-13	12:27:33	558	[DEBUG]	Full name target: bcprisme/39175_casque_path_.jpg
2023-10-13	12:27:34	558	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:34	558	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39175_casque_path_.jpg'
2023-10-13	12:27:34	558	[DEBUG]	Query for Media
2023-10-13	12:27:34	558	[DEBUG]	Executed store
2023-10-13	12:27:34	558	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39175_casque_path_.jpg',`file_url_thumb`='bcprisme/39175_casque_path_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1584853'
2023-10-13	12:27:34	558	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:34	558	[DEBUG]	Executed store
2023-10-13	12:27:34	558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860050','1584853','1')
2023-10-13	12:27:34	558	[DEBUG]	Store product image relation
2023-10-13	12:27:34	558	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:34	558	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860050 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:34	558	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:34	558	[DEBUG]	Executed store
2023-10-13	12:27:34	558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860050','0','110.492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:34	558	[DEBUG]	Checking manufacturer
2023-10-13	12:27:34	558	[DEBUG]	Load a row
2023-10-13	12:27:34	558	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:34	558	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:34	558	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:34	558	[DEBUG]	Executed store
2023-10-13	12:27:34	558	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:34	558	[DEBUG]	Manufacturer exists
2023-10-13	12:27:34	558	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:27:34	558	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:34	558	[DEBUG]	Executed store
2023-10-13	12:27:34	558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860050','171')
2023-10-13	12:27:34	558	[DEBUG]	Find the custom field ID
2023-10-13	12:27:34	558	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:34	558	[DEBUG]	No custom field ID found
2023-10-13	12:27:34	558	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:34	558	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:27:34	558	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860050 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:34	558	[DEBUG]	Store custom available field
2023-10-13	12:27:34	558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860050,3,'0',1)
2023-10-13	12:27:34	558	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:34	558	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:34	558	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860050 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:34	558	[DEBUG]	Store custom available field
2023-10-13	12:27:34	558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860050,6,'choisir la taille',3)
2023-10-13	12:27:34	558	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:34	558	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:34	558	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:34	558	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:34	558	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860050 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:34	558	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:34	558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860050,8,1)
2023-10-13	12:27:34	558	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:34	558	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860050\":[1860050,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860050
2023-10-13	12:27:34	558	[DEBUG]	Checking category
2023-10-13	12:27:34	558	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:34	558	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860050
2023-10-13	12:27:34	558	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:34	558	[DEBUG]	Executed store
2023-10-13	12:27:34	558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860050','7281')
2023-10-13	12:27:34	558	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:34	558	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860050 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:34	558	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:34	558	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860050
2023-10-13	12:27:34	559	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:34	559	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:34	559	[DEBUG]	Use field value for field taille
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:34	559	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:34	559	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:34	559	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:34	559	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:34	559	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:34	559	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:34	559	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:34	559	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:34	559	[DEBUG]	Use field value for field published
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:34	559	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field override
2023-10-13	12:27:34	559	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:34	559	[DEBUG]	Use field value for field slug
2023-10-13	12:27:34	559	[DEBUG]	Process line 559
2023-10-13	12:27:34	559	[DEBUG]	Load a row
2023-10-13	12:27:34	559	[DEBUG]	Processing item: 1000016665773
2023-10-13	12:27:34	559	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:34	559	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:34	559	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9744_275'
2023-10-13	12:27:34	559	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:34	559	[DEBUG]	Processing product tax
2023-10-13	12:27:34	559	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:34	559	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:34	559	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:34	559	[DEBUG]	Query for Product
2023-10-13	12:27:34	559	[DEBUG]	Executed store
2023-10-13	12:27:34	559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860050','1000016665773','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:34	559	[DEBUG]	No parent found
2023-10-13	12:27:34	559	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860050 AND customfield_value = 'stockable'
2023-10-13	12:27:34	559	[DEBUG]	Check product language entry
2023-10-13	12:27:34	559	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860051
2023-10-13	12:27:34	559	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:34	559	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000016665773' AND `virtuemart_product_id` != 1860051
2023-10-13	12:27:34	559	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:34	559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860051, '1000016665773')
2023-10-13	12:27:34	559	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:34	559	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-path-black-matt-58-63' AND `virtuemart_product_id` != 1860051
2023-10-13	12:27:34	559	[DEBUG]	Query for ProductLang
2023-10-13	12:27:34	559	[DEBUG]	Executed store
2023-10-13	12:27:34	559	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque PATH  / Black matt (58-63)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-path-black-matt-58-63' WHERE `virtuemart_product_id` = '1860051'
2023-10-13	12:27:34	559	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39175_casque_path_.jpg
2023-10-13	12:27:34	559	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:34	559	[DEBUG]	Process image file
2023-10-13	12:27:34	559	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:27:34	559	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:34	559	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39175_casque_path_.jpg
2023-10-13	12:27:34	559	[DEBUG]	Full name target: bcprisme/39175_casque_path_.jpg
2023-10-13	12:27:35	559	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:35	559	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39175_casque_path_.jpg'
2023-10-13	12:27:35	559	[DEBUG]	Query for Media
2023-10-13	12:27:35	559	[DEBUG]	Executed store
2023-10-13	12:27:35	559	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39175_casque_path_.jpg',`file_url_thumb`='bcprisme/39175_casque_path_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1584853'
2023-10-13	12:27:35	559	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:35	559	[DEBUG]	Executed store
2023-10-13	12:27:35	559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860051','1584853','1')
2023-10-13	12:27:35	559	[DEBUG]	Store product image relation
2023-10-13	12:27:35	559	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:35	559	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860051 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:35	559	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:35	559	[DEBUG]	Executed store
2023-10-13	12:27:35	559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860051','0','110.492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:35	559	[DEBUG]	Checking manufacturer
2023-10-13	12:27:35	559	[DEBUG]	Load a row
2023-10-13	12:27:35	559	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:35	559	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:35	559	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:35	559	[DEBUG]	Executed store
2023-10-13	12:27:35	559	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:27:35	559	[DEBUG]	Manufacturer exists
2023-10-13	12:27:35	559	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:27:35	559	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:35	559	[DEBUG]	Executed store
2023-10-13	12:27:35	559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860051','171')
2023-10-13	12:27:35	559	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:35	559	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:35	559	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860051 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:35	559	[DEBUG]	Store custom available field
2023-10-13	12:27:35	559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860051,3,'',1)
2023-10-13	12:27:35	559	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:35	559	[DEBUG]	Get existing row with customfield value 58-63
2023-10-13	12:27:35	559	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860051 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:35	559	[DEBUG]	Store custom available field
2023-10-13	12:27:35	559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860051,6,'58-63',3)
2023-10-13	12:27:35	559	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:35	559	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:35	559	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860050
2023-10-13	12:27:35	559	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:35	559	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n58-63\"}]|clabels=0|options={\"1860050\":[1860050,8,1,\"choisir la taille\"],\"1860051\":[\"58-63\"]}|' WHERE `virtuemart_product_id` = 1860050
2023-10-13	12:27:35	559	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:35	559	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860051
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:35	560	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field taille
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:35	560	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:35	560	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:35	560	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:35	560	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:35	560	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:35	560	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field published
2023-10-13	12:27:35	560	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:35	560	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field override
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:35	560	[DEBUG]	Use field value for field slug
2023-10-13	12:27:35	560	[DEBUG]	Process line 560
2023-10-13	12:27:35	560	[DEBUG]	Load a row
2023-10-13	12:27:35	560	[DEBUG]	Processing item: A_9759_868
2023-10-13	12:27:35	560	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:35	560	[DEBUG]	Processing product tax
2023-10-13	12:27:35	560	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:35	560	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:35	560	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:35	560	[DEBUG]	Query for Product
2023-10-13	12:27:35	560	[DEBUG]	Executed store
2023-10-13	12:27:35	560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9759_868','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:35	560	[DEBUG]	Check product language entry
2023-10-13	12:27:35	560	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860052
2023-10-13	12:27:35	560	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:35	560	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9759_868' AND `virtuemart_product_id` != 1860052
2023-10-13	12:27:35	560	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:35	560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860052, 'A_9759_868')
2023-10-13	12:27:35	560	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:35	560	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-23-proframe-blocked-noir-blanc-orange' AND `virtuemart_product_id` != 1860052
2023-10-13	12:27:35	560	[DEBUG]	Query for ProductLang
2023-10-13	12:27:35	560	[DEBUG]	Executed store
2023-10-13	12:27:35	560	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Taille M 55-59cm<br>Taille L 59-63cm<br><br>N° art fourn : 29398-001',`product_name`='Fox Casque 23 PROFRAME BLOCKED / Noir/Blanc/Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-23-proframe-blocked-noir-blanc-orange' WHERE `virtuemart_product_id` = '1860052'
2023-10-13	12:27:35	560	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39195_helmet_fox_23_proframe_blocked.jpg
2023-10-13	12:27:35	560	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:35	560	[DEBUG]	Process image file
2023-10-13	12:27:35	560	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:35	560	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:35	560	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39195_helmet_fox_23_proframe_blocked.jpg
2023-10-13	12:27:35	560	[DEBUG]	Full name target: bcprisme/39195_helmet_fox_23_proframe_blocked.jpg
2023-10-13	12:27:36	560	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:36	560	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39195_helmet_fox_23_proframe_blocked.jpg'
2023-10-13	12:27:36	560	[DEBUG]	Query for Media
2023-10-13	12:27:36	560	[DEBUG]	Executed store
2023-10-13	12:27:36	560	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39195_helmet_fox_23_proframe_blocked.jpg',`file_url_thumb`='bcprisme/39195_helmet_fox_23_proframe_blocked.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1584545'
2023-10-13	12:27:36	560	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:36	560	[DEBUG]	Executed store
2023-10-13	12:27:36	560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860052','1584545','1')
2023-10-13	12:27:36	560	[DEBUG]	Store product image relation
2023-10-13	12:27:36	560	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:36	560	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860052 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:36	560	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:36	560	[DEBUG]	Executed store
2023-10-13	12:27:36	560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860052','0','232.033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:36	560	[DEBUG]	Checking manufacturer
2023-10-13	12:27:36	560	[DEBUG]	Load a row
2023-10-13	12:27:36	560	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:36	560	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	12:27:36	560	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:36	560	[DEBUG]	Executed store
2023-10-13	12:27:36	560	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV-Bike',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike' WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	12:27:36	560	[DEBUG]	Manufacturer exists
2023-10-13	12:27:36	560	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 1
2023-10-13	12:27:36	560	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:36	560	[DEBUG]	Executed store
2023-10-13	12:27:36	560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860052','1')
2023-10-13	12:27:36	560	[DEBUG]	Find the custom field ID
2023-10-13	12:27:36	560	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:36	560	[DEBUG]	No custom field ID found
2023-10-13	12:27:36	560	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:36	560	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:27:36	560	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860052 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:36	560	[DEBUG]	Store custom available field
2023-10-13	12:27:36	560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860052,3,'69.7058333333334',1)
2023-10-13	12:27:36	560	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:36	560	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:36	560	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860052 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:36	560	[DEBUG]	Store custom available field
2023-10-13	12:27:36	560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860052,6,'choisir la taille',3)
2023-10-13	12:27:36	560	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:36	560	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:36	560	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:36	560	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:36	560	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860052 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:36	560	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:36	560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860052,8,1)
2023-10-13	12:27:36	560	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:36	560	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860052\":[1860052,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860052
2023-10-13	12:27:36	560	[DEBUG]	Checking category
2023-10-13	12:27:36	560	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:36	560	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860052
2023-10-13	12:27:36	560	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:36	560	[DEBUG]	Executed store
2023-10-13	12:27:36	560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860052','7281')
2023-10-13	12:27:36	560	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:36	560	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860052 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:36	560	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:36	560	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860052
2023-10-13	12:27:36	561	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:36	561	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:36	561	[DEBUG]	Use field value for field taille
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:36	561	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:36	561	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:36	561	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:36	561	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:36	561	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:36	561	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:36	561	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:36	561	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:36	561	[DEBUG]	Use field value for field published
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:36	561	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field override
2023-10-13	12:27:36	561	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:36	561	[DEBUG]	Use field value for field slug
2023-10-13	12:27:36	561	[DEBUG]	Process line 561
2023-10-13	12:27:36	561	[DEBUG]	Load a row
2023-10-13	12:27:36	561	[DEBUG]	Processing item: 1000017258691
2023-10-13	12:27:36	561	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:36	561	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:36	561	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9759_868'
2023-10-13	12:27:36	561	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:36	561	[DEBUG]	Processing product tax
2023-10-13	12:27:36	561	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:36	561	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:36	561	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:36	561	[DEBUG]	Query for Product
2023-10-13	12:27:36	561	[DEBUG]	Executed store
2023-10-13	12:27:36	561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860052','1000017258691','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:36	561	[DEBUG]	No parent found
2023-10-13	12:27:36	561	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860052 AND customfield_value = 'stockable'
2023-10-13	12:27:36	561	[DEBUG]	Check product language entry
2023-10-13	12:27:36	561	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860053
2023-10-13	12:27:36	561	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:36	561	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000017258691' AND `virtuemart_product_id` != 1860053
2023-10-13	12:27:36	561	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:36	561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860053, '1000017258691')
2023-10-13	12:27:36	561	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:36	561	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-23-proframe-blocked-noir-blanc-orange-l' AND `virtuemart_product_id` != 1860053
2023-10-13	12:27:36	561	[DEBUG]	Query for ProductLang
2023-10-13	12:27:36	561	[DEBUG]	Executed store
2023-10-13	12:27:36	561	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque 23 PROFRAME BLOCKED / Noir/Blanc/Orange (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-23-proframe-blocked-noir-blanc-orange-l' WHERE `virtuemart_product_id` = '1860053'
2023-10-13	12:27:36	561	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39195_helmet_fox_23_proframe_blocked.jpg
2023-10-13	12:27:36	561	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:36	561	[DEBUG]	Process image file
2023-10-13	12:27:36	561	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:27:36	561	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:36	561	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39195_helmet_fox_23_proframe_blocked.jpg
2023-10-13	12:27:36	561	[DEBUG]	Full name target: bcprisme/39195_helmet_fox_23_proframe_blocked.jpg
2023-10-13	12:27:37	561	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:37	561	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39195_helmet_fox_23_proframe_blocked.jpg'
2023-10-13	12:27:37	561	[DEBUG]	Query for Media
2023-10-13	12:27:37	561	[DEBUG]	Executed store
2023-10-13	12:27:37	561	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39195_helmet_fox_23_proframe_blocked.jpg',`file_url_thumb`='bcprisme/39195_helmet_fox_23_proframe_blocked.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1584545'
2023-10-13	12:27:37	561	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:37	561	[DEBUG]	Executed store
2023-10-13	12:27:37	561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860053','1584545','1')
2023-10-13	12:27:37	561	[DEBUG]	Store product image relation
2023-10-13	12:27:37	561	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:37	561	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860053 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:37	561	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:37	561	[DEBUG]	Executed store
2023-10-13	12:27:37	561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860053','0','232.033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:37	561	[DEBUG]	Checking manufacturer
2023-10-13	12:27:37	561	[DEBUG]	Load a row
2023-10-13	12:27:37	561	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:37	561	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	12:27:37	561	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:37	561	[DEBUG]	Executed store
2023-10-13	12:27:37	561	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV-Bike',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike' WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	12:27:37	561	[DEBUG]	Manufacturer exists
2023-10-13	12:27:37	561	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 1
2023-10-13	12:27:37	561	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:37	561	[DEBUG]	Executed store
2023-10-13	12:27:37	561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860053','1')
2023-10-13	12:27:37	561	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:37	561	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:37	561	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860053 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:37	561	[DEBUG]	Store custom available field
2023-10-13	12:27:37	561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860053,3,'',1)
2023-10-13	12:27:37	561	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:37	561	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:27:37	561	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860053 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:37	561	[DEBUG]	Store custom available field
2023-10-13	12:27:37	561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860053,6,'L',3)
2023-10-13	12:27:37	561	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:37	561	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:37	561	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860052
2023-10-13	12:27:37	561	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:37	561	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\"}]|clabels=0|options={\"1860052\":[1860052,8,1,\"choisir la taille\"],\"1860053\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1860052
2023-10-13	12:27:37	561	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:37	561	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860053
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:37	562	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field taille
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:37	562	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:37	562	[DEBUG]	Use default value for field file_url
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:37	562	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:37	562	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:37	562	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:37	562	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:37	562	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field published
2023-10-13	12:27:37	562	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:37	562	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field override
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:37	562	[DEBUG]	Use field value for field slug
2023-10-13	12:27:37	562	[DEBUG]	Process line 562
2023-10-13	12:27:37	562	[DEBUG]	Load a row
2023-10-13	12:27:37	562	[DEBUG]	Processing item: A_9817_896
2023-10-13	12:27:37	562	[DEBUG]	Product tax: 0
2023-10-13	12:27:37	562	[DEBUG]	Query for Product
2023-10-13	12:27:37	562	[DEBUG]	Executed store
2023-10-13	12:27:37	562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9817_896','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:37	562	[DEBUG]	Check product language entry
2023-10-13	12:27:37	562	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860054
2023-10-13	12:27:37	562	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:37	562	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9817_896' AND `virtuemart_product_id` != 1860054
2023-10-13	12:27:37	562	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:37	562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860054, 'A_9817_896')
2023-10-13	12:27:37	562	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:37	562	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-racik-lavande' AND `virtuemart_product_id` != 1860054
2023-10-13	12:27:37	562	[DEBUG]	Query for ProductLang
2023-10-13	12:27:37	562	[DEBUG]	Executed store
2023-10-13	12:27:37	562	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='-Système de protection MIPS® réduisant la force de rotation des chocs<br>-Ventilation optimisée grâce à une mousse EPS canalisée et moulée pour un refroidissement efficace<br>-Visière réglable offrant 3 positions différentes et compatible avec le port d’un masque<br>-Doublure confortable amovible, lavable et qui absorbe l’humidité<br>-Système de rétention à 360° pour un ajustement parfait à chaque sortie<br>-41 % EPS, 38 % polycarbonate, 20 % nylon, 5 % POM, 3 % polyester,<br>-Remarque : évitez l’exposition aux aérosols comme les insecticides et certains écrans solaires, car ils peuvent altérer la surface de votre casque.<br>N° art fourn : 30936-182',`product_name`='Fox Casque Speedframe RACIK / Lavande',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-racik-lavande' WHERE `virtuemart_product_id` = '1860054'
2023-10-13	12:27:37	562	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:37	562	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860054 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:37	562	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:37	562	[DEBUG]	Executed store
2023-10-13	12:27:37	562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860054','0','179.9','0','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:37	562	[DEBUG]	Checking manufacturer
2023-10-13	12:27:37	562	[DEBUG]	Load a row
2023-10-13	12:27:37	562	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:37	562	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:37	562	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:37	562	[DEBUG]	Executed store
2023-10-13	12:27:37	562	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:37	562	[DEBUG]	Manufacturer exists
2023-10-13	12:27:37	562	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:37	562	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:37	562	[DEBUG]	Executed store
2023-10-13	12:27:37	562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860054','44')
2023-10-13	12:27:38	562	[DEBUG]	Find the custom field ID
2023-10-13	12:27:38	562	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:38	562	[DEBUG]	No custom field ID found
2023-10-13	12:27:38	562	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:38	562	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:38	562	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860054 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:38	562	[DEBUG]	Store custom available field
2023-10-13	12:27:38	562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860054,3,'9.8725',1)
2023-10-13	12:27:38	562	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:38	562	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:38	562	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860054 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:38	562	[DEBUG]	Store custom available field
2023-10-13	12:27:38	562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860054,6,'choisir la taille',3)
2023-10-13	12:27:38	562	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:38	562	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:38	562	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:38	562	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:38	562	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860054 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:38	562	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:38	562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860054,8,1)
2023-10-13	12:27:38	562	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:38	562	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860054\":[1860054,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860054
2023-10-13	12:27:38	562	[DEBUG]	Checking category
2023-10-13	12:27:38	562	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:38	562	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860054
2023-10-13	12:27:38	562	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:38	562	[DEBUG]	Executed store
2023-10-13	12:27:38	562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860054','7281')
2023-10-13	12:27:38	562	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:38	562	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860054 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:38	562	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:38	562	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860054
2023-10-13	12:27:38	563	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:38	563	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:38	563	[DEBUG]	Use field value for field taille
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:38	563	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:38	563	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:38	563	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field file_url
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:38	563	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:38	563	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:38	563	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:38	563	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:38	563	[DEBUG]	Use field value for field published
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:38	563	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field override
2023-10-13	12:27:38	563	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:38	563	[DEBUG]	Use field value for field slug
2023-10-13	12:27:38	563	[DEBUG]	Process line 563
2023-10-13	12:27:38	563	[DEBUG]	Load a row
2023-10-13	12:27:38	563	[DEBUG]	Processing item: 1000022734760
2023-10-13	12:27:38	563	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:38	563	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:38	563	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9817_896'
2023-10-13	12:27:38	563	[DEBUG]	Product tax: 0
2023-10-13	12:27:38	563	[DEBUG]	Query for Product
2023-10-13	12:27:38	563	[DEBUG]	Executed store
2023-10-13	12:27:38	563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860054','1000022734760','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:38	563	[DEBUG]	No parent found
2023-10-13	12:27:38	563	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860054 AND customfield_value = 'stockable'
2023-10-13	12:27:38	563	[DEBUG]	Check product language entry
2023-10-13	12:27:38	563	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860055
2023-10-13	12:27:38	563	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	563	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022734760' AND `virtuemart_product_id` != 1860055
2023-10-13	12:27:38	563	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:38	563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860055, '1000022734760')
2023-10-13	12:27:38	563	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	563	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-racik-lavande-s' AND `virtuemart_product_id` != 1860055
2023-10-13	12:27:38	563	[DEBUG]	Query for ProductLang
2023-10-13	12:27:38	563	[DEBUG]	Executed store
2023-10-13	12:27:38	563	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe RACIK / Lavande (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-racik-lavande-s' WHERE `virtuemart_product_id` = '1860055'
2023-10-13	12:27:38	563	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:38	563	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860055 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:38	563	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:38	563	[DEBUG]	Executed store
2023-10-13	12:27:38	563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860055','0','179.9','0','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:38	563	[DEBUG]	Checking manufacturer
2023-10-13	12:27:38	563	[DEBUG]	Load a row
2023-10-13	12:27:38	563	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:38	563	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	563	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:38	563	[DEBUG]	Executed store
2023-10-13	12:27:38	563	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	563	[DEBUG]	Manufacturer exists
2023-10-13	12:27:38	563	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:38	563	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:38	563	[DEBUG]	Executed store
2023-10-13	12:27:38	563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860055','44')
2023-10-13	12:27:38	563	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:38	563	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:38	563	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860055 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:38	563	[DEBUG]	Store custom available field
2023-10-13	12:27:38	563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860055,3,'',1)
2023-10-13	12:27:38	563	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:38	563	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:27:38	563	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860055 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:38	563	[DEBUG]	Store custom available field
2023-10-13	12:27:38	563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860055,6,'S',3)
2023-10-13	12:27:38	563	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:38	563	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:38	563	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860054
2023-10-13	12:27:38	563	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:38	563	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\"}]|clabels=0|options={\"1860054\":[1860054,8,1,\"choisir la taille\"],\"1860055\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1860054
2023-10-13	12:27:38	563	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:38	563	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860055
2023-10-13	12:27:38	564	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:38	564	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:38	564	[DEBUG]	Use field value for field taille
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:38	564	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:38	564	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:38	564	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field file_url
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:38	564	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:38	564	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:38	564	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:38	564	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:38	564	[DEBUG]	Use field value for field published
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:38	564	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field override
2023-10-13	12:27:38	564	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:38	564	[DEBUG]	Use field value for field slug
2023-10-13	12:27:38	564	[DEBUG]	Process line 564
2023-10-13	12:27:38	564	[DEBUG]	Load a row
2023-10-13	12:27:38	564	[DEBUG]	Processing item: 1000022734777
2023-10-13	12:27:38	564	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:38	564	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:38	564	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9817_896'
2023-10-13	12:27:38	564	[DEBUG]	Product tax: 0
2023-10-13	12:27:38	564	[DEBUG]	Query for Product
2023-10-13	12:27:38	564	[DEBUG]	Executed store
2023-10-13	12:27:38	564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860054','1000022734777','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:38	564	[DEBUG]	No parent found
2023-10-13	12:27:38	564	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860054 AND customfield_value = 'stockable'
2023-10-13	12:27:38	564	[DEBUG]	Check product language entry
2023-10-13	12:27:38	564	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860056
2023-10-13	12:27:38	564	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	564	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022734777' AND `virtuemart_product_id` != 1860056
2023-10-13	12:27:38	564	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:38	564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860056, '1000022734777')
2023-10-13	12:27:38	564	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	564	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-racik-lavande-m' AND `virtuemart_product_id` != 1860056
2023-10-13	12:27:38	564	[DEBUG]	Query for ProductLang
2023-10-13	12:27:38	564	[DEBUG]	Executed store
2023-10-13	12:27:38	564	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe RACIK / Lavande (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-racik-lavande-m' WHERE `virtuemart_product_id` = '1860056'
2023-10-13	12:27:38	564	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:38	564	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860056 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:38	564	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:38	564	[DEBUG]	Executed store
2023-10-13	12:27:38	564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860056','0','179.9','0','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:38	564	[DEBUG]	Checking manufacturer
2023-10-13	12:27:38	564	[DEBUG]	Load a row
2023-10-13	12:27:38	564	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:38	564	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	564	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:38	564	[DEBUG]	Executed store
2023-10-13	12:27:38	564	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	564	[DEBUG]	Manufacturer exists
2023-10-13	12:27:38	564	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:38	564	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:38	564	[DEBUG]	Executed store
2023-10-13	12:27:38	564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860056','44')
2023-10-13	12:27:38	564	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:38	564	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:38	564	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860056 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:38	564	[DEBUG]	Store custom available field
2023-10-13	12:27:38	564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860056,3,'',1)
2023-10-13	12:27:38	564	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:38	564	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:27:38	564	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860056 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:38	564	[DEBUG]	Store custom available field
2023-10-13	12:27:38	564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860056,6,'M',3)
2023-10-13	12:27:38	564	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:38	564	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:38	564	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860054
2023-10-13	12:27:38	564	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:38	564	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\r\\nM\"}]|clabels=0|options={\"1860054\":[1860054,8,1,\"choisir la taille\"],\"1860055\":[\"S\"],\"1860056\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1860054
2023-10-13	12:27:38	564	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:38	564	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860056
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:38	565	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field taille
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:38	565	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:38	565	[DEBUG]	Use default value for field file_url
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:38	565	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:38	565	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:38	565	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:38	565	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:38	565	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field published
2023-10-13	12:27:38	565	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:38	565	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field override
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:38	565	[DEBUG]	Use field value for field slug
2023-10-13	12:27:38	565	[DEBUG]	Process line 565
2023-10-13	12:27:38	565	[DEBUG]	Load a row
2023-10-13	12:27:38	565	[DEBUG]	Processing item: A_9818_150
2023-10-13	12:27:38	565	[DEBUG]	Product tax: 0
2023-10-13	12:27:38	565	[DEBUG]	Query for Product
2023-10-13	12:27:38	565	[DEBUG]	Executed store
2023-10-13	12:27:38	565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9818_150','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:38	565	[DEBUG]	Check product language entry
2023-10-13	12:27:38	565	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860057
2023-10-13	12:27:38	565	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	565	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9818_150' AND `virtuemart_product_id` != 1860057
2023-10-13	12:27:38	565	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:38	565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860057, 'A_9818_150')
2023-10-13	12:27:38	565	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	565	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-rose' AND `virtuemart_product_id` != 1860057
2023-10-13	12:27:38	565	[DEBUG]	Query for ProductLang
2023-10-13	12:27:38	565	[DEBUG]	Executed store
2023-10-13	12:27:38	565	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='-Système de protection MIPS® réduisant la force de rotation des chocs<br>-Ventilation optimisée grâce à une mousse EPS canalisée et moulée pour un refroidissement efficace<br>-Visière réglable offrant 3 positions différentes et compatible avec le port d’un masque<br>-Doublure confortable amovible, lavable et qui absorbe l’humidité<br>-Système de rétention à 360° pour un ajustement parfait à chaque sortie<br>-41 % EPS, 38 % polycarbonate, 20 % nylon, 5 % POM, 3 % polyester,<br>-Remarque : évitez l’exposition aux aérosols comme les insecticides et certains écrans solaires, car ils peuvent altérer la surface de votre casque.<br>N° art fourn : 31148-175',`product_name`='Fox Casque Speedframe  / Rose',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-rose' WHERE `virtuemart_product_id` = '1860057'
2023-10-13	12:27:38	565	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:38	565	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860057 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:38	565	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:38	565	[DEBUG]	Executed store
2023-10-13	12:27:38	565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860057','0','179.9','0','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:38	565	[DEBUG]	Checking manufacturer
2023-10-13	12:27:38	565	[DEBUG]	Load a row
2023-10-13	12:27:38	565	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:38	565	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	565	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:38	565	[DEBUG]	Executed store
2023-10-13	12:27:38	565	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	565	[DEBUG]	Manufacturer exists
2023-10-13	12:27:38	565	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:38	565	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:38	565	[DEBUG]	Executed store
2023-10-13	12:27:38	565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860057','44')
2023-10-13	12:27:38	565	[DEBUG]	Find the custom field ID
2023-10-13	12:27:38	565	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:38	565	[DEBUG]	No custom field ID found
2023-10-13	12:27:38	565	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:38	565	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:38	565	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860057 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:38	565	[DEBUG]	Store custom available field
2023-10-13	12:27:38	565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860057,3,'9.8725',1)
2023-10-13	12:27:38	565	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:38	565	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:38	565	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860057 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:38	565	[DEBUG]	Store custom available field
2023-10-13	12:27:38	565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860057,6,'choisir la taille',3)
2023-10-13	12:27:38	565	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:38	565	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:38	565	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:38	565	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:38	565	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860057 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:38	565	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:38	565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860057,8,1)
2023-10-13	12:27:38	565	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:38	565	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860057\":[1860057,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860057
2023-10-13	12:27:38	565	[DEBUG]	Checking category
2023-10-13	12:27:38	565	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:38	565	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860057
2023-10-13	12:27:38	565	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:38	565	[DEBUG]	Executed store
2023-10-13	12:27:38	565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860057','7281')
2023-10-13	12:27:38	565	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:38	565	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860057 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:38	565	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:38	565	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860057
2023-10-13	12:27:38	566	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:38	566	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:38	566	[DEBUG]	Use field value for field taille
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:38	566	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:38	566	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:38	566	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field file_url
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:38	566	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:38	566	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:38	566	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:38	566	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:38	566	[DEBUG]	Use field value for field published
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:38	566	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field override
2023-10-13	12:27:38	566	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:38	566	[DEBUG]	Use field value for field slug
2023-10-13	12:27:38	566	[DEBUG]	Process line 566
2023-10-13	12:27:38	566	[DEBUG]	Load a row
2023-10-13	12:27:38	566	[DEBUG]	Processing item: 1000022734784
2023-10-13	12:27:38	566	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:38	566	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:38	566	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9818_150'
2023-10-13	12:27:38	566	[DEBUG]	Product tax: 0
2023-10-13	12:27:38	566	[DEBUG]	Query for Product
2023-10-13	12:27:38	566	[DEBUG]	Executed store
2023-10-13	12:27:38	566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860057','1000022734784','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:38	566	[DEBUG]	No parent found
2023-10-13	12:27:38	566	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860057 AND customfield_value = 'stockable'
2023-10-13	12:27:38	566	[DEBUG]	Check product language entry
2023-10-13	12:27:38	566	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860058
2023-10-13	12:27:38	566	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	566	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022734784' AND `virtuemart_product_id` != 1860058
2023-10-13	12:27:38	566	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:38	566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860058, '1000022734784')
2023-10-13	12:27:38	566	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	566	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-rose-s' AND `virtuemart_product_id` != 1860058
2023-10-13	12:27:38	566	[DEBUG]	Query for ProductLang
2023-10-13	12:27:38	566	[DEBUG]	Executed store
2023-10-13	12:27:38	566	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe  / Rose (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-rose-s' WHERE `virtuemart_product_id` = '1860058'
2023-10-13	12:27:38	566	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:38	566	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860058 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:38	566	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:38	566	[DEBUG]	Executed store
2023-10-13	12:27:38	566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860058','0','179.9','0','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:38	566	[DEBUG]	Checking manufacturer
2023-10-13	12:27:38	566	[DEBUG]	Load a row
2023-10-13	12:27:38	566	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:38	566	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	566	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:38	566	[DEBUG]	Executed store
2023-10-13	12:27:38	566	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	566	[DEBUG]	Manufacturer exists
2023-10-13	12:27:38	566	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:38	566	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:38	566	[DEBUG]	Executed store
2023-10-13	12:27:38	566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860058','44')
2023-10-13	12:27:38	566	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:38	566	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:38	566	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860058 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:38	566	[DEBUG]	Store custom available field
2023-10-13	12:27:38	566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860058,3,'',1)
2023-10-13	12:27:38	566	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:38	566	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:27:38	566	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860058 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:38	566	[DEBUG]	Store custom available field
2023-10-13	12:27:38	566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860058,6,'S',3)
2023-10-13	12:27:38	566	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:38	566	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:38	566	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860057
2023-10-13	12:27:38	566	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:38	566	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\"}]|clabels=0|options={\"1860057\":[1860057,8,1,\"choisir la taille\"],\"1860058\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1860057
2023-10-13	12:27:38	566	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:38	566	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860058
2023-10-13	12:27:38	567	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:38	567	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:38	567	[DEBUG]	Use field value for field taille
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:38	567	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:38	567	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:38	567	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field file_url
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:38	567	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:38	567	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:38	567	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:38	567	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:38	567	[DEBUG]	Use field value for field published
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:38	567	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field override
2023-10-13	12:27:38	567	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:38	567	[DEBUG]	Use field value for field slug
2023-10-13	12:27:38	567	[DEBUG]	Process line 567
2023-10-13	12:27:38	567	[DEBUG]	Load a row
2023-10-13	12:27:38	567	[DEBUG]	Processing item: 1000022734791
2023-10-13	12:27:38	567	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:38	567	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:38	567	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9818_150'
2023-10-13	12:27:38	567	[DEBUG]	Product tax: 0
2023-10-13	12:27:38	567	[DEBUG]	Query for Product
2023-10-13	12:27:38	567	[DEBUG]	Executed store
2023-10-13	12:27:38	567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860057','1000022734791','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:38	567	[DEBUG]	No parent found
2023-10-13	12:27:38	567	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860057 AND customfield_value = 'stockable'
2023-10-13	12:27:38	567	[DEBUG]	Check product language entry
2023-10-13	12:27:38	567	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860059
2023-10-13	12:27:38	567	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	567	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022734791' AND `virtuemart_product_id` != 1860059
2023-10-13	12:27:38	567	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:38	567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860059, '1000022734791')
2023-10-13	12:27:38	567	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	567	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-rose-m' AND `virtuemart_product_id` != 1860059
2023-10-13	12:27:38	567	[DEBUG]	Query for ProductLang
2023-10-13	12:27:38	567	[DEBUG]	Executed store
2023-10-13	12:27:38	567	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe  / Rose (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-rose-m' WHERE `virtuemart_product_id` = '1860059'
2023-10-13	12:27:38	567	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:38	567	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860059 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:38	567	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:38	567	[DEBUG]	Executed store
2023-10-13	12:27:38	567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860059','0','179.9','0','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:38	567	[DEBUG]	Checking manufacturer
2023-10-13	12:27:38	567	[DEBUG]	Load a row
2023-10-13	12:27:38	567	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:38	567	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	567	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:38	567	[DEBUG]	Executed store
2023-10-13	12:27:38	567	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	567	[DEBUG]	Manufacturer exists
2023-10-13	12:27:38	567	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:38	567	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:38	567	[DEBUG]	Executed store
2023-10-13	12:27:38	567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860059','44')
2023-10-13	12:27:38	567	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:38	567	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:38	567	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860059 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:38	567	[DEBUG]	Store custom available field
2023-10-13	12:27:38	567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860059,3,'',1)
2023-10-13	12:27:38	567	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:38	567	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:27:38	567	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860059 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:38	567	[DEBUG]	Store custom available field
2023-10-13	12:27:38	567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860059,6,'M',3)
2023-10-13	12:27:38	567	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:38	567	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:38	567	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860057
2023-10-13	12:27:38	567	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:38	567	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\r\\nM\"}]|clabels=0|options={\"1860057\":[1860057,8,1,\"choisir la taille\"],\"1860058\":[\"S\"],\"1860059\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1860057
2023-10-13	12:27:38	567	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:38	567	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860059
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:38	568	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field taille
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:38	568	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:38	568	[DEBUG]	Use default value for field file_url
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:38	568	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:38	568	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:38	568	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:38	568	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:38	568	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field published
2023-10-13	12:27:38	568	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:38	568	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field override
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:38	568	[DEBUG]	Use field value for field slug
2023-10-13	12:27:38	568	[DEBUG]	Process line 568
2023-10-13	12:27:38	568	[DEBUG]	Load a row
2023-10-13	12:27:38	568	[DEBUG]	Processing item: A_9819_897
2023-10-13	12:27:38	568	[DEBUG]	Product tax: 0
2023-10-13	12:27:38	568	[DEBUG]	Query for Product
2023-10-13	12:27:38	568	[DEBUG]	Executed store
2023-10-13	12:27:38	568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9819_897','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:38	568	[DEBUG]	Check product language entry
2023-10-13	12:27:38	568	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860060
2023-10-13	12:27:38	568	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	568	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9819_897' AND `virtuemart_product_id` != 1860060
2023-10-13	12:27:38	568	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:38	568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860060, 'A_9819_897')
2023-10-13	12:27:38	568	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	568	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-iced-blue' AND `virtuemart_product_id` != 1860060
2023-10-13	12:27:38	568	[DEBUG]	Query for ProductLang
2023-10-13	12:27:38	568	[DEBUG]	Executed store
2023-10-13	12:27:38	568	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='-Système de protection MIPS® réduisant la force de rotation des chocs<br>-Ventilation optimisée grâce à une mousse EPS canalisée et moulée pour un refroidissement efficace<br>-Visière réglable offrant 3 positions différentes et compatible avec le port d’un masque<br>-Doublure confortable amovible, lavable et qui absorbe l’humidité<br>-Système de rétention à 360° pour un ajustement parfait à chaque sortie<br>-41 % EPS, 38 % polycarbonate, 20 % nylon, 5 % POM, 3 % polyester,<br>-Remarque : évitez l’exposition aux aérosols comme les insecticides et certains écrans solaires, car ils peuvent altérer la surface de votre casque.<br>N° art fourn : 30936-182',`product_name`='Fox Casque Speedframe  / ICED BLUE',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-iced-blue' WHERE `virtuemart_product_id` = '1860060'
2023-10-13	12:27:38	568	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:38	568	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860060 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:38	568	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:38	568	[DEBUG]	Executed store
2023-10-13	12:27:38	568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860060','0','179.9','0','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:38	568	[DEBUG]	Checking manufacturer
2023-10-13	12:27:38	568	[DEBUG]	Load a row
2023-10-13	12:27:38	568	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:38	568	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	568	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:38	568	[DEBUG]	Executed store
2023-10-13	12:27:38	568	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	568	[DEBUG]	Manufacturer exists
2023-10-13	12:27:38	568	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:38	568	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:38	568	[DEBUG]	Executed store
2023-10-13	12:27:38	568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860060','44')
2023-10-13	12:27:38	568	[DEBUG]	Find the custom field ID
2023-10-13	12:27:38	568	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:38	568	[DEBUG]	No custom field ID found
2023-10-13	12:27:38	568	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:38	568	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:38	568	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860060 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:38	568	[DEBUG]	Store custom available field
2023-10-13	12:27:38	568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860060,3,'9.8725',1)
2023-10-13	12:27:38	568	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:38	568	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:38	568	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860060 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:38	568	[DEBUG]	Store custom available field
2023-10-13	12:27:38	568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860060,6,'choisir la taille',3)
2023-10-13	12:27:38	568	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:38	568	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:38	568	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:38	568	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:38	568	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860060 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:38	568	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:38	568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860060,8,1)
2023-10-13	12:27:38	568	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:38	568	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860060\":[1860060,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860060
2023-10-13	12:27:38	568	[DEBUG]	Checking category
2023-10-13	12:27:38	568	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:38	568	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860060
2023-10-13	12:27:38	568	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:38	568	[DEBUG]	Executed store
2023-10-13	12:27:38	568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860060','7281')
2023-10-13	12:27:38	568	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:38	568	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860060 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:38	568	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:38	568	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860060
2023-10-13	12:27:38	569	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:38	569	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:38	569	[DEBUG]	Use field value for field taille
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:38	569	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:38	569	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:38	569	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field file_url
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:38	569	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:38	569	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:38	569	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:38	569	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:38	569	[DEBUG]	Use field value for field published
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:38	569	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field override
2023-10-13	12:27:38	569	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:38	569	[DEBUG]	Use field value for field slug
2023-10-13	12:27:38	569	[DEBUG]	Process line 569
2023-10-13	12:27:38	569	[DEBUG]	Load a row
2023-10-13	12:27:38	569	[DEBUG]	Processing item: 1000022734807
2023-10-13	12:27:38	569	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:38	569	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:38	569	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9819_897'
2023-10-13	12:27:38	569	[DEBUG]	Product tax: 0
2023-10-13	12:27:38	569	[DEBUG]	Query for Product
2023-10-13	12:27:38	569	[DEBUG]	Executed store
2023-10-13	12:27:38	569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860060','1000022734807','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:38	569	[DEBUG]	No parent found
2023-10-13	12:27:38	569	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860060 AND customfield_value = 'stockable'
2023-10-13	12:27:38	569	[DEBUG]	Check product language entry
2023-10-13	12:27:38	569	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860061
2023-10-13	12:27:38	569	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	569	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022734807' AND `virtuemart_product_id` != 1860061
2023-10-13	12:27:38	569	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:38	569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860061, '1000022734807')
2023-10-13	12:27:38	569	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	569	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-iced-blue-s' AND `virtuemart_product_id` != 1860061
2023-10-13	12:27:38	569	[DEBUG]	Query for ProductLang
2023-10-13	12:27:38	569	[DEBUG]	Executed store
2023-10-13	12:27:38	569	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe  / ICED BLUE (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-iced-blue-s' WHERE `virtuemart_product_id` = '1860061'
2023-10-13	12:27:38	569	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:38	569	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860061 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:38	569	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:38	569	[DEBUG]	Executed store
2023-10-13	12:27:38	569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860061','0','179.9','0','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:38	569	[DEBUG]	Checking manufacturer
2023-10-13	12:27:38	569	[DEBUG]	Load a row
2023-10-13	12:27:38	569	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:38	569	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	569	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:38	569	[DEBUG]	Executed store
2023-10-13	12:27:38	569	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	569	[DEBUG]	Manufacturer exists
2023-10-13	12:27:38	569	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:38	569	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:38	569	[DEBUG]	Executed store
2023-10-13	12:27:38	569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860061','44')
2023-10-13	12:27:38	569	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:38	569	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:38	569	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860061 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:38	569	[DEBUG]	Store custom available field
2023-10-13	12:27:38	569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860061,3,'',1)
2023-10-13	12:27:38	569	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:38	569	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:27:38	569	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860061 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:38	569	[DEBUG]	Store custom available field
2023-10-13	12:27:38	569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860061,6,'S',3)
2023-10-13	12:27:38	569	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:38	569	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:38	569	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860060
2023-10-13	12:27:38	569	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:38	569	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\"}]|clabels=0|options={\"1860060\":[1860060,8,1,\"choisir la taille\"],\"1860061\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1860060
2023-10-13	12:27:38	569	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:38	569	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860061
2023-10-13	12:27:38	570	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:38	570	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:38	570	[DEBUG]	Use field value for field taille
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:38	570	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:38	570	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:38	570	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field file_url
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:38	570	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:38	570	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:38	570	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:38	570	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:38	570	[DEBUG]	Use field value for field published
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:38	570	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field override
2023-10-13	12:27:38	570	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:38	570	[DEBUG]	Use field value for field slug
2023-10-13	12:27:38	570	[DEBUG]	Process line 570
2023-10-13	12:27:38	570	[DEBUG]	Load a row
2023-10-13	12:27:38	570	[DEBUG]	Processing item: 1000022734814
2023-10-13	12:27:38	570	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:38	570	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:38	570	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9819_897'
2023-10-13	12:27:38	570	[DEBUG]	Product tax: 0
2023-10-13	12:27:38	570	[DEBUG]	Query for Product
2023-10-13	12:27:38	570	[DEBUG]	Executed store
2023-10-13	12:27:38	570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860060','1000022734814','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:38	570	[DEBUG]	No parent found
2023-10-13	12:27:38	570	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860060 AND customfield_value = 'stockable'
2023-10-13	12:27:38	570	[DEBUG]	Check product language entry
2023-10-13	12:27:38	570	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860062
2023-10-13	12:27:38	570	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	570	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022734814' AND `virtuemart_product_id` != 1860062
2023-10-13	12:27:38	570	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:38	570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860062, '1000022734814')
2023-10-13	12:27:38	570	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	570	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-iced-blue-m' AND `virtuemart_product_id` != 1860062
2023-10-13	12:27:38	570	[DEBUG]	Query for ProductLang
2023-10-13	12:27:38	570	[DEBUG]	Executed store
2023-10-13	12:27:38	570	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe  / ICED BLUE (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-iced-blue-m' WHERE `virtuemart_product_id` = '1860062'
2023-10-13	12:27:38	570	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:38	570	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860062 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:38	570	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:38	570	[DEBUG]	Executed store
2023-10-13	12:27:38	570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860062','0','179.9','0','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:38	570	[DEBUG]	Checking manufacturer
2023-10-13	12:27:38	570	[DEBUG]	Load a row
2023-10-13	12:27:38	570	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:38	570	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	570	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:38	570	[DEBUG]	Executed store
2023-10-13	12:27:38	570	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	570	[DEBUG]	Manufacturer exists
2023-10-13	12:27:38	570	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:38	570	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:38	570	[DEBUG]	Executed store
2023-10-13	12:27:38	570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860062','44')
2023-10-13	12:27:38	570	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:38	570	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:38	570	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860062 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:38	570	[DEBUG]	Store custom available field
2023-10-13	12:27:38	570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860062,3,'',1)
2023-10-13	12:27:38	570	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:38	570	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:27:38	570	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860062 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:38	570	[DEBUG]	Store custom available field
2023-10-13	12:27:38	570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860062,6,'M',3)
2023-10-13	12:27:38	570	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:38	570	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:38	570	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860060
2023-10-13	12:27:38	570	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:38	570	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\r\\nM\"}]|clabels=0|options={\"1860060\":[1860060,8,1,\"choisir la taille\"],\"1860061\":[\"S\"],\"1860062\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1860060
2023-10-13	12:27:38	570	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:38	570	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860062
2023-10-13	12:27:38	571	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:38	571	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:38	571	[DEBUG]	Use field value for field taille
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:38	571	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:38	571	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:38	571	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field file_url
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:38	571	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:38	571	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:38	571	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:38	571	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:38	571	[DEBUG]	Use field value for field published
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:38	571	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field override
2023-10-13	12:27:38	571	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:38	571	[DEBUG]	Use field value for field slug
2023-10-13	12:27:38	571	[DEBUG]	Process line 571
2023-10-13	12:27:38	571	[DEBUG]	Load a row
2023-10-13	12:27:38	571	[DEBUG]	Processing item: 1000022734821
2023-10-13	12:27:38	571	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:38	571	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:38	571	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9819_897'
2023-10-13	12:27:38	571	[DEBUG]	Product tax: 0
2023-10-13	12:27:38	571	[DEBUG]	Query for Product
2023-10-13	12:27:38	571	[DEBUG]	Executed store
2023-10-13	12:27:38	571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860060','1000022734821','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:38	571	[DEBUG]	No parent found
2023-10-13	12:27:38	571	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860060 AND customfield_value = 'stockable'
2023-10-13	12:27:38	571	[DEBUG]	Check product language entry
2023-10-13	12:27:38	571	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860063
2023-10-13	12:27:38	571	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	571	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022734821' AND `virtuemart_product_id` != 1860063
2023-10-13	12:27:38	571	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:38	571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860063, '1000022734821')
2023-10-13	12:27:38	571	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	571	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-speedframe-iced-blue-l' AND `virtuemart_product_id` != 1860063
2023-10-13	12:27:38	571	[DEBUG]	Query for ProductLang
2023-10-13	12:27:38	571	[DEBUG]	Executed store
2023-10-13	12:27:38	571	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque Speedframe  / ICED BLUE (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-speedframe-iced-blue-l' WHERE `virtuemart_product_id` = '1860063'
2023-10-13	12:27:38	571	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:38	571	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860063 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:38	571	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:38	571	[DEBUG]	Executed store
2023-10-13	12:27:38	571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860063','0','179.9','0','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:38	571	[DEBUG]	Checking manufacturer
2023-10-13	12:27:38	571	[DEBUG]	Load a row
2023-10-13	12:27:38	571	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:38	571	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	571	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:38	571	[DEBUG]	Executed store
2023-10-13	12:27:38	571	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:27:38	571	[DEBUG]	Manufacturer exists
2023-10-13	12:27:38	571	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:27:38	571	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:38	571	[DEBUG]	Executed store
2023-10-13	12:27:38	571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860063','44')
2023-10-13	12:27:38	571	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:38	571	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:38	571	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860063 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:38	571	[DEBUG]	Store custom available field
2023-10-13	12:27:38	571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860063,3,'',1)
2023-10-13	12:27:38	571	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:38	571	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:27:38	571	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860063 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:38	571	[DEBUG]	Store custom available field
2023-10-13	12:27:38	571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860063,6,'L',3)
2023-10-13	12:27:38	571	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:38	571	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:38	571	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860060
2023-10-13	12:27:38	571	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:38	571	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\\r\\nM\\r\\nL\"}]|clabels=0|options={\"1860060\":[1860060,8,1,\"choisir la taille\"],\"1860061\":[\"S\"],\"1860062\":[\"M\"],\"1860063\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1860060
2023-10-13	12:27:38	571	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:38	571	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860063
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:38	572	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field taille
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:38	572	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:38	572	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:38	572	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:38	572	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:38	572	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:38	572	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field published
2023-10-13	12:27:38	572	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:38	572	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field override
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:38	572	[DEBUG]	Use field value for field slug
2023-10-13	12:27:38	572	[DEBUG]	Process line 572
2023-10-13	12:27:38	572	[DEBUG]	Load a row
2023-10-13	12:27:38	572	[DEBUG]	Processing item: A_9822_88
2023-10-13	12:27:38	572	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:38	572	[DEBUG]	Processing product tax
2023-10-13	12:27:38	572	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:38	572	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:38	572	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:38	572	[DEBUG]	Query for Product
2023-10-13	12:27:38	572	[DEBUG]	Executed store
2023-10-13	12:27:38	572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9822_88','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:38	572	[DEBUG]	Check product language entry
2023-10-13	12:27:38	572	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860064
2023-10-13	12:27:38	572	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	572	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9822_88' AND `virtuemart_product_id` != 1860064
2023-10-13	12:27:38	572	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:38	572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860064, 'A_9822_88')
2023-10-13	12:27:38	572	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:38	572	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-intox-blue' AND `virtuemart_product_id` != 1860064
2023-10-13	12:27:38	572	[DEBUG]	Query for ProductLang
2023-10-13	12:27:38	572	[DEBUG]	Executed store
2023-10-13	12:27:38	572	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le casque Bluegrass Superbold au design minimaliste a été conçu pour les prestations les plus audacieuses. Il intègre une coque externe en polymère ABS et une structure interne en EPS Intelligent Fusion. Grâce au système de réglage du tour de tête, il s\'ajuste en un tour de main. La fermeture anti-pincement évite tout désagrément au niveau de la peau. Les mousses sont lavables et anti-allergiques. Disponible en différentes tailles, ce modèle est destiné aux jeunes comme aux adultes.<br><br>Caractéristiques:<br><br>Coque externe en polymère ABS pour une utilisation intensive<br>Structure interne en EPS Intelligent Fusion<br>Mousses lavables et anti-allergiques<br>Fentes de ventilation<br>Système de réglage du tour de tête pour un ajustement en un tour de main<br>Fermeture anti-pincement protège la peau<br>Sangles résistantes<br>N° art fourn : 710.006.0',`product_name`='Bluegrass Casque INTOX  / Blue',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-intox-blue' WHERE `virtuemart_product_id` = '1860064'
2023-10-13	12:27:38	572	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39292_casque_bluegrass_intox_.png
2023-10-13	12:27:38	572	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:38	572	[DEBUG]	Process image file
2023-10-13	12:27:38	572	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:38	572	[DEBUG]	Mime type found: image/png
2023-10-13	12:27:38	572	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39292_casque_bluegrass_intox_.png
2023-10-13	12:27:38	572	[DEBUG]	Full name target: bcprisme/39292_casque_bluegrass_intox_.png
2023-10-13	12:27:39	572	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:39	572	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39292_casque_bluegrass_intox_.png'
2023-10-13	12:27:39	572	[DEBUG]	Query for Media
2023-10-13	12:27:39	572	[DEBUG]	Executed store
2023-10-13	12:27:39	572	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/39292_casque_bluegrass_intox_.png',`file_url_thumb`='bcprisme/39292_casque_bluegrass_intox_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1617146'
2023-10-13	12:27:39	572	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:39	572	[DEBUG]	Executed store
2023-10-13	12:27:39	572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860064','1617146','1')
2023-10-13	12:27:39	572	[DEBUG]	Store product image relation
2023-10-13	12:27:39	572	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:39	572	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860064 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:39	572	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:39	572	[DEBUG]	Executed store
2023-10-13	12:27:39	572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860064','0','134.633240482823','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:39	572	[DEBUG]	Checking manufacturer
2023-10-13	12:27:39	572	[DEBUG]	Load a row
2023-10-13	12:27:39	572	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:39	572	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:39	572	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:39	572	[DEBUG]	Executed store
2023-10-13	12:27:39	572	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:39	572	[DEBUG]	Manufacturer exists
2023-10-13	12:27:39	572	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:27:39	572	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:39	572	[DEBUG]	Executed store
2023-10-13	12:27:39	572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860064','50')
2023-10-13	12:27:39	572	[DEBUG]	Find the custom field ID
2023-10-13	12:27:39	572	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:39	572	[DEBUG]	No custom field ID found
2023-10-13	12:27:39	572	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:39	572	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:39	572	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860064 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:39	572	[DEBUG]	Store custom available field
2023-10-13	12:27:39	572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860064,3,'9.8725',1)
2023-10-13	12:27:39	572	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:39	572	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:39	572	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860064 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:39	572	[DEBUG]	Store custom available field
2023-10-13	12:27:39	572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860064,6,'choisir la taille',3)
2023-10-13	12:27:39	572	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:39	572	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:39	572	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:39	572	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:39	572	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860064 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:39	572	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:39	572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860064,8,1)
2023-10-13	12:27:39	572	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:39	572	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860064\":[1860064,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860064
2023-10-13	12:27:39	572	[DEBUG]	Checking category
2023-10-13	12:27:39	572	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:39	572	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860064
2023-10-13	12:27:39	572	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:39	572	[DEBUG]	Executed store
2023-10-13	12:27:39	572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860064','7281')
2023-10-13	12:27:39	572	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:39	572	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860064 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:39	572	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:39	572	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860064
2023-10-13	12:27:39	573	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:39	573	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:39	573	[DEBUG]	Use field value for field taille
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:39	573	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:39	573	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:39	573	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:39	573	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:39	573	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:39	573	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:39	573	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:39	573	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:39	573	[DEBUG]	Use field value for field published
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:39	573	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field override
2023-10-13	12:27:39	573	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:39	573	[DEBUG]	Use field value for field slug
2023-10-13	12:27:39	573	[DEBUG]	Process line 573
2023-10-13	12:27:39	573	[DEBUG]	Load a row
2023-10-13	12:27:39	573	[DEBUG]	Processing item: 8015190285306
2023-10-13	12:27:39	573	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:39	573	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:39	573	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9822_88'
2023-10-13	12:27:39	573	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:39	573	[DEBUG]	Processing product tax
2023-10-13	12:27:39	573	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:39	573	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:39	573	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:39	573	[DEBUG]	Query for Product
2023-10-13	12:27:39	573	[DEBUG]	Executed store
2023-10-13	12:27:39	573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860064','8015190285306','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:39	573	[DEBUG]	No parent found
2023-10-13	12:27:39	573	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860064 AND customfield_value = 'stockable'
2023-10-13	12:27:39	573	[DEBUG]	Check product language entry
2023-10-13	12:27:39	573	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860065
2023-10-13	12:27:39	573	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:39	573	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8015190285306' AND `virtuemart_product_id` != 1860065
2023-10-13	12:27:39	573	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:39	573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860065, '8015190285306')
2023-10-13	12:27:39	573	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:39	573	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-intox-blue-m' AND `virtuemart_product_id` != 1860065
2023-10-13	12:27:39	573	[DEBUG]	Query for ProductLang
2023-10-13	12:27:39	573	[DEBUG]	Executed store
2023-10-13	12:27:39	573	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bluegrass Casque INTOX  / Blue  (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-intox-blue-m' WHERE `virtuemart_product_id` = '1860065'
2023-10-13	12:27:39	573	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39292_casque_bluegrass_intox_.png
2023-10-13	12:27:39	573	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:39	573	[DEBUG]	Process image file
2023-10-13	12:27:39	573	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:39	573	[DEBUG]	Mime type found: image/png
2023-10-13	12:27:39	573	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39292_casque_bluegrass_intox_.png
2023-10-13	12:27:39	573	[DEBUG]	Full name target: bcprisme/39292_casque_bluegrass_intox_.png
2023-10-13	12:27:40	573	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:40	573	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39292_casque_bluegrass_intox_.png'
2023-10-13	12:27:40	573	[DEBUG]	Query for Media
2023-10-13	12:27:40	573	[DEBUG]	Executed store
2023-10-13	12:27:40	573	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/39292_casque_bluegrass_intox_.png',`file_url_thumb`='bcprisme/39292_casque_bluegrass_intox_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1617146'
2023-10-13	12:27:40	573	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:40	573	[DEBUG]	Executed store
2023-10-13	12:27:40	573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860065','1617146','1')
2023-10-13	12:27:40	573	[DEBUG]	Store product image relation
2023-10-13	12:27:40	573	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:40	573	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860065 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:40	573	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:40	573	[DEBUG]	Executed store
2023-10-13	12:27:40	573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860065','0','134.633240482823','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:40	573	[DEBUG]	Checking manufacturer
2023-10-13	12:27:40	573	[DEBUG]	Load a row
2023-10-13	12:27:40	573	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:40	573	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:40	573	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:40	573	[DEBUG]	Executed store
2023-10-13	12:27:40	573	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:40	573	[DEBUG]	Manufacturer exists
2023-10-13	12:27:40	573	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:27:40	573	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:40	573	[DEBUG]	Executed store
2023-10-13	12:27:40	573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860065','50')
2023-10-13	12:27:40	573	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:40	573	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:40	573	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860065 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:40	573	[DEBUG]	Store custom available field
2023-10-13	12:27:40	573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860065,3,'',1)
2023-10-13	12:27:40	573	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:40	573	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:27:40	573	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860065 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:40	573	[DEBUG]	Store custom available field
2023-10-13	12:27:40	573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860065,6,'M',3)
2023-10-13	12:27:40	573	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:40	573	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:40	573	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860064
2023-10-13	12:27:40	573	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:40	573	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nM\"}]|clabels=0|options={\"1860064\":[1860064,8,1,\"choisir la taille\"],\"1860065\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1860064
2023-10-13	12:27:40	573	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:40	573	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860065
2023-10-13	12:27:40	574	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:40	574	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:40	574	[DEBUG]	Use field value for field taille
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:40	574	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:40	574	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:40	574	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:40	574	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:40	574	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:40	574	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:40	574	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:40	574	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:40	574	[DEBUG]	Use field value for field published
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:40	574	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field override
2023-10-13	12:27:40	574	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:40	574	[DEBUG]	Use field value for field slug
2023-10-13	12:27:40	574	[DEBUG]	Process line 574
2023-10-13	12:27:40	574	[DEBUG]	Load a row
2023-10-13	12:27:40	574	[DEBUG]	Processing item: 1000022734906
2023-10-13	12:27:40	574	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:40	574	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:40	574	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9822_88'
2023-10-13	12:27:40	574	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:40	574	[DEBUG]	Processing product tax
2023-10-13	12:27:40	574	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:40	574	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:40	574	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:40	574	[DEBUG]	Query for Product
2023-10-13	12:27:40	574	[DEBUG]	Executed store
2023-10-13	12:27:40	574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860064','1000022734906','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:40	574	[DEBUG]	No parent found
2023-10-13	12:27:40	574	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860064 AND customfield_value = 'stockable'
2023-10-13	12:27:40	574	[DEBUG]	Check product language entry
2023-10-13	12:27:40	574	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860066
2023-10-13	12:27:40	574	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:40	574	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022734906' AND `virtuemart_product_id` != 1860066
2023-10-13	12:27:40	574	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:40	574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860066, '1000022734906')
2023-10-13	12:27:40	574	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:40	574	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-intox-blue-s' AND `virtuemart_product_id` != 1860066
2023-10-13	12:27:40	574	[DEBUG]	Query for ProductLang
2023-10-13	12:27:40	574	[DEBUG]	Executed store
2023-10-13	12:27:40	574	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bluegrass Casque INTOX  / Blue  (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-intox-blue-s' WHERE `virtuemart_product_id` = '1860066'
2023-10-13	12:27:40	574	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39292_casque_bluegrass_intox_.png
2023-10-13	12:27:40	574	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:40	574	[DEBUG]	Process image file
2023-10-13	12:27:40	574	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:40	574	[DEBUG]	Mime type found: image/png
2023-10-13	12:27:40	574	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39292_casque_bluegrass_intox_.png
2023-10-13	12:27:40	574	[DEBUG]	Full name target: bcprisme/39292_casque_bluegrass_intox_.png
2023-10-13	12:27:41	574	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:41	574	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39292_casque_bluegrass_intox_.png'
2023-10-13	12:27:41	574	[DEBUG]	Query for Media
2023-10-13	12:27:41	574	[DEBUG]	Executed store
2023-10-13	12:27:41	574	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/39292_casque_bluegrass_intox_.png',`file_url_thumb`='bcprisme/39292_casque_bluegrass_intox_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1617146'
2023-10-13	12:27:41	574	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:41	574	[DEBUG]	Executed store
2023-10-13	12:27:41	574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860066','1617146','1')
2023-10-13	12:27:41	574	[DEBUG]	Store product image relation
2023-10-13	12:27:41	574	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:41	574	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860066 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:41	574	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:41	574	[DEBUG]	Executed store
2023-10-13	12:27:41	574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860066','0','134.633240482823','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:41	574	[DEBUG]	Checking manufacturer
2023-10-13	12:27:41	574	[DEBUG]	Load a row
2023-10-13	12:27:41	574	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:41	574	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:41	574	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:41	574	[DEBUG]	Executed store
2023-10-13	12:27:41	574	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:41	574	[DEBUG]	Manufacturer exists
2023-10-13	12:27:41	574	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:27:41	574	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:41	574	[DEBUG]	Executed store
2023-10-13	12:27:41	574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860066','50')
2023-10-13	12:27:41	574	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:41	574	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:41	574	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860066 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:41	574	[DEBUG]	Store custom available field
2023-10-13	12:27:41	574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860066,3,'',1)
2023-10-13	12:27:41	574	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:41	574	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:27:41	574	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860066 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:41	574	[DEBUG]	Store custom available field
2023-10-13	12:27:41	574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860066,6,'S',3)
2023-10-13	12:27:41	574	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:41	574	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:41	574	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860064
2023-10-13	12:27:41	574	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:41	574	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nM\\r\\nS\"}]|clabels=0|options={\"1860064\":[1860064,8,1,\"choisir la taille\"],\"1860065\":[\"M\"],\"1860066\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1860064
2023-10-13	12:27:41	574	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:41	574	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860066
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:41	575	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field taille
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:41	575	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:41	575	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:41	575	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:41	575	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:41	575	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:41	575	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field published
2023-10-13	12:27:41	575	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:41	575	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field override
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:41	575	[DEBUG]	Use field value for field slug
2023-10-13	12:27:41	575	[DEBUG]	Process line 575
2023-10-13	12:27:41	575	[DEBUG]	Load a row
2023-10-13	12:27:41	575	[DEBUG]	Processing item: A_9822_898
2023-10-13	12:27:41	575	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:41	575	[DEBUG]	Processing product tax
2023-10-13	12:27:41	575	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:41	575	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:41	575	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:41	575	[DEBUG]	Query for Product
2023-10-13	12:27:41	575	[DEBUG]	Executed store
2023-10-13	12:27:41	575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9822_898','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:41	575	[DEBUG]	Check product language entry
2023-10-13	12:27:41	575	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860067
2023-10-13	12:27:41	575	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:41	575	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9822_898' AND `virtuemart_product_id` != 1860067
2023-10-13	12:27:41	575	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:41	575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860067, 'A_9822_898')
2023-10-13	12:27:41	575	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:41	575	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-intox-black-red' AND `virtuemart_product_id` != 1860067
2023-10-13	12:27:41	575	[DEBUG]	Query for ProductLang
2023-10-13	12:27:41	575	[DEBUG]	Executed store
2023-10-13	12:27:41	575	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le casque Bluegrass Superbold au design minimaliste a été conçu pour les prestations les plus audacieuses. Il intègre une coque externe en polymère ABS et une structure interne en EPS Intelligent Fusion. Grâce au système de réglage du tour de tête, il s\'ajuste en un tour de main. La fermeture anti-pincement évite tout désagrément au niveau de la peau. Les mousses sont lavables et anti-allergiques. Disponible en différentes tailles, ce modèle est destiné aux jeunes comme aux adultes.<br><br>Caractéristiques:<br><br>Coque externe en polymère ABS pour une utilisation intensive<br>Structure interne en EPS Intelligent Fusion<br>Mousses lavables et anti-allergiques<br>Fentes de ventilation<br>Système de réglage du tour de tête pour un ajustement en un tour de main<br>Fermeture anti-pincement protège la peau<br>Sangles résistantes<br>N° art fourn : 710.006.0',`product_name`='Bluegrass Casque INTOX  / Black Red',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-intox-black-red' WHERE `virtuemart_product_id` = '1860067'
2023-10-13	12:27:41	575	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39291_casque_bluegrass_intox_.png
2023-10-13	12:27:41	575	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:41	575	[DEBUG]	Process image file
2023-10-13	12:27:41	575	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:41	575	[DEBUG]	Mime type found: image/png
2023-10-13	12:27:41	575	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39291_casque_bluegrass_intox_.png
2023-10-13	12:27:41	575	[DEBUG]	Full name target: bcprisme/39291_casque_bluegrass_intox_.png
2023-10-13	12:27:42	575	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:42	575	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39291_casque_bluegrass_intox_.png'
2023-10-13	12:27:42	575	[DEBUG]	Query for Media
2023-10-13	12:27:42	575	[DEBUG]	Executed store
2023-10-13	12:27:42	575	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/39291_casque_bluegrass_intox_.png',`file_url_thumb`='bcprisme/39291_casque_bluegrass_intox_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1617149'
2023-10-13	12:27:42	575	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:42	575	[DEBUG]	Executed store
2023-10-13	12:27:42	575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860067','1617149','1')
2023-10-13	12:27:42	575	[DEBUG]	Store product image relation
2023-10-13	12:27:42	575	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:42	575	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860067 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:42	575	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:42	575	[DEBUG]	Executed store
2023-10-13	12:27:42	575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860067','0','134.633240482823','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:42	575	[DEBUG]	Checking manufacturer
2023-10-13	12:27:42	575	[DEBUG]	Load a row
2023-10-13	12:27:42	575	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:42	575	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:42	575	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:42	575	[DEBUG]	Executed store
2023-10-13	12:27:42	575	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:42	575	[DEBUG]	Manufacturer exists
2023-10-13	12:27:42	575	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:27:42	575	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:42	575	[DEBUG]	Executed store
2023-10-13	12:27:42	575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860067','50')
2023-10-13	12:27:42	575	[DEBUG]	Find the custom field ID
2023-10-13	12:27:42	575	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:42	575	[DEBUG]	No custom field ID found
2023-10-13	12:27:42	575	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:42	575	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:42	575	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860067 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:42	575	[DEBUG]	Store custom available field
2023-10-13	12:27:42	575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860067,3,'9.8725',1)
2023-10-13	12:27:42	575	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:42	575	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:42	575	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860067 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:42	575	[DEBUG]	Store custom available field
2023-10-13	12:27:42	575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860067,6,'choisir la taille',3)
2023-10-13	12:27:42	575	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:42	575	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:42	575	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:42	575	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:42	575	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860067 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:42	575	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:42	575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860067,8,1)
2023-10-13	12:27:42	575	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:42	575	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860067\":[1860067,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860067
2023-10-13	12:27:42	575	[DEBUG]	Checking category
2023-10-13	12:27:42	575	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:42	575	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860067
2023-10-13	12:27:42	575	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:42	575	[DEBUG]	Executed store
2023-10-13	12:27:42	575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860067','7281')
2023-10-13	12:27:42	575	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:42	575	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860067 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:42	575	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:42	575	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860067
2023-10-13	12:27:42	576	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:42	576	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:42	576	[DEBUG]	Use field value for field taille
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:42	576	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:42	576	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:42	576	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:42	576	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:42	576	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:42	576	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:42	576	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:42	576	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:42	576	[DEBUG]	Use field value for field published
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:42	576	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field override
2023-10-13	12:27:42	576	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:42	576	[DEBUG]	Use field value for field slug
2023-10-13	12:27:42	576	[DEBUG]	Process line 576
2023-10-13	12:27:42	576	[DEBUG]	Load a row
2023-10-13	12:27:42	576	[DEBUG]	Processing item: 8015190271798
2023-10-13	12:27:42	576	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:42	576	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:42	576	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9822_898'
2023-10-13	12:27:42	576	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:42	576	[DEBUG]	Processing product tax
2023-10-13	12:27:42	576	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:42	576	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:42	576	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:42	576	[DEBUG]	Query for Product
2023-10-13	12:27:42	576	[DEBUG]	Executed store
2023-10-13	12:27:42	576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860067','8015190271798','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:42	576	[DEBUG]	No parent found
2023-10-13	12:27:42	576	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860067 AND customfield_value = 'stockable'
2023-10-13	12:27:42	576	[DEBUG]	Check product language entry
2023-10-13	12:27:42	576	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860068
2023-10-13	12:27:42	576	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:42	576	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8015190271798' AND `virtuemart_product_id` != 1860068
2023-10-13	12:27:42	576	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:42	576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860068, '8015190271798')
2023-10-13	12:27:42	576	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:42	576	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-intox-black-red-m' AND `virtuemart_product_id` != 1860068
2023-10-13	12:27:42	576	[DEBUG]	Query for ProductLang
2023-10-13	12:27:42	576	[DEBUG]	Executed store
2023-10-13	12:27:42	576	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bluegrass Casque INTOX  / Black Red (M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-intox-black-red-m' WHERE `virtuemart_product_id` = '1860068'
2023-10-13	12:27:42	576	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39291_casque_bluegrass_intox_.png
2023-10-13	12:27:42	576	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:42	576	[DEBUG]	Process image file
2023-10-13	12:27:42	576	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:42	576	[DEBUG]	Mime type found: image/png
2023-10-13	12:27:42	576	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39291_casque_bluegrass_intox_.png
2023-10-13	12:27:42	576	[DEBUG]	Full name target: bcprisme/39291_casque_bluegrass_intox_.png
2023-10-13	12:27:43	576	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:43	576	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39291_casque_bluegrass_intox_.png'
2023-10-13	12:27:43	576	[DEBUG]	Query for Media
2023-10-13	12:27:43	576	[DEBUG]	Executed store
2023-10-13	12:27:43	576	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/39291_casque_bluegrass_intox_.png',`file_url_thumb`='bcprisme/39291_casque_bluegrass_intox_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1617149'
2023-10-13	12:27:43	576	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:43	576	[DEBUG]	Executed store
2023-10-13	12:27:43	576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860068','1617149','1')
2023-10-13	12:27:43	576	[DEBUG]	Store product image relation
2023-10-13	12:27:43	576	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:43	576	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860068 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:43	576	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:43	576	[DEBUG]	Executed store
2023-10-13	12:27:43	576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860068','0','134.633240482823','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:43	576	[DEBUG]	Checking manufacturer
2023-10-13	12:27:43	576	[DEBUG]	Load a row
2023-10-13	12:27:43	576	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:43	576	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:43	576	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:43	576	[DEBUG]	Executed store
2023-10-13	12:27:43	576	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:43	576	[DEBUG]	Manufacturer exists
2023-10-13	12:27:43	576	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:27:43	576	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:43	576	[DEBUG]	Executed store
2023-10-13	12:27:43	576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860068','50')
2023-10-13	12:27:43	576	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:43	576	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:43	576	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860068 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:43	576	[DEBUG]	Store custom available field
2023-10-13	12:27:43	576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860068,3,'',1)
2023-10-13	12:27:43	576	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:43	576	[DEBUG]	Get existing row with customfield value M
2023-10-13	12:27:43	576	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860068 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:43	576	[DEBUG]	Store custom available field
2023-10-13	12:27:43	576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860068,6,'M',3)
2023-10-13	12:27:43	576	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:43	576	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:43	576	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860067
2023-10-13	12:27:43	576	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:43	576	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nM\"}]|clabels=0|options={\"1860067\":[1860067,8,1,\"choisir la taille\"],\"1860068\":[\"M\"]}|' WHERE `virtuemart_product_id` = 1860067
2023-10-13	12:27:43	576	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:43	576	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860068
2023-10-13	12:27:43	577	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:43	577	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:43	577	[DEBUG]	Use field value for field taille
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:43	577	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:43	577	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:43	577	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:43	577	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:43	577	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:43	577	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:43	577	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:43	577	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:43	577	[DEBUG]	Use field value for field published
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:43	577	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field override
2023-10-13	12:27:43	577	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:43	577	[DEBUG]	Use field value for field slug
2023-10-13	12:27:43	577	[DEBUG]	Process line 577
2023-10-13	12:27:43	577	[DEBUG]	Load a row
2023-10-13	12:27:43	577	[DEBUG]	Processing item: 1000022734869
2023-10-13	12:27:43	577	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:43	577	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:43	577	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9822_898'
2023-10-13	12:27:43	577	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:43	577	[DEBUG]	Processing product tax
2023-10-13	12:27:43	577	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:43	577	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:43	577	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:43	577	[DEBUG]	Query for Product
2023-10-13	12:27:43	577	[DEBUG]	Executed store
2023-10-13	12:27:43	577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860067','1000022734869','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:43	577	[DEBUG]	No parent found
2023-10-13	12:27:43	577	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860067 AND customfield_value = 'stockable'
2023-10-13	12:27:43	577	[DEBUG]	Check product language entry
2023-10-13	12:27:43	577	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860069
2023-10-13	12:27:43	577	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:43	577	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022734869' AND `virtuemart_product_id` != 1860069
2023-10-13	12:27:43	577	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:43	577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860069, '1000022734869')
2023-10-13	12:27:43	577	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:43	577	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-intox-black-red-s' AND `virtuemart_product_id` != 1860069
2023-10-13	12:27:43	577	[DEBUG]	Query for ProductLang
2023-10-13	12:27:43	577	[DEBUG]	Executed store
2023-10-13	12:27:43	577	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bluegrass Casque INTOX  / Black Red (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-intox-black-red-s' WHERE `virtuemart_product_id` = '1860069'
2023-10-13	12:27:43	577	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39291_casque_bluegrass_intox_.png
2023-10-13	12:27:43	577	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:43	577	[DEBUG]	Process image file
2023-10-13	12:27:43	577	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:43	577	[DEBUG]	Mime type found: image/png
2023-10-13	12:27:43	577	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39291_casque_bluegrass_intox_.png
2023-10-13	12:27:43	577	[DEBUG]	Full name target: bcprisme/39291_casque_bluegrass_intox_.png
2023-10-13	12:27:44	577	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:44	577	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39291_casque_bluegrass_intox_.png'
2023-10-13	12:27:44	577	[DEBUG]	Query for Media
2023-10-13	12:27:44	577	[DEBUG]	Executed store
2023-10-13	12:27:44	577	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/39291_casque_bluegrass_intox_.png',`file_url_thumb`='bcprisme/39291_casque_bluegrass_intox_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1617149'
2023-10-13	12:27:44	577	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:44	577	[DEBUG]	Executed store
2023-10-13	12:27:44	577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860069','1617149','1')
2023-10-13	12:27:44	577	[DEBUG]	Store product image relation
2023-10-13	12:27:44	577	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:44	577	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860069 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:44	577	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:44	577	[DEBUG]	Executed store
2023-10-13	12:27:44	577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860069','0','134.633240482823','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:44	577	[DEBUG]	Checking manufacturer
2023-10-13	12:27:44	577	[DEBUG]	Load a row
2023-10-13	12:27:44	577	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:44	577	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:44	577	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:44	577	[DEBUG]	Executed store
2023-10-13	12:27:44	577	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:44	577	[DEBUG]	Manufacturer exists
2023-10-13	12:27:44	577	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:27:44	577	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:44	577	[DEBUG]	Executed store
2023-10-13	12:27:44	577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860069','50')
2023-10-13	12:27:44	577	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:44	577	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:44	577	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860069 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:44	577	[DEBUG]	Store custom available field
2023-10-13	12:27:44	577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860069,3,'',1)
2023-10-13	12:27:44	577	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:44	577	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:27:44	577	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860069 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:44	577	[DEBUG]	Store custom available field
2023-10-13	12:27:44	577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860069,6,'S',3)
2023-10-13	12:27:44	577	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:44	577	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:44	577	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860067
2023-10-13	12:27:44	577	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:44	577	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nM\\r\\nS\"}]|clabels=0|options={\"1860067\":[1860067,8,1,\"choisir la taille\"],\"1860068\":[\"M\"],\"1860069\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1860067
2023-10-13	12:27:44	577	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:44	577	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860069
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:44	578	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field taille
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field product_override_price
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:44	578	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:44	578	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:44	578	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:44	578	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:44	578	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:44	578	[DEBUG]	Use field value for field published
2023-10-13	12:27:45	578	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:45	578	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:45	578	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:45	578	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:45	578	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:45	578	[DEBUG]	Use field value for field override
2023-10-13	12:27:45	578	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:45	578	[DEBUG]	Use field value for field slug
2023-10-13	12:27:45	578	[DEBUG]	Process line 578
2023-10-13	12:27:45	578	[DEBUG]	Load a row
2023-10-13	12:27:45	578	[DEBUG]	Processing item: A_9824_899
2023-10-13	12:27:45	578	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:45	578	[DEBUG]	Processing product tax
2023-10-13	12:27:45	578	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:45	578	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:45	578	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:45	578	[DEBUG]	Query for Product
2023-10-13	12:27:45	578	[DEBUG]	Executed store
2023-10-13	12:27:45	578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9824_899','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:45	578	[DEBUG]	Check product language entry
2023-10-13	12:27:45	578	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860070
2023-10-13	12:27:45	578	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:45	578	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9824_899' AND `virtuemart_product_id` != 1860070
2023-10-13	12:27:45	578	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:45	578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860070, 'A_9824_899')
2023-10-13	12:27:45	578	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:45	578	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-helm-legit-carbon-noir-blanc' AND `virtuemart_product_id` != 1860070
2023-10-13	12:27:45	578	[DEBUG]	Query for ProductLang
2023-10-13	12:27:45	578	[DEBUG]	Executed store
2023-10-13	12:27:45	578	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Crossover MIPS est le casque idéal pour une utilisation polyvalente. Grâce aux clips de fixation invisibles, la visière se fixe/se retire facilement et le Crossover passe d\'un casque de VTT sportif avec visière à un casque de ville discret. Le système MIPS intégré protège efficacement ta tête en cas de chute contre les forces de rotation. Le feu arrière à LED intégré assure une grande visibilité au milieu du trafic routier.<br><br>Caractéristiques<br><br>Transformable de casque de VTT en un casque de ville<br>Système de clips invisibles pour la fixation de la visière<br>Système de protection du cerveau MIPS absorbe les forces de rotation<br>Coque en polycarbonate In-Mould avec doublure EPS<br>Système d\'ajustement Safe-T E-Mid à molette<br>Feu arrière intégré 4 LED, 60 heures d\'autonomie<br>Filet anti-insectes intégré<br>Autocollants réfléchissants à l\'arrière<br>Mousses confortables lavables à la main<br>Sangles avec boucles réglables<br>Certifications: CE, AS/NZS<br>N° art fourn : 710.005.008',`product_name`='Bluegrass Casque Helm Legit Carbon / Noir Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-helm-legit-carbon-noir-blanc' WHERE `virtuemart_product_id` = '1860070'
2023-10-13	12:27:45	578	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39294_casque_bluegrass_helm_legit_carbon.png
2023-10-13	12:27:45	578	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:45	578	[DEBUG]	Process image file
2023-10-13	12:27:45	578	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:45	578	[DEBUG]	Mime type found: image/png
2023-10-13	12:27:45	578	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39294_casque_bluegrass_helm_legit_carbon.png
2023-10-13	12:27:45	578	[DEBUG]	Full name target: bcprisme/39294_casque_bluegrass_helm_legit_carbon.png
2023-10-13	12:27:46	578	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:46	578	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39294_casque_bluegrass_helm_legit_carbon.png'
2023-10-13	12:27:46	578	[DEBUG]	Query for Media
2023-10-13	12:27:46	578	[DEBUG]	Executed store
2023-10-13	12:27:46	578	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/39294_casque_bluegrass_helm_legit_carbon.png',`file_url_thumb`='bcprisme/39294_casque_bluegrass_helm_legit_carbon.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1616781'
2023-10-13	12:27:46	578	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:46	578	[DEBUG]	Executed store
2023-10-13	12:27:46	578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860070','1616781','1')
2023-10-13	12:27:46	578	[DEBUG]	Store product image relation
2023-10-13	12:27:46	578	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:46	578	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860070 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:46	578	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:46	578	[DEBUG]	Executed store
2023-10-13	12:27:46	578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860070','0','506.035283194058','-1','366.759517177344','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:46	578	[DEBUG]	Checking manufacturer
2023-10-13	12:27:46	578	[DEBUG]	Load a row
2023-10-13	12:27:46	578	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:46	578	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:46	578	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:46	578	[DEBUG]	Executed store
2023-10-13	12:27:46	578	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:46	578	[DEBUG]	Manufacturer exists
2023-10-13	12:27:46	578	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:27:46	578	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:46	578	[DEBUG]	Executed store
2023-10-13	12:27:46	578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860070','50')
2023-10-13	12:27:46	578	[DEBUG]	Find the custom field ID
2023-10-13	12:27:46	578	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:46	578	[DEBUG]	No custom field ID found
2023-10-13	12:27:46	578	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:46	578	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:46	578	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860070 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:46	578	[DEBUG]	Store custom available field
2023-10-13	12:27:46	578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860070,3,'9.8725',1)
2023-10-13	12:27:46	578	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:46	578	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:46	578	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860070 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:46	578	[DEBUG]	Store custom available field
2023-10-13	12:27:46	578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860070,6,'choisir la taille',3)
2023-10-13	12:27:46	578	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:46	578	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:46	578	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:46	578	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:46	578	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860070 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:46	578	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:46	578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860070,8,1)
2023-10-13	12:27:46	578	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:46	578	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860070\":[1860070,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860070
2023-10-13	12:27:46	578	[DEBUG]	Checking category
2023-10-13	12:27:46	578	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:46	578	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860070
2023-10-13	12:27:46	578	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:46	578	[DEBUG]	Executed store
2023-10-13	12:27:46	578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860070','7281')
2023-10-13	12:27:46	578	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:46	578	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860070 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:46	578	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:46	578	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860070
2023-10-13	12:27:46	579	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:46	579	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:46	579	[DEBUG]	Use field value for field taille
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:46	579	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:46	579	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:46	579	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:46	579	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:46	579	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:46	579	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:46	579	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:46	579	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:46	579	[DEBUG]	Use field value for field published
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:46	579	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field override
2023-10-13	12:27:46	579	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:46	579	[DEBUG]	Use field value for field slug
2023-10-13	12:27:46	579	[DEBUG]	Process line 579
2023-10-13	12:27:46	579	[DEBUG]	Load a row
2023-10-13	12:27:46	579	[DEBUG]	Processing item: 1000022734890
2023-10-13	12:27:46	579	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:46	579	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:46	579	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9824_899'
2023-10-13	12:27:46	579	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:46	579	[DEBUG]	Processing product tax
2023-10-13	12:27:46	579	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:46	579	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:46	579	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:46	579	[DEBUG]	Query for Product
2023-10-13	12:27:46	579	[DEBUG]	Executed store
2023-10-13	12:27:46	579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860070','1000022734890','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:46	579	[DEBUG]	No parent found
2023-10-13	12:27:46	579	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860070 AND customfield_value = 'stockable'
2023-10-13	12:27:46	579	[DEBUG]	Check product language entry
2023-10-13	12:27:46	579	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860071
2023-10-13	12:27:46	579	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:46	579	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022734890' AND `virtuemart_product_id` != 1860071
2023-10-13	12:27:46	579	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:46	579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860071, '1000022734890')
2023-10-13	12:27:46	579	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:46	579	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bluegrass-casque-helm-legit-carbon-noir-blanc-xl' AND `virtuemart_product_id` != 1860071
2023-10-13	12:27:46	579	[DEBUG]	Query for ProductLang
2023-10-13	12:27:46	579	[DEBUG]	Executed store
2023-10-13	12:27:46	579	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bluegrass Casque Helm Legit Carbon / Noir Blanc (XL)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bluegrass-casque-helm-legit-carbon-noir-blanc-xl' WHERE `virtuemart_product_id` = '1860071'
2023-10-13	12:27:46	579	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39294_casque_bluegrass_helm_legit_carbon.png
2023-10-13	12:27:46	579	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:46	579	[DEBUG]	Process image file
2023-10-13	12:27:46	579	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:27:46	579	[DEBUG]	Mime type found: image/png
2023-10-13	12:27:46	579	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39294_casque_bluegrass_helm_legit_carbon.png
2023-10-13	12:27:46	579	[DEBUG]	Full name target: bcprisme/39294_casque_bluegrass_helm_legit_carbon.png
2023-10-13	12:27:47	579	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:47	579	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39294_casque_bluegrass_helm_legit_carbon.png'
2023-10-13	12:27:47	579	[DEBUG]	Query for Media
2023-10-13	12:27:47	579	[DEBUG]	Executed store
2023-10-13	12:27:47	579	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/39294_casque_bluegrass_helm_legit_carbon.png',`file_url_thumb`='bcprisme/39294_casque_bluegrass_helm_legit_carbon.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1616781'
2023-10-13	12:27:47	579	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:47	579	[DEBUG]	Executed store
2023-10-13	12:27:47	579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860071','1616781','1')
2023-10-13	12:27:47	579	[DEBUG]	Store product image relation
2023-10-13	12:27:47	579	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:47	579	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860071 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:47	579	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:47	579	[DEBUG]	Executed store
2023-10-13	12:27:47	579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860071','0','506.035283194058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:47	579	[DEBUG]	Checking manufacturer
2023-10-13	12:27:47	579	[DEBUG]	Load a row
2023-10-13	12:27:47	579	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:47	579	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:47	579	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:47	579	[DEBUG]	Executed store
2023-10-13	12:27:47	579	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-04-24-11-22-31369813830' WHERE `virtuemart_manufacturer_id` = '50'
2023-10-13	12:27:47	579	[DEBUG]	Manufacturer exists
2023-10-13	12:27:47	579	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 50
2023-10-13	12:27:47	579	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:47	579	[DEBUG]	Executed store
2023-10-13	12:27:47	579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860071','50')
2023-10-13	12:27:47	579	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:47	579	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:47	579	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860071 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:47	579	[DEBUG]	Store custom available field
2023-10-13	12:27:47	579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860071,3,'',1)
2023-10-13	12:27:47	579	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:47	579	[DEBUG]	Get existing row with customfield value XL
2023-10-13	12:27:47	579	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860071 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:47	579	[DEBUG]	Store custom available field
2023-10-13	12:27:47	579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860071,6,'XL',3)
2023-10-13	12:27:47	579	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:47	579	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:47	579	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860070
2023-10-13	12:27:47	579	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:47	579	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nXL\"}]|clabels=0|options={\"1860070\":[1860070,8,1,\"choisir la taille\"],\"1860071\":[\"XL\"]}|' WHERE `virtuemart_product_id` = 1860070
2023-10-13	12:27:47	579	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:47	579	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860071
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:47	580	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field taille
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:47	580	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:47	580	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:47	580	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:47	580	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:47	580	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:47	580	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field published
2023-10-13	12:27:47	580	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:47	580	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field override
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:47	580	[DEBUG]	Use field value for field slug
2023-10-13	12:27:47	580	[DEBUG]	Process line 580
2023-10-13	12:27:47	580	[DEBUG]	Load a row
2023-10-13	12:27:47	580	[DEBUG]	Processing item: A_3245_150
2023-10-13	12:27:47	580	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:47	580	[DEBUG]	Processing product tax
2023-10-13	12:27:47	580	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:47	580	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:47	580	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:47	580	[DEBUG]	Query for Product
2023-10-13	12:27:47	580	[DEBUG]	Executed store
2023-10-13	12:27:47	580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3245_150','0.256','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:47	580	[DEBUG]	Check product language entry
2023-10-13	12:27:47	580	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860072
2023-10-13	12:27:47	580	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:47	580	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3245_150' AND `virtuemart_product_id` != 1860072
2023-10-13	12:27:47	580	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:47	580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860072, 'A_3245_150')
2023-10-13	12:27:47	580	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:47	580	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-outmold-enfant-rose' AND `virtuemart_product_id` != 1860072
2023-10-13	12:27:47	580	[DEBUG]	Query for ProductLang
2023-10-13	12:27:47	580	[DEBUG]	Executed store
2023-10-13	12:27:47	580	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque MSC OUTMOLD KidsTaille S/M <br>Un vrai casque pour votre enfant! Le MSC kidz est homologué avec la technologie outmold et 2 finitions différentes. <br>  <br><br> <br><br><br>POIDS: 256 gr<br><br>N° art fourn : HM15KIDZ',`product_name`='MSC Casque MSC OUTMOLD Enfant / Rose',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-outmold-enfant-rose' WHERE `virtuemart_product_id` = '1860072'
2023-10-13	12:27:47	580	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15684.jpg
2023-10-13	12:27:47	580	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:47	580	[DEBUG]	Process image file
2023-10-13	12:27:47	580	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:47	580	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:47	580	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15684.jpg
2023-10-13	12:27:47	580	[DEBUG]	Full name target: bcprisme/image_15684.jpg
2023-10-13	12:27:48	580	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:48	580	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15684.jpg'
2023-10-13	12:27:48	580	[DEBUG]	Query for Media
2023-10-13	12:27:48	580	[DEBUG]	Executed store
2023-10-13	12:27:48	580	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15684.jpg',`file_url_thumb`='bcprisme/image_15684.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12370'
2023-10-13	12:27:48	580	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:48	580	[DEBUG]	Executed store
2023-10-13	12:27:48	580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860072','12370','1')
2023-10-13	12:27:48	580	[DEBUG]	Store product image relation
2023-10-13	12:27:48	580	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:48	580	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860072 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:48	580	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:48	580	[DEBUG]	Executed store
2023-10-13	12:27:48	580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860072','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:48	580	[DEBUG]	Checking manufacturer
2023-10-13	12:27:48	580	[DEBUG]	Load a row
2023-10-13	12:27:48	580	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:48	580	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:27:48	580	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:48	580	[DEBUG]	Executed store
2023-10-13	12:27:48	580	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:27:48	580	[DEBUG]	Manufacturer exists
2023-10-13	12:27:48	580	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:27:48	580	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:48	580	[DEBUG]	Executed store
2023-10-13	12:27:48	580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860072','32')
2023-10-13	12:27:48	580	[DEBUG]	Find the custom field ID
2023-10-13	12:27:48	580	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:48	580	[DEBUG]	No custom field ID found
2023-10-13	12:27:48	580	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:48	580	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	12:27:48	580	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860072 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:48	580	[DEBUG]	Store custom available field
2023-10-13	12:27:48	580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860072,3,'39.7891666666667',1)
2023-10-13	12:27:48	580	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:48	580	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:48	580	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860072 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:48	580	[DEBUG]	Store custom available field
2023-10-13	12:27:48	580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860072,6,'choisir la taille',3)
2023-10-13	12:27:48	580	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:48	580	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:48	580	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:48	580	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:48	580	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860072 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:48	580	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:48	580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860072,8,1)
2023-10-13	12:27:48	580	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:48	580	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860072\":[1860072,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860072
2023-10-13	12:27:48	580	[DEBUG]	Checking category
2023-10-13	12:27:48	580	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:48	580	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860072
2023-10-13	12:27:48	580	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:48	580	[DEBUG]	Executed store
2023-10-13	12:27:48	580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860072','7281')
2023-10-13	12:27:48	580	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:48	580	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860072 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:48	580	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:48	580	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860072
2023-10-13	12:27:48	581	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:48	581	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:48	581	[DEBUG]	Use field value for field taille
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:48	581	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:48	581	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:48	581	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:48	581	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:48	581	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:48	581	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:48	581	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:48	581	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:48	581	[DEBUG]	Use field value for field published
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:48	581	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field override
2023-10-13	12:27:48	581	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:48	581	[DEBUG]	Use field value for field slug
2023-10-13	12:27:48	581	[DEBUG]	Process line 581
2023-10-13	12:27:48	581	[DEBUG]	Load a row
2023-10-13	12:27:48	581	[DEBUG]	Processing item: 1000000052701
2023-10-13	12:27:48	581	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:48	581	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:48	581	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3245_150'
2023-10-13	12:27:48	581	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:48	581	[DEBUG]	Processing product tax
2023-10-13	12:27:48	581	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:48	581	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:48	581	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:48	581	[DEBUG]	Query for Product
2023-10-13	12:27:48	581	[DEBUG]	Executed store
2023-10-13	12:27:48	581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860072','1000000052701','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:48	581	[DEBUG]	No parent found
2023-10-13	12:27:48	581	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860072 AND customfield_value = 'stockable'
2023-10-13	12:27:48	581	[DEBUG]	Check product language entry
2023-10-13	12:27:48	581	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860073
2023-10-13	12:27:48	581	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:48	581	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000052701' AND `virtuemart_product_id` != 1860073
2023-10-13	12:27:48	581	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:48	581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860073, '1000000052701')
2023-10-13	12:27:48	581	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:48	581	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-outmold-enfant-rose-xs-s' AND `virtuemart_product_id` != 1860073
2023-10-13	12:27:48	581	[DEBUG]	Query for ProductLang
2023-10-13	12:27:48	581	[DEBUG]	Executed store
2023-10-13	12:27:48	581	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC OUTMOLD Enfant / Rose (XS/S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-outmold-enfant-rose-xs-s' WHERE `virtuemart_product_id` = '1860073'
2023-10-13	12:27:48	581	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15684.jpg
2023-10-13	12:27:48	581	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:48	581	[DEBUG]	Process image file
2023-10-13	12:27:48	581	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:48	581	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:48	581	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15684.jpg
2023-10-13	12:27:48	581	[DEBUG]	Full name target: bcprisme/image_15684.jpg
2023-10-13	12:27:49	581	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:49	581	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15684.jpg'
2023-10-13	12:27:49	581	[DEBUG]	Query for Media
2023-10-13	12:27:49	581	[DEBUG]	Executed store
2023-10-13	12:27:49	581	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15684.jpg',`file_url_thumb`='bcprisme/image_15684.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12370'
2023-10-13	12:27:49	581	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:49	581	[DEBUG]	Executed store
2023-10-13	12:27:49	581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860073','12370','1')
2023-10-13	12:27:49	581	[DEBUG]	Store product image relation
2023-10-13	12:27:49	581	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:49	581	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860073 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:49	581	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:49	581	[DEBUG]	Executed store
2023-10-13	12:27:49	581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860073','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:49	581	[DEBUG]	Checking manufacturer
2023-10-13	12:27:49	581	[DEBUG]	Load a row
2023-10-13	12:27:49	581	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:49	581	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:27:49	581	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:49	581	[DEBUG]	Executed store
2023-10-13	12:27:49	581	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:27:49	581	[DEBUG]	Manufacturer exists
2023-10-13	12:27:49	581	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:27:49	581	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:49	581	[DEBUG]	Executed store
2023-10-13	12:27:49	581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860073','32')
2023-10-13	12:27:49	581	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:49	581	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:49	581	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860073 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:49	581	[DEBUG]	Store custom available field
2023-10-13	12:27:49	581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860073,3,'',1)
2023-10-13	12:27:49	581	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:49	581	[DEBUG]	Get existing row with customfield value XS/S
2023-10-13	12:27:49	581	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860073 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:49	581	[DEBUG]	Store custom available field
2023-10-13	12:27:49	581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860073,6,'XS/S',3)
2023-10-13	12:27:49	581	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:49	581	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:49	581	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860072
2023-10-13	12:27:49	581	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:49	581	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nXS\\/S\"}]|clabels=0|options={\"1860072\":[1860072,8,1,\"choisir la taille\"],\"1860073\":[\"XS\\/S\"]}|' WHERE `virtuemart_product_id` = 1860072
2023-10-13	12:27:49	581	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:49	581	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860073
2023-10-13	12:27:49	582	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:49	582	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:49	582	[DEBUG]	Use field value for field taille
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:49	582	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:49	582	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:49	582	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:49	582	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:49	582	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:49	582	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:49	582	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:49	582	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:49	582	[DEBUG]	Use field value for field published
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:49	582	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field override
2023-10-13	12:27:49	582	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:49	582	[DEBUG]	Use field value for field slug
2023-10-13	12:27:49	582	[DEBUG]	Process line 582
2023-10-13	12:27:49	582	[DEBUG]	Load a row
2023-10-13	12:27:49	582	[DEBUG]	Processing item: 8436550194968
2023-10-13	12:27:49	582	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:49	582	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:49	582	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3245_150'
2023-10-13	12:27:49	582	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:49	582	[DEBUG]	Processing product tax
2023-10-13	12:27:49	582	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:49	582	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:49	582	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:49	582	[DEBUG]	Query for Product
2023-10-13	12:27:49	582	[DEBUG]	Executed store
2023-10-13	12:27:49	582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860072','8436550194968','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:49	582	[DEBUG]	No parent found
2023-10-13	12:27:49	582	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860072 AND customfield_value = 'stockable'
2023-10-13	12:27:49	582	[DEBUG]	Check product language entry
2023-10-13	12:27:49	582	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860074
2023-10-13	12:27:49	582	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:49	582	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550194968' AND `virtuemart_product_id` != 1860074
2023-10-13	12:27:49	582	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:49	582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860074, '8436550194968')
2023-10-13	12:27:49	582	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:49	582	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-outmold-enfant-rose-s-m' AND `virtuemart_product_id` != 1860074
2023-10-13	12:27:49	582	[DEBUG]	Query for ProductLang
2023-10-13	12:27:49	582	[DEBUG]	Executed store
2023-10-13	12:27:49	582	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC OUTMOLD Enfant / Rose (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-outmold-enfant-rose-s-m' WHERE `virtuemart_product_id` = '1860074'
2023-10-13	12:27:49	582	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15684.jpg
2023-10-13	12:27:49	582	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:49	582	[DEBUG]	Process image file
2023-10-13	12:27:49	582	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:49	582	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:49	582	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15684.jpg
2023-10-13	12:27:49	582	[DEBUG]	Full name target: bcprisme/image_15684.jpg
2023-10-13	12:27:50	582	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:50	582	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15684.jpg'
2023-10-13	12:27:50	582	[DEBUG]	Query for Media
2023-10-13	12:27:50	582	[DEBUG]	Executed store
2023-10-13	12:27:50	582	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15684.jpg',`file_url_thumb`='bcprisme/image_15684.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12370'
2023-10-13	12:27:50	582	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:50	582	[DEBUG]	Executed store
2023-10-13	12:27:50	582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860074','12370','1')
2023-10-13	12:27:50	582	[DEBUG]	Store product image relation
2023-10-13	12:27:50	582	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:50	582	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860074 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:50	582	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:50	582	[DEBUG]	Executed store
2023-10-13	12:27:50	582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860074','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:50	582	[DEBUG]	Checking manufacturer
2023-10-13	12:27:50	582	[DEBUG]	Load a row
2023-10-13	12:27:50	582	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:50	582	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:27:50	582	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:50	582	[DEBUG]	Executed store
2023-10-13	12:27:50	582	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:27:50	582	[DEBUG]	Manufacturer exists
2023-10-13	12:27:50	582	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:27:50	582	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:50	582	[DEBUG]	Executed store
2023-10-13	12:27:50	582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860074','32')
2023-10-13	12:27:50	582	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:50	582	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:50	582	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860074 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:50	582	[DEBUG]	Store custom available field
2023-10-13	12:27:50	582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860074,3,'',1)
2023-10-13	12:27:50	582	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:50	582	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:27:50	582	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860074 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:50	582	[DEBUG]	Store custom available field
2023-10-13	12:27:50	582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860074,6,'S/M',3)
2023-10-13	12:27:50	582	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:50	582	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:50	582	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860072
2023-10-13	12:27:50	582	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:50	582	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nXS\\/S\\r\\nS\\/M\"}]|clabels=0|options={\"1860072\":[1860072,8,1,\"choisir la taille\"],\"1860073\":[\"XS\\/S\"],\"1860074\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1860072
2023-10-13	12:27:50	582	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:50	582	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860074
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:50	583	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field taille
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:50	583	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:50	583	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:50	583	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:50	583	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:50	583	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:50	583	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field published
2023-10-13	12:27:50	583	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:50	583	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field override
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:50	583	[DEBUG]	Use field value for field slug
2023-10-13	12:27:50	583	[DEBUG]	Process line 583
2023-10-13	12:27:50	583	[DEBUG]	Load a row
2023-10-13	12:27:50	583	[DEBUG]	Processing item: A_3245_157
2023-10-13	12:27:50	583	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:50	583	[DEBUG]	Processing product tax
2023-10-13	12:27:50	583	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:50	583	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:50	583	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:50	583	[DEBUG]	Query for Product
2023-10-13	12:27:50	583	[DEBUG]	Executed store
2023-10-13	12:27:50	583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3245_157','0.256','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:50	583	[DEBUG]	Check product language entry
2023-10-13	12:27:50	583	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860075
2023-10-13	12:27:50	583	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:50	583	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3245_157' AND `virtuemart_product_id` != 1860075
2023-10-13	12:27:50	583	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:50	583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860075, 'A_3245_157')
2023-10-13	12:27:50	583	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:50	583	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-outmold-enfant-bleu-jaune' AND `virtuemart_product_id` != 1860075
2023-10-13	12:27:50	583	[DEBUG]	Query for ProductLang
2023-10-13	12:27:50	583	[DEBUG]	Executed store
2023-10-13	12:27:50	583	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque MSC OUTMOLD KidsTaille S/M <br>Un vrai casque pour votre enfant! Le MSC kidz est homologué avec la technologie outmold et 2 finitions différentes. <br>  <br><br> <br><br><br>POIDS: 256 gr<br><br>N° art fourn : HM15KIDZ',`product_name`='MSC Casque MSC OUTMOLD Enfant / Bleu-jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-outmold-enfant-bleu-jaune' WHERE `virtuemart_product_id` = '1860075'
2023-10-13	12:27:50	583	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15683.jpg
2023-10-13	12:27:50	583	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:50	583	[DEBUG]	Process image file
2023-10-13	12:27:50	583	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:50	583	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:50	583	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15683.jpg
2023-10-13	12:27:50	583	[DEBUG]	Full name target: bcprisme/image_15683.jpg
2023-10-13	12:27:51	583	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:51	583	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15683.jpg'
2023-10-13	12:27:51	583	[DEBUG]	Query for Media
2023-10-13	12:27:51	583	[DEBUG]	Executed store
2023-10-13	12:27:51	583	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15683.jpg',`file_url_thumb`='bcprisme/image_15683.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12371'
2023-10-13	12:27:51	583	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:51	583	[DEBUG]	Executed store
2023-10-13	12:27:51	583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860075','12371','1')
2023-10-13	12:27:51	583	[DEBUG]	Store product image relation
2023-10-13	12:27:51	583	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:51	583	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860075 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:51	583	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:51	583	[DEBUG]	Executed store
2023-10-13	12:27:51	583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860075','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:51	583	[DEBUG]	Checking manufacturer
2023-10-13	12:27:51	583	[DEBUG]	Load a row
2023-10-13	12:27:51	583	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:51	583	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:27:51	583	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:51	583	[DEBUG]	Executed store
2023-10-13	12:27:51	583	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:27:51	583	[DEBUG]	Manufacturer exists
2023-10-13	12:27:51	583	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:27:51	583	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:51	583	[DEBUG]	Executed store
2023-10-13	12:27:51	583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860075','32')
2023-10-13	12:27:51	583	[DEBUG]	Find the custom field ID
2023-10-13	12:27:51	583	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:51	583	[DEBUG]	No custom field ID found
2023-10-13	12:27:51	583	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:51	583	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	12:27:51	583	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860075 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:51	583	[DEBUG]	Store custom available field
2023-10-13	12:27:51	583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860075,3,'39.7891666666667',1)
2023-10-13	12:27:51	583	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:51	583	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:51	583	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860075 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:51	583	[DEBUG]	Store custom available field
2023-10-13	12:27:51	583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860075,6,'choisir la taille',3)
2023-10-13	12:27:51	583	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:51	583	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:51	583	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:51	583	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:51	583	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860075 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:51	583	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:51	583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860075,8,1)
2023-10-13	12:27:51	583	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:51	583	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860075\":[1860075,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860075
2023-10-13	12:27:51	583	[DEBUG]	Checking category
2023-10-13	12:27:51	583	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:51	583	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860075
2023-10-13	12:27:51	583	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:51	583	[DEBUG]	Executed store
2023-10-13	12:27:51	583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860075','7281')
2023-10-13	12:27:51	583	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:51	583	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860075 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:51	583	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:51	583	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860075
2023-10-13	12:27:51	584	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:51	584	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:51	584	[DEBUG]	Use field value for field taille
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:51	584	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:51	584	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:51	584	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:51	584	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:51	584	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:51	584	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:51	584	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:51	584	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:51	584	[DEBUG]	Use field value for field published
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:51	584	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field override
2023-10-13	12:27:51	584	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:51	584	[DEBUG]	Use field value for field slug
2023-10-13	12:27:51	584	[DEBUG]	Process line 584
2023-10-13	12:27:51	584	[DEBUG]	Load a row
2023-10-13	12:27:51	584	[DEBUG]	Processing item: 1000000052718
2023-10-13	12:27:51	584	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:51	584	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:51	584	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3245_157'
2023-10-13	12:27:51	584	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:51	584	[DEBUG]	Processing product tax
2023-10-13	12:27:51	584	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:51	584	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:51	584	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:51	584	[DEBUG]	Query for Product
2023-10-13	12:27:51	584	[DEBUG]	Executed store
2023-10-13	12:27:51	584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860075','1000000052718','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:51	584	[DEBUG]	No parent found
2023-10-13	12:27:51	584	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860075 AND customfield_value = 'stockable'
2023-10-13	12:27:51	584	[DEBUG]	Check product language entry
2023-10-13	12:27:51	584	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860076
2023-10-13	12:27:51	584	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:51	584	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000052718' AND `virtuemart_product_id` != 1860076
2023-10-13	12:27:51	584	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:51	584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860076, '1000000052718')
2023-10-13	12:27:51	584	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:51	584	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-outmold-enfant-bleu-jaune-xs-s' AND `virtuemart_product_id` != 1860076
2023-10-13	12:27:51	584	[DEBUG]	Query for ProductLang
2023-10-13	12:27:51	584	[DEBUG]	Executed store
2023-10-13	12:27:51	584	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC OUTMOLD Enfant / Bleu-jaune (XS/S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-outmold-enfant-bleu-jaune-xs-s' WHERE `virtuemart_product_id` = '1860076'
2023-10-13	12:27:51	584	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15683.jpg
2023-10-13	12:27:51	584	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:51	584	[DEBUG]	Process image file
2023-10-13	12:27:51	584	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:51	584	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:51	584	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15683.jpg
2023-10-13	12:27:51	584	[DEBUG]	Full name target: bcprisme/image_15683.jpg
2023-10-13	12:27:52	584	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:52	584	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15683.jpg'
2023-10-13	12:27:52	584	[DEBUG]	Query for Media
2023-10-13	12:27:52	584	[DEBUG]	Executed store
2023-10-13	12:27:52	584	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15683.jpg',`file_url_thumb`='bcprisme/image_15683.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12371'
2023-10-13	12:27:52	584	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:52	584	[DEBUG]	Executed store
2023-10-13	12:27:52	584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860076','12371','1')
2023-10-13	12:27:52	584	[DEBUG]	Store product image relation
2023-10-13	12:27:52	584	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:52	584	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860076 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:52	584	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:52	584	[DEBUG]	Executed store
2023-10-13	12:27:52	584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860076','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:52	584	[DEBUG]	Checking manufacturer
2023-10-13	12:27:52	584	[DEBUG]	Load a row
2023-10-13	12:27:52	584	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:52	584	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:27:52	584	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:52	584	[DEBUG]	Executed store
2023-10-13	12:27:52	584	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:27:52	584	[DEBUG]	Manufacturer exists
2023-10-13	12:27:52	584	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:27:52	584	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:52	584	[DEBUG]	Executed store
2023-10-13	12:27:52	584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860076','32')
2023-10-13	12:27:52	584	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:52	584	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:52	584	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860076 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:52	584	[DEBUG]	Store custom available field
2023-10-13	12:27:52	584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860076,3,'',1)
2023-10-13	12:27:52	584	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:52	584	[DEBUG]	Get existing row with customfield value XS/S
2023-10-13	12:27:52	584	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860076 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:52	584	[DEBUG]	Store custom available field
2023-10-13	12:27:52	584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860076,6,'XS/S',3)
2023-10-13	12:27:52	584	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:52	584	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:52	584	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860075
2023-10-13	12:27:52	584	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:52	584	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nXS\\/S\"}]|clabels=0|options={\"1860075\":[1860075,8,1,\"choisir la taille\"],\"1860076\":[\"XS\\/S\"]}|' WHERE `virtuemart_product_id` = 1860075
2023-10-13	12:27:52	584	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:52	584	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860076
2023-10-13	12:27:52	585	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:52	585	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:52	585	[DEBUG]	Use field value for field taille
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:52	585	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:52	585	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:52	585	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:52	585	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:52	585	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:52	585	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:52	585	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:52	585	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:52	585	[DEBUG]	Use field value for field published
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:52	585	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field override
2023-10-13	12:27:52	585	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:52	585	[DEBUG]	Use field value for field slug
2023-10-13	12:27:52	585	[DEBUG]	Process line 585
2023-10-13	12:27:52	585	[DEBUG]	Load a row
2023-10-13	12:27:52	585	[DEBUG]	Processing item: 1000000080384
2023-10-13	12:27:52	585	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:52	585	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:52	585	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3245_157'
2023-10-13	12:27:52	585	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:52	585	[DEBUG]	Processing product tax
2023-10-13	12:27:52	585	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:52	585	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:52	585	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:52	585	[DEBUG]	Query for Product
2023-10-13	12:27:52	585	[DEBUG]	Executed store
2023-10-13	12:27:52	585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860075','1000000080384','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:52	585	[DEBUG]	No parent found
2023-10-13	12:27:52	585	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860075 AND customfield_value = 'stockable'
2023-10-13	12:27:52	585	[DEBUG]	Check product language entry
2023-10-13	12:27:52	585	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860077
2023-10-13	12:27:52	585	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:52	585	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000080384' AND `virtuemart_product_id` != 1860077
2023-10-13	12:27:52	585	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:52	585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860077, '1000000080384')
2023-10-13	12:27:52	585	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:52	585	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-casque-msc-outmold-enfant-bleu-jaune-s-m' AND `virtuemart_product_id` != 1860077
2023-10-13	12:27:52	585	[DEBUG]	Query for ProductLang
2023-10-13	12:27:52	585	[DEBUG]	Executed store
2023-10-13	12:27:52	585	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Casque MSC OUTMOLD Enfant / Bleu-jaune (S/M)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-casque-msc-outmold-enfant-bleu-jaune-s-m' WHERE `virtuemart_product_id` = '1860077'
2023-10-13	12:27:52	585	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15683.jpg
2023-10-13	12:27:52	585	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:52	585	[DEBUG]	Process image file
2023-10-13	12:27:52	585	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:52	585	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:52	585	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15683.jpg
2023-10-13	12:27:52	585	[DEBUG]	Full name target: bcprisme/image_15683.jpg
2023-10-13	12:27:53	585	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:53	585	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15683.jpg'
2023-10-13	12:27:53	585	[DEBUG]	Query for Media
2023-10-13	12:27:53	585	[DEBUG]	Executed store
2023-10-13	12:27:53	585	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15683.jpg',`file_url_thumb`='bcprisme/image_15683.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12371'
2023-10-13	12:27:53	585	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:53	585	[DEBUG]	Executed store
2023-10-13	12:27:53	585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860077','12371','1')
2023-10-13	12:27:53	585	[DEBUG]	Store product image relation
2023-10-13	12:27:53	585	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:53	585	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860077 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:53	585	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:53	585	[DEBUG]	Executed store
2023-10-13	12:27:53	585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860077','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:53	585	[DEBUG]	Checking manufacturer
2023-10-13	12:27:53	585	[DEBUG]	Load a row
2023-10-13	12:27:53	585	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:53	585	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:27:53	585	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:53	585	[DEBUG]	Executed store
2023-10-13	12:27:53	585	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:27:53	585	[DEBUG]	Manufacturer exists
2023-10-13	12:27:53	585	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:27:53	585	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:53	585	[DEBUG]	Executed store
2023-10-13	12:27:53	585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860077','32')
2023-10-13	12:27:53	585	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:53	585	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:53	585	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860077 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:53	585	[DEBUG]	Store custom available field
2023-10-13	12:27:53	585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860077,3,'',1)
2023-10-13	12:27:53	585	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:53	585	[DEBUG]	Get existing row with customfield value S/M
2023-10-13	12:27:53	585	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860077 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:53	585	[DEBUG]	Store custom available field
2023-10-13	12:27:53	585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860077,6,'S/M',3)
2023-10-13	12:27:53	585	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:53	585	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:53	585	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860075
2023-10-13	12:27:53	585	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:53	585	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nXS\\/S\\r\\nS\\/M\"}]|clabels=0|options={\"1860075\":[1860075,8,1,\"choisir la taille\"],\"1860076\":[\"XS\\/S\"],\"1860077\":[\"S\\/M\"]}|' WHERE `virtuemart_product_id` = 1860075
2023-10-13	12:27:53	585	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:53	585	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860077
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:53	586	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field taille
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:53	586	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:53	586	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:53	586	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:53	586	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:53	586	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:53	586	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field published
2023-10-13	12:27:53	586	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:53	586	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field override
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:53	586	[DEBUG]	Use field value for field slug
2023-10-13	12:27:53	586	[DEBUG]	Process line 586
2023-10-13	12:27:53	586	[DEBUG]	Load a row
2023-10-13	12:27:53	586	[DEBUG]	Processing item: A_7180_417
2023-10-13	12:27:53	586	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:53	586	[DEBUG]	Processing product tax
2023-10-13	12:27:53	586	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:53	586	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:53	586	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:53	586	[DEBUG]	Query for Product
2023-10-13	12:27:53	586	[DEBUG]	Executed store
2023-10-13	12:27:53	586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7180_417','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:53	586	[DEBUG]	Check product language entry
2023-10-13	12:27:53	586	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860078
2023-10-13	12:27:53	586	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:53	586	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7180_417' AND `virtuemart_product_id` != 1860078
2023-10-13	12:27:53	586	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:53	586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860078, 'A_7180_417')
2023-10-13	12:27:53	586	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:53	586	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-elfo-46-53cm-pink-butterflies' AND `virtuemart_product_id` != 1860078
2023-10-13	12:27:53	586	[DEBUG]	Query for ProductLang
2023-10-13	12:27:53	586	[DEBUG]	Executed store
2023-10-13	12:27:53	586	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Elfo a été spécialement développé pour répondre aux spécificité des têtes d\'enfants. Grâce à sa géométrie particulière, il garantit un contact permanent avec la fontanelle, la partie nécessitant la meilleure protection chez les enfants. Son design permet en outre une position assise droite dans les sièges enfant afin de ne pas gâcher le plaisir de la promenade en vélo. Pour des virées nocturnes, il intègre un éclairage arrière qui améliore la visibilité et la sécurité.<br><br>Géométrie spéciale pour une protection de la tête des enfants<br>Construction In Mold Intelligent Fusion<br>Sangles ajustables colorées pour un maintient parfait<br>Filets anti-insectes intégrés et éclairage LED arrière<br>Safe-T E-Twist pour un ajustement facile<br>N° art fourn : 720.001.001',`product_name`='MET Casque MET Enfant Elfo 46-53cm / Pink Butterflies',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-elfo-46-53cm-pink-butterflies' WHERE `virtuemart_product_id` = '1860078'
2023-10-13	12:27:53	586	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34868_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:27:53	586	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:53	586	[DEBUG]	Process image file
2023-10-13	12:27:53	586	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:53	586	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:53	586	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34868_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:27:53	586	[DEBUG]	Full name target: bcprisme/34868_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:27:54	586	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:54	586	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34868_casque_met_enfant_genio_52-57cm.jpg'
2023-10-13	12:27:54	586	[DEBUG]	Query for Media
2023-10-13	12:27:54	586	[DEBUG]	Executed store
2023-10-13	12:27:54	586	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34868_casque_met_enfant_genio_52-57cm.jpg',`file_url_thumb`='bcprisme/34868_casque_met_enfant_genio_52-57cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '232713'
2023-10-13	12:27:54	586	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:54	586	[DEBUG]	Executed store
2023-10-13	12:27:54	586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860078','232713','1')
2023-10-13	12:27:54	586	[DEBUG]	Store product image relation
2023-10-13	12:27:54	586	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:54	586	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860078 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:54	586	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:54	586	[DEBUG]	Executed store
2023-10-13	12:27:54	586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860078','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:54	586	[DEBUG]	Checking manufacturer
2023-10-13	12:27:54	586	[DEBUG]	Load a row
2023-10-13	12:27:54	586	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:54	586	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:54	586	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:54	586	[DEBUG]	Executed store
2023-10-13	12:27:54	586	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:54	586	[DEBUG]	Manufacturer exists
2023-10-13	12:27:54	586	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:54	586	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:54	586	[DEBUG]	Executed store
2023-10-13	12:27:54	586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860078','226')
2023-10-13	12:27:54	586	[DEBUG]	Find the custom field ID
2023-10-13	12:27:54	586	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:54	586	[DEBUG]	No custom field ID found
2023-10-13	12:27:54	586	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:54	586	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:54	586	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860078 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:54	586	[DEBUG]	Store custom available field
2023-10-13	12:27:54	586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860078,3,'9.8725',1)
2023-10-13	12:27:54	586	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:54	586	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:54	586	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860078 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:54	586	[DEBUG]	Store custom available field
2023-10-13	12:27:54	586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860078,6,'choisir la taille',3)
2023-10-13	12:27:54	586	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:54	586	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:54	586	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:54	586	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:54	586	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860078 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:54	586	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:54	586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860078,8,1)
2023-10-13	12:27:54	586	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:54	586	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860078\":[1860078,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860078
2023-10-13	12:27:54	586	[DEBUG]	Checking category
2023-10-13	12:27:54	586	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:54	586	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860078
2023-10-13	12:27:54	586	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:54	586	[DEBUG]	Executed store
2023-10-13	12:27:54	586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860078','7281')
2023-10-13	12:27:54	586	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:54	586	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860078 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:54	586	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:54	586	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860078
2023-10-13	12:27:54	587	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:54	587	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:54	587	[DEBUG]	Use field value for field taille
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:54	587	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:54	587	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:54	587	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:54	587	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:54	587	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:54	587	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:54	587	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:54	587	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:54	587	[DEBUG]	Use field value for field published
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:54	587	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field override
2023-10-13	12:27:54	587	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:54	587	[DEBUG]	Use field value for field slug
2023-10-13	12:27:54	587	[DEBUG]	Process line 587
2023-10-13	12:27:54	587	[DEBUG]	Load a row
2023-10-13	12:27:54	587	[DEBUG]	Processing item: 1000000125641
2023-10-13	12:27:54	587	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:54	587	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:54	587	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7180_417'
2023-10-13	12:27:54	587	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:54	587	[DEBUG]	Processing product tax
2023-10-13	12:27:54	587	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:54	587	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:54	587	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:54	587	[DEBUG]	Query for Product
2023-10-13	12:27:54	587	[DEBUG]	Executed store
2023-10-13	12:27:54	587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860078','1000000125641','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:54	587	[DEBUG]	No parent found
2023-10-13	12:27:54	587	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860078 AND customfield_value = 'stockable'
2023-10-13	12:27:54	587	[DEBUG]	Check product language entry
2023-10-13	12:27:54	587	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860079
2023-10-13	12:27:54	587	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:54	587	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125641' AND `virtuemart_product_id` != 1860079
2023-10-13	12:27:54	587	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:54	587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860079, '1000000125641')
2023-10-13	12:27:54	587	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:54	587	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-elfo-46-53cm-pink-butterflies-46-53cm' AND `virtuemart_product_id` != 1860079
2023-10-13	12:27:54	587	[DEBUG]	Query for ProductLang
2023-10-13	12:27:54	587	[DEBUG]	Executed store
2023-10-13	12:27:54	587	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Enfant Elfo 46-53cm / Pink Butterflies (46-53cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-elfo-46-53cm-pink-butterflies-46-53cm' WHERE `virtuemart_product_id` = '1860079'
2023-10-13	12:27:54	587	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34868_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:27:54	587	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:54	587	[DEBUG]	Process image file
2023-10-13	12:27:54	587	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:54	587	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:54	587	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34868_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:27:54	587	[DEBUG]	Full name target: bcprisme/34868_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:27:55	587	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:55	587	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34868_casque_met_enfant_genio_52-57cm.jpg'
2023-10-13	12:27:55	587	[DEBUG]	Query for Media
2023-10-13	12:27:55	587	[DEBUG]	Executed store
2023-10-13	12:27:55	587	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34868_casque_met_enfant_genio_52-57cm.jpg',`file_url_thumb`='bcprisme/34868_casque_met_enfant_genio_52-57cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '232713'
2023-10-13	12:27:55	587	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:55	587	[DEBUG]	Executed store
2023-10-13	12:27:55	587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860079','232713','1')
2023-10-13	12:27:55	587	[DEBUG]	Store product image relation
2023-10-13	12:27:55	587	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:55	587	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860079 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:55	587	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:55	587	[DEBUG]	Executed store
2023-10-13	12:27:55	587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860079','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:55	587	[DEBUG]	Checking manufacturer
2023-10-13	12:27:55	587	[DEBUG]	Load a row
2023-10-13	12:27:55	587	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:55	587	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:55	587	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:55	587	[DEBUG]	Executed store
2023-10-13	12:27:55	587	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:55	587	[DEBUG]	Manufacturer exists
2023-10-13	12:27:55	587	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:55	587	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:55	587	[DEBUG]	Executed store
2023-10-13	12:27:55	587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860079','226')
2023-10-13	12:27:55	587	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:55	587	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:55	587	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860079 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:55	587	[DEBUG]	Store custom available field
2023-10-13	12:27:55	587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860079,3,'',1)
2023-10-13	12:27:55	587	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:55	587	[DEBUG]	Get existing row with customfield value 46-53cm
2023-10-13	12:27:55	587	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860079 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:55	587	[DEBUG]	Store custom available field
2023-10-13	12:27:55	587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860079,6,'46-53cm',3)
2023-10-13	12:27:55	587	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:55	587	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:55	587	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860078
2023-10-13	12:27:55	587	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:55	587	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53cm\"}]|clabels=0|options={\"1860078\":[1860078,8,1,\"choisir la taille\"],\"1860079\":[\"46-53cm\"]}|' WHERE `virtuemart_product_id` = 1860078
2023-10-13	12:27:55	587	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:55	587	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860079
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:55	588	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field taille
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:55	588	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:55	588	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:55	588	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:55	588	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:55	588	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:55	588	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field published
2023-10-13	12:27:55	588	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:55	588	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field override
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:55	588	[DEBUG]	Use field value for field slug
2023-10-13	12:27:55	588	[DEBUG]	Process line 588
2023-10-13	12:27:55	588	[DEBUG]	Load a row
2023-10-13	12:27:55	588	[DEBUG]	Processing item: A_7180_418
2023-10-13	12:27:55	588	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:55	588	[DEBUG]	Processing product tax
2023-10-13	12:27:55	588	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:55	588	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:55	588	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:55	588	[DEBUG]	Query for Product
2023-10-13	12:27:55	588	[DEBUG]	Executed store
2023-10-13	12:27:55	588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7180_418','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:55	588	[DEBUG]	Check product language entry
2023-10-13	12:27:55	588	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860080
2023-10-13	12:27:55	588	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:55	588	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7180_418' AND `virtuemart_product_id` != 1860080
2023-10-13	12:27:55	588	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:55	588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860080, 'A_7180_418')
2023-10-13	12:27:55	588	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:55	588	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-elfo-46-53cm-green-monster' AND `virtuemart_product_id` != 1860080
2023-10-13	12:27:55	588	[DEBUG]	Query for ProductLang
2023-10-13	12:27:55	588	[DEBUG]	Executed store
2023-10-13	12:27:55	588	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Elfo a été spécialement développé pour répondre aux spécificité des têtes d\'enfants. Grâce à sa géométrie particulière, il garantit un contact permanent avec la fontanelle, la partie nécessitant la meilleure protection chez les enfants. Son design permet en outre une position assise droite dans les sièges enfant afin de ne pas gâcher le plaisir de la promenade en vélo. Pour des virées nocturnes, il intègre un éclairage arrière qui améliore la visibilité et la sécurité.<br><br>Géométrie spéciale pour une protection de la tête des enfants<br>Construction In Mold Intelligent Fusion<br>Sangles ajustables colorées pour un maintient parfait<br>Filets anti-insectes intégrés et éclairage LED arrière<br>Safe-T E-Twist pour un ajustement facile<br>N° art fourn : 720.001.001',`product_name`='MET Casque MET Enfant Elfo 46-53cm / Green Monster',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-elfo-46-53cm-green-monster' WHERE `virtuemart_product_id` = '1860080'
2023-10-13	12:27:55	588	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34869_casque_met_enfant_genio_52-57cm.png
2023-10-13	12:27:55	588	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	12:27:55	588	[DEBUG]	Process image file
2023-10-13	12:27:55	588	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	12:27:55	588	[DEBUG]	Mime type found: image/png
2023-10-13	12:27:55	588	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34869_casque_met_enfant_genio_52-57cm.png
2023-10-13	12:27:55	588	[DEBUG]	Full name target: bcprisme/34869_casque_met_enfant_genio_52-57cm.png
2023-10-13	12:27:56	588	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:56	588	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34869_casque_met_enfant_genio_52-57cm.png'
2023-10-13	12:27:56	588	[DEBUG]	Query for Media
2023-10-13	12:27:56	588	[DEBUG]	Executed store
2023-10-13	12:27:56	588	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34869_casque_met_enfant_genio_52-57cm.png',`file_url_thumb`='bcprisme/34869_casque_met_enfant_genio_52-57cm.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '232715'
2023-10-13	12:27:56	588	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:56	588	[DEBUG]	Executed store
2023-10-13	12:27:56	588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860080','232715','1')
2023-10-13	12:27:56	588	[DEBUG]	Store product image relation
2023-10-13	12:27:56	588	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:56	588	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860080 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:56	588	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:56	588	[DEBUG]	Executed store
2023-10-13	12:27:56	588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860080','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:56	588	[DEBUG]	Checking manufacturer
2023-10-13	12:27:56	588	[DEBUG]	Load a row
2023-10-13	12:27:56	588	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:56	588	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:56	588	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:56	588	[DEBUG]	Executed store
2023-10-13	12:27:56	588	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:56	588	[DEBUG]	Manufacturer exists
2023-10-13	12:27:56	588	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:56	588	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:56	588	[DEBUG]	Executed store
2023-10-13	12:27:56	588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860080','226')
2023-10-13	12:27:56	588	[DEBUG]	Find the custom field ID
2023-10-13	12:27:56	588	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:56	588	[DEBUG]	No custom field ID found
2023-10-13	12:27:56	588	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:56	588	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:56	588	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860080 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:56	588	[DEBUG]	Store custom available field
2023-10-13	12:27:56	588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860080,3,'9.8725',1)
2023-10-13	12:27:56	588	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:56	588	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:56	588	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860080 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:56	588	[DEBUG]	Store custom available field
2023-10-13	12:27:56	588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860080,6,'choisir la taille',3)
2023-10-13	12:27:56	588	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:56	588	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:56	588	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:56	588	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:56	588	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860080 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:56	588	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:56	588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860080,8,1)
2023-10-13	12:27:56	588	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:56	588	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860080\":[1860080,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860080
2023-10-13	12:27:56	588	[DEBUG]	Checking category
2023-10-13	12:27:56	588	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:56	588	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860080
2023-10-13	12:27:56	588	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:56	588	[DEBUG]	Executed store
2023-10-13	12:27:56	588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860080','7281')
2023-10-13	12:27:56	588	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:56	588	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860080 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:56	588	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:56	588	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860080
2023-10-13	12:27:56	589	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:56	589	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:56	589	[DEBUG]	Use field value for field taille
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:56	589	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:56	589	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:56	589	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:56	589	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:56	589	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:56	589	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:56	589	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:56	589	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:56	589	[DEBUG]	Use field value for field published
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:56	589	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field override
2023-10-13	12:27:56	589	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:56	589	[DEBUG]	Use field value for field slug
2023-10-13	12:27:56	589	[DEBUG]	Process line 589
2023-10-13	12:27:56	589	[DEBUG]	Load a row
2023-10-13	12:27:56	589	[DEBUG]	Processing item: 1000000125603
2023-10-13	12:27:56	589	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:56	589	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:56	589	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7180_418'
2023-10-13	12:27:56	589	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:56	589	[DEBUG]	Processing product tax
2023-10-13	12:27:56	589	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:56	589	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:56	589	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:56	589	[DEBUG]	Query for Product
2023-10-13	12:27:56	589	[DEBUG]	Executed store
2023-10-13	12:27:56	589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860080','1000000125603','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:56	589	[DEBUG]	No parent found
2023-10-13	12:27:56	589	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860080 AND customfield_value = 'stockable'
2023-10-13	12:27:56	589	[DEBUG]	Check product language entry
2023-10-13	12:27:56	589	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860081
2023-10-13	12:27:56	589	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:56	589	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125603' AND `virtuemart_product_id` != 1860081
2023-10-13	12:27:56	589	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:56	589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860081, '1000000125603')
2023-10-13	12:27:56	589	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:56	589	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-elfo-46-53cm-green-monster-46-53cm' AND `virtuemart_product_id` != 1860081
2023-10-13	12:27:56	589	[DEBUG]	Query for ProductLang
2023-10-13	12:27:56	589	[DEBUG]	Executed store
2023-10-13	12:27:56	589	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Enfant Elfo 46-53cm / Green Monster (46-53cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-elfo-46-53cm-green-monster-46-53cm' WHERE `virtuemart_product_id` = '1860081'
2023-10-13	12:27:56	589	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34869_casque_met_enfant_genio_52-57cm.png
2023-10-13	12:27:56	589	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	12:27:56	589	[DEBUG]	Process image file
2023-10-13	12:27:56	589	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	12:27:56	589	[DEBUG]	Mime type found: image/png
2023-10-13	12:27:56	589	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34869_casque_met_enfant_genio_52-57cm.png
2023-10-13	12:27:56	589	[DEBUG]	Full name target: bcprisme/34869_casque_met_enfant_genio_52-57cm.png
2023-10-13	12:27:57	589	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:57	589	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34869_casque_met_enfant_genio_52-57cm.png'
2023-10-13	12:27:57	589	[DEBUG]	Query for Media
2023-10-13	12:27:57	589	[DEBUG]	Executed store
2023-10-13	12:27:57	589	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34869_casque_met_enfant_genio_52-57cm.png',`file_url_thumb`='bcprisme/34869_casque_met_enfant_genio_52-57cm.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '232715'
2023-10-13	12:27:57	589	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:57	589	[DEBUG]	Executed store
2023-10-13	12:27:57	589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860081','232715','1')
2023-10-13	12:27:57	589	[DEBUG]	Store product image relation
2023-10-13	12:27:57	589	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:57	589	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860081 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:57	589	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:57	589	[DEBUG]	Executed store
2023-10-13	12:27:57	589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860081','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:57	589	[DEBUG]	Checking manufacturer
2023-10-13	12:27:57	589	[DEBUG]	Load a row
2023-10-13	12:27:57	589	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:57	589	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:57	589	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:57	589	[DEBUG]	Executed store
2023-10-13	12:27:57	589	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:57	589	[DEBUG]	Manufacturer exists
2023-10-13	12:27:57	589	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:57	589	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:57	589	[DEBUG]	Executed store
2023-10-13	12:27:57	589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860081','226')
2023-10-13	12:27:57	589	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:57	589	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:27:57	589	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860081 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:57	589	[DEBUG]	Store custom available field
2023-10-13	12:27:57	589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860081,3,'',1)
2023-10-13	12:27:57	589	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:57	589	[DEBUG]	Get existing row with customfield value 46-53cm
2023-10-13	12:27:57	589	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860081 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:57	589	[DEBUG]	Store custom available field
2023-10-13	12:27:57	589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860081,6,'46-53cm',3)
2023-10-13	12:27:57	589	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:57	589	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:27:57	589	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860080
2023-10-13	12:27:57	589	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:57	589	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53cm\"}]|clabels=0|options={\"1860080\":[1860080,8,1,\"choisir la taille\"],\"1860081\":[\"46-53cm\"]}|' WHERE `virtuemart_product_id` = 1860080
2023-10-13	12:27:57	589	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:57	589	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860081
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:57	590	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field taille
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field category_path
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:57	590	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:27:57	590	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:57	590	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field product_weight
2023-10-13	12:27:57	590	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:57	590	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:57	590	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field published
2023-10-13	12:27:57	590	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:57	590	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field custom_title
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field custom_param
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field override
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field public_price
2023-10-13	12:27:57	590	[DEBUG]	Use field value for field slug
2023-10-13	12:27:57	590	[DEBUG]	Process line 590
2023-10-13	12:27:57	590	[DEBUG]	Load a row
2023-10-13	12:27:57	590	[DEBUG]	Processing item: A_7180_419
2023-10-13	12:27:57	590	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:57	590	[DEBUG]	Processing product tax
2023-10-13	12:27:57	590	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:57	590	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:57	590	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:57	590	[DEBUG]	Query for Product
2023-10-13	12:27:57	590	[DEBUG]	Executed store
2023-10-13	12:27:57	590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7180_419','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:57	590	[DEBUG]	Check product language entry
2023-10-13	12:27:57	590	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860082
2023-10-13	12:27:57	590	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:57	590	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7180_419' AND `virtuemart_product_id` != 1860082
2023-10-13	12:27:57	590	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:57	590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860082, 'A_7180_419')
2023-10-13	12:27:57	590	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:57	590	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-elfo-46-53cm-shades-purple' AND `virtuemart_product_id` != 1860082
2023-10-13	12:27:57	590	[DEBUG]	Query for ProductLang
2023-10-13	12:27:57	590	[DEBUG]	Executed store
2023-10-13	12:27:57	590	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Elfo a été spécialement développé pour répondre aux spécificité des têtes d\'enfants. Grâce à sa géométrie particulière, il garantit un contact permanent avec la fontanelle, la partie nécessitant la meilleure protection chez les enfants. Son design permet en outre une position assise droite dans les sièges enfant afin de ne pas gâcher le plaisir de la promenade en vélo. Pour des virées nocturnes, il intègre un éclairage arrière qui améliore la visibilité et la sécurité.<br><br>Géométrie spéciale pour une protection de la tête des enfants<br>Construction In Mold Intelligent Fusion<br>Sangles ajustables colorées pour un maintient parfait<br>Filets anti-insectes intégrés et éclairage LED arrière<br>Safe-T E-Twist pour un ajustement facile<br>N° art fourn : 720.001.001',`product_name`='MET Casque MET Enfant Elfo 46-53cm / Shades Purple',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-elfo-46-53cm-shades-purple' WHERE `virtuemart_product_id` = '1860082'
2023-10-13	12:27:57	590	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34871_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:27:57	590	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:57	590	[DEBUG]	Process image file
2023-10-13	12:27:57	590	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:57	590	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:57	590	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34871_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:27:57	590	[DEBUG]	Full name target: bcprisme/34871_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:27:58	590	[DEBUG]	Checking if the file_url exists
2023-10-13	12:27:58	590	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34871_casque_met_enfant_genio_52-57cm.jpg'
2023-10-13	12:27:58	590	[DEBUG]	Query for Media
2023-10-13	12:27:58	590	[DEBUG]	Executed store
2023-10-13	12:27:58	590	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34871_casque_met_enfant_genio_52-57cm.jpg',`file_url_thumb`='bcprisme/34871_casque_met_enfant_genio_52-57cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '232717'
2023-10-13	12:27:58	590	[DEBUG]	Query for ProductMedia
2023-10-13	12:27:58	590	[DEBUG]	Executed store
2023-10-13	12:27:58	590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860082','232717','1')
2023-10-13	12:27:58	590	[DEBUG]	Store product image relation
2023-10-13	12:27:58	590	[DEBUG]	Finding a product_price_id
2023-10-13	12:27:58	590	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860082 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:27:58	590	[DEBUG]	Query for ProductPrice
2023-10-13	12:27:58	590	[DEBUG]	Executed store
2023-10-13	12:27:58	590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860082','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:27:58	590	[DEBUG]	Checking manufacturer
2023-10-13	12:27:58	590	[DEBUG]	Load a row
2023-10-13	12:27:58	590	[DEBUG]	Manufacturer already exists
2023-10-13	12:27:58	590	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:58	590	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:27:58	590	[DEBUG]	Executed store
2023-10-13	12:27:58	590	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:27:58	590	[DEBUG]	Manufacturer exists
2023-10-13	12:27:58	590	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:27:58	590	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:27:58	590	[DEBUG]	Executed store
2023-10-13	12:27:58	590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860082','226')
2023-10-13	12:27:58	590	[DEBUG]	Find the custom field ID
2023-10-13	12:27:58	590	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:27:58	590	[DEBUG]	No custom field ID found
2023-10-13	12:27:58	590	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:27:58	590	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:27:58	590	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860082 AND `virtuemart_custom_id` = 3
2023-10-13	12:27:58	590	[DEBUG]	Store custom available field
2023-10-13	12:27:58	590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860082,3,'9.8725',1)
2023-10-13	12:27:58	590	[DEBUG]	Processing custom available field: taille
2023-10-13	12:27:58	590	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:27:58	590	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860082 AND `virtuemart_custom_id` = 6
2023-10-13	12:27:58	590	[DEBUG]	Store custom available field
2023-10-13	12:27:58	590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860082,6,'choisir la taille',3)
2023-10-13	12:27:58	590	[DEBUG]	Process multi-variant fields
2023-10-13	12:27:58	590	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:27:58	590	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:27:58	590	[DEBUG]	Find the multi variant product entry
2023-10-13	12:27:58	590	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860082 AND `virtuemart_custom_id` = 8
2023-10-13	12:27:58	590	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:27:58	590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860082,8,1)
2023-10-13	12:27:58	590	[DEBUG]	Store the updated customfield_params
2023-10-13	12:27:58	590	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860082\":[1860082,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860082
2023-10-13	12:27:58	590	[DEBUG]	Checking category
2023-10-13	12:27:59	590	[DEBUG]	Get the existing categories for the product
2023-10-13	12:27:59	590	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860082
2023-10-13	12:27:59	590	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:27:59	590	[DEBUG]	Executed store
2023-10-13	12:27:59	590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860082','7281')
2023-10-13	12:27:59	590	[DEBUG]	Delete leftover product categories
2023-10-13	12:27:59	590	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860082 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:27:59	590	[DEBUG]	Update has fields after all processing
2023-10-13	12:27:59	590	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860082
2023-10-13	12:27:59	591	[DEBUG]	Use field value for field product_sku
2023-10-13	12:27:59	591	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:27:59	591	[DEBUG]	Use field value for field taille
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:27:59	591	[DEBUG]	Use field value for field product_name
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field category_path
2023-10-13	12:27:59	591	[DEBUG]	Use field value for field product_price
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:27:59	591	[DEBUG]	Use field value for field product_tax
2023-10-13	12:27:59	591	[DEBUG]	Use field value for field file_url
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field product_desc
2023-10-13	12:27:59	591	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:27:59	591	[DEBUG]	Use field value for field product_availability
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field product_weight
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field product_unit
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field related_products
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field product_special
2023-10-13	12:27:59	591	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:27:59	591	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:27:59	591	[DEBUG]	Use field value for field published
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field metadesc
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field metakey
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field custom_title
2023-10-13	12:27:59	591	[DEBUG]	Use field value for field custom_value
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field custom_param
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field override
2023-10-13	12:27:59	591	[DEBUG]	Use default value for field public_price
2023-10-13	12:27:59	591	[DEBUG]	Use field value for field slug
2023-10-13	12:27:59	591	[DEBUG]	Process line 591
2023-10-13	12:27:59	591	[DEBUG]	Load a row
2023-10-13	12:27:59	591	[DEBUG]	Processing item: 1000000125047
2023-10-13	12:27:59	591	[DEBUG]	Looking for parent SKU
2023-10-13	12:27:59	591	[DEBUG]	Checking product parent SKU
2023-10-13	12:27:59	591	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7180_419'
2023-10-13	12:27:59	591	[DEBUG]	Product tax: 7.7
2023-10-13	12:27:59	591	[DEBUG]	Processing product tax
2023-10-13	12:27:59	591	[DEBUG]	Check if calculation rule exists
2023-10-13	12:27:59	591	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:27:59	591	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:27:59	591	[DEBUG]	Query for Product
2023-10-13	12:27:59	591	[DEBUG]	Executed store
2023-10-13	12:27:59	591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860082','1000000125047','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:27:59	591	[DEBUG]	No parent found
2023-10-13	12:27:59	591	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860082 AND customfield_value = 'stockable'
2023-10-13	12:27:59	591	[DEBUG]	Check product language entry
2023-10-13	12:27:59	591	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860083
2023-10-13	12:27:59	591	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:59	591	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125047' AND `virtuemart_product_id` != 1860083
2023-10-13	12:27:59	591	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:27:59	591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860083, '1000000125047')
2023-10-13	12:27:59	591	[DEBUG]	Check if the product slug exists
2023-10-13	12:27:59	591	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-elfo-46-53cm-shades-purple-46-53cm' AND `virtuemart_product_id` != 1860083
2023-10-13	12:27:59	591	[DEBUG]	Query for ProductLang
2023-10-13	12:27:59	591	[DEBUG]	Executed store
2023-10-13	12:27:59	591	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Enfant Elfo 46-53cm / Shades Purple (46-53cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-elfo-46-53cm-shades-purple-46-53cm' WHERE `virtuemart_product_id` = '1860083'
2023-10-13	12:27:59	591	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34871_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:27:59	591	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:59	591	[DEBUG]	Process image file
2023-10-13	12:27:59	591	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:27:59	591	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:27:59	591	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34871_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:27:59	591	[DEBUG]	Full name target: bcprisme/34871_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:28:00	591	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:00	591	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34871_casque_met_enfant_genio_52-57cm.jpg'
2023-10-13	12:28:00	591	[DEBUG]	Query for Media
2023-10-13	12:28:00	591	[DEBUG]	Executed store
2023-10-13	12:28:00	591	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34871_casque_met_enfant_genio_52-57cm.jpg',`file_url_thumb`='bcprisme/34871_casque_met_enfant_genio_52-57cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '232717'
2023-10-13	12:28:00	591	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:00	591	[DEBUG]	Executed store
2023-10-13	12:28:00	591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860083','232717','1')
2023-10-13	12:28:00	591	[DEBUG]	Store product image relation
2023-10-13	12:28:00	591	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:00	591	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860083 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:00	591	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:00	591	[DEBUG]	Executed store
2023-10-13	12:28:00	591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860083','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:00	591	[DEBUG]	Checking manufacturer
2023-10-13	12:28:00	591	[DEBUG]	Load a row
2023-10-13	12:28:00	591	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:00	591	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:00	591	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:00	591	[DEBUG]	Executed store
2023-10-13	12:28:00	591	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:00	591	[DEBUG]	Manufacturer exists
2023-10-13	12:28:00	591	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:00	591	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:00	591	[DEBUG]	Executed store
2023-10-13	12:28:00	591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860083','226')
2023-10-13	12:28:00	591	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:00	591	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:00	591	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860083 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:00	591	[DEBUG]	Store custom available field
2023-10-13	12:28:00	591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860083,3,'',1)
2023-10-13	12:28:00	591	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:00	591	[DEBUG]	Get existing row with customfield value 46-53cm
2023-10-13	12:28:00	591	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860083 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:00	591	[DEBUG]	Store custom available field
2023-10-13	12:28:00	591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860083,6,'46-53cm',3)
2023-10-13	12:28:00	591	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:00	591	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:00	591	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860082
2023-10-13	12:28:00	591	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:00	591	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53cm\"}]|clabels=0|options={\"1860082\":[1860082,8,1,\"choisir la taille\"],\"1860083\":[\"46-53cm\"]}|' WHERE `virtuemart_product_id` = 1860082
2023-10-13	12:28:00	591	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:00	591	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860083
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:00	592	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field taille
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:00	592	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:00	592	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:00	592	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:00	592	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:00	592	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:00	592	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field published
2023-10-13	12:28:00	592	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:00	592	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field override
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:00	592	[DEBUG]	Use field value for field slug
2023-10-13	12:28:00	592	[DEBUG]	Process line 592
2023-10-13	12:28:00	592	[DEBUG]	Load a row
2023-10-13	12:28:00	592	[DEBUG]	Processing item: A_7180_496
2023-10-13	12:28:00	592	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:00	592	[DEBUG]	Processing product tax
2023-10-13	12:28:00	592	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:00	592	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:00	592	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:00	592	[DEBUG]	Query for Product
2023-10-13	12:28:00	592	[DEBUG]	Executed store
2023-10-13	12:28:00	592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7180_496','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:28:00	592	[DEBUG]	Check product language entry
2023-10-13	12:28:00	592	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860084
2023-10-13	12:28:00	592	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:00	592	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7180_496' AND `virtuemart_product_id` != 1860084
2023-10-13	12:28:00	592	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:00	592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860084, 'A_7180_496')
2023-10-13	12:28:00	592	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:00	592	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-elfo-46-53cm-iridescent-white-flowers' AND `virtuemart_product_id` != 1860084
2023-10-13	12:28:00	592	[DEBUG]	Query for ProductLang
2023-10-13	12:28:00	592	[DEBUG]	Executed store
2023-10-13	12:28:00	592	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Elfo a été spécialement développé pour répondre aux spécificité des têtes d\'enfants. Grâce à sa géométrie particulière, il garantit un contact permanent avec la fontanelle, la partie nécessitant la meilleure protection chez les enfants. Son design permet en outre une position assise droite dans les sièges enfant afin de ne pas gâcher le plaisir de la promenade en vélo. Pour des virées nocturnes, il intègre un éclairage arrière qui améliore la visibilité et la sécurité.<br><br>Géométrie spéciale pour une protection de la tête des enfants<br>Construction In Mold Intelligent Fusion<br>Sangles ajustables colorées pour un maintient parfait<br>Filets anti-insectes intégrés et éclairage LED arrière<br>Safe-T E-Twist pour un ajustement facile<br>N° art fourn : 720.001.001',`product_name`='MET Casque MET Enfant Elfo 46-53cm / Iridescent White Flowers',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-elfo-46-53cm-iridescent-white-flowers' WHERE `virtuemart_product_id` = '1860084'
2023-10-13	12:28:00	592	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34879_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:00	592	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:00	592	[DEBUG]	Process image file
2023-10-13	12:28:00	592	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:00	592	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:00	592	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34879_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:00	592	[DEBUG]	Full name target: bcprisme/34879_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:01	592	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:01	592	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34879_casque_met_enfant_elfo_46-53cm.jpg'
2023-10-13	12:28:01	592	[DEBUG]	Query for Media
2023-10-13	12:28:01	592	[DEBUG]	Executed store
2023-10-13	12:28:01	592	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34879_casque_met_enfant_elfo_46-53cm.jpg',`file_url_thumb`='bcprisme/34879_casque_met_enfant_elfo_46-53cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '464315'
2023-10-13	12:28:01	592	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:01	592	[DEBUG]	Executed store
2023-10-13	12:28:01	592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860084','464315','1')
2023-10-13	12:28:01	592	[DEBUG]	Store product image relation
2023-10-13	12:28:01	592	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:01	592	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860084 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:01	592	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:01	592	[DEBUG]	Executed store
2023-10-13	12:28:01	592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860084','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:01	592	[DEBUG]	Checking manufacturer
2023-10-13	12:28:01	592	[DEBUG]	Load a row
2023-10-13	12:28:01	592	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:01	592	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:01	592	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:01	592	[DEBUG]	Executed store
2023-10-13	12:28:01	592	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:01	592	[DEBUG]	Manufacturer exists
2023-10-13	12:28:01	592	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:01	592	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:01	592	[DEBUG]	Executed store
2023-10-13	12:28:01	592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860084','226')
2023-10-13	12:28:01	592	[DEBUG]	Find the custom field ID
2023-10-13	12:28:01	592	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:01	592	[DEBUG]	No custom field ID found
2023-10-13	12:28:01	592	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:01	592	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:01	592	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860084 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:01	592	[DEBUG]	Store custom available field
2023-10-13	12:28:01	592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860084,3,'9.8725',1)
2023-10-13	12:28:01	592	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:01	592	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:01	592	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860084 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:01	592	[DEBUG]	Store custom available field
2023-10-13	12:28:01	592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860084,6,'choisir la taille',3)
2023-10-13	12:28:01	592	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:01	592	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:01	592	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:01	592	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:01	592	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860084 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:01	592	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:01	592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860084,8,1)
2023-10-13	12:28:01	592	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:01	592	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860084\":[1860084,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860084
2023-10-13	12:28:01	592	[DEBUG]	Checking category
2023-10-13	12:28:01	592	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:01	592	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860084
2023-10-13	12:28:01	592	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:01	592	[DEBUG]	Executed store
2023-10-13	12:28:01	592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860084','7281')
2023-10-13	12:28:01	592	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:01	592	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860084 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:01	592	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:01	592	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860084
2023-10-13	12:28:01	593	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:01	593	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:01	593	[DEBUG]	Use field value for field taille
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:01	593	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:01	593	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:01	593	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:01	593	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:01	593	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:01	593	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:01	593	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:01	593	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:01	593	[DEBUG]	Use field value for field published
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:01	593	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field override
2023-10-13	12:28:01	593	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:01	593	[DEBUG]	Use field value for field slug
2023-10-13	12:28:01	593	[DEBUG]	Process line 593
2023-10-13	12:28:01	593	[DEBUG]	Load a row
2023-10-13	12:28:01	593	[DEBUG]	Processing item: 1000000125191
2023-10-13	12:28:01	593	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:01	593	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:01	593	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7180_496'
2023-10-13	12:28:01	593	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:01	593	[DEBUG]	Processing product tax
2023-10-13	12:28:01	593	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:01	593	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:01	593	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:01	593	[DEBUG]	Query for Product
2023-10-13	12:28:01	593	[DEBUG]	Executed store
2023-10-13	12:28:01	593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860084','1000000125191','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:28:01	593	[DEBUG]	No parent found
2023-10-13	12:28:01	593	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860084 AND customfield_value = 'stockable'
2023-10-13	12:28:01	593	[DEBUG]	Check product language entry
2023-10-13	12:28:01	593	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860085
2023-10-13	12:28:01	593	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:01	593	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125191' AND `virtuemart_product_id` != 1860085
2023-10-13	12:28:01	593	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:01	593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860085, '1000000125191')
2023-10-13	12:28:01	593	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:01	593	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-elfo-46-53cm-iridescent-white-flowers-46-53cm' AND `virtuemart_product_id` != 1860085
2023-10-13	12:28:01	593	[DEBUG]	Query for ProductLang
2023-10-13	12:28:01	593	[DEBUG]	Executed store
2023-10-13	12:28:01	593	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Enfant Elfo 46-53cm / Iridescent White Flowers (46-53cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-elfo-46-53cm-iridescent-white-flowers-46-53cm' WHERE `virtuemart_product_id` = '1860085'
2023-10-13	12:28:01	593	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34879_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:01	593	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:01	593	[DEBUG]	Process image file
2023-10-13	12:28:01	593	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:01	593	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:01	593	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34879_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:01	593	[DEBUG]	Full name target: bcprisme/34879_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:02	593	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:02	593	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34879_casque_met_enfant_elfo_46-53cm.jpg'
2023-10-13	12:28:02	593	[DEBUG]	Query for Media
2023-10-13	12:28:02	593	[DEBUG]	Executed store
2023-10-13	12:28:02	593	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34879_casque_met_enfant_elfo_46-53cm.jpg',`file_url_thumb`='bcprisme/34879_casque_met_enfant_elfo_46-53cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '464315'
2023-10-13	12:28:02	593	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:02	593	[DEBUG]	Executed store
2023-10-13	12:28:02	593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860085','464315','1')
2023-10-13	12:28:02	593	[DEBUG]	Store product image relation
2023-10-13	12:28:02	593	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:02	593	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860085 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:02	593	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:02	593	[DEBUG]	Executed store
2023-10-13	12:28:02	593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860085','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:02	593	[DEBUG]	Checking manufacturer
2023-10-13	12:28:02	593	[DEBUG]	Load a row
2023-10-13	12:28:02	593	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:02	593	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:02	593	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:02	593	[DEBUG]	Executed store
2023-10-13	12:28:02	593	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:02	593	[DEBUG]	Manufacturer exists
2023-10-13	12:28:02	593	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:02	593	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:02	593	[DEBUG]	Executed store
2023-10-13	12:28:02	593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860085','226')
2023-10-13	12:28:02	593	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:02	593	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:02	593	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860085 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:02	593	[DEBUG]	Store custom available field
2023-10-13	12:28:02	593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860085,3,'',1)
2023-10-13	12:28:02	593	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:02	593	[DEBUG]	Get existing row with customfield value 46-53cm
2023-10-13	12:28:02	593	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860085 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:02	593	[DEBUG]	Store custom available field
2023-10-13	12:28:02	593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860085,6,'46-53cm',3)
2023-10-13	12:28:02	593	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:02	593	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:02	593	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860084
2023-10-13	12:28:02	593	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:02	593	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53cm\"}]|clabels=0|options={\"1860084\":[1860084,8,1,\"choisir la taille\"],\"1860085\":[\"46-53cm\"]}|' WHERE `virtuemart_product_id` = 1860084
2023-10-13	12:28:02	593	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:02	593	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860085
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:02	594	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field taille
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:02	594	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:02	594	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:02	594	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:02	594	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:02	594	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:02	594	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field published
2023-10-13	12:28:02	594	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:02	594	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field override
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:02	594	[DEBUG]	Use field value for field slug
2023-10-13	12:28:02	594	[DEBUG]	Process line 594
2023-10-13	12:28:02	594	[DEBUG]	Load a row
2023-10-13	12:28:02	594	[DEBUG]	Processing item: A_7180_497
2023-10-13	12:28:02	594	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:02	594	[DEBUG]	Processing product tax
2023-10-13	12:28:02	594	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:02	594	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:02	594	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:02	594	[DEBUG]	Query for Product
2023-10-13	12:28:02	594	[DEBUG]	Executed store
2023-10-13	12:28:02	594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7180_497','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:28:02	594	[DEBUG]	Check product language entry
2023-10-13	12:28:02	594	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860086
2023-10-13	12:28:02	594	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:02	594	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7180_497' AND `virtuemart_product_id` != 1860086
2023-10-13	12:28:02	594	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:02	594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860086, 'A_7180_497')
2023-10-13	12:28:02	594	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:02	594	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-elfo-46-53cm-green-monkey' AND `virtuemart_product_id` != 1860086
2023-10-13	12:28:02	594	[DEBUG]	Query for ProductLang
2023-10-13	12:28:02	594	[DEBUG]	Executed store
2023-10-13	12:28:02	594	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Elfo a été spécialement développé pour répondre aux spécificité des têtes d\'enfants. Grâce à sa géométrie particulière, il garantit un contact permanent avec la fontanelle, la partie nécessitant la meilleure protection chez les enfants. Son design permet en outre une position assise droite dans les sièges enfant afin de ne pas gâcher le plaisir de la promenade en vélo. Pour des virées nocturnes, il intègre un éclairage arrière qui améliore la visibilité et la sécurité.<br><br>Géométrie spéciale pour une protection de la tête des enfants<br>Construction In Mold Intelligent Fusion<br>Sangles ajustables colorées pour un maintient parfait<br>Filets anti-insectes intégrés et éclairage LED arrière<br>Safe-T E-Twist pour un ajustement facile<br>N° art fourn : 720.001.001',`product_name`='MET Casque MET Enfant Elfo 46-53cm / Green Monkey',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-elfo-46-53cm-green-monkey' WHERE `virtuemart_product_id` = '1860086'
2023-10-13	12:28:02	594	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34878_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:02	594	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:02	594	[DEBUG]	Process image file
2023-10-13	12:28:02	594	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:02	594	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:02	594	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34878_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:02	594	[DEBUG]	Full name target: bcprisme/34878_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:03	594	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:03	594	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34878_casque_met_enfant_elfo_46-53cm.jpg'
2023-10-13	12:28:03	594	[DEBUG]	Query for Media
2023-10-13	12:28:03	594	[DEBUG]	Executed store
2023-10-13	12:28:03	594	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34878_casque_met_enfant_elfo_46-53cm.jpg',`file_url_thumb`='bcprisme/34878_casque_met_enfant_elfo_46-53cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '464317'
2023-10-13	12:28:03	594	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:03	594	[DEBUG]	Executed store
2023-10-13	12:28:03	594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860086','464317','1')
2023-10-13	12:28:03	594	[DEBUG]	Store product image relation
2023-10-13	12:28:03	594	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:03	594	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860086 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:03	594	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:03	594	[DEBUG]	Executed store
2023-10-13	12:28:03	594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860086','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:03	594	[DEBUG]	Checking manufacturer
2023-10-13	12:28:03	594	[DEBUG]	Load a row
2023-10-13	12:28:03	594	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:03	594	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:03	594	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:03	594	[DEBUG]	Executed store
2023-10-13	12:28:03	594	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:03	594	[DEBUG]	Manufacturer exists
2023-10-13	12:28:03	594	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:03	594	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:03	594	[DEBUG]	Executed store
2023-10-13	12:28:03	594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860086','226')
2023-10-13	12:28:03	594	[DEBUG]	Find the custom field ID
2023-10-13	12:28:03	594	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:03	594	[DEBUG]	No custom field ID found
2023-10-13	12:28:03	594	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:03	594	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:03	594	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860086 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:03	594	[DEBUG]	Store custom available field
2023-10-13	12:28:03	594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860086,3,'9.8725',1)
2023-10-13	12:28:03	594	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:03	594	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:03	594	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860086 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:03	594	[DEBUG]	Store custom available field
2023-10-13	12:28:03	594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860086,6,'choisir la taille',3)
2023-10-13	12:28:03	594	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:03	594	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:03	594	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:03	594	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:03	594	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860086 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:03	594	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:03	594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860086,8,1)
2023-10-13	12:28:03	594	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:03	594	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860086\":[1860086,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860086
2023-10-13	12:28:03	594	[DEBUG]	Checking category
2023-10-13	12:28:03	594	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:03	594	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860086
2023-10-13	12:28:03	594	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:03	594	[DEBUG]	Executed store
2023-10-13	12:28:03	594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860086','7281')
2023-10-13	12:28:03	594	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:03	594	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860086 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:03	594	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:03	594	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860086
2023-10-13	12:28:03	595	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:03	595	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:03	595	[DEBUG]	Use field value for field taille
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:03	595	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:03	595	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:03	595	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:03	595	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:03	595	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:03	595	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:03	595	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:03	595	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:03	595	[DEBUG]	Use field value for field published
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:03	595	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field override
2023-10-13	12:28:03	595	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:03	595	[DEBUG]	Use field value for field slug
2023-10-13	12:28:03	595	[DEBUG]	Process line 595
2023-10-13	12:28:03	595	[DEBUG]	Load a row
2023-10-13	12:28:03	595	[DEBUG]	Processing item: 1000000125610
2023-10-13	12:28:03	595	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:03	595	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:03	595	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7180_497'
2023-10-13	12:28:03	595	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:03	595	[DEBUG]	Processing product tax
2023-10-13	12:28:03	595	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:03	595	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:03	595	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:03	595	[DEBUG]	Query for Product
2023-10-13	12:28:03	595	[DEBUG]	Executed store
2023-10-13	12:28:03	595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860086','1000000125610','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:28:03	595	[DEBUG]	No parent found
2023-10-13	12:28:03	595	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860086 AND customfield_value = 'stockable'
2023-10-13	12:28:03	595	[DEBUG]	Check product language entry
2023-10-13	12:28:03	595	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860087
2023-10-13	12:28:03	595	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:03	595	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125610' AND `virtuemart_product_id` != 1860087
2023-10-13	12:28:03	595	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:03	595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860087, '1000000125610')
2023-10-13	12:28:03	595	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:03	595	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-elfo-46-53cm-green-monkey-46-53cm' AND `virtuemart_product_id` != 1860087
2023-10-13	12:28:03	595	[DEBUG]	Query for ProductLang
2023-10-13	12:28:03	595	[DEBUG]	Executed store
2023-10-13	12:28:03	595	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Enfant Elfo 46-53cm / Green Monkey (46-53cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-elfo-46-53cm-green-monkey-46-53cm' WHERE `virtuemart_product_id` = '1860087'
2023-10-13	12:28:03	595	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34878_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:03	595	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:03	595	[DEBUG]	Process image file
2023-10-13	12:28:03	595	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:03	595	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:03	595	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34878_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:03	595	[DEBUG]	Full name target: bcprisme/34878_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:04	595	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:04	595	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34878_casque_met_enfant_elfo_46-53cm.jpg'
2023-10-13	12:28:04	595	[DEBUG]	Query for Media
2023-10-13	12:28:04	595	[DEBUG]	Executed store
2023-10-13	12:28:04	595	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34878_casque_met_enfant_elfo_46-53cm.jpg',`file_url_thumb`='bcprisme/34878_casque_met_enfant_elfo_46-53cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '464317'
2023-10-13	12:28:04	595	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:04	595	[DEBUG]	Executed store
2023-10-13	12:28:04	595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860087','464317','1')
2023-10-13	12:28:04	595	[DEBUG]	Store product image relation
2023-10-13	12:28:04	595	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:04	595	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860087 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:04	595	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:04	595	[DEBUG]	Executed store
2023-10-13	12:28:04	595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860087','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:04	595	[DEBUG]	Checking manufacturer
2023-10-13	12:28:04	595	[DEBUG]	Load a row
2023-10-13	12:28:04	595	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:04	595	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:04	595	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:04	595	[DEBUG]	Executed store
2023-10-13	12:28:04	595	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:04	595	[DEBUG]	Manufacturer exists
2023-10-13	12:28:04	595	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:04	595	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:04	595	[DEBUG]	Executed store
2023-10-13	12:28:04	595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860087','226')
2023-10-13	12:28:04	595	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:04	595	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:04	595	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860087 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:04	595	[DEBUG]	Store custom available field
2023-10-13	12:28:04	595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860087,3,'',1)
2023-10-13	12:28:04	595	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:04	595	[DEBUG]	Get existing row with customfield value 46-53cm
2023-10-13	12:28:04	595	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860087 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:04	595	[DEBUG]	Store custom available field
2023-10-13	12:28:04	595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860087,6,'46-53cm',3)
2023-10-13	12:28:04	595	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:04	595	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:04	595	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860086
2023-10-13	12:28:04	595	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:04	595	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53cm\"}]|clabels=0|options={\"1860086\":[1860086,8,1,\"choisir la taille\"],\"1860087\":[\"46-53cm\"]}|' WHERE `virtuemart_product_id` = 1860086
2023-10-13	12:28:04	595	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:04	595	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860087
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:04	596	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field taille
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:04	596	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:04	596	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:04	596	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:04	596	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:04	596	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:04	596	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field published
2023-10-13	12:28:04	596	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:04	596	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field override
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:04	596	[DEBUG]	Use field value for field slug
2023-10-13	12:28:04	596	[DEBUG]	Process line 596
2023-10-13	12:28:04	596	[DEBUG]	Load a row
2023-10-13	12:28:04	596	[DEBUG]	Processing item: A_7180_498
2023-10-13	12:28:04	596	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:04	596	[DEBUG]	Processing product tax
2023-10-13	12:28:04	596	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:04	596	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:04	596	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:04	596	[DEBUG]	Query for Product
2023-10-13	12:28:04	596	[DEBUG]	Executed store
2023-10-13	12:28:04	596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7180_498','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:28:04	596	[DEBUG]	Check product language entry
2023-10-13	12:28:04	596	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860088
2023-10-13	12:28:04	596	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:04	596	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7180_498' AND `virtuemart_product_id` != 1860088
2023-10-13	12:28:04	596	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:04	596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860088, 'A_7180_498')
2023-10-13	12:28:04	596	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:04	596	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-elfo-46-53cm-orange-jungle' AND `virtuemart_product_id` != 1860088
2023-10-13	12:28:04	596	[DEBUG]	Query for ProductLang
2023-10-13	12:28:04	596	[DEBUG]	Executed store
2023-10-13	12:28:04	596	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Elfo a été spécialement développé pour répondre aux spécificité des têtes d\'enfants. Grâce à sa géométrie particulière, il garantit un contact permanent avec la fontanelle, la partie nécessitant la meilleure protection chez les enfants. Son design permet en outre une position assise droite dans les sièges enfant afin de ne pas gâcher le plaisir de la promenade en vélo. Pour des virées nocturnes, il intègre un éclairage arrière qui améliore la visibilité et la sécurité.<br><br>Géométrie spéciale pour une protection de la tête des enfants<br>Construction In Mold Intelligent Fusion<br>Sangles ajustables colorées pour un maintient parfait<br>Filets anti-insectes intégrés et éclairage LED arrière<br>Safe-T E-Twist pour un ajustement facile<br>N° art fourn : 720.001.001',`product_name`='MET Casque MET Enfant Elfo 46-53cm / Orange Jungle',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-elfo-46-53cm-orange-jungle' WHERE `virtuemart_product_id` = '1860088'
2023-10-13	12:28:04	596	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34880_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:04	596	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:04	596	[DEBUG]	Process image file
2023-10-13	12:28:04	596	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:04	596	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:04	596	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34880_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:04	596	[DEBUG]	Full name target: bcprisme/34880_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:05	596	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:05	596	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34880_casque_met_enfant_elfo_46-53cm.jpg'
2023-10-13	12:28:05	596	[DEBUG]	Query for Media
2023-10-13	12:28:05	596	[DEBUG]	Executed store
2023-10-13	12:28:05	596	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34880_casque_met_enfant_elfo_46-53cm.jpg',`file_url_thumb`='bcprisme/34880_casque_met_enfant_elfo_46-53cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '464319'
2023-10-13	12:28:05	596	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:05	596	[DEBUG]	Executed store
2023-10-13	12:28:05	596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860088','464319','1')
2023-10-13	12:28:05	596	[DEBUG]	Store product image relation
2023-10-13	12:28:05	596	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:05	596	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860088 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:05	596	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:05	596	[DEBUG]	Executed store
2023-10-13	12:28:05	596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860088','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:05	596	[DEBUG]	Checking manufacturer
2023-10-13	12:28:05	596	[DEBUG]	Load a row
2023-10-13	12:28:05	596	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:05	596	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:05	596	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:05	596	[DEBUG]	Executed store
2023-10-13	12:28:05	596	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:05	596	[DEBUG]	Manufacturer exists
2023-10-13	12:28:05	596	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:05	596	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:05	596	[DEBUG]	Executed store
2023-10-13	12:28:05	596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860088','226')
2023-10-13	12:28:05	596	[DEBUG]	Find the custom field ID
2023-10-13	12:28:05	596	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:05	596	[DEBUG]	No custom field ID found
2023-10-13	12:28:05	596	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:05	596	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:05	596	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860088 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:05	596	[DEBUG]	Store custom available field
2023-10-13	12:28:05	596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860088,3,'9.8725',1)
2023-10-13	12:28:05	596	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:05	596	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:05	596	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860088 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:05	596	[DEBUG]	Store custom available field
2023-10-13	12:28:05	596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860088,6,'choisir la taille',3)
2023-10-13	12:28:05	596	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:05	596	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:05	596	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:05	596	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:05	596	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860088 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:05	596	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:05	596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860088,8,1)
2023-10-13	12:28:05	596	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:05	596	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860088\":[1860088,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860088
2023-10-13	12:28:05	596	[DEBUG]	Checking category
2023-10-13	12:28:05	596	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:05	596	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860088
2023-10-13	12:28:05	596	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:05	596	[DEBUG]	Executed store
2023-10-13	12:28:05	596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860088','7281')
2023-10-13	12:28:05	596	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:05	596	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860088 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:05	596	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:05	596	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860088
2023-10-13	12:28:05	597	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:05	597	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:05	597	[DEBUG]	Use field value for field taille
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:05	597	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:05	597	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:05	597	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:05	597	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:05	597	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:05	597	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:05	597	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:05	597	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:05	597	[DEBUG]	Use field value for field published
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:05	597	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field override
2023-10-13	12:28:05	597	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:05	597	[DEBUG]	Use field value for field slug
2023-10-13	12:28:05	597	[DEBUG]	Process line 597
2023-10-13	12:28:05	597	[DEBUG]	Load a row
2023-10-13	12:28:05	597	[DEBUG]	Processing item: 1000000125207
2023-10-13	12:28:05	597	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:05	597	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:05	597	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7180_498'
2023-10-13	12:28:05	597	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:05	597	[DEBUG]	Processing product tax
2023-10-13	12:28:05	597	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:05	597	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:05	597	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:05	597	[DEBUG]	Query for Product
2023-10-13	12:28:05	597	[DEBUG]	Executed store
2023-10-13	12:28:05	597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860088','1000000125207','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:28:05	597	[DEBUG]	No parent found
2023-10-13	12:28:05	597	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860088 AND customfield_value = 'stockable'
2023-10-13	12:28:05	597	[DEBUG]	Check product language entry
2023-10-13	12:28:05	597	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860089
2023-10-13	12:28:05	597	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:05	597	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125207' AND `virtuemart_product_id` != 1860089
2023-10-13	12:28:05	597	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:05	597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860089, '1000000125207')
2023-10-13	12:28:05	597	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:05	597	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-elfo-46-53cm-orange-jungle-46-53cm' AND `virtuemart_product_id` != 1860089
2023-10-13	12:28:05	597	[DEBUG]	Query for ProductLang
2023-10-13	12:28:05	597	[DEBUG]	Executed store
2023-10-13	12:28:05	597	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Enfant Elfo 46-53cm / Orange Jungle (46-53cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-elfo-46-53cm-orange-jungle-46-53cm' WHERE `virtuemart_product_id` = '1860089'
2023-10-13	12:28:05	597	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34880_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:05	597	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:05	597	[DEBUG]	Process image file
2023-10-13	12:28:05	597	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:05	597	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:05	597	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34880_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:05	597	[DEBUG]	Full name target: bcprisme/34880_casque_met_enfant_elfo_46-53cm.jpg
2023-10-13	12:28:06	597	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:06	597	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34880_casque_met_enfant_elfo_46-53cm.jpg'
2023-10-13	12:28:06	597	[DEBUG]	Query for Media
2023-10-13	12:28:06	597	[DEBUG]	Executed store
2023-10-13	12:28:06	597	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34880_casque_met_enfant_elfo_46-53cm.jpg',`file_url_thumb`='bcprisme/34880_casque_met_enfant_elfo_46-53cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '464319'
2023-10-13	12:28:06	597	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:06	597	[DEBUG]	Executed store
2023-10-13	12:28:06	597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860089','464319','1')
2023-10-13	12:28:06	597	[DEBUG]	Store product image relation
2023-10-13	12:28:06	597	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:06	597	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860089 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:06	597	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:06	597	[DEBUG]	Executed store
2023-10-13	12:28:06	597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860089','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:06	597	[DEBUG]	Checking manufacturer
2023-10-13	12:28:06	597	[DEBUG]	Load a row
2023-10-13	12:28:06	597	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:06	597	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:06	597	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:06	597	[DEBUG]	Executed store
2023-10-13	12:28:06	597	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:06	597	[DEBUG]	Manufacturer exists
2023-10-13	12:28:06	597	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:06	597	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:06	597	[DEBUG]	Executed store
2023-10-13	12:28:06	597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860089','226')
2023-10-13	12:28:06	597	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:06	597	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:06	597	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860089 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:06	597	[DEBUG]	Store custom available field
2023-10-13	12:28:06	597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860089,3,'',1)
2023-10-13	12:28:06	597	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:06	597	[DEBUG]	Get existing row with customfield value 46-53cm
2023-10-13	12:28:06	597	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860089 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:06	597	[DEBUG]	Store custom available field
2023-10-13	12:28:06	597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860089,6,'46-53cm',3)
2023-10-13	12:28:06	597	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:06	597	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:06	597	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860088
2023-10-13	12:28:06	597	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:06	597	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53cm\"}]|clabels=0|options={\"1860088\":[1860088,8,1,\"choisir la taille\"],\"1860089\":[\"46-53cm\"]}|' WHERE `virtuemart_product_id` = 1860088
2023-10-13	12:28:06	597	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:06	597	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860089
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:06	598	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field taille
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:06	598	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:06	598	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:06	598	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:06	598	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:06	598	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:06	598	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field published
2023-10-13	12:28:06	598	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:06	598	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field override
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:06	598	[DEBUG]	Use field value for field slug
2023-10-13	12:28:06	598	[DEBUG]	Process line 598
2023-10-13	12:28:06	598	[DEBUG]	Load a row
2023-10-13	12:28:06	598	[DEBUG]	Processing item: A_7181_416
2023-10-13	12:28:06	598	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:06	598	[DEBUG]	Processing product tax
2023-10-13	12:28:06	598	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:06	598	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:06	598	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:06	598	[DEBUG]	Query for Product
2023-10-13	12:28:06	598	[DEBUG]	Executed store
2023-10-13	12:28:06	598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7181_416','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:28:06	598	[DEBUG]	Check product language entry
2023-10-13	12:28:06	598	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860090
2023-10-13	12:28:06	598	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:06	598	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7181_416' AND `virtuemart_product_id` != 1860090
2023-10-13	12:28:06	598	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:06	598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860090, 'A_7181_416')
2023-10-13	12:28:06	598	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:06	598	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-genio-52-57cm-blue-dinosaurs' AND `virtuemart_product_id` != 1860090
2023-10-13	12:28:06	598	[DEBUG]	Query for ProductLang
2023-10-13	12:28:06	598	[DEBUG]	Executed store
2023-10-13	12:28:06	598	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Genio a été spécialement développé pour répondre aux spécificité des têtes d\'enfants. Grâce à sa géométrie particulière, il garantit un contact permanent avec la fontanelle, la partie nécessitant la meilleure protection chez les enfants. Son design permet en outre une position assise droite dans les sièges enfant afin de ne pas gâcher le plaisir de la promenade en vélo. Pour des virées nocturnes, il intègre un éclairage arrière qui améliore la visibilité et la sécurité.<br><br>Géométrie spéciale pour une protection de la tête des enfants<br>Construction In Mold Intelligent Fusion<br>Sangles ajustables colorées pour un maintient parfait<br>Filets anti-insectes intégrés et éclairage LED arrière<br>Safe-T E-Twist pour un ajustement facile<br>N° art fourn : 720.021.00',`product_name`='MET Casque MET Enfant Genio 52-57cm / Blue Dinosaurs',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-genio-52-57cm-blue-dinosaurs' WHERE `virtuemart_product_id` = '1860090'
2023-10-13	12:28:06	598	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34864_casque_met_enfant_genio_46-53cm.jpg
2023-10-13	12:28:06	598	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:06	598	[DEBUG]	Process image file
2023-10-13	12:28:06	598	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:06	598	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:06	598	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34864_casque_met_enfant_genio_46-53cm.jpg
2023-10-13	12:28:06	598	[DEBUG]	Full name target: bcprisme/34864_casque_met_enfant_genio_46-53cm.jpg
2023-10-13	12:28:07	598	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:07	598	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34864_casque_met_enfant_genio_46-53cm.jpg'
2023-10-13	12:28:07	598	[DEBUG]	Query for Media
2023-10-13	12:28:07	598	[DEBUG]	Executed store
2023-10-13	12:28:07	598	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34864_casque_met_enfant_genio_46-53cm.jpg',`file_url_thumb`='bcprisme/34864_casque_met_enfant_genio_46-53cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '232721'
2023-10-13	12:28:07	598	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:07	598	[DEBUG]	Executed store
2023-10-13	12:28:07	598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860090','232721','1')
2023-10-13	12:28:07	598	[DEBUG]	Store product image relation
2023-10-13	12:28:07	598	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:07	598	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860090 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:07	598	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:07	598	[DEBUG]	Executed store
2023-10-13	12:28:07	598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860090','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:07	598	[DEBUG]	Checking manufacturer
2023-10-13	12:28:07	598	[DEBUG]	Load a row
2023-10-13	12:28:07	598	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:07	598	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:07	598	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:07	598	[DEBUG]	Executed store
2023-10-13	12:28:07	598	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:07	598	[DEBUG]	Manufacturer exists
2023-10-13	12:28:07	598	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:07	598	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:07	598	[DEBUG]	Executed store
2023-10-13	12:28:07	598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860090','226')
2023-10-13	12:28:07	598	[DEBUG]	Find the custom field ID
2023-10-13	12:28:07	598	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:07	598	[DEBUG]	No custom field ID found
2023-10-13	12:28:07	598	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:07	598	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:07	598	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860090 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:07	598	[DEBUG]	Store custom available field
2023-10-13	12:28:07	598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860090,3,'9.8725',1)
2023-10-13	12:28:07	598	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:07	598	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:07	598	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860090 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:07	598	[DEBUG]	Store custom available field
2023-10-13	12:28:07	598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860090,6,'choisir la taille',3)
2023-10-13	12:28:07	598	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:07	598	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:07	598	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:07	598	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:07	598	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860090 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:07	598	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:07	598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860090,8,1)
2023-10-13	12:28:07	598	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:07	598	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860090\":[1860090,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860090
2023-10-13	12:28:07	598	[DEBUG]	Checking category
2023-10-13	12:28:07	598	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:07	598	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860090
2023-10-13	12:28:07	598	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:07	598	[DEBUG]	Executed store
2023-10-13	12:28:07	598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860090','7281')
2023-10-13	12:28:07	598	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:07	598	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860090 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:07	598	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:07	598	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860090
2023-10-13	12:28:07	599	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:07	599	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:07	599	[DEBUG]	Use field value for field taille
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:07	599	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:07	599	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:07	599	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:07	599	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:07	599	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:07	599	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:07	599	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:07	599	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:07	599	[DEBUG]	Use field value for field published
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:07	599	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field override
2023-10-13	12:28:07	599	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:07	599	[DEBUG]	Use field value for field slug
2023-10-13	12:28:07	599	[DEBUG]	Process line 599
2023-10-13	12:28:07	599	[DEBUG]	Load a row
2023-10-13	12:28:07	599	[DEBUG]	Processing item: 1000000125009
2023-10-13	12:28:07	599	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:07	599	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:07	599	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7181_416'
2023-10-13	12:28:07	599	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:07	599	[DEBUG]	Processing product tax
2023-10-13	12:28:07	599	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:07	599	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:07	599	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:07	599	[DEBUG]	Query for Product
2023-10-13	12:28:07	599	[DEBUG]	Executed store
2023-10-13	12:28:07	599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860090','1000000125009','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:28:07	599	[DEBUG]	No parent found
2023-10-13	12:28:07	599	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860090 AND customfield_value = 'stockable'
2023-10-13	12:28:07	599	[DEBUG]	Check product language entry
2023-10-13	12:28:07	599	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860091
2023-10-13	12:28:07	599	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:07	599	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125009' AND `virtuemart_product_id` != 1860091
2023-10-13	12:28:07	599	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:07	599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860091, '1000000125009')
2023-10-13	12:28:07	599	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:07	599	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-genio-52-57cm-blue-dinosaurs-52-57cm' AND `virtuemart_product_id` != 1860091
2023-10-13	12:28:07	599	[DEBUG]	Query for ProductLang
2023-10-13	12:28:07	599	[DEBUG]	Executed store
2023-10-13	12:28:07	599	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Enfant Genio 52-57cm / Blue Dinosaurs (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-genio-52-57cm-blue-dinosaurs-52-57cm' WHERE `virtuemart_product_id` = '1860091'
2023-10-13	12:28:07	599	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34864_casque_met_enfant_genio_46-53cm.jpg
2023-10-13	12:28:07	599	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:07	599	[DEBUG]	Process image file
2023-10-13	12:28:07	599	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:07	599	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:07	599	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34864_casque_met_enfant_genio_46-53cm.jpg
2023-10-13	12:28:07	599	[DEBUG]	Full name target: bcprisme/34864_casque_met_enfant_genio_46-53cm.jpg
2023-10-13	12:28:08	599	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:08	599	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34864_casque_met_enfant_genio_46-53cm.jpg'
2023-10-13	12:28:08	599	[DEBUG]	Query for Media
2023-10-13	12:28:08	599	[DEBUG]	Executed store
2023-10-13	12:28:08	599	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34864_casque_met_enfant_genio_46-53cm.jpg',`file_url_thumb`='bcprisme/34864_casque_met_enfant_genio_46-53cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '232721'
2023-10-13	12:28:08	599	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:08	599	[DEBUG]	Executed store
2023-10-13	12:28:08	599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860091','232721','1')
2023-10-13	12:28:08	599	[DEBUG]	Store product image relation
2023-10-13	12:28:08	599	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:08	599	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860091 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:08	599	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:08	599	[DEBUG]	Executed store
2023-10-13	12:28:08	599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860091','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:08	599	[DEBUG]	Checking manufacturer
2023-10-13	12:28:08	599	[DEBUG]	Load a row
2023-10-13	12:28:08	599	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:08	599	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:08	599	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:08	599	[DEBUG]	Executed store
2023-10-13	12:28:08	599	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:08	599	[DEBUG]	Manufacturer exists
2023-10-13	12:28:08	599	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:08	599	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:08	599	[DEBUG]	Executed store
2023-10-13	12:28:08	599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860091','226')
2023-10-13	12:28:08	599	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:08	599	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:08	599	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860091 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:08	599	[DEBUG]	Store custom available field
2023-10-13	12:28:08	599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860091,3,'',1)
2023-10-13	12:28:08	599	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:08	599	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:08	599	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860091 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:08	599	[DEBUG]	Store custom available field
2023-10-13	12:28:08	599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860091,6,'52-57cm',3)
2023-10-13	12:28:08	599	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:08	599	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:08	599	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860090
2023-10-13	12:28:08	599	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:08	599	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860090\":[1860090,8,1,\"choisir la taille\"],\"1860091\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860090
2023-10-13	12:28:08	599	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:08	599	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860091
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:08	600	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field taille
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:08	600	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:08	600	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:08	600	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:08	600	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:08	600	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:08	600	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field published
2023-10-13	12:28:08	600	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:08	600	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field override
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:08	600	[DEBUG]	Use field value for field slug
2023-10-13	12:28:08	600	[DEBUG]	Process line 600
2023-10-13	12:28:08	600	[DEBUG]	Load a row
2023-10-13	12:28:08	600	[DEBUG]	Processing item: A_7181_494
2023-10-13	12:28:08	600	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:08	600	[DEBUG]	Processing product tax
2023-10-13	12:28:08	600	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:08	600	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:08	600	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:08	600	[DEBUG]	Query for Product
2023-10-13	12:28:08	600	[DEBUG]	Executed store
2023-10-13	12:28:08	600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7181_494','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0')
2023-10-13	12:28:08	600	[DEBUG]	Check product language entry
2023-10-13	12:28:08	600	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860092
2023-10-13	12:28:08	600	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:08	600	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7181_494' AND `virtuemart_product_id` != 1860092
2023-10-13	12:28:08	600	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:08	600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860092, 'A_7181_494')
2023-10-13	12:28:08	600	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:08	600	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-genio-52-57cm-unicorn' AND `virtuemart_product_id` != 1860092
2023-10-13	12:28:08	600	[DEBUG]	Query for ProductLang
2023-10-13	12:28:08	600	[DEBUG]	Executed store
2023-10-13	12:28:08	600	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Genio a été spécialement développé pour répondre aux spécificité des têtes d\'enfants. Grâce à sa géométrie particulière, il garantit un contact permanent avec la fontanelle, la partie nécessitant la meilleure protection chez les enfants. Son design permet en outre une position assise droite dans les sièges enfant afin de ne pas gâcher le plaisir de la promenade en vélo. Pour des virées nocturnes, il intègre un éclairage arrière qui améliore la visibilité et la sécurité.<br><br>Géométrie spéciale pour une protection de la tête des enfants<br>Construction In Mold Intelligent Fusion<br>Sangles ajustables colorées pour un maintient parfait<br>Filets anti-insectes intégrés et éclairage LED arrière<br>Safe-T E-Twist pour un ajustement facile<br>N° art fourn : 720.021.00',`product_name`='MET Casque MET Enfant Genio 52-57cm / Unicorn',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-genio-52-57cm-unicorn' WHERE `virtuemart_product_id` = '1860092'
2023-10-13	12:28:08	600	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34894_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:28:08	600	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:08	600	[DEBUG]	Process image file
2023-10-13	12:28:08	600	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:08	600	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:08	600	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34894_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:28:08	600	[DEBUG]	Full name target: bcprisme/34894_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:28:09	600	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:09	600	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34894_casque_met_enfant_genio_52-57cm.jpg'
2023-10-13	12:28:09	600	[DEBUG]	Query for Media
2023-10-13	12:28:09	600	[DEBUG]	Executed store
2023-10-13	12:28:09	600	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34894_casque_met_enfant_genio_52-57cm.jpg',`file_url_thumb`='bcprisme/34894_casque_met_enfant_genio_52-57cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '684522'
2023-10-13	12:28:09	600	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:09	600	[DEBUG]	Executed store
2023-10-13	12:28:09	600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860092','684522','1')
2023-10-13	12:28:09	600	[DEBUG]	Store product image relation
2023-10-13	12:28:09	600	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:09	600	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860092 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:09	600	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:09	600	[DEBUG]	Executed store
2023-10-13	12:28:09	600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860092','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:26:44','1593','2023-10-13 12:26:44','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:09	600	[DEBUG]	Checking manufacturer
2023-10-13	12:28:09	600	[DEBUG]	Load a row
2023-10-13	12:28:09	600	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:09	600	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:09	600	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:09	600	[DEBUG]	Executed store
2023-10-13	12:28:09	600	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:09	600	[DEBUG]	Manufacturer exists
2023-10-13	12:28:09	600	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:09	600	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:09	600	[DEBUG]	Executed store
2023-10-13	12:28:09	600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860092','226')
2023-10-13	12:28:09	600	[DEBUG]	Find the custom field ID
2023-10-13	12:28:09	600	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:09	600	[DEBUG]	No custom field ID found
2023-10-13	12:28:09	600	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:09	600	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:09	600	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860092 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:09	600	[DEBUG]	Store custom available field
2023-10-13	12:28:09	600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860092,3,'9.8725',1)
2023-10-13	12:28:09	600	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:09	600	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:09	600	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860092 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:09	600	[DEBUG]	Store custom available field
2023-10-13	12:28:09	600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860092,6,'choisir la taille',3)
2023-10-13	12:28:09	600	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:09	600	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:09	600	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:09	600	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:09	600	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860092 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:09	600	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:09	600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860092,8,1)
2023-10-13	12:28:09	600	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:09	600	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860092\":[1860092,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860092
2023-10-13	12:28:09	600	[DEBUG]	Checking category
2023-10-13	12:28:09	600	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:09	600	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860092
2023-10-13	12:28:09	600	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:09	600	[DEBUG]	Executed store
2023-10-13	12:28:09	600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860092','7281')
2023-10-13	12:28:09	600	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:09	600	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860092 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:09	600	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:09	600	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860092
2023-10-13	12:28:29	600	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:28:29	600	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:28:29	600	[DEBUG]	Load the fields to process
2023-10-13	12:28:29	600	[DEBUG]	Setup field: product_sku
2023-10-13	12:28:29	600	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:28:29	600	[DEBUG]	Setup field: taille
2023-10-13	12:28:29	600	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:28:29	600	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:28:29	600	[DEBUG]	Setup field: product_name
2023-10-13	12:28:29	600	[DEBUG]	Setup field: category_path
2023-10-13	12:28:29	600	[DEBUG]	Setup field: product_price
2023-10-13	12:28:29	600	[DEBUG]	Setup field: product_override_price
2023-10-13	12:28:29	600	[DEBUG]	Setup field: product_tax
2023-10-13	12:28:29	600	[DEBUG]	Setup field: file_url
2023-10-13	12:28:29	600	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:28:29	600	[DEBUG]	Setup field: product_desc
2023-10-13	12:28:29	600	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:28:29	600	[DEBUG]	Setup field: product_availability
2023-10-13	12:28:29	600	[DEBUG]	Setup field: product_weight
2023-10-13	12:28:29	600	[DEBUG]	Setup field: product_unit
2023-10-13	12:28:29	600	[DEBUG]	Setup field: related_products
2023-10-13	12:28:29	600	[DEBUG]	Setup field: product_special
2023-10-13	12:28:29	600	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:28:29	600	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:28:29	600	[DEBUG]	Setup field: published
2023-10-13	12:28:29	600	[DEBUG]	Setup field: metadesc
2023-10-13	12:28:29	600	[DEBUG]	Setup field: metakey
2023-10-13	12:28:29	600	[DEBUG]	Setup field: custom_title
2023-10-13	12:28:29	600	[DEBUG]	Setup field: custom_value
2023-10-13	12:28:29	600	[DEBUG]	Setup field: custom_param
2023-10-13	12:28:29	600	[DEBUG]	Setup field: override
2023-10-13	12:28:29	600	[DEBUG]	Setup field: public_price
2023-10-13	12:28:29	600	[DEBUG]	Setup field: slug
2023-10-13	12:28:29	600	[DEBUG]	Use the file for configuration
2023-10-13	12:28:29	600	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:28:29	600	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:28:29	600	[DEBUG]	Load the custom fields
2023-10-13	12:28:29	600	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:28:29	600	[DEBUG]	Load stockable custom fields
2023-10-13	12:28:29	600	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:28:29	600	[DEBUG]	Load custom fields for all
2023-10-13	12:28:29	600	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:28:29	601	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:29	601	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:29	601	[DEBUG]	Use field value for field taille
2023-10-13	12:28:29	601	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:29	601	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:29	601	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:29	601	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:29	601	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:29	601	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:29	601	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:29	601	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:30	601	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:30	601	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:30	601	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:30	601	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:30	601	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:30	601	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:30	601	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:30	601	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:30	601	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:30	601	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:30	601	[DEBUG]	Use field value for field published
2023-10-13	12:28:30	601	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:30	601	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:30	601	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:30	601	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:30	601	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:30	601	[DEBUG]	Use default value for field override
2023-10-13	12:28:30	601	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:30	601	[DEBUG]	Use field value for field slug
2023-10-13	12:28:30	601	[DEBUG]	Process line 601
2023-10-13	12:28:30	601	[DEBUG]	Check if the vendor exists
2023-10-13	12:28:30	601	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '1000000125627'
2023-10-13	12:28:30	601	[DEBUG]	Load a row
2023-10-13	12:28:30	601	[DEBUG]	Processing item: 1000000125627
2023-10-13	12:28:30	601	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:30	601	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:30	601	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7181_494'
2023-10-13	12:28:30	601	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:30	601	[DEBUG]	Processing product tax
2023-10-13	12:28:30	601	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:30	601	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:30	601	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:30	601	[DEBUG]	Query for Product
2023-10-13	12:28:30	601	[DEBUG]	Executed store
2023-10-13	12:28:30	601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860092','1000000125627','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:30	601	[DEBUG]	No parent found
2023-10-13	12:28:30	601	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860092 AND customfield_value = 'stockable'
2023-10-13	12:28:30	601	[DEBUG]	Check product language entry
2023-10-13	12:28:30	601	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860093
2023-10-13	12:28:30	601	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:30	601	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125627' AND `virtuemart_product_id` != 1860093
2023-10-13	12:28:30	601	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:30	601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860093, '1000000125627')
2023-10-13	12:28:30	601	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:30	601	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-genio-52-57cm-unicorn-52-57cm' AND `virtuemart_product_id` != 1860093
2023-10-13	12:28:30	601	[DEBUG]	Query for ProductLang
2023-10-13	12:28:30	601	[DEBUG]	Executed store
2023-10-13	12:28:30	601	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Enfant Genio 52-57cm / Unicorn (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-genio-52-57cm-unicorn-52-57cm' WHERE `virtuemart_product_id` = '1860093'
2023-10-13	12:28:30	601	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34894_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:28:30	601	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:30	601	[DEBUG]	Process image file
2023-10-13	12:28:30	601	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:30	601	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:30	601	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34894_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:28:30	601	[DEBUG]	Full name target: bcprisme/34894_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:28:31	601	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:31	601	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34894_casque_met_enfant_genio_52-57cm.jpg'
2023-10-13	12:28:31	601	[DEBUG]	Query for Media
2023-10-13	12:28:31	601	[DEBUG]	Executed store
2023-10-13	12:28:31	601	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34894_casque_met_enfant_genio_52-57cm.jpg',`file_url_thumb`='bcprisme/34894_casque_met_enfant_genio_52-57cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '684522'
2023-10-13	12:28:31	601	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:31	601	[DEBUG]	Executed store
2023-10-13	12:28:31	601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860093','684522','1')
2023-10-13	12:28:31	601	[DEBUG]	Store product image relation
2023-10-13	12:28:31	601	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:31	601	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860093 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:31	601	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:31	601	[DEBUG]	Executed store
2023-10-13	12:28:31	601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860093','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:31	601	[DEBUG]	Checking manufacturer
2023-10-13	12:28:31	601	[DEBUG]	Load a row
2023-10-13	12:28:31	601	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:31	601	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:31	601	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:31	601	[DEBUG]	Executed store
2023-10-13	12:28:31	601	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:31	601	[DEBUG]	Manufacturer exists
2023-10-13	12:28:31	601	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:31	601	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:31	601	[DEBUG]	Executed store
2023-10-13	12:28:31	601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860093','226')
2023-10-13	12:28:31	601	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:31	601	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:31	601	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860093 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:31	601	[DEBUG]	Store custom available field
2023-10-13	12:28:31	601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860093,3,'',1)
2023-10-13	12:28:31	601	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:31	601	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:31	601	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860093 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:31	601	[DEBUG]	Store custom available field
2023-10-13	12:28:31	601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860093,6,'52-57cm',3)
2023-10-13	12:28:31	601	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:31	601	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:31	601	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860092
2023-10-13	12:28:31	601	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:31	601	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860092\":[1860092,8,1,\"choisir la taille\"],\"1860093\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860092
2023-10-13	12:28:31	601	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:31	601	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860093
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:31	602	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field taille
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:31	602	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:31	602	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:31	602	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:31	602	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:31	602	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:31	602	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field published
2023-10-13	12:28:31	602	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:31	602	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field override
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:31	602	[DEBUG]	Use field value for field slug
2023-10-13	12:28:31	602	[DEBUG]	Process line 602
2023-10-13	12:28:31	602	[DEBUG]	Load a row
2023-10-13	12:28:31	602	[DEBUG]	Processing item: A_7181_495
2023-10-13	12:28:31	602	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:31	602	[DEBUG]	Processing product tax
2023-10-13	12:28:31	602	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:31	602	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:31	602	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:31	602	[DEBUG]	Query for Product
2023-10-13	12:28:31	602	[DEBUG]	Executed store
2023-10-13	12:28:31	602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7181_495','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:31	602	[DEBUG]	Check product language entry
2023-10-13	12:28:31	602	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860094
2023-10-13	12:28:31	602	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:31	602	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7181_495' AND `virtuemart_product_id` != 1860094
2023-10-13	12:28:31	602	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:31	602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860094, 'A_7181_495')
2023-10-13	12:28:31	602	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:31	602	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-genio-52-57cm-yellow-lion' AND `virtuemart_product_id` != 1860094
2023-10-13	12:28:31	602	[DEBUG]	Query for ProductLang
2023-10-13	12:28:31	602	[DEBUG]	Executed store
2023-10-13	12:28:31	602	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Genio a été spécialement développé pour répondre aux spécificité des têtes d\'enfants. Grâce à sa géométrie particulière, il garantit un contact permanent avec la fontanelle, la partie nécessitant la meilleure protection chez les enfants. Son design permet en outre une position assise droite dans les sièges enfant afin de ne pas gâcher le plaisir de la promenade en vélo. Pour des virées nocturnes, il intègre un éclairage arrière qui améliore la visibilité et la sécurité.<br><br>Géométrie spéciale pour une protection de la tête des enfants<br>Construction In Mold Intelligent Fusion<br>Sangles ajustables colorées pour un maintient parfait<br>Filets anti-insectes intégrés et éclairage LED arrière<br>Safe-T E-Twist pour un ajustement facile<br>N° art fourn : 720.021.00',`product_name`='MET Casque MET Enfant Genio 52-57cm / Yellow Lion',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-genio-52-57cm-yellow-lion' WHERE `virtuemart_product_id` = '1860094'
2023-10-13	12:28:31	602	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34895_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:28:31	602	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:31	602	[DEBUG]	Process image file
2023-10-13	12:28:31	602	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:31	602	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:31	602	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34895_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:28:31	602	[DEBUG]	Full name target: bcprisme/34895_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:28:32	602	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:32	602	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34895_casque_met_enfant_genio_52-57cm.jpg'
2023-10-13	12:28:32	602	[DEBUG]	Query for Media
2023-10-13	12:28:32	602	[DEBUG]	Executed store
2023-10-13	12:28:32	602	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34895_casque_met_enfant_genio_52-57cm.jpg',`file_url_thumb`='bcprisme/34895_casque_met_enfant_genio_52-57cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '464325'
2023-10-13	12:28:32	602	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:32	602	[DEBUG]	Executed store
2023-10-13	12:28:32	602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860094','464325','1')
2023-10-13	12:28:32	602	[DEBUG]	Store product image relation
2023-10-13	12:28:32	602	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:32	602	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860094 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:32	602	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:32	602	[DEBUG]	Executed store
2023-10-13	12:28:32	602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860094','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:32	602	[DEBUG]	Checking manufacturer
2023-10-13	12:28:32	602	[DEBUG]	Load a row
2023-10-13	12:28:32	602	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:32	602	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:32	602	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:32	602	[DEBUG]	Executed store
2023-10-13	12:28:32	602	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:32	602	[DEBUG]	Manufacturer exists
2023-10-13	12:28:32	602	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:32	602	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:32	602	[DEBUG]	Executed store
2023-10-13	12:28:32	602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860094','226')
2023-10-13	12:28:32	602	[DEBUG]	Find the custom field ID
2023-10-13	12:28:32	602	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:32	602	[DEBUG]	No custom field ID found
2023-10-13	12:28:32	602	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:32	602	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:32	602	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860094 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:32	602	[DEBUG]	Store custom available field
2023-10-13	12:28:32	602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860094,3,'9.8725',1)
2023-10-13	12:28:32	602	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:32	602	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:32	602	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860094 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:32	602	[DEBUG]	Store custom available field
2023-10-13	12:28:32	602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860094,6,'choisir la taille',3)
2023-10-13	12:28:32	602	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:32	602	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:32	602	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:32	602	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:32	602	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860094 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:32	602	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:32	602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860094,8,1)
2023-10-13	12:28:32	602	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:32	602	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860094\":[1860094,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860094
2023-10-13	12:28:32	602	[DEBUG]	Checking category
2023-10-13	12:28:32	602	[DEBUG]	Check if category path exists: CASQUES - HELME
2023-10-13	12:28:32	602	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASQUES - HELME' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:28:32	602	[DEBUG]	Check if category path exists: CASQUES - HELME
2023-10-13	12:28:32	602	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASQUES - HELME' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7279
2023-10-13	12:28:32	602	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:32	602	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860094
2023-10-13	12:28:32	602	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:32	602	[DEBUG]	Executed store
2023-10-13	12:28:32	602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860094','7281')
2023-10-13	12:28:32	602	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:32	602	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860094 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:32	602	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:32	602	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860094
2023-10-13	12:28:32	603	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:32	603	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:32	603	[DEBUG]	Use field value for field taille
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:32	603	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:32	603	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:32	603	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:32	603	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:32	603	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:32	603	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:32	603	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:32	603	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:32	603	[DEBUG]	Use field value for field published
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:32	603	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field override
2023-10-13	12:28:32	603	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:32	603	[DEBUG]	Use field value for field slug
2023-10-13	12:28:32	603	[DEBUG]	Process line 603
2023-10-13	12:28:32	603	[DEBUG]	Load a row
2023-10-13	12:28:32	603	[DEBUG]	Processing item: 1000000125634
2023-10-13	12:28:32	603	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:32	603	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:32	603	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7181_495'
2023-10-13	12:28:32	603	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:32	603	[DEBUG]	Processing product tax
2023-10-13	12:28:32	603	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:32	603	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:32	603	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:32	603	[DEBUG]	Query for Product
2023-10-13	12:28:32	603	[DEBUG]	Executed store
2023-10-13	12:28:32	603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860094','1000000125634','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:32	603	[DEBUG]	No parent found
2023-10-13	12:28:32	603	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860094 AND customfield_value = 'stockable'
2023-10-13	12:28:32	603	[DEBUG]	Check product language entry
2023-10-13	12:28:32	603	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860095
2023-10-13	12:28:32	603	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:32	603	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125634' AND `virtuemart_product_id` != 1860095
2023-10-13	12:28:32	603	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:32	603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860095, '1000000125634')
2023-10-13	12:28:32	603	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:32	603	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-enfant-genio-52-57cm-yellow-lion-52-57cm' AND `virtuemart_product_id` != 1860095
2023-10-13	12:28:32	603	[DEBUG]	Query for ProductLang
2023-10-13	12:28:32	603	[DEBUG]	Executed store
2023-10-13	12:28:32	603	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Enfant Genio 52-57cm / Yellow Lion (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-enfant-genio-52-57cm-yellow-lion-52-57cm' WHERE `virtuemart_product_id` = '1860095'
2023-10-13	12:28:32	603	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34895_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:28:32	603	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:32	603	[DEBUG]	Process image file
2023-10-13	12:28:32	603	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:32	603	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:32	603	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34895_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:28:32	603	[DEBUG]	Full name target: bcprisme/34895_casque_met_enfant_genio_52-57cm.jpg
2023-10-13	12:28:33	603	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:33	603	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34895_casque_met_enfant_genio_52-57cm.jpg'
2023-10-13	12:28:33	603	[DEBUG]	Query for Media
2023-10-13	12:28:33	603	[DEBUG]	Executed store
2023-10-13	12:28:33	603	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34895_casque_met_enfant_genio_52-57cm.jpg',`file_url_thumb`='bcprisme/34895_casque_met_enfant_genio_52-57cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '464325'
2023-10-13	12:28:33	603	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:33	603	[DEBUG]	Executed store
2023-10-13	12:28:33	603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860095','464325','1')
2023-10-13	12:28:33	603	[DEBUG]	Store product image relation
2023-10-13	12:28:33	603	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:33	603	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860095 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:33	603	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:33	603	[DEBUG]	Executed store
2023-10-13	12:28:33	603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860095','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:33	603	[DEBUG]	Checking manufacturer
2023-10-13	12:28:33	603	[DEBUG]	Load a row
2023-10-13	12:28:33	603	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:33	603	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:33	603	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:33	603	[DEBUG]	Executed store
2023-10-13	12:28:33	603	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:33	603	[DEBUG]	Manufacturer exists
2023-10-13	12:28:33	603	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:33	603	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:33	603	[DEBUG]	Executed store
2023-10-13	12:28:33	603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860095','226')
2023-10-13	12:28:33	603	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:33	603	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:33	603	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860095 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:33	603	[DEBUG]	Store custom available field
2023-10-13	12:28:33	603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860095,3,'',1)
2023-10-13	12:28:33	603	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:33	603	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:33	603	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860095 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:33	603	[DEBUG]	Store custom available field
2023-10-13	12:28:33	603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860095,6,'52-57cm',3)
2023-10-13	12:28:33	603	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:33	603	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:33	603	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860094
2023-10-13	12:28:33	603	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:33	603	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860094\":[1860094,8,1,\"choisir la taille\"],\"1860095\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860094
2023-10-13	12:28:33	603	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:33	603	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860095
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:33	604	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field taille
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:33	604	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:33	604	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:33	604	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:33	604	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:33	604	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:33	604	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field published
2023-10-13	12:28:33	604	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:33	604	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field override
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:33	604	[DEBUG]	Use field value for field slug
2023-10-13	12:28:33	604	[DEBUG]	Process line 604
2023-10-13	12:28:33	604	[DEBUG]	Load a row
2023-10-13	12:28:33	604	[DEBUG]	Processing item: A_7498_27
2023-10-13	12:28:33	604	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:33	604	[DEBUG]	Processing product tax
2023-10-13	12:28:33	604	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:33	604	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:33	604	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:33	604	[DEBUG]	Query for Product
2023-10-13	12:28:33	604	[DEBUG]	Executed store
2023-10-13	12:28:33	604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7498_27','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:33	604	[DEBUG]	Check product language entry
2023-10-13	12:28:33	604	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860096
2023-10-13	12:28:33	604	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:33	604	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7498_27' AND `virtuemart_product_id` != 1860096
2023-10-13	12:28:33	604	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:33	604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860096, 'A_7498_27')
2023-10-13	12:28:33	604	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:33	604	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-orange' AND `virtuemart_product_id` != 1860096
2023-10-13	12:28:33	604	[DEBUG]	Query for ProductLang
2023-10-13	12:28:33	604	[DEBUG]	Executed store
2023-10-13	12:28:33	604	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Crackerjack est un casque jeune qui allie conformité aux normes les plus exigeantes et design séduisant. La construction In-Mould, aussi utilisée pour les adultes, est solidement maintenue sur la tête et assure une sécurité élevée grâce à une fermeture à clip et un ajustement individuelle de la taille. La lampe à LED fonctionnelle ainsi que les variantes de coloris sont élégantes et elles la visibilité. Ce casque convient pour des tours de tête compris entre 52 et 57 cm.<br><br>Caractéristiques:<br><br>Intérieur: EPS<br>Réglage de la taille: Safe-T E-Twist<br>Fermeture anti-pincement<br>Visière amovible<br>Mousses anti-allergiques lavables à la main<br>LED intégrée et réflecteurs à l\'arrière<br>Protection anti-insectes<br>Poids: 265 g<br>Taille: 52-57 cm<br>N° art fourn : 720.002.00',`product_name`='MET Casque MET Crackerjack  / Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-orange' WHERE `virtuemart_product_id` = '1860096'
2023-10-13	12:28:33	604	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34875_casque_met_crackerjack_52-57cm.png
2023-10-13	12:28:33	604	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	12:28:33	604	[DEBUG]	Process image file
2023-10-13	12:28:33	604	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	12:28:33	604	[DEBUG]	Mime type found: image/png
2023-10-13	12:28:33	604	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34875_casque_met_crackerjack_52-57cm.png
2023-10-13	12:28:33	604	[DEBUG]	Full name target: bcprisme/34875_casque_met_crackerjack_52-57cm.png
2023-10-13	12:28:34	604	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:34	604	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34875_casque_met_crackerjack_52-57cm.png'
2023-10-13	12:28:34	604	[DEBUG]	Query for Media
2023-10-13	12:28:34	604	[DEBUG]	Executed store
2023-10-13	12:28:34	604	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34875_casque_met_crackerjack_52-57cm.png',`file_url_thumb`='bcprisme/34875_casque_met_crackerjack_52-57cm.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239090'
2023-10-13	12:28:34	604	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:34	604	[DEBUG]	Executed store
2023-10-13	12:28:34	604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860096','239090','1')
2023-10-13	12:28:34	604	[DEBUG]	Store product image relation
2023-10-13	12:28:34	604	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:34	604	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860096 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:34	604	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:34	604	[DEBUG]	Executed store
2023-10-13	12:28:34	604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860096','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:34	604	[DEBUG]	Checking manufacturer
2023-10-13	12:28:34	604	[DEBUG]	Load a row
2023-10-13	12:28:34	604	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:34	604	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:34	604	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:34	604	[DEBUG]	Executed store
2023-10-13	12:28:34	604	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:34	604	[DEBUG]	Manufacturer exists
2023-10-13	12:28:34	604	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:34	604	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:34	604	[DEBUG]	Executed store
2023-10-13	12:28:34	604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860096','226')
2023-10-13	12:28:34	604	[DEBUG]	Find the custom field ID
2023-10-13	12:28:34	604	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:34	604	[DEBUG]	No custom field ID found
2023-10-13	12:28:34	604	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:34	604	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:34	604	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860096 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:34	604	[DEBUG]	Store custom available field
2023-10-13	12:28:34	604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860096,3,'9.8725',1)
2023-10-13	12:28:34	604	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:34	604	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:34	604	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860096 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:34	604	[DEBUG]	Store custom available field
2023-10-13	12:28:34	604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860096,6,'choisir la taille',3)
2023-10-13	12:28:34	604	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:34	604	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:34	604	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:34	604	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:34	604	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860096 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:34	604	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:34	604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860096,8,1)
2023-10-13	12:28:34	604	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:34	604	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860096\":[1860096,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860096
2023-10-13	12:28:34	604	[DEBUG]	Checking category
2023-10-13	12:28:34	604	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:34	604	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860096
2023-10-13	12:28:34	604	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:34	604	[DEBUG]	Executed store
2023-10-13	12:28:34	604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860096','7281')
2023-10-13	12:28:34	604	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:34	604	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860096 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:34	604	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:34	604	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860096
2023-10-13	12:28:34	605	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:34	605	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:34	605	[DEBUG]	Use field value for field taille
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:34	605	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:34	605	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:34	605	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:34	605	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:34	605	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:34	605	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:34	605	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:34	605	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:34	605	[DEBUG]	Use field value for field published
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:34	605	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field override
2023-10-13	12:28:34	605	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:34	605	[DEBUG]	Use field value for field slug
2023-10-13	12:28:34	605	[DEBUG]	Process line 605
2023-10-13	12:28:34	605	[DEBUG]	Load a row
2023-10-13	12:28:34	605	[DEBUG]	Processing item: 1000000125153
2023-10-13	12:28:34	605	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:34	605	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:34	605	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7498_27'
2023-10-13	12:28:34	605	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:34	605	[DEBUG]	Processing product tax
2023-10-13	12:28:34	605	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:34	605	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:34	605	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:34	605	[DEBUG]	Query for Product
2023-10-13	12:28:34	605	[DEBUG]	Executed store
2023-10-13	12:28:34	605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860096','1000000125153','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:34	605	[DEBUG]	No parent found
2023-10-13	12:28:34	605	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860096 AND customfield_value = 'stockable'
2023-10-13	12:28:34	605	[DEBUG]	Check product language entry
2023-10-13	12:28:34	605	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860097
2023-10-13	12:28:34	605	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:34	605	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125153' AND `virtuemart_product_id` != 1860097
2023-10-13	12:28:34	605	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:34	605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860097, '1000000125153')
2023-10-13	12:28:34	605	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:34	605	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-orange-52-57cm' AND `virtuemart_product_id` != 1860097
2023-10-13	12:28:34	605	[DEBUG]	Query for ProductLang
2023-10-13	12:28:34	605	[DEBUG]	Executed store
2023-10-13	12:28:34	605	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Crackerjack  / Orange (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-orange-52-57cm' WHERE `virtuemart_product_id` = '1860097'
2023-10-13	12:28:34	605	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34875_casque_met_crackerjack_52-57cm.png
2023-10-13	12:28:34	605	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	12:28:34	605	[DEBUG]	Process image file
2023-10-13	12:28:34	605	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	12:28:34	605	[DEBUG]	Mime type found: image/png
2023-10-13	12:28:34	605	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34875_casque_met_crackerjack_52-57cm.png
2023-10-13	12:28:34	605	[DEBUG]	Full name target: bcprisme/34875_casque_met_crackerjack_52-57cm.png
2023-10-13	12:28:35	605	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:35	605	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34875_casque_met_crackerjack_52-57cm.png'
2023-10-13	12:28:35	605	[DEBUG]	Query for Media
2023-10-13	12:28:35	605	[DEBUG]	Executed store
2023-10-13	12:28:35	605	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34875_casque_met_crackerjack_52-57cm.png',`file_url_thumb`='bcprisme/34875_casque_met_crackerjack_52-57cm.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239090'
2023-10-13	12:28:35	605	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:35	605	[DEBUG]	Executed store
2023-10-13	12:28:35	605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860097','239090','1')
2023-10-13	12:28:35	605	[DEBUG]	Store product image relation
2023-10-13	12:28:35	605	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:35	605	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860097 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:35	605	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:35	605	[DEBUG]	Executed store
2023-10-13	12:28:35	605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860097','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:35	605	[DEBUG]	Checking manufacturer
2023-10-13	12:28:35	605	[DEBUG]	Load a row
2023-10-13	12:28:35	605	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:35	605	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:35	605	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:35	605	[DEBUG]	Executed store
2023-10-13	12:28:35	605	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:35	605	[DEBUG]	Manufacturer exists
2023-10-13	12:28:35	605	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:35	605	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:35	605	[DEBUG]	Executed store
2023-10-13	12:28:35	605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860097','226')
2023-10-13	12:28:35	605	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:35	605	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:35	605	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860097 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:35	605	[DEBUG]	Store custom available field
2023-10-13	12:28:35	605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860097,3,'',1)
2023-10-13	12:28:35	605	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:35	605	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:35	605	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860097 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:35	605	[DEBUG]	Store custom available field
2023-10-13	12:28:35	605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860097,6,'52-57cm',3)
2023-10-13	12:28:35	605	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:35	605	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:35	605	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860096
2023-10-13	12:28:35	605	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:35	605	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860096\":[1860096,8,1,\"choisir la taille\"],\"1860097\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860096
2023-10-13	12:28:35	605	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:35	605	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860097
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:35	606	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field taille
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:35	606	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:35	606	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:35	606	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:35	606	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:35	606	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:35	606	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field published
2023-10-13	12:28:35	606	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:35	606	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field override
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:35	606	[DEBUG]	Use field value for field slug
2023-10-13	12:28:35	606	[DEBUG]	Process line 606
2023-10-13	12:28:35	606	[DEBUG]	Load a row
2023-10-13	12:28:35	606	[DEBUG]	Processing item: A_7498_183
2023-10-13	12:28:35	606	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:35	606	[DEBUG]	Processing product tax
2023-10-13	12:28:35	606	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:35	606	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:35	606	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:35	606	[DEBUG]	Query for Product
2023-10-13	12:28:35	606	[DEBUG]	Executed store
2023-10-13	12:28:35	606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7498_183','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:35	606	[DEBUG]	Check product language entry
2023-10-13	12:28:35	606	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860098
2023-10-13	12:28:35	606	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:35	606	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7498_183' AND `virtuemart_product_id` != 1860098
2023-10-13	12:28:35	606	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:35	606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860098, 'A_7498_183')
2023-10-13	12:28:35	606	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:35	606	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-green' AND `virtuemart_product_id` != 1860098
2023-10-13	12:28:35	606	[DEBUG]	Query for ProductLang
2023-10-13	12:28:35	606	[DEBUG]	Executed store
2023-10-13	12:28:35	606	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Crackerjack est un casque jeune qui allie conformité aux normes les plus exigeantes et design séduisant. La construction In-Mould, aussi utilisée pour les adultes, est solidement maintenue sur la tête et assure une sécurité élevée grâce à une fermeture à clip et un ajustement individuelle de la taille. La lampe à LED fonctionnelle ainsi que les variantes de coloris sont élégantes et elles la visibilité. Ce casque convient pour des tours de tête compris entre 52 et 57 cm.<br><br>Caractéristiques:<br><br>Intérieur: EPS<br>Réglage de la taille: Safe-T E-Twist<br>Fermeture anti-pincement<br>Visière amovible<br>Mousses anti-allergiques lavables à la main<br>LED intégrée et réflecteurs à l\'arrière<br>Protection anti-insectes<br>Poids: 265 g<br>Taille: 52-57 cm<br>N° art fourn : 720.002.00',`product_name`='MET Casque MET Crackerjack  / GREEN',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-green' WHERE `virtuemart_product_id` = '1860098'
2023-10-13	12:28:35	606	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38975_casque_met_crackerjack_.jpg
2023-10-13	12:28:35	606	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:35	606	[DEBUG]	Process image file
2023-10-13	12:28:35	606	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:35	606	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:35	606	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38975_casque_met_crackerjack_.jpg
2023-10-13	12:28:35	606	[DEBUG]	Full name target: bcprisme/38975_casque_met_crackerjack_.jpg
2023-10-13	12:28:36	606	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:36	606	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38975_casque_met_crackerjack_.jpg'
2023-10-13	12:28:36	606	[DEBUG]	Query for Media
2023-10-13	12:28:36	606	[DEBUG]	Executed store
2023-10-13	12:28:36	606	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38975_casque_met_crackerjack_.jpg',`file_url_thumb`='bcprisme/38975_casque_met_crackerjack_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498827'
2023-10-13	12:28:36	606	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:36	606	[DEBUG]	Executed store
2023-10-13	12:28:36	606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860098','1498827','1')
2023-10-13	12:28:36	606	[DEBUG]	Store product image relation
2023-10-13	12:28:36	606	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:36	606	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860098 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:36	606	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:36	606	[DEBUG]	Executed store
2023-10-13	12:28:36	606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860098','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:36	606	[DEBUG]	Checking manufacturer
2023-10-13	12:28:36	606	[DEBUG]	Load a row
2023-10-13	12:28:36	606	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:36	606	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:36	606	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:36	606	[DEBUG]	Executed store
2023-10-13	12:28:36	606	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:36	606	[DEBUG]	Manufacturer exists
2023-10-13	12:28:36	606	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:36	606	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:36	606	[DEBUG]	Executed store
2023-10-13	12:28:36	606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860098','226')
2023-10-13	12:28:36	606	[DEBUG]	Find the custom field ID
2023-10-13	12:28:36	606	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:36	606	[DEBUG]	No custom field ID found
2023-10-13	12:28:36	606	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:36	606	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:36	606	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860098 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:36	606	[DEBUG]	Store custom available field
2023-10-13	12:28:36	606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860098,3,'9.8725',1)
2023-10-13	12:28:36	606	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:36	606	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:36	606	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860098 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:36	606	[DEBUG]	Store custom available field
2023-10-13	12:28:36	606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860098,6,'choisir la taille',3)
2023-10-13	12:28:36	606	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:36	606	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:36	606	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:36	606	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:36	606	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860098 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:36	606	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:36	606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860098,8,1)
2023-10-13	12:28:36	606	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:36	606	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860098\":[1860098,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860098
2023-10-13	12:28:36	606	[DEBUG]	Checking category
2023-10-13	12:28:36	606	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:36	606	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860098
2023-10-13	12:28:36	606	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:36	606	[DEBUG]	Executed store
2023-10-13	12:28:36	606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860098','7281')
2023-10-13	12:28:36	606	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:36	606	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860098 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:36	606	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:36	606	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860098
2023-10-13	12:28:36	607	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:36	607	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:36	607	[DEBUG]	Use field value for field taille
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:36	607	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:36	607	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:36	607	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:36	607	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:36	607	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:36	607	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:36	607	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:36	607	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:36	607	[DEBUG]	Use field value for field published
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:36	607	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field override
2023-10-13	12:28:36	607	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:36	607	[DEBUG]	Use field value for field slug
2023-10-13	12:28:36	607	[DEBUG]	Process line 607
2023-10-13	12:28:36	607	[DEBUG]	Load a row
2023-10-13	12:28:36	607	[DEBUG]	Processing item: 1000011148417
2023-10-13	12:28:36	607	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:36	607	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:36	607	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7498_183'
2023-10-13	12:28:36	607	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:36	607	[DEBUG]	Processing product tax
2023-10-13	12:28:36	607	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:36	607	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:36	607	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:36	607	[DEBUG]	Query for Product
2023-10-13	12:28:36	607	[DEBUG]	Executed store
2023-10-13	12:28:36	607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860098','1000011148417','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:36	607	[DEBUG]	No parent found
2023-10-13	12:28:36	607	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860098 AND customfield_value = 'stockable'
2023-10-13	12:28:36	607	[DEBUG]	Check product language entry
2023-10-13	12:28:36	607	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860099
2023-10-13	12:28:36	607	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:36	607	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000011148417' AND `virtuemart_product_id` != 1860099
2023-10-13	12:28:36	607	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:36	607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860099, '1000011148417')
2023-10-13	12:28:36	607	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:36	607	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-green-52-57cm' AND `virtuemart_product_id` != 1860099
2023-10-13	12:28:36	607	[DEBUG]	Query for ProductLang
2023-10-13	12:28:36	607	[DEBUG]	Executed store
2023-10-13	12:28:36	607	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Crackerjack  / GREEN (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-green-52-57cm' WHERE `virtuemart_product_id` = '1860099'
2023-10-13	12:28:36	607	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38975_casque_met_crackerjack_.jpg
2023-10-13	12:28:36	607	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:36	607	[DEBUG]	Process image file
2023-10-13	12:28:36	607	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:36	607	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:36	607	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38975_casque_met_crackerjack_.jpg
2023-10-13	12:28:36	607	[DEBUG]	Full name target: bcprisme/38975_casque_met_crackerjack_.jpg
2023-10-13	12:28:37	607	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:37	607	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38975_casque_met_crackerjack_.jpg'
2023-10-13	12:28:37	607	[DEBUG]	Query for Media
2023-10-13	12:28:37	607	[DEBUG]	Executed store
2023-10-13	12:28:37	607	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38975_casque_met_crackerjack_.jpg',`file_url_thumb`='bcprisme/38975_casque_met_crackerjack_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498827'
2023-10-13	12:28:37	607	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:37	607	[DEBUG]	Executed store
2023-10-13	12:28:37	607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860099','1498827','1')
2023-10-13	12:28:37	607	[DEBUG]	Store product image relation
2023-10-13	12:28:37	607	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:37	607	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860099 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:37	607	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:37	607	[DEBUG]	Executed store
2023-10-13	12:28:37	607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860099','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:37	607	[DEBUG]	Checking manufacturer
2023-10-13	12:28:37	607	[DEBUG]	Load a row
2023-10-13	12:28:37	607	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:37	607	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:37	607	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:37	607	[DEBUG]	Executed store
2023-10-13	12:28:37	607	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:37	607	[DEBUG]	Manufacturer exists
2023-10-13	12:28:37	607	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:37	607	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:37	607	[DEBUG]	Executed store
2023-10-13	12:28:37	607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860099','226')
2023-10-13	12:28:37	607	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:37	607	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:37	607	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860099 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:37	607	[DEBUG]	Store custom available field
2023-10-13	12:28:37	607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860099,3,'',1)
2023-10-13	12:28:37	607	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:37	607	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:37	607	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860099 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:37	607	[DEBUG]	Store custom available field
2023-10-13	12:28:37	607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860099,6,'52-57cm',3)
2023-10-13	12:28:37	607	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:37	607	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:37	607	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860098
2023-10-13	12:28:37	607	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:37	607	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860098\":[1860098,8,1,\"choisir la taille\"],\"1860099\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860098
2023-10-13	12:28:37	607	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:37	607	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860099
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:37	608	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field taille
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:37	608	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:37	608	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:37	608	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:37	608	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:37	608	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:37	608	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field published
2023-10-13	12:28:37	608	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:37	608	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field override
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:37	608	[DEBUG]	Use field value for field slug
2023-10-13	12:28:37	608	[DEBUG]	Process line 608
2023-10-13	12:28:37	608	[DEBUG]	Load a row
2023-10-13	12:28:37	608	[DEBUG]	Processing item: A_7498_216
2023-10-13	12:28:37	608	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:37	608	[DEBUG]	Processing product tax
2023-10-13	12:28:37	608	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:37	608	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:37	608	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:37	608	[DEBUG]	Query for Product
2023-10-13	12:28:37	608	[DEBUG]	Executed store
2023-10-13	12:28:37	608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7498_216','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:37	608	[DEBUG]	Check product language entry
2023-10-13	12:28:37	608	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860100
2023-10-13	12:28:37	608	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:37	608	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7498_216' AND `virtuemart_product_id` != 1860100
2023-10-13	12:28:37	608	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:37	608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860100, 'A_7498_216')
2023-10-13	12:28:37	608	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:37	608	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-purple' AND `virtuemart_product_id` != 1860100
2023-10-13	12:28:37	608	[DEBUG]	Query for ProductLang
2023-10-13	12:28:37	608	[DEBUG]	Executed store
2023-10-13	12:28:37	608	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Crackerjack est un casque jeune qui allie conformité aux normes les plus exigeantes et design séduisant. La construction In-Mould, aussi utilisée pour les adultes, est solidement maintenue sur la tête et assure une sécurité élevée grâce à une fermeture à clip et un ajustement individuelle de la taille. La lampe à LED fonctionnelle ainsi que les variantes de coloris sont élégantes et elles la visibilité. Ce casque convient pour des tours de tête compris entre 52 et 57 cm.<br><br>Caractéristiques:<br><br>Intérieur: EPS<br>Réglage de la taille: Safe-T E-Twist<br>Fermeture anti-pincement<br>Visière amovible<br>Mousses anti-allergiques lavables à la main<br>LED intégrée et réflecteurs à l\'arrière<br>Protection anti-insectes<br>Poids: 265 g<br>Taille: 52-57 cm<br>N° art fourn : 720.002.00',`product_name`='MET Casque MET Crackerjack  / Purple',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-purple' WHERE `virtuemart_product_id` = '1860100'
2023-10-13	12:28:37	608	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39039_casque_met_crackerjack_.jpg
2023-10-13	12:28:37	608	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:37	608	[DEBUG]	Process image file
2023-10-13	12:28:37	608	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:37	608	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:37	608	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39039_casque_met_crackerjack_.jpg
2023-10-13	12:28:37	608	[DEBUG]	Full name target: bcprisme/39039_casque_met_crackerjack_.jpg
2023-10-13	12:28:38	608	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:38	608	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39039_casque_met_crackerjack_.jpg'
2023-10-13	12:28:38	608	[DEBUG]	Query for Media
2023-10-13	12:28:38	608	[DEBUG]	Executed store
2023-10-13	12:28:38	608	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39039_casque_met_crackerjack_.jpg',`file_url_thumb`='bcprisme/39039_casque_met_crackerjack_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498829'
2023-10-13	12:28:38	608	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:38	608	[DEBUG]	Executed store
2023-10-13	12:28:38	608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860100','1498829','1')
2023-10-13	12:28:38	608	[DEBUG]	Store product image relation
2023-10-13	12:28:38	608	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:38	608	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860100 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:38	608	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:38	608	[DEBUG]	Executed store
2023-10-13	12:28:38	608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860100','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:38	608	[DEBUG]	Checking manufacturer
2023-10-13	12:28:38	608	[DEBUG]	Load a row
2023-10-13	12:28:38	608	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:38	608	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:38	608	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:38	608	[DEBUG]	Executed store
2023-10-13	12:28:38	608	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:38	608	[DEBUG]	Manufacturer exists
2023-10-13	12:28:38	608	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:38	608	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:38	608	[DEBUG]	Executed store
2023-10-13	12:28:38	608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860100','226')
2023-10-13	12:28:38	608	[DEBUG]	Find the custom field ID
2023-10-13	12:28:38	608	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:38	608	[DEBUG]	No custom field ID found
2023-10-13	12:28:38	608	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:38	608	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:38	608	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860100 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:38	608	[DEBUG]	Store custom available field
2023-10-13	12:28:38	608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860100,3,'9.8725',1)
2023-10-13	12:28:38	608	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:38	608	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:38	608	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860100 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:38	608	[DEBUG]	Store custom available field
2023-10-13	12:28:38	608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860100,6,'choisir la taille',3)
2023-10-13	12:28:38	608	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:38	608	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:38	608	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:38	608	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:38	608	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860100 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:38	608	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:38	608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860100,8,1)
2023-10-13	12:28:38	608	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:38	608	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860100\":[1860100,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860100
2023-10-13	12:28:38	608	[DEBUG]	Checking category
2023-10-13	12:28:38	608	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:38	608	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860100
2023-10-13	12:28:38	608	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:38	608	[DEBUG]	Executed store
2023-10-13	12:28:38	608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860100','7281')
2023-10-13	12:28:38	608	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:38	608	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860100 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:38	608	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:38	608	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860100
2023-10-13	12:28:38	609	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:38	609	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:38	609	[DEBUG]	Use field value for field taille
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:38	609	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:38	609	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:38	609	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:38	609	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:38	609	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:38	609	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:38	609	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:38	609	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:38	609	[DEBUG]	Use field value for field published
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:38	609	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field override
2023-10-13	12:28:38	609	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:38	609	[DEBUG]	Use field value for field slug
2023-10-13	12:28:38	609	[DEBUG]	Process line 609
2023-10-13	12:28:38	609	[DEBUG]	Load a row
2023-10-13	12:28:38	609	[DEBUG]	Processing item: 1000011148424
2023-10-13	12:28:38	609	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:38	609	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:38	609	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7498_216'
2023-10-13	12:28:38	609	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:38	609	[DEBUG]	Processing product tax
2023-10-13	12:28:38	609	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:38	609	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:38	609	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:38	609	[DEBUG]	Query for Product
2023-10-13	12:28:38	609	[DEBUG]	Executed store
2023-10-13	12:28:38	609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860100','1000011148424','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:38	609	[DEBUG]	No parent found
2023-10-13	12:28:38	609	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860100 AND customfield_value = 'stockable'
2023-10-13	12:28:38	609	[DEBUG]	Check product language entry
2023-10-13	12:28:38	609	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860101
2023-10-13	12:28:38	609	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:38	609	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000011148424' AND `virtuemart_product_id` != 1860101
2023-10-13	12:28:38	609	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:38	609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860101, '1000011148424')
2023-10-13	12:28:38	609	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:38	609	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-purple-52-57cm' AND `virtuemart_product_id` != 1860101
2023-10-13	12:28:38	609	[DEBUG]	Query for ProductLang
2023-10-13	12:28:38	609	[DEBUG]	Executed store
2023-10-13	12:28:38	609	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Crackerjack  / Purple (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-purple-52-57cm' WHERE `virtuemart_product_id` = '1860101'
2023-10-13	12:28:38	609	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39039_casque_met_crackerjack_.jpg
2023-10-13	12:28:38	609	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:38	609	[DEBUG]	Process image file
2023-10-13	12:28:38	609	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:38	609	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:38	609	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39039_casque_met_crackerjack_.jpg
2023-10-13	12:28:38	609	[DEBUG]	Full name target: bcprisme/39039_casque_met_crackerjack_.jpg
2023-10-13	12:28:39	609	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:39	609	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39039_casque_met_crackerjack_.jpg'
2023-10-13	12:28:39	609	[DEBUG]	Query for Media
2023-10-13	12:28:39	609	[DEBUG]	Executed store
2023-10-13	12:28:39	609	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39039_casque_met_crackerjack_.jpg',`file_url_thumb`='bcprisme/39039_casque_met_crackerjack_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498829'
2023-10-13	12:28:39	609	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:39	609	[DEBUG]	Executed store
2023-10-13	12:28:39	609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860101','1498829','1')
2023-10-13	12:28:39	609	[DEBUG]	Store product image relation
2023-10-13	12:28:39	609	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:39	609	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860101 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:39	609	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:39	609	[DEBUG]	Executed store
2023-10-13	12:28:39	609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860101','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:39	609	[DEBUG]	Checking manufacturer
2023-10-13	12:28:39	609	[DEBUG]	Load a row
2023-10-13	12:28:39	609	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:39	609	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:39	609	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:39	609	[DEBUG]	Executed store
2023-10-13	12:28:39	609	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:39	609	[DEBUG]	Manufacturer exists
2023-10-13	12:28:39	609	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:39	609	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:39	609	[DEBUG]	Executed store
2023-10-13	12:28:39	609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860101','226')
2023-10-13	12:28:39	609	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:39	609	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:39	609	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860101 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:39	609	[DEBUG]	Store custom available field
2023-10-13	12:28:39	609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860101,3,'',1)
2023-10-13	12:28:39	609	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:39	609	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:39	609	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860101 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:39	609	[DEBUG]	Store custom available field
2023-10-13	12:28:39	609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860101,6,'52-57cm',3)
2023-10-13	12:28:39	609	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:39	609	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:39	609	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860100
2023-10-13	12:28:39	609	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:39	609	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860100\":[1860100,8,1,\"choisir la taille\"],\"1860101\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860100
2023-10-13	12:28:39	609	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:39	609	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860101
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:39	610	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field taille
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:39	610	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:39	610	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:39	610	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:39	610	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:39	610	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:39	610	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field published
2023-10-13	12:28:39	610	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:39	610	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field override
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:39	610	[DEBUG]	Use field value for field slug
2023-10-13	12:28:39	610	[DEBUG]	Process line 610
2023-10-13	12:28:39	610	[DEBUG]	Load a row
2023-10-13	12:28:39	610	[DEBUG]	Processing item: A_7498_433
2023-10-13	12:28:39	610	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:39	610	[DEBUG]	Processing product tax
2023-10-13	12:28:39	610	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:39	610	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:39	610	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:39	610	[DEBUG]	Query for Product
2023-10-13	12:28:39	610	[DEBUG]	Executed store
2023-10-13	12:28:39	610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7498_433','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:39	610	[DEBUG]	Check product language entry
2023-10-13	12:28:39	610	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860102
2023-10-13	12:28:39	610	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:39	610	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7498_433' AND `virtuemart_product_id` != 1860102
2023-10-13	12:28:39	610	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:39	610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860102, 'A_7498_433')
2023-10-13	12:28:39	610	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:39	610	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-safety-yellow' AND `virtuemart_product_id` != 1860102
2023-10-13	12:28:39	610	[DEBUG]	Query for ProductLang
2023-10-13	12:28:39	610	[DEBUG]	Executed store
2023-10-13	12:28:39	610	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Crackerjack est un casque jeune qui allie conformité aux normes les plus exigeantes et design séduisant. La construction In-Mould, aussi utilisée pour les adultes, est solidement maintenue sur la tête et assure une sécurité élevée grâce à une fermeture à clip et un ajustement individuelle de la taille. La lampe à LED fonctionnelle ainsi que les variantes de coloris sont élégantes et elles la visibilité. Ce casque convient pour des tours de tête compris entre 52 et 57 cm.<br><br>Caractéristiques:<br><br>Intérieur: EPS<br>Réglage de la taille: Safe-T E-Twist<br>Fermeture anti-pincement<br>Visière amovible<br>Mousses anti-allergiques lavables à la main<br>LED intégrée et réflecteurs à l\'arrière<br>Protection anti-insectes<br>Poids: 265 g<br>Taille: 52-57 cm<br>N° art fourn : 720.002.00',`product_name`='MET Casque MET Crackerjack  / Safety/Yellow',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-safety-yellow' WHERE `virtuemart_product_id` = '1860102'
2023-10-13	12:28:39	610	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34876_casque_met_crackerjack_52-57cm.jpg
2023-10-13	12:28:39	610	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:39	610	[DEBUG]	Process image file
2023-10-13	12:28:39	610	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:39	610	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:39	610	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34876_casque_met_crackerjack_52-57cm.jpg
2023-10-13	12:28:39	610	[DEBUG]	Full name target: bcprisme/34876_casque_met_crackerjack_52-57cm.jpg
2023-10-13	12:28:40	610	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:40	610	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34876_casque_met_crackerjack_52-57cm.jpg'
2023-10-13	12:28:40	610	[DEBUG]	Query for Media
2023-10-13	12:28:40	610	[DEBUG]	Executed store
2023-10-13	12:28:40	610	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34876_casque_met_crackerjack_52-57cm.jpg',`file_url_thumb`='bcprisme/34876_casque_met_crackerjack_52-57cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239092'
2023-10-13	12:28:40	610	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:40	610	[DEBUG]	Executed store
2023-10-13	12:28:40	610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860102','239092','1')
2023-10-13	12:28:40	610	[DEBUG]	Store product image relation
2023-10-13	12:28:40	610	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:40	610	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860102 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:40	610	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:40	610	[DEBUG]	Executed store
2023-10-13	12:28:40	610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860102','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:40	610	[DEBUG]	Checking manufacturer
2023-10-13	12:28:40	610	[DEBUG]	Load a row
2023-10-13	12:28:40	610	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:40	610	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:40	610	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:40	610	[DEBUG]	Executed store
2023-10-13	12:28:40	610	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:40	610	[DEBUG]	Manufacturer exists
2023-10-13	12:28:40	610	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:40	610	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:40	610	[DEBUG]	Executed store
2023-10-13	12:28:40	610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860102','226')
2023-10-13	12:28:40	610	[DEBUG]	Find the custom field ID
2023-10-13	12:28:40	610	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:40	610	[DEBUG]	No custom field ID found
2023-10-13	12:28:40	610	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:40	610	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:40	610	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860102 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:40	610	[DEBUG]	Store custom available field
2023-10-13	12:28:40	610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860102,3,'9.8725',1)
2023-10-13	12:28:40	610	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:40	610	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:40	610	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860102 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:40	610	[DEBUG]	Store custom available field
2023-10-13	12:28:40	610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860102,6,'choisir la taille',3)
2023-10-13	12:28:40	610	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:40	610	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:40	610	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:40	610	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:40	610	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860102 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:40	610	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:40	610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860102,8,1)
2023-10-13	12:28:40	610	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:40	610	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860102\":[1860102,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860102
2023-10-13	12:28:40	610	[DEBUG]	Checking category
2023-10-13	12:28:40	610	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:40	610	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860102
2023-10-13	12:28:40	610	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:40	610	[DEBUG]	Executed store
2023-10-13	12:28:40	610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860102','7281')
2023-10-13	12:28:40	610	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:40	610	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860102 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:40	610	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:40	610	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860102
2023-10-13	12:28:40	611	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:40	611	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:40	611	[DEBUG]	Use field value for field taille
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:40	611	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:40	611	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:40	611	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:40	611	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:40	611	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:40	611	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:40	611	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:40	611	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:40	611	[DEBUG]	Use field value for field published
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:40	611	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field override
2023-10-13	12:28:40	611	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:40	611	[DEBUG]	Use field value for field slug
2023-10-13	12:28:40	611	[DEBUG]	Process line 611
2023-10-13	12:28:40	611	[DEBUG]	Load a row
2023-10-13	12:28:40	611	[DEBUG]	Processing item: 1000000125160
2023-10-13	12:28:40	611	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:40	611	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:40	611	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7498_433'
2023-10-13	12:28:40	611	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:40	611	[DEBUG]	Processing product tax
2023-10-13	12:28:40	611	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:40	611	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:40	611	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:40	611	[DEBUG]	Query for Product
2023-10-13	12:28:40	611	[DEBUG]	Executed store
2023-10-13	12:28:40	611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860102','1000000125160','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:40	611	[DEBUG]	No parent found
2023-10-13	12:28:40	611	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860102 AND customfield_value = 'stockable'
2023-10-13	12:28:40	611	[DEBUG]	Check product language entry
2023-10-13	12:28:40	611	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860103
2023-10-13	12:28:40	611	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:40	611	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125160' AND `virtuemart_product_id` != 1860103
2023-10-13	12:28:40	611	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:40	611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860103, '1000000125160')
2023-10-13	12:28:40	611	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:40	611	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-safety-yellow-52-57cm' AND `virtuemart_product_id` != 1860103
2023-10-13	12:28:40	611	[DEBUG]	Query for ProductLang
2023-10-13	12:28:40	611	[DEBUG]	Executed store
2023-10-13	12:28:40	611	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Crackerjack  / Safety/Yellow (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-safety-yellow-52-57cm' WHERE `virtuemart_product_id` = '1860103'
2023-10-13	12:28:40	611	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34876_casque_met_crackerjack_52-57cm.jpg
2023-10-13	12:28:40	611	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:40	611	[DEBUG]	Process image file
2023-10-13	12:28:40	611	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:28:40	611	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:40	611	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34876_casque_met_crackerjack_52-57cm.jpg
2023-10-13	12:28:40	611	[DEBUG]	Full name target: bcprisme/34876_casque_met_crackerjack_52-57cm.jpg
2023-10-13	12:28:41	611	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:41	611	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34876_casque_met_crackerjack_52-57cm.jpg'
2023-10-13	12:28:41	611	[DEBUG]	Query for Media
2023-10-13	12:28:41	611	[DEBUG]	Executed store
2023-10-13	12:28:41	611	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34876_casque_met_crackerjack_52-57cm.jpg',`file_url_thumb`='bcprisme/34876_casque_met_crackerjack_52-57cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '239092'
2023-10-13	12:28:41	611	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:41	611	[DEBUG]	Executed store
2023-10-13	12:28:41	611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860103','239092','1')
2023-10-13	12:28:41	611	[DEBUG]	Store product image relation
2023-10-13	12:28:41	611	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:41	611	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860103 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:41	611	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:41	611	[DEBUG]	Executed store
2023-10-13	12:28:41	611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860103','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:41	611	[DEBUG]	Checking manufacturer
2023-10-13	12:28:41	611	[DEBUG]	Load a row
2023-10-13	12:28:41	611	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:41	611	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:41	611	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:41	611	[DEBUG]	Executed store
2023-10-13	12:28:41	611	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:41	611	[DEBUG]	Manufacturer exists
2023-10-13	12:28:41	611	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:41	611	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:41	611	[DEBUG]	Executed store
2023-10-13	12:28:41	611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860103','226')
2023-10-13	12:28:41	611	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:41	611	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:41	611	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860103 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:41	611	[DEBUG]	Store custom available field
2023-10-13	12:28:41	611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860103,3,'',1)
2023-10-13	12:28:41	611	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:41	611	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:41	611	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860103 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:41	611	[DEBUG]	Store custom available field
2023-10-13	12:28:41	611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860103,6,'52-57cm',3)
2023-10-13	12:28:41	611	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:41	611	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:41	611	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860102
2023-10-13	12:28:41	611	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:41	611	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860102\":[1860102,8,1,\"choisir la taille\"],\"1860103\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860102
2023-10-13	12:28:41	611	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:41	611	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860103
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:41	612	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field taille
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:41	612	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:41	612	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:41	612	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:41	612	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:41	612	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:41	612	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field published
2023-10-13	12:28:41	612	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:41	612	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field override
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:41	612	[DEBUG]	Use field value for field slug
2023-10-13	12:28:41	612	[DEBUG]	Process line 612
2023-10-13	12:28:41	612	[DEBUG]	Load a row
2023-10-13	12:28:41	612	[DEBUG]	Processing item: A_7498_564
2023-10-13	12:28:41	612	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:41	612	[DEBUG]	Processing product tax
2023-10-13	12:28:41	612	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:41	612	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:41	612	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:41	612	[DEBUG]	Query for Product
2023-10-13	12:28:41	612	[DEBUG]	Executed store
2023-10-13	12:28:41	612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7498_564','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:41	612	[DEBUG]	Check product language entry
2023-10-13	12:28:41	612	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860104
2023-10-13	12:28:41	612	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:41	612	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7498_564' AND `virtuemart_product_id` != 1860104
2023-10-13	12:28:41	612	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:41	612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860104, 'A_7498_564')
2023-10-13	12:28:41	612	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:41	612	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-pink-texture-vert' AND `virtuemart_product_id` != 1860104
2023-10-13	12:28:41	612	[DEBUG]	Query for ProductLang
2023-10-13	12:28:41	612	[DEBUG]	Executed store
2023-10-13	12:28:41	612	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Crackerjack est un casque jeune qui allie conformité aux normes les plus exigeantes et design séduisant. La construction In-Mould, aussi utilisée pour les adultes, est solidement maintenue sur la tête et assure une sécurité élevée grâce à une fermeture à clip et un ajustement individuelle de la taille. La lampe à LED fonctionnelle ainsi que les variantes de coloris sont élégantes et elles la visibilité. Ce casque convient pour des tours de tête compris entre 52 et 57 cm.<br><br>Caractéristiques:<br><br>Intérieur: EPS<br>Réglage de la taille: Safe-T E-Twist<br>Fermeture anti-pincement<br>Visière amovible<br>Mousses anti-allergiques lavables à la main<br>LED intégrée et réflecteurs à l\'arrière<br>Protection anti-insectes<br>Poids: 265 g<br>Taille: 52-57 cm<br>N° art fourn : 720.002.00',`product_name`='MET Casque MET Crackerjack  / Pink Texture Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-pink-texture-vert' WHERE `virtuemart_product_id` = '1860104'
2023-10-13	12:28:41	612	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36133_casque_met_crackerjack_.png
2023-10-13	12:28:41	612	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000040a
2023-10-13	12:28:41	612	[DEBUG]	Process image file
2023-10-13	12:28:41	612	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000040a
2023-10-13	12:28:41	612	[DEBUG]	Mime type found: image/png
2023-10-13	12:28:41	612	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36133_casque_met_crackerjack_.png
2023-10-13	12:28:41	612	[DEBUG]	Full name target: bcprisme/36133_casque_met_crackerjack_.png
2023-10-13	12:28:42	612	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:42	612	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36133_casque_met_crackerjack_.png'
2023-10-13	12:28:42	612	[DEBUG]	Query for Media
2023-10-13	12:28:42	612	[DEBUG]	Executed store
2023-10-13	12:28:42	612	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36133_casque_met_crackerjack_.png',`file_url_thumb`='bcprisme/36133_casque_met_crackerjack_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '457132'
2023-10-13	12:28:42	612	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:42	612	[DEBUG]	Executed store
2023-10-13	12:28:42	612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860104','457132','1')
2023-10-13	12:28:42	612	[DEBUG]	Store product image relation
2023-10-13	12:28:42	612	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:42	612	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860104 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:42	612	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:42	612	[DEBUG]	Executed store
2023-10-13	12:28:42	612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860104','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:42	612	[DEBUG]	Checking manufacturer
2023-10-13	12:28:42	612	[DEBUG]	Load a row
2023-10-13	12:28:42	612	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:42	612	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:42	612	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:42	612	[DEBUG]	Executed store
2023-10-13	12:28:42	612	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:42	612	[DEBUG]	Manufacturer exists
2023-10-13	12:28:42	612	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:42	612	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:42	612	[DEBUG]	Executed store
2023-10-13	12:28:42	612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860104','226')
2023-10-13	12:28:42	612	[DEBUG]	Find the custom field ID
2023-10-13	12:28:42	612	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:42	612	[DEBUG]	No custom field ID found
2023-10-13	12:28:42	612	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:42	612	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:42	612	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860104 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:42	612	[DEBUG]	Store custom available field
2023-10-13	12:28:42	612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860104,3,'9.8725',1)
2023-10-13	12:28:42	612	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:42	612	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:42	612	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860104 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:42	612	[DEBUG]	Store custom available field
2023-10-13	12:28:42	612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860104,6,'choisir la taille',3)
2023-10-13	12:28:42	612	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:42	612	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:42	612	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:42	612	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:42	612	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860104 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:42	612	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:42	612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860104,8,1)
2023-10-13	12:28:42	612	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:42	612	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860104\":[1860104,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860104
2023-10-13	12:28:42	612	[DEBUG]	Checking category
2023-10-13	12:28:42	612	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:42	612	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860104
2023-10-13	12:28:42	612	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:42	612	[DEBUG]	Executed store
2023-10-13	12:28:42	612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860104','7281')
2023-10-13	12:28:42	612	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:42	612	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860104 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:42	612	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:42	612	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860104
2023-10-13	12:28:42	613	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:42	613	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:42	613	[DEBUG]	Use field value for field taille
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:42	613	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:42	613	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:42	613	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:42	613	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:42	613	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:42	613	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:42	613	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:42	613	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:42	613	[DEBUG]	Use field value for field published
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:42	613	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field override
2023-10-13	12:28:42	613	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:42	613	[DEBUG]	Use field value for field slug
2023-10-13	12:28:42	613	[DEBUG]	Process line 613
2023-10-13	12:28:42	613	[DEBUG]	Load a row
2023-10-13	12:28:42	613	[DEBUG]	Processing item: 1000000136838
2023-10-13	12:28:42	613	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:42	613	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:42	613	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7498_564'
2023-10-13	12:28:42	613	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:42	613	[DEBUG]	Processing product tax
2023-10-13	12:28:42	613	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:42	613	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:42	613	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:42	613	[DEBUG]	Query for Product
2023-10-13	12:28:42	613	[DEBUG]	Executed store
2023-10-13	12:28:42	613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860104','1000000136838','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:42	613	[DEBUG]	No parent found
2023-10-13	12:28:42	613	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860104 AND customfield_value = 'stockable'
2023-10-13	12:28:42	613	[DEBUG]	Check product language entry
2023-10-13	12:28:42	613	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860105
2023-10-13	12:28:42	613	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:42	613	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000136838' AND `virtuemart_product_id` != 1860105
2023-10-13	12:28:42	613	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:42	613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860105, '1000000136838')
2023-10-13	12:28:42	613	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:42	613	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-pink-texture-vert-52-57cm' AND `virtuemart_product_id` != 1860105
2023-10-13	12:28:42	613	[DEBUG]	Query for ProductLang
2023-10-13	12:28:42	613	[DEBUG]	Executed store
2023-10-13	12:28:42	613	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Crackerjack  / Pink Texture Vert (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-pink-texture-vert-52-57cm' WHERE `virtuemart_product_id` = '1860105'
2023-10-13	12:28:42	613	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36133_casque_met_crackerjack_.png
2023-10-13	12:28:42	613	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000040a
2023-10-13	12:28:42	613	[DEBUG]	Process image file
2023-10-13	12:28:42	613	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000040a
2023-10-13	12:28:42	613	[DEBUG]	Mime type found: image/png
2023-10-13	12:28:42	613	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36133_casque_met_crackerjack_.png
2023-10-13	12:28:42	613	[DEBUG]	Full name target: bcprisme/36133_casque_met_crackerjack_.png
2023-10-13	12:28:43	613	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:43	613	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36133_casque_met_crackerjack_.png'
2023-10-13	12:28:43	613	[DEBUG]	Query for Media
2023-10-13	12:28:43	613	[DEBUG]	Executed store
2023-10-13	12:28:43	613	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36133_casque_met_crackerjack_.png',`file_url_thumb`='bcprisme/36133_casque_met_crackerjack_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '457132'
2023-10-13	12:28:43	613	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:43	613	[DEBUG]	Executed store
2023-10-13	12:28:43	613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860105','457132','1')
2023-10-13	12:28:43	613	[DEBUG]	Store product image relation
2023-10-13	12:28:43	613	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:43	613	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860105 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:43	613	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:43	613	[DEBUG]	Executed store
2023-10-13	12:28:43	613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860105','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:43	613	[DEBUG]	Checking manufacturer
2023-10-13	12:28:43	613	[DEBUG]	Load a row
2023-10-13	12:28:43	613	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:43	613	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:43	613	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:43	613	[DEBUG]	Executed store
2023-10-13	12:28:43	613	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:43	613	[DEBUG]	Manufacturer exists
2023-10-13	12:28:43	613	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:43	613	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:43	613	[DEBUG]	Executed store
2023-10-13	12:28:43	613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860105','226')
2023-10-13	12:28:43	613	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:43	613	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:43	613	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860105 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:43	613	[DEBUG]	Store custom available field
2023-10-13	12:28:43	613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860105,3,'',1)
2023-10-13	12:28:43	613	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:43	613	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:43	613	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860105 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:43	613	[DEBUG]	Store custom available field
2023-10-13	12:28:43	613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860105,6,'52-57cm',3)
2023-10-13	12:28:43	613	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:43	613	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:43	613	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860104
2023-10-13	12:28:43	613	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:43	613	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860104\":[1860104,8,1,\"choisir la taille\"],\"1860105\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860104
2023-10-13	12:28:43	613	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:43	613	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860105
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:43	614	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field taille
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:43	614	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:43	614	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:43	614	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:43	614	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:43	614	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:43	614	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field published
2023-10-13	12:28:43	614	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:43	614	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field override
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:43	614	[DEBUG]	Use field value for field slug
2023-10-13	12:28:43	614	[DEBUG]	Process line 614
2023-10-13	12:28:43	614	[DEBUG]	Load a row
2023-10-13	12:28:43	614	[DEBUG]	Processing item: A_7498_828
2023-10-13	12:28:43	614	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:43	614	[DEBUG]	Processing product tax
2023-10-13	12:28:43	614	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:43	614	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:43	614	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:43	614	[DEBUG]	Query for Product
2023-10-13	12:28:43	614	[DEBUG]	Executed store
2023-10-13	12:28:43	614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7498_828','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:43	614	[DEBUG]	Check product language entry
2023-10-13	12:28:43	614	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860106
2023-10-13	12:28:43	614	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:43	614	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7498_828' AND `virtuemart_product_id` != 1860106
2023-10-13	12:28:43	614	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:43	614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860106, 'A_7498_828')
2023-10-13	12:28:43	614	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:43	614	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-orange-matt' AND `virtuemart_product_id` != 1860106
2023-10-13	12:28:43	614	[DEBUG]	Query for ProductLang
2023-10-13	12:28:43	614	[DEBUG]	Executed store
2023-10-13	12:28:43	614	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Crackerjack est un casque jeune qui allie conformité aux normes les plus exigeantes et design séduisant. La construction In-Mould, aussi utilisée pour les adultes, est solidement maintenue sur la tête et assure une sécurité élevée grâce à une fermeture à clip et un ajustement individuelle de la taille. La lampe à LED fonctionnelle ainsi que les variantes de coloris sont élégantes et elles la visibilité. Ce casque convient pour des tours de tête compris entre 52 et 57 cm.<br><br>Caractéristiques:<br><br>Intérieur: EPS<br>Réglage de la taille: Safe-T E-Twist<br>Fermeture anti-pincement<br>Visière amovible<br>Mousses anti-allergiques lavables à la main<br>LED intégrée et réflecteurs à l\'arrière<br>Protection anti-insectes<br>Poids: 265 g<br>Taille: 52-57 cm<br>N° art fourn : 720.002.00',`product_name`='MET Casque MET Crackerjack  / Orange matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-orange-matt' WHERE `virtuemart_product_id` = '1860106'
2023-10-13	12:28:43	614	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39042_casque_met_crackerjack_.jpg
2023-10-13	12:28:43	614	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:43	614	[DEBUG]	Process image file
2023-10-13	12:28:43	614	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:43	614	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:43	614	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39042_casque_met_crackerjack_.jpg
2023-10-13	12:28:43	614	[DEBUG]	Full name target: bcprisme/39042_casque_met_crackerjack_.jpg
2023-10-13	12:28:44	614	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:44	614	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39042_casque_met_crackerjack_.jpg'
2023-10-13	12:28:44	614	[DEBUG]	Query for Media
2023-10-13	12:28:44	614	[DEBUG]	Executed store
2023-10-13	12:28:44	614	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39042_casque_met_crackerjack_.jpg',`file_url_thumb`='bcprisme/39042_casque_met_crackerjack_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498835'
2023-10-13	12:28:44	614	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:44	614	[DEBUG]	Executed store
2023-10-13	12:28:44	614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860106','1498835','1')
2023-10-13	12:28:44	614	[DEBUG]	Store product image relation
2023-10-13	12:28:44	614	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:44	614	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860106 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:44	614	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:44	614	[DEBUG]	Executed store
2023-10-13	12:28:44	614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860106','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:44	614	[DEBUG]	Checking manufacturer
2023-10-13	12:28:44	614	[DEBUG]	Load a row
2023-10-13	12:28:44	614	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:44	614	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:44	614	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:44	614	[DEBUG]	Executed store
2023-10-13	12:28:44	614	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:44	614	[DEBUG]	Manufacturer exists
2023-10-13	12:28:44	614	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:44	614	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:44	614	[DEBUG]	Executed store
2023-10-13	12:28:44	614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860106','226')
2023-10-13	12:28:44	614	[DEBUG]	Find the custom field ID
2023-10-13	12:28:44	614	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:44	614	[DEBUG]	No custom field ID found
2023-10-13	12:28:44	614	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:44	614	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:44	614	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860106 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:44	614	[DEBUG]	Store custom available field
2023-10-13	12:28:44	614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860106,3,'9.8725',1)
2023-10-13	12:28:44	614	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:44	614	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:44	614	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860106 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:44	614	[DEBUG]	Store custom available field
2023-10-13	12:28:44	614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860106,6,'choisir la taille',3)
2023-10-13	12:28:44	614	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:44	614	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:44	614	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:44	614	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:44	614	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860106 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:44	614	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:44	614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860106,8,1)
2023-10-13	12:28:44	614	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:44	614	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860106\":[1860106,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860106
2023-10-13	12:28:44	614	[DEBUG]	Checking category
2023-10-13	12:28:44	614	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:44	614	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860106
2023-10-13	12:28:44	614	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:44	614	[DEBUG]	Executed store
2023-10-13	12:28:44	614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860106','7281')
2023-10-13	12:28:44	614	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:44	614	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860106 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:44	614	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:44	614	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860106
2023-10-13	12:28:44	615	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:44	615	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:44	615	[DEBUG]	Use field value for field taille
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:44	615	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:44	615	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:44	615	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:44	615	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:44	615	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:44	615	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:44	615	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:44	615	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:44	615	[DEBUG]	Use field value for field published
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:44	615	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field override
2023-10-13	12:28:44	615	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:44	615	[DEBUG]	Use field value for field slug
2023-10-13	12:28:44	615	[DEBUG]	Process line 615
2023-10-13	12:28:44	615	[DEBUG]	Load a row
2023-10-13	12:28:44	615	[DEBUG]	Processing item: 1000011148455
2023-10-13	12:28:44	615	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:44	615	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:44	615	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7498_828'
2023-10-13	12:28:44	615	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:44	615	[DEBUG]	Processing product tax
2023-10-13	12:28:44	615	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:44	615	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:44	615	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:44	615	[DEBUG]	Query for Product
2023-10-13	12:28:44	615	[DEBUG]	Executed store
2023-10-13	12:28:44	615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860106','1000011148455','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:44	615	[DEBUG]	No parent found
2023-10-13	12:28:44	615	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860106 AND customfield_value = 'stockable'
2023-10-13	12:28:44	615	[DEBUG]	Check product language entry
2023-10-13	12:28:44	615	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860107
2023-10-13	12:28:44	615	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:44	615	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000011148455' AND `virtuemart_product_id` != 1860107
2023-10-13	12:28:44	615	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:44	615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860107, '1000011148455')
2023-10-13	12:28:44	615	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:44	615	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-orange-matt-52-57cm' AND `virtuemart_product_id` != 1860107
2023-10-13	12:28:44	615	[DEBUG]	Query for ProductLang
2023-10-13	12:28:44	615	[DEBUG]	Executed store
2023-10-13	12:28:44	615	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Crackerjack  / Orange matt (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-orange-matt-52-57cm' WHERE `virtuemart_product_id` = '1860107'
2023-10-13	12:28:44	615	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39042_casque_met_crackerjack_.jpg
2023-10-13	12:28:44	615	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:44	615	[DEBUG]	Process image file
2023-10-13	12:28:44	615	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:44	615	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:44	615	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39042_casque_met_crackerjack_.jpg
2023-10-13	12:28:44	615	[DEBUG]	Full name target: bcprisme/39042_casque_met_crackerjack_.jpg
2023-10-13	12:28:45	615	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:45	615	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39042_casque_met_crackerjack_.jpg'
2023-10-13	12:28:45	615	[DEBUG]	Query for Media
2023-10-13	12:28:45	615	[DEBUG]	Executed store
2023-10-13	12:28:45	615	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39042_casque_met_crackerjack_.jpg',`file_url_thumb`='bcprisme/39042_casque_met_crackerjack_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1498835'
2023-10-13	12:28:45	615	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:45	615	[DEBUG]	Executed store
2023-10-13	12:28:45	615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860107','1498835','1')
2023-10-13	12:28:45	615	[DEBUG]	Store product image relation
2023-10-13	12:28:45	615	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:45	615	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860107 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:45	615	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:45	615	[DEBUG]	Executed store
2023-10-13	12:28:45	615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860107','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:45	615	[DEBUG]	Checking manufacturer
2023-10-13	12:28:45	615	[DEBUG]	Load a row
2023-10-13	12:28:45	615	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:45	615	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:45	615	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:45	615	[DEBUG]	Executed store
2023-10-13	12:28:45	615	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:45	615	[DEBUG]	Manufacturer exists
2023-10-13	12:28:45	615	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:45	615	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:45	615	[DEBUG]	Executed store
2023-10-13	12:28:45	615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860107','226')
2023-10-13	12:28:45	615	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:45	615	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:45	615	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860107 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:45	615	[DEBUG]	Store custom available field
2023-10-13	12:28:45	615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860107,3,'',1)
2023-10-13	12:28:45	615	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:45	615	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:45	615	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860107 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:45	615	[DEBUG]	Store custom available field
2023-10-13	12:28:45	615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860107,6,'52-57cm',3)
2023-10-13	12:28:45	615	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:45	615	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:45	615	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860106
2023-10-13	12:28:45	615	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:45	615	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860106\":[1860106,8,1,\"choisir la taille\"],\"1860107\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860106
2023-10-13	12:28:45	615	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:45	615	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860107
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:45	616	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field taille
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:45	616	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:45	616	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:45	616	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:45	616	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:45	616	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:45	616	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field published
2023-10-13	12:28:45	616	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:45	616	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field override
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:45	616	[DEBUG]	Use field value for field slug
2023-10-13	12:28:45	616	[DEBUG]	Process line 616
2023-10-13	12:28:45	616	[DEBUG]	Load a row
2023-10-13	12:28:45	616	[DEBUG]	Processing item: A_7912_590
2023-10-13	12:28:45	616	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:45	616	[DEBUG]	Processing product tax
2023-10-13	12:28:45	616	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:45	616	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:45	616	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:45	616	[DEBUG]	Query for Product
2023-10-13	12:28:45	616	[DEBUG]	Executed store
2023-10-13	12:28:45	616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7912_590','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:45	616	[DEBUG]	Check product language entry
2023-10-13	12:28:45	616	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860108
2023-10-13	12:28:45	616	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:45	616	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7912_590' AND `virtuemart_product_id` != 1860108
2023-10-13	12:28:45	616	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:45	616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860108, 'A_7912_590')
2023-10-13	12:28:45	616	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:45	616	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-eldar-petrol-blue-camo' AND `virtuemart_product_id` != 1860108
2023-10-13	12:28:45	616	[DEBUG]	Query for ProductLang
2023-10-13	12:28:45	616	[DEBUG]	Executed store
2023-10-13	12:28:45	616	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque VTT MET Eldar, le casque pour les casse-cous. Casque enduro de grande qualité qui protège de manière fiable même pendant les sorties mouvementées grâce à sa partie arrière basse prolongée. Le MET Eldar n\'est pas qu\'une protection de haut niveau, la palette de couleurs variées donnent un super look aux enfants. Que demander de plus? Les Enduro World Series arrivent!<br><br>Autres caractéristiques:<br><br>Système de réglage Safe-T Twist 2<br>Visière amovible<br>Mousses lavables<br>Coque externe en polycarbonate liée à la structure interne en EPS par procédé In-Mould<br>Éléments réfléchissants<br>N° art fourn : 720.017.00',`product_name`='MET Casque MET Eldar / Petrol Blue Camo',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-eldar-petrol-blue-camo' WHERE `virtuemart_product_id` = '1860108'
2023-10-13	12:28:45	616	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36470_casque_met_eldar.jpg
2023-10-13	12:28:45	616	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:28:45	616	[DEBUG]	Process image file
2023-10-13	12:28:45	616	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:28:45	616	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:45	616	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36470_casque_met_eldar.jpg
2023-10-13	12:28:45	616	[DEBUG]	Full name target: bcprisme/36470_casque_met_eldar.jpg
2023-10-13	12:28:46	616	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:46	616	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36470_casque_met_eldar.jpg'
2023-10-13	12:28:46	616	[DEBUG]	Query for Media
2023-10-13	12:28:46	616	[DEBUG]	Executed store
2023-10-13	12:28:46	616	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36470_casque_met_eldar.jpg',`file_url_thumb`='bcprisme/36470_casque_met_eldar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585419'
2023-10-13	12:28:46	616	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:46	616	[DEBUG]	Executed store
2023-10-13	12:28:46	616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860108','585419','1')
2023-10-13	12:28:46	616	[DEBUG]	Store product image relation
2023-10-13	12:28:46	616	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:46	616	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860108 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:46	616	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:46	616	[DEBUG]	Executed store
2023-10-13	12:28:46	616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860108','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:46	616	[DEBUG]	Checking manufacturer
2023-10-13	12:28:46	616	[DEBUG]	Load a row
2023-10-13	12:28:46	616	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:46	616	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:46	616	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:46	616	[DEBUG]	Executed store
2023-10-13	12:28:46	616	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:46	616	[DEBUG]	Manufacturer exists
2023-10-13	12:28:46	616	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:46	616	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:46	616	[DEBUG]	Executed store
2023-10-13	12:28:46	616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860108','226')
2023-10-13	12:28:46	616	[DEBUG]	Find the custom field ID
2023-10-13	12:28:46	616	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:46	616	[DEBUG]	No custom field ID found
2023-10-13	12:28:46	616	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:46	616	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:46	616	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860108 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:46	616	[DEBUG]	Store custom available field
2023-10-13	12:28:46	616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860108,3,'9.8725',1)
2023-10-13	12:28:46	616	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:46	616	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:46	616	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860108 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:46	616	[DEBUG]	Store custom available field
2023-10-13	12:28:46	616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860108,6,'choisir la taille',3)
2023-10-13	12:28:46	616	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:46	616	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:46	616	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:46	616	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:46	616	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860108 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:46	616	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:46	616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860108,8,1)
2023-10-13	12:28:46	616	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:46	616	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860108\":[1860108,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860108
2023-10-13	12:28:46	616	[DEBUG]	Checking category
2023-10-13	12:28:46	616	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:46	616	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860108
2023-10-13	12:28:46	616	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:46	616	[DEBUG]	Executed store
2023-10-13	12:28:46	616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860108','7281')
2023-10-13	12:28:46	616	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:46	616	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860108 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:46	616	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:46	616	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860108
2023-10-13	12:28:46	617	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:46	617	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:46	617	[DEBUG]	Use field value for field taille
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:46	617	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:46	617	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:46	617	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:46	617	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:46	617	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:46	617	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:46	617	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:46	617	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:46	617	[DEBUG]	Use field value for field published
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:46	617	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field override
2023-10-13	12:28:46	617	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:46	617	[DEBUG]	Use field value for field slug
2023-10-13	12:28:46	617	[DEBUG]	Process line 617
2023-10-13	12:28:46	617	[DEBUG]	Load a row
2023-10-13	12:28:46	617	[DEBUG]	Processing item: 1000000141016
2023-10-13	12:28:46	617	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:46	617	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:46	617	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7912_590'
2023-10-13	12:28:46	617	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:46	617	[DEBUG]	Processing product tax
2023-10-13	12:28:46	617	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:46	617	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:46	617	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:46	617	[DEBUG]	Query for Product
2023-10-13	12:28:46	617	[DEBUG]	Executed store
2023-10-13	12:28:46	617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860108','1000000141016','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:46	617	[DEBUG]	No parent found
2023-10-13	12:28:46	617	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860108 AND customfield_value = 'stockable'
2023-10-13	12:28:46	617	[DEBUG]	Check product language entry
2023-10-13	12:28:46	617	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860109
2023-10-13	12:28:46	617	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:46	617	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000141016' AND `virtuemart_product_id` != 1860109
2023-10-13	12:28:46	617	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:46	617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860109, '1000000141016')
2023-10-13	12:28:46	617	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:46	617	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-eldar-petrol-blue-camo-52-57cm' AND `virtuemart_product_id` != 1860109
2023-10-13	12:28:46	617	[DEBUG]	Query for ProductLang
2023-10-13	12:28:46	617	[DEBUG]	Executed store
2023-10-13	12:28:46	617	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Eldar / Petrol Blue Camo (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-eldar-petrol-blue-camo-52-57cm' WHERE `virtuemart_product_id` = '1860109'
2023-10-13	12:28:46	617	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36470_casque_met_eldar.jpg
2023-10-13	12:28:46	617	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:28:46	617	[DEBUG]	Process image file
2023-10-13	12:28:46	617	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:28:46	617	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:46	617	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36470_casque_met_eldar.jpg
2023-10-13	12:28:46	617	[DEBUG]	Full name target: bcprisme/36470_casque_met_eldar.jpg
2023-10-13	12:28:47	617	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:47	617	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36470_casque_met_eldar.jpg'
2023-10-13	12:28:47	617	[DEBUG]	Query for Media
2023-10-13	12:28:47	617	[DEBUG]	Executed store
2023-10-13	12:28:47	617	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36470_casque_met_eldar.jpg',`file_url_thumb`='bcprisme/36470_casque_met_eldar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '585419'
2023-10-13	12:28:47	617	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:47	617	[DEBUG]	Executed store
2023-10-13	12:28:47	617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860109','585419','1')
2023-10-13	12:28:47	617	[DEBUG]	Store product image relation
2023-10-13	12:28:47	617	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:47	617	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860109 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:47	617	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:47	617	[DEBUG]	Executed store
2023-10-13	12:28:47	617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860109','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:47	617	[DEBUG]	Checking manufacturer
2023-10-13	12:28:47	617	[DEBUG]	Load a row
2023-10-13	12:28:47	617	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:47	617	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:47	617	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:47	617	[DEBUG]	Executed store
2023-10-13	12:28:47	617	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:47	617	[DEBUG]	Manufacturer exists
2023-10-13	12:28:47	617	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:47	617	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:47	617	[DEBUG]	Executed store
2023-10-13	12:28:47	617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860109','226')
2023-10-13	12:28:47	617	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:47	617	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:47	617	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860109 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:47	617	[DEBUG]	Store custom available field
2023-10-13	12:28:47	617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860109,3,'',1)
2023-10-13	12:28:47	617	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:47	617	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:47	617	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860109 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:47	617	[DEBUG]	Store custom available field
2023-10-13	12:28:47	617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860109,6,'52-57cm',3)
2023-10-13	12:28:47	617	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:47	617	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:47	617	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860108
2023-10-13	12:28:47	617	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:47	617	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860108\":[1860108,8,1,\"choisir la taille\"],\"1860109\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860108
2023-10-13	12:28:47	617	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:47	617	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860109
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:47	618	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field taille
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:47	618	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:47	618	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:47	618	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:47	618	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:47	618	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:47	618	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field published
2023-10-13	12:28:47	618	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:47	618	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field override
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:47	618	[DEBUG]	Use field value for field slug
2023-10-13	12:28:47	618	[DEBUG]	Process line 618
2023-10-13	12:28:47	618	[DEBUG]	Load a row
2023-10-13	12:28:47	618	[DEBUG]	Processing item: A_7912_630
2023-10-13	12:28:47	618	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:47	618	[DEBUG]	Processing product tax
2023-10-13	12:28:47	618	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:47	618	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:47	618	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:47	618	[DEBUG]	Query for Product
2023-10-13	12:28:47	618	[DEBUG]	Executed store
2023-10-13	12:28:47	618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7912_630','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:47	618	[DEBUG]	Check product language entry
2023-10-13	12:28:47	618	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860110
2023-10-13	12:28:47	618	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:47	618	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7912_630' AND `virtuemart_product_id` != 1860110
2023-10-13	12:28:47	618	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:47	618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860110, 'A_7912_630')
2023-10-13	12:28:47	618	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:47	618	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-eldar-coral-pink' AND `virtuemart_product_id` != 1860110
2023-10-13	12:28:47	618	[DEBUG]	Query for ProductLang
2023-10-13	12:28:47	618	[DEBUG]	Executed store
2023-10-13	12:28:47	618	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque VTT MET Eldar, le casque pour les casse-cous. Casque enduro de grande qualité qui protège de manière fiable même pendant les sorties mouvementées grâce à sa partie arrière basse prolongée. Le MET Eldar n\'est pas qu\'une protection de haut niveau, la palette de couleurs variées donnent un super look aux enfants. Que demander de plus? Les Enduro World Series arrivent!<br><br>Autres caractéristiques:<br><br>Système de réglage Safe-T Twist 2<br>Visière amovible<br>Mousses lavables<br>Coque externe en polycarbonate liée à la structure interne en EPS par procédé In-Mould<br>Éléments réfléchissants<br>N° art fourn : 720.017.00',`product_name`='MET Casque MET Eldar / Coral Pink',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-eldar-coral-pink' WHERE `virtuemart_product_id` = '1860110'
2023-10-13	12:28:47	618	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36733_casque_met_eldar.jpg
2023-10-13	12:28:47	618	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:47	618	[DEBUG]	Process image file
2023-10-13	12:28:47	618	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:47	618	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:47	618	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36733_casque_met_eldar.jpg
2023-10-13	12:28:47	618	[DEBUG]	Full name target: bcprisme/36733_casque_met_eldar.jpg
2023-10-13	12:28:48	618	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:48	618	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36733_casque_met_eldar.jpg'
2023-10-13	12:28:48	618	[DEBUG]	Query for Media
2023-10-13	12:28:48	618	[DEBUG]	Executed store
2023-10-13	12:28:48	618	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36733_casque_met_eldar.jpg',`file_url_thumb`='bcprisme/36733_casque_met_eldar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '694740'
2023-10-13	12:28:48	618	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:48	618	[DEBUG]	Executed store
2023-10-13	12:28:48	618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860110','694740','1')
2023-10-13	12:28:48	618	[DEBUG]	Store product image relation
2023-10-13	12:28:48	618	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:48	618	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860110 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:48	618	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:48	618	[DEBUG]	Executed store
2023-10-13	12:28:48	618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860110','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:48	618	[DEBUG]	Checking manufacturer
2023-10-13	12:28:48	618	[DEBUG]	Load a row
2023-10-13	12:28:48	618	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:48	618	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:48	618	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:48	618	[DEBUG]	Executed store
2023-10-13	12:28:48	618	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:48	618	[DEBUG]	Manufacturer exists
2023-10-13	12:28:48	618	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:48	618	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:48	618	[DEBUG]	Executed store
2023-10-13	12:28:48	618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860110','226')
2023-10-13	12:28:48	618	[DEBUG]	Find the custom field ID
2023-10-13	12:28:48	618	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:48	618	[DEBUG]	No custom field ID found
2023-10-13	12:28:48	618	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:48	618	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:48	618	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860110 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:48	618	[DEBUG]	Store custom available field
2023-10-13	12:28:48	618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860110,3,'9.8725',1)
2023-10-13	12:28:48	618	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:48	618	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:48	618	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860110 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:48	618	[DEBUG]	Store custom available field
2023-10-13	12:28:48	618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860110,6,'choisir la taille',3)
2023-10-13	12:28:48	618	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:48	618	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:48	618	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:48	618	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:48	618	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860110 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:48	618	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:48	618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860110,8,1)
2023-10-13	12:28:48	618	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:48	618	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860110\":[1860110,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860110
2023-10-13	12:28:48	618	[DEBUG]	Checking category
2023-10-13	12:28:48	618	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:48	618	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860110
2023-10-13	12:28:48	618	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:48	618	[DEBUG]	Executed store
2023-10-13	12:28:48	618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860110','7281')
2023-10-13	12:28:48	618	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:48	618	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860110 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:48	618	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:48	618	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860110
2023-10-13	12:28:48	619	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:48	619	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:48	619	[DEBUG]	Use field value for field taille
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:48	619	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:48	619	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:48	619	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:48	619	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:48	619	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:48	619	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:48	619	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:48	619	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:48	619	[DEBUG]	Use field value for field published
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:48	619	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field override
2023-10-13	12:28:48	619	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:48	619	[DEBUG]	Use field value for field slug
2023-10-13	12:28:48	619	[DEBUG]	Process line 619
2023-10-13	12:28:48	619	[DEBUG]	Load a row
2023-10-13	12:28:48	619	[DEBUG]	Processing item: 1000000145731
2023-10-13	12:28:48	619	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:48	619	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:48	619	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7912_630'
2023-10-13	12:28:48	619	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:48	619	[DEBUG]	Processing product tax
2023-10-13	12:28:48	619	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:48	619	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:48	619	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:48	619	[DEBUG]	Query for Product
2023-10-13	12:28:48	619	[DEBUG]	Executed store
2023-10-13	12:28:48	619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860110','1000000145731','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:48	619	[DEBUG]	No parent found
2023-10-13	12:28:48	619	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860110 AND customfield_value = 'stockable'
2023-10-13	12:28:48	619	[DEBUG]	Check product language entry
2023-10-13	12:28:48	619	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860111
2023-10-13	12:28:48	619	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:48	619	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000145731' AND `virtuemart_product_id` != 1860111
2023-10-13	12:28:48	619	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:48	619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860111, '1000000145731')
2023-10-13	12:28:48	619	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:48	619	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-eldar-coral-pink-52-57cm' AND `virtuemart_product_id` != 1860111
2023-10-13	12:28:48	619	[DEBUG]	Query for ProductLang
2023-10-13	12:28:48	619	[DEBUG]	Executed store
2023-10-13	12:28:48	619	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Eldar / Coral Pink (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-eldar-coral-pink-52-57cm' WHERE `virtuemart_product_id` = '1860111'
2023-10-13	12:28:48	619	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36733_casque_met_eldar.jpg
2023-10-13	12:28:48	619	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:48	619	[DEBUG]	Process image file
2023-10-13	12:28:48	619	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:48	619	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:48	619	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36733_casque_met_eldar.jpg
2023-10-13	12:28:48	619	[DEBUG]	Full name target: bcprisme/36733_casque_met_eldar.jpg
2023-10-13	12:28:49	619	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:49	619	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36733_casque_met_eldar.jpg'
2023-10-13	12:28:49	619	[DEBUG]	Query for Media
2023-10-13	12:28:49	619	[DEBUG]	Executed store
2023-10-13	12:28:49	619	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36733_casque_met_eldar.jpg',`file_url_thumb`='bcprisme/36733_casque_met_eldar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '694740'
2023-10-13	12:28:49	619	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:49	619	[DEBUG]	Executed store
2023-10-13	12:28:49	619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860111','694740','1')
2023-10-13	12:28:49	619	[DEBUG]	Store product image relation
2023-10-13	12:28:49	619	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:49	619	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860111 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:49	619	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:49	619	[DEBUG]	Executed store
2023-10-13	12:28:49	619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860111','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:49	619	[DEBUG]	Checking manufacturer
2023-10-13	12:28:49	619	[DEBUG]	Load a row
2023-10-13	12:28:49	619	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:49	619	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:49	619	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:49	619	[DEBUG]	Executed store
2023-10-13	12:28:49	619	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:49	619	[DEBUG]	Manufacturer exists
2023-10-13	12:28:49	619	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:49	619	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:49	619	[DEBUG]	Executed store
2023-10-13	12:28:49	619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860111','226')
2023-10-13	12:28:49	619	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:49	619	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:49	619	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860111 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:49	619	[DEBUG]	Store custom available field
2023-10-13	12:28:49	619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860111,3,'',1)
2023-10-13	12:28:49	619	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:49	619	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:49	619	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860111 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:49	619	[DEBUG]	Store custom available field
2023-10-13	12:28:49	619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860111,6,'52-57cm',3)
2023-10-13	12:28:49	619	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:49	619	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:49	619	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860110
2023-10-13	12:28:49	619	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:49	619	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860110\":[1860110,8,1,\"choisir la taille\"],\"1860111\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860110
2023-10-13	12:28:49	619	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:49	619	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860111
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:49	620	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field taille
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:49	620	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:49	620	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:49	620	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:49	620	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:49	620	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:49	620	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field published
2023-10-13	12:28:49	620	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:49	620	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field override
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:49	620	[DEBUG]	Use field value for field slug
2023-10-13	12:28:49	620	[DEBUG]	Process line 620
2023-10-13	12:28:49	620	[DEBUG]	Load a row
2023-10-13	12:28:49	620	[DEBUG]	Processing item: A_7912_631
2023-10-13	12:28:49	620	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:49	620	[DEBUG]	Processing product tax
2023-10-13	12:28:49	620	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:49	620	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:49	620	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:49	620	[DEBUG]	Query for Product
2023-10-13	12:28:49	620	[DEBUG]	Executed store
2023-10-13	12:28:49	620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7912_631','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:49	620	[DEBUG]	Check product language entry
2023-10-13	12:28:49	620	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860112
2023-10-13	12:28:49	620	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:49	620	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7912_631' AND `virtuemart_product_id` != 1860112
2023-10-13	12:28:49	620	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:49	620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860112, 'A_7912_631')
2023-10-13	12:28:49	620	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:49	620	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-eldar-blue-shark' AND `virtuemart_product_id` != 1860112
2023-10-13	12:28:49	620	[DEBUG]	Query for ProductLang
2023-10-13	12:28:49	620	[DEBUG]	Executed store
2023-10-13	12:28:49	620	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque VTT MET Eldar, le casque pour les casse-cous. Casque enduro de grande qualité qui protège de manière fiable même pendant les sorties mouvementées grâce à sa partie arrière basse prolongée. Le MET Eldar n\'est pas qu\'une protection de haut niveau, la palette de couleurs variées donnent un super look aux enfants. Que demander de plus? Les Enduro World Series arrivent!<br><br>Autres caractéristiques:<br><br>Système de réglage Safe-T Twist 2<br>Visière amovible<br>Mousses lavables<br>Coque externe en polycarbonate liée à la structure interne en EPS par procédé In-Mould<br>Éléments réfléchissants<br>N° art fourn : 720.017.00',`product_name`='MET Casque MET Eldar / Blue Shark',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-eldar-blue-shark' WHERE `virtuemart_product_id` = '1860112'
2023-10-13	12:28:49	620	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36732_casque_met_eldar.jpg
2023-10-13	12:28:49	620	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:49	620	[DEBUG]	Process image file
2023-10-13	12:28:49	620	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:49	620	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:49	620	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36732_casque_met_eldar.jpg
2023-10-13	12:28:49	620	[DEBUG]	Full name target: bcprisme/36732_casque_met_eldar.jpg
2023-10-13	12:28:50	620	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:50	620	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36732_casque_met_eldar.jpg'
2023-10-13	12:28:50	620	[DEBUG]	Query for Media
2023-10-13	12:28:50	620	[DEBUG]	Executed store
2023-10-13	12:28:50	620	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36732_casque_met_eldar.jpg',`file_url_thumb`='bcprisme/36732_casque_met_eldar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '694742'
2023-10-13	12:28:50	620	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:50	620	[DEBUG]	Executed store
2023-10-13	12:28:50	620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860112','694742','1')
2023-10-13	12:28:50	620	[DEBUG]	Store product image relation
2023-10-13	12:28:50	620	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:50	620	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860112 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:50	620	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:50	620	[DEBUG]	Executed store
2023-10-13	12:28:50	620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860112','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:50	620	[DEBUG]	Checking manufacturer
2023-10-13	12:28:50	620	[DEBUG]	Load a row
2023-10-13	12:28:50	620	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:50	620	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:50	620	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:50	620	[DEBUG]	Executed store
2023-10-13	12:28:50	620	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:50	620	[DEBUG]	Manufacturer exists
2023-10-13	12:28:50	620	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:50	620	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:50	620	[DEBUG]	Executed store
2023-10-13	12:28:50	620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860112','226')
2023-10-13	12:28:50	620	[DEBUG]	Find the custom field ID
2023-10-13	12:28:50	620	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:50	620	[DEBUG]	No custom field ID found
2023-10-13	12:28:50	620	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:50	620	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:50	620	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860112 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:50	620	[DEBUG]	Store custom available field
2023-10-13	12:28:50	620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860112,3,'9.8725',1)
2023-10-13	12:28:50	620	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:50	620	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:50	620	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860112 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:50	620	[DEBUG]	Store custom available field
2023-10-13	12:28:50	620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860112,6,'choisir la taille',3)
2023-10-13	12:28:50	620	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:50	620	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:50	620	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:50	620	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:50	620	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860112 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:50	620	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:50	620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860112,8,1)
2023-10-13	12:28:50	620	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:50	620	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860112\":[1860112,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860112
2023-10-13	12:28:50	620	[DEBUG]	Checking category
2023-10-13	12:28:50	620	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:50	620	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860112
2023-10-13	12:28:50	620	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:50	620	[DEBUG]	Executed store
2023-10-13	12:28:50	620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860112','7281')
2023-10-13	12:28:50	620	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:50	620	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860112 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:50	620	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:50	620	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860112
2023-10-13	12:28:50	621	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:50	621	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:50	621	[DEBUG]	Use field value for field taille
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:50	621	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:50	621	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:50	621	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:50	621	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:50	621	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:50	621	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:50	621	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:50	621	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:50	621	[DEBUG]	Use field value for field published
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:50	621	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field override
2023-10-13	12:28:50	621	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:50	621	[DEBUG]	Use field value for field slug
2023-10-13	12:28:50	621	[DEBUG]	Process line 621
2023-10-13	12:28:50	621	[DEBUG]	Load a row
2023-10-13	12:28:50	621	[DEBUG]	Processing item: 1000000145724
2023-10-13	12:28:50	621	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:50	621	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:50	621	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7912_631'
2023-10-13	12:28:50	621	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:50	621	[DEBUG]	Processing product tax
2023-10-13	12:28:50	621	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:50	621	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:50	621	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:50	621	[DEBUG]	Query for Product
2023-10-13	12:28:50	621	[DEBUG]	Executed store
2023-10-13	12:28:50	621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860112','1000000145724','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:50	621	[DEBUG]	No parent found
2023-10-13	12:28:50	621	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860112 AND customfield_value = 'stockable'
2023-10-13	12:28:50	621	[DEBUG]	Check product language entry
2023-10-13	12:28:50	621	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860113
2023-10-13	12:28:50	621	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:50	621	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000145724' AND `virtuemart_product_id` != 1860113
2023-10-13	12:28:50	621	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:50	621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860113, '1000000145724')
2023-10-13	12:28:50	621	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:50	621	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-eldar-blue-shark-52-57cm' AND `virtuemart_product_id` != 1860113
2023-10-13	12:28:50	621	[DEBUG]	Query for ProductLang
2023-10-13	12:28:50	621	[DEBUG]	Executed store
2023-10-13	12:28:50	621	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Eldar / Blue Shark (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-eldar-blue-shark-52-57cm' WHERE `virtuemart_product_id` = '1860113'
2023-10-13	12:28:50	621	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36732_casque_met_eldar.jpg
2023-10-13	12:28:50	621	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:50	621	[DEBUG]	Process image file
2023-10-13	12:28:50	621	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:50	621	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:50	621	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36732_casque_met_eldar.jpg
2023-10-13	12:28:50	621	[DEBUG]	Full name target: bcprisme/36732_casque_met_eldar.jpg
2023-10-13	12:28:51	621	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:51	621	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36732_casque_met_eldar.jpg'
2023-10-13	12:28:51	621	[DEBUG]	Query for Media
2023-10-13	12:28:51	621	[DEBUG]	Executed store
2023-10-13	12:28:51	621	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36732_casque_met_eldar.jpg',`file_url_thumb`='bcprisme/36732_casque_met_eldar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '694742'
2023-10-13	12:28:51	621	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:51	621	[DEBUG]	Executed store
2023-10-13	12:28:51	621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860113','694742','1')
2023-10-13	12:28:51	621	[DEBUG]	Store product image relation
2023-10-13	12:28:51	621	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:51	621	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860113 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:51	621	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:51	621	[DEBUG]	Executed store
2023-10-13	12:28:51	621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860113','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:51	621	[DEBUG]	Checking manufacturer
2023-10-13	12:28:51	621	[DEBUG]	Load a row
2023-10-13	12:28:51	621	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:51	621	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:51	621	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:51	621	[DEBUG]	Executed store
2023-10-13	12:28:51	621	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:51	621	[DEBUG]	Manufacturer exists
2023-10-13	12:28:51	621	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:51	621	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:51	621	[DEBUG]	Executed store
2023-10-13	12:28:51	621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860113','226')
2023-10-13	12:28:51	621	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:51	621	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:51	621	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860113 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:51	621	[DEBUG]	Store custom available field
2023-10-13	12:28:51	621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860113,3,'',1)
2023-10-13	12:28:51	621	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:51	621	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:51	621	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860113 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:51	621	[DEBUG]	Store custom available field
2023-10-13	12:28:51	621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860113,6,'52-57cm',3)
2023-10-13	12:28:51	621	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:51	621	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:51	621	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860112
2023-10-13	12:28:51	621	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:51	621	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860112\":[1860112,8,1,\"choisir la taille\"],\"1860113\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860112
2023-10-13	12:28:51	621	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:51	621	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860113
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:51	622	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field taille
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:51	622	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:51	622	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:51	622	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:51	622	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:51	622	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:51	622	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field published
2023-10-13	12:28:51	622	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:51	622	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field override
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:51	622	[DEBUG]	Use field value for field slug
2023-10-13	12:28:51	622	[DEBUG]	Process line 622
2023-10-13	12:28:51	622	[DEBUG]	Load a row
2023-10-13	12:28:51	622	[DEBUG]	Processing item: A_7912_697
2023-10-13	12:28:51	622	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:51	622	[DEBUG]	Processing product tax
2023-10-13	12:28:51	622	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:51	622	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:51	622	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:51	622	[DEBUG]	Query for Product
2023-10-13	12:28:51	622	[DEBUG]	Executed store
2023-10-13	12:28:51	622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7912_697','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:51	622	[DEBUG]	Check product language entry
2023-10-13	12:28:51	622	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860114
2023-10-13	12:28:51	622	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:51	622	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7912_697' AND `virtuemart_product_id` != 1860114
2023-10-13	12:28:51	622	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:51	622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860114, 'A_7912_697')
2023-10-13	12:28:51	622	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:51	622	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-eldar-lime-green' AND `virtuemart_product_id` != 1860114
2023-10-13	12:28:51	622	[DEBUG]	Query for ProductLang
2023-10-13	12:28:51	622	[DEBUG]	Executed store
2023-10-13	12:28:51	622	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque VTT MET Eldar, le casque pour les casse-cous. Casque enduro de grande qualité qui protège de manière fiable même pendant les sorties mouvementées grâce à sa partie arrière basse prolongée. Le MET Eldar n\'est pas qu\'une protection de haut niveau, la palette de couleurs variées donnent un super look aux enfants. Que demander de plus? Les Enduro World Series arrivent!<br><br>Autres caractéristiques:<br><br>Système de réglage Safe-T Twist 2<br>Visière amovible<br>Mousses lavables<br>Coque externe en polycarbonate liée à la structure interne en EPS par procédé In-Mould<br>Éléments réfléchissants<br>N° art fourn : 720.017.00',`product_name`='MET Casque MET Eldar / Lime Green',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-eldar-lime-green' WHERE `virtuemart_product_id` = '1860114'
2023-10-13	12:28:51	622	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37311_casque_met_eldar.jpg
2023-10-13	12:28:51	622	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:51	622	[DEBUG]	Process image file
2023-10-13	12:28:51	622	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:51	622	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:51	622	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37311_casque_met_eldar.jpg
2023-10-13	12:28:51	622	[DEBUG]	Full name target: bcprisme/37311_casque_met_eldar.jpg
2023-10-13	12:28:53	622	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:53	622	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37311_casque_met_eldar.jpg'
2023-10-13	12:28:53	622	[DEBUG]	Query for Media
2023-10-13	12:28:53	622	[DEBUG]	Executed store
2023-10-13	12:28:53	622	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37311_casque_met_eldar.jpg',`file_url_thumb`='bcprisme/37311_casque_met_eldar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '968978'
2023-10-13	12:28:53	622	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:53	622	[DEBUG]	Executed store
2023-10-13	12:28:53	622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860114','968978','1')
2023-10-13	12:28:53	622	[DEBUG]	Store product image relation
2023-10-13	12:28:53	622	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:53	622	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860114 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:53	622	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:53	622	[DEBUG]	Executed store
2023-10-13	12:28:53	622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860114','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:53	622	[DEBUG]	Checking manufacturer
2023-10-13	12:28:53	622	[DEBUG]	Load a row
2023-10-13	12:28:53	622	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:53	622	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:53	622	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:53	622	[DEBUG]	Executed store
2023-10-13	12:28:53	622	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:53	622	[DEBUG]	Manufacturer exists
2023-10-13	12:28:53	622	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:53	622	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:53	622	[DEBUG]	Executed store
2023-10-13	12:28:53	622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860114','226')
2023-10-13	12:28:53	622	[DEBUG]	Find the custom field ID
2023-10-13	12:28:53	622	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:53	622	[DEBUG]	No custom field ID found
2023-10-13	12:28:53	622	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:53	622	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:53	622	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860114 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:53	622	[DEBUG]	Store custom available field
2023-10-13	12:28:53	622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860114,3,'9.8725',1)
2023-10-13	12:28:53	622	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:53	622	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:53	622	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860114 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:53	622	[DEBUG]	Store custom available field
2023-10-13	12:28:53	622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860114,6,'choisir la taille',3)
2023-10-13	12:28:53	622	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:53	622	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:53	622	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:53	622	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:53	622	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860114 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:53	622	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:53	622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860114,8,1)
2023-10-13	12:28:53	622	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:53	622	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860114\":[1860114,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860114
2023-10-13	12:28:53	622	[DEBUG]	Checking category
2023-10-13	12:28:53	622	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:53	622	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860114
2023-10-13	12:28:53	622	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:53	622	[DEBUG]	Executed store
2023-10-13	12:28:53	622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860114','7281')
2023-10-13	12:28:53	622	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:53	622	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860114 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:53	622	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:53	622	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860114
2023-10-13	12:28:53	623	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:53	623	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:53	623	[DEBUG]	Use field value for field taille
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:53	623	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:53	623	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:53	623	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:53	623	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:53	623	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:53	623	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:53	623	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:53	623	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:53	623	[DEBUG]	Use field value for field published
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:53	623	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field override
2023-10-13	12:28:53	623	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:53	623	[DEBUG]	Use field value for field slug
2023-10-13	12:28:53	623	[DEBUG]	Process line 623
2023-10-13	12:28:53	623	[DEBUG]	Load a row
2023-10-13	12:28:53	623	[DEBUG]	Processing item: 1000000155167
2023-10-13	12:28:53	623	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:53	623	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:53	623	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7912_697'
2023-10-13	12:28:53	623	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:53	623	[DEBUG]	Processing product tax
2023-10-13	12:28:53	623	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:53	623	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:53	623	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:53	623	[DEBUG]	Query for Product
2023-10-13	12:28:53	623	[DEBUG]	Executed store
2023-10-13	12:28:53	623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860114','1000000155167','0','KG','M','','11','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:53	623	[DEBUG]	No parent found
2023-10-13	12:28:53	623	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860114 AND customfield_value = 'stockable'
2023-10-13	12:28:53	623	[DEBUG]	Check product language entry
2023-10-13	12:28:53	623	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860115
2023-10-13	12:28:53	623	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:53	623	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000155167' AND `virtuemart_product_id` != 1860115
2023-10-13	12:28:53	623	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:53	623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860115, '1000000155167')
2023-10-13	12:28:53	623	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:53	623	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-eldar-lime-green-52-57cm' AND `virtuemart_product_id` != 1860115
2023-10-13	12:28:53	623	[DEBUG]	Query for ProductLang
2023-10-13	12:28:53	623	[DEBUG]	Executed store
2023-10-13	12:28:53	623	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Eldar / Lime Green (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-eldar-lime-green-52-57cm' WHERE `virtuemart_product_id` = '1860115'
2023-10-13	12:28:53	623	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37311_casque_met_eldar.jpg
2023-10-13	12:28:53	623	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:53	623	[DEBUG]	Process image file
2023-10-13	12:28:53	623	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:53	623	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:53	623	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37311_casque_met_eldar.jpg
2023-10-13	12:28:53	623	[DEBUG]	Full name target: bcprisme/37311_casque_met_eldar.jpg
2023-10-13	12:28:54	623	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:54	623	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37311_casque_met_eldar.jpg'
2023-10-13	12:28:54	623	[DEBUG]	Query for Media
2023-10-13	12:28:54	623	[DEBUG]	Executed store
2023-10-13	12:28:54	623	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37311_casque_met_eldar.jpg',`file_url_thumb`='bcprisme/37311_casque_met_eldar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '968978'
2023-10-13	12:28:54	623	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:54	623	[DEBUG]	Executed store
2023-10-13	12:28:54	623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860115','968978','1')
2023-10-13	12:28:54	623	[DEBUG]	Store product image relation
2023-10-13	12:28:54	623	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:54	623	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860115 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:54	623	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:54	623	[DEBUG]	Executed store
2023-10-13	12:28:54	623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860115','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:54	623	[DEBUG]	Checking manufacturer
2023-10-13	12:28:54	623	[DEBUG]	Load a row
2023-10-13	12:28:54	623	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:54	623	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:54	623	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:54	623	[DEBUG]	Executed store
2023-10-13	12:28:54	623	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:54	623	[DEBUG]	Manufacturer exists
2023-10-13	12:28:54	623	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:54	623	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:54	623	[DEBUG]	Executed store
2023-10-13	12:28:54	623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860115','226')
2023-10-13	12:28:54	623	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:54	623	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:54	623	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860115 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:54	623	[DEBUG]	Store custom available field
2023-10-13	12:28:54	623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860115,3,'',1)
2023-10-13	12:28:54	623	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:54	623	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:54	623	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860115 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:54	623	[DEBUG]	Store custom available field
2023-10-13	12:28:54	623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860115,6,'52-57cm',3)
2023-10-13	12:28:54	623	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:54	623	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:54	623	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860114
2023-10-13	12:28:54	623	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:54	623	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860114\":[1860114,8,1,\"choisir la taille\"],\"1860115\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860114
2023-10-13	12:28:54	623	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:54	623	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860115
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:54	624	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field taille
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:54	624	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:54	624	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:54	624	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:54	624	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:54	624	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:54	624	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field published
2023-10-13	12:28:54	624	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:54	624	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field override
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:54	624	[DEBUG]	Use field value for field slug
2023-10-13	12:28:54	624	[DEBUG]	Process line 624
2023-10-13	12:28:54	624	[DEBUG]	Load a row
2023-10-13	12:28:54	624	[DEBUG]	Processing item: A_7912_716
2023-10-13	12:28:54	624	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:54	624	[DEBUG]	Processing product tax
2023-10-13	12:28:54	624	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:54	624	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:54	624	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:54	624	[DEBUG]	Query for Product
2023-10-13	12:28:54	624	[DEBUG]	Executed store
2023-10-13	12:28:54	624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7912_716','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:54	624	[DEBUG]	Check product language entry
2023-10-13	12:28:54	624	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860116
2023-10-13	12:28:54	624	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:54	624	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7912_716' AND `virtuemart_product_id` != 1860116
2023-10-13	12:28:54	624	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:54	624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860116, 'A_7912_716')
2023-10-13	12:28:54	624	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:54	624	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-eldar-matt-pink' AND `virtuemart_product_id` != 1860116
2023-10-13	12:28:54	624	[DEBUG]	Query for ProductLang
2023-10-13	12:28:54	624	[DEBUG]	Executed store
2023-10-13	12:28:54	624	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque VTT MET Eldar, le casque pour les casse-cous. Casque enduro de grande qualité qui protège de manière fiable même pendant les sorties mouvementées grâce à sa partie arrière basse prolongée. Le MET Eldar n\'est pas qu\'une protection de haut niveau, la palette de couleurs variées donnent un super look aux enfants. Que demander de plus? Les Enduro World Series arrivent!<br><br>Autres caractéristiques:<br><br>Système de réglage Safe-T Twist 2<br>Visière amovible<br>Mousses lavables<br>Coque externe en polycarbonate liée à la structure interne en EPS par procédé In-Mould<br>Éléments réfléchissants<br>N° art fourn : 720.017.00',`product_name`='MET Casque MET Eldar / Matt Pink',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-eldar-matt-pink' WHERE `virtuemart_product_id` = '1860116'
2023-10-13	12:28:54	624	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37717_casque_met_eldar.jpg
2023-10-13	12:28:54	624	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:54	624	[DEBUG]	Process image file
2023-10-13	12:28:54	624	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:54	624	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:54	624	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37717_casque_met_eldar.jpg
2023-10-13	12:28:54	624	[DEBUG]	Full name target: bcprisme/37717_casque_met_eldar.jpg
2023-10-13	12:28:55	624	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:55	624	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37717_casque_met_eldar.jpg'
2023-10-13	12:28:55	624	[DEBUG]	Query for Media
2023-10-13	12:28:55	624	[DEBUG]	Executed store
2023-10-13	12:28:55	624	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37717_casque_met_eldar.jpg',`file_url_thumb`='bcprisme/37717_casque_met_eldar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069392'
2023-10-13	12:28:55	624	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:55	624	[DEBUG]	Executed store
2023-10-13	12:28:55	624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860116','1069392','1')
2023-10-13	12:28:55	624	[DEBUG]	Store product image relation
2023-10-13	12:28:55	624	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:55	624	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860116 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:55	624	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:55	624	[DEBUG]	Executed store
2023-10-13	12:28:55	624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860116','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:55	624	[DEBUG]	Checking manufacturer
2023-10-13	12:28:55	624	[DEBUG]	Load a row
2023-10-13	12:28:55	624	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:55	624	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:55	624	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:55	624	[DEBUG]	Executed store
2023-10-13	12:28:55	624	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:55	624	[DEBUG]	Manufacturer exists
2023-10-13	12:28:55	624	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:55	624	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:55	624	[DEBUG]	Executed store
2023-10-13	12:28:55	624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860116','226')
2023-10-13	12:28:55	624	[DEBUG]	Find the custom field ID
2023-10-13	12:28:55	624	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:55	624	[DEBUG]	No custom field ID found
2023-10-13	12:28:55	624	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:55	624	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:55	624	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860116 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:55	624	[DEBUG]	Store custom available field
2023-10-13	12:28:55	624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860116,3,'9.8725',1)
2023-10-13	12:28:55	624	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:55	624	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:55	624	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860116 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:55	624	[DEBUG]	Store custom available field
2023-10-13	12:28:55	624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860116,6,'choisir la taille',3)
2023-10-13	12:28:55	624	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:55	624	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:55	624	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:55	624	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:55	624	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860116 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:55	624	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:55	624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860116,8,1)
2023-10-13	12:28:55	624	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:55	624	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860116\":[1860116,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860116
2023-10-13	12:28:55	624	[DEBUG]	Checking category
2023-10-13	12:28:55	624	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:55	624	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860116
2023-10-13	12:28:55	624	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:55	624	[DEBUG]	Executed store
2023-10-13	12:28:55	624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860116','7281')
2023-10-13	12:28:55	624	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:55	624	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860116 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:55	624	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:55	624	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860116
2023-10-13	12:28:55	625	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:55	625	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:55	625	[DEBUG]	Use field value for field taille
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:55	625	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:55	625	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:55	625	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:55	625	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:55	625	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:55	625	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:55	625	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:55	625	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:55	625	[DEBUG]	Use field value for field published
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:55	625	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field override
2023-10-13	12:28:55	625	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:55	625	[DEBUG]	Use field value for field slug
2023-10-13	12:28:55	625	[DEBUG]	Process line 625
2023-10-13	12:28:55	625	[DEBUG]	Load a row
2023-10-13	12:28:55	625	[DEBUG]	Processing item: 1000000163001
2023-10-13	12:28:55	625	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:55	625	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:55	625	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7912_716'
2023-10-13	12:28:55	625	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:55	625	[DEBUG]	Processing product tax
2023-10-13	12:28:55	625	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:55	625	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:55	625	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:55	625	[DEBUG]	Query for Product
2023-10-13	12:28:55	625	[DEBUG]	Executed store
2023-10-13	12:28:55	625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860116','1000000163001','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:55	625	[DEBUG]	No parent found
2023-10-13	12:28:55	625	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860116 AND customfield_value = 'stockable'
2023-10-13	12:28:55	625	[DEBUG]	Check product language entry
2023-10-13	12:28:55	625	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860117
2023-10-13	12:28:55	625	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:55	625	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163001' AND `virtuemart_product_id` != 1860117
2023-10-13	12:28:55	625	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:55	625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860117, '1000000163001')
2023-10-13	12:28:55	625	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:55	625	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-eldar-matt-pink-52-57cm' AND `virtuemart_product_id` != 1860117
2023-10-13	12:28:55	625	[DEBUG]	Query for ProductLang
2023-10-13	12:28:55	625	[DEBUG]	Executed store
2023-10-13	12:28:55	625	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Eldar / Matt Pink (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-eldar-matt-pink-52-57cm' WHERE `virtuemart_product_id` = '1860117'
2023-10-13	12:28:55	625	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37717_casque_met_eldar.jpg
2023-10-13	12:28:55	625	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:55	625	[DEBUG]	Process image file
2023-10-13	12:28:55	625	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:55	625	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:55	625	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37717_casque_met_eldar.jpg
2023-10-13	12:28:55	625	[DEBUG]	Full name target: bcprisme/37717_casque_met_eldar.jpg
2023-10-13	12:28:56	625	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:56	625	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37717_casque_met_eldar.jpg'
2023-10-13	12:28:56	625	[DEBUG]	Query for Media
2023-10-13	12:28:56	625	[DEBUG]	Executed store
2023-10-13	12:28:56	625	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37717_casque_met_eldar.jpg',`file_url_thumb`='bcprisme/37717_casque_met_eldar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069392'
2023-10-13	12:28:56	625	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:56	625	[DEBUG]	Executed store
2023-10-13	12:28:56	625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860117','1069392','1')
2023-10-13	12:28:56	625	[DEBUG]	Store product image relation
2023-10-13	12:28:56	625	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:56	625	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860117 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:56	625	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:56	625	[DEBUG]	Executed store
2023-10-13	12:28:56	625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860117','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:56	625	[DEBUG]	Checking manufacturer
2023-10-13	12:28:56	625	[DEBUG]	Load a row
2023-10-13	12:28:56	625	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:56	625	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:56	625	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:56	625	[DEBUG]	Executed store
2023-10-13	12:28:56	625	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:56	625	[DEBUG]	Manufacturer exists
2023-10-13	12:28:56	625	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:56	625	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:56	625	[DEBUG]	Executed store
2023-10-13	12:28:56	625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860117','226')
2023-10-13	12:28:56	625	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:56	625	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:56	625	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860117 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:56	625	[DEBUG]	Store custom available field
2023-10-13	12:28:56	625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860117,3,'',1)
2023-10-13	12:28:56	625	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:56	625	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:56	625	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860117 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:56	625	[DEBUG]	Store custom available field
2023-10-13	12:28:56	625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860117,6,'52-57cm',3)
2023-10-13	12:28:56	625	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:56	625	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:56	625	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860116
2023-10-13	12:28:56	625	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:56	625	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860116\":[1860116,8,1,\"choisir la taille\"],\"1860117\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860116
2023-10-13	12:28:56	625	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:56	625	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860117
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:56	626	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field taille
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:56	626	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:56	626	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:56	626	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:56	626	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:56	626	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:56	626	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field published
2023-10-13	12:28:56	626	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:56	626	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field override
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:56	626	[DEBUG]	Use field value for field slug
2023-10-13	12:28:56	626	[DEBUG]	Process line 626
2023-10-13	12:28:56	626	[DEBUG]	Load a row
2023-10-13	12:28:56	626	[DEBUG]	Processing item: A_7912_717
2023-10-13	12:28:56	626	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:56	626	[DEBUG]	Processing product tax
2023-10-13	12:28:56	626	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:56	626	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:56	626	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:56	626	[DEBUG]	Query for Product
2023-10-13	12:28:56	626	[DEBUG]	Executed store
2023-10-13	12:28:56	626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7912_717','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:56	626	[DEBUG]	Check product language entry
2023-10-13	12:28:56	626	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860118
2023-10-13	12:28:56	626	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:56	626	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7912_717' AND `virtuemart_product_id` != 1860118
2023-10-13	12:28:56	626	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:56	626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860118, 'A_7912_717')
2023-10-13	12:28:56	626	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:56	626	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-eldar-green-tie-dye' AND `virtuemart_product_id` != 1860118
2023-10-13	12:28:56	626	[DEBUG]	Query for ProductLang
2023-10-13	12:28:56	626	[DEBUG]	Executed store
2023-10-13	12:28:56	626	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque VTT MET Eldar, le casque pour les casse-cous. Casque enduro de grande qualité qui protège de manière fiable même pendant les sorties mouvementées grâce à sa partie arrière basse prolongée. Le MET Eldar n\'est pas qu\'une protection de haut niveau, la palette de couleurs variées donnent un super look aux enfants. Que demander de plus? Les Enduro World Series arrivent!<br><br>Autres caractéristiques:<br><br>Système de réglage Safe-T Twist 2<br>Visière amovible<br>Mousses lavables<br>Coque externe en polycarbonate liée à la structure interne en EPS par procédé In-Mould<br>Éléments réfléchissants<br>N° art fourn : 720.017.00',`product_name`='MET Casque MET Eldar / Green Tie-Dye',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-eldar-green-tie-dye' WHERE `virtuemart_product_id` = '1860118'
2023-10-13	12:28:56	626	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37718_casque_met_eldar.jpg
2023-10-13	12:28:56	626	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:56	626	[DEBUG]	Process image file
2023-10-13	12:28:56	626	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:56	626	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:56	626	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37718_casque_met_eldar.jpg
2023-10-13	12:28:56	626	[DEBUG]	Full name target: bcprisme/37718_casque_met_eldar.jpg
2023-10-13	12:28:57	626	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:57	626	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37718_casque_met_eldar.jpg'
2023-10-13	12:28:57	626	[DEBUG]	Query for Media
2023-10-13	12:28:57	626	[DEBUG]	Executed store
2023-10-13	12:28:57	626	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37718_casque_met_eldar.jpg',`file_url_thumb`='bcprisme/37718_casque_met_eldar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069394'
2023-10-13	12:28:57	626	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:57	626	[DEBUG]	Executed store
2023-10-13	12:28:57	626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860118','1069394','1')
2023-10-13	12:28:57	626	[DEBUG]	Store product image relation
2023-10-13	12:28:57	626	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:57	626	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860118 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:57	626	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:57	626	[DEBUG]	Executed store
2023-10-13	12:28:57	626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860118','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:57	626	[DEBUG]	Checking manufacturer
2023-10-13	12:28:57	626	[DEBUG]	Load a row
2023-10-13	12:28:57	626	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:57	626	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:57	626	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:57	626	[DEBUG]	Executed store
2023-10-13	12:28:57	626	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:57	626	[DEBUG]	Manufacturer exists
2023-10-13	12:28:57	626	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:57	626	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:57	626	[DEBUG]	Executed store
2023-10-13	12:28:57	626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860118','226')
2023-10-13	12:28:57	626	[DEBUG]	Find the custom field ID
2023-10-13	12:28:57	626	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:57	626	[DEBUG]	No custom field ID found
2023-10-13	12:28:57	626	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:57	626	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:57	626	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860118 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:57	626	[DEBUG]	Store custom available field
2023-10-13	12:28:57	626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860118,3,'9.8725',1)
2023-10-13	12:28:57	626	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:57	626	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:57	626	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860118 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:57	626	[DEBUG]	Store custom available field
2023-10-13	12:28:57	626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860118,6,'choisir la taille',3)
2023-10-13	12:28:57	626	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:57	626	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:57	626	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:57	626	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:57	626	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860118 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:57	626	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:57	626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860118,8,1)
2023-10-13	12:28:57	626	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:57	626	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860118\":[1860118,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860118
2023-10-13	12:28:57	626	[DEBUG]	Checking category
2023-10-13	12:28:57	626	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:57	626	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860118
2023-10-13	12:28:57	626	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:57	626	[DEBUG]	Executed store
2023-10-13	12:28:57	626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860118','7281')
2023-10-13	12:28:57	626	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:57	626	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860118 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:57	626	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:57	626	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860118
2023-10-13	12:28:57	627	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:57	627	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:57	627	[DEBUG]	Use field value for field taille
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:57	627	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:57	627	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:57	627	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:57	627	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:57	627	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:57	627	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:57	627	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:57	627	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:57	627	[DEBUG]	Use field value for field published
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:57	627	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field override
2023-10-13	12:28:57	627	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:57	627	[DEBUG]	Use field value for field slug
2023-10-13	12:28:57	627	[DEBUG]	Process line 627
2023-10-13	12:28:57	627	[DEBUG]	Load a row
2023-10-13	12:28:57	627	[DEBUG]	Processing item: 1000000163018
2023-10-13	12:28:57	627	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:57	627	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:57	627	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7912_717'
2023-10-13	12:28:57	627	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:57	627	[DEBUG]	Processing product tax
2023-10-13	12:28:57	627	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:57	627	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:57	627	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:57	627	[DEBUG]	Query for Product
2023-10-13	12:28:57	627	[DEBUG]	Executed store
2023-10-13	12:28:57	627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860118','1000000163018','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:57	627	[DEBUG]	No parent found
2023-10-13	12:28:57	627	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860118 AND customfield_value = 'stockable'
2023-10-13	12:28:57	627	[DEBUG]	Check product language entry
2023-10-13	12:28:57	627	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860119
2023-10-13	12:28:57	627	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:57	627	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163018' AND `virtuemart_product_id` != 1860119
2023-10-13	12:28:57	627	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:57	627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860119, '1000000163018')
2023-10-13	12:28:57	627	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:57	627	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-eldar-green-tie-dye-52-57cm' AND `virtuemart_product_id` != 1860119
2023-10-13	12:28:57	627	[DEBUG]	Query for ProductLang
2023-10-13	12:28:57	627	[DEBUG]	Executed store
2023-10-13	12:28:57	627	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Eldar / Green Tie-Dye (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-eldar-green-tie-dye-52-57cm' WHERE `virtuemart_product_id` = '1860119'
2023-10-13	12:28:57	627	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37718_casque_met_eldar.jpg
2023-10-13	12:28:57	627	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:57	627	[DEBUG]	Process image file
2023-10-13	12:28:57	627	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:57	627	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:57	627	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37718_casque_met_eldar.jpg
2023-10-13	12:28:57	627	[DEBUG]	Full name target: bcprisme/37718_casque_met_eldar.jpg
2023-10-13	12:28:58	627	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:58	627	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37718_casque_met_eldar.jpg'
2023-10-13	12:28:58	627	[DEBUG]	Query for Media
2023-10-13	12:28:58	627	[DEBUG]	Executed store
2023-10-13	12:28:58	627	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37718_casque_met_eldar.jpg',`file_url_thumb`='bcprisme/37718_casque_met_eldar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069394'
2023-10-13	12:28:58	627	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:58	627	[DEBUG]	Executed store
2023-10-13	12:28:58	627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860119','1069394','1')
2023-10-13	12:28:58	627	[DEBUG]	Store product image relation
2023-10-13	12:28:58	627	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:58	627	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860119 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:58	627	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:58	627	[DEBUG]	Executed store
2023-10-13	12:28:58	627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860119','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:58	627	[DEBUG]	Checking manufacturer
2023-10-13	12:28:58	627	[DEBUG]	Load a row
2023-10-13	12:28:58	627	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:58	627	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:58	627	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:58	627	[DEBUG]	Executed store
2023-10-13	12:28:58	627	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:58	627	[DEBUG]	Manufacturer exists
2023-10-13	12:28:58	627	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:58	627	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:58	627	[DEBUG]	Executed store
2023-10-13	12:28:58	627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860119','226')
2023-10-13	12:28:58	627	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:58	627	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:28:58	627	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860119 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:58	627	[DEBUG]	Store custom available field
2023-10-13	12:28:58	627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860119,3,'',1)
2023-10-13	12:28:58	627	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:58	627	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:28:58	627	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860119 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:58	627	[DEBUG]	Store custom available field
2023-10-13	12:28:58	627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860119,6,'52-57cm',3)
2023-10-13	12:28:58	627	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:58	627	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:28:58	627	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860118
2023-10-13	12:28:58	627	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:58	627	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860118\":[1860118,8,1,\"choisir la taille\"],\"1860119\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860118
2023-10-13	12:28:58	627	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:58	627	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860119
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:58	628	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field taille
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field category_path
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:58	628	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:28:58	628	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:58	628	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field product_weight
2023-10-13	12:28:58	628	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:58	628	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:58	628	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field published
2023-10-13	12:28:58	628	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:58	628	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field custom_title
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field custom_param
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field override
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field public_price
2023-10-13	12:28:58	628	[DEBUG]	Use field value for field slug
2023-10-13	12:28:58	628	[DEBUG]	Process line 628
2023-10-13	12:28:58	628	[DEBUG]	Load a row
2023-10-13	12:28:58	628	[DEBUG]	Processing item: A_7912_718
2023-10-13	12:28:58	628	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:58	628	[DEBUG]	Processing product tax
2023-10-13	12:28:58	628	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:58	628	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:58	628	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:58	628	[DEBUG]	Query for Product
2023-10-13	12:28:58	628	[DEBUG]	Executed store
2023-10-13	12:28:58	628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7912_718','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:58	628	[DEBUG]	Check product language entry
2023-10-13	12:28:58	628	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860120
2023-10-13	12:28:58	628	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:58	628	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7912_718' AND `virtuemart_product_id` != 1860120
2023-10-13	12:28:58	628	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:58	628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860120, 'A_7912_718')
2023-10-13	12:28:58	628	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:58	628	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-eldar-gray-orange' AND `virtuemart_product_id` != 1860120
2023-10-13	12:28:58	628	[DEBUG]	Query for ProductLang
2023-10-13	12:28:58	628	[DEBUG]	Executed store
2023-10-13	12:28:58	628	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Casque VTT MET Eldar, le casque pour les casse-cous. Casque enduro de grande qualité qui protège de manière fiable même pendant les sorties mouvementées grâce à sa partie arrière basse prolongée. Le MET Eldar n\'est pas qu\'une protection de haut niveau, la palette de couleurs variées donnent un super look aux enfants. Que demander de plus? Les Enduro World Series arrivent!<br><br>Autres caractéristiques:<br><br>Système de réglage Safe-T Twist 2<br>Visière amovible<br>Mousses lavables<br>Coque externe en polycarbonate liée à la structure interne en EPS par procédé In-Mould<br>Éléments réfléchissants<br>N° art fourn : 720.017.00',`product_name`='MET Casque MET Eldar / Gray orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-eldar-gray-orange' WHERE `virtuemart_product_id` = '1860120'
2023-10-13	12:28:58	628	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37719_casque_met_eldar.jpg
2023-10-13	12:28:58	628	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:58	628	[DEBUG]	Process image file
2023-10-13	12:28:58	628	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:58	628	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:58	628	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37719_casque_met_eldar.jpg
2023-10-13	12:28:58	628	[DEBUG]	Full name target: bcprisme/37719_casque_met_eldar.jpg
2023-10-13	12:28:59	628	[DEBUG]	Checking if the file_url exists
2023-10-13	12:28:59	628	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37719_casque_met_eldar.jpg'
2023-10-13	12:28:59	628	[DEBUG]	Query for Media
2023-10-13	12:28:59	628	[DEBUG]	Executed store
2023-10-13	12:28:59	628	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37719_casque_met_eldar.jpg',`file_url_thumb`='bcprisme/37719_casque_met_eldar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069396'
2023-10-13	12:28:59	628	[DEBUG]	Query for ProductMedia
2023-10-13	12:28:59	628	[DEBUG]	Executed store
2023-10-13	12:28:59	628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860120','1069396','1')
2023-10-13	12:28:59	628	[DEBUG]	Store product image relation
2023-10-13	12:28:59	628	[DEBUG]	Finding a product_price_id
2023-10-13	12:28:59	628	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860120 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:28:59	628	[DEBUG]	Query for ProductPrice
2023-10-13	12:28:59	628	[DEBUG]	Executed store
2023-10-13	12:28:59	628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860120','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:28:59	628	[DEBUG]	Checking manufacturer
2023-10-13	12:28:59	628	[DEBUG]	Load a row
2023-10-13	12:28:59	628	[DEBUG]	Manufacturer already exists
2023-10-13	12:28:59	628	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:59	628	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:28:59	628	[DEBUG]	Executed store
2023-10-13	12:28:59	628	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:28:59	628	[DEBUG]	Manufacturer exists
2023-10-13	12:28:59	628	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:28:59	628	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:28:59	628	[DEBUG]	Executed store
2023-10-13	12:28:59	628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860120','226')
2023-10-13	12:28:59	628	[DEBUG]	Find the custom field ID
2023-10-13	12:28:59	628	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:28:59	628	[DEBUG]	No custom field ID found
2023-10-13	12:28:59	628	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:28:59	628	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:28:59	628	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860120 AND `virtuemart_custom_id` = 3
2023-10-13	12:28:59	628	[DEBUG]	Store custom available field
2023-10-13	12:28:59	628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860120,3,'9.8725',1)
2023-10-13	12:28:59	628	[DEBUG]	Processing custom available field: taille
2023-10-13	12:28:59	628	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:28:59	628	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860120 AND `virtuemart_custom_id` = 6
2023-10-13	12:28:59	628	[DEBUG]	Store custom available field
2023-10-13	12:28:59	628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860120,6,'choisir la taille',3)
2023-10-13	12:28:59	628	[DEBUG]	Process multi-variant fields
2023-10-13	12:28:59	628	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:28:59	628	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:28:59	628	[DEBUG]	Find the multi variant product entry
2023-10-13	12:28:59	628	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860120 AND `virtuemart_custom_id` = 8
2023-10-13	12:28:59	628	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:28:59	628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860120,8,1)
2023-10-13	12:28:59	628	[DEBUG]	Store the updated customfield_params
2023-10-13	12:28:59	628	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860120\":[1860120,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860120
2023-10-13	12:28:59	628	[DEBUG]	Checking category
2023-10-13	12:28:59	628	[DEBUG]	Get the existing categories for the product
2023-10-13	12:28:59	628	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860120
2023-10-13	12:28:59	628	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:28:59	628	[DEBUG]	Executed store
2023-10-13	12:28:59	628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860120','7281')
2023-10-13	12:28:59	628	[DEBUG]	Delete leftover product categories
2023-10-13	12:28:59	628	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860120 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:28:59	628	[DEBUG]	Update has fields after all processing
2023-10-13	12:28:59	628	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860120
2023-10-13	12:28:59	629	[DEBUG]	Use field value for field product_sku
2023-10-13	12:28:59	629	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:28:59	629	[DEBUG]	Use field value for field taille
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:28:59	629	[DEBUG]	Use field value for field product_name
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field category_path
2023-10-13	12:28:59	629	[DEBUG]	Use field value for field product_price
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:28:59	629	[DEBUG]	Use field value for field product_tax
2023-10-13	12:28:59	629	[DEBUG]	Use field value for field file_url
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field product_desc
2023-10-13	12:28:59	629	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:28:59	629	[DEBUG]	Use field value for field product_availability
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field product_weight
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field product_unit
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field related_products
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field product_special
2023-10-13	12:28:59	629	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:28:59	629	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:28:59	629	[DEBUG]	Use field value for field published
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field metadesc
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field metakey
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field custom_title
2023-10-13	12:28:59	629	[DEBUG]	Use field value for field custom_value
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field custom_param
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field override
2023-10-13	12:28:59	629	[DEBUG]	Use default value for field public_price
2023-10-13	12:28:59	629	[DEBUG]	Use field value for field slug
2023-10-13	12:28:59	629	[DEBUG]	Process line 629
2023-10-13	12:28:59	629	[DEBUG]	Load a row
2023-10-13	12:28:59	629	[DEBUG]	Processing item: 1000000163025
2023-10-13	12:28:59	629	[DEBUG]	Looking for parent SKU
2023-10-13	12:28:59	629	[DEBUG]	Checking product parent SKU
2023-10-13	12:28:59	629	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7912_718'
2023-10-13	12:28:59	629	[DEBUG]	Product tax: 7.7
2023-10-13	12:28:59	629	[DEBUG]	Processing product tax
2023-10-13	12:28:59	629	[DEBUG]	Check if calculation rule exists
2023-10-13	12:28:59	629	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:28:59	629	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:28:59	629	[DEBUG]	Query for Product
2023-10-13	12:28:59	629	[DEBUG]	Executed store
2023-10-13	12:28:59	629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860120','1000000163025','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:28:59	629	[DEBUG]	No parent found
2023-10-13	12:28:59	629	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860120 AND customfield_value = 'stockable'
2023-10-13	12:28:59	629	[DEBUG]	Check product language entry
2023-10-13	12:28:59	629	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860121
2023-10-13	12:28:59	629	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:59	629	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000163025' AND `virtuemart_product_id` != 1860121
2023-10-13	12:28:59	629	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:28:59	629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860121, '1000000163025')
2023-10-13	12:28:59	629	[DEBUG]	Check if the product slug exists
2023-10-13	12:28:59	629	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-eldar-gray-orange-52-57cm' AND `virtuemart_product_id` != 1860121
2023-10-13	12:28:59	629	[DEBUG]	Query for ProductLang
2023-10-13	12:28:59	629	[DEBUG]	Executed store
2023-10-13	12:28:59	629	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Eldar / Gray orange (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-eldar-gray-orange-52-57cm' WHERE `virtuemart_product_id` = '1860121'
2023-10-13	12:28:59	629	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37719_casque_met_eldar.jpg
2023-10-13	12:28:59	629	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:59	629	[DEBUG]	Process image file
2023-10-13	12:28:59	629	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:28:59	629	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:28:59	629	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37719_casque_met_eldar.jpg
2023-10-13	12:28:59	629	[DEBUG]	Full name target: bcprisme/37719_casque_met_eldar.jpg
2023-10-13	12:29:00	629	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:00	629	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37719_casque_met_eldar.jpg'
2023-10-13	12:29:00	629	[DEBUG]	Query for Media
2023-10-13	12:29:00	629	[DEBUG]	Executed store
2023-10-13	12:29:00	629	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37719_casque_met_eldar.jpg',`file_url_thumb`='bcprisme/37719_casque_met_eldar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069396'
2023-10-13	12:29:00	629	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:00	629	[DEBUG]	Executed store
2023-10-13	12:29:00	629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860121','1069396','1')
2023-10-13	12:29:00	629	[DEBUG]	Store product image relation
2023-10-13	12:29:00	629	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:00	629	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860121 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:00	629	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:00	629	[DEBUG]	Executed store
2023-10-13	12:29:00	629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860121','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:00	629	[DEBUG]	Checking manufacturer
2023-10-13	12:29:00	629	[DEBUG]	Load a row
2023-10-13	12:29:00	629	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:00	629	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:00	629	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:00	629	[DEBUG]	Executed store
2023-10-13	12:29:00	629	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:00	629	[DEBUG]	Manufacturer exists
2023-10-13	12:29:00	629	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:00	629	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:00	629	[DEBUG]	Executed store
2023-10-13	12:29:00	629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860121','226')
2023-10-13	12:29:00	629	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:00	629	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:00	629	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860121 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:00	629	[DEBUG]	Store custom available field
2023-10-13	12:29:00	629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860121,3,'',1)
2023-10-13	12:29:00	629	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:00	629	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:29:00	629	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860121 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:00	629	[DEBUG]	Store custom available field
2023-10-13	12:29:00	629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860121,6,'52-57cm',3)
2023-10-13	12:29:00	629	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:00	629	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:00	629	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860120
2023-10-13	12:29:00	629	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:00	629	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860120\":[1860120,8,1,\"choisir la taille\"],\"1860121\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860120
2023-10-13	12:29:00	629	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:00	629	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860121
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:00	630	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field taille
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:00	630	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:00	630	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:00	630	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:00	630	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:00	630	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:00	630	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:00	630	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field published
2023-10-13	12:29:00	630	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:00	630	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field override
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:00	630	[DEBUG]	Use field value for field slug
2023-10-13	12:29:00	630	[DEBUG]	Process line 630
2023-10-13	12:29:00	630	[DEBUG]	Load a row
2023-10-13	12:29:00	630	[DEBUG]	Processing item: A_8406_216
2023-10-13	12:29:00	630	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:00	630	[DEBUG]	Processing product tax
2023-10-13	12:29:00	630	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:00	630	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:00	630	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:00	630	[DEBUG]	Query for Product
2023-10-13	12:29:00	630	[DEBUG]	Executed store
2023-10-13	12:29:00	630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8406_216','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:00	630	[DEBUG]	Check product language entry
2023-10-13	12:29:00	630	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860122
2023-10-13	12:29:00	630	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:00	630	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8406_216' AND `virtuemart_product_id` != 1860122
2023-10-13	12:29:00	630	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:00	630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860122, 'A_8406_216')
2023-10-13	12:29:00	630	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:00	630	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-jr-flash-purple' AND `virtuemart_product_id` != 1860122
2023-10-13	12:29:00	630	[DEBUG]	Query for ProductLang
2023-10-13	12:29:00	630	[DEBUG]	Executed store
2023-10-13	12:29:00	630	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Tout comme son grand frère : le Carapax JR. Flash s’est inspiré du modèle pour adultes et promet une protection optimale sur tous les terrains pour la génération montante des vététistes. Son poids léger, sa protection maximale de la tête et une longue liste d’accessoires justifient un rapport qualité/prix optimal. Son poids léger est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Par ailleurs, la partie arrière du casque ainsi que celle recouvrant les tempes sont rallongées vers le bas pour une sécurité maximale sur des terrains complexes. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération assurent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière garantit une protection optimale dans la zone de la vision. Le système Run System Classic, combiné au système de réglage de la hauteur Custom Fit, permet d’ajuster le casque de vélo à la forme de la tête. Le Carapax JR. Flash dispose d’un Multi-Fit Light intégré afin de garantir une visibilité optimale.<br>N° art fourn : 85190-10',`product_name`='Alpina Casque VTT CARAPAX JR. FLASH / Purple',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-jr-flash-purple' WHERE `virtuemart_product_id` = '1860122'
2023-10-13	12:29:00	630	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38653_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:00	630	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:00	630	[DEBUG]	Process image file
2023-10-13	12:29:00	630	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:00	630	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:00	630	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38653_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:00	630	[DEBUG]	Full name target: bcprisme/38653_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:01	630	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:01	630	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38653_casque_vtt_carapax_jr__flash.jpg'
2023-10-13	12:29:01	630	[DEBUG]	Query for Media
2023-10-13	12:29:01	630	[DEBUG]	Executed store
2023-10-13	12:29:01	630	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38653_casque_vtt_carapax_jr__flash.jpg',`file_url_thumb`='bcprisme/38653_casque_vtt_carapax_jr__flash.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409937'
2023-10-13	12:29:01	630	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:01	630	[DEBUG]	Executed store
2023-10-13	12:29:01	630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860122','1409937','1')
2023-10-13	12:29:01	630	[DEBUG]	Store product image relation
2023-10-13	12:29:01	630	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:01	630	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860122 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:01	630	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:01	630	[DEBUG]	Executed store
2023-10-13	12:29:01	630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860122','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:01	630	[DEBUG]	Checking manufacturer
2023-10-13	12:29:01	630	[DEBUG]	Load a row
2023-10-13	12:29:01	630	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:01	630	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:01	630	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:01	630	[DEBUG]	Executed store
2023-10-13	12:29:01	630	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:01	630	[DEBUG]	Manufacturer exists
2023-10-13	12:29:01	630	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:01	630	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:01	630	[DEBUG]	Executed store
2023-10-13	12:29:01	630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860122','171')
2023-10-13	12:29:01	630	[DEBUG]	Find the custom field ID
2023-10-13	12:29:01	630	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:01	630	[DEBUG]	No custom field ID found
2023-10-13	12:29:01	630	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:01	630	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:29:01	630	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860122 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:01	630	[DEBUG]	Store custom available field
2023-10-13	12:29:01	630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860122,3,'0',1)
2023-10-13	12:29:01	630	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:01	630	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:01	630	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860122 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:01	630	[DEBUG]	Store custom available field
2023-10-13	12:29:01	630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860122,6,'choisir la taille',3)
2023-10-13	12:29:01	630	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:01	630	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:01	630	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:01	630	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:01	630	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860122 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:01	630	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:01	630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860122,8,1)
2023-10-13	12:29:01	630	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:01	630	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860122\":[1860122,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860122
2023-10-13	12:29:01	630	[DEBUG]	Checking category
2023-10-13	12:29:01	630	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:01	630	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860122
2023-10-13	12:29:01	630	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:01	630	[DEBUG]	Executed store
2023-10-13	12:29:01	630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860122','7281')
2023-10-13	12:29:01	630	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:01	630	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860122 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:01	630	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:01	630	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860122
2023-10-13	12:29:01	631	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:01	631	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:01	631	[DEBUG]	Use field value for field taille
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:01	631	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:01	631	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:01	631	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:01	631	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:01	631	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:01	631	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:01	631	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:01	631	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:01	631	[DEBUG]	Use field value for field published
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:01	631	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field override
2023-10-13	12:29:01	631	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:01	631	[DEBUG]	Use field value for field slug
2023-10-13	12:29:01	631	[DEBUG]	Process line 631
2023-10-13	12:29:01	631	[DEBUG]	Load a row
2023-10-13	12:29:01	631	[DEBUG]	Processing item: 1000000243994
2023-10-13	12:29:01	631	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:01	631	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:01	631	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8406_216'
2023-10-13	12:29:01	631	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:01	631	[DEBUG]	Processing product tax
2023-10-13	12:29:01	631	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:01	631	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:01	631	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:01	631	[DEBUG]	Query for Product
2023-10-13	12:29:01	631	[DEBUG]	Executed store
2023-10-13	12:29:01	631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860122','1000000243994','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:01	631	[DEBUG]	No parent found
2023-10-13	12:29:01	631	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860122 AND customfield_value = 'stockable'
2023-10-13	12:29:01	631	[DEBUG]	Check product language entry
2023-10-13	12:29:01	631	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860123
2023-10-13	12:29:01	631	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:01	631	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000243994' AND `virtuemart_product_id` != 1860123
2023-10-13	12:29:01	631	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:01	631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860123, '1000000243994')
2023-10-13	12:29:01	631	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:01	631	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-jr-flash-purple-51-56' AND `virtuemart_product_id` != 1860123
2023-10-13	12:29:01	631	[DEBUG]	Query for ProductLang
2023-10-13	12:29:01	631	[DEBUG]	Executed store
2023-10-13	12:29:01	631	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX JR. FLASH / Purple (51-56)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-jr-flash-purple-51-56' WHERE `virtuemart_product_id` = '1860123'
2023-10-13	12:29:01	631	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38653_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:01	631	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:01	631	[DEBUG]	Process image file
2023-10-13	12:29:01	631	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:01	631	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:01	631	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38653_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:01	631	[DEBUG]	Full name target: bcprisme/38653_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:02	631	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:02	631	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38653_casque_vtt_carapax_jr__flash.jpg'
2023-10-13	12:29:02	631	[DEBUG]	Query for Media
2023-10-13	12:29:02	631	[DEBUG]	Executed store
2023-10-13	12:29:02	631	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38653_casque_vtt_carapax_jr__flash.jpg',`file_url_thumb`='bcprisme/38653_casque_vtt_carapax_jr__flash.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1409937'
2023-10-13	12:29:02	631	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:02	631	[DEBUG]	Executed store
2023-10-13	12:29:02	631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860123','1409937','1')
2023-10-13	12:29:02	631	[DEBUG]	Store product image relation
2023-10-13	12:29:02	631	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:02	631	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860123 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:02	631	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:02	631	[DEBUG]	Executed store
2023-10-13	12:29:02	631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860123','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:02	631	[DEBUG]	Checking manufacturer
2023-10-13	12:29:02	631	[DEBUG]	Load a row
2023-10-13	12:29:02	631	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:02	631	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:02	631	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:02	631	[DEBUG]	Executed store
2023-10-13	12:29:02	631	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:02	631	[DEBUG]	Manufacturer exists
2023-10-13	12:29:02	631	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:02	631	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:02	631	[DEBUG]	Executed store
2023-10-13	12:29:02	631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860123','171')
2023-10-13	12:29:02	631	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:02	631	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:02	631	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860123 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:02	631	[DEBUG]	Store custom available field
2023-10-13	12:29:02	631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860123,3,'',1)
2023-10-13	12:29:02	631	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:02	631	[DEBUG]	Get existing row with customfield value 51-56
2023-10-13	12:29:02	631	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860123 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:02	631	[DEBUG]	Store custom available field
2023-10-13	12:29:02	631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860123,6,'51-56',3)
2023-10-13	12:29:02	631	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:02	631	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:02	631	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860122
2023-10-13	12:29:02	631	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:02	631	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n51-56\"}]|clabels=0|options={\"1860122\":[1860122,8,1,\"choisir la taille\"],\"1860123\":[\"51-56\"]}|' WHERE `virtuemart_product_id` = 1860122
2023-10-13	12:29:02	631	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:02	631	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860123
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:02	632	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field taille
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:02	632	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:02	632	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:02	632	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:02	632	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:02	632	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:02	632	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:02	632	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field published
2023-10-13	12:29:02	632	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:02	632	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field override
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:02	632	[DEBUG]	Use field value for field slug
2023-10-13	12:29:02	632	[DEBUG]	Process line 632
2023-10-13	12:29:02	632	[DEBUG]	Load a row
2023-10-13	12:29:02	632	[DEBUG]	Processing item: A_8406_675
2023-10-13	12:29:02	632	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:02	632	[DEBUG]	Processing product tax
2023-10-13	12:29:02	632	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:02	632	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:02	632	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:02	632	[DEBUG]	Query for Product
2023-10-13	12:29:02	632	[DEBUG]	Executed store
2023-10-13	12:29:02	632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8406_675','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:02	632	[DEBUG]	Check product language entry
2023-10-13	12:29:02	632	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860124
2023-10-13	12:29:02	632	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:02	632	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8406_675' AND `virtuemart_product_id` != 1860124
2023-10-13	12:29:02	632	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:02	632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860124, 'A_8406_675')
2023-10-13	12:29:02	632	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:02	632	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-jr-flash-true-blue-matt' AND `virtuemart_product_id` != 1860124
2023-10-13	12:29:02	632	[DEBUG]	Query for ProductLang
2023-10-13	12:29:02	632	[DEBUG]	Executed store
2023-10-13	12:29:02	632	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Tout comme son grand frère : le Carapax JR. Flash s’est inspiré du modèle pour adultes et promet une protection optimale sur tous les terrains pour la génération montante des vététistes. Son poids léger, sa protection maximale de la tête et une longue liste d’accessoires justifient un rapport qualité/prix optimal. Son poids léger est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Par ailleurs, la partie arrière du casque ainsi que celle recouvrant les tempes sont rallongées vers le bas pour une sécurité maximale sur des terrains complexes. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération assurent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière garantit une protection optimale dans la zone de la vision. Le système Run System Classic, combiné au système de réglage de la hauteur Custom Fit, permet d’ajuster le casque de vélo à la forme de la tête. Le Carapax JR. Flash dispose d’un Multi-Fit Light intégré afin de garantir une visibilité optimale.<br>N° art fourn : 85190-10',`product_name`='Alpina Casque VTT CARAPAX JR. FLASH / True Blue Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-jr-flash-true-blue-matt' WHERE `virtuemart_product_id` = '1860124'
2023-10-13	12:29:02	632	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37067_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:02	632	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:02	632	[DEBUG]	Process image file
2023-10-13	12:29:02	632	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:02	632	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:02	632	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37067_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:02	632	[DEBUG]	Full name target: bcprisme/37067_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:03	632	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:03	632	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37067_casque_vtt_carapax_jr__flash.jpg'
2023-10-13	12:29:03	632	[DEBUG]	Query for Media
2023-10-13	12:29:03	632	[DEBUG]	Executed store
2023-10-13	12:29:03	632	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37067_casque_vtt_carapax_jr__flash.jpg',`file_url_thumb`='bcprisme/37067_casque_vtt_carapax_jr__flash.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '816308'
2023-10-13	12:29:03	632	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:03	632	[DEBUG]	Executed store
2023-10-13	12:29:03	632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860124','816308','1')
2023-10-13	12:29:03	632	[DEBUG]	Store product image relation
2023-10-13	12:29:03	632	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:03	632	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860124 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:03	632	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:03	632	[DEBUG]	Executed store
2023-10-13	12:29:03	632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860124','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:03	632	[DEBUG]	Checking manufacturer
2023-10-13	12:29:03	632	[DEBUG]	Load a row
2023-10-13	12:29:03	632	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:03	632	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:03	632	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:03	632	[DEBUG]	Executed store
2023-10-13	12:29:03	632	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:03	632	[DEBUG]	Manufacturer exists
2023-10-13	12:29:03	632	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:03	632	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:03	632	[DEBUG]	Executed store
2023-10-13	12:29:03	632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860124','171')
2023-10-13	12:29:03	632	[DEBUG]	Find the custom field ID
2023-10-13	12:29:03	632	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:03	632	[DEBUG]	No custom field ID found
2023-10-13	12:29:03	632	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:03	632	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:29:03	632	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860124 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:03	632	[DEBUG]	Store custom available field
2023-10-13	12:29:03	632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860124,3,'0',1)
2023-10-13	12:29:03	632	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:03	632	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:03	632	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860124 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:03	632	[DEBUG]	Store custom available field
2023-10-13	12:29:03	632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860124,6,'choisir la taille',3)
2023-10-13	12:29:03	632	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:03	632	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:03	632	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:03	632	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:03	632	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860124 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:03	632	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:03	632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860124,8,1)
2023-10-13	12:29:03	632	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:03	632	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860124\":[1860124,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860124
2023-10-13	12:29:03	632	[DEBUG]	Checking category
2023-10-13	12:29:03	632	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:03	632	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860124
2023-10-13	12:29:03	632	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:03	632	[DEBUG]	Executed store
2023-10-13	12:29:03	632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860124','7281')
2023-10-13	12:29:03	632	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:03	632	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860124 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:03	632	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:03	632	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860124
2023-10-13	12:29:03	633	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:03	633	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:03	633	[DEBUG]	Use field value for field taille
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:03	633	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:03	633	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:03	633	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:03	633	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:03	633	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:03	633	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:03	633	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:03	633	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:03	633	[DEBUG]	Use field value for field published
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:03	633	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field override
2023-10-13	12:29:03	633	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:03	633	[DEBUG]	Use field value for field slug
2023-10-13	12:29:03	633	[DEBUG]	Process line 633
2023-10-13	12:29:03	633	[DEBUG]	Load a row
2023-10-13	12:29:03	633	[DEBUG]	Processing item: 1000000151404
2023-10-13	12:29:03	633	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:03	633	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:03	633	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8406_675'
2023-10-13	12:29:03	633	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:03	633	[DEBUG]	Processing product tax
2023-10-13	12:29:03	633	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:03	633	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:03	633	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:03	633	[DEBUG]	Query for Product
2023-10-13	12:29:03	633	[DEBUG]	Executed store
2023-10-13	12:29:03	633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860124','1000000151404','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:03	633	[DEBUG]	No parent found
2023-10-13	12:29:03	633	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860124 AND customfield_value = 'stockable'
2023-10-13	12:29:03	633	[DEBUG]	Check product language entry
2023-10-13	12:29:03	633	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860125
2023-10-13	12:29:03	633	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:03	633	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000151404' AND `virtuemart_product_id` != 1860125
2023-10-13	12:29:03	633	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:03	633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860125, '1000000151404')
2023-10-13	12:29:03	633	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:03	633	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-jr-flash-true-blue-matt-51-56' AND `virtuemart_product_id` != 1860125
2023-10-13	12:29:03	633	[DEBUG]	Query for ProductLang
2023-10-13	12:29:03	633	[DEBUG]	Executed store
2023-10-13	12:29:03	633	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX JR. FLASH / True Blue Matt (51-56)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-jr-flash-true-blue-matt-51-56' WHERE `virtuemart_product_id` = '1860125'
2023-10-13	12:29:03	633	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37067_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:03	633	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:03	633	[DEBUG]	Process image file
2023-10-13	12:29:03	633	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:03	633	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:03	633	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37067_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:03	633	[DEBUG]	Full name target: bcprisme/37067_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:04	633	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:04	633	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37067_casque_vtt_carapax_jr__flash.jpg'
2023-10-13	12:29:04	633	[DEBUG]	Query for Media
2023-10-13	12:29:04	633	[DEBUG]	Executed store
2023-10-13	12:29:04	633	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37067_casque_vtt_carapax_jr__flash.jpg',`file_url_thumb`='bcprisme/37067_casque_vtt_carapax_jr__flash.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '816308'
2023-10-13	12:29:04	633	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:04	633	[DEBUG]	Executed store
2023-10-13	12:29:04	633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860125','816308','1')
2023-10-13	12:29:04	633	[DEBUG]	Store product image relation
2023-10-13	12:29:04	633	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:04	633	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860125 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:04	633	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:04	633	[DEBUG]	Executed store
2023-10-13	12:29:04	633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860125','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:04	633	[DEBUG]	Checking manufacturer
2023-10-13	12:29:04	633	[DEBUG]	Load a row
2023-10-13	12:29:04	633	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:04	633	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:04	633	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:04	633	[DEBUG]	Executed store
2023-10-13	12:29:04	633	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:04	633	[DEBUG]	Manufacturer exists
2023-10-13	12:29:04	633	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:04	633	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:04	633	[DEBUG]	Executed store
2023-10-13	12:29:04	633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860125','171')
2023-10-13	12:29:04	633	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:04	633	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:04	633	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860125 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:04	633	[DEBUG]	Store custom available field
2023-10-13	12:29:04	633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860125,3,'',1)
2023-10-13	12:29:04	633	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:04	633	[DEBUG]	Get existing row with customfield value 51-56
2023-10-13	12:29:04	633	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860125 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:04	633	[DEBUG]	Store custom available field
2023-10-13	12:29:04	633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860125,6,'51-56',3)
2023-10-13	12:29:04	633	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:04	633	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:04	633	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860124
2023-10-13	12:29:04	633	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:04	633	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n51-56\"}]|clabels=0|options={\"1860124\":[1860124,8,1,\"choisir la taille\"],\"1860125\":[\"51-56\"]}|' WHERE `virtuemart_product_id` = 1860124
2023-10-13	12:29:04	633	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:04	633	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860125
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:04	634	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field taille
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:04	634	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:04	634	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:04	634	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:04	634	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:04	634	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:04	634	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:04	634	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field published
2023-10-13	12:29:04	634	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:04	634	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field override
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:04	634	[DEBUG]	Use field value for field slug
2023-10-13	12:29:04	634	[DEBUG]	Process line 634
2023-10-13	12:29:04	634	[DEBUG]	Load a row
2023-10-13	12:29:04	634	[DEBUG]	Processing item: A_8406_676
2023-10-13	12:29:04	634	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:04	634	[DEBUG]	Processing product tax
2023-10-13	12:29:04	634	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:04	634	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:04	634	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:04	634	[DEBUG]	Query for Product
2023-10-13	12:29:04	634	[DEBUG]	Executed store
2023-10-13	12:29:04	634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8406_676','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:04	634	[DEBUG]	Check product language entry
2023-10-13	12:29:04	634	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860126
2023-10-13	12:29:04	634	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:04	634	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8406_676' AND `virtuemart_product_id` != 1860126
2023-10-13	12:29:04	634	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:04	634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860126, 'A_8406_676')
2023-10-13	12:29:04	634	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:04	634	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-jr-flash-be-visible-matt' AND `virtuemart_product_id` != 1860126
2023-10-13	12:29:04	634	[DEBUG]	Query for ProductLang
2023-10-13	12:29:04	634	[DEBUG]	Executed store
2023-10-13	12:29:04	634	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Tout comme son grand frère : le Carapax JR. Flash s’est inspiré du modèle pour adultes et promet une protection optimale sur tous les terrains pour la génération montante des vététistes. Son poids léger, sa protection maximale de la tête et une longue liste d’accessoires justifient un rapport qualité/prix optimal. Son poids léger est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Par ailleurs, la partie arrière du casque ainsi que celle recouvrant les tempes sont rallongées vers le bas pour une sécurité maximale sur des terrains complexes. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération assurent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière garantit une protection optimale dans la zone de la vision. Le système Run System Classic, combiné au système de réglage de la hauteur Custom Fit, permet d’ajuster le casque de vélo à la forme de la tête. Le Carapax JR. Flash dispose d’un Multi-Fit Light intégré afin de garantir une visibilité optimale.<br>N° art fourn : 85190-10',`product_name`='Alpina Casque VTT CARAPAX JR. FLASH / be visible matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-jr-flash-be-visible-matt' WHERE `virtuemart_product_id` = '1860126'
2023-10-13	12:29:04	634	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37068_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:04	634	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:04	634	[DEBUG]	Process image file
2023-10-13	12:29:04	634	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:04	634	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:04	634	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37068_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:04	634	[DEBUG]	Full name target: bcprisme/37068_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:05	634	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:05	634	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37068_casque_vtt_carapax_jr__flash.jpg'
2023-10-13	12:29:05	634	[DEBUG]	Query for Media
2023-10-13	12:29:05	634	[DEBUG]	Executed store
2023-10-13	12:29:05	634	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37068_casque_vtt_carapax_jr__flash.jpg',`file_url_thumb`='bcprisme/37068_casque_vtt_carapax_jr__flash.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '816310'
2023-10-13	12:29:05	634	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:05	634	[DEBUG]	Executed store
2023-10-13	12:29:05	634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860126','816310','1')
2023-10-13	12:29:05	634	[DEBUG]	Store product image relation
2023-10-13	12:29:05	634	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:05	634	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860126 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:05	634	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:05	634	[DEBUG]	Executed store
2023-10-13	12:29:05	634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860126','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:05	634	[DEBUG]	Checking manufacturer
2023-10-13	12:29:05	634	[DEBUG]	Load a row
2023-10-13	12:29:05	634	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:05	634	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:05	634	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:05	634	[DEBUG]	Executed store
2023-10-13	12:29:05	634	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:05	634	[DEBUG]	Manufacturer exists
2023-10-13	12:29:05	634	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:05	634	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:05	634	[DEBUG]	Executed store
2023-10-13	12:29:05	634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860126','171')
2023-10-13	12:29:05	634	[DEBUG]	Find the custom field ID
2023-10-13	12:29:05	634	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:05	634	[DEBUG]	No custom field ID found
2023-10-13	12:29:05	634	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:05	634	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:29:05	634	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860126 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:05	634	[DEBUG]	Store custom available field
2023-10-13	12:29:05	634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860126,3,'0',1)
2023-10-13	12:29:05	634	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:05	634	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:05	634	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860126 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:05	634	[DEBUG]	Store custom available field
2023-10-13	12:29:05	634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860126,6,'choisir la taille',3)
2023-10-13	12:29:05	634	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:05	634	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:05	634	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:05	634	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:05	634	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860126 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:05	634	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:05	634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860126,8,1)
2023-10-13	12:29:05	634	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:05	634	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860126\":[1860126,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860126
2023-10-13	12:29:05	634	[DEBUG]	Checking category
2023-10-13	12:29:05	634	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:05	634	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860126
2023-10-13	12:29:05	634	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:05	634	[DEBUG]	Executed store
2023-10-13	12:29:05	634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860126','7281')
2023-10-13	12:29:05	634	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:05	634	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860126 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:05	634	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:05	634	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860126
2023-10-13	12:29:05	635	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:05	635	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:05	635	[DEBUG]	Use field value for field taille
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:05	635	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:05	635	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:05	635	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:05	635	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:05	635	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:05	635	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:05	635	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:05	635	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:05	635	[DEBUG]	Use field value for field published
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:05	635	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field override
2023-10-13	12:29:05	635	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:05	635	[DEBUG]	Use field value for field slug
2023-10-13	12:29:05	635	[DEBUG]	Process line 635
2023-10-13	12:29:05	635	[DEBUG]	Load a row
2023-10-13	12:29:05	635	[DEBUG]	Processing item: 1000000151411
2023-10-13	12:29:05	635	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:05	635	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:05	635	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8406_676'
2023-10-13	12:29:05	635	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:05	635	[DEBUG]	Processing product tax
2023-10-13	12:29:05	635	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:05	635	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:05	635	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:05	635	[DEBUG]	Query for Product
2023-10-13	12:29:05	635	[DEBUG]	Executed store
2023-10-13	12:29:05	635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860126','1000000151411','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:05	635	[DEBUG]	No parent found
2023-10-13	12:29:05	635	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860126 AND customfield_value = 'stockable'
2023-10-13	12:29:05	635	[DEBUG]	Check product language entry
2023-10-13	12:29:05	635	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860127
2023-10-13	12:29:05	635	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:05	635	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000151411' AND `virtuemart_product_id` != 1860127
2023-10-13	12:29:05	635	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:05	635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860127, '1000000151411')
2023-10-13	12:29:05	635	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:05	635	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-jr-flash-be-visible-matt-51-56' AND `virtuemart_product_id` != 1860127
2023-10-13	12:29:05	635	[DEBUG]	Query for ProductLang
2023-10-13	12:29:05	635	[DEBUG]	Executed store
2023-10-13	12:29:05	635	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX JR. FLASH / be visible matt (51-56)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-jr-flash-be-visible-matt-51-56' WHERE `virtuemart_product_id` = '1860127'
2023-10-13	12:29:05	635	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37068_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:05	635	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:05	635	[DEBUG]	Process image file
2023-10-13	12:29:05	635	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:05	635	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:05	635	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37068_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:05	635	[DEBUG]	Full name target: bcprisme/37068_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:06	635	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:06	635	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37068_casque_vtt_carapax_jr__flash.jpg'
2023-10-13	12:29:06	635	[DEBUG]	Query for Media
2023-10-13	12:29:06	635	[DEBUG]	Executed store
2023-10-13	12:29:06	635	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37068_casque_vtt_carapax_jr__flash.jpg',`file_url_thumb`='bcprisme/37068_casque_vtt_carapax_jr__flash.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '816310'
2023-10-13	12:29:06	635	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:06	635	[DEBUG]	Executed store
2023-10-13	12:29:06	635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860127','816310','1')
2023-10-13	12:29:06	635	[DEBUG]	Store product image relation
2023-10-13	12:29:06	635	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:06	635	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860127 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:06	635	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:06	635	[DEBUG]	Executed store
2023-10-13	12:29:06	635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860127','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:06	635	[DEBUG]	Checking manufacturer
2023-10-13	12:29:06	635	[DEBUG]	Load a row
2023-10-13	12:29:06	635	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:06	635	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:06	635	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:06	635	[DEBUG]	Executed store
2023-10-13	12:29:06	635	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:06	635	[DEBUG]	Manufacturer exists
2023-10-13	12:29:06	635	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:06	635	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:06	635	[DEBUG]	Executed store
2023-10-13	12:29:06	635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860127','171')
2023-10-13	12:29:06	635	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:06	635	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:06	635	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860127 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:06	635	[DEBUG]	Store custom available field
2023-10-13	12:29:06	635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860127,3,'',1)
2023-10-13	12:29:06	635	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:06	635	[DEBUG]	Get existing row with customfield value 51-56
2023-10-13	12:29:06	635	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860127 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:06	635	[DEBUG]	Store custom available field
2023-10-13	12:29:06	635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860127,6,'51-56',3)
2023-10-13	12:29:06	635	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:06	635	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:06	635	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860126
2023-10-13	12:29:06	635	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:06	635	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n51-56\"}]|clabels=0|options={\"1860126\":[1860126,8,1,\"choisir la taille\"],\"1860127\":[\"51-56\"]}|' WHERE `virtuemart_product_id` = 1860126
2023-10-13	12:29:06	635	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:06	635	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860127
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:06	636	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field taille
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:06	636	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:06	636	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:06	636	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:06	636	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:06	636	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:06	636	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:06	636	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field published
2023-10-13	12:29:06	636	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:06	636	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field override
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:06	636	[DEBUG]	Use field value for field slug
2023-10-13	12:29:06	636	[DEBUG]	Process line 636
2023-10-13	12:29:06	636	[DEBUG]	Load a row
2023-10-13	12:29:06	636	[DEBUG]	Processing item: A_8406_688
2023-10-13	12:29:06	636	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:06	636	[DEBUG]	Processing product tax
2023-10-13	12:29:06	636	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:06	636	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:06	636	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:06	636	[DEBUG]	Query for Product
2023-10-13	12:29:06	636	[DEBUG]	Executed store
2023-10-13	12:29:06	636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8406_688','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:06	636	[DEBUG]	Check product language entry
2023-10-13	12:29:06	636	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860128
2023-10-13	12:29:06	636	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:06	636	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8406_688' AND `virtuemart_product_id` != 1860128
2023-10-13	12:29:06	636	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:06	636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860128, 'A_8406_688')
2023-10-13	12:29:06	636	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:06	636	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-jr-flash-dove-blue-grey' AND `virtuemart_product_id` != 1860128
2023-10-13	12:29:06	636	[DEBUG]	Query for ProductLang
2023-10-13	12:29:06	636	[DEBUG]	Executed store
2023-10-13	12:29:06	636	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Tout comme son grand frère : le Carapax JR. Flash s’est inspiré du modèle pour adultes et promet une protection optimale sur tous les terrains pour la génération montante des vététistes. Son poids léger, sa protection maximale de la tête et une longue liste d’accessoires justifient un rapport qualité/prix optimal. Son poids léger est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Par ailleurs, la partie arrière du casque ainsi que celle recouvrant les tempes sont rallongées vers le bas pour une sécurité maximale sur des terrains complexes. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération assurent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière garantit une protection optimale dans la zone de la vision. Le système Run System Classic, combiné au système de réglage de la hauteur Custom Fit, permet d’ajuster le casque de vélo à la forme de la tête. Le Carapax JR. Flash dispose d’un Multi-Fit Light intégré afin de garantir une visibilité optimale.<br>N° art fourn : 85190-10',`product_name`='Alpina Casque VTT CARAPAX JR. FLASH / Dove Blue Grey',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-jr-flash-dove-blue-grey' WHERE `virtuemart_product_id` = '1860128'
2023-10-13	12:29:06	636	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37118_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:06	636	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:06	636	[DEBUG]	Process image file
2023-10-13	12:29:06	636	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:06	636	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:06	636	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37118_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:06	636	[DEBUG]	Full name target: bcprisme/37118_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:07	636	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:07	636	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37118_casque_vtt_carapax_jr__flash.jpg'
2023-10-13	12:29:07	636	[DEBUG]	Query for Media
2023-10-13	12:29:07	636	[DEBUG]	Executed store
2023-10-13	12:29:07	636	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37118_casque_vtt_carapax_jr__flash.jpg',`file_url_thumb`='bcprisme/37118_casque_vtt_carapax_jr__flash.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '898505'
2023-10-13	12:29:07	636	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:07	636	[DEBUG]	Executed store
2023-10-13	12:29:07	636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860128','898505','1')
2023-10-13	12:29:07	636	[DEBUG]	Store product image relation
2023-10-13	12:29:07	636	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:07	636	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860128 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:07	636	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:07	636	[DEBUG]	Executed store
2023-10-13	12:29:07	636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860128','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:07	636	[DEBUG]	Checking manufacturer
2023-10-13	12:29:07	636	[DEBUG]	Load a row
2023-10-13	12:29:07	636	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:07	636	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:07	636	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:07	636	[DEBUG]	Executed store
2023-10-13	12:29:07	636	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:07	636	[DEBUG]	Manufacturer exists
2023-10-13	12:29:07	636	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:07	636	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:07	636	[DEBUG]	Executed store
2023-10-13	12:29:07	636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860128','171')
2023-10-13	12:29:07	636	[DEBUG]	Find the custom field ID
2023-10-13	12:29:07	636	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:07	636	[DEBUG]	No custom field ID found
2023-10-13	12:29:07	636	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:07	636	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:29:07	636	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860128 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:07	636	[DEBUG]	Store custom available field
2023-10-13	12:29:07	636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860128,3,'0',1)
2023-10-13	12:29:07	636	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:07	636	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:07	636	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860128 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:07	636	[DEBUG]	Store custom available field
2023-10-13	12:29:07	636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860128,6,'choisir la taille',3)
2023-10-13	12:29:07	636	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:07	636	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:07	636	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:07	636	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:07	636	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860128 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:07	636	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:07	636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860128,8,1)
2023-10-13	12:29:07	636	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:07	636	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860128\":[1860128,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860128
2023-10-13	12:29:07	636	[DEBUG]	Checking category
2023-10-13	12:29:07	636	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:07	636	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860128
2023-10-13	12:29:07	636	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:07	636	[DEBUG]	Executed store
2023-10-13	12:29:07	636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860128','7281')
2023-10-13	12:29:07	636	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:07	636	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860128 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:07	636	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:07	636	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860128
2023-10-13	12:29:07	637	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:07	637	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:07	637	[DEBUG]	Use field value for field taille
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:07	637	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:07	637	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:07	637	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:07	637	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:07	637	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:07	637	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:07	637	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:07	637	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:07	637	[DEBUG]	Use field value for field published
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:07	637	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field override
2023-10-13	12:29:07	637	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:07	637	[DEBUG]	Use field value for field slug
2023-10-13	12:29:07	637	[DEBUG]	Process line 637
2023-10-13	12:29:07	637	[DEBUG]	Load a row
2023-10-13	12:29:07	637	[DEBUG]	Processing item: 1000000152517
2023-10-13	12:29:07	637	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:07	637	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:07	637	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8406_688'
2023-10-13	12:29:07	637	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:07	637	[DEBUG]	Processing product tax
2023-10-13	12:29:07	637	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:07	637	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:07	637	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:07	637	[DEBUG]	Query for Product
2023-10-13	12:29:07	637	[DEBUG]	Executed store
2023-10-13	12:29:07	637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860128','1000000152517','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:07	637	[DEBUG]	No parent found
2023-10-13	12:29:07	637	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860128 AND customfield_value = 'stockable'
2023-10-13	12:29:07	637	[DEBUG]	Check product language entry
2023-10-13	12:29:07	637	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860129
2023-10-13	12:29:07	637	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:07	637	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152517' AND `virtuemart_product_id` != 1860129
2023-10-13	12:29:07	637	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:07	637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860129, '1000000152517')
2023-10-13	12:29:07	637	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:07	637	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-jr-flash-dove-blue-grey-51-56' AND `virtuemart_product_id` != 1860129
2023-10-13	12:29:07	637	[DEBUG]	Query for ProductLang
2023-10-13	12:29:07	637	[DEBUG]	Executed store
2023-10-13	12:29:07	637	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX JR. FLASH / Dove Blue Grey (51-56)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-jr-flash-dove-blue-grey-51-56' WHERE `virtuemart_product_id` = '1860129'
2023-10-13	12:29:07	637	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37118_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:07	637	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:07	637	[DEBUG]	Process image file
2023-10-13	12:29:07	637	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:07	637	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:07	637	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37118_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:07	637	[DEBUG]	Full name target: bcprisme/37118_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:08	637	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:08	637	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37118_casque_vtt_carapax_jr__flash.jpg'
2023-10-13	12:29:08	637	[DEBUG]	Query for Media
2023-10-13	12:29:08	637	[DEBUG]	Executed store
2023-10-13	12:29:08	637	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37118_casque_vtt_carapax_jr__flash.jpg',`file_url_thumb`='bcprisme/37118_casque_vtt_carapax_jr__flash.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '898505'
2023-10-13	12:29:08	637	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:08	637	[DEBUG]	Executed store
2023-10-13	12:29:08	637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860129','898505','1')
2023-10-13	12:29:08	637	[DEBUG]	Store product image relation
2023-10-13	12:29:08	637	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:08	637	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860129 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:08	637	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:08	637	[DEBUG]	Executed store
2023-10-13	12:29:08	637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860129','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:08	637	[DEBUG]	Checking manufacturer
2023-10-13	12:29:08	637	[DEBUG]	Load a row
2023-10-13	12:29:08	637	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:08	637	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:08	637	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:08	637	[DEBUG]	Executed store
2023-10-13	12:29:08	637	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:08	637	[DEBUG]	Manufacturer exists
2023-10-13	12:29:08	637	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:08	637	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:08	637	[DEBUG]	Executed store
2023-10-13	12:29:08	637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860129','171')
2023-10-13	12:29:08	637	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:08	637	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:08	637	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860129 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:08	637	[DEBUG]	Store custom available field
2023-10-13	12:29:08	637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860129,3,'',1)
2023-10-13	12:29:08	637	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:08	637	[DEBUG]	Get existing row with customfield value 51-56
2023-10-13	12:29:08	637	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860129 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:08	637	[DEBUG]	Store custom available field
2023-10-13	12:29:08	637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860129,6,'51-56',3)
2023-10-13	12:29:08	637	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:08	637	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:08	637	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860128
2023-10-13	12:29:08	637	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:08	637	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n51-56\"}]|clabels=0|options={\"1860128\":[1860128,8,1,\"choisir la taille\"],\"1860129\":[\"51-56\"]}|' WHERE `virtuemart_product_id` = 1860128
2023-10-13	12:29:08	637	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:08	637	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860129
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:08	638	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field taille
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:08	638	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:08	638	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:08	638	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:08	638	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:08	638	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:08	638	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:08	638	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field published
2023-10-13	12:29:08	638	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:08	638	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field override
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:08	638	[DEBUG]	Use field value for field slug
2023-10-13	12:29:08	638	[DEBUG]	Process line 638
2023-10-13	12:29:08	638	[DEBUG]	Load a row
2023-10-13	12:29:08	638	[DEBUG]	Processing item: A_8406_689
2023-10-13	12:29:08	638	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:08	638	[DEBUG]	Processing product tax
2023-10-13	12:29:08	638	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:08	638	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:08	638	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:08	638	[DEBUG]	Query for Product
2023-10-13	12:29:08	638	[DEBUG]	Executed store
2023-10-13	12:29:08	638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8406_689','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:08	638	[DEBUG]	Check product language entry
2023-10-13	12:29:08	638	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860130
2023-10-13	12:29:08	638	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:08	638	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8406_689' AND `virtuemart_product_id` != 1860130
2023-10-13	12:29:08	638	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:08	638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860130, 'A_8406_689')
2023-10-13	12:29:08	638	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:08	638	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-jr-flash-grey-peach-matt' AND `virtuemart_product_id` != 1860130
2023-10-13	12:29:08	638	[DEBUG]	Query for ProductLang
2023-10-13	12:29:08	638	[DEBUG]	Executed store
2023-10-13	12:29:08	638	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Tout comme son grand frère : le Carapax JR. Flash s’est inspiré du modèle pour adultes et promet une protection optimale sur tous les terrains pour la génération montante des vététistes. Son poids léger, sa protection maximale de la tête et une longue liste d’accessoires justifient un rapport qualité/prix optimal. Son poids léger est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Par ailleurs, la partie arrière du casque ainsi que celle recouvrant les tempes sont rallongées vers le bas pour une sécurité maximale sur des terrains complexes. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération assurent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière garantit une protection optimale dans la zone de la vision. Le système Run System Classic, combiné au système de réglage de la hauteur Custom Fit, permet d’ajuster le casque de vélo à la forme de la tête. Le Carapax JR. Flash dispose d’un Multi-Fit Light intégré afin de garantir une visibilité optimale.<br>N° art fourn : 85190-10',`product_name`='Alpina Casque VTT CARAPAX JR. FLASH / Grey Peach Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-jr-flash-grey-peach-matt' WHERE `virtuemart_product_id` = '1860130'
2023-10-13	12:29:08	638	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37117_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:08	638	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:08	638	[DEBUG]	Process image file
2023-10-13	12:29:08	638	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:08	638	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:08	638	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37117_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:08	638	[DEBUG]	Full name target: bcprisme/37117_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:09	638	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:09	638	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37117_casque_vtt_carapax_jr__flash.jpg'
2023-10-13	12:29:09	638	[DEBUG]	Query for Media
2023-10-13	12:29:09	638	[DEBUG]	Executed store
2023-10-13	12:29:09	638	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37117_casque_vtt_carapax_jr__flash.jpg',`file_url_thumb`='bcprisme/37117_casque_vtt_carapax_jr__flash.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '868510'
2023-10-13	12:29:09	638	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:09	638	[DEBUG]	Executed store
2023-10-13	12:29:09	638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860130','868510','1')
2023-10-13	12:29:09	638	[DEBUG]	Store product image relation
2023-10-13	12:29:09	638	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:09	638	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860130 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:09	638	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:09	638	[DEBUG]	Executed store
2023-10-13	12:29:09	638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860130','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:09	638	[DEBUG]	Checking manufacturer
2023-10-13	12:29:09	638	[DEBUG]	Load a row
2023-10-13	12:29:09	638	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:09	638	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:09	638	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:09	638	[DEBUG]	Executed store
2023-10-13	12:29:09	638	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:09	638	[DEBUG]	Manufacturer exists
2023-10-13	12:29:09	638	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:09	638	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:09	638	[DEBUG]	Executed store
2023-10-13	12:29:09	638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860130','171')
2023-10-13	12:29:09	638	[DEBUG]	Find the custom field ID
2023-10-13	12:29:09	638	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:09	638	[DEBUG]	No custom field ID found
2023-10-13	12:29:09	638	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:09	638	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:29:09	638	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860130 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:09	638	[DEBUG]	Store custom available field
2023-10-13	12:29:09	638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860130,3,'0',1)
2023-10-13	12:29:09	638	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:09	638	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:09	638	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860130 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:09	638	[DEBUG]	Store custom available field
2023-10-13	12:29:09	638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860130,6,'choisir la taille',3)
2023-10-13	12:29:09	638	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:09	638	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:09	638	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:09	638	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:09	638	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860130 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:09	638	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:09	638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860130,8,1)
2023-10-13	12:29:09	638	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:09	638	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860130\":[1860130,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860130
2023-10-13	12:29:09	638	[DEBUG]	Checking category
2023-10-13	12:29:09	638	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:09	638	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860130
2023-10-13	12:29:09	638	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:09	638	[DEBUG]	Executed store
2023-10-13	12:29:09	638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860130','7281')
2023-10-13	12:29:09	638	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:09	638	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860130 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:09	638	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:09	638	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860130
2023-10-13	12:29:09	639	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:09	639	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:09	639	[DEBUG]	Use field value for field taille
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:09	639	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:09	639	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:09	639	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:09	639	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:09	639	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:09	639	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:09	639	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:09	639	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:09	639	[DEBUG]	Use field value for field published
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:09	639	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field override
2023-10-13	12:29:09	639	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:09	639	[DEBUG]	Use field value for field slug
2023-10-13	12:29:09	639	[DEBUG]	Process line 639
2023-10-13	12:29:09	639	[DEBUG]	Load a row
2023-10-13	12:29:09	639	[DEBUG]	Processing item: 1000000152500
2023-10-13	12:29:09	639	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:09	639	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:09	639	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8406_689'
2023-10-13	12:29:09	639	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:09	639	[DEBUG]	Processing product tax
2023-10-13	12:29:09	639	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:09	639	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:09	639	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:09	639	[DEBUG]	Query for Product
2023-10-13	12:29:09	639	[DEBUG]	Executed store
2023-10-13	12:29:09	639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860130','1000000152500','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:09	639	[DEBUG]	No parent found
2023-10-13	12:29:09	639	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860130 AND customfield_value = 'stockable'
2023-10-13	12:29:09	639	[DEBUG]	Check product language entry
2023-10-13	12:29:09	639	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860131
2023-10-13	12:29:09	639	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:09	639	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152500' AND `virtuemart_product_id` != 1860131
2023-10-13	12:29:09	639	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:09	639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860131, '1000000152500')
2023-10-13	12:29:09	639	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:09	639	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-jr-flash-grey-peach-matt-51-56' AND `virtuemart_product_id` != 1860131
2023-10-13	12:29:09	639	[DEBUG]	Query for ProductLang
2023-10-13	12:29:09	639	[DEBUG]	Executed store
2023-10-13	12:29:09	639	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX JR. FLASH / Grey Peach Matt (51-56)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-jr-flash-grey-peach-matt-51-56' WHERE `virtuemart_product_id` = '1860131'
2023-10-13	12:29:09	639	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37117_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:09	639	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:09	639	[DEBUG]	Process image file
2023-10-13	12:29:09	639	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:09	639	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:09	639	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37117_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:09	639	[DEBUG]	Full name target: bcprisme/37117_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:10	639	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:10	639	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37117_casque_vtt_carapax_jr__flash.jpg'
2023-10-13	12:29:10	639	[DEBUG]	Query for Media
2023-10-13	12:29:10	639	[DEBUG]	Executed store
2023-10-13	12:29:10	639	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37117_casque_vtt_carapax_jr__flash.jpg',`file_url_thumb`='bcprisme/37117_casque_vtt_carapax_jr__flash.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '868510'
2023-10-13	12:29:10	639	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:10	639	[DEBUG]	Executed store
2023-10-13	12:29:10	639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860131','868510','1')
2023-10-13	12:29:10	639	[DEBUG]	Store product image relation
2023-10-13	12:29:10	639	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:10	639	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860131 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:10	639	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:10	639	[DEBUG]	Executed store
2023-10-13	12:29:10	639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860131','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:10	639	[DEBUG]	Checking manufacturer
2023-10-13	12:29:10	639	[DEBUG]	Load a row
2023-10-13	12:29:10	639	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:10	639	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:10	639	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:10	639	[DEBUG]	Executed store
2023-10-13	12:29:10	639	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:10	639	[DEBUG]	Manufacturer exists
2023-10-13	12:29:10	639	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:10	639	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:10	639	[DEBUG]	Executed store
2023-10-13	12:29:10	639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860131','171')
2023-10-13	12:29:10	639	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:10	639	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:10	639	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860131 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:10	639	[DEBUG]	Store custom available field
2023-10-13	12:29:10	639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860131,3,'',1)
2023-10-13	12:29:10	639	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:10	639	[DEBUG]	Get existing row with customfield value 51-56
2023-10-13	12:29:10	639	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860131 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:10	639	[DEBUG]	Store custom available field
2023-10-13	12:29:10	639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860131,6,'51-56',3)
2023-10-13	12:29:10	639	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:10	639	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:10	639	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860130
2023-10-13	12:29:10	639	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:10	639	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n51-56\"}]|clabels=0|options={\"1860130\":[1860130,8,1,\"choisir la taille\"],\"1860131\":[\"51-56\"]}|' WHERE `virtuemart_product_id` = 1860130
2023-10-13	12:29:10	639	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:10	639	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860131
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:10	640	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field taille
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:10	640	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:10	640	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:10	640	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:10	640	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:10	640	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:10	640	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:10	640	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field published
2023-10-13	12:29:10	640	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:10	640	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field override
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:10	640	[DEBUG]	Use field value for field slug
2023-10-13	12:29:10	640	[DEBUG]	Process line 640
2023-10-13	12:29:10	640	[DEBUG]	Load a row
2023-10-13	12:29:10	640	[DEBUG]	Processing item: A_8406_690
2023-10-13	12:29:10	640	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:10	640	[DEBUG]	Processing product tax
2023-10-13	12:29:10	640	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:10	640	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:10	640	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:10	640	[DEBUG]	Query for Product
2023-10-13	12:29:10	640	[DEBUG]	Executed store
2023-10-13	12:29:10	640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8406_690','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:10	640	[DEBUG]	Check product language entry
2023-10-13	12:29:10	640	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860132
2023-10-13	12:29:10	640	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:10	640	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8406_690' AND `virtuemart_product_id` != 1860132
2023-10-13	12:29:10	640	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:10	640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860132, 'A_8406_690')
2023-10-13	12:29:10	640	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:10	640	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-jr-flash-peach-matt' AND `virtuemart_product_id` != 1860132
2023-10-13	12:29:10	640	[DEBUG]	Query for ProductLang
2023-10-13	12:29:10	640	[DEBUG]	Executed store
2023-10-13	12:29:10	640	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Tout comme son grand frère : le Carapax JR. Flash s’est inspiré du modèle pour adultes et promet une protection optimale sur tous les terrains pour la génération montante des vététistes. Son poids léger, sa protection maximale de la tête et une longue liste d’accessoires justifient un rapport qualité/prix optimal. Son poids léger est obtenu grâce au procédé de fabrication in-mold lors duquel la coque externe est fusionnée avec l\'amortisseur de choc en polystyrène expansé. Le raccord sur toute la surface est résistant et garantit une construction très solide. Le bord inférieur du casque est protégé par la coque supplémentaire Edge Protect en polycarbonate. Par ailleurs, la partie arrière du casque ainsi que celle recouvrant les tempes sont rallongées vers le bas pour une sécurité maximale sur des terrains complexes. Cela augmente la zone protégé de la tête. Les grandes fentes d\'aération assurent une aération optimale, les moustiquaires maintiennent les insectes à distance de la tête, et la visière garantit une protection optimale dans la zone de la vision. Le système Run System Classic, combiné au système de réglage de la hauteur Custom Fit, permet d’ajuster le casque de vélo à la forme de la tête. Le Carapax JR. Flash dispose d’un Multi-Fit Light intégré afin de garantir une visibilité optimale.<br>N° art fourn : 85190-10',`product_name`='Alpina Casque VTT CARAPAX JR. FLASH / Peach Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-jr-flash-peach-matt' WHERE `virtuemart_product_id` = '1860132'
2023-10-13	12:29:10	640	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37119_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:10	640	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	12:29:10	640	[DEBUG]	Process image file
2023-10-13	12:29:10	640	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	12:29:10	640	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:10	640	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37119_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:10	640	[DEBUG]	Full name target: bcprisme/37119_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:11	640	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:11	640	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37119_casque_vtt_carapax_jr__flash.jpg'
2023-10-13	12:29:11	640	[DEBUG]	Query for Media
2023-10-13	12:29:11	640	[DEBUG]	Executed store
2023-10-13	12:29:11	640	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37119_casque_vtt_carapax_jr__flash.jpg',`file_url_thumb`='bcprisme/37119_casque_vtt_carapax_jr__flash.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '898509'
2023-10-13	12:29:11	640	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:11	640	[DEBUG]	Executed store
2023-10-13	12:29:11	640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860132','898509','1')
2023-10-13	12:29:11	640	[DEBUG]	Store product image relation
2023-10-13	12:29:11	640	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:11	640	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860132 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:11	640	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:11	640	[DEBUG]	Executed store
2023-10-13	12:29:11	640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860132','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:11	640	[DEBUG]	Checking manufacturer
2023-10-13	12:29:11	640	[DEBUG]	Load a row
2023-10-13	12:29:11	640	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:11	640	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:11	640	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:11	640	[DEBUG]	Executed store
2023-10-13	12:29:11	640	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:11	640	[DEBUG]	Manufacturer exists
2023-10-13	12:29:11	640	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:11	640	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:11	640	[DEBUG]	Executed store
2023-10-13	12:29:11	640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860132','171')
2023-10-13	12:29:11	640	[DEBUG]	Find the custom field ID
2023-10-13	12:29:11	640	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:11	640	[DEBUG]	No custom field ID found
2023-10-13	12:29:11	640	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:11	640	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:29:11	640	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860132 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:11	640	[DEBUG]	Store custom available field
2023-10-13	12:29:11	640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860132,3,'0',1)
2023-10-13	12:29:11	640	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:11	640	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:11	640	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860132 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:11	640	[DEBUG]	Store custom available field
2023-10-13	12:29:11	640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860132,6,'choisir la taille',3)
2023-10-13	12:29:11	640	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:11	640	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:11	640	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:11	640	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:11	640	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860132 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:11	640	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:11	640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860132,8,1)
2023-10-13	12:29:11	640	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:11	640	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860132\":[1860132,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860132
2023-10-13	12:29:11	640	[DEBUG]	Checking category
2023-10-13	12:29:11	640	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:11	640	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860132
2023-10-13	12:29:11	640	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:11	640	[DEBUG]	Executed store
2023-10-13	12:29:11	640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860132','7281')
2023-10-13	12:29:11	640	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:11	640	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860132 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:11	640	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:11	640	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860132
2023-10-13	12:29:11	641	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:11	641	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:11	641	[DEBUG]	Use field value for field taille
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:11	641	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:11	641	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:11	641	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:11	641	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:11	641	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:11	641	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:11	641	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:11	641	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:11	641	[DEBUG]	Use field value for field published
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:11	641	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field override
2023-10-13	12:29:11	641	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:11	641	[DEBUG]	Use field value for field slug
2023-10-13	12:29:11	641	[DEBUG]	Process line 641
2023-10-13	12:29:11	641	[DEBUG]	Load a row
2023-10-13	12:29:11	641	[DEBUG]	Processing item: 1000000152524
2023-10-13	12:29:11	641	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:11	641	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:11	641	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8406_690'
2023-10-13	12:29:11	641	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:11	641	[DEBUG]	Processing product tax
2023-10-13	12:29:11	641	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:11	641	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:11	641	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:11	641	[DEBUG]	Query for Product
2023-10-13	12:29:11	641	[DEBUG]	Executed store
2023-10-13	12:29:11	641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860132','1000000152524','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:11	641	[DEBUG]	No parent found
2023-10-13	12:29:11	641	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860132 AND customfield_value = 'stockable'
2023-10-13	12:29:11	641	[DEBUG]	Check product language entry
2023-10-13	12:29:11	641	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860133
2023-10-13	12:29:11	641	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:11	641	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152524' AND `virtuemart_product_id` != 1860133
2023-10-13	12:29:11	641	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:11	641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860133, '1000000152524')
2023-10-13	12:29:11	641	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:11	641	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-jr-flash-peach-matt-51-56' AND `virtuemart_product_id` != 1860133
2023-10-13	12:29:11	641	[DEBUG]	Query for ProductLang
2023-10-13	12:29:11	641	[DEBUG]	Executed store
2023-10-13	12:29:11	641	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX JR. FLASH / Peach Matt (51-56)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-jr-flash-peach-matt-51-56' WHERE `virtuemart_product_id` = '1860133'
2023-10-13	12:29:11	641	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37119_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:11	641	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	12:29:11	641	[DEBUG]	Process image file
2023-10-13	12:29:11	641	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	12:29:11	641	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:11	641	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37119_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:11	641	[DEBUG]	Full name target: bcprisme/37119_casque_vtt_carapax_jr__flash.jpg
2023-10-13	12:29:12	641	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:12	641	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37119_casque_vtt_carapax_jr__flash.jpg'
2023-10-13	12:29:12	641	[DEBUG]	Query for Media
2023-10-13	12:29:12	641	[DEBUG]	Executed store
2023-10-13	12:29:12	641	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37119_casque_vtt_carapax_jr__flash.jpg',`file_url_thumb`='bcprisme/37119_casque_vtt_carapax_jr__flash.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '898509'
2023-10-13	12:29:12	641	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:12	641	[DEBUG]	Executed store
2023-10-13	12:29:12	641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860133','898509','1')
2023-10-13	12:29:12	641	[DEBUG]	Store product image relation
2023-10-13	12:29:12	641	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:12	641	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860133 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:12	641	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:12	641	[DEBUG]	Executed store
2023-10-13	12:29:12	641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860133','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:12	641	[DEBUG]	Checking manufacturer
2023-10-13	12:29:12	641	[DEBUG]	Load a row
2023-10-13	12:29:12	641	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:12	641	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:12	641	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:12	641	[DEBUG]	Executed store
2023-10-13	12:29:12	641	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:12	641	[DEBUG]	Manufacturer exists
2023-10-13	12:29:12	641	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:12	641	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:12	641	[DEBUG]	Executed store
2023-10-13	12:29:12	641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860133','171')
2023-10-13	12:29:12	641	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:12	641	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:12	641	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860133 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:12	641	[DEBUG]	Store custom available field
2023-10-13	12:29:12	641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860133,3,'',1)
2023-10-13	12:29:12	641	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:12	641	[DEBUG]	Get existing row with customfield value 51-56
2023-10-13	12:29:12	641	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860133 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:12	641	[DEBUG]	Store custom available field
2023-10-13	12:29:12	641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860133,6,'51-56',3)
2023-10-13	12:29:12	641	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:12	641	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:12	641	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860132
2023-10-13	12:29:12	641	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:12	641	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n51-56\"}]|clabels=0|options={\"1860132\":[1860132,8,1,\"choisir la taille\"],\"1860133\":[\"51-56\"]}|' WHERE `virtuemart_product_id` = 1860132
2023-10-13	12:29:12	641	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:12	641	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860133
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:12	642	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field taille
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:12	642	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:12	642	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:12	642	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:12	642	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:12	642	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:12	642	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field published
2023-10-13	12:29:12	642	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:12	642	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field override
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:12	642	[DEBUG]	Use field value for field slug
2023-10-13	12:29:12	642	[DEBUG]	Process line 642
2023-10-13	12:29:12	642	[DEBUG]	Load a row
2023-10-13	12:29:12	642	[DEBUG]	Processing item: A_8955_22
2023-10-13	12:29:12	642	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:12	642	[DEBUG]	Processing product tax
2023-10-13	12:29:12	642	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:12	642	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:12	642	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:12	642	[DEBUG]	Query for Product
2023-10-13	12:29:12	642	[DEBUG]	Executed store
2023-10-13	12:29:12	642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8955_22','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:12	642	[DEBUG]	Check product language entry
2023-10-13	12:29:12	642	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860134
2023-10-13	12:29:12	642	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:12	642	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8955_22' AND `virtuemart_product_id` != 1860134
2023-10-13	12:29:12	642	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:12	642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860134, 'A_8955_22')
2023-10-13	12:29:12	642	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:12	642	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-bleu' AND `virtuemart_product_id` != 1860134
2023-10-13	12:29:12	642	[DEBUG]	Query for ProductLang
2023-10-13	12:29:12	642	[DEBUG]	Executed store
2023-10-13	12:29:12	642	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Hooray est sûr, confortable et possède de nombreuses caractéristiques spéciales qui offrent la plus petite protection spéciale. La coque du MET Hooray est délibérément aplatie à l’arrière afin que les enfants puissent s’adapter confortablement à chaque siège enfant. Il couvre également une grande partie des deux zones sensibles du cerveau : l’arrière de la tête et les tempes. La forme intérieure est dotée d’un système sophistiqué de conduits d’air pour faciliter la circulation de l’air, et la technologie unique MET Bimbi Secure garantit qu’il n’y a pas de points de pression au niveau de la fontanelle. Equipé du feu arrière à LED MET, le Hooray offre jusqu’à 60 heures de visibilité supplémentaire pour détecter un enfant dans toutes les conditions.<br>Caractéristiques:<br>Rüclicht intégré pour plus de visibilité<br>Coupe aplatie pour une assise plus confortable dans le siège enfant<br>Technologie sécurisée MET Bimbi<br>Système de réglage de la roue rotative MET Safe-T Bimbo<br>N° art fourn : 720.041',`product_name`='MET Casque Enfant Horray  / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-bleu' WHERE `virtuemart_product_id` = '1860134'
2023-10-13	12:29:12	642	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37946_casque_met_enfant_horray_.jpg
2023-10-13	12:29:12	642	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:12	642	[DEBUG]	Process image file
2023-10-13	12:29:12	642	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:12	642	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:12	642	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37946_casque_met_enfant_horray_.jpg
2023-10-13	12:29:12	642	[DEBUG]	Full name target: bcprisme/37946_casque_met_enfant_horray_.jpg
2023-10-13	12:29:13	642	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:13	642	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37946_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:13	642	[DEBUG]	Query for Media
2023-10-13	12:29:13	642	[DEBUG]	Executed store
2023-10-13	12:29:13	642	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37946_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37946_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183177'
2023-10-13	12:29:13	642	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:13	642	[DEBUG]	Executed store
2023-10-13	12:29:13	642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860134','1183177','1')
2023-10-13	12:29:13	642	[DEBUG]	Store product image relation
2023-10-13	12:29:13	642	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:13	642	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860134 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:13	642	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:13	642	[DEBUG]	Executed store
2023-10-13	12:29:13	642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860134','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:13	642	[DEBUG]	Checking manufacturer
2023-10-13	12:29:13	642	[DEBUG]	Load a row
2023-10-13	12:29:13	642	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:13	642	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:13	642	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:13	642	[DEBUG]	Executed store
2023-10-13	12:29:13	642	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:13	642	[DEBUG]	Manufacturer exists
2023-10-13	12:29:13	642	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:13	642	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:13	642	[DEBUG]	Executed store
2023-10-13	12:29:13	642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860134','226')
2023-10-13	12:29:13	642	[DEBUG]	Find the custom field ID
2023-10-13	12:29:13	642	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:13	642	[DEBUG]	No custom field ID found
2023-10-13	12:29:13	642	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:13	642	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:29:13	642	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860134 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:13	642	[DEBUG]	Store custom available field
2023-10-13	12:29:13	642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860134,3,'9.8725',1)
2023-10-13	12:29:13	642	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:13	642	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:13	642	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860134 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:13	642	[DEBUG]	Store custom available field
2023-10-13	12:29:13	642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860134,6,'choisir la taille',3)
2023-10-13	12:29:13	642	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:13	642	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:13	642	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:13	642	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:13	642	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860134 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:13	642	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:13	642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860134,8,1)
2023-10-13	12:29:13	642	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:13	642	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860134\":[1860134,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860134
2023-10-13	12:29:13	642	[DEBUG]	Checking category
2023-10-13	12:29:13	642	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:13	642	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860134
2023-10-13	12:29:13	642	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:13	642	[DEBUG]	Executed store
2023-10-13	12:29:13	642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860134','7281')
2023-10-13	12:29:13	642	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:13	642	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860134 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:13	642	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:13	642	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860134
2023-10-13	12:29:13	643	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:13	643	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:13	643	[DEBUG]	Use field value for field taille
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:13	643	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:13	643	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:13	643	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:13	643	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:13	643	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:13	643	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:13	643	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:13	643	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:13	643	[DEBUG]	Use field value for field published
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:13	643	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field override
2023-10-13	12:29:13	643	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:13	643	[DEBUG]	Use field value for field slug
2023-10-13	12:29:14	643	[DEBUG]	Process line 643
2023-10-13	12:29:14	643	[DEBUG]	Load a row
2023-10-13	12:29:14	643	[DEBUG]	Processing item: 1000000175417
2023-10-13	12:29:14	643	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:14	643	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:14	643	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8955_22'
2023-10-13	12:29:14	643	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:14	643	[DEBUG]	Processing product tax
2023-10-13	12:29:14	643	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:14	643	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:14	643	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:14	643	[DEBUG]	Query for Product
2023-10-13	12:29:14	643	[DEBUG]	Executed store
2023-10-13	12:29:14	643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860134','1000000175417','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:14	643	[DEBUG]	No parent found
2023-10-13	12:29:14	643	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860134 AND customfield_value = 'stockable'
2023-10-13	12:29:14	643	[DEBUG]	Check product language entry
2023-10-13	12:29:14	643	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860135
2023-10-13	12:29:14	643	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:14	643	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000175417' AND `virtuemart_product_id` != 1860135
2023-10-13	12:29:14	643	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:14	643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860135, '1000000175417')
2023-10-13	12:29:14	643	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:14	643	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-bleu-46-53' AND `virtuemart_product_id` != 1860135
2023-10-13	12:29:14	643	[DEBUG]	Query for ProductLang
2023-10-13	12:29:14	643	[DEBUG]	Executed store
2023-10-13	12:29:14	643	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Enfant Horray  / Bleu (46-53)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-bleu-46-53' WHERE `virtuemart_product_id` = '1860135'
2023-10-13	12:29:14	643	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37946_casque_met_enfant_horray_.jpg
2023-10-13	12:29:14	643	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:14	643	[DEBUG]	Process image file
2023-10-13	12:29:14	643	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:14	643	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:14	643	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37946_casque_met_enfant_horray_.jpg
2023-10-13	12:29:14	643	[DEBUG]	Full name target: bcprisme/37946_casque_met_enfant_horray_.jpg
2023-10-13	12:29:14	643	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:14	643	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37946_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:14	643	[DEBUG]	Query for Media
2023-10-13	12:29:15	643	[DEBUG]	Executed store
2023-10-13	12:29:15	643	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37946_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37946_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183177'
2023-10-13	12:29:15	643	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:15	643	[DEBUG]	Executed store
2023-10-13	12:29:15	643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860135','1183177','1')
2023-10-13	12:29:15	643	[DEBUG]	Store product image relation
2023-10-13	12:29:15	643	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:15	643	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860135 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:15	643	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:15	643	[DEBUG]	Executed store
2023-10-13	12:29:15	643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860135','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:15	643	[DEBUG]	Checking manufacturer
2023-10-13	12:29:15	643	[DEBUG]	Load a row
2023-10-13	12:29:15	643	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:15	643	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:15	643	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:15	643	[DEBUG]	Executed store
2023-10-13	12:29:15	643	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:15	643	[DEBUG]	Manufacturer exists
2023-10-13	12:29:15	643	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:15	643	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:15	643	[DEBUG]	Executed store
2023-10-13	12:29:15	643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860135','226')
2023-10-13	12:29:15	643	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:15	643	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:15	643	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860135 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:15	643	[DEBUG]	Store custom available field
2023-10-13	12:29:15	643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860135,3,'',1)
2023-10-13	12:29:15	643	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:15	643	[DEBUG]	Get existing row with customfield value 46-53
2023-10-13	12:29:15	643	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860135 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:15	643	[DEBUG]	Store custom available field
2023-10-13	12:29:15	643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860135,6,'46-53',3)
2023-10-13	12:29:15	643	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:15	643	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:15	643	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860134
2023-10-13	12:29:15	643	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:15	643	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53\"}]|clabels=0|options={\"1860134\":[1860134,8,1,\"choisir la taille\"],\"1860135\":[\"46-53\"]}|' WHERE `virtuemart_product_id` = 1860134
2023-10-13	12:29:15	643	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:15	643	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860135
2023-10-13	12:29:15	644	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:15	644	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:15	644	[DEBUG]	Use field value for field taille
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:15	644	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:15	644	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:15	644	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:15	644	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:15	644	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:15	644	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:15	644	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:15	644	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:15	644	[DEBUG]	Use field value for field published
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:15	644	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field override
2023-10-13	12:29:15	644	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:15	644	[DEBUG]	Use field value for field slug
2023-10-13	12:29:15	644	[DEBUG]	Process line 644
2023-10-13	12:29:15	644	[DEBUG]	Load a row
2023-10-13	12:29:15	644	[DEBUG]	Processing item: 1000000175424
2023-10-13	12:29:15	644	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:15	644	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:15	644	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8955_22'
2023-10-13	12:29:15	644	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:15	644	[DEBUG]	Processing product tax
2023-10-13	12:29:15	644	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:15	644	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:15	644	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:15	644	[DEBUG]	Query for Product
2023-10-13	12:29:15	644	[DEBUG]	Executed store
2023-10-13	12:29:15	644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860134','1000000175424','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:15	644	[DEBUG]	No parent found
2023-10-13	12:29:15	644	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860134 AND customfield_value = 'stockable'
2023-10-13	12:29:15	644	[DEBUG]	Check product language entry
2023-10-13	12:29:15	644	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860136
2023-10-13	12:29:15	644	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:15	644	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000175424' AND `virtuemart_product_id` != 1860136
2023-10-13	12:29:15	644	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:15	644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860136, '1000000175424')
2023-10-13	12:29:15	644	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:15	644	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-bleu-52-57' AND `virtuemart_product_id` != 1860136
2023-10-13	12:29:15	644	[DEBUG]	Query for ProductLang
2023-10-13	12:29:15	644	[DEBUG]	Executed store
2023-10-13	12:29:15	644	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Enfant Horray  / Bleu (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-bleu-52-57' WHERE `virtuemart_product_id` = '1860136'
2023-10-13	12:29:15	644	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37946_casque_met_enfant_horray_.jpg
2023-10-13	12:29:15	644	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:15	644	[DEBUG]	Process image file
2023-10-13	12:29:15	644	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:15	644	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:15	644	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37946_casque_met_enfant_horray_.jpg
2023-10-13	12:29:15	644	[DEBUG]	Full name target: bcprisme/37946_casque_met_enfant_horray_.jpg
2023-10-13	12:29:16	644	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:16	644	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37946_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:16	644	[DEBUG]	Query for Media
2023-10-13	12:29:16	644	[DEBUG]	Executed store
2023-10-13	12:29:16	644	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37946_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37946_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183177'
2023-10-13	12:29:16	644	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:16	644	[DEBUG]	Executed store
2023-10-13	12:29:16	644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860136','1183177','1')
2023-10-13	12:29:16	644	[DEBUG]	Store product image relation
2023-10-13	12:29:16	644	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:16	644	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860136 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:16	644	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:16	644	[DEBUG]	Executed store
2023-10-13	12:29:16	644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860136','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:16	644	[DEBUG]	Checking manufacturer
2023-10-13	12:29:16	644	[DEBUG]	Load a row
2023-10-13	12:29:16	644	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:16	644	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:16	644	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:16	644	[DEBUG]	Executed store
2023-10-13	12:29:16	644	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:16	644	[DEBUG]	Manufacturer exists
2023-10-13	12:29:16	644	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:16	644	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:16	644	[DEBUG]	Executed store
2023-10-13	12:29:16	644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860136','226')
2023-10-13	12:29:16	644	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:16	644	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:16	644	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860136 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:16	644	[DEBUG]	Store custom available field
2023-10-13	12:29:16	644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860136,3,'',1)
2023-10-13	12:29:16	644	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:16	644	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:29:16	644	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860136 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:16	644	[DEBUG]	Store custom available field
2023-10-13	12:29:16	644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860136,6,'52-57',3)
2023-10-13	12:29:16	644	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:16	644	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:16	644	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860134
2023-10-13	12:29:16	644	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:16	644	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53\\r\\n52-57\"}]|clabels=0|options={\"1860134\":[1860134,8,1,\"choisir la taille\"],\"1860135\":[\"46-53\"],\"1860136\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1860134
2023-10-13	12:29:16	644	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:16	644	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860136
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:16	645	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field taille
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:16	645	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:16	645	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:16	645	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:16	645	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:16	645	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:16	645	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field published
2023-10-13	12:29:16	645	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:16	645	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field override
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:16	645	[DEBUG]	Use field value for field slug
2023-10-13	12:29:16	645	[DEBUG]	Process line 645
2023-10-13	12:29:16	645	[DEBUG]	Load a row
2023-10-13	12:29:16	645	[DEBUG]	Processing item: A_8955_85
2023-10-13	12:29:16	645	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:16	645	[DEBUG]	Processing product tax
2023-10-13	12:29:16	645	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:16	645	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:16	645	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:16	645	[DEBUG]	Query for Product
2023-10-13	12:29:16	645	[DEBUG]	Executed store
2023-10-13	12:29:16	645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8955_85','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:16	645	[DEBUG]	Check product language entry
2023-10-13	12:29:16	645	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860137
2023-10-13	12:29:16	645	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:16	645	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8955_85' AND `virtuemart_product_id` != 1860137
2023-10-13	12:29:16	645	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:16	645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860137, 'A_8955_85')
2023-10-13	12:29:16	645	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:16	645	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-red' AND `virtuemart_product_id` != 1860137
2023-10-13	12:29:16	645	[DEBUG]	Query for ProductLang
2023-10-13	12:29:16	645	[DEBUG]	Executed store
2023-10-13	12:29:16	645	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Hooray est sûr, confortable et possède de nombreuses caractéristiques spéciales qui offrent la plus petite protection spéciale. La coque du MET Hooray est délibérément aplatie à l’arrière afin que les enfants puissent s’adapter confortablement à chaque siège enfant. Il couvre également une grande partie des deux zones sensibles du cerveau : l’arrière de la tête et les tempes. La forme intérieure est dotée d’un système sophistiqué de conduits d’air pour faciliter la circulation de l’air, et la technologie unique MET Bimbi Secure garantit qu’il n’y a pas de points de pression au niveau de la fontanelle. Equipé du feu arrière à LED MET, le Hooray offre jusqu’à 60 heures de visibilité supplémentaire pour détecter un enfant dans toutes les conditions.<br>Caractéristiques:<br>Rüclicht intégré pour plus de visibilité<br>Coupe aplatie pour une assise plus confortable dans le siège enfant<br>Technologie sécurisée MET Bimbi<br>Système de réglage de la roue rotative MET Safe-T Bimbo<br>N° art fourn : 720.041',`product_name`='MET Casque Enfant Horray  / Red',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-red' WHERE `virtuemart_product_id` = '1860137'
2023-10-13	12:29:16	645	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37951_casque_met_enfant_horray_.jpg
2023-10-13	12:29:16	645	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:16	645	[DEBUG]	Process image file
2023-10-13	12:29:16	645	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:16	645	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:16	645	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37951_casque_met_enfant_horray_.jpg
2023-10-13	12:29:16	645	[DEBUG]	Full name target: bcprisme/37951_casque_met_enfant_horray_.jpg
2023-10-13	12:29:17	645	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:17	645	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37951_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:17	645	[DEBUG]	Query for Media
2023-10-13	12:29:17	645	[DEBUG]	Executed store
2023-10-13	12:29:17	645	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37951_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37951_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183180'
2023-10-13	12:29:17	645	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:17	645	[DEBUG]	Executed store
2023-10-13	12:29:17	645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860137','1183180','1')
2023-10-13	12:29:17	645	[DEBUG]	Store product image relation
2023-10-13	12:29:17	645	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:17	645	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860137 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:17	645	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:17	645	[DEBUG]	Executed store
2023-10-13	12:29:17	645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860137','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:17	645	[DEBUG]	Checking manufacturer
2023-10-13	12:29:17	645	[DEBUG]	Load a row
2023-10-13	12:29:17	645	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:17	645	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:17	645	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:17	645	[DEBUG]	Executed store
2023-10-13	12:29:17	645	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:17	645	[DEBUG]	Manufacturer exists
2023-10-13	12:29:17	645	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:17	645	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:17	645	[DEBUG]	Executed store
2023-10-13	12:29:17	645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860137','226')
2023-10-13	12:29:17	645	[DEBUG]	Find the custom field ID
2023-10-13	12:29:17	645	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:17	645	[DEBUG]	No custom field ID found
2023-10-13	12:29:17	645	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:17	645	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:29:17	645	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860137 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:17	645	[DEBUG]	Store custom available field
2023-10-13	12:29:17	645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860137,3,'9.8725',1)
2023-10-13	12:29:17	645	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:17	645	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:17	645	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860137 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:17	645	[DEBUG]	Store custom available field
2023-10-13	12:29:17	645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860137,6,'choisir la taille',3)
2023-10-13	12:29:17	645	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:17	645	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:17	645	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:17	645	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:17	645	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860137 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:17	645	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:17	645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860137,8,1)
2023-10-13	12:29:17	645	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:17	645	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860137\":[1860137,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860137
2023-10-13	12:29:17	645	[DEBUG]	Checking category
2023-10-13	12:29:17	645	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:17	645	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860137
2023-10-13	12:29:17	645	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:17	645	[DEBUG]	Executed store
2023-10-13	12:29:17	645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860137','7281')
2023-10-13	12:29:17	645	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:17	645	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860137 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:17	645	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:17	645	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860137
2023-10-13	12:29:17	646	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:17	646	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:17	646	[DEBUG]	Use field value for field taille
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:17	646	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:17	646	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:17	646	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:17	646	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:17	646	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:17	646	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:17	646	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:17	646	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:17	646	[DEBUG]	Use field value for field published
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:17	646	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field override
2023-10-13	12:29:17	646	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:17	646	[DEBUG]	Use field value for field slug
2023-10-13	12:29:17	646	[DEBUG]	Process line 646
2023-10-13	12:29:17	646	[DEBUG]	Load a row
2023-10-13	12:29:17	646	[DEBUG]	Processing item: 1000000175493
2023-10-13	12:29:17	646	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:17	646	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:17	646	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8955_85'
2023-10-13	12:29:17	646	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:17	646	[DEBUG]	Processing product tax
2023-10-13	12:29:17	646	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:17	646	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:17	646	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:17	646	[DEBUG]	Query for Product
2023-10-13	12:29:17	646	[DEBUG]	Executed store
2023-10-13	12:29:17	646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860137','1000000175493','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:17	646	[DEBUG]	No parent found
2023-10-13	12:29:17	646	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860137 AND customfield_value = 'stockable'
2023-10-13	12:29:17	646	[DEBUG]	Check product language entry
2023-10-13	12:29:17	646	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860138
2023-10-13	12:29:17	646	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:17	646	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000175493' AND `virtuemart_product_id` != 1860138
2023-10-13	12:29:17	646	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:17	646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860138, '1000000175493')
2023-10-13	12:29:17	646	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:17	646	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-red-52-57' AND `virtuemart_product_id` != 1860138
2023-10-13	12:29:17	646	[DEBUG]	Query for ProductLang
2023-10-13	12:29:17	646	[DEBUG]	Executed store
2023-10-13	12:29:17	646	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Enfant Horray  / Red (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-red-52-57' WHERE `virtuemart_product_id` = '1860138'
2023-10-13	12:29:17	646	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37951_casque_met_enfant_horray_.jpg
2023-10-13	12:29:17	646	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:17	646	[DEBUG]	Process image file
2023-10-13	12:29:17	646	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:17	646	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:17	646	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37951_casque_met_enfant_horray_.jpg
2023-10-13	12:29:17	646	[DEBUG]	Full name target: bcprisme/37951_casque_met_enfant_horray_.jpg
2023-10-13	12:29:18	646	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:18	646	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37951_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:18	646	[DEBUG]	Query for Media
2023-10-13	12:29:18	646	[DEBUG]	Executed store
2023-10-13	12:29:18	646	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37951_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37951_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183180'
2023-10-13	12:29:18	646	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:18	646	[DEBUG]	Executed store
2023-10-13	12:29:18	646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860138','1183180','1')
2023-10-13	12:29:18	646	[DEBUG]	Store product image relation
2023-10-13	12:29:18	646	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:18	646	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860138 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:18	646	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:18	646	[DEBUG]	Executed store
2023-10-13	12:29:18	646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860138','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:18	646	[DEBUG]	Checking manufacturer
2023-10-13	12:29:18	646	[DEBUG]	Load a row
2023-10-13	12:29:18	646	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:18	646	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:18	646	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:18	646	[DEBUG]	Executed store
2023-10-13	12:29:18	646	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:18	646	[DEBUG]	Manufacturer exists
2023-10-13	12:29:18	646	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:18	646	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:18	646	[DEBUG]	Executed store
2023-10-13	12:29:18	646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860138','226')
2023-10-13	12:29:18	646	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:18	646	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:18	646	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860138 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:18	646	[DEBUG]	Store custom available field
2023-10-13	12:29:18	646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860138,3,'',1)
2023-10-13	12:29:18	646	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:18	646	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:29:18	646	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860138 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:18	646	[DEBUG]	Store custom available field
2023-10-13	12:29:18	646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860138,6,'52-57',3)
2023-10-13	12:29:18	646	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:18	646	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:18	646	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860137
2023-10-13	12:29:18	646	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:18	646	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1860137\":[1860137,8,1,\"choisir la taille\"],\"1860138\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1860137
2023-10-13	12:29:18	646	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:18	646	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860138
2023-10-13	12:29:18	647	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:18	647	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:18	647	[DEBUG]	Use field value for field taille
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:18	647	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:18	647	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:18	647	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:18	647	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:18	647	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:18	647	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:18	647	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:18	647	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:18	647	[DEBUG]	Use field value for field published
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:18	647	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field override
2023-10-13	12:29:18	647	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:18	647	[DEBUG]	Use field value for field slug
2023-10-13	12:29:18	647	[DEBUG]	Process line 647
2023-10-13	12:29:18	647	[DEBUG]	Load a row
2023-10-13	12:29:18	647	[DEBUG]	Processing item: 1000000175509
2023-10-13	12:29:18	647	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:18	647	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:18	647	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8955_85'
2023-10-13	12:29:18	647	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:18	647	[DEBUG]	Processing product tax
2023-10-13	12:29:18	647	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:18	647	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:18	647	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:18	647	[DEBUG]	Query for Product
2023-10-13	12:29:18	647	[DEBUG]	Executed store
2023-10-13	12:29:18	647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860137','1000000175509','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:18	647	[DEBUG]	No parent found
2023-10-13	12:29:18	647	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860137 AND customfield_value = 'stockable'
2023-10-13	12:29:18	647	[DEBUG]	Check product language entry
2023-10-13	12:29:18	647	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860139
2023-10-13	12:29:18	647	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:18	647	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000175509' AND `virtuemart_product_id` != 1860139
2023-10-13	12:29:18	647	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:18	647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860139, '1000000175509')
2023-10-13	12:29:18	647	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:18	647	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-red-46-53' AND `virtuemart_product_id` != 1860139
2023-10-13	12:29:18	647	[DEBUG]	Query for ProductLang
2023-10-13	12:29:18	647	[DEBUG]	Executed store
2023-10-13	12:29:18	647	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Enfant Horray  / Red (46-53)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-red-46-53' WHERE `virtuemart_product_id` = '1860139'
2023-10-13	12:29:18	647	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37951_casque_met_enfant_horray_.jpg
2023-10-13	12:29:18	647	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:18	647	[DEBUG]	Process image file
2023-10-13	12:29:18	647	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:18	647	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:18	647	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37951_casque_met_enfant_horray_.jpg
2023-10-13	12:29:18	647	[DEBUG]	Full name target: bcprisme/37951_casque_met_enfant_horray_.jpg
2023-10-13	12:29:19	647	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:19	647	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37951_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:19	647	[DEBUG]	Query for Media
2023-10-13	12:29:19	647	[DEBUG]	Executed store
2023-10-13	12:29:19	647	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37951_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37951_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183180'
2023-10-13	12:29:19	647	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:19	647	[DEBUG]	Executed store
2023-10-13	12:29:19	647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860139','1183180','1')
2023-10-13	12:29:19	647	[DEBUG]	Store product image relation
2023-10-13	12:29:19	647	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:19	647	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860139 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:19	647	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:19	647	[DEBUG]	Executed store
2023-10-13	12:29:19	647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860139','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:19	647	[DEBUG]	Checking manufacturer
2023-10-13	12:29:19	647	[DEBUG]	Load a row
2023-10-13	12:29:19	647	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:19	647	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:19	647	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:19	647	[DEBUG]	Executed store
2023-10-13	12:29:19	647	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:19	647	[DEBUG]	Manufacturer exists
2023-10-13	12:29:19	647	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:19	647	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:19	647	[DEBUG]	Executed store
2023-10-13	12:29:19	647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860139','226')
2023-10-13	12:29:19	647	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:19	647	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:19	647	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860139 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:19	647	[DEBUG]	Store custom available field
2023-10-13	12:29:19	647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860139,3,'',1)
2023-10-13	12:29:19	647	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:19	647	[DEBUG]	Get existing row with customfield value 46-53
2023-10-13	12:29:19	647	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860139 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:19	647	[DEBUG]	Store custom available field
2023-10-13	12:29:19	647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860139,6,'46-53',3)
2023-10-13	12:29:19	647	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:19	647	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:19	647	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860137
2023-10-13	12:29:19	647	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:19	647	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n46-53\"}]|clabels=0|options={\"1860137\":[1860137,8,1,\"choisir la taille\"],\"1860138\":[\"52-57\"],\"1860139\":[\"46-53\"]}|' WHERE `virtuemart_product_id` = 1860137
2023-10-13	12:29:19	647	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:19	647	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860139
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:19	648	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field taille
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:19	648	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:19	648	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:19	648	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:19	648	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:19	648	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:19	648	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field published
2023-10-13	12:29:19	648	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:19	648	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field override
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:19	648	[DEBUG]	Use field value for field slug
2023-10-13	12:29:19	648	[DEBUG]	Process line 648
2023-10-13	12:29:19	648	[DEBUG]	Load a row
2023-10-13	12:29:19	648	[DEBUG]	Processing item: A_8955_150
2023-10-13	12:29:19	648	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:19	648	[DEBUG]	Processing product tax
2023-10-13	12:29:19	648	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:19	648	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:19	648	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:19	648	[DEBUG]	Query for Product
2023-10-13	12:29:19	648	[DEBUG]	Executed store
2023-10-13	12:29:19	648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8955_150','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:19	648	[DEBUG]	Check product language entry
2023-10-13	12:29:19	648	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860140
2023-10-13	12:29:19	648	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:19	648	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8955_150' AND `virtuemart_product_id` != 1860140
2023-10-13	12:29:19	648	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:19	648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860140, 'A_8955_150')
2023-10-13	12:29:19	648	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:19	648	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-rose' AND `virtuemart_product_id` != 1860140
2023-10-13	12:29:19	648	[DEBUG]	Query for ProductLang
2023-10-13	12:29:19	648	[DEBUG]	Executed store
2023-10-13	12:29:19	648	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Hooray est sûr, confortable et possède de nombreuses caractéristiques spéciales qui offrent la plus petite protection spéciale. La coque du MET Hooray est délibérément aplatie à l’arrière afin que les enfants puissent s’adapter confortablement à chaque siège enfant. Il couvre également une grande partie des deux zones sensibles du cerveau : l’arrière de la tête et les tempes. La forme intérieure est dotée d’un système sophistiqué de conduits d’air pour faciliter la circulation de l’air, et la technologie unique MET Bimbi Secure garantit qu’il n’y a pas de points de pression au niveau de la fontanelle. Equipé du feu arrière à LED MET, le Hooray offre jusqu’à 60 heures de visibilité supplémentaire pour détecter un enfant dans toutes les conditions.<br>Caractéristiques:<br>Rüclicht intégré pour plus de visibilité<br>Coupe aplatie pour une assise plus confortable dans le siège enfant<br>Technologie sécurisée MET Bimbi<br>Système de réglage de la roue rotative MET Safe-T Bimbo<br>N° art fourn : 720.041',`product_name`='MET Casque Enfant Horray  / Rose',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-rose' WHERE `virtuemart_product_id` = '1860140'
2023-10-13	12:29:19	648	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37952_casque_met_enfant_horray_.jpg
2023-10-13	12:29:19	648	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:19	648	[DEBUG]	Process image file
2023-10-13	12:29:19	648	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:19	648	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:19	648	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37952_casque_met_enfant_horray_.jpg
2023-10-13	12:29:19	648	[DEBUG]	Full name target: bcprisme/37952_casque_met_enfant_horray_.jpg
2023-10-13	12:29:20	648	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:20	648	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37952_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:20	648	[DEBUG]	Query for Media
2023-10-13	12:29:20	648	[DEBUG]	Executed store
2023-10-13	12:29:20	648	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37952_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37952_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183183'
2023-10-13	12:29:20	648	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:20	648	[DEBUG]	Executed store
2023-10-13	12:29:20	648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860140','1183183','1')
2023-10-13	12:29:20	648	[DEBUG]	Store product image relation
2023-10-13	12:29:20	648	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:20	648	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860140 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:20	648	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:20	648	[DEBUG]	Executed store
2023-10-13	12:29:20	648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860140','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:20	648	[DEBUG]	Checking manufacturer
2023-10-13	12:29:20	648	[DEBUG]	Load a row
2023-10-13	12:29:20	648	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:20	648	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:20	648	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:20	648	[DEBUG]	Executed store
2023-10-13	12:29:20	648	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:20	648	[DEBUG]	Manufacturer exists
2023-10-13	12:29:20	648	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:20	648	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:20	648	[DEBUG]	Executed store
2023-10-13	12:29:20	648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860140','226')
2023-10-13	12:29:20	648	[DEBUG]	Find the custom field ID
2023-10-13	12:29:20	648	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:20	648	[DEBUG]	No custom field ID found
2023-10-13	12:29:20	648	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:20	648	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:29:20	648	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860140 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:20	648	[DEBUG]	Store custom available field
2023-10-13	12:29:20	648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860140,3,'9.8725',1)
2023-10-13	12:29:20	648	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:20	648	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:20	648	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860140 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:20	648	[DEBUG]	Store custom available field
2023-10-13	12:29:20	648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860140,6,'choisir la taille',3)
2023-10-13	12:29:20	648	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:20	648	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:20	648	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:20	648	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:20	648	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860140 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:20	648	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:20	648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860140,8,1)
2023-10-13	12:29:20	648	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:20	648	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860140\":[1860140,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860140
2023-10-13	12:29:20	648	[DEBUG]	Checking category
2023-10-13	12:29:20	648	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:20	648	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860140
2023-10-13	12:29:20	648	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:20	648	[DEBUG]	Executed store
2023-10-13	12:29:20	648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860140','7281')
2023-10-13	12:29:20	648	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:20	648	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860140 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:20	648	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:20	648	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860140
2023-10-13	12:29:20	649	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:20	649	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:20	649	[DEBUG]	Use field value for field taille
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:20	649	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:20	649	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:20	649	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:20	649	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:20	649	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:20	649	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:20	649	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:20	649	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:20	649	[DEBUG]	Use field value for field published
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:20	649	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field override
2023-10-13	12:29:20	649	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:20	649	[DEBUG]	Use field value for field slug
2023-10-13	12:29:20	649	[DEBUG]	Process line 649
2023-10-13	12:29:20	649	[DEBUG]	Load a row
2023-10-13	12:29:20	649	[DEBUG]	Processing item: 1000000175516
2023-10-13	12:29:20	649	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:20	649	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:20	649	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8955_150'
2023-10-13	12:29:20	649	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:20	649	[DEBUG]	Processing product tax
2023-10-13	12:29:20	649	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:20	649	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:20	649	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:20	649	[DEBUG]	Query for Product
2023-10-13	12:29:20	649	[DEBUG]	Executed store
2023-10-13	12:29:20	649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860140','1000000175516','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:20	649	[DEBUG]	No parent found
2023-10-13	12:29:20	649	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860140 AND customfield_value = 'stockable'
2023-10-13	12:29:20	649	[DEBUG]	Check product language entry
2023-10-13	12:29:20	649	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860141
2023-10-13	12:29:20	649	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:20	649	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000175516' AND `virtuemart_product_id` != 1860141
2023-10-13	12:29:20	649	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:20	649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860141, '1000000175516')
2023-10-13	12:29:20	649	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:20	649	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-rose-46-53' AND `virtuemart_product_id` != 1860141
2023-10-13	12:29:20	649	[DEBUG]	Query for ProductLang
2023-10-13	12:29:20	649	[DEBUG]	Executed store
2023-10-13	12:29:20	649	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Enfant Horray  / Rose (46-53)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-rose-46-53' WHERE `virtuemart_product_id` = '1860141'
2023-10-13	12:29:20	649	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37952_casque_met_enfant_horray_.jpg
2023-10-13	12:29:20	649	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:20	649	[DEBUG]	Process image file
2023-10-13	12:29:20	649	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:20	649	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:20	649	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37952_casque_met_enfant_horray_.jpg
2023-10-13	12:29:20	649	[DEBUG]	Full name target: bcprisme/37952_casque_met_enfant_horray_.jpg
2023-10-13	12:29:21	649	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:21	649	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37952_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:21	649	[DEBUG]	Query for Media
2023-10-13	12:29:21	649	[DEBUG]	Executed store
2023-10-13	12:29:21	649	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37952_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37952_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183183'
2023-10-13	12:29:21	649	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:21	649	[DEBUG]	Executed store
2023-10-13	12:29:21	649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860141','1183183','1')
2023-10-13	12:29:21	649	[DEBUG]	Store product image relation
2023-10-13	12:29:21	649	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:21	649	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860141 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:21	649	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:21	649	[DEBUG]	Executed store
2023-10-13	12:29:21	649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860141','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:21	649	[DEBUG]	Checking manufacturer
2023-10-13	12:29:21	649	[DEBUG]	Load a row
2023-10-13	12:29:21	649	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:21	649	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:21	649	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:21	649	[DEBUG]	Executed store
2023-10-13	12:29:21	649	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:21	649	[DEBUG]	Manufacturer exists
2023-10-13	12:29:21	649	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:21	649	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:21	649	[DEBUG]	Executed store
2023-10-13	12:29:21	649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860141','226')
2023-10-13	12:29:21	649	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:21	649	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:21	649	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860141 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:21	649	[DEBUG]	Store custom available field
2023-10-13	12:29:21	649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860141,3,'',1)
2023-10-13	12:29:21	649	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:21	649	[DEBUG]	Get existing row with customfield value 46-53
2023-10-13	12:29:21	649	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860141 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:21	649	[DEBUG]	Store custom available field
2023-10-13	12:29:21	649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860141,6,'46-53',3)
2023-10-13	12:29:21	649	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:21	649	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:21	649	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860140
2023-10-13	12:29:21	649	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:21	649	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53\"}]|clabels=0|options={\"1860140\":[1860140,8,1,\"choisir la taille\"],\"1860141\":[\"46-53\"]}|' WHERE `virtuemart_product_id` = 1860140
2023-10-13	12:29:21	649	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:21	649	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860141
2023-10-13	12:29:21	650	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:21	650	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:21	650	[DEBUG]	Use field value for field taille
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:21	650	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:21	650	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:21	650	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:21	650	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:21	650	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:21	650	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:21	650	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:21	650	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:21	650	[DEBUG]	Use field value for field published
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:21	650	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field override
2023-10-13	12:29:21	650	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:21	650	[DEBUG]	Use field value for field slug
2023-10-13	12:29:21	650	[DEBUG]	Process line 650
2023-10-13	12:29:21	650	[DEBUG]	Load a row
2023-10-13	12:29:21	650	[DEBUG]	Processing item: 1000000175523
2023-10-13	12:29:21	650	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:21	650	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:21	650	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8955_150'
2023-10-13	12:29:21	650	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:21	650	[DEBUG]	Processing product tax
2023-10-13	12:29:21	650	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:21	650	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:21	650	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:21	650	[DEBUG]	Query for Product
2023-10-13	12:29:21	650	[DEBUG]	Executed store
2023-10-13	12:29:21	650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860140','1000000175523','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:21	650	[DEBUG]	No parent found
2023-10-13	12:29:21	650	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860140 AND customfield_value = 'stockable'
2023-10-13	12:29:21	650	[DEBUG]	Check product language entry
2023-10-13	12:29:21	650	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860142
2023-10-13	12:29:21	650	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:21	650	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000175523' AND `virtuemart_product_id` != 1860142
2023-10-13	12:29:21	650	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:21	650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860142, '1000000175523')
2023-10-13	12:29:21	650	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:21	650	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-rose-52-57' AND `virtuemart_product_id` != 1860142
2023-10-13	12:29:21	650	[DEBUG]	Query for ProductLang
2023-10-13	12:29:21	650	[DEBUG]	Executed store
2023-10-13	12:29:21	650	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Enfant Horray  / Rose (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-rose-52-57' WHERE `virtuemart_product_id` = '1860142'
2023-10-13	12:29:21	650	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37952_casque_met_enfant_horray_.jpg
2023-10-13	12:29:21	650	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:21	650	[DEBUG]	Process image file
2023-10-13	12:29:21	650	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:21	650	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:21	650	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37952_casque_met_enfant_horray_.jpg
2023-10-13	12:29:21	650	[DEBUG]	Full name target: bcprisme/37952_casque_met_enfant_horray_.jpg
2023-10-13	12:29:22	650	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:22	650	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37952_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:22	650	[DEBUG]	Query for Media
2023-10-13	12:29:22	650	[DEBUG]	Executed store
2023-10-13	12:29:22	650	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37952_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37952_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183183'
2023-10-13	12:29:22	650	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:22	650	[DEBUG]	Executed store
2023-10-13	12:29:22	650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860142','1183183','1')
2023-10-13	12:29:22	650	[DEBUG]	Store product image relation
2023-10-13	12:29:22	650	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:22	650	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860142 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:22	650	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:22	650	[DEBUG]	Executed store
2023-10-13	12:29:22	650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860142','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:22	650	[DEBUG]	Checking manufacturer
2023-10-13	12:29:22	650	[DEBUG]	Load a row
2023-10-13	12:29:22	650	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:22	650	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:22	650	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:22	650	[DEBUG]	Executed store
2023-10-13	12:29:22	650	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:22	650	[DEBUG]	Manufacturer exists
2023-10-13	12:29:22	650	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:22	650	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:22	650	[DEBUG]	Executed store
2023-10-13	12:29:22	650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860142','226')
2023-10-13	12:29:22	650	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:22	650	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:22	650	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860142 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:22	650	[DEBUG]	Store custom available field
2023-10-13	12:29:22	650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860142,3,'',1)
2023-10-13	12:29:22	650	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:22	650	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:29:22	650	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860142 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:22	650	[DEBUG]	Store custom available field
2023-10-13	12:29:22	650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860142,6,'52-57',3)
2023-10-13	12:29:22	650	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:22	650	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:22	650	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860140
2023-10-13	12:29:22	650	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:22	650	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53\\r\\n52-57\"}]|clabels=0|options={\"1860140\":[1860140,8,1,\"choisir la taille\"],\"1860141\":[\"46-53\"],\"1860142\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1860140
2023-10-13	12:29:22	650	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:22	650	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860142
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:22	651	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field taille
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:22	651	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:22	651	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:22	651	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:22	651	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:22	651	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:22	651	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field published
2023-10-13	12:29:22	651	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:22	651	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field override
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:22	651	[DEBUG]	Use field value for field slug
2023-10-13	12:29:22	651	[DEBUG]	Process line 651
2023-10-13	12:29:22	651	[DEBUG]	Load a row
2023-10-13	12:29:22	651	[DEBUG]	Processing item: A_8955_183
2023-10-13	12:29:22	651	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:22	651	[DEBUG]	Processing product tax
2023-10-13	12:29:22	651	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:22	651	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:22	651	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:22	651	[DEBUG]	Query for Product
2023-10-13	12:29:22	651	[DEBUG]	Executed store
2023-10-13	12:29:22	651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8955_183','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:22	651	[DEBUG]	Check product language entry
2023-10-13	12:29:22	651	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860143
2023-10-13	12:29:22	651	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:22	651	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8955_183' AND `virtuemart_product_id` != 1860143
2023-10-13	12:29:22	651	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:22	651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860143, 'A_8955_183')
2023-10-13	12:29:22	651	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:22	651	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-green' AND `virtuemart_product_id` != 1860143
2023-10-13	12:29:22	651	[DEBUG]	Query for ProductLang
2023-10-13	12:29:22	651	[DEBUG]	Executed store
2023-10-13	12:29:22	651	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Hooray est sûr, confortable et possède de nombreuses caractéristiques spéciales qui offrent la plus petite protection spéciale. La coque du MET Hooray est délibérément aplatie à l’arrière afin que les enfants puissent s’adapter confortablement à chaque siège enfant. Il couvre également une grande partie des deux zones sensibles du cerveau : l’arrière de la tête et les tempes. La forme intérieure est dotée d’un système sophistiqué de conduits d’air pour faciliter la circulation de l’air, et la technologie unique MET Bimbi Secure garantit qu’il n’y a pas de points de pression au niveau de la fontanelle. Equipé du feu arrière à LED MET, le Hooray offre jusqu’à 60 heures de visibilité supplémentaire pour détecter un enfant dans toutes les conditions.<br>Caractéristiques:<br>Rüclicht intégré pour plus de visibilité<br>Coupe aplatie pour une assise plus confortable dans le siège enfant<br>Technologie sécurisée MET Bimbi<br>Système de réglage de la roue rotative MET Safe-T Bimbo<br>N° art fourn : 720.041',`product_name`='MET Casque Enfant Horray  / GREEN',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-green' WHERE `virtuemart_product_id` = '1860143'
2023-10-13	12:29:22	651	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37948_casque_met_enfant_horray_.jpg
2023-10-13	12:29:22	651	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:22	651	[DEBUG]	Process image file
2023-10-13	12:29:22	651	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:22	651	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:22	651	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37948_casque_met_enfant_horray_.jpg
2023-10-13	12:29:22	651	[DEBUG]	Full name target: bcprisme/37948_casque_met_enfant_horray_.jpg
2023-10-13	12:29:23	651	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:23	651	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37948_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:23	651	[DEBUG]	Query for Media
2023-10-13	12:29:23	651	[DEBUG]	Executed store
2023-10-13	12:29:23	651	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37948_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37948_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183186'
2023-10-13	12:29:23	651	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:23	651	[DEBUG]	Executed store
2023-10-13	12:29:23	651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860143','1183186','1')
2023-10-13	12:29:23	651	[DEBUG]	Store product image relation
2023-10-13	12:29:23	651	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:23	651	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860143 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:23	651	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:23	651	[DEBUG]	Executed store
2023-10-13	12:29:23	651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860143','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:23	651	[DEBUG]	Checking manufacturer
2023-10-13	12:29:23	651	[DEBUG]	Load a row
2023-10-13	12:29:23	651	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:23	651	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:23	651	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:23	651	[DEBUG]	Executed store
2023-10-13	12:29:23	651	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:23	651	[DEBUG]	Manufacturer exists
2023-10-13	12:29:23	651	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:23	651	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:23	651	[DEBUG]	Executed store
2023-10-13	12:29:23	651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860143','226')
2023-10-13	12:29:23	651	[DEBUG]	Find the custom field ID
2023-10-13	12:29:23	651	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:23	651	[DEBUG]	No custom field ID found
2023-10-13	12:29:23	651	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:23	651	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:29:23	651	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860143 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:23	651	[DEBUG]	Store custom available field
2023-10-13	12:29:23	651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860143,3,'9.8725',1)
2023-10-13	12:29:23	651	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:23	651	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:23	651	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860143 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:23	651	[DEBUG]	Store custom available field
2023-10-13	12:29:23	651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860143,6,'choisir la taille',3)
2023-10-13	12:29:23	651	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:23	651	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:23	651	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:23	651	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:23	651	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860143 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:23	651	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:23	651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860143,8,1)
2023-10-13	12:29:23	651	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:23	651	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860143\":[1860143,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860143
2023-10-13	12:29:23	651	[DEBUG]	Checking category
2023-10-13	12:29:23	651	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:23	651	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860143
2023-10-13	12:29:23	651	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:23	651	[DEBUG]	Executed store
2023-10-13	12:29:23	651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860143','7281')
2023-10-13	12:29:23	651	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:23	651	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860143 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:23	651	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:23	651	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860143
2023-10-13	12:29:23	652	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:23	652	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:23	652	[DEBUG]	Use field value for field taille
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:23	652	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:23	652	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:23	652	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:23	652	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:23	652	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:23	652	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:23	652	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:23	652	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:23	652	[DEBUG]	Use field value for field published
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:23	652	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field override
2023-10-13	12:29:23	652	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:23	652	[DEBUG]	Use field value for field slug
2023-10-13	12:29:23	652	[DEBUG]	Process line 652
2023-10-13	12:29:23	652	[DEBUG]	Load a row
2023-10-13	12:29:23	652	[DEBUG]	Processing item: 1000000175455
2023-10-13	12:29:23	652	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:23	652	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:23	652	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8955_183'
2023-10-13	12:29:23	652	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:23	652	[DEBUG]	Processing product tax
2023-10-13	12:29:23	652	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:23	652	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:23	652	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:23	652	[DEBUG]	Query for Product
2023-10-13	12:29:23	652	[DEBUG]	Executed store
2023-10-13	12:29:23	652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860143','1000000175455','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:23	652	[DEBUG]	No parent found
2023-10-13	12:29:23	652	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860143 AND customfield_value = 'stockable'
2023-10-13	12:29:23	652	[DEBUG]	Check product language entry
2023-10-13	12:29:23	652	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860144
2023-10-13	12:29:23	652	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:23	652	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000175455' AND `virtuemart_product_id` != 1860144
2023-10-13	12:29:23	652	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:23	652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860144, '1000000175455')
2023-10-13	12:29:23	652	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:23	652	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-green-46-53' AND `virtuemart_product_id` != 1860144
2023-10-13	12:29:23	652	[DEBUG]	Query for ProductLang
2023-10-13	12:29:23	652	[DEBUG]	Executed store
2023-10-13	12:29:23	652	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Enfant Horray  / GREEN (46-53)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-green-46-53' WHERE `virtuemart_product_id` = '1860144'
2023-10-13	12:29:23	652	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37948_casque_met_enfant_horray_.jpg
2023-10-13	12:29:23	652	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:23	652	[DEBUG]	Process image file
2023-10-13	12:29:23	652	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:23	652	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:23	652	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37948_casque_met_enfant_horray_.jpg
2023-10-13	12:29:23	652	[DEBUG]	Full name target: bcprisme/37948_casque_met_enfant_horray_.jpg
2023-10-13	12:29:24	652	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:24	652	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37948_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:24	652	[DEBUG]	Query for Media
2023-10-13	12:29:24	652	[DEBUG]	Executed store
2023-10-13	12:29:24	652	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37948_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37948_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183186'
2023-10-13	12:29:24	652	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:24	652	[DEBUG]	Executed store
2023-10-13	12:29:24	652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860144','1183186','1')
2023-10-13	12:29:24	652	[DEBUG]	Store product image relation
2023-10-13	12:29:24	652	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:24	652	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860144 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:24	652	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:24	652	[DEBUG]	Executed store
2023-10-13	12:29:24	652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860144','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:24	652	[DEBUG]	Checking manufacturer
2023-10-13	12:29:24	652	[DEBUG]	Load a row
2023-10-13	12:29:24	652	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:24	652	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:24	652	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:24	652	[DEBUG]	Executed store
2023-10-13	12:29:24	652	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:24	652	[DEBUG]	Manufacturer exists
2023-10-13	12:29:24	652	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:24	652	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:24	652	[DEBUG]	Executed store
2023-10-13	12:29:24	652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860144','226')
2023-10-13	12:29:24	652	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:24	652	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:24	652	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860144 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:24	652	[DEBUG]	Store custom available field
2023-10-13	12:29:24	652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860144,3,'',1)
2023-10-13	12:29:24	652	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:24	652	[DEBUG]	Get existing row with customfield value 46-53
2023-10-13	12:29:24	652	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860144 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:24	652	[DEBUG]	Store custom available field
2023-10-13	12:29:24	652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860144,6,'46-53',3)
2023-10-13	12:29:24	652	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:24	652	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:24	652	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860143
2023-10-13	12:29:24	652	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:24	652	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53\"}]|clabels=0|options={\"1860143\":[1860143,8,1,\"choisir la taille\"],\"1860144\":[\"46-53\"]}|' WHERE `virtuemart_product_id` = 1860143
2023-10-13	12:29:24	652	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:24	652	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860144
2023-10-13	12:29:24	653	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:24	653	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:24	653	[DEBUG]	Use field value for field taille
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:24	653	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:24	653	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:24	653	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:24	653	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:24	653	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:24	653	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:24	653	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:24	653	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:24	653	[DEBUG]	Use field value for field published
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:24	653	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field override
2023-10-13	12:29:24	653	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:24	653	[DEBUG]	Use field value for field slug
2023-10-13	12:29:24	653	[DEBUG]	Process line 653
2023-10-13	12:29:24	653	[DEBUG]	Load a row
2023-10-13	12:29:24	653	[DEBUG]	Processing item: 1000000175462
2023-10-13	12:29:24	653	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:24	653	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:24	653	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8955_183'
2023-10-13	12:29:24	653	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:24	653	[DEBUG]	Processing product tax
2023-10-13	12:29:24	653	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:24	653	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:24	653	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:24	653	[DEBUG]	Query for Product
2023-10-13	12:29:24	653	[DEBUG]	Executed store
2023-10-13	12:29:24	653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860143','1000000175462','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:24	653	[DEBUG]	No parent found
2023-10-13	12:29:24	653	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860143 AND customfield_value = 'stockable'
2023-10-13	12:29:24	653	[DEBUG]	Check product language entry
2023-10-13	12:29:24	653	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860145
2023-10-13	12:29:24	653	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:24	653	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000175462' AND `virtuemart_product_id` != 1860145
2023-10-13	12:29:24	653	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:24	653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860145, '1000000175462')
2023-10-13	12:29:24	653	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:24	653	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-green-52-57' AND `virtuemart_product_id` != 1860145
2023-10-13	12:29:24	653	[DEBUG]	Query for ProductLang
2023-10-13	12:29:24	653	[DEBUG]	Executed store
2023-10-13	12:29:24	653	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Enfant Horray  / GREEN (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-green-52-57' WHERE `virtuemart_product_id` = '1860145'
2023-10-13	12:29:24	653	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37948_casque_met_enfant_horray_.jpg
2023-10-13	12:29:24	653	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:24	653	[DEBUG]	Process image file
2023-10-13	12:29:24	653	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:24	653	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:24	653	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37948_casque_met_enfant_horray_.jpg
2023-10-13	12:29:24	653	[DEBUG]	Full name target: bcprisme/37948_casque_met_enfant_horray_.jpg
2023-10-13	12:29:25	653	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:25	653	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37948_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:25	653	[DEBUG]	Query for Media
2023-10-13	12:29:25	653	[DEBUG]	Executed store
2023-10-13	12:29:25	653	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37948_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37948_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183186'
2023-10-13	12:29:25	653	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:25	653	[DEBUG]	Executed store
2023-10-13	12:29:25	653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860145','1183186','1')
2023-10-13	12:29:25	653	[DEBUG]	Store product image relation
2023-10-13	12:29:25	653	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:25	653	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860145 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:25	653	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:25	653	[DEBUG]	Executed store
2023-10-13	12:29:25	653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860145','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:25	653	[DEBUG]	Checking manufacturer
2023-10-13	12:29:25	653	[DEBUG]	Load a row
2023-10-13	12:29:25	653	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:25	653	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:25	653	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:25	653	[DEBUG]	Executed store
2023-10-13	12:29:25	653	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:25	653	[DEBUG]	Manufacturer exists
2023-10-13	12:29:25	653	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:25	653	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:25	653	[DEBUG]	Executed store
2023-10-13	12:29:25	653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860145','226')
2023-10-13	12:29:25	653	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:25	653	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:25	653	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860145 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:25	653	[DEBUG]	Store custom available field
2023-10-13	12:29:25	653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860145,3,'',1)
2023-10-13	12:29:25	653	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:25	653	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:29:25	653	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860145 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:25	653	[DEBUG]	Store custom available field
2023-10-13	12:29:25	653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860145,6,'52-57',3)
2023-10-13	12:29:25	653	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:25	653	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:25	653	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860143
2023-10-13	12:29:25	653	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:25	653	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53\\r\\n52-57\"}]|clabels=0|options={\"1860143\":[1860143,8,1,\"choisir la taille\"],\"1860144\":[\"46-53\"],\"1860145\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1860143
2023-10-13	12:29:25	653	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:25	653	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860145
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:25	654	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field taille
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:25	654	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:25	654	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:25	654	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:25	654	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:25	654	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:25	654	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field published
2023-10-13	12:29:25	654	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:25	654	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field override
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:25	654	[DEBUG]	Use field value for field slug
2023-10-13	12:29:25	654	[DEBUG]	Process line 654
2023-10-13	12:29:25	654	[DEBUG]	Load a row
2023-10-13	12:29:25	654	[DEBUG]	Processing item: A_8955_238
2023-10-13	12:29:25	654	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:25	654	[DEBUG]	Processing product tax
2023-10-13	12:29:25	654	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:25	654	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:25	654	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:25	654	[DEBUG]	Query for Product
2023-10-13	12:29:25	654	[DEBUG]	Executed store
2023-10-13	12:29:25	654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8955_238','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:25	654	[DEBUG]	Check product language entry
2023-10-13	12:29:25	654	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860146
2023-10-13	12:29:25	654	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:25	654	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8955_238' AND `virtuemart_product_id` != 1860146
2023-10-13	12:29:25	654	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:25	654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860146, 'A_8955_238')
2023-10-13	12:29:25	654	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:25	654	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-teal' AND `virtuemart_product_id` != 1860146
2023-10-13	12:29:25	654	[DEBUG]	Query for ProductLang
2023-10-13	12:29:25	654	[DEBUG]	Executed store
2023-10-13	12:29:25	654	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Hooray est sûr, confortable et possède de nombreuses caractéristiques spéciales qui offrent la plus petite protection spéciale. La coque du MET Hooray est délibérément aplatie à l’arrière afin que les enfants puissent s’adapter confortablement à chaque siège enfant. Il couvre également une grande partie des deux zones sensibles du cerveau : l’arrière de la tête et les tempes. La forme intérieure est dotée d’un système sophistiqué de conduits d’air pour faciliter la circulation de l’air, et la technologie unique MET Bimbi Secure garantit qu’il n’y a pas de points de pression au niveau de la fontanelle. Equipé du feu arrière à LED MET, le Hooray offre jusqu’à 60 heures de visibilité supplémentaire pour détecter un enfant dans toutes les conditions.<br>Caractéristiques:<br>Rüclicht intégré pour plus de visibilité<br>Coupe aplatie pour une assise plus confortable dans le siège enfant<br>Technologie sécurisée MET Bimbi<br>Système de réglage de la roue rotative MET Safe-T Bimbo<br>N° art fourn : 720.041',`product_name`='MET Casque Enfant Horray  / Teal',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-teal' WHERE `virtuemart_product_id` = '1860146'
2023-10-13	12:29:25	654	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37947_casque_met_enfant_horray_.jpg
2023-10-13	12:29:25	654	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:25	654	[DEBUG]	Process image file
2023-10-13	12:29:25	654	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:25	654	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:25	654	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37947_casque_met_enfant_horray_.jpg
2023-10-13	12:29:25	654	[DEBUG]	Full name target: bcprisme/37947_casque_met_enfant_horray_.jpg
2023-10-13	12:29:26	654	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:26	654	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37947_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:26	654	[DEBUG]	Query for Media
2023-10-13	12:29:26	654	[DEBUG]	Executed store
2023-10-13	12:29:26	654	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37947_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37947_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183189'
2023-10-13	12:29:26	654	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:26	654	[DEBUG]	Executed store
2023-10-13	12:29:26	654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860146','1183189','1')
2023-10-13	12:29:26	654	[DEBUG]	Store product image relation
2023-10-13	12:29:26	654	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:26	654	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860146 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:26	654	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:26	654	[DEBUG]	Executed store
2023-10-13	12:29:26	654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860146','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:26	654	[DEBUG]	Checking manufacturer
2023-10-13	12:29:26	654	[DEBUG]	Load a row
2023-10-13	12:29:26	654	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:26	654	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:26	654	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:26	654	[DEBUG]	Executed store
2023-10-13	12:29:26	654	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:26	654	[DEBUG]	Manufacturer exists
2023-10-13	12:29:26	654	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:26	654	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:26	654	[DEBUG]	Executed store
2023-10-13	12:29:26	654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860146','226')
2023-10-13	12:29:26	654	[DEBUG]	Find the custom field ID
2023-10-13	12:29:26	654	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:26	654	[DEBUG]	No custom field ID found
2023-10-13	12:29:26	654	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:26	654	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:29:26	654	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860146 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:26	654	[DEBUG]	Store custom available field
2023-10-13	12:29:26	654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860146,3,'9.8725',1)
2023-10-13	12:29:26	654	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:26	654	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:26	654	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860146 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:26	654	[DEBUG]	Store custom available field
2023-10-13	12:29:26	654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860146,6,'choisir la taille',3)
2023-10-13	12:29:26	654	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:26	654	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:26	654	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:26	654	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:26	654	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860146 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:26	654	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:26	654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860146,8,1)
2023-10-13	12:29:26	654	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:26	654	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860146\":[1860146,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860146
2023-10-13	12:29:26	654	[DEBUG]	Checking category
2023-10-13	12:29:26	654	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:26	654	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860146
2023-10-13	12:29:26	654	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:26	654	[DEBUG]	Executed store
2023-10-13	12:29:26	654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860146','7281')
2023-10-13	12:29:26	654	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:26	654	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860146 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:26	654	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:26	654	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860146
2023-10-13	12:29:26	655	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:26	655	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:26	655	[DEBUG]	Use field value for field taille
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:26	655	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:26	655	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:26	655	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:26	655	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:26	655	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:26	655	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:26	655	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:26	655	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:26	655	[DEBUG]	Use field value for field published
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:26	655	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field override
2023-10-13	12:29:26	655	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:26	655	[DEBUG]	Use field value for field slug
2023-10-13	12:29:26	655	[DEBUG]	Process line 655
2023-10-13	12:29:26	655	[DEBUG]	Load a row
2023-10-13	12:29:26	655	[DEBUG]	Processing item: 1000000175431
2023-10-13	12:29:26	655	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:26	655	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:26	655	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8955_238'
2023-10-13	12:29:26	655	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:26	655	[DEBUG]	Processing product tax
2023-10-13	12:29:26	655	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:26	655	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:26	655	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:26	655	[DEBUG]	Query for Product
2023-10-13	12:29:26	655	[DEBUG]	Executed store
2023-10-13	12:29:26	655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860146','1000000175431','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:26	655	[DEBUG]	No parent found
2023-10-13	12:29:26	655	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860146 AND customfield_value = 'stockable'
2023-10-13	12:29:26	655	[DEBUG]	Check product language entry
2023-10-13	12:29:26	655	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860147
2023-10-13	12:29:26	655	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:26	655	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000175431' AND `virtuemart_product_id` != 1860147
2023-10-13	12:29:26	655	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:26	655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860147, '1000000175431')
2023-10-13	12:29:26	655	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:26	655	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-teal-46-53' AND `virtuemart_product_id` != 1860147
2023-10-13	12:29:26	655	[DEBUG]	Query for ProductLang
2023-10-13	12:29:26	655	[DEBUG]	Executed store
2023-10-13	12:29:26	655	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Enfant Horray  / Teal (46-53)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-teal-46-53' WHERE `virtuemart_product_id` = '1860147'
2023-10-13	12:29:26	655	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37947_casque_met_enfant_horray_.jpg
2023-10-13	12:29:26	655	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:26	655	[DEBUG]	Process image file
2023-10-13	12:29:26	655	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:26	655	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:26	655	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37947_casque_met_enfant_horray_.jpg
2023-10-13	12:29:26	655	[DEBUG]	Full name target: bcprisme/37947_casque_met_enfant_horray_.jpg
2023-10-13	12:29:27	655	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:27	655	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37947_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:27	655	[DEBUG]	Query for Media
2023-10-13	12:29:27	655	[DEBUG]	Executed store
2023-10-13	12:29:27	655	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37947_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37947_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183189'
2023-10-13	12:29:27	655	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:27	655	[DEBUG]	Executed store
2023-10-13	12:29:27	655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860147','1183189','1')
2023-10-13	12:29:27	655	[DEBUG]	Store product image relation
2023-10-13	12:29:27	655	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:27	655	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860147 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:27	655	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:27	655	[DEBUG]	Executed store
2023-10-13	12:29:27	655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860147','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:27	655	[DEBUG]	Checking manufacturer
2023-10-13	12:29:27	655	[DEBUG]	Load a row
2023-10-13	12:29:27	655	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:27	655	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:27	655	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:27	655	[DEBUG]	Executed store
2023-10-13	12:29:27	655	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:27	655	[DEBUG]	Manufacturer exists
2023-10-13	12:29:27	655	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:27	655	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:27	655	[DEBUG]	Executed store
2023-10-13	12:29:27	655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860147','226')
2023-10-13	12:29:27	655	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:27	655	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:27	655	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860147 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:27	655	[DEBUG]	Store custom available field
2023-10-13	12:29:27	655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860147,3,'',1)
2023-10-13	12:29:27	655	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:27	655	[DEBUG]	Get existing row with customfield value 46-53
2023-10-13	12:29:27	655	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860147 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:27	655	[DEBUG]	Store custom available field
2023-10-13	12:29:27	655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860147,6,'46-53',3)
2023-10-13	12:29:27	655	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:27	655	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:27	655	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860146
2023-10-13	12:29:27	655	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:27	655	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53\"}]|clabels=0|options={\"1860146\":[1860146,8,1,\"choisir la taille\"],\"1860147\":[\"46-53\"]}|' WHERE `virtuemart_product_id` = 1860146
2023-10-13	12:29:27	655	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:27	655	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860147
2023-10-13	12:29:27	656	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:27	656	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:27	656	[DEBUG]	Use field value for field taille
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:27	656	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:27	656	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:27	656	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:27	656	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:27	656	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:27	656	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:27	656	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:27	656	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:27	656	[DEBUG]	Use field value for field published
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:27	656	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field override
2023-10-13	12:29:27	656	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:27	656	[DEBUG]	Use field value for field slug
2023-10-13	12:29:27	656	[DEBUG]	Process line 656
2023-10-13	12:29:27	656	[DEBUG]	Load a row
2023-10-13	12:29:27	656	[DEBUG]	Processing item: 1000000175448
2023-10-13	12:29:27	656	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:27	656	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:27	656	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8955_238'
2023-10-13	12:29:27	656	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:27	656	[DEBUG]	Processing product tax
2023-10-13	12:29:27	656	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:27	656	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:27	656	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:27	656	[DEBUG]	Query for Product
2023-10-13	12:29:27	656	[DEBUG]	Executed store
2023-10-13	12:29:27	656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860146','1000000175448','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:27	656	[DEBUG]	No parent found
2023-10-13	12:29:27	656	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860146 AND customfield_value = 'stockable'
2023-10-13	12:29:27	656	[DEBUG]	Check product language entry
2023-10-13	12:29:27	656	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860148
2023-10-13	12:29:27	656	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:27	656	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000175448' AND `virtuemart_product_id` != 1860148
2023-10-13	12:29:27	656	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:27	656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860148, '1000000175448')
2023-10-13	12:29:27	656	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:27	656	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-teal-52-57' AND `virtuemart_product_id` != 1860148
2023-10-13	12:29:27	656	[DEBUG]	Query for ProductLang
2023-10-13	12:29:27	656	[DEBUG]	Executed store
2023-10-13	12:29:27	656	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Enfant Horray  / Teal (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-teal-52-57' WHERE `virtuemart_product_id` = '1860148'
2023-10-13	12:29:27	656	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37947_casque_met_enfant_horray_.jpg
2023-10-13	12:29:27	656	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:27	656	[DEBUG]	Process image file
2023-10-13	12:29:27	656	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:27	656	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:27	656	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37947_casque_met_enfant_horray_.jpg
2023-10-13	12:29:27	656	[DEBUG]	Full name target: bcprisme/37947_casque_met_enfant_horray_.jpg
2023-10-13	12:29:28	656	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:28	656	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37947_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:28	656	[DEBUG]	Query for Media
2023-10-13	12:29:28	656	[DEBUG]	Executed store
2023-10-13	12:29:28	656	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37947_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37947_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183189'
2023-10-13	12:29:28	656	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:28	656	[DEBUG]	Executed store
2023-10-13	12:29:28	656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860148','1183189','1')
2023-10-13	12:29:28	656	[DEBUG]	Store product image relation
2023-10-13	12:29:28	656	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:28	656	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860148 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:28	656	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:28	656	[DEBUG]	Executed store
2023-10-13	12:29:28	656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860148','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:28	656	[DEBUG]	Checking manufacturer
2023-10-13	12:29:28	656	[DEBUG]	Load a row
2023-10-13	12:29:28	656	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:28	656	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:28	656	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:28	656	[DEBUG]	Executed store
2023-10-13	12:29:28	656	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:28	656	[DEBUG]	Manufacturer exists
2023-10-13	12:29:28	656	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:28	656	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:28	656	[DEBUG]	Executed store
2023-10-13	12:29:28	656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860148','226')
2023-10-13	12:29:28	656	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:28	656	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:28	656	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860148 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:28	656	[DEBUG]	Store custom available field
2023-10-13	12:29:28	656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860148,3,'',1)
2023-10-13	12:29:28	656	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:28	656	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:29:28	656	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860148 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:28	656	[DEBUG]	Store custom available field
2023-10-13	12:29:28	656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860148,6,'52-57',3)
2023-10-13	12:29:28	656	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:28	656	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:28	656	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860146
2023-10-13	12:29:28	656	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:28	656	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53\\r\\n52-57\"}]|clabels=0|options={\"1860146\":[1860146,8,1,\"choisir la taille\"],\"1860147\":[\"46-53\"],\"1860148\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1860146
2023-10-13	12:29:28	656	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:28	656	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860148
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:28	657	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field taille
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:28	657	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:28	657	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:28	657	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:28	657	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:28	657	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:28	657	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field published
2023-10-13	12:29:28	657	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:28	657	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field override
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:28	657	[DEBUG]	Use field value for field slug
2023-10-13	12:29:28	657	[DEBUG]	Process line 657
2023-10-13	12:29:28	657	[DEBUG]	Load a row
2023-10-13	12:29:28	657	[DEBUG]	Processing item: A_8955_732
2023-10-13	12:29:28	657	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:28	657	[DEBUG]	Processing product tax
2023-10-13	12:29:28	657	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:28	657	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:28	657	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:28	657	[DEBUG]	Query for Product
2023-10-13	12:29:28	657	[DEBUG]	Executed store
2023-10-13	12:29:28	657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8955_732','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:28	657	[DEBUG]	Check product language entry
2023-10-13	12:29:28	657	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860149
2023-10-13	12:29:28	657	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:28	657	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8955_732' AND `virtuemart_product_id` != 1860149
2023-10-13	12:29:28	657	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:28	657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860149, 'A_8955_732')
2023-10-13	12:29:28	657	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:28	657	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-black-flames' AND `virtuemart_product_id` != 1860149
2023-10-13	12:29:28	657	[DEBUG]	Query for ProductLang
2023-10-13	12:29:28	657	[DEBUG]	Executed store
2023-10-13	12:29:28	657	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Hooray est sûr, confortable et possède de nombreuses caractéristiques spéciales qui offrent la plus petite protection spéciale. La coque du MET Hooray est délibérément aplatie à l’arrière afin que les enfants puissent s’adapter confortablement à chaque siège enfant. Il couvre également une grande partie des deux zones sensibles du cerveau : l’arrière de la tête et les tempes. La forme intérieure est dotée d’un système sophistiqué de conduits d’air pour faciliter la circulation de l’air, et la technologie unique MET Bimbi Secure garantit qu’il n’y a pas de points de pression au niveau de la fontanelle. Equipé du feu arrière à LED MET, le Hooray offre jusqu’à 60 heures de visibilité supplémentaire pour détecter un enfant dans toutes les conditions.<br>Caractéristiques:<br>Rüclicht intégré pour plus de visibilité<br>Coupe aplatie pour une assise plus confortable dans le siège enfant<br>Technologie sécurisée MET Bimbi<br>Système de réglage de la roue rotative MET Safe-T Bimbo<br>N° art fourn : 720.041',`product_name`='MET Casque Enfant Horray  / Black flames',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-black-flames' WHERE `virtuemart_product_id` = '1860149'
2023-10-13	12:29:28	657	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37945_casque_met_enfant_horray_.jpg
2023-10-13	12:29:28	657	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:28	657	[DEBUG]	Process image file
2023-10-13	12:29:28	657	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:28	657	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:28	657	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37945_casque_met_enfant_horray_.jpg
2023-10-13	12:29:28	657	[DEBUG]	Full name target: bcprisme/37945_casque_met_enfant_horray_.jpg
2023-10-13	12:29:29	657	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:29	657	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37945_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:29	657	[DEBUG]	Query for Media
2023-10-13	12:29:29	657	[DEBUG]	Executed store
2023-10-13	12:29:29	657	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37945_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37945_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183192'
2023-10-13	12:29:29	657	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:29	657	[DEBUG]	Executed store
2023-10-13	12:29:29	657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860149','1183192','1')
2023-10-13	12:29:29	657	[DEBUG]	Store product image relation
2023-10-13	12:29:29	657	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:29	657	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860149 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:29	657	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:29	657	[DEBUG]	Executed store
2023-10-13	12:29:29	657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860149','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:29	657	[DEBUG]	Checking manufacturer
2023-10-13	12:29:29	657	[DEBUG]	Load a row
2023-10-13	12:29:29	657	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:29	657	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:29	657	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:29	657	[DEBUG]	Executed store
2023-10-13	12:29:29	657	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:29	657	[DEBUG]	Manufacturer exists
2023-10-13	12:29:29	657	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:29	657	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:29	657	[DEBUG]	Executed store
2023-10-13	12:29:29	657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860149','226')
2023-10-13	12:29:29	657	[DEBUG]	Find the custom field ID
2023-10-13	12:29:29	657	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:29	657	[DEBUG]	No custom field ID found
2023-10-13	12:29:29	657	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:29	657	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:29:29	657	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860149 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:29	657	[DEBUG]	Store custom available field
2023-10-13	12:29:29	657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860149,3,'9.8725',1)
2023-10-13	12:29:29	657	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:29	657	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:29	657	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860149 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:29	657	[DEBUG]	Store custom available field
2023-10-13	12:29:29	657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860149,6,'choisir la taille',3)
2023-10-13	12:29:29	657	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:29	657	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:29	657	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:29	657	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:29	657	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860149 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:29	657	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:29	657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860149,8,1)
2023-10-13	12:29:29	657	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:29	657	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860149\":[1860149,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860149
2023-10-13	12:29:29	657	[DEBUG]	Checking category
2023-10-13	12:29:29	657	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:29	657	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860149
2023-10-13	12:29:29	657	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:29	657	[DEBUG]	Executed store
2023-10-13	12:29:29	657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860149','7281')
2023-10-13	12:29:29	657	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:29	657	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860149 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:29	657	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:29	657	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860149
2023-10-13	12:29:29	658	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:29	658	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:29	658	[DEBUG]	Use field value for field taille
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:29	658	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:29	658	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:29	658	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:29	658	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:29	658	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:29	658	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:29	658	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:29	658	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:29	658	[DEBUG]	Use field value for field published
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:29	658	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field override
2023-10-13	12:29:29	658	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:29	658	[DEBUG]	Use field value for field slug
2023-10-13	12:29:29	658	[DEBUG]	Process line 658
2023-10-13	12:29:29	658	[DEBUG]	Load a row
2023-10-13	12:29:29	658	[DEBUG]	Processing item: 1000000175394
2023-10-13	12:29:29	658	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:29	658	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:29	658	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8955_732'
2023-10-13	12:29:29	658	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:29	658	[DEBUG]	Processing product tax
2023-10-13	12:29:29	658	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:29	658	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:29	658	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:29	658	[DEBUG]	Query for Product
2023-10-13	12:29:29	658	[DEBUG]	Executed store
2023-10-13	12:29:29	658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860149','1000000175394','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:29	658	[DEBUG]	No parent found
2023-10-13	12:29:29	658	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860149 AND customfield_value = 'stockable'
2023-10-13	12:29:29	658	[DEBUG]	Check product language entry
2023-10-13	12:29:29	658	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860150
2023-10-13	12:29:29	658	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:29	658	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000175394' AND `virtuemart_product_id` != 1860150
2023-10-13	12:29:29	658	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:29	658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860150, '1000000175394')
2023-10-13	12:29:29	658	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:29	658	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-black-flames-52-57' AND `virtuemart_product_id` != 1860150
2023-10-13	12:29:29	658	[DEBUG]	Query for ProductLang
2023-10-13	12:29:29	658	[DEBUG]	Executed store
2023-10-13	12:29:29	658	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Enfant Horray  / Black flames (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-black-flames-52-57' WHERE `virtuemart_product_id` = '1860150'
2023-10-13	12:29:29	658	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37945_casque_met_enfant_horray_.jpg
2023-10-13	12:29:29	658	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:29	658	[DEBUG]	Process image file
2023-10-13	12:29:29	658	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:29	658	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:29	658	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37945_casque_met_enfant_horray_.jpg
2023-10-13	12:29:29	658	[DEBUG]	Full name target: bcprisme/37945_casque_met_enfant_horray_.jpg
2023-10-13	12:29:30	658	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:30	658	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37945_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:30	658	[DEBUG]	Query for Media
2023-10-13	12:29:30	658	[DEBUG]	Executed store
2023-10-13	12:29:30	658	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37945_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37945_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183192'
2023-10-13	12:29:30	658	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:30	658	[DEBUG]	Executed store
2023-10-13	12:29:30	658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860150','1183192','1')
2023-10-13	12:29:30	658	[DEBUG]	Store product image relation
2023-10-13	12:29:30	658	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:30	658	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860150 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:30	658	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:30	658	[DEBUG]	Executed store
2023-10-13	12:29:30	658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860150','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:30	658	[DEBUG]	Checking manufacturer
2023-10-13	12:29:30	658	[DEBUG]	Load a row
2023-10-13	12:29:30	658	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:30	658	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:30	658	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:30	658	[DEBUG]	Executed store
2023-10-13	12:29:30	658	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:30	658	[DEBUG]	Manufacturer exists
2023-10-13	12:29:30	658	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:30	658	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:30	658	[DEBUG]	Executed store
2023-10-13	12:29:30	658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860150','226')
2023-10-13	12:29:30	658	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:30	658	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:30	658	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860150 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:30	658	[DEBUG]	Store custom available field
2023-10-13	12:29:30	658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860150,3,'',1)
2023-10-13	12:29:30	658	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:30	658	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:29:30	658	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860150 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:30	658	[DEBUG]	Store custom available field
2023-10-13	12:29:30	658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860150,6,'52-57',3)
2023-10-13	12:29:30	658	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:30	658	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:30	658	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860149
2023-10-13	12:29:30	658	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:30	658	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\"}]|clabels=0|options={\"1860149\":[1860149,8,1,\"choisir la taille\"],\"1860150\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1860149
2023-10-13	12:29:30	658	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:30	658	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860150
2023-10-13	12:29:30	659	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:30	659	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:30	659	[DEBUG]	Use field value for field taille
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:30	659	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:30	659	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:30	659	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:30	659	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:30	659	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:30	659	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:30	659	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:30	659	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:30	659	[DEBUG]	Use field value for field published
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:30	659	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field override
2023-10-13	12:29:30	659	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:30	659	[DEBUG]	Use field value for field slug
2023-10-13	12:29:30	659	[DEBUG]	Process line 659
2023-10-13	12:29:30	659	[DEBUG]	Load a row
2023-10-13	12:29:30	659	[DEBUG]	Processing item: 1000000175400
2023-10-13	12:29:30	659	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:30	659	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:30	659	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8955_732'
2023-10-13	12:29:30	659	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:30	659	[DEBUG]	Processing product tax
2023-10-13	12:29:30	659	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:30	659	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:30	659	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:30	659	[DEBUG]	Query for Product
2023-10-13	12:29:30	659	[DEBUG]	Executed store
2023-10-13	12:29:30	659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860149','1000000175400','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:30	659	[DEBUG]	No parent found
2023-10-13	12:29:30	659	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860149 AND customfield_value = 'stockable'
2023-10-13	12:29:30	659	[DEBUG]	Check product language entry
2023-10-13	12:29:30	659	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860151
2023-10-13	12:29:30	659	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:30	659	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000175400' AND `virtuemart_product_id` != 1860151
2023-10-13	12:29:30	659	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:30	659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860151, '1000000175400')
2023-10-13	12:29:30	659	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:30	659	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-black-flames-46-53' AND `virtuemart_product_id` != 1860151
2023-10-13	12:29:30	659	[DEBUG]	Query for ProductLang
2023-10-13	12:29:30	659	[DEBUG]	Executed store
2023-10-13	12:29:30	659	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Enfant Horray  / Black flames (46-53)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-black-flames-46-53' WHERE `virtuemart_product_id` = '1860151'
2023-10-13	12:29:30	659	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37945_casque_met_enfant_horray_.jpg
2023-10-13	12:29:30	659	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:30	659	[DEBUG]	Process image file
2023-10-13	12:29:30	659	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:30	659	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:30	659	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37945_casque_met_enfant_horray_.jpg
2023-10-13	12:29:30	659	[DEBUG]	Full name target: bcprisme/37945_casque_met_enfant_horray_.jpg
2023-10-13	12:29:31	659	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:31	659	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37945_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:31	659	[DEBUG]	Query for Media
2023-10-13	12:29:31	659	[DEBUG]	Executed store
2023-10-13	12:29:31	659	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37945_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37945_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183192'
2023-10-13	12:29:31	659	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:31	659	[DEBUG]	Executed store
2023-10-13	12:29:31	659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860151','1183192','1')
2023-10-13	12:29:31	659	[DEBUG]	Store product image relation
2023-10-13	12:29:31	659	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:31	659	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860151 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:31	659	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:31	659	[DEBUG]	Executed store
2023-10-13	12:29:31	659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860151','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:31	659	[DEBUG]	Checking manufacturer
2023-10-13	12:29:31	659	[DEBUG]	Load a row
2023-10-13	12:29:31	659	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:31	659	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:31	659	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:31	659	[DEBUG]	Executed store
2023-10-13	12:29:31	659	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:31	659	[DEBUG]	Manufacturer exists
2023-10-13	12:29:31	659	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:31	659	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:31	659	[DEBUG]	Executed store
2023-10-13	12:29:31	659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860151','226')
2023-10-13	12:29:31	659	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:31	659	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:31	659	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860151 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:31	659	[DEBUG]	Store custom available field
2023-10-13	12:29:31	659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860151,3,'',1)
2023-10-13	12:29:31	659	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:31	659	[DEBUG]	Get existing row with customfield value 46-53
2023-10-13	12:29:31	659	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860151 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:31	659	[DEBUG]	Store custom available field
2023-10-13	12:29:31	659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860151,6,'46-53',3)
2023-10-13	12:29:31	659	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:31	659	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:31	659	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860149
2023-10-13	12:29:31	659	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:31	659	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57\\r\\n46-53\"}]|clabels=0|options={\"1860149\":[1860149,8,1,\"choisir la taille\"],\"1860150\":[\"52-57\"],\"1860151\":[\"46-53\"]}|' WHERE `virtuemart_product_id` = 1860149
2023-10-13	12:29:31	659	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:31	659	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860151
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:31	660	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field taille
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:31	660	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:31	660	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:31	660	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:31	660	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:31	660	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:31	660	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field published
2023-10-13	12:29:31	660	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:31	660	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field override
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:31	660	[DEBUG]	Use field value for field slug
2023-10-13	12:29:31	660	[DEBUG]	Process line 660
2023-10-13	12:29:31	660	[DEBUG]	Load a row
2023-10-13	12:29:31	660	[DEBUG]	Processing item: A_8955_733
2023-10-13	12:29:31	660	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:31	660	[DEBUG]	Processing product tax
2023-10-13	12:29:31	660	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:31	660	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:31	660	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:31	660	[DEBUG]	Query for Product
2023-10-13	12:29:31	660	[DEBUG]	Executed store
2023-10-13	12:29:31	660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8955_733','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:31	660	[DEBUG]	Check product language entry
2023-10-13	12:29:31	660	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860152
2023-10-13	12:29:31	660	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:31	660	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8955_733' AND `virtuemart_product_id` != 1860152
2023-10-13	12:29:31	660	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:31	660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860152, 'A_8955_733')
2023-10-13	12:29:31	660	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:31	660	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-lime' AND `virtuemart_product_id` != 1860152
2023-10-13	12:29:31	660	[DEBUG]	Query for ProductLang
2023-10-13	12:29:31	660	[DEBUG]	Executed store
2023-10-13	12:29:31	660	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le MET Hooray est sûr, confortable et possède de nombreuses caractéristiques spéciales qui offrent la plus petite protection spéciale. La coque du MET Hooray est délibérément aplatie à l’arrière afin que les enfants puissent s’adapter confortablement à chaque siège enfant. Il couvre également une grande partie des deux zones sensibles du cerveau : l’arrière de la tête et les tempes. La forme intérieure est dotée d’un système sophistiqué de conduits d’air pour faciliter la circulation de l’air, et la technologie unique MET Bimbi Secure garantit qu’il n’y a pas de points de pression au niveau de la fontanelle. Equipé du feu arrière à LED MET, le Hooray offre jusqu’à 60 heures de visibilité supplémentaire pour détecter un enfant dans toutes les conditions.<br>Caractéristiques:<br>Rüclicht intégré pour plus de visibilité<br>Coupe aplatie pour une assise plus confortable dans le siège enfant<br>Technologie sécurisée MET Bimbi<br>Système de réglage de la roue rotative MET Safe-T Bimbo<br>N° art fourn : 720.041',`product_name`='MET Casque Enfant Horray  / Lime',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-lime' WHERE `virtuemart_product_id` = '1860152'
2023-10-13	12:29:31	660	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37950_casque_met_enfant_horray_.jpg
2023-10-13	12:29:31	660	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:31	660	[DEBUG]	Process image file
2023-10-13	12:29:31	660	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:31	660	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:31	660	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37950_casque_met_enfant_horray_.jpg
2023-10-13	12:29:31	660	[DEBUG]	Full name target: bcprisme/37950_casque_met_enfant_horray_.jpg
2023-10-13	12:29:32	660	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:32	660	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37950_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:32	660	[DEBUG]	Query for Media
2023-10-13	12:29:32	660	[DEBUG]	Executed store
2023-10-13	12:29:32	660	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37950_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37950_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183195'
2023-10-13	12:29:32	660	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:32	660	[DEBUG]	Executed store
2023-10-13	12:29:32	660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860152','1183195','1')
2023-10-13	12:29:32	660	[DEBUG]	Store product image relation
2023-10-13	12:29:32	660	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:32	660	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860152 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:32	660	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:32	660	[DEBUG]	Executed store
2023-10-13	12:29:32	660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860152','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:32	660	[DEBUG]	Checking manufacturer
2023-10-13	12:29:32	660	[DEBUG]	Load a row
2023-10-13	12:29:32	660	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:32	660	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:32	660	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:32	660	[DEBUG]	Executed store
2023-10-13	12:29:32	660	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:32	660	[DEBUG]	Manufacturer exists
2023-10-13	12:29:32	660	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:32	660	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:32	660	[DEBUG]	Executed store
2023-10-13	12:29:32	660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860152','226')
2023-10-13	12:29:32	660	[DEBUG]	Find the custom field ID
2023-10-13	12:29:32	660	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:32	660	[DEBUG]	No custom field ID found
2023-10-13	12:29:32	660	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:32	660	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:29:32	660	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860152 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:32	660	[DEBUG]	Store custom available field
2023-10-13	12:29:32	660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860152,3,'9.8725',1)
2023-10-13	12:29:32	660	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:32	660	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:32	660	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860152 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:32	660	[DEBUG]	Store custom available field
2023-10-13	12:29:32	660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860152,6,'choisir la taille',3)
2023-10-13	12:29:32	660	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:32	660	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:32	660	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:32	660	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:32	660	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860152 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:32	660	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:32	660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860152,8,1)
2023-10-13	12:29:32	660	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:32	660	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860152\":[1860152,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860152
2023-10-13	12:29:32	660	[DEBUG]	Checking category
2023-10-13	12:29:32	660	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:32	660	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860152
2023-10-13	12:29:32	660	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:32	660	[DEBUG]	Executed store
2023-10-13	12:29:32	660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860152','7281')
2023-10-13	12:29:32	660	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:32	660	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860152 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:32	660	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:32	660	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860152
2023-10-13	12:29:32	661	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:32	661	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:32	661	[DEBUG]	Use field value for field taille
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:32	661	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:32	661	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:32	661	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:32	661	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:32	661	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:32	661	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:32	661	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:32	661	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:32	661	[DEBUG]	Use field value for field published
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:32	661	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field override
2023-10-13	12:29:32	661	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:32	661	[DEBUG]	Use field value for field slug
2023-10-13	12:29:32	661	[DEBUG]	Process line 661
2023-10-13	12:29:32	661	[DEBUG]	Load a row
2023-10-13	12:29:32	661	[DEBUG]	Processing item: 1000000175479
2023-10-13	12:29:32	661	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:32	661	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:32	661	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8955_733'
2023-10-13	12:29:32	661	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:32	661	[DEBUG]	Processing product tax
2023-10-13	12:29:32	661	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:32	661	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:32	661	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:32	661	[DEBUG]	Query for Product
2023-10-13	12:29:32	661	[DEBUG]	Executed store
2023-10-13	12:29:32	661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860152','1000000175479','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:32	661	[DEBUG]	No parent found
2023-10-13	12:29:32	661	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860152 AND customfield_value = 'stockable'
2023-10-13	12:29:32	661	[DEBUG]	Check product language entry
2023-10-13	12:29:32	661	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860153
2023-10-13	12:29:32	661	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:32	661	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000175479' AND `virtuemart_product_id` != 1860153
2023-10-13	12:29:32	661	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:32	661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860153, '1000000175479')
2023-10-13	12:29:32	661	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:32	661	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-lime-46-53' AND `virtuemart_product_id` != 1860153
2023-10-13	12:29:32	661	[DEBUG]	Query for ProductLang
2023-10-13	12:29:32	661	[DEBUG]	Executed store
2023-10-13	12:29:32	661	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Enfant Horray  / Lime (46-53)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-lime-46-53' WHERE `virtuemart_product_id` = '1860153'
2023-10-13	12:29:32	661	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37950_casque_met_enfant_horray_.jpg
2023-10-13	12:29:32	661	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:32	661	[DEBUG]	Process image file
2023-10-13	12:29:32	661	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:32	661	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:32	661	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37950_casque_met_enfant_horray_.jpg
2023-10-13	12:29:32	661	[DEBUG]	Full name target: bcprisme/37950_casque_met_enfant_horray_.jpg
2023-10-13	12:29:33	661	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:33	661	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37950_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:33	661	[DEBUG]	Query for Media
2023-10-13	12:29:33	661	[DEBUG]	Executed store
2023-10-13	12:29:33	661	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37950_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37950_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183195'
2023-10-13	12:29:33	661	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:33	661	[DEBUG]	Executed store
2023-10-13	12:29:33	661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860153','1183195','1')
2023-10-13	12:29:33	661	[DEBUG]	Store product image relation
2023-10-13	12:29:33	661	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:33	661	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860153 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:33	661	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:33	661	[DEBUG]	Executed store
2023-10-13	12:29:33	661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860153','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:33	661	[DEBUG]	Checking manufacturer
2023-10-13	12:29:33	661	[DEBUG]	Load a row
2023-10-13	12:29:33	661	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:33	661	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:33	661	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:33	661	[DEBUG]	Executed store
2023-10-13	12:29:33	661	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:33	661	[DEBUG]	Manufacturer exists
2023-10-13	12:29:33	661	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:33	661	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:33	661	[DEBUG]	Executed store
2023-10-13	12:29:33	661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860153','226')
2023-10-13	12:29:33	661	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:33	661	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:33	661	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860153 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:33	661	[DEBUG]	Store custom available field
2023-10-13	12:29:33	661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860153,3,'',1)
2023-10-13	12:29:33	661	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:33	661	[DEBUG]	Get existing row with customfield value 46-53
2023-10-13	12:29:33	661	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860153 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:33	661	[DEBUG]	Store custom available field
2023-10-13	12:29:33	661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860153,6,'46-53',3)
2023-10-13	12:29:33	661	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:33	661	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:33	661	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860152
2023-10-13	12:29:33	661	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:33	661	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53\"}]|clabels=0|options={\"1860152\":[1860152,8,1,\"choisir la taille\"],\"1860153\":[\"46-53\"]}|' WHERE `virtuemart_product_id` = 1860152
2023-10-13	12:29:33	661	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:33	661	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860153
2023-10-13	12:29:33	662	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:33	662	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:33	662	[DEBUG]	Use field value for field taille
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:33	662	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:33	662	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:33	662	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:33	662	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:33	662	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:33	662	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:33	662	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:33	662	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:33	662	[DEBUG]	Use field value for field published
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:33	662	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field override
2023-10-13	12:29:33	662	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:33	662	[DEBUG]	Use field value for field slug
2023-10-13	12:29:33	662	[DEBUG]	Process line 662
2023-10-13	12:29:33	662	[DEBUG]	Load a row
2023-10-13	12:29:33	662	[DEBUG]	Processing item: 1000000175486
2023-10-13	12:29:33	662	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:33	662	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:33	662	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8955_733'
2023-10-13	12:29:33	662	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:33	662	[DEBUG]	Processing product tax
2023-10-13	12:29:33	662	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:33	662	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:33	662	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:33	662	[DEBUG]	Query for Product
2023-10-13	12:29:33	662	[DEBUG]	Executed store
2023-10-13	12:29:33	662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860152','1000000175486','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:33	662	[DEBUG]	No parent found
2023-10-13	12:29:33	662	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860152 AND customfield_value = 'stockable'
2023-10-13	12:29:33	662	[DEBUG]	Check product language entry
2023-10-13	12:29:33	662	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860154
2023-10-13	12:29:33	662	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:33	662	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000175486' AND `virtuemart_product_id` != 1860154
2023-10-13	12:29:33	662	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:33	662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860154, '1000000175486')
2023-10-13	12:29:33	662	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:33	662	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-enfant-horray-lime-52-57' AND `virtuemart_product_id` != 1860154
2023-10-13	12:29:33	662	[DEBUG]	Query for ProductLang
2023-10-13	12:29:33	662	[DEBUG]	Executed store
2023-10-13	12:29:33	662	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Enfant Horray  / Lime (52-57)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-enfant-horray-lime-52-57' WHERE `virtuemart_product_id` = '1860154'
2023-10-13	12:29:33	662	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37950_casque_met_enfant_horray_.jpg
2023-10-13	12:29:33	662	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:33	662	[DEBUG]	Process image file
2023-10-13	12:29:33	662	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:33	662	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:33	662	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37950_casque_met_enfant_horray_.jpg
2023-10-13	12:29:33	662	[DEBUG]	Full name target: bcprisme/37950_casque_met_enfant_horray_.jpg
2023-10-13	12:29:34	662	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:34	662	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37950_casque_met_enfant_horray_.jpg'
2023-10-13	12:29:34	662	[DEBUG]	Query for Media
2023-10-13	12:29:34	662	[DEBUG]	Executed store
2023-10-13	12:29:34	662	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37950_casque_met_enfant_horray_.jpg',`file_url_thumb`='bcprisme/37950_casque_met_enfant_horray_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183195'
2023-10-13	12:29:34	662	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:34	662	[DEBUG]	Executed store
2023-10-13	12:29:34	662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860154','1183195','1')
2023-10-13	12:29:34	662	[DEBUG]	Store product image relation
2023-10-13	12:29:34	662	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:34	662	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860154 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:34	662	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:34	662	[DEBUG]	Executed store
2023-10-13	12:29:34	662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860154','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:34	662	[DEBUG]	Checking manufacturer
2023-10-13	12:29:34	662	[DEBUG]	Load a row
2023-10-13	12:29:34	662	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:34	662	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:34	662	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:34	662	[DEBUG]	Executed store
2023-10-13	12:29:34	662	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:34	662	[DEBUG]	Manufacturer exists
2023-10-13	12:29:34	662	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:34	662	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:34	662	[DEBUG]	Executed store
2023-10-13	12:29:34	662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860154','226')
2023-10-13	12:29:34	662	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:34	662	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:34	662	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860154 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:34	662	[DEBUG]	Store custom available field
2023-10-13	12:29:34	662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860154,3,'',1)
2023-10-13	12:29:34	662	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:34	662	[DEBUG]	Get existing row with customfield value 52-57
2023-10-13	12:29:34	662	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860154 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:34	662	[DEBUG]	Store custom available field
2023-10-13	12:29:34	662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860154,6,'52-57',3)
2023-10-13	12:29:34	662	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:34	662	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:34	662	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860152
2023-10-13	12:29:34	662	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:34	662	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n46-53\\r\\n52-57\"}]|clabels=0|options={\"1860152\":[1860152,8,1,\"choisir la taille\"],\"1860153\":[\"46-53\"],\"1860154\":[\"52-57\"]}|' WHERE `virtuemart_product_id` = 1860152
2023-10-13	12:29:34	662	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:34	662	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860154
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:34	663	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field taille
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:34	663	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:34	663	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:34	663	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:34	663	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:34	663	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:34	663	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:34	663	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field published
2023-10-13	12:29:34	663	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:34	663	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field override
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:34	663	[DEBUG]	Use field value for field slug
2023-10-13	12:29:34	663	[DEBUG]	Process line 663
2023-10-13	12:29:34	663	[DEBUG]	Load a row
2023-10-13	12:29:34	663	[DEBUG]	Processing item: A_9443_787
2023-10-13	12:29:34	663	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:34	663	[DEBUG]	Processing product tax
2023-10-13	12:29:34	663	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:34	663	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:34	663	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:34	663	[DEBUG]	Query for Product
2023-10-13	12:29:34	663	[DEBUG]	Executed store
2023-10-13	12:29:34	663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9443_787','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:34	663	[DEBUG]	Check product language entry
2023-10-13	12:29:34	663	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860155
2023-10-13	12:29:34	663	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:34	663	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9443_787' AND `virtuemart_product_id` != 1860155
2023-10-13	12:29:34	663	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:34	663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860155, 'A_9443_787')
2023-10-13	12:29:34	663	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:34	663	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-rupi-inmold-fullface-be-visible-matt' AND `virtuemart_product_id` != 1860155
2023-10-13	12:29:34	663	[DEBUG]	Query for ProductLang
2023-10-13	12:29:34	663	[DEBUG]	Executed store
2023-10-13	12:29:34	663	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le casque Inmold Fullface léger RUPI est fait pour les enfants et ne pèse que 385 grammes. Grâce à la mentonnière amovible, le casque est particulièrement flexible d\'utilisation. Rupicapra rupicapra\" signifie en français \"chamois\". Ceux-ci ont donné leur nom au nouveau casque de vélo pour enfants et grimpent sans effort sur des terrains où les nôtres s\'encorderaient. Ils sont encore plus rapides en descente. Avec le RUPI, les enfants ambitieux ne sont certes pas aussi sûrs de leurs pieds que les chamois, mais ils sont bien mieux protégés ! La Ceramic Shell, associée au noyau Hi-EPS, permet d\'absorber les forces en cas de chute. Le Run System garantit que le casque est parfaitement ajusté, car c\'est la seule façon d\'obtenir la meilleure protection possible. Comme une bonne aération est également essentielle en descente, le Rupi possède 15 ouvertures d\'aération.<br>N° art fourn : A9779150\"',`product_name`='Alpina Casque VTT RUPI Inmold Fullface / be visible matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-rupi-inmold-fullface-be-visible-matt' WHERE `virtuemart_product_id` = '1860155'
2023-10-13	12:29:34	663	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38651_casque_vtt_rupi_inmold_fullface.jpg
2023-10-13	12:29:34	663	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:34	663	[DEBUG]	Process image file
2023-10-13	12:29:34	663	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:34	663	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:34	663	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38651_casque_vtt_rupi_inmold_fullface.jpg
2023-10-13	12:29:34	663	[DEBUG]	Full name target: bcprisme/38651_casque_vtt_rupi_inmold_fullface.jpg
2023-10-13	12:29:35	663	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:35	663	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38651_casque_vtt_rupi_inmold_fullface.jpg'
2023-10-13	12:29:35	663	[DEBUG]	Query for Media
2023-10-13	12:29:35	663	[DEBUG]	Executed store
2023-10-13	12:29:35	663	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38651_casque_vtt_rupi_inmold_fullface.jpg',`file_url_thumb`='bcprisme/38651_casque_vtt_rupi_inmold_fullface.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421030'
2023-10-13	12:29:35	663	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:35	663	[DEBUG]	Executed store
2023-10-13	12:29:35	663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860155','1421030','1')
2023-10-13	12:29:35	663	[DEBUG]	Store product image relation
2023-10-13	12:29:35	663	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:35	663	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860155 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:35	663	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:35	663	[DEBUG]	Executed store
2023-10-13	12:29:35	663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860155','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:35	663	[DEBUG]	Checking manufacturer
2023-10-13	12:29:35	663	[DEBUG]	Load a row
2023-10-13	12:29:35	663	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:35	663	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:35	663	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:35	663	[DEBUG]	Executed store
2023-10-13	12:29:35	663	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:35	663	[DEBUG]	Manufacturer exists
2023-10-13	12:29:35	663	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:35	663	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:35	663	[DEBUG]	Executed store
2023-10-13	12:29:35	663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860155','171')
2023-10-13	12:29:35	663	[DEBUG]	Find the custom field ID
2023-10-13	12:29:35	663	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:35	663	[DEBUG]	No custom field ID found
2023-10-13	12:29:35	663	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:35	663	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:29:35	663	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860155 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:35	663	[DEBUG]	Store custom available field
2023-10-13	12:29:35	663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860155,3,'0',1)
2023-10-13	12:29:35	663	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:35	663	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:35	663	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860155 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:35	663	[DEBUG]	Store custom available field
2023-10-13	12:29:35	663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860155,6,'choisir la taille',3)
2023-10-13	12:29:35	663	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:35	663	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:35	663	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:35	663	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:35	663	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860155 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:35	663	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:35	663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860155,8,1)
2023-10-13	12:29:35	663	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:35	663	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860155\":[1860155,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860155
2023-10-13	12:29:35	663	[DEBUG]	Checking category
2023-10-13	12:29:35	663	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:35	663	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860155
2023-10-13	12:29:35	663	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:35	663	[DEBUG]	Executed store
2023-10-13	12:29:35	663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860155','7281')
2023-10-13	12:29:35	663	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:35	663	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860155 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:35	663	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:35	663	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860155
2023-10-13	12:29:35	664	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:35	664	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:35	664	[DEBUG]	Use field value for field taille
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:35	664	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:35	664	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:35	664	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:35	664	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:35	664	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:35	664	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:35	664	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:35	664	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:35	664	[DEBUG]	Use field value for field published
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:35	664	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field override
2023-10-13	12:29:35	664	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:35	664	[DEBUG]	Use field value for field slug
2023-10-13	12:29:35	664	[DEBUG]	Process line 664
2023-10-13	12:29:35	664	[DEBUG]	Load a row
2023-10-13	12:29:35	664	[DEBUG]	Processing item: 1000000553536
2023-10-13	12:29:35	664	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:35	664	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:35	664	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9443_787'
2023-10-13	12:29:35	664	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:35	664	[DEBUG]	Processing product tax
2023-10-13	12:29:35	664	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:35	664	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:35	664	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:35	664	[DEBUG]	Query for Product
2023-10-13	12:29:35	664	[DEBUG]	Executed store
2023-10-13	12:29:35	664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860155','1000000553536','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:35	664	[DEBUG]	No parent found
2023-10-13	12:29:35	664	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860155 AND customfield_value = 'stockable'
2023-10-13	12:29:35	664	[DEBUG]	Check product language entry
2023-10-13	12:29:35	664	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860156
2023-10-13	12:29:35	664	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:35	664	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000553536' AND `virtuemart_product_id` != 1860156
2023-10-13	12:29:35	664	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:35	664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860156, '1000000553536')
2023-10-13	12:29:35	664	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:35	664	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-rupi-inmold-fullface-be-visible-matt-50-55' AND `virtuemart_product_id` != 1860156
2023-10-13	12:29:35	664	[DEBUG]	Query for ProductLang
2023-10-13	12:29:35	664	[DEBUG]	Executed store
2023-10-13	12:29:35	664	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT RUPI Inmold Fullface / be visible matt (50-55)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-rupi-inmold-fullface-be-visible-matt-50-55' WHERE `virtuemart_product_id` = '1860156'
2023-10-13	12:29:35	664	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38651_casque_vtt_rupi_inmold_fullface.jpg
2023-10-13	12:29:35	664	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:35	664	[DEBUG]	Process image file
2023-10-13	12:29:35	664	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:35	664	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:35	664	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38651_casque_vtt_rupi_inmold_fullface.jpg
2023-10-13	12:29:35	664	[DEBUG]	Full name target: bcprisme/38651_casque_vtt_rupi_inmold_fullface.jpg
2023-10-13	12:29:36	664	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:36	664	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38651_casque_vtt_rupi_inmold_fullface.jpg'
2023-10-13	12:29:36	664	[DEBUG]	Query for Media
2023-10-13	12:29:36	664	[DEBUG]	Executed store
2023-10-13	12:29:36	664	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38651_casque_vtt_rupi_inmold_fullface.jpg',`file_url_thumb`='bcprisme/38651_casque_vtt_rupi_inmold_fullface.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421030'
2023-10-13	12:29:36	664	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:36	664	[DEBUG]	Executed store
2023-10-13	12:29:36	664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860156','1421030','1')
2023-10-13	12:29:36	664	[DEBUG]	Store product image relation
2023-10-13	12:29:36	664	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:36	664	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860156 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:36	664	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:36	664	[DEBUG]	Executed store
2023-10-13	12:29:36	664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860156','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:36	664	[DEBUG]	Checking manufacturer
2023-10-13	12:29:36	664	[DEBUG]	Load a row
2023-10-13	12:29:36	664	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:36	664	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:36	664	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:36	664	[DEBUG]	Executed store
2023-10-13	12:29:36	664	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:36	664	[DEBUG]	Manufacturer exists
2023-10-13	12:29:36	664	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:36	664	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:36	664	[DEBUG]	Executed store
2023-10-13	12:29:36	664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860156','171')
2023-10-13	12:29:36	664	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:36	664	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:36	664	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860156 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:36	664	[DEBUG]	Store custom available field
2023-10-13	12:29:36	664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860156,3,'',1)
2023-10-13	12:29:36	664	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:36	664	[DEBUG]	Get existing row with customfield value 50-55
2023-10-13	12:29:36	664	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860156 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:36	664	[DEBUG]	Store custom available field
2023-10-13	12:29:36	664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860156,6,'50-55',3)
2023-10-13	12:29:36	664	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:36	664	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:36	664	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860155
2023-10-13	12:29:36	664	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:36	664	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n50-55\"}]|clabels=0|options={\"1860155\":[1860155,8,1,\"choisir la taille\"],\"1860156\":[\"50-55\"]}|' WHERE `virtuemart_product_id` = 1860155
2023-10-13	12:29:36	664	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:36	664	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860156
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:36	665	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field taille
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:36	665	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:36	665	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:36	665	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:36	665	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:36	665	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:36	665	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:36	665	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field published
2023-10-13	12:29:36	665	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:36	665	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field override
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:36	665	[DEBUG]	Use field value for field slug
2023-10-13	12:29:36	665	[DEBUG]	Process line 665
2023-10-13	12:29:36	665	[DEBUG]	Load a row
2023-10-13	12:29:36	665	[DEBUG]	Processing item: A_9443_788
2023-10-13	12:29:36	665	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:36	665	[DEBUG]	Processing product tax
2023-10-13	12:29:36	665	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:36	665	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:36	665	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:36	665	[DEBUG]	Query for Product
2023-10-13	12:29:36	665	[DEBUG]	Executed store
2023-10-13	12:29:36	665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9443_788','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:37	665	[DEBUG]	Check product language entry
2023-10-13	12:29:37	665	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860157
2023-10-13	12:29:37	665	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:37	665	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9443_788' AND `virtuemart_product_id` != 1860157
2023-10-13	12:29:37	665	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:37	665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860157, 'A_9443_788')
2023-10-13	12:29:37	665	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:37	665	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-rupi-inmold-fullface-fading-neon-matt' AND `virtuemart_product_id` != 1860157
2023-10-13	12:29:37	665	[DEBUG]	Query for ProductLang
2023-10-13	12:29:37	665	[DEBUG]	Executed store
2023-10-13	12:29:37	665	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le casque Inmold Fullface léger RUPI est fait pour les enfants et ne pèse que 385 grammes. Grâce à la mentonnière amovible, le casque est particulièrement flexible d\'utilisation. Rupicapra rupicapra\" signifie en français \"chamois\". Ceux-ci ont donné leur nom au nouveau casque de vélo pour enfants et grimpent sans effort sur des terrains où les nôtres s\'encorderaient. Ils sont encore plus rapides en descente. Avec le RUPI, les enfants ambitieux ne sont certes pas aussi sûrs de leurs pieds que les chamois, mais ils sont bien mieux protégés ! La Ceramic Shell, associée au noyau Hi-EPS, permet d\'absorber les forces en cas de chute. Le Run System garantit que le casque est parfaitement ajusté, car c\'est la seule façon d\'obtenir la meilleure protection possible. Comme une bonne aération est également essentielle en descente, le Rupi possède 15 ouvertures d\'aération.<br>N° art fourn : A9779150\"',`product_name`='Alpina Casque VTT RUPI Inmold Fullface / fading-neon matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-rupi-inmold-fullface-fading-neon-matt' WHERE `virtuemart_product_id` = '1860157'
2023-10-13	12:29:37	665	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38652_casque_vtt_rupi_inmold_fullface.jpg
2023-10-13	12:29:37	665	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:37	665	[DEBUG]	Process image file
2023-10-13	12:29:37	665	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:37	665	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:37	665	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38652_casque_vtt_rupi_inmold_fullface.jpg
2023-10-13	12:29:37	665	[DEBUG]	Full name target: bcprisme/38652_casque_vtt_rupi_inmold_fullface.jpg
2023-10-13	12:29:37	665	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:37	665	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38652_casque_vtt_rupi_inmold_fullface.jpg'
2023-10-13	12:29:37	665	[DEBUG]	Query for Media
2023-10-13	12:29:37	665	[DEBUG]	Executed store
2023-10-13	12:29:37	665	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38652_casque_vtt_rupi_inmold_fullface.jpg',`file_url_thumb`='bcprisme/38652_casque_vtt_rupi_inmold_fullface.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421032'
2023-10-13	12:29:37	665	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:37	665	[DEBUG]	Executed store
2023-10-13	12:29:37	665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860157','1421032','1')
2023-10-13	12:29:37	665	[DEBUG]	Store product image relation
2023-10-13	12:29:37	665	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:37	665	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860157 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:37	665	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:37	665	[DEBUG]	Executed store
2023-10-13	12:29:37	665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860157','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:37	665	[DEBUG]	Checking manufacturer
2023-10-13	12:29:37	665	[DEBUG]	Load a row
2023-10-13	12:29:37	665	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:37	665	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:37	665	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:37	665	[DEBUG]	Executed store
2023-10-13	12:29:37	665	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:37	665	[DEBUG]	Manufacturer exists
2023-10-13	12:29:38	665	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:38	665	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:38	665	[DEBUG]	Executed store
2023-10-13	12:29:38	665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860157','171')
2023-10-13	12:29:38	665	[DEBUG]	Find the custom field ID
2023-10-13	12:29:38	665	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:38	665	[DEBUG]	No custom field ID found
2023-10-13	12:29:38	665	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:38	665	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:29:38	665	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860157 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:38	665	[DEBUG]	Store custom available field
2023-10-13	12:29:38	665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860157,3,'0',1)
2023-10-13	12:29:38	665	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:38	665	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:38	665	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860157 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:38	665	[DEBUG]	Store custom available field
2023-10-13	12:29:38	665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860157,6,'choisir la taille',3)
2023-10-13	12:29:38	665	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:38	665	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:38	665	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:38	665	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:38	665	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860157 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:38	665	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:38	665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860157,8,1)
2023-10-13	12:29:38	665	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:38	665	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860157\":[1860157,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860157
2023-10-13	12:29:38	665	[DEBUG]	Checking category
2023-10-13	12:29:38	665	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:38	665	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860157
2023-10-13	12:29:38	665	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:38	665	[DEBUG]	Executed store
2023-10-13	12:29:38	665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860157','7281')
2023-10-13	12:29:38	665	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:38	665	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860157 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:38	665	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:38	665	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860157
2023-10-13	12:29:38	666	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:38	666	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:38	666	[DEBUG]	Use field value for field taille
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:38	666	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:38	666	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:38	666	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:38	666	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:38	666	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:38	666	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:38	666	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:38	666	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:38	666	[DEBUG]	Use field value for field published
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:38	666	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field override
2023-10-13	12:29:38	666	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:38	666	[DEBUG]	Use field value for field slug
2023-10-13	12:29:38	666	[DEBUG]	Process line 666
2023-10-13	12:29:38	666	[DEBUG]	Load a row
2023-10-13	12:29:38	666	[DEBUG]	Processing item: 1000000553543
2023-10-13	12:29:38	666	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:38	666	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:38	666	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9443_788'
2023-10-13	12:29:38	666	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:38	666	[DEBUG]	Processing product tax
2023-10-13	12:29:38	666	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:38	666	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:38	666	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:38	666	[DEBUG]	Query for Product
2023-10-13	12:29:38	666	[DEBUG]	Executed store
2023-10-13	12:29:38	666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860157','1000000553543','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:38	666	[DEBUG]	No parent found
2023-10-13	12:29:38	666	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860157 AND customfield_value = 'stockable'
2023-10-13	12:29:38	666	[DEBUG]	Check product language entry
2023-10-13	12:29:38	666	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860158
2023-10-13	12:29:38	666	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:38	666	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000553543' AND `virtuemart_product_id` != 1860158
2023-10-13	12:29:38	666	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:38	666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860158, '1000000553543')
2023-10-13	12:29:38	666	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:38	666	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-rupi-inmold-fullface-fading-neon-matt-50-55' AND `virtuemart_product_id` != 1860158
2023-10-13	12:29:38	666	[DEBUG]	Query for ProductLang
2023-10-13	12:29:38	666	[DEBUG]	Executed store
2023-10-13	12:29:38	666	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT RUPI Inmold Fullface / fading-neon matt (50-55)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-rupi-inmold-fullface-fading-neon-matt-50-55' WHERE `virtuemart_product_id` = '1860158'
2023-10-13	12:29:38	666	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38652_casque_vtt_rupi_inmold_fullface.jpg
2023-10-13	12:29:38	666	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:38	666	[DEBUG]	Process image file
2023-10-13	12:29:38	666	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:38	666	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:38	666	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38652_casque_vtt_rupi_inmold_fullface.jpg
2023-10-13	12:29:38	666	[DEBUG]	Full name target: bcprisme/38652_casque_vtt_rupi_inmold_fullface.jpg
2023-10-13	12:29:39	666	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:39	666	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38652_casque_vtt_rupi_inmold_fullface.jpg'
2023-10-13	12:29:39	666	[DEBUG]	Query for Media
2023-10-13	12:29:39	666	[DEBUG]	Executed store
2023-10-13	12:29:39	666	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38652_casque_vtt_rupi_inmold_fullface.jpg',`file_url_thumb`='bcprisme/38652_casque_vtt_rupi_inmold_fullface.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421032'
2023-10-13	12:29:39	666	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:39	666	[DEBUG]	Executed store
2023-10-13	12:29:39	666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860158','1421032','1')
2023-10-13	12:29:39	666	[DEBUG]	Store product image relation
2023-10-13	12:29:39	666	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:39	666	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860158 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:39	666	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:39	666	[DEBUG]	Executed store
2023-10-13	12:29:39	666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860158','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:39	666	[DEBUG]	Checking manufacturer
2023-10-13	12:29:39	666	[DEBUG]	Load a row
2023-10-13	12:29:39	666	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:39	666	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:39	666	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:39	666	[DEBUG]	Executed store
2023-10-13	12:29:39	666	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:39	666	[DEBUG]	Manufacturer exists
2023-10-13	12:29:39	666	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:39	666	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:39	666	[DEBUG]	Executed store
2023-10-13	12:29:39	666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860158','171')
2023-10-13	12:29:39	666	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:39	666	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:39	666	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860158 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:39	666	[DEBUG]	Store custom available field
2023-10-13	12:29:39	666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860158,3,'',1)
2023-10-13	12:29:39	666	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:39	666	[DEBUG]	Get existing row with customfield value 50-55
2023-10-13	12:29:39	666	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860158 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:39	666	[DEBUG]	Store custom available field
2023-10-13	12:29:39	666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860158,6,'50-55',3)
2023-10-13	12:29:39	666	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:39	666	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:39	666	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860157
2023-10-13	12:29:39	666	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:39	666	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n50-55\"}]|clabels=0|options={\"1860157\":[1860157,8,1,\"choisir la taille\"],\"1860158\":[\"50-55\"]}|' WHERE `virtuemart_product_id` = 1860157
2023-10-13	12:29:39	666	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:39	666	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860158
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:39	667	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field taille
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:39	667	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:39	667	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:39	667	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:39	667	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:39	667	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:39	667	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field published
2023-10-13	12:29:39	667	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:39	667	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field override
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:39	667	[DEBUG]	Use field value for field slug
2023-10-13	12:29:39	667	[DEBUG]	Process line 667
2023-10-13	12:29:39	667	[DEBUG]	Load a row
2023-10-13	12:29:39	667	[DEBUG]	Processing item: A_9485_798
2023-10-13	12:29:39	667	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:39	667	[DEBUG]	Processing product tax
2023-10-13	12:29:39	667	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:39	667	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:39	667	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:39	667	[DEBUG]	Query for Product
2023-10-13	12:29:39	667	[DEBUG]	Executed store
2023-10-13	12:29:39	667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9485_798','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:39	667	[DEBUG]	Check product language entry
2023-10-13	12:29:39	667	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860159
2023-10-13	12:29:39	667	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:39	667	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9485_798' AND `virtuemart_product_id` != 1860159
2023-10-13	12:29:39	667	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:39	667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860159, 'A_9485_798')
2023-10-13	12:29:39	667	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:39	667	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-jr-michael-cina-black-matt' AND `virtuemart_product_id` != 1860159
2023-10-13	12:29:39	667	[DEBUG]	Query for ProductLang
2023-10-13	12:29:39	667	[DEBUG]	Executed store
2023-10-13	12:29:39	667	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Une protection maximale pour des petits tours de tête. Le Carapax JR est le casque enduro parfait pour les enfants. Il offre un grand confort et beaucoup de style<br>N° art fourn : AS9702113',`product_name`='Alpina Casque VTT CARAPAX JR.  / Michael Cina Black Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-jr-michael-cina-black-matt' WHERE `virtuemart_product_id` = '1860159'
2023-10-13	12:29:39	667	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38703_casque_vtt_carapax_jr__.jpg
2023-10-13	12:29:39	667	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:39	667	[DEBUG]	Process image file
2023-10-13	12:29:39	667	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:39	667	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:39	667	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38703_casque_vtt_carapax_jr__.jpg
2023-10-13	12:29:39	667	[DEBUG]	Full name target: bcprisme/38703_casque_vtt_carapax_jr__.jpg
2023-10-13	12:29:40	667	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:40	667	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38703_casque_vtt_carapax_jr__.jpg'
2023-10-13	12:29:40	667	[DEBUG]	Query for Media
2023-10-13	12:29:40	667	[DEBUG]	Executed store
2023-10-13	12:29:40	667	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38703_casque_vtt_carapax_jr__.jpg',`file_url_thumb`='bcprisme/38703_casque_vtt_carapax_jr__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421042'
2023-10-13	12:29:40	667	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:40	667	[DEBUG]	Executed store
2023-10-13	12:29:40	667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860159','1421042','1')
2023-10-13	12:29:40	667	[DEBUG]	Store product image relation
2023-10-13	12:29:40	667	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:40	667	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860159 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:40	667	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:40	667	[DEBUG]	Executed store
2023-10-13	12:29:40	667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860159','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:40	667	[DEBUG]	Checking manufacturer
2023-10-13	12:29:40	667	[DEBUG]	Load a row
2023-10-13	12:29:40	667	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:40	667	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:40	667	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:40	667	[DEBUG]	Executed store
2023-10-13	12:29:40	667	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:40	667	[DEBUG]	Manufacturer exists
2023-10-13	12:29:40	667	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:40	667	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:40	667	[DEBUG]	Executed store
2023-10-13	12:29:40	667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860159','171')
2023-10-13	12:29:40	667	[DEBUG]	Find the custom field ID
2023-10-13	12:29:40	667	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:40	667	[DEBUG]	No custom field ID found
2023-10-13	12:29:40	667	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:40	667	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:29:40	667	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860159 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:40	667	[DEBUG]	Store custom available field
2023-10-13	12:29:40	667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860159,3,'0',1)
2023-10-13	12:29:40	667	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:40	667	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:40	667	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860159 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:40	667	[DEBUG]	Store custom available field
2023-10-13	12:29:40	667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860159,6,'choisir la taille',3)
2023-10-13	12:29:40	667	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:40	667	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:40	667	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:40	667	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:40	667	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860159 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:40	667	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:40	667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860159,8,1)
2023-10-13	12:29:40	667	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:40	667	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860159\":[1860159,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860159
2023-10-13	12:29:40	667	[DEBUG]	Checking category
2023-10-13	12:29:40	667	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:40	667	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860159
2023-10-13	12:29:40	667	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:40	667	[DEBUG]	Executed store
2023-10-13	12:29:40	667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860159','7281')
2023-10-13	12:29:40	667	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:40	667	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860159 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:40	667	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:40	667	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860159
2023-10-13	12:29:40	668	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:40	668	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:40	668	[DEBUG]	Use field value for field taille
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:40	668	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:40	668	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:40	668	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:40	668	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:40	668	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:40	668	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:40	668	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:40	668	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:40	668	[DEBUG]	Use field value for field published
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:40	668	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field override
2023-10-13	12:29:40	668	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:40	668	[DEBUG]	Use field value for field slug
2023-10-13	12:29:40	668	[DEBUG]	Process line 668
2023-10-13	12:29:40	668	[DEBUG]	Load a row
2023-10-13	12:29:40	668	[DEBUG]	Processing item: 1000000553468
2023-10-13	12:29:40	668	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:40	668	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:40	668	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9485_798'
2023-10-13	12:29:40	668	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:40	668	[DEBUG]	Processing product tax
2023-10-13	12:29:40	668	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:40	668	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:40	668	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:40	668	[DEBUG]	Query for Product
2023-10-13	12:29:40	668	[DEBUG]	Executed store
2023-10-13	12:29:40	668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860159','1000000553468','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:40	668	[DEBUG]	No parent found
2023-10-13	12:29:40	668	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860159 AND customfield_value = 'stockable'
2023-10-13	12:29:40	668	[DEBUG]	Check product language entry
2023-10-13	12:29:40	668	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860160
2023-10-13	12:29:40	668	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:40	668	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000553468' AND `virtuemart_product_id` != 1860160
2023-10-13	12:29:40	668	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:40	668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860160, '1000000553468')
2023-10-13	12:29:40	668	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:40	668	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-casque-vtt-carapax-jr-michael-cina-black-matt-51-56' AND `virtuemart_product_id` != 1860160
2023-10-13	12:29:40	668	[DEBUG]	Query for ProductLang
2023-10-13	12:29:40	668	[DEBUG]	Executed store
2023-10-13	12:29:40	668	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Casque VTT CARAPAX JR.  / Michael Cina Black Matt (51-56)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-casque-vtt-carapax-jr-michael-cina-black-matt-51-56' WHERE `virtuemart_product_id` = '1860160'
2023-10-13	12:29:40	668	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38703_casque_vtt_carapax_jr__.jpg
2023-10-13	12:29:40	668	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:40	668	[DEBUG]	Process image file
2023-10-13	12:29:40	668	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:40	668	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:40	668	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38703_casque_vtt_carapax_jr__.jpg
2023-10-13	12:29:40	668	[DEBUG]	Full name target: bcprisme/38703_casque_vtt_carapax_jr__.jpg
2023-10-13	12:29:41	668	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:41	668	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38703_casque_vtt_carapax_jr__.jpg'
2023-10-13	12:29:41	668	[DEBUG]	Query for Media
2023-10-13	12:29:41	668	[DEBUG]	Executed store
2023-10-13	12:29:41	668	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38703_casque_vtt_carapax_jr__.jpg',`file_url_thumb`='bcprisme/38703_casque_vtt_carapax_jr__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1421042'
2023-10-13	12:29:41	668	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:41	668	[DEBUG]	Executed store
2023-10-13	12:29:41	668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860160','1421042','1')
2023-10-13	12:29:41	668	[DEBUG]	Store product image relation
2023-10-13	12:29:41	668	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:41	668	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860160 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:41	668	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:41	668	[DEBUG]	Executed store
2023-10-13	12:29:41	668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860160','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:41	668	[DEBUG]	Checking manufacturer
2023-10-13	12:29:41	668	[DEBUG]	Load a row
2023-10-13	12:29:41	668	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:41	668	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:41	668	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:41	668	[DEBUG]	Executed store
2023-10-13	12:29:41	668	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	12:29:41	668	[DEBUG]	Manufacturer exists
2023-10-13	12:29:41	668	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	12:29:41	668	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:41	668	[DEBUG]	Executed store
2023-10-13	12:29:41	668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860160','171')
2023-10-13	12:29:41	668	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:41	668	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:41	668	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860160 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:41	668	[DEBUG]	Store custom available field
2023-10-13	12:29:41	668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860160,3,'',1)
2023-10-13	12:29:41	668	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:41	668	[DEBUG]	Get existing row with customfield value 51-56
2023-10-13	12:29:41	668	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860160 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:41	668	[DEBUG]	Store custom available field
2023-10-13	12:29:41	668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860160,6,'51-56',3)
2023-10-13	12:29:41	668	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:41	668	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:41	668	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860159
2023-10-13	12:29:41	668	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:41	668	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n51-56\"}]|clabels=0|options={\"1860159\":[1860159,8,1,\"choisir la taille\"],\"1860160\":[\"51-56\"]}|' WHERE `virtuemart_product_id` = 1860159
2023-10-13	12:29:41	668	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:41	668	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860160
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:41	669	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field taille
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:41	669	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:41	669	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:41	669	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:41	669	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:41	669	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:41	669	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field published
2023-10-13	12:29:41	669	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:41	669	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field override
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:41	669	[DEBUG]	Use field value for field slug
2023-10-13	12:29:41	669	[DEBUG]	Process line 669
2023-10-13	12:29:41	669	[DEBUG]	Load a row
2023-10-13	12:29:41	669	[DEBUG]	Processing item: A_9598_207
2023-10-13	12:29:41	669	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:41	669	[DEBUG]	Processing product tax
2023-10-13	12:29:41	669	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:41	669	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:41	669	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:41	669	[DEBUG]	Query for Product
2023-10-13	12:29:41	669	[DEBUG]	Executed store
2023-10-13	12:29:41	669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9598_207','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:41	669	[DEBUG]	Check product language entry
2023-10-13	12:29:41	669	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860161
2023-10-13	12:29:41	669	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:41	669	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9598_207' AND `virtuemart_product_id` != 1860161
2023-10-13	12:29:41	669	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:41	669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860161, 'A_9598_207')
2023-10-13	12:29:41	669	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:41	669	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-mips-pink' AND `virtuemart_product_id` != 1860161
2023-10-13	12:29:41	669	[DEBUG]	Query for ProductLang
2023-10-13	12:29:41	669	[DEBUG]	Executed store
2023-10-13	12:29:41	669	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Crackerjack est un casque jeune qui allie conformité aux normes les plus exigeantes et design séduisant. La construction In-Mould, aussi utilisée pour les adultes, est solidement maintenue sur la tête et assure une sécurité élevée grâce à une fermeture à clip et un ajustement individuelle de la taille. La lampe à LED fonctionnelle ainsi que les variantes de coloris sont élégantes et elles la visibilité. Ce casque convient pour des tours de tête compris entre 52 et 57 cm.<br><br>Caractéristiques:<br><br>Intérieur: EPS<br>Réglage de la taille: Safe-T E-Twist<br>Fermeture anti-pincement<br>Visière amovible<br>Mousses anti-allergiques lavables à la main<br>LED intégrée et réflecteurs à l\'arrière<br>Protection anti-insectes<br>Poids: 265 g<br>Taille: 52-57 cm<br>N° art fourn : 720.002.09',`product_name`='MET Casque MET Crackerjack MIPS / Pink',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-mips-pink' WHERE `virtuemart_product_id` = '1860161'
2023-10-13	12:29:41	669	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39044_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:41	669	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:41	669	[DEBUG]	Process image file
2023-10-13	12:29:41	669	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:41	669	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:41	669	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39044_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:41	669	[DEBUG]	Full name target: bcprisme/39044_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:42	669	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:42	669	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39044_casque_met_crackerjack_mips.jpg'
2023-10-13	12:29:42	669	[DEBUG]	Query for Media
2023-10-13	12:29:42	669	[DEBUG]	Executed store
2023-10-13	12:29:42	669	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39044_casque_met_crackerjack_mips.jpg',`file_url_thumb`='bcprisme/39044_casque_met_crackerjack_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1499057'
2023-10-13	12:29:42	669	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:42	669	[DEBUG]	Executed store
2023-10-13	12:29:42	669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860161','1499057','1')
2023-10-13	12:29:42	669	[DEBUG]	Store product image relation
2023-10-13	12:29:42	669	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:42	669	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860161 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:42	669	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:42	669	[DEBUG]	Executed store
2023-10-13	12:29:42	669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860161','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:42	669	[DEBUG]	Checking manufacturer
2023-10-13	12:29:42	669	[DEBUG]	Load a row
2023-10-13	12:29:42	669	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:42	669	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:42	669	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:42	669	[DEBUG]	Executed store
2023-10-13	12:29:42	669	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:42	669	[DEBUG]	Manufacturer exists
2023-10-13	12:29:42	669	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:42	669	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:42	669	[DEBUG]	Executed store
2023-10-13	12:29:42	669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860161','226')
2023-10-13	12:29:42	669	[DEBUG]	Find the custom field ID
2023-10-13	12:29:42	669	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:42	669	[DEBUG]	No custom field ID found
2023-10-13	12:29:42	669	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:42	669	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:29:42	669	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860161 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:42	669	[DEBUG]	Store custom available field
2023-10-13	12:29:42	669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860161,3,'9.8725',1)
2023-10-13	12:29:42	669	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:42	669	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:42	669	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860161 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:42	669	[DEBUG]	Store custom available field
2023-10-13	12:29:42	669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860161,6,'choisir la taille',3)
2023-10-13	12:29:42	669	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:42	669	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:42	669	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:42	669	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:42	669	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860161 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:42	669	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:42	669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860161,8,1)
2023-10-13	12:29:42	669	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:42	669	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860161\":[1860161,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860161
2023-10-13	12:29:42	669	[DEBUG]	Checking category
2023-10-13	12:29:42	669	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:42	669	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860161
2023-10-13	12:29:42	669	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:42	669	[DEBUG]	Executed store
2023-10-13	12:29:42	669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860161','7281')
2023-10-13	12:29:42	669	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:42	669	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860161 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:42	669	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:42	669	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860161
2023-10-13	12:29:42	670	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:42	670	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:42	670	[DEBUG]	Use field value for field taille
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:42	670	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:42	670	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:42	670	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:42	670	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:42	670	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:42	670	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:42	670	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:42	670	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:42	670	[DEBUG]	Use field value for field published
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:42	670	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field override
2023-10-13	12:29:42	670	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:42	670	[DEBUG]	Use field value for field slug
2023-10-13	12:29:42	670	[DEBUG]	Process line 670
2023-10-13	12:29:42	670	[DEBUG]	Load a row
2023-10-13	12:29:42	670	[DEBUG]	Processing item: 1000011148479
2023-10-13	12:29:42	670	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:42	670	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:42	670	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9598_207'
2023-10-13	12:29:42	670	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:42	670	[DEBUG]	Processing product tax
2023-10-13	12:29:42	670	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:42	670	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:42	670	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:42	670	[DEBUG]	Query for Product
2023-10-13	12:29:42	670	[DEBUG]	Executed store
2023-10-13	12:29:42	670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860161','1000011148479','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:42	670	[DEBUG]	No parent found
2023-10-13	12:29:42	670	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860161 AND customfield_value = 'stockable'
2023-10-13	12:29:42	670	[DEBUG]	Check product language entry
2023-10-13	12:29:42	670	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860162
2023-10-13	12:29:42	670	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:42	670	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000011148479' AND `virtuemart_product_id` != 1860162
2023-10-13	12:29:42	670	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:42	670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860162, '1000011148479')
2023-10-13	12:29:42	670	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:42	670	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-mips-pink-52-57cm' AND `virtuemart_product_id` != 1860162
2023-10-13	12:29:42	670	[DEBUG]	Query for ProductLang
2023-10-13	12:29:42	670	[DEBUG]	Executed store
2023-10-13	12:29:42	670	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Crackerjack MIPS / Pink (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-mips-pink-52-57cm' WHERE `virtuemart_product_id` = '1860162'
2023-10-13	12:29:42	670	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39044_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:42	670	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:42	670	[DEBUG]	Process image file
2023-10-13	12:29:42	670	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:42	670	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:42	670	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39044_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:42	670	[DEBUG]	Full name target: bcprisme/39044_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:43	670	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:43	670	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39044_casque_met_crackerjack_mips.jpg'
2023-10-13	12:29:43	670	[DEBUG]	Query for Media
2023-10-13	12:29:43	670	[DEBUG]	Executed store
2023-10-13	12:29:43	670	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39044_casque_met_crackerjack_mips.jpg',`file_url_thumb`='bcprisme/39044_casque_met_crackerjack_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1499057'
2023-10-13	12:29:43	670	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:43	670	[DEBUG]	Executed store
2023-10-13	12:29:43	670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860162','1499057','1')
2023-10-13	12:29:43	670	[DEBUG]	Store product image relation
2023-10-13	12:29:43	670	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:43	670	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860162 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:43	670	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:43	670	[DEBUG]	Executed store
2023-10-13	12:29:43	670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860162','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:43	670	[DEBUG]	Checking manufacturer
2023-10-13	12:29:43	670	[DEBUG]	Load a row
2023-10-13	12:29:43	670	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:43	670	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:43	670	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:43	670	[DEBUG]	Executed store
2023-10-13	12:29:43	670	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:43	670	[DEBUG]	Manufacturer exists
2023-10-13	12:29:43	670	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:43	670	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:43	670	[DEBUG]	Executed store
2023-10-13	12:29:43	670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860162','226')
2023-10-13	12:29:43	670	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:43	670	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:43	670	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860162 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:43	670	[DEBUG]	Store custom available field
2023-10-13	12:29:43	670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860162,3,'',1)
2023-10-13	12:29:43	670	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:43	670	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:29:43	670	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860162 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:43	670	[DEBUG]	Store custom available field
2023-10-13	12:29:43	670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860162,6,'52-57cm',3)
2023-10-13	12:29:43	670	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:43	670	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:43	670	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860161
2023-10-13	12:29:43	670	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:43	670	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860161\":[1860161,8,1,\"choisir la taille\"],\"1860162\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860161
2023-10-13	12:29:43	670	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:43	670	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860162
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:43	671	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field taille
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:43	671	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:43	671	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:43	671	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:43	671	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:43	671	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:43	671	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field published
2023-10-13	12:29:43	671	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:43	671	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field override
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:43	671	[DEBUG]	Use field value for field slug
2023-10-13	12:29:43	671	[DEBUG]	Process line 671
2023-10-13	12:29:43	671	[DEBUG]	Load a row
2023-10-13	12:29:43	671	[DEBUG]	Processing item: A_9598_558
2023-10-13	12:29:43	671	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:43	671	[DEBUG]	Processing product tax
2023-10-13	12:29:43	671	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:43	671	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:43	671	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:43	671	[DEBUG]	Query for Product
2023-10-13	12:29:43	671	[DEBUG]	Executed store
2023-10-13	12:29:43	671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9598_558','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:43	671	[DEBUG]	Check product language entry
2023-10-13	12:29:43	671	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860163
2023-10-13	12:29:43	671	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:43	671	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9598_558' AND `virtuemart_product_id` != 1860163
2023-10-13	12:29:43	671	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:43	671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860163, 'A_9598_558')
2023-10-13	12:29:43	671	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:43	671	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-mips-petrol-blue-matt' AND `virtuemart_product_id` != 1860163
2023-10-13	12:29:43	671	[DEBUG]	Query for ProductLang
2023-10-13	12:29:43	671	[DEBUG]	Executed store
2023-10-13	12:29:43	671	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Crackerjack est un casque jeune qui allie conformité aux normes les plus exigeantes et design séduisant. La construction In-Mould, aussi utilisée pour les adultes, est solidement maintenue sur la tête et assure une sécurité élevée grâce à une fermeture à clip et un ajustement individuelle de la taille. La lampe à LED fonctionnelle ainsi que les variantes de coloris sont élégantes et elles la visibilité. Ce casque convient pour des tours de tête compris entre 52 et 57 cm.<br><br>Caractéristiques:<br><br>Intérieur: EPS<br>Réglage de la taille: Safe-T E-Twist<br>Fermeture anti-pincement<br>Visière amovible<br>Mousses anti-allergiques lavables à la main<br>LED intégrée et réflecteurs à l\'arrière<br>Protection anti-insectes<br>Poids: 265 g<br>Taille: 52-57 cm<br>N° art fourn : 720.002.09',`product_name`='MET Casque MET Crackerjack MIPS / PETROL BLUE MATT',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-mips-petrol-blue-matt' WHERE `virtuemart_product_id` = '1860163'
2023-10-13	12:29:43	671	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38977_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:43	671	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:43	671	[DEBUG]	Process image file
2023-10-13	12:29:43	671	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:43	671	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:43	671	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38977_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:43	671	[DEBUG]	Full name target: bcprisme/38977_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:44	671	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:44	671	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38977_casque_met_crackerjack_mips.jpg'
2023-10-13	12:29:44	671	[DEBUG]	Query for Media
2023-10-13	12:29:44	671	[DEBUG]	Executed store
2023-10-13	12:29:44	671	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38977_casque_met_crackerjack_mips.jpg',`file_url_thumb`='bcprisme/38977_casque_met_crackerjack_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1499059'
2023-10-13	12:29:44	671	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:44	671	[DEBUG]	Executed store
2023-10-13	12:29:44	671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860163','1499059','1')
2023-10-13	12:29:44	671	[DEBUG]	Store product image relation
2023-10-13	12:29:44	671	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:44	671	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860163 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:44	671	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:44	671	[DEBUG]	Executed store
2023-10-13	12:29:44	671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860163','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:44	671	[DEBUG]	Checking manufacturer
2023-10-13	12:29:44	671	[DEBUG]	Load a row
2023-10-13	12:29:44	671	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:44	671	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:44	671	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:44	671	[DEBUG]	Executed store
2023-10-13	12:29:44	671	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:44	671	[DEBUG]	Manufacturer exists
2023-10-13	12:29:44	671	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:44	671	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:44	671	[DEBUG]	Executed store
2023-10-13	12:29:44	671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860163','226')
2023-10-13	12:29:44	671	[DEBUG]	Find the custom field ID
2023-10-13	12:29:44	671	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:44	671	[DEBUG]	No custom field ID found
2023-10-13	12:29:44	671	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:44	671	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:29:44	671	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860163 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:44	671	[DEBUG]	Store custom available field
2023-10-13	12:29:44	671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860163,3,'9.8725',1)
2023-10-13	12:29:44	671	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:44	671	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:44	671	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860163 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:44	671	[DEBUG]	Store custom available field
2023-10-13	12:29:44	671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860163,6,'choisir la taille',3)
2023-10-13	12:29:44	671	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:44	671	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:44	671	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:44	671	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:44	671	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860163 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:44	671	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:44	671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860163,8,1)
2023-10-13	12:29:44	671	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:44	671	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860163\":[1860163,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860163
2023-10-13	12:29:44	671	[DEBUG]	Checking category
2023-10-13	12:29:44	671	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:44	671	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860163
2023-10-13	12:29:44	671	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:44	671	[DEBUG]	Executed store
2023-10-13	12:29:44	671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860163','7281')
2023-10-13	12:29:44	671	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:44	671	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860163 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:44	671	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:44	671	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860163
2023-10-13	12:29:44	672	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:44	672	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:44	672	[DEBUG]	Use field value for field taille
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:44	672	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:44	672	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:44	672	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:44	672	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:44	672	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:44	672	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:44	672	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:44	672	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:44	672	[DEBUG]	Use field value for field published
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:44	672	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field override
2023-10-13	12:29:44	672	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:44	672	[DEBUG]	Use field value for field slug
2023-10-13	12:29:44	672	[DEBUG]	Process line 672
2023-10-13	12:29:44	672	[DEBUG]	Load a row
2023-10-13	12:29:44	672	[DEBUG]	Processing item: 1000006078309
2023-10-13	12:29:44	672	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:44	672	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:44	672	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9598_558'
2023-10-13	12:29:44	672	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:44	672	[DEBUG]	Processing product tax
2023-10-13	12:29:44	672	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:44	672	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:44	672	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:44	672	[DEBUG]	Query for Product
2023-10-13	12:29:44	672	[DEBUG]	Executed store
2023-10-13	12:29:44	672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860163','1000006078309','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:44	672	[DEBUG]	No parent found
2023-10-13	12:29:44	672	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860163 AND customfield_value = 'stockable'
2023-10-13	12:29:44	672	[DEBUG]	Check product language entry
2023-10-13	12:29:44	672	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860164
2023-10-13	12:29:44	672	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:44	672	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000006078309' AND `virtuemart_product_id` != 1860164
2023-10-13	12:29:44	672	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:44	672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860164, '1000006078309')
2023-10-13	12:29:44	672	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:44	672	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-mips-petrol-blue-matt-52-57cm' AND `virtuemart_product_id` != 1860164
2023-10-13	12:29:44	672	[DEBUG]	Query for ProductLang
2023-10-13	12:29:44	672	[DEBUG]	Executed store
2023-10-13	12:29:44	672	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Crackerjack MIPS / PETROL BLUE MATT (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-mips-petrol-blue-matt-52-57cm' WHERE `virtuemart_product_id` = '1860164'
2023-10-13	12:29:44	672	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38977_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:44	672	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:44	672	[DEBUG]	Process image file
2023-10-13	12:29:44	672	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:44	672	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:44	672	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38977_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:44	672	[DEBUG]	Full name target: bcprisme/38977_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:45	672	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:45	672	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38977_casque_met_crackerjack_mips.jpg'
2023-10-13	12:29:45	672	[DEBUG]	Query for Media
2023-10-13	12:29:45	672	[DEBUG]	Executed store
2023-10-13	12:29:45	672	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38977_casque_met_crackerjack_mips.jpg',`file_url_thumb`='bcprisme/38977_casque_met_crackerjack_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1499059'
2023-10-13	12:29:45	672	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:45	672	[DEBUG]	Executed store
2023-10-13	12:29:45	672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860164','1499059','1')
2023-10-13	12:29:45	672	[DEBUG]	Store product image relation
2023-10-13	12:29:45	672	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:45	672	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860164 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:45	672	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:45	672	[DEBUG]	Executed store
2023-10-13	12:29:45	672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860164','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:45	672	[DEBUG]	Checking manufacturer
2023-10-13	12:29:45	672	[DEBUG]	Load a row
2023-10-13	12:29:45	672	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:45	672	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:45	672	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:45	672	[DEBUG]	Executed store
2023-10-13	12:29:45	672	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:45	672	[DEBUG]	Manufacturer exists
2023-10-13	12:29:45	672	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:45	672	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:45	672	[DEBUG]	Executed store
2023-10-13	12:29:45	672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860164','226')
2023-10-13	12:29:45	672	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:45	672	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:45	672	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860164 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:45	672	[DEBUG]	Store custom available field
2023-10-13	12:29:45	672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860164,3,'',1)
2023-10-13	12:29:45	672	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:45	672	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:29:45	672	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860164 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:45	672	[DEBUG]	Store custom available field
2023-10-13	12:29:45	672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860164,6,'52-57cm',3)
2023-10-13	12:29:45	672	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:45	672	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:45	672	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860163
2023-10-13	12:29:45	672	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:45	672	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860163\":[1860163,8,1,\"choisir la taille\"],\"1860164\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860163
2023-10-13	12:29:45	672	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:45	672	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860164
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:45	673	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field taille
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:45	673	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:45	673	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:45	673	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:45	673	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:45	673	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:45	673	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field published
2023-10-13	12:29:45	673	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:45	673	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field override
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:45	673	[DEBUG]	Use field value for field slug
2023-10-13	12:29:45	673	[DEBUG]	Process line 673
2023-10-13	12:29:45	673	[DEBUG]	Load a row
2023-10-13	12:29:45	673	[DEBUG]	Processing item: A_9598_827
2023-10-13	12:29:45	673	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:45	673	[DEBUG]	Processing product tax
2023-10-13	12:29:45	673	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:45	673	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:45	673	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:45	673	[DEBUG]	Query for Product
2023-10-13	12:29:45	673	[DEBUG]	Executed store
2023-10-13	12:29:45	673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9598_827','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:45	673	[DEBUG]	Check product language entry
2023-10-13	12:29:45	673	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860165
2023-10-13	12:29:45	673	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:45	673	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9598_827' AND `virtuemart_product_id` != 1860165
2023-10-13	12:29:45	673	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:45	673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860165, 'A_9598_827')
2023-10-13	12:29:45	673	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:45	673	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-mips-cyan' AND `virtuemart_product_id` != 1860165
2023-10-13	12:29:45	673	[DEBUG]	Query for ProductLang
2023-10-13	12:29:45	673	[DEBUG]	Executed store
2023-10-13	12:29:45	673	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Crackerjack est un casque jeune qui allie conformité aux normes les plus exigeantes et design séduisant. La construction In-Mould, aussi utilisée pour les adultes, est solidement maintenue sur la tête et assure une sécurité élevée grâce à une fermeture à clip et un ajustement individuelle de la taille. La lampe à LED fonctionnelle ainsi que les variantes de coloris sont élégantes et elles la visibilité. Ce casque convient pour des tours de tête compris entre 52 et 57 cm.<br><br>Caractéristiques:<br><br>Intérieur: EPS<br>Réglage de la taille: Safe-T E-Twist<br>Fermeture anti-pincement<br>Visière amovible<br>Mousses anti-allergiques lavables à la main<br>LED intégrée et réflecteurs à l\'arrière<br>Protection anti-insectes<br>Poids: 265 g<br>Taille: 52-57 cm<br>N° art fourn : 720.002.09',`product_name`='MET Casque MET Crackerjack MIPS / Cyan',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-mips-cyan' WHERE `virtuemart_product_id` = '1860165'
2023-10-13	12:29:45	673	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39043_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:45	673	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:45	673	[DEBUG]	Process image file
2023-10-13	12:29:45	673	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:45	673	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:45	673	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39043_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:45	673	[DEBUG]	Full name target: bcprisme/39043_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:46	673	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:46	673	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39043_casque_met_crackerjack_mips.jpg'
2023-10-13	12:29:46	673	[DEBUG]	Query for Media
2023-10-13	12:29:46	673	[DEBUG]	Executed store
2023-10-13	12:29:46	673	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39043_casque_met_crackerjack_mips.jpg',`file_url_thumb`='bcprisme/39043_casque_met_crackerjack_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1499061'
2023-10-13	12:29:46	673	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:46	673	[DEBUG]	Executed store
2023-10-13	12:29:46	673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860165','1499061','1')
2023-10-13	12:29:46	673	[DEBUG]	Store product image relation
2023-10-13	12:29:46	673	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:46	673	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860165 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:46	673	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:46	673	[DEBUG]	Executed store
2023-10-13	12:29:46	673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860165','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:46	673	[DEBUG]	Checking manufacturer
2023-10-13	12:29:46	673	[DEBUG]	Load a row
2023-10-13	12:29:46	673	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:46	673	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:46	673	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:46	673	[DEBUG]	Executed store
2023-10-13	12:29:46	673	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:46	673	[DEBUG]	Manufacturer exists
2023-10-13	12:29:46	673	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:46	673	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:46	673	[DEBUG]	Executed store
2023-10-13	12:29:46	673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860165','226')
2023-10-13	12:29:46	673	[DEBUG]	Find the custom field ID
2023-10-13	12:29:46	673	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:46	673	[DEBUG]	No custom field ID found
2023-10-13	12:29:46	673	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:46	673	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:29:46	673	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860165 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:46	673	[DEBUG]	Store custom available field
2023-10-13	12:29:46	673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860165,3,'9.8725',1)
2023-10-13	12:29:46	673	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:46	673	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:46	673	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860165 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:46	673	[DEBUG]	Store custom available field
2023-10-13	12:29:46	673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860165,6,'choisir la taille',3)
2023-10-13	12:29:46	673	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:46	673	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:46	673	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:46	673	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:46	673	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860165 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:46	673	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:46	673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860165,8,1)
2023-10-13	12:29:46	673	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:46	673	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860165\":[1860165,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860165
2023-10-13	12:29:46	673	[DEBUG]	Checking category
2023-10-13	12:29:46	673	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:46	673	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860165
2023-10-13	12:29:46	673	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:46	673	[DEBUG]	Executed store
2023-10-13	12:29:46	673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860165','7281')
2023-10-13	12:29:46	673	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:46	673	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860165 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:46	673	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:46	673	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860165
2023-10-13	12:29:46	674	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:46	674	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:46	674	[DEBUG]	Use field value for field taille
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:46	674	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:46	674	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:46	674	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:46	674	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:46	674	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:46	674	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:46	674	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:46	674	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:46	674	[DEBUG]	Use field value for field published
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:46	674	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field override
2023-10-13	12:29:46	674	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:46	674	[DEBUG]	Use field value for field slug
2023-10-13	12:29:46	674	[DEBUG]	Process line 674
2023-10-13	12:29:46	674	[DEBUG]	Load a row
2023-10-13	12:29:46	674	[DEBUG]	Processing item: 1000011148462
2023-10-13	12:29:46	674	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:46	674	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:46	674	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9598_827'
2023-10-13	12:29:46	674	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:46	674	[DEBUG]	Processing product tax
2023-10-13	12:29:46	674	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:46	674	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:46	674	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:46	674	[DEBUG]	Query for Product
2023-10-13	12:29:46	674	[DEBUG]	Executed store
2023-10-13	12:29:46	674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860165','1000011148462','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:46	674	[DEBUG]	No parent found
2023-10-13	12:29:46	674	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860165 AND customfield_value = 'stockable'
2023-10-13	12:29:46	674	[DEBUG]	Check product language entry
2023-10-13	12:29:46	674	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860166
2023-10-13	12:29:46	674	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:46	674	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000011148462' AND `virtuemart_product_id` != 1860166
2023-10-13	12:29:46	674	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:46	674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860166, '1000011148462')
2023-10-13	12:29:46	674	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:46	674	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-met-crackerjack-mips-cyan-52-57cm' AND `virtuemart_product_id` != 1860166
2023-10-13	12:29:46	674	[DEBUG]	Query for ProductLang
2023-10-13	12:29:46	674	[DEBUG]	Executed store
2023-10-13	12:29:46	674	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque MET Crackerjack MIPS / Cyan (52-57cm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-met-crackerjack-mips-cyan-52-57cm' WHERE `virtuemart_product_id` = '1860166'
2023-10-13	12:29:46	674	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39043_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:46	674	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:46	674	[DEBUG]	Process image file
2023-10-13	12:29:46	674	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:29:46	674	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:46	674	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39043_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:46	674	[DEBUG]	Full name target: bcprisme/39043_casque_met_crackerjack_mips.jpg
2023-10-13	12:29:47	674	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:47	674	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39043_casque_met_crackerjack_mips.jpg'
2023-10-13	12:29:47	674	[DEBUG]	Query for Media
2023-10-13	12:29:47	674	[DEBUG]	Executed store
2023-10-13	12:29:47	674	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39043_casque_met_crackerjack_mips.jpg',`file_url_thumb`='bcprisme/39043_casque_met_crackerjack_mips.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1499061'
2023-10-13	12:29:47	674	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:47	674	[DEBUG]	Executed store
2023-10-13	12:29:47	674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860166','1499061','1')
2023-10-13	12:29:47	674	[DEBUG]	Store product image relation
2023-10-13	12:29:47	674	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:47	674	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860166 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:47	674	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:47	674	[DEBUG]	Executed store
2023-10-13	12:29:47	674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860166','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:47	674	[DEBUG]	Checking manufacturer
2023-10-13	12:29:47	674	[DEBUG]	Load a row
2023-10-13	12:29:47	674	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:47	674	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:47	674	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:47	674	[DEBUG]	Executed store
2023-10-13	12:29:47	674	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:47	674	[DEBUG]	Manufacturer exists
2023-10-13	12:29:47	674	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:47	674	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:47	674	[DEBUG]	Executed store
2023-10-13	12:29:47	674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860166','226')
2023-10-13	12:29:47	674	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:47	674	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:47	674	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860166 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:47	674	[DEBUG]	Store custom available field
2023-10-13	12:29:47	674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860166,3,'',1)
2023-10-13	12:29:47	674	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:47	674	[DEBUG]	Get existing row with customfield value 52-57cm
2023-10-13	12:29:47	674	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860166 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:47	674	[DEBUG]	Store custom available field
2023-10-13	12:29:47	674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860166,6,'52-57cm',3)
2023-10-13	12:29:47	674	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:47	674	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:47	674	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860165
2023-10-13	12:29:47	674	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:47	674	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n52-57cm\"}]|clabels=0|options={\"1860165\":[1860165,8,1,\"choisir la taille\"],\"1860166\":[\"52-57cm\"]}|' WHERE `virtuemart_product_id` = 1860165
2023-10-13	12:29:47	674	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:47	674	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860166
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:47	675	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field taille
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:47	675	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:47	675	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:47	675	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:47	675	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:47	675	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:47	675	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field published
2023-10-13	12:29:47	675	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:47	675	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field override
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:47	675	[DEBUG]	Use field value for field slug
2023-10-13	12:29:47	675	[DEBUG]	Process line 675
2023-10-13	12:29:47	675	[DEBUG]	Load a row
2023-10-13	12:29:47	675	[DEBUG]	Processing item: A_9757_1
2023-10-13	12:29:47	675	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:47	675	[DEBUG]	Processing product tax
2023-10-13	12:29:47	675	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:47	675	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:47	675	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:47	675	[DEBUG]	Query for Product
2023-10-13	12:29:47	675	[DEBUG]	Executed store
2023-10-13	12:29:47	675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9757_1','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:47	675	[DEBUG]	Check product language entry
2023-10-13	12:29:47	675	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860167
2023-10-13	12:29:47	675	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:47	675	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9757_1' AND `virtuemart_product_id` != 1860167
2023-10-13	12:29:47	675	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:47	675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860167, 'A_9757_1')
2023-10-13	12:29:47	675	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:47	675	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-21-yth-rampage-49-50cm-noir' AND `virtuemart_product_id` != 1860167
2023-10-13	12:29:47	675	[DEBUG]	Query for ProductLang
2023-10-13	12:29:47	675	[DEBUG]	Executed store
2023-10-13	12:29:47	675	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Taille M 55-59cm<br>Taille L 59-63cm<br><br>N° art fourn : 27618-021',`product_name`='Fox Casque 21 YTH RAMPAGE 49-50cm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-21-yth-rampage-49-50cm-noir' WHERE `virtuemart_product_id` = '1860167'
2023-10-13	12:29:47	675	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39192_helmet_fox_21_yth_rampage_youths.jpg
2023-10-13	12:29:47	675	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:29:47	675	[DEBUG]	Process image file
2023-10-13	12:29:47	675	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:29:47	675	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:47	675	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39192_helmet_fox_21_yth_rampage_youths.jpg
2023-10-13	12:29:47	675	[DEBUG]	Full name target: bcprisme/39192_helmet_fox_21_yth_rampage_youths.jpg
2023-10-13	12:29:48	675	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:48	675	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39192_helmet_fox_21_yth_rampage_youths.jpg'
2023-10-13	12:29:48	675	[DEBUG]	Query for Media
2023-10-13	12:29:48	675	[DEBUG]	Executed store
2023-10-13	12:29:48	675	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39192_helmet_fox_21_yth_rampage_youths.jpg',`file_url_thumb`='bcprisme/39192_helmet_fox_21_yth_rampage_youths.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1584541'
2023-10-13	12:29:48	675	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:48	675	[DEBUG]	Executed store
2023-10-13	12:29:48	675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860167','1584541','1')
2023-10-13	12:29:48	675	[DEBUG]	Store product image relation
2023-10-13	12:29:48	675	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:48	675	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860167 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:48	675	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:48	675	[DEBUG]	Executed store
2023-10-13	12:29:48	675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860167','0','185.60817084494','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:48	675	[DEBUG]	Checking manufacturer
2023-10-13	12:29:48	675	[DEBUG]	Load a row
2023-10-13	12:29:48	675	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:48	675	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	12:29:48	675	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:48	675	[DEBUG]	Executed store
2023-10-13	12:29:48	675	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV-Bike',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike' WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	12:29:48	675	[DEBUG]	Manufacturer exists
2023-10-13	12:29:48	675	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 1
2023-10-13	12:29:48	675	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:48	675	[DEBUG]	Executed store
2023-10-13	12:29:48	675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860167','1')
2023-10-13	12:29:48	675	[DEBUG]	Find the custom field ID
2023-10-13	12:29:48	675	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:48	675	[DEBUG]	No custom field ID found
2023-10-13	12:29:48	675	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:48	675	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:29:48	675	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860167 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:48	675	[DEBUG]	Store custom available field
2023-10-13	12:29:48	675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860167,3,'69.7058333333334',1)
2023-10-13	12:29:48	675	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:48	675	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:48	675	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860167 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:48	675	[DEBUG]	Store custom available field
2023-10-13	12:29:48	675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860167,6,'choisir la taille',3)
2023-10-13	12:29:48	675	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:48	675	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:48	675	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:48	675	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:48	675	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860167 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:48	675	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:48	675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860167,8,1)
2023-10-13	12:29:48	675	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:48	675	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860167\":[1860167,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860167
2023-10-13	12:29:48	675	[DEBUG]	Checking category
2023-10-13	12:29:48	675	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:48	675	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860167
2023-10-13	12:29:48	675	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:48	675	[DEBUG]	Executed store
2023-10-13	12:29:48	675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860167','7281')
2023-10-13	12:29:48	675	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:48	675	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860167 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:48	675	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:48	675	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860167
2023-10-13	12:29:48	676	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:48	676	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:48	676	[DEBUG]	Use field value for field taille
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:48	676	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:48	676	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:48	676	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:48	676	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:48	676	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:48	676	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:48	676	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:48	676	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:48	676	[DEBUG]	Use field value for field published
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:48	676	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field override
2023-10-13	12:29:48	676	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:48	676	[DEBUG]	Use field value for field slug
2023-10-13	12:29:48	676	[DEBUG]	Process line 676
2023-10-13	12:29:48	676	[DEBUG]	Load a row
2023-10-13	12:29:48	676	[DEBUG]	Processing item: 1000017258660
2023-10-13	12:29:48	676	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:48	676	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:48	676	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9757_1'
2023-10-13	12:29:48	676	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:48	676	[DEBUG]	Processing product tax
2023-10-13	12:29:48	676	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:48	676	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:48	676	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:48	676	[DEBUG]	Query for Product
2023-10-13	12:29:48	676	[DEBUG]	Executed store
2023-10-13	12:29:48	676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860167','1000017258660','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:48	676	[DEBUG]	No parent found
2023-10-13	12:29:48	676	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860167 AND customfield_value = 'stockable'
2023-10-13	12:29:48	676	[DEBUG]	Check product language entry
2023-10-13	12:29:48	676	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860168
2023-10-13	12:29:48	676	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:48	676	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000017258660' AND `virtuemart_product_id` != 1860168
2023-10-13	12:29:48	676	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:48	676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860168, '1000017258660')
2023-10-13	12:29:48	676	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:48	676	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-21-yth-rampage-49-50cm-noir-s' AND `virtuemart_product_id` != 1860168
2023-10-13	12:29:48	676	[DEBUG]	Query for ProductLang
2023-10-13	12:29:48	676	[DEBUG]	Executed store
2023-10-13	12:29:48	676	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque 21 YTH RAMPAGE 49-50cm / Noir (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-21-yth-rampage-49-50cm-noir-s' WHERE `virtuemart_product_id` = '1860168'
2023-10-13	12:29:48	676	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39192_helmet_fox_21_yth_rampage_youths.jpg
2023-10-13	12:29:48	676	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:29:48	676	[DEBUG]	Process image file
2023-10-13	12:29:48	676	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:29:48	676	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:48	676	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39192_helmet_fox_21_yth_rampage_youths.jpg
2023-10-13	12:29:48	676	[DEBUG]	Full name target: bcprisme/39192_helmet_fox_21_yth_rampage_youths.jpg
2023-10-13	12:29:49	676	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:49	676	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39192_helmet_fox_21_yth_rampage_youths.jpg'
2023-10-13	12:29:49	676	[DEBUG]	Query for Media
2023-10-13	12:29:49	676	[DEBUG]	Executed store
2023-10-13	12:29:49	676	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39192_helmet_fox_21_yth_rampage_youths.jpg',`file_url_thumb`='bcprisme/39192_helmet_fox_21_yth_rampage_youths.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1584541'
2023-10-13	12:29:49	676	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:49	676	[DEBUG]	Executed store
2023-10-13	12:29:49	676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860168','1584541','1')
2023-10-13	12:29:49	676	[DEBUG]	Store product image relation
2023-10-13	12:29:49	676	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:49	676	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860168 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:49	676	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:49	676	[DEBUG]	Executed store
2023-10-13	12:29:49	676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860168','0','185.60817084494','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:49	676	[DEBUG]	Checking manufacturer
2023-10-13	12:29:49	676	[DEBUG]	Load a row
2023-10-13	12:29:49	676	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:49	676	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	12:29:49	676	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:49	676	[DEBUG]	Executed store
2023-10-13	12:29:49	676	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV-Bike',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike' WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	12:29:49	676	[DEBUG]	Manufacturer exists
2023-10-13	12:29:49	676	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 1
2023-10-13	12:29:49	676	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:49	676	[DEBUG]	Executed store
2023-10-13	12:29:49	676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860168','1')
2023-10-13	12:29:49	676	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:49	676	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:49	676	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860168 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:49	676	[DEBUG]	Store custom available field
2023-10-13	12:29:49	676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860168,3,'',1)
2023-10-13	12:29:49	676	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:49	676	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:29:49	676	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860168 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:49	676	[DEBUG]	Store custom available field
2023-10-13	12:29:49	676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860168,6,'S',3)
2023-10-13	12:29:49	676	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:49	676	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:49	676	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860167
2023-10-13	12:29:49	676	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:49	676	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\"}]|clabels=0|options={\"1860167\":[1860167,8,1,\"choisir la taille\"],\"1860168\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1860167
2023-10-13	12:29:49	676	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:49	676	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860168
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:49	677	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field taille
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:49	677	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:49	677	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:49	677	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:49	677	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:49	677	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:49	677	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field published
2023-10-13	12:29:49	677	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:49	677	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field override
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:49	677	[DEBUG]	Use field value for field slug
2023-10-13	12:29:49	677	[DEBUG]	Process line 677
2023-10-13	12:29:49	677	[DEBUG]	Load a row
2023-10-13	12:29:49	677	[DEBUG]	Processing item: A_9758_771
2023-10-13	12:29:49	677	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:49	677	[DEBUG]	Processing product tax
2023-10-13	12:29:49	677	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:49	677	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:49	677	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:49	677	[DEBUG]	Query for Product
2023-10-13	12:29:49	677	[DEBUG]	Executed store
2023-10-13	12:29:49	677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9758_771','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:49	677	[DEBUG]	Check product language entry
2023-10-13	12:29:49	677	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860169
2023-10-13	12:29:49	677	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:49	677	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9758_771' AND `virtuemart_product_id` != 1860169
2023-10-13	12:29:49	677	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:49	677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860169, 'A_9758_771')
2023-10-13	12:29:49	677	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:49	677	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-23-yth-rampage-youths-51-52cm-bleu' AND `virtuemart_product_id` != 1860169
2023-10-13	12:29:49	677	[DEBUG]	Query for ProductLang
2023-10-13	12:29:49	677	[DEBUG]	Executed store
2023-10-13	12:29:49	677	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 27616-203',`product_name`='Fox Casque 23 YTH RAMPAGE YOUTHS 51-52cm / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-23-yth-rampage-youths-51-52cm-bleu' WHERE `virtuemart_product_id` = '1860169'
2023-10-13	12:29:49	677	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39193_helmet_fox_23_yth_rampage_youths_.jpg
2023-10-13	12:29:49	677	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:29:49	677	[DEBUG]	Process image file
2023-10-13	12:29:49	677	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:29:49	677	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:49	677	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39193_helmet_fox_23_yth_rampage_youths_.jpg
2023-10-13	12:29:49	677	[DEBUG]	Full name target: bcprisme/39193_helmet_fox_23_yth_rampage_youths_.jpg
2023-10-13	12:29:50	677	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:50	677	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39193_helmet_fox_23_yth_rampage_youths_.jpg'
2023-10-13	12:29:50	677	[DEBUG]	Query for Media
2023-10-13	12:29:50	677	[DEBUG]	Executed store
2023-10-13	12:29:50	677	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39193_helmet_fox_23_yth_rampage_youths_.jpg',`file_url_thumb`='bcprisme/39193_helmet_fox_23_yth_rampage_youths_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1584543'
2023-10-13	12:29:50	677	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:50	677	[DEBUG]	Executed store
2023-10-13	12:29:50	677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860169','1584543','1')
2023-10-13	12:29:50	677	[DEBUG]	Store product image relation
2023-10-13	12:29:50	677	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:50	677	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860169 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:50	677	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:50	677	[DEBUG]	Executed store
2023-10-13	12:29:50	677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860169','0','213.463324048282','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:50	677	[DEBUG]	Checking manufacturer
2023-10-13	12:29:50	677	[DEBUG]	Load a row
2023-10-13	12:29:50	677	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:50	677	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	12:29:50	677	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:50	677	[DEBUG]	Executed store
2023-10-13	12:29:50	677	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV-Bike',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike' WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	12:29:50	677	[DEBUG]	Manufacturer exists
2023-10-13	12:29:50	677	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 1
2023-10-13	12:29:50	677	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:50	677	[DEBUG]	Executed store
2023-10-13	12:29:50	677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860169','1')
2023-10-13	12:29:50	677	[DEBUG]	Find the custom field ID
2023-10-13	12:29:50	677	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:50	677	[DEBUG]	No custom field ID found
2023-10-13	12:29:50	677	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:50	677	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	12:29:50	677	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860169 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:50	677	[DEBUG]	Store custom available field
2023-10-13	12:29:50	677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860169,3,'69.7058333333334',1)
2023-10-13	12:29:50	677	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:50	677	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:50	677	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860169 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:50	677	[DEBUG]	Store custom available field
2023-10-13	12:29:50	677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860169,6,'choisir la taille',3)
2023-10-13	12:29:50	677	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:50	677	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:50	677	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:50	677	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:50	677	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860169 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:50	677	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:50	677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860169,8,1)
2023-10-13	12:29:50	677	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:50	677	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860169\":[1860169,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860169
2023-10-13	12:29:50	677	[DEBUG]	Checking category
2023-10-13	12:29:50	677	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:50	677	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860169
2023-10-13	12:29:50	677	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:50	677	[DEBUG]	Executed store
2023-10-13	12:29:50	677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860169','7281')
2023-10-13	12:29:50	677	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:50	677	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860169 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:50	677	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:50	677	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860169
2023-10-13	12:29:50	678	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:50	678	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:50	678	[DEBUG]	Use field value for field taille
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:50	678	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:50	678	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:50	678	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:50	678	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:50	678	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:50	678	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:50	678	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:50	678	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:50	678	[DEBUG]	Use field value for field published
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:50	678	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field override
2023-10-13	12:29:50	678	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:50	678	[DEBUG]	Use field value for field slug
2023-10-13	12:29:50	678	[DEBUG]	Process line 678
2023-10-13	12:29:50	678	[DEBUG]	Load a row
2023-10-13	12:29:50	678	[DEBUG]	Processing item: 1000017258677
2023-10-13	12:29:50	678	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:50	678	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:50	678	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9758_771'
2023-10-13	12:29:50	678	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:50	678	[DEBUG]	Processing product tax
2023-10-13	12:29:50	678	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:50	678	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:50	678	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:50	678	[DEBUG]	Query for Product
2023-10-13	12:29:50	678	[DEBUG]	Executed store
2023-10-13	12:29:50	678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860169','1000017258677','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:50	678	[DEBUG]	No parent found
2023-10-13	12:29:50	678	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860169 AND customfield_value = 'stockable'
2023-10-13	12:29:50	678	[DEBUG]	Check product language entry
2023-10-13	12:29:50	678	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860170
2023-10-13	12:29:50	678	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:50	678	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000017258677' AND `virtuemart_product_id` != 1860170
2023-10-13	12:29:50	678	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:50	678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860170, '1000017258677')
2023-10-13	12:29:50	678	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:50	678	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-casque-23-yth-rampage-youths-51-52cm-bleu-l' AND `virtuemart_product_id` != 1860170
2023-10-13	12:29:50	678	[DEBUG]	Query for ProductLang
2023-10-13	12:29:50	678	[DEBUG]	Executed store
2023-10-13	12:29:50	678	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Casque 23 YTH RAMPAGE YOUTHS 51-52cm / Bleu (L)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-casque-23-yth-rampage-youths-51-52cm-bleu-l' WHERE `virtuemart_product_id` = '1860170'
2023-10-13	12:29:50	678	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39193_helmet_fox_23_yth_rampage_youths_.jpg
2023-10-13	12:29:50	678	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:29:50	678	[DEBUG]	Process image file
2023-10-13	12:29:50	678	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:29:50	678	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:50	678	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39193_helmet_fox_23_yth_rampage_youths_.jpg
2023-10-13	12:29:50	678	[DEBUG]	Full name target: bcprisme/39193_helmet_fox_23_yth_rampage_youths_.jpg
2023-10-13	12:29:51	678	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:51	678	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39193_helmet_fox_23_yth_rampage_youths_.jpg'
2023-10-13	12:29:51	678	[DEBUG]	Query for Media
2023-10-13	12:29:51	678	[DEBUG]	Executed store
2023-10-13	12:29:51	678	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39193_helmet_fox_23_yth_rampage_youths_.jpg',`file_url_thumb`='bcprisme/39193_helmet_fox_23_yth_rampage_youths_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1584543'
2023-10-13	12:29:51	678	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:51	678	[DEBUG]	Executed store
2023-10-13	12:29:51	678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860170','1584543','1')
2023-10-13	12:29:51	678	[DEBUG]	Store product image relation
2023-10-13	12:29:51	678	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:51	678	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860170 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:51	678	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:51	678	[DEBUG]	Executed store
2023-10-13	12:29:51	678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860170','0','213.463324048282','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:51	678	[DEBUG]	Checking manufacturer
2023-10-13	12:29:51	678	[DEBUG]	Load a row
2023-10-13	12:29:51	678	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:51	678	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	12:29:51	678	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:51	678	[DEBUG]	Executed store
2023-10-13	12:29:51	678	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV-Bike',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike' WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	12:29:51	678	[DEBUG]	Manufacturer exists
2023-10-13	12:29:51	678	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 1
2023-10-13	12:29:51	678	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:51	678	[DEBUG]	Executed store
2023-10-13	12:29:51	678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860170','1')
2023-10-13	12:29:51	678	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:51	678	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:51	678	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860170 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:51	678	[DEBUG]	Store custom available field
2023-10-13	12:29:51	678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860170,3,'',1)
2023-10-13	12:29:51	678	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:51	678	[DEBUG]	Get existing row with customfield value L
2023-10-13	12:29:51	678	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860170 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:51	678	[DEBUG]	Store custom available field
2023-10-13	12:29:51	678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860170,6,'L',3)
2023-10-13	12:29:51	678	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:51	678	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:51	678	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860169
2023-10-13	12:29:51	678	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:51	678	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nL\"}]|clabels=0|options={\"1860169\":[1860169,8,1,\"choisir la taille\"],\"1860170\":[\"L\"]}|' WHERE `virtuemart_product_id` = 1860169
2023-10-13	12:29:51	678	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:51	678	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860170
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:51	679	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field taille
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:51	679	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:51	679	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:51	679	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:51	679	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:51	679	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:51	679	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field published
2023-10-13	12:29:51	679	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:51	679	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field override
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:51	679	[DEBUG]	Use field value for field slug
2023-10-13	12:29:51	679	[DEBUG]	Process line 679
2023-10-13	12:29:51	679	[DEBUG]	Load a row
2023-10-13	12:29:51	679	[DEBUG]	Processing item: A_9823_898
2023-10-13	12:29:51	679	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:51	679	[DEBUG]	Processing product tax
2023-10-13	12:29:51	679	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:51	679	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:51	679	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:51	679	[DEBUG]	Query for Product
2023-10-13	12:29:51	679	[DEBUG]	Executed store
2023-10-13	12:29:51	679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9823_898','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:51	679	[DEBUG]	Check product language entry
2023-10-13	12:29:51	679	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860171
2023-10-13	12:29:51	679	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:51	679	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9823_898' AND `virtuemart_product_id` != 1860171
2023-10-13	12:29:51	679	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:51	679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860171, 'A_9823_898')
2023-10-13	12:29:51	679	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:51	679	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-parachute-black-red' AND `virtuemart_product_id` != 1860171
2023-10-13	12:29:51	679	[DEBUG]	Query for ProductLang
2023-10-13	12:29:51	679	[DEBUG]	Executed store
2023-10-13	12:29:51	679	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit<br> <br>Le MET Crossover MIPS est le casque idéal pour une utilisation polyvalente. Grâce aux clips de fixation invisibles, la visière se fixe/se retire facilement et le Crossover passe d\'un casque de VTT sportif avec visière à un casque de ville discret. Le système MIPS intégré protège efficacement ta tête en cas de chute contre les forces de rotation. Le feu arrière à LED intégré assure une grande visibilité au milieu du trafic routier.<br><br>Caractéristiques<br><br>Transformable de casque de VTT en un casque de ville<br>Système de clips invisibles pour la fixation de la visière<br>Système de protection du cerveau MIPS absorbe les forces de rotation<br>Coque en polycarbonate In-Mould avec doublure EPS<br>Système d\'ajustement Safe-T E-Mid à molette<br>Feu arrière intégré 4 LED, 60 heures d\'autonomie<br>Filet anti-insectes intégré<br>Autocollants réfléchissants à l\'arrière<br>Mousses confortables lavables à la main<br>Sangles avec boucles réglables<br>Certifications: CE, AS/NZS<br>N° art fourn : 720.008.001',`product_name`='MET Casque Parachute / Black Red',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-parachute-black-red' WHERE `virtuemart_product_id` = '1860171'
2023-10-13	12:29:51	679	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39293_casque_parachute.png
2023-10-13	12:29:51	679	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:29:51	679	[DEBUG]	Process image file
2023-10-13	12:29:51	679	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:29:51	679	[DEBUG]	Mime type found: image/png
2023-10-13	12:29:51	679	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39293_casque_parachute.png
2023-10-13	12:29:51	679	[DEBUG]	Full name target: bcprisme/39293_casque_parachute.png
2023-10-13	12:29:52	679	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:52	679	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39293_casque_parachute.png'
2023-10-13	12:29:52	679	[DEBUG]	Query for Media
2023-10-13	12:29:52	679	[DEBUG]	Executed store
2023-10-13	12:29:52	679	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/39293_casque_parachute.png',`file_url_thumb`='bcprisme/39293_casque_parachute.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1616779'
2023-10-13	12:29:52	679	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:52	679	[DEBUG]	Executed store
2023-10-13	12:29:52	679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860171','1616779','1')
2023-10-13	12:29:52	679	[DEBUG]	Store product image relation
2023-10-13	12:29:52	679	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:52	679	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860171 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:52	679	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:52	679	[DEBUG]	Executed store
2023-10-13	12:29:52	679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860171','0','240.482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:52	679	[DEBUG]	Checking manufacturer
2023-10-13	12:29:52	679	[DEBUG]	Load a row
2023-10-13	12:29:52	679	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:52	679	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:52	679	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:52	679	[DEBUG]	Executed store
2023-10-13	12:29:52	679	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:52	679	[DEBUG]	Manufacturer exists
2023-10-13	12:29:52	679	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:52	679	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:52	679	[DEBUG]	Executed store
2023-10-13	12:29:52	679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860171','226')
2023-10-13	12:29:52	679	[DEBUG]	Find the custom field ID
2023-10-13	12:29:52	679	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:52	679	[DEBUG]	No custom field ID found
2023-10-13	12:29:52	679	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:52	679	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:29:52	679	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860171 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:52	679	[DEBUG]	Store custom available field
2023-10-13	12:29:52	679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860171,3,'9.8725',1)
2023-10-13	12:29:52	679	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:52	679	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:52	679	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860171 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:52	679	[DEBUG]	Store custom available field
2023-10-13	12:29:52	679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860171,6,'choisir la taille',3)
2023-10-13	12:29:52	679	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:52	679	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:52	679	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:52	679	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:52	679	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860171 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:52	679	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:52	679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860171,8,1)
2023-10-13	12:29:52	679	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:52	679	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860171\":[1860171,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860171
2023-10-13	12:29:52	679	[DEBUG]	Checking category
2023-10-13	12:29:52	679	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:52	679	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860171
2023-10-13	12:29:52	679	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:52	679	[DEBUG]	Executed store
2023-10-13	12:29:52	679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860171','7281')
2023-10-13	12:29:52	679	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:52	679	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860171 AND `virtuemart_category_id` NOT IN (7281)
2023-10-13	12:29:52	679	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:52	679	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860171
2023-10-13	12:29:52	680	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:52	680	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:52	680	[DEBUG]	Use field value for field taille
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:52	680	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:52	680	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:52	680	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:52	680	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:52	680	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:52	680	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:52	680	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:52	680	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:52	680	[DEBUG]	Use field value for field published
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:52	680	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field override
2023-10-13	12:29:52	680	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:52	680	[DEBUG]	Use field value for field slug
2023-10-13	12:29:52	680	[DEBUG]	Process line 680
2023-10-13	12:29:52	680	[DEBUG]	Load a row
2023-10-13	12:29:52	680	[DEBUG]	Processing item: 1000022734883
2023-10-13	12:29:52	680	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:52	680	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:52	680	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9823_898'
2023-10-13	12:29:52	680	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:52	680	[DEBUG]	Processing product tax
2023-10-13	12:29:52	680	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:52	680	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:52	680	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:52	680	[DEBUG]	Query for Product
2023-10-13	12:29:52	680	[DEBUG]	Executed store
2023-10-13	12:29:52	680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860171','1000022734883','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:52	680	[DEBUG]	No parent found
2023-10-13	12:29:52	680	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860171 AND customfield_value = 'stockable'
2023-10-13	12:29:52	680	[DEBUG]	Check product language entry
2023-10-13	12:29:52	680	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860172
2023-10-13	12:29:52	680	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:52	680	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022734883' AND `virtuemart_product_id` != 1860172
2023-10-13	12:29:52	680	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:52	680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860172, '1000022734883')
2023-10-13	12:29:52	680	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:52	680	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'met-casque-parachute-black-red-s' AND `virtuemart_product_id` != 1860172
2023-10-13	12:29:52	680	[DEBUG]	Query for ProductLang
2023-10-13	12:29:52	680	[DEBUG]	Executed store
2023-10-13	12:29:52	680	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MET Casque Parachute / Black Red (S)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='met-casque-parachute-black-red-s' WHERE `virtuemart_product_id` = '1860172'
2023-10-13	12:29:52	680	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39293_casque_parachute.png
2023-10-13	12:29:52	680	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:29:52	680	[DEBUG]	Process image file
2023-10-13	12:29:52	680	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	12:29:52	680	[DEBUG]	Mime type found: image/png
2023-10-13	12:29:52	680	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39293_casque_parachute.png
2023-10-13	12:29:52	680	[DEBUG]	Full name target: bcprisme/39293_casque_parachute.png
2023-10-13	12:29:53	680	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:53	680	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39293_casque_parachute.png'
2023-10-13	12:29:53	680	[DEBUG]	Query for Media
2023-10-13	12:29:53	680	[DEBUG]	Executed store
2023-10-13	12:29:53	680	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/39293_casque_parachute.png',`file_url_thumb`='bcprisme/39293_casque_parachute.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1616779'
2023-10-13	12:29:53	680	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:53	680	[DEBUG]	Executed store
2023-10-13	12:29:53	680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860172','1616779','1')
2023-10-13	12:29:53	680	[DEBUG]	Store product image relation
2023-10-13	12:29:53	680	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:53	680	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860172 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:53	680	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:53	680	[DEBUG]	Executed store
2023-10-13	12:29:53	680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860172','0','240.482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:53	680	[DEBUG]	Checking manufacturer
2023-10-13	12:29:53	680	[DEBUG]	Load a row
2023-10-13	12:29:53	680	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:53	680	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:53	680	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:53	680	[DEBUG]	Executed store
2023-10-13	12:29:53	680	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='193',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='193' WHERE `virtuemart_manufacturer_id` = '226'
2023-10-13	12:29:53	680	[DEBUG]	Manufacturer exists
2023-10-13	12:29:53	680	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 226
2023-10-13	12:29:53	680	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:53	680	[DEBUG]	Executed store
2023-10-13	12:29:53	680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860172','226')
2023-10-13	12:29:53	680	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:53	680	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:53	680	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860172 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:53	680	[DEBUG]	Store custom available field
2023-10-13	12:29:53	680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860172,3,'',1)
2023-10-13	12:29:53	680	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:53	680	[DEBUG]	Get existing row with customfield value S
2023-10-13	12:29:53	680	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860172 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:53	680	[DEBUG]	Store custom available field
2023-10-13	12:29:53	680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860172,6,'S',3)
2023-10-13	12:29:53	680	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:53	680	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:53	680	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860171
2023-10-13	12:29:53	680	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:53	680	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nS\"}]|clabels=0|options={\"1860171\":[1860171,8,1,\"choisir la taille\"],\"1860172\":[\"S\"]}|' WHERE `virtuemart_product_id` = 1860171
2023-10-13	12:29:53	680	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:53	680	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860172
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:53	681	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field taille
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:53	681	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:53	681	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:53	681	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:53	681	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:53	681	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:53	681	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field published
2023-10-13	12:29:53	681	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:53	681	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field override
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:53	681	[DEBUG]	Use field value for field slug
2023-10-13	12:29:53	681	[DEBUG]	Process line 681
2023-10-13	12:29:53	681	[DEBUG]	Load a row
2023-10-13	12:29:53	681	[DEBUG]	Processing item: A_134_20
2023-10-13	12:29:53	681	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:53	681	[DEBUG]	Processing product tax
2023-10-13	12:29:53	681	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:53	681	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:53	681	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:53	681	[DEBUG]	Query for Product
2023-10-13	12:29:53	681	[DEBUG]	Executed store
2023-10-13	12:29:53	681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_134_20','0.229','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:53	681	[DEBUG]	Check product language entry
2023-10-13	12:29:53	681	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860173
2023-10-13	12:29:53	681	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:53	681	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_134_20' AND `virtuemart_product_id` != 1860173
2023-10-13	12:29:53	681	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:53	681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860173, 'A_134_20')
2023-10-13	12:29:53	681	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:53	681	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-tiso-9-vitesses-shimano-11-21-d-oxyde-dur-oxyde' AND `virtuemart_product_id` != 1860173
2023-10-13	12:29:53	681	[DEBUG]	Query for ProductLang
2023-10-13	12:29:53	681	[DEBUG]	Executed store
2023-10-13	12:29:53	681	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='11/21-9, 229gr<br>N° art fourn : 159112199',`product_name`='MSC Cassette TISO 9 vitesses Shimano 11-21 d. Oxyde dur / Oxyde',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-tiso-9-vitesses-shimano-11-21-d-oxyde-dur-oxyde' WHERE `virtuemart_product_id` = '1860173'
2023-10-13	12:29:53	681	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_134.jpg
2023-10-13	12:29:53	681	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:29:53	681	[DEBUG]	Process image file
2023-10-13	12:29:53	681	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:29:53	681	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:53	681	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_134.jpg
2023-10-13	12:29:53	681	[DEBUG]	Full name target: bcprisme/image_134.jpg
2023-10-13	12:29:54	681	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:54	681	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_134.jpg'
2023-10-13	12:29:54	681	[DEBUG]	Query for Media
2023-10-13	12:29:54	681	[DEBUG]	Executed store
2023-10-13	12:29:54	681	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_134.jpg',`file_url_thumb`='bcprisme/image_134.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12430'
2023-10-13	12:29:54	681	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:54	681	[DEBUG]	Executed store
2023-10-13	12:29:54	681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860173','12430','1')
2023-10-13	12:29:54	681	[DEBUG]	Store product image relation
2023-10-13	12:29:54	681	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:54	681	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860173 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:54	681	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:54	681	[DEBUG]	Executed store
2023-10-13	12:29:54	681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860173','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:54	681	[DEBUG]	Checking manufacturer
2023-10-13	12:29:54	681	[DEBUG]	Load a row
2023-10-13	12:29:54	681	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:54	681	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:29:54	681	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:54	681	[DEBUG]	Executed store
2023-10-13	12:29:54	681	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:29:54	681	[DEBUG]	Manufacturer exists
2023-10-13	12:29:54	681	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:29:54	681	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:54	681	[DEBUG]	Executed store
2023-10-13	12:29:54	681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860173','32')
2023-10-13	12:29:54	681	[DEBUG]	Find the custom field ID
2023-10-13	12:29:54	681	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:54	681	[DEBUG]	No custom field ID found
2023-10-13	12:29:54	681	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:54	681	[DEBUG]	Get existing row with customfield value 198.447222222222
2023-10-13	12:29:54	681	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860173 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:54	681	[DEBUG]	Store custom available field
2023-10-13	12:29:54	681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860173,3,'198.447222222222',1)
2023-10-13	12:29:54	681	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:54	681	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:54	681	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860173 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:54	681	[DEBUG]	Store custom available field
2023-10-13	12:29:54	681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860173,6,'choisir la taille',3)
2023-10-13	12:29:54	681	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:54	681	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:54	681	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:54	681	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:54	681	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860173 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:54	681	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:54	681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860173,8,1)
2023-10-13	12:29:54	681	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:54	681	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860173\":[1860173,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860173
2023-10-13	12:29:54	681	[DEBUG]	Checking category
2023-10-13	12:29:54	681	[DEBUG]	Check if category path exists: CASSETTES - KASSETTEN
2023-10-13	12:29:54	681	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASSETTES - KASSETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:29:54	681	[DEBUG]	Check if category path exists: CASSETTES - KASSETTEN
2023-10-13	12:29:54	681	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASSETTES - KASSETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7282
2023-10-13	12:29:54	681	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:54	681	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860173
2023-10-13	12:29:54	681	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:54	681	[DEBUG]	Executed store
2023-10-13	12:29:54	681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860173','7283')
2023-10-13	12:29:54	681	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:54	681	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860173 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:29:54	681	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:54	681	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860173
2023-10-13	12:29:54	682	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:54	682	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:54	682	[DEBUG]	Use field value for field taille
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:54	682	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:54	682	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:54	682	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:54	682	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:54	682	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:54	682	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:54	682	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:54	682	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:54	682	[DEBUG]	Use field value for field published
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:54	682	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field override
2023-10-13	12:29:54	682	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:54	682	[DEBUG]	Use field value for field slug
2023-10-13	12:29:54	682	[DEBUG]	Process line 682
2023-10-13	12:29:54	682	[DEBUG]	Load a row
2023-10-13	12:29:54	682	[DEBUG]	Processing item: 8436041551461
2023-10-13	12:29:54	682	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:54	682	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:54	682	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_134_20'
2023-10-13	12:29:54	682	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:54	682	[DEBUG]	Processing product tax
2023-10-13	12:29:54	682	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:54	682	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:54	682	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:54	682	[DEBUG]	Query for Product
2023-10-13	12:29:54	682	[DEBUG]	Executed store
2023-10-13	12:29:54	682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860173','8436041551461','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:54	682	[DEBUG]	No parent found
2023-10-13	12:29:54	682	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860173 AND customfield_value = 'stockable'
2023-10-13	12:29:54	682	[DEBUG]	Check product language entry
2023-10-13	12:29:54	682	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860174
2023-10-13	12:29:54	682	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:54	682	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041551461' AND `virtuemart_product_id` != 1860174
2023-10-13	12:29:54	682	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:54	682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860174, '8436041551461')
2023-10-13	12:29:54	682	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:54	682	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-tiso-9-vitesses-shimano-11-21-d-oxyde-dur-oxyde-unitaire' AND `virtuemart_product_id` != 1860174
2023-10-13	12:29:54	682	[DEBUG]	Query for ProductLang
2023-10-13	12:29:54	682	[DEBUG]	Executed store
2023-10-13	12:29:54	682	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette TISO 9 vitesses Shimano 11-21 d. Oxyde dur / Oxyde (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-tiso-9-vitesses-shimano-11-21-d-oxyde-dur-oxyde-unitaire' WHERE `virtuemart_product_id` = '1860174'
2023-10-13	12:29:54	682	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_134.jpg
2023-10-13	12:29:54	682	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:29:54	682	[DEBUG]	Process image file
2023-10-13	12:29:54	682	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:29:54	682	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:54	682	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_134.jpg
2023-10-13	12:29:54	682	[DEBUG]	Full name target: bcprisme/image_134.jpg
2023-10-13	12:29:55	682	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:55	682	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_134.jpg'
2023-10-13	12:29:55	682	[DEBUG]	Query for Media
2023-10-13	12:29:55	682	[DEBUG]	Executed store
2023-10-13	12:29:55	682	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_134.jpg',`file_url_thumb`='bcprisme/image_134.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12430'
2023-10-13	12:29:55	682	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:55	682	[DEBUG]	Executed store
2023-10-13	12:29:55	682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860174','12430','1')
2023-10-13	12:29:55	682	[DEBUG]	Store product image relation
2023-10-13	12:29:55	682	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:55	682	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860174 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:55	682	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:55	682	[DEBUG]	Executed store
2023-10-13	12:29:55	682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860174','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:55	682	[DEBUG]	Checking manufacturer
2023-10-13	12:29:55	682	[DEBUG]	Load a row
2023-10-13	12:29:55	682	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:55	682	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:29:55	682	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:55	682	[DEBUG]	Executed store
2023-10-13	12:29:55	682	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:29:55	682	[DEBUG]	Manufacturer exists
2023-10-13	12:29:55	682	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:29:55	682	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:55	682	[DEBUG]	Executed store
2023-10-13	12:29:55	682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860174','32')
2023-10-13	12:29:55	682	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:55	682	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:55	682	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860174 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:55	682	[DEBUG]	Store custom available field
2023-10-13	12:29:55	682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860174,3,'',1)
2023-10-13	12:29:55	682	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:55	682	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:29:55	682	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860174 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:55	682	[DEBUG]	Store custom available field
2023-10-13	12:29:55	682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860174,6,'Unitaire',3)
2023-10-13	12:29:55	682	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:55	682	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:55	682	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860173
2023-10-13	12:29:55	682	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:55	682	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860173\":[1860173,8,1,\"choisir la taille\"],\"1860174\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860173
2023-10-13	12:29:55	682	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:55	682	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860174
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:55	683	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field taille
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:55	683	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:55	683	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:55	683	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:55	683	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:55	683	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:55	683	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field published
2023-10-13	12:29:55	683	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:55	683	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field override
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:55	683	[DEBUG]	Use field value for field slug
2023-10-13	12:29:55	683	[DEBUG]	Process line 683
2023-10-13	12:29:55	683	[DEBUG]	Load a row
2023-10-13	12:29:55	683	[DEBUG]	Processing item: A_3755_13
2023-10-13	12:29:55	683	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:55	683	[DEBUG]	Processing product tax
2023-10-13	12:29:55	683	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:55	683	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:55	683	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:55	683	[DEBUG]	Query for Product
2023-10-13	12:29:55	683	[DEBUG]	Executed store
2023-10-13	12:29:55	683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3755_13','0.471','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:55	683	[DEBUG]	Check product language entry
2023-10-13	12:29:55	683	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860175
2023-10-13	12:29:55	683	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:55	683	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3755_13' AND `virtuemart_product_id` != 1860175
2023-10-13	12:29:55	683	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:55	683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860175, 'A_3755_13')
2023-10-13	12:29:55	683	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:55	683	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-sun-race-mx8-11v-11-46-471-gr-argent' AND `virtuemart_product_id` != 1860175
2023-10-13	12:29:55	683	[DEBUG]	Query for ProductLang
2023-10-13	12:29:55	683	[DEBUG]	Executed store
2023-10-13	12:29:55	683	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='CASSETTE SUN RACE MX8 11V 11-46 SILVER Argent 471 g 11 spd --11-13-15-18-21-24-28-32-36-40-46<br>N° art fourn : SRCSMX81146SV',`product_name`='MSC Cassette SUN RACE MX8 11V 11-46  471 gr. / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-sun-race-mx8-11v-11-46-471-gr-argent' WHERE `virtuemart_product_id` = '1860175'
2023-10-13	12:29:55	683	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20059.jpg
2023-10-13	12:29:55	683	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:55	683	[DEBUG]	Process image file
2023-10-13	12:29:55	683	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:55	683	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:55	683	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20059.jpg
2023-10-13	12:29:55	683	[DEBUG]	Full name target: bcprisme/image_20059.jpg
2023-10-13	12:29:56	683	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:56	683	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20059.jpg'
2023-10-13	12:29:56	683	[DEBUG]	Query for Media
2023-10-13	12:29:56	683	[DEBUG]	Executed store
2023-10-13	12:29:56	683	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20059.jpg',`file_url_thumb`='bcprisme/image_20059.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12445'
2023-10-13	12:29:56	683	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:56	683	[DEBUG]	Executed store
2023-10-13	12:29:56	683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860175','12445','1')
2023-10-13	12:29:56	683	[DEBUG]	Store product image relation
2023-10-13	12:29:56	683	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:56	683	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860175 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:56	683	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:56	683	[DEBUG]	Executed store
2023-10-13	12:29:56	683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860175','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:56	683	[DEBUG]	Checking manufacturer
2023-10-13	12:29:56	683	[DEBUG]	Load a row
2023-10-13	12:29:56	683	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:56	683	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:29:56	683	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:56	683	[DEBUG]	Executed store
2023-10-13	12:29:56	683	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:29:56	683	[DEBUG]	Manufacturer exists
2023-10-13	12:29:56	683	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:29:56	683	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:56	683	[DEBUG]	Executed store
2023-10-13	12:29:56	683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860175','32')
2023-10-13	12:29:56	683	[DEBUG]	Find the custom field ID
2023-10-13	12:29:56	683	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:56	683	[DEBUG]	No custom field ID found
2023-10-13	12:29:56	683	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:56	683	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	12:29:56	683	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860175 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:56	683	[DEBUG]	Store custom available field
2023-10-13	12:29:56	683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860175,3,'129.539166666667',1)
2023-10-13	12:29:56	683	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:56	683	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:56	683	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860175 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:56	683	[DEBUG]	Store custom available field
2023-10-13	12:29:56	683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860175,6,'choisir la taille',3)
2023-10-13	12:29:56	683	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:56	683	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:56	683	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:56	683	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:56	683	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860175 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:56	683	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:56	683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860175,8,1)
2023-10-13	12:29:56	683	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:56	683	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860175\":[1860175,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860175
2023-10-13	12:29:56	683	[DEBUG]	Checking category
2023-10-13	12:29:56	683	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:56	683	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860175
2023-10-13	12:29:56	683	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:56	683	[DEBUG]	Executed store
2023-10-13	12:29:56	683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860175','7283')
2023-10-13	12:29:56	683	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:56	683	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860175 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:29:56	683	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:56	683	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860175
2023-10-13	12:29:56	684	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:56	684	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:56	684	[DEBUG]	Use field value for field taille
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:56	684	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:56	684	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:56	684	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:56	684	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:56	684	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:56	684	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:56	684	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:56	684	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:56	684	[DEBUG]	Use field value for field published
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:56	684	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field override
2023-10-13	12:29:56	684	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:56	684	[DEBUG]	Use field value for field slug
2023-10-13	12:29:56	684	[DEBUG]	Process line 684
2023-10-13	12:29:56	684	[DEBUG]	Load a row
2023-10-13	12:29:56	684	[DEBUG]	Processing item: 4710944252453
2023-10-13	12:29:56	684	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:56	684	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:56	684	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3755_13'
2023-10-13	12:29:56	684	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:56	684	[DEBUG]	Processing product tax
2023-10-13	12:29:56	684	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:56	684	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:56	684	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:56	684	[DEBUG]	Query for Product
2023-10-13	12:29:56	684	[DEBUG]	Executed store
2023-10-13	12:29:56	684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860175','4710944252453','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:56	684	[DEBUG]	No parent found
2023-10-13	12:29:56	684	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860175 AND customfield_value = 'stockable'
2023-10-13	12:29:56	684	[DEBUG]	Check product language entry
2023-10-13	12:29:56	684	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860176
2023-10-13	12:29:56	684	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:56	684	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4710944252453' AND `virtuemart_product_id` != 1860176
2023-10-13	12:29:56	684	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:56	684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860176, '4710944252453')
2023-10-13	12:29:56	684	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:56	684	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-sun-race-mx8-11v-11-46-471-gr-argent-unitaire' AND `virtuemart_product_id` != 1860176
2023-10-13	12:29:56	684	[DEBUG]	Query for ProductLang
2023-10-13	12:29:56	684	[DEBUG]	Executed store
2023-10-13	12:29:56	684	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette SUN RACE MX8 11V 11-46  471 gr. / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-sun-race-mx8-11v-11-46-471-gr-argent-unitaire' WHERE `virtuemart_product_id` = '1860176'
2023-10-13	12:29:56	684	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20059.jpg
2023-10-13	12:29:56	684	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:56	684	[DEBUG]	Process image file
2023-10-13	12:29:56	684	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:56	684	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:56	684	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20059.jpg
2023-10-13	12:29:56	684	[DEBUG]	Full name target: bcprisme/image_20059.jpg
2023-10-13	12:29:57	684	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:57	684	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20059.jpg'
2023-10-13	12:29:57	684	[DEBUG]	Query for Media
2023-10-13	12:29:57	684	[DEBUG]	Executed store
2023-10-13	12:29:57	684	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20059.jpg',`file_url_thumb`='bcprisme/image_20059.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12445'
2023-10-13	12:29:57	684	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:57	684	[DEBUG]	Executed store
2023-10-13	12:29:57	684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860176','12445','1')
2023-10-13	12:29:57	684	[DEBUG]	Store product image relation
2023-10-13	12:29:57	684	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:57	684	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860176 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:57	684	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:57	684	[DEBUG]	Executed store
2023-10-13	12:29:57	684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860176','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:57	684	[DEBUG]	Checking manufacturer
2023-10-13	12:29:57	684	[DEBUG]	Load a row
2023-10-13	12:29:57	684	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:57	684	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:29:57	684	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:57	684	[DEBUG]	Executed store
2023-10-13	12:29:57	684	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:29:57	684	[DEBUG]	Manufacturer exists
2023-10-13	12:29:57	684	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:29:57	684	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:57	684	[DEBUG]	Executed store
2023-10-13	12:29:57	684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860176','32')
2023-10-13	12:29:57	684	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:57	684	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:29:57	684	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860176 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:57	684	[DEBUG]	Store custom available field
2023-10-13	12:29:57	684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860176,3,'',1)
2023-10-13	12:29:57	684	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:57	684	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:29:57	684	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860176 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:57	684	[DEBUG]	Store custom available field
2023-10-13	12:29:57	684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860176,6,'Unitaire',3)
2023-10-13	12:29:57	684	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:57	684	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:29:57	684	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860175
2023-10-13	12:29:57	684	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:57	684	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860175\":[1860175,8,1,\"choisir la taille\"],\"1860176\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860175
2023-10-13	12:29:57	684	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:57	684	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860176
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:57	685	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field taille
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field category_path
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:57	685	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:29:57	685	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:57	685	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field product_weight
2023-10-13	12:29:57	685	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:57	685	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:57	685	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field published
2023-10-13	12:29:57	685	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:57	685	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field custom_title
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field custom_param
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field override
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field public_price
2023-10-13	12:29:57	685	[DEBUG]	Use field value for field slug
2023-10-13	12:29:57	685	[DEBUG]	Process line 685
2023-10-13	12:29:57	685	[DEBUG]	Load a row
2023-10-13	12:29:57	685	[DEBUG]	Processing item: A_4169_1
2023-10-13	12:29:57	685	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:57	685	[DEBUG]	Processing product tax
2023-10-13	12:29:57	685	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:57	685	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:57	685	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:57	685	[DEBUG]	Query for Product
2023-10-13	12:29:57	685	[DEBUG]	Executed store
2023-10-13	12:29:57	685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4169_1','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:57	685	[DEBUG]	Check product language entry
2023-10-13	12:29:57	685	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860177
2023-10-13	12:29:57	685	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:57	685	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4169_1' AND `virtuemart_product_id` != 1860177
2023-10-13	12:29:57	685	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:57	685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860177, 'A_4169_1')
2023-10-13	12:29:57	685	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:57	685	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-42-black-noir' AND `virtuemart_product_id` != 1860177
2023-10-13	12:29:57	685	[DEBUG]	Query for ProductLang
2023-10-13	12:29:57	685	[DEBUG]	Executed store
2023-10-13	12:29:57	685	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='10 vitesses, 404 gr.<br>N° art fourn : CSMSC101142BK',`product_name`='MSC Cassette MSC 10 vitesses 11-42 black  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-42-black-noir' WHERE `virtuemart_product_id` = '1860177'
2023-10-13	12:29:57	685	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26031_.jpg
2023-10-13	12:29:57	685	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:57	685	[DEBUG]	Process image file
2023-10-13	12:29:57	685	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:57	685	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:57	685	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26031_.jpg
2023-10-13	12:29:57	685	[DEBUG]	Full name target: bcprisme/26031_.jpg
2023-10-13	12:29:58	685	[DEBUG]	Checking if the file_url exists
2023-10-13	12:29:58	685	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26031_.jpg'
2023-10-13	12:29:58	685	[DEBUG]	Query for Media
2023-10-13	12:29:58	685	[DEBUG]	Executed store
2023-10-13	12:29:58	685	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26031_.jpg',`file_url_thumb`='bcprisme/26031_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12447'
2023-10-13	12:29:58	685	[DEBUG]	Query for ProductMedia
2023-10-13	12:29:58	685	[DEBUG]	Executed store
2023-10-13	12:29:58	685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860177','12447','1')
2023-10-13	12:29:58	685	[DEBUG]	Store product image relation
2023-10-13	12:29:58	685	[DEBUG]	Finding a product_price_id
2023-10-13	12:29:58	685	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860177 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:29:58	685	[DEBUG]	Query for ProductPrice
2023-10-13	12:29:58	685	[DEBUG]	Executed store
2023-10-13	12:29:58	685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860177','0','101.764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:29:58	685	[DEBUG]	Checking manufacturer
2023-10-13	12:29:58	685	[DEBUG]	Load a row
2023-10-13	12:29:58	685	[DEBUG]	Manufacturer already exists
2023-10-13	12:29:58	685	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:29:58	685	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:29:58	685	[DEBUG]	Executed store
2023-10-13	12:29:58	685	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:29:58	685	[DEBUG]	Manufacturer exists
2023-10-13	12:29:58	685	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:29:58	685	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:29:58	685	[DEBUG]	Executed store
2023-10-13	12:29:58	685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860177','32')
2023-10-13	12:29:58	685	[DEBUG]	Find the custom field ID
2023-10-13	12:29:58	685	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:29:58	685	[DEBUG]	No custom field ID found
2023-10-13	12:29:58	685	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:29:58	685	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:29:58	685	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860177 AND `virtuemart_custom_id` = 3
2023-10-13	12:29:58	685	[DEBUG]	Store custom available field
2023-10-13	12:29:58	685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860177,3,'109.594722222222',1)
2023-10-13	12:29:58	685	[DEBUG]	Processing custom available field: taille
2023-10-13	12:29:58	685	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:29:58	685	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860177 AND `virtuemart_custom_id` = 6
2023-10-13	12:29:58	685	[DEBUG]	Store custom available field
2023-10-13	12:29:58	685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860177,6,'choisir la taille',3)
2023-10-13	12:29:58	685	[DEBUG]	Process multi-variant fields
2023-10-13	12:29:58	685	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:29:58	685	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:29:58	685	[DEBUG]	Find the multi variant product entry
2023-10-13	12:29:58	685	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860177 AND `virtuemart_custom_id` = 8
2023-10-13	12:29:58	685	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:29:58	685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860177,8,1)
2023-10-13	12:29:58	685	[DEBUG]	Store the updated customfield_params
2023-10-13	12:29:58	685	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860177\":[1860177,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860177
2023-10-13	12:29:58	685	[DEBUG]	Checking category
2023-10-13	12:29:58	685	[DEBUG]	Get the existing categories for the product
2023-10-13	12:29:58	685	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860177
2023-10-13	12:29:58	685	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:29:59	685	[DEBUG]	Executed store
2023-10-13	12:29:59	685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860177','7283')
2023-10-13	12:29:59	685	[DEBUG]	Delete leftover product categories
2023-10-13	12:29:59	685	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860177 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:29:59	685	[DEBUG]	Update has fields after all processing
2023-10-13	12:29:59	685	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860177
2023-10-13	12:29:59	686	[DEBUG]	Use field value for field product_sku
2023-10-13	12:29:59	686	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:29:59	686	[DEBUG]	Use field value for field taille
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:29:59	686	[DEBUG]	Use field value for field product_name
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field category_path
2023-10-13	12:29:59	686	[DEBUG]	Use field value for field product_price
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:29:59	686	[DEBUG]	Use field value for field product_tax
2023-10-13	12:29:59	686	[DEBUG]	Use field value for field file_url
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field product_desc
2023-10-13	12:29:59	686	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:29:59	686	[DEBUG]	Use field value for field product_availability
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field product_weight
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field product_unit
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field related_products
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field product_special
2023-10-13	12:29:59	686	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:29:59	686	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:29:59	686	[DEBUG]	Use field value for field published
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field metadesc
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field metakey
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field custom_title
2023-10-13	12:29:59	686	[DEBUG]	Use field value for field custom_value
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field custom_param
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field override
2023-10-13	12:29:59	686	[DEBUG]	Use default value for field public_price
2023-10-13	12:29:59	686	[DEBUG]	Use field value for field slug
2023-10-13	12:29:59	686	[DEBUG]	Process line 686
2023-10-13	12:29:59	686	[DEBUG]	Load a row
2023-10-13	12:29:59	686	[DEBUG]	Processing item: 1000000064278
2023-10-13	12:29:59	686	[DEBUG]	Looking for parent SKU
2023-10-13	12:29:59	686	[DEBUG]	Checking product parent SKU
2023-10-13	12:29:59	686	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4169_1'
2023-10-13	12:29:59	686	[DEBUG]	Product tax: 7.7
2023-10-13	12:29:59	686	[DEBUG]	Processing product tax
2023-10-13	12:29:59	686	[DEBUG]	Check if calculation rule exists
2023-10-13	12:29:59	686	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:29:59	686	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:29:59	686	[DEBUG]	Query for Product
2023-10-13	12:29:59	686	[DEBUG]	Executed store
2023-10-13	12:29:59	686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860177','1000000064278','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:29:59	686	[DEBUG]	No parent found
2023-10-13	12:29:59	686	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860177 AND customfield_value = 'stockable'
2023-10-13	12:29:59	686	[DEBUG]	Check product language entry
2023-10-13	12:29:59	686	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860178
2023-10-13	12:29:59	686	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:59	686	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000064278' AND `virtuemart_product_id` != 1860178
2023-10-13	12:29:59	686	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:29:59	686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860178, '1000000064278')
2023-10-13	12:29:59	686	[DEBUG]	Check if the product slug exists
2023-10-13	12:29:59	686	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-42-black-noir-unitaire' AND `virtuemart_product_id` != 1860178
2023-10-13	12:29:59	686	[DEBUG]	Query for ProductLang
2023-10-13	12:29:59	686	[DEBUG]	Executed store
2023-10-13	12:29:59	686	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 10 vitesses 11-42 black  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-42-black-noir-unitaire' WHERE `virtuemart_product_id` = '1860178'
2023-10-13	12:29:59	686	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26031_.jpg
2023-10-13	12:29:59	686	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:59	686	[DEBUG]	Process image file
2023-10-13	12:29:59	686	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:29:59	686	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:29:59	686	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26031_.jpg
2023-10-13	12:29:59	686	[DEBUG]	Full name target: bcprisme/26031_.jpg
2023-10-13	12:30:00	686	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:00	686	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26031_.jpg'
2023-10-13	12:30:00	686	[DEBUG]	Query for Media
2023-10-13	12:30:00	686	[DEBUG]	Executed store
2023-10-13	12:30:00	686	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26031_.jpg',`file_url_thumb`='bcprisme/26031_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12447'
2023-10-13	12:30:00	686	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:00	686	[DEBUG]	Executed store
2023-10-13	12:30:00	686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860178','12447','1')
2023-10-13	12:30:00	686	[DEBUG]	Store product image relation
2023-10-13	12:30:00	686	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:00	686	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860178 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:00	686	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:00	686	[DEBUG]	Executed store
2023-10-13	12:30:00	686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860178','0','101.764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:00	686	[DEBUG]	Checking manufacturer
2023-10-13	12:30:00	686	[DEBUG]	Load a row
2023-10-13	12:30:00	686	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:00	686	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:00	686	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:00	686	[DEBUG]	Executed store
2023-10-13	12:30:00	686	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:00	686	[DEBUG]	Manufacturer exists
2023-10-13	12:30:00	686	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:30:00	686	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:00	686	[DEBUG]	Executed store
2023-10-13	12:30:00	686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860178','32')
2023-10-13	12:30:00	686	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:00	686	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:00	686	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860178 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:00	686	[DEBUG]	Store custom available field
2023-10-13	12:30:00	686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860178,3,'',1)
2023-10-13	12:30:00	686	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:00	686	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:30:00	686	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860178 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:00	686	[DEBUG]	Store custom available field
2023-10-13	12:30:00	686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860178,6,'Unitaire',3)
2023-10-13	12:30:00	686	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:00	686	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:00	686	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860177
2023-10-13	12:30:00	686	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:00	686	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860177\":[1860177,8,1,\"choisir la taille\"],\"1860178\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860177
2023-10-13	12:30:00	686	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:00	686	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860178
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:00	687	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field taille
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:00	687	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:00	687	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:00	687	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:00	687	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:00	687	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:00	687	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field published
2023-10-13	12:30:00	687	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:00	687	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field override
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:00	687	[DEBUG]	Use field value for field slug
2023-10-13	12:30:00	687	[DEBUG]	Process line 687
2023-10-13	12:30:00	687	[DEBUG]	Load a row
2023-10-13	12:30:00	687	[DEBUG]	Processing item: A_4170_1
2023-10-13	12:30:00	687	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:00	687	[DEBUG]	Processing product tax
2023-10-13	12:30:00	687	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:00	687	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:00	687	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:00	687	[DEBUG]	Query for Product
2023-10-13	12:30:00	687	[DEBUG]	Executed store
2023-10-13	12:30:00	687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4170_1','0.456','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:30:00	687	[DEBUG]	Check product language entry
2023-10-13	12:30:00	687	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860179
2023-10-13	12:30:00	687	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:00	687	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4170_1' AND `virtuemart_product_id` != 1860179
2023-10-13	12:30:00	687	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:00	687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860179, 'A_4170_1')
2023-10-13	12:30:00	687	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:00	687	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-42-black-noir' AND `virtuemart_product_id` != 1860179
2023-10-13	12:30:00	687	[DEBUG]	Query for ProductLang
2023-10-13	12:30:00	687	[DEBUG]	Executed store
2023-10-13	12:30:00	687	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir 456 g 11 spd --11-13-15-17-19-21-24-28-32-36-42<br>N° art fourn : CSMSC111142BK',`product_name`='MSC Cassette MSC 11 vitesses 11-42 black  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-42-black-noir' WHERE `virtuemart_product_id` = '1860179'
2023-10-13	12:30:00	687	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26032_.jpg
2023-10-13	12:30:00	687	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:00	687	[DEBUG]	Process image file
2023-10-13	12:30:00	687	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:00	687	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:00	687	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26032_.jpg
2023-10-13	12:30:00	687	[DEBUG]	Full name target: bcprisme/26032_.jpg
2023-10-13	12:30:01	687	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:01	687	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26032_.jpg'
2023-10-13	12:30:01	687	[DEBUG]	Query for Media
2023-10-13	12:30:01	687	[DEBUG]	Executed store
2023-10-13	12:30:01	687	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26032_.jpg',`file_url_thumb`='bcprisme/26032_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12448'
2023-10-13	12:30:01	687	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:01	687	[DEBUG]	Executed store
2023-10-13	12:30:01	687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860179','12448','1')
2023-10-13	12:30:01	687	[DEBUG]	Store product image relation
2023-10-13	12:30:01	687	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:01	687	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860179 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:01	687	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:01	687	[DEBUG]	Executed store
2023-10-13	12:30:01	687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860179','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:01	687	[DEBUG]	Checking manufacturer
2023-10-13	12:30:01	687	[DEBUG]	Load a row
2023-10-13	12:30:01	687	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:01	687	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:01	687	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:01	687	[DEBUG]	Executed store
2023-10-13	12:30:01	687	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:01	687	[DEBUG]	Manufacturer exists
2023-10-13	12:30:01	687	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:30:01	687	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:01	687	[DEBUG]	Executed store
2023-10-13	12:30:01	687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860179','32')
2023-10-13	12:30:01	687	[DEBUG]	Find the custom field ID
2023-10-13	12:30:01	687	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:01	687	[DEBUG]	No custom field ID found
2023-10-13	12:30:01	687	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:01	687	[DEBUG]	Get existing row with customfield value 119.566944444444
2023-10-13	12:30:01	687	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860179 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:01	687	[DEBUG]	Store custom available field
2023-10-13	12:30:01	687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860179,3,'119.566944444444',1)
2023-10-13	12:30:01	687	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:01	687	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:01	687	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860179 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:01	687	[DEBUG]	Store custom available field
2023-10-13	12:30:01	687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860179,6,'choisir la taille',3)
2023-10-13	12:30:01	687	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:01	687	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:01	687	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:01	687	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:01	687	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860179 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:01	687	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:01	687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860179,8,1)
2023-10-13	12:30:01	687	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:01	687	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860179\":[1860179,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860179
2023-10-13	12:30:01	687	[DEBUG]	Checking category
2023-10-13	12:30:01	687	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:01	687	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860179
2023-10-13	12:30:01	687	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:01	687	[DEBUG]	Executed store
2023-10-13	12:30:01	687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860179','7283')
2023-10-13	12:30:01	687	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:01	687	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860179 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:01	687	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:01	687	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860179
2023-10-13	12:30:01	688	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:01	688	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:01	688	[DEBUG]	Use field value for field taille
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:01	688	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:01	688	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:01	688	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:01	688	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:01	688	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:01	688	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:01	688	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:01	688	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:01	688	[DEBUG]	Use field value for field published
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:01	688	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field override
2023-10-13	12:30:01	688	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:01	688	[DEBUG]	Use field value for field slug
2023-10-13	12:30:01	688	[DEBUG]	Process line 688
2023-10-13	12:30:01	688	[DEBUG]	Load a row
2023-10-13	12:30:01	688	[DEBUG]	Processing item: 8435466296995
2023-10-13	12:30:01	688	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:01	688	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:01	688	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4170_1'
2023-10-13	12:30:01	688	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:01	688	[DEBUG]	Processing product tax
2023-10-13	12:30:01	688	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:01	688	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:01	688	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:01	688	[DEBUG]	Query for Product
2023-10-13	12:30:01	688	[DEBUG]	Executed store
2023-10-13	12:30:01	688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860179','8435466296995','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:30:01	688	[DEBUG]	No parent found
2023-10-13	12:30:01	688	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860179 AND customfield_value = 'stockable'
2023-10-13	12:30:01	688	[DEBUG]	Check product language entry
2023-10-13	12:30:01	688	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860180
2023-10-13	12:30:01	688	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:01	688	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466296995' AND `virtuemart_product_id` != 1860180
2023-10-13	12:30:01	688	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:01	688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860180, '8435466296995')
2023-10-13	12:30:01	688	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:01	688	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-42-black-noir-unitaire' AND `virtuemart_product_id` != 1860180
2023-10-13	12:30:01	688	[DEBUG]	Query for ProductLang
2023-10-13	12:30:01	688	[DEBUG]	Executed store
2023-10-13	12:30:01	688	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 11 vitesses 11-42 black  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-42-black-noir-unitaire' WHERE `virtuemart_product_id` = '1860180'
2023-10-13	12:30:01	688	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26032_.jpg
2023-10-13	12:30:01	688	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:01	688	[DEBUG]	Process image file
2023-10-13	12:30:01	688	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:01	688	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:01	688	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26032_.jpg
2023-10-13	12:30:01	688	[DEBUG]	Full name target: bcprisme/26032_.jpg
2023-10-13	12:30:02	688	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:02	688	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26032_.jpg'
2023-10-13	12:30:02	688	[DEBUG]	Query for Media
2023-10-13	12:30:02	688	[DEBUG]	Executed store
2023-10-13	12:30:02	688	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26032_.jpg',`file_url_thumb`='bcprisme/26032_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12448'
2023-10-13	12:30:02	688	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:02	688	[DEBUG]	Executed store
2023-10-13	12:30:02	688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860180','12448','1')
2023-10-13	12:30:02	688	[DEBUG]	Store product image relation
2023-10-13	12:30:02	688	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:02	688	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860180 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:02	688	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:02	688	[DEBUG]	Executed store
2023-10-13	12:30:02	688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860180','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:02	688	[DEBUG]	Checking manufacturer
2023-10-13	12:30:02	688	[DEBUG]	Load a row
2023-10-13	12:30:02	688	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:02	688	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:02	688	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:02	688	[DEBUG]	Executed store
2023-10-13	12:30:02	688	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:02	688	[DEBUG]	Manufacturer exists
2023-10-13	12:30:02	688	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:30:02	688	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:02	688	[DEBUG]	Executed store
2023-10-13	12:30:02	688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860180','32')
2023-10-13	12:30:02	688	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:02	688	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:02	688	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860180 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:02	688	[DEBUG]	Store custom available field
2023-10-13	12:30:02	688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860180,3,'',1)
2023-10-13	12:30:02	688	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:02	688	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:30:02	688	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860180 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:02	688	[DEBUG]	Store custom available field
2023-10-13	12:30:02	688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860180,6,'Unitaire',3)
2023-10-13	12:30:02	688	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:02	688	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:02	688	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860179
2023-10-13	12:30:02	688	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:02	688	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860179\":[1860179,8,1,\"choisir la taille\"],\"1860180\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860179
2023-10-13	12:30:02	688	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:02	688	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860180
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:02	689	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field taille
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:02	689	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:02	689	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:02	689	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:02	689	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:02	689	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:02	689	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field published
2023-10-13	12:30:02	689	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:02	689	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field override
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:02	689	[DEBUG]	Use field value for field slug
2023-10-13	12:30:02	689	[DEBUG]	Process line 689
2023-10-13	12:30:02	689	[DEBUG]	Load a row
2023-10-13	12:30:02	689	[DEBUG]	Processing item: A_4171_1
2023-10-13	12:30:02	689	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:02	689	[DEBUG]	Processing product tax
2023-10-13	12:30:02	689	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:02	689	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:02	689	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:02	689	[DEBUG]	Query for Product
2023-10-13	12:30:02	689	[DEBUG]	Executed store
2023-10-13	12:30:02	689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4171_1','0.527','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:30:02	689	[DEBUG]	Check product language entry
2023-10-13	12:30:02	689	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860181
2023-10-13	12:30:02	689	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:02	689	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4171_1' AND `virtuemart_product_id` != 1860181
2023-10-13	12:30:02	689	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:02	689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860181, 'A_4171_1')
2023-10-13	12:30:02	689	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:02	689	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-46-black-noir' AND `virtuemart_product_id` != 1860181
2023-10-13	12:30:02	689	[DEBUG]	Query for ProductLang
2023-10-13	12:30:02	689	[DEBUG]	Executed store
2023-10-13	12:30:02	689	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir 527 g 11 spd --11-13-15-18-21-24-28-32-36-40-46<br>N° art fourn : CSMSC111146BK',`product_name`='MSC Cassette MSC 11 vitesses 11-46 black  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-46-black-noir' WHERE `virtuemart_product_id` = '1860181'
2023-10-13	12:30:02	689	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26033_.jpg
2023-10-13	12:30:02	689	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:02	689	[DEBUG]	Process image file
2023-10-13	12:30:02	689	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:02	689	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:02	689	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26033_.jpg
2023-10-13	12:30:02	689	[DEBUG]	Full name target: bcprisme/26033_.jpg
2023-10-13	12:30:04	689	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:04	689	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26033_.jpg'
2023-10-13	12:30:04	689	[DEBUG]	Query for Media
2023-10-13	12:30:04	689	[DEBUG]	Executed store
2023-10-13	12:30:04	689	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26033_.jpg',`file_url_thumb`='bcprisme/26033_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12449'
2023-10-13	12:30:04	689	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:04	689	[DEBUG]	Executed store
2023-10-13	12:30:04	689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860181','12449','1')
2023-10-13	12:30:04	689	[DEBUG]	Store product image relation
2023-10-13	12:30:04	689	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:04	689	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860181 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:04	689	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:04	689	[DEBUG]	Executed store
2023-10-13	12:30:04	689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860181','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:04	689	[DEBUG]	Checking manufacturer
2023-10-13	12:30:04	689	[DEBUG]	Load a row
2023-10-13	12:30:04	689	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:04	689	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:04	689	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:04	689	[DEBUG]	Executed store
2023-10-13	12:30:04	689	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:04	689	[DEBUG]	Manufacturer exists
2023-10-13	12:30:04	689	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:30:04	689	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:04	689	[DEBUG]	Executed store
2023-10-13	12:30:04	689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860181','32')
2023-10-13	12:30:04	689	[DEBUG]	Find the custom field ID
2023-10-13	12:30:04	689	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:04	689	[DEBUG]	No custom field ID found
2023-10-13	12:30:04	689	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:04	689	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	12:30:04	689	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860181 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:04	689	[DEBUG]	Store custom available field
2023-10-13	12:30:04	689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860181,3,'129.539166666667',1)
2023-10-13	12:30:04	689	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:04	689	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:04	689	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860181 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:04	689	[DEBUG]	Store custom available field
2023-10-13	12:30:04	689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860181,6,'choisir la taille',3)
2023-10-13	12:30:04	689	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:04	689	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:04	689	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:04	689	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:04	689	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860181 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:04	689	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:04	689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860181,8,1)
2023-10-13	12:30:04	689	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:04	689	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860181\":[1860181,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860181
2023-10-13	12:30:04	689	[DEBUG]	Checking category
2023-10-13	12:30:04	689	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:04	689	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860181
2023-10-13	12:30:04	689	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:04	689	[DEBUG]	Executed store
2023-10-13	12:30:04	689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860181','7283')
2023-10-13	12:30:04	689	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:04	689	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860181 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:04	689	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:04	689	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860181
2023-10-13	12:30:04	690	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:04	690	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:04	690	[DEBUG]	Use field value for field taille
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:04	690	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:04	690	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:04	690	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:04	690	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:04	690	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:04	690	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:04	690	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:04	690	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:04	690	[DEBUG]	Use field value for field published
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:04	690	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field override
2023-10-13	12:30:04	690	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:04	690	[DEBUG]	Use field value for field slug
2023-10-13	12:30:04	690	[DEBUG]	Process line 690
2023-10-13	12:30:04	690	[DEBUG]	Load a row
2023-10-13	12:30:04	690	[DEBUG]	Processing item: 4710944252378
2023-10-13	12:30:04	690	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:04	690	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:04	690	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4171_1'
2023-10-13	12:30:04	690	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:04	690	[DEBUG]	Processing product tax
2023-10-13	12:30:04	690	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:04	690	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:04	690	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:04	690	[DEBUG]	Query for Product
2023-10-13	12:30:04	690	[DEBUG]	Executed store
2023-10-13	12:30:04	690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860181','4710944252378','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:30:04	690	[DEBUG]	No parent found
2023-10-13	12:30:04	690	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860181 AND customfield_value = 'stockable'
2023-10-13	12:30:04	690	[DEBUG]	Check product language entry
2023-10-13	12:30:04	690	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860182
2023-10-13	12:30:04	690	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:04	690	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4710944252378' AND `virtuemart_product_id` != 1860182
2023-10-13	12:30:04	690	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:04	690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860182, '4710944252378')
2023-10-13	12:30:04	690	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:04	690	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-46-black-noir-unitaire' AND `virtuemart_product_id` != 1860182
2023-10-13	12:30:04	690	[DEBUG]	Query for ProductLang
2023-10-13	12:30:04	690	[DEBUG]	Executed store
2023-10-13	12:30:04	690	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 11 vitesses 11-46 black  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-46-black-noir-unitaire' WHERE `virtuemart_product_id` = '1860182'
2023-10-13	12:30:04	690	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26033_.jpg
2023-10-13	12:30:04	690	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:04	690	[DEBUG]	Process image file
2023-10-13	12:30:04	690	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:04	690	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:04	690	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26033_.jpg
2023-10-13	12:30:04	690	[DEBUG]	Full name target: bcprisme/26033_.jpg
2023-10-13	12:30:05	690	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:05	690	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26033_.jpg'
2023-10-13	12:30:05	690	[DEBUG]	Query for Media
2023-10-13	12:30:05	690	[DEBUG]	Executed store
2023-10-13	12:30:05	690	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26033_.jpg',`file_url_thumb`='bcprisme/26033_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12449'
2023-10-13	12:30:05	690	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:05	690	[DEBUG]	Executed store
2023-10-13	12:30:05	690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860182','12449','1')
2023-10-13	12:30:05	690	[DEBUG]	Store product image relation
2023-10-13	12:30:05	690	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:05	690	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860182 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:05	690	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:05	690	[DEBUG]	Executed store
2023-10-13	12:30:05	690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860182','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:05	690	[DEBUG]	Checking manufacturer
2023-10-13	12:30:05	690	[DEBUG]	Load a row
2023-10-13	12:30:05	690	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:05	690	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:05	690	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:05	690	[DEBUG]	Executed store
2023-10-13	12:30:05	690	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:05	690	[DEBUG]	Manufacturer exists
2023-10-13	12:30:05	690	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:30:05	690	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:05	690	[DEBUG]	Executed store
2023-10-13	12:30:05	690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860182','32')
2023-10-13	12:30:05	690	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:05	690	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:05	690	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860182 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:05	690	[DEBUG]	Store custom available field
2023-10-13	12:30:05	690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860182,3,'',1)
2023-10-13	12:30:05	690	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:05	690	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:30:05	690	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860182 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:05	690	[DEBUG]	Store custom available field
2023-10-13	12:30:05	690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860182,6,'Unitaire',3)
2023-10-13	12:30:05	690	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:05	690	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:05	690	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860181
2023-10-13	12:30:05	690	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:05	690	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860181\":[1860181,8,1,\"choisir la taille\"],\"1860182\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860181
2023-10-13	12:30:05	690	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:05	690	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860182
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:05	691	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field taille
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:05	691	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:05	691	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:05	691	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:05	691	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:05	691	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:05	691	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field published
2023-10-13	12:30:05	691	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:05	691	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field override
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:05	691	[DEBUG]	Use field value for field slug
2023-10-13	12:30:05	691	[DEBUG]	Process line 691
2023-10-13	12:30:05	691	[DEBUG]	Load a row
2023-10-13	12:30:05	691	[DEBUG]	Processing item: A_4660_1
2023-10-13	12:30:05	691	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:05	691	[DEBUG]	Processing product tax
2023-10-13	12:30:05	691	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:05	691	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:05	691	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:05	691	[DEBUG]	Query for Product
2023-10-13	12:30:05	691	[DEBUG]	Executed store
2023-10-13	12:30:05	691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4660_1','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:30:05	691	[DEBUG]	Check product language entry
2023-10-13	12:30:05	691	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860183
2023-10-13	12:30:05	691	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:05	691	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4660_1' AND `virtuemart_product_id` != 1860183
2023-10-13	12:30:05	691	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:05	691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860183, 'A_4660_1')
2023-10-13	12:30:05	691	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:05	691	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-42-noir' AND `virtuemart_product_id` != 1860183
2023-10-13	12:30:05	691	[DEBUG]	Query for ProductLang
2023-10-13	12:30:05	691	[DEBUG]	Executed store
2023-10-13	12:30:05	691	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CS1MSC101142',`product_name`='MSC Cassette MSC 10 vitesses 11-42 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-42-noir' WHERE `virtuemart_product_id` = '1860183'
2023-10-13	12:30:05	691	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27930_cassette_msc_10_vitesses_11-42.jpg
2023-10-13	12:30:05	691	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:05	691	[DEBUG]	Process image file
2023-10-13	12:30:05	691	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:05	691	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:05	691	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27930_cassette_msc_10_vitesses_11-42.jpg
2023-10-13	12:30:05	691	[DEBUG]	Full name target: bcprisme/27930_cassette_msc_10_vitesses_11-42.jpg
2023-10-13	12:30:06	691	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:06	691	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27930_cassette_msc_10_vitesses_11-42.jpg'
2023-10-13	12:30:06	691	[DEBUG]	Query for Media
2023-10-13	12:30:06	691	[DEBUG]	Executed store
2023-10-13	12:30:06	691	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27930_cassette_msc_10_vitesses_11-42.jpg',`file_url_thumb`='bcprisme/27930_cassette_msc_10_vitesses_11-42.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12459'
2023-10-13	12:30:06	691	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:06	691	[DEBUG]	Executed store
2023-10-13	12:30:06	691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860183','12459','1')
2023-10-13	12:30:06	691	[DEBUG]	Store product image relation
2023-10-13	12:30:06	691	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:06	691	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860183 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:06	691	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:06	691	[DEBUG]	Executed store
2023-10-13	12:30:06	691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860183','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:06	691	[DEBUG]	Checking manufacturer
2023-10-13	12:30:06	691	[DEBUG]	Load a row
2023-10-13	12:30:06	691	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:06	691	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:06	691	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:06	691	[DEBUG]	Executed store
2023-10-13	12:30:06	691	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:06	691	[DEBUG]	Manufacturer exists
2023-10-13	12:30:06	691	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:30:06	691	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:06	691	[DEBUG]	Executed store
2023-10-13	12:30:06	691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860183','32')
2023-10-13	12:30:06	691	[DEBUG]	Find the custom field ID
2023-10-13	12:30:06	691	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:06	691	[DEBUG]	No custom field ID found
2023-10-13	12:30:06	691	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:06	691	[DEBUG]	Get existing row with customfield value 72.6975
2023-10-13	12:30:06	691	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860183 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:06	691	[DEBUG]	Store custom available field
2023-10-13	12:30:06	691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860183,3,'72.6975',1)
2023-10-13	12:30:06	691	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:06	691	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:06	691	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860183 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:06	691	[DEBUG]	Store custom available field
2023-10-13	12:30:06	691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860183,6,'choisir la taille',3)
2023-10-13	12:30:06	691	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:06	691	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:06	691	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:06	691	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:06	691	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860183 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:06	691	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:06	691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860183,8,1)
2023-10-13	12:30:06	691	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:06	691	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860183\":[1860183,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860183
2023-10-13	12:30:06	691	[DEBUG]	Checking category
2023-10-13	12:30:06	691	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:06	691	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860183
2023-10-13	12:30:06	691	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:06	691	[DEBUG]	Executed store
2023-10-13	12:30:06	691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860183','7283')
2023-10-13	12:30:06	691	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:06	691	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860183 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:06	691	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:06	691	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860183
2023-10-13	12:30:06	692	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:06	692	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:06	692	[DEBUG]	Use field value for field taille
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:06	692	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:06	692	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:06	692	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:06	692	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:06	692	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:06	692	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:06	692	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:06	692	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:06	692	[DEBUG]	Use field value for field published
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:06	692	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field override
2023-10-13	12:30:06	692	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:06	692	[DEBUG]	Use field value for field slug
2023-10-13	12:30:06	692	[DEBUG]	Process line 692
2023-10-13	12:30:06	692	[DEBUG]	Load a row
2023-10-13	12:30:06	692	[DEBUG]	Processing item: 8435466215019
2023-10-13	12:30:06	692	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:06	692	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:06	692	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4660_1'
2023-10-13	12:30:06	692	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:06	692	[DEBUG]	Processing product tax
2023-10-13	12:30:06	692	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:06	692	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:06	692	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:06	692	[DEBUG]	Query for Product
2023-10-13	12:30:06	692	[DEBUG]	Executed store
2023-10-13	12:30:06	692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860183','8435466215019','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:30:06	692	[DEBUG]	No parent found
2023-10-13	12:30:06	692	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860183 AND customfield_value = 'stockable'
2023-10-13	12:30:06	692	[DEBUG]	Check product language entry
2023-10-13	12:30:06	692	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860184
2023-10-13	12:30:06	692	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:06	692	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215019' AND `virtuemart_product_id` != 1860184
2023-10-13	12:30:06	692	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:06	692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860184, '8435466215019')
2023-10-13	12:30:06	692	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:06	692	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-42-noir-unitaire' AND `virtuemart_product_id` != 1860184
2023-10-13	12:30:06	692	[DEBUG]	Query for ProductLang
2023-10-13	12:30:06	692	[DEBUG]	Executed store
2023-10-13	12:30:06	692	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 10 vitesses 11-42 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-42-noir-unitaire' WHERE `virtuemart_product_id` = '1860184'
2023-10-13	12:30:06	692	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27930_cassette_msc_10_vitesses_11-42.jpg
2023-10-13	12:30:06	692	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:06	692	[DEBUG]	Process image file
2023-10-13	12:30:06	692	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:06	692	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:06	692	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27930_cassette_msc_10_vitesses_11-42.jpg
2023-10-13	12:30:06	692	[DEBUG]	Full name target: bcprisme/27930_cassette_msc_10_vitesses_11-42.jpg
2023-10-13	12:30:07	692	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:07	692	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27930_cassette_msc_10_vitesses_11-42.jpg'
2023-10-13	12:30:07	692	[DEBUG]	Query for Media
2023-10-13	12:30:07	692	[DEBUG]	Executed store
2023-10-13	12:30:07	692	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27930_cassette_msc_10_vitesses_11-42.jpg',`file_url_thumb`='bcprisme/27930_cassette_msc_10_vitesses_11-42.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12459'
2023-10-13	12:30:07	692	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:07	692	[DEBUG]	Executed store
2023-10-13	12:30:07	692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860184','12459','1')
2023-10-13	12:30:07	692	[DEBUG]	Store product image relation
2023-10-13	12:30:07	692	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:07	692	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860184 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:07	692	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:07	692	[DEBUG]	Executed store
2023-10-13	12:30:07	692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860184','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:07	692	[DEBUG]	Checking manufacturer
2023-10-13	12:30:07	692	[DEBUG]	Load a row
2023-10-13	12:30:07	692	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:07	692	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:07	692	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:07	692	[DEBUG]	Executed store
2023-10-13	12:30:07	692	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:07	692	[DEBUG]	Manufacturer exists
2023-10-13	12:30:07	692	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:30:07	692	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:07	692	[DEBUG]	Executed store
2023-10-13	12:30:07	692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860184','32')
2023-10-13	12:30:07	692	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:07	692	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:07	692	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860184 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:07	692	[DEBUG]	Store custom available field
2023-10-13	12:30:07	692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860184,3,'',1)
2023-10-13	12:30:07	692	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:07	692	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:30:07	692	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860184 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:07	692	[DEBUG]	Store custom available field
2023-10-13	12:30:07	692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860184,6,'Unitaire',3)
2023-10-13	12:30:07	692	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:07	692	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:07	692	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860183
2023-10-13	12:30:07	692	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:07	692	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860183\":[1860183,8,1,\"choisir la taille\"],\"1860184\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860183
2023-10-13	12:30:07	692	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:07	692	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860184
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:07	693	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field taille
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:07	693	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:07	693	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:07	693	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:07	693	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:07	693	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:07	693	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field published
2023-10-13	12:30:07	693	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:07	693	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field override
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:07	693	[DEBUG]	Use field value for field slug
2023-10-13	12:30:07	693	[DEBUG]	Process line 693
2023-10-13	12:30:07	693	[DEBUG]	Load a row
2023-10-13	12:30:07	693	[DEBUG]	Processing item: A_4661_1
2023-10-13	12:30:07	693	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:07	693	[DEBUG]	Processing product tax
2023-10-13	12:30:07	693	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:07	693	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:07	693	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:07	693	[DEBUG]	Query for Product
2023-10-13	12:30:07	693	[DEBUG]	Executed store
2023-10-13	12:30:07	693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4661_1','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:30:07	693	[DEBUG]	Check product language entry
2023-10-13	12:30:07	693	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860185
2023-10-13	12:30:07	693	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:07	693	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4661_1' AND `virtuemart_product_id` != 1860185
2023-10-13	12:30:07	693	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:07	693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860185, 'A_4661_1')
2023-10-13	12:30:07	693	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:07	693	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-42-2-alu-spider-noir' AND `virtuemart_product_id` != 1860185
2023-10-13	12:30:07	693	[DEBUG]	Query for ProductLang
2023-10-13	12:30:07	693	[DEBUG]	Executed store
2023-10-13	12:30:07	693	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSMSC111142',`product_name`='MSC Cassette MSC 11 vitesses 11-42 2 Alu Spider / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-42-2-alu-spider-noir' WHERE `virtuemart_product_id` = '1860185'
2023-10-13	12:30:07	693	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27931_cassette_msc_11_vitesses_11-42_.jpg
2023-10-13	12:30:07	693	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:07	693	[DEBUG]	Process image file
2023-10-13	12:30:07	693	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:07	693	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:07	693	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27931_cassette_msc_11_vitesses_11-42_.jpg
2023-10-13	12:30:07	693	[DEBUG]	Full name target: bcprisme/27931_cassette_msc_11_vitesses_11-42_.jpg
2023-10-13	12:30:08	693	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:08	693	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27931_cassette_msc_11_vitesses_11-42_.jpg'
2023-10-13	12:30:08	693	[DEBUG]	Query for Media
2023-10-13	12:30:08	693	[DEBUG]	Executed store
2023-10-13	12:30:08	693	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27931_cassette_msc_11_vitesses_11-42_.jpg',`file_url_thumb`='bcprisme/27931_cassette_msc_11_vitesses_11-42_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12460'
2023-10-13	12:30:08	693	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:08	693	[DEBUG]	Executed store
2023-10-13	12:30:08	693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860185','12460','1')
2023-10-13	12:30:08	693	[DEBUG]	Store product image relation
2023-10-13	12:30:08	693	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:08	693	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860185 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:08	693	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:08	693	[DEBUG]	Executed store
2023-10-13	12:30:08	693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860185','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:08	693	[DEBUG]	Checking manufacturer
2023-10-13	12:30:08	693	[DEBUG]	Load a row
2023-10-13	12:30:08	693	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:08	693	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:08	693	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:08	693	[DEBUG]	Executed store
2023-10-13	12:30:08	693	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:08	693	[DEBUG]	Manufacturer exists
2023-10-13	12:30:08	693	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:30:08	693	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:08	693	[DEBUG]	Executed store
2023-10-13	12:30:08	693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860185','32')
2023-10-13	12:30:08	693	[DEBUG]	Find the custom field ID
2023-10-13	12:30:08	693	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:08	693	[DEBUG]	No custom field ID found
2023-10-13	12:30:08	693	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:08	693	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	12:30:08	693	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860185 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:08	693	[DEBUG]	Store custom available field
2023-10-13	12:30:08	693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860185,3,'99.6225',1)
2023-10-13	12:30:08	693	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:08	693	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:08	693	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860185 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:08	693	[DEBUG]	Store custom available field
2023-10-13	12:30:08	693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860185,6,'choisir la taille',3)
2023-10-13	12:30:08	693	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:08	693	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:08	693	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:08	693	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:08	693	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860185 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:08	693	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:08	693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860185,8,1)
2023-10-13	12:30:08	693	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:08	693	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860185\":[1860185,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860185
2023-10-13	12:30:08	693	[DEBUG]	Checking category
2023-10-13	12:30:08	693	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:08	693	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860185
2023-10-13	12:30:08	693	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:08	693	[DEBUG]	Executed store
2023-10-13	12:30:08	693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860185','7283')
2023-10-13	12:30:08	693	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:08	693	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860185 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:08	693	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:08	693	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860185
2023-10-13	12:30:08	694	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:08	694	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:08	694	[DEBUG]	Use field value for field taille
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:08	694	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:08	694	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:08	694	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:08	694	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:08	694	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:08	694	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:08	694	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:08	694	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:08	694	[DEBUG]	Use field value for field published
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:08	694	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field override
2023-10-13	12:30:08	694	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:08	694	[DEBUG]	Use field value for field slug
2023-10-13	12:30:08	694	[DEBUG]	Process line 694
2023-10-13	12:30:08	694	[DEBUG]	Load a row
2023-10-13	12:30:08	694	[DEBUG]	Processing item: 8435466213862
2023-10-13	12:30:08	694	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:08	694	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:08	694	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4661_1'
2023-10-13	12:30:08	694	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:08	694	[DEBUG]	Processing product tax
2023-10-13	12:30:08	694	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:08	694	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:08	694	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:08	694	[DEBUG]	Query for Product
2023-10-13	12:30:08	694	[DEBUG]	Executed store
2023-10-13	12:30:08	694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860185','8435466213862','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:30:08	694	[DEBUG]	No parent found
2023-10-13	12:30:08	694	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860185 AND customfield_value = 'stockable'
2023-10-13	12:30:08	694	[DEBUG]	Check product language entry
2023-10-13	12:30:08	694	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860186
2023-10-13	12:30:08	694	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:08	694	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213862' AND `virtuemart_product_id` != 1860186
2023-10-13	12:30:08	694	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:08	694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860186, '8435466213862')
2023-10-13	12:30:08	694	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:08	694	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-42-2-alu-spider-noir-unitaire' AND `virtuemart_product_id` != 1860186
2023-10-13	12:30:08	694	[DEBUG]	Query for ProductLang
2023-10-13	12:30:08	694	[DEBUG]	Executed store
2023-10-13	12:30:08	694	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 11 vitesses 11-42 2 Alu Spider / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-42-2-alu-spider-noir-unitaire' WHERE `virtuemart_product_id` = '1860186'
2023-10-13	12:30:08	694	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27931_cassette_msc_11_vitesses_11-42_.jpg
2023-10-13	12:30:08	694	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:08	694	[DEBUG]	Process image file
2023-10-13	12:30:08	694	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:08	694	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:08	694	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27931_cassette_msc_11_vitesses_11-42_.jpg
2023-10-13	12:30:08	694	[DEBUG]	Full name target: bcprisme/27931_cassette_msc_11_vitesses_11-42_.jpg
2023-10-13	12:30:09	694	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:09	694	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27931_cassette_msc_11_vitesses_11-42_.jpg'
2023-10-13	12:30:09	694	[DEBUG]	Query for Media
2023-10-13	12:30:09	694	[DEBUG]	Executed store
2023-10-13	12:30:09	694	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27931_cassette_msc_11_vitesses_11-42_.jpg',`file_url_thumb`='bcprisme/27931_cassette_msc_11_vitesses_11-42_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12460'
2023-10-13	12:30:09	694	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:09	694	[DEBUG]	Executed store
2023-10-13	12:30:09	694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860186','12460','1')
2023-10-13	12:30:09	694	[DEBUG]	Store product image relation
2023-10-13	12:30:09	694	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:09	694	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860186 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:09	694	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:09	694	[DEBUG]	Executed store
2023-10-13	12:30:09	694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860186','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:09	694	[DEBUG]	Checking manufacturer
2023-10-13	12:30:09	694	[DEBUG]	Load a row
2023-10-13	12:30:09	694	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:09	694	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:09	694	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:09	694	[DEBUG]	Executed store
2023-10-13	12:30:09	694	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:09	694	[DEBUG]	Manufacturer exists
2023-10-13	12:30:09	694	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:30:09	694	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:09	694	[DEBUG]	Executed store
2023-10-13	12:30:09	694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860186','32')
2023-10-13	12:30:09	694	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:09	694	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:09	694	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860186 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:09	694	[DEBUG]	Store custom available field
2023-10-13	12:30:09	694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860186,3,'',1)
2023-10-13	12:30:09	694	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:09	694	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:30:09	694	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860186 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:09	694	[DEBUG]	Store custom available field
2023-10-13	12:30:09	694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860186,6,'Unitaire',3)
2023-10-13	12:30:09	694	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:09	694	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:09	694	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860185
2023-10-13	12:30:09	694	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:09	694	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860185\":[1860185,8,1,\"choisir la taille\"],\"1860186\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860185
2023-10-13	12:30:09	694	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:09	694	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860186
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:09	695	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field taille
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:09	695	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:09	695	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:09	695	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:09	695	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:09	695	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:09	695	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field published
2023-10-13	12:30:09	695	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:09	695	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field override
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:09	695	[DEBUG]	Use field value for field slug
2023-10-13	12:30:09	695	[DEBUG]	Process line 695
2023-10-13	12:30:09	695	[DEBUG]	Load a row
2023-10-13	12:30:09	695	[DEBUG]	Processing item: A_4662_1
2023-10-13	12:30:09	695	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:09	695	[DEBUG]	Processing product tax
2023-10-13	12:30:09	695	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:09	695	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:09	695	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:09	695	[DEBUG]	Query for Product
2023-10-13	12:30:09	695	[DEBUG]	Executed store
2023-10-13	12:30:09	695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4662_1','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:30:09	695	[DEBUG]	Check product language entry
2023-10-13	12:30:09	695	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860187
2023-10-13	12:30:09	695	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:09	695	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4662_1' AND `virtuemart_product_id` != 1860187
2023-10-13	12:30:09	695	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:09	695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860187, 'A_4662_1')
2023-10-13	12:30:09	695	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:09	695	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-46-2-alu-spider-noir' AND `virtuemart_product_id` != 1860187
2023-10-13	12:30:09	695	[DEBUG]	Query for ProductLang
2023-10-13	12:30:09	695	[DEBUG]	Executed store
2023-10-13	12:30:09	695	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSMSC111146',`product_name`='MSC Cassette MSC 11 vitesses 11-46 2 alu Spider / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-46-2-alu-spider-noir' WHERE `virtuemart_product_id` = '1860187'
2023-10-13	12:30:09	695	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27932_cassette_msc_11_vitesses_11-46.jpg
2023-10-13	12:30:09	695	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:09	695	[DEBUG]	Process image file
2023-10-13	12:30:09	695	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:09	695	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:09	695	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27932_cassette_msc_11_vitesses_11-46.jpg
2023-10-13	12:30:09	695	[DEBUG]	Full name target: bcprisme/27932_cassette_msc_11_vitesses_11-46.jpg
2023-10-13	12:30:10	695	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:10	695	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27932_cassette_msc_11_vitesses_11-46.jpg'
2023-10-13	12:30:10	695	[DEBUG]	Query for Media
2023-10-13	12:30:10	695	[DEBUG]	Executed store
2023-10-13	12:30:10	695	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27932_cassette_msc_11_vitesses_11-46.jpg',`file_url_thumb`='bcprisme/27932_cassette_msc_11_vitesses_11-46.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12461'
2023-10-13	12:30:10	695	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:10	695	[DEBUG]	Executed store
2023-10-13	12:30:10	695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860187','12461','1')
2023-10-13	12:30:10	695	[DEBUG]	Store product image relation
2023-10-13	12:30:10	695	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:10	695	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860187 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:10	695	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:10	695	[DEBUG]	Executed store
2023-10-13	12:30:10	695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860187','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:10	695	[DEBUG]	Checking manufacturer
2023-10-13	12:30:10	695	[DEBUG]	Load a row
2023-10-13	12:30:10	695	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:10	695	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:10	695	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:10	695	[DEBUG]	Executed store
2023-10-13	12:30:10	695	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:10	695	[DEBUG]	Manufacturer exists
2023-10-13	12:30:10	695	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:30:10	695	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:10	695	[DEBUG]	Executed store
2023-10-13	12:30:10	695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860187','32')
2023-10-13	12:30:10	695	[DEBUG]	Find the custom field ID
2023-10-13	12:30:10	695	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:10	695	[DEBUG]	No custom field ID found
2023-10-13	12:30:10	695	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:10	695	[DEBUG]	Get existing row with customfield value 119.566944444444
2023-10-13	12:30:10	695	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860187 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:10	695	[DEBUG]	Store custom available field
2023-10-13	12:30:10	695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860187,3,'119.566944444444',1)
2023-10-13	12:30:10	695	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:10	695	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:10	695	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860187 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:10	695	[DEBUG]	Store custom available field
2023-10-13	12:30:10	695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860187,6,'choisir la taille',3)
2023-10-13	12:30:10	695	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:10	695	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:10	695	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:10	695	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:10	695	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860187 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:10	695	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:10	695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860187,8,1)
2023-10-13	12:30:10	695	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:10	695	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860187\":[1860187,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860187
2023-10-13	12:30:10	695	[DEBUG]	Checking category
2023-10-13	12:30:10	695	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:10	695	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860187
2023-10-13	12:30:10	695	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:10	695	[DEBUG]	Executed store
2023-10-13	12:30:10	695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860187','7283')
2023-10-13	12:30:10	695	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:10	695	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860187 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:10	695	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:10	695	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860187
2023-10-13	12:30:10	696	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:10	696	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:10	696	[DEBUG]	Use field value for field taille
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:10	696	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:10	696	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:10	696	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:10	696	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:10	696	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:10	696	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:10	696	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:10	696	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:10	696	[DEBUG]	Use field value for field published
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:10	696	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field override
2023-10-13	12:30:10	696	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:10	696	[DEBUG]	Use field value for field slug
2023-10-13	12:30:10	696	[DEBUG]	Process line 696
2023-10-13	12:30:10	696	[DEBUG]	Load a row
2023-10-13	12:30:10	696	[DEBUG]	Processing item: 8435466213879
2023-10-13	12:30:10	696	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:10	696	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:10	696	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4662_1'
2023-10-13	12:30:10	696	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:10	696	[DEBUG]	Processing product tax
2023-10-13	12:30:10	696	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:10	696	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:10	696	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:10	696	[DEBUG]	Query for Product
2023-10-13	12:30:10	696	[DEBUG]	Executed store
2023-10-13	12:30:10	696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860187','8435466213879','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:30:10	696	[DEBUG]	No parent found
2023-10-13	12:30:10	696	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860187 AND customfield_value = 'stockable'
2023-10-13	12:30:10	696	[DEBUG]	Check product language entry
2023-10-13	12:30:10	696	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860188
2023-10-13	12:30:10	696	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:10	696	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213879' AND `virtuemart_product_id` != 1860188
2023-10-13	12:30:10	696	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:10	696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860188, '8435466213879')
2023-10-13	12:30:10	696	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:10	696	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-46-2-alu-spider-noir-unitaire' AND `virtuemart_product_id` != 1860188
2023-10-13	12:30:10	696	[DEBUG]	Query for ProductLang
2023-10-13	12:30:10	696	[DEBUG]	Executed store
2023-10-13	12:30:10	696	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 11 vitesses 11-46 2 alu Spider / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-46-2-alu-spider-noir-unitaire' WHERE `virtuemart_product_id` = '1860188'
2023-10-13	12:30:10	696	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27932_cassette_msc_11_vitesses_11-46.jpg
2023-10-13	12:30:10	696	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:10	696	[DEBUG]	Process image file
2023-10-13	12:30:10	696	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:10	696	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:10	696	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27932_cassette_msc_11_vitesses_11-46.jpg
2023-10-13	12:30:10	696	[DEBUG]	Full name target: bcprisme/27932_cassette_msc_11_vitesses_11-46.jpg
2023-10-13	12:30:11	696	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:11	696	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27932_cassette_msc_11_vitesses_11-46.jpg'
2023-10-13	12:30:11	696	[DEBUG]	Query for Media
2023-10-13	12:30:11	696	[DEBUG]	Executed store
2023-10-13	12:30:11	696	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27932_cassette_msc_11_vitesses_11-46.jpg',`file_url_thumb`='bcprisme/27932_cassette_msc_11_vitesses_11-46.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12461'
2023-10-13	12:30:11	696	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:11	696	[DEBUG]	Executed store
2023-10-13	12:30:11	696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860188','12461','1')
2023-10-13	12:30:11	696	[DEBUG]	Store product image relation
2023-10-13	12:30:11	696	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:11	696	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860188 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:11	696	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:11	696	[DEBUG]	Executed store
2023-10-13	12:30:11	696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860188','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:11	696	[DEBUG]	Checking manufacturer
2023-10-13	12:30:11	696	[DEBUG]	Load a row
2023-10-13	12:30:11	696	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:11	696	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:11	696	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:11	696	[DEBUG]	Executed store
2023-10-13	12:30:11	696	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:30:11	696	[DEBUG]	Manufacturer exists
2023-10-13	12:30:11	696	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:30:11	696	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:11	696	[DEBUG]	Executed store
2023-10-13	12:30:11	696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860188','32')
2023-10-13	12:30:11	696	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:11	696	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:11	696	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860188 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:11	696	[DEBUG]	Store custom available field
2023-10-13	12:30:11	696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860188,3,'',1)
2023-10-13	12:30:11	696	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:11	696	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:30:11	696	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860188 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:11	696	[DEBUG]	Store custom available field
2023-10-13	12:30:11	696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860188,6,'Unitaire',3)
2023-10-13	12:30:11	696	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:11	696	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:11	696	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860187
2023-10-13	12:30:11	696	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:11	696	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860187\":[1860187,8,1,\"choisir la taille\"],\"1860188\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860187
2023-10-13	12:30:11	696	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:11	696	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860188
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:11	697	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field taille
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:11	697	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:11	697	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:11	697	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:11	697	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:11	697	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:11	697	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field published
2023-10-13	12:30:11	697	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:11	697	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field override
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:11	697	[DEBUG]	Use field value for field slug
2023-10-13	12:30:11	697	[DEBUG]	Process line 697
2023-10-13	12:30:11	697	[DEBUG]	Load a row
2023-10-13	12:30:11	697	[DEBUG]	Processing item: A_4975_1
2023-10-13	12:30:11	697	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:11	697	[DEBUG]	Processing product tax
2023-10-13	12:30:11	697	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:11	697	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:11	697	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:11	697	[DEBUG]	Query for Product
2023-10-13	12:30:11	697	[DEBUG]	Executed store
2023-10-13	12:30:11	697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4975_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:30:11	697	[DEBUG]	Check product language entry
2023-10-13	12:30:11	697	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860189
2023-10-13	12:30:11	697	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:11	697	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4975_1' AND `virtuemart_product_id` != 1860189
2023-10-13	12:30:11	697	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:11	697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860189, 'A_4975_1')
2023-10-13	12:30:11	697	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:11	697	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-gx-eagle-xg-1275-12-vit-10-50-noir-noir' AND `virtuemart_product_id` != 1860189
2023-10-13	12:30:11	697	[DEBUG]	Query for ProductLang
2023-10-13	12:30:11	697	[DEBUG]	Executed store
2023-10-13	12:30:11	697	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7539N',`product_name`='SRAM Cassette GX Eagle XG-1275, 12-vit. 10-50 noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-gx-eagle-xg-1275-12-vit-10-50-noir-noir' WHERE `virtuemart_product_id` = '1860189'
2023-10-13	12:30:11	697	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29343_cassette_gx_eagle_xg-1275,_12-vit__10-50_noir.jpg
2023-10-13	12:30:11	697	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:11	697	[DEBUG]	Process image file
2023-10-13	12:30:11	697	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:11	697	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:11	697	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29343_cassette_gx_eagle_xg-1275,_12-vit__10-50_noir.jpg
2023-10-13	12:30:11	697	[DEBUG]	Full name target: bcprisme/29343_cassette_gx_eagle_xg-1275,_12-vit__10-50_noir.jpg
2023-10-13	12:30:12	697	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:12	697	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29343_cassette_gx_eagle_xg-1275,_12-vit__10-50_noir.jpg'
2023-10-13	12:30:12	697	[DEBUG]	Query for Media
2023-10-13	12:30:12	697	[DEBUG]	Executed store
2023-10-13	12:30:12	697	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29343_cassette_gx_eagle_xg-1275,_12-vit__10-50_noir.jpg',`file_url_thumb`='bcprisme/29343_cassette_gx_eagle_xg-1275,_12-vit__10-50_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12462'
2023-10-13	12:30:12	697	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:12	697	[DEBUG]	Executed store
2023-10-13	12:30:12	697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860189','12462','1')
2023-10-13	12:30:12	697	[DEBUG]	Store product image relation
2023-10-13	12:30:12	697	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:12	697	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860189 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:12	697	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:12	697	[DEBUG]	Executed store
2023-10-13	12:30:12	697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860189','0','231.197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:12	697	[DEBUG]	Checking manufacturer
2023-10-13	12:30:12	697	[DEBUG]	Load a row
2023-10-13	12:30:12	697	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:12	697	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:30:12	697	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:12	697	[DEBUG]	Executed store
2023-10-13	12:30:12	697	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:30:12	697	[DEBUG]	Manufacturer exists
2023-10-13	12:30:12	697	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:30:12	697	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:12	697	[DEBUG]	Executed store
2023-10-13	12:30:12	697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860189','35')
2023-10-13	12:30:12	697	[DEBUG]	Find the custom field ID
2023-10-13	12:30:12	697	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:12	697	[DEBUG]	No custom field ID found
2023-10-13	12:30:12	697	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:12	697	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:30:12	697	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860189 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:12	697	[DEBUG]	Store custom available field
2023-10-13	12:30:12	697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860189,3,'0',1)
2023-10-13	12:30:12	697	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:12	697	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:12	697	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860189 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:12	697	[DEBUG]	Store custom available field
2023-10-13	12:30:12	697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860189,6,'choisir la taille',3)
2023-10-13	12:30:12	697	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:12	697	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:12	697	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:12	697	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:12	697	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860189 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:12	697	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:12	697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860189,8,1)
2023-10-13	12:30:12	697	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:12	697	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860189\":[1860189,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860189
2023-10-13	12:30:12	697	[DEBUG]	Checking category
2023-10-13	12:30:12	697	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:12	697	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860189
2023-10-13	12:30:12	697	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:12	697	[DEBUG]	Executed store
2023-10-13	12:30:12	697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860189','7283')
2023-10-13	12:30:12	697	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:12	697	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860189 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:12	697	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:12	697	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860189
2023-10-13	12:30:12	698	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:12	698	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:12	698	[DEBUG]	Use field value for field taille
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:12	698	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:12	698	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:12	698	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:12	698	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:12	698	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:12	698	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:12	698	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:12	698	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:12	698	[DEBUG]	Use field value for field published
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:12	698	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field override
2023-10-13	12:30:12	698	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:12	698	[DEBUG]	Use field value for field slug
2023-10-13	12:30:12	698	[DEBUG]	Process line 698
2023-10-13	12:30:12	698	[DEBUG]	Load a row
2023-10-13	12:30:12	698	[DEBUG]	Processing item: 17T20526150
2023-10-13	12:30:12	698	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:12	698	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:12	698	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4975_1'
2023-10-13	12:30:12	698	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:12	698	[DEBUG]	Processing product tax
2023-10-13	12:30:12	698	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:12	698	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:12	698	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:12	698	[DEBUG]	Query for Product
2023-10-13	12:30:12	698	[DEBUG]	Executed store
2023-10-13	12:30:12	698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860189','17T20526150','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:30:12	698	[DEBUG]	No parent found
2023-10-13	12:30:12	698	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860189 AND customfield_value = 'stockable'
2023-10-13	12:30:12	698	[DEBUG]	Check product language entry
2023-10-13	12:30:12	698	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860190
2023-10-13	12:30:12	698	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:12	698	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '17T20526150' AND `virtuemart_product_id` != 1860190
2023-10-13	12:30:12	698	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:12	698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860190, '17T20526150')
2023-10-13	12:30:12	698	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:12	698	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-gx-eagle-xg-1275-12-vit-10-50-noir-noir-unitaire' AND `virtuemart_product_id` != 1860190
2023-10-13	12:30:12	698	[DEBUG]	Query for ProductLang
2023-10-13	12:30:12	698	[DEBUG]	Executed store
2023-10-13	12:30:12	698	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette GX Eagle XG-1275, 12-vit. 10-50 noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-gx-eagle-xg-1275-12-vit-10-50-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1860190'
2023-10-13	12:30:12	698	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29343_cassette_gx_eagle_xg-1275,_12-vit__10-50_noir.jpg
2023-10-13	12:30:12	698	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:12	698	[DEBUG]	Process image file
2023-10-13	12:30:12	698	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:12	698	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:12	698	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29343_cassette_gx_eagle_xg-1275,_12-vit__10-50_noir.jpg
2023-10-13	12:30:12	698	[DEBUG]	Full name target: bcprisme/29343_cassette_gx_eagle_xg-1275,_12-vit__10-50_noir.jpg
2023-10-13	12:30:13	698	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:13	698	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29343_cassette_gx_eagle_xg-1275,_12-vit__10-50_noir.jpg'
2023-10-13	12:30:13	698	[DEBUG]	Query for Media
2023-10-13	12:30:13	698	[DEBUG]	Executed store
2023-10-13	12:30:13	698	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29343_cassette_gx_eagle_xg-1275,_12-vit__10-50_noir.jpg',`file_url_thumb`='bcprisme/29343_cassette_gx_eagle_xg-1275,_12-vit__10-50_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12462'
2023-10-13	12:30:13	698	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:13	698	[DEBUG]	Executed store
2023-10-13	12:30:13	698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860190','12462','1')
2023-10-13	12:30:13	698	[DEBUG]	Store product image relation
2023-10-13	12:30:13	698	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:13	698	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860190 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:13	698	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:13	698	[DEBUG]	Executed store
2023-10-13	12:30:13	698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860190','0','231.197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:13	698	[DEBUG]	Checking manufacturer
2023-10-13	12:30:13	698	[DEBUG]	Load a row
2023-10-13	12:30:13	698	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:13	698	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:30:13	698	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:13	698	[DEBUG]	Executed store
2023-10-13	12:30:13	698	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:30:13	698	[DEBUG]	Manufacturer exists
2023-10-13	12:30:13	698	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:30:13	698	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:13	698	[DEBUG]	Executed store
2023-10-13	12:30:13	698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860190','35')
2023-10-13	12:30:13	698	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:13	698	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:13	698	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860190 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:13	698	[DEBUG]	Store custom available field
2023-10-13	12:30:13	698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860190,3,'',1)
2023-10-13	12:30:13	698	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:13	698	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:30:13	698	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860190 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:13	698	[DEBUG]	Store custom available field
2023-10-13	12:30:13	698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860190,6,'Unitaire',3)
2023-10-13	12:30:13	698	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:13	698	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:13	698	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860189
2023-10-13	12:30:13	698	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:13	698	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860189\":[1860189,8,1,\"choisir la taille\"],\"1860190\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860189
2023-10-13	12:30:13	698	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:13	698	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860190
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:13	699	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field taille
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:13	699	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:13	699	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:13	699	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:13	699	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:13	699	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:13	699	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field published
2023-10-13	12:30:13	699	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:13	699	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field override
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:13	699	[DEBUG]	Use field value for field slug
2023-10-13	12:30:13	699	[DEBUG]	Process line 699
2023-10-13	12:30:13	699	[DEBUG]	Load a row
2023-10-13	12:30:13	699	[DEBUG]	Processing item: A_5024_4
2023-10-13	12:30:13	699	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:13	699	[DEBUG]	Processing product tax
2023-10-13	12:30:13	699	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:13	699	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:13	699	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:13	699	[DEBUG]	Query for Product
2023-10-13	12:30:13	699	[DEBUG]	Executed store
2023-10-13	12:30:13	699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5024_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:30:13	699	[DEBUG]	Check product language entry
2023-10-13	12:30:13	699	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860191
2023-10-13	12:30:13	699	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:13	699	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5024_4' AND `virtuemart_product_id` != 1860191
2023-10-13	12:30:13	699	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:13	699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860191, 'A_5024_4')
2023-10-13	12:30:13	699	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:13	699	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-xt-cs-m770-9-vitesses-11-34-dents-box-acier' AND `virtuemart_product_id` != 1860191
2023-10-13	12:30:13	699	[DEBUG]	Query for ProductLang
2023-10-13	12:30:13	699	[DEBUG]	Executed store
2023-10-13	12:30:13	699	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.44200',`product_name`='SHIMANO Cassette Deore XT CS-M770 9-vitesses 11-34 dents box / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-xt-cs-m770-9-vitesses-11-34-dents-box-acier' WHERE `virtuemart_product_id` = '1860191'
2023-10-13	12:30:13	699	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34186_cassette_deore_xt_cs-m770_9-vitesses_11-34_dents_box.jpg
2023-10-13	12:30:13	699	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:13	699	[DEBUG]	Process image file
2023-10-13	12:30:13	699	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:13	699	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:13	699	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34186_cassette_deore_xt_cs-m770_9-vitesses_11-34_dents_box.jpg
2023-10-13	12:30:13	699	[DEBUG]	Full name target: bcprisme/34186_cassette_deore_xt_cs-m770_9-vitesses_11-34_dents_box.jpg
2023-10-13	12:30:14	699	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:14	699	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34186_cassette_deore_xt_cs-m770_9-vitesses_11-34_dents_box.jpg'
2023-10-13	12:30:14	699	[DEBUG]	Query for Media
2023-10-13	12:30:14	699	[DEBUG]	Executed store
2023-10-13	12:30:14	699	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34186_cassette_deore_xt_cs-m770_9-vitesses_11-34_dents_box.jpg',`file_url_thumb`='bcprisme/34186_cassette_deore_xt_cs-m770_9-vitesses_11-34_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23962'
2023-10-13	12:30:14	699	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:14	699	[DEBUG]	Executed store
2023-10-13	12:30:14	699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860191','23962','1')
2023-10-13	12:30:14	699	[DEBUG]	Store product image relation
2023-10-13	12:30:14	699	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:14	699	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860191 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:14	699	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:14	699	[DEBUG]	Executed store
2023-10-13	12:30:14	699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860191','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:14	699	[DEBUG]	Checking manufacturer
2023-10-13	12:30:14	699	[DEBUG]	Load a row
2023-10-13	12:30:14	699	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:14	699	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:14	699	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:14	699	[DEBUG]	Executed store
2023-10-13	12:30:14	699	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:14	699	[DEBUG]	Manufacturer exists
2023-10-13	12:30:14	699	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:30:14	699	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:14	699	[DEBUG]	Executed store
2023-10-13	12:30:14	699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860191','26')
2023-10-13	12:30:14	699	[DEBUG]	Find the custom field ID
2023-10-13	12:30:14	699	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:14	699	[DEBUG]	No custom field ID found
2023-10-13	12:30:14	699	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:14	699	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:30:14	699	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860191 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:14	699	[DEBUG]	Store custom available field
2023-10-13	12:30:14	699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860191,3,'0',1)
2023-10-13	12:30:14	699	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:14	699	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:14	699	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860191 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:14	699	[DEBUG]	Store custom available field
2023-10-13	12:30:14	699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860191,6,'choisir la taille',3)
2023-10-13	12:30:14	699	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:14	699	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:14	699	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:14	699	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:14	699	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860191 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:14	699	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:14	699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860191,8,1)
2023-10-13	12:30:14	699	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:14	699	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860191\":[1860191,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860191
2023-10-13	12:30:14	699	[DEBUG]	Checking category
2023-10-13	12:30:14	699	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:14	699	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860191
2023-10-13	12:30:14	699	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:14	699	[DEBUG]	Executed store
2023-10-13	12:30:14	699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860191','7283')
2023-10-13	12:30:14	699	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:14	699	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860191 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:14	699	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:14	699	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860191
2023-10-13	12:30:14	700	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:14	700	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:14	700	[DEBUG]	Use field value for field taille
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:14	700	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:14	700	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:14	700	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:14	700	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:14	700	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:14	700	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:14	700	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:14	700	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:14	700	[DEBUG]	Use field value for field published
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:14	700	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field override
2023-10-13	12:30:14	700	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:14	700	[DEBUG]	Use field value for field slug
2023-10-13	12:30:14	700	[DEBUG]	Process line 700
2023-10-13	12:30:14	700	[DEBUG]	Load a row
2023-10-13	12:30:14	700	[DEBUG]	Processing item: 4524667130208
2023-10-13	12:30:14	700	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:14	700	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:14	700	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5024_4'
2023-10-13	12:30:14	700	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:14	700	[DEBUG]	Processing product tax
2023-10-13	12:30:14	700	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:14	700	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:14	700	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:14	700	[DEBUG]	Query for Product
2023-10-13	12:30:14	700	[DEBUG]	Executed store
2023-10-13	12:30:14	700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860191','4524667130208','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0')
2023-10-13	12:30:14	700	[DEBUG]	No parent found
2023-10-13	12:30:14	700	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860191 AND customfield_value = 'stockable'
2023-10-13	12:30:14	700	[DEBUG]	Check product language entry
2023-10-13	12:30:14	700	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860192
2023-10-13	12:30:14	700	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:14	700	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667130208' AND `virtuemart_product_id` != 1860192
2023-10-13	12:30:14	700	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:14	700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860192, '4524667130208')
2023-10-13	12:30:14	700	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:14	700	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-xt-cs-m770-9-vitesses-11-34-dents-box-acier-all' AND `virtuemart_product_id` != 1860192
2023-10-13	12:30:14	700	[DEBUG]	Query for ProductLang
2023-10-13	12:30:14	700	[DEBUG]	Executed store
2023-10-13	12:30:14	700	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Deore XT CS-M770 9-vitesses 11-34 dents box / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-xt-cs-m770-9-vitesses-11-34-dents-box-acier-all' WHERE `virtuemart_product_id` = '1860192'
2023-10-13	12:30:14	700	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34186_cassette_deore_xt_cs-m770_9-vitesses_11-34_dents_box.jpg
2023-10-13	12:30:14	700	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:14	700	[DEBUG]	Process image file
2023-10-13	12:30:14	700	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:14	700	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:14	700	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34186_cassette_deore_xt_cs-m770_9-vitesses_11-34_dents_box.jpg
2023-10-13	12:30:14	700	[DEBUG]	Full name target: bcprisme/34186_cassette_deore_xt_cs-m770_9-vitesses_11-34_dents_box.jpg
2023-10-13	12:30:15	700	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:15	700	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34186_cassette_deore_xt_cs-m770_9-vitesses_11-34_dents_box.jpg'
2023-10-13	12:30:15	700	[DEBUG]	Query for Media
2023-10-13	12:30:15	700	[DEBUG]	Executed store
2023-10-13	12:30:15	700	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34186_cassette_deore_xt_cs-m770_9-vitesses_11-34_dents_box.jpg',`file_url_thumb`='bcprisme/34186_cassette_deore_xt_cs-m770_9-vitesses_11-34_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23962'
2023-10-13	12:30:15	700	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:15	700	[DEBUG]	Executed store
2023-10-13	12:30:15	700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860192','23962','1')
2023-10-13	12:30:15	700	[DEBUG]	Store product image relation
2023-10-13	12:30:15	700	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:15	700	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860192 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:15	700	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:15	700	[DEBUG]	Executed store
2023-10-13	12:30:15	700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860192','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:28:29','1593','2023-10-13 12:28:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:15	700	[DEBUG]	Checking manufacturer
2023-10-13	12:30:15	700	[DEBUG]	Load a row
2023-10-13	12:30:15	700	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:15	700	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:15	700	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:15	700	[DEBUG]	Executed store
2023-10-13	12:30:15	700	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:15	700	[DEBUG]	Manufacturer exists
2023-10-13	12:30:15	700	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:30:15	700	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:15	700	[DEBUG]	Executed store
2023-10-13	12:30:15	700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860192','26')
2023-10-13	12:30:15	700	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:15	700	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:15	700	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860192 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:15	700	[DEBUG]	Store custom available field
2023-10-13	12:30:15	700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860192,3,'',1)
2023-10-13	12:30:15	700	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:15	700	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:30:15	700	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860192 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:15	700	[DEBUG]	Store custom available field
2023-10-13	12:30:15	700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860192,6,'All',3)
2023-10-13	12:30:15	700	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:15	700	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:15	700	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860191
2023-10-13	12:30:15	700	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:15	700	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860191\":[1860191,8,1,\"choisir la taille\"],\"1860192\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860191
2023-10-13	12:30:15	700	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:15	700	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860192
2023-10-13	12:30:35	700	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:30:35	700	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:30:35	700	[DEBUG]	Load the fields to process
2023-10-13	12:30:35	700	[DEBUG]	Setup field: product_sku
2023-10-13	12:30:35	700	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:30:35	700	[DEBUG]	Setup field: taille
2023-10-13	12:30:35	700	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:30:35	700	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:30:35	700	[DEBUG]	Setup field: product_name
2023-10-13	12:30:35	700	[DEBUG]	Setup field: category_path
2023-10-13	12:30:35	700	[DEBUG]	Setup field: product_price
2023-10-13	12:30:35	700	[DEBUG]	Setup field: product_override_price
2023-10-13	12:30:35	700	[DEBUG]	Setup field: product_tax
2023-10-13	12:30:35	700	[DEBUG]	Setup field: file_url
2023-10-13	12:30:35	700	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:30:35	700	[DEBUG]	Setup field: product_desc
2023-10-13	12:30:35	700	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:30:35	700	[DEBUG]	Setup field: product_availability
2023-10-13	12:30:35	700	[DEBUG]	Setup field: product_weight
2023-10-13	12:30:35	700	[DEBUG]	Setup field: product_unit
2023-10-13	12:30:35	700	[DEBUG]	Setup field: related_products
2023-10-13	12:30:35	700	[DEBUG]	Setup field: product_special
2023-10-13	12:30:35	700	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:30:35	700	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:30:35	700	[DEBUG]	Setup field: published
2023-10-13	12:30:35	700	[DEBUG]	Setup field: metadesc
2023-10-13	12:30:35	700	[DEBUG]	Setup field: metakey
2023-10-13	12:30:35	700	[DEBUG]	Setup field: custom_title
2023-10-13	12:30:35	700	[DEBUG]	Setup field: custom_value
2023-10-13	12:30:35	700	[DEBUG]	Setup field: custom_param
2023-10-13	12:30:35	700	[DEBUG]	Setup field: override
2023-10-13	12:30:35	700	[DEBUG]	Setup field: public_price
2023-10-13	12:30:35	700	[DEBUG]	Setup field: slug
2023-10-13	12:30:35	700	[DEBUG]	Use the file for configuration
2023-10-13	12:30:35	700	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:30:35	700	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:30:35	700	[DEBUG]	Load the custom fields
2023-10-13	12:30:35	700	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:30:35	700	[DEBUG]	Load stockable custom fields
2023-10-13	12:30:35	700	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:30:35	700	[DEBUG]	Load custom fields for all
2023-10-13	12:30:35	700	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:35	701	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field taille
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:35	701	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:35	701	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:35	701	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:35	701	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:35	701	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:35	701	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field published
2023-10-13	12:30:35	701	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:35	701	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field override
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:35	701	[DEBUG]	Use field value for field slug
2023-10-13	12:30:35	701	[DEBUG]	Process line 701
2023-10-13	12:30:35	701	[DEBUG]	Check if the vendor exists
2023-10-13	12:30:35	701	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5034_4'
2023-10-13	12:30:35	701	[DEBUG]	Load a row
2023-10-13	12:30:35	701	[DEBUG]	Processing item: A_5034_4
2023-10-13	12:30:35	701	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:35	701	[DEBUG]	Processing product tax
2023-10-13	12:30:35	701	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:35	701	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:35	701	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:35	701	[DEBUG]	Query for Product
2023-10-13	12:30:35	701	[DEBUG]	Executed store
2023-10-13	12:30:35	701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5034_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:35	701	[DEBUG]	Check product language entry
2023-10-13	12:30:35	701	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860193
2023-10-13	12:30:35	701	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:35	701	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5034_4' AND `virtuemart_product_id` != 1860193
2023-10-13	12:30:35	701	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:35	701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860193, 'A_5034_4')
2023-10-13	12:30:35	701	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:35	701	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-6800-11-vitesses-11-25-dents-box-acier' AND `virtuemart_product_id` != 1860193
2023-10-13	12:30:35	701	[DEBUG]	Query for ProductLang
2023-10-13	12:30:35	701	[DEBUG]	Executed store
2023-10-13	12:30:35	701	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.57098',`product_name`='SHIMANO Cassette Ultegra CS-6800 11-vitesses 11-25 dents box / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-6800-11-vitesses-11-25-dents-box-acier' WHERE `virtuemart_product_id` = '1860193'
2023-10-13	12:30:35	701	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34187_cassette_ultegra_cs-6800_11-vitesses_11-25_dents_box.jpg
2023-10-13	12:30:35	701	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:35	701	[DEBUG]	Process image file
2023-10-13	12:30:35	701	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:35	701	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:35	701	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34187_cassette_ultegra_cs-6800_11-vitesses_11-25_dents_box.jpg
2023-10-13	12:30:35	701	[DEBUG]	Full name target: bcprisme/34187_cassette_ultegra_cs-6800_11-vitesses_11-25_dents_box.jpg
2023-10-13	12:30:36	701	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:36	701	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34187_cassette_ultegra_cs-6800_11-vitesses_11-25_dents_box.jpg'
2023-10-13	12:30:36	701	[DEBUG]	Query for Media
2023-10-13	12:30:36	701	[DEBUG]	Executed store
2023-10-13	12:30:36	701	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34187_cassette_ultegra_cs-6800_11-vitesses_11-25_dents_box.jpg',`file_url_thumb`='bcprisme/34187_cassette_ultegra_cs-6800_11-vitesses_11-25_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23964'
2023-10-13	12:30:36	701	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:36	701	[DEBUG]	Executed store
2023-10-13	12:30:36	701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860193','23964','1')
2023-10-13	12:30:36	701	[DEBUG]	Store product image relation
2023-10-13	12:30:36	701	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:36	701	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860193 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:36	701	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:36	701	[DEBUG]	Executed store
2023-10-13	12:30:36	701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860193','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:36	701	[DEBUG]	Checking manufacturer
2023-10-13	12:30:36	701	[DEBUG]	Load a row
2023-10-13	12:30:36	701	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:36	701	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:36	701	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:36	701	[DEBUG]	Executed store
2023-10-13	12:30:36	701	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:36	701	[DEBUG]	Manufacturer exists
2023-10-13	12:30:36	701	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:30:36	701	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:36	701	[DEBUG]	Executed store
2023-10-13	12:30:36	701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860193','26')
2023-10-13	12:30:36	701	[DEBUG]	Find the custom field ID
2023-10-13	12:30:36	701	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:36	701	[DEBUG]	No custom field ID found
2023-10-13	12:30:36	701	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:36	701	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:30:36	701	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860193 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:36	701	[DEBUG]	Store custom available field
2023-10-13	12:30:36	701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860193,3,'0',1)
2023-10-13	12:30:36	701	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:36	701	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:36	701	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860193 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:36	701	[DEBUG]	Store custom available field
2023-10-13	12:30:36	701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860193,6,'choisir la taille',3)
2023-10-13	12:30:36	701	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:36	701	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:36	701	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:36	701	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:36	701	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860193 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:36	701	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:36	701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860193,8,1)
2023-10-13	12:30:36	701	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:36	701	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860193\":[1860193,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860193
2023-10-13	12:30:36	701	[DEBUG]	Checking category
2023-10-13	12:30:36	701	[DEBUG]	Check if category path exists: CASSETTES - KASSETTEN
2023-10-13	12:30:36	701	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASSETTES - KASSETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:30:36	701	[DEBUG]	Check if category path exists: CASSETTES - KASSETTEN
2023-10-13	12:30:36	701	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASSETTES - KASSETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7282
2023-10-13	12:30:36	701	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:36	701	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860193
2023-10-13	12:30:36	701	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:36	701	[DEBUG]	Executed store
2023-10-13	12:30:36	701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860193','7283')
2023-10-13	12:30:36	701	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:36	701	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860193 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:36	701	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:36	701	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860193
2023-10-13	12:30:36	702	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:36	702	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:36	702	[DEBUG]	Use field value for field taille
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:36	702	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:36	702	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:36	702	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:36	702	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:36	702	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:36	702	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:36	702	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:36	702	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:36	702	[DEBUG]	Use field value for field published
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:36	702	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field override
2023-10-13	12:30:36	702	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:36	702	[DEBUG]	Use field value for field slug
2023-10-13	12:30:36	702	[DEBUG]	Process line 702
2023-10-13	12:30:36	702	[DEBUG]	Load a row
2023-10-13	12:30:36	702	[DEBUG]	Processing item: 4524667107576
2023-10-13	12:30:36	702	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:36	702	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:36	702	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5034_4'
2023-10-13	12:30:36	702	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:36	702	[DEBUG]	Processing product tax
2023-10-13	12:30:36	702	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:36	702	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:36	702	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:36	702	[DEBUG]	Query for Product
2023-10-13	12:30:36	702	[DEBUG]	Executed store
2023-10-13	12:30:36	702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860193','4524667107576','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:36	702	[DEBUG]	No parent found
2023-10-13	12:30:36	702	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860193 AND customfield_value = 'stockable'
2023-10-13	12:30:36	702	[DEBUG]	Check product language entry
2023-10-13	12:30:36	702	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860194
2023-10-13	12:30:36	702	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:36	702	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667107576' AND `virtuemart_product_id` != 1860194
2023-10-13	12:30:36	702	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:36	702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860194, '4524667107576')
2023-10-13	12:30:36	702	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:36	702	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-6800-11-vitesses-11-25-dents-box-acier-all' AND `virtuemart_product_id` != 1860194
2023-10-13	12:30:36	702	[DEBUG]	Query for ProductLang
2023-10-13	12:30:36	702	[DEBUG]	Executed store
2023-10-13	12:30:36	702	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Ultegra CS-6800 11-vitesses 11-25 dents box / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-6800-11-vitesses-11-25-dents-box-acier-all' WHERE `virtuemart_product_id` = '1860194'
2023-10-13	12:30:36	702	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34187_cassette_ultegra_cs-6800_11-vitesses_11-25_dents_box.jpg
2023-10-13	12:30:36	702	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:36	702	[DEBUG]	Process image file
2023-10-13	12:30:36	702	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:36	702	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:36	702	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34187_cassette_ultegra_cs-6800_11-vitesses_11-25_dents_box.jpg
2023-10-13	12:30:36	702	[DEBUG]	Full name target: bcprisme/34187_cassette_ultegra_cs-6800_11-vitesses_11-25_dents_box.jpg
2023-10-13	12:30:37	702	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:37	702	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34187_cassette_ultegra_cs-6800_11-vitesses_11-25_dents_box.jpg'
2023-10-13	12:30:37	702	[DEBUG]	Query for Media
2023-10-13	12:30:37	702	[DEBUG]	Executed store
2023-10-13	12:30:37	702	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34187_cassette_ultegra_cs-6800_11-vitesses_11-25_dents_box.jpg',`file_url_thumb`='bcprisme/34187_cassette_ultegra_cs-6800_11-vitesses_11-25_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23964'
2023-10-13	12:30:37	702	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:37	702	[DEBUG]	Executed store
2023-10-13	12:30:37	702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860194','23964','1')
2023-10-13	12:30:37	702	[DEBUG]	Store product image relation
2023-10-13	12:30:37	702	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:37	702	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860194 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:37	702	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:37	702	[DEBUG]	Executed store
2023-10-13	12:30:37	702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860194','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:37	702	[DEBUG]	Checking manufacturer
2023-10-13	12:30:37	702	[DEBUG]	Load a row
2023-10-13	12:30:37	702	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:37	702	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:37	702	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:37	702	[DEBUG]	Executed store
2023-10-13	12:30:37	702	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:37	702	[DEBUG]	Manufacturer exists
2023-10-13	12:30:37	702	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:30:37	702	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:37	702	[DEBUG]	Executed store
2023-10-13	12:30:37	702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860194','26')
2023-10-13	12:30:37	702	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:37	702	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:37	702	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860194 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:37	702	[DEBUG]	Store custom available field
2023-10-13	12:30:37	702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860194,3,'',1)
2023-10-13	12:30:37	702	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:37	702	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:30:37	702	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860194 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:37	702	[DEBUG]	Store custom available field
2023-10-13	12:30:37	702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860194,6,'All',3)
2023-10-13	12:30:37	702	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:37	702	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:37	702	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860193
2023-10-13	12:30:37	702	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:37	702	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860193\":[1860193,8,1,\"choisir la taille\"],\"1860194\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860193
2023-10-13	12:30:37	702	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:37	702	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860194
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:37	703	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field taille
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:37	703	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:37	703	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:37	703	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:37	703	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:37	703	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:37	703	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field published
2023-10-13	12:30:37	703	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:37	703	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field override
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:37	703	[DEBUG]	Use field value for field slug
2023-10-13	12:30:37	703	[DEBUG]	Process line 703
2023-10-13	12:30:37	703	[DEBUG]	Load a row
2023-10-13	12:30:37	703	[DEBUG]	Processing item: A_5035_4
2023-10-13	12:30:37	703	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:37	703	[DEBUG]	Processing product tax
2023-10-13	12:30:37	703	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:37	703	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:37	703	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:37	703	[DEBUG]	Query for Product
2023-10-13	12:30:37	703	[DEBUG]	Executed store
2023-10-13	12:30:37	703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5035_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:37	703	[DEBUG]	Check product language entry
2023-10-13	12:30:37	703	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860195
2023-10-13	12:30:37	703	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:37	703	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5035_4' AND `virtuemart_product_id` != 1860195
2023-10-13	12:30:37	703	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:37	703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860195, 'A_5035_4')
2023-10-13	12:30:37	703	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:37	703	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-slx-cs-m7000-11-vitesses-11-40-dents-box-acier' AND `virtuemart_product_id` != 1860195
2023-10-13	12:30:37	703	[DEBUG]	Query for ProductLang
2023-10-13	12:30:37	703	[DEBUG]	Executed store
2023-10-13	12:30:37	703	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.66331',`product_name`='SHIMANO Cassette SLX CS-M7000 11-vitesses 11-40 dents box / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-slx-cs-m7000-11-vitesses-11-40-dents-box-acier' WHERE `virtuemart_product_id` = '1860195'
2023-10-13	12:30:37	703	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34188_cassette_slx_cs-m7000_11-vitesses_11-40_dents_box.jpg
2023-10-13	12:30:37	703	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:37	703	[DEBUG]	Process image file
2023-10-13	12:30:37	703	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:37	703	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:37	703	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34188_cassette_slx_cs-m7000_11-vitesses_11-40_dents_box.jpg
2023-10-13	12:30:37	703	[DEBUG]	Full name target: bcprisme/34188_cassette_slx_cs-m7000_11-vitesses_11-40_dents_box.jpg
2023-10-13	12:30:38	703	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:38	703	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34188_cassette_slx_cs-m7000_11-vitesses_11-40_dents_box.jpg'
2023-10-13	12:30:38	703	[DEBUG]	Query for Media
2023-10-13	12:30:38	703	[DEBUG]	Executed store
2023-10-13	12:30:38	703	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34188_cassette_slx_cs-m7000_11-vitesses_11-40_dents_box.jpg',`file_url_thumb`='bcprisme/34188_cassette_slx_cs-m7000_11-vitesses_11-40_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23966'
2023-10-13	12:30:38	703	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:38	703	[DEBUG]	Executed store
2023-10-13	12:30:38	703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860195','23966','1')
2023-10-13	12:30:38	703	[DEBUG]	Store product image relation
2023-10-13	12:30:38	703	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:38	703	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860195 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:38	703	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:38	703	[DEBUG]	Executed store
2023-10-13	12:30:38	703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860195','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:38	703	[DEBUG]	Checking manufacturer
2023-10-13	12:30:38	703	[DEBUG]	Load a row
2023-10-13	12:30:38	703	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:38	703	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:38	703	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:38	703	[DEBUG]	Executed store
2023-10-13	12:30:38	703	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:38	703	[DEBUG]	Manufacturer exists
2023-10-13	12:30:38	703	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:30:38	703	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:38	703	[DEBUG]	Executed store
2023-10-13	12:30:38	703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860195','26')
2023-10-13	12:30:38	703	[DEBUG]	Find the custom field ID
2023-10-13	12:30:38	703	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:38	703	[DEBUG]	No custom field ID found
2023-10-13	12:30:38	703	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:38	703	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:30:38	703	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860195 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:38	703	[DEBUG]	Store custom available field
2023-10-13	12:30:38	703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860195,3,'0',1)
2023-10-13	12:30:38	703	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:38	703	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:38	703	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860195 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:38	703	[DEBUG]	Store custom available field
2023-10-13	12:30:38	703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860195,6,'choisir la taille',3)
2023-10-13	12:30:38	703	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:38	703	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:38	703	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:38	703	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:38	703	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860195 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:38	703	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:38	703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860195,8,1)
2023-10-13	12:30:38	703	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:38	703	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860195\":[1860195,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860195
2023-10-13	12:30:38	703	[DEBUG]	Checking category
2023-10-13	12:30:38	703	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:38	703	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860195
2023-10-13	12:30:38	703	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:38	703	[DEBUG]	Executed store
2023-10-13	12:30:38	703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860195','7283')
2023-10-13	12:30:38	703	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:38	703	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860195 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:38	703	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:38	703	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860195
2023-10-13	12:30:38	704	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:38	704	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:38	704	[DEBUG]	Use field value for field taille
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:38	704	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:38	704	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:38	704	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:38	704	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:38	704	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:38	704	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:38	704	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:38	704	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:38	704	[DEBUG]	Use field value for field published
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:38	704	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field override
2023-10-13	12:30:38	704	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:38	704	[DEBUG]	Use field value for field slug
2023-10-13	12:30:38	704	[DEBUG]	Process line 704
2023-10-13	12:30:38	704	[DEBUG]	Load a row
2023-10-13	12:30:38	704	[DEBUG]	Processing item: 4524667687016
2023-10-13	12:30:38	704	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:38	704	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:38	704	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5035_4'
2023-10-13	12:30:38	704	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:38	704	[DEBUG]	Processing product tax
2023-10-13	12:30:38	704	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:38	704	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:38	704	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:38	704	[DEBUG]	Query for Product
2023-10-13	12:30:38	704	[DEBUG]	Executed store
2023-10-13	12:30:38	704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860195','4524667687016','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:38	704	[DEBUG]	No parent found
2023-10-13	12:30:38	704	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860195 AND customfield_value = 'stockable'
2023-10-13	12:30:38	704	[DEBUG]	Check product language entry
2023-10-13	12:30:38	704	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860196
2023-10-13	12:30:38	704	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:38	704	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667687016' AND `virtuemart_product_id` != 1860196
2023-10-13	12:30:38	704	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:38	704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860196, '4524667687016')
2023-10-13	12:30:38	704	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:38	704	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-slx-cs-m7000-11-vitesses-11-40-dents-box-acier-all' AND `virtuemart_product_id` != 1860196
2023-10-13	12:30:38	704	[DEBUG]	Query for ProductLang
2023-10-13	12:30:38	704	[DEBUG]	Executed store
2023-10-13	12:30:38	704	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette SLX CS-M7000 11-vitesses 11-40 dents box / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-slx-cs-m7000-11-vitesses-11-40-dents-box-acier-all' WHERE `virtuemart_product_id` = '1860196'
2023-10-13	12:30:38	704	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34188_cassette_slx_cs-m7000_11-vitesses_11-40_dents_box.jpg
2023-10-13	12:30:38	704	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:38	704	[DEBUG]	Process image file
2023-10-13	12:30:38	704	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:38	704	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:38	704	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34188_cassette_slx_cs-m7000_11-vitesses_11-40_dents_box.jpg
2023-10-13	12:30:38	704	[DEBUG]	Full name target: bcprisme/34188_cassette_slx_cs-m7000_11-vitesses_11-40_dents_box.jpg
2023-10-13	12:30:39	704	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:39	704	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34188_cassette_slx_cs-m7000_11-vitesses_11-40_dents_box.jpg'
2023-10-13	12:30:39	704	[DEBUG]	Query for Media
2023-10-13	12:30:39	704	[DEBUG]	Executed store
2023-10-13	12:30:39	704	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34188_cassette_slx_cs-m7000_11-vitesses_11-40_dents_box.jpg',`file_url_thumb`='bcprisme/34188_cassette_slx_cs-m7000_11-vitesses_11-40_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23966'
2023-10-13	12:30:39	704	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:39	704	[DEBUG]	Executed store
2023-10-13	12:30:39	704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860196','23966','1')
2023-10-13	12:30:39	704	[DEBUG]	Store product image relation
2023-10-13	12:30:39	704	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:39	704	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860196 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:39	704	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:39	704	[DEBUG]	Executed store
2023-10-13	12:30:39	704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860196','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:39	704	[DEBUG]	Checking manufacturer
2023-10-13	12:30:39	704	[DEBUG]	Load a row
2023-10-13	12:30:39	704	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:39	704	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:39	704	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:39	704	[DEBUG]	Executed store
2023-10-13	12:30:39	704	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:39	704	[DEBUG]	Manufacturer exists
2023-10-13	12:30:39	704	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:30:39	704	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:39	704	[DEBUG]	Executed store
2023-10-13	12:30:39	704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860196','26')
2023-10-13	12:30:39	704	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:39	704	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:39	704	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860196 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:39	704	[DEBUG]	Store custom available field
2023-10-13	12:30:39	704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860196,3,'',1)
2023-10-13	12:30:39	704	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:39	704	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:30:39	704	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860196 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:39	704	[DEBUG]	Store custom available field
2023-10-13	12:30:39	704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860196,6,'All',3)
2023-10-13	12:30:39	704	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:39	704	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:39	704	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860195
2023-10-13	12:30:39	704	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:39	704	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860195\":[1860195,8,1,\"choisir la taille\"],\"1860196\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860195
2023-10-13	12:30:39	704	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:39	704	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860196
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:39	705	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field taille
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:39	705	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:39	705	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:39	705	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:39	705	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:39	705	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:39	705	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field published
2023-10-13	12:30:39	705	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:39	705	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field override
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:39	705	[DEBUG]	Use field value for field slug
2023-10-13	12:30:39	705	[DEBUG]	Process line 705
2023-10-13	12:30:39	705	[DEBUG]	Load a row
2023-10-13	12:30:39	705	[DEBUG]	Processing item: A_5051_4
2023-10-13	12:30:39	705	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:39	705	[DEBUG]	Processing product tax
2023-10-13	12:30:39	705	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:39	705	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:39	705	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:39	705	[DEBUG]	Query for Product
2023-10-13	12:30:39	705	[DEBUG]	Executed store
2023-10-13	12:30:39	705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5051_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:39	705	[DEBUG]	Check product language entry
2023-10-13	12:30:39	705	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860197
2023-10-13	12:30:39	705	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:39	705	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5051_4' AND `virtuemart_product_id` != 1860197
2023-10-13	12:30:39	705	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:39	705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860197, 'A_5051_4')
2023-10-13	12:30:39	705	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:39	705	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-rs8000-cs-hg800-11-vitesses-11-30-acier' AND `virtuemart_product_id` != 1860197
2023-10-13	12:30:39	705	[DEBUG]	Query for ProductLang
2023-10-13	12:30:39	705	[DEBUG]	Executed store
2023-10-13	12:30:39	705	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.69261',`product_name`='SHIMANO Cassette Ultegra CS-RS8000/CS-HG800 11-vitesses 11/30 / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-rs8000-cs-hg800-11-vitesses-11-30-acier' WHERE `virtuemart_product_id` = '1860197'
2023-10-13	12:30:39	705	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34189_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses.jpg
2023-10-13	12:30:39	705	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:39	705	[DEBUG]	Process image file
2023-10-13	12:30:39	705	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:39	705	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:39	705	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34189_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses.jpg
2023-10-13	12:30:39	705	[DEBUG]	Full name target: bcprisme/34189_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses.jpg
2023-10-13	12:30:40	705	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:40	705	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34189_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses.jpg'
2023-10-13	12:30:40	705	[DEBUG]	Query for Media
2023-10-13	12:30:40	705	[DEBUG]	Executed store
2023-10-13	12:30:40	705	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34189_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses.jpg',`file_url_thumb`='bcprisme/34189_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23968'
2023-10-13	12:30:40	705	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:40	705	[DEBUG]	Executed store
2023-10-13	12:30:40	705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860197','23968','1')
2023-10-13	12:30:40	705	[DEBUG]	Store product image relation
2023-10-13	12:30:40	705	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:40	705	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860197 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:40	705	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:40	705	[DEBUG]	Executed store
2023-10-13	12:30:40	705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860197','0','107.61374187558','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:40	705	[DEBUG]	Checking manufacturer
2023-10-13	12:30:40	705	[DEBUG]	Load a row
2023-10-13	12:30:40	705	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:40	705	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:40	705	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:40	705	[DEBUG]	Executed store
2023-10-13	12:30:40	705	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:40	705	[DEBUG]	Manufacturer exists
2023-10-13	12:30:40	705	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:30:40	705	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:40	705	[DEBUG]	Executed store
2023-10-13	12:30:40	705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860197','26')
2023-10-13	12:30:40	705	[DEBUG]	Find the custom field ID
2023-10-13	12:30:40	705	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:40	705	[DEBUG]	No custom field ID found
2023-10-13	12:30:40	705	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:40	705	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:30:40	705	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860197 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:40	705	[DEBUG]	Store custom available field
2023-10-13	12:30:40	705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860197,3,'0',1)
2023-10-13	12:30:40	705	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:40	705	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:40	705	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860197 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:40	705	[DEBUG]	Store custom available field
2023-10-13	12:30:40	705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860197,6,'choisir la taille',3)
2023-10-13	12:30:40	705	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:40	705	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:40	705	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:40	705	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:40	705	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860197 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:40	705	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:40	705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860197,8,1)
2023-10-13	12:30:40	705	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:40	705	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860197\":[1860197,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860197
2023-10-13	12:30:40	705	[DEBUG]	Checking category
2023-10-13	12:30:40	705	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:40	705	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860197
2023-10-13	12:30:40	705	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:40	705	[DEBUG]	Executed store
2023-10-13	12:30:40	705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860197','7283')
2023-10-13	12:30:40	705	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:40	705	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860197 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:40	705	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:40	705	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860197
2023-10-13	12:30:40	706	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:40	706	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:40	706	[DEBUG]	Use field value for field taille
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:40	706	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:40	706	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:40	706	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:40	706	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:40	706	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:40	706	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:40	706	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:40	706	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:40	706	[DEBUG]	Use field value for field published
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:40	706	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field override
2023-10-13	12:30:40	706	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:40	706	[DEBUG]	Use field value for field slug
2023-10-13	12:30:40	706	[DEBUG]	Process line 706
2023-10-13	12:30:40	706	[DEBUG]	Load a row
2023-10-13	12:30:40	706	[DEBUG]	Processing item: 1000000116212
2023-10-13	12:30:40	706	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:40	706	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:40	706	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5051_4'
2023-10-13	12:30:40	706	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:40	706	[DEBUG]	Processing product tax
2023-10-13	12:30:40	706	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:40	706	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:40	706	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:40	706	[DEBUG]	Query for Product
2023-10-13	12:30:40	706	[DEBUG]	Executed store
2023-10-13	12:30:40	706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860197','1000000116212','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:40	706	[DEBUG]	No parent found
2023-10-13	12:30:40	706	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860197 AND customfield_value = 'stockable'
2023-10-13	12:30:40	706	[DEBUG]	Check product language entry
2023-10-13	12:30:40	706	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860198
2023-10-13	12:30:40	706	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:40	706	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000116212' AND `virtuemart_product_id` != 1860198
2023-10-13	12:30:40	706	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:40	706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860198, '1000000116212')
2023-10-13	12:30:40	706	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:40	706	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-rs8000-cs-hg800-11-vitesses-11-30-acier-unitaire' AND `virtuemart_product_id` != 1860198
2023-10-13	12:30:40	706	[DEBUG]	Query for ProductLang
2023-10-13	12:30:40	706	[DEBUG]	Executed store
2023-10-13	12:30:40	706	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Ultegra CS-RS8000/CS-HG800 11-vitesses 11/30 / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-rs8000-cs-hg800-11-vitesses-11-30-acier-unitaire' WHERE `virtuemart_product_id` = '1860198'
2023-10-13	12:30:40	706	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34189_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses.jpg
2023-10-13	12:30:40	706	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:40	706	[DEBUG]	Process image file
2023-10-13	12:30:40	706	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:40	706	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:40	706	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34189_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses.jpg
2023-10-13	12:30:40	706	[DEBUG]	Full name target: bcprisme/34189_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses.jpg
2023-10-13	12:30:41	706	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:41	706	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34189_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses.jpg'
2023-10-13	12:30:41	706	[DEBUG]	Query for Media
2023-10-13	12:30:41	706	[DEBUG]	Executed store
2023-10-13	12:30:41	706	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34189_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses.jpg',`file_url_thumb`='bcprisme/34189_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23968'
2023-10-13	12:30:41	706	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:41	706	[DEBUG]	Executed store
2023-10-13	12:30:41	706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860198','23968','1')
2023-10-13	12:30:41	706	[DEBUG]	Store product image relation
2023-10-13	12:30:41	706	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:41	706	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860198 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:41	706	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:41	706	[DEBUG]	Executed store
2023-10-13	12:30:41	706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860198','0','107.61374187558','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:41	706	[DEBUG]	Checking manufacturer
2023-10-13	12:30:41	706	[DEBUG]	Load a row
2023-10-13	12:30:41	706	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:41	706	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:41	706	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:41	706	[DEBUG]	Executed store
2023-10-13	12:30:41	706	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:41	706	[DEBUG]	Manufacturer exists
2023-10-13	12:30:41	706	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:30:41	706	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:41	706	[DEBUG]	Executed store
2023-10-13	12:30:41	706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860198','26')
2023-10-13	12:30:41	706	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:41	706	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:41	706	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860198 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:41	706	[DEBUG]	Store custom available field
2023-10-13	12:30:41	706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860198,3,'',1)
2023-10-13	12:30:41	706	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:41	706	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:30:41	706	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860198 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:41	706	[DEBUG]	Store custom available field
2023-10-13	12:30:41	706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860198,6,'Unitaire',3)
2023-10-13	12:30:41	706	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:41	706	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:41	706	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860197
2023-10-13	12:30:41	706	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:41	706	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860197\":[1860197,8,1,\"choisir la taille\"],\"1860198\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860197
2023-10-13	12:30:41	706	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:41	706	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860198
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:41	707	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field taille
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:41	707	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:41	707	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:41	707	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:41	707	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:41	707	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:41	707	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field published
2023-10-13	12:30:41	707	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:41	707	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field override
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:41	707	[DEBUG]	Use field value for field slug
2023-10-13	12:30:41	707	[DEBUG]	Process line 707
2023-10-13	12:30:41	707	[DEBUG]	Load a row
2023-10-13	12:30:41	707	[DEBUG]	Processing item: A_5078_4
2023-10-13	12:30:41	707	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:41	707	[DEBUG]	Processing product tax
2023-10-13	12:30:41	707	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:41	707	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:41	707	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:41	707	[DEBUG]	Query for Product
2023-10-13	12:30:41	707	[DEBUG]	Executed store
2023-10-13	12:30:41	707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5078_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:41	707	[DEBUG]	Check product language entry
2023-10-13	12:30:41	707	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860199
2023-10-13	12:30:41	707	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:41	707	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5078_4' AND `virtuemart_product_id` != 1860199
2023-10-13	12:30:41	707	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:41	707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860199, 'A_5078_4')
2023-10-13	12:30:41	707	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:41	707	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-6700-10-vitesses-12-30-dents-box-acier' AND `virtuemart_product_id` != 1860199
2023-10-13	12:30:41	707	[DEBUG]	Query for ProductLang
2023-10-13	12:30:41	707	[DEBUG]	Executed store
2023-10-13	12:30:41	707	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.54682',`product_name`='SHIMANO Cassette Ultegra CS-6700 10-vitesses 12-30 dents  box / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-6700-10-vitesses-12-30-dents-box-acier' WHERE `virtuemart_product_id` = '1860199'
2023-10-13	12:30:41	707	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34190_cassette_ultegra_cs-6700_10-vitesses_12-30_dents__box.jpg
2023-10-13	12:30:41	707	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:41	707	[DEBUG]	Process image file
2023-10-13	12:30:41	707	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:41	707	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:41	707	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34190_cassette_ultegra_cs-6700_10-vitesses_12-30_dents__box.jpg
2023-10-13	12:30:41	707	[DEBUG]	Full name target: bcprisme/34190_cassette_ultegra_cs-6700_10-vitesses_12-30_dents__box.jpg
2023-10-13	12:30:42	707	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:42	707	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34190_cassette_ultegra_cs-6700_10-vitesses_12-30_dents__box.jpg'
2023-10-13	12:30:42	707	[DEBUG]	Query for Media
2023-10-13	12:30:42	707	[DEBUG]	Executed store
2023-10-13	12:30:42	707	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34190_cassette_ultegra_cs-6700_10-vitesses_12-30_dents__box.jpg',`file_url_thumb`='bcprisme/34190_cassette_ultegra_cs-6700_10-vitesses_12-30_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23970'
2023-10-13	12:30:42	707	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:42	707	[DEBUG]	Executed store
2023-10-13	12:30:42	707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860199','23970','1')
2023-10-13	12:30:42	707	[DEBUG]	Store product image relation
2023-10-13	12:30:42	707	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:42	707	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860199 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:42	707	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:42	707	[DEBUG]	Executed store
2023-10-13	12:30:42	707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860199','0','86.3509749303621','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:42	707	[DEBUG]	Checking manufacturer
2023-10-13	12:30:42	707	[DEBUG]	Load a row
2023-10-13	12:30:42	707	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:42	707	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:42	707	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:42	707	[DEBUG]	Executed store
2023-10-13	12:30:42	707	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:42	707	[DEBUG]	Manufacturer exists
2023-10-13	12:30:42	707	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:30:42	707	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:42	707	[DEBUG]	Executed store
2023-10-13	12:30:42	707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860199','26')
2023-10-13	12:30:42	707	[DEBUG]	Find the custom field ID
2023-10-13	12:30:42	707	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:42	707	[DEBUG]	No custom field ID found
2023-10-13	12:30:42	707	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:42	707	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:30:42	707	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860199 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:42	707	[DEBUG]	Store custom available field
2023-10-13	12:30:42	707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860199,3,'0',1)
2023-10-13	12:30:42	707	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:42	707	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:42	707	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860199 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:42	707	[DEBUG]	Store custom available field
2023-10-13	12:30:42	707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860199,6,'choisir la taille',3)
2023-10-13	12:30:42	707	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:42	707	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:42	707	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:42	707	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:42	707	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860199 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:42	707	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:42	707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860199,8,1)
2023-10-13	12:30:42	707	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:42	707	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860199\":[1860199,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860199
2023-10-13	12:30:42	707	[DEBUG]	Checking category
2023-10-13	12:30:42	707	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:42	707	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860199
2023-10-13	12:30:42	707	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:42	707	[DEBUG]	Executed store
2023-10-13	12:30:42	707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860199','7283')
2023-10-13	12:30:42	707	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:42	707	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860199 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:42	707	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:42	707	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860199
2023-10-13	12:30:42	708	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:42	708	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:42	708	[DEBUG]	Use field value for field taille
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:42	708	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:42	708	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:42	708	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:42	708	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:42	708	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:42	708	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:42	708	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:42	708	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:42	708	[DEBUG]	Use field value for field published
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:42	708	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field override
2023-10-13	12:30:42	708	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:42	708	[DEBUG]	Use field value for field slug
2023-10-13	12:30:42	708	[DEBUG]	Process line 708
2023-10-13	12:30:42	708	[DEBUG]	Load a row
2023-10-13	12:30:42	708	[DEBUG]	Processing item: 4524667299721
2023-10-13	12:30:42	708	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:42	708	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:42	708	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5078_4'
2023-10-13	12:30:42	708	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:42	708	[DEBUG]	Processing product tax
2023-10-13	12:30:42	708	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:42	708	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:42	708	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:42	708	[DEBUG]	Query for Product
2023-10-13	12:30:42	708	[DEBUG]	Executed store
2023-10-13	12:30:42	708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860199','4524667299721','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:43	708	[DEBUG]	No parent found
2023-10-13	12:30:43	708	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860199 AND customfield_value = 'stockable'
2023-10-13	12:30:43	708	[DEBUG]	Check product language entry
2023-10-13	12:30:43	708	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860200
2023-10-13	12:30:43	708	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:43	708	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667299721' AND `virtuemart_product_id` != 1860200
2023-10-13	12:30:43	708	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:43	708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860200, '4524667299721')
2023-10-13	12:30:43	708	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:43	708	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-6700-10-vitesses-12-30-dents-box-acier-all' AND `virtuemart_product_id` != 1860200
2023-10-13	12:30:43	708	[DEBUG]	Query for ProductLang
2023-10-13	12:30:43	708	[DEBUG]	Executed store
2023-10-13	12:30:43	708	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Ultegra CS-6700 10-vitesses 12-30 dents  box / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-6700-10-vitesses-12-30-dents-box-acier-all' WHERE `virtuemart_product_id` = '1860200'
2023-10-13	12:30:43	708	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34190_cassette_ultegra_cs-6700_10-vitesses_12-30_dents__box.jpg
2023-10-13	12:30:43	708	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:43	708	[DEBUG]	Process image file
2023-10-13	12:30:43	708	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:43	708	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:43	708	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34190_cassette_ultegra_cs-6700_10-vitesses_12-30_dents__box.jpg
2023-10-13	12:30:43	708	[DEBUG]	Full name target: bcprisme/34190_cassette_ultegra_cs-6700_10-vitesses_12-30_dents__box.jpg
2023-10-13	12:30:43	708	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:43	708	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34190_cassette_ultegra_cs-6700_10-vitesses_12-30_dents__box.jpg'
2023-10-13	12:30:43	708	[DEBUG]	Query for Media
2023-10-13	12:30:44	708	[DEBUG]	Executed store
2023-10-13	12:30:44	708	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34190_cassette_ultegra_cs-6700_10-vitesses_12-30_dents__box.jpg',`file_url_thumb`='bcprisme/34190_cassette_ultegra_cs-6700_10-vitesses_12-30_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23970'
2023-10-13	12:30:44	708	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:44	708	[DEBUG]	Executed store
2023-10-13	12:30:44	708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860200','23970','1')
2023-10-13	12:30:44	708	[DEBUG]	Store product image relation
2023-10-13	12:30:44	708	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:44	708	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860200 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:44	708	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:44	708	[DEBUG]	Executed store
2023-10-13	12:30:44	708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860200','0','86.3509749303621','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:44	708	[DEBUG]	Checking manufacturer
2023-10-13	12:30:44	708	[DEBUG]	Load a row
2023-10-13	12:30:44	708	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:44	708	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:44	708	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:44	708	[DEBUG]	Executed store
2023-10-13	12:30:44	708	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:44	708	[DEBUG]	Manufacturer exists
2023-10-13	12:30:44	708	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:30:44	708	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:44	708	[DEBUG]	Executed store
2023-10-13	12:30:44	708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860200','26')
2023-10-13	12:30:44	708	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:44	708	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:44	708	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860200 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:44	708	[DEBUG]	Store custom available field
2023-10-13	12:30:44	708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860200,3,'',1)
2023-10-13	12:30:44	708	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:44	708	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:30:44	708	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860200 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:44	708	[DEBUG]	Store custom available field
2023-10-13	12:30:44	708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860200,6,'All',3)
2023-10-13	12:30:44	708	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:44	708	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:44	708	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860199
2023-10-13	12:30:44	708	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:44	708	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860199\":[1860199,8,1,\"choisir la taille\"],\"1860200\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860199
2023-10-13	12:30:44	708	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:44	708	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860200
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:44	709	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field taille
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:44	709	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:44	709	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:44	709	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:44	709	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:44	709	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:44	709	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field published
2023-10-13	12:30:44	709	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:44	709	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field override
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:44	709	[DEBUG]	Use field value for field slug
2023-10-13	12:30:44	709	[DEBUG]	Process line 709
2023-10-13	12:30:44	709	[DEBUG]	Load a row
2023-10-13	12:30:44	709	[DEBUG]	Processing item: A_5081_1
2023-10-13	12:30:44	709	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:44	709	[DEBUG]	Processing product tax
2023-10-13	12:30:44	709	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:44	709	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:44	709	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:44	709	[DEBUG]	Query for Product
2023-10-13	12:30:44	709	[DEBUG]	Executed store
2023-10-13	12:30:44	709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5081_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:44	709	[DEBUG]	Check product language entry
2023-10-13	12:30:44	709	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860201
2023-10-13	12:30:44	709	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:44	709	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5081_1' AND `virtuemart_product_id` != 1860201
2023-10-13	12:30:44	709	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:44	709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860201, 'A_5081_1')
2023-10-13	12:30:44	709	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:44	709	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-sun-race-11-vitesses-11-28-dents-box-noir' AND `virtuemart_product_id` != 1860201
2023-10-13	12:30:44	709	[DEBUG]	Query for ProductLang
2023-10-13	12:30:44	709	[DEBUG]	Executed store
2023-10-13	12:30:44	709	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : SUNRACE1128',`product_name`='SHIMANO Cassette Sun Race 11-vitesses 11-28 dents box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-sun-race-11-vitesses-11-28-dents-box-noir' WHERE `virtuemart_product_id` = '1860201'
2023-10-13	12:30:44	709	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34183_cassette_sun_race_11-vitesses_11-28_dents_box.jpg
2023-10-13	12:30:44	709	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:30:44	709	[DEBUG]	Process image file
2023-10-13	12:30:44	709	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:30:44	709	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:44	709	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34183_cassette_sun_race_11-vitesses_11-28_dents_box.jpg
2023-10-13	12:30:44	709	[DEBUG]	Full name target: bcprisme/34183_cassette_sun_race_11-vitesses_11-28_dents_box.jpg
2023-10-13	12:30:45	709	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:45	709	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34183_cassette_sun_race_11-vitesses_11-28_dents_box.jpg'
2023-10-13	12:30:45	709	[DEBUG]	Query for Media
2023-10-13	12:30:45	709	[DEBUG]	Executed store
2023-10-13	12:30:45	709	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34183_cassette_sun_race_11-vitesses_11-28_dents_box.jpg',`file_url_thumb`='bcprisme/34183_cassette_sun_race_11-vitesses_11-28_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '989466'
2023-10-13	12:30:45	709	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:45	709	[DEBUG]	Executed store
2023-10-13	12:30:45	709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860201','989466','1')
2023-10-13	12:30:45	709	[DEBUG]	Store product image relation
2023-10-13	12:30:45	709	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:45	709	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860201 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:45	709	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:45	709	[DEBUG]	Executed store
2023-10-13	12:30:45	709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860201','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:45	709	[DEBUG]	Checking manufacturer
2023-10-13	12:30:45	709	[DEBUG]	Load a row
2023-10-13	12:30:45	709	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:45	709	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:45	709	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:45	709	[DEBUG]	Executed store
2023-10-13	12:30:45	709	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:45	709	[DEBUG]	Manufacturer exists
2023-10-13	12:30:45	709	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:30:45	709	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:45	709	[DEBUG]	Executed store
2023-10-13	12:30:45	709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860201','26')
2023-10-13	12:30:45	709	[DEBUG]	Find the custom field ID
2023-10-13	12:30:45	709	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:45	709	[DEBUG]	No custom field ID found
2023-10-13	12:30:45	709	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:45	709	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:30:45	709	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860201 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:45	709	[DEBUG]	Store custom available field
2023-10-13	12:30:45	709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860201,3,'0',1)
2023-10-13	12:30:45	709	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:45	709	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:45	709	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860201 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:45	709	[DEBUG]	Store custom available field
2023-10-13	12:30:45	709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860201,6,'choisir la taille',3)
2023-10-13	12:30:45	709	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:45	709	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:45	709	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:45	709	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:45	709	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860201 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:45	709	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:45	709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860201,8,1)
2023-10-13	12:30:45	709	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:45	709	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860201\":[1860201,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860201
2023-10-13	12:30:45	709	[DEBUG]	Checking category
2023-10-13	12:30:45	709	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:45	709	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860201
2023-10-13	12:30:45	709	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:45	709	[DEBUG]	Executed store
2023-10-13	12:30:45	709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860201','7283')
2023-10-13	12:30:45	709	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:45	709	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860201 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:45	709	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:45	709	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860201
2023-10-13	12:30:45	710	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:45	710	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:45	710	[DEBUG]	Use field value for field taille
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:45	710	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:45	710	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:45	710	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:45	710	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:45	710	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:45	710	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:45	710	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:45	710	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:45	710	[DEBUG]	Use field value for field published
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:45	710	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field override
2023-10-13	12:30:45	710	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:45	710	[DEBUG]	Use field value for field slug
2023-10-13	12:30:45	710	[DEBUG]	Process line 710
2023-10-13	12:30:45	710	[DEBUG]	Load a row
2023-10-13	12:30:45	710	[DEBUG]	Processing item: 1000000116090
2023-10-13	12:30:45	710	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:45	710	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:45	710	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5081_1'
2023-10-13	12:30:45	710	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:45	710	[DEBUG]	Processing product tax
2023-10-13	12:30:45	710	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:45	710	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:45	710	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:45	710	[DEBUG]	Query for Product
2023-10-13	12:30:45	710	[DEBUG]	Executed store
2023-10-13	12:30:45	710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860201','1000000116090','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:45	710	[DEBUG]	No parent found
2023-10-13	12:30:45	710	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860201 AND customfield_value = 'stockable'
2023-10-13	12:30:45	710	[DEBUG]	Check product language entry
2023-10-13	12:30:45	710	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860202
2023-10-13	12:30:45	710	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:45	710	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000116090' AND `virtuemart_product_id` != 1860202
2023-10-13	12:30:45	710	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:45	710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860202, '1000000116090')
2023-10-13	12:30:45	710	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:45	710	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-sun-race-11-vitesses-11-28-dents-box-noir-all' AND `virtuemart_product_id` != 1860202
2023-10-13	12:30:45	710	[DEBUG]	Query for ProductLang
2023-10-13	12:30:45	710	[DEBUG]	Executed store
2023-10-13	12:30:45	710	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Sun Race 11-vitesses 11-28 dents box / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-sun-race-11-vitesses-11-28-dents-box-noir-all' WHERE `virtuemart_product_id` = '1860202'
2023-10-13	12:30:45	710	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34183_cassette_sun_race_11-vitesses_11-28_dents_box.jpg
2023-10-13	12:30:45	710	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:30:45	710	[DEBUG]	Process image file
2023-10-13	12:30:45	710	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:30:45	710	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:45	710	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34183_cassette_sun_race_11-vitesses_11-28_dents_box.jpg
2023-10-13	12:30:45	710	[DEBUG]	Full name target: bcprisme/34183_cassette_sun_race_11-vitesses_11-28_dents_box.jpg
2023-10-13	12:30:46	710	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:46	710	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34183_cassette_sun_race_11-vitesses_11-28_dents_box.jpg'
2023-10-13	12:30:46	710	[DEBUG]	Query for Media
2023-10-13	12:30:46	710	[DEBUG]	Executed store
2023-10-13	12:30:46	710	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34183_cassette_sun_race_11-vitesses_11-28_dents_box.jpg',`file_url_thumb`='bcprisme/34183_cassette_sun_race_11-vitesses_11-28_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '989466'
2023-10-13	12:30:46	710	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:46	710	[DEBUG]	Executed store
2023-10-13	12:30:46	710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860202','989466','1')
2023-10-13	12:30:46	710	[DEBUG]	Store product image relation
2023-10-13	12:30:46	710	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:46	710	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860202 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:46	710	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:46	710	[DEBUG]	Executed store
2023-10-13	12:30:46	710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860202','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:46	710	[DEBUG]	Checking manufacturer
2023-10-13	12:30:46	710	[DEBUG]	Load a row
2023-10-13	12:30:46	710	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:46	710	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:46	710	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:46	710	[DEBUG]	Executed store
2023-10-13	12:30:46	710	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:46	710	[DEBUG]	Manufacturer exists
2023-10-13	12:30:46	710	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:30:46	710	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:46	710	[DEBUG]	Executed store
2023-10-13	12:30:46	710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860202','26')
2023-10-13	12:30:46	710	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:46	710	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:46	710	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860202 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:46	710	[DEBUG]	Store custom available field
2023-10-13	12:30:46	710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860202,3,'',1)
2023-10-13	12:30:46	710	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:46	710	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:30:46	710	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860202 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:46	710	[DEBUG]	Store custom available field
2023-10-13	12:30:46	710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860202,6,'All',3)
2023-10-13	12:30:46	710	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:46	710	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:46	710	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860201
2023-10-13	12:30:46	710	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:46	710	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860201\":[1860201,8,1,\"choisir la taille\"],\"1860202\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860201
2023-10-13	12:30:46	710	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:46	710	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860202
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:46	711	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field taille
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:46	711	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:46	711	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:46	711	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:46	711	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:46	711	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:46	711	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field published
2023-10-13	12:30:46	711	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:46	711	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field override
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:46	711	[DEBUG]	Use field value for field slug
2023-10-13	12:30:46	711	[DEBUG]	Process line 711
2023-10-13	12:30:46	711	[DEBUG]	Load a row
2023-10-13	12:30:46	711	[DEBUG]	Processing item: A_5097_4
2023-10-13	12:30:46	711	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:46	711	[DEBUG]	Processing product tax
2023-10-13	12:30:46	711	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:46	711	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:46	711	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:46	711	[DEBUG]	Query for Product
2023-10-13	12:30:46	711	[DEBUG]	Executed store
2023-10-13	12:30:46	711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5097_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:46	711	[DEBUG]	Check product language entry
2023-10-13	12:30:46	711	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860203
2023-10-13	12:30:46	711	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:46	711	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5097_4' AND `virtuemart_product_id` != 1860203
2023-10-13	12:30:46	711	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:46	711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860203, 'A_5097_4')
2023-10-13	12:30:46	711	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:46	711	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-xt-cs-m770-9-vitesses-12-34-dents-box-acier' AND `virtuemart_product_id` != 1860203
2023-10-13	12:30:46	711	[DEBUG]	Query for ProductLang
2023-10-13	12:30:46	711	[DEBUG]	Executed store
2023-10-13	12:30:46	711	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.20524',`product_name`='SHIMANO Cassette Deore XT CS-M770 9-vitesses 12-34 dents  box / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-xt-cs-m770-9-vitesses-12-34-dents-box-acier' WHERE `virtuemart_product_id` = '1860203'
2023-10-13	12:30:46	711	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34191_cassette_deore_xt_cs-m770_9-vitesses_11-32_dents__box.jpg
2023-10-13	12:30:46	711	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:46	711	[DEBUG]	Process image file
2023-10-13	12:30:46	711	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:46	711	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:46	711	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34191_cassette_deore_xt_cs-m770_9-vitesses_11-32_dents__box.jpg
2023-10-13	12:30:46	711	[DEBUG]	Full name target: bcprisme/34191_cassette_deore_xt_cs-m770_9-vitesses_11-32_dents__box.jpg
2023-10-13	12:30:47	711	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:47	711	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34191_cassette_deore_xt_cs-m770_9-vitesses_11-32_dents__box.jpg'
2023-10-13	12:30:47	711	[DEBUG]	Query for Media
2023-10-13	12:30:47	711	[DEBUG]	Executed store
2023-10-13	12:30:47	711	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34191_cassette_deore_xt_cs-m770_9-vitesses_11-32_dents__box.jpg',`file_url_thumb`='bcprisme/34191_cassette_deore_xt_cs-m770_9-vitesses_11-32_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23972'
2023-10-13	12:30:47	711	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:47	711	[DEBUG]	Executed store
2023-10-13	12:30:47	711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860203','23972','1')
2023-10-13	12:30:47	711	[DEBUG]	Store product image relation
2023-10-13	12:30:47	711	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:47	711	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860203 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:47	711	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:47	711	[DEBUG]	Executed store
2023-10-13	12:30:47	711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860203','0','88.1151346332405','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:47	711	[DEBUG]	Checking manufacturer
2023-10-13	12:30:47	711	[DEBUG]	Load a row
2023-10-13	12:30:47	711	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:47	711	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:47	711	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:47	711	[DEBUG]	Executed store
2023-10-13	12:30:47	711	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:47	711	[DEBUG]	Manufacturer exists
2023-10-13	12:30:47	711	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:30:47	711	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:47	711	[DEBUG]	Executed store
2023-10-13	12:30:47	711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860203','26')
2023-10-13	12:30:47	711	[DEBUG]	Find the custom field ID
2023-10-13	12:30:47	711	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:47	711	[DEBUG]	No custom field ID found
2023-10-13	12:30:47	711	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:47	711	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:30:47	711	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860203 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:47	711	[DEBUG]	Store custom available field
2023-10-13	12:30:47	711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860203,3,'0',1)
2023-10-13	12:30:47	711	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:47	711	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:47	711	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860203 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:47	711	[DEBUG]	Store custom available field
2023-10-13	12:30:47	711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860203,6,'choisir la taille',3)
2023-10-13	12:30:47	711	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:47	711	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:47	711	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:47	711	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:47	711	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860203 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:47	711	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:47	711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860203,8,1)
2023-10-13	12:30:47	711	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:47	711	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860203\":[1860203,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860203
2023-10-13	12:30:47	711	[DEBUG]	Checking category
2023-10-13	12:30:47	711	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:47	711	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860203
2023-10-13	12:30:47	711	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:47	711	[DEBUG]	Executed store
2023-10-13	12:30:47	711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860203','7283')
2023-10-13	12:30:47	711	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:47	711	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860203 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:47	711	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:47	711	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860203
2023-10-13	12:30:47	712	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:47	712	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:47	712	[DEBUG]	Use field value for field taille
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:47	712	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:47	712	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:47	712	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:47	712	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:47	712	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:47	712	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:47	712	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:47	712	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:47	712	[DEBUG]	Use field value for field published
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:47	712	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field override
2023-10-13	12:30:47	712	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:47	712	[DEBUG]	Use field value for field slug
2023-10-13	12:30:47	712	[DEBUG]	Process line 712
2023-10-13	12:30:47	712	[DEBUG]	Load a row
2023-10-13	12:30:47	712	[DEBUG]	Processing item: 4524667008163
2023-10-13	12:30:47	712	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:47	712	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:47	712	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5097_4'
2023-10-13	12:30:47	712	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:47	712	[DEBUG]	Processing product tax
2023-10-13	12:30:47	712	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:47	712	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:47	712	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:47	712	[DEBUG]	Query for Product
2023-10-13	12:30:47	712	[DEBUG]	Executed store
2023-10-13	12:30:47	712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860203','4524667008163','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:47	712	[DEBUG]	No parent found
2023-10-13	12:30:47	712	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860203 AND customfield_value = 'stockable'
2023-10-13	12:30:47	712	[DEBUG]	Check product language entry
2023-10-13	12:30:47	712	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860204
2023-10-13	12:30:47	712	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:47	712	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667008163' AND `virtuemart_product_id` != 1860204
2023-10-13	12:30:47	712	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:47	712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860204, '4524667008163')
2023-10-13	12:30:47	712	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:47	712	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-xt-cs-m770-9-vitesses-12-34-dents-box-acier-all' AND `virtuemart_product_id` != 1860204
2023-10-13	12:30:47	712	[DEBUG]	Query for ProductLang
2023-10-13	12:30:47	712	[DEBUG]	Executed store
2023-10-13	12:30:47	712	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Deore XT CS-M770 9-vitesses 12-34 dents  box / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-xt-cs-m770-9-vitesses-12-34-dents-box-acier-all' WHERE `virtuemart_product_id` = '1860204'
2023-10-13	12:30:47	712	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34191_cassette_deore_xt_cs-m770_9-vitesses_11-32_dents__box.jpg
2023-10-13	12:30:47	712	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:47	712	[DEBUG]	Process image file
2023-10-13	12:30:47	712	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:47	712	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:47	712	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34191_cassette_deore_xt_cs-m770_9-vitesses_11-32_dents__box.jpg
2023-10-13	12:30:47	712	[DEBUG]	Full name target: bcprisme/34191_cassette_deore_xt_cs-m770_9-vitesses_11-32_dents__box.jpg
2023-10-13	12:30:48	712	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:48	712	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34191_cassette_deore_xt_cs-m770_9-vitesses_11-32_dents__box.jpg'
2023-10-13	12:30:48	712	[DEBUG]	Query for Media
2023-10-13	12:30:48	712	[DEBUG]	Executed store
2023-10-13	12:30:48	712	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34191_cassette_deore_xt_cs-m770_9-vitesses_11-32_dents__box.jpg',`file_url_thumb`='bcprisme/34191_cassette_deore_xt_cs-m770_9-vitesses_11-32_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '23972'
2023-10-13	12:30:48	712	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:48	712	[DEBUG]	Executed store
2023-10-13	12:30:48	712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860204','23972','1')
2023-10-13	12:30:48	712	[DEBUG]	Store product image relation
2023-10-13	12:30:48	712	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:48	712	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860204 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:48	712	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:48	712	[DEBUG]	Executed store
2023-10-13	12:30:48	712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860204','0','88.1151346332405','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:48	712	[DEBUG]	Checking manufacturer
2023-10-13	12:30:48	712	[DEBUG]	Load a row
2023-10-13	12:30:48	712	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:48	712	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:48	712	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:48	712	[DEBUG]	Executed store
2023-10-13	12:30:48	712	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:30:48	712	[DEBUG]	Manufacturer exists
2023-10-13	12:30:48	712	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:30:48	712	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:48	712	[DEBUG]	Executed store
2023-10-13	12:30:48	712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860204','26')
2023-10-13	12:30:48	712	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:48	712	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:48	712	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860204 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:48	712	[DEBUG]	Store custom available field
2023-10-13	12:30:48	712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860204,3,'',1)
2023-10-13	12:30:48	712	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:48	712	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:30:48	712	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860204 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:48	712	[DEBUG]	Store custom available field
2023-10-13	12:30:48	712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860204,6,'All',3)
2023-10-13	12:30:48	712	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:48	712	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:48	712	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860203
2023-10-13	12:30:48	712	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:48	712	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860203\":[1860203,8,1,\"choisir la taille\"],\"1860204\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860203
2023-10-13	12:30:48	712	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:48	712	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860204
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:48	713	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field taille
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:48	713	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:48	713	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:48	713	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:48	713	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:48	713	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:48	713	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field published
2023-10-13	12:30:48	713	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:48	713	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field override
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:48	713	[DEBUG]	Use field value for field slug
2023-10-13	12:30:48	713	[DEBUG]	Process line 713
2023-10-13	12:30:48	713	[DEBUG]	Load a row
2023-10-13	12:30:48	713	[DEBUG]	Processing item: A_5212_208
2023-10-13	12:30:48	713	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:48	713	[DEBUG]	Processing product tax
2023-10-13	12:30:48	713	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:48	713	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:48	713	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:48	713	[DEBUG]	Query for Product
2023-10-13	12:30:48	713	[DEBUG]	Executed store
2023-10-13	12:30:48	713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5212_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:48	713	[DEBUG]	Check product language entry
2023-10-13	12:30:48	713	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860205
2023-10-13	12:30:48	713	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:48	713	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5212_208' AND `virtuemart_product_id` != 1860205
2023-10-13	12:30:48	713	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:48	713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860205, 'A_5212_208')
2023-10-13	12:30:48	713	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:48	713	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-claris-cs-hg50-8-vitesses-11-30-dents-box-aucune' AND `virtuemart_product_id` != 1860205
2023-10-13	12:30:48	713	[DEBUG]	Query for ProductLang
2023-10-13	12:30:48	713	[DEBUG]	Executed store
2023-10-13	12:30:48	713	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.57350',`product_name`='SHIMANO Cassette Claris CS-HG50 8-vitesses 11-30 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-claris-cs-hg50-8-vitesses-11-30-dents-box-aucune' WHERE `virtuemart_product_id` = '1860205'
2023-10-13	12:30:48	713	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29683_shimano_cassette_claris_cs-hg50_8-vitesses_11-30_dents_box.jpg
2023-10-13	12:30:48	713	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:48	713	[DEBUG]	Process image file
2023-10-13	12:30:48	713	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:48	713	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:48	713	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29683_shimano_cassette_claris_cs-hg50_8-vitesses_11-30_dents_box.jpg
2023-10-13	12:30:48	713	[DEBUG]	Full name target: bcprisme/29683_shimano_cassette_claris_cs-hg50_8-vitesses_11-30_dents_box.jpg
2023-10-13	12:30:49	713	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:49	713	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29683_shimano_cassette_claris_cs-hg50_8-vitesses_11-30_dents_box.jpg'
2023-10-13	12:30:49	713	[DEBUG]	Query for Media
2023-10-13	12:30:49	713	[DEBUG]	Executed store
2023-10-13	12:30:49	713	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29683_shimano_cassette_claris_cs-hg50_8-vitesses_11-30_dents_box.jpg',`file_url_thumb`='bcprisme/29683_shimano_cassette_claris_cs-hg50_8-vitesses_11-30_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12471'
2023-10-13	12:30:49	713	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:49	713	[DEBUG]	Executed store
2023-10-13	12:30:49	713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860205','12471','1')
2023-10-13	12:30:49	713	[DEBUG]	Store product image relation
2023-10-13	12:30:49	713	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:49	713	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860205 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:49	713	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:49	713	[DEBUG]	Executed store
2023-10-13	12:30:49	713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860205','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:49	713	[DEBUG]	Checking manufacturer
2023-10-13	12:30:49	713	[DEBUG]	Load a row
2023-10-13	12:30:49	713	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:49	713	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:49	713	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:49	713	[DEBUG]	Executed store
2023-10-13	12:30:49	713	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:49	713	[DEBUG]	Manufacturer exists
2023-10-13	12:30:49	713	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:30:49	713	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:49	713	[DEBUG]	Executed store
2023-10-13	12:30:49	713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860205','123')
2023-10-13	12:30:49	713	[DEBUG]	Find the custom field ID
2023-10-13	12:30:49	713	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:49	713	[DEBUG]	No custom field ID found
2023-10-13	12:30:49	713	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:49	713	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:30:49	713	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860205 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:49	713	[DEBUG]	Store custom available field
2023-10-13	12:30:49	713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860205,3,'0',1)
2023-10-13	12:30:49	713	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:49	713	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:49	713	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860205 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:49	713	[DEBUG]	Store custom available field
2023-10-13	12:30:49	713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860205,6,'choisir la taille',3)
2023-10-13	12:30:49	713	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:49	713	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:49	713	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:49	713	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:49	713	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860205 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:49	713	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:49	713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860205,8,1)
2023-10-13	12:30:49	713	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:49	713	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860205\":[1860205,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860205
2023-10-13	12:30:49	713	[DEBUG]	Checking category
2023-10-13	12:30:49	713	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:49	713	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860205
2023-10-13	12:30:49	713	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:49	713	[DEBUG]	Executed store
2023-10-13	12:30:49	713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860205','7283')
2023-10-13	12:30:49	713	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:49	713	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860205 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:49	713	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:49	713	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860205
2023-10-13	12:30:49	714	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:49	714	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:49	714	[DEBUG]	Use field value for field taille
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:49	714	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:49	714	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:49	714	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:49	714	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:49	714	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:49	714	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:49	714	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:49	714	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:49	714	[DEBUG]	Use field value for field published
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:49	714	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field override
2023-10-13	12:30:49	714	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:49	714	[DEBUG]	Use field value for field slug
2023-10-13	12:30:49	714	[DEBUG]	Process line 714
2023-10-13	12:30:49	714	[DEBUG]	Load a row
2023-10-13	12:30:49	714	[DEBUG]	Processing item: 4524667103486
2023-10-13	12:30:49	714	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:49	714	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:49	714	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5212_208'
2023-10-13	12:30:49	714	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:49	714	[DEBUG]	Processing product tax
2023-10-13	12:30:49	714	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:49	714	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:49	714	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:49	714	[DEBUG]	Query for Product
2023-10-13	12:30:49	714	[DEBUG]	Executed store
2023-10-13	12:30:49	714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860205','4524667103486','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:49	714	[DEBUG]	No parent found
2023-10-13	12:30:49	714	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860205 AND customfield_value = 'stockable'
2023-10-13	12:30:49	714	[DEBUG]	Check product language entry
2023-10-13	12:30:49	714	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860206
2023-10-13	12:30:49	714	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:49	714	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667103486' AND `virtuemart_product_id` != 1860206
2023-10-13	12:30:49	714	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:49	714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860206, '4524667103486')
2023-10-13	12:30:49	714	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:49	714	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-claris-cs-hg50-8-vitesses-11-30-dents-box-aucune-all' AND `virtuemart_product_id` != 1860206
2023-10-13	12:30:49	714	[DEBUG]	Query for ProductLang
2023-10-13	12:30:49	714	[DEBUG]	Executed store
2023-10-13	12:30:49	714	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Claris CS-HG50 8-vitesses 11-30 dents box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-claris-cs-hg50-8-vitesses-11-30-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860206'
2023-10-13	12:30:49	714	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29683_shimano_cassette_claris_cs-hg50_8-vitesses_11-30_dents_box.jpg
2023-10-13	12:30:49	714	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:49	714	[DEBUG]	Process image file
2023-10-13	12:30:49	714	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:49	714	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:49	714	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29683_shimano_cassette_claris_cs-hg50_8-vitesses_11-30_dents_box.jpg
2023-10-13	12:30:49	714	[DEBUG]	Full name target: bcprisme/29683_shimano_cassette_claris_cs-hg50_8-vitesses_11-30_dents_box.jpg
2023-10-13	12:30:50	714	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:50	714	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29683_shimano_cassette_claris_cs-hg50_8-vitesses_11-30_dents_box.jpg'
2023-10-13	12:30:50	714	[DEBUG]	Query for Media
2023-10-13	12:30:50	714	[DEBUG]	Executed store
2023-10-13	12:30:50	714	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29683_shimano_cassette_claris_cs-hg50_8-vitesses_11-30_dents_box.jpg',`file_url_thumb`='bcprisme/29683_shimano_cassette_claris_cs-hg50_8-vitesses_11-30_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12471'
2023-10-13	12:30:50	714	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:50	714	[DEBUG]	Executed store
2023-10-13	12:30:50	714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860206','12471','1')
2023-10-13	12:30:50	714	[DEBUG]	Store product image relation
2023-10-13	12:30:50	714	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:50	714	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860206 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:50	714	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:50	714	[DEBUG]	Executed store
2023-10-13	12:30:50	714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860206','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:50	714	[DEBUG]	Checking manufacturer
2023-10-13	12:30:50	714	[DEBUG]	Load a row
2023-10-13	12:30:50	714	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:50	714	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:50	714	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:50	714	[DEBUG]	Executed store
2023-10-13	12:30:50	714	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:50	714	[DEBUG]	Manufacturer exists
2023-10-13	12:30:50	714	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:30:50	714	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:50	714	[DEBUG]	Executed store
2023-10-13	12:30:50	714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860206','123')
2023-10-13	12:30:50	714	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:50	714	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:50	714	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860206 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:50	714	[DEBUG]	Store custom available field
2023-10-13	12:30:50	714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860206,3,'',1)
2023-10-13	12:30:50	714	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:50	714	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:30:50	714	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860206 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:50	714	[DEBUG]	Store custom available field
2023-10-13	12:30:50	714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860206,6,'All',3)
2023-10-13	12:30:50	714	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:50	714	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:50	714	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860205
2023-10-13	12:30:50	714	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:50	714	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860205\":[1860205,8,1,\"choisir la taille\"],\"1860206\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860205
2023-10-13	12:30:50	714	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:50	714	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860206
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:50	715	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field taille
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:50	715	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:50	715	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:50	715	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:50	715	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:50	715	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:50	715	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field published
2023-10-13	12:30:50	715	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:50	715	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field override
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:50	715	[DEBUG]	Use field value for field slug
2023-10-13	12:30:50	715	[DEBUG]	Process line 715
2023-10-13	12:30:50	715	[DEBUG]	Load a row
2023-10-13	12:30:50	715	[DEBUG]	Processing item: A_5213_208
2023-10-13	12:30:50	715	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:50	715	[DEBUG]	Processing product tax
2023-10-13	12:30:50	715	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:50	715	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:50	715	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:50	715	[DEBUG]	Query for Product
2023-10-13	12:30:50	715	[DEBUG]	Executed store
2023-10-13	12:30:50	715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5213_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:50	715	[DEBUG]	Check product language entry
2023-10-13	12:30:50	715	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860207
2023-10-13	12:30:50	715	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:50	715	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5213_208' AND `virtuemart_product_id` != 1860207
2023-10-13	12:30:50	715	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:50	715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860207, 'A_5213_208')
2023-10-13	12:30:50	715	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:50	715	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-claris-cs-hg50-8-vitesses-11-32-dents-box-aucune' AND `virtuemart_product_id` != 1860207
2023-10-13	12:30:50	715	[DEBUG]	Query for ProductLang
2023-10-13	12:30:50	715	[DEBUG]	Executed store
2023-10-13	12:30:50	715	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.57351',`product_name`='SHIMANO Cassette Claris CS-HG50 8-vitesses 11-32 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-claris-cs-hg50-8-vitesses-11-32-dents-box-aucune' WHERE `virtuemart_product_id` = '1860207'
2023-10-13	12:30:50	715	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29684_shimano_cassette_claris_cs-hg50_8-vitesses_11-32_dents_box.jpg
2023-10-13	12:30:50	715	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:50	715	[DEBUG]	Process image file
2023-10-13	12:30:50	715	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:50	715	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:50	715	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29684_shimano_cassette_claris_cs-hg50_8-vitesses_11-32_dents_box.jpg
2023-10-13	12:30:50	715	[DEBUG]	Full name target: bcprisme/29684_shimano_cassette_claris_cs-hg50_8-vitesses_11-32_dents_box.jpg
2023-10-13	12:30:51	715	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:51	715	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29684_shimano_cassette_claris_cs-hg50_8-vitesses_11-32_dents_box.jpg'
2023-10-13	12:30:51	715	[DEBUG]	Query for Media
2023-10-13	12:30:51	715	[DEBUG]	Executed store
2023-10-13	12:30:51	715	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29684_shimano_cassette_claris_cs-hg50_8-vitesses_11-32_dents_box.jpg',`file_url_thumb`='bcprisme/29684_shimano_cassette_claris_cs-hg50_8-vitesses_11-32_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12472'
2023-10-13	12:30:51	715	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:51	715	[DEBUG]	Executed store
2023-10-13	12:30:51	715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860207','12472','1')
2023-10-13	12:30:51	715	[DEBUG]	Store product image relation
2023-10-13	12:30:51	715	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:51	715	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860207 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:51	715	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:51	715	[DEBUG]	Executed store
2023-10-13	12:30:51	715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860207','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:51	715	[DEBUG]	Checking manufacturer
2023-10-13	12:30:51	715	[DEBUG]	Load a row
2023-10-13	12:30:51	715	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:51	715	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:51	715	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:51	715	[DEBUG]	Executed store
2023-10-13	12:30:51	715	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:51	715	[DEBUG]	Manufacturer exists
2023-10-13	12:30:51	715	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:30:51	715	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:51	715	[DEBUG]	Executed store
2023-10-13	12:30:51	715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860207','123')
2023-10-13	12:30:51	715	[DEBUG]	Find the custom field ID
2023-10-13	12:30:51	715	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:51	715	[DEBUG]	No custom field ID found
2023-10-13	12:30:51	715	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:51	715	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:30:51	715	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860207 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:51	715	[DEBUG]	Store custom available field
2023-10-13	12:30:51	715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860207,3,'0',1)
2023-10-13	12:30:51	715	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:51	715	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:51	715	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860207 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:51	715	[DEBUG]	Store custom available field
2023-10-13	12:30:51	715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860207,6,'choisir la taille',3)
2023-10-13	12:30:51	715	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:51	715	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:51	715	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:51	715	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:51	715	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860207 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:51	715	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:51	715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860207,8,1)
2023-10-13	12:30:51	715	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:51	715	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860207\":[1860207,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860207
2023-10-13	12:30:51	715	[DEBUG]	Checking category
2023-10-13	12:30:51	715	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:51	715	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860207
2023-10-13	12:30:51	715	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:51	715	[DEBUG]	Executed store
2023-10-13	12:30:51	715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860207','7283')
2023-10-13	12:30:51	715	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:51	715	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860207 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:51	715	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:51	715	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860207
2023-10-13	12:30:51	716	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:51	716	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:51	716	[DEBUG]	Use field value for field taille
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:51	716	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:51	716	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:51	716	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:51	716	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:51	716	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:51	716	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:51	716	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:51	716	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:51	716	[DEBUG]	Use field value for field published
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:51	716	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field override
2023-10-13	12:30:51	716	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:51	716	[DEBUG]	Use field value for field slug
2023-10-13	12:30:51	716	[DEBUG]	Process line 716
2023-10-13	12:30:51	716	[DEBUG]	Load a row
2023-10-13	12:30:51	716	[DEBUG]	Processing item: 4524667103189
2023-10-13	12:30:51	716	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:51	716	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:51	716	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5213_208'
2023-10-13	12:30:51	716	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:51	716	[DEBUG]	Processing product tax
2023-10-13	12:30:51	716	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:51	716	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:51	716	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:51	716	[DEBUG]	Query for Product
2023-10-13	12:30:51	716	[DEBUG]	Executed store
2023-10-13	12:30:51	716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860207','4524667103189','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:51	716	[DEBUG]	No parent found
2023-10-13	12:30:51	716	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860207 AND customfield_value = 'stockable'
2023-10-13	12:30:51	716	[DEBUG]	Check product language entry
2023-10-13	12:30:51	716	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860208
2023-10-13	12:30:51	716	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:51	716	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667103189' AND `virtuemart_product_id` != 1860208
2023-10-13	12:30:51	716	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:51	716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860208, '4524667103189')
2023-10-13	12:30:51	716	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:51	716	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-claris-cs-hg50-8-vitesses-11-32-dents-box-aucune-all' AND `virtuemart_product_id` != 1860208
2023-10-13	12:30:51	716	[DEBUG]	Query for ProductLang
2023-10-13	12:30:51	716	[DEBUG]	Executed store
2023-10-13	12:30:51	716	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Claris CS-HG50 8-vitesses 11-32 dents box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-claris-cs-hg50-8-vitesses-11-32-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860208'
2023-10-13	12:30:51	716	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29684_shimano_cassette_claris_cs-hg50_8-vitesses_11-32_dents_box.jpg
2023-10-13	12:30:51	716	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:51	716	[DEBUG]	Process image file
2023-10-13	12:30:51	716	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:51	716	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:51	716	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29684_shimano_cassette_claris_cs-hg50_8-vitesses_11-32_dents_box.jpg
2023-10-13	12:30:51	716	[DEBUG]	Full name target: bcprisme/29684_shimano_cassette_claris_cs-hg50_8-vitesses_11-32_dents_box.jpg
2023-10-13	12:30:52	716	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:52	716	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29684_shimano_cassette_claris_cs-hg50_8-vitesses_11-32_dents_box.jpg'
2023-10-13	12:30:52	716	[DEBUG]	Query for Media
2023-10-13	12:30:52	716	[DEBUG]	Executed store
2023-10-13	12:30:52	716	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29684_shimano_cassette_claris_cs-hg50_8-vitesses_11-32_dents_box.jpg',`file_url_thumb`='bcprisme/29684_shimano_cassette_claris_cs-hg50_8-vitesses_11-32_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12472'
2023-10-13	12:30:52	716	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:52	716	[DEBUG]	Executed store
2023-10-13	12:30:52	716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860208','12472','1')
2023-10-13	12:30:52	716	[DEBUG]	Store product image relation
2023-10-13	12:30:52	716	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:52	716	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860208 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:52	716	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:52	716	[DEBUG]	Executed store
2023-10-13	12:30:52	716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860208','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:52	716	[DEBUG]	Checking manufacturer
2023-10-13	12:30:52	716	[DEBUG]	Load a row
2023-10-13	12:30:52	716	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:52	716	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:52	716	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:52	716	[DEBUG]	Executed store
2023-10-13	12:30:52	716	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:52	716	[DEBUG]	Manufacturer exists
2023-10-13	12:30:52	716	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:30:52	716	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:52	716	[DEBUG]	Executed store
2023-10-13	12:30:52	716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860208','123')
2023-10-13	12:30:52	716	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:52	716	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:52	716	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860208 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:52	716	[DEBUG]	Store custom available field
2023-10-13	12:30:52	716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860208,3,'',1)
2023-10-13	12:30:52	716	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:52	716	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:30:52	716	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860208 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:52	716	[DEBUG]	Store custom available field
2023-10-13	12:30:52	716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860208,6,'All',3)
2023-10-13	12:30:52	716	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:52	716	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:52	716	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860207
2023-10-13	12:30:52	716	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:52	716	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860207\":[1860207,8,1,\"choisir la taille\"],\"1860208\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860207
2023-10-13	12:30:52	716	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:52	716	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860208
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:52	717	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field taille
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:52	717	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:52	717	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:52	717	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:52	717	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:52	717	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:52	717	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field published
2023-10-13	12:30:52	717	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:52	717	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field override
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:52	717	[DEBUG]	Use field value for field slug
2023-10-13	12:30:52	717	[DEBUG]	Process line 717
2023-10-13	12:30:52	717	[DEBUG]	Load a row
2023-10-13	12:30:52	717	[DEBUG]	Processing item: A_5215_208
2023-10-13	12:30:52	717	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:52	717	[DEBUG]	Processing product tax
2023-10-13	12:30:52	717	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:52	717	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:52	717	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:52	717	[DEBUG]	Query for Product
2023-10-13	12:30:52	717	[DEBUG]	Executed store
2023-10-13	12:30:52	717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5215_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:52	717	[DEBUG]	Check product language entry
2023-10-13	12:30:52	717	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860209
2023-10-13	12:30:52	717	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:52	717	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5215_208' AND `virtuemart_product_id` != 1860209
2023-10-13	12:30:52	717	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:52	717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860209, 'A_5215_208')
2023-10-13	12:30:52	717	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:52	717	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-roue-libre-tourney-mf-tz20-6-vit-14-28-dents-brun-noir-box-aucune' AND `virtuemart_product_id` != 1860209
2023-10-13	12:30:52	717	[DEBUG]	Query for ProductLang
2023-10-13	12:30:52	717	[DEBUG]	Executed store
2023-10-13	12:30:52	717	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.51007',`product_name`='SHIMANO Shimano roue-libre Tourney MF-TZ20 6-vit 14-28 dents brun/noir box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-roue-libre-tourney-mf-tz20-6-vit-14-28-dents-brun-noir-box-aucune' WHERE `virtuemart_product_id` = '1860209'
2023-10-13	12:30:52	717	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29686_shimano_roue-libre_tourney_mf-tz20_6-vit_14-28_dents_brun-noir_box.jpg
2023-10-13	12:30:52	717	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:52	717	[DEBUG]	Process image file
2023-10-13	12:30:52	717	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:52	717	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:52	717	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29686_shimano_roue-libre_tourney_mf-tz20_6-vit_14-28_dents_brun-noir_box.jpg
2023-10-13	12:30:52	717	[DEBUG]	Full name target: bcprisme/29686_shimano_roue-libre_tourney_mf-tz20_6-vit_14-28_dents_brun-noir_box.jpg
2023-10-13	12:30:53	717	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:53	717	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29686_shimano_roue-libre_tourney_mf-tz20_6-vit_14-28_dents_brun-noir_box.jpg'
2023-10-13	12:30:53	717	[DEBUG]	Query for Media
2023-10-13	12:30:53	717	[DEBUG]	Executed store
2023-10-13	12:30:53	717	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29686_shimano_roue-libre_tourney_mf-tz20_6-vit_14-28_dents_brun-noir_box.jpg',`file_url_thumb`='bcprisme/29686_shimano_roue-libre_tourney_mf-tz20_6-vit_14-28_dents_brun-noir_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12473'
2023-10-13	12:30:53	717	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:53	717	[DEBUG]	Executed store
2023-10-13	12:30:53	717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860209','12473','1')
2023-10-13	12:30:53	717	[DEBUG]	Store product image relation
2023-10-13	12:30:53	717	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:53	717	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860209 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:53	717	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:53	717	[DEBUG]	Executed store
2023-10-13	12:30:53	717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860209','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:53	717	[DEBUG]	Checking manufacturer
2023-10-13	12:30:53	717	[DEBUG]	Load a row
2023-10-13	12:30:53	717	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:53	717	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:53	717	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:53	717	[DEBUG]	Executed store
2023-10-13	12:30:53	717	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:53	717	[DEBUG]	Manufacturer exists
2023-10-13	12:30:53	717	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:30:53	717	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:53	717	[DEBUG]	Executed store
2023-10-13	12:30:53	717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860209','123')
2023-10-13	12:30:53	717	[DEBUG]	Find the custom field ID
2023-10-13	12:30:53	717	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:53	717	[DEBUG]	No custom field ID found
2023-10-13	12:30:53	717	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:53	717	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:30:53	717	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860209 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:53	717	[DEBUG]	Store custom available field
2023-10-13	12:30:53	717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860209,3,'0',1)
2023-10-13	12:30:53	717	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:53	717	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:53	717	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860209 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:53	717	[DEBUG]	Store custom available field
2023-10-13	12:30:53	717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860209,6,'choisir la taille',3)
2023-10-13	12:30:53	717	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:53	717	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:53	717	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:53	717	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:53	717	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860209 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:53	717	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:53	717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860209,8,1)
2023-10-13	12:30:53	717	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:53	717	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860209\":[1860209,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860209
2023-10-13	12:30:53	717	[DEBUG]	Checking category
2023-10-13	12:30:53	717	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:53	717	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860209
2023-10-13	12:30:53	717	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:53	717	[DEBUG]	Executed store
2023-10-13	12:30:53	717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860209','7283')
2023-10-13	12:30:53	717	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:53	717	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860209 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:53	717	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:53	717	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860209
2023-10-13	12:30:53	718	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:53	718	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:53	718	[DEBUG]	Use field value for field taille
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:53	718	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:53	718	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:53	718	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:53	718	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:53	718	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:53	718	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:53	718	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:53	718	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:53	718	[DEBUG]	Use field value for field published
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:53	718	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field override
2023-10-13	12:30:53	718	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:53	718	[DEBUG]	Use field value for field slug
2023-10-13	12:30:53	718	[DEBUG]	Process line 718
2023-10-13	12:30:53	718	[DEBUG]	Load a row
2023-10-13	12:30:53	718	[DEBUG]	Processing item: 4524667363996
2023-10-13	12:30:53	718	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:53	718	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:53	718	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5215_208'
2023-10-13	12:30:53	718	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:53	718	[DEBUG]	Processing product tax
2023-10-13	12:30:53	718	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:53	718	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:53	718	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:53	718	[DEBUG]	Query for Product
2023-10-13	12:30:53	718	[DEBUG]	Executed store
2023-10-13	12:30:53	718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860209','4524667363996','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:53	718	[DEBUG]	No parent found
2023-10-13	12:30:53	718	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860209 AND customfield_value = 'stockable'
2023-10-13	12:30:53	718	[DEBUG]	Check product language entry
2023-10-13	12:30:53	718	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860210
2023-10-13	12:30:53	718	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:53	718	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667363996' AND `virtuemart_product_id` != 1860210
2023-10-13	12:30:53	718	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:53	718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860210, '4524667363996')
2023-10-13	12:30:53	718	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:53	718	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-shimano-roue-libre-tourney-mf-tz20-6-vit-14-28-dents-brun-noir-box-aucune-all' AND `virtuemart_product_id` != 1860210
2023-10-13	12:30:53	718	[DEBUG]	Query for ProductLang
2023-10-13	12:30:53	718	[DEBUG]	Executed store
2023-10-13	12:30:53	718	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Shimano roue-libre Tourney MF-TZ20 6-vit 14-28 dents brun/noir box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-shimano-roue-libre-tourney-mf-tz20-6-vit-14-28-dents-brun-noir-box-aucune-all' WHERE `virtuemart_product_id` = '1860210'
2023-10-13	12:30:53	718	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29686_shimano_roue-libre_tourney_mf-tz20_6-vit_14-28_dents_brun-noir_box.jpg
2023-10-13	12:30:53	718	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:53	718	[DEBUG]	Process image file
2023-10-13	12:30:53	718	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:53	718	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:53	718	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29686_shimano_roue-libre_tourney_mf-tz20_6-vit_14-28_dents_brun-noir_box.jpg
2023-10-13	12:30:53	718	[DEBUG]	Full name target: bcprisme/29686_shimano_roue-libre_tourney_mf-tz20_6-vit_14-28_dents_brun-noir_box.jpg
2023-10-13	12:30:54	718	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:54	718	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29686_shimano_roue-libre_tourney_mf-tz20_6-vit_14-28_dents_brun-noir_box.jpg'
2023-10-13	12:30:54	718	[DEBUG]	Query for Media
2023-10-13	12:30:54	718	[DEBUG]	Executed store
2023-10-13	12:30:54	718	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29686_shimano_roue-libre_tourney_mf-tz20_6-vit_14-28_dents_brun-noir_box.jpg',`file_url_thumb`='bcprisme/29686_shimano_roue-libre_tourney_mf-tz20_6-vit_14-28_dents_brun-noir_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12473'
2023-10-13	12:30:54	718	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:54	718	[DEBUG]	Executed store
2023-10-13	12:30:54	718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860210','12473','1')
2023-10-13	12:30:54	718	[DEBUG]	Store product image relation
2023-10-13	12:30:54	718	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:54	718	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860210 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:54	718	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:54	718	[DEBUG]	Executed store
2023-10-13	12:30:54	718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860210','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:54	718	[DEBUG]	Checking manufacturer
2023-10-13	12:30:54	718	[DEBUG]	Load a row
2023-10-13	12:30:54	718	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:54	718	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:54	718	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:54	718	[DEBUG]	Executed store
2023-10-13	12:30:54	718	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:54	718	[DEBUG]	Manufacturer exists
2023-10-13	12:30:54	718	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:30:54	718	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:54	718	[DEBUG]	Executed store
2023-10-13	12:30:54	718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860210','123')
2023-10-13	12:30:54	718	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:54	718	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:54	718	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860210 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:54	718	[DEBUG]	Store custom available field
2023-10-13	12:30:54	718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860210,3,'',1)
2023-10-13	12:30:54	718	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:54	718	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:30:54	718	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860210 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:54	718	[DEBUG]	Store custom available field
2023-10-13	12:30:54	718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860210,6,'All',3)
2023-10-13	12:30:54	718	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:54	718	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:54	718	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860209
2023-10-13	12:30:54	718	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:54	718	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860209\":[1860209,8,1,\"choisir la taille\"],\"1860210\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860209
2023-10-13	12:30:54	718	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:54	718	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860210
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:54	719	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field taille
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:54	719	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:54	719	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:54	719	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:54	719	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:54	719	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:54	719	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field published
2023-10-13	12:30:54	719	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:54	719	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field override
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:54	719	[DEBUG]	Use field value for field slug
2023-10-13	12:30:54	719	[DEBUG]	Process line 719
2023-10-13	12:30:54	719	[DEBUG]	Load a row
2023-10-13	12:30:54	719	[DEBUG]	Processing item: A_5224_208
2023-10-13	12:30:54	719	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:54	719	[DEBUG]	Processing product tax
2023-10-13	12:30:54	719	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:54	719	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:54	719	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:54	719	[DEBUG]	Query for Product
2023-10-13	12:30:54	719	[DEBUG]	Executed store
2023-10-13	12:30:54	719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5224_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:54	719	[DEBUG]	Check product language entry
2023-10-13	12:30:54	719	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860211
2023-10-13	12:30:54	719	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:54	719	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5224_208' AND `virtuemart_product_id` != 1860211
2023-10-13	12:30:54	719	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:54	719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860211, 'A_5224_208')
2023-10-13	12:30:54	719	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:54	719	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-xt-cs-m771-10-vitesses-11-36-dents-box-aucune' AND `virtuemart_product_id` != 1860211
2023-10-13	12:30:54	719	[DEBUG]	Query for ProductLang
2023-10-13	12:30:54	719	[DEBUG]	Executed store
2023-10-13	12:30:54	719	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.50374',`product_name`='SHIMANO Cassette Deore XT CS-M771 10-vitesses 11-36 dents  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-xt-cs-m771-10-vitesses-11-36-dents-box-aucune' WHERE `virtuemart_product_id` = '1860211'
2023-10-13	12:30:54	719	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29696_shimano_cassette_deore_xt_cs-m771_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:30:54	719	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:54	719	[DEBUG]	Process image file
2023-10-13	12:30:54	719	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:54	719	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:54	719	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29696_shimano_cassette_deore_xt_cs-m771_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:30:54	719	[DEBUG]	Full name target: bcprisme/29696_shimano_cassette_deore_xt_cs-m771_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:30:55	719	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:55	719	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29696_shimano_cassette_deore_xt_cs-m771_10-vitesses_11-36_dents__box.jpg'
2023-10-13	12:30:55	719	[DEBUG]	Query for Media
2023-10-13	12:30:55	719	[DEBUG]	Executed store
2023-10-13	12:30:55	719	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29696_shimano_cassette_deore_xt_cs-m771_10-vitesses_11-36_dents__box.jpg',`file_url_thumb`='bcprisme/29696_shimano_cassette_deore_xt_cs-m771_10-vitesses_11-36_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12474'
2023-10-13	12:30:55	719	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:55	719	[DEBUG]	Executed store
2023-10-13	12:30:55	719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860211','12474','1')
2023-10-13	12:30:55	719	[DEBUG]	Store product image relation
2023-10-13	12:30:55	719	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:55	719	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860211 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:55	719	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:55	719	[DEBUG]	Executed store
2023-10-13	12:30:55	719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860211','0','99.2571959145775','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:55	719	[DEBUG]	Checking manufacturer
2023-10-13	12:30:55	719	[DEBUG]	Load a row
2023-10-13	12:30:55	719	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:55	719	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:55	719	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:55	719	[DEBUG]	Executed store
2023-10-13	12:30:55	719	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:55	719	[DEBUG]	Manufacturer exists
2023-10-13	12:30:55	719	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:30:55	719	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:55	719	[DEBUG]	Executed store
2023-10-13	12:30:55	719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860211','123')
2023-10-13	12:30:55	719	[DEBUG]	Find the custom field ID
2023-10-13	12:30:55	719	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:55	719	[DEBUG]	No custom field ID found
2023-10-13	12:30:55	719	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:55	719	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:30:55	719	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860211 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:55	719	[DEBUG]	Store custom available field
2023-10-13	12:30:55	719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860211,3,'0',1)
2023-10-13	12:30:55	719	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:55	719	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:55	719	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860211 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:55	719	[DEBUG]	Store custom available field
2023-10-13	12:30:55	719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860211,6,'choisir la taille',3)
2023-10-13	12:30:55	719	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:55	719	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:55	719	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:55	719	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:55	719	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860211 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:55	719	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:55	719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860211,8,1)
2023-10-13	12:30:55	719	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:55	719	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860211\":[1860211,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860211
2023-10-13	12:30:55	719	[DEBUG]	Checking category
2023-10-13	12:30:55	719	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:55	719	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860211
2023-10-13	12:30:55	719	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:55	719	[DEBUG]	Executed store
2023-10-13	12:30:55	719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860211','7283')
2023-10-13	12:30:55	719	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:55	719	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860211 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:55	719	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:55	719	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860211
2023-10-13	12:30:55	720	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:55	720	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:55	720	[DEBUG]	Use field value for field taille
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:55	720	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:55	720	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:55	720	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:55	720	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:55	720	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:55	720	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:55	720	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:55	720	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:55	720	[DEBUG]	Use field value for field published
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:55	720	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field override
2023-10-13	12:30:55	720	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:55	720	[DEBUG]	Use field value for field slug
2023-10-13	12:30:55	720	[DEBUG]	Process line 720
2023-10-13	12:30:55	720	[DEBUG]	Load a row
2023-10-13	12:30:55	720	[DEBUG]	Processing item: 4524667428701
2023-10-13	12:30:55	720	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:55	720	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:55	720	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5224_208'
2023-10-13	12:30:55	720	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:55	720	[DEBUG]	Processing product tax
2023-10-13	12:30:55	720	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:55	720	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:55	720	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:55	720	[DEBUG]	Query for Product
2023-10-13	12:30:55	720	[DEBUG]	Executed store
2023-10-13	12:30:55	720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860211','4524667428701','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:55	720	[DEBUG]	No parent found
2023-10-13	12:30:55	720	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860211 AND customfield_value = 'stockable'
2023-10-13	12:30:55	720	[DEBUG]	Check product language entry
2023-10-13	12:30:55	720	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860212
2023-10-13	12:30:55	720	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:55	720	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667428701' AND `virtuemart_product_id` != 1860212
2023-10-13	12:30:55	720	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:55	720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860212, '4524667428701')
2023-10-13	12:30:55	720	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:55	720	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-xt-cs-m771-10-vitesses-11-36-dents-box-aucune-all' AND `virtuemart_product_id` != 1860212
2023-10-13	12:30:55	720	[DEBUG]	Query for ProductLang
2023-10-13	12:30:55	720	[DEBUG]	Executed store
2023-10-13	12:30:55	720	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Deore XT CS-M771 10-vitesses 11-36 dents  box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-xt-cs-m771-10-vitesses-11-36-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860212'
2023-10-13	12:30:55	720	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29696_shimano_cassette_deore_xt_cs-m771_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:30:55	720	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:55	720	[DEBUG]	Process image file
2023-10-13	12:30:55	720	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:55	720	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:55	720	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29696_shimano_cassette_deore_xt_cs-m771_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:30:55	720	[DEBUG]	Full name target: bcprisme/29696_shimano_cassette_deore_xt_cs-m771_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:30:56	720	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:56	720	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29696_shimano_cassette_deore_xt_cs-m771_10-vitesses_11-36_dents__box.jpg'
2023-10-13	12:30:56	720	[DEBUG]	Query for Media
2023-10-13	12:30:56	720	[DEBUG]	Executed store
2023-10-13	12:30:56	720	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29696_shimano_cassette_deore_xt_cs-m771_10-vitesses_11-36_dents__box.jpg',`file_url_thumb`='bcprisme/29696_shimano_cassette_deore_xt_cs-m771_10-vitesses_11-36_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12474'
2023-10-13	12:30:56	720	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:56	720	[DEBUG]	Executed store
2023-10-13	12:30:56	720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860212','12474','1')
2023-10-13	12:30:56	720	[DEBUG]	Store product image relation
2023-10-13	12:30:56	720	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:56	720	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860212 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:56	720	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:56	720	[DEBUG]	Executed store
2023-10-13	12:30:56	720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860212','0','99.2571959145775','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:56	720	[DEBUG]	Checking manufacturer
2023-10-13	12:30:56	720	[DEBUG]	Load a row
2023-10-13	12:30:56	720	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:56	720	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:56	720	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:56	720	[DEBUG]	Executed store
2023-10-13	12:30:56	720	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:56	720	[DEBUG]	Manufacturer exists
2023-10-13	12:30:56	720	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:30:56	720	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:56	720	[DEBUG]	Executed store
2023-10-13	12:30:56	720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860212','123')
2023-10-13	12:30:56	720	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:56	720	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:56	720	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860212 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:56	720	[DEBUG]	Store custom available field
2023-10-13	12:30:56	720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860212,3,'',1)
2023-10-13	12:30:56	720	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:56	720	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:30:56	720	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860212 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:56	720	[DEBUG]	Store custom available field
2023-10-13	12:30:56	720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860212,6,'All',3)
2023-10-13	12:30:56	720	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:56	720	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:56	720	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860211
2023-10-13	12:30:56	720	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:56	720	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860211\":[1860211,8,1,\"choisir la taille\"],\"1860212\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860211
2023-10-13	12:30:56	720	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:56	720	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860212
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:56	721	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field taille
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:56	721	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:56	721	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:56	721	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:56	721	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:56	721	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:56	721	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field published
2023-10-13	12:30:56	721	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:56	721	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field override
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:56	721	[DEBUG]	Use field value for field slug
2023-10-13	12:30:56	721	[DEBUG]	Process line 721
2023-10-13	12:30:56	721	[DEBUG]	Load a row
2023-10-13	12:30:56	721	[DEBUG]	Processing item: A_5229_208
2023-10-13	12:30:56	721	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:56	721	[DEBUG]	Processing product tax
2023-10-13	12:30:56	721	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:56	721	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:56	721	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:56	721	[DEBUG]	Query for Product
2023-10-13	12:30:56	721	[DEBUG]	Executed store
2023-10-13	12:30:56	721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5229_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:56	721	[DEBUG]	Check product language entry
2023-10-13	12:30:56	721	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860213
2023-10-13	12:30:56	721	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:56	721	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5229_208' AND `virtuemart_product_id` != 1860213
2023-10-13	12:30:56	721	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:56	721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860213, 'A_5229_208')
2023-10-13	12:30:56	721	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:56	721	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-xt-cs-m8000-11-vitesses-11-40-dents-box-aucune' AND `virtuemart_product_id` != 1860213
2023-10-13	12:30:56	721	[DEBUG]	Query for ProductLang
2023-10-13	12:30:56	721	[DEBUG]	Executed store
2023-10-13	12:30:56	721	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.63836',`product_name`='SHIMANO Cassette XT CS-M8000 11 vitesses 11-40 dents  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-xt-cs-m8000-11-vitesses-11-40-dents-box-aucune' WHERE `virtuemart_product_id` = '1860213'
2023-10-13	12:30:56	721	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29701_shimano_cassette_xt_cs-m8000_11-vitesses_11-40_dents__box.jpg
2023-10-13	12:30:56	721	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:56	721	[DEBUG]	Process image file
2023-10-13	12:30:56	721	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:56	721	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:56	721	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29701_shimano_cassette_xt_cs-m8000_11-vitesses_11-40_dents__box.jpg
2023-10-13	12:30:56	721	[DEBUG]	Full name target: bcprisme/29701_shimano_cassette_xt_cs-m8000_11-vitesses_11-40_dents__box.jpg
2023-10-13	12:30:57	721	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:57	721	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29701_shimano_cassette_xt_cs-m8000_11-vitesses_11-40_dents__box.jpg'
2023-10-13	12:30:57	721	[DEBUG]	Query for Media
2023-10-13	12:30:57	721	[DEBUG]	Executed store
2023-10-13	12:30:57	721	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29701_shimano_cassette_xt_cs-m8000_11-vitesses_11-40_dents__box.jpg',`file_url_thumb`='bcprisme/29701_shimano_cassette_xt_cs-m8000_11-vitesses_11-40_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12475'
2023-10-13	12:30:57	721	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:57	721	[DEBUG]	Executed store
2023-10-13	12:30:57	721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860213','12475','1')
2023-10-13	12:30:57	721	[DEBUG]	Store product image relation
2023-10-13	12:30:57	721	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:57	721	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860213 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:57	721	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:57	721	[DEBUG]	Executed store
2023-10-13	12:30:57	721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860213','0','125.255338904364','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:57	721	[DEBUG]	Checking manufacturer
2023-10-13	12:30:57	721	[DEBUG]	Load a row
2023-10-13	12:30:57	721	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:57	721	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:57	721	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:57	721	[DEBUG]	Executed store
2023-10-13	12:30:57	721	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:57	721	[DEBUG]	Manufacturer exists
2023-10-13	12:30:57	721	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:30:57	721	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:57	721	[DEBUG]	Executed store
2023-10-13	12:30:57	721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860213','123')
2023-10-13	12:30:57	721	[DEBUG]	Find the custom field ID
2023-10-13	12:30:57	721	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:57	721	[DEBUG]	No custom field ID found
2023-10-13	12:30:57	721	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:57	721	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:30:57	721	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860213 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:57	721	[DEBUG]	Store custom available field
2023-10-13	12:30:57	721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860213,3,'0',1)
2023-10-13	12:30:57	721	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:57	721	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:57	721	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860213 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:57	721	[DEBUG]	Store custom available field
2023-10-13	12:30:57	721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860213,6,'choisir la taille',3)
2023-10-13	12:30:57	721	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:57	721	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:57	721	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:57	721	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:57	721	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860213 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:57	721	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:57	721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860213,8,1)
2023-10-13	12:30:57	721	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:57	721	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860213\":[1860213,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860213
2023-10-13	12:30:57	721	[DEBUG]	Checking category
2023-10-13	12:30:57	721	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:57	721	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860213
2023-10-13	12:30:57	721	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:57	721	[DEBUG]	Executed store
2023-10-13	12:30:57	721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860213','7283')
2023-10-13	12:30:57	721	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:57	721	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860213 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:57	721	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:57	721	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860213
2023-10-13	12:30:57	722	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:57	722	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:57	722	[DEBUG]	Use field value for field taille
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:57	722	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:57	722	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:57	722	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:57	722	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:57	722	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:57	722	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:57	722	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:57	722	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:57	722	[DEBUG]	Use field value for field published
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:57	722	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field override
2023-10-13	12:30:57	722	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:57	722	[DEBUG]	Use field value for field slug
2023-10-13	12:30:57	722	[DEBUG]	Process line 722
2023-10-13	12:30:57	722	[DEBUG]	Load a row
2023-10-13	12:30:57	722	[DEBUG]	Processing item: 4524667921103
2023-10-13	12:30:57	722	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:57	722	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:57	722	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5229_208'
2023-10-13	12:30:57	722	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:57	722	[DEBUG]	Processing product tax
2023-10-13	12:30:57	722	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:57	722	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:57	722	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:57	722	[DEBUG]	Query for Product
2023-10-13	12:30:57	722	[DEBUG]	Executed store
2023-10-13	12:30:57	722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860213','4524667921103','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:57	722	[DEBUG]	No parent found
2023-10-13	12:30:57	722	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860213 AND customfield_value = 'stockable'
2023-10-13	12:30:57	722	[DEBUG]	Check product language entry
2023-10-13	12:30:57	722	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860214
2023-10-13	12:30:57	722	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:57	722	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667921103' AND `virtuemart_product_id` != 1860214
2023-10-13	12:30:57	722	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:57	722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860214, '4524667921103')
2023-10-13	12:30:57	722	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:57	722	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-xt-cs-m8000-11-vitesses-11-40-dents-box-aucune-all' AND `virtuemart_product_id` != 1860214
2023-10-13	12:30:57	722	[DEBUG]	Query for ProductLang
2023-10-13	12:30:57	722	[DEBUG]	Executed store
2023-10-13	12:30:57	722	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette XT CS-M8000 11 vitesses 11-40 dents  box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-xt-cs-m8000-11-vitesses-11-40-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860214'
2023-10-13	12:30:57	722	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29701_shimano_cassette_xt_cs-m8000_11-vitesses_11-40_dents__box.jpg
2023-10-13	12:30:57	722	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:57	722	[DEBUG]	Process image file
2023-10-13	12:30:57	722	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:30:57	722	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:57	722	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29701_shimano_cassette_xt_cs-m8000_11-vitesses_11-40_dents__box.jpg
2023-10-13	12:30:57	722	[DEBUG]	Full name target: bcprisme/29701_shimano_cassette_xt_cs-m8000_11-vitesses_11-40_dents__box.jpg
2023-10-13	12:30:58	722	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:58	722	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29701_shimano_cassette_xt_cs-m8000_11-vitesses_11-40_dents__box.jpg'
2023-10-13	12:30:58	722	[DEBUG]	Query for Media
2023-10-13	12:30:58	722	[DEBUG]	Executed store
2023-10-13	12:30:58	722	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29701_shimano_cassette_xt_cs-m8000_11-vitesses_11-40_dents__box.jpg',`file_url_thumb`='bcprisme/29701_shimano_cassette_xt_cs-m8000_11-vitesses_11-40_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12475'
2023-10-13	12:30:58	722	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:58	722	[DEBUG]	Executed store
2023-10-13	12:30:58	722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860214','12475','1')
2023-10-13	12:30:58	722	[DEBUG]	Store product image relation
2023-10-13	12:30:58	722	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:58	722	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860214 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:58	722	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:58	722	[DEBUG]	Executed store
2023-10-13	12:30:58	722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860214','0','125.255338904364','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:58	722	[DEBUG]	Checking manufacturer
2023-10-13	12:30:58	722	[DEBUG]	Load a row
2023-10-13	12:30:58	722	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:58	722	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:58	722	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:58	722	[DEBUG]	Executed store
2023-10-13	12:30:58	722	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:30:58	722	[DEBUG]	Manufacturer exists
2023-10-13	12:30:58	722	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:30:58	722	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:58	722	[DEBUG]	Executed store
2023-10-13	12:30:58	722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860214','123')
2023-10-13	12:30:58	722	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:58	722	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:30:58	722	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860214 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:58	722	[DEBUG]	Store custom available field
2023-10-13	12:30:58	722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860214,3,'',1)
2023-10-13	12:30:58	722	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:58	722	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:30:58	722	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860214 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:58	722	[DEBUG]	Store custom available field
2023-10-13	12:30:58	722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860214,6,'All',3)
2023-10-13	12:30:58	722	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:58	722	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:30:58	722	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860213
2023-10-13	12:30:58	722	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:58	722	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860213\":[1860213,8,1,\"choisir la taille\"],\"1860214\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860213
2023-10-13	12:30:58	722	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:58	722	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860214
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:58	723	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field taille
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field category_path
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:58	723	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:30:58	723	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:58	723	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field product_weight
2023-10-13	12:30:58	723	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:58	723	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:58	723	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field published
2023-10-13	12:30:58	723	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:58	723	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field custom_title
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field custom_param
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field override
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field public_price
2023-10-13	12:30:58	723	[DEBUG]	Use field value for field slug
2023-10-13	12:30:58	723	[DEBUG]	Process line 723
2023-10-13	12:30:58	723	[DEBUG]	Load a row
2023-10-13	12:30:58	723	[DEBUG]	Processing item: A_5235_4
2023-10-13	12:30:58	723	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:58	723	[DEBUG]	Processing product tax
2023-10-13	12:30:58	723	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:58	723	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:58	723	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:58	723	[DEBUG]	Query for Product
2023-10-13	12:30:58	723	[DEBUG]	Executed store
2023-10-13	12:30:58	723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5235_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:58	723	[DEBUG]	Check product language entry
2023-10-13	12:30:58	723	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860215
2023-10-13	12:30:58	723	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:58	723	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5235_4' AND `virtuemart_product_id` != 1860215
2023-10-13	12:30:58	723	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:58	723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860215, 'A_5235_4')
2023-10-13	12:30:58	723	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:58	723	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-730-12-32-7-vit-sram-acier' AND `virtuemart_product_id` != 1860215
2023-10-13	12:30:58	723	[DEBUG]	Query for ProductLang
2023-10-13	12:30:58	723	[DEBUG]	Executed store
2023-10-13	12:30:58	723	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7012G',`product_name`='SRAM Cassette PG-730 12-32 7-vit. SRAM / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-730-12-32-7-vit-sram-acier' WHERE `virtuemart_product_id` = '1860215'
2023-10-13	12:30:58	723	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29706_cassette_pg-730_12-32_7-vit__sram.jpg
2023-10-13	12:30:58	723	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:30:58	723	[DEBUG]	Process image file
2023-10-13	12:30:58	723	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:30:58	723	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:58	723	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29706_cassette_pg-730_12-32_7-vit__sram.jpg
2023-10-13	12:30:58	723	[DEBUG]	Full name target: bcprisme/29706_cassette_pg-730_12-32_7-vit__sram.jpg
2023-10-13	12:30:59	723	[DEBUG]	Checking if the file_url exists
2023-10-13	12:30:59	723	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29706_cassette_pg-730_12-32_7-vit__sram.jpg'
2023-10-13	12:30:59	723	[DEBUG]	Query for Media
2023-10-13	12:30:59	723	[DEBUG]	Executed store
2023-10-13	12:30:59	723	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29706_cassette_pg-730_12-32_7-vit__sram.jpg',`file_url_thumb`='bcprisme/29706_cassette_pg-730_12-32_7-vit__sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12476'
2023-10-13	12:30:59	723	[DEBUG]	Query for ProductMedia
2023-10-13	12:30:59	723	[DEBUG]	Executed store
2023-10-13	12:30:59	723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860215','12476','1')
2023-10-13	12:30:59	723	[DEBUG]	Store product image relation
2023-10-13	12:30:59	723	[DEBUG]	Finding a product_price_id
2023-10-13	12:30:59	723	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860215 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:30:59	723	[DEBUG]	Query for ProductPrice
2023-10-13	12:30:59	723	[DEBUG]	Executed store
2023-10-13	12:30:59	723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860215','0','21.2627669452182','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:30:59	723	[DEBUG]	Checking manufacturer
2023-10-13	12:30:59	723	[DEBUG]	Load a row
2023-10-13	12:30:59	723	[DEBUG]	Manufacturer already exists
2023-10-13	12:30:59	723	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:30:59	723	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:30:59	723	[DEBUG]	Executed store
2023-10-13	12:30:59	723	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:30:59	723	[DEBUG]	Manufacturer exists
2023-10-13	12:30:59	723	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:30:59	723	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:30:59	723	[DEBUG]	Executed store
2023-10-13	12:30:59	723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860215','35')
2023-10-13	12:30:59	723	[DEBUG]	Find the custom field ID
2023-10-13	12:30:59	723	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:30:59	723	[DEBUG]	No custom field ID found
2023-10-13	12:30:59	723	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:30:59	723	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:30:59	723	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860215 AND `virtuemart_custom_id` = 3
2023-10-13	12:30:59	723	[DEBUG]	Store custom available field
2023-10-13	12:30:59	723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860215,3,'0',1)
2023-10-13	12:30:59	723	[DEBUG]	Processing custom available field: taille
2023-10-13	12:30:59	723	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:30:59	723	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860215 AND `virtuemart_custom_id` = 6
2023-10-13	12:30:59	723	[DEBUG]	Store custom available field
2023-10-13	12:30:59	723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860215,6,'choisir la taille',3)
2023-10-13	12:30:59	723	[DEBUG]	Process multi-variant fields
2023-10-13	12:30:59	723	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:30:59	723	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:30:59	723	[DEBUG]	Find the multi variant product entry
2023-10-13	12:30:59	723	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860215 AND `virtuemart_custom_id` = 8
2023-10-13	12:30:59	723	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:30:59	723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860215,8,1)
2023-10-13	12:30:59	723	[DEBUG]	Store the updated customfield_params
2023-10-13	12:30:59	723	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860215\":[1860215,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860215
2023-10-13	12:30:59	723	[DEBUG]	Checking category
2023-10-13	12:30:59	723	[DEBUG]	Get the existing categories for the product
2023-10-13	12:30:59	723	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860215
2023-10-13	12:30:59	723	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:30:59	723	[DEBUG]	Executed store
2023-10-13	12:30:59	723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860215','7283')
2023-10-13	12:30:59	723	[DEBUG]	Delete leftover product categories
2023-10-13	12:30:59	723	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860215 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:30:59	723	[DEBUG]	Update has fields after all processing
2023-10-13	12:30:59	723	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860215
2023-10-13	12:30:59	724	[DEBUG]	Use field value for field product_sku
2023-10-13	12:30:59	724	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:30:59	724	[DEBUG]	Use field value for field taille
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:30:59	724	[DEBUG]	Use field value for field product_name
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field category_path
2023-10-13	12:30:59	724	[DEBUG]	Use field value for field product_price
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:30:59	724	[DEBUG]	Use field value for field product_tax
2023-10-13	12:30:59	724	[DEBUG]	Use field value for field file_url
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field product_desc
2023-10-13	12:30:59	724	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:30:59	724	[DEBUG]	Use field value for field product_availability
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field product_weight
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field product_unit
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field related_products
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field product_special
2023-10-13	12:30:59	724	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:30:59	724	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:30:59	724	[DEBUG]	Use field value for field published
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field metadesc
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field metakey
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field custom_title
2023-10-13	12:30:59	724	[DEBUG]	Use field value for field custom_value
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field custom_param
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field override
2023-10-13	12:30:59	724	[DEBUG]	Use default value for field public_price
2023-10-13	12:30:59	724	[DEBUG]	Use field value for field slug
2023-10-13	12:30:59	724	[DEBUG]	Process line 724
2023-10-13	12:30:59	724	[DEBUG]	Load a row
2023-10-13	12:30:59	724	[DEBUG]	Processing item: 710845002939
2023-10-13	12:30:59	724	[DEBUG]	Looking for parent SKU
2023-10-13	12:30:59	724	[DEBUG]	Checking product parent SKU
2023-10-13	12:30:59	724	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5235_4'
2023-10-13	12:30:59	724	[DEBUG]	Product tax: 7.7
2023-10-13	12:30:59	724	[DEBUG]	Processing product tax
2023-10-13	12:30:59	724	[DEBUG]	Check if calculation rule exists
2023-10-13	12:30:59	724	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:30:59	724	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:30:59	724	[DEBUG]	Query for Product
2023-10-13	12:30:59	724	[DEBUG]	Executed store
2023-10-13	12:30:59	724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860215','710845002939','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:30:59	724	[DEBUG]	No parent found
2023-10-13	12:30:59	724	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860215 AND customfield_value = 'stockable'
2023-10-13	12:30:59	724	[DEBUG]	Check product language entry
2023-10-13	12:30:59	724	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860216
2023-10-13	12:30:59	724	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:59	724	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845002939' AND `virtuemart_product_id` != 1860216
2023-10-13	12:30:59	724	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:30:59	724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860216, '710845002939')
2023-10-13	12:30:59	724	[DEBUG]	Check if the product slug exists
2023-10-13	12:30:59	724	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-730-12-32-7-vit-sram-acier-unitaire' AND `virtuemart_product_id` != 1860216
2023-10-13	12:30:59	724	[DEBUG]	Query for ProductLang
2023-10-13	12:30:59	724	[DEBUG]	Executed store
2023-10-13	12:30:59	724	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette PG-730 12-32 7-vit. SRAM / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-730-12-32-7-vit-sram-acier-unitaire' WHERE `virtuemart_product_id` = '1860216'
2023-10-13	12:30:59	724	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29706_cassette_pg-730_12-32_7-vit__sram.jpg
2023-10-13	12:30:59	724	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:30:59	724	[DEBUG]	Process image file
2023-10-13	12:30:59	724	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:30:59	724	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:30:59	724	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29706_cassette_pg-730_12-32_7-vit__sram.jpg
2023-10-13	12:30:59	724	[DEBUG]	Full name target: bcprisme/29706_cassette_pg-730_12-32_7-vit__sram.jpg
2023-10-13	12:31:00	724	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:00	724	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29706_cassette_pg-730_12-32_7-vit__sram.jpg'
2023-10-13	12:31:00	724	[DEBUG]	Query for Media
2023-10-13	12:31:00	724	[DEBUG]	Executed store
2023-10-13	12:31:00	724	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29706_cassette_pg-730_12-32_7-vit__sram.jpg',`file_url_thumb`='bcprisme/29706_cassette_pg-730_12-32_7-vit__sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12476'
2023-10-13	12:31:00	724	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:00	724	[DEBUG]	Executed store
2023-10-13	12:31:00	724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860216','12476','1')
2023-10-13	12:31:00	724	[DEBUG]	Store product image relation
2023-10-13	12:31:00	724	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:00	724	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860216 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:00	724	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:00	724	[DEBUG]	Executed store
2023-10-13	12:31:00	724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860216','0','21.2627669452182','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:00	724	[DEBUG]	Checking manufacturer
2023-10-13	12:31:00	724	[DEBUG]	Load a row
2023-10-13	12:31:00	724	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:00	724	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:00	724	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:00	724	[DEBUG]	Executed store
2023-10-13	12:31:00	724	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:00	724	[DEBUG]	Manufacturer exists
2023-10-13	12:31:00	724	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:31:00	724	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:00	724	[DEBUG]	Executed store
2023-10-13	12:31:00	724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860216','35')
2023-10-13	12:31:00	724	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:00	724	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:00	724	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860216 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:00	724	[DEBUG]	Store custom available field
2023-10-13	12:31:00	724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860216,3,'',1)
2023-10-13	12:31:00	724	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:00	724	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:31:00	724	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860216 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:00	724	[DEBUG]	Store custom available field
2023-10-13	12:31:00	724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860216,6,'Unitaire',3)
2023-10-13	12:31:00	724	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:00	724	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:00	724	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860215
2023-10-13	12:31:00	724	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:00	724	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860215\":[1860215,8,1,\"choisir la taille\"],\"1860216\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860215
2023-10-13	12:31:00	724	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:00	724	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860216
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:00	725	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field taille
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:00	725	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:00	725	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:00	725	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:00	725	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:00	725	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:00	725	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field published
2023-10-13	12:31:00	725	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:00	725	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field override
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:00	725	[DEBUG]	Use field value for field slug
2023-10-13	12:31:00	725	[DEBUG]	Process line 725
2023-10-13	12:31:00	725	[DEBUG]	Load a row
2023-10-13	12:31:00	725	[DEBUG]	Processing item: A_5236_4
2023-10-13	12:31:00	725	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:00	725	[DEBUG]	Processing product tax
2023-10-13	12:31:00	725	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:00	725	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:00	725	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:00	725	[DEBUG]	Query for Product
2023-10-13	12:31:00	725	[DEBUG]	Executed store
2023-10-13	12:31:00	725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5236_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:00	725	[DEBUG]	Check product language entry
2023-10-13	12:31:00	725	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860217
2023-10-13	12:31:00	725	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:00	725	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5236_4' AND `virtuemart_product_id` != 1860217
2023-10-13	12:31:00	725	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:00	725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860217, 'A_5236_4')
2023-10-13	12:31:00	725	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:00	725	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-830-11-28-8-vit-sram-acier' AND `virtuemart_product_id` != 1860217
2023-10-13	12:31:00	725	[DEBUG]	Query for ProductLang
2023-10-13	12:31:00	725	[DEBUG]	Executed store
2023-10-13	12:31:00	725	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D6998S',`product_name`='SRAM Cassette PG-830 11-28 8-vit. SRAM  / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-830-11-28-8-vit-sram-acier' WHERE `virtuemart_product_id` = '1860217'
2023-10-13	12:31:00	725	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29707_cassette_pg-830_11-28_8-vit__sram_.jpg
2023-10-13	12:31:00	725	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:00	725	[DEBUG]	Process image file
2023-10-13	12:31:00	725	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:00	725	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:00	725	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29707_cassette_pg-830_11-28_8-vit__sram_.jpg
2023-10-13	12:31:00	725	[DEBUG]	Full name target: bcprisme/29707_cassette_pg-830_11-28_8-vit__sram_.jpg
2023-10-13	12:31:01	725	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:01	725	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29707_cassette_pg-830_11-28_8-vit__sram_.jpg'
2023-10-13	12:31:01	725	[DEBUG]	Query for Media
2023-10-13	12:31:01	725	[DEBUG]	Executed store
2023-10-13	12:31:01	725	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29707_cassette_pg-830_11-28_8-vit__sram_.jpg',`file_url_thumb`='bcprisme/29707_cassette_pg-830_11-28_8-vit__sram_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12477'
2023-10-13	12:31:01	725	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:01	725	[DEBUG]	Executed store
2023-10-13	12:31:01	725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860217','12477','1')
2023-10-13	12:31:01	725	[DEBUG]	Store product image relation
2023-10-13	12:31:01	725	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:01	725	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860217 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:01	725	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:01	725	[DEBUG]	Executed store
2023-10-13	12:31:01	725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860217','0','21.355617455896','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:01	725	[DEBUG]	Checking manufacturer
2023-10-13	12:31:01	725	[DEBUG]	Load a row
2023-10-13	12:31:01	725	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:01	725	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:01	725	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:01	725	[DEBUG]	Executed store
2023-10-13	12:31:01	725	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:01	725	[DEBUG]	Manufacturer exists
2023-10-13	12:31:01	725	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:31:01	725	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:01	725	[DEBUG]	Executed store
2023-10-13	12:31:01	725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860217','35')
2023-10-13	12:31:01	725	[DEBUG]	Find the custom field ID
2023-10-13	12:31:01	725	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:01	725	[DEBUG]	No custom field ID found
2023-10-13	12:31:01	725	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:01	725	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:01	725	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860217 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:01	725	[DEBUG]	Store custom available field
2023-10-13	12:31:01	725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860217,3,'0',1)
2023-10-13	12:31:01	725	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:01	725	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:01	725	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860217 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:01	725	[DEBUG]	Store custom available field
2023-10-13	12:31:01	725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860217,6,'choisir la taille',3)
2023-10-13	12:31:01	725	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:01	725	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:01	725	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:01	725	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:01	725	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860217 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:01	725	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:01	725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860217,8,1)
2023-10-13	12:31:01	725	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:01	725	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860217\":[1860217,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860217
2023-10-13	12:31:01	725	[DEBUG]	Checking category
2023-10-13	12:31:01	725	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:01	725	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860217
2023-10-13	12:31:01	725	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:01	725	[DEBUG]	Executed store
2023-10-13	12:31:01	725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860217','7283')
2023-10-13	12:31:01	725	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:01	725	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860217 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:01	725	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:01	725	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860217
2023-10-13	12:31:01	726	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:01	726	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:01	726	[DEBUG]	Use field value for field taille
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:01	726	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:01	726	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:01	726	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:01	726	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:01	726	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:01	726	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:01	726	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:01	726	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:01	726	[DEBUG]	Use field value for field published
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:01	726	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field override
2023-10-13	12:31:01	726	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:01	726	[DEBUG]	Use field value for field slug
2023-10-13	12:31:01	726	[DEBUG]	Process line 726
2023-10-13	12:31:01	726	[DEBUG]	Load a row
2023-10-13	12:31:01	726	[DEBUG]	Processing item: 710845000416
2023-10-13	12:31:01	726	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:01	726	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:01	726	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5236_4'
2023-10-13	12:31:01	726	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:01	726	[DEBUG]	Processing product tax
2023-10-13	12:31:01	726	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:01	726	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:01	726	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:01	726	[DEBUG]	Query for Product
2023-10-13	12:31:01	726	[DEBUG]	Executed store
2023-10-13	12:31:01	726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860217','710845000416','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:01	726	[DEBUG]	No parent found
2023-10-13	12:31:01	726	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860217 AND customfield_value = 'stockable'
2023-10-13	12:31:01	726	[DEBUG]	Check product language entry
2023-10-13	12:31:01	726	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860218
2023-10-13	12:31:01	726	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:01	726	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845000416' AND `virtuemart_product_id` != 1860218
2023-10-13	12:31:01	726	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:01	726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860218, '710845000416')
2023-10-13	12:31:01	726	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:01	726	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-830-11-28-8-vit-sram-acier-unitaire' AND `virtuemart_product_id` != 1860218
2023-10-13	12:31:01	726	[DEBUG]	Query for ProductLang
2023-10-13	12:31:01	726	[DEBUG]	Executed store
2023-10-13	12:31:01	726	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette PG-830 11-28 8-vit. SRAM  / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-830-11-28-8-vit-sram-acier-unitaire' WHERE `virtuemart_product_id` = '1860218'
2023-10-13	12:31:01	726	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29707_cassette_pg-830_11-28_8-vit__sram_.jpg
2023-10-13	12:31:01	726	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:01	726	[DEBUG]	Process image file
2023-10-13	12:31:01	726	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:01	726	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:01	726	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29707_cassette_pg-830_11-28_8-vit__sram_.jpg
2023-10-13	12:31:01	726	[DEBUG]	Full name target: bcprisme/29707_cassette_pg-830_11-28_8-vit__sram_.jpg
2023-10-13	12:31:02	726	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:02	726	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29707_cassette_pg-830_11-28_8-vit__sram_.jpg'
2023-10-13	12:31:02	726	[DEBUG]	Query for Media
2023-10-13	12:31:02	726	[DEBUG]	Executed store
2023-10-13	12:31:02	726	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29707_cassette_pg-830_11-28_8-vit__sram_.jpg',`file_url_thumb`='bcprisme/29707_cassette_pg-830_11-28_8-vit__sram_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12477'
2023-10-13	12:31:02	726	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:02	726	[DEBUG]	Executed store
2023-10-13	12:31:02	726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860218','12477','1')
2023-10-13	12:31:02	726	[DEBUG]	Store product image relation
2023-10-13	12:31:02	726	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:02	726	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860218 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:02	726	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:02	726	[DEBUG]	Executed store
2023-10-13	12:31:02	726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860218','0','21.355617455896','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:02	726	[DEBUG]	Checking manufacturer
2023-10-13	12:31:02	726	[DEBUG]	Load a row
2023-10-13	12:31:02	726	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:02	726	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:02	726	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:02	726	[DEBUG]	Executed store
2023-10-13	12:31:02	726	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:02	726	[DEBUG]	Manufacturer exists
2023-10-13	12:31:02	726	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:31:02	726	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:02	726	[DEBUG]	Executed store
2023-10-13	12:31:02	726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860218','35')
2023-10-13	12:31:02	726	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:02	726	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:02	726	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860218 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:02	726	[DEBUG]	Store custom available field
2023-10-13	12:31:02	726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860218,3,'',1)
2023-10-13	12:31:02	726	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:02	726	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:31:02	726	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860218 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:02	726	[DEBUG]	Store custom available field
2023-10-13	12:31:02	726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860218,6,'Unitaire',3)
2023-10-13	12:31:02	726	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:02	726	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:02	726	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860217
2023-10-13	12:31:02	726	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:02	726	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860217\":[1860217,8,1,\"choisir la taille\"],\"1860218\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860217
2023-10-13	12:31:02	726	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:02	726	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860218
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:02	727	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field taille
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:02	727	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:02	727	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:02	727	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:02	727	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:02	727	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:02	727	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field published
2023-10-13	12:31:02	727	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:02	727	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field override
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:02	727	[DEBUG]	Use field value for field slug
2023-10-13	12:31:02	727	[DEBUG]	Process line 727
2023-10-13	12:31:02	727	[DEBUG]	Load a row
2023-10-13	12:31:02	727	[DEBUG]	Processing item: A_5237_4
2023-10-13	12:31:02	727	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:02	727	[DEBUG]	Processing product tax
2023-10-13	12:31:02	727	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:02	727	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:02	727	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:02	727	[DEBUG]	Query for Product
2023-10-13	12:31:02	727	[DEBUG]	Executed store
2023-10-13	12:31:02	727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5237_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:02	727	[DEBUG]	Check product language entry
2023-10-13	12:31:02	727	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860219
2023-10-13	12:31:02	727	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:02	727	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5237_4' AND `virtuemart_product_id` != 1860219
2023-10-13	12:31:02	727	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:02	727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860219, 'A_5237_4')
2023-10-13	12:31:02	727	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:02	727	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-850-11-30-8-vit-sram-acier' AND `virtuemart_product_id` != 1860219
2023-10-13	12:31:02	727	[DEBUG]	Query for ProductLang
2023-10-13	12:31:02	727	[DEBUG]	Executed store
2023-10-13	12:31:02	727	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7046S',`product_name`='SRAM Cassette PG-850 11-30 8 vit SRAM   / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-850-11-30-8-vit-sram-acier' WHERE `virtuemart_product_id` = '1860219'
2023-10-13	12:31:02	727	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29708_cassette_pg-850_11-30_8_vit_sram__.jpg
2023-10-13	12:31:02	727	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:02	727	[DEBUG]	Process image file
2023-10-13	12:31:02	727	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:02	727	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:02	727	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29708_cassette_pg-850_11-30_8_vit_sram__.jpg
2023-10-13	12:31:02	727	[DEBUG]	Full name target: bcprisme/29708_cassette_pg-850_11-30_8_vit_sram__.jpg
2023-10-13	12:31:03	727	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:03	727	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29708_cassette_pg-850_11-30_8_vit_sram__.jpg'
2023-10-13	12:31:03	727	[DEBUG]	Query for Media
2023-10-13	12:31:03	727	[DEBUG]	Executed store
2023-10-13	12:31:03	727	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29708_cassette_pg-850_11-30_8_vit_sram__.jpg',`file_url_thumb`='bcprisme/29708_cassette_pg-850_11-30_8_vit_sram__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12478'
2023-10-13	12:31:03	727	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:03	727	[DEBUG]	Executed store
2023-10-13	12:31:03	727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860219','12478','1')
2023-10-13	12:31:03	727	[DEBUG]	Store product image relation
2023-10-13	12:31:03	727	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:03	727	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860219 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:03	727	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:03	727	[DEBUG]	Executed store
2023-10-13	12:31:03	727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860219','0','26.9266480965645','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:03	727	[DEBUG]	Checking manufacturer
2023-10-13	12:31:03	727	[DEBUG]	Load a row
2023-10-13	12:31:03	727	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:03	727	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:03	727	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:03	727	[DEBUG]	Executed store
2023-10-13	12:31:03	727	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:03	727	[DEBUG]	Manufacturer exists
2023-10-13	12:31:03	727	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:31:03	727	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:03	727	[DEBUG]	Executed store
2023-10-13	12:31:03	727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860219','35')
2023-10-13	12:31:03	727	[DEBUG]	Find the custom field ID
2023-10-13	12:31:03	727	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:03	727	[DEBUG]	No custom field ID found
2023-10-13	12:31:03	727	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:03	727	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:03	727	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860219 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:03	727	[DEBUG]	Store custom available field
2023-10-13	12:31:03	727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860219,3,'0',1)
2023-10-13	12:31:03	727	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:03	727	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:03	727	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860219 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:03	727	[DEBUG]	Store custom available field
2023-10-13	12:31:03	727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860219,6,'choisir la taille',3)
2023-10-13	12:31:03	727	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:03	727	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:03	727	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:03	727	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:03	727	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860219 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:03	727	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:03	727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860219,8,1)
2023-10-13	12:31:03	727	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:03	727	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860219\":[1860219,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860219
2023-10-13	12:31:03	727	[DEBUG]	Checking category
2023-10-13	12:31:03	727	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:03	727	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860219
2023-10-13	12:31:03	727	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:03	727	[DEBUG]	Executed store
2023-10-13	12:31:03	727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860219','7283')
2023-10-13	12:31:03	727	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:03	727	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860219 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:03	727	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:03	727	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860219
2023-10-13	12:31:03	728	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:03	728	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:03	728	[DEBUG]	Use field value for field taille
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:03	728	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:03	728	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:03	728	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:03	728	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:03	728	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:03	728	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:03	728	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:03	728	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:03	728	[DEBUG]	Use field value for field published
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:03	728	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field override
2023-10-13	12:31:03	728	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:03	728	[DEBUG]	Use field value for field slug
2023-10-13	12:31:03	728	[DEBUG]	Process line 728
2023-10-13	12:31:03	728	[DEBUG]	Load a row
2023-10-13	12:31:03	728	[DEBUG]	Processing item: 710845003301
2023-10-13	12:31:03	728	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:03	728	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:03	728	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5237_4'
2023-10-13	12:31:03	728	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:03	728	[DEBUG]	Processing product tax
2023-10-13	12:31:03	728	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:03	728	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:03	728	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:03	728	[DEBUG]	Query for Product
2023-10-13	12:31:03	728	[DEBUG]	Executed store
2023-10-13	12:31:03	728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860219','710845003301','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:03	728	[DEBUG]	No parent found
2023-10-13	12:31:03	728	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860219 AND customfield_value = 'stockable'
2023-10-13	12:31:03	728	[DEBUG]	Check product language entry
2023-10-13	12:31:03	728	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860220
2023-10-13	12:31:03	728	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:03	728	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845003301' AND `virtuemart_product_id` != 1860220
2023-10-13	12:31:04	728	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:04	728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860220, '710845003301')
2023-10-13	12:31:04	728	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:04	728	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-850-11-30-8-vit-sram-acier-unitaire' AND `virtuemart_product_id` != 1860220
2023-10-13	12:31:04	728	[DEBUG]	Query for ProductLang
2023-10-13	12:31:04	728	[DEBUG]	Executed store
2023-10-13	12:31:04	728	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette PG-850 11-30 8 vit SRAM   / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-850-11-30-8-vit-sram-acier-unitaire' WHERE `virtuemart_product_id` = '1860220'
2023-10-13	12:31:04	728	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29708_cassette_pg-850_11-30_8_vit_sram__.jpg
2023-10-13	12:31:04	728	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:04	728	[DEBUG]	Process image file
2023-10-13	12:31:04	728	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:04	728	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:04	728	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29708_cassette_pg-850_11-30_8_vit_sram__.jpg
2023-10-13	12:31:04	728	[DEBUG]	Full name target: bcprisme/29708_cassette_pg-850_11-30_8_vit_sram__.jpg
2023-10-13	12:31:05	728	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:05	728	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29708_cassette_pg-850_11-30_8_vit_sram__.jpg'
2023-10-13	12:31:05	728	[DEBUG]	Query for Media
2023-10-13	12:31:05	728	[DEBUG]	Executed store
2023-10-13	12:31:05	728	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29708_cassette_pg-850_11-30_8_vit_sram__.jpg',`file_url_thumb`='bcprisme/29708_cassette_pg-850_11-30_8_vit_sram__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12478'
2023-10-13	12:31:05	728	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:05	728	[DEBUG]	Executed store
2023-10-13	12:31:05	728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860220','12478','1')
2023-10-13	12:31:05	728	[DEBUG]	Store product image relation
2023-10-13	12:31:05	728	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:05	728	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860220 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:05	728	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:05	728	[DEBUG]	Executed store
2023-10-13	12:31:05	728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860220','0','26.9266480965645','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:05	728	[DEBUG]	Checking manufacturer
2023-10-13	12:31:05	728	[DEBUG]	Load a row
2023-10-13	12:31:05	728	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:05	728	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:05	728	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:05	728	[DEBUG]	Executed store
2023-10-13	12:31:05	728	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:05	728	[DEBUG]	Manufacturer exists
2023-10-13	12:31:05	728	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:31:05	728	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:05	728	[DEBUG]	Executed store
2023-10-13	12:31:05	728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860220','35')
2023-10-13	12:31:05	728	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:05	728	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:05	728	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860220 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:05	728	[DEBUG]	Store custom available field
2023-10-13	12:31:05	728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860220,3,'',1)
2023-10-13	12:31:05	728	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:05	728	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:31:05	728	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860220 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:05	728	[DEBUG]	Store custom available field
2023-10-13	12:31:05	728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860220,6,'Unitaire',3)
2023-10-13	12:31:05	728	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:05	728	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:05	728	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860219
2023-10-13	12:31:05	728	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:05	728	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860219\":[1860219,8,1,\"choisir la taille\"],\"1860220\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860219
2023-10-13	12:31:05	728	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:05	728	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860220
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:05	729	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field taille
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:05	729	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:05	729	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:05	729	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:05	729	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:05	729	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:05	729	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field published
2023-10-13	12:31:05	729	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:05	729	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field override
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:05	729	[DEBUG]	Use field value for field slug
2023-10-13	12:31:05	729	[DEBUG]	Process line 729
2023-10-13	12:31:05	729	[DEBUG]	Load a row
2023-10-13	12:31:05	729	[DEBUG]	Processing item: A_5299_3
2023-10-13	12:31:05	729	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:05	729	[DEBUG]	Processing product tax
2023-10-13	12:31:05	729	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:05	729	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:05	729	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:05	729	[DEBUG]	Query for Product
2023-10-13	12:31:05	729	[DEBUG]	Executed store
2023-10-13	12:31:05	729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5299_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:05	729	[DEBUG]	Check product language entry
2023-10-13	12:31:05	729	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860221
2023-10-13	12:31:05	729	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:05	729	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5299_3' AND `virtuemart_product_id` != 1860221
2023-10-13	12:31:05	729	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:05	729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860221, 'A_5299_3')
2023-10-13	12:31:05	729	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:05	729	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1199-xx1-10-42-11-vit--xd-body-x-glide-none' AND `virtuemart_product_id` != 1860221
2023-10-13	12:31:05	729	[DEBUG]	Query for ProductLang
2023-10-13	12:31:05	729	[DEBUG]	Executed store
2023-10-13	12:31:05	729	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7364A',`product_name`='SRAM Cassette XG-1199 XX1 10-42 11-vit- XD-Body X-Glide / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1199-xx1-10-42-11-vit--xd-body-x-glide-none' WHERE `virtuemart_product_id` = '1860221'
2023-10-13	12:31:05	729	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29776_cassette_xg-1199_xx1_10-42_11-vit-_xd-body_x-glide.jpg
2023-10-13	12:31:05	729	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:31:05	729	[DEBUG]	Process image file
2023-10-13	12:31:05	729	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:31:05	729	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:05	729	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29776_cassette_xg-1199_xx1_10-42_11-vit-_xd-body_x-glide.jpg
2023-10-13	12:31:05	729	[DEBUG]	Full name target: bcprisme/29776_cassette_xg-1199_xx1_10-42_11-vit-_xd-body_x-glide.jpg
2023-10-13	12:31:06	729	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:06	729	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29776_cassette_xg-1199_xx1_10-42_11-vit-_xd-body_x-glide.jpg'
2023-10-13	12:31:06	729	[DEBUG]	Query for Media
2023-10-13	12:31:06	729	[DEBUG]	Executed store
2023-10-13	12:31:06	729	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29776_cassette_xg-1199_xx1_10-42_11-vit-_xd-body_x-glide.jpg',`file_url_thumb`='bcprisme/29776_cassette_xg-1199_xx1_10-42_11-vit-_xd-body_x-glide.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12479'
2023-10-13	12:31:06	729	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:06	729	[DEBUG]	Executed store
2023-10-13	12:31:06	729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860221','12479','1')
2023-10-13	12:31:06	729	[DEBUG]	Store product image relation
2023-10-13	12:31:06	729	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:06	729	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860221 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:06	729	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:06	729	[DEBUG]	Executed store
2023-10-13	12:31:06	729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860221','0','366.759517177344','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:06	729	[DEBUG]	Checking manufacturer
2023-10-13	12:31:06	729	[DEBUG]	Load a row
2023-10-13	12:31:06	729	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:06	729	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:06	729	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:06	729	[DEBUG]	Executed store
2023-10-13	12:31:06	729	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:06	729	[DEBUG]	Manufacturer exists
2023-10-13	12:31:06	729	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:31:06	729	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:06	729	[DEBUG]	Executed store
2023-10-13	12:31:06	729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860221','35')
2023-10-13	12:31:06	729	[DEBUG]	Find the custom field ID
2023-10-13	12:31:06	729	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:06	729	[DEBUG]	No custom field ID found
2023-10-13	12:31:06	729	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:06	729	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:06	729	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860221 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:06	729	[DEBUG]	Store custom available field
2023-10-13	12:31:06	729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860221,3,'0',1)
2023-10-13	12:31:06	729	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:06	729	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:06	729	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860221 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:06	729	[DEBUG]	Store custom available field
2023-10-13	12:31:06	729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860221,6,'choisir la taille',3)
2023-10-13	12:31:06	729	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:06	729	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:06	729	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:06	729	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:06	729	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860221 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:06	729	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:06	729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860221,8,1)
2023-10-13	12:31:06	729	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:06	729	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860221\":[1860221,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860221
2023-10-13	12:31:06	729	[DEBUG]	Checking category
2023-10-13	12:31:06	729	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:06	729	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860221
2023-10-13	12:31:06	729	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:06	729	[DEBUG]	Executed store
2023-10-13	12:31:06	729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860221','7283')
2023-10-13	12:31:06	729	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:06	729	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860221 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:06	729	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:06	729	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860221
2023-10-13	12:31:06	730	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:06	730	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:06	730	[DEBUG]	Use field value for field taille
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:06	730	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:06	730	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:06	730	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:06	730	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:06	730	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:06	730	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:06	730	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:06	730	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:06	730	[DEBUG]	Use field value for field published
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:06	730	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field override
2023-10-13	12:31:06	730	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:06	730	[DEBUG]	Use field value for field slug
2023-10-13	12:31:06	730	[DEBUG]	Process line 730
2023-10-13	12:31:06	730	[DEBUG]	Load a row
2023-10-13	12:31:06	730	[DEBUG]	Processing item: 710845713163
2023-10-13	12:31:06	730	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:06	730	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:06	730	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5299_3'
2023-10-13	12:31:06	730	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:06	730	[DEBUG]	Processing product tax
2023-10-13	12:31:06	730	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:06	730	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:06	730	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:06	730	[DEBUG]	Query for Product
2023-10-13	12:31:06	730	[DEBUG]	Executed store
2023-10-13	12:31:06	730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860221','710845713163','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:06	730	[DEBUG]	No parent found
2023-10-13	12:31:06	730	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860221 AND customfield_value = 'stockable'
2023-10-13	12:31:06	730	[DEBUG]	Check product language entry
2023-10-13	12:31:06	730	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860222
2023-10-13	12:31:06	730	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:06	730	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845713163' AND `virtuemart_product_id` != 1860222
2023-10-13	12:31:06	730	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:06	730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860222, '710845713163')
2023-10-13	12:31:06	730	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:06	730	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1199-xx1-10-42-11-vit--xd-body-x-glide-none-unitaire' AND `virtuemart_product_id` != 1860222
2023-10-13	12:31:06	730	[DEBUG]	Query for ProductLang
2023-10-13	12:31:06	730	[DEBUG]	Executed store
2023-10-13	12:31:06	730	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1199 XX1 10-42 11-vit- XD-Body X-Glide / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1199-xx1-10-42-11-vit--xd-body-x-glide-none-unitaire' WHERE `virtuemart_product_id` = '1860222'
2023-10-13	12:31:06	730	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29776_cassette_xg-1199_xx1_10-42_11-vit-_xd-body_x-glide.jpg
2023-10-13	12:31:06	730	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:31:06	730	[DEBUG]	Process image file
2023-10-13	12:31:06	730	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:31:06	730	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:06	730	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29776_cassette_xg-1199_xx1_10-42_11-vit-_xd-body_x-glide.jpg
2023-10-13	12:31:06	730	[DEBUG]	Full name target: bcprisme/29776_cassette_xg-1199_xx1_10-42_11-vit-_xd-body_x-glide.jpg
2023-10-13	12:31:07	730	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:07	730	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29776_cassette_xg-1199_xx1_10-42_11-vit-_xd-body_x-glide.jpg'
2023-10-13	12:31:07	730	[DEBUG]	Query for Media
2023-10-13	12:31:07	730	[DEBUG]	Executed store
2023-10-13	12:31:07	730	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29776_cassette_xg-1199_xx1_10-42_11-vit-_xd-body_x-glide.jpg',`file_url_thumb`='bcprisme/29776_cassette_xg-1199_xx1_10-42_11-vit-_xd-body_x-glide.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12479'
2023-10-13	12:31:07	730	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:07	730	[DEBUG]	Executed store
2023-10-13	12:31:07	730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860222','12479','1')
2023-10-13	12:31:07	730	[DEBUG]	Store product image relation
2023-10-13	12:31:07	730	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:07	730	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860222 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:07	730	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:07	730	[DEBUG]	Executed store
2023-10-13	12:31:07	730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860222','0','366.759517177344','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:07	730	[DEBUG]	Checking manufacturer
2023-10-13	12:31:07	730	[DEBUG]	Load a row
2023-10-13	12:31:07	730	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:07	730	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:07	730	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:07	730	[DEBUG]	Executed store
2023-10-13	12:31:07	730	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:07	730	[DEBUG]	Manufacturer exists
2023-10-13	12:31:07	730	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:31:07	730	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:07	730	[DEBUG]	Executed store
2023-10-13	12:31:07	730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860222','35')
2023-10-13	12:31:07	730	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:07	730	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:07	730	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860222 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:07	730	[DEBUG]	Store custom available field
2023-10-13	12:31:07	730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860222,3,'',1)
2023-10-13	12:31:07	730	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:07	730	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:31:07	730	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860222 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:07	730	[DEBUG]	Store custom available field
2023-10-13	12:31:07	730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860222,6,'Unitaire',3)
2023-10-13	12:31:07	730	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:07	730	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:07	730	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860221
2023-10-13	12:31:07	730	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:07	730	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860221\":[1860221,8,1,\"choisir la taille\"],\"1860222\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860221
2023-10-13	12:31:07	730	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:07	730	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860222
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:07	731	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field taille
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:07	731	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:07	731	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:07	731	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:07	731	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:07	731	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:07	731	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field published
2023-10-13	12:31:07	731	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:07	731	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field override
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:07	731	[DEBUG]	Use field value for field slug
2023-10-13	12:31:07	731	[DEBUG]	Process line 731
2023-10-13	12:31:07	731	[DEBUG]	Load a row
2023-10-13	12:31:07	731	[DEBUG]	Processing item: A_5408_208
2023-10-13	12:31:07	731	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:07	731	[DEBUG]	Processing product tax
2023-10-13	12:31:07	731	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:07	731	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:07	731	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:07	731	[DEBUG]	Query for Product
2023-10-13	12:31:07	731	[DEBUG]	Executed store
2023-10-13	12:31:07	731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5408_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:07	731	[DEBUG]	Check product language entry
2023-10-13	12:31:07	731	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860223
2023-10-13	12:31:07	731	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:07	731	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5408_208' AND `virtuemart_product_id` != 1860223
2023-10-13	12:31:07	731	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:07	731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860223, 'A_5408_208')
2023-10-13	12:31:07	731	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:07	731	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg300-9-vitesses-11-34-dents-box-aucune' AND `virtuemart_product_id` != 1860223
2023-10-13	12:31:07	731	[DEBUG]	Query for ProductLang
2023-10-13	12:31:07	731	[DEBUG]	Executed store
2023-10-13	12:31:07	731	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.60028',`product_name`='SHIMANO Cassette Alivio CS-HG300 9-vitesses 11-34 dents  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg300-9-vitesses-11-34-dents-box-aucune' WHERE `virtuemart_product_id` = '1860223'
2023-10-13	12:31:07	731	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29896_shimano_cassette_alivio_cs-hg300_9-vitesses_11-34_dents__box.jpg
2023-10-13	12:31:07	731	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:07	731	[DEBUG]	Process image file
2023-10-13	12:31:07	731	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:07	731	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:07	731	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29896_shimano_cassette_alivio_cs-hg300_9-vitesses_11-34_dents__box.jpg
2023-10-13	12:31:07	731	[DEBUG]	Full name target: bcprisme/29896_shimano_cassette_alivio_cs-hg300_9-vitesses_11-34_dents__box.jpg
2023-10-13	12:31:08	731	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:08	731	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29896_shimano_cassette_alivio_cs-hg300_9-vitesses_11-34_dents__box.jpg'
2023-10-13	12:31:08	731	[DEBUG]	Query for Media
2023-10-13	12:31:08	731	[DEBUG]	Executed store
2023-10-13	12:31:08	731	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29896_shimano_cassette_alivio_cs-hg300_9-vitesses_11-34_dents__box.jpg',`file_url_thumb`='bcprisme/29896_shimano_cassette_alivio_cs-hg300_9-vitesses_11-34_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12480'
2023-10-13	12:31:08	731	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:08	731	[DEBUG]	Executed store
2023-10-13	12:31:08	731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860223','12480','1')
2023-10-13	12:31:08	731	[DEBUG]	Store product image relation
2023-10-13	12:31:08	731	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:08	731	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860223 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:08	731	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:08	731	[DEBUG]	Executed store
2023-10-13	12:31:08	731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860223','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:08	731	[DEBUG]	Checking manufacturer
2023-10-13	12:31:08	731	[DEBUG]	Load a row
2023-10-13	12:31:08	731	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:08	731	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:08	731	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:08	731	[DEBUG]	Executed store
2023-10-13	12:31:08	731	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:08	731	[DEBUG]	Manufacturer exists
2023-10-13	12:31:08	731	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:08	731	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:08	731	[DEBUG]	Executed store
2023-10-13	12:31:08	731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860223','123')
2023-10-13	12:31:08	731	[DEBUG]	Find the custom field ID
2023-10-13	12:31:08	731	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:08	731	[DEBUG]	No custom field ID found
2023-10-13	12:31:08	731	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:08	731	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:08	731	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860223 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:08	731	[DEBUG]	Store custom available field
2023-10-13	12:31:08	731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860223,3,'0',1)
2023-10-13	12:31:08	731	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:08	731	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:08	731	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860223 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:08	731	[DEBUG]	Store custom available field
2023-10-13	12:31:08	731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860223,6,'choisir la taille',3)
2023-10-13	12:31:08	731	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:08	731	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:08	731	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:08	731	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:08	731	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860223 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:08	731	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:08	731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860223,8,1)
2023-10-13	12:31:08	731	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:08	731	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860223\":[1860223,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860223
2023-10-13	12:31:08	731	[DEBUG]	Checking category
2023-10-13	12:31:08	731	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:08	731	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860223
2023-10-13	12:31:08	731	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:08	731	[DEBUG]	Executed store
2023-10-13	12:31:08	731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860223','7283')
2023-10-13	12:31:08	731	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:08	731	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860223 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:08	731	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:08	731	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860223
2023-10-13	12:31:08	732	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:08	732	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:08	732	[DEBUG]	Use field value for field taille
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:08	732	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:08	732	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:08	732	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:08	732	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:08	732	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:08	732	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:08	732	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:08	732	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:08	732	[DEBUG]	Use field value for field published
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:08	732	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field override
2023-10-13	12:31:08	732	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:08	732	[DEBUG]	Use field value for field slug
2023-10-13	12:31:08	732	[DEBUG]	Process line 732
2023-10-13	12:31:08	732	[DEBUG]	Load a row
2023-10-13	12:31:08	732	[DEBUG]	Processing item: 4524667578970
2023-10-13	12:31:08	732	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:08	732	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:08	732	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5408_208'
2023-10-13	12:31:08	732	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:08	732	[DEBUG]	Processing product tax
2023-10-13	12:31:08	732	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:08	732	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:08	732	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:08	732	[DEBUG]	Query for Product
2023-10-13	12:31:08	732	[DEBUG]	Executed store
2023-10-13	12:31:08	732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860223','4524667578970','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:08	732	[DEBUG]	No parent found
2023-10-13	12:31:08	732	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860223 AND customfield_value = 'stockable'
2023-10-13	12:31:08	732	[DEBUG]	Check product language entry
2023-10-13	12:31:08	732	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860224
2023-10-13	12:31:08	732	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:08	732	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667578970' AND `virtuemart_product_id` != 1860224
2023-10-13	12:31:08	732	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:08	732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860224, '4524667578970')
2023-10-13	12:31:08	732	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:08	732	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg300-9-vitesses-11-34-dents-box-aucune-all' AND `virtuemart_product_id` != 1860224
2023-10-13	12:31:08	732	[DEBUG]	Query for ProductLang
2023-10-13	12:31:08	732	[DEBUG]	Executed store
2023-10-13	12:31:08	732	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Alivio CS-HG300 9-vitesses 11-34 dents  box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg300-9-vitesses-11-34-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860224'
2023-10-13	12:31:08	732	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29896_shimano_cassette_alivio_cs-hg300_9-vitesses_11-34_dents__box.jpg
2023-10-13	12:31:08	732	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:08	732	[DEBUG]	Process image file
2023-10-13	12:31:08	732	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:08	732	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:08	732	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29896_shimano_cassette_alivio_cs-hg300_9-vitesses_11-34_dents__box.jpg
2023-10-13	12:31:08	732	[DEBUG]	Full name target: bcprisme/29896_shimano_cassette_alivio_cs-hg300_9-vitesses_11-34_dents__box.jpg
2023-10-13	12:31:09	732	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:09	732	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29896_shimano_cassette_alivio_cs-hg300_9-vitesses_11-34_dents__box.jpg'
2023-10-13	12:31:09	732	[DEBUG]	Query for Media
2023-10-13	12:31:09	732	[DEBUG]	Executed store
2023-10-13	12:31:09	732	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29896_shimano_cassette_alivio_cs-hg300_9-vitesses_11-34_dents__box.jpg',`file_url_thumb`='bcprisme/29896_shimano_cassette_alivio_cs-hg300_9-vitesses_11-34_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12480'
2023-10-13	12:31:09	732	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:09	732	[DEBUG]	Executed store
2023-10-13	12:31:09	732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860224','12480','1')
2023-10-13	12:31:09	732	[DEBUG]	Store product image relation
2023-10-13	12:31:09	732	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:09	732	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860224 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:09	732	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:09	732	[DEBUG]	Executed store
2023-10-13	12:31:09	732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860224','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:09	732	[DEBUG]	Checking manufacturer
2023-10-13	12:31:09	732	[DEBUG]	Load a row
2023-10-13	12:31:09	732	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:09	732	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:09	732	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:09	732	[DEBUG]	Executed store
2023-10-13	12:31:09	732	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:09	732	[DEBUG]	Manufacturer exists
2023-10-13	12:31:09	732	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:09	732	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:09	732	[DEBUG]	Executed store
2023-10-13	12:31:09	732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860224','123')
2023-10-13	12:31:09	732	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:09	732	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:09	732	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860224 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:09	732	[DEBUG]	Store custom available field
2023-10-13	12:31:09	732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860224,3,'',1)
2023-10-13	12:31:09	732	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:09	732	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:09	732	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860224 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:09	732	[DEBUG]	Store custom available field
2023-10-13	12:31:09	732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860224,6,'All',3)
2023-10-13	12:31:09	732	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:09	732	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:09	732	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860223
2023-10-13	12:31:09	732	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:09	732	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860223\":[1860223,8,1,\"choisir la taille\"],\"1860224\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860223
2023-10-13	12:31:09	732	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:09	732	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860224
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:09	733	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field taille
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:09	733	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:09	733	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:09	733	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:09	733	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:09	733	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:09	733	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field published
2023-10-13	12:31:09	733	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:09	733	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field override
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:09	733	[DEBUG]	Use field value for field slug
2023-10-13	12:31:09	733	[DEBUG]	Process line 733
2023-10-13	12:31:09	733	[DEBUG]	Load a row
2023-10-13	12:31:09	733	[DEBUG]	Processing item: A_5409_208
2023-10-13	12:31:09	733	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:09	733	[DEBUG]	Processing product tax
2023-10-13	12:31:09	733	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:09	733	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:09	733	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:09	733	[DEBUG]	Query for Product
2023-10-13	12:31:09	733	[DEBUG]	Executed store
2023-10-13	12:31:09	733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5409_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:09	733	[DEBUG]	Check product language entry
2023-10-13	12:31:09	733	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860225
2023-10-13	12:31:09	733	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:09	733	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5409_208' AND `virtuemart_product_id` != 1860225
2023-10-13	12:31:09	733	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:09	733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860225, 'A_5409_208')
2023-10-13	12:31:09	733	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:09	733	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg400-9-vitesses-12-36-dents-box-aucune' AND `virtuemart_product_id` != 1860225
2023-10-13	12:31:09	733	[DEBUG]	Query for ProductLang
2023-10-13	12:31:09	733	[DEBUG]	Executed store
2023-10-13	12:31:09	733	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.60029',`product_name`='SHIMANO Cassette Alivio CS-HG400 9-vitesses 12-36 dents  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg400-9-vitesses-12-36-dents-box-aucune' WHERE `virtuemart_product_id` = '1860225'
2023-10-13	12:31:09	733	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29897_shimano_cassette_alivio_cs-hg400_9-vitesses_12-36_dents__box.jpg
2023-10-13	12:31:09	733	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:09	733	[DEBUG]	Process image file
2023-10-13	12:31:09	733	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:09	733	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:09	733	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29897_shimano_cassette_alivio_cs-hg400_9-vitesses_12-36_dents__box.jpg
2023-10-13	12:31:09	733	[DEBUG]	Full name target: bcprisme/29897_shimano_cassette_alivio_cs-hg400_9-vitesses_12-36_dents__box.jpg
2023-10-13	12:31:10	733	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:10	733	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29897_shimano_cassette_alivio_cs-hg400_9-vitesses_12-36_dents__box.jpg'
2023-10-13	12:31:10	733	[DEBUG]	Query for Media
2023-10-13	12:31:10	733	[DEBUG]	Executed store
2023-10-13	12:31:10	733	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29897_shimano_cassette_alivio_cs-hg400_9-vitesses_12-36_dents__box.jpg',`file_url_thumb`='bcprisme/29897_shimano_cassette_alivio_cs-hg400_9-vitesses_12-36_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12481'
2023-10-13	12:31:10	733	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:10	733	[DEBUG]	Executed store
2023-10-13	12:31:10	733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860225','12481','1')
2023-10-13	12:31:10	733	[DEBUG]	Store product image relation
2023-10-13	12:31:10	733	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:10	733	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860225 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:10	733	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:10	733	[DEBUG]	Executed store
2023-10-13	12:31:10	733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860225','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:10	733	[DEBUG]	Checking manufacturer
2023-10-13	12:31:10	733	[DEBUG]	Load a row
2023-10-13	12:31:10	733	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:10	733	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:10	733	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:10	733	[DEBUG]	Executed store
2023-10-13	12:31:10	733	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:10	733	[DEBUG]	Manufacturer exists
2023-10-13	12:31:10	733	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:10	733	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:10	733	[DEBUG]	Executed store
2023-10-13	12:31:10	733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860225','123')
2023-10-13	12:31:10	733	[DEBUG]	Find the custom field ID
2023-10-13	12:31:10	733	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:10	733	[DEBUG]	No custom field ID found
2023-10-13	12:31:10	733	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:10	733	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:10	733	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860225 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:10	733	[DEBUG]	Store custom available field
2023-10-13	12:31:10	733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860225,3,'0',1)
2023-10-13	12:31:10	733	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:10	733	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:10	733	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860225 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:10	733	[DEBUG]	Store custom available field
2023-10-13	12:31:10	733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860225,6,'choisir la taille',3)
2023-10-13	12:31:10	733	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:10	733	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:10	733	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:10	733	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:10	733	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860225 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:10	733	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:10	733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860225,8,1)
2023-10-13	12:31:10	733	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:10	733	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860225\":[1860225,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860225
2023-10-13	12:31:10	733	[DEBUG]	Checking category
2023-10-13	12:31:10	733	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:10	733	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860225
2023-10-13	12:31:10	733	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:10	733	[DEBUG]	Executed store
2023-10-13	12:31:10	733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860225','7283')
2023-10-13	12:31:10	733	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:10	733	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860225 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:10	733	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:10	733	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860225
2023-10-13	12:31:10	734	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:10	734	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:10	734	[DEBUG]	Use field value for field taille
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:10	734	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:10	734	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:10	734	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:10	734	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:10	734	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:10	734	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:10	734	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:10	734	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:10	734	[DEBUG]	Use field value for field published
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:10	734	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field override
2023-10-13	12:31:10	734	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:10	734	[DEBUG]	Use field value for field slug
2023-10-13	12:31:10	734	[DEBUG]	Process line 734
2023-10-13	12:31:10	734	[DEBUG]	Load a row
2023-10-13	12:31:10	734	[DEBUG]	Processing item: 4524667579021
2023-10-13	12:31:10	734	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:10	734	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:10	734	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5409_208'
2023-10-13	12:31:10	734	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:10	734	[DEBUG]	Processing product tax
2023-10-13	12:31:10	734	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:10	734	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:10	734	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:10	734	[DEBUG]	Query for Product
2023-10-13	12:31:10	734	[DEBUG]	Executed store
2023-10-13	12:31:10	734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860225','4524667579021','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:10	734	[DEBUG]	No parent found
2023-10-13	12:31:10	734	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860225 AND customfield_value = 'stockable'
2023-10-13	12:31:10	734	[DEBUG]	Check product language entry
2023-10-13	12:31:10	734	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860226
2023-10-13	12:31:10	734	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:10	734	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667579021' AND `virtuemart_product_id` != 1860226
2023-10-13	12:31:10	734	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:10	734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860226, '4524667579021')
2023-10-13	12:31:10	734	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:10	734	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg400-9-vitesses-12-36-dents-box-aucune-all' AND `virtuemart_product_id` != 1860226
2023-10-13	12:31:10	734	[DEBUG]	Query for ProductLang
2023-10-13	12:31:10	734	[DEBUG]	Executed store
2023-10-13	12:31:10	734	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Alivio CS-HG400 9-vitesses 12-36 dents  box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg400-9-vitesses-12-36-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860226'
2023-10-13	12:31:10	734	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29897_shimano_cassette_alivio_cs-hg400_9-vitesses_12-36_dents__box.jpg
2023-10-13	12:31:10	734	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:10	734	[DEBUG]	Process image file
2023-10-13	12:31:10	734	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:10	734	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:10	734	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29897_shimano_cassette_alivio_cs-hg400_9-vitesses_12-36_dents__box.jpg
2023-10-13	12:31:10	734	[DEBUG]	Full name target: bcprisme/29897_shimano_cassette_alivio_cs-hg400_9-vitesses_12-36_dents__box.jpg
2023-10-13	12:31:11	734	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:11	734	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29897_shimano_cassette_alivio_cs-hg400_9-vitesses_12-36_dents__box.jpg'
2023-10-13	12:31:11	734	[DEBUG]	Query for Media
2023-10-13	12:31:11	734	[DEBUG]	Executed store
2023-10-13	12:31:11	734	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29897_shimano_cassette_alivio_cs-hg400_9-vitesses_12-36_dents__box.jpg',`file_url_thumb`='bcprisme/29897_shimano_cassette_alivio_cs-hg400_9-vitesses_12-36_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12481'
2023-10-13	12:31:11	734	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:11	734	[DEBUG]	Executed store
2023-10-13	12:31:11	734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860226','12481','1')
2023-10-13	12:31:11	734	[DEBUG]	Store product image relation
2023-10-13	12:31:11	734	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:11	734	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860226 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:11	734	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:11	734	[DEBUG]	Executed store
2023-10-13	12:31:11	734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860226','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:11	734	[DEBUG]	Checking manufacturer
2023-10-13	12:31:11	734	[DEBUG]	Load a row
2023-10-13	12:31:11	734	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:11	734	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:11	734	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:11	734	[DEBUG]	Executed store
2023-10-13	12:31:11	734	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:11	734	[DEBUG]	Manufacturer exists
2023-10-13	12:31:11	734	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:11	734	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:11	734	[DEBUG]	Executed store
2023-10-13	12:31:11	734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860226','123')
2023-10-13	12:31:11	734	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:11	734	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:11	734	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860226 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:11	734	[DEBUG]	Store custom available field
2023-10-13	12:31:11	734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860226,3,'',1)
2023-10-13	12:31:11	734	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:11	734	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:11	734	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860226 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:11	734	[DEBUG]	Store custom available field
2023-10-13	12:31:11	734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860226,6,'All',3)
2023-10-13	12:31:11	734	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:11	734	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:11	734	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860225
2023-10-13	12:31:11	734	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:11	734	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860225\":[1860225,8,1,\"choisir la taille\"],\"1860226\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860225
2023-10-13	12:31:11	734	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:11	734	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860226
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:11	735	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field taille
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:11	735	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:11	735	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:11	735	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:11	735	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:11	735	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:11	735	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field published
2023-10-13	12:31:11	735	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:11	735	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field override
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:11	735	[DEBUG]	Use field value for field slug
2023-10-13	12:31:11	735	[DEBUG]	Process line 735
2023-10-13	12:31:11	735	[DEBUG]	Load a row
2023-10-13	12:31:11	735	[DEBUG]	Processing item: A_5410_208
2023-10-13	12:31:11	735	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:11	735	[DEBUG]	Processing product tax
2023-10-13	12:31:11	735	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:11	735	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:11	735	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:11	735	[DEBUG]	Query for Product
2023-10-13	12:31:11	735	[DEBUG]	Executed store
2023-10-13	12:31:11	735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5410_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:11	735	[DEBUG]	Check product language entry
2023-10-13	12:31:11	735	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860227
2023-10-13	12:31:11	735	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:11	735	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5410_208' AND `virtuemart_product_id` != 1860227
2023-10-13	12:31:11	735	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:11	735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860227, 'A_5410_208')
2023-10-13	12:31:11	735	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:11	735	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg300-9-vitesses-11-32-dents-box-aucune' AND `virtuemart_product_id` != 1860227
2023-10-13	12:31:11	735	[DEBUG]	Query for ProductLang
2023-10-13	12:31:11	735	[DEBUG]	Executed store
2023-10-13	12:31:11	735	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.60027',`product_name`='SHIMANO Cassette Alivio CS-HG300 9-vitesses 11-32 dents  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg300-9-vitesses-11-32-dents-box-aucune' WHERE `virtuemart_product_id` = '1860227'
2023-10-13	12:31:11	735	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29898_shimano_cassette_alivio_cs-hg300_9-vitesses_11-32_dents__box.jpg
2023-10-13	12:31:11	735	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:11	735	[DEBUG]	Process image file
2023-10-13	12:31:11	735	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:11	735	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:11	735	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29898_shimano_cassette_alivio_cs-hg300_9-vitesses_11-32_dents__box.jpg
2023-10-13	12:31:11	735	[DEBUG]	Full name target: bcprisme/29898_shimano_cassette_alivio_cs-hg300_9-vitesses_11-32_dents__box.jpg
2023-10-13	12:31:12	735	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:12	735	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29898_shimano_cassette_alivio_cs-hg300_9-vitesses_11-32_dents__box.jpg'
2023-10-13	12:31:12	735	[DEBUG]	Query for Media
2023-10-13	12:31:12	735	[DEBUG]	Executed store
2023-10-13	12:31:12	735	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29898_shimano_cassette_alivio_cs-hg300_9-vitesses_11-32_dents__box.jpg',`file_url_thumb`='bcprisme/29898_shimano_cassette_alivio_cs-hg300_9-vitesses_11-32_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12482'
2023-10-13	12:31:12	735	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:12	735	[DEBUG]	Executed store
2023-10-13	12:31:12	735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860227','12482','1')
2023-10-13	12:31:12	735	[DEBUG]	Store product image relation
2023-10-13	12:31:12	735	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:12	735	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860227 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:12	735	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:12	735	[DEBUG]	Executed store
2023-10-13	12:31:12	735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860227','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:12	735	[DEBUG]	Checking manufacturer
2023-10-13	12:31:12	735	[DEBUG]	Load a row
2023-10-13	12:31:12	735	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:12	735	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:12	735	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:12	735	[DEBUG]	Executed store
2023-10-13	12:31:12	735	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:12	735	[DEBUG]	Manufacturer exists
2023-10-13	12:31:12	735	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:12	735	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:12	735	[DEBUG]	Executed store
2023-10-13	12:31:12	735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860227','123')
2023-10-13	12:31:12	735	[DEBUG]	Find the custom field ID
2023-10-13	12:31:12	735	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:12	735	[DEBUG]	No custom field ID found
2023-10-13	12:31:12	735	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:12	735	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:12	735	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860227 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:12	735	[DEBUG]	Store custom available field
2023-10-13	12:31:12	735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860227,3,'0',1)
2023-10-13	12:31:12	735	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:12	735	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:12	735	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860227 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:12	735	[DEBUG]	Store custom available field
2023-10-13	12:31:12	735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860227,6,'choisir la taille',3)
2023-10-13	12:31:12	735	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:12	735	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:12	735	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:12	735	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:12	735	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860227 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:12	735	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:12	735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860227,8,1)
2023-10-13	12:31:12	735	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:12	735	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860227\":[1860227,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860227
2023-10-13	12:31:12	735	[DEBUG]	Checking category
2023-10-13	12:31:12	735	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:12	735	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860227
2023-10-13	12:31:12	735	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:12	735	[DEBUG]	Executed store
2023-10-13	12:31:12	735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860227','7283')
2023-10-13	12:31:12	735	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:12	735	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860227 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:12	735	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:12	735	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860227
2023-10-13	12:31:12	736	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:12	736	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:12	736	[DEBUG]	Use field value for field taille
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:12	736	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:12	736	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:12	736	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:12	736	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:12	736	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:12	736	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:12	736	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:12	736	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:12	736	[DEBUG]	Use field value for field published
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:12	736	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field override
2023-10-13	12:31:12	736	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:12	736	[DEBUG]	Use field value for field slug
2023-10-13	12:31:12	736	[DEBUG]	Process line 736
2023-10-13	12:31:12	736	[DEBUG]	Load a row
2023-10-13	12:31:12	736	[DEBUG]	Processing item: 4524667578987
2023-10-13	12:31:12	736	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:12	736	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:12	736	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5410_208'
2023-10-13	12:31:12	736	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:12	736	[DEBUG]	Processing product tax
2023-10-13	12:31:12	736	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:12	736	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:12	736	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:12	736	[DEBUG]	Query for Product
2023-10-13	12:31:12	736	[DEBUG]	Executed store
2023-10-13	12:31:12	736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860227','4524667578987','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:12	736	[DEBUG]	No parent found
2023-10-13	12:31:12	736	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860227 AND customfield_value = 'stockable'
2023-10-13	12:31:12	736	[DEBUG]	Check product language entry
2023-10-13	12:31:12	736	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860228
2023-10-13	12:31:12	736	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:12	736	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667578987' AND `virtuemart_product_id` != 1860228
2023-10-13	12:31:12	736	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:12	736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860228, '4524667578987')
2023-10-13	12:31:12	736	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:12	736	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg300-9-vitesses-11-32-dents-box-aucune-all' AND `virtuemart_product_id` != 1860228
2023-10-13	12:31:12	736	[DEBUG]	Query for ProductLang
2023-10-13	12:31:12	736	[DEBUG]	Executed store
2023-10-13	12:31:12	736	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Alivio CS-HG300 9-vitesses 11-32 dents  box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg300-9-vitesses-11-32-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860228'
2023-10-13	12:31:12	736	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29898_shimano_cassette_alivio_cs-hg300_9-vitesses_11-32_dents__box.jpg
2023-10-13	12:31:12	736	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:12	736	[DEBUG]	Process image file
2023-10-13	12:31:12	736	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:12	736	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:12	736	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29898_shimano_cassette_alivio_cs-hg300_9-vitesses_11-32_dents__box.jpg
2023-10-13	12:31:12	736	[DEBUG]	Full name target: bcprisme/29898_shimano_cassette_alivio_cs-hg300_9-vitesses_11-32_dents__box.jpg
2023-10-13	12:31:13	736	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:13	736	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29898_shimano_cassette_alivio_cs-hg300_9-vitesses_11-32_dents__box.jpg'
2023-10-13	12:31:13	736	[DEBUG]	Query for Media
2023-10-13	12:31:13	736	[DEBUG]	Executed store
2023-10-13	12:31:13	736	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29898_shimano_cassette_alivio_cs-hg300_9-vitesses_11-32_dents__box.jpg',`file_url_thumb`='bcprisme/29898_shimano_cassette_alivio_cs-hg300_9-vitesses_11-32_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12482'
2023-10-13	12:31:13	736	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:13	736	[DEBUG]	Executed store
2023-10-13	12:31:13	736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860228','12482','1')
2023-10-13	12:31:13	736	[DEBUG]	Store product image relation
2023-10-13	12:31:13	736	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:13	736	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860228 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:13	736	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:13	736	[DEBUG]	Executed store
2023-10-13	12:31:13	736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860228','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:13	736	[DEBUG]	Checking manufacturer
2023-10-13	12:31:13	736	[DEBUG]	Load a row
2023-10-13	12:31:13	736	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:13	736	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:13	736	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:13	736	[DEBUG]	Executed store
2023-10-13	12:31:13	736	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:13	736	[DEBUG]	Manufacturer exists
2023-10-13	12:31:13	736	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:13	736	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:13	736	[DEBUG]	Executed store
2023-10-13	12:31:13	736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860228','123')
2023-10-13	12:31:13	736	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:13	736	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:13	736	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860228 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:13	736	[DEBUG]	Store custom available field
2023-10-13	12:31:13	736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860228,3,'',1)
2023-10-13	12:31:13	736	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:13	736	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:13	736	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860228 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:13	736	[DEBUG]	Store custom available field
2023-10-13	12:31:13	736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860228,6,'All',3)
2023-10-13	12:31:13	736	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:13	736	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:13	736	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860227
2023-10-13	12:31:13	736	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:13	736	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860227\":[1860227,8,1,\"choisir la taille\"],\"1860228\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860227
2023-10-13	12:31:13	736	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:13	736	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860228
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:13	737	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field taille
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:13	737	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:13	737	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:13	737	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:13	737	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:13	737	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:13	737	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field published
2023-10-13	12:31:13	737	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:13	737	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field override
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:13	737	[DEBUG]	Use field value for field slug
2023-10-13	12:31:13	737	[DEBUG]	Process line 737
2023-10-13	12:31:13	737	[DEBUG]	Load a row
2023-10-13	12:31:13	737	[DEBUG]	Processing item: A_5420_4
2023-10-13	12:31:13	737	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:13	737	[DEBUG]	Processing product tax
2023-10-13	12:31:13	737	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:13	737	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:13	737	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:13	737	[DEBUG]	Query for Product
2023-10-13	12:31:13	737	[DEBUG]	Executed store
2023-10-13	12:31:13	737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5420_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:13	737	[DEBUG]	Check product language entry
2023-10-13	12:31:13	737	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860229
2023-10-13	12:31:13	737	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:13	737	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5420_4' AND `virtuemart_product_id` != 1860229
2023-10-13	12:31:13	737	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:13	737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860229, 'A_5420_4')
2023-10-13	12:31:13	737	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:13	737	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg400-9-11-36t-acier' AND `virtuemart_product_id` != 1860229
2023-10-13	12:31:13	737	[DEBUG]	Query for ProductLang
2023-10-13	12:31:13	737	[DEBUG]	Executed store
2023-10-13	12:31:13	737	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.69878',`product_name`='SHIMANO Cassette Alivio CS-HG400-9 11-36T / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg400-9-11-36t-acier' WHERE `virtuemart_product_id` = '1860229'
2023-10-13	12:31:13	737	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29908_shimano_cassette_alivio_cs-hg400-9_11-36t.jpg
2023-10-13	12:31:13	737	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:13	737	[DEBUG]	Process image file
2023-10-13	12:31:13	737	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:13	737	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:13	737	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29908_shimano_cassette_alivio_cs-hg400-9_11-36t.jpg
2023-10-13	12:31:13	737	[DEBUG]	Full name target: bcprisme/29908_shimano_cassette_alivio_cs-hg400-9_11-36t.jpg
2023-10-13	12:31:14	737	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:14	737	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29908_shimano_cassette_alivio_cs-hg400-9_11-36t.jpg'
2023-10-13	12:31:14	737	[DEBUG]	Query for Media
2023-10-13	12:31:14	737	[DEBUG]	Executed store
2023-10-13	12:31:14	737	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29908_shimano_cassette_alivio_cs-hg400-9_11-36t.jpg',`file_url_thumb`='bcprisme/29908_shimano_cassette_alivio_cs-hg400-9_11-36t.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12483'
2023-10-13	12:31:14	737	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:14	737	[DEBUG]	Executed store
2023-10-13	12:31:14	737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860229','12483','1')
2023-10-13	12:31:14	737	[DEBUG]	Store product image relation
2023-10-13	12:31:14	737	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:14	737	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860229 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:14	737	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:14	737	[DEBUG]	Executed store
2023-10-13	12:31:14	737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860229','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:14	737	[DEBUG]	Checking manufacturer
2023-10-13	12:31:14	737	[DEBUG]	Load a row
2023-10-13	12:31:14	737	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:14	737	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:14	737	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:14	737	[DEBUG]	Executed store
2023-10-13	12:31:14	737	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:14	737	[DEBUG]	Manufacturer exists
2023-10-13	12:31:14	737	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:31:14	737	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:14	737	[DEBUG]	Executed store
2023-10-13	12:31:14	737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860229','26')
2023-10-13	12:31:14	737	[DEBUG]	Find the custom field ID
2023-10-13	12:31:14	737	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:14	737	[DEBUG]	No custom field ID found
2023-10-13	12:31:14	737	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:14	737	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:14	737	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860229 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:14	737	[DEBUG]	Store custom available field
2023-10-13	12:31:14	737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860229,3,'0',1)
2023-10-13	12:31:14	737	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:14	737	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:14	737	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860229 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:14	737	[DEBUG]	Store custom available field
2023-10-13	12:31:14	737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860229,6,'choisir la taille',3)
2023-10-13	12:31:14	737	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:14	737	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:14	737	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:14	737	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:14	737	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860229 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:14	737	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:14	737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860229,8,1)
2023-10-13	12:31:14	737	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:14	737	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860229\":[1860229,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860229
2023-10-13	12:31:14	737	[DEBUG]	Checking category
2023-10-13	12:31:14	737	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:14	737	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860229
2023-10-13	12:31:14	737	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:14	737	[DEBUG]	Executed store
2023-10-13	12:31:14	737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860229','7283')
2023-10-13	12:31:14	737	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:14	737	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860229 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:14	737	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:14	737	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860229
2023-10-13	12:31:14	738	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:14	738	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:14	738	[DEBUG]	Use field value for field taille
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:14	738	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:14	738	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:14	738	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:14	738	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:14	738	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:14	738	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:14	738	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:14	738	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:14	738	[DEBUG]	Use field value for field published
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:14	738	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field override
2023-10-13	12:31:14	738	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:14	738	[DEBUG]	Use field value for field slug
2023-10-13	12:31:14	738	[DEBUG]	Process line 738
2023-10-13	12:31:14	738	[DEBUG]	Load a row
2023-10-13	12:31:14	738	[DEBUG]	Processing item: 1000000082845
2023-10-13	12:31:14	738	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:14	738	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:14	738	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5420_4'
2023-10-13	12:31:14	738	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:14	738	[DEBUG]	Processing product tax
2023-10-13	12:31:14	738	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:14	738	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:14	738	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:14	738	[DEBUG]	Query for Product
2023-10-13	12:31:14	738	[DEBUG]	Executed store
2023-10-13	12:31:14	738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860229','1000000082845','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:14	738	[DEBUG]	No parent found
2023-10-13	12:31:14	738	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860229 AND customfield_value = 'stockable'
2023-10-13	12:31:14	738	[DEBUG]	Check product language entry
2023-10-13	12:31:14	738	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860230
2023-10-13	12:31:14	738	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:14	738	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000082845' AND `virtuemart_product_id` != 1860230
2023-10-13	12:31:14	738	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:14	738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860230, '1000000082845')
2023-10-13	12:31:14	738	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:14	738	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg400-9-11-36t-acier-all' AND `virtuemart_product_id` != 1860230
2023-10-13	12:31:14	738	[DEBUG]	Query for ProductLang
2023-10-13	12:31:14	738	[DEBUG]	Executed store
2023-10-13	12:31:14	738	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Alivio CS-HG400-9 11-36T / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg400-9-11-36t-acier-all' WHERE `virtuemart_product_id` = '1860230'
2023-10-13	12:31:14	738	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29908_shimano_cassette_alivio_cs-hg400-9_11-36t.jpg
2023-10-13	12:31:14	738	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:14	738	[DEBUG]	Process image file
2023-10-13	12:31:14	738	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:14	738	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:14	738	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29908_shimano_cassette_alivio_cs-hg400-9_11-36t.jpg
2023-10-13	12:31:14	738	[DEBUG]	Full name target: bcprisme/29908_shimano_cassette_alivio_cs-hg400-9_11-36t.jpg
2023-10-13	12:31:15	738	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:15	738	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29908_shimano_cassette_alivio_cs-hg400-9_11-36t.jpg'
2023-10-13	12:31:15	738	[DEBUG]	Query for Media
2023-10-13	12:31:15	738	[DEBUG]	Executed store
2023-10-13	12:31:15	738	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29908_shimano_cassette_alivio_cs-hg400-9_11-36t.jpg',`file_url_thumb`='bcprisme/29908_shimano_cassette_alivio_cs-hg400-9_11-36t.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12483'
2023-10-13	12:31:15	738	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:15	738	[DEBUG]	Executed store
2023-10-13	12:31:15	738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860230','12483','1')
2023-10-13	12:31:15	738	[DEBUG]	Store product image relation
2023-10-13	12:31:15	738	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:15	738	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860230 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:15	738	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:15	738	[DEBUG]	Executed store
2023-10-13	12:31:15	738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860230','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:15	738	[DEBUG]	Checking manufacturer
2023-10-13	12:31:15	738	[DEBUG]	Load a row
2023-10-13	12:31:15	738	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:15	738	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:15	738	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:15	738	[DEBUG]	Executed store
2023-10-13	12:31:15	738	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:15	738	[DEBUG]	Manufacturer exists
2023-10-13	12:31:15	738	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:31:15	738	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:15	738	[DEBUG]	Executed store
2023-10-13	12:31:15	738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860230','26')
2023-10-13	12:31:15	738	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:15	738	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:15	738	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860230 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:15	738	[DEBUG]	Store custom available field
2023-10-13	12:31:15	738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860230,3,'',1)
2023-10-13	12:31:15	738	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:15	738	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:15	738	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860230 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:15	738	[DEBUG]	Store custom available field
2023-10-13	12:31:15	738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860230,6,'All',3)
2023-10-13	12:31:15	738	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:15	738	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:15	738	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860229
2023-10-13	12:31:15	738	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:15	738	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860229\":[1860229,8,1,\"choisir la taille\"],\"1860230\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860229
2023-10-13	12:31:15	738	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:15	738	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860230
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:15	739	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field taille
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:15	739	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:15	739	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:15	739	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:15	739	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:15	739	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:15	739	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field published
2023-10-13	12:31:15	739	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:15	739	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field override
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:15	739	[DEBUG]	Use field value for field slug
2023-10-13	12:31:15	739	[DEBUG]	Process line 739
2023-10-13	12:31:15	739	[DEBUG]	Load a row
2023-10-13	12:31:15	739	[DEBUG]	Processing item: A_5641_208
2023-10-13	12:31:15	739	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:15	739	[DEBUG]	Processing product tax
2023-10-13	12:31:15	739	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:15	739	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:15	739	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:15	739	[DEBUG]	Query for Product
2023-10-13	12:31:15	739	[DEBUG]	Executed store
2023-10-13	12:31:15	739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5641_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:15	739	[DEBUG]	Check product language entry
2023-10-13	12:31:15	739	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860231
2023-10-13	12:31:15	739	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:15	739	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5641_208' AND `virtuemart_product_id` != 1860231
2023-10-13	12:31:15	739	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:15	739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860231, 'A_5641_208')
2023-10-13	12:31:15	739	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:15	739	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-tiagra-cs-hg500-10-vitesses-11-32-dents-box-aucune' AND `virtuemart_product_id` != 1860231
2023-10-13	12:31:15	739	[DEBUG]	Query for ProductLang
2023-10-13	12:31:15	739	[DEBUG]	Executed store
2023-10-13	12:31:15	739	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.63957',`product_name`='SHIMANO Cassette Tiagra CS-HG500 10-vitesses 11-32 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-tiagra-cs-hg500-10-vitesses-11-32-dents-box-aucune' WHERE `virtuemart_product_id` = '1860231'
2023-10-13	12:31:15	739	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30142_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-32_dents_box.jpg
2023-10-13	12:31:15	739	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:15	739	[DEBUG]	Process image file
2023-10-13	12:31:15	739	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:15	739	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:15	739	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30142_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-32_dents_box.jpg
2023-10-13	12:31:15	739	[DEBUG]	Full name target: bcprisme/30142_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-32_dents_box.jpg
2023-10-13	12:31:16	739	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:16	739	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30142_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-32_dents_box.jpg'
2023-10-13	12:31:16	739	[DEBUG]	Query for Media
2023-10-13	12:31:16	739	[DEBUG]	Executed store
2023-10-13	12:31:16	739	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30142_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-32_dents_box.jpg',`file_url_thumb`='bcprisme/30142_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-32_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12484'
2023-10-13	12:31:16	739	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:16	739	[DEBUG]	Executed store
2023-10-13	12:31:16	739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860231','12484','1')
2023-10-13	12:31:16	739	[DEBUG]	Store product image relation
2023-10-13	12:31:16	739	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:16	739	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860231 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:16	739	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:16	739	[DEBUG]	Executed store
2023-10-13	12:31:16	739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860231','0','44.4753946146704','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:16	739	[DEBUG]	Checking manufacturer
2023-10-13	12:31:16	739	[DEBUG]	Load a row
2023-10-13	12:31:16	739	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:16	739	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:16	739	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:16	739	[DEBUG]	Executed store
2023-10-13	12:31:16	739	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:16	739	[DEBUG]	Manufacturer exists
2023-10-13	12:31:16	739	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:16	739	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:16	739	[DEBUG]	Executed store
2023-10-13	12:31:16	739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860231','123')
2023-10-13	12:31:16	739	[DEBUG]	Find the custom field ID
2023-10-13	12:31:16	739	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:16	739	[DEBUG]	No custom field ID found
2023-10-13	12:31:16	739	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:16	739	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:16	739	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860231 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:16	739	[DEBUG]	Store custom available field
2023-10-13	12:31:16	739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860231,3,'0',1)
2023-10-13	12:31:16	739	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:16	739	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:16	739	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860231 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:16	739	[DEBUG]	Store custom available field
2023-10-13	12:31:16	739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860231,6,'choisir la taille',3)
2023-10-13	12:31:16	739	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:16	739	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:16	739	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:16	739	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:16	739	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860231 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:16	739	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:16	739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860231,8,1)
2023-10-13	12:31:16	739	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:16	739	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860231\":[1860231,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860231
2023-10-13	12:31:16	739	[DEBUG]	Checking category
2023-10-13	12:31:16	739	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:16	739	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860231
2023-10-13	12:31:16	739	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:16	739	[DEBUG]	Executed store
2023-10-13	12:31:16	739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860231','7283')
2023-10-13	12:31:16	739	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:16	739	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860231 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:16	739	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:16	739	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860231
2023-10-13	12:31:16	740	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:16	740	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:16	740	[DEBUG]	Use field value for field taille
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:16	740	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:16	740	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:16	740	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:16	740	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:16	740	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:16	740	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:16	740	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:16	740	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:16	740	[DEBUG]	Use field value for field published
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:16	740	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field override
2023-10-13	12:31:16	740	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:16	740	[DEBUG]	Use field value for field slug
2023-10-13	12:31:16	740	[DEBUG]	Process line 740
2023-10-13	12:31:16	740	[DEBUG]	Load a row
2023-10-13	12:31:16	740	[DEBUG]	Processing item: 4524667328209
2023-10-13	12:31:16	740	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:16	740	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:16	740	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5641_208'
2023-10-13	12:31:16	740	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:16	740	[DEBUG]	Processing product tax
2023-10-13	12:31:16	740	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:16	740	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:16	740	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:16	740	[DEBUG]	Query for Product
2023-10-13	12:31:16	740	[DEBUG]	Executed store
2023-10-13	12:31:16	740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860231','4524667328209','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:16	740	[DEBUG]	No parent found
2023-10-13	12:31:16	740	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860231 AND customfield_value = 'stockable'
2023-10-13	12:31:16	740	[DEBUG]	Check product language entry
2023-10-13	12:31:16	740	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860232
2023-10-13	12:31:16	740	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:16	740	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667328209' AND `virtuemart_product_id` != 1860232
2023-10-13	12:31:16	740	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:16	740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860232, '4524667328209')
2023-10-13	12:31:16	740	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:16	740	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-tiagra-cs-hg500-10-vitesses-11-32-dents-box-aucune-all' AND `virtuemart_product_id` != 1860232
2023-10-13	12:31:16	740	[DEBUG]	Query for ProductLang
2023-10-13	12:31:16	740	[DEBUG]	Executed store
2023-10-13	12:31:16	740	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Tiagra CS-HG500 10-vitesses 11-32 dents box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-tiagra-cs-hg500-10-vitesses-11-32-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860232'
2023-10-13	12:31:16	740	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30142_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-32_dents_box.jpg
2023-10-13	12:31:16	740	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:16	740	[DEBUG]	Process image file
2023-10-13	12:31:16	740	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:16	740	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:16	740	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30142_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-32_dents_box.jpg
2023-10-13	12:31:16	740	[DEBUG]	Full name target: bcprisme/30142_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-32_dents_box.jpg
2023-10-13	12:31:17	740	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:17	740	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30142_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-32_dents_box.jpg'
2023-10-13	12:31:17	740	[DEBUG]	Query for Media
2023-10-13	12:31:17	740	[DEBUG]	Executed store
2023-10-13	12:31:17	740	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30142_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-32_dents_box.jpg',`file_url_thumb`='bcprisme/30142_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-32_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12484'
2023-10-13	12:31:17	740	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:17	740	[DEBUG]	Executed store
2023-10-13	12:31:17	740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860232','12484','1')
2023-10-13	12:31:17	740	[DEBUG]	Store product image relation
2023-10-13	12:31:17	740	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:17	740	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860232 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:17	740	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:17	740	[DEBUG]	Executed store
2023-10-13	12:31:17	740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860232','0','44.4753946146704','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:17	740	[DEBUG]	Checking manufacturer
2023-10-13	12:31:17	740	[DEBUG]	Load a row
2023-10-13	12:31:17	740	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:17	740	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:17	740	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:17	740	[DEBUG]	Executed store
2023-10-13	12:31:17	740	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:17	740	[DEBUG]	Manufacturer exists
2023-10-13	12:31:17	740	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:17	740	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:17	740	[DEBUG]	Executed store
2023-10-13	12:31:17	740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860232','123')
2023-10-13	12:31:17	740	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:17	740	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:17	740	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860232 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:17	740	[DEBUG]	Store custom available field
2023-10-13	12:31:17	740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860232,3,'',1)
2023-10-13	12:31:17	740	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:17	740	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:17	740	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860232 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:17	740	[DEBUG]	Store custom available field
2023-10-13	12:31:17	740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860232,6,'All',3)
2023-10-13	12:31:17	740	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:17	740	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:17	740	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860231
2023-10-13	12:31:17	740	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:17	740	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860231\":[1860231,8,1,\"choisir la taille\"],\"1860232\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860231
2023-10-13	12:31:17	740	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:17	740	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860232
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:17	741	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field taille
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:17	741	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:17	741	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:17	741	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:17	741	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:17	741	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:17	741	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field published
2023-10-13	12:31:17	741	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:17	741	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field override
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:17	741	[DEBUG]	Use field value for field slug
2023-10-13	12:31:17	741	[DEBUG]	Process line 741
2023-10-13	12:31:17	741	[DEBUG]	Load a row
2023-10-13	12:31:17	741	[DEBUG]	Processing item: A_5681_208
2023-10-13	12:31:17	741	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:17	741	[DEBUG]	Processing product tax
2023-10-13	12:31:17	741	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:17	741	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:17	741	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:17	741	[DEBUG]	Query for Product
2023-10-13	12:31:17	741	[DEBUG]	Executed store
2023-10-13	12:31:17	741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5681_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:17	741	[DEBUG]	Check product language entry
2023-10-13	12:31:17	741	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860233
2023-10-13	12:31:17	741	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:17	741	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5681_208' AND `virtuemart_product_id` != 1860233
2023-10-13	12:31:17	741	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:17	741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860233, 'A_5681_208')
2023-10-13	12:31:17	741	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:17	741	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-cs-hg50-10-vitesses-11-36-dents-box-aucune' AND `virtuemart_product_id` != 1860233
2023-10-13	12:31:17	741	[DEBUG]	Query for ProductLang
2023-10-13	12:31:17	741	[DEBUG]	Executed store
2023-10-13	12:31:17	741	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.58094',`product_name`='SHIMANO Cassette CS-HG50 10 vitesses 11-36 dents  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-cs-hg50-10-vitesses-11-36-dents-box-aucune' WHERE `virtuemart_product_id` = '1860233'
2023-10-13	12:31:17	741	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30184_shimano_cassette_cs-hg50_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:31:17	741	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:17	741	[DEBUG]	Process image file
2023-10-13	12:31:17	741	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:17	741	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:17	741	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30184_shimano_cassette_cs-hg50_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:31:17	741	[DEBUG]	Full name target: bcprisme/30184_shimano_cassette_cs-hg50_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:31:18	741	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:18	741	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30184_shimano_cassette_cs-hg50_10-vitesses_11-36_dents__box.jpg'
2023-10-13	12:31:18	741	[DEBUG]	Query for Media
2023-10-13	12:31:18	741	[DEBUG]	Executed store
2023-10-13	12:31:18	741	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30184_shimano_cassette_cs-hg50_10-vitesses_11-36_dents__box.jpg',`file_url_thumb`='bcprisme/30184_shimano_cassette_cs-hg50_10-vitesses_11-36_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12485'
2023-10-13	12:31:18	741	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:18	741	[DEBUG]	Executed store
2023-10-13	12:31:18	741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860233','12485','1')
2023-10-13	12:31:18	741	[DEBUG]	Store product image relation
2023-10-13	12:31:18	741	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:18	741	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860233 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:18	741	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:18	741	[DEBUG]	Executed store
2023-10-13	12:31:18	741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860233','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:18	741	[DEBUG]	Checking manufacturer
2023-10-13	12:31:18	741	[DEBUG]	Load a row
2023-10-13	12:31:18	741	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:18	741	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:18	741	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:18	741	[DEBUG]	Executed store
2023-10-13	12:31:18	741	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:18	741	[DEBUG]	Manufacturer exists
2023-10-13	12:31:18	741	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:18	741	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:18	741	[DEBUG]	Executed store
2023-10-13	12:31:18	741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860233','123')
2023-10-13	12:31:18	741	[DEBUG]	Find the custom field ID
2023-10-13	12:31:18	741	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:18	741	[DEBUG]	No custom field ID found
2023-10-13	12:31:18	741	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:18	741	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:18	741	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860233 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:18	741	[DEBUG]	Store custom available field
2023-10-13	12:31:18	741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860233,3,'0',1)
2023-10-13	12:31:18	741	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:18	741	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:18	741	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860233 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:18	741	[DEBUG]	Store custom available field
2023-10-13	12:31:18	741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860233,6,'choisir la taille',3)
2023-10-13	12:31:18	741	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:18	741	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:18	741	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:18	741	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:18	741	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860233 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:18	741	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:18	741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860233,8,1)
2023-10-13	12:31:18	741	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:18	741	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860233\":[1860233,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860233
2023-10-13	12:31:18	741	[DEBUG]	Checking category
2023-10-13	12:31:18	741	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:18	741	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860233
2023-10-13	12:31:18	741	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:18	741	[DEBUG]	Executed store
2023-10-13	12:31:18	741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860233','7283')
2023-10-13	12:31:18	741	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:18	741	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860233 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:18	741	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:18	741	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860233
2023-10-13	12:31:18	742	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:18	742	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:18	742	[DEBUG]	Use field value for field taille
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:18	742	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:18	742	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:18	742	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:18	742	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:18	742	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:18	742	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:18	742	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:18	742	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:18	742	[DEBUG]	Use field value for field published
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:18	742	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field override
2023-10-13	12:31:18	742	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:18	742	[DEBUG]	Use field value for field slug
2023-10-13	12:31:18	742	[DEBUG]	Process line 742
2023-10-13	12:31:18	742	[DEBUG]	Load a row
2023-10-13	12:31:18	742	[DEBUG]	Processing item: 4524667407515
2023-10-13	12:31:18	742	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:18	742	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:18	742	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5681_208'
2023-10-13	12:31:18	742	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:18	742	[DEBUG]	Processing product tax
2023-10-13	12:31:18	742	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:18	742	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:18	742	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:18	742	[DEBUG]	Query for Product
2023-10-13	12:31:18	742	[DEBUG]	Executed store
2023-10-13	12:31:18	742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860233','4524667407515','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:18	742	[DEBUG]	No parent found
2023-10-13	12:31:18	742	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860233 AND customfield_value = 'stockable'
2023-10-13	12:31:18	742	[DEBUG]	Check product language entry
2023-10-13	12:31:18	742	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860234
2023-10-13	12:31:18	742	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:18	742	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667407515' AND `virtuemart_product_id` != 1860234
2023-10-13	12:31:18	742	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:18	742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860234, '4524667407515')
2023-10-13	12:31:18	742	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:18	742	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-cs-hg50-10-vitesses-11-36-dents-box-aucune-all' AND `virtuemart_product_id` != 1860234
2023-10-13	12:31:18	742	[DEBUG]	Query for ProductLang
2023-10-13	12:31:18	742	[DEBUG]	Executed store
2023-10-13	12:31:18	742	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette CS-HG50 10 vitesses 11-36 dents  box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-cs-hg50-10-vitesses-11-36-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860234'
2023-10-13	12:31:18	742	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30184_shimano_cassette_cs-hg50_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:31:18	742	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:18	742	[DEBUG]	Process image file
2023-10-13	12:31:18	742	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:18	742	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:18	742	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30184_shimano_cassette_cs-hg50_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:31:18	742	[DEBUG]	Full name target: bcprisme/30184_shimano_cassette_cs-hg50_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:31:19	742	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:19	742	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30184_shimano_cassette_cs-hg50_10-vitesses_11-36_dents__box.jpg'
2023-10-13	12:31:19	742	[DEBUG]	Query for Media
2023-10-13	12:31:19	742	[DEBUG]	Executed store
2023-10-13	12:31:19	742	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30184_shimano_cassette_cs-hg50_10-vitesses_11-36_dents__box.jpg',`file_url_thumb`='bcprisme/30184_shimano_cassette_cs-hg50_10-vitesses_11-36_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12485'
2023-10-13	12:31:19	742	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:19	742	[DEBUG]	Executed store
2023-10-13	12:31:19	742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860234','12485','1')
2023-10-13	12:31:19	742	[DEBUG]	Store product image relation
2023-10-13	12:31:19	742	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:19	742	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860234 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:19	742	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:19	742	[DEBUG]	Executed store
2023-10-13	12:31:19	742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860234','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:19	742	[DEBUG]	Checking manufacturer
2023-10-13	12:31:19	742	[DEBUG]	Load a row
2023-10-13	12:31:19	742	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:19	742	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:19	742	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:19	742	[DEBUG]	Executed store
2023-10-13	12:31:19	742	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:19	742	[DEBUG]	Manufacturer exists
2023-10-13	12:31:19	742	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:19	742	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:19	742	[DEBUG]	Executed store
2023-10-13	12:31:19	742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860234','123')
2023-10-13	12:31:19	742	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:19	742	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:19	742	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860234 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:19	742	[DEBUG]	Store custom available field
2023-10-13	12:31:19	742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860234,3,'',1)
2023-10-13	12:31:19	742	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:19	742	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:19	742	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860234 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:19	742	[DEBUG]	Store custom available field
2023-10-13	12:31:19	742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860234,6,'All',3)
2023-10-13	12:31:19	742	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:19	742	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:19	742	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860233
2023-10-13	12:31:19	742	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:19	742	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860233\":[1860233,8,1,\"choisir la taille\"],\"1860234\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860233
2023-10-13	12:31:19	742	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:19	742	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860234
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:19	743	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field taille
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:19	743	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:19	743	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:19	743	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:19	743	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:19	743	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:19	743	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field published
2023-10-13	12:31:19	743	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:19	743	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field override
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:19	743	[DEBUG]	Use field value for field slug
2023-10-13	12:31:19	743	[DEBUG]	Process line 743
2023-10-13	12:31:19	743	[DEBUG]	Load a row
2023-10-13	12:31:19	743	[DEBUG]	Processing item: A_5827_208
2023-10-13	12:31:19	743	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:19	743	[DEBUG]	Processing product tax
2023-10-13	12:31:19	743	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:19	743	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:19	743	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:19	743	[DEBUG]	Query for Product
2023-10-13	12:31:19	743	[DEBUG]	Executed store
2023-10-13	12:31:19	743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5827_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:19	743	[DEBUG]	Check product language entry
2023-10-13	12:31:19	743	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860235
2023-10-13	12:31:19	743	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:19	743	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5827_208' AND `virtuemart_product_id` != 1860235
2023-10-13	12:31:19	743	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:19	743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860235, 'A_5827_208')
2023-10-13	12:31:19	743	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:19	743	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-acera-cs-hg41-8-vitesses-11-32-dents-box-aucune' AND `virtuemart_product_id` != 1860235
2023-10-13	12:31:19	743	[DEBUG]	Query for ProductLang
2023-10-13	12:31:19	743	[DEBUG]	Executed store
2023-10-13	12:31:19	743	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.52674',`product_name`='SHIMANO Cassette Acera CS-HG41 8-vitesses 11-32 dents  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-acera-cs-hg41-8-vitesses-11-32-dents-box-aucune' WHERE `virtuemart_product_id` = '1860235'
2023-10-13	12:31:19	743	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30355_shimano_cassette_acera_cs-hg41_8-vitesses_11-32_dents__box.jpg
2023-10-13	12:31:19	743	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:19	743	[DEBUG]	Process image file
2023-10-13	12:31:19	743	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:19	743	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:19	743	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30355_shimano_cassette_acera_cs-hg41_8-vitesses_11-32_dents__box.jpg
2023-10-13	12:31:19	743	[DEBUG]	Full name target: bcprisme/30355_shimano_cassette_acera_cs-hg41_8-vitesses_11-32_dents__box.jpg
2023-10-13	12:31:20	743	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:20	743	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30355_shimano_cassette_acera_cs-hg41_8-vitesses_11-32_dents__box.jpg'
2023-10-13	12:31:20	743	[DEBUG]	Query for Media
2023-10-13	12:31:20	743	[DEBUG]	Executed store
2023-10-13	12:31:20	743	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30355_shimano_cassette_acera_cs-hg41_8-vitesses_11-32_dents__box.jpg',`file_url_thumb`='bcprisme/30355_shimano_cassette_acera_cs-hg41_8-vitesses_11-32_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12489'
2023-10-13	12:31:20	743	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:20	743	[DEBUG]	Executed store
2023-10-13	12:31:20	743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860235','12489','1')
2023-10-13	12:31:20	743	[DEBUG]	Store product image relation
2023-10-13	12:31:20	743	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:20	743	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860235 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:20	743	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:20	743	[DEBUG]	Executed store
2023-10-13	12:31:20	743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860235','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:20	743	[DEBUG]	Checking manufacturer
2023-10-13	12:31:20	743	[DEBUG]	Load a row
2023-10-13	12:31:20	743	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:20	743	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:20	743	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:20	743	[DEBUG]	Executed store
2023-10-13	12:31:20	743	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:20	743	[DEBUG]	Manufacturer exists
2023-10-13	12:31:20	743	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:20	743	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:20	743	[DEBUG]	Executed store
2023-10-13	12:31:20	743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860235','123')
2023-10-13	12:31:20	743	[DEBUG]	Find the custom field ID
2023-10-13	12:31:20	743	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:20	743	[DEBUG]	No custom field ID found
2023-10-13	12:31:20	743	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:20	743	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:20	743	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860235 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:20	743	[DEBUG]	Store custom available field
2023-10-13	12:31:20	743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860235,3,'0',1)
2023-10-13	12:31:20	743	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:20	743	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:20	743	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860235 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:20	743	[DEBUG]	Store custom available field
2023-10-13	12:31:20	743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860235,6,'choisir la taille',3)
2023-10-13	12:31:20	743	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:20	743	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:20	743	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:20	743	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:20	743	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860235 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:20	743	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:20	743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860235,8,1)
2023-10-13	12:31:20	743	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:20	743	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860235\":[1860235,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860235
2023-10-13	12:31:20	743	[DEBUG]	Checking category
2023-10-13	12:31:20	743	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:20	743	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860235
2023-10-13	12:31:20	743	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:20	743	[DEBUG]	Executed store
2023-10-13	12:31:20	743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860235','7283')
2023-10-13	12:31:20	743	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:20	743	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860235 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:20	743	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:20	743	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860235
2023-10-13	12:31:20	744	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:20	744	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:20	744	[DEBUG]	Use field value for field taille
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:20	744	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:20	744	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:20	744	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:20	744	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:20	744	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:20	744	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:20	744	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:20	744	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:20	744	[DEBUG]	Use field value for field published
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:20	744	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field override
2023-10-13	12:31:20	744	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:20	744	[DEBUG]	Use field value for field slug
2023-10-13	12:31:20	744	[DEBUG]	Process line 744
2023-10-13	12:31:20	744	[DEBUG]	Load a row
2023-10-13	12:31:20	744	[DEBUG]	Processing item: 4524667675655
2023-10-13	12:31:20	744	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:20	744	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:20	744	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5827_208'
2023-10-13	12:31:20	744	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:20	744	[DEBUG]	Processing product tax
2023-10-13	12:31:20	744	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:20	744	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:20	744	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:20	744	[DEBUG]	Query for Product
2023-10-13	12:31:20	744	[DEBUG]	Executed store
2023-10-13	12:31:20	744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860235','4524667675655','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:20	744	[DEBUG]	No parent found
2023-10-13	12:31:20	744	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860235 AND customfield_value = 'stockable'
2023-10-13	12:31:20	744	[DEBUG]	Check product language entry
2023-10-13	12:31:20	744	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860236
2023-10-13	12:31:20	744	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:20	744	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667675655' AND `virtuemart_product_id` != 1860236
2023-10-13	12:31:20	744	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:20	744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860236, '4524667675655')
2023-10-13	12:31:20	744	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:20	744	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-acera-cs-hg41-8-vitesses-11-32-dents-box-aucune-all' AND `virtuemart_product_id` != 1860236
2023-10-13	12:31:20	744	[DEBUG]	Query for ProductLang
2023-10-13	12:31:20	744	[DEBUG]	Executed store
2023-10-13	12:31:20	744	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Acera CS-HG41 8-vitesses 11-32 dents  box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-acera-cs-hg41-8-vitesses-11-32-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860236'
2023-10-13	12:31:20	744	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30355_shimano_cassette_acera_cs-hg41_8-vitesses_11-32_dents__box.jpg
2023-10-13	12:31:20	744	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:20	744	[DEBUG]	Process image file
2023-10-13	12:31:20	744	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:20	744	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:20	744	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30355_shimano_cassette_acera_cs-hg41_8-vitesses_11-32_dents__box.jpg
2023-10-13	12:31:20	744	[DEBUG]	Full name target: bcprisme/30355_shimano_cassette_acera_cs-hg41_8-vitesses_11-32_dents__box.jpg
2023-10-13	12:31:21	744	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:21	744	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30355_shimano_cassette_acera_cs-hg41_8-vitesses_11-32_dents__box.jpg'
2023-10-13	12:31:21	744	[DEBUG]	Query for Media
2023-10-13	12:31:21	744	[DEBUG]	Executed store
2023-10-13	12:31:21	744	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30355_shimano_cassette_acera_cs-hg41_8-vitesses_11-32_dents__box.jpg',`file_url_thumb`='bcprisme/30355_shimano_cassette_acera_cs-hg41_8-vitesses_11-32_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12489'
2023-10-13	12:31:21	744	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:21	744	[DEBUG]	Executed store
2023-10-13	12:31:21	744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860236','12489','1')
2023-10-13	12:31:21	744	[DEBUG]	Store product image relation
2023-10-13	12:31:21	744	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:21	744	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860236 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:21	744	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:21	744	[DEBUG]	Executed store
2023-10-13	12:31:21	744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860236','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:21	744	[DEBUG]	Checking manufacturer
2023-10-13	12:31:21	744	[DEBUG]	Load a row
2023-10-13	12:31:21	744	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:21	744	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:21	744	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:21	744	[DEBUG]	Executed store
2023-10-13	12:31:21	744	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:21	744	[DEBUG]	Manufacturer exists
2023-10-13	12:31:21	744	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:21	744	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:21	744	[DEBUG]	Executed store
2023-10-13	12:31:21	744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860236','123')
2023-10-13	12:31:21	744	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:21	744	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:21	744	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860236 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:21	744	[DEBUG]	Store custom available field
2023-10-13	12:31:21	744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860236,3,'',1)
2023-10-13	12:31:21	744	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:21	744	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:21	744	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860236 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:21	744	[DEBUG]	Store custom available field
2023-10-13	12:31:21	744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860236,6,'All',3)
2023-10-13	12:31:21	744	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:21	744	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:21	744	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860235
2023-10-13	12:31:21	744	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:21	744	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860235\":[1860235,8,1,\"choisir la taille\"],\"1860236\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860235
2023-10-13	12:31:21	744	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:21	744	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860236
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:21	745	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field taille
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:21	745	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:21	745	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:21	745	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:21	745	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:21	745	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:21	745	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field published
2023-10-13	12:31:21	745	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:21	745	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field override
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:21	745	[DEBUG]	Use field value for field slug
2023-10-13	12:31:21	745	[DEBUG]	Process line 745
2023-10-13	12:31:21	745	[DEBUG]	Load a row
2023-10-13	12:31:21	745	[DEBUG]	Processing item: A_5828_208
2023-10-13	12:31:21	745	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:21	745	[DEBUG]	Processing product tax
2023-10-13	12:31:21	745	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:21	745	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:21	745	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:21	745	[DEBUG]	Query for Product
2023-10-13	12:31:21	745	[DEBUG]	Executed store
2023-10-13	12:31:21	745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5828_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:21	745	[DEBUG]	Check product language entry
2023-10-13	12:31:21	745	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860237
2023-10-13	12:31:21	745	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:21	745	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5828_208' AND `virtuemart_product_id` != 1860237
2023-10-13	12:31:21	745	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:21	745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860237, 'A_5828_208')
2023-10-13	12:31:21	745	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:21	745	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg51-8-vitesses-11-30-dents-box-aucune' AND `virtuemart_product_id` != 1860237
2023-10-13	12:31:21	745	[DEBUG]	Query for ProductLang
2023-10-13	12:31:21	745	[DEBUG]	Executed store
2023-10-13	12:31:21	745	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.52682',`product_name`='SHIMANO Cassette Alivio CS-HG51 8-vitesses 11-30 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg51-8-vitesses-11-30-dents-box-aucune' WHERE `virtuemart_product_id` = '1860237'
2023-10-13	12:31:21	745	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30356_shimano_cassette_alivio_cs-hg51_8-vitesses_11-30_dents_box.jpg
2023-10-13	12:31:21	745	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:21	745	[DEBUG]	Process image file
2023-10-13	12:31:21	745	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:21	745	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:21	745	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30356_shimano_cassette_alivio_cs-hg51_8-vitesses_11-30_dents_box.jpg
2023-10-13	12:31:21	745	[DEBUG]	Full name target: bcprisme/30356_shimano_cassette_alivio_cs-hg51_8-vitesses_11-30_dents_box.jpg
2023-10-13	12:31:22	745	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:22	745	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30356_shimano_cassette_alivio_cs-hg51_8-vitesses_11-30_dents_box.jpg'
2023-10-13	12:31:22	745	[DEBUG]	Query for Media
2023-10-13	12:31:22	745	[DEBUG]	Executed store
2023-10-13	12:31:22	745	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30356_shimano_cassette_alivio_cs-hg51_8-vitesses_11-30_dents_box.jpg',`file_url_thumb`='bcprisme/30356_shimano_cassette_alivio_cs-hg51_8-vitesses_11-30_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12490'
2023-10-13	12:31:22	745	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:22	745	[DEBUG]	Executed store
2023-10-13	12:31:22	745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860237','12490','1')
2023-10-13	12:31:22	745	[DEBUG]	Store product image relation
2023-10-13	12:31:22	745	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:22	745	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860237 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:22	745	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:22	745	[DEBUG]	Executed store
2023-10-13	12:31:22	745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860237','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:22	745	[DEBUG]	Checking manufacturer
2023-10-13	12:31:22	745	[DEBUG]	Load a row
2023-10-13	12:31:22	745	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:22	745	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:22	745	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:22	745	[DEBUG]	Executed store
2023-10-13	12:31:22	745	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:22	745	[DEBUG]	Manufacturer exists
2023-10-13	12:31:22	745	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:22	745	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:22	745	[DEBUG]	Executed store
2023-10-13	12:31:22	745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860237','123')
2023-10-13	12:31:22	745	[DEBUG]	Find the custom field ID
2023-10-13	12:31:22	745	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:22	745	[DEBUG]	No custom field ID found
2023-10-13	12:31:22	745	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:22	745	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:22	745	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860237 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:22	745	[DEBUG]	Store custom available field
2023-10-13	12:31:22	745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860237,3,'0',1)
2023-10-13	12:31:22	745	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:22	745	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:22	745	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860237 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:22	745	[DEBUG]	Store custom available field
2023-10-13	12:31:22	745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860237,6,'choisir la taille',3)
2023-10-13	12:31:22	745	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:22	745	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:22	745	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:22	745	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:22	745	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860237 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:22	745	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:22	745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860237,8,1)
2023-10-13	12:31:22	745	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:22	745	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860237\":[1860237,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860237
2023-10-13	12:31:22	745	[DEBUG]	Checking category
2023-10-13	12:31:22	745	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:22	745	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860237
2023-10-13	12:31:22	745	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:22	745	[DEBUG]	Executed store
2023-10-13	12:31:22	745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860237','7283')
2023-10-13	12:31:22	745	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:22	745	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860237 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:22	745	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:22	745	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860237
2023-10-13	12:31:22	746	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:22	746	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:22	746	[DEBUG]	Use field value for field taille
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:22	746	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:22	746	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:22	746	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:22	746	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:22	746	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:22	746	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:22	746	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:22	746	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:22	746	[DEBUG]	Use field value for field published
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:22	746	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field override
2023-10-13	12:31:22	746	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:22	746	[DEBUG]	Use field value for field slug
2023-10-13	12:31:22	746	[DEBUG]	Process line 746
2023-10-13	12:31:22	746	[DEBUG]	Load a row
2023-10-13	12:31:22	746	[DEBUG]	Processing item: 4524667675716
2023-10-13	12:31:22	746	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:22	746	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:22	746	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5828_208'
2023-10-13	12:31:22	746	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:22	746	[DEBUG]	Processing product tax
2023-10-13	12:31:22	746	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:22	746	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:22	746	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:22	746	[DEBUG]	Query for Product
2023-10-13	12:31:22	746	[DEBUG]	Executed store
2023-10-13	12:31:22	746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860237','4524667675716','0','KG','M','','19','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:22	746	[DEBUG]	No parent found
2023-10-13	12:31:22	746	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860237 AND customfield_value = 'stockable'
2023-10-13	12:31:22	746	[DEBUG]	Check product language entry
2023-10-13	12:31:22	746	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860238
2023-10-13	12:31:22	746	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:22	746	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667675716' AND `virtuemart_product_id` != 1860238
2023-10-13	12:31:22	746	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:22	746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860238, '4524667675716')
2023-10-13	12:31:22	746	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:22	746	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg51-8-vitesses-11-30-dents-box-aucune-all' AND `virtuemart_product_id` != 1860238
2023-10-13	12:31:22	746	[DEBUG]	Query for ProductLang
2023-10-13	12:31:22	746	[DEBUG]	Executed store
2023-10-13	12:31:22	746	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Alivio CS-HG51 8-vitesses 11-30 dents box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg51-8-vitesses-11-30-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860238'
2023-10-13	12:31:22	746	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30356_shimano_cassette_alivio_cs-hg51_8-vitesses_11-30_dents_box.jpg
2023-10-13	12:31:22	746	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:22	746	[DEBUG]	Process image file
2023-10-13	12:31:22	746	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:22	746	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:22	746	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30356_shimano_cassette_alivio_cs-hg51_8-vitesses_11-30_dents_box.jpg
2023-10-13	12:31:22	746	[DEBUG]	Full name target: bcprisme/30356_shimano_cassette_alivio_cs-hg51_8-vitesses_11-30_dents_box.jpg
2023-10-13	12:31:23	746	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:23	746	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30356_shimano_cassette_alivio_cs-hg51_8-vitesses_11-30_dents_box.jpg'
2023-10-13	12:31:23	746	[DEBUG]	Query for Media
2023-10-13	12:31:23	746	[DEBUG]	Executed store
2023-10-13	12:31:23	746	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30356_shimano_cassette_alivio_cs-hg51_8-vitesses_11-30_dents_box.jpg',`file_url_thumb`='bcprisme/30356_shimano_cassette_alivio_cs-hg51_8-vitesses_11-30_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12490'
2023-10-13	12:31:23	746	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:23	746	[DEBUG]	Executed store
2023-10-13	12:31:23	746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860238','12490','1')
2023-10-13	12:31:23	746	[DEBUG]	Store product image relation
2023-10-13	12:31:23	746	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:23	746	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860238 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:23	746	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:23	746	[DEBUG]	Executed store
2023-10-13	12:31:23	746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860238','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:23	746	[DEBUG]	Checking manufacturer
2023-10-13	12:31:23	746	[DEBUG]	Load a row
2023-10-13	12:31:23	746	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:23	746	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:23	746	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:23	746	[DEBUG]	Executed store
2023-10-13	12:31:23	746	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:23	746	[DEBUG]	Manufacturer exists
2023-10-13	12:31:23	746	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:23	746	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:23	746	[DEBUG]	Executed store
2023-10-13	12:31:23	746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860238','123')
2023-10-13	12:31:23	746	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:23	746	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:23	746	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860238 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:23	746	[DEBUG]	Store custom available field
2023-10-13	12:31:23	746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860238,3,'',1)
2023-10-13	12:31:23	746	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:23	746	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:23	746	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860238 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:23	746	[DEBUG]	Store custom available field
2023-10-13	12:31:23	746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860238,6,'All',3)
2023-10-13	12:31:23	746	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:23	746	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:23	746	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860237
2023-10-13	12:31:23	746	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:23	746	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860237\":[1860237,8,1,\"choisir la taille\"],\"1860238\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860237
2023-10-13	12:31:23	746	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:23	746	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860238
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:23	747	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field taille
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:23	747	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:23	747	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:23	747	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:23	747	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:23	747	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:23	747	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field published
2023-10-13	12:31:23	747	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:23	747	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:23	747	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:24	747	[DEBUG]	Use field value for field override
2023-10-13	12:31:24	747	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:24	747	[DEBUG]	Use field value for field slug
2023-10-13	12:31:24	747	[DEBUG]	Process line 747
2023-10-13	12:31:24	747	[DEBUG]	Load a row
2023-10-13	12:31:24	747	[DEBUG]	Processing item: A_5845_208
2023-10-13	12:31:24	747	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:24	747	[DEBUG]	Processing product tax
2023-10-13	12:31:24	747	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:24	747	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:24	747	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:24	747	[DEBUG]	Query for Product
2023-10-13	12:31:24	747	[DEBUG]	Executed store
2023-10-13	12:31:24	747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5845_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:24	747	[DEBUG]	Check product language entry
2023-10-13	12:31:24	747	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860239
2023-10-13	12:31:24	747	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:24	747	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5845_208' AND `virtuemart_product_id` != 1860239
2023-10-13	12:31:24	747	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:24	747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860239, 'A_5845_208')
2023-10-13	12:31:24	747	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:24	747	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-slx-cs-hg81-10-vitesses-11-34-dents-box-aucune' AND `virtuemart_product_id` != 1860239
2023-10-13	12:31:24	747	[DEBUG]	Query for ProductLang
2023-10-13	12:31:24	747	[DEBUG]	Executed store
2023-10-13	12:31:24	747	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.50384',`product_name`='SHIMANO Cassette SLX CS-HG81 10-vitesses 11-34 dents  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-slx-cs-hg81-10-vitesses-11-34-dents-box-aucune' WHERE `virtuemart_product_id` = '1860239'
2023-10-13	12:31:24	747	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30409_shimano_cassette_slx_cs-hg81_10-vitesses_11-34_dents__box.jpg
2023-10-13	12:31:24	747	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:24	747	[DEBUG]	Process image file
2023-10-13	12:31:24	747	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:24	747	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:24	747	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30409_shimano_cassette_slx_cs-hg81_10-vitesses_11-34_dents__box.jpg
2023-10-13	12:31:24	747	[DEBUG]	Full name target: bcprisme/30409_shimano_cassette_slx_cs-hg81_10-vitesses_11-34_dents__box.jpg
2023-10-13	12:31:24	747	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:24	747	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30409_shimano_cassette_slx_cs-hg81_10-vitesses_11-34_dents__box.jpg'
2023-10-13	12:31:24	747	[DEBUG]	Query for Media
2023-10-13	12:31:24	747	[DEBUG]	Executed store
2023-10-13	12:31:24	747	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30409_shimano_cassette_slx_cs-hg81_10-vitesses_11-34_dents__box.jpg',`file_url_thumb`='bcprisme/30409_shimano_cassette_slx_cs-hg81_10-vitesses_11-34_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12491'
2023-10-13	12:31:24	747	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:24	747	[DEBUG]	Executed store
2023-10-13	12:31:24	747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860239','12491','1')
2023-10-13	12:31:24	747	[DEBUG]	Store product image relation
2023-10-13	12:31:24	747	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:24	747	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860239 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:24	747	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:24	747	[DEBUG]	Executed store
2023-10-13	12:31:24	747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860239','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:24	747	[DEBUG]	Checking manufacturer
2023-10-13	12:31:24	747	[DEBUG]	Load a row
2023-10-13	12:31:24	747	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:24	747	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:24	747	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:24	747	[DEBUG]	Executed store
2023-10-13	12:31:24	747	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:24	747	[DEBUG]	Manufacturer exists
2023-10-13	12:31:24	747	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:24	747	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:24	747	[DEBUG]	Executed store
2023-10-13	12:31:24	747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860239','123')
2023-10-13	12:31:24	747	[DEBUG]	Find the custom field ID
2023-10-13	12:31:24	747	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:24	747	[DEBUG]	No custom field ID found
2023-10-13	12:31:24	747	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:24	747	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:24	747	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860239 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:24	747	[DEBUG]	Store custom available field
2023-10-13	12:31:24	747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860239,3,'0',1)
2023-10-13	12:31:24	747	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:24	747	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:24	747	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860239 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:25	747	[DEBUG]	Store custom available field
2023-10-13	12:31:25	747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860239,6,'choisir la taille',3)
2023-10-13	12:31:25	747	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:25	747	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:25	747	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:25	747	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:25	747	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860239 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:25	747	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:25	747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860239,8,1)
2023-10-13	12:31:25	747	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:25	747	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860239\":[1860239,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860239
2023-10-13	12:31:25	747	[DEBUG]	Checking category
2023-10-13	12:31:25	747	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:25	747	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860239
2023-10-13	12:31:25	747	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:25	747	[DEBUG]	Executed store
2023-10-13	12:31:25	747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860239','7283')
2023-10-13	12:31:25	747	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:25	747	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860239 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:25	747	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:25	747	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860239
2023-10-13	12:31:25	748	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:25	748	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:25	748	[DEBUG]	Use field value for field taille
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:25	748	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:25	748	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:25	748	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:25	748	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:25	748	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:25	748	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:25	748	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:25	748	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:25	748	[DEBUG]	Use field value for field published
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:25	748	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field override
2023-10-13	12:31:25	748	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:25	748	[DEBUG]	Use field value for field slug
2023-10-13	12:31:25	748	[DEBUG]	Process line 748
2023-10-13	12:31:25	748	[DEBUG]	Load a row
2023-10-13	12:31:25	748	[DEBUG]	Processing item: 4524667428602
2023-10-13	12:31:25	748	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:25	748	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:25	748	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5845_208'
2023-10-13	12:31:25	748	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:25	748	[DEBUG]	Processing product tax
2023-10-13	12:31:25	748	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:25	748	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:25	748	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:25	748	[DEBUG]	Query for Product
2023-10-13	12:31:25	748	[DEBUG]	Executed store
2023-10-13	12:31:25	748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860239','4524667428602','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:25	748	[DEBUG]	No parent found
2023-10-13	12:31:25	748	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860239 AND customfield_value = 'stockable'
2023-10-13	12:31:25	748	[DEBUG]	Check product language entry
2023-10-13	12:31:25	748	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860240
2023-10-13	12:31:25	748	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:25	748	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667428602' AND `virtuemart_product_id` != 1860240
2023-10-13	12:31:25	748	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:25	748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860240, '4524667428602')
2023-10-13	12:31:25	748	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:25	748	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-slx-cs-hg81-10-vitesses-11-34-dents-box-aucune-all' AND `virtuemart_product_id` != 1860240
2023-10-13	12:31:25	748	[DEBUG]	Query for ProductLang
2023-10-13	12:31:25	748	[DEBUG]	Executed store
2023-10-13	12:31:25	748	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette SLX CS-HG81 10-vitesses 11-34 dents  box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-slx-cs-hg81-10-vitesses-11-34-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860240'
2023-10-13	12:31:25	748	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30409_shimano_cassette_slx_cs-hg81_10-vitesses_11-34_dents__box.jpg
2023-10-13	12:31:25	748	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:25	748	[DEBUG]	Process image file
2023-10-13	12:31:25	748	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:25	748	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:25	748	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30409_shimano_cassette_slx_cs-hg81_10-vitesses_11-34_dents__box.jpg
2023-10-13	12:31:25	748	[DEBUG]	Full name target: bcprisme/30409_shimano_cassette_slx_cs-hg81_10-vitesses_11-34_dents__box.jpg
2023-10-13	12:31:26	748	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:26	748	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30409_shimano_cassette_slx_cs-hg81_10-vitesses_11-34_dents__box.jpg'
2023-10-13	12:31:26	748	[DEBUG]	Query for Media
2023-10-13	12:31:26	748	[DEBUG]	Executed store
2023-10-13	12:31:26	748	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30409_shimano_cassette_slx_cs-hg81_10-vitesses_11-34_dents__box.jpg',`file_url_thumb`='bcprisme/30409_shimano_cassette_slx_cs-hg81_10-vitesses_11-34_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12491'
2023-10-13	12:31:26	748	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:26	748	[DEBUG]	Executed store
2023-10-13	12:31:26	748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860240','12491','1')
2023-10-13	12:31:26	748	[DEBUG]	Store product image relation
2023-10-13	12:31:26	748	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:26	748	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860240 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:26	748	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:26	748	[DEBUG]	Executed store
2023-10-13	12:31:26	748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860240','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:26	748	[DEBUG]	Checking manufacturer
2023-10-13	12:31:26	748	[DEBUG]	Load a row
2023-10-13	12:31:26	748	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:26	748	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:26	748	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:26	748	[DEBUG]	Executed store
2023-10-13	12:31:26	748	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:26	748	[DEBUG]	Manufacturer exists
2023-10-13	12:31:26	748	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:26	748	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:26	748	[DEBUG]	Executed store
2023-10-13	12:31:26	748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860240','123')
2023-10-13	12:31:26	748	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:26	748	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:26	748	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860240 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:26	748	[DEBUG]	Store custom available field
2023-10-13	12:31:26	748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860240,3,'',1)
2023-10-13	12:31:26	748	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:26	748	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:26	748	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860240 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:26	748	[DEBUG]	Store custom available field
2023-10-13	12:31:26	748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860240,6,'All',3)
2023-10-13	12:31:26	748	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:26	748	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:26	748	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860239
2023-10-13	12:31:26	748	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:26	748	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860239\":[1860239,8,1,\"choisir la taille\"],\"1860240\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860239
2023-10-13	12:31:26	748	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:26	748	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860240
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:26	749	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field taille
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:26	749	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:26	749	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:26	749	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:26	749	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:26	749	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:26	749	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field published
2023-10-13	12:31:26	749	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:26	749	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field override
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:26	749	[DEBUG]	Use field value for field slug
2023-10-13	12:31:26	749	[DEBUG]	Process line 749
2023-10-13	12:31:26	749	[DEBUG]	Load a row
2023-10-13	12:31:26	749	[DEBUG]	Processing item: A_5872_1
2023-10-13	12:31:26	749	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:26	749	[DEBUG]	Processing product tax
2023-10-13	12:31:26	749	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:26	749	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:26	749	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:26	749	[DEBUG]	Query for Product
2023-10-13	12:31:26	749	[DEBUG]	Executed store
2023-10-13	12:31:26	749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5872_1','0.527','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:26	749	[DEBUG]	Check product language entry
2023-10-13	12:31:26	749	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860241
2023-10-13	12:31:26	749	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:26	749	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5872_1' AND `virtuemart_product_id` != 1860241
2023-10-13	12:31:26	749	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:26	749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860241, 'A_5872_1')
2023-10-13	12:31:26	749	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:26	749	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-50-2-alu-spider-noir' AND `virtuemart_product_id` != 1860241
2023-10-13	12:31:26	749	[DEBUG]	Query for ProductLang
2023-10-13	12:31:26	749	[DEBUG]	Executed store
2023-10-13	12:31:26	749	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSMSC211150',`product_name`='MSC Cassette MSC 11 vitesses 11-50 2 Alu Spider / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-50-2-alu-spider-noir' WHERE `virtuemart_product_id` = '1860241'
2023-10-13	12:31:26	749	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31466_cassette_msc_11_vitesses_11-50_2_alu_spider.jpg
2023-10-13	12:31:26	749	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:26	749	[DEBUG]	Process image file
2023-10-13	12:31:26	749	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:26	749	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:26	749	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31466_cassette_msc_11_vitesses_11-50_2_alu_spider.jpg
2023-10-13	12:31:26	749	[DEBUG]	Full name target: bcprisme/31466_cassette_msc_11_vitesses_11-50_2_alu_spider.jpg
2023-10-13	12:31:27	749	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:27	749	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31466_cassette_msc_11_vitesses_11-50_2_alu_spider.jpg'
2023-10-13	12:31:27	749	[DEBUG]	Query for Media
2023-10-13	12:31:27	749	[DEBUG]	Executed store
2023-10-13	12:31:27	749	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31466_cassette_msc_11_vitesses_11-50_2_alu_spider.jpg',`file_url_thumb`='bcprisme/31466_cassette_msc_11_vitesses_11-50_2_alu_spider.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12492'
2023-10-13	12:31:27	749	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:27	749	[DEBUG]	Executed store
2023-10-13	12:31:27	749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860241','12492','1')
2023-10-13	12:31:27	749	[DEBUG]	Store product image relation
2023-10-13	12:31:27	749	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:27	749	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860241 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:27	749	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:27	749	[DEBUG]	Executed store
2023-10-13	12:31:27	749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860241','0','148.467966573816','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:27	749	[DEBUG]	Checking manufacturer
2023-10-13	12:31:27	749	[DEBUG]	Load a row
2023-10-13	12:31:27	749	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:27	749	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:27	749	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:27	749	[DEBUG]	Executed store
2023-10-13	12:31:27	749	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:27	749	[DEBUG]	Manufacturer exists
2023-10-13	12:31:27	749	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:31:27	749	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:27	749	[DEBUG]	Executed store
2023-10-13	12:31:27	749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860241','32')
2023-10-13	12:31:27	749	[DEBUG]	Find the custom field ID
2023-10-13	12:31:27	749	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:27	749	[DEBUG]	No custom field ID found
2023-10-13	12:31:27	749	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:27	749	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	12:31:27	749	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860241 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:27	749	[DEBUG]	Store custom available field
2023-10-13	12:31:27	749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860241,3,'129.539166666667',1)
2023-10-13	12:31:27	749	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:27	749	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:27	749	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860241 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:27	749	[DEBUG]	Store custom available field
2023-10-13	12:31:27	749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860241,6,'choisir la taille',3)
2023-10-13	12:31:27	749	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:27	749	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:27	749	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:27	749	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:27	749	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860241 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:27	749	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:27	749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860241,8,1)
2023-10-13	12:31:27	749	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:27	749	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860241\":[1860241,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860241
2023-10-13	12:31:27	749	[DEBUG]	Checking category
2023-10-13	12:31:27	749	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:27	749	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860241
2023-10-13	12:31:27	749	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:27	749	[DEBUG]	Executed store
2023-10-13	12:31:27	749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860241','7283')
2023-10-13	12:31:27	749	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:27	749	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860241 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:27	749	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:27	749	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860241
2023-10-13	12:31:27	750	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:27	750	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:27	750	[DEBUG]	Use field value for field taille
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:27	750	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:27	750	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:27	750	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:27	750	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:27	750	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:27	750	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:27	750	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:27	750	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:27	750	[DEBUG]	Use field value for field published
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:27	750	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field override
2023-10-13	12:31:27	750	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:27	750	[DEBUG]	Use field value for field slug
2023-10-13	12:31:27	750	[DEBUG]	Process line 750
2023-10-13	12:31:27	750	[DEBUG]	Load a row
2023-10-13	12:31:27	750	[DEBUG]	Processing item: 8435466214814
2023-10-13	12:31:27	750	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:27	750	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:27	750	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5872_1'
2023-10-13	12:31:27	750	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:27	750	[DEBUG]	Processing product tax
2023-10-13	12:31:27	750	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:27	750	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:27	750	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:27	750	[DEBUG]	Query for Product
2023-10-13	12:31:27	750	[DEBUG]	Executed store
2023-10-13	12:31:27	750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860241','8435466214814','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:27	750	[DEBUG]	No parent found
2023-10-13	12:31:27	750	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860241 AND customfield_value = 'stockable'
2023-10-13	12:31:27	750	[DEBUG]	Check product language entry
2023-10-13	12:31:27	750	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860242
2023-10-13	12:31:27	750	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:27	750	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214814' AND `virtuemart_product_id` != 1860242
2023-10-13	12:31:27	750	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:27	750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860242, '8435466214814')
2023-10-13	12:31:27	750	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:27	750	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-50-2-alu-spider-noir-unitaire' AND `virtuemart_product_id` != 1860242
2023-10-13	12:31:27	750	[DEBUG]	Query for ProductLang
2023-10-13	12:31:27	750	[DEBUG]	Executed store
2023-10-13	12:31:27	750	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 11 vitesses 11-50 2 Alu Spider / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-50-2-alu-spider-noir-unitaire' WHERE `virtuemart_product_id` = '1860242'
2023-10-13	12:31:27	750	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31466_cassette_msc_11_vitesses_11-50_2_alu_spider.jpg
2023-10-13	12:31:27	750	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:27	750	[DEBUG]	Process image file
2023-10-13	12:31:27	750	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:27	750	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:27	750	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31466_cassette_msc_11_vitesses_11-50_2_alu_spider.jpg
2023-10-13	12:31:27	750	[DEBUG]	Full name target: bcprisme/31466_cassette_msc_11_vitesses_11-50_2_alu_spider.jpg
2023-10-13	12:31:28	750	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:28	750	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31466_cassette_msc_11_vitesses_11-50_2_alu_spider.jpg'
2023-10-13	12:31:28	750	[DEBUG]	Query for Media
2023-10-13	12:31:28	750	[DEBUG]	Executed store
2023-10-13	12:31:28	750	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31466_cassette_msc_11_vitesses_11-50_2_alu_spider.jpg',`file_url_thumb`='bcprisme/31466_cassette_msc_11_vitesses_11-50_2_alu_spider.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12492'
2023-10-13	12:31:28	750	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:28	750	[DEBUG]	Executed store
2023-10-13	12:31:28	750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860242','12492','1')
2023-10-13	12:31:28	750	[DEBUG]	Store product image relation
2023-10-13	12:31:28	750	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:28	750	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860242 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:28	750	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:28	750	[DEBUG]	Executed store
2023-10-13	12:31:28	750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860242','0','148.467966573816','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:28	750	[DEBUG]	Checking manufacturer
2023-10-13	12:31:28	750	[DEBUG]	Load a row
2023-10-13	12:31:28	750	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:28	750	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:28	750	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:28	750	[DEBUG]	Executed store
2023-10-13	12:31:28	750	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:28	750	[DEBUG]	Manufacturer exists
2023-10-13	12:31:28	750	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:31:28	750	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:28	750	[DEBUG]	Executed store
2023-10-13	12:31:28	750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860242','32')
2023-10-13	12:31:28	750	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:28	750	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:28	750	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860242 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:28	750	[DEBUG]	Store custom available field
2023-10-13	12:31:28	750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860242,3,'',1)
2023-10-13	12:31:28	750	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:28	750	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:31:28	750	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860242 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:28	750	[DEBUG]	Store custom available field
2023-10-13	12:31:28	750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860242,6,'Unitaire',3)
2023-10-13	12:31:28	750	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:28	750	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:28	750	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860241
2023-10-13	12:31:28	750	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:28	750	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860241\":[1860241,8,1,\"choisir la taille\"],\"1860242\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860241
2023-10-13	12:31:28	750	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:28	750	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860242
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:28	751	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field taille
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:28	751	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:28	751	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:28	751	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:28	751	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:28	751	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:28	751	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field published
2023-10-13	12:31:28	751	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:28	751	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field override
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:28	751	[DEBUG]	Use field value for field slug
2023-10-13	12:31:28	751	[DEBUG]	Process line 751
2023-10-13	12:31:28	751	[DEBUG]	Load a row
2023-10-13	12:31:28	751	[DEBUG]	Processing item: A_5873_1
2023-10-13	12:31:28	751	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:28	751	[DEBUG]	Processing product tax
2023-10-13	12:31:28	751	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:28	751	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:28	751	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:28	751	[DEBUG]	Query for Product
2023-10-13	12:31:28	751	[DEBUG]	Executed store
2023-10-13	12:31:28	751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5873_1','0.527','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:28	751	[DEBUG]	Check product language entry
2023-10-13	12:31:28	751	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860243
2023-10-13	12:31:28	751	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:28	751	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5873_1' AND `virtuemart_product_id` != 1860243
2023-10-13	12:31:28	751	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:28	751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860243, 'A_5873_1')
2023-10-13	12:31:28	751	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:28	751	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-50-2-alu-spider-noir' AND `virtuemart_product_id` != 1860243
2023-10-13	12:31:28	751	[DEBUG]	Query for ProductLang
2023-10-13	12:31:28	751	[DEBUG]	Executed store
2023-10-13	12:31:28	751	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir 527 g 11 spd --11-13-15-18-21-24-28-32-36-40-46<br>N° art fourn : CSMSC101150',`product_name`='MSC Cassette MSC 10 vitesses 11-50 2 Alu Spider  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-50-2-alu-spider-noir' WHERE `virtuemart_product_id` = '1860243'
2023-10-13	12:31:28	751	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31467_cassette_msc_10_vitesses_11-50_2_alu_spider_.jpg
2023-10-13	12:31:28	751	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:28	751	[DEBUG]	Process image file
2023-10-13	12:31:28	751	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:28	751	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:28	751	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31467_cassette_msc_10_vitesses_11-50_2_alu_spider_.jpg
2023-10-13	12:31:28	751	[DEBUG]	Full name target: bcprisme/31467_cassette_msc_10_vitesses_11-50_2_alu_spider_.jpg
2023-10-13	12:31:29	751	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:29	751	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31467_cassette_msc_10_vitesses_11-50_2_alu_spider_.jpg'
2023-10-13	12:31:29	751	[DEBUG]	Query for Media
2023-10-13	12:31:29	751	[DEBUG]	Executed store
2023-10-13	12:31:29	751	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31467_cassette_msc_10_vitesses_11-50_2_alu_spider_.jpg',`file_url_thumb`='bcprisme/31467_cassette_msc_10_vitesses_11-50_2_alu_spider_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12493'
2023-10-13	12:31:29	751	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:29	751	[DEBUG]	Executed store
2023-10-13	12:31:29	751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860243','12493','1')
2023-10-13	12:31:29	751	[DEBUG]	Store product image relation
2023-10-13	12:31:29	751	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:29	751	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860243 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:29	751	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:29	751	[DEBUG]	Executed store
2023-10-13	12:31:29	751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860243','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:29	751	[DEBUG]	Checking manufacturer
2023-10-13	12:31:29	751	[DEBUG]	Load a row
2023-10-13	12:31:29	751	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:29	751	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:29	751	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:29	751	[DEBUG]	Executed store
2023-10-13	12:31:29	751	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:29	751	[DEBUG]	Manufacturer exists
2023-10-13	12:31:29	751	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:31:29	751	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:29	751	[DEBUG]	Executed store
2023-10-13	12:31:29	751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860243','32')
2023-10-13	12:31:29	751	[DEBUG]	Find the custom field ID
2023-10-13	12:31:29	751	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:29	751	[DEBUG]	No custom field ID found
2023-10-13	12:31:29	751	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:29	751	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	12:31:29	751	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860243 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:29	751	[DEBUG]	Store custom available field
2023-10-13	12:31:29	751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860243,3,'129.539166666667',1)
2023-10-13	12:31:29	751	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:29	751	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:29	751	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860243 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:29	751	[DEBUG]	Store custom available field
2023-10-13	12:31:29	751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860243,6,'choisir la taille',3)
2023-10-13	12:31:29	751	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:29	751	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:29	751	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:29	751	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:29	751	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860243 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:29	751	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:29	751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860243,8,1)
2023-10-13	12:31:29	751	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:29	751	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860243\":[1860243,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860243
2023-10-13	12:31:29	751	[DEBUG]	Checking category
2023-10-13	12:31:29	751	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:29	751	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860243
2023-10-13	12:31:29	751	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:29	751	[DEBUG]	Executed store
2023-10-13	12:31:29	751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860243','7283')
2023-10-13	12:31:29	751	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:29	751	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860243 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:29	751	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:29	751	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860243
2023-10-13	12:31:29	752	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:29	752	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:29	752	[DEBUG]	Use field value for field taille
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:29	752	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:29	752	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:29	752	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:29	752	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:29	752	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:29	752	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:29	752	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:29	752	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:29	752	[DEBUG]	Use field value for field published
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:29	752	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field override
2023-10-13	12:31:29	752	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:29	752	[DEBUG]	Use field value for field slug
2023-10-13	12:31:29	752	[DEBUG]	Process line 752
2023-10-13	12:31:29	752	[DEBUG]	Load a row
2023-10-13	12:31:29	752	[DEBUG]	Processing item: 8435466214852
2023-10-13	12:31:29	752	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:29	752	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:29	752	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5873_1'
2023-10-13	12:31:29	752	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:29	752	[DEBUG]	Processing product tax
2023-10-13	12:31:29	752	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:29	752	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:29	752	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:29	752	[DEBUG]	Query for Product
2023-10-13	12:31:29	752	[DEBUG]	Executed store
2023-10-13	12:31:29	752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860243','8435466214852','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:29	752	[DEBUG]	No parent found
2023-10-13	12:31:29	752	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860243 AND customfield_value = 'stockable'
2023-10-13	12:31:29	752	[DEBUG]	Check product language entry
2023-10-13	12:31:29	752	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860244
2023-10-13	12:31:29	752	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:29	752	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214852' AND `virtuemart_product_id` != 1860244
2023-10-13	12:31:29	752	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:29	752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860244, '8435466214852')
2023-10-13	12:31:29	752	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:29	752	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-50-2-alu-spider-noir-unitaire' AND `virtuemart_product_id` != 1860244
2023-10-13	12:31:29	752	[DEBUG]	Query for ProductLang
2023-10-13	12:31:29	752	[DEBUG]	Executed store
2023-10-13	12:31:29	752	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 10 vitesses 11-50 2 Alu Spider  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-50-2-alu-spider-noir-unitaire' WHERE `virtuemart_product_id` = '1860244'
2023-10-13	12:31:29	752	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31467_cassette_msc_10_vitesses_11-50_2_alu_spider_.jpg
2023-10-13	12:31:29	752	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:29	752	[DEBUG]	Process image file
2023-10-13	12:31:29	752	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:29	752	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:29	752	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31467_cassette_msc_10_vitesses_11-50_2_alu_spider_.jpg
2023-10-13	12:31:29	752	[DEBUG]	Full name target: bcprisme/31467_cassette_msc_10_vitesses_11-50_2_alu_spider_.jpg
2023-10-13	12:31:30	752	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:30	752	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31467_cassette_msc_10_vitesses_11-50_2_alu_spider_.jpg'
2023-10-13	12:31:30	752	[DEBUG]	Query for Media
2023-10-13	12:31:30	752	[DEBUG]	Executed store
2023-10-13	12:31:30	752	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31467_cassette_msc_10_vitesses_11-50_2_alu_spider_.jpg',`file_url_thumb`='bcprisme/31467_cassette_msc_10_vitesses_11-50_2_alu_spider_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12493'
2023-10-13	12:31:30	752	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:30	752	[DEBUG]	Executed store
2023-10-13	12:31:30	752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860244','12493','1')
2023-10-13	12:31:30	752	[DEBUG]	Store product image relation
2023-10-13	12:31:30	752	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:30	752	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860244 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:30	752	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:30	752	[DEBUG]	Executed store
2023-10-13	12:31:30	752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860244','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:30	752	[DEBUG]	Checking manufacturer
2023-10-13	12:31:30	752	[DEBUG]	Load a row
2023-10-13	12:31:30	752	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:30	752	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:30	752	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:30	752	[DEBUG]	Executed store
2023-10-13	12:31:30	752	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:30	752	[DEBUG]	Manufacturer exists
2023-10-13	12:31:30	752	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:31:30	752	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:30	752	[DEBUG]	Executed store
2023-10-13	12:31:30	752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860244','32')
2023-10-13	12:31:30	752	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:30	752	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:30	752	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860244 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:30	752	[DEBUG]	Store custom available field
2023-10-13	12:31:30	752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860244,3,'',1)
2023-10-13	12:31:30	752	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:30	752	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:31:30	752	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860244 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:30	752	[DEBUG]	Store custom available field
2023-10-13	12:31:30	752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860244,6,'Unitaire',3)
2023-10-13	12:31:30	752	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:30	752	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:30	752	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860243
2023-10-13	12:31:30	752	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:30	752	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860243\":[1860243,8,1,\"choisir la taille\"],\"1860244\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860243
2023-10-13	12:31:30	752	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:30	752	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860244
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:30	753	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field taille
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:30	753	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:30	753	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:30	753	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:30	753	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:30	753	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:30	753	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field published
2023-10-13	12:31:30	753	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:30	753	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field override
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:30	753	[DEBUG]	Use field value for field slug
2023-10-13	12:31:30	753	[DEBUG]	Process line 753
2023-10-13	12:31:30	753	[DEBUG]	Load a row
2023-10-13	12:31:30	753	[DEBUG]	Processing item: A_5874_1
2023-10-13	12:31:30	753	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:30	753	[DEBUG]	Processing product tax
2023-10-13	12:31:30	753	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:30	753	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:30	753	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:30	753	[DEBUG]	Query for Product
2023-10-13	12:31:30	753	[DEBUG]	Executed store
2023-10-13	12:31:30	753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5874_1','0.527','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:30	753	[DEBUG]	Check product language entry
2023-10-13	12:31:30	753	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860245
2023-10-13	12:31:30	753	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:30	753	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5874_1' AND `virtuemart_product_id` != 1860245
2023-10-13	12:31:30	753	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:30	753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860245, 'A_5874_1')
2023-10-13	12:31:30	753	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:30	753	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-50-2-alu-spider-light-noir' AND `virtuemart_product_id` != 1860245
2023-10-13	12:31:30	753	[DEBUG]	Query for ProductLang
2023-10-13	12:31:30	753	[DEBUG]	Executed store
2023-10-13	12:31:30	753	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir 527 g 11 spd --11-13-15-18-21-24-28-32-36-40-46<br>N° art fourn : CSMSC111150L',`product_name`='MSC Cassette MSC 11 vitesses 11-50 2 Alu Spider Light / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-50-2-alu-spider-light-noir' WHERE `virtuemart_product_id` = '1860245'
2023-10-13	12:31:30	753	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31468_cassette_msc_11_vitesses_11-50_2_alu_spider_light.jpg
2023-10-13	12:31:30	753	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:30	753	[DEBUG]	Process image file
2023-10-13	12:31:30	753	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:30	753	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:30	753	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31468_cassette_msc_11_vitesses_11-50_2_alu_spider_light.jpg
2023-10-13	12:31:30	753	[DEBUG]	Full name target: bcprisme/31468_cassette_msc_11_vitesses_11-50_2_alu_spider_light.jpg
2023-10-13	12:31:31	753	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:31	753	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31468_cassette_msc_11_vitesses_11-50_2_alu_spider_light.jpg'
2023-10-13	12:31:31	753	[DEBUG]	Query for Media
2023-10-13	12:31:31	753	[DEBUG]	Executed store
2023-10-13	12:31:31	753	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31468_cassette_msc_11_vitesses_11-50_2_alu_spider_light.jpg',`file_url_thumb`='bcprisme/31468_cassette_msc_11_vitesses_11-50_2_alu_spider_light.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12494'
2023-10-13	12:31:31	753	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:31	753	[DEBUG]	Executed store
2023-10-13	12:31:31	753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860245','12494','1')
2023-10-13	12:31:31	753	[DEBUG]	Store product image relation
2023-10-13	12:31:31	753	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:31	753	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860245 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:31	753	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:31	753	[DEBUG]	Executed store
2023-10-13	12:31:31	753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860245','0','324.883936861653','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:31	753	[DEBUG]	Checking manufacturer
2023-10-13	12:31:31	753	[DEBUG]	Load a row
2023-10-13	12:31:31	753	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:31	753	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:31	753	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:31	753	[DEBUG]	Executed store
2023-10-13	12:31:31	753	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:31	753	[DEBUG]	Manufacturer exists
2023-10-13	12:31:31	753	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:31:31	753	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:31	753	[DEBUG]	Executed store
2023-10-13	12:31:31	753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860245','32')
2023-10-13	12:31:31	753	[DEBUG]	Find the custom field ID
2023-10-13	12:31:31	753	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:31	753	[DEBUG]	No custom field ID found
2023-10-13	12:31:31	753	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:31	753	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	12:31:31	753	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860245 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:31	753	[DEBUG]	Store custom available field
2023-10-13	12:31:31	753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860245,3,'129.539166666667',1)
2023-10-13	12:31:31	753	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:31	753	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:31	753	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860245 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:31	753	[DEBUG]	Store custom available field
2023-10-13	12:31:31	753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860245,6,'choisir la taille',3)
2023-10-13	12:31:31	753	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:31	753	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:31	753	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:31	753	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:31	753	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860245 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:31	753	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:31	753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860245,8,1)
2023-10-13	12:31:31	753	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:31	753	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860245\":[1860245,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860245
2023-10-13	12:31:31	753	[DEBUG]	Checking category
2023-10-13	12:31:31	753	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:31	753	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860245
2023-10-13	12:31:31	753	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:31	753	[DEBUG]	Executed store
2023-10-13	12:31:31	753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860245','7283')
2023-10-13	12:31:31	753	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:31	753	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860245 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:31	753	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:31	753	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860245
2023-10-13	12:31:31	754	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:31	754	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:31	754	[DEBUG]	Use field value for field taille
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:31	754	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:31	754	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:31	754	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:31	754	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:31	754	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:31	754	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:31	754	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:31	754	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:31	754	[DEBUG]	Use field value for field published
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:31	754	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field override
2023-10-13	12:31:31	754	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:31	754	[DEBUG]	Use field value for field slug
2023-10-13	12:31:31	754	[DEBUG]	Process line 754
2023-10-13	12:31:31	754	[DEBUG]	Load a row
2023-10-13	12:31:31	754	[DEBUG]	Processing item: 8435466214821
2023-10-13	12:31:31	754	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:31	754	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:31	754	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5874_1'
2023-10-13	12:31:31	754	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:31	754	[DEBUG]	Processing product tax
2023-10-13	12:31:31	754	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:31	754	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:31	754	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:31	754	[DEBUG]	Query for Product
2023-10-13	12:31:31	754	[DEBUG]	Executed store
2023-10-13	12:31:31	754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860245','8435466214821','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:31	754	[DEBUG]	No parent found
2023-10-13	12:31:31	754	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860245 AND customfield_value = 'stockable'
2023-10-13	12:31:31	754	[DEBUG]	Check product language entry
2023-10-13	12:31:31	754	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860246
2023-10-13	12:31:31	754	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:31	754	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214821' AND `virtuemart_product_id` != 1860246
2023-10-13	12:31:31	754	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:31	754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860246, '8435466214821')
2023-10-13	12:31:31	754	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:31	754	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-50-2-alu-spider-light-noir-unitaire' AND `virtuemart_product_id` != 1860246
2023-10-13	12:31:31	754	[DEBUG]	Query for ProductLang
2023-10-13	12:31:31	754	[DEBUG]	Executed store
2023-10-13	12:31:31	754	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 11 vitesses 11-50 2 Alu Spider Light / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-50-2-alu-spider-light-noir-unitaire' WHERE `virtuemart_product_id` = '1860246'
2023-10-13	12:31:31	754	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31468_cassette_msc_11_vitesses_11-50_2_alu_spider_light.jpg
2023-10-13	12:31:31	754	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:31	754	[DEBUG]	Process image file
2023-10-13	12:31:31	754	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:31	754	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:31	754	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31468_cassette_msc_11_vitesses_11-50_2_alu_spider_light.jpg
2023-10-13	12:31:31	754	[DEBUG]	Full name target: bcprisme/31468_cassette_msc_11_vitesses_11-50_2_alu_spider_light.jpg
2023-10-13	12:31:32	754	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:32	754	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31468_cassette_msc_11_vitesses_11-50_2_alu_spider_light.jpg'
2023-10-13	12:31:32	754	[DEBUG]	Query for Media
2023-10-13	12:31:32	754	[DEBUG]	Executed store
2023-10-13	12:31:32	754	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31468_cassette_msc_11_vitesses_11-50_2_alu_spider_light.jpg',`file_url_thumb`='bcprisme/31468_cassette_msc_11_vitesses_11-50_2_alu_spider_light.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12494'
2023-10-13	12:31:32	754	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:32	754	[DEBUG]	Executed store
2023-10-13	12:31:32	754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860246','12494','1')
2023-10-13	12:31:32	754	[DEBUG]	Store product image relation
2023-10-13	12:31:32	754	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:32	754	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860246 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:32	754	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:32	754	[DEBUG]	Executed store
2023-10-13	12:31:32	754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860246','0','324.883936861653','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:32	754	[DEBUG]	Checking manufacturer
2023-10-13	12:31:32	754	[DEBUG]	Load a row
2023-10-13	12:31:32	754	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:32	754	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:32	754	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:32	754	[DEBUG]	Executed store
2023-10-13	12:31:32	754	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:32	754	[DEBUG]	Manufacturer exists
2023-10-13	12:31:32	754	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:31:32	754	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:32	754	[DEBUG]	Executed store
2023-10-13	12:31:32	754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860246','32')
2023-10-13	12:31:32	754	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:32	754	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:32	754	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860246 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:32	754	[DEBUG]	Store custom available field
2023-10-13	12:31:32	754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860246,3,'',1)
2023-10-13	12:31:32	754	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:32	754	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:31:32	754	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860246 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:32	754	[DEBUG]	Store custom available field
2023-10-13	12:31:32	754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860246,6,'Unitaire',3)
2023-10-13	12:31:32	754	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:32	754	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:32	754	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860245
2023-10-13	12:31:32	754	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:32	754	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860245\":[1860245,8,1,\"choisir la taille\"],\"1860246\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860245
2023-10-13	12:31:32	754	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:32	754	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860246
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:32	755	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field taille
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:32	755	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:32	755	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:32	755	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:32	755	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:32	755	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:32	755	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field published
2023-10-13	12:31:32	755	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:32	755	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field override
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:32	755	[DEBUG]	Use field value for field slug
2023-10-13	12:31:32	755	[DEBUG]	Process line 755
2023-10-13	12:31:32	755	[DEBUG]	Load a row
2023-10-13	12:31:32	755	[DEBUG]	Processing item: A_5875_1
2023-10-13	12:31:32	755	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:32	755	[DEBUG]	Processing product tax
2023-10-13	12:31:32	755	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:32	755	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:32	755	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:32	755	[DEBUG]	Query for Product
2023-10-13	12:31:32	755	[DEBUG]	Executed store
2023-10-13	12:31:32	755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5875_1','0.527','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:32	755	[DEBUG]	Check product language entry
2023-10-13	12:31:32	755	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860247
2023-10-13	12:31:32	755	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:32	755	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5875_1' AND `virtuemart_product_id` != 1860247
2023-10-13	12:31:32	755	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:32	755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860247, 'A_5875_1')
2023-10-13	12:31:32	755	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:32	755	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-12-vitesses-11-50-2-alu-spider-compatible-body-shimano-noir' AND `virtuemart_product_id` != 1860247
2023-10-13	12:31:32	755	[DEBUG]	Query for ProductLang
2023-10-13	12:31:32	755	[DEBUG]	Executed store
2023-10-13	12:31:32	755	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir 527 g 11 spd --11-13-15-18-21-24-28-32-36-40-46<br>N° art fourn : CSMSC121150',`product_name`='MSC Cassette MSC 12 vitesses 11-50 2 Alu Spider compatible body Shimano / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-12-vitesses-11-50-2-alu-spider-compatible-body-shimano-noir' WHERE `virtuemart_product_id` = '1860247'
2023-10-13	12:31:32	755	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31469_cassette_msc_12_vitesses_11-50_2_alu_spider_.jpg
2023-10-13	12:31:32	755	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:32	755	[DEBUG]	Process image file
2023-10-13	12:31:32	755	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:32	755	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:32	755	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31469_cassette_msc_12_vitesses_11-50_2_alu_spider_.jpg
2023-10-13	12:31:32	755	[DEBUG]	Full name target: bcprisme/31469_cassette_msc_12_vitesses_11-50_2_alu_spider_.jpg
2023-10-13	12:31:33	755	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:33	755	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31469_cassette_msc_12_vitesses_11-50_2_alu_spider_.jpg'
2023-10-13	12:31:33	755	[DEBUG]	Query for Media
2023-10-13	12:31:33	755	[DEBUG]	Executed store
2023-10-13	12:31:33	755	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31469_cassette_msc_12_vitesses_11-50_2_alu_spider_.jpg',`file_url_thumb`='bcprisme/31469_cassette_msc_12_vitesses_11-50_2_alu_spider_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12495'
2023-10-13	12:31:33	755	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:33	755	[DEBUG]	Executed store
2023-10-13	12:31:33	755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860247','12495','1')
2023-10-13	12:31:33	755	[DEBUG]	Store product image relation
2023-10-13	12:31:33	755	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:33	755	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860247 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:33	755	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:33	755	[DEBUG]	Executed store
2023-10-13	12:31:33	755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860247','0','194.893221912721','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:33	755	[DEBUG]	Checking manufacturer
2023-10-13	12:31:33	755	[DEBUG]	Load a row
2023-10-13	12:31:33	755	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:33	755	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:33	755	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:33	755	[DEBUG]	Executed store
2023-10-13	12:31:33	755	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:33	755	[DEBUG]	Manufacturer exists
2023-10-13	12:31:33	755	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:31:33	755	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:33	755	[DEBUG]	Executed store
2023-10-13	12:31:33	755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860247','32')
2023-10-13	12:31:33	755	[DEBUG]	Find the custom field ID
2023-10-13	12:31:33	755	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:33	755	[DEBUG]	No custom field ID found
2023-10-13	12:31:33	755	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:33	755	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	12:31:33	755	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860247 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:33	755	[DEBUG]	Store custom available field
2023-10-13	12:31:33	755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860247,3,'129.539166666667',1)
2023-10-13	12:31:33	755	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:33	755	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:33	755	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860247 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:33	755	[DEBUG]	Store custom available field
2023-10-13	12:31:33	755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860247,6,'choisir la taille',3)
2023-10-13	12:31:33	755	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:33	755	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:33	755	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:33	755	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:33	755	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860247 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:33	755	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:33	755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860247,8,1)
2023-10-13	12:31:33	755	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:33	755	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860247\":[1860247,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860247
2023-10-13	12:31:33	755	[DEBUG]	Checking category
2023-10-13	12:31:33	755	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:33	755	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860247
2023-10-13	12:31:33	755	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:33	755	[DEBUG]	Executed store
2023-10-13	12:31:33	755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860247','7283')
2023-10-13	12:31:33	755	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:33	755	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860247 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:33	755	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:33	755	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860247
2023-10-13	12:31:33	756	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:33	756	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:33	756	[DEBUG]	Use field value for field taille
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:33	756	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:33	756	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:33	756	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:33	756	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:33	756	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:33	756	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:33	756	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:33	756	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:33	756	[DEBUG]	Use field value for field published
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:33	756	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field override
2023-10-13	12:31:33	756	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:33	756	[DEBUG]	Use field value for field slug
2023-10-13	12:31:33	756	[DEBUG]	Process line 756
2023-10-13	12:31:33	756	[DEBUG]	Load a row
2023-10-13	12:31:33	756	[DEBUG]	Processing item: 8435466214838
2023-10-13	12:31:33	756	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:33	756	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:33	756	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5875_1'
2023-10-13	12:31:33	756	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:33	756	[DEBUG]	Processing product tax
2023-10-13	12:31:33	756	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:33	756	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:33	756	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:33	756	[DEBUG]	Query for Product
2023-10-13	12:31:33	756	[DEBUG]	Executed store
2023-10-13	12:31:33	756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860247','8435466214838','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:33	756	[DEBUG]	No parent found
2023-10-13	12:31:33	756	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860247 AND customfield_value = 'stockable'
2023-10-13	12:31:33	756	[DEBUG]	Check product language entry
2023-10-13	12:31:33	756	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860248
2023-10-13	12:31:33	756	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:33	756	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214838' AND `virtuemart_product_id` != 1860248
2023-10-13	12:31:33	756	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:33	756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860248, '8435466214838')
2023-10-13	12:31:33	756	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:33	756	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-12-vitesses-11-50-2-alu-spider-compatible-body-shimano-noir-unitaire' AND `virtuemart_product_id` != 1860248
2023-10-13	12:31:33	756	[DEBUG]	Query for ProductLang
2023-10-13	12:31:33	756	[DEBUG]	Executed store
2023-10-13	12:31:33	756	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 12 vitesses 11-50 2 Alu Spider compatible body Shimano / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-12-vitesses-11-50-2-alu-spider-compatible-body-shimano-noir-unitaire' WHERE `virtuemart_product_id` = '1860248'
2023-10-13	12:31:33	756	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31469_cassette_msc_12_vitesses_11-50_2_alu_spider_.jpg
2023-10-13	12:31:33	756	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:33	756	[DEBUG]	Process image file
2023-10-13	12:31:33	756	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:33	756	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:33	756	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31469_cassette_msc_12_vitesses_11-50_2_alu_spider_.jpg
2023-10-13	12:31:33	756	[DEBUG]	Full name target: bcprisme/31469_cassette_msc_12_vitesses_11-50_2_alu_spider_.jpg
2023-10-13	12:31:34	756	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:34	756	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31469_cassette_msc_12_vitesses_11-50_2_alu_spider_.jpg'
2023-10-13	12:31:34	756	[DEBUG]	Query for Media
2023-10-13	12:31:34	756	[DEBUG]	Executed store
2023-10-13	12:31:34	756	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31469_cassette_msc_12_vitesses_11-50_2_alu_spider_.jpg',`file_url_thumb`='bcprisme/31469_cassette_msc_12_vitesses_11-50_2_alu_spider_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12495'
2023-10-13	12:31:34	756	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:34	756	[DEBUG]	Executed store
2023-10-13	12:31:34	756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860248','12495','1')
2023-10-13	12:31:34	756	[DEBUG]	Store product image relation
2023-10-13	12:31:34	756	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:34	756	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860248 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:34	756	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:34	756	[DEBUG]	Executed store
2023-10-13	12:31:34	756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860248','0','194.893221912721','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:34	756	[DEBUG]	Checking manufacturer
2023-10-13	12:31:34	756	[DEBUG]	Load a row
2023-10-13	12:31:34	756	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:34	756	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:34	756	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:34	756	[DEBUG]	Executed store
2023-10-13	12:31:34	756	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:34	756	[DEBUG]	Manufacturer exists
2023-10-13	12:31:34	756	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:31:34	756	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:34	756	[DEBUG]	Executed store
2023-10-13	12:31:34	756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860248','32')
2023-10-13	12:31:34	756	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:34	756	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:34	756	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860248 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:34	756	[DEBUG]	Store custom available field
2023-10-13	12:31:34	756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860248,3,'',1)
2023-10-13	12:31:34	756	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:34	756	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:31:34	756	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860248 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:34	756	[DEBUG]	Store custom available field
2023-10-13	12:31:34	756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860248,6,'Unitaire',3)
2023-10-13	12:31:34	756	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:34	756	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:34	756	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860247
2023-10-13	12:31:34	756	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:34	756	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860247\":[1860247,8,1,\"choisir la taille\"],\"1860248\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860247
2023-10-13	12:31:34	756	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:34	756	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860248
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:34	757	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field taille
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:34	757	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:34	757	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:34	757	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:34	757	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:34	757	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:34	757	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field published
2023-10-13	12:31:34	757	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:34	757	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field override
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:34	757	[DEBUG]	Use field value for field slug
2023-10-13	12:31:34	757	[DEBUG]	Process line 757
2023-10-13	12:31:34	757	[DEBUG]	Load a row
2023-10-13	12:31:34	757	[DEBUG]	Processing item: A_5886_13
2023-10-13	12:31:34	757	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:34	757	[DEBUG]	Processing product tax
2023-10-13	12:31:34	757	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:34	757	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:34	757	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:34	757	[DEBUG]	Query for Product
2023-10-13	12:31:34	757	[DEBUG]	Executed store
2023-10-13	12:31:34	757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5886_13','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:34	757	[DEBUG]	Check product language entry
2023-10-13	12:31:34	757	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860249
2023-10-13	12:31:34	757	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:34	757	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5886_13' AND `virtuemart_product_id` != 1860249
2023-10-13	12:31:34	757	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:34	757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860249, 'A_5886_13')
2023-10-13	12:31:34	757	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:34	757	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-sram-11-vitesses-pg-117-11-36-argent' AND `virtuemart_product_id` != 1860249
2023-10-13	12:31:34	757	[DEBUG]	Query for ProductLang
2023-10-13	12:31:34	757	[DEBUG]	Executed store
2023-10-13	12:31:34	757	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir 527 g 11 spd --11-13-15-18-21-24-28-32-36-40-46<br>N° art fourn : D7400I',`product_name`='SRAM Cassette Sram 11 vitesses PG-117  11/36 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-sram-11-vitesses-pg-117-11-36-argent' WHERE `virtuemart_product_id` = '1860249'
2023-10-13	12:31:34	757	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31478_cassette_sram_11_vitesses_pg-117__11-36.jpg
2023-10-13	12:31:34	757	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:34	757	[DEBUG]	Process image file
2023-10-13	12:31:34	757	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:34	757	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:34	757	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31478_cassette_sram_11_vitesses_pg-117__11-36.jpg
2023-10-13	12:31:34	757	[DEBUG]	Full name target: bcprisme/31478_cassette_sram_11_vitesses_pg-117__11-36.jpg
2023-10-13	12:31:35	757	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:35	757	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31478_cassette_sram_11_vitesses_pg-117__11-36.jpg'
2023-10-13	12:31:35	757	[DEBUG]	Query for Media
2023-10-13	12:31:35	757	[DEBUG]	Executed store
2023-10-13	12:31:35	757	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31478_cassette_sram_11_vitesses_pg-117__11-36.jpg',`file_url_thumb`='bcprisme/31478_cassette_sram_11_vitesses_pg-117__11-36.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12496'
2023-10-13	12:31:35	757	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:35	757	[DEBUG]	Executed store
2023-10-13	12:31:35	757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860249','12496','1')
2023-10-13	12:31:35	757	[DEBUG]	Store product image relation
2023-10-13	12:31:35	757	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:35	757	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860249 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:35	757	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:35	757	[DEBUG]	Executed store
2023-10-13	12:31:35	757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860249','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:35	757	[DEBUG]	Checking manufacturer
2023-10-13	12:31:35	757	[DEBUG]	Load a row
2023-10-13	12:31:35	757	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:35	757	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:35	757	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:35	757	[DEBUG]	Executed store
2023-10-13	12:31:35	757	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:35	757	[DEBUG]	Manufacturer exists
2023-10-13	12:31:35	757	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:31:35	757	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:35	757	[DEBUG]	Executed store
2023-10-13	12:31:35	757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860249','35')
2023-10-13	12:31:35	757	[DEBUG]	Find the custom field ID
2023-10-13	12:31:35	757	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:35	757	[DEBUG]	No custom field ID found
2023-10-13	12:31:35	757	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:35	757	[DEBUG]	Get existing row with customfield value 119.566944444444
2023-10-13	12:31:35	757	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860249 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:35	757	[DEBUG]	Store custom available field
2023-10-13	12:31:35	757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860249,3,'119.566944444444',1)
2023-10-13	12:31:35	757	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:35	757	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:35	757	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860249 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:35	757	[DEBUG]	Store custom available field
2023-10-13	12:31:35	757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860249,6,'choisir la taille',3)
2023-10-13	12:31:35	757	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:35	757	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:35	757	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:35	757	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:35	757	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860249 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:35	757	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:35	757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860249,8,1)
2023-10-13	12:31:35	757	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:35	757	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860249\":[1860249,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860249
2023-10-13	12:31:35	757	[DEBUG]	Checking category
2023-10-13	12:31:35	757	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:35	757	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860249
2023-10-13	12:31:35	757	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:35	757	[DEBUG]	Executed store
2023-10-13	12:31:35	757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860249','7283')
2023-10-13	12:31:35	757	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:35	757	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860249 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:35	757	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:35	757	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860249
2023-10-13	12:31:35	758	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:35	758	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:35	758	[DEBUG]	Use field value for field taille
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:35	758	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:35	758	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:35	758	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:35	758	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:35	758	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:35	758	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:35	758	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:35	758	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:35	758	[DEBUG]	Use field value for field published
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:35	758	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field override
2023-10-13	12:31:35	758	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:35	758	[DEBUG]	Use field value for field slug
2023-10-13	12:31:35	758	[DEBUG]	Process line 758
2023-10-13	12:31:35	758	[DEBUG]	Load a row
2023-10-13	12:31:35	758	[DEBUG]	Processing item: 32T91944080
2023-10-13	12:31:35	758	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:35	758	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:35	758	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5886_13'
2023-10-13	12:31:35	758	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:35	758	[DEBUG]	Processing product tax
2023-10-13	12:31:35	758	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:35	758	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:35	758	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:35	758	[DEBUG]	Query for Product
2023-10-13	12:31:35	758	[DEBUG]	Executed store
2023-10-13	12:31:35	758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860249','32T91944080','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:35	758	[DEBUG]	No parent found
2023-10-13	12:31:35	758	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860249 AND customfield_value = 'stockable'
2023-10-13	12:31:35	758	[DEBUG]	Check product language entry
2023-10-13	12:31:35	758	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860250
2023-10-13	12:31:35	758	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:35	758	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '32T91944080' AND `virtuemart_product_id` != 1860250
2023-10-13	12:31:35	758	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:35	758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860250, '32T91944080')
2023-10-13	12:31:35	758	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:35	758	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-sram-11-vitesses-pg-117-11-36-argent-unitaire' AND `virtuemart_product_id` != 1860250
2023-10-13	12:31:35	758	[DEBUG]	Query for ProductLang
2023-10-13	12:31:35	758	[DEBUG]	Executed store
2023-10-13	12:31:35	758	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette Sram 11 vitesses PG-117  11/36 / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-sram-11-vitesses-pg-117-11-36-argent-unitaire' WHERE `virtuemart_product_id` = '1860250'
2023-10-13	12:31:35	758	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31478_cassette_sram_11_vitesses_pg-117__11-36.jpg
2023-10-13	12:31:35	758	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:35	758	[DEBUG]	Process image file
2023-10-13	12:31:35	758	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:35	758	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:35	758	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31478_cassette_sram_11_vitesses_pg-117__11-36.jpg
2023-10-13	12:31:35	758	[DEBUG]	Full name target: bcprisme/31478_cassette_sram_11_vitesses_pg-117__11-36.jpg
2023-10-13	12:31:36	758	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:36	758	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31478_cassette_sram_11_vitesses_pg-117__11-36.jpg'
2023-10-13	12:31:36	758	[DEBUG]	Query for Media
2023-10-13	12:31:36	758	[DEBUG]	Executed store
2023-10-13	12:31:36	758	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31478_cassette_sram_11_vitesses_pg-117__11-36.jpg',`file_url_thumb`='bcprisme/31478_cassette_sram_11_vitesses_pg-117__11-36.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12496'
2023-10-13	12:31:36	758	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:36	758	[DEBUG]	Executed store
2023-10-13	12:31:36	758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860250','12496','1')
2023-10-13	12:31:36	758	[DEBUG]	Store product image relation
2023-10-13	12:31:36	758	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:36	758	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860250 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:36	758	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:36	758	[DEBUG]	Executed store
2023-10-13	12:31:36	758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860250','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:36	758	[DEBUG]	Checking manufacturer
2023-10-13	12:31:36	758	[DEBUG]	Load a row
2023-10-13	12:31:36	758	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:36	758	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:36	758	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:36	758	[DEBUG]	Executed store
2023-10-13	12:31:36	758	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:36	758	[DEBUG]	Manufacturer exists
2023-10-13	12:31:36	758	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:31:36	758	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:36	758	[DEBUG]	Executed store
2023-10-13	12:31:36	758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860250','35')
2023-10-13	12:31:36	758	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:36	758	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:36	758	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860250 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:36	758	[DEBUG]	Store custom available field
2023-10-13	12:31:36	758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860250,3,'',1)
2023-10-13	12:31:36	758	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:36	758	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:31:36	758	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860250 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:36	758	[DEBUG]	Store custom available field
2023-10-13	12:31:36	758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860250,6,'Unitaire',3)
2023-10-13	12:31:36	758	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:36	758	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:36	758	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860249
2023-10-13	12:31:36	758	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:36	758	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860249\":[1860249,8,1,\"choisir la taille\"],\"1860250\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860249
2023-10-13	12:31:36	758	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:36	758	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860250
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:36	759	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field taille
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:36	759	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:36	759	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:36	759	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:36	759	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:36	759	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:36	759	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field published
2023-10-13	12:31:36	759	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:36	759	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field override
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:36	759	[DEBUG]	Use field value for field slug
2023-10-13	12:31:36	759	[DEBUG]	Process line 759
2023-10-13	12:31:36	759	[DEBUG]	Load a row
2023-10-13	12:31:36	759	[DEBUG]	Processing item: A_5905_1
2023-10-13	12:31:36	759	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:36	759	[DEBUG]	Processing product tax
2023-10-13	12:31:36	759	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:36	759	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:36	759	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:36	759	[DEBUG]	Query for Product
2023-10-13	12:31:36	759	[DEBUG]	Executed store
2023-10-13	12:31:36	759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5905_1','0.6','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:36	759	[DEBUG]	Check product language entry
2023-10-13	12:31:36	759	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860251
2023-10-13	12:31:36	759	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:36	759	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5905_1' AND `virtuemart_product_id` != 1860251
2023-10-13	12:31:36	759	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:36	759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860251, 'A_5905_1')
2023-10-13	12:31:36	759	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:36	759	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-899-11-48-8-vitesses-e-block-x-glide-sram-noir' AND `virtuemart_product_id` != 1860251
2023-10-13	12:31:36	759	[DEBUG]	Query for ProductLang
2023-10-13	12:31:36	759	[DEBUG]	Executed store
2023-10-13	12:31:36	759	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7532O',`product_name`='SRAM Cassette XG-899 11/48 8 vitesses E-Block X-Glide Sram / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-899-11-48-8-vitesses-e-block-x-glide-sram-noir' WHERE `virtuemart_product_id` = '1860251'
2023-10-13	12:31:36	759	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31501_cassette_xg-899_11-48_8_vitesses_e-block_x-glide_sram.jpg
2023-10-13	12:31:36	759	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:36	759	[DEBUG]	Process image file
2023-10-13	12:31:36	759	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:36	759	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:36	759	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31501_cassette_xg-899_11-48_8_vitesses_e-block_x-glide_sram.jpg
2023-10-13	12:31:36	759	[DEBUG]	Full name target: bcprisme/31501_cassette_xg-899_11-48_8_vitesses_e-block_x-glide_sram.jpg
2023-10-13	12:31:37	759	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:37	759	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31501_cassette_xg-899_11-48_8_vitesses_e-block_x-glide_sram.jpg'
2023-10-13	12:31:37	759	[DEBUG]	Query for Media
2023-10-13	12:31:37	759	[DEBUG]	Executed store
2023-10-13	12:31:37	759	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31501_cassette_xg-899_11-48_8_vitesses_e-block_x-glide_sram.jpg',`file_url_thumb`='bcprisme/31501_cassette_xg-899_11-48_8_vitesses_e-block_x-glide_sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12497'
2023-10-13	12:31:37	759	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:37	759	[DEBUG]	Executed store
2023-10-13	12:31:37	759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860251','12497','1')
2023-10-13	12:31:37	759	[DEBUG]	Store product image relation
2023-10-13	12:31:37	759	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:37	759	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860251 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:37	759	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:37	759	[DEBUG]	Executed store
2023-10-13	12:31:37	759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860251','0','473.537604456825','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:37	759	[DEBUG]	Checking manufacturer
2023-10-13	12:31:37	759	[DEBUG]	Load a row
2023-10-13	12:31:37	759	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:37	759	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:37	759	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:37	759	[DEBUG]	Executed store
2023-10-13	12:31:37	759	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:37	759	[DEBUG]	Manufacturer exists
2023-10-13	12:31:37	759	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:31:37	759	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:37	759	[DEBUG]	Executed store
2023-10-13	12:31:37	759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860251','35')
2023-10-13	12:31:37	759	[DEBUG]	Find the custom field ID
2023-10-13	12:31:37	759	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:37	759	[DEBUG]	No custom field ID found
2023-10-13	12:31:37	759	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:37	759	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	12:31:37	759	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860251 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:37	759	[DEBUG]	Store custom available field
2023-10-13	12:31:37	759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860251,3,'129.539166666667',1)
2023-10-13	12:31:37	759	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:37	759	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:37	759	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860251 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:37	759	[DEBUG]	Store custom available field
2023-10-13	12:31:37	759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860251,6,'choisir la taille',3)
2023-10-13	12:31:37	759	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:37	759	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:37	759	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:37	759	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:37	759	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860251 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:37	759	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:37	759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860251,8,1)
2023-10-13	12:31:37	759	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:37	759	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860251\":[1860251,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860251
2023-10-13	12:31:37	759	[DEBUG]	Checking category
2023-10-13	12:31:37	759	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:37	759	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860251
2023-10-13	12:31:37	759	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:37	759	[DEBUG]	Executed store
2023-10-13	12:31:37	759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860251','7283')
2023-10-13	12:31:37	759	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:37	759	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860251 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:37	759	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:37	759	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860251
2023-10-13	12:31:37	760	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:37	760	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:37	760	[DEBUG]	Use field value for field taille
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:37	760	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:37	760	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:37	760	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:37	760	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:37	760	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:37	760	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:37	760	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:37	760	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:37	760	[DEBUG]	Use field value for field published
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:37	760	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field override
2023-10-13	12:31:37	760	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:37	760	[DEBUG]	Use field value for field slug
2023-10-13	12:31:37	760	[DEBUG]	Process line 760
2023-10-13	12:31:37	760	[DEBUG]	Load a row
2023-10-13	12:31:37	760	[DEBUG]	Processing item: 42T84363489
2023-10-13	12:31:37	760	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:37	760	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:37	760	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5905_1'
2023-10-13	12:31:37	760	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:37	760	[DEBUG]	Processing product tax
2023-10-13	12:31:37	760	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:37	760	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:37	760	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:37	760	[DEBUG]	Query for Product
2023-10-13	12:31:37	760	[DEBUG]	Executed store
2023-10-13	12:31:37	760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860251','42T84363489','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:37	760	[DEBUG]	No parent found
2023-10-13	12:31:37	760	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860251 AND customfield_value = 'stockable'
2023-10-13	12:31:37	760	[DEBUG]	Check product language entry
2023-10-13	12:31:37	760	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860252
2023-10-13	12:31:37	760	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:37	760	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '42T84363489' AND `virtuemart_product_id` != 1860252
2023-10-13	12:31:37	760	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:37	760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860252, '42T84363489')
2023-10-13	12:31:37	760	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:37	760	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-899-11-48-8-vitesses-e-block-x-glide-sram-noir-unitaire' AND `virtuemart_product_id` != 1860252
2023-10-13	12:31:37	760	[DEBUG]	Query for ProductLang
2023-10-13	12:31:37	760	[DEBUG]	Executed store
2023-10-13	12:31:37	760	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-899 11/48 8 vitesses E-Block X-Glide Sram / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-899-11-48-8-vitesses-e-block-x-glide-sram-noir-unitaire' WHERE `virtuemart_product_id` = '1860252'
2023-10-13	12:31:37	760	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31501_cassette_xg-899_11-48_8_vitesses_e-block_x-glide_sram.jpg
2023-10-13	12:31:37	760	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:37	760	[DEBUG]	Process image file
2023-10-13	12:31:37	760	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:37	760	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:37	760	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31501_cassette_xg-899_11-48_8_vitesses_e-block_x-glide_sram.jpg
2023-10-13	12:31:37	760	[DEBUG]	Full name target: bcprisme/31501_cassette_xg-899_11-48_8_vitesses_e-block_x-glide_sram.jpg
2023-10-13	12:31:38	760	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:38	760	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31501_cassette_xg-899_11-48_8_vitesses_e-block_x-glide_sram.jpg'
2023-10-13	12:31:38	760	[DEBUG]	Query for Media
2023-10-13	12:31:38	760	[DEBUG]	Executed store
2023-10-13	12:31:38	760	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31501_cassette_xg-899_11-48_8_vitesses_e-block_x-glide_sram.jpg',`file_url_thumb`='bcprisme/31501_cassette_xg-899_11-48_8_vitesses_e-block_x-glide_sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12497'
2023-10-13	12:31:38	760	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:38	760	[DEBUG]	Executed store
2023-10-13	12:31:38	760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860252','12497','1')
2023-10-13	12:31:38	760	[DEBUG]	Store product image relation
2023-10-13	12:31:38	760	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:38	760	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860252 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:38	760	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:38	760	[DEBUG]	Executed store
2023-10-13	12:31:38	760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860252','0','473.537604456825','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:38	760	[DEBUG]	Checking manufacturer
2023-10-13	12:31:38	760	[DEBUG]	Load a row
2023-10-13	12:31:38	760	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:38	760	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:38	760	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:38	760	[DEBUG]	Executed store
2023-10-13	12:31:38	760	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:38	760	[DEBUG]	Manufacturer exists
2023-10-13	12:31:38	760	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:31:38	760	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:38	760	[DEBUG]	Executed store
2023-10-13	12:31:38	760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860252','35')
2023-10-13	12:31:38	760	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:38	760	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:38	760	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860252 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:38	760	[DEBUG]	Store custom available field
2023-10-13	12:31:38	760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860252,3,'',1)
2023-10-13	12:31:38	760	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:38	760	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:31:38	760	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860252 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:38	760	[DEBUG]	Store custom available field
2023-10-13	12:31:38	760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860252,6,'Unitaire',3)
2023-10-13	12:31:38	760	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:38	760	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:38	760	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860251
2023-10-13	12:31:38	760	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:38	760	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860251\":[1860251,8,1,\"choisir la taille\"],\"1860252\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860251
2023-10-13	12:31:38	760	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:38	760	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860252
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:38	761	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field taille
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:38	761	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:38	761	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:38	761	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:38	761	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:38	761	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:38	761	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field published
2023-10-13	12:31:38	761	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:38	761	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field override
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:38	761	[DEBUG]	Use field value for field slug
2023-10-13	12:31:38	761	[DEBUG]	Process line 761
2023-10-13	12:31:39	761	[DEBUG]	Load a row
2023-10-13	12:31:39	761	[DEBUG]	Processing item: A_5984_208
2023-10-13	12:31:39	761	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:39	761	[DEBUG]	Processing product tax
2023-10-13	12:31:39	761	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:39	761	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:39	761	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:39	761	[DEBUG]	Query for Product
2023-10-13	12:31:39	761	[DEBUG]	Executed store
2023-10-13	12:31:39	761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5984_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:39	761	[DEBUG]	Check product language entry
2023-10-13	12:31:39	761	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860253
2023-10-13	12:31:39	761	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:39	761	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5984_208' AND `virtuemart_product_id` != 1860253
2023-10-13	12:31:39	761	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:39	761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860253, 'A_5984_208')
2023-10-13	12:31:39	761	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:39	761	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-slx-cs-hg81-10-vitesses-11-36-dents-box-aucune' AND `virtuemart_product_id` != 1860253
2023-10-13	12:31:39	761	[DEBUG]	Query for ProductLang
2023-10-13	12:31:39	761	[DEBUG]	Executed store
2023-10-13	12:31:39	761	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.50385',`product_name`='SHIMANO Cassette SLX CS-HG81 10 vitesses 11-36 dents  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-slx-cs-hg81-10-vitesses-11-36-dents-box-aucune' WHERE `virtuemart_product_id` = '1860253'
2023-10-13	12:31:39	761	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31585_shimano_cassette_slx_cs-hg81_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:31:39	761	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:39	761	[DEBUG]	Process image file
2023-10-13	12:31:39	761	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:39	761	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:39	761	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31585_shimano_cassette_slx_cs-hg81_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:31:39	761	[DEBUG]	Full name target: bcprisme/31585_shimano_cassette_slx_cs-hg81_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:31:40	761	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:40	761	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31585_shimano_cassette_slx_cs-hg81_10-vitesses_11-36_dents__box.jpg'
2023-10-13	12:31:40	761	[DEBUG]	Query for Media
2023-10-13	12:31:40	761	[DEBUG]	Executed store
2023-10-13	12:31:40	761	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31585_shimano_cassette_slx_cs-hg81_10-vitesses_11-36_dents__box.jpg',`file_url_thumb`='bcprisme/31585_shimano_cassette_slx_cs-hg81_10-vitesses_11-36_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12498'
2023-10-13	12:31:40	761	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:40	761	[DEBUG]	Executed store
2023-10-13	12:31:40	761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860253','12498','1')
2023-10-13	12:31:40	761	[DEBUG]	Store product image relation
2023-10-13	12:31:40	761	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:40	761	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860253 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:40	761	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:40	761	[DEBUG]	Executed store
2023-10-13	12:31:40	761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860253','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:40	761	[DEBUG]	Checking manufacturer
2023-10-13	12:31:40	761	[DEBUG]	Load a row
2023-10-13	12:31:40	761	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:40	761	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:40	761	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:40	761	[DEBUG]	Executed store
2023-10-13	12:31:40	761	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:40	761	[DEBUG]	Manufacturer exists
2023-10-13	12:31:40	761	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:40	761	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:40	761	[DEBUG]	Executed store
2023-10-13	12:31:40	761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860253','123')
2023-10-13	12:31:40	761	[DEBUG]	Find the custom field ID
2023-10-13	12:31:40	761	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:40	761	[DEBUG]	No custom field ID found
2023-10-13	12:31:40	761	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:40	761	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:40	761	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860253 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:40	761	[DEBUG]	Store custom available field
2023-10-13	12:31:40	761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860253,3,'0',1)
2023-10-13	12:31:40	761	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:40	761	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:40	761	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860253 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:40	761	[DEBUG]	Store custom available field
2023-10-13	12:31:40	761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860253,6,'choisir la taille',3)
2023-10-13	12:31:40	761	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:40	761	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:40	761	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:40	761	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:40	761	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860253 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:40	761	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:40	761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860253,8,1)
2023-10-13	12:31:40	761	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:40	761	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860253\":[1860253,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860253
2023-10-13	12:31:40	761	[DEBUG]	Checking category
2023-10-13	12:31:40	761	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:40	761	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860253
2023-10-13	12:31:40	761	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:40	761	[DEBUG]	Executed store
2023-10-13	12:31:40	761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860253','7283')
2023-10-13	12:31:40	761	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:40	761	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860253 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:40	761	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:40	761	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860253
2023-10-13	12:31:40	762	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:40	762	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:40	762	[DEBUG]	Use field value for field taille
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:40	762	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:40	762	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:40	762	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:40	762	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:40	762	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:40	762	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:40	762	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:40	762	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:40	762	[DEBUG]	Use field value for field published
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:40	762	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field override
2023-10-13	12:31:40	762	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:40	762	[DEBUG]	Use field value for field slug
2023-10-13	12:31:40	762	[DEBUG]	Process line 762
2023-10-13	12:31:40	762	[DEBUG]	Load a row
2023-10-13	12:31:40	762	[DEBUG]	Processing item: 4524667428596
2023-10-13	12:31:40	762	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:40	762	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:40	762	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5984_208'
2023-10-13	12:31:40	762	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:40	762	[DEBUG]	Processing product tax
2023-10-13	12:31:40	762	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:40	762	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:40	762	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:40	762	[DEBUG]	Query for Product
2023-10-13	12:31:40	762	[DEBUG]	Executed store
2023-10-13	12:31:40	762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860253','4524667428596','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:40	762	[DEBUG]	No parent found
2023-10-13	12:31:40	762	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860253 AND customfield_value = 'stockable'
2023-10-13	12:31:40	762	[DEBUG]	Check product language entry
2023-10-13	12:31:40	762	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860254
2023-10-13	12:31:40	762	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:40	762	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667428596' AND `virtuemart_product_id` != 1860254
2023-10-13	12:31:40	762	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:40	762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860254, '4524667428596')
2023-10-13	12:31:40	762	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:40	762	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-slx-cs-hg81-10-vitesses-11-36-dents-box-aucune-all' AND `virtuemart_product_id` != 1860254
2023-10-13	12:31:40	762	[DEBUG]	Query for ProductLang
2023-10-13	12:31:40	762	[DEBUG]	Executed store
2023-10-13	12:31:40	762	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette SLX CS-HG81 10 vitesses 11-36 dents  box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-slx-cs-hg81-10-vitesses-11-36-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860254'
2023-10-13	12:31:40	762	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31585_shimano_cassette_slx_cs-hg81_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:31:40	762	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:40	762	[DEBUG]	Process image file
2023-10-13	12:31:40	762	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:40	762	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:40	762	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31585_shimano_cassette_slx_cs-hg81_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:31:40	762	[DEBUG]	Full name target: bcprisme/31585_shimano_cassette_slx_cs-hg81_10-vitesses_11-36_dents__box.jpg
2023-10-13	12:31:41	762	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:41	762	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31585_shimano_cassette_slx_cs-hg81_10-vitesses_11-36_dents__box.jpg'
2023-10-13	12:31:41	762	[DEBUG]	Query for Media
2023-10-13	12:31:41	762	[DEBUG]	Executed store
2023-10-13	12:31:41	762	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31585_shimano_cassette_slx_cs-hg81_10-vitesses_11-36_dents__box.jpg',`file_url_thumb`='bcprisme/31585_shimano_cassette_slx_cs-hg81_10-vitesses_11-36_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12498'
2023-10-13	12:31:41	762	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:41	762	[DEBUG]	Executed store
2023-10-13	12:31:41	762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860254','12498','1')
2023-10-13	12:31:41	762	[DEBUG]	Store product image relation
2023-10-13	12:31:41	762	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:41	762	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860254 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:41	762	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:41	762	[DEBUG]	Executed store
2023-10-13	12:31:41	762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860254','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:41	762	[DEBUG]	Checking manufacturer
2023-10-13	12:31:41	762	[DEBUG]	Load a row
2023-10-13	12:31:41	762	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:41	762	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:41	762	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:41	762	[DEBUG]	Executed store
2023-10-13	12:31:41	762	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:41	762	[DEBUG]	Manufacturer exists
2023-10-13	12:31:41	762	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:41	762	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:41	762	[DEBUG]	Executed store
2023-10-13	12:31:41	762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860254','123')
2023-10-13	12:31:41	762	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:41	762	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:41	762	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860254 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:41	762	[DEBUG]	Store custom available field
2023-10-13	12:31:41	762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860254,3,'',1)
2023-10-13	12:31:41	762	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:41	762	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:41	762	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860254 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:41	762	[DEBUG]	Store custom available field
2023-10-13	12:31:41	762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860254,6,'All',3)
2023-10-13	12:31:41	762	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:41	762	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:41	762	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860253
2023-10-13	12:31:41	762	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:41	762	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860253\":[1860253,8,1,\"choisir la taille\"],\"1860254\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860253
2023-10-13	12:31:41	762	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:41	762	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860254
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:41	763	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field taille
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:41	763	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:41	763	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:41	763	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:41	763	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:41	763	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:41	763	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field published
2023-10-13	12:31:41	763	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:41	763	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field override
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:41	763	[DEBUG]	Use field value for field slug
2023-10-13	12:31:41	763	[DEBUG]	Process line 763
2023-10-13	12:31:41	763	[DEBUG]	Load a row
2023-10-13	12:31:41	763	[DEBUG]	Processing item: A_5989_5
2023-10-13	12:31:41	763	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:41	763	[DEBUG]	Processing product tax
2023-10-13	12:31:41	763	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:41	763	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:41	763	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:41	763	[DEBUG]	Query for Product
2023-10-13	12:31:41	763	[DEBUG]	Executed store
2023-10-13	12:31:41	763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5989_5','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:41	763	[DEBUG]	Check product language entry
2023-10-13	12:31:41	763	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860255
2023-10-13	12:31:41	763	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:41	763	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5989_5' AND `virtuemart_product_id` != 1860255
2023-10-13	12:31:41	763	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:41	763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860255, 'A_5989_5')
2023-10-13	12:31:41	763	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:41	763	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-sram-eagle-xg-1299-12-vit-10-50-or-or' AND `virtuemart_product_id` != 1860255
2023-10-13	12:31:41	763	[DEBUG]	Query for ProductLang
2023-10-13	12:31:41	763	[DEBUG]	Executed store
2023-10-13	12:31:41	763	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7526V',`product_name`='SRAM Cassette SRAM Eagle XG-1299 12-vit. 10-50 or / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-sram-eagle-xg-1299-12-vit-10-50-or-or' WHERE `virtuemart_product_id` = '1860255'
2023-10-13	12:31:41	763	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31590_cassette_sram_eagle_xg-1299_12-vit__10-50_or.jpg
2023-10-13	12:31:41	763	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:41	763	[DEBUG]	Process image file
2023-10-13	12:31:41	763	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:41	763	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:41	763	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31590_cassette_sram_eagle_xg-1299_12-vit__10-50_or.jpg
2023-10-13	12:31:41	763	[DEBUG]	Full name target: bcprisme/31590_cassette_sram_eagle_xg-1299_12-vit__10-50_or.jpg
2023-10-13	12:31:42	763	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:42	763	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31590_cassette_sram_eagle_xg-1299_12-vit__10-50_or.jpg'
2023-10-13	12:31:42	763	[DEBUG]	Query for Media
2023-10-13	12:31:42	763	[DEBUG]	Executed store
2023-10-13	12:31:42	763	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31590_cassette_sram_eagle_xg-1299_12-vit__10-50_or.jpg',`file_url_thumb`='bcprisme/31590_cassette_sram_eagle_xg-1299_12-vit__10-50_or.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12499'
2023-10-13	12:31:42	763	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:42	763	[DEBUG]	Executed store
2023-10-13	12:31:42	763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860255','12499','1')
2023-10-13	12:31:42	763	[DEBUG]	Store product image relation
2023-10-13	12:31:42	763	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:42	763	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860255 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:42	763	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:42	763	[DEBUG]	Executed store
2023-10-13	12:31:42	763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860255','0','426.183844011142','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:42	763	[DEBUG]	Checking manufacturer
2023-10-13	12:31:42	763	[DEBUG]	Load a row
2023-10-13	12:31:42	763	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:42	763	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:42	763	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:42	763	[DEBUG]	Executed store
2023-10-13	12:31:42	763	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:42	763	[DEBUG]	Manufacturer exists
2023-10-13	12:31:42	763	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:31:42	763	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:42	763	[DEBUG]	Executed store
2023-10-13	12:31:42	763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860255','35')
2023-10-13	12:31:42	763	[DEBUG]	Find the custom field ID
2023-10-13	12:31:42	763	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:42	763	[DEBUG]	No custom field ID found
2023-10-13	12:31:42	763	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:42	763	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:42	763	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860255 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:42	763	[DEBUG]	Store custom available field
2023-10-13	12:31:42	763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860255,3,'0',1)
2023-10-13	12:31:42	763	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:42	763	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:42	763	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860255 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:42	763	[DEBUG]	Store custom available field
2023-10-13	12:31:42	763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860255,6,'choisir la taille',3)
2023-10-13	12:31:42	763	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:42	763	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:42	763	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:42	763	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:42	763	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860255 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:42	763	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:42	763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860255,8,1)
2023-10-13	12:31:42	763	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:42	763	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860255\":[1860255,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860255
2023-10-13	12:31:42	763	[DEBUG]	Checking category
2023-10-13	12:31:42	763	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:42	763	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860255
2023-10-13	12:31:42	763	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:42	763	[DEBUG]	Executed store
2023-10-13	12:31:42	763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860255','7283')
2023-10-13	12:31:42	763	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:42	763	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860255 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:42	763	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:42	763	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860255
2023-10-13	12:31:42	764	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:42	764	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:42	764	[DEBUG]	Use field value for field taille
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:42	764	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:42	764	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:42	764	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:42	764	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:42	764	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:42	764	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:42	764	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:42	764	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:42	764	[DEBUG]	Use field value for field published
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:42	764	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field override
2023-10-13	12:31:42	764	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:42	764	[DEBUG]	Use field value for field slug
2023-10-13	12:31:42	764	[DEBUG]	Process line 764
2023-10-13	12:31:42	764	[DEBUG]	Load a row
2023-10-13	12:31:42	764	[DEBUG]	Processing item: 710845788314
2023-10-13	12:31:42	764	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:42	764	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:42	764	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5989_5'
2023-10-13	12:31:42	764	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:42	764	[DEBUG]	Processing product tax
2023-10-13	12:31:42	764	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:42	764	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:42	764	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:42	764	[DEBUG]	Query for Product
2023-10-13	12:31:42	764	[DEBUG]	Executed store
2023-10-13	12:31:42	764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860255','710845788314','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:42	764	[DEBUG]	No parent found
2023-10-13	12:31:42	764	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860255 AND customfield_value = 'stockable'
2023-10-13	12:31:42	764	[DEBUG]	Check product language entry
2023-10-13	12:31:42	764	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860256
2023-10-13	12:31:42	764	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:42	764	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845788314' AND `virtuemart_product_id` != 1860256
2023-10-13	12:31:42	764	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:42	764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860256, '710845788314')
2023-10-13	12:31:42	764	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:42	764	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-sram-eagle-xg-1299-12-vit-10-50-or-or-unitaire' AND `virtuemart_product_id` != 1860256
2023-10-13	12:31:42	764	[DEBUG]	Query for ProductLang
2023-10-13	12:31:42	764	[DEBUG]	Executed store
2023-10-13	12:31:42	764	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette SRAM Eagle XG-1299 12-vit. 10-50 or / Or (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-sram-eagle-xg-1299-12-vit-10-50-or-or-unitaire' WHERE `virtuemart_product_id` = '1860256'
2023-10-13	12:31:42	764	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31590_cassette_sram_eagle_xg-1299_12-vit__10-50_or.jpg
2023-10-13	12:31:42	764	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:42	764	[DEBUG]	Process image file
2023-10-13	12:31:42	764	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:42	764	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:42	764	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31590_cassette_sram_eagle_xg-1299_12-vit__10-50_or.jpg
2023-10-13	12:31:42	764	[DEBUG]	Full name target: bcprisme/31590_cassette_sram_eagle_xg-1299_12-vit__10-50_or.jpg
2023-10-13	12:31:43	764	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:43	764	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31590_cassette_sram_eagle_xg-1299_12-vit__10-50_or.jpg'
2023-10-13	12:31:43	764	[DEBUG]	Query for Media
2023-10-13	12:31:43	764	[DEBUG]	Executed store
2023-10-13	12:31:43	764	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31590_cassette_sram_eagle_xg-1299_12-vit__10-50_or.jpg',`file_url_thumb`='bcprisme/31590_cassette_sram_eagle_xg-1299_12-vit__10-50_or.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12499'
2023-10-13	12:31:43	764	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:43	764	[DEBUG]	Executed store
2023-10-13	12:31:43	764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860256','12499','1')
2023-10-13	12:31:43	764	[DEBUG]	Store product image relation
2023-10-13	12:31:43	764	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:43	764	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860256 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:43	764	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:43	764	[DEBUG]	Executed store
2023-10-13	12:31:43	764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860256','0','426.183844011142','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:43	764	[DEBUG]	Checking manufacturer
2023-10-13	12:31:43	764	[DEBUG]	Load a row
2023-10-13	12:31:43	764	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:43	764	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:43	764	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:43	764	[DEBUG]	Executed store
2023-10-13	12:31:43	764	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:31:43	764	[DEBUG]	Manufacturer exists
2023-10-13	12:31:43	764	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:31:43	764	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:43	764	[DEBUG]	Executed store
2023-10-13	12:31:43	764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860256','35')
2023-10-13	12:31:43	764	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:43	764	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:43	764	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860256 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:43	764	[DEBUG]	Store custom available field
2023-10-13	12:31:43	764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860256,3,'',1)
2023-10-13	12:31:43	764	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:43	764	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:31:43	764	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860256 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:43	764	[DEBUG]	Store custom available field
2023-10-13	12:31:43	764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860256,6,'Unitaire',3)
2023-10-13	12:31:43	764	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:43	764	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:43	764	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860255
2023-10-13	12:31:43	764	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:43	764	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860255\":[1860255,8,1,\"choisir la taille\"],\"1860256\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860255
2023-10-13	12:31:43	764	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:43	764	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860256
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:43	765	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field taille
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:43	765	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:43	765	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:43	765	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:43	765	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:43	765	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:43	765	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field published
2023-10-13	12:31:43	765	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:43	765	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field override
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:43	765	[DEBUG]	Use field value for field slug
2023-10-13	12:31:43	765	[DEBUG]	Process line 765
2023-10-13	12:31:43	765	[DEBUG]	Load a row
2023-10-13	12:31:43	765	[DEBUG]	Processing item: A_5999_13
2023-10-13	12:31:43	765	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:43	765	[DEBUG]	Processing product tax
2023-10-13	12:31:43	765	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:43	765	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:43	765	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:43	765	[DEBUG]	Query for Product
2023-10-13	12:31:43	765	[DEBUG]	Executed store
2023-10-13	12:31:43	765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5999_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:43	765	[DEBUG]	Check product language entry
2023-10-13	12:31:43	765	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860257
2023-10-13	12:31:43	765	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:43	765	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5999_13' AND `virtuemart_product_id` != 1860257
2023-10-13	12:31:43	765	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:43	765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860257, 'A_5999_13')
2023-10-13	12:31:43	765	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:43	765	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-claris-cs-r8000-11-vitesses-11-32-argent' AND `virtuemart_product_id` != 1860257
2023-10-13	12:31:43	765	[DEBUG]	Query for ProductLang
2023-10-13	12:31:43	765	[DEBUG]	Executed store
2023-10-13	12:31:43	765	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.69262',`product_name`='SHIMANO Cassette Claris CS-R8000 11 vitesses 11/32 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-claris-cs-r8000-11-vitesses-11-32-argent' WHERE `virtuemart_product_id` = '1860257'
2023-10-13	12:31:43	765	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31601_shimano_cassette_claris_cs-r8000_11_vitesses_11-32.jpg
2023-10-13	12:31:43	765	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:43	765	[DEBUG]	Process image file
2023-10-13	12:31:43	765	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:43	765	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:43	765	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31601_shimano_cassette_claris_cs-r8000_11_vitesses_11-32.jpg
2023-10-13	12:31:43	765	[DEBUG]	Full name target: bcprisme/31601_shimano_cassette_claris_cs-r8000_11_vitesses_11-32.jpg
2023-10-13	12:31:44	765	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:44	765	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31601_shimano_cassette_claris_cs-r8000_11_vitesses_11-32.jpg'
2023-10-13	12:31:44	765	[DEBUG]	Query for Media
2023-10-13	12:31:44	765	[DEBUG]	Executed store
2023-10-13	12:31:44	765	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31601_shimano_cassette_claris_cs-r8000_11_vitesses_11-32.jpg',`file_url_thumb`='bcprisme/31601_shimano_cassette_claris_cs-r8000_11_vitesses_11-32.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12500'
2023-10-13	12:31:44	765	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:44	765	[DEBUG]	Executed store
2023-10-13	12:31:44	765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860257','12500','1')
2023-10-13	12:31:44	765	[DEBUG]	Store product image relation
2023-10-13	12:31:44	765	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:44	765	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860257 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:44	765	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:44	765	[DEBUG]	Executed store
2023-10-13	12:31:44	765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860257','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:44	765	[DEBUG]	Checking manufacturer
2023-10-13	12:31:44	765	[DEBUG]	Load a row
2023-10-13	12:31:44	765	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:44	765	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:44	765	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:44	765	[DEBUG]	Executed store
2023-10-13	12:31:44	765	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:44	765	[DEBUG]	Manufacturer exists
2023-10-13	12:31:44	765	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:44	765	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:44	765	[DEBUG]	Executed store
2023-10-13	12:31:44	765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860257','123')
2023-10-13	12:31:44	765	[DEBUG]	Find the custom field ID
2023-10-13	12:31:44	765	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:44	765	[DEBUG]	No custom field ID found
2023-10-13	12:31:44	765	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:44	765	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:44	765	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860257 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:44	765	[DEBUG]	Store custom available field
2023-10-13	12:31:44	765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860257,3,'0',1)
2023-10-13	12:31:44	765	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:44	765	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:44	765	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860257 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:44	765	[DEBUG]	Store custom available field
2023-10-13	12:31:44	765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860257,6,'choisir la taille',3)
2023-10-13	12:31:44	765	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:44	765	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:44	765	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:44	765	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:44	765	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860257 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:44	765	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:44	765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860257,8,1)
2023-10-13	12:31:44	765	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:44	765	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860257\":[1860257,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860257
2023-10-13	12:31:44	765	[DEBUG]	Checking category
2023-10-13	12:31:44	765	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:44	765	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860257
2023-10-13	12:31:44	765	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:44	765	[DEBUG]	Executed store
2023-10-13	12:31:44	765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860257','7283')
2023-10-13	12:31:44	765	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:44	765	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860257 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:44	765	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:44	765	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860257
2023-10-13	12:31:44	766	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:44	766	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:44	766	[DEBUG]	Use field value for field taille
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:44	766	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:44	766	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:44	766	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:44	766	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:44	766	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:44	766	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:44	766	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:44	766	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:44	766	[DEBUG]	Use field value for field published
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:44	766	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field override
2023-10-13	12:31:44	766	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:44	766	[DEBUG]	Use field value for field slug
2023-10-13	12:31:44	766	[DEBUG]	Process line 766
2023-10-13	12:31:44	766	[DEBUG]	Load a row
2023-10-13	12:31:44	766	[DEBUG]	Processing item: 4524667623328
2023-10-13	12:31:44	766	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:44	766	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:44	766	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5999_13'
2023-10-13	12:31:44	766	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:44	766	[DEBUG]	Processing product tax
2023-10-13	12:31:44	766	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:44	766	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:44	766	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:44	766	[DEBUG]	Query for Product
2023-10-13	12:31:44	766	[DEBUG]	Executed store
2023-10-13	12:31:44	766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860257','4524667623328','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:44	766	[DEBUG]	No parent found
2023-10-13	12:31:44	766	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860257 AND customfield_value = 'stockable'
2023-10-13	12:31:44	766	[DEBUG]	Check product language entry
2023-10-13	12:31:44	766	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860258
2023-10-13	12:31:44	766	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:44	766	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667623328' AND `virtuemart_product_id` != 1860258
2023-10-13	12:31:44	766	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:44	766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860258, '4524667623328')
2023-10-13	12:31:44	766	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:44	766	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-claris-cs-r8000-11-vitesses-11-32-argent-all' AND `virtuemart_product_id` != 1860258
2023-10-13	12:31:44	766	[DEBUG]	Query for ProductLang
2023-10-13	12:31:44	766	[DEBUG]	Executed store
2023-10-13	12:31:44	766	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Claris CS-R8000 11 vitesses 11/32 / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-claris-cs-r8000-11-vitesses-11-32-argent-all' WHERE `virtuemart_product_id` = '1860258'
2023-10-13	12:31:44	766	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31601_shimano_cassette_claris_cs-r8000_11_vitesses_11-32.jpg
2023-10-13	12:31:44	766	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:44	766	[DEBUG]	Process image file
2023-10-13	12:31:44	766	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:44	766	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:44	766	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31601_shimano_cassette_claris_cs-r8000_11_vitesses_11-32.jpg
2023-10-13	12:31:44	766	[DEBUG]	Full name target: bcprisme/31601_shimano_cassette_claris_cs-r8000_11_vitesses_11-32.jpg
2023-10-13	12:31:45	766	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:45	766	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31601_shimano_cassette_claris_cs-r8000_11_vitesses_11-32.jpg'
2023-10-13	12:31:45	766	[DEBUG]	Query for Media
2023-10-13	12:31:45	766	[DEBUG]	Executed store
2023-10-13	12:31:45	766	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31601_shimano_cassette_claris_cs-r8000_11_vitesses_11-32.jpg',`file_url_thumb`='bcprisme/31601_shimano_cassette_claris_cs-r8000_11_vitesses_11-32.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12500'
2023-10-13	12:31:45	766	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:45	766	[DEBUG]	Executed store
2023-10-13	12:31:45	766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860258','12500','1')
2023-10-13	12:31:45	766	[DEBUG]	Store product image relation
2023-10-13	12:31:45	766	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:45	766	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860258 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:45	766	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:45	766	[DEBUG]	Executed store
2023-10-13	12:31:45	766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860258','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:45	766	[DEBUG]	Checking manufacturer
2023-10-13	12:31:45	766	[DEBUG]	Load a row
2023-10-13	12:31:45	766	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:45	766	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:45	766	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:46	766	[DEBUG]	Executed store
2023-10-13	12:31:46	766	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:46	766	[DEBUG]	Manufacturer exists
2023-10-13	12:31:46	766	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:46	766	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:46	766	[DEBUG]	Executed store
2023-10-13	12:31:46	766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860258','123')
2023-10-13	12:31:46	766	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:46	766	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:46	766	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860258 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:46	766	[DEBUG]	Store custom available field
2023-10-13	12:31:46	766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860258,3,'',1)
2023-10-13	12:31:46	766	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:46	766	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:46	766	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860258 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:46	766	[DEBUG]	Store custom available field
2023-10-13	12:31:46	766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860258,6,'All',3)
2023-10-13	12:31:46	766	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:46	766	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:46	766	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860257
2023-10-13	12:31:46	766	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:46	766	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860257\":[1860257,8,1,\"choisir la taille\"],\"1860258\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860257
2023-10-13	12:31:46	766	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:46	766	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860258
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:46	767	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field taille
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:46	767	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:46	767	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:46	767	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:46	767	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:46	767	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:46	767	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field published
2023-10-13	12:31:46	767	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:46	767	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field override
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:46	767	[DEBUG]	Use field value for field slug
2023-10-13	12:31:46	767	[DEBUG]	Process line 767
2023-10-13	12:31:46	767	[DEBUG]	Load a row
2023-10-13	12:31:46	767	[DEBUG]	Processing item: A_6000_13
2023-10-13	12:31:46	767	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:46	767	[DEBUG]	Processing product tax
2023-10-13	12:31:46	767	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:46	767	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:46	767	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:46	767	[DEBUG]	Query for Product
2023-10-13	12:31:46	767	[DEBUG]	Executed store
2023-10-13	12:31:46	767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6000_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:46	767	[DEBUG]	Check product language entry
2023-10-13	12:31:46	767	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860259
2023-10-13	12:31:46	767	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:46	767	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6000_13' AND `virtuemart_product_id` != 1860259
2023-10-13	12:31:46	767	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:46	767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860259, 'A_6000_13')
2023-10-13	12:31:46	767	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:46	767	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-105-cs-hg700-11-vitesses-11-34-argent' AND `virtuemart_product_id` != 1860259
2023-10-13	12:31:46	767	[DEBUG]	Query for ProductLang
2023-10-13	12:31:46	767	[DEBUG]	Executed store
2023-10-13	12:31:46	767	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.72696',`product_name`='SHIMANO Cassette 105 CS-HG700 11 vitesses 11/34 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-105-cs-hg700-11-vitesses-11-34-argent' WHERE `virtuemart_product_id` = '1860259'
2023-10-13	12:31:46	767	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31602_shimano_cassette_105_cs-hg700_11_vitesses_11-34.jpg
2023-10-13	12:31:46	767	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:46	767	[DEBUG]	Process image file
2023-10-13	12:31:46	767	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:46	767	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:46	767	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31602_shimano_cassette_105_cs-hg700_11_vitesses_11-34.jpg
2023-10-13	12:31:46	767	[DEBUG]	Full name target: bcprisme/31602_shimano_cassette_105_cs-hg700_11_vitesses_11-34.jpg
2023-10-13	12:31:46	767	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:46	767	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31602_shimano_cassette_105_cs-hg700_11_vitesses_11-34.jpg'
2023-10-13	12:31:46	767	[DEBUG]	Query for Media
2023-10-13	12:31:46	767	[DEBUG]	Executed store
2023-10-13	12:31:46	767	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31602_shimano_cassette_105_cs-hg700_11_vitesses_11-34.jpg',`file_url_thumb`='bcprisme/31602_shimano_cassette_105_cs-hg700_11_vitesses_11-34.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12501'
2023-10-13	12:31:46	767	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:46	767	[DEBUG]	Executed store
2023-10-13	12:31:46	767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860259','12501','1')
2023-10-13	12:31:46	767	[DEBUG]	Store product image relation
2023-10-13	12:31:46	767	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:46	767	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860259 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:46	767	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:47	767	[DEBUG]	Executed store
2023-10-13	12:31:47	767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860259','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:47	767	[DEBUG]	Checking manufacturer
2023-10-13	12:31:47	767	[DEBUG]	Load a row
2023-10-13	12:31:47	767	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:47	767	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:47	767	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:47	767	[DEBUG]	Executed store
2023-10-13	12:31:47	767	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:47	767	[DEBUG]	Manufacturer exists
2023-10-13	12:31:47	767	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:31:47	767	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:47	767	[DEBUG]	Executed store
2023-10-13	12:31:47	767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860259','26')
2023-10-13	12:31:47	767	[DEBUG]	Find the custom field ID
2023-10-13	12:31:47	767	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:47	767	[DEBUG]	No custom field ID found
2023-10-13	12:31:47	767	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:47	767	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:47	767	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860259 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:47	767	[DEBUG]	Store custom available field
2023-10-13	12:31:47	767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860259,3,'0',1)
2023-10-13	12:31:47	767	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:47	767	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:47	767	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860259 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:47	767	[DEBUG]	Store custom available field
2023-10-13	12:31:47	767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860259,6,'choisir la taille',3)
2023-10-13	12:31:47	767	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:47	767	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:47	767	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:47	767	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:47	767	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860259 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:47	767	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:47	767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860259,8,1)
2023-10-13	12:31:47	767	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:47	767	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860259\":[1860259,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860259
2023-10-13	12:31:47	767	[DEBUG]	Checking category
2023-10-13	12:31:47	767	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:47	767	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860259
2023-10-13	12:31:47	767	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:47	767	[DEBUG]	Executed store
2023-10-13	12:31:47	767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860259','7283')
2023-10-13	12:31:47	767	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:47	767	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860259 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:47	767	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:47	767	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860259
2023-10-13	12:31:47	768	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:47	768	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:47	768	[DEBUG]	Use field value for field taille
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:47	768	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:47	768	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:47	768	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:47	768	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:47	768	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:47	768	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:47	768	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:47	768	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:47	768	[DEBUG]	Use field value for field published
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:47	768	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field override
2023-10-13	12:31:47	768	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:47	768	[DEBUG]	Use field value for field slug
2023-10-13	12:31:47	768	[DEBUG]	Process line 768
2023-10-13	12:31:47	768	[DEBUG]	Load a row
2023-10-13	12:31:47	768	[DEBUG]	Processing item: 4524667965992
2023-10-13	12:31:47	768	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:47	768	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:47	768	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6000_13'
2023-10-13	12:31:47	768	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:47	768	[DEBUG]	Processing product tax
2023-10-13	12:31:47	768	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:47	768	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:47	768	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:47	768	[DEBUG]	Query for Product
2023-10-13	12:31:47	768	[DEBUG]	Executed store
2023-10-13	12:31:47	768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860259','4524667965992','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:47	768	[DEBUG]	No parent found
2023-10-13	12:31:47	768	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860259 AND customfield_value = 'stockable'
2023-10-13	12:31:47	768	[DEBUG]	Check product language entry
2023-10-13	12:31:47	768	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860260
2023-10-13	12:31:47	768	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:47	768	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667965992' AND `virtuemart_product_id` != 1860260
2023-10-13	12:31:47	768	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:47	768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860260, '4524667965992')
2023-10-13	12:31:47	768	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:47	768	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-105-cs-hg700-11-vitesses-11-34-argent-all' AND `virtuemart_product_id` != 1860260
2023-10-13	12:31:47	768	[DEBUG]	Query for ProductLang
2023-10-13	12:31:47	768	[DEBUG]	Executed store
2023-10-13	12:31:47	768	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette 105 CS-HG700 11 vitesses 11/34 / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-105-cs-hg700-11-vitesses-11-34-argent-all' WHERE `virtuemart_product_id` = '1860260'
2023-10-13	12:31:47	768	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31602_shimano_cassette_105_cs-hg700_11_vitesses_11-34.jpg
2023-10-13	12:31:47	768	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:47	768	[DEBUG]	Process image file
2023-10-13	12:31:47	768	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:47	768	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:47	768	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31602_shimano_cassette_105_cs-hg700_11_vitesses_11-34.jpg
2023-10-13	12:31:47	768	[DEBUG]	Full name target: bcprisme/31602_shimano_cassette_105_cs-hg700_11_vitesses_11-34.jpg
2023-10-13	12:31:47	768	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:47	768	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31602_shimano_cassette_105_cs-hg700_11_vitesses_11-34.jpg'
2023-10-13	12:31:47	768	[DEBUG]	Query for Media
2023-10-13	12:31:47	768	[DEBUG]	Executed store
2023-10-13	12:31:47	768	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31602_shimano_cassette_105_cs-hg700_11_vitesses_11-34.jpg',`file_url_thumb`='bcprisme/31602_shimano_cassette_105_cs-hg700_11_vitesses_11-34.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12501'
2023-10-13	12:31:47	768	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:47	768	[DEBUG]	Executed store
2023-10-13	12:31:47	768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860260','12501','1')
2023-10-13	12:31:47	768	[DEBUG]	Store product image relation
2023-10-13	12:31:47	768	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:47	768	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860260 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:47	768	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:47	768	[DEBUG]	Executed store
2023-10-13	12:31:47	768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860260','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:47	768	[DEBUG]	Checking manufacturer
2023-10-13	12:31:48	768	[DEBUG]	Load a row
2023-10-13	12:31:48	768	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:48	768	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:48	768	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:48	768	[DEBUG]	Executed store
2023-10-13	12:31:48	768	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:48	768	[DEBUG]	Manufacturer exists
2023-10-13	12:31:48	768	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:31:48	768	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:48	768	[DEBUG]	Executed store
2023-10-13	12:31:48	768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860260','26')
2023-10-13	12:31:48	768	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:48	768	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:48	768	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860260 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:48	768	[DEBUG]	Store custom available field
2023-10-13	12:31:48	768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860260,3,'',1)
2023-10-13	12:31:48	768	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:48	768	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:48	768	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860260 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:48	768	[DEBUG]	Store custom available field
2023-10-13	12:31:48	768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860260,6,'All',3)
2023-10-13	12:31:48	768	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:48	768	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:48	768	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860259
2023-10-13	12:31:48	768	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:48	768	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860259\":[1860259,8,1,\"choisir la taille\"],\"1860260\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860259
2023-10-13	12:31:48	768	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:48	768	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860260
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:48	769	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field taille
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:48	769	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:48	769	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:48	769	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:48	769	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:48	769	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:48	769	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field published
2023-10-13	12:31:48	769	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:48	769	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field override
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:48	769	[DEBUG]	Use field value for field slug
2023-10-13	12:31:48	769	[DEBUG]	Process line 769
2023-10-13	12:31:48	769	[DEBUG]	Load a row
2023-10-13	12:31:48	769	[DEBUG]	Processing item: A_6003_13
2023-10-13	12:31:48	769	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:48	769	[DEBUG]	Processing product tax
2023-10-13	12:31:48	769	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:48	769	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:48	769	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:48	769	[DEBUG]	Query for Product
2023-10-13	12:31:48	769	[DEBUG]	Executed store
2023-10-13	12:31:48	769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6003_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:48	769	[DEBUG]	Check product language entry
2023-10-13	12:31:48	769	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860261
2023-10-13	12:31:48	769	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:48	769	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6003_13' AND `virtuemart_product_id` != 1860261
2023-10-13	12:31:48	769	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:48	769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860261, 'A_6003_13')
2023-10-13	12:31:48	769	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:48	769	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-rs8000-cs-hg800-11-vitesses-11-34-argent' AND `virtuemart_product_id` != 1860261
2023-10-13	12:31:48	769	[DEBUG]	Query for ProductLang
2023-10-13	12:31:48	769	[DEBUG]	Executed store
2023-10-13	12:31:48	769	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.69298',`product_name`='SHIMANO Cassette Ultegra CS-RS8000/CS-HG800 11-vitesses 11.34 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-rs8000-cs-hg800-11-vitesses-11-34-argent' WHERE `virtuemart_product_id` = '1860261'
2023-10-13	12:31:48	769	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31605_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_11_34.jpg
2023-10-13	12:31:48	769	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:48	769	[DEBUG]	Process image file
2023-10-13	12:31:48	769	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:48	769	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:48	769	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31605_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_11_34.jpg
2023-10-13	12:31:48	769	[DEBUG]	Full name target: bcprisme/31605_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_11_34.jpg
2023-10-13	12:31:49	769	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:49	769	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31605_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_11_34.jpg'
2023-10-13	12:31:49	769	[DEBUG]	Query for Media
2023-10-13	12:31:49	769	[DEBUG]	Executed store
2023-10-13	12:31:49	769	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31605_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_11_34.jpg',`file_url_thumb`='bcprisme/31605_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_11_34.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12502'
2023-10-13	12:31:49	769	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:49	769	[DEBUG]	Executed store
2023-10-13	12:31:49	769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860261','12502','1')
2023-10-13	12:31:49	769	[DEBUG]	Store product image relation
2023-10-13	12:31:49	769	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:49	769	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860261 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:49	769	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:49	769	[DEBUG]	Executed store
2023-10-13	12:31:49	769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860261','0','117.827298050139','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:49	769	[DEBUG]	Checking manufacturer
2023-10-13	12:31:49	769	[DEBUG]	Load a row
2023-10-13	12:31:49	769	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:49	769	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:49	769	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:49	769	[DEBUG]	Executed store
2023-10-13	12:31:49	769	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:49	769	[DEBUG]	Manufacturer exists
2023-10-13	12:31:49	769	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:31:49	769	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:49	769	[DEBUG]	Executed store
2023-10-13	12:31:49	769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860261','26')
2023-10-13	12:31:49	769	[DEBUG]	Find the custom field ID
2023-10-13	12:31:49	769	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:49	769	[DEBUG]	No custom field ID found
2023-10-13	12:31:49	769	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:49	769	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:49	769	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860261 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:49	769	[DEBUG]	Store custom available field
2023-10-13	12:31:49	769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860261,3,'0',1)
2023-10-13	12:31:49	769	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:49	769	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:49	769	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860261 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:49	769	[DEBUG]	Store custom available field
2023-10-13	12:31:49	769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860261,6,'choisir la taille',3)
2023-10-13	12:31:49	769	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:49	769	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:49	769	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:49	769	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:49	769	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860261 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:49	769	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:49	769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860261,8,1)
2023-10-13	12:31:49	769	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:49	769	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860261\":[1860261,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860261
2023-10-13	12:31:49	769	[DEBUG]	Checking category
2023-10-13	12:31:49	769	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:49	769	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860261
2023-10-13	12:31:49	769	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:49	769	[DEBUG]	Executed store
2023-10-13	12:31:49	769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860261','7283')
2023-10-13	12:31:49	769	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:49	769	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860261 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:49	769	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:49	769	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860261
2023-10-13	12:31:49	770	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:49	770	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:49	770	[DEBUG]	Use field value for field taille
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:49	770	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:49	770	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:49	770	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:49	770	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:49	770	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:49	770	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:49	770	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:49	770	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:49	770	[DEBUG]	Use field value for field published
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:49	770	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field override
2023-10-13	12:31:49	770	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:49	770	[DEBUG]	Use field value for field slug
2023-10-13	12:31:49	770	[DEBUG]	Process line 770
2023-10-13	12:31:49	770	[DEBUG]	Load a row
2023-10-13	12:31:49	770	[DEBUG]	Processing item: 4524667768838
2023-10-13	12:31:49	770	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:49	770	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:49	770	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6003_13'
2023-10-13	12:31:49	770	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:49	770	[DEBUG]	Processing product tax
2023-10-13	12:31:49	770	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:49	770	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:49	770	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:49	770	[DEBUG]	Query for Product
2023-10-13	12:31:49	770	[DEBUG]	Executed store
2023-10-13	12:31:49	770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860261','4524667768838','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:49	770	[DEBUG]	No parent found
2023-10-13	12:31:49	770	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860261 AND customfield_value = 'stockable'
2023-10-13	12:31:49	770	[DEBUG]	Check product language entry
2023-10-13	12:31:49	770	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860262
2023-10-13	12:31:49	770	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:49	770	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667768838' AND `virtuemart_product_id` != 1860262
2023-10-13	12:31:49	770	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:49	770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860262, '4524667768838')
2023-10-13	12:31:49	770	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:49	770	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-rs8000-cs-hg800-11-vitesses-11-34-argent-unitaire' AND `virtuemart_product_id` != 1860262
2023-10-13	12:31:49	770	[DEBUG]	Query for ProductLang
2023-10-13	12:31:49	770	[DEBUG]	Executed store
2023-10-13	12:31:49	770	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Ultegra CS-RS8000/CS-HG800 11-vitesses 11.34 / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-rs8000-cs-hg800-11-vitesses-11-34-argent-unitaire' WHERE `virtuemart_product_id` = '1860262'
2023-10-13	12:31:49	770	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31605_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_11_34.jpg
2023-10-13	12:31:49	770	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:49	770	[DEBUG]	Process image file
2023-10-13	12:31:49	770	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:49	770	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:49	770	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31605_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_11_34.jpg
2023-10-13	12:31:49	770	[DEBUG]	Full name target: bcprisme/31605_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_11_34.jpg
2023-10-13	12:31:50	770	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:50	770	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31605_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_11_34.jpg'
2023-10-13	12:31:50	770	[DEBUG]	Query for Media
2023-10-13	12:31:50	770	[DEBUG]	Executed store
2023-10-13	12:31:50	770	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31605_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_11_34.jpg',`file_url_thumb`='bcprisme/31605_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_11_34.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12502'
2023-10-13	12:31:50	770	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:50	770	[DEBUG]	Executed store
2023-10-13	12:31:50	770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860262','12502','1')
2023-10-13	12:31:50	770	[DEBUG]	Store product image relation
2023-10-13	12:31:50	770	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:50	770	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860262 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:50	770	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:50	770	[DEBUG]	Executed store
2023-10-13	12:31:50	770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860262','0','117.827298050139','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:50	770	[DEBUG]	Checking manufacturer
2023-10-13	12:31:50	770	[DEBUG]	Load a row
2023-10-13	12:31:50	770	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:50	770	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:50	770	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:50	770	[DEBUG]	Executed store
2023-10-13	12:31:50	770	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:50	770	[DEBUG]	Manufacturer exists
2023-10-13	12:31:50	770	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:31:50	770	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:50	770	[DEBUG]	Executed store
2023-10-13	12:31:50	770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860262','26')
2023-10-13	12:31:50	770	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:50	770	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:50	770	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860262 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:50	770	[DEBUG]	Store custom available field
2023-10-13	12:31:50	770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860262,3,'',1)
2023-10-13	12:31:50	770	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:50	770	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:31:50	770	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860262 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:50	770	[DEBUG]	Store custom available field
2023-10-13	12:31:50	770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860262,6,'Unitaire',3)
2023-10-13	12:31:50	770	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:50	770	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:50	770	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860261
2023-10-13	12:31:50	770	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:50	770	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860261\":[1860261,8,1,\"choisir la taille\"],\"1860262\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860261
2023-10-13	12:31:50	770	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:50	770	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860262
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:50	771	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field taille
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:50	771	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:50	771	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:50	771	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:50	771	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:50	771	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:50	771	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field published
2023-10-13	12:31:50	771	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:50	771	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field override
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:50	771	[DEBUG]	Use field value for field slug
2023-10-13	12:31:50	771	[DEBUG]	Process line 771
2023-10-13	12:31:50	771	[DEBUG]	Load a row
2023-10-13	12:31:50	771	[DEBUG]	Processing item: A_6004_13
2023-10-13	12:31:50	771	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:50	771	[DEBUG]	Processing product tax
2023-10-13	12:31:50	771	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:50	771	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:50	771	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:50	771	[DEBUG]	Query for Product
2023-10-13	12:31:50	771	[DEBUG]	Executed store
2023-10-13	12:31:50	771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6004_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:50	771	[DEBUG]	Check product language entry
2023-10-13	12:31:50	771	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860263
2023-10-13	12:31:50	771	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:50	771	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6004_13' AND `virtuemart_product_id` != 1860263
2023-10-13	12:31:50	771	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:50	771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860263, 'A_6004_13')
2023-10-13	12:31:50	771	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:50	771	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg400-9-vitesses-11-36-dents-argent' AND `virtuemart_product_id` != 1860263
2023-10-13	12:31:50	771	[DEBUG]	Query for ProductLang
2023-10-13	12:31:50	771	[DEBUG]	Executed store
2023-10-13	12:31:50	771	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.69878',`product_name`='SHIMANO Cassette Alivio CS-HG400 9-vitesses 11-36 dents  / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg400-9-vitesses-11-36-dents-argent' WHERE `virtuemart_product_id` = '1860263'
2023-10-13	12:31:50	771	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31606_shimano_cassette_alivio_cs-hg400_9-vitesses_11-36_dents_.jpg
2023-10-13	12:31:50	771	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:50	771	[DEBUG]	Process image file
2023-10-13	12:31:50	771	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:50	771	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:50	771	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31606_shimano_cassette_alivio_cs-hg400_9-vitesses_11-36_dents_.jpg
2023-10-13	12:31:50	771	[DEBUG]	Full name target: bcprisme/31606_shimano_cassette_alivio_cs-hg400_9-vitesses_11-36_dents_.jpg
2023-10-13	12:31:51	771	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:51	771	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31606_shimano_cassette_alivio_cs-hg400_9-vitesses_11-36_dents_.jpg'
2023-10-13	12:31:51	771	[DEBUG]	Query for Media
2023-10-13	12:31:51	771	[DEBUG]	Executed store
2023-10-13	12:31:51	771	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31606_shimano_cassette_alivio_cs-hg400_9-vitesses_11-36_dents_.jpg',`file_url_thumb`='bcprisme/31606_shimano_cassette_alivio_cs-hg400_9-vitesses_11-36_dents_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12503'
2023-10-13	12:31:51	771	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:51	771	[DEBUG]	Executed store
2023-10-13	12:31:51	771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860263','12503','1')
2023-10-13	12:31:51	771	[DEBUG]	Store product image relation
2023-10-13	12:31:51	771	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:51	771	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860263 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:51	771	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:51	771	[DEBUG]	Executed store
2023-10-13	12:31:51	771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860263','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:51	771	[DEBUG]	Checking manufacturer
2023-10-13	12:31:51	771	[DEBUG]	Load a row
2023-10-13	12:31:51	771	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:51	771	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:51	771	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:51	771	[DEBUG]	Executed store
2023-10-13	12:31:51	771	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:51	771	[DEBUG]	Manufacturer exists
2023-10-13	12:31:51	771	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:51	771	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:51	771	[DEBUG]	Executed store
2023-10-13	12:31:51	771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860263','123')
2023-10-13	12:31:51	771	[DEBUG]	Find the custom field ID
2023-10-13	12:31:51	771	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:51	771	[DEBUG]	No custom field ID found
2023-10-13	12:31:51	771	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:51	771	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:51	771	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860263 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:51	771	[DEBUG]	Store custom available field
2023-10-13	12:31:51	771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860263,3,'0',1)
2023-10-13	12:31:51	771	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:51	771	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:51	771	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860263 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:51	771	[DEBUG]	Store custom available field
2023-10-13	12:31:51	771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860263,6,'choisir la taille',3)
2023-10-13	12:31:51	771	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:51	771	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:51	771	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:51	771	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:51	771	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860263 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:51	771	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:51	771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860263,8,1)
2023-10-13	12:31:51	771	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:51	771	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860263\":[1860263,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860263
2023-10-13	12:31:51	771	[DEBUG]	Checking category
2023-10-13	12:31:51	771	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:51	771	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860263
2023-10-13	12:31:51	771	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:51	771	[DEBUG]	Executed store
2023-10-13	12:31:51	771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860263','7283')
2023-10-13	12:31:51	771	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:51	771	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860263 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:51	771	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:51	771	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860263
2023-10-13	12:31:51	772	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:51	772	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:51	772	[DEBUG]	Use field value for field taille
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:51	772	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:51	772	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:51	772	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:51	772	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:51	772	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:51	772	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:51	772	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:51	772	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:51	772	[DEBUG]	Use field value for field published
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:51	772	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field override
2023-10-13	12:31:51	772	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:51	772	[DEBUG]	Use field value for field slug
2023-10-13	12:31:51	772	[DEBUG]	Process line 772
2023-10-13	12:31:51	772	[DEBUG]	Load a row
2023-10-13	12:31:51	772	[DEBUG]	Processing item: 4524667708148
2023-10-13	12:31:51	772	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:51	772	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:51	772	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6004_13'
2023-10-13	12:31:51	772	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:51	772	[DEBUG]	Processing product tax
2023-10-13	12:31:51	772	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:51	772	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:51	772	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:51	772	[DEBUG]	Query for Product
2023-10-13	12:31:51	772	[DEBUG]	Executed store
2023-10-13	12:31:51	772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860263','4524667708148','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:51	772	[DEBUG]	No parent found
2023-10-13	12:31:51	772	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860263 AND customfield_value = 'stockable'
2023-10-13	12:31:51	772	[DEBUG]	Check product language entry
2023-10-13	12:31:51	772	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860264
2023-10-13	12:31:51	772	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:51	772	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667708148' AND `virtuemart_product_id` != 1860264
2023-10-13	12:31:51	772	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:51	772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860264, '4524667708148')
2023-10-13	12:31:51	772	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:51	772	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg400-9-vitesses-11-36-dents-argent-all' AND `virtuemart_product_id` != 1860264
2023-10-13	12:31:51	772	[DEBUG]	Query for ProductLang
2023-10-13	12:31:51	772	[DEBUG]	Executed store
2023-10-13	12:31:51	772	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Alivio CS-HG400 9-vitesses 11-36 dents  / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg400-9-vitesses-11-36-dents-argent-all' WHERE `virtuemart_product_id` = '1860264'
2023-10-13	12:31:51	772	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31606_shimano_cassette_alivio_cs-hg400_9-vitesses_11-36_dents_.jpg
2023-10-13	12:31:51	772	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:51	772	[DEBUG]	Process image file
2023-10-13	12:31:51	772	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:51	772	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:51	772	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31606_shimano_cassette_alivio_cs-hg400_9-vitesses_11-36_dents_.jpg
2023-10-13	12:31:51	772	[DEBUG]	Full name target: bcprisme/31606_shimano_cassette_alivio_cs-hg400_9-vitesses_11-36_dents_.jpg
2023-10-13	12:31:52	772	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:52	772	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31606_shimano_cassette_alivio_cs-hg400_9-vitesses_11-36_dents_.jpg'
2023-10-13	12:31:52	772	[DEBUG]	Query for Media
2023-10-13	12:31:52	772	[DEBUG]	Executed store
2023-10-13	12:31:52	772	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31606_shimano_cassette_alivio_cs-hg400_9-vitesses_11-36_dents_.jpg',`file_url_thumb`='bcprisme/31606_shimano_cassette_alivio_cs-hg400_9-vitesses_11-36_dents_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12503'
2023-10-13	12:31:52	772	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:52	772	[DEBUG]	Executed store
2023-10-13	12:31:52	772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860264','12503','1')
2023-10-13	12:31:52	772	[DEBUG]	Store product image relation
2023-10-13	12:31:52	772	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:52	772	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860264 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:52	772	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:52	772	[DEBUG]	Executed store
2023-10-13	12:31:52	772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860264','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:52	772	[DEBUG]	Checking manufacturer
2023-10-13	12:31:52	772	[DEBUG]	Load a row
2023-10-13	12:31:52	772	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:52	772	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:52	772	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:52	772	[DEBUG]	Executed store
2023-10-13	12:31:52	772	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:31:52	772	[DEBUG]	Manufacturer exists
2023-10-13	12:31:52	772	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:31:52	772	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:52	772	[DEBUG]	Executed store
2023-10-13	12:31:52	772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860264','123')
2023-10-13	12:31:52	772	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:52	772	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:52	772	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860264 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:52	772	[DEBUG]	Store custom available field
2023-10-13	12:31:52	772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860264,3,'',1)
2023-10-13	12:31:52	772	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:52	772	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:52	772	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860264 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:52	772	[DEBUG]	Store custom available field
2023-10-13	12:31:52	772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860264,6,'All',3)
2023-10-13	12:31:52	772	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:52	772	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:52	772	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860263
2023-10-13	12:31:52	772	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:52	772	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860263\":[1860263,8,1,\"choisir la taille\"],\"1860264\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860263
2023-10-13	12:31:52	772	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:52	772	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860264
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:52	773	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field taille
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:52	773	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:52	773	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:52	773	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:52	773	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:52	773	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:52	773	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field published
2023-10-13	12:31:52	773	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:52	773	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field override
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:52	773	[DEBUG]	Use field value for field slug
2023-10-13	12:31:52	773	[DEBUG]	Process line 773
2023-10-13	12:31:52	773	[DEBUG]	Load a row
2023-10-13	12:31:52	773	[DEBUG]	Processing item: A_6007_13
2023-10-13	12:31:52	773	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:52	773	[DEBUG]	Processing product tax
2023-10-13	12:31:52	773	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:52	773	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:52	773	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:52	773	[DEBUG]	Query for Product
2023-10-13	12:31:52	773	[DEBUG]	Executed store
2023-10-13	12:31:52	773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6007_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:52	773	[DEBUG]	Check product language entry
2023-10-13	12:31:52	773	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860265
2023-10-13	12:31:52	773	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:52	773	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6007_13' AND `virtuemart_product_id` != 1860265
2023-10-13	12:31:52	773	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:52	773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860265, 'A_6007_13')
2023-10-13	12:31:52	773	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:52	773	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-105-cs-r7000-11-vitesses-11-32-argent' AND `virtuemart_product_id` != 1860265
2023-10-13	12:31:52	773	[DEBUG]	Query for ProductLang
2023-10-13	12:31:52	773	[DEBUG]	Executed store
2023-10-13	12:31:52	773	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.72589',`product_name`='SHIMANO Cassette 105 CS-R7000 11 vitesses 11/32 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-105-cs-r7000-11-vitesses-11-32-argent' WHERE `virtuemart_product_id` = '1860265'
2023-10-13	12:31:52	773	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31609_shimano_cassette_105_cs-r7000_11_vitesses_11-32.jpg
2023-10-13	12:31:52	773	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:52	773	[DEBUG]	Process image file
2023-10-13	12:31:52	773	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:52	773	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:52	773	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31609_shimano_cassette_105_cs-r7000_11_vitesses_11-32.jpg
2023-10-13	12:31:52	773	[DEBUG]	Full name target: bcprisme/31609_shimano_cassette_105_cs-r7000_11_vitesses_11-32.jpg
2023-10-13	12:31:53	773	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:53	773	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31609_shimano_cassette_105_cs-r7000_11_vitesses_11-32.jpg'
2023-10-13	12:31:53	773	[DEBUG]	Query for Media
2023-10-13	12:31:53	773	[DEBUG]	Executed store
2023-10-13	12:31:53	773	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31609_shimano_cassette_105_cs-r7000_11_vitesses_11-32.jpg',`file_url_thumb`='bcprisme/31609_shimano_cassette_105_cs-r7000_11_vitesses_11-32.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12504'
2023-10-13	12:31:53	773	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:53	773	[DEBUG]	Executed store
2023-10-13	12:31:53	773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860265','12504','1')
2023-10-13	12:31:53	773	[DEBUG]	Store product image relation
2023-10-13	12:31:53	773	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:53	773	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860265 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:53	773	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:53	773	[DEBUG]	Executed store
2023-10-13	12:31:53	773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860265','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:53	773	[DEBUG]	Checking manufacturer
2023-10-13	12:31:53	773	[DEBUG]	Load a row
2023-10-13	12:31:53	773	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:53	773	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:53	773	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:53	773	[DEBUG]	Executed store
2023-10-13	12:31:53	773	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:53	773	[DEBUG]	Manufacturer exists
2023-10-13	12:31:53	773	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:31:53	773	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:53	773	[DEBUG]	Executed store
2023-10-13	12:31:53	773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860265','26')
2023-10-13	12:31:53	773	[DEBUG]	Find the custom field ID
2023-10-13	12:31:53	773	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:53	773	[DEBUG]	No custom field ID found
2023-10-13	12:31:53	773	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:53	773	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:53	773	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860265 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:53	773	[DEBUG]	Store custom available field
2023-10-13	12:31:53	773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860265,3,'0',1)
2023-10-13	12:31:53	773	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:53	773	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:53	773	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860265 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:53	773	[DEBUG]	Store custom available field
2023-10-13	12:31:53	773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860265,6,'choisir la taille',3)
2023-10-13	12:31:53	773	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:53	773	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:53	773	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:53	773	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:53	773	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860265 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:53	773	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:53	773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860265,8,1)
2023-10-13	12:31:53	773	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:53	773	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860265\":[1860265,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860265
2023-10-13	12:31:53	773	[DEBUG]	Checking category
2023-10-13	12:31:53	773	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:53	773	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860265
2023-10-13	12:31:53	773	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:53	773	[DEBUG]	Executed store
2023-10-13	12:31:53	773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860265','7283')
2023-10-13	12:31:53	773	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:53	773	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860265 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:53	773	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:53	773	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860265
2023-10-13	12:31:53	774	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:53	774	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:53	774	[DEBUG]	Use field value for field taille
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:53	774	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:53	774	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:53	774	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:53	774	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:53	774	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:53	774	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:53	774	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:53	774	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:53	774	[DEBUG]	Use field value for field published
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:53	774	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field override
2023-10-13	12:31:53	774	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:53	774	[DEBUG]	Use field value for field slug
2023-10-13	12:31:53	774	[DEBUG]	Process line 774
2023-10-13	12:31:53	774	[DEBUG]	Load a row
2023-10-13	12:31:53	774	[DEBUG]	Processing item: 4524667896951
2023-10-13	12:31:53	774	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:53	774	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:53	774	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6007_13'
2023-10-13	12:31:53	774	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:53	774	[DEBUG]	Processing product tax
2023-10-13	12:31:53	774	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:53	774	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:53	774	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:53	774	[DEBUG]	Query for Product
2023-10-13	12:31:53	774	[DEBUG]	Executed store
2023-10-13	12:31:53	774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860265','4524667896951','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:53	774	[DEBUG]	No parent found
2023-10-13	12:31:53	774	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860265 AND customfield_value = 'stockable'
2023-10-13	12:31:53	774	[DEBUG]	Check product language entry
2023-10-13	12:31:53	774	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860266
2023-10-13	12:31:53	774	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:53	774	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667896951' AND `virtuemart_product_id` != 1860266
2023-10-13	12:31:53	774	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:53	774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860266, '4524667896951')
2023-10-13	12:31:53	774	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:53	774	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-105-cs-r7000-11-vitesses-11-32-argent-all' AND `virtuemart_product_id` != 1860266
2023-10-13	12:31:53	774	[DEBUG]	Query for ProductLang
2023-10-13	12:31:53	774	[DEBUG]	Executed store
2023-10-13	12:31:53	774	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette 105 CS-R7000 11 vitesses 11/32 / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-105-cs-r7000-11-vitesses-11-32-argent-all' WHERE `virtuemart_product_id` = '1860266'
2023-10-13	12:31:53	774	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31609_shimano_cassette_105_cs-r7000_11_vitesses_11-32.jpg
2023-10-13	12:31:53	774	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:53	774	[DEBUG]	Process image file
2023-10-13	12:31:53	774	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:53	774	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:53	774	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31609_shimano_cassette_105_cs-r7000_11_vitesses_11-32.jpg
2023-10-13	12:31:53	774	[DEBUG]	Full name target: bcprisme/31609_shimano_cassette_105_cs-r7000_11_vitesses_11-32.jpg
2023-10-13	12:31:54	774	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:54	774	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31609_shimano_cassette_105_cs-r7000_11_vitesses_11-32.jpg'
2023-10-13	12:31:54	774	[DEBUG]	Query for Media
2023-10-13	12:31:54	774	[DEBUG]	Executed store
2023-10-13	12:31:54	774	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31609_shimano_cassette_105_cs-r7000_11_vitesses_11-32.jpg',`file_url_thumb`='bcprisme/31609_shimano_cassette_105_cs-r7000_11_vitesses_11-32.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12504'
2023-10-13	12:31:54	774	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:54	774	[DEBUG]	Executed store
2023-10-13	12:31:54	774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860266','12504','1')
2023-10-13	12:31:54	774	[DEBUG]	Store product image relation
2023-10-13	12:31:54	774	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:54	774	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860266 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:54	774	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:54	774	[DEBUG]	Executed store
2023-10-13	12:31:54	774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860266','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:54	774	[DEBUG]	Checking manufacturer
2023-10-13	12:31:54	774	[DEBUG]	Load a row
2023-10-13	12:31:54	774	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:54	774	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:54	774	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:54	774	[DEBUG]	Executed store
2023-10-13	12:31:54	774	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:54	774	[DEBUG]	Manufacturer exists
2023-10-13	12:31:54	774	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:31:54	774	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:54	774	[DEBUG]	Executed store
2023-10-13	12:31:54	774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860266','26')
2023-10-13	12:31:54	774	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:54	774	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:54	774	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860266 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:54	774	[DEBUG]	Store custom available field
2023-10-13	12:31:54	774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860266,3,'',1)
2023-10-13	12:31:54	774	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:54	774	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:54	774	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860266 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:54	774	[DEBUG]	Store custom available field
2023-10-13	12:31:54	774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860266,6,'All',3)
2023-10-13	12:31:54	774	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:54	774	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:54	774	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860265
2023-10-13	12:31:54	774	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:54	774	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860265\":[1860265,8,1,\"choisir la taille\"],\"1860266\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860265
2023-10-13	12:31:54	774	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:54	774	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860266
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:54	775	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field taille
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:54	775	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:54	775	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:54	775	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:54	775	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:54	775	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:54	775	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field published
2023-10-13	12:31:54	775	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:54	775	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field override
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:54	775	[DEBUG]	Use field value for field slug
2023-10-13	12:31:54	775	[DEBUG]	Process line 775
2023-10-13	12:31:54	775	[DEBUG]	Load a row
2023-10-13	12:31:54	775	[DEBUG]	Processing item: A_6008_1
2023-10-13	12:31:54	775	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:54	775	[DEBUG]	Processing product tax
2023-10-13	12:31:54	775	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:54	775	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:54	775	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:54	775	[DEBUG]	Query for Product
2023-10-13	12:31:54	775	[DEBUG]	Executed store
2023-10-13	12:31:54	775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6008_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:54	775	[DEBUG]	Check product language entry
2023-10-13	12:31:54	775	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860267
2023-10-13	12:31:54	775	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:54	775	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6008_1' AND `virtuemart_product_id` != 1860267
2023-10-13	12:31:54	775	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:54	775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860267, 'A_6008_1')
2023-10-13	12:31:54	775	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:54	775	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-xtr-cs-m9100-12-vitesses-10-51-noir' AND `virtuemart_product_id` != 1860267
2023-10-13	12:31:54	775	[DEBUG]	Query for ProductLang
2023-10-13	12:31:54	775	[DEBUG]	Executed store
2023-10-13	12:31:54	775	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.72599',`product_name`='SHIMANO Cassette XTR CS-M9100 12 vitesses 10/51 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-xtr-cs-m9100-12-vitesses-10-51-noir' WHERE `virtuemart_product_id` = '1860267'
2023-10-13	12:31:54	775	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31610_shimano_cassette_xtr_cs-m9100_12_vitesses_10-51.jpg
2023-10-13	12:31:54	775	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:54	775	[DEBUG]	Process image file
2023-10-13	12:31:54	775	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:54	775	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:54	775	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31610_shimano_cassette_xtr_cs-m9100_12_vitesses_10-51.jpg
2023-10-13	12:31:54	775	[DEBUG]	Full name target: bcprisme/31610_shimano_cassette_xtr_cs-m9100_12_vitesses_10-51.jpg
2023-10-13	12:31:55	775	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:55	775	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31610_shimano_cassette_xtr_cs-m9100_12_vitesses_10-51.jpg'
2023-10-13	12:31:55	775	[DEBUG]	Query for Media
2023-10-13	12:31:55	775	[DEBUG]	Executed store
2023-10-13	12:31:55	775	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31610_shimano_cassette_xtr_cs-m9100_12_vitesses_10-51.jpg',`file_url_thumb`='bcprisme/31610_shimano_cassette_xtr_cs-m9100_12_vitesses_10-51.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12505'
2023-10-13	12:31:55	775	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:55	775	[DEBUG]	Executed store
2023-10-13	12:31:55	775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860267','12505','1')
2023-10-13	12:31:55	775	[DEBUG]	Store product image relation
2023-10-13	12:31:55	775	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:55	775	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860267 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:55	775	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:55	775	[DEBUG]	Executed store
2023-10-13	12:31:55	775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860267','0','370.473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:55	775	[DEBUG]	Checking manufacturer
2023-10-13	12:31:55	775	[DEBUG]	Load a row
2023-10-13	12:31:55	775	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:55	775	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:55	775	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:55	775	[DEBUG]	Executed store
2023-10-13	12:31:55	775	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:55	775	[DEBUG]	Manufacturer exists
2023-10-13	12:31:55	775	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:31:55	775	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:55	775	[DEBUG]	Executed store
2023-10-13	12:31:55	775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860267','26')
2023-10-13	12:31:55	775	[DEBUG]	Find the custom field ID
2023-10-13	12:31:55	775	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:55	775	[DEBUG]	No custom field ID found
2023-10-13	12:31:55	775	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:55	775	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:55	775	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860267 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:55	775	[DEBUG]	Store custom available field
2023-10-13	12:31:55	775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860267,3,'0',1)
2023-10-13	12:31:55	775	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:55	775	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:55	775	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860267 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:55	775	[DEBUG]	Store custom available field
2023-10-13	12:31:55	775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860267,6,'choisir la taille',3)
2023-10-13	12:31:55	775	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:55	775	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:55	775	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:55	775	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:55	775	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860267 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:55	775	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:55	775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860267,8,1)
2023-10-13	12:31:55	775	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:55	775	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860267\":[1860267,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860267
2023-10-13	12:31:55	775	[DEBUG]	Checking category
2023-10-13	12:31:55	775	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:55	775	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860267
2023-10-13	12:31:55	775	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:55	775	[DEBUG]	Executed store
2023-10-13	12:31:55	775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860267','7283')
2023-10-13	12:31:55	775	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:55	775	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860267 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:55	775	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:55	775	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860267
2023-10-13	12:31:55	776	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:55	776	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:55	776	[DEBUG]	Use field value for field taille
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:55	776	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:55	776	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:55	776	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:55	776	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:55	776	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:55	776	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:55	776	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:55	776	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:55	776	[DEBUG]	Use field value for field published
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:55	776	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field override
2023-10-13	12:31:55	776	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:55	776	[DEBUG]	Use field value for field slug
2023-10-13	12:31:55	776	[DEBUG]	Process line 776
2023-10-13	12:31:55	776	[DEBUG]	Load a row
2023-10-13	12:31:55	776	[DEBUG]	Processing item: 4550170893323
2023-10-13	12:31:55	776	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:55	776	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:55	776	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6008_1'
2023-10-13	12:31:55	776	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:55	776	[DEBUG]	Processing product tax
2023-10-13	12:31:55	776	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:55	776	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:55	776	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:55	776	[DEBUG]	Query for Product
2023-10-13	12:31:55	776	[DEBUG]	Executed store
2023-10-13	12:31:55	776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860267','4550170893323','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:55	776	[DEBUG]	No parent found
2023-10-13	12:31:55	776	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860267 AND customfield_value = 'stockable'
2023-10-13	12:31:55	776	[DEBUG]	Check product language entry
2023-10-13	12:31:55	776	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860268
2023-10-13	12:31:55	776	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:55	776	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170893323' AND `virtuemart_product_id` != 1860268
2023-10-13	12:31:55	776	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:55	776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860268, '4550170893323')
2023-10-13	12:31:55	776	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:55	776	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-xtr-cs-m9100-12-vitesses-10-51-noir-all' AND `virtuemart_product_id` != 1860268
2023-10-13	12:31:55	776	[DEBUG]	Query for ProductLang
2023-10-13	12:31:55	776	[DEBUG]	Executed store
2023-10-13	12:31:55	776	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette XTR CS-M9100 12 vitesses 10/51 / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-xtr-cs-m9100-12-vitesses-10-51-noir-all' WHERE `virtuemart_product_id` = '1860268'
2023-10-13	12:31:55	776	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31610_shimano_cassette_xtr_cs-m9100_12_vitesses_10-51.jpg
2023-10-13	12:31:55	776	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:55	776	[DEBUG]	Process image file
2023-10-13	12:31:55	776	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:55	776	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:55	776	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31610_shimano_cassette_xtr_cs-m9100_12_vitesses_10-51.jpg
2023-10-13	12:31:55	776	[DEBUG]	Full name target: bcprisme/31610_shimano_cassette_xtr_cs-m9100_12_vitesses_10-51.jpg
2023-10-13	12:31:56	776	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:56	776	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31610_shimano_cassette_xtr_cs-m9100_12_vitesses_10-51.jpg'
2023-10-13	12:31:56	776	[DEBUG]	Query for Media
2023-10-13	12:31:56	776	[DEBUG]	Executed store
2023-10-13	12:31:56	776	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31610_shimano_cassette_xtr_cs-m9100_12_vitesses_10-51.jpg',`file_url_thumb`='bcprisme/31610_shimano_cassette_xtr_cs-m9100_12_vitesses_10-51.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12505'
2023-10-13	12:31:56	776	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:56	776	[DEBUG]	Executed store
2023-10-13	12:31:56	776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860268','12505','1')
2023-10-13	12:31:56	776	[DEBUG]	Store product image relation
2023-10-13	12:31:56	776	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:56	776	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860268 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:56	776	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:56	776	[DEBUG]	Executed store
2023-10-13	12:31:56	776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860268','0','370.473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:56	776	[DEBUG]	Checking manufacturer
2023-10-13	12:31:56	776	[DEBUG]	Load a row
2023-10-13	12:31:56	776	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:56	776	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:56	776	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:56	776	[DEBUG]	Executed store
2023-10-13	12:31:56	776	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:56	776	[DEBUG]	Manufacturer exists
2023-10-13	12:31:56	776	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:31:56	776	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:56	776	[DEBUG]	Executed store
2023-10-13	12:31:56	776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860268','26')
2023-10-13	12:31:56	776	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:56	776	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:56	776	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860268 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:56	776	[DEBUG]	Store custom available field
2023-10-13	12:31:56	776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860268,3,'',1)
2023-10-13	12:31:56	776	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:56	776	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:56	776	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860268 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:56	776	[DEBUG]	Store custom available field
2023-10-13	12:31:56	776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860268,6,'All',3)
2023-10-13	12:31:56	776	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:56	776	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:56	776	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860267
2023-10-13	12:31:56	776	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:56	776	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860267\":[1860267,8,1,\"choisir la taille\"],\"1860268\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860267
2023-10-13	12:31:56	776	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:56	776	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860268
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:56	777	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field taille
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:56	777	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:56	777	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:56	777	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:56	777	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:56	777	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:56	777	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field published
2023-10-13	12:31:56	777	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:56	777	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field override
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:56	777	[DEBUG]	Use field value for field slug
2023-10-13	12:31:56	777	[DEBUG]	Process line 777
2023-10-13	12:31:56	777	[DEBUG]	Load a row
2023-10-13	12:31:56	777	[DEBUG]	Processing item: A_6018_13
2023-10-13	12:31:56	777	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:56	777	[DEBUG]	Processing product tax
2023-10-13	12:31:56	777	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:56	777	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:56	777	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:56	777	[DEBUG]	Query for Product
2023-10-13	12:31:56	777	[DEBUG]	Executed store
2023-10-13	12:31:56	777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6018_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:56	777	[DEBUG]	Check product language entry
2023-10-13	12:31:56	777	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860269
2023-10-13	12:31:56	777	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:56	777	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6018_13' AND `virtuemart_product_id` != 1860269
2023-10-13	12:31:56	777	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:56	777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860269, 'A_6018_13')
2023-10-13	12:31:56	777	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:56	777	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg400-9-vitesses-11-34-dents-argent' AND `virtuemart_product_id` != 1860269
2023-10-13	12:31:56	777	[DEBUG]	Query for ProductLang
2023-10-13	12:31:56	777	[DEBUG]	Executed store
2023-10-13	12:31:56	777	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.63483',`product_name`='SHIMANO Cassette Alivio CS-HG400 9-vitesses 11-34 dents   / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg400-9-vitesses-11-34-dents-argent' WHERE `virtuemart_product_id` = '1860269'
2023-10-13	12:31:56	777	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31619_shimano_cassette_alivio_cs-hg400_9-vitesses_11-34_dents__.jpg
2023-10-13	12:31:56	777	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:56	777	[DEBUG]	Process image file
2023-10-13	12:31:56	777	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:56	777	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:56	777	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31619_shimano_cassette_alivio_cs-hg400_9-vitesses_11-34_dents__.jpg
2023-10-13	12:31:56	777	[DEBUG]	Full name target: bcprisme/31619_shimano_cassette_alivio_cs-hg400_9-vitesses_11-34_dents__.jpg
2023-10-13	12:31:57	777	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:57	777	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31619_shimano_cassette_alivio_cs-hg400_9-vitesses_11-34_dents__.jpg'
2023-10-13	12:31:57	777	[DEBUG]	Query for Media
2023-10-13	12:31:57	777	[DEBUG]	Executed store
2023-10-13	12:31:57	777	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31619_shimano_cassette_alivio_cs-hg400_9-vitesses_11-34_dents__.jpg',`file_url_thumb`='bcprisme/31619_shimano_cassette_alivio_cs-hg400_9-vitesses_11-34_dents__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12506'
2023-10-13	12:31:57	777	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:57	777	[DEBUG]	Executed store
2023-10-13	12:31:57	777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860269','12506','1')
2023-10-13	12:31:57	777	[DEBUG]	Store product image relation
2023-10-13	12:31:57	777	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:57	777	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860269 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:57	777	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:57	777	[DEBUG]	Executed store
2023-10-13	12:31:57	777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860269','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:57	777	[DEBUG]	Checking manufacturer
2023-10-13	12:31:57	777	[DEBUG]	Load a row
2023-10-13	12:31:57	777	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:57	777	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:57	777	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:57	777	[DEBUG]	Executed store
2023-10-13	12:31:57	777	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:57	777	[DEBUG]	Manufacturer exists
2023-10-13	12:31:57	777	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:31:57	777	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:57	777	[DEBUG]	Executed store
2023-10-13	12:31:57	777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860269','26')
2023-10-13	12:31:57	777	[DEBUG]	Find the custom field ID
2023-10-13	12:31:57	777	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:57	777	[DEBUG]	No custom field ID found
2023-10-13	12:31:57	777	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:57	777	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:57	777	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860269 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:57	777	[DEBUG]	Store custom available field
2023-10-13	12:31:57	777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860269,3,'0',1)
2023-10-13	12:31:57	777	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:57	777	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:57	777	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860269 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:57	777	[DEBUG]	Store custom available field
2023-10-13	12:31:57	777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860269,6,'choisir la taille',3)
2023-10-13	12:31:57	777	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:57	777	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:57	777	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:57	777	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:57	777	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860269 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:57	777	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:57	777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860269,8,1)
2023-10-13	12:31:57	777	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:57	777	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860269\":[1860269,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860269
2023-10-13	12:31:57	777	[DEBUG]	Checking category
2023-10-13	12:31:57	777	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:57	777	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860269
2023-10-13	12:31:57	777	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:57	777	[DEBUG]	Executed store
2023-10-13	12:31:57	777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860269','7283')
2023-10-13	12:31:57	777	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:57	777	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860269 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:57	777	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:57	777	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860269
2023-10-13	12:31:57	778	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:57	778	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:57	778	[DEBUG]	Use field value for field taille
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:57	778	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:57	778	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:57	778	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:57	778	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:57	778	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:57	778	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:57	778	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:57	778	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:57	778	[DEBUG]	Use field value for field published
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:57	778	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field override
2023-10-13	12:31:57	778	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:57	778	[DEBUG]	Use field value for field slug
2023-10-13	12:31:57	778	[DEBUG]	Process line 778
2023-10-13	12:31:57	778	[DEBUG]	Load a row
2023-10-13	12:31:57	778	[DEBUG]	Processing item: 4524667903727
2023-10-13	12:31:57	778	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:57	778	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:57	778	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6018_13'
2023-10-13	12:31:57	778	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:57	778	[DEBUG]	Processing product tax
2023-10-13	12:31:57	778	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:57	778	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:57	778	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:57	778	[DEBUG]	Query for Product
2023-10-13	12:31:57	778	[DEBUG]	Executed store
2023-10-13	12:31:57	778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860269','4524667903727','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:57	778	[DEBUG]	No parent found
2023-10-13	12:31:57	778	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860269 AND customfield_value = 'stockable'
2023-10-13	12:31:57	778	[DEBUG]	Check product language entry
2023-10-13	12:31:57	778	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860270
2023-10-13	12:31:57	778	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:57	778	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667903727' AND `virtuemart_product_id` != 1860270
2023-10-13	12:31:57	778	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:57	778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860270, '4524667903727')
2023-10-13	12:31:57	778	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:57	778	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg400-9-vitesses-11-34-dents-argent-all' AND `virtuemart_product_id` != 1860270
2023-10-13	12:31:57	778	[DEBUG]	Query for ProductLang
2023-10-13	12:31:57	778	[DEBUG]	Executed store
2023-10-13	12:31:57	778	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Alivio CS-HG400 9-vitesses 11-34 dents   / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg400-9-vitesses-11-34-dents-argent-all' WHERE `virtuemart_product_id` = '1860270'
2023-10-13	12:31:57	778	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31619_shimano_cassette_alivio_cs-hg400_9-vitesses_11-34_dents__.jpg
2023-10-13	12:31:57	778	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:57	778	[DEBUG]	Process image file
2023-10-13	12:31:57	778	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:57	778	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:57	778	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31619_shimano_cassette_alivio_cs-hg400_9-vitesses_11-34_dents__.jpg
2023-10-13	12:31:57	778	[DEBUG]	Full name target: bcprisme/31619_shimano_cassette_alivio_cs-hg400_9-vitesses_11-34_dents__.jpg
2023-10-13	12:31:58	778	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:58	778	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31619_shimano_cassette_alivio_cs-hg400_9-vitesses_11-34_dents__.jpg'
2023-10-13	12:31:58	778	[DEBUG]	Query for Media
2023-10-13	12:31:58	778	[DEBUG]	Executed store
2023-10-13	12:31:58	778	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31619_shimano_cassette_alivio_cs-hg400_9-vitesses_11-34_dents__.jpg',`file_url_thumb`='bcprisme/31619_shimano_cassette_alivio_cs-hg400_9-vitesses_11-34_dents__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12506'
2023-10-13	12:31:58	778	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:58	778	[DEBUG]	Executed store
2023-10-13	12:31:58	778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860270','12506','1')
2023-10-13	12:31:58	778	[DEBUG]	Store product image relation
2023-10-13	12:31:58	778	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:58	778	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860270 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:58	778	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:58	778	[DEBUG]	Executed store
2023-10-13	12:31:58	778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860270','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:58	778	[DEBUG]	Checking manufacturer
2023-10-13	12:31:58	778	[DEBUG]	Load a row
2023-10-13	12:31:58	778	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:58	778	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:58	778	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:58	778	[DEBUG]	Executed store
2023-10-13	12:31:58	778	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:58	778	[DEBUG]	Manufacturer exists
2023-10-13	12:31:58	778	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:31:58	778	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:58	778	[DEBUG]	Executed store
2023-10-13	12:31:58	778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860270','26')
2023-10-13	12:31:58	778	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:58	778	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:58	778	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860270 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:58	778	[DEBUG]	Store custom available field
2023-10-13	12:31:58	778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860270,3,'',1)
2023-10-13	12:31:58	778	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:58	778	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:58	778	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860270 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:58	778	[DEBUG]	Store custom available field
2023-10-13	12:31:58	778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860270,6,'All',3)
2023-10-13	12:31:58	778	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:58	778	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:58	778	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860269
2023-10-13	12:31:58	778	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:58	778	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860269\":[1860269,8,1,\"choisir la taille\"],\"1860270\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860269
2023-10-13	12:31:58	778	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:58	778	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860270
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:58	779	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field taille
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:58	779	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:58	779	[DEBUG]	Use default value for field file_url
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:58	779	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:58	779	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:58	779	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:58	779	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:58	779	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:58	779	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field published
2023-10-13	12:31:58	779	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:58	779	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field override
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:58	779	[DEBUG]	Use field value for field slug
2023-10-13	12:31:58	779	[DEBUG]	Process line 779
2023-10-13	12:31:58	779	[DEBUG]	Load a row
2023-10-13	12:31:58	779	[DEBUG]	Processing item: A_6069_13
2023-10-13	12:31:58	779	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:58	779	[DEBUG]	Processing product tax
2023-10-13	12:31:58	779	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:58	779	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:58	779	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:58	779	[DEBUG]	Query for Product
2023-10-13	12:31:58	779	[DEBUG]	Executed store
2023-10-13	12:31:58	779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6069_13','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:58	779	[DEBUG]	Check product language entry
2023-10-13	12:31:58	779	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860271
2023-10-13	12:31:58	779	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:58	779	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6069_13' AND `virtuemart_product_id` != 1860271
2023-10-13	12:31:58	779	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:58	779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860271, 'A_6069_13')
2023-10-13	12:31:58	779	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:58	779	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-miche-pour-body-campagnolo-11-12-13-14-16-18-22-25-29-32-argent' AND `virtuemart_product_id` != 1860271
2023-10-13	12:31:58	779	[DEBUG]	Query for ProductLang
2023-10-13	12:31:58	779	[DEBUG]	Executed store
2023-10-13	12:31:58	779	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : MICHE11/32',`product_name`='SHIMANO Cassette Miche pour body Campagnolo 11/12/13/14/16/18/22/25/29/32 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-miche-pour-body-campagnolo-11-12-13-14-16-18-22-25-29-32-argent' WHERE `virtuemart_product_id` = '1860271'
2023-10-13	12:31:58	779	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:58	779	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860271 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:58	779	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:58	779	[DEBUG]	Executed store
2023-10-13	12:31:58	779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860271','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:58	779	[DEBUG]	Checking manufacturer
2023-10-13	12:31:58	779	[DEBUG]	Load a row
2023-10-13	12:31:58	779	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:58	779	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:58	779	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:58	779	[DEBUG]	Executed store
2023-10-13	12:31:58	779	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:58	779	[DEBUG]	Manufacturer exists
2023-10-13	12:31:58	779	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:31:58	779	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:58	779	[DEBUG]	Executed store
2023-10-13	12:31:58	779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860271','26')
2023-10-13	12:31:58	779	[DEBUG]	Find the custom field ID
2023-10-13	12:31:58	779	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:58	779	[DEBUG]	No custom field ID found
2023-10-13	12:31:58	779	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:58	779	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:31:58	779	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860271 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:58	779	[DEBUG]	Store custom available field
2023-10-13	12:31:58	779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860271,3,'0',1)
2023-10-13	12:31:58	779	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:58	779	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:58	779	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860271 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:58	779	[DEBUG]	Store custom available field
2023-10-13	12:31:58	779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860271,6,'choisir la taille',3)
2023-10-13	12:31:58	779	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:58	779	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:58	779	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:58	779	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:58	779	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860271 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:58	779	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:58	779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860271,8,1)
2023-10-13	12:31:58	779	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:58	779	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860271\":[1860271,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860271
2023-10-13	12:31:58	779	[DEBUG]	Checking category
2023-10-13	12:31:58	779	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:58	779	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860271
2023-10-13	12:31:58	779	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:58	779	[DEBUG]	Executed store
2023-10-13	12:31:58	779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860271','7283')
2023-10-13	12:31:58	779	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:58	779	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860271 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:58	779	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:58	779	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860271
2023-10-13	12:31:58	780	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:58	780	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:58	780	[DEBUG]	Use field value for field taille
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:58	780	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:58	780	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:58	780	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field file_url
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:58	780	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:58	780	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:58	780	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:58	780	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:58	780	[DEBUG]	Use field value for field published
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:58	780	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field override
2023-10-13	12:31:58	780	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:58	780	[DEBUG]	Use field value for field slug
2023-10-13	12:31:58	780	[DEBUG]	Process line 780
2023-10-13	12:31:58	780	[DEBUG]	Load a row
2023-10-13	12:31:58	780	[DEBUG]	Processing item: 1000000090352
2023-10-13	12:31:58	780	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:58	780	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:58	780	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6069_13'
2023-10-13	12:31:58	780	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:58	780	[DEBUG]	Processing product tax
2023-10-13	12:31:58	780	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:58	780	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:58	780	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:58	780	[DEBUG]	Query for Product
2023-10-13	12:31:58	780	[DEBUG]	Executed store
2023-10-13	12:31:58	780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860271','1000000090352','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:58	780	[DEBUG]	No parent found
2023-10-13	12:31:58	780	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860271 AND customfield_value = 'stockable'
2023-10-13	12:31:58	780	[DEBUG]	Check product language entry
2023-10-13	12:31:58	780	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860272
2023-10-13	12:31:58	780	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:58	780	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000090352' AND `virtuemart_product_id` != 1860272
2023-10-13	12:31:58	780	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:58	780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860272, '1000000090352')
2023-10-13	12:31:58	780	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:58	780	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-miche-pour-body-campagnolo-11-12-13-14-16-18-22-25-29-32-argent-all' AND `virtuemart_product_id` != 1860272
2023-10-13	12:31:58	780	[DEBUG]	Query for ProductLang
2023-10-13	12:31:58	780	[DEBUG]	Executed store
2023-10-13	12:31:58	780	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Miche pour body Campagnolo 11/12/13/14/16/18/22/25/29/32 / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-miche-pour-body-campagnolo-11-12-13-14-16-18-22-25-29-32-argent-all' WHERE `virtuemart_product_id` = '1860272'
2023-10-13	12:31:58	780	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:58	780	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860272 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:58	780	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:58	780	[DEBUG]	Executed store
2023-10-13	12:31:58	780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860272','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:58	780	[DEBUG]	Checking manufacturer
2023-10-13	12:31:58	780	[DEBUG]	Load a row
2023-10-13	12:31:58	780	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:58	780	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:58	780	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:58	780	[DEBUG]	Executed store
2023-10-13	12:31:58	780	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:31:58	780	[DEBUG]	Manufacturer exists
2023-10-13	12:31:58	780	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:31:58	780	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:58	780	[DEBUG]	Executed store
2023-10-13	12:31:58	780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860272','26')
2023-10-13	12:31:58	780	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:58	780	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:31:58	780	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860272 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:58	780	[DEBUG]	Store custom available field
2023-10-13	12:31:58	780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860272,3,'',1)
2023-10-13	12:31:58	780	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:58	780	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:31:58	780	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860272 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:58	780	[DEBUG]	Store custom available field
2023-10-13	12:31:58	780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860272,6,'All',3)
2023-10-13	12:31:58	780	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:58	780	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:31:58	780	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860271
2023-10-13	12:31:58	780	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:58	780	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860271\":[1860271,8,1,\"choisir la taille\"],\"1860272\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860271
2023-10-13	12:31:58	780	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:58	780	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860272
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:58	781	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field taille
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field category_path
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:58	781	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:31:58	781	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:58	781	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field product_weight
2023-10-13	12:31:58	781	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:58	781	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:58	781	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field published
2023-10-13	12:31:58	781	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:58	781	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field custom_title
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field custom_param
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field override
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field public_price
2023-10-13	12:31:58	781	[DEBUG]	Use field value for field slug
2023-10-13	12:31:58	781	[DEBUG]	Process line 781
2023-10-13	12:31:58	781	[DEBUG]	Load a row
2023-10-13	12:31:58	781	[DEBUG]	Processing item: A_6102_1
2023-10-13	12:31:58	781	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:58	781	[DEBUG]	Processing product tax
2023-10-13	12:31:58	781	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:58	781	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:58	781	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:58	781	[DEBUG]	Query for Product
2023-10-13	12:31:58	781	[DEBUG]	Executed store
2023-10-13	12:31:58	781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6102_1','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:58	781	[DEBUG]	Check product language entry
2023-10-13	12:31:58	781	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860273
2023-10-13	12:31:58	781	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:58	781	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6102_1' AND `virtuemart_product_id` != 1860273
2023-10-13	12:31:58	781	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:58	781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860273, 'A_6102_1')
2023-10-13	12:31:58	781	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:58	781	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-40-1-spider-alu-noir' AND `virtuemart_product_id` != 1860273
2023-10-13	12:31:58	781	[DEBUG]	Query for ProductLang
2023-10-13	12:31:58	781	[DEBUG]	Executed store
2023-10-13	12:31:58	781	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir 534 g Cassette Sun Race - Acier - 11 vitesses <br>N° art fourn : CS1MSC101140',`product_name`='MSC Cassette MSC 10 vitesses 11-40 1 spider alu  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-40-1-spider-alu-noir' WHERE `virtuemart_product_id` = '1860273'
2023-10-13	12:31:58	781	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31794_cassette_msc_10_vitesses_11-40_1_spider_alu_light.jpg
2023-10-13	12:31:58	781	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:58	781	[DEBUG]	Process image file
2023-10-13	12:31:58	781	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:58	781	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:58	781	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31794_cassette_msc_10_vitesses_11-40_1_spider_alu_light.jpg
2023-10-13	12:31:58	781	[DEBUG]	Full name target: bcprisme/31794_cassette_msc_10_vitesses_11-40_1_spider_alu_light.jpg
2023-10-13	12:31:59	781	[DEBUG]	Checking if the file_url exists
2023-10-13	12:31:59	781	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31794_cassette_msc_10_vitesses_11-40_1_spider_alu_light.jpg'
2023-10-13	12:31:59	781	[DEBUG]	Query for Media
2023-10-13	12:31:59	781	[DEBUG]	Executed store
2023-10-13	12:31:59	781	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31794_cassette_msc_10_vitesses_11-40_1_spider_alu_light.jpg',`file_url_thumb`='bcprisme/31794_cassette_msc_10_vitesses_11-40_1_spider_alu_light.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12507'
2023-10-13	12:31:59	781	[DEBUG]	Query for ProductMedia
2023-10-13	12:31:59	781	[DEBUG]	Executed store
2023-10-13	12:31:59	781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860273','12507','1')
2023-10-13	12:31:59	781	[DEBUG]	Store product image relation
2023-10-13	12:31:59	781	[DEBUG]	Finding a product_price_id
2023-10-13	12:31:59	781	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860273 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:31:59	781	[DEBUG]	Query for ProductPrice
2023-10-13	12:31:59	781	[DEBUG]	Executed store
2023-10-13	12:31:59	781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860273','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:31:59	781	[DEBUG]	Checking manufacturer
2023-10-13	12:31:59	781	[DEBUG]	Load a row
2023-10-13	12:31:59	781	[DEBUG]	Manufacturer already exists
2023-10-13	12:31:59	781	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:59	781	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:31:59	781	[DEBUG]	Executed store
2023-10-13	12:31:59	781	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:31:59	781	[DEBUG]	Manufacturer exists
2023-10-13	12:31:59	781	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:31:59	781	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:31:59	781	[DEBUG]	Executed store
2023-10-13	12:31:59	781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860273','32')
2023-10-13	12:31:59	781	[DEBUG]	Find the custom field ID
2023-10-13	12:31:59	781	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:31:59	781	[DEBUG]	No custom field ID found
2023-10-13	12:31:59	781	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:31:59	781	[DEBUG]	Get existing row with customfield value 64.7197222222222
2023-10-13	12:31:59	781	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860273 AND `virtuemart_custom_id` = 3
2023-10-13	12:31:59	781	[DEBUG]	Store custom available field
2023-10-13	12:31:59	781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860273,3,'64.7197222222222',1)
2023-10-13	12:31:59	781	[DEBUG]	Processing custom available field: taille
2023-10-13	12:31:59	781	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:31:59	781	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860273 AND `virtuemart_custom_id` = 6
2023-10-13	12:31:59	781	[DEBUG]	Store custom available field
2023-10-13	12:31:59	781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860273,6,'choisir la taille',3)
2023-10-13	12:31:59	781	[DEBUG]	Process multi-variant fields
2023-10-13	12:31:59	781	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:31:59	781	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:31:59	781	[DEBUG]	Find the multi variant product entry
2023-10-13	12:31:59	781	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860273 AND `virtuemart_custom_id` = 8
2023-10-13	12:31:59	781	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:31:59	781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860273,8,1)
2023-10-13	12:31:59	781	[DEBUG]	Store the updated customfield_params
2023-10-13	12:31:59	781	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860273\":[1860273,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860273
2023-10-13	12:31:59	781	[DEBUG]	Checking category
2023-10-13	12:31:59	781	[DEBUG]	Get the existing categories for the product
2023-10-13	12:31:59	781	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860273
2023-10-13	12:31:59	781	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:31:59	781	[DEBUG]	Executed store
2023-10-13	12:31:59	781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860273','7283')
2023-10-13	12:31:59	781	[DEBUG]	Delete leftover product categories
2023-10-13	12:31:59	781	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860273 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:31:59	781	[DEBUG]	Update has fields after all processing
2023-10-13	12:31:59	781	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860273
2023-10-13	12:31:59	782	[DEBUG]	Use field value for field product_sku
2023-10-13	12:31:59	782	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:31:59	782	[DEBUG]	Use field value for field taille
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:31:59	782	[DEBUG]	Use field value for field product_name
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field category_path
2023-10-13	12:31:59	782	[DEBUG]	Use field value for field product_price
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:31:59	782	[DEBUG]	Use field value for field product_tax
2023-10-13	12:31:59	782	[DEBUG]	Use field value for field file_url
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field product_desc
2023-10-13	12:31:59	782	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:31:59	782	[DEBUG]	Use field value for field product_availability
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field product_weight
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field product_unit
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field related_products
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field product_special
2023-10-13	12:31:59	782	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:31:59	782	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:31:59	782	[DEBUG]	Use field value for field published
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field metadesc
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field metakey
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field custom_title
2023-10-13	12:31:59	782	[DEBUG]	Use field value for field custom_value
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field custom_param
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field override
2023-10-13	12:31:59	782	[DEBUG]	Use default value for field public_price
2023-10-13	12:31:59	782	[DEBUG]	Use field value for field slug
2023-10-13	12:31:59	782	[DEBUG]	Process line 782
2023-10-13	12:31:59	782	[DEBUG]	Load a row
2023-10-13	12:31:59	782	[DEBUG]	Processing item: 8435466215002
2023-10-13	12:31:59	782	[DEBUG]	Looking for parent SKU
2023-10-13	12:31:59	782	[DEBUG]	Checking product parent SKU
2023-10-13	12:31:59	782	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6102_1'
2023-10-13	12:31:59	782	[DEBUG]	Product tax: 7.7
2023-10-13	12:31:59	782	[DEBUG]	Processing product tax
2023-10-13	12:31:59	782	[DEBUG]	Check if calculation rule exists
2023-10-13	12:31:59	782	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:31:59	782	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:31:59	782	[DEBUG]	Query for Product
2023-10-13	12:31:59	782	[DEBUG]	Executed store
2023-10-13	12:31:59	782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860273','8435466215002','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:31:59	782	[DEBUG]	No parent found
2023-10-13	12:31:59	782	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860273 AND customfield_value = 'stockable'
2023-10-13	12:31:59	782	[DEBUG]	Check product language entry
2023-10-13	12:31:59	782	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860274
2023-10-13	12:31:59	782	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:59	782	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215002' AND `virtuemart_product_id` != 1860274
2023-10-13	12:31:59	782	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:31:59	782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860274, '8435466215002')
2023-10-13	12:31:59	782	[DEBUG]	Check if the product slug exists
2023-10-13	12:31:59	782	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-40-1-spider-alu-noir-unitaire' AND `virtuemart_product_id` != 1860274
2023-10-13	12:31:59	782	[DEBUG]	Query for ProductLang
2023-10-13	12:31:59	782	[DEBUG]	Executed store
2023-10-13	12:31:59	782	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 10 vitesses 11-40 1 spider alu  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-40-1-spider-alu-noir-unitaire' WHERE `virtuemart_product_id` = '1860274'
2023-10-13	12:31:59	782	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31794_cassette_msc_10_vitesses_11-40_1_spider_alu_light.jpg
2023-10-13	12:31:59	782	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:59	782	[DEBUG]	Process image file
2023-10-13	12:31:59	782	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:31:59	782	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:31:59	782	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31794_cassette_msc_10_vitesses_11-40_1_spider_alu_light.jpg
2023-10-13	12:31:59	782	[DEBUG]	Full name target: bcprisme/31794_cassette_msc_10_vitesses_11-40_1_spider_alu_light.jpg
2023-10-13	12:32:00	782	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:00	782	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31794_cassette_msc_10_vitesses_11-40_1_spider_alu_light.jpg'
2023-10-13	12:32:00	782	[DEBUG]	Query for Media
2023-10-13	12:32:00	782	[DEBUG]	Executed store
2023-10-13	12:32:00	782	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31794_cassette_msc_10_vitesses_11-40_1_spider_alu_light.jpg',`file_url_thumb`='bcprisme/31794_cassette_msc_10_vitesses_11-40_1_spider_alu_light.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12507'
2023-10-13	12:32:00	782	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:00	782	[DEBUG]	Executed store
2023-10-13	12:32:00	782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860274','12507','1')
2023-10-13	12:32:00	782	[DEBUG]	Store product image relation
2023-10-13	12:32:00	782	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:00	782	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860274 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:00	782	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:00	782	[DEBUG]	Executed store
2023-10-13	12:32:00	782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860274','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:00	782	[DEBUG]	Checking manufacturer
2023-10-13	12:32:00	782	[DEBUG]	Load a row
2023-10-13	12:32:00	782	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:00	782	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:32:00	782	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:00	782	[DEBUG]	Executed store
2023-10-13	12:32:00	782	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:32:00	782	[DEBUG]	Manufacturer exists
2023-10-13	12:32:00	782	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:32:00	782	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:00	782	[DEBUG]	Executed store
2023-10-13	12:32:00	782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860274','32')
2023-10-13	12:32:00	782	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:00	782	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:00	782	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860274 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:00	782	[DEBUG]	Store custom available field
2023-10-13	12:32:00	782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860274,3,'',1)
2023-10-13	12:32:00	782	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:00	782	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:32:00	782	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860274 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:00	782	[DEBUG]	Store custom available field
2023-10-13	12:32:00	782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860274,6,'Unitaire',3)
2023-10-13	12:32:00	782	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:00	782	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:00	782	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860273
2023-10-13	12:32:00	782	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:00	782	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860273\":[1860273,8,1,\"choisir la taille\"],\"1860274\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860273
2023-10-13	12:32:00	782	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:00	782	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860274
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:00	783	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field taille
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:00	783	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:00	783	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:00	783	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:00	783	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:00	783	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:00	783	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field published
2023-10-13	12:32:00	783	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:00	783	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field override
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:00	783	[DEBUG]	Use field value for field slug
2023-10-13	12:32:00	783	[DEBUG]	Process line 783
2023-10-13	12:32:00	783	[DEBUG]	Load a row
2023-10-13	12:32:00	783	[DEBUG]	Processing item: A_6146_4
2023-10-13	12:32:00	783	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:00	783	[DEBUG]	Processing product tax
2023-10-13	12:32:00	783	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:00	783	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:00	783	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:00	783	[DEBUG]	Query for Product
2023-10-13	12:32:00	783	[DEBUG]	Executed store
2023-10-13	12:32:00	783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6146_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:00	783	[DEBUG]	Check product language entry
2023-10-13	12:32:00	783	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860275
2023-10-13	12:32:00	783	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:00	783	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6146_4' AND `virtuemart_product_id` != 1860275
2023-10-13	12:32:00	783	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:00	783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860275, 'A_6146_4')
2023-10-13	12:32:00	783	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:00	783	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1080-11-36-10-vit-sram-acier' AND `virtuemart_product_id` != 1860275
2023-10-13	12:32:00	783	[DEBUG]	Query for ProductLang
2023-10-13	12:32:00	783	[DEBUG]	Executed store
2023-10-13	12:32:00	783	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7349L',`product_name`='SRAM Cassette XG-1080 11-36 10-vit. SRAM / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1080-11-36-10-vit-sram-acier' WHERE `virtuemart_product_id` = '1860275'
2023-10-13	12:32:00	783	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31841_cassette_xg-1080_11-36_10-vit__sram.jpg
2023-10-13	12:32:00	783	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:32:00	783	[DEBUG]	Process image file
2023-10-13	12:32:00	783	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:32:00	783	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:00	783	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31841_cassette_xg-1080_11-36_10-vit__sram.jpg
2023-10-13	12:32:00	783	[DEBUG]	Full name target: bcprisme/31841_cassette_xg-1080_11-36_10-vit__sram.jpg
2023-10-13	12:32:01	783	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:01	783	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31841_cassette_xg-1080_11-36_10-vit__sram.jpg'
2023-10-13	12:32:01	783	[DEBUG]	Query for Media
2023-10-13	12:32:01	783	[DEBUG]	Executed store
2023-10-13	12:32:01	783	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31841_cassette_xg-1080_11-36_10-vit__sram.jpg',`file_url_thumb`='bcprisme/31841_cassette_xg-1080_11-36_10-vit__sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12508'
2023-10-13	12:32:01	783	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:01	783	[DEBUG]	Executed store
2023-10-13	12:32:01	783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860275','12508','1')
2023-10-13	12:32:01	783	[DEBUG]	Store product image relation
2023-10-13	12:32:01	783	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:01	783	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860275 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:01	783	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:01	783	[DEBUG]	Executed store
2023-10-13	12:32:01	783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860275','0','249.767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:01	783	[DEBUG]	Checking manufacturer
2023-10-13	12:32:01	783	[DEBUG]	Load a row
2023-10-13	12:32:01	783	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:01	783	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:01	783	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:01	783	[DEBUG]	Executed store
2023-10-13	12:32:01	783	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:01	783	[DEBUG]	Manufacturer exists
2023-10-13	12:32:01	783	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:32:01	783	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:01	783	[DEBUG]	Executed store
2023-10-13	12:32:01	783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860275','35')
2023-10-13	12:32:01	783	[DEBUG]	Find the custom field ID
2023-10-13	12:32:01	783	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:01	783	[DEBUG]	No custom field ID found
2023-10-13	12:32:01	783	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:01	783	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:01	783	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860275 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:01	783	[DEBUG]	Store custom available field
2023-10-13	12:32:01	783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860275,3,'0',1)
2023-10-13	12:32:01	783	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:01	783	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:01	783	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860275 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:01	783	[DEBUG]	Store custom available field
2023-10-13	12:32:01	783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860275,6,'choisir la taille',3)
2023-10-13	12:32:01	783	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:01	783	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:01	783	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:01	783	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:01	783	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860275 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:01	783	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:01	783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860275,8,1)
2023-10-13	12:32:01	783	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:01	783	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860275\":[1860275,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860275
2023-10-13	12:32:01	783	[DEBUG]	Checking category
2023-10-13	12:32:01	783	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:01	783	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860275
2023-10-13	12:32:01	783	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:01	783	[DEBUG]	Executed store
2023-10-13	12:32:01	783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860275','7283')
2023-10-13	12:32:01	783	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:01	783	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860275 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:01	783	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:01	783	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860275
2023-10-13	12:32:01	784	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:01	784	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:01	784	[DEBUG]	Use field value for field taille
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:01	784	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:01	784	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:01	784	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:01	784	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:01	784	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:01	784	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:01	784	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:01	784	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:01	784	[DEBUG]	Use field value for field published
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:01	784	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field override
2023-10-13	12:32:01	784	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:01	784	[DEBUG]	Use field value for field slug
2023-10-13	12:32:01	784	[DEBUG]	Process line 784
2023-10-13	12:32:01	784	[DEBUG]	Load a row
2023-10-13	12:32:01	784	[DEBUG]	Processing item: 23T90994812
2023-10-13	12:32:01	784	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:01	784	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:01	784	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6146_4'
2023-10-13	12:32:01	784	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:01	784	[DEBUG]	Processing product tax
2023-10-13	12:32:01	784	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:01	784	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:01	784	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:01	784	[DEBUG]	Query for Product
2023-10-13	12:32:01	784	[DEBUG]	Executed store
2023-10-13	12:32:01	784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860275','23T90994812','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:01	784	[DEBUG]	No parent found
2023-10-13	12:32:01	784	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860275 AND customfield_value = 'stockable'
2023-10-13	12:32:01	784	[DEBUG]	Check product language entry
2023-10-13	12:32:01	784	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860276
2023-10-13	12:32:01	784	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:01	784	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '23T90994812' AND `virtuemart_product_id` != 1860276
2023-10-13	12:32:01	784	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:01	784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860276, '23T90994812')
2023-10-13	12:32:01	784	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:01	784	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1080-11-36-10-vit-sram-acier-unitaire' AND `virtuemart_product_id` != 1860276
2023-10-13	12:32:01	784	[DEBUG]	Query for ProductLang
2023-10-13	12:32:01	784	[DEBUG]	Executed store
2023-10-13	12:32:01	784	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1080 11-36 10-vit. SRAM / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1080-11-36-10-vit-sram-acier-unitaire' WHERE `virtuemart_product_id` = '1860276'
2023-10-13	12:32:01	784	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31841_cassette_xg-1080_11-36_10-vit__sram.jpg
2023-10-13	12:32:01	784	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:32:01	784	[DEBUG]	Process image file
2023-10-13	12:32:01	784	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:32:01	784	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:01	784	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31841_cassette_xg-1080_11-36_10-vit__sram.jpg
2023-10-13	12:32:01	784	[DEBUG]	Full name target: bcprisme/31841_cassette_xg-1080_11-36_10-vit__sram.jpg
2023-10-13	12:32:02	784	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:02	784	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31841_cassette_xg-1080_11-36_10-vit__sram.jpg'
2023-10-13	12:32:02	784	[DEBUG]	Query for Media
2023-10-13	12:32:02	784	[DEBUG]	Executed store
2023-10-13	12:32:02	784	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31841_cassette_xg-1080_11-36_10-vit__sram.jpg',`file_url_thumb`='bcprisme/31841_cassette_xg-1080_11-36_10-vit__sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12508'
2023-10-13	12:32:02	784	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:02	784	[DEBUG]	Executed store
2023-10-13	12:32:02	784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860276','12508','1')
2023-10-13	12:32:02	784	[DEBUG]	Store product image relation
2023-10-13	12:32:02	784	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:02	784	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860276 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:02	784	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:02	784	[DEBUG]	Executed store
2023-10-13	12:32:02	784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860276','0','249.767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:02	784	[DEBUG]	Checking manufacturer
2023-10-13	12:32:02	784	[DEBUG]	Load a row
2023-10-13	12:32:02	784	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:02	784	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:02	784	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:02	784	[DEBUG]	Executed store
2023-10-13	12:32:02	784	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:02	784	[DEBUG]	Manufacturer exists
2023-10-13	12:32:02	784	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:32:02	784	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:02	784	[DEBUG]	Executed store
2023-10-13	12:32:02	784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860276','35')
2023-10-13	12:32:02	784	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:02	784	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:02	784	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860276 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:02	784	[DEBUG]	Store custom available field
2023-10-13	12:32:02	784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860276,3,'',1)
2023-10-13	12:32:02	784	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:02	784	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:32:02	784	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860276 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:02	784	[DEBUG]	Store custom available field
2023-10-13	12:32:02	784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860276,6,'Unitaire',3)
2023-10-13	12:32:02	784	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:02	784	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:02	784	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860275
2023-10-13	12:32:02	784	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:02	784	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860275\":[1860275,8,1,\"choisir la taille\"],\"1860276\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860275
2023-10-13	12:32:02	784	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:02	784	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860276
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:02	785	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field taille
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:02	785	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:02	785	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:02	785	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:02	785	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:02	785	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:02	785	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field published
2023-10-13	12:32:02	785	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:02	785	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field override
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:02	785	[DEBUG]	Use field value for field slug
2023-10-13	12:32:02	785	[DEBUG]	Process line 785
2023-10-13	12:32:02	785	[DEBUG]	Load a row
2023-10-13	12:32:02	785	[DEBUG]	Processing item: A_6174_208
2023-10-13	12:32:02	785	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:02	785	[DEBUG]	Processing product tax
2023-10-13	12:32:02	785	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:02	785	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:02	785	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:02	785	[DEBUG]	Query for Product
2023-10-13	12:32:02	785	[DEBUG]	Executed store
2023-10-13	12:32:02	785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6174_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:02	785	[DEBUG]	Check product language entry
2023-10-13	12:32:02	785	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860277
2023-10-13	12:32:02	785	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:02	785	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6174_208' AND `virtuemart_product_id` != 1860277
2023-10-13	12:32:02	785	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:02	785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860277, 'A_6174_208')
2023-10-13	12:32:02	785	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:02	785	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-dura-ace-cs-r9100-11-vitesses-11-30-box-aucune' AND `virtuemart_product_id` != 1860277
2023-10-13	12:32:02	785	[DEBUG]	Query for ProductLang
2023-10-13	12:32:02	785	[DEBUG]	Executed store
2023-10-13	12:32:02	785	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.66997',`product_name`='SHIMANO Cassette Dura-Ace CS-R9100 11-vitesses 11-30 box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-dura-ace-cs-r9100-11-vitesses-11-30-box-aucune' WHERE `virtuemart_product_id` = '1860277'
2023-10-13	12:32:02	785	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31871_shimano_cassette_dura-ace_cs-r9100_11-vitesses_11-30_box.jpg
2023-10-13	12:32:02	785	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:02	785	[DEBUG]	Process image file
2023-10-13	12:32:02	785	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:02	785	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:02	785	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31871_shimano_cassette_dura-ace_cs-r9100_11-vitesses_11-30_box.jpg
2023-10-13	12:32:02	785	[DEBUG]	Full name target: bcprisme/31871_shimano_cassette_dura-ace_cs-r9100_11-vitesses_11-30_box.jpg
2023-10-13	12:32:03	785	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:03	785	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31871_shimano_cassette_dura-ace_cs-r9100_11-vitesses_11-30_box.jpg'
2023-10-13	12:32:03	785	[DEBUG]	Query for Media
2023-10-13	12:32:03	785	[DEBUG]	Executed store
2023-10-13	12:32:03	785	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31871_shimano_cassette_dura-ace_cs-r9100_11-vitesses_11-30_box.jpg',`file_url_thumb`='bcprisme/31871_shimano_cassette_dura-ace_cs-r9100_11-vitesses_11-30_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12509'
2023-10-13	12:32:03	785	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:03	785	[DEBUG]	Executed store
2023-10-13	12:32:03	785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860277','12509','1')
2023-10-13	12:32:03	785	[DEBUG]	Store product image relation
2023-10-13	12:32:03	785	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:03	785	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860277 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:03	785	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:03	785	[DEBUG]	Executed store
2023-10-13	12:32:03	785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860277','0','281.33704735376','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:03	785	[DEBUG]	Checking manufacturer
2023-10-13	12:32:03	785	[DEBUG]	Load a row
2023-10-13	12:32:03	785	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:03	785	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:03	785	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:03	785	[DEBUG]	Executed store
2023-10-13	12:32:03	785	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:03	785	[DEBUG]	Manufacturer exists
2023-10-13	12:32:03	785	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:32:03	785	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:03	785	[DEBUG]	Executed store
2023-10-13	12:32:03	785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860277','123')
2023-10-13	12:32:03	785	[DEBUG]	Find the custom field ID
2023-10-13	12:32:03	785	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:03	785	[DEBUG]	No custom field ID found
2023-10-13	12:32:03	785	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:03	785	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:03	785	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860277 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:03	785	[DEBUG]	Store custom available field
2023-10-13	12:32:03	785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860277,3,'0',1)
2023-10-13	12:32:03	785	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:03	785	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:03	785	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860277 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:03	785	[DEBUG]	Store custom available field
2023-10-13	12:32:03	785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860277,6,'choisir la taille',3)
2023-10-13	12:32:03	785	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:03	785	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:03	785	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:03	785	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:03	785	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860277 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:03	785	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:03	785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860277,8,1)
2023-10-13	12:32:03	785	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:03	785	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860277\":[1860277,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860277
2023-10-13	12:32:03	785	[DEBUG]	Checking category
2023-10-13	12:32:03	785	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:03	785	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860277
2023-10-13	12:32:03	785	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:03	785	[DEBUG]	Executed store
2023-10-13	12:32:03	785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860277','7283')
2023-10-13	12:32:03	785	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:03	785	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860277 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:03	785	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:03	785	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860277
2023-10-13	12:32:03	786	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:03	786	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:03	786	[DEBUG]	Use field value for field taille
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:03	786	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:03	786	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:03	786	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:03	786	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:03	786	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:03	786	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:03	786	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:03	786	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:03	786	[DEBUG]	Use field value for field published
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:03	786	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field override
2023-10-13	12:32:03	786	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:03	786	[DEBUG]	Use field value for field slug
2023-10-13	12:32:03	786	[DEBUG]	Process line 786
2023-10-13	12:32:03	786	[DEBUG]	Load a row
2023-10-13	12:32:03	786	[DEBUG]	Processing item: 4524667858676
2023-10-13	12:32:03	786	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:03	786	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:03	786	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6174_208'
2023-10-13	12:32:03	786	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:03	786	[DEBUG]	Processing product tax
2023-10-13	12:32:03	786	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:03	786	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:03	786	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:03	786	[DEBUG]	Query for Product
2023-10-13	12:32:03	786	[DEBUG]	Executed store
2023-10-13	12:32:03	786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860277','4524667858676','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:03	786	[DEBUG]	No parent found
2023-10-13	12:32:03	786	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860277 AND customfield_value = 'stockable'
2023-10-13	12:32:03	786	[DEBUG]	Check product language entry
2023-10-13	12:32:03	786	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860278
2023-10-13	12:32:03	786	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:03	786	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667858676' AND `virtuemart_product_id` != 1860278
2023-10-13	12:32:03	786	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:03	786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860278, '4524667858676')
2023-10-13	12:32:03	786	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:03	786	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-dura-ace-cs-r9100-11-vitesses-11-30-box-aucune-all' AND `virtuemart_product_id` != 1860278
2023-10-13	12:32:03	786	[DEBUG]	Query for ProductLang
2023-10-13	12:32:03	786	[DEBUG]	Executed store
2023-10-13	12:32:03	786	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Dura-Ace CS-R9100 11-vitesses 11-30 box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-dura-ace-cs-r9100-11-vitesses-11-30-box-aucune-all' WHERE `virtuemart_product_id` = '1860278'
2023-10-13	12:32:03	786	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31871_shimano_cassette_dura-ace_cs-r9100_11-vitesses_11-30_box.jpg
2023-10-13	12:32:03	786	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:03	786	[DEBUG]	Process image file
2023-10-13	12:32:03	786	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:03	786	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:03	786	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31871_shimano_cassette_dura-ace_cs-r9100_11-vitesses_11-30_box.jpg
2023-10-13	12:32:03	786	[DEBUG]	Full name target: bcprisme/31871_shimano_cassette_dura-ace_cs-r9100_11-vitesses_11-30_box.jpg
2023-10-13	12:32:04	786	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:04	786	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31871_shimano_cassette_dura-ace_cs-r9100_11-vitesses_11-30_box.jpg'
2023-10-13	12:32:04	786	[DEBUG]	Query for Media
2023-10-13	12:32:04	786	[DEBUG]	Executed store
2023-10-13	12:32:04	786	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31871_shimano_cassette_dura-ace_cs-r9100_11-vitesses_11-30_box.jpg',`file_url_thumb`='bcprisme/31871_shimano_cassette_dura-ace_cs-r9100_11-vitesses_11-30_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12509'
2023-10-13	12:32:04	786	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:04	786	[DEBUG]	Executed store
2023-10-13	12:32:04	786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860278','12509','1')
2023-10-13	12:32:04	786	[DEBUG]	Store product image relation
2023-10-13	12:32:04	786	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:04	786	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860278 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:04	786	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:04	786	[DEBUG]	Executed store
2023-10-13	12:32:04	786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860278','0','281.33704735376','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:04	786	[DEBUG]	Checking manufacturer
2023-10-13	12:32:04	786	[DEBUG]	Load a row
2023-10-13	12:32:04	786	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:04	786	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:04	786	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:04	786	[DEBUG]	Executed store
2023-10-13	12:32:04	786	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:04	786	[DEBUG]	Manufacturer exists
2023-10-13	12:32:04	786	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:32:04	786	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:04	786	[DEBUG]	Executed store
2023-10-13	12:32:04	786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860278','123')
2023-10-13	12:32:04	786	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:04	786	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:04	786	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860278 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:04	786	[DEBUG]	Store custom available field
2023-10-13	12:32:04	786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860278,3,'',1)
2023-10-13	12:32:04	786	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:04	786	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:32:04	786	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860278 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:04	786	[DEBUG]	Store custom available field
2023-10-13	12:32:04	786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860278,6,'All',3)
2023-10-13	12:32:04	786	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:04	786	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:04	786	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860277
2023-10-13	12:32:04	786	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:04	786	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860277\":[1860277,8,1,\"choisir la taille\"],\"1860278\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860277
2023-10-13	12:32:04	786	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:04	786	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860278
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:04	787	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field taille
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:04	787	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:04	787	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:04	787	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:04	787	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:04	787	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:04	787	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field published
2023-10-13	12:32:04	787	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:04	787	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field override
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:04	787	[DEBUG]	Use field value for field slug
2023-10-13	12:32:04	787	[DEBUG]	Process line 787
2023-10-13	12:32:04	787	[DEBUG]	Load a row
2023-10-13	12:32:04	787	[DEBUG]	Processing item: A_6230_8
2023-10-13	12:32:04	787	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:04	787	[DEBUG]	Processing product tax
2023-10-13	12:32:04	787	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:04	787	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:04	787	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:04	787	[DEBUG]	Query for Product
2023-10-13	12:32:04	787	[DEBUG]	Executed store
2023-10-13	12:32:04	787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6230_8','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:04	787	[DEBUG]	Check product language entry
2023-10-13	12:32:04	787	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860279
2023-10-13	12:32:04	787	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:04	787	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6230_8' AND `virtuemart_product_id` != 1860279
2023-10-13	12:32:04	787	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:04	787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860279, 'A_6230_8')
2023-10-13	12:32:04	787	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:04	787	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-1050-10-vitesses-11-36-chrome' AND `virtuemart_product_id` != 1860279
2023-10-13	12:32:04	787	[DEBUG]	Query for ProductLang
2023-10-13	12:32:04	787	[DEBUG]	Executed store
2023-10-13	12:32:04	787	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7353T',`product_name`='SRAM Cassette PG-1050 10 vitesses 11-36  / chromé',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-1050-10-vitesses-11-36-chrome' WHERE `virtuemart_product_id` = '1860279'
2023-10-13	12:32:04	787	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32073_cassette_pg-1050_11-36_10_vitesses.jpg
2023-10-13	12:32:04	787	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:04	787	[DEBUG]	Process image file
2023-10-13	12:32:04	787	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:04	787	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:04	787	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32073_cassette_pg-1050_11-36_10_vitesses.jpg
2023-10-13	12:32:04	787	[DEBUG]	Full name target: bcprisme/32073_cassette_pg-1050_11-36_10_vitesses.jpg
2023-10-13	12:32:05	787	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:05	787	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32073_cassette_pg-1050_11-36_10_vitesses.jpg'
2023-10-13	12:32:05	787	[DEBUG]	Query for Media
2023-10-13	12:32:05	787	[DEBUG]	Executed store
2023-10-13	12:32:05	787	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32073_cassette_pg-1050_11-36_10_vitesses.jpg',`file_url_thumb`='bcprisme/32073_cassette_pg-1050_11-36_10_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12511'
2023-10-13	12:32:05	787	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:05	787	[DEBUG]	Executed store
2023-10-13	12:32:05	787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860279','12511','1')
2023-10-13	12:32:05	787	[DEBUG]	Store product image relation
2023-10-13	12:32:05	787	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:05	787	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860279 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:05	787	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:05	787	[DEBUG]	Executed store
2023-10-13	12:32:05	787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860279','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:05	787	[DEBUG]	Checking manufacturer
2023-10-13	12:32:05	787	[DEBUG]	Load a row
2023-10-13	12:32:05	787	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:05	787	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:05	787	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:05	787	[DEBUG]	Executed store
2023-10-13	12:32:05	787	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:05	787	[DEBUG]	Manufacturer exists
2023-10-13	12:32:05	787	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:32:05	787	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:05	787	[DEBUG]	Executed store
2023-10-13	12:32:05	787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860279','35')
2023-10-13	12:32:05	787	[DEBUG]	Find the custom field ID
2023-10-13	12:32:05	787	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:05	787	[DEBUG]	No custom field ID found
2023-10-13	12:32:05	787	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:05	787	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:05	787	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860279 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:05	787	[DEBUG]	Store custom available field
2023-10-13	12:32:05	787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860279,3,'0',1)
2023-10-13	12:32:05	787	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:05	787	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:05	787	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860279 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:05	787	[DEBUG]	Store custom available field
2023-10-13	12:32:05	787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860279,6,'choisir la taille',3)
2023-10-13	12:32:05	787	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:05	787	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:05	787	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:05	787	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:05	787	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860279 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:05	787	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:05	787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860279,8,1)
2023-10-13	12:32:05	787	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:05	787	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860279\":[1860279,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860279
2023-10-13	12:32:05	787	[DEBUG]	Checking category
2023-10-13	12:32:05	787	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:05	787	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860279
2023-10-13	12:32:05	787	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:05	787	[DEBUG]	Executed store
2023-10-13	12:32:05	787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860279','7283')
2023-10-13	12:32:05	787	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:05	787	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860279 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:05	787	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:05	787	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860279
2023-10-13	12:32:05	788	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:05	788	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:05	788	[DEBUG]	Use field value for field taille
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:05	788	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:05	788	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:05	788	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:05	788	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:05	788	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:05	788	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:05	788	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:05	788	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:05	788	[DEBUG]	Use field value for field published
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:05	788	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field override
2023-10-13	12:32:05	788	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:05	788	[DEBUG]	Use field value for field slug
2023-10-13	12:32:05	788	[DEBUG]	Process line 788
2023-10-13	12:32:05	788	[DEBUG]	Load a row
2023-10-13	12:32:05	788	[DEBUG]	Processing item: 23T05913952
2023-10-13	12:32:05	788	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:05	788	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:05	788	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6230_8'
2023-10-13	12:32:05	788	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:05	788	[DEBUG]	Processing product tax
2023-10-13	12:32:05	788	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:05	788	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:05	788	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:05	788	[DEBUG]	Query for Product
2023-10-13	12:32:05	788	[DEBUG]	Executed store
2023-10-13	12:32:05	788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860279','23T05913952','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:05	788	[DEBUG]	No parent found
2023-10-13	12:32:05	788	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860279 AND customfield_value = 'stockable'
2023-10-13	12:32:05	788	[DEBUG]	Check product language entry
2023-10-13	12:32:05	788	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860280
2023-10-13	12:32:05	788	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:05	788	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '23T05913952' AND `virtuemart_product_id` != 1860280
2023-10-13	12:32:05	788	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:05	788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860280, '23T05913952')
2023-10-13	12:32:05	788	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:05	788	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-1050-10-vitesses-11-36-chrome-unitaire' AND `virtuemart_product_id` != 1860280
2023-10-13	12:32:05	788	[DEBUG]	Query for ProductLang
2023-10-13	12:32:05	788	[DEBUG]	Executed store
2023-10-13	12:32:05	788	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette PG-1050 10 vitesses 11-36  / chromé (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-1050-10-vitesses-11-36-chrome-unitaire' WHERE `virtuemart_product_id` = '1860280'
2023-10-13	12:32:05	788	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32073_cassette_pg-1050_11-36_10_vitesses.jpg
2023-10-13	12:32:05	788	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:05	788	[DEBUG]	Process image file
2023-10-13	12:32:05	788	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:05	788	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:05	788	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32073_cassette_pg-1050_11-36_10_vitesses.jpg
2023-10-13	12:32:05	788	[DEBUG]	Full name target: bcprisme/32073_cassette_pg-1050_11-36_10_vitesses.jpg
2023-10-13	12:32:06	788	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:06	788	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32073_cassette_pg-1050_11-36_10_vitesses.jpg'
2023-10-13	12:32:06	788	[DEBUG]	Query for Media
2023-10-13	12:32:06	788	[DEBUG]	Executed store
2023-10-13	12:32:06	788	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32073_cassette_pg-1050_11-36_10_vitesses.jpg',`file_url_thumb`='bcprisme/32073_cassette_pg-1050_11-36_10_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12511'
2023-10-13	12:32:06	788	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:06	788	[DEBUG]	Executed store
2023-10-13	12:32:06	788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860280','12511','1')
2023-10-13	12:32:06	788	[DEBUG]	Store product image relation
2023-10-13	12:32:06	788	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:06	788	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860280 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:06	788	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:06	788	[DEBUG]	Executed store
2023-10-13	12:32:06	788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860280','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:06	788	[DEBUG]	Checking manufacturer
2023-10-13	12:32:06	788	[DEBUG]	Load a row
2023-10-13	12:32:06	788	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:06	788	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:06	788	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:06	788	[DEBUG]	Executed store
2023-10-13	12:32:06	788	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:06	788	[DEBUG]	Manufacturer exists
2023-10-13	12:32:06	788	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:32:06	788	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:06	788	[DEBUG]	Executed store
2023-10-13	12:32:06	788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860280','35')
2023-10-13	12:32:06	788	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:06	788	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:06	788	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860280 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:06	788	[DEBUG]	Store custom available field
2023-10-13	12:32:06	788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860280,3,'',1)
2023-10-13	12:32:06	788	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:06	788	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:32:06	788	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860280 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:06	788	[DEBUG]	Store custom available field
2023-10-13	12:32:06	788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860280,6,'Unitaire',3)
2023-10-13	12:32:06	788	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:06	788	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:06	788	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860279
2023-10-13	12:32:06	788	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:06	788	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860279\":[1860279,8,1,\"choisir la taille\"],\"1860280\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860279
2023-10-13	12:32:06	788	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:06	788	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860280
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:06	789	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field taille
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:06	789	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:06	789	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:06	789	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:06	789	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:06	789	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:06	789	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field published
2023-10-13	12:32:06	789	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:06	789	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field override
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:06	789	[DEBUG]	Use field value for field slug
2023-10-13	12:32:06	789	[DEBUG]	Process line 789
2023-10-13	12:32:06	789	[DEBUG]	Load a row
2023-10-13	12:32:06	789	[DEBUG]	Processing item: A_6243_8
2023-10-13	12:32:06	789	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:06	789	[DEBUG]	Processing product tax
2023-10-13	12:32:06	789	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:06	789	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:06	789	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:06	789	[DEBUG]	Query for Product
2023-10-13	12:32:06	789	[DEBUG]	Executed store
2023-10-13	12:32:06	789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6243_8','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:06	789	[DEBUG]	Check product language entry
2023-10-13	12:32:06	789	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860281
2023-10-13	12:32:06	789	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:06	789	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6243_8' AND `virtuemart_product_id` != 1860281
2023-10-13	12:32:06	789	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:06	789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860281, 'A_6243_8')
2023-10-13	12:32:06	789	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:06	789	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-rs8000-cs-hg800-11-vitesses-14-28-chrome' AND `virtuemart_product_id` != 1860281
2023-10-13	12:32:06	789	[DEBUG]	Query for ProductLang
2023-10-13	12:32:06	789	[DEBUG]	Executed store
2023-10-13	12:32:06	789	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.69264',`product_name`='SHIMANO Cassette Ultegra CS-RS8000/CS-HG800 11-vitesses 14/28 / chromé',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-rs8000-cs-hg800-11-vitesses-14-28-chrome' WHERE `virtuemart_product_id` = '1860281'
2023-10-13	12:32:06	789	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32092_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_14-28.jpg
2023-10-13	12:32:06	789	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:06	789	[DEBUG]	Process image file
2023-10-13	12:32:06	789	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:06	789	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:06	789	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32092_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_14-28.jpg
2023-10-13	12:32:06	789	[DEBUG]	Full name target: bcprisme/32092_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_14-28.jpg
2023-10-13	12:32:07	789	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:07	789	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32092_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_14-28.jpg'
2023-10-13	12:32:07	789	[DEBUG]	Query for Media
2023-10-13	12:32:07	789	[DEBUG]	Executed store
2023-10-13	12:32:07	789	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32092_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_14-28.jpg',`file_url_thumb`='bcprisme/32092_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_14-28.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12512'
2023-10-13	12:32:07	789	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:07	789	[DEBUG]	Executed store
2023-10-13	12:32:07	789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860281','12512','1')
2023-10-13	12:32:07	789	[DEBUG]	Store product image relation
2023-10-13	12:32:07	789	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:07	789	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860281 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:07	789	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:07	789	[DEBUG]	Executed store
2023-10-13	12:32:07	789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860281','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:07	789	[DEBUG]	Checking manufacturer
2023-10-13	12:32:07	789	[DEBUG]	Load a row
2023-10-13	12:32:07	789	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:07	789	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:07	789	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:07	789	[DEBUG]	Executed store
2023-10-13	12:32:07	789	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:07	789	[DEBUG]	Manufacturer exists
2023-10-13	12:32:07	789	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:32:07	789	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:07	789	[DEBUG]	Executed store
2023-10-13	12:32:07	789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860281','26')
2023-10-13	12:32:07	789	[DEBUG]	Find the custom field ID
2023-10-13	12:32:07	789	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:07	789	[DEBUG]	No custom field ID found
2023-10-13	12:32:07	789	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:07	789	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:07	789	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860281 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:07	789	[DEBUG]	Store custom available field
2023-10-13	12:32:07	789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860281,3,'0',1)
2023-10-13	12:32:07	789	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:07	789	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:07	789	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860281 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:07	789	[DEBUG]	Store custom available field
2023-10-13	12:32:07	789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860281,6,'choisir la taille',3)
2023-10-13	12:32:07	789	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:07	789	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:07	789	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:07	789	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:07	789	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860281 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:07	789	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:07	789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860281,8,1)
2023-10-13	12:32:07	789	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:07	789	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860281\":[1860281,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860281
2023-10-13	12:32:07	789	[DEBUG]	Checking category
2023-10-13	12:32:07	789	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:07	789	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860281
2023-10-13	12:32:07	789	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:07	789	[DEBUG]	Executed store
2023-10-13	12:32:07	789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860281','7283')
2023-10-13	12:32:07	789	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:07	789	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860281 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:07	789	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:07	789	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860281
2023-10-13	12:32:07	790	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:07	790	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:07	790	[DEBUG]	Use field value for field taille
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:07	790	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:07	790	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:07	790	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:07	790	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:07	790	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:07	790	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:07	790	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:07	790	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:07	790	[DEBUG]	Use field value for field published
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:07	790	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field override
2023-10-13	12:32:07	790	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:07	790	[DEBUG]	Use field value for field slug
2023-10-13	12:32:07	790	[DEBUG]	Process line 790
2023-10-13	12:32:07	790	[DEBUG]	Load a row
2023-10-13	12:32:07	790	[DEBUG]	Processing item: 4524667623427
2023-10-13	12:32:07	790	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:07	790	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:07	790	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6243_8'
2023-10-13	12:32:07	790	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:07	790	[DEBUG]	Processing product tax
2023-10-13	12:32:07	790	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:07	790	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:07	790	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:07	790	[DEBUG]	Query for Product
2023-10-13	12:32:07	790	[DEBUG]	Executed store
2023-10-13	12:32:07	790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860281','4524667623427','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:07	790	[DEBUG]	No parent found
2023-10-13	12:32:07	790	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860281 AND customfield_value = 'stockable'
2023-10-13	12:32:07	790	[DEBUG]	Check product language entry
2023-10-13	12:32:07	790	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860282
2023-10-13	12:32:07	790	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:07	790	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667623427' AND `virtuemart_product_id` != 1860282
2023-10-13	12:32:07	790	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:07	790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860282, '4524667623427')
2023-10-13	12:32:07	790	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:07	790	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-rs8000-cs-hg800-11-vitesses-14-28-chrome-unitaire' AND `virtuemart_product_id` != 1860282
2023-10-13	12:32:07	790	[DEBUG]	Query for ProductLang
2023-10-13	12:32:07	790	[DEBUG]	Executed store
2023-10-13	12:32:07	790	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Ultegra CS-RS8000/CS-HG800 11-vitesses 14/28 / chromé (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-rs8000-cs-hg800-11-vitesses-14-28-chrome-unitaire' WHERE `virtuemart_product_id` = '1860282'
2023-10-13	12:32:07	790	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32092_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_14-28.jpg
2023-10-13	12:32:07	790	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:07	790	[DEBUG]	Process image file
2023-10-13	12:32:07	790	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:07	790	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:07	790	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32092_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_14-28.jpg
2023-10-13	12:32:07	790	[DEBUG]	Full name target: bcprisme/32092_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_14-28.jpg
2023-10-13	12:32:08	790	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:08	790	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32092_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_14-28.jpg'
2023-10-13	12:32:08	790	[DEBUG]	Query for Media
2023-10-13	12:32:08	790	[DEBUG]	Executed store
2023-10-13	12:32:08	790	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32092_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_14-28.jpg',`file_url_thumb`='bcprisme/32092_shimano_cassette_ultegra_cs-rs8000-cs-hg800_11-vitesses_14-28.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12512'
2023-10-13	12:32:08	790	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:08	790	[DEBUG]	Executed store
2023-10-13	12:32:08	790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860282','12512','1')
2023-10-13	12:32:08	790	[DEBUG]	Store product image relation
2023-10-13	12:32:08	790	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:08	790	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860282 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:08	790	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:08	790	[DEBUG]	Executed store
2023-10-13	12:32:08	790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860282','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:08	790	[DEBUG]	Checking manufacturer
2023-10-13	12:32:08	790	[DEBUG]	Load a row
2023-10-13	12:32:08	790	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:08	790	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:08	790	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:08	790	[DEBUG]	Executed store
2023-10-13	12:32:08	790	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:08	790	[DEBUG]	Manufacturer exists
2023-10-13	12:32:08	790	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:32:08	790	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:08	790	[DEBUG]	Executed store
2023-10-13	12:32:08	790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860282','26')
2023-10-13	12:32:08	790	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:08	790	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:08	790	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860282 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:08	790	[DEBUG]	Store custom available field
2023-10-13	12:32:08	790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860282,3,'',1)
2023-10-13	12:32:08	790	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:08	790	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:32:08	790	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860282 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:08	790	[DEBUG]	Store custom available field
2023-10-13	12:32:08	790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860282,6,'Unitaire',3)
2023-10-13	12:32:08	790	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:08	790	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:08	790	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860281
2023-10-13	12:32:08	790	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:08	790	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860281\":[1860281,8,1,\"choisir la taille\"],\"1860282\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860281
2023-10-13	12:32:08	790	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:08	790	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860282
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:08	791	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field taille
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:08	791	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:08	791	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:08	791	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:08	791	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:08	791	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:08	791	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field published
2023-10-13	12:32:08	791	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:08	791	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field override
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:08	791	[DEBUG]	Use field value for field slug
2023-10-13	12:32:08	791	[DEBUG]	Process line 791
2023-10-13	12:32:08	791	[DEBUG]	Load a row
2023-10-13	12:32:08	791	[DEBUG]	Processing item: A_6287_13
2023-10-13	12:32:08	791	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:08	791	[DEBUG]	Processing product tax
2023-10-13	12:32:08	791	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:08	791	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:08	791	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:08	791	[DEBUG]	Query for Product
2023-10-13	12:32:08	791	[DEBUG]	Executed store
2023-10-13	12:32:08	791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6287_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:08	791	[DEBUG]	Check product language entry
2023-10-13	12:32:08	791	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860283
2023-10-13	12:32:08	791	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:08	791	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6287_13' AND `virtuemart_product_id` != 1860283
2023-10-13	12:32:08	791	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:08	791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860283, 'A_6287_13')
2023-10-13	12:32:08	791	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:08	791	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-tiagra-cs-4600-12-28-10-vitesses-argent' AND `virtuemart_product_id` != 1860283
2023-10-13	12:32:08	791	[DEBUG]	Query for ProductLang
2023-10-13	12:32:09	791	[DEBUG]	Executed store
2023-10-13	12:32:09	791	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 450.758.28',`product_name`='SHIMANO Cassette Tiagra CS-4600 12/28 10 vitesses / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-tiagra-cs-4600-12-28-10-vitesses-argent' WHERE `virtuemart_product_id` = '1860283'
2023-10-13	12:32:09	791	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32137_shimano_cassette_tiagra_cs-4600_12-28_10_vitesses.jpg
2023-10-13	12:32:09	791	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:09	791	[DEBUG]	Process image file
2023-10-13	12:32:09	791	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:09	791	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:09	791	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32137_shimano_cassette_tiagra_cs-4600_12-28_10_vitesses.jpg
2023-10-13	12:32:09	791	[DEBUG]	Full name target: bcprisme/32137_shimano_cassette_tiagra_cs-4600_12-28_10_vitesses.jpg
2023-10-13	12:32:09	791	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:09	791	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32137_shimano_cassette_tiagra_cs-4600_12-28_10_vitesses.jpg'
2023-10-13	12:32:09	791	[DEBUG]	Query for Media
2023-10-13	12:32:09	791	[DEBUG]	Executed store
2023-10-13	12:32:09	791	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32137_shimano_cassette_tiagra_cs-4600_12-28_10_vitesses.jpg',`file_url_thumb`='bcprisme/32137_shimano_cassette_tiagra_cs-4600_12-28_10_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12513'
2023-10-13	12:32:10	791	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:10	791	[DEBUG]	Executed store
2023-10-13	12:32:10	791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860283','12513','1')
2023-10-13	12:32:10	791	[DEBUG]	Store product image relation
2023-10-13	12:32:10	791	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:10	791	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860283 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:10	791	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:10	791	[DEBUG]	Executed store
2023-10-13	12:32:10	791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860283','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:10	791	[DEBUG]	Checking manufacturer
2023-10-13	12:32:10	791	[DEBUG]	Load a row
2023-10-13	12:32:10	791	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:10	791	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:10	791	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:10	791	[DEBUG]	Executed store
2023-10-13	12:32:10	791	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:10	791	[DEBUG]	Manufacturer exists
2023-10-13	12:32:10	791	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:32:10	791	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:10	791	[DEBUG]	Executed store
2023-10-13	12:32:10	791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860283','123')
2023-10-13	12:32:10	791	[DEBUG]	Find the custom field ID
2023-10-13	12:32:10	791	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:10	791	[DEBUG]	No custom field ID found
2023-10-13	12:32:10	791	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:10	791	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:10	791	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860283 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:10	791	[DEBUG]	Store custom available field
2023-10-13	12:32:10	791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860283,3,'0',1)
2023-10-13	12:32:10	791	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:10	791	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:10	791	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860283 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:10	791	[DEBUG]	Store custom available field
2023-10-13	12:32:10	791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860283,6,'choisir la taille',3)
2023-10-13	12:32:10	791	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:10	791	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:10	791	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:10	791	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:10	791	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860283 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:10	791	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:10	791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860283,8,1)
2023-10-13	12:32:10	791	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:10	791	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860283\":[1860283,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860283
2023-10-13	12:32:10	791	[DEBUG]	Checking category
2023-10-13	12:32:10	791	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:10	791	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860283
2023-10-13	12:32:10	791	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:10	791	[DEBUG]	Executed store
2023-10-13	12:32:10	791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860283','7283')
2023-10-13	12:32:10	791	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:10	791	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860283 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:10	791	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:10	791	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860283
2023-10-13	12:32:10	792	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:10	792	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:10	792	[DEBUG]	Use field value for field taille
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:10	792	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:10	792	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:10	792	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:10	792	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:10	792	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:10	792	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:10	792	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:10	792	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:10	792	[DEBUG]	Use field value for field published
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:10	792	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field override
2023-10-13	12:32:10	792	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:10	792	[DEBUG]	Use field value for field slug
2023-10-13	12:32:10	792	[DEBUG]	Process line 792
2023-10-13	12:32:10	792	[DEBUG]	Load a row
2023-10-13	12:32:10	792	[DEBUG]	Processing item: 1000000103663
2023-10-13	12:32:10	792	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:10	792	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:10	792	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6287_13'
2023-10-13	12:32:10	792	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:10	792	[DEBUG]	Processing product tax
2023-10-13	12:32:10	792	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:10	792	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:10	792	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:10	792	[DEBUG]	Query for Product
2023-10-13	12:32:10	792	[DEBUG]	Executed store
2023-10-13	12:32:10	792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860283','1000000103663','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:10	792	[DEBUG]	No parent found
2023-10-13	12:32:10	792	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860283 AND customfield_value = 'stockable'
2023-10-13	12:32:10	792	[DEBUG]	Check product language entry
2023-10-13	12:32:10	792	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860284
2023-10-13	12:32:10	792	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:10	792	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000103663' AND `virtuemart_product_id` != 1860284
2023-10-13	12:32:10	792	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:10	792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860284, '1000000103663')
2023-10-13	12:32:10	792	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:10	792	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-tiagra-cs-4600-12-28-10-vitesses-argent-all' AND `virtuemart_product_id` != 1860284
2023-10-13	12:32:10	792	[DEBUG]	Query for ProductLang
2023-10-13	12:32:10	792	[DEBUG]	Executed store
2023-10-13	12:32:10	792	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Tiagra CS-4600 12/28 10 vitesses / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-tiagra-cs-4600-12-28-10-vitesses-argent-all' WHERE `virtuemart_product_id` = '1860284'
2023-10-13	12:32:10	792	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32137_shimano_cassette_tiagra_cs-4600_12-28_10_vitesses.jpg
2023-10-13	12:32:10	792	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:10	792	[DEBUG]	Process image file
2023-10-13	12:32:10	792	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:10	792	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:10	792	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32137_shimano_cassette_tiagra_cs-4600_12-28_10_vitesses.jpg
2023-10-13	12:32:10	792	[DEBUG]	Full name target: bcprisme/32137_shimano_cassette_tiagra_cs-4600_12-28_10_vitesses.jpg
2023-10-13	12:32:11	792	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:11	792	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32137_shimano_cassette_tiagra_cs-4600_12-28_10_vitesses.jpg'
2023-10-13	12:32:11	792	[DEBUG]	Query for Media
2023-10-13	12:32:11	792	[DEBUG]	Executed store
2023-10-13	12:32:11	792	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32137_shimano_cassette_tiagra_cs-4600_12-28_10_vitesses.jpg',`file_url_thumb`='bcprisme/32137_shimano_cassette_tiagra_cs-4600_12-28_10_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12513'
2023-10-13	12:32:11	792	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:11	792	[DEBUG]	Executed store
2023-10-13	12:32:11	792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860284','12513','1')
2023-10-13	12:32:11	792	[DEBUG]	Store product image relation
2023-10-13	12:32:11	792	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:11	792	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860284 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:11	792	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:11	792	[DEBUG]	Executed store
2023-10-13	12:32:11	792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860284','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:11	792	[DEBUG]	Checking manufacturer
2023-10-13	12:32:11	792	[DEBUG]	Load a row
2023-10-13	12:32:11	792	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:11	792	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:11	792	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:11	792	[DEBUG]	Executed store
2023-10-13	12:32:11	792	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:11	792	[DEBUG]	Manufacturer exists
2023-10-13	12:32:11	792	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:32:11	792	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:11	792	[DEBUG]	Executed store
2023-10-13	12:32:11	792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860284','123')
2023-10-13	12:32:11	792	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:11	792	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:11	792	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860284 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:11	792	[DEBUG]	Store custom available field
2023-10-13	12:32:11	792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860284,3,'',1)
2023-10-13	12:32:11	792	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:11	792	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:32:11	792	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860284 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:11	792	[DEBUG]	Store custom available field
2023-10-13	12:32:11	792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860284,6,'All',3)
2023-10-13	12:32:11	792	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:11	792	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:11	792	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860283
2023-10-13	12:32:11	792	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:11	792	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860283\":[1860283,8,1,\"choisir la taille\"],\"1860284\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860283
2023-10-13	12:32:11	792	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:11	792	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860284
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:11	793	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field taille
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:11	793	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:11	793	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:11	793	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:11	793	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:11	793	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:11	793	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field published
2023-10-13	12:32:11	793	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:11	793	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field override
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:11	793	[DEBUG]	Use field value for field slug
2023-10-13	12:32:11	793	[DEBUG]	Process line 793
2023-10-13	12:32:11	793	[DEBUG]	Load a row
2023-10-13	12:32:11	793	[DEBUG]	Processing item: A_6461_1
2023-10-13	12:32:11	793	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:11	793	[DEBUG]	Processing product tax
2023-10-13	12:32:11	793	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:11	793	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:11	793	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:11	793	[DEBUG]	Query for Product
2023-10-13	12:32:11	793	[DEBUG]	Executed store
2023-10-13	12:32:11	793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6461_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:11	793	[DEBUG]	Check product language entry
2023-10-13	12:32:11	793	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860285
2023-10-13	12:32:11	793	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:11	793	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6461_1' AND `virtuemart_product_id` != 1860285
2023-10-13	12:32:11	793	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:11	793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860285, 'A_6461_1')
2023-10-13	12:32:11	793	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:11	793	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-1130-11-vit-11-42z-compatible-sram-noir' AND `virtuemart_product_id` != 1860285
2023-10-13	12:32:11	793	[DEBUG]	Query for ProductLang
2023-10-13	12:32:11	793	[DEBUG]	Executed store
2023-10-13	12:32:11	793	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7524J',`product_name`='SRAM Cassette PG-1130 11-vit. 11-42Z compatible SRAM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-1130-11-vit-11-42z-compatible-sram-noir' WHERE `virtuemart_product_id` = '1860285'
2023-10-13	12:32:11	793	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32344_cassette_pg-1130_11-vit__11-42z_compatible_sram.jpg
2023-10-13	12:32:11	793	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:11	793	[DEBUG]	Process image file
2023-10-13	12:32:11	793	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:11	793	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:11	793	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32344_cassette_pg-1130_11-vit__11-42z_compatible_sram.jpg
2023-10-13	12:32:11	793	[DEBUG]	Full name target: bcprisme/32344_cassette_pg-1130_11-vit__11-42z_compatible_sram.jpg
2023-10-13	12:32:12	793	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:12	793	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32344_cassette_pg-1130_11-vit__11-42z_compatible_sram.jpg'
2023-10-13	12:32:12	793	[DEBUG]	Query for Media
2023-10-13	12:32:12	793	[DEBUG]	Executed store
2023-10-13	12:32:12	793	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32344_cassette_pg-1130_11-vit__11-42z_compatible_sram.jpg',`file_url_thumb`='bcprisme/32344_cassette_pg-1130_11-vit__11-42z_compatible_sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12514'
2023-10-13	12:32:12	793	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:12	793	[DEBUG]	Executed store
2023-10-13	12:32:12	793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860285','12514','1')
2023-10-13	12:32:12	793	[DEBUG]	Store product image relation
2023-10-13	12:32:12	793	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:12	793	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860285 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:12	793	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:12	793	[DEBUG]	Executed store
2023-10-13	12:32:12	793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860285','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:12	793	[DEBUG]	Checking manufacturer
2023-10-13	12:32:12	793	[DEBUG]	Load a row
2023-10-13	12:32:12	793	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:12	793	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:12	793	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:12	793	[DEBUG]	Executed store
2023-10-13	12:32:12	793	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:12	793	[DEBUG]	Manufacturer exists
2023-10-13	12:32:12	793	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:32:12	793	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:12	793	[DEBUG]	Executed store
2023-10-13	12:32:12	793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860285','35')
2023-10-13	12:32:12	793	[DEBUG]	Find the custom field ID
2023-10-13	12:32:12	793	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:12	793	[DEBUG]	No custom field ID found
2023-10-13	12:32:12	793	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:12	793	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:12	793	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860285 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:12	793	[DEBUG]	Store custom available field
2023-10-13	12:32:12	793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860285,3,'0',1)
2023-10-13	12:32:12	793	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:12	793	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:12	793	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860285 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:12	793	[DEBUG]	Store custom available field
2023-10-13	12:32:12	793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860285,6,'choisir la taille',3)
2023-10-13	12:32:12	793	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:12	793	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:12	793	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:12	793	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:12	793	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860285 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:12	793	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:12	793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860285,8,1)
2023-10-13	12:32:12	793	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:12	793	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860285\":[1860285,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860285
2023-10-13	12:32:12	793	[DEBUG]	Checking category
2023-10-13	12:32:12	793	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:12	793	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860285
2023-10-13	12:32:12	793	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:12	793	[DEBUG]	Executed store
2023-10-13	12:32:12	793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860285','7283')
2023-10-13	12:32:12	793	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:12	793	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860285 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:12	793	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:12	793	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860285
2023-10-13	12:32:12	794	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:12	794	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:12	794	[DEBUG]	Use field value for field taille
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:12	794	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:12	794	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:12	794	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:12	794	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:12	794	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:12	794	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:12	794	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:12	794	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:12	794	[DEBUG]	Use field value for field published
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:12	794	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field override
2023-10-13	12:32:12	794	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:12	794	[DEBUG]	Use field value for field slug
2023-10-13	12:32:12	794	[DEBUG]	Process line 794
2023-10-13	12:32:12	794	[DEBUG]	Load a row
2023-10-13	12:32:12	794	[DEBUG]	Processing item: 710845782961
2023-10-13	12:32:12	794	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:12	794	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:12	794	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6461_1'
2023-10-13	12:32:12	794	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:12	794	[DEBUG]	Processing product tax
2023-10-13	12:32:12	794	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:12	794	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:12	794	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:12	794	[DEBUG]	Query for Product
2023-10-13	12:32:12	794	[DEBUG]	Executed store
2023-10-13	12:32:12	794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860285','710845782961','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:12	794	[DEBUG]	No parent found
2023-10-13	12:32:12	794	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860285 AND customfield_value = 'stockable'
2023-10-13	12:32:12	794	[DEBUG]	Check product language entry
2023-10-13	12:32:12	794	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860286
2023-10-13	12:32:12	794	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:12	794	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845782961' AND `virtuemart_product_id` != 1860286
2023-10-13	12:32:12	794	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:12	794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860286, '710845782961')
2023-10-13	12:32:12	794	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:12	794	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-1130-11-vit-11-42z-compatible-sram-noir-unitaire' AND `virtuemart_product_id` != 1860286
2023-10-13	12:32:12	794	[DEBUG]	Query for ProductLang
2023-10-13	12:32:12	794	[DEBUG]	Executed store
2023-10-13	12:32:12	794	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette PG-1130 11-vit. 11-42Z compatible SRAM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-1130-11-vit-11-42z-compatible-sram-noir-unitaire' WHERE `virtuemart_product_id` = '1860286'
2023-10-13	12:32:12	794	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32344_cassette_pg-1130_11-vit__11-42z_compatible_sram.jpg
2023-10-13	12:32:12	794	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:12	794	[DEBUG]	Process image file
2023-10-13	12:32:12	794	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:12	794	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:12	794	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32344_cassette_pg-1130_11-vit__11-42z_compatible_sram.jpg
2023-10-13	12:32:12	794	[DEBUG]	Full name target: bcprisme/32344_cassette_pg-1130_11-vit__11-42z_compatible_sram.jpg
2023-10-13	12:32:13	794	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:13	794	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32344_cassette_pg-1130_11-vit__11-42z_compatible_sram.jpg'
2023-10-13	12:32:13	794	[DEBUG]	Query for Media
2023-10-13	12:32:13	794	[DEBUG]	Executed store
2023-10-13	12:32:13	794	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32344_cassette_pg-1130_11-vit__11-42z_compatible_sram.jpg',`file_url_thumb`='bcprisme/32344_cassette_pg-1130_11-vit__11-42z_compatible_sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12514'
2023-10-13	12:32:13	794	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:13	794	[DEBUG]	Executed store
2023-10-13	12:32:13	794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860286','12514','1')
2023-10-13	12:32:13	794	[DEBUG]	Store product image relation
2023-10-13	12:32:13	794	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:13	794	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860286 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:13	794	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:13	794	[DEBUG]	Executed store
2023-10-13	12:32:13	794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860286','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:13	794	[DEBUG]	Checking manufacturer
2023-10-13	12:32:13	794	[DEBUG]	Load a row
2023-10-13	12:32:13	794	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:13	794	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:13	794	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:13	794	[DEBUG]	Executed store
2023-10-13	12:32:13	794	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:13	794	[DEBUG]	Manufacturer exists
2023-10-13	12:32:13	794	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:32:13	794	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:13	794	[DEBUG]	Executed store
2023-10-13	12:32:13	794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860286','35')
2023-10-13	12:32:13	794	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:13	794	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:13	794	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860286 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:13	794	[DEBUG]	Store custom available field
2023-10-13	12:32:13	794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860286,3,'',1)
2023-10-13	12:32:13	794	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:13	794	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:32:13	794	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860286 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:13	794	[DEBUG]	Store custom available field
2023-10-13	12:32:13	794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860286,6,'Unitaire',3)
2023-10-13	12:32:13	794	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:13	794	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:13	794	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860285
2023-10-13	12:32:13	794	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:13	794	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860285\":[1860285,8,1,\"choisir la taille\"],\"1860286\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860285
2023-10-13	12:32:13	794	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:13	794	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860286
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:13	795	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field taille
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:13	795	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:13	795	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:13	795	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:13	795	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:13	795	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:13	795	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field published
2023-10-13	12:32:13	795	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:13	795	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field override
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:13	795	[DEBUG]	Use field value for field slug
2023-10-13	12:32:13	795	[DEBUG]	Process line 795
2023-10-13	12:32:13	795	[DEBUG]	Load a row
2023-10-13	12:32:13	795	[DEBUG]	Processing item: A_6497_4
2023-10-13	12:32:13	795	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:13	795	[DEBUG]	Processing product tax
2023-10-13	12:32:13	795	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:13	795	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:13	795	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:13	795	[DEBUG]	Query for Product
2023-10-13	12:32:13	795	[DEBUG]	Executed store
2023-10-13	12:32:13	795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6497_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:13	795	[DEBUG]	Check product language entry
2023-10-13	12:32:13	795	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860287
2023-10-13	12:32:13	795	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:13	795	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6497_4' AND `virtuemart_product_id` != 1860287
2023-10-13	12:32:13	795	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:13	795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860287, 'A_6497_4')
2023-10-13	12:32:13	795	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:13	795	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-pg-1070-10-vitesses-11-36-sram-acier' AND `virtuemart_product_id` != 1860287
2023-10-13	12:32:13	795	[DEBUG]	Query for ProductLang
2023-10-13	12:32:13	795	[DEBUG]	Executed store
2023-10-13	12:32:13	795	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7353Q',`product_name`='SHIMANO Cassette PG-1070 10 vitesses 11-36 SRAM / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-pg-1070-10-vitesses-11-36-sram-acier' WHERE `virtuemart_product_id` = '1860287'
2023-10-13	12:32:13	795	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32379_shimano_cassette_pg-1070_11-36_10-vit__sram.jpg
2023-10-13	12:32:13	795	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:32:13	795	[DEBUG]	Process image file
2023-10-13	12:32:13	795	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:32:13	795	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:13	795	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32379_shimano_cassette_pg-1070_11-36_10-vit__sram.jpg
2023-10-13	12:32:13	795	[DEBUG]	Full name target: bcprisme/32379_shimano_cassette_pg-1070_11-36_10-vit__sram.jpg
2023-10-13	12:32:14	795	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:14	795	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32379_shimano_cassette_pg-1070_11-36_10-vit__sram.jpg'
2023-10-13	12:32:14	795	[DEBUG]	Query for Media
2023-10-13	12:32:14	795	[DEBUG]	Executed store
2023-10-13	12:32:14	795	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32379_shimano_cassette_pg-1070_11-36_10-vit__sram.jpg',`file_url_thumb`='bcprisme/32379_shimano_cassette_pg-1070_11-36_10-vit__sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12515'
2023-10-13	12:32:14	795	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:14	795	[DEBUG]	Executed store
2023-10-13	12:32:14	795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860287','12515','1')
2023-10-13	12:32:14	795	[DEBUG]	Store product image relation
2023-10-13	12:32:14	795	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:14	795	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860287 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:14	795	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:14	795	[DEBUG]	Executed store
2023-10-13	12:32:14	795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860287','0','88.2079851439183','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:14	795	[DEBUG]	Checking manufacturer
2023-10-13	12:32:14	795	[DEBUG]	Load a row
2023-10-13	12:32:14	795	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:14	795	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:14	795	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:14	795	[DEBUG]	Executed store
2023-10-13	12:32:14	795	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:14	795	[DEBUG]	Manufacturer exists
2023-10-13	12:32:14	795	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:32:14	795	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:14	795	[DEBUG]	Executed store
2023-10-13	12:32:14	795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860287','26')
2023-10-13	12:32:14	795	[DEBUG]	Find the custom field ID
2023-10-13	12:32:14	795	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:14	795	[DEBUG]	No custom field ID found
2023-10-13	12:32:14	795	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:14	795	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:14	795	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860287 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:14	795	[DEBUG]	Store custom available field
2023-10-13	12:32:14	795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860287,3,'0',1)
2023-10-13	12:32:14	795	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:14	795	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:14	795	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860287 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:14	795	[DEBUG]	Store custom available field
2023-10-13	12:32:14	795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860287,6,'choisir la taille',3)
2023-10-13	12:32:14	795	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:14	795	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:14	795	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:14	795	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:14	795	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860287 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:14	795	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:14	795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860287,8,1)
2023-10-13	12:32:14	795	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:14	795	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860287\":[1860287,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860287
2023-10-13	12:32:14	795	[DEBUG]	Checking category
2023-10-13	12:32:14	795	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:14	795	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860287
2023-10-13	12:32:14	795	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:14	795	[DEBUG]	Executed store
2023-10-13	12:32:14	795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860287','7283')
2023-10-13	12:32:14	795	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:14	795	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860287 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:14	795	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:14	795	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860287
2023-10-13	12:32:14	796	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:14	796	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:14	796	[DEBUG]	Use field value for field taille
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:14	796	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:14	796	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:14	796	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:14	796	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:14	796	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:14	796	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:14	796	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:14	796	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:14	796	[DEBUG]	Use field value for field published
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:14	796	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field override
2023-10-13	12:32:14	796	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:14	796	[DEBUG]	Use field value for field slug
2023-10-13	12:32:14	796	[DEBUG]	Process line 796
2023-10-13	12:32:14	796	[DEBUG]	Load a row
2023-10-13	12:32:14	796	[DEBUG]	Processing item: 24T05984128
2023-10-13	12:32:14	796	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:14	796	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:14	796	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6497_4'
2023-10-13	12:32:14	796	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:14	796	[DEBUG]	Processing product tax
2023-10-13	12:32:14	796	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:14	796	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:14	796	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:14	796	[DEBUG]	Query for Product
2023-10-13	12:32:14	796	[DEBUG]	Executed store
2023-10-13	12:32:14	796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860287','24T05984128','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:14	796	[DEBUG]	No parent found
2023-10-13	12:32:14	796	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860287 AND customfield_value = 'stockable'
2023-10-13	12:32:14	796	[DEBUG]	Check product language entry
2023-10-13	12:32:14	796	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860288
2023-10-13	12:32:14	796	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:14	796	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '24T05984128' AND `virtuemart_product_id` != 1860288
2023-10-13	12:32:14	796	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:14	796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860288, '24T05984128')
2023-10-13	12:32:14	796	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:14	796	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-pg-1070-10-vitesses-11-36-sram-acier-all' AND `virtuemart_product_id` != 1860288
2023-10-13	12:32:14	796	[DEBUG]	Query for ProductLang
2023-10-13	12:32:14	796	[DEBUG]	Executed store
2023-10-13	12:32:14	796	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette PG-1070 10 vitesses 11-36 SRAM / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-pg-1070-10-vitesses-11-36-sram-acier-all' WHERE `virtuemart_product_id` = '1860288'
2023-10-13	12:32:14	796	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32379_shimano_cassette_pg-1070_11-36_10-vit__sram.jpg
2023-10-13	12:32:14	796	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:32:14	796	[DEBUG]	Process image file
2023-10-13	12:32:14	796	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:32:14	796	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:14	796	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32379_shimano_cassette_pg-1070_11-36_10-vit__sram.jpg
2023-10-13	12:32:14	796	[DEBUG]	Full name target: bcprisme/32379_shimano_cassette_pg-1070_11-36_10-vit__sram.jpg
2023-10-13	12:32:15	796	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:15	796	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32379_shimano_cassette_pg-1070_11-36_10-vit__sram.jpg'
2023-10-13	12:32:15	796	[DEBUG]	Query for Media
2023-10-13	12:32:15	796	[DEBUG]	Executed store
2023-10-13	12:32:15	796	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32379_shimano_cassette_pg-1070_11-36_10-vit__sram.jpg',`file_url_thumb`='bcprisme/32379_shimano_cassette_pg-1070_11-36_10-vit__sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12515'
2023-10-13	12:32:15	796	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:15	796	[DEBUG]	Executed store
2023-10-13	12:32:15	796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860288','12515','1')
2023-10-13	12:32:15	796	[DEBUG]	Store product image relation
2023-10-13	12:32:15	796	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:15	796	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860288 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:15	796	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:15	796	[DEBUG]	Executed store
2023-10-13	12:32:15	796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860288','0','88.2079851439183','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:15	796	[DEBUG]	Checking manufacturer
2023-10-13	12:32:15	796	[DEBUG]	Load a row
2023-10-13	12:32:15	796	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:15	796	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:15	796	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:15	796	[DEBUG]	Executed store
2023-10-13	12:32:15	796	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:15	796	[DEBUG]	Manufacturer exists
2023-10-13	12:32:15	796	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:32:15	796	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:15	796	[DEBUG]	Executed store
2023-10-13	12:32:15	796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860288','26')
2023-10-13	12:32:15	796	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:15	796	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:15	796	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860288 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:15	796	[DEBUG]	Store custom available field
2023-10-13	12:32:15	796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860288,3,'',1)
2023-10-13	12:32:15	796	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:15	796	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:32:15	796	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860288 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:15	796	[DEBUG]	Store custom available field
2023-10-13	12:32:15	796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860288,6,'All',3)
2023-10-13	12:32:15	796	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:15	796	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:15	796	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860287
2023-10-13	12:32:15	796	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:15	796	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860287\":[1860287,8,1,\"choisir la taille\"],\"1860288\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860287
2023-10-13	12:32:15	796	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:15	796	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860288
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:15	797	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field taille
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:15	797	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:15	797	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:15	797	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:15	797	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:15	797	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:15	797	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field published
2023-10-13	12:32:15	797	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:15	797	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field override
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:15	797	[DEBUG]	Use field value for field slug
2023-10-13	12:32:15	797	[DEBUG]	Process line 797
2023-10-13	12:32:15	797	[DEBUG]	Load a row
2023-10-13	12:32:15	797	[DEBUG]	Processing item: A_6513_208
2023-10-13	12:32:15	797	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:15	797	[DEBUG]	Processing product tax
2023-10-13	12:32:15	797	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:15	797	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:15	797	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:15	797	[DEBUG]	Query for Product
2023-10-13	12:32:15	797	[DEBUG]	Executed store
2023-10-13	12:32:15	797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6513_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:15	797	[DEBUG]	Check product language entry
2023-10-13	12:32:15	797	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860289
2023-10-13	12:32:15	797	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:15	797	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6513_208' AND `virtuemart_product_id` != 1860289
2023-10-13	12:32:15	797	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:15	797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860289, 'A_6513_208')
2023-10-13	12:32:15	797	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:15	797	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-tiagra-cs-hg500-10-vitesses-11-34-dents-box-aucune' AND `virtuemart_product_id` != 1860289
2023-10-13	12:32:15	797	[DEBUG]	Query for ProductLang
2023-10-13	12:32:15	797	[DEBUG]	Executed store
2023-10-13	12:32:15	797	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.63958',`product_name`='SHIMANO Cassette Tiagra CS-HG500 10-vitesses 11-34 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-tiagra-cs-hg500-10-vitesses-11-34-dents-box-aucune' WHERE `virtuemart_product_id` = '1860289'
2023-10-13	12:32:15	797	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32394_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-34_dents_box.jpg
2023-10-13	12:32:15	797	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:15	797	[DEBUG]	Process image file
2023-10-13	12:32:15	797	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:15	797	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:15	797	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32394_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-34_dents_box.jpg
2023-10-13	12:32:15	797	[DEBUG]	Full name target: bcprisme/32394_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-34_dents_box.jpg
2023-10-13	12:32:16	797	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:16	797	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32394_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-34_dents_box.jpg'
2023-10-13	12:32:16	797	[DEBUG]	Query for Media
2023-10-13	12:32:16	797	[DEBUG]	Executed store
2023-10-13	12:32:16	797	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32394_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-34_dents_box.jpg',`file_url_thumb`='bcprisme/32394_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-34_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12516'
2023-10-13	12:32:16	797	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:16	797	[DEBUG]	Executed store
2023-10-13	12:32:16	797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860289','12516','1')
2023-10-13	12:32:16	797	[DEBUG]	Store product image relation
2023-10-13	12:32:16	797	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:16	797	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860289 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:16	797	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:16	797	[DEBUG]	Executed store
2023-10-13	12:32:16	797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860289','0','44.4753946146704','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:16	797	[DEBUG]	Checking manufacturer
2023-10-13	12:32:16	797	[DEBUG]	Load a row
2023-10-13	12:32:16	797	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:16	797	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:16	797	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:16	797	[DEBUG]	Executed store
2023-10-13	12:32:16	797	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:16	797	[DEBUG]	Manufacturer exists
2023-10-13	12:32:16	797	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:32:16	797	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:16	797	[DEBUG]	Executed store
2023-10-13	12:32:16	797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860289','123')
2023-10-13	12:32:16	797	[DEBUG]	Find the custom field ID
2023-10-13	12:32:16	797	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:16	797	[DEBUG]	No custom field ID found
2023-10-13	12:32:16	797	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:16	797	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:16	797	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860289 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:16	797	[DEBUG]	Store custom available field
2023-10-13	12:32:16	797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860289,3,'0',1)
2023-10-13	12:32:16	797	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:16	797	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:16	797	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860289 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:16	797	[DEBUG]	Store custom available field
2023-10-13	12:32:16	797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860289,6,'choisir la taille',3)
2023-10-13	12:32:16	797	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:16	797	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:16	797	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:16	797	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:16	797	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860289 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:16	797	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:16	797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860289,8,1)
2023-10-13	12:32:16	797	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:16	797	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860289\":[1860289,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860289
2023-10-13	12:32:16	797	[DEBUG]	Checking category
2023-10-13	12:32:16	797	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:16	797	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860289
2023-10-13	12:32:16	797	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:16	797	[DEBUG]	Executed store
2023-10-13	12:32:16	797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860289','7283')
2023-10-13	12:32:16	797	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:16	797	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860289 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:16	797	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:16	797	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860289
2023-10-13	12:32:16	798	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:16	798	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:16	798	[DEBUG]	Use field value for field taille
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:16	798	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:16	798	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:16	798	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:16	798	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:16	798	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:16	798	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:16	798	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:16	798	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:16	798	[DEBUG]	Use field value for field published
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:16	798	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field override
2023-10-13	12:32:16	798	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:16	798	[DEBUG]	Use field value for field slug
2023-10-13	12:32:16	798	[DEBUG]	Process line 798
2023-10-13	12:32:16	798	[DEBUG]	Load a row
2023-10-13	12:32:16	798	[DEBUG]	Processing item: 4524667328186
2023-10-13	12:32:16	798	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:16	798	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:16	798	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6513_208'
2023-10-13	12:32:16	798	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:16	798	[DEBUG]	Processing product tax
2023-10-13	12:32:16	798	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:16	798	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:16	798	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:16	798	[DEBUG]	Query for Product
2023-10-13	12:32:16	798	[DEBUG]	Executed store
2023-10-13	12:32:16	798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860289','4524667328186','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:16	798	[DEBUG]	No parent found
2023-10-13	12:32:16	798	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860289 AND customfield_value = 'stockable'
2023-10-13	12:32:16	798	[DEBUG]	Check product language entry
2023-10-13	12:32:16	798	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860290
2023-10-13	12:32:16	798	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:16	798	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667328186' AND `virtuemart_product_id` != 1860290
2023-10-13	12:32:16	798	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:16	798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860290, '4524667328186')
2023-10-13	12:32:16	798	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:16	798	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-tiagra-cs-hg500-10-vitesses-11-34-dents-box-aucune-all' AND `virtuemart_product_id` != 1860290
2023-10-13	12:32:16	798	[DEBUG]	Query for ProductLang
2023-10-13	12:32:16	798	[DEBUG]	Executed store
2023-10-13	12:32:16	798	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Tiagra CS-HG500 10-vitesses 11-34 dents box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-tiagra-cs-hg500-10-vitesses-11-34-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860290'
2023-10-13	12:32:16	798	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32394_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-34_dents_box.jpg
2023-10-13	12:32:16	798	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:16	798	[DEBUG]	Process image file
2023-10-13	12:32:16	798	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:16	798	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:16	798	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32394_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-34_dents_box.jpg
2023-10-13	12:32:16	798	[DEBUG]	Full name target: bcprisme/32394_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-34_dents_box.jpg
2023-10-13	12:32:17	798	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:17	798	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32394_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-34_dents_box.jpg'
2023-10-13	12:32:17	798	[DEBUG]	Query for Media
2023-10-13	12:32:17	798	[DEBUG]	Executed store
2023-10-13	12:32:17	798	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32394_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-34_dents_box.jpg',`file_url_thumb`='bcprisme/32394_shimano_cassette_tiagra_cs-hg500_10-vitesses_11-34_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12516'
2023-10-13	12:32:17	798	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:17	798	[DEBUG]	Executed store
2023-10-13	12:32:17	798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860290','12516','1')
2023-10-13	12:32:17	798	[DEBUG]	Store product image relation
2023-10-13	12:32:17	798	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:17	798	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860290 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:17	798	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:17	798	[DEBUG]	Executed store
2023-10-13	12:32:17	798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860290','0','44.4753946146704','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:17	798	[DEBUG]	Checking manufacturer
2023-10-13	12:32:17	798	[DEBUG]	Load a row
2023-10-13	12:32:17	798	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:17	798	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:17	798	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:17	798	[DEBUG]	Executed store
2023-10-13	12:32:17	798	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:17	798	[DEBUG]	Manufacturer exists
2023-10-13	12:32:17	798	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:32:17	798	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:17	798	[DEBUG]	Executed store
2023-10-13	12:32:17	798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860290','123')
2023-10-13	12:32:17	798	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:17	798	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:17	798	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860290 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:17	798	[DEBUG]	Store custom available field
2023-10-13	12:32:17	798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860290,3,'',1)
2023-10-13	12:32:17	798	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:17	798	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:32:17	798	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860290 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:17	798	[DEBUG]	Store custom available field
2023-10-13	12:32:17	798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860290,6,'All',3)
2023-10-13	12:32:17	798	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:17	798	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:17	798	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860289
2023-10-13	12:32:17	798	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:17	798	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860289\":[1860289,8,1,\"choisir la taille\"],\"1860290\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860289
2023-10-13	12:32:17	798	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:17	798	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860290
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:17	799	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field taille
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:17	799	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:17	799	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:17	799	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:17	799	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:17	799	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:17	799	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field published
2023-10-13	12:32:17	799	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:17	799	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field override
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:17	799	[DEBUG]	Use field value for field slug
2023-10-13	12:32:17	799	[DEBUG]	Process line 799
2023-10-13	12:32:17	799	[DEBUG]	Load a row
2023-10-13	12:32:17	799	[DEBUG]	Processing item: A_6569_208
2023-10-13	12:32:17	799	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:17	799	[DEBUG]	Processing product tax
2023-10-13	12:32:17	799	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:17	799	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:17	799	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:17	799	[DEBUG]	Query for Product
2023-10-13	12:32:17	799	[DEBUG]	Executed store
2023-10-13	12:32:17	799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6569_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:17	799	[DEBUG]	Check product language entry
2023-10-13	12:32:17	799	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860291
2023-10-13	12:32:17	799	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:17	799	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6569_208' AND `virtuemart_product_id` != 1860291
2023-10-13	12:32:17	799	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:17	799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860291, 'A_6569_208')
2023-10-13	12:32:17	799	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:17	799	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-xt-cs-m8000-11-vitesses-11-42-dents-box-aucune' AND `virtuemart_product_id` != 1860291
2023-10-13	12:32:17	799	[DEBUG]	Query for ProductLang
2023-10-13	12:32:17	799	[DEBUG]	Executed store
2023-10-13	12:32:17	799	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.64477',`product_name`='SHIMANO Cassette XT CS-M8000 11-vitesses 11-42 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-xt-cs-m8000-11-vitesses-11-42-dents-box-aucune' WHERE `virtuemart_product_id` = '1860291'
2023-10-13	12:32:17	799	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32448_shimano_cassette_xt_cs-m8000_11-vitesses_11-42_dents_box.jpg
2023-10-13	12:32:17	799	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:17	799	[DEBUG]	Process image file
2023-10-13	12:32:17	799	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:17	799	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:17	799	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32448_shimano_cassette_xt_cs-m8000_11-vitesses_11-42_dents_box.jpg
2023-10-13	12:32:17	799	[DEBUG]	Full name target: bcprisme/32448_shimano_cassette_xt_cs-m8000_11-vitesses_11-42_dents_box.jpg
2023-10-13	12:32:18	799	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:18	799	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32448_shimano_cassette_xt_cs-m8000_11-vitesses_11-42_dents_box.jpg'
2023-10-13	12:32:18	799	[DEBUG]	Query for Media
2023-10-13	12:32:18	799	[DEBUG]	Executed store
2023-10-13	12:32:18	799	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32448_shimano_cassette_xt_cs-m8000_11-vitesses_11-42_dents_box.jpg',`file_url_thumb`='bcprisme/32448_shimano_cassette_xt_cs-m8000_11-vitesses_11-42_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12517'
2023-10-13	12:32:18	799	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:18	799	[DEBUG]	Executed store
2023-10-13	12:32:18	799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860291','12517','1')
2023-10-13	12:32:18	799	[DEBUG]	Store product image relation
2023-10-13	12:32:18	799	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:18	799	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860291 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:18	799	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:18	799	[DEBUG]	Executed store
2023-10-13	12:32:18	799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860291','0','126.183844011142','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:18	799	[DEBUG]	Checking manufacturer
2023-10-13	12:32:18	799	[DEBUG]	Load a row
2023-10-13	12:32:18	799	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:18	799	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:18	799	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:18	799	[DEBUG]	Executed store
2023-10-13	12:32:18	799	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:18	799	[DEBUG]	Manufacturer exists
2023-10-13	12:32:18	799	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:32:18	799	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:18	799	[DEBUG]	Executed store
2023-10-13	12:32:18	799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860291','123')
2023-10-13	12:32:18	799	[DEBUG]	Find the custom field ID
2023-10-13	12:32:18	799	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:18	799	[DEBUG]	No custom field ID found
2023-10-13	12:32:18	799	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:18	799	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:18	799	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860291 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:18	799	[DEBUG]	Store custom available field
2023-10-13	12:32:18	799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860291,3,'0',1)
2023-10-13	12:32:18	799	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:18	799	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:18	799	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860291 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:18	799	[DEBUG]	Store custom available field
2023-10-13	12:32:18	799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860291,6,'choisir la taille',3)
2023-10-13	12:32:18	799	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:18	799	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:18	799	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:18	799	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:18	799	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860291 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:18	799	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:18	799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860291,8,1)
2023-10-13	12:32:18	799	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:18	799	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860291\":[1860291,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860291
2023-10-13	12:32:18	799	[DEBUG]	Checking category
2023-10-13	12:32:18	799	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:18	799	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860291
2023-10-13	12:32:18	799	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:18	799	[DEBUG]	Executed store
2023-10-13	12:32:18	799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860291','7283')
2023-10-13	12:32:18	799	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:18	799	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860291 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:18	799	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:18	799	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860291
2023-10-13	12:32:18	800	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:18	800	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:18	800	[DEBUG]	Use field value for field taille
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:18	800	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:18	800	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:18	800	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:18	800	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:18	800	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:18	800	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:18	800	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:18	800	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:18	800	[DEBUG]	Use field value for field published
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:18	800	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field override
2023-10-13	12:32:18	800	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:18	800	[DEBUG]	Use field value for field slug
2023-10-13	12:32:18	800	[DEBUG]	Process line 800
2023-10-13	12:32:18	800	[DEBUG]	Load a row
2023-10-13	12:32:18	800	[DEBUG]	Processing item: 4524667322238
2023-10-13	12:32:18	800	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:18	800	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:18	800	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6569_208'
2023-10-13	12:32:18	800	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:18	800	[DEBUG]	Processing product tax
2023-10-13	12:32:18	800	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:18	800	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:18	800	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:18	800	[DEBUG]	Query for Product
2023-10-13	12:32:18	800	[DEBUG]	Executed store
2023-10-13	12:32:18	800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860291','4524667322238','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0')
2023-10-13	12:32:18	800	[DEBUG]	No parent found
2023-10-13	12:32:18	800	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860291 AND customfield_value = 'stockable'
2023-10-13	12:32:18	800	[DEBUG]	Check product language entry
2023-10-13	12:32:18	800	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860292
2023-10-13	12:32:18	800	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:18	800	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667322238' AND `virtuemart_product_id` != 1860292
2023-10-13	12:32:18	800	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:18	800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860292, '4524667322238')
2023-10-13	12:32:18	800	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:18	800	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-xt-cs-m8000-11-vitesses-11-42-dents-box-aucune-all' AND `virtuemart_product_id` != 1860292
2023-10-13	12:32:18	800	[DEBUG]	Query for ProductLang
2023-10-13	12:32:18	800	[DEBUG]	Executed store
2023-10-13	12:32:18	800	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette XT CS-M8000 11-vitesses 11-42 dents box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-xt-cs-m8000-11-vitesses-11-42-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860292'
2023-10-13	12:32:18	800	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32448_shimano_cassette_xt_cs-m8000_11-vitesses_11-42_dents_box.jpg
2023-10-13	12:32:18	800	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:18	800	[DEBUG]	Process image file
2023-10-13	12:32:18	800	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:18	800	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:18	800	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32448_shimano_cassette_xt_cs-m8000_11-vitesses_11-42_dents_box.jpg
2023-10-13	12:32:18	800	[DEBUG]	Full name target: bcprisme/32448_shimano_cassette_xt_cs-m8000_11-vitesses_11-42_dents_box.jpg
2023-10-13	12:32:19	800	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:19	800	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32448_shimano_cassette_xt_cs-m8000_11-vitesses_11-42_dents_box.jpg'
2023-10-13	12:32:19	800	[DEBUG]	Query for Media
2023-10-13	12:32:19	800	[DEBUG]	Executed store
2023-10-13	12:32:19	800	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32448_shimano_cassette_xt_cs-m8000_11-vitesses_11-42_dents_box.jpg',`file_url_thumb`='bcprisme/32448_shimano_cassette_xt_cs-m8000_11-vitesses_11-42_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12517'
2023-10-13	12:32:19	800	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:19	800	[DEBUG]	Executed store
2023-10-13	12:32:19	800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860292','12517','1')
2023-10-13	12:32:19	800	[DEBUG]	Store product image relation
2023-10-13	12:32:19	800	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:19	800	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860292 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:19	800	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:19	800	[DEBUG]	Executed store
2023-10-13	12:32:19	800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860292','0','126.183844011142','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:30:35','1593','2023-10-13 12:30:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:19	800	[DEBUG]	Checking manufacturer
2023-10-13	12:32:19	800	[DEBUG]	Load a row
2023-10-13	12:32:19	800	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:19	800	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:19	800	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:19	800	[DEBUG]	Executed store
2023-10-13	12:32:19	800	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:19	800	[DEBUG]	Manufacturer exists
2023-10-13	12:32:19	800	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:32:19	800	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:19	800	[DEBUG]	Executed store
2023-10-13	12:32:19	800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860292','123')
2023-10-13	12:32:19	800	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:19	800	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:19	800	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860292 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:19	800	[DEBUG]	Store custom available field
2023-10-13	12:32:19	800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860292,3,'',1)
2023-10-13	12:32:19	800	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:19	800	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:32:19	800	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860292 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:19	800	[DEBUG]	Store custom available field
2023-10-13	12:32:19	800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860292,6,'All',3)
2023-10-13	12:32:19	800	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:19	800	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:19	800	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860291
2023-10-13	12:32:19	800	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:19	800	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860291\":[1860291,8,1,\"choisir la taille\"],\"1860292\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860291
2023-10-13	12:32:19	800	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:19	800	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860292
2023-10-13	12:32:39	800	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:32:39	800	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:32:39	800	[DEBUG]	Load the fields to process
2023-10-13	12:32:39	800	[DEBUG]	Setup field: product_sku
2023-10-13	12:32:39	800	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:32:39	800	[DEBUG]	Setup field: taille
2023-10-13	12:32:39	800	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:32:39	800	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:32:39	800	[DEBUG]	Setup field: product_name
2023-10-13	12:32:39	800	[DEBUG]	Setup field: category_path
2023-10-13	12:32:39	800	[DEBUG]	Setup field: product_price
2023-10-13	12:32:39	800	[DEBUG]	Setup field: product_override_price
2023-10-13	12:32:39	800	[DEBUG]	Setup field: product_tax
2023-10-13	12:32:39	800	[DEBUG]	Setup field: file_url
2023-10-13	12:32:39	800	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:32:39	800	[DEBUG]	Setup field: product_desc
2023-10-13	12:32:39	800	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:32:39	800	[DEBUG]	Setup field: product_availability
2023-10-13	12:32:39	800	[DEBUG]	Setup field: product_weight
2023-10-13	12:32:39	800	[DEBUG]	Setup field: product_unit
2023-10-13	12:32:39	800	[DEBUG]	Setup field: related_products
2023-10-13	12:32:39	800	[DEBUG]	Setup field: product_special
2023-10-13	12:32:39	800	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:32:39	800	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:32:39	800	[DEBUG]	Setup field: published
2023-10-13	12:32:39	800	[DEBUG]	Setup field: metadesc
2023-10-13	12:32:39	800	[DEBUG]	Setup field: metakey
2023-10-13	12:32:39	800	[DEBUG]	Setup field: custom_title
2023-10-13	12:32:39	800	[DEBUG]	Setup field: custom_value
2023-10-13	12:32:39	800	[DEBUG]	Setup field: custom_param
2023-10-13	12:32:39	800	[DEBUG]	Setup field: override
2023-10-13	12:32:39	800	[DEBUG]	Setup field: public_price
2023-10-13	12:32:39	800	[DEBUG]	Setup field: slug
2023-10-13	12:32:39	800	[DEBUG]	Use the file for configuration
2023-10-13	12:32:39	800	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:32:39	800	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:32:39	800	[DEBUG]	Load the custom fields
2023-10-13	12:32:39	800	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:32:39	800	[DEBUG]	Load stockable custom fields
2023-10-13	12:32:39	800	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:32:39	800	[DEBUG]	Load custom fields for all
2023-10-13	12:32:39	800	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:39	801	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field taille
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:39	801	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:39	801	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:39	801	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:39	801	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:39	801	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:39	801	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field published
2023-10-13	12:32:39	801	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:39	801	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field override
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:39	801	[DEBUG]	Use field value for field slug
2023-10-13	12:32:39	801	[DEBUG]	Process line 801
2023-10-13	12:32:39	801	[DEBUG]	Check if the vendor exists
2023-10-13	12:32:39	801	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6634_13'
2023-10-13	12:32:39	801	[DEBUG]	Load a row
2023-10-13	12:32:39	801	[DEBUG]	Processing item: A_6634_13
2023-10-13	12:32:39	801	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:39	801	[DEBUG]	Processing product tax
2023-10-13	12:32:39	801	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:39	801	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:39	801	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:39	801	[DEBUG]	Query for Product
2023-10-13	12:32:39	801	[DEBUG]	Executed store
2023-10-13	12:32:39	801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6634_13','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:39	801	[DEBUG]	Check product language entry
2023-10-13	12:32:39	801	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860293
2023-10-13	12:32:39	801	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:39	801	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6634_13' AND `virtuemart_product_id` != 1860293
2023-10-13	12:32:39	801	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:39	801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860293, 'A_6634_13')
2023-10-13	12:32:39	801	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:39	801	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-42-argent-2-alu-spider-argent' AND `virtuemart_product_id` != 1860293
2023-10-13	12:32:39	801	[DEBUG]	Query for ProductLang
2023-10-13	12:32:39	801	[DEBUG]	Executed store
2023-10-13	12:32:39	801	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSMSC101142',`product_name`='MSC Cassette MSC 10 vitesses 11-42 argent 2 Alu Spider / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-42-argent-2-alu-spider-argent' WHERE `virtuemart_product_id` = '1860293'
2023-10-13	12:32:39	801	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32518_cassette_msc_10_vitesses_11-42_argent.jpg
2023-10-13	12:32:39	801	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:39	801	[DEBUG]	Process image file
2023-10-13	12:32:39	801	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:39	801	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:39	801	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32518_cassette_msc_10_vitesses_11-42_argent.jpg
2023-10-13	12:32:39	801	[DEBUG]	Full name target: bcprisme/32518_cassette_msc_10_vitesses_11-42_argent.jpg
2023-10-13	12:32:40	801	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:40	801	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32518_cassette_msc_10_vitesses_11-42_argent.jpg'
2023-10-13	12:32:40	801	[DEBUG]	Query for Media
2023-10-13	12:32:40	801	[DEBUG]	Executed store
2023-10-13	12:32:40	801	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32518_cassette_msc_10_vitesses_11-42_argent.jpg',`file_url_thumb`='bcprisme/32518_cassette_msc_10_vitesses_11-42_argent.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12518'
2023-10-13	12:32:40	801	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:40	801	[DEBUG]	Executed store
2023-10-13	12:32:40	801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860293','12518','1')
2023-10-13	12:32:40	801	[DEBUG]	Store product image relation
2023-10-13	12:32:40	801	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:40	801	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860293 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:40	801	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:40	801	[DEBUG]	Executed store
2023-10-13	12:32:40	801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860293','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:40	801	[DEBUG]	Checking manufacturer
2023-10-13	12:32:40	801	[DEBUG]	Load a row
2023-10-13	12:32:40	801	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:40	801	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:32:40	801	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:40	801	[DEBUG]	Executed store
2023-10-13	12:32:40	801	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:32:40	801	[DEBUG]	Manufacturer exists
2023-10-13	12:32:40	801	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:32:40	801	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:40	801	[DEBUG]	Executed store
2023-10-13	12:32:40	801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860293','32')
2023-10-13	12:32:40	801	[DEBUG]	Find the custom field ID
2023-10-13	12:32:40	801	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:40	801	[DEBUG]	No custom field ID found
2023-10-13	12:32:40	801	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:40	801	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:32:40	801	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860293 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:40	801	[DEBUG]	Store custom available field
2023-10-13	12:32:40	801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860293,3,'109.594722222222',1)
2023-10-13	12:32:40	801	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:40	801	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:40	801	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860293 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:40	801	[DEBUG]	Store custom available field
2023-10-13	12:32:40	801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860293,6,'choisir la taille',3)
2023-10-13	12:32:40	801	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:40	801	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:40	801	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:40	801	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:40	801	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860293 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:40	801	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:40	801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860293,8,1)
2023-10-13	12:32:40	801	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:40	801	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860293\":[1860293,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860293
2023-10-13	12:32:40	801	[DEBUG]	Checking category
2023-10-13	12:32:40	801	[DEBUG]	Check if category path exists: CASSETTES - KASSETTEN
2023-10-13	12:32:40	801	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASSETTES - KASSETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:32:40	801	[DEBUG]	Check if category path exists: CASSETTES - KASSETTEN
2023-10-13	12:32:40	801	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASSETTES - KASSETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7282
2023-10-13	12:32:40	801	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:40	801	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860293
2023-10-13	12:32:40	801	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:40	801	[DEBUG]	Executed store
2023-10-13	12:32:40	801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860293','7283')
2023-10-13	12:32:40	801	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:40	801	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860293 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:40	801	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:40	801	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860293
2023-10-13	12:32:40	802	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:40	802	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:40	802	[DEBUG]	Use field value for field taille
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:40	802	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:40	802	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:40	802	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:40	802	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:40	802	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:40	802	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:40	802	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:40	802	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:40	802	[DEBUG]	Use field value for field published
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:40	802	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field override
2023-10-13	12:32:40	802	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:40	802	[DEBUG]	Use field value for field slug
2023-10-13	12:32:40	802	[DEBUG]	Process line 802
2023-10-13	12:32:40	802	[DEBUG]	Load a row
2023-10-13	12:32:40	802	[DEBUG]	Processing item: 8435466215057
2023-10-13	12:32:40	802	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:40	802	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:40	802	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6634_13'
2023-10-13	12:32:40	802	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:40	802	[DEBUG]	Processing product tax
2023-10-13	12:32:40	802	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:40	802	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:40	802	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:40	802	[DEBUG]	Query for Product
2023-10-13	12:32:40	802	[DEBUG]	Executed store
2023-10-13	12:32:40	802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860293','8435466215057','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:40	802	[DEBUG]	No parent found
2023-10-13	12:32:40	802	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860293 AND customfield_value = 'stockable'
2023-10-13	12:32:40	802	[DEBUG]	Check product language entry
2023-10-13	12:32:40	802	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860294
2023-10-13	12:32:40	802	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:40	802	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215057' AND `virtuemart_product_id` != 1860294
2023-10-13	12:32:40	802	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:40	802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860294, '8435466215057')
2023-10-13	12:32:40	802	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:40	802	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-42-argent-2-alu-spider-argent-unitaire' AND `virtuemart_product_id` != 1860294
2023-10-13	12:32:40	802	[DEBUG]	Query for ProductLang
2023-10-13	12:32:40	802	[DEBUG]	Executed store
2023-10-13	12:32:40	802	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 10 vitesses 11-42 argent 2 Alu Spider / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-42-argent-2-alu-spider-argent-unitaire' WHERE `virtuemart_product_id` = '1860294'
2023-10-13	12:32:40	802	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32518_cassette_msc_10_vitesses_11-42_argent.jpg
2023-10-13	12:32:40	802	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:40	802	[DEBUG]	Process image file
2023-10-13	12:32:40	802	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:40	802	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:40	802	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32518_cassette_msc_10_vitesses_11-42_argent.jpg
2023-10-13	12:32:40	802	[DEBUG]	Full name target: bcprisme/32518_cassette_msc_10_vitesses_11-42_argent.jpg
2023-10-13	12:32:41	802	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:41	802	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32518_cassette_msc_10_vitesses_11-42_argent.jpg'
2023-10-13	12:32:41	802	[DEBUG]	Query for Media
2023-10-13	12:32:41	802	[DEBUG]	Executed store
2023-10-13	12:32:41	802	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32518_cassette_msc_10_vitesses_11-42_argent.jpg',`file_url_thumb`='bcprisme/32518_cassette_msc_10_vitesses_11-42_argent.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12518'
2023-10-13	12:32:41	802	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:41	802	[DEBUG]	Executed store
2023-10-13	12:32:41	802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860294','12518','1')
2023-10-13	12:32:41	802	[DEBUG]	Store product image relation
2023-10-13	12:32:41	802	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:41	802	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860294 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:41	802	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:41	802	[DEBUG]	Executed store
2023-10-13	12:32:41	802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860294','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:41	802	[DEBUG]	Checking manufacturer
2023-10-13	12:32:41	802	[DEBUG]	Load a row
2023-10-13	12:32:41	802	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:41	802	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:32:41	802	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:41	802	[DEBUG]	Executed store
2023-10-13	12:32:41	802	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:32:41	802	[DEBUG]	Manufacturer exists
2023-10-13	12:32:41	802	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:32:41	802	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:41	802	[DEBUG]	Executed store
2023-10-13	12:32:41	802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860294','32')
2023-10-13	12:32:41	802	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:41	802	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:41	802	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860294 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:41	802	[DEBUG]	Store custom available field
2023-10-13	12:32:41	802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860294,3,'',1)
2023-10-13	12:32:41	802	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:41	802	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:32:41	802	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860294 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:41	802	[DEBUG]	Store custom available field
2023-10-13	12:32:41	802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860294,6,'Unitaire',3)
2023-10-13	12:32:41	802	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:41	802	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:41	802	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860293
2023-10-13	12:32:41	802	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:41	802	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860293\":[1860293,8,1,\"choisir la taille\"],\"1860294\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860293
2023-10-13	12:32:41	802	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:41	802	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860294
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:41	803	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field taille
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:41	803	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:41	803	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:41	803	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:41	803	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:41	803	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:41	803	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field published
2023-10-13	12:32:41	803	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:41	803	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field override
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:41	803	[DEBUG]	Use field value for field slug
2023-10-13	12:32:41	803	[DEBUG]	Process line 803
2023-10-13	12:32:41	803	[DEBUG]	Load a row
2023-10-13	12:32:41	803	[DEBUG]	Processing item: A_6765_0
2023-10-13	12:32:41	803	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:41	803	[DEBUG]	Processing product tax
2023-10-13	12:32:41	803	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:41	803	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:41	803	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:41	803	[DEBUG]	Query for Product
2023-10-13	12:32:41	803	[DEBUG]	Executed store
2023-10-13	12:32:41	803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6765_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:41	803	[DEBUG]	Check product language entry
2023-10-13	12:32:41	803	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860295
2023-10-13	12:32:41	803	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:41	803	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6765_0' AND `virtuemart_product_id` != 1860295
2023-10-13	12:32:41	803	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:41	803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860295, 'A_6765_0')
2023-10-13	12:32:41	803	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:41	803	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-xt-cs-m8100-12-vitesses-unique' AND `virtuemart_product_id` != 1860295
2023-10-13	12:32:41	803	[DEBUG]	Query for ProductLang
2023-10-13	12:32:41	803	[DEBUG]	Executed store
2023-10-13	12:32:41	803	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.75160',`product_name`='SHIMANO Cassette Deore XT CS-M8100 12-vitesses / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-xt-cs-m8100-12-vitesses-unique' WHERE `virtuemart_product_id` = '1860295'
2023-10-13	12:32:41	803	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32991_shimano_cassette_deore_xt_cs-m8100_12-vitesses.jpg
2023-10-13	12:32:41	803	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:41	803	[DEBUG]	Process image file
2023-10-13	12:32:41	803	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:41	803	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:41	803	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32991_shimano_cassette_deore_xt_cs-m8100_12-vitesses.jpg
2023-10-13	12:32:41	803	[DEBUG]	Full name target: bcprisme/32991_shimano_cassette_deore_xt_cs-m8100_12-vitesses.jpg
2023-10-13	12:32:42	803	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:42	803	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32991_shimano_cassette_deore_xt_cs-m8100_12-vitesses.jpg'
2023-10-13	12:32:42	803	[DEBUG]	Query for Media
2023-10-13	12:32:42	803	[DEBUG]	Executed store
2023-10-13	12:32:42	803	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32991_shimano_cassette_deore_xt_cs-m8100_12-vitesses.jpg',`file_url_thumb`='bcprisme/32991_shimano_cassette_deore_xt_cs-m8100_12-vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12520'
2023-10-13	12:32:42	803	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:42	803	[DEBUG]	Executed store
2023-10-13	12:32:42	803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860295','12520','1')
2023-10-13	12:32:42	803	[DEBUG]	Store product image relation
2023-10-13	12:32:42	803	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:42	803	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860295 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:42	803	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:42	803	[DEBUG]	Executed store
2023-10-13	12:32:42	803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860295','0','176.323119777159','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:42	803	[DEBUG]	Checking manufacturer
2023-10-13	12:32:42	803	[DEBUG]	Load a row
2023-10-13	12:32:42	803	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:42	803	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:42	803	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:42	803	[DEBUG]	Executed store
2023-10-13	12:32:42	803	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:42	803	[DEBUG]	Manufacturer exists
2023-10-13	12:32:42	803	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:32:42	803	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:42	803	[DEBUG]	Executed store
2023-10-13	12:32:42	803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860295','26')
2023-10-13	12:32:42	803	[DEBUG]	Find the custom field ID
2023-10-13	12:32:42	803	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:42	803	[DEBUG]	No custom field ID found
2023-10-13	12:32:42	803	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:42	803	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:42	803	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860295 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:42	803	[DEBUG]	Store custom available field
2023-10-13	12:32:42	803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860295,3,'0',1)
2023-10-13	12:32:42	803	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:42	803	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:42	803	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860295 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:42	803	[DEBUG]	Store custom available field
2023-10-13	12:32:42	803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860295,6,'choisir la taille',3)
2023-10-13	12:32:42	803	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:42	803	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:42	803	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:42	803	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:42	803	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860295 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:42	803	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:42	803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860295,8,1)
2023-10-13	12:32:42	803	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:42	803	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860295\":[1860295,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860295
2023-10-13	12:32:42	803	[DEBUG]	Checking category
2023-10-13	12:32:42	803	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:42	803	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860295
2023-10-13	12:32:42	803	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:42	803	[DEBUG]	Executed store
2023-10-13	12:32:42	803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860295','7283')
2023-10-13	12:32:42	803	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:42	803	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860295 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:42	803	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:42	803	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860295
2023-10-13	12:32:42	804	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:42	804	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:42	804	[DEBUG]	Use field value for field taille
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:42	804	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:42	804	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:42	804	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:42	804	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:42	804	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:42	804	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:42	804	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:42	804	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:42	804	[DEBUG]	Use field value for field published
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:42	804	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field override
2023-10-13	12:32:42	804	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:42	804	[DEBUG]	Use field value for field slug
2023-10-13	12:32:42	804	[DEBUG]	Process line 804
2023-10-13	12:32:42	804	[DEBUG]	Load a row
2023-10-13	12:32:42	804	[DEBUG]	Processing item: 4550170443849
2023-10-13	12:32:42	804	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:42	804	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:42	804	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6765_0'
2023-10-13	12:32:42	804	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:42	804	[DEBUG]	Processing product tax
2023-10-13	12:32:42	804	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:42	804	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:42	804	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:42	804	[DEBUG]	Query for Product
2023-10-13	12:32:42	804	[DEBUG]	Executed store
2023-10-13	12:32:42	804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860295','4550170443849','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:42	804	[DEBUG]	No parent found
2023-10-13	12:32:42	804	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860295 AND customfield_value = 'stockable'
2023-10-13	12:32:42	804	[DEBUG]	Check product language entry
2023-10-13	12:32:42	804	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860296
2023-10-13	12:32:42	804	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:42	804	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170443849' AND `virtuemart_product_id` != 1860296
2023-10-13	12:32:42	804	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:42	804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860296, '4550170443849')
2023-10-13	12:32:42	804	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:42	804	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-xt-cs-m8100-12-vitesses-unique-all' AND `virtuemart_product_id` != 1860296
2023-10-13	12:32:42	804	[DEBUG]	Query for ProductLang
2023-10-13	12:32:42	804	[DEBUG]	Executed store
2023-10-13	12:32:42	804	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Deore XT CS-M8100 12-vitesses / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-xt-cs-m8100-12-vitesses-unique-all' WHERE `virtuemart_product_id` = '1860296'
2023-10-13	12:32:42	804	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32991_shimano_cassette_deore_xt_cs-m8100_12-vitesses.jpg
2023-10-13	12:32:42	804	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:42	804	[DEBUG]	Process image file
2023-10-13	12:32:42	804	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:42	804	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:42	804	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32991_shimano_cassette_deore_xt_cs-m8100_12-vitesses.jpg
2023-10-13	12:32:42	804	[DEBUG]	Full name target: bcprisme/32991_shimano_cassette_deore_xt_cs-m8100_12-vitesses.jpg
2023-10-13	12:32:43	804	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:43	804	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32991_shimano_cassette_deore_xt_cs-m8100_12-vitesses.jpg'
2023-10-13	12:32:43	804	[DEBUG]	Query for Media
2023-10-13	12:32:43	804	[DEBUG]	Executed store
2023-10-13	12:32:43	804	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32991_shimano_cassette_deore_xt_cs-m8100_12-vitesses.jpg',`file_url_thumb`='bcprisme/32991_shimano_cassette_deore_xt_cs-m8100_12-vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12520'
2023-10-13	12:32:43	804	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:43	804	[DEBUG]	Executed store
2023-10-13	12:32:43	804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860296','12520','1')
2023-10-13	12:32:43	804	[DEBUG]	Store product image relation
2023-10-13	12:32:43	804	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:43	804	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860296 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:43	804	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:43	804	[DEBUG]	Executed store
2023-10-13	12:32:43	804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860296','0','176.323119777159','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:43	804	[DEBUG]	Checking manufacturer
2023-10-13	12:32:43	804	[DEBUG]	Load a row
2023-10-13	12:32:43	804	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:43	804	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:43	804	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:43	804	[DEBUG]	Executed store
2023-10-13	12:32:43	804	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:43	804	[DEBUG]	Manufacturer exists
2023-10-13	12:32:43	804	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:32:43	804	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:43	804	[DEBUG]	Executed store
2023-10-13	12:32:43	804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860296','26')
2023-10-13	12:32:43	804	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:43	804	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:43	804	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860296 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:43	804	[DEBUG]	Store custom available field
2023-10-13	12:32:43	804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860296,3,'',1)
2023-10-13	12:32:43	804	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:43	804	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:32:43	804	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860296 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:43	804	[DEBUG]	Store custom available field
2023-10-13	12:32:43	804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860296,6,'All',3)
2023-10-13	12:32:43	804	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:43	804	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:43	804	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860295
2023-10-13	12:32:43	804	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:43	804	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860295\":[1860295,8,1,\"choisir la taille\"],\"1860296\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860295
2023-10-13	12:32:43	804	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:43	804	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860296
2023-10-13	12:32:43	805	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:43	805	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:43	805	[DEBUG]	Use field value for field taille
2023-10-13	12:32:43	805	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:43	805	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:43	805	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:43	805	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:43	805	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:43	805	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:43	805	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:43	805	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:43	805	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:44	805	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:44	805	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:44	805	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:44	805	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:44	805	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:44	805	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:44	805	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:44	805	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:44	805	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:44	805	[DEBUG]	Use field value for field published
2023-10-13	12:32:44	805	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:44	805	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:44	805	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:44	805	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:44	805	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:44	805	[DEBUG]	Use field value for field override
2023-10-13	12:32:44	805	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:44	805	[DEBUG]	Use field value for field slug
2023-10-13	12:32:44	805	[DEBUG]	Process line 805
2023-10-13	12:32:44	805	[DEBUG]	Load a row
2023-10-13	12:32:44	805	[DEBUG]	Processing item: A_6785_1
2023-10-13	12:32:44	805	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:44	805	[DEBUG]	Processing product tax
2023-10-13	12:32:44	805	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:44	805	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:44	805	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:44	805	[DEBUG]	Query for Product
2023-10-13	12:32:44	805	[DEBUG]	Executed store
2023-10-13	12:32:44	805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6785_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:44	805	[DEBUG]	Check product language entry
2023-10-13	12:32:44	805	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860297
2023-10-13	12:32:44	805	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:44	805	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6785_1' AND `virtuemart_product_id` != 1860297
2023-10-13	12:32:44	805	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:44	805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860297, 'A_6785_1')
2023-10-13	12:32:44	805	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:44	805	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1150-11-vitesses-10-42-z-sram-noir' AND `virtuemart_product_id` != 1860297
2023-10-13	12:32:44	805	[DEBUG]	Query for ProductLang
2023-10-13	12:32:44	805	[DEBUG]	Executed store
2023-10-13	12:32:44	805	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7509F',`product_name`='SRAM Cassette XG-1150 11 vitesses 10-42 Z Sram / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1150-11-vitesses-10-42-z-sram-noir' WHERE `virtuemart_product_id` = '1860297'
2023-10-13	12:32:44	805	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33021_cassette_xg-1150_11_vitesses_10-42_z_sram.jpg
2023-10-13	12:32:44	805	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:44	805	[DEBUG]	Process image file
2023-10-13	12:32:44	805	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:44	805	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:44	805	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33021_cassette_xg-1150_11_vitesses_10-42_z_sram.jpg
2023-10-13	12:32:44	805	[DEBUG]	Full name target: bcprisme/33021_cassette_xg-1150_11_vitesses_10-42_z_sram.jpg
2023-10-13	12:32:45	805	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:45	805	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33021_cassette_xg-1150_11_vitesses_10-42_z_sram.jpg'
2023-10-13	12:32:45	805	[DEBUG]	Query for Media
2023-10-13	12:32:45	805	[DEBUG]	Executed store
2023-10-13	12:32:45	805	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33021_cassette_xg-1150_11_vitesses_10-42_z_sram.jpg',`file_url_thumb`='bcprisme/33021_cassette_xg-1150_11_vitesses_10-42_z_sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12521'
2023-10-13	12:32:45	805	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:45	805	[DEBUG]	Executed store
2023-10-13	12:32:45	805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860297','12521','1')
2023-10-13	12:32:45	805	[DEBUG]	Store product image relation
2023-10-13	12:32:45	805	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:45	805	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860297 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:45	805	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:45	805	[DEBUG]	Executed store
2023-10-13	12:32:45	805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860297','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:45	805	[DEBUG]	Checking manufacturer
2023-10-13	12:32:45	805	[DEBUG]	Load a row
2023-10-13	12:32:45	805	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:45	805	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:45	805	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:45	805	[DEBUG]	Executed store
2023-10-13	12:32:45	805	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:45	805	[DEBUG]	Manufacturer exists
2023-10-13	12:32:45	805	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:32:45	805	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:45	805	[DEBUG]	Executed store
2023-10-13	12:32:45	805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860297','35')
2023-10-13	12:32:45	805	[DEBUG]	Find the custom field ID
2023-10-13	12:32:45	805	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:45	805	[DEBUG]	No custom field ID found
2023-10-13	12:32:45	805	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:45	805	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:45	805	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860297 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:45	805	[DEBUG]	Store custom available field
2023-10-13	12:32:45	805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860297,3,'0',1)
2023-10-13	12:32:45	805	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:45	805	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:45	805	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860297 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:45	805	[DEBUG]	Store custom available field
2023-10-13	12:32:45	805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860297,6,'choisir la taille',3)
2023-10-13	12:32:45	805	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:45	805	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:45	805	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:45	805	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:45	805	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860297 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:45	805	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:45	805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860297,8,1)
2023-10-13	12:32:45	805	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:45	805	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860297\":[1860297,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860297
2023-10-13	12:32:45	805	[DEBUG]	Checking category
2023-10-13	12:32:45	805	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:45	805	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860297
2023-10-13	12:32:45	805	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:45	805	[DEBUG]	Executed store
2023-10-13	12:32:45	805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860297','7283')
2023-10-13	12:32:45	805	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:45	805	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860297 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:45	805	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:45	805	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860297
2023-10-13	12:32:45	806	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:45	806	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:45	806	[DEBUG]	Use field value for field taille
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:45	806	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:45	806	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:45	806	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:45	806	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:45	806	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:45	806	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:45	806	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:45	806	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:45	806	[DEBUG]	Use field value for field published
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:45	806	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field override
2023-10-13	12:32:45	806	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:45	806	[DEBUG]	Use field value for field slug
2023-10-13	12:32:45	806	[DEBUG]	Process line 806
2023-10-13	12:32:45	806	[DEBUG]	Load a row
2023-10-13	12:32:45	806	[DEBUG]	Processing item: 29T91608940
2023-10-13	12:32:45	806	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:45	806	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:45	806	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6785_1'
2023-10-13	12:32:45	806	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:45	806	[DEBUG]	Processing product tax
2023-10-13	12:32:45	806	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:45	806	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:45	806	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:45	806	[DEBUG]	Query for Product
2023-10-13	12:32:45	806	[DEBUG]	Executed store
2023-10-13	12:32:45	806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860297','29T91608940','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:45	806	[DEBUG]	No parent found
2023-10-13	12:32:45	806	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860297 AND customfield_value = 'stockable'
2023-10-13	12:32:45	806	[DEBUG]	Check product language entry
2023-10-13	12:32:45	806	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860298
2023-10-13	12:32:45	806	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:45	806	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '29T91608940' AND `virtuemart_product_id` != 1860298
2023-10-13	12:32:45	806	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:45	806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860298, '29T91608940')
2023-10-13	12:32:45	806	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:45	806	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1150-11-vitesses-10-42-z-sram-noir-unitaire' AND `virtuemart_product_id` != 1860298
2023-10-13	12:32:45	806	[DEBUG]	Query for ProductLang
2023-10-13	12:32:45	806	[DEBUG]	Executed store
2023-10-13	12:32:45	806	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1150 11 vitesses 10-42 Z Sram / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1150-11-vitesses-10-42-z-sram-noir-unitaire' WHERE `virtuemart_product_id` = '1860298'
2023-10-13	12:32:45	806	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33021_cassette_xg-1150_11_vitesses_10-42_z_sram.jpg
2023-10-13	12:32:45	806	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:45	806	[DEBUG]	Process image file
2023-10-13	12:32:45	806	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:45	806	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:45	806	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33021_cassette_xg-1150_11_vitesses_10-42_z_sram.jpg
2023-10-13	12:32:45	806	[DEBUG]	Full name target: bcprisme/33021_cassette_xg-1150_11_vitesses_10-42_z_sram.jpg
2023-10-13	12:32:46	806	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:46	806	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33021_cassette_xg-1150_11_vitesses_10-42_z_sram.jpg'
2023-10-13	12:32:46	806	[DEBUG]	Query for Media
2023-10-13	12:32:46	806	[DEBUG]	Executed store
2023-10-13	12:32:46	806	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33021_cassette_xg-1150_11_vitesses_10-42_z_sram.jpg',`file_url_thumb`='bcprisme/33021_cassette_xg-1150_11_vitesses_10-42_z_sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12521'
2023-10-13	12:32:46	806	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:46	806	[DEBUG]	Executed store
2023-10-13	12:32:46	806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860298','12521','1')
2023-10-13	12:32:46	806	[DEBUG]	Store product image relation
2023-10-13	12:32:46	806	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:46	806	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860298 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:46	806	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:46	806	[DEBUG]	Executed store
2023-10-13	12:32:46	806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860298','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:46	806	[DEBUG]	Checking manufacturer
2023-10-13	12:32:46	806	[DEBUG]	Load a row
2023-10-13	12:32:46	806	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:46	806	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:46	806	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:46	806	[DEBUG]	Executed store
2023-10-13	12:32:46	806	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:46	806	[DEBUG]	Manufacturer exists
2023-10-13	12:32:46	806	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:32:46	806	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:46	806	[DEBUG]	Executed store
2023-10-13	12:32:46	806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860298','35')
2023-10-13	12:32:46	806	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:46	806	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:46	806	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860298 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:46	806	[DEBUG]	Store custom available field
2023-10-13	12:32:46	806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860298,3,'',1)
2023-10-13	12:32:46	806	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:46	806	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:32:46	806	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860298 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:46	806	[DEBUG]	Store custom available field
2023-10-13	12:32:46	806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860298,6,'Unitaire',3)
2023-10-13	12:32:46	806	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:46	806	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:46	806	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860297
2023-10-13	12:32:46	806	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:46	806	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860297\":[1860297,8,1,\"choisir la taille\"],\"1860298\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860297
2023-10-13	12:32:46	806	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:46	806	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860298
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:46	807	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field taille
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:46	807	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:46	807	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:46	807	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:46	807	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:46	807	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:46	807	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field published
2023-10-13	12:32:46	807	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:46	807	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field override
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:46	807	[DEBUG]	Use field value for field slug
2023-10-13	12:32:46	807	[DEBUG]	Process line 807
2023-10-13	12:32:46	807	[DEBUG]	Load a row
2023-10-13	12:32:46	807	[DEBUG]	Processing item: A_6786_13
2023-10-13	12:32:46	807	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:46	807	[DEBUG]	Processing product tax
2023-10-13	12:32:46	807	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:46	807	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:46	807	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:46	807	[DEBUG]	Query for Product
2023-10-13	12:32:46	807	[DEBUG]	Executed store
2023-10-13	12:32:46	807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6786_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:46	807	[DEBUG]	Check product language entry
2023-10-13	12:32:46	807	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860299
2023-10-13	12:32:46	807	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:46	807	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6786_13' AND `virtuemart_product_id` != 1860299
2023-10-13	12:32:46	807	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:46	807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860299, 'A_6786_13')
2023-10-13	12:32:46	807	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:46	807	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-105-cs-r7000-11-vitesses-11-28-argent' AND `virtuemart_product_id` != 1860299
2023-10-13	12:32:46	807	[DEBUG]	Query for ProductLang
2023-10-13	12:32:46	807	[DEBUG]	Executed store
2023-10-13	12:32:46	807	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.72587',`product_name`='SHIMANO Cassette 105 CS-R7000 11 vitesses 11/28 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-105-cs-r7000-11-vitesses-11-28-argent' WHERE `virtuemart_product_id` = '1860299'
2023-10-13	12:32:46	807	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33022_shimano_cassette_105_cs-r7000_11_vitesses_11-28.jpg
2023-10-13	12:32:46	807	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:46	807	[DEBUG]	Process image file
2023-10-13	12:32:46	807	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:46	807	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:46	807	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33022_shimano_cassette_105_cs-r7000_11_vitesses_11-28.jpg
2023-10-13	12:32:46	807	[DEBUG]	Full name target: bcprisme/33022_shimano_cassette_105_cs-r7000_11_vitesses_11-28.jpg
2023-10-13	12:32:47	807	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:47	807	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33022_shimano_cassette_105_cs-r7000_11_vitesses_11-28.jpg'
2023-10-13	12:32:47	807	[DEBUG]	Query for Media
2023-10-13	12:32:47	807	[DEBUG]	Executed store
2023-10-13	12:32:47	807	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33022_shimano_cassette_105_cs-r7000_11_vitesses_11-28.jpg',`file_url_thumb`='bcprisme/33022_shimano_cassette_105_cs-r7000_11_vitesses_11-28.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15800'
2023-10-13	12:32:47	807	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:47	807	[DEBUG]	Executed store
2023-10-13	12:32:47	807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860299','15800','1')
2023-10-13	12:32:47	807	[DEBUG]	Store product image relation
2023-10-13	12:32:47	807	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:47	807	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860299 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:47	807	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:47	807	[DEBUG]	Executed store
2023-10-13	12:32:47	807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860299','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:47	807	[DEBUG]	Checking manufacturer
2023-10-13	12:32:47	807	[DEBUG]	Load a row
2023-10-13	12:32:47	807	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:47	807	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:47	807	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:47	807	[DEBUG]	Executed store
2023-10-13	12:32:47	807	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:47	807	[DEBUG]	Manufacturer exists
2023-10-13	12:32:47	807	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:32:47	807	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:47	807	[DEBUG]	Executed store
2023-10-13	12:32:47	807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860299','26')
2023-10-13	12:32:47	807	[DEBUG]	Find the custom field ID
2023-10-13	12:32:47	807	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:47	807	[DEBUG]	No custom field ID found
2023-10-13	12:32:47	807	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:47	807	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:47	807	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860299 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:47	807	[DEBUG]	Store custom available field
2023-10-13	12:32:47	807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860299,3,'0',1)
2023-10-13	12:32:47	807	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:47	807	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:47	807	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860299 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:47	807	[DEBUG]	Store custom available field
2023-10-13	12:32:47	807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860299,6,'choisir la taille',3)
2023-10-13	12:32:47	807	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:47	807	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:47	807	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:47	807	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:47	807	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860299 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:47	807	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:47	807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860299,8,1)
2023-10-13	12:32:47	807	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:47	807	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860299\":[1860299,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860299
2023-10-13	12:32:47	807	[DEBUG]	Checking category
2023-10-13	12:32:47	807	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:47	807	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860299
2023-10-13	12:32:47	807	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:47	807	[DEBUG]	Executed store
2023-10-13	12:32:47	807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860299','7283')
2023-10-13	12:32:47	807	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:47	807	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860299 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:47	807	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:47	807	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860299
2023-10-13	12:32:47	808	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:47	808	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:47	808	[DEBUG]	Use field value for field taille
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:47	808	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:47	808	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:47	808	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:47	808	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:47	808	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:47	808	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:47	808	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:47	808	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:47	808	[DEBUG]	Use field value for field published
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:47	808	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field override
2023-10-13	12:32:47	808	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:47	808	[DEBUG]	Use field value for field slug
2023-10-13	12:32:47	808	[DEBUG]	Process line 808
2023-10-13	12:32:47	808	[DEBUG]	Load a row
2023-10-13	12:32:47	808	[DEBUG]	Processing item: 4524667885900
2023-10-13	12:32:47	808	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:47	808	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:47	808	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6786_13'
2023-10-13	12:32:47	808	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:47	808	[DEBUG]	Processing product tax
2023-10-13	12:32:47	808	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:47	808	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:47	808	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:47	808	[DEBUG]	Query for Product
2023-10-13	12:32:47	808	[DEBUG]	Executed store
2023-10-13	12:32:47	808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860299','4524667885900','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:47	808	[DEBUG]	No parent found
2023-10-13	12:32:47	808	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860299 AND customfield_value = 'stockable'
2023-10-13	12:32:47	808	[DEBUG]	Check product language entry
2023-10-13	12:32:47	808	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860300
2023-10-13	12:32:47	808	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:47	808	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667885900' AND `virtuemart_product_id` != 1860300
2023-10-13	12:32:47	808	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:47	808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860300, '4524667885900')
2023-10-13	12:32:47	808	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:47	808	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-105-cs-r7000-11-vitesses-11-28-argent-all' AND `virtuemart_product_id` != 1860300
2023-10-13	12:32:47	808	[DEBUG]	Query for ProductLang
2023-10-13	12:32:47	808	[DEBUG]	Executed store
2023-10-13	12:32:47	808	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette 105 CS-R7000 11 vitesses 11/28 / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-105-cs-r7000-11-vitesses-11-28-argent-all' WHERE `virtuemart_product_id` = '1860300'
2023-10-13	12:32:47	808	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33022_shimano_cassette_105_cs-r7000_11_vitesses_11-28.jpg
2023-10-13	12:32:47	808	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:47	808	[DEBUG]	Process image file
2023-10-13	12:32:47	808	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:47	808	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:47	808	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33022_shimano_cassette_105_cs-r7000_11_vitesses_11-28.jpg
2023-10-13	12:32:47	808	[DEBUG]	Full name target: bcprisme/33022_shimano_cassette_105_cs-r7000_11_vitesses_11-28.jpg
2023-10-13	12:32:48	808	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:48	808	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33022_shimano_cassette_105_cs-r7000_11_vitesses_11-28.jpg'
2023-10-13	12:32:48	808	[DEBUG]	Query for Media
2023-10-13	12:32:48	808	[DEBUG]	Executed store
2023-10-13	12:32:48	808	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33022_shimano_cassette_105_cs-r7000_11_vitesses_11-28.jpg',`file_url_thumb`='bcprisme/33022_shimano_cassette_105_cs-r7000_11_vitesses_11-28.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15800'
2023-10-13	12:32:48	808	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:48	808	[DEBUG]	Executed store
2023-10-13	12:32:48	808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860300','15800','1')
2023-10-13	12:32:48	808	[DEBUG]	Store product image relation
2023-10-13	12:32:48	808	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:48	808	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860300 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:48	808	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:48	808	[DEBUG]	Executed store
2023-10-13	12:32:48	808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860300','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:48	808	[DEBUG]	Checking manufacturer
2023-10-13	12:32:48	808	[DEBUG]	Load a row
2023-10-13	12:32:48	808	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:48	808	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:48	808	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:48	808	[DEBUG]	Executed store
2023-10-13	12:32:48	808	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:48	808	[DEBUG]	Manufacturer exists
2023-10-13	12:32:48	808	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:32:48	808	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:48	808	[DEBUG]	Executed store
2023-10-13	12:32:48	808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860300','26')
2023-10-13	12:32:48	808	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:48	808	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:48	808	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860300 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:48	808	[DEBUG]	Store custom available field
2023-10-13	12:32:48	808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860300,3,'',1)
2023-10-13	12:32:48	808	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:48	808	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:32:48	808	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860300 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:48	808	[DEBUG]	Store custom available field
2023-10-13	12:32:48	808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860300,6,'All',3)
2023-10-13	12:32:48	808	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:48	808	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:48	808	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860299
2023-10-13	12:32:48	808	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:48	808	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860299\":[1860299,8,1,\"choisir la taille\"],\"1860300\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860299
2023-10-13	12:32:48	808	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:48	808	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860300
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:48	809	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field taille
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:48	809	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:48	809	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:48	809	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:48	809	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:48	809	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:48	809	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field published
2023-10-13	12:32:48	809	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:48	809	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field override
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:48	809	[DEBUG]	Use field value for field slug
2023-10-13	12:32:48	809	[DEBUG]	Process line 809
2023-10-13	12:32:48	809	[DEBUG]	Load a row
2023-10-13	12:32:48	809	[DEBUG]	Processing item: A_6831_208
2023-10-13	12:32:48	809	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:48	809	[DEBUG]	Processing product tax
2023-10-13	12:32:48	809	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:48	809	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:48	809	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:48	809	[DEBUG]	Query for Product
2023-10-13	12:32:48	809	[DEBUG]	Executed store
2023-10-13	12:32:48	809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6831_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:48	809	[DEBUG]	Check product language entry
2023-10-13	12:32:48	809	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860301
2023-10-13	12:32:48	809	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:48	809	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6831_208' AND `virtuemart_product_id` != 1860301
2023-10-13	12:32:48	809	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:48	809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860301, 'A_6831_208')
2023-10-13	12:32:48	809	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:48	809	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pignon-cs-m8000-13-dents-11-vitesses-aucune' AND `virtuemart_product_id` != 1860301
2023-10-13	12:32:48	809	[DEBUG]	Query for ProductLang
2023-10-13	12:32:48	809	[DEBUG]	Executed store
2023-10-13	12:32:48	809	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.64853',`product_name`='SHIMANO Pignon CS-M8000 13 dents 11 vitesses / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pignon-cs-m8000-13-dents-11-vitesses-aucune' WHERE `virtuemart_product_id` = '1860301'
2023-10-13	12:32:48	809	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33649_shimano_pignon_cs-m8000_13_dents.jpg
2023-10-13	12:32:48	809	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:48	809	[DEBUG]	Process image file
2023-10-13	12:32:48	809	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:48	809	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:48	809	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33649_shimano_pignon_cs-m8000_13_dents.jpg
2023-10-13	12:32:48	809	[DEBUG]	Full name target: bcprisme/33649_shimano_pignon_cs-m8000_13_dents.jpg
2023-10-13	12:32:49	809	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:49	809	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33649_shimano_pignon_cs-m8000_13_dents.jpg'
2023-10-13	12:32:49	809	[DEBUG]	Query for Media
2023-10-13	12:32:49	809	[DEBUG]	Executed store
2023-10-13	12:32:49	809	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33649_shimano_pignon_cs-m8000_13_dents.jpg',`file_url_thumb`='bcprisme/33649_shimano_pignon_cs-m8000_13_dents.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12522'
2023-10-13	12:32:49	809	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:49	809	[DEBUG]	Executed store
2023-10-13	12:32:49	809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860301','12522','1')
2023-10-13	12:32:49	809	[DEBUG]	Store product image relation
2023-10-13	12:32:49	809	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:49	809	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860301 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:49	809	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:49	809	[DEBUG]	Executed store
2023-10-13	12:32:49	809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860301','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:49	809	[DEBUG]	Checking manufacturer
2023-10-13	12:32:49	809	[DEBUG]	Load a row
2023-10-13	12:32:49	809	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:49	809	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:49	809	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:49	809	[DEBUG]	Executed store
2023-10-13	12:32:49	809	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:49	809	[DEBUG]	Manufacturer exists
2023-10-13	12:32:49	809	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:32:49	809	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:49	809	[DEBUG]	Executed store
2023-10-13	12:32:49	809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860301','123')
2023-10-13	12:32:49	809	[DEBUG]	Find the custom field ID
2023-10-13	12:32:49	809	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:49	809	[DEBUG]	No custom field ID found
2023-10-13	12:32:49	809	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:49	809	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:49	809	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860301 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:49	809	[DEBUG]	Store custom available field
2023-10-13	12:32:49	809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860301,3,'0',1)
2023-10-13	12:32:49	809	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:49	809	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:49	809	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860301 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:49	809	[DEBUG]	Store custom available field
2023-10-13	12:32:49	809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860301,6,'choisir la taille',3)
2023-10-13	12:32:49	809	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:49	809	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:49	809	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:49	809	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:49	809	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860301 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:49	809	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:49	809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860301,8,1)
2023-10-13	12:32:49	809	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:49	809	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860301\":[1860301,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860301
2023-10-13	12:32:49	809	[DEBUG]	Checking category
2023-10-13	12:32:49	809	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:49	809	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860301
2023-10-13	12:32:49	809	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:49	809	[DEBUG]	Executed store
2023-10-13	12:32:49	809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860301','7283')
2023-10-13	12:32:49	809	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:49	809	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860301 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:49	809	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:49	809	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860301
2023-10-13	12:32:49	810	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:49	810	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:49	810	[DEBUG]	Use field value for field taille
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:49	810	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:49	810	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:49	810	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:49	810	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:49	810	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:49	810	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:49	810	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:49	810	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:49	810	[DEBUG]	Use field value for field published
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:49	810	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field override
2023-10-13	12:32:49	810	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:49	810	[DEBUG]	Use field value for field slug
2023-10-13	12:32:49	810	[DEBUG]	Process line 810
2023-10-13	12:32:49	810	[DEBUG]	Load a row
2023-10-13	12:32:49	810	[DEBUG]	Processing item: 4524667844976
2023-10-13	12:32:49	810	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:49	810	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:49	810	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6831_208'
2023-10-13	12:32:49	810	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:49	810	[DEBUG]	Processing product tax
2023-10-13	12:32:49	810	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:49	810	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:49	810	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:49	810	[DEBUG]	Query for Product
2023-10-13	12:32:49	810	[DEBUG]	Executed store
2023-10-13	12:32:49	810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860301','4524667844976','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:49	810	[DEBUG]	No parent found
2023-10-13	12:32:49	810	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860301 AND customfield_value = 'stockable'
2023-10-13	12:32:49	810	[DEBUG]	Check product language entry
2023-10-13	12:32:49	810	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860302
2023-10-13	12:32:49	810	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:49	810	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667844976' AND `virtuemart_product_id` != 1860302
2023-10-13	12:32:49	810	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:49	810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860302, '4524667844976')
2023-10-13	12:32:49	810	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:49	810	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pignon-cs-m8000-13-dents-11-vitesses-aucune-all' AND `virtuemart_product_id` != 1860302
2023-10-13	12:32:49	810	[DEBUG]	Query for ProductLang
2023-10-13	12:32:49	810	[DEBUG]	Executed store
2023-10-13	12:32:49	810	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pignon CS-M8000 13 dents 11 vitesses / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pignon-cs-m8000-13-dents-11-vitesses-aucune-all' WHERE `virtuemart_product_id` = '1860302'
2023-10-13	12:32:49	810	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33649_shimano_pignon_cs-m8000_13_dents.jpg
2023-10-13	12:32:49	810	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:49	810	[DEBUG]	Process image file
2023-10-13	12:32:49	810	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:49	810	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:49	810	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33649_shimano_pignon_cs-m8000_13_dents.jpg
2023-10-13	12:32:49	810	[DEBUG]	Full name target: bcprisme/33649_shimano_pignon_cs-m8000_13_dents.jpg
2023-10-13	12:32:50	810	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:50	810	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33649_shimano_pignon_cs-m8000_13_dents.jpg'
2023-10-13	12:32:50	810	[DEBUG]	Query for Media
2023-10-13	12:32:50	810	[DEBUG]	Executed store
2023-10-13	12:32:50	810	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33649_shimano_pignon_cs-m8000_13_dents.jpg',`file_url_thumb`='bcprisme/33649_shimano_pignon_cs-m8000_13_dents.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12522'
2023-10-13	12:32:50	810	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:50	810	[DEBUG]	Executed store
2023-10-13	12:32:50	810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860302','12522','1')
2023-10-13	12:32:50	810	[DEBUG]	Store product image relation
2023-10-13	12:32:50	810	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:50	810	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860302 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:50	810	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:50	810	[DEBUG]	Executed store
2023-10-13	12:32:50	810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860302','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:50	810	[DEBUG]	Checking manufacturer
2023-10-13	12:32:50	810	[DEBUG]	Load a row
2023-10-13	12:32:50	810	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:50	810	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:50	810	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:50	810	[DEBUG]	Executed store
2023-10-13	12:32:50	810	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:50	810	[DEBUG]	Manufacturer exists
2023-10-13	12:32:50	810	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:32:50	810	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:50	810	[DEBUG]	Executed store
2023-10-13	12:32:50	810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860302','123')
2023-10-13	12:32:50	810	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:50	810	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:50	810	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860302 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:50	810	[DEBUG]	Store custom available field
2023-10-13	12:32:50	810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860302,3,'',1)
2023-10-13	12:32:50	810	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:50	810	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:32:50	810	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860302 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:50	810	[DEBUG]	Store custom available field
2023-10-13	12:32:50	810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860302,6,'All',3)
2023-10-13	12:32:50	810	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:50	810	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:50	810	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860301
2023-10-13	12:32:50	810	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:50	810	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860301\":[1860301,8,1,\"choisir la taille\"],\"1860302\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860301
2023-10-13	12:32:50	810	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:50	810	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860302
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:50	811	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field taille
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:50	811	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:50	811	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:50	811	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:50	811	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:50	811	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:50	811	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field published
2023-10-13	12:32:50	811	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:50	811	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field override
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:50	811	[DEBUG]	Use field value for field slug
2023-10-13	12:32:50	811	[DEBUG]	Process line 811
2023-10-13	12:32:50	811	[DEBUG]	Load a row
2023-10-13	12:32:50	811	[DEBUG]	Processing item: A_6878_208
2023-10-13	12:32:50	811	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:50	811	[DEBUG]	Processing product tax
2023-10-13	12:32:50	811	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:50	811	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:50	811	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:50	811	[DEBUG]	Query for Product
2023-10-13	12:32:50	811	[DEBUG]	Executed store
2023-10-13	12:32:50	811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6878_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:50	811	[DEBUG]	Check product language entry
2023-10-13	12:32:50	811	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860303
2023-10-13	12:32:50	811	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:50	811	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6878_208' AND `virtuemart_product_id` != 1860303
2023-10-13	12:32:50	811	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:50	811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860303, 'A_6878_208')
2023-10-13	12:32:50	811	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:50	811	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg51-8-vitesses-11-32-dents-box-aucune' AND `virtuemart_product_id` != 1860303
2023-10-13	12:32:50	811	[DEBUG]	Query for ProductLang
2023-10-13	12:32:50	811	[DEBUG]	Executed store
2023-10-13	12:32:50	811	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.52683',`product_name`='SHIMANO Cassette Alivio CS-HG51 8-vitesses 11-32 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg51-8-vitesses-11-32-dents-box-aucune' WHERE `virtuemart_product_id` = '1860303'
2023-10-13	12:32:50	811	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33990_shimano_cassette_alivio_cs-hg51_8-vitesses_11-32_dents_box.jpg
2023-10-13	12:32:50	811	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:50	811	[DEBUG]	Process image file
2023-10-13	12:32:50	811	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:50	811	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:50	811	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33990_shimano_cassette_alivio_cs-hg51_8-vitesses_11-32_dents_box.jpg
2023-10-13	12:32:50	811	[DEBUG]	Full name target: bcprisme/33990_shimano_cassette_alivio_cs-hg51_8-vitesses_11-32_dents_box.jpg
2023-10-13	12:32:51	811	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:51	811	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33990_shimano_cassette_alivio_cs-hg51_8-vitesses_11-32_dents_box.jpg'
2023-10-13	12:32:51	811	[DEBUG]	Query for Media
2023-10-13	12:32:51	811	[DEBUG]	Executed store
2023-10-13	12:32:51	811	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33990_shimano_cassette_alivio_cs-hg51_8-vitesses_11-32_dents_box.jpg',`file_url_thumb`='bcprisme/33990_shimano_cassette_alivio_cs-hg51_8-vitesses_11-32_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '157445'
2023-10-13	12:32:51	811	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:51	811	[DEBUG]	Executed store
2023-10-13	12:32:51	811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860303','157445','1')
2023-10-13	12:32:51	811	[DEBUG]	Store product image relation
2023-10-13	12:32:51	811	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:51	811	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860303 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:51	811	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:51	811	[DEBUG]	Executed store
2023-10-13	12:32:51	811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860303','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:51	811	[DEBUG]	Checking manufacturer
2023-10-13	12:32:51	811	[DEBUG]	Load a row
2023-10-13	12:32:51	811	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:51	811	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:51	811	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:51	811	[DEBUG]	Executed store
2023-10-13	12:32:51	811	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:51	811	[DEBUG]	Manufacturer exists
2023-10-13	12:32:51	811	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:32:51	811	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:51	811	[DEBUG]	Executed store
2023-10-13	12:32:51	811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860303','123')
2023-10-13	12:32:51	811	[DEBUG]	Find the custom field ID
2023-10-13	12:32:51	811	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:51	811	[DEBUG]	No custom field ID found
2023-10-13	12:32:51	811	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:51	811	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:51	811	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860303 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:51	811	[DEBUG]	Store custom available field
2023-10-13	12:32:51	811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860303,3,'0',1)
2023-10-13	12:32:51	811	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:51	811	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:51	811	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860303 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:51	811	[DEBUG]	Store custom available field
2023-10-13	12:32:51	811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860303,6,'choisir la taille',3)
2023-10-13	12:32:51	811	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:51	811	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:51	811	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:51	811	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:51	811	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860303 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:51	811	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:51	811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860303,8,1)
2023-10-13	12:32:51	811	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:51	811	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860303\":[1860303,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860303
2023-10-13	12:32:51	811	[DEBUG]	Checking category
2023-10-13	12:32:51	811	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:51	811	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860303
2023-10-13	12:32:51	811	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:51	811	[DEBUG]	Executed store
2023-10-13	12:32:51	811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860303','7283')
2023-10-13	12:32:51	811	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:51	811	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860303 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:51	811	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:51	811	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860303
2023-10-13	12:32:51	812	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:51	812	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:51	812	[DEBUG]	Use field value for field taille
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:51	812	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:51	812	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:51	812	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:51	812	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:51	812	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:51	812	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:51	812	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:51	812	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:51	812	[DEBUG]	Use field value for field published
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:51	812	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field override
2023-10-13	12:32:51	812	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:51	812	[DEBUG]	Use field value for field slug
2023-10-13	12:32:51	812	[DEBUG]	Process line 812
2023-10-13	12:32:51	812	[DEBUG]	Load a row
2023-10-13	12:32:51	812	[DEBUG]	Processing item: 4524667675730
2023-10-13	12:32:51	812	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:51	812	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:51	812	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6878_208'
2023-10-13	12:32:51	812	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:51	812	[DEBUG]	Processing product tax
2023-10-13	12:32:51	812	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:51	812	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:51	812	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:51	812	[DEBUG]	Query for Product
2023-10-13	12:32:51	812	[DEBUG]	Executed store
2023-10-13	12:32:51	812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860303','4524667675730','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:51	812	[DEBUG]	No parent found
2023-10-13	12:32:51	812	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860303 AND customfield_value = 'stockable'
2023-10-13	12:32:51	812	[DEBUG]	Check product language entry
2023-10-13	12:32:51	812	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860304
2023-10-13	12:32:51	812	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:51	812	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667675730' AND `virtuemart_product_id` != 1860304
2023-10-13	12:32:51	812	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:51	812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860304, '4524667675730')
2023-10-13	12:32:51	812	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:51	812	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-alivio-cs-hg51-8-vitesses-11-32-dents-box-aucune-all' AND `virtuemart_product_id` != 1860304
2023-10-13	12:32:51	812	[DEBUG]	Query for ProductLang
2023-10-13	12:32:51	812	[DEBUG]	Executed store
2023-10-13	12:32:51	812	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Alivio CS-HG51 8-vitesses 11-32 dents box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-alivio-cs-hg51-8-vitesses-11-32-dents-box-aucune-all' WHERE `virtuemart_product_id` = '1860304'
2023-10-13	12:32:51	812	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33990_shimano_cassette_alivio_cs-hg51_8-vitesses_11-32_dents_box.jpg
2023-10-13	12:32:51	812	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:51	812	[DEBUG]	Process image file
2023-10-13	12:32:51	812	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:51	812	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:51	812	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33990_shimano_cassette_alivio_cs-hg51_8-vitesses_11-32_dents_box.jpg
2023-10-13	12:32:51	812	[DEBUG]	Full name target: bcprisme/33990_shimano_cassette_alivio_cs-hg51_8-vitesses_11-32_dents_box.jpg
2023-10-13	12:32:52	812	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:52	812	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33990_shimano_cassette_alivio_cs-hg51_8-vitesses_11-32_dents_box.jpg'
2023-10-13	12:32:52	812	[DEBUG]	Query for Media
2023-10-13	12:32:52	812	[DEBUG]	Executed store
2023-10-13	12:32:52	812	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33990_shimano_cassette_alivio_cs-hg51_8-vitesses_11-32_dents_box.jpg',`file_url_thumb`='bcprisme/33990_shimano_cassette_alivio_cs-hg51_8-vitesses_11-32_dents_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '157445'
2023-10-13	12:32:52	812	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:52	812	[DEBUG]	Executed store
2023-10-13	12:32:52	812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860304','157445','1')
2023-10-13	12:32:52	812	[DEBUG]	Store product image relation
2023-10-13	12:32:52	812	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:52	812	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860304 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:52	812	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:52	812	[DEBUG]	Executed store
2023-10-13	12:32:52	812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860304','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:52	812	[DEBUG]	Checking manufacturer
2023-10-13	12:32:52	812	[DEBUG]	Load a row
2023-10-13	12:32:52	812	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:52	812	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:52	812	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:52	812	[DEBUG]	Executed store
2023-10-13	12:32:52	812	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:32:52	812	[DEBUG]	Manufacturer exists
2023-10-13	12:32:52	812	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:32:52	812	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:52	812	[DEBUG]	Executed store
2023-10-13	12:32:52	812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860304','123')
2023-10-13	12:32:52	812	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:52	812	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:52	812	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860304 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:52	812	[DEBUG]	Store custom available field
2023-10-13	12:32:52	812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860304,3,'',1)
2023-10-13	12:32:52	812	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:52	812	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:32:52	812	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860304 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:52	812	[DEBUG]	Store custom available field
2023-10-13	12:32:52	812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860304,6,'All',3)
2023-10-13	12:32:52	812	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:52	812	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:52	812	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860303
2023-10-13	12:32:52	812	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:52	812	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860303\":[1860303,8,1,\"choisir la taille\"],\"1860304\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860303
2023-10-13	12:32:52	812	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:52	812	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860304
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:52	813	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field taille
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:52	813	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:52	813	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:52	813	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:52	813	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:52	813	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:52	813	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field published
2023-10-13	12:32:52	813	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:52	813	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field override
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:52	813	[DEBUG]	Use field value for field slug
2023-10-13	12:32:52	813	[DEBUG]	Process line 813
2023-10-13	12:32:52	813	[DEBUG]	Load a row
2023-10-13	12:32:52	813	[DEBUG]	Processing item: A_6886_1
2023-10-13	12:32:52	813	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:52	813	[DEBUG]	Processing product tax
2023-10-13	12:32:52	813	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:52	813	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:52	813	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:52	813	[DEBUG]	Query for Product
2023-10-13	12:32:52	813	[DEBUG]	Executed store
2023-10-13	12:32:52	813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6886_1','0.527','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:52	813	[DEBUG]	Check product language entry
2023-10-13	12:32:52	813	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860305
2023-10-13	12:32:52	813	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:52	813	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6886_1' AND `virtuemart_product_id` != 1860305
2023-10-13	12:32:52	813	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:52	813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860305, 'A_6886_1')
2023-10-13	12:32:52	813	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:52	813	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-12-vitesses-11-50-light-compatible-body-shimano-noir' AND `virtuemart_product_id` != 1860305
2023-10-13	12:32:52	813	[DEBUG]	Query for ProductLang
2023-10-13	12:32:52	813	[DEBUG]	Executed store
2023-10-13	12:32:52	813	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir 527 g 11 spd --11-13-15-18-21-24-28-32-36-40-46<br>N° art fourn : CSMSC121150L',`product_name`='MSC Cassette MSC 12 vitesses 11-50 Light compatible body Shimano / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-12-vitesses-11-50-light-compatible-body-shimano-noir' WHERE `virtuemart_product_id` = '1860305'
2023-10-13	12:32:52	813	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33997_cassette_msc_12_vitesses_11-50_light_compatible_body_shimano.jpg
2023-10-13	12:32:52	813	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:52	813	[DEBUG]	Process image file
2023-10-13	12:32:52	813	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:52	813	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:52	813	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33997_cassette_msc_12_vitesses_11-50_light_compatible_body_shimano.jpg
2023-10-13	12:32:52	813	[DEBUG]	Full name target: bcprisme/33997_cassette_msc_12_vitesses_11-50_light_compatible_body_shimano.jpg
2023-10-13	12:32:53	813	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:53	813	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33997_cassette_msc_12_vitesses_11-50_light_compatible_body_shimano.jpg'
2023-10-13	12:32:53	813	[DEBUG]	Query for Media
2023-10-13	12:32:53	813	[DEBUG]	Executed store
2023-10-13	12:32:53	813	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33997_cassette_msc_12_vitesses_11-50_light_compatible_body_shimano.jpg',`file_url_thumb`='bcprisme/33997_cassette_msc_12_vitesses_11-50_light_compatible_body_shimano.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15802'
2023-10-13	12:32:53	813	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:53	813	[DEBUG]	Executed store
2023-10-13	12:32:53	813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860305','15802','1')
2023-10-13	12:32:53	813	[DEBUG]	Store product image relation
2023-10-13	12:32:53	813	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:53	813	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860305 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:53	813	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:53	813	[DEBUG]	Executed store
2023-10-13	12:32:53	813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860305','0','370.473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:53	813	[DEBUG]	Checking manufacturer
2023-10-13	12:32:53	813	[DEBUG]	Load a row
2023-10-13	12:32:53	813	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:53	813	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:32:53	813	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:53	813	[DEBUG]	Executed store
2023-10-13	12:32:53	813	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:32:53	813	[DEBUG]	Manufacturer exists
2023-10-13	12:32:53	813	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:32:53	813	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:53	813	[DEBUG]	Executed store
2023-10-13	12:32:53	813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860305','32')
2023-10-13	12:32:53	813	[DEBUG]	Find the custom field ID
2023-10-13	12:32:53	813	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:53	813	[DEBUG]	No custom field ID found
2023-10-13	12:32:53	813	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:53	813	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	12:32:53	813	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860305 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:53	813	[DEBUG]	Store custom available field
2023-10-13	12:32:53	813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860305,3,'129.539166666667',1)
2023-10-13	12:32:53	813	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:53	813	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:53	813	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860305 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:53	813	[DEBUG]	Store custom available field
2023-10-13	12:32:53	813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860305,6,'choisir la taille',3)
2023-10-13	12:32:53	813	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:53	813	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:53	813	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:53	813	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:53	813	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860305 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:53	813	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:53	813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860305,8,1)
2023-10-13	12:32:53	813	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:53	813	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860305\":[1860305,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860305
2023-10-13	12:32:53	813	[DEBUG]	Checking category
2023-10-13	12:32:53	813	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:53	813	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860305
2023-10-13	12:32:53	813	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:53	813	[DEBUG]	Executed store
2023-10-13	12:32:53	813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860305','7283')
2023-10-13	12:32:53	813	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:53	813	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860305 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:53	813	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:53	813	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860305
2023-10-13	12:32:53	814	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:53	814	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:53	814	[DEBUG]	Use field value for field taille
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:53	814	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:53	814	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:53	814	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:53	814	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:53	814	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:53	814	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:53	814	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:53	814	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:53	814	[DEBUG]	Use field value for field published
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:53	814	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field override
2023-10-13	12:32:53	814	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:53	814	[DEBUG]	Use field value for field slug
2023-10-13	12:32:53	814	[DEBUG]	Process line 814
2023-10-13	12:32:53	814	[DEBUG]	Load a row
2023-10-13	12:32:53	814	[DEBUG]	Processing item: 8435466214845
2023-10-13	12:32:53	814	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:53	814	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:53	814	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6886_1'
2023-10-13	12:32:53	814	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:53	814	[DEBUG]	Processing product tax
2023-10-13	12:32:53	814	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:53	814	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:53	814	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:53	814	[DEBUG]	Query for Product
2023-10-13	12:32:53	814	[DEBUG]	Executed store
2023-10-13	12:32:53	814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860305','8435466214845','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:53	814	[DEBUG]	No parent found
2023-10-13	12:32:53	814	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860305 AND customfield_value = 'stockable'
2023-10-13	12:32:53	814	[DEBUG]	Check product language entry
2023-10-13	12:32:53	814	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860306
2023-10-13	12:32:53	814	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:53	814	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214845' AND `virtuemart_product_id` != 1860306
2023-10-13	12:32:53	814	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:53	814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860306, '8435466214845')
2023-10-13	12:32:53	814	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:53	814	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-12-vitesses-11-50-light-compatible-body-shimano-noir-unitaire' AND `virtuemart_product_id` != 1860306
2023-10-13	12:32:53	814	[DEBUG]	Query for ProductLang
2023-10-13	12:32:53	814	[DEBUG]	Executed store
2023-10-13	12:32:53	814	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 12 vitesses 11-50 Light compatible body Shimano / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-12-vitesses-11-50-light-compatible-body-shimano-noir-unitaire' WHERE `virtuemart_product_id` = '1860306'
2023-10-13	12:32:53	814	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33997_cassette_msc_12_vitesses_11-50_light_compatible_body_shimano.jpg
2023-10-13	12:32:53	814	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:53	814	[DEBUG]	Process image file
2023-10-13	12:32:53	814	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:53	814	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:53	814	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33997_cassette_msc_12_vitesses_11-50_light_compatible_body_shimano.jpg
2023-10-13	12:32:53	814	[DEBUG]	Full name target: bcprisme/33997_cassette_msc_12_vitesses_11-50_light_compatible_body_shimano.jpg
2023-10-13	12:32:54	814	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:54	814	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33997_cassette_msc_12_vitesses_11-50_light_compatible_body_shimano.jpg'
2023-10-13	12:32:54	814	[DEBUG]	Query for Media
2023-10-13	12:32:54	814	[DEBUG]	Executed store
2023-10-13	12:32:54	814	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33997_cassette_msc_12_vitesses_11-50_light_compatible_body_shimano.jpg',`file_url_thumb`='bcprisme/33997_cassette_msc_12_vitesses_11-50_light_compatible_body_shimano.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15802'
2023-10-13	12:32:54	814	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:54	814	[DEBUG]	Executed store
2023-10-13	12:32:54	814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860306','15802','1')
2023-10-13	12:32:54	814	[DEBUG]	Store product image relation
2023-10-13	12:32:54	814	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:54	814	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860306 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:54	814	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:54	814	[DEBUG]	Executed store
2023-10-13	12:32:54	814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860306','0','370.473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:54	814	[DEBUG]	Checking manufacturer
2023-10-13	12:32:54	814	[DEBUG]	Load a row
2023-10-13	12:32:54	814	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:54	814	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:32:54	814	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:54	814	[DEBUG]	Executed store
2023-10-13	12:32:54	814	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:32:54	814	[DEBUG]	Manufacturer exists
2023-10-13	12:32:54	814	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:32:54	814	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:54	814	[DEBUG]	Executed store
2023-10-13	12:32:54	814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860306','32')
2023-10-13	12:32:54	814	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:54	814	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:54	814	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860306 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:54	814	[DEBUG]	Store custom available field
2023-10-13	12:32:54	814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860306,3,'',1)
2023-10-13	12:32:54	814	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:54	814	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:32:54	814	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860306 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:54	814	[DEBUG]	Store custom available field
2023-10-13	12:32:54	814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860306,6,'Unitaire',3)
2023-10-13	12:32:54	814	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:54	814	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:54	814	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860305
2023-10-13	12:32:54	814	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:54	814	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860305\":[1860305,8,1,\"choisir la taille\"],\"1860306\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860305
2023-10-13	12:32:54	814	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:54	814	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860306
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:54	815	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field taille
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:54	815	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:54	815	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:54	815	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:54	815	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:54	815	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:54	815	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field published
2023-10-13	12:32:54	815	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:54	815	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field override
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:54	815	[DEBUG]	Use field value for field slug
2023-10-13	12:32:54	815	[DEBUG]	Process line 815
2023-10-13	12:32:54	815	[DEBUG]	Load a row
2023-10-13	12:32:54	815	[DEBUG]	Processing item: A_6930_1
2023-10-13	12:32:54	815	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:54	815	[DEBUG]	Processing product tax
2023-10-13	12:32:54	815	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:54	815	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:54	815	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:54	815	[DEBUG]	Query for Product
2023-10-13	12:32:54	815	[DEBUG]	Executed store
2023-10-13	12:32:54	815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6930_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:54	815	[DEBUG]	Check product language entry
2023-10-13	12:32:54	815	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860307
2023-10-13	12:32:54	815	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:54	815	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6930_1' AND `virtuemart_product_id` != 1860307
2023-10-13	12:32:54	815	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:54	815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860307, 'A_6930_1')
2023-10-13	12:32:54	815	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:54	815	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-nx-eagle-pg-1230-11-50-body-shimano-compatible-noir' AND `virtuemart_product_id` != 1860307
2023-10-13	12:32:54	815	[DEBUG]	Query for ProductLang
2023-10-13	12:32:54	815	[DEBUG]	Executed store
2023-10-13	12:32:54	815	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7545U',`product_name`='SRAM Cassette NX Eagle PG-1230 11/50 body Shimano compatible / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-nx-eagle-pg-1230-11-50-body-shimano-compatible-noir' WHERE `virtuemart_product_id` = '1860307'
2023-10-13	12:32:54	815	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34065_cassette_nx_eagle_pg-1230.jpg
2023-10-13	12:32:54	815	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:54	815	[DEBUG]	Process image file
2023-10-13	12:32:54	815	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:54	815	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:54	815	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34065_cassette_nx_eagle_pg-1230.jpg
2023-10-13	12:32:54	815	[DEBUG]	Full name target: bcprisme/34065_cassette_nx_eagle_pg-1230.jpg
2023-10-13	12:32:55	815	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:55	815	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34065_cassette_nx_eagle_pg-1230.jpg'
2023-10-13	12:32:55	815	[DEBUG]	Query for Media
2023-10-13	12:32:55	815	[DEBUG]	Executed store
2023-10-13	12:32:55	815	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34065_cassette_nx_eagle_pg-1230.jpg',`file_url_thumb`='bcprisme/34065_cassette_nx_eagle_pg-1230.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16548'
2023-10-13	12:32:55	815	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:55	815	[DEBUG]	Executed store
2023-10-13	12:32:55	815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860307','16548','1')
2023-10-13	12:32:55	815	[DEBUG]	Store product image relation
2023-10-13	12:32:55	815	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:55	815	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860307 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:55	815	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:55	815	[DEBUG]	Executed store
2023-10-13	12:32:55	815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860307','0','127.11234911792','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:55	815	[DEBUG]	Checking manufacturer
2023-10-13	12:32:55	815	[DEBUG]	Load a row
2023-10-13	12:32:55	815	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:55	815	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:55	815	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:55	815	[DEBUG]	Executed store
2023-10-13	12:32:55	815	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:55	815	[DEBUG]	Manufacturer exists
2023-10-13	12:32:55	815	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:32:55	815	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:55	815	[DEBUG]	Executed store
2023-10-13	12:32:55	815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860307','35')
2023-10-13	12:32:55	815	[DEBUG]	Find the custom field ID
2023-10-13	12:32:55	815	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:55	815	[DEBUG]	No custom field ID found
2023-10-13	12:32:55	815	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:55	815	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:55	815	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860307 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:55	815	[DEBUG]	Store custom available field
2023-10-13	12:32:55	815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860307,3,'0',1)
2023-10-13	12:32:55	815	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:55	815	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:55	815	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860307 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:55	815	[DEBUG]	Store custom available field
2023-10-13	12:32:55	815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860307,6,'choisir la taille',3)
2023-10-13	12:32:55	815	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:55	815	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:55	815	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:55	815	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:55	815	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860307 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:55	815	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:55	815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860307,8,1)
2023-10-13	12:32:55	815	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:55	815	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860307\":[1860307,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860307
2023-10-13	12:32:55	815	[DEBUG]	Checking category
2023-10-13	12:32:55	815	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:55	815	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860307
2023-10-13	12:32:55	815	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:55	815	[DEBUG]	Executed store
2023-10-13	12:32:55	815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860307','7283')
2023-10-13	12:32:55	815	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:55	815	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860307 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:55	815	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:55	815	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860307
2023-10-13	12:32:55	816	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:55	816	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:55	816	[DEBUG]	Use field value for field taille
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:55	816	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:55	816	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:55	816	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:55	816	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:55	816	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:55	816	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:55	816	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:55	816	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:55	816	[DEBUG]	Use field value for field published
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:55	816	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field override
2023-10-13	12:32:55	816	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:55	816	[DEBUG]	Use field value for field slug
2023-10-13	12:32:55	816	[DEBUG]	Process line 816
2023-10-13	12:32:55	816	[DEBUG]	Load a row
2023-10-13	12:32:55	816	[DEBUG]	Processing item: 710845818011
2023-10-13	12:32:55	816	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:55	816	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:55	816	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6930_1'
2023-10-13	12:32:55	816	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:55	816	[DEBUG]	Processing product tax
2023-10-13	12:32:55	816	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:55	816	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:55	816	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:55	816	[DEBUG]	Query for Product
2023-10-13	12:32:55	816	[DEBUG]	Executed store
2023-10-13	12:32:55	816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860307','710845818011','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:55	816	[DEBUG]	No parent found
2023-10-13	12:32:55	816	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860307 AND customfield_value = 'stockable'
2023-10-13	12:32:55	816	[DEBUG]	Check product language entry
2023-10-13	12:32:55	816	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860308
2023-10-13	12:32:55	816	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:55	816	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845818011' AND `virtuemart_product_id` != 1860308
2023-10-13	12:32:55	816	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:55	816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860308, '710845818011')
2023-10-13	12:32:55	816	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:55	816	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-nx-eagle-pg-1230-11-50-body-shimano-compatible-noir-unitaire' AND `virtuemart_product_id` != 1860308
2023-10-13	12:32:55	816	[DEBUG]	Query for ProductLang
2023-10-13	12:32:55	816	[DEBUG]	Executed store
2023-10-13	12:32:55	816	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette NX Eagle PG-1230 11/50 body Shimano compatible / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-nx-eagle-pg-1230-11-50-body-shimano-compatible-noir-unitaire' WHERE `virtuemart_product_id` = '1860308'
2023-10-13	12:32:55	816	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34065_cassette_nx_eagle_pg-1230.jpg
2023-10-13	12:32:55	816	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:55	816	[DEBUG]	Process image file
2023-10-13	12:32:55	816	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:55	816	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:55	816	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34065_cassette_nx_eagle_pg-1230.jpg
2023-10-13	12:32:55	816	[DEBUG]	Full name target: bcprisme/34065_cassette_nx_eagle_pg-1230.jpg
2023-10-13	12:32:56	816	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:56	816	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34065_cassette_nx_eagle_pg-1230.jpg'
2023-10-13	12:32:56	816	[DEBUG]	Query for Media
2023-10-13	12:32:56	816	[DEBUG]	Executed store
2023-10-13	12:32:56	816	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34065_cassette_nx_eagle_pg-1230.jpg',`file_url_thumb`='bcprisme/34065_cassette_nx_eagle_pg-1230.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16548'
2023-10-13	12:32:56	816	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:56	816	[DEBUG]	Executed store
2023-10-13	12:32:56	816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860308','16548','1')
2023-10-13	12:32:56	816	[DEBUG]	Store product image relation
2023-10-13	12:32:56	816	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:56	816	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860308 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:56	816	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:56	816	[DEBUG]	Executed store
2023-10-13	12:32:56	816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860308','0','127.11234911792','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:56	816	[DEBUG]	Checking manufacturer
2023-10-13	12:32:56	816	[DEBUG]	Load a row
2023-10-13	12:32:56	816	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:56	816	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:56	816	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:56	816	[DEBUG]	Executed store
2023-10-13	12:32:56	816	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:32:56	816	[DEBUG]	Manufacturer exists
2023-10-13	12:32:56	816	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:32:56	816	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:56	816	[DEBUG]	Executed store
2023-10-13	12:32:56	816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860308','35')
2023-10-13	12:32:56	816	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:56	816	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:56	816	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860308 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:56	816	[DEBUG]	Store custom available field
2023-10-13	12:32:56	816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860308,3,'',1)
2023-10-13	12:32:56	816	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:56	816	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:32:56	816	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860308 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:56	816	[DEBUG]	Store custom available field
2023-10-13	12:32:56	816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860308,6,'Unitaire',3)
2023-10-13	12:32:56	816	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:56	816	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:56	816	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860307
2023-10-13	12:32:56	816	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:56	816	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860307\":[1860307,8,1,\"choisir la taille\"],\"1860308\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860307
2023-10-13	12:32:56	816	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:56	816	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860308
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:56	817	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field taille
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:56	817	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:56	817	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:56	817	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:56	817	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:56	817	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:56	817	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field published
2023-10-13	12:32:56	817	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:56	817	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field override
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:56	817	[DEBUG]	Use field value for field slug
2023-10-13	12:32:56	817	[DEBUG]	Process line 817
2023-10-13	12:32:56	817	[DEBUG]	Load a row
2023-10-13	12:32:56	817	[DEBUG]	Processing item: A_7039_0
2023-10-13	12:32:56	817	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:56	817	[DEBUG]	Processing product tax
2023-10-13	12:32:56	817	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:56	817	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:56	817	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:56	817	[DEBUG]	Query for Product
2023-10-13	12:32:56	817	[DEBUG]	Executed store
2023-10-13	12:32:56	817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7039_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:56	817	[DEBUG]	Check product language entry
2023-10-13	12:32:56	817	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860309
2023-10-13	12:32:56	817	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:56	817	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7039_0' AND `virtuemart_product_id` != 1860309
2023-10-13	12:32:56	817	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:56	817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860309, 'A_7039_0')
2023-10-13	12:32:56	817	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:56	817	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-slx-cs-m7000-11-vitesses-11-42-dents-box-unique' AND `virtuemart_product_id` != 1860309
2023-10-13	12:32:56	817	[DEBUG]	Query for ProductLang
2023-10-13	12:32:56	817	[DEBUG]	Executed store
2023-10-13	12:32:56	817	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.66332',`product_name`='SHIMANO Cassette SLX CS-M7000 11-vitesses 11-42 dents box  / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-slx-cs-m7000-11-vitesses-11-42-dents-box-unique' WHERE `virtuemart_product_id` = '1860309'
2023-10-13	12:32:56	817	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34178_cassette_slx_cs-m7000_11-vitesses_11-42_dents_box_.jpg
2023-10-13	12:32:56	817	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:56	817	[DEBUG]	Process image file
2023-10-13	12:32:56	817	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:56	817	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:56	817	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34178_cassette_slx_cs-m7000_11-vitesses_11-42_dents_box_.jpg
2023-10-13	12:32:56	817	[DEBUG]	Full name target: bcprisme/34178_cassette_slx_cs-m7000_11-vitesses_11-42_dents_box_.jpg
2023-10-13	12:32:57	817	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:57	817	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34178_cassette_slx_cs-m7000_11-vitesses_11-42_dents_box_.jpg'
2023-10-13	12:32:57	817	[DEBUG]	Query for Media
2023-10-13	12:32:57	817	[DEBUG]	Executed store
2023-10-13	12:32:57	817	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34178_cassette_slx_cs-m7000_11-vitesses_11-42_dents_box_.jpg',`file_url_thumb`='bcprisme/34178_cassette_slx_cs-m7000_11-vitesses_11-42_dents_box_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17618'
2023-10-13	12:32:57	817	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:57	817	[DEBUG]	Executed store
2023-10-13	12:32:57	817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860309','17618','1')
2023-10-13	12:32:57	817	[DEBUG]	Store product image relation
2023-10-13	12:32:57	817	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:57	817	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860309 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:57	817	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:57	817	[DEBUG]	Executed store
2023-10-13	12:32:57	817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860309','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:57	817	[DEBUG]	Checking manufacturer
2023-10-13	12:32:57	817	[DEBUG]	Load a row
2023-10-13	12:32:57	817	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:57	817	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:57	817	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:57	817	[DEBUG]	Executed store
2023-10-13	12:32:57	817	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:57	817	[DEBUG]	Manufacturer exists
2023-10-13	12:32:57	817	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:32:57	817	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:57	817	[DEBUG]	Executed store
2023-10-13	12:32:57	817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860309','26')
2023-10-13	12:32:57	817	[DEBUG]	Find the custom field ID
2023-10-13	12:32:57	817	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:32:57	817	[DEBUG]	No custom field ID found
2023-10-13	12:32:57	817	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:57	817	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:32:57	817	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860309 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:57	817	[DEBUG]	Store custom available field
2023-10-13	12:32:57	817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860309,3,'0',1)
2023-10-13	12:32:57	817	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:57	817	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:32:57	817	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860309 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:57	817	[DEBUG]	Store custom available field
2023-10-13	12:32:57	817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860309,6,'choisir la taille',3)
2023-10-13	12:32:57	817	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:57	817	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:32:57	817	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:32:57	817	[DEBUG]	Find the multi variant product entry
2023-10-13	12:32:57	817	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860309 AND `virtuemart_custom_id` = 8
2023-10-13	12:32:57	817	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:32:57	817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860309,8,1)
2023-10-13	12:32:57	817	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:57	817	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860309\":[1860309,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860309
2023-10-13	12:32:57	817	[DEBUG]	Checking category
2023-10-13	12:32:57	817	[DEBUG]	Get the existing categories for the product
2023-10-13	12:32:57	817	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860309
2023-10-13	12:32:57	817	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:32:57	817	[DEBUG]	Executed store
2023-10-13	12:32:57	817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860309','7283')
2023-10-13	12:32:57	817	[DEBUG]	Delete leftover product categories
2023-10-13	12:32:57	817	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860309 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:32:57	817	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:57	817	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860309
2023-10-13	12:32:57	818	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:57	818	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:32:57	818	[DEBUG]	Use field value for field taille
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:32:57	818	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field category_path
2023-10-13	12:32:57	818	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:57	818	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:57	818	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:57	818	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:32:57	818	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field product_weight
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:57	818	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:57	818	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:57	818	[DEBUG]	Use field value for field published
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field custom_title
2023-10-13	12:32:57	818	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field custom_param
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field override
2023-10-13	12:32:57	818	[DEBUG]	Use default value for field public_price
2023-10-13	12:32:57	818	[DEBUG]	Use field value for field slug
2023-10-13	12:32:57	818	[DEBUG]	Process line 818
2023-10-13	12:32:57	818	[DEBUG]	Load a row
2023-10-13	12:32:57	818	[DEBUG]	Processing item: 4524667687023
2023-10-13	12:32:57	818	[DEBUG]	Looking for parent SKU
2023-10-13	12:32:57	818	[DEBUG]	Checking product parent SKU
2023-10-13	12:32:57	818	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7039_0'
2023-10-13	12:32:57	818	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:57	818	[DEBUG]	Processing product tax
2023-10-13	12:32:57	818	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:57	818	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:57	818	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:57	818	[DEBUG]	Query for Product
2023-10-13	12:32:57	818	[DEBUG]	Executed store
2023-10-13	12:32:57	818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860309','4524667687023','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:57	818	[DEBUG]	No parent found
2023-10-13	12:32:57	818	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860309 AND customfield_value = 'stockable'
2023-10-13	12:32:57	818	[DEBUG]	Check product language entry
2023-10-13	12:32:57	818	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860310
2023-10-13	12:32:57	818	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:57	818	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667687023' AND `virtuemart_product_id` != 1860310
2023-10-13	12:32:57	818	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:57	818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860310, '4524667687023')
2023-10-13	12:32:57	818	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:57	818	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-slx-cs-m7000-11-vitesses-11-42-dents-box-unique-all' AND `virtuemart_product_id` != 1860310
2023-10-13	12:32:57	818	[DEBUG]	Query for ProductLang
2023-10-13	12:32:57	818	[DEBUG]	Executed store
2023-10-13	12:32:57	818	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette SLX CS-M7000 11-vitesses 11-42 dents box  / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-slx-cs-m7000-11-vitesses-11-42-dents-box-unique-all' WHERE `virtuemart_product_id` = '1860310'
2023-10-13	12:32:57	818	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34178_cassette_slx_cs-m7000_11-vitesses_11-42_dents_box_.jpg
2023-10-13	12:32:57	818	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:57	818	[DEBUG]	Process image file
2023-10-13	12:32:57	818	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:57	818	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:57	818	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34178_cassette_slx_cs-m7000_11-vitesses_11-42_dents_box_.jpg
2023-10-13	12:32:57	818	[DEBUG]	Full name target: bcprisme/34178_cassette_slx_cs-m7000_11-vitesses_11-42_dents_box_.jpg
2023-10-13	12:32:58	818	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:58	818	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34178_cassette_slx_cs-m7000_11-vitesses_11-42_dents_box_.jpg'
2023-10-13	12:32:58	818	[DEBUG]	Query for Media
2023-10-13	12:32:58	818	[DEBUG]	Executed store
2023-10-13	12:32:58	818	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34178_cassette_slx_cs-m7000_11-vitesses_11-42_dents_box_.jpg',`file_url_thumb`='bcprisme/34178_cassette_slx_cs-m7000_11-vitesses_11-42_dents_box_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17618'
2023-10-13	12:32:58	818	[DEBUG]	Query for ProductMedia
2023-10-13	12:32:58	818	[DEBUG]	Executed store
2023-10-13	12:32:58	818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860310','17618','1')
2023-10-13	12:32:58	818	[DEBUG]	Store product image relation
2023-10-13	12:32:58	818	[DEBUG]	Finding a product_price_id
2023-10-13	12:32:58	818	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860310 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:32:58	818	[DEBUG]	Query for ProductPrice
2023-10-13	12:32:58	818	[DEBUG]	Executed store
2023-10-13	12:32:58	818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860310','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:32:58	818	[DEBUG]	Checking manufacturer
2023-10-13	12:32:58	818	[DEBUG]	Load a row
2023-10-13	12:32:58	818	[DEBUG]	Manufacturer already exists
2023-10-13	12:32:58	818	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:58	818	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:32:58	818	[DEBUG]	Executed store
2023-10-13	12:32:58	818	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:32:58	818	[DEBUG]	Manufacturer exists
2023-10-13	12:32:58	818	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:32:58	818	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:32:58	818	[DEBUG]	Executed store
2023-10-13	12:32:58	818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860310','26')
2023-10-13	12:32:58	818	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:32:58	818	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:32:58	818	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860310 AND `virtuemart_custom_id` = 3
2023-10-13	12:32:58	818	[DEBUG]	Store custom available field
2023-10-13	12:32:58	818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860310,3,'',1)
2023-10-13	12:32:58	818	[DEBUG]	Processing custom available field: taille
2023-10-13	12:32:58	818	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:32:58	818	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860310 AND `virtuemart_custom_id` = 6
2023-10-13	12:32:58	818	[DEBUG]	Store custom available field
2023-10-13	12:32:58	818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860310,6,'All',3)
2023-10-13	12:32:58	818	[DEBUG]	Process multi-variant fields
2023-10-13	12:32:58	818	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:32:58	818	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860309
2023-10-13	12:32:58	818	[DEBUG]	Store the updated customfield_params
2023-10-13	12:32:58	818	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860309\":[1860309,8,1,\"choisir la taille\"],\"1860310\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860309
2023-10-13	12:32:58	818	[DEBUG]	Update has fields after all processing
2023-10-13	12:32:58	818	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860310
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field product_sku
2023-10-13	12:32:58	819	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field taille
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field product_name
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field category_path
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field product_price
2023-10-13	12:32:58	819	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field product_tax
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field file_url
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:32:58	819	[DEBUG]	Use default value for field product_desc
2023-10-13	12:32:58	819	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field product_availability
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field product_weight
2023-10-13	12:32:58	819	[DEBUG]	Use default value for field product_unit
2023-10-13	12:32:58	819	[DEBUG]	Use default value for field related_products
2023-10-13	12:32:58	819	[DEBUG]	Use default value for field product_special
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field published
2023-10-13	12:32:58	819	[DEBUG]	Use default value for field metadesc
2023-10-13	12:32:58	819	[DEBUG]	Use default value for field metakey
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field custom_title
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field custom_value
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field custom_param
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field override
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field public_price
2023-10-13	12:32:58	819	[DEBUG]	Use field value for field slug
2023-10-13	12:32:58	819	[DEBUG]	Process line 819
2023-10-13	12:32:58	819	[DEBUG]	Load a row
2023-10-13	12:32:58	819	[DEBUG]	Processing item: A_7046_4
2023-10-13	12:32:58	819	[DEBUG]	Product tax: 7.7
2023-10-13	12:32:58	819	[DEBUG]	Processing product tax
2023-10-13	12:32:58	819	[DEBUG]	Check if calculation rule exists
2023-10-13	12:32:58	819	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:32:58	819	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:32:58	819	[DEBUG]	Query for Product
2023-10-13	12:32:58	819	[DEBUG]	Executed store
2023-10-13	12:32:58	819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7046_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:32:58	819	[DEBUG]	Check product language entry
2023-10-13	12:32:58	819	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860311
2023-10-13	12:32:58	819	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:58	819	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7046_4' AND `virtuemart_product_id` != 1860311
2023-10-13	12:32:58	819	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:32:58	819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860311, 'A_7046_4')
2023-10-13	12:32:58	819	[DEBUG]	Check if the product slug exists
2023-10-13	12:32:58	819	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-xt-cs-m771-10-vitesses-11-34-dents-box-acier' AND `virtuemart_product_id` != 1860311
2023-10-13	12:32:58	819	[DEBUG]	Query for ProductLang
2023-10-13	12:32:58	819	[DEBUG]	Executed store
2023-10-13	12:32:58	819	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.50373',`product_name`='SHIMANO Cassette Deore XT CS-M771 10-vitesses 11-34 dents  box / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-xt-cs-m771-10-vitesses-11-34-dents-box-acier' WHERE `virtuemart_product_id` = '1860311'
2023-10-13	12:32:58	819	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34194_cassette_deore_xt_cs-m771_10-vitesses_11-34_dents__box.jpg
2023-10-13	12:32:58	819	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:58	819	[DEBUG]	Process image file
2023-10-13	12:32:58	819	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:32:58	819	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:32:58	819	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34194_cassette_deore_xt_cs-m771_10-vitesses_11-34_dents__box.jpg
2023-10-13	12:32:58	819	[DEBUG]	Full name target: bcprisme/34194_cassette_deore_xt_cs-m771_10-vitesses_11-34_dents__box.jpg
2023-10-13	12:32:59	819	[DEBUG]	Checking if the file_url exists
2023-10-13	12:32:59	819	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34194_cassette_deore_xt_cs-m771_10-vitesses_11-34_dents__box.jpg'
2023-10-13	12:32:59	819	[DEBUG]	Query for Media
2023-10-13	12:32:59	819	[DEBUG]	Executed store
2023-10-13	12:32:59	819	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34194_cassette_deore_xt_cs-m771_10-vitesses_11-34_dents__box.jpg',`file_url_thumb`='bcprisme/34194_cassette_deore_xt_cs-m771_10-vitesses_11-34_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24094'
2023-10-13	12:32:59	819	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:00	819	[DEBUG]	Executed store
2023-10-13	12:33:00	819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860311','24094','1')
2023-10-13	12:33:00	819	[DEBUG]	Store product image relation
2023-10-13	12:33:00	819	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:00	819	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860311 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:00	819	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:00	819	[DEBUG]	Executed store
2023-10-13	12:33:00	819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860311','0','88.1151346332405','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:00	819	[DEBUG]	Checking manufacturer
2023-10-13	12:33:00	819	[DEBUG]	Load a row
2023-10-13	12:33:00	819	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:00	819	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:00	819	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:00	819	[DEBUG]	Executed store
2023-10-13	12:33:00	819	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:00	819	[DEBUG]	Manufacturer exists
2023-10-13	12:33:00	819	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:33:00	819	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:00	819	[DEBUG]	Executed store
2023-10-13	12:33:00	819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860311','123')
2023-10-13	12:33:00	819	[DEBUG]	Find the custom field ID
2023-10-13	12:33:00	819	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:00	819	[DEBUG]	No custom field ID found
2023-10-13	12:33:00	819	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:00	819	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:00	819	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860311 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:00	819	[DEBUG]	Store custom available field
2023-10-13	12:33:00	819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860311,3,'0',1)
2023-10-13	12:33:00	819	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:00	819	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:00	819	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860311 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:00	819	[DEBUG]	Store custom available field
2023-10-13	12:33:00	819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860311,6,'choisir la taille',3)
2023-10-13	12:33:00	819	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:00	819	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:00	819	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:00	819	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:00	819	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860311 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:00	819	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:00	819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860311,8,1)
2023-10-13	12:33:00	819	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:00	819	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860311\":[1860311,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860311
2023-10-13	12:33:00	819	[DEBUG]	Checking category
2023-10-13	12:33:00	819	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:00	819	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860311
2023-10-13	12:33:00	819	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:00	819	[DEBUG]	Executed store
2023-10-13	12:33:00	819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860311','7283')
2023-10-13	12:33:00	819	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:00	819	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860311 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:00	819	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:00	819	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860311
2023-10-13	12:33:00	820	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:00	820	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:00	820	[DEBUG]	Use field value for field taille
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:00	820	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:00	820	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:00	820	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:00	820	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:00	820	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:00	820	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:00	820	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:00	820	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:00	820	[DEBUG]	Use field value for field published
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:00	820	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field override
2023-10-13	12:33:00	820	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:00	820	[DEBUG]	Use field value for field slug
2023-10-13	12:33:00	820	[DEBUG]	Process line 820
2023-10-13	12:33:00	820	[DEBUG]	Load a row
2023-10-13	12:33:00	820	[DEBUG]	Processing item: 4524667428664
2023-10-13	12:33:00	820	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:00	820	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:00	820	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7046_4'
2023-10-13	12:33:00	820	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:00	820	[DEBUG]	Processing product tax
2023-10-13	12:33:00	820	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:00	820	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:00	820	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:00	820	[DEBUG]	Query for Product
2023-10-13	12:33:00	820	[DEBUG]	Executed store
2023-10-13	12:33:00	820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860311','4524667428664','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:00	820	[DEBUG]	No parent found
2023-10-13	12:33:00	820	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860311 AND customfield_value = 'stockable'
2023-10-13	12:33:00	820	[DEBUG]	Check product language entry
2023-10-13	12:33:00	820	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860312
2023-10-13	12:33:00	820	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:00	820	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667428664' AND `virtuemart_product_id` != 1860312
2023-10-13	12:33:00	820	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:00	820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860312, '4524667428664')
2023-10-13	12:33:00	820	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:00	820	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-xt-cs-m771-10-vitesses-11-34-dents-box-acier-all' AND `virtuemart_product_id` != 1860312
2023-10-13	12:33:00	820	[DEBUG]	Query for ProductLang
2023-10-13	12:33:00	820	[DEBUG]	Executed store
2023-10-13	12:33:00	820	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Deore XT CS-M771 10-vitesses 11-34 dents  box / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-xt-cs-m771-10-vitesses-11-34-dents-box-acier-all' WHERE `virtuemart_product_id` = '1860312'
2023-10-13	12:33:00	820	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34194_cassette_deore_xt_cs-m771_10-vitesses_11-34_dents__box.jpg
2023-10-13	12:33:00	820	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:00	820	[DEBUG]	Process image file
2023-10-13	12:33:00	820	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:00	820	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:00	820	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34194_cassette_deore_xt_cs-m771_10-vitesses_11-34_dents__box.jpg
2023-10-13	12:33:00	820	[DEBUG]	Full name target: bcprisme/34194_cassette_deore_xt_cs-m771_10-vitesses_11-34_dents__box.jpg
2023-10-13	12:33:01	820	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:01	820	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34194_cassette_deore_xt_cs-m771_10-vitesses_11-34_dents__box.jpg'
2023-10-13	12:33:01	820	[DEBUG]	Query for Media
2023-10-13	12:33:01	820	[DEBUG]	Executed store
2023-10-13	12:33:01	820	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34194_cassette_deore_xt_cs-m771_10-vitesses_11-34_dents__box.jpg',`file_url_thumb`='bcprisme/34194_cassette_deore_xt_cs-m771_10-vitesses_11-34_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24094'
2023-10-13	12:33:01	820	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:01	820	[DEBUG]	Executed store
2023-10-13	12:33:01	820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860312','24094','1')
2023-10-13	12:33:01	820	[DEBUG]	Store product image relation
2023-10-13	12:33:01	820	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:01	820	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860312 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:01	820	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:01	820	[DEBUG]	Executed store
2023-10-13	12:33:01	820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860312','0','88.1151346332405','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:01	820	[DEBUG]	Checking manufacturer
2023-10-13	12:33:01	820	[DEBUG]	Load a row
2023-10-13	12:33:01	820	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:01	820	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:01	820	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:01	820	[DEBUG]	Executed store
2023-10-13	12:33:01	820	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:01	820	[DEBUG]	Manufacturer exists
2023-10-13	12:33:01	820	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:33:01	820	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:01	820	[DEBUG]	Executed store
2023-10-13	12:33:01	820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860312','123')
2023-10-13	12:33:01	820	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:01	820	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:01	820	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860312 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:01	820	[DEBUG]	Store custom available field
2023-10-13	12:33:01	820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860312,3,'',1)
2023-10-13	12:33:01	820	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:01	820	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:33:01	820	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860312 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:01	820	[DEBUG]	Store custom available field
2023-10-13	12:33:01	820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860312,6,'All',3)
2023-10-13	12:33:01	820	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:01	820	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:01	820	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860311
2023-10-13	12:33:01	820	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:01	820	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860311\":[1860311,8,1,\"choisir la taille\"],\"1860312\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860311
2023-10-13	12:33:01	820	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:01	820	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860312
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:01	821	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field taille
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:01	821	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:01	821	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:01	821	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:01	821	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:01	821	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:01	821	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field published
2023-10-13	12:33:01	821	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:01	821	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field override
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:01	821	[DEBUG]	Use field value for field slug
2023-10-13	12:33:01	821	[DEBUG]	Process line 821
2023-10-13	12:33:01	821	[DEBUG]	Load a row
2023-10-13	12:33:01	821	[DEBUG]	Processing item: A_7088_4
2023-10-13	12:33:01	821	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:01	821	[DEBUG]	Processing product tax
2023-10-13	12:33:01	821	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:01	821	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:01	821	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:01	821	[DEBUG]	Query for Product
2023-10-13	12:33:01	821	[DEBUG]	Executed store
2023-10-13	12:33:01	821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7088_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:01	821	[DEBUG]	Check product language entry
2023-10-13	12:33:01	821	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860313
2023-10-13	12:33:01	821	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:01	821	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7088_4' AND `virtuemart_product_id` != 1860313
2023-10-13	12:33:01	821	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:01	821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860313, 'A_7088_4')
2023-10-13	12:33:01	821	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:01	821	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-50-1-spider-alu-acier' AND `virtuemart_product_id` != 1860313
2023-10-13	12:33:01	821	[DEBUG]	Query for ProductLang
2023-10-13	12:33:01	821	[DEBUG]	Executed store
2023-10-13	12:33:01	821	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CS1MSC101150',`product_name`='MSC Cassette MSC 10 vitesses 11-50  1 SPIDER ALU / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-50-1-spider-alu-acier' WHERE `virtuemart_product_id` = '1860313'
2023-10-13	12:33:01	821	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34243_cassette_msc_10_vitesses_11-50__1_spider_alu.jpg
2023-10-13	12:33:01	821	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:01	821	[DEBUG]	Process image file
2023-10-13	12:33:01	821	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:01	821	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:01	821	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34243_cassette_msc_10_vitesses_11-50__1_spider_alu.jpg
2023-10-13	12:33:01	821	[DEBUG]	Full name target: bcprisme/34243_cassette_msc_10_vitesses_11-50__1_spider_alu.jpg
2023-10-13	12:33:02	821	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:02	821	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34243_cassette_msc_10_vitesses_11-50__1_spider_alu.jpg'
2023-10-13	12:33:02	821	[DEBUG]	Query for Media
2023-10-13	12:33:02	821	[DEBUG]	Executed store
2023-10-13	12:33:02	821	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34243_cassette_msc_10_vitesses_11-50__1_spider_alu.jpg',`file_url_thumb`='bcprisme/34243_cassette_msc_10_vitesses_11-50__1_spider_alu.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '316173'
2023-10-13	12:33:02	821	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:02	821	[DEBUG]	Executed store
2023-10-13	12:33:02	821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860313','316173','1')
2023-10-13	12:33:02	821	[DEBUG]	Store product image relation
2023-10-13	12:33:02	821	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:02	821	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860313 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:02	821	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:02	821	[DEBUG]	Executed store
2023-10-13	12:33:02	821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860313','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:02	821	[DEBUG]	Checking manufacturer
2023-10-13	12:33:02	821	[DEBUG]	Load a row
2023-10-13	12:33:02	821	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:02	821	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:02	821	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:02	821	[DEBUG]	Executed store
2023-10-13	12:33:02	821	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:02	821	[DEBUG]	Manufacturer exists
2023-10-13	12:33:02	821	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:33:02	821	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:02	821	[DEBUG]	Executed store
2023-10-13	12:33:02	821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860313','32')
2023-10-13	12:33:02	821	[DEBUG]	Find the custom field ID
2023-10-13	12:33:02	821	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:02	821	[DEBUG]	No custom field ID found
2023-10-13	12:33:02	821	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:02	821	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:02	821	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860313 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:02	821	[DEBUG]	Store custom available field
2023-10-13	12:33:02	821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860313,3,'0',1)
2023-10-13	12:33:02	821	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:02	821	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:02	821	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860313 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:02	821	[DEBUG]	Store custom available field
2023-10-13	12:33:02	821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860313,6,'choisir la taille',3)
2023-10-13	12:33:02	821	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:02	821	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:02	821	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:02	821	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:02	821	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860313 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:02	821	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:02	821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860313,8,1)
2023-10-13	12:33:02	821	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:02	821	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860313\":[1860313,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860313
2023-10-13	12:33:02	821	[DEBUG]	Checking category
2023-10-13	12:33:02	821	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:02	821	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860313
2023-10-13	12:33:02	821	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:02	821	[DEBUG]	Executed store
2023-10-13	12:33:02	821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860313','7283')
2023-10-13	12:33:02	821	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:02	821	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860313 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:02	821	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:02	821	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860313
2023-10-13	12:33:02	822	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:02	822	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:02	822	[DEBUG]	Use field value for field taille
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:02	822	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:02	822	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:02	822	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:02	822	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:02	822	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:02	822	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:02	822	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:02	822	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:02	822	[DEBUG]	Use field value for field published
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:02	822	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field override
2023-10-13	12:33:02	822	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:02	822	[DEBUG]	Use field value for field slug
2023-10-13	12:33:02	822	[DEBUG]	Process line 822
2023-10-13	12:33:02	822	[DEBUG]	Load a row
2023-10-13	12:33:02	822	[DEBUG]	Processing item: 8435466215033
2023-10-13	12:33:02	822	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:02	822	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:02	822	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7088_4'
2023-10-13	12:33:02	822	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:02	822	[DEBUG]	Processing product tax
2023-10-13	12:33:02	822	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:02	822	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:02	822	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:02	822	[DEBUG]	Query for Product
2023-10-13	12:33:02	822	[DEBUG]	Executed store
2023-10-13	12:33:02	822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860313','8435466215033','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:02	822	[DEBUG]	No parent found
2023-10-13	12:33:02	822	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860313 AND customfield_value = 'stockable'
2023-10-13	12:33:02	822	[DEBUG]	Check product language entry
2023-10-13	12:33:02	822	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860314
2023-10-13	12:33:02	822	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:02	822	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215033' AND `virtuemart_product_id` != 1860314
2023-10-13	12:33:02	822	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:02	822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860314, '8435466215033')
2023-10-13	12:33:02	822	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:02	822	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-50-1-spider-alu-acier-unitaire' AND `virtuemart_product_id` != 1860314
2023-10-13	12:33:02	822	[DEBUG]	Query for ProductLang
2023-10-13	12:33:02	822	[DEBUG]	Executed store
2023-10-13	12:33:02	822	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 10 vitesses 11-50  1 SPIDER ALU / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-50-1-spider-alu-acier-unitaire' WHERE `virtuemart_product_id` = '1860314'
2023-10-13	12:33:02	822	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34243_cassette_msc_10_vitesses_11-50__1_spider_alu.jpg
2023-10-13	12:33:02	822	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:02	822	[DEBUG]	Process image file
2023-10-13	12:33:02	822	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:02	822	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:02	822	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34243_cassette_msc_10_vitesses_11-50__1_spider_alu.jpg
2023-10-13	12:33:02	822	[DEBUG]	Full name target: bcprisme/34243_cassette_msc_10_vitesses_11-50__1_spider_alu.jpg
2023-10-13	12:33:03	822	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:03	822	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34243_cassette_msc_10_vitesses_11-50__1_spider_alu.jpg'
2023-10-13	12:33:03	822	[DEBUG]	Query for Media
2023-10-13	12:33:03	822	[DEBUG]	Executed store
2023-10-13	12:33:03	822	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34243_cassette_msc_10_vitesses_11-50__1_spider_alu.jpg',`file_url_thumb`='bcprisme/34243_cassette_msc_10_vitesses_11-50__1_spider_alu.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '316173'
2023-10-13	12:33:03	822	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:03	822	[DEBUG]	Executed store
2023-10-13	12:33:03	822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860314','316173','1')
2023-10-13	12:33:03	822	[DEBUG]	Store product image relation
2023-10-13	12:33:03	822	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:03	822	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860314 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:03	822	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:03	822	[DEBUG]	Executed store
2023-10-13	12:33:03	822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860314','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:03	822	[DEBUG]	Checking manufacturer
2023-10-13	12:33:03	822	[DEBUG]	Load a row
2023-10-13	12:33:03	822	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:03	822	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:03	822	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:03	822	[DEBUG]	Executed store
2023-10-13	12:33:03	822	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:03	822	[DEBUG]	Manufacturer exists
2023-10-13	12:33:03	822	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:33:03	822	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:03	822	[DEBUG]	Executed store
2023-10-13	12:33:03	822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860314','32')
2023-10-13	12:33:03	822	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:03	822	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:03	822	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860314 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:03	822	[DEBUG]	Store custom available field
2023-10-13	12:33:03	822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860314,3,'',1)
2023-10-13	12:33:03	822	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:03	822	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:03	822	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860314 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:03	822	[DEBUG]	Store custom available field
2023-10-13	12:33:03	822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860314,6,'Unitaire',3)
2023-10-13	12:33:03	822	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:03	822	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:03	822	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860313
2023-10-13	12:33:03	822	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:03	822	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860313\":[1860313,8,1,\"choisir la taille\"],\"1860314\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860313
2023-10-13	12:33:03	822	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:03	822	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860314
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:03	823	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field taille
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:03	823	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:03	823	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:03	823	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:03	823	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:03	823	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:03	823	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field published
2023-10-13	12:33:03	823	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:03	823	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field override
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:03	823	[DEBUG]	Use field value for field slug
2023-10-13	12:33:03	823	[DEBUG]	Process line 823
2023-10-13	12:33:03	823	[DEBUG]	Load a row
2023-10-13	12:33:03	823	[DEBUG]	Processing item: A_7121_0
2023-10-13	12:33:03	823	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:03	823	[DEBUG]	Processing product tax
2023-10-13	12:33:03	823	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:03	823	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:03	823	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:03	823	[DEBUG]	Query for Product
2023-10-13	12:33:03	823	[DEBUG]	Executed store
2023-10-13	12:33:03	823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7121_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:03	823	[DEBUG]	Check product language entry
2023-10-13	12:33:03	823	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860315
2023-10-13	12:33:03	823	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:03	823	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7121_0' AND `virtuemart_product_id` != 1860315
2023-10-13	12:33:03	823	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:03	823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860315, 'A_7121_0')
2023-10-13	12:33:03	823	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:03	823	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-105-cs-r7000-11-vitesses-12-25-unique' AND `virtuemart_product_id` != 1860315
2023-10-13	12:33:03	823	[DEBUG]	Query for ProductLang
2023-10-13	12:33:03	823	[DEBUG]	Executed store
2023-10-13	12:33:03	823	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.72590',`product_name`='SHIMANO Cassette 105 CS-R7000 11 vitesses 12/25 / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-105-cs-r7000-11-vitesses-12-25-unique' WHERE `virtuemart_product_id` = '1860315'
2023-10-13	12:33:03	823	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34275_shimano_cassette_105_cs-r7000_11_vitesses_12-25.jpg
2023-10-13	12:33:03	823	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:03	823	[DEBUG]	Process image file
2023-10-13	12:33:03	823	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:03	823	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:03	823	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34275_shimano_cassette_105_cs-r7000_11_vitesses_12-25.jpg
2023-10-13	12:33:03	823	[DEBUG]	Full name target: bcprisme/34275_shimano_cassette_105_cs-r7000_11_vitesses_12-25.jpg
2023-10-13	12:33:04	823	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:04	823	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34275_shimano_cassette_105_cs-r7000_11_vitesses_12-25.jpg'
2023-10-13	12:33:04	823	[DEBUG]	Query for Media
2023-10-13	12:33:04	823	[DEBUG]	Executed store
2023-10-13	12:33:04	823	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34275_shimano_cassette_105_cs-r7000_11_vitesses_12-25.jpg',`file_url_thumb`='bcprisme/34275_shimano_cassette_105_cs-r7000_11_vitesses_12-25.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '110284'
2023-10-13	12:33:04	823	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:04	823	[DEBUG]	Executed store
2023-10-13	12:33:04	823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860315','110284','1')
2023-10-13	12:33:04	823	[DEBUG]	Store product image relation
2023-10-13	12:33:04	823	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:04	823	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860315 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:04	823	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:04	823	[DEBUG]	Executed store
2023-10-13	12:33:04	823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860315','0','67.6880222841226','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:04	823	[DEBUG]	Checking manufacturer
2023-10-13	12:33:04	823	[DEBUG]	Load a row
2023-10-13	12:33:04	823	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:04	823	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:04	823	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:04	823	[DEBUG]	Executed store
2023-10-13	12:33:04	823	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:04	823	[DEBUG]	Manufacturer exists
2023-10-13	12:33:04	823	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:04	823	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:04	823	[DEBUG]	Executed store
2023-10-13	12:33:04	823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860315','26')
2023-10-13	12:33:04	823	[DEBUG]	Find the custom field ID
2023-10-13	12:33:04	823	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:04	823	[DEBUG]	No custom field ID found
2023-10-13	12:33:04	823	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:04	823	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:04	823	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860315 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:04	823	[DEBUG]	Store custom available field
2023-10-13	12:33:04	823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860315,3,'0',1)
2023-10-13	12:33:04	823	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:04	823	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:04	823	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860315 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:04	823	[DEBUG]	Store custom available field
2023-10-13	12:33:04	823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860315,6,'choisir la taille',3)
2023-10-13	12:33:04	823	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:04	823	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:04	823	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:04	823	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:04	823	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860315 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:04	823	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:04	823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860315,8,1)
2023-10-13	12:33:04	823	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:04	823	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860315\":[1860315,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860315
2023-10-13	12:33:04	823	[DEBUG]	Checking category
2023-10-13	12:33:04	823	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:04	823	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860315
2023-10-13	12:33:04	823	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:04	823	[DEBUG]	Executed store
2023-10-13	12:33:04	823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860315','7283')
2023-10-13	12:33:04	823	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:04	823	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860315 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:04	823	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:04	823	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860315
2023-10-13	12:33:04	824	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:04	824	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:04	824	[DEBUG]	Use field value for field taille
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:04	824	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:04	824	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:04	824	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:04	824	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:04	824	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:04	824	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:04	824	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:04	824	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:04	824	[DEBUG]	Use field value for field published
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:04	824	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field override
2023-10-13	12:33:04	824	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:04	824	[DEBUG]	Use field value for field slug
2023-10-13	12:33:04	824	[DEBUG]	Process line 824
2023-10-13	12:33:04	824	[DEBUG]	Load a row
2023-10-13	12:33:04	824	[DEBUG]	Processing item: 4524667889038
2023-10-13	12:33:04	824	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:04	824	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:04	824	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7121_0'
2023-10-13	12:33:04	824	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:04	824	[DEBUG]	Processing product tax
2023-10-13	12:33:04	824	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:04	824	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:04	824	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:04	824	[DEBUG]	Query for Product
2023-10-13	12:33:04	824	[DEBUG]	Executed store
2023-10-13	12:33:04	824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860315','4524667889038','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:04	824	[DEBUG]	No parent found
2023-10-13	12:33:04	824	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860315 AND customfield_value = 'stockable'
2023-10-13	12:33:04	824	[DEBUG]	Check product language entry
2023-10-13	12:33:04	824	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860316
2023-10-13	12:33:04	824	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:04	824	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667889038' AND `virtuemart_product_id` != 1860316
2023-10-13	12:33:04	824	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:04	824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860316, '4524667889038')
2023-10-13	12:33:04	824	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:04	824	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-105-cs-r7000-11-vitesses-12-25-unique-all' AND `virtuemart_product_id` != 1860316
2023-10-13	12:33:04	824	[DEBUG]	Query for ProductLang
2023-10-13	12:33:04	824	[DEBUG]	Executed store
2023-10-13	12:33:04	824	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette 105 CS-R7000 11 vitesses 12/25 / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-105-cs-r7000-11-vitesses-12-25-unique-all' WHERE `virtuemart_product_id` = '1860316'
2023-10-13	12:33:04	824	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34275_shimano_cassette_105_cs-r7000_11_vitesses_12-25.jpg
2023-10-13	12:33:04	824	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:04	824	[DEBUG]	Process image file
2023-10-13	12:33:04	824	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:04	824	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:04	824	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34275_shimano_cassette_105_cs-r7000_11_vitesses_12-25.jpg
2023-10-13	12:33:04	824	[DEBUG]	Full name target: bcprisme/34275_shimano_cassette_105_cs-r7000_11_vitesses_12-25.jpg
2023-10-13	12:33:05	824	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:05	824	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34275_shimano_cassette_105_cs-r7000_11_vitesses_12-25.jpg'
2023-10-13	12:33:05	824	[DEBUG]	Query for Media
2023-10-13	12:33:05	824	[DEBUG]	Executed store
2023-10-13	12:33:05	824	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34275_shimano_cassette_105_cs-r7000_11_vitesses_12-25.jpg',`file_url_thumb`='bcprisme/34275_shimano_cassette_105_cs-r7000_11_vitesses_12-25.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '110284'
2023-10-13	12:33:05	824	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:05	824	[DEBUG]	Executed store
2023-10-13	12:33:05	824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860316','110284','1')
2023-10-13	12:33:05	824	[DEBUG]	Store product image relation
2023-10-13	12:33:05	824	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:05	824	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860316 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:05	824	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:05	824	[DEBUG]	Executed store
2023-10-13	12:33:05	824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860316','0','67.6880222841226','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:05	824	[DEBUG]	Checking manufacturer
2023-10-13	12:33:05	824	[DEBUG]	Load a row
2023-10-13	12:33:05	824	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:05	824	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:05	824	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:05	824	[DEBUG]	Executed store
2023-10-13	12:33:05	824	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:05	824	[DEBUG]	Manufacturer exists
2023-10-13	12:33:05	824	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:05	824	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:05	824	[DEBUG]	Executed store
2023-10-13	12:33:05	824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860316','26')
2023-10-13	12:33:05	824	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:05	824	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:05	824	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860316 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:05	824	[DEBUG]	Store custom available field
2023-10-13	12:33:05	824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860316,3,'',1)
2023-10-13	12:33:05	824	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:05	824	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:33:05	824	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860316 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:05	824	[DEBUG]	Store custom available field
2023-10-13	12:33:05	824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860316,6,'All',3)
2023-10-13	12:33:05	824	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:05	824	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:05	824	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860315
2023-10-13	12:33:05	824	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:05	824	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860315\":[1860315,8,1,\"choisir la taille\"],\"1860316\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860315
2023-10-13	12:33:05	824	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:05	824	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860316
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:05	825	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field taille
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:05	825	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:05	825	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:05	825	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:05	825	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:05	825	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:05	825	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field published
2023-10-13	12:33:05	825	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:05	825	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field override
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:05	825	[DEBUG]	Use field value for field slug
2023-10-13	12:33:05	825	[DEBUG]	Process line 825
2023-10-13	12:33:05	825	[DEBUG]	Load a row
2023-10-13	12:33:05	825	[DEBUG]	Processing item: A_7124_0
2023-10-13	12:33:05	825	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:05	825	[DEBUG]	Processing product tax
2023-10-13	12:33:05	825	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:05	825	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:05	825	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:05	825	[DEBUG]	Query for Product
2023-10-13	12:33:05	825	[DEBUG]	Executed store
2023-10-13	12:33:05	825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7124_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:05	825	[DEBUG]	Check product language entry
2023-10-13	12:33:05	825	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860317
2023-10-13	12:33:05	825	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:05	825	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7124_0' AND `virtuemart_product_id` != 1860317
2023-10-13	12:33:05	825	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:05	825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860317, 'A_7124_0')
2023-10-13	12:33:05	825	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:05	825	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-105-cs-5700-10-vitesses-11-25-dents-unique' AND `virtuemart_product_id` != 1860317
2023-10-13	12:33:05	825	[DEBUG]	Query for ProductLang
2023-10-13	12:33:05	825	[DEBUG]	Executed store
2023-10-13	12:33:05	825	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.50444',`product_name`='SHIMANO Cassette 105 CS-5700 10-vitesses 11-25 dents  / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-105-cs-5700-10-vitesses-11-25-dents-unique' WHERE `virtuemart_product_id` = '1860317'
2023-10-13	12:33:05	825	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34278_shimano_cassette_105_cs-5700_10-vitesses_11-25_dents_.jpg
2023-10-13	12:33:05	825	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:05	825	[DEBUG]	Process image file
2023-10-13	12:33:05	825	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:05	825	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:05	825	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34278_shimano_cassette_105_cs-5700_10-vitesses_11-25_dents_.jpg
2023-10-13	12:33:05	825	[DEBUG]	Full name target: bcprisme/34278_shimano_cassette_105_cs-5700_10-vitesses_11-25_dents_.jpg
2023-10-13	12:33:06	825	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:06	825	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34278_shimano_cassette_105_cs-5700_10-vitesses_11-25_dents_.jpg'
2023-10-13	12:33:06	825	[DEBUG]	Query for Media
2023-10-13	12:33:06	825	[DEBUG]	Executed store
2023-10-13	12:33:06	825	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34278_shimano_cassette_105_cs-5700_10-vitesses_11-25_dents_.jpg',`file_url_thumb`='bcprisme/34278_shimano_cassette_105_cs-5700_10-vitesses_11-25_dents_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '110286'
2023-10-13	12:33:06	825	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:06	825	[DEBUG]	Executed store
2023-10-13	12:33:06	825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860317','110286','1')
2023-10-13	12:33:06	825	[DEBUG]	Store product image relation
2023-10-13	12:33:06	825	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:06	825	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860317 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:06	825	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:06	825	[DEBUG]	Executed store
2023-10-13	12:33:06	825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860317','0','67.6880222841226','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:06	825	[DEBUG]	Checking manufacturer
2023-10-13	12:33:06	825	[DEBUG]	Load a row
2023-10-13	12:33:06	825	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:06	825	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:06	825	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:06	825	[DEBUG]	Executed store
2023-10-13	12:33:06	825	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:06	825	[DEBUG]	Manufacturer exists
2023-10-13	12:33:06	825	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:33:06	825	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:06	825	[DEBUG]	Executed store
2023-10-13	12:33:06	825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860317','123')
2023-10-13	12:33:06	825	[DEBUG]	Find the custom field ID
2023-10-13	12:33:06	825	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:06	825	[DEBUG]	No custom field ID found
2023-10-13	12:33:06	825	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:06	825	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:06	825	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860317 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:06	825	[DEBUG]	Store custom available field
2023-10-13	12:33:06	825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860317,3,'0',1)
2023-10-13	12:33:06	825	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:06	825	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:06	825	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860317 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:06	825	[DEBUG]	Store custom available field
2023-10-13	12:33:06	825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860317,6,'choisir la taille',3)
2023-10-13	12:33:06	825	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:06	825	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:06	825	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:06	825	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:06	825	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860317 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:06	825	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:06	825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860317,8,1)
2023-10-13	12:33:06	825	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:06	825	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860317\":[1860317,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860317
2023-10-13	12:33:06	825	[DEBUG]	Checking category
2023-10-13	12:33:06	825	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:06	825	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860317
2023-10-13	12:33:06	825	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:06	825	[DEBUG]	Executed store
2023-10-13	12:33:06	825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860317','7283')
2023-10-13	12:33:06	825	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:06	825	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860317 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:06	825	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:06	825	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860317
2023-10-13	12:33:06	826	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:06	826	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:06	826	[DEBUG]	Use field value for field taille
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:06	826	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:06	826	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:06	826	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:06	826	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:06	826	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:06	826	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:06	826	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:06	826	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:06	826	[DEBUG]	Use field value for field published
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:06	826	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field override
2023-10-13	12:33:06	826	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:06	826	[DEBUG]	Use field value for field slug
2023-10-13	12:33:06	826	[DEBUG]	Process line 826
2023-10-13	12:33:06	826	[DEBUG]	Load a row
2023-10-13	12:33:06	826	[DEBUG]	Processing item: 4524667424352
2023-10-13	12:33:06	826	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:06	826	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:06	826	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7124_0'
2023-10-13	12:33:06	826	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:06	826	[DEBUG]	Processing product tax
2023-10-13	12:33:06	826	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:06	826	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:06	826	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:06	826	[DEBUG]	Query for Product
2023-10-13	12:33:06	826	[DEBUG]	Executed store
2023-10-13	12:33:06	826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860317','4524667424352','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:06	826	[DEBUG]	No parent found
2023-10-13	12:33:06	826	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860317 AND customfield_value = 'stockable'
2023-10-13	12:33:06	826	[DEBUG]	Check product language entry
2023-10-13	12:33:06	826	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860318
2023-10-13	12:33:06	826	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:06	826	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667424352' AND `virtuemart_product_id` != 1860318
2023-10-13	12:33:06	826	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:06	826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860318, '4524667424352')
2023-10-13	12:33:06	826	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:06	826	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-105-cs-5700-10-vitesses-11-25-dents-unique-all' AND `virtuemart_product_id` != 1860318
2023-10-13	12:33:06	826	[DEBUG]	Query for ProductLang
2023-10-13	12:33:06	826	[DEBUG]	Executed store
2023-10-13	12:33:06	826	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette 105 CS-5700 10-vitesses 11-25 dents  / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-105-cs-5700-10-vitesses-11-25-dents-unique-all' WHERE `virtuemart_product_id` = '1860318'
2023-10-13	12:33:06	826	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34278_shimano_cassette_105_cs-5700_10-vitesses_11-25_dents_.jpg
2023-10-13	12:33:06	826	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:06	826	[DEBUG]	Process image file
2023-10-13	12:33:06	826	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:06	826	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:06	826	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34278_shimano_cassette_105_cs-5700_10-vitesses_11-25_dents_.jpg
2023-10-13	12:33:06	826	[DEBUG]	Full name target: bcprisme/34278_shimano_cassette_105_cs-5700_10-vitesses_11-25_dents_.jpg
2023-10-13	12:33:07	826	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:07	826	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34278_shimano_cassette_105_cs-5700_10-vitesses_11-25_dents_.jpg'
2023-10-13	12:33:07	826	[DEBUG]	Query for Media
2023-10-13	12:33:07	826	[DEBUG]	Executed store
2023-10-13	12:33:07	826	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34278_shimano_cassette_105_cs-5700_10-vitesses_11-25_dents_.jpg',`file_url_thumb`='bcprisme/34278_shimano_cassette_105_cs-5700_10-vitesses_11-25_dents_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '110286'
2023-10-13	12:33:07	826	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:07	826	[DEBUG]	Executed store
2023-10-13	12:33:07	826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860318','110286','1')
2023-10-13	12:33:07	826	[DEBUG]	Store product image relation
2023-10-13	12:33:07	826	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:07	826	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860318 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:07	826	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:07	826	[DEBUG]	Executed store
2023-10-13	12:33:07	826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860318','0','67.6880222841226','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:07	826	[DEBUG]	Checking manufacturer
2023-10-13	12:33:07	826	[DEBUG]	Load a row
2023-10-13	12:33:07	826	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:07	826	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:07	826	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:07	826	[DEBUG]	Executed store
2023-10-13	12:33:07	826	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:07	826	[DEBUG]	Manufacturer exists
2023-10-13	12:33:07	826	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:33:07	826	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:07	826	[DEBUG]	Executed store
2023-10-13	12:33:07	826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860318','123')
2023-10-13	12:33:07	826	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:07	826	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:07	826	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860318 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:07	826	[DEBUG]	Store custom available field
2023-10-13	12:33:07	826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860318,3,'',1)
2023-10-13	12:33:07	826	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:07	826	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:33:07	826	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860318 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:07	826	[DEBUG]	Store custom available field
2023-10-13	12:33:07	826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860318,6,'All',3)
2023-10-13	12:33:07	826	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:07	826	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:07	826	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860317
2023-10-13	12:33:07	826	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:07	826	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860317\":[1860317,8,1,\"choisir la taille\"],\"1860318\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860317
2023-10-13	12:33:07	826	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:07	826	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860318
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:07	827	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field taille
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:07	827	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:07	827	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:07	827	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:07	827	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:07	827	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:07	827	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field published
2023-10-13	12:33:07	827	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:07	827	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field override
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:07	827	[DEBUG]	Use field value for field slug
2023-10-13	12:33:07	827	[DEBUG]	Process line 827
2023-10-13	12:33:07	827	[DEBUG]	Load a row
2023-10-13	12:33:07	827	[DEBUG]	Processing item: A_7188_1
2023-10-13	12:33:07	827	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:07	827	[DEBUG]	Processing product tax
2023-10-13	12:33:07	827	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:07	827	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:07	827	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:07	827	[DEBUG]	Query for Product
2023-10-13	12:33:07	827	[DEBUG]	Executed store
2023-10-13	12:33:07	827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7188_1','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:07	827	[DEBUG]	Check product language entry
2023-10-13	12:33:07	827	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860319
2023-10-13	12:33:07	827	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:07	827	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7188_1' AND `virtuemart_product_id` != 1860319
2023-10-13	12:33:07	827	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:07	827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860319, 'A_7188_1')
2023-10-13	12:33:07	827	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:07	827	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-12-vitesses-11-52-black-light-noir' AND `virtuemart_product_id` != 1860319
2023-10-13	12:33:07	827	[DEBUG]	Query for ProductLang
2023-10-13	12:33:07	827	[DEBUG]	Executed store
2023-10-13	12:33:07	827	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSMSC121152L',`product_name`='MSC Cassette MSC 12 vitesses 11-52 black  light / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-12-vitesses-11-52-black-light-noir' WHERE `virtuemart_product_id` = '1860319'
2023-10-13	12:33:07	827	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34352_cassette_msc_12_vitesses_11-52_black__light.jpg
2023-10-13	12:33:07	827	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:07	827	[DEBUG]	Process image file
2023-10-13	12:33:07	827	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:07	827	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:07	827	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34352_cassette_msc_12_vitesses_11-52_black__light.jpg
2023-10-13	12:33:07	827	[DEBUG]	Full name target: bcprisme/34352_cassette_msc_12_vitesses_11-52_black__light.jpg
2023-10-13	12:33:09	827	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:09	827	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34352_cassette_msc_12_vitesses_11-52_black__light.jpg'
2023-10-13	12:33:09	827	[DEBUG]	Query for Media
2023-10-13	12:33:09	827	[DEBUG]	Executed store
2023-10-13	12:33:09	827	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34352_cassette_msc_12_vitesses_11-52_black__light.jpg',`file_url_thumb`='bcprisme/34352_cassette_msc_12_vitesses_11-52_black__light.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '316179'
2023-10-13	12:33:09	827	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:09	827	[DEBUG]	Executed store
2023-10-13	12:33:09	827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860319','316179','1')
2023-10-13	12:33:09	827	[DEBUG]	Store product image relation
2023-10-13	12:33:09	827	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:09	827	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860319 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:09	827	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:09	827	[DEBUG]	Executed store
2023-10-13	12:33:09	827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860319','0','370.473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:09	827	[DEBUG]	Checking manufacturer
2023-10-13	12:33:09	827	[DEBUG]	Load a row
2023-10-13	12:33:09	827	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:09	827	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:09	827	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:09	827	[DEBUG]	Executed store
2023-10-13	12:33:09	827	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:09	827	[DEBUG]	Manufacturer exists
2023-10-13	12:33:09	827	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:33:09	827	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:09	827	[DEBUG]	Executed store
2023-10-13	12:33:09	827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860319','32')
2023-10-13	12:33:09	827	[DEBUG]	Find the custom field ID
2023-10-13	12:33:09	827	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:09	827	[DEBUG]	No custom field ID found
2023-10-13	12:33:09	827	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:09	827	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:33:09	827	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860319 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:09	827	[DEBUG]	Store custom available field
2023-10-13	12:33:09	827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860319,3,'109.594722222222',1)
2023-10-13	12:33:09	827	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:09	827	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:09	827	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860319 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:09	827	[DEBUG]	Store custom available field
2023-10-13	12:33:09	827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860319,6,'choisir la taille',3)
2023-10-13	12:33:09	827	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:09	827	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:09	827	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:09	827	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:09	827	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860319 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:09	827	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:09	827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860319,8,1)
2023-10-13	12:33:09	827	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:09	827	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860319\":[1860319,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860319
2023-10-13	12:33:09	827	[DEBUG]	Checking category
2023-10-13	12:33:09	827	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:09	827	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860319
2023-10-13	12:33:09	827	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:09	827	[DEBUG]	Executed store
2023-10-13	12:33:09	827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860319','7283')
2023-10-13	12:33:09	827	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:09	827	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860319 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:09	827	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:09	827	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860319
2023-10-13	12:33:09	828	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:09	828	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:09	828	[DEBUG]	Use field value for field taille
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:09	828	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:09	828	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:09	828	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:09	828	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:09	828	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:09	828	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:09	828	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:09	828	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:09	828	[DEBUG]	Use field value for field published
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:09	828	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field override
2023-10-13	12:33:09	828	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:09	828	[DEBUG]	Use field value for field slug
2023-10-13	12:33:09	828	[DEBUG]	Process line 828
2023-10-13	12:33:09	828	[DEBUG]	Load a row
2023-10-13	12:33:09	828	[DEBUG]	Processing item: 8435466216573
2023-10-13	12:33:09	828	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:09	828	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:09	828	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7188_1'
2023-10-13	12:33:09	828	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:09	828	[DEBUG]	Processing product tax
2023-10-13	12:33:09	828	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:09	828	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:09	828	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:09	828	[DEBUG]	Query for Product
2023-10-13	12:33:09	828	[DEBUG]	Executed store
2023-10-13	12:33:09	828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860319','8435466216573','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:09	828	[DEBUG]	No parent found
2023-10-13	12:33:09	828	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860319 AND customfield_value = 'stockable'
2023-10-13	12:33:09	828	[DEBUG]	Check product language entry
2023-10-13	12:33:09	828	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860320
2023-10-13	12:33:09	828	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:09	828	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216573' AND `virtuemart_product_id` != 1860320
2023-10-13	12:33:09	828	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:09	828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860320, '8435466216573')
2023-10-13	12:33:09	828	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:09	828	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-12-vitesses-11-52-black-light-noir-unitaire' AND `virtuemart_product_id` != 1860320
2023-10-13	12:33:09	828	[DEBUG]	Query for ProductLang
2023-10-13	12:33:09	828	[DEBUG]	Executed store
2023-10-13	12:33:09	828	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 12 vitesses 11-52 black  light / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-12-vitesses-11-52-black-light-noir-unitaire' WHERE `virtuemart_product_id` = '1860320'
2023-10-13	12:33:09	828	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34352_cassette_msc_12_vitesses_11-52_black__light.jpg
2023-10-13	12:33:09	828	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:09	828	[DEBUG]	Process image file
2023-10-13	12:33:09	828	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:09	828	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:09	828	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34352_cassette_msc_12_vitesses_11-52_black__light.jpg
2023-10-13	12:33:09	828	[DEBUG]	Full name target: bcprisme/34352_cassette_msc_12_vitesses_11-52_black__light.jpg
2023-10-13	12:33:10	828	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:10	828	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34352_cassette_msc_12_vitesses_11-52_black__light.jpg'
2023-10-13	12:33:10	828	[DEBUG]	Query for Media
2023-10-13	12:33:10	828	[DEBUG]	Executed store
2023-10-13	12:33:10	828	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34352_cassette_msc_12_vitesses_11-52_black__light.jpg',`file_url_thumb`='bcprisme/34352_cassette_msc_12_vitesses_11-52_black__light.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '316179'
2023-10-13	12:33:10	828	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:10	828	[DEBUG]	Executed store
2023-10-13	12:33:10	828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860320','316179','1')
2023-10-13	12:33:10	828	[DEBUG]	Store product image relation
2023-10-13	12:33:10	828	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:10	828	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860320 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:10	828	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:10	828	[DEBUG]	Executed store
2023-10-13	12:33:10	828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860320','0','370.473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:10	828	[DEBUG]	Checking manufacturer
2023-10-13	12:33:10	828	[DEBUG]	Load a row
2023-10-13	12:33:10	828	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:10	828	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:10	828	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:10	828	[DEBUG]	Executed store
2023-10-13	12:33:10	828	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:10	828	[DEBUG]	Manufacturer exists
2023-10-13	12:33:10	828	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:33:10	828	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:10	828	[DEBUG]	Executed store
2023-10-13	12:33:10	828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860320','32')
2023-10-13	12:33:10	828	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:10	828	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:10	828	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860320 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:10	828	[DEBUG]	Store custom available field
2023-10-13	12:33:10	828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860320,3,'',1)
2023-10-13	12:33:10	828	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:10	828	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:10	828	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860320 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:10	828	[DEBUG]	Store custom available field
2023-10-13	12:33:10	828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860320,6,'Unitaire',3)
2023-10-13	12:33:10	828	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:10	828	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:10	828	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860319
2023-10-13	12:33:10	828	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:10	828	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860319\":[1860319,8,1,\"choisir la taille\"],\"1860320\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860319
2023-10-13	12:33:10	828	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:10	828	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860320
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:10	829	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field taille
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:10	829	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:10	829	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:10	829	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:10	829	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:10	829	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:10	829	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field published
2023-10-13	12:33:10	829	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:10	829	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field override
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:10	829	[DEBUG]	Use field value for field slug
2023-10-13	12:33:10	829	[DEBUG]	Process line 829
2023-10-13	12:33:10	829	[DEBUG]	Load a row
2023-10-13	12:33:10	829	[DEBUG]	Processing item: A_7189_4
2023-10-13	12:33:10	829	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:10	829	[DEBUG]	Processing product tax
2023-10-13	12:33:10	829	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:10	829	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:10	829	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:10	829	[DEBUG]	Query for Product
2023-10-13	12:33:10	829	[DEBUG]	Executed store
2023-10-13	12:33:10	829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7189_4','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:10	829	[DEBUG]	Check product language entry
2023-10-13	12:33:10	829	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860321
2023-10-13	12:33:10	829	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:10	829	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7189_4' AND `virtuemart_product_id` != 1860321
2023-10-13	12:33:10	829	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:10	829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860321, 'A_7189_4')
2023-10-13	12:33:10	829	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:10	829	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-12-vitesses-11-52-2-spider-alu-acier' AND `virtuemart_product_id` != 1860321
2023-10-13	12:33:10	829	[DEBUG]	Query for ProductLang
2023-10-13	12:33:10	829	[DEBUG]	Executed store
2023-10-13	12:33:10	829	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSMSC121152',`product_name`='MSC Cassette MSC 12 vitesses 11-52 2 Spider Alu / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-12-vitesses-11-52-2-spider-alu-acier' WHERE `virtuemart_product_id` = '1860321'
2023-10-13	12:33:10	829	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34353_cassette_msc_12_vitesses_11-52_black.jpg
2023-10-13	12:33:10	829	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:10	829	[DEBUG]	Process image file
2023-10-13	12:33:10	829	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:10	829	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:10	829	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34353_cassette_msc_12_vitesses_11-52_black.jpg
2023-10-13	12:33:10	829	[DEBUG]	Full name target: bcprisme/34353_cassette_msc_12_vitesses_11-52_black.jpg
2023-10-13	12:33:11	829	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:11	829	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34353_cassette_msc_12_vitesses_11-52_black.jpg'
2023-10-13	12:33:11	829	[DEBUG]	Query for Media
2023-10-13	12:33:11	829	[DEBUG]	Executed store
2023-10-13	12:33:11	829	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34353_cassette_msc_12_vitesses_11-52_black.jpg',`file_url_thumb`='bcprisme/34353_cassette_msc_12_vitesses_11-52_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '316181'
2023-10-13	12:33:11	829	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:11	829	[DEBUG]	Executed store
2023-10-13	12:33:11	829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860321','316181','1')
2023-10-13	12:33:11	829	[DEBUG]	Store product image relation
2023-10-13	12:33:11	829	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:11	829	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860321 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:11	829	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:11	829	[DEBUG]	Executed store
2023-10-13	12:33:11	829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860321','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:11	829	[DEBUG]	Checking manufacturer
2023-10-13	12:33:11	829	[DEBUG]	Load a row
2023-10-13	12:33:11	829	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:11	829	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:11	829	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:11	829	[DEBUG]	Executed store
2023-10-13	12:33:11	829	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:11	829	[DEBUG]	Manufacturer exists
2023-10-13	12:33:11	829	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:33:11	829	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:11	829	[DEBUG]	Executed store
2023-10-13	12:33:11	829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860321','32')
2023-10-13	12:33:11	829	[DEBUG]	Find the custom field ID
2023-10-13	12:33:11	829	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:11	829	[DEBUG]	No custom field ID found
2023-10-13	12:33:11	829	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:11	829	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:33:11	829	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860321 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:11	829	[DEBUG]	Store custom available field
2023-10-13	12:33:11	829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860321,3,'109.594722222222',1)
2023-10-13	12:33:11	829	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:11	829	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:11	829	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860321 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:11	829	[DEBUG]	Store custom available field
2023-10-13	12:33:11	829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860321,6,'choisir la taille',3)
2023-10-13	12:33:11	829	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:11	829	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:11	829	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:11	829	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:11	829	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860321 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:11	829	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:11	829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860321,8,1)
2023-10-13	12:33:11	829	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:11	829	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860321\":[1860321,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860321
2023-10-13	12:33:11	829	[DEBUG]	Checking category
2023-10-13	12:33:11	829	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:11	829	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860321
2023-10-13	12:33:11	829	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:11	829	[DEBUG]	Executed store
2023-10-13	12:33:11	829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860321','7283')
2023-10-13	12:33:11	829	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:11	829	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860321 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:11	829	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:11	829	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860321
2023-10-13	12:33:11	830	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:11	830	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:11	830	[DEBUG]	Use field value for field taille
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:11	830	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:11	830	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:11	830	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:11	830	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:11	830	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:11	830	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:11	830	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:11	830	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:11	830	[DEBUG]	Use field value for field published
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:11	830	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field override
2023-10-13	12:33:11	830	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:11	830	[DEBUG]	Use field value for field slug
2023-10-13	12:33:11	830	[DEBUG]	Process line 830
2023-10-13	12:33:11	830	[DEBUG]	Load a row
2023-10-13	12:33:11	830	[DEBUG]	Processing item: 8435466216566
2023-10-13	12:33:11	830	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:11	830	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:11	830	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7189_4'
2023-10-13	12:33:11	830	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:11	830	[DEBUG]	Processing product tax
2023-10-13	12:33:11	830	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:11	830	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:11	830	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:11	830	[DEBUG]	Query for Product
2023-10-13	12:33:11	830	[DEBUG]	Executed store
2023-10-13	12:33:11	830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860321','8435466216566','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:11	830	[DEBUG]	No parent found
2023-10-13	12:33:11	830	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860321 AND customfield_value = 'stockable'
2023-10-13	12:33:11	830	[DEBUG]	Check product language entry
2023-10-13	12:33:11	830	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860322
2023-10-13	12:33:11	830	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:11	830	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216566' AND `virtuemart_product_id` != 1860322
2023-10-13	12:33:11	830	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:11	830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860322, '8435466216566')
2023-10-13	12:33:11	830	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:11	830	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-12-vitesses-11-52-2-spider-alu-acier-unitaire' AND `virtuemart_product_id` != 1860322
2023-10-13	12:33:11	830	[DEBUG]	Query for ProductLang
2023-10-13	12:33:11	830	[DEBUG]	Executed store
2023-10-13	12:33:11	830	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 12 vitesses 11-52 2 Spider Alu / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-12-vitesses-11-52-2-spider-alu-acier-unitaire' WHERE `virtuemart_product_id` = '1860322'
2023-10-13	12:33:11	830	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34353_cassette_msc_12_vitesses_11-52_black.jpg
2023-10-13	12:33:11	830	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:11	830	[DEBUG]	Process image file
2023-10-13	12:33:11	830	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:11	830	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:11	830	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34353_cassette_msc_12_vitesses_11-52_black.jpg
2023-10-13	12:33:11	830	[DEBUG]	Full name target: bcprisme/34353_cassette_msc_12_vitesses_11-52_black.jpg
2023-10-13	12:33:12	830	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:12	830	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34353_cassette_msc_12_vitesses_11-52_black.jpg'
2023-10-13	12:33:12	830	[DEBUG]	Query for Media
2023-10-13	12:33:12	830	[DEBUG]	Executed store
2023-10-13	12:33:12	830	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34353_cassette_msc_12_vitesses_11-52_black.jpg',`file_url_thumb`='bcprisme/34353_cassette_msc_12_vitesses_11-52_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '316181'
2023-10-13	12:33:12	830	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:12	830	[DEBUG]	Executed store
2023-10-13	12:33:12	830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860322','316181','1')
2023-10-13	12:33:12	830	[DEBUG]	Store product image relation
2023-10-13	12:33:12	830	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:12	830	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860322 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:12	830	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:12	830	[DEBUG]	Executed store
2023-10-13	12:33:12	830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860322','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:12	830	[DEBUG]	Checking manufacturer
2023-10-13	12:33:12	830	[DEBUG]	Load a row
2023-10-13	12:33:12	830	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:12	830	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:12	830	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:12	830	[DEBUG]	Executed store
2023-10-13	12:33:12	830	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:12	830	[DEBUG]	Manufacturer exists
2023-10-13	12:33:12	830	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:33:12	830	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:12	830	[DEBUG]	Executed store
2023-10-13	12:33:12	830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860322','32')
2023-10-13	12:33:12	830	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:12	830	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:12	830	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860322 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:12	830	[DEBUG]	Store custom available field
2023-10-13	12:33:12	830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860322,3,'',1)
2023-10-13	12:33:12	830	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:12	830	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:12	830	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860322 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:12	830	[DEBUG]	Store custom available field
2023-10-13	12:33:12	830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860322,6,'Unitaire',3)
2023-10-13	12:33:12	830	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:12	830	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:12	830	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860321
2023-10-13	12:33:12	830	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:12	830	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860321\":[1860321,8,1,\"choisir la taille\"],\"1860322\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860321
2023-10-13	12:33:12	830	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:12	830	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860322
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:12	831	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field taille
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:12	831	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:12	831	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:12	831	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:12	831	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:12	831	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:12	831	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field published
2023-10-13	12:33:12	831	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:12	831	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field override
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:12	831	[DEBUG]	Use field value for field slug
2023-10-13	12:33:12	831	[DEBUG]	Process line 831
2023-10-13	12:33:12	831	[DEBUG]	Load a row
2023-10-13	12:33:12	831	[DEBUG]	Processing item: A_7236_4
2023-10-13	12:33:12	831	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:12	831	[DEBUG]	Processing product tax
2023-10-13	12:33:12	831	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:12	831	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:12	831	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:12	831	[DEBUG]	Query for Product
2023-10-13	12:33:12	831	[DEBUG]	Executed store
2023-10-13	12:33:12	831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7236_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:12	831	[DEBUG]	Check product language entry
2023-10-13	12:33:12	831	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860323
2023-10-13	12:33:12	831	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:12	831	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7236_4' AND `virtuemart_product_id` != 1860323
2023-10-13	12:33:12	831	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:12	831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860323, 'A_7236_4')
2023-10-13	12:33:12	831	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:12	831	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-xt-cs-m8000-11-vitesses-11-46-dents-box-acier' AND `virtuemart_product_id` != 1860323
2023-10-13	12:33:12	831	[DEBUG]	Query for ProductLang
2023-10-13	12:33:12	831	[DEBUG]	Executed store
2023-10-13	12:33:12	831	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.66766',`product_name`='SHIMANO Cassette XT CS-M8000 11-vitesses 11-46 dents  box / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-xt-cs-m8000-11-vitesses-11-46-dents-box-acier' WHERE `virtuemart_product_id` = '1860323'
2023-10-13	12:33:12	831	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34418_cassette_xt_cs-m8000_11-vitesses_11-46_dents__box.jpg
2023-10-13	12:33:12	831	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:12	831	[DEBUG]	Process image file
2023-10-13	12:33:12	831	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:12	831	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:12	831	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34418_cassette_xt_cs-m8000_11-vitesses_11-46_dents__box.jpg
2023-10-13	12:33:12	831	[DEBUG]	Full name target: bcprisme/34418_cassette_xt_cs-m8000_11-vitesses_11-46_dents__box.jpg
2023-10-13	12:33:13	831	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:13	831	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34418_cassette_xt_cs-m8000_11-vitesses_11-46_dents__box.jpg'
2023-10-13	12:33:13	831	[DEBUG]	Query for Media
2023-10-13	12:33:13	831	[DEBUG]	Executed store
2023-10-13	12:33:13	831	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34418_cassette_xt_cs-m8000_11-vitesses_11-46_dents__box.jpg',`file_url_thumb`='bcprisme/34418_cassette_xt_cs-m8000_11-vitesses_11-46_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '157461'
2023-10-13	12:33:13	831	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:13	831	[DEBUG]	Executed store
2023-10-13	12:33:13	831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860323','157461','1')
2023-10-13	12:33:13	831	[DEBUG]	Store product image relation
2023-10-13	12:33:13	831	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:13	831	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860323 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:13	831	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:13	831	[DEBUG]	Executed store
2023-10-13	12:33:13	831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860323','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:13	831	[DEBUG]	Checking manufacturer
2023-10-13	12:33:13	831	[DEBUG]	Load a row
2023-10-13	12:33:13	831	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:13	831	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:13	831	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:13	831	[DEBUG]	Executed store
2023-10-13	12:33:13	831	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:13	831	[DEBUG]	Manufacturer exists
2023-10-13	12:33:13	831	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:33:13	831	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:13	831	[DEBUG]	Executed store
2023-10-13	12:33:13	831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860323','123')
2023-10-13	12:33:13	831	[DEBUG]	Find the custom field ID
2023-10-13	12:33:13	831	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:13	831	[DEBUG]	No custom field ID found
2023-10-13	12:33:13	831	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:13	831	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:13	831	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860323 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:13	831	[DEBUG]	Store custom available field
2023-10-13	12:33:13	831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860323,3,'0',1)
2023-10-13	12:33:13	831	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:13	831	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:13	831	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860323 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:13	831	[DEBUG]	Store custom available field
2023-10-13	12:33:13	831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860323,6,'choisir la taille',3)
2023-10-13	12:33:13	831	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:13	831	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:13	831	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:13	831	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:13	831	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860323 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:13	831	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:13	831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860323,8,1)
2023-10-13	12:33:13	831	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:13	831	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860323\":[1860323,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860323
2023-10-13	12:33:13	831	[DEBUG]	Checking category
2023-10-13	12:33:13	831	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:13	831	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860323
2023-10-13	12:33:13	831	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:13	831	[DEBUG]	Executed store
2023-10-13	12:33:13	831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860323','7283')
2023-10-13	12:33:13	831	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:13	831	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860323 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:13	831	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:13	831	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860323
2023-10-13	12:33:13	832	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:13	832	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:13	832	[DEBUG]	Use field value for field taille
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:13	832	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:13	832	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:13	832	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:13	832	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:13	832	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:13	832	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:13	832	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:13	832	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:13	832	[DEBUG]	Use field value for field published
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:13	832	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field override
2023-10-13	12:33:13	832	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:13	832	[DEBUG]	Use field value for field slug
2023-10-13	12:33:13	832	[DEBUG]	Process line 832
2023-10-13	12:33:13	832	[DEBUG]	Load a row
2023-10-13	12:33:13	832	[DEBUG]	Processing item: 4524667524199
2023-10-13	12:33:13	832	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:13	832	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:13	832	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7236_4'
2023-10-13	12:33:13	832	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:13	832	[DEBUG]	Processing product tax
2023-10-13	12:33:13	832	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:13	832	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:13	832	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:13	832	[DEBUG]	Query for Product
2023-10-13	12:33:13	832	[DEBUG]	Executed store
2023-10-13	12:33:13	832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860323','4524667524199','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:13	832	[DEBUG]	No parent found
2023-10-13	12:33:13	832	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860323 AND customfield_value = 'stockable'
2023-10-13	12:33:13	832	[DEBUG]	Check product language entry
2023-10-13	12:33:13	832	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860324
2023-10-13	12:33:13	832	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:13	832	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667524199' AND `virtuemart_product_id` != 1860324
2023-10-13	12:33:13	832	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:13	832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860324, '4524667524199')
2023-10-13	12:33:13	832	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:13	832	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-xt-cs-m8000-11-vitesses-11-46-dents-box-acier-all' AND `virtuemart_product_id` != 1860324
2023-10-13	12:33:13	832	[DEBUG]	Query for ProductLang
2023-10-13	12:33:13	832	[DEBUG]	Executed store
2023-10-13	12:33:13	832	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette XT CS-M8000 11-vitesses 11-46 dents  box / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-xt-cs-m8000-11-vitesses-11-46-dents-box-acier-all' WHERE `virtuemart_product_id` = '1860324'
2023-10-13	12:33:13	832	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34418_cassette_xt_cs-m8000_11-vitesses_11-46_dents__box.jpg
2023-10-13	12:33:13	832	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:13	832	[DEBUG]	Process image file
2023-10-13	12:33:13	832	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:13	832	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:13	832	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34418_cassette_xt_cs-m8000_11-vitesses_11-46_dents__box.jpg
2023-10-13	12:33:13	832	[DEBUG]	Full name target: bcprisme/34418_cassette_xt_cs-m8000_11-vitesses_11-46_dents__box.jpg
2023-10-13	12:33:14	832	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:14	832	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34418_cassette_xt_cs-m8000_11-vitesses_11-46_dents__box.jpg'
2023-10-13	12:33:14	832	[DEBUG]	Query for Media
2023-10-13	12:33:14	832	[DEBUG]	Executed store
2023-10-13	12:33:14	832	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34418_cassette_xt_cs-m8000_11-vitesses_11-46_dents__box.jpg',`file_url_thumb`='bcprisme/34418_cassette_xt_cs-m8000_11-vitesses_11-46_dents__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '157461'
2023-10-13	12:33:14	832	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:14	832	[DEBUG]	Executed store
2023-10-13	12:33:14	832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860324','157461','1')
2023-10-13	12:33:14	832	[DEBUG]	Store product image relation
2023-10-13	12:33:14	832	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:14	832	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860324 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:14	832	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:14	832	[DEBUG]	Executed store
2023-10-13	12:33:14	832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860324','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:14	832	[DEBUG]	Checking manufacturer
2023-10-13	12:33:14	832	[DEBUG]	Load a row
2023-10-13	12:33:14	832	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:14	832	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:14	832	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:14	832	[DEBUG]	Executed store
2023-10-13	12:33:14	832	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:14	832	[DEBUG]	Manufacturer exists
2023-10-13	12:33:14	832	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:33:14	832	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:14	832	[DEBUG]	Executed store
2023-10-13	12:33:14	832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860324','123')
2023-10-13	12:33:14	832	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:14	832	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:14	832	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860324 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:14	832	[DEBUG]	Store custom available field
2023-10-13	12:33:14	832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860324,3,'',1)
2023-10-13	12:33:14	832	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:14	832	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:33:14	832	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860324 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:14	832	[DEBUG]	Store custom available field
2023-10-13	12:33:14	832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860324,6,'All',3)
2023-10-13	12:33:14	832	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:14	832	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:14	832	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860323
2023-10-13	12:33:14	832	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:14	832	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860323\":[1860323,8,1,\"choisir la taille\"],\"1860324\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860323
2023-10-13	12:33:14	832	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:14	832	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860324
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:14	833	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field taille
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:14	833	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:14	833	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:14	833	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:14	833	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:14	833	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:14	833	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field published
2023-10-13	12:33:14	833	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:14	833	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field override
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:14	833	[DEBUG]	Use field value for field slug
2023-10-13	12:33:14	833	[DEBUG]	Process line 833
2023-10-13	12:33:14	833	[DEBUG]	Load a row
2023-10-13	12:33:14	833	[DEBUG]	Processing item: A_7364_8
2023-10-13	12:33:14	833	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:14	833	[DEBUG]	Processing product tax
2023-10-13	12:33:14	833	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:14	833	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:14	833	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:14	833	[DEBUG]	Query for Product
2023-10-13	12:33:14	833	[DEBUG]	Executed store
2023-10-13	12:33:14	833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7364_8','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:14	833	[DEBUG]	Check product language entry
2023-10-13	12:33:14	833	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860325
2023-10-13	12:33:14	833	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:14	833	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7364_8' AND `virtuemart_product_id` != 1860325
2023-10-13	12:33:14	833	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:14	833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860325, 'A_7364_8')
2023-10-13	12:33:14	833	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:14	833	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-sram-pg-1030-11-36-chrome' AND `virtuemart_product_id` != 1860325
2023-10-13	12:33:14	833	[DEBUG]	Query for ProductLang
2023-10-13	12:33:14	833	[DEBUG]	Executed store
2023-10-13	12:33:14	833	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7355Y',`product_name`='SRAM Cassette SRAM  PG-1030, 11-36 / chromé',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-sram-pg-1030-11-36-chrome' WHERE `virtuemart_product_id` = '1860325'
2023-10-13	12:33:14	833	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34604_cassette_sram__pg-1030,_11-36.jpg
2023-10-13	12:33:14	833	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:14	833	[DEBUG]	Process image file
2023-10-13	12:33:14	833	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:14	833	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:14	833	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34604_cassette_sram__pg-1030,_11-36.jpg
2023-10-13	12:33:14	833	[DEBUG]	Full name target: bcprisme/34604_cassette_sram__pg-1030,_11-36.jpg
2023-10-13	12:33:15	833	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:15	833	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34604_cassette_sram__pg-1030,_11-36.jpg'
2023-10-13	12:33:15	833	[DEBUG]	Query for Media
2023-10-13	12:33:15	833	[DEBUG]	Executed store
2023-10-13	12:33:15	833	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34604_cassette_sram__pg-1030,_11-36.jpg',`file_url_thumb`='bcprisme/34604_cassette_sram__pg-1030,_11-36.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '169671'
2023-10-13	12:33:15	833	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:15	833	[DEBUG]	Executed store
2023-10-13	12:33:15	833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860325','169671','1')
2023-10-13	12:33:15	833	[DEBUG]	Store product image relation
2023-10-13	12:33:15	833	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:15	833	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860325 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:15	833	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:15	833	[DEBUG]	Executed store
2023-10-13	12:33:15	833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860325','0','63.0454967502321','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:15	833	[DEBUG]	Checking manufacturer
2023-10-13	12:33:15	833	[DEBUG]	Load a row
2023-10-13	12:33:15	833	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:15	833	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:15	833	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:15	833	[DEBUG]	Executed store
2023-10-13	12:33:15	833	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:15	833	[DEBUG]	Manufacturer exists
2023-10-13	12:33:15	833	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:15	833	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:15	833	[DEBUG]	Executed store
2023-10-13	12:33:15	833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860325','35')
2023-10-13	12:33:15	833	[DEBUG]	Find the custom field ID
2023-10-13	12:33:15	833	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:15	833	[DEBUG]	No custom field ID found
2023-10-13	12:33:15	833	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:15	833	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:15	833	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860325 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:15	833	[DEBUG]	Store custom available field
2023-10-13	12:33:15	833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860325,3,'0',1)
2023-10-13	12:33:15	833	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:15	833	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:15	833	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860325 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:15	833	[DEBUG]	Store custom available field
2023-10-13	12:33:15	833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860325,6,'choisir la taille',3)
2023-10-13	12:33:15	833	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:15	833	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:15	833	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:15	833	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:15	833	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860325 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:15	833	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:15	833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860325,8,1)
2023-10-13	12:33:15	833	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:15	833	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860325\":[1860325,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860325
2023-10-13	12:33:15	833	[DEBUG]	Checking category
2023-10-13	12:33:15	833	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:15	833	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860325
2023-10-13	12:33:15	833	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:15	833	[DEBUG]	Executed store
2023-10-13	12:33:15	833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860325','7283')
2023-10-13	12:33:15	833	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:15	833	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860325 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:15	833	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:15	833	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860325
2023-10-13	12:33:15	834	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:15	834	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:15	834	[DEBUG]	Use field value for field taille
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:15	834	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:15	834	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:15	834	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:15	834	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:15	834	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:15	834	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:15	834	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:15	834	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:15	834	[DEBUG]	Use field value for field published
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:15	834	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field override
2023-10-13	12:33:15	834	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:15	834	[DEBUG]	Use field value for field slug
2023-10-13	12:33:15	834	[DEBUG]	Process line 834
2023-10-13	12:33:15	834	[DEBUG]	Load a row
2023-10-13	12:33:15	834	[DEBUG]	Processing item: 710845709432
2023-10-13	12:33:15	834	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:15	834	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:15	834	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7364_8'
2023-10-13	12:33:15	834	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:15	834	[DEBUG]	Processing product tax
2023-10-13	12:33:15	834	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:15	834	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:15	834	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:15	834	[DEBUG]	Query for Product
2023-10-13	12:33:15	834	[DEBUG]	Executed store
2023-10-13	12:33:15	834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860325','710845709432','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:15	834	[DEBUG]	No parent found
2023-10-13	12:33:15	834	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860325 AND customfield_value = 'stockable'
2023-10-13	12:33:15	834	[DEBUG]	Check product language entry
2023-10-13	12:33:15	834	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860326
2023-10-13	12:33:15	834	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:15	834	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845709432' AND `virtuemart_product_id` != 1860326
2023-10-13	12:33:15	834	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:15	834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860326, '710845709432')
2023-10-13	12:33:15	834	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:15	834	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-sram-pg-1030-11-36-chrome-unitaire' AND `virtuemart_product_id` != 1860326
2023-10-13	12:33:15	834	[DEBUG]	Query for ProductLang
2023-10-13	12:33:15	834	[DEBUG]	Executed store
2023-10-13	12:33:15	834	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette SRAM  PG-1030, 11-36 / chromé (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-sram-pg-1030-11-36-chrome-unitaire' WHERE `virtuemart_product_id` = '1860326'
2023-10-13	12:33:15	834	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34604_cassette_sram__pg-1030,_11-36.jpg
2023-10-13	12:33:15	834	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:15	834	[DEBUG]	Process image file
2023-10-13	12:33:15	834	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:15	834	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:15	834	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34604_cassette_sram__pg-1030,_11-36.jpg
2023-10-13	12:33:15	834	[DEBUG]	Full name target: bcprisme/34604_cassette_sram__pg-1030,_11-36.jpg
2023-10-13	12:33:16	834	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:16	834	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34604_cassette_sram__pg-1030,_11-36.jpg'
2023-10-13	12:33:16	834	[DEBUG]	Query for Media
2023-10-13	12:33:16	834	[DEBUG]	Executed store
2023-10-13	12:33:16	834	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34604_cassette_sram__pg-1030,_11-36.jpg',`file_url_thumb`='bcprisme/34604_cassette_sram__pg-1030,_11-36.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '169671'
2023-10-13	12:33:16	834	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:16	834	[DEBUG]	Executed store
2023-10-13	12:33:16	834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860326','169671','1')
2023-10-13	12:33:16	834	[DEBUG]	Store product image relation
2023-10-13	12:33:16	834	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:16	834	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860326 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:16	834	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:16	834	[DEBUG]	Executed store
2023-10-13	12:33:16	834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860326','0','63.0454967502321','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:16	834	[DEBUG]	Checking manufacturer
2023-10-13	12:33:16	834	[DEBUG]	Load a row
2023-10-13	12:33:16	834	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:16	834	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:16	834	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:16	834	[DEBUG]	Executed store
2023-10-13	12:33:16	834	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:16	834	[DEBUG]	Manufacturer exists
2023-10-13	12:33:16	834	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:16	834	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:16	834	[DEBUG]	Executed store
2023-10-13	12:33:16	834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860326','35')
2023-10-13	12:33:16	834	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:16	834	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:16	834	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860326 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:16	834	[DEBUG]	Store custom available field
2023-10-13	12:33:16	834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860326,3,'',1)
2023-10-13	12:33:16	834	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:16	834	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:16	834	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860326 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:16	834	[DEBUG]	Store custom available field
2023-10-13	12:33:16	834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860326,6,'Unitaire',3)
2023-10-13	12:33:16	834	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:16	834	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:16	834	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860325
2023-10-13	12:33:16	834	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:16	834	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860325\":[1860325,8,1,\"choisir la taille\"],\"1860326\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860325
2023-10-13	12:33:16	834	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:16	834	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860326
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:16	835	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field taille
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:16	835	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:16	835	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:16	835	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:16	835	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:16	835	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:16	835	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field published
2023-10-13	12:33:16	835	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:16	835	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field override
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:16	835	[DEBUG]	Use field value for field slug
2023-10-13	12:33:16	835	[DEBUG]	Process line 835
2023-10-13	12:33:16	835	[DEBUG]	Load a row
2023-10-13	12:33:16	835	[DEBUG]	Processing item: A_7365_353
2023-10-13	12:33:16	835	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:16	835	[DEBUG]	Processing product tax
2023-10-13	12:33:16	835	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:16	835	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:16	835	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:16	835	[DEBUG]	Query for Product
2023-10-13	12:33:16	835	[DEBUG]	Executed store
2023-10-13	12:33:16	835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7365_353','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:16	835	[DEBUG]	Check product language entry
2023-10-13	12:33:16	835	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860327
2023-10-13	12:33:16	835	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:16	835	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7365_353' AND `virtuemart_product_id` != 1860327
2023-10-13	12:33:16	835	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:16	835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860327, 'A_7365_353')
2023-10-13	12:33:16	835	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:16	835	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1299-eagle-10-52-12-speed-rainbow-rainbow-black' AND `virtuemart_product_id` != 1860327
2023-10-13	12:33:16	835	[DEBUG]	Query for ProductLang
2023-10-13	12:33:16	835	[DEBUG]	Executed store
2023-10-13	12:33:16	835	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7559H',`product_name`='SRAM Cassette XG-1299 EAGLE 10-52 12 SPEED RAINBOW / Rainbow Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1299-eagle-10-52-12-speed-rainbow-rainbow-black' WHERE `virtuemart_product_id` = '1860327'
2023-10-13	12:33:16	835	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34605_cassette_xg-1299_eagle_10-52_12_speed_rainbow.jpg
2023-10-13	12:33:16	835	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:16	835	[DEBUG]	Process image file
2023-10-13	12:33:16	835	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:16	835	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:16	835	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34605_cassette_xg-1299_eagle_10-52_12_speed_rainbow.jpg
2023-10-13	12:33:16	835	[DEBUG]	Full name target: bcprisme/34605_cassette_xg-1299_eagle_10-52_12_speed_rainbow.jpg
2023-10-13	12:33:17	835	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:17	835	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34605_cassette_xg-1299_eagle_10-52_12_speed_rainbow.jpg'
2023-10-13	12:33:17	835	[DEBUG]	Query for Media
2023-10-13	12:33:17	835	[DEBUG]	Executed store
2023-10-13	12:33:17	835	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34605_cassette_xg-1299_eagle_10-52_12_speed_rainbow.jpg',`file_url_thumb`='bcprisme/34605_cassette_xg-1299_eagle_10-52_12_speed_rainbow.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '175765'
2023-10-13	12:33:17	835	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:17	835	[DEBUG]	Executed store
2023-10-13	12:33:17	835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860327','175765','1')
2023-10-13	12:33:17	835	[DEBUG]	Store product image relation
2023-10-13	12:33:17	835	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:17	835	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860327 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:17	835	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:17	835	[DEBUG]	Executed store
2023-10-13	12:33:17	835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860327','0','463.324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:17	835	[DEBUG]	Checking manufacturer
2023-10-13	12:33:17	835	[DEBUG]	Load a row
2023-10-13	12:33:17	835	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:17	835	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:17	835	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:17	835	[DEBUG]	Executed store
2023-10-13	12:33:17	835	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:17	835	[DEBUG]	Manufacturer exists
2023-10-13	12:33:17	835	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:17	835	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:17	835	[DEBUG]	Executed store
2023-10-13	12:33:17	835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860327','35')
2023-10-13	12:33:17	835	[DEBUG]	Find the custom field ID
2023-10-13	12:33:17	835	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:17	835	[DEBUG]	No custom field ID found
2023-10-13	12:33:17	835	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:17	835	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:17	835	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860327 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:17	835	[DEBUG]	Store custom available field
2023-10-13	12:33:17	835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860327,3,'0',1)
2023-10-13	12:33:17	835	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:17	835	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:17	835	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860327 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:17	835	[DEBUG]	Store custom available field
2023-10-13	12:33:17	835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860327,6,'choisir la taille',3)
2023-10-13	12:33:17	835	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:17	835	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:17	835	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:17	835	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:17	835	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860327 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:17	835	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:17	835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860327,8,1)
2023-10-13	12:33:17	835	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:17	835	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860327\":[1860327,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860327
2023-10-13	12:33:17	835	[DEBUG]	Checking category
2023-10-13	12:33:17	835	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:17	835	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860327
2023-10-13	12:33:17	835	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:17	835	[DEBUG]	Executed store
2023-10-13	12:33:17	835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860327','7283')
2023-10-13	12:33:17	835	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:17	835	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860327 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:17	835	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:17	835	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860327
2023-10-13	12:33:17	836	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:17	836	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:17	836	[DEBUG]	Use field value for field taille
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:17	836	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:17	836	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:17	836	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:17	836	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:17	836	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:17	836	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:17	836	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:17	836	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:17	836	[DEBUG]	Use field value for field published
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:17	836	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field override
2023-10-13	12:33:17	836	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:17	836	[DEBUG]	Use field value for field slug
2023-10-13	12:33:17	836	[DEBUG]	Process line 836
2023-10-13	12:33:17	836	[DEBUG]	Load a row
2023-10-13	12:33:17	836	[DEBUG]	Processing item: 1000000121377
2023-10-13	12:33:17	836	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:17	836	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:17	836	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7365_353'
2023-10-13	12:33:17	836	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:17	836	[DEBUG]	Processing product tax
2023-10-13	12:33:17	836	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:17	836	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:17	836	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:17	836	[DEBUG]	Query for Product
2023-10-13	12:33:17	836	[DEBUG]	Executed store
2023-10-13	12:33:17	836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860327','1000000121377','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:17	836	[DEBUG]	No parent found
2023-10-13	12:33:17	836	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860327 AND customfield_value = 'stockable'
2023-10-13	12:33:17	836	[DEBUG]	Check product language entry
2023-10-13	12:33:17	836	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860328
2023-10-13	12:33:17	836	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:17	836	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000121377' AND `virtuemart_product_id` != 1860328
2023-10-13	12:33:17	836	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:17	836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860328, '1000000121377')
2023-10-13	12:33:17	836	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:17	836	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1299-eagle-10-52-12-speed-rainbow-rainbow-black-unitaire' AND `virtuemart_product_id` != 1860328
2023-10-13	12:33:17	836	[DEBUG]	Query for ProductLang
2023-10-13	12:33:17	836	[DEBUG]	Executed store
2023-10-13	12:33:17	836	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1299 EAGLE 10-52 12 SPEED RAINBOW / Rainbow Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1299-eagle-10-52-12-speed-rainbow-rainbow-black-unitaire' WHERE `virtuemart_product_id` = '1860328'
2023-10-13	12:33:17	836	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34605_cassette_xg-1299_eagle_10-52_12_speed_rainbow.jpg
2023-10-13	12:33:17	836	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:17	836	[DEBUG]	Process image file
2023-10-13	12:33:17	836	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:17	836	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:17	836	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34605_cassette_xg-1299_eagle_10-52_12_speed_rainbow.jpg
2023-10-13	12:33:17	836	[DEBUG]	Full name target: bcprisme/34605_cassette_xg-1299_eagle_10-52_12_speed_rainbow.jpg
2023-10-13	12:33:18	836	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:18	836	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34605_cassette_xg-1299_eagle_10-52_12_speed_rainbow.jpg'
2023-10-13	12:33:18	836	[DEBUG]	Query for Media
2023-10-13	12:33:18	836	[DEBUG]	Executed store
2023-10-13	12:33:18	836	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34605_cassette_xg-1299_eagle_10-52_12_speed_rainbow.jpg',`file_url_thumb`='bcprisme/34605_cassette_xg-1299_eagle_10-52_12_speed_rainbow.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '175765'
2023-10-13	12:33:18	836	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:18	836	[DEBUG]	Executed store
2023-10-13	12:33:18	836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860328','175765','1')
2023-10-13	12:33:18	836	[DEBUG]	Store product image relation
2023-10-13	12:33:18	836	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:18	836	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860328 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:18	836	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:18	836	[DEBUG]	Executed store
2023-10-13	12:33:18	836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860328','0','463.324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:18	836	[DEBUG]	Checking manufacturer
2023-10-13	12:33:18	836	[DEBUG]	Load a row
2023-10-13	12:33:18	836	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:18	836	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:18	836	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:18	836	[DEBUG]	Executed store
2023-10-13	12:33:18	836	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:18	836	[DEBUG]	Manufacturer exists
2023-10-13	12:33:18	836	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:18	836	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:18	836	[DEBUG]	Executed store
2023-10-13	12:33:18	836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860328','35')
2023-10-13	12:33:18	836	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:18	836	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:18	836	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860328 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:18	836	[DEBUG]	Store custom available field
2023-10-13	12:33:18	836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860328,3,'',1)
2023-10-13	12:33:18	836	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:18	836	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:18	836	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860328 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:18	836	[DEBUG]	Store custom available field
2023-10-13	12:33:18	836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860328,6,'Unitaire',3)
2023-10-13	12:33:18	836	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:18	836	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:18	836	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860327
2023-10-13	12:33:18	836	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:18	836	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860327\":[1860327,8,1,\"choisir la taille\"],\"1860328\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860327
2023-10-13	12:33:18	836	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:18	836	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860328
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:18	837	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field taille
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:18	837	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:18	837	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:18	837	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:18	837	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:18	837	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:18	837	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field published
2023-10-13	12:33:18	837	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:18	837	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field override
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:18	837	[DEBUG]	Use field value for field slug
2023-10-13	12:33:18	837	[DEBUG]	Process line 837
2023-10-13	12:33:18	837	[DEBUG]	Load a row
2023-10-13	12:33:18	837	[DEBUG]	Processing item: A_7366_442
2023-10-13	12:33:18	837	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:18	837	[DEBUG]	Processing product tax
2023-10-13	12:33:18	837	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:18	837	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:18	837	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:18	837	[DEBUG]	Query for Product
2023-10-13	12:33:18	837	[DEBUG]	Executed store
2023-10-13	12:33:18	837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7366_442','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:18	837	[DEBUG]	Check product language entry
2023-10-13	12:33:18	837	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860329
2023-10-13	12:33:18	837	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:18	837	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7366_442' AND `virtuemart_product_id` != 1860329
2023-10-13	12:33:18	837	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:18	837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860329, 'A_7366_442')
2023-10-13	12:33:18	837	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:18	837	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1299-eagle-10-52-12-speed-copper-copper' AND `virtuemart_product_id` != 1860329
2023-10-13	12:33:18	837	[DEBUG]	Query for ProductLang
2023-10-13	12:33:18	837	[DEBUG]	Executed store
2023-10-13	12:33:18	837	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7559F',`product_name`='SRAM Cassette XG-1299 EAGLE 10-52 12 SPEED COPPER / COPPER',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1299-eagle-10-52-12-speed-copper-copper' WHERE `virtuemart_product_id` = '1860329'
2023-10-13	12:33:18	837	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34606_cassette_xg-1299_eagle_10-52_12_speed_copper.jpg
2023-10-13	12:33:18	837	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:18	837	[DEBUG]	Process image file
2023-10-13	12:33:18	837	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:18	837	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:18	837	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34606_cassette_xg-1299_eagle_10-52_12_speed_copper.jpg
2023-10-13	12:33:18	837	[DEBUG]	Full name target: bcprisme/34606_cassette_xg-1299_eagle_10-52_12_speed_copper.jpg
2023-10-13	12:33:19	837	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:19	837	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34606_cassette_xg-1299_eagle_10-52_12_speed_copper.jpg'
2023-10-13	12:33:19	837	[DEBUG]	Query for Media
2023-10-13	12:33:19	837	[DEBUG]	Executed store
2023-10-13	12:33:19	837	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34606_cassette_xg-1299_eagle_10-52_12_speed_copper.jpg',`file_url_thumb`='bcprisme/34606_cassette_xg-1299_eagle_10-52_12_speed_copper.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '175767'
2023-10-13	12:33:19	837	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:19	837	[DEBUG]	Executed store
2023-10-13	12:33:19	837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860329','175767','1')
2023-10-13	12:33:19	837	[DEBUG]	Store product image relation
2023-10-13	12:33:19	837	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:19	837	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860329 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:19	837	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:19	837	[DEBUG]	Executed store
2023-10-13	12:33:19	837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860329','0','463.324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:19	837	[DEBUG]	Checking manufacturer
2023-10-13	12:33:19	837	[DEBUG]	Load a row
2023-10-13	12:33:19	837	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:19	837	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:19	837	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:19	837	[DEBUG]	Executed store
2023-10-13	12:33:19	837	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:19	837	[DEBUG]	Manufacturer exists
2023-10-13	12:33:19	837	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:19	837	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:19	837	[DEBUG]	Executed store
2023-10-13	12:33:19	837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860329','35')
2023-10-13	12:33:19	837	[DEBUG]	Find the custom field ID
2023-10-13	12:33:19	837	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:19	837	[DEBUG]	No custom field ID found
2023-10-13	12:33:19	837	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:19	837	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:19	837	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860329 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:19	837	[DEBUG]	Store custom available field
2023-10-13	12:33:19	837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860329,3,'0',1)
2023-10-13	12:33:19	837	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:19	837	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:19	837	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860329 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:19	837	[DEBUG]	Store custom available field
2023-10-13	12:33:19	837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860329,6,'choisir la taille',3)
2023-10-13	12:33:19	837	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:19	837	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:19	837	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:19	837	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:19	837	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860329 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:19	837	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:19	837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860329,8,1)
2023-10-13	12:33:19	837	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:19	837	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860329\":[1860329,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860329
2023-10-13	12:33:19	837	[DEBUG]	Checking category
2023-10-13	12:33:19	837	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:19	837	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860329
2023-10-13	12:33:19	837	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:19	837	[DEBUG]	Executed store
2023-10-13	12:33:19	837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860329','7283')
2023-10-13	12:33:19	837	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:19	837	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860329 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:19	837	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:19	837	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860329
2023-10-13	12:33:19	838	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:19	838	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:19	838	[DEBUG]	Use field value for field taille
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:19	838	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:19	838	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:19	838	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:19	838	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:19	838	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:19	838	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:19	838	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:19	838	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:19	838	[DEBUG]	Use field value for field published
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:19	838	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field override
2023-10-13	12:33:19	838	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:19	838	[DEBUG]	Use field value for field slug
2023-10-13	12:33:19	838	[DEBUG]	Process line 838
2023-10-13	12:33:19	838	[DEBUG]	Load a row
2023-10-13	12:33:19	838	[DEBUG]	Processing item: 1000000121384
2023-10-13	12:33:19	838	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:19	838	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:19	838	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7366_442'
2023-10-13	12:33:19	838	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:19	838	[DEBUG]	Processing product tax
2023-10-13	12:33:19	838	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:19	838	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:19	838	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:19	838	[DEBUG]	Query for Product
2023-10-13	12:33:19	838	[DEBUG]	Executed store
2023-10-13	12:33:19	838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860329','1000000121384','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:19	838	[DEBUG]	No parent found
2023-10-13	12:33:19	838	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860329 AND customfield_value = 'stockable'
2023-10-13	12:33:19	838	[DEBUG]	Check product language entry
2023-10-13	12:33:19	838	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860330
2023-10-13	12:33:19	838	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:19	838	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000121384' AND `virtuemart_product_id` != 1860330
2023-10-13	12:33:19	838	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:19	838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860330, '1000000121384')
2023-10-13	12:33:19	838	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:19	838	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1299-eagle-10-52-12-speed-copper-copper-unitaire' AND `virtuemart_product_id` != 1860330
2023-10-13	12:33:19	838	[DEBUG]	Query for ProductLang
2023-10-13	12:33:19	838	[DEBUG]	Executed store
2023-10-13	12:33:19	838	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1299 EAGLE 10-52 12 SPEED COPPER / COPPER (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1299-eagle-10-52-12-speed-copper-copper-unitaire' WHERE `virtuemart_product_id` = '1860330'
2023-10-13	12:33:19	838	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34606_cassette_xg-1299_eagle_10-52_12_speed_copper.jpg
2023-10-13	12:33:19	838	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:19	838	[DEBUG]	Process image file
2023-10-13	12:33:19	838	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:19	838	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:19	838	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34606_cassette_xg-1299_eagle_10-52_12_speed_copper.jpg
2023-10-13	12:33:19	838	[DEBUG]	Full name target: bcprisme/34606_cassette_xg-1299_eagle_10-52_12_speed_copper.jpg
2023-10-13	12:33:20	838	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:20	838	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34606_cassette_xg-1299_eagle_10-52_12_speed_copper.jpg'
2023-10-13	12:33:20	838	[DEBUG]	Query for Media
2023-10-13	12:33:20	838	[DEBUG]	Executed store
2023-10-13	12:33:20	838	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34606_cassette_xg-1299_eagle_10-52_12_speed_copper.jpg',`file_url_thumb`='bcprisme/34606_cassette_xg-1299_eagle_10-52_12_speed_copper.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '175767'
2023-10-13	12:33:20	838	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:20	838	[DEBUG]	Executed store
2023-10-13	12:33:20	838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860330','175767','1')
2023-10-13	12:33:20	838	[DEBUG]	Store product image relation
2023-10-13	12:33:20	838	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:20	838	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860330 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:20	838	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:20	838	[DEBUG]	Executed store
2023-10-13	12:33:20	838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860330','0','463.324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:20	838	[DEBUG]	Checking manufacturer
2023-10-13	12:33:20	838	[DEBUG]	Load a row
2023-10-13	12:33:20	838	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:20	838	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:20	838	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:20	838	[DEBUG]	Executed store
2023-10-13	12:33:20	838	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:20	838	[DEBUG]	Manufacturer exists
2023-10-13	12:33:20	838	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:20	838	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:20	838	[DEBUG]	Executed store
2023-10-13	12:33:20	838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860330','35')
2023-10-13	12:33:20	838	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:20	838	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:20	838	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860330 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:20	838	[DEBUG]	Store custom available field
2023-10-13	12:33:20	838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860330,3,'',1)
2023-10-13	12:33:20	838	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:20	838	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:20	838	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860330 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:20	838	[DEBUG]	Store custom available field
2023-10-13	12:33:20	838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860330,6,'Unitaire',3)
2023-10-13	12:33:20	838	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:20	838	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:20	838	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860329
2023-10-13	12:33:20	838	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:20	838	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860329\":[1860329,8,1,\"choisir la taille\"],\"1860330\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860329
2023-10-13	12:33:20	838	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:20	838	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860330
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:20	839	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field taille
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:20	839	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:20	839	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:20	839	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:20	839	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:20	839	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:20	839	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field published
2023-10-13	12:33:20	839	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:20	839	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field override
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:20	839	[DEBUG]	Use field value for field slug
2023-10-13	12:33:20	839	[DEBUG]	Process line 839
2023-10-13	12:33:20	839	[DEBUG]	Load a row
2023-10-13	12:33:20	839	[DEBUG]	Processing item: A_7367_1
2023-10-13	12:33:20	839	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:20	839	[DEBUG]	Processing product tax
2023-10-13	12:33:20	839	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:20	839	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:20	839	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:20	839	[DEBUG]	Query for Product
2023-10-13	12:33:20	839	[DEBUG]	Executed store
2023-10-13	12:33:20	839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7367_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:20	839	[DEBUG]	Check product language entry
2023-10-13	12:33:20	839	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860331
2023-10-13	12:33:20	839	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:20	839	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7367_1' AND `virtuemart_product_id` != 1860331
2023-10-13	12:33:20	839	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:20	839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860331, 'A_7367_1')
2023-10-13	12:33:20	839	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:20	839	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-820-8sp-11-32-sram-noir' AND `virtuemart_product_id` != 1860331
2023-10-13	12:33:20	839	[DEBUG]	Query for ProductLang
2023-10-13	12:33:20	839	[DEBUG]	Executed store
2023-10-13	12:33:20	839	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.52671',`product_name`='SRAM Cassette PG-820 8SP. 11-32 SRAM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-820-8sp-11-32-sram-noir' WHERE `virtuemart_product_id` = '1860331'
2023-10-13	12:33:20	839	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34607_cassette_pg-820_8sp__11-32_sram.jpg
2023-10-13	12:33:20	839	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:20	839	[DEBUG]	Process image file
2023-10-13	12:33:20	839	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:20	839	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:20	839	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34607_cassette_pg-820_8sp__11-32_sram.jpg
2023-10-13	12:33:20	839	[DEBUG]	Full name target: bcprisme/34607_cassette_pg-820_8sp__11-32_sram.jpg
2023-10-13	12:33:21	839	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:21	839	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34607_cassette_pg-820_8sp__11-32_sram.jpg'
2023-10-13	12:33:21	839	[DEBUG]	Query for Media
2023-10-13	12:33:21	839	[DEBUG]	Executed store
2023-10-13	12:33:21	839	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34607_cassette_pg-820_8sp__11-32_sram.jpg',`file_url_thumb`='bcprisme/34607_cassette_pg-820_8sp__11-32_sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '175769'
2023-10-13	12:33:21	839	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:21	839	[DEBUG]	Executed store
2023-10-13	12:33:21	839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860331','175769','1')
2023-10-13	12:33:21	839	[DEBUG]	Store product image relation
2023-10-13	12:33:21	839	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:21	839	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860331 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:21	839	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:21	839	[DEBUG]	Executed store
2023-10-13	12:33:21	839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860331','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:21	839	[DEBUG]	Checking manufacturer
2023-10-13	12:33:21	839	[DEBUG]	Load a row
2023-10-13	12:33:21	839	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:21	839	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:21	839	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:22	839	[DEBUG]	Executed store
2023-10-13	12:33:22	839	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:22	839	[DEBUG]	Manufacturer exists
2023-10-13	12:33:22	839	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:22	839	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:22	839	[DEBUG]	Executed store
2023-10-13	12:33:22	839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860331','35')
2023-10-13	12:33:22	839	[DEBUG]	Find the custom field ID
2023-10-13	12:33:22	839	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:22	839	[DEBUG]	No custom field ID found
2023-10-13	12:33:22	839	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:22	839	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:22	839	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860331 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:22	839	[DEBUG]	Store custom available field
2023-10-13	12:33:22	839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860331,3,'0',1)
2023-10-13	12:33:22	839	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:22	839	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:22	839	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860331 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:22	839	[DEBUG]	Store custom available field
2023-10-13	12:33:22	839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860331,6,'choisir la taille',3)
2023-10-13	12:33:22	839	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:22	839	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:22	839	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:22	839	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:22	839	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860331 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:22	839	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:22	839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860331,8,1)
2023-10-13	12:33:22	839	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:22	839	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860331\":[1860331,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860331
2023-10-13	12:33:22	839	[DEBUG]	Checking category
2023-10-13	12:33:22	839	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:22	839	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860331
2023-10-13	12:33:22	839	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:22	839	[DEBUG]	Executed store
2023-10-13	12:33:22	839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860331','7283')
2023-10-13	12:33:22	839	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:22	839	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860331 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:22	839	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:22	839	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860331
2023-10-13	12:33:22	840	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:22	840	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:22	840	[DEBUG]	Use field value for field taille
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:22	840	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:22	840	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:22	840	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:22	840	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:22	840	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:22	840	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:22	840	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:22	840	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:22	840	[DEBUG]	Use field value for field published
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:22	840	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field override
2023-10-13	12:33:22	840	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:22	840	[DEBUG]	Use field value for field slug
2023-10-13	12:33:22	840	[DEBUG]	Process line 840
2023-10-13	12:33:22	840	[DEBUG]	Load a row
2023-10-13	12:33:22	840	[DEBUG]	Processing item: 1000000121391
2023-10-13	12:33:22	840	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:22	840	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:22	840	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7367_1'
2023-10-13	12:33:22	840	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:22	840	[DEBUG]	Processing product tax
2023-10-13	12:33:22	840	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:22	840	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:22	840	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:22	840	[DEBUG]	Query for Product
2023-10-13	12:33:22	840	[DEBUG]	Executed store
2023-10-13	12:33:22	840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860331','1000000121391','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:22	840	[DEBUG]	No parent found
2023-10-13	12:33:22	840	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860331 AND customfield_value = 'stockable'
2023-10-13	12:33:22	840	[DEBUG]	Check product language entry
2023-10-13	12:33:22	840	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860332
2023-10-13	12:33:22	840	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:22	840	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000121391' AND `virtuemart_product_id` != 1860332
2023-10-13	12:33:22	840	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:22	840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860332, '1000000121391')
2023-10-13	12:33:22	840	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:22	840	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-820-8sp-11-32-sram-noir-all' AND `virtuemart_product_id` != 1860332
2023-10-13	12:33:22	840	[DEBUG]	Query for ProductLang
2023-10-13	12:33:22	840	[DEBUG]	Executed store
2023-10-13	12:33:22	840	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette PG-820 8SP. 11-32 SRAM / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-820-8sp-11-32-sram-noir-all' WHERE `virtuemart_product_id` = '1860332'
2023-10-13	12:33:22	840	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34607_cassette_pg-820_8sp__11-32_sram.jpg
2023-10-13	12:33:22	840	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:22	840	[DEBUG]	Process image file
2023-10-13	12:33:22	840	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:22	840	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:22	840	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34607_cassette_pg-820_8sp__11-32_sram.jpg
2023-10-13	12:33:22	840	[DEBUG]	Full name target: bcprisme/34607_cassette_pg-820_8sp__11-32_sram.jpg
2023-10-13	12:33:23	840	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:23	840	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34607_cassette_pg-820_8sp__11-32_sram.jpg'
2023-10-13	12:33:23	840	[DEBUG]	Query for Media
2023-10-13	12:33:23	840	[DEBUG]	Executed store
2023-10-13	12:33:23	840	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34607_cassette_pg-820_8sp__11-32_sram.jpg',`file_url_thumb`='bcprisme/34607_cassette_pg-820_8sp__11-32_sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '175769'
2023-10-13	12:33:23	840	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:23	840	[DEBUG]	Executed store
2023-10-13	12:33:23	840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860332','175769','1')
2023-10-13	12:33:23	840	[DEBUG]	Store product image relation
2023-10-13	12:33:23	840	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:23	840	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860332 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:23	840	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:23	840	[DEBUG]	Executed store
2023-10-13	12:33:23	840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860332','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:23	840	[DEBUG]	Checking manufacturer
2023-10-13	12:33:23	840	[DEBUG]	Load a row
2023-10-13	12:33:23	840	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:23	840	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:23	840	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:23	840	[DEBUG]	Executed store
2023-10-13	12:33:23	840	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:23	840	[DEBUG]	Manufacturer exists
2023-10-13	12:33:23	840	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:23	840	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:23	840	[DEBUG]	Executed store
2023-10-13	12:33:23	840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860332','35')
2023-10-13	12:33:23	840	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:23	840	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:23	840	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860332 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:23	840	[DEBUG]	Store custom available field
2023-10-13	12:33:23	840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860332,3,'',1)
2023-10-13	12:33:23	840	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:23	840	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:33:23	840	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860332 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:23	840	[DEBUG]	Store custom available field
2023-10-13	12:33:23	840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860332,6,'All',3)
2023-10-13	12:33:23	840	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:23	840	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:23	840	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860331
2023-10-13	12:33:23	840	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:23	840	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860331\":[1860331,8,1,\"choisir la taille\"],\"1860332\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860331
2023-10-13	12:33:23	840	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:23	840	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860332
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:23	841	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field taille
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:23	841	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:23	841	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:23	841	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:23	841	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:23	841	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:23	841	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field published
2023-10-13	12:33:23	841	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:23	841	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field override
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:23	841	[DEBUG]	Use field value for field slug
2023-10-13	12:33:23	841	[DEBUG]	Process line 841
2023-10-13	12:33:23	841	[DEBUG]	Load a row
2023-10-13	12:33:23	841	[DEBUG]	Processing item: A_7429_464
2023-10-13	12:33:23	841	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:23	841	[DEBUG]	Processing product tax
2023-10-13	12:33:23	841	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:23	841	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:23	841	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:23	841	[DEBUG]	Query for Product
2023-10-13	12:33:23	841	[DEBUG]	Executed store
2023-10-13	12:33:23	841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7429_464','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:23	841	[DEBUG]	Check product language entry
2023-10-13	12:33:23	841	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860333
2023-10-13	12:33:23	841	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:23	841	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7429_464' AND `virtuemart_product_id` != 1860333
2023-10-13	12:33:23	841	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:23	841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860333, 'A_7429_464')
2023-10-13	12:33:23	841	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:23	841	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-roue-libre-tourney-mf-tz500-6-6-vit-14-28-dents-box-brun-noir' AND `virtuemart_product_id` != 1860333
2023-10-13	12:33:23	841	[DEBUG]	Query for ProductLang
2023-10-13	12:33:23	841	[DEBUG]	Executed store
2023-10-13	12:33:23	841	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.70876',`product_name`='SHIMANO roue-libre Tourney MF-TZ500-6 6-vit 14-28 dents box / brun noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-roue-libre-tourney-mf-tz500-6-6-vit-14-28-dents-box-brun-noir' WHERE `virtuemart_product_id` = '1860333'
2023-10-13	12:33:23	841	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_70876.jpg
2023-10-13	12:33:23	841	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:23	841	[DEBUG]	Process image file
2023-10-13	12:33:23	841	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:23	841	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:23	841	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_70876.jpg
2023-10-13	12:33:23	841	[DEBUG]	Full name target: bcprisme/67_70876.jpg
2023-10-13	12:33:24	841	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:24	841	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_70876.jpg'
2023-10-13	12:33:24	841	[DEBUG]	Query for Media
2023-10-13	12:33:24	841	[DEBUG]	Executed store
2023-10-13	12:33:24	841	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_70876.jpg',`file_url_thumb`='bcprisme/67_70876.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '195891'
2023-10-13	12:33:24	841	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:24	841	[DEBUG]	Executed store
2023-10-13	12:33:24	841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860333','195891','1')
2023-10-13	12:33:24	841	[DEBUG]	Store product image relation
2023-10-13	12:33:24	841	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:24	841	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860333 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:24	841	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:24	841	[DEBUG]	Executed store
2023-10-13	12:33:24	841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860333','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:24	841	[DEBUG]	Checking manufacturer
2023-10-13	12:33:24	841	[DEBUG]	Load a row
2023-10-13	12:33:24	841	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:24	841	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:24	841	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:24	841	[DEBUG]	Executed store
2023-10-13	12:33:24	841	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:24	841	[DEBUG]	Manufacturer exists
2023-10-13	12:33:24	841	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:24	841	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:24	841	[DEBUG]	Executed store
2023-10-13	12:33:24	841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860333','26')
2023-10-13	12:33:24	841	[DEBUG]	Find the custom field ID
2023-10-13	12:33:24	841	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:24	841	[DEBUG]	No custom field ID found
2023-10-13	12:33:24	841	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:24	841	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:24	841	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860333 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:24	841	[DEBUG]	Store custom available field
2023-10-13	12:33:24	841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860333,3,'0',1)
2023-10-13	12:33:24	841	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:24	841	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:24	841	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860333 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:24	841	[DEBUG]	Store custom available field
2023-10-13	12:33:24	841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860333,6,'choisir la taille',3)
2023-10-13	12:33:24	841	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:24	841	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:24	841	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:24	841	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:24	841	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860333 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:24	841	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:24	841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860333,8,1)
2023-10-13	12:33:24	841	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:24	841	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860333\":[1860333,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860333
2023-10-13	12:33:24	841	[DEBUG]	Checking category
2023-10-13	12:33:24	841	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:24	841	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860333
2023-10-13	12:33:24	841	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:24	841	[DEBUG]	Executed store
2023-10-13	12:33:24	841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860333','7283')
2023-10-13	12:33:24	841	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:24	841	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860333 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:24	841	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:24	841	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860333
2023-10-13	12:33:24	842	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:24	842	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:24	842	[DEBUG]	Use field value for field taille
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:24	842	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:24	842	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:24	842	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:24	842	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:24	842	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:24	842	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:24	842	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:24	842	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:24	842	[DEBUG]	Use field value for field published
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:24	842	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field override
2023-10-13	12:33:24	842	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:24	842	[DEBUG]	Use field value for field slug
2023-10-13	12:33:24	842	[DEBUG]	Process line 842
2023-10-13	12:33:24	842	[DEBUG]	Load a row
2023-10-13	12:33:24	842	[DEBUG]	Processing item: 4524667689355
2023-10-13	12:33:24	842	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:24	842	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:24	842	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7429_464'
2023-10-13	12:33:24	842	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:24	842	[DEBUG]	Processing product tax
2023-10-13	12:33:24	842	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:24	842	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:24	842	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:24	842	[DEBUG]	Query for Product
2023-10-13	12:33:24	842	[DEBUG]	Executed store
2023-10-13	12:33:24	842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860333','4524667689355','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:24	842	[DEBUG]	No parent found
2023-10-13	12:33:24	842	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860333 AND customfield_value = 'stockable'
2023-10-13	12:33:24	842	[DEBUG]	Check product language entry
2023-10-13	12:33:24	842	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860334
2023-10-13	12:33:24	842	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:24	842	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667689355' AND `virtuemart_product_id` != 1860334
2023-10-13	12:33:24	842	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:24	842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860334, '4524667689355')
2023-10-13	12:33:24	842	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:24	842	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-roue-libre-tourney-mf-tz500-6-6-vit-14-28-dents-box-brun-noir-unitaire' AND `virtuemart_product_id` != 1860334
2023-10-13	12:33:24	842	[DEBUG]	Query for ProductLang
2023-10-13	12:33:24	842	[DEBUG]	Executed store
2023-10-13	12:33:24	842	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO roue-libre Tourney MF-TZ500-6 6-vit 14-28 dents box / brun noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-roue-libre-tourney-mf-tz500-6-6-vit-14-28-dents-box-brun-noir-unitaire' WHERE `virtuemart_product_id` = '1860334'
2023-10-13	12:33:24	842	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_70876.jpg
2023-10-13	12:33:24	842	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:24	842	[DEBUG]	Process image file
2023-10-13	12:33:24	842	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:24	842	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:24	842	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_70876.jpg
2023-10-13	12:33:24	842	[DEBUG]	Full name target: bcprisme/67_70876.jpg
2023-10-13	12:33:25	842	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:25	842	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_70876.jpg'
2023-10-13	12:33:25	842	[DEBUG]	Query for Media
2023-10-13	12:33:25	842	[DEBUG]	Executed store
2023-10-13	12:33:25	842	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_70876.jpg',`file_url_thumb`='bcprisme/67_70876.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '195891'
2023-10-13	12:33:25	842	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:25	842	[DEBUG]	Executed store
2023-10-13	12:33:25	842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860334','195891','1')
2023-10-13	12:33:25	842	[DEBUG]	Store product image relation
2023-10-13	12:33:25	842	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:25	842	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860334 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:25	842	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:25	842	[DEBUG]	Executed store
2023-10-13	12:33:25	842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860334','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:25	842	[DEBUG]	Checking manufacturer
2023-10-13	12:33:25	842	[DEBUG]	Load a row
2023-10-13	12:33:25	842	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:25	842	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:25	842	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:25	842	[DEBUG]	Executed store
2023-10-13	12:33:25	842	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:25	842	[DEBUG]	Manufacturer exists
2023-10-13	12:33:25	842	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:25	842	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:25	842	[DEBUG]	Executed store
2023-10-13	12:33:25	842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860334','26')
2023-10-13	12:33:25	842	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:25	842	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:25	842	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860334 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:25	842	[DEBUG]	Store custom available field
2023-10-13	12:33:25	842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860334,3,'',1)
2023-10-13	12:33:25	842	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:25	842	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:25	842	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860334 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:25	842	[DEBUG]	Store custom available field
2023-10-13	12:33:25	842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860334,6,'Unitaire',3)
2023-10-13	12:33:25	842	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:25	842	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:25	842	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860333
2023-10-13	12:33:25	842	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:25	842	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860333\":[1860333,8,1,\"choisir la taille\"],\"1860334\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860333
2023-10-13	12:33:25	842	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:25	842	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860334
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:25	843	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field taille
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:25	843	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:25	843	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:25	843	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:25	843	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:25	843	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:25	843	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field published
2023-10-13	12:33:25	843	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:25	843	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field override
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:25	843	[DEBUG]	Use field value for field slug
2023-10-13	12:33:25	843	[DEBUG]	Process line 843
2023-10-13	12:33:25	843	[DEBUG]	Load a row
2023-10-13	12:33:25	843	[DEBUG]	Processing item: A_7453_208
2023-10-13	12:33:25	843	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:25	843	[DEBUG]	Processing product tax
2023-10-13	12:33:25	843	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:25	843	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:25	843	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:25	843	[DEBUG]	Query for Product
2023-10-13	12:33:25	843	[DEBUG]	Executed store
2023-10-13	12:33:25	843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7453_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:25	843	[DEBUG]	Check product language entry
2023-10-13	12:33:25	843	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860335
2023-10-13	12:33:25	843	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:25	843	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7453_208' AND `virtuemart_product_id` != 1860335
2023-10-13	12:33:25	843	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:25	843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860335, 'A_7453_208')
2023-10-13	12:33:25	843	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:25	843	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-slx-cs-m7100-12--vitesses-10-51-dents-box-aucune' AND `virtuemart_product_id` != 1860335
2023-10-13	12:33:25	843	[DEBUG]	Query for ProductLang
2023-10-13	12:33:25	843	[DEBUG]	Executed store
2023-10-13	12:33:25	843	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.75237',`product_name`='SHIMANO Cassette SLX CS-M7100 12- vitesses 10-51 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-slx-cs-m7100-12--vitesses-10-51-dents-box-aucune' WHERE `virtuemart_product_id` = '1860335'
2023-10-13	12:33:25	843	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_75237.jpg
2023-10-13	12:33:25	843	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:25	843	[DEBUG]	Process image file
2023-10-13	12:33:25	843	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:25	843	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:25	843	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_75237.jpg
2023-10-13	12:33:25	843	[DEBUG]	Full name target: bcprisme/67_75237.jpg
2023-10-13	12:33:26	843	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:26	843	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_75237.jpg'
2023-10-13	12:33:26	843	[DEBUG]	Query for Media
2023-10-13	12:33:26	843	[DEBUG]	Executed store
2023-10-13	12:33:26	843	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_75237.jpg',`file_url_thumb`='bcprisme/67_75237.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435524'
2023-10-13	12:33:26	843	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:26	843	[DEBUG]	Executed store
2023-10-13	12:33:26	843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860335','435524','1')
2023-10-13	12:33:26	843	[DEBUG]	Store product image relation
2023-10-13	12:33:26	843	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:26	843	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860335 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:26	843	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:26	843	[DEBUG]	Executed store
2023-10-13	12:33:26	843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860335','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:26	843	[DEBUG]	Checking manufacturer
2023-10-13	12:33:26	843	[DEBUG]	Load a row
2023-10-13	12:33:26	843	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:26	843	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:26	843	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:26	843	[DEBUG]	Executed store
2023-10-13	12:33:26	843	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:26	843	[DEBUG]	Manufacturer exists
2023-10-13	12:33:26	843	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:26	843	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:26	843	[DEBUG]	Executed store
2023-10-13	12:33:26	843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860335','26')
2023-10-13	12:33:26	843	[DEBUG]	Find the custom field ID
2023-10-13	12:33:26	843	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:26	843	[DEBUG]	No custom field ID found
2023-10-13	12:33:26	843	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:26	843	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:26	843	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860335 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:26	843	[DEBUG]	Store custom available field
2023-10-13	12:33:26	843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860335,3,'0',1)
2023-10-13	12:33:26	843	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:26	843	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:26	843	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860335 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:26	843	[DEBUG]	Store custom available field
2023-10-13	12:33:26	843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860335,6,'choisir la taille',3)
2023-10-13	12:33:26	843	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:26	843	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:26	843	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:26	843	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:26	843	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860335 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:26	843	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:26	843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860335,8,1)
2023-10-13	12:33:26	843	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:26	843	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860335\":[1860335,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860335
2023-10-13	12:33:26	843	[DEBUG]	Checking category
2023-10-13	12:33:26	843	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:26	843	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860335
2023-10-13	12:33:26	843	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:26	843	[DEBUG]	Executed store
2023-10-13	12:33:26	843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860335','7283')
2023-10-13	12:33:26	843	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:26	843	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860335 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:26	843	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:26	843	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860335
2023-10-13	12:33:26	844	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:26	844	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:26	844	[DEBUG]	Use field value for field taille
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:26	844	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:26	844	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:26	844	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:26	844	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:26	844	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:26	844	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:26	844	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:26	844	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:26	844	[DEBUG]	Use field value for field published
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:26	844	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field override
2023-10-13	12:33:26	844	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:26	844	[DEBUG]	Use field value for field slug
2023-10-13	12:33:26	844	[DEBUG]	Process line 844
2023-10-13	12:33:26	844	[DEBUG]	Load a row
2023-10-13	12:33:26	844	[DEBUG]	Processing item: 4550170444303
2023-10-13	12:33:26	844	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:26	844	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:26	844	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7453_208'
2023-10-13	12:33:26	844	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:26	844	[DEBUG]	Processing product tax
2023-10-13	12:33:26	844	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:26	844	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:26	844	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:26	844	[DEBUG]	Query for Product
2023-10-13	12:33:26	844	[DEBUG]	Executed store
2023-10-13	12:33:26	844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860335','4550170444303','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:26	844	[DEBUG]	No parent found
2023-10-13	12:33:26	844	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860335 AND customfield_value = 'stockable'
2023-10-13	12:33:26	844	[DEBUG]	Check product language entry
2023-10-13	12:33:26	844	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860336
2023-10-13	12:33:26	844	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:26	844	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170444303' AND `virtuemart_product_id` != 1860336
2023-10-13	12:33:26	844	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:26	844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860336, '4550170444303')
2023-10-13	12:33:26	844	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:26	844	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-slx-cs-m7100-12--vitesses-10-51-dents-box-aucune-unitaire' AND `virtuemart_product_id` != 1860336
2023-10-13	12:33:26	844	[DEBUG]	Query for ProductLang
2023-10-13	12:33:26	844	[DEBUG]	Executed store
2023-10-13	12:33:26	844	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette SLX CS-M7100 12- vitesses 10-51 dents box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-slx-cs-m7100-12--vitesses-10-51-dents-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860336'
2023-10-13	12:33:26	844	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_75237.jpg
2023-10-13	12:33:26	844	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:26	844	[DEBUG]	Process image file
2023-10-13	12:33:26	844	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:26	844	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:26	844	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_75237.jpg
2023-10-13	12:33:26	844	[DEBUG]	Full name target: bcprisme/67_75237.jpg
2023-10-13	12:33:27	844	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:27	844	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_75237.jpg'
2023-10-13	12:33:27	844	[DEBUG]	Query for Media
2023-10-13	12:33:27	844	[DEBUG]	Executed store
2023-10-13	12:33:27	844	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_75237.jpg',`file_url_thumb`='bcprisme/67_75237.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435524'
2023-10-13	12:33:27	844	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:27	844	[DEBUG]	Executed store
2023-10-13	12:33:27	844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860336','435524','1')
2023-10-13	12:33:27	844	[DEBUG]	Store product image relation
2023-10-13	12:33:27	844	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:27	844	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860336 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:27	844	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:27	844	[DEBUG]	Executed store
2023-10-13	12:33:27	844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860336','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:27	844	[DEBUG]	Checking manufacturer
2023-10-13	12:33:27	844	[DEBUG]	Load a row
2023-10-13	12:33:27	844	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:27	844	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:27	844	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:27	844	[DEBUG]	Executed store
2023-10-13	12:33:27	844	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:27	844	[DEBUG]	Manufacturer exists
2023-10-13	12:33:27	844	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:27	844	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:27	844	[DEBUG]	Executed store
2023-10-13	12:33:27	844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860336','26')
2023-10-13	12:33:27	844	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:27	844	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:27	844	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860336 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:27	844	[DEBUG]	Store custom available field
2023-10-13	12:33:27	844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860336,3,'',1)
2023-10-13	12:33:27	844	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:27	844	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:27	844	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860336 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:27	844	[DEBUG]	Store custom available field
2023-10-13	12:33:27	844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860336,6,'Unitaire',3)
2023-10-13	12:33:27	844	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:27	844	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:27	844	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860335
2023-10-13	12:33:27	844	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:27	844	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860335\":[1860335,8,1,\"choisir la taille\"],\"1860336\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860335
2023-10-13	12:33:27	844	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:27	844	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860336
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:27	845	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field taille
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:27	845	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:27	845	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:27	845	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:27	845	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:27	845	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:27	845	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field published
2023-10-13	12:33:27	845	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:27	845	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field override
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:27	845	[DEBUG]	Use field value for field slug
2023-10-13	12:33:27	845	[DEBUG]	Process line 845
2023-10-13	12:33:27	845	[DEBUG]	Load a row
2023-10-13	12:33:27	845	[DEBUG]	Processing item: A_7530_4
2023-10-13	12:33:27	845	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:27	845	[DEBUG]	Processing product tax
2023-10-13	12:33:27	845	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:27	845	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:27	845	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:27	845	[DEBUG]	Query for Product
2023-10-13	12:33:27	845	[DEBUG]	Executed store
2023-10-13	12:33:27	845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7530_4','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:27	845	[DEBUG]	Check product language entry
2023-10-13	12:33:27	845	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860337
2023-10-13	12:33:27	845	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:27	845	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7530_4' AND `virtuemart_product_id` != 1860337
2023-10-13	12:33:27	845	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:27	845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860337, 'A_7530_4')
2023-10-13	12:33:27	845	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:27	845	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-sram-9-vitesses-11-34-pg-980-acier' AND `virtuemart_product_id` != 1860337
2023-10-13	12:33:27	845	[DEBUG]	Query for ProductLang
2023-10-13	12:33:27	845	[DEBUG]	Executed store
2023-10-13	12:33:27	845	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir 527 g 11 spd --11-13-15-18-21-24-28-32-36-40-46<br>N° art fourn : D7081S',`product_name`='SRAM Cassette Sram 9 vitesses 11-34 PG-980 / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-sram-9-vitesses-11-34-pg-980-acier' WHERE `virtuemart_product_id` = '1860337'
2023-10-13	12:33:27	845	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34928_cassette_sram_9_vitesses_11-34_pg-980.jpg
2023-10-13	12:33:27	845	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:27	845	[DEBUG]	Process image file
2023-10-13	12:33:27	845	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:27	845	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:27	845	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34928_cassette_sram_9_vitesses_11-34_pg-980.jpg
2023-10-13	12:33:27	845	[DEBUG]	Full name target: bcprisme/34928_cassette_sram_9_vitesses_11-34_pg-980.jpg
2023-10-13	12:33:28	845	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:28	845	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34928_cassette_sram_9_vitesses_11-34_pg-980.jpg'
2023-10-13	12:33:28	845	[DEBUG]	Query for Media
2023-10-13	12:33:28	845	[DEBUG]	Executed store
2023-10-13	12:33:28	845	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34928_cassette_sram_9_vitesses_11-34_pg-980.jpg',`file_url_thumb`='bcprisme/34928_cassette_sram_9_vitesses_11-34_pg-980.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '264660'
2023-10-13	12:33:28	845	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:28	845	[DEBUG]	Executed store
2023-10-13	12:33:28	845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860337','264660','1')
2023-10-13	12:33:28	845	[DEBUG]	Store product image relation
2023-10-13	12:33:28	845	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:28	845	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860337 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:28	845	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:28	845	[DEBUG]	Executed store
2023-10-13	12:33:28	845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860337','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:28	845	[DEBUG]	Checking manufacturer
2023-10-13	12:33:28	845	[DEBUG]	Load a row
2023-10-13	12:33:28	845	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:28	845	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:28	845	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:28	845	[DEBUG]	Executed store
2023-10-13	12:33:28	845	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:28	845	[DEBUG]	Manufacturer exists
2023-10-13	12:33:28	845	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:28	845	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:28	845	[DEBUG]	Executed store
2023-10-13	12:33:28	845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860337','35')
2023-10-13	12:33:28	845	[DEBUG]	Find the custom field ID
2023-10-13	12:33:28	845	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:28	845	[DEBUG]	No custom field ID found
2023-10-13	12:33:28	845	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:28	845	[DEBUG]	Get existing row with customfield value 119.566944444444
2023-10-13	12:33:28	845	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860337 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:28	845	[DEBUG]	Store custom available field
2023-10-13	12:33:28	845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860337,3,'119.566944444444',1)
2023-10-13	12:33:28	845	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:28	845	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:28	845	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860337 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:28	845	[DEBUG]	Store custom available field
2023-10-13	12:33:28	845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860337,6,'choisir la taille',3)
2023-10-13	12:33:28	845	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:28	845	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:28	845	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:28	845	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:28	845	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860337 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:28	845	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:28	845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860337,8,1)
2023-10-13	12:33:28	845	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:28	845	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860337\":[1860337,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860337
2023-10-13	12:33:28	845	[DEBUG]	Checking category
2023-10-13	12:33:28	845	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:28	845	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860337
2023-10-13	12:33:28	845	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:28	845	[DEBUG]	Executed store
2023-10-13	12:33:28	845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860337','7283')
2023-10-13	12:33:28	845	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:28	845	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860337 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:28	845	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:28	845	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860337
2023-10-13	12:33:28	846	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:28	846	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:28	846	[DEBUG]	Use field value for field taille
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:28	846	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:28	846	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:28	846	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:28	846	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:28	846	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:28	846	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:28	846	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:28	846	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:28	846	[DEBUG]	Use field value for field published
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:28	846	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field override
2023-10-13	12:33:28	846	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:28	846	[DEBUG]	Use field value for field slug
2023-10-13	12:33:28	846	[DEBUG]	Process line 846
2023-10-13	12:33:28	846	[DEBUG]	Load a row
2023-10-13	12:33:28	846	[DEBUG]	Processing item: 710845006951
2023-10-13	12:33:28	846	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:28	846	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:28	846	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7530_4'
2023-10-13	12:33:28	846	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:28	846	[DEBUG]	Processing product tax
2023-10-13	12:33:28	846	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:28	846	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:28	846	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:28	846	[DEBUG]	Query for Product
2023-10-13	12:33:28	846	[DEBUG]	Executed store
2023-10-13	12:33:28	846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860337','710845006951','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:28	846	[DEBUG]	No parent found
2023-10-13	12:33:28	846	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860337 AND customfield_value = 'stockable'
2023-10-13	12:33:28	846	[DEBUG]	Check product language entry
2023-10-13	12:33:28	846	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860338
2023-10-13	12:33:28	846	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:28	846	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845006951' AND `virtuemart_product_id` != 1860338
2023-10-13	12:33:28	846	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:28	846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860338, '710845006951')
2023-10-13	12:33:28	846	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:28	846	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-sram-9-vitesses-11-34-pg-980-acier-unitaire' AND `virtuemart_product_id` != 1860338
2023-10-13	12:33:28	846	[DEBUG]	Query for ProductLang
2023-10-13	12:33:28	846	[DEBUG]	Executed store
2023-10-13	12:33:28	846	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette Sram 9 vitesses 11-34 PG-980 / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-sram-9-vitesses-11-34-pg-980-acier-unitaire' WHERE `virtuemart_product_id` = '1860338'
2023-10-13	12:33:28	846	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34928_cassette_sram_9_vitesses_11-34_pg-980.jpg
2023-10-13	12:33:28	846	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:28	846	[DEBUG]	Process image file
2023-10-13	12:33:28	846	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:28	846	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:28	846	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34928_cassette_sram_9_vitesses_11-34_pg-980.jpg
2023-10-13	12:33:28	846	[DEBUG]	Full name target: bcprisme/34928_cassette_sram_9_vitesses_11-34_pg-980.jpg
2023-10-13	12:33:29	846	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:29	846	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34928_cassette_sram_9_vitesses_11-34_pg-980.jpg'
2023-10-13	12:33:29	846	[DEBUG]	Query for Media
2023-10-13	12:33:29	846	[DEBUG]	Executed store
2023-10-13	12:33:29	846	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34928_cassette_sram_9_vitesses_11-34_pg-980.jpg',`file_url_thumb`='bcprisme/34928_cassette_sram_9_vitesses_11-34_pg-980.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '264660'
2023-10-13	12:33:29	846	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:29	846	[DEBUG]	Executed store
2023-10-13	12:33:29	846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860338','264660','1')
2023-10-13	12:33:29	846	[DEBUG]	Store product image relation
2023-10-13	12:33:29	846	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:29	846	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860338 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:29	846	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:29	846	[DEBUG]	Executed store
2023-10-13	12:33:29	846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860338','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:29	846	[DEBUG]	Checking manufacturer
2023-10-13	12:33:29	846	[DEBUG]	Load a row
2023-10-13	12:33:29	846	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:29	846	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:29	846	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:29	846	[DEBUG]	Executed store
2023-10-13	12:33:29	846	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:29	846	[DEBUG]	Manufacturer exists
2023-10-13	12:33:29	846	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:29	846	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:29	846	[DEBUG]	Executed store
2023-10-13	12:33:29	846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860338','35')
2023-10-13	12:33:29	846	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:29	846	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:29	846	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860338 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:29	846	[DEBUG]	Store custom available field
2023-10-13	12:33:29	846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860338,3,'',1)
2023-10-13	12:33:29	846	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:29	846	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:29	846	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860338 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:29	846	[DEBUG]	Store custom available field
2023-10-13	12:33:29	846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860338,6,'Unitaire',3)
2023-10-13	12:33:29	846	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:29	846	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:29	846	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860337
2023-10-13	12:33:29	846	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:29	846	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860337\":[1860337,8,1,\"choisir la taille\"],\"1860338\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860337
2023-10-13	12:33:29	846	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:29	846	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860338
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:29	847	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field taille
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:29	847	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:29	847	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:29	847	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:29	847	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:29	847	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:29	847	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field published
2023-10-13	12:33:29	847	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:29	847	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field override
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:29	847	[DEBUG]	Use field value for field slug
2023-10-13	12:33:29	847	[DEBUG]	Process line 847
2023-10-13	12:33:29	847	[DEBUG]	Load a row
2023-10-13	12:33:29	847	[DEBUG]	Processing item: A_7548_1
2023-10-13	12:33:29	847	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:29	847	[DEBUG]	Processing product tax
2023-10-13	12:33:29	847	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:29	847	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:29	847	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:29	847	[DEBUG]	Query for Product
2023-10-13	12:33:29	847	[DEBUG]	Executed store
2023-10-13	12:33:29	847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7548_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:29	847	[DEBUG]	Check product language entry
2023-10-13	12:33:29	847	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860339
2023-10-13	12:33:29	847	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:29	847	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7548_1' AND `virtuemart_product_id` != 1860339
2023-10-13	12:33:29	847	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:29	847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860339, 'A_7548_1')
2023-10-13	12:33:29	847	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:29	847	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-gx-eagle-xg-1275-12-vit-10-52-noir-noir' AND `virtuemart_product_id` != 1860339
2023-10-13	12:33:29	847	[DEBUG]	Query for ProductLang
2023-10-13	12:33:29	847	[DEBUG]	Executed store
2023-10-13	12:33:29	847	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7559D',`product_name`='SRAM Cassette GX Eagle XG-1275, 12-vit. 10-52 noir  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-gx-eagle-xg-1275-12-vit-10-52-noir-noir' WHERE `virtuemart_product_id` = '1860339'
2023-10-13	12:33:29	847	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34948_cassette_gx_eagle_xg-1275,_12-vit__10-52_noir_.jpg
2023-10-13	12:33:29	847	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:29	847	[DEBUG]	Process image file
2023-10-13	12:33:29	847	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:29	847	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:29	847	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34948_cassette_gx_eagle_xg-1275,_12-vit__10-52_noir_.jpg
2023-10-13	12:33:29	847	[DEBUG]	Full name target: bcprisme/34948_cassette_gx_eagle_xg-1275,_12-vit__10-52_noir_.jpg
2023-10-13	12:33:30	847	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:30	847	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34948_cassette_gx_eagle_xg-1275,_12-vit__10-52_noir_.jpg'
2023-10-13	12:33:30	847	[DEBUG]	Query for Media
2023-10-13	12:33:30	847	[DEBUG]	Executed store
2023-10-13	12:33:30	847	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34948_cassette_gx_eagle_xg-1275,_12-vit__10-52_noir_.jpg',`file_url_thumb`='bcprisme/34948_cassette_gx_eagle_xg-1275,_12-vit__10-52_noir_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '283927'
2023-10-13	12:33:30	847	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:30	847	[DEBUG]	Executed store
2023-10-13	12:33:30	847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860339','283927','1')
2023-10-13	12:33:30	847	[DEBUG]	Store product image relation
2023-10-13	12:33:30	847	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:30	847	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860339 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:30	847	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:30	847	[DEBUG]	Executed store
2023-10-13	12:33:30	847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860339','0','231.197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:30	847	[DEBUG]	Checking manufacturer
2023-10-13	12:33:30	847	[DEBUG]	Load a row
2023-10-13	12:33:30	847	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:30	847	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:30	847	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:30	847	[DEBUG]	Executed store
2023-10-13	12:33:30	847	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:30	847	[DEBUG]	Manufacturer exists
2023-10-13	12:33:30	847	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:30	847	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:30	847	[DEBUG]	Executed store
2023-10-13	12:33:30	847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860339','35')
2023-10-13	12:33:30	847	[DEBUG]	Find the custom field ID
2023-10-13	12:33:30	847	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:30	847	[DEBUG]	No custom field ID found
2023-10-13	12:33:30	847	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:30	847	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:30	847	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860339 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:30	847	[DEBUG]	Store custom available field
2023-10-13	12:33:30	847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860339,3,'0',1)
2023-10-13	12:33:30	847	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:30	847	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:30	847	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860339 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:30	847	[DEBUG]	Store custom available field
2023-10-13	12:33:30	847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860339,6,'choisir la taille',3)
2023-10-13	12:33:30	847	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:30	847	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:30	847	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:30	847	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:30	847	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860339 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:30	847	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:30	847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860339,8,1)
2023-10-13	12:33:30	847	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:30	847	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860339\":[1860339,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860339
2023-10-13	12:33:30	847	[DEBUG]	Checking category
2023-10-13	12:33:30	847	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:30	847	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860339
2023-10-13	12:33:30	847	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:30	847	[DEBUG]	Executed store
2023-10-13	12:33:30	847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860339','7283')
2023-10-13	12:33:30	847	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:30	847	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860339 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:30	847	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:30	847	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860339
2023-10-13	12:33:30	848	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:30	848	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:30	848	[DEBUG]	Use field value for field taille
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:30	848	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:30	848	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:30	848	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:30	848	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:30	848	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:30	848	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:30	848	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:30	848	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:30	848	[DEBUG]	Use field value for field published
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:30	848	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field override
2023-10-13	12:33:30	848	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:30	848	[DEBUG]	Use field value for field slug
2023-10-13	12:33:30	848	[DEBUG]	Process line 848
2023-10-13	12:33:30	848	[DEBUG]	Load a row
2023-10-13	12:33:30	848	[DEBUG]	Processing item: 26T22856710
2023-10-13	12:33:30	848	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:30	848	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:30	848	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7548_1'
2023-10-13	12:33:30	848	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:30	848	[DEBUG]	Processing product tax
2023-10-13	12:33:30	848	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:30	848	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:30	848	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:30	848	[DEBUG]	Query for Product
2023-10-13	12:33:30	848	[DEBUG]	Executed store
2023-10-13	12:33:30	848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860339','26T22856710','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:30	848	[DEBUG]	No parent found
2023-10-13	12:33:30	848	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860339 AND customfield_value = 'stockable'
2023-10-13	12:33:30	848	[DEBUG]	Check product language entry
2023-10-13	12:33:30	848	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860340
2023-10-13	12:33:30	848	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:30	848	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '26T22856710' AND `virtuemart_product_id` != 1860340
2023-10-13	12:33:30	848	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:30	848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860340, '26T22856710')
2023-10-13	12:33:30	848	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:30	848	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-gx-eagle-xg-1275-12-vit-10-52-noir-noir-unitaire' AND `virtuemart_product_id` != 1860340
2023-10-13	12:33:30	848	[DEBUG]	Query for ProductLang
2023-10-13	12:33:30	848	[DEBUG]	Executed store
2023-10-13	12:33:30	848	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette GX Eagle XG-1275, 12-vit. 10-52 noir  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-gx-eagle-xg-1275-12-vit-10-52-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1860340'
2023-10-13	12:33:30	848	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34948_cassette_gx_eagle_xg-1275,_12-vit__10-52_noir_.jpg
2023-10-13	12:33:30	848	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:30	848	[DEBUG]	Process image file
2023-10-13	12:33:30	848	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:30	848	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:30	848	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34948_cassette_gx_eagle_xg-1275,_12-vit__10-52_noir_.jpg
2023-10-13	12:33:30	848	[DEBUG]	Full name target: bcprisme/34948_cassette_gx_eagle_xg-1275,_12-vit__10-52_noir_.jpg
2023-10-13	12:33:31	848	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:31	848	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34948_cassette_gx_eagle_xg-1275,_12-vit__10-52_noir_.jpg'
2023-10-13	12:33:31	848	[DEBUG]	Query for Media
2023-10-13	12:33:31	848	[DEBUG]	Executed store
2023-10-13	12:33:31	848	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34948_cassette_gx_eagle_xg-1275,_12-vit__10-52_noir_.jpg',`file_url_thumb`='bcprisme/34948_cassette_gx_eagle_xg-1275,_12-vit__10-52_noir_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '283927'
2023-10-13	12:33:31	848	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:31	848	[DEBUG]	Executed store
2023-10-13	12:33:31	848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860340','283927','1')
2023-10-13	12:33:31	848	[DEBUG]	Store product image relation
2023-10-13	12:33:31	848	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:31	848	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860340 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:31	848	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:31	848	[DEBUG]	Executed store
2023-10-13	12:33:31	848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860340','0','231.197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:31	848	[DEBUG]	Checking manufacturer
2023-10-13	12:33:31	848	[DEBUG]	Load a row
2023-10-13	12:33:31	848	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:31	848	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:31	848	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:31	848	[DEBUG]	Executed store
2023-10-13	12:33:31	848	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:31	848	[DEBUG]	Manufacturer exists
2023-10-13	12:33:31	848	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:31	848	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:31	848	[DEBUG]	Executed store
2023-10-13	12:33:31	848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860340','35')
2023-10-13	12:33:31	848	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:31	848	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:31	848	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860340 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:31	848	[DEBUG]	Store custom available field
2023-10-13	12:33:31	848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860340,3,'',1)
2023-10-13	12:33:31	848	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:31	848	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:31	848	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860340 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:31	848	[DEBUG]	Store custom available field
2023-10-13	12:33:31	848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860340,6,'Unitaire',3)
2023-10-13	12:33:31	848	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:31	848	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:31	848	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860339
2023-10-13	12:33:31	848	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:31	848	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860339\":[1860339,8,1,\"choisir la taille\"],\"1860340\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860339
2023-10-13	12:33:31	848	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:31	848	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860340
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:31	849	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field taille
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:31	849	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:31	849	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:31	849	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:31	849	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:31	849	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:31	849	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field published
2023-10-13	12:33:31	849	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:31	849	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field override
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:31	849	[DEBUG]	Use field value for field slug
2023-10-13	12:33:31	849	[DEBUG]	Process line 849
2023-10-13	12:33:31	849	[DEBUG]	Load a row
2023-10-13	12:33:31	849	[DEBUG]	Processing item: A_7763_208
2023-10-13	12:33:31	849	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:31	849	[DEBUG]	Processing product tax
2023-10-13	12:33:31	849	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:31	849	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:31	849	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:31	849	[DEBUG]	Query for Product
2023-10-13	12:33:31	849	[DEBUG]	Executed store
2023-10-13	12:33:31	849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7763_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:31	849	[DEBUG]	Check product language entry
2023-10-13	12:33:31	849	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860341
2023-10-13	12:33:31	849	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:31	849	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7763_208' AND `virtuemart_product_id` != 1860341
2023-10-13	12:33:31	849	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:31	849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860341, 'A_7763_208')
2023-10-13	12:33:31	849	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:31	849	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-entretoise-pour-contre-ecrou-cs-m8-7100-aucune' AND `virtuemart_product_id` != 1860341
2023-10-13	12:33:31	849	[DEBUG]	Query for ProductLang
2023-10-13	12:33:31	849	[DEBUG]	Executed store
2023-10-13	12:33:31	849	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.77680',`product_name`='SHIMANO Entretoise pour contre+écrou CS-M8/7100 / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-entretoise-pour-contre-ecrou-cs-m8-7100-aucune' WHERE `virtuemart_product_id` = '1860341'
2023-10-13	12:33:31	849	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36122_entretoise_pour_contre+ecrou_cs-m8-7100.jpg
2023-10-13	12:33:31	849	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:31	849	[DEBUG]	Process image file
2023-10-13	12:33:31	849	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:31	849	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:31	849	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36122_entretoise_pour_contre+ecrou_cs-m8-7100.jpg
2023-10-13	12:33:31	849	[DEBUG]	Full name target: bcprisme/36122_entretoise_pour_contre+ecrou_cs-m8-7100.jpg
2023-10-13	12:33:32	849	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:32	849	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36122_entretoise_pour_contre+ecrou_cs-m8-7100.jpg'
2023-10-13	12:33:32	849	[DEBUG]	Query for Media
2023-10-13	12:33:32	849	[DEBUG]	Executed store
2023-10-13	12:33:32	849	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36122_entretoise_pour_contre+ecrou_cs-m8-7100.jpg',`file_url_thumb`='bcprisme/36122_entretoise_pour_contre+ecrou_cs-m8-7100.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '457451'
2023-10-13	12:33:32	849	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:32	849	[DEBUG]	Executed store
2023-10-13	12:33:32	849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860341','457451','1')
2023-10-13	12:33:32	849	[DEBUG]	Store product image relation
2023-10-13	12:33:32	849	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:32	849	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860341 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:32	849	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:32	849	[DEBUG]	Executed store
2023-10-13	12:33:32	849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860341','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:32	849	[DEBUG]	Checking manufacturer
2023-10-13	12:33:32	849	[DEBUG]	Load a row
2023-10-13	12:33:32	849	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:32	849	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:32	849	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:32	849	[DEBUG]	Executed store
2023-10-13	12:33:32	849	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:32	849	[DEBUG]	Manufacturer exists
2023-10-13	12:33:32	849	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:32	849	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:32	849	[DEBUG]	Executed store
2023-10-13	12:33:32	849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860341','26')
2023-10-13	12:33:32	849	[DEBUG]	Find the custom field ID
2023-10-13	12:33:32	849	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:32	849	[DEBUG]	No custom field ID found
2023-10-13	12:33:32	849	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:32	849	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:32	849	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860341 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:32	849	[DEBUG]	Store custom available field
2023-10-13	12:33:32	849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860341,3,'0',1)
2023-10-13	12:33:32	849	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:32	849	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:32	849	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860341 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:32	849	[DEBUG]	Store custom available field
2023-10-13	12:33:32	849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860341,6,'choisir la taille',3)
2023-10-13	12:33:32	849	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:32	849	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:32	849	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:32	849	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:32	849	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860341 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:32	849	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:32	849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860341,8,1)
2023-10-13	12:33:32	849	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:32	849	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860341\":[1860341,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860341
2023-10-13	12:33:32	849	[DEBUG]	Checking category
2023-10-13	12:33:32	849	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:32	849	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860341
2023-10-13	12:33:32	849	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:32	849	[DEBUG]	Executed store
2023-10-13	12:33:32	849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860341','7283')
2023-10-13	12:33:32	849	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:32	849	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860341 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:32	849	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:32	849	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860341
2023-10-13	12:33:32	850	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:32	850	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:32	850	[DEBUG]	Use field value for field taille
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:32	850	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:32	850	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:32	850	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:32	850	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:32	850	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:32	850	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:32	850	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:32	850	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:32	850	[DEBUG]	Use field value for field published
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:32	850	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field override
2023-10-13	12:33:32	850	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:32	850	[DEBUG]	Use field value for field slug
2023-10-13	12:33:32	850	[DEBUG]	Process line 850
2023-10-13	12:33:32	850	[DEBUG]	Load a row
2023-10-13	12:33:32	850	[DEBUG]	Processing item: 4550170585419
2023-10-13	12:33:32	850	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:32	850	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:32	850	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7763_208'
2023-10-13	12:33:32	850	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:32	850	[DEBUG]	Processing product tax
2023-10-13	12:33:32	850	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:32	850	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:32	850	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:32	850	[DEBUG]	Query for Product
2023-10-13	12:33:32	850	[DEBUG]	Executed store
2023-10-13	12:33:32	850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860341','4550170585419','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:32	850	[DEBUG]	No parent found
2023-10-13	12:33:32	850	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860341 AND customfield_value = 'stockable'
2023-10-13	12:33:32	850	[DEBUG]	Check product language entry
2023-10-13	12:33:32	850	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860342
2023-10-13	12:33:32	850	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:32	850	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170585419' AND `virtuemart_product_id` != 1860342
2023-10-13	12:33:32	850	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:32	850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860342, '4550170585419')
2023-10-13	12:33:32	850	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:32	850	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-entretoise-pour-contre-ecrou-cs-m8-7100-aucune-unitaire' AND `virtuemart_product_id` != 1860342
2023-10-13	12:33:32	850	[DEBUG]	Query for ProductLang
2023-10-13	12:33:32	850	[DEBUG]	Executed store
2023-10-13	12:33:32	850	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Entretoise pour contre+écrou CS-M8/7100 / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-entretoise-pour-contre-ecrou-cs-m8-7100-aucune-unitaire' WHERE `virtuemart_product_id` = '1860342'
2023-10-13	12:33:32	850	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36122_entretoise_pour_contre+ecrou_cs-m8-7100.jpg
2023-10-13	12:33:32	850	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:32	850	[DEBUG]	Process image file
2023-10-13	12:33:32	850	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:32	850	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:32	850	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36122_entretoise_pour_contre+ecrou_cs-m8-7100.jpg
2023-10-13	12:33:32	850	[DEBUG]	Full name target: bcprisme/36122_entretoise_pour_contre+ecrou_cs-m8-7100.jpg
2023-10-13	12:33:33	850	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:33	850	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36122_entretoise_pour_contre+ecrou_cs-m8-7100.jpg'
2023-10-13	12:33:33	850	[DEBUG]	Query for Media
2023-10-13	12:33:33	850	[DEBUG]	Executed store
2023-10-13	12:33:33	850	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36122_entretoise_pour_contre+ecrou_cs-m8-7100.jpg',`file_url_thumb`='bcprisme/36122_entretoise_pour_contre+ecrou_cs-m8-7100.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '457451'
2023-10-13	12:33:33	850	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:33	850	[DEBUG]	Executed store
2023-10-13	12:33:33	850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860342','457451','1')
2023-10-13	12:33:33	850	[DEBUG]	Store product image relation
2023-10-13	12:33:33	850	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:33	850	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860342 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:33	850	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:33	850	[DEBUG]	Executed store
2023-10-13	12:33:33	850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860342','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:33	850	[DEBUG]	Checking manufacturer
2023-10-13	12:33:33	850	[DEBUG]	Load a row
2023-10-13	12:33:33	850	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:33	850	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:33	850	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:33	850	[DEBUG]	Executed store
2023-10-13	12:33:33	850	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:33	850	[DEBUG]	Manufacturer exists
2023-10-13	12:33:33	850	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:33	850	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:33	850	[DEBUG]	Executed store
2023-10-13	12:33:33	850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860342','26')
2023-10-13	12:33:33	850	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:33	850	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:33	850	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860342 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:33	850	[DEBUG]	Store custom available field
2023-10-13	12:33:33	850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860342,3,'',1)
2023-10-13	12:33:33	850	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:33	850	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:33	850	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860342 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:33	850	[DEBUG]	Store custom available field
2023-10-13	12:33:33	850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860342,6,'Unitaire',3)
2023-10-13	12:33:33	850	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:33	850	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:33	850	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860341
2023-10-13	12:33:33	850	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:33	850	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860341\":[1860341,8,1,\"choisir la taille\"],\"1860342\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860341
2023-10-13	12:33:33	850	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:33	850	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860342
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:33	851	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field taille
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:33	851	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:33	851	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:33	851	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:33	851	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:33	851	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:33	851	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field published
2023-10-13	12:33:33	851	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:33	851	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field override
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:33	851	[DEBUG]	Use field value for field slug
2023-10-13	12:33:33	851	[DEBUG]	Process line 851
2023-10-13	12:33:33	851	[DEBUG]	Load a row
2023-10-13	12:33:33	851	[DEBUG]	Processing item: A_7796_13
2023-10-13	12:33:33	851	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:33	851	[DEBUG]	Processing product tax
2023-10-13	12:33:33	851	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:33	851	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:33	851	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:33	851	[DEBUG]	Query for Product
2023-10-13	12:33:33	851	[DEBUG]	Executed store
2023-10-13	12:33:33	851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7796_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:33	851	[DEBUG]	Check product language entry
2023-10-13	12:33:33	851	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860343
2023-10-13	12:33:33	851	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:33	851	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7796_13' AND `virtuemart_product_id` != 1860343
2023-10-13	12:33:33	851	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:33	851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860343, 'A_7796_13')
2023-10-13	12:33:33	851	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:33	851	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-7-vitessses-11-36-argent' AND `virtuemart_product_id` != 1860343
2023-10-13	12:33:33	851	[DEBUG]	Query for ProductLang
2023-10-13	12:33:33	851	[DEBUG]	Executed store
2023-10-13	12:33:33	851	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSMSC71136',`product_name`='MSC Cassette MSC 7 vitessses 11-36 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-7-vitessses-11-36-argent' WHERE `virtuemart_product_id` = '1860343'
2023-10-13	12:33:33	851	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36170_cassette_msc_7_vitessses_11-36.jpg
2023-10-13	12:33:33	851	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:33	851	[DEBUG]	Process image file
2023-10-13	12:33:33	851	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:33	851	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:33	851	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36170_cassette_msc_7_vitessses_11-36.jpg
2023-10-13	12:33:33	851	[DEBUG]	Full name target: bcprisme/36170_cassette_msc_7_vitessses_11-36.jpg
2023-10-13	12:33:34	851	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:34	851	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36170_cassette_msc_7_vitessses_11-36.jpg'
2023-10-13	12:33:34	851	[DEBUG]	Query for Media
2023-10-13	12:33:34	851	[DEBUG]	Executed store
2023-10-13	12:33:34	851	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36170_cassette_msc_7_vitessses_11-36.jpg',`file_url_thumb`='bcprisme/36170_cassette_msc_7_vitessses_11-36.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '479501'
2023-10-13	12:33:34	851	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:34	851	[DEBUG]	Executed store
2023-10-13	12:33:34	851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860343','479501','1')
2023-10-13	12:33:34	851	[DEBUG]	Store product image relation
2023-10-13	12:33:34	851	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:34	851	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860343 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:34	851	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:34	851	[DEBUG]	Executed store
2023-10-13	12:33:34	851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860343','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:34	851	[DEBUG]	Checking manufacturer
2023-10-13	12:33:34	851	[DEBUG]	Load a row
2023-10-13	12:33:34	851	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:34	851	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:34	851	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:34	851	[DEBUG]	Executed store
2023-10-13	12:33:34	851	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:34	851	[DEBUG]	Manufacturer exists
2023-10-13	12:33:34	851	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:33:34	851	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:34	851	[DEBUG]	Executed store
2023-10-13	12:33:34	851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860343','32')
2023-10-13	12:33:34	851	[DEBUG]	Find the custom field ID
2023-10-13	12:33:34	851	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:34	851	[DEBUG]	No custom field ID found
2023-10-13	12:33:34	851	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:34	851	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:34	851	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860343 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:34	851	[DEBUG]	Store custom available field
2023-10-13	12:33:34	851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860343,3,'0',1)
2023-10-13	12:33:34	851	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:34	851	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:34	851	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860343 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:34	851	[DEBUG]	Store custom available field
2023-10-13	12:33:34	851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860343,6,'choisir la taille',3)
2023-10-13	12:33:34	851	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:34	851	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:34	851	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:34	851	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:34	851	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860343 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:34	851	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:34	851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860343,8,1)
2023-10-13	12:33:34	851	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:34	851	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860343\":[1860343,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860343
2023-10-13	12:33:34	851	[DEBUG]	Checking category
2023-10-13	12:33:34	851	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:34	851	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860343
2023-10-13	12:33:34	851	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:34	851	[DEBUG]	Executed store
2023-10-13	12:33:34	851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860343','7283')
2023-10-13	12:33:34	851	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:34	851	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860343 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:34	851	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:34	851	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860343
2023-10-13	12:33:34	852	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:34	852	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:34	852	[DEBUG]	Use field value for field taille
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:34	852	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:34	852	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:34	852	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:34	852	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:34	852	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:34	852	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:34	852	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:34	852	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:34	852	[DEBUG]	Use field value for field published
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:34	852	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field override
2023-10-13	12:33:34	852	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:34	852	[DEBUG]	Use field value for field slug
2023-10-13	12:33:34	852	[DEBUG]	Process line 852
2023-10-13	12:33:34	852	[DEBUG]	Load a row
2023-10-13	12:33:34	852	[DEBUG]	Processing item: 8435466214968
2023-10-13	12:33:34	852	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:34	852	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:34	852	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7796_13'
2023-10-13	12:33:34	852	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:34	852	[DEBUG]	Processing product tax
2023-10-13	12:33:34	852	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:34	852	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:34	852	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:34	852	[DEBUG]	Query for Product
2023-10-13	12:33:34	852	[DEBUG]	Executed store
2023-10-13	12:33:34	852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860343','8435466214968','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:34	852	[DEBUG]	No parent found
2023-10-13	12:33:34	852	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860343 AND customfield_value = 'stockable'
2023-10-13	12:33:34	852	[DEBUG]	Check product language entry
2023-10-13	12:33:34	852	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860344
2023-10-13	12:33:34	852	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:34	852	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214968' AND `virtuemart_product_id` != 1860344
2023-10-13	12:33:34	852	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:34	852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860344, '8435466214968')
2023-10-13	12:33:34	852	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:34	852	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-7-vitessses-11-36-argent-all' AND `virtuemart_product_id` != 1860344
2023-10-13	12:33:34	852	[DEBUG]	Query for ProductLang
2023-10-13	12:33:34	852	[DEBUG]	Executed store
2023-10-13	12:33:34	852	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 7 vitessses 11-36 / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-7-vitessses-11-36-argent-all' WHERE `virtuemart_product_id` = '1860344'
2023-10-13	12:33:34	852	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36170_cassette_msc_7_vitessses_11-36.jpg
2023-10-13	12:33:34	852	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:34	852	[DEBUG]	Process image file
2023-10-13	12:33:34	852	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:34	852	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:34	852	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36170_cassette_msc_7_vitessses_11-36.jpg
2023-10-13	12:33:34	852	[DEBUG]	Full name target: bcprisme/36170_cassette_msc_7_vitessses_11-36.jpg
2023-10-13	12:33:35	852	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:35	852	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36170_cassette_msc_7_vitessses_11-36.jpg'
2023-10-13	12:33:35	852	[DEBUG]	Query for Media
2023-10-13	12:33:35	852	[DEBUG]	Executed store
2023-10-13	12:33:35	852	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36170_cassette_msc_7_vitessses_11-36.jpg',`file_url_thumb`='bcprisme/36170_cassette_msc_7_vitessses_11-36.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '479501'
2023-10-13	12:33:35	852	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:35	852	[DEBUG]	Executed store
2023-10-13	12:33:35	852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860344','479501','1')
2023-10-13	12:33:35	852	[DEBUG]	Store product image relation
2023-10-13	12:33:35	852	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:35	852	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860344 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:35	852	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:35	852	[DEBUG]	Executed store
2023-10-13	12:33:35	852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860344','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:35	852	[DEBUG]	Checking manufacturer
2023-10-13	12:33:35	852	[DEBUG]	Load a row
2023-10-13	12:33:35	852	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:35	852	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:35	852	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:35	852	[DEBUG]	Executed store
2023-10-13	12:33:35	852	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:35	852	[DEBUG]	Manufacturer exists
2023-10-13	12:33:35	852	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:33:35	852	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:35	852	[DEBUG]	Executed store
2023-10-13	12:33:35	852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860344','32')
2023-10-13	12:33:35	852	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:35	852	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:35	852	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860344 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:35	852	[DEBUG]	Store custom available field
2023-10-13	12:33:35	852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860344,3,'',1)
2023-10-13	12:33:35	852	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:35	852	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:33:35	852	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860344 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:35	852	[DEBUG]	Store custom available field
2023-10-13	12:33:35	852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860344,6,'All',3)
2023-10-13	12:33:35	852	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:35	852	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:35	852	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860343
2023-10-13	12:33:35	852	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:35	852	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860343\":[1860343,8,1,\"choisir la taille\"],\"1860344\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860343
2023-10-13	12:33:35	852	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:35	852	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860344
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:35	853	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field taille
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:35	853	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:35	853	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:35	853	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:35	853	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:35	853	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:35	853	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field published
2023-10-13	12:33:35	853	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:35	853	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field override
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:35	853	[DEBUG]	Use field value for field slug
2023-10-13	12:33:35	853	[DEBUG]	Process line 853
2023-10-13	12:33:35	853	[DEBUG]	Load a row
2023-10-13	12:33:35	853	[DEBUG]	Processing item: A_7797_13
2023-10-13	12:33:35	853	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:35	853	[DEBUG]	Processing product tax
2023-10-13	12:33:35	853	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:35	853	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:35	853	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:35	853	[DEBUG]	Query for Product
2023-10-13	12:33:35	853	[DEBUG]	Executed store
2023-10-13	12:33:35	853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7797_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:35	853	[DEBUG]	Check product language entry
2023-10-13	12:33:35	853	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860345
2023-10-13	12:33:35	853	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:35	853	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7797_13' AND `virtuemart_product_id` != 1860345
2023-10-13	12:33:35	853	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:35	853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860345, 'A_7797_13')
2023-10-13	12:33:35	853	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:35	853	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-8-vitessses-11-40-argent' AND `virtuemart_product_id` != 1860345
2023-10-13	12:33:35	853	[DEBUG]	Query for ProductLang
2023-10-13	12:33:35	853	[DEBUG]	Executed store
2023-10-13	12:33:35	853	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSMSC81140',`product_name`='MSC Cassette MSC  8 vitessses 11-40 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-8-vitessses-11-40-argent' WHERE `virtuemart_product_id` = '1860345'
2023-10-13	12:33:35	853	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36171_cassette_msc__8_vitessses_11-40.jpg
2023-10-13	12:33:35	853	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:35	853	[DEBUG]	Process image file
2023-10-13	12:33:35	853	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:35	853	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:35	853	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36171_cassette_msc__8_vitessses_11-40.jpg
2023-10-13	12:33:35	853	[DEBUG]	Full name target: bcprisme/36171_cassette_msc__8_vitessses_11-40.jpg
2023-10-13	12:33:36	853	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:36	853	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36171_cassette_msc__8_vitessses_11-40.jpg'
2023-10-13	12:33:36	853	[DEBUG]	Query for Media
2023-10-13	12:33:36	853	[DEBUG]	Executed store
2023-10-13	12:33:36	853	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36171_cassette_msc__8_vitessses_11-40.jpg',`file_url_thumb`='bcprisme/36171_cassette_msc__8_vitessses_11-40.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '479503'
2023-10-13	12:33:36	853	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:36	853	[DEBUG]	Executed store
2023-10-13	12:33:36	853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860345','479503','1')
2023-10-13	12:33:36	853	[DEBUG]	Store product image relation
2023-10-13	12:33:36	853	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:36	853	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860345 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:36	853	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:36	853	[DEBUG]	Executed store
2023-10-13	12:33:36	853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860345','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:36	853	[DEBUG]	Checking manufacturer
2023-10-13	12:33:36	853	[DEBUG]	Load a row
2023-10-13	12:33:36	853	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:36	853	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:36	853	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:36	853	[DEBUG]	Executed store
2023-10-13	12:33:36	853	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:36	853	[DEBUG]	Manufacturer exists
2023-10-13	12:33:36	853	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:33:36	853	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:36	853	[DEBUG]	Executed store
2023-10-13	12:33:36	853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860345','32')
2023-10-13	12:33:36	853	[DEBUG]	Find the custom field ID
2023-10-13	12:33:36	853	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:36	853	[DEBUG]	No custom field ID found
2023-10-13	12:33:36	853	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:36	853	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:36	853	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860345 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:36	853	[DEBUG]	Store custom available field
2023-10-13	12:33:36	853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860345,3,'0',1)
2023-10-13	12:33:36	853	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:36	853	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:36	853	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860345 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:36	853	[DEBUG]	Store custom available field
2023-10-13	12:33:36	853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860345,6,'choisir la taille',3)
2023-10-13	12:33:36	853	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:36	853	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:36	853	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:36	853	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:36	853	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860345 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:36	853	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:36	853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860345,8,1)
2023-10-13	12:33:36	853	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:36	853	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860345\":[1860345,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860345
2023-10-13	12:33:36	853	[DEBUG]	Checking category
2023-10-13	12:33:36	853	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:36	853	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860345
2023-10-13	12:33:36	853	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:37	853	[DEBUG]	Executed store
2023-10-13	12:33:37	853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860345','7283')
2023-10-13	12:33:37	853	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:37	853	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860345 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:37	853	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:37	853	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860345
2023-10-13	12:33:37	854	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:37	854	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:37	854	[DEBUG]	Use field value for field taille
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:37	854	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:37	854	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:37	854	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:37	854	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:37	854	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:37	854	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:37	854	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:37	854	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:37	854	[DEBUG]	Use field value for field published
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:37	854	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field override
2023-10-13	12:33:37	854	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:37	854	[DEBUG]	Use field value for field slug
2023-10-13	12:33:37	854	[DEBUG]	Process line 854
2023-10-13	12:33:37	854	[DEBUG]	Load a row
2023-10-13	12:33:37	854	[DEBUG]	Processing item: 1000000137804
2023-10-13	12:33:37	854	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:37	854	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:37	854	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7797_13'
2023-10-13	12:33:37	854	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:37	854	[DEBUG]	Processing product tax
2023-10-13	12:33:37	854	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:37	854	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:37	854	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:37	854	[DEBUG]	Query for Product
2023-10-13	12:33:37	854	[DEBUG]	Executed store
2023-10-13	12:33:37	854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860345','1000000137804','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:37	854	[DEBUG]	No parent found
2023-10-13	12:33:37	854	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860345 AND customfield_value = 'stockable'
2023-10-13	12:33:37	854	[DEBUG]	Check product language entry
2023-10-13	12:33:37	854	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860346
2023-10-13	12:33:37	854	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:37	854	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000137804' AND `virtuemart_product_id` != 1860346
2023-10-13	12:33:37	854	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:37	854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860346, '1000000137804')
2023-10-13	12:33:37	854	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:37	854	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-8-vitessses-11-40-argent-all' AND `virtuemart_product_id` != 1860346
2023-10-13	12:33:37	854	[DEBUG]	Query for ProductLang
2023-10-13	12:33:37	854	[DEBUG]	Executed store
2023-10-13	12:33:37	854	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC  8 vitessses 11-40 / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-8-vitessses-11-40-argent-all' WHERE `virtuemart_product_id` = '1860346'
2023-10-13	12:33:37	854	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36171_cassette_msc__8_vitessses_11-40.jpg
2023-10-13	12:33:37	854	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:37	854	[DEBUG]	Process image file
2023-10-13	12:33:37	854	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:37	854	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:37	854	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36171_cassette_msc__8_vitessses_11-40.jpg
2023-10-13	12:33:37	854	[DEBUG]	Full name target: bcprisme/36171_cassette_msc__8_vitessses_11-40.jpg
2023-10-13	12:33:38	854	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:38	854	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36171_cassette_msc__8_vitessses_11-40.jpg'
2023-10-13	12:33:38	854	[DEBUG]	Query for Media
2023-10-13	12:33:38	854	[DEBUG]	Executed store
2023-10-13	12:33:38	854	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36171_cassette_msc__8_vitessses_11-40.jpg',`file_url_thumb`='bcprisme/36171_cassette_msc__8_vitessses_11-40.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '479503'
2023-10-13	12:33:38	854	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:38	854	[DEBUG]	Executed store
2023-10-13	12:33:38	854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860346','479503','1')
2023-10-13	12:33:38	854	[DEBUG]	Store product image relation
2023-10-13	12:33:38	854	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:38	854	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860346 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:38	854	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:38	854	[DEBUG]	Executed store
2023-10-13	12:33:38	854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860346','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:38	854	[DEBUG]	Checking manufacturer
2023-10-13	12:33:38	854	[DEBUG]	Load a row
2023-10-13	12:33:38	854	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:38	854	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:38	854	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:38	854	[DEBUG]	Executed store
2023-10-13	12:33:38	854	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:38	854	[DEBUG]	Manufacturer exists
2023-10-13	12:33:38	854	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:33:38	854	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:38	854	[DEBUG]	Executed store
2023-10-13	12:33:38	854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860346','32')
2023-10-13	12:33:38	854	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:38	854	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:38	854	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860346 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:38	854	[DEBUG]	Store custom available field
2023-10-13	12:33:38	854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860346,3,'',1)
2023-10-13	12:33:38	854	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:38	854	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:33:38	854	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860346 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:38	854	[DEBUG]	Store custom available field
2023-10-13	12:33:38	854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860346,6,'All',3)
2023-10-13	12:33:38	854	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:38	854	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:38	854	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860345
2023-10-13	12:33:38	854	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:38	854	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860345\":[1860345,8,1,\"choisir la taille\"],\"1860346\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860345
2023-10-13	12:33:38	854	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:38	854	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860346
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:38	855	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field taille
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:38	855	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:38	855	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:38	855	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:38	855	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:38	855	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:38	855	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field published
2023-10-13	12:33:38	855	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:38	855	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field override
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:38	855	[DEBUG]	Use field value for field slug
2023-10-13	12:33:38	855	[DEBUG]	Process line 855
2023-10-13	12:33:38	855	[DEBUG]	Load a row
2023-10-13	12:33:38	855	[DEBUG]	Processing item: A_7799_13
2023-10-13	12:33:38	855	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:38	855	[DEBUG]	Processing product tax
2023-10-13	12:33:38	855	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:38	855	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:38	855	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:38	855	[DEBUG]	Query for Product
2023-10-13	12:33:38	855	[DEBUG]	Executed store
2023-10-13	12:33:38	855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7799_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:38	855	[DEBUG]	Check product language entry
2023-10-13	12:33:38	855	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860347
2023-10-13	12:33:38	855	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:38	855	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7799_13' AND `virtuemart_product_id` != 1860347
2023-10-13	12:33:38	855	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:38	855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860347, 'A_7799_13')
2023-10-13	12:33:38	855	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:38	855	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-9-vitessses-11-46-argent' AND `virtuemart_product_id` != 1860347
2023-10-13	12:33:38	855	[DEBUG]	Query for ProductLang
2023-10-13	12:33:38	855	[DEBUG]	Executed store
2023-10-13	12:33:38	855	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSMSC91146',`product_name`='MSC Cassette MSC 9 vitessses 11-46 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-9-vitessses-11-46-argent' WHERE `virtuemart_product_id` = '1860347'
2023-10-13	12:33:38	855	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36173_cassette_msc_9_vitessses_11-46.jpg
2023-10-13	12:33:38	855	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:33:38	855	[DEBUG]	Process image file
2023-10-13	12:33:38	855	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:33:38	855	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:38	855	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36173_cassette_msc_9_vitessses_11-46.jpg
2023-10-13	12:33:38	855	[DEBUG]	Full name target: bcprisme/36173_cassette_msc_9_vitessses_11-46.jpg
2023-10-13	12:33:39	855	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:39	855	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36173_cassette_msc_9_vitessses_11-46.jpg'
2023-10-13	12:33:39	855	[DEBUG]	Query for Media
2023-10-13	12:33:39	855	[DEBUG]	Executed store
2023-10-13	12:33:39	855	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36173_cassette_msc_9_vitessses_11-46.jpg',`file_url_thumb`='bcprisme/36173_cassette_msc_9_vitessses_11-46.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '479507'
2023-10-13	12:33:39	855	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:39	855	[DEBUG]	Executed store
2023-10-13	12:33:39	855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860347','479507','1')
2023-10-13	12:33:39	855	[DEBUG]	Store product image relation
2023-10-13	12:33:39	855	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:39	855	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860347 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:39	855	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:39	855	[DEBUG]	Executed store
2023-10-13	12:33:39	855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860347','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:39	855	[DEBUG]	Checking manufacturer
2023-10-13	12:33:39	855	[DEBUG]	Load a row
2023-10-13	12:33:39	855	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:39	855	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:39	855	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:39	855	[DEBUG]	Executed store
2023-10-13	12:33:39	855	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:39	855	[DEBUG]	Manufacturer exists
2023-10-13	12:33:39	855	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:33:39	855	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:39	855	[DEBUG]	Executed store
2023-10-13	12:33:39	855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860347','32')
2023-10-13	12:33:39	855	[DEBUG]	Find the custom field ID
2023-10-13	12:33:39	855	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:39	855	[DEBUG]	No custom field ID found
2023-10-13	12:33:39	855	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:39	855	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:39	855	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860347 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:39	855	[DEBUG]	Store custom available field
2023-10-13	12:33:39	855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860347,3,'0',1)
2023-10-13	12:33:39	855	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:39	855	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:39	855	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860347 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:39	855	[DEBUG]	Store custom available field
2023-10-13	12:33:39	855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860347,6,'choisir la taille',3)
2023-10-13	12:33:39	855	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:39	855	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:39	855	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:39	855	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:39	855	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860347 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:39	855	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:39	855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860347,8,1)
2023-10-13	12:33:39	855	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:39	855	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860347\":[1860347,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860347
2023-10-13	12:33:39	855	[DEBUG]	Checking category
2023-10-13	12:33:39	855	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:39	855	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860347
2023-10-13	12:33:39	855	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:39	855	[DEBUG]	Executed store
2023-10-13	12:33:39	855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860347','7283')
2023-10-13	12:33:39	855	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:39	855	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860347 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:39	855	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:39	855	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860347
2023-10-13	12:33:39	856	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:39	856	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:39	856	[DEBUG]	Use field value for field taille
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:39	856	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:39	856	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:39	856	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:39	856	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:39	856	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:39	856	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:39	856	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:39	856	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:39	856	[DEBUG]	Use field value for field published
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:39	856	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field override
2023-10-13	12:33:39	856	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:39	856	[DEBUG]	Use field value for field slug
2023-10-13	12:33:39	856	[DEBUG]	Process line 856
2023-10-13	12:33:39	856	[DEBUG]	Load a row
2023-10-13	12:33:39	856	[DEBUG]	Processing item: 1000000137828
2023-10-13	12:33:39	856	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:39	856	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:39	856	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7799_13'
2023-10-13	12:33:39	856	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:39	856	[DEBUG]	Processing product tax
2023-10-13	12:33:39	856	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:39	856	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:39	856	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:39	856	[DEBUG]	Query for Product
2023-10-13	12:33:39	856	[DEBUG]	Executed store
2023-10-13	12:33:39	856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860347','1000000137828','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:39	856	[DEBUG]	No parent found
2023-10-13	12:33:39	856	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860347 AND customfield_value = 'stockable'
2023-10-13	12:33:39	856	[DEBUG]	Check product language entry
2023-10-13	12:33:39	856	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860348
2023-10-13	12:33:39	856	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:39	856	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000137828' AND `virtuemart_product_id` != 1860348
2023-10-13	12:33:39	856	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:39	856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860348, '1000000137828')
2023-10-13	12:33:39	856	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:39	856	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-9-vitessses-11-46-argent-all' AND `virtuemart_product_id` != 1860348
2023-10-13	12:33:39	856	[DEBUG]	Query for ProductLang
2023-10-13	12:33:39	856	[DEBUG]	Executed store
2023-10-13	12:33:39	856	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 9 vitessses 11-46 / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-9-vitessses-11-46-argent-all' WHERE `virtuemart_product_id` = '1860348'
2023-10-13	12:33:39	856	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36173_cassette_msc_9_vitessses_11-46.jpg
2023-10-13	12:33:39	856	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:33:39	856	[DEBUG]	Process image file
2023-10-13	12:33:39	856	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:33:39	856	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:39	856	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36173_cassette_msc_9_vitessses_11-46.jpg
2023-10-13	12:33:39	856	[DEBUG]	Full name target: bcprisme/36173_cassette_msc_9_vitessses_11-46.jpg
2023-10-13	12:33:40	856	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:40	856	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36173_cassette_msc_9_vitessses_11-46.jpg'
2023-10-13	12:33:40	856	[DEBUG]	Query for Media
2023-10-13	12:33:40	856	[DEBUG]	Executed store
2023-10-13	12:33:40	856	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36173_cassette_msc_9_vitessses_11-46.jpg',`file_url_thumb`='bcprisme/36173_cassette_msc_9_vitessses_11-46.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '479507'
2023-10-13	12:33:40	856	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:40	856	[DEBUG]	Executed store
2023-10-13	12:33:40	856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860348','479507','1')
2023-10-13	12:33:40	856	[DEBUG]	Store product image relation
2023-10-13	12:33:40	856	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:40	856	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860348 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:40	856	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:40	856	[DEBUG]	Executed store
2023-10-13	12:33:40	856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860348','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:40	856	[DEBUG]	Checking manufacturer
2023-10-13	12:33:40	856	[DEBUG]	Load a row
2023-10-13	12:33:40	856	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:40	856	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:40	856	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:40	856	[DEBUG]	Executed store
2023-10-13	12:33:40	856	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:33:40	856	[DEBUG]	Manufacturer exists
2023-10-13	12:33:40	856	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:33:40	856	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:40	856	[DEBUG]	Executed store
2023-10-13	12:33:40	856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860348','32')
2023-10-13	12:33:40	856	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:40	856	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:40	856	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860348 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:40	856	[DEBUG]	Store custom available field
2023-10-13	12:33:40	856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860348,3,'',1)
2023-10-13	12:33:40	856	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:40	856	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:33:40	856	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860348 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:40	856	[DEBUG]	Store custom available field
2023-10-13	12:33:40	856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860348,6,'All',3)
2023-10-13	12:33:40	856	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:40	856	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:40	856	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860347
2023-10-13	12:33:40	856	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:40	856	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860347\":[1860347,8,1,\"choisir la taille\"],\"1860348\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860347
2023-10-13	12:33:40	856	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:40	856	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860348
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:40	857	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field taille
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:40	857	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:40	857	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:40	857	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:40	857	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:40	857	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:40	857	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field published
2023-10-13	12:33:40	857	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:40	857	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field override
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:40	857	[DEBUG]	Use field value for field slug
2023-10-13	12:33:40	857	[DEBUG]	Process line 857
2023-10-13	12:33:40	857	[DEBUG]	Load a row
2023-10-13	12:33:40	857	[DEBUG]	Processing item: A_7801_208
2023-10-13	12:33:40	857	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:40	857	[DEBUG]	Processing product tax
2023-10-13	12:33:40	857	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:40	857	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:40	857	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:40	857	[DEBUG]	Query for Product
2023-10-13	12:33:40	857	[DEBUG]	Executed store
2023-10-13	12:33:40	857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7801_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:40	857	[DEBUG]	Check product language entry
2023-10-13	12:33:40	857	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860349
2023-10-13	12:33:40	857	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:40	857	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7801_208' AND `virtuemart_product_id` != 1860349
2023-10-13	12:33:40	857	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:40	857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860349, 'A_7801_208')
2023-10-13	12:33:40	857	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:40	857	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-cs-m4100-10-vitesses-11-46-dents-box-aucune' AND `virtuemart_product_id` != 1860349
2023-10-13	12:33:40	857	[DEBUG]	Query for ProductLang
2023-10-13	12:33:40	857	[DEBUG]	Executed store
2023-10-13	12:33:40	857	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.77886',`product_name`='SHIMANO cassette Deore CS-M4100 10 vitesses 11-46 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-cs-m4100-10-vitesses-11-46-dents-box-aucune' WHERE `virtuemart_product_id` = '1860349'
2023-10-13	12:33:40	857	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_77886_001_jpg.jpg
2023-10-13	12:33:40	857	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:40	857	[DEBUG]	Process image file
2023-10-13	12:33:40	857	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:40	857	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:40	857	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_77886_001_jpg.jpg
2023-10-13	12:33:40	857	[DEBUG]	Full name target: bcprisme/67_77886_001_jpg.jpg
2023-10-13	12:33:41	857	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:41	857	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_77886_001_jpg.jpg'
2023-10-13	12:33:41	857	[DEBUG]	Query for Media
2023-10-13	12:33:41	857	[DEBUG]	Executed store
2023-10-13	12:33:41	857	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_77886_001_jpg.jpg',`file_url_thumb`='bcprisme/67_77886_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '725283'
2023-10-13	12:33:41	857	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:41	857	[DEBUG]	Executed store
2023-10-13	12:33:41	857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860349','725283','1')
2023-10-13	12:33:41	857	[DEBUG]	Store product image relation
2023-10-13	12:33:41	857	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:41	857	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860349 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:41	857	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:41	857	[DEBUG]	Executed store
2023-10-13	12:33:41	857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860349','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:41	857	[DEBUG]	Checking manufacturer
2023-10-13	12:33:41	857	[DEBUG]	Load a row
2023-10-13	12:33:41	857	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:41	857	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:41	857	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:41	857	[DEBUG]	Executed store
2023-10-13	12:33:41	857	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:41	857	[DEBUG]	Manufacturer exists
2023-10-13	12:33:41	857	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:41	857	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:41	857	[DEBUG]	Executed store
2023-10-13	12:33:41	857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860349','26')
2023-10-13	12:33:41	857	[DEBUG]	Find the custom field ID
2023-10-13	12:33:41	857	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:41	857	[DEBUG]	No custom field ID found
2023-10-13	12:33:41	857	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:41	857	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:41	857	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860349 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:41	857	[DEBUG]	Store custom available field
2023-10-13	12:33:41	857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860349,3,'0',1)
2023-10-13	12:33:41	857	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:41	857	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:41	857	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860349 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:41	857	[DEBUG]	Store custom available field
2023-10-13	12:33:41	857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860349,6,'choisir la taille',3)
2023-10-13	12:33:41	857	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:41	857	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:41	857	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:41	857	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:41	857	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860349 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:41	857	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:41	857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860349,8,1)
2023-10-13	12:33:41	857	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:41	857	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860349\":[1860349,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860349
2023-10-13	12:33:41	857	[DEBUG]	Checking category
2023-10-13	12:33:41	857	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:41	857	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860349
2023-10-13	12:33:41	857	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:41	857	[DEBUG]	Executed store
2023-10-13	12:33:41	857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860349','7283')
2023-10-13	12:33:41	857	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:41	857	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860349 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:41	857	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:41	857	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860349
2023-10-13	12:33:41	858	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:41	858	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:41	858	[DEBUG]	Use field value for field taille
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:41	858	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:41	858	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:41	858	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:41	858	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:41	858	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:41	858	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:41	858	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:41	858	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:41	858	[DEBUG]	Use field value for field published
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:41	858	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field override
2023-10-13	12:33:41	858	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:41	858	[DEBUG]	Use field value for field slug
2023-10-13	12:33:41	858	[DEBUG]	Process line 858
2023-10-13	12:33:41	858	[DEBUG]	Load a row
2023-10-13	12:33:41	858	[DEBUG]	Processing item: 4550170620752
2023-10-13	12:33:41	858	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:41	858	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:41	858	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7801_208'
2023-10-13	12:33:41	858	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:41	858	[DEBUG]	Processing product tax
2023-10-13	12:33:41	858	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:41	858	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:41	858	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:41	858	[DEBUG]	Query for Product
2023-10-13	12:33:41	858	[DEBUG]	Executed store
2023-10-13	12:33:41	858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860349','4550170620752','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:41	858	[DEBUG]	No parent found
2023-10-13	12:33:41	858	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860349 AND customfield_value = 'stockable'
2023-10-13	12:33:41	858	[DEBUG]	Check product language entry
2023-10-13	12:33:41	858	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860350
2023-10-13	12:33:41	858	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:41	858	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170620752' AND `virtuemart_product_id` != 1860350
2023-10-13	12:33:41	858	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:41	858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860350, '4550170620752')
2023-10-13	12:33:41	858	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:41	858	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-cs-m4100-10-vitesses-11-46-dents-box-aucune-unitaire' AND `virtuemart_product_id` != 1860350
2023-10-13	12:33:41	858	[DEBUG]	Query for ProductLang
2023-10-13	12:33:41	858	[DEBUG]	Executed store
2023-10-13	12:33:41	858	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO cassette Deore CS-M4100 10 vitesses 11-46 dents box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-cs-m4100-10-vitesses-11-46-dents-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860350'
2023-10-13	12:33:41	858	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_77886_001_jpg.jpg
2023-10-13	12:33:41	858	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:41	858	[DEBUG]	Process image file
2023-10-13	12:33:41	858	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:41	858	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:41	858	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_77886_001_jpg.jpg
2023-10-13	12:33:41	858	[DEBUG]	Full name target: bcprisme/67_77886_001_jpg.jpg
2023-10-13	12:33:42	858	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:42	858	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_77886_001_jpg.jpg'
2023-10-13	12:33:42	858	[DEBUG]	Query for Media
2023-10-13	12:33:42	858	[DEBUG]	Executed store
2023-10-13	12:33:42	858	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_77886_001_jpg.jpg',`file_url_thumb`='bcprisme/67_77886_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '725283'
2023-10-13	12:33:42	858	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:42	858	[DEBUG]	Executed store
2023-10-13	12:33:42	858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860350','725283','1')
2023-10-13	12:33:42	858	[DEBUG]	Store product image relation
2023-10-13	12:33:42	858	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:42	858	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860350 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:42	858	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:42	858	[DEBUG]	Executed store
2023-10-13	12:33:42	858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860350','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:42	858	[DEBUG]	Checking manufacturer
2023-10-13	12:33:42	858	[DEBUG]	Load a row
2023-10-13	12:33:42	858	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:42	858	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:42	858	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:42	858	[DEBUG]	Executed store
2023-10-13	12:33:42	858	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:42	858	[DEBUG]	Manufacturer exists
2023-10-13	12:33:42	858	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:42	858	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:42	858	[DEBUG]	Executed store
2023-10-13	12:33:42	858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860350','26')
2023-10-13	12:33:42	858	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:42	858	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:42	858	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860350 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:42	858	[DEBUG]	Store custom available field
2023-10-13	12:33:42	858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860350,3,'',1)
2023-10-13	12:33:42	858	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:42	858	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:42	858	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860350 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:42	858	[DEBUG]	Store custom available field
2023-10-13	12:33:42	858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860350,6,'Unitaire',3)
2023-10-13	12:33:42	858	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:42	858	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:42	858	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860349
2023-10-13	12:33:42	858	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:42	858	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860349\":[1860349,8,1,\"choisir la taille\"],\"1860350\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860349
2023-10-13	12:33:42	858	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:42	858	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860350
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:42	859	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field taille
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:42	859	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:42	859	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:42	859	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:42	859	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:42	859	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:42	859	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field published
2023-10-13	12:33:42	859	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:42	859	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field override
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:42	859	[DEBUG]	Use field value for field slug
2023-10-13	12:33:42	859	[DEBUG]	Process line 859
2023-10-13	12:33:42	859	[DEBUG]	Load a row
2023-10-13	12:33:42	859	[DEBUG]	Processing item: A_7829_0
2023-10-13	12:33:42	859	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:42	859	[DEBUG]	Processing product tax
2023-10-13	12:33:42	859	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:42	859	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:42	859	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:42	859	[DEBUG]	Query for Product
2023-10-13	12:33:42	859	[DEBUG]	Executed store
2023-10-13	12:33:42	859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7829_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:42	859	[DEBUG]	Check product language entry
2023-10-13	12:33:42	859	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860351
2023-10-13	12:33:42	859	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:42	859	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7829_0' AND `virtuemart_product_id` != 1860351
2023-10-13	12:33:42	859	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:42	859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860351, 'A_7829_0')
2023-10-13	12:33:42	859	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:42	859	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-slx-cs-m7000-11-vitesses-11-46-dents-box-unique' AND `virtuemart_product_id` != 1860351
2023-10-13	12:33:42	859	[DEBUG]	Query for ProductLang
2023-10-13	12:33:42	859	[DEBUG]	Executed store
2023-10-13	12:33:42	859	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.69350',`product_name`='SHIMANO Cassette SLX CS-M7000 11-vitesses 11-46 dents box   / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-slx-cs-m7000-11-vitesses-11-46-dents-box-unique' WHERE `virtuemart_product_id` = '1860351'
2023-10-13	12:33:42	859	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36213_cassette_slx_cs-m7000_11-vitesses_11-46_dents_box__.jpg
2023-10-13	12:33:42	859	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:42	859	[DEBUG]	Process image file
2023-10-13	12:33:42	859	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:42	859	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:42	859	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36213_cassette_slx_cs-m7000_11-vitesses_11-46_dents_box__.jpg
2023-10-13	12:33:42	859	[DEBUG]	Full name target: bcprisme/36213_cassette_slx_cs-m7000_11-vitesses_11-46_dents_box__.jpg
2023-10-13	12:33:43	859	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:43	859	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36213_cassette_slx_cs-m7000_11-vitesses_11-46_dents_box__.jpg'
2023-10-13	12:33:43	859	[DEBUG]	Query for Media
2023-10-13	12:33:43	859	[DEBUG]	Executed store
2023-10-13	12:33:43	859	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36213_cassette_slx_cs-m7000_11-vitesses_11-46_dents_box__.jpg',`file_url_thumb`='bcprisme/36213_cassette_slx_cs-m7000_11-vitesses_11-46_dents_box__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '479509'
2023-10-13	12:33:43	859	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:43	859	[DEBUG]	Executed store
2023-10-13	12:33:43	859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860351','479509','1')
2023-10-13	12:33:43	859	[DEBUG]	Store product image relation
2023-10-13	12:33:43	859	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:43	859	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860351 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:43	859	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:43	859	[DEBUG]	Executed store
2023-10-13	12:33:43	859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860351','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:43	859	[DEBUG]	Checking manufacturer
2023-10-13	12:33:43	859	[DEBUG]	Load a row
2023-10-13	12:33:43	859	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:43	859	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:43	859	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:43	859	[DEBUG]	Executed store
2023-10-13	12:33:43	859	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:43	859	[DEBUG]	Manufacturer exists
2023-10-13	12:33:43	859	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:43	859	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:43	859	[DEBUG]	Executed store
2023-10-13	12:33:43	859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860351','26')
2023-10-13	12:33:43	859	[DEBUG]	Find the custom field ID
2023-10-13	12:33:43	859	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:43	859	[DEBUG]	No custom field ID found
2023-10-13	12:33:43	859	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:43	859	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:43	859	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860351 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:43	859	[DEBUG]	Store custom available field
2023-10-13	12:33:43	859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860351,3,'0',1)
2023-10-13	12:33:43	859	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:43	859	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:43	859	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860351 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:43	859	[DEBUG]	Store custom available field
2023-10-13	12:33:43	859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860351,6,'choisir la taille',3)
2023-10-13	12:33:43	859	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:43	859	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:43	859	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:43	859	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:43	859	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860351 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:43	859	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:43	859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860351,8,1)
2023-10-13	12:33:43	859	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:43	859	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860351\":[1860351,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860351
2023-10-13	12:33:43	859	[DEBUG]	Checking category
2023-10-13	12:33:43	859	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:43	859	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860351
2023-10-13	12:33:43	859	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:43	859	[DEBUG]	Executed store
2023-10-13	12:33:43	859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860351','7283')
2023-10-13	12:33:43	859	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:43	859	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860351 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:43	859	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:43	859	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860351
2023-10-13	12:33:43	860	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:43	860	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:43	860	[DEBUG]	Use field value for field taille
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:43	860	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:43	860	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:43	860	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:43	860	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:43	860	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:43	860	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:43	860	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:43	860	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:43	860	[DEBUG]	Use field value for field published
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:43	860	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field override
2023-10-13	12:33:43	860	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:43	860	[DEBUG]	Use field value for field slug
2023-10-13	12:33:43	860	[DEBUG]	Process line 860
2023-10-13	12:33:43	860	[DEBUG]	Load a row
2023-10-13	12:33:43	860	[DEBUG]	Processing item: 4524667392507
2023-10-13	12:33:43	860	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:43	860	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:43	860	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7829_0'
2023-10-13	12:33:43	860	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:43	860	[DEBUG]	Processing product tax
2023-10-13	12:33:43	860	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:43	860	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:43	860	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:43	860	[DEBUG]	Query for Product
2023-10-13	12:33:43	860	[DEBUG]	Executed store
2023-10-13	12:33:43	860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860351','4524667392507','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:43	860	[DEBUG]	No parent found
2023-10-13	12:33:43	860	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860351 AND customfield_value = 'stockable'
2023-10-13	12:33:43	860	[DEBUG]	Check product language entry
2023-10-13	12:33:43	860	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860352
2023-10-13	12:33:43	860	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:43	860	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667392507' AND `virtuemart_product_id` != 1860352
2023-10-13	12:33:43	860	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:43	860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860352, '4524667392507')
2023-10-13	12:33:43	860	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:43	860	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-slx-cs-m7000-11-vitesses-11-46-dents-box-unique-all' AND `virtuemart_product_id` != 1860352
2023-10-13	12:33:43	860	[DEBUG]	Query for ProductLang
2023-10-13	12:33:43	860	[DEBUG]	Executed store
2023-10-13	12:33:43	860	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette SLX CS-M7000 11-vitesses 11-46 dents box   / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-slx-cs-m7000-11-vitesses-11-46-dents-box-unique-all' WHERE `virtuemart_product_id` = '1860352'
2023-10-13	12:33:43	860	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36213_cassette_slx_cs-m7000_11-vitesses_11-46_dents_box__.jpg
2023-10-13	12:33:43	860	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:43	860	[DEBUG]	Process image file
2023-10-13	12:33:43	860	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:43	860	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:43	860	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36213_cassette_slx_cs-m7000_11-vitesses_11-46_dents_box__.jpg
2023-10-13	12:33:43	860	[DEBUG]	Full name target: bcprisme/36213_cassette_slx_cs-m7000_11-vitesses_11-46_dents_box__.jpg
2023-10-13	12:33:44	860	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:44	860	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36213_cassette_slx_cs-m7000_11-vitesses_11-46_dents_box__.jpg'
2023-10-13	12:33:44	860	[DEBUG]	Query for Media
2023-10-13	12:33:44	860	[DEBUG]	Executed store
2023-10-13	12:33:44	860	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36213_cassette_slx_cs-m7000_11-vitesses_11-46_dents_box__.jpg',`file_url_thumb`='bcprisme/36213_cassette_slx_cs-m7000_11-vitesses_11-46_dents_box__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '479509'
2023-10-13	12:33:44	860	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:44	860	[DEBUG]	Executed store
2023-10-13	12:33:44	860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860352','479509','1')
2023-10-13	12:33:44	860	[DEBUG]	Store product image relation
2023-10-13	12:33:44	860	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:44	860	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860352 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:44	860	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:44	860	[DEBUG]	Executed store
2023-10-13	12:33:44	860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860352','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:44	860	[DEBUG]	Checking manufacturer
2023-10-13	12:33:44	860	[DEBUG]	Load a row
2023-10-13	12:33:44	860	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:44	860	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:44	860	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:44	860	[DEBUG]	Executed store
2023-10-13	12:33:44	860	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:44	860	[DEBUG]	Manufacturer exists
2023-10-13	12:33:44	860	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:44	860	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:44	860	[DEBUG]	Executed store
2023-10-13	12:33:44	860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860352','26')
2023-10-13	12:33:44	860	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:44	860	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:44	860	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860352 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:44	860	[DEBUG]	Store custom available field
2023-10-13	12:33:44	860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860352,3,'',1)
2023-10-13	12:33:44	860	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:44	860	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:33:44	860	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860352 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:44	860	[DEBUG]	Store custom available field
2023-10-13	12:33:44	860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860352,6,'All',3)
2023-10-13	12:33:44	860	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:44	860	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:44	860	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860351
2023-10-13	12:33:44	860	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:44	860	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860351\":[1860351,8,1,\"choisir la taille\"],\"1860352\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860351
2023-10-13	12:33:44	860	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:44	860	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860352
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:44	861	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field taille
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:44	861	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:44	861	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:44	861	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:44	861	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:44	861	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:44	861	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field published
2023-10-13	12:33:44	861	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:44	861	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field override
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:44	861	[DEBUG]	Use field value for field slug
2023-10-13	12:33:44	861	[DEBUG]	Process line 861
2023-10-13	12:33:44	861	[DEBUG]	Load a row
2023-10-13	12:33:44	861	[DEBUG]	Processing item: A_7834_208
2023-10-13	12:33:44	861	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:44	861	[DEBUG]	Processing product tax
2023-10-13	12:33:44	861	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:44	861	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:44	861	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:44	861	[DEBUG]	Query for Product
2023-10-13	12:33:44	861	[DEBUG]	Executed store
2023-10-13	12:33:44	861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7834_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:44	861	[DEBUG]	Check product language entry
2023-10-13	12:33:44	861	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860353
2023-10-13	12:33:44	861	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:44	861	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7834_208' AND `virtuemart_product_id` != 1860353
2023-10-13	12:33:44	861	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:44	861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860353, 'A_7834_208')
2023-10-13	12:33:44	861	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:44	861	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-cs-m5100-11-vitesses-11-51-dents-box-aucune' AND `virtuemart_product_id` != 1860353
2023-10-13	12:33:44	861	[DEBUG]	Query for ProductLang
2023-10-13	12:33:44	861	[DEBUG]	Executed store
2023-10-13	12:33:44	861	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.78003',`product_name`='SHIMANO cassette Deore CS-M5100 11-vitesses 11-51 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-cs-m5100-11-vitesses-11-51-dents-box-aucune' WHERE `virtuemart_product_id` = '1860353'
2023-10-13	12:33:44	861	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_78003_001_jpg.jpg
2023-10-13	12:33:44	861	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:44	861	[DEBUG]	Process image file
2023-10-13	12:33:44	861	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:44	861	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:44	861	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_78003_001_jpg.jpg
2023-10-13	12:33:44	861	[DEBUG]	Full name target: bcprisme/67_78003_001_jpg.jpg
2023-10-13	12:33:45	861	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:45	861	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_78003_001_jpg.jpg'
2023-10-13	12:33:45	861	[DEBUG]	Query for Media
2023-10-13	12:33:45	861	[DEBUG]	Executed store
2023-10-13	12:33:45	861	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_78003_001_jpg.jpg',`file_url_thumb`='bcprisme/67_78003_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '479511'
2023-10-13	12:33:45	861	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:45	861	[DEBUG]	Executed store
2023-10-13	12:33:45	861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860353','479511','1')
2023-10-13	12:33:45	861	[DEBUG]	Store product image relation
2023-10-13	12:33:45	861	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:45	861	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860353 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:45	861	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:45	861	[DEBUG]	Executed store
2023-10-13	12:33:45	861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860353','0','88.1151346332405','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:45	861	[DEBUG]	Checking manufacturer
2023-10-13	12:33:45	861	[DEBUG]	Load a row
2023-10-13	12:33:45	861	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:45	861	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:45	861	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:45	861	[DEBUG]	Executed store
2023-10-13	12:33:45	861	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:45	861	[DEBUG]	Manufacturer exists
2023-10-13	12:33:45	861	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:45	861	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:45	861	[DEBUG]	Executed store
2023-10-13	12:33:45	861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860353','26')
2023-10-13	12:33:45	861	[DEBUG]	Find the custom field ID
2023-10-13	12:33:45	861	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:45	861	[DEBUG]	No custom field ID found
2023-10-13	12:33:45	861	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:45	861	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:45	861	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860353 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:45	861	[DEBUG]	Store custom available field
2023-10-13	12:33:45	861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860353,3,'0',1)
2023-10-13	12:33:45	861	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:45	861	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:45	861	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860353 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:45	861	[DEBUG]	Store custom available field
2023-10-13	12:33:45	861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860353,6,'choisir la taille',3)
2023-10-13	12:33:45	861	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:45	861	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:45	861	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:45	861	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:45	861	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860353 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:45	861	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:45	861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860353,8,1)
2023-10-13	12:33:45	861	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:45	861	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860353\":[1860353,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860353
2023-10-13	12:33:45	861	[DEBUG]	Checking category
2023-10-13	12:33:45	861	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:45	861	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860353
2023-10-13	12:33:45	861	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:45	861	[DEBUG]	Executed store
2023-10-13	12:33:45	861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860353','7283')
2023-10-13	12:33:45	861	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:45	861	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860353 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:45	861	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:45	861	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860353
2023-10-13	12:33:45	862	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:45	862	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:45	862	[DEBUG]	Use field value for field taille
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:45	862	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:45	862	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:45	862	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:45	862	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:45	862	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:45	862	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:45	862	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:45	862	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:45	862	[DEBUG]	Use field value for field published
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:45	862	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field override
2023-10-13	12:33:45	862	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:45	862	[DEBUG]	Use field value for field slug
2023-10-13	12:33:45	862	[DEBUG]	Process line 862
2023-10-13	12:33:45	862	[DEBUG]	Load a row
2023-10-13	12:33:45	862	[DEBUG]	Processing item: 4550170618728
2023-10-13	12:33:45	862	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:45	862	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:45	862	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7834_208'
2023-10-13	12:33:45	862	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:45	862	[DEBUG]	Processing product tax
2023-10-13	12:33:45	862	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:45	862	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:45	862	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:45	862	[DEBUG]	Query for Product
2023-10-13	12:33:45	862	[DEBUG]	Executed store
2023-10-13	12:33:45	862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860353','4550170618728','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:45	862	[DEBUG]	No parent found
2023-10-13	12:33:45	862	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860353 AND customfield_value = 'stockable'
2023-10-13	12:33:45	862	[DEBUG]	Check product language entry
2023-10-13	12:33:45	862	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860354
2023-10-13	12:33:45	862	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:45	862	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170618728' AND `virtuemart_product_id` != 1860354
2023-10-13	12:33:45	862	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:45	862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860354, '4550170618728')
2023-10-13	12:33:45	862	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:45	862	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-cs-m5100-11-vitesses-11-51-dents-box-aucune-unitaire' AND `virtuemart_product_id` != 1860354
2023-10-13	12:33:45	862	[DEBUG]	Query for ProductLang
2023-10-13	12:33:45	862	[DEBUG]	Executed store
2023-10-13	12:33:45	862	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO cassette Deore CS-M5100 11-vitesses 11-51 dents box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-cs-m5100-11-vitesses-11-51-dents-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860354'
2023-10-13	12:33:45	862	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_78003_001_jpg.jpg
2023-10-13	12:33:45	862	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:45	862	[DEBUG]	Process image file
2023-10-13	12:33:45	862	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:45	862	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:45	862	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_78003_001_jpg.jpg
2023-10-13	12:33:45	862	[DEBUG]	Full name target: bcprisme/67_78003_001_jpg.jpg
2023-10-13	12:33:46	862	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:46	862	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_78003_001_jpg.jpg'
2023-10-13	12:33:46	862	[DEBUG]	Query for Media
2023-10-13	12:33:46	862	[DEBUG]	Executed store
2023-10-13	12:33:46	862	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_78003_001_jpg.jpg',`file_url_thumb`='bcprisme/67_78003_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '479511'
2023-10-13	12:33:46	862	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:46	862	[DEBUG]	Executed store
2023-10-13	12:33:46	862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860354','479511','1')
2023-10-13	12:33:46	862	[DEBUG]	Store product image relation
2023-10-13	12:33:46	862	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:46	862	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860354 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:46	862	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:46	862	[DEBUG]	Executed store
2023-10-13	12:33:46	862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860354','0','88.1151346332405','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:46	862	[DEBUG]	Checking manufacturer
2023-10-13	12:33:46	862	[DEBUG]	Load a row
2023-10-13	12:33:46	862	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:46	862	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:46	862	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:46	862	[DEBUG]	Executed store
2023-10-13	12:33:46	862	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:46	862	[DEBUG]	Manufacturer exists
2023-10-13	12:33:46	862	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:46	862	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:46	862	[DEBUG]	Executed store
2023-10-13	12:33:46	862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860354','26')
2023-10-13	12:33:46	862	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:46	862	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:46	862	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860354 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:46	862	[DEBUG]	Store custom available field
2023-10-13	12:33:46	862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860354,3,'',1)
2023-10-13	12:33:46	862	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:46	862	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:46	862	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860354 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:46	862	[DEBUG]	Store custom available field
2023-10-13	12:33:46	862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860354,6,'Unitaire',3)
2023-10-13	12:33:46	862	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:46	862	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:46	862	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860353
2023-10-13	12:33:46	862	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:46	862	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860353\":[1860353,8,1,\"choisir la taille\"],\"1860354\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860353
2023-10-13	12:33:46	862	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:46	862	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860354
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:46	863	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field taille
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:46	863	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:46	863	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:46	863	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:46	863	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:46	863	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:46	863	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field published
2023-10-13	12:33:46	863	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:46	863	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field override
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:46	863	[DEBUG]	Use field value for field slug
2023-10-13	12:33:46	863	[DEBUG]	Process line 863
2023-10-13	12:33:46	863	[DEBUG]	Load a row
2023-10-13	12:33:46	863	[DEBUG]	Processing item: A_7893_208
2023-10-13	12:33:46	863	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:46	863	[DEBUG]	Processing product tax
2023-10-13	12:33:46	863	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:46	863	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:46	863	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:46	863	[DEBUG]	Query for Product
2023-10-13	12:33:46	863	[DEBUG]	Executed store
2023-10-13	12:33:46	863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7893_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:46	863	[DEBUG]	Check product language entry
2023-10-13	12:33:46	863	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860355
2023-10-13	12:33:46	863	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:46	863	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7893_208' AND `virtuemart_product_id` != 1860355
2023-10-13	12:33:46	863	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:46	863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860355, 'A_7893_208')
2023-10-13	12:33:46	863	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:46	863	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-cs-m4100-10-vitesses-11-42-dents-box-aucune' AND `virtuemart_product_id` != 1860355
2023-10-13	12:33:46	863	[DEBUG]	Query for ProductLang
2023-10-13	12:33:46	863	[DEBUG]	Executed store
2023-10-13	12:33:46	863	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.77884',`product_name`='SHIMANO cassette Deore CS-M4100 10 vitesses 11-42 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-cs-m4100-10-vitesses-11-42-dents-box-aucune' WHERE `virtuemart_product_id` = '1860355'
2023-10-13	12:33:46	863	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_77886_001_jpg.jpg
2023-10-13	12:33:46	863	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:46	863	[DEBUG]	Process image file
2023-10-13	12:33:46	863	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:46	863	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:46	863	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_77886_001_jpg.jpg
2023-10-13	12:33:46	863	[DEBUG]	Full name target: bcprisme/67_77886_001_jpg.jpg
2023-10-13	12:33:47	863	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:47	863	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_77886_001_jpg.jpg'
2023-10-13	12:33:47	863	[DEBUG]	Query for Media
2023-10-13	12:33:47	863	[DEBUG]	Executed store
2023-10-13	12:33:47	863	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_77886_001_jpg.jpg',`file_url_thumb`='bcprisme/67_77886_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '725283'
2023-10-13	12:33:47	863	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:47	863	[DEBUG]	Executed store
2023-10-13	12:33:47	863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860355','725283','1')
2023-10-13	12:33:47	863	[DEBUG]	Store product image relation
2023-10-13	12:33:47	863	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:47	863	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860355 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:47	863	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:47	863	[DEBUG]	Executed store
2023-10-13	12:33:47	863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860355','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:47	863	[DEBUG]	Checking manufacturer
2023-10-13	12:33:47	863	[DEBUG]	Load a row
2023-10-13	12:33:47	863	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:47	863	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:47	863	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:47	863	[DEBUG]	Executed store
2023-10-13	12:33:47	863	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:47	863	[DEBUG]	Manufacturer exists
2023-10-13	12:33:47	863	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:47	863	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:47	863	[DEBUG]	Executed store
2023-10-13	12:33:47	863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860355','26')
2023-10-13	12:33:47	863	[DEBUG]	Find the custom field ID
2023-10-13	12:33:47	863	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:47	863	[DEBUG]	No custom field ID found
2023-10-13	12:33:47	863	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:47	863	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:47	863	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860355 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:47	863	[DEBUG]	Store custom available field
2023-10-13	12:33:47	863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860355,3,'0',1)
2023-10-13	12:33:47	863	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:47	863	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:47	863	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860355 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:47	863	[DEBUG]	Store custom available field
2023-10-13	12:33:47	863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860355,6,'choisir la taille',3)
2023-10-13	12:33:47	863	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:47	863	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:47	863	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:47	863	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:47	863	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860355 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:47	863	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:47	863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860355,8,1)
2023-10-13	12:33:47	863	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:47	863	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860355\":[1860355,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860355
2023-10-13	12:33:47	863	[DEBUG]	Checking category
2023-10-13	12:33:47	863	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:47	863	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860355
2023-10-13	12:33:47	863	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:47	863	[DEBUG]	Executed store
2023-10-13	12:33:47	863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860355','7283')
2023-10-13	12:33:47	863	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:47	863	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860355 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:47	863	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:47	863	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860355
2023-10-13	12:33:47	864	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:47	864	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:47	864	[DEBUG]	Use field value for field taille
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:47	864	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:47	864	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:47	864	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:47	864	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:47	864	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:47	864	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:47	864	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:47	864	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:47	864	[DEBUG]	Use field value for field published
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:47	864	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field override
2023-10-13	12:33:47	864	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:47	864	[DEBUG]	Use field value for field slug
2023-10-13	12:33:47	864	[DEBUG]	Process line 864
2023-10-13	12:33:47	864	[DEBUG]	Load a row
2023-10-13	12:33:47	864	[DEBUG]	Processing item: 4550170620769
2023-10-13	12:33:47	864	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:47	864	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:47	864	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7893_208'
2023-10-13	12:33:47	864	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:47	864	[DEBUG]	Processing product tax
2023-10-13	12:33:47	864	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:47	864	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:47	864	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:47	864	[DEBUG]	Query for Product
2023-10-13	12:33:47	864	[DEBUG]	Executed store
2023-10-13	12:33:47	864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860355','4550170620769','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:47	864	[DEBUG]	No parent found
2023-10-13	12:33:47	864	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860355 AND customfield_value = 'stockable'
2023-10-13	12:33:47	864	[DEBUG]	Check product language entry
2023-10-13	12:33:47	864	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860356
2023-10-13	12:33:47	864	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:47	864	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170620769' AND `virtuemart_product_id` != 1860356
2023-10-13	12:33:47	864	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:47	864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860356, '4550170620769')
2023-10-13	12:33:47	864	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:47	864	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-cs-m4100-10-vitesses-11-42-dents-box-aucune-unitaire' AND `virtuemart_product_id` != 1860356
2023-10-13	12:33:47	864	[DEBUG]	Query for ProductLang
2023-10-13	12:33:47	864	[DEBUG]	Executed store
2023-10-13	12:33:47	864	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO cassette Deore CS-M4100 10 vitesses 11-42 dents box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-cs-m4100-10-vitesses-11-42-dents-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860356'
2023-10-13	12:33:47	864	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_77886_001_jpg.jpg
2023-10-13	12:33:47	864	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:47	864	[DEBUG]	Process image file
2023-10-13	12:33:47	864	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:47	864	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:47	864	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_77886_001_jpg.jpg
2023-10-13	12:33:47	864	[DEBUG]	Full name target: bcprisme/67_77886_001_jpg.jpg
2023-10-13	12:33:48	864	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:48	864	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_77886_001_jpg.jpg'
2023-10-13	12:33:48	864	[DEBUG]	Query for Media
2023-10-13	12:33:48	864	[DEBUG]	Executed store
2023-10-13	12:33:48	864	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_77886_001_jpg.jpg',`file_url_thumb`='bcprisme/67_77886_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '725283'
2023-10-13	12:33:48	864	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:48	864	[DEBUG]	Executed store
2023-10-13	12:33:48	864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860356','725283','1')
2023-10-13	12:33:48	864	[DEBUG]	Store product image relation
2023-10-13	12:33:48	864	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:48	864	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860356 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:48	864	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:48	864	[DEBUG]	Executed store
2023-10-13	12:33:48	864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860356','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:48	864	[DEBUG]	Checking manufacturer
2023-10-13	12:33:48	864	[DEBUG]	Load a row
2023-10-13	12:33:48	864	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:48	864	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:48	864	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:48	864	[DEBUG]	Executed store
2023-10-13	12:33:48	864	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:48	864	[DEBUG]	Manufacturer exists
2023-10-13	12:33:48	864	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:48	864	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:48	864	[DEBUG]	Executed store
2023-10-13	12:33:48	864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860356','26')
2023-10-13	12:33:48	864	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:48	864	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:48	864	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860356 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:48	864	[DEBUG]	Store custom available field
2023-10-13	12:33:48	864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860356,3,'',1)
2023-10-13	12:33:48	864	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:48	864	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:48	864	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860356 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:48	864	[DEBUG]	Store custom available field
2023-10-13	12:33:48	864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860356,6,'Unitaire',3)
2023-10-13	12:33:48	864	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:48	864	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:48	864	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860355
2023-10-13	12:33:48	864	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:48	864	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860355\":[1860355,8,1,\"choisir la taille\"],\"1860356\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860355
2023-10-13	12:33:48	864	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:48	864	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860356
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:48	865	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field taille
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:48	865	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:48	865	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:48	865	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:48	865	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:48	865	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:48	865	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field published
2023-10-13	12:33:48	865	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:48	865	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field override
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:48	865	[DEBUG]	Use field value for field slug
2023-10-13	12:33:48	865	[DEBUG]	Process line 865
2023-10-13	12:33:48	865	[DEBUG]	Load a row
2023-10-13	12:33:48	865	[DEBUG]	Processing item: A_8047_13
2023-10-13	12:33:48	865	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:48	865	[DEBUG]	Processing product tax
2023-10-13	12:33:48	865	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:48	865	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:48	865	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:48	865	[DEBUG]	Query for Product
2023-10-13	12:33:48	865	[DEBUG]	Executed store
2023-10-13	12:33:48	865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8047_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:48	865	[DEBUG]	Check product language entry
2023-10-13	12:33:48	865	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860357
2023-10-13	12:33:48	865	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:48	865	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8047_13' AND `virtuemart_product_id` != 1860357
2023-10-13	12:33:48	865	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:48	865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860357, 'A_8047_13')
2023-10-13	12:33:48	865	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:48	865	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1270-d1-silver-12-vit-10-28-force-axs-argent' AND `virtuemart_product_id` != 1860357
2023-10-13	12:33:48	865	[DEBUG]	Query for ProductLang
2023-10-13	12:33:48	865	[DEBUG]	Executed store
2023-10-13	12:33:48	865	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7565N',`product_name`='SRAM Cassette XG-1270 D1 Silver 12-vit 10-28, Force AXS / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1270-d1-silver-12-vit-10-28-force-axs-argent' WHERE `virtuemart_product_id` = '1860357'
2023-10-13	12:33:48	865	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36553_cassette_xg-1270_d1_silver_12-vit_10-28,_force_axs.jpg
2023-10-13	12:33:48	865	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:48	865	[DEBUG]	Process image file
2023-10-13	12:33:48	865	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:48	865	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:48	865	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36553_cassette_xg-1270_d1_silver_12-vit_10-28,_force_axs.jpg
2023-10-13	12:33:48	865	[DEBUG]	Full name target: bcprisme/36553_cassette_xg-1270_d1_silver_12-vit_10-28,_force_axs.jpg
2023-10-13	12:33:50	865	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:50	865	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36553_cassette_xg-1270_d1_silver_12-vit_10-28,_force_axs.jpg'
2023-10-13	12:33:50	865	[DEBUG]	Query for Media
2023-10-13	12:33:50	865	[DEBUG]	Executed store
2023-10-13	12:33:50	865	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36553_cassette_xg-1270_d1_silver_12-vit_10-28,_force_axs.jpg',`file_url_thumb`='bcprisme/36553_cassette_xg-1270_d1_silver_12-vit_10-28,_force_axs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1499267'
2023-10-13	12:33:50	865	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:50	865	[DEBUG]	Executed store
2023-10-13	12:33:50	865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860357','1499267','1')
2023-10-13	12:33:50	865	[DEBUG]	Store product image relation
2023-10-13	12:33:50	865	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:50	865	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860357 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:50	865	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:50	865	[DEBUG]	Executed store
2023-10-13	12:33:50	865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860357','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:50	865	[DEBUG]	Checking manufacturer
2023-10-13	12:33:50	865	[DEBUG]	Load a row
2023-10-13	12:33:50	865	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:50	865	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:50	865	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:50	865	[DEBUG]	Executed store
2023-10-13	12:33:50	865	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:50	865	[DEBUG]	Manufacturer exists
2023-10-13	12:33:50	865	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:50	865	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:50	865	[DEBUG]	Executed store
2023-10-13	12:33:50	865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860357','35')
2023-10-13	12:33:50	865	[DEBUG]	Find the custom field ID
2023-10-13	12:33:50	865	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:50	865	[DEBUG]	No custom field ID found
2023-10-13	12:33:50	865	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:50	865	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:50	865	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860357 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:50	865	[DEBUG]	Store custom available field
2023-10-13	12:33:50	865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860357,3,'0',1)
2023-10-13	12:33:50	865	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:50	865	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:50	865	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860357 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:50	865	[DEBUG]	Store custom available field
2023-10-13	12:33:50	865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860357,6,'choisir la taille',3)
2023-10-13	12:33:50	865	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:50	865	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:50	865	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:50	865	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:50	865	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860357 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:50	865	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:50	865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860357,8,1)
2023-10-13	12:33:50	865	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:50	865	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860357\":[1860357,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860357
2023-10-13	12:33:50	865	[DEBUG]	Checking category
2023-10-13	12:33:50	865	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:50	865	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860357
2023-10-13	12:33:50	865	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:50	865	[DEBUG]	Executed store
2023-10-13	12:33:50	865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860357','7283')
2023-10-13	12:33:50	865	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:50	865	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860357 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:50	865	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:50	865	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860357
2023-10-13	12:33:50	866	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:50	866	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:50	866	[DEBUG]	Use field value for field taille
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:50	866	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:50	866	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:50	866	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:50	866	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:50	866	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:50	866	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:50	866	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:50	866	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:50	866	[DEBUG]	Use field value for field published
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:50	866	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field override
2023-10-13	12:33:50	866	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:50	866	[DEBUG]	Use field value for field slug
2023-10-13	12:33:50	866	[DEBUG]	Process line 866
2023-10-13	12:33:50	866	[DEBUG]	Load a row
2023-10-13	12:33:50	866	[DEBUG]	Processing item: 42T01107657
2023-10-13	12:33:50	866	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:50	866	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:50	866	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8047_13'
2023-10-13	12:33:50	866	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:50	866	[DEBUG]	Processing product tax
2023-10-13	12:33:50	866	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:50	866	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:50	866	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:50	866	[DEBUG]	Query for Product
2023-10-13	12:33:50	866	[DEBUG]	Executed store
2023-10-13	12:33:50	866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860357','42T01107657','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:50	866	[DEBUG]	No parent found
2023-10-13	12:33:50	866	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860357 AND customfield_value = 'stockable'
2023-10-13	12:33:50	866	[DEBUG]	Check product language entry
2023-10-13	12:33:50	866	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860358
2023-10-13	12:33:50	866	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:50	866	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '42T01107657' AND `virtuemart_product_id` != 1860358
2023-10-13	12:33:50	866	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:50	866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860358, '42T01107657')
2023-10-13	12:33:50	866	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:50	866	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1270-d1-silver-12-vit-10-28-force-axs-argent-unitaire' AND `virtuemart_product_id` != 1860358
2023-10-13	12:33:50	866	[DEBUG]	Query for ProductLang
2023-10-13	12:33:50	866	[DEBUG]	Executed store
2023-10-13	12:33:50	866	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1270 D1 Silver 12-vit 10-28, Force AXS / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1270-d1-silver-12-vit-10-28-force-axs-argent-unitaire' WHERE `virtuemart_product_id` = '1860358'
2023-10-13	12:33:50	866	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36553_cassette_xg-1270_d1_silver_12-vit_10-28,_force_axs.jpg
2023-10-13	12:33:50	866	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:50	866	[DEBUG]	Process image file
2023-10-13	12:33:50	866	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:50	866	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:50	866	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36553_cassette_xg-1270_d1_silver_12-vit_10-28,_force_axs.jpg
2023-10-13	12:33:50	866	[DEBUG]	Full name target: bcprisme/36553_cassette_xg-1270_d1_silver_12-vit_10-28,_force_axs.jpg
2023-10-13	12:33:51	866	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:51	866	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36553_cassette_xg-1270_d1_silver_12-vit_10-28,_force_axs.jpg'
2023-10-13	12:33:51	866	[DEBUG]	Query for Media
2023-10-13	12:33:51	866	[DEBUG]	Executed store
2023-10-13	12:33:51	866	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36553_cassette_xg-1270_d1_silver_12-vit_10-28,_force_axs.jpg',`file_url_thumb`='bcprisme/36553_cassette_xg-1270_d1_silver_12-vit_10-28,_force_axs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1499267'
2023-10-13	12:33:51	866	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:51	866	[DEBUG]	Executed store
2023-10-13	12:33:51	866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860358','1499267','1')
2023-10-13	12:33:51	866	[DEBUG]	Store product image relation
2023-10-13	12:33:51	866	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:51	866	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860358 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:51	866	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:51	866	[DEBUG]	Executed store
2023-10-13	12:33:51	866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860358','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:51	866	[DEBUG]	Checking manufacturer
2023-10-13	12:33:51	866	[DEBUG]	Load a row
2023-10-13	12:33:51	866	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:51	866	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:51	866	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:51	866	[DEBUG]	Executed store
2023-10-13	12:33:51	866	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:51	866	[DEBUG]	Manufacturer exists
2023-10-13	12:33:51	866	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:51	866	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:51	866	[DEBUG]	Executed store
2023-10-13	12:33:51	866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860358','35')
2023-10-13	12:33:51	866	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:51	866	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:51	866	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860358 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:51	866	[DEBUG]	Store custom available field
2023-10-13	12:33:51	866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860358,3,'',1)
2023-10-13	12:33:51	866	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:51	866	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:51	866	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860358 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:51	866	[DEBUG]	Store custom available field
2023-10-13	12:33:51	866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860358,6,'Unitaire',3)
2023-10-13	12:33:51	866	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:51	866	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:51	866	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860357
2023-10-13	12:33:51	866	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:51	866	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860357\":[1860357,8,1,\"choisir la taille\"],\"1860358\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860357
2023-10-13	12:33:51	866	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:51	866	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860358
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:51	867	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field taille
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:51	867	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:51	867	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:51	867	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:51	867	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:51	867	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:51	867	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field published
2023-10-13	12:33:51	867	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:51	867	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field override
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:51	867	[DEBUG]	Use field value for field slug
2023-10-13	12:33:51	867	[DEBUG]	Process line 867
2023-10-13	12:33:51	867	[DEBUG]	Load a row
2023-10-13	12:33:51	867	[DEBUG]	Processing item: A_8375_4
2023-10-13	12:33:51	867	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:51	867	[DEBUG]	Processing product tax
2023-10-13	12:33:51	867	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:51	867	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:51	867	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:51	867	[DEBUG]	Query for Product
2023-10-13	12:33:51	867	[DEBUG]	Executed store
2023-10-13	12:33:51	867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8375_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:51	867	[DEBUG]	Check product language entry
2023-10-13	12:33:51	867	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860359
2023-10-13	12:33:51	867	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:51	867	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8375_4' AND `virtuemart_product_id` != 1860359
2023-10-13	12:33:51	867	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:51	867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860359, 'A_8375_4')
2023-10-13	12:33:51	867	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:51	867	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pignon-cs-hg81-10-spacer-type-11-denta-acier' AND `virtuemart_product_id` != 1860359
2023-10-13	12:33:51	867	[DEBUG]	Query for ProductLang
2023-10-13	12:33:51	867	[DEBUG]	Executed store
2023-10-13	12:33:51	867	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.51378',`product_name`='SHIMANO Pignon CS-HG81-10 spacer-type 11 denta / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pignon-cs-hg81-10-spacer-type-11-denta-acier' WHERE `virtuemart_product_id` = '1860359'
2023-10-13	12:33:51	867	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37023_shimano_pignon_cs-hg81-10_spacer-type.jpg
2023-10-13	12:33:51	867	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:51	867	[DEBUG]	Process image file
2023-10-13	12:33:51	867	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:51	867	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:51	867	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37023_shimano_pignon_cs-hg81-10_spacer-type.jpg
2023-10-13	12:33:51	867	[DEBUG]	Full name target: bcprisme/37023_shimano_pignon_cs-hg81-10_spacer-type.jpg
2023-10-13	12:33:52	867	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:52	867	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37023_shimano_pignon_cs-hg81-10_spacer-type.jpg'
2023-10-13	12:33:52	867	[DEBUG]	Query for Media
2023-10-13	12:33:52	867	[DEBUG]	Executed store
2023-10-13	12:33:52	867	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37023_shimano_pignon_cs-hg81-10_spacer-type.jpg',`file_url_thumb`='bcprisme/37023_shimano_pignon_cs-hg81-10_spacer-type.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '806663'
2023-10-13	12:33:52	867	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:52	867	[DEBUG]	Executed store
2023-10-13	12:33:52	867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860359','806663','1')
2023-10-13	12:33:52	867	[DEBUG]	Store product image relation
2023-10-13	12:33:52	867	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:52	867	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860359 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:52	867	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:52	867	[DEBUG]	Executed store
2023-10-13	12:33:52	867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860359','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:52	867	[DEBUG]	Checking manufacturer
2023-10-13	12:33:52	867	[DEBUG]	Load a row
2023-10-13	12:33:52	867	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:52	867	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:52	867	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:52	867	[DEBUG]	Executed store
2023-10-13	12:33:52	867	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:52	867	[DEBUG]	Manufacturer exists
2023-10-13	12:33:52	867	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:33:52	867	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:52	867	[DEBUG]	Executed store
2023-10-13	12:33:52	867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860359','123')
2023-10-13	12:33:52	867	[DEBUG]	Find the custom field ID
2023-10-13	12:33:52	867	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:52	867	[DEBUG]	No custom field ID found
2023-10-13	12:33:52	867	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:52	867	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:52	867	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860359 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:52	867	[DEBUG]	Store custom available field
2023-10-13	12:33:52	867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860359,3,'0',1)
2023-10-13	12:33:52	867	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:52	867	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:52	867	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860359 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:52	867	[DEBUG]	Store custom available field
2023-10-13	12:33:52	867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860359,6,'choisir la taille',3)
2023-10-13	12:33:52	867	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:52	867	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:52	867	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:52	867	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:52	867	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860359 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:52	867	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:52	867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860359,8,1)
2023-10-13	12:33:52	867	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:52	867	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860359\":[1860359,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860359
2023-10-13	12:33:52	867	[DEBUG]	Checking category
2023-10-13	12:33:52	867	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:52	867	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860359
2023-10-13	12:33:52	867	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:52	867	[DEBUG]	Executed store
2023-10-13	12:33:52	867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860359','7283')
2023-10-13	12:33:52	867	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:52	867	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860359 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:52	867	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:52	867	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860359
2023-10-13	12:33:52	868	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:52	868	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:52	868	[DEBUG]	Use field value for field taille
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:52	868	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:52	868	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:52	868	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:52	868	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:52	868	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:52	868	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:52	868	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:52	868	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:52	868	[DEBUG]	Use field value for field published
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:52	868	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field override
2023-10-13	12:33:52	868	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:52	868	[DEBUG]	Use field value for field slug
2023-10-13	12:33:52	868	[DEBUG]	Process line 868
2023-10-13	12:33:52	868	[DEBUG]	Load a row
2023-10-13	12:33:52	868	[DEBUG]	Processing item: 1000000151268
2023-10-13	12:33:52	868	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:52	868	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:52	868	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8375_4'
2023-10-13	12:33:52	868	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:52	868	[DEBUG]	Processing product tax
2023-10-13	12:33:52	868	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:52	868	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:52	868	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:52	868	[DEBUG]	Query for Product
2023-10-13	12:33:52	868	[DEBUG]	Executed store
2023-10-13	12:33:52	868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860359','1000000151268','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:52	868	[DEBUG]	No parent found
2023-10-13	12:33:52	868	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860359 AND customfield_value = 'stockable'
2023-10-13	12:33:52	868	[DEBUG]	Check product language entry
2023-10-13	12:33:52	868	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860360
2023-10-13	12:33:52	868	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:52	868	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000151268' AND `virtuemart_product_id` != 1860360
2023-10-13	12:33:52	868	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:52	868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860360, '1000000151268')
2023-10-13	12:33:52	868	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:52	868	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pignon-cs-hg81-10-spacer-type-11-denta-acier-all' AND `virtuemart_product_id` != 1860360
2023-10-13	12:33:52	868	[DEBUG]	Query for ProductLang
2023-10-13	12:33:52	868	[DEBUG]	Executed store
2023-10-13	12:33:52	868	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pignon CS-HG81-10 spacer-type 11 denta / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pignon-cs-hg81-10-spacer-type-11-denta-acier-all' WHERE `virtuemart_product_id` = '1860360'
2023-10-13	12:33:52	868	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37023_shimano_pignon_cs-hg81-10_spacer-type.jpg
2023-10-13	12:33:52	868	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:52	868	[DEBUG]	Process image file
2023-10-13	12:33:52	868	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:52	868	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:52	868	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37023_shimano_pignon_cs-hg81-10_spacer-type.jpg
2023-10-13	12:33:52	868	[DEBUG]	Full name target: bcprisme/37023_shimano_pignon_cs-hg81-10_spacer-type.jpg
2023-10-13	12:33:53	868	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:53	868	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37023_shimano_pignon_cs-hg81-10_spacer-type.jpg'
2023-10-13	12:33:53	868	[DEBUG]	Query for Media
2023-10-13	12:33:53	868	[DEBUG]	Executed store
2023-10-13	12:33:53	868	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37023_shimano_pignon_cs-hg81-10_spacer-type.jpg',`file_url_thumb`='bcprisme/37023_shimano_pignon_cs-hg81-10_spacer-type.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '806663'
2023-10-13	12:33:53	868	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:53	868	[DEBUG]	Executed store
2023-10-13	12:33:53	868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860360','806663','1')
2023-10-13	12:33:53	868	[DEBUG]	Store product image relation
2023-10-13	12:33:53	868	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:53	868	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860360 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:53	868	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:53	868	[DEBUG]	Executed store
2023-10-13	12:33:53	868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860360','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:53	868	[DEBUG]	Checking manufacturer
2023-10-13	12:33:53	868	[DEBUG]	Load a row
2023-10-13	12:33:53	868	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:53	868	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:53	868	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:53	868	[DEBUG]	Executed store
2023-10-13	12:33:53	868	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:33:53	868	[DEBUG]	Manufacturer exists
2023-10-13	12:33:53	868	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:33:53	868	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:53	868	[DEBUG]	Executed store
2023-10-13	12:33:53	868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860360','123')
2023-10-13	12:33:53	868	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:53	868	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:53	868	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860360 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:53	868	[DEBUG]	Store custom available field
2023-10-13	12:33:53	868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860360,3,'',1)
2023-10-13	12:33:53	868	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:53	868	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:33:53	868	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860360 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:53	868	[DEBUG]	Store custom available field
2023-10-13	12:33:53	868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860360,6,'All',3)
2023-10-13	12:33:53	868	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:53	868	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:53	868	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860359
2023-10-13	12:33:53	868	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:53	868	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860359\":[1860359,8,1,\"choisir la taille\"],\"1860360\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860359
2023-10-13	12:33:53	868	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:53	868	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860360
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:53	869	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field taille
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:53	869	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:53	869	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:53	869	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:53	869	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:53	869	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:53	869	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field published
2023-10-13	12:33:53	869	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:53	869	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field override
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:53	869	[DEBUG]	Use field value for field slug
2023-10-13	12:33:53	869	[DEBUG]	Process line 869
2023-10-13	12:33:53	869	[DEBUG]	Load a row
2023-10-13	12:33:53	869	[DEBUG]	Processing item: A_8436_636
2023-10-13	12:33:53	869	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:53	869	[DEBUG]	Processing product tax
2023-10-13	12:33:53	869	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:53	869	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:53	869	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:53	869	[DEBUG]	Query for Product
2023-10-13	12:33:53	869	[DEBUG]	Executed store
2023-10-13	12:33:53	869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8436_636','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:53	869	[DEBUG]	Check product language entry
2023-10-13	12:33:53	869	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860361
2023-10-13	12:33:53	869	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:53	869	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8436_636' AND `virtuemart_product_id` != 1860361
2023-10-13	12:33:53	869	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:53	869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860361, 'A_8436_636')
2023-10-13	12:33:53	869	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:53	869	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1299-eagle-10-50t-12-speed-rainbow-rainbow' AND `virtuemart_product_id` != 1860361
2023-10-13	12:33:53	869	[DEBUG]	Query for ProductLang
2023-10-13	12:33:53	869	[DEBUG]	Executed store
2023-10-13	12:33:53	869	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7555U',`product_name`='SRAM CASSETTE XG-1299 EAGLE 10-50T 12 SPEED RAINBOW / Rainbow',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1299-eagle-10-50t-12-speed-rainbow-rainbow' WHERE `virtuemart_product_id` = '1860361'
2023-10-13	12:33:53	869	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37111_cassette_xg-1299_eagle_10-50t_12_speed_rainbow.jpg
2023-10-13	12:33:53	869	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:53	869	[DEBUG]	Process image file
2023-10-13	12:33:53	869	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:53	869	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:53	869	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37111_cassette_xg-1299_eagle_10-50t_12_speed_rainbow.jpg
2023-10-13	12:33:53	869	[DEBUG]	Full name target: bcprisme/37111_cassette_xg-1299_eagle_10-50t_12_speed_rainbow.jpg
2023-10-13	12:33:54	869	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:54	869	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37111_cassette_xg-1299_eagle_10-50t_12_speed_rainbow.jpg'
2023-10-13	12:33:54	869	[DEBUG]	Query for Media
2023-10-13	12:33:54	869	[DEBUG]	Executed store
2023-10-13	12:33:54	869	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37111_cassette_xg-1299_eagle_10-50t_12_speed_rainbow.jpg',`file_url_thumb`='bcprisme/37111_cassette_xg-1299_eagle_10-50t_12_speed_rainbow.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1329864'
2023-10-13	12:33:54	869	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:54	869	[DEBUG]	Executed store
2023-10-13	12:33:54	869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860361','1329864','1')
2023-10-13	12:33:54	869	[DEBUG]	Store product image relation
2023-10-13	12:33:54	869	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:54	869	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860361 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:54	869	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:54	869	[DEBUG]	Executed store
2023-10-13	12:33:54	869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860361','0','478.180129990715','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:54	869	[DEBUG]	Checking manufacturer
2023-10-13	12:33:54	869	[DEBUG]	Load a row
2023-10-13	12:33:54	869	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:54	869	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:54	869	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:54	869	[DEBUG]	Executed store
2023-10-13	12:33:54	869	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:54	869	[DEBUG]	Manufacturer exists
2023-10-13	12:33:54	869	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:54	869	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:54	869	[DEBUG]	Executed store
2023-10-13	12:33:54	869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860361','35')
2023-10-13	12:33:54	869	[DEBUG]	Find the custom field ID
2023-10-13	12:33:54	869	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:54	869	[DEBUG]	No custom field ID found
2023-10-13	12:33:54	869	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:54	869	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:54	869	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860361 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:54	869	[DEBUG]	Store custom available field
2023-10-13	12:33:54	869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860361,3,'0',1)
2023-10-13	12:33:54	869	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:54	869	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:54	869	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860361 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:54	869	[DEBUG]	Store custom available field
2023-10-13	12:33:54	869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860361,6,'choisir la taille',3)
2023-10-13	12:33:54	869	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:54	869	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:54	869	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:54	869	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:54	869	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860361 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:54	869	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:54	869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860361,8,1)
2023-10-13	12:33:54	869	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:54	869	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860361\":[1860361,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860361
2023-10-13	12:33:54	869	[DEBUG]	Checking category
2023-10-13	12:33:54	869	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:54	869	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860361
2023-10-13	12:33:54	869	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:54	869	[DEBUG]	Executed store
2023-10-13	12:33:54	869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860361','7283')
2023-10-13	12:33:54	869	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:54	869	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860361 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:54	869	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:54	869	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860361
2023-10-13	12:33:54	870	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:54	870	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:54	870	[DEBUG]	Use field value for field taille
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:54	870	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:54	870	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:54	870	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:54	870	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:54	870	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:54	870	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:54	870	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:54	870	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:54	870	[DEBUG]	Use field value for field published
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:54	870	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field override
2023-10-13	12:33:54	870	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:54	870	[DEBUG]	Use field value for field slug
2023-10-13	12:33:54	870	[DEBUG]	Process line 870
2023-10-13	12:33:54	870	[DEBUG]	Load a row
2023-10-13	12:33:54	870	[DEBUG]	Processing item: 1000000152395
2023-10-13	12:33:54	870	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:54	870	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:54	870	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8436_636'
2023-10-13	12:33:54	870	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:54	870	[DEBUG]	Processing product tax
2023-10-13	12:33:54	870	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:54	870	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:54	870	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:54	870	[DEBUG]	Query for Product
2023-10-13	12:33:54	870	[DEBUG]	Executed store
2023-10-13	12:33:54	870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860361','1000000152395','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:54	870	[DEBUG]	No parent found
2023-10-13	12:33:54	870	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860361 AND customfield_value = 'stockable'
2023-10-13	12:33:54	870	[DEBUG]	Check product language entry
2023-10-13	12:33:54	870	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860362
2023-10-13	12:33:54	870	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:54	870	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152395' AND `virtuemart_product_id` != 1860362
2023-10-13	12:33:54	870	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:54	870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860362, '1000000152395')
2023-10-13	12:33:54	870	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:54	870	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1299-eagle-10-50t-12-speed-rainbow-rainbow-unitaire' AND `virtuemart_product_id` != 1860362
2023-10-13	12:33:54	870	[DEBUG]	Query for ProductLang
2023-10-13	12:33:54	870	[DEBUG]	Executed store
2023-10-13	12:33:54	870	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM CASSETTE XG-1299 EAGLE 10-50T 12 SPEED RAINBOW / Rainbow (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1299-eagle-10-50t-12-speed-rainbow-rainbow-unitaire' WHERE `virtuemart_product_id` = '1860362'
2023-10-13	12:33:54	870	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37111_cassette_xg-1299_eagle_10-50t_12_speed_rainbow.jpg
2023-10-13	12:33:54	870	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:54	870	[DEBUG]	Process image file
2023-10-13	12:33:54	870	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:54	870	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:54	870	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37111_cassette_xg-1299_eagle_10-50t_12_speed_rainbow.jpg
2023-10-13	12:33:54	870	[DEBUG]	Full name target: bcprisme/37111_cassette_xg-1299_eagle_10-50t_12_speed_rainbow.jpg
2023-10-13	12:33:55	870	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:55	870	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37111_cassette_xg-1299_eagle_10-50t_12_speed_rainbow.jpg'
2023-10-13	12:33:55	870	[DEBUG]	Query for Media
2023-10-13	12:33:55	870	[DEBUG]	Executed store
2023-10-13	12:33:55	870	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37111_cassette_xg-1299_eagle_10-50t_12_speed_rainbow.jpg',`file_url_thumb`='bcprisme/37111_cassette_xg-1299_eagle_10-50t_12_speed_rainbow.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1329864'
2023-10-13	12:33:55	870	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:55	870	[DEBUG]	Executed store
2023-10-13	12:33:55	870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860362','1329864','1')
2023-10-13	12:33:55	870	[DEBUG]	Store product image relation
2023-10-13	12:33:55	870	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:55	870	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860362 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:55	870	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:55	870	[DEBUG]	Executed store
2023-10-13	12:33:55	870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860362','0','478.180129990715','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:55	870	[DEBUG]	Checking manufacturer
2023-10-13	12:33:55	870	[DEBUG]	Load a row
2023-10-13	12:33:55	870	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:55	870	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:55	870	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:55	870	[DEBUG]	Executed store
2023-10-13	12:33:55	870	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:55	870	[DEBUG]	Manufacturer exists
2023-10-13	12:33:55	870	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:55	870	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:55	870	[DEBUG]	Executed store
2023-10-13	12:33:55	870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860362','35')
2023-10-13	12:33:55	870	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:55	870	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:55	870	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860362 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:55	870	[DEBUG]	Store custom available field
2023-10-13	12:33:55	870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860362,3,'',1)
2023-10-13	12:33:55	870	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:55	870	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:55	870	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860362 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:55	870	[DEBUG]	Store custom available field
2023-10-13	12:33:55	870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860362,6,'Unitaire',3)
2023-10-13	12:33:55	870	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:55	870	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:55	870	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860361
2023-10-13	12:33:55	870	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:55	870	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860361\":[1860361,8,1,\"choisir la taille\"],\"1860362\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860361
2023-10-13	12:33:55	870	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:55	870	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860362
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:55	871	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field taille
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:55	871	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:55	871	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:55	871	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:55	871	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:55	871	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:55	871	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field published
2023-10-13	12:33:55	871	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:55	871	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field override
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:55	871	[DEBUG]	Use field value for field slug
2023-10-13	12:33:55	871	[DEBUG]	Process line 871
2023-10-13	12:33:55	871	[DEBUG]	Load a row
2023-10-13	12:33:55	871	[DEBUG]	Processing item: A_8474_1
2023-10-13	12:33:55	871	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:55	871	[DEBUG]	Processing product tax
2023-10-13	12:33:55	871	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:55	871	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:55	871	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:55	871	[DEBUG]	Query for Product
2023-10-13	12:33:55	871	[DEBUG]	Executed store
2023-10-13	12:33:55	871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8474_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:55	871	[DEBUG]	Check product language entry
2023-10-13	12:33:55	871	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860363
2023-10-13	12:33:55	871	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:55	871	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8474_1' AND `virtuemart_product_id` != 1860363
2023-10-13	12:33:55	871	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:55	871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860363, 'A_8474_1')
2023-10-13	12:33:55	871	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:55	871	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-shimano-hg-200-7-vitesses-12-32-noir' AND `virtuemart_product_id` != 1860363
2023-10-13	12:33:55	871	[DEBUG]	Query for ProductLang
2023-10-13	12:33:55	871	[DEBUG]	Executed store
2023-10-13	12:33:55	871	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.65885',`product_name`='SHIMANO cassette Shimano HG-200 7 vitesses 12/32 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-shimano-hg-200-7-vitesses-12-32-noir' WHERE `virtuemart_product_id` = '1860363'
2023-10-13	12:33:55	871	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_65885_001.jpg
2023-10-13	12:33:55	871	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:55	871	[DEBUG]	Process image file
2023-10-13	12:33:55	871	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:55	871	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:55	871	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_65885_001.jpg
2023-10-13	12:33:55	871	[DEBUG]	Full name target: bcprisme/67_65885_001.jpg
2023-10-13	12:33:56	871	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:56	871	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_65885_001.jpg'
2023-10-13	12:33:56	871	[DEBUG]	Query for Media
2023-10-13	12:33:56	871	[DEBUG]	Executed store
2023-10-13	12:33:56	871	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_65885_001.jpg',`file_url_thumb`='bcprisme/67_65885_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '898778'
2023-10-13	12:33:56	871	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:56	871	[DEBUG]	Executed store
2023-10-13	12:33:56	871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860363','898778','1')
2023-10-13	12:33:56	871	[DEBUG]	Store product image relation
2023-10-13	12:33:56	871	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:56	871	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860363 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:56	871	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:56	871	[DEBUG]	Executed store
2023-10-13	12:33:56	871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860363','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:56	871	[DEBUG]	Checking manufacturer
2023-10-13	12:33:56	871	[DEBUG]	Load a row
2023-10-13	12:33:56	871	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:56	871	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:56	871	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:56	871	[DEBUG]	Executed store
2023-10-13	12:33:56	871	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:56	871	[DEBUG]	Manufacturer exists
2023-10-13	12:33:56	871	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:56	871	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:56	871	[DEBUG]	Executed store
2023-10-13	12:33:56	871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860363','26')
2023-10-13	12:33:56	871	[DEBUG]	Find the custom field ID
2023-10-13	12:33:56	871	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:56	871	[DEBUG]	No custom field ID found
2023-10-13	12:33:56	871	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:56	871	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:56	871	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860363 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:56	871	[DEBUG]	Store custom available field
2023-10-13	12:33:56	871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860363,3,'0',1)
2023-10-13	12:33:56	871	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:56	871	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:56	871	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860363 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:56	871	[DEBUG]	Store custom available field
2023-10-13	12:33:56	871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860363,6,'choisir la taille',3)
2023-10-13	12:33:56	871	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:56	871	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:56	871	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:56	871	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:56	871	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860363 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:56	871	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:56	871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860363,8,1)
2023-10-13	12:33:56	871	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:56	871	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860363\":[1860363,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860363
2023-10-13	12:33:56	871	[DEBUG]	Checking category
2023-10-13	12:33:56	871	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:56	871	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860363
2023-10-13	12:33:56	871	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:56	871	[DEBUG]	Executed store
2023-10-13	12:33:56	871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860363','7283')
2023-10-13	12:33:56	871	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:56	871	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860363 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:56	871	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:56	871	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860363
2023-10-13	12:33:56	872	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:56	872	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:56	872	[DEBUG]	Use field value for field taille
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:56	872	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:56	872	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:56	872	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:56	872	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:56	872	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:56	872	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:56	872	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:56	872	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:56	872	[DEBUG]	Use field value for field published
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:56	872	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field override
2023-10-13	12:33:56	872	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:56	872	[DEBUG]	Use field value for field slug
2023-10-13	12:33:56	872	[DEBUG]	Process line 872
2023-10-13	12:33:56	872	[DEBUG]	Load a row
2023-10-13	12:33:56	872	[DEBUG]	Processing item: 4524667393962
2023-10-13	12:33:56	872	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:56	872	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:56	872	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8474_1'
2023-10-13	12:33:56	872	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:56	872	[DEBUG]	Processing product tax
2023-10-13	12:33:56	872	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:56	872	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:56	872	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:56	872	[DEBUG]	Query for Product
2023-10-13	12:33:56	872	[DEBUG]	Executed store
2023-10-13	12:33:56	872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860363','4524667393962','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:56	872	[DEBUG]	No parent found
2023-10-13	12:33:56	872	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860363 AND customfield_value = 'stockable'
2023-10-13	12:33:56	872	[DEBUG]	Check product language entry
2023-10-13	12:33:56	872	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860364
2023-10-13	12:33:56	872	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:56	872	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667393962' AND `virtuemart_product_id` != 1860364
2023-10-13	12:33:56	872	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:56	872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860364, '4524667393962')
2023-10-13	12:33:56	872	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:56	872	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-shimano-hg-200-7-vitesses-12-32-noir-unitaire' AND `virtuemart_product_id` != 1860364
2023-10-13	12:33:56	872	[DEBUG]	Query for ProductLang
2023-10-13	12:33:56	872	[DEBUG]	Executed store
2023-10-13	12:33:56	872	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO cassette Shimano HG-200 7 vitesses 12/32 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-shimano-hg-200-7-vitesses-12-32-noir-unitaire' WHERE `virtuemart_product_id` = '1860364'
2023-10-13	12:33:56	872	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_65885_001.jpg
2023-10-13	12:33:56	872	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:56	872	[DEBUG]	Process image file
2023-10-13	12:33:56	872	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:56	872	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:56	872	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_65885_001.jpg
2023-10-13	12:33:56	872	[DEBUG]	Full name target: bcprisme/67_65885_001.jpg
2023-10-13	12:33:57	872	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:57	872	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_65885_001.jpg'
2023-10-13	12:33:57	872	[DEBUG]	Query for Media
2023-10-13	12:33:57	872	[DEBUG]	Executed store
2023-10-13	12:33:57	872	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_65885_001.jpg',`file_url_thumb`='bcprisme/67_65885_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '898778'
2023-10-13	12:33:57	872	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:57	872	[DEBUG]	Executed store
2023-10-13	12:33:57	872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860364','898778','1')
2023-10-13	12:33:57	872	[DEBUG]	Store product image relation
2023-10-13	12:33:57	872	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:57	872	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860364 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:57	872	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:57	872	[DEBUG]	Executed store
2023-10-13	12:33:57	872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860364','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:57	872	[DEBUG]	Checking manufacturer
2023-10-13	12:33:57	872	[DEBUG]	Load a row
2023-10-13	12:33:57	872	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:57	872	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:57	872	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:57	872	[DEBUG]	Executed store
2023-10-13	12:33:57	872	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:57	872	[DEBUG]	Manufacturer exists
2023-10-13	12:33:57	872	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:57	872	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:57	872	[DEBUG]	Executed store
2023-10-13	12:33:57	872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860364','26')
2023-10-13	12:33:57	872	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:57	872	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:57	872	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860364 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:57	872	[DEBUG]	Store custom available field
2023-10-13	12:33:57	872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860364,3,'',1)
2023-10-13	12:33:57	872	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:57	872	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:57	872	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860364 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:57	872	[DEBUG]	Store custom available field
2023-10-13	12:33:57	872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860364,6,'Unitaire',3)
2023-10-13	12:33:57	872	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:57	872	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:57	872	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860363
2023-10-13	12:33:57	872	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:57	872	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860363\":[1860363,8,1,\"choisir la taille\"],\"1860364\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860363
2023-10-13	12:33:57	872	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:57	872	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860364
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:57	873	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field taille
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:57	873	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:57	873	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:57	873	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:57	873	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:57	873	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:57	873	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:57	873	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field published
2023-10-13	12:33:57	873	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:57	873	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field override
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:57	873	[DEBUG]	Use field value for field slug
2023-10-13	12:33:57	873	[DEBUG]	Process line 873
2023-10-13	12:33:57	873	[DEBUG]	Load a row
2023-10-13	12:33:57	873	[DEBUG]	Processing item: A_8529_208
2023-10-13	12:33:57	873	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:57	873	[DEBUG]	Processing product tax
2023-10-13	12:33:57	873	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:57	873	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:57	873	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:57	873	[DEBUG]	Query for Product
2023-10-13	12:33:57	873	[DEBUG]	Executed store
2023-10-13	12:33:57	873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8529_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:57	873	[DEBUG]	Check product language entry
2023-10-13	12:33:57	873	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860365
2023-10-13	12:33:57	873	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:57	873	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8529_208' AND `virtuemart_product_id` != 1860365
2023-10-13	12:33:57	873	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:57	873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860365, 'A_8529_208')
2023-10-13	12:33:57	873	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:57	873	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-acera-cs-hg41-7-vitesses-11-28-dents-argent-box-aucune' AND `virtuemart_product_id` != 1860365
2023-10-13	12:33:57	873	[DEBUG]	Query for ProductLang
2023-10-13	12:33:57	873	[DEBUG]	Executed store
2023-10-13	12:33:57	873	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.52671',`product_name`='SHIMANO Cassette Acera CS-HG41 7-vitesses 11-28 dents argent box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-acera-cs-hg41-7-vitesses-11-28-dents-argent-box-aucune' WHERE `virtuemart_product_id` = '1860365'
2023-10-13	12:33:57	873	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_52671_jpg.jpg has not been found.
2023-10-13	12:33:57	873	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:57	873	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860365 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:57	873	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:57	873	[DEBUG]	Executed store
2023-10-13	12:33:57	873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860365','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:57	873	[DEBUG]	Checking manufacturer
2023-10-13	12:33:57	873	[DEBUG]	Load a row
2023-10-13	12:33:57	873	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:57	873	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:57	873	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:57	873	[DEBUG]	Executed store
2023-10-13	12:33:57	873	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:57	873	[DEBUG]	Manufacturer exists
2023-10-13	12:33:57	873	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:57	873	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:57	873	[DEBUG]	Executed store
2023-10-13	12:33:57	873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860365','26')
2023-10-13	12:33:57	873	[DEBUG]	Find the custom field ID
2023-10-13	12:33:57	873	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:57	873	[DEBUG]	No custom field ID found
2023-10-13	12:33:57	873	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:57	873	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:57	873	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860365 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:57	873	[DEBUG]	Store custom available field
2023-10-13	12:33:57	873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860365,3,'0',1)
2023-10-13	12:33:57	873	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:57	873	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:57	873	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860365 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:57	873	[DEBUG]	Store custom available field
2023-10-13	12:33:57	873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860365,6,'choisir la taille',3)
2023-10-13	12:33:57	873	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:57	873	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:57	873	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:57	873	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:57	873	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860365 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:57	873	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:57	873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860365,8,1)
2023-10-13	12:33:57	873	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:57	873	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860365\":[1860365,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860365
2023-10-13	12:33:57	873	[DEBUG]	Checking category
2023-10-13	12:33:57	873	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:57	873	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860365
2023-10-13	12:33:57	873	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:57	873	[DEBUG]	Executed store
2023-10-13	12:33:57	873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860365','7283')
2023-10-13	12:33:57	873	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:57	873	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860365 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:57	873	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:57	873	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860365
2023-10-13	12:33:57	874	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:57	874	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:57	874	[DEBUG]	Use field value for field taille
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:57	874	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:57	874	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:57	874	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:57	874	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:57	874	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:57	874	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:57	874	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:57	874	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:57	874	[DEBUG]	Use field value for field published
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:57	874	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field override
2023-10-13	12:33:57	874	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:57	874	[DEBUG]	Use field value for field slug
2023-10-13	12:33:57	874	[DEBUG]	Process line 874
2023-10-13	12:33:57	874	[DEBUG]	Load a row
2023-10-13	12:33:57	874	[DEBUG]	Processing item: 4524667675624
2023-10-13	12:33:57	874	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:57	874	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:57	874	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8529_208'
2023-10-13	12:33:57	874	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:57	874	[DEBUG]	Processing product tax
2023-10-13	12:33:57	874	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:57	874	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:57	874	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:57	874	[DEBUG]	Query for Product
2023-10-13	12:33:57	874	[DEBUG]	Executed store
2023-10-13	12:33:57	874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860365','4524667675624','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:57	874	[DEBUG]	No parent found
2023-10-13	12:33:57	874	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860365 AND customfield_value = 'stockable'
2023-10-13	12:33:57	874	[DEBUG]	Check product language entry
2023-10-13	12:33:57	874	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860366
2023-10-13	12:33:57	874	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:57	874	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667675624' AND `virtuemart_product_id` != 1860366
2023-10-13	12:33:57	874	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:57	874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860366, '4524667675624')
2023-10-13	12:33:57	874	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:57	874	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-acera-cs-hg41-7-vitesses-11-28-dents-argent-box-aucune-unitaire' AND `virtuemart_product_id` != 1860366
2023-10-13	12:33:57	874	[DEBUG]	Query for ProductLang
2023-10-13	12:33:57	874	[DEBUG]	Executed store
2023-10-13	12:33:57	874	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Acera CS-HG41 7-vitesses 11-28 dents argent box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-acera-cs-hg41-7-vitesses-11-28-dents-argent-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860366'
2023-10-13	12:33:57	874	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_52671_jpg.jpg has not been found.
2023-10-13	12:33:57	874	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:57	874	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860366 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:57	874	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:57	874	[DEBUG]	Executed store
2023-10-13	12:33:57	874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860366','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:57	874	[DEBUG]	Checking manufacturer
2023-10-13	12:33:57	874	[DEBUG]	Load a row
2023-10-13	12:33:57	874	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:57	874	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:57	874	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:57	874	[DEBUG]	Executed store
2023-10-13	12:33:57	874	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:33:57	874	[DEBUG]	Manufacturer exists
2023-10-13	12:33:57	874	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:33:57	874	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:57	874	[DEBUG]	Executed store
2023-10-13	12:33:57	874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860366','26')
2023-10-13	12:33:57	874	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:57	874	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:57	874	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860366 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:57	874	[DEBUG]	Store custom available field
2023-10-13	12:33:57	874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860366,3,'',1)
2023-10-13	12:33:57	874	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:57	874	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:57	874	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860366 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:57	874	[DEBUG]	Store custom available field
2023-10-13	12:33:57	874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860366,6,'Unitaire',3)
2023-10-13	12:33:57	874	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:57	874	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:57	874	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860365
2023-10-13	12:33:57	874	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:57	874	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860365\":[1860365,8,1,\"choisir la taille\"],\"1860366\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860365
2023-10-13	12:33:57	874	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:57	874	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860366
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:57	875	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field taille
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:57	875	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:57	875	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:57	875	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:57	875	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:57	875	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:57	875	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field published
2023-10-13	12:33:57	875	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:57	875	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field override
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:57	875	[DEBUG]	Use field value for field slug
2023-10-13	12:33:57	875	[DEBUG]	Process line 875
2023-10-13	12:33:57	875	[DEBUG]	Load a row
2023-10-13	12:33:57	875	[DEBUG]	Processing item: A_8551_13
2023-10-13	12:33:57	875	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:57	875	[DEBUG]	Processing product tax
2023-10-13	12:33:57	875	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:57	875	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:57	875	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:57	875	[DEBUG]	Query for Product
2023-10-13	12:33:57	875	[DEBUG]	Executed store
2023-10-13	12:33:57	875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8551_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:57	875	[DEBUG]	Check product language entry
2023-10-13	12:33:57	875	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860367
2023-10-13	12:33:57	875	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:57	875	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8551_13' AND `virtuemart_product_id` != 1860367
2023-10-13	12:33:57	875	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:57	875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860367, 'A_8551_13')
2023-10-13	12:33:57	875	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:57	875	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-950-11-34-9-vitesses-argent' AND `virtuemart_product_id` != 1860367
2023-10-13	12:33:57	875	[DEBUG]	Query for ProductLang
2023-10-13	12:33:57	875	[DEBUG]	Executed store
2023-10-13	12:33:57	875	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7012B',`product_name`='SRAM Cassette PG-950 11/34 9 vitesses / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-950-11-34-9-vitesses-argent' WHERE `virtuemart_product_id` = '1860367'
2023-10-13	12:33:57	875	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37353_cassette_pg-950_11-34_9_vitesses.jpg
2023-10-13	12:33:57	875	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:57	875	[DEBUG]	Process image file
2023-10-13	12:33:57	875	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:57	875	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:57	875	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37353_cassette_pg-950_11-34_9_vitesses.jpg
2023-10-13	12:33:57	875	[DEBUG]	Full name target: bcprisme/37353_cassette_pg-950_11-34_9_vitesses.jpg
2023-10-13	12:33:58	875	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:58	875	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37353_cassette_pg-950_11-34_9_vitesses.jpg'
2023-10-13	12:33:58	875	[DEBUG]	Query for Media
2023-10-13	12:33:58	875	[DEBUG]	Executed store
2023-10-13	12:33:58	875	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37353_cassette_pg-950_11-34_9_vitesses.jpg',`file_url_thumb`='bcprisme/37353_cassette_pg-950_11-34_9_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '989630'
2023-10-13	12:33:58	875	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:58	875	[DEBUG]	Executed store
2023-10-13	12:33:58	875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860367','989630','1')
2023-10-13	12:33:58	875	[DEBUG]	Store product image relation
2023-10-13	12:33:58	875	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:58	875	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860367 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:58	875	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:58	875	[DEBUG]	Executed store
2023-10-13	12:33:58	875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860367','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:58	875	[DEBUG]	Checking manufacturer
2023-10-13	12:33:58	875	[DEBUG]	Load a row
2023-10-13	12:33:58	875	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:58	875	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:58	875	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:58	875	[DEBUG]	Executed store
2023-10-13	12:33:58	875	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:58	875	[DEBUG]	Manufacturer exists
2023-10-13	12:33:58	875	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:58	875	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:58	875	[DEBUG]	Executed store
2023-10-13	12:33:58	875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860367','35')
2023-10-13	12:33:58	875	[DEBUG]	Find the custom field ID
2023-10-13	12:33:58	875	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:33:58	875	[DEBUG]	No custom field ID found
2023-10-13	12:33:58	875	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:58	875	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:33:58	875	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860367 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:58	875	[DEBUG]	Store custom available field
2023-10-13	12:33:58	875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860367,3,'0',1)
2023-10-13	12:33:58	875	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:58	875	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:33:58	875	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860367 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:58	875	[DEBUG]	Store custom available field
2023-10-13	12:33:58	875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860367,6,'choisir la taille',3)
2023-10-13	12:33:58	875	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:58	875	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:33:58	875	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:33:58	875	[DEBUG]	Find the multi variant product entry
2023-10-13	12:33:58	875	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860367 AND `virtuemart_custom_id` = 8
2023-10-13	12:33:58	875	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:33:58	875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860367,8,1)
2023-10-13	12:33:58	875	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:58	875	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860367\":[1860367,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860367
2023-10-13	12:33:58	875	[DEBUG]	Checking category
2023-10-13	12:33:58	875	[DEBUG]	Get the existing categories for the product
2023-10-13	12:33:58	875	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860367
2023-10-13	12:33:58	875	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:33:58	875	[DEBUG]	Executed store
2023-10-13	12:33:58	875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860367','7283')
2023-10-13	12:33:58	875	[DEBUG]	Delete leftover product categories
2023-10-13	12:33:58	875	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860367 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:33:58	875	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:58	875	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860367
2023-10-13	12:33:58	876	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:58	876	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:33:58	876	[DEBUG]	Use field value for field taille
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:33:58	876	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field category_path
2023-10-13	12:33:58	876	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:58	876	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:58	876	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:58	876	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:33:58	876	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field product_weight
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:58	876	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:58	876	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:58	876	[DEBUG]	Use field value for field published
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field custom_title
2023-10-13	12:33:58	876	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field custom_param
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field override
2023-10-13	12:33:58	876	[DEBUG]	Use default value for field public_price
2023-10-13	12:33:58	876	[DEBUG]	Use field value for field slug
2023-10-13	12:33:58	876	[DEBUG]	Process line 876
2023-10-13	12:33:58	876	[DEBUG]	Load a row
2023-10-13	12:33:58	876	[DEBUG]	Processing item: 1000000156140
2023-10-13	12:33:58	876	[DEBUG]	Looking for parent SKU
2023-10-13	12:33:58	876	[DEBUG]	Checking product parent SKU
2023-10-13	12:33:58	876	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8551_13'
2023-10-13	12:33:58	876	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:58	876	[DEBUG]	Processing product tax
2023-10-13	12:33:58	876	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:58	876	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:58	876	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:58	876	[DEBUG]	Query for Product
2023-10-13	12:33:58	876	[DEBUG]	Executed store
2023-10-13	12:33:58	876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860367','1000000156140','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:58	876	[DEBUG]	No parent found
2023-10-13	12:33:58	876	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860367 AND customfield_value = 'stockable'
2023-10-13	12:33:58	876	[DEBUG]	Check product language entry
2023-10-13	12:33:58	876	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860368
2023-10-13	12:33:58	876	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:58	876	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000156140' AND `virtuemart_product_id` != 1860368
2023-10-13	12:33:58	876	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:58	876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860368, '1000000156140')
2023-10-13	12:33:58	876	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:58	876	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-950-11-34-9-vitesses-argent-unitaire' AND `virtuemart_product_id` != 1860368
2023-10-13	12:33:58	876	[DEBUG]	Query for ProductLang
2023-10-13	12:33:58	876	[DEBUG]	Executed store
2023-10-13	12:33:58	876	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette PG-950 11/34 9 vitesses / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-950-11-34-9-vitesses-argent-unitaire' WHERE `virtuemart_product_id` = '1860368'
2023-10-13	12:33:58	876	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37353_cassette_pg-950_11-34_9_vitesses.jpg
2023-10-13	12:33:58	876	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:58	876	[DEBUG]	Process image file
2023-10-13	12:33:58	876	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:33:58	876	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:58	876	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37353_cassette_pg-950_11-34_9_vitesses.jpg
2023-10-13	12:33:58	876	[DEBUG]	Full name target: bcprisme/37353_cassette_pg-950_11-34_9_vitesses.jpg
2023-10-13	12:33:59	876	[DEBUG]	Checking if the file_url exists
2023-10-13	12:33:59	876	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37353_cassette_pg-950_11-34_9_vitesses.jpg'
2023-10-13	12:33:59	876	[DEBUG]	Query for Media
2023-10-13	12:33:59	876	[DEBUG]	Executed store
2023-10-13	12:33:59	876	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37353_cassette_pg-950_11-34_9_vitesses.jpg',`file_url_thumb`='bcprisme/37353_cassette_pg-950_11-34_9_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '989630'
2023-10-13	12:33:59	876	[DEBUG]	Query for ProductMedia
2023-10-13	12:33:59	876	[DEBUG]	Executed store
2023-10-13	12:33:59	876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860368','989630','1')
2023-10-13	12:33:59	876	[DEBUG]	Store product image relation
2023-10-13	12:33:59	876	[DEBUG]	Finding a product_price_id
2023-10-13	12:33:59	876	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860368 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:33:59	876	[DEBUG]	Query for ProductPrice
2023-10-13	12:33:59	876	[DEBUG]	Executed store
2023-10-13	12:33:59	876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860368','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:33:59	876	[DEBUG]	Checking manufacturer
2023-10-13	12:33:59	876	[DEBUG]	Load a row
2023-10-13	12:33:59	876	[DEBUG]	Manufacturer already exists
2023-10-13	12:33:59	876	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:59	876	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:33:59	876	[DEBUG]	Executed store
2023-10-13	12:33:59	876	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:33:59	876	[DEBUG]	Manufacturer exists
2023-10-13	12:33:59	876	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:33:59	876	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:33:59	876	[DEBUG]	Executed store
2023-10-13	12:33:59	876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860368','35')
2023-10-13	12:33:59	876	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:33:59	876	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:33:59	876	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860368 AND `virtuemart_custom_id` = 3
2023-10-13	12:33:59	876	[DEBUG]	Store custom available field
2023-10-13	12:33:59	876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860368,3,'',1)
2023-10-13	12:33:59	876	[DEBUG]	Processing custom available field: taille
2023-10-13	12:33:59	876	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:33:59	876	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860368 AND `virtuemart_custom_id` = 6
2023-10-13	12:33:59	876	[DEBUG]	Store custom available field
2023-10-13	12:33:59	876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860368,6,'Unitaire',3)
2023-10-13	12:33:59	876	[DEBUG]	Process multi-variant fields
2023-10-13	12:33:59	876	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:33:59	876	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860367
2023-10-13	12:33:59	876	[DEBUG]	Store the updated customfield_params
2023-10-13	12:33:59	876	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860367\":[1860367,8,1,\"choisir la taille\"],\"1860368\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860367
2023-10-13	12:33:59	876	[DEBUG]	Update has fields after all processing
2023-10-13	12:33:59	876	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860368
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field product_sku
2023-10-13	12:33:59	877	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field taille
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field product_name
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field category_path
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field product_price
2023-10-13	12:33:59	877	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field product_tax
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field file_url
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:33:59	877	[DEBUG]	Use default value for field product_desc
2023-10-13	12:33:59	877	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field product_availability
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field product_weight
2023-10-13	12:33:59	877	[DEBUG]	Use default value for field product_unit
2023-10-13	12:33:59	877	[DEBUG]	Use default value for field related_products
2023-10-13	12:33:59	877	[DEBUG]	Use default value for field product_special
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field published
2023-10-13	12:33:59	877	[DEBUG]	Use default value for field metadesc
2023-10-13	12:33:59	877	[DEBUG]	Use default value for field metakey
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field custom_title
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field custom_value
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field custom_param
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field override
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field public_price
2023-10-13	12:33:59	877	[DEBUG]	Use field value for field slug
2023-10-13	12:33:59	877	[DEBUG]	Process line 877
2023-10-13	12:33:59	877	[DEBUG]	Load a row
2023-10-13	12:33:59	877	[DEBUG]	Processing item: A_8704_13
2023-10-13	12:33:59	877	[DEBUG]	Product tax: 7.7
2023-10-13	12:33:59	877	[DEBUG]	Processing product tax
2023-10-13	12:33:59	877	[DEBUG]	Check if calculation rule exists
2023-10-13	12:33:59	877	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:33:59	877	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:33:59	877	[DEBUG]	Query for Product
2023-10-13	12:33:59	877	[DEBUG]	Executed store
2023-10-13	12:33:59	877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8704_13','0.527','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:33:59	877	[DEBUG]	Check product language entry
2023-10-13	12:33:59	877	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860369
2023-10-13	12:33:59	877	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:59	877	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8704_13' AND `virtuemart_product_id` != 1860369
2023-10-13	12:33:59	877	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:33:59	877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860369, 'A_8704_13')
2023-10-13	12:33:59	877	[DEBUG]	Check if the product slug exists
2023-10-13	12:33:59	877	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-52-2-alu-spider-argent' AND `virtuemart_product_id` != 1860369
2023-10-13	12:33:59	877	[DEBUG]	Query for ProductLang
2023-10-13	12:33:59	877	[DEBUG]	Executed store
2023-10-13	12:33:59	877	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='11 spd--11-13-16-20-24-28-32-36-40-46-52<br><br>N° art fourn : CSMSC111152',`product_name`='MSC Cassette MSC 11 vitesses 11-52 2 Alu Spider / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-52-2-alu-spider-argent' WHERE `virtuemart_product_id` = '1860369'
2023-10-13	12:33:59	877	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37664_cassette_msc_11_vitesses_11-52_2_alu_spider.jpg
2023-10-13	12:33:59	877	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:59	877	[DEBUG]	Process image file
2023-10-13	12:33:59	877	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:33:59	877	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:33:59	877	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37664_cassette_msc_11_vitesses_11-52_2_alu_spider.jpg
2023-10-13	12:33:59	877	[DEBUG]	Full name target: bcprisme/37664_cassette_msc_11_vitesses_11-52_2_alu_spider.jpg
2023-10-13	12:34:00	877	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:00	877	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37664_cassette_msc_11_vitesses_11-52_2_alu_spider.jpg'
2023-10-13	12:34:00	877	[DEBUG]	Query for Media
2023-10-13	12:34:00	877	[DEBUG]	Executed store
2023-10-13	12:34:00	877	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37664_cassette_msc_11_vitesses_11-52_2_alu_spider.jpg',`file_url_thumb`='bcprisme/37664_cassette_msc_11_vitesses_11-52_2_alu_spider.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038807'
2023-10-13	12:34:00	877	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:00	877	[DEBUG]	Executed store
2023-10-13	12:34:00	877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860369','1038807','1')
2023-10-13	12:34:00	877	[DEBUG]	Store product image relation
2023-10-13	12:34:00	877	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:00	877	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860369 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:00	877	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:00	877	[DEBUG]	Executed store
2023-10-13	12:34:00	877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860369','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:00	877	[DEBUG]	Checking manufacturer
2023-10-13	12:34:00	877	[DEBUG]	Load a row
2023-10-13	12:34:00	877	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:00	877	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:00	877	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:00	877	[DEBUG]	Executed store
2023-10-13	12:34:00	877	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:00	877	[DEBUG]	Manufacturer exists
2023-10-13	12:34:00	877	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:34:00	877	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:00	877	[DEBUG]	Executed store
2023-10-13	12:34:00	877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860369','32')
2023-10-13	12:34:00	877	[DEBUG]	Find the custom field ID
2023-10-13	12:34:00	877	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:00	877	[DEBUG]	No custom field ID found
2023-10-13	12:34:00	877	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:00	877	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	12:34:00	877	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860369 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:00	877	[DEBUG]	Store custom available field
2023-10-13	12:34:00	877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860369,3,'129.539166666667',1)
2023-10-13	12:34:00	877	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:00	877	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:00	877	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860369 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:00	877	[DEBUG]	Store custom available field
2023-10-13	12:34:00	877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860369,6,'choisir la taille',3)
2023-10-13	12:34:00	877	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:00	877	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:00	877	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:00	877	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:00	877	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860369 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:00	877	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:00	877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860369,8,1)
2023-10-13	12:34:00	877	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:00	877	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860369\":[1860369,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860369
2023-10-13	12:34:00	877	[DEBUG]	Checking category
2023-10-13	12:34:00	877	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:00	877	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860369
2023-10-13	12:34:00	877	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:00	877	[DEBUG]	Executed store
2023-10-13	12:34:00	877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860369','7283')
2023-10-13	12:34:00	877	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:00	877	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860369 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:00	877	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:00	877	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860369
2023-10-13	12:34:00	878	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:00	878	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:00	878	[DEBUG]	Use field value for field taille
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:00	878	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:00	878	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:00	878	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:00	878	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:00	878	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:00	878	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:00	878	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:00	878	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:00	878	[DEBUG]	Use field value for field published
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:00	878	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field override
2023-10-13	12:34:00	878	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:00	878	[DEBUG]	Use field value for field slug
2023-10-13	12:34:00	878	[DEBUG]	Process line 878
2023-10-13	12:34:00	878	[DEBUG]	Load a row
2023-10-13	12:34:00	878	[DEBUG]	Processing item: 8435466217594
2023-10-13	12:34:00	878	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:00	878	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:00	878	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8704_13'
2023-10-13	12:34:00	878	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:00	878	[DEBUG]	Processing product tax
2023-10-13	12:34:00	878	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:00	878	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:00	878	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:00	878	[DEBUG]	Query for Product
2023-10-13	12:34:00	878	[DEBUG]	Executed store
2023-10-13	12:34:00	878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860369','8435466217594','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:00	878	[DEBUG]	No parent found
2023-10-13	12:34:00	878	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860369 AND customfield_value = 'stockable'
2023-10-13	12:34:00	878	[DEBUG]	Check product language entry
2023-10-13	12:34:00	878	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860370
2023-10-13	12:34:00	878	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:00	878	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466217594' AND `virtuemart_product_id` != 1860370
2023-10-13	12:34:00	878	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:00	878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860370, '8435466217594')
2023-10-13	12:34:00	878	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:00	878	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-52-2-alu-spider-argent-unitaire' AND `virtuemart_product_id` != 1860370
2023-10-13	12:34:00	878	[DEBUG]	Query for ProductLang
2023-10-13	12:34:00	878	[DEBUG]	Executed store
2023-10-13	12:34:00	878	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 11 vitesses 11-52 2 Alu Spider / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-52-2-alu-spider-argent-unitaire' WHERE `virtuemart_product_id` = '1860370'
2023-10-13	12:34:00	878	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37664_cassette_msc_11_vitesses_11-52_2_alu_spider.jpg
2023-10-13	12:34:00	878	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:00	878	[DEBUG]	Process image file
2023-10-13	12:34:00	878	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:00	878	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:00	878	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37664_cassette_msc_11_vitesses_11-52_2_alu_spider.jpg
2023-10-13	12:34:00	878	[DEBUG]	Full name target: bcprisme/37664_cassette_msc_11_vitesses_11-52_2_alu_spider.jpg
2023-10-13	12:34:01	878	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:01	878	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37664_cassette_msc_11_vitesses_11-52_2_alu_spider.jpg'
2023-10-13	12:34:01	878	[DEBUG]	Query for Media
2023-10-13	12:34:01	878	[DEBUG]	Executed store
2023-10-13	12:34:01	878	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37664_cassette_msc_11_vitesses_11-52_2_alu_spider.jpg',`file_url_thumb`='bcprisme/37664_cassette_msc_11_vitesses_11-52_2_alu_spider.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038807'
2023-10-13	12:34:01	878	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:01	878	[DEBUG]	Executed store
2023-10-13	12:34:01	878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860370','1038807','1')
2023-10-13	12:34:01	878	[DEBUG]	Store product image relation
2023-10-13	12:34:01	878	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:01	878	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860370 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:01	878	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:02	878	[DEBUG]	Executed store
2023-10-13	12:34:02	878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860370','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:02	878	[DEBUG]	Checking manufacturer
2023-10-13	12:34:02	878	[DEBUG]	Load a row
2023-10-13	12:34:02	878	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:02	878	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:02	878	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:02	878	[DEBUG]	Executed store
2023-10-13	12:34:02	878	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:02	878	[DEBUG]	Manufacturer exists
2023-10-13	12:34:02	878	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:34:02	878	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:02	878	[DEBUG]	Executed store
2023-10-13	12:34:02	878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860370','32')
2023-10-13	12:34:02	878	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:02	878	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:02	878	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860370 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:02	878	[DEBUG]	Store custom available field
2023-10-13	12:34:02	878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860370,3,'',1)
2023-10-13	12:34:02	878	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:02	878	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:02	878	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860370 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:02	878	[DEBUG]	Store custom available field
2023-10-13	12:34:02	878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860370,6,'Unitaire',3)
2023-10-13	12:34:02	878	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:02	878	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:02	878	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860369
2023-10-13	12:34:02	878	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:02	878	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860369\":[1860369,8,1,\"choisir la taille\"],\"1860370\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860369
2023-10-13	12:34:02	878	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:02	878	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860370
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:02	879	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field taille
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:02	879	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:02	879	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:02	879	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:02	879	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:02	879	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:02	879	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field published
2023-10-13	12:34:02	879	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:02	879	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field override
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:02	879	[DEBUG]	Use field value for field slug
2023-10-13	12:34:02	879	[DEBUG]	Process line 879
2023-10-13	12:34:02	879	[DEBUG]	Load a row
2023-10-13	12:34:02	879	[DEBUG]	Processing item: A_8705_13
2023-10-13	12:34:02	879	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:02	879	[DEBUG]	Processing product tax
2023-10-13	12:34:02	879	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:02	879	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:02	879	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:02	879	[DEBUG]	Query for Product
2023-10-13	12:34:02	879	[DEBUG]	Executed store
2023-10-13	12:34:02	879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8705_13','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:02	879	[DEBUG]	Check product language entry
2023-10-13	12:34:02	879	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860371
2023-10-13	12:34:02	879	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:02	879	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8705_13' AND `virtuemart_product_id` != 1860371
2023-10-13	12:34:02	879	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:02	879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860371, 'A_8705_13')
2023-10-13	12:34:02	879	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:02	879	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-46-1-alu-spider-argent' AND `virtuemart_product_id` != 1860371
2023-10-13	12:34:02	879	[DEBUG]	Query for ProductLang
2023-10-13	12:34:02	879	[DEBUG]	Executed store
2023-10-13	12:34:02	879	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='10 Vitesses<br><br>compatible Shimano et Sram (Excepté corps de roue libre Sram XD)<br><br>pignons de 11 à 46v<br><br>1 étoile aluminium<br><br>Prolongateur de patte de dérailleur conseillé pour le bon fonctionnement de cette cassette<br>N° art fourn : CS1MSC101146',`product_name`='MSC Cassette MSC 10 vitesses 11-46 1 alu Spider / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-46-1-alu-spider-argent' WHERE `virtuemart_product_id` = '1860371'
2023-10-13	12:34:02	879	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37665_cassette_msc_10_vitesses_11-46_1_alu_spider.jpg
2023-10-13	12:34:02	879	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:02	879	[DEBUG]	Process image file
2023-10-13	12:34:02	879	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:02	879	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:02	879	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37665_cassette_msc_10_vitesses_11-46_1_alu_spider.jpg
2023-10-13	12:34:02	879	[DEBUG]	Full name target: bcprisme/37665_cassette_msc_10_vitesses_11-46_1_alu_spider.jpg
2023-10-13	12:34:03	879	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:03	879	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37665_cassette_msc_10_vitesses_11-46_1_alu_spider.jpg'
2023-10-13	12:34:03	879	[DEBUG]	Query for Media
2023-10-13	12:34:03	879	[DEBUG]	Executed store
2023-10-13	12:34:03	879	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37665_cassette_msc_10_vitesses_11-46_1_alu_spider.jpg',`file_url_thumb`='bcprisme/37665_cassette_msc_10_vitesses_11-46_1_alu_spider.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038809'
2023-10-13	12:34:03	879	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:03	879	[DEBUG]	Executed store
2023-10-13	12:34:03	879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860371','1038809','1')
2023-10-13	12:34:03	879	[DEBUG]	Store product image relation
2023-10-13	12:34:03	879	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:03	879	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860371 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:03	879	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:03	879	[DEBUG]	Executed store
2023-10-13	12:34:03	879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860371','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:03	879	[DEBUG]	Checking manufacturer
2023-10-13	12:34:03	879	[DEBUG]	Load a row
2023-10-13	12:34:03	879	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:03	879	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:03	879	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:03	879	[DEBUG]	Executed store
2023-10-13	12:34:03	879	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:03	879	[DEBUG]	Manufacturer exists
2023-10-13	12:34:03	879	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:34:03	879	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:03	879	[DEBUG]	Executed store
2023-10-13	12:34:03	879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860371','32')
2023-10-13	12:34:03	879	[DEBUG]	Find the custom field ID
2023-10-13	12:34:03	879	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:03	879	[DEBUG]	No custom field ID found
2023-10-13	12:34:03	879	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:03	879	[DEBUG]	Get existing row with customfield value 72.6975
2023-10-13	12:34:03	879	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860371 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:03	879	[DEBUG]	Store custom available field
2023-10-13	12:34:03	879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860371,3,'72.6975',1)
2023-10-13	12:34:03	879	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:03	879	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:03	879	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860371 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:03	879	[DEBUG]	Store custom available field
2023-10-13	12:34:03	879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860371,6,'choisir la taille',3)
2023-10-13	12:34:03	879	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:03	879	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:03	879	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:03	879	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:03	879	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860371 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:03	879	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:03	879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860371,8,1)
2023-10-13	12:34:03	879	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:03	879	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860371\":[1860371,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860371
2023-10-13	12:34:03	879	[DEBUG]	Checking category
2023-10-13	12:34:03	879	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:03	879	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860371
2023-10-13	12:34:03	879	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:03	879	[DEBUG]	Executed store
2023-10-13	12:34:03	879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860371','7283')
2023-10-13	12:34:03	879	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:03	879	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860371 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:03	879	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:03	879	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860371
2023-10-13	12:34:03	880	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:03	880	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:03	880	[DEBUG]	Use field value for field taille
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:03	880	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:03	880	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:03	880	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:03	880	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:03	880	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:03	880	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:03	880	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:03	880	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:03	880	[DEBUG]	Use field value for field published
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:03	880	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field override
2023-10-13	12:34:03	880	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:03	880	[DEBUG]	Use field value for field slug
2023-10-13	12:34:03	880	[DEBUG]	Process line 880
2023-10-13	12:34:03	880	[DEBUG]	Load a row
2023-10-13	12:34:03	880	[DEBUG]	Processing item: 8435466215026
2023-10-13	12:34:03	880	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:03	880	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:03	880	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8705_13'
2023-10-13	12:34:03	880	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:03	880	[DEBUG]	Processing product tax
2023-10-13	12:34:03	880	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:03	880	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:03	880	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:03	880	[DEBUG]	Query for Product
2023-10-13	12:34:03	880	[DEBUG]	Executed store
2023-10-13	12:34:03	880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860371','8435466215026','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:03	880	[DEBUG]	No parent found
2023-10-13	12:34:03	880	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860371 AND customfield_value = 'stockable'
2023-10-13	12:34:03	880	[DEBUG]	Check product language entry
2023-10-13	12:34:03	880	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860372
2023-10-13	12:34:03	880	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:03	880	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215026' AND `virtuemart_product_id` != 1860372
2023-10-13	12:34:03	880	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:03	880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860372, '8435466215026')
2023-10-13	12:34:03	880	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:03	880	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-46-1-alu-spider-argent-unitaire' AND `virtuemart_product_id` != 1860372
2023-10-13	12:34:03	880	[DEBUG]	Query for ProductLang
2023-10-13	12:34:03	880	[DEBUG]	Executed store
2023-10-13	12:34:03	880	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 10 vitesses 11-46 1 alu Spider / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-46-1-alu-spider-argent-unitaire' WHERE `virtuemart_product_id` = '1860372'
2023-10-13	12:34:03	880	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37665_cassette_msc_10_vitesses_11-46_1_alu_spider.jpg
2023-10-13	12:34:03	880	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:03	880	[DEBUG]	Process image file
2023-10-13	12:34:03	880	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:03	880	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:03	880	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37665_cassette_msc_10_vitesses_11-46_1_alu_spider.jpg
2023-10-13	12:34:03	880	[DEBUG]	Full name target: bcprisme/37665_cassette_msc_10_vitesses_11-46_1_alu_spider.jpg
2023-10-13	12:34:04	880	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:04	880	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37665_cassette_msc_10_vitesses_11-46_1_alu_spider.jpg'
2023-10-13	12:34:04	880	[DEBUG]	Query for Media
2023-10-13	12:34:04	880	[DEBUG]	Executed store
2023-10-13	12:34:04	880	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37665_cassette_msc_10_vitesses_11-46_1_alu_spider.jpg',`file_url_thumb`='bcprisme/37665_cassette_msc_10_vitesses_11-46_1_alu_spider.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038809'
2023-10-13	12:34:04	880	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:04	880	[DEBUG]	Executed store
2023-10-13	12:34:04	880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860372','1038809','1')
2023-10-13	12:34:04	880	[DEBUG]	Store product image relation
2023-10-13	12:34:04	880	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:04	880	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860372 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:04	880	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:04	880	[DEBUG]	Executed store
2023-10-13	12:34:04	880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860372','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:04	880	[DEBUG]	Checking manufacturer
2023-10-13	12:34:04	880	[DEBUG]	Load a row
2023-10-13	12:34:04	880	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:04	880	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:04	880	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:04	880	[DEBUG]	Executed store
2023-10-13	12:34:04	880	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:04	880	[DEBUG]	Manufacturer exists
2023-10-13	12:34:04	880	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:34:04	880	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:04	880	[DEBUG]	Executed store
2023-10-13	12:34:04	880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860372','32')
2023-10-13	12:34:04	880	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:04	880	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:04	880	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860372 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:04	880	[DEBUG]	Store custom available field
2023-10-13	12:34:04	880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860372,3,'',1)
2023-10-13	12:34:04	880	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:04	880	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:04	880	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860372 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:04	880	[DEBUG]	Store custom available field
2023-10-13	12:34:04	880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860372,6,'Unitaire',3)
2023-10-13	12:34:04	880	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:04	880	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:04	880	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860371
2023-10-13	12:34:04	880	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:04	880	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860371\":[1860371,8,1,\"choisir la taille\"],\"1860372\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860371
2023-10-13	12:34:04	880	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:04	880	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860372
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:04	881	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field taille
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:04	881	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:04	881	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:04	881	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:04	881	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:04	881	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:04	881	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field published
2023-10-13	12:34:04	881	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:04	881	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field override
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:04	881	[DEBUG]	Use field value for field slug
2023-10-13	12:34:04	881	[DEBUG]	Process line 881
2023-10-13	12:34:04	881	[DEBUG]	Load a row
2023-10-13	12:34:04	881	[DEBUG]	Processing item: A_8706_13
2023-10-13	12:34:04	881	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:04	881	[DEBUG]	Processing product tax
2023-10-13	12:34:04	881	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:04	881	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:04	881	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:04	881	[DEBUG]	Query for Product
2023-10-13	12:34:04	881	[DEBUG]	Executed store
2023-10-13	12:34:04	881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8706_13','0.527','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:04	881	[DEBUG]	Check product language entry
2023-10-13	12:34:04	881	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860373
2023-10-13	12:34:04	881	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:04	881	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8706_13' AND `virtuemart_product_id` != 1860373
2023-10-13	12:34:04	881	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:04	881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860373, 'A_8706_13')
2023-10-13	12:34:04	881	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:04	881	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-12-vitesses-11-52-1-alu-spider-argent' AND `virtuemart_product_id` != 1860373
2023-10-13	12:34:04	881	[DEBUG]	Query for ProductLang
2023-10-13	12:34:04	881	[DEBUG]	Executed store
2023-10-13	12:34:04	881	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : CS1MSC121152',`product_name`='MSC Cassette MSC 12 vitesses 11-52 1 Alu Spider / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-12-vitesses-11-52-1-alu-spider-argent' WHERE `virtuemart_product_id` = '1860373'
2023-10-13	12:34:04	881	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37666_cassette_msc_12_vitesses_11-52_1_alu_spider.jpg
2023-10-13	12:34:04	881	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:04	881	[DEBUG]	Process image file
2023-10-13	12:34:04	881	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:04	881	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:04	881	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37666_cassette_msc_12_vitesses_11-52_1_alu_spider.jpg
2023-10-13	12:34:04	881	[DEBUG]	Full name target: bcprisme/37666_cassette_msc_12_vitesses_11-52_1_alu_spider.jpg
2023-10-13	12:34:05	881	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:05	881	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37666_cassette_msc_12_vitesses_11-52_1_alu_spider.jpg'
2023-10-13	12:34:05	881	[DEBUG]	Query for Media
2023-10-13	12:34:05	881	[DEBUG]	Executed store
2023-10-13	12:34:05	881	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37666_cassette_msc_12_vitesses_11-52_1_alu_spider.jpg',`file_url_thumb`='bcprisme/37666_cassette_msc_12_vitesses_11-52_1_alu_spider.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038811'
2023-10-13	12:34:05	881	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:05	881	[DEBUG]	Executed store
2023-10-13	12:34:05	881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860373','1038811','1')
2023-10-13	12:34:05	881	[DEBUG]	Store product image relation
2023-10-13	12:34:05	881	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:05	881	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860373 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:05	881	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:05	881	[DEBUG]	Executed store
2023-10-13	12:34:05	881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860373','0','148.467966573816','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:05	881	[DEBUG]	Checking manufacturer
2023-10-13	12:34:05	881	[DEBUG]	Load a row
2023-10-13	12:34:05	881	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:05	881	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:05	881	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:05	881	[DEBUG]	Executed store
2023-10-13	12:34:05	881	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:05	881	[DEBUG]	Manufacturer exists
2023-10-13	12:34:05	881	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:34:05	881	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:05	881	[DEBUG]	Executed store
2023-10-13	12:34:05	881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860373','32')
2023-10-13	12:34:05	881	[DEBUG]	Find the custom field ID
2023-10-13	12:34:05	881	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:05	881	[DEBUG]	No custom field ID found
2023-10-13	12:34:05	881	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:05	881	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	12:34:05	881	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860373 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:05	881	[DEBUG]	Store custom available field
2023-10-13	12:34:05	881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860373,3,'129.539166666667',1)
2023-10-13	12:34:05	881	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:05	881	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:05	881	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860373 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:05	881	[DEBUG]	Store custom available field
2023-10-13	12:34:05	881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860373,6,'choisir la taille',3)
2023-10-13	12:34:05	881	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:05	881	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:05	881	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:05	881	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:05	881	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860373 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:05	881	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:05	881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860373,8,1)
2023-10-13	12:34:05	881	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:05	881	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860373\":[1860373,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860373
2023-10-13	12:34:05	881	[DEBUG]	Checking category
2023-10-13	12:34:05	881	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:05	881	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860373
2023-10-13	12:34:05	881	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:05	881	[DEBUG]	Executed store
2023-10-13	12:34:05	881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860373','7283')
2023-10-13	12:34:05	881	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:05	881	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860373 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:05	881	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:05	881	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860373
2023-10-13	12:34:05	882	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:05	882	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:05	882	[DEBUG]	Use field value for field taille
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:05	882	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:05	882	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:05	882	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:05	882	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:05	882	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:05	882	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:05	882	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:05	882	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:05	882	[DEBUG]	Use field value for field published
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:05	882	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field override
2023-10-13	12:34:05	882	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:05	882	[DEBUG]	Use field value for field slug
2023-10-13	12:34:05	882	[DEBUG]	Process line 882
2023-10-13	12:34:05	882	[DEBUG]	Load a row
2023-10-13	12:34:05	882	[DEBUG]	Processing item: 8435466217617
2023-10-13	12:34:05	882	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:05	882	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:05	882	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8706_13'
2023-10-13	12:34:05	882	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:05	882	[DEBUG]	Processing product tax
2023-10-13	12:34:05	882	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:05	882	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:05	882	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:05	882	[DEBUG]	Query for Product
2023-10-13	12:34:05	882	[DEBUG]	Executed store
2023-10-13	12:34:05	882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860373','8435466217617','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:05	882	[DEBUG]	No parent found
2023-10-13	12:34:05	882	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860373 AND customfield_value = 'stockable'
2023-10-13	12:34:05	882	[DEBUG]	Check product language entry
2023-10-13	12:34:05	882	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860374
2023-10-13	12:34:05	882	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:05	882	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466217617' AND `virtuemart_product_id` != 1860374
2023-10-13	12:34:05	882	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:05	882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860374, '8435466217617')
2023-10-13	12:34:05	882	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:05	882	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-12-vitesses-11-52-1-alu-spider-argent-unitaire' AND `virtuemart_product_id` != 1860374
2023-10-13	12:34:05	882	[DEBUG]	Query for ProductLang
2023-10-13	12:34:05	882	[DEBUG]	Executed store
2023-10-13	12:34:05	882	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 12 vitesses 11-52 1 Alu Spider / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-12-vitesses-11-52-1-alu-spider-argent-unitaire' WHERE `virtuemart_product_id` = '1860374'
2023-10-13	12:34:05	882	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37666_cassette_msc_12_vitesses_11-52_1_alu_spider.jpg
2023-10-13	12:34:05	882	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:05	882	[DEBUG]	Process image file
2023-10-13	12:34:05	882	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:05	882	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:05	882	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37666_cassette_msc_12_vitesses_11-52_1_alu_spider.jpg
2023-10-13	12:34:05	882	[DEBUG]	Full name target: bcprisme/37666_cassette_msc_12_vitesses_11-52_1_alu_spider.jpg
2023-10-13	12:34:06	882	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:06	882	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37666_cassette_msc_12_vitesses_11-52_1_alu_spider.jpg'
2023-10-13	12:34:06	882	[DEBUG]	Query for Media
2023-10-13	12:34:06	882	[DEBUG]	Executed store
2023-10-13	12:34:06	882	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37666_cassette_msc_12_vitesses_11-52_1_alu_spider.jpg',`file_url_thumb`='bcprisme/37666_cassette_msc_12_vitesses_11-52_1_alu_spider.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038811'
2023-10-13	12:34:06	882	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:06	882	[DEBUG]	Executed store
2023-10-13	12:34:06	882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860374','1038811','1')
2023-10-13	12:34:06	882	[DEBUG]	Store product image relation
2023-10-13	12:34:06	882	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:06	882	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860374 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:06	882	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:06	882	[DEBUG]	Executed store
2023-10-13	12:34:06	882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860374','0','148.467966573816','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:06	882	[DEBUG]	Checking manufacturer
2023-10-13	12:34:06	882	[DEBUG]	Load a row
2023-10-13	12:34:06	882	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:06	882	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:06	882	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:06	882	[DEBUG]	Executed store
2023-10-13	12:34:06	882	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:06	882	[DEBUG]	Manufacturer exists
2023-10-13	12:34:06	882	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:34:06	882	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:06	882	[DEBUG]	Executed store
2023-10-13	12:34:06	882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860374','32')
2023-10-13	12:34:06	882	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:06	882	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:06	882	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860374 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:06	882	[DEBUG]	Store custom available field
2023-10-13	12:34:06	882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860374,3,'',1)
2023-10-13	12:34:06	882	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:06	882	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:06	882	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860374 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:06	882	[DEBUG]	Store custom available field
2023-10-13	12:34:06	882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860374,6,'Unitaire',3)
2023-10-13	12:34:06	882	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:06	882	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:06	882	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860373
2023-10-13	12:34:06	882	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:06	882	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860373\":[1860373,8,1,\"choisir la taille\"],\"1860374\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860373
2023-10-13	12:34:06	882	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:06	882	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860374
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:06	883	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field taille
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:06	883	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:06	883	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:06	883	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:06	883	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:06	883	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:06	883	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field published
2023-10-13	12:34:06	883	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:06	883	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field override
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:06	883	[DEBUG]	Use field value for field slug
2023-10-13	12:34:06	883	[DEBUG]	Process line 883
2023-10-13	12:34:06	883	[DEBUG]	Load a row
2023-10-13	12:34:06	883	[DEBUG]	Processing item: A_8707_13
2023-10-13	12:34:06	883	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:06	883	[DEBUG]	Processing product tax
2023-10-13	12:34:06	883	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:06	883	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:06	883	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:06	883	[DEBUG]	Query for Product
2023-10-13	12:34:06	883	[DEBUG]	Executed store
2023-10-13	12:34:06	883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8707_13','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:06	883	[DEBUG]	Check product language entry
2023-10-13	12:34:06	883	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860375
2023-10-13	12:34:06	883	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:06	883	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8707_13' AND `virtuemart_product_id` != 1860375
2023-10-13	12:34:06	883	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:06	883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860375, 'A_8707_13')
2023-10-13	12:34:06	883	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:06	883	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-46-2-alu-spider-argent' AND `virtuemart_product_id` != 1860375
2023-10-13	12:34:06	883	[DEBUG]	Query for ProductLang
2023-10-13	12:34:06	883	[DEBUG]	Executed store
2023-10-13	12:34:06	883	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='10 vitesses, 404 gr.<br>N° art fourn : CSMSC101146',`product_name`='MSC Cassette MSC 10 vitesses 11-46 2 Alu Spider / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-46-2-alu-spider-argent' WHERE `virtuemart_product_id` = '1860375'
2023-10-13	12:34:06	883	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37667_cassette_msc_10_vitesses_11-46_2_alu_spider.jpg
2023-10-13	12:34:06	883	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:06	883	[DEBUG]	Process image file
2023-10-13	12:34:06	883	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:06	883	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:06	883	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37667_cassette_msc_10_vitesses_11-46_2_alu_spider.jpg
2023-10-13	12:34:06	883	[DEBUG]	Full name target: bcprisme/37667_cassette_msc_10_vitesses_11-46_2_alu_spider.jpg
2023-10-13	12:34:07	883	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:07	883	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37667_cassette_msc_10_vitesses_11-46_2_alu_spider.jpg'
2023-10-13	12:34:07	883	[DEBUG]	Query for Media
2023-10-13	12:34:07	883	[DEBUG]	Executed store
2023-10-13	12:34:07	883	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37667_cassette_msc_10_vitesses_11-46_2_alu_spider.jpg',`file_url_thumb`='bcprisme/37667_cassette_msc_10_vitesses_11-46_2_alu_spider.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038813'
2023-10-13	12:34:07	883	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:07	883	[DEBUG]	Executed store
2023-10-13	12:34:07	883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860375','1038813','1')
2023-10-13	12:34:07	883	[DEBUG]	Store product image relation
2023-10-13	12:34:07	883	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:07	883	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860375 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:07	883	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:07	883	[DEBUG]	Executed store
2023-10-13	12:34:07	883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860375','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:07	883	[DEBUG]	Checking manufacturer
2023-10-13	12:34:07	883	[DEBUG]	Load a row
2023-10-13	12:34:07	883	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:07	883	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:07	883	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:07	883	[DEBUG]	Executed store
2023-10-13	12:34:07	883	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:07	883	[DEBUG]	Manufacturer exists
2023-10-13	12:34:07	883	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:34:07	883	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:07	883	[DEBUG]	Executed store
2023-10-13	12:34:07	883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860375','32')
2023-10-13	12:34:07	883	[DEBUG]	Find the custom field ID
2023-10-13	12:34:07	883	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:07	883	[DEBUG]	No custom field ID found
2023-10-13	12:34:07	883	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:07	883	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:34:07	883	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860375 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:07	883	[DEBUG]	Store custom available field
2023-10-13	12:34:07	883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860375,3,'109.594722222222',1)
2023-10-13	12:34:07	883	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:07	883	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:07	883	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860375 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:07	883	[DEBUG]	Store custom available field
2023-10-13	12:34:07	883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860375,6,'choisir la taille',3)
2023-10-13	12:34:07	883	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:07	883	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:07	883	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:07	883	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:07	883	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860375 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:07	883	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:07	883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860375,8,1)
2023-10-13	12:34:07	883	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:07	883	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860375\":[1860375,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860375
2023-10-13	12:34:07	883	[DEBUG]	Checking category
2023-10-13	12:34:07	883	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:07	883	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860375
2023-10-13	12:34:07	883	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:07	883	[DEBUG]	Executed store
2023-10-13	12:34:07	883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860375','7283')
2023-10-13	12:34:07	883	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:07	883	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860375 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:07	883	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:07	883	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860375
2023-10-13	12:34:07	884	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:07	884	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:07	884	[DEBUG]	Use field value for field taille
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:07	884	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:07	884	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:07	884	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:07	884	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:07	884	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:07	884	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:07	884	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:07	884	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:07	884	[DEBUG]	Use field value for field published
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:07	884	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field override
2023-10-13	12:34:07	884	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:07	884	[DEBUG]	Use field value for field slug
2023-10-13	12:34:07	884	[DEBUG]	Process line 884
2023-10-13	12:34:07	884	[DEBUG]	Load a row
2023-10-13	12:34:07	884	[DEBUG]	Processing item: 8435466214869
2023-10-13	12:34:07	884	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:07	884	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:07	884	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8707_13'
2023-10-13	12:34:07	884	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:07	884	[DEBUG]	Processing product tax
2023-10-13	12:34:07	884	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:07	884	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:07	884	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:07	884	[DEBUG]	Query for Product
2023-10-13	12:34:07	884	[DEBUG]	Executed store
2023-10-13	12:34:07	884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860375','8435466214869','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:07	884	[DEBUG]	No parent found
2023-10-13	12:34:07	884	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860375 AND customfield_value = 'stockable'
2023-10-13	12:34:07	884	[DEBUG]	Check product language entry
2023-10-13	12:34:07	884	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860376
2023-10-13	12:34:07	884	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:07	884	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214869' AND `virtuemart_product_id` != 1860376
2023-10-13	12:34:07	884	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:07	884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860376, '8435466214869')
2023-10-13	12:34:07	884	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:07	884	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-10-vitesses-11-46-2-alu-spider-argent-unitaire' AND `virtuemart_product_id` != 1860376
2023-10-13	12:34:07	884	[DEBUG]	Query for ProductLang
2023-10-13	12:34:07	884	[DEBUG]	Executed store
2023-10-13	12:34:07	884	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 10 vitesses 11-46 2 Alu Spider / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-10-vitesses-11-46-2-alu-spider-argent-unitaire' WHERE `virtuemart_product_id` = '1860376'
2023-10-13	12:34:07	884	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37667_cassette_msc_10_vitesses_11-46_2_alu_spider.jpg
2023-10-13	12:34:07	884	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:07	884	[DEBUG]	Process image file
2023-10-13	12:34:07	884	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:07	884	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:07	884	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37667_cassette_msc_10_vitesses_11-46_2_alu_spider.jpg
2023-10-13	12:34:07	884	[DEBUG]	Full name target: bcprisme/37667_cassette_msc_10_vitesses_11-46_2_alu_spider.jpg
2023-10-13	12:34:08	884	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:08	884	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37667_cassette_msc_10_vitesses_11-46_2_alu_spider.jpg'
2023-10-13	12:34:08	884	[DEBUG]	Query for Media
2023-10-13	12:34:08	884	[DEBUG]	Executed store
2023-10-13	12:34:08	884	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37667_cassette_msc_10_vitesses_11-46_2_alu_spider.jpg',`file_url_thumb`='bcprisme/37667_cassette_msc_10_vitesses_11-46_2_alu_spider.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038813'
2023-10-13	12:34:08	884	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:08	884	[DEBUG]	Executed store
2023-10-13	12:34:08	884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860376','1038813','1')
2023-10-13	12:34:08	884	[DEBUG]	Store product image relation
2023-10-13	12:34:08	884	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:08	884	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860376 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:08	884	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:08	884	[DEBUG]	Executed store
2023-10-13	12:34:08	884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860376','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:08	884	[DEBUG]	Checking manufacturer
2023-10-13	12:34:08	884	[DEBUG]	Load a row
2023-10-13	12:34:08	884	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:08	884	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:08	884	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:08	884	[DEBUG]	Executed store
2023-10-13	12:34:08	884	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:08	884	[DEBUG]	Manufacturer exists
2023-10-13	12:34:08	884	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:34:08	884	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:08	884	[DEBUG]	Executed store
2023-10-13	12:34:08	884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860376','32')
2023-10-13	12:34:08	884	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:08	884	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:08	884	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860376 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:08	884	[DEBUG]	Store custom available field
2023-10-13	12:34:08	884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860376,3,'',1)
2023-10-13	12:34:08	884	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:08	884	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:08	884	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860376 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:08	884	[DEBUG]	Store custom available field
2023-10-13	12:34:08	884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860376,6,'Unitaire',3)
2023-10-13	12:34:08	884	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:08	884	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:08	884	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860375
2023-10-13	12:34:08	884	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:08	884	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860375\":[1860375,8,1,\"choisir la taille\"],\"1860376\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860375
2023-10-13	12:34:08	884	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:08	884	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860376
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:08	885	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field taille
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:08	885	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:08	885	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:08	885	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:08	885	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:08	885	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:08	885	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field published
2023-10-13	12:34:08	885	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:08	885	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field override
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:08	885	[DEBUG]	Use field value for field slug
2023-10-13	12:34:08	885	[DEBUG]	Process line 885
2023-10-13	12:34:08	885	[DEBUG]	Load a row
2023-10-13	12:34:08	885	[DEBUG]	Processing item: A_8708_13
2023-10-13	12:34:08	885	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:08	885	[DEBUG]	Processing product tax
2023-10-13	12:34:08	885	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:08	885	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:08	885	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:08	885	[DEBUG]	Query for Product
2023-10-13	12:34:08	885	[DEBUG]	Executed store
2023-10-13	12:34:08	885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8708_13','0.527','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:08	885	[DEBUG]	Check product language entry
2023-10-13	12:34:08	885	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860377
2023-10-13	12:34:08	885	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:08	885	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8708_13' AND `virtuemart_product_id` != 1860377
2023-10-13	12:34:08	885	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:08	885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860377, 'A_8708_13')
2023-10-13	12:34:08	885	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:08	885	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-52-1-alu-spider-argent' AND `virtuemart_product_id` != 1860377
2023-10-13	12:34:08	885	[DEBUG]	Query for ProductLang
2023-10-13	12:34:08	885	[DEBUG]	Executed store
2023-10-13	12:34:08	885	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : CS1MSC111152',`product_name`='MSC Cassette MSC 11 vitesses 11-52 1 Alu Spider  / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-52-1-alu-spider-argent' WHERE `virtuemart_product_id` = '1860377'
2023-10-13	12:34:08	885	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37668_cassette_msc_11_vitesses_11-52_1_alu_spider_.jpg
2023-10-13	12:34:08	885	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:08	885	[DEBUG]	Process image file
2023-10-13	12:34:08	885	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:08	885	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:08	885	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37668_cassette_msc_11_vitesses_11-52_1_alu_spider_.jpg
2023-10-13	12:34:08	885	[DEBUG]	Full name target: bcprisme/37668_cassette_msc_11_vitesses_11-52_1_alu_spider_.jpg
2023-10-13	12:34:09	885	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:09	885	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37668_cassette_msc_11_vitesses_11-52_1_alu_spider_.jpg'
2023-10-13	12:34:09	885	[DEBUG]	Query for Media
2023-10-13	12:34:09	885	[DEBUG]	Executed store
2023-10-13	12:34:09	885	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37668_cassette_msc_11_vitesses_11-52_1_alu_spider_.jpg',`file_url_thumb`='bcprisme/37668_cassette_msc_11_vitesses_11-52_1_alu_spider_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038815'
2023-10-13	12:34:09	885	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:09	885	[DEBUG]	Executed store
2023-10-13	12:34:09	885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860377','1038815','1')
2023-10-13	12:34:09	885	[DEBUG]	Store product image relation
2023-10-13	12:34:09	885	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:09	885	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860377 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:09	885	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:09	885	[DEBUG]	Executed store
2023-10-13	12:34:09	885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860377','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:09	885	[DEBUG]	Checking manufacturer
2023-10-13	12:34:09	885	[DEBUG]	Load a row
2023-10-13	12:34:09	885	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:09	885	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:09	885	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:09	885	[DEBUG]	Executed store
2023-10-13	12:34:09	885	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:09	885	[DEBUG]	Manufacturer exists
2023-10-13	12:34:09	885	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:34:09	885	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:09	885	[DEBUG]	Executed store
2023-10-13	12:34:09	885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860377','32')
2023-10-13	12:34:09	885	[DEBUG]	Find the custom field ID
2023-10-13	12:34:09	885	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:09	885	[DEBUG]	No custom field ID found
2023-10-13	12:34:09	885	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:09	885	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	12:34:09	885	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860377 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:09	885	[DEBUG]	Store custom available field
2023-10-13	12:34:09	885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860377,3,'129.539166666667',1)
2023-10-13	12:34:09	885	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:09	885	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:09	885	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860377 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:09	885	[DEBUG]	Store custom available field
2023-10-13	12:34:09	885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860377,6,'choisir la taille',3)
2023-10-13	12:34:09	885	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:09	885	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:09	885	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:09	885	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:09	885	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860377 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:09	885	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:09	885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860377,8,1)
2023-10-13	12:34:09	885	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:09	885	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860377\":[1860377,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860377
2023-10-13	12:34:09	885	[DEBUG]	Checking category
2023-10-13	12:34:09	885	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:09	885	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860377
2023-10-13	12:34:09	885	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:09	885	[DEBUG]	Executed store
2023-10-13	12:34:09	885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860377','7283')
2023-10-13	12:34:09	885	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:09	885	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860377 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:09	885	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:09	885	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860377
2023-10-13	12:34:09	886	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:09	886	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:09	886	[DEBUG]	Use field value for field taille
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:09	886	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:09	886	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:09	886	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:09	886	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:09	886	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:09	886	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:09	886	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:09	886	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:09	886	[DEBUG]	Use field value for field published
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:09	886	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field override
2023-10-13	12:34:09	886	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:09	886	[DEBUG]	Use field value for field slug
2023-10-13	12:34:09	886	[DEBUG]	Process line 886
2023-10-13	12:34:09	886	[DEBUG]	Load a row
2023-10-13	12:34:09	886	[DEBUG]	Processing item: 8435466217587
2023-10-13	12:34:09	886	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:09	886	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:09	886	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8708_13'
2023-10-13	12:34:09	886	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:09	886	[DEBUG]	Processing product tax
2023-10-13	12:34:09	886	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:09	886	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:09	886	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:09	886	[DEBUG]	Query for Product
2023-10-13	12:34:09	886	[DEBUG]	Executed store
2023-10-13	12:34:09	886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860377','8435466217587','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:09	886	[DEBUG]	No parent found
2023-10-13	12:34:09	886	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860377 AND customfield_value = 'stockable'
2023-10-13	12:34:09	886	[DEBUG]	Check product language entry
2023-10-13	12:34:09	886	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860378
2023-10-13	12:34:09	886	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:09	886	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466217587' AND `virtuemart_product_id` != 1860378
2023-10-13	12:34:09	886	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:09	886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860378, '8435466217587')
2023-10-13	12:34:09	886	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:09	886	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-msc-11-vitesses-11-52-1-alu-spider-argent-unitaire' AND `virtuemart_product_id` != 1860378
2023-10-13	12:34:09	886	[DEBUG]	Query for ProductLang
2023-10-13	12:34:09	886	[DEBUG]	Executed store
2023-10-13	12:34:09	886	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette MSC 11 vitesses 11-52 1 Alu Spider  / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-msc-11-vitesses-11-52-1-alu-spider-argent-unitaire' WHERE `virtuemart_product_id` = '1860378'
2023-10-13	12:34:09	886	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37668_cassette_msc_11_vitesses_11-52_1_alu_spider_.jpg
2023-10-13	12:34:09	886	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:09	886	[DEBUG]	Process image file
2023-10-13	12:34:09	886	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:09	886	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:09	886	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37668_cassette_msc_11_vitesses_11-52_1_alu_spider_.jpg
2023-10-13	12:34:09	886	[DEBUG]	Full name target: bcprisme/37668_cassette_msc_11_vitesses_11-52_1_alu_spider_.jpg
2023-10-13	12:34:10	886	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:10	886	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37668_cassette_msc_11_vitesses_11-52_1_alu_spider_.jpg'
2023-10-13	12:34:10	886	[DEBUG]	Query for Media
2023-10-13	12:34:10	886	[DEBUG]	Executed store
2023-10-13	12:34:10	886	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37668_cassette_msc_11_vitesses_11-52_1_alu_spider_.jpg',`file_url_thumb`='bcprisme/37668_cassette_msc_11_vitesses_11-52_1_alu_spider_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1038815'
2023-10-13	12:34:10	886	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:10	886	[DEBUG]	Executed store
2023-10-13	12:34:10	886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860378','1038815','1')
2023-10-13	12:34:10	886	[DEBUG]	Store product image relation
2023-10-13	12:34:10	886	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:10	886	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860378 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:10	886	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:10	886	[DEBUG]	Executed store
2023-10-13	12:34:10	886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860378','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:10	886	[DEBUG]	Checking manufacturer
2023-10-13	12:34:10	886	[DEBUG]	Load a row
2023-10-13	12:34:10	886	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:10	886	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:10	886	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:10	886	[DEBUG]	Executed store
2023-10-13	12:34:10	886	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:10	886	[DEBUG]	Manufacturer exists
2023-10-13	12:34:10	886	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:34:10	886	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:10	886	[DEBUG]	Executed store
2023-10-13	12:34:10	886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860378','32')
2023-10-13	12:34:10	886	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:10	886	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:10	886	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860378 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:10	886	[DEBUG]	Store custom available field
2023-10-13	12:34:10	886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860378,3,'',1)
2023-10-13	12:34:10	886	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:10	886	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:10	886	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860378 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:10	886	[DEBUG]	Store custom available field
2023-10-13	12:34:10	886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860378,6,'Unitaire',3)
2023-10-13	12:34:10	886	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:10	886	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:10	886	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860377
2023-10-13	12:34:10	886	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:10	886	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860377\":[1860377,8,1,\"choisir la taille\"],\"1860378\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860377
2023-10-13	12:34:10	886	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:10	886	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860378
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:10	887	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field taille
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:10	887	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:10	887	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:10	887	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:10	887	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:10	887	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:10	887	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field published
2023-10-13	12:34:10	887	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:10	887	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field override
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:10	887	[DEBUG]	Use field value for field slug
2023-10-13	12:34:10	887	[DEBUG]	Process line 887
2023-10-13	12:34:10	887	[DEBUG]	Load a row
2023-10-13	12:34:10	887	[DEBUG]	Processing item: A_8731_1
2023-10-13	12:34:10	887	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:10	887	[DEBUG]	Processing product tax
2023-10-13	12:34:10	887	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:10	887	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:10	887	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:10	887	[DEBUG]	Query for Product
2023-10-13	12:34:10	887	[DEBUG]	Executed store
2023-10-13	12:34:10	887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8731_1','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:10	887	[DEBUG]	Check product language entry
2023-10-13	12:34:10	887	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860379
2023-10-13	12:34:10	887	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:10	887	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8731_1' AND `virtuemart_product_id` != 1860379
2023-10-13	12:34:10	887	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:10	887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860379, 'A_8731_1')
2023-10-13	12:34:10	887	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:10	887	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-sram-xg-1271-d1-12-vitesses-10-44-force-axs-noir' AND `virtuemart_product_id` != 1860379
2023-10-13	12:34:10	887	[DEBUG]	Query for ProductLang
2023-10-13	12:34:10	887	[DEBUG]	Executed store
2023-10-13	12:34:10	887	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7568H',`product_name`='SRAM Cassette Sram XG-1271 D1 12 vitesses 10/44 Force AXS / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-sram-xg-1271-d1-12-vitesses-10-44-force-axs-noir' WHERE `virtuemart_product_id` = '1860379'
2023-10-13	12:34:10	887	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37694_cassette_sram_xg-1271_d1_12_vitesses_10-44_force_axs.jpg
2023-10-13	12:34:10	887	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:10	887	[DEBUG]	Process image file
2023-10-13	12:34:10	887	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:10	887	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:10	887	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37694_cassette_sram_xg-1271_d1_12_vitesses_10-44_force_axs.jpg
2023-10-13	12:34:10	887	[DEBUG]	Full name target: bcprisme/37694_cassette_sram_xg-1271_d1_12_vitesses_10-44_force_axs.jpg
2023-10-13	12:34:12	887	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:12	887	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37694_cassette_sram_xg-1271_d1_12_vitesses_10-44_force_axs.jpg'
2023-10-13	12:34:12	887	[DEBUG]	Query for Media
2023-10-13	12:34:12	887	[DEBUG]	Executed store
2023-10-13	12:34:12	887	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37694_cassette_sram_xg-1271_d1_12_vitesses_10-44_force_axs.jpg',`file_url_thumb`='bcprisme/37694_cassette_sram_xg-1271_d1_12_vitesses_10-44_force_axs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1059403'
2023-10-13	12:34:12	887	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:12	887	[DEBUG]	Executed store
2023-10-13	12:34:12	887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860379','1059403','1')
2023-10-13	12:34:12	887	[DEBUG]	Store product image relation
2023-10-13	12:34:12	887	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:12	887	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860379 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:12	887	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:12	887	[DEBUG]	Executed store
2023-10-13	12:34:12	887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860379','0','232.033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:12	887	[DEBUG]	Checking manufacturer
2023-10-13	12:34:12	887	[DEBUG]	Load a row
2023-10-13	12:34:12	887	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:12	887	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:12	887	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:12	887	[DEBUG]	Executed store
2023-10-13	12:34:12	887	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:12	887	[DEBUG]	Manufacturer exists
2023-10-13	12:34:12	887	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:34:12	887	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:12	887	[DEBUG]	Executed store
2023-10-13	12:34:12	887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860379','35')
2023-10-13	12:34:12	887	[DEBUG]	Find the custom field ID
2023-10-13	12:34:12	887	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:12	887	[DEBUG]	No custom field ID found
2023-10-13	12:34:12	887	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:12	887	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:34:12	887	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860379 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:12	887	[DEBUG]	Store custom available field
2023-10-13	12:34:12	887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860379,3,'109.594722222222',1)
2023-10-13	12:34:12	887	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:12	887	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:12	887	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860379 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:12	887	[DEBUG]	Store custom available field
2023-10-13	12:34:12	887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860379,6,'choisir la taille',3)
2023-10-13	12:34:12	887	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:12	887	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:12	887	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:12	887	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:12	887	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860379 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:12	887	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:12	887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860379,8,1)
2023-10-13	12:34:12	887	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:12	887	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860379\":[1860379,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860379
2023-10-13	12:34:12	887	[DEBUG]	Checking category
2023-10-13	12:34:12	887	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:12	887	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860379
2023-10-13	12:34:12	887	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:12	887	[DEBUG]	Executed store
2023-10-13	12:34:12	887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860379','7283')
2023-10-13	12:34:12	887	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:12	887	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860379 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:12	887	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:12	887	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860379
2023-10-13	12:34:12	888	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:12	888	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:12	888	[DEBUG]	Use field value for field taille
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:12	888	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:12	888	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:12	888	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:12	888	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:12	888	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:12	888	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:12	888	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:12	888	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:12	888	[DEBUG]	Use field value for field published
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:12	888	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field override
2023-10-13	12:34:12	888	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:12	888	[DEBUG]	Use field value for field slug
2023-10-13	12:34:12	888	[DEBUG]	Process line 888
2023-10-13	12:34:12	888	[DEBUG]	Load a row
2023-10-13	12:34:12	888	[DEBUG]	Processing item: 47T13310209
2023-10-13	12:34:12	888	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:12	888	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:12	888	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8731_1'
2023-10-13	12:34:12	888	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:12	888	[DEBUG]	Processing product tax
2023-10-13	12:34:12	888	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:12	888	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:12	888	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:12	888	[DEBUG]	Query for Product
2023-10-13	12:34:12	888	[DEBUG]	Executed store
2023-10-13	12:34:12	888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860379','47T13310209','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:12	888	[DEBUG]	No parent found
2023-10-13	12:34:12	888	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860379 AND customfield_value = 'stockable'
2023-10-13	12:34:12	888	[DEBUG]	Check product language entry
2023-10-13	12:34:12	888	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860380
2023-10-13	12:34:12	888	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:12	888	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '47T13310209' AND `virtuemart_product_id` != 1860380
2023-10-13	12:34:12	888	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:12	888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860380, '47T13310209')
2023-10-13	12:34:12	888	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:12	888	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-sram-xg-1271-d1-12-vitesses-10-44-force-axs-noir-unitaire' AND `virtuemart_product_id` != 1860380
2023-10-13	12:34:12	888	[DEBUG]	Query for ProductLang
2023-10-13	12:34:12	888	[DEBUG]	Executed store
2023-10-13	12:34:12	888	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette Sram XG-1271 D1 12 vitesses 10/44 Force AXS / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-sram-xg-1271-d1-12-vitesses-10-44-force-axs-noir-unitaire' WHERE `virtuemart_product_id` = '1860380'
2023-10-13	12:34:12	888	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37694_cassette_sram_xg-1271_d1_12_vitesses_10-44_force_axs.jpg
2023-10-13	12:34:12	888	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:12	888	[DEBUG]	Process image file
2023-10-13	12:34:12	888	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:12	888	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:12	888	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37694_cassette_sram_xg-1271_d1_12_vitesses_10-44_force_axs.jpg
2023-10-13	12:34:12	888	[DEBUG]	Full name target: bcprisme/37694_cassette_sram_xg-1271_d1_12_vitesses_10-44_force_axs.jpg
2023-10-13	12:34:13	888	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:13	888	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37694_cassette_sram_xg-1271_d1_12_vitesses_10-44_force_axs.jpg'
2023-10-13	12:34:13	888	[DEBUG]	Query for Media
2023-10-13	12:34:13	888	[DEBUG]	Executed store
2023-10-13	12:34:13	888	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37694_cassette_sram_xg-1271_d1_12_vitesses_10-44_force_axs.jpg',`file_url_thumb`='bcprisme/37694_cassette_sram_xg-1271_d1_12_vitesses_10-44_force_axs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1059403'
2023-10-13	12:34:13	888	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:13	888	[DEBUG]	Executed store
2023-10-13	12:34:13	888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860380','1059403','1')
2023-10-13	12:34:13	888	[DEBUG]	Store product image relation
2023-10-13	12:34:13	888	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:13	888	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860380 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:13	888	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:13	888	[DEBUG]	Executed store
2023-10-13	12:34:13	888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860380','0','232.033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:13	888	[DEBUG]	Checking manufacturer
2023-10-13	12:34:13	888	[DEBUG]	Load a row
2023-10-13	12:34:13	888	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:13	888	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:13	888	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:13	888	[DEBUG]	Executed store
2023-10-13	12:34:13	888	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:13	888	[DEBUG]	Manufacturer exists
2023-10-13	12:34:13	888	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:34:13	888	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:13	888	[DEBUG]	Executed store
2023-10-13	12:34:13	888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860380','35')
2023-10-13	12:34:13	888	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:13	888	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:13	888	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860380 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:13	888	[DEBUG]	Store custom available field
2023-10-13	12:34:13	888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860380,3,'',1)
2023-10-13	12:34:13	888	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:13	888	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:13	888	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860380 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:13	888	[DEBUG]	Store custom available field
2023-10-13	12:34:13	888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860380,6,'Unitaire',3)
2023-10-13	12:34:13	888	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:13	888	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:13	888	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860379
2023-10-13	12:34:13	888	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:13	888	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860379\":[1860379,8,1,\"choisir la taille\"],\"1860380\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860379
2023-10-13	12:34:13	888	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:13	888	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860380
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:13	889	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field taille
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:13	889	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:13	889	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:13	889	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:13	889	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:13	889	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:13	889	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field published
2023-10-13	12:34:13	889	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:13	889	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field override
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:13	889	[DEBUG]	Use field value for field slug
2023-10-13	12:34:13	889	[DEBUG]	Process line 889
2023-10-13	12:34:13	889	[DEBUG]	Load a row
2023-10-13	12:34:13	889	[DEBUG]	Processing item: A_8771_208
2023-10-13	12:34:13	889	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:13	889	[DEBUG]	Processing product tax
2023-10-13	12:34:13	889	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:13	889	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:13	889	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:13	889	[DEBUG]	Query for Product
2023-10-13	12:34:13	889	[DEBUG]	Executed store
2023-10-13	12:34:13	889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8771_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:13	889	[DEBUG]	Check product language entry
2023-10-13	12:34:13	889	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860381
2023-10-13	12:34:13	889	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:13	889	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8771_208' AND `virtuemart_product_id` != 1860381
2023-10-13	12:34:13	889	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:13	889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860381, 'A_8771_208')
2023-10-13	12:34:13	889	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:13	889	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-cs-m5100-11-vitesses-11-42-dents-box-aucune' AND `virtuemart_product_id` != 1860381
2023-10-13	12:34:13	889	[DEBUG]	Query for ProductLang
2023-10-13	12:34:13	889	[DEBUG]	Executed store
2023-10-13	12:34:13	889	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.78002',`product_name`='SHIMANO cassette Deore CS-M5100 11-vitesses 11-42 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-cs-m5100-11-vitesses-11-42-dents-box-aucune' WHERE `virtuemart_product_id` = '1860381'
2023-10-13	12:34:13	889	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_78003_009_jpg.jpg
2023-10-13	12:34:13	889	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:13	889	[DEBUG]	Process image file
2023-10-13	12:34:13	889	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:13	889	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:13	889	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_78003_009_jpg.jpg
2023-10-13	12:34:13	889	[DEBUG]	Full name target: bcprisme/67_78003_009_jpg.jpg
2023-10-13	12:34:14	889	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:14	889	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_78003_009_jpg.jpg'
2023-10-13	12:34:14	889	[DEBUG]	Query for Media
2023-10-13	12:34:14	889	[DEBUG]	Executed store
2023-10-13	12:34:14	889	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_78003_009_jpg.jpg',`file_url_thumb`='bcprisme/67_78003_009_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1096596'
2023-10-13	12:34:14	889	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:14	889	[DEBUG]	Executed store
2023-10-13	12:34:14	889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860381','1096596','1')
2023-10-13	12:34:14	889	[DEBUG]	Store product image relation
2023-10-13	12:34:14	889	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:14	889	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860381 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:14	889	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:14	889	[DEBUG]	Executed store
2023-10-13	12:34:14	889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860381','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:14	889	[DEBUG]	Checking manufacturer
2023-10-13	12:34:14	889	[DEBUG]	Load a row
2023-10-13	12:34:14	889	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:14	889	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:14	889	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:14	889	[DEBUG]	Executed store
2023-10-13	12:34:14	889	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:14	889	[DEBUG]	Manufacturer exists
2023-10-13	12:34:14	889	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:34:14	889	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:14	889	[DEBUG]	Executed store
2023-10-13	12:34:14	889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860381','26')
2023-10-13	12:34:14	889	[DEBUG]	Find the custom field ID
2023-10-13	12:34:14	889	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:14	889	[DEBUG]	No custom field ID found
2023-10-13	12:34:14	889	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:14	889	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:34:14	889	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860381 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:14	889	[DEBUG]	Store custom available field
2023-10-13	12:34:14	889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860381,3,'0',1)
2023-10-13	12:34:14	889	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:14	889	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:14	889	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860381 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:14	889	[DEBUG]	Store custom available field
2023-10-13	12:34:14	889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860381,6,'choisir la taille',3)
2023-10-13	12:34:14	889	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:14	889	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:14	889	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:14	889	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:14	889	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860381 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:14	889	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:14	889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860381,8,1)
2023-10-13	12:34:14	889	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:14	889	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860381\":[1860381,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860381
2023-10-13	12:34:14	889	[DEBUG]	Checking category
2023-10-13	12:34:14	889	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:14	889	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860381
2023-10-13	12:34:14	889	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:14	889	[DEBUG]	Executed store
2023-10-13	12:34:14	889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860381','7283')
2023-10-13	12:34:14	889	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:14	889	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860381 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:14	889	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:14	889	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860381
2023-10-13	12:34:14	890	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:14	890	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:14	890	[DEBUG]	Use field value for field taille
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:14	890	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:14	890	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:14	890	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:14	890	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:14	890	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:14	890	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:14	890	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:14	890	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:14	890	[DEBUG]	Use field value for field published
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:14	890	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field override
2023-10-13	12:34:14	890	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:14	890	[DEBUG]	Use field value for field slug
2023-10-13	12:34:14	890	[DEBUG]	Process line 890
2023-10-13	12:34:14	890	[DEBUG]	Load a row
2023-10-13	12:34:14	890	[DEBUG]	Processing item: 4550170618735
2023-10-13	12:34:14	890	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:14	890	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:14	890	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8771_208'
2023-10-13	12:34:14	890	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:14	890	[DEBUG]	Processing product tax
2023-10-13	12:34:14	890	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:14	890	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:14	890	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:14	890	[DEBUG]	Query for Product
2023-10-13	12:34:14	890	[DEBUG]	Executed store
2023-10-13	12:34:14	890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860381','4550170618735','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:14	890	[DEBUG]	No parent found
2023-10-13	12:34:14	890	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860381 AND customfield_value = 'stockable'
2023-10-13	12:34:14	890	[DEBUG]	Check product language entry
2023-10-13	12:34:14	890	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860382
2023-10-13	12:34:14	890	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:14	890	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170618735' AND `virtuemart_product_id` != 1860382
2023-10-13	12:34:14	890	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:14	890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860382, '4550170618735')
2023-10-13	12:34:14	890	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:14	890	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-deore-cs-m5100-11-vitesses-11-42-dents-box-aucune-unitaire' AND `virtuemart_product_id` != 1860382
2023-10-13	12:34:14	890	[DEBUG]	Query for ProductLang
2023-10-13	12:34:14	890	[DEBUG]	Executed store
2023-10-13	12:34:14	890	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO cassette Deore CS-M5100 11-vitesses 11-42 dents box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-deore-cs-m5100-11-vitesses-11-42-dents-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860382'
2023-10-13	12:34:14	890	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_78003_009_jpg.jpg
2023-10-13	12:34:14	890	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:14	890	[DEBUG]	Process image file
2023-10-13	12:34:14	890	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:14	890	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:14	890	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_78003_009_jpg.jpg
2023-10-13	12:34:14	890	[DEBUG]	Full name target: bcprisme/67_78003_009_jpg.jpg
2023-10-13	12:34:15	890	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:15	890	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_78003_009_jpg.jpg'
2023-10-13	12:34:15	890	[DEBUG]	Query for Media
2023-10-13	12:34:15	890	[DEBUG]	Executed store
2023-10-13	12:34:15	890	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_78003_009_jpg.jpg',`file_url_thumb`='bcprisme/67_78003_009_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1096596'
2023-10-13	12:34:15	890	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:15	890	[DEBUG]	Executed store
2023-10-13	12:34:15	890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860382','1096596','1')
2023-10-13	12:34:15	890	[DEBUG]	Store product image relation
2023-10-13	12:34:15	890	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:15	890	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860382 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:15	890	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:15	890	[DEBUG]	Executed store
2023-10-13	12:34:15	890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860382','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:15	890	[DEBUG]	Checking manufacturer
2023-10-13	12:34:15	890	[DEBUG]	Load a row
2023-10-13	12:34:15	890	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:15	890	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:15	890	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:15	890	[DEBUG]	Executed store
2023-10-13	12:34:15	890	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:15	890	[DEBUG]	Manufacturer exists
2023-10-13	12:34:15	890	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:34:15	890	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:15	890	[DEBUG]	Executed store
2023-10-13	12:34:15	890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860382','26')
2023-10-13	12:34:15	890	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:15	890	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:15	890	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860382 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:15	890	[DEBUG]	Store custom available field
2023-10-13	12:34:15	890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860382,3,'',1)
2023-10-13	12:34:15	890	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:15	890	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:15	890	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860382 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:15	890	[DEBUG]	Store custom available field
2023-10-13	12:34:15	890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860382,6,'Unitaire',3)
2023-10-13	12:34:15	890	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:15	890	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:15	890	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860381
2023-10-13	12:34:15	890	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:15	890	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860381\":[1860381,8,1,\"choisir la taille\"],\"1860382\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860381
2023-10-13	12:34:15	890	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:15	890	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860382
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:15	891	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field taille
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:15	891	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:15	891	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:15	891	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:15	891	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:15	891	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:15	891	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field published
2023-10-13	12:34:15	891	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:15	891	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field override
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:15	891	[DEBUG]	Use field value for field slug
2023-10-13	12:34:15	891	[DEBUG]	Process line 891
2023-10-13	12:34:15	891	[DEBUG]	Load a row
2023-10-13	12:34:15	891	[DEBUG]	Processing item: A_8772_208
2023-10-13	12:34:15	891	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:15	891	[DEBUG]	Processing product tax
2023-10-13	12:34:15	891	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:15	891	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:15	891	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:15	891	[DEBUG]	Query for Product
2023-10-13	12:34:15	891	[DEBUG]	Executed store
2023-10-13	12:34:15	891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8772_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:15	891	[DEBUG]	Check product language entry
2023-10-13	12:34:15	891	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860383
2023-10-13	12:34:15	891	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:15	891	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8772_208' AND `virtuemart_product_id` != 1860383
2023-10-13	12:34:15	891	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:15	891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860383, 'A_8772_208')
2023-10-13	12:34:15	891	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:15	891	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-r8100-12-vitesses-11-30-dents-box-aucune' AND `virtuemart_product_id` != 1860383
2023-10-13	12:34:15	891	[DEBUG]	Query for ProductLang
2023-10-13	12:34:15	891	[DEBUG]	Executed store
2023-10-13	12:34:15	891	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.80733',`product_name`='SHIMANO cassette Ultegra CS-R8100 12-vitesses 11-30 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-r8100-12-vitesses-11-30-dents-box-aucune' WHERE `virtuemart_product_id` = '1860383'
2023-10-13	12:34:15	891	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_80733_01_jpg.jpg
2023-10-13	12:34:15	891	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:15	891	[DEBUG]	Process image file
2023-10-13	12:34:15	891	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:15	891	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:15	891	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_80733_01_jpg.jpg
2023-10-13	12:34:15	891	[DEBUG]	Full name target: bcprisme/67_80733_01_jpg.jpg
2023-10-13	12:34:16	891	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:16	891	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_80733_01_jpg.jpg'
2023-10-13	12:34:16	891	[DEBUG]	Query for Media
2023-10-13	12:34:16	891	[DEBUG]	Executed store
2023-10-13	12:34:16	891	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_80733_01_jpg.jpg',`file_url_thumb`='bcprisme/67_80733_01_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1096598'
2023-10-13	12:34:16	891	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:16	891	[DEBUG]	Executed store
2023-10-13	12:34:16	891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860383','1096598','1')
2023-10-13	12:34:16	891	[DEBUG]	Store product image relation
2023-10-13	12:34:16	891	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:16	891	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860383 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:16	891	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:16	891	[DEBUG]	Executed store
2023-10-13	12:34:16	891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860383','0','125.255338904364','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:16	891	[DEBUG]	Checking manufacturer
2023-10-13	12:34:16	891	[DEBUG]	Load a row
2023-10-13	12:34:16	891	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:16	891	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:16	891	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:16	891	[DEBUG]	Executed store
2023-10-13	12:34:16	891	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:16	891	[DEBUG]	Manufacturer exists
2023-10-13	12:34:16	891	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:34:16	891	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:16	891	[DEBUG]	Executed store
2023-10-13	12:34:16	891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860383','26')
2023-10-13	12:34:16	891	[DEBUG]	Find the custom field ID
2023-10-13	12:34:16	891	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:16	891	[DEBUG]	No custom field ID found
2023-10-13	12:34:16	891	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:16	891	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:34:16	891	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860383 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:16	891	[DEBUG]	Store custom available field
2023-10-13	12:34:16	891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860383,3,'0',1)
2023-10-13	12:34:16	891	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:16	891	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:16	891	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860383 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:16	891	[DEBUG]	Store custom available field
2023-10-13	12:34:16	891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860383,6,'choisir la taille',3)
2023-10-13	12:34:16	891	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:16	891	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:16	891	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:16	891	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:16	891	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860383 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:16	891	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:16	891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860383,8,1)
2023-10-13	12:34:16	891	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:16	891	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860383\":[1860383,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860383
2023-10-13	12:34:16	891	[DEBUG]	Checking category
2023-10-13	12:34:16	891	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:16	891	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860383
2023-10-13	12:34:16	891	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:16	891	[DEBUG]	Executed store
2023-10-13	12:34:16	891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860383','7283')
2023-10-13	12:34:16	891	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:16	891	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860383 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:16	891	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:16	891	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860383
2023-10-13	12:34:16	892	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:16	892	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:16	892	[DEBUG]	Use field value for field taille
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:16	892	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:16	892	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:16	892	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:16	892	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:16	892	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:16	892	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:16	892	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:16	892	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:16	892	[DEBUG]	Use field value for field published
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:16	892	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field override
2023-10-13	12:34:16	892	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:16	892	[DEBUG]	Use field value for field slug
2023-10-13	12:34:16	892	[DEBUG]	Process line 892
2023-10-13	12:34:16	892	[DEBUG]	Load a row
2023-10-13	12:34:16	892	[DEBUG]	Processing item: 4550170893767
2023-10-13	12:34:16	892	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:16	892	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:16	892	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8772_208'
2023-10-13	12:34:16	892	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:16	892	[DEBUG]	Processing product tax
2023-10-13	12:34:16	892	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:16	892	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:16	892	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:16	892	[DEBUG]	Query for Product
2023-10-13	12:34:16	892	[DEBUG]	Executed store
2023-10-13	12:34:16	892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860383','4550170893767','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:16	892	[DEBUG]	No parent found
2023-10-13	12:34:16	892	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860383 AND customfield_value = 'stockable'
2023-10-13	12:34:16	892	[DEBUG]	Check product language entry
2023-10-13	12:34:16	892	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860384
2023-10-13	12:34:16	892	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:16	892	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170893767' AND `virtuemart_product_id` != 1860384
2023-10-13	12:34:16	892	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:16	892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860384, '4550170893767')
2023-10-13	12:34:16	892	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:16	892	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-r8100-12-vitesses-11-30-dents-box-aucune-unitaire' AND `virtuemart_product_id` != 1860384
2023-10-13	12:34:16	892	[DEBUG]	Query for ProductLang
2023-10-13	12:34:16	892	[DEBUG]	Executed store
2023-10-13	12:34:16	892	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO cassette Ultegra CS-R8100 12-vitesses 11-30 dents box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-r8100-12-vitesses-11-30-dents-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860384'
2023-10-13	12:34:16	892	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_80733_01_jpg.jpg
2023-10-13	12:34:16	892	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:16	892	[DEBUG]	Process image file
2023-10-13	12:34:16	892	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:16	892	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:16	892	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_80733_01_jpg.jpg
2023-10-13	12:34:16	892	[DEBUG]	Full name target: bcprisme/67_80733_01_jpg.jpg
2023-10-13	12:34:17	892	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:17	892	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_80733_01_jpg.jpg'
2023-10-13	12:34:17	892	[DEBUG]	Query for Media
2023-10-13	12:34:17	892	[DEBUG]	Executed store
2023-10-13	12:34:17	892	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_80733_01_jpg.jpg',`file_url_thumb`='bcprisme/67_80733_01_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1096598'
2023-10-13	12:34:17	892	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:17	892	[DEBUG]	Executed store
2023-10-13	12:34:17	892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860384','1096598','1')
2023-10-13	12:34:17	892	[DEBUG]	Store product image relation
2023-10-13	12:34:17	892	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:17	892	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860384 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:17	892	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:17	892	[DEBUG]	Executed store
2023-10-13	12:34:17	892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860384','0','125.255338904364','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:17	892	[DEBUG]	Checking manufacturer
2023-10-13	12:34:17	892	[DEBUG]	Load a row
2023-10-13	12:34:17	892	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:17	892	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:17	892	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:17	892	[DEBUG]	Executed store
2023-10-13	12:34:17	892	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:17	892	[DEBUG]	Manufacturer exists
2023-10-13	12:34:17	892	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:34:17	892	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:17	892	[DEBUG]	Executed store
2023-10-13	12:34:17	892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860384','26')
2023-10-13	12:34:17	892	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:17	892	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:17	892	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860384 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:17	892	[DEBUG]	Store custom available field
2023-10-13	12:34:17	892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860384,3,'',1)
2023-10-13	12:34:17	892	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:17	892	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:17	892	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860384 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:17	892	[DEBUG]	Store custom available field
2023-10-13	12:34:17	892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860384,6,'Unitaire',3)
2023-10-13	12:34:17	892	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:17	892	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:17	892	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860383
2023-10-13	12:34:17	892	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:17	892	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860383\":[1860383,8,1,\"choisir la taille\"],\"1860384\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860383
2023-10-13	12:34:17	892	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:17	892	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860384
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:17	893	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field taille
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:17	893	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:17	893	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:17	893	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:17	893	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:17	893	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:17	893	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field published
2023-10-13	12:34:17	893	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:17	893	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field override
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:17	893	[DEBUG]	Use field value for field slug
2023-10-13	12:34:17	893	[DEBUG]	Process line 893
2023-10-13	12:34:17	893	[DEBUG]	Load a row
2023-10-13	12:34:17	893	[DEBUG]	Processing item: A_8780_13
2023-10-13	12:34:17	893	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:17	893	[DEBUG]	Processing product tax
2023-10-13	12:34:17	893	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:17	893	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:17	893	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:17	893	[DEBUG]	Query for Product
2023-10-13	12:34:17	893	[DEBUG]	Executed store
2023-10-13	12:34:17	893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8780_13','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:17	893	[DEBUG]	Check product language entry
2023-10-13	12:34:17	893	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860385
2023-10-13	12:34:17	893	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:17	893	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8780_13' AND `virtuemart_product_id` != 1860385
2023-10-13	12:34:17	893	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:17	893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860385, 'A_8780_13')
2023-10-13	12:34:17	893	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:17	893	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-sram-xg-1290-d1-10-28-argent' AND `virtuemart_product_id` != 1860385
2023-10-13	12:34:17	893	[DEBUG]	Query for ProductLang
2023-10-13	12:34:17	893	[DEBUG]	Executed store
2023-10-13	12:34:17	893	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Application    Road<br>Technologie    AXS<br>Compatibilité    Red AXS<br>Gradation    10-28t:10,11,12,13,14,15,16,17,19,21,24,28<br>Vitesses    12<br>N° art fourn : D7547J',`product_name`='MSC Cassette Sram XG-1290 D1 10/28 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-sram-xg-1290-d1-10-28-argent' WHERE `virtuemart_product_id` = '1860385'
2023-10-13	12:34:17	893	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37759_cassette_sram_xg-1290_d1_10-28.jpg
2023-10-13	12:34:17	893	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:17	893	[DEBUG]	Process image file
2023-10-13	12:34:17	893	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:17	893	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:17	893	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37759_cassette_sram_xg-1290_d1_10-28.jpg
2023-10-13	12:34:17	893	[DEBUG]	Full name target: bcprisme/37759_cassette_sram_xg-1290_d1_10-28.jpg
2023-10-13	12:34:18	893	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:18	893	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37759_cassette_sram_xg-1290_d1_10-28.jpg'
2023-10-13	12:34:18	893	[DEBUG]	Query for Media
2023-10-13	12:34:18	893	[DEBUG]	Executed store
2023-10-13	12:34:18	893	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37759_cassette_sram_xg-1290_d1_10-28.jpg',`file_url_thumb`='bcprisme/37759_cassette_sram_xg-1290_d1_10-28.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1080161'
2023-10-13	12:34:18	893	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:18	893	[DEBUG]	Executed store
2023-10-13	12:34:18	893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860385','1080161','1')
2023-10-13	12:34:18	893	[DEBUG]	Store product image relation
2023-10-13	12:34:18	893	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:18	893	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860385 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:18	893	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:18	893	[DEBUG]	Executed store
2023-10-13	12:34:18	893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860385','0','370.473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:18	893	[DEBUG]	Checking manufacturer
2023-10-13	12:34:18	893	[DEBUG]	Load a row
2023-10-13	12:34:18	893	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:18	893	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:18	893	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:18	893	[DEBUG]	Executed store
2023-10-13	12:34:18	893	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:18	893	[DEBUG]	Manufacturer exists
2023-10-13	12:34:18	893	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:34:18	893	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:18	893	[DEBUG]	Executed store
2023-10-13	12:34:18	893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860385','32')
2023-10-13	12:34:18	893	[DEBUG]	Find the custom field ID
2023-10-13	12:34:18	893	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:18	893	[DEBUG]	No custom field ID found
2023-10-13	12:34:18	893	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:18	893	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:34:18	893	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860385 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:18	893	[DEBUG]	Store custom available field
2023-10-13	12:34:18	893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860385,3,'109.594722222222',1)
2023-10-13	12:34:18	893	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:18	893	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:18	893	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860385 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:18	893	[DEBUG]	Store custom available field
2023-10-13	12:34:18	893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860385,6,'choisir la taille',3)
2023-10-13	12:34:18	893	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:18	893	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:18	893	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:18	893	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:18	893	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860385 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:18	893	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:18	893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860385,8,1)
2023-10-13	12:34:18	893	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:18	893	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860385\":[1860385,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860385
2023-10-13	12:34:18	893	[DEBUG]	Checking category
2023-10-13	12:34:18	893	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:18	893	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860385
2023-10-13	12:34:18	893	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:18	893	[DEBUG]	Executed store
2023-10-13	12:34:18	893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860385','7283')
2023-10-13	12:34:18	893	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:18	893	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860385 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:18	893	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:18	893	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860385
2023-10-13	12:34:18	894	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:18	894	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:18	894	[DEBUG]	Use field value for field taille
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:18	894	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:18	894	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:18	894	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:18	894	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:18	894	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:18	894	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:18	894	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:18	894	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:18	894	[DEBUG]	Use field value for field published
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:18	894	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field override
2023-10-13	12:34:18	894	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:18	894	[DEBUG]	Use field value for field slug
2023-10-13	12:34:18	894	[DEBUG]	Process line 894
2023-10-13	12:34:18	894	[DEBUG]	Load a row
2023-10-13	12:34:18	894	[DEBUG]	Processing item: 1000000164152
2023-10-13	12:34:18	894	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:18	894	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:18	894	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8780_13'
2023-10-13	12:34:18	894	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:18	894	[DEBUG]	Processing product tax
2023-10-13	12:34:18	894	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:18	894	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:18	894	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:18	894	[DEBUG]	Query for Product
2023-10-13	12:34:18	894	[DEBUG]	Executed store
2023-10-13	12:34:18	894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860385','1000000164152','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:18	894	[DEBUG]	No parent found
2023-10-13	12:34:18	894	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860385 AND customfield_value = 'stockable'
2023-10-13	12:34:18	894	[DEBUG]	Check product language entry
2023-10-13	12:34:18	894	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860386
2023-10-13	12:34:18	894	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:18	894	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164152' AND `virtuemart_product_id` != 1860386
2023-10-13	12:34:18	894	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:18	894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860386, '1000000164152')
2023-10-13	12:34:18	894	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:18	894	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cassette-sram-xg-1290-d1-10-28-argent-unitaire' AND `virtuemart_product_id` != 1860386
2023-10-13	12:34:18	894	[DEBUG]	Query for ProductLang
2023-10-13	12:34:18	894	[DEBUG]	Executed store
2023-10-13	12:34:18	894	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Cassette Sram XG-1290 D1 10/28 / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cassette-sram-xg-1290-d1-10-28-argent-unitaire' WHERE `virtuemart_product_id` = '1860386'
2023-10-13	12:34:18	894	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37759_cassette_sram_xg-1290_d1_10-28.jpg
2023-10-13	12:34:18	894	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:18	894	[DEBUG]	Process image file
2023-10-13	12:34:18	894	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:18	894	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:18	894	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37759_cassette_sram_xg-1290_d1_10-28.jpg
2023-10-13	12:34:18	894	[DEBUG]	Full name target: bcprisme/37759_cassette_sram_xg-1290_d1_10-28.jpg
2023-10-13	12:34:19	894	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:19	894	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37759_cassette_sram_xg-1290_d1_10-28.jpg'
2023-10-13	12:34:19	894	[DEBUG]	Query for Media
2023-10-13	12:34:19	894	[DEBUG]	Executed store
2023-10-13	12:34:19	894	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37759_cassette_sram_xg-1290_d1_10-28.jpg',`file_url_thumb`='bcprisme/37759_cassette_sram_xg-1290_d1_10-28.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1080161'
2023-10-13	12:34:19	894	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:19	894	[DEBUG]	Executed store
2023-10-13	12:34:19	894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860386','1080161','1')
2023-10-13	12:34:19	894	[DEBUG]	Store product image relation
2023-10-13	12:34:19	894	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:19	894	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860386 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:19	894	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:19	894	[DEBUG]	Executed store
2023-10-13	12:34:19	894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860386','0','370.473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:19	894	[DEBUG]	Checking manufacturer
2023-10-13	12:34:19	894	[DEBUG]	Load a row
2023-10-13	12:34:19	894	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:19	894	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:19	894	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:19	894	[DEBUG]	Executed store
2023-10-13	12:34:19	894	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:34:19	894	[DEBUG]	Manufacturer exists
2023-10-13	12:34:19	894	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:34:19	894	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:19	894	[DEBUG]	Executed store
2023-10-13	12:34:19	894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860386','32')
2023-10-13	12:34:19	894	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:19	894	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:19	894	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860386 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:19	894	[DEBUG]	Store custom available field
2023-10-13	12:34:19	894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860386,3,'',1)
2023-10-13	12:34:19	894	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:19	894	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:19	894	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860386 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:19	894	[DEBUG]	Store custom available field
2023-10-13	12:34:19	894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860386,6,'Unitaire',3)
2023-10-13	12:34:19	894	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:19	894	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:19	894	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860385
2023-10-13	12:34:19	894	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:19	894	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860385\":[1860385,8,1,\"choisir la taille\"],\"1860386\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860385
2023-10-13	12:34:19	894	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:19	894	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860386
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:19	895	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field taille
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:19	895	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:19	895	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:19	895	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:19	895	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:19	895	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:19	895	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:19	895	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field published
2023-10-13	12:34:19	895	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:19	895	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field override
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:19	895	[DEBUG]	Use field value for field slug
2023-10-13	12:34:19	895	[DEBUG]	Process line 895
2023-10-13	12:34:19	895	[DEBUG]	Load a row
2023-10-13	12:34:19	895	[DEBUG]	Processing item: A_8811_208
2023-10-13	12:34:19	895	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:19	895	[DEBUG]	Processing product tax
2023-10-13	12:34:19	895	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:19	895	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:19	895	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:19	895	[DEBUG]	Query for Product
2023-10-13	12:34:19	895	[DEBUG]	Executed store
2023-10-13	12:34:19	895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8811_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:19	895	[DEBUG]	Check product language entry
2023-10-13	12:34:19	895	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860387
2023-10-13	12:34:19	895	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:19	895	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8811_208' AND `virtuemart_product_id` != 1860387
2023-10-13	12:34:19	895	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:19	895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860387, 'A_8811_208')
2023-10-13	12:34:19	895	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:19	895	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-cs-lg600-10-lg-10-vitesses-11-43-dents-box-linkglide-aucune' AND `virtuemart_product_id` != 1860387
2023-10-13	12:34:19	895	[DEBUG]	Query for ProductLang
2023-10-13	12:34:19	895	[DEBUG]	Executed store
2023-10-13	12:34:19	895	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.80565',`product_name`='SHIMANO Cassette CS-LG600-10 LG 10 vitesses 11-43 dents box Linkglide / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-cs-lg600-10-lg-10-vitesses-11-43-dents-box-linkglide-aucune' WHERE `virtuemart_product_id` = '1860387'
2023-10-13	12:34:19	895	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_80565_01_jpg.jpg
2023-10-13	12:34:19	895	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:19	895	[DEBUG]	Process image file
2023-10-13	12:34:19	895	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:19	895	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:19	895	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_80565_01_jpg.jpg
2023-10-13	12:34:19	895	[DEBUG]	Full name target: bcprisme/67_80565_01_jpg.jpg
2023-10-13	12:34:20	895	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:20	895	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_80565_01_jpg.jpg'
2023-10-13	12:34:20	895	[DEBUG]	Query for Media
2023-10-13	12:34:20	895	[DEBUG]	Executed store
2023-10-13	12:34:20	895	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_80565_01_jpg.jpg',`file_url_thumb`='bcprisme/67_80565_01_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1080163'
2023-10-13	12:34:20	895	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:20	895	[DEBUG]	Executed store
2023-10-13	12:34:20	895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860387','1080163','1')
2023-10-13	12:34:20	895	[DEBUG]	Store product image relation
2023-10-13	12:34:20	895	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:20	895	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860387 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:20	895	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:20	895	[DEBUG]	Executed store
2023-10-13	12:34:20	895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860387','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:20	895	[DEBUG]	Checking manufacturer
2023-10-13	12:34:20	895	[DEBUG]	Load a row
2023-10-13	12:34:20	895	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:20	895	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:20	895	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:20	895	[DEBUG]	Executed store
2023-10-13	12:34:20	895	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:20	895	[DEBUG]	Manufacturer exists
2023-10-13	12:34:20	895	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:34:20	895	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:20	895	[DEBUG]	Executed store
2023-10-13	12:34:20	895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860387','26')
2023-10-13	12:34:20	895	[DEBUG]	Find the custom field ID
2023-10-13	12:34:20	895	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:20	895	[DEBUG]	No custom field ID found
2023-10-13	12:34:20	895	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:20	895	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:34:20	895	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860387 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:20	895	[DEBUG]	Store custom available field
2023-10-13	12:34:20	895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860387,3,'0',1)
2023-10-13	12:34:20	895	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:20	895	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:20	895	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860387 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:20	895	[DEBUG]	Store custom available field
2023-10-13	12:34:20	895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860387,6,'choisir la taille',3)
2023-10-13	12:34:20	895	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:20	895	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:20	895	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:20	895	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:20	895	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860387 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:20	895	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:20	895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860387,8,1)
2023-10-13	12:34:20	895	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:20	895	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860387\":[1860387,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860387
2023-10-13	12:34:20	895	[DEBUG]	Checking category
2023-10-13	12:34:20	895	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:20	895	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860387
2023-10-13	12:34:20	895	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:20	895	[DEBUG]	Executed store
2023-10-13	12:34:20	895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860387','7283')
2023-10-13	12:34:20	895	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:20	895	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860387 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:20	895	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:20	895	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860387
2023-10-13	12:34:20	896	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:20	896	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:20	896	[DEBUG]	Use field value for field taille
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:20	896	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:20	896	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:20	896	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:20	896	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:20	896	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:20	896	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:20	896	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:20	896	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:20	896	[DEBUG]	Use field value for field published
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:20	896	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field override
2023-10-13	12:34:20	896	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:20	896	[DEBUG]	Use field value for field slug
2023-10-13	12:34:20	896	[DEBUG]	Process line 896
2023-10-13	12:34:20	896	[DEBUG]	Load a row
2023-10-13	12:34:20	896	[DEBUG]	Processing item: 4550170897123
2023-10-13	12:34:20	896	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:20	896	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:20	896	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8811_208'
2023-10-13	12:34:20	896	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:20	896	[DEBUG]	Processing product tax
2023-10-13	12:34:20	896	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:20	896	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:20	896	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:20	896	[DEBUG]	Query for Product
2023-10-13	12:34:20	896	[DEBUG]	Executed store
2023-10-13	12:34:20	896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860387','4550170897123','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:20	896	[DEBUG]	No parent found
2023-10-13	12:34:20	896	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860387 AND customfield_value = 'stockable'
2023-10-13	12:34:20	896	[DEBUG]	Check product language entry
2023-10-13	12:34:20	896	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860388
2023-10-13	12:34:20	896	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:20	896	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170897123' AND `virtuemart_product_id` != 1860388
2023-10-13	12:34:20	896	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:20	896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860388, '4550170897123')
2023-10-13	12:34:20	896	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:20	896	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-cs-lg600-10-lg-10-vitesses-11-43-dents-box-linkglide-aucune-unitaire' AND `virtuemart_product_id` != 1860388
2023-10-13	12:34:20	896	[DEBUG]	Query for ProductLang
2023-10-13	12:34:20	896	[DEBUG]	Executed store
2023-10-13	12:34:20	896	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette CS-LG600-10 LG 10 vitesses 11-43 dents box Linkglide / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-cs-lg600-10-lg-10-vitesses-11-43-dents-box-linkglide-aucune-unitaire' WHERE `virtuemart_product_id` = '1860388'
2023-10-13	12:34:20	896	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_80565_01_jpg.jpg
2023-10-13	12:34:20	896	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:20	896	[DEBUG]	Process image file
2023-10-13	12:34:20	896	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:20	896	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:20	896	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_80565_01_jpg.jpg
2023-10-13	12:34:20	896	[DEBUG]	Full name target: bcprisme/67_80565_01_jpg.jpg
2023-10-13	12:34:21	896	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:21	896	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_80565_01_jpg.jpg'
2023-10-13	12:34:21	896	[DEBUG]	Query for Media
2023-10-13	12:34:21	896	[DEBUG]	Executed store
2023-10-13	12:34:21	896	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_80565_01_jpg.jpg',`file_url_thumb`='bcprisme/67_80565_01_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1080163'
2023-10-13	12:34:21	896	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:21	896	[DEBUG]	Executed store
2023-10-13	12:34:21	896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860388','1080163','1')
2023-10-13	12:34:21	896	[DEBUG]	Store product image relation
2023-10-13	12:34:21	896	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:21	896	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860388 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:21	896	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:21	896	[DEBUG]	Executed store
2023-10-13	12:34:21	896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860388','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:21	896	[DEBUG]	Checking manufacturer
2023-10-13	12:34:21	896	[DEBUG]	Load a row
2023-10-13	12:34:21	896	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:21	896	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:21	896	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:21	896	[DEBUG]	Executed store
2023-10-13	12:34:21	896	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:21	896	[DEBUG]	Manufacturer exists
2023-10-13	12:34:21	896	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:34:21	896	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:21	896	[DEBUG]	Executed store
2023-10-13	12:34:21	896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860388','26')
2023-10-13	12:34:21	896	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:21	896	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:21	896	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860388 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:21	896	[DEBUG]	Store custom available field
2023-10-13	12:34:21	896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860388,3,'',1)
2023-10-13	12:34:21	896	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:21	896	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:21	896	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860388 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:21	896	[DEBUG]	Store custom available field
2023-10-13	12:34:21	896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860388,6,'Unitaire',3)
2023-10-13	12:34:21	896	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:21	896	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:21	896	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860387
2023-10-13	12:34:21	896	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:21	896	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860387\":[1860387,8,1,\"choisir la taille\"],\"1860388\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860387
2023-10-13	12:34:21	896	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:21	896	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860388
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:21	897	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field taille
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:21	897	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:21	897	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:21	897	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:21	897	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:21	897	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:21	897	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field published
2023-10-13	12:34:21	897	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:21	897	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field override
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:21	897	[DEBUG]	Use field value for field slug
2023-10-13	12:34:21	897	[DEBUG]	Process line 897
2023-10-13	12:34:21	897	[DEBUG]	Load a row
2023-10-13	12:34:21	897	[DEBUG]	Processing item: A_8824_13
2023-10-13	12:34:21	897	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:21	897	[DEBUG]	Processing product tax
2023-10-13	12:34:21	897	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:21	897	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:21	897	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:21	897	[DEBUG]	Query for Product
2023-10-13	12:34:21	897	[DEBUG]	Executed store
2023-10-13	12:34:21	897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8824_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:21	897	[DEBUG]	Check product language entry
2023-10-13	12:34:21	897	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860389
2023-10-13	12:34:21	897	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:21	897	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8824_13' AND `virtuemart_product_id` != 1860389
2023-10-13	12:34:21	897	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:21	897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860389, 'A_8824_13')
2023-10-13	12:34:22	897	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:22	897	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-cassette-ventura-8-vitesses-11-32-argent' AND `virtuemart_product_id` != 1860389
2023-10-13	12:34:22	897	[DEBUG]	Query for ProductLang
2023-10-13	12:34:22	897	[DEBUG]	Executed store
2023-10-13	12:34:22	897	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 39.089132',`product_name`='<Null> Cassette Ventura 8 vitesses 11/32 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-cassette-ventura-8-vitesses-11-32-argent' WHERE `virtuemart_product_id` = '1860389'
2023-10-13	12:34:22	897	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37809_cassette_ventura_8_vitesses_11-32.png
2023-10-13	12:34:22	897	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000002a5
2023-10-13	12:34:22	897	[DEBUG]	Process image file
2023-10-13	12:34:22	897	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000002a5
2023-10-13	12:34:22	897	[DEBUG]	Mime type found: image/png
2023-10-13	12:34:22	897	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37809_cassette_ventura_8_vitesses_11-32.png
2023-10-13	12:34:22	897	[DEBUG]	Full name target: bcprisme/37809_cassette_ventura_8_vitesses_11-32.png
2023-10-13	12:34:23	897	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:23	897	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37809_cassette_ventura_8_vitesses_11-32.png'
2023-10-13	12:34:23	897	[DEBUG]	Query for Media
2023-10-13	12:34:23	897	[DEBUG]	Executed store
2023-10-13	12:34:23	897	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37809_cassette_ventura_8_vitesses_11-32.png',`file_url_thumb`='bcprisme/37809_cassette_ventura_8_vitesses_11-32.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1084735'
2023-10-13	12:34:23	897	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:23	897	[DEBUG]	Executed store
2023-10-13	12:34:23	897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860389','1084735','1')
2023-10-13	12:34:23	897	[DEBUG]	Store product image relation
2023-10-13	12:34:23	897	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:23	897	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860389 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:23	897	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:23	897	[DEBUG]	Executed store
2023-10-13	12:34:23	897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860389','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:23	897	[DEBUG]	Checking manufacturer
2023-10-13	12:34:23	897	[DEBUG]	Manufacturer exists
2023-10-13	12:34:23	897	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	12:34:23	897	[DEBUG]	Load a row
2023-10-13	12:34:23	897	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:23	897	[DEBUG]	Executed store
2023-10-13	12:34:23	897	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	12:34:23	897	[DEBUG]	Manufacturer exists
2023-10-13	12:34:23	897	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	12:34:23	897	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:23	897	[DEBUG]	Executed store
2023-10-13	12:34:23	897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860389','20')
2023-10-13	12:34:23	897	[DEBUG]	Find the custom field ID
2023-10-13	12:34:23	897	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:23	897	[DEBUG]	No custom field ID found
2023-10-13	12:34:23	897	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:23	897	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:34:23	897	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860389 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:23	897	[DEBUG]	Store custom available field
2023-10-13	12:34:23	897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860389,3,'0',1)
2023-10-13	12:34:23	897	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:23	897	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:23	897	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860389 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:23	897	[DEBUG]	Store custom available field
2023-10-13	12:34:23	897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860389,6,'choisir la taille',3)
2023-10-13	12:34:23	897	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:23	897	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:23	897	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:23	897	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:23	897	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860389 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:23	897	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:23	897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860389,8,1)
2023-10-13	12:34:23	897	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:23	897	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860389\":[1860389,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860389
2023-10-13	12:34:23	897	[DEBUG]	Checking category
2023-10-13	12:34:23	897	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:23	897	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860389
2023-10-13	12:34:23	897	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:23	897	[DEBUG]	Executed store
2023-10-13	12:34:23	897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860389','7283')
2023-10-13	12:34:23	897	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:23	897	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860389 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:23	897	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:23	897	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860389
2023-10-13	12:34:23	898	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:23	898	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:23	898	[DEBUG]	Use field value for field taille
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:23	898	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:23	898	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:23	898	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:23	898	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:23	898	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:23	898	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:23	898	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:23	898	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:23	898	[DEBUG]	Use field value for field published
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:23	898	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field override
2023-10-13	12:34:23	898	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:23	898	[DEBUG]	Use field value for field slug
2023-10-13	12:34:23	898	[DEBUG]	Process line 898
2023-10-13	12:34:23	898	[DEBUG]	Load a row
2023-10-13	12:34:23	898	[DEBUG]	Processing item: 39.089132
2023-10-13	12:34:23	898	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:23	898	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:23	898	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8824_13'
2023-10-13	12:34:23	898	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:23	898	[DEBUG]	Processing product tax
2023-10-13	12:34:23	898	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:23	898	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:23	898	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:23	898	[DEBUG]	Query for Product
2023-10-13	12:34:23	898	[DEBUG]	Executed store
2023-10-13	12:34:23	898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860389','39.089132','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:23	898	[DEBUG]	No parent found
2023-10-13	12:34:23	898	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860389 AND customfield_value = 'stockable'
2023-10-13	12:34:23	898	[DEBUG]	Check product language entry
2023-10-13	12:34:23	898	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860390
2023-10-13	12:34:23	898	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:23	898	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '39.089132' AND `virtuemart_product_id` != 1860390
2023-10-13	12:34:23	898	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:23	898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860390, '39.089132')
2023-10-13	12:34:23	898	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:23	898	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-cassette-ventura-8-vitesses-11-32-argent-all' AND `virtuemart_product_id` != 1860390
2023-10-13	12:34:23	898	[DEBUG]	Query for ProductLang
2023-10-13	12:34:23	898	[DEBUG]	Executed store
2023-10-13	12:34:23	898	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='<Null> Cassette Ventura 8 vitesses 11/32 / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-cassette-ventura-8-vitesses-11-32-argent-all' WHERE `virtuemart_product_id` = '1860390'
2023-10-13	12:34:23	898	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37809_cassette_ventura_8_vitesses_11-32.png
2023-10-13	12:34:23	898	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000002a5
2023-10-13	12:34:23	898	[DEBUG]	Process image file
2023-10-13	12:34:23	898	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000002a5
2023-10-13	12:34:23	898	[DEBUG]	Mime type found: image/png
2023-10-13	12:34:23	898	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37809_cassette_ventura_8_vitesses_11-32.png
2023-10-13	12:34:23	898	[DEBUG]	Full name target: bcprisme/37809_cassette_ventura_8_vitesses_11-32.png
2023-10-13	12:34:24	898	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:24	898	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37809_cassette_ventura_8_vitesses_11-32.png'
2023-10-13	12:34:24	898	[DEBUG]	Query for Media
2023-10-13	12:34:24	898	[DEBUG]	Executed store
2023-10-13	12:34:24	898	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37809_cassette_ventura_8_vitesses_11-32.png',`file_url_thumb`='bcprisme/37809_cassette_ventura_8_vitesses_11-32.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1084735'
2023-10-13	12:34:24	898	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:24	898	[DEBUG]	Executed store
2023-10-13	12:34:24	898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860390','1084735','1')
2023-10-13	12:34:24	898	[DEBUG]	Store product image relation
2023-10-13	12:34:24	898	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:24	898	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860390 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:24	898	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:24	898	[DEBUG]	Executed store
2023-10-13	12:34:24	898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860390','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:24	898	[DEBUG]	Checking manufacturer
2023-10-13	12:34:24	898	[DEBUG]	Manufacturer exists
2023-10-13	12:34:24	898	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	12:34:24	898	[DEBUG]	Load a row
2023-10-13	12:34:24	898	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:24	898	[DEBUG]	Executed store
2023-10-13	12:34:24	898	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	12:34:24	898	[DEBUG]	Manufacturer exists
2023-10-13	12:34:24	898	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	12:34:24	898	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:24	898	[DEBUG]	Executed store
2023-10-13	12:34:24	898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860390','20')
2023-10-13	12:34:24	898	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:24	898	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:24	898	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860390 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:24	898	[DEBUG]	Store custom available field
2023-10-13	12:34:24	898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860390,3,'',1)
2023-10-13	12:34:24	898	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:24	898	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:34:24	898	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860390 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:24	898	[DEBUG]	Store custom available field
2023-10-13	12:34:24	898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860390,6,'All',3)
2023-10-13	12:34:24	898	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:24	898	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:24	898	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860389
2023-10-13	12:34:24	898	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:24	898	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860389\":[1860389,8,1,\"choisir la taille\"],\"1860390\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860389
2023-10-13	12:34:24	898	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:24	898	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860390
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:24	899	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field taille
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:24	899	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:24	899	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:24	899	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:24	899	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:24	899	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:24	899	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field published
2023-10-13	12:34:24	899	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:24	899	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field override
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:24	899	[DEBUG]	Use field value for field slug
2023-10-13	12:34:24	899	[DEBUG]	Process line 899
2023-10-13	12:34:24	899	[DEBUG]	Load a row
2023-10-13	12:34:24	899	[DEBUG]	Processing item: A_8825_208
2023-10-13	12:34:24	899	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:24	899	[DEBUG]	Processing product tax
2023-10-13	12:34:24	899	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:24	899	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:24	899	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:24	899	[DEBUG]	Query for Product
2023-10-13	12:34:24	899	[DEBUG]	Executed store
2023-10-13	12:34:24	899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8825_208','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:24	899	[DEBUG]	Check product language entry
2023-10-13	12:34:24	899	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860391
2023-10-13	12:34:24	899	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:24	899	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8825_208' AND `virtuemart_product_id` != 1860391
2023-10-13	12:34:24	899	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:24	899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860391, 'A_8825_208')
2023-10-13	12:34:24	899	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:24	899	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-acera-cs-hg41-8-vitesses-11-34-dents-box-aucune' AND `virtuemart_product_id` != 1860391
2023-10-13	12:34:24	899	[DEBUG]	Query for ProductLang
2023-10-13	12:34:24	899	[DEBUG]	Executed store
2023-10-13	12:34:24	899	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.53249',`product_name`='SHIMANO cassette Acera CS-HG41 8-vitesses 11-34 dents  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-acera-cs-hg41-8-vitesses-11-34-dents-box-aucune' WHERE `virtuemart_product_id` = '1860391'
2023-10-13	12:34:24	899	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_52672_jpg.jpg
2023-10-13	12:34:24	899	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:24	899	[DEBUG]	Process image file
2023-10-13	12:34:24	899	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:24	899	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:24	899	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_52672_jpg.jpg
2023-10-13	12:34:24	899	[DEBUG]	Full name target: bcprisme/67_52672_jpg.jpg
2023-10-13	12:34:25	899	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:25	899	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_52672_jpg.jpg'
2023-10-13	12:34:25	899	[DEBUG]	Query for Media
2023-10-13	12:34:25	899	[DEBUG]	Executed store
2023-10-13	12:34:25	899	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_52672_jpg.jpg',`file_url_thumb`='bcprisme/67_52672_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1107087'
2023-10-13	12:34:25	899	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:25	899	[DEBUG]	Executed store
2023-10-13	12:34:25	899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860391','1107087','1')
2023-10-13	12:34:25	899	[DEBUG]	Store product image relation
2023-10-13	12:34:25	899	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:25	899	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860391 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:25	899	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:25	899	[DEBUG]	Executed store
2023-10-13	12:34:25	899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860391','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:25	899	[DEBUG]	Checking manufacturer
2023-10-13	12:34:25	899	[DEBUG]	Load a row
2023-10-13	12:34:25	899	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:25	899	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:25	899	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:25	899	[DEBUG]	Executed store
2023-10-13	12:34:25	899	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:25	899	[DEBUG]	Manufacturer exists
2023-10-13	12:34:25	899	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:34:25	899	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:25	899	[DEBUG]	Executed store
2023-10-13	12:34:25	899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860391','26')
2023-10-13	12:34:25	899	[DEBUG]	Find the custom field ID
2023-10-13	12:34:25	899	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:25	899	[DEBUG]	No custom field ID found
2023-10-13	12:34:25	899	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:25	899	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:34:25	899	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860391 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:25	899	[DEBUG]	Store custom available field
2023-10-13	12:34:25	899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860391,3,'0',1)
2023-10-13	12:34:25	899	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:25	899	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:25	899	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860391 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:25	899	[DEBUG]	Store custom available field
2023-10-13	12:34:25	899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860391,6,'choisir la taille',3)
2023-10-13	12:34:25	899	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:25	899	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:25	899	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:25	899	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:25	899	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860391 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:25	899	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:25	899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860391,8,1)
2023-10-13	12:34:25	899	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:25	899	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860391\":[1860391,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860391
2023-10-13	12:34:25	899	[DEBUG]	Checking category
2023-10-13	12:34:25	899	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:25	899	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860391
2023-10-13	12:34:25	899	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:25	899	[DEBUG]	Executed store
2023-10-13	12:34:25	899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860391','7283')
2023-10-13	12:34:25	899	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:25	899	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860391 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:25	899	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:25	899	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860391
2023-10-13	12:34:25	900	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:25	900	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:25	900	[DEBUG]	Use field value for field taille
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:25	900	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:25	900	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:25	900	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:25	900	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:25	900	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:25	900	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:25	900	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:25	900	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:25	900	[DEBUG]	Use field value for field published
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:25	900	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field override
2023-10-13	12:34:25	900	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:25	900	[DEBUG]	Use field value for field slug
2023-10-13	12:34:25	900	[DEBUG]	Process line 900
2023-10-13	12:34:25	900	[DEBUG]	Load a row
2023-10-13	12:34:25	900	[DEBUG]	Processing item: 4524667675679
2023-10-13	12:34:25	900	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:25	900	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:25	900	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8825_208'
2023-10-13	12:34:25	900	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:25	900	[DEBUG]	Processing product tax
2023-10-13	12:34:25	900	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:25	900	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:25	900	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:25	900	[DEBUG]	Query for Product
2023-10-13	12:34:25	900	[DEBUG]	Executed store
2023-10-13	12:34:25	900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860391','4524667675679','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0')
2023-10-13	12:34:25	900	[DEBUG]	No parent found
2023-10-13	12:34:25	900	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860391 AND customfield_value = 'stockable'
2023-10-13	12:34:25	900	[DEBUG]	Check product language entry
2023-10-13	12:34:25	900	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860392
2023-10-13	12:34:25	900	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:25	900	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667675679' AND `virtuemart_product_id` != 1860392
2023-10-13	12:34:25	900	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:25	900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860392, '4524667675679')
2023-10-13	12:34:25	900	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:25	900	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-acera-cs-hg41-8-vitesses-11-34-dents-box-aucune-unitaire' AND `virtuemart_product_id` != 1860392
2023-10-13	12:34:25	900	[DEBUG]	Query for ProductLang
2023-10-13	12:34:25	900	[DEBUG]	Executed store
2023-10-13	12:34:25	900	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO cassette Acera CS-HG41 8-vitesses 11-34 dents  box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-acera-cs-hg41-8-vitesses-11-34-dents-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860392'
2023-10-13	12:34:25	900	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_52672_jpg.jpg
2023-10-13	12:34:25	900	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:25	900	[DEBUG]	Process image file
2023-10-13	12:34:25	900	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:25	900	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:25	900	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_52672_jpg.jpg
2023-10-13	12:34:25	900	[DEBUG]	Full name target: bcprisme/67_52672_jpg.jpg
2023-10-13	12:34:26	900	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:26	900	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_52672_jpg.jpg'
2023-10-13	12:34:26	900	[DEBUG]	Query for Media
2023-10-13	12:34:26	900	[DEBUG]	Executed store
2023-10-13	12:34:26	900	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_52672_jpg.jpg',`file_url_thumb`='bcprisme/67_52672_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1107087'
2023-10-13	12:34:26	900	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:26	900	[DEBUG]	Executed store
2023-10-13	12:34:26	900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860392','1107087','1')
2023-10-13	12:34:26	900	[DEBUG]	Store product image relation
2023-10-13	12:34:26	900	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:26	900	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860392 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:26	900	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:26	900	[DEBUG]	Executed store
2023-10-13	12:34:26	900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860392','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:32:39','1593','2023-10-13 12:32:39','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:26	900	[DEBUG]	Checking manufacturer
2023-10-13	12:34:26	900	[DEBUG]	Load a row
2023-10-13	12:34:26	900	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:26	900	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:26	900	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:26	900	[DEBUG]	Executed store
2023-10-13	12:34:26	900	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:26	900	[DEBUG]	Manufacturer exists
2023-10-13	12:34:26	900	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:34:26	900	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:26	900	[DEBUG]	Executed store
2023-10-13	12:34:26	900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860392','26')
2023-10-13	12:34:26	900	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:26	900	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:26	900	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860392 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:26	900	[DEBUG]	Store custom available field
2023-10-13	12:34:26	900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860392,3,'',1)
2023-10-13	12:34:26	900	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:26	900	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:26	900	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860392 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:26	900	[DEBUG]	Store custom available field
2023-10-13	12:34:26	900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860392,6,'Unitaire',3)
2023-10-13	12:34:26	900	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:26	900	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:26	900	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860391
2023-10-13	12:34:26	900	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:26	900	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860391\":[1860391,8,1,\"choisir la taille\"],\"1860392\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860391
2023-10-13	12:34:26	900	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:26	900	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860392
2023-10-13	12:34:46	900	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:34:46	900	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:34:46	900	[DEBUG]	Load the fields to process
2023-10-13	12:34:46	900	[DEBUG]	Setup field: product_sku
2023-10-13	12:34:46	900	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:34:46	900	[DEBUG]	Setup field: taille
2023-10-13	12:34:46	900	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:34:46	900	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:34:46	900	[DEBUG]	Setup field: product_name
2023-10-13	12:34:46	900	[DEBUG]	Setup field: category_path
2023-10-13	12:34:46	900	[DEBUG]	Setup field: product_price
2023-10-13	12:34:46	900	[DEBUG]	Setup field: product_override_price
2023-10-13	12:34:46	900	[DEBUG]	Setup field: product_tax
2023-10-13	12:34:46	900	[DEBUG]	Setup field: file_url
2023-10-13	12:34:46	900	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:34:46	900	[DEBUG]	Setup field: product_desc
2023-10-13	12:34:46	900	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:34:46	900	[DEBUG]	Setup field: product_availability
2023-10-13	12:34:46	900	[DEBUG]	Setup field: product_weight
2023-10-13	12:34:46	900	[DEBUG]	Setup field: product_unit
2023-10-13	12:34:46	900	[DEBUG]	Setup field: related_products
2023-10-13	12:34:46	900	[DEBUG]	Setup field: product_special
2023-10-13	12:34:46	900	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:34:46	900	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:34:46	900	[DEBUG]	Setup field: published
2023-10-13	12:34:46	900	[DEBUG]	Setup field: metadesc
2023-10-13	12:34:46	900	[DEBUG]	Setup field: metakey
2023-10-13	12:34:46	900	[DEBUG]	Setup field: custom_title
2023-10-13	12:34:46	900	[DEBUG]	Setup field: custom_value
2023-10-13	12:34:46	900	[DEBUG]	Setup field: custom_param
2023-10-13	12:34:46	900	[DEBUG]	Setup field: override
2023-10-13	12:34:46	900	[DEBUG]	Setup field: public_price
2023-10-13	12:34:46	900	[DEBUG]	Setup field: slug
2023-10-13	12:34:46	900	[DEBUG]	Use the file for configuration
2023-10-13	12:34:46	900	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:34:46	900	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:34:46	900	[DEBUG]	Load the custom fields
2023-10-13	12:34:46	900	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:34:46	900	[DEBUG]	Load stockable custom fields
2023-10-13	12:34:46	900	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:34:46	900	[DEBUG]	Load custom fields for all
2023-10-13	12:34:46	900	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:46	901	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field taille
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:46	901	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:46	901	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:46	901	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:46	901	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:46	901	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:46	901	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field published
2023-10-13	12:34:46	901	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:46	901	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field override
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:46	901	[DEBUG]	Use field value for field slug
2023-10-13	12:34:46	901	[DEBUG]	Process line 901
2023-10-13	12:34:46	901	[DEBUG]	Check if the vendor exists
2023-10-13	12:34:46	901	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8851_1'
2023-10-13	12:34:46	901	[DEBUG]	Load a row
2023-10-13	12:34:46	901	[DEBUG]	Processing item: A_8851_1
2023-10-13	12:34:46	901	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:46	901	[DEBUG]	Processing product tax
2023-10-13	12:34:46	901	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:46	901	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:46	901	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:46	901	[DEBUG]	Query for Product
2023-10-13	12:34:46	901	[DEBUG]	Executed store
2023-10-13	12:34:46	901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8851_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:34:46	901	[DEBUG]	Check product language entry
2023-10-13	12:34:46	901	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860393
2023-10-13	12:34:46	901	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:46	901	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8851_1' AND `virtuemart_product_id` != 1860393
2023-10-13	12:34:46	901	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:46	901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860393, 'A_8851_1')
2023-10-13	12:34:46	901	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:46	901	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg1175-11-vit-10-42z-noir' AND `virtuemart_product_id` != 1860393
2023-10-13	12:34:46	901	[DEBUG]	Query for ProductLang
2023-10-13	12:34:46	901	[DEBUG]	Executed store
2023-10-13	12:34:46	901	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D75241I',`product_name`='SRAM Cassette XG1175 11-vit. 10-42Z / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg1175-11-vit-10-42z-noir' WHERE `virtuemart_product_id` = '1860393'
2023-10-13	12:34:46	901	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37834_cassette_xg1175_11-vit__10-42z.jpg
2023-10-13	12:34:46	901	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:46	901	[DEBUG]	Process image file
2023-10-13	12:34:46	901	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:46	901	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:46	901	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37834_cassette_xg1175_11-vit__10-42z.jpg
2023-10-13	12:34:46	901	[DEBUG]	Full name target: bcprisme/37834_cassette_xg1175_11-vit__10-42z.jpg
2023-10-13	12:34:48	901	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:48	901	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37834_cassette_xg1175_11-vit__10-42z.jpg'
2023-10-13	12:34:48	901	[DEBUG]	Query for Media
2023-10-13	12:34:48	901	[DEBUG]	Executed store
2023-10-13	12:34:48	901	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37834_cassette_xg1175_11-vit__10-42z.jpg',`file_url_thumb`='bcprisme/37834_cassette_xg1175_11-vit__10-42z.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1131122'
2023-10-13	12:34:48	901	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:48	901	[DEBUG]	Executed store
2023-10-13	12:34:48	901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860393','1131122','1')
2023-10-13	12:34:48	901	[DEBUG]	Store product image relation
2023-10-13	12:34:48	901	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:48	901	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860393 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:48	901	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:48	901	[DEBUG]	Executed store
2023-10-13	12:34:48	901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860393','0','232.033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:48	901	[DEBUG]	Checking manufacturer
2023-10-13	12:34:48	901	[DEBUG]	Load a row
2023-10-13	12:34:48	901	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:48	901	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:48	901	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:48	901	[DEBUG]	Executed store
2023-10-13	12:34:48	901	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:48	901	[DEBUG]	Manufacturer exists
2023-10-13	12:34:48	901	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:34:48	901	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:48	901	[DEBUG]	Executed store
2023-10-13	12:34:48	901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860393','35')
2023-10-13	12:34:48	901	[DEBUG]	Find the custom field ID
2023-10-13	12:34:48	901	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:48	901	[DEBUG]	No custom field ID found
2023-10-13	12:34:48	901	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:48	901	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:34:48	901	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860393 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:48	901	[DEBUG]	Store custom available field
2023-10-13	12:34:48	901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860393,3,'0',1)
2023-10-13	12:34:48	901	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:48	901	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:48	901	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860393 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:48	901	[DEBUG]	Store custom available field
2023-10-13	12:34:48	901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860393,6,'choisir la taille',3)
2023-10-13	12:34:48	901	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:48	901	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:48	901	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:48	901	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:48	901	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860393 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:48	901	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:48	901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860393,8,1)
2023-10-13	12:34:48	901	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:48	901	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860393\":[1860393,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860393
2023-10-13	12:34:48	901	[DEBUG]	Checking category
2023-10-13	12:34:48	901	[DEBUG]	Check if category path exists: CASSETTES - KASSETTEN
2023-10-13	12:34:48	901	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASSETTES - KASSETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:34:48	901	[DEBUG]	Check if category path exists: CASSETTES - KASSETTEN
2023-10-13	12:34:48	901	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CASSETTES - KASSETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7282
2023-10-13	12:34:48	901	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:48	901	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860393
2023-10-13	12:34:48	901	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:48	901	[DEBUG]	Executed store
2023-10-13	12:34:48	901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860393','7283')
2023-10-13	12:34:48	901	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:48	901	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860393 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:48	901	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:48	901	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860393
2023-10-13	12:34:48	902	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:48	902	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:48	902	[DEBUG]	Use field value for field taille
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:48	902	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:48	902	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:48	902	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:48	902	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:48	902	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:48	902	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:48	902	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:48	902	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:48	902	[DEBUG]	Use field value for field published
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:48	902	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field override
2023-10-13	12:34:48	902	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:48	902	[DEBUG]	Use field value for field slug
2023-10-13	12:34:48	902	[DEBUG]	Process line 902
2023-10-13	12:34:48	902	[DEBUG]	Load a row
2023-10-13	12:34:48	902	[DEBUG]	Processing item: 710845807893
2023-10-13	12:34:48	902	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:48	902	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:48	902	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8851_1'
2023-10-13	12:34:48	902	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:48	902	[DEBUG]	Processing product tax
2023-10-13	12:34:48	902	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:48	902	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:48	902	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:48	902	[DEBUG]	Query for Product
2023-10-13	12:34:48	902	[DEBUG]	Executed store
2023-10-13	12:34:48	902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860393','710845807893','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:34:48	902	[DEBUG]	No parent found
2023-10-13	12:34:48	902	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860393 AND customfield_value = 'stockable'
2023-10-13	12:34:48	902	[DEBUG]	Check product language entry
2023-10-13	12:34:48	902	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860394
2023-10-13	12:34:48	902	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:48	902	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845807893' AND `virtuemart_product_id` != 1860394
2023-10-13	12:34:48	902	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:48	902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860394, '710845807893')
2023-10-13	12:34:48	902	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:48	902	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg1175-11-vit-10-42z-noir-unitaire' AND `virtuemart_product_id` != 1860394
2023-10-13	12:34:48	902	[DEBUG]	Query for ProductLang
2023-10-13	12:34:48	902	[DEBUG]	Executed store
2023-10-13	12:34:48	902	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG1175 11-vit. 10-42Z / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg1175-11-vit-10-42z-noir-unitaire' WHERE `virtuemart_product_id` = '1860394'
2023-10-13	12:34:48	902	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37834_cassette_xg1175_11-vit__10-42z.jpg
2023-10-13	12:34:48	902	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:48	902	[DEBUG]	Process image file
2023-10-13	12:34:48	902	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:48	902	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:48	902	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37834_cassette_xg1175_11-vit__10-42z.jpg
2023-10-13	12:34:48	902	[DEBUG]	Full name target: bcprisme/37834_cassette_xg1175_11-vit__10-42z.jpg
2023-10-13	12:34:49	902	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:49	902	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37834_cassette_xg1175_11-vit__10-42z.jpg'
2023-10-13	12:34:49	902	[DEBUG]	Query for Media
2023-10-13	12:34:49	902	[DEBUG]	Executed store
2023-10-13	12:34:49	902	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37834_cassette_xg1175_11-vit__10-42z.jpg',`file_url_thumb`='bcprisme/37834_cassette_xg1175_11-vit__10-42z.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1131122'
2023-10-13	12:34:49	902	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:49	902	[DEBUG]	Executed store
2023-10-13	12:34:49	902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860394','1131122','1')
2023-10-13	12:34:49	902	[DEBUG]	Store product image relation
2023-10-13	12:34:49	902	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:49	902	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860394 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:49	902	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:49	902	[DEBUG]	Executed store
2023-10-13	12:34:49	902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860394','0','232.033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:49	902	[DEBUG]	Checking manufacturer
2023-10-13	12:34:49	902	[DEBUG]	Load a row
2023-10-13	12:34:49	902	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:49	902	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:49	902	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:49	902	[DEBUG]	Executed store
2023-10-13	12:34:49	902	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:49	902	[DEBUG]	Manufacturer exists
2023-10-13	12:34:49	902	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:34:49	902	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:49	902	[DEBUG]	Executed store
2023-10-13	12:34:49	902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860394','35')
2023-10-13	12:34:49	902	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:49	902	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:49	902	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860394 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:49	902	[DEBUG]	Store custom available field
2023-10-13	12:34:49	902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860394,3,'',1)
2023-10-13	12:34:49	902	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:49	902	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:49	902	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860394 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:49	902	[DEBUG]	Store custom available field
2023-10-13	12:34:49	902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860394,6,'Unitaire',3)
2023-10-13	12:34:49	902	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:49	902	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:49	902	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860393
2023-10-13	12:34:49	902	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:49	902	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860393\":[1860393,8,1,\"choisir la taille\"],\"1860394\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860393
2023-10-13	12:34:49	902	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:49	902	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860394
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:49	903	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field taille
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:49	903	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:49	903	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:49	903	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:49	903	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:49	903	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:49	903	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field published
2023-10-13	12:34:49	903	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:49	903	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field override
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:49	903	[DEBUG]	Use field value for field slug
2023-10-13	12:34:49	903	[DEBUG]	Process line 903
2023-10-13	12:34:49	903	[DEBUG]	Load a row
2023-10-13	12:34:49	903	[DEBUG]	Processing item: A_8886_208
2023-10-13	12:34:49	903	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:49	903	[DEBUG]	Processing product tax
2023-10-13	12:34:49	903	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:49	903	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:49	903	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:49	903	[DEBUG]	Query for Product
2023-10-13	12:34:49	903	[DEBUG]	Executed store
2023-10-13	12:34:49	903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8886_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:34:49	903	[DEBUG]	Check product language entry
2023-10-13	12:34:49	903	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860395
2023-10-13	12:34:49	903	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:49	903	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8886_208' AND `virtuemart_product_id` != 1860395
2023-10-13	12:34:49	903	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:49	903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860395, 'A_8886_208')
2023-10-13	12:34:49	903	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:49	903	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-r8000-11-vitesses-11-32-dents-box-aucune' AND `virtuemart_product_id` != 1860395
2023-10-13	12:34:49	903	[DEBUG]	Query for ProductLang
2023-10-13	12:34:49	903	[DEBUG]	Executed store
2023-10-13	12:34:49	903	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.69262',`product_name`='SHIMANO cassette Ultegra CS-R8000 11-vitesses 11-32 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-r8000-11-vitesses-11-32-dents-box-aucune' WHERE `virtuemart_product_id` = '1860395'
2023-10-13	12:34:49	903	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_69261_jpg.jpg
2023-10-13	12:34:49	903	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:49	903	[DEBUG]	Process image file
2023-10-13	12:34:49	903	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:49	903	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:49	903	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_69261_jpg.jpg
2023-10-13	12:34:49	903	[DEBUG]	Full name target: bcprisme/67_69261_jpg.jpg
2023-10-13	12:34:50	903	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:50	903	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_69261_jpg.jpg'
2023-10-13	12:34:50	903	[DEBUG]	Query for Media
2023-10-13	12:34:50	903	[DEBUG]	Executed store
2023-10-13	12:34:50	903	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_69261_jpg.jpg',`file_url_thumb`='bcprisme/67_69261_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '479499'
2023-10-13	12:34:50	903	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:50	903	[DEBUG]	Executed store
2023-10-13	12:34:50	903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860395','479499','1')
2023-10-13	12:34:50	903	[DEBUG]	Store product image relation
2023-10-13	12:34:50	903	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:50	903	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860395 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:50	903	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:50	903	[DEBUG]	Executed store
2023-10-13	12:34:50	903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860395','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:50	903	[DEBUG]	Checking manufacturer
2023-10-13	12:34:50	903	[DEBUG]	Load a row
2023-10-13	12:34:50	903	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:50	903	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:50	903	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:50	903	[DEBUG]	Executed store
2023-10-13	12:34:50	903	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:50	903	[DEBUG]	Manufacturer exists
2023-10-13	12:34:50	903	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:34:50	903	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:50	903	[DEBUG]	Executed store
2023-10-13	12:34:50	903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860395','26')
2023-10-13	12:34:50	903	[DEBUG]	Find the custom field ID
2023-10-13	12:34:50	903	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:50	903	[DEBUG]	No custom field ID found
2023-10-13	12:34:50	903	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:50	903	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:34:50	903	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860395 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:50	903	[DEBUG]	Store custom available field
2023-10-13	12:34:50	903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860395,3,'0',1)
2023-10-13	12:34:50	903	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:50	903	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:50	903	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860395 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:50	903	[DEBUG]	Store custom available field
2023-10-13	12:34:50	903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860395,6,'choisir la taille',3)
2023-10-13	12:34:50	903	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:50	903	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:50	903	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:50	903	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:50	903	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860395 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:50	903	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:50	903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860395,8,1)
2023-10-13	12:34:50	903	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:50	903	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860395\":[1860395,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860395
2023-10-13	12:34:50	903	[DEBUG]	Checking category
2023-10-13	12:34:50	903	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:50	903	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860395
2023-10-13	12:34:50	903	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:50	903	[DEBUG]	Executed store
2023-10-13	12:34:50	903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860395','7283')
2023-10-13	12:34:50	903	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:50	903	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860395 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:50	903	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:50	903	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860395
2023-10-13	12:34:50	904	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:50	904	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:50	904	[DEBUG]	Use field value for field taille
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:50	904	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:50	904	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:50	904	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:50	904	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:50	904	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:50	904	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:50	904	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:50	904	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:50	904	[DEBUG]	Use field value for field published
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:50	904	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field override
2023-10-13	12:34:50	904	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:50	904	[DEBUG]	Use field value for field slug
2023-10-13	12:34:50	904	[DEBUG]	Process line 904
2023-10-13	12:34:50	904	[DEBUG]	Load a row
2023-10-13	12:34:50	904	[DEBUG]	Processing item: 4524667623342
2023-10-13	12:34:50	904	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:50	904	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:50	904	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8886_208'
2023-10-13	12:34:50	904	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:50	904	[DEBUG]	Processing product tax
2023-10-13	12:34:50	904	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:50	904	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:50	904	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:50	904	[DEBUG]	Query for Product
2023-10-13	12:34:50	904	[DEBUG]	Executed store
2023-10-13	12:34:50	904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860395','4524667623342','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:34:50	904	[DEBUG]	No parent found
2023-10-13	12:34:50	904	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860395 AND customfield_value = 'stockable'
2023-10-13	12:34:50	904	[DEBUG]	Check product language entry
2023-10-13	12:34:50	904	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860396
2023-10-13	12:34:50	904	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:50	904	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667623342' AND `virtuemart_product_id` != 1860396
2023-10-13	12:34:50	904	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:50	904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860396, '4524667623342')
2023-10-13	12:34:50	904	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:50	904	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-r8000-11-vitesses-11-32-dents-box-aucune-unitaire' AND `virtuemart_product_id` != 1860396
2023-10-13	12:34:50	904	[DEBUG]	Query for ProductLang
2023-10-13	12:34:50	904	[DEBUG]	Executed store
2023-10-13	12:34:50	904	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO cassette Ultegra CS-R8000 11-vitesses 11-32 dents box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-r8000-11-vitesses-11-32-dents-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860396'
2023-10-13	12:34:50	904	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_69261_jpg.jpg
2023-10-13	12:34:50	904	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:50	904	[DEBUG]	Process image file
2023-10-13	12:34:50	904	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:50	904	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:50	904	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_69261_jpg.jpg
2023-10-13	12:34:50	904	[DEBUG]	Full name target: bcprisme/67_69261_jpg.jpg
2023-10-13	12:34:51	904	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:51	904	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_69261_jpg.jpg'
2023-10-13	12:34:51	904	[DEBUG]	Query for Media
2023-10-13	12:34:51	904	[DEBUG]	Executed store
2023-10-13	12:34:51	904	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_69261_jpg.jpg',`file_url_thumb`='bcprisme/67_69261_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '479499'
2023-10-13	12:34:51	904	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:51	904	[DEBUG]	Executed store
2023-10-13	12:34:51	904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860396','479499','1')
2023-10-13	12:34:51	904	[DEBUG]	Store product image relation
2023-10-13	12:34:51	904	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:51	904	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860396 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:51	904	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:51	904	[DEBUG]	Executed store
2023-10-13	12:34:51	904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860396','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:51	904	[DEBUG]	Checking manufacturer
2023-10-13	12:34:51	904	[DEBUG]	Load a row
2023-10-13	12:34:51	904	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:51	904	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:51	904	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:51	904	[DEBUG]	Executed store
2023-10-13	12:34:51	904	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:34:51	904	[DEBUG]	Manufacturer exists
2023-10-13	12:34:51	904	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:34:51	904	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:51	904	[DEBUG]	Executed store
2023-10-13	12:34:51	904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860396','26')
2023-10-13	12:34:51	904	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:51	904	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:51	904	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860396 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:51	904	[DEBUG]	Store custom available field
2023-10-13	12:34:51	904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860396,3,'',1)
2023-10-13	12:34:51	904	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:51	904	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:51	904	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860396 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:51	904	[DEBUG]	Store custom available field
2023-10-13	12:34:51	904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860396,6,'Unitaire',3)
2023-10-13	12:34:51	904	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:51	904	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:51	904	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860395
2023-10-13	12:34:51	904	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:51	904	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860395\":[1860395,8,1,\"choisir la taille\"],\"1860396\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860395
2023-10-13	12:34:51	904	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:51	904	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860396
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:51	905	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field taille
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:51	905	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:51	905	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:51	905	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:51	905	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:51	905	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:51	905	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field published
2023-10-13	12:34:51	905	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:51	905	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field override
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:51	905	[DEBUG]	Use field value for field slug
2023-10-13	12:34:51	905	[DEBUG]	Process line 905
2023-10-13	12:34:51	905	[DEBUG]	Load a row
2023-10-13	12:34:51	905	[DEBUG]	Processing item: A_8891_1
2023-10-13	12:34:51	905	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:51	905	[DEBUG]	Processing product tax
2023-10-13	12:34:51	905	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:51	905	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:51	905	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:51	905	[DEBUG]	Query for Product
2023-10-13	12:34:51	905	[DEBUG]	Executed store
2023-10-13	12:34:51	905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8891_1','0.6','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:34:51	905	[DEBUG]	Check product language entry
2023-10-13	12:34:51	905	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860397
2023-10-13	12:34:51	905	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:51	905	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8891_1' AND `virtuemart_product_id` != 1860397
2023-10-13	12:34:51	905	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:51	905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860397, 'A_8891_1')
2023-10-13	12:34:51	905	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:51	905	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-pignon-sram-ex1-set-pignon-xg-899-11t-13t-15t-noir' AND `virtuemart_product_id` != 1860397
2023-10-13	12:34:51	905	[DEBUG]	Query for ProductLang
2023-10-13	12:34:51	905	[DEBUG]	Executed store
2023-10-13	12:34:51	905	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7547H',`product_name`='SRAM Pignon SRAM EX1 SET PIGNON XG-899 (11T-13T-15T) / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-pignon-sram-ex1-set-pignon-xg-899-11t-13t-15t-noir' WHERE `virtuemart_product_id` = '1860397'
2023-10-13	12:34:51	905	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37878_pignon_sram_ex1_set_pignon_xg-899_(11t-13t-15t).jpg
2023-10-13	12:34:51	905	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:51	905	[DEBUG]	Process image file
2023-10-13	12:34:51	905	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:51	905	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:51	905	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37878_pignon_sram_ex1_set_pignon_xg-899_(11t-13t-15t).jpg
2023-10-13	12:34:51	905	[DEBUG]	Full name target: bcprisme/37878_pignon_sram_ex1_set_pignon_xg-899_(11t-13t-15t).jpg
2023-10-13	12:34:52	905	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:52	905	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37878_pignon_sram_ex1_set_pignon_xg-899_(11t-13t-15t).jpg'
2023-10-13	12:34:52	905	[DEBUG]	Query for Media
2023-10-13	12:34:52	905	[DEBUG]	Executed store
2023-10-13	12:34:52	905	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37878_pignon_sram_ex1_set_pignon_xg-899_(11t-13t-15t).jpg',`file_url_thumb`='bcprisme/37878_pignon_sram_ex1_set_pignon_xg-899_(11t-13t-15t).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1141616'
2023-10-13	12:34:52	905	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:52	905	[DEBUG]	Executed store
2023-10-13	12:34:52	905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860397','1141616','1')
2023-10-13	12:34:52	905	[DEBUG]	Store product image relation
2023-10-13	12:34:52	905	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:52	905	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860397 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:52	905	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:52	905	[DEBUG]	Executed store
2023-10-13	12:34:52	905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860397','0','36.2116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:52	905	[DEBUG]	Checking manufacturer
2023-10-13	12:34:52	905	[DEBUG]	Load a row
2023-10-13	12:34:52	905	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:52	905	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:52	905	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:52	905	[DEBUG]	Executed store
2023-10-13	12:34:52	905	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:52	905	[DEBUG]	Manufacturer exists
2023-10-13	12:34:52	905	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:34:52	905	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:52	905	[DEBUG]	Executed store
2023-10-13	12:34:52	905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860397','35')
2023-10-13	12:34:52	905	[DEBUG]	Find the custom field ID
2023-10-13	12:34:52	905	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:52	905	[DEBUG]	No custom field ID found
2023-10-13	12:34:52	905	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:52	905	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	12:34:52	905	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860397 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:52	905	[DEBUG]	Store custom available field
2023-10-13	12:34:52	905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860397,3,'129.539166666667',1)
2023-10-13	12:34:52	905	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:52	905	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:52	905	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860397 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:52	905	[DEBUG]	Store custom available field
2023-10-13	12:34:52	905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860397,6,'choisir la taille',3)
2023-10-13	12:34:52	905	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:52	905	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:52	905	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:52	905	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:52	905	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860397 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:52	905	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:52	905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860397,8,1)
2023-10-13	12:34:52	905	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:52	905	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860397\":[1860397,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860397
2023-10-13	12:34:52	905	[DEBUG]	Checking category
2023-10-13	12:34:52	905	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:52	905	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860397
2023-10-13	12:34:52	905	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:52	905	[DEBUG]	Executed store
2023-10-13	12:34:52	905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860397','7283')
2023-10-13	12:34:52	905	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:52	905	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860397 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:52	905	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:52	905	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860397
2023-10-13	12:34:52	906	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:52	906	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:52	906	[DEBUG]	Use field value for field taille
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:52	906	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:52	906	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:52	906	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:52	906	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:52	906	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:52	906	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:52	906	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:52	906	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:52	906	[DEBUG]	Use field value for field published
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:52	906	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field override
2023-10-13	12:34:52	906	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:52	906	[DEBUG]	Use field value for field slug
2023-10-13	12:34:52	906	[DEBUG]	Process line 906
2023-10-13	12:34:52	906	[DEBUG]	Load a row
2023-10-13	12:34:52	906	[DEBUG]	Processing item: 710845811531
2023-10-13	12:34:52	906	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:52	906	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:52	906	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8891_1'
2023-10-13	12:34:52	906	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:52	906	[DEBUG]	Processing product tax
2023-10-13	12:34:52	906	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:52	906	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:52	906	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:52	906	[DEBUG]	Query for Product
2023-10-13	12:34:52	906	[DEBUG]	Executed store
2023-10-13	12:34:52	906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860397','710845811531','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:34:52	906	[DEBUG]	No parent found
2023-10-13	12:34:52	906	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860397 AND customfield_value = 'stockable'
2023-10-13	12:34:52	906	[DEBUG]	Check product language entry
2023-10-13	12:34:52	906	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860398
2023-10-13	12:34:52	906	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:52	906	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845811531' AND `virtuemart_product_id` != 1860398
2023-10-13	12:34:52	906	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:52	906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860398, '710845811531')
2023-10-13	12:34:52	906	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:52	906	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-pignon-sram-ex1-set-pignon-xg-899-11t-13t-15t-noir-unitaire' AND `virtuemart_product_id` != 1860398
2023-10-13	12:34:52	906	[DEBUG]	Query for ProductLang
2023-10-13	12:34:52	906	[DEBUG]	Executed store
2023-10-13	12:34:52	906	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Pignon SRAM EX1 SET PIGNON XG-899 (11T-13T-15T) / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-pignon-sram-ex1-set-pignon-xg-899-11t-13t-15t-noir-unitaire' WHERE `virtuemart_product_id` = '1860398'
2023-10-13	12:34:52	906	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37878_pignon_sram_ex1_set_pignon_xg-899_(11t-13t-15t).jpg
2023-10-13	12:34:52	906	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:52	906	[DEBUG]	Process image file
2023-10-13	12:34:52	906	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:52	906	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:52	906	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37878_pignon_sram_ex1_set_pignon_xg-899_(11t-13t-15t).jpg
2023-10-13	12:34:52	906	[DEBUG]	Full name target: bcprisme/37878_pignon_sram_ex1_set_pignon_xg-899_(11t-13t-15t).jpg
2023-10-13	12:34:53	906	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:53	906	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37878_pignon_sram_ex1_set_pignon_xg-899_(11t-13t-15t).jpg'
2023-10-13	12:34:53	906	[DEBUG]	Query for Media
2023-10-13	12:34:53	906	[DEBUG]	Executed store
2023-10-13	12:34:53	906	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37878_pignon_sram_ex1_set_pignon_xg-899_(11t-13t-15t).jpg',`file_url_thumb`='bcprisme/37878_pignon_sram_ex1_set_pignon_xg-899_(11t-13t-15t).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1141616'
2023-10-13	12:34:53	906	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:53	906	[DEBUG]	Executed store
2023-10-13	12:34:53	906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860398','1141616','1')
2023-10-13	12:34:53	906	[DEBUG]	Store product image relation
2023-10-13	12:34:53	906	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:53	906	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860398 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:53	906	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:53	906	[DEBUG]	Executed store
2023-10-13	12:34:53	906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860398','0','36.2116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:53	906	[DEBUG]	Checking manufacturer
2023-10-13	12:34:53	906	[DEBUG]	Load a row
2023-10-13	12:34:53	906	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:53	906	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:53	906	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:53	906	[DEBUG]	Executed store
2023-10-13	12:34:53	906	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:53	906	[DEBUG]	Manufacturer exists
2023-10-13	12:34:53	906	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:34:53	906	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:53	906	[DEBUG]	Executed store
2023-10-13	12:34:53	906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860398','35')
2023-10-13	12:34:53	906	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:53	906	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:53	906	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860398 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:53	906	[DEBUG]	Store custom available field
2023-10-13	12:34:53	906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860398,3,'',1)
2023-10-13	12:34:53	906	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:53	906	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:53	906	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860398 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:53	906	[DEBUG]	Store custom available field
2023-10-13	12:34:53	906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860398,6,'Unitaire',3)
2023-10-13	12:34:53	906	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:53	906	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:53	906	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860397
2023-10-13	12:34:53	906	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:53	906	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860397\":[1860397,8,1,\"choisir la taille\"],\"1860398\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860397
2023-10-13	12:34:53	906	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:53	906	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860398
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:53	907	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field taille
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:53	907	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:53	907	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:53	907	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:53	907	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:53	907	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:53	907	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field published
2023-10-13	12:34:53	907	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:53	907	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field override
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:53	907	[DEBUG]	Use field value for field slug
2023-10-13	12:34:53	907	[DEBUG]	Process line 907
2023-10-13	12:34:53	907	[DEBUG]	Load a row
2023-10-13	12:34:53	907	[DEBUG]	Processing item: A_8917_1
2023-10-13	12:34:53	907	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:53	907	[DEBUG]	Processing product tax
2023-10-13	12:34:53	907	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:53	907	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:53	907	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:53	907	[DEBUG]	Query for Product
2023-10-13	12:34:53	907	[DEBUG]	Executed store
2023-10-13	12:34:53	907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8917_1','0.6','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:34:53	907	[DEBUG]	Check product language entry
2023-10-13	12:34:53	907	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860399
2023-10-13	12:34:53	907	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:53	907	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8917_1' AND `virtuemart_product_id` != 1860399
2023-10-13	12:34:53	907	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:53	907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860399, 'A_8917_1')
2023-10-13	12:34:53	907	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:53	907	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-pignons-sram-nx-sx-eagle-pg-1210-1230-11t-13t-15t-avec-lockring-noir' AND `virtuemart_product_id` != 1860399
2023-10-13	12:34:53	907	[DEBUG]	Query for ProductLang
2023-10-13	12:34:53	907	[DEBUG]	Executed store
2023-10-13	12:34:53	907	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7557L',`product_name`='SRAM Pignons SRAM NX/SX Eagle PG-1210/1230 11T-13T-15T avec Lockring / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-pignons-sram-nx-sx-eagle-pg-1210-1230-11t-13t-15t-avec-lockring-noir' WHERE `virtuemart_product_id` = '1860399'
2023-10-13	12:34:53	907	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37905_pignons_sram_nx-sx_eagle_pg-1210-1230_11t-13t-15t_avec_lockring.jpg
2023-10-13	12:34:53	907	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:53	907	[DEBUG]	Process image file
2023-10-13	12:34:53	907	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:53	907	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:53	907	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37905_pignons_sram_nx-sx_eagle_pg-1210-1230_11t-13t-15t_avec_lockring.jpg
2023-10-13	12:34:53	907	[DEBUG]	Full name target: bcprisme/37905_pignons_sram_nx-sx_eagle_pg-1210-1230_11t-13t-15t_avec_lockring.jpg
2023-10-13	12:34:54	907	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:54	907	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37905_pignons_sram_nx-sx_eagle_pg-1210-1230_11t-13t-15t_avec_lockring.jpg'
2023-10-13	12:34:54	907	[DEBUG]	Query for Media
2023-10-13	12:34:54	907	[DEBUG]	Executed store
2023-10-13	12:34:54	907	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37905_pignons_sram_nx-sx_eagle_pg-1210-1230_11t-13t-15t_avec_lockring.jpg',`file_url_thumb`='bcprisme/37905_pignons_sram_nx-sx_eagle_pg-1210-1230_11t-13t-15t_avec_lockring.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183737'
2023-10-13	12:34:54	907	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:54	907	[DEBUG]	Executed store
2023-10-13	12:34:54	907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860399','1183737','1')
2023-10-13	12:34:54	907	[DEBUG]	Store product image relation
2023-10-13	12:34:54	907	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:54	907	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860399 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:54	907	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:54	907	[DEBUG]	Executed store
2023-10-13	12:34:54	907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860399','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:54	907	[DEBUG]	Checking manufacturer
2023-10-13	12:34:54	907	[DEBUG]	Load a row
2023-10-13	12:34:54	907	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:54	907	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:54	907	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:54	907	[DEBUG]	Executed store
2023-10-13	12:34:54	907	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:54	907	[DEBUG]	Manufacturer exists
2023-10-13	12:34:54	907	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:34:54	907	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:54	907	[DEBUG]	Executed store
2023-10-13	12:34:54	907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860399','35')
2023-10-13	12:34:54	907	[DEBUG]	Find the custom field ID
2023-10-13	12:34:54	907	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:54	907	[DEBUG]	No custom field ID found
2023-10-13	12:34:54	907	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:54	907	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	12:34:54	907	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860399 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:54	907	[DEBUG]	Store custom available field
2023-10-13	12:34:54	907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860399,3,'129.539166666667',1)
2023-10-13	12:34:54	907	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:54	907	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:54	907	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860399 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:54	907	[DEBUG]	Store custom available field
2023-10-13	12:34:54	907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860399,6,'choisir la taille',3)
2023-10-13	12:34:54	907	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:54	907	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:54	907	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:54	907	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:54	907	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860399 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:54	907	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:54	907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860399,8,1)
2023-10-13	12:34:54	907	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:54	907	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860399\":[1860399,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860399
2023-10-13	12:34:54	907	[DEBUG]	Checking category
2023-10-13	12:34:54	907	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:54	907	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860399
2023-10-13	12:34:54	907	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:54	907	[DEBUG]	Executed store
2023-10-13	12:34:54	907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860399','7283')
2023-10-13	12:34:54	907	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:54	907	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860399 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:54	907	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:54	907	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860399
2023-10-13	12:34:54	908	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:54	908	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:54	908	[DEBUG]	Use field value for field taille
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:54	908	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:54	908	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:54	908	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:54	908	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:54	908	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:54	908	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:54	908	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:54	908	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:54	908	[DEBUG]	Use field value for field published
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:54	908	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field override
2023-10-13	12:34:54	908	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:54	908	[DEBUG]	Use field value for field slug
2023-10-13	12:34:54	908	[DEBUG]	Process line 908
2023-10-13	12:34:54	908	[DEBUG]	Load a row
2023-10-13	12:34:54	908	[DEBUG]	Processing item: 710845843969
2023-10-13	12:34:54	908	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:54	908	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:54	908	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8917_1'
2023-10-13	12:34:54	908	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:54	908	[DEBUG]	Processing product tax
2023-10-13	12:34:54	908	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:54	908	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:54	908	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:54	908	[DEBUG]	Query for Product
2023-10-13	12:34:54	908	[DEBUG]	Executed store
2023-10-13	12:34:54	908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860399','710845843969','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:34:54	908	[DEBUG]	No parent found
2023-10-13	12:34:54	908	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860399 AND customfield_value = 'stockable'
2023-10-13	12:34:54	908	[DEBUG]	Check product language entry
2023-10-13	12:34:54	908	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860400
2023-10-13	12:34:54	908	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:54	908	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845843969' AND `virtuemart_product_id` != 1860400
2023-10-13	12:34:54	908	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:54	908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860400, '710845843969')
2023-10-13	12:34:54	908	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:54	908	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-pignons-sram-nx-sx-eagle-pg-1210-1230-11t-13t-15t-avec-lockring-noir-unitaire' AND `virtuemart_product_id` != 1860400
2023-10-13	12:34:54	908	[DEBUG]	Query for ProductLang
2023-10-13	12:34:54	908	[DEBUG]	Executed store
2023-10-13	12:34:54	908	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Pignons SRAM NX/SX Eagle PG-1210/1230 11T-13T-15T avec Lockring / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-pignons-sram-nx-sx-eagle-pg-1210-1230-11t-13t-15t-avec-lockring-noir-unitaire' WHERE `virtuemart_product_id` = '1860400'
2023-10-13	12:34:54	908	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37905_pignons_sram_nx-sx_eagle_pg-1210-1230_11t-13t-15t_avec_lockring.jpg
2023-10-13	12:34:54	908	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:54	908	[DEBUG]	Process image file
2023-10-13	12:34:54	908	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:34:54	908	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:54	908	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37905_pignons_sram_nx-sx_eagle_pg-1210-1230_11t-13t-15t_avec_lockring.jpg
2023-10-13	12:34:54	908	[DEBUG]	Full name target: bcprisme/37905_pignons_sram_nx-sx_eagle_pg-1210-1230_11t-13t-15t_avec_lockring.jpg
2023-10-13	12:34:55	908	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:55	908	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37905_pignons_sram_nx-sx_eagle_pg-1210-1230_11t-13t-15t_avec_lockring.jpg'
2023-10-13	12:34:55	908	[DEBUG]	Query for Media
2023-10-13	12:34:55	908	[DEBUG]	Executed store
2023-10-13	12:34:55	908	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37905_pignons_sram_nx-sx_eagle_pg-1210-1230_11t-13t-15t_avec_lockring.jpg',`file_url_thumb`='bcprisme/37905_pignons_sram_nx-sx_eagle_pg-1210-1230_11t-13t-15t_avec_lockring.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1183737'
2023-10-13	12:34:55	908	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:55	908	[DEBUG]	Executed store
2023-10-13	12:34:55	908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860400','1183737','1')
2023-10-13	12:34:55	908	[DEBUG]	Store product image relation
2023-10-13	12:34:55	908	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:55	908	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860400 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:55	908	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:55	908	[DEBUG]	Executed store
2023-10-13	12:34:55	908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860400','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:55	908	[DEBUG]	Checking manufacturer
2023-10-13	12:34:55	908	[DEBUG]	Load a row
2023-10-13	12:34:55	908	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:55	908	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:55	908	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:55	908	[DEBUG]	Executed store
2023-10-13	12:34:55	908	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:55	908	[DEBUG]	Manufacturer exists
2023-10-13	12:34:55	908	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:34:55	908	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:55	908	[DEBUG]	Executed store
2023-10-13	12:34:55	908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860400','35')
2023-10-13	12:34:55	908	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:55	908	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:55	908	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860400 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:55	908	[DEBUG]	Store custom available field
2023-10-13	12:34:55	908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860400,3,'',1)
2023-10-13	12:34:55	908	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:55	908	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:34:55	908	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860400 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:55	908	[DEBUG]	Store custom available field
2023-10-13	12:34:55	908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860400,6,'Unitaire',3)
2023-10-13	12:34:55	908	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:55	908	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:55	908	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860399
2023-10-13	12:34:55	908	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:55	908	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860399\":[1860399,8,1,\"choisir la taille\"],\"1860400\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860399
2023-10-13	12:34:55	908	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:55	908	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860400
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:55	909	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field taille
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:55	909	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:55	909	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:55	909	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:55	909	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:55	909	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:55	909	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:55	909	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field published
2023-10-13	12:34:55	909	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:55	909	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field override
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:55	909	[DEBUG]	Use field value for field slug
2023-10-13	12:34:55	909	[DEBUG]	Process line 909
2023-10-13	12:34:55	909	[DEBUG]	Load a row
2023-10-13	12:34:55	909	[DEBUG]	Processing item: A_8953_84
2023-10-13	12:34:55	909	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:55	909	[DEBUG]	Processing product tax
2023-10-13	12:34:55	909	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:55	909	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:55	909	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:55	909	[DEBUG]	Query for Product
2023-10-13	12:34:55	909	[DEBUG]	Executed store
2023-10-13	12:34:55	909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8953_84','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:34:55	909	[DEBUG]	Check product language entry
2023-10-13	12:34:55	909	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860401
2023-10-13	12:34:55	909	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:55	909	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8953_84' AND `virtuemart_product_id` != 1860401
2023-10-13	12:34:55	909	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:55	909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860401, 'A_8953_84')
2023-10-13	12:34:55	909	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:55	909	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1275-gx-eagle-12sp-black' AND `virtuemart_product_id` != 1860401
2023-10-13	12:34:55	909	[DEBUG]	Query for ProductLang
2023-10-13	12:34:55	909	[DEBUG]	Executed store
2023-10-13	12:34:55	909	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7559D',`product_name`='SRAM Cassette XG-1275 GX Eagle 12SP / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1275-gx-eagle-12sp-black' WHERE `virtuemart_product_id` = '1860401'
2023-10-13	12:34:55	909	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png
2023-10-13	12:34:55	909	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000400
2023-10-13	12:34:55	909	[DEBUG]	Process image file
2023-10-13	12:34:55	909	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000400
2023-10-13	12:34:55	909	[DEBUG]	Mime type found: image/png
2023-10-13	12:34:55	909	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png
2023-10-13	12:34:55	909	[DEBUG]	Full name target: bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png
2023-10-13	12:34:56	909	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:56	909	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png'
2023-10-13	12:34:56	909	[DEBUG]	Query for Media
2023-10-13	12:34:56	909	[DEBUG]	Executed store
2023-10-13	12:34:56	909	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png',`file_url_thumb`='bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1340827'
2023-10-13	12:34:56	909	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:56	909	[DEBUG]	Executed store
2023-10-13	12:34:56	909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860401','1340827','1')
2023-10-13	12:34:56	909	[DEBUG]	Store product image relation
2023-10-13	12:34:56	909	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:56	909	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860401 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:56	909	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:56	909	[DEBUG]	Executed store
2023-10-13	12:34:56	909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860401','0','232.033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:56	909	[DEBUG]	Checking manufacturer
2023-10-13	12:34:56	909	[DEBUG]	Load a row
2023-10-13	12:34:56	909	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:56	909	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:56	909	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:56	909	[DEBUG]	Executed store
2023-10-13	12:34:56	909	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:56	909	[DEBUG]	Manufacturer exists
2023-10-13	12:34:56	909	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:34:56	909	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:56	909	[DEBUG]	Executed store
2023-10-13	12:34:56	909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860401','35')
2023-10-13	12:34:56	909	[DEBUG]	Find the custom field ID
2023-10-13	12:34:56	909	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:34:56	909	[DEBUG]	No custom field ID found
2023-10-13	12:34:56	909	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:56	909	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:34:56	909	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860401 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:56	909	[DEBUG]	Store custom available field
2023-10-13	12:34:56	909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860401,3,'0',1)
2023-10-13	12:34:56	909	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:56	909	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:34:56	909	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860401 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:56	909	[DEBUG]	Store custom available field
2023-10-13	12:34:56	909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860401,6,'choisir la taille',3)
2023-10-13	12:34:56	909	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:56	909	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:34:56	909	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:34:56	909	[DEBUG]	Find the multi variant product entry
2023-10-13	12:34:56	909	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860401 AND `virtuemart_custom_id` = 8
2023-10-13	12:34:56	909	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:34:56	909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860401,8,1)
2023-10-13	12:34:56	909	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:56	909	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860401\":[1860401,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860401
2023-10-13	12:34:56	909	[DEBUG]	Checking category
2023-10-13	12:34:56	909	[DEBUG]	Get the existing categories for the product
2023-10-13	12:34:56	909	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860401
2023-10-13	12:34:56	909	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:34:56	909	[DEBUG]	Executed store
2023-10-13	12:34:56	909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860401','7283')
2023-10-13	12:34:56	909	[DEBUG]	Delete leftover product categories
2023-10-13	12:34:56	909	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860401 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:34:56	909	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:56	909	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860401
2023-10-13	12:34:56	910	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:56	910	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:56	910	[DEBUG]	Use field value for field taille
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:56	910	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:56	910	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:56	910	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:56	910	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:56	910	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:56	910	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:56	910	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:56	910	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:56	910	[DEBUG]	Use field value for field published
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:56	910	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field override
2023-10-13	12:34:56	910	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:56	910	[DEBUG]	Use field value for field slug
2023-10-13	12:34:56	910	[DEBUG]	Process line 910
2023-10-13	12:34:56	910	[DEBUG]	Load a row
2023-10-13	12:34:56	910	[DEBUG]	Processing item: 710845804748
2023-10-13	12:34:56	910	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:56	910	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:56	910	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8953_84'
2023-10-13	12:34:56	910	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:56	910	[DEBUG]	Processing product tax
2023-10-13	12:34:56	910	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:56	910	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:56	910	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:56	910	[DEBUG]	Query for Product
2023-10-13	12:34:56	910	[DEBUG]	Executed store
2023-10-13	12:34:56	910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860401','710845804748','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:34:56	910	[DEBUG]	No parent found
2023-10-13	12:34:56	910	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860401 AND customfield_value = 'stockable'
2023-10-13	12:34:56	910	[DEBUG]	Check product language entry
2023-10-13	12:34:56	910	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860402
2023-10-13	12:34:56	910	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:56	910	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845804748' AND `virtuemart_product_id` != 1860402
2023-10-13	12:34:56	910	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:56	910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860402, '710845804748')
2023-10-13	12:34:56	910	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:56	910	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1275-gx-eagle-12sp-black-10-50t' AND `virtuemart_product_id` != 1860402
2023-10-13	12:34:56	910	[DEBUG]	Query for ProductLang
2023-10-13	12:34:56	910	[DEBUG]	Executed store
2023-10-13	12:34:56	910	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1275 GX Eagle 12SP / Black (10-50t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1275-gx-eagle-12sp-black-10-50t' WHERE `virtuemart_product_id` = '1860402'
2023-10-13	12:34:56	910	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png
2023-10-13	12:34:56	910	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000400
2023-10-13	12:34:56	910	[DEBUG]	Process image file
2023-10-13	12:34:56	910	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000400
2023-10-13	12:34:56	910	[DEBUG]	Mime type found: image/png
2023-10-13	12:34:56	910	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png
2023-10-13	12:34:56	910	[DEBUG]	Full name target: bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png
2023-10-13	12:34:57	910	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:57	910	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png'
2023-10-13	12:34:57	910	[DEBUG]	Query for Media
2023-10-13	12:34:57	910	[DEBUG]	Executed store
2023-10-13	12:34:57	910	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png',`file_url_thumb`='bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1340827'
2023-10-13	12:34:57	910	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:57	910	[DEBUG]	Executed store
2023-10-13	12:34:57	910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860402','1340827','1')
2023-10-13	12:34:57	910	[DEBUG]	Store product image relation
2023-10-13	12:34:57	910	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:57	910	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860402 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:57	910	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:57	910	[DEBUG]	Executed store
2023-10-13	12:34:57	910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860402','0','232.033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:57	910	[DEBUG]	Checking manufacturer
2023-10-13	12:34:57	910	[DEBUG]	Load a row
2023-10-13	12:34:57	910	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:57	910	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:57	910	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:57	910	[DEBUG]	Executed store
2023-10-13	12:34:57	910	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:57	910	[DEBUG]	Manufacturer exists
2023-10-13	12:34:57	910	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:34:57	910	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:57	910	[DEBUG]	Executed store
2023-10-13	12:34:57	910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860402','35')
2023-10-13	12:34:57	910	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:57	910	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:57	910	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860402 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:57	910	[DEBUG]	Store custom available field
2023-10-13	12:34:57	910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860402,3,'',1)
2023-10-13	12:34:57	910	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:57	910	[DEBUG]	Get existing row with customfield value 10-50t
2023-10-13	12:34:57	910	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860402 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:57	910	[DEBUG]	Store custom available field
2023-10-13	12:34:57	910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860402,6,'10-50t',3)
2023-10-13	12:34:57	910	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:57	910	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:57	910	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860401
2023-10-13	12:34:57	910	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:57	910	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-50t\"}]|clabels=0|options={\"1860401\":[1860401,8,1,\"choisir la taille\"],\"1860402\":[\"10-50t\"]}|' WHERE `virtuemart_product_id` = 1860401
2023-10-13	12:34:57	910	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:57	910	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860402
2023-10-13	12:34:57	911	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:57	911	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:34:57	911	[DEBUG]	Use field value for field taille
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:34:57	911	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field category_path
2023-10-13	12:34:57	911	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:57	911	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:57	911	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:57	911	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:34:57	911	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field product_weight
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:57	911	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:57	911	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:57	911	[DEBUG]	Use field value for field published
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field custom_title
2023-10-13	12:34:57	911	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field custom_param
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field override
2023-10-13	12:34:57	911	[DEBUG]	Use default value for field public_price
2023-10-13	12:34:57	911	[DEBUG]	Use field value for field slug
2023-10-13	12:34:57	911	[DEBUG]	Process line 911
2023-10-13	12:34:57	911	[DEBUG]	Load a row
2023-10-13	12:34:57	911	[DEBUG]	Processing item: 710845853050
2023-10-13	12:34:57	911	[DEBUG]	Looking for parent SKU
2023-10-13	12:34:57	911	[DEBUG]	Checking product parent SKU
2023-10-13	12:34:57	911	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8953_84'
2023-10-13	12:34:57	911	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:57	911	[DEBUG]	Processing product tax
2023-10-13	12:34:57	911	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:57	911	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:57	911	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:57	911	[DEBUG]	Query for Product
2023-10-13	12:34:57	911	[DEBUG]	Executed store
2023-10-13	12:34:57	911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860401','710845853050','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:34:57	911	[DEBUG]	No parent found
2023-10-13	12:34:57	911	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860401 AND customfield_value = 'stockable'
2023-10-13	12:34:57	911	[DEBUG]	Check product language entry
2023-10-13	12:34:57	911	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860403
2023-10-13	12:34:57	911	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:57	911	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845853050' AND `virtuemart_product_id` != 1860403
2023-10-13	12:34:57	911	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:57	911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860403, '710845853050')
2023-10-13	12:34:57	911	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:57	911	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1275-gx-eagle-12sp-black-10-52t' AND `virtuemart_product_id` != 1860403
2023-10-13	12:34:57	911	[DEBUG]	Query for ProductLang
2023-10-13	12:34:57	911	[DEBUG]	Executed store
2023-10-13	12:34:57	911	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1275 GX Eagle 12SP / Black (10-52t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1275-gx-eagle-12sp-black-10-52t' WHERE `virtuemart_product_id` = '1860403'
2023-10-13	12:34:57	911	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png
2023-10-13	12:34:57	911	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000400
2023-10-13	12:34:57	911	[DEBUG]	Process image file
2023-10-13	12:34:57	911	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000400
2023-10-13	12:34:57	911	[DEBUG]	Mime type found: image/png
2023-10-13	12:34:57	911	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png
2023-10-13	12:34:57	911	[DEBUG]	Full name target: bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png
2023-10-13	12:34:59	911	[DEBUG]	Checking if the file_url exists
2023-10-13	12:34:59	911	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png'
2023-10-13	12:34:59	911	[DEBUG]	Query for Media
2023-10-13	12:34:59	911	[DEBUG]	Executed store
2023-10-13	12:34:59	911	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png',`file_url_thumb`='bcprisme/1e6d52ce-1d7e-4ddb-b7bf-c9c06c2a0ea.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1340827'
2023-10-13	12:34:59	911	[DEBUG]	Query for ProductMedia
2023-10-13	12:34:59	911	[DEBUG]	Executed store
2023-10-13	12:34:59	911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860403','1340827','1')
2023-10-13	12:34:59	911	[DEBUG]	Store product image relation
2023-10-13	12:34:59	911	[DEBUG]	Finding a product_price_id
2023-10-13	12:34:59	911	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860403 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:34:59	911	[DEBUG]	Query for ProductPrice
2023-10-13	12:34:59	911	[DEBUG]	Executed store
2023-10-13	12:34:59	911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860403','0','232.033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:34:59	911	[DEBUG]	Checking manufacturer
2023-10-13	12:34:59	911	[DEBUG]	Load a row
2023-10-13	12:34:59	911	[DEBUG]	Manufacturer already exists
2023-10-13	12:34:59	911	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:59	911	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:34:59	911	[DEBUG]	Executed store
2023-10-13	12:34:59	911	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:34:59	911	[DEBUG]	Manufacturer exists
2023-10-13	12:34:59	911	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:34:59	911	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:34:59	911	[DEBUG]	Executed store
2023-10-13	12:34:59	911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860403','35')
2023-10-13	12:34:59	911	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:34:59	911	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:34:59	911	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860403 AND `virtuemart_custom_id` = 3
2023-10-13	12:34:59	911	[DEBUG]	Store custom available field
2023-10-13	12:34:59	911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860403,3,'',1)
2023-10-13	12:34:59	911	[DEBUG]	Processing custom available field: taille
2023-10-13	12:34:59	911	[DEBUG]	Get existing row with customfield value 10-52t
2023-10-13	12:34:59	911	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860403 AND `virtuemart_custom_id` = 6
2023-10-13	12:34:59	911	[DEBUG]	Store custom available field
2023-10-13	12:34:59	911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860403,6,'10-52t',3)
2023-10-13	12:34:59	911	[DEBUG]	Process multi-variant fields
2023-10-13	12:34:59	911	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:34:59	911	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860401
2023-10-13	12:34:59	911	[DEBUG]	Store the updated customfield_params
2023-10-13	12:34:59	911	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-50t\\r\\n10-52t\"}]|clabels=0|options={\"1860401\":[1860401,8,1,\"choisir la taille\"],\"1860402\":[\"10-50t\"],\"1860403\":[\"10-52t\"]}|' WHERE `virtuemart_product_id` = 1860401
2023-10-13	12:34:59	911	[DEBUG]	Update has fields after all processing
2023-10-13	12:34:59	911	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860403
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field product_sku
2023-10-13	12:34:59	912	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field taille
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field product_name
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field category_path
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field product_price
2023-10-13	12:34:59	912	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field product_tax
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field file_url
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:34:59	912	[DEBUG]	Use default value for field product_desc
2023-10-13	12:34:59	912	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field product_availability
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field product_weight
2023-10-13	12:34:59	912	[DEBUG]	Use default value for field product_unit
2023-10-13	12:34:59	912	[DEBUG]	Use default value for field related_products
2023-10-13	12:34:59	912	[DEBUG]	Use default value for field product_special
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field published
2023-10-13	12:34:59	912	[DEBUG]	Use default value for field metadesc
2023-10-13	12:34:59	912	[DEBUG]	Use default value for field metakey
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field custom_title
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field custom_value
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field custom_param
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field override
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field public_price
2023-10-13	12:34:59	912	[DEBUG]	Use field value for field slug
2023-10-13	12:34:59	912	[DEBUG]	Process line 912
2023-10-13	12:34:59	912	[DEBUG]	Load a row
2023-10-13	12:34:59	912	[DEBUG]	Processing item: A_9068_13
2023-10-13	12:34:59	912	[DEBUG]	Product tax: 7.7
2023-10-13	12:34:59	912	[DEBUG]	Processing product tax
2023-10-13	12:34:59	912	[DEBUG]	Check if calculation rule exists
2023-10-13	12:34:59	912	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:34:59	912	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:34:59	912	[DEBUG]	Query for Product
2023-10-13	12:34:59	912	[DEBUG]	Executed store
2023-10-13	12:34:59	912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9068_13','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:34:59	912	[DEBUG]	Check product language entry
2023-10-13	12:34:59	912	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860404
2023-10-13	12:34:59	912	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:59	912	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9068_13' AND `virtuemart_product_id` != 1860404
2023-10-13	12:34:59	912	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:34:59	912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860404, 'A_9068_13')
2023-10-13	12:34:59	912	[DEBUG]	Check if the product slug exists
2023-10-13	12:34:59	912	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-roue-libre-bike-attitude-8-vitesses-13-32-dents-box-argent' AND `virtuemart_product_id` != 1860404
2023-10-13	12:34:59	912	[DEBUG]	Query for ProductLang
2023-10-13	12:34:59	912	[DEBUG]	Executed store
2023-10-13	12:34:59	912	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 34.48296',`product_name`='SHIMANO roue-libre Bike Attitude 8-vitesses 13/32 dents box  / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-roue-libre-bike-attitude-8-vitesses-13-32-dents-box-argent' WHERE `virtuemart_product_id` = '1860404'
2023-10-13	12:34:59	912	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34_48296.jpg
2023-10-13	12:34:59	912	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:59	912	[DEBUG]	Process image file
2023-10-13	12:34:59	912	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:34:59	912	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:34:59	912	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34_48296.jpg
2023-10-13	12:34:59	912	[DEBUG]	Full name target: bcprisme/34_48296.jpg
2023-10-13	12:35:00	912	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:00	912	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34_48296.jpg'
2023-10-13	12:35:00	912	[DEBUG]	Query for Media
2023-10-13	12:35:00	912	[DEBUG]	Executed store
2023-10-13	12:35:00	912	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34_48296.jpg',`file_url_thumb`='bcprisme/34_48296.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1253746'
2023-10-13	12:35:00	912	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:00	912	[DEBUG]	Executed store
2023-10-13	12:35:00	912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860404','1253746','1')
2023-10-13	12:35:00	912	[DEBUG]	Store product image relation
2023-10-13	12:35:00	912	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:00	912	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860404 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:00	912	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:00	912	[DEBUG]	Executed store
2023-10-13	12:35:00	912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860404','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:00	912	[DEBUG]	Checking manufacturer
2023-10-13	12:35:00	912	[DEBUG]	Load a row
2023-10-13	12:35:00	912	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:00	912	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:00	912	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:00	912	[DEBUG]	Executed store
2023-10-13	12:35:00	912	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:00	912	[DEBUG]	Manufacturer exists
2023-10-13	12:35:00	912	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:35:00	912	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:00	912	[DEBUG]	Executed store
2023-10-13	12:35:00	912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860404','26')
2023-10-13	12:35:00	912	[DEBUG]	Find the custom field ID
2023-10-13	12:35:00	912	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:00	912	[DEBUG]	No custom field ID found
2023-10-13	12:35:00	912	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:00	912	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:00	912	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860404 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:00	912	[DEBUG]	Store custom available field
2023-10-13	12:35:00	912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860404,3,'0',1)
2023-10-13	12:35:00	912	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:00	912	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:00	912	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860404 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:00	912	[DEBUG]	Store custom available field
2023-10-13	12:35:00	912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860404,6,'choisir la taille',3)
2023-10-13	12:35:00	912	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:00	912	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:00	912	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:00	912	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:00	912	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860404 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:00	912	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:00	912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860404,8,1)
2023-10-13	12:35:00	912	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:00	912	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860404\":[1860404,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860404
2023-10-13	12:35:00	912	[DEBUG]	Checking category
2023-10-13	12:35:00	912	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:00	912	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860404
2023-10-13	12:35:00	912	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:00	912	[DEBUG]	Executed store
2023-10-13	12:35:00	912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860404','7283')
2023-10-13	12:35:00	912	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:00	912	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860404 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:00	912	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:00	912	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860404
2023-10-13	12:35:00	913	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:00	913	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:00	913	[DEBUG]	Use field value for field taille
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:00	913	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:00	913	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:00	913	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:00	913	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:00	913	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:00	913	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:00	913	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:00	913	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:00	913	[DEBUG]	Use field value for field published
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:00	913	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field override
2023-10-13	12:35:00	913	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:00	913	[DEBUG]	Use field value for field slug
2023-10-13	12:35:00	913	[DEBUG]	Process line 913
2023-10-13	12:35:00	913	[DEBUG]	Load a row
2023-10-13	12:35:00	913	[DEBUG]	Processing item: 4714150547372
2023-10-13	12:35:00	913	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:00	913	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:00	913	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9068_13'
2023-10-13	12:35:00	913	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:00	913	[DEBUG]	Processing product tax
2023-10-13	12:35:00	913	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:00	913	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:00	913	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:00	913	[DEBUG]	Query for Product
2023-10-13	12:35:00	913	[DEBUG]	Executed store
2023-10-13	12:35:00	913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860404','4714150547372','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:00	913	[DEBUG]	No parent found
2023-10-13	12:35:00	913	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860404 AND customfield_value = 'stockable'
2023-10-13	12:35:00	913	[DEBUG]	Check product language entry
2023-10-13	12:35:00	913	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860405
2023-10-13	12:35:00	913	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:00	913	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4714150547372' AND `virtuemart_product_id` != 1860405
2023-10-13	12:35:00	913	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:00	913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860405, '4714150547372')
2023-10-13	12:35:00	913	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:00	913	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-roue-libre-bike-attitude-8-vitesses-13-32-dents-box-argent-unitaire' AND `virtuemart_product_id` != 1860405
2023-10-13	12:35:00	913	[DEBUG]	Query for ProductLang
2023-10-13	12:35:00	913	[DEBUG]	Executed store
2023-10-13	12:35:00	913	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO roue-libre Bike Attitude 8-vitesses 13/32 dents box  / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-roue-libre-bike-attitude-8-vitesses-13-32-dents-box-argent-unitaire' WHERE `virtuemart_product_id` = '1860405'
2023-10-13	12:35:00	913	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34_48296.jpg
2023-10-13	12:35:00	913	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:00	913	[DEBUG]	Process image file
2023-10-13	12:35:00	913	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:00	913	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:00	913	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34_48296.jpg
2023-10-13	12:35:00	913	[DEBUG]	Full name target: bcprisme/34_48296.jpg
2023-10-13	12:35:01	913	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:01	913	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34_48296.jpg'
2023-10-13	12:35:01	913	[DEBUG]	Query for Media
2023-10-13	12:35:01	913	[DEBUG]	Executed store
2023-10-13	12:35:01	913	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34_48296.jpg',`file_url_thumb`='bcprisme/34_48296.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1253746'
2023-10-13	12:35:01	913	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:01	913	[DEBUG]	Executed store
2023-10-13	12:35:01	913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860405','1253746','1')
2023-10-13	12:35:01	913	[DEBUG]	Store product image relation
2023-10-13	12:35:01	913	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:01	913	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860405 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:01	913	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:01	913	[DEBUG]	Executed store
2023-10-13	12:35:01	913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860405','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:01	913	[DEBUG]	Checking manufacturer
2023-10-13	12:35:01	913	[DEBUG]	Load a row
2023-10-13	12:35:01	913	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:01	913	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:01	913	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:01	913	[DEBUG]	Executed store
2023-10-13	12:35:01	913	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:01	913	[DEBUG]	Manufacturer exists
2023-10-13	12:35:01	913	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:35:01	913	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:01	913	[DEBUG]	Executed store
2023-10-13	12:35:01	913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860405','26')
2023-10-13	12:35:01	913	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:01	913	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:01	913	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860405 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:01	913	[DEBUG]	Store custom available field
2023-10-13	12:35:01	913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860405,3,'',1)
2023-10-13	12:35:01	913	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:01	913	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:01	913	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860405 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:01	913	[DEBUG]	Store custom available field
2023-10-13	12:35:01	913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860405,6,'Unitaire',3)
2023-10-13	12:35:01	913	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:01	913	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:01	913	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860404
2023-10-13	12:35:01	913	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:01	913	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860404\":[1860404,8,1,\"choisir la taille\"],\"1860405\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860404
2023-10-13	12:35:01	913	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:01	913	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860405
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:01	914	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field taille
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:01	914	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:01	914	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:01	914	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:01	914	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:01	914	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:01	914	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field published
2023-10-13	12:35:01	914	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:01	914	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field override
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:01	914	[DEBUG]	Use field value for field slug
2023-10-13	12:35:01	914	[DEBUG]	Process line 914
2023-10-13	12:35:01	914	[DEBUG]	Load a row
2023-10-13	12:35:01	914	[DEBUG]	Processing item: A_9184_208
2023-10-13	12:35:01	914	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:01	914	[DEBUG]	Processing product tax
2023-10-13	12:35:01	914	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:01	914	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:01	914	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:01	914	[DEBUG]	Query for Product
2023-10-13	12:35:01	914	[DEBUG]	Executed store
2023-10-13	12:35:01	914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9184_208','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:01	914	[DEBUG]	Check product language entry
2023-10-13	12:35:01	914	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860406
2023-10-13	12:35:01	914	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:01	914	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9184_208' AND `virtuemart_product_id` != 1860406
2023-10-13	12:35:01	914	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:01	914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860406, 'A_9184_208')
2023-10-13	12:35:01	914	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:01	914	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-slx-cs-hg81-10-vitesses-11-32-dents-box-aucune' AND `virtuemart_product_id` != 1860406
2023-10-13	12:35:01	914	[DEBUG]	Query for ProductLang
2023-10-13	12:35:01	914	[DEBUG]	Executed store
2023-10-13	12:35:01	914	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.52724',`product_name`='SHIMANO cassette SLX CS-HG81 10-vitesses 11-32 dents  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-slx-cs-hg81-10-vitesses-11-32-dents-box-aucune' WHERE `virtuemart_product_id` = '1860406'
2023-10-13	12:35:01	914	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_50384_cshg8.jpg
2023-10-13	12:35:01	914	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:01	914	[DEBUG]	Process image file
2023-10-13	12:35:01	914	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:01	914	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:01	914	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_50384_cshg8.jpg
2023-10-13	12:35:01	914	[DEBUG]	Full name target: bcprisme/67_50384_cshg8.jpg
2023-10-13	12:35:02	914	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:02	914	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_50384_cshg8.jpg'
2023-10-13	12:35:02	914	[DEBUG]	Query for Media
2023-10-13	12:35:02	914	[DEBUG]	Executed store
2023-10-13	12:35:02	914	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_50384_cshg8.jpg',`file_url_thumb`='bcprisme/67_50384_cshg8.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1329896'
2023-10-13	12:35:02	914	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:02	914	[DEBUG]	Executed store
2023-10-13	12:35:02	914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860406','1329896','1')
2023-10-13	12:35:02	914	[DEBUG]	Store product image relation
2023-10-13	12:35:02	914	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:02	914	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860406 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:02	914	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:02	914	[DEBUG]	Executed store
2023-10-13	12:35:02	914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860406','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:02	914	[DEBUG]	Checking manufacturer
2023-10-13	12:35:02	914	[DEBUG]	Load a row
2023-10-13	12:35:02	914	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:02	914	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:02	914	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:02	914	[DEBUG]	Executed store
2023-10-13	12:35:02	914	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:02	914	[DEBUG]	Manufacturer exists
2023-10-13	12:35:02	914	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:35:02	914	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:02	914	[DEBUG]	Executed store
2023-10-13	12:35:02	914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860406','26')
2023-10-13	12:35:02	914	[DEBUG]	Find the custom field ID
2023-10-13	12:35:02	914	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:02	914	[DEBUG]	No custom field ID found
2023-10-13	12:35:02	914	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:02	914	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:02	914	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860406 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:02	914	[DEBUG]	Store custom available field
2023-10-13	12:35:02	914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860406,3,'0',1)
2023-10-13	12:35:02	914	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:02	914	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:02	914	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860406 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:02	914	[DEBUG]	Store custom available field
2023-10-13	12:35:02	914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860406,6,'choisir la taille',3)
2023-10-13	12:35:02	914	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:02	914	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:02	914	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:02	914	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:02	914	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860406 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:02	914	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:02	914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860406,8,1)
2023-10-13	12:35:02	914	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:02	914	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860406\":[1860406,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860406
2023-10-13	12:35:02	914	[DEBUG]	Checking category
2023-10-13	12:35:02	914	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:02	914	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860406
2023-10-13	12:35:02	914	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:02	914	[DEBUG]	Executed store
2023-10-13	12:35:02	914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860406','7283')
2023-10-13	12:35:02	914	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:02	914	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860406 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:02	914	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:02	914	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860406
2023-10-13	12:35:02	915	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:02	915	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:02	915	[DEBUG]	Use field value for field taille
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:02	915	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:02	915	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:02	915	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:02	915	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:02	915	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:02	915	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:02	915	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:02	915	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:02	915	[DEBUG]	Use field value for field published
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:02	915	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field override
2023-10-13	12:35:02	915	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:02	915	[DEBUG]	Use field value for field slug
2023-10-13	12:35:02	915	[DEBUG]	Process line 915
2023-10-13	12:35:02	915	[DEBUG]	Load a row
2023-10-13	12:35:02	915	[DEBUG]	Processing item: 4524667721192
2023-10-13	12:35:02	915	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:02	915	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:02	915	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9184_208'
2023-10-13	12:35:02	915	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:02	915	[DEBUG]	Processing product tax
2023-10-13	12:35:02	915	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:02	915	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:02	915	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:02	915	[DEBUG]	Query for Product
2023-10-13	12:35:02	915	[DEBUG]	Executed store
2023-10-13	12:35:02	915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860406','4524667721192','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:02	915	[DEBUG]	No parent found
2023-10-13	12:35:02	915	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860406 AND customfield_value = 'stockable'
2023-10-13	12:35:02	915	[DEBUG]	Check product language entry
2023-10-13	12:35:02	915	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860407
2023-10-13	12:35:02	915	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:02	915	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667721192' AND `virtuemart_product_id` != 1860407
2023-10-13	12:35:02	915	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:02	915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860407, '4524667721192')
2023-10-13	12:35:02	915	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:02	915	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-slx-cs-hg81-10-vitesses-11-32-dents-box-aucune-unitaire' AND `virtuemart_product_id` != 1860407
2023-10-13	12:35:02	915	[DEBUG]	Query for ProductLang
2023-10-13	12:35:02	915	[DEBUG]	Executed store
2023-10-13	12:35:02	915	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO cassette SLX CS-HG81 10-vitesses 11-32 dents  box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-slx-cs-hg81-10-vitesses-11-32-dents-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860407'
2023-10-13	12:35:02	915	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_50384_cshg8.jpg
2023-10-13	12:35:02	915	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:02	915	[DEBUG]	Process image file
2023-10-13	12:35:02	915	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:02	915	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:02	915	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_50384_cshg8.jpg
2023-10-13	12:35:02	915	[DEBUG]	Full name target: bcprisme/67_50384_cshg8.jpg
2023-10-13	12:35:03	915	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:03	915	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_50384_cshg8.jpg'
2023-10-13	12:35:03	915	[DEBUG]	Query for Media
2023-10-13	12:35:03	915	[DEBUG]	Executed store
2023-10-13	12:35:03	915	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_50384_cshg8.jpg',`file_url_thumb`='bcprisme/67_50384_cshg8.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1329896'
2023-10-13	12:35:03	915	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:03	915	[DEBUG]	Executed store
2023-10-13	12:35:03	915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860407','1329896','1')
2023-10-13	12:35:03	915	[DEBUG]	Store product image relation
2023-10-13	12:35:03	915	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:03	915	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860407 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:03	915	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:03	915	[DEBUG]	Executed store
2023-10-13	12:35:03	915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860407','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:03	915	[DEBUG]	Checking manufacturer
2023-10-13	12:35:03	915	[DEBUG]	Load a row
2023-10-13	12:35:03	915	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:03	915	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:03	915	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:03	915	[DEBUG]	Executed store
2023-10-13	12:35:03	915	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:03	915	[DEBUG]	Manufacturer exists
2023-10-13	12:35:03	915	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:35:03	915	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:03	915	[DEBUG]	Executed store
2023-10-13	12:35:03	915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860407','26')
2023-10-13	12:35:03	915	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:03	915	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:03	915	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860407 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:03	915	[DEBUG]	Store custom available field
2023-10-13	12:35:03	915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860407,3,'',1)
2023-10-13	12:35:03	915	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:03	915	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:03	915	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860407 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:03	915	[DEBUG]	Store custom available field
2023-10-13	12:35:03	915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860407,6,'Unitaire',3)
2023-10-13	12:35:03	915	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:03	915	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:03	915	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860406
2023-10-13	12:35:03	915	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:03	915	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860406\":[1860406,8,1,\"choisir la taille\"],\"1860407\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860406
2023-10-13	12:35:03	915	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:03	915	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860407
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:03	916	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field taille
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:03	916	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:03	916	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:03	916	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:03	916	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:03	916	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:03	916	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:03	916	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field published
2023-10-13	12:35:03	916	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:03	916	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field override
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:03	916	[DEBUG]	Use field value for field slug
2023-10-13	12:35:03	916	[DEBUG]	Process line 916
2023-10-13	12:35:03	916	[DEBUG]	Load a row
2023-10-13	12:35:03	916	[DEBUG]	Processing item: A_9189_208
2023-10-13	12:35:03	916	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:03	916	[DEBUG]	Processing product tax
2023-10-13	12:35:03	916	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:03	916	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:03	916	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:03	916	[DEBUG]	Query for Product
2023-10-13	12:35:03	916	[DEBUG]	Executed store
2023-10-13	12:35:03	916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9189_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:03	916	[DEBUG]	Check product language entry
2023-10-13	12:35:03	916	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860408
2023-10-13	12:35:03	916	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:03	916	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9189_208' AND `virtuemart_product_id` != 1860408
2023-10-13	12:35:03	916	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:03	916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860408, 'A_9189_208')
2023-10-13	12:35:03	916	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:03	916	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-r8100-12-vitesses-11-34-dents-box-aucune' AND `virtuemart_product_id` != 1860408
2023-10-13	12:35:03	916	[DEBUG]	Query for ProductLang
2023-10-13	12:35:03	916	[DEBUG]	Executed store
2023-10-13	12:35:03	916	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.80734',`product_name`='SHIMANO Cassette Ultegra CS-R8100 12-vitesses 11-34 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-r8100-12-vitesses-11-34-dents-box-aucune' WHERE `virtuemart_product_id` = '1860408'
2023-10-13	12:35:03	916	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_80733_0.jpg
2023-10-13	12:35:03	916	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:03	916	[DEBUG]	Process image file
2023-10-13	12:35:03	916	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:03	916	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:03	916	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_80733_0.jpg
2023-10-13	12:35:03	916	[DEBUG]	Full name target: bcprisme/67_80733_0.jpg
2023-10-13	12:35:04	916	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:04	916	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_80733_0.jpg'
2023-10-13	12:35:04	916	[DEBUG]	Query for Media
2023-10-13	12:35:04	916	[DEBUG]	Executed store
2023-10-13	12:35:04	916	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_80733_0.jpg',`file_url_thumb`='bcprisme/67_80733_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1329898'
2023-10-13	12:35:04	916	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:04	916	[DEBUG]	Executed store
2023-10-13	12:35:04	916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860408','1329898','1')
2023-10-13	12:35:04	916	[DEBUG]	Store product image relation
2023-10-13	12:35:04	916	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:04	916	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860408 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:04	916	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:04	916	[DEBUG]	Executed store
2023-10-13	12:35:04	916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860408','0','129.062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:04	916	[DEBUG]	Checking manufacturer
2023-10-13	12:35:04	916	[DEBUG]	Load a row
2023-10-13	12:35:04	916	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:04	916	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:04	916	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:04	916	[DEBUG]	Executed store
2023-10-13	12:35:04	916	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:04	916	[DEBUG]	Manufacturer exists
2023-10-13	12:35:04	916	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:35:04	916	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:04	916	[DEBUG]	Executed store
2023-10-13	12:35:04	916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860408','26')
2023-10-13	12:35:04	916	[DEBUG]	Find the custom field ID
2023-10-13	12:35:04	916	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:04	916	[DEBUG]	No custom field ID found
2023-10-13	12:35:04	916	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:04	916	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:04	916	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860408 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:04	916	[DEBUG]	Store custom available field
2023-10-13	12:35:04	916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860408,3,'0',1)
2023-10-13	12:35:04	916	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:04	916	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:04	916	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860408 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:04	916	[DEBUG]	Store custom available field
2023-10-13	12:35:04	916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860408,6,'choisir la taille',3)
2023-10-13	12:35:04	916	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:04	916	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:04	916	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:04	916	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:04	916	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860408 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:04	916	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:04	916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860408,8,1)
2023-10-13	12:35:04	916	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:04	916	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860408\":[1860408,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860408
2023-10-13	12:35:04	916	[DEBUG]	Checking category
2023-10-13	12:35:04	916	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:04	916	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860408
2023-10-13	12:35:04	916	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:04	916	[DEBUG]	Executed store
2023-10-13	12:35:04	916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860408','7283')
2023-10-13	12:35:04	916	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:04	916	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860408 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:04	916	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:04	916	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860408
2023-10-13	12:35:04	917	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:04	917	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:04	917	[DEBUG]	Use field value for field taille
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:04	917	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:04	917	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:04	917	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:04	917	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:04	917	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:04	917	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:04	917	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:04	917	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:04	917	[DEBUG]	Use field value for field published
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:04	917	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field override
2023-10-13	12:35:04	917	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:04	917	[DEBUG]	Use field value for field slug
2023-10-13	12:35:04	917	[DEBUG]	Process line 917
2023-10-13	12:35:04	917	[DEBUG]	Load a row
2023-10-13	12:35:04	917	[DEBUG]	Processing item: 4550170894160
2023-10-13	12:35:04	917	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:04	917	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:04	917	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9189_208'
2023-10-13	12:35:04	917	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:04	917	[DEBUG]	Processing product tax
2023-10-13	12:35:04	917	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:04	917	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:04	917	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:04	917	[DEBUG]	Query for Product
2023-10-13	12:35:04	917	[DEBUG]	Executed store
2023-10-13	12:35:04	917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860408','4550170894160','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:04	917	[DEBUG]	No parent found
2023-10-13	12:35:04	917	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860408 AND customfield_value = 'stockable'
2023-10-13	12:35:04	917	[DEBUG]	Check product language entry
2023-10-13	12:35:04	917	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860409
2023-10-13	12:35:04	917	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:04	917	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170894160' AND `virtuemart_product_id` != 1860409
2023-10-13	12:35:04	917	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:04	917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860409, '4550170894160')
2023-10-13	12:35:04	917	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:04	917	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-r8100-12-vitesses-11-34-dents-box-aucune-unitaire' AND `virtuemart_product_id` != 1860409
2023-10-13	12:35:04	917	[DEBUG]	Query for ProductLang
2023-10-13	12:35:04	917	[DEBUG]	Executed store
2023-10-13	12:35:04	917	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette Ultegra CS-R8100 12-vitesses 11-34 dents box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-r8100-12-vitesses-11-34-dents-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860409'
2023-10-13	12:35:04	917	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_80733_0.jpg
2023-10-13	12:35:04	917	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:04	917	[DEBUG]	Process image file
2023-10-13	12:35:04	917	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:04	917	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:04	917	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_80733_0.jpg
2023-10-13	12:35:04	917	[DEBUG]	Full name target: bcprisme/67_80733_0.jpg
2023-10-13	12:35:05	917	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:05	917	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_80733_0.jpg'
2023-10-13	12:35:05	917	[DEBUG]	Query for Media
2023-10-13	12:35:05	917	[DEBUG]	Executed store
2023-10-13	12:35:05	917	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_80733_0.jpg',`file_url_thumb`='bcprisme/67_80733_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1329898'
2023-10-13	12:35:05	917	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:05	917	[DEBUG]	Executed store
2023-10-13	12:35:05	917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860409','1329898','1')
2023-10-13	12:35:05	917	[DEBUG]	Store product image relation
2023-10-13	12:35:05	917	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:05	917	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860409 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:05	917	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:05	917	[DEBUG]	Executed store
2023-10-13	12:35:05	917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860409','0','129.062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:05	917	[DEBUG]	Checking manufacturer
2023-10-13	12:35:05	917	[DEBUG]	Load a row
2023-10-13	12:35:05	917	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:05	917	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:05	917	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:05	917	[DEBUG]	Executed store
2023-10-13	12:35:05	917	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:05	917	[DEBUG]	Manufacturer exists
2023-10-13	12:35:05	917	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:35:05	917	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:05	917	[DEBUG]	Executed store
2023-10-13	12:35:05	917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860409','26')
2023-10-13	12:35:05	917	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:05	917	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:05	917	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860409 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:05	917	[DEBUG]	Store custom available field
2023-10-13	12:35:05	917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860409,3,'',1)
2023-10-13	12:35:05	917	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:05	917	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:05	917	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860409 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:05	917	[DEBUG]	Store custom available field
2023-10-13	12:35:05	917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860409,6,'Unitaire',3)
2023-10-13	12:35:05	917	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:05	917	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:05	917	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860408
2023-10-13	12:35:05	917	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:05	917	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860408\":[1860408,8,1,\"choisir la taille\"],\"1860409\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860408
2023-10-13	12:35:05	917	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:05	917	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860409
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:05	918	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field taille
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:05	918	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:05	918	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:05	918	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:05	918	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:05	918	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:05	918	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field published
2023-10-13	12:35:05	918	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:05	918	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field override
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:05	918	[DEBUG]	Use field value for field slug
2023-10-13	12:35:05	918	[DEBUG]	Process line 918
2023-10-13	12:35:05	918	[DEBUG]	Load a row
2023-10-13	12:35:05	918	[DEBUG]	Processing item: A_9222_208
2023-10-13	12:35:05	918	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:05	918	[DEBUG]	Processing product tax
2023-10-13	12:35:05	918	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:05	918	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:05	918	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:05	918	[DEBUG]	Query for Product
2023-10-13	12:35:05	918	[DEBUG]	Executed store
2023-10-13	12:35:05	918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9222_208','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:05	918	[DEBUG]	Check product language entry
2023-10-13	12:35:05	918	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860410
2023-10-13	12:35:05	918	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:05	918	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9222_208' AND `virtuemart_product_id` != 1860410
2023-10-13	12:35:05	918	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:05	918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860410, 'A_9222_208')
2023-10-13	12:35:05	918	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:05	918	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-105-cs-r7100-12-vitesses-11-34-dents-box-aucune' AND `virtuemart_product_id` != 1860410
2023-10-13	12:35:05	918	[DEBUG]	Query for ProductLang
2023-10-13	12:35:05	918	[DEBUG]	Executed store
2023-10-13	12:35:05	918	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.82598',`product_name`='SHIMANO cassette 105 CS-R7100 12-vitesses 11-34 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-105-cs-r7100-12-vitesses-11-34-dents-box-aucune' WHERE `virtuemart_product_id` = '1860410'
2023-10-13	12:35:05	918	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_82598_0.jpg
2023-10-13	12:35:05	918	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:05	918	[DEBUG]	Process image file
2023-10-13	12:35:05	918	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:05	918	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:05	918	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_82598_0.jpg
2023-10-13	12:35:05	918	[DEBUG]	Full name target: bcprisme/67_82598_0.jpg
2023-10-13	12:35:06	918	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:06	918	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_82598_0.jpg'
2023-10-13	12:35:06	918	[DEBUG]	Query for Media
2023-10-13	12:35:06	918	[DEBUG]	Executed store
2023-10-13	12:35:06	918	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_82598_0.jpg',`file_url_thumb`='bcprisme/67_82598_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1329900'
2023-10-13	12:35:06	918	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:06	918	[DEBUG]	Executed store
2023-10-13	12:35:06	918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860410','1329900','1')
2023-10-13	12:35:06	918	[DEBUG]	Store product image relation
2023-10-13	12:35:06	918	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:06	918	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860410 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:06	918	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:06	918	[DEBUG]	Executed store
2023-10-13	12:35:06	918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860410','0','79.8514391829155','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:06	918	[DEBUG]	Checking manufacturer
2023-10-13	12:35:06	918	[DEBUG]	Load a row
2023-10-13	12:35:06	918	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:06	918	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:06	918	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:06	918	[DEBUG]	Executed store
2023-10-13	12:35:06	918	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:06	918	[DEBUG]	Manufacturer exists
2023-10-13	12:35:06	918	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:35:06	918	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:06	918	[DEBUG]	Executed store
2023-10-13	12:35:06	918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860410','26')
2023-10-13	12:35:06	918	[DEBUG]	Find the custom field ID
2023-10-13	12:35:06	918	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:06	918	[DEBUG]	No custom field ID found
2023-10-13	12:35:06	918	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:06	918	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:06	918	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860410 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:06	918	[DEBUG]	Store custom available field
2023-10-13	12:35:06	918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860410,3,'0',1)
2023-10-13	12:35:06	918	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:06	918	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:06	918	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860410 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:06	918	[DEBUG]	Store custom available field
2023-10-13	12:35:06	918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860410,6,'choisir la taille',3)
2023-10-13	12:35:06	918	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:06	918	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:06	918	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:06	918	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:06	918	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860410 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:06	918	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:06	918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860410,8,1)
2023-10-13	12:35:06	918	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:06	918	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860410\":[1860410,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860410
2023-10-13	12:35:06	918	[DEBUG]	Checking category
2023-10-13	12:35:06	918	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:06	918	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860410
2023-10-13	12:35:06	918	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:06	918	[DEBUG]	Executed store
2023-10-13	12:35:06	918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860410','7283')
2023-10-13	12:35:06	918	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:06	918	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860410 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:06	918	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:06	918	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860410
2023-10-13	12:35:06	919	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:06	919	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:06	919	[DEBUG]	Use field value for field taille
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:06	919	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:06	919	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:06	919	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:06	919	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:06	919	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:06	919	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:06	919	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:06	919	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:06	919	[DEBUG]	Use field value for field published
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:06	919	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field override
2023-10-13	12:35:06	919	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:06	919	[DEBUG]	Use field value for field slug
2023-10-13	12:35:06	919	[DEBUG]	Process line 919
2023-10-13	12:35:06	919	[DEBUG]	Load a row
2023-10-13	12:35:06	919	[DEBUG]	Processing item: 4550170172565
2023-10-13	12:35:06	919	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:06	919	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:06	919	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9222_208'
2023-10-13	12:35:06	919	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:06	919	[DEBUG]	Processing product tax
2023-10-13	12:35:06	919	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:06	919	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:06	919	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:06	919	[DEBUG]	Query for Product
2023-10-13	12:35:06	919	[DEBUG]	Executed store
2023-10-13	12:35:06	919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860410','4550170172565','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:06	919	[DEBUG]	No parent found
2023-10-13	12:35:06	919	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860410 AND customfield_value = 'stockable'
2023-10-13	12:35:06	919	[DEBUG]	Check product language entry
2023-10-13	12:35:06	919	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860411
2023-10-13	12:35:06	919	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:06	919	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170172565' AND `virtuemart_product_id` != 1860411
2023-10-13	12:35:06	919	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:06	919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860411, '4550170172565')
2023-10-13	12:35:06	919	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:06	919	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-105-cs-r7100-12-vitesses-11-34-dents-box-aucune-unitaire' AND `virtuemart_product_id` != 1860411
2023-10-13	12:35:06	919	[DEBUG]	Query for ProductLang
2023-10-13	12:35:06	919	[DEBUG]	Executed store
2023-10-13	12:35:06	919	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO cassette 105 CS-R7100 12-vitesses 11-34 dents box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-105-cs-r7100-12-vitesses-11-34-dents-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860411'
2023-10-13	12:35:06	919	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_82598_0.jpg
2023-10-13	12:35:06	919	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:06	919	[DEBUG]	Process image file
2023-10-13	12:35:06	919	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:06	919	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:06	919	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_82598_0.jpg
2023-10-13	12:35:06	919	[DEBUG]	Full name target: bcprisme/67_82598_0.jpg
2023-10-13	12:35:07	919	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:07	919	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_82598_0.jpg'
2023-10-13	12:35:07	919	[DEBUG]	Query for Media
2023-10-13	12:35:07	919	[DEBUG]	Executed store
2023-10-13	12:35:07	919	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_82598_0.jpg',`file_url_thumb`='bcprisme/67_82598_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1329900'
2023-10-13	12:35:07	919	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:07	919	[DEBUG]	Executed store
2023-10-13	12:35:07	919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860411','1329900','1')
2023-10-13	12:35:07	919	[DEBUG]	Store product image relation
2023-10-13	12:35:07	919	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:07	919	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860411 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:07	919	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:07	919	[DEBUG]	Executed store
2023-10-13	12:35:07	919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860411','0','79.8514391829155','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:07	919	[DEBUG]	Checking manufacturer
2023-10-13	12:35:07	919	[DEBUG]	Load a row
2023-10-13	12:35:07	919	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:07	919	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:07	919	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:07	919	[DEBUG]	Executed store
2023-10-13	12:35:07	919	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:07	919	[DEBUG]	Manufacturer exists
2023-10-13	12:35:07	919	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:35:07	919	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:07	919	[DEBUG]	Executed store
2023-10-13	12:35:07	919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860411','26')
2023-10-13	12:35:07	919	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:07	919	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:07	919	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860411 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:07	919	[DEBUG]	Store custom available field
2023-10-13	12:35:07	919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860411,3,'',1)
2023-10-13	12:35:07	919	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:07	919	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:07	919	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860411 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:07	919	[DEBUG]	Store custom available field
2023-10-13	12:35:07	919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860411,6,'Unitaire',3)
2023-10-13	12:35:07	919	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:07	919	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:07	919	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860410
2023-10-13	12:35:07	919	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:07	919	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860410\":[1860410,8,1,\"choisir la taille\"],\"1860411\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860410
2023-10-13	12:35:07	919	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:07	919	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860411
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:07	920	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field taille
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:07	920	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:07	920	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:07	920	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:07	920	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:07	920	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:07	920	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:07	920	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field published
2023-10-13	12:35:07	920	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:07	920	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:07	920	[DEBUG]	Use field value for field override
2023-10-13	12:35:08	920	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:08	920	[DEBUG]	Use field value for field slug
2023-10-13	12:35:08	920	[DEBUG]	Process line 920
2023-10-13	12:35:08	920	[DEBUG]	Load a row
2023-10-13	12:35:08	920	[DEBUG]	Processing item: A_9239_767
2023-10-13	12:35:08	920	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:08	920	[DEBUG]	Processing product tax
2023-10-13	12:35:08	920	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:08	920	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:08	920	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:08	920	[DEBUG]	Query for Product
2023-10-13	12:35:08	920	[DEBUG]	Executed store
2023-10-13	12:35:08	920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9239_767','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:08	920	[DEBUG]	Check product language entry
2023-10-13	12:35:08	920	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860412
2023-10-13	12:35:08	920	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:08	920	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9239_767' AND `virtuemart_product_id` != 1860412
2023-10-13	12:35:08	920	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:08	920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860412, 'A_9239_767')
2023-10-13	12:35:08	920	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:08	920	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1299-xx1-eagle-12sp-gold' AND `virtuemart_product_id` != 1860412
2023-10-13	12:35:08	920	[DEBUG]	Query for ProductLang
2023-10-13	12:35:08	920	[DEBUG]	Executed store
2023-10-13	12:35:08	920	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7559',`product_name`='SRAM Cassette XG-1299 XX1 Eagle 12SP / gold',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1299-xx1-eagle-12sp-gold' WHERE `virtuemart_product_id` = '1860412'
2023-10-13	12:35:08	920	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38319_cassette_xg-1299_xx1_eagle_12sp.jpg
2023-10-13	12:35:08	920	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:08	920	[DEBUG]	Process image file
2023-10-13	12:35:08	920	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:08	920	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:08	920	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38319_cassette_xg-1299_xx1_eagle_12sp.jpg
2023-10-13	12:35:08	920	[DEBUG]	Full name target: bcprisme/38319_cassette_xg-1299_xx1_eagle_12sp.jpg
2023-10-13	12:35:09	920	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:09	920	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38319_cassette_xg-1299_xx1_eagle_12sp.jpg'
2023-10-13	12:35:09	920	[DEBUG]	Query for Media
2023-10-13	12:35:09	920	[DEBUG]	Executed store
2023-10-13	12:35:09	920	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38319_cassette_xg-1299_xx1_eagle_12sp.jpg',`file_url_thumb`='bcprisme/38319_cassette_xg-1299_xx1_eagle_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1340841'
2023-10-13	12:35:09	920	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:09	920	[DEBUG]	Executed store
2023-10-13	12:35:09	920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860412','1340841','1')
2023-10-13	12:35:09	920	[DEBUG]	Store product image relation
2023-10-13	12:35:09	920	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:09	920	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860412 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:09	920	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:09	920	[DEBUG]	Executed store
2023-10-13	12:35:09	920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860412','0','463.324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:09	920	[DEBUG]	Checking manufacturer
2023-10-13	12:35:09	920	[DEBUG]	Load a row
2023-10-13	12:35:09	920	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:09	920	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:09	920	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:09	920	[DEBUG]	Executed store
2023-10-13	12:35:09	920	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:09	920	[DEBUG]	Manufacturer exists
2023-10-13	12:35:09	920	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:09	920	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:09	920	[DEBUG]	Executed store
2023-10-13	12:35:09	920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860412','35')
2023-10-13	12:35:09	920	[DEBUG]	Find the custom field ID
2023-10-13	12:35:09	920	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:09	920	[DEBUG]	No custom field ID found
2023-10-13	12:35:09	920	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:09	920	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:09	920	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860412 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:09	920	[DEBUG]	Store custom available field
2023-10-13	12:35:09	920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860412,3,'0',1)
2023-10-13	12:35:09	920	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:09	920	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:09	920	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860412 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:09	920	[DEBUG]	Store custom available field
2023-10-13	12:35:09	920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860412,6,'choisir la taille',3)
2023-10-13	12:35:09	920	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:09	920	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:09	920	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:09	920	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:09	920	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860412 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:09	920	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:09	920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860412,8,1)
2023-10-13	12:35:09	920	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:09	920	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860412\":[1860412,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860412
2023-10-13	12:35:09	920	[DEBUG]	Checking category
2023-10-13	12:35:09	920	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:09	920	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860412
2023-10-13	12:35:09	920	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:09	920	[DEBUG]	Executed store
2023-10-13	12:35:09	920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860412','7283')
2023-10-13	12:35:09	920	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:09	920	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860412 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:09	920	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:09	920	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860412
2023-10-13	12:35:09	921	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:09	921	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:09	921	[DEBUG]	Use field value for field taille
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:09	921	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:09	921	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:09	921	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:09	921	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:09	921	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:09	921	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:09	921	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:09	921	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:09	921	[DEBUG]	Use field value for field published
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:09	921	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field override
2023-10-13	12:35:09	921	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:09	921	[DEBUG]	Use field value for field slug
2023-10-13	12:35:09	921	[DEBUG]	Process line 921
2023-10-13	12:35:09	921	[DEBUG]	Load a row
2023-10-13	12:35:09	921	[DEBUG]	Processing item: 710845853081
2023-10-13	12:35:09	921	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:09	921	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:09	921	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9239_767'
2023-10-13	12:35:09	921	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:09	921	[DEBUG]	Processing product tax
2023-10-13	12:35:09	921	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:09	921	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:09	921	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:09	921	[DEBUG]	Query for Product
2023-10-13	12:35:09	921	[DEBUG]	Executed store
2023-10-13	12:35:09	921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860412','710845853081','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:09	921	[DEBUG]	No parent found
2023-10-13	12:35:09	921	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860412 AND customfield_value = 'stockable'
2023-10-13	12:35:09	921	[DEBUG]	Check product language entry
2023-10-13	12:35:09	921	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860413
2023-10-13	12:35:09	921	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:09	921	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845853081' AND `virtuemart_product_id` != 1860413
2023-10-13	12:35:09	921	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:09	921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860413, '710845853081')
2023-10-13	12:35:09	921	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:09	921	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1299-xx1-eagle-12sp-gold-10-52t' AND `virtuemart_product_id` != 1860413
2023-10-13	12:35:09	921	[DEBUG]	Query for ProductLang
2023-10-13	12:35:09	921	[DEBUG]	Executed store
2023-10-13	12:35:09	921	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1299 XX1 Eagle 12SP / gold (10-52t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1299-xx1-eagle-12sp-gold-10-52t' WHERE `virtuemart_product_id` = '1860413'
2023-10-13	12:35:09	921	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38319_cassette_xg-1299_xx1_eagle_12sp.jpg
2023-10-13	12:35:09	921	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:09	921	[DEBUG]	Process image file
2023-10-13	12:35:09	921	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:09	921	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:09	921	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38319_cassette_xg-1299_xx1_eagle_12sp.jpg
2023-10-13	12:35:09	921	[DEBUG]	Full name target: bcprisme/38319_cassette_xg-1299_xx1_eagle_12sp.jpg
2023-10-13	12:35:10	921	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:10	921	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38319_cassette_xg-1299_xx1_eagle_12sp.jpg'
2023-10-13	12:35:10	921	[DEBUG]	Query for Media
2023-10-13	12:35:10	921	[DEBUG]	Executed store
2023-10-13	12:35:10	921	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38319_cassette_xg-1299_xx1_eagle_12sp.jpg',`file_url_thumb`='bcprisme/38319_cassette_xg-1299_xx1_eagle_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1340841'
2023-10-13	12:35:10	921	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:10	921	[DEBUG]	Executed store
2023-10-13	12:35:10	921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860413','1340841','1')
2023-10-13	12:35:10	921	[DEBUG]	Store product image relation
2023-10-13	12:35:10	921	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:10	921	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860413 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:10	921	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:10	921	[DEBUG]	Executed store
2023-10-13	12:35:10	921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860413','0','463.324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:10	921	[DEBUG]	Checking manufacturer
2023-10-13	12:35:10	921	[DEBUG]	Load a row
2023-10-13	12:35:10	921	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:10	921	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:10	921	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:10	921	[DEBUG]	Executed store
2023-10-13	12:35:10	921	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:10	921	[DEBUG]	Manufacturer exists
2023-10-13	12:35:10	921	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:10	921	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:10	921	[DEBUG]	Executed store
2023-10-13	12:35:10	921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860413','35')
2023-10-13	12:35:10	921	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:10	921	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:10	921	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860413 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:10	921	[DEBUG]	Store custom available field
2023-10-13	12:35:10	921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860413,3,'',1)
2023-10-13	12:35:10	921	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:10	921	[DEBUG]	Get existing row with customfield value 10-52t
2023-10-13	12:35:10	921	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860413 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:10	921	[DEBUG]	Store custom available field
2023-10-13	12:35:10	921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860413,6,'10-52t',3)
2023-10-13	12:35:10	921	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:10	921	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:10	921	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860412
2023-10-13	12:35:10	921	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:10	921	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-52t\"}]|clabels=0|options={\"1860412\":[1860412,8,1,\"choisir la taille\"],\"1860413\":[\"10-52t\"]}|' WHERE `virtuemart_product_id` = 1860412
2023-10-13	12:35:10	921	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:10	921	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860413
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:10	922	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field taille
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:10	922	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:10	922	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:10	922	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:10	922	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:10	922	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:10	922	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field published
2023-10-13	12:35:10	922	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:10	922	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field override
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:10	922	[DEBUG]	Use field value for field slug
2023-10-13	12:35:10	922	[DEBUG]	Process line 922
2023-10-13	12:35:10	922	[DEBUG]	Load a row
2023-10-13	12:35:10	922	[DEBUG]	Processing item: A_9240_84
2023-10-13	12:35:10	922	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:10	922	[DEBUG]	Processing product tax
2023-10-13	12:35:10	922	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:10	922	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:10	922	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:10	922	[DEBUG]	Query for Product
2023-10-13	12:35:10	922	[DEBUG]	Executed store
2023-10-13	12:35:10	922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9240_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:10	922	[DEBUG]	Check product language entry
2023-10-13	12:35:10	922	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860414
2023-10-13	12:35:10	922	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:10	922	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9240_84' AND `virtuemart_product_id` != 1860414
2023-10-13	12:35:10	922	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:10	922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860414, 'A_9240_84')
2023-10-13	12:35:10	922	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:10	922	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1295-x01-eagle-12sp-black' AND `virtuemart_product_id` != 1860414
2023-10-13	12:35:10	922	[DEBUG]	Query for ProductLang
2023-10-13	12:35:10	922	[DEBUG]	Executed store
2023-10-13	12:35:10	922	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7559E',`product_name`='SRAM Cassette XG-1295 X01 Eagle 12SP / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1295-x01-eagle-12sp-black' WHERE `virtuemart_product_id` = '1860414'
2023-10-13	12:35:10	922	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg
2023-10-13	12:35:10	922	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:10	922	[DEBUG]	Process image file
2023-10-13	12:35:10	922	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:10	922	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:10	922	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg
2023-10-13	12:35:10	922	[DEBUG]	Full name target: bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg
2023-10-13	12:35:11	922	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:11	922	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg'
2023-10-13	12:35:11	922	[DEBUG]	Query for Media
2023-10-13	12:35:11	922	[DEBUG]	Executed store
2023-10-13	12:35:11	922	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg',`file_url_thumb`='bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1340843'
2023-10-13	12:35:11	922	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:11	922	[DEBUG]	Executed store
2023-10-13	12:35:11	922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860414','1340843','1')
2023-10-13	12:35:11	922	[DEBUG]	Store product image relation
2023-10-13	12:35:11	922	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:11	922	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860414 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:11	922	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:11	922	[DEBUG]	Executed store
2023-10-13	12:35:11	922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860414','0','416.898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:11	922	[DEBUG]	Checking manufacturer
2023-10-13	12:35:11	922	[DEBUG]	Load a row
2023-10-13	12:35:11	922	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:11	922	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:11	922	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:11	922	[DEBUG]	Executed store
2023-10-13	12:35:11	922	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:11	922	[DEBUG]	Manufacturer exists
2023-10-13	12:35:11	922	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:11	922	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:11	922	[DEBUG]	Executed store
2023-10-13	12:35:11	922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860414','35')
2023-10-13	12:35:11	922	[DEBUG]	Find the custom field ID
2023-10-13	12:35:11	922	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:11	922	[DEBUG]	No custom field ID found
2023-10-13	12:35:11	922	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:11	922	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:11	922	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860414 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:11	922	[DEBUG]	Store custom available field
2023-10-13	12:35:11	922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860414,3,'0',1)
2023-10-13	12:35:11	922	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:11	922	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:11	922	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860414 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:11	922	[DEBUG]	Store custom available field
2023-10-13	12:35:11	922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860414,6,'choisir la taille',3)
2023-10-13	12:35:11	922	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:11	922	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:11	922	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:11	922	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:11	922	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860414 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:11	922	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:11	922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860414,8,1)
2023-10-13	12:35:11	922	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:11	922	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860414\":[1860414,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860414
2023-10-13	12:35:11	922	[DEBUG]	Checking category
2023-10-13	12:35:11	922	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:11	922	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860414
2023-10-13	12:35:11	922	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:11	922	[DEBUG]	Executed store
2023-10-13	12:35:11	922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860414','7283')
2023-10-13	12:35:11	922	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:11	922	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860414 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:11	922	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:11	922	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860414
2023-10-13	12:35:11	923	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:11	923	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:11	923	[DEBUG]	Use field value for field taille
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:11	923	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:11	923	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:11	923	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:11	923	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:11	923	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:11	923	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:11	923	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:11	923	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:11	923	[DEBUG]	Use field value for field published
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:11	923	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field override
2023-10-13	12:35:11	923	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:11	923	[DEBUG]	Use field value for field slug
2023-10-13	12:35:11	923	[DEBUG]	Process line 923
2023-10-13	12:35:11	923	[DEBUG]	Load a row
2023-10-13	12:35:11	923	[DEBUG]	Processing item: 710845853067
2023-10-13	12:35:11	923	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:11	923	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:11	923	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9240_84'
2023-10-13	12:35:11	923	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:11	923	[DEBUG]	Processing product tax
2023-10-13	12:35:11	923	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:11	923	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:11	923	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:11	923	[DEBUG]	Query for Product
2023-10-13	12:35:11	923	[DEBUG]	Executed store
2023-10-13	12:35:11	923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860414','710845853067','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:11	923	[DEBUG]	No parent found
2023-10-13	12:35:11	923	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860414 AND customfield_value = 'stockable'
2023-10-13	12:35:11	923	[DEBUG]	Check product language entry
2023-10-13	12:35:11	923	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860415
2023-10-13	12:35:11	923	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:11	923	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845853067' AND `virtuemart_product_id` != 1860415
2023-10-13	12:35:11	923	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:11	923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860415, '710845853067')
2023-10-13	12:35:11	923	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:11	923	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1295-x01-eagle-12sp-black-10-52t' AND `virtuemart_product_id` != 1860415
2023-10-13	12:35:11	923	[DEBUG]	Query for ProductLang
2023-10-13	12:35:11	923	[DEBUG]	Executed store
2023-10-13	12:35:11	923	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1295 X01 Eagle 12SP / Black (10-52t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1295-x01-eagle-12sp-black-10-52t' WHERE `virtuemart_product_id` = '1860415'
2023-10-13	12:35:11	923	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg
2023-10-13	12:35:11	923	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:11	923	[DEBUG]	Process image file
2023-10-13	12:35:11	923	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:11	923	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:11	923	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg
2023-10-13	12:35:11	923	[DEBUG]	Full name target: bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg
2023-10-13	12:35:12	923	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:12	923	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg'
2023-10-13	12:35:12	923	[DEBUG]	Query for Media
2023-10-13	12:35:12	923	[DEBUG]	Executed store
2023-10-13	12:35:12	923	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg',`file_url_thumb`='bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1340843'
2023-10-13	12:35:12	923	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:12	923	[DEBUG]	Executed store
2023-10-13	12:35:12	923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860415','1340843','1')
2023-10-13	12:35:12	923	[DEBUG]	Store product image relation
2023-10-13	12:35:12	923	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:12	923	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860415 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:12	923	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:12	923	[DEBUG]	Executed store
2023-10-13	12:35:12	923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860415','0','416.898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:12	923	[DEBUG]	Checking manufacturer
2023-10-13	12:35:12	923	[DEBUG]	Load a row
2023-10-13	12:35:12	923	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:12	923	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:12	923	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:12	923	[DEBUG]	Executed store
2023-10-13	12:35:12	923	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:12	923	[DEBUG]	Manufacturer exists
2023-10-13	12:35:12	923	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:12	923	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:12	923	[DEBUG]	Executed store
2023-10-13	12:35:12	923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860415','35')
2023-10-13	12:35:12	923	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:12	923	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:12	923	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860415 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:12	923	[DEBUG]	Store custom available field
2023-10-13	12:35:12	923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860415,3,'',1)
2023-10-13	12:35:12	923	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:12	923	[DEBUG]	Get existing row with customfield value 10-52t
2023-10-13	12:35:12	923	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860415 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:12	923	[DEBUG]	Store custom available field
2023-10-13	12:35:12	923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860415,6,'10-52t',3)
2023-10-13	12:35:12	923	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:12	923	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:12	923	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860414
2023-10-13	12:35:12	923	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:12	923	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-52t\"}]|clabels=0|options={\"1860414\":[1860414,8,1,\"choisir la taille\"],\"1860415\":[\"10-52t\"]}|' WHERE `virtuemart_product_id` = 1860414
2023-10-13	12:35:12	923	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:12	923	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860415
2023-10-13	12:35:12	924	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:12	924	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:12	924	[DEBUG]	Use field value for field taille
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:12	924	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:12	924	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:12	924	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:12	924	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:12	924	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:12	924	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:12	924	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:12	924	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:12	924	[DEBUG]	Use field value for field published
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:12	924	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field override
2023-10-13	12:35:12	924	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:12	924	[DEBUG]	Use field value for field slug
2023-10-13	12:35:12	924	[DEBUG]	Process line 924
2023-10-13	12:35:12	924	[DEBUG]	Load a row
2023-10-13	12:35:12	924	[DEBUG]	Processing item: 710845788321
2023-10-13	12:35:12	924	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:12	924	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:12	924	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9240_84'
2023-10-13	12:35:12	924	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:12	924	[DEBUG]	Processing product tax
2023-10-13	12:35:12	924	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:12	924	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:12	924	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:12	924	[DEBUG]	Query for Product
2023-10-13	12:35:12	924	[DEBUG]	Executed store
2023-10-13	12:35:12	924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860414','710845788321','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:12	924	[DEBUG]	No parent found
2023-10-13	12:35:12	924	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860414 AND customfield_value = 'stockable'
2023-10-13	12:35:12	924	[DEBUG]	Check product language entry
2023-10-13	12:35:12	924	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860416
2023-10-13	12:35:12	924	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:12	924	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845788321' AND `virtuemart_product_id` != 1860416
2023-10-13	12:35:12	924	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:12	924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860416, '710845788321')
2023-10-13	12:35:12	924	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:12	924	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1295-x01-eagle-12sp-black-10-50t' AND `virtuemart_product_id` != 1860416
2023-10-13	12:35:12	924	[DEBUG]	Query for ProductLang
2023-10-13	12:35:12	924	[DEBUG]	Executed store
2023-10-13	12:35:12	924	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1295 X01 Eagle 12SP / Black (10-50t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1295-x01-eagle-12sp-black-10-50t' WHERE `virtuemart_product_id` = '1860416'
2023-10-13	12:35:12	924	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg
2023-10-13	12:35:12	924	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:12	924	[DEBUG]	Process image file
2023-10-13	12:35:12	924	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:12	924	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:12	924	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg
2023-10-13	12:35:12	924	[DEBUG]	Full name target: bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg
2023-10-13	12:35:13	924	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:13	924	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg'
2023-10-13	12:35:13	924	[DEBUG]	Query for Media
2023-10-13	12:35:13	924	[DEBUG]	Executed store
2023-10-13	12:35:13	924	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg',`file_url_thumb`='bcprisme/38321_cassette_xg-1295_x01_eagle_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1340843'
2023-10-13	12:35:13	924	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:13	924	[DEBUG]	Executed store
2023-10-13	12:35:13	924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860416','1340843','1')
2023-10-13	12:35:13	924	[DEBUG]	Store product image relation
2023-10-13	12:35:13	924	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:13	924	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860416 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:13	924	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:13	924	[DEBUG]	Executed store
2023-10-13	12:35:13	924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860416','0','416.898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:13	924	[DEBUG]	Checking manufacturer
2023-10-13	12:35:13	924	[DEBUG]	Load a row
2023-10-13	12:35:13	924	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:13	924	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:13	924	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:13	924	[DEBUG]	Executed store
2023-10-13	12:35:13	924	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:13	924	[DEBUG]	Manufacturer exists
2023-10-13	12:35:13	924	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:13	924	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:13	924	[DEBUG]	Executed store
2023-10-13	12:35:13	924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860416','35')
2023-10-13	12:35:13	924	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:13	924	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:13	924	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860416 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:13	924	[DEBUG]	Store custom available field
2023-10-13	12:35:13	924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860416,3,'',1)
2023-10-13	12:35:13	924	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:13	924	[DEBUG]	Get existing row with customfield value 10-50t
2023-10-13	12:35:13	924	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860416 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:13	924	[DEBUG]	Store custom available field
2023-10-13	12:35:13	924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860416,6,'10-50t',3)
2023-10-13	12:35:13	924	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:13	924	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:13	924	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860414
2023-10-13	12:35:13	924	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:13	924	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-52t\\r\\n10-50t\"}]|clabels=0|options={\"1860414\":[1860414,8,1,\"choisir la taille\"],\"1860415\":[\"10-52t\"],\"1860416\":[\"10-50t\"]}|' WHERE `virtuemart_product_id` = 1860414
2023-10-13	12:35:13	924	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:13	924	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860416
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:13	925	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field taille
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:13	925	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:13	925	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:13	925	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:13	925	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:13	925	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:13	925	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field published
2023-10-13	12:35:13	925	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:13	925	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field override
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:13	925	[DEBUG]	Use field value for field slug
2023-10-13	12:35:13	925	[DEBUG]	Process line 925
2023-10-13	12:35:13	925	[DEBUG]	Load a row
2023-10-13	12:35:13	925	[DEBUG]	Processing item: A_9240_343
2023-10-13	12:35:13	925	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:13	925	[DEBUG]	Processing product tax
2023-10-13	12:35:13	925	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:13	925	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:13	925	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:13	925	[DEBUG]	Query for Product
2023-10-13	12:35:13	925	[DEBUG]	Executed store
2023-10-13	12:35:13	925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9240_343','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:13	925	[DEBUG]	Check product language entry
2023-10-13	12:35:13	925	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860417
2023-10-13	12:35:13	925	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:13	925	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9240_343' AND `virtuemart_product_id` != 1860417
2023-10-13	12:35:13	925	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:13	925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860417, 'A_9240_343')
2023-10-13	12:35:13	925	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:13	925	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1295-x01-eagle-12sp-grey' AND `virtuemart_product_id` != 1860417
2023-10-13	12:35:13	925	[DEBUG]	Query for ProductLang
2023-10-13	12:35:13	925	[DEBUG]	Executed store
2023-10-13	12:35:13	925	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7559E',`product_name`='SRAM Cassette XG-1295 X01 Eagle 12SP / Grey',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1295-x01-eagle-12sp-grey' WHERE `virtuemart_product_id` = '1860417'
2023-10-13	12:35:13	925	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/ad58c746-78b9-47b0-bfad-e58d161c71a8.png has not been found.
2023-10-13	12:35:13	925	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:13	925	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860417 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:13	925	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:13	925	[DEBUG]	Executed store
2023-10-13	12:35:13	925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860417','0','416.898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:13	925	[DEBUG]	Checking manufacturer
2023-10-13	12:35:13	925	[DEBUG]	Load a row
2023-10-13	12:35:13	925	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:13	925	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:13	925	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:13	925	[DEBUG]	Executed store
2023-10-13	12:35:13	925	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:13	925	[DEBUG]	Manufacturer exists
2023-10-13	12:35:13	925	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:13	925	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:13	925	[DEBUG]	Executed store
2023-10-13	12:35:13	925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860417','35')
2023-10-13	12:35:13	925	[DEBUG]	Find the custom field ID
2023-10-13	12:35:13	925	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:13	925	[DEBUG]	No custom field ID found
2023-10-13	12:35:13	925	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:13	925	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:13	925	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860417 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:13	925	[DEBUG]	Store custom available field
2023-10-13	12:35:13	925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860417,3,'0',1)
2023-10-13	12:35:13	925	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:13	925	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:13	925	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860417 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:13	925	[DEBUG]	Store custom available field
2023-10-13	12:35:13	925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860417,6,'choisir la taille',3)
2023-10-13	12:35:13	925	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:13	925	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:13	925	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:13	925	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:13	925	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860417 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:13	925	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:13	925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860417,8,1)
2023-10-13	12:35:13	925	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:13	925	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860417\":[1860417,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860417
2023-10-13	12:35:13	925	[DEBUG]	Checking category
2023-10-13	12:35:13	925	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:13	925	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860417
2023-10-13	12:35:13	925	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:13	925	[DEBUG]	Executed store
2023-10-13	12:35:13	925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860417','7283')
2023-10-13	12:35:13	925	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:13	925	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860417 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:13	925	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:13	925	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860417
2023-10-13	12:35:13	926	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:13	926	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:13	926	[DEBUG]	Use field value for field taille
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:13	926	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:13	926	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:13	926	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:13	926	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:13	926	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:13	926	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:13	926	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:13	926	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:13	926	[DEBUG]	Use field value for field published
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:13	926	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field override
2023-10-13	12:35:13	926	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:13	926	[DEBUG]	Use field value for field slug
2023-10-13	12:35:13	926	[DEBUG]	Process line 926
2023-10-13	12:35:13	926	[DEBUG]	Load a row
2023-10-13	12:35:13	926	[DEBUG]	Processing item: 710845824135
2023-10-13	12:35:13	926	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:13	926	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:13	926	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9240_343'
2023-10-13	12:35:13	926	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:13	926	[DEBUG]	Processing product tax
2023-10-13	12:35:13	926	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:13	926	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:13	926	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:13	926	[DEBUG]	Query for Product
2023-10-13	12:35:13	926	[DEBUG]	Executed store
2023-10-13	12:35:13	926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860417','710845824135','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:13	926	[DEBUG]	No parent found
2023-10-13	12:35:13	926	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860417 AND customfield_value = 'stockable'
2023-10-13	12:35:13	926	[DEBUG]	Check product language entry
2023-10-13	12:35:13	926	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860418
2023-10-13	12:35:13	926	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:13	926	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845824135' AND `virtuemart_product_id` != 1860418
2023-10-13	12:35:13	926	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:13	926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860418, '710845824135')
2023-10-13	12:35:13	926	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:13	926	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1295-x01-eagle-12sp-grey-10-50t' AND `virtuemart_product_id` != 1860418
2023-10-13	12:35:13	926	[DEBUG]	Query for ProductLang
2023-10-13	12:35:13	926	[DEBUG]	Executed store
2023-10-13	12:35:13	926	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1295 X01 Eagle 12SP / Grey (10-50t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1295-x01-eagle-12sp-grey-10-50t' WHERE `virtuemart_product_id` = '1860418'
2023-10-13	12:35:13	926	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/ad58c746-78b9-47b0-bfad-e58d161c71a8.png has not been found.
2023-10-13	12:35:13	926	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:13	926	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860418 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:13	926	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:13	926	[DEBUG]	Executed store
2023-10-13	12:35:13	926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860418','0','416.898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:13	926	[DEBUG]	Checking manufacturer
2023-10-13	12:35:13	926	[DEBUG]	Load a row
2023-10-13	12:35:13	926	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:13	926	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:13	926	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:13	926	[DEBUG]	Executed store
2023-10-13	12:35:13	926	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:13	926	[DEBUG]	Manufacturer exists
2023-10-13	12:35:13	926	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:13	926	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:13	926	[DEBUG]	Executed store
2023-10-13	12:35:13	926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860418','35')
2023-10-13	12:35:13	926	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:13	926	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:13	926	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860418 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:13	926	[DEBUG]	Store custom available field
2023-10-13	12:35:13	926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860418,3,'',1)
2023-10-13	12:35:13	926	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:13	926	[DEBUG]	Get existing row with customfield value 10-50t
2023-10-13	12:35:13	926	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860418 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:13	926	[DEBUG]	Store custom available field
2023-10-13	12:35:13	926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860418,6,'10-50t',3)
2023-10-13	12:35:13	926	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:13	926	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:13	926	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860417
2023-10-13	12:35:13	926	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:13	926	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-50t\"}]|clabels=0|options={\"1860417\":[1860417,8,1,\"choisir la taille\"],\"1860418\":[\"10-50t\"]}|' WHERE `virtuemart_product_id` = 1860417
2023-10-13	12:35:13	926	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:13	926	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860418
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:13	927	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field taille
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:13	927	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:13	927	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:13	927	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:13	927	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:13	927	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:13	927	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field published
2023-10-13	12:35:13	927	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:13	927	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field override
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:13	927	[DEBUG]	Use field value for field slug
2023-10-13	12:35:13	927	[DEBUG]	Process line 927
2023-10-13	12:35:13	927	[DEBUG]	Load a row
2023-10-13	12:35:13	927	[DEBUG]	Processing item: A_9240_751
2023-10-13	12:35:13	927	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:13	927	[DEBUG]	Processing product tax
2023-10-13	12:35:13	927	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:13	927	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:13	927	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:13	927	[DEBUG]	Query for Product
2023-10-13	12:35:13	927	[DEBUG]	Executed store
2023-10-13	12:35:13	927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9240_751','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:13	927	[DEBUG]	Check product language entry
2023-10-13	12:35:13	927	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860419
2023-10-13	12:35:13	927	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:13	927	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9240_751' AND `virtuemart_product_id` != 1860419
2023-10-13	12:35:13	927	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:13	927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860419, 'A_9240_751')
2023-10-13	12:35:13	927	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:13	927	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1295-x01-eagle-12sp-lunar-grey' AND `virtuemart_product_id` != 1860419
2023-10-13	12:35:13	927	[DEBUG]	Query for ProductLang
2023-10-13	12:35:13	927	[DEBUG]	Executed store
2023-10-13	12:35:13	927	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7559E',`product_name`='SRAM Cassette XG-1295 X01 Eagle 12SP / lunar grey',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1295-x01-eagle-12sp-lunar-grey' WHERE `virtuemart_product_id` = '1860419'
2023-10-13	12:35:13	927	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/0dbbea2d-6d74-4d60-af12-a81ab935d3d4.png has not been found.
2023-10-13	12:35:13	927	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:13	927	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860419 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:13	927	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:13	927	[DEBUG]	Executed store
2023-10-13	12:35:13	927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860419','0','416.898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:13	927	[DEBUG]	Checking manufacturer
2023-10-13	12:35:13	927	[DEBUG]	Load a row
2023-10-13	12:35:13	927	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:13	927	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:13	927	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:13	927	[DEBUG]	Executed store
2023-10-13	12:35:13	927	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:13	927	[DEBUG]	Manufacturer exists
2023-10-13	12:35:13	927	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:13	927	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:13	927	[DEBUG]	Executed store
2023-10-13	12:35:13	927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860419','35')
2023-10-13	12:35:13	927	[DEBUG]	Find the custom field ID
2023-10-13	12:35:13	927	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:13	927	[DEBUG]	No custom field ID found
2023-10-13	12:35:13	927	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:13	927	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:13	927	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860419 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:13	927	[DEBUG]	Store custom available field
2023-10-13	12:35:13	927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860419,3,'0',1)
2023-10-13	12:35:13	927	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:13	927	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:13	927	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860419 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:13	927	[DEBUG]	Store custom available field
2023-10-13	12:35:13	927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860419,6,'choisir la taille',3)
2023-10-13	12:35:13	927	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:13	927	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:13	927	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:13	927	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:13	927	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860419 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:13	927	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:13	927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860419,8,1)
2023-10-13	12:35:13	927	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:13	927	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860419\":[1860419,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860419
2023-10-13	12:35:13	927	[DEBUG]	Checking category
2023-10-13	12:35:13	927	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:13	927	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860419
2023-10-13	12:35:13	927	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:13	927	[DEBUG]	Executed store
2023-10-13	12:35:13	927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860419','7283')
2023-10-13	12:35:13	927	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:13	927	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860419 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:13	927	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:13	927	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860419
2023-10-13	12:35:13	928	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:13	928	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:13	928	[DEBUG]	Use field value for field taille
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:13	928	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:13	928	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:13	928	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:13	928	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:13	928	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:13	928	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:13	928	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:13	928	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:13	928	[DEBUG]	Use field value for field published
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:13	928	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field override
2023-10-13	12:35:13	928	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:13	928	[DEBUG]	Use field value for field slug
2023-10-13	12:35:13	928	[DEBUG]	Process line 928
2023-10-13	12:35:13	928	[DEBUG]	Load a row
2023-10-13	12:35:13	928	[DEBUG]	Processing item: 710845884757
2023-10-13	12:35:13	928	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:13	928	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:13	928	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9240_751'
2023-10-13	12:35:13	928	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:13	928	[DEBUG]	Processing product tax
2023-10-13	12:35:13	928	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:13	928	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:13	928	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:13	928	[DEBUG]	Query for Product
2023-10-13	12:35:13	928	[DEBUG]	Executed store
2023-10-13	12:35:13	928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860419','710845884757','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:13	928	[DEBUG]	No parent found
2023-10-13	12:35:13	928	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860419 AND customfield_value = 'stockable'
2023-10-13	12:35:13	928	[DEBUG]	Check product language entry
2023-10-13	12:35:13	928	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860420
2023-10-13	12:35:13	928	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:13	928	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845884757' AND `virtuemart_product_id` != 1860420
2023-10-13	12:35:13	928	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:13	928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860420, '710845884757')
2023-10-13	12:35:13	928	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:13	928	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1295-x01-eagle-12sp-lunar-grey-10-50t' AND `virtuemart_product_id` != 1860420
2023-10-13	12:35:13	928	[DEBUG]	Query for ProductLang
2023-10-13	12:35:13	928	[DEBUG]	Executed store
2023-10-13	12:35:13	928	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1295 X01 Eagle 12SP / lunar grey (10-50t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1295-x01-eagle-12sp-lunar-grey-10-50t' WHERE `virtuemart_product_id` = '1860420'
2023-10-13	12:35:13	928	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/0dbbea2d-6d74-4d60-af12-a81ab935d3d4.png has not been found.
2023-10-13	12:35:13	928	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:13	928	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860420 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:13	928	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:13	928	[DEBUG]	Executed store
2023-10-13	12:35:13	928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860420','0','416.898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:13	928	[DEBUG]	Checking manufacturer
2023-10-13	12:35:13	928	[DEBUG]	Load a row
2023-10-13	12:35:13	928	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:13	928	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:13	928	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:13	928	[DEBUG]	Executed store
2023-10-13	12:35:13	928	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:13	928	[DEBUG]	Manufacturer exists
2023-10-13	12:35:13	928	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:13	928	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:13	928	[DEBUG]	Executed store
2023-10-13	12:35:13	928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860420','35')
2023-10-13	12:35:13	928	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:13	928	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:13	928	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860420 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:13	928	[DEBUG]	Store custom available field
2023-10-13	12:35:13	928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860420,3,'',1)
2023-10-13	12:35:13	928	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:13	928	[DEBUG]	Get existing row with customfield value 10-50t
2023-10-13	12:35:13	928	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860420 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:13	928	[DEBUG]	Store custom available field
2023-10-13	12:35:13	928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860420,6,'10-50t',3)
2023-10-13	12:35:13	928	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:13	928	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:13	928	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860419
2023-10-13	12:35:13	928	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:13	928	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-50t\"}]|clabels=0|options={\"1860419\":[1860419,8,1,\"choisir la taille\"],\"1860420\":[\"10-50t\"]}|' WHERE `virtuemart_product_id` = 1860419
2023-10-13	12:35:13	928	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:13	928	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860420
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:13	929	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field taille
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:13	929	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:13	929	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:13	929	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:13	929	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:13	929	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:13	929	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field published
2023-10-13	12:35:13	929	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:13	929	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field override
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:13	929	[DEBUG]	Use field value for field slug
2023-10-13	12:35:13	929	[DEBUG]	Process line 929
2023-10-13	12:35:13	929	[DEBUG]	Load a row
2023-10-13	12:35:13	929	[DEBUG]	Processing item: A_9334_13
2023-10-13	12:35:13	929	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:13	929	[DEBUG]	Processing product tax
2023-10-13	12:35:13	929	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:13	929	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:13	929	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:13	929	[DEBUG]	Query for Product
2023-10-13	12:35:13	929	[DEBUG]	Executed store
2023-10-13	12:35:13	929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9334_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:13	929	[DEBUG]	Check product language entry
2023-10-13	12:35:13	929	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860421
2023-10-13	12:35:13	929	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:13	929	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9334_13' AND `virtuemart_product_id` != 1860421
2023-10-13	12:35:13	929	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:13	929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860421, 'A_9334_13')
2023-10-13	12:35:13	929	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:13	929	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1250-d1-silver-12-vit-10-36-argent' AND `virtuemart_product_id` != 1860421
2023-10-13	12:35:13	929	[DEBUG]	Query for ProductLang
2023-10-13	12:35:13	929	[DEBUG]	Executed store
2023-10-13	12:35:13	929	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7565R',`product_name`='SRAM Cassette XG-1250 D1 Silver 12-vit 10-36 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1250-d1-silver-12-vit-10-36-argent' WHERE `virtuemart_product_id` = '1860421'
2023-10-13	12:35:13	929	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38422_cassette_xg-1250_d1_silver_12-vit_10-36.jpg
2023-10-13	12:35:13	929	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:13	929	[DEBUG]	Process image file
2023-10-13	12:35:13	929	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:13	929	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:13	929	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38422_cassette_xg-1250_d1_silver_12-vit_10-36.jpg
2023-10-13	12:35:13	929	[DEBUG]	Full name target: bcprisme/38422_cassette_xg-1250_d1_silver_12-vit_10-36.jpg
2023-10-13	12:35:14	929	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:14	929	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38422_cassette_xg-1250_d1_silver_12-vit_10-36.jpg'
2023-10-13	12:35:14	929	[DEBUG]	Query for Media
2023-10-13	12:35:14	929	[DEBUG]	Executed store
2023-10-13	12:35:14	929	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38422_cassette_xg-1250_d1_silver_12-vit_10-36.jpg',`file_url_thumb`='bcprisme/38422_cassette_xg-1250_d1_silver_12-vit_10-36.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1373763'
2023-10-13	12:35:14	929	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:14	929	[DEBUG]	Executed store
2023-10-13	12:35:14	929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860421','1373763','1')
2023-10-13	12:35:14	929	[DEBUG]	Store product image relation
2023-10-13	12:35:14	929	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:14	929	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860421 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:14	929	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:14	929	[DEBUG]	Executed store
2023-10-13	12:35:14	929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860421','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:14	929	[DEBUG]	Checking manufacturer
2023-10-13	12:35:14	929	[DEBUG]	Load a row
2023-10-13	12:35:14	929	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:14	929	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:14	929	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:14	929	[DEBUG]	Executed store
2023-10-13	12:35:14	929	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:14	929	[DEBUG]	Manufacturer exists
2023-10-13	12:35:14	929	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:14	929	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:14	929	[DEBUG]	Executed store
2023-10-13	12:35:14	929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860421','35')
2023-10-13	12:35:14	929	[DEBUG]	Find the custom field ID
2023-10-13	12:35:14	929	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:14	929	[DEBUG]	No custom field ID found
2023-10-13	12:35:14	929	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:14	929	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:14	929	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860421 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:14	929	[DEBUG]	Store custom available field
2023-10-13	12:35:14	929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860421,3,'0',1)
2023-10-13	12:35:14	929	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:14	929	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:14	929	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860421 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:14	929	[DEBUG]	Store custom available field
2023-10-13	12:35:14	929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860421,6,'choisir la taille',3)
2023-10-13	12:35:14	929	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:14	929	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:14	929	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:14	929	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:14	929	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860421 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:14	929	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:14	929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860421,8,1)
2023-10-13	12:35:14	929	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:14	929	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860421\":[1860421,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860421
2023-10-13	12:35:14	929	[DEBUG]	Checking category
2023-10-13	12:35:14	929	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:14	929	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860421
2023-10-13	12:35:14	929	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:14	929	[DEBUG]	Executed store
2023-10-13	12:35:14	929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860421','7283')
2023-10-13	12:35:14	929	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:14	929	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860421 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:14	929	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:14	929	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860421
2023-10-13	12:35:14	930	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:14	930	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:14	930	[DEBUG]	Use field value for field taille
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:14	930	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:14	930	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:14	930	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:14	930	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:14	930	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:14	930	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:14	930	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:14	930	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:14	930	[DEBUG]	Use field value for field published
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:14	930	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field override
2023-10-13	12:35:14	930	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:14	930	[DEBUG]	Use field value for field slug
2023-10-13	12:35:14	930	[DEBUG]	Process line 930
2023-10-13	12:35:14	930	[DEBUG]	Load a row
2023-10-13	12:35:14	930	[DEBUG]	Processing item: 1000000229844
2023-10-13	12:35:14	930	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:14	930	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:14	930	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9334_13'
2023-10-13	12:35:14	930	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:14	930	[DEBUG]	Processing product tax
2023-10-13	12:35:14	930	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:14	930	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:14	930	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:14	930	[DEBUG]	Query for Product
2023-10-13	12:35:14	930	[DEBUG]	Executed store
2023-10-13	12:35:14	930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860421','1000000229844','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:14	930	[DEBUG]	No parent found
2023-10-13	12:35:14	930	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860421 AND customfield_value = 'stockable'
2023-10-13	12:35:14	930	[DEBUG]	Check product language entry
2023-10-13	12:35:14	930	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860422
2023-10-13	12:35:14	930	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:14	930	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000229844' AND `virtuemart_product_id` != 1860422
2023-10-13	12:35:14	930	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:14	930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860422, '1000000229844')
2023-10-13	12:35:14	930	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:14	930	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1250-d1-silver-12-vit-10-36-argent-unitaire' AND `virtuemart_product_id` != 1860422
2023-10-13	12:35:14	930	[DEBUG]	Query for ProductLang
2023-10-13	12:35:14	930	[DEBUG]	Executed store
2023-10-13	12:35:14	930	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1250 D1 Silver 12-vit 10-36 / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1250-d1-silver-12-vit-10-36-argent-unitaire' WHERE `virtuemart_product_id` = '1860422'
2023-10-13	12:35:14	930	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38422_cassette_xg-1250_d1_silver_12-vit_10-36.jpg
2023-10-13	12:35:14	930	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:14	930	[DEBUG]	Process image file
2023-10-13	12:35:14	930	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:14	930	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:14	930	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38422_cassette_xg-1250_d1_silver_12-vit_10-36.jpg
2023-10-13	12:35:14	930	[DEBUG]	Full name target: bcprisme/38422_cassette_xg-1250_d1_silver_12-vit_10-36.jpg
2023-10-13	12:35:15	930	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:15	930	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38422_cassette_xg-1250_d1_silver_12-vit_10-36.jpg'
2023-10-13	12:35:15	930	[DEBUG]	Query for Media
2023-10-13	12:35:15	930	[DEBUG]	Executed store
2023-10-13	12:35:15	930	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38422_cassette_xg-1250_d1_silver_12-vit_10-36.jpg',`file_url_thumb`='bcprisme/38422_cassette_xg-1250_d1_silver_12-vit_10-36.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1373763'
2023-10-13	12:35:15	930	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:15	930	[DEBUG]	Executed store
2023-10-13	12:35:15	930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860422','1373763','1')
2023-10-13	12:35:15	930	[DEBUG]	Store product image relation
2023-10-13	12:35:15	930	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:15	930	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860422 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:15	930	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:15	930	[DEBUG]	Executed store
2023-10-13	12:35:15	930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860422','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:15	930	[DEBUG]	Checking manufacturer
2023-10-13	12:35:15	930	[DEBUG]	Load a row
2023-10-13	12:35:15	930	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:15	930	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:15	930	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:15	930	[DEBUG]	Executed store
2023-10-13	12:35:15	930	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:15	930	[DEBUG]	Manufacturer exists
2023-10-13	12:35:15	930	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:15	930	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:15	930	[DEBUG]	Executed store
2023-10-13	12:35:15	930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860422','35')
2023-10-13	12:35:15	930	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:15	930	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:15	930	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860422 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:15	930	[DEBUG]	Store custom available field
2023-10-13	12:35:15	930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860422,3,'',1)
2023-10-13	12:35:15	930	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:15	930	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:15	930	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860422 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:15	930	[DEBUG]	Store custom available field
2023-10-13	12:35:15	930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860422,6,'Unitaire',3)
2023-10-13	12:35:15	930	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:15	930	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:15	930	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860421
2023-10-13	12:35:15	930	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:15	930	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860421\":[1860421,8,1,\"choisir la taille\"],\"1860422\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860421
2023-10-13	12:35:15	930	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:15	930	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860422
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:15	931	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field taille
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:15	931	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:15	931	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:15	931	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:15	931	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:15	931	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:15	931	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field published
2023-10-13	12:35:15	931	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:15	931	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field override
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:15	931	[DEBUG]	Use field value for field slug
2023-10-13	12:35:15	931	[DEBUG]	Process line 931
2023-10-13	12:35:15	931	[DEBUG]	Load a row
2023-10-13	12:35:15	931	[DEBUG]	Processing item: A_9366_1
2023-10-13	12:35:15	931	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:15	931	[DEBUG]	Processing product tax
2023-10-13	12:35:15	931	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:15	931	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:15	931	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:15	931	[DEBUG]	Query for Product
2023-10-13	12:35:15	931	[DEBUG]	Executed store
2023-10-13	12:35:15	931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9366_1','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:15	931	[DEBUG]	Check product language entry
2023-10-13	12:35:15	931	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860423
2023-10-13	12:35:15	931	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:15	931	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9366_1' AND `virtuemart_product_id` != 1860423
2023-10-13	12:35:15	931	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:15	931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860423, 'A_9366_1')
2023-10-13	12:35:15	931	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:15	931	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-noir' AND `virtuemart_product_id` != 1860423
2023-10-13	12:35:15	931	[DEBUG]	Query for ProductLang
2023-10-13	12:35:15	931	[DEBUG]	Executed store
2023-10-13	12:35:15	931	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSXX14216BK',`product_name`='MSC Ratio Expender MSC 42 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-noir' WHERE `virtuemart_product_id` = '1860423'
2023-10-13	12:35:15	931	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38464_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:15	931	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:15	931	[DEBUG]	Process image file
2023-10-13	12:35:15	931	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:15	931	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:15	931	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38464_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:15	931	[DEBUG]	Full name target: bcprisme/38464_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:16	931	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:16	931	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38464_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg'
2023-10-13	12:35:16	931	[DEBUG]	Query for Media
2023-10-13	12:35:16	931	[DEBUG]	Executed store
2023-10-13	12:35:16	931	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38464_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_url_thumb`='bcprisme/38464_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410256'
2023-10-13	12:35:16	931	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:16	931	[DEBUG]	Executed store
2023-10-13	12:35:16	931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860423','1410256','1')
2023-10-13	12:35:16	931	[DEBUG]	Store product image relation
2023-10-13	12:35:16	931	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:16	931	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860423 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:16	931	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:16	931	[DEBUG]	Executed store
2023-10-13	12:35:16	931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860423','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:16	931	[DEBUG]	Checking manufacturer
2023-10-13	12:35:16	931	[DEBUG]	Load a row
2023-10-13	12:35:16	931	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:16	931	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:16	931	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:16	931	[DEBUG]	Executed store
2023-10-13	12:35:16	931	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:16	931	[DEBUG]	Manufacturer exists
2023-10-13	12:35:16	931	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:16	931	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:16	931	[DEBUG]	Executed store
2023-10-13	12:35:16	931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860423','32')
2023-10-13	12:35:16	931	[DEBUG]	Find the custom field ID
2023-10-13	12:35:16	931	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:16	931	[DEBUG]	No custom field ID found
2023-10-13	12:35:16	931	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:16	931	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:35:16	931	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860423 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:16	931	[DEBUG]	Store custom available field
2023-10-13	12:35:16	931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860423,3,'109.594722222222',1)
2023-10-13	12:35:16	931	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:16	931	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:16	931	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860423 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:16	931	[DEBUG]	Store custom available field
2023-10-13	12:35:16	931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860423,6,'choisir la taille',3)
2023-10-13	12:35:16	931	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:16	931	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:16	931	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:16	931	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:16	931	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860423 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:16	931	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:16	931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860423,8,1)
2023-10-13	12:35:16	931	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:16	931	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860423\":[1860423,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860423
2023-10-13	12:35:16	931	[DEBUG]	Checking category
2023-10-13	12:35:16	931	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:16	931	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860423
2023-10-13	12:35:16	931	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:16	931	[DEBUG]	Executed store
2023-10-13	12:35:16	931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860423','7283')
2023-10-13	12:35:16	931	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:16	931	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860423 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:16	931	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:16	931	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860423
2023-10-13	12:35:16	932	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:16	932	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:16	932	[DEBUG]	Use field value for field taille
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:16	932	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:16	932	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:16	932	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:16	932	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:16	932	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:16	932	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:16	932	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:16	932	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:16	932	[DEBUG]	Use field value for field published
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:16	932	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field override
2023-10-13	12:35:16	932	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:16	932	[DEBUG]	Use field value for field slug
2023-10-13	12:35:16	932	[DEBUG]	Process line 932
2023-10-13	12:35:16	932	[DEBUG]	Load a row
2023-10-13	12:35:16	932	[DEBUG]	Processing item: 8436550196788
2023-10-13	12:35:16	932	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:16	932	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:16	932	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9366_1'
2023-10-13	12:35:16	932	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:16	932	[DEBUG]	Processing product tax
2023-10-13	12:35:16	932	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:16	932	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:16	932	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:16	932	[DEBUG]	Query for Product
2023-10-13	12:35:16	932	[DEBUG]	Executed store
2023-10-13	12:35:16	932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860423','8436550196788','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:16	932	[DEBUG]	No parent found
2023-10-13	12:35:16	932	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860423 AND customfield_value = 'stockable'
2023-10-13	12:35:16	932	[DEBUG]	Check product language entry
2023-10-13	12:35:16	932	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860424
2023-10-13	12:35:16	932	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:16	932	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550196788' AND `virtuemart_product_id` != 1860424
2023-10-13	12:35:16	932	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:16	932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860424, '8436550196788')
2023-10-13	12:35:16	932	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:16	932	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-noir-unitaire' AND `virtuemart_product_id` != 1860424
2023-10-13	12:35:16	932	[DEBUG]	Query for ProductLang
2023-10-13	12:35:16	932	[DEBUG]	Executed store
2023-10-13	12:35:16	932	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Ratio Expender MSC 42 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-noir-unitaire' WHERE `virtuemart_product_id` = '1860424'
2023-10-13	12:35:16	932	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38464_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:16	932	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:16	932	[DEBUG]	Process image file
2023-10-13	12:35:16	932	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:16	932	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:16	932	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38464_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:16	932	[DEBUG]	Full name target: bcprisme/38464_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:17	932	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:17	932	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38464_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg'
2023-10-13	12:35:17	932	[DEBUG]	Query for Media
2023-10-13	12:35:17	932	[DEBUG]	Executed store
2023-10-13	12:35:17	932	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38464_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_url_thumb`='bcprisme/38464_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410256'
2023-10-13	12:35:17	932	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:17	932	[DEBUG]	Executed store
2023-10-13	12:35:17	932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860424','1410256','1')
2023-10-13	12:35:17	932	[DEBUG]	Store product image relation
2023-10-13	12:35:17	932	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:17	932	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860424 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:17	932	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:17	932	[DEBUG]	Executed store
2023-10-13	12:35:17	932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860424','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:17	932	[DEBUG]	Checking manufacturer
2023-10-13	12:35:17	932	[DEBUG]	Load a row
2023-10-13	12:35:17	932	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:17	932	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:17	932	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:17	932	[DEBUG]	Executed store
2023-10-13	12:35:17	932	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:17	932	[DEBUG]	Manufacturer exists
2023-10-13	12:35:17	932	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:17	932	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:17	932	[DEBUG]	Executed store
2023-10-13	12:35:17	932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860424','32')
2023-10-13	12:35:17	932	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:17	932	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:17	932	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860424 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:17	932	[DEBUG]	Store custom available field
2023-10-13	12:35:17	932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860424,3,'',1)
2023-10-13	12:35:17	932	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:17	932	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:17	932	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860424 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:17	932	[DEBUG]	Store custom available field
2023-10-13	12:35:17	932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860424,6,'Unitaire',3)
2023-10-13	12:35:17	932	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:17	932	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:17	932	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860423
2023-10-13	12:35:17	932	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:17	932	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860423\":[1860423,8,1,\"choisir la taille\"],\"1860424\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860423
2023-10-13	12:35:17	932	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:17	932	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860424
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:17	933	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field taille
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:17	933	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:17	933	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:17	933	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:17	933	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:17	933	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:17	933	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field published
2023-10-13	12:35:17	933	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:17	933	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field override
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:17	933	[DEBUG]	Use field value for field slug
2023-10-13	12:35:17	933	[DEBUG]	Process line 933
2023-10-13	12:35:17	933	[DEBUG]	Load a row
2023-10-13	12:35:17	933	[DEBUG]	Processing item: A_9366_5
2023-10-13	12:35:17	933	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:17	933	[DEBUG]	Processing product tax
2023-10-13	12:35:17	933	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:17	933	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:17	933	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:17	933	[DEBUG]	Query for Product
2023-10-13	12:35:17	933	[DEBUG]	Executed store
2023-10-13	12:35:17	933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9366_5','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:17	933	[DEBUG]	Check product language entry
2023-10-13	12:35:17	933	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860425
2023-10-13	12:35:17	933	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:17	933	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9366_5' AND `virtuemart_product_id` != 1860425
2023-10-13	12:35:17	933	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:17	933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860425, 'A_9366_5')
2023-10-13	12:35:17	933	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:17	933	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-or' AND `virtuemart_product_id` != 1860425
2023-10-13	12:35:17	933	[DEBUG]	Query for ProductLang
2023-10-13	12:35:17	933	[DEBUG]	Executed store
2023-10-13	12:35:17	933	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSXX14216BK',`product_name`='MSC Ratio Expender MSC 42 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-or' WHERE `virtuemart_product_id` = '1860425'
2023-10-13	12:35:17	933	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38465_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:17	933	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:17	933	[DEBUG]	Process image file
2023-10-13	12:35:17	933	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:17	933	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:17	933	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38465_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:17	933	[DEBUG]	Full name target: bcprisme/38465_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:18	933	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:18	933	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38465_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg'
2023-10-13	12:35:18	933	[DEBUG]	Query for Media
2023-10-13	12:35:18	933	[DEBUG]	Executed store
2023-10-13	12:35:18	933	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38465_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_url_thumb`='bcprisme/38465_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410258'
2023-10-13	12:35:18	933	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:18	933	[DEBUG]	Executed store
2023-10-13	12:35:18	933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860425','1410258','1')
2023-10-13	12:35:18	933	[DEBUG]	Store product image relation
2023-10-13	12:35:18	933	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:18	933	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860425 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:18	933	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:18	933	[DEBUG]	Executed store
2023-10-13	12:35:18	933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860425','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:18	933	[DEBUG]	Checking manufacturer
2023-10-13	12:35:18	933	[DEBUG]	Load a row
2023-10-13	12:35:18	933	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:18	933	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:18	933	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:18	933	[DEBUG]	Executed store
2023-10-13	12:35:18	933	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:18	933	[DEBUG]	Manufacturer exists
2023-10-13	12:35:18	933	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:18	933	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:18	933	[DEBUG]	Executed store
2023-10-13	12:35:18	933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860425','32')
2023-10-13	12:35:18	933	[DEBUG]	Find the custom field ID
2023-10-13	12:35:18	933	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:18	933	[DEBUG]	No custom field ID found
2023-10-13	12:35:18	933	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:18	933	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:35:18	933	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860425 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:18	933	[DEBUG]	Store custom available field
2023-10-13	12:35:18	933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860425,3,'109.594722222222',1)
2023-10-13	12:35:18	933	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:18	933	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:18	933	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860425 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:18	933	[DEBUG]	Store custom available field
2023-10-13	12:35:18	933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860425,6,'choisir la taille',3)
2023-10-13	12:35:18	933	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:18	933	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:18	933	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:18	933	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:18	933	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860425 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:18	933	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:18	933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860425,8,1)
2023-10-13	12:35:18	933	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:18	933	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860425\":[1860425,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860425
2023-10-13	12:35:18	933	[DEBUG]	Checking category
2023-10-13	12:35:18	933	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:18	933	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860425
2023-10-13	12:35:18	933	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:18	933	[DEBUG]	Executed store
2023-10-13	12:35:18	933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860425','7283')
2023-10-13	12:35:18	933	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:18	933	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860425 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:18	933	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:18	933	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860425
2023-10-13	12:35:18	934	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:18	934	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:18	934	[DEBUG]	Use field value for field taille
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:18	934	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:18	934	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:18	934	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:18	934	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:18	934	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:18	934	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:18	934	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:18	934	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:18	934	[DEBUG]	Use field value for field published
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:18	934	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field override
2023-10-13	12:35:18	934	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:18	934	[DEBUG]	Use field value for field slug
2023-10-13	12:35:18	934	[DEBUG]	Process line 934
2023-10-13	12:35:18	934	[DEBUG]	Load a row
2023-10-13	12:35:18	934	[DEBUG]	Processing item: 8436550196825
2023-10-13	12:35:18	934	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:18	934	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:18	934	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9366_5'
2023-10-13	12:35:18	934	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:18	934	[DEBUG]	Processing product tax
2023-10-13	12:35:18	934	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:18	934	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:18	934	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:18	934	[DEBUG]	Query for Product
2023-10-13	12:35:18	934	[DEBUG]	Executed store
2023-10-13	12:35:18	934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860425','8436550196825','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:18	934	[DEBUG]	No parent found
2023-10-13	12:35:18	934	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860425 AND customfield_value = 'stockable'
2023-10-13	12:35:18	934	[DEBUG]	Check product language entry
2023-10-13	12:35:18	934	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860426
2023-10-13	12:35:18	934	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:18	934	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550196825' AND `virtuemart_product_id` != 1860426
2023-10-13	12:35:18	934	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:18	934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860426, '8436550196825')
2023-10-13	12:35:18	934	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:18	934	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-or-unitaire' AND `virtuemart_product_id` != 1860426
2023-10-13	12:35:18	934	[DEBUG]	Query for ProductLang
2023-10-13	12:35:18	934	[DEBUG]	Executed store
2023-10-13	12:35:18	934	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Ratio Expender MSC 42 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano / Or (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-or-unitaire' WHERE `virtuemart_product_id` = '1860426'
2023-10-13	12:35:18	934	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38465_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:18	934	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:18	934	[DEBUG]	Process image file
2023-10-13	12:35:18	934	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:18	934	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:18	934	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38465_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:18	934	[DEBUG]	Full name target: bcprisme/38465_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:19	934	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:19	934	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38465_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg'
2023-10-13	12:35:19	934	[DEBUG]	Query for Media
2023-10-13	12:35:19	934	[DEBUG]	Executed store
2023-10-13	12:35:19	934	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38465_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_url_thumb`='bcprisme/38465_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410258'
2023-10-13	12:35:19	934	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:19	934	[DEBUG]	Executed store
2023-10-13	12:35:19	934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860426','1410258','1')
2023-10-13	12:35:19	934	[DEBUG]	Store product image relation
2023-10-13	12:35:19	934	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:19	934	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860426 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:19	934	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:19	934	[DEBUG]	Executed store
2023-10-13	12:35:19	934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860426','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:19	934	[DEBUG]	Checking manufacturer
2023-10-13	12:35:19	934	[DEBUG]	Load a row
2023-10-13	12:35:19	934	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:19	934	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:19	934	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:19	934	[DEBUG]	Executed store
2023-10-13	12:35:19	934	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:19	934	[DEBUG]	Manufacturer exists
2023-10-13	12:35:19	934	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:19	934	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:19	934	[DEBUG]	Executed store
2023-10-13	12:35:19	934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860426','32')
2023-10-13	12:35:19	934	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:19	934	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:19	934	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860426 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:19	934	[DEBUG]	Store custom available field
2023-10-13	12:35:19	934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860426,3,'',1)
2023-10-13	12:35:19	934	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:19	934	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:19	934	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860426 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:19	934	[DEBUG]	Store custom available field
2023-10-13	12:35:19	934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860426,6,'Unitaire',3)
2023-10-13	12:35:19	934	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:19	934	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:19	934	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860425
2023-10-13	12:35:19	934	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:19	934	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860425\":[1860425,8,1,\"choisir la taille\"],\"1860426\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860425
2023-10-13	12:35:19	934	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:19	934	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860426
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:19	935	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field taille
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:19	935	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:19	935	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:19	935	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:19	935	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:19	935	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:19	935	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field published
2023-10-13	12:35:19	935	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:19	935	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field override
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:19	935	[DEBUG]	Use field value for field slug
2023-10-13	12:35:19	935	[DEBUG]	Process line 935
2023-10-13	12:35:19	935	[DEBUG]	Load a row
2023-10-13	12:35:19	935	[DEBUG]	Processing item: A_9366_7
2023-10-13	12:35:19	935	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:19	935	[DEBUG]	Processing product tax
2023-10-13	12:35:19	935	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:19	935	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:19	935	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:19	935	[DEBUG]	Query for Product
2023-10-13	12:35:19	935	[DEBUG]	Executed store
2023-10-13	12:35:19	935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9366_7','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:19	935	[DEBUG]	Check product language entry
2023-10-13	12:35:19	935	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860427
2023-10-13	12:35:19	935	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:19	935	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9366_7' AND `virtuemart_product_id` != 1860427
2023-10-13	12:35:19	935	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:19	935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860427, 'A_9366_7')
2023-10-13	12:35:19	935	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:19	935	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-rouge' AND `virtuemart_product_id` != 1860427
2023-10-13	12:35:19	935	[DEBUG]	Query for ProductLang
2023-10-13	12:35:19	935	[DEBUG]	Executed store
2023-10-13	12:35:19	935	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSXX14216BK',`product_name`='MSC Ratio Expender MSC 42 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-rouge' WHERE `virtuemart_product_id` = '1860427'
2023-10-13	12:35:19	935	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38461_ratio_expender_msc_42_t_avec_pignon_16_t.jpg
2023-10-13	12:35:19	935	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:19	935	[DEBUG]	Process image file
2023-10-13	12:35:19	935	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:19	935	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:19	935	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38461_ratio_expender_msc_42_t_avec_pignon_16_t.jpg
2023-10-13	12:35:19	935	[DEBUG]	Full name target: bcprisme/38461_ratio_expender_msc_42_t_avec_pignon_16_t.jpg
2023-10-13	12:35:20	935	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:20	935	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38461_ratio_expender_msc_42_t_avec_pignon_16_t.jpg'
2023-10-13	12:35:20	935	[DEBUG]	Query for Media
2023-10-13	12:35:20	935	[DEBUG]	Executed store
2023-10-13	12:35:20	935	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38461_ratio_expender_msc_42_t_avec_pignon_16_t.jpg',`file_url_thumb`='bcprisme/38461_ratio_expender_msc_42_t_avec_pignon_16_t.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410260'
2023-10-13	12:35:20	935	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:20	935	[DEBUG]	Executed store
2023-10-13	12:35:20	935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860427','1410260','1')
2023-10-13	12:35:20	935	[DEBUG]	Store product image relation
2023-10-13	12:35:20	935	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:20	935	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860427 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:20	935	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:20	935	[DEBUG]	Executed store
2023-10-13	12:35:20	935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860427','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:20	935	[DEBUG]	Checking manufacturer
2023-10-13	12:35:20	935	[DEBUG]	Load a row
2023-10-13	12:35:20	935	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:20	935	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:20	935	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:20	935	[DEBUG]	Executed store
2023-10-13	12:35:20	935	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:20	935	[DEBUG]	Manufacturer exists
2023-10-13	12:35:20	935	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:20	935	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:20	935	[DEBUG]	Executed store
2023-10-13	12:35:20	935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860427','32')
2023-10-13	12:35:20	935	[DEBUG]	Find the custom field ID
2023-10-13	12:35:20	935	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:20	935	[DEBUG]	No custom field ID found
2023-10-13	12:35:20	935	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:20	935	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:35:20	935	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860427 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:20	935	[DEBUG]	Store custom available field
2023-10-13	12:35:20	935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860427,3,'109.594722222222',1)
2023-10-13	12:35:20	935	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:20	935	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:20	935	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860427 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:20	935	[DEBUG]	Store custom available field
2023-10-13	12:35:20	935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860427,6,'choisir la taille',3)
2023-10-13	12:35:20	935	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:20	935	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:20	935	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:20	935	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:20	935	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860427 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:20	935	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:20	935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860427,8,1)
2023-10-13	12:35:20	935	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:20	935	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860427\":[1860427,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860427
2023-10-13	12:35:20	935	[DEBUG]	Checking category
2023-10-13	12:35:20	935	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:20	935	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860427
2023-10-13	12:35:20	935	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:20	935	[DEBUG]	Executed store
2023-10-13	12:35:20	935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860427','7283')
2023-10-13	12:35:20	935	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:20	935	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860427 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:21	935	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:21	935	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860427
2023-10-13	12:35:21	936	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:21	936	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:21	936	[DEBUG]	Use field value for field taille
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:21	936	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:21	936	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:21	936	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:21	936	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:21	936	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:21	936	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:21	936	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:21	936	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:21	936	[DEBUG]	Use field value for field published
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:21	936	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field override
2023-10-13	12:35:21	936	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:21	936	[DEBUG]	Use field value for field slug
2023-10-13	12:35:21	936	[DEBUG]	Process line 936
2023-10-13	12:35:21	936	[DEBUG]	Load a row
2023-10-13	12:35:21	936	[DEBUG]	Processing item: 8436550196818
2023-10-13	12:35:21	936	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:21	936	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:21	936	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9366_7'
2023-10-13	12:35:21	936	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:21	936	[DEBUG]	Processing product tax
2023-10-13	12:35:21	936	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:21	936	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:21	936	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:21	936	[DEBUG]	Query for Product
2023-10-13	12:35:21	936	[DEBUG]	Executed store
2023-10-13	12:35:21	936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860427','8436550196818','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:21	936	[DEBUG]	No parent found
2023-10-13	12:35:21	936	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860427 AND customfield_value = 'stockable'
2023-10-13	12:35:21	936	[DEBUG]	Check product language entry
2023-10-13	12:35:21	936	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860428
2023-10-13	12:35:21	936	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:21	936	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550196818' AND `virtuemart_product_id` != 1860428
2023-10-13	12:35:21	936	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:21	936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860428, '8436550196818')
2023-10-13	12:35:21	936	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:21	936	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-rouge-unitaire' AND `virtuemart_product_id` != 1860428
2023-10-13	12:35:21	936	[DEBUG]	Query for ProductLang
2023-10-13	12:35:21	936	[DEBUG]	Executed store
2023-10-13	12:35:21	936	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Ratio Expender MSC 42 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-rouge-unitaire' WHERE `virtuemart_product_id` = '1860428'
2023-10-13	12:35:21	936	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38461_ratio_expender_msc_42_t_avec_pignon_16_t.jpg
2023-10-13	12:35:21	936	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:21	936	[DEBUG]	Process image file
2023-10-13	12:35:21	936	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:21	936	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:21	936	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38461_ratio_expender_msc_42_t_avec_pignon_16_t.jpg
2023-10-13	12:35:21	936	[DEBUG]	Full name target: bcprisme/38461_ratio_expender_msc_42_t_avec_pignon_16_t.jpg
2023-10-13	12:35:22	936	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:22	936	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38461_ratio_expender_msc_42_t_avec_pignon_16_t.jpg'
2023-10-13	12:35:22	936	[DEBUG]	Query for Media
2023-10-13	12:35:22	936	[DEBUG]	Executed store
2023-10-13	12:35:22	936	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38461_ratio_expender_msc_42_t_avec_pignon_16_t.jpg',`file_url_thumb`='bcprisme/38461_ratio_expender_msc_42_t_avec_pignon_16_t.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410260'
2023-10-13	12:35:22	936	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:22	936	[DEBUG]	Executed store
2023-10-13	12:35:22	936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860428','1410260','1')
2023-10-13	12:35:22	936	[DEBUG]	Store product image relation
2023-10-13	12:35:22	936	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:22	936	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860428 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:22	936	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:22	936	[DEBUG]	Executed store
2023-10-13	12:35:22	936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860428','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:22	936	[DEBUG]	Checking manufacturer
2023-10-13	12:35:22	936	[DEBUG]	Load a row
2023-10-13	12:35:22	936	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:22	936	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:22	936	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:22	936	[DEBUG]	Executed store
2023-10-13	12:35:22	936	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:22	936	[DEBUG]	Manufacturer exists
2023-10-13	12:35:22	936	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:22	936	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:22	936	[DEBUG]	Executed store
2023-10-13	12:35:22	936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860428','32')
2023-10-13	12:35:22	936	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:22	936	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:22	936	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860428 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:22	936	[DEBUG]	Store custom available field
2023-10-13	12:35:22	936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860428,3,'',1)
2023-10-13	12:35:22	936	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:22	936	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:22	936	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860428 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:22	936	[DEBUG]	Store custom available field
2023-10-13	12:35:22	936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860428,6,'Unitaire',3)
2023-10-13	12:35:22	936	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:22	936	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:22	936	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860427
2023-10-13	12:35:22	936	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:22	936	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860427\":[1860427,8,1,\"choisir la taille\"],\"1860428\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860427
2023-10-13	12:35:22	936	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:22	936	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860428
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:22	937	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field taille
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:22	937	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:22	937	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:22	937	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:22	937	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:22	937	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:22	937	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field published
2023-10-13	12:35:22	937	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:22	937	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field override
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:22	937	[DEBUG]	Use field value for field slug
2023-10-13	12:35:22	937	[DEBUG]	Process line 937
2023-10-13	12:35:22	937	[DEBUG]	Load a row
2023-10-13	12:35:22	937	[DEBUG]	Processing item: A_9366_40
2023-10-13	12:35:22	937	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:22	937	[DEBUG]	Processing product tax
2023-10-13	12:35:22	937	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:22	937	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:22	937	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:22	937	[DEBUG]	Query for Product
2023-10-13	12:35:22	937	[DEBUG]	Executed store
2023-10-13	12:35:22	937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9366_40','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:22	937	[DEBUG]	Check product language entry
2023-10-13	12:35:22	937	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860429
2023-10-13	12:35:22	937	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:22	937	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9366_40' AND `virtuemart_product_id` != 1860429
2023-10-13	12:35:22	937	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:22	937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860429, 'A_9366_40')
2023-10-13	12:35:22	937	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:22	937	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-vert' AND `virtuemart_product_id` != 1860429
2023-10-13	12:35:22	937	[DEBUG]	Query for ProductLang
2023-10-13	12:35:22	937	[DEBUG]	Executed store
2023-10-13	12:35:22	937	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSXX14216BK',`product_name`='MSC Ratio Expender MSC 42 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-vert' WHERE `virtuemart_product_id` = '1860429'
2023-10-13	12:35:22	937	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38462_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:22	937	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:35:22	937	[DEBUG]	Process image file
2023-10-13	12:35:22	937	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:35:22	937	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:22	937	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38462_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:22	937	[DEBUG]	Full name target: bcprisme/38462_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:23	937	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:23	937	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38462_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg'
2023-10-13	12:35:23	937	[DEBUG]	Query for Media
2023-10-13	12:35:23	937	[DEBUG]	Executed store
2023-10-13	12:35:23	937	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38462_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_url_thumb`='bcprisme/38462_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410262'
2023-10-13	12:35:23	937	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:23	937	[DEBUG]	Executed store
2023-10-13	12:35:23	937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860429','1410262','1')
2023-10-13	12:35:23	937	[DEBUG]	Store product image relation
2023-10-13	12:35:23	937	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:23	937	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860429 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:23	937	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:23	937	[DEBUG]	Executed store
2023-10-13	12:35:23	937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860429','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:23	937	[DEBUG]	Checking manufacturer
2023-10-13	12:35:23	937	[DEBUG]	Load a row
2023-10-13	12:35:23	937	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:23	937	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:23	937	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:23	937	[DEBUG]	Executed store
2023-10-13	12:35:23	937	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:23	937	[DEBUG]	Manufacturer exists
2023-10-13	12:35:23	937	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:23	937	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:23	937	[DEBUG]	Executed store
2023-10-13	12:35:23	937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860429','32')
2023-10-13	12:35:23	937	[DEBUG]	Find the custom field ID
2023-10-13	12:35:23	937	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:23	937	[DEBUG]	No custom field ID found
2023-10-13	12:35:23	937	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:23	937	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:35:23	937	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860429 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:23	937	[DEBUG]	Store custom available field
2023-10-13	12:35:23	937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860429,3,'109.594722222222',1)
2023-10-13	12:35:23	937	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:23	937	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:23	937	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860429 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:23	937	[DEBUG]	Store custom available field
2023-10-13	12:35:23	937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860429,6,'choisir la taille',3)
2023-10-13	12:35:23	937	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:23	937	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:23	937	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:23	937	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:23	937	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860429 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:23	937	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:23	937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860429,8,1)
2023-10-13	12:35:23	937	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:23	937	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860429\":[1860429,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860429
2023-10-13	12:35:23	937	[DEBUG]	Checking category
2023-10-13	12:35:23	937	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:23	937	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860429
2023-10-13	12:35:23	937	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:23	937	[DEBUG]	Executed store
2023-10-13	12:35:23	937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860429','7283')
2023-10-13	12:35:23	937	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:23	937	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860429 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:23	937	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:23	937	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860429
2023-10-13	12:35:23	938	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:23	938	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:23	938	[DEBUG]	Use field value for field taille
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:23	938	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:23	938	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:23	938	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:23	938	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:23	938	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:23	938	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:23	938	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:23	938	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:23	938	[DEBUG]	Use field value for field published
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:23	938	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field override
2023-10-13	12:35:23	938	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:23	938	[DEBUG]	Use field value for field slug
2023-10-13	12:35:23	938	[DEBUG]	Process line 938
2023-10-13	12:35:23	938	[DEBUG]	Load a row
2023-10-13	12:35:23	938	[DEBUG]	Processing item: 8436550196801
2023-10-13	12:35:23	938	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:23	938	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:23	938	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9366_40'
2023-10-13	12:35:23	938	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:23	938	[DEBUG]	Processing product tax
2023-10-13	12:35:23	938	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:23	938	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:23	938	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:23	938	[DEBUG]	Query for Product
2023-10-13	12:35:23	938	[DEBUG]	Executed store
2023-10-13	12:35:23	938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860429','8436550196801','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:23	938	[DEBUG]	No parent found
2023-10-13	12:35:23	938	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860429 AND customfield_value = 'stockable'
2023-10-13	12:35:23	938	[DEBUG]	Check product language entry
2023-10-13	12:35:23	938	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860430
2023-10-13	12:35:23	938	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:23	938	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550196801' AND `virtuemart_product_id` != 1860430
2023-10-13	12:35:23	938	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:23	938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860430, '8436550196801')
2023-10-13	12:35:23	938	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:23	938	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-vert-unitaire' AND `virtuemart_product_id` != 1860430
2023-10-13	12:35:23	938	[DEBUG]	Query for ProductLang
2023-10-13	12:35:23	938	[DEBUG]	Executed store
2023-10-13	12:35:23	938	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Ratio Expender MSC 42 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-vert-unitaire' WHERE `virtuemart_product_id` = '1860430'
2023-10-13	12:35:23	938	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38462_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:23	938	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:35:23	938	[DEBUG]	Process image file
2023-10-13	12:35:23	938	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:35:23	938	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:23	938	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38462_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:23	938	[DEBUG]	Full name target: bcprisme/38462_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:24	938	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:24	938	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38462_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg'
2023-10-13	12:35:24	938	[DEBUG]	Query for Media
2023-10-13	12:35:24	938	[DEBUG]	Executed store
2023-10-13	12:35:24	938	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38462_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_url_thumb`='bcprisme/38462_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410262'
2023-10-13	12:35:24	938	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:24	938	[DEBUG]	Executed store
2023-10-13	12:35:24	938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860430','1410262','1')
2023-10-13	12:35:24	938	[DEBUG]	Store product image relation
2023-10-13	12:35:24	938	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:24	938	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860430 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:24	938	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:24	938	[DEBUG]	Executed store
2023-10-13	12:35:24	938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860430','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:24	938	[DEBUG]	Checking manufacturer
2023-10-13	12:35:24	938	[DEBUG]	Load a row
2023-10-13	12:35:24	938	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:24	938	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:24	938	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:24	938	[DEBUG]	Executed store
2023-10-13	12:35:24	938	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:24	938	[DEBUG]	Manufacturer exists
2023-10-13	12:35:24	938	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:24	938	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:24	938	[DEBUG]	Executed store
2023-10-13	12:35:24	938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860430','32')
2023-10-13	12:35:24	938	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:24	938	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:24	938	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860430 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:24	938	[DEBUG]	Store custom available field
2023-10-13	12:35:24	938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860430,3,'',1)
2023-10-13	12:35:24	938	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:24	938	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:24	938	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860430 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:24	938	[DEBUG]	Store custom available field
2023-10-13	12:35:24	938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860430,6,'Unitaire',3)
2023-10-13	12:35:24	938	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:24	938	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:24	938	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860429
2023-10-13	12:35:24	938	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:24	938	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860429\":[1860429,8,1,\"choisir la taille\"],\"1860430\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860429
2023-10-13	12:35:24	938	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:24	938	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860430
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:24	939	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field taille
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:24	939	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:24	939	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:24	939	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:24	939	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:24	939	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:24	939	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field published
2023-10-13	12:35:24	939	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:24	939	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field override
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:24	939	[DEBUG]	Use field value for field slug
2023-10-13	12:35:24	939	[DEBUG]	Process line 939
2023-10-13	12:35:24	939	[DEBUG]	Load a row
2023-10-13	12:35:24	939	[DEBUG]	Processing item: A_9366_771
2023-10-13	12:35:24	939	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:24	939	[DEBUG]	Processing product tax
2023-10-13	12:35:24	939	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:24	939	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:24	939	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:24	939	[DEBUG]	Query for Product
2023-10-13	12:35:24	939	[DEBUG]	Executed store
2023-10-13	12:35:24	939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9366_771','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:24	939	[DEBUG]	Check product language entry
2023-10-13	12:35:24	939	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860431
2023-10-13	12:35:24	939	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:24	939	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9366_771' AND `virtuemart_product_id` != 1860431
2023-10-13	12:35:24	939	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:24	939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860431, 'A_9366_771')
2023-10-13	12:35:24	939	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:24	939	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-bleu' AND `virtuemart_product_id` != 1860431
2023-10-13	12:35:24	939	[DEBUG]	Query for ProductLang
2023-10-13	12:35:24	939	[DEBUG]	Executed store
2023-10-13	12:35:24	939	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSXX14216BK',`product_name`='MSC Ratio Expender MSC 42 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-bleu' WHERE `virtuemart_product_id` = '1860431'
2023-10-13	12:35:24	939	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38463_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:24	939	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:24	939	[DEBUG]	Process image file
2023-10-13	12:35:24	939	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:24	939	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:24	939	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38463_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:24	939	[DEBUG]	Full name target: bcprisme/38463_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:25	939	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:25	939	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38463_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg'
2023-10-13	12:35:25	939	[DEBUG]	Query for Media
2023-10-13	12:35:25	939	[DEBUG]	Executed store
2023-10-13	12:35:25	939	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38463_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_url_thumb`='bcprisme/38463_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410264'
2023-10-13	12:35:25	939	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:25	939	[DEBUG]	Executed store
2023-10-13	12:35:25	939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860431','1410264','1')
2023-10-13	12:35:25	939	[DEBUG]	Store product image relation
2023-10-13	12:35:25	939	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:25	939	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860431 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:25	939	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:25	939	[DEBUG]	Executed store
2023-10-13	12:35:25	939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860431','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:25	939	[DEBUG]	Checking manufacturer
2023-10-13	12:35:25	939	[DEBUG]	Load a row
2023-10-13	12:35:25	939	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:25	939	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:25	939	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:25	939	[DEBUG]	Executed store
2023-10-13	12:35:25	939	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:25	939	[DEBUG]	Manufacturer exists
2023-10-13	12:35:25	939	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:25	939	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:25	939	[DEBUG]	Executed store
2023-10-13	12:35:25	939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860431','32')
2023-10-13	12:35:25	939	[DEBUG]	Find the custom field ID
2023-10-13	12:35:25	939	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:25	939	[DEBUG]	No custom field ID found
2023-10-13	12:35:25	939	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:25	939	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:35:25	939	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860431 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:25	939	[DEBUG]	Store custom available field
2023-10-13	12:35:25	939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860431,3,'109.594722222222',1)
2023-10-13	12:35:25	939	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:25	939	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:25	939	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860431 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:25	939	[DEBUG]	Store custom available field
2023-10-13	12:35:25	939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860431,6,'choisir la taille',3)
2023-10-13	12:35:25	939	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:25	939	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:25	939	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:25	939	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:25	939	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860431 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:25	939	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:25	939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860431,8,1)
2023-10-13	12:35:25	939	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:25	939	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860431\":[1860431,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860431
2023-10-13	12:35:25	939	[DEBUG]	Checking category
2023-10-13	12:35:25	939	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:25	939	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860431
2023-10-13	12:35:25	939	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:25	939	[DEBUG]	Executed store
2023-10-13	12:35:25	939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860431','7283')
2023-10-13	12:35:25	939	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:25	939	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860431 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:25	939	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:25	939	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860431
2023-10-13	12:35:25	940	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:25	940	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:25	940	[DEBUG]	Use field value for field taille
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:25	940	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:25	940	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:25	940	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:25	940	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:25	940	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:25	940	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:25	940	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:25	940	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:25	940	[DEBUG]	Use field value for field published
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:25	940	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field override
2023-10-13	12:35:25	940	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:25	940	[DEBUG]	Use field value for field slug
2023-10-13	12:35:25	940	[DEBUG]	Process line 940
2023-10-13	12:35:25	940	[DEBUG]	Load a row
2023-10-13	12:35:25	940	[DEBUG]	Processing item: 1000000236118
2023-10-13	12:35:25	940	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:25	940	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:25	940	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9366_771'
2023-10-13	12:35:25	940	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:25	940	[DEBUG]	Processing product tax
2023-10-13	12:35:25	940	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:25	940	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:25	940	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:25	940	[DEBUG]	Query for Product
2023-10-13	12:35:25	940	[DEBUG]	Executed store
2023-10-13	12:35:25	940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860431','1000000236118','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:25	940	[DEBUG]	No parent found
2023-10-13	12:35:25	940	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860431 AND customfield_value = 'stockable'
2023-10-13	12:35:25	940	[DEBUG]	Check product language entry
2023-10-13	12:35:25	940	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860432
2023-10-13	12:35:25	940	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:25	940	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000236118' AND `virtuemart_product_id` != 1860432
2023-10-13	12:35:25	940	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:25	940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860432, '1000000236118')
2023-10-13	12:35:25	940	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:25	940	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-bleu-unitaire' AND `virtuemart_product_id` != 1860432
2023-10-13	12:35:25	940	[DEBUG]	Query for ProductLang
2023-10-13	12:35:25	940	[DEBUG]	Executed store
2023-10-13	12:35:25	940	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Ratio Expender MSC 42 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-42-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-bleu-unitaire' WHERE `virtuemart_product_id` = '1860432'
2023-10-13	12:35:25	940	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38463_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:25	940	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:25	940	[DEBUG]	Process image file
2023-10-13	12:35:25	940	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:25	940	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:25	940	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38463_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:25	940	[DEBUG]	Full name target: bcprisme/38463_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg
2023-10-13	12:35:26	940	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:26	940	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38463_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg'
2023-10-13	12:35:26	940	[DEBUG]	Query for Media
2023-10-13	12:35:26	940	[DEBUG]	Executed store
2023-10-13	12:35:26	940	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38463_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_url_thumb`='bcprisme/38463_ratio_expender_msc_42_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410264'
2023-10-13	12:35:26	940	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:26	940	[DEBUG]	Executed store
2023-10-13	12:35:26	940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860432','1410264','1')
2023-10-13	12:35:26	940	[DEBUG]	Store product image relation
2023-10-13	12:35:26	940	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:26	940	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860432 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:26	940	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:26	940	[DEBUG]	Executed store
2023-10-13	12:35:26	940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860432','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:26	940	[DEBUG]	Checking manufacturer
2023-10-13	12:35:26	940	[DEBUG]	Load a row
2023-10-13	12:35:26	940	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:26	940	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:26	940	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:26	940	[DEBUG]	Executed store
2023-10-13	12:35:26	940	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:26	940	[DEBUG]	Manufacturer exists
2023-10-13	12:35:26	940	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:26	940	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:26	940	[DEBUG]	Executed store
2023-10-13	12:35:26	940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860432','32')
2023-10-13	12:35:26	940	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:26	940	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:26	940	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860432 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:26	940	[DEBUG]	Store custom available field
2023-10-13	12:35:26	940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860432,3,'',1)
2023-10-13	12:35:26	940	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:26	940	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:26	940	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860432 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:26	940	[DEBUG]	Store custom available field
2023-10-13	12:35:26	940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860432,6,'Unitaire',3)
2023-10-13	12:35:26	940	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:26	940	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:26	940	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860431
2023-10-13	12:35:26	940	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:26	940	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860431\":[1860431,8,1,\"choisir la taille\"],\"1860432\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860431
2023-10-13	12:35:26	940	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:26	940	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860432
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:26	941	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field taille
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:26	941	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:26	941	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:26	941	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:26	941	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:26	941	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:26	941	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field published
2023-10-13	12:35:26	941	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:26	941	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field override
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:26	941	[DEBUG]	Use field value for field slug
2023-10-13	12:35:26	941	[DEBUG]	Process line 941
2023-10-13	12:35:26	941	[DEBUG]	Load a row
2023-10-13	12:35:26	941	[DEBUG]	Processing item: A_9367_1
2023-10-13	12:35:26	941	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:26	941	[DEBUG]	Processing product tax
2023-10-13	12:35:26	941	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:26	941	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:26	941	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:26	941	[DEBUG]	Query for Product
2023-10-13	12:35:26	941	[DEBUG]	Executed store
2023-10-13	12:35:26	941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9367_1','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:26	941	[DEBUG]	Check product language entry
2023-10-13	12:35:26	941	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860433
2023-10-13	12:35:26	941	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:26	941	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9367_1' AND `virtuemart_product_id` != 1860433
2023-10-13	12:35:26	941	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:26	941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860433, 'A_9367_1')
2023-10-13	12:35:26	941	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:26	941	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-46-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-noir' AND `virtuemart_product_id` != 1860433
2023-10-13	12:35:26	941	[DEBUG]	Query for ProductLang
2023-10-13	12:35:26	941	[DEBUG]	Executed store
2023-10-13	12:35:26	941	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSXX14616BK',`product_name`='MSC Ratio Expender MSC 46 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-46-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-noir' WHERE `virtuemart_product_id` = '1860433'
2023-10-13	12:35:26	941	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38466_ratio_expender_msc_46_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:26	941	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:26	941	[DEBUG]	Process image file
2023-10-13	12:35:26	941	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:26	941	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:26	941	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38466_ratio_expender_msc_46_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:26	941	[DEBUG]	Full name target: bcprisme/38466_ratio_expender_msc_46_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:27	941	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:27	941	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38466_ratio_expender_msc_46_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg'
2023-10-13	12:35:27	941	[DEBUG]	Query for Media
2023-10-13	12:35:27	941	[DEBUG]	Executed store
2023-10-13	12:35:27	941	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38466_ratio_expender_msc_46_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_url_thumb`='bcprisme/38466_ratio_expender_msc_46_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410266'
2023-10-13	12:35:27	941	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:27	941	[DEBUG]	Executed store
2023-10-13	12:35:27	941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860433','1410266','1')
2023-10-13	12:35:27	941	[DEBUG]	Store product image relation
2023-10-13	12:35:27	941	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:27	941	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860433 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:27	941	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:27	941	[DEBUG]	Executed store
2023-10-13	12:35:27	941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860433','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:27	941	[DEBUG]	Checking manufacturer
2023-10-13	12:35:27	941	[DEBUG]	Load a row
2023-10-13	12:35:27	941	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:27	941	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:27	941	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:27	941	[DEBUG]	Executed store
2023-10-13	12:35:27	941	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:27	941	[DEBUG]	Manufacturer exists
2023-10-13	12:35:27	941	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:27	941	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:27	941	[DEBUG]	Executed store
2023-10-13	12:35:27	941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860433','32')
2023-10-13	12:35:27	941	[DEBUG]	Find the custom field ID
2023-10-13	12:35:27	941	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:27	941	[DEBUG]	No custom field ID found
2023-10-13	12:35:27	941	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:27	941	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:35:27	941	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860433 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:27	941	[DEBUG]	Store custom available field
2023-10-13	12:35:27	941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860433,3,'109.594722222222',1)
2023-10-13	12:35:27	941	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:27	941	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:27	941	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860433 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:27	941	[DEBUG]	Store custom available field
2023-10-13	12:35:27	941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860433,6,'choisir la taille',3)
2023-10-13	12:35:27	941	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:27	941	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:27	941	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:27	941	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:27	941	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860433 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:27	941	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:27	941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860433,8,1)
2023-10-13	12:35:27	941	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:27	941	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860433\":[1860433,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860433
2023-10-13	12:35:27	941	[DEBUG]	Checking category
2023-10-13	12:35:27	941	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:27	941	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860433
2023-10-13	12:35:27	941	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:27	941	[DEBUG]	Executed store
2023-10-13	12:35:27	941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860433','7283')
2023-10-13	12:35:27	941	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:27	941	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860433 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:27	941	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:27	941	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860433
2023-10-13	12:35:27	942	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:27	942	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:27	942	[DEBUG]	Use field value for field taille
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:27	942	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:27	942	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:27	942	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:27	942	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:27	942	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:27	942	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:27	942	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:27	942	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:27	942	[DEBUG]	Use field value for field published
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:27	942	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field override
2023-10-13	12:35:27	942	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:27	942	[DEBUG]	Use field value for field slug
2023-10-13	12:35:27	942	[DEBUG]	Process line 942
2023-10-13	12:35:27	942	[DEBUG]	Load a row
2023-10-13	12:35:27	942	[DEBUG]	Processing item: 1000000236149
2023-10-13	12:35:27	942	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:27	942	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:27	942	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9367_1'
2023-10-13	12:35:27	942	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:27	942	[DEBUG]	Processing product tax
2023-10-13	12:35:27	942	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:27	942	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:27	942	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:27	942	[DEBUG]	Query for Product
2023-10-13	12:35:27	942	[DEBUG]	Executed store
2023-10-13	12:35:27	942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860433','1000000236149','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:27	942	[DEBUG]	No parent found
2023-10-13	12:35:27	942	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860433 AND customfield_value = 'stockable'
2023-10-13	12:35:27	942	[DEBUG]	Check product language entry
2023-10-13	12:35:27	942	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860434
2023-10-13	12:35:27	942	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:27	942	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000236149' AND `virtuemart_product_id` != 1860434
2023-10-13	12:35:27	942	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:27	942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860434, '1000000236149')
2023-10-13	12:35:27	942	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:27	942	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-46-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-noir-unitaire' AND `virtuemart_product_id` != 1860434
2023-10-13	12:35:27	942	[DEBUG]	Query for ProductLang
2023-10-13	12:35:27	942	[DEBUG]	Executed store
2023-10-13	12:35:27	942	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Ratio Expender MSC 46 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-46-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-noir-unitaire' WHERE `virtuemart_product_id` = '1860434'
2023-10-13	12:35:27	942	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38466_ratio_expender_msc_46_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:27	942	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:27	942	[DEBUG]	Process image file
2023-10-13	12:35:27	942	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:27	942	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:27	942	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38466_ratio_expender_msc_46_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:27	942	[DEBUG]	Full name target: bcprisme/38466_ratio_expender_msc_46_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:28	942	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:28	942	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38466_ratio_expender_msc_46_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg'
2023-10-13	12:35:28	942	[DEBUG]	Query for Media
2023-10-13	12:35:28	942	[DEBUG]	Executed store
2023-10-13	12:35:28	942	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38466_ratio_expender_msc_46_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_url_thumb`='bcprisme/38466_ratio_expender_msc_46_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410266'
2023-10-13	12:35:28	942	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:28	942	[DEBUG]	Executed store
2023-10-13	12:35:28	942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860434','1410266','1')
2023-10-13	12:35:28	942	[DEBUG]	Store product image relation
2023-10-13	12:35:28	942	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:28	942	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860434 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:28	942	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:28	942	[DEBUG]	Executed store
2023-10-13	12:35:28	942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860434','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:28	942	[DEBUG]	Checking manufacturer
2023-10-13	12:35:28	942	[DEBUG]	Load a row
2023-10-13	12:35:28	942	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:28	942	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:28	942	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:28	942	[DEBUG]	Executed store
2023-10-13	12:35:28	942	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:28	942	[DEBUG]	Manufacturer exists
2023-10-13	12:35:28	942	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:28	942	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:28	942	[DEBUG]	Executed store
2023-10-13	12:35:28	942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860434','32')
2023-10-13	12:35:28	942	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:28	942	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:28	942	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860434 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:28	942	[DEBUG]	Store custom available field
2023-10-13	12:35:28	942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860434,3,'',1)
2023-10-13	12:35:28	942	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:28	942	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:28	942	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860434 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:28	942	[DEBUG]	Store custom available field
2023-10-13	12:35:28	942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860434,6,'Unitaire',3)
2023-10-13	12:35:28	942	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:28	942	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:28	942	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860433
2023-10-13	12:35:28	942	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:28	942	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860433\":[1860433,8,1,\"choisir la taille\"],\"1860434\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860433
2023-10-13	12:35:28	942	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:28	942	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860434
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:28	943	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field taille
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:28	943	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:28	943	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:28	943	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:28	943	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:28	943	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:28	943	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field published
2023-10-13	12:35:28	943	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:28	943	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field override
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:28	943	[DEBUG]	Use field value for field slug
2023-10-13	12:35:28	943	[DEBUG]	Process line 943
2023-10-13	12:35:28	943	[DEBUG]	Load a row
2023-10-13	12:35:28	943	[DEBUG]	Processing item: A_9368_1
2023-10-13	12:35:28	943	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:28	943	[DEBUG]	Processing product tax
2023-10-13	12:35:28	943	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:28	943	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:28	943	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:28	943	[DEBUG]	Query for Product
2023-10-13	12:35:28	943	[DEBUG]	Executed store
2023-10-13	12:35:28	943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9368_1','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:28	943	[DEBUG]	Check product language entry
2023-10-13	12:35:28	943	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860435
2023-10-13	12:35:28	943	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:28	943	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9368_1' AND `virtuemart_product_id` != 1860435
2023-10-13	12:35:28	943	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:28	943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860435, 'A_9368_1')
2023-10-13	12:35:28	943	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:28	943	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-40-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-noir' AND `virtuemart_product_id` != 1860435
2023-10-13	12:35:28	943	[DEBUG]	Query for ProductLang
2023-10-13	12:35:28	943	[DEBUG]	Executed store
2023-10-13	12:35:28	943	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSXX14016BK',`product_name`='MSC Ratio Expender MSC 40 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-40-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-noir' WHERE `virtuemart_product_id` = '1860435'
2023-10-13	12:35:28	943	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38467_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:28	943	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:28	943	[DEBUG]	Process image file
2023-10-13	12:35:28	943	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:28	943	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:28	943	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38467_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:28	943	[DEBUG]	Full name target: bcprisme/38467_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:29	943	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:29	943	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38467_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg'
2023-10-13	12:35:29	943	[DEBUG]	Query for Media
2023-10-13	12:35:29	943	[DEBUG]	Executed store
2023-10-13	12:35:29	943	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38467_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_url_thumb`='bcprisme/38467_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410268'
2023-10-13	12:35:29	943	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:29	943	[DEBUG]	Executed store
2023-10-13	12:35:29	943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860435','1410268','1')
2023-10-13	12:35:29	943	[DEBUG]	Store product image relation
2023-10-13	12:35:29	943	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:29	943	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860435 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:29	943	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:29	943	[DEBUG]	Executed store
2023-10-13	12:35:29	943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860435','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:29	943	[DEBUG]	Checking manufacturer
2023-10-13	12:35:29	943	[DEBUG]	Load a row
2023-10-13	12:35:29	943	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:29	943	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:29	943	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:29	943	[DEBUG]	Executed store
2023-10-13	12:35:29	943	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:29	943	[DEBUG]	Manufacturer exists
2023-10-13	12:35:29	943	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:29	943	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:29	943	[DEBUG]	Executed store
2023-10-13	12:35:29	943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860435','32')
2023-10-13	12:35:29	943	[DEBUG]	Find the custom field ID
2023-10-13	12:35:29	943	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:29	943	[DEBUG]	No custom field ID found
2023-10-13	12:35:29	943	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:29	943	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:35:29	943	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860435 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:29	943	[DEBUG]	Store custom available field
2023-10-13	12:35:29	943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860435,3,'109.594722222222',1)
2023-10-13	12:35:29	943	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:29	943	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:29	943	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860435 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:29	943	[DEBUG]	Store custom available field
2023-10-13	12:35:29	943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860435,6,'choisir la taille',3)
2023-10-13	12:35:29	943	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:29	943	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:29	943	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:29	943	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:29	943	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860435 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:29	943	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:29	943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860435,8,1)
2023-10-13	12:35:29	943	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:29	943	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860435\":[1860435,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860435
2023-10-13	12:35:29	943	[DEBUG]	Checking category
2023-10-13	12:35:29	943	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:29	943	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860435
2023-10-13	12:35:29	943	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:29	943	[DEBUG]	Executed store
2023-10-13	12:35:29	943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860435','7283')
2023-10-13	12:35:29	943	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:29	943	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860435 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:29	943	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:29	943	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860435
2023-10-13	12:35:29	944	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:29	944	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:29	944	[DEBUG]	Use field value for field taille
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:29	944	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:29	944	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:29	944	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:29	944	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:29	944	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:29	944	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:29	944	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:29	944	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:29	944	[DEBUG]	Use field value for field published
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:29	944	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field override
2023-10-13	12:35:29	944	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:29	944	[DEBUG]	Use field value for field slug
2023-10-13	12:35:29	944	[DEBUG]	Process line 944
2023-10-13	12:35:29	944	[DEBUG]	Load a row
2023-10-13	12:35:29	944	[DEBUG]	Processing item: 8436550195989
2023-10-13	12:35:29	944	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:29	944	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:29	944	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9368_1'
2023-10-13	12:35:29	944	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:29	944	[DEBUG]	Processing product tax
2023-10-13	12:35:29	944	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:29	944	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:29	944	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:29	944	[DEBUG]	Query for Product
2023-10-13	12:35:29	944	[DEBUG]	Executed store
2023-10-13	12:35:29	944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860435','8436550195989','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:29	944	[DEBUG]	No parent found
2023-10-13	12:35:29	944	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860435 AND customfield_value = 'stockable'
2023-10-13	12:35:29	944	[DEBUG]	Check product language entry
2023-10-13	12:35:29	944	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860436
2023-10-13	12:35:29	944	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:29	944	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550195989' AND `virtuemart_product_id` != 1860436
2023-10-13	12:35:29	944	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:29	944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860436, '8436550195989')
2023-10-13	12:35:29	944	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:29	944	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-40-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-noir-unitaire' AND `virtuemart_product_id` != 1860436
2023-10-13	12:35:29	944	[DEBUG]	Query for ProductLang
2023-10-13	12:35:29	944	[DEBUG]	Executed store
2023-10-13	12:35:29	944	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Ratio Expender MSC 40 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-40-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-noir-unitaire' WHERE `virtuemart_product_id` = '1860436'
2023-10-13	12:35:29	944	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38467_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:29	944	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:29	944	[DEBUG]	Process image file
2023-10-13	12:35:29	944	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:35:29	944	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:29	944	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38467_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:29	944	[DEBUG]	Full name target: bcprisme/38467_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:30	944	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:30	944	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38467_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg'
2023-10-13	12:35:30	944	[DEBUG]	Query for Media
2023-10-13	12:35:30	944	[DEBUG]	Executed store
2023-10-13	12:35:30	944	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38467_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_url_thumb`='bcprisme/38467_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410268'
2023-10-13	12:35:30	944	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:30	944	[DEBUG]	Executed store
2023-10-13	12:35:30	944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860436','1410268','1')
2023-10-13	12:35:30	944	[DEBUG]	Store product image relation
2023-10-13	12:35:30	944	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:30	944	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860436 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:30	944	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:30	944	[DEBUG]	Executed store
2023-10-13	12:35:30	944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860436','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:30	944	[DEBUG]	Checking manufacturer
2023-10-13	12:35:30	944	[DEBUG]	Load a row
2023-10-13	12:35:30	944	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:30	944	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:30	944	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:30	944	[DEBUG]	Executed store
2023-10-13	12:35:30	944	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:30	944	[DEBUG]	Manufacturer exists
2023-10-13	12:35:30	944	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:30	944	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:30	944	[DEBUG]	Executed store
2023-10-13	12:35:30	944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860436','32')
2023-10-13	12:35:30	944	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:30	944	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:30	944	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860436 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:30	944	[DEBUG]	Store custom available field
2023-10-13	12:35:30	944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860436,3,'',1)
2023-10-13	12:35:30	944	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:30	944	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:30	944	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860436 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:30	944	[DEBUG]	Store custom available field
2023-10-13	12:35:30	944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860436,6,'Unitaire',3)
2023-10-13	12:35:30	944	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:30	944	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:30	944	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860435
2023-10-13	12:35:30	944	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:30	944	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860435\":[1860435,8,1,\"choisir la taille\"],\"1860436\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860435
2023-10-13	12:35:30	944	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:30	944	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860436
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:30	945	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field taille
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:30	945	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:30	945	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:30	945	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:30	945	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:30	945	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:30	945	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field published
2023-10-13	12:35:30	945	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:30	945	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field override
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:30	945	[DEBUG]	Use field value for field slug
2023-10-13	12:35:30	945	[DEBUG]	Process line 945
2023-10-13	12:35:30	945	[DEBUG]	Load a row
2023-10-13	12:35:30	945	[DEBUG]	Processing item: A_9368_5
2023-10-13	12:35:30	945	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:30	945	[DEBUG]	Processing product tax
2023-10-13	12:35:30	945	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:30	945	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:30	945	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:30	945	[DEBUG]	Query for Product
2023-10-13	12:35:30	945	[DEBUG]	Executed store
2023-10-13	12:35:30	945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9368_5','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:30	945	[DEBUG]	Check product language entry
2023-10-13	12:35:30	945	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860437
2023-10-13	12:35:30	945	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:30	945	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9368_5' AND `virtuemart_product_id` != 1860437
2023-10-13	12:35:30	945	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:30	945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860437, 'A_9368_5')
2023-10-13	12:35:30	945	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:30	945	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-40-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-or' AND `virtuemart_product_id` != 1860437
2023-10-13	12:35:30	945	[DEBUG]	Query for ProductLang
2023-10-13	12:35:30	945	[DEBUG]	Executed store
2023-10-13	12:35:30	945	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSXX14016BK',`product_name`='MSC Ratio Expender MSC 40 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano  / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-40-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-or' WHERE `virtuemart_product_id` = '1860437'
2023-10-13	12:35:30	945	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38468_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:30	945	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:35:30	945	[DEBUG]	Process image file
2023-10-13	12:35:30	945	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:35:30	945	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:30	945	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38468_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:30	945	[DEBUG]	Full name target: bcprisme/38468_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:31	945	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:31	945	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38468_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg'
2023-10-13	12:35:31	945	[DEBUG]	Query for Media
2023-10-13	12:35:31	945	[DEBUG]	Executed store
2023-10-13	12:35:31	945	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38468_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_url_thumb`='bcprisme/38468_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410270'
2023-10-13	12:35:31	945	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:31	945	[DEBUG]	Executed store
2023-10-13	12:35:31	945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860437','1410270','1')
2023-10-13	12:35:31	945	[DEBUG]	Store product image relation
2023-10-13	12:35:31	945	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:31	945	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860437 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:31	945	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:31	945	[DEBUG]	Executed store
2023-10-13	12:35:31	945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860437','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:31	945	[DEBUG]	Checking manufacturer
2023-10-13	12:35:31	945	[DEBUG]	Load a row
2023-10-13	12:35:31	945	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:31	945	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:31	945	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:31	945	[DEBUG]	Executed store
2023-10-13	12:35:31	945	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:31	945	[DEBUG]	Manufacturer exists
2023-10-13	12:35:31	945	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:31	945	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:31	945	[DEBUG]	Executed store
2023-10-13	12:35:31	945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860437','32')
2023-10-13	12:35:31	945	[DEBUG]	Find the custom field ID
2023-10-13	12:35:31	945	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:31	945	[DEBUG]	No custom field ID found
2023-10-13	12:35:31	945	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:31	945	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:35:31	945	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860437 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:31	945	[DEBUG]	Store custom available field
2023-10-13	12:35:31	945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860437,3,'109.594722222222',1)
2023-10-13	12:35:31	945	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:31	945	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:31	945	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860437 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:31	945	[DEBUG]	Store custom available field
2023-10-13	12:35:31	945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860437,6,'choisir la taille',3)
2023-10-13	12:35:31	945	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:31	945	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:31	945	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:31	945	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:31	945	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860437 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:31	945	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:31	945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860437,8,1)
2023-10-13	12:35:31	945	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:31	945	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860437\":[1860437,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860437
2023-10-13	12:35:31	945	[DEBUG]	Checking category
2023-10-13	12:35:31	945	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:31	945	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860437
2023-10-13	12:35:31	945	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:31	945	[DEBUG]	Executed store
2023-10-13	12:35:31	945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860437','7283')
2023-10-13	12:35:31	945	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:31	945	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860437 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:31	945	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:31	945	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860437
2023-10-13	12:35:31	946	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:31	946	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:31	946	[DEBUG]	Use field value for field taille
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:31	946	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:31	946	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:31	946	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:31	946	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:31	946	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:31	946	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:31	946	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:31	946	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:31	946	[DEBUG]	Use field value for field published
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:31	946	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field override
2023-10-13	12:35:31	946	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:31	946	[DEBUG]	Use field value for field slug
2023-10-13	12:35:32	946	[DEBUG]	Process line 946
2023-10-13	12:35:32	946	[DEBUG]	Load a row
2023-10-13	12:35:32	946	[DEBUG]	Processing item: 8436550196023
2023-10-13	12:35:32	946	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:32	946	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:32	946	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9368_5'
2023-10-13	12:35:32	946	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:32	946	[DEBUG]	Processing product tax
2023-10-13	12:35:32	946	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:32	946	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:32	946	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:32	946	[DEBUG]	Query for Product
2023-10-13	12:35:32	946	[DEBUG]	Executed store
2023-10-13	12:35:32	946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860437','8436550196023','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:32	946	[DEBUG]	No parent found
2023-10-13	12:35:32	946	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860437 AND customfield_value = 'stockable'
2023-10-13	12:35:32	946	[DEBUG]	Check product language entry
2023-10-13	12:35:32	946	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860438
2023-10-13	12:35:32	946	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:32	946	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550196023' AND `virtuemart_product_id` != 1860438
2023-10-13	12:35:32	946	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:32	946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860438, '8436550196023')
2023-10-13	12:35:32	946	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:32	946	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-40-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-or-unitaire' AND `virtuemart_product_id` != 1860438
2023-10-13	12:35:32	946	[DEBUG]	Query for ProductLang
2023-10-13	12:35:32	946	[DEBUG]	Executed store
2023-10-13	12:35:32	946	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Ratio Expender MSC 40 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano  / Or (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-40-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-or-unitaire' WHERE `virtuemart_product_id` = '1860438'
2023-10-13	12:35:32	946	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38468_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:32	946	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:35:32	946	[DEBUG]	Process image file
2023-10-13	12:35:32	946	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:35:32	946	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:32	946	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38468_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:32	946	[DEBUG]	Full name target: bcprisme/38468_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:33	946	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:33	946	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38468_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg'
2023-10-13	12:35:33	946	[DEBUG]	Query for Media
2023-10-13	12:35:33	946	[DEBUG]	Executed store
2023-10-13	12:35:33	946	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38468_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_url_thumb`='bcprisme/38468_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410270'
2023-10-13	12:35:33	946	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:33	946	[DEBUG]	Executed store
2023-10-13	12:35:33	946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860438','1410270','1')
2023-10-13	12:35:33	946	[DEBUG]	Store product image relation
2023-10-13	12:35:33	946	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:33	946	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860438 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:33	946	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:33	946	[DEBUG]	Executed store
2023-10-13	12:35:33	946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860438','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:33	946	[DEBUG]	Checking manufacturer
2023-10-13	12:35:33	946	[DEBUG]	Load a row
2023-10-13	12:35:33	946	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:33	946	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:33	946	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:33	946	[DEBUG]	Executed store
2023-10-13	12:35:33	946	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:33	946	[DEBUG]	Manufacturer exists
2023-10-13	12:35:33	946	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:33	946	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:33	946	[DEBUG]	Executed store
2023-10-13	12:35:33	946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860438','32')
2023-10-13	12:35:33	946	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:33	946	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:33	946	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860438 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:33	946	[DEBUG]	Store custom available field
2023-10-13	12:35:33	946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860438,3,'',1)
2023-10-13	12:35:33	946	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:33	946	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:33	946	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860438 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:33	946	[DEBUG]	Store custom available field
2023-10-13	12:35:33	946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860438,6,'Unitaire',3)
2023-10-13	12:35:33	946	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:33	946	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:33	946	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860437
2023-10-13	12:35:33	946	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:33	946	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860437\":[1860437,8,1,\"choisir la taille\"],\"1860438\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860437
2023-10-13	12:35:33	946	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:33	946	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860438
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:33	947	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field taille
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:33	947	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:33	947	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:33	947	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:33	947	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:33	947	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:33	947	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field published
2023-10-13	12:35:33	947	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:33	947	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field override
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:33	947	[DEBUG]	Use field value for field slug
2023-10-13	12:35:33	947	[DEBUG]	Process line 947
2023-10-13	12:35:33	947	[DEBUG]	Load a row
2023-10-13	12:35:33	947	[DEBUG]	Processing item: A_9368_40
2023-10-13	12:35:33	947	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:33	947	[DEBUG]	Processing product tax
2023-10-13	12:35:33	947	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:33	947	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:33	947	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:33	947	[DEBUG]	Query for Product
2023-10-13	12:35:33	947	[DEBUG]	Executed store
2023-10-13	12:35:33	947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9368_40','0.404','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:33	947	[DEBUG]	Check product language entry
2023-10-13	12:35:33	947	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860439
2023-10-13	12:35:33	947	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:33	947	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9368_40' AND `virtuemart_product_id` != 1860439
2023-10-13	12:35:33	947	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:33	947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860439, 'A_9368_40')
2023-10-13	12:35:33	947	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:33	947	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-40-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-vert' AND `virtuemart_product_id` != 1860439
2023-10-13	12:35:33	947	[DEBUG]	Query for ProductLang
2023-10-13	12:35:33	947	[DEBUG]	Executed store
2023-10-13	12:35:33	947	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CSXX14016BK',`product_name`='MSC Ratio Expender MSC 40 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano  / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-40-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-vert' WHERE `virtuemart_product_id` = '1860439'
2023-10-13	12:35:33	947	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38469_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:33	947	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:35:33	947	[DEBUG]	Process image file
2023-10-13	12:35:33	947	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:35:33	947	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:33	947	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38469_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:33	947	[DEBUG]	Full name target: bcprisme/38469_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:34	947	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:34	947	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38469_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg'
2023-10-13	12:35:34	947	[DEBUG]	Query for Media
2023-10-13	12:35:34	947	[DEBUG]	Executed store
2023-10-13	12:35:34	947	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38469_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_url_thumb`='bcprisme/38469_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410272'
2023-10-13	12:35:34	947	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:34	947	[DEBUG]	Executed store
2023-10-13	12:35:34	947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860439','1410272','1')
2023-10-13	12:35:34	947	[DEBUG]	Store product image relation
2023-10-13	12:35:34	947	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:34	947	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860439 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:34	947	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:34	947	[DEBUG]	Executed store
2023-10-13	12:35:34	947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860439','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:34	947	[DEBUG]	Checking manufacturer
2023-10-13	12:35:34	947	[DEBUG]	Load a row
2023-10-13	12:35:34	947	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:34	947	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:34	947	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:34	947	[DEBUG]	Executed store
2023-10-13	12:35:34	947	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:34	947	[DEBUG]	Manufacturer exists
2023-10-13	12:35:34	947	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:34	947	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:34	947	[DEBUG]	Executed store
2023-10-13	12:35:34	947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860439','32')
2023-10-13	12:35:34	947	[DEBUG]	Find the custom field ID
2023-10-13	12:35:34	947	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:34	947	[DEBUG]	No custom field ID found
2023-10-13	12:35:34	947	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:34	947	[DEBUG]	Get existing row with customfield value 109.594722222222
2023-10-13	12:35:34	947	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860439 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:34	947	[DEBUG]	Store custom available field
2023-10-13	12:35:34	947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860439,3,'109.594722222222',1)
2023-10-13	12:35:34	947	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:34	947	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:34	947	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860439 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:34	947	[DEBUG]	Store custom available field
2023-10-13	12:35:34	947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860439,6,'choisir la taille',3)
2023-10-13	12:35:34	947	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:34	947	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:34	947	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:34	947	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:34	947	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860439 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:34	947	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:34	947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860439,8,1)
2023-10-13	12:35:34	947	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:34	947	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860439\":[1860439,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860439
2023-10-13	12:35:34	947	[DEBUG]	Checking category
2023-10-13	12:35:34	947	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:34	947	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860439
2023-10-13	12:35:34	947	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:34	947	[DEBUG]	Executed store
2023-10-13	12:35:34	947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860439','7283')
2023-10-13	12:35:34	947	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:34	947	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860439 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:34	947	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:34	947	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860439
2023-10-13	12:35:34	948	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:34	948	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:34	948	[DEBUG]	Use field value for field taille
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:34	948	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:34	948	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:34	948	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:34	948	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:34	948	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:34	948	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:34	948	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:34	948	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:34	948	[DEBUG]	Use field value for field published
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:34	948	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field override
2023-10-13	12:35:34	948	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:34	948	[DEBUG]	Use field value for field slug
2023-10-13	12:35:34	948	[DEBUG]	Process line 948
2023-10-13	12:35:34	948	[DEBUG]	Load a row
2023-10-13	12:35:34	948	[DEBUG]	Processing item: 1000000236170
2023-10-13	12:35:34	948	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:34	948	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:34	948	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9368_40'
2023-10-13	12:35:34	948	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:34	948	[DEBUG]	Processing product tax
2023-10-13	12:35:34	948	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:34	948	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:34	948	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:34	948	[DEBUG]	Query for Product
2023-10-13	12:35:34	948	[DEBUG]	Executed store
2023-10-13	12:35:34	948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860439','1000000236170','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:34	948	[DEBUG]	No parent found
2023-10-13	12:35:34	948	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860439 AND customfield_value = 'stockable'
2023-10-13	12:35:34	948	[DEBUG]	Check product language entry
2023-10-13	12:35:34	948	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860440
2023-10-13	12:35:34	948	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:34	948	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000236170' AND `virtuemart_product_id` != 1860440
2023-10-13	12:35:34	948	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:34	948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860440, '1000000236170')
2023-10-13	12:35:34	948	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:34	948	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-ratio-expender-msc-40-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-vert-unitaire' AND `virtuemart_product_id` != 1860440
2023-10-13	12:35:34	948	[DEBUG]	Query for ProductLang
2023-10-13	12:35:34	948	[DEBUG]	Executed store
2023-10-13	12:35:34	948	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Ratio Expender MSC 40 T avec pignon 16 T, pour transmission 10 viteses 1x10 / 2x10 Sram et Shimano  / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-ratio-expender-msc-40-t-avec-pignon-16-t-pour-transmission-10-viteses-1x10-2x10-sram-et-shimano-vert-unitaire' WHERE `virtuemart_product_id` = '1860440'
2023-10-13	12:35:34	948	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38469_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:34	948	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:35:34	948	[DEBUG]	Process image file
2023-10-13	12:35:34	948	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:35:34	948	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:34	948	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38469_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:34	948	[DEBUG]	Full name target: bcprisme/38469_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg
2023-10-13	12:35:35	948	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:35	948	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38469_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg'
2023-10-13	12:35:35	948	[DEBUG]	Query for Media
2023-10-13	12:35:35	948	[DEBUG]	Executed store
2023-10-13	12:35:35	948	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38469_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_url_thumb`='bcprisme/38469_ratio_expender_msc_40_t_avec_pignon_16_t,_pour_transmission_10_viteses_1x10_-_2x10_sram_et_shimano_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410272'
2023-10-13	12:35:35	948	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:35	948	[DEBUG]	Executed store
2023-10-13	12:35:35	948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860440','1410272','1')
2023-10-13	12:35:35	948	[DEBUG]	Store product image relation
2023-10-13	12:35:35	948	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:35	948	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860440 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:35	948	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:35	948	[DEBUG]	Executed store
2023-10-13	12:35:35	948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860440','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:35	948	[DEBUG]	Checking manufacturer
2023-10-13	12:35:35	948	[DEBUG]	Load a row
2023-10-13	12:35:35	948	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:35	948	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:35	948	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:35	948	[DEBUG]	Executed store
2023-10-13	12:35:35	948	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:35:35	948	[DEBUG]	Manufacturer exists
2023-10-13	12:35:35	948	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:35:35	948	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:35	948	[DEBUG]	Executed store
2023-10-13	12:35:35	948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860440','32')
2023-10-13	12:35:35	948	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:35	948	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:35	948	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860440 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:35	948	[DEBUG]	Store custom available field
2023-10-13	12:35:35	948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860440,3,'',1)
2023-10-13	12:35:35	948	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:35	948	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:35	948	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860440 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:35	948	[DEBUG]	Store custom available field
2023-10-13	12:35:35	948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860440,6,'Unitaire',3)
2023-10-13	12:35:35	948	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:35	948	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:35	948	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860439
2023-10-13	12:35:35	948	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:35	948	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860439\":[1860439,8,1,\"choisir la taille\"],\"1860440\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860439
2023-10-13	12:35:35	948	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:35	948	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860440
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:35	949	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field taille
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:35	949	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:35	949	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:35	949	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:35	949	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:35	949	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:35	949	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field published
2023-10-13	12:35:35	949	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:35	949	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field override
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:35	949	[DEBUG]	Use field value for field slug
2023-10-13	12:35:35	949	[DEBUG]	Process line 949
2023-10-13	12:35:35	949	[DEBUG]	Load a row
2023-10-13	12:35:35	949	[DEBUG]	Processing item: A_9393_38
2023-10-13	12:35:35	949	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:35	949	[DEBUG]	Processing product tax
2023-10-13	12:35:35	949	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:35	949	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:35	949	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:35	949	[DEBUG]	Query for Product
2023-10-13	12:35:35	949	[DEBUG]	Executed store
2023-10-13	12:35:35	949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9393_38','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:35	949	[DEBUG]	Check product language entry
2023-10-13	12:35:35	949	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860441
2023-10-13	12:35:35	949	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:35	949	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9393_38' AND `virtuemart_product_id` != 1860441
2023-10-13	12:35:35	949	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:35	949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860441, 'A_9393_38')
2023-10-13	12:35:35	949	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:35	949	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1270-force-etap-axs-12sp-silver' AND `virtuemart_product_id` != 1860441
2023-10-13	12:35:35	949	[DEBUG]	Query for ProductLang
2023-10-13	12:35:35	949	[DEBUG]	Executed store
2023-10-13	12:35:35	949	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7565O',`product_name`='SRAM Cassette XG-1270 Force eTap AXS 12SP / Silver',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1270-force-etap-axs-12sp-silver' WHERE `virtuemart_product_id` = '1860441'
2023-10-13	12:35:35	949	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:35	949	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:35	949	[DEBUG]	Process image file
2023-10-13	12:35:35	949	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:35	949	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:35	949	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:35	949	[DEBUG]	Full name target: bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:36	949	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:36	949	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg'
2023-10-13	12:35:36	949	[DEBUG]	Query for Media
2023-10-13	12:35:36	949	[DEBUG]	Executed store
2023-10-13	12:35:36	949	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_url_thumb`='bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410274'
2023-10-13	12:35:36	949	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:36	949	[DEBUG]	Executed store
2023-10-13	12:35:36	949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860441','1410274','1')
2023-10-13	12:35:36	949	[DEBUG]	Store product image relation
2023-10-13	12:35:36	949	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:36	949	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860441 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:36	949	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:36	949	[DEBUG]	Executed store
2023-10-13	12:35:36	949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860441','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:36	949	[DEBUG]	Checking manufacturer
2023-10-13	12:35:36	949	[DEBUG]	Load a row
2023-10-13	12:35:36	949	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:36	949	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:36	949	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:36	949	[DEBUG]	Executed store
2023-10-13	12:35:36	949	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:36	949	[DEBUG]	Manufacturer exists
2023-10-13	12:35:36	949	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:36	949	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:36	949	[DEBUG]	Executed store
2023-10-13	12:35:36	949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860441','35')
2023-10-13	12:35:36	949	[DEBUG]	Find the custom field ID
2023-10-13	12:35:36	949	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:36	949	[DEBUG]	No custom field ID found
2023-10-13	12:35:36	949	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:36	949	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:36	949	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860441 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:36	949	[DEBUG]	Store custom available field
2023-10-13	12:35:36	949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860441,3,'0',1)
2023-10-13	12:35:36	949	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:36	949	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:36	949	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860441 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:36	949	[DEBUG]	Store custom available field
2023-10-13	12:35:36	949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860441,6,'choisir la taille',3)
2023-10-13	12:35:36	949	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:36	949	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:36	949	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:36	949	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:36	949	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860441 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:36	949	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:36	949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860441,8,1)
2023-10-13	12:35:36	949	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:36	949	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860441\":[1860441,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860441
2023-10-13	12:35:36	949	[DEBUG]	Checking category
2023-10-13	12:35:36	949	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:36	949	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860441
2023-10-13	12:35:36	949	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:36	949	[DEBUG]	Executed store
2023-10-13	12:35:36	949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860441','7283')
2023-10-13	12:35:36	949	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:36	949	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860441 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:36	949	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:36	949	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860441
2023-10-13	12:35:36	950	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:36	950	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:36	950	[DEBUG]	Use field value for field taille
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:36	950	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:36	950	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:36	950	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:36	950	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:36	950	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:36	950	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:36	950	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:36	950	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:36	950	[DEBUG]	Use field value for field published
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:36	950	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field override
2023-10-13	12:35:36	950	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:36	950	[DEBUG]	Use field value for field slug
2023-10-13	12:35:36	950	[DEBUG]	Process line 950
2023-10-13	12:35:36	950	[DEBUG]	Load a row
2023-10-13	12:35:36	950	[DEBUG]	Processing item: 48T26781353
2023-10-13	12:35:36	950	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:36	950	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:36	950	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9393_38'
2023-10-13	12:35:36	950	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:36	950	[DEBUG]	Processing product tax
2023-10-13	12:35:36	950	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:36	950	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:36	950	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:36	950	[DEBUG]	Query for Product
2023-10-13	12:35:36	950	[DEBUG]	Executed store
2023-10-13	12:35:36	950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860441','48T26781353','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:36	950	[DEBUG]	No parent found
2023-10-13	12:35:36	950	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860441 AND customfield_value = 'stockable'
2023-10-13	12:35:36	950	[DEBUG]	Check product language entry
2023-10-13	12:35:36	950	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860442
2023-10-13	12:35:36	950	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:36	950	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '48T26781353' AND `virtuemart_product_id` != 1860442
2023-10-13	12:35:36	950	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:36	950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860442, '48T26781353')
2023-10-13	12:35:36	950	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:36	950	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1270-force-etap-axs-12sp-silver-10-33t' AND `virtuemart_product_id` != 1860442
2023-10-13	12:35:36	950	[DEBUG]	Query for ProductLang
2023-10-13	12:35:36	950	[DEBUG]	Executed store
2023-10-13	12:35:36	950	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1270 Force eTap AXS 12SP / Silver (10-33t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1270-force-etap-axs-12sp-silver-10-33t' WHERE `virtuemart_product_id` = '1860442'
2023-10-13	12:35:36	950	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:36	950	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:36	950	[DEBUG]	Process image file
2023-10-13	12:35:36	950	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:36	950	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:36	950	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:36	950	[DEBUG]	Full name target: bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:37	950	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:37	950	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg'
2023-10-13	12:35:37	950	[DEBUG]	Query for Media
2023-10-13	12:35:37	950	[DEBUG]	Executed store
2023-10-13	12:35:37	950	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_url_thumb`='bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410274'
2023-10-13	12:35:37	950	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:37	950	[DEBUG]	Executed store
2023-10-13	12:35:37	950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860442','1410274','1')
2023-10-13	12:35:37	950	[DEBUG]	Store product image relation
2023-10-13	12:35:37	950	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:37	950	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860442 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:37	950	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:37	950	[DEBUG]	Executed store
2023-10-13	12:35:37	950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860442','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:37	950	[DEBUG]	Checking manufacturer
2023-10-13	12:35:37	950	[DEBUG]	Load a row
2023-10-13	12:35:37	950	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:37	950	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:37	950	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:37	950	[DEBUG]	Executed store
2023-10-13	12:35:37	950	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:37	950	[DEBUG]	Manufacturer exists
2023-10-13	12:35:37	950	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:37	950	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:37	950	[DEBUG]	Executed store
2023-10-13	12:35:37	950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860442','35')
2023-10-13	12:35:37	950	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:37	950	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:37	950	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860442 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:37	950	[DEBUG]	Store custom available field
2023-10-13	12:35:37	950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860442,3,'',1)
2023-10-13	12:35:37	950	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:37	950	[DEBUG]	Get existing row with customfield value 10-33t
2023-10-13	12:35:37	950	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860442 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:37	950	[DEBUG]	Store custom available field
2023-10-13	12:35:37	950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860442,6,'10-33t',3)
2023-10-13	12:35:37	950	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:37	950	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:37	950	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860441
2023-10-13	12:35:37	950	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:37	950	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-33t\"}]|clabels=0|options={\"1860441\":[1860441,8,1,\"choisir la taille\"],\"1860442\":[\"10-33t\"]}|' WHERE `virtuemart_product_id` = 1860441
2023-10-13	12:35:37	950	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:37	950	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860442
2023-10-13	12:35:37	951	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:37	951	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:37	951	[DEBUG]	Use field value for field taille
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:37	951	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:37	951	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:37	951	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:37	951	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:37	951	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:37	951	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:37	951	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:37	951	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:37	951	[DEBUG]	Use field value for field published
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:37	951	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field override
2023-10-13	12:35:37	951	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:37	951	[DEBUG]	Use field value for field slug
2023-10-13	12:35:37	951	[DEBUG]	Process line 951
2023-10-13	12:35:37	951	[DEBUG]	Load a row
2023-10-13	12:35:37	951	[DEBUG]	Processing item: 710845865169
2023-10-13	12:35:37	951	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:37	951	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:37	951	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9393_38'
2023-10-13	12:35:37	951	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:37	951	[DEBUG]	Processing product tax
2023-10-13	12:35:37	951	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:37	951	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:37	951	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:37	951	[DEBUG]	Query for Product
2023-10-13	12:35:37	951	[DEBUG]	Executed store
2023-10-13	12:35:37	951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860441','710845865169','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:37	951	[DEBUG]	No parent found
2023-10-13	12:35:37	951	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860441 AND customfield_value = 'stockable'
2023-10-13	12:35:37	951	[DEBUG]	Check product language entry
2023-10-13	12:35:37	951	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860443
2023-10-13	12:35:37	951	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:37	951	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845865169' AND `virtuemart_product_id` != 1860443
2023-10-13	12:35:37	951	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:37	951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860443, '710845865169')
2023-10-13	12:35:37	951	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:37	951	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1270-force-etap-axs-12sp-silver-10-28t' AND `virtuemart_product_id` != 1860443
2023-10-13	12:35:37	951	[DEBUG]	Query for ProductLang
2023-10-13	12:35:37	951	[DEBUG]	Executed store
2023-10-13	12:35:37	951	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1270 Force eTap AXS 12SP / Silver (10-28t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1270-force-etap-axs-12sp-silver-10-28t' WHERE `virtuemart_product_id` = '1860443'
2023-10-13	12:35:37	951	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:37	951	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:37	951	[DEBUG]	Process image file
2023-10-13	12:35:37	951	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:37	951	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:37	951	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:37	951	[DEBUG]	Full name target: bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:38	951	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:38	951	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg'
2023-10-13	12:35:38	951	[DEBUG]	Query for Media
2023-10-13	12:35:38	951	[DEBUG]	Executed store
2023-10-13	12:35:38	951	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_url_thumb`='bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410274'
2023-10-13	12:35:38	951	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:38	951	[DEBUG]	Executed store
2023-10-13	12:35:38	951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860443','1410274','1')
2023-10-13	12:35:38	951	[DEBUG]	Store product image relation
2023-10-13	12:35:38	951	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:38	951	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860443 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:38	951	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:38	951	[DEBUG]	Executed store
2023-10-13	12:35:38	951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860443','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:38	951	[DEBUG]	Checking manufacturer
2023-10-13	12:35:38	951	[DEBUG]	Load a row
2023-10-13	12:35:38	951	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:38	951	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:38	951	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:38	951	[DEBUG]	Executed store
2023-10-13	12:35:38	951	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:38	951	[DEBUG]	Manufacturer exists
2023-10-13	12:35:38	951	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:38	951	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:38	951	[DEBUG]	Executed store
2023-10-13	12:35:38	951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860443','35')
2023-10-13	12:35:38	951	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:38	951	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:38	951	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860443 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:38	951	[DEBUG]	Store custom available field
2023-10-13	12:35:38	951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860443,3,'',1)
2023-10-13	12:35:38	951	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:38	951	[DEBUG]	Get existing row with customfield value 10-28t
2023-10-13	12:35:38	951	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860443 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:38	951	[DEBUG]	Store custom available field
2023-10-13	12:35:38	951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860443,6,'10-28t',3)
2023-10-13	12:35:38	951	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:38	951	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:38	951	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860441
2023-10-13	12:35:38	951	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:38	951	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-33t\\r\\n10-28t\"}]|clabels=0|options={\"1860441\":[1860441,8,1,\"choisir la taille\"],\"1860442\":[\"10-33t\"],\"1860443\":[\"10-28t\"]}|' WHERE `virtuemart_product_id` = 1860441
2023-10-13	12:35:38	951	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:38	951	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860443
2023-10-13	12:35:38	952	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:38	952	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:38	952	[DEBUG]	Use field value for field taille
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:38	952	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:38	952	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:38	952	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:38	952	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:38	952	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:38	952	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:38	952	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:38	952	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:38	952	[DEBUG]	Use field value for field published
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:38	952	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field override
2023-10-13	12:35:38	952	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:38	952	[DEBUG]	Use field value for field slug
2023-10-13	12:35:38	952	[DEBUG]	Process line 952
2023-10-13	12:35:38	952	[DEBUG]	Load a row
2023-10-13	12:35:38	952	[DEBUG]	Processing item: 710845865183
2023-10-13	12:35:38	952	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:38	952	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:38	952	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9393_38'
2023-10-13	12:35:38	952	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:38	952	[DEBUG]	Processing product tax
2023-10-13	12:35:38	952	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:38	952	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:38	952	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:38	952	[DEBUG]	Query for Product
2023-10-13	12:35:38	952	[DEBUG]	Executed store
2023-10-13	12:35:38	952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860441','710845865183','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:38	952	[DEBUG]	No parent found
2023-10-13	12:35:38	952	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860441 AND customfield_value = 'stockable'
2023-10-13	12:35:38	952	[DEBUG]	Check product language entry
2023-10-13	12:35:38	952	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860444
2023-10-13	12:35:38	952	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:38	952	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845865183' AND `virtuemart_product_id` != 1860444
2023-10-13	12:35:38	952	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:38	952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860444, '710845865183')
2023-10-13	12:35:38	952	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:38	952	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1270-force-etap-axs-12sp-silver-10-36t' AND `virtuemart_product_id` != 1860444
2023-10-13	12:35:38	952	[DEBUG]	Query for ProductLang
2023-10-13	12:35:38	952	[DEBUG]	Executed store
2023-10-13	12:35:38	952	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1270 Force eTap AXS 12SP / Silver (10-36t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1270-force-etap-axs-12sp-silver-10-36t' WHERE `virtuemart_product_id` = '1860444'
2023-10-13	12:35:38	952	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:38	952	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:38	952	[DEBUG]	Process image file
2023-10-13	12:35:38	952	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:38	952	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:38	952	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:38	952	[DEBUG]	Full name target: bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:39	952	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:39	952	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg'
2023-10-13	12:35:39	952	[DEBUG]	Query for Media
2023-10-13	12:35:39	952	[DEBUG]	Executed store
2023-10-13	12:35:39	952	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_url_thumb`='bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410274'
2023-10-13	12:35:39	952	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:39	952	[DEBUG]	Executed store
2023-10-13	12:35:39	952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860444','1410274','1')
2023-10-13	12:35:39	952	[DEBUG]	Store product image relation
2023-10-13	12:35:39	952	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:39	952	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860444 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:39	952	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:39	952	[DEBUG]	Executed store
2023-10-13	12:35:39	952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860444','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:39	952	[DEBUG]	Checking manufacturer
2023-10-13	12:35:39	952	[DEBUG]	Load a row
2023-10-13	12:35:39	952	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:39	952	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:39	952	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:39	952	[DEBUG]	Executed store
2023-10-13	12:35:39	952	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:39	952	[DEBUG]	Manufacturer exists
2023-10-13	12:35:39	952	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:39	952	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:39	952	[DEBUG]	Executed store
2023-10-13	12:35:39	952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860444','35')
2023-10-13	12:35:39	952	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:39	952	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:39	952	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860444 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:39	952	[DEBUG]	Store custom available field
2023-10-13	12:35:39	952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860444,3,'',1)
2023-10-13	12:35:39	952	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:39	952	[DEBUG]	Get existing row with customfield value 10-36t
2023-10-13	12:35:39	952	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860444 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:39	952	[DEBUG]	Store custom available field
2023-10-13	12:35:39	952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860444,6,'10-36t',3)
2023-10-13	12:35:39	952	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:39	952	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:39	952	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860441
2023-10-13	12:35:39	952	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:39	952	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-33t\\r\\n10-28t\\r\\n10-36t\"}]|clabels=0|options={\"1860441\":[1860441,8,1,\"choisir la taille\"],\"1860442\":[\"10-33t\"],\"1860443\":[\"10-28t\"],\"1860444\":[\"10-36t\"]}|' WHERE `virtuemart_product_id` = 1860441
2023-10-13	12:35:39	952	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:39	952	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860444
2023-10-13	12:35:39	953	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:39	953	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:39	953	[DEBUG]	Use field value for field taille
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:39	953	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:39	953	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:39	953	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:39	953	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:39	953	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:39	953	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:39	953	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:39	953	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:39	953	[DEBUG]	Use field value for field published
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:39	953	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field override
2023-10-13	12:35:39	953	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:39	953	[DEBUG]	Use field value for field slug
2023-10-13	12:35:39	953	[DEBUG]	Process line 953
2023-10-13	12:35:39	953	[DEBUG]	Load a row
2023-10-13	12:35:39	953	[DEBUG]	Processing item: 710845871344
2023-10-13	12:35:39	953	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:39	953	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:39	953	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9393_38'
2023-10-13	12:35:39	953	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:39	953	[DEBUG]	Processing product tax
2023-10-13	12:35:39	953	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:39	953	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:39	953	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:39	953	[DEBUG]	Query for Product
2023-10-13	12:35:39	953	[DEBUG]	Executed store
2023-10-13	12:35:39	953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860441','710845871344','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:39	953	[DEBUG]	No parent found
2023-10-13	12:35:39	953	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860441 AND customfield_value = 'stockable'
2023-10-13	12:35:39	953	[DEBUG]	Check product language entry
2023-10-13	12:35:39	953	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860445
2023-10-13	12:35:39	953	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:39	953	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845871344' AND `virtuemart_product_id` != 1860445
2023-10-13	12:35:39	953	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:39	953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860445, '710845871344')
2023-10-13	12:35:39	953	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:39	953	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1270-force-etap-axs-12sp-silver-10-30t' AND `virtuemart_product_id` != 1860445
2023-10-13	12:35:39	953	[DEBUG]	Query for ProductLang
2023-10-13	12:35:39	953	[DEBUG]	Executed store
2023-10-13	12:35:39	953	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1270 Force eTap AXS 12SP / Silver (10-30t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1270-force-etap-axs-12sp-silver-10-30t' WHERE `virtuemart_product_id` = '1860445'
2023-10-13	12:35:39	953	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:39	953	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:39	953	[DEBUG]	Process image file
2023-10-13	12:35:39	953	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:39	953	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:39	953	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:39	953	[DEBUG]	Full name target: bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:40	953	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:40	953	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg'
2023-10-13	12:35:40	953	[DEBUG]	Query for Media
2023-10-13	12:35:40	953	[DEBUG]	Executed store
2023-10-13	12:35:40	953	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_url_thumb`='bcprisme/38589_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410274'
2023-10-13	12:35:40	953	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:40	953	[DEBUG]	Executed store
2023-10-13	12:35:40	953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860445','1410274','1')
2023-10-13	12:35:40	953	[DEBUG]	Store product image relation
2023-10-13	12:35:40	953	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:40	953	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860445 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:40	953	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:40	953	[DEBUG]	Executed store
2023-10-13	12:35:40	953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860445','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:40	953	[DEBUG]	Checking manufacturer
2023-10-13	12:35:40	953	[DEBUG]	Load a row
2023-10-13	12:35:40	953	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:40	953	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:40	953	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:40	953	[DEBUG]	Executed store
2023-10-13	12:35:40	953	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:40	953	[DEBUG]	Manufacturer exists
2023-10-13	12:35:40	953	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:40	953	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:40	953	[DEBUG]	Executed store
2023-10-13	12:35:40	953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860445','35')
2023-10-13	12:35:40	953	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:40	953	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:40	953	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860445 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:40	953	[DEBUG]	Store custom available field
2023-10-13	12:35:40	953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860445,3,'',1)
2023-10-13	12:35:40	953	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:40	953	[DEBUG]	Get existing row with customfield value 10-30t
2023-10-13	12:35:40	953	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860445 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:40	953	[DEBUG]	Store custom available field
2023-10-13	12:35:40	953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860445,6,'10-30t',3)
2023-10-13	12:35:40	953	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:40	953	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:40	953	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860441
2023-10-13	12:35:40	953	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:40	953	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-33t\\r\\n10-28t\\r\\n10-36t\\r\\n10-30t\"}]|clabels=0|options={\"1860441\":[1860441,8,1,\"choisir la taille\"],\"1860442\":[\"10-33t\"],\"1860443\":[\"10-28t\"],\"1860444\":[\"10-36t\"],\"1860445\":[\"10-30t\"]}|' WHERE `virtuemart_product_id` = 1860441
2023-10-13	12:35:40	953	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:40	953	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860445
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:40	954	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field taille
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:40	954	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:40	954	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:40	954	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:40	954	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:40	954	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:40	954	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field published
2023-10-13	12:35:40	954	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:40	954	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field override
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:40	954	[DEBUG]	Use field value for field slug
2023-10-13	12:35:40	954	[DEBUG]	Process line 954
2023-10-13	12:35:40	954	[DEBUG]	Load a row
2023-10-13	12:35:40	954	[DEBUG]	Processing item: A_9393_84
2023-10-13	12:35:40	954	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:40	954	[DEBUG]	Processing product tax
2023-10-13	12:35:40	954	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:40	954	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:40	954	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:40	954	[DEBUG]	Query for Product
2023-10-13	12:35:40	954	[DEBUG]	Executed store
2023-10-13	12:35:40	954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9393_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:40	954	[DEBUG]	Check product language entry
2023-10-13	12:35:40	954	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860446
2023-10-13	12:35:40	954	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:40	954	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9393_84' AND `virtuemart_product_id` != 1860446
2023-10-13	12:35:40	954	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:40	954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860446, 'A_9393_84')
2023-10-13	12:35:40	954	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:40	954	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1270-force-etap-axs-12sp-black' AND `virtuemart_product_id` != 1860446
2023-10-13	12:35:40	954	[DEBUG]	Query for ProductLang
2023-10-13	12:35:40	954	[DEBUG]	Executed store
2023-10-13	12:35:40	954	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7565O',`product_name`='SRAM Cassette XG-1270 Force eTap AXS 12SP / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1270-force-etap-axs-12sp-black' WHERE `virtuemart_product_id` = '1860446'
2023-10-13	12:35:40	954	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:40	954	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:40	954	[DEBUG]	Process image file
2023-10-13	12:35:40	954	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:40	954	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:40	954	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:40	954	[DEBUG]	Full name target: bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:41	954	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:41	954	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg'
2023-10-13	12:35:41	954	[DEBUG]	Query for Media
2023-10-13	12:35:41	954	[DEBUG]	Executed store
2023-10-13	12:35:41	954	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_url_thumb`='bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410279'
2023-10-13	12:35:41	954	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:41	954	[DEBUG]	Executed store
2023-10-13	12:35:41	954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860446','1410279','1')
2023-10-13	12:35:41	954	[DEBUG]	Store product image relation
2023-10-13	12:35:41	954	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:41	954	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860446 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:41	954	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:41	954	[DEBUG]	Executed store
2023-10-13	12:35:41	954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860446','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:41	954	[DEBUG]	Checking manufacturer
2023-10-13	12:35:41	954	[DEBUG]	Load a row
2023-10-13	12:35:41	954	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:41	954	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:41	954	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:41	954	[DEBUG]	Executed store
2023-10-13	12:35:41	954	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:41	954	[DEBUG]	Manufacturer exists
2023-10-13	12:35:41	954	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:41	954	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:41	954	[DEBUG]	Executed store
2023-10-13	12:35:41	954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860446','35')
2023-10-13	12:35:41	954	[DEBUG]	Find the custom field ID
2023-10-13	12:35:41	954	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:41	954	[DEBUG]	No custom field ID found
2023-10-13	12:35:41	954	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:41	954	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:41	954	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860446 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:41	954	[DEBUG]	Store custom available field
2023-10-13	12:35:41	954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860446,3,'0',1)
2023-10-13	12:35:41	954	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:41	954	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:41	954	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860446 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:41	954	[DEBUG]	Store custom available field
2023-10-13	12:35:41	954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860446,6,'choisir la taille',3)
2023-10-13	12:35:41	954	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:41	954	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:41	954	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:41	954	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:41	954	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860446 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:41	954	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:41	954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860446,8,1)
2023-10-13	12:35:41	954	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:41	954	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860446\":[1860446,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860446
2023-10-13	12:35:41	954	[DEBUG]	Checking category
2023-10-13	12:35:41	954	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:41	954	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860446
2023-10-13	12:35:41	954	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:41	954	[DEBUG]	Executed store
2023-10-13	12:35:41	954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860446','7283')
2023-10-13	12:35:41	954	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:41	954	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860446 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:41	954	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:41	954	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860446
2023-10-13	12:35:41	955	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:41	955	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:41	955	[DEBUG]	Use field value for field taille
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:41	955	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:41	955	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:41	955	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:41	955	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:41	955	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:41	955	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:41	955	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:41	955	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:41	955	[DEBUG]	Use field value for field published
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:41	955	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field override
2023-10-13	12:35:41	955	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:41	955	[DEBUG]	Use field value for field slug
2023-10-13	12:35:41	955	[DEBUG]	Process line 955
2023-10-13	12:35:41	955	[DEBUG]	Load a row
2023-10-13	12:35:41	955	[DEBUG]	Processing item: 710845822773
2023-10-13	12:35:41	955	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:41	955	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:41	955	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9393_84'
2023-10-13	12:35:41	955	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:41	955	[DEBUG]	Processing product tax
2023-10-13	12:35:41	955	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:41	955	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:41	955	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:41	955	[DEBUG]	Query for Product
2023-10-13	12:35:41	955	[DEBUG]	Executed store
2023-10-13	12:35:41	955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860446','710845822773','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:41	955	[DEBUG]	No parent found
2023-10-13	12:35:41	955	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860446 AND customfield_value = 'stockable'
2023-10-13	12:35:42	955	[DEBUG]	Check product language entry
2023-10-13	12:35:42	955	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860447
2023-10-13	12:35:42	955	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:42	955	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845822773' AND `virtuemart_product_id` != 1860447
2023-10-13	12:35:42	955	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:42	955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860447, '710845822773')
2023-10-13	12:35:42	955	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:42	955	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1270-force-etap-axs-12sp-black-10-28t' AND `virtuemart_product_id` != 1860447
2023-10-13	12:35:42	955	[DEBUG]	Query for ProductLang
2023-10-13	12:35:42	955	[DEBUG]	Executed store
2023-10-13	12:35:42	955	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1270 Force eTap AXS 12SP / Black (10-28t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1270-force-etap-axs-12sp-black-10-28t' WHERE `virtuemart_product_id` = '1860447'
2023-10-13	12:35:42	955	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:42	955	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:42	955	[DEBUG]	Process image file
2023-10-13	12:35:42	955	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:42	955	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:42	955	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:42	955	[DEBUG]	Full name target: bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:43	955	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:43	955	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg'
2023-10-13	12:35:43	955	[DEBUG]	Query for Media
2023-10-13	12:35:43	955	[DEBUG]	Executed store
2023-10-13	12:35:43	955	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_url_thumb`='bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410279'
2023-10-13	12:35:43	955	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:43	955	[DEBUG]	Executed store
2023-10-13	12:35:43	955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860447','1410279','1')
2023-10-13	12:35:43	955	[DEBUG]	Store product image relation
2023-10-13	12:35:43	955	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:43	955	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860447 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:43	955	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:43	955	[DEBUG]	Executed store
2023-10-13	12:35:43	955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860447','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:43	955	[DEBUG]	Checking manufacturer
2023-10-13	12:35:43	955	[DEBUG]	Load a row
2023-10-13	12:35:43	955	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:43	955	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:43	955	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:43	955	[DEBUG]	Executed store
2023-10-13	12:35:43	955	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:43	955	[DEBUG]	Manufacturer exists
2023-10-13	12:35:43	955	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:43	955	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:43	955	[DEBUG]	Executed store
2023-10-13	12:35:43	955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860447','35')
2023-10-13	12:35:43	955	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:43	955	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:43	955	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860447 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:43	955	[DEBUG]	Store custom available field
2023-10-13	12:35:43	955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860447,3,'',1)
2023-10-13	12:35:43	955	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:43	955	[DEBUG]	Get existing row with customfield value 10-28t
2023-10-13	12:35:43	955	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860447 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:43	955	[DEBUG]	Store custom available field
2023-10-13	12:35:43	955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860447,6,'10-28t',3)
2023-10-13	12:35:43	955	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:43	955	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:43	955	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860446
2023-10-13	12:35:43	955	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:43	955	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-28t\"}]|clabels=0|options={\"1860446\":[1860446,8,1,\"choisir la taille\"],\"1860447\":[\"10-28t\"]}|' WHERE `virtuemart_product_id` = 1860446
2023-10-13	12:35:43	955	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:43	955	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860447
2023-10-13	12:35:43	956	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:43	956	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:43	956	[DEBUG]	Use field value for field taille
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:43	956	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:43	956	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:43	956	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:43	956	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:43	956	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:43	956	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:43	956	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:43	956	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:43	956	[DEBUG]	Use field value for field published
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:43	956	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field override
2023-10-13	12:35:43	956	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:43	956	[DEBUG]	Use field value for field slug
2023-10-13	12:35:43	956	[DEBUG]	Process line 956
2023-10-13	12:35:43	956	[DEBUG]	Load a row
2023-10-13	12:35:43	956	[DEBUG]	Processing item: 710845822766
2023-10-13	12:35:43	956	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:43	956	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:43	956	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9393_84'
2023-10-13	12:35:43	956	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:43	956	[DEBUG]	Processing product tax
2023-10-13	12:35:43	956	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:43	956	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:43	956	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:43	956	[DEBUG]	Query for Product
2023-10-13	12:35:43	956	[DEBUG]	Executed store
2023-10-13	12:35:43	956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860446','710845822766','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:43	956	[DEBUG]	No parent found
2023-10-13	12:35:43	956	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860446 AND customfield_value = 'stockable'
2023-10-13	12:35:43	956	[DEBUG]	Check product language entry
2023-10-13	12:35:43	956	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860448
2023-10-13	12:35:43	956	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:43	956	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845822766' AND `virtuemart_product_id` != 1860448
2023-10-13	12:35:43	956	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:43	956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860448, '710845822766')
2023-10-13	12:35:43	956	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:43	956	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1270-force-etap-axs-12sp-black-10-26t' AND `virtuemart_product_id` != 1860448
2023-10-13	12:35:43	956	[DEBUG]	Query for ProductLang
2023-10-13	12:35:43	956	[DEBUG]	Executed store
2023-10-13	12:35:43	956	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1270 Force eTap AXS 12SP / Black (10-26t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1270-force-etap-axs-12sp-black-10-26t' WHERE `virtuemart_product_id` = '1860448'
2023-10-13	12:35:43	956	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:43	956	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:43	956	[DEBUG]	Process image file
2023-10-13	12:35:43	956	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:43	956	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:43	956	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:43	956	[DEBUG]	Full name target: bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:44	956	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:44	956	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg'
2023-10-13	12:35:44	956	[DEBUG]	Query for Media
2023-10-13	12:35:44	956	[DEBUG]	Executed store
2023-10-13	12:35:44	956	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_url_thumb`='bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410279'
2023-10-13	12:35:44	956	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:44	956	[DEBUG]	Executed store
2023-10-13	12:35:44	956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860448','1410279','1')
2023-10-13	12:35:44	956	[DEBUG]	Store product image relation
2023-10-13	12:35:44	956	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:44	956	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860448 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:44	956	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:44	956	[DEBUG]	Executed store
2023-10-13	12:35:44	956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860448','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:44	956	[DEBUG]	Checking manufacturer
2023-10-13	12:35:44	956	[DEBUG]	Load a row
2023-10-13	12:35:44	956	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:44	956	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:44	956	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:44	956	[DEBUG]	Executed store
2023-10-13	12:35:44	956	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:44	956	[DEBUG]	Manufacturer exists
2023-10-13	12:35:44	956	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:44	956	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:44	956	[DEBUG]	Executed store
2023-10-13	12:35:44	956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860448','35')
2023-10-13	12:35:44	956	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:44	956	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:44	956	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860448 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:44	956	[DEBUG]	Store custom available field
2023-10-13	12:35:44	956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860448,3,'',1)
2023-10-13	12:35:44	956	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:44	956	[DEBUG]	Get existing row with customfield value 10-26t
2023-10-13	12:35:44	956	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860448 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:44	956	[DEBUG]	Store custom available field
2023-10-13	12:35:44	956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860448,6,'10-26t',3)
2023-10-13	12:35:44	956	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:44	956	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:44	956	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860446
2023-10-13	12:35:44	956	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:44	956	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-28t\\r\\n10-26t\"}]|clabels=0|options={\"1860446\":[1860446,8,1,\"choisir la taille\"],\"1860447\":[\"10-28t\"],\"1860448\":[\"10-26t\"]}|' WHERE `virtuemart_product_id` = 1860446
2023-10-13	12:35:44	956	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:44	956	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860448
2023-10-13	12:35:44	957	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:44	957	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:44	957	[DEBUG]	Use field value for field taille
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:44	957	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:44	957	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:44	957	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:44	957	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:44	957	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:44	957	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:44	957	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:44	957	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:44	957	[DEBUG]	Use field value for field published
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:44	957	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field override
2023-10-13	12:35:44	957	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:44	957	[DEBUG]	Use field value for field slug
2023-10-13	12:35:44	957	[DEBUG]	Process line 957
2023-10-13	12:35:44	957	[DEBUG]	Load a row
2023-10-13	12:35:44	957	[DEBUG]	Processing item: 710845822780
2023-10-13	12:35:44	957	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:44	957	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:44	957	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9393_84'
2023-10-13	12:35:44	957	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:44	957	[DEBUG]	Processing product tax
2023-10-13	12:35:44	957	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:44	957	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:44	957	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:44	957	[DEBUG]	Query for Product
2023-10-13	12:35:44	957	[DEBUG]	Executed store
2023-10-13	12:35:44	957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860446','710845822780','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:44	957	[DEBUG]	No parent found
2023-10-13	12:35:44	957	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860446 AND customfield_value = 'stockable'
2023-10-13	12:35:44	957	[DEBUG]	Check product language entry
2023-10-13	12:35:44	957	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860449
2023-10-13	12:35:44	957	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:44	957	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845822780' AND `virtuemart_product_id` != 1860449
2023-10-13	12:35:44	957	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:44	957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860449, '710845822780')
2023-10-13	12:35:44	957	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:44	957	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1270-force-etap-axs-12sp-black-10-33t' AND `virtuemart_product_id` != 1860449
2023-10-13	12:35:44	957	[DEBUG]	Query for ProductLang
2023-10-13	12:35:44	957	[DEBUG]	Executed store
2023-10-13	12:35:44	957	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1270 Force eTap AXS 12SP / Black (10-33t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1270-force-etap-axs-12sp-black-10-33t' WHERE `virtuemart_product_id` = '1860449'
2023-10-13	12:35:44	957	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:44	957	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:44	957	[DEBUG]	Process image file
2023-10-13	12:35:44	957	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:44	957	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:44	957	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:44	957	[DEBUG]	Full name target: bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:45	957	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:45	957	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg'
2023-10-13	12:35:45	957	[DEBUG]	Query for Media
2023-10-13	12:35:45	957	[DEBUG]	Executed store
2023-10-13	12:35:45	957	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_url_thumb`='bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410279'
2023-10-13	12:35:45	957	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:45	957	[DEBUG]	Executed store
2023-10-13	12:35:45	957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860449','1410279','1')
2023-10-13	12:35:45	957	[DEBUG]	Store product image relation
2023-10-13	12:35:45	957	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:45	957	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860449 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:45	957	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:45	957	[DEBUG]	Executed store
2023-10-13	12:35:45	957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860449','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:45	957	[DEBUG]	Checking manufacturer
2023-10-13	12:35:45	957	[DEBUG]	Load a row
2023-10-13	12:35:45	957	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:45	957	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:45	957	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:45	957	[DEBUG]	Executed store
2023-10-13	12:35:45	957	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:45	957	[DEBUG]	Manufacturer exists
2023-10-13	12:35:45	957	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:45	957	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:45	957	[DEBUG]	Executed store
2023-10-13	12:35:45	957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860449','35')
2023-10-13	12:35:45	957	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:45	957	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:45	957	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860449 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:45	957	[DEBUG]	Store custom available field
2023-10-13	12:35:45	957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860449,3,'',1)
2023-10-13	12:35:45	957	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:45	957	[DEBUG]	Get existing row with customfield value 10-33t
2023-10-13	12:35:45	957	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860449 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:45	957	[DEBUG]	Store custom available field
2023-10-13	12:35:45	957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860449,6,'10-33t',3)
2023-10-13	12:35:45	957	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:45	957	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:45	957	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860446
2023-10-13	12:35:45	957	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:45	957	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-28t\\r\\n10-26t\\r\\n10-33t\"}]|clabels=0|options={\"1860446\":[1860446,8,1,\"choisir la taille\"],\"1860447\":[\"10-28t\"],\"1860448\":[\"10-26t\"],\"1860449\":[\"10-33t\"]}|' WHERE `virtuemart_product_id` = 1860446
2023-10-13	12:35:45	957	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:45	957	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860449
2023-10-13	12:35:45	958	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:45	958	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:45	958	[DEBUG]	Use field value for field taille
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:45	958	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:45	958	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:45	958	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:45	958	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:45	958	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:45	958	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:45	958	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:45	958	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:45	958	[DEBUG]	Use field value for field published
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:45	958	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field override
2023-10-13	12:35:45	958	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:45	958	[DEBUG]	Use field value for field slug
2023-10-13	12:35:45	958	[DEBUG]	Process line 958
2023-10-13	12:35:45	958	[DEBUG]	Load a row
2023-10-13	12:35:45	958	[DEBUG]	Processing item: 710845854446
2023-10-13	12:35:45	958	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:45	958	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:45	958	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9393_84'
2023-10-13	12:35:45	958	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:45	958	[DEBUG]	Processing product tax
2023-10-13	12:35:45	958	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:45	958	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:45	958	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:45	958	[DEBUG]	Query for Product
2023-10-13	12:35:45	958	[DEBUG]	Executed store
2023-10-13	12:35:45	958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860446','710845854446','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:45	958	[DEBUG]	No parent found
2023-10-13	12:35:45	958	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860446 AND customfield_value = 'stockable'
2023-10-13	12:35:45	958	[DEBUG]	Check product language entry
2023-10-13	12:35:45	958	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860450
2023-10-13	12:35:45	958	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:45	958	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845854446' AND `virtuemart_product_id` != 1860450
2023-10-13	12:35:45	958	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:45	958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860450, '710845854446')
2023-10-13	12:35:45	958	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:45	958	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-xg-1270-force-etap-axs-12sp-black-10-36t' AND `virtuemart_product_id` != 1860450
2023-10-13	12:35:45	958	[DEBUG]	Query for ProductLang
2023-10-13	12:35:45	958	[DEBUG]	Executed store
2023-10-13	12:35:45	958	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette XG-1270 Force eTap AXS 12SP / Black (10-36t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-xg-1270-force-etap-axs-12sp-black-10-36t' WHERE `virtuemart_product_id` = '1860450'
2023-10-13	12:35:45	958	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:45	958	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:45	958	[DEBUG]	Process image file
2023-10-13	12:35:45	958	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:45	958	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:45	958	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:45	958	[DEBUG]	Full name target: bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg
2023-10-13	12:35:46	958	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:46	958	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg'
2023-10-13	12:35:46	958	[DEBUG]	Query for Media
2023-10-13	12:35:46	958	[DEBUG]	Executed store
2023-10-13	12:35:46	958	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_url_thumb`='bcprisme/38590_cassette_xg-1270_force_etap_axs_12sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410279'
2023-10-13	12:35:46	958	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:46	958	[DEBUG]	Executed store
2023-10-13	12:35:46	958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860450','1410279','1')
2023-10-13	12:35:46	958	[DEBUG]	Store product image relation
2023-10-13	12:35:46	958	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:46	958	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860450 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:46	958	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:46	958	[DEBUG]	Executed store
2023-10-13	12:35:46	958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860450','0','204.178272980501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:46	958	[DEBUG]	Checking manufacturer
2023-10-13	12:35:46	958	[DEBUG]	Load a row
2023-10-13	12:35:46	958	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:46	958	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:46	958	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:46	958	[DEBUG]	Executed store
2023-10-13	12:35:46	958	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:46	958	[DEBUG]	Manufacturer exists
2023-10-13	12:35:46	958	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:46	958	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:46	958	[DEBUG]	Executed store
2023-10-13	12:35:46	958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860450','35')
2023-10-13	12:35:46	958	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:46	958	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:46	958	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860450 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:46	958	[DEBUG]	Store custom available field
2023-10-13	12:35:46	958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860450,3,'',1)
2023-10-13	12:35:46	958	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:46	958	[DEBUG]	Get existing row with customfield value 10-36t
2023-10-13	12:35:46	958	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860450 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:46	958	[DEBUG]	Store custom available field
2023-10-13	12:35:46	958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860450,6,'10-36t',3)
2023-10-13	12:35:46	958	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:46	958	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:46	958	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860446
2023-10-13	12:35:46	958	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:46	958	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n10-28t\\r\\n10-26t\\r\\n10-33t\\r\\n10-36t\"}]|clabels=0|options={\"1860446\":[1860446,8,1,\"choisir la taille\"],\"1860447\":[\"10-28t\"],\"1860448\":[\"10-26t\"],\"1860449\":[\"10-33t\"],\"1860450\":[\"10-36t\"]}|' WHERE `virtuemart_product_id` = 1860446
2023-10-13	12:35:46	958	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:46	958	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860450
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:46	959	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field taille
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:46	959	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:46	959	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:46	959	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:46	959	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:46	959	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:46	959	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field published
2023-10-13	12:35:46	959	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:46	959	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field override
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:46	959	[DEBUG]	Use field value for field slug
2023-10-13	12:35:46	959	[DEBUG]	Process line 959
2023-10-13	12:35:46	959	[DEBUG]	Load a row
2023-10-13	12:35:46	959	[DEBUG]	Processing item: A_9459_208
2023-10-13	12:35:46	959	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:46	959	[DEBUG]	Processing product tax
2023-10-13	12:35:46	959	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:46	959	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:46	959	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:46	959	[DEBUG]	Query for Product
2023-10-13	12:35:46	959	[DEBUG]	Executed store
2023-10-13	12:35:46	959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9459_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:46	959	[DEBUG]	Check product language entry
2023-10-13	12:35:46	959	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860451
2023-10-13	12:35:46	959	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:46	959	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9459_208' AND `virtuemart_product_id` != 1860451
2023-10-13	12:35:46	959	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:46	959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860451, 'A_9459_208')
2023-10-13	12:35:46	959	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:46	959	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-cs-lg700-11-cues-11-vitesses-11-50-dents-box-aucune' AND `virtuemart_product_id` != 1860451
2023-10-13	12:35:46	959	[DEBUG]	Query for ProductLang
2023-10-13	12:35:46	959	[DEBUG]	Executed store
2023-10-13	12:35:46	959	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.82630',`product_name`='SHIMANO cassette CS-LG700-11 CUES 11-vitesses 11-50 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-cs-lg700-11-cues-11-vitesses-11-50-dents-box-aucune' WHERE `virtuemart_product_id` = '1860451'
2023-10-13	12:35:46	959	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_82630_0.jpg
2023-10-13	12:35:46	959	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:46	959	[DEBUG]	Process image file
2023-10-13	12:35:46	959	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:46	959	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:46	959	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_82630_0.jpg
2023-10-13	12:35:46	959	[DEBUG]	Full name target: bcprisme/67_82630_0.jpg
2023-10-13	12:35:47	959	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:47	959	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_82630_0.jpg'
2023-10-13	12:35:47	959	[DEBUG]	Query for Media
2023-10-13	12:35:47	959	[DEBUG]	Executed store
2023-10-13	12:35:47	959	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_82630_0.jpg',`file_url_thumb`='bcprisme/67_82630_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1428888'
2023-10-13	12:35:47	959	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:47	959	[DEBUG]	Executed store
2023-10-13	12:35:47	959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860451','1428888','1')
2023-10-13	12:35:47	959	[DEBUG]	Store product image relation
2023-10-13	12:35:47	959	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:47	959	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860451 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:47	959	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:47	959	[DEBUG]	Executed store
2023-10-13	12:35:47	959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860451','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:47	959	[DEBUG]	Checking manufacturer
2023-10-13	12:35:47	959	[DEBUG]	Load a row
2023-10-13	12:35:47	959	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:47	959	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:47	959	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:47	959	[DEBUG]	Executed store
2023-10-13	12:35:47	959	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:47	959	[DEBUG]	Manufacturer exists
2023-10-13	12:35:47	959	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:35:47	959	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:47	959	[DEBUG]	Executed store
2023-10-13	12:35:47	959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860451','26')
2023-10-13	12:35:47	959	[DEBUG]	Find the custom field ID
2023-10-13	12:35:47	959	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:47	959	[DEBUG]	No custom field ID found
2023-10-13	12:35:47	959	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:47	959	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:47	959	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860451 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:47	959	[DEBUG]	Store custom available field
2023-10-13	12:35:47	959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860451,3,'0',1)
2023-10-13	12:35:47	959	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:47	959	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:47	959	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860451 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:47	959	[DEBUG]	Store custom available field
2023-10-13	12:35:47	959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860451,6,'choisir la taille',3)
2023-10-13	12:35:47	959	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:47	959	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:47	959	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:47	959	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:47	959	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860451 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:47	959	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:47	959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860451,8,1)
2023-10-13	12:35:47	959	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:47	959	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860451\":[1860451,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860451
2023-10-13	12:35:47	959	[DEBUG]	Checking category
2023-10-13	12:35:47	959	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:47	959	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860451
2023-10-13	12:35:47	959	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:47	959	[DEBUG]	Executed store
2023-10-13	12:35:47	959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860451','7283')
2023-10-13	12:35:47	959	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:47	959	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860451 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:47	959	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:47	959	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860451
2023-10-13	12:35:47	960	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:47	960	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:47	960	[DEBUG]	Use field value for field taille
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:47	960	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:47	960	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:47	960	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:47	960	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:47	960	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:47	960	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:47	960	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:47	960	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:47	960	[DEBUG]	Use field value for field published
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:47	960	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field override
2023-10-13	12:35:47	960	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:47	960	[DEBUG]	Use field value for field slug
2023-10-13	12:35:47	960	[DEBUG]	Process line 960
2023-10-13	12:35:47	960	[DEBUG]	Load a row
2023-10-13	12:35:47	960	[DEBUG]	Processing item: 4550170172053
2023-10-13	12:35:47	960	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:47	960	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:47	960	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9459_208'
2023-10-13	12:35:47	960	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:47	960	[DEBUG]	Processing product tax
2023-10-13	12:35:47	960	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:47	960	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:47	960	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:47	960	[DEBUG]	Query for Product
2023-10-13	12:35:47	960	[DEBUG]	Executed store
2023-10-13	12:35:47	960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860451','4550170172053','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:47	960	[DEBUG]	No parent found
2023-10-13	12:35:47	960	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860451 AND customfield_value = 'stockable'
2023-10-13	12:35:47	960	[DEBUG]	Check product language entry
2023-10-13	12:35:47	960	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860452
2023-10-13	12:35:47	960	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:47	960	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170172053' AND `virtuemart_product_id` != 1860452
2023-10-13	12:35:47	960	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:47	960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860452, '4550170172053')
2023-10-13	12:35:47	960	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:47	960	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-cs-lg700-11-cues-11-vitesses-11-50-dents-box-aucune-unitaire' AND `virtuemart_product_id` != 1860452
2023-10-13	12:35:47	960	[DEBUG]	Query for ProductLang
2023-10-13	12:35:47	960	[DEBUG]	Executed store
2023-10-13	12:35:47	960	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO cassette CS-LG700-11 CUES 11-vitesses 11-50 dents box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-cs-lg700-11-cues-11-vitesses-11-50-dents-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860452'
2023-10-13	12:35:47	960	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_82630_0.jpg
2023-10-13	12:35:47	960	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:47	960	[DEBUG]	Process image file
2023-10-13	12:35:47	960	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:47	960	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:47	960	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_82630_0.jpg
2023-10-13	12:35:47	960	[DEBUG]	Full name target: bcprisme/67_82630_0.jpg
2023-10-13	12:35:48	960	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:48	960	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_82630_0.jpg'
2023-10-13	12:35:48	960	[DEBUG]	Query for Media
2023-10-13	12:35:48	960	[DEBUG]	Executed store
2023-10-13	12:35:48	960	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_82630_0.jpg',`file_url_thumb`='bcprisme/67_82630_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1428888'
2023-10-13	12:35:48	960	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:48	960	[DEBUG]	Executed store
2023-10-13	12:35:48	960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860452','1428888','1')
2023-10-13	12:35:48	960	[DEBUG]	Store product image relation
2023-10-13	12:35:48	960	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:48	960	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860452 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:48	960	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:48	960	[DEBUG]	Executed store
2023-10-13	12:35:48	960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860452','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:48	960	[DEBUG]	Checking manufacturer
2023-10-13	12:35:48	960	[DEBUG]	Load a row
2023-10-13	12:35:48	960	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:48	960	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:48	960	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:48	960	[DEBUG]	Executed store
2023-10-13	12:35:48	960	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:48	960	[DEBUG]	Manufacturer exists
2023-10-13	12:35:48	960	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:35:48	960	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:48	960	[DEBUG]	Executed store
2023-10-13	12:35:48	960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860452','26')
2023-10-13	12:35:48	960	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:48	960	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:48	960	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860452 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:48	960	[DEBUG]	Store custom available field
2023-10-13	12:35:48	960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860452,3,'',1)
2023-10-13	12:35:48	960	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:48	960	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:48	960	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860452 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:48	960	[DEBUG]	Store custom available field
2023-10-13	12:35:48	960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860452,6,'Unitaire',3)
2023-10-13	12:35:48	960	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:48	960	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:48	960	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860451
2023-10-13	12:35:48	960	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:48	960	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860451\":[1860451,8,1,\"choisir la taille\"],\"1860452\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860451
2023-10-13	12:35:48	960	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:48	960	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860452
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:48	961	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field taille
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:48	961	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:48	961	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:48	961	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:48	961	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:48	961	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:48	961	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field published
2023-10-13	12:35:48	961	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:48	961	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field override
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:48	961	[DEBUG]	Use field value for field slug
2023-10-13	12:35:48	961	[DEBUG]	Process line 961
2023-10-13	12:35:48	961	[DEBUG]	Load a row
2023-10-13	12:35:48	961	[DEBUG]	Processing item: A_9540_38
2023-10-13	12:35:48	961	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:48	961	[DEBUG]	Processing product tax
2023-10-13	12:35:48	961	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:48	961	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:48	961	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:48	961	[DEBUG]	Query for Product
2023-10-13	12:35:48	961	[DEBUG]	Executed store
2023-10-13	12:35:48	961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9540_38','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:48	961	[DEBUG]	Check product language entry
2023-10-13	12:35:48	961	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860453
2023-10-13	12:35:48	961	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:48	961	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9540_38' AND `virtuemart_product_id` != 1860453
2023-10-13	12:35:48	961	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:48	961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860453, 'A_9540_38')
2023-10-13	12:35:48	961	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:48	961	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-970-9sp-silver' AND `virtuemart_product_id` != 1860453
2023-10-13	12:35:48	961	[DEBUG]	Query for ProductLang
2023-10-13	12:35:48	961	[DEBUG]	Executed store
2023-10-13	12:35:48	961	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820200002200051134',`product_name`='SRAM Cassette PG-970 9SP / Silver',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-970-9sp-silver' WHERE `virtuemart_product_id` = '1860453'
2023-10-13	12:35:48	961	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38910_cassette_pg-970_9sp.jpg
2023-10-13	12:35:48	961	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:48	961	[DEBUG]	Process image file
2023-10-13	12:35:48	961	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:48	961	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:48	961	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38910_cassette_pg-970_9sp.jpg
2023-10-13	12:35:48	961	[DEBUG]	Full name target: bcprisme/38910_cassette_pg-970_9sp.jpg
2023-10-13	12:35:49	961	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:49	961	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38910_cassette_pg-970_9sp.jpg'
2023-10-13	12:35:49	961	[DEBUG]	Query for Media
2023-10-13	12:35:49	961	[DEBUG]	Executed store
2023-10-13	12:35:49	961	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38910_cassette_pg-970_9sp.jpg',`file_url_thumb`='bcprisme/38910_cassette_pg-970_9sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1462174'
2023-10-13	12:35:49	961	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:49	961	[DEBUG]	Executed store
2023-10-13	12:35:49	961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860453','1462174','1')
2023-10-13	12:35:49	961	[DEBUG]	Store product image relation
2023-10-13	12:35:49	961	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:49	961	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860453 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:49	961	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:49	961	[DEBUG]	Executed store
2023-10-13	12:35:49	961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860453','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:49	961	[DEBUG]	Checking manufacturer
2023-10-13	12:35:49	961	[DEBUG]	Load a row
2023-10-13	12:35:49	961	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:49	961	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:49	961	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:49	961	[DEBUG]	Executed store
2023-10-13	12:35:49	961	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:49	961	[DEBUG]	Manufacturer exists
2023-10-13	12:35:49	961	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:49	961	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:49	961	[DEBUG]	Executed store
2023-10-13	12:35:49	961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860453','35')
2023-10-13	12:35:49	961	[DEBUG]	Find the custom field ID
2023-10-13	12:35:49	961	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:49	961	[DEBUG]	No custom field ID found
2023-10-13	12:35:49	961	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:49	961	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:49	961	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860453 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:49	961	[DEBUG]	Store custom available field
2023-10-13	12:35:49	961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860453,3,'0',1)
2023-10-13	12:35:49	961	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:49	961	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:49	961	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860453 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:49	961	[DEBUG]	Store custom available field
2023-10-13	12:35:49	961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860453,6,'choisir la taille',3)
2023-10-13	12:35:49	961	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:49	961	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:49	961	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:49	961	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:49	961	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860453 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:49	961	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:49	961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860453,8,1)
2023-10-13	12:35:49	961	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:49	961	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860453\":[1860453,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860453
2023-10-13	12:35:49	961	[DEBUG]	Checking category
2023-10-13	12:35:49	961	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:49	961	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860453
2023-10-13	12:35:49	961	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:49	961	[DEBUG]	Executed store
2023-10-13	12:35:49	961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860453','7283')
2023-10-13	12:35:49	961	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:49	961	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860453 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:49	961	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:49	961	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860453
2023-10-13	12:35:49	962	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:49	962	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:49	962	[DEBUG]	Use field value for field taille
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:49	962	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:49	962	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:49	962	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:49	962	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:49	962	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:49	962	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:49	962	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:49	962	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:49	962	[DEBUG]	Use field value for field published
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:49	962	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field override
2023-10-13	12:35:49	962	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:49	962	[DEBUG]	Use field value for field slug
2023-10-13	12:35:49	962	[DEBUG]	Process line 962
2023-10-13	12:35:49	962	[DEBUG]	Load a row
2023-10-13	12:35:49	962	[DEBUG]	Processing item: 710845003936
2023-10-13	12:35:49	962	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:49	962	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:49	962	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9540_38'
2023-10-13	12:35:49	962	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:49	962	[DEBUG]	Processing product tax
2023-10-13	12:35:49	962	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:49	962	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:49	962	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:49	962	[DEBUG]	Query for Product
2023-10-13	12:35:49	962	[DEBUG]	Executed store
2023-10-13	12:35:49	962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860453','710845003936','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:49	962	[DEBUG]	No parent found
2023-10-13	12:35:49	962	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860453 AND customfield_value = 'stockable'
2023-10-13	12:35:49	962	[DEBUG]	Check product language entry
2023-10-13	12:35:49	962	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860454
2023-10-13	12:35:49	962	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:49	962	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845003936' AND `virtuemart_product_id` != 1860454
2023-10-13	12:35:49	962	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:49	962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860454, '710845003936')
2023-10-13	12:35:49	962	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:49	962	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-970-9sp-silver-11-32t' AND `virtuemart_product_id` != 1860454
2023-10-13	12:35:49	962	[DEBUG]	Query for ProductLang
2023-10-13	12:35:49	962	[DEBUG]	Executed store
2023-10-13	12:35:49	962	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette PG-970 9SP / Silver (11-32t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-970-9sp-silver-11-32t' WHERE `virtuemart_product_id` = '1860454'
2023-10-13	12:35:49	962	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38910_cassette_pg-970_9sp.jpg
2023-10-13	12:35:49	962	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:49	962	[DEBUG]	Process image file
2023-10-13	12:35:49	962	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:49	962	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:49	962	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38910_cassette_pg-970_9sp.jpg
2023-10-13	12:35:49	962	[DEBUG]	Full name target: bcprisme/38910_cassette_pg-970_9sp.jpg
2023-10-13	12:35:50	962	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:50	962	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38910_cassette_pg-970_9sp.jpg'
2023-10-13	12:35:50	962	[DEBUG]	Query for Media
2023-10-13	12:35:50	962	[DEBUG]	Executed store
2023-10-13	12:35:50	962	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38910_cassette_pg-970_9sp.jpg',`file_url_thumb`='bcprisme/38910_cassette_pg-970_9sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1462174'
2023-10-13	12:35:50	962	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:50	962	[DEBUG]	Executed store
2023-10-13	12:35:50	962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860454','1462174','1')
2023-10-13	12:35:50	962	[DEBUG]	Store product image relation
2023-10-13	12:35:50	962	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:50	962	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860454 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:50	962	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:50	962	[DEBUG]	Executed store
2023-10-13	12:35:50	962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860454','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:50	962	[DEBUG]	Checking manufacturer
2023-10-13	12:35:50	962	[DEBUG]	Load a row
2023-10-13	12:35:50	962	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:50	962	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:50	962	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:50	962	[DEBUG]	Executed store
2023-10-13	12:35:50	962	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:50	962	[DEBUG]	Manufacturer exists
2023-10-13	12:35:50	962	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:50	962	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:50	962	[DEBUG]	Executed store
2023-10-13	12:35:50	962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860454','35')
2023-10-13	12:35:50	962	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:50	962	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:50	962	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860454 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:50	962	[DEBUG]	Store custom available field
2023-10-13	12:35:50	962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860454,3,'',1)
2023-10-13	12:35:50	962	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:50	962	[DEBUG]	Get existing row with customfield value 11-32t
2023-10-13	12:35:50	962	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860454 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:50	962	[DEBUG]	Store custom available field
2023-10-13	12:35:50	962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860454,6,'11-32t',3)
2023-10-13	12:35:50	962	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:50	962	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:50	962	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860453
2023-10-13	12:35:50	962	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:50	962	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n11-32t\"}]|clabels=0|options={\"1860453\":[1860453,8,1,\"choisir la taille\"],\"1860454\":[\"11-32t\"]}|' WHERE `virtuemart_product_id` = 1860453
2023-10-13	12:35:50	962	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:50	962	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860454
2023-10-13	12:35:50	963	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:50	963	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:50	963	[DEBUG]	Use field value for field taille
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:50	963	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:50	963	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:50	963	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:50	963	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:50	963	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:50	963	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:50	963	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:50	963	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:50	963	[DEBUG]	Use field value for field published
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:50	963	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field override
2023-10-13	12:35:50	963	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:50	963	[DEBUG]	Use field value for field slug
2023-10-13	12:35:50	963	[DEBUG]	Process line 963
2023-10-13	12:35:50	963	[DEBUG]	Load a row
2023-10-13	12:35:50	963	[DEBUG]	Processing item: 710845003943
2023-10-13	12:35:50	963	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:50	963	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:50	963	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9540_38'
2023-10-13	12:35:50	963	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:50	963	[DEBUG]	Processing product tax
2023-10-13	12:35:50	963	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:50	963	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:50	963	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:50	963	[DEBUG]	Query for Product
2023-10-13	12:35:50	963	[DEBUG]	Executed store
2023-10-13	12:35:50	963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860453','710845003943','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:50	963	[DEBUG]	No parent found
2023-10-13	12:35:50	963	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860453 AND customfield_value = 'stockable'
2023-10-13	12:35:50	963	[DEBUG]	Check product language entry
2023-10-13	12:35:50	963	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860455
2023-10-13	12:35:50	963	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:50	963	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845003943' AND `virtuemart_product_id` != 1860455
2023-10-13	12:35:50	963	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:50	963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860455, '710845003943')
2023-10-13	12:35:50	963	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:50	963	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-970-9sp-silver-11-34t' AND `virtuemart_product_id` != 1860455
2023-10-13	12:35:50	963	[DEBUG]	Query for ProductLang
2023-10-13	12:35:50	963	[DEBUG]	Executed store
2023-10-13	12:35:50	963	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette PG-970 9SP / Silver (11-34t)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-970-9sp-silver-11-34t' WHERE `virtuemart_product_id` = '1860455'
2023-10-13	12:35:50	963	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38910_cassette_pg-970_9sp.jpg
2023-10-13	12:35:50	963	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:50	963	[DEBUG]	Process image file
2023-10-13	12:35:50	963	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:50	963	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:50	963	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38910_cassette_pg-970_9sp.jpg
2023-10-13	12:35:50	963	[DEBUG]	Full name target: bcprisme/38910_cassette_pg-970_9sp.jpg
2023-10-13	12:35:51	963	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:51	963	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38910_cassette_pg-970_9sp.jpg'
2023-10-13	12:35:51	963	[DEBUG]	Query for Media
2023-10-13	12:35:51	963	[DEBUG]	Executed store
2023-10-13	12:35:51	963	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38910_cassette_pg-970_9sp.jpg',`file_url_thumb`='bcprisme/38910_cassette_pg-970_9sp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1462174'
2023-10-13	12:35:51	963	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:51	963	[DEBUG]	Executed store
2023-10-13	12:35:51	963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860455','1462174','1')
2023-10-13	12:35:51	963	[DEBUG]	Store product image relation
2023-10-13	12:35:51	963	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:51	963	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860455 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:51	963	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:51	963	[DEBUG]	Executed store
2023-10-13	12:35:51	963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860455','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:51	963	[DEBUG]	Checking manufacturer
2023-10-13	12:35:51	963	[DEBUG]	Load a row
2023-10-13	12:35:51	963	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:51	963	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:51	963	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:51	963	[DEBUG]	Executed store
2023-10-13	12:35:51	963	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:51	963	[DEBUG]	Manufacturer exists
2023-10-13	12:35:51	963	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:51	963	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:51	963	[DEBUG]	Executed store
2023-10-13	12:35:51	963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860455','35')
2023-10-13	12:35:51	963	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:51	963	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:51	963	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860455 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:51	963	[DEBUG]	Store custom available field
2023-10-13	12:35:51	963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860455,3,'',1)
2023-10-13	12:35:51	963	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:51	963	[DEBUG]	Get existing row with customfield value 11-34t
2023-10-13	12:35:51	963	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860455 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:51	963	[DEBUG]	Store custom available field
2023-10-13	12:35:51	963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860455,6,'11-34t',3)
2023-10-13	12:35:51	963	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:51	963	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:51	963	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860453
2023-10-13	12:35:51	963	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:51	963	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n11-32t\\r\\n11-34t\"}]|clabels=0|options={\"1860453\":[1860453,8,1,\"choisir la taille\"],\"1860454\":[\"11-32t\"],\"1860455\":[\"11-34t\"]}|' WHERE `virtuemart_product_id` = 1860453
2023-10-13	12:35:51	963	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:51	963	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860455
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:51	964	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field taille
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:51	964	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:51	964	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:51	964	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:51	964	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:51	964	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:51	964	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field published
2023-10-13	12:35:51	964	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:51	964	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field override
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:51	964	[DEBUG]	Use field value for field slug
2023-10-13	12:35:51	964	[DEBUG]	Process line 964
2023-10-13	12:35:51	964	[DEBUG]	Load a row
2023-10-13	12:35:51	964	[DEBUG]	Processing item: A_9581_13
2023-10-13	12:35:51	964	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:51	964	[DEBUG]	Processing product tax
2023-10-13	12:35:51	964	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:51	964	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:51	964	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:51	964	[DEBUG]	Query for Product
2023-10-13	12:35:51	964	[DEBUG]	Executed store
2023-10-13	12:35:51	964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9581_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:51	964	[DEBUG]	Check product language entry
2023-10-13	12:35:51	964	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860456
2023-10-13	12:35:51	964	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:51	964	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9581_13' AND `virtuemart_product_id` != 1860456
2023-10-13	12:35:51	964	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:51	964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860456, 'A_9581_13')
2023-10-13	12:35:51	964	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:51	964	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-1130-11-vit-11-36z-argent' AND `virtuemart_product_id` != 1860456
2023-10-13	12:35:51	964	[DEBUG]	Query for ProductLang
2023-10-13	12:35:51	964	[DEBUG]	Executed store
2023-10-13	12:35:51	964	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7509E',`product_name`='SRAM Cassette PG-1130 11-vit. 11-36Z  / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-1130-11-vit-11-36z-argent' WHERE `virtuemart_product_id` = '1860456'
2023-10-13	12:35:51	964	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38949_cassette_pg-1130_11-vit__11-36z_.jpg
2023-10-13	12:35:51	964	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:51	964	[DEBUG]	Process image file
2023-10-13	12:35:51	964	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:51	964	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:51	964	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38949_cassette_pg-1130_11-vit__11-36z_.jpg
2023-10-13	12:35:51	964	[DEBUG]	Full name target: bcprisme/38949_cassette_pg-1130_11-vit__11-36z_.jpg
2023-10-13	12:35:52	964	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:52	964	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38949_cassette_pg-1130_11-vit__11-36z_.jpg'
2023-10-13	12:35:52	964	[DEBUG]	Query for Media
2023-10-13	12:35:52	964	[DEBUG]	Executed store
2023-10-13	12:35:52	964	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38949_cassette_pg-1130_11-vit__11-36z_.jpg',`file_url_thumb`='bcprisme/38949_cassette_pg-1130_11-vit__11-36z_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1476927'
2023-10-13	12:35:52	964	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:52	964	[DEBUG]	Executed store
2023-10-13	12:35:52	964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860456','1476927','1')
2023-10-13	12:35:52	964	[DEBUG]	Store product image relation
2023-10-13	12:35:52	964	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:52	964	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860456 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:52	964	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:52	964	[DEBUG]	Executed store
2023-10-13	12:35:52	964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860456','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:52	964	[DEBUG]	Checking manufacturer
2023-10-13	12:35:52	964	[DEBUG]	Load a row
2023-10-13	12:35:52	964	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:52	964	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:52	964	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:52	964	[DEBUG]	Executed store
2023-10-13	12:35:52	964	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:52	964	[DEBUG]	Manufacturer exists
2023-10-13	12:35:52	964	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:52	964	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:52	964	[DEBUG]	Executed store
2023-10-13	12:35:52	964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860456','35')
2023-10-13	12:35:52	964	[DEBUG]	Find the custom field ID
2023-10-13	12:35:52	964	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:52	964	[DEBUG]	No custom field ID found
2023-10-13	12:35:52	964	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:52	964	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:52	964	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860456 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:52	964	[DEBUG]	Store custom available field
2023-10-13	12:35:52	964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860456,3,'0',1)
2023-10-13	12:35:52	964	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:52	964	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:52	964	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860456 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:52	964	[DEBUG]	Store custom available field
2023-10-13	12:35:52	964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860456,6,'choisir la taille',3)
2023-10-13	12:35:52	964	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:52	964	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:52	964	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:52	964	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:52	964	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860456 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:52	964	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:52	964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860456,8,1)
2023-10-13	12:35:52	964	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:52	964	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860456\":[1860456,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860456
2023-10-13	12:35:52	964	[DEBUG]	Checking category
2023-10-13	12:35:52	964	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:52	964	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860456
2023-10-13	12:35:52	964	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:52	964	[DEBUG]	Executed store
2023-10-13	12:35:52	964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860456','7283')
2023-10-13	12:35:52	964	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:52	964	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860456 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:52	964	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:52	964	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860456
2023-10-13	12:35:52	965	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:52	965	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:52	965	[DEBUG]	Use field value for field taille
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:52	965	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:52	965	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:52	965	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:52	965	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:52	965	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:52	965	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:52	965	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:52	965	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:52	965	[DEBUG]	Use field value for field published
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:52	965	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field override
2023-10-13	12:35:52	965	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:52	965	[DEBUG]	Use field value for field slug
2023-10-13	12:35:52	965	[DEBUG]	Process line 965
2023-10-13	12:35:52	965	[DEBUG]	Load a row
2023-10-13	12:35:52	965	[DEBUG]	Processing item: 1000004857685
2023-10-13	12:35:52	965	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:52	965	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:52	965	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9581_13'
2023-10-13	12:35:52	965	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:52	965	[DEBUG]	Processing product tax
2023-10-13	12:35:52	965	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:52	965	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:52	965	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:52	965	[DEBUG]	Query for Product
2023-10-13	12:35:52	965	[DEBUG]	Executed store
2023-10-13	12:35:52	965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860456','1000004857685','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:52	965	[DEBUG]	No parent found
2023-10-13	12:35:52	965	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860456 AND customfield_value = 'stockable'
2023-10-13	12:35:52	965	[DEBUG]	Check product language entry
2023-10-13	12:35:52	965	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860457
2023-10-13	12:35:52	965	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:52	965	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000004857685' AND `virtuemart_product_id` != 1860457
2023-10-13	12:35:52	965	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:52	965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860457, '1000004857685')
2023-10-13	12:35:52	965	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:52	965	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cassette-pg-1130-11-vit-11-36z-argent-unitaire' AND `virtuemart_product_id` != 1860457
2023-10-13	12:35:52	965	[DEBUG]	Query for ProductLang
2023-10-13	12:35:52	965	[DEBUG]	Executed store
2023-10-13	12:35:52	965	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cassette PG-1130 11-vit. 11-36Z  / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cassette-pg-1130-11-vit-11-36z-argent-unitaire' WHERE `virtuemart_product_id` = '1860457'
2023-10-13	12:35:52	965	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38949_cassette_pg-1130_11-vit__11-36z_.jpg
2023-10-13	12:35:52	965	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:52	965	[DEBUG]	Process image file
2023-10-13	12:35:52	965	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:52	965	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:52	965	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38949_cassette_pg-1130_11-vit__11-36z_.jpg
2023-10-13	12:35:52	965	[DEBUG]	Full name target: bcprisme/38949_cassette_pg-1130_11-vit__11-36z_.jpg
2023-10-13	12:35:53	965	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:53	965	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38949_cassette_pg-1130_11-vit__11-36z_.jpg'
2023-10-13	12:35:53	965	[DEBUG]	Query for Media
2023-10-13	12:35:53	965	[DEBUG]	Executed store
2023-10-13	12:35:53	965	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38949_cassette_pg-1130_11-vit__11-36z_.jpg',`file_url_thumb`='bcprisme/38949_cassette_pg-1130_11-vit__11-36z_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1476927'
2023-10-13	12:35:53	965	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:53	965	[DEBUG]	Executed store
2023-10-13	12:35:53	965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860457','1476927','1')
2023-10-13	12:35:53	965	[DEBUG]	Store product image relation
2023-10-13	12:35:53	965	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:53	965	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860457 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:53	965	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:53	965	[DEBUG]	Executed store
2023-10-13	12:35:53	965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860457','0','101.207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:53	965	[DEBUG]	Checking manufacturer
2023-10-13	12:35:53	965	[DEBUG]	Load a row
2023-10-13	12:35:53	965	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:53	965	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:53	965	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:53	965	[DEBUG]	Executed store
2023-10-13	12:35:53	965	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:35:53	965	[DEBUG]	Manufacturer exists
2023-10-13	12:35:53	965	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:35:53	965	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:53	965	[DEBUG]	Executed store
2023-10-13	12:35:53	965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860457','35')
2023-10-13	12:35:53	965	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:53	965	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:53	965	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860457 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:53	965	[DEBUG]	Store custom available field
2023-10-13	12:35:53	965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860457,3,'',1)
2023-10-13	12:35:53	965	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:53	965	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:53	965	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860457 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:53	965	[DEBUG]	Store custom available field
2023-10-13	12:35:53	965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860457,6,'Unitaire',3)
2023-10-13	12:35:53	965	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:53	965	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:53	965	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860456
2023-10-13	12:35:53	965	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:53	965	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860456\":[1860456,8,1,\"choisir la taille\"],\"1860457\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860456
2023-10-13	12:35:53	965	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:53	965	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860457
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:53	966	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field taille
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:53	966	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:53	966	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:53	966	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:53	966	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:53	966	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:53	966	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field published
2023-10-13	12:35:53	966	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:53	966	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field override
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:53	966	[DEBUG]	Use field value for field slug
2023-10-13	12:35:53	966	[DEBUG]	Process line 966
2023-10-13	12:35:53	966	[DEBUG]	Load a row
2023-10-13	12:35:53	966	[DEBUG]	Processing item: A_9702_208
2023-10-13	12:35:53	966	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:53	966	[DEBUG]	Processing product tax
2023-10-13	12:35:53	966	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:53	966	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:53	966	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:53	966	[DEBUG]	Query for Product
2023-10-13	12:35:53	966	[DEBUG]	Executed store
2023-10-13	12:35:53	966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9702_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:53	966	[DEBUG]	Check product language entry
2023-10-13	12:35:53	966	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860458
2023-10-13	12:35:53	966	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:53	966	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9702_208' AND `virtuemart_product_id` != 1860458
2023-10-13	12:35:53	966	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:53	966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860458, 'A_9702_208')
2023-10-13	12:35:53	966	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:53	966	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-6700-10-vitesses-11-28-dents-box-aucune' AND `virtuemart_product_id` != 1860458
2023-10-13	12:35:53	966	[DEBUG]	Query for ProductLang
2023-10-13	12:35:53	966	[DEBUG]	Executed store
2023-10-13	12:35:53	966	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.48650',`product_name`='SHIMANO cassette Ultegra CS-6700 10-vitesses 11-28 dents  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-6700-10-vitesses-11-28-dents-box-aucune' WHERE `virtuemart_product_id` = '1860458'
2023-10-13	12:35:53	966	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_4864.jpg
2023-10-13	12:35:53	966	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:53	966	[DEBUG]	Process image file
2023-10-13	12:35:53	966	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:53	966	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:53	966	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_4864.jpg
2023-10-13	12:35:53	966	[DEBUG]	Full name target: bcprisme/67_4864.jpg
2023-10-13	12:35:54	966	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:54	966	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_4864.jpg'
2023-10-13	12:35:54	966	[DEBUG]	Query for Media
2023-10-13	12:35:54	966	[DEBUG]	Executed store
2023-10-13	12:35:54	966	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_4864.jpg',`file_url_thumb`='bcprisme/67_4864.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1536529'
2023-10-13	12:35:54	966	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:54	966	[DEBUG]	Executed store
2023-10-13	12:35:54	966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860458','1536529','1')
2023-10-13	12:35:54	966	[DEBUG]	Store product image relation
2023-10-13	12:35:54	966	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:54	966	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860458 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:54	966	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:54	966	[DEBUG]	Executed store
2023-10-13	12:35:54	966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860458','0','87.2794800371402','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:54	966	[DEBUG]	Checking manufacturer
2023-10-13	12:35:54	966	[DEBUG]	Load a row
2023-10-13	12:35:54	966	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:54	966	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:54	966	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:54	966	[DEBUG]	Executed store
2023-10-13	12:35:54	966	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:54	966	[DEBUG]	Manufacturer exists
2023-10-13	12:35:54	966	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:35:54	966	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:54	966	[DEBUG]	Executed store
2023-10-13	12:35:54	966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860458','26')
2023-10-13	12:35:54	966	[DEBUG]	Find the custom field ID
2023-10-13	12:35:54	966	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:54	966	[DEBUG]	No custom field ID found
2023-10-13	12:35:54	966	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:54	966	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:54	966	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860458 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:54	966	[DEBUG]	Store custom available field
2023-10-13	12:35:54	966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860458,3,'0',1)
2023-10-13	12:35:54	966	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:54	966	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:54	966	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860458 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:54	966	[DEBUG]	Store custom available field
2023-10-13	12:35:54	966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860458,6,'choisir la taille',3)
2023-10-13	12:35:54	966	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:54	966	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:54	966	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:54	966	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:54	966	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860458 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:54	966	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:54	966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860458,8,1)
2023-10-13	12:35:54	966	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:54	966	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860458\":[1860458,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860458
2023-10-13	12:35:54	966	[DEBUG]	Checking category
2023-10-13	12:35:54	966	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:54	966	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860458
2023-10-13	12:35:54	966	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:54	966	[DEBUG]	Executed store
2023-10-13	12:35:54	966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860458','7283')
2023-10-13	12:35:54	966	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:54	966	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860458 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:54	966	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:54	966	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860458
2023-10-13	12:35:54	967	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:54	967	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:54	967	[DEBUG]	Use field value for field taille
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:54	967	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:54	967	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:54	967	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:54	967	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:54	967	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:54	967	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:54	967	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:54	967	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:54	967	[DEBUG]	Use field value for field published
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:54	967	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field override
2023-10-13	12:35:54	967	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:54	967	[DEBUG]	Use field value for field slug
2023-10-13	12:35:54	967	[DEBUG]	Process line 967
2023-10-13	12:35:54	967	[DEBUG]	Load a row
2023-10-13	12:35:54	967	[DEBUG]	Processing item: 4524667293651
2023-10-13	12:35:54	967	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:54	967	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:54	967	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9702_208'
2023-10-13	12:35:54	967	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:54	967	[DEBUG]	Processing product tax
2023-10-13	12:35:54	967	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:54	967	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:54	967	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:54	967	[DEBUG]	Query for Product
2023-10-13	12:35:54	967	[DEBUG]	Executed store
2023-10-13	12:35:54	967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860458','4524667293651','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:54	967	[DEBUG]	No parent found
2023-10-13	12:35:54	967	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860458 AND customfield_value = 'stockable'
2023-10-13	12:35:54	967	[DEBUG]	Check product language entry
2023-10-13	12:35:54	967	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860459
2023-10-13	12:35:54	967	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:54	967	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667293651' AND `virtuemart_product_id` != 1860459
2023-10-13	12:35:54	967	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:54	967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860459, '4524667293651')
2023-10-13	12:35:54	967	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:54	967	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-ultegra-cs-6700-10-vitesses-11-28-dents-box-aucune-unitaire' AND `virtuemart_product_id` != 1860459
2023-10-13	12:35:54	967	[DEBUG]	Query for ProductLang
2023-10-13	12:35:54	967	[DEBUG]	Executed store
2023-10-13	12:35:54	967	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO cassette Ultegra CS-6700 10-vitesses 11-28 dents  box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-ultegra-cs-6700-10-vitesses-11-28-dents-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860459'
2023-10-13	12:35:54	967	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_4864.jpg
2023-10-13	12:35:54	967	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:54	967	[DEBUG]	Process image file
2023-10-13	12:35:54	967	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:54	967	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:54	967	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_4864.jpg
2023-10-13	12:35:54	967	[DEBUG]	Full name target: bcprisme/67_4864.jpg
2023-10-13	12:35:55	967	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:55	967	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_4864.jpg'
2023-10-13	12:35:55	967	[DEBUG]	Query for Media
2023-10-13	12:35:55	967	[DEBUG]	Executed store
2023-10-13	12:35:55	967	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_4864.jpg',`file_url_thumb`='bcprisme/67_4864.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1536529'
2023-10-13	12:35:55	967	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:55	967	[DEBUG]	Executed store
2023-10-13	12:35:55	967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860459','1536529','1')
2023-10-13	12:35:55	967	[DEBUG]	Store product image relation
2023-10-13	12:35:55	967	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:55	967	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860459 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:55	967	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:55	967	[DEBUG]	Executed store
2023-10-13	12:35:55	967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860459','0','87.2794800371402','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:55	967	[DEBUG]	Checking manufacturer
2023-10-13	12:35:55	967	[DEBUG]	Load a row
2023-10-13	12:35:55	967	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:55	967	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:55	967	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:56	967	[DEBUG]	Executed store
2023-10-13	12:35:56	967	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:56	967	[DEBUG]	Manufacturer exists
2023-10-13	12:35:56	967	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:35:56	967	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:56	967	[DEBUG]	Executed store
2023-10-13	12:35:56	967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860459','26')
2023-10-13	12:35:56	967	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:56	967	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:56	967	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860459 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:56	967	[DEBUG]	Store custom available field
2023-10-13	12:35:56	967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860459,3,'',1)
2023-10-13	12:35:56	967	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:56	967	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:56	967	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860459 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:56	967	[DEBUG]	Store custom available field
2023-10-13	12:35:56	967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860459,6,'Unitaire',3)
2023-10-13	12:35:56	967	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:56	967	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:56	967	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860458
2023-10-13	12:35:56	967	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:56	967	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860458\":[1860458,8,1,\"choisir la taille\"],\"1860459\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860458
2023-10-13	12:35:56	967	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:56	967	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860459
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:56	968	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field taille
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:56	968	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:56	968	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:56	968	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:56	968	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:56	968	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:56	968	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field published
2023-10-13	12:35:56	968	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:56	968	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field override
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:56	968	[DEBUG]	Use field value for field slug
2023-10-13	12:35:56	968	[DEBUG]	Process line 968
2023-10-13	12:35:56	968	[DEBUG]	Load a row
2023-10-13	12:35:56	968	[DEBUG]	Processing item: A_9709_208
2023-10-13	12:35:56	968	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:56	968	[DEBUG]	Processing product tax
2023-10-13	12:35:56	968	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:56	968	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:56	968	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:56	968	[DEBUG]	Query for Product
2023-10-13	12:35:56	968	[DEBUG]	Executed store
2023-10-13	12:35:56	968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9709_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:56	968	[DEBUG]	Check product language entry
2023-10-13	12:35:56	968	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860460
2023-10-13	12:35:56	968	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:56	968	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9709_208' AND `virtuemart_product_id` != 1860460
2023-10-13	12:35:56	968	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:56	968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860460, 'A_9709_208')
2023-10-13	12:35:56	968	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:56	968	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-cs-lg700-11-cues-11-vitesses-11-45-dents-box-aucune' AND `virtuemart_product_id` != 1860460
2023-10-13	12:35:56	968	[DEBUG]	Query for ProductLang
2023-10-13	12:35:56	968	[DEBUG]	Executed store
2023-10-13	12:35:56	968	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 67.83549',`product_name`='SHIMANO cassette CS-LG700-11 CUES 11-vitesses 11-45 dents box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-cs-lg700-11-cues-11-vitesses-11-45-dents-box-aucune' WHERE `virtuemart_product_id` = '1860460'
2023-10-13	12:35:56	968	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_82630_0.jpg
2023-10-13	12:35:56	968	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:56	968	[DEBUG]	Process image file
2023-10-13	12:35:56	968	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:56	968	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:56	968	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_82630_0.jpg
2023-10-13	12:35:56	968	[DEBUG]	Full name target: bcprisme/67_82630_0.jpg
2023-10-13	12:35:57	968	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:57	968	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_82630_0.jpg'
2023-10-13	12:35:57	968	[DEBUG]	Query for Media
2023-10-13	12:35:57	968	[DEBUG]	Executed store
2023-10-13	12:35:57	968	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_82630_0.jpg',`file_url_thumb`='bcprisme/67_82630_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1428888'
2023-10-13	12:35:57	968	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:57	968	[DEBUG]	Executed store
2023-10-13	12:35:57	968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860460','1428888','1')
2023-10-13	12:35:57	968	[DEBUG]	Store product image relation
2023-10-13	12:35:57	968	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:57	968	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860460 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:57	968	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:57	968	[DEBUG]	Executed store
2023-10-13	12:35:57	968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860460','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:57	968	[DEBUG]	Checking manufacturer
2023-10-13	12:35:57	968	[DEBUG]	Load a row
2023-10-13	12:35:57	968	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:57	968	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:57	968	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:57	968	[DEBUG]	Executed store
2023-10-13	12:35:57	968	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:57	968	[DEBUG]	Manufacturer exists
2023-10-13	12:35:57	968	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:35:57	968	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:57	968	[DEBUG]	Executed store
2023-10-13	12:35:57	968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860460','26')
2023-10-13	12:35:57	968	[DEBUG]	Find the custom field ID
2023-10-13	12:35:57	968	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:57	968	[DEBUG]	No custom field ID found
2023-10-13	12:35:57	968	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:57	968	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:57	968	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860460 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:57	968	[DEBUG]	Store custom available field
2023-10-13	12:35:57	968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860460,3,'0',1)
2023-10-13	12:35:57	968	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:57	968	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:57	968	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860460 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:57	968	[DEBUG]	Store custom available field
2023-10-13	12:35:57	968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860460,6,'choisir la taille',3)
2023-10-13	12:35:57	968	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:57	968	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:57	968	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:57	968	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:57	968	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860460 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:57	968	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:57	968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860460,8,1)
2023-10-13	12:35:57	968	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:57	968	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860460\":[1860460,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860460
2023-10-13	12:35:57	968	[DEBUG]	Checking category
2023-10-13	12:35:57	968	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:57	968	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860460
2023-10-13	12:35:57	968	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:57	968	[DEBUG]	Executed store
2023-10-13	12:35:57	968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860460','7283')
2023-10-13	12:35:57	968	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:57	968	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860460 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:57	968	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:57	968	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860460
2023-10-13	12:35:57	969	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:57	969	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:57	969	[DEBUG]	Use field value for field taille
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:57	969	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:57	969	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:57	969	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:57	969	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:57	969	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:57	969	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:57	969	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:57	969	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:57	969	[DEBUG]	Use field value for field published
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:57	969	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field override
2023-10-13	12:35:57	969	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:57	969	[DEBUG]	Use field value for field slug
2023-10-13	12:35:57	969	[DEBUG]	Process line 969
2023-10-13	12:35:57	969	[DEBUG]	Load a row
2023-10-13	12:35:57	969	[DEBUG]	Processing item: 4550170171988
2023-10-13	12:35:57	969	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:57	969	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:57	969	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9709_208'
2023-10-13	12:35:57	969	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:57	969	[DEBUG]	Processing product tax
2023-10-13	12:35:57	969	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:57	969	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:57	969	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:57	969	[DEBUG]	Query for Product
2023-10-13	12:35:57	969	[DEBUG]	Executed store
2023-10-13	12:35:57	969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860460','4550170171988','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:57	969	[DEBUG]	No parent found
2023-10-13	12:35:57	969	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860460 AND customfield_value = 'stockable'
2023-10-13	12:35:57	969	[DEBUG]	Check product language entry
2023-10-13	12:35:57	969	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860461
2023-10-13	12:35:57	969	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:57	969	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170171988' AND `virtuemart_product_id` != 1860461
2023-10-13	12:35:57	969	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:57	969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860461, '4550170171988')
2023-10-13	12:35:57	969	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:57	969	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-cs-lg700-11-cues-11-vitesses-11-45-dents-box-aucune-unitaire' AND `virtuemart_product_id` != 1860461
2023-10-13	12:35:57	969	[DEBUG]	Query for ProductLang
2023-10-13	12:35:57	969	[DEBUG]	Executed store
2023-10-13	12:35:57	969	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO cassette CS-LG700-11 CUES 11-vitesses 11-45 dents box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-cs-lg700-11-cues-11-vitesses-11-45-dents-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860461'
2023-10-13	12:35:57	969	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_82630_0.jpg
2023-10-13	12:35:57	969	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:57	969	[DEBUG]	Process image file
2023-10-13	12:35:57	969	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:35:57	969	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:57	969	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/67_82630_0.jpg
2023-10-13	12:35:57	969	[DEBUG]	Full name target: bcprisme/67_82630_0.jpg
2023-10-13	12:35:58	969	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:58	969	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/67_82630_0.jpg'
2023-10-13	12:35:58	969	[DEBUG]	Query for Media
2023-10-13	12:35:58	969	[DEBUG]	Executed store
2023-10-13	12:35:58	969	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/67_82630_0.jpg',`file_url_thumb`='bcprisme/67_82630_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1428888'
2023-10-13	12:35:58	969	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:58	969	[DEBUG]	Executed store
2023-10-13	12:35:58	969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860461','1428888','1')
2023-10-13	12:35:58	969	[DEBUG]	Store product image relation
2023-10-13	12:35:58	969	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:58	969	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860461 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:58	969	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:58	969	[DEBUG]	Executed store
2023-10-13	12:35:58	969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860461','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:58	969	[DEBUG]	Checking manufacturer
2023-10-13	12:35:58	969	[DEBUG]	Load a row
2023-10-13	12:35:58	969	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:58	969	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:58	969	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:58	969	[DEBUG]	Executed store
2023-10-13	12:35:58	969	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:35:58	969	[DEBUG]	Manufacturer exists
2023-10-13	12:35:58	969	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:35:58	969	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:58	969	[DEBUG]	Executed store
2023-10-13	12:35:58	969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860461','26')
2023-10-13	12:35:58	969	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:58	969	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:58	969	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860461 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:58	969	[DEBUG]	Store custom available field
2023-10-13	12:35:58	969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860461,3,'',1)
2023-10-13	12:35:58	969	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:58	969	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:35:58	969	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860461 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:58	969	[DEBUG]	Store custom available field
2023-10-13	12:35:58	969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860461,6,'Unitaire',3)
2023-10-13	12:35:58	969	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:58	969	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:58	969	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860460
2023-10-13	12:35:58	969	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:58	969	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860460\":[1860460,8,1,\"choisir la taille\"],\"1860461\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860460
2023-10-13	12:35:58	969	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:58	969	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860461
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:58	970	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field taille
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:58	970	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:58	970	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:58	970	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:58	970	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:58	970	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:58	970	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field published
2023-10-13	12:35:58	970	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:58	970	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field override
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:58	970	[DEBUG]	Use field value for field slug
2023-10-13	12:35:58	970	[DEBUG]	Process line 970
2023-10-13	12:35:58	970	[DEBUG]	Load a row
2023-10-13	12:35:58	970	[DEBUG]	Processing item: A_9850_8
2023-10-13	12:35:58	970	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:58	970	[DEBUG]	Processing product tax
2023-10-13	12:35:58	970	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:58	970	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:58	970	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:58	970	[DEBUG]	Query for Product
2023-10-13	12:35:58	970	[DEBUG]	Executed store
2023-10-13	12:35:58	970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9850_8','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:58	970	[DEBUG]	Check product language entry
2023-10-13	12:35:58	970	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860462
2023-10-13	12:35:58	970	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:58	970	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9850_8' AND `virtuemart_product_id` != 1860462
2023-10-13	12:35:58	970	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:58	970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860462, 'A_9850_8')
2023-10-13	12:35:58	970	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:58	970	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-cs-hg50-7-vitesses-chrome' AND `virtuemart_product_id` != 1860462
2023-10-13	12:35:58	970	[DEBUG]	Query for ProductLang
2023-10-13	12:35:58	970	[DEBUG]	Executed store
2023-10-13	12:35:58	970	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 4524667728573',`product_name`='SHIMANO Cassette CS-HG50 7 vitesses / chromé',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-cs-hg50-7-vitesses-chrome' WHERE `virtuemart_product_id` = '1860462'
2023-10-13	12:35:58	970	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39861_cassette_cs-hg50_7_vitesses.jpg has not been found.
2023-10-13	12:35:58	970	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:58	970	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860462 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:58	970	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:58	970	[DEBUG]	Executed store
2023-10-13	12:35:58	970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860462','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:58	970	[DEBUG]	Checking manufacturer
2023-10-13	12:35:58	970	[DEBUG]	Load a row
2023-10-13	12:35:58	970	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:58	970	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:35:58	970	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:58	970	[DEBUG]	Executed store
2023-10-13	12:35:58	970	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:35:58	970	[DEBUG]	Manufacturer exists
2023-10-13	12:35:58	970	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:35:58	970	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:58	970	[DEBUG]	Executed store
2023-10-13	12:35:58	970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860462','123')
2023-10-13	12:35:58	970	[DEBUG]	Find the custom field ID
2023-10-13	12:35:58	970	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:58	970	[DEBUG]	No custom field ID found
2023-10-13	12:35:58	970	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:58	970	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:58	970	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860462 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:58	970	[DEBUG]	Store custom available field
2023-10-13	12:35:58	970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860462,3,'0',1)
2023-10-13	12:35:58	970	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:58	970	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:58	970	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860462 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:58	970	[DEBUG]	Store custom available field
2023-10-13	12:35:58	970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860462,6,'choisir la taille',3)
2023-10-13	12:35:58	970	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:58	970	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:58	970	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:58	970	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:58	970	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860462 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:58	970	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:58	970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860462,8,1)
2023-10-13	12:35:58	970	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:58	970	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860462\":[1860462,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860462
2023-10-13	12:35:58	970	[DEBUG]	Checking category
2023-10-13	12:35:58	970	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:58	970	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860462
2023-10-13	12:35:58	970	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:58	970	[DEBUG]	Executed store
2023-10-13	12:35:58	970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860462','7283')
2023-10-13	12:35:58	970	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:58	970	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860462 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:58	970	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:58	970	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860462
2023-10-13	12:35:58	971	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:58	971	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:58	971	[DEBUG]	Use field value for field taille
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:58	971	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:58	971	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:58	971	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:58	971	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:58	971	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:58	971	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:58	971	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:58	971	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:58	971	[DEBUG]	Use field value for field published
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:58	971	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field override
2023-10-13	12:35:58	971	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:58	971	[DEBUG]	Use field value for field slug
2023-10-13	12:35:58	971	[DEBUG]	Process line 971
2023-10-13	12:35:58	971	[DEBUG]	Load a row
2023-10-13	12:35:58	971	[DEBUG]	Processing item: 1000022735309
2023-10-13	12:35:58	971	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:58	971	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:58	971	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9850_8'
2023-10-13	12:35:58	971	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:58	971	[DEBUG]	Processing product tax
2023-10-13	12:35:58	971	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:58	971	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:58	971	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:58	971	[DEBUG]	Query for Product
2023-10-13	12:35:58	971	[DEBUG]	Executed store
2023-10-13	12:35:58	971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860462','1000022735309','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:58	971	[DEBUG]	No parent found
2023-10-13	12:35:58	971	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860462 AND customfield_value = 'stockable'
2023-10-13	12:35:58	971	[DEBUG]	Check product language entry
2023-10-13	12:35:58	971	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860463
2023-10-13	12:35:58	971	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:58	971	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022735309' AND `virtuemart_product_id` != 1860463
2023-10-13	12:35:58	971	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:58	971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860463, '1000022735309')
2023-10-13	12:35:58	971	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:58	971	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-cs-hg50-7-vitesses-chrome-all' AND `virtuemart_product_id` != 1860463
2023-10-13	12:35:58	971	[DEBUG]	Query for ProductLang
2023-10-13	12:35:58	971	[DEBUG]	Executed store
2023-10-13	12:35:58	971	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette CS-HG50 7 vitesses / chromé (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-cs-hg50-7-vitesses-chrome-all' WHERE `virtuemart_product_id` = '1860463'
2023-10-13	12:35:58	971	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39861_cassette_cs-hg50_7_vitesses.jpg has not been found.
2023-10-13	12:35:58	971	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:58	971	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860463 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:58	971	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:58	971	[DEBUG]	Executed store
2023-10-13	12:35:58	971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860463','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:58	971	[DEBUG]	Checking manufacturer
2023-10-13	12:35:58	971	[DEBUG]	Load a row
2023-10-13	12:35:58	971	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:58	971	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:35:58	971	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:58	971	[DEBUG]	Executed store
2023-10-13	12:35:58	971	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:35:58	971	[DEBUG]	Manufacturer exists
2023-10-13	12:35:58	971	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:35:58	971	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:58	971	[DEBUG]	Executed store
2023-10-13	12:35:58	971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860463','123')
2023-10-13	12:35:58	971	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:58	971	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:58	971	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860463 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:58	971	[DEBUG]	Store custom available field
2023-10-13	12:35:58	971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860463,3,'',1)
2023-10-13	12:35:58	971	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:58	971	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:35:58	971	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860463 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:58	971	[DEBUG]	Store custom available field
2023-10-13	12:35:58	971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860463,6,'All',3)
2023-10-13	12:35:58	971	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:58	971	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:58	971	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860462
2023-10-13	12:35:58	971	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:58	971	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860462\":[1860462,8,1,\"choisir la taille\"],\"1860463\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860462
2023-10-13	12:35:58	971	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:58	971	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860463
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:58	972	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field taille
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:58	972	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:58	972	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:58	972	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:58	972	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:58	972	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:58	972	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field published
2023-10-13	12:35:58	972	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:58	972	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field override
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:58	972	[DEBUG]	Use field value for field slug
2023-10-13	12:35:58	972	[DEBUG]	Process line 972
2023-10-13	12:35:58	972	[DEBUG]	Load a row
2023-10-13	12:35:58	972	[DEBUG]	Processing item: A_9851_8
2023-10-13	12:35:58	972	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:58	972	[DEBUG]	Processing product tax
2023-10-13	12:35:58	972	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:58	972	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:58	972	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:58	972	[DEBUG]	Query for Product
2023-10-13	12:35:58	972	[DEBUG]	Executed store
2023-10-13	12:35:58	972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9851_8','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:58	972	[DEBUG]	Check product language entry
2023-10-13	12:35:58	972	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860464
2023-10-13	12:35:58	972	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:58	972	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9851_8' AND `virtuemart_product_id` != 1860464
2023-10-13	12:35:58	972	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:58	972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860464, 'A_9851_8')
2023-10-13	12:35:58	972	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:58	972	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-cs-hg-400-10-vitesses-12-28-chrome' AND `virtuemart_product_id` != 1860464
2023-10-13	12:35:58	972	[DEBUG]	Query for ProductLang
2023-10-13	12:35:58	972	[DEBUG]	Executed store
2023-10-13	12:35:58	972	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : HG-400_10',`product_name`='SHIMANO Cassette CS HG-400 10 vitesses 12-28 / chromé',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-cs-hg-400-10-vitesses-12-28-chrome' WHERE `virtuemart_product_id` = '1860464'
2023-10-13	12:35:58	972	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39862_cassette_cs_hg-400_10_vitesses_12-28.jpg has not been found.
2023-10-13	12:35:58	972	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:58	972	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860464 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:58	972	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:58	972	[DEBUG]	Executed store
2023-10-13	12:35:58	972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860464','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:58	972	[DEBUG]	Checking manufacturer
2023-10-13	12:35:58	972	[DEBUG]	Load a row
2023-10-13	12:35:58	972	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:58	972	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:35:58	972	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:58	972	[DEBUG]	Executed store
2023-10-13	12:35:58	972	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:35:58	972	[DEBUG]	Manufacturer exists
2023-10-13	12:35:58	972	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:35:58	972	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:58	972	[DEBUG]	Executed store
2023-10-13	12:35:58	972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860464','123')
2023-10-13	12:35:58	972	[DEBUG]	Find the custom field ID
2023-10-13	12:35:58	972	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:58	972	[DEBUG]	No custom field ID found
2023-10-13	12:35:58	972	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:58	972	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:35:58	972	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860464 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:58	972	[DEBUG]	Store custom available field
2023-10-13	12:35:58	972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860464,3,'0',1)
2023-10-13	12:35:58	972	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:58	972	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:58	972	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860464 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:58	972	[DEBUG]	Store custom available field
2023-10-13	12:35:58	972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860464,6,'choisir la taille',3)
2023-10-13	12:35:58	972	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:58	972	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:58	972	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:58	972	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:58	972	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860464 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:58	972	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:58	972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860464,8,1)
2023-10-13	12:35:58	972	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:58	972	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860464\":[1860464,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860464
2023-10-13	12:35:58	972	[DEBUG]	Checking category
2023-10-13	12:35:58	972	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:58	972	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860464
2023-10-13	12:35:58	972	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:58	972	[DEBUG]	Executed store
2023-10-13	12:35:58	972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860464','7283')
2023-10-13	12:35:58	972	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:58	972	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860464 AND `virtuemart_category_id` NOT IN (7283)
2023-10-13	12:35:58	972	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:58	972	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860464
2023-10-13	12:35:58	973	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:58	973	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:58	973	[DEBUG]	Use field value for field taille
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:58	973	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:58	973	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:58	973	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:58	973	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:58	973	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:58	973	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:58	973	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:58	973	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:58	973	[DEBUG]	Use field value for field published
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:58	973	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field override
2023-10-13	12:35:58	973	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:58	973	[DEBUG]	Use field value for field slug
2023-10-13	12:35:58	973	[DEBUG]	Process line 973
2023-10-13	12:35:58	973	[DEBUG]	Load a row
2023-10-13	12:35:58	973	[DEBUG]	Processing item: 1000022735316
2023-10-13	12:35:58	973	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:58	973	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:58	973	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9851_8'
2023-10-13	12:35:58	973	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:58	973	[DEBUG]	Processing product tax
2023-10-13	12:35:58	973	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:58	973	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:58	973	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:58	973	[DEBUG]	Query for Product
2023-10-13	12:35:58	973	[DEBUG]	Executed store
2023-10-13	12:35:58	973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860464','1000022735316','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:58	973	[DEBUG]	No parent found
2023-10-13	12:35:58	973	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860464 AND customfield_value = 'stockable'
2023-10-13	12:35:58	973	[DEBUG]	Check product language entry
2023-10-13	12:35:58	973	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860465
2023-10-13	12:35:58	973	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:58	973	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022735316' AND `virtuemart_product_id` != 1860465
2023-10-13	12:35:58	973	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:58	973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860465, '1000022735316')
2023-10-13	12:35:58	973	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:58	973	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cassette-cs-hg-400-10-vitesses-12-28-chrome-all' AND `virtuemart_product_id` != 1860465
2023-10-13	12:35:58	973	[DEBUG]	Query for ProductLang
2023-10-13	12:35:58	973	[DEBUG]	Executed store
2023-10-13	12:35:58	973	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cassette CS HG-400 10 vitesses 12-28 / chromé (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cassette-cs-hg-400-10-vitesses-12-28-chrome-all' WHERE `virtuemart_product_id` = '1860465'
2023-10-13	12:35:58	973	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39862_cassette_cs_hg-400_10_vitesses_12-28.jpg has not been found.
2023-10-13	12:35:58	973	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:58	973	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860465 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:58	973	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:58	973	[DEBUG]	Executed store
2023-10-13	12:35:58	973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860465','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:58	973	[DEBUG]	Checking manufacturer
2023-10-13	12:35:58	973	[DEBUG]	Load a row
2023-10-13	12:35:58	973	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:58	973	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:35:58	973	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:58	973	[DEBUG]	Executed store
2023-10-13	12:35:58	973	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:35:58	973	[DEBUG]	Manufacturer exists
2023-10-13	12:35:58	973	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:35:58	973	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:58	973	[DEBUG]	Executed store
2023-10-13	12:35:58	973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860465','123')
2023-10-13	12:35:58	973	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:58	973	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:35:58	973	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860465 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:58	973	[DEBUG]	Store custom available field
2023-10-13	12:35:58	973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860465,3,'',1)
2023-10-13	12:35:58	973	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:58	973	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:35:58	973	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860465 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:58	973	[DEBUG]	Store custom available field
2023-10-13	12:35:58	973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860465,6,'All',3)
2023-10-13	12:35:58	973	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:58	973	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:35:58	973	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860464
2023-10-13	12:35:58	973	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:58	973	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860464\":[1860464,8,1,\"choisir la taille\"],\"1860465\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860464
2023-10-13	12:35:58	973	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:58	973	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860465
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:58	974	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field taille
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field category_path
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:58	974	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:35:58	974	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:58	974	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field product_weight
2023-10-13	12:35:58	974	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:58	974	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:58	974	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field published
2023-10-13	12:35:58	974	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:58	974	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field custom_title
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field custom_param
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field override
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field public_price
2023-10-13	12:35:58	974	[DEBUG]	Use field value for field slug
2023-10-13	12:35:58	974	[DEBUG]	Process line 974
2023-10-13	12:35:58	974	[DEBUG]	Load a row
2023-10-13	12:35:58	974	[DEBUG]	Processing item: A_629_4
2023-10-13	12:35:58	974	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:58	974	[DEBUG]	Processing product tax
2023-10-13	12:35:58	974	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:58	974	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:58	974	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:58	974	[DEBUG]	Query for Product
2023-10-13	12:35:58	974	[DEBUG]	Executed store
2023-10-13	12:35:58	974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_629_4','0.29','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:58	974	[DEBUG]	Check product language entry
2023-10-13	12:35:58	974	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860466
2023-10-13	12:35:58	974	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:58	974	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_629_4' AND `virtuemart_product_id` != 1860466
2023-10-13	12:35:58	974	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:58	974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860466, 'A_629_4')
2023-10-13	12:35:58	974	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:58	974	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-ybn-power-chain-10v-112l-acier' AND `virtuemart_product_id` != 1860466
2023-10-13	12:35:58	974	[DEBUG]	Query for ProductLang
2023-10-13	12:35:58	974	[DEBUG]	Executed store
2023-10-13	12:35:58	974	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='10 vitesses, 290gr<br>N° art fourn : LG10',`product_name`='YBN Chaîne YBN Power Chain 10v 112l / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-ybn-power-chain-10v-112l-acier' WHERE `virtuemart_product_id` = '1860466'
2023-10-13	12:35:58	974	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_775.jpg
2023-10-13	12:35:58	974	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	12:35:58	974	[DEBUG]	Process image file
2023-10-13	12:35:58	974	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	12:35:58	974	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:58	974	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_775.jpg
2023-10-13	12:35:58	974	[DEBUG]	Full name target: bcprisme/image_775.jpg
2023-10-13	12:35:59	974	[DEBUG]	Checking if the file_url exists
2023-10-13	12:35:59	974	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_775.jpg'
2023-10-13	12:35:59	974	[DEBUG]	Query for Media
2023-10-13	12:35:59	974	[DEBUG]	Executed store
2023-10-13	12:35:59	974	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_775.jpg',`file_url_thumb`='bcprisme/image_775.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15803'
2023-10-13	12:35:59	974	[DEBUG]	Query for ProductMedia
2023-10-13	12:35:59	974	[DEBUG]	Executed store
2023-10-13	12:35:59	974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860466','15803','1')
2023-10-13	12:35:59	974	[DEBUG]	Store product image relation
2023-10-13	12:35:59	974	[DEBUG]	Finding a product_price_id
2023-10-13	12:35:59	974	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860466 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:35:59	974	[DEBUG]	Query for ProductPrice
2023-10-13	12:35:59	974	[DEBUG]	Executed store
2023-10-13	12:35:59	974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860466','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:35:59	974	[DEBUG]	Checking manufacturer
2023-10-13	12:35:59	974	[DEBUG]	Load a row
2023-10-13	12:35:59	974	[DEBUG]	Manufacturer already exists
2023-10-13	12:35:59	974	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:35:59	974	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:35:59	974	[DEBUG]	Executed store
2023-10-13	12:35:59	974	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:35:59	974	[DEBUG]	Manufacturer exists
2023-10-13	12:35:59	974	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:35:59	974	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:35:59	974	[DEBUG]	Executed store
2023-10-13	12:35:59	974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860466','216')
2023-10-13	12:35:59	974	[DEBUG]	Find the custom field ID
2023-10-13	12:35:59	974	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:35:59	974	[DEBUG]	No custom field ID found
2023-10-13	12:35:59	974	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:35:59	974	[DEBUG]	Get existing row with customfield value 44.7752777777778
2023-10-13	12:35:59	974	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860466 AND `virtuemart_custom_id` = 3
2023-10-13	12:35:59	974	[DEBUG]	Store custom available field
2023-10-13	12:35:59	974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860466,3,'44.7752777777778',1)
2023-10-13	12:35:59	974	[DEBUG]	Processing custom available field: taille
2023-10-13	12:35:59	974	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:35:59	974	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860466 AND `virtuemart_custom_id` = 6
2023-10-13	12:35:59	974	[DEBUG]	Store custom available field
2023-10-13	12:35:59	974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860466,6,'choisir la taille',3)
2023-10-13	12:35:59	974	[DEBUG]	Process multi-variant fields
2023-10-13	12:35:59	974	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:35:59	974	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:35:59	974	[DEBUG]	Find the multi variant product entry
2023-10-13	12:35:59	974	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860466 AND `virtuemart_custom_id` = 8
2023-10-13	12:35:59	974	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:35:59	974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860466,8,1)
2023-10-13	12:35:59	974	[DEBUG]	Store the updated customfield_params
2023-10-13	12:35:59	974	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860466\":[1860466,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860466
2023-10-13	12:35:59	974	[DEBUG]	Checking category
2023-10-13	12:35:59	974	[DEBUG]	Check if category path exists: CHAINES - KETTEN
2023-10-13	12:35:59	974	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAINES - KETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:35:59	974	[DEBUG]	Check if category path exists: CHAINES 10 VITESSES - 10 FACH KETTEN
2023-10-13	12:35:59	974	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAINES 10 VITESSES - 10 FACH KETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7284
2023-10-13	12:35:59	974	[DEBUG]	Get the existing categories for the product
2023-10-13	12:35:59	974	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860466
2023-10-13	12:35:59	974	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:35:59	974	[DEBUG]	Executed store
2023-10-13	12:35:59	974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860466','7285')
2023-10-13	12:35:59	974	[DEBUG]	Delete leftover product categories
2023-10-13	12:35:59	974	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860466 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:35:59	974	[DEBUG]	Update has fields after all processing
2023-10-13	12:35:59	974	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860466
2023-10-13	12:35:59	975	[DEBUG]	Use field value for field product_sku
2023-10-13	12:35:59	975	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:35:59	975	[DEBUG]	Use field value for field taille
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:35:59	975	[DEBUG]	Use field value for field product_name
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field category_path
2023-10-13	12:35:59	975	[DEBUG]	Use field value for field product_price
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:35:59	975	[DEBUG]	Use field value for field product_tax
2023-10-13	12:35:59	975	[DEBUG]	Use field value for field file_url
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field product_desc
2023-10-13	12:35:59	975	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:35:59	975	[DEBUG]	Use field value for field product_availability
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field product_weight
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field product_unit
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field related_products
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field product_special
2023-10-13	12:35:59	975	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:35:59	975	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:35:59	975	[DEBUG]	Use field value for field published
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field metadesc
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field metakey
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field custom_title
2023-10-13	12:35:59	975	[DEBUG]	Use field value for field custom_value
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field custom_param
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field override
2023-10-13	12:35:59	975	[DEBUG]	Use default value for field public_price
2023-10-13	12:35:59	975	[DEBUG]	Use field value for field slug
2023-10-13	12:35:59	975	[DEBUG]	Process line 975
2023-10-13	12:35:59	975	[DEBUG]	Load a row
2023-10-13	12:35:59	975	[DEBUG]	Processing item: 8436041139744
2023-10-13	12:35:59	975	[DEBUG]	Looking for parent SKU
2023-10-13	12:35:59	975	[DEBUG]	Checking product parent SKU
2023-10-13	12:35:59	975	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_629_4'
2023-10-13	12:35:59	975	[DEBUG]	Product tax: 7.7
2023-10-13	12:35:59	975	[DEBUG]	Processing product tax
2023-10-13	12:35:59	975	[DEBUG]	Check if calculation rule exists
2023-10-13	12:35:59	975	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:35:59	975	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:35:59	975	[DEBUG]	Query for Product
2023-10-13	12:35:59	975	[DEBUG]	Executed store
2023-10-13	12:35:59	975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860466','8436041139744','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:35:59	975	[DEBUG]	No parent found
2023-10-13	12:35:59	975	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860466 AND customfield_value = 'stockable'
2023-10-13	12:35:59	975	[DEBUG]	Check product language entry
2023-10-13	12:35:59	975	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860467
2023-10-13	12:35:59	975	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:59	975	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041139744' AND `virtuemart_product_id` != 1860467
2023-10-13	12:35:59	975	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:35:59	975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860467, '8436041139744')
2023-10-13	12:35:59	975	[DEBUG]	Check if the product slug exists
2023-10-13	12:35:59	975	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-ybn-power-chain-10v-112l-acier-unitaire' AND `virtuemart_product_id` != 1860467
2023-10-13	12:35:59	975	[DEBUG]	Query for ProductLang
2023-10-13	12:35:59	975	[DEBUG]	Executed store
2023-10-13	12:35:59	975	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='YBN Chaîne YBN Power Chain 10v 112l / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-ybn-power-chain-10v-112l-acier-unitaire' WHERE `virtuemart_product_id` = '1860467'
2023-10-13	12:35:59	975	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_775.jpg
2023-10-13	12:35:59	975	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	12:35:59	975	[DEBUG]	Process image file
2023-10-13	12:35:59	975	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	12:35:59	975	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:35:59	975	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_775.jpg
2023-10-13	12:35:59	975	[DEBUG]	Full name target: bcprisme/image_775.jpg
2023-10-13	12:36:00	975	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:00	975	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_775.jpg'
2023-10-13	12:36:00	975	[DEBUG]	Query for Media
2023-10-13	12:36:00	975	[DEBUG]	Executed store
2023-10-13	12:36:00	975	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_775.jpg',`file_url_thumb`='bcprisme/image_775.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15803'
2023-10-13	12:36:00	975	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:00	975	[DEBUG]	Executed store
2023-10-13	12:36:00	975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860467','15803','1')
2023-10-13	12:36:00	975	[DEBUG]	Store product image relation
2023-10-13	12:36:00	975	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:00	975	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860467 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:00	975	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:00	975	[DEBUG]	Executed store
2023-10-13	12:36:00	975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860467','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:00	975	[DEBUG]	Checking manufacturer
2023-10-13	12:36:00	975	[DEBUG]	Load a row
2023-10-13	12:36:00	975	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:00	975	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:36:00	975	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:00	975	[DEBUG]	Executed store
2023-10-13	12:36:00	975	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:36:00	975	[DEBUG]	Manufacturer exists
2023-10-13	12:36:00	975	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:36:00	975	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:00	975	[DEBUG]	Executed store
2023-10-13	12:36:00	975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860467','216')
2023-10-13	12:36:00	975	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:00	975	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:00	975	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860467 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:00	975	[DEBUG]	Store custom available field
2023-10-13	12:36:00	975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860467,3,'',1)
2023-10-13	12:36:00	975	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:00	975	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:36:00	975	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860467 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:00	975	[DEBUG]	Store custom available field
2023-10-13	12:36:00	975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860467,6,'Unitaire',3)
2023-10-13	12:36:00	975	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:00	975	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:00	975	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860466
2023-10-13	12:36:00	975	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:00	975	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860466\":[1860466,8,1,\"choisir la taille\"],\"1860467\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860466
2023-10-13	12:36:00	975	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:00	975	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860467
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:00	976	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field taille
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:00	976	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:00	976	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:00	976	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:00	976	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:00	976	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:00	976	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field published
2023-10-13	12:36:00	976	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:00	976	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field override
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:00	976	[DEBUG]	Use field value for field slug
2023-10-13	12:36:00	976	[DEBUG]	Process line 976
2023-10-13	12:36:00	976	[DEBUG]	Load a row
2023-10-13	12:36:00	976	[DEBUG]	Processing item: A_630_4
2023-10-13	12:36:00	976	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:00	976	[DEBUG]	Processing product tax
2023-10-13	12:36:00	976	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:00	976	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:00	976	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:00	976	[DEBUG]	Query for Product
2023-10-13	12:36:00	976	[DEBUG]	Executed store
2023-10-13	12:36:00	976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_630_4','0.27','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:00	976	[DEBUG]	Check product language entry
2023-10-13	12:36:00	976	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860468
2023-10-13	12:36:00	976	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:00	976	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_630_4' AND `virtuemart_product_id` != 1860468
2023-10-13	12:36:00	976	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:00	976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860468, 'A_630_4')
2023-10-13	12:36:00	976	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:00	976	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-ybn-super-hollow-light-pin-10v-112l-270-gr-acier' AND `virtuemart_product_id` != 1860468
2023-10-13	12:36:00	976	[DEBUG]	Query for ProductLang
2023-10-13	12:36:00	976	[DEBUG]	Executed store
2023-10-13	12:36:00	976	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='10 vitesses, 270gr<br>N° art fourn : LG1010',`product_name`='YBN Chaîne YBN Super Hollow Light Pin 10v 112l, 270 gr. / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-ybn-super-hollow-light-pin-10v-112l-270-gr-acier' WHERE `virtuemart_product_id` = '1860468'
2023-10-13	12:36:00	976	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_776.jpg
2023-10-13	12:36:00	976	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:36:00	976	[DEBUG]	Process image file
2023-10-13	12:36:00	976	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:36:00	976	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:00	976	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_776.jpg
2023-10-13	12:36:00	976	[DEBUG]	Full name target: bcprisme/image_776.jpg
2023-10-13	12:36:01	976	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:01	976	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_776.jpg'
2023-10-13	12:36:01	976	[DEBUG]	Query for Media
2023-10-13	12:36:01	976	[DEBUG]	Executed store
2023-10-13	12:36:01	976	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_776.jpg',`file_url_thumb`='bcprisme/image_776.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15804'
2023-10-13	12:36:01	976	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:01	976	[DEBUG]	Executed store
2023-10-13	12:36:01	976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860468','15804','1')
2023-10-13	12:36:01	976	[DEBUG]	Store product image relation
2023-10-13	12:36:01	976	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:01	976	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860468 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:01	976	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:01	976	[DEBUG]	Executed store
2023-10-13	12:36:01	976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860468','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:01	976	[DEBUG]	Checking manufacturer
2023-10-13	12:36:01	976	[DEBUG]	Load a row
2023-10-13	12:36:01	976	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:01	976	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:36:01	976	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:01	976	[DEBUG]	Executed store
2023-10-13	12:36:01	976	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:36:01	976	[DEBUG]	Manufacturer exists
2023-10-13	12:36:01	976	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:36:01	976	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:01	976	[DEBUG]	Executed store
2023-10-13	12:36:01	976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860468','216')
2023-10-13	12:36:01	976	[DEBUG]	Find the custom field ID
2023-10-13	12:36:01	976	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:01	976	[DEBUG]	No custom field ID found
2023-10-13	12:36:01	976	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:01	976	[DEBUG]	Get existing row with customfield value 46.7697222222222
2023-10-13	12:36:01	976	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860468 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:01	976	[DEBUG]	Store custom available field
2023-10-13	12:36:01	976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860468,3,'46.7697222222222',1)
2023-10-13	12:36:01	976	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:01	976	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:01	976	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860468 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:01	976	[DEBUG]	Store custom available field
2023-10-13	12:36:01	976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860468,6,'choisir la taille',3)
2023-10-13	12:36:01	976	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:01	976	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:01	976	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:01	976	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:01	976	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860468 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:01	976	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:01	976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860468,8,1)
2023-10-13	12:36:01	976	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:01	976	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860468\":[1860468,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860468
2023-10-13	12:36:01	976	[DEBUG]	Checking category
2023-10-13	12:36:01	976	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:01	976	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860468
2023-10-13	12:36:01	976	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:01	976	[DEBUG]	Executed store
2023-10-13	12:36:01	976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860468','7285')
2023-10-13	12:36:01	976	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:01	976	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860468 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:01	976	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:01	976	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860468
2023-10-13	12:36:01	977	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:01	977	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:01	977	[DEBUG]	Use field value for field taille
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:01	977	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:01	977	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:01	977	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:01	977	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:01	977	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:01	977	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:01	977	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:01	977	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:01	977	[DEBUG]	Use field value for field published
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:01	977	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field override
2023-10-13	12:36:01	977	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:01	977	[DEBUG]	Use field value for field slug
2023-10-13	12:36:01	977	[DEBUG]	Process line 977
2023-10-13	12:36:01	977	[DEBUG]	Load a row
2023-10-13	12:36:01	977	[DEBUG]	Processing item: 8436041139751
2023-10-13	12:36:01	977	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:01	977	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:01	977	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_630_4'
2023-10-13	12:36:01	977	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:01	977	[DEBUG]	Processing product tax
2023-10-13	12:36:01	977	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:01	977	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:01	977	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:01	977	[DEBUG]	Query for Product
2023-10-13	12:36:01	977	[DEBUG]	Executed store
2023-10-13	12:36:01	977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860468','8436041139751','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:01	977	[DEBUG]	No parent found
2023-10-13	12:36:01	977	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860468 AND customfield_value = 'stockable'
2023-10-13	12:36:01	977	[DEBUG]	Check product language entry
2023-10-13	12:36:01	977	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860469
2023-10-13	12:36:01	977	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:01	977	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041139751' AND `virtuemart_product_id` != 1860469
2023-10-13	12:36:01	977	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:01	977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860469, '8436041139751')
2023-10-13	12:36:01	977	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:01	977	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-ybn-super-hollow-light-pin-10v-112l-270-gr-acier-unitaire' AND `virtuemart_product_id` != 1860469
2023-10-13	12:36:01	977	[DEBUG]	Query for ProductLang
2023-10-13	12:36:01	977	[DEBUG]	Executed store
2023-10-13	12:36:01	977	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='YBN Chaîne YBN Super Hollow Light Pin 10v 112l, 270 gr. / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-ybn-super-hollow-light-pin-10v-112l-270-gr-acier-unitaire' WHERE `virtuemart_product_id` = '1860469'
2023-10-13	12:36:01	977	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_776.jpg
2023-10-13	12:36:01	977	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:36:01	977	[DEBUG]	Process image file
2023-10-13	12:36:01	977	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:36:01	977	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:01	977	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_776.jpg
2023-10-13	12:36:01	977	[DEBUG]	Full name target: bcprisme/image_776.jpg
2023-10-13	12:36:02	977	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:02	977	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_776.jpg'
2023-10-13	12:36:02	977	[DEBUG]	Query for Media
2023-10-13	12:36:02	977	[DEBUG]	Executed store
2023-10-13	12:36:02	977	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_776.jpg',`file_url_thumb`='bcprisme/image_776.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15804'
2023-10-13	12:36:02	977	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:02	977	[DEBUG]	Executed store
2023-10-13	12:36:02	977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860469','15804','1')
2023-10-13	12:36:02	977	[DEBUG]	Store product image relation
2023-10-13	12:36:02	977	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:02	977	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860469 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:02	977	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:02	977	[DEBUG]	Executed store
2023-10-13	12:36:02	977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860469','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:02	977	[DEBUG]	Checking manufacturer
2023-10-13	12:36:02	977	[DEBUG]	Load a row
2023-10-13	12:36:02	977	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:02	977	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:36:02	977	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:02	977	[DEBUG]	Executed store
2023-10-13	12:36:02	977	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:36:02	977	[DEBUG]	Manufacturer exists
2023-10-13	12:36:02	977	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:36:02	977	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:02	977	[DEBUG]	Executed store
2023-10-13	12:36:02	977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860469','216')
2023-10-13	12:36:02	977	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:02	977	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:02	977	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860469 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:02	977	[DEBUG]	Store custom available field
2023-10-13	12:36:02	977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860469,3,'',1)
2023-10-13	12:36:02	977	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:02	977	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:36:02	977	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860469 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:02	977	[DEBUG]	Store custom available field
2023-10-13	12:36:02	977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860469,6,'Unitaire',3)
2023-10-13	12:36:02	977	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:02	977	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:02	977	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860468
2023-10-13	12:36:02	977	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:02	977	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860468\":[1860468,8,1,\"choisir la taille\"],\"1860469\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860468
2023-10-13	12:36:02	977	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:02	977	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860469
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:02	978	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field taille
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:02	978	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:02	978	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:02	978	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:02	978	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:02	978	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:02	978	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field published
2023-10-13	12:36:02	978	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:02	978	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field override
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:02	978	[DEBUG]	Use field value for field slug
2023-10-13	12:36:02	978	[DEBUG]	Process line 978
2023-10-13	12:36:02	978	[DEBUG]	Load a row
2023-10-13	12:36:02	978	[DEBUG]	Processing item: A_917_1
2023-10-13	12:36:02	978	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:02	978	[DEBUG]	Processing product tax
2023-10-13	12:36:02	978	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:02	978	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:02	978	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:02	978	[DEBUG]	Query for Product
2023-10-13	12:36:02	978	[DEBUG]	Executed store
2023-10-13	12:36:02	978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_917_1','0.237','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:02	978	[DEBUG]	Check product language entry
2023-10-13	12:36:02	978	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860470
2023-10-13	12:36:02	978	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:02	978	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_917_1' AND `virtuemart_product_id` != 1860470
2023-10-13	12:36:02	978	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:02	978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860470, 'A_917_1')
2023-10-13	12:36:02	978	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:02	978	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-10v-112l-237-gr-noir' AND `virtuemart_product_id` != 1860470
2023-10-13	12:36:02	978	[DEBUG]	Query for ProductLang
2023-10-13	12:36:02	978	[DEBUG]	Executed store
2023-10-13	12:36:02	978	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='10 vitesses, 237gr, très longue durée de vie<br>N° art fourn : SFL101',`product_name`='MSC Chaîne MSC Ultralight 10v 112l, 237 gr. / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-10v-112l-237-gr-noir' WHERE `virtuemart_product_id` = '1860470'
2023-10-13	12:36:02	978	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1202.jpg
2023-10-13	12:36:02	978	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:36:02	978	[DEBUG]	Process image file
2023-10-13	12:36:02	978	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:36:02	978	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:02	978	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1202.jpg
2023-10-13	12:36:02	978	[DEBUG]	Full name target: bcprisme/image_1202.jpg
2023-10-13	12:36:03	978	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:03	978	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1202.jpg'
2023-10-13	12:36:03	978	[DEBUG]	Query for Media
2023-10-13	12:36:03	978	[DEBUG]	Executed store
2023-10-13	12:36:03	978	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1202.jpg',`file_url_thumb`='bcprisme/image_1202.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12523'
2023-10-13	12:36:03	978	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:03	978	[DEBUG]	Executed store
2023-10-13	12:36:03	978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860470','12523','1')
2023-10-13	12:36:03	978	[DEBUG]	Store product image relation
2023-10-13	12:36:03	978	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:03	978	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860470 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:03	978	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:03	978	[DEBUG]	Executed store
2023-10-13	12:36:03	978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860470','0','111.00278551532','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:03	978	[DEBUG]	Checking manufacturer
2023-10-13	12:36:03	978	[DEBUG]	Load a row
2023-10-13	12:36:03	978	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:03	978	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:03	978	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:03	978	[DEBUG]	Executed store
2023-10-13	12:36:03	978	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:03	978	[DEBUG]	Manufacturer exists
2023-10-13	12:36:03	978	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:36:03	978	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:03	978	[DEBUG]	Executed store
2023-10-13	12:36:03	978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860470','32')
2023-10-13	12:36:03	978	[DEBUG]	Find the custom field ID
2023-10-13	12:36:03	978	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:03	978	[DEBUG]	No custom field ID found
2023-10-13	12:36:03	978	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:03	978	[DEBUG]	Get existing row with customfield value 119.566944444444
2023-10-13	12:36:03	978	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860470 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:03	978	[DEBUG]	Store custom available field
2023-10-13	12:36:03	978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860470,3,'119.566944444444',1)
2023-10-13	12:36:03	978	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:03	978	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:03	978	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860470 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:03	978	[DEBUG]	Store custom available field
2023-10-13	12:36:03	978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860470,6,'choisir la taille',3)
2023-10-13	12:36:03	978	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:03	978	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:03	978	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:03	978	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:03	978	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860470 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:03	978	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:03	978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860470,8,1)
2023-10-13	12:36:03	978	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:03	978	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860470\":[1860470,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860470
2023-10-13	12:36:03	978	[DEBUG]	Checking category
2023-10-13	12:36:03	978	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:03	978	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860470
2023-10-13	12:36:03	978	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:03	978	[DEBUG]	Executed store
2023-10-13	12:36:03	978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860470','7285')
2023-10-13	12:36:03	978	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:03	978	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860470 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:03	978	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:03	978	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860470
2023-10-13	12:36:03	979	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:03	979	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:03	979	[DEBUG]	Use field value for field taille
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:03	979	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:03	979	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:03	979	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:03	979	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:03	979	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:03	979	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:03	979	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:03	979	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:03	979	[DEBUG]	Use field value for field published
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:03	979	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field override
2023-10-13	12:36:03	979	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:03	979	[DEBUG]	Use field value for field slug
2023-10-13	12:36:03	979	[DEBUG]	Process line 979
2023-10-13	12:36:03	979	[DEBUG]	Load a row
2023-10-13	12:36:03	979	[DEBUG]	Processing item: 8436047357661
2023-10-13	12:36:03	979	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:03	979	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:03	979	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_917_1'
2023-10-13	12:36:03	979	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:03	979	[DEBUG]	Processing product tax
2023-10-13	12:36:03	979	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:03	979	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:03	979	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:03	979	[DEBUG]	Query for Product
2023-10-13	12:36:03	979	[DEBUG]	Executed store
2023-10-13	12:36:03	979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860470','8436047357661','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:03	979	[DEBUG]	No parent found
2023-10-13	12:36:03	979	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860470 AND customfield_value = 'stockable'
2023-10-13	12:36:03	979	[DEBUG]	Check product language entry
2023-10-13	12:36:03	979	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860471
2023-10-13	12:36:03	979	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:03	979	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357661' AND `virtuemart_product_id` != 1860471
2023-10-13	12:36:03	979	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:03	979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860471, '8436047357661')
2023-10-13	12:36:03	979	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:03	979	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-10v-112l-237-gr-noir-unitaire' AND `virtuemart_product_id` != 1860471
2023-10-13	12:36:03	979	[DEBUG]	Query for ProductLang
2023-10-13	12:36:03	979	[DEBUG]	Executed store
2023-10-13	12:36:03	979	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC Ultralight 10v 112l, 237 gr. / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-10v-112l-237-gr-noir-unitaire' WHERE `virtuemart_product_id` = '1860471'
2023-10-13	12:36:03	979	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1202.jpg
2023-10-13	12:36:03	979	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:36:03	979	[DEBUG]	Process image file
2023-10-13	12:36:03	979	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:36:03	979	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:03	979	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1202.jpg
2023-10-13	12:36:03	979	[DEBUG]	Full name target: bcprisme/image_1202.jpg
2023-10-13	12:36:04	979	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:04	979	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1202.jpg'
2023-10-13	12:36:04	979	[DEBUG]	Query for Media
2023-10-13	12:36:04	979	[DEBUG]	Executed store
2023-10-13	12:36:04	979	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1202.jpg',`file_url_thumb`='bcprisme/image_1202.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12523'
2023-10-13	12:36:04	979	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:04	979	[DEBUG]	Executed store
2023-10-13	12:36:04	979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860471','12523','1')
2023-10-13	12:36:04	979	[DEBUG]	Store product image relation
2023-10-13	12:36:04	979	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:04	979	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860471 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:04	979	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:04	979	[DEBUG]	Executed store
2023-10-13	12:36:04	979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860471','0','111.00278551532','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:04	979	[DEBUG]	Checking manufacturer
2023-10-13	12:36:04	979	[DEBUG]	Load a row
2023-10-13	12:36:04	979	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:04	979	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:04	979	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:04	979	[DEBUG]	Executed store
2023-10-13	12:36:04	979	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:04	979	[DEBUG]	Manufacturer exists
2023-10-13	12:36:04	979	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:36:04	979	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:04	979	[DEBUG]	Executed store
2023-10-13	12:36:04	979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860471','32')
2023-10-13	12:36:04	979	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:04	979	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:04	979	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860471 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:04	979	[DEBUG]	Store custom available field
2023-10-13	12:36:04	979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860471,3,'',1)
2023-10-13	12:36:04	979	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:04	979	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:36:04	979	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860471 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:04	979	[DEBUG]	Store custom available field
2023-10-13	12:36:04	979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860471,6,'Unitaire',3)
2023-10-13	12:36:04	979	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:04	979	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:04	979	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860470
2023-10-13	12:36:04	979	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:04	979	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860470\":[1860470,8,1,\"choisir la taille\"],\"1860471\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860470
2023-10-13	12:36:04	979	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:04	979	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860471
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:04	980	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field taille
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:04	980	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:04	980	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:04	980	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:04	980	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:04	980	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:04	980	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field published
2023-10-13	12:36:04	980	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:04	980	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field override
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:04	980	[DEBUG]	Use field value for field slug
2023-10-13	12:36:04	980	[DEBUG]	Process line 980
2023-10-13	12:36:04	980	[DEBUG]	Load a row
2023-10-13	12:36:04	980	[DEBUG]	Processing item: A_917_5
2023-10-13	12:36:04	980	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:04	980	[DEBUG]	Processing product tax
2023-10-13	12:36:04	980	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:04	980	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:04	980	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:04	980	[DEBUG]	Query for Product
2023-10-13	12:36:04	980	[DEBUG]	Executed store
2023-10-13	12:36:04	980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_917_5','0.237','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:04	980	[DEBUG]	Check product language entry
2023-10-13	12:36:04	980	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860472
2023-10-13	12:36:04	980	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:04	980	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_917_5' AND `virtuemart_product_id` != 1860472
2023-10-13	12:36:04	980	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:04	980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860472, 'A_917_5')
2023-10-13	12:36:05	980	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:05	980	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-10v-112l-237-gr-or' AND `virtuemart_product_id` != 1860472
2023-10-13	12:36:05	980	[DEBUG]	Query for ProductLang
2023-10-13	12:36:05	980	[DEBUG]	Executed store
2023-10-13	12:36:05	980	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='10 vitesses, 237gr, très longue durée de vie<br>N° art fourn : SFL101',`product_name`='MSC Chaîne MSC Ultralight 10v 112l, 237 gr. / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-10v-112l-237-gr-or' WHERE `virtuemart_product_id` = '1860472'
2023-10-13	12:36:05	980	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1204.jpg
2023-10-13	12:36:05	980	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:36:05	980	[DEBUG]	Process image file
2023-10-13	12:36:05	980	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:36:05	980	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:05	980	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1204.jpg
2023-10-13	12:36:05	980	[DEBUG]	Full name target: bcprisme/image_1204.jpg
2023-10-13	12:36:06	980	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:06	980	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1204.jpg'
2023-10-13	12:36:06	980	[DEBUG]	Query for Media
2023-10-13	12:36:06	980	[DEBUG]	Executed store
2023-10-13	12:36:06	980	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1204.jpg',`file_url_thumb`='bcprisme/image_1204.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12524'
2023-10-13	12:36:06	980	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:06	980	[DEBUG]	Executed store
2023-10-13	12:36:06	980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860472','12524','1')
2023-10-13	12:36:06	980	[DEBUG]	Store product image relation
2023-10-13	12:36:06	980	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:06	980	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860472 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:06	980	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:06	980	[DEBUG]	Executed store
2023-10-13	12:36:06	980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860472','0','111.00278551532','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:06	980	[DEBUG]	Checking manufacturer
2023-10-13	12:36:06	980	[DEBUG]	Load a row
2023-10-13	12:36:06	980	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:06	980	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:06	980	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:06	980	[DEBUG]	Executed store
2023-10-13	12:36:06	980	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:06	980	[DEBUG]	Manufacturer exists
2023-10-13	12:36:06	980	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:36:06	980	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:06	980	[DEBUG]	Executed store
2023-10-13	12:36:06	980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860472','32')
2023-10-13	12:36:06	980	[DEBUG]	Find the custom field ID
2023-10-13	12:36:06	980	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:06	980	[DEBUG]	No custom field ID found
2023-10-13	12:36:06	980	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:06	980	[DEBUG]	Get existing row with customfield value 119.566944444444
2023-10-13	12:36:06	980	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860472 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:06	980	[DEBUG]	Store custom available field
2023-10-13	12:36:06	980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860472,3,'119.566944444444',1)
2023-10-13	12:36:06	980	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:06	980	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:06	980	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860472 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:06	980	[DEBUG]	Store custom available field
2023-10-13	12:36:06	980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860472,6,'choisir la taille',3)
2023-10-13	12:36:06	980	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:06	980	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:06	980	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:06	980	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:06	980	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860472 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:06	980	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:06	980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860472,8,1)
2023-10-13	12:36:06	980	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:06	980	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860472\":[1860472,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860472
2023-10-13	12:36:06	980	[DEBUG]	Checking category
2023-10-13	12:36:06	980	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:06	980	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860472
2023-10-13	12:36:06	980	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:06	980	[DEBUG]	Executed store
2023-10-13	12:36:06	980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860472','7285')
2023-10-13	12:36:06	980	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:06	980	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860472 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:06	980	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:06	980	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860472
2023-10-13	12:36:06	981	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:06	981	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:06	981	[DEBUG]	Use field value for field taille
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:06	981	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:06	981	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:06	981	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:06	981	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:06	981	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:06	981	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:06	981	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:06	981	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:06	981	[DEBUG]	Use field value for field published
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:06	981	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field override
2023-10-13	12:36:06	981	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:06	981	[DEBUG]	Use field value for field slug
2023-10-13	12:36:06	981	[DEBUG]	Process line 981
2023-10-13	12:36:06	981	[DEBUG]	Load a row
2023-10-13	12:36:06	981	[DEBUG]	Processing item: 8436047357692
2023-10-13	12:36:06	981	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:06	981	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:06	981	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_917_5'
2023-10-13	12:36:06	981	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:06	981	[DEBUG]	Processing product tax
2023-10-13	12:36:06	981	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:06	981	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:06	981	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:06	981	[DEBUG]	Query for Product
2023-10-13	12:36:06	981	[DEBUG]	Executed store
2023-10-13	12:36:06	981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860472','8436047357692','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:06	981	[DEBUG]	No parent found
2023-10-13	12:36:06	981	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860472 AND customfield_value = 'stockable'
2023-10-13	12:36:06	981	[DEBUG]	Check product language entry
2023-10-13	12:36:06	981	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860473
2023-10-13	12:36:06	981	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:06	981	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357692' AND `virtuemart_product_id` != 1860473
2023-10-13	12:36:06	981	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:06	981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860473, '8436047357692')
2023-10-13	12:36:06	981	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:06	981	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-10v-112l-237-gr-or-unitaire' AND `virtuemart_product_id` != 1860473
2023-10-13	12:36:06	981	[DEBUG]	Query for ProductLang
2023-10-13	12:36:06	981	[DEBUG]	Executed store
2023-10-13	12:36:06	981	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC Ultralight 10v 112l, 237 gr. / Or (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-10v-112l-237-gr-or-unitaire' WHERE `virtuemart_product_id` = '1860473'
2023-10-13	12:36:06	981	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1204.jpg
2023-10-13	12:36:06	981	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:36:06	981	[DEBUG]	Process image file
2023-10-13	12:36:06	981	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:36:06	981	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:06	981	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1204.jpg
2023-10-13	12:36:06	981	[DEBUG]	Full name target: bcprisme/image_1204.jpg
2023-10-13	12:36:07	981	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:07	981	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1204.jpg'
2023-10-13	12:36:07	981	[DEBUG]	Query for Media
2023-10-13	12:36:07	981	[DEBUG]	Executed store
2023-10-13	12:36:07	981	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1204.jpg',`file_url_thumb`='bcprisme/image_1204.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12524'
2023-10-13	12:36:07	981	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:07	981	[DEBUG]	Executed store
2023-10-13	12:36:07	981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860473','12524','1')
2023-10-13	12:36:07	981	[DEBUG]	Store product image relation
2023-10-13	12:36:07	981	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:07	981	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860473 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:07	981	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:07	981	[DEBUG]	Executed store
2023-10-13	12:36:07	981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860473','0','111.00278551532','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:07	981	[DEBUG]	Checking manufacturer
2023-10-13	12:36:07	981	[DEBUG]	Load a row
2023-10-13	12:36:07	981	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:07	981	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:07	981	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:07	981	[DEBUG]	Executed store
2023-10-13	12:36:07	981	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:07	981	[DEBUG]	Manufacturer exists
2023-10-13	12:36:07	981	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:36:07	981	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:07	981	[DEBUG]	Executed store
2023-10-13	12:36:07	981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860473','32')
2023-10-13	12:36:07	981	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:07	981	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:07	981	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860473 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:07	981	[DEBUG]	Store custom available field
2023-10-13	12:36:07	981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860473,3,'',1)
2023-10-13	12:36:07	981	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:07	981	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:36:07	981	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860473 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:07	981	[DEBUG]	Store custom available field
2023-10-13	12:36:07	981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860473,6,'Unitaire',3)
2023-10-13	12:36:07	981	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:07	981	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:07	981	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860472
2023-10-13	12:36:07	981	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:07	981	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860472\":[1860472,8,1,\"choisir la taille\"],\"1860473\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860472
2023-10-13	12:36:07	981	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:07	981	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860473
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:07	982	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field taille
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:07	982	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:07	982	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:07	982	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:07	982	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:07	982	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:07	982	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field published
2023-10-13	12:36:07	982	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:07	982	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field override
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:07	982	[DEBUG]	Use field value for field slug
2023-10-13	12:36:07	982	[DEBUG]	Process line 982
2023-10-13	12:36:07	982	[DEBUG]	Load a row
2023-10-13	12:36:07	982	[DEBUG]	Processing item: A_922_36
2023-10-13	12:36:07	982	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:07	982	[DEBUG]	Processing product tax
2023-10-13	12:36:07	982	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:07	982	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:07	982	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:07	982	[DEBUG]	Query for Product
2023-10-13	12:36:07	982	[DEBUG]	Executed store
2023-10-13	12:36:07	982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_922_36','0.223','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:07	982	[DEBUG]	Check product language entry
2023-10-13	12:36:07	982	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860474
2023-10-13	12:36:07	982	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:07	982	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_922_36' AND `virtuemart_product_id` != 1860474
2023-10-13	12:36:07	982	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:07	982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860474, 'A_922_36')
2023-10-13	12:36:07	982	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:07	982	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-titanium-ultralight-10s-112l-223-gr-titane' AND `virtuemart_product_id` != 1860474
2023-10-13	12:36:07	982	[DEBUG]	Query for ProductLang
2023-10-13	12:36:07	982	[DEBUG]	Executed store
2023-10-13	12:36:07	982	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaîne MSC Titanium Ultralight 10s 112l 223gr, très longue durée de vie<br>N° art fourn : SL101TI',`product_name`='MSC Chaîne MSC Titanium Ultralight 10s 112l 223 gr. / Titane',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-titanium-ultralight-10s-112l-223-gr-titane' WHERE `virtuemart_product_id` = '1860474'
2023-10-13	12:36:07	982	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1216.jpg
2023-10-13	12:36:07	982	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:36:07	982	[DEBUG]	Process image file
2023-10-13	12:36:07	982	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:36:07	982	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:07	982	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1216.jpg
2023-10-13	12:36:07	982	[DEBUG]	Full name target: bcprisme/image_1216.jpg
2023-10-13	12:36:08	982	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:08	982	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1216.jpg'
2023-10-13	12:36:08	982	[DEBUG]	Query for Media
2023-10-13	12:36:08	982	[DEBUG]	Executed store
2023-10-13	12:36:08	982	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1216.jpg',`file_url_thumb`='bcprisme/image_1216.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15805'
2023-10-13	12:36:08	982	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:08	982	[DEBUG]	Executed store
2023-10-13	12:36:08	982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860474','15805','1')
2023-10-13	12:36:08	982	[DEBUG]	Store product image relation
2023-10-13	12:36:08	982	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:08	982	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860474 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:08	982	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:08	982	[DEBUG]	Executed store
2023-10-13	12:36:08	982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860474','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:08	982	[DEBUG]	Checking manufacturer
2023-10-13	12:36:08	982	[DEBUG]	Load a row
2023-10-13	12:36:08	982	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:08	982	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:08	982	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:08	982	[DEBUG]	Executed store
2023-10-13	12:36:08	982	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:08	982	[DEBUG]	Manufacturer exists
2023-10-13	12:36:08	982	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:36:08	982	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:08	982	[DEBUG]	Executed store
2023-10-13	12:36:08	982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860474','32')
2023-10-13	12:36:08	982	[DEBUG]	Find the custom field ID
2023-10-13	12:36:08	982	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:08	982	[DEBUG]	No custom field ID found
2023-10-13	12:36:08	982	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:08	982	[DEBUG]	Get existing row with customfield value 269.150277777778
2023-10-13	12:36:08	982	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860474 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:08	982	[DEBUG]	Store custom available field
2023-10-13	12:36:08	982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860474,3,'269.150277777778',1)
2023-10-13	12:36:08	982	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:08	982	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:08	982	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860474 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:08	982	[DEBUG]	Store custom available field
2023-10-13	12:36:08	982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860474,6,'choisir la taille',3)
2023-10-13	12:36:08	982	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:08	982	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:08	982	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:08	982	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:08	982	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860474 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:08	982	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:08	982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860474,8,1)
2023-10-13	12:36:08	982	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:08	982	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860474\":[1860474,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860474
2023-10-13	12:36:08	982	[DEBUG]	Checking category
2023-10-13	12:36:08	982	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:08	982	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860474
2023-10-13	12:36:08	982	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:08	982	[DEBUG]	Executed store
2023-10-13	12:36:08	982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860474','7285')
2023-10-13	12:36:08	982	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:08	982	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860474 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:08	982	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:08	982	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860474
2023-10-13	12:36:08	983	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:08	983	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:08	983	[DEBUG]	Use field value for field taille
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:08	983	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:08	983	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:08	983	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:08	983	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:08	983	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:08	983	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:08	983	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:08	983	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:08	983	[DEBUG]	Use field value for field published
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:08	983	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field override
2023-10-13	12:36:08	983	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:08	983	[DEBUG]	Use field value for field slug
2023-10-13	12:36:08	983	[DEBUG]	Process line 983
2023-10-13	12:36:08	983	[DEBUG]	Load a row
2023-10-13	12:36:08	983	[DEBUG]	Processing item: 8436047350679
2023-10-13	12:36:08	983	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:08	983	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:08	983	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_922_36'
2023-10-13	12:36:08	983	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:08	983	[DEBUG]	Processing product tax
2023-10-13	12:36:08	983	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:08	983	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:08	983	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:08	983	[DEBUG]	Query for Product
2023-10-13	12:36:08	983	[DEBUG]	Executed store
2023-10-13	12:36:08	983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860474','8436047350679','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:08	983	[DEBUG]	No parent found
2023-10-13	12:36:08	983	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860474 AND customfield_value = 'stockable'
2023-10-13	12:36:08	983	[DEBUG]	Check product language entry
2023-10-13	12:36:08	983	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860475
2023-10-13	12:36:08	983	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:08	983	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047350679' AND `virtuemart_product_id` != 1860475
2023-10-13	12:36:08	983	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:08	983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860475, '8436047350679')
2023-10-13	12:36:08	983	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:08	983	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-titanium-ultralight-10s-112l-223-gr-titane-unitaire' AND `virtuemart_product_id` != 1860475
2023-10-13	12:36:08	983	[DEBUG]	Query for ProductLang
2023-10-13	12:36:08	983	[DEBUG]	Executed store
2023-10-13	12:36:08	983	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC Titanium Ultralight 10s 112l 223 gr. / Titane (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-titanium-ultralight-10s-112l-223-gr-titane-unitaire' WHERE `virtuemart_product_id` = '1860475'
2023-10-13	12:36:08	983	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1216.jpg
2023-10-13	12:36:08	983	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:36:08	983	[DEBUG]	Process image file
2023-10-13	12:36:08	983	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:36:08	983	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:08	983	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1216.jpg
2023-10-13	12:36:08	983	[DEBUG]	Full name target: bcprisme/image_1216.jpg
2023-10-13	12:36:09	983	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:09	983	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1216.jpg'
2023-10-13	12:36:09	983	[DEBUG]	Query for Media
2023-10-13	12:36:09	983	[DEBUG]	Executed store
2023-10-13	12:36:09	983	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1216.jpg',`file_url_thumb`='bcprisme/image_1216.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15805'
2023-10-13	12:36:09	983	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:09	983	[DEBUG]	Executed store
2023-10-13	12:36:09	983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860475','15805','1')
2023-10-13	12:36:09	983	[DEBUG]	Store product image relation
2023-10-13	12:36:09	983	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:09	983	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860475 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:09	983	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:09	983	[DEBUG]	Executed store
2023-10-13	12:36:09	983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860475','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:09	983	[DEBUG]	Checking manufacturer
2023-10-13	12:36:09	983	[DEBUG]	Load a row
2023-10-13	12:36:09	983	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:09	983	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:09	983	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:09	983	[DEBUG]	Executed store
2023-10-13	12:36:09	983	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:09	983	[DEBUG]	Manufacturer exists
2023-10-13	12:36:09	983	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:36:09	983	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:09	983	[DEBUG]	Executed store
2023-10-13	12:36:09	983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860475','32')
2023-10-13	12:36:09	983	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:09	983	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:09	983	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860475 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:09	983	[DEBUG]	Store custom available field
2023-10-13	12:36:09	983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860475,3,'',1)
2023-10-13	12:36:09	983	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:09	983	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:36:09	983	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860475 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:09	983	[DEBUG]	Store custom available field
2023-10-13	12:36:09	983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860475,6,'Unitaire',3)
2023-10-13	12:36:09	983	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:09	983	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:09	983	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860474
2023-10-13	12:36:09	983	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:09	983	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860474\":[1860474,8,1,\"choisir la taille\"],\"1860475\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860474
2023-10-13	12:36:09	983	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:09	983	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860475
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:09	984	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field taille
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:09	984	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:09	984	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:09	984	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:09	984	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:09	984	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:09	984	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field published
2023-10-13	12:36:09	984	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:09	984	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field override
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:09	984	[DEBUG]	Use field value for field slug
2023-10-13	12:36:09	984	[DEBUG]	Process line 984
2023-10-13	12:36:09	984	[DEBUG]	Load a row
2023-10-13	12:36:09	984	[DEBUG]	Processing item: A_1251_4
2023-10-13	12:36:09	984	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:09	984	[DEBUG]	Processing product tax
2023-10-13	12:36:09	984	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:09	984	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:09	984	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:09	984	[DEBUG]	Query for Product
2023-10-13	12:36:09	984	[DEBUG]	Executed store
2023-10-13	12:36:09	984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1251_4','0.237','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:09	984	[DEBUG]	Check product language entry
2023-10-13	12:36:09	984	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860476
2023-10-13	12:36:09	984	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:09	984	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1251_4' AND `virtuemart_product_id` != 1860476
2023-10-13	12:36:09	984	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:09	984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860476, 'A_1251_4')
2023-10-13	12:36:09	984	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:09	984	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-10v-112l-237-gr-acier' AND `virtuemart_product_id` != 1860476
2023-10-13	12:36:09	984	[DEBUG]	Query for ProductLang
2023-10-13	12:36:09	984	[DEBUG]	Executed store
2023-10-13	12:36:09	984	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='237gr, Chaine msc Ultralight 10 vitesses  237 gr !!<br>N° art fourn : SL101DHA',`product_name`='MSC Chaîne MSC Ultralight 10v 112l, 237 gr, / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-10v-112l-237-gr-acier' WHERE `virtuemart_product_id` = '1860476'
2023-10-13	12:36:09	984	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1691.jpg
2023-10-13	12:36:09	984	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:36:09	984	[DEBUG]	Process image file
2023-10-13	12:36:09	984	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:36:09	984	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:09	984	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1691.jpg
2023-10-13	12:36:09	984	[DEBUG]	Full name target: bcprisme/image_1691.jpg
2023-10-13	12:36:10	984	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:10	984	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1691.jpg'
2023-10-13	12:36:10	984	[DEBUG]	Query for Media
2023-10-13	12:36:10	984	[DEBUG]	Executed store
2023-10-13	12:36:10	984	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1691.jpg',`file_url_thumb`='bcprisme/image_1691.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15806'
2023-10-13	12:36:10	984	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:10	984	[DEBUG]	Executed store
2023-10-13	12:36:10	984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860476','15806','1')
2023-10-13	12:36:10	984	[DEBUG]	Store product image relation
2023-10-13	12:36:10	984	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:10	984	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860476 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:10	984	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:10	984	[DEBUG]	Executed store
2023-10-13	12:36:10	984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860476','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:10	984	[DEBUG]	Checking manufacturer
2023-10-13	12:36:10	984	[DEBUG]	Load a row
2023-10-13	12:36:10	984	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:10	984	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:10	984	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:10	984	[DEBUG]	Executed store
2023-10-13	12:36:10	984	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:10	984	[DEBUG]	Manufacturer exists
2023-10-13	12:36:10	984	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:36:10	984	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:10	984	[DEBUG]	Executed store
2023-10-13	12:36:10	984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860476','32')
2023-10-13	12:36:10	984	[DEBUG]	Find the custom field ID
2023-10-13	12:36:10	984	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:10	984	[DEBUG]	No custom field ID found
2023-10-13	12:36:10	984	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:10	984	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	12:36:10	984	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860476 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:10	984	[DEBUG]	Store custom available field
2023-10-13	12:36:10	984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860476,3,'99.6225',1)
2023-10-13	12:36:10	984	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:10	984	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:10	984	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860476 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:10	984	[DEBUG]	Store custom available field
2023-10-13	12:36:10	984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860476,6,'choisir la taille',3)
2023-10-13	12:36:10	984	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:10	984	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:10	984	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:10	984	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:10	984	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860476 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:10	984	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:10	984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860476,8,1)
2023-10-13	12:36:10	984	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:10	984	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860476\":[1860476,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860476
2023-10-13	12:36:10	984	[DEBUG]	Checking category
2023-10-13	12:36:10	984	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:10	984	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860476
2023-10-13	12:36:10	984	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:10	984	[DEBUG]	Executed store
2023-10-13	12:36:10	984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860476','7285')
2023-10-13	12:36:10	984	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:10	984	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860476 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:10	984	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:10	984	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860476
2023-10-13	12:36:10	985	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:10	985	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:10	985	[DEBUG]	Use field value for field taille
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:10	985	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:10	985	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:10	985	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:10	985	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:10	985	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:10	985	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:10	985	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:10	985	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:10	985	[DEBUG]	Use field value for field published
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:10	985	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field override
2023-10-13	12:36:10	985	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:10	985	[DEBUG]	Use field value for field slug
2023-10-13	12:36:10	985	[DEBUG]	Process line 985
2023-10-13	12:36:10	985	[DEBUG]	Load a row
2023-10-13	12:36:10	985	[DEBUG]	Processing item: 1000000021776
2023-10-13	12:36:10	985	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:10	985	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:10	985	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1251_4'
2023-10-13	12:36:10	985	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:10	985	[DEBUG]	Processing product tax
2023-10-13	12:36:10	985	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:10	985	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:10	985	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:10	985	[DEBUG]	Query for Product
2023-10-13	12:36:10	985	[DEBUG]	Executed store
2023-10-13	12:36:10	985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860476','1000000021776','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:10	985	[DEBUG]	No parent found
2023-10-13	12:36:10	985	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860476 AND customfield_value = 'stockable'
2023-10-13	12:36:10	985	[DEBUG]	Check product language entry
2023-10-13	12:36:10	985	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860477
2023-10-13	12:36:10	985	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:10	985	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000021776' AND `virtuemart_product_id` != 1860477
2023-10-13	12:36:10	985	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:10	985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860477, '1000000021776')
2023-10-13	12:36:10	985	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:10	985	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-10v-112l-237-gr-acier-unitaire' AND `virtuemart_product_id` != 1860477
2023-10-13	12:36:10	985	[DEBUG]	Query for ProductLang
2023-10-13	12:36:10	985	[DEBUG]	Executed store
2023-10-13	12:36:10	985	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC Ultralight 10v 112l, 237 gr, / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-10v-112l-237-gr-acier-unitaire' WHERE `virtuemart_product_id` = '1860477'
2023-10-13	12:36:10	985	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1691.jpg
2023-10-13	12:36:10	985	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:36:10	985	[DEBUG]	Process image file
2023-10-13	12:36:10	985	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:36:10	985	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:10	985	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1691.jpg
2023-10-13	12:36:10	985	[DEBUG]	Full name target: bcprisme/image_1691.jpg
2023-10-13	12:36:11	985	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:11	985	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1691.jpg'
2023-10-13	12:36:11	985	[DEBUG]	Query for Media
2023-10-13	12:36:11	985	[DEBUG]	Executed store
2023-10-13	12:36:11	985	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1691.jpg',`file_url_thumb`='bcprisme/image_1691.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15806'
2023-10-13	12:36:11	985	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:11	985	[DEBUG]	Executed store
2023-10-13	12:36:11	985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860477','15806','1')
2023-10-13	12:36:11	985	[DEBUG]	Store product image relation
2023-10-13	12:36:11	985	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:11	985	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860477 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:11	985	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:11	985	[DEBUG]	Executed store
2023-10-13	12:36:11	985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860477','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:11	985	[DEBUG]	Checking manufacturer
2023-10-13	12:36:11	985	[DEBUG]	Load a row
2023-10-13	12:36:11	985	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:11	985	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:11	985	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:11	985	[DEBUG]	Executed store
2023-10-13	12:36:11	985	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:11	985	[DEBUG]	Manufacturer exists
2023-10-13	12:36:11	985	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:36:11	985	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:11	985	[DEBUG]	Executed store
2023-10-13	12:36:11	985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860477','32')
2023-10-13	12:36:11	985	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:11	985	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:11	985	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860477 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:11	985	[DEBUG]	Store custom available field
2023-10-13	12:36:11	985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860477,3,'',1)
2023-10-13	12:36:11	985	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:11	985	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:36:11	985	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860477 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:11	985	[DEBUG]	Store custom available field
2023-10-13	12:36:11	985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860477,6,'Unitaire',3)
2023-10-13	12:36:11	985	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:11	985	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:11	985	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860476
2023-10-13	12:36:11	985	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:11	985	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860476\":[1860476,8,1,\"choisir la taille\"],\"1860477\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860476
2023-10-13	12:36:11	985	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:11	985	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860477
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:11	986	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field taille
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:11	986	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:11	986	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:11	986	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:11	986	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:11	986	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:11	986	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field published
2023-10-13	12:36:11	986	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:11	986	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field override
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:11	986	[DEBUG]	Use field value for field slug
2023-10-13	12:36:11	986	[DEBUG]	Process line 986
2023-10-13	12:36:11	986	[DEBUG]	Load a row
2023-10-13	12:36:11	986	[DEBUG]	Processing item: A_1285_13
2023-10-13	12:36:11	986	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:11	986	[DEBUG]	Processing product tax
2023-10-13	12:36:11	986	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:11	986	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:11	986	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:11	986	[DEBUG]	Query for Product
2023-10-13	12:36:11	986	[DEBUG]	Executed store
2023-10-13	12:36:11	986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1285_13','0.008','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:11	986	[DEBUG]	Check product language entry
2023-10-13	12:36:11	986	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860478
2023-10-13	12:36:11	986	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:11	986	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1285_13' AND `virtuemart_product_id` != 1860478
2023-10-13	12:36:11	986	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:11	986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860478, 'A_1285_13')
2023-10-13	12:36:11	986	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:11	986	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-rapponses-de-chaines-rapides-msc-link-10-vitesses-argent' AND `virtuemart_product_id` != 1860478
2023-10-13	12:36:11	986	[DEBUG]	Query for ProductLang
2023-10-13	12:36:11	986	[DEBUG]	Executed store
2023-10-13	12:36:11	986	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Rapponse de chaîne rapide MSC Link 10 vitesses 20 unités<br>N° art fourn : ESLA10',`product_name`='MSC Rapponses de chaînes rapides MSC Link 10 vitesses  / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-rapponses-de-chaines-rapides-msc-link-10-vitesses-argent' WHERE `virtuemart_product_id` = '1860478'
2023-10-13	12:36:11	986	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2553.jpg
2023-10-13	12:36:11	986	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:36:11	986	[DEBUG]	Process image file
2023-10-13	12:36:11	986	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:36:11	986	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:11	986	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2553.jpg
2023-10-13	12:36:11	986	[DEBUG]	Full name target: bcprisme/image_2553.jpg
2023-10-13	12:36:12	986	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:12	986	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2553.jpg'
2023-10-13	12:36:12	986	[DEBUG]	Query for Media
2023-10-13	12:36:12	986	[DEBUG]	Executed store
2023-10-13	12:36:12	986	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2553.jpg',`file_url_thumb`='bcprisme/image_2553.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12528'
2023-10-13	12:36:12	986	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:12	986	[DEBUG]	Executed store
2023-10-13	12:36:12	986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860478','12528','1')
2023-10-13	12:36:12	986	[DEBUG]	Store product image relation
2023-10-13	12:36:12	986	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:12	986	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860478 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:12	986	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:12	986	[DEBUG]	Executed store
2023-10-13	12:36:12	986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860478','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:12	986	[DEBUG]	Checking manufacturer
2023-10-13	12:36:12	986	[DEBUG]	Load a row
2023-10-13	12:36:12	986	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:12	986	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:12	986	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:12	986	[DEBUG]	Executed store
2023-10-13	12:36:12	986	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:12	986	[DEBUG]	Manufacturer exists
2023-10-13	12:36:12	986	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:36:12	986	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:12	986	[DEBUG]	Executed store
2023-10-13	12:36:12	986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860478','32')
2023-10-13	12:36:12	986	[DEBUG]	Find the custom field ID
2023-10-13	12:36:12	986	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:12	986	[DEBUG]	No custom field ID found
2023-10-13	12:36:12	986	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:12	986	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:36:12	986	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860478 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:12	986	[DEBUG]	Store custom available field
2023-10-13	12:36:12	986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860478,3,'49.7613888888889',1)
2023-10-13	12:36:12	986	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:12	986	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:12	986	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860478 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:12	986	[DEBUG]	Store custom available field
2023-10-13	12:36:12	986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860478,6,'choisir la taille',3)
2023-10-13	12:36:12	986	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:12	986	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:12	986	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:12	986	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:12	986	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860478 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:12	986	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:12	986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860478,8,1)
2023-10-13	12:36:12	986	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:12	986	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860478\":[1860478,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860478
2023-10-13	12:36:12	986	[DEBUG]	Checking category
2023-10-13	12:36:12	986	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:12	986	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860478
2023-10-13	12:36:12	986	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:12	986	[DEBUG]	Executed store
2023-10-13	12:36:12	986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860478','7285')
2023-10-13	12:36:12	986	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:12	986	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860478 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:12	986	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:12	986	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860478
2023-10-13	12:36:12	987	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:12	987	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:12	987	[DEBUG]	Use field value for field taille
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:12	987	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:12	987	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:12	987	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:12	987	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:12	987	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:12	987	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:12	987	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:12	987	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:12	987	[DEBUG]	Use field value for field published
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:12	987	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field override
2023-10-13	12:36:12	987	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:12	987	[DEBUG]	Use field value for field slug
2023-10-13	12:36:12	987	[DEBUG]	Process line 987
2023-10-13	12:36:12	987	[DEBUG]	Load a row
2023-10-13	12:36:12	987	[DEBUG]	Processing item: 8436047354943
2023-10-13	12:36:12	987	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:12	987	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:12	987	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1285_13'
2023-10-13	12:36:12	987	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:12	987	[DEBUG]	Processing product tax
2023-10-13	12:36:12	987	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:12	987	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:12	987	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:12	987	[DEBUG]	Query for Product
2023-10-13	12:36:12	987	[DEBUG]	Executed store
2023-10-13	12:36:12	987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860478','8436047354943','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:12	987	[DEBUG]	No parent found
2023-10-13	12:36:12	987	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860478 AND customfield_value = 'stockable'
2023-10-13	12:36:12	987	[DEBUG]	Check product language entry
2023-10-13	12:36:12	987	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860479
2023-10-13	12:36:12	987	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:12	987	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047354943' AND `virtuemart_product_id` != 1860479
2023-10-13	12:36:12	987	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:12	987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860479, '8436047354943')
2023-10-13	12:36:12	987	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:12	987	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-rapponses-de-chaines-rapides-msc-link-10-vitesses-argent-unitaire' AND `virtuemart_product_id` != 1860479
2023-10-13	12:36:12	987	[DEBUG]	Query for ProductLang
2023-10-13	12:36:12	987	[DEBUG]	Executed store
2023-10-13	12:36:12	987	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Rapponses de chaînes rapides MSC Link 10 vitesses  / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-rapponses-de-chaines-rapides-msc-link-10-vitesses-argent-unitaire' WHERE `virtuemart_product_id` = '1860479'
2023-10-13	12:36:12	987	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2553.jpg
2023-10-13	12:36:12	987	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:36:12	987	[DEBUG]	Process image file
2023-10-13	12:36:12	987	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:36:12	987	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:12	987	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2553.jpg
2023-10-13	12:36:12	987	[DEBUG]	Full name target: bcprisme/image_2553.jpg
2023-10-13	12:36:13	987	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:13	987	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2553.jpg'
2023-10-13	12:36:13	987	[DEBUG]	Query for Media
2023-10-13	12:36:13	987	[DEBUG]	Executed store
2023-10-13	12:36:13	987	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2553.jpg',`file_url_thumb`='bcprisme/image_2553.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12528'
2023-10-13	12:36:13	987	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:13	987	[DEBUG]	Executed store
2023-10-13	12:36:13	987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860479','12528','1')
2023-10-13	12:36:13	987	[DEBUG]	Store product image relation
2023-10-13	12:36:13	987	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:13	987	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860479 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:13	987	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:13	987	[DEBUG]	Executed store
2023-10-13	12:36:13	987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860479','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:13	987	[DEBUG]	Checking manufacturer
2023-10-13	12:36:13	987	[DEBUG]	Load a row
2023-10-13	12:36:13	987	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:13	987	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:13	987	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:13	987	[DEBUG]	Executed store
2023-10-13	12:36:13	987	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:13	987	[DEBUG]	Manufacturer exists
2023-10-13	12:36:13	987	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:36:13	987	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:13	987	[DEBUG]	Executed store
2023-10-13	12:36:13	987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860479','32')
2023-10-13	12:36:13	987	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:13	987	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:13	987	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860479 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:13	987	[DEBUG]	Store custom available field
2023-10-13	12:36:13	987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860479,3,'',1)
2023-10-13	12:36:13	987	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:13	987	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:36:13	987	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860479 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:13	987	[DEBUG]	Store custom available field
2023-10-13	12:36:13	987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860479,6,'Unitaire',3)
2023-10-13	12:36:13	987	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:13	987	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:13	987	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860478
2023-10-13	12:36:13	987	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:13	987	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860478\":[1860478,8,1,\"choisir la taille\"],\"1860479\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860478
2023-10-13	12:36:13	987	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:13	987	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860479
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:13	988	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field taille
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:13	988	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:13	988	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:13	988	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:13	988	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:13	988	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:13	988	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field published
2023-10-13	12:36:13	988	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:13	988	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field override
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:13	988	[DEBUG]	Use field value for field slug
2023-10-13	12:36:13	988	[DEBUG]	Process line 988
2023-10-13	12:36:13	988	[DEBUG]	Load a row
2023-10-13	12:36:13	988	[DEBUG]	Processing item: A_1528_1
2023-10-13	12:36:13	988	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:13	988	[DEBUG]	Processing product tax
2023-10-13	12:36:13	988	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:13	988	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:13	988	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:13	988	[DEBUG]	Query for Product
2023-10-13	12:36:13	988	[DEBUG]	Executed store
2023-10-13	12:36:13	988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1528_1','0.0112','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:13	988	[DEBUG]	Check product language entry
2023-10-13	12:36:13	988	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860480
2023-10-13	12:36:13	988	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:13	988	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1528_1' AND `virtuemart_product_id` != 1860480
2023-10-13	12:36:13	988	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:13	988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860480, 'A_1528_1')
2023-10-13	12:36:13	988	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:13	988	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pin-chaine-msc-10-vitesses-avec-filletage-10-unites-noir' AND `virtuemart_product_id` != 1860480
2023-10-13	12:36:13	988	[DEBUG]	Query for ProductLang
2023-10-13	12:36:13	988	[DEBUG]	Executed store
2023-10-13	12:36:13	988	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pin chaîne MSC 10 vitesses avec filletage. 10 unités, 1.12 gr. / unité<br>N° art fourn : ESLAPIN10',`product_name`='MSC Pin chaîne MSC 10 vitesses avec filletage. 10 unités / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pin-chaine-msc-10-vitesses-avec-filletage-10-unites-noir' WHERE `virtuemart_product_id` = '1860480'
2023-10-13	12:36:13	988	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3671.jpg
2023-10-13	12:36:13	988	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:36:13	988	[DEBUG]	Process image file
2023-10-13	12:36:13	988	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:36:13	988	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:13	988	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3671.jpg
2023-10-13	12:36:13	988	[DEBUG]	Full name target: bcprisme/image_3671.jpg
2023-10-13	12:36:14	988	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:14	988	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3671.jpg'
2023-10-13	12:36:14	988	[DEBUG]	Query for Media
2023-10-13	12:36:14	988	[DEBUG]	Executed store
2023-10-13	12:36:14	988	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3671.jpg',`file_url_thumb`='bcprisme/image_3671.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12529'
2023-10-13	12:36:14	988	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:14	988	[DEBUG]	Executed store
2023-10-13	12:36:14	988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860480','12529','1')
2023-10-13	12:36:14	988	[DEBUG]	Store product image relation
2023-10-13	12:36:14	988	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:14	988	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860480 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:14	988	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:14	988	[DEBUG]	Executed store
2023-10-13	12:36:14	988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860480','0','41.5970287836583','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:14	988	[DEBUG]	Checking manufacturer
2023-10-13	12:36:14	988	[DEBUG]	Load a row
2023-10-13	12:36:14	988	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:14	988	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:14	988	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:14	988	[DEBUG]	Executed store
2023-10-13	12:36:14	988	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:14	988	[DEBUG]	Manufacturer exists
2023-10-13	12:36:14	988	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:36:14	988	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:14	988	[DEBUG]	Executed store
2023-10-13	12:36:14	988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860480','32')
2023-10-13	12:36:14	988	[DEBUG]	Find the custom field ID
2023-10-13	12:36:14	988	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:14	988	[DEBUG]	No custom field ID found
2023-10-13	12:36:14	988	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:14	988	[DEBUG]	Get existing row with customfield value 44.7752777777778
2023-10-13	12:36:14	988	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860480 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:14	988	[DEBUG]	Store custom available field
2023-10-13	12:36:14	988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860480,3,'44.7752777777778',1)
2023-10-13	12:36:14	988	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:14	988	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:14	988	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860480 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:14	988	[DEBUG]	Store custom available field
2023-10-13	12:36:14	988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860480,6,'choisir la taille',3)
2023-10-13	12:36:14	988	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:14	988	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:14	988	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:14	988	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:14	988	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860480 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:14	988	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:14	988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860480,8,1)
2023-10-13	12:36:14	988	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:14	988	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860480\":[1860480,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860480
2023-10-13	12:36:14	988	[DEBUG]	Checking category
2023-10-13	12:36:14	988	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:14	988	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860480
2023-10-13	12:36:14	988	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:14	988	[DEBUG]	Executed store
2023-10-13	12:36:14	988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860480','7285')
2023-10-13	12:36:14	988	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:14	988	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860480 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:14	988	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:14	988	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860480
2023-10-13	12:36:14	989	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:14	989	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:14	989	[DEBUG]	Use field value for field taille
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:14	989	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:14	989	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:14	989	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:14	989	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:14	989	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:14	989	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:14	989	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:14	989	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:14	989	[DEBUG]	Use field value for field published
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:14	989	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field override
2023-10-13	12:36:14	989	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:14	989	[DEBUG]	Use field value for field slug
2023-10-13	12:36:14	989	[DEBUG]	Process line 989
2023-10-13	12:36:14	989	[DEBUG]	Load a row
2023-10-13	12:36:14	989	[DEBUG]	Processing item: 1000000027143
2023-10-13	12:36:14	989	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:14	989	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:14	989	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1528_1'
2023-10-13	12:36:14	989	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:14	989	[DEBUG]	Processing product tax
2023-10-13	12:36:14	989	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:14	989	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:14	989	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:14	989	[DEBUG]	Query for Product
2023-10-13	12:36:14	989	[DEBUG]	Executed store
2023-10-13	12:36:14	989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860480','1000000027143','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:14	989	[DEBUG]	No parent found
2023-10-13	12:36:14	989	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860480 AND customfield_value = 'stockable'
2023-10-13	12:36:14	989	[DEBUG]	Check product language entry
2023-10-13	12:36:14	989	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860481
2023-10-13	12:36:14	989	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:14	989	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000027143' AND `virtuemart_product_id` != 1860481
2023-10-13	12:36:14	989	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:14	989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860481, '1000000027143')
2023-10-13	12:36:14	989	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:14	989	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pin-chaine-msc-10-vitesses-avec-filletage-10-unites-noir-unitaire' AND `virtuemart_product_id` != 1860481
2023-10-13	12:36:14	989	[DEBUG]	Query for ProductLang
2023-10-13	12:36:14	989	[DEBUG]	Executed store
2023-10-13	12:36:14	989	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pin chaîne MSC 10 vitesses avec filletage. 10 unités / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pin-chaine-msc-10-vitesses-avec-filletage-10-unites-noir-unitaire' WHERE `virtuemart_product_id` = '1860481'
2023-10-13	12:36:14	989	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3671.jpg
2023-10-13	12:36:14	989	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:36:14	989	[DEBUG]	Process image file
2023-10-13	12:36:14	989	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:36:14	989	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:14	989	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3671.jpg
2023-10-13	12:36:14	989	[DEBUG]	Full name target: bcprisme/image_3671.jpg
2023-10-13	12:36:15	989	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:15	989	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3671.jpg'
2023-10-13	12:36:15	989	[DEBUG]	Query for Media
2023-10-13	12:36:15	989	[DEBUG]	Executed store
2023-10-13	12:36:15	989	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3671.jpg',`file_url_thumb`='bcprisme/image_3671.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12529'
2023-10-13	12:36:15	989	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:15	989	[DEBUG]	Executed store
2023-10-13	12:36:15	989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860481','12529','1')
2023-10-13	12:36:15	989	[DEBUG]	Store product image relation
2023-10-13	12:36:15	989	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:15	989	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860481 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:15	989	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:15	989	[DEBUG]	Executed store
2023-10-13	12:36:15	989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860481','0','41.5970287836583','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:15	989	[DEBUG]	Checking manufacturer
2023-10-13	12:36:15	989	[DEBUG]	Load a row
2023-10-13	12:36:15	989	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:15	989	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:15	989	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:15	989	[DEBUG]	Executed store
2023-10-13	12:36:15	989	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:36:15	989	[DEBUG]	Manufacturer exists
2023-10-13	12:36:15	989	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:36:15	989	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:15	989	[DEBUG]	Executed store
2023-10-13	12:36:15	989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860481','32')
2023-10-13	12:36:15	989	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:15	989	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:15	989	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860481 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:15	989	[DEBUG]	Store custom available field
2023-10-13	12:36:15	989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860481,3,'',1)
2023-10-13	12:36:15	989	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:15	989	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:36:15	989	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860481 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:15	989	[DEBUG]	Store custom available field
2023-10-13	12:36:15	989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860481,6,'Unitaire',3)
2023-10-13	12:36:15	989	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:15	989	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:15	989	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860480
2023-10-13	12:36:15	989	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:15	989	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860480\":[1860480,8,1,\"choisir la taille\"],\"1860481\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860480
2023-10-13	12:36:15	989	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:15	989	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860481
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:15	990	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field taille
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:15	990	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:15	990	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:15	990	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:15	990	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:15	990	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:15	990	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field published
2023-10-13	12:36:15	990	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:15	990	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field override
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:15	990	[DEBUG]	Use field value for field slug
2023-10-13	12:36:15	990	[DEBUG]	Process line 990
2023-10-13	12:36:15	990	[DEBUG]	Load a row
2023-10-13	12:36:15	990	[DEBUG]	Processing item: A_4983_8
2023-10-13	12:36:15	990	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:15	990	[DEBUG]	Processing product tax
2023-10-13	12:36:15	990	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:15	990	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:15	990	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:15	990	[DEBUG]	Query for Product
2023-10-13	12:36:15	990	[DEBUG]	Executed store
2023-10-13	12:36:15	990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4983_8','0.237','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:15	990	[DEBUG]	Check product language entry
2023-10-13	12:36:15	990	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860482
2023-10-13	12:36:15	990	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:15	990	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4983_8' AND `virtuemart_product_id` != 1860482
2023-10-13	12:36:15	990	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:15	990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860482, 'A_4983_8')
2023-10-13	12:36:15	990	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:15	990	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'connex-chaine-10-vitesses-pour-e-bike-connex-se-chrome' AND `virtuemart_product_id` != 1860482
2023-10-13	12:36:15	990	[DEBUG]	Query for ProductLang
2023-10-13	12:36:15	990	[DEBUG]	Executed store
2023-10-13	12:36:15	990	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='237gr, Chaine msc Ultralight 10 vitesses  237 gr !!<br>N° art fourn : 323-185-1091-802',`product_name`='CONNEX Chaîne 10 vitesses pour E-Bike Connex SE / chromé',`metadesc`='',`metakey`='',`customtitle`='',`slug`='connex-chaine-10-vitesses-pour-e-bike-connex-se-chrome' WHERE `virtuemart_product_id` = '1860482'
2023-10-13	12:36:15	990	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29351_chaîne_10_vitesses_pour_e-bike.jpg
2023-10-13	12:36:15	990	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:15	990	[DEBUG]	Process image file
2023-10-13	12:36:15	990	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:15	990	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:15	990	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29351_chaîne_10_vitesses_pour_e-bike.jpg
2023-10-13	12:36:15	990	[DEBUG]	Full name target: bcprisme/29351_chaîne_10_vitesses_pour_e-bike.jpg
2023-10-13	12:36:16	990	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:16	990	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29351_chaîne_10_vitesses_pour_e-bike.jpg'
2023-10-13	12:36:16	990	[DEBUG]	Query for Media
2023-10-13	12:36:16	990	[DEBUG]	Executed store
2023-10-13	12:36:16	990	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29351_chaîne_10_vitesses_pour_e-bike.jpg',`file_url_thumb`='bcprisme/29351_chaîne_10_vitesses_pour_e-bike.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12530'
2023-10-13	12:36:16	990	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:16	990	[DEBUG]	Executed store
2023-10-13	12:36:16	990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860482','12530','1')
2023-10-13	12:36:16	990	[DEBUG]	Store product image relation
2023-10-13	12:36:16	990	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:16	990	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860482 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:16	990	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:16	990	[DEBUG]	Executed store
2023-10-13	12:36:16	990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860482','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:16	990	[DEBUG]	Checking manufacturer
2023-10-13	12:36:16	990	[DEBUG]	Load a row
2023-10-13	12:36:16	990	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:16	990	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '158'
2023-10-13	12:36:16	990	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:16	990	[DEBUG]	Executed store
2023-10-13	12:36:16	990	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33837801526' WHERE `virtuemart_manufacturer_id` = '158'
2023-10-13	12:36:16	990	[DEBUG]	Manufacturer exists
2023-10-13	12:36:16	990	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 158
2023-10-13	12:36:16	990	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:16	990	[DEBUG]	Executed store
2023-10-13	12:36:16	990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860482','158')
2023-10-13	12:36:16	990	[DEBUG]	Find the custom field ID
2023-10-13	12:36:16	990	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:16	990	[DEBUG]	No custom field ID found
2023-10-13	12:36:16	990	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:16	990	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	12:36:16	990	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860482 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:16	990	[DEBUG]	Store custom available field
2023-10-13	12:36:16	990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860482,3,'99.6225',1)
2023-10-13	12:36:16	990	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:16	990	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:16	990	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860482 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:16	990	[DEBUG]	Store custom available field
2023-10-13	12:36:16	990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860482,6,'choisir la taille',3)
2023-10-13	12:36:16	990	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:16	990	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:16	990	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:16	990	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:16	990	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860482 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:16	990	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:16	990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860482,8,1)
2023-10-13	12:36:16	990	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:16	990	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860482\":[1860482,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860482
2023-10-13	12:36:16	990	[DEBUG]	Checking category
2023-10-13	12:36:16	990	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:16	990	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860482
2023-10-13	12:36:16	990	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:16	990	[DEBUG]	Executed store
2023-10-13	12:36:16	990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860482','7285')
2023-10-13	12:36:16	990	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:16	990	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860482 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:16	990	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:16	990	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860482
2023-10-13	12:36:16	991	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:16	991	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:16	991	[DEBUG]	Use field value for field taille
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:16	991	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:16	991	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:16	991	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:16	991	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:16	991	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:16	991	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:16	991	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:16	991	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:16	991	[DEBUG]	Use field value for field published
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:16	991	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field override
2023-10-13	12:36:16	991	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:16	991	[DEBUG]	Use field value for field slug
2023-10-13	12:36:16	991	[DEBUG]	Process line 991
2023-10-13	12:36:16	991	[DEBUG]	Load a row
2023-10-13	12:36:16	991	[DEBUG]	Processing item: 4041319002107
2023-10-13	12:36:16	991	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:16	991	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:16	991	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4983_8'
2023-10-13	12:36:16	991	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:16	991	[DEBUG]	Processing product tax
2023-10-13	12:36:16	991	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:16	991	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:16	991	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:16	991	[DEBUG]	Query for Product
2023-10-13	12:36:16	991	[DEBUG]	Executed store
2023-10-13	12:36:16	991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860482','4041319002107','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:16	991	[DEBUG]	No parent found
2023-10-13	12:36:16	991	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860482 AND customfield_value = 'stockable'
2023-10-13	12:36:16	991	[DEBUG]	Check product language entry
2023-10-13	12:36:16	991	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860483
2023-10-13	12:36:16	991	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:16	991	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4041319002107' AND `virtuemart_product_id` != 1860483
2023-10-13	12:36:16	991	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:16	991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860483, '4041319002107')
2023-10-13	12:36:16	991	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:16	991	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'connex-chaine-10-vitesses-pour-e-bike-connex-se-chrome-unitaire' AND `virtuemart_product_id` != 1860483
2023-10-13	12:36:16	991	[DEBUG]	Query for ProductLang
2023-10-13	12:36:16	991	[DEBUG]	Executed store
2023-10-13	12:36:16	991	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CONNEX Chaîne 10 vitesses pour E-Bike Connex SE / chromé (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='connex-chaine-10-vitesses-pour-e-bike-connex-se-chrome-unitaire' WHERE `virtuemart_product_id` = '1860483'
2023-10-13	12:36:16	991	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29351_chaîne_10_vitesses_pour_e-bike.jpg
2023-10-13	12:36:16	991	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:16	991	[DEBUG]	Process image file
2023-10-13	12:36:16	991	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:16	991	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:16	991	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29351_chaîne_10_vitesses_pour_e-bike.jpg
2023-10-13	12:36:16	991	[DEBUG]	Full name target: bcprisme/29351_chaîne_10_vitesses_pour_e-bike.jpg
2023-10-13	12:36:17	991	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:17	991	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29351_chaîne_10_vitesses_pour_e-bike.jpg'
2023-10-13	12:36:17	991	[DEBUG]	Query for Media
2023-10-13	12:36:17	991	[DEBUG]	Executed store
2023-10-13	12:36:17	991	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29351_chaîne_10_vitesses_pour_e-bike.jpg',`file_url_thumb`='bcprisme/29351_chaîne_10_vitesses_pour_e-bike.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12530'
2023-10-13	12:36:17	991	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:17	991	[DEBUG]	Executed store
2023-10-13	12:36:17	991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860483','12530','1')
2023-10-13	12:36:17	991	[DEBUG]	Store product image relation
2023-10-13	12:36:17	991	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:17	991	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860483 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:17	991	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:17	991	[DEBUG]	Executed store
2023-10-13	12:36:17	991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860483','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:17	991	[DEBUG]	Checking manufacturer
2023-10-13	12:36:17	991	[DEBUG]	Load a row
2023-10-13	12:36:17	991	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:17	991	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '158'
2023-10-13	12:36:17	991	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:17	991	[DEBUG]	Executed store
2023-10-13	12:36:17	991	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33837801526' WHERE `virtuemart_manufacturer_id` = '158'
2023-10-13	12:36:17	991	[DEBUG]	Manufacturer exists
2023-10-13	12:36:17	991	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 158
2023-10-13	12:36:17	991	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:17	991	[DEBUG]	Executed store
2023-10-13	12:36:17	991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860483','158')
2023-10-13	12:36:17	991	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:17	991	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:17	991	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860483 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:17	991	[DEBUG]	Store custom available field
2023-10-13	12:36:17	991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860483,3,'',1)
2023-10-13	12:36:17	991	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:17	991	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:36:17	991	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860483 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:17	991	[DEBUG]	Store custom available field
2023-10-13	12:36:17	991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860483,6,'Unitaire',3)
2023-10-13	12:36:17	991	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:17	991	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:17	991	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860482
2023-10-13	12:36:17	991	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:17	991	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860482\":[1860482,8,1,\"choisir la taille\"],\"1860483\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860482
2023-10-13	12:36:17	991	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:17	991	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860483
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:17	992	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field taille
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:17	992	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:17	992	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:17	992	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:17	992	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:17	992	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:17	992	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field published
2023-10-13	12:36:17	992	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:17	992	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field override
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:17	992	[DEBUG]	Use field value for field slug
2023-10-13	12:36:17	992	[DEBUG]	Process line 992
2023-10-13	12:36:17	992	[DEBUG]	Load a row
2023-10-13	12:36:17	992	[DEBUG]	Processing item: A_5080_208
2023-10-13	12:36:17	992	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:17	992	[DEBUG]	Processing product tax
2023-10-13	12:36:17	992	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:17	992	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:17	992	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:17	992	[DEBUG]	Query for Product
2023-10-13	12:36:17	992	[DEBUG]	Executed store
2023-10-13	12:36:17	992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5080_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:17	992	[DEBUG]	Check product language entry
2023-10-13	12:36:17	992	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860484
2023-10-13	12:36:17	992	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:17	992	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5080_208' AND `virtuemart_product_id` != 1860484
2023-10-13	12:36:17	992	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:17	992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860484, 'A_5080_208')
2023-10-13	12:36:17	992	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:17	992	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-ultegra-cn-6701-10-vitesses-114-maillons-box-aucune' AND `virtuemart_product_id` != 1860484
2023-10-13	12:36:17	992	[DEBUG]	Query for ProductLang
2023-10-13	12:36:17	992	[DEBUG]	Executed store
2023-10-13	12:36:17	992	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.51014',`product_name`='SHIMANO Chaîne SHIMANO Ultegra CN-6701 10-vitesses 114 maillons box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-ultegra-cn-6701-10-vitesses-114-maillons-box-aucune' WHERE `virtuemart_product_id` = '1860484'
2023-10-13	12:36:17	992	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29543_shimano_chaîne_ultegra_cn-6701_10-vitesses_114_maillons_box.jpg
2023-10-13	12:36:17	992	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:17	992	[DEBUG]	Process image file
2023-10-13	12:36:17	992	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:17	992	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:17	992	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29543_shimano_chaîne_ultegra_cn-6701_10-vitesses_114_maillons_box.jpg
2023-10-13	12:36:17	992	[DEBUG]	Full name target: bcprisme/29543_shimano_chaîne_ultegra_cn-6701_10-vitesses_114_maillons_box.jpg
2023-10-13	12:36:18	992	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:18	992	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29543_shimano_chaîne_ultegra_cn-6701_10-vitesses_114_maillons_box.jpg'
2023-10-13	12:36:18	992	[DEBUG]	Query for Media
2023-10-13	12:36:18	992	[DEBUG]	Executed store
2023-10-13	12:36:18	992	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29543_shimano_chaîne_ultegra_cn-6701_10-vitesses_114_maillons_box.jpg',`file_url_thumb`='bcprisme/29543_shimano_chaîne_ultegra_cn-6701_10-vitesses_114_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12531'
2023-10-13	12:36:18	992	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:18	992	[DEBUG]	Executed store
2023-10-13	12:36:18	992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860484','12531','1')
2023-10-13	12:36:18	992	[DEBUG]	Store product image relation
2023-10-13	12:36:18	992	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:18	992	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860484 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:18	992	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:18	992	[DEBUG]	Executed store
2023-10-13	12:36:18	992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860484','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:18	992	[DEBUG]	Checking manufacturer
2023-10-13	12:36:18	992	[DEBUG]	Load a row
2023-10-13	12:36:18	992	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:18	992	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:36:18	992	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:18	992	[DEBUG]	Executed store
2023-10-13	12:36:18	992	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:36:18	992	[DEBUG]	Manufacturer exists
2023-10-13	12:36:18	992	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:36:18	992	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:18	992	[DEBUG]	Executed store
2023-10-13	12:36:18	992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860484','26')
2023-10-13	12:36:18	992	[DEBUG]	Find the custom field ID
2023-10-13	12:36:18	992	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:18	992	[DEBUG]	No custom field ID found
2023-10-13	12:36:18	992	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:18	992	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:36:18	992	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860484 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:18	992	[DEBUG]	Store custom available field
2023-10-13	12:36:18	992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860484,3,'0',1)
2023-10-13	12:36:18	992	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:18	992	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:18	992	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860484 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:18	992	[DEBUG]	Store custom available field
2023-10-13	12:36:18	992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860484,6,'choisir la taille',3)
2023-10-13	12:36:18	992	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:18	992	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:18	992	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:18	992	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:18	992	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860484 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:18	992	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:18	992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860484,8,1)
2023-10-13	12:36:18	992	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:18	992	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860484\":[1860484,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860484
2023-10-13	12:36:18	992	[DEBUG]	Checking category
2023-10-13	12:36:18	992	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:18	992	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860484
2023-10-13	12:36:18	992	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:18	992	[DEBUG]	Executed store
2023-10-13	12:36:18	992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860484','7285')
2023-10-13	12:36:19	992	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:19	992	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860484 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:19	992	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:19	992	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860484
2023-10-13	12:36:19	993	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:19	993	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:19	993	[DEBUG]	Use field value for field taille
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:19	993	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:19	993	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:19	993	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:19	993	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:19	993	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:19	993	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:19	993	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:19	993	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:19	993	[DEBUG]	Use field value for field published
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:19	993	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field override
2023-10-13	12:36:19	993	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:19	993	[DEBUG]	Use field value for field slug
2023-10-13	12:36:19	993	[DEBUG]	Process line 993
2023-10-13	12:36:19	993	[DEBUG]	Load a row
2023-10-13	12:36:19	993	[DEBUG]	Processing item: 4524667414049
2023-10-13	12:36:19	993	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:19	993	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:19	993	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5080_208'
2023-10-13	12:36:19	993	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:19	993	[DEBUG]	Processing product tax
2023-10-13	12:36:19	993	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:19	993	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:19	993	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:19	993	[DEBUG]	Query for Product
2023-10-13	12:36:19	993	[DEBUG]	Executed store
2023-10-13	12:36:19	993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860484','4524667414049','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:19	993	[DEBUG]	No parent found
2023-10-13	12:36:19	993	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860484 AND customfield_value = 'stockable'
2023-10-13	12:36:19	993	[DEBUG]	Check product language entry
2023-10-13	12:36:19	993	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860485
2023-10-13	12:36:19	993	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:19	993	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667414049' AND `virtuemart_product_id` != 1860485
2023-10-13	12:36:19	993	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:19	993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860485, '4524667414049')
2023-10-13	12:36:19	993	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:19	993	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-ultegra-cn-6701-10-vitesses-114-maillons-box-aucune-all' AND `virtuemart_product_id` != 1860485
2023-10-13	12:36:19	993	[DEBUG]	Query for ProductLang
2023-10-13	12:36:19	993	[DEBUG]	Executed store
2023-10-13	12:36:19	993	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO Ultegra CN-6701 10-vitesses 114 maillons box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-ultegra-cn-6701-10-vitesses-114-maillons-box-aucune-all' WHERE `virtuemart_product_id` = '1860485'
2023-10-13	12:36:19	993	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29543_shimano_chaîne_ultegra_cn-6701_10-vitesses_114_maillons_box.jpg
2023-10-13	12:36:19	993	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:19	993	[DEBUG]	Process image file
2023-10-13	12:36:19	993	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:19	993	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:19	993	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29543_shimano_chaîne_ultegra_cn-6701_10-vitesses_114_maillons_box.jpg
2023-10-13	12:36:19	993	[DEBUG]	Full name target: bcprisme/29543_shimano_chaîne_ultegra_cn-6701_10-vitesses_114_maillons_box.jpg
2023-10-13	12:36:20	993	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:20	993	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29543_shimano_chaîne_ultegra_cn-6701_10-vitesses_114_maillons_box.jpg'
2023-10-13	12:36:20	993	[DEBUG]	Query for Media
2023-10-13	12:36:20	993	[DEBUG]	Executed store
2023-10-13	12:36:20	993	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29543_shimano_chaîne_ultegra_cn-6701_10-vitesses_114_maillons_box.jpg',`file_url_thumb`='bcprisme/29543_shimano_chaîne_ultegra_cn-6701_10-vitesses_114_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12531'
2023-10-13	12:36:20	993	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:20	993	[DEBUG]	Executed store
2023-10-13	12:36:20	993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860485','12531','1')
2023-10-13	12:36:20	993	[DEBUG]	Store product image relation
2023-10-13	12:36:20	993	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:20	993	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860485 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:20	993	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:20	993	[DEBUG]	Executed store
2023-10-13	12:36:20	993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860485','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:20	993	[DEBUG]	Checking manufacturer
2023-10-13	12:36:20	993	[DEBUG]	Load a row
2023-10-13	12:36:20	993	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:20	993	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:36:20	993	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:20	993	[DEBUG]	Executed store
2023-10-13	12:36:20	993	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:36:20	993	[DEBUG]	Manufacturer exists
2023-10-13	12:36:20	993	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:36:20	993	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:20	993	[DEBUG]	Executed store
2023-10-13	12:36:20	993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860485','26')
2023-10-13	12:36:20	993	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:20	993	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:20	993	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860485 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:20	993	[DEBUG]	Store custom available field
2023-10-13	12:36:20	993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860485,3,'',1)
2023-10-13	12:36:20	993	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:20	993	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:36:20	993	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860485 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:20	993	[DEBUG]	Store custom available field
2023-10-13	12:36:20	993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860485,6,'All',3)
2023-10-13	12:36:20	993	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:20	993	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:20	993	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860484
2023-10-13	12:36:20	993	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:20	993	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860484\":[1860484,8,1,\"choisir la taille\"],\"1860485\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860484
2023-10-13	12:36:20	993	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:20	993	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860485
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:20	994	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field taille
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:20	994	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:20	994	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:20	994	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:20	994	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:20	994	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:20	994	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field published
2023-10-13	12:36:20	994	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:20	994	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field override
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:20	994	[DEBUG]	Use field value for field slug
2023-10-13	12:36:20	994	[DEBUG]	Process line 994
2023-10-13	12:36:20	994	[DEBUG]	Load a row
2023-10-13	12:36:20	994	[DEBUG]	Processing item: A_5159_208
2023-10-13	12:36:20	994	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:20	994	[DEBUG]	Processing product tax
2023-10-13	12:36:20	994	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:20	994	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:20	994	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:20	994	[DEBUG]	Query for Product
2023-10-13	12:36:20	994	[DEBUG]	Executed store
2023-10-13	12:36:20	994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5159_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:20	994	[DEBUG]	Check product language entry
2023-10-13	12:36:20	994	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860486
2023-10-13	12:36:20	994	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:20	994	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5159_208' AND `virtuemart_product_id` != 1860486
2023-10-13	12:36:20	994	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:20	994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860486, 'A_5159_208')
2023-10-13	12:36:20	994	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:20	994	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg54-10-vitesses-116-maillons-box-aucune' AND `virtuemart_product_id` != 1860486
2023-10-13	12:36:20	994	[DEBUG]	Query for ProductLang
2023-10-13	12:36:20	994	[DEBUG]	Executed store
2023-10-13	12:36:20	994	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.52976',`product_name`='SHIMANO Chaîne SHIMANO  CN-HG54 10-vitesses 116 maillons box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg54-10-vitesses-116-maillons-box-aucune' WHERE `virtuemart_product_id` = '1860486'
2023-10-13	12:36:20	994	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29624_shimano_chaîne_cn-hg54_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:20	994	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:20	994	[DEBUG]	Process image file
2023-10-13	12:36:20	994	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:20	994	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:20	994	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29624_shimano_chaîne_cn-hg54_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:20	994	[DEBUG]	Full name target: bcprisme/29624_shimano_chaîne_cn-hg54_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:21	994	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:21	994	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29624_shimano_chaîne_cn-hg54_10-vitesses_116_maillons_box.jpg'
2023-10-13	12:36:21	994	[DEBUG]	Query for Media
2023-10-13	12:36:21	994	[DEBUG]	Executed store
2023-10-13	12:36:21	994	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29624_shimano_chaîne_cn-hg54_10-vitesses_116_maillons_box.jpg',`file_url_thumb`='bcprisme/29624_shimano_chaîne_cn-hg54_10-vitesses_116_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12532'
2023-10-13	12:36:21	994	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:21	994	[DEBUG]	Executed store
2023-10-13	12:36:21	994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860486','12532','1')
2023-10-13	12:36:21	994	[DEBUG]	Store product image relation
2023-10-13	12:36:21	994	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:21	994	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860486 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:21	994	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:21	994	[DEBUG]	Executed store
2023-10-13	12:36:21	994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860486','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:21	994	[DEBUG]	Checking manufacturer
2023-10-13	12:36:21	994	[DEBUG]	Load a row
2023-10-13	12:36:21	994	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:21	994	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:36:21	994	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:21	994	[DEBUG]	Executed store
2023-10-13	12:36:21	994	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:36:21	994	[DEBUG]	Manufacturer exists
2023-10-13	12:36:21	994	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:36:21	994	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:21	994	[DEBUG]	Executed store
2023-10-13	12:36:21	994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860486','26')
2023-10-13	12:36:21	994	[DEBUG]	Find the custom field ID
2023-10-13	12:36:21	994	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:21	994	[DEBUG]	No custom field ID found
2023-10-13	12:36:21	994	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:21	994	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:36:21	994	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860486 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:21	994	[DEBUG]	Store custom available field
2023-10-13	12:36:21	994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860486,3,'0',1)
2023-10-13	12:36:21	994	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:21	994	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:21	994	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860486 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:21	994	[DEBUG]	Store custom available field
2023-10-13	12:36:21	994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860486,6,'choisir la taille',3)
2023-10-13	12:36:21	994	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:21	994	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:21	994	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:21	994	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:21	994	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860486 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:21	994	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:21	994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860486,8,1)
2023-10-13	12:36:21	994	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:21	994	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860486\":[1860486,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860486
2023-10-13	12:36:21	994	[DEBUG]	Checking category
2023-10-13	12:36:21	994	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:21	994	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860486
2023-10-13	12:36:21	994	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:21	994	[DEBUG]	Executed store
2023-10-13	12:36:21	994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860486','7285')
2023-10-13	12:36:21	994	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:21	994	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860486 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:21	994	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:21	994	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860486
2023-10-13	12:36:21	995	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:21	995	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:21	995	[DEBUG]	Use field value for field taille
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:21	995	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:21	995	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:21	995	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:21	995	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:21	995	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:21	995	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:21	995	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:21	995	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:21	995	[DEBUG]	Use field value for field published
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:21	995	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field override
2023-10-13	12:36:21	995	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:21	995	[DEBUG]	Use field value for field slug
2023-10-13	12:36:21	995	[DEBUG]	Process line 995
2023-10-13	12:36:21	995	[DEBUG]	Load a row
2023-10-13	12:36:21	995	[DEBUG]	Processing item: 4524667722960
2023-10-13	12:36:21	995	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:21	995	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:21	995	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5159_208'
2023-10-13	12:36:21	995	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:21	995	[DEBUG]	Processing product tax
2023-10-13	12:36:21	995	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:21	995	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:21	995	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:21	995	[DEBUG]	Query for Product
2023-10-13	12:36:21	995	[DEBUG]	Executed store
2023-10-13	12:36:21	995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860486','4524667722960','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:21	995	[DEBUG]	No parent found
2023-10-13	12:36:21	995	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860486 AND customfield_value = 'stockable'
2023-10-13	12:36:21	995	[DEBUG]	Check product language entry
2023-10-13	12:36:21	995	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860487
2023-10-13	12:36:21	995	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:21	995	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667722960' AND `virtuemart_product_id` != 1860487
2023-10-13	12:36:21	995	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:21	995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860487, '4524667722960')
2023-10-13	12:36:21	995	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:21	995	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg54-10-vitesses-116-maillons-box-aucune-all' AND `virtuemart_product_id` != 1860487
2023-10-13	12:36:21	995	[DEBUG]	Query for ProductLang
2023-10-13	12:36:21	995	[DEBUG]	Executed store
2023-10-13	12:36:21	995	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO  CN-HG54 10-vitesses 116 maillons box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg54-10-vitesses-116-maillons-box-aucune-all' WHERE `virtuemart_product_id` = '1860487'
2023-10-13	12:36:21	995	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29624_shimano_chaîne_cn-hg54_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:21	995	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:21	995	[DEBUG]	Process image file
2023-10-13	12:36:21	995	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:21	995	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:21	995	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29624_shimano_chaîne_cn-hg54_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:21	995	[DEBUG]	Full name target: bcprisme/29624_shimano_chaîne_cn-hg54_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:22	995	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:22	995	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29624_shimano_chaîne_cn-hg54_10-vitesses_116_maillons_box.jpg'
2023-10-13	12:36:22	995	[DEBUG]	Query for Media
2023-10-13	12:36:22	995	[DEBUG]	Executed store
2023-10-13	12:36:22	995	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29624_shimano_chaîne_cn-hg54_10-vitesses_116_maillons_box.jpg',`file_url_thumb`='bcprisme/29624_shimano_chaîne_cn-hg54_10-vitesses_116_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12532'
2023-10-13	12:36:22	995	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:22	995	[DEBUG]	Executed store
2023-10-13	12:36:22	995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860487','12532','1')
2023-10-13	12:36:22	995	[DEBUG]	Store product image relation
2023-10-13	12:36:22	995	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:22	995	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860487 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:22	995	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:22	995	[DEBUG]	Executed store
2023-10-13	12:36:22	995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860487','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:22	995	[DEBUG]	Checking manufacturer
2023-10-13	12:36:22	995	[DEBUG]	Load a row
2023-10-13	12:36:22	995	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:22	995	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:36:22	995	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:22	995	[DEBUG]	Executed store
2023-10-13	12:36:22	995	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:36:22	995	[DEBUG]	Manufacturer exists
2023-10-13	12:36:22	995	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:36:22	995	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:22	995	[DEBUG]	Executed store
2023-10-13	12:36:22	995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860487','26')
2023-10-13	12:36:22	995	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:22	995	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:22	995	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860487 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:22	995	[DEBUG]	Store custom available field
2023-10-13	12:36:22	995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860487,3,'',1)
2023-10-13	12:36:22	995	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:22	995	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:36:22	995	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860487 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:22	995	[DEBUG]	Store custom available field
2023-10-13	12:36:22	995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860487,6,'All',3)
2023-10-13	12:36:22	995	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:22	995	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:22	995	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860486
2023-10-13	12:36:22	995	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:22	995	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860486\":[1860486,8,1,\"choisir la taille\"],\"1860487\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860486
2023-10-13	12:36:22	995	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:22	995	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860487
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:22	996	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field taille
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:22	996	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:22	996	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:22	996	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:22	996	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:22	996	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:22	996	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field published
2023-10-13	12:36:22	996	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:22	996	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field override
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:22	996	[DEBUG]	Use field value for field slug
2023-10-13	12:36:22	996	[DEBUG]	Process line 996
2023-10-13	12:36:22	996	[DEBUG]	Load a row
2023-10-13	12:36:22	996	[DEBUG]	Processing item: A_5160_4
2023-10-13	12:36:22	996	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:22	996	[DEBUG]	Processing product tax
2023-10-13	12:36:22	996	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:22	996	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:22	996	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:22	996	[DEBUG]	Query for Product
2023-10-13	12:36:22	996	[DEBUG]	Executed store
2023-10-13	12:36:22	996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5160_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:22	996	[DEBUG]	Check product language entry
2023-10-13	12:36:22	996	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860488
2023-10-13	12:36:22	996	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:22	996	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5160_4' AND `virtuemart_product_id` != 1860488
2023-10-13	12:36:22	996	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:22	996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860488, 'A_5160_4')
2023-10-13	12:36:22	996	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:22	996	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg75-10s-slx-acier' AND `virtuemart_product_id` != 1860488
2023-10-13	12:36:22	996	[DEBUG]	Query for ProductLang
2023-10-13	12:36:22	996	[DEBUG]	Executed store
2023-10-13	12:36:22	996	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 451.005.014',`product_name`='SHIMANO Chaîne SHIMANO CN-HG75 10s SLX / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg75-10s-slx-acier' WHERE `virtuemart_product_id` = '1860488'
2023-10-13	12:36:22	996	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29625_chaine_shimano_cn-hg75_10s_slx.jpg
2023-10-13	12:36:22	996	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:22	996	[DEBUG]	Process image file
2023-10-13	12:36:22	996	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:22	996	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:22	996	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29625_chaine_shimano_cn-hg75_10s_slx.jpg
2023-10-13	12:36:22	996	[DEBUG]	Full name target: bcprisme/29625_chaine_shimano_cn-hg75_10s_slx.jpg
2023-10-13	12:36:23	996	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:23	996	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29625_chaine_shimano_cn-hg75_10s_slx.jpg'
2023-10-13	12:36:23	996	[DEBUG]	Query for Media
2023-10-13	12:36:23	996	[DEBUG]	Executed store
2023-10-13	12:36:23	996	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29625_chaine_shimano_cn-hg75_10s_slx.jpg',`file_url_thumb`='bcprisme/29625_chaine_shimano_cn-hg75_10s_slx.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12533'
2023-10-13	12:36:23	996	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:23	996	[DEBUG]	Executed store
2023-10-13	12:36:23	996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860488','12533','1')
2023-10-13	12:36:23	996	[DEBUG]	Store product image relation
2023-10-13	12:36:23	996	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:23	996	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860488 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:23	996	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:23	996	[DEBUG]	Executed store
2023-10-13	12:36:23	996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860488','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:23	996	[DEBUG]	Checking manufacturer
2023-10-13	12:36:23	996	[DEBUG]	Load a row
2023-10-13	12:36:23	996	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:23	996	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:23	996	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:23	996	[DEBUG]	Executed store
2023-10-13	12:36:23	996	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:23	996	[DEBUG]	Manufacturer exists
2023-10-13	12:36:23	996	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:36:23	996	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:23	996	[DEBUG]	Executed store
2023-10-13	12:36:23	996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860488','123')
2023-10-13	12:36:23	996	[DEBUG]	Find the custom field ID
2023-10-13	12:36:23	996	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:23	996	[DEBUG]	No custom field ID found
2023-10-13	12:36:23	996	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:23	996	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:36:23	996	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860488 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:23	996	[DEBUG]	Store custom available field
2023-10-13	12:36:23	996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860488,3,'0',1)
2023-10-13	12:36:23	996	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:23	996	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:23	996	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860488 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:23	996	[DEBUG]	Store custom available field
2023-10-13	12:36:23	996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860488,6,'choisir la taille',3)
2023-10-13	12:36:23	996	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:23	996	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:23	996	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:23	996	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:23	996	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860488 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:23	996	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:23	996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860488,8,1)
2023-10-13	12:36:23	996	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:23	996	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860488\":[1860488,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860488
2023-10-13	12:36:23	996	[DEBUG]	Checking category
2023-10-13	12:36:23	996	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:23	996	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860488
2023-10-13	12:36:23	996	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:23	996	[DEBUG]	Executed store
2023-10-13	12:36:23	996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860488','7285')
2023-10-13	12:36:23	996	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:23	996	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860488 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:23	996	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:23	996	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860488
2023-10-13	12:36:23	997	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:23	997	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:23	997	[DEBUG]	Use field value for field taille
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:23	997	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:23	997	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:23	997	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:23	997	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:23	997	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:23	997	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:23	997	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:23	997	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:23	997	[DEBUG]	Use field value for field published
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:23	997	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field override
2023-10-13	12:36:23	997	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:23	997	[DEBUG]	Use field value for field slug
2023-10-13	12:36:23	997	[DEBUG]	Process line 997
2023-10-13	12:36:23	997	[DEBUG]	Load a row
2023-10-13	12:36:23	997	[DEBUG]	Processing item: 4524667984658
2023-10-13	12:36:23	997	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:23	997	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:23	997	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5160_4'
2023-10-13	12:36:23	997	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:23	997	[DEBUG]	Processing product tax
2023-10-13	12:36:23	997	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:23	997	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:23	997	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:23	997	[DEBUG]	Query for Product
2023-10-13	12:36:23	997	[DEBUG]	Executed store
2023-10-13	12:36:23	997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860488','4524667984658','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:23	997	[DEBUG]	No parent found
2023-10-13	12:36:23	997	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860488 AND customfield_value = 'stockable'
2023-10-13	12:36:23	997	[DEBUG]	Check product language entry
2023-10-13	12:36:23	997	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860489
2023-10-13	12:36:23	997	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:23	997	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667984658' AND `virtuemart_product_id` != 1860489
2023-10-13	12:36:23	997	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:23	997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860489, '4524667984658')
2023-10-13	12:36:23	997	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:23	997	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg75-10s-slx-acier-unitaire' AND `virtuemart_product_id` != 1860489
2023-10-13	12:36:23	997	[DEBUG]	Query for ProductLang
2023-10-13	12:36:23	997	[DEBUG]	Executed store
2023-10-13	12:36:23	997	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN-HG75 10s SLX / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg75-10s-slx-acier-unitaire' WHERE `virtuemart_product_id` = '1860489'
2023-10-13	12:36:23	997	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29625_chaine_shimano_cn-hg75_10s_slx.jpg
2023-10-13	12:36:23	997	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:23	997	[DEBUG]	Process image file
2023-10-13	12:36:23	997	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:23	997	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:23	997	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29625_chaine_shimano_cn-hg75_10s_slx.jpg
2023-10-13	12:36:23	997	[DEBUG]	Full name target: bcprisme/29625_chaine_shimano_cn-hg75_10s_slx.jpg
2023-10-13	12:36:24	997	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:24	997	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29625_chaine_shimano_cn-hg75_10s_slx.jpg'
2023-10-13	12:36:24	997	[DEBUG]	Query for Media
2023-10-13	12:36:24	997	[DEBUG]	Executed store
2023-10-13	12:36:24	997	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29625_chaine_shimano_cn-hg75_10s_slx.jpg',`file_url_thumb`='bcprisme/29625_chaine_shimano_cn-hg75_10s_slx.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12533'
2023-10-13	12:36:24	997	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:24	997	[DEBUG]	Executed store
2023-10-13	12:36:24	997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860489','12533','1')
2023-10-13	12:36:24	997	[DEBUG]	Store product image relation
2023-10-13	12:36:24	997	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:24	997	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860489 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:24	997	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:24	997	[DEBUG]	Executed store
2023-10-13	12:36:24	997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860489','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:24	997	[DEBUG]	Checking manufacturer
2023-10-13	12:36:24	997	[DEBUG]	Load a row
2023-10-13	12:36:24	997	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:24	997	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:24	997	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:24	997	[DEBUG]	Executed store
2023-10-13	12:36:24	997	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:24	997	[DEBUG]	Manufacturer exists
2023-10-13	12:36:24	997	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:36:24	997	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:24	997	[DEBUG]	Executed store
2023-10-13	12:36:24	997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860489','123')
2023-10-13	12:36:24	997	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:24	997	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:24	997	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860489 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:24	997	[DEBUG]	Store custom available field
2023-10-13	12:36:24	997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860489,3,'',1)
2023-10-13	12:36:24	997	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:24	997	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:36:24	997	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860489 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:24	997	[DEBUG]	Store custom available field
2023-10-13	12:36:24	997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860489,6,'Unitaire',3)
2023-10-13	12:36:24	997	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:24	997	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:24	997	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860488
2023-10-13	12:36:24	997	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:24	997	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860488\":[1860488,8,1,\"choisir la taille\"],\"1860489\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860488
2023-10-13	12:36:24	997	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:24	997	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860489
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:24	998	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field taille
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:24	998	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:24	998	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:24	998	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:24	998	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:24	998	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:24	998	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field published
2023-10-13	12:36:24	998	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:24	998	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field override
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:24	998	[DEBUG]	Use field value for field slug
2023-10-13	12:36:24	998	[DEBUG]	Process line 998
2023-10-13	12:36:24	998	[DEBUG]	Load a row
2023-10-13	12:36:24	998	[DEBUG]	Processing item: A_5509_4
2023-10-13	12:36:24	998	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:24	998	[DEBUG]	Processing product tax
2023-10-13	12:36:24	998	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:24	998	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:24	998	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:24	998	[DEBUG]	Query for Product
2023-10-13	12:36:24	998	[DEBUG]	Executed store
2023-10-13	12:36:24	998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5509_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:24	998	[DEBUG]	Check product language entry
2023-10-13	12:36:24	998	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860490
2023-10-13	12:36:24	998	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:24	998	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5509_4' AND `virtuemart_product_id` != 1860490
2023-10-13	12:36:24	998	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:24	998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860490, 'A_5509_4')
2023-10-13	12:36:24	998	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:24	998	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-ultegra-cn-6600-10-vitesses-116-maillons-box-acier' AND `virtuemart_product_id` != 1860490
2023-10-13	12:36:24	998	[DEBUG]	Query for ProductLang
2023-10-13	12:36:24	998	[DEBUG]	Executed store
2023-10-13	12:36:24	998	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.36219',`product_name`='SHIMANO Chaîne SHIMANO Ultegra CN-6600 10-vitesses 116 maillons box / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-ultegra-cn-6600-10-vitesses-116-maillons-box-acier' WHERE `virtuemart_product_id` = '1860490'
2023-10-13	12:36:24	998	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30013_shimano_chaîne_ultegra_cn-6600_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:24	998	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:24	998	[DEBUG]	Process image file
2023-10-13	12:36:24	998	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:24	998	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:24	998	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30013_shimano_chaîne_ultegra_cn-6600_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:24	998	[DEBUG]	Full name target: bcprisme/30013_shimano_chaîne_ultegra_cn-6600_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:25	998	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:25	998	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30013_shimano_chaîne_ultegra_cn-6600_10-vitesses_116_maillons_box.jpg'
2023-10-13	12:36:25	998	[DEBUG]	Query for Media
2023-10-13	12:36:25	998	[DEBUG]	Executed store
2023-10-13	12:36:25	998	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30013_shimano_chaîne_ultegra_cn-6600_10-vitesses_116_maillons_box.jpg',`file_url_thumb`='bcprisme/30013_shimano_chaîne_ultegra_cn-6600_10-vitesses_116_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12534'
2023-10-13	12:36:25	998	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:25	998	[DEBUG]	Executed store
2023-10-13	12:36:25	998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860490','12534','1')
2023-10-13	12:36:25	998	[DEBUG]	Store product image relation
2023-10-13	12:36:25	998	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:25	998	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860490 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:25	998	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:25	998	[DEBUG]	Executed store
2023-10-13	12:36:25	998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860490','0','45.4038997214485','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:25	998	[DEBUG]	Checking manufacturer
2023-10-13	12:36:25	998	[DEBUG]	Load a row
2023-10-13	12:36:25	998	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:25	998	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:25	998	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:25	998	[DEBUG]	Executed store
2023-10-13	12:36:25	998	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:25	998	[DEBUG]	Manufacturer exists
2023-10-13	12:36:25	998	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:36:25	998	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:25	998	[DEBUG]	Executed store
2023-10-13	12:36:25	998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860490','123')
2023-10-13	12:36:25	998	[DEBUG]	Find the custom field ID
2023-10-13	12:36:25	998	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:25	998	[DEBUG]	No custom field ID found
2023-10-13	12:36:25	998	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:25	998	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:36:25	998	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860490 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:25	998	[DEBUG]	Store custom available field
2023-10-13	12:36:25	998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860490,3,'0',1)
2023-10-13	12:36:25	998	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:25	998	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:25	998	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860490 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:25	998	[DEBUG]	Store custom available field
2023-10-13	12:36:25	998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860490,6,'choisir la taille',3)
2023-10-13	12:36:25	998	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:25	998	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:25	998	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:25	998	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:25	998	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860490 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:25	998	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:25	998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860490,8,1)
2023-10-13	12:36:25	998	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:25	998	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860490\":[1860490,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860490
2023-10-13	12:36:25	998	[DEBUG]	Checking category
2023-10-13	12:36:25	998	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:25	998	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860490
2023-10-13	12:36:25	998	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:25	998	[DEBUG]	Executed store
2023-10-13	12:36:25	998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860490','7285')
2023-10-13	12:36:25	998	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:25	998	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860490 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:25	998	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:25	998	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860490
2023-10-13	12:36:25	999	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:25	999	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:25	999	[DEBUG]	Use field value for field taille
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:25	999	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:25	999	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:25	999	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:25	999	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:25	999	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:25	999	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:25	999	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:25	999	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:25	999	[DEBUG]	Use field value for field published
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:25	999	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field override
2023-10-13	12:36:25	999	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:25	999	[DEBUG]	Use field value for field slug
2023-10-13	12:36:25	999	[DEBUG]	Process line 999
2023-10-13	12:36:25	999	[DEBUG]	Load a row
2023-10-13	12:36:25	999	[DEBUG]	Processing item: 1000000084191
2023-10-13	12:36:25	999	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:25	999	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:25	999	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5509_4'
2023-10-13	12:36:25	999	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:25	999	[DEBUG]	Processing product tax
2023-10-13	12:36:25	999	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:25	999	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:25	999	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:25	999	[DEBUG]	Query for Product
2023-10-13	12:36:25	999	[DEBUG]	Executed store
2023-10-13	12:36:25	999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860490','1000000084191','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:25	999	[DEBUG]	No parent found
2023-10-13	12:36:25	999	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860490 AND customfield_value = 'stockable'
2023-10-13	12:36:25	999	[DEBUG]	Check product language entry
2023-10-13	12:36:25	999	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860491
2023-10-13	12:36:25	999	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:25	999	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000084191' AND `virtuemart_product_id` != 1860491
2023-10-13	12:36:25	999	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:25	999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860491, '1000000084191')
2023-10-13	12:36:25	999	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:25	999	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-ultegra-cn-6600-10-vitesses-116-maillons-box-acier-all' AND `virtuemart_product_id` != 1860491
2023-10-13	12:36:25	999	[DEBUG]	Query for ProductLang
2023-10-13	12:36:25	999	[DEBUG]	Executed store
2023-10-13	12:36:25	999	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO Ultegra CN-6600 10-vitesses 116 maillons box / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-ultegra-cn-6600-10-vitesses-116-maillons-box-acier-all' WHERE `virtuemart_product_id` = '1860491'
2023-10-13	12:36:25	999	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30013_shimano_chaîne_ultegra_cn-6600_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:25	999	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:25	999	[DEBUG]	Process image file
2023-10-13	12:36:25	999	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:25	999	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:25	999	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30013_shimano_chaîne_ultegra_cn-6600_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:25	999	[DEBUG]	Full name target: bcprisme/30013_shimano_chaîne_ultegra_cn-6600_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:26	999	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:26	999	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30013_shimano_chaîne_ultegra_cn-6600_10-vitesses_116_maillons_box.jpg'
2023-10-13	12:36:26	999	[DEBUG]	Query for Media
2023-10-13	12:36:26	999	[DEBUG]	Executed store
2023-10-13	12:36:26	999	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30013_shimano_chaîne_ultegra_cn-6600_10-vitesses_116_maillons_box.jpg',`file_url_thumb`='bcprisme/30013_shimano_chaîne_ultegra_cn-6600_10-vitesses_116_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12534'
2023-10-13	12:36:26	999	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:26	999	[DEBUG]	Executed store
2023-10-13	12:36:26	999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860491','12534','1')
2023-10-13	12:36:26	999	[DEBUG]	Store product image relation
2023-10-13	12:36:26	999	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:26	999	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860491 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:26	999	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:26	999	[DEBUG]	Executed store
2023-10-13	12:36:26	999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860491','0','45.4038997214485','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:26	999	[DEBUG]	Checking manufacturer
2023-10-13	12:36:26	999	[DEBUG]	Load a row
2023-10-13	12:36:26	999	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:26	999	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:26	999	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:26	999	[DEBUG]	Executed store
2023-10-13	12:36:26	999	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:26	999	[DEBUG]	Manufacturer exists
2023-10-13	12:36:26	999	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:36:26	999	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:26	999	[DEBUG]	Executed store
2023-10-13	12:36:26	999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860491','123')
2023-10-13	12:36:26	999	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:26	999	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:26	999	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860491 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:26	999	[DEBUG]	Store custom available field
2023-10-13	12:36:26	999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860491,3,'',1)
2023-10-13	12:36:26	999	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:26	999	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:36:26	999	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860491 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:26	999	[DEBUG]	Store custom available field
2023-10-13	12:36:26	999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860491,6,'All',3)
2023-10-13	12:36:26	999	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:26	999	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:26	999	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860490
2023-10-13	12:36:26	999	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:26	999	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860490\":[1860490,8,1,\"choisir la taille\"],\"1860491\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860490
2023-10-13	12:36:26	999	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:26	999	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860491
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:26	1000	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field taille
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:26	1000	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:26	1000	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:26	1000	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:26	1000	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:26	1000	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:26	1000	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field published
2023-10-13	12:36:26	1000	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:26	1000	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field override
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:26	1000	[DEBUG]	Use field value for field slug
2023-10-13	12:36:26	1000	[DEBUG]	Process line 1000
2023-10-13	12:36:26	1000	[DEBUG]	Load a row
2023-10-13	12:36:26	1000	[DEBUG]	Processing item: A_5510_3
2023-10-13	12:36:26	1000	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:26	1000	[DEBUG]	Processing product tax
2023-10-13	12:36:26	1000	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:26	1000	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:26	1000	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:26	1000	[DEBUG]	Query for Product
2023-10-13	12:36:26	1000	[DEBUG]	Executed store
2023-10-13	12:36:26	1000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5510_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0')
2023-10-13	12:36:26	1000	[DEBUG]	Check product language entry
2023-10-13	12:36:26	1000	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860492
2023-10-13	12:36:26	1000	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:26	1000	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5510_3' AND `virtuemart_product_id` != 1860492
2023-10-13	12:36:26	1000	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:26	1000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860492, 'A_5510_3')
2023-10-13	12:36:26	1000	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:26	1000	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-105-pour-3x10-vitesses-cn-5600-none' AND `virtuemart_product_id` != 1860492
2023-10-13	12:36:26	1000	[DEBUG]	Query for ProductLang
2023-10-13	12:36:26	1000	[DEBUG]	Executed store
2023-10-13	12:36:26	1000	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 451.005.002',`product_name`='SHIMANO Chaîne SHIMANO 105 pour 3x10 vitesses CN-5600 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-105-pour-3x10-vitesses-cn-5600-none' WHERE `virtuemart_product_id` = '1860492'
2023-10-13	12:36:26	1000	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30014_shimano_chaîne_105_pour_3x10_vitesses_cn-5600.jpg
2023-10-13	12:36:26	1000	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:26	1000	[DEBUG]	Process image file
2023-10-13	12:36:26	1000	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:26	1000	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:26	1000	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30014_shimano_chaîne_105_pour_3x10_vitesses_cn-5600.jpg
2023-10-13	12:36:26	1000	[DEBUG]	Full name target: bcprisme/30014_shimano_chaîne_105_pour_3x10_vitesses_cn-5600.jpg
2023-10-13	12:36:27	1000	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:27	1000	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30014_shimano_chaîne_105_pour_3x10_vitesses_cn-5600.jpg'
2023-10-13	12:36:27	1000	[DEBUG]	Query for Media
2023-10-13	12:36:27	1000	[DEBUG]	Executed store
2023-10-13	12:36:27	1000	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30014_shimano_chaîne_105_pour_3x10_vitesses_cn-5600.jpg',`file_url_thumb`='bcprisme/30014_shimano_chaîne_105_pour_3x10_vitesses_cn-5600.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12535'
2023-10-13	12:36:27	1000	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:27	1000	[DEBUG]	Executed store
2023-10-13	12:36:27	1000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860492','12535','1')
2023-10-13	12:36:27	1000	[DEBUG]	Store product image relation
2023-10-13	12:36:27	1000	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:27	1000	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860492 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:27	1000	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:27	1000	[DEBUG]	Executed store
2023-10-13	12:36:27	1000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860492','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:34:46','1593','2023-10-13 12:34:46','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:27	1000	[DEBUG]	Checking manufacturer
2023-10-13	12:36:27	1000	[DEBUG]	Load a row
2023-10-13	12:36:27	1000	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:27	1000	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:27	1000	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:27	1000	[DEBUG]	Executed store
2023-10-13	12:36:27	1000	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:27	1000	[DEBUG]	Manufacturer exists
2023-10-13	12:36:27	1000	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:36:27	1000	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:27	1000	[DEBUG]	Executed store
2023-10-13	12:36:27	1000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860492','123')
2023-10-13	12:36:27	1000	[DEBUG]	Find the custom field ID
2023-10-13	12:36:27	1000	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:27	1000	[DEBUG]	No custom field ID found
2023-10-13	12:36:27	1000	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:27	1000	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:36:27	1000	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860492 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:27	1000	[DEBUG]	Store custom available field
2023-10-13	12:36:27	1000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860492,3,'0',1)
2023-10-13	12:36:27	1000	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:27	1000	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:27	1000	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860492 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:27	1000	[DEBUG]	Store custom available field
2023-10-13	12:36:27	1000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860492,6,'choisir la taille',3)
2023-10-13	12:36:27	1000	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:27	1000	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:27	1000	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:27	1000	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:27	1000	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860492 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:27	1000	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:27	1000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860492,8,1)
2023-10-13	12:36:27	1000	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:27	1000	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860492\":[1860492,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860492
2023-10-13	12:36:27	1000	[DEBUG]	Checking category
2023-10-13	12:36:27	1000	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:27	1000	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860492
2023-10-13	12:36:27	1000	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:27	1000	[DEBUG]	Executed store
2023-10-13	12:36:27	1000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860492','7285')
2023-10-13	12:36:27	1000	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:27	1000	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860492 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:27	1000	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:27	1000	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860492
2023-10-13	12:36:47	1000	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:36:47	1000	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:36:47	1000	[DEBUG]	Load the fields to process
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: product_sku
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: taille
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: product_name
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: category_path
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: product_price
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: product_override_price
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: product_tax
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: file_url
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: product_desc
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: product_availability
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: product_weight
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: product_unit
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: related_products
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: product_special
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: published
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: metadesc
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: metakey
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: custom_title
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: custom_value
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: custom_param
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: override
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: public_price
2023-10-13	12:36:47	1000	[DEBUG]	Setup field: slug
2023-10-13	12:36:47	1000	[DEBUG]	Use the file for configuration
2023-10-13	12:36:47	1000	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:36:47	1000	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:36:47	1000	[DEBUG]	Load the custom fields
2023-10-13	12:36:47	1000	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:36:47	1000	[DEBUG]	Load stockable custom fields
2023-10-13	12:36:47	1000	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:36:47	1000	[DEBUG]	Load custom fields for all
2023-10-13	12:36:47	1000	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:36:47	1001	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:47	1001	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:47	1001	[DEBUG]	Use field value for field taille
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:47	1001	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:47	1001	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:47	1001	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:47	1001	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:47	1001	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:47	1001	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:47	1001	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:47	1001	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:47	1001	[DEBUG]	Use field value for field published
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:47	1001	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field override
2023-10-13	12:36:47	1001	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:47	1001	[DEBUG]	Use field value for field slug
2023-10-13	12:36:47	1001	[DEBUG]	Process line 1001
2023-10-13	12:36:47	1001	[DEBUG]	Check if the vendor exists
2023-10-13	12:36:47	1001	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '4524667087144'
2023-10-13	12:36:47	1001	[DEBUG]	Load a row
2023-10-13	12:36:47	1001	[DEBUG]	Processing item: 4524667087144
2023-10-13	12:36:47	1001	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:47	1001	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:47	1001	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5510_3'
2023-10-13	12:36:47	1001	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:47	1001	[DEBUG]	Processing product tax
2023-10-13	12:36:47	1001	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:47	1001	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:47	1001	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:47	1001	[DEBUG]	Query for Product
2023-10-13	12:36:47	1001	[DEBUG]	Executed store
2023-10-13	12:36:47	1001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860492','4524667087144','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:36:47	1001	[DEBUG]	No parent found
2023-10-13	12:36:47	1001	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860492 AND customfield_value = 'stockable'
2023-10-13	12:36:47	1001	[DEBUG]	Check product language entry
2023-10-13	12:36:47	1001	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860493
2023-10-13	12:36:47	1001	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:47	1001	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667087144' AND `virtuemart_product_id` != 1860493
2023-10-13	12:36:47	1001	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:47	1001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860493, '4524667087144')
2023-10-13	12:36:47	1001	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:47	1001	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-105-pour-3x10-vitesses-cn-5600-none-all' AND `virtuemart_product_id` != 1860493
2023-10-13	12:36:47	1001	[DEBUG]	Query for ProductLang
2023-10-13	12:36:47	1001	[DEBUG]	Executed store
2023-10-13	12:36:47	1001	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO 105 pour 3x10 vitesses CN-5600 / None (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-105-pour-3x10-vitesses-cn-5600-none-all' WHERE `virtuemart_product_id` = '1860493'
2023-10-13	12:36:47	1001	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30014_shimano_chaîne_105_pour_3x10_vitesses_cn-5600.jpg
2023-10-13	12:36:47	1001	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:47	1001	[DEBUG]	Process image file
2023-10-13	12:36:47	1001	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:47	1001	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:47	1001	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30014_shimano_chaîne_105_pour_3x10_vitesses_cn-5600.jpg
2023-10-13	12:36:47	1001	[DEBUG]	Full name target: bcprisme/30014_shimano_chaîne_105_pour_3x10_vitesses_cn-5600.jpg
2023-10-13	12:36:48	1001	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:48	1001	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30014_shimano_chaîne_105_pour_3x10_vitesses_cn-5600.jpg'
2023-10-13	12:36:48	1001	[DEBUG]	Query for Media
2023-10-13	12:36:48	1001	[DEBUG]	Executed store
2023-10-13	12:36:48	1001	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30014_shimano_chaîne_105_pour_3x10_vitesses_cn-5600.jpg',`file_url_thumb`='bcprisme/30014_shimano_chaîne_105_pour_3x10_vitesses_cn-5600.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12535'
2023-10-13	12:36:48	1001	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:48	1001	[DEBUG]	Executed store
2023-10-13	12:36:48	1001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860493','12535','1')
2023-10-13	12:36:48	1001	[DEBUG]	Store product image relation
2023-10-13	12:36:48	1001	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:48	1001	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860493 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:48	1001	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:48	1001	[DEBUG]	Executed store
2023-10-13	12:36:48	1001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860493','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:48	1001	[DEBUG]	Checking manufacturer
2023-10-13	12:36:48	1001	[DEBUG]	Load a row
2023-10-13	12:36:48	1001	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:48	1001	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:48	1001	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:48	1001	[DEBUG]	Executed store
2023-10-13	12:36:48	1001	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:48	1001	[DEBUG]	Manufacturer exists
2023-10-13	12:36:48	1001	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:36:48	1001	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:48	1001	[DEBUG]	Executed store
2023-10-13	12:36:48	1001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860493','123')
2023-10-13	12:36:48	1001	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:48	1001	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:48	1001	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860493 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:48	1001	[DEBUG]	Store custom available field
2023-10-13	12:36:48	1001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860493,3,'',1)
2023-10-13	12:36:48	1001	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:48	1001	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:36:48	1001	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860493 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:48	1001	[DEBUG]	Store custom available field
2023-10-13	12:36:48	1001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860493,6,'All',3)
2023-10-13	12:36:48	1001	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:48	1001	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:48	1001	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860492
2023-10-13	12:36:48	1001	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:48	1001	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860492\":[1860492,8,1,\"choisir la taille\"],\"1860493\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860492
2023-10-13	12:36:48	1001	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:48	1001	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860493
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:48	1002	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field taille
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:48	1002	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:48	1002	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:48	1002	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:48	1002	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:48	1002	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:48	1002	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field published
2023-10-13	12:36:48	1002	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:48	1002	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field override
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:48	1002	[DEBUG]	Use field value for field slug
2023-10-13	12:36:48	1002	[DEBUG]	Process line 1002
2023-10-13	12:36:48	1002	[DEBUG]	Load a row
2023-10-13	12:36:48	1002	[DEBUG]	Processing item: A_5512_4
2023-10-13	12:36:48	1002	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:48	1002	[DEBUG]	Processing product tax
2023-10-13	12:36:48	1002	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:48	1002	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:48	1002	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:48	1002	[DEBUG]	Query for Product
2023-10-13	12:36:48	1002	[DEBUG]	Executed store
2023-10-13	12:36:48	1002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5512_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:36:48	1002	[DEBUG]	Check product language entry
2023-10-13	12:36:48	1002	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860494
2023-10-13	12:36:48	1002	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:48	1002	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5512_4' AND `virtuemart_product_id` != 1860494
2023-10-13	12:36:48	1002	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:48	1002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860494, 'A_5512_4')
2023-10-13	12:36:48	1002	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:48	1002	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-105-pour-2x10-vitesses-acier' AND `virtuemart_product_id` != 1860494
2023-10-13	12:36:48	1002	[DEBUG]	Query for ProductLang
2023-10-13	12:36:48	1002	[DEBUG]	Executed store
2023-10-13	12:36:48	1002	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 451.005.003',`product_name`='SHIMANO Chaîne SHIMANO 105 pour 2x10 vitesses / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-105-pour-2x10-vitesses-acier' WHERE `virtuemart_product_id` = '1860494'
2023-10-13	12:36:48	1002	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30016_shimano_chaîne_105_pour_2x10_vitesses.jpg
2023-10-13	12:36:48	1002	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:48	1002	[DEBUG]	Process image file
2023-10-13	12:36:48	1002	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:48	1002	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:48	1002	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30016_shimano_chaîne_105_pour_2x10_vitesses.jpg
2023-10-13	12:36:48	1002	[DEBUG]	Full name target: bcprisme/30016_shimano_chaîne_105_pour_2x10_vitesses.jpg
2023-10-13	12:36:49	1002	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:49	1002	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30016_shimano_chaîne_105_pour_2x10_vitesses.jpg'
2023-10-13	12:36:49	1002	[DEBUG]	Query for Media
2023-10-13	12:36:49	1002	[DEBUG]	Executed store
2023-10-13	12:36:49	1002	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30016_shimano_chaîne_105_pour_2x10_vitesses.jpg',`file_url_thumb`='bcprisme/30016_shimano_chaîne_105_pour_2x10_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12536'
2023-10-13	12:36:49	1002	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:49	1002	[DEBUG]	Executed store
2023-10-13	12:36:49	1002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860494','12536','1')
2023-10-13	12:36:49	1002	[DEBUG]	Store product image relation
2023-10-13	12:36:49	1002	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:49	1002	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860494 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:49	1002	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:49	1002	[DEBUG]	Executed store
2023-10-13	12:36:49	1002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860494','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:49	1002	[DEBUG]	Checking manufacturer
2023-10-13	12:36:49	1002	[DEBUG]	Load a row
2023-10-13	12:36:49	1002	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:49	1002	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:49	1002	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:49	1002	[DEBUG]	Executed store
2023-10-13	12:36:49	1002	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:49	1002	[DEBUG]	Manufacturer exists
2023-10-13	12:36:49	1002	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:36:49	1002	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:49	1002	[DEBUG]	Executed store
2023-10-13	12:36:49	1002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860494','123')
2023-10-13	12:36:49	1002	[DEBUG]	Find the custom field ID
2023-10-13	12:36:49	1002	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:49	1002	[DEBUG]	No custom field ID found
2023-10-13	12:36:49	1002	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:49	1002	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:36:49	1002	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860494 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:49	1002	[DEBUG]	Store custom available field
2023-10-13	12:36:49	1002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860494,3,'0',1)
2023-10-13	12:36:49	1002	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:49	1002	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:49	1002	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860494 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:49	1002	[DEBUG]	Store custom available field
2023-10-13	12:36:49	1002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860494,6,'choisir la taille',3)
2023-10-13	12:36:49	1002	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:49	1002	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:49	1002	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:49	1002	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:49	1002	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860494 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:49	1002	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:49	1002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860494,8,1)
2023-10-13	12:36:49	1002	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:49	1002	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860494\":[1860494,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860494
2023-10-13	12:36:49	1002	[DEBUG]	Checking category
2023-10-13	12:36:49	1002	[DEBUG]	Check if category path exists: CHAINES - KETTEN
2023-10-13	12:36:49	1002	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAINES - KETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:36:49	1002	[DEBUG]	Check if category path exists: CHAINES 10 VITESSES - 10 FACH KETTEN
2023-10-13	12:36:49	1002	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAINES 10 VITESSES - 10 FACH KETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7284
2023-10-13	12:36:49	1002	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:49	1002	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860494
2023-10-13	12:36:49	1002	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:49	1002	[DEBUG]	Executed store
2023-10-13	12:36:49	1002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860494','7285')
2023-10-13	12:36:49	1002	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:49	1002	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860494 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:49	1002	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:49	1002	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860494
2023-10-13	12:36:49	1003	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:49	1003	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:49	1003	[DEBUG]	Use field value for field taille
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:49	1003	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:49	1003	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:49	1003	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:49	1003	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:49	1003	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:49	1003	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:49	1003	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:49	1003	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:49	1003	[DEBUG]	Use field value for field published
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:49	1003	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field override
2023-10-13	12:36:49	1003	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:49	1003	[DEBUG]	Use field value for field slug
2023-10-13	12:36:49	1003	[DEBUG]	Process line 1003
2023-10-13	12:36:49	1003	[DEBUG]	Load a row
2023-10-13	12:36:49	1003	[DEBUG]	Processing item: 4524667428312
2023-10-13	12:36:49	1003	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:49	1003	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:49	1003	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5512_4'
2023-10-13	12:36:49	1003	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:49	1003	[DEBUG]	Processing product tax
2023-10-13	12:36:49	1003	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:49	1003	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:49	1003	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:49	1003	[DEBUG]	Query for Product
2023-10-13	12:36:49	1003	[DEBUG]	Executed store
2023-10-13	12:36:49	1003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860494','4524667428312','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:36:49	1003	[DEBUG]	No parent found
2023-10-13	12:36:49	1003	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860494 AND customfield_value = 'stockable'
2023-10-13	12:36:49	1003	[DEBUG]	Check product language entry
2023-10-13	12:36:49	1003	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860495
2023-10-13	12:36:49	1003	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:49	1003	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667428312' AND `virtuemart_product_id` != 1860495
2023-10-13	12:36:49	1003	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:49	1003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860495, '4524667428312')
2023-10-13	12:36:49	1003	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:49	1003	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-105-pour-2x10-vitesses-acier-all' AND `virtuemart_product_id` != 1860495
2023-10-13	12:36:49	1003	[DEBUG]	Query for ProductLang
2023-10-13	12:36:49	1003	[DEBUG]	Executed store
2023-10-13	12:36:49	1003	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO 105 pour 2x10 vitesses / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-105-pour-2x10-vitesses-acier-all' WHERE `virtuemart_product_id` = '1860495'
2023-10-13	12:36:49	1003	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30016_shimano_chaîne_105_pour_2x10_vitesses.jpg
2023-10-13	12:36:49	1003	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:49	1003	[DEBUG]	Process image file
2023-10-13	12:36:49	1003	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:49	1003	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:49	1003	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30016_shimano_chaîne_105_pour_2x10_vitesses.jpg
2023-10-13	12:36:49	1003	[DEBUG]	Full name target: bcprisme/30016_shimano_chaîne_105_pour_2x10_vitesses.jpg
2023-10-13	12:36:50	1003	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:50	1003	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30016_shimano_chaîne_105_pour_2x10_vitesses.jpg'
2023-10-13	12:36:50	1003	[DEBUG]	Query for Media
2023-10-13	12:36:50	1003	[DEBUG]	Executed store
2023-10-13	12:36:50	1003	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30016_shimano_chaîne_105_pour_2x10_vitesses.jpg',`file_url_thumb`='bcprisme/30016_shimano_chaîne_105_pour_2x10_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12536'
2023-10-13	12:36:50	1003	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:50	1003	[DEBUG]	Executed store
2023-10-13	12:36:50	1003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860495','12536','1')
2023-10-13	12:36:50	1003	[DEBUG]	Store product image relation
2023-10-13	12:36:50	1003	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:50	1003	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860495 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:50	1003	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:50	1003	[DEBUG]	Executed store
2023-10-13	12:36:50	1003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860495','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:50	1003	[DEBUG]	Checking manufacturer
2023-10-13	12:36:50	1003	[DEBUG]	Load a row
2023-10-13	12:36:50	1003	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:50	1003	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:50	1003	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:50	1003	[DEBUG]	Executed store
2023-10-13	12:36:50	1003	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:50	1003	[DEBUG]	Manufacturer exists
2023-10-13	12:36:50	1003	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:36:50	1003	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:50	1003	[DEBUG]	Executed store
2023-10-13	12:36:50	1003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860495','123')
2023-10-13	12:36:50	1003	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:50	1003	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:50	1003	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860495 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:50	1003	[DEBUG]	Store custom available field
2023-10-13	12:36:50	1003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860495,3,'',1)
2023-10-13	12:36:50	1003	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:50	1003	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:36:50	1003	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860495 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:50	1003	[DEBUG]	Store custom available field
2023-10-13	12:36:50	1003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860495,6,'All',3)
2023-10-13	12:36:50	1003	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:50	1003	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:50	1003	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860494
2023-10-13	12:36:50	1003	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:50	1003	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860494\":[1860494,8,1,\"choisir la taille\"],\"1860495\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860494
2023-10-13	12:36:50	1003	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:50	1003	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860495
2023-10-13	12:36:50	1004	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:50	1004	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:50	1004	[DEBUG]	Use field value for field taille
2023-10-13	12:36:50	1004	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:50	1004	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:50	1004	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:50	1004	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:50	1004	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:50	1004	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:50	1004	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:50	1004	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:50	1004	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:50	1004	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:50	1004	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:50	1004	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:50	1004	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:50	1004	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:50	1004	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:50	1004	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:50	1004	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:50	1004	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:51	1004	[DEBUG]	Use field value for field published
2023-10-13	12:36:51	1004	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:51	1004	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:51	1004	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:51	1004	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:51	1004	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:51	1004	[DEBUG]	Use field value for field override
2023-10-13	12:36:51	1004	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:51	1004	[DEBUG]	Use field value for field slug
2023-10-13	12:36:51	1004	[DEBUG]	Process line 1004
2023-10-13	12:36:51	1004	[DEBUG]	Load a row
2023-10-13	12:36:51	1004	[DEBUG]	Processing item: A_5513_4
2023-10-13	12:36:51	1004	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:51	1004	[DEBUG]	Processing product tax
2023-10-13	12:36:51	1004	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:51	1004	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:51	1004	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:51	1004	[DEBUG]	Query for Product
2023-10-13	12:36:51	1004	[DEBUG]	Executed store
2023-10-13	12:36:51	1004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5513_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:36:51	1004	[DEBUG]	Check product language entry
2023-10-13	12:36:51	1004	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860496
2023-10-13	12:36:51	1004	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:51	1004	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5513_4' AND `virtuemart_product_id` != 1860496
2023-10-13	12:36:51	1004	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:51	1004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860496, 'A_5513_4')
2023-10-13	12:36:51	1004	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:51	1004	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-ultegra-cn-6600-pour-2x10-vitesses-acier' AND `virtuemart_product_id` != 1860496
2023-10-13	12:36:51	1004	[DEBUG]	Query for ProductLang
2023-10-13	12:36:51	1004	[DEBUG]	Executed store
2023-10-13	12:36:51	1004	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 451.005.005',`product_name`='SHIMANO Chaîne SHIMANO Ultegra CN-6600 pour 2x10-vitesses  / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-ultegra-cn-6600-pour-2x10-vitesses-acier' WHERE `virtuemart_product_id` = '1860496'
2023-10-13	12:36:51	1004	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30017_shimano_chaîne_ultegra_cn-6600_pour_2x10-vitesses_.jpg
2023-10-13	12:36:51	1004	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:51	1004	[DEBUG]	Process image file
2023-10-13	12:36:51	1004	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:51	1004	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:51	1004	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30017_shimano_chaîne_ultegra_cn-6600_pour_2x10-vitesses_.jpg
2023-10-13	12:36:51	1004	[DEBUG]	Full name target: bcprisme/30017_shimano_chaîne_ultegra_cn-6600_pour_2x10-vitesses_.jpg
2023-10-13	12:36:51	1004	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:51	1004	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30017_shimano_chaîne_ultegra_cn-6600_pour_2x10-vitesses_.jpg'
2023-10-13	12:36:51	1004	[DEBUG]	Query for Media
2023-10-13	12:36:51	1004	[DEBUG]	Executed store
2023-10-13	12:36:51	1004	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30017_shimano_chaîne_ultegra_cn-6600_pour_2x10-vitesses_.jpg',`file_url_thumb`='bcprisme/30017_shimano_chaîne_ultegra_cn-6600_pour_2x10-vitesses_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12537'
2023-10-13	12:36:51	1004	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:51	1004	[DEBUG]	Executed store
2023-10-13	12:36:51	1004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860496','12537','1')
2023-10-13	12:36:51	1004	[DEBUG]	Store product image relation
2023-10-13	12:36:51	1004	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:51	1004	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860496 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:51	1004	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:51	1004	[DEBUG]	Executed store
2023-10-13	12:36:51	1004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860496','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:51	1004	[DEBUG]	Checking manufacturer
2023-10-13	12:36:51	1004	[DEBUG]	Load a row
2023-10-13	12:36:51	1004	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:51	1004	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:51	1004	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:51	1004	[DEBUG]	Executed store
2023-10-13	12:36:51	1004	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:52	1004	[DEBUG]	Manufacturer exists
2023-10-13	12:36:52	1004	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:36:52	1004	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:52	1004	[DEBUG]	Executed store
2023-10-13	12:36:52	1004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860496','123')
2023-10-13	12:36:52	1004	[DEBUG]	Find the custom field ID
2023-10-13	12:36:52	1004	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:52	1004	[DEBUG]	No custom field ID found
2023-10-13	12:36:52	1004	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:52	1004	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:36:52	1004	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860496 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:52	1004	[DEBUG]	Store custom available field
2023-10-13	12:36:52	1004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860496,3,'0',1)
2023-10-13	12:36:52	1004	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:52	1004	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:52	1004	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860496 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:52	1004	[DEBUG]	Store custom available field
2023-10-13	12:36:52	1004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860496,6,'choisir la taille',3)
2023-10-13	12:36:52	1004	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:52	1004	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:52	1004	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:52	1004	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:52	1004	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860496 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:52	1004	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:52	1004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860496,8,1)
2023-10-13	12:36:52	1004	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:52	1004	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860496\":[1860496,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860496
2023-10-13	12:36:52	1004	[DEBUG]	Checking category
2023-10-13	12:36:52	1004	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:52	1004	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860496
2023-10-13	12:36:52	1004	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:52	1004	[DEBUG]	Executed store
2023-10-13	12:36:52	1004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860496','7285')
2023-10-13	12:36:52	1004	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:52	1004	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860496 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:52	1004	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:52	1004	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860496
2023-10-13	12:36:52	1005	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:52	1005	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:52	1005	[DEBUG]	Use field value for field taille
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:52	1005	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:52	1005	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:52	1005	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:52	1005	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:52	1005	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:52	1005	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:52	1005	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:52	1005	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:52	1005	[DEBUG]	Use field value for field published
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:52	1005	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field override
2023-10-13	12:36:52	1005	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:52	1005	[DEBUG]	Use field value for field slug
2023-10-13	12:36:52	1005	[DEBUG]	Process line 1005
2023-10-13	12:36:52	1005	[DEBUG]	Load a row
2023-10-13	12:36:52	1005	[DEBUG]	Processing item: 4524667414018
2023-10-13	12:36:52	1005	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:52	1005	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:52	1005	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5513_4'
2023-10-13	12:36:52	1005	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:52	1005	[DEBUG]	Processing product tax
2023-10-13	12:36:52	1005	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:52	1005	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:52	1005	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:52	1005	[DEBUG]	Query for Product
2023-10-13	12:36:52	1005	[DEBUG]	Executed store
2023-10-13	12:36:52	1005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860496','4524667414018','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:36:52	1005	[DEBUG]	No parent found
2023-10-13	12:36:52	1005	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860496 AND customfield_value = 'stockable'
2023-10-13	12:36:52	1005	[DEBUG]	Check product language entry
2023-10-13	12:36:52	1005	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860497
2023-10-13	12:36:52	1005	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:52	1005	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667414018' AND `virtuemart_product_id` != 1860497
2023-10-13	12:36:52	1005	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:52	1005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860497, '4524667414018')
2023-10-13	12:36:52	1005	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:52	1005	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-ultegra-cn-6600-pour-2x10-vitesses-acier-all' AND `virtuemart_product_id` != 1860497
2023-10-13	12:36:52	1005	[DEBUG]	Query for ProductLang
2023-10-13	12:36:52	1005	[DEBUG]	Executed store
2023-10-13	12:36:52	1005	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO Ultegra CN-6600 pour 2x10-vitesses  / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-ultegra-cn-6600-pour-2x10-vitesses-acier-all' WHERE `virtuemart_product_id` = '1860497'
2023-10-13	12:36:52	1005	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30017_shimano_chaîne_ultegra_cn-6600_pour_2x10-vitesses_.jpg
2023-10-13	12:36:52	1005	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:52	1005	[DEBUG]	Process image file
2023-10-13	12:36:52	1005	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:52	1005	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:52	1005	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30017_shimano_chaîne_ultegra_cn-6600_pour_2x10-vitesses_.jpg
2023-10-13	12:36:52	1005	[DEBUG]	Full name target: bcprisme/30017_shimano_chaîne_ultegra_cn-6600_pour_2x10-vitesses_.jpg
2023-10-13	12:36:53	1005	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:53	1005	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30017_shimano_chaîne_ultegra_cn-6600_pour_2x10-vitesses_.jpg'
2023-10-13	12:36:53	1005	[DEBUG]	Query for Media
2023-10-13	12:36:53	1005	[DEBUG]	Executed store
2023-10-13	12:36:53	1005	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30017_shimano_chaîne_ultegra_cn-6600_pour_2x10-vitesses_.jpg',`file_url_thumb`='bcprisme/30017_shimano_chaîne_ultegra_cn-6600_pour_2x10-vitesses_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12537'
2023-10-13	12:36:53	1005	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:53	1005	[DEBUG]	Executed store
2023-10-13	12:36:53	1005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860497','12537','1')
2023-10-13	12:36:53	1005	[DEBUG]	Store product image relation
2023-10-13	12:36:53	1005	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:53	1005	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860497 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:53	1005	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:53	1005	[DEBUG]	Executed store
2023-10-13	12:36:53	1005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860497','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:53	1005	[DEBUG]	Checking manufacturer
2023-10-13	12:36:53	1005	[DEBUG]	Load a row
2023-10-13	12:36:53	1005	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:53	1005	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:53	1005	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:53	1005	[DEBUG]	Executed store
2023-10-13	12:36:53	1005	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:53	1005	[DEBUG]	Manufacturer exists
2023-10-13	12:36:53	1005	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:36:53	1005	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:53	1005	[DEBUG]	Executed store
2023-10-13	12:36:53	1005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860497','123')
2023-10-13	12:36:53	1005	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:53	1005	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:53	1005	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860497 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:53	1005	[DEBUG]	Store custom available field
2023-10-13	12:36:53	1005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860497,3,'',1)
2023-10-13	12:36:53	1005	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:53	1005	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:36:53	1005	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860497 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:53	1005	[DEBUG]	Store custom available field
2023-10-13	12:36:53	1005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860497,6,'All',3)
2023-10-13	12:36:53	1005	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:53	1005	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:53	1005	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860496
2023-10-13	12:36:53	1005	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:53	1005	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860496\":[1860496,8,1,\"choisir la taille\"],\"1860497\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860496
2023-10-13	12:36:53	1005	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:53	1005	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860497
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:53	1006	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field taille
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:53	1006	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:53	1006	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:53	1006	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:53	1006	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:53	1006	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:53	1006	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field published
2023-10-13	12:36:53	1006	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:53	1006	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field override
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:53	1006	[DEBUG]	Use field value for field slug
2023-10-13	12:36:53	1006	[DEBUG]	Process line 1006
2023-10-13	12:36:53	1006	[DEBUG]	Load a row
2023-10-13	12:36:53	1006	[DEBUG]	Processing item: A_5567_4
2023-10-13	12:36:53	1006	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:53	1006	[DEBUG]	Processing product tax
2023-10-13	12:36:53	1006	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:53	1006	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:53	1006	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:53	1006	[DEBUG]	Query for Product
2023-10-13	12:36:53	1006	[DEBUG]	Executed store
2023-10-13	12:36:53	1006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5567_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:36:53	1006	[DEBUG]	Check product language entry
2023-10-13	12:36:53	1006	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860498
2023-10-13	12:36:53	1006	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:53	1006	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5567_4' AND `virtuemart_product_id` != 1860498
2023-10-13	12:36:53	1006	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:53	1006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860498, 'A_5567_4')
2023-10-13	12:36:53	1006	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:53	1006	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-sram-pc-1031-10-vitesses-114-maillons-powerlink-acier' AND `virtuemart_product_id` != 1860498
2023-10-13	12:36:53	1006	[DEBUG]	Query for ProductLang
2023-10-13	12:36:53	1006	[DEBUG]	Executed store
2023-10-13	12:36:53	1006	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7209L-25',`product_name`='SRAM Chaîne SRAM PC 1031 10 VITESSES 114 MAILLONS, POWERLINK / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-sram-pc-1031-10-vitesses-114-maillons-powerlink-acier' WHERE `virtuemart_product_id` = '1860498'
2023-10-13	12:36:53	1006	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30066_shimano_chaîne_cn-hg95_10-vitesses_138_maillons_box_.jpg
2023-10-13	12:36:53	1006	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:53	1006	[DEBUG]	Process image file
2023-10-13	12:36:53	1006	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:53	1006	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:53	1006	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30066_shimano_chaîne_cn-hg95_10-vitesses_138_maillons_box_.jpg
2023-10-13	12:36:53	1006	[DEBUG]	Full name target: bcprisme/30066_shimano_chaîne_cn-hg95_10-vitesses_138_maillons_box_.jpg
2023-10-13	12:36:54	1006	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:54	1006	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30066_shimano_chaîne_cn-hg95_10-vitesses_138_maillons_box_.jpg'
2023-10-13	12:36:54	1006	[DEBUG]	Query for Media
2023-10-13	12:36:54	1006	[DEBUG]	Executed store
2023-10-13	12:36:54	1006	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30066_shimano_chaîne_cn-hg95_10-vitesses_138_maillons_box_.jpg',`file_url_thumb`='bcprisme/30066_shimano_chaîne_cn-hg95_10-vitesses_138_maillons_box_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12538'
2023-10-13	12:36:54	1006	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:54	1006	[DEBUG]	Executed store
2023-10-13	12:36:54	1006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860498','12538','1')
2023-10-13	12:36:54	1006	[DEBUG]	Store product image relation
2023-10-13	12:36:54	1006	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:54	1006	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860498 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:54	1006	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:54	1006	[DEBUG]	Executed store
2023-10-13	12:36:54	1006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860498','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:54	1006	[DEBUG]	Checking manufacturer
2023-10-13	12:36:54	1006	[DEBUG]	Load a row
2023-10-13	12:36:54	1006	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:54	1006	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:36:54	1006	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:54	1006	[DEBUG]	Executed store
2023-10-13	12:36:54	1006	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:36:54	1006	[DEBUG]	Manufacturer exists
2023-10-13	12:36:54	1006	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:36:54	1006	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:54	1006	[DEBUG]	Executed store
2023-10-13	12:36:54	1006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860498','35')
2023-10-13	12:36:54	1006	[DEBUG]	Find the custom field ID
2023-10-13	12:36:54	1006	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:54	1006	[DEBUG]	No custom field ID found
2023-10-13	12:36:54	1006	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:54	1006	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:36:54	1006	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860498 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:54	1006	[DEBUG]	Store custom available field
2023-10-13	12:36:54	1006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860498,3,'0',1)
2023-10-13	12:36:54	1006	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:54	1006	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:54	1006	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860498 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:54	1006	[DEBUG]	Store custom available field
2023-10-13	12:36:54	1006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860498,6,'choisir la taille',3)
2023-10-13	12:36:54	1006	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:54	1006	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:54	1006	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:54	1006	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:54	1006	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860498 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:54	1006	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:54	1006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860498,8,1)
2023-10-13	12:36:54	1006	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:54	1006	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860498\":[1860498,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860498
2023-10-13	12:36:54	1006	[DEBUG]	Checking category
2023-10-13	12:36:54	1006	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:54	1006	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860498
2023-10-13	12:36:54	1006	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:54	1006	[DEBUG]	Executed store
2023-10-13	12:36:54	1006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860498','7285')
2023-10-13	12:36:54	1006	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:54	1006	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860498 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:54	1006	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:54	1006	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860498
2023-10-13	12:36:54	1007	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:54	1007	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:54	1007	[DEBUG]	Use field value for field taille
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:54	1007	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:54	1007	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:54	1007	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:54	1007	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:54	1007	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:54	1007	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:54	1007	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:54	1007	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:54	1007	[DEBUG]	Use field value for field published
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:54	1007	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field override
2023-10-13	12:36:54	1007	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:54	1007	[DEBUG]	Use field value for field slug
2023-10-13	12:36:54	1007	[DEBUG]	Process line 1007
2023-10-13	12:36:54	1007	[DEBUG]	Load a row
2023-10-13	12:36:54	1007	[DEBUG]	Processing item: 1000000084764
2023-10-13	12:36:54	1007	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:54	1007	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:54	1007	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5567_4'
2023-10-13	12:36:54	1007	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:54	1007	[DEBUG]	Processing product tax
2023-10-13	12:36:54	1007	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:54	1007	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:54	1007	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:54	1007	[DEBUG]	Query for Product
2023-10-13	12:36:54	1007	[DEBUG]	Executed store
2023-10-13	12:36:54	1007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860498','1000000084764','0','KG','M','','39','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:36:54	1007	[DEBUG]	No parent found
2023-10-13	12:36:54	1007	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860498 AND customfield_value = 'stockable'
2023-10-13	12:36:54	1007	[DEBUG]	Check product language entry
2023-10-13	12:36:54	1007	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860499
2023-10-13	12:36:54	1007	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:54	1007	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000084764' AND `virtuemart_product_id` != 1860499
2023-10-13	12:36:54	1007	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:54	1007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860499, '1000000084764')
2023-10-13	12:36:54	1007	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:54	1007	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-sram-pc-1031-10-vitesses-114-maillons-powerlink-acier-all' AND `virtuemart_product_id` != 1860499
2023-10-13	12:36:54	1007	[DEBUG]	Query for ProductLang
2023-10-13	12:36:54	1007	[DEBUG]	Executed store
2023-10-13	12:36:54	1007	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne SRAM PC 1031 10 VITESSES 114 MAILLONS, POWERLINK / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-sram-pc-1031-10-vitesses-114-maillons-powerlink-acier-all' WHERE `virtuemart_product_id` = '1860499'
2023-10-13	12:36:54	1007	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30066_shimano_chaîne_cn-hg95_10-vitesses_138_maillons_box_.jpg
2023-10-13	12:36:54	1007	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:54	1007	[DEBUG]	Process image file
2023-10-13	12:36:54	1007	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:54	1007	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:54	1007	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30066_shimano_chaîne_cn-hg95_10-vitesses_138_maillons_box_.jpg
2023-10-13	12:36:54	1007	[DEBUG]	Full name target: bcprisme/30066_shimano_chaîne_cn-hg95_10-vitesses_138_maillons_box_.jpg
2023-10-13	12:36:55	1007	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:55	1007	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30066_shimano_chaîne_cn-hg95_10-vitesses_138_maillons_box_.jpg'
2023-10-13	12:36:55	1007	[DEBUG]	Query for Media
2023-10-13	12:36:55	1007	[DEBUG]	Executed store
2023-10-13	12:36:55	1007	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30066_shimano_chaîne_cn-hg95_10-vitesses_138_maillons_box_.jpg',`file_url_thumb`='bcprisme/30066_shimano_chaîne_cn-hg95_10-vitesses_138_maillons_box_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12538'
2023-10-13	12:36:55	1007	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:55	1007	[DEBUG]	Executed store
2023-10-13	12:36:55	1007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860499','12538','1')
2023-10-13	12:36:55	1007	[DEBUG]	Store product image relation
2023-10-13	12:36:55	1007	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:55	1007	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860499 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:55	1007	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:55	1007	[DEBUG]	Executed store
2023-10-13	12:36:55	1007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860499','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:55	1007	[DEBUG]	Checking manufacturer
2023-10-13	12:36:55	1007	[DEBUG]	Load a row
2023-10-13	12:36:55	1007	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:55	1007	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:36:55	1007	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:55	1007	[DEBUG]	Executed store
2023-10-13	12:36:55	1007	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:36:55	1007	[DEBUG]	Manufacturer exists
2023-10-13	12:36:55	1007	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:36:55	1007	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:55	1007	[DEBUG]	Executed store
2023-10-13	12:36:55	1007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860499','35')
2023-10-13	12:36:55	1007	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:55	1007	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:55	1007	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860499 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:55	1007	[DEBUG]	Store custom available field
2023-10-13	12:36:55	1007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860499,3,'',1)
2023-10-13	12:36:55	1007	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:55	1007	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:36:55	1007	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860499 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:55	1007	[DEBUG]	Store custom available field
2023-10-13	12:36:55	1007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860499,6,'All',3)
2023-10-13	12:36:55	1007	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:55	1007	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:55	1007	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860498
2023-10-13	12:36:55	1007	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:55	1007	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860498\":[1860498,8,1,\"choisir la taille\"],\"1860499\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860498
2023-10-13	12:36:55	1007	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:55	1007	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860499
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:55	1008	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field taille
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:55	1008	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:55	1008	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:55	1008	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:55	1008	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:55	1008	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:55	1008	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field published
2023-10-13	12:36:55	1008	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:55	1008	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field override
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:55	1008	[DEBUG]	Use field value for field slug
2023-10-13	12:36:55	1008	[DEBUG]	Process line 1008
2023-10-13	12:36:55	1008	[DEBUG]	Load a row
2023-10-13	12:36:55	1008	[DEBUG]	Processing item: A_5669_208
2023-10-13	12:36:55	1008	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:55	1008	[DEBUG]	Processing product tax
2023-10-13	12:36:55	1008	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:55	1008	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:55	1008	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:55	1008	[DEBUG]	Query for Product
2023-10-13	12:36:55	1008	[DEBUG]	Executed store
2023-10-13	12:36:55	1008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5669_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:36:55	1008	[DEBUG]	Check product language entry
2023-10-13	12:36:55	1008	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860500
2023-10-13	12:36:55	1008	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:55	1008	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5669_208' AND `virtuemart_product_id` != 1860500
2023-10-13	12:36:55	1008	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:55	1008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860500, 'A_5669_208')
2023-10-13	12:36:55	1008	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:55	1008	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg95-10-vitesses-116-maillons-box-aucune' AND `virtuemart_product_id` != 1860500
2023-10-13	12:36:55	1008	[DEBUG]	Query for ProductLang
2023-10-13	12:36:55	1008	[DEBUG]	Executed store
2023-10-13	12:36:55	1008	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.57163',`product_name`='SHIMANO Chaîne SHIMANO CN-HG95 10-vitesses 116 maillons box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg95-10-vitesses-116-maillons-box-aucune' WHERE `virtuemart_product_id` = '1860500'
2023-10-13	12:36:55	1008	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30171_shimano_chaîne_cn-hg95_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:55	1008	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:55	1008	[DEBUG]	Process image file
2023-10-13	12:36:55	1008	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:55	1008	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:55	1008	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30171_shimano_chaîne_cn-hg95_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:55	1008	[DEBUG]	Full name target: bcprisme/30171_shimano_chaîne_cn-hg95_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:56	1008	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:56	1008	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30171_shimano_chaîne_cn-hg95_10-vitesses_116_maillons_box.jpg'
2023-10-13	12:36:56	1008	[DEBUG]	Query for Media
2023-10-13	12:36:56	1008	[DEBUG]	Executed store
2023-10-13	12:36:56	1008	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30171_shimano_chaîne_cn-hg95_10-vitesses_116_maillons_box.jpg',`file_url_thumb`='bcprisme/30171_shimano_chaîne_cn-hg95_10-vitesses_116_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12539'
2023-10-13	12:36:56	1008	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:56	1008	[DEBUG]	Executed store
2023-10-13	12:36:56	1008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860500','12539','1')
2023-10-13	12:36:56	1008	[DEBUG]	Store product image relation
2023-10-13	12:36:56	1008	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:56	1008	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860500 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:56	1008	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:56	1008	[DEBUG]	Executed store
2023-10-13	12:36:56	1008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860500','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:56	1008	[DEBUG]	Checking manufacturer
2023-10-13	12:36:56	1008	[DEBUG]	Load a row
2023-10-13	12:36:56	1008	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:56	1008	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:56	1008	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:56	1008	[DEBUG]	Executed store
2023-10-13	12:36:56	1008	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:56	1008	[DEBUG]	Manufacturer exists
2023-10-13	12:36:56	1008	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:36:56	1008	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:56	1008	[DEBUG]	Executed store
2023-10-13	12:36:56	1008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860500','123')
2023-10-13	12:36:56	1008	[DEBUG]	Find the custom field ID
2023-10-13	12:36:56	1008	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:56	1008	[DEBUG]	No custom field ID found
2023-10-13	12:36:56	1008	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:56	1008	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:36:56	1008	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860500 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:56	1008	[DEBUG]	Store custom available field
2023-10-13	12:36:56	1008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860500,3,'0',1)
2023-10-13	12:36:56	1008	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:56	1008	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:56	1008	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860500 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:56	1008	[DEBUG]	Store custom available field
2023-10-13	12:36:56	1008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860500,6,'choisir la taille',3)
2023-10-13	12:36:56	1008	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:56	1008	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:56	1008	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:56	1008	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:56	1008	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860500 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:56	1008	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:56	1008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860500,8,1)
2023-10-13	12:36:56	1008	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:56	1008	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860500\":[1860500,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860500
2023-10-13	12:36:56	1008	[DEBUG]	Checking category
2023-10-13	12:36:56	1008	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:56	1008	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860500
2023-10-13	12:36:56	1008	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:56	1008	[DEBUG]	Executed store
2023-10-13	12:36:56	1008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860500','7285')
2023-10-13	12:36:56	1008	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:56	1008	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860500 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:56	1008	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:56	1008	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860500
2023-10-13	12:36:56	1009	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:56	1009	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:56	1009	[DEBUG]	Use field value for field taille
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:56	1009	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:56	1009	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:56	1009	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:56	1009	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:56	1009	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:56	1009	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:56	1009	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:56	1009	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:56	1009	[DEBUG]	Use field value for field published
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:56	1009	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field override
2023-10-13	12:36:56	1009	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:56	1009	[DEBUG]	Use field value for field slug
2023-10-13	12:36:56	1009	[DEBUG]	Process line 1009
2023-10-13	12:36:56	1009	[DEBUG]	Load a row
2023-10-13	12:36:56	1009	[DEBUG]	Processing item: 4524667984665
2023-10-13	12:36:56	1009	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:56	1009	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:56	1009	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5669_208'
2023-10-13	12:36:56	1009	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:56	1009	[DEBUG]	Processing product tax
2023-10-13	12:36:56	1009	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:56	1009	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:56	1009	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:56	1009	[DEBUG]	Query for Product
2023-10-13	12:36:56	1009	[DEBUG]	Executed store
2023-10-13	12:36:56	1009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860500','4524667984665','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:36:56	1009	[DEBUG]	No parent found
2023-10-13	12:36:56	1009	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860500 AND customfield_value = 'stockable'
2023-10-13	12:36:56	1009	[DEBUG]	Check product language entry
2023-10-13	12:36:56	1009	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860501
2023-10-13	12:36:56	1009	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:56	1009	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667984665' AND `virtuemart_product_id` != 1860501
2023-10-13	12:36:56	1009	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:56	1009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860501, '4524667984665')
2023-10-13	12:36:56	1009	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:56	1009	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg95-10-vitesses-116-maillons-box-aucune-all' AND `virtuemart_product_id` != 1860501
2023-10-13	12:36:56	1009	[DEBUG]	Query for ProductLang
2023-10-13	12:36:56	1009	[DEBUG]	Executed store
2023-10-13	12:36:56	1009	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN-HG95 10-vitesses 116 maillons box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg95-10-vitesses-116-maillons-box-aucune-all' WHERE `virtuemart_product_id` = '1860501'
2023-10-13	12:36:56	1009	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30171_shimano_chaîne_cn-hg95_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:56	1009	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:56	1009	[DEBUG]	Process image file
2023-10-13	12:36:56	1009	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:56	1009	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:56	1009	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30171_shimano_chaîne_cn-hg95_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:56	1009	[DEBUG]	Full name target: bcprisme/30171_shimano_chaîne_cn-hg95_10-vitesses_116_maillons_box.jpg
2023-10-13	12:36:57	1009	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:57	1009	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30171_shimano_chaîne_cn-hg95_10-vitesses_116_maillons_box.jpg'
2023-10-13	12:36:57	1009	[DEBUG]	Query for Media
2023-10-13	12:36:57	1009	[DEBUG]	Executed store
2023-10-13	12:36:57	1009	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30171_shimano_chaîne_cn-hg95_10-vitesses_116_maillons_box.jpg',`file_url_thumb`='bcprisme/30171_shimano_chaîne_cn-hg95_10-vitesses_116_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12539'
2023-10-13	12:36:57	1009	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:57	1009	[DEBUG]	Executed store
2023-10-13	12:36:57	1009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860501','12539','1')
2023-10-13	12:36:57	1009	[DEBUG]	Store product image relation
2023-10-13	12:36:57	1009	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:57	1009	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860501 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:57	1009	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:57	1009	[DEBUG]	Executed store
2023-10-13	12:36:57	1009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860501','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:57	1009	[DEBUG]	Checking manufacturer
2023-10-13	12:36:57	1009	[DEBUG]	Load a row
2023-10-13	12:36:57	1009	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:57	1009	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:57	1009	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:57	1009	[DEBUG]	Executed store
2023-10-13	12:36:57	1009	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:57	1009	[DEBUG]	Manufacturer exists
2023-10-13	12:36:57	1009	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:36:57	1009	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:57	1009	[DEBUG]	Executed store
2023-10-13	12:36:57	1009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860501','123')
2023-10-13	12:36:57	1009	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:57	1009	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:57	1009	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860501 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:57	1009	[DEBUG]	Store custom available field
2023-10-13	12:36:57	1009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860501,3,'',1)
2023-10-13	12:36:57	1009	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:57	1009	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:36:57	1009	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860501 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:57	1009	[DEBUG]	Store custom available field
2023-10-13	12:36:57	1009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860501,6,'All',3)
2023-10-13	12:36:57	1009	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:57	1009	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:57	1009	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860500
2023-10-13	12:36:57	1009	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:57	1009	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860500\":[1860500,8,1,\"choisir la taille\"],\"1860501\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860500
2023-10-13	12:36:57	1009	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:57	1009	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860501
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:57	1010	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field taille
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:57	1010	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:57	1010	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:57	1010	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:57	1010	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:57	1010	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:57	1010	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field published
2023-10-13	12:36:57	1010	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:57	1010	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field override
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:57	1010	[DEBUG]	Use field value for field slug
2023-10-13	12:36:57	1010	[DEBUG]	Process line 1010
2023-10-13	12:36:57	1010	[DEBUG]	Load a row
2023-10-13	12:36:57	1010	[DEBUG]	Processing item: A_5716_208
2023-10-13	12:36:57	1010	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:57	1010	[DEBUG]	Processing product tax
2023-10-13	12:36:57	1010	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:57	1010	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:57	1010	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:57	1010	[DEBUG]	Query for Product
2023-10-13	12:36:57	1010	[DEBUG]	Executed store
2023-10-13	12:36:57	1010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5716_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:36:57	1010	[DEBUG]	Check product language entry
2023-10-13	12:36:57	1010	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860502
2023-10-13	12:36:57	1010	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:57	1010	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5716_208' AND `virtuemart_product_id` != 1860502
2023-10-13	12:36:57	1010	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:57	1010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860502, 'A_5716_208')
2023-10-13	12:36:57	1010	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:57	1010	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-steps-cn6090-10-vitesses-138-maillons-box-aucune' AND `virtuemart_product_id` != 1860502
2023-10-13	12:36:57	1010	[DEBUG]	Query for ProductLang
2023-10-13	12:36:57	1010	[DEBUG]	Executed store
2023-10-13	12:36:57	1010	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.60491',`product_name`='SHIMANO Chaîne SHIMANO STEPS CN6090 10-vitesses 138 maillons box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-steps-cn6090-10-vitesses-138-maillons-box-aucune' WHERE `virtuemart_product_id` = '1860502'
2023-10-13	12:36:57	1010	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30222_shimano_chaîne_steps_cn6090_10-vitesses_138_maillons_box.jpg
2023-10-13	12:36:57	1010	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:57	1010	[DEBUG]	Process image file
2023-10-13	12:36:57	1010	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:57	1010	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:57	1010	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30222_shimano_chaîne_steps_cn6090_10-vitesses_138_maillons_box.jpg
2023-10-13	12:36:57	1010	[DEBUG]	Full name target: bcprisme/30222_shimano_chaîne_steps_cn6090_10-vitesses_138_maillons_box.jpg
2023-10-13	12:36:58	1010	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:58	1010	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30222_shimano_chaîne_steps_cn6090_10-vitesses_138_maillons_box.jpg'
2023-10-13	12:36:58	1010	[DEBUG]	Query for Media
2023-10-13	12:36:58	1010	[DEBUG]	Executed store
2023-10-13	12:36:58	1010	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30222_shimano_chaîne_steps_cn6090_10-vitesses_138_maillons_box.jpg',`file_url_thumb`='bcprisme/30222_shimano_chaîne_steps_cn6090_10-vitesses_138_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12540'
2023-10-13	12:36:58	1010	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:58	1010	[DEBUG]	Executed store
2023-10-13	12:36:58	1010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860502','12540','1')
2023-10-13	12:36:58	1010	[DEBUG]	Store product image relation
2023-10-13	12:36:58	1010	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:58	1010	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860502 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:58	1010	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:58	1010	[DEBUG]	Executed store
2023-10-13	12:36:58	1010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860502','0','54.6889507892293','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:58	1010	[DEBUG]	Checking manufacturer
2023-10-13	12:36:58	1010	[DEBUG]	Load a row
2023-10-13	12:36:58	1010	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:58	1010	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:58	1010	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:58	1010	[DEBUG]	Executed store
2023-10-13	12:36:58	1010	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:58	1010	[DEBUG]	Manufacturer exists
2023-10-13	12:36:58	1010	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:36:58	1010	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:58	1010	[DEBUG]	Executed store
2023-10-13	12:36:58	1010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860502','123')
2023-10-13	12:36:58	1010	[DEBUG]	Find the custom field ID
2023-10-13	12:36:58	1010	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:36:58	1010	[DEBUG]	No custom field ID found
2023-10-13	12:36:58	1010	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:58	1010	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:36:58	1010	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860502 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:58	1010	[DEBUG]	Store custom available field
2023-10-13	12:36:58	1010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860502,3,'0',1)
2023-10-13	12:36:58	1010	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:58	1010	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:36:58	1010	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860502 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:58	1010	[DEBUG]	Store custom available field
2023-10-13	12:36:58	1010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860502,6,'choisir la taille',3)
2023-10-13	12:36:58	1010	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:58	1010	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:36:58	1010	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:36:58	1010	[DEBUG]	Find the multi variant product entry
2023-10-13	12:36:58	1010	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860502 AND `virtuemart_custom_id` = 8
2023-10-13	12:36:58	1010	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:36:58	1010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860502,8,1)
2023-10-13	12:36:58	1010	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:58	1010	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860502\":[1860502,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860502
2023-10-13	12:36:58	1010	[DEBUG]	Checking category
2023-10-13	12:36:58	1010	[DEBUG]	Get the existing categories for the product
2023-10-13	12:36:58	1010	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860502
2023-10-13	12:36:58	1010	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:36:58	1010	[DEBUG]	Executed store
2023-10-13	12:36:58	1010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860502','7285')
2023-10-13	12:36:58	1010	[DEBUG]	Delete leftover product categories
2023-10-13	12:36:58	1010	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860502 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:36:58	1010	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:58	1010	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860502
2023-10-13	12:36:58	1011	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:58	1011	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:36:58	1011	[DEBUG]	Use field value for field taille
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:36:58	1011	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field category_path
2023-10-13	12:36:58	1011	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:58	1011	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:58	1011	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:58	1011	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:36:58	1011	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field product_weight
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:58	1011	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:58	1011	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:58	1011	[DEBUG]	Use field value for field published
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field custom_title
2023-10-13	12:36:58	1011	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field custom_param
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field override
2023-10-13	12:36:58	1011	[DEBUG]	Use default value for field public_price
2023-10-13	12:36:58	1011	[DEBUG]	Use field value for field slug
2023-10-13	12:36:58	1011	[DEBUG]	Process line 1011
2023-10-13	12:36:58	1011	[DEBUG]	Load a row
2023-10-13	12:36:58	1011	[DEBUG]	Processing item: 4524667669173
2023-10-13	12:36:58	1011	[DEBUG]	Looking for parent SKU
2023-10-13	12:36:58	1011	[DEBUG]	Checking product parent SKU
2023-10-13	12:36:58	1011	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5716_208'
2023-10-13	12:36:58	1011	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:58	1011	[DEBUG]	Processing product tax
2023-10-13	12:36:58	1011	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:58	1011	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:58	1011	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:58	1011	[DEBUG]	Query for Product
2023-10-13	12:36:58	1011	[DEBUG]	Executed store
2023-10-13	12:36:58	1011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860502','4524667669173','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:36:58	1011	[DEBUG]	No parent found
2023-10-13	12:36:58	1011	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860502 AND customfield_value = 'stockable'
2023-10-13	12:36:58	1011	[DEBUG]	Check product language entry
2023-10-13	12:36:58	1011	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860503
2023-10-13	12:36:58	1011	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:58	1011	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667669173' AND `virtuemart_product_id` != 1860503
2023-10-13	12:36:58	1011	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:58	1011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860503, '4524667669173')
2023-10-13	12:36:58	1011	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:58	1011	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-steps-cn6090-10-vitesses-138-maillons-box-aucune-all' AND `virtuemart_product_id` != 1860503
2023-10-13	12:36:58	1011	[DEBUG]	Query for ProductLang
2023-10-13	12:36:58	1011	[DEBUG]	Executed store
2023-10-13	12:36:58	1011	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO STEPS CN6090 10-vitesses 138 maillons box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-steps-cn6090-10-vitesses-138-maillons-box-aucune-all' WHERE `virtuemart_product_id` = '1860503'
2023-10-13	12:36:58	1011	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30222_shimano_chaîne_steps_cn6090_10-vitesses_138_maillons_box.jpg
2023-10-13	12:36:58	1011	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:58	1011	[DEBUG]	Process image file
2023-10-13	12:36:58	1011	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:58	1011	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:58	1011	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30222_shimano_chaîne_steps_cn6090_10-vitesses_138_maillons_box.jpg
2023-10-13	12:36:58	1011	[DEBUG]	Full name target: bcprisme/30222_shimano_chaîne_steps_cn6090_10-vitesses_138_maillons_box.jpg
2023-10-13	12:36:59	1011	[DEBUG]	Checking if the file_url exists
2023-10-13	12:36:59	1011	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30222_shimano_chaîne_steps_cn6090_10-vitesses_138_maillons_box.jpg'
2023-10-13	12:36:59	1011	[DEBUG]	Query for Media
2023-10-13	12:36:59	1011	[DEBUG]	Executed store
2023-10-13	12:36:59	1011	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30222_shimano_chaîne_steps_cn6090_10-vitesses_138_maillons_box.jpg',`file_url_thumb`='bcprisme/30222_shimano_chaîne_steps_cn6090_10-vitesses_138_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12540'
2023-10-13	12:36:59	1011	[DEBUG]	Query for ProductMedia
2023-10-13	12:36:59	1011	[DEBUG]	Executed store
2023-10-13	12:36:59	1011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860503','12540','1')
2023-10-13	12:36:59	1011	[DEBUG]	Store product image relation
2023-10-13	12:36:59	1011	[DEBUG]	Finding a product_price_id
2023-10-13	12:36:59	1011	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860503 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:36:59	1011	[DEBUG]	Query for ProductPrice
2023-10-13	12:36:59	1011	[DEBUG]	Executed store
2023-10-13	12:36:59	1011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860503','0','54.6889507892293','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:36:59	1011	[DEBUG]	Checking manufacturer
2023-10-13	12:36:59	1011	[DEBUG]	Load a row
2023-10-13	12:36:59	1011	[DEBUG]	Manufacturer already exists
2023-10-13	12:36:59	1011	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:59	1011	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:36:59	1011	[DEBUG]	Executed store
2023-10-13	12:36:59	1011	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:36:59	1011	[DEBUG]	Manufacturer exists
2023-10-13	12:36:59	1011	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:36:59	1011	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:36:59	1011	[DEBUG]	Executed store
2023-10-13	12:36:59	1011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860503','123')
2023-10-13	12:36:59	1011	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:36:59	1011	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:36:59	1011	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860503 AND `virtuemart_custom_id` = 3
2023-10-13	12:36:59	1011	[DEBUG]	Store custom available field
2023-10-13	12:36:59	1011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860503,3,'',1)
2023-10-13	12:36:59	1011	[DEBUG]	Processing custom available field: taille
2023-10-13	12:36:59	1011	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:36:59	1011	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860503 AND `virtuemart_custom_id` = 6
2023-10-13	12:36:59	1011	[DEBUG]	Store custom available field
2023-10-13	12:36:59	1011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860503,6,'All',3)
2023-10-13	12:36:59	1011	[DEBUG]	Process multi-variant fields
2023-10-13	12:36:59	1011	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:36:59	1011	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860502
2023-10-13	12:36:59	1011	[DEBUG]	Store the updated customfield_params
2023-10-13	12:36:59	1011	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860502\":[1860502,8,1,\"choisir la taille\"],\"1860503\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860502
2023-10-13	12:36:59	1011	[DEBUG]	Update has fields after all processing
2023-10-13	12:36:59	1011	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860503
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field product_sku
2023-10-13	12:36:59	1012	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field taille
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field product_name
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field category_path
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field product_price
2023-10-13	12:36:59	1012	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field product_tax
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field file_url
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:36:59	1012	[DEBUG]	Use default value for field product_desc
2023-10-13	12:36:59	1012	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field product_availability
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field product_weight
2023-10-13	12:36:59	1012	[DEBUG]	Use default value for field product_unit
2023-10-13	12:36:59	1012	[DEBUG]	Use default value for field related_products
2023-10-13	12:36:59	1012	[DEBUG]	Use default value for field product_special
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field published
2023-10-13	12:36:59	1012	[DEBUG]	Use default value for field metadesc
2023-10-13	12:36:59	1012	[DEBUG]	Use default value for field metakey
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field custom_title
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field custom_value
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field custom_param
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field override
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field public_price
2023-10-13	12:36:59	1012	[DEBUG]	Use field value for field slug
2023-10-13	12:36:59	1012	[DEBUG]	Process line 1012
2023-10-13	12:36:59	1012	[DEBUG]	Load a row
2023-10-13	12:36:59	1012	[DEBUG]	Processing item: A_6950_13
2023-10-13	12:36:59	1012	[DEBUG]	Product tax: 7.7
2023-10-13	12:36:59	1012	[DEBUG]	Processing product tax
2023-10-13	12:36:59	1012	[DEBUG]	Check if calculation rule exists
2023-10-13	12:36:59	1012	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:36:59	1012	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:36:59	1012	[DEBUG]	Query for Product
2023-10-13	12:36:59	1012	[DEBUG]	Executed store
2023-10-13	12:36:59	1012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6950_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:36:59	1012	[DEBUG]	Check product language entry
2023-10-13	12:36:59	1012	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860504
2023-10-13	12:36:59	1012	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:59	1012	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6950_13' AND `virtuemart_product_id` != 1860504
2023-10-13	12:36:59	1012	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:36:59	1012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860504, 'A_6950_13')
2023-10-13	12:36:59	1012	[DEBUG]	Check if the product slug exists
2023-10-13	12:36:59	1012	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-e6090-10-vitesses-126-maillons-argent' AND `virtuemart_product_id` != 1860504
2023-10-13	12:36:59	1012	[DEBUG]	Query for ProductLang
2023-10-13	12:36:59	1012	[DEBUG]	Executed store
2023-10-13	12:36:59	1012	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.75620',`product_name`='SHIMANO Chaîne SHIMANO CN-E6090 10 vitesses 126 maillons / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-e6090-10-vitesses-126-maillons-argent' WHERE `virtuemart_product_id` = '1860504'
2023-10-13	12:36:59	1012	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34086_chaîne_shimano_cn-e6090_10_vitesses_126_maillons.jpg
2023-10-13	12:36:59	1012	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:59	1012	[DEBUG]	Process image file
2023-10-13	12:36:59	1012	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:36:59	1012	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:36:59	1012	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34086_chaîne_shimano_cn-e6090_10_vitesses_126_maillons.jpg
2023-10-13	12:36:59	1012	[DEBUG]	Full name target: bcprisme/34086_chaîne_shimano_cn-e6090_10_vitesses_126_maillons.jpg
2023-10-13	12:37:00	1012	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:00	1012	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34086_chaîne_shimano_cn-e6090_10_vitesses_126_maillons.jpg'
2023-10-13	12:37:00	1012	[DEBUG]	Query for Media
2023-10-13	12:37:00	1012	[DEBUG]	Executed store
2023-10-13	12:37:00	1012	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34086_chaîne_shimano_cn-e6090_10_vitesses_126_maillons.jpg',`file_url_thumb`='bcprisme/34086_chaîne_shimano_cn-e6090_10_vitesses_126_maillons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16549'
2023-10-13	12:37:00	1012	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:00	1012	[DEBUG]	Executed store
2023-10-13	12:37:00	1012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860504','16549','1')
2023-10-13	12:37:00	1012	[DEBUG]	Store product image relation
2023-10-13	12:37:00	1012	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:00	1012	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860504 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:00	1012	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:00	1012	[DEBUG]	Executed store
2023-10-13	12:37:00	1012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860504','0','49.1179201485608','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:00	1012	[DEBUG]	Checking manufacturer
2023-10-13	12:37:00	1012	[DEBUG]	Load a row
2023-10-13	12:37:00	1012	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:00	1012	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:00	1012	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:00	1012	[DEBUG]	Executed store
2023-10-13	12:37:00	1012	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:00	1012	[DEBUG]	Manufacturer exists
2023-10-13	12:37:00	1012	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:00	1012	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:00	1012	[DEBUG]	Executed store
2023-10-13	12:37:00	1012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860504','26')
2023-10-13	12:37:00	1012	[DEBUG]	Find the custom field ID
2023-10-13	12:37:00	1012	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:00	1012	[DEBUG]	No custom field ID found
2023-10-13	12:37:00	1012	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:00	1012	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:00	1012	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860504 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:00	1012	[DEBUG]	Store custom available field
2023-10-13	12:37:00	1012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860504,3,'0',1)
2023-10-13	12:37:00	1012	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:00	1012	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:00	1012	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860504 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:00	1012	[DEBUG]	Store custom available field
2023-10-13	12:37:00	1012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860504,6,'choisir la taille',3)
2023-10-13	12:37:00	1012	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:00	1012	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:00	1012	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:00	1012	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:00	1012	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860504 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:00	1012	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:00	1012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860504,8,1)
2023-10-13	12:37:00	1012	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:00	1012	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860504\":[1860504,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860504
2023-10-13	12:37:00	1012	[DEBUG]	Checking category
2023-10-13	12:37:00	1012	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:00	1012	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860504
2023-10-13	12:37:00	1012	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:00	1012	[DEBUG]	Executed store
2023-10-13	12:37:00	1012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860504','7285')
2023-10-13	12:37:00	1012	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:00	1012	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860504 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:37:00	1012	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:00	1012	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860504
2023-10-13	12:37:00	1013	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:00	1013	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:00	1013	[DEBUG]	Use field value for field taille
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:00	1013	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:00	1013	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:00	1013	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:00	1013	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:00	1013	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:00	1013	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:00	1013	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:00	1013	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:00	1013	[DEBUG]	Use field value for field published
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:00	1013	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field override
2023-10-13	12:37:00	1013	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:00	1013	[DEBUG]	Use field value for field slug
2023-10-13	12:37:00	1013	[DEBUG]	Process line 1013
2023-10-13	12:37:00	1013	[DEBUG]	Load a row
2023-10-13	12:37:00	1013	[DEBUG]	Processing item: 4550170378646
2023-10-13	12:37:00	1013	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:00	1013	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:00	1013	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6950_13'
2023-10-13	12:37:00	1013	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:00	1013	[DEBUG]	Processing product tax
2023-10-13	12:37:00	1013	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:00	1013	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:00	1013	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:00	1013	[DEBUG]	Query for Product
2023-10-13	12:37:00	1013	[DEBUG]	Executed store
2023-10-13	12:37:00	1013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860504','4550170378646','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:00	1013	[DEBUG]	No parent found
2023-10-13	12:37:00	1013	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860504 AND customfield_value = 'stockable'
2023-10-13	12:37:00	1013	[DEBUG]	Check product language entry
2023-10-13	12:37:00	1013	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860505
2023-10-13	12:37:00	1013	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:00	1013	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170378646' AND `virtuemart_product_id` != 1860505
2023-10-13	12:37:00	1013	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:00	1013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860505, '4550170378646')
2023-10-13	12:37:00	1013	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:00	1013	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-e6090-10-vitesses-126-maillons-argent-all' AND `virtuemart_product_id` != 1860505
2023-10-13	12:37:00	1013	[DEBUG]	Query for ProductLang
2023-10-13	12:37:00	1013	[DEBUG]	Executed store
2023-10-13	12:37:00	1013	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN-E6090 10 vitesses 126 maillons / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-e6090-10-vitesses-126-maillons-argent-all' WHERE `virtuemart_product_id` = '1860505'
2023-10-13	12:37:00	1013	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34086_chaîne_shimano_cn-e6090_10_vitesses_126_maillons.jpg
2023-10-13	12:37:00	1013	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:00	1013	[DEBUG]	Process image file
2023-10-13	12:37:00	1013	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:00	1013	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:00	1013	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34086_chaîne_shimano_cn-e6090_10_vitesses_126_maillons.jpg
2023-10-13	12:37:00	1013	[DEBUG]	Full name target: bcprisme/34086_chaîne_shimano_cn-e6090_10_vitesses_126_maillons.jpg
2023-10-13	12:37:01	1013	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:01	1013	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34086_chaîne_shimano_cn-e6090_10_vitesses_126_maillons.jpg'
2023-10-13	12:37:01	1013	[DEBUG]	Query for Media
2023-10-13	12:37:01	1013	[DEBUG]	Executed store
2023-10-13	12:37:01	1013	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34086_chaîne_shimano_cn-e6090_10_vitesses_126_maillons.jpg',`file_url_thumb`='bcprisme/34086_chaîne_shimano_cn-e6090_10_vitesses_126_maillons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16549'
2023-10-13	12:37:01	1013	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:01	1013	[DEBUG]	Executed store
2023-10-13	12:37:01	1013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860505','16549','1')
2023-10-13	12:37:01	1013	[DEBUG]	Store product image relation
2023-10-13	12:37:01	1013	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:01	1013	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860505 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:01	1013	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:01	1013	[DEBUG]	Executed store
2023-10-13	12:37:01	1013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860505','0','49.1179201485608','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:01	1013	[DEBUG]	Checking manufacturer
2023-10-13	12:37:01	1013	[DEBUG]	Load a row
2023-10-13	12:37:01	1013	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:01	1013	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:01	1013	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:01	1013	[DEBUG]	Executed store
2023-10-13	12:37:01	1013	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:01	1013	[DEBUG]	Manufacturer exists
2023-10-13	12:37:01	1013	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:01	1013	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:01	1013	[DEBUG]	Executed store
2023-10-13	12:37:01	1013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860505','26')
2023-10-13	12:37:01	1013	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:01	1013	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:01	1013	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860505 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:01	1013	[DEBUG]	Store custom available field
2023-10-13	12:37:01	1013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860505,3,'',1)
2023-10-13	12:37:01	1013	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:01	1013	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:37:01	1013	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860505 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:01	1013	[DEBUG]	Store custom available field
2023-10-13	12:37:01	1013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860505,6,'All',3)
2023-10-13	12:37:01	1013	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:01	1013	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:01	1013	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860504
2023-10-13	12:37:01	1013	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:01	1013	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860504\":[1860504,8,1,\"choisir la taille\"],\"1860505\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860504
2023-10-13	12:37:01	1013	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:01	1013	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860505
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:01	1014	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field taille
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:01	1014	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:01	1014	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:01	1014	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:01	1014	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:01	1014	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:01	1014	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field published
2023-10-13	12:37:01	1014	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:01	1014	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field override
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:01	1014	[DEBUG]	Use field value for field slug
2023-10-13	12:37:01	1014	[DEBUG]	Process line 1014
2023-10-13	12:37:01	1014	[DEBUG]	Load a row
2023-10-13	12:37:01	1014	[DEBUG]	Processing item: A_7126_1
2023-10-13	12:37:01	1014	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:01	1014	[DEBUG]	Processing product tax
2023-10-13	12:37:01	1014	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:01	1014	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:01	1014	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:01	1014	[DEBUG]	Query for Product
2023-10-13	12:37:01	1014	[DEBUG]	Executed store
2023-10-13	12:37:01	1014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7126_1','0.008','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:01	1014	[DEBUG]	Check product language entry
2023-10-13	12:37:01	1014	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860506
2023-10-13	12:37:01	1014	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:01	1014	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7126_1' AND `virtuemart_product_id` != 1860506
2023-10-13	12:37:01	1014	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:01	1014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860506, 'A_7126_1')
2023-10-13	12:37:01	1014	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:01	1014	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-rapponses-de-chaine-rapides-sram-power-lock-10-vitesses-noir' AND `virtuemart_product_id` != 1860506
2023-10-13	12:37:01	1014	[DEBUG]	Query for ProductLang
2023-10-13	12:37:01	1014	[DEBUG]	Executed store
2023-10-13	12:37:01	1014	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Rapponse de chaîne rapide MSC Link 10 vitesses 20 unités<br>N° art fourn : D7150S',`product_name`='MSC Rapponses de chaîne rapides Sram Power Lock 10 vitesses   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-rapponses-de-chaine-rapides-sram-power-lock-10-vitesses-noir' WHERE `virtuemart_product_id` = '1860506'
2023-10-13	12:37:01	1014	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34281_rapponses_de_chaînes_rapides_sram_power_lock_10_vitesses__.jpg
2023-10-13	12:37:01	1014	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:01	1014	[DEBUG]	Process image file
2023-10-13	12:37:01	1014	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:01	1014	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:01	1014	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34281_rapponses_de_chaînes_rapides_sram_power_lock_10_vitesses__.jpg
2023-10-13	12:37:01	1014	[DEBUG]	Full name target: bcprisme/34281_rapponses_de_chaînes_rapides_sram_power_lock_10_vitesses__.jpg
2023-10-13	12:37:02	1014	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:02	1014	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34281_rapponses_de_chaînes_rapides_sram_power_lock_10_vitesses__.jpg'
2023-10-13	12:37:02	1014	[DEBUG]	Query for Media
2023-10-13	12:37:02	1014	[DEBUG]	Executed store
2023-10-13	12:37:02	1014	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34281_rapponses_de_chaînes_rapides_sram_power_lock_10_vitesses__.jpg',`file_url_thumb`='bcprisme/34281_rapponses_de_chaînes_rapides_sram_power_lock_10_vitesses__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '116138'
2023-10-13	12:37:02	1014	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:02	1014	[DEBUG]	Executed store
2023-10-13	12:37:02	1014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860506','116138','1')
2023-10-13	12:37:02	1014	[DEBUG]	Store product image relation
2023-10-13	12:37:02	1014	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:02	1014	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860506 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:02	1014	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:02	1014	[DEBUG]	Executed store
2023-10-13	12:37:02	1014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860506','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:02	1014	[DEBUG]	Checking manufacturer
2023-10-13	12:37:02	1014	[DEBUG]	Load a row
2023-10-13	12:37:02	1014	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:02	1014	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:02	1014	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:02	1014	[DEBUG]	Executed store
2023-10-13	12:37:02	1014	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:02	1014	[DEBUG]	Manufacturer exists
2023-10-13	12:37:02	1014	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:37:02	1014	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:02	1014	[DEBUG]	Executed store
2023-10-13	12:37:02	1014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860506','32')
2023-10-13	12:37:02	1014	[DEBUG]	Find the custom field ID
2023-10-13	12:37:02	1014	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:02	1014	[DEBUG]	No custom field ID found
2023-10-13	12:37:02	1014	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:02	1014	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:37:02	1014	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860506 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:02	1014	[DEBUG]	Store custom available field
2023-10-13	12:37:02	1014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860506,3,'49.7613888888889',1)
2023-10-13	12:37:02	1014	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:02	1014	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:02	1014	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860506 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:02	1014	[DEBUG]	Store custom available field
2023-10-13	12:37:02	1014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860506,6,'choisir la taille',3)
2023-10-13	12:37:02	1014	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:02	1014	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:02	1014	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:02	1014	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:02	1014	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860506 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:02	1014	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:02	1014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860506,8,1)
2023-10-13	12:37:02	1014	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:02	1014	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860506\":[1860506,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860506
2023-10-13	12:37:02	1014	[DEBUG]	Checking category
2023-10-13	12:37:02	1014	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:02	1014	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860506
2023-10-13	12:37:02	1014	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:02	1014	[DEBUG]	Executed store
2023-10-13	12:37:02	1014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860506','7285')
2023-10-13	12:37:02	1014	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:02	1014	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860506 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:37:02	1014	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:02	1014	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860506
2023-10-13	12:37:02	1015	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:02	1015	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:02	1015	[DEBUG]	Use field value for field taille
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:02	1015	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:02	1015	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:02	1015	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:02	1015	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:02	1015	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:02	1015	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:02	1015	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:02	1015	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:02	1015	[DEBUG]	Use field value for field published
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:02	1015	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field override
2023-10-13	12:37:02	1015	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:02	1015	[DEBUG]	Use field value for field slug
2023-10-13	12:37:02	1015	[DEBUG]	Process line 1015
2023-10-13	12:37:02	1015	[DEBUG]	Load a row
2023-10-13	12:37:02	1015	[DEBUG]	Processing item: 710845503467
2023-10-13	12:37:02	1015	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:02	1015	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:02	1015	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7126_1'
2023-10-13	12:37:02	1015	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:02	1015	[DEBUG]	Processing product tax
2023-10-13	12:37:02	1015	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:02	1015	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:02	1015	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:02	1015	[DEBUG]	Query for Product
2023-10-13	12:37:02	1015	[DEBUG]	Executed store
2023-10-13	12:37:02	1015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860506','710845503467','0','KG','M','','49','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:02	1015	[DEBUG]	No parent found
2023-10-13	12:37:02	1015	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860506 AND customfield_value = 'stockable'
2023-10-13	12:37:02	1015	[DEBUG]	Check product language entry
2023-10-13	12:37:02	1015	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860507
2023-10-13	12:37:02	1015	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:02	1015	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845503467' AND `virtuemart_product_id` != 1860507
2023-10-13	12:37:02	1015	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:02	1015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860507, '710845503467')
2023-10-13	12:37:02	1015	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:02	1015	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-rapponses-de-chaine-rapides-sram-power-lock-10-vitesses-noir-unitaire' AND `virtuemart_product_id` != 1860507
2023-10-13	12:37:02	1015	[DEBUG]	Query for ProductLang
2023-10-13	12:37:02	1015	[DEBUG]	Executed store
2023-10-13	12:37:02	1015	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Rapponses de chaîne rapides Sram Power Lock 10 vitesses   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-rapponses-de-chaine-rapides-sram-power-lock-10-vitesses-noir-unitaire' WHERE `virtuemart_product_id` = '1860507'
2023-10-13	12:37:02	1015	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34281_rapponses_de_chaînes_rapides_sram_power_lock_10_vitesses__.jpg
2023-10-13	12:37:02	1015	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:02	1015	[DEBUG]	Process image file
2023-10-13	12:37:02	1015	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:02	1015	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:02	1015	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34281_rapponses_de_chaînes_rapides_sram_power_lock_10_vitesses__.jpg
2023-10-13	12:37:02	1015	[DEBUG]	Full name target: bcprisme/34281_rapponses_de_chaînes_rapides_sram_power_lock_10_vitesses__.jpg
2023-10-13	12:37:03	1015	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:03	1015	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34281_rapponses_de_chaînes_rapides_sram_power_lock_10_vitesses__.jpg'
2023-10-13	12:37:03	1015	[DEBUG]	Query for Media
2023-10-13	12:37:03	1015	[DEBUG]	Executed store
2023-10-13	12:37:03	1015	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34281_rapponses_de_chaînes_rapides_sram_power_lock_10_vitesses__.jpg',`file_url_thumb`='bcprisme/34281_rapponses_de_chaînes_rapides_sram_power_lock_10_vitesses__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '116138'
2023-10-13	12:37:03	1015	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:03	1015	[DEBUG]	Executed store
2023-10-13	12:37:03	1015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860507','116138','1')
2023-10-13	12:37:03	1015	[DEBUG]	Store product image relation
2023-10-13	12:37:03	1015	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:03	1015	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860507 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:03	1015	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:03	1015	[DEBUG]	Executed store
2023-10-13	12:37:03	1015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860507','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:03	1015	[DEBUG]	Checking manufacturer
2023-10-13	12:37:03	1015	[DEBUG]	Load a row
2023-10-13	12:37:03	1015	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:03	1015	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:03	1015	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:03	1015	[DEBUG]	Executed store
2023-10-13	12:37:03	1015	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:03	1015	[DEBUG]	Manufacturer exists
2023-10-13	12:37:03	1015	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:37:03	1015	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:03	1015	[DEBUG]	Executed store
2023-10-13	12:37:03	1015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860507','32')
2023-10-13	12:37:03	1015	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:03	1015	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:03	1015	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860507 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:03	1015	[DEBUG]	Store custom available field
2023-10-13	12:37:03	1015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860507,3,'',1)
2023-10-13	12:37:03	1015	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:03	1015	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:03	1015	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860507 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:03	1015	[DEBUG]	Store custom available field
2023-10-13	12:37:03	1015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860507,6,'Unitaire',3)
2023-10-13	12:37:03	1015	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:03	1015	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:03	1015	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860506
2023-10-13	12:37:03	1015	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:03	1015	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860506\":[1860506,8,1,\"choisir la taille\"],\"1860507\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860506
2023-10-13	12:37:03	1015	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:03	1015	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860507
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:03	1016	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field taille
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:03	1016	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:03	1016	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:03	1016	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:03	1016	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:03	1016	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:03	1016	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field published
2023-10-13	12:37:03	1016	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:03	1016	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field override
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:03	1016	[DEBUG]	Use field value for field slug
2023-10-13	12:37:03	1016	[DEBUG]	Process line 1016
2023-10-13	12:37:03	1016	[DEBUG]	Load a row
2023-10-13	12:37:03	1016	[DEBUG]	Processing item: A_7428_208
2023-10-13	12:37:03	1016	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:03	1016	[DEBUG]	Processing product tax
2023-10-13	12:37:03	1016	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:03	1016	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:03	1016	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:03	1016	[DEBUG]	Query for Product
2023-10-13	12:37:03	1016	[DEBUG]	Executed store
2023-10-13	12:37:03	1016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7428_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:03	1016	[DEBUG]	Check product language entry
2023-10-13	12:37:03	1016	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860508
2023-10-13	12:37:03	1016	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:03	1016	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7428_208' AND `virtuemart_product_id` != 1860508
2023-10-13	12:37:03	1016	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:03	1016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860508, 'A_7428_208')
2023-10-13	12:37:03	1016	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:03	1016	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-steps-cn-e6090-10-vitesses-118-maillons-box-aucune' AND `virtuemart_product_id` != 1860508
2023-10-13	12:37:03	1016	[DEBUG]	Query for ProductLang
2023-10-13	12:37:03	1016	[DEBUG]	Executed store
2023-10-13	12:37:03	1016	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.73165',`product_name`='SHIMANO Chaîne STEPS CN-E6090 10-vitesses 118 maillons box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-steps-cn-e6090-10-vitesses-118-maillons-box-aucune' WHERE `virtuemart_product_id` = '1860508'
2023-10-13	12:37:03	1016	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_60491_001.jpg
2023-10-13	12:37:03	1016	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:03	1016	[DEBUG]	Process image file
2023-10-13	12:37:03	1016	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:03	1016	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:03	1016	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_60491_001.jpg
2023-10-13	12:37:03	1016	[DEBUG]	Full name target: bcprisme/68_60491_001.jpg
2023-10-13	12:37:04	1016	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:04	1016	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_60491_001.jpg'
2023-10-13	12:37:04	1016	[DEBUG]	Query for Media
2023-10-13	12:37:04	1016	[DEBUG]	Executed store
2023-10-13	12:37:04	1016	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_60491_001.jpg',`file_url_thumb`='bcprisme/68_60491_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '195935'
2023-10-13	12:37:04	1016	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:04	1016	[DEBUG]	Executed store
2023-10-13	12:37:04	1016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860508','195935','1')
2023-10-13	12:37:04	1016	[DEBUG]	Store product image relation
2023-10-13	12:37:04	1016	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:04	1016	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860508 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:04	1016	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:04	1016	[DEBUG]	Executed store
2023-10-13	12:37:04	1016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860508','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:04	1016	[DEBUG]	Checking manufacturer
2023-10-13	12:37:04	1016	[DEBUG]	Load a row
2023-10-13	12:37:04	1016	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:04	1016	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:04	1016	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:04	1016	[DEBUG]	Executed store
2023-10-13	12:37:04	1016	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:04	1016	[DEBUG]	Manufacturer exists
2023-10-13	12:37:04	1016	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:04	1016	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:04	1016	[DEBUG]	Executed store
2023-10-13	12:37:04	1016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860508','26')
2023-10-13	12:37:04	1016	[DEBUG]	Find the custom field ID
2023-10-13	12:37:04	1016	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:04	1016	[DEBUG]	No custom field ID found
2023-10-13	12:37:04	1016	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:04	1016	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:04	1016	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860508 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:04	1016	[DEBUG]	Store custom available field
2023-10-13	12:37:04	1016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860508,3,'0',1)
2023-10-13	12:37:04	1016	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:04	1016	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:04	1016	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860508 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:04	1016	[DEBUG]	Store custom available field
2023-10-13	12:37:04	1016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860508,6,'choisir la taille',3)
2023-10-13	12:37:04	1016	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:04	1016	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:04	1016	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:04	1016	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:04	1016	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860508 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:04	1016	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:04	1016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860508,8,1)
2023-10-13	12:37:04	1016	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:04	1016	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860508\":[1860508,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860508
2023-10-13	12:37:04	1016	[DEBUG]	Checking category
2023-10-13	12:37:04	1016	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:04	1016	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860508
2023-10-13	12:37:04	1016	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:04	1016	[DEBUG]	Executed store
2023-10-13	12:37:04	1016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860508','7285')
2023-10-13	12:37:04	1016	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:04	1016	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860508 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:37:04	1016	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:04	1016	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860508
2023-10-13	12:37:04	1017	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:04	1017	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:04	1017	[DEBUG]	Use field value for field taille
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:04	1017	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:04	1017	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:04	1017	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:04	1017	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:04	1017	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:04	1017	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:04	1017	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:04	1017	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:04	1017	[DEBUG]	Use field value for field published
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:04	1017	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field override
2023-10-13	12:37:04	1017	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:04	1017	[DEBUG]	Use field value for field slug
2023-10-13	12:37:04	1017	[DEBUG]	Process line 1017
2023-10-13	12:37:04	1017	[DEBUG]	Load a row
2023-10-13	12:37:04	1017	[DEBUG]	Processing item: 4524667246664
2023-10-13	12:37:04	1017	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:04	1017	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:04	1017	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7428_208'
2023-10-13	12:37:04	1017	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:04	1017	[DEBUG]	Processing product tax
2023-10-13	12:37:04	1017	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:04	1017	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:04	1017	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:04	1017	[DEBUG]	Query for Product
2023-10-13	12:37:04	1017	[DEBUG]	Executed store
2023-10-13	12:37:04	1017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860508','4524667246664','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:04	1017	[DEBUG]	No parent found
2023-10-13	12:37:04	1017	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860508 AND customfield_value = 'stockable'
2023-10-13	12:37:04	1017	[DEBUG]	Check product language entry
2023-10-13	12:37:04	1017	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860509
2023-10-13	12:37:04	1017	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:04	1017	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667246664' AND `virtuemart_product_id` != 1860509
2023-10-13	12:37:04	1017	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:04	1017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860509, '4524667246664')
2023-10-13	12:37:04	1017	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:04	1017	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-steps-cn-e6090-10-vitesses-118-maillons-box-aucune-unitaire' AND `virtuemart_product_id` != 1860509
2023-10-13	12:37:04	1017	[DEBUG]	Query for ProductLang
2023-10-13	12:37:04	1017	[DEBUG]	Executed store
2023-10-13	12:37:04	1017	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne STEPS CN-E6090 10-vitesses 118 maillons box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-steps-cn-e6090-10-vitesses-118-maillons-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860509'
2023-10-13	12:37:04	1017	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_60491_001.jpg
2023-10-13	12:37:04	1017	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:04	1017	[DEBUG]	Process image file
2023-10-13	12:37:04	1017	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:04	1017	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:04	1017	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_60491_001.jpg
2023-10-13	12:37:04	1017	[DEBUG]	Full name target: bcprisme/68_60491_001.jpg
2023-10-13	12:37:05	1017	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:05	1017	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_60491_001.jpg'
2023-10-13	12:37:05	1017	[DEBUG]	Query for Media
2023-10-13	12:37:05	1017	[DEBUG]	Executed store
2023-10-13	12:37:05	1017	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_60491_001.jpg',`file_url_thumb`='bcprisme/68_60491_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '195935'
2023-10-13	12:37:05	1017	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:05	1017	[DEBUG]	Executed store
2023-10-13	12:37:05	1017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860509','195935','1')
2023-10-13	12:37:05	1017	[DEBUG]	Store product image relation
2023-10-13	12:37:05	1017	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:05	1017	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860509 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:05	1017	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:05	1017	[DEBUG]	Executed store
2023-10-13	12:37:05	1017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860509','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:05	1017	[DEBUG]	Checking manufacturer
2023-10-13	12:37:05	1017	[DEBUG]	Load a row
2023-10-13	12:37:05	1017	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:05	1017	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:05	1017	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:05	1017	[DEBUG]	Executed store
2023-10-13	12:37:05	1017	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:05	1017	[DEBUG]	Manufacturer exists
2023-10-13	12:37:05	1017	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:05	1017	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:05	1017	[DEBUG]	Executed store
2023-10-13	12:37:05	1017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860509','26')
2023-10-13	12:37:05	1017	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:05	1017	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:05	1017	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860509 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:05	1017	[DEBUG]	Store custom available field
2023-10-13	12:37:05	1017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860509,3,'',1)
2023-10-13	12:37:05	1017	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:05	1017	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:05	1017	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860509 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:05	1017	[DEBUG]	Store custom available field
2023-10-13	12:37:05	1017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860509,6,'Unitaire',3)
2023-10-13	12:37:05	1017	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:05	1017	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:05	1017	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860508
2023-10-13	12:37:05	1017	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:05	1017	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860508\":[1860508,8,1,\"choisir la taille\"],\"1860509\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860508
2023-10-13	12:37:05	1017	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:05	1017	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860509
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:05	1018	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field taille
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:05	1018	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:05	1018	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:05	1018	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:05	1018	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:05	1018	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:05	1018	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field published
2023-10-13	12:37:05	1018	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:05	1018	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field override
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:05	1018	[DEBUG]	Use field value for field slug
2023-10-13	12:37:05	1018	[DEBUG]	Process line 1018
2023-10-13	12:37:05	1018	[DEBUG]	Load a row
2023-10-13	12:37:05	1018	[DEBUG]	Processing item: A_8864_208
2023-10-13	12:37:05	1018	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:05	1018	[DEBUG]	Processing product tax
2023-10-13	12:37:05	1018	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:05	1018	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:05	1018	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:05	1018	[DEBUG]	Query for Product
2023-10-13	12:37:05	1018	[DEBUG]	Executed store
2023-10-13	12:37:05	1018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8864_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:05	1018	[DEBUG]	Check product language entry
2023-10-13	12:37:05	1018	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860510
2023-10-13	12:37:05	1018	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:05	1018	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8864_208' AND `virtuemart_product_id` != 1860510
2023-10-13	12:37:05	1018	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:05	1018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860510, 'A_8864_208')
2023-10-13	12:37:05	1018	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:05	1018	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-lg500-lg-10-11-vit-138-maillons-quick-link-box-linkglide-aucune' AND `virtuemart_product_id` != 1860510
2023-10-13	12:37:05	1018	[DEBUG]	Query for ProductLang
2023-10-13	12:37:05	1018	[DEBUG]	Executed store
2023-10-13	12:37:05	1018	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.80564',`product_name`='SHIMANO Chaîne CN-LG500 LG 10/11-vit. 138 maillons Quick-Link box Linkglide / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-lg500-lg-10-11-vit-138-maillons-quick-link-box-linkglide-aucune' WHERE `virtuemart_product_id` = '1860510'
2023-10-13	12:37:06	1018	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_80561_02_jpg.jpg
2023-10-13	12:37:06	1018	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:06	1018	[DEBUG]	Process image file
2023-10-13	12:37:06	1018	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:06	1018	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:06	1018	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_80561_02_jpg.jpg
2023-10-13	12:37:06	1018	[DEBUG]	Full name target: bcprisme/68_80561_02_jpg.jpg
2023-10-13	12:37:06	1018	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:06	1018	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_80561_02_jpg.jpg'
2023-10-13	12:37:06	1018	[DEBUG]	Query for Media
2023-10-13	12:37:06	1018	[DEBUG]	Executed store
2023-10-13	12:37:06	1018	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_80561_02_jpg.jpg',`file_url_thumb`='bcprisme/68_80561_02_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1137375'
2023-10-13	12:37:06	1018	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:06	1018	[DEBUG]	Executed store
2023-10-13	12:37:06	1018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860510','1137375','1')
2023-10-13	12:37:06	1018	[DEBUG]	Store product image relation
2023-10-13	12:37:06	1018	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:06	1018	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860510 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:06	1018	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:06	1018	[DEBUG]	Executed store
2023-10-13	12:37:06	1018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860510','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:06	1018	[DEBUG]	Checking manufacturer
2023-10-13	12:37:06	1018	[DEBUG]	Load a row
2023-10-13	12:37:06	1018	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:06	1018	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:06	1018	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:06	1018	[DEBUG]	Executed store
2023-10-13	12:37:06	1018	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:06	1018	[DEBUG]	Manufacturer exists
2023-10-13	12:37:06	1018	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:06	1018	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:06	1018	[DEBUG]	Executed store
2023-10-13	12:37:06	1018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860510','26')
2023-10-13	12:37:06	1018	[DEBUG]	Find the custom field ID
2023-10-13	12:37:06	1018	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:06	1018	[DEBUG]	No custom field ID found
2023-10-13	12:37:06	1018	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:06	1018	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:06	1018	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860510 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:06	1018	[DEBUG]	Store custom available field
2023-10-13	12:37:06	1018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860510,3,'0',1)
2023-10-13	12:37:06	1018	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:06	1018	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:06	1018	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860510 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:06	1018	[DEBUG]	Store custom available field
2023-10-13	12:37:06	1018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860510,6,'choisir la taille',3)
2023-10-13	12:37:06	1018	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:06	1018	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:06	1018	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:06	1018	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:06	1018	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860510 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:06	1018	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:06	1018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860510,8,1)
2023-10-13	12:37:06	1018	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:06	1018	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860510\":[1860510,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860510
2023-10-13	12:37:06	1018	[DEBUG]	Checking category
2023-10-13	12:37:06	1018	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:06	1018	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860510
2023-10-13	12:37:06	1018	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:06	1018	[DEBUG]	Executed store
2023-10-13	12:37:06	1018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860510','7285')
2023-10-13	12:37:06	1018	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:06	1018	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860510 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:37:06	1018	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:06	1018	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860510
2023-10-13	12:37:06	1019	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:06	1019	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:06	1019	[DEBUG]	Use field value for field taille
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:06	1019	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:06	1019	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:06	1019	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:06	1019	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:06	1019	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:06	1019	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:06	1019	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:06	1019	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:06	1019	[DEBUG]	Use field value for field published
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:06	1019	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field override
2023-10-13	12:37:06	1019	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:06	1019	[DEBUG]	Use field value for field slug
2023-10-13	12:37:07	1019	[DEBUG]	Process line 1019
2023-10-13	12:37:07	1019	[DEBUG]	Load a row
2023-10-13	12:37:07	1019	[DEBUG]	Processing item: 4550170899653
2023-10-13	12:37:07	1019	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:07	1019	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:07	1019	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8864_208'
2023-10-13	12:37:07	1019	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:07	1019	[DEBUG]	Processing product tax
2023-10-13	12:37:07	1019	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:07	1019	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:07	1019	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:07	1019	[DEBUG]	Query for Product
2023-10-13	12:37:07	1019	[DEBUG]	Executed store
2023-10-13	12:37:07	1019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860510','4550170899653','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:07	1019	[DEBUG]	No parent found
2023-10-13	12:37:07	1019	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860510 AND customfield_value = 'stockable'
2023-10-13	12:37:07	1019	[DEBUG]	Check product language entry
2023-10-13	12:37:07	1019	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860511
2023-10-13	12:37:07	1019	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:07	1019	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170899653' AND `virtuemart_product_id` != 1860511
2023-10-13	12:37:07	1019	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:07	1019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860511, '4550170899653')
2023-10-13	12:37:07	1019	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:07	1019	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-lg500-lg-10-11-vit-138-maillons-quick-link-box-linkglide-aucune-unitaire' AND `virtuemart_product_id` != 1860511
2023-10-13	12:37:07	1019	[DEBUG]	Query for ProductLang
2023-10-13	12:37:07	1019	[DEBUG]	Executed store
2023-10-13	12:37:07	1019	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne CN-LG500 LG 10/11-vit. 138 maillons Quick-Link box Linkglide / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-lg500-lg-10-11-vit-138-maillons-quick-link-box-linkglide-aucune-unitaire' WHERE `virtuemart_product_id` = '1860511'
2023-10-13	12:37:07	1019	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_80561_02_jpg.jpg
2023-10-13	12:37:07	1019	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:07	1019	[DEBUG]	Process image file
2023-10-13	12:37:07	1019	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:07	1019	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:07	1019	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_80561_02_jpg.jpg
2023-10-13	12:37:07	1019	[DEBUG]	Full name target: bcprisme/68_80561_02_jpg.jpg
2023-10-13	12:37:07	1019	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:07	1019	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_80561_02_jpg.jpg'
2023-10-13	12:37:07	1019	[DEBUG]	Query for Media
2023-10-13	12:37:07	1019	[DEBUG]	Executed store
2023-10-13	12:37:07	1019	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_80561_02_jpg.jpg',`file_url_thumb`='bcprisme/68_80561_02_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1137375'
2023-10-13	12:37:07	1019	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:07	1019	[DEBUG]	Executed store
2023-10-13	12:37:07	1019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860511','1137375','1')
2023-10-13	12:37:07	1019	[DEBUG]	Store product image relation
2023-10-13	12:37:07	1019	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:07	1019	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860511 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:07	1019	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:07	1019	[DEBUG]	Executed store
2023-10-13	12:37:07	1019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860511','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:08	1019	[DEBUG]	Checking manufacturer
2023-10-13	12:37:08	1019	[DEBUG]	Load a row
2023-10-13	12:37:08	1019	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:08	1019	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:08	1019	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:08	1019	[DEBUG]	Executed store
2023-10-13	12:37:08	1019	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:08	1019	[DEBUG]	Manufacturer exists
2023-10-13	12:37:08	1019	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:08	1019	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:08	1019	[DEBUG]	Executed store
2023-10-13	12:37:08	1019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860511','26')
2023-10-13	12:37:08	1019	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:08	1019	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:08	1019	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860511 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:08	1019	[DEBUG]	Store custom available field
2023-10-13	12:37:08	1019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860511,3,'',1)
2023-10-13	12:37:08	1019	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:08	1019	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:08	1019	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860511 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:08	1019	[DEBUG]	Store custom available field
2023-10-13	12:37:08	1019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860511,6,'Unitaire',3)
2023-10-13	12:37:08	1019	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:08	1019	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:08	1019	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860510
2023-10-13	12:37:08	1019	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:08	1019	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860510\":[1860510,8,1,\"choisir la taille\"],\"1860511\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860510
2023-10-13	12:37:08	1019	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:08	1019	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860511
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:08	1020	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field taille
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:08	1020	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:08	1020	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:08	1020	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:08	1020	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:08	1020	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:08	1020	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field published
2023-10-13	12:37:08	1020	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:08	1020	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field override
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:08	1020	[DEBUG]	Use field value for field slug
2023-10-13	12:37:08	1020	[DEBUG]	Process line 1020
2023-10-13	12:37:08	1020	[DEBUG]	Load a row
2023-10-13	12:37:08	1020	[DEBUG]	Processing item: A_8957_208
2023-10-13	12:37:08	1020	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:08	1020	[DEBUG]	Processing product tax
2023-10-13	12:37:08	1020	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:08	1020	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:08	1020	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:08	1020	[DEBUG]	Query for Product
2023-10-13	12:37:08	1020	[DEBUG]	Executed store
2023-10-13	12:37:08	1020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8957_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:08	1020	[DEBUG]	Check product language entry
2023-10-13	12:37:08	1020	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860512
2023-10-13	12:37:08	1020	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:08	1020	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8957_208' AND `virtuemart_product_id` != 1860512
2023-10-13	12:37:08	1020	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:08	1020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860512, 'A_8957_208')
2023-10-13	12:37:08	1020	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:08	1020	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-lg500-lg-10-11-vit-126-maillons-quick-link-box-aucune' AND `virtuemart_product_id` != 1860512
2023-10-13	12:37:08	1020	[DEBUG]	Query for ProductLang
2023-10-13	12:37:08	1020	[DEBUG]	Executed store
2023-10-13	12:37:08	1020	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.80562',`product_name`='SHIMANO Chaîne CN-LG500 LG 10/11-vit. 126 maillons Quick-Link box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-lg500-lg-10-11-vit-126-maillons-quick-link-box-aucune' WHERE `virtuemart_product_id` = '1860512'
2023-10-13	12:37:08	1020	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_80561_0.jpg
2023-10-13	12:37:08	1020	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:08	1020	[DEBUG]	Process image file
2023-10-13	12:37:08	1020	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:08	1020	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:08	1020	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_80561_0.jpg
2023-10-13	12:37:08	1020	[DEBUG]	Full name target: bcprisme/68_80561_0.jpg
2023-10-13	12:37:09	1020	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:09	1020	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_80561_0.jpg'
2023-10-13	12:37:09	1020	[DEBUG]	Query for Media
2023-10-13	12:37:09	1020	[DEBUG]	Executed store
2023-10-13	12:37:09	1020	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_80561_0.jpg',`file_url_thumb`='bcprisme/68_80561_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1189068'
2023-10-13	12:37:09	1020	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:09	1020	[DEBUG]	Executed store
2023-10-13	12:37:09	1020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860512','1189068','1')
2023-10-13	12:37:09	1020	[DEBUG]	Store product image relation
2023-10-13	12:37:09	1020	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:09	1020	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860512 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:09	1020	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:09	1020	[DEBUG]	Executed store
2023-10-13	12:37:09	1020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860512','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:09	1020	[DEBUG]	Checking manufacturer
2023-10-13	12:37:09	1020	[DEBUG]	Load a row
2023-10-13	12:37:09	1020	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:09	1020	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:09	1020	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:09	1020	[DEBUG]	Executed store
2023-10-13	12:37:09	1020	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:09	1020	[DEBUG]	Manufacturer exists
2023-10-13	12:37:09	1020	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:09	1020	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:09	1020	[DEBUG]	Executed store
2023-10-13	12:37:09	1020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860512','26')
2023-10-13	12:37:09	1020	[DEBUG]	Find the custom field ID
2023-10-13	12:37:09	1020	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:09	1020	[DEBUG]	No custom field ID found
2023-10-13	12:37:09	1020	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:09	1020	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:09	1020	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860512 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:09	1020	[DEBUG]	Store custom available field
2023-10-13	12:37:09	1020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860512,3,'0',1)
2023-10-13	12:37:09	1020	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:09	1020	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:09	1020	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860512 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:09	1020	[DEBUG]	Store custom available field
2023-10-13	12:37:09	1020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860512,6,'choisir la taille',3)
2023-10-13	12:37:09	1020	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:09	1020	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:09	1020	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:09	1020	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:09	1020	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860512 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:09	1020	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:09	1020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860512,8,1)
2023-10-13	12:37:09	1020	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:09	1020	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860512\":[1860512,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860512
2023-10-13	12:37:09	1020	[DEBUG]	Checking category
2023-10-13	12:37:09	1020	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:09	1020	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860512
2023-10-13	12:37:09	1020	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:09	1020	[DEBUG]	Executed store
2023-10-13	12:37:09	1020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860512','7285')
2023-10-13	12:37:09	1020	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:09	1020	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860512 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:37:09	1020	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:09	1020	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860512
2023-10-13	12:37:09	1021	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:09	1021	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:09	1021	[DEBUG]	Use field value for field taille
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:09	1021	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:09	1021	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:09	1021	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:09	1021	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:09	1021	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:09	1021	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:09	1021	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:09	1021	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:09	1021	[DEBUG]	Use field value for field published
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:09	1021	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field override
2023-10-13	12:37:09	1021	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:09	1021	[DEBUG]	Use field value for field slug
2023-10-13	12:37:09	1021	[DEBUG]	Process line 1021
2023-10-13	12:37:09	1021	[DEBUG]	Load a row
2023-10-13	12:37:09	1021	[DEBUG]	Processing item: 4550170899646
2023-10-13	12:37:09	1021	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:09	1021	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:09	1021	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8957_208'
2023-10-13	12:37:09	1021	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:09	1021	[DEBUG]	Processing product tax
2023-10-13	12:37:09	1021	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:09	1021	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:09	1021	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:09	1021	[DEBUG]	Query for Product
2023-10-13	12:37:09	1021	[DEBUG]	Executed store
2023-10-13	12:37:09	1021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860512','4550170899646','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:09	1021	[DEBUG]	No parent found
2023-10-13	12:37:09	1021	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860512 AND customfield_value = 'stockable'
2023-10-13	12:37:09	1021	[DEBUG]	Check product language entry
2023-10-13	12:37:09	1021	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860513
2023-10-13	12:37:09	1021	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:09	1021	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170899646' AND `virtuemart_product_id` != 1860513
2023-10-13	12:37:09	1021	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:09	1021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860513, '4550170899646')
2023-10-13	12:37:09	1021	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:09	1021	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-lg500-lg-10-11-vit-126-maillons-quick-link-box-aucune-unitaire' AND `virtuemart_product_id` != 1860513
2023-10-13	12:37:09	1021	[DEBUG]	Query for ProductLang
2023-10-13	12:37:09	1021	[DEBUG]	Executed store
2023-10-13	12:37:09	1021	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne CN-LG500 LG 10/11-vit. 126 maillons Quick-Link box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-lg500-lg-10-11-vit-126-maillons-quick-link-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860513'
2023-10-13	12:37:09	1021	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_80561_0.jpg
2023-10-13	12:37:09	1021	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:09	1021	[DEBUG]	Process image file
2023-10-13	12:37:09	1021	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:09	1021	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:09	1021	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_80561_0.jpg
2023-10-13	12:37:09	1021	[DEBUG]	Full name target: bcprisme/68_80561_0.jpg
2023-10-13	12:37:10	1021	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:10	1021	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_80561_0.jpg'
2023-10-13	12:37:10	1021	[DEBUG]	Query for Media
2023-10-13	12:37:10	1021	[DEBUG]	Executed store
2023-10-13	12:37:10	1021	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_80561_0.jpg',`file_url_thumb`='bcprisme/68_80561_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1189068'
2023-10-13	12:37:10	1021	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:10	1021	[DEBUG]	Executed store
2023-10-13	12:37:10	1021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860513','1189068','1')
2023-10-13	12:37:10	1021	[DEBUG]	Store product image relation
2023-10-13	12:37:10	1021	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:10	1021	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860513 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:10	1021	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:10	1021	[DEBUG]	Executed store
2023-10-13	12:37:10	1021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860513','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:10	1021	[DEBUG]	Checking manufacturer
2023-10-13	12:37:10	1021	[DEBUG]	Load a row
2023-10-13	12:37:10	1021	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:10	1021	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:10	1021	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:10	1021	[DEBUG]	Executed store
2023-10-13	12:37:10	1021	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:10	1021	[DEBUG]	Manufacturer exists
2023-10-13	12:37:10	1021	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:10	1021	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:10	1021	[DEBUG]	Executed store
2023-10-13	12:37:10	1021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860513','26')
2023-10-13	12:37:10	1021	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:10	1021	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:10	1021	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860513 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:10	1021	[DEBUG]	Store custom available field
2023-10-13	12:37:10	1021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860513,3,'',1)
2023-10-13	12:37:10	1021	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:10	1021	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:10	1021	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860513 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:10	1021	[DEBUG]	Store custom available field
2023-10-13	12:37:10	1021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860513,6,'Unitaire',3)
2023-10-13	12:37:10	1021	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:10	1021	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:10	1021	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860512
2023-10-13	12:37:10	1021	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:10	1021	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860512\":[1860512,8,1,\"choisir la taille\"],\"1860513\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860512
2023-10-13	12:37:10	1021	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:10	1021	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860513
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:10	1022	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field taille
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:10	1022	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:10	1022	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:10	1022	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:10	1022	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:10	1022	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:10	1022	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field published
2023-10-13	12:37:10	1022	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:10	1022	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field override
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:10	1022	[DEBUG]	Use field value for field slug
2023-10-13	12:37:10	1022	[DEBUG]	Process line 1022
2023-10-13	12:37:10	1022	[DEBUG]	Load a row
2023-10-13	12:37:10	1022	[DEBUG]	Processing item: A_9508_13
2023-10-13	12:37:10	1022	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:10	1022	[DEBUG]	Processing product tax
2023-10-13	12:37:10	1022	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:10	1022	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:10	1022	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:10	1022	[DEBUG]	Query for Product
2023-10-13	12:37:10	1022	[DEBUG]	Executed store
2023-10-13	12:37:10	1022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9508_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:10	1022	[DEBUG]	Check product language entry
2023-10-13	12:37:10	1022	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860514
2023-10-13	12:37:10	1022	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:10	1022	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9508_13' AND `virtuemart_product_id` != 1860514
2023-10-13	12:37:10	1022	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:10	1022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860514, 'A_9508_13')
2023-10-13	12:37:10	1022	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:10	1022	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg95-10-vitesses-138-maillons-xtr-xt-slx-argent' AND `virtuemart_product_id` != 1860514
2023-10-13	12:37:10	1022	[DEBUG]	Query for ProductLang
2023-10-13	12:37:10	1022	[DEBUG]	Executed store
2023-10-13	12:37:10	1022	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.63477',`product_name`='SHIMANO Chaîne SHIMANO CN-HG95 10-vitesses 138 maillons XTR, XT, SLX / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg95-10-vitesses-138-maillons-xtr-xt-slx-argent' WHERE `virtuemart_product_id` = '1860514'
2023-10-13	12:37:10	1022	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38869_chaîne_shimano_cn-hg95_138_maillons_xtr,_xt,_slx.jpg has not been found.
2023-10-13	12:37:10	1022	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:10	1022	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860514 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:10	1022	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:10	1022	[DEBUG]	Executed store
2023-10-13	12:37:10	1022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860514','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:10	1022	[DEBUG]	Checking manufacturer
2023-10-13	12:37:10	1022	[DEBUG]	Load a row
2023-10-13	12:37:10	1022	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:10	1022	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:10	1022	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:10	1022	[DEBUG]	Executed store
2023-10-13	12:37:10	1022	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:10	1022	[DEBUG]	Manufacturer exists
2023-10-13	12:37:10	1022	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:10	1022	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:10	1022	[DEBUG]	Executed store
2023-10-13	12:37:10	1022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860514','26')
2023-10-13	12:37:10	1022	[DEBUG]	Find the custom field ID
2023-10-13	12:37:10	1022	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:10	1022	[DEBUG]	No custom field ID found
2023-10-13	12:37:10	1022	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:10	1022	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:10	1022	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860514 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:10	1022	[DEBUG]	Store custom available field
2023-10-13	12:37:10	1022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860514,3,'0',1)
2023-10-13	12:37:10	1022	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:10	1022	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:10	1022	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860514 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:10	1022	[DEBUG]	Store custom available field
2023-10-13	12:37:10	1022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860514,6,'choisir la taille',3)
2023-10-13	12:37:10	1022	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:10	1022	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:10	1022	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:10	1022	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:10	1022	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860514 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:10	1022	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:10	1022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860514,8,1)
2023-10-13	12:37:10	1022	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:10	1022	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860514\":[1860514,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860514
2023-10-13	12:37:10	1022	[DEBUG]	Checking category
2023-10-13	12:37:10	1022	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:10	1022	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860514
2023-10-13	12:37:10	1022	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:10	1022	[DEBUG]	Executed store
2023-10-13	12:37:10	1022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860514','7285')
2023-10-13	12:37:10	1022	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:10	1022	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860514 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:37:10	1022	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:10	1022	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860514
2023-10-13	12:37:10	1023	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:10	1023	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:10	1023	[DEBUG]	Use field value for field taille
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:10	1023	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:10	1023	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:10	1023	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:10	1023	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:10	1023	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:10	1023	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:10	1023	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:10	1023	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:10	1023	[DEBUG]	Use field value for field published
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:10	1023	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field override
2023-10-13	12:37:10	1023	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:10	1023	[DEBUG]	Use field value for field slug
2023-10-13	12:37:10	1023	[DEBUG]	Process line 1023
2023-10-13	12:37:10	1023	[DEBUG]	Load a row
2023-10-13	12:37:10	1023	[DEBUG]	Processing item: 4524667903826
2023-10-13	12:37:10	1023	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:10	1023	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:10	1023	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9508_13'
2023-10-13	12:37:10	1023	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:10	1023	[DEBUG]	Processing product tax
2023-10-13	12:37:10	1023	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:10	1023	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:10	1023	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:10	1023	[DEBUG]	Query for Product
2023-10-13	12:37:10	1023	[DEBUG]	Executed store
2023-10-13	12:37:10	1023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860514','4524667903826','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:10	1023	[DEBUG]	No parent found
2023-10-13	12:37:10	1023	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860514 AND customfield_value = 'stockable'
2023-10-13	12:37:10	1023	[DEBUG]	Check product language entry
2023-10-13	12:37:10	1023	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860515
2023-10-13	12:37:10	1023	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:10	1023	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667903826' AND `virtuemart_product_id` != 1860515
2023-10-13	12:37:10	1023	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:10	1023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860515, '4524667903826')
2023-10-13	12:37:10	1023	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:10	1023	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg95-10-vitesses-138-maillons-xtr-xt-slx-argent-all' AND `virtuemart_product_id` != 1860515
2023-10-13	12:37:10	1023	[DEBUG]	Query for ProductLang
2023-10-13	12:37:10	1023	[DEBUG]	Executed store
2023-10-13	12:37:10	1023	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN-HG95 10-vitesses 138 maillons XTR, XT, SLX / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg95-10-vitesses-138-maillons-xtr-xt-slx-argent-all' WHERE `virtuemart_product_id` = '1860515'
2023-10-13	12:37:10	1023	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38869_chaîne_shimano_cn-hg95_138_maillons_xtr,_xt,_slx.jpg has not been found.
2023-10-13	12:37:10	1023	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:10	1023	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860515 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:10	1023	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:10	1023	[DEBUG]	Executed store
2023-10-13	12:37:10	1023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860515','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:10	1023	[DEBUG]	Checking manufacturer
2023-10-13	12:37:10	1023	[DEBUG]	Load a row
2023-10-13	12:37:10	1023	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:10	1023	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:10	1023	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:10	1023	[DEBUG]	Executed store
2023-10-13	12:37:10	1023	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:10	1023	[DEBUG]	Manufacturer exists
2023-10-13	12:37:10	1023	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:10	1023	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:10	1023	[DEBUG]	Executed store
2023-10-13	12:37:10	1023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860515','26')
2023-10-13	12:37:10	1023	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:10	1023	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:10	1023	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860515 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:10	1023	[DEBUG]	Store custom available field
2023-10-13	12:37:10	1023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860515,3,'',1)
2023-10-13	12:37:10	1023	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:10	1023	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:37:10	1023	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860515 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:10	1023	[DEBUG]	Store custom available field
2023-10-13	12:37:10	1023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860515,6,'All',3)
2023-10-13	12:37:10	1023	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:10	1023	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:10	1023	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860514
2023-10-13	12:37:10	1023	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:10	1023	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860514\":[1860514,8,1,\"choisir la taille\"],\"1860515\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860514
2023-10-13	12:37:10	1023	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:10	1023	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860515
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:10	1024	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field taille
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:10	1024	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:10	1024	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:10	1024	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:10	1024	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:10	1024	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:10	1024	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field published
2023-10-13	12:37:10	1024	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:10	1024	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field override
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:10	1024	[DEBUG]	Use field value for field slug
2023-10-13	12:37:10	1024	[DEBUG]	Process line 1024
2023-10-13	12:37:10	1024	[DEBUG]	Load a row
2023-10-13	12:37:10	1024	[DEBUG]	Processing item: A_9544_208
2023-10-13	12:37:10	1024	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:10	1024	[DEBUG]	Processing product tax
2023-10-13	12:37:10	1024	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:10	1024	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:10	1024	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:10	1024	[DEBUG]	Query for Product
2023-10-13	12:37:10	1024	[DEBUG]	Executed store
2023-10-13	12:37:10	1024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9544_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:10	1024	[DEBUG]	Check product language entry
2023-10-13	12:37:10	1024	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860516
2023-10-13	12:37:10	1024	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:10	1024	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9544_208' AND `virtuemart_product_id` != 1860516
2023-10-13	12:37:10	1024	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:10	1024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860516, 'A_9544_208')
2023-10-13	12:37:10	1024	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:10	1024	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-hg95-10-vitesses-116-maillons-aucune' AND `virtuemart_product_id` != 1860516
2023-10-13	12:37:10	1024	[DEBUG]	Query for ProductLang
2023-10-13	12:37:10	1024	[DEBUG]	Executed store
2023-10-13	12:37:10	1024	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.63481',`product_name`='SHIMANO Chaîne CN-HG95 10-vitesses 116 maillons  / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-hg95-10-vitesses-116-maillons-aucune' WHERE `virtuemart_product_id` = '1860516'
2023-10-13	12:37:10	1024	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_57163_00.jpg
2023-10-13	12:37:10	1024	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:10	1024	[DEBUG]	Process image file
2023-10-13	12:37:10	1024	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:10	1024	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:10	1024	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_57163_00.jpg
2023-10-13	12:37:10	1024	[DEBUG]	Full name target: bcprisme/68_57163_00.jpg
2023-10-13	12:37:11	1024	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:11	1024	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_57163_00.jpg'
2023-10-13	12:37:11	1024	[DEBUG]	Query for Media
2023-10-13	12:37:11	1024	[DEBUG]	Executed store
2023-10-13	12:37:11	1024	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_57163_00.jpg',`file_url_thumb`='bcprisme/68_57163_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1472206'
2023-10-13	12:37:11	1024	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:11	1024	[DEBUG]	Executed store
2023-10-13	12:37:11	1024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860516','1472206','1')
2023-10-13	12:37:11	1024	[DEBUG]	Store product image relation
2023-10-13	12:37:11	1024	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:11	1024	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860516 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:11	1024	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:11	1024	[DEBUG]	Executed store
2023-10-13	12:37:11	1024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860516','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:11	1024	[DEBUG]	Checking manufacturer
2023-10-13	12:37:11	1024	[DEBUG]	Load a row
2023-10-13	12:37:11	1024	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:11	1024	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:11	1024	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:11	1024	[DEBUG]	Executed store
2023-10-13	12:37:11	1024	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:11	1024	[DEBUG]	Manufacturer exists
2023-10-13	12:37:11	1024	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:11	1024	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:11	1024	[DEBUG]	Executed store
2023-10-13	12:37:11	1024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860516','26')
2023-10-13	12:37:11	1024	[DEBUG]	Find the custom field ID
2023-10-13	12:37:11	1024	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:11	1024	[DEBUG]	No custom field ID found
2023-10-13	12:37:11	1024	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:11	1024	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:11	1024	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860516 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:11	1024	[DEBUG]	Store custom available field
2023-10-13	12:37:11	1024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860516,3,'0',1)
2023-10-13	12:37:11	1024	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:11	1024	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:11	1024	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860516 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:11	1024	[DEBUG]	Store custom available field
2023-10-13	12:37:11	1024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860516,6,'choisir la taille',3)
2023-10-13	12:37:11	1024	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:11	1024	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:11	1024	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:11	1024	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:11	1024	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860516 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:11	1024	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:11	1024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860516,8,1)
2023-10-13	12:37:11	1024	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:11	1024	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860516\":[1860516,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860516
2023-10-13	12:37:11	1024	[DEBUG]	Checking category
2023-10-13	12:37:11	1024	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:11	1024	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860516
2023-10-13	12:37:11	1024	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:11	1024	[DEBUG]	Executed store
2023-10-13	12:37:11	1024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860516','7285')
2023-10-13	12:37:11	1024	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:11	1024	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860516 AND `virtuemart_category_id` NOT IN (7285)
2023-10-13	12:37:11	1024	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:11	1024	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860516
2023-10-13	12:37:11	1025	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:11	1025	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:11	1025	[DEBUG]	Use field value for field taille
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:11	1025	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:11	1025	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:11	1025	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:11	1025	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:11	1025	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:11	1025	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:11	1025	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:11	1025	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:11	1025	[DEBUG]	Use field value for field published
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:11	1025	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field override
2023-10-13	12:37:11	1025	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:11	1025	[DEBUG]	Use field value for field slug
2023-10-13	12:37:11	1025	[DEBUG]	Process line 1025
2023-10-13	12:37:11	1025	[DEBUG]	Load a row
2023-10-13	12:37:11	1025	[DEBUG]	Processing item: 4524667903703
2023-10-13	12:37:11	1025	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:11	1025	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:11	1025	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9544_208'
2023-10-13	12:37:11	1025	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:11	1025	[DEBUG]	Processing product tax
2023-10-13	12:37:11	1025	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:11	1025	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:11	1025	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:11	1025	[DEBUG]	Query for Product
2023-10-13	12:37:11	1025	[DEBUG]	Executed store
2023-10-13	12:37:11	1025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860516','4524667903703','0','KG','M','','19','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:11	1025	[DEBUG]	No parent found
2023-10-13	12:37:11	1025	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860516 AND customfield_value = 'stockable'
2023-10-13	12:37:11	1025	[DEBUG]	Check product language entry
2023-10-13	12:37:11	1025	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860517
2023-10-13	12:37:11	1025	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:11	1025	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667903703' AND `virtuemart_product_id` != 1860517
2023-10-13	12:37:11	1025	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:11	1025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860517, '4524667903703')
2023-10-13	12:37:11	1025	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:11	1025	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-hg95-10-vitesses-116-maillons-aucune-unitaire' AND `virtuemart_product_id` != 1860517
2023-10-13	12:37:11	1025	[DEBUG]	Query for ProductLang
2023-10-13	12:37:11	1025	[DEBUG]	Executed store
2023-10-13	12:37:11	1025	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne CN-HG95 10-vitesses 116 maillons  / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-hg95-10-vitesses-116-maillons-aucune-unitaire' WHERE `virtuemart_product_id` = '1860517'
2023-10-13	12:37:11	1025	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_57163_00.jpg
2023-10-13	12:37:11	1025	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:11	1025	[DEBUG]	Process image file
2023-10-13	12:37:11	1025	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:11	1025	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:11	1025	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_57163_00.jpg
2023-10-13	12:37:11	1025	[DEBUG]	Full name target: bcprisme/68_57163_00.jpg
2023-10-13	12:37:12	1025	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:12	1025	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_57163_00.jpg'
2023-10-13	12:37:12	1025	[DEBUG]	Query for Media
2023-10-13	12:37:12	1025	[DEBUG]	Executed store
2023-10-13	12:37:12	1025	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_57163_00.jpg',`file_url_thumb`='bcprisme/68_57163_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1472206'
2023-10-13	12:37:12	1025	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:12	1025	[DEBUG]	Executed store
2023-10-13	12:37:12	1025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860517','1472206','1')
2023-10-13	12:37:12	1025	[DEBUG]	Store product image relation
2023-10-13	12:37:12	1025	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:12	1025	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860517 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:12	1025	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:12	1025	[DEBUG]	Executed store
2023-10-13	12:37:12	1025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860517','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:12	1025	[DEBUG]	Checking manufacturer
2023-10-13	12:37:12	1025	[DEBUG]	Load a row
2023-10-13	12:37:12	1025	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:12	1025	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:12	1025	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:12	1025	[DEBUG]	Executed store
2023-10-13	12:37:12	1025	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:12	1025	[DEBUG]	Manufacturer exists
2023-10-13	12:37:12	1025	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:12	1025	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:12	1025	[DEBUG]	Executed store
2023-10-13	12:37:12	1025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860517','26')
2023-10-13	12:37:12	1025	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:12	1025	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:12	1025	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860517 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:12	1025	[DEBUG]	Store custom available field
2023-10-13	12:37:12	1025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860517,3,'',1)
2023-10-13	12:37:12	1025	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:12	1025	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:12	1025	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860517 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:12	1025	[DEBUG]	Store custom available field
2023-10-13	12:37:12	1025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860517,6,'Unitaire',3)
2023-10-13	12:37:12	1025	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:12	1025	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:12	1025	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860516
2023-10-13	12:37:12	1025	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:12	1025	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860516\":[1860516,8,1,\"choisir la taille\"],\"1860517\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860516
2023-10-13	12:37:12	1025	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:12	1025	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860517
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:12	1026	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field taille
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:12	1026	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:12	1026	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:12	1026	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:12	1026	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:12	1026	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:12	1026	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field published
2023-10-13	12:37:12	1026	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:12	1026	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field override
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:12	1026	[DEBUG]	Use field value for field slug
2023-10-13	12:37:12	1026	[DEBUG]	Process line 1026
2023-10-13	12:37:12	1026	[DEBUG]	Load a row
2023-10-13	12:37:12	1026	[DEBUG]	Processing item: A_1627_0
2023-10-13	12:37:12	1026	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:12	1026	[DEBUG]	Processing product tax
2023-10-13	12:37:12	1026	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:12	1026	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:12	1026	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:12	1026	[DEBUG]	Query for Product
2023-10-13	12:37:12	1026	[DEBUG]	Executed store
2023-10-13	12:37:12	1026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1627_0','0.226','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:12	1026	[DEBUG]	Check product language entry
2023-10-13	12:37:12	1026	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860518
2023-10-13	12:37:12	1026	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:12	1026	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1627_0' AND `virtuemart_product_id` != 1860518
2023-10-13	12:37:12	1026	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:12	1026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860518, 'A_1627_0')
2023-10-13	12:37:12	1026	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:12	1026	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-hollow-pin-11vitesse-240-gr-unique' AND `virtuemart_product_id` != 1860518
2023-10-13	12:37:12	1026	[DEBUG]	Query for ProductLang
2023-10-13	12:37:12	1026	[DEBUG]	Executed store
2023-10-13	12:37:12	1026	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaînes MSC 11 vitesses Hollow Pin 240 gr !<br>N° art fourn : 110CR',`product_name`='MSC Chaîne MSC Ultralight Hollow Pin 11Vitesse 240 gr. ! / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-hollow-pin-11vitesse-240-gr-unique' WHERE `virtuemart_product_id` = '1860518'
2023-10-13	12:37:12	1026	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5621.jpg
2023-10-13	12:37:12	1026	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:37:12	1026	[DEBUG]	Process image file
2023-10-13	12:37:12	1026	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:37:12	1026	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:12	1026	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5621.jpg
2023-10-13	12:37:12	1026	[DEBUG]	Full name target: bcprisme/image_5621.jpg
2023-10-13	12:37:13	1026	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:13	1026	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5621.jpg'
2023-10-13	12:37:13	1026	[DEBUG]	Query for Media
2023-10-13	12:37:13	1026	[DEBUG]	Executed store
2023-10-13	12:37:13	1026	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5621.jpg',`file_url_thumb`='bcprisme/image_5621.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15807'
2023-10-13	12:37:13	1026	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:13	1026	[DEBUG]	Executed store
2023-10-13	12:37:13	1026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860518','15807','1')
2023-10-13	12:37:13	1026	[DEBUG]	Store product image relation
2023-10-13	12:37:13	1026	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:13	1026	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860518 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:13	1026	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:13	1026	[DEBUG]	Executed store
2023-10-13	12:37:13	1026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860518','0','120.287836583101','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:13	1026	[DEBUG]	Checking manufacturer
2023-10-13	12:37:13	1026	[DEBUG]	Load a row
2023-10-13	12:37:13	1026	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:13	1026	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:13	1026	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:13	1026	[DEBUG]	Executed store
2023-10-13	12:37:13	1026	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:13	1026	[DEBUG]	Manufacturer exists
2023-10-13	12:37:13	1026	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:37:13	1026	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:13	1026	[DEBUG]	Executed store
2023-10-13	12:37:13	1026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860518','32')
2023-10-13	12:37:13	1026	[DEBUG]	Find the custom field ID
2023-10-13	12:37:13	1026	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:13	1026	[DEBUG]	No custom field ID found
2023-10-13	12:37:13	1026	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:13	1026	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	12:37:13	1026	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860518 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:13	1026	[DEBUG]	Store custom available field
2023-10-13	12:37:13	1026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860518,3,'129.539166666667',1)
2023-10-13	12:37:13	1026	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:13	1026	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:13	1026	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860518 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:13	1026	[DEBUG]	Store custom available field
2023-10-13	12:37:13	1026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860518,6,'choisir la taille',3)
2023-10-13	12:37:13	1026	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:13	1026	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:13	1026	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:13	1026	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:13	1026	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860518 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:13	1026	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:13	1026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860518,8,1)
2023-10-13	12:37:13	1026	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:13	1026	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860518\":[1860518,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860518
2023-10-13	12:37:13	1026	[DEBUG]	Checking category
2023-10-13	12:37:13	1026	[DEBUG]	Check if category path exists: CHAINES 11 VITESSES -  11 FACH KETTEN
2023-10-13	12:37:13	1026	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAINES 11 VITESSES -  11 FACH KETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7284
2023-10-13	12:37:13	1026	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:13	1026	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860518
2023-10-13	12:37:13	1026	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:13	1026	[DEBUG]	Executed store
2023-10-13	12:37:13	1026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860518','7286')
2023-10-13	12:37:13	1026	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:13	1026	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860518 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:13	1026	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:13	1026	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860518
2023-10-13	12:37:13	1027	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:13	1027	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:13	1027	[DEBUG]	Use field value for field taille
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:13	1027	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:13	1027	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:13	1027	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:13	1027	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:13	1027	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:13	1027	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:13	1027	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:13	1027	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:13	1027	[DEBUG]	Use field value for field published
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:13	1027	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field override
2023-10-13	12:37:13	1027	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:13	1027	[DEBUG]	Use field value for field slug
2023-10-13	12:37:13	1027	[DEBUG]	Process line 1027
2023-10-13	12:37:13	1027	[DEBUG]	Load a row
2023-10-13	12:37:13	1027	[DEBUG]	Processing item: 8436041523345
2023-10-13	12:37:13	1027	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:13	1027	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:13	1027	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1627_0'
2023-10-13	12:37:13	1027	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:13	1027	[DEBUG]	Processing product tax
2023-10-13	12:37:13	1027	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:13	1027	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:13	1027	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:13	1027	[DEBUG]	Query for Product
2023-10-13	12:37:13	1027	[DEBUG]	Executed store
2023-10-13	12:37:13	1027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860518','8436041523345','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:13	1027	[DEBUG]	No parent found
2023-10-13	12:37:13	1027	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860518 AND customfield_value = 'stockable'
2023-10-13	12:37:13	1027	[DEBUG]	Check product language entry
2023-10-13	12:37:13	1027	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860519
2023-10-13	12:37:13	1027	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:13	1027	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041523345' AND `virtuemart_product_id` != 1860519
2023-10-13	12:37:13	1027	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:13	1027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860519, '8436041523345')
2023-10-13	12:37:13	1027	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:13	1027	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-hollow-pin-11vitesse-240-gr-unique-unitaire' AND `virtuemart_product_id` != 1860519
2023-10-13	12:37:13	1027	[DEBUG]	Query for ProductLang
2023-10-13	12:37:13	1027	[DEBUG]	Executed store
2023-10-13	12:37:13	1027	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC Ultralight Hollow Pin 11Vitesse 240 gr. ! / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-hollow-pin-11vitesse-240-gr-unique-unitaire' WHERE `virtuemart_product_id` = '1860519'
2023-10-13	12:37:13	1027	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5621.jpg
2023-10-13	12:37:13	1027	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:37:13	1027	[DEBUG]	Process image file
2023-10-13	12:37:13	1027	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:37:13	1027	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:13	1027	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5621.jpg
2023-10-13	12:37:13	1027	[DEBUG]	Full name target: bcprisme/image_5621.jpg
2023-10-13	12:37:14	1027	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:14	1027	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5621.jpg'
2023-10-13	12:37:14	1027	[DEBUG]	Query for Media
2023-10-13	12:37:14	1027	[DEBUG]	Executed store
2023-10-13	12:37:14	1027	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5621.jpg',`file_url_thumb`='bcprisme/image_5621.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15807'
2023-10-13	12:37:14	1027	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:14	1027	[DEBUG]	Executed store
2023-10-13	12:37:14	1027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860519','15807','1')
2023-10-13	12:37:14	1027	[DEBUG]	Store product image relation
2023-10-13	12:37:14	1027	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:14	1027	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860519 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:14	1027	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:14	1027	[DEBUG]	Executed store
2023-10-13	12:37:14	1027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860519','0','120.287836583101','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:14	1027	[DEBUG]	Checking manufacturer
2023-10-13	12:37:14	1027	[DEBUG]	Load a row
2023-10-13	12:37:14	1027	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:14	1027	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:14	1027	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:14	1027	[DEBUG]	Executed store
2023-10-13	12:37:14	1027	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:14	1027	[DEBUG]	Manufacturer exists
2023-10-13	12:37:14	1027	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:37:14	1027	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:14	1027	[DEBUG]	Executed store
2023-10-13	12:37:14	1027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860519','32')
2023-10-13	12:37:14	1027	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:14	1027	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:14	1027	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860519 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:14	1027	[DEBUG]	Store custom available field
2023-10-13	12:37:14	1027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860519,3,'',1)
2023-10-13	12:37:14	1027	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:14	1027	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:14	1027	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860519 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:14	1027	[DEBUG]	Store custom available field
2023-10-13	12:37:14	1027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860519,6,'Unitaire',3)
2023-10-13	12:37:14	1027	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:14	1027	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:14	1027	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860518
2023-10-13	12:37:14	1027	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:14	1027	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860518\":[1860518,8,1,\"choisir la taille\"],\"1860519\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860518
2023-10-13	12:37:14	1027	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:14	1027	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860519
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:14	1028	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field taille
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field product_override_price
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:14	1028	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:14	1028	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:14	1028	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:14	1028	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:14	1028	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field published
2023-10-13	12:37:14	1028	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:14	1028	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field override
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:14	1028	[DEBUG]	Use field value for field slug
2023-10-13	12:37:14	1028	[DEBUG]	Process line 1028
2023-10-13	12:37:14	1028	[DEBUG]	Load a row
2023-10-13	12:37:14	1028	[DEBUG]	Processing item: A_1628_0
2023-10-13	12:37:14	1028	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:14	1028	[DEBUG]	Processing product tax
2023-10-13	12:37:14	1028	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:14	1028	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:14	1028	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:14	1028	[DEBUG]	Query for Product
2023-10-13	12:37:14	1028	[DEBUG]	Executed store
2023-10-13	12:37:14	1028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1628_0','0.23','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:14	1028	[DEBUG]	Check product language entry
2023-10-13	12:37:14	1028	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860520
2023-10-13	12:37:14	1028	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:14	1028	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1628_0' AND `virtuemart_product_id` != 1860520
2023-10-13	12:37:14	1028	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:14	1028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860520, 'A_1628_0')
2023-10-13	12:37:14	1028	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:14	1028	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-11vitesses-255-gr-unique' AND `virtuemart_product_id` != 1860520
2023-10-13	12:37:14	1028	[DEBUG]	Query for ProductLang
2023-10-13	12:37:14	1028	[DEBUG]	Executed store
2023-10-13	12:37:14	1028	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaînes 11 vitesses MSC Ultralight Hollow Pin, 255 gr.<br>N° art fourn : H11CR',`product_name`='MSC Chaîne MSC Ultralight 11vitesses 255 gr. / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-11vitesses-255-gr-unique' WHERE `virtuemart_product_id` = '1860520'
2023-10-13	12:37:14	1028	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5622.jpg
2023-10-13	12:37:14	1028	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:37:14	1028	[DEBUG]	Process image file
2023-10-13	12:37:14	1028	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:37:14	1028	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:14	1028	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5622.jpg
2023-10-13	12:37:14	1028	[DEBUG]	Full name target: bcprisme/image_5622.jpg
2023-10-13	12:37:15	1028	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:15	1028	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5622.jpg'
2023-10-13	12:37:15	1028	[DEBUG]	Query for Media
2023-10-13	12:37:15	1028	[DEBUG]	Executed store
2023-10-13	12:37:15	1028	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5622.jpg',`file_url_thumb`='bcprisme/image_5622.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15808'
2023-10-13	12:37:15	1028	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:15	1028	[DEBUG]	Executed store
2023-10-13	12:37:15	1028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860520','15808','1')
2023-10-13	12:37:15	1028	[DEBUG]	Store product image relation
2023-10-13	12:37:15	1028	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:15	1028	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860520 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:15	1028	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:15	1028	[DEBUG]	Executed store
2023-10-13	12:37:15	1028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860520','0','92.4791086350975','-1','55.6174558960074','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:15	1028	[DEBUG]	Checking manufacturer
2023-10-13	12:37:15	1028	[DEBUG]	Load a row
2023-10-13	12:37:15	1028	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:15	1028	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:15	1028	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:15	1028	[DEBUG]	Executed store
2023-10-13	12:37:15	1028	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:15	1028	[DEBUG]	Manufacturer exists
2023-10-13	12:37:15	1028	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:37:15	1028	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:15	1028	[DEBUG]	Executed store
2023-10-13	12:37:15	1028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860520','32')
2023-10-13	12:37:15	1028	[DEBUG]	Find the custom field ID
2023-10-13	12:37:15	1028	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:15	1028	[DEBUG]	No custom field ID found
2023-10-13	12:37:15	1028	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:15	1028	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	12:37:15	1028	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860520 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:15	1028	[DEBUG]	Store custom available field
2023-10-13	12:37:15	1028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860520,3,'99.6225',1)
2023-10-13	12:37:15	1028	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:15	1028	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:15	1028	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860520 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:15	1028	[DEBUG]	Store custom available field
2023-10-13	12:37:15	1028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860520,6,'choisir la taille',3)
2023-10-13	12:37:15	1028	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:15	1028	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:15	1028	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:15	1028	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:15	1028	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860520 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:15	1028	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:15	1028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860520,8,1)
2023-10-13	12:37:15	1028	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:15	1028	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860520\":[1860520,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860520
2023-10-13	12:37:15	1028	[DEBUG]	Checking category
2023-10-13	12:37:15	1028	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:15	1028	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860520
2023-10-13	12:37:15	1028	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:15	1028	[DEBUG]	Executed store
2023-10-13	12:37:15	1028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860520','7286')
2023-10-13	12:37:15	1028	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:15	1028	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860520 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:15	1028	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:15	1028	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860520
2023-10-13	12:37:15	1029	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:15	1029	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:15	1029	[DEBUG]	Use field value for field taille
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:15	1029	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:15	1029	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:15	1029	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:15	1029	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:15	1029	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:15	1029	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:15	1029	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:15	1029	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:15	1029	[DEBUG]	Use field value for field published
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:15	1029	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field override
2023-10-13	12:37:15	1029	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:15	1029	[DEBUG]	Use field value for field slug
2023-10-13	12:37:15	1029	[DEBUG]	Process line 1029
2023-10-13	12:37:15	1029	[DEBUG]	Load a row
2023-10-13	12:37:15	1029	[DEBUG]	Processing item: 8436041523321
2023-10-13	12:37:15	1029	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:15	1029	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:15	1029	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1628_0'
2023-10-13	12:37:15	1029	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:15	1029	[DEBUG]	Processing product tax
2023-10-13	12:37:15	1029	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:15	1029	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:15	1029	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:15	1029	[DEBUG]	Query for Product
2023-10-13	12:37:15	1029	[DEBUG]	Executed store
2023-10-13	12:37:15	1029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860520','8436041523321','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:15	1029	[DEBUG]	No parent found
2023-10-13	12:37:15	1029	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860520 AND customfield_value = 'stockable'
2023-10-13	12:37:15	1029	[DEBUG]	Check product language entry
2023-10-13	12:37:15	1029	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860521
2023-10-13	12:37:15	1029	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:15	1029	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041523321' AND `virtuemart_product_id` != 1860521
2023-10-13	12:37:15	1029	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:15	1029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860521, '8436041523321')
2023-10-13	12:37:15	1029	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:15	1029	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-11vitesses-255-gr-unique-unitaire' AND `virtuemart_product_id` != 1860521
2023-10-13	12:37:15	1029	[DEBUG]	Query for ProductLang
2023-10-13	12:37:15	1029	[DEBUG]	Executed store
2023-10-13	12:37:15	1029	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC Ultralight 11vitesses 255 gr. / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-11vitesses-255-gr-unique-unitaire' WHERE `virtuemart_product_id` = '1860521'
2023-10-13	12:37:15	1029	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5622.jpg
2023-10-13	12:37:15	1029	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:37:15	1029	[DEBUG]	Process image file
2023-10-13	12:37:15	1029	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:37:15	1029	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:15	1029	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5622.jpg
2023-10-13	12:37:15	1029	[DEBUG]	Full name target: bcprisme/image_5622.jpg
2023-10-13	12:37:17	1029	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:17	1029	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5622.jpg'
2023-10-13	12:37:17	1029	[DEBUG]	Query for Media
2023-10-13	12:37:17	1029	[DEBUG]	Executed store
2023-10-13	12:37:17	1029	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5622.jpg',`file_url_thumb`='bcprisme/image_5622.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15808'
2023-10-13	12:37:17	1029	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:17	1029	[DEBUG]	Executed store
2023-10-13	12:37:17	1029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860521','15808','1')
2023-10-13	12:37:17	1029	[DEBUG]	Store product image relation
2023-10-13	12:37:17	1029	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:17	1029	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860521 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:17	1029	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:17	1029	[DEBUG]	Executed store
2023-10-13	12:37:17	1029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860521','0','92.4791086350975','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:17	1029	[DEBUG]	Checking manufacturer
2023-10-13	12:37:17	1029	[DEBUG]	Load a row
2023-10-13	12:37:17	1029	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:17	1029	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:17	1029	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:17	1029	[DEBUG]	Executed store
2023-10-13	12:37:17	1029	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:17	1029	[DEBUG]	Manufacturer exists
2023-10-13	12:37:17	1029	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:37:17	1029	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:17	1029	[DEBUG]	Executed store
2023-10-13	12:37:17	1029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860521','32')
2023-10-13	12:37:17	1029	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:17	1029	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:17	1029	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860521 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:17	1029	[DEBUG]	Store custom available field
2023-10-13	12:37:17	1029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860521,3,'',1)
2023-10-13	12:37:17	1029	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:17	1029	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:17	1029	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860521 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:17	1029	[DEBUG]	Store custom available field
2023-10-13	12:37:17	1029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860521,6,'Unitaire',3)
2023-10-13	12:37:17	1029	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:17	1029	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:17	1029	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860520
2023-10-13	12:37:17	1029	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:17	1029	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860520\":[1860520,8,1,\"choisir la taille\"],\"1860521\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860520
2023-10-13	12:37:17	1029	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:17	1029	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860521
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:17	1030	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field taille
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:17	1030	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:17	1030	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:17	1030	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:17	1030	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:17	1030	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:17	1030	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field published
2023-10-13	12:37:17	1030	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:17	1030	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field override
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:17	1030	[DEBUG]	Use field value for field slug
2023-10-13	12:37:17	1030	[DEBUG]	Process line 1030
2023-10-13	12:37:17	1030	[DEBUG]	Load a row
2023-10-13	12:37:17	1030	[DEBUG]	Processing item: A_2928_0
2023-10-13	12:37:17	1030	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:17	1030	[DEBUG]	Processing product tax
2023-10-13	12:37:17	1030	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:17	1030	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:17	1030	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:17	1030	[DEBUG]	Query for Product
2023-10-13	12:37:17	1030	[DEBUG]	Executed store
2023-10-13	12:37:17	1030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2928_0','0.0248','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:17	1030	[DEBUG]	Check product language entry
2023-10-13	12:37:17	1030	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860522
2023-10-13	12:37:17	1030	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:17	1030	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2928_0' AND `virtuemart_product_id` != 1860522
2023-10-13	12:37:17	1030	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:17	1030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860522, 'A_2928_0')
2023-10-13	12:37:17	1030	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:17	1030	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-maillons-de-chaine-msc-11vitesses-1-unite-unique' AND `virtuemart_product_id` != 1860522
2023-10-13	12:37:17	1030	[DEBUG]	Query for ProductLang
2023-10-13	12:37:17	1030	[DEBUG]	Executed store
2023-10-13	12:37:17	1030	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Maillons de chaîne MSC 11v. 10 sets, 24.8 gr.<br>N° art fourn : ESLA11',`product_name`='MSC Maillons de chaîne MSC 11vitesses 1 unité / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-maillons-de-chaine-msc-11vitesses-1-unite-unique' WHERE `virtuemart_product_id` = '1860522'
2023-10-13	12:37:17	1030	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12171.jpg
2023-10-13	12:37:17	1030	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:17	1030	[DEBUG]	Process image file
2023-10-13	12:37:17	1030	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:17	1030	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:17	1030	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12171.jpg
2023-10-13	12:37:17	1030	[DEBUG]	Full name target: bcprisme/image_12171.jpg
2023-10-13	12:37:18	1030	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:18	1030	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12171.jpg'
2023-10-13	12:37:18	1030	[DEBUG]	Query for Media
2023-10-13	12:37:18	1030	[DEBUG]	Executed store
2023-10-13	12:37:18	1030	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12171.jpg',`file_url_thumb`='bcprisme/image_12171.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12541'
2023-10-13	12:37:18	1030	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:18	1030	[DEBUG]	Executed store
2023-10-13	12:37:18	1030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860522','12541','1')
2023-10-13	12:37:18	1030	[DEBUG]	Store product image relation
2023-10-13	12:37:18	1030	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:18	1030	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860522 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:18	1030	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:18	1030	[DEBUG]	Executed store
2023-10-13	12:37:18	1030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860522','0','4.59610027855153','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:18	1030	[DEBUG]	Checking manufacturer
2023-10-13	12:37:18	1030	[DEBUG]	Load a row
2023-10-13	12:37:18	1030	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:18	1030	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:18	1030	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:18	1030	[DEBUG]	Executed store
2023-10-13	12:37:18	1030	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:18	1030	[DEBUG]	Manufacturer exists
2023-10-13	12:37:18	1030	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:37:18	1030	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:18	1030	[DEBUG]	Executed store
2023-10-13	12:37:18	1030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860522','32')
2023-10-13	12:37:18	1030	[DEBUG]	Find the custom field ID
2023-10-13	12:37:18	1030	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:18	1030	[DEBUG]	No custom field ID found
2023-10-13	12:37:18	1030	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:18	1030	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:37:18	1030	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860522 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:18	1030	[DEBUG]	Store custom available field
2023-10-13	12:37:18	1030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860522,3,'49.7613888888889',1)
2023-10-13	12:37:18	1030	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:18	1030	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:18	1030	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860522 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:18	1030	[DEBUG]	Store custom available field
2023-10-13	12:37:18	1030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860522,6,'choisir la taille',3)
2023-10-13	12:37:18	1030	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:18	1030	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:18	1030	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:18	1030	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:18	1030	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860522 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:18	1030	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:18	1030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860522,8,1)
2023-10-13	12:37:18	1030	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:18	1030	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860522\":[1860522,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860522
2023-10-13	12:37:18	1030	[DEBUG]	Checking category
2023-10-13	12:37:18	1030	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:18	1030	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860522
2023-10-13	12:37:18	1030	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:18	1030	[DEBUG]	Executed store
2023-10-13	12:37:18	1030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860522','7286')
2023-10-13	12:37:18	1030	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:18	1030	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860522 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:18	1030	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:18	1030	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860522
2023-10-13	12:37:18	1031	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:18	1031	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:18	1031	[DEBUG]	Use field value for field taille
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:18	1031	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:18	1031	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:18	1031	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:18	1031	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:18	1031	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:18	1031	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:18	1031	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:18	1031	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:18	1031	[DEBUG]	Use field value for field published
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:18	1031	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field override
2023-10-13	12:37:18	1031	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:18	1031	[DEBUG]	Use field value for field slug
2023-10-13	12:37:18	1031	[DEBUG]	Process line 1031
2023-10-13	12:37:18	1031	[DEBUG]	Load a row
2023-10-13	12:37:18	1031	[DEBUG]	Processing item: 8436550192902
2023-10-13	12:37:18	1031	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:18	1031	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:18	1031	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2928_0'
2023-10-13	12:37:18	1031	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:18	1031	[DEBUG]	Processing product tax
2023-10-13	12:37:18	1031	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:18	1031	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:18	1031	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:18	1031	[DEBUG]	Query for Product
2023-10-13	12:37:18	1031	[DEBUG]	Executed store
2023-10-13	12:37:18	1031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860522','8436550192902','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:18	1031	[DEBUG]	No parent found
2023-10-13	12:37:18	1031	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860522 AND customfield_value = 'stockable'
2023-10-13	12:37:18	1031	[DEBUG]	Check product language entry
2023-10-13	12:37:18	1031	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860523
2023-10-13	12:37:18	1031	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:18	1031	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550192902' AND `virtuemart_product_id` != 1860523
2023-10-13	12:37:18	1031	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:18	1031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860523, '8436550192902')
2023-10-13	12:37:18	1031	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:18	1031	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-maillons-de-chaine-msc-11vitesses-1-unite-unique-unitaire' AND `virtuemart_product_id` != 1860523
2023-10-13	12:37:18	1031	[DEBUG]	Query for ProductLang
2023-10-13	12:37:18	1031	[DEBUG]	Executed store
2023-10-13	12:37:18	1031	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Maillons de chaîne MSC 11vitesses 1 unité / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-maillons-de-chaine-msc-11vitesses-1-unite-unique-unitaire' WHERE `virtuemart_product_id` = '1860523'
2023-10-13	12:37:18	1031	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12171.jpg
2023-10-13	12:37:18	1031	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:18	1031	[DEBUG]	Process image file
2023-10-13	12:37:18	1031	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:18	1031	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:18	1031	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12171.jpg
2023-10-13	12:37:18	1031	[DEBUG]	Full name target: bcprisme/image_12171.jpg
2023-10-13	12:37:20	1031	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:20	1031	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12171.jpg'
2023-10-13	12:37:20	1031	[DEBUG]	Query for Media
2023-10-13	12:37:20	1031	[DEBUG]	Executed store
2023-10-13	12:37:20	1031	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12171.jpg',`file_url_thumb`='bcprisme/image_12171.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12541'
2023-10-13	12:37:20	1031	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:20	1031	[DEBUG]	Executed store
2023-10-13	12:37:20	1031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860523','12541','1')
2023-10-13	12:37:20	1031	[DEBUG]	Store product image relation
2023-10-13	12:37:20	1031	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:20	1031	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860523 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:20	1031	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:20	1031	[DEBUG]	Executed store
2023-10-13	12:37:20	1031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860523','0','4.59610027855153','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:20	1031	[DEBUG]	Checking manufacturer
2023-10-13	12:37:20	1031	[DEBUG]	Load a row
2023-10-13	12:37:20	1031	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:20	1031	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:20	1031	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:20	1031	[DEBUG]	Executed store
2023-10-13	12:37:20	1031	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:20	1031	[DEBUG]	Manufacturer exists
2023-10-13	12:37:20	1031	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:37:20	1031	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:20	1031	[DEBUG]	Executed store
2023-10-13	12:37:20	1031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860523','32')
2023-10-13	12:37:20	1031	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:20	1031	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:20	1031	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860523 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:20	1031	[DEBUG]	Store custom available field
2023-10-13	12:37:20	1031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860523,3,'',1)
2023-10-13	12:37:20	1031	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:20	1031	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:20	1031	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860523 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:20	1031	[DEBUG]	Store custom available field
2023-10-13	12:37:20	1031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860523,6,'Unitaire',3)
2023-10-13	12:37:20	1031	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:20	1031	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:20	1031	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860522
2023-10-13	12:37:20	1031	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:20	1031	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860522\":[1860522,8,1,\"choisir la taille\"],\"1860523\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860522
2023-10-13	12:37:20	1031	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:20	1031	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860523
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:20	1032	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field taille
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:20	1032	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:20	1032	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:20	1032	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:20	1032	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:20	1032	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:20	1032	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field published
2023-10-13	12:37:20	1032	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:20	1032	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field override
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:20	1032	[DEBUG]	Use field value for field slug
2023-10-13	12:37:20	1032	[DEBUG]	Process line 1032
2023-10-13	12:37:20	1032	[DEBUG]	Load a row
2023-10-13	12:37:20	1032	[DEBUG]	Processing item: A_3661_4
2023-10-13	12:37:20	1032	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:20	1032	[DEBUG]	Processing product tax
2023-10-13	12:37:20	1032	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:20	1032	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:20	1032	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:20	1032	[DEBUG]	Query for Product
2023-10-13	12:37:20	1032	[DEBUG]	Executed store
2023-10-13	12:37:20	1032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3661_4','0.262','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:20	1032	[DEBUG]	Check product language entry
2023-10-13	12:37:20	1032	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860524
2023-10-13	12:37:20	1032	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:20	1032	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3661_4' AND `virtuemart_product_id` != 1860524
2023-10-13	12:37:20	1032	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:20	1032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860524, 'A_3661_4')
2023-10-13	12:37:20	1032	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:20	1032	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-11-vitesses-262-gr-acier' AND `virtuemart_product_id` != 1860524
2023-10-13	12:37:20	1032	[DEBUG]	Query for ProductLang
2023-10-13	12:37:20	1032	[DEBUG]	Executed store
2023-10-13	12:37:20	1032	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaine MSC 11 vitesses, 262 gr.<br><br>N° art fourn : MSCCH11V',`product_name`='MSC Chaîne MSC 11 vitesses, 262 gr. / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-11-vitesses-262-gr-acier' WHERE `virtuemart_product_id` = '1860524'
2023-10-13	12:37:20	1032	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18374.jpg
2023-10-13	12:37:20	1032	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:20	1032	[DEBUG]	Process image file
2023-10-13	12:37:20	1032	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:20	1032	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:20	1032	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18374.jpg
2023-10-13	12:37:20	1032	[DEBUG]	Full name target: bcprisme/image_18374.jpg
2023-10-13	12:37:22	1032	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:22	1032	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18374.jpg'
2023-10-13	12:37:22	1032	[DEBUG]	Query for Media
2023-10-13	12:37:22	1032	[DEBUG]	Executed store
2023-10-13	12:37:22	1032	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18374.jpg',`file_url_thumb`='bcprisme/image_18374.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12542'
2023-10-13	12:37:22	1032	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:22	1032	[DEBUG]	Executed store
2023-10-13	12:37:22	1032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860524','12542','1')
2023-10-13	12:37:22	1032	[DEBUG]	Store product image relation
2023-10-13	12:37:22	1032	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:22	1032	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860524 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:22	1032	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:22	1032	[DEBUG]	Executed store
2023-10-13	12:37:22	1032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860524','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:22	1032	[DEBUG]	Checking manufacturer
2023-10-13	12:37:22	1032	[DEBUG]	Load a row
2023-10-13	12:37:22	1032	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:22	1032	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:22	1032	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:22	1032	[DEBUG]	Executed store
2023-10-13	12:37:22	1032	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:22	1032	[DEBUG]	Manufacturer exists
2023-10-13	12:37:22	1032	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:37:22	1032	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:22	1032	[DEBUG]	Executed store
2023-10-13	12:37:22	1032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860524','32')
2023-10-13	12:37:22	1032	[DEBUG]	Find the custom field ID
2023-10-13	12:37:22	1032	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:22	1032	[DEBUG]	No custom field ID found
2023-10-13	12:37:22	1032	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:22	1032	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:37:22	1032	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860524 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:22	1032	[DEBUG]	Store custom available field
2023-10-13	12:37:22	1032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860524,3,'49.7613888888889',1)
2023-10-13	12:37:22	1032	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:22	1032	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:22	1032	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860524 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:22	1032	[DEBUG]	Store custom available field
2023-10-13	12:37:22	1032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860524,6,'choisir la taille',3)
2023-10-13	12:37:22	1032	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:22	1032	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:22	1032	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:22	1032	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:22	1032	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860524 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:22	1032	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:22	1032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860524,8,1)
2023-10-13	12:37:22	1032	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:22	1032	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860524\":[1860524,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860524
2023-10-13	12:37:22	1032	[DEBUG]	Checking category
2023-10-13	12:37:22	1032	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:22	1032	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860524
2023-10-13	12:37:22	1032	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:22	1032	[DEBUG]	Executed store
2023-10-13	12:37:22	1032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860524','7286')
2023-10-13	12:37:22	1032	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:22	1032	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860524 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:22	1032	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:22	1032	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860524
2023-10-13	12:37:22	1033	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:22	1033	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:22	1033	[DEBUG]	Use field value for field taille
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:22	1033	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:22	1033	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:22	1033	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:22	1033	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:22	1033	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:22	1033	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:22	1033	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:22	1033	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:22	1033	[DEBUG]	Use field value for field published
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:22	1033	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field override
2023-10-13	12:37:22	1033	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:22	1033	[DEBUG]	Use field value for field slug
2023-10-13	12:37:22	1033	[DEBUG]	Process line 1033
2023-10-13	12:37:22	1033	[DEBUG]	Load a row
2023-10-13	12:37:22	1033	[DEBUG]	Processing item: 8436550199963
2023-10-13	12:37:22	1033	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:22	1033	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:22	1033	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3661_4'
2023-10-13	12:37:22	1033	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:22	1033	[DEBUG]	Processing product tax
2023-10-13	12:37:22	1033	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:22	1033	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:22	1033	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:22	1033	[DEBUG]	Query for Product
2023-10-13	12:37:22	1033	[DEBUG]	Executed store
2023-10-13	12:37:22	1033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860524','8436550199963','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:22	1033	[DEBUG]	No parent found
2023-10-13	12:37:22	1033	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860524 AND customfield_value = 'stockable'
2023-10-13	12:37:22	1033	[DEBUG]	Check product language entry
2023-10-13	12:37:22	1033	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860525
2023-10-13	12:37:22	1033	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:22	1033	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550199963' AND `virtuemart_product_id` != 1860525
2023-10-13	12:37:22	1033	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:22	1033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860525, '8436550199963')
2023-10-13	12:37:22	1033	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:22	1033	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-11-vitesses-262-gr-acier-unitaire' AND `virtuemart_product_id` != 1860525
2023-10-13	12:37:22	1033	[DEBUG]	Query for ProductLang
2023-10-13	12:37:22	1033	[DEBUG]	Executed store
2023-10-13	12:37:22	1033	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC 11 vitesses, 262 gr. / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-11-vitesses-262-gr-acier-unitaire' WHERE `virtuemart_product_id` = '1860525'
2023-10-13	12:37:22	1033	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18374.jpg
2023-10-13	12:37:22	1033	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:22	1033	[DEBUG]	Process image file
2023-10-13	12:37:22	1033	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:22	1033	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:22	1033	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18374.jpg
2023-10-13	12:37:22	1033	[DEBUG]	Full name target: bcprisme/image_18374.jpg
2023-10-13	12:37:23	1033	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:23	1033	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18374.jpg'
2023-10-13	12:37:23	1033	[DEBUG]	Query for Media
2023-10-13	12:37:23	1033	[DEBUG]	Executed store
2023-10-13	12:37:23	1033	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18374.jpg',`file_url_thumb`='bcprisme/image_18374.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12542'
2023-10-13	12:37:23	1033	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:23	1033	[DEBUG]	Executed store
2023-10-13	12:37:23	1033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860525','12542','1')
2023-10-13	12:37:23	1033	[DEBUG]	Store product image relation
2023-10-13	12:37:23	1033	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:23	1033	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860525 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:23	1033	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:23	1033	[DEBUG]	Executed store
2023-10-13	12:37:23	1033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860525','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:23	1033	[DEBUG]	Checking manufacturer
2023-10-13	12:37:23	1033	[DEBUG]	Load a row
2023-10-13	12:37:23	1033	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:23	1033	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:23	1033	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:23	1033	[DEBUG]	Executed store
2023-10-13	12:37:23	1033	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:37:23	1033	[DEBUG]	Manufacturer exists
2023-10-13	12:37:23	1033	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:37:23	1033	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:23	1033	[DEBUG]	Executed store
2023-10-13	12:37:23	1033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860525','32')
2023-10-13	12:37:23	1033	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:23	1033	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:23	1033	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860525 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:23	1033	[DEBUG]	Store custom available field
2023-10-13	12:37:23	1033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860525,3,'',1)
2023-10-13	12:37:23	1033	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:23	1033	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:23	1033	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860525 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:23	1033	[DEBUG]	Store custom available field
2023-10-13	12:37:23	1033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860525,6,'Unitaire',3)
2023-10-13	12:37:23	1033	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:23	1033	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:23	1033	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860524
2023-10-13	12:37:23	1033	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:23	1033	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860524\":[1860524,8,1,\"choisir la taille\"],\"1860525\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860524
2023-10-13	12:37:23	1033	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:23	1033	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860525
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:23	1034	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field taille
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:23	1034	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:23	1034	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:23	1034	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:23	1034	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:23	1034	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:23	1034	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field published
2023-10-13	12:37:23	1034	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:23	1034	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field override
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:23	1034	[DEBUG]	Use field value for field slug
2023-10-13	12:37:23	1034	[DEBUG]	Process line 1034
2023-10-13	12:37:23	1034	[DEBUG]	Load a row
2023-10-13	12:37:23	1034	[DEBUG]	Processing item: A_4981_8
2023-10-13	12:37:23	1034	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:23	1034	[DEBUG]	Processing product tax
2023-10-13	12:37:23	1034	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:23	1034	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:23	1034	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:23	1034	[DEBUG]	Query for Product
2023-10-13	12:37:23	1034	[DEBUG]	Executed store
2023-10-13	12:37:23	1034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4981_8','0.262','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:23	1034	[DEBUG]	Check product language entry
2023-10-13	12:37:23	1034	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860526
2023-10-13	12:37:23	1034	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:23	1034	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4981_8' AND `virtuemart_product_id` != 1860526
2023-10-13	12:37:23	1034	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:23	1034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860526, 'A_4981_8')
2023-10-13	12:37:23	1034	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:23	1034	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-sram-11-vitesses-pc-1110-chrome' AND `virtuemart_product_id` != 1860526
2023-10-13	12:37:23	1034	[DEBUG]	Query for ProductLang
2023-10-13	12:37:23	1034	[DEBUG]	Executed store
2023-10-13	12:37:23	1034	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : PC 1110',`product_name`='SRAM Chaîne Sram 11 vitesses PC 1110 / chromé',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-sram-11-vitesses-pc-1110-chrome' WHERE `virtuemart_product_id` = '1860526'
2023-10-13	12:37:23	1034	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29349_chaine_sram_11_vitesses_pc_1110.jpg
2023-10-13	12:37:23	1034	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:23	1034	[DEBUG]	Process image file
2023-10-13	12:37:23	1034	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:23	1034	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:23	1034	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29349_chaine_sram_11_vitesses_pc_1110.jpg
2023-10-13	12:37:23	1034	[DEBUG]	Full name target: bcprisme/29349_chaine_sram_11_vitesses_pc_1110.jpg
2023-10-13	12:37:24	1034	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:24	1034	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29349_chaine_sram_11_vitesses_pc_1110.jpg'
2023-10-13	12:37:24	1034	[DEBUG]	Query for Media
2023-10-13	12:37:24	1034	[DEBUG]	Executed store
2023-10-13	12:37:24	1034	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29349_chaine_sram_11_vitesses_pc_1110.jpg',`file_url_thumb`='bcprisme/29349_chaine_sram_11_vitesses_pc_1110.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12543'
2023-10-13	12:37:24	1034	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:24	1034	[DEBUG]	Executed store
2023-10-13	12:37:24	1034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860526','12543','1')
2023-10-13	12:37:24	1034	[DEBUG]	Store product image relation
2023-10-13	12:37:24	1034	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:24	1034	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860526 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:24	1034	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:24	1034	[DEBUG]	Executed store
2023-10-13	12:37:24	1034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860526','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:24	1034	[DEBUG]	Checking manufacturer
2023-10-13	12:37:24	1034	[DEBUG]	Load a row
2023-10-13	12:37:24	1034	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:24	1034	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:24	1034	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:24	1034	[DEBUG]	Executed store
2023-10-13	12:37:24	1034	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:24	1034	[DEBUG]	Manufacturer exists
2023-10-13	12:37:24	1034	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:37:24	1034	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:24	1034	[DEBUG]	Executed store
2023-10-13	12:37:24	1034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860526','35')
2023-10-13	12:37:24	1034	[DEBUG]	Find the custom field ID
2023-10-13	12:37:24	1034	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:24	1034	[DEBUG]	No custom field ID found
2023-10-13	12:37:24	1034	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:24	1034	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:37:24	1034	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860526 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:24	1034	[DEBUG]	Store custom available field
2023-10-13	12:37:24	1034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860526,3,'49.7613888888889',1)
2023-10-13	12:37:24	1034	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:24	1034	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:24	1034	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860526 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:24	1034	[DEBUG]	Store custom available field
2023-10-13	12:37:24	1034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860526,6,'choisir la taille',3)
2023-10-13	12:37:24	1034	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:24	1034	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:24	1034	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:24	1034	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:24	1034	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860526 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:24	1034	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:24	1034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860526,8,1)
2023-10-13	12:37:24	1034	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:24	1034	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860526\":[1860526,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860526
2023-10-13	12:37:24	1034	[DEBUG]	Checking category
2023-10-13	12:37:24	1034	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:24	1034	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860526
2023-10-13	12:37:24	1034	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:24	1034	[DEBUG]	Executed store
2023-10-13	12:37:24	1034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860526','7286')
2023-10-13	12:37:24	1034	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:24	1034	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860526 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:24	1034	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:24	1034	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860526
2023-10-13	12:37:24	1035	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:24	1035	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:24	1035	[DEBUG]	Use field value for field taille
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:24	1035	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:24	1035	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:24	1035	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:24	1035	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:24	1035	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:24	1035	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:24	1035	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:24	1035	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:24	1035	[DEBUG]	Use field value for field published
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:24	1035	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field override
2023-10-13	12:37:24	1035	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:24	1035	[DEBUG]	Use field value for field slug
2023-10-13	12:37:24	1035	[DEBUG]	Process line 1035
2023-10-13	12:37:24	1035	[DEBUG]	Load a row
2023-10-13	12:37:24	1035	[DEBUG]	Processing item: 710845789069
2023-10-13	12:37:24	1035	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:24	1035	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:24	1035	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4981_8'
2023-10-13	12:37:24	1035	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:24	1035	[DEBUG]	Processing product tax
2023-10-13	12:37:24	1035	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:24	1035	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:24	1035	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:24	1035	[DEBUG]	Query for Product
2023-10-13	12:37:24	1035	[DEBUG]	Executed store
2023-10-13	12:37:24	1035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860526','710845789069','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:24	1035	[DEBUG]	No parent found
2023-10-13	12:37:24	1035	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860526 AND customfield_value = 'stockable'
2023-10-13	12:37:24	1035	[DEBUG]	Check product language entry
2023-10-13	12:37:24	1035	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860527
2023-10-13	12:37:24	1035	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:24	1035	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845789069' AND `virtuemart_product_id` != 1860527
2023-10-13	12:37:24	1035	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:24	1035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860527, '710845789069')
2023-10-13	12:37:24	1035	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:24	1035	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-sram-11-vitesses-pc-1110-chrome-unitaire' AND `virtuemart_product_id` != 1860527
2023-10-13	12:37:24	1035	[DEBUG]	Query for ProductLang
2023-10-13	12:37:24	1035	[DEBUG]	Executed store
2023-10-13	12:37:24	1035	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne Sram 11 vitesses PC 1110 / chromé (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-sram-11-vitesses-pc-1110-chrome-unitaire' WHERE `virtuemart_product_id` = '1860527'
2023-10-13	12:37:24	1035	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29349_chaine_sram_11_vitesses_pc_1110.jpg
2023-10-13	12:37:24	1035	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:24	1035	[DEBUG]	Process image file
2023-10-13	12:37:24	1035	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:24	1035	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:24	1035	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29349_chaine_sram_11_vitesses_pc_1110.jpg
2023-10-13	12:37:24	1035	[DEBUG]	Full name target: bcprisme/29349_chaine_sram_11_vitesses_pc_1110.jpg
2023-10-13	12:37:25	1035	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:25	1035	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29349_chaine_sram_11_vitesses_pc_1110.jpg'
2023-10-13	12:37:25	1035	[DEBUG]	Query for Media
2023-10-13	12:37:25	1035	[DEBUG]	Executed store
2023-10-13	12:37:25	1035	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29349_chaine_sram_11_vitesses_pc_1110.jpg',`file_url_thumb`='bcprisme/29349_chaine_sram_11_vitesses_pc_1110.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12543'
2023-10-13	12:37:25	1035	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:25	1035	[DEBUG]	Executed store
2023-10-13	12:37:25	1035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860527','12543','1')
2023-10-13	12:37:25	1035	[DEBUG]	Store product image relation
2023-10-13	12:37:25	1035	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:25	1035	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860527 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:25	1035	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:25	1035	[DEBUG]	Executed store
2023-10-13	12:37:25	1035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860527','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:25	1035	[DEBUG]	Checking manufacturer
2023-10-13	12:37:25	1035	[DEBUG]	Load a row
2023-10-13	12:37:25	1035	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:25	1035	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:25	1035	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:25	1035	[DEBUG]	Executed store
2023-10-13	12:37:25	1035	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:25	1035	[DEBUG]	Manufacturer exists
2023-10-13	12:37:25	1035	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:37:25	1035	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:25	1035	[DEBUG]	Executed store
2023-10-13	12:37:25	1035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860527','35')
2023-10-13	12:37:25	1035	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:25	1035	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:25	1035	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860527 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:25	1035	[DEBUG]	Store custom available field
2023-10-13	12:37:25	1035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860527,3,'',1)
2023-10-13	12:37:25	1035	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:25	1035	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:25	1035	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860527 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:25	1035	[DEBUG]	Store custom available field
2023-10-13	12:37:25	1035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860527,6,'Unitaire',3)
2023-10-13	12:37:25	1035	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:25	1035	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:25	1035	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860526
2023-10-13	12:37:25	1035	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:25	1035	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860526\":[1860526,8,1,\"choisir la taille\"],\"1860527\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860526
2023-10-13	12:37:25	1035	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:25	1035	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860527
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:25	1036	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field taille
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:25	1036	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:25	1036	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:25	1036	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:25	1036	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:25	1036	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:25	1036	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field published
2023-10-13	12:37:25	1036	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:25	1036	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field override
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:25	1036	[DEBUG]	Use field value for field slug
2023-10-13	12:37:25	1036	[DEBUG]	Process line 1036
2023-10-13	12:37:25	1036	[DEBUG]	Load a row
2023-10-13	12:37:25	1036	[DEBUG]	Processing item: A_5228_4
2023-10-13	12:37:25	1036	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:25	1036	[DEBUG]	Processing product tax
2023-10-13	12:37:25	1036	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:25	1036	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:25	1036	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:25	1036	[DEBUG]	Query for Product
2023-10-13	12:37:25	1036	[DEBUG]	Executed store
2023-10-13	12:37:25	1036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5228_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:25	1036	[DEBUG]	Check product language entry
2023-10-13	12:37:25	1036	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860528
2023-10-13	12:37:25	1036	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:25	1036	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5228_4' AND `virtuemart_product_id` != 1860528
2023-10-13	12:37:25	1036	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:25	1036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860528, 'A_5228_4')
2023-10-13	12:37:25	1036	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:25	1036	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg701-11-vitesses-116-maillons-acier' AND `virtuemart_product_id` != 1860528
2023-10-13	12:37:25	1036	[DEBUG]	Query for ProductLang
2023-10-13	12:37:25	1036	[DEBUG]	Executed store
2023-10-13	12:37:25	1036	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.66604',`product_name`='SHIMANO Chaîne SHIMANO CN-HG701 11-vitesses 116 maillons / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg701-11-vitesses-116-maillons-acier' WHERE `virtuemart_product_id` = '1860528'
2023-10-13	12:37:25	1036	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29700_shimano_chaine_cn-hg701_11-vitesses.jpg
2023-10-13	12:37:25	1036	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:25	1036	[DEBUG]	Process image file
2023-10-13	12:37:25	1036	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:25	1036	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:25	1036	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29700_shimano_chaine_cn-hg701_11-vitesses.jpg
2023-10-13	12:37:25	1036	[DEBUG]	Full name target: bcprisme/29700_shimano_chaine_cn-hg701_11-vitesses.jpg
2023-10-13	12:37:26	1036	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:26	1036	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29700_shimano_chaine_cn-hg701_11-vitesses.jpg'
2023-10-13	12:37:26	1036	[DEBUG]	Query for Media
2023-10-13	12:37:26	1036	[DEBUG]	Executed store
2023-10-13	12:37:26	1036	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29700_shimano_chaine_cn-hg701_11-vitesses.jpg',`file_url_thumb`='bcprisme/29700_shimano_chaine_cn-hg701_11-vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12545'
2023-10-13	12:37:26	1036	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:26	1036	[DEBUG]	Executed store
2023-10-13	12:37:26	1036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860528','12545','1')
2023-10-13	12:37:26	1036	[DEBUG]	Store product image relation
2023-10-13	12:37:26	1036	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:26	1036	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860528 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:26	1036	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:26	1036	[DEBUG]	Executed store
2023-10-13	12:37:26	1036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860528','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:26	1036	[DEBUG]	Checking manufacturer
2023-10-13	12:37:26	1036	[DEBUG]	Load a row
2023-10-13	12:37:26	1036	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:26	1036	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:26	1036	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:26	1036	[DEBUG]	Executed store
2023-10-13	12:37:26	1036	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:26	1036	[DEBUG]	Manufacturer exists
2023-10-13	12:37:26	1036	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:26	1036	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:26	1036	[DEBUG]	Executed store
2023-10-13	12:37:26	1036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860528','26')
2023-10-13	12:37:26	1036	[DEBUG]	Find the custom field ID
2023-10-13	12:37:26	1036	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:26	1036	[DEBUG]	No custom field ID found
2023-10-13	12:37:26	1036	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:26	1036	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:26	1036	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860528 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:26	1036	[DEBUG]	Store custom available field
2023-10-13	12:37:26	1036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860528,3,'0',1)
2023-10-13	12:37:26	1036	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:26	1036	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:26	1036	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860528 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:26	1036	[DEBUG]	Store custom available field
2023-10-13	12:37:26	1036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860528,6,'choisir la taille',3)
2023-10-13	12:37:26	1036	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:26	1036	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:26	1036	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:26	1036	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:26	1036	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860528 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:26	1036	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:26	1036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860528,8,1)
2023-10-13	12:37:26	1036	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:26	1036	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860528\":[1860528,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860528
2023-10-13	12:37:26	1036	[DEBUG]	Checking category
2023-10-13	12:37:26	1036	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:26	1036	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860528
2023-10-13	12:37:26	1036	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:26	1036	[DEBUG]	Executed store
2023-10-13	12:37:26	1036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860528','7286')
2023-10-13	12:37:26	1036	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:26	1036	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860528 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:26	1036	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:26	1036	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860528
2023-10-13	12:37:26	1037	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:26	1037	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:26	1037	[DEBUG]	Use field value for field taille
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:26	1037	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:26	1037	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:26	1037	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:26	1037	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:26	1037	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:26	1037	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:26	1037	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:26	1037	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:26	1037	[DEBUG]	Use field value for field published
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:26	1037	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field override
2023-10-13	12:37:26	1037	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:26	1037	[DEBUG]	Use field value for field slug
2023-10-13	12:37:26	1037	[DEBUG]	Process line 1037
2023-10-13	12:37:26	1037	[DEBUG]	Load a row
2023-10-13	12:37:26	1037	[DEBUG]	Processing item: 4524667906803
2023-10-13	12:37:26	1037	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:26	1037	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:26	1037	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5228_4'
2023-10-13	12:37:26	1037	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:26	1037	[DEBUG]	Processing product tax
2023-10-13	12:37:26	1037	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:26	1037	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:26	1037	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:26	1037	[DEBUG]	Query for Product
2023-10-13	12:37:26	1037	[DEBUG]	Executed store
2023-10-13	12:37:26	1037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860528','4524667906803','0','KG','M','','18','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:26	1037	[DEBUG]	No parent found
2023-10-13	12:37:26	1037	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860528 AND customfield_value = 'stockable'
2023-10-13	12:37:26	1037	[DEBUG]	Check product language entry
2023-10-13	12:37:26	1037	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860529
2023-10-13	12:37:26	1037	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:26	1037	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667906803' AND `virtuemart_product_id` != 1860529
2023-10-13	12:37:26	1037	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:26	1037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860529, '4524667906803')
2023-10-13	12:37:26	1037	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:26	1037	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg701-11-vitesses-116-maillons-acier-unitaire' AND `virtuemart_product_id` != 1860529
2023-10-13	12:37:26	1037	[DEBUG]	Query for ProductLang
2023-10-13	12:37:26	1037	[DEBUG]	Executed store
2023-10-13	12:37:26	1037	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN-HG701 11-vitesses 116 maillons / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg701-11-vitesses-116-maillons-acier-unitaire' WHERE `virtuemart_product_id` = '1860529'
2023-10-13	12:37:26	1037	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29700_shimano_chaine_cn-hg701_11-vitesses.jpg
2023-10-13	12:37:26	1037	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:26	1037	[DEBUG]	Process image file
2023-10-13	12:37:26	1037	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:26	1037	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:26	1037	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29700_shimano_chaine_cn-hg701_11-vitesses.jpg
2023-10-13	12:37:26	1037	[DEBUG]	Full name target: bcprisme/29700_shimano_chaine_cn-hg701_11-vitesses.jpg
2023-10-13	12:37:27	1037	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:27	1037	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29700_shimano_chaine_cn-hg701_11-vitesses.jpg'
2023-10-13	12:37:27	1037	[DEBUG]	Query for Media
2023-10-13	12:37:27	1037	[DEBUG]	Executed store
2023-10-13	12:37:27	1037	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29700_shimano_chaine_cn-hg701_11-vitesses.jpg',`file_url_thumb`='bcprisme/29700_shimano_chaine_cn-hg701_11-vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12545'
2023-10-13	12:37:27	1037	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:27	1037	[DEBUG]	Executed store
2023-10-13	12:37:27	1037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860529','12545','1')
2023-10-13	12:37:27	1037	[DEBUG]	Store product image relation
2023-10-13	12:37:27	1037	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:27	1037	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860529 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:27	1037	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:27	1037	[DEBUG]	Executed store
2023-10-13	12:37:27	1037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860529','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:27	1037	[DEBUG]	Checking manufacturer
2023-10-13	12:37:27	1037	[DEBUG]	Load a row
2023-10-13	12:37:27	1037	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:27	1037	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:27	1037	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:27	1037	[DEBUG]	Executed store
2023-10-13	12:37:27	1037	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:27	1037	[DEBUG]	Manufacturer exists
2023-10-13	12:37:27	1037	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:27	1037	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:27	1037	[DEBUG]	Executed store
2023-10-13	12:37:27	1037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860529','26')
2023-10-13	12:37:27	1037	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:27	1037	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:27	1037	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860529 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:27	1037	[DEBUG]	Store custom available field
2023-10-13	12:37:27	1037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860529,3,'',1)
2023-10-13	12:37:27	1037	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:27	1037	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:27	1037	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860529 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:27	1037	[DEBUG]	Store custom available field
2023-10-13	12:37:27	1037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860529,6,'Unitaire',3)
2023-10-13	12:37:27	1037	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:27	1037	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:27	1037	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860528
2023-10-13	12:37:27	1037	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:27	1037	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860528\":[1860528,8,1,\"choisir la taille\"],\"1860529\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860528
2023-10-13	12:37:27	1037	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:27	1037	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860529
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:27	1038	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field taille
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:27	1038	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:27	1038	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:27	1038	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:27	1038	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:27	1038	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:27	1038	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field published
2023-10-13	12:37:27	1038	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:27	1038	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field override
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:27	1038	[DEBUG]	Use field value for field slug
2023-10-13	12:37:27	1038	[DEBUG]	Process line 1038
2023-10-13	12:37:27	1038	[DEBUG]	Load a row
2023-10-13	12:37:27	1038	[DEBUG]	Processing item: A_5297_4
2023-10-13	12:37:27	1038	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:27	1038	[DEBUG]	Processing product tax
2023-10-13	12:37:27	1038	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:27	1038	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:27	1038	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:27	1038	[DEBUG]	Query for Product
2023-10-13	12:37:27	1038	[DEBUG]	Executed store
2023-10-13	12:37:27	1038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5297_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:27	1038	[DEBUG]	Check product language entry
2023-10-13	12:37:27	1038	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860530
2023-10-13	12:37:27	1038	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:27	1038	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5297_4' AND `virtuemart_product_id` != 1860530
2023-10-13	12:37:27	1038	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:27	1038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860530, 'A_5297_4')
2023-10-13	12:37:27	1038	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:27	1038	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-xx1-118-maillons-11-vit-hollow-pin-acier' AND `virtuemart_product_id` != 1860530
2023-10-13	12:37:27	1038	[DEBUG]	Query for ProductLang
2023-10-13	12:37:27	1038	[DEBUG]	Executed store
2023-10-13	12:37:27	1038	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D3699X',`product_name`='SRAM Chaîne PC XX1 118 maillons 11 vit Hollow Pin / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-xx1-118-maillons-11-vit-hollow-pin-acier' WHERE `virtuemart_product_id` = '1860530'
2023-10-13	12:37:27	1038	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29774_chaine_pc_xx1_118_maillons_11_vit_hollow_pin.jpg
2023-10-13	12:37:27	1038	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:27	1038	[DEBUG]	Process image file
2023-10-13	12:37:27	1038	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:27	1038	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:27	1038	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29774_chaine_pc_xx1_118_maillons_11_vit_hollow_pin.jpg
2023-10-13	12:37:27	1038	[DEBUG]	Full name target: bcprisme/29774_chaine_pc_xx1_118_maillons_11_vit_hollow_pin.jpg
2023-10-13	12:37:28	1038	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:28	1038	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29774_chaine_pc_xx1_118_maillons_11_vit_hollow_pin.jpg'
2023-10-13	12:37:28	1038	[DEBUG]	Query for Media
2023-10-13	12:37:28	1038	[DEBUG]	Executed store
2023-10-13	12:37:28	1038	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29774_chaine_pc_xx1_118_maillons_11_vit_hollow_pin.jpg',`file_url_thumb`='bcprisme/29774_chaine_pc_xx1_118_maillons_11_vit_hollow_pin.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12546'
2023-10-13	12:37:28	1038	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:28	1038	[DEBUG]	Executed store
2023-10-13	12:37:28	1038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860530','12546','1')
2023-10-13	12:37:28	1038	[DEBUG]	Store product image relation
2023-10-13	12:37:28	1038	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:28	1038	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860530 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:28	1038	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:28	1038	[DEBUG]	Executed store
2023-10-13	12:37:28	1038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860530','0','54.7818012999071','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:28	1038	[DEBUG]	Checking manufacturer
2023-10-13	12:37:28	1038	[DEBUG]	Load a row
2023-10-13	12:37:28	1038	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:28	1038	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:28	1038	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:28	1038	[DEBUG]	Executed store
2023-10-13	12:37:28	1038	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:28	1038	[DEBUG]	Manufacturer exists
2023-10-13	12:37:28	1038	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:37:28	1038	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:28	1038	[DEBUG]	Executed store
2023-10-13	12:37:28	1038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860530','35')
2023-10-13	12:37:28	1038	[DEBUG]	Find the custom field ID
2023-10-13	12:37:28	1038	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:28	1038	[DEBUG]	No custom field ID found
2023-10-13	12:37:28	1038	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:28	1038	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:28	1038	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860530 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:28	1038	[DEBUG]	Store custom available field
2023-10-13	12:37:28	1038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860530,3,'0',1)
2023-10-13	12:37:28	1038	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:28	1038	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:28	1038	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860530 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:28	1038	[DEBUG]	Store custom available field
2023-10-13	12:37:28	1038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860530,6,'choisir la taille',3)
2023-10-13	12:37:28	1038	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:28	1038	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:28	1038	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:28	1038	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:28	1038	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860530 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:28	1038	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:28	1038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860530,8,1)
2023-10-13	12:37:28	1038	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:28	1038	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860530\":[1860530,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860530
2023-10-13	12:37:28	1038	[DEBUG]	Checking category
2023-10-13	12:37:28	1038	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:28	1038	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860530
2023-10-13	12:37:28	1038	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:28	1038	[DEBUG]	Executed store
2023-10-13	12:37:28	1038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860530','7286')
2023-10-13	12:37:28	1038	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:28	1038	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860530 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:28	1038	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:28	1038	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860530
2023-10-13	12:37:28	1039	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:28	1039	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:28	1039	[DEBUG]	Use field value for field taille
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:28	1039	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:28	1039	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:28	1039	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:28	1039	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:28	1039	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:28	1039	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:28	1039	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:28	1039	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:28	1039	[DEBUG]	Use field value for field published
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:28	1039	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field override
2023-10-13	12:37:28	1039	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:28	1039	[DEBUG]	Use field value for field slug
2023-10-13	12:37:28	1039	[DEBUG]	Process line 1039
2023-10-13	12:37:28	1039	[DEBUG]	Load a row
2023-10-13	12:37:28	1039	[DEBUG]	Processing item: 710845712258
2023-10-13	12:37:28	1039	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:28	1039	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:28	1039	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5297_4'
2023-10-13	12:37:28	1039	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:28	1039	[DEBUG]	Processing product tax
2023-10-13	12:37:28	1039	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:28	1039	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:28	1039	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:28	1039	[DEBUG]	Query for Product
2023-10-13	12:37:28	1039	[DEBUG]	Executed store
2023-10-13	12:37:28	1039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860530','710845712258','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:28	1039	[DEBUG]	No parent found
2023-10-13	12:37:28	1039	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860530 AND customfield_value = 'stockable'
2023-10-13	12:37:28	1039	[DEBUG]	Check product language entry
2023-10-13	12:37:28	1039	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860531
2023-10-13	12:37:28	1039	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:28	1039	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845712258' AND `virtuemart_product_id` != 1860531
2023-10-13	12:37:28	1039	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:28	1039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860531, '710845712258')
2023-10-13	12:37:28	1039	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:28	1039	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-xx1-118-maillons-11-vit-hollow-pin-acier-unitaire' AND `virtuemart_product_id` != 1860531
2023-10-13	12:37:28	1039	[DEBUG]	Query for ProductLang
2023-10-13	12:37:28	1039	[DEBUG]	Executed store
2023-10-13	12:37:28	1039	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne PC XX1 118 maillons 11 vit Hollow Pin / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-xx1-118-maillons-11-vit-hollow-pin-acier-unitaire' WHERE `virtuemart_product_id` = '1860531'
2023-10-13	12:37:28	1039	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29774_chaine_pc_xx1_118_maillons_11_vit_hollow_pin.jpg
2023-10-13	12:37:28	1039	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:28	1039	[DEBUG]	Process image file
2023-10-13	12:37:28	1039	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:28	1039	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:28	1039	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29774_chaine_pc_xx1_118_maillons_11_vit_hollow_pin.jpg
2023-10-13	12:37:28	1039	[DEBUG]	Full name target: bcprisme/29774_chaine_pc_xx1_118_maillons_11_vit_hollow_pin.jpg
2023-10-13	12:37:29	1039	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:29	1039	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29774_chaine_pc_xx1_118_maillons_11_vit_hollow_pin.jpg'
2023-10-13	12:37:29	1039	[DEBUG]	Query for Media
2023-10-13	12:37:29	1039	[DEBUG]	Executed store
2023-10-13	12:37:29	1039	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29774_chaine_pc_xx1_118_maillons_11_vit_hollow_pin.jpg',`file_url_thumb`='bcprisme/29774_chaine_pc_xx1_118_maillons_11_vit_hollow_pin.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12546'
2023-10-13	12:37:29	1039	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:29	1039	[DEBUG]	Executed store
2023-10-13	12:37:29	1039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860531','12546','1')
2023-10-13	12:37:29	1039	[DEBUG]	Store product image relation
2023-10-13	12:37:29	1039	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:29	1039	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860531 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:29	1039	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:29	1039	[DEBUG]	Executed store
2023-10-13	12:37:29	1039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860531','0','54.7818012999071','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:29	1039	[DEBUG]	Checking manufacturer
2023-10-13	12:37:29	1039	[DEBUG]	Load a row
2023-10-13	12:37:29	1039	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:29	1039	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:29	1039	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:29	1039	[DEBUG]	Executed store
2023-10-13	12:37:29	1039	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:29	1039	[DEBUG]	Manufacturer exists
2023-10-13	12:37:29	1039	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:37:29	1039	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:29	1039	[DEBUG]	Executed store
2023-10-13	12:37:29	1039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860531','35')
2023-10-13	12:37:29	1039	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:29	1039	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:29	1039	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860531 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:29	1039	[DEBUG]	Store custom available field
2023-10-13	12:37:29	1039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860531,3,'',1)
2023-10-13	12:37:29	1039	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:29	1039	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:29	1039	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860531 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:29	1039	[DEBUG]	Store custom available field
2023-10-13	12:37:29	1039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860531,6,'Unitaire',3)
2023-10-13	12:37:29	1039	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:29	1039	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:29	1039	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860530
2023-10-13	12:37:29	1039	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:29	1039	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860530\":[1860530,8,1,\"choisir la taille\"],\"1860531\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860530
2023-10-13	12:37:29	1039	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:29	1039	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860531
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:29	1040	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field taille
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:29	1040	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:29	1040	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:29	1040	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:29	1040	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:29	1040	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:29	1040	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field published
2023-10-13	12:37:29	1040	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:29	1040	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field override
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:29	1040	[DEBUG]	Use field value for field slug
2023-10-13	12:37:29	1040	[DEBUG]	Process line 1040
2023-10-13	12:37:29	1040	[DEBUG]	Load a row
2023-10-13	12:37:29	1040	[DEBUG]	Processing item: A_5298_4
2023-10-13	12:37:29	1040	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:29	1040	[DEBUG]	Processing product tax
2023-10-13	12:37:29	1040	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:29	1040	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:29	1040	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:29	1040	[DEBUG]	Query for Product
2023-10-13	12:37:29	1040	[DEBUG]	Executed store
2023-10-13	12:37:29	1040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5298_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:29	1040	[DEBUG]	Check product language entry
2023-10-13	12:37:29	1040	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860532
2023-10-13	12:37:29	1040	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:29	1040	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5298_4' AND `virtuemart_product_id` != 1860532
2023-10-13	12:37:29	1040	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:29	1040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860532, 'A_5298_4')
2023-10-13	12:37:29	1040	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:29	1040	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-x1-118-maillons-11-vit-solid-pin-acier' AND `virtuemart_product_id` != 1860532
2023-10-13	12:37:29	1040	[DEBUG]	Query for ProductLang
2023-10-13	12:37:29	1040	[DEBUG]	Executed store
2023-10-13	12:37:29	1040	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D3699X',`product_name`='SRAM Chaîne PC X1 118 maillons 11 vit Solid Pin / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-x1-118-maillons-11-vit-solid-pin-acier' WHERE `virtuemart_product_id` = '1860532'
2023-10-13	12:37:29	1040	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29775_chaine_pc_x1_118_maillons_11_vit_solid_pin.jpg
2023-10-13	12:37:29	1040	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:29	1040	[DEBUG]	Process image file
2023-10-13	12:37:29	1040	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:29	1040	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:29	1040	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29775_chaine_pc_x1_118_maillons_11_vit_solid_pin.jpg
2023-10-13	12:37:29	1040	[DEBUG]	Full name target: bcprisme/29775_chaine_pc_x1_118_maillons_11_vit_solid_pin.jpg
2023-10-13	12:37:30	1040	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:30	1040	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29775_chaine_pc_x1_118_maillons_11_vit_solid_pin.jpg'
2023-10-13	12:37:30	1040	[DEBUG]	Query for Media
2023-10-13	12:37:30	1040	[DEBUG]	Executed store
2023-10-13	12:37:30	1040	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29775_chaine_pc_x1_118_maillons_11_vit_solid_pin.jpg',`file_url_thumb`='bcprisme/29775_chaine_pc_x1_118_maillons_11_vit_solid_pin.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12547'
2023-10-13	12:37:30	1040	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:30	1040	[DEBUG]	Executed store
2023-10-13	12:37:30	1040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860532','12547','1')
2023-10-13	12:37:30	1040	[DEBUG]	Store product image relation
2023-10-13	12:37:30	1040	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:30	1040	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860532 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:30	1040	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:30	1040	[DEBUG]	Executed store
2023-10-13	12:37:30	1040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860532','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:30	1040	[DEBUG]	Checking manufacturer
2023-10-13	12:37:30	1040	[DEBUG]	Load a row
2023-10-13	12:37:30	1040	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:30	1040	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:30	1040	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:30	1040	[DEBUG]	Executed store
2023-10-13	12:37:30	1040	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:30	1040	[DEBUG]	Manufacturer exists
2023-10-13	12:37:30	1040	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:37:30	1040	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:30	1040	[DEBUG]	Executed store
2023-10-13	12:37:30	1040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860532','35')
2023-10-13	12:37:30	1040	[DEBUG]	Find the custom field ID
2023-10-13	12:37:30	1040	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:30	1040	[DEBUG]	No custom field ID found
2023-10-13	12:37:30	1040	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:30	1040	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:30	1040	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860532 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:30	1040	[DEBUG]	Store custom available field
2023-10-13	12:37:30	1040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860532,3,'0',1)
2023-10-13	12:37:30	1040	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:30	1040	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:30	1040	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860532 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:30	1040	[DEBUG]	Store custom available field
2023-10-13	12:37:30	1040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860532,6,'choisir la taille',3)
2023-10-13	12:37:30	1040	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:30	1040	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:30	1040	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:30	1040	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:30	1040	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860532 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:30	1040	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:30	1040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860532,8,1)
2023-10-13	12:37:30	1040	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:30	1040	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860532\":[1860532,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860532
2023-10-13	12:37:30	1040	[DEBUG]	Checking category
2023-10-13	12:37:30	1040	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:30	1040	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860532
2023-10-13	12:37:30	1040	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:30	1040	[DEBUG]	Executed store
2023-10-13	12:37:30	1040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860532','7286')
2023-10-13	12:37:30	1040	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:30	1040	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860532 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:30	1040	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:30	1040	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860532
2023-10-13	12:37:30	1041	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:30	1041	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:30	1041	[DEBUG]	Use field value for field taille
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:30	1041	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:30	1041	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:30	1041	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:30	1041	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:30	1041	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:30	1041	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:30	1041	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:30	1041	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:30	1041	[DEBUG]	Use field value for field published
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:30	1041	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field override
2023-10-13	12:37:30	1041	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:30	1041	[DEBUG]	Use field value for field slug
2023-10-13	12:37:30	1041	[DEBUG]	Process line 1041
2023-10-13	12:37:30	1041	[DEBUG]	Load a row
2023-10-13	12:37:30	1041	[DEBUG]	Processing item: 710845759109
2023-10-13	12:37:30	1041	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:30	1041	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:30	1041	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5298_4'
2023-10-13	12:37:30	1041	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:30	1041	[DEBUG]	Processing product tax
2023-10-13	12:37:30	1041	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:30	1041	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:30	1041	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:30	1041	[DEBUG]	Query for Product
2023-10-13	12:37:30	1041	[DEBUG]	Executed store
2023-10-13	12:37:30	1041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860532','710845759109','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:30	1041	[DEBUG]	No parent found
2023-10-13	12:37:30	1041	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860532 AND customfield_value = 'stockable'
2023-10-13	12:37:30	1041	[DEBUG]	Check product language entry
2023-10-13	12:37:30	1041	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860533
2023-10-13	12:37:30	1041	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:30	1041	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845759109' AND `virtuemart_product_id` != 1860533
2023-10-13	12:37:30	1041	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:30	1041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860533, '710845759109')
2023-10-13	12:37:30	1041	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:30	1041	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-x1-118-maillons-11-vit-solid-pin-acier-unitaire' AND `virtuemart_product_id` != 1860533
2023-10-13	12:37:30	1041	[DEBUG]	Query for ProductLang
2023-10-13	12:37:30	1041	[DEBUG]	Executed store
2023-10-13	12:37:30	1041	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne PC X1 118 maillons 11 vit Solid Pin / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-x1-118-maillons-11-vit-solid-pin-acier-unitaire' WHERE `virtuemart_product_id` = '1860533'
2023-10-13	12:37:30	1041	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29775_chaine_pc_x1_118_maillons_11_vit_solid_pin.jpg
2023-10-13	12:37:30	1041	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:30	1041	[DEBUG]	Process image file
2023-10-13	12:37:30	1041	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:30	1041	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:30	1041	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29775_chaine_pc_x1_118_maillons_11_vit_solid_pin.jpg
2023-10-13	12:37:30	1041	[DEBUG]	Full name target: bcprisme/29775_chaine_pc_x1_118_maillons_11_vit_solid_pin.jpg
2023-10-13	12:37:31	1041	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:31	1041	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29775_chaine_pc_x1_118_maillons_11_vit_solid_pin.jpg'
2023-10-13	12:37:31	1041	[DEBUG]	Query for Media
2023-10-13	12:37:31	1041	[DEBUG]	Executed store
2023-10-13	12:37:31	1041	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29775_chaine_pc_x1_118_maillons_11_vit_solid_pin.jpg',`file_url_thumb`='bcprisme/29775_chaine_pc_x1_118_maillons_11_vit_solid_pin.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12547'
2023-10-13	12:37:31	1041	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:31	1041	[DEBUG]	Executed store
2023-10-13	12:37:31	1041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860533','12547','1')
2023-10-13	12:37:31	1041	[DEBUG]	Store product image relation
2023-10-13	12:37:31	1041	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:31	1041	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860533 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:31	1041	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:31	1041	[DEBUG]	Executed store
2023-10-13	12:37:31	1041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860533','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:31	1041	[DEBUG]	Checking manufacturer
2023-10-13	12:37:31	1041	[DEBUG]	Load a row
2023-10-13	12:37:31	1041	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:31	1041	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:31	1041	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:31	1041	[DEBUG]	Executed store
2023-10-13	12:37:31	1041	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:31	1041	[DEBUG]	Manufacturer exists
2023-10-13	12:37:31	1041	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:37:31	1041	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:31	1041	[DEBUG]	Executed store
2023-10-13	12:37:31	1041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860533','35')
2023-10-13	12:37:31	1041	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:31	1041	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:31	1041	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860533 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:31	1041	[DEBUG]	Store custom available field
2023-10-13	12:37:31	1041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860533,3,'',1)
2023-10-13	12:37:31	1041	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:31	1041	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:31	1041	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860533 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:31	1041	[DEBUG]	Store custom available field
2023-10-13	12:37:31	1041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860533,6,'Unitaire',3)
2023-10-13	12:37:31	1041	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:31	1041	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:31	1041	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860532
2023-10-13	12:37:31	1041	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:31	1041	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860532\":[1860532,8,1,\"choisir la taille\"],\"1860533\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860532
2023-10-13	12:37:31	1041	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:31	1041	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860533
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:31	1042	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field taille
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:31	1042	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:31	1042	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:31	1042	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:31	1042	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:31	1042	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:31	1042	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field published
2023-10-13	12:37:31	1042	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:31	1042	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field override
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:31	1042	[DEBUG]	Use field value for field slug
2023-10-13	12:37:31	1042	[DEBUG]	Process line 1042
2023-10-13	12:37:31	1042	[DEBUG]	Load a row
2023-10-13	12:37:31	1042	[DEBUG]	Processing item: A_5473_4
2023-10-13	12:37:31	1042	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:31	1042	[DEBUG]	Processing product tax
2023-10-13	12:37:31	1042	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:31	1042	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:31	1042	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:31	1042	[DEBUG]	Query for Product
2023-10-13	12:37:31	1042	[DEBUG]	Executed store
2023-10-13	12:37:31	1042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5473_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:31	1042	[DEBUG]	Check product language entry
2023-10-13	12:37:31	1042	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860534
2023-10-13	12:37:31	1042	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:31	1042	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5473_4' AND `virtuemart_product_id` != 1860534
2023-10-13	12:37:31	1042	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:31	1042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860534, 'A_5473_4')
2023-10-13	12:37:31	1042	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:31	1042	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-xtr-da-cn-hg901-11v-116-maillons-acier' AND `virtuemart_product_id` != 1860534
2023-10-13	12:37:31	1042	[DEBUG]	Query for ProductLang
2023-10-13	12:37:31	1042	[DEBUG]	Executed store
2023-10-13	12:37:31	1042	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.66603',`product_name`='SHIMANO Chaîne SHIMANO XTR/DA CN-HG901 11V 116 maillons / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-xtr-da-cn-hg901-11v-116-maillons-acier' WHERE `virtuemart_product_id` = '1860534'
2023-10-13	12:37:31	1042	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29960_shimano_chaîne_xtr-da_cn-hg901_11v.jpg
2023-10-13	12:37:31	1042	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:31	1042	[DEBUG]	Process image file
2023-10-13	12:37:31	1042	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:31	1042	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:31	1042	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29960_shimano_chaîne_xtr-da_cn-hg901_11v.jpg
2023-10-13	12:37:31	1042	[DEBUG]	Full name target: bcprisme/29960_shimano_chaîne_xtr-da_cn-hg901_11v.jpg
2023-10-13	12:37:32	1042	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:32	1042	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29960_shimano_chaîne_xtr-da_cn-hg901_11v.jpg'
2023-10-13	12:37:32	1042	[DEBUG]	Query for Media
2023-10-13	12:37:32	1042	[DEBUG]	Executed store
2023-10-13	12:37:32	1042	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29960_shimano_chaîne_xtr-da_cn-hg901_11v.jpg',`file_url_thumb`='bcprisme/29960_shimano_chaîne_xtr-da_cn-hg901_11v.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12548'
2023-10-13	12:37:32	1042	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:32	1042	[DEBUG]	Executed store
2023-10-13	12:37:32	1042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860534','12548','1')
2023-10-13	12:37:32	1042	[DEBUG]	Store product image relation
2023-10-13	12:37:32	1042	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:32	1042	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860534 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:32	1042	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:32	1042	[DEBUG]	Executed store
2023-10-13	12:37:32	1042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860534','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:32	1042	[DEBUG]	Checking manufacturer
2023-10-13	12:37:32	1042	[DEBUG]	Load a row
2023-10-13	12:37:32	1042	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:32	1042	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:32	1042	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:32	1042	[DEBUG]	Executed store
2023-10-13	12:37:32	1042	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:32	1042	[DEBUG]	Manufacturer exists
2023-10-13	12:37:32	1042	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:32	1042	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:32	1042	[DEBUG]	Executed store
2023-10-13	12:37:32	1042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860534','26')
2023-10-13	12:37:32	1042	[DEBUG]	Find the custom field ID
2023-10-13	12:37:32	1042	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:32	1042	[DEBUG]	No custom field ID found
2023-10-13	12:37:32	1042	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:32	1042	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:32	1042	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860534 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:32	1042	[DEBUG]	Store custom available field
2023-10-13	12:37:32	1042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860534,3,'0',1)
2023-10-13	12:37:32	1042	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:32	1042	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:32	1042	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860534 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:32	1042	[DEBUG]	Store custom available field
2023-10-13	12:37:32	1042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860534,6,'choisir la taille',3)
2023-10-13	12:37:32	1042	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:32	1042	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:32	1042	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:32	1042	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:32	1042	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860534 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:32	1042	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:32	1042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860534,8,1)
2023-10-13	12:37:32	1042	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:32	1042	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860534\":[1860534,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860534
2023-10-13	12:37:32	1042	[DEBUG]	Checking category
2023-10-13	12:37:32	1042	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:32	1042	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860534
2023-10-13	12:37:32	1042	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:32	1042	[DEBUG]	Executed store
2023-10-13	12:37:32	1042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860534','7286')
2023-10-13	12:37:32	1042	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:32	1042	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860534 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:32	1042	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:32	1042	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860534
2023-10-13	12:37:32	1043	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:32	1043	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:32	1043	[DEBUG]	Use field value for field taille
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:32	1043	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:32	1043	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:32	1043	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:32	1043	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:32	1043	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:32	1043	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:32	1043	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:32	1043	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:32	1043	[DEBUG]	Use field value for field published
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:32	1043	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field override
2023-10-13	12:37:32	1043	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:32	1043	[DEBUG]	Use field value for field slug
2023-10-13	12:37:32	1043	[DEBUG]	Process line 1043
2023-10-13	12:37:32	1043	[DEBUG]	Load a row
2023-10-13	12:37:32	1043	[DEBUG]	Processing item: 4524667910428
2023-10-13	12:37:32	1043	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:32	1043	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:32	1043	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5473_4'
2023-10-13	12:37:32	1043	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:32	1043	[DEBUG]	Processing product tax
2023-10-13	12:37:32	1043	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:32	1043	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:32	1043	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:32	1043	[DEBUG]	Query for Product
2023-10-13	12:37:32	1043	[DEBUG]	Executed store
2023-10-13	12:37:32	1043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860534','4524667910428','0','KG','M','','12','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:32	1043	[DEBUG]	No parent found
2023-10-13	12:37:32	1043	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860534 AND customfield_value = 'stockable'
2023-10-13	12:37:32	1043	[DEBUG]	Check product language entry
2023-10-13	12:37:32	1043	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860535
2023-10-13	12:37:32	1043	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:32	1043	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667910428' AND `virtuemart_product_id` != 1860535
2023-10-13	12:37:32	1043	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:32	1043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860535, '4524667910428')
2023-10-13	12:37:32	1043	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:32	1043	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-xtr-da-cn-hg901-11v-116-maillons-acier-unitaire' AND `virtuemart_product_id` != 1860535
2023-10-13	12:37:32	1043	[DEBUG]	Query for ProductLang
2023-10-13	12:37:32	1043	[DEBUG]	Executed store
2023-10-13	12:37:32	1043	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO XTR/DA CN-HG901 11V 116 maillons / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-xtr-da-cn-hg901-11v-116-maillons-acier-unitaire' WHERE `virtuemart_product_id` = '1860535'
2023-10-13	12:37:32	1043	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29960_shimano_chaîne_xtr-da_cn-hg901_11v.jpg
2023-10-13	12:37:32	1043	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:32	1043	[DEBUG]	Process image file
2023-10-13	12:37:32	1043	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:32	1043	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:32	1043	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29960_shimano_chaîne_xtr-da_cn-hg901_11v.jpg
2023-10-13	12:37:32	1043	[DEBUG]	Full name target: bcprisme/29960_shimano_chaîne_xtr-da_cn-hg901_11v.jpg
2023-10-13	12:37:33	1043	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:33	1043	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29960_shimano_chaîne_xtr-da_cn-hg901_11v.jpg'
2023-10-13	12:37:33	1043	[DEBUG]	Query for Media
2023-10-13	12:37:33	1043	[DEBUG]	Executed store
2023-10-13	12:37:33	1043	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29960_shimano_chaîne_xtr-da_cn-hg901_11v.jpg',`file_url_thumb`='bcprisme/29960_shimano_chaîne_xtr-da_cn-hg901_11v.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12548'
2023-10-13	12:37:33	1043	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:33	1043	[DEBUG]	Executed store
2023-10-13	12:37:33	1043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860535','12548','1')
2023-10-13	12:37:33	1043	[DEBUG]	Store product image relation
2023-10-13	12:37:33	1043	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:33	1043	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860535 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:33	1043	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:33	1043	[DEBUG]	Executed store
2023-10-13	12:37:33	1043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860535','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:33	1043	[DEBUG]	Checking manufacturer
2023-10-13	12:37:33	1043	[DEBUG]	Load a row
2023-10-13	12:37:33	1043	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:33	1043	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:33	1043	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:33	1043	[DEBUG]	Executed store
2023-10-13	12:37:33	1043	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:33	1043	[DEBUG]	Manufacturer exists
2023-10-13	12:37:33	1043	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:33	1043	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:33	1043	[DEBUG]	Executed store
2023-10-13	12:37:33	1043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860535','26')
2023-10-13	12:37:33	1043	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:33	1043	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:33	1043	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860535 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:33	1043	[DEBUG]	Store custom available field
2023-10-13	12:37:33	1043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860535,3,'',1)
2023-10-13	12:37:33	1043	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:33	1043	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:33	1043	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860535 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:33	1043	[DEBUG]	Store custom available field
2023-10-13	12:37:33	1043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860535,6,'Unitaire',3)
2023-10-13	12:37:33	1043	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:33	1043	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:33	1043	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860534
2023-10-13	12:37:33	1043	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:33	1043	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860534\":[1860534,8,1,\"choisir la taille\"],\"1860535\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860534
2023-10-13	12:37:33	1043	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:33	1043	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860535
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:33	1044	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field taille
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:33	1044	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:33	1044	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:33	1044	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:33	1044	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:33	1044	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:33	1044	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field published
2023-10-13	12:37:33	1044	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:33	1044	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field override
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:33	1044	[DEBUG]	Use field value for field slug
2023-10-13	12:37:33	1044	[DEBUG]	Process line 1044
2023-10-13	12:37:33	1044	[DEBUG]	Load a row
2023-10-13	12:37:33	1044	[DEBUG]	Processing item: A_5588_13
2023-10-13	12:37:33	1044	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:33	1044	[DEBUG]	Processing product tax
2023-10-13	12:37:33	1044	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:33	1044	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:33	1044	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:33	1044	[DEBUG]	Query for Product
2023-10-13	12:37:33	1044	[DEBUG]	Executed store
2023-10-13	12:37:33	1044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5588_13','0.262','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:33	1044	[DEBUG]	Check product language entry
2023-10-13	12:37:33	1044	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860536
2023-10-13	12:37:33	1044	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:33	1044	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5588_13' AND `virtuemart_product_id` != 1860536
2023-10-13	12:37:33	1044	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:33	1044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860536, 'A_5588_13')
2023-10-13	12:37:33	1044	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:33	1044	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-sram-11-vitesses-pc-1170-120-maillons-argent' AND `virtuemart_product_id` != 1860536
2023-10-13	12:37:33	1044	[DEBUG]	Query for ProductLang
2023-10-13	12:37:33	1044	[DEBUG]	Executed store
2023-10-13	12:37:33	1044	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : D3699E',`product_name`='SRAM Chaîne Sram 11 vitesses PC 1170, 120 maillons / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-sram-11-vitesses-pc-1170-120-maillons-argent' WHERE `virtuemart_product_id` = '1860536'
2023-10-13	12:37:33	1044	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30088_chaine_sram_11_vitesses_pc_1170.jpg
2023-10-13	12:37:33	1044	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:33	1044	[DEBUG]	Process image file
2023-10-13	12:37:33	1044	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:33	1044	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:33	1044	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30088_chaine_sram_11_vitesses_pc_1170.jpg
2023-10-13	12:37:33	1044	[DEBUG]	Full name target: bcprisme/30088_chaine_sram_11_vitesses_pc_1170.jpg
2023-10-13	12:37:34	1044	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:34	1044	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30088_chaine_sram_11_vitesses_pc_1170.jpg'
2023-10-13	12:37:34	1044	[DEBUG]	Query for Media
2023-10-13	12:37:34	1044	[DEBUG]	Executed store
2023-10-13	12:37:34	1044	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30088_chaine_sram_11_vitesses_pc_1170.jpg',`file_url_thumb`='bcprisme/30088_chaine_sram_11_vitesses_pc_1170.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12549'
2023-10-13	12:37:34	1044	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:34	1044	[DEBUG]	Executed store
2023-10-13	12:37:34	1044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860536','12549','1')
2023-10-13	12:37:34	1044	[DEBUG]	Store product image relation
2023-10-13	12:37:34	1044	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:34	1044	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860536 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:34	1044	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:34	1044	[DEBUG]	Executed store
2023-10-13	12:37:34	1044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860536','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:34	1044	[DEBUG]	Checking manufacturer
2023-10-13	12:37:34	1044	[DEBUG]	Load a row
2023-10-13	12:37:34	1044	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:34	1044	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:34	1044	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:34	1044	[DEBUG]	Executed store
2023-10-13	12:37:34	1044	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:34	1044	[DEBUG]	Manufacturer exists
2023-10-13	12:37:34	1044	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:37:34	1044	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:34	1044	[DEBUG]	Executed store
2023-10-13	12:37:34	1044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860536','35')
2023-10-13	12:37:34	1044	[DEBUG]	Find the custom field ID
2023-10-13	12:37:34	1044	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:34	1044	[DEBUG]	No custom field ID found
2023-10-13	12:37:34	1044	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:34	1044	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:37:34	1044	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860536 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:34	1044	[DEBUG]	Store custom available field
2023-10-13	12:37:34	1044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860536,3,'49.7613888888889',1)
2023-10-13	12:37:34	1044	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:34	1044	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:34	1044	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860536 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:34	1044	[DEBUG]	Store custom available field
2023-10-13	12:37:34	1044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860536,6,'choisir la taille',3)
2023-10-13	12:37:34	1044	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:34	1044	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:34	1044	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:34	1044	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:34	1044	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860536 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:34	1044	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:34	1044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860536,8,1)
2023-10-13	12:37:34	1044	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:34	1044	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860536\":[1860536,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860536
2023-10-13	12:37:34	1044	[DEBUG]	Checking category
2023-10-13	12:37:34	1044	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:34	1044	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860536
2023-10-13	12:37:34	1044	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:34	1044	[DEBUG]	Executed store
2023-10-13	12:37:34	1044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860536','7286')
2023-10-13	12:37:34	1044	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:34	1044	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860536 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:34	1044	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:34	1044	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860536
2023-10-13	12:37:34	1045	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:34	1045	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:34	1045	[DEBUG]	Use field value for field taille
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:34	1045	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:34	1045	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:34	1045	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:34	1045	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:34	1045	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:34	1045	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:34	1045	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:34	1045	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:34	1045	[DEBUG]	Use field value for field published
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:34	1045	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field override
2023-10-13	12:37:34	1045	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:34	1045	[DEBUG]	Use field value for field slug
2023-10-13	12:37:34	1045	[DEBUG]	Process line 1045
2023-10-13	12:37:34	1045	[DEBUG]	Load a row
2023-10-13	12:37:34	1045	[DEBUG]	Processing item: 710845775413
2023-10-13	12:37:34	1045	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:34	1045	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:34	1045	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5588_13'
2023-10-13	12:37:34	1045	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:34	1045	[DEBUG]	Processing product tax
2023-10-13	12:37:34	1045	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:34	1045	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:34	1045	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:34	1045	[DEBUG]	Query for Product
2023-10-13	12:37:34	1045	[DEBUG]	Executed store
2023-10-13	12:37:34	1045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860536','710845775413','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:34	1045	[DEBUG]	No parent found
2023-10-13	12:37:34	1045	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860536 AND customfield_value = 'stockable'
2023-10-13	12:37:34	1045	[DEBUG]	Check product language entry
2023-10-13	12:37:34	1045	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860537
2023-10-13	12:37:34	1045	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:34	1045	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845775413' AND `virtuemart_product_id` != 1860537
2023-10-13	12:37:34	1045	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:34	1045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860537, '710845775413')
2023-10-13	12:37:34	1045	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:34	1045	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-sram-11-vitesses-pc-1170-120-maillons-argent-unitaire' AND `virtuemart_product_id` != 1860537
2023-10-13	12:37:34	1045	[DEBUG]	Query for ProductLang
2023-10-13	12:37:34	1045	[DEBUG]	Executed store
2023-10-13	12:37:34	1045	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne Sram 11 vitesses PC 1170, 120 maillons / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-sram-11-vitesses-pc-1170-120-maillons-argent-unitaire' WHERE `virtuemart_product_id` = '1860537'
2023-10-13	12:37:34	1045	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30088_chaine_sram_11_vitesses_pc_1170.jpg
2023-10-13	12:37:34	1045	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:34	1045	[DEBUG]	Process image file
2023-10-13	12:37:34	1045	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:34	1045	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:34	1045	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30088_chaine_sram_11_vitesses_pc_1170.jpg
2023-10-13	12:37:34	1045	[DEBUG]	Full name target: bcprisme/30088_chaine_sram_11_vitesses_pc_1170.jpg
2023-10-13	12:37:35	1045	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:35	1045	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30088_chaine_sram_11_vitesses_pc_1170.jpg'
2023-10-13	12:37:35	1045	[DEBUG]	Query for Media
2023-10-13	12:37:35	1045	[DEBUG]	Executed store
2023-10-13	12:37:35	1045	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30088_chaine_sram_11_vitesses_pc_1170.jpg',`file_url_thumb`='bcprisme/30088_chaine_sram_11_vitesses_pc_1170.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12549'
2023-10-13	12:37:35	1045	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:35	1045	[DEBUG]	Executed store
2023-10-13	12:37:35	1045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860537','12549','1')
2023-10-13	12:37:35	1045	[DEBUG]	Store product image relation
2023-10-13	12:37:35	1045	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:35	1045	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860537 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:35	1045	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:35	1045	[DEBUG]	Executed store
2023-10-13	12:37:35	1045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860537','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:35	1045	[DEBUG]	Checking manufacturer
2023-10-13	12:37:35	1045	[DEBUG]	Load a row
2023-10-13	12:37:35	1045	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:35	1045	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:35	1045	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:35	1045	[DEBUG]	Executed store
2023-10-13	12:37:35	1045	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:35	1045	[DEBUG]	Manufacturer exists
2023-10-13	12:37:35	1045	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:37:35	1045	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:35	1045	[DEBUG]	Executed store
2023-10-13	12:37:35	1045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860537','35')
2023-10-13	12:37:35	1045	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:35	1045	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:35	1045	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860537 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:36	1045	[DEBUG]	Store custom available field
2023-10-13	12:37:36	1045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860537,3,'',1)
2023-10-13	12:37:36	1045	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:36	1045	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:36	1045	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860537 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:36	1045	[DEBUG]	Store custom available field
2023-10-13	12:37:36	1045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860537,6,'Unitaire',3)
2023-10-13	12:37:36	1045	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:36	1045	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:36	1045	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860536
2023-10-13	12:37:36	1045	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:36	1045	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860536\":[1860536,8,1,\"choisir la taille\"],\"1860537\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860536
2023-10-13	12:37:36	1045	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:36	1045	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860537
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:36	1046	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field taille
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:36	1046	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:36	1046	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:36	1046	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:36	1046	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:36	1046	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:36	1046	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field published
2023-10-13	12:37:36	1046	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:36	1046	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field override
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:36	1046	[DEBUG]	Use field value for field slug
2023-10-13	12:37:36	1046	[DEBUG]	Process line 1046
2023-10-13	12:37:36	1046	[DEBUG]	Load a row
2023-10-13	12:37:36	1046	[DEBUG]	Processing item: A_5604_4
2023-10-13	12:37:36	1046	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:36	1046	[DEBUG]	Processing product tax
2023-10-13	12:37:36	1046	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:36	1046	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:36	1046	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:36	1046	[DEBUG]	Query for Product
2023-10-13	12:37:36	1046	[DEBUG]	Executed store
2023-10-13	12:37:36	1046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5604_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:36	1046	[DEBUG]	Check product language entry
2023-10-13	12:37:36	1046	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860538
2023-10-13	12:37:36	1046	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:36	1046	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5604_4' AND `virtuemart_product_id` != 1860538
2023-10-13	12:37:36	1046	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:36	1046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860538, 'A_5604_4')
2023-10-13	12:37:36	1046	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:36	1046	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg601-11-vitesses-116-maillons-quick-link-acier' AND `virtuemart_product_id` != 1860538
2023-10-13	12:37:36	1046	[DEBUG]	Query for ProductLang
2023-10-13	12:37:36	1046	[DEBUG]	Executed store
2023-10-13	12:37:36	1046	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.66606',`product_name`='SHIMANO Chaîne SHIMANO CN-HG601 11-vitesses  116 maillons Quick-Link / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg601-11-vitesses-116-maillons-quick-link-acier' WHERE `virtuemart_product_id` = '1860538'
2023-10-13	12:37:36	1046	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30104_shimano_chaine_cn-hg601_11-vitesses__116_maillons_quick-link.jpg
2023-10-13	12:37:36	1046	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:36	1046	[DEBUG]	Process image file
2023-10-13	12:37:36	1046	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:36	1046	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:36	1046	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30104_shimano_chaine_cn-hg601_11-vitesses__116_maillons_quick-link.jpg
2023-10-13	12:37:36	1046	[DEBUG]	Full name target: bcprisme/30104_shimano_chaine_cn-hg601_11-vitesses__116_maillons_quick-link.jpg
2023-10-13	12:37:37	1046	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:37	1046	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30104_shimano_chaine_cn-hg601_11-vitesses__116_maillons_quick-link.jpg'
2023-10-13	12:37:37	1046	[DEBUG]	Query for Media
2023-10-13	12:37:37	1046	[DEBUG]	Executed store
2023-10-13	12:37:37	1046	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30104_shimano_chaine_cn-hg601_11-vitesses__116_maillons_quick-link.jpg',`file_url_thumb`='bcprisme/30104_shimano_chaine_cn-hg601_11-vitesses__116_maillons_quick-link.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12550'
2023-10-13	12:37:37	1046	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:37	1046	[DEBUG]	Executed store
2023-10-13	12:37:37	1046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860538','12550','1')
2023-10-13	12:37:37	1046	[DEBUG]	Store product image relation
2023-10-13	12:37:37	1046	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:37	1046	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860538 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:37	1046	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:37	1046	[DEBUG]	Executed store
2023-10-13	12:37:37	1046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860538','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:37	1046	[DEBUG]	Checking manufacturer
2023-10-13	12:37:37	1046	[DEBUG]	Load a row
2023-10-13	12:37:37	1046	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:37	1046	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:37	1046	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:37	1046	[DEBUG]	Executed store
2023-10-13	12:37:37	1046	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:37	1046	[DEBUG]	Manufacturer exists
2023-10-13	12:37:37	1046	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:37	1046	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:37	1046	[DEBUG]	Executed store
2023-10-13	12:37:37	1046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860538','26')
2023-10-13	12:37:37	1046	[DEBUG]	Find the custom field ID
2023-10-13	12:37:37	1046	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:37	1046	[DEBUG]	No custom field ID found
2023-10-13	12:37:37	1046	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:37	1046	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:37	1046	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860538 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:37	1046	[DEBUG]	Store custom available field
2023-10-13	12:37:37	1046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860538,3,'0',1)
2023-10-13	12:37:37	1046	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:37	1046	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:37	1046	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860538 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:37	1046	[DEBUG]	Store custom available field
2023-10-13	12:37:37	1046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860538,6,'choisir la taille',3)
2023-10-13	12:37:37	1046	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:37	1046	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:37	1046	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:37	1046	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:37	1046	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860538 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:37	1046	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:37	1046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860538,8,1)
2023-10-13	12:37:37	1046	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:37	1046	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860538\":[1860538,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860538
2023-10-13	12:37:37	1046	[DEBUG]	Checking category
2023-10-13	12:37:37	1046	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:37	1046	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860538
2023-10-13	12:37:37	1046	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:37	1046	[DEBUG]	Executed store
2023-10-13	12:37:37	1046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860538','7286')
2023-10-13	12:37:37	1046	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:37	1046	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860538 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:37	1046	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:37	1046	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860538
2023-10-13	12:37:37	1047	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:37	1047	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:37	1047	[DEBUG]	Use field value for field taille
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:37	1047	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:37	1047	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:37	1047	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:37	1047	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:37	1047	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:37	1047	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:37	1047	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:37	1047	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:37	1047	[DEBUG]	Use field value for field published
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:37	1047	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field override
2023-10-13	12:37:37	1047	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:37	1047	[DEBUG]	Use field value for field slug
2023-10-13	12:37:37	1047	[DEBUG]	Process line 1047
2023-10-13	12:37:37	1047	[DEBUG]	Load a row
2023-10-13	12:37:37	1047	[DEBUG]	Processing item: 4524667906773
2023-10-13	12:37:37	1047	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:37	1047	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:37	1047	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5604_4'
2023-10-13	12:37:37	1047	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:37	1047	[DEBUG]	Processing product tax
2023-10-13	12:37:37	1047	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:37	1047	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:37	1047	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:37	1047	[DEBUG]	Query for Product
2023-10-13	12:37:37	1047	[DEBUG]	Executed store
2023-10-13	12:37:37	1047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860538','4524667906773','0','KG','M','','83','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:37	1047	[DEBUG]	No parent found
2023-10-13	12:37:37	1047	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860538 AND customfield_value = 'stockable'
2023-10-13	12:37:37	1047	[DEBUG]	Check product language entry
2023-10-13	12:37:37	1047	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860539
2023-10-13	12:37:37	1047	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:37	1047	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667906773' AND `virtuemart_product_id` != 1860539
2023-10-13	12:37:37	1047	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:37	1047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860539, '4524667906773')
2023-10-13	12:37:37	1047	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:37	1047	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg601-11-vitesses-116-maillons-quick-link-acier-unitaire' AND `virtuemart_product_id` != 1860539
2023-10-13	12:37:37	1047	[DEBUG]	Query for ProductLang
2023-10-13	12:37:37	1047	[DEBUG]	Executed store
2023-10-13	12:37:37	1047	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN-HG601 11-vitesses  116 maillons Quick-Link / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg601-11-vitesses-116-maillons-quick-link-acier-unitaire' WHERE `virtuemart_product_id` = '1860539'
2023-10-13	12:37:37	1047	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30104_shimano_chaine_cn-hg601_11-vitesses__116_maillons_quick-link.jpg
2023-10-13	12:37:37	1047	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:37	1047	[DEBUG]	Process image file
2023-10-13	12:37:37	1047	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:37	1047	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:37	1047	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30104_shimano_chaine_cn-hg601_11-vitesses__116_maillons_quick-link.jpg
2023-10-13	12:37:37	1047	[DEBUG]	Full name target: bcprisme/30104_shimano_chaine_cn-hg601_11-vitesses__116_maillons_quick-link.jpg
2023-10-13	12:37:38	1047	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:38	1047	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30104_shimano_chaine_cn-hg601_11-vitesses__116_maillons_quick-link.jpg'
2023-10-13	12:37:38	1047	[DEBUG]	Query for Media
2023-10-13	12:37:38	1047	[DEBUG]	Executed store
2023-10-13	12:37:38	1047	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30104_shimano_chaine_cn-hg601_11-vitesses__116_maillons_quick-link.jpg',`file_url_thumb`='bcprisme/30104_shimano_chaine_cn-hg601_11-vitesses__116_maillons_quick-link.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12550'
2023-10-13	12:37:38	1047	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:38	1047	[DEBUG]	Executed store
2023-10-13	12:37:38	1047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860539','12550','1')
2023-10-13	12:37:38	1047	[DEBUG]	Store product image relation
2023-10-13	12:37:38	1047	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:38	1047	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860539 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:38	1047	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:38	1047	[DEBUG]	Executed store
2023-10-13	12:37:38	1047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860539','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:38	1047	[DEBUG]	Checking manufacturer
2023-10-13	12:37:38	1047	[DEBUG]	Load a row
2023-10-13	12:37:38	1047	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:38	1047	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:38	1047	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:38	1047	[DEBUG]	Executed store
2023-10-13	12:37:38	1047	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:38	1047	[DEBUG]	Manufacturer exists
2023-10-13	12:37:38	1047	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:38	1047	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:38	1047	[DEBUG]	Executed store
2023-10-13	12:37:38	1047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860539','26')
2023-10-13	12:37:38	1047	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:38	1047	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:38	1047	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860539 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:38	1047	[DEBUG]	Store custom available field
2023-10-13	12:37:38	1047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860539,3,'',1)
2023-10-13	12:37:38	1047	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:38	1047	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:38	1047	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860539 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:38	1047	[DEBUG]	Store custom available field
2023-10-13	12:37:38	1047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860539,6,'Unitaire',3)
2023-10-13	12:37:38	1047	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:38	1047	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:38	1047	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860538
2023-10-13	12:37:38	1047	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:38	1047	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860538\":[1860538,8,1,\"choisir la taille\"],\"1860539\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860538
2023-10-13	12:37:38	1047	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:38	1047	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860539
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:38	1048	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field taille
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:38	1048	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:38	1048	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:38	1048	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:38	1048	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:38	1048	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:38	1048	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field published
2023-10-13	12:37:38	1048	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:38	1048	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field override
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:38	1048	[DEBUG]	Use field value for field slug
2023-10-13	12:37:38	1048	[DEBUG]	Process line 1048
2023-10-13	12:37:38	1048	[DEBUG]	Load a row
2023-10-13	12:37:38	1048	[DEBUG]	Processing item: A_5824_13
2023-10-13	12:37:38	1048	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:38	1048	[DEBUG]	Processing product tax
2023-10-13	12:37:38	1048	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:38	1048	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:38	1048	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:38	1048	[DEBUG]	Query for Product
2023-10-13	12:37:38	1048	[DEBUG]	Executed store
2023-10-13	12:37:38	1048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5824_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:38	1048	[DEBUG]	Check product language entry
2023-10-13	12:37:38	1048	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860540
2023-10-13	12:37:38	1048	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:38	1048	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5824_13' AND `virtuemart_product_id` != 1860540
2023-10-13	12:37:38	1048	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:38	1048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860540, 'A_5824_13')
2023-10-13	12:37:38	1048	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:38	1048	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-e8000-11-e-bike-138-maillons-argent' AND `virtuemart_product_id` != 1860540
2023-10-13	12:37:38	1048	[DEBUG]	Query for ProductLang
2023-10-13	12:37:38	1048	[DEBUG]	Executed store
2023-10-13	12:37:38	1048	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.71868',`product_name`='SHIMANO Chaîne SHIMANO CN_E8000-11 E-Bike 138 maillons / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-e8000-11-e-bike-138-maillons-argent' WHERE `virtuemart_product_id` = '1860540'
2023-10-13	12:37:38	1048	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30353_shimano_chaine_cn_e8000-11_e-bike_138_maillons.jpg
2023-10-13	12:37:38	1048	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:38	1048	[DEBUG]	Process image file
2023-10-13	12:37:38	1048	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:38	1048	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:38	1048	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30353_shimano_chaine_cn_e8000-11_e-bike_138_maillons.jpg
2023-10-13	12:37:38	1048	[DEBUG]	Full name target: bcprisme/30353_shimano_chaine_cn_e8000-11_e-bike_138_maillons.jpg
2023-10-13	12:37:39	1048	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:39	1048	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30353_shimano_chaine_cn_e8000-11_e-bike_138_maillons.jpg'
2023-10-13	12:37:39	1048	[DEBUG]	Query for Media
2023-10-13	12:37:39	1048	[DEBUG]	Executed store
2023-10-13	12:37:39	1048	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30353_shimano_chaine_cn_e8000-11_e-bike_138_maillons.jpg',`file_url_thumb`='bcprisme/30353_shimano_chaine_cn_e8000-11_e-bike_138_maillons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12551'
2023-10-13	12:37:39	1048	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:39	1048	[DEBUG]	Executed store
2023-10-13	12:37:39	1048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860540','12551','1')
2023-10-13	12:37:39	1048	[DEBUG]	Store product image relation
2023-10-13	12:37:39	1048	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:39	1048	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860540 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:39	1048	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:39	1048	[DEBUG]	Executed store
2023-10-13	12:37:39	1048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860540','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:39	1048	[DEBUG]	Checking manufacturer
2023-10-13	12:37:39	1048	[DEBUG]	Load a row
2023-10-13	12:37:39	1048	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:39	1048	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:39	1048	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:39	1048	[DEBUG]	Executed store
2023-10-13	12:37:39	1048	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:39	1048	[DEBUG]	Manufacturer exists
2023-10-13	12:37:39	1048	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:39	1048	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:39	1048	[DEBUG]	Executed store
2023-10-13	12:37:39	1048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860540','26')
2023-10-13	12:37:39	1048	[DEBUG]	Find the custom field ID
2023-10-13	12:37:39	1048	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:39	1048	[DEBUG]	No custom field ID found
2023-10-13	12:37:39	1048	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:39	1048	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:39	1048	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860540 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:39	1048	[DEBUG]	Store custom available field
2023-10-13	12:37:39	1048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860540,3,'0',1)
2023-10-13	12:37:39	1048	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:39	1048	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:39	1048	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860540 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:39	1048	[DEBUG]	Store custom available field
2023-10-13	12:37:39	1048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860540,6,'choisir la taille',3)
2023-10-13	12:37:39	1048	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:39	1048	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:39	1048	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:39	1048	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:39	1048	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860540 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:39	1048	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:39	1048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860540,8,1)
2023-10-13	12:37:39	1048	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:39	1048	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860540\":[1860540,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860540
2023-10-13	12:37:39	1048	[DEBUG]	Checking category
2023-10-13	12:37:39	1048	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:39	1048	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860540
2023-10-13	12:37:39	1048	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:39	1048	[DEBUG]	Executed store
2023-10-13	12:37:39	1048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860540','7286')
2023-10-13	12:37:39	1048	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:39	1048	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860540 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:39	1048	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:39	1048	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860540
2023-10-13	12:37:39	1049	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:39	1049	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:39	1049	[DEBUG]	Use field value for field taille
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:39	1049	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:39	1049	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:39	1049	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:39	1049	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:39	1049	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:39	1049	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:39	1049	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:39	1049	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:39	1049	[DEBUG]	Use field value for field published
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:39	1049	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field override
2023-10-13	12:37:39	1049	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:39	1049	[DEBUG]	Use field value for field slug
2023-10-13	12:37:39	1049	[DEBUG]	Process line 1049
2023-10-13	12:37:39	1049	[DEBUG]	Load a row
2023-10-13	12:37:39	1049	[DEBUG]	Processing item: 4524667341413
2023-10-13	12:37:39	1049	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:39	1049	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:39	1049	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5824_13'
2023-10-13	12:37:39	1049	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:39	1049	[DEBUG]	Processing product tax
2023-10-13	12:37:39	1049	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:39	1049	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:39	1049	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:39	1049	[DEBUG]	Query for Product
2023-10-13	12:37:39	1049	[DEBUG]	Executed store
2023-10-13	12:37:39	1049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860540','4524667341413','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:39	1049	[DEBUG]	No parent found
2023-10-13	12:37:39	1049	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860540 AND customfield_value = 'stockable'
2023-10-13	12:37:39	1049	[DEBUG]	Check product language entry
2023-10-13	12:37:39	1049	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860541
2023-10-13	12:37:39	1049	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:39	1049	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667341413' AND `virtuemart_product_id` != 1860541
2023-10-13	12:37:39	1049	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:39	1049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860541, '4524667341413')
2023-10-13	12:37:39	1049	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:39	1049	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-e8000-11-e-bike-138-maillons-argent-unitaire' AND `virtuemart_product_id` != 1860541
2023-10-13	12:37:39	1049	[DEBUG]	Query for ProductLang
2023-10-13	12:37:39	1049	[DEBUG]	Executed store
2023-10-13	12:37:39	1049	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN_E8000-11 E-Bike 138 maillons / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-e8000-11-e-bike-138-maillons-argent-unitaire' WHERE `virtuemart_product_id` = '1860541'
2023-10-13	12:37:39	1049	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30353_shimano_chaine_cn_e8000-11_e-bike_138_maillons.jpg
2023-10-13	12:37:39	1049	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:39	1049	[DEBUG]	Process image file
2023-10-13	12:37:39	1049	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:39	1049	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:39	1049	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30353_shimano_chaine_cn_e8000-11_e-bike_138_maillons.jpg
2023-10-13	12:37:39	1049	[DEBUG]	Full name target: bcprisme/30353_shimano_chaine_cn_e8000-11_e-bike_138_maillons.jpg
2023-10-13	12:37:40	1049	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:40	1049	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30353_shimano_chaine_cn_e8000-11_e-bike_138_maillons.jpg'
2023-10-13	12:37:40	1049	[DEBUG]	Query for Media
2023-10-13	12:37:40	1049	[DEBUG]	Executed store
2023-10-13	12:37:40	1049	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30353_shimano_chaine_cn_e8000-11_e-bike_138_maillons.jpg',`file_url_thumb`='bcprisme/30353_shimano_chaine_cn_e8000-11_e-bike_138_maillons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12551'
2023-10-13	12:37:40	1049	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:40	1049	[DEBUG]	Executed store
2023-10-13	12:37:40	1049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860541','12551','1')
2023-10-13	12:37:40	1049	[DEBUG]	Store product image relation
2023-10-13	12:37:40	1049	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:40	1049	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860541 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:40	1049	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:40	1049	[DEBUG]	Executed store
2023-10-13	12:37:40	1049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860541','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:40	1049	[DEBUG]	Checking manufacturer
2023-10-13	12:37:40	1049	[DEBUG]	Load a row
2023-10-13	12:37:40	1049	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:40	1049	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:40	1049	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:40	1049	[DEBUG]	Executed store
2023-10-13	12:37:40	1049	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:40	1049	[DEBUG]	Manufacturer exists
2023-10-13	12:37:40	1049	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:40	1049	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:40	1049	[DEBUG]	Executed store
2023-10-13	12:37:40	1049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860541','26')
2023-10-13	12:37:40	1049	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:40	1049	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:40	1049	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860541 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:40	1049	[DEBUG]	Store custom available field
2023-10-13	12:37:40	1049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860541,3,'',1)
2023-10-13	12:37:40	1049	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:40	1049	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:40	1049	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860541 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:40	1049	[DEBUG]	Store custom available field
2023-10-13	12:37:40	1049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860541,6,'Unitaire',3)
2023-10-13	12:37:40	1049	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:40	1049	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:40	1049	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860540
2023-10-13	12:37:40	1049	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:40	1049	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860540\":[1860540,8,1,\"choisir la taille\"],\"1860541\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860540
2023-10-13	12:37:40	1049	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:40	1049	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860541
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:40	1050	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field taille
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:40	1050	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:40	1050	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:40	1050	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:40	1050	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:40	1050	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:40	1050	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field published
2023-10-13	12:37:40	1050	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:40	1050	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field override
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:40	1050	[DEBUG]	Use field value for field slug
2023-10-13	12:37:40	1050	[DEBUG]	Process line 1050
2023-10-13	12:37:40	1050	[DEBUG]	Load a row
2023-10-13	12:37:40	1050	[DEBUG]	Processing item: A_6012_13
2023-10-13	12:37:40	1050	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:40	1050	[DEBUG]	Processing product tax
2023-10-13	12:37:40	1050	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:40	1050	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:40	1050	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:40	1050	[DEBUG]	Query for Product
2023-10-13	12:37:40	1050	[DEBUG]	Executed store
2023-10-13	12:37:40	1050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6012_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:40	1050	[DEBUG]	Check product language entry
2023-10-13	12:37:40	1050	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860542
2023-10-13	12:37:40	1050	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:40	1050	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6012_13' AND `virtuemart_product_id` != 1860542
2023-10-13	12:37:40	1050	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:40	1050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860542, 'A_6012_13')
2023-10-13	12:37:40	1050	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:40	1050	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn--m9100-126-maillons-quick-link-12-vitesses-argent' AND `virtuemart_product_id` != 1860542
2023-10-13	12:37:40	1050	[DEBUG]	Query for ProductLang
2023-10-13	12:37:40	1050	[DEBUG]	Executed store
2023-10-13	12:37:40	1050	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.73146',`product_name`='SHIMANO Chaîne SHIMANO CN--M9100 126 maillons Quick-Link 12 vitesses / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn--m9100-126-maillons-quick-link-12-vitesses-argent' WHERE `virtuemart_product_id` = '1860542'
2023-10-13	12:37:40	1050	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31613_shimano_chaine_cn--m9100_126_maillons_quick-link.jpg
2023-10-13	12:37:40	1050	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:40	1050	[DEBUG]	Process image file
2023-10-13	12:37:40	1050	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:40	1050	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:40	1050	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31613_shimano_chaine_cn--m9100_126_maillons_quick-link.jpg
2023-10-13	12:37:40	1050	[DEBUG]	Full name target: bcprisme/31613_shimano_chaine_cn--m9100_126_maillons_quick-link.jpg
2023-10-13	12:37:41	1050	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:41	1050	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31613_shimano_chaine_cn--m9100_126_maillons_quick-link.jpg'
2023-10-13	12:37:41	1050	[DEBUG]	Query for Media
2023-10-13	12:37:41	1050	[DEBUG]	Executed store
2023-10-13	12:37:41	1050	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31613_shimano_chaine_cn--m9100_126_maillons_quick-link.jpg',`file_url_thumb`='bcprisme/31613_shimano_chaine_cn--m9100_126_maillons_quick-link.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12552'
2023-10-13	12:37:41	1050	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:41	1050	[DEBUG]	Executed store
2023-10-13	12:37:41	1050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860542','12552','1')
2023-10-13	12:37:41	1050	[DEBUG]	Store product image relation
2023-10-13	12:37:41	1050	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:41	1050	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860542 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:41	1050	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:41	1050	[DEBUG]	Executed store
2023-10-13	12:37:41	1050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860542','0','81.6155988857939','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:41	1050	[DEBUG]	Checking manufacturer
2023-10-13	12:37:41	1050	[DEBUG]	Load a row
2023-10-13	12:37:41	1050	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:41	1050	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:41	1050	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:41	1050	[DEBUG]	Executed store
2023-10-13	12:37:41	1050	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:41	1050	[DEBUG]	Manufacturer exists
2023-10-13	12:37:41	1050	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:41	1050	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:41	1050	[DEBUG]	Executed store
2023-10-13	12:37:41	1050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860542','26')
2023-10-13	12:37:41	1050	[DEBUG]	Find the custom field ID
2023-10-13	12:37:41	1050	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:41	1050	[DEBUG]	No custom field ID found
2023-10-13	12:37:41	1050	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:41	1050	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:41	1050	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860542 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:41	1050	[DEBUG]	Store custom available field
2023-10-13	12:37:41	1050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860542,3,'0',1)
2023-10-13	12:37:41	1050	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:41	1050	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:41	1050	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860542 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:41	1050	[DEBUG]	Store custom available field
2023-10-13	12:37:41	1050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860542,6,'choisir la taille',3)
2023-10-13	12:37:41	1050	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:41	1050	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:41	1050	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:41	1050	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:41	1050	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860542 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:41	1050	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:41	1050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860542,8,1)
2023-10-13	12:37:41	1050	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:41	1050	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860542\":[1860542,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860542
2023-10-13	12:37:41	1050	[DEBUG]	Checking category
2023-10-13	12:37:41	1050	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:41	1050	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860542
2023-10-13	12:37:41	1050	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:41	1050	[DEBUG]	Executed store
2023-10-13	12:37:41	1050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860542','7286')
2023-10-13	12:37:41	1050	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:41	1050	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860542 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:41	1050	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:41	1050	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860542
2023-10-13	12:37:41	1051	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:41	1051	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:41	1051	[DEBUG]	Use field value for field taille
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:41	1051	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:41	1051	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:41	1051	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:41	1051	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:41	1051	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:41	1051	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:41	1051	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:41	1051	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:41	1051	[DEBUG]	Use field value for field published
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:41	1051	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field override
2023-10-13	12:37:41	1051	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:41	1051	[DEBUG]	Use field value for field slug
2023-10-13	12:37:41	1051	[DEBUG]	Process line 1051
2023-10-13	12:37:41	1051	[DEBUG]	Load a row
2023-10-13	12:37:41	1051	[DEBUG]	Processing item: 4550170323134
2023-10-13	12:37:41	1051	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:41	1051	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:41	1051	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6012_13'
2023-10-13	12:37:41	1051	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:41	1051	[DEBUG]	Processing product tax
2023-10-13	12:37:41	1051	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:41	1051	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:41	1051	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:41	1051	[DEBUG]	Query for Product
2023-10-13	12:37:41	1051	[DEBUG]	Executed store
2023-10-13	12:37:41	1051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860542','4550170323134','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:41	1051	[DEBUG]	No parent found
2023-10-13	12:37:41	1051	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860542 AND customfield_value = 'stockable'
2023-10-13	12:37:41	1051	[DEBUG]	Check product language entry
2023-10-13	12:37:41	1051	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860543
2023-10-13	12:37:41	1051	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:41	1051	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170323134' AND `virtuemart_product_id` != 1860543
2023-10-13	12:37:41	1051	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:41	1051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860543, '4550170323134')
2023-10-13	12:37:41	1051	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:41	1051	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn--m9100-126-maillons-quick-link-12-vitesses-argent-unitaire' AND `virtuemart_product_id` != 1860543
2023-10-13	12:37:41	1051	[DEBUG]	Query for ProductLang
2023-10-13	12:37:41	1051	[DEBUG]	Executed store
2023-10-13	12:37:41	1051	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN--M9100 126 maillons Quick-Link 12 vitesses / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn--m9100-126-maillons-quick-link-12-vitesses-argent-unitaire' WHERE `virtuemart_product_id` = '1860543'
2023-10-13	12:37:41	1051	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31613_shimano_chaine_cn--m9100_126_maillons_quick-link.jpg
2023-10-13	12:37:41	1051	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:41	1051	[DEBUG]	Process image file
2023-10-13	12:37:41	1051	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:41	1051	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:41	1051	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31613_shimano_chaine_cn--m9100_126_maillons_quick-link.jpg
2023-10-13	12:37:41	1051	[DEBUG]	Full name target: bcprisme/31613_shimano_chaine_cn--m9100_126_maillons_quick-link.jpg
2023-10-13	12:37:42	1051	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:42	1051	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31613_shimano_chaine_cn--m9100_126_maillons_quick-link.jpg'
2023-10-13	12:37:42	1051	[DEBUG]	Query for Media
2023-10-13	12:37:42	1051	[DEBUG]	Executed store
2023-10-13	12:37:42	1051	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31613_shimano_chaine_cn--m9100_126_maillons_quick-link.jpg',`file_url_thumb`='bcprisme/31613_shimano_chaine_cn--m9100_126_maillons_quick-link.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12552'
2023-10-13	12:37:42	1051	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:42	1051	[DEBUG]	Executed store
2023-10-13	12:37:42	1051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860543','12552','1')
2023-10-13	12:37:42	1051	[DEBUG]	Store product image relation
2023-10-13	12:37:42	1051	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:42	1051	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860543 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:42	1051	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:42	1051	[DEBUG]	Executed store
2023-10-13	12:37:42	1051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860543','0','81.6155988857939','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:42	1051	[DEBUG]	Checking manufacturer
2023-10-13	12:37:42	1051	[DEBUG]	Load a row
2023-10-13	12:37:42	1051	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:42	1051	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:42	1051	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:42	1051	[DEBUG]	Executed store
2023-10-13	12:37:42	1051	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:42	1051	[DEBUG]	Manufacturer exists
2023-10-13	12:37:42	1051	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:42	1051	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:42	1051	[DEBUG]	Executed store
2023-10-13	12:37:42	1051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860543','26')
2023-10-13	12:37:42	1051	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:42	1051	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:42	1051	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860543 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:42	1051	[DEBUG]	Store custom available field
2023-10-13	12:37:42	1051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860543,3,'',1)
2023-10-13	12:37:42	1051	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:42	1051	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:42	1051	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860543 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:42	1051	[DEBUG]	Store custom available field
2023-10-13	12:37:42	1051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860543,6,'Unitaire',3)
2023-10-13	12:37:42	1051	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:42	1051	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:42	1051	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860542
2023-10-13	12:37:42	1051	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:42	1051	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860542\":[1860542,8,1,\"choisir la taille\"],\"1860543\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860542
2023-10-13	12:37:42	1051	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:42	1051	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860543
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:42	1052	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field taille
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:42	1052	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:42	1052	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:42	1052	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:42	1052	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:42	1052	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:42	1052	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field published
2023-10-13	12:37:42	1052	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:42	1052	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field override
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:42	1052	[DEBUG]	Use field value for field slug
2023-10-13	12:37:42	1052	[DEBUG]	Process line 1052
2023-10-13	12:37:42	1052	[DEBUG]	Load a row
2023-10-13	12:37:42	1052	[DEBUG]	Processing item: A_6013_13
2023-10-13	12:37:42	1052	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:42	1052	[DEBUG]	Processing product tax
2023-10-13	12:37:42	1052	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:42	1052	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:42	1052	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:42	1052	[DEBUG]	Query for Product
2023-10-13	12:37:42	1052	[DEBUG]	Executed store
2023-10-13	12:37:42	1052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6013_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:42	1052	[DEBUG]	Check product language entry
2023-10-13	12:37:42	1052	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860544
2023-10-13	12:37:42	1052	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:42	1052	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6013_13' AND `virtuemart_product_id` != 1860544
2023-10-13	12:37:42	1052	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:42	1052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860544, 'A_6013_13')
2023-10-13	12:37:42	1052	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:42	1052	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn--m9100-116-maillons-quick-link-11-vitesses-argent' AND `virtuemart_product_id` != 1860544
2023-10-13	12:37:42	1052	[DEBUG]	Query for ProductLang
2023-10-13	12:37:42	1052	[DEBUG]	Executed store
2023-10-13	12:37:42	1052	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.72597',`product_name`='SHIMANO Chaîne SHIMANO CN--M9100 116 maillons Quick-Link 11 vitesses / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn--m9100-116-maillons-quick-link-11-vitesses-argent' WHERE `virtuemart_product_id` = '1860544'
2023-10-13	12:37:42	1052	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31614_shimano_chaine_cn--m9100_116_maillons_quick-link_.jpg
2023-10-13	12:37:42	1052	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:42	1052	[DEBUG]	Process image file
2023-10-13	12:37:42	1052	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:42	1052	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:42	1052	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31614_shimano_chaine_cn--m9100_116_maillons_quick-link_.jpg
2023-10-13	12:37:42	1052	[DEBUG]	Full name target: bcprisme/31614_shimano_chaine_cn--m9100_116_maillons_quick-link_.jpg
2023-10-13	12:37:43	1052	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:43	1052	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31614_shimano_chaine_cn--m9100_116_maillons_quick-link_.jpg'
2023-10-13	12:37:43	1052	[DEBUG]	Query for Media
2023-10-13	12:37:43	1052	[DEBUG]	Executed store
2023-10-13	12:37:43	1052	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31614_shimano_chaine_cn--m9100_116_maillons_quick-link_.jpg',`file_url_thumb`='bcprisme/31614_shimano_chaine_cn--m9100_116_maillons_quick-link_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12553'
2023-10-13	12:37:43	1052	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:43	1052	[DEBUG]	Executed store
2023-10-13	12:37:43	1052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860544','12553','1')
2023-10-13	12:37:43	1052	[DEBUG]	Store product image relation
2023-10-13	12:37:43	1052	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:43	1052	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860544 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:43	1052	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:43	1052	[DEBUG]	Executed store
2023-10-13	12:37:43	1052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860544','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:43	1052	[DEBUG]	Checking manufacturer
2023-10-13	12:37:43	1052	[DEBUG]	Load a row
2023-10-13	12:37:43	1052	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:43	1052	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:43	1052	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:43	1052	[DEBUG]	Executed store
2023-10-13	12:37:43	1052	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:43	1052	[DEBUG]	Manufacturer exists
2023-10-13	12:37:43	1052	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:43	1052	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:43	1052	[DEBUG]	Executed store
2023-10-13	12:37:43	1052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860544','26')
2023-10-13	12:37:43	1052	[DEBUG]	Find the custom field ID
2023-10-13	12:37:43	1052	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:43	1052	[DEBUG]	No custom field ID found
2023-10-13	12:37:43	1052	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:43	1052	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:43	1052	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860544 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:43	1052	[DEBUG]	Store custom available field
2023-10-13	12:37:43	1052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860544,3,'0',1)
2023-10-13	12:37:43	1052	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:43	1052	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:43	1052	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860544 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:43	1052	[DEBUG]	Store custom available field
2023-10-13	12:37:43	1052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860544,6,'choisir la taille',3)
2023-10-13	12:37:43	1052	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:43	1052	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:43	1052	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:43	1052	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:43	1052	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860544 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:43	1052	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:43	1052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860544,8,1)
2023-10-13	12:37:43	1052	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:43	1052	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860544\":[1860544,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860544
2023-10-13	12:37:43	1052	[DEBUG]	Checking category
2023-10-13	12:37:43	1052	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:43	1052	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860544
2023-10-13	12:37:43	1052	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:43	1052	[DEBUG]	Executed store
2023-10-13	12:37:43	1052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860544','7286')
2023-10-13	12:37:43	1052	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:43	1052	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860544 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:43	1052	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:43	1052	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860544
2023-10-13	12:37:43	1053	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:43	1053	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:43	1053	[DEBUG]	Use field value for field taille
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:43	1053	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:43	1053	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:43	1053	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:43	1053	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:43	1053	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:43	1053	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:43	1053	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:43	1053	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:43	1053	[DEBUG]	Use field value for field published
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:43	1053	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field override
2023-10-13	12:37:43	1053	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:43	1053	[DEBUG]	Use field value for field slug
2023-10-13	12:37:43	1053	[DEBUG]	Process line 1053
2023-10-13	12:37:43	1053	[DEBUG]	Load a row
2023-10-13	12:37:43	1053	[DEBUG]	Processing item: 4524667879565
2023-10-13	12:37:43	1053	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:43	1053	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:43	1053	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6013_13'
2023-10-13	12:37:43	1053	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:43	1053	[DEBUG]	Processing product tax
2023-10-13	12:37:43	1053	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:43	1053	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:43	1053	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:43	1053	[DEBUG]	Query for Product
2023-10-13	12:37:43	1053	[DEBUG]	Executed store
2023-10-13	12:37:43	1053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860544','4524667879565','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:43	1053	[DEBUG]	No parent found
2023-10-13	12:37:43	1053	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860544 AND customfield_value = 'stockable'
2023-10-13	12:37:43	1053	[DEBUG]	Check product language entry
2023-10-13	12:37:43	1053	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860545
2023-10-13	12:37:43	1053	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:43	1053	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667879565' AND `virtuemart_product_id` != 1860545
2023-10-13	12:37:43	1053	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:43	1053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860545, '4524667879565')
2023-10-13	12:37:43	1053	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:43	1053	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn--m9100-116-maillons-quick-link-11-vitesses-argent-unitaire' AND `virtuemart_product_id` != 1860545
2023-10-13	12:37:43	1053	[DEBUG]	Query for ProductLang
2023-10-13	12:37:43	1053	[DEBUG]	Executed store
2023-10-13	12:37:43	1053	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN--M9100 116 maillons Quick-Link 11 vitesses / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn--m9100-116-maillons-quick-link-11-vitesses-argent-unitaire' WHERE `virtuemart_product_id` = '1860545'
2023-10-13	12:37:43	1053	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31614_shimano_chaine_cn--m9100_116_maillons_quick-link_.jpg
2023-10-13	12:37:43	1053	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:43	1053	[DEBUG]	Process image file
2023-10-13	12:37:43	1053	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:43	1053	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:43	1053	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31614_shimano_chaine_cn--m9100_116_maillons_quick-link_.jpg
2023-10-13	12:37:43	1053	[DEBUG]	Full name target: bcprisme/31614_shimano_chaine_cn--m9100_116_maillons_quick-link_.jpg
2023-10-13	12:37:44	1053	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:44	1053	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31614_shimano_chaine_cn--m9100_116_maillons_quick-link_.jpg'
2023-10-13	12:37:44	1053	[DEBUG]	Query for Media
2023-10-13	12:37:44	1053	[DEBUG]	Executed store
2023-10-13	12:37:44	1053	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31614_shimano_chaine_cn--m9100_116_maillons_quick-link_.jpg',`file_url_thumb`='bcprisme/31614_shimano_chaine_cn--m9100_116_maillons_quick-link_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12553'
2023-10-13	12:37:44	1053	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:44	1053	[DEBUG]	Executed store
2023-10-13	12:37:44	1053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860545','12553','1')
2023-10-13	12:37:44	1053	[DEBUG]	Store product image relation
2023-10-13	12:37:44	1053	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:44	1053	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860545 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:44	1053	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:44	1053	[DEBUG]	Executed store
2023-10-13	12:37:44	1053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860545','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:44	1053	[DEBUG]	Checking manufacturer
2023-10-13	12:37:44	1053	[DEBUG]	Load a row
2023-10-13	12:37:44	1053	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:44	1053	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:44	1053	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:44	1053	[DEBUG]	Executed store
2023-10-13	12:37:44	1053	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:44	1053	[DEBUG]	Manufacturer exists
2023-10-13	12:37:44	1053	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:44	1053	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:44	1053	[DEBUG]	Executed store
2023-10-13	12:37:44	1053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860545','26')
2023-10-13	12:37:44	1053	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:44	1053	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:44	1053	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860545 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:44	1053	[DEBUG]	Store custom available field
2023-10-13	12:37:44	1053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860545,3,'',1)
2023-10-13	12:37:44	1053	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:44	1053	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:44	1053	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860545 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:44	1053	[DEBUG]	Store custom available field
2023-10-13	12:37:44	1053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860545,6,'Unitaire',3)
2023-10-13	12:37:44	1053	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:44	1053	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:44	1053	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860544
2023-10-13	12:37:44	1053	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:44	1053	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860544\":[1860544,8,1,\"choisir la taille\"],\"1860545\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860544
2023-10-13	12:37:44	1053	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:44	1053	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860545
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:44	1054	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field taille
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:44	1054	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:44	1054	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:44	1054	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:44	1054	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:44	1054	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:44	1054	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field published
2023-10-13	12:37:44	1054	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:44	1054	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field override
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:44	1054	[DEBUG]	Use field value for field slug
2023-10-13	12:37:44	1054	[DEBUG]	Process line 1054
2023-10-13	12:37:44	1054	[DEBUG]	Load a row
2023-10-13	12:37:44	1054	[DEBUG]	Processing item: A_6970_13
2023-10-13	12:37:44	1054	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:44	1054	[DEBUG]	Processing product tax
2023-10-13	12:37:44	1054	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:44	1054	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:44	1054	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:44	1054	[DEBUG]	Query for Product
2023-10-13	12:37:44	1054	[DEBUG]	Executed store
2023-10-13	12:37:44	1054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6970_13','0.262','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:44	1054	[DEBUG]	Check product language entry
2023-10-13	12:37:44	1054	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860546
2023-10-13	12:37:44	1054	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:44	1054	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6970_13' AND `virtuemart_product_id` != 1860546
2023-10-13	12:37:44	1054	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:44	1054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860546, 'A_6970_13')
2023-10-13	12:37:44	1054	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:44	1054	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-fsa-11-vitesses-e-bike-argent' AND `virtuemart_product_id` != 1860546
2023-10-13	12:37:44	1054	[DEBUG]	Query for ProductLang
2023-10-13	12:37:44	1054	[DEBUG]	Executed store
2023-10-13	12:37:44	1054	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : 8836000034',`product_name`='SRAM Chaîne FSA 11 vitesses E-bike / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-fsa-11-vitesses-e-bike-argent' WHERE `virtuemart_product_id` = '1860546'
2023-10-13	12:37:44	1054	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34107_chaîne_fsa_11_vitesses_e-bike.jpg
2023-10-13	12:37:44	1054	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:44	1054	[DEBUG]	Process image file
2023-10-13	12:37:44	1054	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:44	1054	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:44	1054	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34107_chaîne_fsa_11_vitesses_e-bike.jpg
2023-10-13	12:37:44	1054	[DEBUG]	Full name target: bcprisme/34107_chaîne_fsa_11_vitesses_e-bike.jpg
2023-10-13	12:37:45	1054	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:45	1054	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34107_chaîne_fsa_11_vitesses_e-bike.jpg'
2023-10-13	12:37:45	1054	[DEBUG]	Query for Media
2023-10-13	12:37:45	1054	[DEBUG]	Executed store
2023-10-13	12:37:45	1054	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34107_chaîne_fsa_11_vitesses_e-bike.jpg',`file_url_thumb`='bcprisme/34107_chaîne_fsa_11_vitesses_e-bike.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16550'
2023-10-13	12:37:45	1054	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:45	1054	[DEBUG]	Executed store
2023-10-13	12:37:45	1054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860546','16550','1')
2023-10-13	12:37:45	1054	[DEBUG]	Store product image relation
2023-10-13	12:37:45	1054	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:45	1054	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860546 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:45	1054	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:45	1054	[DEBUG]	Executed store
2023-10-13	12:37:45	1054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860546','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:45	1054	[DEBUG]	Checking manufacturer
2023-10-13	12:37:45	1054	[DEBUG]	Load a row
2023-10-13	12:37:45	1054	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:45	1054	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:45	1054	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:45	1054	[DEBUG]	Executed store
2023-10-13	12:37:45	1054	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:45	1054	[DEBUG]	Manufacturer exists
2023-10-13	12:37:45	1054	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:37:45	1054	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:45	1054	[DEBUG]	Executed store
2023-10-13	12:37:45	1054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860546','35')
2023-10-13	12:37:45	1054	[DEBUG]	Find the custom field ID
2023-10-13	12:37:45	1054	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:45	1054	[DEBUG]	No custom field ID found
2023-10-13	12:37:45	1054	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:45	1054	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:37:45	1054	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860546 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:45	1054	[DEBUG]	Store custom available field
2023-10-13	12:37:45	1054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860546,3,'49.7613888888889',1)
2023-10-13	12:37:45	1054	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:45	1054	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:45	1054	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860546 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:45	1054	[DEBUG]	Store custom available field
2023-10-13	12:37:45	1054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860546,6,'choisir la taille',3)
2023-10-13	12:37:45	1054	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:45	1054	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:45	1054	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:45	1054	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:45	1054	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860546 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:45	1054	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:45	1054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860546,8,1)
2023-10-13	12:37:45	1054	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:45	1054	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860546\":[1860546,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860546
2023-10-13	12:37:45	1054	[DEBUG]	Checking category
2023-10-13	12:37:45	1054	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:45	1054	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860546
2023-10-13	12:37:45	1054	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:45	1054	[DEBUG]	Executed store
2023-10-13	12:37:45	1054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860546','7286')
2023-10-13	12:37:45	1054	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:45	1054	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860546 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:45	1054	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:45	1054	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860546
2023-10-13	12:37:45	1055	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:45	1055	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:45	1055	[DEBUG]	Use field value for field taille
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:45	1055	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:45	1055	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:45	1055	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:45	1055	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:45	1055	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:45	1055	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:45	1055	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:45	1055	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:45	1055	[DEBUG]	Use field value for field published
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:45	1055	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field override
2023-10-13	12:37:45	1055	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:45	1055	[DEBUG]	Use field value for field slug
2023-10-13	12:37:45	1055	[DEBUG]	Process line 1055
2023-10-13	12:37:45	1055	[DEBUG]	Load a row
2023-10-13	12:37:45	1055	[DEBUG]	Processing item: 4713170255960
2023-10-13	12:37:45	1055	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:45	1055	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:45	1055	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6970_13'
2023-10-13	12:37:45	1055	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:45	1055	[DEBUG]	Processing product tax
2023-10-13	12:37:45	1055	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:45	1055	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:45	1055	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:45	1055	[DEBUG]	Query for Product
2023-10-13	12:37:45	1055	[DEBUG]	Executed store
2023-10-13	12:37:45	1055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860546','4713170255960','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:45	1055	[DEBUG]	No parent found
2023-10-13	12:37:45	1055	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860546 AND customfield_value = 'stockable'
2023-10-13	12:37:45	1055	[DEBUG]	Check product language entry
2023-10-13	12:37:45	1055	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860547
2023-10-13	12:37:45	1055	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:45	1055	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713170255960' AND `virtuemart_product_id` != 1860547
2023-10-13	12:37:45	1055	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:45	1055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860547, '4713170255960')
2023-10-13	12:37:45	1055	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:45	1055	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-fsa-11-vitesses-e-bike-argent-unitaire' AND `virtuemart_product_id` != 1860547
2023-10-13	12:37:45	1055	[DEBUG]	Query for ProductLang
2023-10-13	12:37:45	1055	[DEBUG]	Executed store
2023-10-13	12:37:45	1055	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne FSA 11 vitesses E-bike / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-fsa-11-vitesses-e-bike-argent-unitaire' WHERE `virtuemart_product_id` = '1860547'
2023-10-13	12:37:45	1055	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34107_chaîne_fsa_11_vitesses_e-bike.jpg
2023-10-13	12:37:45	1055	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:45	1055	[DEBUG]	Process image file
2023-10-13	12:37:45	1055	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:45	1055	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:45	1055	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34107_chaîne_fsa_11_vitesses_e-bike.jpg
2023-10-13	12:37:45	1055	[DEBUG]	Full name target: bcprisme/34107_chaîne_fsa_11_vitesses_e-bike.jpg
2023-10-13	12:37:46	1055	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:46	1055	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34107_chaîne_fsa_11_vitesses_e-bike.jpg'
2023-10-13	12:37:46	1055	[DEBUG]	Query for Media
2023-10-13	12:37:46	1055	[DEBUG]	Executed store
2023-10-13	12:37:46	1055	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34107_chaîne_fsa_11_vitesses_e-bike.jpg',`file_url_thumb`='bcprisme/34107_chaîne_fsa_11_vitesses_e-bike.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16550'
2023-10-13	12:37:46	1055	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:46	1055	[DEBUG]	Executed store
2023-10-13	12:37:46	1055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860547','16550','1')
2023-10-13	12:37:46	1055	[DEBUG]	Store product image relation
2023-10-13	12:37:46	1055	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:46	1055	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860547 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:46	1055	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:46	1055	[DEBUG]	Executed store
2023-10-13	12:37:46	1055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860547','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:46	1055	[DEBUG]	Checking manufacturer
2023-10-13	12:37:46	1055	[DEBUG]	Load a row
2023-10-13	12:37:46	1055	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:46	1055	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:46	1055	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:46	1055	[DEBUG]	Executed store
2023-10-13	12:37:46	1055	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:46	1055	[DEBUG]	Manufacturer exists
2023-10-13	12:37:46	1055	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:37:46	1055	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:46	1055	[DEBUG]	Executed store
2023-10-13	12:37:46	1055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860547','35')
2023-10-13	12:37:46	1055	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:46	1055	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:46	1055	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860547 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:46	1055	[DEBUG]	Store custom available field
2023-10-13	12:37:46	1055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860547,3,'',1)
2023-10-13	12:37:46	1055	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:46	1055	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:46	1055	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860547 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:46	1055	[DEBUG]	Store custom available field
2023-10-13	12:37:46	1055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860547,6,'Unitaire',3)
2023-10-13	12:37:46	1055	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:46	1055	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:46	1055	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860546
2023-10-13	12:37:46	1055	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:46	1055	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860546\":[1860546,8,1,\"choisir la taille\"],\"1860547\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860546
2023-10-13	12:37:46	1055	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:46	1055	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860547
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:46	1056	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field taille
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:46	1056	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:46	1056	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:46	1056	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:46	1056	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:46	1056	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:46	1056	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field published
2023-10-13	12:37:46	1056	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:46	1056	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field override
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:46	1056	[DEBUG]	Use field value for field slug
2023-10-13	12:37:46	1056	[DEBUG]	Process line 1056
2023-10-13	12:37:46	1056	[DEBUG]	Load a row
2023-10-13	12:37:46	1056	[DEBUG]	Processing item: A_7033_0
2023-10-13	12:37:46	1056	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:46	1056	[DEBUG]	Processing product tax
2023-10-13	12:37:46	1056	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:46	1056	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:46	1056	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:46	1056	[DEBUG]	Query for Product
2023-10-13	12:37:46	1056	[DEBUG]	Executed store
2023-10-13	12:37:46	1056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7033_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:46	1056	[DEBUG]	Check product language entry
2023-10-13	12:37:46	1056	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860548
2023-10-13	12:37:46	1056	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:46	1056	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7033_0' AND `virtuemart_product_id` != 1860548
2023-10-13	12:37:46	1056	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:46	1056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860548, 'A_7033_0')
2023-10-13	12:37:46	1056	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:46	1056	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-e8000-11-e-bike-116-maillons-unique' AND `virtuemart_product_id` != 1860548
2023-10-13	12:37:46	1056	[DEBUG]	Query for ProductLang
2023-10-13	12:37:46	1056	[DEBUG]	Executed store
2023-10-13	12:37:46	1056	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.71869',`product_name`='SHIMANO Chaîne SHIMANO CN_E8000-11 E-Bike 116 maillons  / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-e8000-11-e-bike-116-maillons-unique' WHERE `virtuemart_product_id` = '1860548'
2023-10-13	12:37:46	1056	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34171_chaîne_shimano_cn_e8000-11_e-bike_116_maillons_.jpg
2023-10-13	12:37:46	1056	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:46	1056	[DEBUG]	Process image file
2023-10-13	12:37:46	1056	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:46	1056	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:46	1056	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34171_chaîne_shimano_cn_e8000-11_e-bike_116_maillons_.jpg
2023-10-13	12:37:46	1056	[DEBUG]	Full name target: bcprisme/34171_chaîne_shimano_cn_e8000-11_e-bike_116_maillons_.jpg
2023-10-13	12:37:47	1056	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:47	1056	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34171_chaîne_shimano_cn_e8000-11_e-bike_116_maillons_.jpg'
2023-10-13	12:37:47	1056	[DEBUG]	Query for Media
2023-10-13	12:37:47	1056	[DEBUG]	Executed store
2023-10-13	12:37:47	1056	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34171_chaîne_shimano_cn_e8000-11_e-bike_116_maillons_.jpg',`file_url_thumb`='bcprisme/34171_chaîne_shimano_cn_e8000-11_e-bike_116_maillons_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17619'
2023-10-13	12:37:47	1056	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:47	1056	[DEBUG]	Executed store
2023-10-13	12:37:47	1056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860548','17619','1')
2023-10-13	12:37:47	1056	[DEBUG]	Store product image relation
2023-10-13	12:37:47	1056	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:47	1056	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860548 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:47	1056	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:47	1056	[DEBUG]	Executed store
2023-10-13	12:37:47	1056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860548','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:47	1056	[DEBUG]	Checking manufacturer
2023-10-13	12:37:47	1056	[DEBUG]	Load a row
2023-10-13	12:37:47	1056	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:47	1056	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:47	1056	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:47	1056	[DEBUG]	Executed store
2023-10-13	12:37:47	1056	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:47	1056	[DEBUG]	Manufacturer exists
2023-10-13	12:37:47	1056	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:47	1056	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:47	1056	[DEBUG]	Executed store
2023-10-13	12:37:47	1056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860548','26')
2023-10-13	12:37:47	1056	[DEBUG]	Find the custom field ID
2023-10-13	12:37:47	1056	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:47	1056	[DEBUG]	No custom field ID found
2023-10-13	12:37:47	1056	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:47	1056	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:47	1056	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860548 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:47	1056	[DEBUG]	Store custom available field
2023-10-13	12:37:47	1056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860548,3,'0',1)
2023-10-13	12:37:47	1056	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:47	1056	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:47	1056	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860548 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:47	1056	[DEBUG]	Store custom available field
2023-10-13	12:37:47	1056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860548,6,'choisir la taille',3)
2023-10-13	12:37:47	1056	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:47	1056	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:47	1056	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:47	1056	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:47	1056	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860548 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:47	1056	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:47	1056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860548,8,1)
2023-10-13	12:37:47	1056	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:47	1056	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860548\":[1860548,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860548
2023-10-13	12:37:47	1056	[DEBUG]	Checking category
2023-10-13	12:37:47	1056	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:47	1056	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860548
2023-10-13	12:37:47	1056	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:47	1056	[DEBUG]	Executed store
2023-10-13	12:37:47	1056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860548','7286')
2023-10-13	12:37:47	1056	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:47	1056	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860548 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:47	1056	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:47	1056	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860548
2023-10-13	12:37:47	1057	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:47	1057	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:47	1057	[DEBUG]	Use field value for field taille
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:47	1057	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:47	1057	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:47	1057	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:47	1057	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:47	1057	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:47	1057	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:47	1057	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:47	1057	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:47	1057	[DEBUG]	Use field value for field published
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:47	1057	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field override
2023-10-13	12:37:47	1057	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:47	1057	[DEBUG]	Use field value for field slug
2023-10-13	12:37:47	1057	[DEBUG]	Process line 1057
2023-10-13	12:37:47	1057	[DEBUG]	Load a row
2023-10-13	12:37:47	1057	[DEBUG]	Processing item: 4524667350446
2023-10-13	12:37:47	1057	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:47	1057	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:47	1057	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7033_0'
2023-10-13	12:37:47	1057	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:47	1057	[DEBUG]	Processing product tax
2023-10-13	12:37:47	1057	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:47	1057	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:47	1057	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:47	1057	[DEBUG]	Query for Product
2023-10-13	12:37:47	1057	[DEBUG]	Executed store
2023-10-13	12:37:47	1057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860548','4524667350446','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:47	1057	[DEBUG]	No parent found
2023-10-13	12:37:47	1057	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860548 AND customfield_value = 'stockable'
2023-10-13	12:37:47	1057	[DEBUG]	Check product language entry
2023-10-13	12:37:47	1057	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860549
2023-10-13	12:37:47	1057	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:47	1057	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667350446' AND `virtuemart_product_id` != 1860549
2023-10-13	12:37:47	1057	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:47	1057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860549, '4524667350446')
2023-10-13	12:37:47	1057	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:47	1057	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-e8000-11-e-bike-116-maillons-unique-unitaire' AND `virtuemart_product_id` != 1860549
2023-10-13	12:37:47	1057	[DEBUG]	Query for ProductLang
2023-10-13	12:37:47	1057	[DEBUG]	Executed store
2023-10-13	12:37:47	1057	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN_E8000-11 E-Bike 116 maillons  / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-e8000-11-e-bike-116-maillons-unique-unitaire' WHERE `virtuemart_product_id` = '1860549'
2023-10-13	12:37:47	1057	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34171_chaîne_shimano_cn_e8000-11_e-bike_116_maillons_.jpg
2023-10-13	12:37:47	1057	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:47	1057	[DEBUG]	Process image file
2023-10-13	12:37:47	1057	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:47	1057	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:47	1057	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34171_chaîne_shimano_cn_e8000-11_e-bike_116_maillons_.jpg
2023-10-13	12:37:47	1057	[DEBUG]	Full name target: bcprisme/34171_chaîne_shimano_cn_e8000-11_e-bike_116_maillons_.jpg
2023-10-13	12:37:48	1057	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:48	1057	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34171_chaîne_shimano_cn_e8000-11_e-bike_116_maillons_.jpg'
2023-10-13	12:37:48	1057	[DEBUG]	Query for Media
2023-10-13	12:37:48	1057	[DEBUG]	Executed store
2023-10-13	12:37:48	1057	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34171_chaîne_shimano_cn_e8000-11_e-bike_116_maillons_.jpg',`file_url_thumb`='bcprisme/34171_chaîne_shimano_cn_e8000-11_e-bike_116_maillons_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17619'
2023-10-13	12:37:48	1057	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:48	1057	[DEBUG]	Executed store
2023-10-13	12:37:48	1057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860549','17619','1')
2023-10-13	12:37:48	1057	[DEBUG]	Store product image relation
2023-10-13	12:37:48	1057	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:48	1057	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860549 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:48	1057	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:48	1057	[DEBUG]	Executed store
2023-10-13	12:37:48	1057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860549','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:48	1057	[DEBUG]	Checking manufacturer
2023-10-13	12:37:48	1057	[DEBUG]	Load a row
2023-10-13	12:37:48	1057	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:48	1057	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:48	1057	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:48	1057	[DEBUG]	Executed store
2023-10-13	12:37:48	1057	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:48	1057	[DEBUG]	Manufacturer exists
2023-10-13	12:37:48	1057	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:48	1057	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:48	1057	[DEBUG]	Executed store
2023-10-13	12:37:48	1057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860549','26')
2023-10-13	12:37:48	1057	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:48	1057	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:48	1057	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860549 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:48	1057	[DEBUG]	Store custom available field
2023-10-13	12:37:48	1057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860549,3,'',1)
2023-10-13	12:37:48	1057	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:48	1057	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:48	1057	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860549 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:48	1057	[DEBUG]	Store custom available field
2023-10-13	12:37:48	1057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860549,6,'Unitaire',3)
2023-10-13	12:37:48	1057	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:48	1057	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:48	1057	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860548
2023-10-13	12:37:48	1057	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:48	1057	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860548\":[1860548,8,1,\"choisir la taille\"],\"1860549\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860548
2023-10-13	12:37:48	1057	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:48	1057	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860549
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:48	1058	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field taille
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:48	1058	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:48	1058	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:48	1058	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:48	1058	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:48	1058	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:48	1058	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field published
2023-10-13	12:37:48	1058	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:48	1058	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field override
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:48	1058	[DEBUG]	Use field value for field slug
2023-10-13	12:37:48	1058	[DEBUG]	Process line 1058
2023-10-13	12:37:48	1058	[DEBUG]	Load a row
2023-10-13	12:37:48	1058	[DEBUG]	Processing item: A_7044_4
2023-10-13	12:37:48	1058	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:48	1058	[DEBUG]	Processing product tax
2023-10-13	12:37:48	1058	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:48	1058	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:48	1058	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:48	1058	[DEBUG]	Query for Product
2023-10-13	12:37:48	1058	[DEBUG]	Executed store
2023-10-13	12:37:48	1058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7044_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:48	1058	[DEBUG]	Check product language entry
2023-10-13	12:37:48	1058	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860550
2023-10-13	12:37:48	1058	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:48	1058	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7044_4' AND `virtuemart_product_id` != 1860550
2023-10-13	12:37:48	1058	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:48	1058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860550, 'A_7044_4')
2023-10-13	12:37:48	1058	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:48	1058	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-xtr-da-cn-hg901-11v-138-maillons-acier' AND `virtuemart_product_id` != 1860550
2023-10-13	12:37:48	1058	[DEBUG]	Query for ProductLang
2023-10-13	12:37:48	1058	[DEBUG]	Executed store
2023-10-13	12:37:48	1058	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.70500',`product_name`='SHIMANO Chaîne SHIMANO XTR/DA CN-HG901 11V 138 maillons  / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-xtr-da-cn-hg901-11v-138-maillons-acier' WHERE `virtuemart_product_id` = '1860550'
2023-10-13	12:37:48	1058	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34192_chaîne_shimano_xtr-da_cn-hg901_11v_138_maillons_.jpg
2023-10-13	12:37:48	1058	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:48	1058	[DEBUG]	Process image file
2023-10-13	12:37:48	1058	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:48	1058	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:48	1058	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34192_chaîne_shimano_xtr-da_cn-hg901_11v_138_maillons_.jpg
2023-10-13	12:37:48	1058	[DEBUG]	Full name target: bcprisme/34192_chaîne_shimano_xtr-da_cn-hg901_11v_138_maillons_.jpg
2023-10-13	12:37:49	1058	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:49	1058	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34192_chaîne_shimano_xtr-da_cn-hg901_11v_138_maillons_.jpg'
2023-10-13	12:37:49	1058	[DEBUG]	Query for Media
2023-10-13	12:37:49	1058	[DEBUG]	Executed store
2023-10-13	12:37:49	1058	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34192_chaîne_shimano_xtr-da_cn-hg901_11v_138_maillons_.jpg',`file_url_thumb`='bcprisme/34192_chaîne_shimano_xtr-da_cn-hg901_11v_138_maillons_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24178'
2023-10-13	12:37:49	1058	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:49	1058	[DEBUG]	Executed store
2023-10-13	12:37:49	1058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860550','24178','1')
2023-10-13	12:37:49	1058	[DEBUG]	Store product image relation
2023-10-13	12:37:49	1058	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:49	1058	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860550 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:49	1058	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:49	1058	[DEBUG]	Executed store
2023-10-13	12:37:49	1058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860550','0','72.4233983286908','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:49	1058	[DEBUG]	Checking manufacturer
2023-10-13	12:37:49	1058	[DEBUG]	Load a row
2023-10-13	12:37:49	1058	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:49	1058	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:49	1058	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:49	1058	[DEBUG]	Executed store
2023-10-13	12:37:49	1058	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:49	1058	[DEBUG]	Manufacturer exists
2023-10-13	12:37:49	1058	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:49	1058	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:49	1058	[DEBUG]	Executed store
2023-10-13	12:37:49	1058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860550','26')
2023-10-13	12:37:49	1058	[DEBUG]	Find the custom field ID
2023-10-13	12:37:49	1058	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:49	1058	[DEBUG]	No custom field ID found
2023-10-13	12:37:49	1058	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:49	1058	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:49	1058	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860550 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:49	1058	[DEBUG]	Store custom available field
2023-10-13	12:37:49	1058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860550,3,'0',1)
2023-10-13	12:37:49	1058	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:49	1058	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:49	1058	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860550 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:49	1058	[DEBUG]	Store custom available field
2023-10-13	12:37:49	1058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860550,6,'choisir la taille',3)
2023-10-13	12:37:49	1058	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:49	1058	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:49	1058	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:49	1058	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:49	1058	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860550 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:49	1058	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:49	1058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860550,8,1)
2023-10-13	12:37:49	1058	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:49	1058	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860550\":[1860550,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860550
2023-10-13	12:37:49	1058	[DEBUG]	Checking category
2023-10-13	12:37:49	1058	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:49	1058	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860550
2023-10-13	12:37:49	1058	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:49	1058	[DEBUG]	Executed store
2023-10-13	12:37:49	1058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860550','7286')
2023-10-13	12:37:49	1058	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:49	1058	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860550 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:49	1058	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:49	1058	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860550
2023-10-13	12:37:49	1059	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:49	1059	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:49	1059	[DEBUG]	Use field value for field taille
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:49	1059	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:49	1059	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:49	1059	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:49	1059	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:49	1059	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:49	1059	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:49	1059	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:49	1059	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:49	1059	[DEBUG]	Use field value for field published
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:49	1059	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field override
2023-10-13	12:37:49	1059	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:49	1059	[DEBUG]	Use field value for field slug
2023-10-13	12:37:50	1059	[DEBUG]	Process line 1059
2023-10-13	12:37:50	1059	[DEBUG]	Load a row
2023-10-13	12:37:50	1059	[DEBUG]	Processing item: 4524667910411
2023-10-13	12:37:50	1059	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:50	1059	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:50	1059	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7044_4'
2023-10-13	12:37:50	1059	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:50	1059	[DEBUG]	Processing product tax
2023-10-13	12:37:50	1059	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:50	1059	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:50	1059	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:50	1059	[DEBUG]	Query for Product
2023-10-13	12:37:50	1059	[DEBUG]	Executed store
2023-10-13	12:37:50	1059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860550','4524667910411','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:50	1059	[DEBUG]	No parent found
2023-10-13	12:37:50	1059	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860550 AND customfield_value = 'stockable'
2023-10-13	12:37:50	1059	[DEBUG]	Check product language entry
2023-10-13	12:37:50	1059	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860551
2023-10-13	12:37:50	1059	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:50	1059	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667910411' AND `virtuemart_product_id` != 1860551
2023-10-13	12:37:50	1059	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:50	1059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860551, '4524667910411')
2023-10-13	12:37:50	1059	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:50	1059	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-xtr-da-cn-hg901-11v-138-maillons-acier-unitaire' AND `virtuemart_product_id` != 1860551
2023-10-13	12:37:50	1059	[DEBUG]	Query for ProductLang
2023-10-13	12:37:50	1059	[DEBUG]	Executed store
2023-10-13	12:37:50	1059	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO XTR/DA CN-HG901 11V 138 maillons  / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-xtr-da-cn-hg901-11v-138-maillons-acier-unitaire' WHERE `virtuemart_product_id` = '1860551'
2023-10-13	12:37:50	1059	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34192_chaîne_shimano_xtr-da_cn-hg901_11v_138_maillons_.jpg
2023-10-13	12:37:50	1059	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:50	1059	[DEBUG]	Process image file
2023-10-13	12:37:50	1059	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:50	1059	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:50	1059	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34192_chaîne_shimano_xtr-da_cn-hg901_11v_138_maillons_.jpg
2023-10-13	12:37:50	1059	[DEBUG]	Full name target: bcprisme/34192_chaîne_shimano_xtr-da_cn-hg901_11v_138_maillons_.jpg
2023-10-13	12:37:51	1059	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:51	1059	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34192_chaîne_shimano_xtr-da_cn-hg901_11v_138_maillons_.jpg'
2023-10-13	12:37:51	1059	[DEBUG]	Query for Media
2023-10-13	12:37:51	1059	[DEBUG]	Executed store
2023-10-13	12:37:51	1059	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34192_chaîne_shimano_xtr-da_cn-hg901_11v_138_maillons_.jpg',`file_url_thumb`='bcprisme/34192_chaîne_shimano_xtr-da_cn-hg901_11v_138_maillons_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24178'
2023-10-13	12:37:51	1059	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:51	1059	[DEBUG]	Executed store
2023-10-13	12:37:51	1059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860551','24178','1')
2023-10-13	12:37:51	1059	[DEBUG]	Store product image relation
2023-10-13	12:37:51	1059	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:51	1059	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860551 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:51	1059	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:51	1059	[DEBUG]	Executed store
2023-10-13	12:37:51	1059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860551','0','72.4233983286908','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:51	1059	[DEBUG]	Checking manufacturer
2023-10-13	12:37:51	1059	[DEBUG]	Load a row
2023-10-13	12:37:51	1059	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:51	1059	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:51	1059	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:51	1059	[DEBUG]	Executed store
2023-10-13	12:37:51	1059	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:51	1059	[DEBUG]	Manufacturer exists
2023-10-13	12:37:51	1059	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:51	1059	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:51	1059	[DEBUG]	Executed store
2023-10-13	12:37:51	1059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860551','26')
2023-10-13	12:37:51	1059	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:51	1059	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:51	1059	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860551 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:51	1059	[DEBUG]	Store custom available field
2023-10-13	12:37:51	1059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860551,3,'',1)
2023-10-13	12:37:51	1059	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:51	1059	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:51	1059	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860551 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:51	1059	[DEBUG]	Store custom available field
2023-10-13	12:37:51	1059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860551,6,'Unitaire',3)
2023-10-13	12:37:51	1059	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:51	1059	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:51	1059	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860550
2023-10-13	12:37:51	1059	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:51	1059	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860550\":[1860550,8,1,\"choisir la taille\"],\"1860551\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860550
2023-10-13	12:37:51	1059	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:51	1059	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860551
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:51	1060	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field taille
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:51	1060	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:51	1060	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:51	1060	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:51	1060	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:51	1060	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:51	1060	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field published
2023-10-13	12:37:51	1060	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:51	1060	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field override
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:51	1060	[DEBUG]	Use field value for field slug
2023-10-13	12:37:51	1060	[DEBUG]	Process line 1060
2023-10-13	12:37:51	1060	[DEBUG]	Load a row
2023-10-13	12:37:51	1060	[DEBUG]	Processing item: A_7045_4
2023-10-13	12:37:51	1060	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:51	1060	[DEBUG]	Processing product tax
2023-10-13	12:37:51	1060	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:51	1060	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:51	1060	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:51	1060	[DEBUG]	Query for Product
2023-10-13	12:37:51	1060	[DEBUG]	Executed store
2023-10-13	12:37:51	1060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7045_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:51	1060	[DEBUG]	Check product language entry
2023-10-13	12:37:51	1060	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860552
2023-10-13	12:37:51	1060	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:51	1060	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7045_4' AND `virtuemart_product_id` != 1860552
2023-10-13	12:37:51	1060	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:51	1060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860552, 'A_7045_4')
2023-10-13	12:37:51	1060	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:51	1060	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg701-11-vitesses-138-maillons-acier' AND `virtuemart_product_id` != 1860552
2023-10-13	12:37:51	1060	[DEBUG]	Query for ProductLang
2023-10-13	12:37:51	1060	[DEBUG]	Executed store
2023-10-13	12:37:51	1060	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.66605',`product_name`='SHIMANO Chaîne SHIMANO CN-HG701 11-vitesses 138 maillons / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg701-11-vitesses-138-maillons-acier' WHERE `virtuemart_product_id` = '1860552'
2023-10-13	12:37:51	1060	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34193_chaîne_shimano_cn-hg701_11-vitesses_138_maillons.jpg
2023-10-13	12:37:51	1060	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:51	1060	[DEBUG]	Process image file
2023-10-13	12:37:51	1060	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:51	1060	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:51	1060	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34193_chaîne_shimano_cn-hg701_11-vitesses_138_maillons.jpg
2023-10-13	12:37:51	1060	[DEBUG]	Full name target: bcprisme/34193_chaîne_shimano_cn-hg701_11-vitesses_138_maillons.jpg
2023-10-13	12:37:52	1060	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:52	1060	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34193_chaîne_shimano_cn-hg701_11-vitesses_138_maillons.jpg'
2023-10-13	12:37:52	1060	[DEBUG]	Query for Media
2023-10-13	12:37:52	1060	[DEBUG]	Executed store
2023-10-13	12:37:52	1060	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34193_chaîne_shimano_cn-hg701_11-vitesses_138_maillons.jpg',`file_url_thumb`='bcprisme/34193_chaîne_shimano_cn-hg701_11-vitesses_138_maillons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24180'
2023-10-13	12:37:52	1060	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:52	1060	[DEBUG]	Executed store
2023-10-13	12:37:52	1060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860552','24180','1')
2023-10-13	12:37:52	1060	[DEBUG]	Store product image relation
2023-10-13	12:37:52	1060	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:52	1060	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860552 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:52	1060	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:52	1060	[DEBUG]	Executed store
2023-10-13	12:37:52	1060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860552','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:52	1060	[DEBUG]	Checking manufacturer
2023-10-13	12:37:52	1060	[DEBUG]	Load a row
2023-10-13	12:37:52	1060	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:52	1060	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:52	1060	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:52	1060	[DEBUG]	Executed store
2023-10-13	12:37:52	1060	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:52	1060	[DEBUG]	Manufacturer exists
2023-10-13	12:37:52	1060	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:52	1060	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:52	1060	[DEBUG]	Executed store
2023-10-13	12:37:52	1060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860552','26')
2023-10-13	12:37:52	1060	[DEBUG]	Find the custom field ID
2023-10-13	12:37:52	1060	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:52	1060	[DEBUG]	No custom field ID found
2023-10-13	12:37:52	1060	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:52	1060	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:52	1060	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860552 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:52	1060	[DEBUG]	Store custom available field
2023-10-13	12:37:52	1060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860552,3,'0',1)
2023-10-13	12:37:52	1060	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:52	1060	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:52	1060	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860552 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:52	1060	[DEBUG]	Store custom available field
2023-10-13	12:37:52	1060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860552,6,'choisir la taille',3)
2023-10-13	12:37:52	1060	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:52	1060	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:52	1060	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:52	1060	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:52	1060	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860552 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:52	1060	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:52	1060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860552,8,1)
2023-10-13	12:37:52	1060	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:52	1060	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860552\":[1860552,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860552
2023-10-13	12:37:52	1060	[DEBUG]	Checking category
2023-10-13	12:37:52	1060	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:52	1060	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860552
2023-10-13	12:37:52	1060	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:52	1060	[DEBUG]	Executed store
2023-10-13	12:37:52	1060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860552','7286')
2023-10-13	12:37:52	1060	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:52	1060	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860552 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:52	1060	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:52	1060	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860552
2023-10-13	12:37:52	1061	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:52	1061	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:52	1061	[DEBUG]	Use field value for field taille
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:52	1061	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:52	1061	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:52	1061	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:52	1061	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:52	1061	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:52	1061	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:52	1061	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:52	1061	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:52	1061	[DEBUG]	Use field value for field published
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:52	1061	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field override
2023-10-13	12:37:52	1061	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:52	1061	[DEBUG]	Use field value for field slug
2023-10-13	12:37:52	1061	[DEBUG]	Process line 1061
2023-10-13	12:37:52	1061	[DEBUG]	Load a row
2023-10-13	12:37:52	1061	[DEBUG]	Processing item: 4524667906797
2023-10-13	12:37:52	1061	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:52	1061	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:52	1061	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7045_4'
2023-10-13	12:37:52	1061	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:52	1061	[DEBUG]	Processing product tax
2023-10-13	12:37:52	1061	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:52	1061	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:52	1061	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:52	1061	[DEBUG]	Query for Product
2023-10-13	12:37:52	1061	[DEBUG]	Executed store
2023-10-13	12:37:52	1061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860552','4524667906797','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:52	1061	[DEBUG]	No parent found
2023-10-13	12:37:52	1061	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860552 AND customfield_value = 'stockable'
2023-10-13	12:37:52	1061	[DEBUG]	Check product language entry
2023-10-13	12:37:52	1061	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860553
2023-10-13	12:37:52	1061	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:52	1061	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667906797' AND `virtuemart_product_id` != 1860553
2023-10-13	12:37:52	1061	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:52	1061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860553, '4524667906797')
2023-10-13	12:37:52	1061	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:52	1061	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg701-11-vitesses-138-maillons-acier-unitaire' AND `virtuemart_product_id` != 1860553
2023-10-13	12:37:52	1061	[DEBUG]	Query for ProductLang
2023-10-13	12:37:52	1061	[DEBUG]	Executed store
2023-10-13	12:37:52	1061	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN-HG701 11-vitesses 138 maillons / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg701-11-vitesses-138-maillons-acier-unitaire' WHERE `virtuemart_product_id` = '1860553'
2023-10-13	12:37:52	1061	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34193_chaîne_shimano_cn-hg701_11-vitesses_138_maillons.jpg
2023-10-13	12:37:52	1061	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:52	1061	[DEBUG]	Process image file
2023-10-13	12:37:52	1061	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:52	1061	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:52	1061	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34193_chaîne_shimano_cn-hg701_11-vitesses_138_maillons.jpg
2023-10-13	12:37:52	1061	[DEBUG]	Full name target: bcprisme/34193_chaîne_shimano_cn-hg701_11-vitesses_138_maillons.jpg
2023-10-13	12:37:53	1061	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:53	1061	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34193_chaîne_shimano_cn-hg701_11-vitesses_138_maillons.jpg'
2023-10-13	12:37:53	1061	[DEBUG]	Query for Media
2023-10-13	12:37:53	1061	[DEBUG]	Executed store
2023-10-13	12:37:53	1061	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34193_chaîne_shimano_cn-hg701_11-vitesses_138_maillons.jpg',`file_url_thumb`='bcprisme/34193_chaîne_shimano_cn-hg701_11-vitesses_138_maillons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24180'
2023-10-13	12:37:53	1061	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:53	1061	[DEBUG]	Executed store
2023-10-13	12:37:53	1061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860553','24180','1')
2023-10-13	12:37:53	1061	[DEBUG]	Store product image relation
2023-10-13	12:37:53	1061	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:53	1061	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860553 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:53	1061	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:53	1061	[DEBUG]	Executed store
2023-10-13	12:37:53	1061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860553','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:53	1061	[DEBUG]	Checking manufacturer
2023-10-13	12:37:53	1061	[DEBUG]	Load a row
2023-10-13	12:37:53	1061	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:53	1061	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:53	1061	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:53	1061	[DEBUG]	Executed store
2023-10-13	12:37:53	1061	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:53	1061	[DEBUG]	Manufacturer exists
2023-10-13	12:37:53	1061	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:53	1061	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:53	1061	[DEBUG]	Executed store
2023-10-13	12:37:53	1061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860553','26')
2023-10-13	12:37:53	1061	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:53	1061	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:53	1061	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860553 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:53	1061	[DEBUG]	Store custom available field
2023-10-13	12:37:53	1061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860553,3,'',1)
2023-10-13	12:37:53	1061	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:53	1061	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:53	1061	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860553 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:53	1061	[DEBUG]	Store custom available field
2023-10-13	12:37:53	1061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860553,6,'Unitaire',3)
2023-10-13	12:37:53	1061	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:53	1061	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:53	1061	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860552
2023-10-13	12:37:53	1061	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:53	1061	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860552\":[1860552,8,1,\"choisir la taille\"],\"1860553\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860552
2023-10-13	12:37:53	1061	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:53	1061	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860553
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:53	1062	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field taille
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:53	1062	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:53	1062	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:53	1062	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:53	1062	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:53	1062	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:53	1062	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field published
2023-10-13	12:37:53	1062	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:53	1062	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field override
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:53	1062	[DEBUG]	Use field value for field slug
2023-10-13	12:37:53	1062	[DEBUG]	Process line 1062
2023-10-13	12:37:53	1062	[DEBUG]	Load a row
2023-10-13	12:37:53	1062	[DEBUG]	Processing item: A_7078_4
2023-10-13	12:37:53	1062	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:53	1062	[DEBUG]	Processing product tax
2023-10-13	12:37:53	1062	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:53	1062	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:53	1062	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:53	1062	[DEBUG]	Query for Product
2023-10-13	12:37:53	1062	[DEBUG]	Executed store
2023-10-13	12:37:53	1062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7078_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:53	1062	[DEBUG]	Check product language entry
2023-10-13	12:37:53	1062	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860554
2023-10-13	12:37:53	1062	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:53	1062	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7078_4' AND `virtuemart_product_id` != 1860554
2023-10-13	12:37:53	1062	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:53	1062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860554, 'A_7078_4')
2023-10-13	12:37:53	1062	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:53	1062	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg601-11-vitesses-138-maillons-quick-link-copie-acier' AND `virtuemart_product_id` != 1860554
2023-10-13	12:37:53	1062	[DEBUG]	Query for ProductLang
2023-10-13	12:37:53	1062	[DEBUG]	Executed store
2023-10-13	12:37:53	1062	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.70499',`product_name`='SHIMANO Chaîne SHIMANO CN-HG601 11-vitesses  138 maillons Quick-Link (copie) / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg601-11-vitesses-138-maillons-quick-link-copie-acier' WHERE `virtuemart_product_id` = '1860554'
2023-10-13	12:37:53	1062	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_60463_002.jpg
2023-10-13	12:37:53	1062	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:53	1062	[DEBUG]	Process image file
2023-10-13	12:37:53	1062	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:53	1062	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:53	1062	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_60463_002.jpg
2023-10-13	12:37:53	1062	[DEBUG]	Full name target: bcprisme/68_60463_002.jpg
2023-10-13	12:37:54	1062	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:54	1062	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_60463_002.jpg'
2023-10-13	12:37:54	1062	[DEBUG]	Query for Media
2023-10-13	12:37:54	1062	[DEBUG]	Executed store
2023-10-13	12:37:54	1062	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_60463_002.jpg',`file_url_thumb`='bcprisme/68_60463_002.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '214438'
2023-10-13	12:37:54	1062	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:54	1062	[DEBUG]	Executed store
2023-10-13	12:37:54	1062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860554','214438','1')
2023-10-13	12:37:54	1062	[DEBUG]	Store product image relation
2023-10-13	12:37:54	1062	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:54	1062	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860554 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:54	1062	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:54	1062	[DEBUG]	Executed store
2023-10-13	12:37:54	1062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860554','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:54	1062	[DEBUG]	Checking manufacturer
2023-10-13	12:37:54	1062	[DEBUG]	Load a row
2023-10-13	12:37:54	1062	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:54	1062	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:54	1062	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:54	1062	[DEBUG]	Executed store
2023-10-13	12:37:54	1062	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:54	1062	[DEBUG]	Manufacturer exists
2023-10-13	12:37:54	1062	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:54	1062	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:54	1062	[DEBUG]	Executed store
2023-10-13	12:37:54	1062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860554','26')
2023-10-13	12:37:54	1062	[DEBUG]	Find the custom field ID
2023-10-13	12:37:54	1062	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:54	1062	[DEBUG]	No custom field ID found
2023-10-13	12:37:54	1062	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:54	1062	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:54	1062	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860554 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:54	1062	[DEBUG]	Store custom available field
2023-10-13	12:37:54	1062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860554,3,'0',1)
2023-10-13	12:37:54	1062	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:54	1062	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:54	1062	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860554 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:54	1062	[DEBUG]	Store custom available field
2023-10-13	12:37:54	1062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860554,6,'choisir la taille',3)
2023-10-13	12:37:54	1062	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:54	1062	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:54	1062	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:54	1062	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:54	1062	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860554 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:54	1062	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:54	1062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860554,8,1)
2023-10-13	12:37:54	1062	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:54	1062	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860554\":[1860554,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860554
2023-10-13	12:37:54	1062	[DEBUG]	Checking category
2023-10-13	12:37:54	1062	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:54	1062	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860554
2023-10-13	12:37:54	1062	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:54	1062	[DEBUG]	Executed store
2023-10-13	12:37:54	1062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860554','7286')
2023-10-13	12:37:54	1062	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:54	1062	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860554 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:54	1062	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:54	1062	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860554
2023-10-13	12:37:54	1063	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:54	1063	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:54	1063	[DEBUG]	Use field value for field taille
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:54	1063	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:54	1063	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:54	1063	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:54	1063	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:54	1063	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:54	1063	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:54	1063	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:54	1063	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:54	1063	[DEBUG]	Use field value for field published
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:54	1063	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field override
2023-10-13	12:37:54	1063	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:54	1063	[DEBUG]	Use field value for field slug
2023-10-13	12:37:54	1063	[DEBUG]	Process line 1063
2023-10-13	12:37:54	1063	[DEBUG]	Load a row
2023-10-13	12:37:54	1063	[DEBUG]	Processing item: 4524667906780
2023-10-13	12:37:54	1063	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:54	1063	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:54	1063	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7078_4'
2023-10-13	12:37:54	1063	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:54	1063	[DEBUG]	Processing product tax
2023-10-13	12:37:54	1063	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:54	1063	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:54	1063	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:54	1063	[DEBUG]	Query for Product
2023-10-13	12:37:54	1063	[DEBUG]	Executed store
2023-10-13	12:37:54	1063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860554','4524667906780','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:54	1063	[DEBUG]	No parent found
2023-10-13	12:37:54	1063	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860554 AND customfield_value = 'stockable'
2023-10-13	12:37:54	1063	[DEBUG]	Check product language entry
2023-10-13	12:37:54	1063	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860555
2023-10-13	12:37:54	1063	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:54	1063	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667906780' AND `virtuemart_product_id` != 1860555
2023-10-13	12:37:54	1063	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:54	1063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860555, '4524667906780')
2023-10-13	12:37:54	1063	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:54	1063	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg601-11-vitesses-138-maillons-quick-link-copie-acier-unitaire' AND `virtuemart_product_id` != 1860555
2023-10-13	12:37:54	1063	[DEBUG]	Query for ProductLang
2023-10-13	12:37:54	1063	[DEBUG]	Executed store
2023-10-13	12:37:54	1063	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN-HG601 11-vitesses  138 maillons Quick-Link (copie) / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg601-11-vitesses-138-maillons-quick-link-copie-acier-unitaire' WHERE `virtuemart_product_id` = '1860555'
2023-10-13	12:37:54	1063	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_60463_002.jpg
2023-10-13	12:37:54	1063	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:54	1063	[DEBUG]	Process image file
2023-10-13	12:37:54	1063	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:37:54	1063	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:54	1063	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_60463_002.jpg
2023-10-13	12:37:54	1063	[DEBUG]	Full name target: bcprisme/68_60463_002.jpg
2023-10-13	12:37:55	1063	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:55	1063	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_60463_002.jpg'
2023-10-13	12:37:55	1063	[DEBUG]	Query for Media
2023-10-13	12:37:55	1063	[DEBUG]	Executed store
2023-10-13	12:37:55	1063	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_60463_002.jpg',`file_url_thumb`='bcprisme/68_60463_002.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '214438'
2023-10-13	12:37:55	1063	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:55	1063	[DEBUG]	Executed store
2023-10-13	12:37:55	1063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860555','214438','1')
2023-10-13	12:37:55	1063	[DEBUG]	Store product image relation
2023-10-13	12:37:55	1063	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:55	1063	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860555 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:55	1063	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:55	1063	[DEBUG]	Executed store
2023-10-13	12:37:55	1063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860555','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:55	1063	[DEBUG]	Checking manufacturer
2023-10-13	12:37:55	1063	[DEBUG]	Load a row
2023-10-13	12:37:55	1063	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:55	1063	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:55	1063	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:55	1063	[DEBUG]	Executed store
2023-10-13	12:37:55	1063	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:37:55	1063	[DEBUG]	Manufacturer exists
2023-10-13	12:37:55	1063	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:37:55	1063	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:55	1063	[DEBUG]	Executed store
2023-10-13	12:37:55	1063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860555','26')
2023-10-13	12:37:55	1063	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:55	1063	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:55	1063	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860555 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:55	1063	[DEBUG]	Store custom available field
2023-10-13	12:37:55	1063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860555,3,'',1)
2023-10-13	12:37:55	1063	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:55	1063	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:55	1063	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860555 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:55	1063	[DEBUG]	Store custom available field
2023-10-13	12:37:55	1063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860555,6,'Unitaire',3)
2023-10-13	12:37:55	1063	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:55	1063	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:55	1063	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860554
2023-10-13	12:37:55	1063	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:55	1063	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860554\":[1860554,8,1,\"choisir la taille\"],\"1860555\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860554
2023-10-13	12:37:55	1063	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:55	1063	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860555
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:55	1064	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field taille
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:55	1064	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:55	1064	[DEBUG]	Use default value for field file_url
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:55	1064	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:55	1064	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:55	1064	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:55	1064	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:55	1064	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field published
2023-10-13	12:37:55	1064	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:55	1064	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field override
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:55	1064	[DEBUG]	Use field value for field slug
2023-10-13	12:37:55	1064	[DEBUG]	Process line 1064
2023-10-13	12:37:55	1064	[DEBUG]	Load a row
2023-10-13	12:37:55	1064	[DEBUG]	Processing item: A_7278_4
2023-10-13	12:37:55	1064	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:55	1064	[DEBUG]	Processing product tax
2023-10-13	12:37:55	1064	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:55	1064	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:55	1064	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:55	1064	[DEBUG]	Query for Product
2023-10-13	12:37:55	1064	[DEBUG]	Executed store
2023-10-13	12:37:55	1064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7278_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:55	1064	[DEBUG]	Check product language entry
2023-10-13	12:37:55	1064	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860556
2023-10-13	12:37:55	1064	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:55	1064	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7278_4' AND `virtuemart_product_id` != 1860556
2023-10-13	12:37:55	1064	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:55	1064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860556, 'A_7278_4')
2023-10-13	12:37:55	1064	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:55	1064	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'kmc-chaine-11-1-2-x-11-128-acier' AND `virtuemart_product_id` != 1860556
2023-10-13	12:37:55	1064	[DEBUG]	Query for ProductLang
2023-10-13	12:37:55	1064	[DEBUG]	Executed store
2023-10-13	12:37:55	1064	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 142058',`product_name`='KMC Chaîne 11 1/2 X 11/128  / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='kmc-chaine-11-1-2-x-11-128-acier' WHERE `virtuemart_product_id` = '1860556'
2023-10-13	12:37:55	1064	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:55	1064	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860556 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:55	1064	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:55	1064	[DEBUG]	Executed store
2023-10-13	12:37:55	1064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860556','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:55	1064	[DEBUG]	Checking manufacturer
2023-10-13	12:37:55	1064	[DEBUG]	Load a row
2023-10-13	12:37:55	1064	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:55	1064	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '231'
2023-10-13	12:37:55	1064	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:55	1064	[DEBUG]	Executed store
2023-10-13	12:37:55	1064	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='201',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='201' WHERE `virtuemart_manufacturer_id` = '231'
2023-10-13	12:37:55	1064	[DEBUG]	Manufacturer exists
2023-10-13	12:37:55	1064	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 231
2023-10-13	12:37:55	1064	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:55	1064	[DEBUG]	Executed store
2023-10-13	12:37:55	1064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860556','231')
2023-10-13	12:37:55	1064	[DEBUG]	Find the custom field ID
2023-10-13	12:37:55	1064	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:55	1064	[DEBUG]	No custom field ID found
2023-10-13	12:37:55	1064	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:55	1064	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:55	1064	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860556 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:55	1064	[DEBUG]	Store custom available field
2023-10-13	12:37:55	1064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860556,3,'0',1)
2023-10-13	12:37:55	1064	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:55	1064	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:55	1064	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860556 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:55	1064	[DEBUG]	Store custom available field
2023-10-13	12:37:55	1064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860556,6,'choisir la taille',3)
2023-10-13	12:37:55	1064	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:55	1064	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:55	1064	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:55	1064	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:55	1064	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860556 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:55	1064	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:55	1064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860556,8,1)
2023-10-13	12:37:55	1064	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:55	1064	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860556\":[1860556,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860556
2023-10-13	12:37:55	1064	[DEBUG]	Checking category
2023-10-13	12:37:55	1064	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:55	1064	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860556
2023-10-13	12:37:55	1064	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:55	1064	[DEBUG]	Executed store
2023-10-13	12:37:55	1064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860556','7286')
2023-10-13	12:37:55	1064	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:55	1064	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860556 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:55	1064	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:55	1064	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860556
2023-10-13	12:37:55	1065	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:55	1065	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:55	1065	[DEBUG]	Use field value for field taille
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:55	1065	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:55	1065	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:55	1065	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field file_url
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:55	1065	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:55	1065	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:55	1065	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:55	1065	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:55	1065	[DEBUG]	Use field value for field published
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:55	1065	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field override
2023-10-13	12:37:55	1065	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:55	1065	[DEBUG]	Use field value for field slug
2023-10-13	12:37:55	1065	[DEBUG]	Process line 1065
2023-10-13	12:37:55	1065	[DEBUG]	Load a row
2023-10-13	12:37:55	1065	[DEBUG]	Processing item: 4715575890029
2023-10-13	12:37:55	1065	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:55	1065	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:55	1065	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7278_4'
2023-10-13	12:37:55	1065	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:55	1065	[DEBUG]	Processing product tax
2023-10-13	12:37:55	1065	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:55	1065	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:55	1065	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:55	1065	[DEBUG]	Query for Product
2023-10-13	12:37:55	1065	[DEBUG]	Executed store
2023-10-13	12:37:55	1065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860556','4715575890029','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:55	1065	[DEBUG]	No parent found
2023-10-13	12:37:55	1065	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860556 AND customfield_value = 'stockable'
2023-10-13	12:37:55	1065	[DEBUG]	Check product language entry
2023-10-13	12:37:55	1065	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860557
2023-10-13	12:37:55	1065	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:55	1065	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4715575890029' AND `virtuemart_product_id` != 1860557
2023-10-13	12:37:55	1065	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:55	1065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860557, '4715575890029')
2023-10-13	12:37:55	1065	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:55	1065	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'kmc-chaine-11-1-2-x-11-128-acier-unitaire' AND `virtuemart_product_id` != 1860557
2023-10-13	12:37:55	1065	[DEBUG]	Query for ProductLang
2023-10-13	12:37:55	1065	[DEBUG]	Executed store
2023-10-13	12:37:55	1065	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KMC Chaîne 11 1/2 X 11/128  / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='kmc-chaine-11-1-2-x-11-128-acier-unitaire' WHERE `virtuemart_product_id` = '1860557'
2023-10-13	12:37:55	1065	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:55	1065	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860557 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:55	1065	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:55	1065	[DEBUG]	Executed store
2023-10-13	12:37:55	1065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860557','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:55	1065	[DEBUG]	Checking manufacturer
2023-10-13	12:37:55	1065	[DEBUG]	Load a row
2023-10-13	12:37:55	1065	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:55	1065	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '231'
2023-10-13	12:37:55	1065	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:55	1065	[DEBUG]	Executed store
2023-10-13	12:37:55	1065	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='201',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='201' WHERE `virtuemart_manufacturer_id` = '231'
2023-10-13	12:37:55	1065	[DEBUG]	Manufacturer exists
2023-10-13	12:37:55	1065	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 231
2023-10-13	12:37:55	1065	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:55	1065	[DEBUG]	Executed store
2023-10-13	12:37:55	1065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860557','231')
2023-10-13	12:37:55	1065	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:55	1065	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:55	1065	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860557 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:55	1065	[DEBUG]	Store custom available field
2023-10-13	12:37:55	1065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860557,3,'',1)
2023-10-13	12:37:55	1065	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:55	1065	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:55	1065	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860557 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:55	1065	[DEBUG]	Store custom available field
2023-10-13	12:37:55	1065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860557,6,'Unitaire',3)
2023-10-13	12:37:55	1065	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:55	1065	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:55	1065	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860556
2023-10-13	12:37:55	1065	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:55	1065	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860556\":[1860556,8,1,\"choisir la taille\"],\"1860557\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860556
2023-10-13	12:37:55	1065	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:55	1065	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860557
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:55	1066	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field taille
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:55	1066	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:55	1066	[DEBUG]	Use default value for field file_url
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:55	1066	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:55	1066	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:55	1066	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:55	1066	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:55	1066	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field published
2023-10-13	12:37:55	1066	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:55	1066	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field override
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:55	1066	[DEBUG]	Use field value for field slug
2023-10-13	12:37:55	1066	[DEBUG]	Process line 1066
2023-10-13	12:37:55	1066	[DEBUG]	Load a row
2023-10-13	12:37:55	1066	[DEBUG]	Processing item: A_7279_4
2023-10-13	12:37:55	1066	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:55	1066	[DEBUG]	Processing product tax
2023-10-13	12:37:55	1066	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:55	1066	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:55	1066	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:55	1066	[DEBUG]	Query for Product
2023-10-13	12:37:55	1066	[DEBUG]	Executed store
2023-10-13	12:37:55	1066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7279_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:55	1066	[DEBUG]	Check product language entry
2023-10-13	12:37:55	1066	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860558
2023-10-13	12:37:55	1066	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:55	1066	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7279_4' AND `virtuemart_product_id` != 1860558
2023-10-13	12:37:55	1066	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:55	1066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860558, 'A_7279_4')
2023-10-13	12:37:55	1066	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:55	1066	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'kmc-chaine-12-1-2-x-11-128-copie-acier' AND `virtuemart_product_id` != 1860558
2023-10-13	12:37:55	1066	[DEBUG]	Query for ProductLang
2023-10-13	12:37:55	1066	[DEBUG]	Executed store
2023-10-13	12:37:55	1066	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 142075',`product_name`='KMC Chaîne 12 1/2 X 11/128  (copie) / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='kmc-chaine-12-1-2-x-11-128-copie-acier' WHERE `virtuemart_product_id` = '1860558'
2023-10-13	12:37:55	1066	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:55	1066	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860558 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:55	1066	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:55	1066	[DEBUG]	Executed store
2023-10-13	12:37:55	1066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860558','0','72.330547818013','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:55	1066	[DEBUG]	Checking manufacturer
2023-10-13	12:37:55	1066	[DEBUG]	Load a row
2023-10-13	12:37:55	1066	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:55	1066	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '231'
2023-10-13	12:37:55	1066	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:55	1066	[DEBUG]	Executed store
2023-10-13	12:37:55	1066	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='201',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='201' WHERE `virtuemart_manufacturer_id` = '231'
2023-10-13	12:37:55	1066	[DEBUG]	Manufacturer exists
2023-10-13	12:37:55	1066	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 231
2023-10-13	12:37:55	1066	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:55	1066	[DEBUG]	Executed store
2023-10-13	12:37:55	1066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860558','231')
2023-10-13	12:37:55	1066	[DEBUG]	Find the custom field ID
2023-10-13	12:37:55	1066	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:55	1066	[DEBUG]	No custom field ID found
2023-10-13	12:37:55	1066	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:55	1066	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:37:55	1066	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860558 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:55	1066	[DEBUG]	Store custom available field
2023-10-13	12:37:55	1066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860558,3,'0',1)
2023-10-13	12:37:55	1066	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:55	1066	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:55	1066	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860558 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:55	1066	[DEBUG]	Store custom available field
2023-10-13	12:37:55	1066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860558,6,'choisir la taille',3)
2023-10-13	12:37:55	1066	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:55	1066	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:55	1066	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:55	1066	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:55	1066	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860558 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:55	1066	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:55	1066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860558,8,1)
2023-10-13	12:37:55	1066	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:55	1066	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860558\":[1860558,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860558
2023-10-13	12:37:55	1066	[DEBUG]	Checking category
2023-10-13	12:37:55	1066	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:55	1066	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860558
2023-10-13	12:37:55	1066	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:55	1066	[DEBUG]	Executed store
2023-10-13	12:37:55	1066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860558','7286')
2023-10-13	12:37:55	1066	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:55	1066	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860558 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:55	1066	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:55	1066	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860558
2023-10-13	12:37:55	1067	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:55	1067	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:55	1067	[DEBUG]	Use field value for field taille
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:55	1067	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:55	1067	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:55	1067	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field file_url
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:55	1067	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:55	1067	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:55	1067	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:55	1067	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:55	1067	[DEBUG]	Use field value for field published
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:55	1067	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field override
2023-10-13	12:37:55	1067	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:55	1067	[DEBUG]	Use field value for field slug
2023-10-13	12:37:55	1067	[DEBUG]	Process line 1067
2023-10-13	12:37:55	1067	[DEBUG]	Load a row
2023-10-13	12:37:55	1067	[DEBUG]	Processing item: 4715575883137
2023-10-13	12:37:55	1067	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:55	1067	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:55	1067	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7279_4'
2023-10-13	12:37:55	1067	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:55	1067	[DEBUG]	Processing product tax
2023-10-13	12:37:55	1067	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:55	1067	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:55	1067	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:55	1067	[DEBUG]	Query for Product
2023-10-13	12:37:55	1067	[DEBUG]	Executed store
2023-10-13	12:37:55	1067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860558','4715575883137','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:55	1067	[DEBUG]	No parent found
2023-10-13	12:37:55	1067	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860558 AND customfield_value = 'stockable'
2023-10-13	12:37:55	1067	[DEBUG]	Check product language entry
2023-10-13	12:37:55	1067	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860559
2023-10-13	12:37:55	1067	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:55	1067	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4715575883137' AND `virtuemart_product_id` != 1860559
2023-10-13	12:37:55	1067	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:55	1067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860559, '4715575883137')
2023-10-13	12:37:55	1067	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:55	1067	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'kmc-chaine-12-1-2-x-11-128-copie-acier-unitaire' AND `virtuemart_product_id` != 1860559
2023-10-13	12:37:55	1067	[DEBUG]	Query for ProductLang
2023-10-13	12:37:55	1067	[DEBUG]	Executed store
2023-10-13	12:37:55	1067	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KMC Chaîne 12 1/2 X 11/128  (copie) / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='kmc-chaine-12-1-2-x-11-128-copie-acier-unitaire' WHERE `virtuemart_product_id` = '1860559'
2023-10-13	12:37:55	1067	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:55	1067	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860559 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:55	1067	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:55	1067	[DEBUG]	Executed store
2023-10-13	12:37:55	1067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860559','0','72.330547818013','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:55	1067	[DEBUG]	Checking manufacturer
2023-10-13	12:37:55	1067	[DEBUG]	Load a row
2023-10-13	12:37:55	1067	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:55	1067	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '231'
2023-10-13	12:37:55	1067	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:55	1067	[DEBUG]	Executed store
2023-10-13	12:37:55	1067	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='201',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='201' WHERE `virtuemart_manufacturer_id` = '231'
2023-10-13	12:37:55	1067	[DEBUG]	Manufacturer exists
2023-10-13	12:37:55	1067	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 231
2023-10-13	12:37:55	1067	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:55	1067	[DEBUG]	Executed store
2023-10-13	12:37:55	1067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860559','231')
2023-10-13	12:37:55	1067	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:55	1067	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:55	1067	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860559 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:55	1067	[DEBUG]	Store custom available field
2023-10-13	12:37:55	1067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860559,3,'',1)
2023-10-13	12:37:55	1067	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:55	1067	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:55	1067	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860559 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:55	1067	[DEBUG]	Store custom available field
2023-10-13	12:37:55	1067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860559,6,'Unitaire',3)
2023-10-13	12:37:55	1067	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:55	1067	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:55	1067	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860558
2023-10-13	12:37:55	1067	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:55	1067	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860558\":[1860558,8,1,\"choisir la taille\"],\"1860559\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860558
2023-10-13	12:37:55	1067	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:55	1067	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860559
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:55	1068	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field taille
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:55	1068	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:55	1068	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:55	1068	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:55	1068	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:55	1068	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:55	1068	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field published
2023-10-13	12:37:55	1068	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:55	1068	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field override
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:55	1068	[DEBUG]	Use field value for field slug
2023-10-13	12:37:55	1068	[DEBUG]	Process line 1068
2023-10-13	12:37:55	1068	[DEBUG]	Load a row
2023-10-13	12:37:55	1068	[DEBUG]	Processing item: A_7826_13
2023-10-13	12:37:55	1068	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:55	1068	[DEBUG]	Processing product tax
2023-10-13	12:37:55	1068	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:55	1068	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:55	1068	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:55	1068	[DEBUG]	Query for Product
2023-10-13	12:37:55	1068	[DEBUG]	Executed store
2023-10-13	12:37:55	1068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7826_13','0.0248','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:55	1068	[DEBUG]	Check product language entry
2023-10-13	12:37:55	1068	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860560
2023-10-13	12:37:55	1068	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:55	1068	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7826_13' AND `virtuemart_product_id` != 1860560
2023-10-13	12:37:55	1068	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:55	1068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860560, 'A_7826_13')
2023-10-13	12:37:55	1068	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:55	1068	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-maillons-de-chaine-sram-11-vitesses-powerlock-argent' AND `virtuemart_product_id` != 1860560
2023-10-13	12:37:55	1068	[DEBUG]	Query for ProductLang
2023-10-13	12:37:55	1068	[DEBUG]	Executed store
2023-10-13	12:37:55	1068	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Maillons de chaîne MSC 11v. 10 sets, 24.8 gr.<br>N° art fourn : D3699A',`product_name`='SRAM Maillons de chaîne SRAM 11 vitesses PowerLock / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-maillons-de-chaine-sram-11-vitesses-powerlock-argent' WHERE `virtuemart_product_id` = '1860560'
2023-10-13	12:37:55	1068	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36211_maillons_de_chaîne_sram_11_vitesses_powerlock.jpg
2023-10-13	12:37:55	1068	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:55	1068	[DEBUG]	Process image file
2023-10-13	12:37:55	1068	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:55	1068	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:55	1068	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36211_maillons_de_chaîne_sram_11_vitesses_powerlock.jpg
2023-10-13	12:37:55	1068	[DEBUG]	Full name target: bcprisme/36211_maillons_de_chaîne_sram_11_vitesses_powerlock.jpg
2023-10-13	12:37:56	1068	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:56	1068	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36211_maillons_de_chaîne_sram_11_vitesses_powerlock.jpg'
2023-10-13	12:37:56	1068	[DEBUG]	Query for Media
2023-10-13	12:37:56	1068	[DEBUG]	Executed store
2023-10-13	12:37:56	1068	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36211_maillons_de_chaîne_sram_11_vitesses_powerlock.jpg',`file_url_thumb`='bcprisme/36211_maillons_de_chaîne_sram_11_vitesses_powerlock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '479595'
2023-10-13	12:37:56	1068	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:56	1068	[DEBUG]	Executed store
2023-10-13	12:37:56	1068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860560','479595','1')
2023-10-13	12:37:56	1068	[DEBUG]	Store product image relation
2023-10-13	12:37:56	1068	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:56	1068	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860560 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:56	1068	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:56	1068	[DEBUG]	Executed store
2023-10-13	12:37:56	1068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860560','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:56	1068	[DEBUG]	Checking manufacturer
2023-10-13	12:37:56	1068	[DEBUG]	Load a row
2023-10-13	12:37:56	1068	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:56	1068	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:56	1068	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:56	1068	[DEBUG]	Executed store
2023-10-13	12:37:56	1068	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:56	1068	[DEBUG]	Manufacturer exists
2023-10-13	12:37:56	1068	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:37:56	1068	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:56	1068	[DEBUG]	Executed store
2023-10-13	12:37:56	1068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860560','35')
2023-10-13	12:37:56	1068	[DEBUG]	Find the custom field ID
2023-10-13	12:37:56	1068	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:56	1068	[DEBUG]	No custom field ID found
2023-10-13	12:37:56	1068	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:56	1068	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:37:56	1068	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860560 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:56	1068	[DEBUG]	Store custom available field
2023-10-13	12:37:56	1068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860560,3,'49.7613888888889',1)
2023-10-13	12:37:56	1068	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:56	1068	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:56	1068	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860560 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:56	1068	[DEBUG]	Store custom available field
2023-10-13	12:37:56	1068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860560,6,'choisir la taille',3)
2023-10-13	12:37:56	1068	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:56	1068	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:56	1068	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:56	1068	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:56	1068	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860560 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:56	1068	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:56	1068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860560,8,1)
2023-10-13	12:37:56	1068	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:56	1068	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860560\":[1860560,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860560
2023-10-13	12:37:56	1068	[DEBUG]	Checking category
2023-10-13	12:37:56	1068	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:56	1068	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860560
2023-10-13	12:37:56	1068	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:56	1068	[DEBUG]	Executed store
2023-10-13	12:37:56	1068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860560','7286')
2023-10-13	12:37:56	1068	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:56	1068	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860560 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:56	1068	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:56	1068	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860560
2023-10-13	12:37:56	1069	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:56	1069	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:56	1069	[DEBUG]	Use field value for field taille
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:56	1069	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:56	1069	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:56	1069	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:56	1069	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:56	1069	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:56	1069	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:56	1069	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:56	1069	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:56	1069	[DEBUG]	Use field value for field published
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:56	1069	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field override
2023-10-13	12:37:56	1069	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:56	1069	[DEBUG]	Use field value for field slug
2023-10-13	12:37:56	1069	[DEBUG]	Process line 1069
2023-10-13	12:37:56	1069	[DEBUG]	Load a row
2023-10-13	12:37:56	1069	[DEBUG]	Processing item: 710845716683
2023-10-13	12:37:56	1069	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:56	1069	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:56	1069	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7826_13'
2023-10-13	12:37:56	1069	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:56	1069	[DEBUG]	Processing product tax
2023-10-13	12:37:56	1069	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:56	1069	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:56	1069	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:56	1069	[DEBUG]	Query for Product
2023-10-13	12:37:56	1069	[DEBUG]	Executed store
2023-10-13	12:37:56	1069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860560','710845716683','0','KG','M','','60','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:56	1069	[DEBUG]	No parent found
2023-10-13	12:37:56	1069	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860560 AND customfield_value = 'stockable'
2023-10-13	12:37:56	1069	[DEBUG]	Check product language entry
2023-10-13	12:37:56	1069	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860561
2023-10-13	12:37:56	1069	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:56	1069	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845716683' AND `virtuemart_product_id` != 1860561
2023-10-13	12:37:56	1069	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:56	1069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860561, '710845716683')
2023-10-13	12:37:56	1069	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:56	1069	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-maillons-de-chaine-sram-11-vitesses-powerlock-argent-unitaire' AND `virtuemart_product_id` != 1860561
2023-10-13	12:37:56	1069	[DEBUG]	Query for ProductLang
2023-10-13	12:37:56	1069	[DEBUG]	Executed store
2023-10-13	12:37:56	1069	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Maillons de chaîne SRAM 11 vitesses PowerLock / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-maillons-de-chaine-sram-11-vitesses-powerlock-argent-unitaire' WHERE `virtuemart_product_id` = '1860561'
2023-10-13	12:37:56	1069	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36211_maillons_de_chaîne_sram_11_vitesses_powerlock.jpg
2023-10-13	12:37:56	1069	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:56	1069	[DEBUG]	Process image file
2023-10-13	12:37:56	1069	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:56	1069	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:56	1069	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36211_maillons_de_chaîne_sram_11_vitesses_powerlock.jpg
2023-10-13	12:37:56	1069	[DEBUG]	Full name target: bcprisme/36211_maillons_de_chaîne_sram_11_vitesses_powerlock.jpg
2023-10-13	12:37:57	1069	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:57	1069	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36211_maillons_de_chaîne_sram_11_vitesses_powerlock.jpg'
2023-10-13	12:37:57	1069	[DEBUG]	Query for Media
2023-10-13	12:37:57	1069	[DEBUG]	Executed store
2023-10-13	12:37:57	1069	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36211_maillons_de_chaîne_sram_11_vitesses_powerlock.jpg',`file_url_thumb`='bcprisme/36211_maillons_de_chaîne_sram_11_vitesses_powerlock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '479595'
2023-10-13	12:37:57	1069	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:57	1069	[DEBUG]	Executed store
2023-10-13	12:37:57	1069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860561','479595','1')
2023-10-13	12:37:57	1069	[DEBUG]	Store product image relation
2023-10-13	12:37:57	1069	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:57	1069	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860561 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:57	1069	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:57	1069	[DEBUG]	Executed store
2023-10-13	12:37:57	1069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860561','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:57	1069	[DEBUG]	Checking manufacturer
2023-10-13	12:37:57	1069	[DEBUG]	Load a row
2023-10-13	12:37:57	1069	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:57	1069	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:57	1069	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:57	1069	[DEBUG]	Executed store
2023-10-13	12:37:57	1069	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:57	1069	[DEBUG]	Manufacturer exists
2023-10-13	12:37:57	1069	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:37:57	1069	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:57	1069	[DEBUG]	Executed store
2023-10-13	12:37:57	1069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860561','35')
2023-10-13	12:37:57	1069	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:57	1069	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:37:57	1069	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860561 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:57	1069	[DEBUG]	Store custom available field
2023-10-13	12:37:57	1069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860561,3,'',1)
2023-10-13	12:37:57	1069	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:57	1069	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:37:57	1069	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860561 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:57	1069	[DEBUG]	Store custom available field
2023-10-13	12:37:57	1069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860561,6,'Unitaire',3)
2023-10-13	12:37:57	1069	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:57	1069	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:37:57	1069	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860560
2023-10-13	12:37:57	1069	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:57	1069	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860560\":[1860560,8,1,\"choisir la taille\"],\"1860561\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860560
2023-10-13	12:37:57	1069	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:57	1069	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860561
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:57	1070	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field taille
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field category_path
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:57	1070	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:37:57	1070	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:57	1070	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field product_weight
2023-10-13	12:37:57	1070	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:57	1070	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:57	1070	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field published
2023-10-13	12:37:57	1070	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:57	1070	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field custom_title
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field custom_param
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field override
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field public_price
2023-10-13	12:37:57	1070	[DEBUG]	Use field value for field slug
2023-10-13	12:37:57	1070	[DEBUG]	Process line 1070
2023-10-13	12:37:57	1070	[DEBUG]	Load a row
2023-10-13	12:37:57	1070	[DEBUG]	Processing item: A_8730_13
2023-10-13	12:37:57	1070	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:57	1070	[DEBUG]	Processing product tax
2023-10-13	12:37:57	1070	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:57	1070	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:57	1070	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:57	1070	[DEBUG]	Query for Product
2023-10-13	12:37:57	1070	[DEBUG]	Executed store
2023-10-13	12:37:57	1070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8730_13','0.262','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:57	1070	[DEBUG]	Check product language entry
2023-10-13	12:37:57	1070	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860562
2023-10-13	12:37:57	1070	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:57	1070	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8730_13' AND `virtuemart_product_id` != 1860562
2023-10-13	12:37:57	1070	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:57	1070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860562, 'A_8730_13')
2023-10-13	12:37:57	1070	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:57	1070	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-sram-11-vitesses-pc-red22-114-maillons-hollowpin-powerlock-argent' AND `virtuemart_product_id` != 1860562
2023-10-13	12:37:57	1070	[DEBUG]	Query for ProductLang
2023-10-13	12:37:57	1070	[DEBUG]	Executed store
2023-10-13	12:37:57	1070	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : D3699C',`product_name`='SRAM Chaîne Sram 11 vitesses PC RED22 114 maillons HollowPin, PowerLock / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-sram-11-vitesses-pc-red22-114-maillons-hollowpin-powerlock-argent' WHERE `virtuemart_product_id` = '1860562'
2023-10-13	12:37:57	1070	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37693_chaîne_sram_11_vitesses_pc_red22_114_maillons_hollowpin,_powerlock.jpg
2023-10-13	12:37:57	1070	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:57	1070	[DEBUG]	Process image file
2023-10-13	12:37:57	1070	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:57	1070	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:57	1070	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37693_chaîne_sram_11_vitesses_pc_red22_114_maillons_hollowpin,_powerlock.jpg
2023-10-13	12:37:57	1070	[DEBUG]	Full name target: bcprisme/37693_chaîne_sram_11_vitesses_pc_red22_114_maillons_hollowpin,_powerlock.jpg
2023-10-13	12:37:58	1070	[DEBUG]	Checking if the file_url exists
2023-10-13	12:37:58	1070	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37693_chaîne_sram_11_vitesses_pc_red22_114_maillons_hollowpin,_powerlock.jpg'
2023-10-13	12:37:58	1070	[DEBUG]	Query for Media
2023-10-13	12:37:58	1070	[DEBUG]	Executed store
2023-10-13	12:37:58	1070	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37693_chaîne_sram_11_vitesses_pc_red22_114_maillons_hollowpin,_powerlock.jpg',`file_url_thumb`='bcprisme/37693_chaîne_sram_11_vitesses_pc_red22_114_maillons_hollowpin,_powerlock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1059489'
2023-10-13	12:37:58	1070	[DEBUG]	Query for ProductMedia
2023-10-13	12:37:58	1070	[DEBUG]	Executed store
2023-10-13	12:37:58	1070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860562','1059489','1')
2023-10-13	12:37:58	1070	[DEBUG]	Store product image relation
2023-10-13	12:37:58	1070	[DEBUG]	Finding a product_price_id
2023-10-13	12:37:58	1070	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860562 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:37:58	1070	[DEBUG]	Query for ProductPrice
2023-10-13	12:37:58	1070	[DEBUG]	Executed store
2023-10-13	12:37:58	1070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860562','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:37:58	1070	[DEBUG]	Checking manufacturer
2023-10-13	12:37:58	1070	[DEBUG]	Load a row
2023-10-13	12:37:58	1070	[DEBUG]	Manufacturer already exists
2023-10-13	12:37:58	1070	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:58	1070	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:37:58	1070	[DEBUG]	Executed store
2023-10-13	12:37:58	1070	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:37:58	1070	[DEBUG]	Manufacturer exists
2023-10-13	12:37:58	1070	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:37:58	1070	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:37:58	1070	[DEBUG]	Executed store
2023-10-13	12:37:58	1070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860562','35')
2023-10-13	12:37:58	1070	[DEBUG]	Find the custom field ID
2023-10-13	12:37:58	1070	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:37:58	1070	[DEBUG]	No custom field ID found
2023-10-13	12:37:58	1070	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:37:58	1070	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:37:58	1070	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860562 AND `virtuemart_custom_id` = 3
2023-10-13	12:37:58	1070	[DEBUG]	Store custom available field
2023-10-13	12:37:58	1070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860562,3,'49.7613888888889',1)
2023-10-13	12:37:58	1070	[DEBUG]	Processing custom available field: taille
2023-10-13	12:37:58	1070	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:37:58	1070	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860562 AND `virtuemart_custom_id` = 6
2023-10-13	12:37:58	1070	[DEBUG]	Store custom available field
2023-10-13	12:37:58	1070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860562,6,'choisir la taille',3)
2023-10-13	12:37:58	1070	[DEBUG]	Process multi-variant fields
2023-10-13	12:37:58	1070	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:37:58	1070	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:37:58	1070	[DEBUG]	Find the multi variant product entry
2023-10-13	12:37:58	1070	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860562 AND `virtuemart_custom_id` = 8
2023-10-13	12:37:58	1070	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:37:58	1070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860562,8,1)
2023-10-13	12:37:58	1070	[DEBUG]	Store the updated customfield_params
2023-10-13	12:37:58	1070	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860562\":[1860562,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860562
2023-10-13	12:37:58	1070	[DEBUG]	Checking category
2023-10-13	12:37:58	1070	[DEBUG]	Get the existing categories for the product
2023-10-13	12:37:58	1070	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860562
2023-10-13	12:37:58	1070	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:37:58	1070	[DEBUG]	Executed store
2023-10-13	12:37:58	1070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860562','7286')
2023-10-13	12:37:58	1070	[DEBUG]	Delete leftover product categories
2023-10-13	12:37:58	1070	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860562 AND `virtuemart_category_id` NOT IN (7286)
2023-10-13	12:37:58	1070	[DEBUG]	Update has fields after all processing
2023-10-13	12:37:58	1070	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860562
2023-10-13	12:37:58	1071	[DEBUG]	Use field value for field product_sku
2023-10-13	12:37:58	1071	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:37:58	1071	[DEBUG]	Use field value for field taille
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:37:58	1071	[DEBUG]	Use field value for field product_name
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field category_path
2023-10-13	12:37:58	1071	[DEBUG]	Use field value for field product_price
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:37:58	1071	[DEBUG]	Use field value for field product_tax
2023-10-13	12:37:58	1071	[DEBUG]	Use field value for field file_url
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field product_desc
2023-10-13	12:37:58	1071	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:37:58	1071	[DEBUG]	Use field value for field product_availability
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field product_weight
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field product_unit
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field related_products
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field product_special
2023-10-13	12:37:58	1071	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:37:58	1071	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:37:58	1071	[DEBUG]	Use field value for field published
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field metadesc
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field metakey
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field custom_title
2023-10-13	12:37:58	1071	[DEBUG]	Use field value for field custom_value
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field custom_param
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field override
2023-10-13	12:37:58	1071	[DEBUG]	Use default value for field public_price
2023-10-13	12:37:58	1071	[DEBUG]	Use field value for field slug
2023-10-13	12:37:58	1071	[DEBUG]	Process line 1071
2023-10-13	12:37:58	1071	[DEBUG]	Load a row
2023-10-13	12:37:58	1071	[DEBUG]	Processing item: 1000000162691
2023-10-13	12:37:58	1071	[DEBUG]	Looking for parent SKU
2023-10-13	12:37:58	1071	[DEBUG]	Checking product parent SKU
2023-10-13	12:37:58	1071	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8730_13'
2023-10-13	12:37:58	1071	[DEBUG]	Product tax: 7.7
2023-10-13	12:37:58	1071	[DEBUG]	Processing product tax
2023-10-13	12:37:58	1071	[DEBUG]	Check if calculation rule exists
2023-10-13	12:37:58	1071	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:37:58	1071	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:37:58	1071	[DEBUG]	Query for Product
2023-10-13	12:37:58	1071	[DEBUG]	Executed store
2023-10-13	12:37:58	1071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860562','1000000162691','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:37:58	1071	[DEBUG]	No parent found
2023-10-13	12:37:58	1071	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860562 AND customfield_value = 'stockable'
2023-10-13	12:37:58	1071	[DEBUG]	Check product language entry
2023-10-13	12:37:58	1071	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860563
2023-10-13	12:37:58	1071	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:58	1071	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000162691' AND `virtuemart_product_id` != 1860563
2023-10-13	12:37:58	1071	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:37:59	1071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860563, '1000000162691')
2023-10-13	12:37:59	1071	[DEBUG]	Check if the product slug exists
2023-10-13	12:37:59	1071	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-sram-11-vitesses-pc-red22-114-maillons-hollowpin-powerlock-argent-unitaire' AND `virtuemart_product_id` != 1860563
2023-10-13	12:37:59	1071	[DEBUG]	Query for ProductLang
2023-10-13	12:37:59	1071	[DEBUG]	Executed store
2023-10-13	12:37:59	1071	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne Sram 11 vitesses PC RED22 114 maillons HollowPin, PowerLock / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-sram-11-vitesses-pc-red22-114-maillons-hollowpin-powerlock-argent-unitaire' WHERE `virtuemart_product_id` = '1860563'
2023-10-13	12:37:59	1071	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37693_chaîne_sram_11_vitesses_pc_red22_114_maillons_hollowpin,_powerlock.jpg
2023-10-13	12:37:59	1071	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:59	1071	[DEBUG]	Process image file
2023-10-13	12:37:59	1071	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:37:59	1071	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:37:59	1071	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37693_chaîne_sram_11_vitesses_pc_red22_114_maillons_hollowpin,_powerlock.jpg
2023-10-13	12:37:59	1071	[DEBUG]	Full name target: bcprisme/37693_chaîne_sram_11_vitesses_pc_red22_114_maillons_hollowpin,_powerlock.jpg
2023-10-13	12:38:00	1071	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:00	1071	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37693_chaîne_sram_11_vitesses_pc_red22_114_maillons_hollowpin,_powerlock.jpg'
2023-10-13	12:38:00	1071	[DEBUG]	Query for Media
2023-10-13	12:38:00	1071	[DEBUG]	Executed store
2023-10-13	12:38:00	1071	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37693_chaîne_sram_11_vitesses_pc_red22_114_maillons_hollowpin,_powerlock.jpg',`file_url_thumb`='bcprisme/37693_chaîne_sram_11_vitesses_pc_red22_114_maillons_hollowpin,_powerlock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1059489'
2023-10-13	12:38:00	1071	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:00	1071	[DEBUG]	Executed store
2023-10-13	12:38:00	1071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860563','1059489','1')
2023-10-13	12:38:00	1071	[DEBUG]	Store product image relation
2023-10-13	12:38:00	1071	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:00	1071	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860563 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:00	1071	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:00	1071	[DEBUG]	Executed store
2023-10-13	12:38:00	1071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860563','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:00	1071	[DEBUG]	Checking manufacturer
2023-10-13	12:38:00	1071	[DEBUG]	Load a row
2023-10-13	12:38:00	1071	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:00	1071	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:00	1071	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:00	1071	[DEBUG]	Executed store
2023-10-13	12:38:00	1071	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:00	1071	[DEBUG]	Manufacturer exists
2023-10-13	12:38:00	1071	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:00	1071	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:00	1071	[DEBUG]	Executed store
2023-10-13	12:38:00	1071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860563','35')
2023-10-13	12:38:00	1071	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:00	1071	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:00	1071	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860563 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:00	1071	[DEBUG]	Store custom available field
2023-10-13	12:38:00	1071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860563,3,'',1)
2023-10-13	12:38:00	1071	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:00	1071	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:00	1071	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860563 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:00	1071	[DEBUG]	Store custom available field
2023-10-13	12:38:00	1071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860563,6,'Unitaire',3)
2023-10-13	12:38:00	1071	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:00	1071	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:00	1071	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860562
2023-10-13	12:38:00	1071	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:00	1071	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860562\":[1860562,8,1,\"choisir la taille\"],\"1860563\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860562
2023-10-13	12:38:00	1071	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:00	1071	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860563
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:00	1072	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field taille
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:00	1072	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:00	1072	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:00	1072	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:00	1072	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:00	1072	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:00	1072	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field published
2023-10-13	12:38:00	1072	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:00	1072	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field override
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:00	1072	[DEBUG]	Use field value for field slug
2023-10-13	12:38:00	1072	[DEBUG]	Process line 1072
2023-10-13	12:38:00	1072	[DEBUG]	Load a row
2023-10-13	12:38:00	1072	[DEBUG]	Processing item: A_4976_1
2023-10-13	12:38:00	1072	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:00	1072	[DEBUG]	Processing product tax
2023-10-13	12:38:00	1072	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:00	1072	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:00	1072	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:00	1072	[DEBUG]	Query for Product
2023-10-13	12:38:00	1072	[DEBUG]	Executed store
2023-10-13	12:38:00	1072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4976_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:00	1072	[DEBUG]	Check product language entry
2023-10-13	12:38:00	1072	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860564
2023-10-13	12:38:00	1072	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:00	1072	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4976_1' AND `virtuemart_product_id` != 1860564
2023-10-13	12:38:00	1072	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:00	1072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860564, 'A_4976_1')
2023-10-13	12:38:00	1072	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:00	1072	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-gx-eagle-126-maillons-powerlock-flowlink-12-vit-noir' AND `virtuemart_product_id` != 1860564
2023-10-13	12:38:00	1072	[DEBUG]	Query for ProductLang
2023-10-13	12:38:00	1072	[DEBUG]	Executed store
2023-10-13	12:38:00	1072	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7539P',`product_name`='SRAM Chaîne PC GX Eagle 126 Maillons PowerLock Flowlink 12-vit / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-gx-eagle-126-maillons-powerlock-flowlink-12-vit-noir' WHERE `virtuemart_product_id` = '1860564'
2023-10-13	12:38:00	1072	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29344_chaîne_pc_gx_eagle_126_maillons_powerlock_flowlink_12-vit.jpg
2023-10-13	12:38:00	1072	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:00	1072	[DEBUG]	Process image file
2023-10-13	12:38:00	1072	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:00	1072	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:00	1072	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29344_chaîne_pc_gx_eagle_126_maillons_powerlock_flowlink_12-vit.jpg
2023-10-13	12:38:00	1072	[DEBUG]	Full name target: bcprisme/29344_chaîne_pc_gx_eagle_126_maillons_powerlock_flowlink_12-vit.jpg
2023-10-13	12:38:01	1072	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:01	1072	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29344_chaîne_pc_gx_eagle_126_maillons_powerlock_flowlink_12-vit.jpg'
2023-10-13	12:38:01	1072	[DEBUG]	Query for Media
2023-10-13	12:38:01	1072	[DEBUG]	Executed store
2023-10-13	12:38:01	1072	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29344_chaîne_pc_gx_eagle_126_maillons_powerlock_flowlink_12-vit.jpg',`file_url_thumb`='bcprisme/29344_chaîne_pc_gx_eagle_126_maillons_powerlock_flowlink_12-vit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15809'
2023-10-13	12:38:01	1072	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:01	1072	[DEBUG]	Executed store
2023-10-13	12:38:01	1072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860564','15809','1')
2023-10-13	12:38:01	1072	[DEBUG]	Store product image relation
2023-10-13	12:38:01	1072	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:01	1072	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860564 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:01	1072	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:01	1072	[DEBUG]	Executed store
2023-10-13	12:38:01	1072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860564','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:01	1072	[DEBUG]	Checking manufacturer
2023-10-13	12:38:01	1072	[DEBUG]	Load a row
2023-10-13	12:38:01	1072	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:01	1072	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:01	1072	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:01	1072	[DEBUG]	Executed store
2023-10-13	12:38:01	1072	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:01	1072	[DEBUG]	Manufacturer exists
2023-10-13	12:38:01	1072	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:01	1072	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:01	1072	[DEBUG]	Executed store
2023-10-13	12:38:01	1072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860564','35')
2023-10-13	12:38:01	1072	[DEBUG]	Find the custom field ID
2023-10-13	12:38:01	1072	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:01	1072	[DEBUG]	No custom field ID found
2023-10-13	12:38:01	1072	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:01	1072	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:01	1072	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860564 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:01	1072	[DEBUG]	Store custom available field
2023-10-13	12:38:01	1072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860564,3,'0',1)
2023-10-13	12:38:01	1072	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:01	1072	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:01	1072	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860564 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:01	1072	[DEBUG]	Store custom available field
2023-10-13	12:38:01	1072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860564,6,'choisir la taille',3)
2023-10-13	12:38:01	1072	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:01	1072	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:01	1072	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:01	1072	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:01	1072	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860564 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:01	1072	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:01	1072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860564,8,1)
2023-10-13	12:38:01	1072	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:01	1072	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860564\":[1860564,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860564
2023-10-13	12:38:01	1072	[DEBUG]	Checking category
2023-10-13	12:38:01	1072	[DEBUG]	Check if category path exists: CHAINES 12 VITESSES
2023-10-13	12:38:01	1072	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAINES 12 VITESSES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7284
2023-10-13	12:38:01	1072	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:01	1072	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860564
2023-10-13	12:38:01	1072	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:01	1072	[DEBUG]	Executed store
2023-10-13	12:38:01	1072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860564','7287')
2023-10-13	12:38:01	1072	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:01	1072	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860564 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:01	1072	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:01	1072	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860564
2023-10-13	12:38:01	1073	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:01	1073	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:01	1073	[DEBUG]	Use field value for field taille
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:01	1073	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:01	1073	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:01	1073	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:01	1073	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:01	1073	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:01	1073	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:01	1073	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:01	1073	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:01	1073	[DEBUG]	Use field value for field published
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:01	1073	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field override
2023-10-13	12:38:01	1073	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:01	1073	[DEBUG]	Use field value for field slug
2023-10-13	12:38:01	1073	[DEBUG]	Process line 1073
2023-10-13	12:38:01	1073	[DEBUG]	Load a row
2023-10-13	12:38:01	1073	[DEBUG]	Processing item: 710845804755
2023-10-13	12:38:01	1073	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:01	1073	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:01	1073	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4976_1'
2023-10-13	12:38:01	1073	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:01	1073	[DEBUG]	Processing product tax
2023-10-13	12:38:01	1073	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:01	1073	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:01	1073	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:01	1073	[DEBUG]	Query for Product
2023-10-13	12:38:01	1073	[DEBUG]	Executed store
2023-10-13	12:38:01	1073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860564','710845804755','0','KG','M','','20','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:01	1073	[DEBUG]	No parent found
2023-10-13	12:38:01	1073	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860564 AND customfield_value = 'stockable'
2023-10-13	12:38:01	1073	[DEBUG]	Check product language entry
2023-10-13	12:38:01	1073	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860565
2023-10-13	12:38:01	1073	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:01	1073	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845804755' AND `virtuemart_product_id` != 1860565
2023-10-13	12:38:01	1073	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:01	1073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860565, '710845804755')
2023-10-13	12:38:01	1073	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:01	1073	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-gx-eagle-126-maillons-powerlock-flowlink-12-vit-noir-unitaire' AND `virtuemart_product_id` != 1860565
2023-10-13	12:38:01	1073	[DEBUG]	Query for ProductLang
2023-10-13	12:38:01	1073	[DEBUG]	Executed store
2023-10-13	12:38:01	1073	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne PC GX Eagle 126 Maillons PowerLock Flowlink 12-vit / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-gx-eagle-126-maillons-powerlock-flowlink-12-vit-noir-unitaire' WHERE `virtuemart_product_id` = '1860565'
2023-10-13	12:38:01	1073	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29344_chaîne_pc_gx_eagle_126_maillons_powerlock_flowlink_12-vit.jpg
2023-10-13	12:38:01	1073	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:01	1073	[DEBUG]	Process image file
2023-10-13	12:38:01	1073	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:01	1073	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:01	1073	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29344_chaîne_pc_gx_eagle_126_maillons_powerlock_flowlink_12-vit.jpg
2023-10-13	12:38:01	1073	[DEBUG]	Full name target: bcprisme/29344_chaîne_pc_gx_eagle_126_maillons_powerlock_flowlink_12-vit.jpg
2023-10-13	12:38:02	1073	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:02	1073	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29344_chaîne_pc_gx_eagle_126_maillons_powerlock_flowlink_12-vit.jpg'
2023-10-13	12:38:02	1073	[DEBUG]	Query for Media
2023-10-13	12:38:02	1073	[DEBUG]	Executed store
2023-10-13	12:38:02	1073	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29344_chaîne_pc_gx_eagle_126_maillons_powerlock_flowlink_12-vit.jpg',`file_url_thumb`='bcprisme/29344_chaîne_pc_gx_eagle_126_maillons_powerlock_flowlink_12-vit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15809'
2023-10-13	12:38:02	1073	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:02	1073	[DEBUG]	Executed store
2023-10-13	12:38:02	1073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860565','15809','1')
2023-10-13	12:38:02	1073	[DEBUG]	Store product image relation
2023-10-13	12:38:02	1073	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:02	1073	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860565 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:02	1073	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:02	1073	[DEBUG]	Executed store
2023-10-13	12:38:02	1073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860565','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:02	1073	[DEBUG]	Checking manufacturer
2023-10-13	12:38:02	1073	[DEBUG]	Load a row
2023-10-13	12:38:02	1073	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:02	1073	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:02	1073	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:02	1073	[DEBUG]	Executed store
2023-10-13	12:38:02	1073	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:02	1073	[DEBUG]	Manufacturer exists
2023-10-13	12:38:02	1073	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:02	1073	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:02	1073	[DEBUG]	Executed store
2023-10-13	12:38:02	1073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860565','35')
2023-10-13	12:38:02	1073	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:02	1073	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:02	1073	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860565 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:02	1073	[DEBUG]	Store custom available field
2023-10-13	12:38:02	1073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860565,3,'',1)
2023-10-13	12:38:02	1073	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:02	1073	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:02	1073	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860565 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:02	1073	[DEBUG]	Store custom available field
2023-10-13	12:38:02	1073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860565,6,'Unitaire',3)
2023-10-13	12:38:02	1073	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:02	1073	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:02	1073	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860564
2023-10-13	12:38:02	1073	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:02	1073	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860564\":[1860564,8,1,\"choisir la taille\"],\"1860565\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860564
2023-10-13	12:38:02	1073	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:02	1073	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860565
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:02	1074	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field taille
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:02	1074	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:02	1074	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:02	1074	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:02	1074	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:02	1074	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:02	1074	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field published
2023-10-13	12:38:02	1074	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:02	1074	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field override
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:02	1074	[DEBUG]	Use field value for field slug
2023-10-13	12:38:02	1074	[DEBUG]	Process line 1074
2023-10-13	12:38:02	1074	[DEBUG]	Load a row
2023-10-13	12:38:02	1074	[DEBUG]	Processing item: A_5268_5
2023-10-13	12:38:02	1074	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:02	1074	[DEBUG]	Processing product tax
2023-10-13	12:38:02	1074	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:02	1074	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:02	1074	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:02	1074	[DEBUG]	Query for Product
2023-10-13	12:38:02	1074	[DEBUG]	Executed store
2023-10-13	12:38:02	1074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5268_5','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:02	1074	[DEBUG]	Check product language entry
2023-10-13	12:38:02	1074	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860566
2023-10-13	12:38:02	1074	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:02	1074	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5268_5' AND `virtuemart_product_id` != 1860566
2023-10-13	12:38:02	1074	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:02	1074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860566, 'A_5268_5')
2023-10-13	12:38:02	1074	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:02	1074	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-xx1-eagle-12-vit--126-maillon-or-or' AND `virtuemart_product_id` != 1860566
2023-10-13	12:38:02	1074	[DEBUG]	Query for ProductLang
2023-10-13	12:38:02	1074	[DEBUG]	Executed store
2023-10-13	12:38:02	1074	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7526X',`product_name`='SRAM Chaîne PC XX1 Eagle 12-vit- 126 maillon or / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-xx1-eagle-12-vit--126-maillon-or-or' WHERE `virtuemart_product_id` = '1860566'
2023-10-13	12:38:02	1074	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29741_chaine_pc_xx1_eagel_12-vit-_126_maillon_or.jpg
2023-10-13	12:38:02	1074	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:02	1074	[DEBUG]	Process image file
2023-10-13	12:38:02	1074	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:02	1074	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:02	1074	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29741_chaine_pc_xx1_eagel_12-vit-_126_maillon_or.jpg
2023-10-13	12:38:02	1074	[DEBUG]	Full name target: bcprisme/29741_chaine_pc_xx1_eagel_12-vit-_126_maillon_or.jpg
2023-10-13	12:38:03	1074	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:03	1074	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29741_chaine_pc_xx1_eagel_12-vit-_126_maillon_or.jpg'
2023-10-13	12:38:03	1074	[DEBUG]	Query for Media
2023-10-13	12:38:03	1074	[DEBUG]	Executed store
2023-10-13	12:38:03	1074	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29741_chaine_pc_xx1_eagel_12-vit-_126_maillon_or.jpg',`file_url_thumb`='bcprisme/29741_chaine_pc_xx1_eagel_12-vit-_126_maillon_or.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12559'
2023-10-13	12:38:03	1074	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:03	1074	[DEBUG]	Executed store
2023-10-13	12:38:03	1074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860566','12559','1')
2023-10-13	12:38:03	1074	[DEBUG]	Store product image relation
2023-10-13	12:38:03	1074	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:03	1074	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860566 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:03	1074	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:03	1074	[DEBUG]	Executed store
2023-10-13	12:38:03	1074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860566','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:03	1074	[DEBUG]	Checking manufacturer
2023-10-13	12:38:03	1074	[DEBUG]	Load a row
2023-10-13	12:38:03	1074	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:03	1074	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:03	1074	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:03	1074	[DEBUG]	Executed store
2023-10-13	12:38:03	1074	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:03	1074	[DEBUG]	Manufacturer exists
2023-10-13	12:38:03	1074	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:03	1074	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:03	1074	[DEBUG]	Executed store
2023-10-13	12:38:03	1074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860566','35')
2023-10-13	12:38:03	1074	[DEBUG]	Find the custom field ID
2023-10-13	12:38:03	1074	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:03	1074	[DEBUG]	No custom field ID found
2023-10-13	12:38:03	1074	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:03	1074	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:03	1074	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860566 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:03	1074	[DEBUG]	Store custom available field
2023-10-13	12:38:03	1074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860566,3,'0',1)
2023-10-13	12:38:03	1074	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:03	1074	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:03	1074	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860566 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:03	1074	[DEBUG]	Store custom available field
2023-10-13	12:38:03	1074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860566,6,'choisir la taille',3)
2023-10-13	12:38:03	1074	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:03	1074	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:03	1074	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:03	1074	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:03	1074	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860566 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:03	1074	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:03	1074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860566,8,1)
2023-10-13	12:38:03	1074	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:03	1074	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860566\":[1860566,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860566
2023-10-13	12:38:03	1074	[DEBUG]	Checking category
2023-10-13	12:38:03	1074	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:03	1074	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860566
2023-10-13	12:38:03	1074	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:03	1074	[DEBUG]	Executed store
2023-10-13	12:38:03	1074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860566','7287')
2023-10-13	12:38:03	1074	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:03	1074	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860566 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:03	1074	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:03	1074	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860566
2023-10-13	12:38:03	1075	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:03	1075	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:03	1075	[DEBUG]	Use field value for field taille
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:03	1075	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:03	1075	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:03	1075	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:03	1075	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:03	1075	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:03	1075	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:03	1075	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:03	1075	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:03	1075	[DEBUG]	Use field value for field published
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:03	1075	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field override
2023-10-13	12:38:03	1075	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:03	1075	[DEBUG]	Use field value for field slug
2023-10-13	12:38:03	1075	[DEBUG]	Process line 1075
2023-10-13	12:38:03	1075	[DEBUG]	Load a row
2023-10-13	12:38:03	1075	[DEBUG]	Processing item: 710845788482
2023-10-13	12:38:03	1075	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:03	1075	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:03	1075	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5268_5'
2023-10-13	12:38:03	1075	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:03	1075	[DEBUG]	Processing product tax
2023-10-13	12:38:03	1075	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:03	1075	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:03	1075	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:03	1075	[DEBUG]	Query for Product
2023-10-13	12:38:03	1075	[DEBUG]	Executed store
2023-10-13	12:38:03	1075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860566','710845788482','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:03	1075	[DEBUG]	No parent found
2023-10-13	12:38:03	1075	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860566 AND customfield_value = 'stockable'
2023-10-13	12:38:03	1075	[DEBUG]	Check product language entry
2023-10-13	12:38:03	1075	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860567
2023-10-13	12:38:03	1075	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:03	1075	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845788482' AND `virtuemart_product_id` != 1860567
2023-10-13	12:38:03	1075	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:03	1075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860567, '710845788482')
2023-10-13	12:38:03	1075	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:03	1075	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-xx1-eagle-12-vit--126-maillon-or-or-unitaire' AND `virtuemart_product_id` != 1860567
2023-10-13	12:38:03	1075	[DEBUG]	Query for ProductLang
2023-10-13	12:38:03	1075	[DEBUG]	Executed store
2023-10-13	12:38:03	1075	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne PC XX1 Eagle 12-vit- 126 maillon or / Or (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-xx1-eagle-12-vit--126-maillon-or-or-unitaire' WHERE `virtuemart_product_id` = '1860567'
2023-10-13	12:38:03	1075	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29741_chaine_pc_xx1_eagel_12-vit-_126_maillon_or.jpg
2023-10-13	12:38:03	1075	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:03	1075	[DEBUG]	Process image file
2023-10-13	12:38:03	1075	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:03	1075	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:03	1075	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29741_chaine_pc_xx1_eagel_12-vit-_126_maillon_or.jpg
2023-10-13	12:38:03	1075	[DEBUG]	Full name target: bcprisme/29741_chaine_pc_xx1_eagel_12-vit-_126_maillon_or.jpg
2023-10-13	12:38:04	1075	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:04	1075	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29741_chaine_pc_xx1_eagel_12-vit-_126_maillon_or.jpg'
2023-10-13	12:38:04	1075	[DEBUG]	Query for Media
2023-10-13	12:38:04	1075	[DEBUG]	Executed store
2023-10-13	12:38:04	1075	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29741_chaine_pc_xx1_eagel_12-vit-_126_maillon_or.jpg',`file_url_thumb`='bcprisme/29741_chaine_pc_xx1_eagel_12-vit-_126_maillon_or.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12559'
2023-10-13	12:38:04	1075	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:04	1075	[DEBUG]	Executed store
2023-10-13	12:38:04	1075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860567','12559','1')
2023-10-13	12:38:04	1075	[DEBUG]	Store product image relation
2023-10-13	12:38:04	1075	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:04	1075	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860567 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:04	1075	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:04	1075	[DEBUG]	Executed store
2023-10-13	12:38:04	1075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860567','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:04	1075	[DEBUG]	Checking manufacturer
2023-10-13	12:38:04	1075	[DEBUG]	Load a row
2023-10-13	12:38:04	1075	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:04	1075	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:04	1075	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:04	1075	[DEBUG]	Executed store
2023-10-13	12:38:04	1075	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:04	1075	[DEBUG]	Manufacturer exists
2023-10-13	12:38:04	1075	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:04	1075	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:04	1075	[DEBUG]	Executed store
2023-10-13	12:38:04	1075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860567','35')
2023-10-13	12:38:04	1075	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:04	1075	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:04	1075	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860567 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:04	1075	[DEBUG]	Store custom available field
2023-10-13	12:38:04	1075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860567,3,'',1)
2023-10-13	12:38:04	1075	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:04	1075	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:04	1075	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860567 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:04	1075	[DEBUG]	Store custom available field
2023-10-13	12:38:04	1075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860567,6,'Unitaire',3)
2023-10-13	12:38:04	1075	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:04	1075	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:04	1075	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860566
2023-10-13	12:38:04	1075	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:04	1075	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860566\":[1860566,8,1,\"choisir la taille\"],\"1860567\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860566
2023-10-13	12:38:04	1075	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:04	1075	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860567
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:04	1076	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field taille
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:04	1076	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:04	1076	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:04	1076	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:04	1076	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:04	1076	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:04	1076	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field published
2023-10-13	12:38:04	1076	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:04	1076	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field override
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:04	1076	[DEBUG]	Use field value for field slug
2023-10-13	12:38:04	1076	[DEBUG]	Process line 1076
2023-10-13	12:38:04	1076	[DEBUG]	Load a row
2023-10-13	12:38:04	1076	[DEBUG]	Processing item: A_5269_228
2023-10-13	12:38:04	1076	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:04	1076	[DEBUG]	Processing product tax
2023-10-13	12:38:04	1076	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:04	1076	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:04	1076	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:04	1076	[DEBUG]	Query for Product
2023-10-13	12:38:04	1076	[DEBUG]	Executed store
2023-10-13	12:38:04	1076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5269_228','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:04	1076	[DEBUG]	Check product language entry
2023-10-13	12:38:04	1076	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860568
2023-10-13	12:38:04	1076	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:04	1076	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5269_228' AND `virtuemart_product_id` != 1860568
2023-10-13	12:38:04	1076	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:04	1076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860568, 'A_5269_228')
2023-10-13	12:38:04	1076	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:04	1076	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-connecteur-de-chaine-eagle-powerlock-rainbow-12-vitesses-petrole' AND `virtuemart_product_id` != 1860568
2023-10-13	12:38:04	1076	[DEBUG]	Query for ProductLang
2023-10-13	12:38:04	1076	[DEBUG]	Executed store
2023-10-13	12:38:04	1076	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7532X',`product_name`='SRAM Connecteur de Chaîne Eagle PowerLock Rainbow 12-vitesses / Pétrole',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-connecteur-de-chaine-eagle-powerlock-rainbow-12-vitesses-petrole' WHERE `virtuemart_product_id` = '1860568'
2023-10-13	12:38:04	1076	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29743_connecteur_de_chaîne_eagle_powerlock_rainbow_12-vitesses.jpg
2023-10-13	12:38:04	1076	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:04	1076	[DEBUG]	Process image file
2023-10-13	12:38:04	1076	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:04	1076	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:04	1076	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29743_connecteur_de_chaîne_eagle_powerlock_rainbow_12-vitesses.jpg
2023-10-13	12:38:04	1076	[DEBUG]	Full name target: bcprisme/29743_connecteur_de_chaîne_eagle_powerlock_rainbow_12-vitesses.jpg
2023-10-13	12:38:05	1076	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:05	1076	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29743_connecteur_de_chaîne_eagle_powerlock_rainbow_12-vitesses.jpg'
2023-10-13	12:38:05	1076	[DEBUG]	Query for Media
2023-10-13	12:38:05	1076	[DEBUG]	Executed store
2023-10-13	12:38:05	1076	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29743_connecteur_de_chaîne_eagle_powerlock_rainbow_12-vitesses.jpg',`file_url_thumb`='bcprisme/29743_connecteur_de_chaîne_eagle_powerlock_rainbow_12-vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12560'
2023-10-13	12:38:05	1076	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:05	1076	[DEBUG]	Executed store
2023-10-13	12:38:05	1076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860568','12560','1')
2023-10-13	12:38:05	1076	[DEBUG]	Store product image relation
2023-10-13	12:38:05	1076	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:05	1076	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860568 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:05	1076	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:05	1076	[DEBUG]	Executed store
2023-10-13	12:38:05	1076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860568','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:05	1076	[DEBUG]	Checking manufacturer
2023-10-13	12:38:05	1076	[DEBUG]	Load a row
2023-10-13	12:38:05	1076	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:05	1076	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:05	1076	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:05	1076	[DEBUG]	Executed store
2023-10-13	12:38:05	1076	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:05	1076	[DEBUG]	Manufacturer exists
2023-10-13	12:38:05	1076	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:05	1076	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:05	1076	[DEBUG]	Executed store
2023-10-13	12:38:05	1076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860568','35')
2023-10-13	12:38:05	1076	[DEBUG]	Find the custom field ID
2023-10-13	12:38:05	1076	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:05	1076	[DEBUG]	No custom field ID found
2023-10-13	12:38:05	1076	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:05	1076	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:05	1076	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860568 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:05	1076	[DEBUG]	Store custom available field
2023-10-13	12:38:05	1076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860568,3,'0',1)
2023-10-13	12:38:05	1076	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:05	1076	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:05	1076	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860568 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:05	1076	[DEBUG]	Store custom available field
2023-10-13	12:38:05	1076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860568,6,'choisir la taille',3)
2023-10-13	12:38:05	1076	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:05	1076	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:05	1076	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:05	1076	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:05	1076	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860568 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:05	1076	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:05	1076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860568,8,1)
2023-10-13	12:38:05	1076	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:05	1076	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860568\":[1860568,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860568
2023-10-13	12:38:05	1076	[DEBUG]	Checking category
2023-10-13	12:38:05	1076	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:05	1076	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860568
2023-10-13	12:38:05	1076	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:05	1076	[DEBUG]	Executed store
2023-10-13	12:38:05	1076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860568','7287')
2023-10-13	12:38:05	1076	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:05	1076	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860568 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:05	1076	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:05	1076	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860568
2023-10-13	12:38:05	1077	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:05	1077	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:05	1077	[DEBUG]	Use field value for field taille
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:05	1077	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:05	1077	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:05	1077	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:05	1077	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:05	1077	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:05	1077	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:05	1077	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:05	1077	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:05	1077	[DEBUG]	Use field value for field published
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:05	1077	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field override
2023-10-13	12:38:05	1077	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:05	1077	[DEBUG]	Use field value for field slug
2023-10-13	12:38:05	1077	[DEBUG]	Process line 1077
2023-10-13	12:38:05	1077	[DEBUG]	Load a row
2023-10-13	12:38:05	1077	[DEBUG]	Processing item: 710845791048
2023-10-13	12:38:05	1077	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:05	1077	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:05	1077	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5269_228'
2023-10-13	12:38:05	1077	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:05	1077	[DEBUG]	Processing product tax
2023-10-13	12:38:05	1077	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:05	1077	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:05	1077	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:05	1077	[DEBUG]	Query for Product
2023-10-13	12:38:05	1077	[DEBUG]	Executed store
2023-10-13	12:38:05	1077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860568','710845791048','0','KG','M','','40','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:05	1077	[DEBUG]	No parent found
2023-10-13	12:38:05	1077	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860568 AND customfield_value = 'stockable'
2023-10-13	12:38:05	1077	[DEBUG]	Check product language entry
2023-10-13	12:38:05	1077	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860569
2023-10-13	12:38:05	1077	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:05	1077	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845791048' AND `virtuemart_product_id` != 1860569
2023-10-13	12:38:05	1077	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:05	1077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860569, '710845791048')
2023-10-13	12:38:05	1077	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:05	1077	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-connecteur-de-chaine-eagle-powerlock-rainbow-12-vitesses-petrole-unitaire' AND `virtuemart_product_id` != 1860569
2023-10-13	12:38:05	1077	[DEBUG]	Query for ProductLang
2023-10-13	12:38:05	1077	[DEBUG]	Executed store
2023-10-13	12:38:05	1077	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Connecteur de Chaîne Eagle PowerLock Rainbow 12-vitesses / Pétrole (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-connecteur-de-chaine-eagle-powerlock-rainbow-12-vitesses-petrole-unitaire' WHERE `virtuemart_product_id` = '1860569'
2023-10-13	12:38:05	1077	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29743_connecteur_de_chaîne_eagle_powerlock_rainbow_12-vitesses.jpg
2023-10-13	12:38:05	1077	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:05	1077	[DEBUG]	Process image file
2023-10-13	12:38:05	1077	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:05	1077	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:05	1077	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29743_connecteur_de_chaîne_eagle_powerlock_rainbow_12-vitesses.jpg
2023-10-13	12:38:05	1077	[DEBUG]	Full name target: bcprisme/29743_connecteur_de_chaîne_eagle_powerlock_rainbow_12-vitesses.jpg
2023-10-13	12:38:06	1077	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:06	1077	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29743_connecteur_de_chaîne_eagle_powerlock_rainbow_12-vitesses.jpg'
2023-10-13	12:38:06	1077	[DEBUG]	Query for Media
2023-10-13	12:38:06	1077	[DEBUG]	Executed store
2023-10-13	12:38:06	1077	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29743_connecteur_de_chaîne_eagle_powerlock_rainbow_12-vitesses.jpg',`file_url_thumb`='bcprisme/29743_connecteur_de_chaîne_eagle_powerlock_rainbow_12-vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12560'
2023-10-13	12:38:06	1077	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:06	1077	[DEBUG]	Executed store
2023-10-13	12:38:06	1077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860569','12560','1')
2023-10-13	12:38:06	1077	[DEBUG]	Store product image relation
2023-10-13	12:38:06	1077	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:06	1077	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860569 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:06	1077	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:06	1077	[DEBUG]	Executed store
2023-10-13	12:38:06	1077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860569','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:06	1077	[DEBUG]	Checking manufacturer
2023-10-13	12:38:06	1077	[DEBUG]	Load a row
2023-10-13	12:38:06	1077	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:06	1077	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:06	1077	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:06	1077	[DEBUG]	Executed store
2023-10-13	12:38:06	1077	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:06	1077	[DEBUG]	Manufacturer exists
2023-10-13	12:38:06	1077	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:06	1077	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:06	1077	[DEBUG]	Executed store
2023-10-13	12:38:06	1077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860569','35')
2023-10-13	12:38:06	1077	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:06	1077	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:06	1077	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860569 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:06	1077	[DEBUG]	Store custom available field
2023-10-13	12:38:06	1077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860569,3,'',1)
2023-10-13	12:38:06	1077	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:06	1077	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:06	1077	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860569 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:06	1077	[DEBUG]	Store custom available field
2023-10-13	12:38:06	1077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860569,6,'Unitaire',3)
2023-10-13	12:38:06	1077	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:06	1077	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:06	1077	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860568
2023-10-13	12:38:06	1077	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:06	1077	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860568\":[1860568,8,1,\"choisir la taille\"],\"1860569\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860568
2023-10-13	12:38:06	1077	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:06	1077	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860569
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:06	1078	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field taille
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:06	1078	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:06	1078	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:06	1078	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:06	1078	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:06	1078	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:06	1078	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field published
2023-10-13	12:38:06	1078	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:06	1078	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field override
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:06	1078	[DEBUG]	Use field value for field slug
2023-10-13	12:38:06	1078	[DEBUG]	Process line 1078
2023-10-13	12:38:06	1078	[DEBUG]	Load a row
2023-10-13	12:38:06	1078	[DEBUG]	Processing item: A_5517_13
2023-10-13	12:38:06	1078	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:06	1078	[DEBUG]	Processing product tax
2023-10-13	12:38:06	1078	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:06	1078	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:06	1078	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:06	1078	[DEBUG]	Query for Product
2023-10-13	12:38:06	1078	[DEBUG]	Executed store
2023-10-13	12:38:06	1078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5517_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:06	1078	[DEBUG]	Check product language entry
2023-10-13	12:38:06	1078	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860570
2023-10-13	12:38:06	1078	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:06	1078	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5517_13' AND `virtuemart_product_id` != 1860570
2023-10-13	12:38:06	1078	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:06	1078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860570, 'A_5517_13')
2023-10-13	12:38:06	1078	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:06	1078	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-x01-eagle-12-vit--126-maillon-argent-argent' AND `virtuemart_product_id` != 1860570
2023-10-13	12:38:06	1078	[DEBUG]	Query for ProductLang
2023-10-13	12:38:06	1078	[DEBUG]	Executed store
2023-10-13	12:38:06	1078	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7526W',`product_name`='SRAM Chaîne PC X01 Eagle 12-vit- 126 maillon argent / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-x01-eagle-12-vit--126-maillon-argent-argent' WHERE `virtuemart_product_id` = '1860570'
2023-10-13	12:38:06	1078	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30021_chaine_pc_x01_eagel_12-vit-_126_maillon_argent.jpg
2023-10-13	12:38:06	1078	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:06	1078	[DEBUG]	Process image file
2023-10-13	12:38:06	1078	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:06	1078	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:06	1078	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30021_chaine_pc_x01_eagel_12-vit-_126_maillon_argent.jpg
2023-10-13	12:38:06	1078	[DEBUG]	Full name target: bcprisme/30021_chaine_pc_x01_eagel_12-vit-_126_maillon_argent.jpg
2023-10-13	12:38:07	1078	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:07	1078	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30021_chaine_pc_x01_eagel_12-vit-_126_maillon_argent.jpg'
2023-10-13	12:38:07	1078	[DEBUG]	Query for Media
2023-10-13	12:38:07	1078	[DEBUG]	Executed store
2023-10-13	12:38:07	1078	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30021_chaine_pc_x01_eagel_12-vit-_126_maillon_argent.jpg',`file_url_thumb`='bcprisme/30021_chaine_pc_x01_eagel_12-vit-_126_maillon_argent.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12561'
2023-10-13	12:38:07	1078	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:07	1078	[DEBUG]	Executed store
2023-10-13	12:38:07	1078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860570','12561','1')
2023-10-13	12:38:07	1078	[DEBUG]	Store product image relation
2023-10-13	12:38:07	1078	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:07	1078	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860570 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:07	1078	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:07	1078	[DEBUG]	Executed store
2023-10-13	12:38:07	1078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860570','0','72.330547818013','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:07	1078	[DEBUG]	Checking manufacturer
2023-10-13	12:38:07	1078	[DEBUG]	Load a row
2023-10-13	12:38:07	1078	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:07	1078	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:07	1078	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:07	1078	[DEBUG]	Executed store
2023-10-13	12:38:07	1078	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:07	1078	[DEBUG]	Manufacturer exists
2023-10-13	12:38:07	1078	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:07	1078	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:07	1078	[DEBUG]	Executed store
2023-10-13	12:38:07	1078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860570','35')
2023-10-13	12:38:07	1078	[DEBUG]	Find the custom field ID
2023-10-13	12:38:07	1078	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:07	1078	[DEBUG]	No custom field ID found
2023-10-13	12:38:07	1078	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:07	1078	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:07	1078	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860570 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:07	1078	[DEBUG]	Store custom available field
2023-10-13	12:38:07	1078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860570,3,'0',1)
2023-10-13	12:38:07	1078	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:07	1078	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:07	1078	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860570 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:07	1078	[DEBUG]	Store custom available field
2023-10-13	12:38:07	1078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860570,6,'choisir la taille',3)
2023-10-13	12:38:07	1078	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:07	1078	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:07	1078	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:07	1078	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:07	1078	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860570 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:07	1078	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:07	1078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860570,8,1)
2023-10-13	12:38:07	1078	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:07	1078	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860570\":[1860570,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860570
2023-10-13	12:38:07	1078	[DEBUG]	Checking category
2023-10-13	12:38:07	1078	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:07	1078	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860570
2023-10-13	12:38:07	1078	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:07	1078	[DEBUG]	Executed store
2023-10-13	12:38:07	1078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860570','7287')
2023-10-13	12:38:07	1078	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:07	1078	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860570 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:07	1078	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:07	1078	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860570
2023-10-13	12:38:07	1079	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:07	1079	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:07	1079	[DEBUG]	Use field value for field taille
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:07	1079	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:07	1079	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:07	1079	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:07	1079	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:07	1079	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:07	1079	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:07	1079	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:07	1079	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:07	1079	[DEBUG]	Use field value for field published
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:07	1079	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field override
2023-10-13	12:38:07	1079	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:07	1079	[DEBUG]	Use field value for field slug
2023-10-13	12:38:07	1079	[DEBUG]	Process line 1079
2023-10-13	12:38:07	1079	[DEBUG]	Load a row
2023-10-13	12:38:07	1079	[DEBUG]	Processing item: 710845788505
2023-10-13	12:38:07	1079	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:07	1079	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:07	1079	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5517_13'
2023-10-13	12:38:07	1079	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:07	1079	[DEBUG]	Processing product tax
2023-10-13	12:38:07	1079	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:07	1079	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:07	1079	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:07	1079	[DEBUG]	Query for Product
2023-10-13	12:38:07	1079	[DEBUG]	Executed store
2023-10-13	12:38:07	1079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860570','710845788505','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:07	1079	[DEBUG]	No parent found
2023-10-13	12:38:07	1079	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860570 AND customfield_value = 'stockable'
2023-10-13	12:38:07	1079	[DEBUG]	Check product language entry
2023-10-13	12:38:07	1079	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860571
2023-10-13	12:38:07	1079	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:07	1079	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845788505' AND `virtuemart_product_id` != 1860571
2023-10-13	12:38:07	1079	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:07	1079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860571, '710845788505')
2023-10-13	12:38:07	1079	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:07	1079	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-x01-eagle-12-vit--126-maillon-argent-argent-unitaire' AND `virtuemart_product_id` != 1860571
2023-10-13	12:38:07	1079	[DEBUG]	Query for ProductLang
2023-10-13	12:38:07	1079	[DEBUG]	Executed store
2023-10-13	12:38:07	1079	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne PC X01 Eagle 12-vit- 126 maillon argent / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-x01-eagle-12-vit--126-maillon-argent-argent-unitaire' WHERE `virtuemart_product_id` = '1860571'
2023-10-13	12:38:07	1079	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30021_chaine_pc_x01_eagel_12-vit-_126_maillon_argent.jpg
2023-10-13	12:38:07	1079	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:07	1079	[DEBUG]	Process image file
2023-10-13	12:38:07	1079	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:07	1079	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:07	1079	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30021_chaine_pc_x01_eagel_12-vit-_126_maillon_argent.jpg
2023-10-13	12:38:07	1079	[DEBUG]	Full name target: bcprisme/30021_chaine_pc_x01_eagel_12-vit-_126_maillon_argent.jpg
2023-10-13	12:38:08	1079	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:08	1079	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30021_chaine_pc_x01_eagel_12-vit-_126_maillon_argent.jpg'
2023-10-13	12:38:08	1079	[DEBUG]	Query for Media
2023-10-13	12:38:08	1079	[DEBUG]	Executed store
2023-10-13	12:38:08	1079	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30021_chaine_pc_x01_eagel_12-vit-_126_maillon_argent.jpg',`file_url_thumb`='bcprisme/30021_chaine_pc_x01_eagel_12-vit-_126_maillon_argent.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12561'
2023-10-13	12:38:08	1079	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:08	1079	[DEBUG]	Executed store
2023-10-13	12:38:08	1079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860571','12561','1')
2023-10-13	12:38:08	1079	[DEBUG]	Store product image relation
2023-10-13	12:38:08	1079	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:08	1079	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860571 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:08	1079	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:08	1079	[DEBUG]	Executed store
2023-10-13	12:38:08	1079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860571','0','72.330547818013','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:08	1079	[DEBUG]	Checking manufacturer
2023-10-13	12:38:08	1079	[DEBUG]	Load a row
2023-10-13	12:38:08	1079	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:08	1079	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:08	1079	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:08	1079	[DEBUG]	Executed store
2023-10-13	12:38:08	1079	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:08	1079	[DEBUG]	Manufacturer exists
2023-10-13	12:38:08	1079	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:08	1079	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:08	1079	[DEBUG]	Executed store
2023-10-13	12:38:08	1079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860571','35')
2023-10-13	12:38:08	1079	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:08	1079	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:08	1079	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860571 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:08	1079	[DEBUG]	Store custom available field
2023-10-13	12:38:08	1079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860571,3,'',1)
2023-10-13	12:38:08	1079	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:08	1079	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:08	1079	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860571 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:08	1079	[DEBUG]	Store custom available field
2023-10-13	12:38:08	1079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860571,6,'Unitaire',3)
2023-10-13	12:38:08	1079	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:08	1079	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:08	1079	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860570
2023-10-13	12:38:08	1079	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:08	1079	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860570\":[1860570,8,1,\"choisir la taille\"],\"1860571\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860570
2023-10-13	12:38:08	1079	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:08	1079	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860571
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:08	1080	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field taille
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:08	1080	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:08	1080	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:08	1080	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:08	1080	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:08	1080	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:08	1080	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field published
2023-10-13	12:38:08	1080	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:08	1080	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field override
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:08	1080	[DEBUG]	Use field value for field slug
2023-10-13	12:38:08	1080	[DEBUG]	Process line 1080
2023-10-13	12:38:08	1080	[DEBUG]	Load a row
2023-10-13	12:38:08	1080	[DEBUG]	Processing item: A_5822_13
2023-10-13	12:38:08	1080	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:08	1080	[DEBUG]	Processing product tax
2023-10-13	12:38:08	1080	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:08	1080	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:08	1080	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:08	1080	[DEBUG]	Query for Product
2023-10-13	12:38:08	1080	[DEBUG]	Executed store
2023-10-13	12:38:08	1080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5822_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:08	1080	[DEBUG]	Check product language entry
2023-10-13	12:38:08	1080	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860572
2023-10-13	12:38:08	1080	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:08	1080	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5822_13' AND `virtuemart_product_id` != 1860572
2023-10-13	12:38:08	1080	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:08	1080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860572, 'A_5822_13')
2023-10-13	12:38:08	1080	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:08	1080	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-12-vitesses-ultralight-126-maillons-argent' AND `virtuemart_product_id` != 1860572
2023-10-13	12:38:08	1080	[DEBUG]	Query for ProductLang
2023-10-13	12:38:08	1080	[DEBUG]	Executed store
2023-10-13	12:38:08	1080	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CHAIN12ULT',`product_name`='MSC Chaîne MSC 12 vitesses Ultralight 126 maillons / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-12-vitesses-ultralight-126-maillons-argent' WHERE `virtuemart_product_id` = '1860572'
2023-10-13	12:38:08	1080	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30351_chaine_msc_12_vitesses_ultralight_126_maillons.jpg
2023-10-13	12:38:08	1080	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:08	1080	[DEBUG]	Process image file
2023-10-13	12:38:08	1080	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:08	1080	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:08	1080	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30351_chaine_msc_12_vitesses_ultralight_126_maillons.jpg
2023-10-13	12:38:08	1080	[DEBUG]	Full name target: bcprisme/30351_chaine_msc_12_vitesses_ultralight_126_maillons.jpg
2023-10-13	12:38:09	1080	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:09	1080	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30351_chaine_msc_12_vitesses_ultralight_126_maillons.jpg'
2023-10-13	12:38:09	1080	[DEBUG]	Query for Media
2023-10-13	12:38:09	1080	[DEBUG]	Executed store
2023-10-13	12:38:09	1080	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30351_chaine_msc_12_vitesses_ultralight_126_maillons.jpg',`file_url_thumb`='bcprisme/30351_chaine_msc_12_vitesses_ultralight_126_maillons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12562'
2023-10-13	12:38:09	1080	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:09	1080	[DEBUG]	Executed store
2023-10-13	12:38:09	1080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860572','12562','1')
2023-10-13	12:38:09	1080	[DEBUG]	Store product image relation
2023-10-13	12:38:09	1080	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:09	1080	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860572 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:09	1080	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:09	1080	[DEBUG]	Executed store
2023-10-13	12:38:09	1080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860572','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:09	1080	[DEBUG]	Checking manufacturer
2023-10-13	12:38:09	1080	[DEBUG]	Load a row
2023-10-13	12:38:09	1080	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:09	1080	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:09	1080	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:09	1080	[DEBUG]	Executed store
2023-10-13	12:38:09	1080	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:09	1080	[DEBUG]	Manufacturer exists
2023-10-13	12:38:09	1080	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:38:09	1080	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:09	1080	[DEBUG]	Executed store
2023-10-13	12:38:09	1080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860572','32')
2023-10-13	12:38:09	1080	[DEBUG]	Find the custom field ID
2023-10-13	12:38:09	1080	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:09	1080	[DEBUG]	No custom field ID found
2023-10-13	12:38:09	1080	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:09	1080	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:09	1080	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860572 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:09	1080	[DEBUG]	Store custom available field
2023-10-13	12:38:09	1080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860572,3,'0',1)
2023-10-13	12:38:09	1080	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:09	1080	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:09	1080	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860572 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:09	1080	[DEBUG]	Store custom available field
2023-10-13	12:38:09	1080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860572,6,'choisir la taille',3)
2023-10-13	12:38:09	1080	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:09	1080	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:09	1080	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:09	1080	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:09	1080	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860572 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:09	1080	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:09	1080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860572,8,1)
2023-10-13	12:38:09	1080	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:09	1080	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860572\":[1860572,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860572
2023-10-13	12:38:09	1080	[DEBUG]	Checking category
2023-10-13	12:38:09	1080	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:09	1080	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860572
2023-10-13	12:38:09	1080	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:09	1080	[DEBUG]	Executed store
2023-10-13	12:38:09	1080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860572','7287')
2023-10-13	12:38:09	1080	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:09	1080	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860572 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:09	1080	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:09	1080	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860572
2023-10-13	12:38:09	1081	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:09	1081	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:09	1081	[DEBUG]	Use field value for field taille
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:09	1081	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:09	1081	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:09	1081	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:09	1081	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:09	1081	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:09	1081	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:09	1081	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:09	1081	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:09	1081	[DEBUG]	Use field value for field published
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:09	1081	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field override
2023-10-13	12:38:09	1081	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:09	1081	[DEBUG]	Use field value for field slug
2023-10-13	12:38:09	1081	[DEBUG]	Process line 1081
2023-10-13	12:38:09	1081	[DEBUG]	Load a row
2023-10-13	12:38:09	1081	[DEBUG]	Processing item: 8435466215798
2023-10-13	12:38:09	1081	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:09	1081	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:09	1081	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5822_13'
2023-10-13	12:38:09	1081	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:09	1081	[DEBUG]	Processing product tax
2023-10-13	12:38:09	1081	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:09	1081	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:09	1081	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:09	1081	[DEBUG]	Query for Product
2023-10-13	12:38:09	1081	[DEBUG]	Executed store
2023-10-13	12:38:09	1081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860572','8435466215798','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:09	1081	[DEBUG]	No parent found
2023-10-13	12:38:09	1081	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860572 AND customfield_value = 'stockable'
2023-10-13	12:38:09	1081	[DEBUG]	Check product language entry
2023-10-13	12:38:09	1081	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860573
2023-10-13	12:38:09	1081	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:09	1081	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215798' AND `virtuemart_product_id` != 1860573
2023-10-13	12:38:09	1081	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:09	1081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860573, '8435466215798')
2023-10-13	12:38:09	1081	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:09	1081	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-12-vitesses-ultralight-126-maillons-argent-unitaire' AND `virtuemart_product_id` != 1860573
2023-10-13	12:38:09	1081	[DEBUG]	Query for ProductLang
2023-10-13	12:38:09	1081	[DEBUG]	Executed store
2023-10-13	12:38:09	1081	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC 12 vitesses Ultralight 126 maillons / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-12-vitesses-ultralight-126-maillons-argent-unitaire' WHERE `virtuemart_product_id` = '1860573'
2023-10-13	12:38:09	1081	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30351_chaine_msc_12_vitesses_ultralight_126_maillons.jpg
2023-10-13	12:38:09	1081	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:09	1081	[DEBUG]	Process image file
2023-10-13	12:38:09	1081	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:09	1081	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:09	1081	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30351_chaine_msc_12_vitesses_ultralight_126_maillons.jpg
2023-10-13	12:38:09	1081	[DEBUG]	Full name target: bcprisme/30351_chaine_msc_12_vitesses_ultralight_126_maillons.jpg
2023-10-13	12:38:10	1081	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:10	1081	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30351_chaine_msc_12_vitesses_ultralight_126_maillons.jpg'
2023-10-13	12:38:10	1081	[DEBUG]	Query for Media
2023-10-13	12:38:10	1081	[DEBUG]	Executed store
2023-10-13	12:38:10	1081	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30351_chaine_msc_12_vitesses_ultralight_126_maillons.jpg',`file_url_thumb`='bcprisme/30351_chaine_msc_12_vitesses_ultralight_126_maillons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12562'
2023-10-13	12:38:10	1081	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:10	1081	[DEBUG]	Executed store
2023-10-13	12:38:10	1081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860573','12562','1')
2023-10-13	12:38:10	1081	[DEBUG]	Store product image relation
2023-10-13	12:38:10	1081	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:10	1081	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860573 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:10	1081	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:10	1081	[DEBUG]	Executed store
2023-10-13	12:38:10	1081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860573','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:10	1081	[DEBUG]	Checking manufacturer
2023-10-13	12:38:10	1081	[DEBUG]	Load a row
2023-10-13	12:38:10	1081	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:10	1081	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:10	1081	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:10	1081	[DEBUG]	Executed store
2023-10-13	12:38:10	1081	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:10	1081	[DEBUG]	Manufacturer exists
2023-10-13	12:38:10	1081	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:38:10	1081	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:10	1081	[DEBUG]	Executed store
2023-10-13	12:38:10	1081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860573','32')
2023-10-13	12:38:10	1081	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:10	1081	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:10	1081	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860573 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:10	1081	[DEBUG]	Store custom available field
2023-10-13	12:38:10	1081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860573,3,'',1)
2023-10-13	12:38:10	1081	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:10	1081	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:10	1081	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860573 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:10	1081	[DEBUG]	Store custom available field
2023-10-13	12:38:10	1081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860573,6,'Unitaire',3)
2023-10-13	12:38:10	1081	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:10	1081	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:10	1081	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860572
2023-10-13	12:38:10	1081	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:10	1081	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860572\":[1860572,8,1,\"choisir la taille\"],\"1860573\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860572
2023-10-13	12:38:10	1081	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:10	1081	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860573
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:10	1082	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field taille
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:10	1082	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:10	1082	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:10	1082	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:10	1082	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:10	1082	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:10	1082	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field published
2023-10-13	12:38:10	1082	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:10	1082	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field override
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:10	1082	[DEBUG]	Use field value for field slug
2023-10-13	12:38:10	1082	[DEBUG]	Process line 1082
2023-10-13	12:38:10	1082	[DEBUG]	Load a row
2023-10-13	12:38:10	1082	[DEBUG]	Processing item: A_5823_13
2023-10-13	12:38:10	1082	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:10	1082	[DEBUG]	Processing product tax
2023-10-13	12:38:10	1082	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:10	1082	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:10	1082	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:10	1082	[DEBUG]	Query for Product
2023-10-13	12:38:10	1082	[DEBUG]	Executed store
2023-10-13	12:38:10	1082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5823_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:10	1082	[DEBUG]	Check product language entry
2023-10-13	12:38:10	1082	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860574
2023-10-13	12:38:10	1082	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:10	1082	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5823_13' AND `virtuemart_product_id` != 1860574
2023-10-13	12:38:10	1082	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:10	1082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860574, 'A_5823_13')
2023-10-13	12:38:10	1082	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:10	1082	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-12-vitesses-126-maillons-argent' AND `virtuemart_product_id` != 1860574
2023-10-13	12:38:10	1082	[DEBUG]	Query for ProductLang
2023-10-13	12:38:10	1082	[DEBUG]	Executed store
2023-10-13	12:38:10	1082	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CHAIN12',`product_name`='MSC Chaîne MSC 12 vitesses 126 maillons / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-12-vitesses-126-maillons-argent' WHERE `virtuemart_product_id` = '1860574'
2023-10-13	12:38:10	1082	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30352_chaine_msc_12_vitessest_126_maillons.jpg
2023-10-13	12:38:10	1082	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:10	1082	[DEBUG]	Process image file
2023-10-13	12:38:10	1082	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:10	1082	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:10	1082	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30352_chaine_msc_12_vitessest_126_maillons.jpg
2023-10-13	12:38:10	1082	[DEBUG]	Full name target: bcprisme/30352_chaine_msc_12_vitessest_126_maillons.jpg
2023-10-13	12:38:11	1082	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:11	1082	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30352_chaine_msc_12_vitessest_126_maillons.jpg'
2023-10-13	12:38:11	1082	[DEBUG]	Query for Media
2023-10-13	12:38:11	1082	[DEBUG]	Executed store
2023-10-13	12:38:11	1082	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30352_chaine_msc_12_vitessest_126_maillons.jpg',`file_url_thumb`='bcprisme/30352_chaine_msc_12_vitessest_126_maillons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12563'
2023-10-13	12:38:11	1082	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:11	1082	[DEBUG]	Executed store
2023-10-13	12:38:11	1082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860574','12563','1')
2023-10-13	12:38:11	1082	[DEBUG]	Store product image relation
2023-10-13	12:38:11	1082	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:11	1082	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860574 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:11	1082	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:11	1082	[DEBUG]	Executed store
2023-10-13	12:38:11	1082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860574','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:11	1082	[DEBUG]	Checking manufacturer
2023-10-13	12:38:11	1082	[DEBUG]	Load a row
2023-10-13	12:38:11	1082	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:11	1082	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:11	1082	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:11	1082	[DEBUG]	Executed store
2023-10-13	12:38:11	1082	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:11	1082	[DEBUG]	Manufacturer exists
2023-10-13	12:38:11	1082	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:38:11	1082	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:11	1082	[DEBUG]	Executed store
2023-10-13	12:38:11	1082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860574','32')
2023-10-13	12:38:11	1082	[DEBUG]	Find the custom field ID
2023-10-13	12:38:11	1082	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:11	1082	[DEBUG]	No custom field ID found
2023-10-13	12:38:11	1082	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:11	1082	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:11	1082	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860574 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:11	1082	[DEBUG]	Store custom available field
2023-10-13	12:38:11	1082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860574,3,'0',1)
2023-10-13	12:38:11	1082	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:11	1082	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:11	1082	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860574 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:11	1082	[DEBUG]	Store custom available field
2023-10-13	12:38:11	1082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860574,6,'choisir la taille',3)
2023-10-13	12:38:11	1082	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:11	1082	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:11	1082	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:11	1082	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:11	1082	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860574 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:11	1082	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:11	1082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860574,8,1)
2023-10-13	12:38:11	1082	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:11	1082	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860574\":[1860574,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860574
2023-10-13	12:38:11	1082	[DEBUG]	Checking category
2023-10-13	12:38:11	1082	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:11	1082	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860574
2023-10-13	12:38:11	1082	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:11	1082	[DEBUG]	Executed store
2023-10-13	12:38:11	1082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860574','7287')
2023-10-13	12:38:11	1082	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:11	1082	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860574 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:11	1082	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:11	1082	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860574
2023-10-13	12:38:11	1083	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:11	1083	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:11	1083	[DEBUG]	Use field value for field taille
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:11	1083	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:11	1083	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:11	1083	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:11	1083	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:11	1083	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:11	1083	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:11	1083	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:11	1083	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:11	1083	[DEBUG]	Use field value for field published
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:11	1083	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field override
2023-10-13	12:38:11	1083	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:11	1083	[DEBUG]	Use field value for field slug
2023-10-13	12:38:11	1083	[DEBUG]	Process line 1083
2023-10-13	12:38:12	1083	[DEBUG]	Load a row
2023-10-13	12:38:12	1083	[DEBUG]	Processing item: 8435466215781
2023-10-13	12:38:12	1083	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:12	1083	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:12	1083	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5823_13'
2023-10-13	12:38:12	1083	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:12	1083	[DEBUG]	Processing product tax
2023-10-13	12:38:12	1083	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:12	1083	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:12	1083	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:12	1083	[DEBUG]	Query for Product
2023-10-13	12:38:12	1083	[DEBUG]	Executed store
2023-10-13	12:38:12	1083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860574','8435466215781','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:12	1083	[DEBUG]	No parent found
2023-10-13	12:38:12	1083	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860574 AND customfield_value = 'stockable'
2023-10-13	12:38:12	1083	[DEBUG]	Check product language entry
2023-10-13	12:38:12	1083	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860575
2023-10-13	12:38:12	1083	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:12	1083	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215781' AND `virtuemart_product_id` != 1860575
2023-10-13	12:38:12	1083	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:12	1083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860575, '8435466215781')
2023-10-13	12:38:12	1083	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:12	1083	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-12-vitesses-126-maillons-argent-unitaire' AND `virtuemart_product_id` != 1860575
2023-10-13	12:38:12	1083	[DEBUG]	Query for ProductLang
2023-10-13	12:38:12	1083	[DEBUG]	Executed store
2023-10-13	12:38:12	1083	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC 12 vitesses 126 maillons / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-12-vitesses-126-maillons-argent-unitaire' WHERE `virtuemart_product_id` = '1860575'
2023-10-13	12:38:12	1083	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30352_chaine_msc_12_vitessest_126_maillons.jpg
2023-10-13	12:38:12	1083	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:12	1083	[DEBUG]	Process image file
2023-10-13	12:38:12	1083	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:12	1083	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:12	1083	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30352_chaine_msc_12_vitessest_126_maillons.jpg
2023-10-13	12:38:12	1083	[DEBUG]	Full name target: bcprisme/30352_chaine_msc_12_vitessest_126_maillons.jpg
2023-10-13	12:38:12	1083	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:12	1083	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30352_chaine_msc_12_vitessest_126_maillons.jpg'
2023-10-13	12:38:12	1083	[DEBUG]	Query for Media
2023-10-13	12:38:12	1083	[DEBUG]	Executed store
2023-10-13	12:38:12	1083	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30352_chaine_msc_12_vitessest_126_maillons.jpg',`file_url_thumb`='bcprisme/30352_chaine_msc_12_vitessest_126_maillons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12563'
2023-10-13	12:38:12	1083	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:13	1083	[DEBUG]	Executed store
2023-10-13	12:38:13	1083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860575','12563','1')
2023-10-13	12:38:13	1083	[DEBUG]	Store product image relation
2023-10-13	12:38:13	1083	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:13	1083	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860575 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:13	1083	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:13	1083	[DEBUG]	Executed store
2023-10-13	12:38:13	1083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860575','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:13	1083	[DEBUG]	Checking manufacturer
2023-10-13	12:38:13	1083	[DEBUG]	Load a row
2023-10-13	12:38:13	1083	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:13	1083	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:13	1083	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:13	1083	[DEBUG]	Executed store
2023-10-13	12:38:13	1083	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:13	1083	[DEBUG]	Manufacturer exists
2023-10-13	12:38:13	1083	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:38:13	1083	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:13	1083	[DEBUG]	Executed store
2023-10-13	12:38:13	1083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860575','32')
2023-10-13	12:38:13	1083	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:13	1083	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:13	1083	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860575 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:13	1083	[DEBUG]	Store custom available field
2023-10-13	12:38:13	1083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860575,3,'',1)
2023-10-13	12:38:13	1083	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:13	1083	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:13	1083	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860575 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:13	1083	[DEBUG]	Store custom available field
2023-10-13	12:38:13	1083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860575,6,'Unitaire',3)
2023-10-13	12:38:13	1083	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:13	1083	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:13	1083	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860574
2023-10-13	12:38:13	1083	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:13	1083	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860574\":[1860574,8,1,\"choisir la taille\"],\"1860575\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860574
2023-10-13	12:38:13	1083	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:13	1083	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860575
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:13	1084	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field taille
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:13	1084	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:13	1084	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:13	1084	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:13	1084	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:13	1084	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:13	1084	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field published
2023-10-13	12:38:13	1084	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:13	1084	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field override
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:13	1084	[DEBUG]	Use field value for field slug
2023-10-13	12:38:13	1084	[DEBUG]	Process line 1084
2023-10-13	12:38:13	1084	[DEBUG]	Load a row
2023-10-13	12:38:13	1084	[DEBUG]	Processing item: A_6433_4
2023-10-13	12:38:13	1084	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:13	1084	[DEBUG]	Processing product tax
2023-10-13	12:38:13	1084	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:13	1084	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:13	1084	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:13	1084	[DEBUG]	Query for Product
2023-10-13	12:38:13	1084	[DEBUG]	Executed store
2023-10-13	12:38:13	1084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6433_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:13	1084	[DEBUG]	Check product language entry
2023-10-13	12:38:13	1084	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860576
2023-10-13	12:38:13	1084	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:13	1084	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6433_4' AND `virtuemart_product_id` != 1860576
2023-10-13	12:38:13	1084	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:13	1084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860576, 'A_6433_4')
2023-10-13	12:38:13	1084	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:13	1084	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-quick-link-shimano-sm-cn9101-12-hg-ev-acier' AND `virtuemart_product_id` != 1860576
2023-10-13	12:38:13	1084	[DEBUG]	Query for ProductLang
2023-10-13	12:38:13	1084	[DEBUG]	Executed store
2023-10-13	12:38:13	1084	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.72284',`product_name`='SHIMANO Quick-Link SHIMANO SM-CN9101-12 HG-EV / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-quick-link-shimano-sm-cn9101-12-hg-ev-acier' WHERE `virtuemart_product_id` = '1860576'
2023-10-13	12:38:13	1084	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32317_shimano_quick-link_sm-cn9101-12_hg-ev.jpg
2023-10-13	12:38:13	1084	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:13	1084	[DEBUG]	Process image file
2023-10-13	12:38:13	1084	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:13	1084	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:13	1084	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32317_shimano_quick-link_sm-cn9101-12_hg-ev.jpg
2023-10-13	12:38:13	1084	[DEBUG]	Full name target: bcprisme/32317_shimano_quick-link_sm-cn9101-12_hg-ev.jpg
2023-10-13	12:38:14	1084	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:14	1084	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32317_shimano_quick-link_sm-cn9101-12_hg-ev.jpg'
2023-10-13	12:38:14	1084	[DEBUG]	Query for Media
2023-10-13	12:38:14	1084	[DEBUG]	Executed store
2023-10-13	12:38:14	1084	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32317_shimano_quick-link_sm-cn9101-12_hg-ev.jpg',`file_url_thumb`='bcprisme/32317_shimano_quick-link_sm-cn9101-12_hg-ev.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12564'
2023-10-13	12:38:14	1084	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:14	1084	[DEBUG]	Executed store
2023-10-13	12:38:14	1084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860576','12564','1')
2023-10-13	12:38:14	1084	[DEBUG]	Store product image relation
2023-10-13	12:38:14	1084	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:14	1084	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860576 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:14	1084	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:14	1084	[DEBUG]	Executed store
2023-10-13	12:38:14	1084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860576','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:14	1084	[DEBUG]	Checking manufacturer
2023-10-13	12:38:14	1084	[DEBUG]	Load a row
2023-10-13	12:38:14	1084	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:14	1084	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:14	1084	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:14	1084	[DEBUG]	Executed store
2023-10-13	12:38:14	1084	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:14	1084	[DEBUG]	Manufacturer exists
2023-10-13	12:38:14	1084	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:38:14	1084	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:14	1084	[DEBUG]	Executed store
2023-10-13	12:38:14	1084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860576','26')
2023-10-13	12:38:14	1084	[DEBUG]	Find the custom field ID
2023-10-13	12:38:14	1084	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:14	1084	[DEBUG]	No custom field ID found
2023-10-13	12:38:14	1084	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:14	1084	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:14	1084	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860576 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:14	1084	[DEBUG]	Store custom available field
2023-10-13	12:38:14	1084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860576,3,'0',1)
2023-10-13	12:38:14	1084	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:14	1084	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:14	1084	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860576 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:14	1084	[DEBUG]	Store custom available field
2023-10-13	12:38:14	1084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860576,6,'choisir la taille',3)
2023-10-13	12:38:14	1084	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:14	1084	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:14	1084	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:14	1084	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:14	1084	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860576 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:14	1084	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:14	1084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860576,8,1)
2023-10-13	12:38:14	1084	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:14	1084	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860576\":[1860576,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860576
2023-10-13	12:38:14	1084	[DEBUG]	Checking category
2023-10-13	12:38:14	1084	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:14	1084	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860576
2023-10-13	12:38:14	1084	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:14	1084	[DEBUG]	Executed store
2023-10-13	12:38:14	1084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860576','7287')
2023-10-13	12:38:14	1084	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:14	1084	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860576 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:14	1084	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:14	1084	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860576
2023-10-13	12:38:14	1085	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:14	1085	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:14	1085	[DEBUG]	Use field value for field taille
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:14	1085	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:14	1085	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:14	1085	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:14	1085	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:14	1085	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:14	1085	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:14	1085	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:14	1085	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:14	1085	[DEBUG]	Use field value for field published
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:14	1085	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field override
2023-10-13	12:38:14	1085	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:14	1085	[DEBUG]	Use field value for field slug
2023-10-13	12:38:14	1085	[DEBUG]	Process line 1085
2023-10-13	12:38:14	1085	[DEBUG]	Load a row
2023-10-13	12:38:14	1085	[DEBUG]	Processing item: 4524667882282
2023-10-13	12:38:14	1085	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:14	1085	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:14	1085	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6433_4'
2023-10-13	12:38:14	1085	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:14	1085	[DEBUG]	Processing product tax
2023-10-13	12:38:14	1085	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:14	1085	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:14	1085	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:14	1085	[DEBUG]	Query for Product
2023-10-13	12:38:14	1085	[DEBUG]	Executed store
2023-10-13	12:38:14	1085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860576','4524667882282','0','KG','M','','52','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:14	1085	[DEBUG]	No parent found
2023-10-13	12:38:14	1085	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860576 AND customfield_value = 'stockable'
2023-10-13	12:38:14	1085	[DEBUG]	Check product language entry
2023-10-13	12:38:14	1085	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860577
2023-10-13	12:38:14	1085	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:14	1085	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667882282' AND `virtuemart_product_id` != 1860577
2023-10-13	12:38:14	1085	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:14	1085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860577, '4524667882282')
2023-10-13	12:38:14	1085	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:14	1085	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-quick-link-shimano-sm-cn9101-12-hg-ev-acier-unitaire' AND `virtuemart_product_id` != 1860577
2023-10-13	12:38:14	1085	[DEBUG]	Query for ProductLang
2023-10-13	12:38:14	1085	[DEBUG]	Executed store
2023-10-13	12:38:14	1085	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Quick-Link SHIMANO SM-CN9101-12 HG-EV / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-quick-link-shimano-sm-cn9101-12-hg-ev-acier-unitaire' WHERE `virtuemart_product_id` = '1860577'
2023-10-13	12:38:14	1085	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32317_shimano_quick-link_sm-cn9101-12_hg-ev.jpg
2023-10-13	12:38:14	1085	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:14	1085	[DEBUG]	Process image file
2023-10-13	12:38:14	1085	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:14	1085	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:14	1085	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32317_shimano_quick-link_sm-cn9101-12_hg-ev.jpg
2023-10-13	12:38:14	1085	[DEBUG]	Full name target: bcprisme/32317_shimano_quick-link_sm-cn9101-12_hg-ev.jpg
2023-10-13	12:38:15	1085	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:15	1085	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32317_shimano_quick-link_sm-cn9101-12_hg-ev.jpg'
2023-10-13	12:38:15	1085	[DEBUG]	Query for Media
2023-10-13	12:38:15	1085	[DEBUG]	Executed store
2023-10-13	12:38:15	1085	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32317_shimano_quick-link_sm-cn9101-12_hg-ev.jpg',`file_url_thumb`='bcprisme/32317_shimano_quick-link_sm-cn9101-12_hg-ev.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12564'
2023-10-13	12:38:15	1085	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:15	1085	[DEBUG]	Executed store
2023-10-13	12:38:15	1085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860577','12564','1')
2023-10-13	12:38:15	1085	[DEBUG]	Store product image relation
2023-10-13	12:38:15	1085	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:15	1085	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860577 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:15	1085	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:15	1085	[DEBUG]	Executed store
2023-10-13	12:38:15	1085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860577','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:15	1085	[DEBUG]	Checking manufacturer
2023-10-13	12:38:15	1085	[DEBUG]	Load a row
2023-10-13	12:38:15	1085	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:15	1085	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:15	1085	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:15	1085	[DEBUG]	Executed store
2023-10-13	12:38:15	1085	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:15	1085	[DEBUG]	Manufacturer exists
2023-10-13	12:38:15	1085	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:38:15	1085	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:15	1085	[DEBUG]	Executed store
2023-10-13	12:38:15	1085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860577','26')
2023-10-13	12:38:15	1085	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:15	1085	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:15	1085	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860577 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:15	1085	[DEBUG]	Store custom available field
2023-10-13	12:38:15	1085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860577,3,'',1)
2023-10-13	12:38:15	1085	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:15	1085	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:15	1085	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860577 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:15	1085	[DEBUG]	Store custom available field
2023-10-13	12:38:15	1085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860577,6,'Unitaire',3)
2023-10-13	12:38:15	1085	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:15	1085	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:15	1085	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860576
2023-10-13	12:38:15	1085	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:15	1085	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860576\":[1860576,8,1,\"choisir la taille\"],\"1860577\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860576
2023-10-13	12:38:15	1085	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:15	1085	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860577
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:15	1086	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field taille
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:15	1086	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:15	1086	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:15	1086	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:15	1086	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:15	1086	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:15	1086	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field published
2023-10-13	12:38:15	1086	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:15	1086	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field override
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:15	1086	[DEBUG]	Use field value for field slug
2023-10-13	12:38:15	1086	[DEBUG]	Process line 1086
2023-10-13	12:38:15	1086	[DEBUG]	Load a row
2023-10-13	12:38:15	1086	[DEBUG]	Processing item: A_6722_13
2023-10-13	12:38:15	1086	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:15	1086	[DEBUG]	Processing product tax
2023-10-13	12:38:15	1086	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:15	1086	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:15	1086	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:15	1086	[DEBUG]	Query for Product
2023-10-13	12:38:15	1086	[DEBUG]	Executed store
2023-10-13	12:38:15	1086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6722_13','0.0248','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:15	1086	[DEBUG]	Check product language entry
2023-10-13	12:38:15	1086	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860578
2023-10-13	12:38:15	1086	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:15	1086	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6722_13' AND `virtuemart_product_id` != 1860578
2023-10-13	12:38:15	1086	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:15	1086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860578, 'A_6722_13')
2023-10-13	12:38:15	1086	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:15	1086	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-maillons-de-chaine-msc-12v-1-unite-argent' AND `virtuemart_product_id` != 1860578
2023-10-13	12:38:15	1086	[DEBUG]	Query for ProductLang
2023-10-13	12:38:15	1086	[DEBUG]	Executed store
2023-10-13	12:38:15	1086	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Maillons de chaîne MSC 11v. 10 sets, 24.8 gr.<br>N° art fourn : ESLA12',`product_name`='MSC Maillons de chaîne MSC 12v., 1 unité  / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-maillons-de-chaine-msc-12v-1-unite-argent' WHERE `virtuemart_product_id` = '1860578'
2023-10-13	12:38:15	1086	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32798_maillons_de_chaîne_msc_12v_,_1_unite_.jpg
2023-10-13	12:38:15	1086	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:15	1086	[DEBUG]	Process image file
2023-10-13	12:38:15	1086	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:15	1086	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:15	1086	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32798_maillons_de_chaîne_msc_12v_,_1_unite_.jpg
2023-10-13	12:38:15	1086	[DEBUG]	Full name target: bcprisme/32798_maillons_de_chaîne_msc_12v_,_1_unite_.jpg
2023-10-13	12:38:16	1086	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:16	1086	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32798_maillons_de_chaîne_msc_12v_,_1_unite_.jpg'
2023-10-13	12:38:16	1086	[DEBUG]	Query for Media
2023-10-13	12:38:16	1086	[DEBUG]	Executed store
2023-10-13	12:38:16	1086	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32798_maillons_de_chaîne_msc_12v_,_1_unite_.jpg',`file_url_thumb`='bcprisme/32798_maillons_de_chaîne_msc_12v_,_1_unite_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12557'
2023-10-13	12:38:16	1086	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:16	1086	[DEBUG]	Executed store
2023-10-13	12:38:16	1086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860578','12557','1')
2023-10-13	12:38:16	1086	[DEBUG]	Store product image relation
2023-10-13	12:38:16	1086	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:16	1086	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860578 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:16	1086	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:16	1086	[DEBUG]	Executed store
2023-10-13	12:38:16	1086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860578','0','5.10677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:16	1086	[DEBUG]	Checking manufacturer
2023-10-13	12:38:16	1086	[DEBUG]	Load a row
2023-10-13	12:38:16	1086	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:16	1086	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:16	1086	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:16	1086	[DEBUG]	Executed store
2023-10-13	12:38:16	1086	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:16	1086	[DEBUG]	Manufacturer exists
2023-10-13	12:38:16	1086	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:38:16	1086	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:16	1086	[DEBUG]	Executed store
2023-10-13	12:38:16	1086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860578','32')
2023-10-13	12:38:16	1086	[DEBUG]	Find the custom field ID
2023-10-13	12:38:16	1086	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:16	1086	[DEBUG]	No custom field ID found
2023-10-13	12:38:16	1086	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:16	1086	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:38:16	1086	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860578 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:16	1086	[DEBUG]	Store custom available field
2023-10-13	12:38:16	1086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860578,3,'49.7613888888889',1)
2023-10-13	12:38:16	1086	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:16	1086	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:16	1086	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860578 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:16	1086	[DEBUG]	Store custom available field
2023-10-13	12:38:16	1086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860578,6,'choisir la taille',3)
2023-10-13	12:38:16	1086	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:16	1086	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:16	1086	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:16	1086	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:16	1086	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860578 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:16	1086	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:16	1086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860578,8,1)
2023-10-13	12:38:16	1086	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:16	1086	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860578\":[1860578,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860578
2023-10-13	12:38:16	1086	[DEBUG]	Checking category
2023-10-13	12:38:16	1086	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:16	1086	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860578
2023-10-13	12:38:16	1086	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:16	1086	[DEBUG]	Executed store
2023-10-13	12:38:16	1086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860578','7287')
2023-10-13	12:38:16	1086	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:16	1086	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860578 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:16	1086	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:16	1086	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860578
2023-10-13	12:38:16	1087	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:16	1087	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:16	1087	[DEBUG]	Use field value for field taille
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:16	1087	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:16	1087	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:16	1087	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:16	1087	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:16	1087	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:16	1087	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:16	1087	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:16	1087	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:16	1087	[DEBUG]	Use field value for field published
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:16	1087	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field override
2023-10-13	12:38:16	1087	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:16	1087	[DEBUG]	Use field value for field slug
2023-10-13	12:38:16	1087	[DEBUG]	Process line 1087
2023-10-13	12:38:16	1087	[DEBUG]	Load a row
2023-10-13	12:38:16	1087	[DEBUG]	Processing item: 8435466215774
2023-10-13	12:38:16	1087	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:16	1087	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:16	1087	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6722_13'
2023-10-13	12:38:16	1087	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:16	1087	[DEBUG]	Processing product tax
2023-10-13	12:38:16	1087	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:16	1087	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:16	1087	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:16	1087	[DEBUG]	Query for Product
2023-10-13	12:38:16	1087	[DEBUG]	Executed store
2023-10-13	12:38:16	1087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860578','8435466215774','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:16	1087	[DEBUG]	No parent found
2023-10-13	12:38:16	1087	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860578 AND customfield_value = 'stockable'
2023-10-13	12:38:16	1087	[DEBUG]	Check product language entry
2023-10-13	12:38:16	1087	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860579
2023-10-13	12:38:16	1087	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:16	1087	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215774' AND `virtuemart_product_id` != 1860579
2023-10-13	12:38:16	1087	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:16	1087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860579, '8435466215774')
2023-10-13	12:38:16	1087	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:16	1087	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-maillons-de-chaine-msc-12v-1-unite-argent-unitaire' AND `virtuemart_product_id` != 1860579
2023-10-13	12:38:16	1087	[DEBUG]	Query for ProductLang
2023-10-13	12:38:16	1087	[DEBUG]	Executed store
2023-10-13	12:38:16	1087	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Maillons de chaîne MSC 12v., 1 unité  / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-maillons-de-chaine-msc-12v-1-unite-argent-unitaire' WHERE `virtuemart_product_id` = '1860579'
2023-10-13	12:38:16	1087	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32798_maillons_de_chaîne_msc_12v_,_1_unite_.jpg
2023-10-13	12:38:16	1087	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:16	1087	[DEBUG]	Process image file
2023-10-13	12:38:16	1087	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:16	1087	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:16	1087	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32798_maillons_de_chaîne_msc_12v_,_1_unite_.jpg
2023-10-13	12:38:16	1087	[DEBUG]	Full name target: bcprisme/32798_maillons_de_chaîne_msc_12v_,_1_unite_.jpg
2023-10-13	12:38:17	1087	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:17	1087	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32798_maillons_de_chaîne_msc_12v_,_1_unite_.jpg'
2023-10-13	12:38:17	1087	[DEBUG]	Query for Media
2023-10-13	12:38:17	1087	[DEBUG]	Executed store
2023-10-13	12:38:17	1087	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32798_maillons_de_chaîne_msc_12v_,_1_unite_.jpg',`file_url_thumb`='bcprisme/32798_maillons_de_chaîne_msc_12v_,_1_unite_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12557'
2023-10-13	12:38:17	1087	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:17	1087	[DEBUG]	Executed store
2023-10-13	12:38:17	1087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860579','12557','1')
2023-10-13	12:38:17	1087	[DEBUG]	Store product image relation
2023-10-13	12:38:17	1087	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:17	1087	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860579 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:17	1087	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:17	1087	[DEBUG]	Executed store
2023-10-13	12:38:17	1087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860579','0','5.10677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:17	1087	[DEBUG]	Checking manufacturer
2023-10-13	12:38:17	1087	[DEBUG]	Load a row
2023-10-13	12:38:17	1087	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:17	1087	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:17	1087	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:17	1087	[DEBUG]	Executed store
2023-10-13	12:38:17	1087	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:17	1087	[DEBUG]	Manufacturer exists
2023-10-13	12:38:17	1087	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:38:17	1087	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:17	1087	[DEBUG]	Executed store
2023-10-13	12:38:17	1087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860579','32')
2023-10-13	12:38:17	1087	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:17	1087	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:17	1087	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860579 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:17	1087	[DEBUG]	Store custom available field
2023-10-13	12:38:17	1087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860579,3,'',1)
2023-10-13	12:38:17	1087	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:17	1087	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:17	1087	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860579 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:17	1087	[DEBUG]	Store custom available field
2023-10-13	12:38:17	1087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860579,6,'Unitaire',3)
2023-10-13	12:38:17	1087	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:17	1087	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:17	1087	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860578
2023-10-13	12:38:17	1087	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:17	1087	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860578\":[1860578,8,1,\"choisir la taille\"],\"1860579\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860578
2023-10-13	12:38:17	1087	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:17	1087	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860579
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:17	1088	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field taille
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:17	1088	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:17	1088	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:17	1088	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:17	1088	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:17	1088	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:17	1088	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field published
2023-10-13	12:38:17	1088	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:17	1088	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field override
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:17	1088	[DEBUG]	Use field value for field slug
2023-10-13	12:38:17	1088	[DEBUG]	Process line 1088
2023-10-13	12:38:17	1088	[DEBUG]	Load a row
2023-10-13	12:38:17	1088	[DEBUG]	Processing item: A_6761_4
2023-10-13	12:38:17	1088	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:17	1088	[DEBUG]	Processing product tax
2023-10-13	12:38:17	1088	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:17	1088	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:17	1088	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:17	1088	[DEBUG]	Query for Product
2023-10-13	12:38:17	1088	[DEBUG]	Executed store
2023-10-13	12:38:17	1088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6761_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:17	1088	[DEBUG]	Check product language entry
2023-10-13	12:38:17	1088	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860580
2023-10-13	12:38:17	1088	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:17	1088	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6761_4' AND `virtuemart_product_id` != 1860580
2023-10-13	12:38:17	1088	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:17	1088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860580, 'A_6761_4')
2023-10-13	12:38:17	1088	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:17	1088	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn--m8100-126-l-12-vitesses-acier' AND `virtuemart_product_id` != 1860580
2023-10-13	12:38:17	1088	[DEBUG]	Query for ProductLang
2023-10-13	12:38:17	1088	[DEBUG]	Executed store
2023-10-13	12:38:17	1088	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.75163',`product_name`='SHIMANO Chaîne SHIMANO CN--M8100 126 L 12 vitesses / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn--m8100-126-l-12-vitesses-acier' WHERE `virtuemart_product_id` = '1860580'
2023-10-13	12:38:17	1088	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32987_shimano_chaine_cn--m8100_126_l_12_vitesses.jpg
2023-10-13	12:38:17	1088	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:17	1088	[DEBUG]	Process image file
2023-10-13	12:38:17	1088	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:17	1088	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:17	1088	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32987_shimano_chaine_cn--m8100_126_l_12_vitesses.jpg
2023-10-13	12:38:17	1088	[DEBUG]	Full name target: bcprisme/32987_shimano_chaine_cn--m8100_126_l_12_vitesses.jpg
2023-10-13	12:38:18	1088	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:18	1088	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32987_shimano_chaine_cn--m8100_126_l_12_vitesses.jpg'
2023-10-13	12:38:18	1088	[DEBUG]	Query for Media
2023-10-13	12:38:18	1088	[DEBUG]	Executed store
2023-10-13	12:38:18	1088	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32987_shimano_chaine_cn--m8100_126_l_12_vitesses.jpg',`file_url_thumb`='bcprisme/32987_shimano_chaine_cn--m8100_126_l_12_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12558'
2023-10-13	12:38:18	1088	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:18	1088	[DEBUG]	Executed store
2023-10-13	12:38:18	1088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860580','12558','1')
2023-10-13	12:38:18	1088	[DEBUG]	Store product image relation
2023-10-13	12:38:18	1088	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:18	1088	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860580 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:18	1088	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:18	1088	[DEBUG]	Executed store
2023-10-13	12:38:18	1088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860580','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:18	1088	[DEBUG]	Checking manufacturer
2023-10-13	12:38:18	1088	[DEBUG]	Load a row
2023-10-13	12:38:18	1088	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:18	1088	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:18	1088	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:18	1088	[DEBUG]	Executed store
2023-10-13	12:38:18	1088	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:18	1088	[DEBUG]	Manufacturer exists
2023-10-13	12:38:18	1088	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:38:18	1088	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:18	1088	[DEBUG]	Executed store
2023-10-13	12:38:18	1088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860580','26')
2023-10-13	12:38:18	1088	[DEBUG]	Find the custom field ID
2023-10-13	12:38:18	1088	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:18	1088	[DEBUG]	No custom field ID found
2023-10-13	12:38:18	1088	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:18	1088	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:18	1088	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860580 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:18	1088	[DEBUG]	Store custom available field
2023-10-13	12:38:18	1088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860580,3,'0',1)
2023-10-13	12:38:18	1088	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:18	1088	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:18	1088	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860580 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:18	1088	[DEBUG]	Store custom available field
2023-10-13	12:38:18	1088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860580,6,'choisir la taille',3)
2023-10-13	12:38:18	1088	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:18	1088	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:18	1088	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:18	1088	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:18	1088	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860580 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:18	1088	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:18	1088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860580,8,1)
2023-10-13	12:38:18	1088	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:18	1088	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860580\":[1860580,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860580
2023-10-13	12:38:18	1088	[DEBUG]	Checking category
2023-10-13	12:38:18	1088	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:18	1088	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860580
2023-10-13	12:38:18	1088	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:18	1088	[DEBUG]	Executed store
2023-10-13	12:38:18	1088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860580','7287')
2023-10-13	12:38:18	1088	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:18	1088	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860580 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:18	1088	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:18	1088	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860580
2023-10-13	12:38:18	1089	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:18	1089	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:18	1089	[DEBUG]	Use field value for field taille
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:18	1089	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:18	1089	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:18	1089	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:18	1089	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:18	1089	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:18	1089	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:18	1089	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:18	1089	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:18	1089	[DEBUG]	Use field value for field published
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:18	1089	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field override
2023-10-13	12:38:18	1089	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:18	1089	[DEBUG]	Use field value for field slug
2023-10-13	12:38:18	1089	[DEBUG]	Process line 1089
2023-10-13	12:38:18	1089	[DEBUG]	Load a row
2023-10-13	12:38:18	1089	[DEBUG]	Processing item: 4550170443900
2023-10-13	12:38:18	1089	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:18	1089	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:18	1089	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6761_4'
2023-10-13	12:38:18	1089	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:18	1089	[DEBUG]	Processing product tax
2023-10-13	12:38:18	1089	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:18	1089	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:18	1089	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:18	1089	[DEBUG]	Query for Product
2023-10-13	12:38:18	1089	[DEBUG]	Executed store
2023-10-13	12:38:18	1089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860580','4550170443900','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:18	1089	[DEBUG]	No parent found
2023-10-13	12:38:18	1089	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860580 AND customfield_value = 'stockable'
2023-10-13	12:38:18	1089	[DEBUG]	Check product language entry
2023-10-13	12:38:18	1089	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860581
2023-10-13	12:38:18	1089	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:18	1089	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170443900' AND `virtuemart_product_id` != 1860581
2023-10-13	12:38:18	1089	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:18	1089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860581, '4550170443900')
2023-10-13	12:38:18	1089	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:18	1089	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn--m8100-126-l-12-vitesses-acier-unitaire' AND `virtuemart_product_id` != 1860581
2023-10-13	12:38:18	1089	[DEBUG]	Query for ProductLang
2023-10-13	12:38:18	1089	[DEBUG]	Executed store
2023-10-13	12:38:18	1089	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN--M8100 126 L 12 vitesses / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn--m8100-126-l-12-vitesses-acier-unitaire' WHERE `virtuemart_product_id` = '1860581'
2023-10-13	12:38:18	1089	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32987_shimano_chaine_cn--m8100_126_l_12_vitesses.jpg
2023-10-13	12:38:18	1089	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:18	1089	[DEBUG]	Process image file
2023-10-13	12:38:18	1089	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:18	1089	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:18	1089	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32987_shimano_chaine_cn--m8100_126_l_12_vitesses.jpg
2023-10-13	12:38:18	1089	[DEBUG]	Full name target: bcprisme/32987_shimano_chaine_cn--m8100_126_l_12_vitesses.jpg
2023-10-13	12:38:19	1089	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:19	1089	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32987_shimano_chaine_cn--m8100_126_l_12_vitesses.jpg'
2023-10-13	12:38:19	1089	[DEBUG]	Query for Media
2023-10-13	12:38:19	1089	[DEBUG]	Executed store
2023-10-13	12:38:19	1089	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32987_shimano_chaine_cn--m8100_126_l_12_vitesses.jpg',`file_url_thumb`='bcprisme/32987_shimano_chaine_cn--m8100_126_l_12_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12558'
2023-10-13	12:38:19	1089	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:19	1089	[DEBUG]	Executed store
2023-10-13	12:38:19	1089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860581','12558','1')
2023-10-13	12:38:19	1089	[DEBUG]	Store product image relation
2023-10-13	12:38:19	1089	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:19	1089	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860581 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:19	1089	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:19	1089	[DEBUG]	Executed store
2023-10-13	12:38:19	1089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860581','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:19	1089	[DEBUG]	Checking manufacturer
2023-10-13	12:38:19	1089	[DEBUG]	Load a row
2023-10-13	12:38:19	1089	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:19	1089	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:19	1089	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:19	1089	[DEBUG]	Executed store
2023-10-13	12:38:19	1089	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:19	1089	[DEBUG]	Manufacturer exists
2023-10-13	12:38:19	1089	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:38:19	1089	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:19	1089	[DEBUG]	Executed store
2023-10-13	12:38:19	1089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860581','26')
2023-10-13	12:38:19	1089	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:19	1089	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:19	1089	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860581 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:19	1089	[DEBUG]	Store custom available field
2023-10-13	12:38:19	1089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860581,3,'',1)
2023-10-13	12:38:19	1089	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:19	1089	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:19	1089	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860581 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:19	1089	[DEBUG]	Store custom available field
2023-10-13	12:38:19	1089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860581,6,'Unitaire',3)
2023-10-13	12:38:19	1089	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:19	1089	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:19	1089	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860580
2023-10-13	12:38:19	1089	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:19	1089	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860580\":[1860580,8,1,\"choisir la taille\"],\"1860581\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860580
2023-10-13	12:38:19	1089	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:19	1089	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860581
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:19	1090	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field taille
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:19	1090	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:19	1090	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:19	1090	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:19	1090	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:19	1090	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:19	1090	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field published
2023-10-13	12:38:19	1090	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:19	1090	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field override
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:19	1090	[DEBUG]	Use field value for field slug
2023-10-13	12:38:19	1090	[DEBUG]	Process line 1090
2023-10-13	12:38:19	1090	[DEBUG]	Load a row
2023-10-13	12:38:19	1090	[DEBUG]	Processing item: A_6875_4
2023-10-13	12:38:19	1090	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:19	1090	[DEBUG]	Processing product tax
2023-10-13	12:38:19	1090	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:19	1090	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:19	1090	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:19	1090	[DEBUG]	Query for Product
2023-10-13	12:38:19	1090	[DEBUG]	Executed store
2023-10-13	12:38:19	1090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6875_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:19	1090	[DEBUG]	Check product language entry
2023-10-13	12:38:19	1090	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860582
2023-10-13	12:38:19	1090	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:19	1090	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6875_4' AND `virtuemart_product_id` != 1860582
2023-10-13	12:38:19	1090	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:19	1090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860582, 'A_6875_4')
2023-10-13	12:38:19	1090	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:19	1090	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-xt-cn-m8100-12-vitesses-acier' AND `virtuemart_product_id` != 1860582
2023-10-13	12:38:19	1090	[DEBUG]	Query for ProductLang
2023-10-13	12:38:19	1090	[DEBUG]	Executed store
2023-10-13	12:38:19	1090	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.75164',`product_name`='SHIMANO Chaîne SHIMANO XT CN-M8100 12 vitesses / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-xt-cn-m8100-12-vitesses-acier' WHERE `virtuemart_product_id` = '1860582'
2023-10-13	12:38:19	1090	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75164.jpg
2023-10-13	12:38:19	1090	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:19	1090	[DEBUG]	Process image file
2023-10-13	12:38:19	1090	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:19	1090	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:19	1090	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75164.jpg
2023-10-13	12:38:19	1090	[DEBUG]	Full name target: bcprisme/68_75164.jpg
2023-10-13	12:38:20	1090	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:20	1090	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_75164.jpg'
2023-10-13	12:38:20	1090	[DEBUG]	Query for Media
2023-10-13	12:38:20	1090	[DEBUG]	Executed store
2023-10-13	12:38:20	1090	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_75164.jpg',`file_url_thumb`='bcprisme/68_75164.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '214460'
2023-10-13	12:38:20	1090	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:20	1090	[DEBUG]	Executed store
2023-10-13	12:38:20	1090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860582','214460','1')
2023-10-13	12:38:20	1090	[DEBUG]	Store product image relation
2023-10-13	12:38:20	1090	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:20	1090	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860582 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:20	1090	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:20	1090	[DEBUG]	Executed store
2023-10-13	12:38:20	1090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860582','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:20	1090	[DEBUG]	Checking manufacturer
2023-10-13	12:38:20	1090	[DEBUG]	Load a row
2023-10-13	12:38:20	1090	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:20	1090	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:20	1090	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:20	1090	[DEBUG]	Executed store
2023-10-13	12:38:20	1090	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:20	1090	[DEBUG]	Manufacturer exists
2023-10-13	12:38:20	1090	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:38:20	1090	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:20	1090	[DEBUG]	Executed store
2023-10-13	12:38:20	1090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860582','26')
2023-10-13	12:38:20	1090	[DEBUG]	Find the custom field ID
2023-10-13	12:38:20	1090	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:20	1090	[DEBUG]	No custom field ID found
2023-10-13	12:38:20	1090	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:20	1090	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:20	1090	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860582 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:20	1090	[DEBUG]	Store custom available field
2023-10-13	12:38:20	1090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860582,3,'0',1)
2023-10-13	12:38:20	1090	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:20	1090	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:20	1090	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860582 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:20	1090	[DEBUG]	Store custom available field
2023-10-13	12:38:20	1090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860582,6,'choisir la taille',3)
2023-10-13	12:38:20	1090	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:20	1090	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:20	1090	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:20	1090	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:20	1090	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860582 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:20	1090	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:20	1090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860582,8,1)
2023-10-13	12:38:20	1090	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:20	1090	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860582\":[1860582,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860582
2023-10-13	12:38:20	1090	[DEBUG]	Checking category
2023-10-13	12:38:20	1090	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:20	1090	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860582
2023-10-13	12:38:20	1090	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:20	1090	[DEBUG]	Executed store
2023-10-13	12:38:20	1090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860582','7287')
2023-10-13	12:38:20	1090	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:20	1090	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860582 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:20	1090	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:20	1090	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860582
2023-10-13	12:38:20	1091	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:20	1091	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:20	1091	[DEBUG]	Use field value for field taille
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:20	1091	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:20	1091	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:20	1091	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:20	1091	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:20	1091	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:20	1091	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:20	1091	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:20	1091	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:20	1091	[DEBUG]	Use field value for field published
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:20	1091	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field override
2023-10-13	12:38:20	1091	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:20	1091	[DEBUG]	Use field value for field slug
2023-10-13	12:38:20	1091	[DEBUG]	Process line 1091
2023-10-13	12:38:20	1091	[DEBUG]	Load a row
2023-10-13	12:38:20	1091	[DEBUG]	Processing item: 4550170443894
2023-10-13	12:38:20	1091	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:20	1091	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:20	1091	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6875_4'
2023-10-13	12:38:20	1091	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:20	1091	[DEBUG]	Processing product tax
2023-10-13	12:38:20	1091	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:20	1091	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:20	1091	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:20	1091	[DEBUG]	Query for Product
2023-10-13	12:38:20	1091	[DEBUG]	Executed store
2023-10-13	12:38:20	1091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860582','4550170443894','0','KG','M','','10','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:20	1091	[DEBUG]	No parent found
2023-10-13	12:38:20	1091	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860582 AND customfield_value = 'stockable'
2023-10-13	12:38:20	1091	[DEBUG]	Check product language entry
2023-10-13	12:38:20	1091	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860583
2023-10-13	12:38:20	1091	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:20	1091	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170443894' AND `virtuemart_product_id` != 1860583
2023-10-13	12:38:20	1091	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:20	1091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860583, '4550170443894')
2023-10-13	12:38:20	1091	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:20	1091	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-xt-cn-m8100-12-vitesses-acier-unitaire' AND `virtuemart_product_id` != 1860583
2023-10-13	12:38:20	1091	[DEBUG]	Query for ProductLang
2023-10-13	12:38:20	1091	[DEBUG]	Executed store
2023-10-13	12:38:20	1091	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO XT CN-M8100 12 vitesses / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-xt-cn-m8100-12-vitesses-acier-unitaire' WHERE `virtuemart_product_id` = '1860583'
2023-10-13	12:38:20	1091	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75164.jpg
2023-10-13	12:38:20	1091	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:20	1091	[DEBUG]	Process image file
2023-10-13	12:38:20	1091	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:20	1091	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:20	1091	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75164.jpg
2023-10-13	12:38:20	1091	[DEBUG]	Full name target: bcprisme/68_75164.jpg
2023-10-13	12:38:21	1091	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:21	1091	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_75164.jpg'
2023-10-13	12:38:21	1091	[DEBUG]	Query for Media
2023-10-13	12:38:21	1091	[DEBUG]	Executed store
2023-10-13	12:38:21	1091	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_75164.jpg',`file_url_thumb`='bcprisme/68_75164.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '214460'
2023-10-13	12:38:21	1091	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:21	1091	[DEBUG]	Executed store
2023-10-13	12:38:21	1091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860583','214460','1')
2023-10-13	12:38:21	1091	[DEBUG]	Store product image relation
2023-10-13	12:38:21	1091	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:21	1091	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860583 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:21	1091	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:21	1091	[DEBUG]	Executed store
2023-10-13	12:38:21	1091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860583','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:21	1091	[DEBUG]	Checking manufacturer
2023-10-13	12:38:21	1091	[DEBUG]	Load a row
2023-10-13	12:38:21	1091	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:21	1091	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:21	1091	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:21	1091	[DEBUG]	Executed store
2023-10-13	12:38:21	1091	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:21	1091	[DEBUG]	Manufacturer exists
2023-10-13	12:38:21	1091	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:38:21	1091	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:21	1091	[DEBUG]	Executed store
2023-10-13	12:38:21	1091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860583','26')
2023-10-13	12:38:21	1091	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:21	1091	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:21	1091	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860583 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:21	1091	[DEBUG]	Store custom available field
2023-10-13	12:38:21	1091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860583,3,'',1)
2023-10-13	12:38:21	1091	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:21	1091	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:21	1091	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860583 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:21	1091	[DEBUG]	Store custom available field
2023-10-13	12:38:21	1091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860583,6,'Unitaire',3)
2023-10-13	12:38:21	1091	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:21	1091	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:21	1091	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860582
2023-10-13	12:38:21	1091	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:21	1091	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860582\":[1860582,8,1,\"choisir la taille\"],\"1860583\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860582
2023-10-13	12:38:21	1091	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:21	1091	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860583
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:21	1092	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field taille
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:21	1092	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:21	1092	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:21	1092	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:21	1092	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:21	1092	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:21	1092	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field published
2023-10-13	12:38:21	1092	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:21	1092	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field override
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:21	1092	[DEBUG]	Use field value for field slug
2023-10-13	12:38:21	1092	[DEBUG]	Process line 1092
2023-10-13	12:38:21	1092	[DEBUG]	Load a row
2023-10-13	12:38:21	1092	[DEBUG]	Processing item: A_6955_13
2023-10-13	12:38:21	1092	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:21	1092	[DEBUG]	Processing product tax
2023-10-13	12:38:21	1092	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:21	1092	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:21	1092	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:21	1092	[DEBUG]	Query for Product
2023-10-13	12:38:21	1092	[DEBUG]	Executed store
2023-10-13	12:38:21	1092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6955_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:21	1092	[DEBUG]	Check product language entry
2023-10-13	12:38:21	1092	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860584
2023-10-13	12:38:21	1092	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:21	1092	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6955_13' AND `virtuemart_product_id` != 1860584
2023-10-13	12:38:21	1092	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:21	1092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860584, 'A_6955_13')
2023-10-13	12:38:21	1092	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:21	1092	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-red-d1-114-maillons-12-vitesses-power-lock-argent' AND `virtuemart_product_id` != 1860584
2023-10-13	12:38:21	1092	[DEBUG]	Query for ProductLang
2023-10-13	12:38:21	1092	[DEBUG]	Executed store
2023-10-13	12:38:21	1092	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7547O',`product_name`='SRAM Chaîne RED D1 114 maillons 12 vitesses Power-Lock / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-red-d1-114-maillons-12-vitesses-power-lock-argent' WHERE `virtuemart_product_id` = '1860584'
2023-10-13	12:38:21	1092	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34090_chaîne_red_d1_114_maillons_12_vitesses_power-lock.jpg
2023-10-13	12:38:21	1092	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:21	1092	[DEBUG]	Process image file
2023-10-13	12:38:21	1092	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:21	1092	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:21	1092	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34090_chaîne_red_d1_114_maillons_12_vitesses_power-lock.jpg
2023-10-13	12:38:21	1092	[DEBUG]	Full name target: bcprisme/34090_chaîne_red_d1_114_maillons_12_vitesses_power-lock.jpg
2023-10-13	12:38:22	1092	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:22	1092	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34090_chaîne_red_d1_114_maillons_12_vitesses_power-lock.jpg'
2023-10-13	12:38:22	1092	[DEBUG]	Query for Media
2023-10-13	12:38:22	1092	[DEBUG]	Executed store
2023-10-13	12:38:22	1092	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34090_chaîne_red_d1_114_maillons_12_vitesses_power-lock.jpg',`file_url_thumb`='bcprisme/34090_chaîne_red_d1_114_maillons_12_vitesses_power-lock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16551'
2023-10-13	12:38:22	1092	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:22	1092	[DEBUG]	Executed store
2023-10-13	12:38:22	1092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860584','16551','1')
2023-10-13	12:38:22	1092	[DEBUG]	Store product image relation
2023-10-13	12:38:22	1092	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:22	1092	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860584 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:22	1092	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:22	1092	[DEBUG]	Executed store
2023-10-13	12:38:22	1092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860584','0','81.6155988857939','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:22	1092	[DEBUG]	Checking manufacturer
2023-10-13	12:38:22	1092	[DEBUG]	Load a row
2023-10-13	12:38:22	1092	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:22	1092	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:22	1092	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:22	1092	[DEBUG]	Executed store
2023-10-13	12:38:22	1092	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:22	1092	[DEBUG]	Manufacturer exists
2023-10-13	12:38:22	1092	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:22	1092	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:22	1092	[DEBUG]	Executed store
2023-10-13	12:38:22	1092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860584','35')
2023-10-13	12:38:22	1092	[DEBUG]	Find the custom field ID
2023-10-13	12:38:22	1092	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:22	1092	[DEBUG]	No custom field ID found
2023-10-13	12:38:22	1092	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:22	1092	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:22	1092	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860584 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:22	1092	[DEBUG]	Store custom available field
2023-10-13	12:38:22	1092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860584,3,'0',1)
2023-10-13	12:38:22	1092	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:22	1092	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:22	1092	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860584 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:22	1092	[DEBUG]	Store custom available field
2023-10-13	12:38:22	1092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860584,6,'choisir la taille',3)
2023-10-13	12:38:22	1092	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:22	1092	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:22	1092	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:22	1092	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:22	1092	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860584 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:22	1092	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:22	1092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860584,8,1)
2023-10-13	12:38:22	1092	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:22	1092	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860584\":[1860584,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860584
2023-10-13	12:38:22	1092	[DEBUG]	Checking category
2023-10-13	12:38:22	1092	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:22	1092	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860584
2023-10-13	12:38:22	1092	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:22	1092	[DEBUG]	Executed store
2023-10-13	12:38:22	1092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860584','7287')
2023-10-13	12:38:22	1092	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:22	1092	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860584 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:22	1092	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:22	1092	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860584
2023-10-13	12:38:22	1093	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:22	1093	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:22	1093	[DEBUG]	Use field value for field taille
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:22	1093	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:22	1093	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:22	1093	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:22	1093	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:22	1093	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:22	1093	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:22	1093	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:22	1093	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:22	1093	[DEBUG]	Use field value for field published
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:22	1093	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field override
2023-10-13	12:38:22	1093	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:22	1093	[DEBUG]	Use field value for field slug
2023-10-13	12:38:22	1093	[DEBUG]	Process line 1093
2023-10-13	12:38:22	1093	[DEBUG]	Load a row
2023-10-13	12:38:22	1093	[DEBUG]	Processing item: 710845824807
2023-10-13	12:38:22	1093	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:22	1093	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:22	1093	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6955_13'
2023-10-13	12:38:22	1093	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:22	1093	[DEBUG]	Processing product tax
2023-10-13	12:38:22	1093	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:22	1093	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:22	1093	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:22	1093	[DEBUG]	Query for Product
2023-10-13	12:38:22	1093	[DEBUG]	Executed store
2023-10-13	12:38:22	1093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860584','710845824807','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:22	1093	[DEBUG]	No parent found
2023-10-13	12:38:22	1093	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860584 AND customfield_value = 'stockable'
2023-10-13	12:38:22	1093	[DEBUG]	Check product language entry
2023-10-13	12:38:22	1093	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860585
2023-10-13	12:38:22	1093	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:22	1093	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845824807' AND `virtuemart_product_id` != 1860585
2023-10-13	12:38:22	1093	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:22	1093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860585, '710845824807')
2023-10-13	12:38:22	1093	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:22	1093	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-red-d1-114-maillons-12-vitesses-power-lock-argent-unitaire' AND `virtuemart_product_id` != 1860585
2023-10-13	12:38:22	1093	[DEBUG]	Query for ProductLang
2023-10-13	12:38:22	1093	[DEBUG]	Executed store
2023-10-13	12:38:22	1093	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne RED D1 114 maillons 12 vitesses Power-Lock / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-red-d1-114-maillons-12-vitesses-power-lock-argent-unitaire' WHERE `virtuemart_product_id` = '1860585'
2023-10-13	12:38:22	1093	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34090_chaîne_red_d1_114_maillons_12_vitesses_power-lock.jpg
2023-10-13	12:38:22	1093	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:22	1093	[DEBUG]	Process image file
2023-10-13	12:38:22	1093	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:22	1093	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:22	1093	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34090_chaîne_red_d1_114_maillons_12_vitesses_power-lock.jpg
2023-10-13	12:38:22	1093	[DEBUG]	Full name target: bcprisme/34090_chaîne_red_d1_114_maillons_12_vitesses_power-lock.jpg
2023-10-13	12:38:23	1093	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:23	1093	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34090_chaîne_red_d1_114_maillons_12_vitesses_power-lock.jpg'
2023-10-13	12:38:23	1093	[DEBUG]	Query for Media
2023-10-13	12:38:23	1093	[DEBUG]	Executed store
2023-10-13	12:38:23	1093	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34090_chaîne_red_d1_114_maillons_12_vitesses_power-lock.jpg',`file_url_thumb`='bcprisme/34090_chaîne_red_d1_114_maillons_12_vitesses_power-lock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16551'
2023-10-13	12:38:23	1093	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:23	1093	[DEBUG]	Executed store
2023-10-13	12:38:23	1093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860585','16551','1')
2023-10-13	12:38:23	1093	[DEBUG]	Store product image relation
2023-10-13	12:38:23	1093	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:23	1093	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860585 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:23	1093	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:23	1093	[DEBUG]	Executed store
2023-10-13	12:38:23	1093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860585','0','81.6155988857939','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:23	1093	[DEBUG]	Checking manufacturer
2023-10-13	12:38:23	1093	[DEBUG]	Load a row
2023-10-13	12:38:23	1093	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:23	1093	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:23	1093	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:23	1093	[DEBUG]	Executed store
2023-10-13	12:38:23	1093	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:23	1093	[DEBUG]	Manufacturer exists
2023-10-13	12:38:23	1093	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:23	1093	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:23	1093	[DEBUG]	Executed store
2023-10-13	12:38:23	1093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860585','35')
2023-10-13	12:38:23	1093	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:23	1093	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:23	1093	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860585 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:23	1093	[DEBUG]	Store custom available field
2023-10-13	12:38:23	1093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860585,3,'',1)
2023-10-13	12:38:23	1093	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:23	1093	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:23	1093	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860585 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:23	1093	[DEBUG]	Store custom available field
2023-10-13	12:38:23	1093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860585,6,'Unitaire',3)
2023-10-13	12:38:23	1093	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:23	1093	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:23	1093	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860584
2023-10-13	12:38:23	1093	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:23	1093	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860584\":[1860584,8,1,\"choisir la taille\"],\"1860585\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860584
2023-10-13	12:38:23	1093	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:23	1093	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860585
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:23	1094	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field taille
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:23	1094	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:23	1094	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:23	1094	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:23	1094	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:23	1094	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:23	1094	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field published
2023-10-13	12:38:23	1094	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:23	1094	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field override
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:23	1094	[DEBUG]	Use field value for field slug
2023-10-13	12:38:23	1094	[DEBUG]	Process line 1094
2023-10-13	12:38:23	1094	[DEBUG]	Load a row
2023-10-13	12:38:23	1094	[DEBUG]	Processing item: A_7051_4
2023-10-13	12:38:23	1094	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:23	1094	[DEBUG]	Processing product tax
2023-10-13	12:38:23	1094	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:23	1094	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:23	1094	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:23	1094	[DEBUG]	Query for Product
2023-10-13	12:38:23	1094	[DEBUG]	Executed store
2023-10-13	12:38:23	1094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7051_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:23	1094	[DEBUG]	Check product language entry
2023-10-13	12:38:23	1094	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860586
2023-10-13	12:38:23	1094	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:23	1094	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7051_4' AND `virtuemart_product_id` != 1860586
2023-10-13	12:38:23	1094	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:23	1094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860586, 'A_7051_4')
2023-10-13	12:38:23	1094	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:23	1094	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-quick-link-shimano-sm-cn900-11-1-unite-acier' AND `virtuemart_product_id` != 1860586
2023-10-13	12:38:23	1094	[DEBUG]	Query for ProductLang
2023-10-13	12:38:23	1094	[DEBUG]	Executed store
2023-10-13	12:38:23	1094	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.66573',`product_name`='SHIMANO Quick-Link SHIMANO SM-CN900-11, 1 unité / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-quick-link-shimano-sm-cn900-11-1-unite-acier' WHERE `virtuemart_product_id` = '1860586'
2023-10-13	12:38:23	1094	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34199_quick-link_shimano_sm-cn900-11.jpg
2023-10-13	12:38:23	1094	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:23	1094	[DEBUG]	Process image file
2023-10-13	12:38:23	1094	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:23	1094	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:23	1094	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34199_quick-link_shimano_sm-cn900-11.jpg
2023-10-13	12:38:23	1094	[DEBUG]	Full name target: bcprisme/34199_quick-link_shimano_sm-cn900-11.jpg
2023-10-13	12:38:24	1094	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:24	1094	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34199_quick-link_shimano_sm-cn900-11.jpg'
2023-10-13	12:38:24	1094	[DEBUG]	Query for Media
2023-10-13	12:38:24	1094	[DEBUG]	Executed store
2023-10-13	12:38:24	1094	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34199_quick-link_shimano_sm-cn900-11.jpg',`file_url_thumb`='bcprisme/34199_quick-link_shimano_sm-cn900-11.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24198'
2023-10-13	12:38:24	1094	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:24	1094	[DEBUG]	Executed store
2023-10-13	12:38:24	1094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860586','24198','1')
2023-10-13	12:38:24	1094	[DEBUG]	Store product image relation
2023-10-13	12:38:24	1094	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:24	1094	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860586 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:24	1094	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:24	1094	[DEBUG]	Executed store
2023-10-13	12:38:24	1094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860586','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:24	1094	[DEBUG]	Checking manufacturer
2023-10-13	12:38:24	1094	[DEBUG]	Load a row
2023-10-13	12:38:24	1094	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:24	1094	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:24	1094	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:24	1094	[DEBUG]	Executed store
2023-10-13	12:38:24	1094	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:24	1094	[DEBUG]	Manufacturer exists
2023-10-13	12:38:24	1094	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:38:24	1094	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:24	1094	[DEBUG]	Executed store
2023-10-13	12:38:24	1094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860586','26')
2023-10-13	12:38:24	1094	[DEBUG]	Find the custom field ID
2023-10-13	12:38:24	1094	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:24	1094	[DEBUG]	No custom field ID found
2023-10-13	12:38:24	1094	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:24	1094	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:24	1094	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860586 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:24	1094	[DEBUG]	Store custom available field
2023-10-13	12:38:24	1094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860586,3,'0',1)
2023-10-13	12:38:24	1094	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:24	1094	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:24	1094	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860586 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:24	1094	[DEBUG]	Store custom available field
2023-10-13	12:38:24	1094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860586,6,'choisir la taille',3)
2023-10-13	12:38:24	1094	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:24	1094	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:24	1094	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:24	1094	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:24	1094	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860586 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:24	1094	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:24	1094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860586,8,1)
2023-10-13	12:38:24	1094	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:24	1094	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860586\":[1860586,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860586
2023-10-13	12:38:24	1094	[DEBUG]	Checking category
2023-10-13	12:38:24	1094	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:24	1094	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860586
2023-10-13	12:38:24	1094	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:24	1094	[DEBUG]	Executed store
2023-10-13	12:38:24	1094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860586','7287')
2023-10-13	12:38:24	1094	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:24	1094	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860586 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:24	1094	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:24	1094	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860586
2023-10-13	12:38:24	1095	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:24	1095	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:24	1095	[DEBUG]	Use field value for field taille
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:24	1095	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:24	1095	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:24	1095	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:24	1095	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:24	1095	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:24	1095	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:24	1095	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:24	1095	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:24	1095	[DEBUG]	Use field value for field published
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:24	1095	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field override
2023-10-13	12:38:24	1095	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:24	1095	[DEBUG]	Use field value for field slug
2023-10-13	12:38:24	1095	[DEBUG]	Process line 1095
2023-10-13	12:38:24	1095	[DEBUG]	Load a row
2023-10-13	12:38:24	1095	[DEBUG]	Processing item: 4524667415053
2023-10-13	12:38:24	1095	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:24	1095	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:24	1095	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7051_4'
2023-10-13	12:38:24	1095	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:24	1095	[DEBUG]	Processing product tax
2023-10-13	12:38:24	1095	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:24	1095	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:24	1095	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:24	1095	[DEBUG]	Query for Product
2023-10-13	12:38:24	1095	[DEBUG]	Executed store
2023-10-13	12:38:24	1095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860586','4524667415053','0','KG','M','','49','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:24	1095	[DEBUG]	No parent found
2023-10-13	12:38:24	1095	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860586 AND customfield_value = 'stockable'
2023-10-13	12:38:24	1095	[DEBUG]	Check product language entry
2023-10-13	12:38:24	1095	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860587
2023-10-13	12:38:24	1095	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:24	1095	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667415053' AND `virtuemart_product_id` != 1860587
2023-10-13	12:38:24	1095	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:24	1095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860587, '4524667415053')
2023-10-13	12:38:24	1095	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:24	1095	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-quick-link-shimano-sm-cn900-11-1-unite-acier-unitaire' AND `virtuemart_product_id` != 1860587
2023-10-13	12:38:24	1095	[DEBUG]	Query for ProductLang
2023-10-13	12:38:24	1095	[DEBUG]	Executed store
2023-10-13	12:38:24	1095	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Quick-Link SHIMANO SM-CN900-11, 1 unité / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-quick-link-shimano-sm-cn900-11-1-unite-acier-unitaire' WHERE `virtuemart_product_id` = '1860587'
2023-10-13	12:38:24	1095	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34199_quick-link_shimano_sm-cn900-11.jpg
2023-10-13	12:38:24	1095	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:24	1095	[DEBUG]	Process image file
2023-10-13	12:38:24	1095	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:24	1095	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:24	1095	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34199_quick-link_shimano_sm-cn900-11.jpg
2023-10-13	12:38:24	1095	[DEBUG]	Full name target: bcprisme/34199_quick-link_shimano_sm-cn900-11.jpg
2023-10-13	12:38:25	1095	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:25	1095	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34199_quick-link_shimano_sm-cn900-11.jpg'
2023-10-13	12:38:25	1095	[DEBUG]	Query for Media
2023-10-13	12:38:25	1095	[DEBUG]	Executed store
2023-10-13	12:38:25	1095	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34199_quick-link_shimano_sm-cn900-11.jpg',`file_url_thumb`='bcprisme/34199_quick-link_shimano_sm-cn900-11.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24198'
2023-10-13	12:38:25	1095	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:25	1095	[DEBUG]	Executed store
2023-10-13	12:38:25	1095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860587','24198','1')
2023-10-13	12:38:25	1095	[DEBUG]	Store product image relation
2023-10-13	12:38:25	1095	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:25	1095	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860587 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:25	1095	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:25	1095	[DEBUG]	Executed store
2023-10-13	12:38:25	1095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860587','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:25	1095	[DEBUG]	Checking manufacturer
2023-10-13	12:38:25	1095	[DEBUG]	Load a row
2023-10-13	12:38:25	1095	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:25	1095	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:25	1095	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:25	1095	[DEBUG]	Executed store
2023-10-13	12:38:25	1095	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:25	1095	[DEBUG]	Manufacturer exists
2023-10-13	12:38:25	1095	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:38:25	1095	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:25	1095	[DEBUG]	Executed store
2023-10-13	12:38:25	1095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860587','26')
2023-10-13	12:38:25	1095	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:25	1095	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:25	1095	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860587 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:25	1095	[DEBUG]	Store custom available field
2023-10-13	12:38:25	1095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860587,3,'',1)
2023-10-13	12:38:25	1095	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:25	1095	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:25	1095	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860587 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:25	1095	[DEBUG]	Store custom available field
2023-10-13	12:38:25	1095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860587,6,'Unitaire',3)
2023-10-13	12:38:25	1095	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:25	1095	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:25	1095	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860586
2023-10-13	12:38:25	1095	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:25	1095	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860586\":[1860586,8,1,\"choisir la taille\"],\"1860587\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860586
2023-10-13	12:38:25	1095	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:25	1095	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860587
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:25	1096	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field taille
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:25	1096	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:25	1096	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:25	1096	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:25	1096	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:25	1096	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:25	1096	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field published
2023-10-13	12:38:25	1096	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:25	1096	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field override
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:25	1096	[DEBUG]	Use field value for field slug
2023-10-13	12:38:25	1096	[DEBUG]	Process line 1096
2023-10-13	12:38:25	1096	[DEBUG]	Load a row
2023-10-13	12:38:25	1096	[DEBUG]	Processing item: A_7127_13
2023-10-13	12:38:25	1096	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:25	1096	[DEBUG]	Processing product tax
2023-10-13	12:38:25	1096	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:25	1096	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:25	1096	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:25	1096	[DEBUG]	Query for Product
2023-10-13	12:38:25	1096	[DEBUG]	Executed store
2023-10-13	12:38:25	1096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7127_13','0.0248','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:25	1096	[DEBUG]	Check product language entry
2023-10-13	12:38:25	1096	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860588
2023-10-13	12:38:25	1096	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:25	1096	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7127_13' AND `virtuemart_product_id` != 1860588
2023-10-13	12:38:25	1096	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:25	1096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860588, 'A_7127_13')
2023-10-13	12:38:25	1096	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:25	1096	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-maillons-de-chaine-sram-power-lock-axs-12-vitesses-route-1-unite-argent' AND `virtuemart_product_id` != 1860588
2023-10-13	12:38:25	1096	[DEBUG]	Query for ProductLang
2023-10-13	12:38:25	1096	[DEBUG]	Executed store
2023-10-13	12:38:25	1096	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Maillons de chaîne MSC 11v. 10 sets, 24.8 gr.<br>N° art fourn : D7554P',`product_name`='MSC Maillons de chaîne Sram Power Lock AXS 12 vitesses route 1 unité / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-maillons-de-chaine-sram-power-lock-axs-12-vitesses-route-1-unite-argent' WHERE `virtuemart_product_id` = '1860588'
2023-10-13	12:38:25	1096	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34282_maillons_de_chaîne_sram_power_lock_axs_12_vitesses_1_unite.jpg
2023-10-13	12:38:25	1096	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:25	1096	[DEBUG]	Process image file
2023-10-13	12:38:25	1096	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:25	1096	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:25	1096	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34282_maillons_de_chaîne_sram_power_lock_axs_12_vitesses_1_unite.jpg
2023-10-13	12:38:25	1096	[DEBUG]	Full name target: bcprisme/34282_maillons_de_chaîne_sram_power_lock_axs_12_vitesses_1_unite.jpg
2023-10-13	12:38:26	1096	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:26	1096	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34282_maillons_de_chaîne_sram_power_lock_axs_12_vitesses_1_unite.jpg'
2023-10-13	12:38:26	1096	[DEBUG]	Query for Media
2023-10-13	12:38:26	1096	[DEBUG]	Executed store
2023-10-13	12:38:26	1096	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34282_maillons_de_chaîne_sram_power_lock_axs_12_vitesses_1_unite.jpg',`file_url_thumb`='bcprisme/34282_maillons_de_chaîne_sram_power_lock_axs_12_vitesses_1_unite.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '116198'
2023-10-13	12:38:26	1096	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:26	1096	[DEBUG]	Executed store
2023-10-13	12:38:26	1096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860588','116198','1')
2023-10-13	12:38:26	1096	[DEBUG]	Store product image relation
2023-10-13	12:38:26	1096	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:26	1096	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860588 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:26	1096	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:26	1096	[DEBUG]	Executed store
2023-10-13	12:38:26	1096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860588','0','4.17827298050139','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:26	1096	[DEBUG]	Checking manufacturer
2023-10-13	12:38:26	1096	[DEBUG]	Load a row
2023-10-13	12:38:26	1096	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:26	1096	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:26	1096	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:26	1096	[DEBUG]	Executed store
2023-10-13	12:38:26	1096	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:26	1096	[DEBUG]	Manufacturer exists
2023-10-13	12:38:26	1096	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:38:26	1096	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:26	1096	[DEBUG]	Executed store
2023-10-13	12:38:26	1096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860588','32')
2023-10-13	12:38:26	1096	[DEBUG]	Find the custom field ID
2023-10-13	12:38:26	1096	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:26	1096	[DEBUG]	No custom field ID found
2023-10-13	12:38:26	1096	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:26	1096	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:38:26	1096	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860588 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:26	1096	[DEBUG]	Store custom available field
2023-10-13	12:38:26	1096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860588,3,'49.7613888888889',1)
2023-10-13	12:38:26	1096	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:26	1096	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:26	1096	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860588 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:26	1096	[DEBUG]	Store custom available field
2023-10-13	12:38:26	1096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860588,6,'choisir la taille',3)
2023-10-13	12:38:26	1096	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:26	1096	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:26	1096	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:26	1096	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:26	1096	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860588 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:26	1096	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:26	1096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860588,8,1)
2023-10-13	12:38:26	1096	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:26	1096	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860588\":[1860588,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860588
2023-10-13	12:38:26	1096	[DEBUG]	Checking category
2023-10-13	12:38:26	1096	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:26	1096	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860588
2023-10-13	12:38:26	1096	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:26	1096	[DEBUG]	Executed store
2023-10-13	12:38:26	1096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860588','7287')
2023-10-13	12:38:26	1096	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:26	1096	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860588 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:26	1096	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:26	1096	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860588
2023-10-13	12:38:26	1097	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:26	1097	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:26	1097	[DEBUG]	Use field value for field taille
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:26	1097	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:26	1097	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:26	1097	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:26	1097	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:26	1097	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:26	1097	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:26	1097	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:26	1097	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:26	1097	[DEBUG]	Use field value for field published
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:26	1097	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field override
2023-10-13	12:38:26	1097	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:26	1097	[DEBUG]	Use field value for field slug
2023-10-13	12:38:26	1097	[DEBUG]	Process line 1097
2023-10-13	12:38:26	1097	[DEBUG]	Load a row
2023-10-13	12:38:26	1097	[DEBUG]	Processing item: 710845805912
2023-10-13	12:38:26	1097	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:26	1097	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:26	1097	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7127_13'
2023-10-13	12:38:26	1097	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:26	1097	[DEBUG]	Processing product tax
2023-10-13	12:38:26	1097	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:26	1097	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:26	1097	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:26	1097	[DEBUG]	Query for Product
2023-10-13	12:38:26	1097	[DEBUG]	Executed store
2023-10-13	12:38:26	1097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860588','710845805912','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:26	1097	[DEBUG]	No parent found
2023-10-13	12:38:26	1097	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860588 AND customfield_value = 'stockable'
2023-10-13	12:38:26	1097	[DEBUG]	Check product language entry
2023-10-13	12:38:26	1097	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860589
2023-10-13	12:38:26	1097	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:26	1097	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845805912' AND `virtuemart_product_id` != 1860589
2023-10-13	12:38:26	1097	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:26	1097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860589, '710845805912')
2023-10-13	12:38:26	1097	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:26	1097	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-maillons-de-chaine-sram-power-lock-axs-12-vitesses-route-1-unite-argent-unitaire' AND `virtuemart_product_id` != 1860589
2023-10-13	12:38:26	1097	[DEBUG]	Query for ProductLang
2023-10-13	12:38:26	1097	[DEBUG]	Executed store
2023-10-13	12:38:26	1097	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Maillons de chaîne Sram Power Lock AXS 12 vitesses route 1 unité / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-maillons-de-chaine-sram-power-lock-axs-12-vitesses-route-1-unite-argent-unitaire' WHERE `virtuemart_product_id` = '1860589'
2023-10-13	12:38:26	1097	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34282_maillons_de_chaîne_sram_power_lock_axs_12_vitesses_1_unite.jpg
2023-10-13	12:38:26	1097	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:26	1097	[DEBUG]	Process image file
2023-10-13	12:38:26	1097	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:26	1097	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:26	1097	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34282_maillons_de_chaîne_sram_power_lock_axs_12_vitesses_1_unite.jpg
2023-10-13	12:38:26	1097	[DEBUG]	Full name target: bcprisme/34282_maillons_de_chaîne_sram_power_lock_axs_12_vitesses_1_unite.jpg
2023-10-13	12:38:27	1097	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:27	1097	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34282_maillons_de_chaîne_sram_power_lock_axs_12_vitesses_1_unite.jpg'
2023-10-13	12:38:27	1097	[DEBUG]	Query for Media
2023-10-13	12:38:27	1097	[DEBUG]	Executed store
2023-10-13	12:38:27	1097	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34282_maillons_de_chaîne_sram_power_lock_axs_12_vitesses_1_unite.jpg',`file_url_thumb`='bcprisme/34282_maillons_de_chaîne_sram_power_lock_axs_12_vitesses_1_unite.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '116198'
2023-10-13	12:38:27	1097	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:27	1097	[DEBUG]	Executed store
2023-10-13	12:38:27	1097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860589','116198','1')
2023-10-13	12:38:27	1097	[DEBUG]	Store product image relation
2023-10-13	12:38:27	1097	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:27	1097	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860589 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:27	1097	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:27	1097	[DEBUG]	Executed store
2023-10-13	12:38:27	1097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860589','0','4.17827298050139','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:27	1097	[DEBUG]	Checking manufacturer
2023-10-13	12:38:27	1097	[DEBUG]	Load a row
2023-10-13	12:38:27	1097	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:27	1097	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:27	1097	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:27	1097	[DEBUG]	Executed store
2023-10-13	12:38:27	1097	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:38:27	1097	[DEBUG]	Manufacturer exists
2023-10-13	12:38:27	1097	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:38:27	1097	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:27	1097	[DEBUG]	Executed store
2023-10-13	12:38:27	1097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860589','32')
2023-10-13	12:38:27	1097	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:27	1097	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:27	1097	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860589 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:27	1097	[DEBUG]	Store custom available field
2023-10-13	12:38:27	1097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860589,3,'',1)
2023-10-13	12:38:27	1097	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:27	1097	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:27	1097	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860589 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:27	1097	[DEBUG]	Store custom available field
2023-10-13	12:38:27	1097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860589,6,'Unitaire',3)
2023-10-13	12:38:27	1097	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:27	1097	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:27	1097	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860588
2023-10-13	12:38:27	1097	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:27	1097	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860588\":[1860588,8,1,\"choisir la taille\"],\"1860589\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860588
2023-10-13	12:38:27	1097	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:27	1097	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860589
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:27	1098	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field taille
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:27	1098	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:27	1098	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:27	1098	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:27	1098	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:27	1098	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:27	1098	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field published
2023-10-13	12:38:27	1098	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:27	1098	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field override
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:27	1098	[DEBUG]	Use field value for field slug
2023-10-13	12:38:27	1098	[DEBUG]	Process line 1098
2023-10-13	12:38:27	1098	[DEBUG]	Load a row
2023-10-13	12:38:27	1098	[DEBUG]	Processing item: A_7174_1
2023-10-13	12:38:27	1098	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:27	1098	[DEBUG]	Processing product tax
2023-10-13	12:38:27	1098	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:27	1098	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:27	1098	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:27	1098	[DEBUG]	Query for Product
2023-10-13	12:38:27	1098	[DEBUG]	Executed store
2023-10-13	12:38:27	1098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7174_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:27	1098	[DEBUG]	Check product language entry
2023-10-13	12:38:27	1098	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860590
2023-10-13	12:38:27	1098	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:27	1098	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7174_1' AND `virtuemart_product_id` != 1860590
2023-10-13	12:38:27	1098	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:27	1098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860590, 'A_7174_1')
2023-10-13	12:38:27	1098	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:27	1098	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-xx1-eagle-12-vit-126-maillons-noir' AND `virtuemart_product_id` != 1860590
2023-10-13	12:38:27	1098	[DEBUG]	Query for ProductLang
2023-10-13	12:38:27	1098	[DEBUG]	Executed store
2023-10-13	12:38:27	1098	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7526Y',`product_name`='SRAM Chaîne PC XX1 Eagle 12-vit. 126 Maillons / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-xx1-eagle-12-vit-126-maillons-noir' WHERE `virtuemart_product_id` = '1860590'
2023-10-13	12:38:27	1098	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34334_chaîne_pc_x01_eagel_12-vit-_126_maillon_noir.jpg
2023-10-13	12:38:27	1098	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:27	1098	[DEBUG]	Process image file
2023-10-13	12:38:27	1098	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:27	1098	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:27	1098	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34334_chaîne_pc_x01_eagel_12-vit-_126_maillon_noir.jpg
2023-10-13	12:38:27	1098	[DEBUG]	Full name target: bcprisme/34334_chaîne_pc_x01_eagel_12-vit-_126_maillon_noir.jpg
2023-10-13	12:38:28	1098	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:28	1098	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34334_chaîne_pc_x01_eagel_12-vit-_126_maillon_noir.jpg'
2023-10-13	12:38:28	1098	[DEBUG]	Query for Media
2023-10-13	12:38:28	1098	[DEBUG]	Executed store
2023-10-13	12:38:28	1098	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34334_chaîne_pc_x01_eagel_12-vit-_126_maillon_noir.jpg',`file_url_thumb`='bcprisme/34334_chaîne_pc_x01_eagel_12-vit-_126_maillon_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '133662'
2023-10-13	12:38:28	1098	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:28	1098	[DEBUG]	Executed store
2023-10-13	12:38:28	1098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860590','133662','1')
2023-10-13	12:38:28	1098	[DEBUG]	Store product image relation
2023-10-13	12:38:28	1098	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:28	1098	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860590 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:28	1098	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:28	1098	[DEBUG]	Executed store
2023-10-13	12:38:28	1098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860590','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:28	1098	[DEBUG]	Checking manufacturer
2023-10-13	12:38:28	1098	[DEBUG]	Load a row
2023-10-13	12:38:28	1098	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:28	1098	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:28	1098	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:28	1098	[DEBUG]	Executed store
2023-10-13	12:38:28	1098	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:28	1098	[DEBUG]	Manufacturer exists
2023-10-13	12:38:28	1098	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:28	1098	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:28	1098	[DEBUG]	Executed store
2023-10-13	12:38:28	1098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860590','35')
2023-10-13	12:38:28	1098	[DEBUG]	Find the custom field ID
2023-10-13	12:38:28	1098	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:28	1098	[DEBUG]	No custom field ID found
2023-10-13	12:38:29	1098	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:29	1098	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:29	1098	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860590 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:29	1098	[DEBUG]	Store custom available field
2023-10-13	12:38:29	1098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860590,3,'0',1)
2023-10-13	12:38:29	1098	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:29	1098	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:29	1098	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860590 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:29	1098	[DEBUG]	Store custom available field
2023-10-13	12:38:29	1098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860590,6,'choisir la taille',3)
2023-10-13	12:38:29	1098	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:29	1098	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:29	1098	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:29	1098	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:29	1098	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860590 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:29	1098	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:29	1098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860590,8,1)
2023-10-13	12:38:29	1098	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:29	1098	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860590\":[1860590,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860590
2023-10-13	12:38:29	1098	[DEBUG]	Checking category
2023-10-13	12:38:29	1098	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:29	1098	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860590
2023-10-13	12:38:29	1098	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:29	1098	[DEBUG]	Executed store
2023-10-13	12:38:29	1098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860590','7287')
2023-10-13	12:38:29	1098	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:29	1098	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860590 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:29	1098	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:29	1098	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860590
2023-10-13	12:38:29	1099	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:29	1099	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:29	1099	[DEBUG]	Use field value for field taille
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:29	1099	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:29	1099	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:29	1099	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:29	1099	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:29	1099	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:29	1099	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:29	1099	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:29	1099	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:29	1099	[DEBUG]	Use field value for field published
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:29	1099	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field override
2023-10-13	12:38:29	1099	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:29	1099	[DEBUG]	Use field value for field slug
2023-10-13	12:38:29	1099	[DEBUG]	Process line 1099
2023-10-13	12:38:29	1099	[DEBUG]	Load a row
2023-10-13	12:38:29	1099	[DEBUG]	Processing item: 710845788499
2023-10-13	12:38:29	1099	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:29	1099	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:29	1099	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7174_1'
2023-10-13	12:38:29	1099	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:29	1099	[DEBUG]	Processing product tax
2023-10-13	12:38:29	1099	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:29	1099	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:29	1099	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:29	1099	[DEBUG]	Query for Product
2023-10-13	12:38:29	1099	[DEBUG]	Executed store
2023-10-13	12:38:29	1099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860590','710845788499','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:29	1099	[DEBUG]	No parent found
2023-10-13	12:38:29	1099	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860590 AND customfield_value = 'stockable'
2023-10-13	12:38:29	1099	[DEBUG]	Check product language entry
2023-10-13	12:38:29	1099	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860591
2023-10-13	12:38:29	1099	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:29	1099	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845788499' AND `virtuemart_product_id` != 1860591
2023-10-13	12:38:29	1099	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:29	1099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860591, '710845788499')
2023-10-13	12:38:29	1099	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:29	1099	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-xx1-eagle-12-vit-126-maillons-noir-unitaire' AND `virtuemart_product_id` != 1860591
2023-10-13	12:38:29	1099	[DEBUG]	Query for ProductLang
2023-10-13	12:38:29	1099	[DEBUG]	Executed store
2023-10-13	12:38:29	1099	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne PC XX1 Eagle 12-vit. 126 Maillons / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-xx1-eagle-12-vit-126-maillons-noir-unitaire' WHERE `virtuemart_product_id` = '1860591'
2023-10-13	12:38:29	1099	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34334_chaîne_pc_x01_eagel_12-vit-_126_maillon_noir.jpg
2023-10-13	12:38:29	1099	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:29	1099	[DEBUG]	Process image file
2023-10-13	12:38:29	1099	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:29	1099	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:29	1099	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34334_chaîne_pc_x01_eagel_12-vit-_126_maillon_noir.jpg
2023-10-13	12:38:29	1099	[DEBUG]	Full name target: bcprisme/34334_chaîne_pc_x01_eagel_12-vit-_126_maillon_noir.jpg
2023-10-13	12:38:30	1099	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:30	1099	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34334_chaîne_pc_x01_eagel_12-vit-_126_maillon_noir.jpg'
2023-10-13	12:38:30	1099	[DEBUG]	Query for Media
2023-10-13	12:38:30	1099	[DEBUG]	Executed store
2023-10-13	12:38:30	1099	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34334_chaîne_pc_x01_eagel_12-vit-_126_maillon_noir.jpg',`file_url_thumb`='bcprisme/34334_chaîne_pc_x01_eagel_12-vit-_126_maillon_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '133662'
2023-10-13	12:38:30	1099	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:30	1099	[DEBUG]	Executed store
2023-10-13	12:38:30	1099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860591','133662','1')
2023-10-13	12:38:30	1099	[DEBUG]	Store product image relation
2023-10-13	12:38:30	1099	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:30	1099	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860591 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:30	1099	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:30	1099	[DEBUG]	Executed store
2023-10-13	12:38:30	1099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860591','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:30	1099	[DEBUG]	Checking manufacturer
2023-10-13	12:38:30	1099	[DEBUG]	Load a row
2023-10-13	12:38:30	1099	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:30	1099	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:30	1099	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:30	1099	[DEBUG]	Executed store
2023-10-13	12:38:30	1099	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:30	1099	[DEBUG]	Manufacturer exists
2023-10-13	12:38:30	1099	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:30	1099	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:30	1099	[DEBUG]	Executed store
2023-10-13	12:38:30	1099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860591','35')
2023-10-13	12:38:30	1099	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:30	1099	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:30	1099	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860591 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:30	1099	[DEBUG]	Store custom available field
2023-10-13	12:38:30	1099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860591,3,'',1)
2023-10-13	12:38:30	1099	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:30	1099	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:30	1099	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860591 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:30	1099	[DEBUG]	Store custom available field
2023-10-13	12:38:30	1099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860591,6,'Unitaire',3)
2023-10-13	12:38:30	1099	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:30	1099	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:30	1099	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860590
2023-10-13	12:38:30	1099	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:30	1099	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860590\":[1860590,8,1,\"choisir la taille\"],\"1860591\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860590
2023-10-13	12:38:30	1099	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:30	1099	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860591
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:30	1100	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field taille
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:30	1100	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:30	1100	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:30	1100	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:30	1100	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:30	1100	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:30	1100	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field published
2023-10-13	12:38:30	1100	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:30	1100	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field override
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:30	1100	[DEBUG]	Use field value for field slug
2023-10-13	12:38:30	1100	[DEBUG]	Process line 1100
2023-10-13	12:38:30	1100	[DEBUG]	Load a row
2023-10-13	12:38:30	1100	[DEBUG]	Processing item: A_7175_13
2023-10-13	12:38:30	1100	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:30	1100	[DEBUG]	Processing product tax
2023-10-13	12:38:30	1100	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:30	1100	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:30	1100	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:30	1100	[DEBUG]	Query for Product
2023-10-13	12:38:30	1100	[DEBUG]	Executed store
2023-10-13	12:38:30	1100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7175_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0')
2023-10-13	12:38:30	1100	[DEBUG]	Check product language entry
2023-10-13	12:38:30	1100	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860592
2023-10-13	12:38:30	1100	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:30	1100	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7175_13' AND `virtuemart_product_id` != 1860592
2023-10-13	12:38:30	1100	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:30	1100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860592, 'A_7175_13')
2023-10-13	12:38:30	1100	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:30	1100	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-1051-114-maillons-power-lock-10-vitesses-sram-argent' AND `virtuemart_product_id` != 1860592
2023-10-13	12:38:30	1100	[DEBUG]	Query for ProductLang
2023-10-13	12:38:30	1100	[DEBUG]	Executed store
2023-10-13	12:38:30	1100	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7208S',`product_name`='SRAM Chaine PC 1051 114 maillons Power-Lock 10 vitesses sram / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-1051-114-maillons-power-lock-10-vitesses-sram-argent' WHERE `virtuemart_product_id` = '1860592'
2023-10-13	12:38:30	1100	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34335_chaine_pc_1051_114_maillons_power-lock_10_vitesses_sram.jpg
2023-10-13	12:38:30	1100	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:30	1100	[DEBUG]	Process image file
2023-10-13	12:38:30	1100	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:30	1100	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:30	1100	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34335_chaine_pc_1051_114_maillons_power-lock_10_vitesses_sram.jpg
2023-10-13	12:38:30	1100	[DEBUG]	Full name target: bcprisme/34335_chaine_pc_1051_114_maillons_power-lock_10_vitesses_sram.jpg
2023-10-13	12:38:31	1100	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:31	1100	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34335_chaine_pc_1051_114_maillons_power-lock_10_vitesses_sram.jpg'
2023-10-13	12:38:31	1100	[DEBUG]	Query for Media
2023-10-13	12:38:31	1100	[DEBUG]	Executed store
2023-10-13	12:38:31	1100	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34335_chaine_pc_1051_114_maillons_power-lock_10_vitesses_sram.jpg',`file_url_thumb`='bcprisme/34335_chaine_pc_1051_114_maillons_power-lock_10_vitesses_sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '133664'
2023-10-13	12:38:31	1100	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:31	1100	[DEBUG]	Executed store
2023-10-13	12:38:31	1100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860592','133664','1')
2023-10-13	12:38:31	1100	[DEBUG]	Store product image relation
2023-10-13	12:38:31	1100	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:31	1100	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860592 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:31	1100	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:31	1100	[DEBUG]	Executed store
2023-10-13	12:38:31	1100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860592','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:36:47','1593','2023-10-13 12:36:47','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:31	1100	[DEBUG]	Checking manufacturer
2023-10-13	12:38:31	1100	[DEBUG]	Load a row
2023-10-13	12:38:31	1100	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:31	1100	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:31	1100	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:31	1100	[DEBUG]	Executed store
2023-10-13	12:38:31	1100	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:31	1100	[DEBUG]	Manufacturer exists
2023-10-13	12:38:31	1100	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:31	1100	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:31	1100	[DEBUG]	Executed store
2023-10-13	12:38:31	1100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860592','35')
2023-10-13	12:38:31	1100	[DEBUG]	Find the custom field ID
2023-10-13	12:38:31	1100	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:31	1100	[DEBUG]	No custom field ID found
2023-10-13	12:38:31	1100	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:31	1100	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:31	1100	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860592 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:31	1100	[DEBUG]	Store custom available field
2023-10-13	12:38:31	1100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860592,3,'0',1)
2023-10-13	12:38:31	1100	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:31	1100	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:31	1100	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860592 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:31	1100	[DEBUG]	Store custom available field
2023-10-13	12:38:31	1100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860592,6,'choisir la taille',3)
2023-10-13	12:38:31	1100	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:31	1100	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:31	1100	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:31	1100	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:31	1100	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860592 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:31	1100	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:31	1100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860592,8,1)
2023-10-13	12:38:31	1100	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:31	1100	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860592\":[1860592,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860592
2023-10-13	12:38:31	1100	[DEBUG]	Checking category
2023-10-13	12:38:31	1100	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:31	1100	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860592
2023-10-13	12:38:31	1100	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:31	1100	[DEBUG]	Executed store
2023-10-13	12:38:31	1100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860592','7287')
2023-10-13	12:38:31	1100	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:31	1100	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860592 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:31	1100	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:31	1100	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860592
2023-10-13	12:38:51	1100	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:38:51	1100	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:38:51	1100	[DEBUG]	Load the fields to process
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: product_sku
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: taille
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: product_name
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: category_path
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: product_price
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: product_override_price
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: product_tax
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: file_url
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: product_desc
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: product_availability
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: product_weight
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: product_unit
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: related_products
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: product_special
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: published
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: metadesc
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: metakey
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: custom_title
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: custom_value
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: custom_param
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: override
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: public_price
2023-10-13	12:38:51	1100	[DEBUG]	Setup field: slug
2023-10-13	12:38:51	1100	[DEBUG]	Use the file for configuration
2023-10-13	12:38:51	1100	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:38:51	1100	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:38:51	1100	[DEBUG]	Load the custom fields
2023-10-13	12:38:51	1100	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:38:51	1100	[DEBUG]	Load stockable custom fields
2023-10-13	12:38:51	1100	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:38:51	1100	[DEBUG]	Load custom fields for all
2023-10-13	12:38:51	1100	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:38:51	1101	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:51	1101	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:51	1101	[DEBUG]	Use field value for field taille
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:51	1101	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:51	1101	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:51	1101	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:51	1101	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:51	1101	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:51	1101	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:51	1101	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:51	1101	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:51	1101	[DEBUG]	Use field value for field published
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:51	1101	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field override
2023-10-13	12:38:51	1101	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:51	1101	[DEBUG]	Use field value for field slug
2023-10-13	12:38:51	1101	[DEBUG]	Process line 1101
2023-10-13	12:38:51	1101	[DEBUG]	Check if the vendor exists
2023-10-13	12:38:51	1101	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '710845644689'
2023-10-13	12:38:51	1101	[DEBUG]	Load a row
2023-10-13	12:38:51	1101	[DEBUG]	Processing item: 710845644689
2023-10-13	12:38:51	1101	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:51	1101	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:51	1101	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7175_13'
2023-10-13	12:38:51	1101	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:51	1101	[DEBUG]	Processing product tax
2023-10-13	12:38:51	1101	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:51	1101	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:51	1101	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:51	1101	[DEBUG]	Query for Product
2023-10-13	12:38:51	1101	[DEBUG]	Executed store
2023-10-13	12:38:51	1101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860592','710845644689','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:38:51	1101	[DEBUG]	No parent found
2023-10-13	12:38:51	1101	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860592 AND customfield_value = 'stockable'
2023-10-13	12:38:51	1101	[DEBUG]	Check product language entry
2023-10-13	12:38:51	1101	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860593
2023-10-13	12:38:51	1101	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:51	1101	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845644689' AND `virtuemart_product_id` != 1860593
2023-10-13	12:38:51	1101	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:51	1101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860593, '710845644689')
2023-10-13	12:38:51	1101	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:51	1101	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-1051-114-maillons-power-lock-10-vitesses-sram-argent-unitaire' AND `virtuemart_product_id` != 1860593
2023-10-13	12:38:51	1101	[DEBUG]	Query for ProductLang
2023-10-13	12:38:51	1101	[DEBUG]	Executed store
2023-10-13	12:38:51	1101	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaine PC 1051 114 maillons Power-Lock 10 vitesses sram / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-1051-114-maillons-power-lock-10-vitesses-sram-argent-unitaire' WHERE `virtuemart_product_id` = '1860593'
2023-10-13	12:38:51	1101	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34335_chaine_pc_1051_114_maillons_power-lock_10_vitesses_sram.jpg
2023-10-13	12:38:51	1101	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:51	1101	[DEBUG]	Process image file
2023-10-13	12:38:51	1101	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:51	1101	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:51	1101	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34335_chaine_pc_1051_114_maillons_power-lock_10_vitesses_sram.jpg
2023-10-13	12:38:51	1101	[DEBUG]	Full name target: bcprisme/34335_chaine_pc_1051_114_maillons_power-lock_10_vitesses_sram.jpg
2023-10-13	12:38:52	1101	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:52	1101	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34335_chaine_pc_1051_114_maillons_power-lock_10_vitesses_sram.jpg'
2023-10-13	12:38:52	1101	[DEBUG]	Query for Media
2023-10-13	12:38:52	1101	[DEBUG]	Executed store
2023-10-13	12:38:52	1101	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34335_chaine_pc_1051_114_maillons_power-lock_10_vitesses_sram.jpg',`file_url_thumb`='bcprisme/34335_chaine_pc_1051_114_maillons_power-lock_10_vitesses_sram.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '133664'
2023-10-13	12:38:52	1101	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:52	1101	[DEBUG]	Executed store
2023-10-13	12:38:52	1101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860593','133664','1')
2023-10-13	12:38:52	1101	[DEBUG]	Store product image relation
2023-10-13	12:38:52	1101	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:52	1101	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860593 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:52	1101	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:52	1101	[DEBUG]	Executed store
2023-10-13	12:38:52	1101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860593','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:52	1101	[DEBUG]	Checking manufacturer
2023-10-13	12:38:52	1101	[DEBUG]	Load a row
2023-10-13	12:38:52	1101	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:52	1101	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:52	1101	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:52	1101	[DEBUG]	Executed store
2023-10-13	12:38:52	1101	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:52	1101	[DEBUG]	Manufacturer exists
2023-10-13	12:38:52	1101	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:52	1101	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:52	1101	[DEBUG]	Executed store
2023-10-13	12:38:52	1101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860593','35')
2023-10-13	12:38:52	1101	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:52	1101	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:52	1101	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860593 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:52	1101	[DEBUG]	Store custom available field
2023-10-13	12:38:52	1101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860593,3,'',1)
2023-10-13	12:38:52	1101	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:52	1101	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:52	1101	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860593 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:52	1101	[DEBUG]	Store custom available field
2023-10-13	12:38:52	1101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860593,6,'Unitaire',3)
2023-10-13	12:38:52	1101	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:52	1101	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:52	1101	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860592
2023-10-13	12:38:52	1101	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:52	1101	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860592\":[1860592,8,1,\"choisir la taille\"],\"1860593\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860592
2023-10-13	12:38:52	1101	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:52	1101	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860593
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:52	1102	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field taille
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:52	1102	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:52	1102	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:52	1102	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:52	1102	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:52	1102	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:52	1102	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field published
2023-10-13	12:38:52	1102	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:52	1102	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field override
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:52	1102	[DEBUG]	Use field value for field slug
2023-10-13	12:38:52	1102	[DEBUG]	Process line 1102
2023-10-13	12:38:52	1102	[DEBUG]	Load a row
2023-10-13	12:38:52	1102	[DEBUG]	Processing item: A_7200_353
2023-10-13	12:38:52	1102	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:52	1102	[DEBUG]	Processing product tax
2023-10-13	12:38:52	1102	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:52	1102	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:52	1102	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:52	1102	[DEBUG]	Query for Product
2023-10-13	12:38:52	1102	[DEBUG]	Executed store
2023-10-13	12:38:52	1102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7200_353','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:38:52	1102	[DEBUG]	Check product language entry
2023-10-13	12:38:52	1102	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860594
2023-10-13	12:38:52	1102	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:52	1102	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7200_353' AND `virtuemart_product_id` != 1860594
2023-10-13	12:38:52	1102	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:52	1102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860594, 'A_7200_353')
2023-10-13	12:38:52	1102	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:52	1102	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-xx1-eagle-12-vitesses-126-maillons-rainbow-power-lock-rainbow-black' AND `virtuemart_product_id` != 1860594
2023-10-13	12:38:52	1102	[DEBUG]	Query for ProductLang
2023-10-13	12:38:52	1102	[DEBUG]	Executed store
2023-10-13	12:38:52	1102	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7555V',`product_name`='SRAM Chaîne PC XX1 Eagle 12 vitesses 126 maillons Rainbow Power Lock / Rainbow Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-xx1-eagle-12-vitesses-126-maillons-rainbow-power-lock-rainbow-black' WHERE `virtuemart_product_id` = '1860594'
2023-10-13	12:38:52	1102	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34364_chaîne_pc_xx1_eagle_12_vitesses_126_maillons_rainbow_power_lock.jpg
2023-10-13	12:38:52	1102	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:52	1102	[DEBUG]	Process image file
2023-10-13	12:38:52	1102	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:52	1102	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:52	1102	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34364_chaîne_pc_xx1_eagle_12_vitesses_126_maillons_rainbow_power_lock.jpg
2023-10-13	12:38:52	1102	[DEBUG]	Full name target: bcprisme/34364_chaîne_pc_xx1_eagle_12_vitesses_126_maillons_rainbow_power_lock.jpg
2023-10-13	12:38:53	1102	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:53	1102	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34364_chaîne_pc_xx1_eagle_12_vitesses_126_maillons_rainbow_power_lock.jpg'
2023-10-13	12:38:53	1102	[DEBUG]	Query for Media
2023-10-13	12:38:53	1102	[DEBUG]	Executed store
2023-10-13	12:38:53	1102	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34364_chaîne_pc_xx1_eagle_12_vitesses_126_maillons_rainbow_power_lock.jpg',`file_url_thumb`='bcprisme/34364_chaîne_pc_xx1_eagle_12_vitesses_126_maillons_rainbow_power_lock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '139552'
2023-10-13	12:38:53	1102	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:53	1102	[DEBUG]	Executed store
2023-10-13	12:38:53	1102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860594','139552','1')
2023-10-13	12:38:53	1102	[DEBUG]	Store product image relation
2023-10-13	12:38:53	1102	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:53	1102	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860594 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:53	1102	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:53	1102	[DEBUG]	Executed store
2023-10-13	12:38:53	1102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860594','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:53	1102	[DEBUG]	Checking manufacturer
2023-10-13	12:38:53	1102	[DEBUG]	Load a row
2023-10-13	12:38:53	1102	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:53	1102	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:53	1102	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:53	1102	[DEBUG]	Executed store
2023-10-13	12:38:53	1102	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:53	1102	[DEBUG]	Manufacturer exists
2023-10-13	12:38:53	1102	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:53	1102	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:53	1102	[DEBUG]	Executed store
2023-10-13	12:38:53	1102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860594','35')
2023-10-13	12:38:53	1102	[DEBUG]	Find the custom field ID
2023-10-13	12:38:53	1102	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:53	1102	[DEBUG]	No custom field ID found
2023-10-13	12:38:53	1102	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:53	1102	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:53	1102	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860594 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:53	1102	[DEBUG]	Store custom available field
2023-10-13	12:38:53	1102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860594,3,'0',1)
2023-10-13	12:38:53	1102	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:53	1102	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:53	1102	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860594 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:53	1102	[DEBUG]	Store custom available field
2023-10-13	12:38:53	1102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860594,6,'choisir la taille',3)
2023-10-13	12:38:53	1102	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:53	1102	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:53	1102	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:53	1102	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:53	1102	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860594 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:53	1102	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:53	1102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860594,8,1)
2023-10-13	12:38:53	1102	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:53	1102	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860594\":[1860594,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860594
2023-10-13	12:38:53	1102	[DEBUG]	Checking category
2023-10-13	12:38:53	1102	[DEBUG]	Check if category path exists: CHAINES - KETTEN
2023-10-13	12:38:53	1102	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAINES - KETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:38:53	1102	[DEBUG]	Check if category path exists: CHAINES 12 VITESSES
2023-10-13	12:38:53	1102	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAINES 12 VITESSES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7284
2023-10-13	12:38:53	1102	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:53	1102	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860594
2023-10-13	12:38:53	1102	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:53	1102	[DEBUG]	Executed store
2023-10-13	12:38:53	1102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860594','7287')
2023-10-13	12:38:53	1102	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:53	1102	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860594 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:53	1102	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:53	1102	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860594
2023-10-13	12:38:53	1103	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:53	1103	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:53	1103	[DEBUG]	Use field value for field taille
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:53	1103	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:53	1103	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:53	1103	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:53	1103	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:53	1103	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:53	1103	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:53	1103	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:53	1103	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:53	1103	[DEBUG]	Use field value for field published
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:53	1103	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field override
2023-10-13	12:38:53	1103	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:53	1103	[DEBUG]	Use field value for field slug
2023-10-13	12:38:53	1103	[DEBUG]	Process line 1103
2023-10-13	12:38:53	1103	[DEBUG]	Load a row
2023-10-13	12:38:53	1103	[DEBUG]	Processing item: 710845825446
2023-10-13	12:38:53	1103	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:53	1103	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:53	1103	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7200_353'
2023-10-13	12:38:53	1103	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:53	1103	[DEBUG]	Processing product tax
2023-10-13	12:38:53	1103	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:53	1103	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:53	1103	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:53	1103	[DEBUG]	Query for Product
2023-10-13	12:38:53	1103	[DEBUG]	Executed store
2023-10-13	12:38:53	1103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860594','710845825446','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:38:53	1103	[DEBUG]	No parent found
2023-10-13	12:38:53	1103	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860594 AND customfield_value = 'stockable'
2023-10-13	12:38:53	1103	[DEBUG]	Check product language entry
2023-10-13	12:38:53	1103	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860595
2023-10-13	12:38:53	1103	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:53	1103	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845825446' AND `virtuemart_product_id` != 1860595
2023-10-13	12:38:53	1103	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:53	1103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860595, '710845825446')
2023-10-13	12:38:53	1103	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:53	1103	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-xx1-eagle-12-vitesses-126-maillons-rainbow-power-lock-rainbow-black-unitaire' AND `virtuemart_product_id` != 1860595
2023-10-13	12:38:53	1103	[DEBUG]	Query for ProductLang
2023-10-13	12:38:53	1103	[DEBUG]	Executed store
2023-10-13	12:38:53	1103	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne PC XX1 Eagle 12 vitesses 126 maillons Rainbow Power Lock / Rainbow Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-xx1-eagle-12-vitesses-126-maillons-rainbow-power-lock-rainbow-black-unitaire' WHERE `virtuemart_product_id` = '1860595'
2023-10-13	12:38:53	1103	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34364_chaîne_pc_xx1_eagle_12_vitesses_126_maillons_rainbow_power_lock.jpg
2023-10-13	12:38:53	1103	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:53	1103	[DEBUG]	Process image file
2023-10-13	12:38:53	1103	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:53	1103	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:53	1103	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34364_chaîne_pc_xx1_eagle_12_vitesses_126_maillons_rainbow_power_lock.jpg
2023-10-13	12:38:53	1103	[DEBUG]	Full name target: bcprisme/34364_chaîne_pc_xx1_eagle_12_vitesses_126_maillons_rainbow_power_lock.jpg
2023-10-13	12:38:54	1103	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:54	1103	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34364_chaîne_pc_xx1_eagle_12_vitesses_126_maillons_rainbow_power_lock.jpg'
2023-10-13	12:38:54	1103	[DEBUG]	Query for Media
2023-10-13	12:38:54	1103	[DEBUG]	Executed store
2023-10-13	12:38:54	1103	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34364_chaîne_pc_xx1_eagle_12_vitesses_126_maillons_rainbow_power_lock.jpg',`file_url_thumb`='bcprisme/34364_chaîne_pc_xx1_eagle_12_vitesses_126_maillons_rainbow_power_lock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '139552'
2023-10-13	12:38:54	1103	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:54	1103	[DEBUG]	Executed store
2023-10-13	12:38:54	1103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860595','139552','1')
2023-10-13	12:38:54	1103	[DEBUG]	Store product image relation
2023-10-13	12:38:54	1103	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:54	1103	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860595 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:54	1103	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:54	1103	[DEBUG]	Executed store
2023-10-13	12:38:54	1103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860595','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:54	1103	[DEBUG]	Checking manufacturer
2023-10-13	12:38:54	1103	[DEBUG]	Load a row
2023-10-13	12:38:54	1103	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:54	1103	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:54	1103	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:54	1103	[DEBUG]	Executed store
2023-10-13	12:38:54	1103	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:54	1103	[DEBUG]	Manufacturer exists
2023-10-13	12:38:54	1103	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:54	1103	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:54	1103	[DEBUG]	Executed store
2023-10-13	12:38:54	1103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860595','35')
2023-10-13	12:38:54	1103	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:54	1103	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:54	1103	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860595 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:54	1103	[DEBUG]	Store custom available field
2023-10-13	12:38:54	1103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860595,3,'',1)
2023-10-13	12:38:54	1103	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:54	1103	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:54	1103	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860595 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:54	1103	[DEBUG]	Store custom available field
2023-10-13	12:38:54	1103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860595,6,'Unitaire',3)
2023-10-13	12:38:54	1103	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:54	1103	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:54	1103	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860594
2023-10-13	12:38:54	1103	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:54	1103	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860594\":[1860594,8,1,\"choisir la taille\"],\"1860595\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860594
2023-10-13	12:38:54	1103	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:54	1103	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860595
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:54	1104	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field taille
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:54	1104	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:54	1104	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:54	1104	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:54	1104	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:54	1104	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:54	1104	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field published
2023-10-13	12:38:54	1104	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:54	1104	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field override
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:54	1104	[DEBUG]	Use field value for field slug
2023-10-13	12:38:54	1104	[DEBUG]	Process line 1104
2023-10-13	12:38:54	1104	[DEBUG]	Load a row
2023-10-13	12:38:54	1104	[DEBUG]	Processing item: A_7359_442
2023-10-13	12:38:54	1104	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:54	1104	[DEBUG]	Processing product tax
2023-10-13	12:38:54	1104	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:54	1104	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:54	1104	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:54	1104	[DEBUG]	Query for Product
2023-10-13	12:38:54	1104	[DEBUG]	Executed store
2023-10-13	12:38:54	1104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7359_442','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:38:54	1104	[DEBUG]	Check product language entry
2023-10-13	12:38:54	1104	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860596
2023-10-13	12:38:54	1104	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:54	1104	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7359_442' AND `virtuemart_product_id` != 1860596
2023-10-13	12:38:54	1104	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:54	1104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860596, 'A_7359_442')
2023-10-13	12:38:54	1104	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:54	1104	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-xx1-eagle-12-vit-126-maillons-copper' AND `virtuemart_product_id` != 1860596
2023-10-13	12:38:54	1104	[DEBUG]	Query for ProductLang
2023-10-13	12:38:54	1104	[DEBUG]	Executed store
2023-10-13	12:38:54	1104	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn :  D7559I',`product_name`='SRAM Chaîne PC XX1 Eagle 12-vit. 126 Maillons / COPPER',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-xx1-eagle-12-vit-126-maillons-copper' WHERE `virtuemart_product_id` = '1860596'
2023-10-13	12:38:54	1104	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34599__chaîne_pc_xx1_eagle_12-vit__126_maillons.jpg
2023-10-13	12:38:54	1104	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:54	1104	[DEBUG]	Process image file
2023-10-13	12:38:54	1104	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:54	1104	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:54	1104	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34599__chaîne_pc_xx1_eagle_12-vit__126_maillons.jpg
2023-10-13	12:38:54	1104	[DEBUG]	Full name target: bcprisme/34599__chaîne_pc_xx1_eagle_12-vit__126_maillons.jpg
2023-10-13	12:38:55	1104	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:55	1104	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34599__chaîne_pc_xx1_eagle_12-vit__126_maillons.jpg'
2023-10-13	12:38:55	1104	[DEBUG]	Query for Media
2023-10-13	12:38:55	1104	[DEBUG]	Executed store
2023-10-13	12:38:55	1104	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34599__chaîne_pc_xx1_eagle_12-vit__126_maillons.jpg',`file_url_thumb`='bcprisme/34599__chaîne_pc_xx1_eagle_12-vit__126_maillons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '163642'
2023-10-13	12:38:55	1104	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:55	1104	[DEBUG]	Executed store
2023-10-13	12:38:55	1104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860596','163642','1')
2023-10-13	12:38:55	1104	[DEBUG]	Store product image relation
2023-10-13	12:38:55	1104	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:55	1104	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860596 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:55	1104	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:55	1104	[DEBUG]	Executed store
2023-10-13	12:38:55	1104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860596','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:55	1104	[DEBUG]	Checking manufacturer
2023-10-13	12:38:55	1104	[DEBUG]	Load a row
2023-10-13	12:38:55	1104	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:55	1104	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:55	1104	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:55	1104	[DEBUG]	Executed store
2023-10-13	12:38:55	1104	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:55	1104	[DEBUG]	Manufacturer exists
2023-10-13	12:38:55	1104	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:55	1104	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:55	1104	[DEBUG]	Executed store
2023-10-13	12:38:55	1104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860596','35')
2023-10-13	12:38:55	1104	[DEBUG]	Find the custom field ID
2023-10-13	12:38:55	1104	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:55	1104	[DEBUG]	No custom field ID found
2023-10-13	12:38:55	1104	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:55	1104	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:55	1104	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860596 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:55	1104	[DEBUG]	Store custom available field
2023-10-13	12:38:55	1104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860596,3,'0',1)
2023-10-13	12:38:55	1104	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:55	1104	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:55	1104	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860596 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:55	1104	[DEBUG]	Store custom available field
2023-10-13	12:38:55	1104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860596,6,'choisir la taille',3)
2023-10-13	12:38:55	1104	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:55	1104	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:55	1104	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:55	1104	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:55	1104	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860596 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:55	1104	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:55	1104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860596,8,1)
2023-10-13	12:38:55	1104	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:55	1104	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860596\":[1860596,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860596
2023-10-13	12:38:55	1104	[DEBUG]	Checking category
2023-10-13	12:38:55	1104	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:55	1104	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860596
2023-10-13	12:38:55	1104	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:55	1104	[DEBUG]	Executed store
2023-10-13	12:38:55	1104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860596','7287')
2023-10-13	12:38:55	1104	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:55	1104	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860596 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:55	1104	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:55	1104	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860596
2023-10-13	12:38:55	1105	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:55	1105	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:55	1105	[DEBUG]	Use field value for field taille
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:55	1105	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:55	1105	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:55	1105	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:55	1105	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:55	1105	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:55	1105	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:55	1105	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:55	1105	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:55	1105	[DEBUG]	Use field value for field published
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:55	1105	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field override
2023-10-13	12:38:55	1105	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:55	1105	[DEBUG]	Use field value for field slug
2023-10-13	12:38:55	1105	[DEBUG]	Process line 1105
2023-10-13	12:38:55	1105	[DEBUG]	Load a row
2023-10-13	12:38:55	1105	[DEBUG]	Processing item: 710845852169
2023-10-13	12:38:55	1105	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:55	1105	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:55	1105	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7359_442'
2023-10-13	12:38:55	1105	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:55	1105	[DEBUG]	Processing product tax
2023-10-13	12:38:55	1105	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:55	1105	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:55	1105	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:55	1105	[DEBUG]	Query for Product
2023-10-13	12:38:55	1105	[DEBUG]	Executed store
2023-10-13	12:38:55	1105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860596','710845852169','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:38:55	1105	[DEBUG]	No parent found
2023-10-13	12:38:55	1105	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860596 AND customfield_value = 'stockable'
2023-10-13	12:38:55	1105	[DEBUG]	Check product language entry
2023-10-13	12:38:55	1105	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860597
2023-10-13	12:38:55	1105	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:55	1105	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845852169' AND `virtuemart_product_id` != 1860597
2023-10-13	12:38:55	1105	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:55	1105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860597, '710845852169')
2023-10-13	12:38:55	1105	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:55	1105	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-xx1-eagle-12-vit-126-maillons-copper-unitaire' AND `virtuemart_product_id` != 1860597
2023-10-13	12:38:55	1105	[DEBUG]	Query for ProductLang
2023-10-13	12:38:55	1105	[DEBUG]	Executed store
2023-10-13	12:38:55	1105	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne PC XX1 Eagle 12-vit. 126 Maillons / COPPER (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-xx1-eagle-12-vit-126-maillons-copper-unitaire' WHERE `virtuemart_product_id` = '1860597'
2023-10-13	12:38:55	1105	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34599__chaîne_pc_xx1_eagle_12-vit__126_maillons.jpg
2023-10-13	12:38:55	1105	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:55	1105	[DEBUG]	Process image file
2023-10-13	12:38:55	1105	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:55	1105	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:55	1105	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34599__chaîne_pc_xx1_eagle_12-vit__126_maillons.jpg
2023-10-13	12:38:55	1105	[DEBUG]	Full name target: bcprisme/34599__chaîne_pc_xx1_eagle_12-vit__126_maillons.jpg
2023-10-13	12:38:56	1105	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:56	1105	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34599__chaîne_pc_xx1_eagle_12-vit__126_maillons.jpg'
2023-10-13	12:38:56	1105	[DEBUG]	Query for Media
2023-10-13	12:38:56	1105	[DEBUG]	Executed store
2023-10-13	12:38:56	1105	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34599__chaîne_pc_xx1_eagle_12-vit__126_maillons.jpg',`file_url_thumb`='bcprisme/34599__chaîne_pc_xx1_eagle_12-vit__126_maillons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '163642'
2023-10-13	12:38:56	1105	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:56	1105	[DEBUG]	Executed store
2023-10-13	12:38:56	1105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860597','163642','1')
2023-10-13	12:38:56	1105	[DEBUG]	Store product image relation
2023-10-13	12:38:56	1105	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:56	1105	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860597 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:56	1105	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:56	1105	[DEBUG]	Executed store
2023-10-13	12:38:56	1105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860597','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:56	1105	[DEBUG]	Checking manufacturer
2023-10-13	12:38:56	1105	[DEBUG]	Load a row
2023-10-13	12:38:56	1105	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:56	1105	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:56	1105	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:56	1105	[DEBUG]	Executed store
2023-10-13	12:38:56	1105	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:56	1105	[DEBUG]	Manufacturer exists
2023-10-13	12:38:56	1105	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:56	1105	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:56	1105	[DEBUG]	Executed store
2023-10-13	12:38:56	1105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860597','35')
2023-10-13	12:38:56	1105	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:56	1105	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:56	1105	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860597 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:56	1105	[DEBUG]	Store custom available field
2023-10-13	12:38:56	1105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860597,3,'',1)
2023-10-13	12:38:56	1105	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:56	1105	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:56	1105	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860597 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:56	1105	[DEBUG]	Store custom available field
2023-10-13	12:38:56	1105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860597,6,'Unitaire',3)
2023-10-13	12:38:56	1105	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:56	1105	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:56	1105	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860596
2023-10-13	12:38:56	1105	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:56	1105	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860596\":[1860596,8,1,\"choisir la taille\"],\"1860597\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860596
2023-10-13	12:38:56	1105	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:56	1105	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860597
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:56	1106	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field taille
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:56	1106	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:56	1106	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:56	1106	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:56	1106	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:56	1106	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:56	1106	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field published
2023-10-13	12:38:56	1106	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:56	1106	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field override
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:56	1106	[DEBUG]	Use field value for field slug
2023-10-13	12:38:56	1106	[DEBUG]	Process line 1106
2023-10-13	12:38:56	1106	[DEBUG]	Load a row
2023-10-13	12:38:56	1106	[DEBUG]	Processing item: A_7360_13
2023-10-13	12:38:56	1106	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:56	1106	[DEBUG]	Processing product tax
2023-10-13	12:38:56	1106	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:56	1106	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:56	1106	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:56	1106	[DEBUG]	Query for Product
2023-10-13	12:38:56	1106	[DEBUG]	Executed store
2023-10-13	12:38:56	1106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7360_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:38:56	1106	[DEBUG]	Check product language entry
2023-10-13	12:38:56	1106	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860598
2023-10-13	12:38:56	1106	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:56	1106	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7360_13' AND `virtuemart_product_id` != 1860598
2023-10-13	12:38:56	1106	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:56	1106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860598, 'A_7360_13')
2023-10-13	12:38:56	1106	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:56	1106	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc1071-114-maillons-powerlock-argent' AND `virtuemart_product_id` != 1860598
2023-10-13	12:38:56	1106	[DEBUG]	Query for ProductLang
2023-10-13	12:38:56	1106	[DEBUG]	Executed store
2023-10-13	12:38:56	1106	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7126S',`product_name`='SRAM Chaîne PC1071 114 Maillons PowerLock / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc1071-114-maillons-powerlock-argent' WHERE `virtuemart_product_id` = '1860598'
2023-10-13	12:38:56	1106	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34600_chaîne_pc1071_114_maillons_powerlock.jpg
2023-10-13	12:38:56	1106	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:56	1106	[DEBUG]	Process image file
2023-10-13	12:38:56	1106	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:56	1106	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:56	1106	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34600_chaîne_pc1071_114_maillons_powerlock.jpg
2023-10-13	12:38:56	1106	[DEBUG]	Full name target: bcprisme/34600_chaîne_pc1071_114_maillons_powerlock.jpg
2023-10-13	12:38:57	1106	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:57	1106	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34600_chaîne_pc1071_114_maillons_powerlock.jpg'
2023-10-13	12:38:57	1106	[DEBUG]	Query for Media
2023-10-13	12:38:57	1106	[DEBUG]	Executed store
2023-10-13	12:38:57	1106	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34600_chaîne_pc1071_114_maillons_powerlock.jpg',`file_url_thumb`='bcprisme/34600_chaîne_pc1071_114_maillons_powerlock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '163644'
2023-10-13	12:38:57	1106	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:57	1106	[DEBUG]	Executed store
2023-10-13	12:38:57	1106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860598','163644','1')
2023-10-13	12:38:57	1106	[DEBUG]	Store product image relation
2023-10-13	12:38:57	1106	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:57	1106	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860598 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:57	1106	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:57	1106	[DEBUG]	Executed store
2023-10-13	12:38:57	1106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860598','0','44.4753946146704','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:57	1106	[DEBUG]	Checking manufacturer
2023-10-13	12:38:57	1106	[DEBUG]	Load a row
2023-10-13	12:38:57	1106	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:57	1106	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:57	1106	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:57	1106	[DEBUG]	Executed store
2023-10-13	12:38:57	1106	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:57	1106	[DEBUG]	Manufacturer exists
2023-10-13	12:38:57	1106	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:57	1106	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:57	1106	[DEBUG]	Executed store
2023-10-13	12:38:57	1106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860598','35')
2023-10-13	12:38:57	1106	[DEBUG]	Find the custom field ID
2023-10-13	12:38:57	1106	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:57	1106	[DEBUG]	No custom field ID found
2023-10-13	12:38:57	1106	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:57	1106	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:57	1106	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860598 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:57	1106	[DEBUG]	Store custom available field
2023-10-13	12:38:57	1106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860598,3,'0',1)
2023-10-13	12:38:57	1106	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:57	1106	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:57	1106	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860598 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:57	1106	[DEBUG]	Store custom available field
2023-10-13	12:38:57	1106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860598,6,'choisir la taille',3)
2023-10-13	12:38:57	1106	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:57	1106	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:57	1106	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:57	1106	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:57	1106	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860598 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:57	1106	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:57	1106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860598,8,1)
2023-10-13	12:38:57	1106	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:57	1106	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860598\":[1860598,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860598
2023-10-13	12:38:57	1106	[DEBUG]	Checking category
2023-10-13	12:38:57	1106	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:57	1106	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860598
2023-10-13	12:38:57	1106	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:57	1106	[DEBUG]	Executed store
2023-10-13	12:38:57	1106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860598','7287')
2023-10-13	12:38:57	1106	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:57	1106	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860598 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:57	1106	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:57	1106	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860598
2023-10-13	12:38:57	1107	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:57	1107	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:57	1107	[DEBUG]	Use field value for field taille
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:57	1107	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:57	1107	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:57	1107	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:57	1107	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:57	1107	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:57	1107	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:57	1107	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:57	1107	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:57	1107	[DEBUG]	Use field value for field published
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:57	1107	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field override
2023-10-13	12:38:57	1107	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:57	1107	[DEBUG]	Use field value for field slug
2023-10-13	12:38:57	1107	[DEBUG]	Process line 1107
2023-10-13	12:38:57	1107	[DEBUG]	Load a row
2023-10-13	12:38:57	1107	[DEBUG]	Processing item: 710845644696
2023-10-13	12:38:57	1107	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:57	1107	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:57	1107	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7360_13'
2023-10-13	12:38:57	1107	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:57	1107	[DEBUG]	Processing product tax
2023-10-13	12:38:57	1107	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:57	1107	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:57	1107	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:57	1107	[DEBUG]	Query for Product
2023-10-13	12:38:57	1107	[DEBUG]	Executed store
2023-10-13	12:38:57	1107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860598','710845644696','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:38:57	1107	[DEBUG]	No parent found
2023-10-13	12:38:57	1107	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860598 AND customfield_value = 'stockable'
2023-10-13	12:38:57	1107	[DEBUG]	Check product language entry
2023-10-13	12:38:57	1107	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860599
2023-10-13	12:38:57	1107	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:57	1107	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845644696' AND `virtuemart_product_id` != 1860599
2023-10-13	12:38:57	1107	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:57	1107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860599, '710845644696')
2023-10-13	12:38:57	1107	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:57	1107	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc1071-114-maillons-powerlock-argent-unitaire' AND `virtuemart_product_id` != 1860599
2023-10-13	12:38:57	1107	[DEBUG]	Query for ProductLang
2023-10-13	12:38:57	1107	[DEBUG]	Executed store
2023-10-13	12:38:57	1107	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne PC1071 114 Maillons PowerLock / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc1071-114-maillons-powerlock-argent-unitaire' WHERE `virtuemart_product_id` = '1860599'
2023-10-13	12:38:57	1107	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34600_chaîne_pc1071_114_maillons_powerlock.jpg
2023-10-13	12:38:57	1107	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:57	1107	[DEBUG]	Process image file
2023-10-13	12:38:57	1107	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:38:57	1107	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:57	1107	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34600_chaîne_pc1071_114_maillons_powerlock.jpg
2023-10-13	12:38:57	1107	[DEBUG]	Full name target: bcprisme/34600_chaîne_pc1071_114_maillons_powerlock.jpg
2023-10-13	12:38:58	1107	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:58	1107	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34600_chaîne_pc1071_114_maillons_powerlock.jpg'
2023-10-13	12:38:58	1107	[DEBUG]	Query for Media
2023-10-13	12:38:58	1107	[DEBUG]	Executed store
2023-10-13	12:38:58	1107	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34600_chaîne_pc1071_114_maillons_powerlock.jpg',`file_url_thumb`='bcprisme/34600_chaîne_pc1071_114_maillons_powerlock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '163644'
2023-10-13	12:38:58	1107	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:58	1107	[DEBUG]	Executed store
2023-10-13	12:38:58	1107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860599','163644','1')
2023-10-13	12:38:58	1107	[DEBUG]	Store product image relation
2023-10-13	12:38:58	1107	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:58	1107	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860599 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:58	1107	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:58	1107	[DEBUG]	Executed store
2023-10-13	12:38:58	1107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860599','0','44.4753946146704','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:58	1107	[DEBUG]	Checking manufacturer
2023-10-13	12:38:58	1107	[DEBUG]	Load a row
2023-10-13	12:38:58	1107	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:58	1107	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:58	1107	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:58	1107	[DEBUG]	Executed store
2023-10-13	12:38:58	1107	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:38:58	1107	[DEBUG]	Manufacturer exists
2023-10-13	12:38:58	1107	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:38:58	1107	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:58	1107	[DEBUG]	Executed store
2023-10-13	12:38:58	1107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860599','35')
2023-10-13	12:38:58	1107	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:58	1107	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:38:58	1107	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860599 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:58	1107	[DEBUG]	Store custom available field
2023-10-13	12:38:58	1107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860599,3,'',1)
2023-10-13	12:38:58	1107	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:58	1107	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:38:58	1107	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860599 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:58	1107	[DEBUG]	Store custom available field
2023-10-13	12:38:58	1107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860599,6,'Unitaire',3)
2023-10-13	12:38:58	1107	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:58	1107	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:38:58	1107	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860598
2023-10-13	12:38:58	1107	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:58	1107	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860598\":[1860598,8,1,\"choisir la taille\"],\"1860599\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860598
2023-10-13	12:38:58	1107	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:58	1107	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860599
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:58	1108	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field taille
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field category_path
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:58	1108	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:38:58	1108	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:58	1108	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field product_weight
2023-10-13	12:38:58	1108	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:58	1108	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:58	1108	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field published
2023-10-13	12:38:58	1108	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:58	1108	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field custom_title
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field custom_param
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field override
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field public_price
2023-10-13	12:38:58	1108	[DEBUG]	Use field value for field slug
2023-10-13	12:38:58	1108	[DEBUG]	Process line 1108
2023-10-13	12:38:58	1108	[DEBUG]	Load a row
2023-10-13	12:38:58	1108	[DEBUG]	Processing item: A_7456_208
2023-10-13	12:38:58	1108	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:58	1108	[DEBUG]	Processing product tax
2023-10-13	12:38:58	1108	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:58	1108	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:58	1108	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:58	1108	[DEBUG]	Query for Product
2023-10-13	12:38:58	1108	[DEBUG]	Executed store
2023-10-13	12:38:58	1108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7456_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:38:58	1108	[DEBUG]	Check product language entry
2023-10-13	12:38:58	1108	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860600
2023-10-13	12:38:58	1108	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:58	1108	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7456_208' AND `virtuemart_product_id` != 1860600
2023-10-13	12:38:58	1108	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:58	1108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860600, 'A_7456_208')
2023-10-13	12:38:58	1108	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:58	1108	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-slx-cn-m7100-12-vitesses-138-maillons-quick-link-box-aucune' AND `virtuemart_product_id` != 1860600
2023-10-13	12:38:58	1108	[DEBUG]	Query for ProductLang
2023-10-13	12:38:58	1108	[DEBUG]	Executed store
2023-10-13	12:38:58	1108	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.75239',`product_name`='SHIMANO Chaîne SLX CN-M7100 12-vitesses 138 maillons Quick-Link box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-slx-cn-m7100-12-vitesses-138-maillons-quick-link-box-aucune' WHERE `virtuemart_product_id` = '1860600'
2023-10-13	12:38:58	1108	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75241.jpg
2023-10-13	12:38:58	1108	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:58	1108	[DEBUG]	Process image file
2023-10-13	12:38:58	1108	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:58	1108	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:58	1108	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75241.jpg
2023-10-13	12:38:58	1108	[DEBUG]	Full name target: bcprisme/68_75241.jpg
2023-10-13	12:38:59	1108	[DEBUG]	Checking if the file_url exists
2023-10-13	12:38:59	1108	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_75241.jpg'
2023-10-13	12:38:59	1108	[DEBUG]	Query for Media
2023-10-13	12:38:59	1108	[DEBUG]	Executed store
2023-10-13	12:38:59	1108	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_75241.jpg',`file_url_thumb`='bcprisme/68_75241.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435648'
2023-10-13	12:38:59	1108	[DEBUG]	Query for ProductMedia
2023-10-13	12:38:59	1108	[DEBUG]	Executed store
2023-10-13	12:38:59	1108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860600','435648','1')
2023-10-13	12:38:59	1108	[DEBUG]	Store product image relation
2023-10-13	12:38:59	1108	[DEBUG]	Finding a product_price_id
2023-10-13	12:38:59	1108	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860600 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:38:59	1108	[DEBUG]	Query for ProductPrice
2023-10-13	12:38:59	1108	[DEBUG]	Executed store
2023-10-13	12:38:59	1108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860600','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:38:59	1108	[DEBUG]	Checking manufacturer
2023-10-13	12:38:59	1108	[DEBUG]	Load a row
2023-10-13	12:38:59	1108	[DEBUG]	Manufacturer already exists
2023-10-13	12:38:59	1108	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:59	1108	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:38:59	1108	[DEBUG]	Executed store
2023-10-13	12:38:59	1108	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:38:59	1108	[DEBUG]	Manufacturer exists
2023-10-13	12:38:59	1108	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:38:59	1108	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:38:59	1108	[DEBUG]	Executed store
2023-10-13	12:38:59	1108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860600','26')
2023-10-13	12:38:59	1108	[DEBUG]	Find the custom field ID
2023-10-13	12:38:59	1108	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:38:59	1108	[DEBUG]	No custom field ID found
2023-10-13	12:38:59	1108	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:38:59	1108	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:38:59	1108	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860600 AND `virtuemart_custom_id` = 3
2023-10-13	12:38:59	1108	[DEBUG]	Store custom available field
2023-10-13	12:38:59	1108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860600,3,'0',1)
2023-10-13	12:38:59	1108	[DEBUG]	Processing custom available field: taille
2023-10-13	12:38:59	1108	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:38:59	1108	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860600 AND `virtuemart_custom_id` = 6
2023-10-13	12:38:59	1108	[DEBUG]	Store custom available field
2023-10-13	12:38:59	1108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860600,6,'choisir la taille',3)
2023-10-13	12:38:59	1108	[DEBUG]	Process multi-variant fields
2023-10-13	12:38:59	1108	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:38:59	1108	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:38:59	1108	[DEBUG]	Find the multi variant product entry
2023-10-13	12:38:59	1108	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860600 AND `virtuemart_custom_id` = 8
2023-10-13	12:38:59	1108	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:38:59	1108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860600,8,1)
2023-10-13	12:38:59	1108	[DEBUG]	Store the updated customfield_params
2023-10-13	12:38:59	1108	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860600\":[1860600,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860600
2023-10-13	12:38:59	1108	[DEBUG]	Checking category
2023-10-13	12:38:59	1108	[DEBUG]	Get the existing categories for the product
2023-10-13	12:38:59	1108	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860600
2023-10-13	12:38:59	1108	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:38:59	1108	[DEBUG]	Executed store
2023-10-13	12:38:59	1108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860600','7287')
2023-10-13	12:38:59	1108	[DEBUG]	Delete leftover product categories
2023-10-13	12:38:59	1108	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860600 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:38:59	1108	[DEBUG]	Update has fields after all processing
2023-10-13	12:38:59	1108	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860600
2023-10-13	12:38:59	1109	[DEBUG]	Use field value for field product_sku
2023-10-13	12:38:59	1109	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:38:59	1109	[DEBUG]	Use field value for field taille
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:38:59	1109	[DEBUG]	Use field value for field product_name
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field category_path
2023-10-13	12:38:59	1109	[DEBUG]	Use field value for field product_price
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:38:59	1109	[DEBUG]	Use field value for field product_tax
2023-10-13	12:38:59	1109	[DEBUG]	Use field value for field file_url
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field product_desc
2023-10-13	12:38:59	1109	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:38:59	1109	[DEBUG]	Use field value for field product_availability
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field product_weight
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field product_unit
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field related_products
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field product_special
2023-10-13	12:38:59	1109	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:38:59	1109	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:38:59	1109	[DEBUG]	Use field value for field published
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field metadesc
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field metakey
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field custom_title
2023-10-13	12:38:59	1109	[DEBUG]	Use field value for field custom_value
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field custom_param
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field override
2023-10-13	12:38:59	1109	[DEBUG]	Use default value for field public_price
2023-10-13	12:38:59	1109	[DEBUG]	Use field value for field slug
2023-10-13	12:38:59	1109	[DEBUG]	Process line 1109
2023-10-13	12:38:59	1109	[DEBUG]	Load a row
2023-10-13	12:38:59	1109	[DEBUG]	Processing item: 4550170443863
2023-10-13	12:38:59	1109	[DEBUG]	Looking for parent SKU
2023-10-13	12:38:59	1109	[DEBUG]	Checking product parent SKU
2023-10-13	12:38:59	1109	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7456_208'
2023-10-13	12:38:59	1109	[DEBUG]	Product tax: 7.7
2023-10-13	12:38:59	1109	[DEBUG]	Processing product tax
2023-10-13	12:38:59	1109	[DEBUG]	Check if calculation rule exists
2023-10-13	12:38:59	1109	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:38:59	1109	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:38:59	1109	[DEBUG]	Query for Product
2023-10-13	12:38:59	1109	[DEBUG]	Executed store
2023-10-13	12:38:59	1109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860600','4550170443863','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:38:59	1109	[DEBUG]	No parent found
2023-10-13	12:38:59	1109	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860600 AND customfield_value = 'stockable'
2023-10-13	12:38:59	1109	[DEBUG]	Check product language entry
2023-10-13	12:38:59	1109	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860601
2023-10-13	12:38:59	1109	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:59	1109	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170443863' AND `virtuemart_product_id` != 1860601
2023-10-13	12:38:59	1109	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:38:59	1109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860601, '4550170443863')
2023-10-13	12:38:59	1109	[DEBUG]	Check if the product slug exists
2023-10-13	12:38:59	1109	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-slx-cn-m7100-12-vitesses-138-maillons-quick-link-box-aucune-unitaire' AND `virtuemart_product_id` != 1860601
2023-10-13	12:38:59	1109	[DEBUG]	Query for ProductLang
2023-10-13	12:38:59	1109	[DEBUG]	Executed store
2023-10-13	12:38:59	1109	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SLX CN-M7100 12-vitesses 138 maillons Quick-Link box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-slx-cn-m7100-12-vitesses-138-maillons-quick-link-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860601'
2023-10-13	12:38:59	1109	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75241.jpg
2023-10-13	12:38:59	1109	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:59	1109	[DEBUG]	Process image file
2023-10-13	12:38:59	1109	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:38:59	1109	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:38:59	1109	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75241.jpg
2023-10-13	12:38:59	1109	[DEBUG]	Full name target: bcprisme/68_75241.jpg
2023-10-13	12:39:00	1109	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:00	1109	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_75241.jpg'
2023-10-13	12:39:00	1109	[DEBUG]	Query for Media
2023-10-13	12:39:00	1109	[DEBUG]	Executed store
2023-10-13	12:39:00	1109	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_75241.jpg',`file_url_thumb`='bcprisme/68_75241.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435648'
2023-10-13	12:39:00	1109	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:00	1109	[DEBUG]	Executed store
2023-10-13	12:39:00	1109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860601','435648','1')
2023-10-13	12:39:00	1109	[DEBUG]	Store product image relation
2023-10-13	12:39:00	1109	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:00	1109	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860601 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:00	1109	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:00	1109	[DEBUG]	Executed store
2023-10-13	12:39:00	1109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860601','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:00	1109	[DEBUG]	Checking manufacturer
2023-10-13	12:39:00	1109	[DEBUG]	Load a row
2023-10-13	12:39:00	1109	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:00	1109	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:00	1109	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:00	1109	[DEBUG]	Executed store
2023-10-13	12:39:00	1109	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:00	1109	[DEBUG]	Manufacturer exists
2023-10-13	12:39:00	1109	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:39:00	1109	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:00	1109	[DEBUG]	Executed store
2023-10-13	12:39:00	1109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860601','26')
2023-10-13	12:39:00	1109	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:00	1109	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:00	1109	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860601 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:00	1109	[DEBUG]	Store custom available field
2023-10-13	12:39:00	1109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860601,3,'',1)
2023-10-13	12:39:00	1109	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:00	1109	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:00	1109	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860601 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:00	1109	[DEBUG]	Store custom available field
2023-10-13	12:39:00	1109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860601,6,'Unitaire',3)
2023-10-13	12:39:00	1109	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:00	1109	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:00	1109	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860600
2023-10-13	12:39:00	1109	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:00	1109	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860600\":[1860600,8,1,\"choisir la taille\"],\"1860601\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860600
2023-10-13	12:39:00	1109	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:00	1109	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860601
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:00	1110	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field taille
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:00	1110	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:00	1110	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:00	1110	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:00	1110	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:00	1110	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:00	1110	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field published
2023-10-13	12:39:00	1110	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:00	1110	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field override
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:00	1110	[DEBUG]	Use field value for field slug
2023-10-13	12:39:00	1110	[DEBUG]	Process line 1110
2023-10-13	12:39:00	1110	[DEBUG]	Load a row
2023-10-13	12:39:00	1110	[DEBUG]	Processing item: A_7458_208
2023-10-13	12:39:00	1110	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:00	1110	[DEBUG]	Processing product tax
2023-10-13	12:39:00	1110	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:00	1110	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:00	1110	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:00	1110	[DEBUG]	Query for Product
2023-10-13	12:39:00	1110	[DEBUG]	Executed store
2023-10-13	12:39:00	1110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7458_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:00	1110	[DEBUG]	Check product language entry
2023-10-13	12:39:00	1110	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860602
2023-10-13	12:39:00	1110	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:00	1110	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7458_208' AND `virtuemart_product_id` != 1860602
2023-10-13	12:39:00	1110	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:00	1110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860602, 'A_7458_208')
2023-10-13	12:39:00	1110	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:00	1110	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-slx-cn-m7100-12-vitesses-116-maillons-quick-link-box-aucune' AND `virtuemart_product_id` != 1860602
2023-10-13	12:39:00	1110	[DEBUG]	Query for ProductLang
2023-10-13	12:39:00	1110	[DEBUG]	Executed store
2023-10-13	12:39:00	1110	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.75241',`product_name`='SHIMANO Chaîne SLX CN-M7100 12-vitesses 116 maillons Quick-Link box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-slx-cn-m7100-12-vitesses-116-maillons-quick-link-box-aucune' WHERE `virtuemart_product_id` = '1860602'
2023-10-13	12:39:00	1110	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75241.jpg
2023-10-13	12:39:00	1110	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:00	1110	[DEBUG]	Process image file
2023-10-13	12:39:00	1110	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:00	1110	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:00	1110	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75241.jpg
2023-10-13	12:39:00	1110	[DEBUG]	Full name target: bcprisme/68_75241.jpg
2023-10-13	12:39:01	1110	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:01	1110	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_75241.jpg'
2023-10-13	12:39:01	1110	[DEBUG]	Query for Media
2023-10-13	12:39:01	1110	[DEBUG]	Executed store
2023-10-13	12:39:01	1110	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_75241.jpg',`file_url_thumb`='bcprisme/68_75241.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435648'
2023-10-13	12:39:01	1110	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:01	1110	[DEBUG]	Executed store
2023-10-13	12:39:01	1110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860602','435648','1')
2023-10-13	12:39:01	1110	[DEBUG]	Store product image relation
2023-10-13	12:39:01	1110	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:01	1110	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860602 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:01	1110	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:01	1110	[DEBUG]	Executed store
2023-10-13	12:39:01	1110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860602','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:01	1110	[DEBUG]	Checking manufacturer
2023-10-13	12:39:01	1110	[DEBUG]	Load a row
2023-10-13	12:39:01	1110	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:01	1110	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:01	1110	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:01	1110	[DEBUG]	Executed store
2023-10-13	12:39:01	1110	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:01	1110	[DEBUG]	Manufacturer exists
2023-10-13	12:39:01	1110	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:39:01	1110	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:01	1110	[DEBUG]	Executed store
2023-10-13	12:39:01	1110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860602','26')
2023-10-13	12:39:01	1110	[DEBUG]	Find the custom field ID
2023-10-13	12:39:01	1110	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:01	1110	[DEBUG]	No custom field ID found
2023-10-13	12:39:01	1110	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:01	1110	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:01	1110	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860602 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:01	1110	[DEBUG]	Store custom available field
2023-10-13	12:39:01	1110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860602,3,'0',1)
2023-10-13	12:39:01	1110	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:01	1110	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:01	1110	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860602 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:01	1110	[DEBUG]	Store custom available field
2023-10-13	12:39:01	1110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860602,6,'choisir la taille',3)
2023-10-13	12:39:01	1110	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:01	1110	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:01	1110	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:01	1110	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:01	1110	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860602 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:01	1110	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:01	1110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860602,8,1)
2023-10-13	12:39:01	1110	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:01	1110	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860602\":[1860602,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860602
2023-10-13	12:39:01	1110	[DEBUG]	Checking category
2023-10-13	12:39:01	1110	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:01	1110	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860602
2023-10-13	12:39:01	1110	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:01	1110	[DEBUG]	Executed store
2023-10-13	12:39:01	1110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860602','7287')
2023-10-13	12:39:01	1110	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:01	1110	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860602 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:39:01	1110	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:01	1110	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860602
2023-10-13	12:39:01	1111	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:01	1111	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:01	1111	[DEBUG]	Use field value for field taille
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:01	1111	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:01	1111	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:01	1111	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:01	1111	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:01	1111	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:01	1111	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:01	1111	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:01	1111	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:01	1111	[DEBUG]	Use field value for field published
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:01	1111	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field override
2023-10-13	12:39:01	1111	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:01	1111	[DEBUG]	Use field value for field slug
2023-10-13	12:39:01	1111	[DEBUG]	Process line 1111
2023-10-13	12:39:01	1111	[DEBUG]	Load a row
2023-10-13	12:39:01	1111	[DEBUG]	Processing item: 4550170443856
2023-10-13	12:39:01	1111	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:01	1111	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:01	1111	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7458_208'
2023-10-13	12:39:01	1111	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:01	1111	[DEBUG]	Processing product tax
2023-10-13	12:39:01	1111	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:01	1111	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:01	1111	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:01	1111	[DEBUG]	Query for Product
2023-10-13	12:39:01	1111	[DEBUG]	Executed store
2023-10-13	12:39:01	1111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860602','4550170443856','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:01	1111	[DEBUG]	No parent found
2023-10-13	12:39:01	1111	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860602 AND customfield_value = 'stockable'
2023-10-13	12:39:01	1111	[DEBUG]	Check product language entry
2023-10-13	12:39:01	1111	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860603
2023-10-13	12:39:01	1111	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:01	1111	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170443856' AND `virtuemart_product_id` != 1860603
2023-10-13	12:39:01	1111	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:01	1111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860603, '4550170443856')
2023-10-13	12:39:01	1111	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:01	1111	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-slx-cn-m7100-12-vitesses-116-maillons-quick-link-box-aucune-unitaire' AND `virtuemart_product_id` != 1860603
2023-10-13	12:39:01	1111	[DEBUG]	Query for ProductLang
2023-10-13	12:39:01	1111	[DEBUG]	Executed store
2023-10-13	12:39:01	1111	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SLX CN-M7100 12-vitesses 116 maillons Quick-Link box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-slx-cn-m7100-12-vitesses-116-maillons-quick-link-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860603'
2023-10-13	12:39:01	1111	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75241.jpg
2023-10-13	12:39:01	1111	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:01	1111	[DEBUG]	Process image file
2023-10-13	12:39:01	1111	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:01	1111	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:01	1111	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75241.jpg
2023-10-13	12:39:01	1111	[DEBUG]	Full name target: bcprisme/68_75241.jpg
2023-10-13	12:39:02	1111	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:02	1111	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_75241.jpg'
2023-10-13	12:39:02	1111	[DEBUG]	Query for Media
2023-10-13	12:39:02	1111	[DEBUG]	Executed store
2023-10-13	12:39:02	1111	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_75241.jpg',`file_url_thumb`='bcprisme/68_75241.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435648'
2023-10-13	12:39:02	1111	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:02	1111	[DEBUG]	Executed store
2023-10-13	12:39:02	1111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860603','435648','1')
2023-10-13	12:39:02	1111	[DEBUG]	Store product image relation
2023-10-13	12:39:02	1111	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:02	1111	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860603 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:02	1111	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:02	1111	[DEBUG]	Executed store
2023-10-13	12:39:02	1111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860603','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:02	1111	[DEBUG]	Checking manufacturer
2023-10-13	12:39:02	1111	[DEBUG]	Load a row
2023-10-13	12:39:02	1111	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:02	1111	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:02	1111	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:02	1111	[DEBUG]	Executed store
2023-10-13	12:39:02	1111	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:02	1111	[DEBUG]	Manufacturer exists
2023-10-13	12:39:02	1111	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:39:02	1111	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:02	1111	[DEBUG]	Executed store
2023-10-13	12:39:02	1111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860603','26')
2023-10-13	12:39:02	1111	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:02	1111	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:02	1111	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860603 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:02	1111	[DEBUG]	Store custom available field
2023-10-13	12:39:02	1111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860603,3,'',1)
2023-10-13	12:39:02	1111	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:02	1111	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:02	1111	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860603 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:02	1111	[DEBUG]	Store custom available field
2023-10-13	12:39:02	1111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860603,6,'Unitaire',3)
2023-10-13	12:39:02	1111	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:02	1111	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:02	1111	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860602
2023-10-13	12:39:02	1111	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:02	1111	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860602\":[1860602,8,1,\"choisir la taille\"],\"1860603\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860602
2023-10-13	12:39:02	1111	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:02	1111	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860603
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:02	1112	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field taille
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:02	1112	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:02	1112	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:02	1112	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:02	1112	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:02	1112	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:02	1112	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field published
2023-10-13	12:39:02	1112	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:02	1112	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field override
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:02	1112	[DEBUG]	Use field value for field slug
2023-10-13	12:39:02	1112	[DEBUG]	Process line 1112
2023-10-13	12:39:02	1112	[DEBUG]	Load a row
2023-10-13	12:39:02	1112	[DEBUG]	Processing item: A_7459_208
2023-10-13	12:39:02	1112	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:02	1112	[DEBUG]	Processing product tax
2023-10-13	12:39:02	1112	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:02	1112	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:02	1112	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:02	1112	[DEBUG]	Query for Product
2023-10-13	12:39:02	1112	[DEBUG]	Executed store
2023-10-13	12:39:02	1112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7459_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:02	1112	[DEBUG]	Check product language entry
2023-10-13	12:39:02	1112	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860604
2023-10-13	12:39:02	1112	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:02	1112	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7459_208' AND `virtuemart_product_id` != 1860604
2023-10-13	12:39:02	1112	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:02	1112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860604, 'A_7459_208')
2023-10-13	12:39:02	1112	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:02	1112	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-slx-cn-m7100-12-vitesses-126-maillons-quick-link-box-aucune' AND `virtuemart_product_id` != 1860604
2023-10-13	12:39:02	1112	[DEBUG]	Query for ProductLang
2023-10-13	12:39:02	1112	[DEBUG]	Executed store
2023-10-13	12:39:02	1112	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.75240',`product_name`='SHIMANO Chaîne SLX CN-M7100 12-vitesses 126 maillons Quick-Link box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-slx-cn-m7100-12-vitesses-126-maillons-quick-link-box-aucune' WHERE `virtuemart_product_id` = '1860604'
2023-10-13	12:39:02	1112	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75241.jpg
2023-10-13	12:39:02	1112	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:02	1112	[DEBUG]	Process image file
2023-10-13	12:39:02	1112	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:02	1112	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:02	1112	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75241.jpg
2023-10-13	12:39:02	1112	[DEBUG]	Full name target: bcprisme/68_75241.jpg
2023-10-13	12:39:03	1112	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:03	1112	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_75241.jpg'
2023-10-13	12:39:03	1112	[DEBUG]	Query for Media
2023-10-13	12:39:03	1112	[DEBUG]	Executed store
2023-10-13	12:39:03	1112	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_75241.jpg',`file_url_thumb`='bcprisme/68_75241.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435648'
2023-10-13	12:39:03	1112	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:03	1112	[DEBUG]	Executed store
2023-10-13	12:39:03	1112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860604','435648','1')
2023-10-13	12:39:03	1112	[DEBUG]	Store product image relation
2023-10-13	12:39:03	1112	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:03	1112	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860604 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:03	1112	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:03	1112	[DEBUG]	Executed store
2023-10-13	12:39:03	1112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860604','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:03	1112	[DEBUG]	Checking manufacturer
2023-10-13	12:39:03	1112	[DEBUG]	Load a row
2023-10-13	12:39:03	1112	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:03	1112	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:03	1112	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:03	1112	[DEBUG]	Executed store
2023-10-13	12:39:03	1112	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:03	1112	[DEBUG]	Manufacturer exists
2023-10-13	12:39:03	1112	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:39:03	1112	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:03	1112	[DEBUG]	Executed store
2023-10-13	12:39:03	1112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860604','26')
2023-10-13	12:39:03	1112	[DEBUG]	Find the custom field ID
2023-10-13	12:39:03	1112	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:03	1112	[DEBUG]	No custom field ID found
2023-10-13	12:39:03	1112	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:03	1112	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:03	1112	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860604 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:03	1112	[DEBUG]	Store custom available field
2023-10-13	12:39:03	1112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860604,3,'0',1)
2023-10-13	12:39:03	1112	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:03	1112	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:03	1112	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860604 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:03	1112	[DEBUG]	Store custom available field
2023-10-13	12:39:03	1112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860604,6,'choisir la taille',3)
2023-10-13	12:39:03	1112	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:03	1112	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:03	1112	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:03	1112	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:03	1112	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860604 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:03	1112	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:03	1112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860604,8,1)
2023-10-13	12:39:03	1112	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:03	1112	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860604\":[1860604,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860604
2023-10-13	12:39:03	1112	[DEBUG]	Checking category
2023-10-13	12:39:03	1112	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:03	1112	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860604
2023-10-13	12:39:03	1112	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:03	1112	[DEBUG]	Executed store
2023-10-13	12:39:03	1112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860604','7287')
2023-10-13	12:39:03	1112	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:03	1112	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860604 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:39:03	1112	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:03	1112	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860604
2023-10-13	12:39:03	1113	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:03	1113	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:03	1113	[DEBUG]	Use field value for field taille
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:03	1113	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:03	1113	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:03	1113	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:03	1113	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:03	1113	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:03	1113	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:03	1113	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:03	1113	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:03	1113	[DEBUG]	Use field value for field published
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:03	1113	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field override
2023-10-13	12:39:03	1113	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:03	1113	[DEBUG]	Use field value for field slug
2023-10-13	12:39:03	1113	[DEBUG]	Process line 1113
2023-10-13	12:39:03	1113	[DEBUG]	Load a row
2023-10-13	12:39:03	1113	[DEBUG]	Processing item: 4550170443870
2023-10-13	12:39:03	1113	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:03	1113	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:03	1113	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7459_208'
2023-10-13	12:39:03	1113	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:03	1113	[DEBUG]	Processing product tax
2023-10-13	12:39:03	1113	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:03	1113	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:03	1113	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:03	1113	[DEBUG]	Query for Product
2023-10-13	12:39:03	1113	[DEBUG]	Executed store
2023-10-13	12:39:03	1113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860604','4550170443870','0','KG','M','','17','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:03	1113	[DEBUG]	No parent found
2023-10-13	12:39:03	1113	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860604 AND customfield_value = 'stockable'
2023-10-13	12:39:03	1113	[DEBUG]	Check product language entry
2023-10-13	12:39:03	1113	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860605
2023-10-13	12:39:03	1113	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:03	1113	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170443870' AND `virtuemart_product_id` != 1860605
2023-10-13	12:39:03	1113	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:03	1113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860605, '4550170443870')
2023-10-13	12:39:03	1113	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:03	1113	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-slx-cn-m7100-12-vitesses-126-maillons-quick-link-box-aucune-unitaire' AND `virtuemart_product_id` != 1860605
2023-10-13	12:39:03	1113	[DEBUG]	Query for ProductLang
2023-10-13	12:39:03	1113	[DEBUG]	Executed store
2023-10-13	12:39:03	1113	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SLX CN-M7100 12-vitesses 126 maillons Quick-Link box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-slx-cn-m7100-12-vitesses-126-maillons-quick-link-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860605'
2023-10-13	12:39:03	1113	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75241.jpg
2023-10-13	12:39:03	1113	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:03	1113	[DEBUG]	Process image file
2023-10-13	12:39:03	1113	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:03	1113	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:03	1113	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75241.jpg
2023-10-13	12:39:03	1113	[DEBUG]	Full name target: bcprisme/68_75241.jpg
2023-10-13	12:39:04	1113	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:04	1113	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_75241.jpg'
2023-10-13	12:39:04	1113	[DEBUG]	Query for Media
2023-10-13	12:39:04	1113	[DEBUG]	Executed store
2023-10-13	12:39:04	1113	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_75241.jpg',`file_url_thumb`='bcprisme/68_75241.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435648'
2023-10-13	12:39:04	1113	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:04	1113	[DEBUG]	Executed store
2023-10-13	12:39:04	1113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860605','435648','1')
2023-10-13	12:39:04	1113	[DEBUG]	Store product image relation
2023-10-13	12:39:04	1113	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:04	1113	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860605 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:04	1113	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:04	1113	[DEBUG]	Executed store
2023-10-13	12:39:04	1113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860605','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:04	1113	[DEBUG]	Checking manufacturer
2023-10-13	12:39:04	1113	[DEBUG]	Load a row
2023-10-13	12:39:04	1113	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:04	1113	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:04	1113	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:04	1113	[DEBUG]	Executed store
2023-10-13	12:39:04	1113	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:04	1113	[DEBUG]	Manufacturer exists
2023-10-13	12:39:04	1113	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:39:04	1113	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:04	1113	[DEBUG]	Executed store
2023-10-13	12:39:04	1113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860605','26')
2023-10-13	12:39:04	1113	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:04	1113	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:04	1113	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860605 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:04	1113	[DEBUG]	Store custom available field
2023-10-13	12:39:04	1113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860605,3,'',1)
2023-10-13	12:39:04	1113	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:04	1113	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:04	1113	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860605 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:04	1113	[DEBUG]	Store custom available field
2023-10-13	12:39:04	1113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860605,6,'Unitaire',3)
2023-10-13	12:39:04	1113	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:04	1113	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:04	1113	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860604
2023-10-13	12:39:04	1113	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:04	1113	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860604\":[1860604,8,1,\"choisir la taille\"],\"1860605\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860604
2023-10-13	12:39:04	1113	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:04	1113	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860605
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:04	1114	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field taille
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:04	1114	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:04	1114	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:04	1114	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:04	1114	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:04	1114	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:04	1114	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field published
2023-10-13	12:39:04	1114	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:04	1114	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field override
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:04	1114	[DEBUG]	Use field value for field slug
2023-10-13	12:39:04	1114	[DEBUG]	Process line 1114
2023-10-13	12:39:04	1114	[DEBUG]	Load a row
2023-10-13	12:39:04	1114	[DEBUG]	Processing item: A_8321_208
2023-10-13	12:39:04	1114	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:04	1114	[DEBUG]	Processing product tax
2023-10-13	12:39:04	1114	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:04	1114	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:04	1114	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:04	1114	[DEBUG]	Query for Product
2023-10-13	12:39:04	1114	[DEBUG]	Executed store
2023-10-13	12:39:04	1114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8321_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:04	1114	[DEBUG]	Check product language entry
2023-10-13	12:39:04	1114	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860606
2023-10-13	12:39:04	1114	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:04	1114	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8321_208' AND `virtuemart_product_id` != 1860606
2023-10-13	12:39:04	1114	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:04	1114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860606, 'A_8321_208')
2023-10-13	12:39:04	1114	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:04	1114	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-deore-cn-m6100-12-vitesses-126-maillons-quick-link-box-aucune' AND `virtuemart_product_id` != 1860606
2023-10-13	12:39:04	1114	[DEBUG]	Query for ProductLang
2023-10-13	12:39:04	1114	[DEBUG]	Executed store
2023-10-13	12:39:04	1114	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.77999',`product_name`='SHIMANO Chaîne Deore CN-M6100 12-vitesses 126 maillons Quick-Link box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-deore-cn-m6100-12-vitesses-126-maillons-quick-link-box-aucune' WHERE `virtuemart_product_id` = '1860606'
2023-10-13	12:39:04	1114	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_77998_009_jpg.jpg
2023-10-13	12:39:04	1114	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:04	1114	[DEBUG]	Process image file
2023-10-13	12:39:04	1114	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:04	1114	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:04	1114	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_77998_009_jpg.jpg
2023-10-13	12:39:04	1114	[DEBUG]	Full name target: bcprisme/68_77998_009_jpg.jpg
2023-10-13	12:39:05	1114	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:05	1114	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_77998_009_jpg.jpg'
2023-10-13	12:39:05	1114	[DEBUG]	Query for Media
2023-10-13	12:39:05	1114	[DEBUG]	Executed store
2023-10-13	12:39:05	1114	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_77998_009_jpg.jpg',`file_url_thumb`='bcprisme/68_77998_009_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1099930'
2023-10-13	12:39:05	1114	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:05	1114	[DEBUG]	Executed store
2023-10-13	12:39:05	1114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860606','1099930','1')
2023-10-13	12:39:05	1114	[DEBUG]	Store product image relation
2023-10-13	12:39:05	1114	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:05	1114	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860606 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:05	1114	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:05	1114	[DEBUG]	Executed store
2023-10-13	12:39:05	1114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860606','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:05	1114	[DEBUG]	Checking manufacturer
2023-10-13	12:39:05	1114	[DEBUG]	Load a row
2023-10-13	12:39:05	1114	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:05	1114	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:05	1114	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:05	1114	[DEBUG]	Executed store
2023-10-13	12:39:05	1114	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:05	1114	[DEBUG]	Manufacturer exists
2023-10-13	12:39:05	1114	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:39:05	1114	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:05	1114	[DEBUG]	Executed store
2023-10-13	12:39:05	1114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860606','26')
2023-10-13	12:39:05	1114	[DEBUG]	Find the custom field ID
2023-10-13	12:39:05	1114	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:05	1114	[DEBUG]	No custom field ID found
2023-10-13	12:39:05	1114	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:05	1114	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:05	1114	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860606 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:05	1114	[DEBUG]	Store custom available field
2023-10-13	12:39:05	1114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860606,3,'0',1)
2023-10-13	12:39:05	1114	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:05	1114	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:05	1114	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860606 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:05	1114	[DEBUG]	Store custom available field
2023-10-13	12:39:05	1114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860606,6,'choisir la taille',3)
2023-10-13	12:39:05	1114	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:05	1114	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:05	1114	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:05	1114	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:05	1114	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860606 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:05	1114	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:05	1114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860606,8,1)
2023-10-13	12:39:05	1114	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:05	1114	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860606\":[1860606,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860606
2023-10-13	12:39:05	1114	[DEBUG]	Checking category
2023-10-13	12:39:05	1114	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:05	1114	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860606
2023-10-13	12:39:05	1114	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:05	1114	[DEBUG]	Executed store
2023-10-13	12:39:05	1114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860606','7287')
2023-10-13	12:39:05	1114	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:05	1114	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860606 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:39:05	1114	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:05	1114	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860606
2023-10-13	12:39:05	1115	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:05	1115	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:05	1115	[DEBUG]	Use field value for field taille
2023-10-13	12:39:05	1115	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:05	1115	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:05	1115	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:05	1115	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:05	1115	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:05	1115	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:05	1115	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:05	1115	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:05	1115	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:05	1115	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:05	1115	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:05	1115	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:05	1115	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:05	1115	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:05	1115	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:05	1115	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:05	1115	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:05	1115	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:05	1115	[DEBUG]	Use field value for field published
2023-10-13	12:39:05	1115	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:05	1115	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:05	1115	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:05	1115	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:05	1115	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:06	1115	[DEBUG]	Use default value for field override
2023-10-13	12:39:06	1115	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:06	1115	[DEBUG]	Use field value for field slug
2023-10-13	12:39:06	1115	[DEBUG]	Process line 1115
2023-10-13	12:39:06	1115	[DEBUG]	Load a row
2023-10-13	12:39:06	1115	[DEBUG]	Processing item: 4550170618827
2023-10-13	12:39:06	1115	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:06	1115	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:06	1115	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8321_208'
2023-10-13	12:39:06	1115	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:06	1115	[DEBUG]	Processing product tax
2023-10-13	12:39:06	1115	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:06	1115	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:06	1115	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:06	1115	[DEBUG]	Query for Product
2023-10-13	12:39:06	1115	[DEBUG]	Executed store
2023-10-13	12:39:06	1115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860606','4550170618827','0','KG','M','','21','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:06	1115	[DEBUG]	No parent found
2023-10-13	12:39:06	1115	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860606 AND customfield_value = 'stockable'
2023-10-13	12:39:06	1115	[DEBUG]	Check product language entry
2023-10-13	12:39:06	1115	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860607
2023-10-13	12:39:06	1115	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:06	1115	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170618827' AND `virtuemart_product_id` != 1860607
2023-10-13	12:39:06	1115	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:06	1115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860607, '4550170618827')
2023-10-13	12:39:06	1115	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:06	1115	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-deore-cn-m6100-12-vitesses-126-maillons-quick-link-box-aucune-unitaire' AND `virtuemart_product_id` != 1860607
2023-10-13	12:39:06	1115	[DEBUG]	Query for ProductLang
2023-10-13	12:39:06	1115	[DEBUG]	Executed store
2023-10-13	12:39:06	1115	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne Deore CN-M6100 12-vitesses 126 maillons Quick-Link box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-deore-cn-m6100-12-vitesses-126-maillons-quick-link-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860607'
2023-10-13	12:39:06	1115	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_77998_009_jpg.jpg
2023-10-13	12:39:06	1115	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:06	1115	[DEBUG]	Process image file
2023-10-13	12:39:06	1115	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:06	1115	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:06	1115	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_77998_009_jpg.jpg
2023-10-13	12:39:06	1115	[DEBUG]	Full name target: bcprisme/68_77998_009_jpg.jpg
2023-10-13	12:39:07	1115	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:07	1115	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_77998_009_jpg.jpg'
2023-10-13	12:39:07	1115	[DEBUG]	Query for Media
2023-10-13	12:39:07	1115	[DEBUG]	Executed store
2023-10-13	12:39:07	1115	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_77998_009_jpg.jpg',`file_url_thumb`='bcprisme/68_77998_009_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1099930'
2023-10-13	12:39:07	1115	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:07	1115	[DEBUG]	Executed store
2023-10-13	12:39:07	1115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860607','1099930','1')
2023-10-13	12:39:07	1115	[DEBUG]	Store product image relation
2023-10-13	12:39:07	1115	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:07	1115	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860607 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:07	1115	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:07	1115	[DEBUG]	Executed store
2023-10-13	12:39:07	1115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860607','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:07	1115	[DEBUG]	Checking manufacturer
2023-10-13	12:39:07	1115	[DEBUG]	Load a row
2023-10-13	12:39:07	1115	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:07	1115	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:07	1115	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:07	1115	[DEBUG]	Executed store
2023-10-13	12:39:07	1115	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:07	1115	[DEBUG]	Manufacturer exists
2023-10-13	12:39:07	1115	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:39:07	1115	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:07	1115	[DEBUG]	Executed store
2023-10-13	12:39:07	1115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860607','26')
2023-10-13	12:39:07	1115	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:07	1115	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:07	1115	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860607 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:07	1115	[DEBUG]	Store custom available field
2023-10-13	12:39:07	1115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860607,3,'',1)
2023-10-13	12:39:07	1115	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:07	1115	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:07	1115	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860607 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:07	1115	[DEBUG]	Store custom available field
2023-10-13	12:39:07	1115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860607,6,'Unitaire',3)
2023-10-13	12:39:07	1115	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:07	1115	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:07	1115	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860606
2023-10-13	12:39:07	1115	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:07	1115	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860606\":[1860606,8,1,\"choisir la taille\"],\"1860607\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860606
2023-10-13	12:39:07	1115	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:07	1115	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860607
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:07	1116	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field taille
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:07	1116	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:07	1116	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:07	1116	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:07	1116	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:07	1116	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:07	1116	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field published
2023-10-13	12:39:07	1116	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:07	1116	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field override
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:07	1116	[DEBUG]	Use field value for field slug
2023-10-13	12:39:07	1116	[DEBUG]	Process line 1116
2023-10-13	12:39:07	1116	[DEBUG]	Load a row
2023-10-13	12:39:07	1116	[DEBUG]	Processing item: A_8355_4
2023-10-13	12:39:07	1116	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:07	1116	[DEBUG]	Processing product tax
2023-10-13	12:39:07	1116	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:07	1116	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:07	1116	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:07	1116	[DEBUG]	Query for Product
2023-10-13	12:39:07	1116	[DEBUG]	Executed store
2023-10-13	12:39:07	1116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8355_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:07	1116	[DEBUG]	Check product language entry
2023-10-13	12:39:07	1116	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860608
2023-10-13	12:39:07	1116	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:07	1116	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8355_4' AND `virtuemart_product_id` != 1860608
2023-10-13	12:39:07	1116	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:07	1116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860608, 'A_8355_4')
2023-10-13	12:39:07	1116	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:07	1116	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rapponse-de-chaine-7-8-vitesses-acier' AND `virtuemart_product_id` != 1860608
2023-10-13	12:39:07	1116	[DEBUG]	Query for ProductLang
2023-10-13	12:39:07	1116	[DEBUG]	Executed store
2023-10-13	12:39:07	1116	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8080J',`product_name`='SRAM Rapponse de Chaîne 7-8 vitesses / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rapponse-de-chaine-7-8-vitesses-acier' WHERE `virtuemart_product_id` = '1860608'
2023-10-13	12:39:07	1116	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36996_connecteur_de_chaîne_8_vitesses.jpg
2023-10-13	12:39:07	1116	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:07	1116	[DEBUG]	Process image file
2023-10-13	12:39:07	1116	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:07	1116	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:07	1116	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36996_connecteur_de_chaîne_8_vitesses.jpg
2023-10-13	12:39:07	1116	[DEBUG]	Full name target: bcprisme/36996_connecteur_de_chaîne_8_vitesses.jpg
2023-10-13	12:39:08	1116	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:08	1116	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36996_connecteur_de_chaîne_8_vitesses.jpg'
2023-10-13	12:39:08	1116	[DEBUG]	Query for Media
2023-10-13	12:39:08	1116	[DEBUG]	Executed store
2023-10-13	12:39:08	1116	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36996_connecteur_de_chaîne_8_vitesses.jpg',`file_url_thumb`='bcprisme/36996_connecteur_de_chaîne_8_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '796609'
2023-10-13	12:39:08	1116	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:08	1116	[DEBUG]	Executed store
2023-10-13	12:39:08	1116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860608','796609','1')
2023-10-13	12:39:08	1116	[DEBUG]	Store product image relation
2023-10-13	12:39:08	1116	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:08	1116	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860608 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:08	1116	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:08	1116	[DEBUG]	Executed store
2023-10-13	12:39:08	1116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860608','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:08	1116	[DEBUG]	Checking manufacturer
2023-10-13	12:39:08	1116	[DEBUG]	Load a row
2023-10-13	12:39:08	1116	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:08	1116	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:08	1116	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:08	1116	[DEBUG]	Executed store
2023-10-13	12:39:08	1116	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:08	1116	[DEBUG]	Manufacturer exists
2023-10-13	12:39:08	1116	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:08	1116	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:08	1116	[DEBUG]	Executed store
2023-10-13	12:39:08	1116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860608','35')
2023-10-13	12:39:08	1116	[DEBUG]	Find the custom field ID
2023-10-13	12:39:08	1116	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:08	1116	[DEBUG]	No custom field ID found
2023-10-13	12:39:08	1116	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:08	1116	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:08	1116	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860608 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:08	1116	[DEBUG]	Store custom available field
2023-10-13	12:39:08	1116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860608,3,'0',1)
2023-10-13	12:39:08	1116	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:08	1116	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:08	1116	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860608 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:08	1116	[DEBUG]	Store custom available field
2023-10-13	12:39:08	1116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860608,6,'choisir la taille',3)
2023-10-13	12:39:08	1116	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:08	1116	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:08	1116	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:08	1116	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:08	1116	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860608 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:08	1116	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:08	1116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860608,8,1)
2023-10-13	12:39:08	1116	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:08	1116	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860608\":[1860608,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860608
2023-10-13	12:39:08	1116	[DEBUG]	Checking category
2023-10-13	12:39:08	1116	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:08	1116	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860608
2023-10-13	12:39:08	1116	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:08	1116	[DEBUG]	Executed store
2023-10-13	12:39:08	1116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860608','7287')
2023-10-13	12:39:08	1116	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:08	1116	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860608 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:39:08	1116	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:08	1116	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860608
2023-10-13	12:39:08	1117	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:08	1117	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:08	1117	[DEBUG]	Use field value for field taille
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:08	1117	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:08	1117	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:08	1117	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:08	1117	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:08	1117	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:08	1117	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:08	1117	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:08	1117	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:08	1117	[DEBUG]	Use field value for field published
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:08	1117	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field override
2023-10-13	12:39:08	1117	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:08	1117	[DEBUG]	Use field value for field slug
2023-10-13	12:39:08	1117	[DEBUG]	Process line 1117
2023-10-13	12:39:08	1117	[DEBUG]	Load a row
2023-10-13	12:39:08	1117	[DEBUG]	Processing item: 8716683056112
2023-10-13	12:39:08	1117	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:08	1117	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:08	1117	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8355_4'
2023-10-13	12:39:08	1117	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:08	1117	[DEBUG]	Processing product tax
2023-10-13	12:39:08	1117	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:08	1117	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:08	1117	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:08	1117	[DEBUG]	Query for Product
2023-10-13	12:39:08	1117	[DEBUG]	Executed store
2023-10-13	12:39:08	1117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860608','8716683056112','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:08	1117	[DEBUG]	No parent found
2023-10-13	12:39:08	1117	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860608 AND customfield_value = 'stockable'
2023-10-13	12:39:08	1117	[DEBUG]	Check product language entry
2023-10-13	12:39:08	1117	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860609
2023-10-13	12:39:08	1117	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:08	1117	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8716683056112' AND `virtuemart_product_id` != 1860609
2023-10-13	12:39:08	1117	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:08	1117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860609, '8716683056112')
2023-10-13	12:39:08	1117	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:08	1117	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rapponse-de-chaine-7-8-vitesses-acier-unitaire' AND `virtuemart_product_id` != 1860609
2023-10-13	12:39:08	1117	[DEBUG]	Query for ProductLang
2023-10-13	12:39:08	1117	[DEBUG]	Executed store
2023-10-13	12:39:08	1117	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Rapponse de Chaîne 7-8 vitesses / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rapponse-de-chaine-7-8-vitesses-acier-unitaire' WHERE `virtuemart_product_id` = '1860609'
2023-10-13	12:39:08	1117	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36996_connecteur_de_chaîne_8_vitesses.jpg
2023-10-13	12:39:08	1117	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:08	1117	[DEBUG]	Process image file
2023-10-13	12:39:08	1117	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:08	1117	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:08	1117	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36996_connecteur_de_chaîne_8_vitesses.jpg
2023-10-13	12:39:08	1117	[DEBUG]	Full name target: bcprisme/36996_connecteur_de_chaîne_8_vitesses.jpg
2023-10-13	12:39:09	1117	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:09	1117	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36996_connecteur_de_chaîne_8_vitesses.jpg'
2023-10-13	12:39:09	1117	[DEBUG]	Query for Media
2023-10-13	12:39:09	1117	[DEBUG]	Executed store
2023-10-13	12:39:09	1117	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36996_connecteur_de_chaîne_8_vitesses.jpg',`file_url_thumb`='bcprisme/36996_connecteur_de_chaîne_8_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '796609'
2023-10-13	12:39:09	1117	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:09	1117	[DEBUG]	Executed store
2023-10-13	12:39:09	1117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860609','796609','1')
2023-10-13	12:39:09	1117	[DEBUG]	Store product image relation
2023-10-13	12:39:09	1117	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:09	1117	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860609 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:09	1117	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:09	1117	[DEBUG]	Executed store
2023-10-13	12:39:09	1117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860609','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:09	1117	[DEBUG]	Checking manufacturer
2023-10-13	12:39:09	1117	[DEBUG]	Load a row
2023-10-13	12:39:09	1117	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:09	1117	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:09	1117	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:09	1117	[DEBUG]	Executed store
2023-10-13	12:39:09	1117	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:09	1117	[DEBUG]	Manufacturer exists
2023-10-13	12:39:09	1117	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:09	1117	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:09	1117	[DEBUG]	Executed store
2023-10-13	12:39:09	1117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860609','35')
2023-10-13	12:39:09	1117	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:09	1117	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:09	1117	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860609 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:09	1117	[DEBUG]	Store custom available field
2023-10-13	12:39:09	1117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860609,3,'',1)
2023-10-13	12:39:09	1117	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:09	1117	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:09	1117	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860609 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:09	1117	[DEBUG]	Store custom available field
2023-10-13	12:39:09	1117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860609,6,'Unitaire',3)
2023-10-13	12:39:09	1117	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:09	1117	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:09	1117	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860608
2023-10-13	12:39:09	1117	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:09	1117	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860608\":[1860608,8,1,\"choisir la taille\"],\"1860609\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860608
2023-10-13	12:39:09	1117	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:09	1117	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860609
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:09	1118	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field taille
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:09	1118	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:09	1118	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:09	1118	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:09	1118	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:09	1118	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:09	1118	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field published
2023-10-13	12:39:09	1118	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:09	1118	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field override
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:09	1118	[DEBUG]	Use field value for field slug
2023-10-13	12:39:09	1118	[DEBUG]	Process line 1118
2023-10-13	12:39:09	1118	[DEBUG]	Load a row
2023-10-13	12:39:09	1118	[DEBUG]	Processing item: A_8693_208
2023-10-13	12:39:09	1118	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:09	1118	[DEBUG]	Processing product tax
2023-10-13	12:39:09	1118	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:09	1118	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:09	1118	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:09	1118	[DEBUG]	Query for Product
2023-10-13	12:39:09	1118	[DEBUG]	Executed store
2023-10-13	12:39:09	1118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8693_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:09	1118	[DEBUG]	Check product language entry
2023-10-13	12:39:09	1118	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860610
2023-10-13	12:39:09	1118	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:09	1118	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8693_208' AND `virtuemart_product_id` != 1860610
2023-10-13	12:39:09	1118	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:09	1118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860610, 'A_8693_208')
2023-10-13	12:39:09	1118	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:09	1118	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-xt-cn-m8100-12-vitesses-138-maillons-quick-link-box-aucune' AND `virtuemart_product_id` != 1860610
2023-10-13	12:39:09	1118	[DEBUG]	Query for ProductLang
2023-10-13	12:39:09	1118	[DEBUG]	Executed store
2023-10-13	12:39:09	1118	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.75162',`product_name`='SHIMANO Chaîne XT CN-M8100 12-vitesses 138 maillons Quick-Link box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-xt-cn-m8100-12-vitesses-138-maillons-quick-link-box-aucune' WHERE `virtuemart_product_id` = '1860610'
2023-10-13	12:39:09	1118	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75164_jpg.jpg
2023-10-13	12:39:09	1118	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:09	1118	[DEBUG]	Process image file
2023-10-13	12:39:09	1118	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:09	1118	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:09	1118	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75164_jpg.jpg
2023-10-13	12:39:09	1118	[DEBUG]	Full name target: bcprisme/68_75164_jpg.jpg
2023-10-13	12:39:10	1118	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:10	1118	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_75164_jpg.jpg'
2023-10-13	12:39:10	1118	[DEBUG]	Query for Media
2023-10-13	12:39:10	1118	[DEBUG]	Executed store
2023-10-13	12:39:10	1118	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_75164_jpg.jpg',`file_url_thumb`='bcprisme/68_75164_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1044997'
2023-10-13	12:39:10	1118	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:10	1118	[DEBUG]	Executed store
2023-10-13	12:39:10	1118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860610','1044997','1')
2023-10-13	12:39:10	1118	[DEBUG]	Store product image relation
2023-10-13	12:39:10	1118	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:10	1118	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860610 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:10	1118	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:10	1118	[DEBUG]	Executed store
2023-10-13	12:39:10	1118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860610','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:10	1118	[DEBUG]	Checking manufacturer
2023-10-13	12:39:10	1118	[DEBUG]	Load a row
2023-10-13	12:39:10	1118	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:10	1118	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:10	1118	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:10	1118	[DEBUG]	Executed store
2023-10-13	12:39:10	1118	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:10	1118	[DEBUG]	Manufacturer exists
2023-10-13	12:39:10	1118	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:39:10	1118	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:10	1118	[DEBUG]	Executed store
2023-10-13	12:39:10	1118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860610','26')
2023-10-13	12:39:10	1118	[DEBUG]	Find the custom field ID
2023-10-13	12:39:10	1118	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:10	1118	[DEBUG]	No custom field ID found
2023-10-13	12:39:10	1118	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:10	1118	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:10	1118	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860610 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:10	1118	[DEBUG]	Store custom available field
2023-10-13	12:39:10	1118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860610,3,'0',1)
2023-10-13	12:39:10	1118	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:10	1118	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:10	1118	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860610 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:10	1118	[DEBUG]	Store custom available field
2023-10-13	12:39:10	1118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860610,6,'choisir la taille',3)
2023-10-13	12:39:10	1118	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:10	1118	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:10	1118	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:10	1118	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:10	1118	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860610 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:10	1118	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:10	1118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860610,8,1)
2023-10-13	12:39:10	1118	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:10	1118	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860610\":[1860610,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860610
2023-10-13	12:39:10	1118	[DEBUG]	Checking category
2023-10-13	12:39:10	1118	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:10	1118	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860610
2023-10-13	12:39:10	1118	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:10	1118	[DEBUG]	Executed store
2023-10-13	12:39:10	1118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860610','7287')
2023-10-13	12:39:10	1118	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:10	1118	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860610 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:39:10	1118	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:10	1118	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860610
2023-10-13	12:39:10	1119	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:10	1119	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:10	1119	[DEBUG]	Use field value for field taille
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:10	1119	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:10	1119	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:10	1119	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:10	1119	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:10	1119	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:10	1119	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:10	1119	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:10	1119	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:10	1119	[DEBUG]	Use field value for field published
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:10	1119	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field override
2023-10-13	12:39:10	1119	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:10	1119	[DEBUG]	Use field value for field slug
2023-10-13	12:39:10	1119	[DEBUG]	Process line 1119
2023-10-13	12:39:10	1119	[DEBUG]	Load a row
2023-10-13	12:39:10	1119	[DEBUG]	Processing item: 4550170443887
2023-10-13	12:39:10	1119	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:10	1119	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:10	1119	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8693_208'
2023-10-13	12:39:10	1119	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:10	1119	[DEBUG]	Processing product tax
2023-10-13	12:39:10	1119	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:10	1119	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:10	1119	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:10	1119	[DEBUG]	Query for Product
2023-10-13	12:39:10	1119	[DEBUG]	Executed store
2023-10-13	12:39:10	1119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860610','4550170443887','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:10	1119	[DEBUG]	No parent found
2023-10-13	12:39:10	1119	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860610 AND customfield_value = 'stockable'
2023-10-13	12:39:10	1119	[DEBUG]	Check product language entry
2023-10-13	12:39:10	1119	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860611
2023-10-13	12:39:10	1119	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:10	1119	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170443887' AND `virtuemart_product_id` != 1860611
2023-10-13	12:39:10	1119	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:10	1119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860611, '4550170443887')
2023-10-13	12:39:10	1119	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:10	1119	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-xt-cn-m8100-12-vitesses-138-maillons-quick-link-box-aucune-unitaire' AND `virtuemart_product_id` != 1860611
2023-10-13	12:39:10	1119	[DEBUG]	Query for ProductLang
2023-10-13	12:39:10	1119	[DEBUG]	Executed store
2023-10-13	12:39:10	1119	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne XT CN-M8100 12-vitesses 138 maillons Quick-Link box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-xt-cn-m8100-12-vitesses-138-maillons-quick-link-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860611'
2023-10-13	12:39:10	1119	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75164_jpg.jpg
2023-10-13	12:39:10	1119	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:10	1119	[DEBUG]	Process image file
2023-10-13	12:39:10	1119	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:10	1119	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:10	1119	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_75164_jpg.jpg
2023-10-13	12:39:10	1119	[DEBUG]	Full name target: bcprisme/68_75164_jpg.jpg
2023-10-13	12:39:11	1119	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:11	1119	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_75164_jpg.jpg'
2023-10-13	12:39:11	1119	[DEBUG]	Query for Media
2023-10-13	12:39:11	1119	[DEBUG]	Executed store
2023-10-13	12:39:11	1119	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_75164_jpg.jpg',`file_url_thumb`='bcprisme/68_75164_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1044997'
2023-10-13	12:39:11	1119	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:11	1119	[DEBUG]	Executed store
2023-10-13	12:39:11	1119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860611','1044997','1')
2023-10-13	12:39:11	1119	[DEBUG]	Store product image relation
2023-10-13	12:39:11	1119	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:11	1119	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860611 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:11	1119	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:11	1119	[DEBUG]	Executed store
2023-10-13	12:39:11	1119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860611','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:11	1119	[DEBUG]	Checking manufacturer
2023-10-13	12:39:11	1119	[DEBUG]	Load a row
2023-10-13	12:39:11	1119	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:11	1119	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:11	1119	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:11	1119	[DEBUG]	Executed store
2023-10-13	12:39:11	1119	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:11	1119	[DEBUG]	Manufacturer exists
2023-10-13	12:39:11	1119	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:39:11	1119	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:11	1119	[DEBUG]	Executed store
2023-10-13	12:39:11	1119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860611','26')
2023-10-13	12:39:11	1119	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:11	1119	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:11	1119	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860611 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:11	1119	[DEBUG]	Store custom available field
2023-10-13	12:39:11	1119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860611,3,'',1)
2023-10-13	12:39:11	1119	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:11	1119	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:11	1119	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860611 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:11	1119	[DEBUG]	Store custom available field
2023-10-13	12:39:11	1119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860611,6,'Unitaire',3)
2023-10-13	12:39:11	1119	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:11	1119	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:11	1119	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860610
2023-10-13	12:39:11	1119	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:11	1119	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860610\":[1860610,8,1,\"choisir la taille\"],\"1860611\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860610
2023-10-13	12:39:11	1119	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:11	1119	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860611
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:11	1120	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field taille
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:11	1120	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:11	1120	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:11	1120	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:11	1120	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:11	1120	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:11	1120	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field published
2023-10-13	12:39:11	1120	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:11	1120	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field override
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:11	1120	[DEBUG]	Use field value for field slug
2023-10-13	12:39:11	1120	[DEBUG]	Process line 1120
2023-10-13	12:39:11	1120	[DEBUG]	Load a row
2023-10-13	12:39:11	1120	[DEBUG]	Processing item: A_8755_13
2023-10-13	12:39:11	1120	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:11	1120	[DEBUG]	Processing product tax
2023-10-13	12:39:11	1120	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:11	1120	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:11	1120	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:11	1120	[DEBUG]	Query for Product
2023-10-13	12:39:11	1120	[DEBUG]	Executed store
2023-10-13	12:39:11	1120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8755_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:11	1120	[DEBUG]	Check product language entry
2023-10-13	12:39:11	1120	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860612
2023-10-13	12:39:11	1120	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:11	1120	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8755_13' AND `virtuemart_product_id` != 1860612
2023-10-13	12:39:11	1120	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:11	1120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860612, 'A_8755_13')
2023-10-13	12:39:11	1120	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:11	1120	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-nx-eagle-126-links-12-vit-powerlock-solid-pin-flowlink-argent' AND `virtuemart_product_id` != 1860612
2023-10-13	12:39:11	1120	[DEBUG]	Query for ProductLang
2023-10-13	12:39:11	1120	[DEBUG]	Executed store
2023-10-13	12:39:11	1120	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7545V',`product_name`='SRAM Chaîne PC NX EAGLE 126 LINKS 12-VIT, POWERLOCK SOLID PIN FLOWLINK / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-nx-eagle-126-links-12-vit-powerlock-solid-pin-flowlink-argent' WHERE `virtuemart_product_id` = '1860612'
2023-10-13	12:39:11	1120	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37731_chÎne_pc_nx_eagle_126_links_12-vit,_powerlock_solid_pin_flowlink.jpg
2023-10-13	12:39:11	1120	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:11	1120	[DEBUG]	Process image file
2023-10-13	12:39:11	1120	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:11	1120	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:11	1120	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37731_chÎne_pc_nx_eagle_126_links_12-vit,_powerlock_solid_pin_flowlink.jpg
2023-10-13	12:39:11	1120	[DEBUG]	Full name target: bcprisme/37731_chÎne_pc_nx_eagle_126_links_12-vit,_powerlock_solid_pin_flowlink.jpg
2023-10-13	12:39:12	1120	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:12	1120	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37731_chÎne_pc_nx_eagle_126_links_12-vit,_powerlock_solid_pin_flowlink.jpg'
2023-10-13	12:39:12	1120	[DEBUG]	Query for Media
2023-10-13	12:39:12	1120	[DEBUG]	Executed store
2023-10-13	12:39:12	1120	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37731_chÎne_pc_nx_eagle_126_links_12-vit,_powerlock_solid_pin_flowlink.jpg',`file_url_thumb`='bcprisme/37731_chÎne_pc_nx_eagle_126_links_12-vit,_powerlock_solid_pin_flowlink.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069891'
2023-10-13	12:39:12	1120	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:12	1120	[DEBUG]	Executed store
2023-10-13	12:39:12	1120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860612','1069891','1')
2023-10-13	12:39:12	1120	[DEBUG]	Store product image relation
2023-10-13	12:39:12	1120	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:12	1120	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860612 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:12	1120	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:12	1120	[DEBUG]	Executed store
2023-10-13	12:39:12	1120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860612','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:12	1120	[DEBUG]	Checking manufacturer
2023-10-13	12:39:12	1120	[DEBUG]	Load a row
2023-10-13	12:39:12	1120	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:12	1120	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:12	1120	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:12	1120	[DEBUG]	Executed store
2023-10-13	12:39:12	1120	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:12	1120	[DEBUG]	Manufacturer exists
2023-10-13	12:39:12	1120	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:12	1120	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:12	1120	[DEBUG]	Executed store
2023-10-13	12:39:12	1120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860612','35')
2023-10-13	12:39:12	1120	[DEBUG]	Find the custom field ID
2023-10-13	12:39:12	1120	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:12	1120	[DEBUG]	No custom field ID found
2023-10-13	12:39:12	1120	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:12	1120	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:12	1120	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860612 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:12	1120	[DEBUG]	Store custom available field
2023-10-13	12:39:12	1120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860612,3,'0',1)
2023-10-13	12:39:12	1120	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:12	1120	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:12	1120	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860612 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:12	1120	[DEBUG]	Store custom available field
2023-10-13	12:39:12	1120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860612,6,'choisir la taille',3)
2023-10-13	12:39:12	1120	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:12	1120	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:12	1120	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:12	1120	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:12	1120	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860612 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:12	1120	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:12	1120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860612,8,1)
2023-10-13	12:39:12	1120	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:12	1120	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860612\":[1860612,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860612
2023-10-13	12:39:12	1120	[DEBUG]	Checking category
2023-10-13	12:39:12	1120	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:12	1120	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860612
2023-10-13	12:39:12	1120	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:12	1120	[DEBUG]	Executed store
2023-10-13	12:39:12	1120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860612','7287')
2023-10-13	12:39:12	1120	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:12	1120	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860612 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:39:12	1120	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:12	1120	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860612
2023-10-13	12:39:12	1121	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:12	1121	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:12	1121	[DEBUG]	Use field value for field taille
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:12	1121	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:12	1121	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:12	1121	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:12	1121	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:12	1121	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:12	1121	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:12	1121	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:12	1121	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:12	1121	[DEBUG]	Use field value for field published
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:12	1121	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field override
2023-10-13	12:39:12	1121	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:12	1121	[DEBUG]	Use field value for field slug
2023-10-13	12:39:12	1121	[DEBUG]	Process line 1121
2023-10-13	12:39:12	1121	[DEBUG]	Load a row
2023-10-13	12:39:12	1121	[DEBUG]	Processing item: 710845813085
2023-10-13	12:39:12	1121	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:12	1121	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:12	1121	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8755_13'
2023-10-13	12:39:12	1121	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:12	1121	[DEBUG]	Processing product tax
2023-10-13	12:39:12	1121	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:12	1121	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:12	1121	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:12	1121	[DEBUG]	Query for Product
2023-10-13	12:39:12	1121	[DEBUG]	Executed store
2023-10-13	12:39:12	1121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860612','710845813085','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:12	1121	[DEBUG]	No parent found
2023-10-13	12:39:12	1121	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860612 AND customfield_value = 'stockable'
2023-10-13	12:39:12	1121	[DEBUG]	Check product language entry
2023-10-13	12:39:12	1121	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860613
2023-10-13	12:39:12	1121	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:12	1121	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845813085' AND `virtuemart_product_id` != 1860613
2023-10-13	12:39:12	1121	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:12	1121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860613, '710845813085')
2023-10-13	12:39:12	1121	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:12	1121	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-pc-nx-eagle-126-links-12-vit-powerlock-solid-pin-flowlink-argent-unitaire' AND `virtuemart_product_id` != 1860613
2023-10-13	12:39:12	1121	[DEBUG]	Query for ProductLang
2023-10-13	12:39:12	1121	[DEBUG]	Executed store
2023-10-13	12:39:12	1121	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne PC NX EAGLE 126 LINKS 12-VIT, POWERLOCK SOLID PIN FLOWLINK / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-pc-nx-eagle-126-links-12-vit-powerlock-solid-pin-flowlink-argent-unitaire' WHERE `virtuemart_product_id` = '1860613'
2023-10-13	12:39:12	1121	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37731_chÎne_pc_nx_eagle_126_links_12-vit,_powerlock_solid_pin_flowlink.jpg
2023-10-13	12:39:12	1121	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:12	1121	[DEBUG]	Process image file
2023-10-13	12:39:12	1121	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:12	1121	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:12	1121	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37731_chÎne_pc_nx_eagle_126_links_12-vit,_powerlock_solid_pin_flowlink.jpg
2023-10-13	12:39:12	1121	[DEBUG]	Full name target: bcprisme/37731_chÎne_pc_nx_eagle_126_links_12-vit,_powerlock_solid_pin_flowlink.jpg
2023-10-13	12:39:13	1121	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:13	1121	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37731_chÎne_pc_nx_eagle_126_links_12-vit,_powerlock_solid_pin_flowlink.jpg'
2023-10-13	12:39:13	1121	[DEBUG]	Query for Media
2023-10-13	12:39:13	1121	[DEBUG]	Executed store
2023-10-13	12:39:13	1121	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37731_chÎne_pc_nx_eagle_126_links_12-vit,_powerlock_solid_pin_flowlink.jpg',`file_url_thumb`='bcprisme/37731_chÎne_pc_nx_eagle_126_links_12-vit,_powerlock_solid_pin_flowlink.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1069891'
2023-10-13	12:39:13	1121	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:13	1121	[DEBUG]	Executed store
2023-10-13	12:39:13	1121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860613','1069891','1')
2023-10-13	12:39:13	1121	[DEBUG]	Store product image relation
2023-10-13	12:39:13	1121	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:13	1121	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860613 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:13	1121	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:13	1121	[DEBUG]	Executed store
2023-10-13	12:39:13	1121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860613','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:13	1121	[DEBUG]	Checking manufacturer
2023-10-13	12:39:13	1121	[DEBUG]	Load a row
2023-10-13	12:39:13	1121	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:13	1121	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:13	1121	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:13	1121	[DEBUG]	Executed store
2023-10-13	12:39:13	1121	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:13	1121	[DEBUG]	Manufacturer exists
2023-10-13	12:39:13	1121	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:13	1121	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:13	1121	[DEBUG]	Executed store
2023-10-13	12:39:13	1121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860613','35')
2023-10-13	12:39:13	1121	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:13	1121	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:13	1121	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860613 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:13	1121	[DEBUG]	Store custom available field
2023-10-13	12:39:13	1121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860613,3,'',1)
2023-10-13	12:39:13	1121	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:13	1121	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:13	1121	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860613 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:13	1121	[DEBUG]	Store custom available field
2023-10-13	12:39:13	1121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860613,6,'Unitaire',3)
2023-10-13	12:39:13	1121	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:13	1121	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:13	1121	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860612
2023-10-13	12:39:13	1121	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:13	1121	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860612\":[1860612,8,1,\"choisir la taille\"],\"1860613\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860612
2023-10-13	12:39:13	1121	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:13	1121	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860613
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:13	1122	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field taille
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:13	1122	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:13	1122	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:13	1122	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:13	1122	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:13	1122	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:13	1122	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field published
2023-10-13	12:39:13	1122	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:13	1122	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field override
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:13	1122	[DEBUG]	Use field value for field slug
2023-10-13	12:39:13	1122	[DEBUG]	Process line 1122
2023-10-13	12:39:13	1122	[DEBUG]	Load a row
2023-10-13	12:39:13	1122	[DEBUG]	Processing item: A_8827_208
2023-10-13	12:39:13	1122	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:13	1122	[DEBUG]	Processing product tax
2023-10-13	12:39:13	1122	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:13	1122	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:13	1122	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:13	1122	[DEBUG]	Query for Product
2023-10-13	12:39:13	1122	[DEBUG]	Executed store
2023-10-13	12:39:13	1122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8827_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:13	1122	[DEBUG]	Check product language entry
2023-10-13	12:39:13	1122	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860614
2023-10-13	12:39:13	1122	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:13	1122	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8827_208' AND `virtuemart_product_id` != 1860614
2023-10-13	12:39:13	1122	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:13	1122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860614, 'A_8827_208')
2023-10-13	12:39:13	1122	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:13	1122	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-deore-cn-m6100-12-vitesses-138-maillons-quick-link-box-aucune' AND `virtuemart_product_id` != 1860614
2023-10-13	12:39:13	1122	[DEBUG]	Query for ProductLang
2023-10-13	12:39:13	1122	[DEBUG]	Executed store
2023-10-13	12:39:13	1122	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.78000',`product_name`='SHIMANO Chaîne Deore CN-M6100 12-vitesses 138 maillons Quick-Link box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-deore-cn-m6100-12-vitesses-138-maillons-quick-link-box-aucune' WHERE `virtuemart_product_id` = '1860614'
2023-10-13	12:39:13	1122	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_77998_009_jpg.jpg
2023-10-13	12:39:13	1122	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:13	1122	[DEBUG]	Process image file
2023-10-13	12:39:13	1122	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:13	1122	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:13	1122	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_77998_009_jpg.jpg
2023-10-13	12:39:13	1122	[DEBUG]	Full name target: bcprisme/68_77998_009_jpg.jpg
2023-10-13	12:39:14	1122	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:14	1122	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_77998_009_jpg.jpg'
2023-10-13	12:39:14	1122	[DEBUG]	Query for Media
2023-10-13	12:39:14	1122	[DEBUG]	Executed store
2023-10-13	12:39:14	1122	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_77998_009_jpg.jpg',`file_url_thumb`='bcprisme/68_77998_009_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1099930'
2023-10-13	12:39:14	1122	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:14	1122	[DEBUG]	Executed store
2023-10-13	12:39:14	1122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860614','1099930','1')
2023-10-13	12:39:14	1122	[DEBUG]	Store product image relation
2023-10-13	12:39:14	1122	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:14	1122	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860614 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:14	1122	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:14	1122	[DEBUG]	Executed store
2023-10-13	12:39:14	1122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860614','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:14	1122	[DEBUG]	Checking manufacturer
2023-10-13	12:39:14	1122	[DEBUG]	Load a row
2023-10-13	12:39:14	1122	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:14	1122	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:14	1122	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:14	1122	[DEBUG]	Executed store
2023-10-13	12:39:14	1122	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:14	1122	[DEBUG]	Manufacturer exists
2023-10-13	12:39:14	1122	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:39:14	1122	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:14	1122	[DEBUG]	Executed store
2023-10-13	12:39:14	1122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860614','26')
2023-10-13	12:39:14	1122	[DEBUG]	Find the custom field ID
2023-10-13	12:39:14	1122	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:14	1122	[DEBUG]	No custom field ID found
2023-10-13	12:39:14	1122	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:14	1122	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:14	1122	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860614 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:14	1122	[DEBUG]	Store custom available field
2023-10-13	12:39:14	1122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860614,3,'0',1)
2023-10-13	12:39:14	1122	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:14	1122	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:14	1122	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860614 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:14	1122	[DEBUG]	Store custom available field
2023-10-13	12:39:14	1122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860614,6,'choisir la taille',3)
2023-10-13	12:39:14	1122	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:14	1122	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:14	1122	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:14	1122	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:14	1122	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860614 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:14	1122	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:14	1122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860614,8,1)
2023-10-13	12:39:14	1122	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:14	1122	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860614\":[1860614,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860614
2023-10-13	12:39:14	1122	[DEBUG]	Checking category
2023-10-13	12:39:14	1122	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:14	1122	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860614
2023-10-13	12:39:14	1122	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:14	1122	[DEBUG]	Executed store
2023-10-13	12:39:14	1122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860614','7287')
2023-10-13	12:39:14	1122	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:14	1122	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860614 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:39:14	1122	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:14	1122	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860614
2023-10-13	12:39:14	1123	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:14	1123	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:14	1123	[DEBUG]	Use field value for field taille
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:14	1123	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:14	1123	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:14	1123	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:14	1123	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:14	1123	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:14	1123	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:14	1123	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:14	1123	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:14	1123	[DEBUG]	Use field value for field published
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:14	1123	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field override
2023-10-13	12:39:14	1123	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:14	1123	[DEBUG]	Use field value for field slug
2023-10-13	12:39:14	1123	[DEBUG]	Process line 1123
2023-10-13	12:39:14	1123	[DEBUG]	Load a row
2023-10-13	12:39:14	1123	[DEBUG]	Processing item: 4550170618810
2023-10-13	12:39:14	1123	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:14	1123	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:14	1123	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8827_208'
2023-10-13	12:39:14	1123	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:14	1123	[DEBUG]	Processing product tax
2023-10-13	12:39:14	1123	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:14	1123	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:14	1123	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:14	1123	[DEBUG]	Query for Product
2023-10-13	12:39:14	1123	[DEBUG]	Executed store
2023-10-13	12:39:14	1123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860614','4550170618810','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:14	1123	[DEBUG]	No parent found
2023-10-13	12:39:14	1123	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860614 AND customfield_value = 'stockable'
2023-10-13	12:39:14	1123	[DEBUG]	Check product language entry
2023-10-13	12:39:14	1123	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860615
2023-10-13	12:39:14	1123	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:14	1123	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170618810' AND `virtuemart_product_id` != 1860615
2023-10-13	12:39:14	1123	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:14	1123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860615, '4550170618810')
2023-10-13	12:39:14	1123	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:14	1123	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-deore-cn-m6100-12-vitesses-138-maillons-quick-link-box-aucune-unitaire' AND `virtuemart_product_id` != 1860615
2023-10-13	12:39:14	1123	[DEBUG]	Query for ProductLang
2023-10-13	12:39:14	1123	[DEBUG]	Executed store
2023-10-13	12:39:14	1123	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne Deore CN-M6100 12-vitesses 138 maillons Quick-Link box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-deore-cn-m6100-12-vitesses-138-maillons-quick-link-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860615'
2023-10-13	12:39:14	1123	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_77998_009_jpg.jpg
2023-10-13	12:39:14	1123	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:14	1123	[DEBUG]	Process image file
2023-10-13	12:39:14	1123	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:14	1123	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:14	1123	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_77998_009_jpg.jpg
2023-10-13	12:39:14	1123	[DEBUG]	Full name target: bcprisme/68_77998_009_jpg.jpg
2023-10-13	12:39:15	1123	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:15	1123	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_77998_009_jpg.jpg'
2023-10-13	12:39:15	1123	[DEBUG]	Query for Media
2023-10-13	12:39:15	1123	[DEBUG]	Executed store
2023-10-13	12:39:15	1123	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_77998_009_jpg.jpg',`file_url_thumb`='bcprisme/68_77998_009_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1099930'
2023-10-13	12:39:15	1123	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:15	1123	[DEBUG]	Executed store
2023-10-13	12:39:15	1123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860615','1099930','1')
2023-10-13	12:39:15	1123	[DEBUG]	Store product image relation
2023-10-13	12:39:15	1123	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:15	1123	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860615 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:15	1123	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:15	1123	[DEBUG]	Executed store
2023-10-13	12:39:15	1123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860615','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:15	1123	[DEBUG]	Checking manufacturer
2023-10-13	12:39:15	1123	[DEBUG]	Load a row
2023-10-13	12:39:15	1123	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:15	1123	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:15	1123	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:15	1123	[DEBUG]	Executed store
2023-10-13	12:39:15	1123	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:15	1123	[DEBUG]	Manufacturer exists
2023-10-13	12:39:15	1123	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:39:15	1123	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:15	1123	[DEBUG]	Executed store
2023-10-13	12:39:15	1123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860615','26')
2023-10-13	12:39:15	1123	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:15	1123	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:15	1123	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860615 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:15	1123	[DEBUG]	Store custom available field
2023-10-13	12:39:15	1123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860615,3,'',1)
2023-10-13	12:39:15	1123	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:15	1123	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:15	1123	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860615 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:15	1123	[DEBUG]	Store custom available field
2023-10-13	12:39:15	1123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860615,6,'Unitaire',3)
2023-10-13	12:39:15	1123	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:15	1123	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:15	1123	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860614
2023-10-13	12:39:15	1123	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:15	1123	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860614\":[1860614,8,1,\"choisir la taille\"],\"1860615\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860614
2023-10-13	12:39:15	1123	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:15	1123	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860615
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:15	1124	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field taille
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:15	1124	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:15	1124	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:15	1124	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:15	1124	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:15	1124	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:15	1124	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field published
2023-10-13	12:39:15	1124	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:15	1124	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field override
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:15	1124	[DEBUG]	Use field value for field slug
2023-10-13	12:39:15	1124	[DEBUG]	Process line 1124
2023-10-13	12:39:15	1124	[DEBUG]	Load a row
2023-10-13	12:39:15	1124	[DEBUG]	Processing item: A_8977_208
2023-10-13	12:39:15	1124	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:15	1124	[DEBUG]	Processing product tax
2023-10-13	12:39:15	1124	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:15	1124	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:15	1124	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:15	1124	[DEBUG]	Query for Product
2023-10-13	12:39:15	1124	[DEBUG]	Executed store
2023-10-13	12:39:15	1124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8977_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:15	1124	[DEBUG]	Check product language entry
2023-10-13	12:39:15	1124	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860616
2023-10-13	12:39:15	1124	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:15	1124	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8977_208' AND `virtuemart_product_id` != 1860616
2023-10-13	12:39:15	1124	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:15	1124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860616, 'A_8977_208')
2023-10-13	12:39:15	1124	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:15	1124	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-m9100-12-vitesses-138-maillons-quick-link-box-aucune' AND `virtuemart_product_id` != 1860616
2023-10-13	12:39:15	1124	[DEBUG]	Query for ProductLang
2023-10-13	12:39:15	1124	[DEBUG]	Executed store
2023-10-13	12:39:15	1124	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.72598',`product_name`='SHIMANO Chaîne CN-M9100 12-vitesses 138 maillons Quick-Link box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-m9100-12-vitesses-138-maillons-quick-link-box-aucune' WHERE `virtuemart_product_id` = '1860616'
2023-10-13	12:39:15	1124	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_7259.jpg
2023-10-13	12:39:15	1124	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:15	1124	[DEBUG]	Process image file
2023-10-13	12:39:15	1124	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:15	1124	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:15	1124	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_7259.jpg
2023-10-13	12:39:15	1124	[DEBUG]	Full name target: bcprisme/68_7259.jpg
2023-10-13	12:39:16	1124	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:16	1124	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_7259.jpg'
2023-10-13	12:39:16	1124	[DEBUG]	Query for Media
2023-10-13	12:39:16	1124	[DEBUG]	Executed store
2023-10-13	12:39:16	1124	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_7259.jpg',`file_url_thumb`='bcprisme/68_7259.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1206607'
2023-10-13	12:39:16	1124	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:16	1124	[DEBUG]	Executed store
2023-10-13	12:39:16	1124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860616','1206607','1')
2023-10-13	12:39:16	1124	[DEBUG]	Store product image relation
2023-10-13	12:39:16	1124	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:16	1124	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860616 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:16	1124	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:16	1124	[DEBUG]	Executed store
2023-10-13	12:39:16	1124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860616','0','82.6369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:16	1124	[DEBUG]	Checking manufacturer
2023-10-13	12:39:16	1124	[DEBUG]	Load a row
2023-10-13	12:39:16	1124	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:16	1124	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:16	1124	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:16	1124	[DEBUG]	Executed store
2023-10-13	12:39:16	1124	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:16	1124	[DEBUG]	Manufacturer exists
2023-10-13	12:39:16	1124	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:39:16	1124	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:16	1124	[DEBUG]	Executed store
2023-10-13	12:39:16	1124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860616','26')
2023-10-13	12:39:16	1124	[DEBUG]	Find the custom field ID
2023-10-13	12:39:16	1124	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:16	1124	[DEBUG]	No custom field ID found
2023-10-13	12:39:16	1124	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:16	1124	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:16	1124	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860616 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:16	1124	[DEBUG]	Store custom available field
2023-10-13	12:39:16	1124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860616,3,'0',1)
2023-10-13	12:39:16	1124	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:16	1124	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:16	1124	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860616 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:16	1124	[DEBUG]	Store custom available field
2023-10-13	12:39:16	1124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860616,6,'choisir la taille',3)
2023-10-13	12:39:16	1124	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:16	1124	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:16	1124	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:16	1124	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:16	1124	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860616 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:16	1124	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:16	1124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860616,8,1)
2023-10-13	12:39:16	1124	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:16	1124	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860616\":[1860616,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860616
2023-10-13	12:39:16	1124	[DEBUG]	Checking category
2023-10-13	12:39:16	1124	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:16	1124	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860616
2023-10-13	12:39:16	1124	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:16	1124	[DEBUG]	Executed store
2023-10-13	12:39:16	1124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860616','7287')
2023-10-13	12:39:16	1124	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:16	1124	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860616 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:39:16	1124	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:16	1124	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860616
2023-10-13	12:39:16	1125	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:16	1125	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:16	1125	[DEBUG]	Use field value for field taille
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:16	1125	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:16	1125	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:16	1125	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:16	1125	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:16	1125	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:16	1125	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:16	1125	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:16	1125	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:16	1125	[DEBUG]	Use field value for field published
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:16	1125	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field override
2023-10-13	12:39:16	1125	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:16	1125	[DEBUG]	Use field value for field slug
2023-10-13	12:39:16	1125	[DEBUG]	Process line 1125
2023-10-13	12:39:16	1125	[DEBUG]	Load a row
2023-10-13	12:39:16	1125	[DEBUG]	Processing item: 4524667879572
2023-10-13	12:39:16	1125	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:16	1125	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:16	1125	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8977_208'
2023-10-13	12:39:16	1125	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:16	1125	[DEBUG]	Processing product tax
2023-10-13	12:39:16	1125	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:16	1125	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:16	1125	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:16	1125	[DEBUG]	Query for Product
2023-10-13	12:39:16	1125	[DEBUG]	Executed store
2023-10-13	12:39:16	1125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860616','4524667879572','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:16	1125	[DEBUG]	No parent found
2023-10-13	12:39:16	1125	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860616 AND customfield_value = 'stockable'
2023-10-13	12:39:16	1125	[DEBUG]	Check product language entry
2023-10-13	12:39:16	1125	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860617
2023-10-13	12:39:16	1125	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:16	1125	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667879572' AND `virtuemart_product_id` != 1860617
2023-10-13	12:39:16	1125	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:16	1125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860617, '4524667879572')
2023-10-13	12:39:16	1125	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:16	1125	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-m9100-12-vitesses-138-maillons-quick-link-box-aucune-unitaire' AND `virtuemart_product_id` != 1860617
2023-10-13	12:39:16	1125	[DEBUG]	Query for ProductLang
2023-10-13	12:39:16	1125	[DEBUG]	Executed store
2023-10-13	12:39:16	1125	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne CN-M9100 12-vitesses 138 maillons Quick-Link box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-m9100-12-vitesses-138-maillons-quick-link-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860617'
2023-10-13	12:39:16	1125	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_7259.jpg
2023-10-13	12:39:16	1125	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:16	1125	[DEBUG]	Process image file
2023-10-13	12:39:16	1125	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:16	1125	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:16	1125	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_7259.jpg
2023-10-13	12:39:16	1125	[DEBUG]	Full name target: bcprisme/68_7259.jpg
2023-10-13	12:39:17	1125	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:17	1125	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_7259.jpg'
2023-10-13	12:39:17	1125	[DEBUG]	Query for Media
2023-10-13	12:39:17	1125	[DEBUG]	Executed store
2023-10-13	12:39:17	1125	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_7259.jpg',`file_url_thumb`='bcprisme/68_7259.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1206607'
2023-10-13	12:39:17	1125	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:17	1125	[DEBUG]	Executed store
2023-10-13	12:39:17	1125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860617','1206607','1')
2023-10-13	12:39:17	1125	[DEBUG]	Store product image relation
2023-10-13	12:39:17	1125	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:17	1125	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860617 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:17	1125	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:17	1125	[DEBUG]	Executed store
2023-10-13	12:39:17	1125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860617','0','82.6369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:17	1125	[DEBUG]	Checking manufacturer
2023-10-13	12:39:17	1125	[DEBUG]	Load a row
2023-10-13	12:39:17	1125	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:17	1125	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:17	1125	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:17	1125	[DEBUG]	Executed store
2023-10-13	12:39:17	1125	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:39:17	1125	[DEBUG]	Manufacturer exists
2023-10-13	12:39:17	1125	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:39:17	1125	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:17	1125	[DEBUG]	Executed store
2023-10-13	12:39:17	1125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860617','26')
2023-10-13	12:39:17	1125	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:17	1125	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:17	1125	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860617 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:17	1125	[DEBUG]	Store custom available field
2023-10-13	12:39:17	1125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860617,3,'',1)
2023-10-13	12:39:17	1125	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:17	1125	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:17	1125	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860617 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:17	1125	[DEBUG]	Store custom available field
2023-10-13	12:39:17	1125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860617,6,'Unitaire',3)
2023-10-13	12:39:17	1125	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:17	1125	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:17	1125	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860616
2023-10-13	12:39:17	1125	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:17	1125	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860616\":[1860616,8,1,\"choisir la taille\"],\"1860617\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860616
2023-10-13	12:39:17	1125	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:17	1125	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860617
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:17	1126	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field taille
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:17	1126	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:17	1126	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:17	1126	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:17	1126	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:17	1126	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:17	1126	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field published
2023-10-13	12:39:17	1126	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:17	1126	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field override
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:17	1126	[DEBUG]	Use field value for field slug
2023-10-13	12:39:17	1126	[DEBUG]	Process line 1126
2023-10-13	12:39:17	1126	[DEBUG]	Load a row
2023-10-13	12:39:17	1126	[DEBUG]	Processing item: A_9337_13
2023-10-13	12:39:17	1126	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:17	1126	[DEBUG]	Processing product tax
2023-10-13	12:39:17	1126	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:17	1126	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:17	1126	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:17	1126	[DEBUG]	Query for Product
2023-10-13	12:39:17	1126	[DEBUG]	Executed store
2023-10-13	12:39:17	1126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9337_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:17	1126	[DEBUG]	Check product language entry
2023-10-13	12:39:17	1126	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860618
2023-10-13	12:39:17	1126	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:17	1126	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9337_13' AND `virtuemart_product_id` != 1860618
2023-10-13	12:39:17	1126	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:17	1126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860618, 'A_9337_13')
2023-10-13	12:39:17	1126	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:17	1126	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-rival-axs-flattop-12-vit-120-maillons-powerlock-argent' AND `virtuemart_product_id` != 1860618
2023-10-13	12:39:17	1126	[DEBUG]	Query for ProductLang
2023-10-13	12:39:17	1126	[DEBUG]	Executed store
2023-10-13	12:39:17	1126	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7565M',`product_name`='SRAM Chaîne Rival AXS Flattop 12-vit, 120 Maillons, PowerLock / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-rival-axs-flattop-12-vit-120-maillons-powerlock-argent' WHERE `virtuemart_product_id` = '1860618'
2023-10-13	12:39:17	1126	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38425_chaîne_rival_axs_flattop_12-vit,_120_maillons,_powerlock.jpg
2023-10-13	12:39:17	1126	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:17	1126	[DEBUG]	Process image file
2023-10-13	12:39:17	1126	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:17	1126	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:17	1126	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38425_chaîne_rival_axs_flattop_12-vit,_120_maillons,_powerlock.jpg
2023-10-13	12:39:17	1126	[DEBUG]	Full name target: bcprisme/38425_chaîne_rival_axs_flattop_12-vit,_120_maillons,_powerlock.jpg
2023-10-13	12:39:18	1126	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:18	1126	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38425_chaîne_rival_axs_flattop_12-vit,_120_maillons,_powerlock.jpg'
2023-10-13	12:39:18	1126	[DEBUG]	Query for Media
2023-10-13	12:39:18	1126	[DEBUG]	Executed store
2023-10-13	12:39:18	1126	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38425_chaîne_rival_axs_flattop_12-vit,_120_maillons,_powerlock.jpg',`file_url_thumb`='bcprisme/38425_chaîne_rival_axs_flattop_12-vit,_120_maillons,_powerlock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1373899'
2023-10-13	12:39:18	1126	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:18	1126	[DEBUG]	Executed store
2023-10-13	12:39:18	1126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860618','1373899','1')
2023-10-13	12:39:18	1126	[DEBUG]	Store product image relation
2023-10-13	12:39:18	1126	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:18	1126	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860618 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:18	1126	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:18	1126	[DEBUG]	Executed store
2023-10-13	12:39:18	1126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860618','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:18	1126	[DEBUG]	Checking manufacturer
2023-10-13	12:39:18	1126	[DEBUG]	Load a row
2023-10-13	12:39:18	1126	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:18	1126	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:18	1126	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:18	1126	[DEBUG]	Executed store
2023-10-13	12:39:18	1126	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:18	1126	[DEBUG]	Manufacturer exists
2023-10-13	12:39:18	1126	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:18	1126	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:18	1126	[DEBUG]	Executed store
2023-10-13	12:39:18	1126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860618','35')
2023-10-13	12:39:18	1126	[DEBUG]	Find the custom field ID
2023-10-13	12:39:18	1126	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:18	1126	[DEBUG]	No custom field ID found
2023-10-13	12:39:18	1126	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:18	1126	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:18	1126	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860618 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:18	1126	[DEBUG]	Store custom available field
2023-10-13	12:39:18	1126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860618,3,'0',1)
2023-10-13	12:39:18	1126	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:18	1126	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:18	1126	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860618 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:18	1126	[DEBUG]	Store custom available field
2023-10-13	12:39:18	1126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860618,6,'choisir la taille',3)
2023-10-13	12:39:18	1126	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:18	1126	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:18	1126	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:18	1126	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:18	1126	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860618 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:18	1126	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:18	1126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860618,8,1)
2023-10-13	12:39:18	1126	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:18	1126	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860618\":[1860618,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860618
2023-10-13	12:39:18	1126	[DEBUG]	Checking category
2023-10-13	12:39:18	1126	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:18	1126	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860618
2023-10-13	12:39:18	1126	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:18	1126	[DEBUG]	Executed store
2023-10-13	12:39:18	1126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860618','7287')
2023-10-13	12:39:18	1126	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:18	1126	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860618 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:39:18	1126	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:18	1126	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860618
2023-10-13	12:39:18	1127	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:18	1127	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:18	1127	[DEBUG]	Use field value for field taille
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:18	1127	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:18	1127	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:18	1127	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:18	1127	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:18	1127	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:18	1127	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:18	1127	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:18	1127	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:18	1127	[DEBUG]	Use field value for field published
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:18	1127	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field override
2023-10-13	12:39:18	1127	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:18	1127	[DEBUG]	Use field value for field slug
2023-10-13	12:39:18	1127	[DEBUG]	Process line 1127
2023-10-13	12:39:18	1127	[DEBUG]	Load a row
2023-10-13	12:39:18	1127	[DEBUG]	Processing item: 1000000229875
2023-10-13	12:39:18	1127	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:18	1127	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:18	1127	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9337_13'
2023-10-13	12:39:18	1127	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:18	1127	[DEBUG]	Processing product tax
2023-10-13	12:39:18	1127	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:18	1127	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:18	1127	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:18	1127	[DEBUG]	Query for Product
2023-10-13	12:39:18	1127	[DEBUG]	Executed store
2023-10-13	12:39:18	1127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860618','1000000229875','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:18	1127	[DEBUG]	No parent found
2023-10-13	12:39:18	1127	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860618 AND customfield_value = 'stockable'
2023-10-13	12:39:18	1127	[DEBUG]	Check product language entry
2023-10-13	12:39:18	1127	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860619
2023-10-13	12:39:18	1127	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:18	1127	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000229875' AND `virtuemart_product_id` != 1860619
2023-10-13	12:39:18	1127	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:18	1127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860619, '1000000229875')
2023-10-13	12:39:18	1127	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:18	1127	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-rival-axs-flattop-12-vit-120-maillons-powerlock-argent-unitaire' AND `virtuemart_product_id` != 1860619
2023-10-13	12:39:18	1127	[DEBUG]	Query for ProductLang
2023-10-13	12:39:18	1127	[DEBUG]	Executed store
2023-10-13	12:39:18	1127	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne Rival AXS Flattop 12-vit, 120 Maillons, PowerLock / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-rival-axs-flattop-12-vit-120-maillons-powerlock-argent-unitaire' WHERE `virtuemart_product_id` = '1860619'
2023-10-13	12:39:18	1127	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38425_chaîne_rival_axs_flattop_12-vit,_120_maillons,_powerlock.jpg
2023-10-13	12:39:18	1127	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:18	1127	[DEBUG]	Process image file
2023-10-13	12:39:18	1127	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:18	1127	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:18	1127	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38425_chaîne_rival_axs_flattop_12-vit,_120_maillons,_powerlock.jpg
2023-10-13	12:39:18	1127	[DEBUG]	Full name target: bcprisme/38425_chaîne_rival_axs_flattop_12-vit,_120_maillons,_powerlock.jpg
2023-10-13	12:39:19	1127	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:19	1127	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38425_chaîne_rival_axs_flattop_12-vit,_120_maillons,_powerlock.jpg'
2023-10-13	12:39:19	1127	[DEBUG]	Query for Media
2023-10-13	12:39:19	1127	[DEBUG]	Executed store
2023-10-13	12:39:19	1127	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38425_chaîne_rival_axs_flattop_12-vit,_120_maillons,_powerlock.jpg',`file_url_thumb`='bcprisme/38425_chaîne_rival_axs_flattop_12-vit,_120_maillons,_powerlock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1373899'
2023-10-13	12:39:19	1127	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:19	1127	[DEBUG]	Executed store
2023-10-13	12:39:19	1127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860619','1373899','1')
2023-10-13	12:39:19	1127	[DEBUG]	Store product image relation
2023-10-13	12:39:19	1127	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:19	1127	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860619 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:19	1127	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:19	1127	[DEBUG]	Executed store
2023-10-13	12:39:19	1127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860619','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:19	1127	[DEBUG]	Checking manufacturer
2023-10-13	12:39:19	1127	[DEBUG]	Load a row
2023-10-13	12:39:19	1127	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:19	1127	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:19	1127	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:19	1127	[DEBUG]	Executed store
2023-10-13	12:39:19	1127	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:19	1127	[DEBUG]	Manufacturer exists
2023-10-13	12:39:19	1127	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:19	1127	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:19	1127	[DEBUG]	Executed store
2023-10-13	12:39:19	1127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860619','35')
2023-10-13	12:39:19	1127	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:19	1127	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:19	1127	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860619 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:19	1127	[DEBUG]	Store custom available field
2023-10-13	12:39:19	1127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860619,3,'',1)
2023-10-13	12:39:19	1127	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:19	1127	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:19	1127	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860619 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:19	1127	[DEBUG]	Store custom available field
2023-10-13	12:39:19	1127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860619,6,'Unitaire',3)
2023-10-13	12:39:19	1127	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:19	1127	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:19	1127	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860618
2023-10-13	12:39:19	1127	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:19	1127	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860618\":[1860618,8,1,\"choisir la taille\"],\"1860619\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860618
2023-10-13	12:39:19	1127	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:19	1127	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860619
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:19	1128	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field taille
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:19	1128	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:19	1128	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:19	1128	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:19	1128	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:19	1128	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:19	1128	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field published
2023-10-13	12:39:19	1128	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:19	1128	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field override
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:19	1128	[DEBUG]	Use field value for field slug
2023-10-13	12:39:19	1128	[DEBUG]	Process line 1128
2023-10-13	12:39:19	1128	[DEBUG]	Load a row
2023-10-13	12:39:19	1128	[DEBUG]	Processing item: A_9417_38
2023-10-13	12:39:19	1128	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:19	1128	[DEBUG]	Processing product tax
2023-10-13	12:39:19	1128	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:19	1128	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:19	1128	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:19	1128	[DEBUG]	Query for Product
2023-10-13	12:39:19	1128	[DEBUG]	Executed store
2023-10-13	12:39:19	1128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9417_38','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:19	1128	[DEBUG]	Check product language entry
2023-10-13	12:39:19	1128	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860620
2023-10-13	12:39:19	1128	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:19	1128	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9417_38' AND `virtuemart_product_id` != 1860620
2023-10-13	12:39:19	1128	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:19	1128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860620, 'A_9417_38')
2023-10-13	12:39:19	1128	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:19	1128	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chain-red-etap-axs-flattop-120li-12sp-one-size-silver' AND `virtuemart_product_id` != 1860620
2023-10-13	12:39:19	1128	[DEBUG]	Query for ProductLang
2023-10-13	12:39:19	1128	[DEBUG]	Executed store
2023-10-13	12:39:19	1128	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820100003100058000',`product_name`='SRAM Chain Red eTap AXS Flattop 120LI 12SP one size / Silver',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chain-red-etap-axs-flattop-120li-12sp-one-size-silver' WHERE `virtuemart_product_id` = '1860620'
2023-10-13	12:39:19	1128	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38621_chain_red_etap_axs_flattop_120li_12sp_one_size.jpg
2023-10-13	12:39:19	1128	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:19	1128	[DEBUG]	Process image file
2023-10-13	12:39:19	1128	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:19	1128	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:19	1128	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38621_chain_red_etap_axs_flattop_120li_12sp_one_size.jpg
2023-10-13	12:39:19	1128	[DEBUG]	Full name target: bcprisme/38621_chain_red_etap_axs_flattop_120li_12sp_one_size.jpg
2023-10-13	12:39:20	1128	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:20	1128	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38621_chain_red_etap_axs_flattop_120li_12sp_one_size.jpg'
2023-10-13	12:39:20	1128	[DEBUG]	Query for Media
2023-10-13	12:39:20	1128	[DEBUG]	Executed store
2023-10-13	12:39:20	1128	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38621_chain_red_etap_axs_flattop_120li_12sp_one_size.jpg',`file_url_thumb`='bcprisme/38621_chain_red_etap_axs_flattop_120li_12sp_one_size.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410420'
2023-10-13	12:39:20	1128	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:20	1128	[DEBUG]	Executed store
2023-10-13	12:39:20	1128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860620','1410420','1')
2023-10-13	12:39:20	1128	[DEBUG]	Store product image relation
2023-10-13	12:39:20	1128	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:20	1128	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860620 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:20	1128	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:20	1128	[DEBUG]	Executed store
2023-10-13	12:39:20	1128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860620','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:20	1128	[DEBUG]	Checking manufacturer
2023-10-13	12:39:20	1128	[DEBUG]	Load a row
2023-10-13	12:39:20	1128	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:20	1128	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:20	1128	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:20	1128	[DEBUG]	Executed store
2023-10-13	12:39:20	1128	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:20	1128	[DEBUG]	Manufacturer exists
2023-10-13	12:39:20	1128	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:20	1128	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:20	1128	[DEBUG]	Executed store
2023-10-13	12:39:20	1128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860620','35')
2023-10-13	12:39:20	1128	[DEBUG]	Find the custom field ID
2023-10-13	12:39:20	1128	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:20	1128	[DEBUG]	No custom field ID found
2023-10-13	12:39:20	1128	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:20	1128	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:20	1128	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860620 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:20	1128	[DEBUG]	Store custom available field
2023-10-13	12:39:20	1128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860620,3,'0',1)
2023-10-13	12:39:20	1128	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:20	1128	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:20	1128	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860620 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:20	1128	[DEBUG]	Store custom available field
2023-10-13	12:39:20	1128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860620,6,'choisir la taille',3)
2023-10-13	12:39:20	1128	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:20	1128	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:20	1128	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:20	1128	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:20	1128	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860620 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:20	1128	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:20	1128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860620,8,1)
2023-10-13	12:39:20	1128	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:20	1128	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860620\":[1860620,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860620
2023-10-13	12:39:20	1128	[DEBUG]	Checking category
2023-10-13	12:39:20	1128	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:20	1128	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860620
2023-10-13	12:39:20	1128	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:20	1128	[DEBUG]	Executed store
2023-10-13	12:39:20	1128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860620','7287')
2023-10-13	12:39:20	1128	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:20	1128	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860620 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:39:20	1128	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:20	1128	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860620
2023-10-13	12:39:20	1129	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:20	1129	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:20	1129	[DEBUG]	Use field value for field taille
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:20	1129	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:20	1129	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:20	1129	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:20	1129	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:20	1129	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:20	1129	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:20	1129	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:20	1129	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:20	1129	[DEBUG]	Use field value for field published
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:20	1129	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field override
2023-10-13	12:39:20	1129	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:20	1129	[DEBUG]	Use field value for field slug
2023-10-13	12:39:20	1129	[DEBUG]	Process line 1129
2023-10-13	12:39:20	1129	[DEBUG]	Load a row
2023-10-13	12:39:20	1129	[DEBUG]	Processing item: 710845871443
2023-10-13	12:39:20	1129	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:20	1129	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:20	1129	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9417_38'
2023-10-13	12:39:20	1129	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:20	1129	[DEBUG]	Processing product tax
2023-10-13	12:39:20	1129	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:20	1129	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:20	1129	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:20	1129	[DEBUG]	Query for Product
2023-10-13	12:39:20	1129	[DEBUG]	Executed store
2023-10-13	12:39:20	1129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860620','710845871443','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:20	1129	[DEBUG]	No parent found
2023-10-13	12:39:20	1129	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860620 AND customfield_value = 'stockable'
2023-10-13	12:39:20	1129	[DEBUG]	Check product language entry
2023-10-13	12:39:20	1129	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860621
2023-10-13	12:39:20	1129	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:20	1129	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845871443' AND `virtuemart_product_id` != 1860621
2023-10-13	12:39:20	1129	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:20	1129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860621, '710845871443')
2023-10-13	12:39:20	1129	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:20	1129	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chain-red-etap-axs-flattop-120li-12sp-one-size-silver-unitaire' AND `virtuemart_product_id` != 1860621
2023-10-13	12:39:20	1129	[DEBUG]	Query for ProductLang
2023-10-13	12:39:20	1129	[DEBUG]	Executed store
2023-10-13	12:39:20	1129	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chain Red eTap AXS Flattop 120LI 12SP one size / Silver (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chain-red-etap-axs-flattop-120li-12sp-one-size-silver-unitaire' WHERE `virtuemart_product_id` = '1860621'
2023-10-13	12:39:20	1129	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38621_chain_red_etap_axs_flattop_120li_12sp_one_size.jpg
2023-10-13	12:39:20	1129	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:20	1129	[DEBUG]	Process image file
2023-10-13	12:39:20	1129	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:20	1129	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:20	1129	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38621_chain_red_etap_axs_flattop_120li_12sp_one_size.jpg
2023-10-13	12:39:20	1129	[DEBUG]	Full name target: bcprisme/38621_chain_red_etap_axs_flattop_120li_12sp_one_size.jpg
2023-10-13	12:39:21	1129	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:21	1129	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38621_chain_red_etap_axs_flattop_120li_12sp_one_size.jpg'
2023-10-13	12:39:21	1129	[DEBUG]	Query for Media
2023-10-13	12:39:21	1129	[DEBUG]	Executed store
2023-10-13	12:39:21	1129	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38621_chain_red_etap_axs_flattop_120li_12sp_one_size.jpg',`file_url_thumb`='bcprisme/38621_chain_red_etap_axs_flattop_120li_12sp_one_size.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410420'
2023-10-13	12:39:21	1129	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:21	1129	[DEBUG]	Executed store
2023-10-13	12:39:21	1129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860621','1410420','1')
2023-10-13	12:39:21	1129	[DEBUG]	Store product image relation
2023-10-13	12:39:21	1129	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:21	1129	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860621 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:21	1129	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:21	1129	[DEBUG]	Executed store
2023-10-13	12:39:21	1129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860621','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:21	1129	[DEBUG]	Checking manufacturer
2023-10-13	12:39:21	1129	[DEBUG]	Load a row
2023-10-13	12:39:21	1129	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:21	1129	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:21	1129	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:21	1129	[DEBUG]	Executed store
2023-10-13	12:39:21	1129	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:21	1129	[DEBUG]	Manufacturer exists
2023-10-13	12:39:21	1129	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:21	1129	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:21	1129	[DEBUG]	Executed store
2023-10-13	12:39:21	1129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860621','35')
2023-10-13	12:39:21	1129	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:21	1129	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:21	1129	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860621 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:21	1129	[DEBUG]	Store custom available field
2023-10-13	12:39:21	1129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860621,3,'',1)
2023-10-13	12:39:21	1129	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:21	1129	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:21	1129	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860621 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:21	1129	[DEBUG]	Store custom available field
2023-10-13	12:39:21	1129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860621,6,'Unitaire',3)
2023-10-13	12:39:21	1129	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:21	1129	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:21	1129	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860620
2023-10-13	12:39:21	1129	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:21	1129	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860620\":[1860620,8,1,\"choisir la taille\"],\"1860621\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860620
2023-10-13	12:39:21	1129	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:21	1129	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860621
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:21	1130	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field taille
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:21	1130	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:21	1130	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:21	1130	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:21	1130	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:21	1130	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:21	1130	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field published
2023-10-13	12:39:21	1130	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:21	1130	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field override
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:21	1130	[DEBUG]	Use field value for field slug
2023-10-13	12:39:21	1130	[DEBUG]	Process line 1130
2023-10-13	12:39:21	1130	[DEBUG]	Load a row
2023-10-13	12:39:21	1130	[DEBUG]	Processing item: A_9418_38
2023-10-13	12:39:21	1130	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:21	1130	[DEBUG]	Processing product tax
2023-10-13	12:39:21	1130	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:21	1130	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:21	1130	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:21	1130	[DEBUG]	Query for Product
2023-10-13	12:39:21	1130	[DEBUG]	Executed store
2023-10-13	12:39:21	1130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9418_38','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:21	1130	[DEBUG]	Check product language entry
2023-10-13	12:39:21	1130	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860622
2023-10-13	12:39:21	1130	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:21	1130	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9418_38' AND `virtuemart_product_id` != 1860622
2023-10-13	12:39:21	1130	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:21	1130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860622, 'A_9418_38')
2023-10-13	12:39:21	1130	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:21	1130	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chain-force-etap-axs-flattop-120li-12sp-one-size-silver' AND `virtuemart_product_id` != 1860622
2023-10-13	12:39:21	1130	[DEBUG]	Query for ProductLang
2023-10-13	12:39:21	1130	[DEBUG]	Executed store
2023-10-13	12:39:21	1130	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820100003000058000',`product_name`='SRAM Chain Force eTap AXS Flattop 120LI 12SP one size / Silver',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chain-force-etap-axs-flattop-120li-12sp-one-size-silver' WHERE `virtuemart_product_id` = '1860622'
2023-10-13	12:39:21	1130	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38622_chain_force_etap_axs_flattop_120li_12sp_one_size.jpg
2023-10-13	12:39:21	1130	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:21	1130	[DEBUG]	Process image file
2023-10-13	12:39:21	1130	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:21	1130	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:21	1130	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38622_chain_force_etap_axs_flattop_120li_12sp_one_size.jpg
2023-10-13	12:39:21	1130	[DEBUG]	Full name target: bcprisme/38622_chain_force_etap_axs_flattop_120li_12sp_one_size.jpg
2023-10-13	12:39:22	1130	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:22	1130	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38622_chain_force_etap_axs_flattop_120li_12sp_one_size.jpg'
2023-10-13	12:39:22	1130	[DEBUG]	Query for Media
2023-10-13	12:39:22	1130	[DEBUG]	Executed store
2023-10-13	12:39:22	1130	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38622_chain_force_etap_axs_flattop_120li_12sp_one_size.jpg',`file_url_thumb`='bcprisme/38622_chain_force_etap_axs_flattop_120li_12sp_one_size.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410422'
2023-10-13	12:39:22	1130	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:22	1130	[DEBUG]	Executed store
2023-10-13	12:39:22	1130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860622','1410422','1')
2023-10-13	12:39:22	1130	[DEBUG]	Store product image relation
2023-10-13	12:39:22	1130	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:22	1130	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860622 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:22	1130	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:22	1130	[DEBUG]	Executed store
2023-10-13	12:39:22	1130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860622','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:22	1130	[DEBUG]	Checking manufacturer
2023-10-13	12:39:22	1130	[DEBUG]	Load a row
2023-10-13	12:39:22	1130	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:22	1130	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:22	1130	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:22	1130	[DEBUG]	Executed store
2023-10-13	12:39:22	1130	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:22	1130	[DEBUG]	Manufacturer exists
2023-10-13	12:39:22	1130	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:22	1130	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:22	1130	[DEBUG]	Executed store
2023-10-13	12:39:22	1130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860622','35')
2023-10-13	12:39:22	1130	[DEBUG]	Find the custom field ID
2023-10-13	12:39:22	1130	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:22	1130	[DEBUG]	No custom field ID found
2023-10-13	12:39:22	1130	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:22	1130	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:22	1130	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860622 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:22	1130	[DEBUG]	Store custom available field
2023-10-13	12:39:22	1130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860622,3,'0',1)
2023-10-13	12:39:22	1130	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:22	1130	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:22	1130	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860622 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:22	1130	[DEBUG]	Store custom available field
2023-10-13	12:39:22	1130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860622,6,'choisir la taille',3)
2023-10-13	12:39:22	1130	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:22	1130	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:22	1130	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:22	1130	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:22	1130	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860622 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:22	1130	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:22	1130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860622,8,1)
2023-10-13	12:39:22	1130	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:22	1130	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860622\":[1860622,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860622
2023-10-13	12:39:22	1130	[DEBUG]	Checking category
2023-10-13	12:39:22	1130	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:22	1130	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860622
2023-10-13	12:39:22	1130	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:22	1130	[DEBUG]	Executed store
2023-10-13	12:39:22	1130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860622','7287')
2023-10-13	12:39:22	1130	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:22	1130	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860622 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:39:22	1130	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:22	1130	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860622
2023-10-13	12:39:22	1131	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:22	1131	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:22	1131	[DEBUG]	Use field value for field taille
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:22	1131	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:22	1131	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:22	1131	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:22	1131	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:22	1131	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:22	1131	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:22	1131	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:22	1131	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:22	1131	[DEBUG]	Use field value for field published
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:22	1131	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field override
2023-10-13	12:39:22	1131	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:22	1131	[DEBUG]	Use field value for field slug
2023-10-13	12:39:22	1131	[DEBUG]	Process line 1131
2023-10-13	12:39:22	1131	[DEBUG]	Load a row
2023-10-13	12:39:22	1131	[DEBUG]	Processing item: 710845869440
2023-10-13	12:39:22	1131	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:22	1131	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:22	1131	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9418_38'
2023-10-13	12:39:22	1131	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:22	1131	[DEBUG]	Processing product tax
2023-10-13	12:39:22	1131	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:22	1131	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:22	1131	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:22	1131	[DEBUG]	Query for Product
2023-10-13	12:39:22	1131	[DEBUG]	Executed store
2023-10-13	12:39:22	1131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860622','710845869440','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:22	1131	[DEBUG]	No parent found
2023-10-13	12:39:22	1131	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860622 AND customfield_value = 'stockable'
2023-10-13	12:39:22	1131	[DEBUG]	Check product language entry
2023-10-13	12:39:22	1131	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860623
2023-10-13	12:39:22	1131	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:22	1131	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845869440' AND `virtuemart_product_id` != 1860623
2023-10-13	12:39:22	1131	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:22	1131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860623, '710845869440')
2023-10-13	12:39:22	1131	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:22	1131	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chain-force-etap-axs-flattop-120li-12sp-one-size-silver-unitaire' AND `virtuemart_product_id` != 1860623
2023-10-13	12:39:22	1131	[DEBUG]	Query for ProductLang
2023-10-13	12:39:22	1131	[DEBUG]	Executed store
2023-10-13	12:39:22	1131	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chain Force eTap AXS Flattop 120LI 12SP one size / Silver (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chain-force-etap-axs-flattop-120li-12sp-one-size-silver-unitaire' WHERE `virtuemart_product_id` = '1860623'
2023-10-13	12:39:22	1131	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38622_chain_force_etap_axs_flattop_120li_12sp_one_size.jpg
2023-10-13	12:39:22	1131	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:22	1131	[DEBUG]	Process image file
2023-10-13	12:39:22	1131	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:22	1131	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:22	1131	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38622_chain_force_etap_axs_flattop_120li_12sp_one_size.jpg
2023-10-13	12:39:22	1131	[DEBUG]	Full name target: bcprisme/38622_chain_force_etap_axs_flattop_120li_12sp_one_size.jpg
2023-10-13	12:39:23	1131	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:23	1131	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38622_chain_force_etap_axs_flattop_120li_12sp_one_size.jpg'
2023-10-13	12:39:23	1131	[DEBUG]	Query for Media
2023-10-13	12:39:23	1131	[DEBUG]	Executed store
2023-10-13	12:39:23	1131	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38622_chain_force_etap_axs_flattop_120li_12sp_one_size.jpg',`file_url_thumb`='bcprisme/38622_chain_force_etap_axs_flattop_120li_12sp_one_size.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410422'
2023-10-13	12:39:23	1131	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:23	1131	[DEBUG]	Executed store
2023-10-13	12:39:23	1131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860623','1410422','1')
2023-10-13	12:39:23	1131	[DEBUG]	Store product image relation
2023-10-13	12:39:23	1131	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:23	1131	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860623 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:23	1131	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:23	1131	[DEBUG]	Executed store
2023-10-13	12:39:23	1131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860623','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:23	1131	[DEBUG]	Checking manufacturer
2023-10-13	12:39:23	1131	[DEBUG]	Load a row
2023-10-13	12:39:23	1131	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:23	1131	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:23	1131	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:23	1131	[DEBUG]	Executed store
2023-10-13	12:39:23	1131	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:23	1131	[DEBUG]	Manufacturer exists
2023-10-13	12:39:23	1131	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:23	1131	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:23	1131	[DEBUG]	Executed store
2023-10-13	12:39:23	1131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860623','35')
2023-10-13	12:39:23	1131	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:23	1131	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:23	1131	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860623 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:23	1131	[DEBUG]	Store custom available field
2023-10-13	12:39:23	1131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860623,3,'',1)
2023-10-13	12:39:23	1131	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:23	1131	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:23	1131	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860623 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:23	1131	[DEBUG]	Store custom available field
2023-10-13	12:39:23	1131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860623,6,'Unitaire',3)
2023-10-13	12:39:23	1131	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:23	1131	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:23	1131	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860622
2023-10-13	12:39:23	1131	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:23	1131	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860622\":[1860622,8,1,\"choisir la taille\"],\"1860623\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860622
2023-10-13	12:39:23	1131	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:23	1131	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860623
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:23	1132	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field taille
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:23	1132	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:23	1132	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:23	1132	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:23	1132	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:23	1132	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:23	1132	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field published
2023-10-13	12:39:23	1132	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:23	1132	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field override
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:23	1132	[DEBUG]	Use field value for field slug
2023-10-13	12:39:23	1132	[DEBUG]	Process line 1132
2023-10-13	12:39:23	1132	[DEBUG]	Load a row
2023-10-13	12:39:23	1132	[DEBUG]	Processing item: A_9531_1
2023-10-13	12:39:23	1132	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:23	1132	[DEBUG]	Processing product tax
2023-10-13	12:39:23	1132	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:23	1132	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:23	1132	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:23	1132	[DEBUG]	Query for Product
2023-10-13	12:39:23	1132	[DEBUG]	Executed store
2023-10-13	12:39:23	1132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9531_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:23	1132	[DEBUG]	Check product language entry
2023-10-13	12:39:23	1132	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860624
2023-10-13	12:39:23	1132	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:23	1132	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9531_1' AND `virtuemart_product_id` != 1860624
2023-10-13	12:39:23	1132	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:23	1132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860624, 'A_9531_1')
2023-10-13	12:39:23	1132	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:23	1132	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-connecteur-de-chaine-eagle-powerlock-t-type-12-vitesses-noir' AND `virtuemart_product_id` != 1860624
2023-10-13	12:39:23	1132	[DEBUG]	Query for ProductLang
2023-10-13	12:39:23	1132	[DEBUG]	Executed store
2023-10-13	12:39:23	1132	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7576C',`product_name`='SRAM Connecteur de Chaîne Eagle PowerLock T-Type 12-vitesses  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-connecteur-de-chaine-eagle-powerlock-t-type-12-vitesses-noir' WHERE `virtuemart_product_id` = '1860624'
2023-10-13	12:39:23	1132	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38896_connecteur_de_chaîne_eagle_powerlock_t-type_12-vitesses_.jpg
2023-10-13	12:39:23	1132	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:23	1132	[DEBUG]	Process image file
2023-10-13	12:39:23	1132	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:23	1132	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:23	1132	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38896_connecteur_de_chaîne_eagle_powerlock_t-type_12-vitesses_.jpg
2023-10-13	12:39:23	1132	[DEBUG]	Full name target: bcprisme/38896_connecteur_de_chaîne_eagle_powerlock_t-type_12-vitesses_.jpg
2023-10-13	12:39:24	1132	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:24	1132	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38896_connecteur_de_chaîne_eagle_powerlock_t-type_12-vitesses_.jpg'
2023-10-13	12:39:24	1132	[DEBUG]	Query for Media
2023-10-13	12:39:24	1132	[DEBUG]	Executed store
2023-10-13	12:39:24	1132	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38896_connecteur_de_chaîne_eagle_powerlock_t-type_12-vitesses_.jpg',`file_url_thumb`='bcprisme/38896_connecteur_de_chaîne_eagle_powerlock_t-type_12-vitesses_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1454725'
2023-10-13	12:39:24	1132	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:24	1132	[DEBUG]	Executed store
2023-10-13	12:39:24	1132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860624','1454725','1')
2023-10-13	12:39:24	1132	[DEBUG]	Store product image relation
2023-10-13	12:39:24	1132	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:24	1132	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860624 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:24	1132	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:24	1132	[DEBUG]	Executed store
2023-10-13	12:39:24	1132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860624','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:24	1132	[DEBUG]	Checking manufacturer
2023-10-13	12:39:24	1132	[DEBUG]	Load a row
2023-10-13	12:39:24	1132	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:24	1132	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:24	1132	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:24	1132	[DEBUG]	Executed store
2023-10-13	12:39:24	1132	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:24	1132	[DEBUG]	Manufacturer exists
2023-10-13	12:39:24	1132	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:24	1132	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:24	1132	[DEBUG]	Executed store
2023-10-13	12:39:24	1132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860624','35')
2023-10-13	12:39:24	1132	[DEBUG]	Find the custom field ID
2023-10-13	12:39:24	1132	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:24	1132	[DEBUG]	No custom field ID found
2023-10-13	12:39:24	1132	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:24	1132	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:24	1132	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860624 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:24	1132	[DEBUG]	Store custom available field
2023-10-13	12:39:24	1132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860624,3,'0',1)
2023-10-13	12:39:24	1132	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:24	1132	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:24	1132	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860624 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:24	1132	[DEBUG]	Store custom available field
2023-10-13	12:39:24	1132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860624,6,'choisir la taille',3)
2023-10-13	12:39:24	1132	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:24	1132	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:24	1132	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:24	1132	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:24	1132	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860624 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:24	1132	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:24	1132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860624,8,1)
2023-10-13	12:39:24	1132	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:24	1132	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860624\":[1860624,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860624
2023-10-13	12:39:24	1132	[DEBUG]	Checking category
2023-10-13	12:39:24	1132	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:24	1132	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860624
2023-10-13	12:39:24	1132	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:24	1132	[DEBUG]	Executed store
2023-10-13	12:39:24	1132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860624','7287')
2023-10-13	12:39:24	1132	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:24	1132	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860624 AND `virtuemart_category_id` NOT IN (7287)
2023-10-13	12:39:24	1132	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:24	1132	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860624
2023-10-13	12:39:24	1133	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:24	1133	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:24	1133	[DEBUG]	Use field value for field taille
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:24	1133	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:24	1133	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:24	1133	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:24	1133	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:24	1133	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:24	1133	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:24	1133	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:24	1133	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:24	1133	[DEBUG]	Use field value for field published
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:24	1133	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field override
2023-10-13	12:39:24	1133	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:24	1133	[DEBUG]	Use field value for field slug
2023-10-13	12:39:24	1133	[DEBUG]	Process line 1133
2023-10-13	12:39:24	1133	[DEBUG]	Load a row
2023-10-13	12:39:24	1133	[DEBUG]	Processing item: 1000002388792
2023-10-13	12:39:24	1133	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:24	1133	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:24	1133	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9531_1'
2023-10-13	12:39:24	1133	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:24	1133	[DEBUG]	Processing product tax
2023-10-13	12:39:24	1133	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:24	1133	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:24	1133	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:24	1133	[DEBUG]	Query for Product
2023-10-13	12:39:24	1133	[DEBUG]	Executed store
2023-10-13	12:39:24	1133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860624','1000002388792','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:25	1133	[DEBUG]	No parent found
2023-10-13	12:39:25	1133	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860624 AND customfield_value = 'stockable'
2023-10-13	12:39:25	1133	[DEBUG]	Check product language entry
2023-10-13	12:39:25	1133	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860625
2023-10-13	12:39:25	1133	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:25	1133	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000002388792' AND `virtuemart_product_id` != 1860625
2023-10-13	12:39:25	1133	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:25	1133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860625, '1000002388792')
2023-10-13	12:39:25	1133	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:25	1133	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-connecteur-de-chaine-eagle-powerlock-t-type-12-vitesses-noir-unitaire' AND `virtuemart_product_id` != 1860625
2023-10-13	12:39:25	1133	[DEBUG]	Query for ProductLang
2023-10-13	12:39:25	1133	[DEBUG]	Executed store
2023-10-13	12:39:25	1133	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Connecteur de Chaîne Eagle PowerLock T-Type 12-vitesses  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-connecteur-de-chaine-eagle-powerlock-t-type-12-vitesses-noir-unitaire' WHERE `virtuemart_product_id` = '1860625'
2023-10-13	12:39:25	1133	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38896_connecteur_de_chaîne_eagle_powerlock_t-type_12-vitesses_.jpg
2023-10-13	12:39:25	1133	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:25	1133	[DEBUG]	Process image file
2023-10-13	12:39:25	1133	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:25	1133	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:25	1133	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38896_connecteur_de_chaîne_eagle_powerlock_t-type_12-vitesses_.jpg
2023-10-13	12:39:25	1133	[DEBUG]	Full name target: bcprisme/38896_connecteur_de_chaîne_eagle_powerlock_t-type_12-vitesses_.jpg
2023-10-13	12:39:25	1133	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:25	1133	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38896_connecteur_de_chaîne_eagle_powerlock_t-type_12-vitesses_.jpg'
2023-10-13	12:39:25	1133	[DEBUG]	Query for Media
2023-10-13	12:39:25	1133	[DEBUG]	Executed store
2023-10-13	12:39:25	1133	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38896_connecteur_de_chaîne_eagle_powerlock_t-type_12-vitesses_.jpg',`file_url_thumb`='bcprisme/38896_connecteur_de_chaîne_eagle_powerlock_t-type_12-vitesses_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1454725'
2023-10-13	12:39:25	1133	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:25	1133	[DEBUG]	Executed store
2023-10-13	12:39:25	1133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860625','1454725','1')
2023-10-13	12:39:25	1133	[DEBUG]	Store product image relation
2023-10-13	12:39:25	1133	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:25	1133	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860625 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:25	1133	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:25	1133	[DEBUG]	Executed store
2023-10-13	12:39:25	1133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860625','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:25	1133	[DEBUG]	Checking manufacturer
2023-10-13	12:39:25	1133	[DEBUG]	Load a row
2023-10-13	12:39:25	1133	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:25	1133	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:25	1133	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:26	1133	[DEBUG]	Executed store
2023-10-13	12:39:26	1133	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:26	1133	[DEBUG]	Manufacturer exists
2023-10-13	12:39:26	1133	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:26	1133	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:26	1133	[DEBUG]	Executed store
2023-10-13	12:39:26	1133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860625','35')
2023-10-13	12:39:26	1133	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:26	1133	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:26	1133	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860625 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:26	1133	[DEBUG]	Store custom available field
2023-10-13	12:39:26	1133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860625,3,'',1)
2023-10-13	12:39:26	1133	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:26	1133	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:26	1133	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860625 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:26	1133	[DEBUG]	Store custom available field
2023-10-13	12:39:26	1133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860625,6,'Unitaire',3)
2023-10-13	12:39:26	1133	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:26	1133	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:26	1133	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860624
2023-10-13	12:39:26	1133	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:26	1133	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860624\":[1860624,8,1,\"choisir la taille\"],\"1860625\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860624
2023-10-13	12:39:26	1133	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:26	1133	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860625
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:26	1134	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field taille
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:26	1134	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:26	1134	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:26	1134	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:26	1134	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:26	1134	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:26	1134	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field published
2023-10-13	12:39:26	1134	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:26	1134	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field override
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:26	1134	[DEBUG]	Use field value for field slug
2023-10-13	12:39:26	1134	[DEBUG]	Process line 1134
2023-10-13	12:39:26	1134	[DEBUG]	Load a row
2023-10-13	12:39:26	1134	[DEBUG]	Processing item: A_631_4
2023-10-13	12:39:26	1134	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:26	1134	[DEBUG]	Processing product tax
2023-10-13	12:39:26	1134	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:26	1134	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:26	1134	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:26	1134	[DEBUG]	Query for Product
2023-10-13	12:39:26	1134	[DEBUG]	Executed store
2023-10-13	12:39:26	1134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_631_4','0.295','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:26	1134	[DEBUG]	Check product language entry
2023-10-13	12:39:26	1134	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860626
2023-10-13	12:39:26	1134	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:26	1134	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_631_4' AND `virtuemart_product_id` != 1860626
2023-10-13	12:39:26	1134	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:26	1134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860626, 'A_631_4')
2023-10-13	12:39:26	1134	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:26	1134	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-ybn-6-7-8-vitesses-avec-rapponse-rapide112-l-295-gr-acier' AND `virtuemart_product_id` != 1860626
2023-10-13	12:39:26	1134	[DEBUG]	Query for ProductLang
2023-10-13	12:39:26	1134	[DEBUG]	Executed store
2023-10-13	12:39:26	1134	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='7-8 vitesses, 295gr avec fermeture rapide<br>N° art fourn : LG50S',`product_name`='YBN Chaîne YBN 6-7-8 vitesses avec rapponse rapide112 l, 295 gr. / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-ybn-6-7-8-vitesses-avec-rapponse-rapide112-l-295-gr-acier' WHERE `virtuemart_product_id` = '1860626'
2023-10-13	12:39:26	1134	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_777.jpg
2023-10-13	12:39:26	1134	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:26	1134	[DEBUG]	Process image file
2023-10-13	12:39:26	1134	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:26	1134	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:26	1134	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_777.jpg
2023-10-13	12:39:26	1134	[DEBUG]	Full name target: bcprisme/image_777.jpg
2023-10-13	12:39:27	1134	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:27	1134	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_777.jpg'
2023-10-13	12:39:27	1134	[DEBUG]	Query for Media
2023-10-13	12:39:27	1134	[DEBUG]	Executed store
2023-10-13	12:39:27	1134	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_777.jpg',`file_url_thumb`='bcprisme/image_777.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15810'
2023-10-13	12:39:27	1134	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:27	1134	[DEBUG]	Executed store
2023-10-13	12:39:27	1134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860626','15810','1')
2023-10-13	12:39:27	1134	[DEBUG]	Store product image relation
2023-10-13	12:39:27	1134	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:27	1134	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860626 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:27	1134	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:27	1134	[DEBUG]	Executed store
2023-10-13	12:39:27	1134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860626','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:27	1134	[DEBUG]	Checking manufacturer
2023-10-13	12:39:27	1134	[DEBUG]	Load a row
2023-10-13	12:39:27	1134	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:27	1134	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:27	1134	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:27	1134	[DEBUG]	Executed store
2023-10-13	12:39:27	1134	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:27	1134	[DEBUG]	Manufacturer exists
2023-10-13	12:39:27	1134	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:39:27	1134	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:27	1134	[DEBUG]	Executed store
2023-10-13	12:39:27	1134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860626','216')
2023-10-13	12:39:27	1134	[DEBUG]	Find the custom field ID
2023-10-13	12:39:27	1134	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:27	1134	[DEBUG]	No custom field ID found
2023-10-13	12:39:27	1134	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:27	1134	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:39:27	1134	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860626 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:27	1134	[DEBUG]	Store custom available field
2023-10-13	12:39:27	1134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860626,3,'12.8641666666667',1)
2023-10-13	12:39:27	1134	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:27	1134	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:27	1134	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860626 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:27	1134	[DEBUG]	Store custom available field
2023-10-13	12:39:27	1134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860626,6,'choisir la taille',3)
2023-10-13	12:39:27	1134	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:27	1134	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:27	1134	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:27	1134	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:27	1134	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860626 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:27	1134	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:27	1134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860626,8,1)
2023-10-13	12:39:27	1134	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:27	1134	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860626\":[1860626,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860626
2023-10-13	12:39:27	1134	[DEBUG]	Checking category
2023-10-13	12:39:27	1134	[DEBUG]	Check if category path exists: CHAINES 8 VITESSES -  8 FACH KETTEN
2023-10-13	12:39:27	1134	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAINES 8 VITESSES -  8 FACH KETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7284
2023-10-13	12:39:27	1134	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:27	1134	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860626
2023-10-13	12:39:27	1134	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:27	1134	[DEBUG]	Executed store
2023-10-13	12:39:27	1134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860626','7288')
2023-10-13	12:39:27	1134	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:27	1134	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860626 AND `virtuemart_category_id` NOT IN (7288)
2023-10-13	12:39:27	1134	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:27	1134	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860626
2023-10-13	12:39:27	1135	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:27	1135	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:27	1135	[DEBUG]	Use field value for field taille
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:27	1135	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:27	1135	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:27	1135	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:27	1135	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:27	1135	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:27	1135	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:27	1135	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:27	1135	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:27	1135	[DEBUG]	Use field value for field published
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:27	1135	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field override
2023-10-13	12:39:27	1135	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:27	1135	[DEBUG]	Use field value for field slug
2023-10-13	12:39:27	1135	[DEBUG]	Process line 1135
2023-10-13	12:39:27	1135	[DEBUG]	Load a row
2023-10-13	12:39:27	1135	[DEBUG]	Processing item: 8436041139768
2023-10-13	12:39:27	1135	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:27	1135	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:27	1135	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_631_4'
2023-10-13	12:39:27	1135	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:27	1135	[DEBUG]	Processing product tax
2023-10-13	12:39:27	1135	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:27	1135	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:27	1135	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:27	1135	[DEBUG]	Query for Product
2023-10-13	12:39:27	1135	[DEBUG]	Executed store
2023-10-13	12:39:27	1135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860626','8436041139768','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:27	1135	[DEBUG]	No parent found
2023-10-13	12:39:27	1135	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860626 AND customfield_value = 'stockable'
2023-10-13	12:39:27	1135	[DEBUG]	Check product language entry
2023-10-13	12:39:27	1135	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860627
2023-10-13	12:39:27	1135	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:27	1135	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041139768' AND `virtuemart_product_id` != 1860627
2023-10-13	12:39:27	1135	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:27	1135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860627, '8436041139768')
2023-10-13	12:39:27	1135	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:27	1135	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-ybn-6-7-8-vitesses-avec-rapponse-rapide112-l-295-gr-acier-unitaire' AND `virtuemart_product_id` != 1860627
2023-10-13	12:39:27	1135	[DEBUG]	Query for ProductLang
2023-10-13	12:39:27	1135	[DEBUG]	Executed store
2023-10-13	12:39:27	1135	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='YBN Chaîne YBN 6-7-8 vitesses avec rapponse rapide112 l, 295 gr. / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-ybn-6-7-8-vitesses-avec-rapponse-rapide112-l-295-gr-acier-unitaire' WHERE `virtuemart_product_id` = '1860627'
2023-10-13	12:39:27	1135	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_777.jpg
2023-10-13	12:39:27	1135	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:27	1135	[DEBUG]	Process image file
2023-10-13	12:39:27	1135	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:27	1135	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:27	1135	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_777.jpg
2023-10-13	12:39:27	1135	[DEBUG]	Full name target: bcprisme/image_777.jpg
2023-10-13	12:39:28	1135	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:28	1135	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_777.jpg'
2023-10-13	12:39:28	1135	[DEBUG]	Query for Media
2023-10-13	12:39:28	1135	[DEBUG]	Executed store
2023-10-13	12:39:28	1135	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_777.jpg',`file_url_thumb`='bcprisme/image_777.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15810'
2023-10-13	12:39:28	1135	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:28	1135	[DEBUG]	Executed store
2023-10-13	12:39:28	1135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860627','15810','1')
2023-10-13	12:39:28	1135	[DEBUG]	Store product image relation
2023-10-13	12:39:28	1135	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:28	1135	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860627 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:28	1135	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:28	1135	[DEBUG]	Executed store
2023-10-13	12:39:28	1135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860627','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:28	1135	[DEBUG]	Checking manufacturer
2023-10-13	12:39:28	1135	[DEBUG]	Load a row
2023-10-13	12:39:28	1135	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:28	1135	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:28	1135	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:28	1135	[DEBUG]	Executed store
2023-10-13	12:39:28	1135	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:28	1135	[DEBUG]	Manufacturer exists
2023-10-13	12:39:28	1135	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:39:28	1135	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:28	1135	[DEBUG]	Executed store
2023-10-13	12:39:28	1135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860627','216')
2023-10-13	12:39:28	1135	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:28	1135	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:28	1135	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860627 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:28	1135	[DEBUG]	Store custom available field
2023-10-13	12:39:28	1135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860627,3,'',1)
2023-10-13	12:39:28	1135	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:28	1135	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:28	1135	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860627 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:28	1135	[DEBUG]	Store custom available field
2023-10-13	12:39:28	1135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860627,6,'Unitaire',3)
2023-10-13	12:39:28	1135	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:28	1135	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:28	1135	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860626
2023-10-13	12:39:28	1135	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:28	1135	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860626\":[1860626,8,1,\"choisir la taille\"],\"1860627\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860626
2023-10-13	12:39:28	1135	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:28	1135	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860627
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:28	1136	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field taille
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:28	1136	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:28	1136	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:28	1136	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:28	1136	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:28	1136	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:28	1136	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field published
2023-10-13	12:39:28	1136	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:28	1136	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field override
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:28	1136	[DEBUG]	Use field value for field slug
2023-10-13	12:39:28	1136	[DEBUG]	Process line 1136
2023-10-13	12:39:28	1136	[DEBUG]	Load a row
2023-10-13	12:39:28	1136	[DEBUG]	Processing item: A_1010_4
2023-10-13	12:39:28	1136	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:28	1136	[DEBUG]	Processing product tax
2023-10-13	12:39:28	1136	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:28	1136	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:28	1136	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:28	1136	[DEBUG]	Query for Product
2023-10-13	12:39:28	1136	[DEBUG]	Executed store
2023-10-13	12:39:28	1136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1010_4','0.328','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:28	1136	[DEBUG]	Check product language entry
2023-10-13	12:39:28	1136	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860628
2023-10-13	12:39:28	1136	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:28	1136	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1010_4' AND `virtuemart_product_id` != 1860628
2023-10-13	12:39:28	1136	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:28	1136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860628, 'A_1010_4')
2023-10-13	12:39:28	1136	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:28	1136	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-taya-6-7-8v-112l-avec-rapponse-rapide-328-gr-acier' AND `virtuemart_product_id` != 1860628
2023-10-13	12:39:28	1136	[DEBUG]	Query for ProductLang
2023-10-13	12:39:28	1136	[DEBUG]	Executed store
2023-10-13	12:39:28	1136	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='8 vitesses, 328gr, fixation rapide incluses<br>N° art fourn : TB600AR',`product_name`='MSC Chaîne Taya 6-7-8v 112l avec rapponse rapide, 328 gr. / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-taya-6-7-8v-112l-avec-rapponse-rapide-328-gr-acier' WHERE `virtuemart_product_id` = '1860628'
2023-10-13	12:39:28	1136	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1312.jpg
2023-10-13	12:39:28	1136	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:39:28	1136	[DEBUG]	Process image file
2023-10-13	12:39:28	1136	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:39:28	1136	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:28	1136	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1312.jpg
2023-10-13	12:39:28	1136	[DEBUG]	Full name target: bcprisme/image_1312.jpg
2023-10-13	12:39:29	1136	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:29	1136	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1312.jpg'
2023-10-13	12:39:29	1136	[DEBUG]	Query for Media
2023-10-13	12:39:29	1136	[DEBUG]	Executed store
2023-10-13	12:39:29	1136	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1312.jpg',`file_url_thumb`='bcprisme/image_1312.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12565'
2023-10-13	12:39:29	1136	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:29	1136	[DEBUG]	Executed store
2023-10-13	12:39:29	1136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860628','12565','1')
2023-10-13	12:39:29	1136	[DEBUG]	Store product image relation
2023-10-13	12:39:29	1136	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:29	1136	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860628 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:29	1136	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:29	1136	[DEBUG]	Executed store
2023-10-13	12:39:29	1136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860628','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:29	1136	[DEBUG]	Checking manufacturer
2023-10-13	12:39:29	1136	[DEBUG]	Load a row
2023-10-13	12:39:29	1136	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:29	1136	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:29	1136	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:29	1136	[DEBUG]	Executed store
2023-10-13	12:39:29	1136	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:29	1136	[DEBUG]	Manufacturer exists
2023-10-13	12:39:29	1136	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:39:29	1136	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:29	1136	[DEBUG]	Executed store
2023-10-13	12:39:29	1136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860628','32')
2023-10-13	12:39:29	1136	[DEBUG]	Find the custom field ID
2023-10-13	12:39:29	1136	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:29	1136	[DEBUG]	No custom field ID found
2023-10-13	12:39:29	1136	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:29	1136	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:39:29	1136	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860628 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:29	1136	[DEBUG]	Store custom available field
2023-10-13	12:39:29	1136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860628,3,'12.8641666666667',1)
2023-10-13	12:39:29	1136	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:29	1136	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:29	1136	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860628 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:29	1136	[DEBUG]	Store custom available field
2023-10-13	12:39:29	1136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860628,6,'choisir la taille',3)
2023-10-13	12:39:29	1136	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:29	1136	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:29	1136	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:29	1136	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:29	1136	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860628 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:29	1136	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:29	1136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860628,8,1)
2023-10-13	12:39:29	1136	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:29	1136	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860628\":[1860628,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860628
2023-10-13	12:39:29	1136	[DEBUG]	Checking category
2023-10-13	12:39:29	1136	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:29	1136	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860628
2023-10-13	12:39:29	1136	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:29	1136	[DEBUG]	Executed store
2023-10-13	12:39:29	1136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860628','7288')
2023-10-13	12:39:29	1136	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:29	1136	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860628 AND `virtuemart_category_id` NOT IN (7288)
2023-10-13	12:39:29	1136	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:29	1136	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860628
2023-10-13	12:39:29	1137	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:29	1137	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:29	1137	[DEBUG]	Use field value for field taille
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:29	1137	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:29	1137	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:29	1137	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:29	1137	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:29	1137	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:29	1137	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:29	1137	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:29	1137	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:29	1137	[DEBUG]	Use field value for field published
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:29	1137	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field override
2023-10-13	12:39:29	1137	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:29	1137	[DEBUG]	Use field value for field slug
2023-10-13	12:39:29	1137	[DEBUG]	Process line 1137
2023-10-13	12:39:29	1137	[DEBUG]	Load a row
2023-10-13	12:39:29	1137	[DEBUG]	Processing item: 8436041524588
2023-10-13	12:39:29	1137	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:29	1137	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:29	1137	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1010_4'
2023-10-13	12:39:29	1137	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:29	1137	[DEBUG]	Processing product tax
2023-10-13	12:39:29	1137	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:29	1137	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:29	1137	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:29	1137	[DEBUG]	Query for Product
2023-10-13	12:39:29	1137	[DEBUG]	Executed store
2023-10-13	12:39:29	1137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860628','8436041524588','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:29	1137	[DEBUG]	No parent found
2023-10-13	12:39:29	1137	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860628 AND customfield_value = 'stockable'
2023-10-13	12:39:29	1137	[DEBUG]	Check product language entry
2023-10-13	12:39:29	1137	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860629
2023-10-13	12:39:29	1137	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:29	1137	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041524588' AND `virtuemart_product_id` != 1860629
2023-10-13	12:39:29	1137	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:29	1137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860629, '8436041524588')
2023-10-13	12:39:29	1137	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:29	1137	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-taya-6-7-8v-112l-avec-rapponse-rapide-328-gr-acier-unitaire' AND `virtuemart_product_id` != 1860629
2023-10-13	12:39:29	1137	[DEBUG]	Query for ProductLang
2023-10-13	12:39:29	1137	[DEBUG]	Executed store
2023-10-13	12:39:29	1137	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne Taya 6-7-8v 112l avec rapponse rapide, 328 gr. / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-taya-6-7-8v-112l-avec-rapponse-rapide-328-gr-acier-unitaire' WHERE `virtuemart_product_id` = '1860629'
2023-10-13	12:39:29	1137	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1312.jpg
2023-10-13	12:39:29	1137	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:39:29	1137	[DEBUG]	Process image file
2023-10-13	12:39:29	1137	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:39:29	1137	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:29	1137	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1312.jpg
2023-10-13	12:39:29	1137	[DEBUG]	Full name target: bcprisme/image_1312.jpg
2023-10-13	12:39:30	1137	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:30	1137	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1312.jpg'
2023-10-13	12:39:30	1137	[DEBUG]	Query for Media
2023-10-13	12:39:30	1137	[DEBUG]	Executed store
2023-10-13	12:39:30	1137	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1312.jpg',`file_url_thumb`='bcprisme/image_1312.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12565'
2023-10-13	12:39:30	1137	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:30	1137	[DEBUG]	Executed store
2023-10-13	12:39:30	1137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860629','12565','1')
2023-10-13	12:39:30	1137	[DEBUG]	Store product image relation
2023-10-13	12:39:30	1137	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:30	1137	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860629 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:30	1137	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:30	1137	[DEBUG]	Executed store
2023-10-13	12:39:30	1137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860629','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:30	1137	[DEBUG]	Checking manufacturer
2023-10-13	12:39:30	1137	[DEBUG]	Load a row
2023-10-13	12:39:30	1137	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:30	1137	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:30	1137	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:30	1137	[DEBUG]	Executed store
2023-10-13	12:39:30	1137	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:30	1137	[DEBUG]	Manufacturer exists
2023-10-13	12:39:30	1137	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:39:30	1137	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:30	1137	[DEBUG]	Executed store
2023-10-13	12:39:30	1137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860629','32')
2023-10-13	12:39:30	1137	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:30	1137	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:30	1137	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860629 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:30	1137	[DEBUG]	Store custom available field
2023-10-13	12:39:30	1137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860629,3,'',1)
2023-10-13	12:39:30	1137	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:30	1137	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:30	1137	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860629 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:30	1137	[DEBUG]	Store custom available field
2023-10-13	12:39:30	1137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860629,6,'Unitaire',3)
2023-10-13	12:39:30	1137	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:30	1137	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:30	1137	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860628
2023-10-13	12:39:30	1137	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:30	1137	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860628\":[1860628,8,1,\"choisir la taille\"],\"1860629\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860628
2023-10-13	12:39:30	1137	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:30	1137	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860629
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:30	1138	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field taille
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:30	1138	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:30	1138	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:30	1138	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:30	1138	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:30	1138	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:30	1138	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field published
2023-10-13	12:39:30	1138	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:30	1138	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field override
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:30	1138	[DEBUG]	Use field value for field slug
2023-10-13	12:39:30	1138	[DEBUG]	Process line 1138
2023-10-13	12:39:30	1138	[DEBUG]	Load a row
2023-10-13	12:39:30	1138	[DEBUG]	Processing item: A_5214_208
2023-10-13	12:39:30	1138	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:30	1138	[DEBUG]	Processing product tax
2023-10-13	12:39:30	1138	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:30	1138	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:30	1138	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:30	1138	[DEBUG]	Query for Product
2023-10-13	12:39:30	1138	[DEBUG]	Executed store
2023-10-13	12:39:30	1138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5214_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:30	1138	[DEBUG]	Check product language entry
2023-10-13	12:39:30	1138	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860630
2023-10-13	12:39:30	1138	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:30	1138	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5214_208' AND `virtuemart_product_id` != 1860630
2023-10-13	12:39:30	1138	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:30	1138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860630, 'A_5214_208')
2023-10-13	12:39:30	1138	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:30	1138	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-hg71-7-8-vitesses-116-maillons-box-aucune' AND `virtuemart_product_id` != 1860630
2023-10-13	12:39:30	1138	[DEBUG]	Query for ProductLang
2023-10-13	12:39:30	1138	[DEBUG]	Executed store
2023-10-13	12:39:30	1138	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.60917',`product_name`='SHIMANO Chaîne CN-HG71 7/8-vitesses 116 maillons box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-hg71-7-8-vitesses-116-maillons-box-aucune' WHERE `virtuemart_product_id` = '1860630'
2023-10-13	12:39:30	1138	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29685_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_box.jpg
2023-10-13	12:39:30	1138	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:30	1138	[DEBUG]	Process image file
2023-10-13	12:39:30	1138	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:30	1138	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:30	1138	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29685_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_box.jpg
2023-10-13	12:39:30	1138	[DEBUG]	Full name target: bcprisme/29685_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_box.jpg
2023-10-13	12:39:31	1138	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:31	1138	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29685_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_box.jpg'
2023-10-13	12:39:31	1138	[DEBUG]	Query for Media
2023-10-13	12:39:31	1138	[DEBUG]	Executed store
2023-10-13	12:39:31	1138	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29685_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_box.jpg',`file_url_thumb`='bcprisme/29685_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12566'
2023-10-13	12:39:31	1138	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:31	1138	[DEBUG]	Executed store
2023-10-13	12:39:31	1138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860630','12566','1')
2023-10-13	12:39:31	1138	[DEBUG]	Store product image relation
2023-10-13	12:39:31	1138	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:31	1138	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860630 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:31	1138	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:31	1138	[DEBUG]	Executed store
2023-10-13	12:39:31	1138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860630','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:31	1138	[DEBUG]	Checking manufacturer
2023-10-13	12:39:31	1138	[DEBUG]	Load a row
2023-10-13	12:39:31	1138	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:31	1138	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:31	1138	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:31	1138	[DEBUG]	Executed store
2023-10-13	12:39:31	1138	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:31	1138	[DEBUG]	Manufacturer exists
2023-10-13	12:39:31	1138	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:39:31	1138	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:31	1138	[DEBUG]	Executed store
2023-10-13	12:39:31	1138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860630','123')
2023-10-13	12:39:31	1138	[DEBUG]	Find the custom field ID
2023-10-13	12:39:31	1138	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:31	1138	[DEBUG]	No custom field ID found
2023-10-13	12:39:31	1138	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:31	1138	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:31	1138	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860630 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:31	1138	[DEBUG]	Store custom available field
2023-10-13	12:39:31	1138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860630,3,'0',1)
2023-10-13	12:39:31	1138	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:31	1138	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:31	1138	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860630 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:31	1138	[DEBUG]	Store custom available field
2023-10-13	12:39:31	1138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860630,6,'choisir la taille',3)
2023-10-13	12:39:31	1138	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:31	1138	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:31	1138	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:31	1138	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:31	1138	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860630 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:31	1138	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:31	1138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860630,8,1)
2023-10-13	12:39:31	1138	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:31	1138	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860630\":[1860630,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860630
2023-10-13	12:39:31	1138	[DEBUG]	Checking category
2023-10-13	12:39:31	1138	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:31	1138	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860630
2023-10-13	12:39:31	1138	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:31	1138	[DEBUG]	Executed store
2023-10-13	12:39:31	1138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860630','7288')
2023-10-13	12:39:31	1138	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:31	1138	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860630 AND `virtuemart_category_id` NOT IN (7288)
2023-10-13	12:39:31	1138	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:31	1138	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860630
2023-10-13	12:39:31	1139	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:31	1139	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:31	1139	[DEBUG]	Use field value for field taille
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:31	1139	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:31	1139	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:31	1139	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:31	1139	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:31	1139	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:31	1139	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:31	1139	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:31	1139	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:31	1139	[DEBUG]	Use field value for field published
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:31	1139	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field override
2023-10-13	12:39:31	1139	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:31	1139	[DEBUG]	Use field value for field slug
2023-10-13	12:39:31	1139	[DEBUG]	Process line 1139
2023-10-13	12:39:31	1139	[DEBUG]	Load a row
2023-10-13	12:39:31	1139	[DEBUG]	Processing item: 4524667856771
2023-10-13	12:39:31	1139	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:31	1139	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:31	1139	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5214_208'
2023-10-13	12:39:31	1139	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:31	1139	[DEBUG]	Processing product tax
2023-10-13	12:39:31	1139	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:31	1139	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:31	1139	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:31	1139	[DEBUG]	Query for Product
2023-10-13	12:39:31	1139	[DEBUG]	Executed store
2023-10-13	12:39:31	1139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860630','4524667856771','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:31	1139	[DEBUG]	No parent found
2023-10-13	12:39:31	1139	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860630 AND customfield_value = 'stockable'
2023-10-13	12:39:31	1139	[DEBUG]	Check product language entry
2023-10-13	12:39:31	1139	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860631
2023-10-13	12:39:31	1139	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:31	1139	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667856771' AND `virtuemart_product_id` != 1860631
2023-10-13	12:39:31	1139	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:31	1139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860631, '4524667856771')
2023-10-13	12:39:31	1139	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:31	1139	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-hg71-7-8-vitesses-116-maillons-box-aucune-all' AND `virtuemart_product_id` != 1860631
2023-10-13	12:39:31	1139	[DEBUG]	Query for ProductLang
2023-10-13	12:39:31	1139	[DEBUG]	Executed store
2023-10-13	12:39:31	1139	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne CN-HG71 7/8-vitesses 116 maillons box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-hg71-7-8-vitesses-116-maillons-box-aucune-all' WHERE `virtuemart_product_id` = '1860631'
2023-10-13	12:39:31	1139	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29685_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_box.jpg
2023-10-13	12:39:31	1139	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:31	1139	[DEBUG]	Process image file
2023-10-13	12:39:31	1139	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:31	1139	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:31	1139	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29685_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_box.jpg
2023-10-13	12:39:31	1139	[DEBUG]	Full name target: bcprisme/29685_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_box.jpg
2023-10-13	12:39:32	1139	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:32	1139	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29685_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_box.jpg'
2023-10-13	12:39:32	1139	[DEBUG]	Query for Media
2023-10-13	12:39:32	1139	[DEBUG]	Executed store
2023-10-13	12:39:32	1139	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29685_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_box.jpg',`file_url_thumb`='bcprisme/29685_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12566'
2023-10-13	12:39:32	1139	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:32	1139	[DEBUG]	Executed store
2023-10-13	12:39:32	1139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860631','12566','1')
2023-10-13	12:39:32	1139	[DEBUG]	Store product image relation
2023-10-13	12:39:32	1139	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:32	1139	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860631 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:32	1139	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:32	1139	[DEBUG]	Executed store
2023-10-13	12:39:32	1139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860631','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:32	1139	[DEBUG]	Checking manufacturer
2023-10-13	12:39:32	1139	[DEBUG]	Load a row
2023-10-13	12:39:32	1139	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:32	1139	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:32	1139	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:32	1139	[DEBUG]	Executed store
2023-10-13	12:39:32	1139	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:32	1139	[DEBUG]	Manufacturer exists
2023-10-13	12:39:32	1139	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:39:32	1139	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:32	1139	[DEBUG]	Executed store
2023-10-13	12:39:32	1139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860631','123')
2023-10-13	12:39:32	1139	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:32	1139	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:32	1139	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860631 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:32	1139	[DEBUG]	Store custom available field
2023-10-13	12:39:32	1139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860631,3,'',1)
2023-10-13	12:39:32	1139	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:32	1139	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:39:32	1139	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860631 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:32	1139	[DEBUG]	Store custom available field
2023-10-13	12:39:32	1139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860631,6,'All',3)
2023-10-13	12:39:32	1139	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:32	1139	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:32	1139	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860630
2023-10-13	12:39:32	1139	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:32	1139	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860630\":[1860630,8,1,\"choisir la taille\"],\"1860631\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860630
2023-10-13	12:39:32	1139	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:32	1139	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860631
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:32	1140	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field taille
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:32	1140	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:32	1140	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:32	1140	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:32	1140	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:32	1140	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:32	1140	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field published
2023-10-13	12:39:32	1140	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:32	1140	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field override
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:32	1140	[DEBUG]	Use field value for field slug
2023-10-13	12:39:32	1140	[DEBUG]	Process line 1140
2023-10-13	12:39:32	1140	[DEBUG]	Load a row
2023-10-13	12:39:32	1140	[DEBUG]	Processing item: A_5825_13
2023-10-13	12:39:32	1140	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:32	1140	[DEBUG]	Processing product tax
2023-10-13	12:39:32	1140	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:32	1140	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:32	1140	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:32	1140	[DEBUG]	Query for Product
2023-10-13	12:39:32	1140	[DEBUG]	Executed store
2023-10-13	12:39:32	1140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5825_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:32	1140	[DEBUG]	Check product language entry
2023-10-13	12:39:32	1140	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860632
2023-10-13	12:39:32	1140	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:32	1140	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5825_13' AND `virtuemart_product_id` != 1860632
2023-10-13	12:39:32	1140	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:32	1140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860632, 'A_5825_13')
2023-10-13	12:39:32	1140	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:32	1140	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-ig70-7-8-vitesses-116-maillons-argent' AND `virtuemart_product_id` != 1860632
2023-10-13	12:39:32	1140	[DEBUG]	Query for ProductLang
2023-10-13	12:39:32	1140	[DEBUG]	Executed store
2023-10-13	12:39:32	1140	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : IG70Shimano',`product_name`='SHIMANO Chaîne CN-IG70 7/8-vitesses 116 maillons  / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-ig70-7-8-vitesses-116-maillons-argent' WHERE `virtuemart_product_id` = '1860632'
2023-10-13	12:39:32	1140	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30354_shimano_chaîne_cn-ig70_7-8-vitesses_116_maillons_.jpg
2023-10-13	12:39:32	1140	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:32	1140	[DEBUG]	Process image file
2023-10-13	12:39:32	1140	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:32	1140	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:32	1140	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30354_shimano_chaîne_cn-ig70_7-8-vitesses_116_maillons_.jpg
2023-10-13	12:39:32	1140	[DEBUG]	Full name target: bcprisme/30354_shimano_chaîne_cn-ig70_7-8-vitesses_116_maillons_.jpg
2023-10-13	12:39:33	1140	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:33	1140	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30354_shimano_chaîne_cn-ig70_7-8-vitesses_116_maillons_.jpg'
2023-10-13	12:39:33	1140	[DEBUG]	Query for Media
2023-10-13	12:39:33	1140	[DEBUG]	Executed store
2023-10-13	12:39:33	1140	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30354_shimano_chaîne_cn-ig70_7-8-vitesses_116_maillons_.jpg',`file_url_thumb`='bcprisme/30354_shimano_chaîne_cn-ig70_7-8-vitesses_116_maillons_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12567'
2023-10-13	12:39:33	1140	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:33	1140	[DEBUG]	Executed store
2023-10-13	12:39:33	1140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860632','12567','1')
2023-10-13	12:39:33	1140	[DEBUG]	Store product image relation
2023-10-13	12:39:33	1140	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:33	1140	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860632 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:33	1140	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:33	1140	[DEBUG]	Executed store
2023-10-13	12:39:33	1140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860632','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:33	1140	[DEBUG]	Checking manufacturer
2023-10-13	12:39:33	1140	[DEBUG]	Load a row
2023-10-13	12:39:33	1140	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:33	1140	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:33	1140	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:33	1140	[DEBUG]	Executed store
2023-10-13	12:39:33	1140	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:33	1140	[DEBUG]	Manufacturer exists
2023-10-13	12:39:33	1140	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:39:33	1140	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:33	1140	[DEBUG]	Executed store
2023-10-13	12:39:33	1140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860632','123')
2023-10-13	12:39:33	1140	[DEBUG]	Find the custom field ID
2023-10-13	12:39:33	1140	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:33	1140	[DEBUG]	No custom field ID found
2023-10-13	12:39:33	1140	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:33	1140	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:33	1140	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860632 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:33	1140	[DEBUG]	Store custom available field
2023-10-13	12:39:33	1140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860632,3,'0',1)
2023-10-13	12:39:33	1140	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:33	1140	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:33	1140	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860632 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:33	1140	[DEBUG]	Store custom available field
2023-10-13	12:39:33	1140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860632,6,'choisir la taille',3)
2023-10-13	12:39:33	1140	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:33	1140	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:33	1140	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:33	1140	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:33	1140	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860632 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:33	1140	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:33	1140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860632,8,1)
2023-10-13	12:39:33	1140	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:33	1140	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860632\":[1860632,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860632
2023-10-13	12:39:33	1140	[DEBUG]	Checking category
2023-10-13	12:39:33	1140	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:33	1140	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860632
2023-10-13	12:39:33	1140	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:33	1140	[DEBUG]	Executed store
2023-10-13	12:39:33	1140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860632','7288')
2023-10-13	12:39:33	1140	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:33	1140	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860632 AND `virtuemart_category_id` NOT IN (7288)
2023-10-13	12:39:33	1140	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:33	1140	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860632
2023-10-13	12:39:33	1141	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:33	1141	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:33	1141	[DEBUG]	Use field value for field taille
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:33	1141	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:33	1141	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:33	1141	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:33	1141	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:33	1141	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:33	1141	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:33	1141	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:33	1141	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:33	1141	[DEBUG]	Use field value for field published
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:33	1141	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field override
2023-10-13	12:39:33	1141	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:33	1141	[DEBUG]	Use field value for field slug
2023-10-13	12:39:33	1141	[DEBUG]	Process line 1141
2023-10-13	12:39:33	1141	[DEBUG]	Load a row
2023-10-13	12:39:33	1141	[DEBUG]	Processing item: 4524667006060
2023-10-13	12:39:33	1141	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:33	1141	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:33	1141	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5825_13'
2023-10-13	12:39:33	1141	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:33	1141	[DEBUG]	Processing product tax
2023-10-13	12:39:33	1141	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:33	1141	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:33	1141	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:33	1141	[DEBUG]	Query for Product
2023-10-13	12:39:33	1141	[DEBUG]	Executed store
2023-10-13	12:39:33	1141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860632','4524667006060','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:33	1141	[DEBUG]	No parent found
2023-10-13	12:39:33	1141	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860632 AND customfield_value = 'stockable'
2023-10-13	12:39:33	1141	[DEBUG]	Check product language entry
2023-10-13	12:39:33	1141	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860633
2023-10-13	12:39:33	1141	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:33	1141	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667006060' AND `virtuemart_product_id` != 1860633
2023-10-13	12:39:33	1141	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:33	1141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860633, '4524667006060')
2023-10-13	12:39:33	1141	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:33	1141	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-ig70-7-8-vitesses-116-maillons-argent-all' AND `virtuemart_product_id` != 1860633
2023-10-13	12:39:33	1141	[DEBUG]	Query for ProductLang
2023-10-13	12:39:33	1141	[DEBUG]	Executed store
2023-10-13	12:39:33	1141	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne CN-IG70 7/8-vitesses 116 maillons  / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-ig70-7-8-vitesses-116-maillons-argent-all' WHERE `virtuemart_product_id` = '1860633'
2023-10-13	12:39:33	1141	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30354_shimano_chaîne_cn-ig70_7-8-vitesses_116_maillons_.jpg
2023-10-13	12:39:33	1141	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:33	1141	[DEBUG]	Process image file
2023-10-13	12:39:33	1141	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:33	1141	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:33	1141	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30354_shimano_chaîne_cn-ig70_7-8-vitesses_116_maillons_.jpg
2023-10-13	12:39:33	1141	[DEBUG]	Full name target: bcprisme/30354_shimano_chaîne_cn-ig70_7-8-vitesses_116_maillons_.jpg
2023-10-13	12:39:34	1141	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:34	1141	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30354_shimano_chaîne_cn-ig70_7-8-vitesses_116_maillons_.jpg'
2023-10-13	12:39:34	1141	[DEBUG]	Query for Media
2023-10-13	12:39:34	1141	[DEBUG]	Executed store
2023-10-13	12:39:34	1141	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30354_shimano_chaîne_cn-ig70_7-8-vitesses_116_maillons_.jpg',`file_url_thumb`='bcprisme/30354_shimano_chaîne_cn-ig70_7-8-vitesses_116_maillons_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12567'
2023-10-13	12:39:34	1141	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:34	1141	[DEBUG]	Executed store
2023-10-13	12:39:34	1141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860633','12567','1')
2023-10-13	12:39:34	1141	[DEBUG]	Store product image relation
2023-10-13	12:39:34	1141	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:34	1141	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860633 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:34	1141	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:34	1141	[DEBUG]	Executed store
2023-10-13	12:39:34	1141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860633','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:34	1141	[DEBUG]	Checking manufacturer
2023-10-13	12:39:34	1141	[DEBUG]	Load a row
2023-10-13	12:39:34	1141	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:34	1141	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:34	1141	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:34	1141	[DEBUG]	Executed store
2023-10-13	12:39:34	1141	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:34	1141	[DEBUG]	Manufacturer exists
2023-10-13	12:39:34	1141	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:39:34	1141	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:34	1141	[DEBUG]	Executed store
2023-10-13	12:39:34	1141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860633','123')
2023-10-13	12:39:34	1141	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:34	1141	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:34	1141	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860633 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:34	1141	[DEBUG]	Store custom available field
2023-10-13	12:39:34	1141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860633,3,'',1)
2023-10-13	12:39:34	1141	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:34	1141	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:39:34	1141	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860633 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:34	1141	[DEBUG]	Store custom available field
2023-10-13	12:39:34	1141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860633,6,'All',3)
2023-10-13	12:39:34	1141	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:34	1141	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:34	1141	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860632
2023-10-13	12:39:34	1141	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:34	1141	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860632\":[1860632,8,1,\"choisir la taille\"],\"1860633\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860632
2023-10-13	12:39:34	1141	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:34	1141	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860633
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:34	1142	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field taille
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:34	1142	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:34	1142	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:34	1142	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:34	1142	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:34	1142	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:34	1142	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field published
2023-10-13	12:39:34	1142	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:34	1142	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field override
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:34	1142	[DEBUG]	Use field value for field slug
2023-10-13	12:39:34	1142	[DEBUG]	Process line 1142
2023-10-13	12:39:34	1142	[DEBUG]	Load a row
2023-10-13	12:39:34	1142	[DEBUG]	Processing item: A_5997_208
2023-10-13	12:39:34	1142	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:34	1142	[DEBUG]	Processing product tax
2023-10-13	12:39:34	1142	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:34	1142	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:34	1142	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:34	1142	[DEBUG]	Query for Product
2023-10-13	12:39:34	1142	[DEBUG]	Executed store
2023-10-13	12:39:34	1142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5997_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:34	1142	[DEBUG]	Check product language entry
2023-10-13	12:39:34	1142	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860634
2023-10-13	12:39:34	1142	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:34	1142	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5997_208' AND `virtuemart_product_id` != 1860634
2023-10-13	12:39:34	1142	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:34	1142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860634, 'A_5997_208')
2023-10-13	12:39:34	1142	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:34	1142	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-hg71-7-8-vitesses-116-maillons-aucune' AND `virtuemart_product_id` != 1860634
2023-10-13	12:39:34	1142	[DEBUG]	Query for ProductLang
2023-10-13	12:39:34	1142	[DEBUG]	Executed store
2023-10-13	12:39:34	1142	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.65937',`product_name`='SHIMANO Chaîne CN-HG71 7/8-vitesses 116 maillons  / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-hg71-7-8-vitesses-116-maillons-aucune' WHERE `virtuemart_product_id` = '1860634'
2023-10-13	12:39:34	1142	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31599_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_.jpg
2023-10-13	12:39:34	1142	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:34	1142	[DEBUG]	Process image file
2023-10-13	12:39:34	1142	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:34	1142	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:34	1142	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31599_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_.jpg
2023-10-13	12:39:34	1142	[DEBUG]	Full name target: bcprisme/31599_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_.jpg
2023-10-13	12:39:35	1142	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:35	1142	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31599_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_.jpg'
2023-10-13	12:39:35	1142	[DEBUG]	Query for Media
2023-10-13	12:39:35	1142	[DEBUG]	Executed store
2023-10-13	12:39:35	1142	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31599_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_.jpg',`file_url_thumb`='bcprisme/31599_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12568'
2023-10-13	12:39:35	1142	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:35	1142	[DEBUG]	Executed store
2023-10-13	12:39:35	1142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860634','12568','1')
2023-10-13	12:39:35	1142	[DEBUG]	Store product image relation
2023-10-13	12:39:35	1142	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:35	1142	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860634 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:35	1142	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:35	1142	[DEBUG]	Executed store
2023-10-13	12:39:35	1142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860634','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:35	1142	[DEBUG]	Checking manufacturer
2023-10-13	12:39:35	1142	[DEBUG]	Load a row
2023-10-13	12:39:35	1142	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:35	1142	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:35	1142	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:35	1142	[DEBUG]	Executed store
2023-10-13	12:39:35	1142	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:35	1142	[DEBUG]	Manufacturer exists
2023-10-13	12:39:35	1142	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:39:35	1142	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:35	1142	[DEBUG]	Executed store
2023-10-13	12:39:35	1142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860634','123')
2023-10-13	12:39:35	1142	[DEBUG]	Find the custom field ID
2023-10-13	12:39:35	1142	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:35	1142	[DEBUG]	No custom field ID found
2023-10-13	12:39:35	1142	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:35	1142	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:35	1142	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860634 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:35	1142	[DEBUG]	Store custom available field
2023-10-13	12:39:35	1142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860634,3,'0',1)
2023-10-13	12:39:35	1142	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:35	1142	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:35	1142	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860634 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:35	1142	[DEBUG]	Store custom available field
2023-10-13	12:39:35	1142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860634,6,'choisir la taille',3)
2023-10-13	12:39:35	1142	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:35	1142	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:35	1142	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:35	1142	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:35	1142	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860634 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:35	1142	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:35	1142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860634,8,1)
2023-10-13	12:39:35	1142	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:35	1142	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860634\":[1860634,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860634
2023-10-13	12:39:35	1142	[DEBUG]	Checking category
2023-10-13	12:39:35	1142	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:35	1142	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860634
2023-10-13	12:39:35	1142	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:35	1142	[DEBUG]	Executed store
2023-10-13	12:39:35	1142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860634','7288')
2023-10-13	12:39:35	1142	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:35	1142	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860634 AND `virtuemart_category_id` NOT IN (7288)
2023-10-13	12:39:35	1142	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:35	1142	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860634
2023-10-13	12:39:35	1143	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:35	1143	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:35	1143	[DEBUG]	Use field value for field taille
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:35	1143	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:35	1143	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:35	1143	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:35	1143	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:35	1143	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:35	1143	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:35	1143	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:35	1143	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:35	1143	[DEBUG]	Use field value for field published
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:35	1143	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field override
2023-10-13	12:39:35	1143	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:35	1143	[DEBUG]	Use field value for field slug
2023-10-13	12:39:35	1143	[DEBUG]	Process line 1143
2023-10-13	12:39:35	1143	[DEBUG]	Load a row
2023-10-13	12:39:35	1143	[DEBUG]	Processing item: 4524667874942
2023-10-13	12:39:35	1143	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:35	1143	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:35	1143	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5997_208'
2023-10-13	12:39:35	1143	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:35	1143	[DEBUG]	Processing product tax
2023-10-13	12:39:35	1143	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:35	1143	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:35	1143	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:35	1143	[DEBUG]	Query for Product
2023-10-13	12:39:35	1143	[DEBUG]	Executed store
2023-10-13	12:39:35	1143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860634','4524667874942','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:35	1143	[DEBUG]	No parent found
2023-10-13	12:39:35	1143	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860634 AND customfield_value = 'stockable'
2023-10-13	12:39:35	1143	[DEBUG]	Check product language entry
2023-10-13	12:39:35	1143	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860635
2023-10-13	12:39:35	1143	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:35	1143	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667874942' AND `virtuemart_product_id` != 1860635
2023-10-13	12:39:35	1143	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:35	1143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860635, '4524667874942')
2023-10-13	12:39:35	1143	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:35	1143	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-hg71-7-8-vitesses-116-maillons-aucune-all' AND `virtuemart_product_id` != 1860635
2023-10-13	12:39:35	1143	[DEBUG]	Query for ProductLang
2023-10-13	12:39:35	1143	[DEBUG]	Executed store
2023-10-13	12:39:35	1143	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne CN-HG71 7/8-vitesses 116 maillons  / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-hg71-7-8-vitesses-116-maillons-aucune-all' WHERE `virtuemart_product_id` = '1860635'
2023-10-13	12:39:35	1143	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31599_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_.jpg
2023-10-13	12:39:35	1143	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:35	1143	[DEBUG]	Process image file
2023-10-13	12:39:35	1143	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:35	1143	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:35	1143	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31599_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_.jpg
2023-10-13	12:39:35	1143	[DEBUG]	Full name target: bcprisme/31599_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_.jpg
2023-10-13	12:39:36	1143	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:36	1143	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31599_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_.jpg'
2023-10-13	12:39:36	1143	[DEBUG]	Query for Media
2023-10-13	12:39:36	1143	[DEBUG]	Executed store
2023-10-13	12:39:36	1143	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31599_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_.jpg',`file_url_thumb`='bcprisme/31599_shimano_chaîne_cn-hg71_7-8-vitesses_116_maillons_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12568'
2023-10-13	12:39:36	1143	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:36	1143	[DEBUG]	Executed store
2023-10-13	12:39:36	1143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860635','12568','1')
2023-10-13	12:39:36	1143	[DEBUG]	Store product image relation
2023-10-13	12:39:36	1143	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:36	1143	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860635 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:36	1143	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:36	1143	[DEBUG]	Executed store
2023-10-13	12:39:36	1143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860635','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:36	1143	[DEBUG]	Checking manufacturer
2023-10-13	12:39:36	1143	[DEBUG]	Load a row
2023-10-13	12:39:36	1143	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:36	1143	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:36	1143	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:36	1143	[DEBUG]	Executed store
2023-10-13	12:39:36	1143	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:36	1143	[DEBUG]	Manufacturer exists
2023-10-13	12:39:36	1143	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:39:36	1143	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:36	1143	[DEBUG]	Executed store
2023-10-13	12:39:36	1143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860635','123')
2023-10-13	12:39:36	1143	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:36	1143	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:36	1143	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860635 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:36	1143	[DEBUG]	Store custom available field
2023-10-13	12:39:36	1143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860635,3,'',1)
2023-10-13	12:39:36	1143	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:36	1143	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:39:36	1143	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860635 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:36	1143	[DEBUG]	Store custom available field
2023-10-13	12:39:36	1143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860635,6,'All',3)
2023-10-13	12:39:36	1143	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:36	1143	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:36	1143	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860634
2023-10-13	12:39:36	1143	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:36	1143	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860634\":[1860634,8,1,\"choisir la taille\"],\"1860635\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860634
2023-10-13	12:39:36	1143	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:36	1143	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860635
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:36	1144	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field taille
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:36	1144	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:36	1144	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:36	1144	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:36	1144	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:36	1144	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:36	1144	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field published
2023-10-13	12:39:36	1144	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:36	1144	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field override
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:36	1144	[DEBUG]	Use field value for field slug
2023-10-13	12:39:36	1144	[DEBUG]	Process line 1144
2023-10-13	12:39:36	1144	[DEBUG]	Load a row
2023-10-13	12:39:36	1144	[DEBUG]	Processing item: A_6346_208
2023-10-13	12:39:36	1144	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:36	1144	[DEBUG]	Processing product tax
2023-10-13	12:39:36	1144	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:36	1144	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:36	1144	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:36	1144	[DEBUG]	Query for Product
2023-10-13	12:39:36	1144	[DEBUG]	Executed store
2023-10-13	12:39:36	1144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6346_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:36	1144	[DEBUG]	Check product language entry
2023-10-13	12:39:36	1144	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860636
2023-10-13	12:39:36	1144	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:36	1144	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6346_208' AND `virtuemart_product_id` != 1860636
2023-10-13	12:39:36	1144	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:36	1144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860636, 'A_6346_208')
2023-10-13	12:39:36	1144	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:36	1144	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-rivet-de-chaine-hg-ig-8-vitesses-1-piece-aucune' AND `virtuemart_product_id` != 1860636
2023-10-13	12:39:36	1144	[DEBUG]	Query for ProductLang
2023-10-13	12:39:36	1144	[DEBUG]	Executed store
2023-10-13	12:39:36	1144	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.24952',`product_name`='SHIMANO Rivet de chaîne HG/IG 8-vitesses 1 pièce / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-rivet-de-chaine-hg-ig-8-vitesses-1-piece-aucune' WHERE `virtuemart_product_id` = '1860636'
2023-10-13	12:39:36	1144	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32234_shimano_rivet_de_chaîne_hg-ig_8-vitesses_1_piece.jpg
2023-10-13	12:39:36	1144	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:36	1144	[DEBUG]	Process image file
2023-10-13	12:39:36	1144	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:36	1144	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:36	1144	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32234_shimano_rivet_de_chaîne_hg-ig_8-vitesses_1_piece.jpg
2023-10-13	12:39:36	1144	[DEBUG]	Full name target: bcprisme/32234_shimano_rivet_de_chaîne_hg-ig_8-vitesses_1_piece.jpg
2023-10-13	12:39:37	1144	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:37	1144	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32234_shimano_rivet_de_chaîne_hg-ig_8-vitesses_1_piece.jpg'
2023-10-13	12:39:37	1144	[DEBUG]	Query for Media
2023-10-13	12:39:37	1144	[DEBUG]	Executed store
2023-10-13	12:39:37	1144	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32234_shimano_rivet_de_chaîne_hg-ig_8-vitesses_1_piece.jpg',`file_url_thumb`='bcprisme/32234_shimano_rivet_de_chaîne_hg-ig_8-vitesses_1_piece.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12569'
2023-10-13	12:39:37	1144	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:37	1144	[DEBUG]	Executed store
2023-10-13	12:39:37	1144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860636','12569','1')
2023-10-13	12:39:37	1144	[DEBUG]	Store product image relation
2023-10-13	12:39:37	1144	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:37	1144	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860636 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:37	1144	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:37	1144	[DEBUG]	Executed store
2023-10-13	12:39:37	1144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860636','0','3.11049210770659','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:37	1144	[DEBUG]	Checking manufacturer
2023-10-13	12:39:37	1144	[DEBUG]	Load a row
2023-10-13	12:39:37	1144	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:37	1144	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:37	1144	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:37	1144	[DEBUG]	Executed store
2023-10-13	12:39:37	1144	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:37	1144	[DEBUG]	Manufacturer exists
2023-10-13	12:39:37	1144	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:39:37	1144	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:37	1144	[DEBUG]	Executed store
2023-10-13	12:39:37	1144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860636','123')
2023-10-13	12:39:37	1144	[DEBUG]	Find the custom field ID
2023-10-13	12:39:37	1144	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:37	1144	[DEBUG]	No custom field ID found
2023-10-13	12:39:37	1144	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:37	1144	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:37	1144	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860636 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:37	1144	[DEBUG]	Store custom available field
2023-10-13	12:39:37	1144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860636,3,'0',1)
2023-10-13	12:39:37	1144	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:37	1144	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:37	1144	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860636 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:37	1144	[DEBUG]	Store custom available field
2023-10-13	12:39:37	1144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860636,6,'choisir la taille',3)
2023-10-13	12:39:37	1144	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:37	1144	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:37	1144	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:37	1144	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:37	1144	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860636 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:37	1144	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:37	1144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860636,8,1)
2023-10-13	12:39:37	1144	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:37	1144	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860636\":[1860636,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860636
2023-10-13	12:39:37	1144	[DEBUG]	Checking category
2023-10-13	12:39:37	1144	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:37	1144	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860636
2023-10-13	12:39:37	1144	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:37	1144	[DEBUG]	Executed store
2023-10-13	12:39:37	1144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860636','7288')
2023-10-13	12:39:37	1144	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:37	1144	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860636 AND `virtuemart_category_id` NOT IN (7288)
2023-10-13	12:39:37	1144	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:37	1144	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860636
2023-10-13	12:39:37	1145	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:37	1145	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:37	1145	[DEBUG]	Use field value for field taille
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:37	1145	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:37	1145	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:37	1145	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:37	1145	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:37	1145	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:37	1145	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:37	1145	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:37	1145	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:37	1145	[DEBUG]	Use field value for field published
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:37	1145	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field override
2023-10-13	12:39:37	1145	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:37	1145	[DEBUG]	Use field value for field slug
2023-10-13	12:39:37	1145	[DEBUG]	Process line 1145
2023-10-13	12:39:37	1145	[DEBUG]	Load a row
2023-10-13	12:39:37	1145	[DEBUG]	Processing item: 4524667000693
2023-10-13	12:39:37	1145	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:37	1145	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:37	1145	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6346_208'
2023-10-13	12:39:37	1145	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:37	1145	[DEBUG]	Processing product tax
2023-10-13	12:39:37	1145	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:37	1145	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:37	1145	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:37	1145	[DEBUG]	Query for Product
2023-10-13	12:39:37	1145	[DEBUG]	Executed store
2023-10-13	12:39:37	1145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860636','4524667000693','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:37	1145	[DEBUG]	No parent found
2023-10-13	12:39:37	1145	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860636 AND customfield_value = 'stockable'
2023-10-13	12:39:37	1145	[DEBUG]	Check product language entry
2023-10-13	12:39:37	1145	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860637
2023-10-13	12:39:37	1145	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:37	1145	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667000693' AND `virtuemart_product_id` != 1860637
2023-10-13	12:39:37	1145	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:37	1145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860637, '4524667000693')
2023-10-13	12:39:37	1145	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:37	1145	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-rivet-de-chaine-hg-ig-8-vitesses-1-piece-aucune-all' AND `virtuemart_product_id` != 1860637
2023-10-13	12:39:37	1145	[DEBUG]	Query for ProductLang
2023-10-13	12:39:37	1145	[DEBUG]	Executed store
2023-10-13	12:39:37	1145	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Rivet de chaîne HG/IG 8-vitesses 1 pièce / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-rivet-de-chaine-hg-ig-8-vitesses-1-piece-aucune-all' WHERE `virtuemart_product_id` = '1860637'
2023-10-13	12:39:37	1145	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32234_shimano_rivet_de_chaîne_hg-ig_8-vitesses_1_piece.jpg
2023-10-13	12:39:37	1145	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:37	1145	[DEBUG]	Process image file
2023-10-13	12:39:37	1145	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:39:37	1145	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:37	1145	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32234_shimano_rivet_de_chaîne_hg-ig_8-vitesses_1_piece.jpg
2023-10-13	12:39:37	1145	[DEBUG]	Full name target: bcprisme/32234_shimano_rivet_de_chaîne_hg-ig_8-vitesses_1_piece.jpg
2023-10-13	12:39:38	1145	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:38	1145	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32234_shimano_rivet_de_chaîne_hg-ig_8-vitesses_1_piece.jpg'
2023-10-13	12:39:38	1145	[DEBUG]	Query for Media
2023-10-13	12:39:38	1145	[DEBUG]	Executed store
2023-10-13	12:39:38	1145	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32234_shimano_rivet_de_chaîne_hg-ig_8-vitesses_1_piece.jpg',`file_url_thumb`='bcprisme/32234_shimano_rivet_de_chaîne_hg-ig_8-vitesses_1_piece.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12569'
2023-10-13	12:39:38	1145	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:38	1145	[DEBUG]	Executed store
2023-10-13	12:39:38	1145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860637','12569','1')
2023-10-13	12:39:38	1145	[DEBUG]	Store product image relation
2023-10-13	12:39:38	1145	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:38	1145	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860637 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:38	1145	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:38	1145	[DEBUG]	Executed store
2023-10-13	12:39:38	1145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860637','0','3.11049210770659','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:38	1145	[DEBUG]	Checking manufacturer
2023-10-13	12:39:38	1145	[DEBUG]	Load a row
2023-10-13	12:39:38	1145	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:38	1145	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:38	1145	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:38	1145	[DEBUG]	Executed store
2023-10-13	12:39:38	1145	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:39:38	1145	[DEBUG]	Manufacturer exists
2023-10-13	12:39:38	1145	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:39:38	1145	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:38	1145	[DEBUG]	Executed store
2023-10-13	12:39:38	1145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860637','123')
2023-10-13	12:39:38	1145	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:38	1145	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:38	1145	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860637 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:38	1145	[DEBUG]	Store custom available field
2023-10-13	12:39:38	1145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860637,3,'',1)
2023-10-13	12:39:38	1145	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:38	1145	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:39:38	1145	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860637 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:38	1145	[DEBUG]	Store custom available field
2023-10-13	12:39:38	1145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860637,6,'All',3)
2023-10-13	12:39:38	1145	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:38	1145	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:38	1145	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860636
2023-10-13	12:39:38	1145	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:38	1145	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860636\":[1860636,8,1,\"choisir la taille\"],\"1860637\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860636
2023-10-13	12:39:38	1145	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:38	1145	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860637
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:38	1146	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field taille
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:38	1146	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:38	1146	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:38	1146	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:38	1146	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:38	1146	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:38	1146	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field published
2023-10-13	12:39:38	1146	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:38	1146	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field override
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:38	1146	[DEBUG]	Use field value for field slug
2023-10-13	12:39:38	1146	[DEBUG]	Process line 1146
2023-10-13	12:39:38	1146	[DEBUG]	Load a row
2023-10-13	12:39:38	1146	[DEBUG]	Processing item: A_7361_13
2023-10-13	12:39:38	1146	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:38	1146	[DEBUG]	Processing product tax
2023-10-13	12:39:38	1146	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:38	1146	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:38	1146	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:38	1146	[DEBUG]	Query for Product
2023-10-13	12:39:38	1146	[DEBUG]	Executed store
2023-10-13	12:39:38	1146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7361_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:38	1146	[DEBUG]	Check product language entry
2023-10-13	12:39:38	1146	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860638
2023-10-13	12:39:38	1146	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:38	1146	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7361_13' AND `virtuemart_product_id` != 1860638
2023-10-13	12:39:38	1146	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:38	1146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860638, 'A_7361_13')
2023-10-13	12:39:38	1146	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:38	1146	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-ex1-chaine-pc-ex1-solidpin-144-maillons-powerlock-8-vit-argent' AND `virtuemart_product_id` != 1860638
2023-10-13	12:39:38	1146	[DEBUG]	Query for ProductLang
2023-10-13	12:39:38	1146	[DEBUG]	Executed store
2023-10-13	12:39:38	1146	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7532P',`product_name`='SRAM EX1 CHAÎNE PC EX1 SOLIDPIN 144 MAILLONS POWERLOCK 8-VIT / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-ex1-chaine-pc-ex1-solidpin-144-maillons-powerlock-8-vit-argent' WHERE `virtuemart_product_id` = '1860638'
2023-10-13	12:39:38	1146	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34601_sram_ex1_chaÎne_pc_ex1_solidpin_144_maillons_powerlock_8-vit.jpg
2023-10-13	12:39:38	1146	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:38	1146	[DEBUG]	Process image file
2023-10-13	12:39:38	1146	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:38	1146	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:38	1146	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34601_sram_ex1_chaÎne_pc_ex1_solidpin_144_maillons_powerlock_8-vit.jpg
2023-10-13	12:39:38	1146	[DEBUG]	Full name target: bcprisme/34601_sram_ex1_chaÎne_pc_ex1_solidpin_144_maillons_powerlock_8-vit.jpg
2023-10-13	12:39:39	1146	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:39	1146	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34601_sram_ex1_chaÎne_pc_ex1_solidpin_144_maillons_powerlock_8-vit.jpg'
2023-10-13	12:39:39	1146	[DEBUG]	Query for Media
2023-10-13	12:39:39	1146	[DEBUG]	Executed store
2023-10-13	12:39:39	1146	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34601_sram_ex1_chaÎne_pc_ex1_solidpin_144_maillons_powerlock_8-vit.jpg',`file_url_thumb`='bcprisme/34601_sram_ex1_chaÎne_pc_ex1_solidpin_144_maillons_powerlock_8-vit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '163658'
2023-10-13	12:39:39	1146	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:39	1146	[DEBUG]	Executed store
2023-10-13	12:39:39	1146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860638','163658','1')
2023-10-13	12:39:39	1146	[DEBUG]	Store product image relation
2023-10-13	12:39:39	1146	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:39	1146	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860638 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:39	1146	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:39	1146	[DEBUG]	Executed store
2023-10-13	12:39:39	1146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860638','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:39	1146	[DEBUG]	Checking manufacturer
2023-10-13	12:39:39	1146	[DEBUG]	Load a row
2023-10-13	12:39:39	1146	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:39	1146	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:39	1146	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:39	1146	[DEBUG]	Executed store
2023-10-13	12:39:39	1146	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:39	1146	[DEBUG]	Manufacturer exists
2023-10-13	12:39:39	1146	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:39	1146	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:39	1146	[DEBUG]	Executed store
2023-10-13	12:39:39	1146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860638','35')
2023-10-13	12:39:39	1146	[DEBUG]	Find the custom field ID
2023-10-13	12:39:39	1146	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:39	1146	[DEBUG]	No custom field ID found
2023-10-13	12:39:39	1146	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:39	1146	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:39	1146	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860638 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:39	1146	[DEBUG]	Store custom available field
2023-10-13	12:39:39	1146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860638,3,'0',1)
2023-10-13	12:39:39	1146	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:39	1146	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:39	1146	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860638 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:39	1146	[DEBUG]	Store custom available field
2023-10-13	12:39:39	1146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860638,6,'choisir la taille',3)
2023-10-13	12:39:39	1146	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:39	1146	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:39	1146	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:39	1146	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:39	1146	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860638 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:39	1146	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:39	1146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860638,8,1)
2023-10-13	12:39:39	1146	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:39	1146	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860638\":[1860638,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860638
2023-10-13	12:39:39	1146	[DEBUG]	Checking category
2023-10-13	12:39:39	1146	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:39	1146	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860638
2023-10-13	12:39:39	1146	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:39	1146	[DEBUG]	Executed store
2023-10-13	12:39:39	1146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860638','7288')
2023-10-13	12:39:39	1146	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:39	1146	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860638 AND `virtuemart_category_id` NOT IN (7288)
2023-10-13	12:39:39	1146	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:39	1146	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860638
2023-10-13	12:39:39	1147	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:39	1147	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:39	1147	[DEBUG]	Use field value for field taille
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:39	1147	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:39	1147	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:39	1147	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:39	1147	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:39	1147	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:39	1147	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:39	1147	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:39	1147	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:39	1147	[DEBUG]	Use field value for field published
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:39	1147	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field override
2023-10-13	12:39:39	1147	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:39	1147	[DEBUG]	Use field value for field slug
2023-10-13	12:39:39	1147	[DEBUG]	Process line 1147
2023-10-13	12:39:39	1147	[DEBUG]	Load a row
2023-10-13	12:39:39	1147	[DEBUG]	Processing item: 710845794773
2023-10-13	12:39:39	1147	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:39	1147	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:39	1147	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7361_13'
2023-10-13	12:39:39	1147	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:39	1147	[DEBUG]	Processing product tax
2023-10-13	12:39:39	1147	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:39	1147	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:39	1147	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:39	1147	[DEBUG]	Query for Product
2023-10-13	12:39:39	1147	[DEBUG]	Executed store
2023-10-13	12:39:39	1147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860638','710845794773','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:39	1147	[DEBUG]	No parent found
2023-10-13	12:39:39	1147	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860638 AND customfield_value = 'stockable'
2023-10-13	12:39:39	1147	[DEBUG]	Check product language entry
2023-10-13	12:39:39	1147	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860639
2023-10-13	12:39:39	1147	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:39	1147	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845794773' AND `virtuemart_product_id` != 1860639
2023-10-13	12:39:39	1147	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:39	1147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860639, '710845794773')
2023-10-13	12:39:39	1147	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:39	1147	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-ex1-chaine-pc-ex1-solidpin-144-maillons-powerlock-8-vit-argent-all' AND `virtuemart_product_id` != 1860639
2023-10-13	12:39:39	1147	[DEBUG]	Query for ProductLang
2023-10-13	12:39:39	1147	[DEBUG]	Executed store
2023-10-13	12:39:39	1147	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM EX1 CHAÎNE PC EX1 SOLIDPIN 144 MAILLONS POWERLOCK 8-VIT / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-ex1-chaine-pc-ex1-solidpin-144-maillons-powerlock-8-vit-argent-all' WHERE `virtuemart_product_id` = '1860639'
2023-10-13	12:39:39	1147	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34601_sram_ex1_chaÎne_pc_ex1_solidpin_144_maillons_powerlock_8-vit.jpg
2023-10-13	12:39:39	1147	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:39	1147	[DEBUG]	Process image file
2023-10-13	12:39:39	1147	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:39	1147	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:39	1147	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34601_sram_ex1_chaÎne_pc_ex1_solidpin_144_maillons_powerlock_8-vit.jpg
2023-10-13	12:39:39	1147	[DEBUG]	Full name target: bcprisme/34601_sram_ex1_chaÎne_pc_ex1_solidpin_144_maillons_powerlock_8-vit.jpg
2023-10-13	12:39:40	1147	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:40	1147	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34601_sram_ex1_chaÎne_pc_ex1_solidpin_144_maillons_powerlock_8-vit.jpg'
2023-10-13	12:39:40	1147	[DEBUG]	Query for Media
2023-10-13	12:39:40	1147	[DEBUG]	Executed store
2023-10-13	12:39:40	1147	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34601_sram_ex1_chaÎne_pc_ex1_solidpin_144_maillons_powerlock_8-vit.jpg',`file_url_thumb`='bcprisme/34601_sram_ex1_chaÎne_pc_ex1_solidpin_144_maillons_powerlock_8-vit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '163658'
2023-10-13	12:39:40	1147	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:40	1147	[DEBUG]	Executed store
2023-10-13	12:39:40	1147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860639','163658','1')
2023-10-13	12:39:40	1147	[DEBUG]	Store product image relation
2023-10-13	12:39:40	1147	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:40	1147	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860639 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:40	1147	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:40	1147	[DEBUG]	Executed store
2023-10-13	12:39:40	1147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860639','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:40	1147	[DEBUG]	Checking manufacturer
2023-10-13	12:39:40	1147	[DEBUG]	Load a row
2023-10-13	12:39:40	1147	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:40	1147	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:40	1147	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:40	1147	[DEBUG]	Executed store
2023-10-13	12:39:40	1147	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:40	1147	[DEBUG]	Manufacturer exists
2023-10-13	12:39:40	1147	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:40	1147	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:40	1147	[DEBUG]	Executed store
2023-10-13	12:39:40	1147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860639','35')
2023-10-13	12:39:40	1147	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:40	1147	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:40	1147	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860639 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:40	1147	[DEBUG]	Store custom available field
2023-10-13	12:39:40	1147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860639,3,'',1)
2023-10-13	12:39:40	1147	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:40	1147	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:39:40	1147	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860639 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:40	1147	[DEBUG]	Store custom available field
2023-10-13	12:39:40	1147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860639,6,'All',3)
2023-10-13	12:39:40	1147	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:40	1147	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:40	1147	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860638
2023-10-13	12:39:40	1147	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:40	1147	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860638\":[1860638,8,1,\"choisir la taille\"],\"1860639\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860638
2023-10-13	12:39:40	1147	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:40	1147	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860639
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:40	1148	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field taille
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:40	1148	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:40	1148	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:40	1148	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:40	1148	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:40	1148	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:40	1148	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field published
2023-10-13	12:39:40	1148	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:40	1148	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field override
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:40	1148	[DEBUG]	Use field value for field slug
2023-10-13	12:39:40	1148	[DEBUG]	Process line 1148
2023-10-13	12:39:40	1148	[DEBUG]	Load a row
2023-10-13	12:39:40	1148	[DEBUG]	Processing item: A_8182_13
2023-10-13	12:39:40	1148	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:40	1148	[DEBUG]	Processing product tax
2023-10-13	12:39:40	1148	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:40	1148	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:40	1148	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:40	1148	[DEBUG]	Query for Product
2023-10-13	12:39:40	1148	[DEBUG]	Executed store
2023-10-13	12:39:40	1148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8182_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:40	1148	[DEBUG]	Check product language entry
2023-10-13	12:39:40	1148	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860640
2023-10-13	12:39:40	1148	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:40	1148	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8182_13' AND `virtuemart_product_id` != 1860640
2023-10-13	12:39:40	1148	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:40	1148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860640, 'A_8182_13')
2023-10-13	12:39:40	1148	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:40	1148	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-power-link-ii-pour-chaines-8-vitesses-1-unite-argent' AND `virtuemart_product_id` != 1860640
2023-10-13	12:39:40	1148	[DEBUG]	Query for ProductLang
2023-10-13	12:39:40	1148	[DEBUG]	Executed store
2023-10-13	12:39:40	1148	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D3696',`product_name`='SRAM POWER LINK II POUR CHAINES 8-VITESSES, 1 UNITE / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-power-link-ii-pour-chaines-8-vitesses-1-unite-argent' WHERE `virtuemart_product_id` = '1860640'
2023-10-13	12:39:40	1148	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36754_power_link_ii_pour_chaines_8-vit.jpg
2023-10-13	12:39:40	1148	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:40	1148	[DEBUG]	Process image file
2023-10-13	12:39:40	1148	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:40	1148	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:40	1148	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36754_power_link_ii_pour_chaines_8-vit.jpg
2023-10-13	12:39:40	1148	[DEBUG]	Full name target: bcprisme/36754_power_link_ii_pour_chaines_8-vit.jpg
2023-10-13	12:39:41	1148	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:41	1148	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36754_power_link_ii_pour_chaines_8-vit.jpg'
2023-10-13	12:39:41	1148	[DEBUG]	Query for Media
2023-10-13	12:39:41	1148	[DEBUG]	Executed store
2023-10-13	12:39:41	1148	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36754_power_link_ii_pour_chaines_8-vit.jpg',`file_url_thumb`='bcprisme/36754_power_link_ii_pour_chaines_8-vit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '695205'
2023-10-13	12:39:41	1148	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:41	1148	[DEBUG]	Executed store
2023-10-13	12:39:41	1148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860640','695205','1')
2023-10-13	12:39:41	1148	[DEBUG]	Store product image relation
2023-10-13	12:39:41	1148	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:41	1148	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860640 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:41	1148	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:41	1148	[DEBUG]	Executed store
2023-10-13	12:39:41	1148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860640','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:41	1148	[DEBUG]	Checking manufacturer
2023-10-13	12:39:41	1148	[DEBUG]	Load a row
2023-10-13	12:39:41	1148	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:41	1148	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:41	1148	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:41	1148	[DEBUG]	Executed store
2023-10-13	12:39:41	1148	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:41	1148	[DEBUG]	Manufacturer exists
2023-10-13	12:39:41	1148	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:41	1148	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:41	1148	[DEBUG]	Executed store
2023-10-13	12:39:41	1148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860640','35')
2023-10-13	12:39:41	1148	[DEBUG]	Find the custom field ID
2023-10-13	12:39:41	1148	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:41	1148	[DEBUG]	No custom field ID found
2023-10-13	12:39:41	1148	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:41	1148	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:41	1148	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860640 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:41	1148	[DEBUG]	Store custom available field
2023-10-13	12:39:41	1148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860640,3,'0',1)
2023-10-13	12:39:41	1148	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:41	1148	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:41	1148	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860640 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:41	1148	[DEBUG]	Store custom available field
2023-10-13	12:39:41	1148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860640,6,'choisir la taille',3)
2023-10-13	12:39:41	1148	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:41	1148	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:41	1148	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:41	1148	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:41	1148	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860640 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:41	1148	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:41	1148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860640,8,1)
2023-10-13	12:39:41	1148	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:41	1148	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860640\":[1860640,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860640
2023-10-13	12:39:41	1148	[DEBUG]	Checking category
2023-10-13	12:39:41	1148	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:41	1148	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860640
2023-10-13	12:39:41	1148	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:41	1148	[DEBUG]	Executed store
2023-10-13	12:39:41	1148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860640','7288')
2023-10-13	12:39:41	1148	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:41	1148	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860640 AND `virtuemart_category_id` NOT IN (7288)
2023-10-13	12:39:41	1148	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:41	1148	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860640
2023-10-13	12:39:41	1149	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:41	1149	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:41	1149	[DEBUG]	Use field value for field taille
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:41	1149	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:41	1149	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:41	1149	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:41	1149	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:41	1149	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:41	1149	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:41	1149	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:41	1149	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:41	1149	[DEBUG]	Use field value for field published
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:41	1149	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field override
2023-10-13	12:39:41	1149	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:41	1149	[DEBUG]	Use field value for field slug
2023-10-13	12:39:41	1149	[DEBUG]	Process line 1149
2023-10-13	12:39:41	1149	[DEBUG]	Load a row
2023-10-13	12:39:41	1149	[DEBUG]	Processing item: 1000000145953
2023-10-13	12:39:41	1149	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:41	1149	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:41	1149	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8182_13'
2023-10-13	12:39:41	1149	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:41	1149	[DEBUG]	Processing product tax
2023-10-13	12:39:41	1149	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:41	1149	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:41	1149	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:41	1149	[DEBUG]	Query for Product
2023-10-13	12:39:41	1149	[DEBUG]	Executed store
2023-10-13	12:39:41	1149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860640','1000000145953','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:41	1149	[DEBUG]	No parent found
2023-10-13	12:39:41	1149	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860640 AND customfield_value = 'stockable'
2023-10-13	12:39:41	1149	[DEBUG]	Check product language entry
2023-10-13	12:39:41	1149	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860641
2023-10-13	12:39:41	1149	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:41	1149	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000145953' AND `virtuemart_product_id` != 1860641
2023-10-13	12:39:41	1149	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:41	1149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860641, '1000000145953')
2023-10-13	12:39:41	1149	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:41	1149	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-power-link-ii-pour-chaines-8-vitesses-1-unite-argent-all' AND `virtuemart_product_id` != 1860641
2023-10-13	12:39:41	1149	[DEBUG]	Query for ProductLang
2023-10-13	12:39:41	1149	[DEBUG]	Executed store
2023-10-13	12:39:41	1149	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM POWER LINK II POUR CHAINES 8-VITESSES, 1 UNITE / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-power-link-ii-pour-chaines-8-vitesses-1-unite-argent-all' WHERE `virtuemart_product_id` = '1860641'
2023-10-13	12:39:41	1149	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36754_power_link_ii_pour_chaines_8-vit.jpg
2023-10-13	12:39:41	1149	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:41	1149	[DEBUG]	Process image file
2023-10-13	12:39:41	1149	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:41	1149	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:41	1149	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36754_power_link_ii_pour_chaines_8-vit.jpg
2023-10-13	12:39:41	1149	[DEBUG]	Full name target: bcprisme/36754_power_link_ii_pour_chaines_8-vit.jpg
2023-10-13	12:39:42	1149	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:42	1149	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36754_power_link_ii_pour_chaines_8-vit.jpg'
2023-10-13	12:39:42	1149	[DEBUG]	Query for Media
2023-10-13	12:39:42	1149	[DEBUG]	Executed store
2023-10-13	12:39:42	1149	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36754_power_link_ii_pour_chaines_8-vit.jpg',`file_url_thumb`='bcprisme/36754_power_link_ii_pour_chaines_8-vit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '695205'
2023-10-13	12:39:42	1149	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:42	1149	[DEBUG]	Executed store
2023-10-13	12:39:42	1149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860641','695205','1')
2023-10-13	12:39:42	1149	[DEBUG]	Store product image relation
2023-10-13	12:39:42	1149	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:42	1149	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860641 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:42	1149	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:42	1149	[DEBUG]	Executed store
2023-10-13	12:39:42	1149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860641','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:42	1149	[DEBUG]	Checking manufacturer
2023-10-13	12:39:42	1149	[DEBUG]	Load a row
2023-10-13	12:39:42	1149	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:42	1149	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:42	1149	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:42	1149	[DEBUG]	Executed store
2023-10-13	12:39:42	1149	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:42	1149	[DEBUG]	Manufacturer exists
2023-10-13	12:39:42	1149	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:42	1149	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:42	1149	[DEBUG]	Executed store
2023-10-13	12:39:42	1149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860641','35')
2023-10-13	12:39:42	1149	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:42	1149	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:42	1149	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860641 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:42	1149	[DEBUG]	Store custom available field
2023-10-13	12:39:42	1149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860641,3,'',1)
2023-10-13	12:39:42	1149	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:42	1149	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:39:42	1149	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860641 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:42	1149	[DEBUG]	Store custom available field
2023-10-13	12:39:42	1149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860641,6,'All',3)
2023-10-13	12:39:42	1149	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:42	1149	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:42	1149	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860640
2023-10-13	12:39:42	1149	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:42	1149	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860640\":[1860640,8,1,\"choisir la taille\"],\"1860641\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860640
2023-10-13	12:39:42	1149	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:42	1149	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860641
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:42	1150	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field taille
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:42	1150	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:42	1150	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:42	1150	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:42	1150	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:42	1150	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:42	1150	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field published
2023-10-13	12:39:42	1150	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:42	1150	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field override
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:42	1150	[DEBUG]	Use field value for field slug
2023-10-13	12:39:42	1150	[DEBUG]	Process line 1150
2023-10-13	12:39:42	1150	[DEBUG]	Load a row
2023-10-13	12:39:42	1150	[DEBUG]	Processing item: A_9187_38
2023-10-13	12:39:42	1150	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:42	1150	[DEBUG]	Processing product tax
2023-10-13	12:39:42	1150	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:42	1150	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:42	1150	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:42	1150	[DEBUG]	Query for Product
2023-10-13	12:39:42	1150	[DEBUG]	Executed store
2023-10-13	12:39:42	1150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9187_38','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:42	1150	[DEBUG]	Check product language entry
2023-10-13	12:39:42	1150	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860642
2023-10-13	12:39:42	1150	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:42	1150	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9187_38' AND `virtuemart_product_id` != 1860642
2023-10-13	12:39:42	1150	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:42	1150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860642, 'A_9187_38')
2023-10-13	12:39:42	1150	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:42	1150	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chain-connector-power-link-8sp-1pcs-one-size-silver' AND `virtuemart_product_id` != 1860642
2023-10-13	12:39:42	1150	[DEBUG]	Query for ProductLang
2023-10-13	12:39:42	1150	[DEBUG]	Executed store
2023-10-13	12:39:42	1150	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820111000000058000',`product_name`='SRAM Chain Connector Power Link 8SP 1PCS one size / Silver',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chain-connector-power-link-8sp-1pcs-one-size-silver' WHERE `virtuemart_product_id` = '1860642'
2023-10-13	12:39:42	1150	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38256_chain_connector_power_link_8sp_4pcs_one_size.jpg
2023-10-13	12:39:42	1150	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:42	1150	[DEBUG]	Process image file
2023-10-13	12:39:42	1150	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:42	1150	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:42	1150	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38256_chain_connector_power_link_8sp_4pcs_one_size.jpg
2023-10-13	12:39:42	1150	[DEBUG]	Full name target: bcprisme/38256_chain_connector_power_link_8sp_4pcs_one_size.jpg
2023-10-13	12:39:43	1150	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:43	1150	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38256_chain_connector_power_link_8sp_4pcs_one_size.jpg'
2023-10-13	12:39:43	1150	[DEBUG]	Query for Media
2023-10-13	12:39:43	1150	[DEBUG]	Executed store
2023-10-13	12:39:43	1150	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38256_chain_connector_power_link_8sp_4pcs_one_size.jpg',`file_url_thumb`='bcprisme/38256_chain_connector_power_link_8sp_4pcs_one_size.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410440'
2023-10-13	12:39:43	1150	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:43	1150	[DEBUG]	Executed store
2023-10-13	12:39:43	1150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860642','1410440','1')
2023-10-13	12:39:43	1150	[DEBUG]	Store product image relation
2023-10-13	12:39:43	1150	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:43	1150	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860642 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:43	1150	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:43	1150	[DEBUG]	Executed store
2023-10-13	12:39:43	1150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860642','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:43	1150	[DEBUG]	Checking manufacturer
2023-10-13	12:39:43	1150	[DEBUG]	Load a row
2023-10-13	12:39:43	1150	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:43	1150	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:43	1150	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:43	1150	[DEBUG]	Executed store
2023-10-13	12:39:43	1150	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:43	1150	[DEBUG]	Manufacturer exists
2023-10-13	12:39:43	1150	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:43	1150	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:43	1150	[DEBUG]	Executed store
2023-10-13	12:39:43	1150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860642','35')
2023-10-13	12:39:43	1150	[DEBUG]	Find the custom field ID
2023-10-13	12:39:43	1150	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:43	1150	[DEBUG]	No custom field ID found
2023-10-13	12:39:43	1150	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:43	1150	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:43	1150	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860642 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:43	1150	[DEBUG]	Store custom available field
2023-10-13	12:39:43	1150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860642,3,'0',1)
2023-10-13	12:39:43	1150	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:43	1150	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:43	1150	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860642 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:43	1150	[DEBUG]	Store custom available field
2023-10-13	12:39:43	1150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860642,6,'choisir la taille',3)
2023-10-13	12:39:43	1150	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:43	1150	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:43	1150	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:43	1150	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:43	1150	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860642 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:43	1150	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:43	1150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860642,8,1)
2023-10-13	12:39:43	1150	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:43	1150	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860642\":[1860642,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860642
2023-10-13	12:39:43	1150	[DEBUG]	Checking category
2023-10-13	12:39:43	1150	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:43	1150	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860642
2023-10-13	12:39:43	1150	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:43	1150	[DEBUG]	Executed store
2023-10-13	12:39:43	1150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860642','7288')
2023-10-13	12:39:43	1150	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:43	1150	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860642 AND `virtuemart_category_id` NOT IN (7288)
2023-10-13	12:39:43	1150	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:43	1150	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860642
2023-10-13	12:39:43	1151	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:43	1151	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:43	1151	[DEBUG]	Use field value for field taille
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:43	1151	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:43	1151	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:43	1151	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:43	1151	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:43	1151	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:43	1151	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:43	1151	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:43	1151	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:43	1151	[DEBUG]	Use field value for field published
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:43	1151	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field override
2023-10-13	12:39:43	1151	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:43	1151	[DEBUG]	Use field value for field slug
2023-10-13	12:39:43	1151	[DEBUG]	Process line 1151
2023-10-13	12:39:43	1151	[DEBUG]	Load a row
2023-10-13	12:39:43	1151	[DEBUG]	Processing item: 710845007507
2023-10-13	12:39:43	1151	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:43	1151	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:43	1151	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9187_38'
2023-10-13	12:39:43	1151	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:43	1151	[DEBUG]	Processing product tax
2023-10-13	12:39:43	1151	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:43	1151	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:43	1151	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:43	1151	[DEBUG]	Query for Product
2023-10-13	12:39:43	1151	[DEBUG]	Executed store
2023-10-13	12:39:43	1151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860642','710845007507','0','KG','M','','15','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:43	1151	[DEBUG]	No parent found
2023-10-13	12:39:43	1151	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860642 AND customfield_value = 'stockable'
2023-10-13	12:39:43	1151	[DEBUG]	Check product language entry
2023-10-13	12:39:43	1151	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860643
2023-10-13	12:39:43	1151	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:43	1151	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845007507' AND `virtuemart_product_id` != 1860643
2023-10-13	12:39:43	1151	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:43	1151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860643, '710845007507')
2023-10-13	12:39:43	1151	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:43	1151	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chain-connector-power-link-8sp-1pcs-one-size-silver-unitaire' AND `virtuemart_product_id` != 1860643
2023-10-13	12:39:43	1151	[DEBUG]	Query for ProductLang
2023-10-13	12:39:43	1151	[DEBUG]	Executed store
2023-10-13	12:39:43	1151	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chain Connector Power Link 8SP 1PCS one size / Silver (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chain-connector-power-link-8sp-1pcs-one-size-silver-unitaire' WHERE `virtuemart_product_id` = '1860643'
2023-10-13	12:39:43	1151	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38256_chain_connector_power_link_8sp_4pcs_one_size.jpg
2023-10-13	12:39:43	1151	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:43	1151	[DEBUG]	Process image file
2023-10-13	12:39:43	1151	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:43	1151	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:43	1151	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38256_chain_connector_power_link_8sp_4pcs_one_size.jpg
2023-10-13	12:39:43	1151	[DEBUG]	Full name target: bcprisme/38256_chain_connector_power_link_8sp_4pcs_one_size.jpg
2023-10-13	12:39:44	1151	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:44	1151	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38256_chain_connector_power_link_8sp_4pcs_one_size.jpg'
2023-10-13	12:39:44	1151	[DEBUG]	Query for Media
2023-10-13	12:39:44	1151	[DEBUG]	Executed store
2023-10-13	12:39:44	1151	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38256_chain_connector_power_link_8sp_4pcs_one_size.jpg',`file_url_thumb`='bcprisme/38256_chain_connector_power_link_8sp_4pcs_one_size.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410440'
2023-10-13	12:39:44	1151	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:44	1151	[DEBUG]	Executed store
2023-10-13	12:39:44	1151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860643','1410440','1')
2023-10-13	12:39:44	1151	[DEBUG]	Store product image relation
2023-10-13	12:39:44	1151	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:44	1151	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860643 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:44	1151	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:44	1151	[DEBUG]	Executed store
2023-10-13	12:39:44	1151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860643','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:44	1151	[DEBUG]	Checking manufacturer
2023-10-13	12:39:44	1151	[DEBUG]	Load a row
2023-10-13	12:39:44	1151	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:44	1151	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:44	1151	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:44	1151	[DEBUG]	Executed store
2023-10-13	12:39:44	1151	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:44	1151	[DEBUG]	Manufacturer exists
2023-10-13	12:39:44	1151	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:44	1151	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:44	1151	[DEBUG]	Executed store
2023-10-13	12:39:44	1151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860643','35')
2023-10-13	12:39:44	1151	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:44	1151	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:44	1151	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860643 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:44	1151	[DEBUG]	Store custom available field
2023-10-13	12:39:44	1151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860643,3,'',1)
2023-10-13	12:39:44	1151	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:44	1151	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:44	1151	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860643 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:44	1151	[DEBUG]	Store custom available field
2023-10-13	12:39:44	1151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860643,6,'Unitaire',3)
2023-10-13	12:39:44	1151	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:44	1151	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:44	1151	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860642
2023-10-13	12:39:44	1151	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:44	1151	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860642\":[1860642,8,1,\"choisir la taille\"],\"1860643\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860642
2023-10-13	12:39:44	1151	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:44	1151	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860643
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:44	1152	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field taille
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:44	1152	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:44	1152	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:44	1152	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:44	1152	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:44	1152	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:44	1152	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field published
2023-10-13	12:39:44	1152	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:44	1152	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field override
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:44	1152	[DEBUG]	Use field value for field slug
2023-10-13	12:39:44	1152	[DEBUG]	Process line 1152
2023-10-13	12:39:44	1152	[DEBUG]	Load a row
2023-10-13	12:39:44	1152	[DEBUG]	Processing item: A_9421_38
2023-10-13	12:39:44	1152	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:44	1152	[DEBUG]	Processing product tax
2023-10-13	12:39:44	1152	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:44	1152	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:44	1152	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:44	1152	[DEBUG]	Query for Product
2023-10-13	12:39:44	1152	[DEBUG]	Executed store
2023-10-13	12:39:44	1152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9421_38','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:44	1152	[DEBUG]	Check product language entry
2023-10-13	12:39:44	1152	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860644
2023-10-13	12:39:44	1152	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:44	1152	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9421_38' AND `virtuemart_product_id` != 1860644
2023-10-13	12:39:44	1152	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:44	1152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860644, 'A_9421_38')
2023-10-13	12:39:44	1152	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:44	1152	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chain-pc-830-7-8sp-130links-one-size-silver' AND `virtuemart_product_id` != 1860644
2023-10-13	12:39:44	1152	[DEBUG]	Query for ProductLang
2023-10-13	12:39:44	1152	[DEBUG]	Executed store
2023-10-13	12:39:44	1152	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820110000000058000',`product_name`='SRAM Chain PC-830 7/8SP 130Links one size / Silver',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chain-pc-830-7-8sp-130links-one-size-silver' WHERE `virtuemart_product_id` = '1860644'
2023-10-13	12:39:44	1152	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38625_chain_pc-830_7-8sp_130links_one_size.jpg
2023-10-13	12:39:44	1152	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:44	1152	[DEBUG]	Process image file
2023-10-13	12:39:44	1152	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:44	1152	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:44	1152	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38625_chain_pc-830_7-8sp_130links_one_size.jpg
2023-10-13	12:39:44	1152	[DEBUG]	Full name target: bcprisme/38625_chain_pc-830_7-8sp_130links_one_size.jpg
2023-10-13	12:39:45	1152	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:45	1152	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38625_chain_pc-830_7-8sp_130links_one_size.jpg'
2023-10-13	12:39:45	1152	[DEBUG]	Query for Media
2023-10-13	12:39:45	1152	[DEBUG]	Executed store
2023-10-13	12:39:45	1152	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38625_chain_pc-830_7-8sp_130links_one_size.jpg',`file_url_thumb`='bcprisme/38625_chain_pc-830_7-8sp_130links_one_size.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410442'
2023-10-13	12:39:45	1152	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:45	1152	[DEBUG]	Executed store
2023-10-13	12:39:45	1152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860644','1410442','1')
2023-10-13	12:39:45	1152	[DEBUG]	Store product image relation
2023-10-13	12:39:45	1152	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:45	1152	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860644 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:45	1152	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:45	1152	[DEBUG]	Executed store
2023-10-13	12:39:45	1152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860644','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:45	1152	[DEBUG]	Checking manufacturer
2023-10-13	12:39:45	1152	[DEBUG]	Load a row
2023-10-13	12:39:45	1152	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:45	1152	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:45	1152	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:45	1152	[DEBUG]	Executed store
2023-10-13	12:39:45	1152	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:45	1152	[DEBUG]	Manufacturer exists
2023-10-13	12:39:45	1152	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:45	1152	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:45	1152	[DEBUG]	Executed store
2023-10-13	12:39:45	1152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860644','35')
2023-10-13	12:39:45	1152	[DEBUG]	Find the custom field ID
2023-10-13	12:39:45	1152	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:45	1152	[DEBUG]	No custom field ID found
2023-10-13	12:39:45	1152	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:45	1152	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:39:45	1152	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860644 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:45	1152	[DEBUG]	Store custom available field
2023-10-13	12:39:45	1152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860644,3,'0',1)
2023-10-13	12:39:45	1152	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:45	1152	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:45	1152	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860644 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:45	1152	[DEBUG]	Store custom available field
2023-10-13	12:39:45	1152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860644,6,'choisir la taille',3)
2023-10-13	12:39:45	1152	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:45	1152	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:45	1152	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:45	1152	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:45	1152	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860644 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:45	1152	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:45	1152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860644,8,1)
2023-10-13	12:39:45	1152	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:45	1152	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860644\":[1860644,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860644
2023-10-13	12:39:45	1152	[DEBUG]	Checking category
2023-10-13	12:39:45	1152	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:45	1152	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860644
2023-10-13	12:39:45	1152	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:45	1152	[DEBUG]	Executed store
2023-10-13	12:39:45	1152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860644','7288')
2023-10-13	12:39:45	1152	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:45	1152	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860644 AND `virtuemart_category_id` NOT IN (7288)
2023-10-13	12:39:45	1152	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:45	1152	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860644
2023-10-13	12:39:45	1153	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:45	1153	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:45	1153	[DEBUG]	Use field value for field taille
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:45	1153	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:45	1153	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:45	1153	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:45	1153	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:45	1153	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:45	1153	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:45	1153	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:45	1153	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:45	1153	[DEBUG]	Use field value for field published
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:45	1153	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field override
2023-10-13	12:39:45	1153	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:45	1153	[DEBUG]	Use field value for field slug
2023-10-13	12:39:45	1153	[DEBUG]	Process line 1153
2023-10-13	12:39:45	1153	[DEBUG]	Load a row
2023-10-13	12:39:45	1153	[DEBUG]	Processing item: 820110000000058000
2023-10-13	12:39:45	1153	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:45	1153	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:45	1153	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9421_38'
2023-10-13	12:39:45	1153	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:45	1153	[DEBUG]	Processing product tax
2023-10-13	12:39:45	1153	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:45	1153	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:45	1153	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:45	1153	[DEBUG]	Query for Product
2023-10-13	12:39:45	1153	[DEBUG]	Executed store
2023-10-13	12:39:45	1153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860644','820110000000058000','0','KG','M','','23','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:45	1153	[DEBUG]	No parent found
2023-10-13	12:39:45	1153	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860644 AND customfield_value = 'stockable'
2023-10-13	12:39:45	1153	[DEBUG]	Check product language entry
2023-10-13	12:39:45	1153	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860645
2023-10-13	12:39:45	1153	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:45	1153	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '820110000000058000' AND `virtuemart_product_id` != 1860645
2023-10-13	12:39:45	1153	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:45	1153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860645, '820110000000058000')
2023-10-13	12:39:45	1153	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:45	1153	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chain-pc-830-7-8sp-130links-one-size-silver-unitaire' AND `virtuemart_product_id` != 1860645
2023-10-13	12:39:45	1153	[DEBUG]	Query for ProductLang
2023-10-13	12:39:45	1153	[DEBUG]	Executed store
2023-10-13	12:39:45	1153	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chain PC-830 7/8SP 130Links one size / Silver (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chain-pc-830-7-8sp-130links-one-size-silver-unitaire' WHERE `virtuemart_product_id` = '1860645'
2023-10-13	12:39:45	1153	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38625_chain_pc-830_7-8sp_130links_one_size.jpg
2023-10-13	12:39:45	1153	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:45	1153	[DEBUG]	Process image file
2023-10-13	12:39:45	1153	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:39:45	1153	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:45	1153	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38625_chain_pc-830_7-8sp_130links_one_size.jpg
2023-10-13	12:39:45	1153	[DEBUG]	Full name target: bcprisme/38625_chain_pc-830_7-8sp_130links_one_size.jpg
2023-10-13	12:39:46	1153	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:46	1153	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38625_chain_pc-830_7-8sp_130links_one_size.jpg'
2023-10-13	12:39:46	1153	[DEBUG]	Query for Media
2023-10-13	12:39:46	1153	[DEBUG]	Executed store
2023-10-13	12:39:46	1153	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38625_chain_pc-830_7-8sp_130links_one_size.jpg',`file_url_thumb`='bcprisme/38625_chain_pc-830_7-8sp_130links_one_size.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410442'
2023-10-13	12:39:46	1153	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:46	1153	[DEBUG]	Executed store
2023-10-13	12:39:46	1153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860645','1410442','1')
2023-10-13	12:39:46	1153	[DEBUG]	Store product image relation
2023-10-13	12:39:46	1153	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:46	1153	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860645 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:46	1153	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:46	1153	[DEBUG]	Executed store
2023-10-13	12:39:46	1153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860645','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:46	1153	[DEBUG]	Checking manufacturer
2023-10-13	12:39:46	1153	[DEBUG]	Load a row
2023-10-13	12:39:46	1153	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:46	1153	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:46	1153	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:46	1153	[DEBUG]	Executed store
2023-10-13	12:39:46	1153	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:39:46	1153	[DEBUG]	Manufacturer exists
2023-10-13	12:39:46	1153	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:39:46	1153	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:46	1153	[DEBUG]	Executed store
2023-10-13	12:39:46	1153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860645','35')
2023-10-13	12:39:46	1153	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:46	1153	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:46	1153	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860645 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:46	1153	[DEBUG]	Store custom available field
2023-10-13	12:39:46	1153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860645,3,'',1)
2023-10-13	12:39:46	1153	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:46	1153	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:46	1153	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860645 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:46	1153	[DEBUG]	Store custom available field
2023-10-13	12:39:46	1153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860645,6,'Unitaire',3)
2023-10-13	12:39:46	1153	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:46	1153	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:46	1153	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860644
2023-10-13	12:39:46	1153	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:46	1153	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860644\":[1860644,8,1,\"choisir la taille\"],\"1860645\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860644
2023-10-13	12:39:46	1153	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:46	1153	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860645
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:46	1154	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field taille
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:46	1154	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:46	1154	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:46	1154	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:46	1154	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:46	1154	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:46	1154	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field published
2023-10-13	12:39:46	1154	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:46	1154	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field override
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:46	1154	[DEBUG]	Use field value for field slug
2023-10-13	12:39:46	1154	[DEBUG]	Process line 1154
2023-10-13	12:39:46	1154	[DEBUG]	Load a row
2023-10-13	12:39:46	1154	[DEBUG]	Processing item: A_632_4
2023-10-13	12:39:46	1154	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:46	1154	[DEBUG]	Processing product tax
2023-10-13	12:39:46	1154	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:46	1154	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:46	1154	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:46	1154	[DEBUG]	Query for Product
2023-10-13	12:39:46	1154	[DEBUG]	Executed store
2023-10-13	12:39:46	1154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_632_4','0.286','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:46	1154	[DEBUG]	Check product language entry
2023-10-13	12:39:46	1154	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860646
2023-10-13	12:39:46	1154	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:46	1154	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_632_4' AND `virtuemart_product_id` != 1860646
2023-10-13	12:39:46	1154	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:46	1154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860646, 'A_632_4')
2023-10-13	12:39:46	1154	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:46	1154	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-ybn-power-chain-9v-112l-7700-286-gr-acier' AND `virtuemart_product_id` != 1860646
2023-10-13	12:39:46	1154	[DEBUG]	Query for ProductLang
2023-10-13	12:39:46	1154	[DEBUG]	Executed store
2023-10-13	12:39:46	1154	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='9 vitesses, 286gr<br>N° art fourn : LG7700',`product_name`='YBN Chaîne YBN Power Chain 9v 112l 7700, 286 gr. / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-ybn-power-chain-9v-112l-7700-286-gr-acier' WHERE `virtuemart_product_id` = '1860646'
2023-10-13	12:39:46	1154	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_778.jpg
2023-10-13	12:39:46	1154	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:39:46	1154	[DEBUG]	Process image file
2023-10-13	12:39:46	1154	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:39:46	1154	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:46	1154	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_778.jpg
2023-10-13	12:39:46	1154	[DEBUG]	Full name target: bcprisme/image_778.jpg
2023-10-13	12:39:47	1154	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:47	1154	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_778.jpg'
2023-10-13	12:39:47	1154	[DEBUG]	Query for Media
2023-10-13	12:39:47	1154	[DEBUG]	Executed store
2023-10-13	12:39:47	1154	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_778.jpg',`file_url_thumb`='bcprisme/image_778.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12570'
2023-10-13	12:39:47	1154	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:47	1154	[DEBUG]	Executed store
2023-10-13	12:39:47	1154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860646','12570','1')
2023-10-13	12:39:47	1154	[DEBUG]	Store product image relation
2023-10-13	12:39:47	1154	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:47	1154	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860646 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:47	1154	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:47	1154	[DEBUG]	Executed store
2023-10-13	12:39:47	1154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860646','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:47	1154	[DEBUG]	Checking manufacturer
2023-10-13	12:39:47	1154	[DEBUG]	Load a row
2023-10-13	12:39:47	1154	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:47	1154	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:47	1154	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:47	1154	[DEBUG]	Executed store
2023-10-13	12:39:47	1154	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:47	1154	[DEBUG]	Manufacturer exists
2023-10-13	12:39:47	1154	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:39:47	1154	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:47	1154	[DEBUG]	Executed store
2023-10-13	12:39:47	1154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860646','216')
2023-10-13	12:39:47	1154	[DEBUG]	Find the custom field ID
2023-10-13	12:39:47	1154	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:47	1154	[DEBUG]	No custom field ID found
2023-10-13	12:39:47	1154	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:47	1154	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	12:39:47	1154	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860646 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:47	1154	[DEBUG]	Store custom available field
2023-10-13	12:39:47	1154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860646,3,'29.8169444444444',1)
2023-10-13	12:39:47	1154	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:47	1154	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:47	1154	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860646 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:47	1154	[DEBUG]	Store custom available field
2023-10-13	12:39:47	1154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860646,6,'choisir la taille',3)
2023-10-13	12:39:47	1154	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:47	1154	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:47	1154	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:47	1154	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:47	1154	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860646 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:47	1154	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:47	1154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860646,8,1)
2023-10-13	12:39:47	1154	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:47	1154	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860646\":[1860646,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860646
2023-10-13	12:39:47	1154	[DEBUG]	Checking category
2023-10-13	12:39:47	1154	[DEBUG]	Check if category path exists: CHAINES 9 VITESSES -  9 FACH KETTEN
2023-10-13	12:39:47	1154	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAINES 9 VITESSES -  9 FACH KETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7284
2023-10-13	12:39:47	1154	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:47	1154	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860646
2023-10-13	12:39:47	1154	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:47	1154	[DEBUG]	Executed store
2023-10-13	12:39:47	1154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860646','7289')
2023-10-13	12:39:47	1154	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:47	1154	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860646 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:39:47	1154	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:47	1154	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860646
2023-10-13	12:39:47	1155	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:47	1155	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:47	1155	[DEBUG]	Use field value for field taille
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:47	1155	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:47	1155	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:47	1155	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:47	1155	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:47	1155	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:47	1155	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:47	1155	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:47	1155	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:47	1155	[DEBUG]	Use field value for field published
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:47	1155	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field override
2023-10-13	12:39:47	1155	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:47	1155	[DEBUG]	Use field value for field slug
2023-10-13	12:39:47	1155	[DEBUG]	Process line 1155
2023-10-13	12:39:47	1155	[DEBUG]	Load a row
2023-10-13	12:39:47	1155	[DEBUG]	Processing item: 8436041139775
2023-10-13	12:39:47	1155	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:47	1155	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:47	1155	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_632_4'
2023-10-13	12:39:47	1155	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:47	1155	[DEBUG]	Processing product tax
2023-10-13	12:39:47	1155	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:47	1155	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:47	1155	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:47	1155	[DEBUG]	Query for Product
2023-10-13	12:39:47	1155	[DEBUG]	Executed store
2023-10-13	12:39:47	1155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860646','8436041139775','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:47	1155	[DEBUG]	No parent found
2023-10-13	12:39:47	1155	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860646 AND customfield_value = 'stockable'
2023-10-13	12:39:47	1155	[DEBUG]	Check product language entry
2023-10-13	12:39:47	1155	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860647
2023-10-13	12:39:47	1155	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:47	1155	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041139775' AND `virtuemart_product_id` != 1860647
2023-10-13	12:39:47	1155	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:47	1155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860647, '8436041139775')
2023-10-13	12:39:47	1155	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:47	1155	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-ybn-power-chain-9v-112l-7700-286-gr-acier-unitaire' AND `virtuemart_product_id` != 1860647
2023-10-13	12:39:47	1155	[DEBUG]	Query for ProductLang
2023-10-13	12:39:47	1155	[DEBUG]	Executed store
2023-10-13	12:39:47	1155	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='YBN Chaîne YBN Power Chain 9v 112l 7700, 286 gr. / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-ybn-power-chain-9v-112l-7700-286-gr-acier-unitaire' WHERE `virtuemart_product_id` = '1860647'
2023-10-13	12:39:47	1155	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_778.jpg
2023-10-13	12:39:47	1155	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:39:47	1155	[DEBUG]	Process image file
2023-10-13	12:39:47	1155	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:39:47	1155	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:47	1155	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_778.jpg
2023-10-13	12:39:47	1155	[DEBUG]	Full name target: bcprisme/image_778.jpg
2023-10-13	12:39:48	1155	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:48	1155	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_778.jpg'
2023-10-13	12:39:48	1155	[DEBUG]	Query for Media
2023-10-13	12:39:48	1155	[DEBUG]	Executed store
2023-10-13	12:39:48	1155	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_778.jpg',`file_url_thumb`='bcprisme/image_778.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12570'
2023-10-13	12:39:48	1155	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:48	1155	[DEBUG]	Executed store
2023-10-13	12:39:48	1155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860647','12570','1')
2023-10-13	12:39:48	1155	[DEBUG]	Store product image relation
2023-10-13	12:39:48	1155	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:48	1155	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860647 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:48	1155	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:48	1155	[DEBUG]	Executed store
2023-10-13	12:39:48	1155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860647','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:48	1155	[DEBUG]	Checking manufacturer
2023-10-13	12:39:48	1155	[DEBUG]	Load a row
2023-10-13	12:39:48	1155	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:48	1155	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:48	1155	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:48	1155	[DEBUG]	Executed store
2023-10-13	12:39:48	1155	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:48	1155	[DEBUG]	Manufacturer exists
2023-10-13	12:39:48	1155	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:39:48	1155	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:48	1155	[DEBUG]	Executed store
2023-10-13	12:39:48	1155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860647','216')
2023-10-13	12:39:48	1155	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:48	1155	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:48	1155	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860647 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:48	1155	[DEBUG]	Store custom available field
2023-10-13	12:39:48	1155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860647,3,'',1)
2023-10-13	12:39:48	1155	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:48	1155	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:48	1155	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860647 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:48	1155	[DEBUG]	Store custom available field
2023-10-13	12:39:48	1155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860647,6,'Unitaire',3)
2023-10-13	12:39:48	1155	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:48	1155	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:48	1155	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860646
2023-10-13	12:39:48	1155	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:48	1155	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860646\":[1860646,8,1,\"choisir la taille\"],\"1860647\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860646
2023-10-13	12:39:48	1155	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:48	1155	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860647
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:48	1156	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field taille
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:48	1156	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:48	1156	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:48	1156	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:48	1156	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:48	1156	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:48	1156	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field published
2023-10-13	12:39:48	1156	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:48	1156	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field override
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:48	1156	[DEBUG]	Use field value for field slug
2023-10-13	12:39:49	1156	[DEBUG]	Process line 1156
2023-10-13	12:39:49	1156	[DEBUG]	Load a row
2023-10-13	12:39:49	1156	[DEBUG]	Processing item: A_633_4
2023-10-13	12:39:49	1156	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:49	1156	[DEBUG]	Processing product tax
2023-10-13	12:39:49	1156	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:49	1156	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:49	1156	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:49	1156	[DEBUG]	Query for Product
2023-10-13	12:39:49	1156	[DEBUG]	Executed store
2023-10-13	12:39:49	1156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_633_4','0.27','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:49	1156	[DEBUG]	Check product language entry
2023-10-13	12:39:49	1156	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860648
2023-10-13	12:39:49	1156	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:49	1156	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_633_4' AND `virtuemart_product_id` != 1860648
2023-10-13	12:39:49	1156	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:49	1156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860648, 'A_633_4')
2023-10-13	12:39:49	1156	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:49	1156	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-ybn-super-hollow-light-9v-116l-270-gr-acier' AND `virtuemart_product_id` != 1860648
2023-10-13	12:39:49	1156	[DEBUG]	Query for ProductLang
2023-10-13	12:39:49	1156	[DEBUG]	Executed store
2023-10-13	12:39:49	1156	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='9 vitesses, 270gr<br>N° art fourn : LG7710',`product_name`='YBN Chaîne YBN Super Hollow Light 9v 116l, 270 gr. / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-ybn-super-hollow-light-9v-116l-270-gr-acier' WHERE `virtuemart_product_id` = '1860648'
2023-10-13	12:39:49	1156	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_779.jpg
2023-10-13	12:39:49	1156	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:39:49	1156	[DEBUG]	Process image file
2023-10-13	12:39:49	1156	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:39:49	1156	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:49	1156	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_779.jpg
2023-10-13	12:39:49	1156	[DEBUG]	Full name target: bcprisme/image_779.jpg
2023-10-13	12:39:50	1156	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:50	1156	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_779.jpg'
2023-10-13	12:39:50	1156	[DEBUG]	Query for Media
2023-10-13	12:39:50	1156	[DEBUG]	Executed store
2023-10-13	12:39:50	1156	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_779.jpg',`file_url_thumb`='bcprisme/image_779.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15811'
2023-10-13	12:39:50	1156	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:50	1156	[DEBUG]	Executed store
2023-10-13	12:39:50	1156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860648','15811','1')
2023-10-13	12:39:50	1156	[DEBUG]	Store product image relation
2023-10-13	12:39:50	1156	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:50	1156	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860648 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:50	1156	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:50	1156	[DEBUG]	Executed store
2023-10-13	12:39:50	1156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860648','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:50	1156	[DEBUG]	Checking manufacturer
2023-10-13	12:39:50	1156	[DEBUG]	Load a row
2023-10-13	12:39:50	1156	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:50	1156	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:50	1156	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:50	1156	[DEBUG]	Executed store
2023-10-13	12:39:50	1156	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:50	1156	[DEBUG]	Manufacturer exists
2023-10-13	12:39:50	1156	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:39:50	1156	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:50	1156	[DEBUG]	Executed store
2023-10-13	12:39:50	1156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860648','216')
2023-10-13	12:39:50	1156	[DEBUG]	Find the custom field ID
2023-10-13	12:39:50	1156	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:50	1156	[DEBUG]	No custom field ID found
2023-10-13	12:39:50	1156	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:50	1156	[DEBUG]	Get existing row with customfield value 44.7752777777778
2023-10-13	12:39:50	1156	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860648 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:50	1156	[DEBUG]	Store custom available field
2023-10-13	12:39:50	1156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860648,3,'44.7752777777778',1)
2023-10-13	12:39:50	1156	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:50	1156	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:50	1156	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860648 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:50	1156	[DEBUG]	Store custom available field
2023-10-13	12:39:50	1156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860648,6,'choisir la taille',3)
2023-10-13	12:39:50	1156	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:50	1156	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:50	1156	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:50	1156	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:50	1156	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860648 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:50	1156	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:50	1156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860648,8,1)
2023-10-13	12:39:50	1156	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:50	1156	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860648\":[1860648,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860648
2023-10-13	12:39:50	1156	[DEBUG]	Checking category
2023-10-13	12:39:50	1156	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:50	1156	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860648
2023-10-13	12:39:50	1156	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:50	1156	[DEBUG]	Executed store
2023-10-13	12:39:50	1156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860648','7289')
2023-10-13	12:39:50	1156	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:50	1156	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860648 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:39:50	1156	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:50	1156	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860648
2023-10-13	12:39:50	1157	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:50	1157	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:50	1157	[DEBUG]	Use field value for field taille
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:50	1157	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:50	1157	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:50	1157	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:50	1157	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:50	1157	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:50	1157	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:50	1157	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:50	1157	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:50	1157	[DEBUG]	Use field value for field published
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:50	1157	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field override
2023-10-13	12:39:50	1157	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:50	1157	[DEBUG]	Use field value for field slug
2023-10-13	12:39:50	1157	[DEBUG]	Process line 1157
2023-10-13	12:39:50	1157	[DEBUG]	Load a row
2023-10-13	12:39:50	1157	[DEBUG]	Processing item: 8436041139782
2023-10-13	12:39:50	1157	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:50	1157	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:50	1157	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_633_4'
2023-10-13	12:39:50	1157	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:50	1157	[DEBUG]	Processing product tax
2023-10-13	12:39:50	1157	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:50	1157	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:50	1157	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:50	1157	[DEBUG]	Query for Product
2023-10-13	12:39:50	1157	[DEBUG]	Executed store
2023-10-13	12:39:50	1157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860648','8436041139782','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:50	1157	[DEBUG]	No parent found
2023-10-13	12:39:50	1157	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860648 AND customfield_value = 'stockable'
2023-10-13	12:39:50	1157	[DEBUG]	Check product language entry
2023-10-13	12:39:50	1157	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860649
2023-10-13	12:39:50	1157	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:50	1157	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041139782' AND `virtuemart_product_id` != 1860649
2023-10-13	12:39:50	1157	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:50	1157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860649, '8436041139782')
2023-10-13	12:39:50	1157	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:50	1157	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-ybn-super-hollow-light-9v-116l-270-gr-acier-unitaire' AND `virtuemart_product_id` != 1860649
2023-10-13	12:39:50	1157	[DEBUG]	Query for ProductLang
2023-10-13	12:39:50	1157	[DEBUG]	Executed store
2023-10-13	12:39:50	1157	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='YBN Chaîne YBN Super Hollow Light 9v 116l, 270 gr. / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-ybn-super-hollow-light-9v-116l-270-gr-acier-unitaire' WHERE `virtuemart_product_id` = '1860649'
2023-10-13	12:39:50	1157	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_779.jpg
2023-10-13	12:39:50	1157	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:39:50	1157	[DEBUG]	Process image file
2023-10-13	12:39:50	1157	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:39:50	1157	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:50	1157	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_779.jpg
2023-10-13	12:39:50	1157	[DEBUG]	Full name target: bcprisme/image_779.jpg
2023-10-13	12:39:51	1157	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:51	1157	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_779.jpg'
2023-10-13	12:39:51	1157	[DEBUG]	Query for Media
2023-10-13	12:39:51	1157	[DEBUG]	Executed store
2023-10-13	12:39:51	1157	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_779.jpg',`file_url_thumb`='bcprisme/image_779.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15811'
2023-10-13	12:39:51	1157	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:51	1157	[DEBUG]	Executed store
2023-10-13	12:39:51	1157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860649','15811','1')
2023-10-13	12:39:51	1157	[DEBUG]	Store product image relation
2023-10-13	12:39:51	1157	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:51	1157	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860649 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:51	1157	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:51	1157	[DEBUG]	Executed store
2023-10-13	12:39:51	1157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860649','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:51	1157	[DEBUG]	Checking manufacturer
2023-10-13	12:39:51	1157	[DEBUG]	Load a row
2023-10-13	12:39:51	1157	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:51	1157	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:51	1157	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:51	1157	[DEBUG]	Executed store
2023-10-13	12:39:51	1157	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:51	1157	[DEBUG]	Manufacturer exists
2023-10-13	12:39:51	1157	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:39:51	1157	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:51	1157	[DEBUG]	Executed store
2023-10-13	12:39:51	1157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860649','216')
2023-10-13	12:39:51	1157	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:51	1157	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:51	1157	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860649 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:51	1157	[DEBUG]	Store custom available field
2023-10-13	12:39:51	1157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860649,3,'',1)
2023-10-13	12:39:51	1157	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:51	1157	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:51	1157	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860649 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:51	1157	[DEBUG]	Store custom available field
2023-10-13	12:39:51	1157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860649,6,'Unitaire',3)
2023-10-13	12:39:51	1157	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:51	1157	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:51	1157	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860648
2023-10-13	12:39:51	1157	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:51	1157	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860648\":[1860648,8,1,\"choisir la taille\"],\"1860649\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860648
2023-10-13	12:39:51	1157	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:51	1157	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860649
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:51	1158	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field taille
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:51	1158	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:51	1158	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:51	1158	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:51	1158	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:51	1158	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:51	1158	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field published
2023-10-13	12:39:51	1158	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:51	1158	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field override
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:51	1158	[DEBUG]	Use field value for field slug
2023-10-13	12:39:51	1158	[DEBUG]	Process line 1158
2023-10-13	12:39:51	1158	[DEBUG]	Load a row
2023-10-13	12:39:51	1158	[DEBUG]	Processing item: A_634_4
2023-10-13	12:39:51	1158	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:51	1158	[DEBUG]	Processing product tax
2023-10-13	12:39:51	1158	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:51	1158	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:51	1158	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:51	1158	[DEBUG]	Query for Product
2023-10-13	12:39:51	1158	[DEBUG]	Executed store
2023-10-13	12:39:51	1158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_634_4','0.294','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:51	1158	[DEBUG]	Check product language entry
2023-10-13	12:39:51	1158	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860650
2023-10-13	12:39:51	1158	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:51	1158	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_634_4' AND `virtuemart_product_id` != 1860650
2023-10-13	12:39:51	1158	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:51	1158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860650, 'A_634_4')
2023-10-13	12:39:51	1158	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:51	1158	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-ybn-power-chain-9v-112l-294-gr-acier' AND `virtuemart_product_id` != 1860650
2023-10-13	12:39:51	1158	[DEBUG]	Query for ProductLang
2023-10-13	12:39:51	1158	[DEBUG]	Executed store
2023-10-13	12:39:51	1158	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='9 vitesses, 294gr<br>N° art fourn : LG92',`product_name`='YBN Chaîne YBN Power Chain 9v 112l, 294 gr. / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-ybn-power-chain-9v-112l-294-gr-acier' WHERE `virtuemart_product_id` = '1860650'
2023-10-13	12:39:51	1158	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_780.jpg
2023-10-13	12:39:51	1158	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	12:39:51	1158	[DEBUG]	Process image file
2023-10-13	12:39:51	1158	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	12:39:51	1158	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:51	1158	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_780.jpg
2023-10-13	12:39:51	1158	[DEBUG]	Full name target: bcprisme/image_780.jpg
2023-10-13	12:39:52	1158	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:52	1158	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_780.jpg'
2023-10-13	12:39:52	1158	[DEBUG]	Query for Media
2023-10-13	12:39:52	1158	[DEBUG]	Executed store
2023-10-13	12:39:52	1158	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_780.jpg',`file_url_thumb`='bcprisme/image_780.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12571'
2023-10-13	12:39:52	1158	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:52	1158	[DEBUG]	Executed store
2023-10-13	12:39:52	1158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860650','12571','1')
2023-10-13	12:39:52	1158	[DEBUG]	Store product image relation
2023-10-13	12:39:52	1158	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:52	1158	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860650 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:52	1158	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:52	1158	[DEBUG]	Executed store
2023-10-13	12:39:52	1158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860650','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:52	1158	[DEBUG]	Checking manufacturer
2023-10-13	12:39:52	1158	[DEBUG]	Load a row
2023-10-13	12:39:52	1158	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:52	1158	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:52	1158	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:52	1158	[DEBUG]	Executed store
2023-10-13	12:39:52	1158	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:52	1158	[DEBUG]	Manufacturer exists
2023-10-13	12:39:52	1158	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:39:52	1158	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:52	1158	[DEBUG]	Executed store
2023-10-13	12:39:52	1158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860650','216')
2023-10-13	12:39:52	1158	[DEBUG]	Find the custom field ID
2023-10-13	12:39:52	1158	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:52	1158	[DEBUG]	No custom field ID found
2023-10-13	12:39:52	1158	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:52	1158	[DEBUG]	Get existing row with customfield value 26.8252777777778
2023-10-13	12:39:52	1158	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860650 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:52	1158	[DEBUG]	Store custom available field
2023-10-13	12:39:52	1158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860650,3,'26.8252777777778',1)
2023-10-13	12:39:52	1158	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:52	1158	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:52	1158	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860650 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:52	1158	[DEBUG]	Store custom available field
2023-10-13	12:39:52	1158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860650,6,'choisir la taille',3)
2023-10-13	12:39:52	1158	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:52	1158	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:52	1158	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:52	1158	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:52	1158	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860650 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:52	1158	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:52	1158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860650,8,1)
2023-10-13	12:39:52	1158	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:52	1158	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860650\":[1860650,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860650
2023-10-13	12:39:52	1158	[DEBUG]	Checking category
2023-10-13	12:39:52	1158	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:52	1158	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860650
2023-10-13	12:39:52	1158	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:52	1158	[DEBUG]	Executed store
2023-10-13	12:39:52	1158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860650','7289')
2023-10-13	12:39:52	1158	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:52	1158	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860650 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:39:52	1158	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:52	1158	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860650
2023-10-13	12:39:52	1159	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:52	1159	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:52	1159	[DEBUG]	Use field value for field taille
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:52	1159	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:52	1159	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:52	1159	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:52	1159	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:52	1159	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:52	1159	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:52	1159	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:52	1159	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:52	1159	[DEBUG]	Use field value for field published
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:52	1159	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field override
2023-10-13	12:39:52	1159	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:52	1159	[DEBUG]	Use field value for field slug
2023-10-13	12:39:52	1159	[DEBUG]	Process line 1159
2023-10-13	12:39:52	1159	[DEBUG]	Load a row
2023-10-13	12:39:52	1159	[DEBUG]	Processing item: 8436041139799
2023-10-13	12:39:52	1159	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:52	1159	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:52	1159	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_634_4'
2023-10-13	12:39:52	1159	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:52	1159	[DEBUG]	Processing product tax
2023-10-13	12:39:52	1159	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:52	1159	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:52	1159	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:52	1159	[DEBUG]	Query for Product
2023-10-13	12:39:52	1159	[DEBUG]	Executed store
2023-10-13	12:39:52	1159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860650','8436041139799','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:52	1159	[DEBUG]	No parent found
2023-10-13	12:39:52	1159	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860650 AND customfield_value = 'stockable'
2023-10-13	12:39:52	1159	[DEBUG]	Check product language entry
2023-10-13	12:39:52	1159	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860651
2023-10-13	12:39:52	1159	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:52	1159	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041139799' AND `virtuemart_product_id` != 1860651
2023-10-13	12:39:52	1159	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:52	1159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860651, '8436041139799')
2023-10-13	12:39:52	1159	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:52	1159	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-ybn-power-chain-9v-112l-294-gr-acier-unitaire' AND `virtuemart_product_id` != 1860651
2023-10-13	12:39:52	1159	[DEBUG]	Query for ProductLang
2023-10-13	12:39:52	1159	[DEBUG]	Executed store
2023-10-13	12:39:52	1159	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='YBN Chaîne YBN Power Chain 9v 112l, 294 gr. / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-ybn-power-chain-9v-112l-294-gr-acier-unitaire' WHERE `virtuemart_product_id` = '1860651'
2023-10-13	12:39:52	1159	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_780.jpg
2023-10-13	12:39:52	1159	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	12:39:52	1159	[DEBUG]	Process image file
2023-10-13	12:39:52	1159	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	12:39:52	1159	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:52	1159	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_780.jpg
2023-10-13	12:39:52	1159	[DEBUG]	Full name target: bcprisme/image_780.jpg
2023-10-13	12:39:53	1159	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:53	1159	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_780.jpg'
2023-10-13	12:39:53	1159	[DEBUG]	Query for Media
2023-10-13	12:39:53	1159	[DEBUG]	Executed store
2023-10-13	12:39:53	1159	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_780.jpg',`file_url_thumb`='bcprisme/image_780.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12571'
2023-10-13	12:39:53	1159	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:53	1159	[DEBUG]	Executed store
2023-10-13	12:39:53	1159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860651','12571','1')
2023-10-13	12:39:53	1159	[DEBUG]	Store product image relation
2023-10-13	12:39:53	1159	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:53	1159	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860651 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:53	1159	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:53	1159	[DEBUG]	Executed store
2023-10-13	12:39:53	1159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860651','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:53	1159	[DEBUG]	Checking manufacturer
2023-10-13	12:39:53	1159	[DEBUG]	Load a row
2023-10-13	12:39:53	1159	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:53	1159	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:53	1159	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:53	1159	[DEBUG]	Executed store
2023-10-13	12:39:53	1159	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:39:53	1159	[DEBUG]	Manufacturer exists
2023-10-13	12:39:53	1159	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:39:53	1159	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:53	1159	[DEBUG]	Executed store
2023-10-13	12:39:53	1159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860651','216')
2023-10-13	12:39:53	1159	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:53	1159	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:53	1159	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860651 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:53	1159	[DEBUG]	Store custom available field
2023-10-13	12:39:53	1159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860651,3,'',1)
2023-10-13	12:39:53	1159	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:53	1159	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:53	1159	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860651 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:53	1159	[DEBUG]	Store custom available field
2023-10-13	12:39:53	1159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860651,6,'Unitaire',3)
2023-10-13	12:39:53	1159	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:53	1159	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:53	1159	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860650
2023-10-13	12:39:53	1159	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:53	1159	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860650\":[1860650,8,1,\"choisir la taille\"],\"1860651\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860650
2023-10-13	12:39:53	1159	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:53	1159	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860651
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:53	1160	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field taille
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:53	1160	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:53	1160	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:53	1160	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:53	1160	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:53	1160	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:53	1160	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field published
2023-10-13	12:39:53	1160	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:53	1160	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field override
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:53	1160	[DEBUG]	Use field value for field slug
2023-10-13	12:39:53	1160	[DEBUG]	Process line 1160
2023-10-13	12:39:53	1160	[DEBUG]	Load a row
2023-10-13	12:39:53	1160	[DEBUG]	Processing item: A_918_1
2023-10-13	12:39:53	1160	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:53	1160	[DEBUG]	Processing product tax
2023-10-13	12:39:53	1160	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:53	1160	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:53	1160	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:53	1160	[DEBUG]	Query for Product
2023-10-13	12:39:53	1160	[DEBUG]	Executed store
2023-10-13	12:39:53	1160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_918_1','0.247','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:53	1160	[DEBUG]	Check product language entry
2023-10-13	12:39:53	1160	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860652
2023-10-13	12:39:53	1160	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:53	1160	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_918_1' AND `virtuemart_product_id` != 1860652
2023-10-13	12:39:53	1160	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:53	1160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860652, 'A_918_1')
2023-10-13	12:39:53	1160	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:53	1160	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-9s-112l-247-gr-noir' AND `virtuemart_product_id` != 1860652
2023-10-13	12:39:53	1160	[DEBUG]	Query for ProductLang
2023-10-13	12:39:53	1160	[DEBUG]	Executed store
2023-10-13	12:39:53	1160	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='9 vitesses, 247gr, très longue durée de vie<br>N° art fourn : SFL901',`product_name`='MSC Chaîne MSC Ultralight 9s 112l, 247 gr.,  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-9s-112l-247-gr-noir' WHERE `virtuemart_product_id` = '1860652'
2023-10-13	12:39:53	1160	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1207.jpg
2023-10-13	12:39:53	1160	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:39:53	1160	[DEBUG]	Process image file
2023-10-13	12:39:53	1160	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:39:53	1160	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:53	1160	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1207.jpg
2023-10-13	12:39:53	1160	[DEBUG]	Full name target: bcprisme/image_1207.jpg
2023-10-13	12:39:54	1160	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:54	1160	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1207.jpg'
2023-10-13	12:39:54	1160	[DEBUG]	Query for Media
2023-10-13	12:39:54	1160	[DEBUG]	Executed store
2023-10-13	12:39:54	1160	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1207.jpg',`file_url_thumb`='bcprisme/image_1207.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12572'
2023-10-13	12:39:54	1160	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:54	1160	[DEBUG]	Executed store
2023-10-13	12:39:54	1160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860652','12572','1')
2023-10-13	12:39:54	1160	[DEBUG]	Store product image relation
2023-10-13	12:39:54	1160	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:54	1160	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860652 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:54	1160	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:54	1160	[DEBUG]	Executed store
2023-10-13	12:39:54	1160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860652','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:54	1160	[DEBUG]	Checking manufacturer
2023-10-13	12:39:54	1160	[DEBUG]	Load a row
2023-10-13	12:39:54	1160	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:54	1160	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:54	1160	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:54	1160	[DEBUG]	Executed store
2023-10-13	12:39:54	1160	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:54	1160	[DEBUG]	Manufacturer exists
2023-10-13	12:39:54	1160	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:39:54	1160	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:54	1160	[DEBUG]	Executed store
2023-10-13	12:39:54	1160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860652','32')
2023-10-13	12:39:54	1160	[DEBUG]	Find the custom field ID
2023-10-13	12:39:54	1160	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:54	1160	[DEBUG]	No custom field ID found
2023-10-13	12:39:54	1160	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:54	1160	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	12:39:54	1160	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860652 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:54	1160	[DEBUG]	Store custom available field
2023-10-13	12:39:54	1160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860652,3,'99.6225',1)
2023-10-13	12:39:54	1160	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:54	1160	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:54	1160	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860652 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:54	1160	[DEBUG]	Store custom available field
2023-10-13	12:39:54	1160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860652,6,'choisir la taille',3)
2023-10-13	12:39:54	1160	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:54	1160	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:54	1160	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:54	1160	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:54	1160	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860652 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:54	1160	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:54	1160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860652,8,1)
2023-10-13	12:39:54	1160	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:54	1160	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860652\":[1860652,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860652
2023-10-13	12:39:54	1160	[DEBUG]	Checking category
2023-10-13	12:39:54	1160	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:54	1160	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860652
2023-10-13	12:39:54	1160	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:54	1160	[DEBUG]	Executed store
2023-10-13	12:39:54	1160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860652','7289')
2023-10-13	12:39:54	1160	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:54	1160	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860652 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:39:54	1160	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:54	1160	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860652
2023-10-13	12:39:54	1161	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:54	1161	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:54	1161	[DEBUG]	Use field value for field taille
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:54	1161	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:54	1161	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:54	1161	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:54	1161	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:54	1161	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:54	1161	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:54	1161	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:54	1161	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:54	1161	[DEBUG]	Use field value for field published
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:54	1161	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field override
2023-10-13	12:39:54	1161	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:54	1161	[DEBUG]	Use field value for field slug
2023-10-13	12:39:54	1161	[DEBUG]	Process line 1161
2023-10-13	12:39:54	1161	[DEBUG]	Load a row
2023-10-13	12:39:54	1161	[DEBUG]	Processing item: 8436047355834
2023-10-13	12:39:54	1161	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:54	1161	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:54	1161	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_918_1'
2023-10-13	12:39:54	1161	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:54	1161	[DEBUG]	Processing product tax
2023-10-13	12:39:54	1161	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:54	1161	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:54	1161	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:54	1161	[DEBUG]	Query for Product
2023-10-13	12:39:54	1161	[DEBUG]	Executed store
2023-10-13	12:39:54	1161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860652','8436047355834','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:54	1161	[DEBUG]	No parent found
2023-10-13	12:39:54	1161	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860652 AND customfield_value = 'stockable'
2023-10-13	12:39:54	1161	[DEBUG]	Check product language entry
2023-10-13	12:39:54	1161	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860653
2023-10-13	12:39:54	1161	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:54	1161	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047355834' AND `virtuemart_product_id` != 1860653
2023-10-13	12:39:54	1161	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:54	1161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860653, '8436047355834')
2023-10-13	12:39:54	1161	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:54	1161	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-9s-112l-247-gr-noir-unitaire' AND `virtuemart_product_id` != 1860653
2023-10-13	12:39:54	1161	[DEBUG]	Query for ProductLang
2023-10-13	12:39:54	1161	[DEBUG]	Executed store
2023-10-13	12:39:54	1161	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC Ultralight 9s 112l, 247 gr.,  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-9s-112l-247-gr-noir-unitaire' WHERE `virtuemart_product_id` = '1860653'
2023-10-13	12:39:54	1161	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1207.jpg
2023-10-13	12:39:54	1161	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:39:54	1161	[DEBUG]	Process image file
2023-10-13	12:39:54	1161	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:39:54	1161	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:54	1161	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1207.jpg
2023-10-13	12:39:54	1161	[DEBUG]	Full name target: bcprisme/image_1207.jpg
2023-10-13	12:39:55	1161	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:55	1161	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1207.jpg'
2023-10-13	12:39:55	1161	[DEBUG]	Query for Media
2023-10-13	12:39:55	1161	[DEBUG]	Executed store
2023-10-13	12:39:55	1161	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1207.jpg',`file_url_thumb`='bcprisme/image_1207.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12572'
2023-10-13	12:39:55	1161	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:55	1161	[DEBUG]	Executed store
2023-10-13	12:39:55	1161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860653','12572','1')
2023-10-13	12:39:55	1161	[DEBUG]	Store product image relation
2023-10-13	12:39:55	1161	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:55	1161	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860653 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:55	1161	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:55	1161	[DEBUG]	Executed store
2023-10-13	12:39:55	1161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860653','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:55	1161	[DEBUG]	Checking manufacturer
2023-10-13	12:39:55	1161	[DEBUG]	Load a row
2023-10-13	12:39:55	1161	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:55	1161	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:55	1161	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:55	1161	[DEBUG]	Executed store
2023-10-13	12:39:55	1161	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:55	1161	[DEBUG]	Manufacturer exists
2023-10-13	12:39:55	1161	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:39:55	1161	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:55	1161	[DEBUG]	Executed store
2023-10-13	12:39:55	1161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860653','32')
2023-10-13	12:39:55	1161	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:55	1161	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:55	1161	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860653 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:55	1161	[DEBUG]	Store custom available field
2023-10-13	12:39:55	1161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860653,3,'',1)
2023-10-13	12:39:55	1161	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:55	1161	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:55	1161	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860653 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:55	1161	[DEBUG]	Store custom available field
2023-10-13	12:39:55	1161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860653,6,'Unitaire',3)
2023-10-13	12:39:55	1161	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:55	1161	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:55	1161	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860652
2023-10-13	12:39:55	1161	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:55	1161	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860652\":[1860652,8,1,\"choisir la taille\"],\"1860653\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860652
2023-10-13	12:39:55	1161	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:55	1161	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860653
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:55	1162	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field taille
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:55	1162	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:55	1162	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:55	1162	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:55	1162	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:55	1162	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:55	1162	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field published
2023-10-13	12:39:55	1162	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:55	1162	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field override
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:55	1162	[DEBUG]	Use field value for field slug
2023-10-13	12:39:55	1162	[DEBUG]	Process line 1162
2023-10-13	12:39:55	1162	[DEBUG]	Load a row
2023-10-13	12:39:55	1162	[DEBUG]	Processing item: A_918_5
2023-10-13	12:39:55	1162	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:55	1162	[DEBUG]	Processing product tax
2023-10-13	12:39:55	1162	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:55	1162	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:55	1162	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:55	1162	[DEBUG]	Query for Product
2023-10-13	12:39:55	1162	[DEBUG]	Executed store
2023-10-13	12:39:55	1162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_918_5','0.247','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:55	1162	[DEBUG]	Check product language entry
2023-10-13	12:39:55	1162	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860654
2023-10-13	12:39:55	1162	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:55	1162	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_918_5' AND `virtuemart_product_id` != 1860654
2023-10-13	12:39:55	1162	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:55	1162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860654, 'A_918_5')
2023-10-13	12:39:55	1162	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:55	1162	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-9s-112l-247-gr-or' AND `virtuemart_product_id` != 1860654
2023-10-13	12:39:55	1162	[DEBUG]	Query for ProductLang
2023-10-13	12:39:55	1162	[DEBUG]	Executed store
2023-10-13	12:39:55	1162	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='9 vitesses, 247gr, très longue durée de vie<br>N° art fourn : SFL901',`product_name`='MSC Chaîne MSC Ultralight 9s 112l, 247 gr.,  / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-9s-112l-247-gr-or' WHERE `virtuemart_product_id` = '1860654'
2023-10-13	12:39:55	1162	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1209.jpg
2023-10-13	12:39:55	1162	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:39:55	1162	[DEBUG]	Process image file
2023-10-13	12:39:55	1162	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:39:55	1162	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:55	1162	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1209.jpg
2023-10-13	12:39:55	1162	[DEBUG]	Full name target: bcprisme/image_1209.jpg
2023-10-13	12:39:56	1162	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:56	1162	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1209.jpg'
2023-10-13	12:39:56	1162	[DEBUG]	Query for Media
2023-10-13	12:39:56	1162	[DEBUG]	Executed store
2023-10-13	12:39:56	1162	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1209.jpg',`file_url_thumb`='bcprisme/image_1209.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12573'
2023-10-13	12:39:56	1162	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:56	1162	[DEBUG]	Executed store
2023-10-13	12:39:56	1162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860654','12573','1')
2023-10-13	12:39:56	1162	[DEBUG]	Store product image relation
2023-10-13	12:39:56	1162	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:56	1162	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860654 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:56	1162	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:56	1162	[DEBUG]	Executed store
2023-10-13	12:39:56	1162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860654','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:56	1162	[DEBUG]	Checking manufacturer
2023-10-13	12:39:56	1162	[DEBUG]	Load a row
2023-10-13	12:39:56	1162	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:56	1162	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:56	1162	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:56	1162	[DEBUG]	Executed store
2023-10-13	12:39:56	1162	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:56	1162	[DEBUG]	Manufacturer exists
2023-10-13	12:39:56	1162	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:39:56	1162	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:56	1162	[DEBUG]	Executed store
2023-10-13	12:39:56	1162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860654','32')
2023-10-13	12:39:56	1162	[DEBUG]	Find the custom field ID
2023-10-13	12:39:56	1162	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:56	1162	[DEBUG]	No custom field ID found
2023-10-13	12:39:56	1162	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:56	1162	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	12:39:56	1162	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860654 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:56	1162	[DEBUG]	Store custom available field
2023-10-13	12:39:56	1162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860654,3,'99.6225',1)
2023-10-13	12:39:56	1162	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:56	1162	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:56	1162	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860654 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:56	1162	[DEBUG]	Store custom available field
2023-10-13	12:39:56	1162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860654,6,'choisir la taille',3)
2023-10-13	12:39:56	1162	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:56	1162	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:56	1162	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:56	1162	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:56	1162	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860654 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:56	1162	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:56	1162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860654,8,1)
2023-10-13	12:39:56	1162	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:56	1162	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860654\":[1860654,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860654
2023-10-13	12:39:56	1162	[DEBUG]	Checking category
2023-10-13	12:39:56	1162	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:56	1162	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860654
2023-10-13	12:39:56	1162	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:56	1162	[DEBUG]	Executed store
2023-10-13	12:39:56	1162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860654','7289')
2023-10-13	12:39:56	1162	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:56	1162	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860654 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:39:56	1162	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:56	1162	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860654
2023-10-13	12:39:56	1163	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:56	1163	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:56	1163	[DEBUG]	Use field value for field taille
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:56	1163	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:56	1163	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:56	1163	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:56	1163	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:56	1163	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:56	1163	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:56	1163	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:56	1163	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:56	1163	[DEBUG]	Use field value for field published
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:56	1163	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field override
2023-10-13	12:39:56	1163	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:56	1163	[DEBUG]	Use field value for field slug
2023-10-13	12:39:56	1163	[DEBUG]	Process line 1163
2023-10-13	12:39:56	1163	[DEBUG]	Load a row
2023-10-13	12:39:56	1163	[DEBUG]	Processing item: 8436047355858
2023-10-13	12:39:56	1163	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:56	1163	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:56	1163	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_918_5'
2023-10-13	12:39:56	1163	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:56	1163	[DEBUG]	Processing product tax
2023-10-13	12:39:56	1163	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:56	1163	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:56	1163	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:56	1163	[DEBUG]	Query for Product
2023-10-13	12:39:56	1163	[DEBUG]	Executed store
2023-10-13	12:39:56	1163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860654','8436047355858','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:56	1163	[DEBUG]	No parent found
2023-10-13	12:39:56	1163	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860654 AND customfield_value = 'stockable'
2023-10-13	12:39:56	1163	[DEBUG]	Check product language entry
2023-10-13	12:39:56	1163	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860655
2023-10-13	12:39:56	1163	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:56	1163	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047355858' AND `virtuemart_product_id` != 1860655
2023-10-13	12:39:56	1163	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:56	1163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860655, '8436047355858')
2023-10-13	12:39:56	1163	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:56	1163	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-9s-112l-247-gr-or-unitaire' AND `virtuemart_product_id` != 1860655
2023-10-13	12:39:56	1163	[DEBUG]	Query for ProductLang
2023-10-13	12:39:56	1163	[DEBUG]	Executed store
2023-10-13	12:39:56	1163	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC Ultralight 9s 112l, 247 gr.,  / Or (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-9s-112l-247-gr-or-unitaire' WHERE `virtuemart_product_id` = '1860655'
2023-10-13	12:39:56	1163	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1209.jpg
2023-10-13	12:39:56	1163	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:39:56	1163	[DEBUG]	Process image file
2023-10-13	12:39:56	1163	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:39:56	1163	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:56	1163	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1209.jpg
2023-10-13	12:39:56	1163	[DEBUG]	Full name target: bcprisme/image_1209.jpg
2023-10-13	12:39:57	1163	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:57	1163	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1209.jpg'
2023-10-13	12:39:57	1163	[DEBUG]	Query for Media
2023-10-13	12:39:57	1163	[DEBUG]	Executed store
2023-10-13	12:39:57	1163	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1209.jpg',`file_url_thumb`='bcprisme/image_1209.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12573'
2023-10-13	12:39:57	1163	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:57	1163	[DEBUG]	Executed store
2023-10-13	12:39:57	1163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860655','12573','1')
2023-10-13	12:39:57	1163	[DEBUG]	Store product image relation
2023-10-13	12:39:57	1163	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:57	1163	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860655 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:57	1163	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:57	1163	[DEBUG]	Executed store
2023-10-13	12:39:57	1163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860655','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:57	1163	[DEBUG]	Checking manufacturer
2023-10-13	12:39:57	1163	[DEBUG]	Load a row
2023-10-13	12:39:57	1163	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:57	1163	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:57	1163	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:57	1163	[DEBUG]	Executed store
2023-10-13	12:39:57	1163	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:57	1163	[DEBUG]	Manufacturer exists
2023-10-13	12:39:57	1163	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:39:57	1163	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:57	1163	[DEBUG]	Executed store
2023-10-13	12:39:57	1163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860655','32')
2023-10-13	12:39:57	1163	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:57	1163	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:57	1163	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860655 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:57	1163	[DEBUG]	Store custom available field
2023-10-13	12:39:57	1163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860655,3,'',1)
2023-10-13	12:39:57	1163	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:57	1163	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:57	1163	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860655 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:57	1163	[DEBUG]	Store custom available field
2023-10-13	12:39:57	1163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860655,6,'Unitaire',3)
2023-10-13	12:39:57	1163	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:57	1163	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:57	1163	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860654
2023-10-13	12:39:57	1163	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:57	1163	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860654\":[1860654,8,1,\"choisir la taille\"],\"1860655\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860654
2023-10-13	12:39:57	1163	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:57	1163	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860655
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:57	1164	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field taille
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:57	1164	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:57	1164	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:57	1164	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:57	1164	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:57	1164	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:57	1164	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field published
2023-10-13	12:39:57	1164	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:57	1164	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field override
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:57	1164	[DEBUG]	Use field value for field slug
2023-10-13	12:39:57	1164	[DEBUG]	Process line 1164
2023-10-13	12:39:57	1164	[DEBUG]	Load a row
2023-10-13	12:39:57	1164	[DEBUG]	Processing item: A_918_7
2023-10-13	12:39:57	1164	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:57	1164	[DEBUG]	Processing product tax
2023-10-13	12:39:57	1164	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:57	1164	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:57	1164	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:57	1164	[DEBUG]	Query for Product
2023-10-13	12:39:57	1164	[DEBUG]	Executed store
2023-10-13	12:39:57	1164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_918_7','0.247','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:57	1164	[DEBUG]	Check product language entry
2023-10-13	12:39:57	1164	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860656
2023-10-13	12:39:57	1164	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:57	1164	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_918_7' AND `virtuemart_product_id` != 1860656
2023-10-13	12:39:57	1164	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:57	1164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860656, 'A_918_7')
2023-10-13	12:39:57	1164	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:57	1164	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-9s-112l-247-gr-rouge' AND `virtuemart_product_id` != 1860656
2023-10-13	12:39:57	1164	[DEBUG]	Query for ProductLang
2023-10-13	12:39:57	1164	[DEBUG]	Executed store
2023-10-13	12:39:57	1164	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='9 vitesses, 247gr, très longue durée de vie<br>N° art fourn : SFL901',`product_name`='MSC Chaîne MSC Ultralight 9s 112l, 247 gr.,  / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-9s-112l-247-gr-rouge' WHERE `virtuemart_product_id` = '1860656'
2023-10-13	12:39:57	1164	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1210.jpg
2023-10-13	12:39:57	1164	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:39:57	1164	[DEBUG]	Process image file
2023-10-13	12:39:57	1164	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:39:57	1164	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:57	1164	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1210.jpg
2023-10-13	12:39:57	1164	[DEBUG]	Full name target: bcprisme/image_1210.jpg
2023-10-13	12:39:58	1164	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:58	1164	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1210.jpg'
2023-10-13	12:39:58	1164	[DEBUG]	Query for Media
2023-10-13	12:39:58	1164	[DEBUG]	Executed store
2023-10-13	12:39:58	1164	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1210.jpg',`file_url_thumb`='bcprisme/image_1210.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12574'
2023-10-13	12:39:58	1164	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:58	1164	[DEBUG]	Executed store
2023-10-13	12:39:58	1164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860656','12574','1')
2023-10-13	12:39:58	1164	[DEBUG]	Store product image relation
2023-10-13	12:39:58	1164	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:58	1164	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860656 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:58	1164	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:58	1164	[DEBUG]	Executed store
2023-10-13	12:39:58	1164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860656','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:58	1164	[DEBUG]	Checking manufacturer
2023-10-13	12:39:58	1164	[DEBUG]	Load a row
2023-10-13	12:39:58	1164	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:58	1164	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:58	1164	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:58	1164	[DEBUG]	Executed store
2023-10-13	12:39:58	1164	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:58	1164	[DEBUG]	Manufacturer exists
2023-10-13	12:39:58	1164	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:39:58	1164	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:58	1164	[DEBUG]	Executed store
2023-10-13	12:39:58	1164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860656','32')
2023-10-13	12:39:58	1164	[DEBUG]	Find the custom field ID
2023-10-13	12:39:58	1164	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:39:58	1164	[DEBUG]	No custom field ID found
2023-10-13	12:39:58	1164	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:58	1164	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	12:39:58	1164	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860656 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:58	1164	[DEBUG]	Store custom available field
2023-10-13	12:39:58	1164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860656,3,'99.6225',1)
2023-10-13	12:39:58	1164	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:58	1164	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:39:58	1164	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860656 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:58	1164	[DEBUG]	Store custom available field
2023-10-13	12:39:58	1164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860656,6,'choisir la taille',3)
2023-10-13	12:39:58	1164	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:58	1164	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:39:58	1164	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:39:58	1164	[DEBUG]	Find the multi variant product entry
2023-10-13	12:39:58	1164	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860656 AND `virtuemart_custom_id` = 8
2023-10-13	12:39:58	1164	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:39:58	1164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860656,8,1)
2023-10-13	12:39:58	1164	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:58	1164	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860656\":[1860656,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860656
2023-10-13	12:39:58	1164	[DEBUG]	Checking category
2023-10-13	12:39:58	1164	[DEBUG]	Get the existing categories for the product
2023-10-13	12:39:58	1164	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860656
2023-10-13	12:39:58	1164	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:39:58	1164	[DEBUG]	Executed store
2023-10-13	12:39:58	1164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860656','7289')
2023-10-13	12:39:58	1164	[DEBUG]	Delete leftover product categories
2023-10-13	12:39:58	1164	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860656 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:39:58	1164	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:58	1164	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860656
2023-10-13	12:39:58	1165	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:58	1165	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:39:58	1165	[DEBUG]	Use field value for field taille
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:39:58	1165	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field category_path
2023-10-13	12:39:58	1165	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:58	1165	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:58	1165	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:58	1165	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:39:58	1165	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field product_weight
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:58	1165	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:58	1165	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:58	1165	[DEBUG]	Use field value for field published
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field custom_title
2023-10-13	12:39:58	1165	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field custom_param
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field override
2023-10-13	12:39:58	1165	[DEBUG]	Use default value for field public_price
2023-10-13	12:39:58	1165	[DEBUG]	Use field value for field slug
2023-10-13	12:39:58	1165	[DEBUG]	Process line 1165
2023-10-13	12:39:58	1165	[DEBUG]	Load a row
2023-10-13	12:39:58	1165	[DEBUG]	Processing item: 8436047355865
2023-10-13	12:39:58	1165	[DEBUG]	Looking for parent SKU
2023-10-13	12:39:58	1165	[DEBUG]	Checking product parent SKU
2023-10-13	12:39:58	1165	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_918_7'
2023-10-13	12:39:58	1165	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:58	1165	[DEBUG]	Processing product tax
2023-10-13	12:39:58	1165	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:58	1165	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:58	1165	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:58	1165	[DEBUG]	Query for Product
2023-10-13	12:39:58	1165	[DEBUG]	Executed store
2023-10-13	12:39:58	1165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860656','8436047355865','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:58	1165	[DEBUG]	No parent found
2023-10-13	12:39:58	1165	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860656 AND customfield_value = 'stockable'
2023-10-13	12:39:58	1165	[DEBUG]	Check product language entry
2023-10-13	12:39:58	1165	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860657
2023-10-13	12:39:58	1165	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:58	1165	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047355865' AND `virtuemart_product_id` != 1860657
2023-10-13	12:39:58	1165	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:58	1165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860657, '8436047355865')
2023-10-13	12:39:58	1165	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:58	1165	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-9s-112l-247-gr-rouge-unitaire' AND `virtuemart_product_id` != 1860657
2023-10-13	12:39:58	1165	[DEBUG]	Query for ProductLang
2023-10-13	12:39:58	1165	[DEBUG]	Executed store
2023-10-13	12:39:58	1165	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC Ultralight 9s 112l, 247 gr.,  / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-9s-112l-247-gr-rouge-unitaire' WHERE `virtuemart_product_id` = '1860657'
2023-10-13	12:39:58	1165	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1210.jpg
2023-10-13	12:39:58	1165	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:39:58	1165	[DEBUG]	Process image file
2023-10-13	12:39:58	1165	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:39:58	1165	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:58	1165	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1210.jpg
2023-10-13	12:39:58	1165	[DEBUG]	Full name target: bcprisme/image_1210.jpg
2023-10-13	12:39:59	1165	[DEBUG]	Checking if the file_url exists
2023-10-13	12:39:59	1165	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1210.jpg'
2023-10-13	12:39:59	1165	[DEBUG]	Query for Media
2023-10-13	12:39:59	1165	[DEBUG]	Executed store
2023-10-13	12:39:59	1165	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1210.jpg',`file_url_thumb`='bcprisme/image_1210.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12574'
2023-10-13	12:39:59	1165	[DEBUG]	Query for ProductMedia
2023-10-13	12:39:59	1165	[DEBUG]	Executed store
2023-10-13	12:39:59	1165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860657','12574','1')
2023-10-13	12:39:59	1165	[DEBUG]	Store product image relation
2023-10-13	12:39:59	1165	[DEBUG]	Finding a product_price_id
2023-10-13	12:39:59	1165	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860657 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:39:59	1165	[DEBUG]	Query for ProductPrice
2023-10-13	12:39:59	1165	[DEBUG]	Executed store
2023-10-13	12:39:59	1165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860657','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:39:59	1165	[DEBUG]	Checking manufacturer
2023-10-13	12:39:59	1165	[DEBUG]	Load a row
2023-10-13	12:39:59	1165	[DEBUG]	Manufacturer already exists
2023-10-13	12:39:59	1165	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:59	1165	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:39:59	1165	[DEBUG]	Executed store
2023-10-13	12:39:59	1165	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:39:59	1165	[DEBUG]	Manufacturer exists
2023-10-13	12:39:59	1165	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:39:59	1165	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:39:59	1165	[DEBUG]	Executed store
2023-10-13	12:39:59	1165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860657','32')
2023-10-13	12:39:59	1165	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:39:59	1165	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:39:59	1165	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860657 AND `virtuemart_custom_id` = 3
2023-10-13	12:39:59	1165	[DEBUG]	Store custom available field
2023-10-13	12:39:59	1165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860657,3,'',1)
2023-10-13	12:39:59	1165	[DEBUG]	Processing custom available field: taille
2023-10-13	12:39:59	1165	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:39:59	1165	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860657 AND `virtuemart_custom_id` = 6
2023-10-13	12:39:59	1165	[DEBUG]	Store custom available field
2023-10-13	12:39:59	1165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860657,6,'Unitaire',3)
2023-10-13	12:39:59	1165	[DEBUG]	Process multi-variant fields
2023-10-13	12:39:59	1165	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:39:59	1165	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860656
2023-10-13	12:39:59	1165	[DEBUG]	Store the updated customfield_params
2023-10-13	12:39:59	1165	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860656\":[1860656,8,1,\"choisir la taille\"],\"1860657\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860656
2023-10-13	12:39:59	1165	[DEBUG]	Update has fields after all processing
2023-10-13	12:39:59	1165	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860657
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field product_sku
2023-10-13	12:39:59	1166	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field taille
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field product_name
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field category_path
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field product_price
2023-10-13	12:39:59	1166	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field product_tax
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field file_url
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:39:59	1166	[DEBUG]	Use default value for field product_desc
2023-10-13	12:39:59	1166	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field product_availability
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field product_weight
2023-10-13	12:39:59	1166	[DEBUG]	Use default value for field product_unit
2023-10-13	12:39:59	1166	[DEBUG]	Use default value for field related_products
2023-10-13	12:39:59	1166	[DEBUG]	Use default value for field product_special
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field published
2023-10-13	12:39:59	1166	[DEBUG]	Use default value for field metadesc
2023-10-13	12:39:59	1166	[DEBUG]	Use default value for field metakey
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field custom_title
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field custom_value
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field custom_param
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field override
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field public_price
2023-10-13	12:39:59	1166	[DEBUG]	Use field value for field slug
2023-10-13	12:39:59	1166	[DEBUG]	Process line 1166
2023-10-13	12:39:59	1166	[DEBUG]	Load a row
2023-10-13	12:39:59	1166	[DEBUG]	Processing item: A_918_12
2023-10-13	12:39:59	1166	[DEBUG]	Product tax: 7.7
2023-10-13	12:39:59	1166	[DEBUG]	Processing product tax
2023-10-13	12:39:59	1166	[DEBUG]	Check if calculation rule exists
2023-10-13	12:39:59	1166	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:39:59	1166	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:39:59	1166	[DEBUG]	Query for Product
2023-10-13	12:39:59	1166	[DEBUG]	Executed store
2023-10-13	12:39:59	1166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_918_12','0.247','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:39:59	1166	[DEBUG]	Check product language entry
2023-10-13	12:39:59	1166	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860658
2023-10-13	12:39:59	1166	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:59	1166	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_918_12' AND `virtuemart_product_id` != 1860658
2023-10-13	12:39:59	1166	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:39:59	1166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860658, 'A_918_12')
2023-10-13	12:39:59	1166	[DEBUG]	Check if the product slug exists
2023-10-13	12:39:59	1166	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-9s-112l-247-gr-blanc' AND `virtuemart_product_id` != 1860658
2023-10-13	12:39:59	1166	[DEBUG]	Query for ProductLang
2023-10-13	12:39:59	1166	[DEBUG]	Executed store
2023-10-13	12:39:59	1166	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='9 vitesses, 247gr, très longue durée de vie<br>N° art fourn : SFL901',`product_name`='MSC Chaîne MSC Ultralight 9s 112l, 247 gr.,  / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-9s-112l-247-gr-blanc' WHERE `virtuemart_product_id` = '1860658'
2023-10-13	12:39:59	1166	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1211.jpg
2023-10-13	12:39:59	1166	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:39:59	1166	[DEBUG]	Process image file
2023-10-13	12:39:59	1166	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:39:59	1166	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:39:59	1166	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1211.jpg
2023-10-13	12:39:59	1166	[DEBUG]	Full name target: bcprisme/image_1211.jpg
2023-10-13	12:40:00	1166	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:00	1166	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1211.jpg'
2023-10-13	12:40:00	1166	[DEBUG]	Query for Media
2023-10-13	12:40:00	1166	[DEBUG]	Executed store
2023-10-13	12:40:00	1166	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1211.jpg',`file_url_thumb`='bcprisme/image_1211.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12575'
2023-10-13	12:40:00	1166	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:00	1166	[DEBUG]	Executed store
2023-10-13	12:40:00	1166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860658','12575','1')
2023-10-13	12:40:00	1166	[DEBUG]	Store product image relation
2023-10-13	12:40:00	1166	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:00	1166	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860658 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:00	1166	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:00	1166	[DEBUG]	Executed store
2023-10-13	12:40:00	1166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860658','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:00	1166	[DEBUG]	Checking manufacturer
2023-10-13	12:40:00	1166	[DEBUG]	Load a row
2023-10-13	12:40:00	1166	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:00	1166	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:00	1166	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:00	1166	[DEBUG]	Executed store
2023-10-13	12:40:00	1166	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:00	1166	[DEBUG]	Manufacturer exists
2023-10-13	12:40:00	1166	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:00	1166	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:00	1166	[DEBUG]	Executed store
2023-10-13	12:40:00	1166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860658','32')
2023-10-13	12:40:00	1166	[DEBUG]	Find the custom field ID
2023-10-13	12:40:00	1166	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:00	1166	[DEBUG]	No custom field ID found
2023-10-13	12:40:00	1166	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:00	1166	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	12:40:00	1166	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860658 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:00	1166	[DEBUG]	Store custom available field
2023-10-13	12:40:00	1166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860658,3,'99.6225',1)
2023-10-13	12:40:00	1166	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:00	1166	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:00	1166	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860658 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:00	1166	[DEBUG]	Store custom available field
2023-10-13	12:40:00	1166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860658,6,'choisir la taille',3)
2023-10-13	12:40:00	1166	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:00	1166	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:00	1166	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:00	1166	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:00	1166	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860658 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:00	1166	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:00	1166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860658,8,1)
2023-10-13	12:40:00	1166	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:00	1166	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860658\":[1860658,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860658
2023-10-13	12:40:00	1166	[DEBUG]	Checking category
2023-10-13	12:40:00	1166	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:00	1166	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860658
2023-10-13	12:40:00	1166	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:00	1166	[DEBUG]	Executed store
2023-10-13	12:40:00	1166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860658','7289')
2023-10-13	12:40:00	1166	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:00	1166	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860658 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:00	1166	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:00	1166	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860658
2023-10-13	12:40:00	1167	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:00	1167	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:00	1167	[DEBUG]	Use field value for field taille
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:00	1167	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:00	1167	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:00	1167	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:00	1167	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:00	1167	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:00	1167	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:00	1167	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:00	1167	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:00	1167	[DEBUG]	Use field value for field published
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:00	1167	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field override
2023-10-13	12:40:00	1167	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:00	1167	[DEBUG]	Use field value for field slug
2023-10-13	12:40:00	1167	[DEBUG]	Process line 1167
2023-10-13	12:40:00	1167	[DEBUG]	Load a row
2023-10-13	12:40:00	1167	[DEBUG]	Processing item: 8436047355872
2023-10-13	12:40:00	1167	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:00	1167	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:00	1167	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_918_12'
2023-10-13	12:40:00	1167	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:00	1167	[DEBUG]	Processing product tax
2023-10-13	12:40:00	1167	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:00	1167	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:00	1167	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:00	1167	[DEBUG]	Query for Product
2023-10-13	12:40:00	1167	[DEBUG]	Executed store
2023-10-13	12:40:00	1167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860658','8436047355872','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:00	1167	[DEBUG]	No parent found
2023-10-13	12:40:00	1167	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860658 AND customfield_value = 'stockable'
2023-10-13	12:40:00	1167	[DEBUG]	Check product language entry
2023-10-13	12:40:00	1167	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860659
2023-10-13	12:40:00	1167	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:00	1167	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047355872' AND `virtuemart_product_id` != 1860659
2023-10-13	12:40:00	1167	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:00	1167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860659, '8436047355872')
2023-10-13	12:40:00	1167	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:00	1167	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-9s-112l-247-gr-blanc-unitaire' AND `virtuemart_product_id` != 1860659
2023-10-13	12:40:00	1167	[DEBUG]	Query for ProductLang
2023-10-13	12:40:00	1167	[DEBUG]	Executed store
2023-10-13	12:40:00	1167	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC Ultralight 9s 112l, 247 gr.,  / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-9s-112l-247-gr-blanc-unitaire' WHERE `virtuemart_product_id` = '1860659'
2023-10-13	12:40:00	1167	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1211.jpg
2023-10-13	12:40:00	1167	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:40:00	1167	[DEBUG]	Process image file
2023-10-13	12:40:00	1167	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:40:00	1167	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:00	1167	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1211.jpg
2023-10-13	12:40:00	1167	[DEBUG]	Full name target: bcprisme/image_1211.jpg
2023-10-13	12:40:01	1167	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:01	1167	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1211.jpg'
2023-10-13	12:40:01	1167	[DEBUG]	Query for Media
2023-10-13	12:40:01	1167	[DEBUG]	Executed store
2023-10-13	12:40:01	1167	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1211.jpg',`file_url_thumb`='bcprisme/image_1211.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12575'
2023-10-13	12:40:01	1167	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:01	1167	[DEBUG]	Executed store
2023-10-13	12:40:01	1167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860659','12575','1')
2023-10-13	12:40:01	1167	[DEBUG]	Store product image relation
2023-10-13	12:40:01	1167	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:01	1167	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860659 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:01	1167	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:01	1167	[DEBUG]	Executed store
2023-10-13	12:40:01	1167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860659','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:01	1167	[DEBUG]	Checking manufacturer
2023-10-13	12:40:01	1167	[DEBUG]	Load a row
2023-10-13	12:40:01	1167	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:01	1167	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:01	1167	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:01	1167	[DEBUG]	Executed store
2023-10-13	12:40:01	1167	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:01	1167	[DEBUG]	Manufacturer exists
2023-10-13	12:40:01	1167	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:01	1167	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:01	1167	[DEBUG]	Executed store
2023-10-13	12:40:01	1167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860659','32')
2023-10-13	12:40:01	1167	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:01	1167	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:01	1167	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860659 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:01	1167	[DEBUG]	Store custom available field
2023-10-13	12:40:01	1167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860659,3,'',1)
2023-10-13	12:40:01	1167	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:01	1167	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:40:01	1167	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860659 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:01	1167	[DEBUG]	Store custom available field
2023-10-13	12:40:01	1167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860659,6,'Unitaire',3)
2023-10-13	12:40:01	1167	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:01	1167	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:01	1167	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860658
2023-10-13	12:40:01	1167	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:01	1167	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860658\":[1860658,8,1,\"choisir la taille\"],\"1860659\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860658
2023-10-13	12:40:01	1167	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:01	1167	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860659
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:01	1168	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field taille
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:01	1168	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:01	1168	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:01	1168	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:01	1168	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:01	1168	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:01	1168	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field published
2023-10-13	12:40:01	1168	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:01	1168	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field override
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:01	1168	[DEBUG]	Use field value for field slug
2023-10-13	12:40:01	1168	[DEBUG]	Process line 1168
2023-10-13	12:40:02	1168	[DEBUG]	Load a row
2023-10-13	12:40:02	1168	[DEBUG]	Processing item: A_918_22
2023-10-13	12:40:02	1168	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:02	1168	[DEBUG]	Processing product tax
2023-10-13	12:40:02	1168	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:02	1168	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:02	1168	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:02	1168	[DEBUG]	Query for Product
2023-10-13	12:40:02	1168	[DEBUG]	Executed store
2023-10-13	12:40:02	1168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_918_22','0.247','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:02	1168	[DEBUG]	Check product language entry
2023-10-13	12:40:02	1168	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860660
2023-10-13	12:40:02	1168	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:02	1168	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_918_22' AND `virtuemart_product_id` != 1860660
2023-10-13	12:40:02	1168	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:02	1168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860660, 'A_918_22')
2023-10-13	12:40:02	1168	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:02	1168	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-9s-112l-247-gr-bleu' AND `virtuemart_product_id` != 1860660
2023-10-13	12:40:02	1168	[DEBUG]	Query for ProductLang
2023-10-13	12:40:02	1168	[DEBUG]	Executed store
2023-10-13	12:40:02	1168	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='9 vitesses, 247gr, très longue durée de vie<br>N° art fourn : SFL901',`product_name`='MSC Chaîne MSC Ultralight 9s 112l, 247 gr.,  / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-9s-112l-247-gr-bleu' WHERE `virtuemart_product_id` = '1860660'
2023-10-13	12:40:02	1168	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1208.jpg
2023-10-13	12:40:02	1168	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:40:02	1168	[DEBUG]	Process image file
2023-10-13	12:40:02	1168	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:40:02	1168	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:02	1168	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1208.jpg
2023-10-13	12:40:02	1168	[DEBUG]	Full name target: bcprisme/image_1208.jpg
2023-10-13	12:40:03	1168	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:03	1168	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1208.jpg'
2023-10-13	12:40:03	1168	[DEBUG]	Query for Media
2023-10-13	12:40:03	1168	[DEBUG]	Executed store
2023-10-13	12:40:03	1168	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1208.jpg',`file_url_thumb`='bcprisme/image_1208.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12576'
2023-10-13	12:40:03	1168	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:03	1168	[DEBUG]	Executed store
2023-10-13	12:40:03	1168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860660','12576','1')
2023-10-13	12:40:03	1168	[DEBUG]	Store product image relation
2023-10-13	12:40:03	1168	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:03	1168	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860660 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:03	1168	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:03	1168	[DEBUG]	Executed store
2023-10-13	12:40:03	1168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860660','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:03	1168	[DEBUG]	Checking manufacturer
2023-10-13	12:40:03	1168	[DEBUG]	Load a row
2023-10-13	12:40:03	1168	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:03	1168	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:03	1168	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:03	1168	[DEBUG]	Executed store
2023-10-13	12:40:03	1168	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:03	1168	[DEBUG]	Manufacturer exists
2023-10-13	12:40:03	1168	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:03	1168	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:03	1168	[DEBUG]	Executed store
2023-10-13	12:40:03	1168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860660','32')
2023-10-13	12:40:03	1168	[DEBUG]	Find the custom field ID
2023-10-13	12:40:03	1168	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:03	1168	[DEBUG]	No custom field ID found
2023-10-13	12:40:03	1168	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:03	1168	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	12:40:03	1168	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860660 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:03	1168	[DEBUG]	Store custom available field
2023-10-13	12:40:03	1168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860660,3,'99.6225',1)
2023-10-13	12:40:03	1168	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:03	1168	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:03	1168	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860660 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:03	1168	[DEBUG]	Store custom available field
2023-10-13	12:40:03	1168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860660,6,'choisir la taille',3)
2023-10-13	12:40:03	1168	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:03	1168	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:03	1168	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:03	1168	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:03	1168	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860660 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:03	1168	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:03	1168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860660,8,1)
2023-10-13	12:40:03	1168	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:03	1168	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860660\":[1860660,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860660
2023-10-13	12:40:03	1168	[DEBUG]	Checking category
2023-10-13	12:40:03	1168	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:03	1168	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860660
2023-10-13	12:40:03	1168	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:03	1168	[DEBUG]	Executed store
2023-10-13	12:40:03	1168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860660','7289')
2023-10-13	12:40:03	1168	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:03	1168	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860660 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:03	1168	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:03	1168	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860660
2023-10-13	12:40:03	1169	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:03	1169	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:03	1169	[DEBUG]	Use field value for field taille
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:03	1169	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:03	1169	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:03	1169	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:03	1169	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:03	1169	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:03	1169	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:03	1169	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:03	1169	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:03	1169	[DEBUG]	Use field value for field published
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:03	1169	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field override
2023-10-13	12:40:03	1169	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:03	1169	[DEBUG]	Use field value for field slug
2023-10-13	12:40:03	1169	[DEBUG]	Process line 1169
2023-10-13	12:40:03	1169	[DEBUG]	Load a row
2023-10-13	12:40:03	1169	[DEBUG]	Processing item: 8436047355841
2023-10-13	12:40:03	1169	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:03	1169	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:03	1169	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_918_22'
2023-10-13	12:40:03	1169	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:03	1169	[DEBUG]	Processing product tax
2023-10-13	12:40:03	1169	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:03	1169	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:03	1169	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:03	1169	[DEBUG]	Query for Product
2023-10-13	12:40:03	1169	[DEBUG]	Executed store
2023-10-13	12:40:03	1169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860660','8436047355841','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:03	1169	[DEBUG]	No parent found
2023-10-13	12:40:03	1169	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860660 AND customfield_value = 'stockable'
2023-10-13	12:40:03	1169	[DEBUG]	Check product language entry
2023-10-13	12:40:03	1169	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860661
2023-10-13	12:40:03	1169	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:03	1169	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047355841' AND `virtuemart_product_id` != 1860661
2023-10-13	12:40:03	1169	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:03	1169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860661, '8436047355841')
2023-10-13	12:40:03	1169	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:03	1169	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-9s-112l-247-gr-bleu-unitaire' AND `virtuemart_product_id` != 1860661
2023-10-13	12:40:03	1169	[DEBUG]	Query for ProductLang
2023-10-13	12:40:03	1169	[DEBUG]	Executed store
2023-10-13	12:40:03	1169	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC Ultralight 9s 112l, 247 gr.,  / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-9s-112l-247-gr-bleu-unitaire' WHERE `virtuemart_product_id` = '1860661'
2023-10-13	12:40:03	1169	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1208.jpg
2023-10-13	12:40:03	1169	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:40:03	1169	[DEBUG]	Process image file
2023-10-13	12:40:03	1169	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:40:03	1169	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:03	1169	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1208.jpg
2023-10-13	12:40:03	1169	[DEBUG]	Full name target: bcprisme/image_1208.jpg
2023-10-13	12:40:04	1169	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:04	1169	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1208.jpg'
2023-10-13	12:40:04	1169	[DEBUG]	Query for Media
2023-10-13	12:40:04	1169	[DEBUG]	Executed store
2023-10-13	12:40:04	1169	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1208.jpg',`file_url_thumb`='bcprisme/image_1208.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12576'
2023-10-13	12:40:04	1169	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:04	1169	[DEBUG]	Executed store
2023-10-13	12:40:04	1169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860661','12576','1')
2023-10-13	12:40:04	1169	[DEBUG]	Store product image relation
2023-10-13	12:40:04	1169	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:04	1169	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860661 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:04	1169	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:04	1169	[DEBUG]	Executed store
2023-10-13	12:40:04	1169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860661','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:04	1169	[DEBUG]	Checking manufacturer
2023-10-13	12:40:04	1169	[DEBUG]	Load a row
2023-10-13	12:40:04	1169	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:04	1169	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:04	1169	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:04	1169	[DEBUG]	Executed store
2023-10-13	12:40:04	1169	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:04	1169	[DEBUG]	Manufacturer exists
2023-10-13	12:40:04	1169	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:04	1169	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:04	1169	[DEBUG]	Executed store
2023-10-13	12:40:04	1169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860661','32')
2023-10-13	12:40:04	1169	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:04	1169	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:04	1169	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860661 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:04	1169	[DEBUG]	Store custom available field
2023-10-13	12:40:04	1169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860661,3,'',1)
2023-10-13	12:40:04	1169	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:04	1169	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:40:04	1169	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860661 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:04	1169	[DEBUG]	Store custom available field
2023-10-13	12:40:04	1169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860661,6,'Unitaire',3)
2023-10-13	12:40:04	1169	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:04	1169	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:04	1169	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860660
2023-10-13	12:40:04	1169	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:04	1169	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860660\":[1860660,8,1,\"choisir la taille\"],\"1860661\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860660
2023-10-13	12:40:04	1169	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:04	1169	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860661
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:04	1170	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field taille
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:04	1170	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:04	1170	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:04	1170	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:04	1170	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:04	1170	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:04	1170	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field published
2023-10-13	12:40:04	1170	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:04	1170	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field override
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:04	1170	[DEBUG]	Use field value for field slug
2023-10-13	12:40:04	1170	[DEBUG]	Process line 1170
2023-10-13	12:40:04	1170	[DEBUG]	Load a row
2023-10-13	12:40:04	1170	[DEBUG]	Processing item: A_924_36
2023-10-13	12:40:04	1170	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:04	1170	[DEBUG]	Processing product tax
2023-10-13	12:40:04	1170	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:04	1170	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:04	1170	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:04	1170	[DEBUG]	Query for Product
2023-10-13	12:40:04	1170	[DEBUG]	Executed store
2023-10-13	12:40:04	1170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_924_36','0.237','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:04	1170	[DEBUG]	Check product language entry
2023-10-13	12:40:04	1170	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860662
2023-10-13	12:40:04	1170	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:04	1170	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_924_36' AND `virtuemart_product_id` != 1860662
2023-10-13	12:40:04	1170	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:04	1170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860662, 'A_924_36')
2023-10-13	12:40:04	1170	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:04	1170	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-titanium-ultralight-9s-112l-237-gr-titane' AND `virtuemart_product_id` != 1860662
2023-10-13	12:40:04	1170	[DEBUG]	Query for ProductLang
2023-10-13	12:40:04	1170	[DEBUG]	Executed store
2023-10-13	12:40:04	1170	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='9 vitesses, 237gr<br>N° art fourn : SL901TI',`product_name`='MSC Chaîne MSC Titanium Ultralight 9s 112l, 237 gr. / Titane',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-titanium-ultralight-9s-112l-237-gr-titane' WHERE `virtuemart_product_id` = '1860662'
2023-10-13	12:40:04	1170	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1219.jpg
2023-10-13	12:40:04	1170	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:04	1170	[DEBUG]	Process image file
2023-10-13	12:40:04	1170	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:04	1170	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:04	1170	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1219.jpg
2023-10-13	12:40:04	1170	[DEBUG]	Full name target: bcprisme/image_1219.jpg
2023-10-13	12:40:05	1170	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:05	1170	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1219.jpg'
2023-10-13	12:40:05	1170	[DEBUG]	Query for Media
2023-10-13	12:40:05	1170	[DEBUG]	Executed store
2023-10-13	12:40:05	1170	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1219.jpg',`file_url_thumb`='bcprisme/image_1219.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12577'
2023-10-13	12:40:05	1170	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:05	1170	[DEBUG]	Executed store
2023-10-13	12:40:05	1170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860662','12577','1')
2023-10-13	12:40:05	1170	[DEBUG]	Store product image relation
2023-10-13	12:40:05	1170	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:05	1170	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860662 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:05	1170	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:05	1170	[DEBUG]	Executed store
2023-10-13	12:40:05	1170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860662','0','213.463324048282','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:05	1170	[DEBUG]	Checking manufacturer
2023-10-13	12:40:05	1170	[DEBUG]	Load a row
2023-10-13	12:40:05	1170	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:05	1170	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:05	1170	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:05	1170	[DEBUG]	Executed store
2023-10-13	12:40:05	1170	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:05	1170	[DEBUG]	Manufacturer exists
2023-10-13	12:40:05	1170	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:05	1170	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:05	1170	[DEBUG]	Executed store
2023-10-13	12:40:05	1170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860662','32')
2023-10-13	12:40:05	1170	[DEBUG]	Find the custom field ID
2023-10-13	12:40:05	1170	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:05	1170	[DEBUG]	No custom field ID found
2023-10-13	12:40:05	1170	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:05	1170	[DEBUG]	Get existing row with customfield value 229.261388888889
2023-10-13	12:40:05	1170	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860662 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:05	1170	[DEBUG]	Store custom available field
2023-10-13	12:40:05	1170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860662,3,'229.261388888889',1)
2023-10-13	12:40:05	1170	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:05	1170	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:05	1170	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860662 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:05	1170	[DEBUG]	Store custom available field
2023-10-13	12:40:05	1170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860662,6,'choisir la taille',3)
2023-10-13	12:40:05	1170	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:05	1170	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:05	1170	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:05	1170	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:05	1170	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860662 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:05	1170	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:05	1170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860662,8,1)
2023-10-13	12:40:05	1170	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:05	1170	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860662\":[1860662,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860662
2023-10-13	12:40:05	1170	[DEBUG]	Checking category
2023-10-13	12:40:05	1170	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:05	1170	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860662
2023-10-13	12:40:05	1170	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:05	1170	[DEBUG]	Executed store
2023-10-13	12:40:05	1170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860662','7289')
2023-10-13	12:40:05	1170	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:05	1170	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860662 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:05	1170	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:05	1170	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860662
2023-10-13	12:40:05	1171	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:05	1171	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:05	1171	[DEBUG]	Use field value for field taille
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:05	1171	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:05	1171	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:05	1171	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:05	1171	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:05	1171	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:05	1171	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:05	1171	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:05	1171	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:05	1171	[DEBUG]	Use field value for field published
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:05	1171	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field override
2023-10-13	12:40:05	1171	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:05	1171	[DEBUG]	Use field value for field slug
2023-10-13	12:40:05	1171	[DEBUG]	Process line 1171
2023-10-13	12:40:05	1171	[DEBUG]	Load a row
2023-10-13	12:40:05	1171	[DEBUG]	Processing item: 8436047350686
2023-10-13	12:40:05	1171	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:05	1171	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:05	1171	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_924_36'
2023-10-13	12:40:05	1171	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:05	1171	[DEBUG]	Processing product tax
2023-10-13	12:40:05	1171	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:05	1171	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:05	1171	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:05	1171	[DEBUG]	Query for Product
2023-10-13	12:40:05	1171	[DEBUG]	Executed store
2023-10-13	12:40:05	1171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860662','8436047350686','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:05	1171	[DEBUG]	No parent found
2023-10-13	12:40:05	1171	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860662 AND customfield_value = 'stockable'
2023-10-13	12:40:05	1171	[DEBUG]	Check product language entry
2023-10-13	12:40:05	1171	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860663
2023-10-13	12:40:05	1171	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:05	1171	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047350686' AND `virtuemart_product_id` != 1860663
2023-10-13	12:40:05	1171	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:05	1171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860663, '8436047350686')
2023-10-13	12:40:05	1171	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:05	1171	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-titanium-ultralight-9s-112l-237-gr-titane-unitaire' AND `virtuemart_product_id` != 1860663
2023-10-13	12:40:05	1171	[DEBUG]	Query for ProductLang
2023-10-13	12:40:05	1171	[DEBUG]	Executed store
2023-10-13	12:40:05	1171	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC Titanium Ultralight 9s 112l, 237 gr. / Titane (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-titanium-ultralight-9s-112l-237-gr-titane-unitaire' WHERE `virtuemart_product_id` = '1860663'
2023-10-13	12:40:05	1171	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1219.jpg
2023-10-13	12:40:05	1171	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:05	1171	[DEBUG]	Process image file
2023-10-13	12:40:05	1171	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:05	1171	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:05	1171	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1219.jpg
2023-10-13	12:40:05	1171	[DEBUG]	Full name target: bcprisme/image_1219.jpg
2023-10-13	12:40:06	1171	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:06	1171	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1219.jpg'
2023-10-13	12:40:06	1171	[DEBUG]	Query for Media
2023-10-13	12:40:06	1171	[DEBUG]	Executed store
2023-10-13	12:40:06	1171	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1219.jpg',`file_url_thumb`='bcprisme/image_1219.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12577'
2023-10-13	12:40:06	1171	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:06	1171	[DEBUG]	Executed store
2023-10-13	12:40:06	1171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860663','12577','1')
2023-10-13	12:40:06	1171	[DEBUG]	Store product image relation
2023-10-13	12:40:06	1171	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:06	1171	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860663 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:06	1171	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:06	1171	[DEBUG]	Executed store
2023-10-13	12:40:06	1171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860663','0','213.463324048282','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:06	1171	[DEBUG]	Checking manufacturer
2023-10-13	12:40:06	1171	[DEBUG]	Load a row
2023-10-13	12:40:06	1171	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:06	1171	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:06	1171	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:06	1171	[DEBUG]	Executed store
2023-10-13	12:40:06	1171	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:06	1171	[DEBUG]	Manufacturer exists
2023-10-13	12:40:06	1171	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:06	1171	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:06	1171	[DEBUG]	Executed store
2023-10-13	12:40:06	1171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860663','32')
2023-10-13	12:40:06	1171	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:06	1171	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:06	1171	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860663 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:06	1171	[DEBUG]	Store custom available field
2023-10-13	12:40:06	1171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860663,3,'',1)
2023-10-13	12:40:06	1171	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:06	1171	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:40:06	1171	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860663 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:06	1171	[DEBUG]	Store custom available field
2023-10-13	12:40:06	1171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860663,6,'Unitaire',3)
2023-10-13	12:40:06	1171	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:06	1171	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:06	1171	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860662
2023-10-13	12:40:06	1171	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:06	1171	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860662\":[1860662,8,1,\"choisir la taille\"],\"1860663\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860662
2023-10-13	12:40:06	1171	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:06	1171	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860663
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:06	1172	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field taille
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:06	1172	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:06	1172	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:06	1172	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:06	1172	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:06	1172	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:06	1172	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field published
2023-10-13	12:40:06	1172	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:06	1172	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field override
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:06	1172	[DEBUG]	Use field value for field slug
2023-10-13	12:40:06	1172	[DEBUG]	Process line 1172
2023-10-13	12:40:06	1172	[DEBUG]	Load a row
2023-10-13	12:40:06	1172	[DEBUG]	Processing item: A_1250_4
2023-10-13	12:40:06	1172	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:06	1172	[DEBUG]	Processing product tax
2023-10-13	12:40:06	1172	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:06	1172	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:06	1172	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:06	1172	[DEBUG]	Query for Product
2023-10-13	12:40:06	1172	[DEBUG]	Executed store
2023-10-13	12:40:06	1172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1250_4','0.247','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:06	1172	[DEBUG]	Check product language entry
2023-10-13	12:40:06	1172	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860664
2023-10-13	12:40:06	1172	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:06	1172	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1250_4' AND `virtuemart_product_id` != 1860664
2023-10-13	12:40:06	1172	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:06	1172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860664, 'A_1250_4')
2023-10-13	12:40:06	1172	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:06	1172	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-9s-112l-247-gr-acier' AND `virtuemart_product_id` != 1860664
2023-10-13	12:40:06	1172	[DEBUG]	Query for ProductLang
2023-10-13	12:40:06	1172	[DEBUG]	Executed store
2023-10-13	12:40:06	1172	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='247gr<br>N° art fourn : SL901DHA',`product_name`='MSC Chaîne MSC Ultralight 9s 112l , 247 gr / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-9s-112l-247-gr-acier' WHERE `virtuemart_product_id` = '1860664'
2023-10-13	12:40:06	1172	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1689.jpg
2023-10-13	12:40:06	1172	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:40:06	1172	[DEBUG]	Process image file
2023-10-13	12:40:06	1172	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:40:06	1172	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:06	1172	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1689.jpg
2023-10-13	12:40:06	1172	[DEBUG]	Full name target: bcprisme/image_1689.jpg
2023-10-13	12:40:07	1172	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:07	1172	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1689.jpg'
2023-10-13	12:40:07	1172	[DEBUG]	Query for Media
2023-10-13	12:40:07	1172	[DEBUG]	Executed store
2023-10-13	12:40:07	1172	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1689.jpg',`file_url_thumb`='bcprisme/image_1689.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12578'
2023-10-13	12:40:07	1172	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:07	1172	[DEBUG]	Executed store
2023-10-13	12:40:07	1172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860664','12578','1')
2023-10-13	12:40:07	1172	[DEBUG]	Store product image relation
2023-10-13	12:40:07	1172	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:07	1172	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860664 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:07	1172	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:07	1172	[DEBUG]	Executed store
2023-10-13	12:40:07	1172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860664','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:07	1172	[DEBUG]	Checking manufacturer
2023-10-13	12:40:07	1172	[DEBUG]	Load a row
2023-10-13	12:40:07	1172	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:07	1172	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:07	1172	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:07	1172	[DEBUG]	Executed store
2023-10-13	12:40:07	1172	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:07	1172	[DEBUG]	Manufacturer exists
2023-10-13	12:40:07	1172	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:07	1172	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:07	1172	[DEBUG]	Executed store
2023-10-13	12:40:07	1172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860664','32')
2023-10-13	12:40:07	1172	[DEBUG]	Find the custom field ID
2023-10-13	12:40:07	1172	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:07	1172	[DEBUG]	No custom field ID found
2023-10-13	12:40:07	1172	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:07	1172	[DEBUG]	Get existing row with customfield value 79.6780555555556
2023-10-13	12:40:07	1172	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860664 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:07	1172	[DEBUG]	Store custom available field
2023-10-13	12:40:07	1172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860664,3,'79.6780555555556',1)
2023-10-13	12:40:07	1172	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:07	1172	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:07	1172	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860664 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:07	1172	[DEBUG]	Store custom available field
2023-10-13	12:40:07	1172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860664,6,'choisir la taille',3)
2023-10-13	12:40:07	1172	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:07	1172	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:07	1172	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:07	1172	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:07	1172	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860664 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:07	1172	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:07	1172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860664,8,1)
2023-10-13	12:40:07	1172	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:07	1172	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860664\":[1860664,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860664
2023-10-13	12:40:07	1172	[DEBUG]	Checking category
2023-10-13	12:40:07	1172	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:07	1172	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860664
2023-10-13	12:40:07	1172	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:07	1172	[DEBUG]	Executed store
2023-10-13	12:40:07	1172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860664','7289')
2023-10-13	12:40:07	1172	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:07	1172	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860664 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:07	1172	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:07	1172	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860664
2023-10-13	12:40:07	1173	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:07	1173	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:07	1173	[DEBUG]	Use field value for field taille
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:07	1173	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:07	1173	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:07	1173	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:07	1173	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:07	1173	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:07	1173	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:07	1173	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:07	1173	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:07	1173	[DEBUG]	Use field value for field published
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:07	1173	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field override
2023-10-13	12:40:07	1173	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:07	1173	[DEBUG]	Use field value for field slug
2023-10-13	12:40:07	1173	[DEBUG]	Process line 1173
2023-10-13	12:40:07	1173	[DEBUG]	Load a row
2023-10-13	12:40:07	1173	[DEBUG]	Processing item: 8436041559566
2023-10-13	12:40:07	1173	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:07	1173	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:07	1173	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1250_4'
2023-10-13	12:40:07	1173	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:07	1173	[DEBUG]	Processing product tax
2023-10-13	12:40:07	1173	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:07	1173	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:07	1173	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:07	1173	[DEBUG]	Query for Product
2023-10-13	12:40:07	1173	[DEBUG]	Executed store
2023-10-13	12:40:07	1173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860664','8436041559566','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:07	1173	[DEBUG]	No parent found
2023-10-13	12:40:07	1173	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860664 AND customfield_value = 'stockable'
2023-10-13	12:40:07	1173	[DEBUG]	Check product language entry
2023-10-13	12:40:07	1173	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860665
2023-10-13	12:40:07	1173	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:07	1173	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559566' AND `virtuemart_product_id` != 1860665
2023-10-13	12:40:07	1173	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:07	1173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860665, '8436041559566')
2023-10-13	12:40:07	1173	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:07	1173	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-msc-ultralight-9s-112l-247-gr-acier-unitaire' AND `virtuemart_product_id` != 1860665
2023-10-13	12:40:07	1173	[DEBUG]	Query for ProductLang
2023-10-13	12:40:07	1173	[DEBUG]	Executed store
2023-10-13	12:40:07	1173	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne MSC Ultralight 9s 112l , 247 gr / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-msc-ultralight-9s-112l-247-gr-acier-unitaire' WHERE `virtuemart_product_id` = '1860665'
2023-10-13	12:40:07	1173	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1689.jpg
2023-10-13	12:40:07	1173	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:40:07	1173	[DEBUG]	Process image file
2023-10-13	12:40:07	1173	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:40:07	1173	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:07	1173	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1689.jpg
2023-10-13	12:40:07	1173	[DEBUG]	Full name target: bcprisme/image_1689.jpg
2023-10-13	12:40:08	1173	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:08	1173	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1689.jpg'
2023-10-13	12:40:08	1173	[DEBUG]	Query for Media
2023-10-13	12:40:08	1173	[DEBUG]	Executed store
2023-10-13	12:40:08	1173	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1689.jpg',`file_url_thumb`='bcprisme/image_1689.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12578'
2023-10-13	12:40:08	1173	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:08	1173	[DEBUG]	Executed store
2023-10-13	12:40:08	1173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860665','12578','1')
2023-10-13	12:40:08	1173	[DEBUG]	Store product image relation
2023-10-13	12:40:08	1173	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:08	1173	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860665 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:08	1173	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:08	1173	[DEBUG]	Executed store
2023-10-13	12:40:08	1173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860665','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:08	1173	[DEBUG]	Checking manufacturer
2023-10-13	12:40:08	1173	[DEBUG]	Load a row
2023-10-13	12:40:08	1173	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:08	1173	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:08	1173	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:08	1173	[DEBUG]	Executed store
2023-10-13	12:40:08	1173	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:08	1173	[DEBUG]	Manufacturer exists
2023-10-13	12:40:08	1173	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:08	1173	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:08	1173	[DEBUG]	Executed store
2023-10-13	12:40:08	1173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860665','32')
2023-10-13	12:40:08	1173	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:08	1173	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:08	1173	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860665 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:08	1173	[DEBUG]	Store custom available field
2023-10-13	12:40:08	1173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860665,3,'',1)
2023-10-13	12:40:08	1173	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:08	1173	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:40:08	1173	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860665 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:08	1173	[DEBUG]	Store custom available field
2023-10-13	12:40:08	1173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860665,6,'Unitaire',3)
2023-10-13	12:40:08	1173	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:08	1173	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:08	1173	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860664
2023-10-13	12:40:08	1173	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:08	1173	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860664\":[1860664,8,1,\"choisir la taille\"],\"1860665\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860664
2023-10-13	12:40:08	1173	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:08	1173	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860665
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:08	1174	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field taille
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:08	1174	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:08	1174	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:08	1174	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:08	1174	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:08	1174	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:08	1174	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field published
2023-10-13	12:40:08	1174	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:08	1174	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field override
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:08	1174	[DEBUG]	Use field value for field slug
2023-10-13	12:40:08	1174	[DEBUG]	Process line 1174
2023-10-13	12:40:08	1174	[DEBUG]	Load a row
2023-10-13	12:40:08	1174	[DEBUG]	Processing item: A_1286_13
2023-10-13	12:40:08	1174	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:08	1174	[DEBUG]	Processing product tax
2023-10-13	12:40:08	1174	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:08	1174	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:08	1174	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:08	1174	[DEBUG]	Query for Product
2023-10-13	12:40:08	1174	[DEBUG]	Executed store
2023-10-13	12:40:08	1174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1286_13','0.008','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:08	1174	[DEBUG]	Check product language entry
2023-10-13	12:40:08	1174	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860666
2023-10-13	12:40:08	1174	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:08	1174	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1286_13' AND `virtuemart_product_id` != 1860666
2023-10-13	12:40:08	1174	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:08	1174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860666, 'A_1286_13')
2023-10-13	12:40:08	1174	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:08	1174	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-raponses-de-chaines-rapides-msc-link-9-vitesses-1-piece-argent' AND `virtuemart_product_id` != 1860666
2023-10-13	12:40:08	1174	[DEBUG]	Query for ProductLang
2023-10-13	12:40:08	1174	[DEBUG]	Executed store
2023-10-13	12:40:08	1174	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Rapponses de chaînes MSC Link 9 vitesses 20 pièces<br>N° art fourn : ESLA9',`product_name`='MSC Raponses de chaînes rapides MSC Link 9 vitesses 1 pièce / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-raponses-de-chaines-rapides-msc-link-9-vitesses-1-piece-argent' WHERE `virtuemart_product_id` = '1860666'
2023-10-13	12:40:08	1174	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2552.jpg
2023-10-13	12:40:08	1174	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:08	1174	[DEBUG]	Process image file
2023-10-13	12:40:08	1174	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:08	1174	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:08	1174	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2552.jpg
2023-10-13	12:40:08	1174	[DEBUG]	Full name target: bcprisme/image_2552.jpg
2023-10-13	12:40:09	1174	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:09	1174	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2552.jpg'
2023-10-13	12:40:09	1174	[DEBUG]	Query for Media
2023-10-13	12:40:09	1174	[DEBUG]	Executed store
2023-10-13	12:40:09	1174	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2552.jpg',`file_url_thumb`='bcprisme/image_2552.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12579'
2023-10-13	12:40:09	1174	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:09	1174	[DEBUG]	Executed store
2023-10-13	12:40:09	1174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860666','12579','1')
2023-10-13	12:40:09	1174	[DEBUG]	Store product image relation
2023-10-13	12:40:09	1174	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:09	1174	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860666 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:09	1174	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:09	1174	[DEBUG]	Executed store
2023-10-13	12:40:09	1174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860666','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:09	1174	[DEBUG]	Checking manufacturer
2023-10-13	12:40:09	1174	[DEBUG]	Load a row
2023-10-13	12:40:09	1174	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:09	1174	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:09	1174	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:09	1174	[DEBUG]	Executed store
2023-10-13	12:40:09	1174	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:09	1174	[DEBUG]	Manufacturer exists
2023-10-13	12:40:09	1174	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:09	1174	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:09	1174	[DEBUG]	Executed store
2023-10-13	12:40:09	1174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860666','32')
2023-10-13	12:40:09	1174	[DEBUG]	Find the custom field ID
2023-10-13	12:40:09	1174	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:09	1174	[DEBUG]	No custom field ID found
2023-10-13	12:40:09	1174	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:09	1174	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:40:09	1174	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860666 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:09	1174	[DEBUG]	Store custom available field
2023-10-13	12:40:09	1174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860666,3,'49.7613888888889',1)
2023-10-13	12:40:09	1174	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:09	1174	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:09	1174	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860666 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:09	1174	[DEBUG]	Store custom available field
2023-10-13	12:40:09	1174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860666,6,'choisir la taille',3)
2023-10-13	12:40:09	1174	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:09	1174	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:09	1174	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:09	1174	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:09	1174	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860666 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:09	1174	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:09	1174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860666,8,1)
2023-10-13	12:40:09	1174	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:09	1174	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860666\":[1860666,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860666
2023-10-13	12:40:09	1174	[DEBUG]	Checking category
2023-10-13	12:40:09	1174	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:09	1174	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860666
2023-10-13	12:40:09	1174	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:09	1174	[DEBUG]	Executed store
2023-10-13	12:40:09	1174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860666','7289')
2023-10-13	12:40:09	1174	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:09	1174	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860666 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:09	1174	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:09	1174	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860666
2023-10-13	12:40:09	1175	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:09	1175	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:09	1175	[DEBUG]	Use field value for field taille
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:09	1175	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:09	1175	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:09	1175	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:09	1175	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:09	1175	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:09	1175	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:09	1175	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:09	1175	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:09	1175	[DEBUG]	Use field value for field published
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:09	1175	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field override
2023-10-13	12:40:09	1175	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:09	1175	[DEBUG]	Use field value for field slug
2023-10-13	12:40:09	1175	[DEBUG]	Process line 1175
2023-10-13	12:40:09	1175	[DEBUG]	Load a row
2023-10-13	12:40:09	1175	[DEBUG]	Processing item: 8436047354981
2023-10-13	12:40:09	1175	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:09	1175	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:09	1175	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1286_13'
2023-10-13	12:40:09	1175	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:09	1175	[DEBUG]	Processing product tax
2023-10-13	12:40:09	1175	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:09	1175	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:09	1175	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:09	1175	[DEBUG]	Query for Product
2023-10-13	12:40:09	1175	[DEBUG]	Executed store
2023-10-13	12:40:09	1175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860666','8436047354981','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:09	1175	[DEBUG]	No parent found
2023-10-13	12:40:09	1175	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860666 AND customfield_value = 'stockable'
2023-10-13	12:40:09	1175	[DEBUG]	Check product language entry
2023-10-13	12:40:09	1175	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860667
2023-10-13	12:40:09	1175	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:09	1175	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047354981' AND `virtuemart_product_id` != 1860667
2023-10-13	12:40:09	1175	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:09	1175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860667, '8436047354981')
2023-10-13	12:40:09	1175	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:09	1175	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-raponses-de-chaines-rapides-msc-link-9-vitesses-1-piece-argent-unitaire' AND `virtuemart_product_id` != 1860667
2023-10-13	12:40:09	1175	[DEBUG]	Query for ProductLang
2023-10-13	12:40:09	1175	[DEBUG]	Executed store
2023-10-13	12:40:09	1175	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Raponses de chaînes rapides MSC Link 9 vitesses 1 pièce / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-raponses-de-chaines-rapides-msc-link-9-vitesses-1-piece-argent-unitaire' WHERE `virtuemart_product_id` = '1860667'
2023-10-13	12:40:09	1175	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2552.jpg
2023-10-13	12:40:09	1175	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:09	1175	[DEBUG]	Process image file
2023-10-13	12:40:09	1175	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:09	1175	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:09	1175	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2552.jpg
2023-10-13	12:40:09	1175	[DEBUG]	Full name target: bcprisme/image_2552.jpg
2023-10-13	12:40:10	1175	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:10	1175	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2552.jpg'
2023-10-13	12:40:10	1175	[DEBUG]	Query for Media
2023-10-13	12:40:10	1175	[DEBUG]	Executed store
2023-10-13	12:40:10	1175	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2552.jpg',`file_url_thumb`='bcprisme/image_2552.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12579'
2023-10-13	12:40:10	1175	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:10	1175	[DEBUG]	Executed store
2023-10-13	12:40:10	1175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860667','12579','1')
2023-10-13	12:40:10	1175	[DEBUG]	Store product image relation
2023-10-13	12:40:10	1175	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:10	1175	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860667 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:10	1175	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:10	1175	[DEBUG]	Executed store
2023-10-13	12:40:10	1175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860667','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:10	1175	[DEBUG]	Checking manufacturer
2023-10-13	12:40:10	1175	[DEBUG]	Load a row
2023-10-13	12:40:10	1175	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:10	1175	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:10	1175	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:10	1175	[DEBUG]	Executed store
2023-10-13	12:40:10	1175	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:10	1175	[DEBUG]	Manufacturer exists
2023-10-13	12:40:10	1175	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:10	1175	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:10	1175	[DEBUG]	Executed store
2023-10-13	12:40:10	1175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860667','32')
2023-10-13	12:40:10	1175	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:10	1175	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:10	1175	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860667 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:10	1175	[DEBUG]	Store custom available field
2023-10-13	12:40:10	1175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860667,3,'',1)
2023-10-13	12:40:10	1175	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:10	1175	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:40:10	1175	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860667 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:10	1175	[DEBUG]	Store custom available field
2023-10-13	12:40:10	1175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860667,6,'Unitaire',3)
2023-10-13	12:40:10	1175	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:10	1175	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:10	1175	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860666
2023-10-13	12:40:10	1175	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:10	1175	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860666\":[1860666,8,1,\"choisir la taille\"],\"1860667\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860666
2023-10-13	12:40:10	1175	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:10	1175	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860667
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:10	1176	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field taille
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:10	1176	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:10	1176	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:10	1176	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:10	1176	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:10	1176	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field product_special
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field published
2023-10-13	12:40:10	1176	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:10	1176	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field override
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:10	1176	[DEBUG]	Use field value for field slug
2023-10-13	12:40:10	1176	[DEBUG]	Process line 1176
2023-10-13	12:40:10	1176	[DEBUG]	Load a row
2023-10-13	12:40:10	1176	[DEBUG]	Processing item: A_1505_4
2023-10-13	12:40:10	1176	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:10	1176	[DEBUG]	Processing product tax
2023-10-13	12:40:10	1176	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:10	1176	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:10	1176	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:10	1176	[DEBUG]	Query for Product
2023-10-13	12:40:10	1176	[DEBUG]	Executed store
2023-10-13	12:40:10	1176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1505_4','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:10	1176	[DEBUG]	Check product language entry
2023-10-13	12:40:10	1176	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860668
2023-10-13	12:40:10	1176	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:10	1176	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1505_4' AND `virtuemart_product_id` != 1860668
2023-10-13	12:40:10	1176	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:10	1176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860668, 'A_1505_4')
2023-10-13	12:40:10	1176	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:10	1176	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-wippermann-9-vitesses-acier-inoxidable-acier' AND `virtuemart_product_id` != 1860668
2023-10-13	12:40:10	1176	[DEBUG]	Query for ProductLang
2023-10-13	12:40:10	1176	[DEBUG]	Executed store
2023-10-13	12:40:10	1176	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaîne Wippermann 9 vitesses acier inoxidable, 113 maillons, 299 gr, livrée avec fermeture rapide<br>N° art fourn : 9X1ASM',`product_name`='MSC Chaîne Wippermann 9 vitesses acier inoxidable / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-wippermann-9-vitesses-acier-inoxidable-acier' WHERE `virtuemart_product_id` = '1860668'
2023-10-13	12:40:10	1176	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3442.jpg
2023-10-13	12:40:10	1176	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:10	1176	[DEBUG]	Process image file
2023-10-13	12:40:10	1176	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:10	1176	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:10	1176	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3442.jpg
2023-10-13	12:40:10	1176	[DEBUG]	Full name target: bcprisme/image_3442.jpg
2023-10-13	12:40:11	1176	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:11	1176	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3442.jpg'
2023-10-13	12:40:11	1176	[DEBUG]	Query for Media
2023-10-13	12:40:11	1176	[DEBUG]	Executed store
2023-10-13	12:40:11	1176	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3442.jpg',`file_url_thumb`='bcprisme/image_3442.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15812'
2023-10-13	12:40:11	1176	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:11	1176	[DEBUG]	Executed store
2023-10-13	12:40:11	1176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860668','15812','1')
2023-10-13	12:40:11	1176	[DEBUG]	Store product image relation
2023-10-13	12:40:11	1176	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:11	1176	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860668 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:11	1176	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:11	1176	[DEBUG]	Executed store
2023-10-13	12:40:11	1176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860668','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:11	1176	[DEBUG]	Checking manufacturer
2023-10-13	12:40:11	1176	[DEBUG]	Load a row
2023-10-13	12:40:11	1176	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:11	1176	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:11	1176	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:11	1176	[DEBUG]	Executed store
2023-10-13	12:40:11	1176	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:11	1176	[DEBUG]	Manufacturer exists
2023-10-13	12:40:11	1176	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:11	1176	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:11	1176	[DEBUG]	Executed store
2023-10-13	12:40:11	1176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860668','32')
2023-10-13	12:40:11	1176	[DEBUG]	Find the custom field ID
2023-10-13	12:40:11	1176	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:11	1176	[DEBUG]	No custom field ID found
2023-10-13	12:40:11	1176	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:11	1176	[DEBUG]	Get existing row with customfield value 89.6502777777778
2023-10-13	12:40:11	1176	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860668 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:11	1176	[DEBUG]	Store custom available field
2023-10-13	12:40:11	1176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860668,3,'89.6502777777778',1)
2023-10-13	12:40:11	1176	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:11	1176	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:11	1176	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860668 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:11	1176	[DEBUG]	Store custom available field
2023-10-13	12:40:11	1176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860668,6,'choisir la taille',3)
2023-10-13	12:40:11	1176	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:11	1176	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:11	1176	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:11	1176	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:11	1176	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860668 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:11	1176	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:11	1176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860668,8,1)
2023-10-13	12:40:11	1176	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:11	1176	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860668\":[1860668,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860668
2023-10-13	12:40:11	1176	[DEBUG]	Checking category
2023-10-13	12:40:11	1176	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:11	1176	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860668
2023-10-13	12:40:11	1176	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:11	1176	[DEBUG]	Executed store
2023-10-13	12:40:11	1176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860668','7289')
2023-10-13	12:40:11	1176	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:11	1176	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860668 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:11	1176	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:11	1176	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860668
2023-10-13	12:40:11	1177	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:11	1177	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:11	1177	[DEBUG]	Use field value for field taille
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:11	1177	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:11	1177	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:11	1177	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:11	1177	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:11	1177	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:11	1177	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:11	1177	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:11	1177	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:11	1177	[DEBUG]	Use field value for field published
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:11	1177	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field override
2023-10-13	12:40:11	1177	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:11	1177	[DEBUG]	Use field value for field slug
2023-10-13	12:40:11	1177	[DEBUG]	Process line 1177
2023-10-13	12:40:11	1177	[DEBUG]	Load a row
2023-10-13	12:40:11	1177	[DEBUG]	Processing item: 8436041522249
2023-10-13	12:40:11	1177	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:11	1177	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:11	1177	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1505_4'
2023-10-13	12:40:11	1177	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:11	1177	[DEBUG]	Processing product tax
2023-10-13	12:40:11	1177	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:11	1177	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:11	1177	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:11	1177	[DEBUG]	Query for Product
2023-10-13	12:40:11	1177	[DEBUG]	Executed store
2023-10-13	12:40:11	1177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860668','8436041522249','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:11	1177	[DEBUG]	No parent found
2023-10-13	12:40:11	1177	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860668 AND customfield_value = 'stockable'
2023-10-13	12:40:11	1177	[DEBUG]	Check product language entry
2023-10-13	12:40:11	1177	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860669
2023-10-13	12:40:11	1177	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:11	1177	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041522249' AND `virtuemart_product_id` != 1860669
2023-10-13	12:40:11	1177	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:11	1177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860669, '8436041522249')
2023-10-13	12:40:11	1177	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:11	1177	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-wippermann-9-vitesses-acier-inoxidable-acier-unitaire' AND `virtuemart_product_id` != 1860669
2023-10-13	12:40:11	1177	[DEBUG]	Query for ProductLang
2023-10-13	12:40:11	1177	[DEBUG]	Executed store
2023-10-13	12:40:11	1177	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne Wippermann 9 vitesses acier inoxidable / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-wippermann-9-vitesses-acier-inoxidable-acier-unitaire' WHERE `virtuemart_product_id` = '1860669'
2023-10-13	12:40:11	1177	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3442.jpg
2023-10-13	12:40:11	1177	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:11	1177	[DEBUG]	Process image file
2023-10-13	12:40:11	1177	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:11	1177	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:11	1177	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3442.jpg
2023-10-13	12:40:11	1177	[DEBUG]	Full name target: bcprisme/image_3442.jpg
2023-10-13	12:40:12	1177	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:12	1177	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3442.jpg'
2023-10-13	12:40:12	1177	[DEBUG]	Query for Media
2023-10-13	12:40:12	1177	[DEBUG]	Executed store
2023-10-13	12:40:12	1177	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3442.jpg',`file_url_thumb`='bcprisme/image_3442.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15812'
2023-10-13	12:40:12	1177	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:12	1177	[DEBUG]	Executed store
2023-10-13	12:40:12	1177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860669','15812','1')
2023-10-13	12:40:12	1177	[DEBUG]	Store product image relation
2023-10-13	12:40:12	1177	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:12	1177	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860669 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:12	1177	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:12	1177	[DEBUG]	Executed store
2023-10-13	12:40:12	1177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860669','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:12	1177	[DEBUG]	Checking manufacturer
2023-10-13	12:40:12	1177	[DEBUG]	Load a row
2023-10-13	12:40:12	1177	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:12	1177	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:12	1177	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:12	1177	[DEBUG]	Executed store
2023-10-13	12:40:12	1177	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:12	1177	[DEBUG]	Manufacturer exists
2023-10-13	12:40:12	1177	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:12	1177	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:12	1177	[DEBUG]	Executed store
2023-10-13	12:40:12	1177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860669','32')
2023-10-13	12:40:12	1177	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:12	1177	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:12	1177	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860669 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:12	1177	[DEBUG]	Store custom available field
2023-10-13	12:40:12	1177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860669,3,'',1)
2023-10-13	12:40:12	1177	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:12	1177	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:40:12	1177	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860669 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:12	1177	[DEBUG]	Store custom available field
2023-10-13	12:40:12	1177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860669,6,'Unitaire',3)
2023-10-13	12:40:13	1177	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:13	1177	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:13	1177	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860668
2023-10-13	12:40:13	1177	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:13	1177	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860668\":[1860668,8,1,\"choisir la taille\"],\"1860669\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860668
2023-10-13	12:40:13	1177	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:13	1177	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860669
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:13	1178	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field taille
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:13	1178	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:13	1178	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:13	1178	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:13	1178	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:13	1178	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field product_special
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field published
2023-10-13	12:40:13	1178	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:13	1178	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field override
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:13	1178	[DEBUG]	Use field value for field slug
2023-10-13	12:40:13	1178	[DEBUG]	Process line 1178
2023-10-13	12:40:13	1178	[DEBUG]	Load a row
2023-10-13	12:40:13	1178	[DEBUG]	Processing item: A_1506_4
2023-10-13	12:40:13	1178	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:13	1178	[DEBUG]	Processing product tax
2023-10-13	12:40:13	1178	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:13	1178	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:13	1178	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:13	1178	[DEBUG]	Query for Product
2023-10-13	12:40:13	1178	[DEBUG]	Executed store
2023-10-13	12:40:13	1178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1506_4','0.27','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:13	1178	[DEBUG]	Check product language entry
2023-10-13	12:40:13	1178	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860670
2023-10-13	12:40:13	1178	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:13	1178	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1506_4' AND `virtuemart_product_id` != 1860670
2023-10-13	12:40:13	1178	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:13	1178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860670, 'A_1506_4')
2023-10-13	12:40:13	1178	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:13	1178	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-wippermann-9-vitesses-ultra-light-270-gr-acier' AND `virtuemart_product_id` != 1860670
2023-10-13	12:40:13	1178	[DEBUG]	Query for ProductLang
2023-10-13	12:40:13	1178	[DEBUG]	Executed store
2023-10-13	12:40:13	1178	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaîne Wippermann 9 vitesses Light, 113 maillons, 270 gr. Livrée avec fermeture rapide<br>N° art fourn : 911ASM',`product_name`='MSC Chaîne Wippermann 9 vitesses Ultra-Light, 270 gr. / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-wippermann-9-vitesses-ultra-light-270-gr-acier' WHERE `virtuemart_product_id` = '1860670'
2023-10-13	12:40:13	1178	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3444.jpg
2023-10-13	12:40:13	1178	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:40:13	1178	[DEBUG]	Process image file
2023-10-13	12:40:13	1178	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:40:13	1178	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:13	1178	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3444.jpg
2023-10-13	12:40:13	1178	[DEBUG]	Full name target: bcprisme/image_3444.jpg
2023-10-13	12:40:14	1178	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:14	1178	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3444.jpg'
2023-10-13	12:40:14	1178	[DEBUG]	Query for Media
2023-10-13	12:40:14	1178	[DEBUG]	Executed store
2023-10-13	12:40:14	1178	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3444.jpg',`file_url_thumb`='bcprisme/image_3444.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12580'
2023-10-13	12:40:14	1178	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:14	1178	[DEBUG]	Executed store
2023-10-13	12:40:14	1178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860670','12580','1')
2023-10-13	12:40:14	1178	[DEBUG]	Store product image relation
2023-10-13	12:40:14	1178	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:14	1178	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860670 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:14	1178	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:14	1178	[DEBUG]	Executed store
2023-10-13	12:40:14	1178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860670','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:14	1178	[DEBUG]	Checking manufacturer
2023-10-13	12:40:14	1178	[DEBUG]	Load a row
2023-10-13	12:40:14	1178	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:14	1178	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:14	1178	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:14	1178	[DEBUG]	Executed store
2023-10-13	12:40:14	1178	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:14	1178	[DEBUG]	Manufacturer exists
2023-10-13	12:40:14	1178	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:14	1178	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:14	1178	[DEBUG]	Executed store
2023-10-13	12:40:14	1178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860670','32')
2023-10-13	12:40:14	1178	[DEBUG]	Find the custom field ID
2023-10-13	12:40:14	1178	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:14	1178	[DEBUG]	No custom field ID found
2023-10-13	12:40:14	1178	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:14	1178	[DEBUG]	Get existing row with customfield value 119.566944444444
2023-10-13	12:40:14	1178	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860670 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:14	1178	[DEBUG]	Store custom available field
2023-10-13	12:40:14	1178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860670,3,'119.566944444444',1)
2023-10-13	12:40:14	1178	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:14	1178	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:14	1178	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860670 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:14	1178	[DEBUG]	Store custom available field
2023-10-13	12:40:14	1178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860670,6,'choisir la taille',3)
2023-10-13	12:40:14	1178	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:14	1178	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:14	1178	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:14	1178	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:14	1178	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860670 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:14	1178	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:14	1178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860670,8,1)
2023-10-13	12:40:14	1178	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:14	1178	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860670\":[1860670,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860670
2023-10-13	12:40:14	1178	[DEBUG]	Checking category
2023-10-13	12:40:14	1178	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:14	1178	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860670
2023-10-13	12:40:14	1178	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:14	1178	[DEBUG]	Executed store
2023-10-13	12:40:14	1178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860670','7289')
2023-10-13	12:40:14	1178	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:14	1178	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860670 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:14	1178	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:14	1178	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860670
2023-10-13	12:40:14	1179	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:14	1179	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:14	1179	[DEBUG]	Use field value for field taille
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:14	1179	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:14	1179	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:14	1179	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:14	1179	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:14	1179	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:14	1179	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:14	1179	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:14	1179	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:14	1179	[DEBUG]	Use field value for field published
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:14	1179	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field override
2023-10-13	12:40:14	1179	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:14	1179	[DEBUG]	Use field value for field slug
2023-10-13	12:40:14	1179	[DEBUG]	Process line 1179
2023-10-13	12:40:14	1179	[DEBUG]	Load a row
2023-10-13	12:40:14	1179	[DEBUG]	Processing item: 1000000026368
2023-10-13	12:40:14	1179	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:14	1179	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:14	1179	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1506_4'
2023-10-13	12:40:14	1179	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:14	1179	[DEBUG]	Processing product tax
2023-10-13	12:40:14	1179	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:14	1179	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:14	1179	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:14	1179	[DEBUG]	Query for Product
2023-10-13	12:40:14	1179	[DEBUG]	Executed store
2023-10-13	12:40:14	1179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860670','1000000026368','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:14	1179	[DEBUG]	No parent found
2023-10-13	12:40:14	1179	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860670 AND customfield_value = 'stockable'
2023-10-13	12:40:14	1179	[DEBUG]	Check product language entry
2023-10-13	12:40:14	1179	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860671
2023-10-13	12:40:14	1179	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:14	1179	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000026368' AND `virtuemart_product_id` != 1860671
2023-10-13	12:40:14	1179	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:14	1179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860671, '1000000026368')
2023-10-13	12:40:14	1179	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:14	1179	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-wippermann-9-vitesses-ultra-light-270-gr-acier-unitaire' AND `virtuemart_product_id` != 1860671
2023-10-13	12:40:14	1179	[DEBUG]	Query for ProductLang
2023-10-13	12:40:14	1179	[DEBUG]	Executed store
2023-10-13	12:40:14	1179	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne Wippermann 9 vitesses Ultra-Light, 270 gr. / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-wippermann-9-vitesses-ultra-light-270-gr-acier-unitaire' WHERE `virtuemart_product_id` = '1860671'
2023-10-13	12:40:14	1179	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3444.jpg
2023-10-13	12:40:14	1179	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:40:14	1179	[DEBUG]	Process image file
2023-10-13	12:40:14	1179	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:40:14	1179	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:14	1179	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3444.jpg
2023-10-13	12:40:14	1179	[DEBUG]	Full name target: bcprisme/image_3444.jpg
2023-10-13	12:40:14	1179	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:14	1179	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3444.jpg'
2023-10-13	12:40:14	1179	[DEBUG]	Query for Media
2023-10-13	12:40:14	1179	[DEBUG]	Executed store
2023-10-13	12:40:14	1179	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3444.jpg',`file_url_thumb`='bcprisme/image_3444.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12580'
2023-10-13	12:40:15	1179	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:15	1179	[DEBUG]	Executed store
2023-10-13	12:40:15	1179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860671','12580','1')
2023-10-13	12:40:15	1179	[DEBUG]	Store product image relation
2023-10-13	12:40:15	1179	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:15	1179	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860671 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:15	1179	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:15	1179	[DEBUG]	Executed store
2023-10-13	12:40:15	1179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860671','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:15	1179	[DEBUG]	Checking manufacturer
2023-10-13	12:40:15	1179	[DEBUG]	Load a row
2023-10-13	12:40:15	1179	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:15	1179	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:15	1179	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:15	1179	[DEBUG]	Executed store
2023-10-13	12:40:15	1179	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:15	1179	[DEBUG]	Manufacturer exists
2023-10-13	12:40:15	1179	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:15	1179	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:15	1179	[DEBUG]	Executed store
2023-10-13	12:40:15	1179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860671','32')
2023-10-13	12:40:15	1179	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:15	1179	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:15	1179	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860671 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:15	1179	[DEBUG]	Store custom available field
2023-10-13	12:40:15	1179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860671,3,'',1)
2023-10-13	12:40:15	1179	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:15	1179	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:40:15	1179	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860671 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:15	1179	[DEBUG]	Store custom available field
2023-10-13	12:40:15	1179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860671,6,'Unitaire',3)
2023-10-13	12:40:15	1179	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:15	1179	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:15	1179	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860670
2023-10-13	12:40:15	1179	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:15	1179	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860670\":[1860670,8,1,\"choisir la taille\"],\"1860671\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860670
2023-10-13	12:40:15	1179	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:15	1179	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860671
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:15	1180	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field taille
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:15	1180	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:15	1180	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:15	1180	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:15	1180	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:15	1180	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:15	1180	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field published
2023-10-13	12:40:15	1180	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:15	1180	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field override
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:15	1180	[DEBUG]	Use field value for field slug
2023-10-13	12:40:15	1180	[DEBUG]	Process line 1180
2023-10-13	12:40:15	1180	[DEBUG]	Load a row
2023-10-13	12:40:15	1180	[DEBUG]	Processing item: A_1507_4
2023-10-13	12:40:15	1180	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:15	1180	[DEBUG]	Processing product tax
2023-10-13	12:40:15	1180	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:15	1180	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:15	1180	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:15	1180	[DEBUG]	Query for Product
2023-10-13	12:40:15	1180	[DEBUG]	Executed store
2023-10-13	12:40:15	1180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1507_4','0.252','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:15	1180	[DEBUG]	Check product language entry
2023-10-13	12:40:15	1180	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860672
2023-10-13	12:40:15	1180	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:15	1180	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1507_4' AND `virtuemart_product_id` != 1860672
2023-10-13	12:40:15	1180	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:15	1180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860672, 'A_1507_4')
2023-10-13	12:40:15	1180	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:15	1180	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-wippermann-9-vitesses-titane-252-gr-acier' AND `virtuemart_product_id` != 1860672
2023-10-13	12:40:15	1180	[DEBUG]	Query for ProductLang
2023-10-13	12:40:15	1180	[DEBUG]	Executed store
2023-10-13	12:40:15	1180	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaîne Wippermann 9 vitesses Titane, 113 maillons, 252 gr.<br>N° art fourn : 9TRJEW',`product_name`='MSC Chaîne Wippermann 9 vitesses Titane, 252 gr. ! / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-wippermann-9-vitesses-titane-252-gr-acier' WHERE `virtuemart_product_id` = '1860672'
2023-10-13	12:40:15	1180	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3446.jpg
2023-10-13	12:40:15	1180	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:40:15	1180	[DEBUG]	Process image file
2023-10-13	12:40:15	1180	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:40:15	1180	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:15	1180	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3446.jpg
2023-10-13	12:40:15	1180	[DEBUG]	Full name target: bcprisme/image_3446.jpg
2023-10-13	12:40:16	1180	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:16	1180	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3446.jpg'
2023-10-13	12:40:16	1180	[DEBUG]	Query for Media
2023-10-13	12:40:16	1180	[DEBUG]	Executed store
2023-10-13	12:40:16	1180	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3446.jpg',`file_url_thumb`='bcprisme/image_3446.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12581'
2023-10-13	12:40:16	1180	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:16	1180	[DEBUG]	Executed store
2023-10-13	12:40:16	1180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860672','12581','1')
2023-10-13	12:40:16	1180	[DEBUG]	Store product image relation
2023-10-13	12:40:16	1180	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:16	1180	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860672 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:16	1180	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:16	1180	[DEBUG]	Executed store
2023-10-13	12:40:16	1180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860672','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:16	1180	[DEBUG]	Checking manufacturer
2023-10-13	12:40:16	1180	[DEBUG]	Load a row
2023-10-13	12:40:16	1180	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:16	1180	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:16	1180	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:16	1180	[DEBUG]	Executed store
2023-10-13	12:40:16	1180	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:16	1180	[DEBUG]	Manufacturer exists
2023-10-13	12:40:16	1180	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:16	1180	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:16	1180	[DEBUG]	Executed store
2023-10-13	12:40:16	1180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860672','32')
2023-10-13	12:40:16	1180	[DEBUG]	Find the custom field ID
2023-10-13	12:40:16	1180	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:16	1180	[DEBUG]	No custom field ID found
2023-10-13	12:40:16	1180	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:16	1180	[DEBUG]	Get existing row with customfield value 319.011388888889
2023-10-13	12:40:16	1180	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860672 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:16	1180	[DEBUG]	Store custom available field
2023-10-13	12:40:16	1180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860672,3,'319.011388888889',1)
2023-10-13	12:40:16	1180	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:16	1180	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:16	1180	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860672 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:16	1180	[DEBUG]	Store custom available field
2023-10-13	12:40:16	1180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860672,6,'choisir la taille',3)
2023-10-13	12:40:16	1180	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:16	1180	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:16	1180	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:16	1180	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:16	1180	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860672 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:16	1180	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:16	1180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860672,8,1)
2023-10-13	12:40:16	1180	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:16	1180	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860672\":[1860672,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860672
2023-10-13	12:40:16	1180	[DEBUG]	Checking category
2023-10-13	12:40:16	1180	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:16	1180	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860672
2023-10-13	12:40:16	1180	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:16	1180	[DEBUG]	Executed store
2023-10-13	12:40:16	1180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860672','7289')
2023-10-13	12:40:16	1180	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:16	1180	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860672 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:16	1180	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:16	1180	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860672
2023-10-13	12:40:16	1181	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:16	1181	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:16	1181	[DEBUG]	Use field value for field taille
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:16	1181	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:16	1181	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:16	1181	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:16	1181	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:16	1181	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:16	1181	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:16	1181	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:16	1181	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:16	1181	[DEBUG]	Use field value for field published
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:16	1181	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field override
2023-10-13	12:40:16	1181	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:16	1181	[DEBUG]	Use field value for field slug
2023-10-13	12:40:16	1181	[DEBUG]	Process line 1181
2023-10-13	12:40:16	1181	[DEBUG]	Load a row
2023-10-13	12:40:16	1181	[DEBUG]	Processing item: 8436041522232
2023-10-13	12:40:16	1181	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:16	1181	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:16	1181	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1507_4'
2023-10-13	12:40:16	1181	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:16	1181	[DEBUG]	Processing product tax
2023-10-13	12:40:16	1181	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:16	1181	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:16	1181	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:16	1181	[DEBUG]	Query for Product
2023-10-13	12:40:16	1181	[DEBUG]	Executed store
2023-10-13	12:40:16	1181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860672','8436041522232','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:16	1181	[DEBUG]	No parent found
2023-10-13	12:40:16	1181	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860672 AND customfield_value = 'stockable'
2023-10-13	12:40:16	1181	[DEBUG]	Check product language entry
2023-10-13	12:40:16	1181	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860673
2023-10-13	12:40:16	1181	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:16	1181	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041522232' AND `virtuemart_product_id` != 1860673
2023-10-13	12:40:16	1181	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:16	1181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860673, '8436041522232')
2023-10-13	12:40:16	1181	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:16	1181	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-wippermann-9-vitesses-titane-252-gr-acier-unitaire' AND `virtuemart_product_id` != 1860673
2023-10-13	12:40:16	1181	[DEBUG]	Query for ProductLang
2023-10-13	12:40:16	1181	[DEBUG]	Executed store
2023-10-13	12:40:16	1181	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne Wippermann 9 vitesses Titane, 252 gr. ! / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-wippermann-9-vitesses-titane-252-gr-acier-unitaire' WHERE `virtuemart_product_id` = '1860673'
2023-10-13	12:40:16	1181	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3446.jpg
2023-10-13	12:40:16	1181	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:40:16	1181	[DEBUG]	Process image file
2023-10-13	12:40:16	1181	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:40:16	1181	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:16	1181	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3446.jpg
2023-10-13	12:40:16	1181	[DEBUG]	Full name target: bcprisme/image_3446.jpg
2023-10-13	12:40:17	1181	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:17	1181	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3446.jpg'
2023-10-13	12:40:17	1181	[DEBUG]	Query for Media
2023-10-13	12:40:17	1181	[DEBUG]	Executed store
2023-10-13	12:40:17	1181	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3446.jpg',`file_url_thumb`='bcprisme/image_3446.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12581'
2023-10-13	12:40:17	1181	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:17	1181	[DEBUG]	Executed store
2023-10-13	12:40:17	1181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860673','12581','1')
2023-10-13	12:40:17	1181	[DEBUG]	Store product image relation
2023-10-13	12:40:17	1181	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:17	1181	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860673 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:17	1181	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:17	1181	[DEBUG]	Executed store
2023-10-13	12:40:17	1181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860673','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:17	1181	[DEBUG]	Checking manufacturer
2023-10-13	12:40:17	1181	[DEBUG]	Load a row
2023-10-13	12:40:17	1181	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:17	1181	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:17	1181	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:17	1181	[DEBUG]	Executed store
2023-10-13	12:40:17	1181	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:17	1181	[DEBUG]	Manufacturer exists
2023-10-13	12:40:17	1181	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:17	1181	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:17	1181	[DEBUG]	Executed store
2023-10-13	12:40:17	1181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860673','32')
2023-10-13	12:40:17	1181	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:17	1181	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:17	1181	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860673 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:17	1181	[DEBUG]	Store custom available field
2023-10-13	12:40:17	1181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860673,3,'',1)
2023-10-13	12:40:17	1181	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:17	1181	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:40:17	1181	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860673 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:17	1181	[DEBUG]	Store custom available field
2023-10-13	12:40:17	1181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860673,6,'Unitaire',3)
2023-10-13	12:40:17	1181	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:17	1181	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:17	1181	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860672
2023-10-13	12:40:17	1181	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:17	1181	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860672\":[1860672,8,1,\"choisir la taille\"],\"1860673\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860672
2023-10-13	12:40:17	1181	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:17	1181	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860673
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:17	1182	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field taille
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:17	1182	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:17	1182	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:17	1182	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:17	1182	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:17	1182	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:17	1182	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field published
2023-10-13	12:40:17	1182	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:17	1182	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field override
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:17	1182	[DEBUG]	Use field value for field slug
2023-10-13	12:40:17	1182	[DEBUG]	Process line 1182
2023-10-13	12:40:17	1182	[DEBUG]	Load a row
2023-10-13	12:40:17	1182	[DEBUG]	Processing item: A_1529_1
2023-10-13	12:40:17	1182	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:17	1182	[DEBUG]	Processing product tax
2023-10-13	12:40:17	1182	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:17	1182	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:17	1182	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:17	1182	[DEBUG]	Query for Product
2023-10-13	12:40:17	1182	[DEBUG]	Executed store
2023-10-13	12:40:17	1182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1529_1','0.0112','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:17	1182	[DEBUG]	Check product language entry
2023-10-13	12:40:17	1182	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860674
2023-10-13	12:40:17	1182	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:17	1182	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1529_1' AND `virtuemart_product_id` != 1860674
2023-10-13	12:40:17	1182	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:17	1182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860674, 'A_1529_1')
2023-10-13	12:40:17	1182	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:17	1182	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pin-chaine-msc-9-vitesses-1-unite-noir' AND `virtuemart_product_id` != 1860674
2023-10-13	12:40:17	1182	[DEBUG]	Query for ProductLang
2023-10-13	12:40:17	1182	[DEBUG]	Executed store
2023-10-13	12:40:17	1182	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pin chaîne MSC 9 vitesses avec filletage. 10 unités, 1.12 gr. / unité<br>N° art fourn : ESLAPIN9',`product_name`='MSC Pin chaîne MSC 9 vitesses. 1 unité / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pin-chaine-msc-9-vitesses-1-unite-noir' WHERE `virtuemart_product_id` = '1860674'
2023-10-13	12:40:17	1182	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3673.jpg
2023-10-13	12:40:17	1182	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:40:17	1182	[DEBUG]	Process image file
2023-10-13	12:40:17	1182	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:40:17	1182	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:17	1182	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3673.jpg
2023-10-13	12:40:17	1182	[DEBUG]	Full name target: bcprisme/image_3673.jpg
2023-10-13	12:40:18	1182	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:18	1182	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3673.jpg'
2023-10-13	12:40:18	1182	[DEBUG]	Query for Media
2023-10-13	12:40:18	1182	[DEBUG]	Executed store
2023-10-13	12:40:18	1182	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3673.jpg',`file_url_thumb`='bcprisme/image_3673.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12582'
2023-10-13	12:40:18	1182	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:18	1182	[DEBUG]	Executed store
2023-10-13	12:40:18	1182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860674','12582','1')
2023-10-13	12:40:18	1182	[DEBUG]	Store product image relation
2023-10-13	12:40:18	1182	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:18	1182	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860674 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:18	1182	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:18	1182	[DEBUG]	Executed store
2023-10-13	12:40:18	1182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860674','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:18	1182	[DEBUG]	Checking manufacturer
2023-10-13	12:40:18	1182	[DEBUG]	Load a row
2023-10-13	12:40:18	1182	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:18	1182	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:18	1182	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:18	1182	[DEBUG]	Executed store
2023-10-13	12:40:18	1182	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:18	1182	[DEBUG]	Manufacturer exists
2023-10-13	12:40:18	1182	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:18	1182	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:18	1182	[DEBUG]	Executed store
2023-10-13	12:40:18	1182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860674','32')
2023-10-13	12:40:18	1182	[DEBUG]	Find the custom field ID
2023-10-13	12:40:18	1182	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:18	1182	[DEBUG]	No custom field ID found
2023-10-13	12:40:18	1182	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:18	1182	[DEBUG]	Get existing row with customfield value 44.7752777777778
2023-10-13	12:40:18	1182	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860674 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:18	1182	[DEBUG]	Store custom available field
2023-10-13	12:40:18	1182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860674,3,'44.7752777777778',1)
2023-10-13	12:40:18	1182	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:18	1182	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:18	1182	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860674 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:18	1182	[DEBUG]	Store custom available field
2023-10-13	12:40:18	1182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860674,6,'choisir la taille',3)
2023-10-13	12:40:18	1182	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:18	1182	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:18	1182	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:18	1182	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:18	1182	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860674 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:18	1182	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:18	1182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860674,8,1)
2023-10-13	12:40:18	1182	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:18	1182	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860674\":[1860674,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860674
2023-10-13	12:40:18	1182	[DEBUG]	Checking category
2023-10-13	12:40:18	1182	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:18	1182	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860674
2023-10-13	12:40:18	1182	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:18	1182	[DEBUG]	Executed store
2023-10-13	12:40:18	1182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860674','7289')
2023-10-13	12:40:18	1182	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:18	1182	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860674 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:18	1182	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:18	1182	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860674
2023-10-13	12:40:18	1183	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:18	1183	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:18	1183	[DEBUG]	Use field value for field taille
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:18	1183	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:18	1183	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:18	1183	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:18	1183	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:18	1183	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:18	1183	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:18	1183	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:18	1183	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:18	1183	[DEBUG]	Use field value for field published
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:18	1183	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field override
2023-10-13	12:40:18	1183	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:18	1183	[DEBUG]	Use field value for field slug
2023-10-13	12:40:18	1183	[DEBUG]	Process line 1183
2023-10-13	12:40:18	1183	[DEBUG]	Load a row
2023-10-13	12:40:18	1183	[DEBUG]	Processing item: 1000000027150
2023-10-13	12:40:18	1183	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:18	1183	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:18	1183	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1529_1'
2023-10-13	12:40:18	1183	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:18	1183	[DEBUG]	Processing product tax
2023-10-13	12:40:18	1183	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:18	1183	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:18	1183	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:18	1183	[DEBUG]	Query for Product
2023-10-13	12:40:18	1183	[DEBUG]	Executed store
2023-10-13	12:40:18	1183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860674','1000000027150','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:18	1183	[DEBUG]	No parent found
2023-10-13	12:40:18	1183	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860674 AND customfield_value = 'stockable'
2023-10-13	12:40:18	1183	[DEBUG]	Check product language entry
2023-10-13	12:40:18	1183	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860675
2023-10-13	12:40:18	1183	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:18	1183	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000027150' AND `virtuemart_product_id` != 1860675
2023-10-13	12:40:18	1183	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:18	1183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860675, '1000000027150')
2023-10-13	12:40:18	1183	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:18	1183	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pin-chaine-msc-9-vitesses-1-unite-noir-unitaire' AND `virtuemart_product_id` != 1860675
2023-10-13	12:40:18	1183	[DEBUG]	Query for ProductLang
2023-10-13	12:40:18	1183	[DEBUG]	Executed store
2023-10-13	12:40:18	1183	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pin chaîne MSC 9 vitesses. 1 unité / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pin-chaine-msc-9-vitesses-1-unite-noir-unitaire' WHERE `virtuemart_product_id` = '1860675'
2023-10-13	12:40:18	1183	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3673.jpg
2023-10-13	12:40:18	1183	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:40:18	1183	[DEBUG]	Process image file
2023-10-13	12:40:18	1183	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:40:18	1183	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:18	1183	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3673.jpg
2023-10-13	12:40:18	1183	[DEBUG]	Full name target: bcprisme/image_3673.jpg
2023-10-13	12:40:19	1183	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:19	1183	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3673.jpg'
2023-10-13	12:40:19	1183	[DEBUG]	Query for Media
2023-10-13	12:40:19	1183	[DEBUG]	Executed store
2023-10-13	12:40:19	1183	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3673.jpg',`file_url_thumb`='bcprisme/image_3673.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12582'
2023-10-13	12:40:19	1183	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:19	1183	[DEBUG]	Executed store
2023-10-13	12:40:19	1183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860675','12582','1')
2023-10-13	12:40:19	1183	[DEBUG]	Store product image relation
2023-10-13	12:40:19	1183	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:19	1183	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860675 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:19	1183	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:19	1183	[DEBUG]	Executed store
2023-10-13	12:40:19	1183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860675','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:19	1183	[DEBUG]	Checking manufacturer
2023-10-13	12:40:19	1183	[DEBUG]	Load a row
2023-10-13	12:40:19	1183	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:19	1183	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:19	1183	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:19	1183	[DEBUG]	Executed store
2023-10-13	12:40:19	1183	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:40:19	1183	[DEBUG]	Manufacturer exists
2023-10-13	12:40:19	1183	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:40:19	1183	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:19	1183	[DEBUG]	Executed store
2023-10-13	12:40:19	1183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860675','32')
2023-10-13	12:40:19	1183	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:19	1183	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:19	1183	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860675 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:19	1183	[DEBUG]	Store custom available field
2023-10-13	12:40:19	1183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860675,3,'',1)
2023-10-13	12:40:19	1183	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:19	1183	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:40:19	1183	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860675 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:19	1183	[DEBUG]	Store custom available field
2023-10-13	12:40:19	1183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860675,6,'Unitaire',3)
2023-10-13	12:40:19	1183	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:19	1183	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:19	1183	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860674
2023-10-13	12:40:19	1183	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:19	1183	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860674\":[1860674,8,1,\"choisir la taille\"],\"1860675\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860674
2023-10-13	12:40:19	1183	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:19	1183	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860675
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:19	1184	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field taille
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:19	1184	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:19	1184	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:19	1184	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:19	1184	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:19	1184	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:19	1184	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field published
2023-10-13	12:40:19	1184	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:19	1184	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field override
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:19	1184	[DEBUG]	Use field value for field slug
2023-10-13	12:40:19	1184	[DEBUG]	Process line 1184
2023-10-13	12:40:19	1184	[DEBUG]	Load a row
2023-10-13	12:40:19	1184	[DEBUG]	Processing item: A_5100_208
2023-10-13	12:40:19	1184	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:19	1184	[DEBUG]	Processing product tax
2023-10-13	12:40:19	1184	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:19	1184	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:19	1184	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:19	1184	[DEBUG]	Query for Product
2023-10-13	12:40:19	1184	[DEBUG]	Executed store
2023-10-13	12:40:19	1184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5100_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:19	1184	[DEBUG]	Check product language entry
2023-10-13	12:40:19	1184	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860676
2023-10-13	12:40:19	1184	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:19	1184	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5100_208' AND `virtuemart_product_id` != 1860676
2023-10-13	12:40:19	1184	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:19	1184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860676, 'A_5100_208')
2023-10-13	12:40:19	1184	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:19	1184	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg53-9-vitesses-116-maillons-box-aucune' AND `virtuemart_product_id` != 1860676
2023-10-13	12:40:19	1184	[DEBUG]	Query for ProductLang
2023-10-13	12:40:19	1184	[DEBUG]	Executed store
2023-10-13	12:40:19	1184	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.53359',`product_name`='SHIMANO Chaîne SHIMANO CN-HG53 9-vitesses 116 maillons box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg53-9-vitesses-116-maillons-box-aucune' WHERE `virtuemart_product_id` = '1860676'
2023-10-13	12:40:19	1184	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29563_shimano_chaîne_cn-hg53_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:19	1184	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:19	1184	[DEBUG]	Process image file
2023-10-13	12:40:19	1184	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:19	1184	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:19	1184	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29563_shimano_chaîne_cn-hg53_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:19	1184	[DEBUG]	Full name target: bcprisme/29563_shimano_chaîne_cn-hg53_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:20	1184	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:20	1184	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29563_shimano_chaîne_cn-hg53_9-vitesses_116_maillons_box.jpg'
2023-10-13	12:40:20	1184	[DEBUG]	Query for Media
2023-10-13	12:40:20	1184	[DEBUG]	Executed store
2023-10-13	12:40:20	1184	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29563_shimano_chaîne_cn-hg53_9-vitesses_116_maillons_box.jpg',`file_url_thumb`='bcprisme/29563_shimano_chaîne_cn-hg53_9-vitesses_116_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12583'
2023-10-13	12:40:20	1184	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:20	1184	[DEBUG]	Executed store
2023-10-13	12:40:20	1184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860676','12583','1')
2023-10-13	12:40:20	1184	[DEBUG]	Store product image relation
2023-10-13	12:40:20	1184	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:20	1184	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860676 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:20	1184	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:20	1184	[DEBUG]	Executed store
2023-10-13	12:40:20	1184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860676','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:20	1184	[DEBUG]	Checking manufacturer
2023-10-13	12:40:20	1184	[DEBUG]	Load a row
2023-10-13	12:40:20	1184	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:20	1184	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:40:20	1184	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:20	1184	[DEBUG]	Executed store
2023-10-13	12:40:20	1184	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:40:20	1184	[DEBUG]	Manufacturer exists
2023-10-13	12:40:20	1184	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:40:20	1184	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:20	1184	[DEBUG]	Executed store
2023-10-13	12:40:20	1184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860676','26')
2023-10-13	12:40:20	1184	[DEBUG]	Find the custom field ID
2023-10-13	12:40:20	1184	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:20	1184	[DEBUG]	No custom field ID found
2023-10-13	12:40:20	1184	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:20	1184	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:40:20	1184	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860676 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:20	1184	[DEBUG]	Store custom available field
2023-10-13	12:40:20	1184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860676,3,'0',1)
2023-10-13	12:40:20	1184	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:20	1184	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:20	1184	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860676 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:20	1184	[DEBUG]	Store custom available field
2023-10-13	12:40:20	1184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860676,6,'choisir la taille',3)
2023-10-13	12:40:20	1184	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:20	1184	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:20	1184	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:20	1184	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:20	1184	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860676 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:20	1184	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:20	1184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860676,8,1)
2023-10-13	12:40:20	1184	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:20	1184	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860676\":[1860676,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860676
2023-10-13	12:40:20	1184	[DEBUG]	Checking category
2023-10-13	12:40:20	1184	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:20	1184	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860676
2023-10-13	12:40:20	1184	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:20	1184	[DEBUG]	Executed store
2023-10-13	12:40:20	1184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860676','7289')
2023-10-13	12:40:20	1184	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:20	1184	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860676 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:20	1184	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:20	1184	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860676
2023-10-13	12:40:20	1185	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:20	1185	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:20	1185	[DEBUG]	Use field value for field taille
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:20	1185	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:20	1185	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:20	1185	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:20	1185	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:20	1185	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:20	1185	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:20	1185	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:20	1185	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:20	1185	[DEBUG]	Use field value for field published
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:20	1185	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field override
2023-10-13	12:40:20	1185	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:20	1185	[DEBUG]	Use field value for field slug
2023-10-13	12:40:20	1185	[DEBUG]	Process line 1185
2023-10-13	12:40:20	1185	[DEBUG]	Load a row
2023-10-13	12:40:20	1185	[DEBUG]	Processing item: 4524667781158
2023-10-13	12:40:20	1185	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:20	1185	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:20	1185	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5100_208'
2023-10-13	12:40:20	1185	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:20	1185	[DEBUG]	Processing product tax
2023-10-13	12:40:20	1185	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:20	1185	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:20	1185	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:20	1185	[DEBUG]	Query for Product
2023-10-13	12:40:20	1185	[DEBUG]	Executed store
2023-10-13	12:40:20	1185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860676','4524667781158','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:20	1185	[DEBUG]	No parent found
2023-10-13	12:40:20	1185	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860676 AND customfield_value = 'stockable'
2023-10-13	12:40:20	1185	[DEBUG]	Check product language entry
2023-10-13	12:40:20	1185	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860677
2023-10-13	12:40:20	1185	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:20	1185	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667781158' AND `virtuemart_product_id` != 1860677
2023-10-13	12:40:20	1185	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:20	1185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860677, '4524667781158')
2023-10-13	12:40:20	1185	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:20	1185	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg53-9-vitesses-116-maillons-box-aucune-all' AND `virtuemart_product_id` != 1860677
2023-10-13	12:40:20	1185	[DEBUG]	Query for ProductLang
2023-10-13	12:40:20	1185	[DEBUG]	Executed store
2023-10-13	12:40:20	1185	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN-HG53 9-vitesses 116 maillons box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg53-9-vitesses-116-maillons-box-aucune-all' WHERE `virtuemart_product_id` = '1860677'
2023-10-13	12:40:20	1185	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29563_shimano_chaîne_cn-hg53_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:20	1185	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:20	1185	[DEBUG]	Process image file
2023-10-13	12:40:20	1185	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:20	1185	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:20	1185	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29563_shimano_chaîne_cn-hg53_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:20	1185	[DEBUG]	Full name target: bcprisme/29563_shimano_chaîne_cn-hg53_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:21	1185	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:21	1185	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29563_shimano_chaîne_cn-hg53_9-vitesses_116_maillons_box.jpg'
2023-10-13	12:40:21	1185	[DEBUG]	Query for Media
2023-10-13	12:40:21	1185	[DEBUG]	Executed store
2023-10-13	12:40:21	1185	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29563_shimano_chaîne_cn-hg53_9-vitesses_116_maillons_box.jpg',`file_url_thumb`='bcprisme/29563_shimano_chaîne_cn-hg53_9-vitesses_116_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12583'
2023-10-13	12:40:21	1185	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:21	1185	[DEBUG]	Executed store
2023-10-13	12:40:21	1185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860677','12583','1')
2023-10-13	12:40:21	1185	[DEBUG]	Store product image relation
2023-10-13	12:40:21	1185	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:21	1185	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860677 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:21	1185	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:21	1185	[DEBUG]	Executed store
2023-10-13	12:40:21	1185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860677','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:21	1185	[DEBUG]	Checking manufacturer
2023-10-13	12:40:21	1185	[DEBUG]	Load a row
2023-10-13	12:40:21	1185	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:21	1185	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:40:21	1185	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:21	1185	[DEBUG]	Executed store
2023-10-13	12:40:21	1185	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:40:21	1185	[DEBUG]	Manufacturer exists
2023-10-13	12:40:21	1185	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:40:21	1185	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:21	1185	[DEBUG]	Executed store
2023-10-13	12:40:21	1185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860677','26')
2023-10-13	12:40:21	1185	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:21	1185	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:21	1185	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860677 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:21	1185	[DEBUG]	Store custom available field
2023-10-13	12:40:21	1185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860677,3,'',1)
2023-10-13	12:40:21	1185	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:21	1185	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:40:21	1185	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860677 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:21	1185	[DEBUG]	Store custom available field
2023-10-13	12:40:21	1185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860677,6,'All',3)
2023-10-13	12:40:21	1185	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:21	1185	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:21	1185	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860676
2023-10-13	12:40:21	1185	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:21	1185	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860676\":[1860676,8,1,\"choisir la taille\"],\"1860677\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860676
2023-10-13	12:40:21	1185	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:21	1185	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860677
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:21	1186	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field taille
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:21	1186	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:21	1186	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:21	1186	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:21	1186	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:21	1186	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:21	1186	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field published
2023-10-13	12:40:21	1186	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:21	1186	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field override
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:21	1186	[DEBUG]	Use field value for field slug
2023-10-13	12:40:21	1186	[DEBUG]	Process line 1186
2023-10-13	12:40:21	1186	[DEBUG]	Load a row
2023-10-13	12:40:21	1186	[DEBUG]	Processing item: A_5102_208
2023-10-13	12:40:21	1186	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:21	1186	[DEBUG]	Processing product tax
2023-10-13	12:40:21	1186	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:21	1186	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:21	1186	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:21	1186	[DEBUG]	Query for Product
2023-10-13	12:40:21	1186	[DEBUG]	Executed store
2023-10-13	12:40:21	1186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5102_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:21	1186	[DEBUG]	Check product language entry
2023-10-13	12:40:21	1186	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860678
2023-10-13	12:40:21	1186	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:21	1186	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5102_208' AND `virtuemart_product_id` != 1860678
2023-10-13	12:40:21	1186	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:21	1186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860678, 'A_5102_208')
2023-10-13	12:40:21	1186	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:21	1186	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg93-9-vitesses-116-maillons-box-aucune' AND `virtuemart_product_id` != 1860678
2023-10-13	12:40:21	1186	[DEBUG]	Query for ProductLang
2023-10-13	12:40:21	1186	[DEBUG]	Executed store
2023-10-13	12:40:21	1186	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.23874',`product_name`='SHIMANO Chaîne SHIMANO CN-HG93 9-vitesses 116 maillons box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg93-9-vitesses-116-maillons-box-aucune' WHERE `virtuemart_product_id` = '1860678'
2023-10-13	12:40:21	1186	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29564_shimano_chaîne_cn-hg93_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:21	1186	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:21	1186	[DEBUG]	Process image file
2023-10-13	12:40:21	1186	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:21	1186	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:21	1186	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29564_shimano_chaîne_cn-hg93_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:21	1186	[DEBUG]	Full name target: bcprisme/29564_shimano_chaîne_cn-hg93_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:22	1186	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:22	1186	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29564_shimano_chaîne_cn-hg93_9-vitesses_116_maillons_box.jpg'
2023-10-13	12:40:22	1186	[DEBUG]	Query for Media
2023-10-13	12:40:22	1186	[DEBUG]	Executed store
2023-10-13	12:40:22	1186	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29564_shimano_chaîne_cn-hg93_9-vitesses_116_maillons_box.jpg',`file_url_thumb`='bcprisme/29564_shimano_chaîne_cn-hg93_9-vitesses_116_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12584'
2023-10-13	12:40:22	1186	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:22	1186	[DEBUG]	Executed store
2023-10-13	12:40:22	1186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860678','12584','1')
2023-10-13	12:40:22	1186	[DEBUG]	Store product image relation
2023-10-13	12:40:22	1186	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:22	1186	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860678 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:22	1186	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:22	1186	[DEBUG]	Executed store
2023-10-13	12:40:22	1186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860678','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:22	1186	[DEBUG]	Checking manufacturer
2023-10-13	12:40:22	1186	[DEBUG]	Load a row
2023-10-13	12:40:22	1186	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:22	1186	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:40:22	1186	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:22	1186	[DEBUG]	Executed store
2023-10-13	12:40:22	1186	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:40:22	1186	[DEBUG]	Manufacturer exists
2023-10-13	12:40:22	1186	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:40:22	1186	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:22	1186	[DEBUG]	Executed store
2023-10-13	12:40:22	1186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860678','26')
2023-10-13	12:40:22	1186	[DEBUG]	Find the custom field ID
2023-10-13	12:40:22	1186	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:22	1186	[DEBUG]	No custom field ID found
2023-10-13	12:40:22	1186	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:22	1186	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:40:22	1186	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860678 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:22	1186	[DEBUG]	Store custom available field
2023-10-13	12:40:22	1186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860678,3,'0',1)
2023-10-13	12:40:22	1186	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:22	1186	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:22	1186	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860678 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:22	1186	[DEBUG]	Store custom available field
2023-10-13	12:40:22	1186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860678,6,'choisir la taille',3)
2023-10-13	12:40:22	1186	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:22	1186	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:22	1186	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:22	1186	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:22	1186	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860678 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:22	1186	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:22	1186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860678,8,1)
2023-10-13	12:40:22	1186	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:22	1186	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860678\":[1860678,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860678
2023-10-13	12:40:22	1186	[DEBUG]	Checking category
2023-10-13	12:40:22	1186	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:22	1186	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860678
2023-10-13	12:40:22	1186	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:22	1186	[DEBUG]	Executed store
2023-10-13	12:40:22	1186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860678','7289')
2023-10-13	12:40:22	1186	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:22	1186	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860678 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:22	1186	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:22	1186	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860678
2023-10-13	12:40:22	1187	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:22	1187	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:22	1187	[DEBUG]	Use field value for field taille
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:22	1187	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:22	1187	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:22	1187	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:22	1187	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:22	1187	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:22	1187	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:22	1187	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:22	1187	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:22	1187	[DEBUG]	Use field value for field published
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:22	1187	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field override
2023-10-13	12:40:22	1187	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:22	1187	[DEBUG]	Use field value for field slug
2023-10-13	12:40:22	1187	[DEBUG]	Process line 1187
2023-10-13	12:40:22	1187	[DEBUG]	Load a row
2023-10-13	12:40:22	1187	[DEBUG]	Processing item: 4524667040804
2023-10-13	12:40:22	1187	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:22	1187	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:22	1187	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5102_208'
2023-10-13	12:40:22	1187	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:22	1187	[DEBUG]	Processing product tax
2023-10-13	12:40:22	1187	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:22	1187	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:22	1187	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:22	1187	[DEBUG]	Query for Product
2023-10-13	12:40:22	1187	[DEBUG]	Executed store
2023-10-13	12:40:22	1187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860678','4524667040804','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:22	1187	[DEBUG]	No parent found
2023-10-13	12:40:22	1187	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860678 AND customfield_value = 'stockable'
2023-10-13	12:40:22	1187	[DEBUG]	Check product language entry
2023-10-13	12:40:22	1187	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860679
2023-10-13	12:40:22	1187	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:22	1187	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667040804' AND `virtuemart_product_id` != 1860679
2023-10-13	12:40:22	1187	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:22	1187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860679, '4524667040804')
2023-10-13	12:40:22	1187	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:22	1187	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg93-9-vitesses-116-maillons-box-aucune-all' AND `virtuemart_product_id` != 1860679
2023-10-13	12:40:22	1187	[DEBUG]	Query for ProductLang
2023-10-13	12:40:22	1187	[DEBUG]	Executed store
2023-10-13	12:40:22	1187	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN-HG93 9-vitesses 116 maillons box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg93-9-vitesses-116-maillons-box-aucune-all' WHERE `virtuemart_product_id` = '1860679'
2023-10-13	12:40:22	1187	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29564_shimano_chaîne_cn-hg93_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:22	1187	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:22	1187	[DEBUG]	Process image file
2023-10-13	12:40:22	1187	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:22	1187	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:22	1187	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29564_shimano_chaîne_cn-hg93_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:22	1187	[DEBUG]	Full name target: bcprisme/29564_shimano_chaîne_cn-hg93_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:23	1187	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:23	1187	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29564_shimano_chaîne_cn-hg93_9-vitesses_116_maillons_box.jpg'
2023-10-13	12:40:23	1187	[DEBUG]	Query for Media
2023-10-13	12:40:23	1187	[DEBUG]	Executed store
2023-10-13	12:40:23	1187	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29564_shimano_chaîne_cn-hg93_9-vitesses_116_maillons_box.jpg',`file_url_thumb`='bcprisme/29564_shimano_chaîne_cn-hg93_9-vitesses_116_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12584'
2023-10-13	12:40:23	1187	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:23	1187	[DEBUG]	Executed store
2023-10-13	12:40:23	1187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860679','12584','1')
2023-10-13	12:40:23	1187	[DEBUG]	Store product image relation
2023-10-13	12:40:23	1187	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:23	1187	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860679 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:23	1187	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:23	1187	[DEBUG]	Executed store
2023-10-13	12:40:23	1187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860679','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:23	1187	[DEBUG]	Checking manufacturer
2023-10-13	12:40:23	1187	[DEBUG]	Load a row
2023-10-13	12:40:23	1187	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:23	1187	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:40:23	1187	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:23	1187	[DEBUG]	Executed store
2023-10-13	12:40:23	1187	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:40:23	1187	[DEBUG]	Manufacturer exists
2023-10-13	12:40:23	1187	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:40:23	1187	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:23	1187	[DEBUG]	Executed store
2023-10-13	12:40:23	1187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860679','26')
2023-10-13	12:40:23	1187	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:23	1187	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:23	1187	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860679 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:23	1187	[DEBUG]	Store custom available field
2023-10-13	12:40:23	1187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860679,3,'',1)
2023-10-13	12:40:23	1187	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:23	1187	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:40:23	1187	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860679 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:23	1187	[DEBUG]	Store custom available field
2023-10-13	12:40:23	1187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860679,6,'All',3)
2023-10-13	12:40:23	1187	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:23	1187	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:23	1187	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860678
2023-10-13	12:40:23	1187	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:23	1187	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860678\":[1860678,8,1,\"choisir la taille\"],\"1860679\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860678
2023-10-13	12:40:23	1187	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:23	1187	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860679
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:23	1188	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field taille
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:23	1188	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:23	1188	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:23	1188	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:23	1188	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:23	1188	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:23	1188	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field published
2023-10-13	12:40:23	1188	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:23	1188	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field override
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:23	1188	[DEBUG]	Use field value for field slug
2023-10-13	12:40:23	1188	[DEBUG]	Process line 1188
2023-10-13	12:40:23	1188	[DEBUG]	Load a row
2023-10-13	12:40:23	1188	[DEBUG]	Processing item: A_5579_208
2023-10-13	12:40:23	1188	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:23	1188	[DEBUG]	Processing product tax
2023-10-13	12:40:23	1188	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:23	1188	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:23	1188	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:23	1188	[DEBUG]	Query for Product
2023-10-13	12:40:23	1188	[DEBUG]	Executed store
2023-10-13	12:40:23	1188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5579_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:23	1188	[DEBUG]	Check product language entry
2023-10-13	12:40:23	1188	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860680
2023-10-13	12:40:23	1188	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:23	1188	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5579_208' AND `virtuemart_product_id` != 1860680
2023-10-13	12:40:23	1188	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:23	1188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860680, 'A_5579_208')
2023-10-13	12:40:23	1188	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:23	1188	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg73-9-vitesses-116-maillons-box-aucune' AND `virtuemart_product_id` != 1860680
2023-10-13	12:40:23	1188	[DEBUG]	Query for ProductLang
2023-10-13	12:40:23	1188	[DEBUG]	Executed store
2023-10-13	12:40:23	1188	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 451.005.020',`product_name`='SHIMANO Chaîne SHIMANO CN-HG73 9-vitesses 116 maillons box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg73-9-vitesses-116-maillons-box-aucune' WHERE `virtuemart_product_id` = '1860680'
2023-10-13	12:40:23	1188	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30078_shimano_chaîne_cn-hg73_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:23	1188	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:23	1188	[DEBUG]	Process image file
2023-10-13	12:40:23	1188	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:23	1188	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:23	1188	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30078_shimano_chaîne_cn-hg73_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:23	1188	[DEBUG]	Full name target: bcprisme/30078_shimano_chaîne_cn-hg73_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:24	1188	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:24	1188	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30078_shimano_chaîne_cn-hg73_9-vitesses_116_maillons_box.jpg'
2023-10-13	12:40:24	1188	[DEBUG]	Query for Media
2023-10-13	12:40:24	1188	[DEBUG]	Executed store
2023-10-13	12:40:24	1188	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30078_shimano_chaîne_cn-hg73_9-vitesses_116_maillons_box.jpg',`file_url_thumb`='bcprisme/30078_shimano_chaîne_cn-hg73_9-vitesses_116_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12585'
2023-10-13	12:40:24	1188	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:24	1188	[DEBUG]	Executed store
2023-10-13	12:40:24	1188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860680','12585','1')
2023-10-13	12:40:24	1188	[DEBUG]	Store product image relation
2023-10-13	12:40:24	1188	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:24	1188	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860680 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:24	1188	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:24	1188	[DEBUG]	Executed store
2023-10-13	12:40:24	1188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860680','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:24	1188	[DEBUG]	Checking manufacturer
2023-10-13	12:40:24	1188	[DEBUG]	Load a row
2023-10-13	12:40:24	1188	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:24	1188	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:40:24	1188	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:24	1188	[DEBUG]	Executed store
2023-10-13	12:40:24	1188	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:40:24	1188	[DEBUG]	Manufacturer exists
2023-10-13	12:40:24	1188	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:40:24	1188	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:24	1188	[DEBUG]	Executed store
2023-10-13	12:40:24	1188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860680','123')
2023-10-13	12:40:24	1188	[DEBUG]	Find the custom field ID
2023-10-13	12:40:24	1188	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:24	1188	[DEBUG]	No custom field ID found
2023-10-13	12:40:24	1188	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:24	1188	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:40:24	1188	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860680 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:24	1188	[DEBUG]	Store custom available field
2023-10-13	12:40:24	1188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860680,3,'0',1)
2023-10-13	12:40:24	1188	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:24	1188	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:24	1188	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860680 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:24	1188	[DEBUG]	Store custom available field
2023-10-13	12:40:24	1188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860680,6,'choisir la taille',3)
2023-10-13	12:40:24	1188	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:24	1188	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:24	1188	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:24	1188	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:24	1188	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860680 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:24	1188	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:24	1188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860680,8,1)
2023-10-13	12:40:24	1188	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:24	1188	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860680\":[1860680,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860680
2023-10-13	12:40:24	1188	[DEBUG]	Checking category
2023-10-13	12:40:24	1188	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:24	1188	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860680
2023-10-13	12:40:24	1188	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:24	1188	[DEBUG]	Executed store
2023-10-13	12:40:24	1188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860680','7289')
2023-10-13	12:40:24	1188	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:24	1188	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860680 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:24	1188	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:24	1188	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860680
2023-10-13	12:40:24	1189	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:24	1189	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:24	1189	[DEBUG]	Use field value for field taille
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:24	1189	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:24	1189	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:24	1189	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:24	1189	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:24	1189	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:24	1189	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:24	1189	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:24	1189	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:24	1189	[DEBUG]	Use field value for field published
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:24	1189	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field override
2023-10-13	12:40:24	1189	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:24	1189	[DEBUG]	Use field value for field slug
2023-10-13	12:40:24	1189	[DEBUG]	Process line 1189
2023-10-13	12:40:24	1189	[DEBUG]	Load a row
2023-10-13	12:40:24	1189	[DEBUG]	Processing item: 4524667040699
2023-10-13	12:40:24	1189	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:24	1189	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:24	1189	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5579_208'
2023-10-13	12:40:24	1189	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:24	1189	[DEBUG]	Processing product tax
2023-10-13	12:40:24	1189	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:24	1189	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:24	1189	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:24	1189	[DEBUG]	Query for Product
2023-10-13	12:40:24	1189	[DEBUG]	Executed store
2023-10-13	12:40:24	1189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860680','4524667040699','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:24	1189	[DEBUG]	No parent found
2023-10-13	12:40:24	1189	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860680 AND customfield_value = 'stockable'
2023-10-13	12:40:24	1189	[DEBUG]	Check product language entry
2023-10-13	12:40:24	1189	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860681
2023-10-13	12:40:24	1189	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:24	1189	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667040699' AND `virtuemart_product_id` != 1860681
2023-10-13	12:40:24	1189	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:24	1189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860681, '4524667040699')
2023-10-13	12:40:24	1189	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:24	1189	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg73-9-vitesses-116-maillons-box-aucune-all' AND `virtuemart_product_id` != 1860681
2023-10-13	12:40:24	1189	[DEBUG]	Query for ProductLang
2023-10-13	12:40:24	1189	[DEBUG]	Executed store
2023-10-13	12:40:24	1189	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN-HG73 9-vitesses 116 maillons box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg73-9-vitesses-116-maillons-box-aucune-all' WHERE `virtuemart_product_id` = '1860681'
2023-10-13	12:40:24	1189	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30078_shimano_chaîne_cn-hg73_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:24	1189	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:24	1189	[DEBUG]	Process image file
2023-10-13	12:40:24	1189	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:24	1189	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:24	1189	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30078_shimano_chaîne_cn-hg73_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:24	1189	[DEBUG]	Full name target: bcprisme/30078_shimano_chaîne_cn-hg73_9-vitesses_116_maillons_box.jpg
2023-10-13	12:40:25	1189	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:25	1189	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30078_shimano_chaîne_cn-hg73_9-vitesses_116_maillons_box.jpg'
2023-10-13	12:40:25	1189	[DEBUG]	Query for Media
2023-10-13	12:40:25	1189	[DEBUG]	Executed store
2023-10-13	12:40:25	1189	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30078_shimano_chaîne_cn-hg73_9-vitesses_116_maillons_box.jpg',`file_url_thumb`='bcprisme/30078_shimano_chaîne_cn-hg73_9-vitesses_116_maillons_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12585'
2023-10-13	12:40:25	1189	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:25	1189	[DEBUG]	Executed store
2023-10-13	12:40:25	1189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860681','12585','1')
2023-10-13	12:40:25	1189	[DEBUG]	Store product image relation
2023-10-13	12:40:25	1189	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:25	1189	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860681 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:25	1189	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:25	1189	[DEBUG]	Executed store
2023-10-13	12:40:25	1189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860681','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:25	1189	[DEBUG]	Checking manufacturer
2023-10-13	12:40:25	1189	[DEBUG]	Load a row
2023-10-13	12:40:25	1189	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:25	1189	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:40:25	1189	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:25	1189	[DEBUG]	Executed store
2023-10-13	12:40:25	1189	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:40:25	1189	[DEBUG]	Manufacturer exists
2023-10-13	12:40:25	1189	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:40:25	1189	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:25	1189	[DEBUG]	Executed store
2023-10-13	12:40:25	1189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860681','123')
2023-10-13	12:40:25	1189	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:25	1189	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:25	1189	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860681 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:25	1189	[DEBUG]	Store custom available field
2023-10-13	12:40:25	1189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860681,3,'',1)
2023-10-13	12:40:25	1189	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:25	1189	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:40:25	1189	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860681 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:25	1189	[DEBUG]	Store custom available field
2023-10-13	12:40:25	1189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860681,6,'All',3)
2023-10-13	12:40:25	1189	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:25	1189	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:25	1189	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860680
2023-10-13	12:40:25	1189	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:25	1189	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860680\":[1860680,8,1,\"choisir la taille\"],\"1860681\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860680
2023-10-13	12:40:25	1189	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:25	1189	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860681
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:25	1190	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field taille
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:25	1190	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:25	1190	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:25	1190	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:25	1190	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:25	1190	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:25	1190	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field published
2023-10-13	12:40:25	1190	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:25	1190	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field override
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:25	1190	[DEBUG]	Use field value for field slug
2023-10-13	12:40:25	1190	[DEBUG]	Process line 1190
2023-10-13	12:40:25	1190	[DEBUG]	Load a row
2023-10-13	12:40:25	1190	[DEBUG]	Processing item: A_5996_208
2023-10-13	12:40:25	1190	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:25	1190	[DEBUG]	Processing product tax
2023-10-13	12:40:25	1190	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:25	1190	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:25	1190	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:25	1190	[DEBUG]	Query for Product
2023-10-13	12:40:25	1190	[DEBUG]	Executed store
2023-10-13	12:40:25	1190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5996_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:25	1190	[DEBUG]	Check product language entry
2023-10-13	12:40:25	1190	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860682
2023-10-13	12:40:25	1190	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:25	1190	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5996_208' AND `virtuemart_product_id` != 1860682
2023-10-13	12:40:25	1190	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:25	1190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860682, 'A_5996_208')
2023-10-13	12:40:25	1190	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:25	1190	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg53-9-vitesses-116-maillons-aucune' AND `virtuemart_product_id` != 1860682
2023-10-13	12:40:25	1190	[DEBUG]	Query for ProductLang
2023-10-13	12:40:25	1190	[DEBUG]	Executed store
2023-10-13	12:40:25	1190	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.63482',`product_name`='SHIMANO Chaîne SHIMANO CN-HG53 9-vitesses 116 maillons / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg53-9-vitesses-116-maillons-aucune' WHERE `virtuemart_product_id` = '1860682'
2023-10-13	12:40:25	1190	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31598_shimano_chaîne_cn-hg53_9-vitesses_116_maillons.jpg
2023-10-13	12:40:25	1190	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:25	1190	[DEBUG]	Process image file
2023-10-13	12:40:25	1190	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:25	1190	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:25	1190	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31598_shimano_chaîne_cn-hg53_9-vitesses_116_maillons.jpg
2023-10-13	12:40:25	1190	[DEBUG]	Full name target: bcprisme/31598_shimano_chaîne_cn-hg53_9-vitesses_116_maillons.jpg
2023-10-13	12:40:26	1190	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:26	1190	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31598_shimano_chaîne_cn-hg53_9-vitesses_116_maillons.jpg'
2023-10-13	12:40:26	1190	[DEBUG]	Query for Media
2023-10-13	12:40:26	1190	[DEBUG]	Executed store
2023-10-13	12:40:26	1190	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31598_shimano_chaîne_cn-hg53_9-vitesses_116_maillons.jpg',`file_url_thumb`='bcprisme/31598_shimano_chaîne_cn-hg53_9-vitesses_116_maillons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12586'
2023-10-13	12:40:26	1190	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:26	1190	[DEBUG]	Executed store
2023-10-13	12:40:26	1190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860682','12586','1')
2023-10-13	12:40:26	1190	[DEBUG]	Store product image relation
2023-10-13	12:40:26	1190	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:26	1190	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860682 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:26	1190	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:26	1190	[DEBUG]	Executed store
2023-10-13	12:40:26	1190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860682','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:26	1190	[DEBUG]	Checking manufacturer
2023-10-13	12:40:26	1190	[DEBUG]	Load a row
2023-10-13	12:40:26	1190	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:26	1190	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:40:26	1190	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:26	1190	[DEBUG]	Executed store
2023-10-13	12:40:26	1190	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:40:26	1190	[DEBUG]	Manufacturer exists
2023-10-13	12:40:26	1190	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:40:26	1190	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:26	1190	[DEBUG]	Executed store
2023-10-13	12:40:26	1190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860682','123')
2023-10-13	12:40:26	1190	[DEBUG]	Find the custom field ID
2023-10-13	12:40:26	1190	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:26	1190	[DEBUG]	No custom field ID found
2023-10-13	12:40:26	1190	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:26	1190	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:40:26	1190	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860682 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:26	1190	[DEBUG]	Store custom available field
2023-10-13	12:40:26	1190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860682,3,'0',1)
2023-10-13	12:40:26	1190	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:26	1190	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:26	1190	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860682 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:26	1190	[DEBUG]	Store custom available field
2023-10-13	12:40:26	1190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860682,6,'choisir la taille',3)
2023-10-13	12:40:26	1190	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:26	1190	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:26	1190	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:26	1190	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:26	1190	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860682 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:26	1190	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:26	1190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860682,8,1)
2023-10-13	12:40:26	1190	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:26	1190	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860682\":[1860682,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860682
2023-10-13	12:40:26	1190	[DEBUG]	Checking category
2023-10-13	12:40:26	1190	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:26	1190	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860682
2023-10-13	12:40:26	1190	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:26	1190	[DEBUG]	Executed store
2023-10-13	12:40:26	1190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860682','7289')
2023-10-13	12:40:26	1190	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:26	1190	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860682 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:26	1190	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:26	1190	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860682
2023-10-13	12:40:26	1191	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:26	1191	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:26	1191	[DEBUG]	Use field value for field taille
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:26	1191	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:26	1191	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:26	1191	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:26	1191	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:26	1191	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:26	1191	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:26	1191	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:26	1191	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:26	1191	[DEBUG]	Use field value for field published
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:26	1191	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field override
2023-10-13	12:40:26	1191	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:26	1191	[DEBUG]	Use field value for field slug
2023-10-13	12:40:26	1191	[DEBUG]	Process line 1191
2023-10-13	12:40:26	1191	[DEBUG]	Load a row
2023-10-13	12:40:26	1191	[DEBUG]	Processing item: 4524667893554
2023-10-13	12:40:26	1191	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:26	1191	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:26	1191	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5996_208'
2023-10-13	12:40:26	1191	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:26	1191	[DEBUG]	Processing product tax
2023-10-13	12:40:26	1191	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:26	1191	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:26	1191	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:26	1191	[DEBUG]	Query for Product
2023-10-13	12:40:26	1191	[DEBUG]	Executed store
2023-10-13	12:40:26	1191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860682','4524667893554','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:26	1191	[DEBUG]	No parent found
2023-10-13	12:40:26	1191	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860682 AND customfield_value = 'stockable'
2023-10-13	12:40:26	1191	[DEBUG]	Check product language entry
2023-10-13	12:40:26	1191	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860683
2023-10-13	12:40:26	1191	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:26	1191	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667893554' AND `virtuemart_product_id` != 1860683
2023-10-13	12:40:26	1191	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:26	1191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860683, '4524667893554')
2023-10-13	12:40:26	1191	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:26	1191	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-shimano-cn-hg53-9-vitesses-116-maillons-aucune-all' AND `virtuemart_product_id` != 1860683
2023-10-13	12:40:26	1191	[DEBUG]	Query for ProductLang
2023-10-13	12:40:26	1191	[DEBUG]	Executed store
2023-10-13	12:40:26	1191	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne SHIMANO CN-HG53 9-vitesses 116 maillons / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-shimano-cn-hg53-9-vitesses-116-maillons-aucune-all' WHERE `virtuemart_product_id` = '1860683'
2023-10-13	12:40:26	1191	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31598_shimano_chaîne_cn-hg53_9-vitesses_116_maillons.jpg
2023-10-13	12:40:26	1191	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:26	1191	[DEBUG]	Process image file
2023-10-13	12:40:26	1191	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:40:26	1191	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:26	1191	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31598_shimano_chaîne_cn-hg53_9-vitesses_116_maillons.jpg
2023-10-13	12:40:26	1191	[DEBUG]	Full name target: bcprisme/31598_shimano_chaîne_cn-hg53_9-vitesses_116_maillons.jpg
2023-10-13	12:40:27	1191	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:27	1191	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31598_shimano_chaîne_cn-hg53_9-vitesses_116_maillons.jpg'
2023-10-13	12:40:27	1191	[DEBUG]	Query for Media
2023-10-13	12:40:27	1191	[DEBUG]	Executed store
2023-10-13	12:40:27	1191	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31598_shimano_chaîne_cn-hg53_9-vitesses_116_maillons.jpg',`file_url_thumb`='bcprisme/31598_shimano_chaîne_cn-hg53_9-vitesses_116_maillons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12586'
2023-10-13	12:40:27	1191	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:27	1191	[DEBUG]	Executed store
2023-10-13	12:40:27	1191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860683','12586','1')
2023-10-13	12:40:27	1191	[DEBUG]	Store product image relation
2023-10-13	12:40:27	1191	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:27	1191	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860683 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:27	1191	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:27	1191	[DEBUG]	Executed store
2023-10-13	12:40:27	1191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860683','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:27	1191	[DEBUG]	Checking manufacturer
2023-10-13	12:40:27	1191	[DEBUG]	Load a row
2023-10-13	12:40:27	1191	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:27	1191	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:40:27	1191	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:27	1191	[DEBUG]	Executed store
2023-10-13	12:40:27	1191	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:40:27	1191	[DEBUG]	Manufacturer exists
2023-10-13	12:40:27	1191	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:40:27	1191	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:27	1191	[DEBUG]	Executed store
2023-10-13	12:40:27	1191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860683','123')
2023-10-13	12:40:27	1191	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:27	1191	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:27	1191	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860683 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:27	1191	[DEBUG]	Store custom available field
2023-10-13	12:40:27	1191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860683,3,'',1)
2023-10-13	12:40:27	1191	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:27	1191	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:40:27	1191	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860683 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:27	1191	[DEBUG]	Store custom available field
2023-10-13	12:40:27	1191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860683,6,'All',3)
2023-10-13	12:40:27	1191	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:27	1191	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:27	1191	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860682
2023-10-13	12:40:27	1191	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:27	1191	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860682\":[1860682,8,1,\"choisir la taille\"],\"1860683\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860682
2023-10-13	12:40:27	1191	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:27	1191	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860683
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:27	1192	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field taille
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:27	1192	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:27	1192	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:27	1192	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:27	1192	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:27	1192	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:27	1192	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field published
2023-10-13	12:40:27	1192	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:27	1192	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field override
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:27	1192	[DEBUG]	Use field value for field slug
2023-10-13	12:40:27	1192	[DEBUG]	Process line 1192
2023-10-13	12:40:27	1192	[DEBUG]	Load a row
2023-10-13	12:40:27	1192	[DEBUG]	Processing item: A_8171_208
2023-10-13	12:40:27	1192	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:27	1192	[DEBUG]	Processing product tax
2023-10-13	12:40:27	1192	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:27	1192	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:27	1192	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:27	1192	[DEBUG]	Query for Product
2023-10-13	12:40:27	1192	[DEBUG]	Executed store
2023-10-13	12:40:27	1192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8171_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:27	1192	[DEBUG]	Check product language entry
2023-10-13	12:40:27	1192	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860684
2023-10-13	12:40:27	1192	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:27	1192	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8171_208' AND `virtuemart_product_id` != 1860684
2023-10-13	12:40:27	1192	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:27	1192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860684, 'A_8171_208')
2023-10-13	12:40:27	1192	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:27	1192	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-steps-cn-e6070-9-vitesses-118-maillons-box-aucune' AND `virtuemart_product_id` != 1860684
2023-10-13	12:40:27	1192	[DEBUG]	Query for ProductLang
2023-10-13	12:40:27	1192	[DEBUG]	Executed store
2023-10-13	12:40:27	1192	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.60685',`product_name`='SHIMANO Chaîne STEPS CN-E6070 9-vitesses 118 maillons box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-steps-cn-e6070-9-vitesses-118-maillons-box-aucune' WHERE `virtuemart_product_id` = '1860684'
2023-10-13	12:40:27	1192	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_60491_001_jpg.jpg
2023-10-13	12:40:27	1192	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:27	1192	[DEBUG]	Process image file
2023-10-13	12:40:27	1192	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:27	1192	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:27	1192	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_60491_001_jpg.jpg
2023-10-13	12:40:27	1192	[DEBUG]	Full name target: bcprisme/68_60491_001_jpg.jpg
2023-10-13	12:40:28	1192	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:28	1192	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_60491_001_jpg.jpg'
2023-10-13	12:40:28	1192	[DEBUG]	Query for Media
2023-10-13	12:40:28	1192	[DEBUG]	Executed store
2023-10-13	12:40:28	1192	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_60491_001_jpg.jpg',`file_url_thumb`='bcprisme/68_60491_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '695245'
2023-10-13	12:40:28	1192	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:28	1192	[DEBUG]	Executed store
2023-10-13	12:40:28	1192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860684','695245','1')
2023-10-13	12:40:28	1192	[DEBUG]	Store product image relation
2023-10-13	12:40:28	1192	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:28	1192	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860684 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:28	1192	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:28	1192	[DEBUG]	Executed store
2023-10-13	12:40:28	1192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860684','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:28	1192	[DEBUG]	Checking manufacturer
2023-10-13	12:40:28	1192	[DEBUG]	Load a row
2023-10-13	12:40:28	1192	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:28	1192	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:40:28	1192	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:28	1192	[DEBUG]	Executed store
2023-10-13	12:40:28	1192	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:40:28	1192	[DEBUG]	Manufacturer exists
2023-10-13	12:40:28	1192	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:40:28	1192	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:28	1192	[DEBUG]	Executed store
2023-10-13	12:40:28	1192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860684','26')
2023-10-13	12:40:28	1192	[DEBUG]	Find the custom field ID
2023-10-13	12:40:28	1192	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:28	1192	[DEBUG]	No custom field ID found
2023-10-13	12:40:28	1192	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:28	1192	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:40:28	1192	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860684 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:28	1192	[DEBUG]	Store custom available field
2023-10-13	12:40:28	1192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860684,3,'0',1)
2023-10-13	12:40:28	1192	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:28	1192	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:28	1192	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860684 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:28	1192	[DEBUG]	Store custom available field
2023-10-13	12:40:28	1192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860684,6,'choisir la taille',3)
2023-10-13	12:40:28	1192	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:28	1192	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:28	1192	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:28	1192	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:28	1192	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860684 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:28	1192	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:28	1192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860684,8,1)
2023-10-13	12:40:28	1192	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:28	1192	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860684\":[1860684,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860684
2023-10-13	12:40:28	1192	[DEBUG]	Checking category
2023-10-13	12:40:28	1192	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:28	1192	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860684
2023-10-13	12:40:28	1192	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:28	1192	[DEBUG]	Executed store
2023-10-13	12:40:28	1192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860684','7289')
2023-10-13	12:40:28	1192	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:28	1192	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860684 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:28	1192	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:28	1192	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860684
2023-10-13	12:40:28	1193	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:28	1193	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:28	1193	[DEBUG]	Use field value for field taille
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:28	1193	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:28	1193	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:28	1193	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:28	1193	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:28	1193	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:28	1193	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:28	1193	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:28	1193	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:28	1193	[DEBUG]	Use field value for field published
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:28	1193	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field override
2023-10-13	12:40:28	1193	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:28	1193	[DEBUG]	Use field value for field slug
2023-10-13	12:40:28	1193	[DEBUG]	Process line 1193
2023-10-13	12:40:28	1193	[DEBUG]	Load a row
2023-10-13	12:40:28	1193	[DEBUG]	Processing item: 4524667241164
2023-10-13	12:40:28	1193	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:28	1193	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:28	1193	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8171_208'
2023-10-13	12:40:28	1193	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:28	1193	[DEBUG]	Processing product tax
2023-10-13	12:40:28	1193	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:28	1193	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:28	1193	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:28	1193	[DEBUG]	Query for Product
2023-10-13	12:40:28	1193	[DEBUG]	Executed store
2023-10-13	12:40:28	1193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860684','4524667241164','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:28	1193	[DEBUG]	No parent found
2023-10-13	12:40:28	1193	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860684 AND customfield_value = 'stockable'
2023-10-13	12:40:28	1193	[DEBUG]	Check product language entry
2023-10-13	12:40:28	1193	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860685
2023-10-13	12:40:28	1193	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:28	1193	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667241164' AND `virtuemart_product_id` != 1860685
2023-10-13	12:40:28	1193	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:28	1193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860685, '4524667241164')
2023-10-13	12:40:28	1193	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:28	1193	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-steps-cn-e6070-9-vitesses-118-maillons-box-aucune-unitaire' AND `virtuemart_product_id` != 1860685
2023-10-13	12:40:28	1193	[DEBUG]	Query for ProductLang
2023-10-13	12:40:28	1193	[DEBUG]	Executed store
2023-10-13	12:40:28	1193	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne STEPS CN-E6070 9-vitesses 118 maillons box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-steps-cn-e6070-9-vitesses-118-maillons-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1860685'
2023-10-13	12:40:28	1193	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_60491_001_jpg.jpg
2023-10-13	12:40:28	1193	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:28	1193	[DEBUG]	Process image file
2023-10-13	12:40:28	1193	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:28	1193	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:28	1193	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_60491_001_jpg.jpg
2023-10-13	12:40:28	1193	[DEBUG]	Full name target: bcprisme/68_60491_001_jpg.jpg
2023-10-13	12:40:29	1193	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:29	1193	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_60491_001_jpg.jpg'
2023-10-13	12:40:29	1193	[DEBUG]	Query for Media
2023-10-13	12:40:29	1193	[DEBUG]	Executed store
2023-10-13	12:40:29	1193	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_60491_001_jpg.jpg',`file_url_thumb`='bcprisme/68_60491_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '695245'
2023-10-13	12:40:29	1193	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:29	1193	[DEBUG]	Executed store
2023-10-13	12:40:29	1193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860685','695245','1')
2023-10-13	12:40:29	1193	[DEBUG]	Store product image relation
2023-10-13	12:40:29	1193	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:29	1193	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860685 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:29	1193	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:29	1193	[DEBUG]	Executed store
2023-10-13	12:40:29	1193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860685','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:29	1193	[DEBUG]	Checking manufacturer
2023-10-13	12:40:29	1193	[DEBUG]	Load a row
2023-10-13	12:40:29	1193	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:29	1193	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:40:29	1193	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:29	1193	[DEBUG]	Executed store
2023-10-13	12:40:29	1193	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:40:29	1193	[DEBUG]	Manufacturer exists
2023-10-13	12:40:29	1193	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:40:29	1193	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:29	1193	[DEBUG]	Executed store
2023-10-13	12:40:29	1193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860685','26')
2023-10-13	12:40:29	1193	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:29	1193	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:29	1193	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860685 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:29	1193	[DEBUG]	Store custom available field
2023-10-13	12:40:29	1193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860685,3,'',1)
2023-10-13	12:40:29	1193	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:29	1193	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:40:29	1193	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860685 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:29	1193	[DEBUG]	Store custom available field
2023-10-13	12:40:29	1193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860685,6,'Unitaire',3)
2023-10-13	12:40:29	1193	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:29	1193	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:29	1193	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860684
2023-10-13	12:40:29	1193	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:29	1193	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860684\":[1860684,8,1,\"choisir la taille\"],\"1860685\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860684
2023-10-13	12:40:29	1193	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:29	1193	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860685
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:29	1194	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field taille
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:29	1194	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:29	1194	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:29	1194	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:29	1194	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:29	1194	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:29	1194	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field published
2023-10-13	12:40:29	1194	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:29	1194	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field override
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:29	1194	[DEBUG]	Use field value for field slug
2023-10-13	12:40:29	1194	[DEBUG]	Process line 1194
2023-10-13	12:40:29	1194	[DEBUG]	Load a row
2023-10-13	12:40:29	1194	[DEBUG]	Processing item: A_8724_13
2023-10-13	12:40:29	1194	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:29	1194	[DEBUG]	Processing product tax
2023-10-13	12:40:29	1194	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:29	1194	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:29	1194	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:29	1194	[DEBUG]	Query for Product
2023-10-13	12:40:29	1194	[DEBUG]	Executed store
2023-10-13	12:40:29	1194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8724_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:29	1194	[DEBUG]	Check product language entry
2023-10-13	12:40:29	1194	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860686
2023-10-13	12:40:29	1194	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:29	1194	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8724_13' AND `virtuemart_product_id` != 1860686
2023-10-13	12:40:29	1194	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:29	1194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860686, 'A_8724_13')
2023-10-13	12:40:29	1194	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:29	1194	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-sram-pc-951-114-maillons-powerlink-9-vitesses-argent' AND `virtuemart_product_id` != 1860686
2023-10-13	12:40:29	1194	[DEBUG]	Query for ProductLang
2023-10-13	12:40:29	1194	[DEBUG]	Executed store
2023-10-13	12:40:29	1194	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D3656O-25',`product_name`='SRAM Chaîne SRAM PC 951 114 maillons PowerLink 9 vitesses / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-sram-pc-951-114-maillons-powerlink-9-vitesses-argent' WHERE `virtuemart_product_id` = '1860686'
2023-10-13	12:40:29	1194	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37685_chaîne_sram_pc_951_114_maillons_powerlink.jpg
2023-10-13	12:40:29	1194	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:29	1194	[DEBUG]	Process image file
2023-10-13	12:40:29	1194	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:29	1194	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:29	1194	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37685_chaîne_sram_pc_951_114_maillons_powerlink.jpg
2023-10-13	12:40:29	1194	[DEBUG]	Full name target: bcprisme/37685_chaîne_sram_pc_951_114_maillons_powerlink.jpg
2023-10-13	12:40:30	1194	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:30	1194	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37685_chaîne_sram_pc_951_114_maillons_powerlink.jpg'
2023-10-13	12:40:30	1194	[DEBUG]	Query for Media
2023-10-13	12:40:30	1194	[DEBUG]	Executed store
2023-10-13	12:40:30	1194	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37685_chaîne_sram_pc_951_114_maillons_powerlink.jpg',`file_url_thumb`='bcprisme/37685_chaîne_sram_pc_951_114_maillons_powerlink.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1039003'
2023-10-13	12:40:30	1194	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:30	1194	[DEBUG]	Executed store
2023-10-13	12:40:30	1194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860686','1039003','1')
2023-10-13	12:40:30	1194	[DEBUG]	Store product image relation
2023-10-13	12:40:30	1194	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:30	1194	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860686 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:30	1194	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:30	1194	[DEBUG]	Executed store
2023-10-13	12:40:30	1194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860686','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:30	1194	[DEBUG]	Checking manufacturer
2023-10-13	12:40:30	1194	[DEBUG]	Load a row
2023-10-13	12:40:30	1194	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:30	1194	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:40:30	1194	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:30	1194	[DEBUG]	Executed store
2023-10-13	12:40:30	1194	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:40:30	1194	[DEBUG]	Manufacturer exists
2023-10-13	12:40:30	1194	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:40:30	1194	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:30	1194	[DEBUG]	Executed store
2023-10-13	12:40:30	1194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860686','35')
2023-10-13	12:40:30	1194	[DEBUG]	Find the custom field ID
2023-10-13	12:40:30	1194	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:30	1194	[DEBUG]	No custom field ID found
2023-10-13	12:40:30	1194	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:30	1194	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:40:30	1194	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860686 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:30	1194	[DEBUG]	Store custom available field
2023-10-13	12:40:30	1194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860686,3,'0',1)
2023-10-13	12:40:30	1194	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:30	1194	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:30	1194	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860686 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:30	1194	[DEBUG]	Store custom available field
2023-10-13	12:40:30	1194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860686,6,'choisir la taille',3)
2023-10-13	12:40:30	1194	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:30	1194	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:30	1194	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:30	1194	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:30	1194	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860686 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:30	1194	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:30	1194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860686,8,1)
2023-10-13	12:40:30	1194	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:30	1194	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860686\":[1860686,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860686
2023-10-13	12:40:30	1194	[DEBUG]	Checking category
2023-10-13	12:40:30	1194	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:30	1194	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860686
2023-10-13	12:40:30	1194	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:30	1194	[DEBUG]	Executed store
2023-10-13	12:40:30	1194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860686','7289')
2023-10-13	12:40:30	1194	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:30	1194	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860686 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:30	1194	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:30	1194	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860686
2023-10-13	12:40:30	1195	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:30	1195	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:30	1195	[DEBUG]	Use field value for field taille
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:30	1195	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:30	1195	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:30	1195	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:30	1195	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:30	1195	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:30	1195	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:30	1195	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:30	1195	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:30	1195	[DEBUG]	Use field value for field published
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:30	1195	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field override
2023-10-13	12:40:30	1195	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:30	1195	[DEBUG]	Use field value for field slug
2023-10-13	12:40:30	1195	[DEBUG]	Process line 1195
2023-10-13	12:40:30	1195	[DEBUG]	Load a row
2023-10-13	12:40:30	1195	[DEBUG]	Processing item: 86.2706.114.116
2023-10-13	12:40:30	1195	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:30	1195	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:30	1195	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8724_13'
2023-10-13	12:40:30	1195	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:30	1195	[DEBUG]	Processing product tax
2023-10-13	12:40:30	1195	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:30	1195	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:30	1195	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:30	1195	[DEBUG]	Query for Product
2023-10-13	12:40:30	1195	[DEBUG]	Executed store
2023-10-13	12:40:30	1195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860686','86.2706.114.116','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:30	1195	[DEBUG]	No parent found
2023-10-13	12:40:30	1195	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860686 AND customfield_value = 'stockable'
2023-10-13	12:40:30	1195	[DEBUG]	Check product language entry
2023-10-13	12:40:30	1195	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860687
2023-10-13	12:40:30	1195	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:30	1195	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '86.2706.114.116' AND `virtuemart_product_id` != 1860687
2023-10-13	12:40:30	1195	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:30	1195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860687, '86.2706.114.116')
2023-10-13	12:40:30	1195	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:30	1195	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chaine-sram-pc-951-114-maillons-powerlink-9-vitesses-argent-all' AND `virtuemart_product_id` != 1860687
2023-10-13	12:40:30	1195	[DEBUG]	Query for ProductLang
2023-10-13	12:40:30	1195	[DEBUG]	Executed store
2023-10-13	12:40:30	1195	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chaîne SRAM PC 951 114 maillons PowerLink 9 vitesses / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chaine-sram-pc-951-114-maillons-powerlink-9-vitesses-argent-all' WHERE `virtuemart_product_id` = '1860687'
2023-10-13	12:40:30	1195	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37685_chaîne_sram_pc_951_114_maillons_powerlink.jpg
2023-10-13	12:40:30	1195	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:30	1195	[DEBUG]	Process image file
2023-10-13	12:40:30	1195	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:30	1195	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:30	1195	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37685_chaîne_sram_pc_951_114_maillons_powerlink.jpg
2023-10-13	12:40:30	1195	[DEBUG]	Full name target: bcprisme/37685_chaîne_sram_pc_951_114_maillons_powerlink.jpg
2023-10-13	12:40:31	1195	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:31	1195	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37685_chaîne_sram_pc_951_114_maillons_powerlink.jpg'
2023-10-13	12:40:31	1195	[DEBUG]	Query for Media
2023-10-13	12:40:31	1195	[DEBUG]	Executed store
2023-10-13	12:40:31	1195	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37685_chaîne_sram_pc_951_114_maillons_powerlink.jpg',`file_url_thumb`='bcprisme/37685_chaîne_sram_pc_951_114_maillons_powerlink.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1039003'
2023-10-13	12:40:31	1195	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:31	1195	[DEBUG]	Executed store
2023-10-13	12:40:31	1195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860687','1039003','1')
2023-10-13	12:40:31	1195	[DEBUG]	Store product image relation
2023-10-13	12:40:31	1195	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:31	1195	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860687 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:31	1195	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:31	1195	[DEBUG]	Executed store
2023-10-13	12:40:31	1195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860687','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:31	1195	[DEBUG]	Checking manufacturer
2023-10-13	12:40:31	1195	[DEBUG]	Load a row
2023-10-13	12:40:31	1195	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:31	1195	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:40:31	1195	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:31	1195	[DEBUG]	Executed store
2023-10-13	12:40:31	1195	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:40:31	1195	[DEBUG]	Manufacturer exists
2023-10-13	12:40:31	1195	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:40:31	1195	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:31	1195	[DEBUG]	Executed store
2023-10-13	12:40:31	1195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860687','35')
2023-10-13	12:40:31	1195	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:31	1195	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:31	1195	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860687 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:31	1195	[DEBUG]	Store custom available field
2023-10-13	12:40:31	1195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860687,3,'',1)
2023-10-13	12:40:31	1195	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:31	1195	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:40:31	1195	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860687 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:31	1195	[DEBUG]	Store custom available field
2023-10-13	12:40:31	1195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860687,6,'All',3)
2023-10-13	12:40:31	1195	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:31	1195	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:31	1195	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860686
2023-10-13	12:40:31	1195	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:31	1195	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860686\":[1860686,8,1,\"choisir la taille\"],\"1860687\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860686
2023-10-13	12:40:31	1195	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:31	1195	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860687
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:31	1196	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field taille
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:31	1196	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:31	1196	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:31	1196	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:31	1196	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:31	1196	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:31	1196	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field published
2023-10-13	12:40:31	1196	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:31	1196	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field override
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:31	1196	[DEBUG]	Use field value for field slug
2023-10-13	12:40:31	1196	[DEBUG]	Process line 1196
2023-10-13	12:40:31	1196	[DEBUG]	Load a row
2023-10-13	12:40:31	1196	[DEBUG]	Processing item: A_9419_767
2023-10-13	12:40:31	1196	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:31	1196	[DEBUG]	Processing product tax
2023-10-13	12:40:31	1196	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:31	1196	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:31	1196	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:31	1196	[DEBUG]	Query for Product
2023-10-13	12:40:31	1196	[DEBUG]	Executed store
2023-10-13	12:40:31	1196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9419_767','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:31	1196	[DEBUG]	Check product language entry
2023-10-13	12:40:31	1196	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860688
2023-10-13	12:40:31	1196	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:31	1196	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9419_767' AND `virtuemart_product_id` != 1860688
2023-10-13	12:40:31	1196	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:31	1196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860688, 'A_9419_767')
2023-10-13	12:40:31	1196	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:31	1196	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chain-connector-power-link-9sp-1pcs-one-size-gold' AND `virtuemart_product_id` != 1860688
2023-10-13	12:40:31	1196	[DEBUG]	Query for ProductLang
2023-10-13	12:40:31	1196	[DEBUG]	Executed store
2023-10-13	12:40:31	1196	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820111000100088000',`product_name`='SRAM Chain Connector Power Link 9SP 1PCS one size / gold',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chain-connector-power-link-9sp-1pcs-one-size-gold' WHERE `virtuemart_product_id` = '1860688'
2023-10-13	12:40:31	1196	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38623_chain_connector_power_link_9sp_1pcs_one_size.jpg
2023-10-13	12:40:31	1196	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:31	1196	[DEBUG]	Process image file
2023-10-13	12:40:31	1196	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:31	1196	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:31	1196	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38623_chain_connector_power_link_9sp_1pcs_one_size.jpg
2023-10-13	12:40:31	1196	[DEBUG]	Full name target: bcprisme/38623_chain_connector_power_link_9sp_1pcs_one_size.jpg
2023-10-13	12:40:32	1196	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:32	1196	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38623_chain_connector_power_link_9sp_1pcs_one_size.jpg'
2023-10-13	12:40:32	1196	[DEBUG]	Query for Media
2023-10-13	12:40:32	1196	[DEBUG]	Executed store
2023-10-13	12:40:32	1196	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38623_chain_connector_power_link_9sp_1pcs_one_size.jpg',`file_url_thumb`='bcprisme/38623_chain_connector_power_link_9sp_1pcs_one_size.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410486'
2023-10-13	12:40:32	1196	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:32	1196	[DEBUG]	Executed store
2023-10-13	12:40:32	1196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860688','1410486','1')
2023-10-13	12:40:32	1196	[DEBUG]	Store product image relation
2023-10-13	12:40:32	1196	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:32	1196	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860688 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:32	1196	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:32	1196	[DEBUG]	Executed store
2023-10-13	12:40:32	1196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860688','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:32	1196	[DEBUG]	Checking manufacturer
2023-10-13	12:40:32	1196	[DEBUG]	Load a row
2023-10-13	12:40:32	1196	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:32	1196	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:40:32	1196	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:32	1196	[DEBUG]	Executed store
2023-10-13	12:40:32	1196	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:40:32	1196	[DEBUG]	Manufacturer exists
2023-10-13	12:40:32	1196	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:40:32	1196	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:32	1196	[DEBUG]	Executed store
2023-10-13	12:40:32	1196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860688','35')
2023-10-13	12:40:32	1196	[DEBUG]	Find the custom field ID
2023-10-13	12:40:32	1196	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:32	1196	[DEBUG]	No custom field ID found
2023-10-13	12:40:32	1196	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:32	1196	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:40:32	1196	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860688 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:32	1196	[DEBUG]	Store custom available field
2023-10-13	12:40:32	1196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860688,3,'0',1)
2023-10-13	12:40:32	1196	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:32	1196	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:32	1196	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860688 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:32	1196	[DEBUG]	Store custom available field
2023-10-13	12:40:32	1196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860688,6,'choisir la taille',3)
2023-10-13	12:40:32	1196	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:32	1196	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:32	1196	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:32	1196	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:32	1196	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860688 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:32	1196	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:32	1196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860688,8,1)
2023-10-13	12:40:32	1196	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:32	1196	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860688\":[1860688,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860688
2023-10-13	12:40:32	1196	[DEBUG]	Checking category
2023-10-13	12:40:32	1196	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:32	1196	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860688
2023-10-13	12:40:32	1196	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:32	1196	[DEBUG]	Executed store
2023-10-13	12:40:32	1196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860688','7289')
2023-10-13	12:40:32	1196	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:32	1196	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860688 AND `virtuemart_category_id` NOT IN (7289)
2023-10-13	12:40:32	1196	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:32	1196	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860688
2023-10-13	12:40:32	1197	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:32	1197	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:32	1197	[DEBUG]	Use field value for field taille
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:32	1197	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:32	1197	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:32	1197	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:32	1197	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:32	1197	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:32	1197	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:32	1197	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:32	1197	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:32	1197	[DEBUG]	Use field value for field published
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:32	1197	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field override
2023-10-13	12:40:32	1197	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:32	1197	[DEBUG]	Use field value for field slug
2023-10-13	12:40:32	1197	[DEBUG]	Process line 1197
2023-10-13	12:40:32	1197	[DEBUG]	Load a row
2023-10-13	12:40:32	1197	[DEBUG]	Processing item: 710845007514
2023-10-13	12:40:32	1197	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:32	1197	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:32	1197	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9419_767'
2023-10-13	12:40:32	1197	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:32	1197	[DEBUG]	Processing product tax
2023-10-13	12:40:32	1197	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:32	1197	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:32	1197	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:32	1197	[DEBUG]	Query for Product
2023-10-13	12:40:32	1197	[DEBUG]	Executed store
2023-10-13	12:40:32	1197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860688','710845007514','0','KG','M','','15','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:32	1197	[DEBUG]	No parent found
2023-10-13	12:40:32	1197	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860688 AND customfield_value = 'stockable'
2023-10-13	12:40:32	1197	[DEBUG]	Check product language entry
2023-10-13	12:40:32	1197	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860689
2023-10-13	12:40:32	1197	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:32	1197	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845007514' AND `virtuemart_product_id` != 1860689
2023-10-13	12:40:32	1197	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:32	1197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860689, '710845007514')
2023-10-13	12:40:32	1197	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:32	1197	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-chain-connector-power-link-9sp-1pcs-one-size-gold-unitaire' AND `virtuemart_product_id` != 1860689
2023-10-13	12:40:32	1197	[DEBUG]	Query for ProductLang
2023-10-13	12:40:32	1197	[DEBUG]	Executed store
2023-10-13	12:40:32	1197	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Chain Connector Power Link 9SP 1PCS one size / gold (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-chain-connector-power-link-9sp-1pcs-one-size-gold-unitaire' WHERE `virtuemart_product_id` = '1860689'
2023-10-13	12:40:32	1197	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38623_chain_connector_power_link_9sp_1pcs_one_size.jpg
2023-10-13	12:40:32	1197	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:32	1197	[DEBUG]	Process image file
2023-10-13	12:40:32	1197	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:40:32	1197	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:32	1197	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38623_chain_connector_power_link_9sp_1pcs_one_size.jpg
2023-10-13	12:40:32	1197	[DEBUG]	Full name target: bcprisme/38623_chain_connector_power_link_9sp_1pcs_one_size.jpg
2023-10-13	12:40:33	1197	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:33	1197	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38623_chain_connector_power_link_9sp_1pcs_one_size.jpg'
2023-10-13	12:40:33	1197	[DEBUG]	Query for Media
2023-10-13	12:40:33	1197	[DEBUG]	Executed store
2023-10-13	12:40:33	1197	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38623_chain_connector_power_link_9sp_1pcs_one_size.jpg',`file_url_thumb`='bcprisme/38623_chain_connector_power_link_9sp_1pcs_one_size.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410486'
2023-10-13	12:40:33	1197	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:33	1197	[DEBUG]	Executed store
2023-10-13	12:40:33	1197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860689','1410486','1')
2023-10-13	12:40:33	1197	[DEBUG]	Store product image relation
2023-10-13	12:40:33	1197	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:33	1197	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860689 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:33	1197	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:33	1197	[DEBUG]	Executed store
2023-10-13	12:40:33	1197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860689','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:33	1197	[DEBUG]	Checking manufacturer
2023-10-13	12:40:33	1197	[DEBUG]	Load a row
2023-10-13	12:40:33	1197	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:33	1197	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:40:33	1197	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:33	1197	[DEBUG]	Executed store
2023-10-13	12:40:33	1197	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:40:33	1197	[DEBUG]	Manufacturer exists
2023-10-13	12:40:33	1197	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:40:33	1197	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:33	1197	[DEBUG]	Executed store
2023-10-13	12:40:33	1197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860689','35')
2023-10-13	12:40:33	1197	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:33	1197	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:33	1197	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860689 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:33	1197	[DEBUG]	Store custom available field
2023-10-13	12:40:33	1197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860689,3,'',1)
2023-10-13	12:40:33	1197	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:33	1197	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:40:33	1197	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860689 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:33	1197	[DEBUG]	Store custom available field
2023-10-13	12:40:33	1197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860689,6,'Unitaire',3)
2023-10-13	12:40:33	1197	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:33	1197	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:33	1197	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860688
2023-10-13	12:40:33	1197	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:33	1197	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860688\":[1860688,8,1,\"choisir la taille\"],\"1860689\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860688
2023-10-13	12:40:33	1197	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:33	1197	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860689
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:33	1198	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field taille
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:33	1198	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:33	1198	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:33	1198	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:33	1198	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:33	1198	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:33	1198	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field published
2023-10-13	12:40:33	1198	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:33	1198	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field override
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:33	1198	[DEBUG]	Use field value for field slug
2023-10-13	12:40:33	1198	[DEBUG]	Process line 1198
2023-10-13	12:40:33	1198	[DEBUG]	Load a row
2023-10-13	12:40:33	1198	[DEBUG]	Processing item: A_677_1
2023-10-13	12:40:33	1198	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:33	1198	[DEBUG]	Processing product tax
2023-10-13	12:40:33	1198	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:33	1198	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:33	1198	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:33	1198	[DEBUG]	Query for Product
2023-10-13	12:40:33	1198	[DEBUG]	Executed store
2023-10-13	12:40:33	1198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_677_1','0.4','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:33	1198	[DEBUG]	Check product language entry
2023-10-13	12:40:33	1198	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860690
2023-10-13	12:40:33	1198	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:33	1198	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_677_1' AND `virtuemart_product_id` != 1860690
2023-10-13	12:40:33	1198	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:33	1198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860690, 'A_677_1')
2023-10-13	12:40:33	1198	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:33	1198	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-bmx-1-2-1-8-112mm-399-gr-noir' AND `virtuemart_product_id` != 1860690
2023-10-13	12:40:33	1198	[DEBUG]	Query for ProductLang
2023-10-13	12:40:33	1198	[DEBUG]	Executed store
2023-10-13	12:40:33	1198	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1 vitesse, 399 gr<br>N° art fourn : MK918',`product_name`='YBN Chaîne BMX 1/2 1/8 112mm, 399 gr.,  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-bmx-1-2-1-8-112mm-399-gr-noir' WHERE `virtuemart_product_id` = '1860690'
2023-10-13	12:40:33	1198	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_924.jpg
2023-10-13	12:40:33	1198	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:33	1198	[DEBUG]	Process image file
2023-10-13	12:40:33	1198	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:33	1198	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:33	1198	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_924.jpg
2023-10-13	12:40:33	1198	[DEBUG]	Full name target: bcprisme/image_924.jpg
2023-10-13	12:40:34	1198	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:34	1198	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_924.jpg'
2023-10-13	12:40:34	1198	[DEBUG]	Query for Media
2023-10-13	12:40:34	1198	[DEBUG]	Executed store
2023-10-13	12:40:34	1198	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_924.jpg',`file_url_thumb`='bcprisme/image_924.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12587'
2023-10-13	12:40:34	1198	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:34	1198	[DEBUG]	Executed store
2023-10-13	12:40:34	1198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860690','12587','1')
2023-10-13	12:40:34	1198	[DEBUG]	Store product image relation
2023-10-13	12:40:34	1198	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:34	1198	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860690 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:34	1198	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:34	1198	[DEBUG]	Executed store
2023-10-13	12:40:34	1198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860690','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:34	1198	[DEBUG]	Checking manufacturer
2023-10-13	12:40:34	1198	[DEBUG]	Load a row
2023-10-13	12:40:34	1198	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:34	1198	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:40:34	1198	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:34	1198	[DEBUG]	Executed store
2023-10-13	12:40:34	1198	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:40:34	1198	[DEBUG]	Manufacturer exists
2023-10-13	12:40:34	1198	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:40:34	1198	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:34	1198	[DEBUG]	Executed store
2023-10-13	12:40:34	1198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860690','216')
2023-10-13	12:40:34	1198	[DEBUG]	Find the custom field ID
2023-10-13	12:40:34	1198	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:34	1198	[DEBUG]	No custom field ID found
2023-10-13	12:40:34	1198	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:34	1198	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	12:40:34	1198	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860690 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:34	1198	[DEBUG]	Store custom available field
2023-10-13	12:40:34	1198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860690,3,'39.7891666666667',1)
2023-10-13	12:40:34	1198	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:34	1198	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:34	1198	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860690 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:34	1198	[DEBUG]	Store custom available field
2023-10-13	12:40:34	1198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860690,6,'choisir la taille',3)
2023-10-13	12:40:34	1198	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:34	1198	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:34	1198	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:34	1198	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:34	1198	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860690 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:34	1198	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:34	1198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860690,8,1)
2023-10-13	12:40:34	1198	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:34	1198	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860690\":[1860690,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860690
2023-10-13	12:40:34	1198	[DEBUG]	Checking category
2023-10-13	12:40:35	1198	[DEBUG]	Check if category path exists: CHAINES BMX - BMS KETTEN
2023-10-13	12:40:35	1198	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAINES BMX - BMS KETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7284
2023-10-13	12:40:35	1198	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:35	1198	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860690
2023-10-13	12:40:35	1198	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:35	1198	[DEBUG]	Executed store
2023-10-13	12:40:35	1198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860690','7290')
2023-10-13	12:40:35	1198	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:35	1198	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860690 AND `virtuemart_category_id` NOT IN (7290)
2023-10-13	12:40:35	1198	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:35	1198	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860690
2023-10-13	12:40:35	1199	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:35	1199	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:35	1199	[DEBUG]	Use field value for field taille
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:35	1199	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:35	1199	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:35	1199	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:35	1199	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:35	1199	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:35	1199	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:35	1199	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:35	1199	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:35	1199	[DEBUG]	Use field value for field published
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:35	1199	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field override
2023-10-13	12:40:35	1199	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:35	1199	[DEBUG]	Use field value for field slug
2023-10-13	12:40:35	1199	[DEBUG]	Process line 1199
2023-10-13	12:40:35	1199	[DEBUG]	Load a row
2023-10-13	12:40:35	1199	[DEBUG]	Processing item: 8436047356046
2023-10-13	12:40:35	1199	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:35	1199	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:35	1199	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_677_1'
2023-10-13	12:40:35	1199	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:35	1199	[DEBUG]	Processing product tax
2023-10-13	12:40:35	1199	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:35	1199	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:35	1199	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:35	1199	[DEBUG]	Query for Product
2023-10-13	12:40:35	1199	[DEBUG]	Executed store
2023-10-13	12:40:35	1199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860690','8436047356046','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:35	1199	[DEBUG]	No parent found
2023-10-13	12:40:35	1199	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860690 AND customfield_value = 'stockable'
2023-10-13	12:40:35	1199	[DEBUG]	Check product language entry
2023-10-13	12:40:35	1199	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860691
2023-10-13	12:40:35	1199	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:35	1199	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047356046' AND `virtuemart_product_id` != 1860691
2023-10-13	12:40:35	1199	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:35	1199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860691, '8436047356046')
2023-10-13	12:40:35	1199	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:35	1199	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-bmx-1-2-1-8-112mm-399-gr-noir-unitaire' AND `virtuemart_product_id` != 1860691
2023-10-13	12:40:35	1199	[DEBUG]	Query for ProductLang
2023-10-13	12:40:35	1199	[DEBUG]	Executed store
2023-10-13	12:40:35	1199	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='YBN Chaîne BMX 1/2 1/8 112mm, 399 gr.,  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-bmx-1-2-1-8-112mm-399-gr-noir-unitaire' WHERE `virtuemart_product_id` = '1860691'
2023-10-13	12:40:35	1199	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_924.jpg
2023-10-13	12:40:35	1199	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:35	1199	[DEBUG]	Process image file
2023-10-13	12:40:35	1199	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:35	1199	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:35	1199	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_924.jpg
2023-10-13	12:40:35	1199	[DEBUG]	Full name target: bcprisme/image_924.jpg
2023-10-13	12:40:36	1199	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:36	1199	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_924.jpg'
2023-10-13	12:40:36	1199	[DEBUG]	Query for Media
2023-10-13	12:40:36	1199	[DEBUG]	Executed store
2023-10-13	12:40:36	1199	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_924.jpg',`file_url_thumb`='bcprisme/image_924.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12587'
2023-10-13	12:40:36	1199	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:36	1199	[DEBUG]	Executed store
2023-10-13	12:40:36	1199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860691','12587','1')
2023-10-13	12:40:36	1199	[DEBUG]	Store product image relation
2023-10-13	12:40:36	1199	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:36	1199	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860691 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:36	1199	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:36	1199	[DEBUG]	Executed store
2023-10-13	12:40:36	1199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860691','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:36	1199	[DEBUG]	Checking manufacturer
2023-10-13	12:40:36	1199	[DEBUG]	Load a row
2023-10-13	12:40:36	1199	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:36	1199	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:40:36	1199	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:36	1199	[DEBUG]	Executed store
2023-10-13	12:40:36	1199	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:40:36	1199	[DEBUG]	Manufacturer exists
2023-10-13	12:40:36	1199	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:40:36	1199	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:36	1199	[DEBUG]	Executed store
2023-10-13	12:40:36	1199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860691','216')
2023-10-13	12:40:36	1199	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:36	1199	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:36	1199	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860691 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:36	1199	[DEBUG]	Store custom available field
2023-10-13	12:40:36	1199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860691,3,'',1)
2023-10-13	12:40:36	1199	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:36	1199	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:40:36	1199	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860691 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:36	1199	[DEBUG]	Store custom available field
2023-10-13	12:40:36	1199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860691,6,'Unitaire',3)
2023-10-13	12:40:36	1199	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:36	1199	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:36	1199	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860690
2023-10-13	12:40:36	1199	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:36	1199	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860690\":[1860690,8,1,\"choisir la taille\"],\"1860691\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860690
2023-10-13	12:40:36	1199	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:36	1199	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860691
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:36	1200	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field taille
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:36	1200	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:36	1200	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:36	1200	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:36	1200	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:36	1200	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:36	1200	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field published
2023-10-13	12:40:36	1200	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:36	1200	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field override
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:36	1200	[DEBUG]	Use field value for field slug
2023-10-13	12:40:36	1200	[DEBUG]	Process line 1200
2023-10-13	12:40:36	1200	[DEBUG]	Load a row
2023-10-13	12:40:36	1200	[DEBUG]	Processing item: A_677_5
2023-10-13	12:40:36	1200	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:36	1200	[DEBUG]	Processing product tax
2023-10-13	12:40:36	1200	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:36	1200	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:36	1200	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:36	1200	[DEBUG]	Query for Product
2023-10-13	12:40:36	1200	[DEBUG]	Executed store
2023-10-13	12:40:36	1200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_677_5','0.4','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0')
2023-10-13	12:40:36	1200	[DEBUG]	Check product language entry
2023-10-13	12:40:36	1200	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860692
2023-10-13	12:40:36	1200	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:36	1200	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_677_5' AND `virtuemart_product_id` != 1860692
2023-10-13	12:40:36	1200	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:36	1200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860692, 'A_677_5')
2023-10-13	12:40:36	1200	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:36	1200	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-bmx-1-2-1-8-112mm-399-gr-or' AND `virtuemart_product_id` != 1860692
2023-10-13	12:40:36	1200	[DEBUG]	Query for ProductLang
2023-10-13	12:40:36	1200	[DEBUG]	Executed store
2023-10-13	12:40:36	1200	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1 vitesse, 399 gr<br>N° art fourn : MK918',`product_name`='YBN Chaîne BMX 1/2 1/8 112mm, 399 gr.,  / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-bmx-1-2-1-8-112mm-399-gr-or' WHERE `virtuemart_product_id` = '1860692'
2023-10-13	12:40:36	1200	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_926.jpg
2023-10-13	12:40:36	1200	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:36	1200	[DEBUG]	Process image file
2023-10-13	12:40:36	1200	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:36	1200	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:36	1200	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_926.jpg
2023-10-13	12:40:36	1200	[DEBUG]	Full name target: bcprisme/image_926.jpg
2023-10-13	12:40:37	1200	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:37	1200	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_926.jpg'
2023-10-13	12:40:37	1200	[DEBUG]	Query for Media
2023-10-13	12:40:37	1200	[DEBUG]	Executed store
2023-10-13	12:40:37	1200	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_926.jpg',`file_url_thumb`='bcprisme/image_926.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12588'
2023-10-13	12:40:37	1200	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:37	1200	[DEBUG]	Executed store
2023-10-13	12:40:37	1200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860692','12588','1')
2023-10-13	12:40:37	1200	[DEBUG]	Store product image relation
2023-10-13	12:40:37	1200	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:37	1200	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860692 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:37	1200	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:37	1200	[DEBUG]	Executed store
2023-10-13	12:40:37	1200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860692','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:38:51','1593','2023-10-13 12:38:51','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:37	1200	[DEBUG]	Checking manufacturer
2023-10-13	12:40:37	1200	[DEBUG]	Load a row
2023-10-13	12:40:37	1200	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:37	1200	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:40:37	1200	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:37	1200	[DEBUG]	Executed store
2023-10-13	12:40:37	1200	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:40:37	1200	[DEBUG]	Manufacturer exists
2023-10-13	12:40:37	1200	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:40:37	1200	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:37	1200	[DEBUG]	Executed store
2023-10-13	12:40:37	1200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860692','216')
2023-10-13	12:40:37	1200	[DEBUG]	Find the custom field ID
2023-10-13	12:40:37	1200	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:37	1200	[DEBUG]	No custom field ID found
2023-10-13	12:40:37	1200	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:37	1200	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	12:40:37	1200	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860692 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:37	1200	[DEBUG]	Store custom available field
2023-10-13	12:40:37	1200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860692,3,'39.7891666666667',1)
2023-10-13	12:40:37	1200	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:37	1200	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:37	1200	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860692 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:37	1200	[DEBUG]	Store custom available field
2023-10-13	12:40:37	1200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860692,6,'choisir la taille',3)
2023-10-13	12:40:37	1200	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:37	1200	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:37	1200	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:37	1200	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:37	1200	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860692 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:37	1200	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:37	1200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860692,8,1)
2023-10-13	12:40:37	1200	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:37	1200	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860692\":[1860692,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860692
2023-10-13	12:40:37	1200	[DEBUG]	Checking category
2023-10-13	12:40:37	1200	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:37	1200	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860692
2023-10-13	12:40:37	1200	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:37	1200	[DEBUG]	Executed store
2023-10-13	12:40:37	1200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860692','7290')
2023-10-13	12:40:37	1200	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:37	1200	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860692 AND `virtuemart_category_id` NOT IN (7290)
2023-10-13	12:40:37	1200	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:37	1200	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860692
2023-10-13	12:40:57	1200	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:40:57	1200	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:40:57	1200	[DEBUG]	Load the fields to process
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: product_sku
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: taille
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: product_name
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: category_path
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: product_price
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: product_override_price
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: product_tax
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: file_url
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: product_desc
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: product_availability
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: product_weight
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: product_unit
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: related_products
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: product_special
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: published
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: metadesc
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: metakey
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: custom_title
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: custom_value
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: custom_param
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: override
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: public_price
2023-10-13	12:40:57	1200	[DEBUG]	Setup field: slug
2023-10-13	12:40:57	1200	[DEBUG]	Use the file for configuration
2023-10-13	12:40:57	1200	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:40:57	1200	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:40:57	1200	[DEBUG]	Load the custom fields
2023-10-13	12:40:57	1200	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:40:57	1200	[DEBUG]	Load stockable custom fields
2023-10-13	12:40:57	1200	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:40:57	1200	[DEBUG]	Load custom fields for all
2023-10-13	12:40:57	1200	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:40:57	1201	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:57	1201	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:57	1201	[DEBUG]	Use field value for field taille
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:57	1201	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:57	1201	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:57	1201	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:57	1201	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:57	1201	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:57	1201	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:57	1201	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:57	1201	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:57	1201	[DEBUG]	Use field value for field published
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:57	1201	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field override
2023-10-13	12:40:57	1201	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:57	1201	[DEBUG]	Use field value for field slug
2023-10-13	12:40:57	1201	[DEBUG]	Process line 1201
2023-10-13	12:40:57	1201	[DEBUG]	Check if the vendor exists
2023-10-13	12:40:57	1201	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '4715725100155'
2023-10-13	12:40:57	1201	[DEBUG]	Load a row
2023-10-13	12:40:57	1201	[DEBUG]	Processing item: 4715725100155
2023-10-13	12:40:57	1201	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:57	1201	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:57	1201	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_677_5'
2023-10-13	12:40:57	1201	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:57	1201	[DEBUG]	Processing product tax
2023-10-13	12:40:57	1201	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:57	1201	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:57	1201	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:57	1201	[DEBUG]	Query for Product
2023-10-13	12:40:57	1201	[DEBUG]	Executed store
2023-10-13	12:40:57	1201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860692','4715725100155','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:40:57	1201	[DEBUG]	No parent found
2023-10-13	12:40:57	1201	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860692 AND customfield_value = 'stockable'
2023-10-13	12:40:57	1201	[DEBUG]	Check product language entry
2023-10-13	12:40:57	1201	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860693
2023-10-13	12:40:57	1201	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:57	1201	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4715725100155' AND `virtuemart_product_id` != 1860693
2023-10-13	12:40:57	1201	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:57	1201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860693, '4715725100155')
2023-10-13	12:40:57	1201	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:57	1201	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-bmx-1-2-1-8-112mm-399-gr-or-unitaire' AND `virtuemart_product_id` != 1860693
2023-10-13	12:40:57	1201	[DEBUG]	Query for ProductLang
2023-10-13	12:40:57	1201	[DEBUG]	Executed store
2023-10-13	12:40:57	1201	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='YBN Chaîne BMX 1/2 1/8 112mm, 399 gr.,  / Or (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-bmx-1-2-1-8-112mm-399-gr-or-unitaire' WHERE `virtuemart_product_id` = '1860693'
2023-10-13	12:40:57	1201	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_926.jpg
2023-10-13	12:40:57	1201	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:57	1201	[DEBUG]	Process image file
2023-10-13	12:40:57	1201	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:57	1201	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:57	1201	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_926.jpg
2023-10-13	12:40:57	1201	[DEBUG]	Full name target: bcprisme/image_926.jpg
2023-10-13	12:40:58	1201	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:58	1201	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_926.jpg'
2023-10-13	12:40:58	1201	[DEBUG]	Query for Media
2023-10-13	12:40:58	1201	[DEBUG]	Executed store
2023-10-13	12:40:58	1201	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_926.jpg',`file_url_thumb`='bcprisme/image_926.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12588'
2023-10-13	12:40:58	1201	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:58	1201	[DEBUG]	Executed store
2023-10-13	12:40:58	1201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860693','12588','1')
2023-10-13	12:40:58	1201	[DEBUG]	Store product image relation
2023-10-13	12:40:58	1201	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:58	1201	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860693 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:58	1201	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:58	1201	[DEBUG]	Executed store
2023-10-13	12:40:58	1201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860693','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:58	1201	[DEBUG]	Checking manufacturer
2023-10-13	12:40:58	1201	[DEBUG]	Load a row
2023-10-13	12:40:58	1201	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:58	1201	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:40:58	1201	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:58	1201	[DEBUG]	Executed store
2023-10-13	12:40:58	1201	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:40:58	1201	[DEBUG]	Manufacturer exists
2023-10-13	12:40:58	1201	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:40:58	1201	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:58	1201	[DEBUG]	Executed store
2023-10-13	12:40:58	1201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860693','216')
2023-10-13	12:40:58	1201	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:58	1201	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:40:58	1201	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860693 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:58	1201	[DEBUG]	Store custom available field
2023-10-13	12:40:58	1201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860693,3,'',1)
2023-10-13	12:40:58	1201	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:58	1201	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:40:58	1201	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860693 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:58	1201	[DEBUG]	Store custom available field
2023-10-13	12:40:58	1201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860693,6,'Unitaire',3)
2023-10-13	12:40:58	1201	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:58	1201	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:40:58	1201	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860692
2023-10-13	12:40:58	1201	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:58	1201	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860692\":[1860692,8,1,\"choisir la taille\"],\"1860693\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860692
2023-10-13	12:40:58	1201	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:58	1201	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860693
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:58	1202	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field taille
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field category_path
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:58	1202	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:40:58	1202	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:58	1202	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field product_weight
2023-10-13	12:40:58	1202	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:58	1202	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:58	1202	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field published
2023-10-13	12:40:58	1202	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:58	1202	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field custom_title
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field custom_param
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field override
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field public_price
2023-10-13	12:40:58	1202	[DEBUG]	Use field value for field slug
2023-10-13	12:40:58	1202	[DEBUG]	Process line 1202
2023-10-13	12:40:58	1202	[DEBUG]	Load a row
2023-10-13	12:40:58	1202	[DEBUG]	Processing item: A_677_7
2023-10-13	12:40:58	1202	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:58	1202	[DEBUG]	Processing product tax
2023-10-13	12:40:58	1202	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:58	1202	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:58	1202	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:58	1202	[DEBUG]	Query for Product
2023-10-13	12:40:58	1202	[DEBUG]	Executed store
2023-10-13	12:40:58	1202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_677_7','0.4','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:40:58	1202	[DEBUG]	Check product language entry
2023-10-13	12:40:58	1202	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860694
2023-10-13	12:40:58	1202	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:58	1202	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_677_7' AND `virtuemart_product_id` != 1860694
2023-10-13	12:40:58	1202	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:58	1202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860694, 'A_677_7')
2023-10-13	12:40:58	1202	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:58	1202	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-bmx-1-2-1-8-112mm-399-gr-rouge' AND `virtuemart_product_id` != 1860694
2023-10-13	12:40:58	1202	[DEBUG]	Query for ProductLang
2023-10-13	12:40:58	1202	[DEBUG]	Executed store
2023-10-13	12:40:58	1202	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1 vitesse, 399 gr<br>N° art fourn : MK918',`product_name`='YBN Chaîne BMX 1/2 1/8 112mm, 399 gr.,  / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-bmx-1-2-1-8-112mm-399-gr-rouge' WHERE `virtuemart_product_id` = '1860694'
2023-10-13	12:40:58	1202	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_927.jpg
2023-10-13	12:40:58	1202	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:58	1202	[DEBUG]	Process image file
2023-10-13	12:40:58	1202	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:58	1202	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:58	1202	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_927.jpg
2023-10-13	12:40:58	1202	[DEBUG]	Full name target: bcprisme/image_927.jpg
2023-10-13	12:40:59	1202	[DEBUG]	Checking if the file_url exists
2023-10-13	12:40:59	1202	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_927.jpg'
2023-10-13	12:40:59	1202	[DEBUG]	Query for Media
2023-10-13	12:40:59	1202	[DEBUG]	Executed store
2023-10-13	12:40:59	1202	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_927.jpg',`file_url_thumb`='bcprisme/image_927.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12589'
2023-10-13	12:40:59	1202	[DEBUG]	Query for ProductMedia
2023-10-13	12:40:59	1202	[DEBUG]	Executed store
2023-10-13	12:40:59	1202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860694','12589','1')
2023-10-13	12:40:59	1202	[DEBUG]	Store product image relation
2023-10-13	12:40:59	1202	[DEBUG]	Finding a product_price_id
2023-10-13	12:40:59	1202	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860694 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:40:59	1202	[DEBUG]	Query for ProductPrice
2023-10-13	12:40:59	1202	[DEBUG]	Executed store
2023-10-13	12:40:59	1202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860694','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:40:59	1202	[DEBUG]	Checking manufacturer
2023-10-13	12:40:59	1202	[DEBUG]	Load a row
2023-10-13	12:40:59	1202	[DEBUG]	Manufacturer already exists
2023-10-13	12:40:59	1202	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:40:59	1202	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:40:59	1202	[DEBUG]	Executed store
2023-10-13	12:40:59	1202	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:40:59	1202	[DEBUG]	Manufacturer exists
2023-10-13	12:40:59	1202	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:40:59	1202	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:40:59	1202	[DEBUG]	Executed store
2023-10-13	12:40:59	1202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860694','216')
2023-10-13	12:40:59	1202	[DEBUG]	Find the custom field ID
2023-10-13	12:40:59	1202	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:40:59	1202	[DEBUG]	No custom field ID found
2023-10-13	12:40:59	1202	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:40:59	1202	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	12:40:59	1202	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860694 AND `virtuemart_custom_id` = 3
2023-10-13	12:40:59	1202	[DEBUG]	Store custom available field
2023-10-13	12:40:59	1202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860694,3,'39.7891666666667',1)
2023-10-13	12:40:59	1202	[DEBUG]	Processing custom available field: taille
2023-10-13	12:40:59	1202	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:40:59	1202	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860694 AND `virtuemart_custom_id` = 6
2023-10-13	12:40:59	1202	[DEBUG]	Store custom available field
2023-10-13	12:40:59	1202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860694,6,'choisir la taille',3)
2023-10-13	12:40:59	1202	[DEBUG]	Process multi-variant fields
2023-10-13	12:40:59	1202	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:40:59	1202	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:40:59	1202	[DEBUG]	Find the multi variant product entry
2023-10-13	12:40:59	1202	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860694 AND `virtuemart_custom_id` = 8
2023-10-13	12:40:59	1202	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:40:59	1202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860694,8,1)
2023-10-13	12:40:59	1202	[DEBUG]	Store the updated customfield_params
2023-10-13	12:40:59	1202	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860694\":[1860694,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860694
2023-10-13	12:40:59	1202	[DEBUG]	Checking category
2023-10-13	12:40:59	1202	[DEBUG]	Check if category path exists: CHAINES - KETTEN
2023-10-13	12:40:59	1202	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAINES - KETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:40:59	1202	[DEBUG]	Check if category path exists: CHAINES BMX - BMS KETTEN
2023-10-13	12:40:59	1202	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAINES BMX - BMS KETTEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7284
2023-10-13	12:40:59	1202	[DEBUG]	Get the existing categories for the product
2023-10-13	12:40:59	1202	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860694
2023-10-13	12:40:59	1202	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:40:59	1202	[DEBUG]	Executed store
2023-10-13	12:40:59	1202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860694','7290')
2023-10-13	12:40:59	1202	[DEBUG]	Delete leftover product categories
2023-10-13	12:40:59	1202	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860694 AND `virtuemart_category_id` NOT IN (7290)
2023-10-13	12:40:59	1202	[DEBUG]	Update has fields after all processing
2023-10-13	12:40:59	1202	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860694
2023-10-13	12:40:59	1203	[DEBUG]	Use field value for field product_sku
2023-10-13	12:40:59	1203	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:40:59	1203	[DEBUG]	Use field value for field taille
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:40:59	1203	[DEBUG]	Use field value for field product_name
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field category_path
2023-10-13	12:40:59	1203	[DEBUG]	Use field value for field product_price
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:40:59	1203	[DEBUG]	Use field value for field product_tax
2023-10-13	12:40:59	1203	[DEBUG]	Use field value for field file_url
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field product_desc
2023-10-13	12:40:59	1203	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:40:59	1203	[DEBUG]	Use field value for field product_availability
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field product_weight
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field product_unit
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field related_products
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field product_special
2023-10-13	12:40:59	1203	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:40:59	1203	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:40:59	1203	[DEBUG]	Use field value for field published
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field metadesc
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field metakey
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field custom_title
2023-10-13	12:40:59	1203	[DEBUG]	Use field value for field custom_value
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field custom_param
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field override
2023-10-13	12:40:59	1203	[DEBUG]	Use default value for field public_price
2023-10-13	12:40:59	1203	[DEBUG]	Use field value for field slug
2023-10-13	12:40:59	1203	[DEBUG]	Process line 1203
2023-10-13	12:40:59	1203	[DEBUG]	Load a row
2023-10-13	12:40:59	1203	[DEBUG]	Processing item: 4715725200155
2023-10-13	12:40:59	1203	[DEBUG]	Looking for parent SKU
2023-10-13	12:40:59	1203	[DEBUG]	Checking product parent SKU
2023-10-13	12:40:59	1203	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_677_7'
2023-10-13	12:40:59	1203	[DEBUG]	Product tax: 7.7
2023-10-13	12:40:59	1203	[DEBUG]	Processing product tax
2023-10-13	12:40:59	1203	[DEBUG]	Check if calculation rule exists
2023-10-13	12:40:59	1203	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:40:59	1203	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:40:59	1203	[DEBUG]	Query for Product
2023-10-13	12:40:59	1203	[DEBUG]	Executed store
2023-10-13	12:40:59	1203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860694','4715725200155','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:40:59	1203	[DEBUG]	No parent found
2023-10-13	12:40:59	1203	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860694 AND customfield_value = 'stockable'
2023-10-13	12:40:59	1203	[DEBUG]	Check product language entry
2023-10-13	12:40:59	1203	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860695
2023-10-13	12:40:59	1203	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:59	1203	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4715725200155' AND `virtuemart_product_id` != 1860695
2023-10-13	12:40:59	1203	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:40:59	1203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860695, '4715725200155')
2023-10-13	12:40:59	1203	[DEBUG]	Check if the product slug exists
2023-10-13	12:40:59	1203	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-bmx-1-2-1-8-112mm-399-gr-rouge-unitaire' AND `virtuemart_product_id` != 1860695
2023-10-13	12:40:59	1203	[DEBUG]	Query for ProductLang
2023-10-13	12:40:59	1203	[DEBUG]	Executed store
2023-10-13	12:40:59	1203	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='YBN Chaîne BMX 1/2 1/8 112mm, 399 gr.,  / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-bmx-1-2-1-8-112mm-399-gr-rouge-unitaire' WHERE `virtuemart_product_id` = '1860695'
2023-10-13	12:40:59	1203	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_927.jpg
2023-10-13	12:40:59	1203	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:59	1203	[DEBUG]	Process image file
2023-10-13	12:40:59	1203	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:40:59	1203	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:40:59	1203	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_927.jpg
2023-10-13	12:40:59	1203	[DEBUG]	Full name target: bcprisme/image_927.jpg
2023-10-13	12:41:00	1203	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:00	1203	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_927.jpg'
2023-10-13	12:41:00	1203	[DEBUG]	Query for Media
2023-10-13	12:41:00	1203	[DEBUG]	Executed store
2023-10-13	12:41:00	1203	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_927.jpg',`file_url_thumb`='bcprisme/image_927.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12589'
2023-10-13	12:41:00	1203	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:00	1203	[DEBUG]	Executed store
2023-10-13	12:41:00	1203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860695','12589','1')
2023-10-13	12:41:00	1203	[DEBUG]	Store product image relation
2023-10-13	12:41:00	1203	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:00	1203	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860695 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:00	1203	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:00	1203	[DEBUG]	Executed store
2023-10-13	12:41:00	1203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860695','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:00	1203	[DEBUG]	Checking manufacturer
2023-10-13	12:41:00	1203	[DEBUG]	Load a row
2023-10-13	12:41:00	1203	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:00	1203	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:41:00	1203	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:00	1203	[DEBUG]	Executed store
2023-10-13	12:41:00	1203	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:41:00	1203	[DEBUG]	Manufacturer exists
2023-10-13	12:41:00	1203	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:41:00	1203	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:00	1203	[DEBUG]	Executed store
2023-10-13	12:41:00	1203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860695','216')
2023-10-13	12:41:00	1203	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:00	1203	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:00	1203	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860695 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:00	1203	[DEBUG]	Store custom available field
2023-10-13	12:41:00	1203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860695,3,'',1)
2023-10-13	12:41:00	1203	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:00	1203	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:00	1203	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860695 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:00	1203	[DEBUG]	Store custom available field
2023-10-13	12:41:00	1203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860695,6,'Unitaire',3)
2023-10-13	12:41:00	1203	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:00	1203	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:00	1203	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860694
2023-10-13	12:41:00	1203	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:00	1203	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860694\":[1860694,8,1,\"choisir la taille\"],\"1860695\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860694
2023-10-13	12:41:00	1203	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:00	1203	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860695
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:00	1204	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field taille
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:00	1204	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:00	1204	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:00	1204	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:00	1204	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:00	1204	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:00	1204	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field published
2023-10-13	12:41:00	1204	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:00	1204	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field override
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:00	1204	[DEBUG]	Use field value for field slug
2023-10-13	12:41:00	1204	[DEBUG]	Process line 1204
2023-10-13	12:41:00	1204	[DEBUG]	Load a row
2023-10-13	12:41:00	1204	[DEBUG]	Processing item: A_677_12
2023-10-13	12:41:00	1204	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:00	1204	[DEBUG]	Processing product tax
2023-10-13	12:41:00	1204	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:00	1204	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:00	1204	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:00	1204	[DEBUG]	Query for Product
2023-10-13	12:41:00	1204	[DEBUG]	Executed store
2023-10-13	12:41:00	1204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_677_12','0.4','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:00	1204	[DEBUG]	Check product language entry
2023-10-13	12:41:00	1204	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860696
2023-10-13	12:41:00	1204	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:00	1204	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_677_12' AND `virtuemart_product_id` != 1860696
2023-10-13	12:41:00	1204	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:00	1204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860696, 'A_677_12')
2023-10-13	12:41:00	1204	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:00	1204	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-bmx-1-2-1-8-112mm-399-gr-blanc' AND `virtuemart_product_id` != 1860696
2023-10-13	12:41:00	1204	[DEBUG]	Query for ProductLang
2023-10-13	12:41:00	1204	[DEBUG]	Executed store
2023-10-13	12:41:00	1204	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1 vitesse, 399 gr<br>N° art fourn : MK918',`product_name`='YBN Chaîne BMX 1/2 1/8 112mm, 399 gr.,  / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-bmx-1-2-1-8-112mm-399-gr-blanc' WHERE `virtuemart_product_id` = '1860696'
2023-10-13	12:41:00	1204	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_928.jpg
2023-10-13	12:41:00	1204	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:41:00	1204	[DEBUG]	Process image file
2023-10-13	12:41:00	1204	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:41:00	1204	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:00	1204	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_928.jpg
2023-10-13	12:41:00	1204	[DEBUG]	Full name target: bcprisme/image_928.jpg
2023-10-13	12:41:01	1204	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:01	1204	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_928.jpg'
2023-10-13	12:41:01	1204	[DEBUG]	Query for Media
2023-10-13	12:41:01	1204	[DEBUG]	Executed store
2023-10-13	12:41:01	1204	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_928.jpg',`file_url_thumb`='bcprisme/image_928.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12590'
2023-10-13	12:41:01	1204	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:01	1204	[DEBUG]	Executed store
2023-10-13	12:41:01	1204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860696','12590','1')
2023-10-13	12:41:01	1204	[DEBUG]	Store product image relation
2023-10-13	12:41:01	1204	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:01	1204	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860696 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:01	1204	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:01	1204	[DEBUG]	Executed store
2023-10-13	12:41:01	1204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860696','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:01	1204	[DEBUG]	Checking manufacturer
2023-10-13	12:41:01	1204	[DEBUG]	Load a row
2023-10-13	12:41:01	1204	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:01	1204	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:41:01	1204	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:01	1204	[DEBUG]	Executed store
2023-10-13	12:41:01	1204	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:41:01	1204	[DEBUG]	Manufacturer exists
2023-10-13	12:41:01	1204	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:41:01	1204	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:01	1204	[DEBUG]	Executed store
2023-10-13	12:41:01	1204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860696','216')
2023-10-13	12:41:01	1204	[DEBUG]	Find the custom field ID
2023-10-13	12:41:01	1204	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:01	1204	[DEBUG]	No custom field ID found
2023-10-13	12:41:01	1204	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:01	1204	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	12:41:01	1204	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860696 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:01	1204	[DEBUG]	Store custom available field
2023-10-13	12:41:01	1204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860696,3,'39.7891666666667',1)
2023-10-13	12:41:01	1204	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:01	1204	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:01	1204	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860696 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:01	1204	[DEBUG]	Store custom available field
2023-10-13	12:41:01	1204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860696,6,'choisir la taille',3)
2023-10-13	12:41:01	1204	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:01	1204	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:01	1204	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:01	1204	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:01	1204	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860696 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:01	1204	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:01	1204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860696,8,1)
2023-10-13	12:41:01	1204	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:01	1204	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860696\":[1860696,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860696
2023-10-13	12:41:01	1204	[DEBUG]	Checking category
2023-10-13	12:41:01	1204	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:01	1204	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860696
2023-10-13	12:41:01	1204	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:01	1204	[DEBUG]	Executed store
2023-10-13	12:41:01	1204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860696','7290')
2023-10-13	12:41:01	1204	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:01	1204	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860696 AND `virtuemart_category_id` NOT IN (7290)
2023-10-13	12:41:01	1204	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:01	1204	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860696
2023-10-13	12:41:01	1205	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:01	1205	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:01	1205	[DEBUG]	Use field value for field taille
2023-10-13	12:41:01	1205	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:02	1205	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:02	1205	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:02	1205	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:02	1205	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:02	1205	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:02	1205	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:02	1205	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:02	1205	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:02	1205	[DEBUG]	Use field value for field published
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:02	1205	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field override
2023-10-13	12:41:02	1205	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:02	1205	[DEBUG]	Use field value for field slug
2023-10-13	12:41:02	1205	[DEBUG]	Process line 1205
2023-10-13	12:41:02	1205	[DEBUG]	Load a row
2023-10-13	12:41:02	1205	[DEBUG]	Processing item: 4710887190096
2023-10-13	12:41:02	1205	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:02	1205	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:02	1205	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_677_12'
2023-10-13	12:41:02	1205	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:02	1205	[DEBUG]	Processing product tax
2023-10-13	12:41:02	1205	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:02	1205	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:02	1205	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:02	1205	[DEBUG]	Query for Product
2023-10-13	12:41:02	1205	[DEBUG]	Executed store
2023-10-13	12:41:02	1205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860696','4710887190096','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:02	1205	[DEBUG]	No parent found
2023-10-13	12:41:02	1205	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860696 AND customfield_value = 'stockable'
2023-10-13	12:41:02	1205	[DEBUG]	Check product language entry
2023-10-13	12:41:02	1205	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860697
2023-10-13	12:41:02	1205	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:02	1205	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4710887190096' AND `virtuemart_product_id` != 1860697
2023-10-13	12:41:02	1205	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:02	1205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860697, '4710887190096')
2023-10-13	12:41:02	1205	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:02	1205	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-bmx-1-2-1-8-112mm-399-gr-blanc-unitaire' AND `virtuemart_product_id` != 1860697
2023-10-13	12:41:02	1205	[DEBUG]	Query for ProductLang
2023-10-13	12:41:02	1205	[DEBUG]	Executed store
2023-10-13	12:41:02	1205	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='YBN Chaîne BMX 1/2 1/8 112mm, 399 gr.,  / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-bmx-1-2-1-8-112mm-399-gr-blanc-unitaire' WHERE `virtuemart_product_id` = '1860697'
2023-10-13	12:41:02	1205	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_928.jpg
2023-10-13	12:41:02	1205	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:41:02	1205	[DEBUG]	Process image file
2023-10-13	12:41:02	1205	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:41:02	1205	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:02	1205	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_928.jpg
2023-10-13	12:41:02	1205	[DEBUG]	Full name target: bcprisme/image_928.jpg
2023-10-13	12:41:03	1205	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:03	1205	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_928.jpg'
2023-10-13	12:41:03	1205	[DEBUG]	Query for Media
2023-10-13	12:41:03	1205	[DEBUG]	Executed store
2023-10-13	12:41:03	1205	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_928.jpg',`file_url_thumb`='bcprisme/image_928.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12590'
2023-10-13	12:41:03	1205	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:03	1205	[DEBUG]	Executed store
2023-10-13	12:41:03	1205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860697','12590','1')
2023-10-13	12:41:03	1205	[DEBUG]	Store product image relation
2023-10-13	12:41:03	1205	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:03	1205	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860697 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:03	1205	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:03	1205	[DEBUG]	Executed store
2023-10-13	12:41:03	1205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860697','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:03	1205	[DEBUG]	Checking manufacturer
2023-10-13	12:41:03	1205	[DEBUG]	Load a row
2023-10-13	12:41:03	1205	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:03	1205	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:41:03	1205	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:03	1205	[DEBUG]	Executed store
2023-10-13	12:41:03	1205	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:41:03	1205	[DEBUG]	Manufacturer exists
2023-10-13	12:41:03	1205	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:41:03	1205	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:03	1205	[DEBUG]	Executed store
2023-10-13	12:41:03	1205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860697','216')
2023-10-13	12:41:03	1205	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:03	1205	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:03	1205	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860697 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:03	1205	[DEBUG]	Store custom available field
2023-10-13	12:41:03	1205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860697,3,'',1)
2023-10-13	12:41:03	1205	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:03	1205	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:03	1205	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860697 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:03	1205	[DEBUG]	Store custom available field
2023-10-13	12:41:03	1205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860697,6,'Unitaire',3)
2023-10-13	12:41:03	1205	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:03	1205	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:03	1205	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860696
2023-10-13	12:41:03	1205	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:03	1205	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860696\":[1860696,8,1,\"choisir la taille\"],\"1860697\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860696
2023-10-13	12:41:03	1205	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:03	1205	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860697
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:03	1206	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field taille
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:03	1206	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:03	1206	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:03	1206	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:03	1206	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:03	1206	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:03	1206	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field published
2023-10-13	12:41:03	1206	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:03	1206	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field override
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:03	1206	[DEBUG]	Use field value for field slug
2023-10-13	12:41:03	1206	[DEBUG]	Process line 1206
2023-10-13	12:41:03	1206	[DEBUG]	Load a row
2023-10-13	12:41:03	1206	[DEBUG]	Processing item: A_677_22
2023-10-13	12:41:03	1206	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:03	1206	[DEBUG]	Processing product tax
2023-10-13	12:41:03	1206	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:03	1206	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:03	1206	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:03	1206	[DEBUG]	Query for Product
2023-10-13	12:41:03	1206	[DEBUG]	Executed store
2023-10-13	12:41:03	1206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_677_22','0.4','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:03	1206	[DEBUG]	Check product language entry
2023-10-13	12:41:03	1206	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860698
2023-10-13	12:41:03	1206	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:03	1206	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_677_22' AND `virtuemart_product_id` != 1860698
2023-10-13	12:41:03	1206	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:03	1206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860698, 'A_677_22')
2023-10-13	12:41:03	1206	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:03	1206	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-bmx-1-2-1-8-112mm-399-gr-bleu' AND `virtuemart_product_id` != 1860698
2023-10-13	12:41:03	1206	[DEBUG]	Query for ProductLang
2023-10-13	12:41:03	1206	[DEBUG]	Executed store
2023-10-13	12:41:03	1206	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1 vitesse, 399 gr<br>N° art fourn : MK918',`product_name`='YBN Chaîne BMX 1/2 1/8 112mm, 399 gr.,  / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-bmx-1-2-1-8-112mm-399-gr-bleu' WHERE `virtuemart_product_id` = '1860698'
2023-10-13	12:41:03	1206	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_925.jpg
2023-10-13	12:41:03	1206	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:41:03	1206	[DEBUG]	Process image file
2023-10-13	12:41:03	1206	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:41:03	1206	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:03	1206	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_925.jpg
2023-10-13	12:41:03	1206	[DEBUG]	Full name target: bcprisme/image_925.jpg
2023-10-13	12:41:04	1206	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:04	1206	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_925.jpg'
2023-10-13	12:41:04	1206	[DEBUG]	Query for Media
2023-10-13	12:41:04	1206	[DEBUG]	Executed store
2023-10-13	12:41:04	1206	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_925.jpg',`file_url_thumb`='bcprisme/image_925.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12591'
2023-10-13	12:41:04	1206	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:04	1206	[DEBUG]	Executed store
2023-10-13	12:41:04	1206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860698','12591','1')
2023-10-13	12:41:04	1206	[DEBUG]	Store product image relation
2023-10-13	12:41:04	1206	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:04	1206	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860698 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:04	1206	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:04	1206	[DEBUG]	Executed store
2023-10-13	12:41:04	1206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860698','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:04	1206	[DEBUG]	Checking manufacturer
2023-10-13	12:41:04	1206	[DEBUG]	Load a row
2023-10-13	12:41:04	1206	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:04	1206	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:41:04	1206	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:04	1206	[DEBUG]	Executed store
2023-10-13	12:41:04	1206	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:41:04	1206	[DEBUG]	Manufacturer exists
2023-10-13	12:41:04	1206	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:41:04	1206	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:04	1206	[DEBUG]	Executed store
2023-10-13	12:41:04	1206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860698','216')
2023-10-13	12:41:04	1206	[DEBUG]	Find the custom field ID
2023-10-13	12:41:04	1206	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:04	1206	[DEBUG]	No custom field ID found
2023-10-13	12:41:04	1206	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:04	1206	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	12:41:04	1206	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860698 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:04	1206	[DEBUG]	Store custom available field
2023-10-13	12:41:04	1206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860698,3,'39.7891666666667',1)
2023-10-13	12:41:04	1206	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:04	1206	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:04	1206	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860698 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:04	1206	[DEBUG]	Store custom available field
2023-10-13	12:41:04	1206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860698,6,'choisir la taille',3)
2023-10-13	12:41:04	1206	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:04	1206	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:04	1206	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:04	1206	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:04	1206	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860698 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:04	1206	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:04	1206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860698,8,1)
2023-10-13	12:41:04	1206	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:04	1206	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860698\":[1860698,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860698
2023-10-13	12:41:04	1206	[DEBUG]	Checking category
2023-10-13	12:41:04	1206	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:04	1206	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860698
2023-10-13	12:41:04	1206	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:04	1206	[DEBUG]	Executed store
2023-10-13	12:41:04	1206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860698','7290')
2023-10-13	12:41:04	1206	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:04	1206	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860698 AND `virtuemart_category_id` NOT IN (7290)
2023-10-13	12:41:04	1206	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:04	1206	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860698
2023-10-13	12:41:04	1207	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:04	1207	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:04	1207	[DEBUG]	Use field value for field taille
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:04	1207	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:04	1207	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:04	1207	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:04	1207	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:04	1207	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:04	1207	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:04	1207	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:04	1207	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:04	1207	[DEBUG]	Use field value for field published
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:04	1207	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field override
2023-10-13	12:41:04	1207	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:04	1207	[DEBUG]	Use field value for field slug
2023-10-13	12:41:04	1207	[DEBUG]	Process line 1207
2023-10-13	12:41:04	1207	[DEBUG]	Load a row
2023-10-13	12:41:04	1207	[DEBUG]	Processing item: 4715725400155
2023-10-13	12:41:04	1207	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:04	1207	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:04	1207	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_677_22'
2023-10-13	12:41:04	1207	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:04	1207	[DEBUG]	Processing product tax
2023-10-13	12:41:04	1207	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:04	1207	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:04	1207	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:04	1207	[DEBUG]	Query for Product
2023-10-13	12:41:04	1207	[DEBUG]	Executed store
2023-10-13	12:41:04	1207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860698','4715725400155','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:04	1207	[DEBUG]	No parent found
2023-10-13	12:41:04	1207	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860698 AND customfield_value = 'stockable'
2023-10-13	12:41:04	1207	[DEBUG]	Check product language entry
2023-10-13	12:41:04	1207	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860699
2023-10-13	12:41:04	1207	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:04	1207	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4715725400155' AND `virtuemart_product_id` != 1860699
2023-10-13	12:41:04	1207	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:04	1207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860699, '4715725400155')
2023-10-13	12:41:04	1207	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:04	1207	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ybn-chaine-bmx-1-2-1-8-112mm-399-gr-bleu-unitaire' AND `virtuemart_product_id` != 1860699
2023-10-13	12:41:04	1207	[DEBUG]	Query for ProductLang
2023-10-13	12:41:04	1207	[DEBUG]	Executed store
2023-10-13	12:41:04	1207	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='YBN Chaîne BMX 1/2 1/8 112mm, 399 gr.,  / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ybn-chaine-bmx-1-2-1-8-112mm-399-gr-bleu-unitaire' WHERE `virtuemart_product_id` = '1860699'
2023-10-13	12:41:04	1207	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_925.jpg
2023-10-13	12:41:04	1207	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:41:04	1207	[DEBUG]	Process image file
2023-10-13	12:41:04	1207	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:41:04	1207	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:04	1207	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_925.jpg
2023-10-13	12:41:04	1207	[DEBUG]	Full name target: bcprisme/image_925.jpg
2023-10-13	12:41:05	1207	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:05	1207	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_925.jpg'
2023-10-13	12:41:05	1207	[DEBUG]	Query for Media
2023-10-13	12:41:05	1207	[DEBUG]	Executed store
2023-10-13	12:41:05	1207	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_925.jpg',`file_url_thumb`='bcprisme/image_925.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12591'
2023-10-13	12:41:05	1207	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:05	1207	[DEBUG]	Executed store
2023-10-13	12:41:05	1207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860699','12591','1')
2023-10-13	12:41:05	1207	[DEBUG]	Store product image relation
2023-10-13	12:41:05	1207	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:05	1207	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860699 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:05	1207	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:05	1207	[DEBUG]	Executed store
2023-10-13	12:41:05	1207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860699','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:05	1207	[DEBUG]	Checking manufacturer
2023-10-13	12:41:05	1207	[DEBUG]	Load a row
2023-10-13	12:41:05	1207	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:05	1207	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:41:05	1207	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:05	1207	[DEBUG]	Executed store
2023-10-13	12:41:05	1207	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='22',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='22' WHERE `virtuemart_manufacturer_id` = '216'
2023-10-13	12:41:05	1207	[DEBUG]	Manufacturer exists
2023-10-13	12:41:05	1207	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 216
2023-10-13	12:41:05	1207	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:05	1207	[DEBUG]	Executed store
2023-10-13	12:41:05	1207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860699','216')
2023-10-13	12:41:05	1207	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:05	1207	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:05	1207	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860699 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:05	1207	[DEBUG]	Store custom available field
2023-10-13	12:41:05	1207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860699,3,'',1)
2023-10-13	12:41:05	1207	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:05	1207	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:05	1207	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860699 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:05	1207	[DEBUG]	Store custom available field
2023-10-13	12:41:05	1207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860699,6,'Unitaire',3)
2023-10-13	12:41:05	1207	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:05	1207	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:05	1207	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860698
2023-10-13	12:41:05	1207	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:05	1207	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860698\":[1860698,8,1,\"choisir la taille\"],\"1860699\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860698
2023-10-13	12:41:05	1207	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:05	1207	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860699
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:05	1208	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field taille
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:05	1208	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:05	1208	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:05	1208	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:05	1208	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:05	1208	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:05	1208	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field published
2023-10-13	12:41:05	1208	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:05	1208	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field override
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:05	1208	[DEBUG]	Use field value for field slug
2023-10-13	12:41:05	1208	[DEBUG]	Process line 1208
2023-10-13	12:41:05	1208	[DEBUG]	Load a row
2023-10-13	12:41:05	1208	[DEBUG]	Processing item: A_1653_0
2023-10-13	12:41:05	1208	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:05	1208	[DEBUG]	Processing product tax
2023-10-13	12:41:05	1208	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:05	1208	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:05	1208	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:05	1208	[DEBUG]	Query for Product
2023-10-13	12:41:05	1208	[DEBUG]	Executed store
2023-10-13	12:41:05	1208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1653_0','0.391','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:05	1208	[DEBUG]	Check product language entry
2023-10-13	12:41:05	1208	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860700
2023-10-13	12:41:05	1208	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:05	1208	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1653_0' AND `virtuemart_product_id` != 1860700
2023-10-13	12:41:05	1208	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:05	1208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860700, 'A_1653_0')
2023-10-13	12:41:05	1208	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:05	1208	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-bmx-1-2-1-8-112mm-pour-la-competition-unique' AND `virtuemart_product_id` != 1860700
2023-10-13	12:41:05	1208	[DEBUG]	Query for ProductLang
2023-10-13	12:41:05	1208	[DEBUG]	Executed store
2023-10-13	12:41:05	1208	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaine BMX 1/2 1/8 112mm, haut de gamme destinés à la compétition<br>N° art fourn : MK747P',`product_name`='MSC Chaîne BMX 1/2 1/8 112mm pour la Compétition / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-bmx-1-2-1-8-112mm-pour-la-competition-unique' WHERE `virtuemart_product_id` = '1860700'
2023-10-13	12:41:05	1208	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5718.jpg
2023-10-13	12:41:05	1208	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:41:05	1208	[DEBUG]	Process image file
2023-10-13	12:41:05	1208	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:41:05	1208	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:05	1208	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5718.jpg
2023-10-13	12:41:05	1208	[DEBUG]	Full name target: bcprisme/image_5718.jpg
2023-10-13	12:41:06	1208	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:06	1208	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5718.jpg'
2023-10-13	12:41:06	1208	[DEBUG]	Query for Media
2023-10-13	12:41:06	1208	[DEBUG]	Executed store
2023-10-13	12:41:06	1208	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5718.jpg',`file_url_thumb`='bcprisme/image_5718.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15813'
2023-10-13	12:41:06	1208	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:06	1208	[DEBUG]	Executed store
2023-10-13	12:41:06	1208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860700','15813','1')
2023-10-13	12:41:06	1208	[DEBUG]	Store product image relation
2023-10-13	12:41:06	1208	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:06	1208	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860700 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:06	1208	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:06	1208	[DEBUG]	Executed store
2023-10-13	12:41:06	1208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860700','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:06	1208	[DEBUG]	Checking manufacturer
2023-10-13	12:41:06	1208	[DEBUG]	Load a row
2023-10-13	12:41:06	1208	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:06	1208	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:41:06	1208	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:06	1208	[DEBUG]	Executed store
2023-10-13	12:41:06	1208	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:41:06	1208	[DEBUG]	Manufacturer exists
2023-10-13	12:41:06	1208	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:41:06	1208	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:06	1208	[DEBUG]	Executed store
2023-10-13	12:41:06	1208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860700','32')
2023-10-13	12:41:06	1208	[DEBUG]	Find the custom field ID
2023-10-13	12:41:06	1208	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:06	1208	[DEBUG]	No custom field ID found
2023-10-13	12:41:06	1208	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:06	1208	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:41:06	1208	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860700 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:06	1208	[DEBUG]	Store custom available field
2023-10-13	12:41:06	1208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860700,3,'49.7613888888889',1)
2023-10-13	12:41:06	1208	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:06	1208	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:06	1208	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860700 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:06	1208	[DEBUG]	Store custom available field
2023-10-13	12:41:06	1208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860700,6,'choisir la taille',3)
2023-10-13	12:41:06	1208	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:06	1208	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:06	1208	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:06	1208	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:06	1208	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860700 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:06	1208	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:06	1208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860700,8,1)
2023-10-13	12:41:06	1208	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:06	1208	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860700\":[1860700,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860700
2023-10-13	12:41:06	1208	[DEBUG]	Checking category
2023-10-13	12:41:06	1208	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:06	1208	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860700
2023-10-13	12:41:06	1208	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:06	1208	[DEBUG]	Executed store
2023-10-13	12:41:06	1208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860700','7290')
2023-10-13	12:41:06	1208	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:06	1208	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860700 AND `virtuemart_category_id` NOT IN (7290)
2023-10-13	12:41:06	1208	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:06	1208	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860700
2023-10-13	12:41:06	1209	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:06	1209	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:06	1209	[DEBUG]	Use field value for field taille
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:06	1209	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:06	1209	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:06	1209	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:06	1209	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:06	1209	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:06	1209	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:06	1209	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:06	1209	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:06	1209	[DEBUG]	Use field value for field published
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:06	1209	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field override
2023-10-13	12:41:06	1209	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:06	1209	[DEBUG]	Use field value for field slug
2023-10-13	12:41:06	1209	[DEBUG]	Process line 1209
2023-10-13	12:41:06	1209	[DEBUG]	Load a row
2023-10-13	12:41:06	1209	[DEBUG]	Processing item: 4715725000469
2023-10-13	12:41:06	1209	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:06	1209	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:06	1209	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1653_0'
2023-10-13	12:41:06	1209	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:06	1209	[DEBUG]	Processing product tax
2023-10-13	12:41:06	1209	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:06	1209	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:06	1209	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:06	1209	[DEBUG]	Query for Product
2023-10-13	12:41:06	1209	[DEBUG]	Executed store
2023-10-13	12:41:06	1209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860700','4715725000469','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:06	1209	[DEBUG]	No parent found
2023-10-13	12:41:06	1209	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860700 AND customfield_value = 'stockable'
2023-10-13	12:41:06	1209	[DEBUG]	Check product language entry
2023-10-13	12:41:06	1209	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860701
2023-10-13	12:41:06	1209	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:06	1209	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4715725000469' AND `virtuemart_product_id` != 1860701
2023-10-13	12:41:06	1209	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:06	1209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860701, '4715725000469')
2023-10-13	12:41:06	1209	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:06	1209	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaine-bmx-1-2-1-8-112mm-pour-la-competition-unique-unitaire' AND `virtuemart_product_id` != 1860701
2023-10-13	12:41:06	1209	[DEBUG]	Query for ProductLang
2023-10-13	12:41:06	1209	[DEBUG]	Executed store
2023-10-13	12:41:06	1209	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaîne BMX 1/2 1/8 112mm pour la Compétition / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaine-bmx-1-2-1-8-112mm-pour-la-competition-unique-unitaire' WHERE `virtuemart_product_id` = '1860701'
2023-10-13	12:41:06	1209	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5718.jpg
2023-10-13	12:41:06	1209	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:41:06	1209	[DEBUG]	Process image file
2023-10-13	12:41:06	1209	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:41:06	1209	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:06	1209	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5718.jpg
2023-10-13	12:41:06	1209	[DEBUG]	Full name target: bcprisme/image_5718.jpg
2023-10-13	12:41:07	1209	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:07	1209	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5718.jpg'
2023-10-13	12:41:07	1209	[DEBUG]	Query for Media
2023-10-13	12:41:07	1209	[DEBUG]	Executed store
2023-10-13	12:41:07	1209	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5718.jpg',`file_url_thumb`='bcprisme/image_5718.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15813'
2023-10-13	12:41:07	1209	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:07	1209	[DEBUG]	Executed store
2023-10-13	12:41:07	1209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860701','15813','1')
2023-10-13	12:41:07	1209	[DEBUG]	Store product image relation
2023-10-13	12:41:07	1209	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:07	1209	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860701 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:07	1209	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:07	1209	[DEBUG]	Executed store
2023-10-13	12:41:07	1209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860701','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:07	1209	[DEBUG]	Checking manufacturer
2023-10-13	12:41:07	1209	[DEBUG]	Load a row
2023-10-13	12:41:07	1209	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:07	1209	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:41:07	1209	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:07	1209	[DEBUG]	Executed store
2023-10-13	12:41:07	1209	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:41:07	1209	[DEBUG]	Manufacturer exists
2023-10-13	12:41:07	1209	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:41:07	1209	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:07	1209	[DEBUG]	Executed store
2023-10-13	12:41:07	1209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860701','32')
2023-10-13	12:41:07	1209	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:07	1209	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:07	1209	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860701 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:07	1209	[DEBUG]	Store custom available field
2023-10-13	12:41:07	1209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860701,3,'',1)
2023-10-13	12:41:07	1209	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:07	1209	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:07	1209	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860701 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:07	1209	[DEBUG]	Store custom available field
2023-10-13	12:41:07	1209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860701,6,'Unitaire',3)
2023-10-13	12:41:07	1209	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:07	1209	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:07	1209	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860700
2023-10-13	12:41:07	1209	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:07	1209	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860700\":[1860700,8,1,\"choisir la taille\"],\"1860701\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860700
2023-10-13	12:41:07	1209	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:07	1209	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860701
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:07	1210	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field taille
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:07	1210	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:07	1210	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:07	1210	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:07	1210	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:07	1210	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:07	1210	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field published
2023-10-13	12:41:07	1210	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:07	1210	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field override
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:07	1210	[DEBUG]	Use field value for field slug
2023-10-13	12:41:07	1210	[DEBUG]	Process line 1210
2023-10-13	12:41:07	1210	[DEBUG]	Load a row
2023-10-13	12:41:07	1210	[DEBUG]	Processing item: A_6171_208
2023-10-13	12:41:07	1210	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:07	1210	[DEBUG]	Processing product tax
2023-10-13	12:41:07	1210	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:07	1210	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:07	1210	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:07	1210	[DEBUG]	Query for Product
2023-10-13	12:41:07	1210	[DEBUG]	Executed store
2023-10-13	12:41:07	1210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6171_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:07	1210	[DEBUG]	Check product language entry
2023-10-13	12:41:07	1210	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860702
2023-10-13	12:41:07	1210	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:07	1210	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6171_208' AND `virtuemart_product_id` != 1860702
2023-10-13	12:41:07	1210	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:07	1210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860702, 'A_6171_208')
2023-10-13	12:41:07	1210	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:07	1210	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-chambre-a-air-10-12-44-62-194-222-45-valve-moto-aucune' AND `virtuemart_product_id` != 1860702
2023-10-13	12:41:07	1210	[DEBUG]	Query for ProductLang
2023-10-13	12:41:07	1210	[DEBUG]	Executed store
2023-10-13	12:41:07	1210	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.59422',`product_name`='Continental Chambre-à-air 10-12, 44/62-194/222 45° valve moto / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-chambre-a-air-10-12-44-62-194-222-45-valve-moto-aucune' WHERE `virtuemart_product_id` = '1860702'
2023-10-13	12:41:07	1210	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31868_continental_chambre_à_air_compact_10-12__44-62-194-222_45__valve_moto.jpg
2023-10-13	12:41:07	1210	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:07	1210	[DEBUG]	Process image file
2023-10-13	12:41:07	1210	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:07	1210	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:07	1210	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31868_continental_chambre_à_air_compact_10-12__44-62-194-222_45__valve_moto.jpg
2023-10-13	12:41:07	1210	[DEBUG]	Full name target: bcprisme/31868_continental_chambre_à_air_compact_10-12__44-62-194-222_45__valve_moto.jpg
2023-10-13	12:41:08	1210	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:08	1210	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31868_continental_chambre_à_air_compact_10-12__44-62-194-222_45__valve_moto.jpg'
2023-10-13	12:41:08	1210	[DEBUG]	Query for Media
2023-10-13	12:41:08	1210	[DEBUG]	Executed store
2023-10-13	12:41:08	1210	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31868_continental_chambre_à_air_compact_10-12__44-62-194-222_45__valve_moto.jpg',`file_url_thumb`='bcprisme/31868_continental_chambre_à_air_compact_10-12__44-62-194-222_45__valve_moto.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12594'
2023-10-13	12:41:08	1210	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:08	1210	[DEBUG]	Executed store
2023-10-13	12:41:08	1210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860702','12594','1')
2023-10-13	12:41:08	1210	[DEBUG]	Store product image relation
2023-10-13	12:41:08	1210	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:08	1210	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860702 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:08	1210	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:08	1210	[DEBUG]	Executed store
2023-10-13	12:41:08	1210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860702','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:08	1210	[DEBUG]	Checking manufacturer
2023-10-13	12:41:08	1210	[DEBUG]	Load a row
2023-10-13	12:41:08	1210	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:08	1210	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	12:41:08	1210	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:08	1210	[DEBUG]	Executed store
2023-10-13	12:41:08	1210	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	12:41:08	1210	[DEBUG]	Manufacturer exists
2023-10-13	12:41:08	1210	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	12:41:08	1210	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:08	1210	[DEBUG]	Executed store
2023-10-13	12:41:08	1210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860702','52')
2023-10-13	12:41:08	1210	[DEBUG]	Find the custom field ID
2023-10-13	12:41:08	1210	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:08	1210	[DEBUG]	No custom field ID found
2023-10-13	12:41:08	1210	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:08	1210	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:08	1210	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860702 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:08	1210	[DEBUG]	Store custom available field
2023-10-13	12:41:08	1210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860702,3,'0',1)
2023-10-13	12:41:08	1210	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:08	1210	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:08	1210	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860702 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:08	1210	[DEBUG]	Store custom available field
2023-10-13	12:41:08	1210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860702,6,'choisir la taille',3)
2023-10-13	12:41:08	1210	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:08	1210	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:08	1210	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:08	1210	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:08	1210	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860702 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:08	1210	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:08	1210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860702,8,1)
2023-10-13	12:41:08	1210	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:08	1210	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860702\":[1860702,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860702
2023-10-13	12:41:08	1210	[DEBUG]	Checking category
2023-10-13	12:41:08	1210	[DEBUG]	Check if category path exists: CHAMBRES-A-AIR - SCHLAÜCHE
2023-10-13	12:41:08	1210	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIR - SCHLAÜCHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:41:08	1210	[DEBUG]	Check if category path exists: CHAMBRES-A-AIR 12 / SCHLAÜCHE 12
2023-10-13	12:41:08	1210	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIR 12 / SCHLAÜCHE 12' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7291
2023-10-13	12:41:08	1210	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:08	1210	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860702
2023-10-13	12:41:08	1210	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:08	1210	[DEBUG]	Executed store
2023-10-13	12:41:08	1210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860702','7292')
2023-10-13	12:41:08	1210	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:08	1210	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860702 AND `virtuemart_category_id` NOT IN (7292)
2023-10-13	12:41:08	1210	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:08	1210	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860702
2023-10-13	12:41:08	1211	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:08	1211	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:08	1211	[DEBUG]	Use field value for field taille
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:08	1211	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:08	1211	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:08	1211	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:08	1211	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:08	1211	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:08	1211	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:08	1211	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:08	1211	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:08	1211	[DEBUG]	Use field value for field published
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:08	1211	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field override
2023-10-13	12:41:08	1211	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:08	1211	[DEBUG]	Use field value for field slug
2023-10-13	12:41:08	1211	[DEBUG]	Process line 1211
2023-10-13	12:41:08	1211	[DEBUG]	Load a row
2023-10-13	12:41:08	1211	[DEBUG]	Processing item: 4019238556247
2023-10-13	12:41:08	1211	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:08	1211	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:08	1211	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6171_208'
2023-10-13	12:41:08	1211	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:08	1211	[DEBUG]	Processing product tax
2023-10-13	12:41:08	1211	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:08	1211	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:08	1211	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:08	1211	[DEBUG]	Query for Product
2023-10-13	12:41:08	1211	[DEBUG]	Executed store
2023-10-13	12:41:08	1211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860702','4019238556247','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:08	1211	[DEBUG]	No parent found
2023-10-13	12:41:08	1211	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860702 AND customfield_value = 'stockable'
2023-10-13	12:41:08	1211	[DEBUG]	Check product language entry
2023-10-13	12:41:08	1211	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860703
2023-10-13	12:41:08	1211	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:08	1211	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4019238556247' AND `virtuemart_product_id` != 1860703
2023-10-13	12:41:08	1211	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:08	1211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860703, '4019238556247')
2023-10-13	12:41:08	1211	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:08	1211	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-chambre-a-air-10-12-44-62-194-222-45-valve-moto-aucune-all' AND `virtuemart_product_id` != 1860703
2023-10-13	12:41:08	1211	[DEBUG]	Query for ProductLang
2023-10-13	12:41:08	1211	[DEBUG]	Executed store
2023-10-13	12:41:08	1211	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Continental Chambre-à-air 10-12, 44/62-194/222 45° valve moto / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-chambre-a-air-10-12-44-62-194-222-45-valve-moto-aucune-all' WHERE `virtuemart_product_id` = '1860703'
2023-10-13	12:41:08	1211	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31868_continental_chambre_à_air_compact_10-12__44-62-194-222_45__valve_moto.jpg
2023-10-13	12:41:08	1211	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:08	1211	[DEBUG]	Process image file
2023-10-13	12:41:08	1211	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:08	1211	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:08	1211	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31868_continental_chambre_à_air_compact_10-12__44-62-194-222_45__valve_moto.jpg
2023-10-13	12:41:08	1211	[DEBUG]	Full name target: bcprisme/31868_continental_chambre_à_air_compact_10-12__44-62-194-222_45__valve_moto.jpg
2023-10-13	12:41:09	1211	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:09	1211	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31868_continental_chambre_à_air_compact_10-12__44-62-194-222_45__valve_moto.jpg'
2023-10-13	12:41:09	1211	[DEBUG]	Query for Media
2023-10-13	12:41:09	1211	[DEBUG]	Executed store
2023-10-13	12:41:09	1211	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31868_continental_chambre_à_air_compact_10-12__44-62-194-222_45__valve_moto.jpg',`file_url_thumb`='bcprisme/31868_continental_chambre_à_air_compact_10-12__44-62-194-222_45__valve_moto.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12594'
2023-10-13	12:41:09	1211	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:09	1211	[DEBUG]	Executed store
2023-10-13	12:41:09	1211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860703','12594','1')
2023-10-13	12:41:09	1211	[DEBUG]	Store product image relation
2023-10-13	12:41:09	1211	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:09	1211	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860703 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:09	1211	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:09	1211	[DEBUG]	Executed store
2023-10-13	12:41:09	1211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860703','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:09	1211	[DEBUG]	Checking manufacturer
2023-10-13	12:41:09	1211	[DEBUG]	Load a row
2023-10-13	12:41:09	1211	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:09	1211	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	12:41:09	1211	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:09	1211	[DEBUG]	Executed store
2023-10-13	12:41:09	1211	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	12:41:09	1211	[DEBUG]	Manufacturer exists
2023-10-13	12:41:09	1211	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	12:41:09	1211	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:09	1211	[DEBUG]	Executed store
2023-10-13	12:41:09	1211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860703','52')
2023-10-13	12:41:09	1211	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:09	1211	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:09	1211	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860703 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:09	1211	[DEBUG]	Store custom available field
2023-10-13	12:41:09	1211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860703,3,'',1)
2023-10-13	12:41:09	1211	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:09	1211	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:41:09	1211	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860703 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:09	1211	[DEBUG]	Store custom available field
2023-10-13	12:41:09	1211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860703,6,'All',3)
2023-10-13	12:41:09	1211	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:09	1211	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:09	1211	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860702
2023-10-13	12:41:09	1211	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:09	1211	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860702\":[1860702,8,1,\"choisir la taille\"],\"1860703\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860702
2023-10-13	12:41:09	1211	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:09	1211	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860703
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:09	1212	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field taille
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:09	1212	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:09	1212	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:09	1212	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:09	1212	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:09	1212	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:09	1212	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field published
2023-10-13	12:41:09	1212	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:09	1212	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field override
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:09	1212	[DEBUG]	Use field value for field slug
2023-10-13	12:41:09	1212	[DEBUG]	Process line 1212
2023-10-13	12:41:09	1212	[DEBUG]	Load a row
2023-10-13	12:41:09	1212	[DEBUG]	Processing item: A_6771_1
2023-10-13	12:41:09	1212	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:09	1212	[DEBUG]	Processing product tax
2023-10-13	12:41:09	1212	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:09	1212	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:09	1212	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:09	1212	[DEBUG]	Query for Product
2023-10-13	12:41:09	1212	[DEBUG]	Executed store
2023-10-13	12:41:09	1212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6771_1','0.088','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:09	1212	[DEBUG]	Check product language entry
2023-10-13	12:41:09	1212	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860704
2023-10-13	12:41:09	1212	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:09	1212	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6771_1' AND `virtuemart_product_id` != 1860704
2023-10-13	12:41:09	1212	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:09	1212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860704, 'A_6771_1')
2023-10-13	12:41:09	1212	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:09	1212	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv1-12-presta-noir' AND `virtuemart_product_id` != 1860704
2023-10-13	12:41:09	1212	[DEBUG]	Query for ProductLang
2023-10-13	12:41:09	1212	[DEBUG]	Executed store
2023-10-13	12:41:09	1212	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='12x1/2x1.75 x 2 1/4 schraeder, 88gr<br>N° art fourn : 10.55.13.089',`product_name`='SCHWALBE Chambre-à-air SV1 12 Presta  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv1-12-presta-noir' WHERE `virtuemart_product_id` = '1860704'
2023-10-13	12:41:09	1212	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32997_chambre-à-air_schwalbe_sv1_12__presta_.jpg
2023-10-13	12:41:09	1212	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:09	1212	[DEBUG]	Process image file
2023-10-13	12:41:09	1212	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:09	1212	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:09	1212	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32997_chambre-à-air_schwalbe_sv1_12__presta_.jpg
2023-10-13	12:41:09	1212	[DEBUG]	Full name target: bcprisme/32997_chambre-à-air_schwalbe_sv1_12__presta_.jpg
2023-10-13	12:41:10	1212	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:10	1212	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32997_chambre-à-air_schwalbe_sv1_12__presta_.jpg'
2023-10-13	12:41:10	1212	[DEBUG]	Query for Media
2023-10-13	12:41:10	1212	[DEBUG]	Executed store
2023-10-13	12:41:10	1212	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32997_chambre-à-air_schwalbe_sv1_12__presta_.jpg',`file_url_thumb`='bcprisme/32997_chambre-à-air_schwalbe_sv1_12__presta_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12596'
2023-10-13	12:41:10	1212	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:10	1212	[DEBUG]	Executed store
2023-10-13	12:41:10	1212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860704','12596','1')
2023-10-13	12:41:10	1212	[DEBUG]	Store product image relation
2023-10-13	12:41:10	1212	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:10	1212	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860704 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:10	1212	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:10	1212	[DEBUG]	Executed store
2023-10-13	12:41:10	1212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860704','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:10	1212	[DEBUG]	Checking manufacturer
2023-10-13	12:41:10	1212	[DEBUG]	Load a row
2023-10-13	12:41:10	1212	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:10	1212	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:10	1212	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:10	1212	[DEBUG]	Executed store
2023-10-13	12:41:10	1212	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:10	1212	[DEBUG]	Manufacturer exists
2023-10-13	12:41:10	1212	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:41:10	1212	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:10	1212	[DEBUG]	Executed store
2023-10-13	12:41:10	1212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860704','25')
2023-10-13	12:41:10	1212	[DEBUG]	Find the custom field ID
2023-10-13	12:41:10	1212	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:10	1212	[DEBUG]	No custom field ID found
2023-10-13	12:41:10	1212	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:10	1212	[DEBUG]	Get existing row with customfield value 8.47638888888889
2023-10-13	12:41:10	1212	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860704 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:10	1212	[DEBUG]	Store custom available field
2023-10-13	12:41:10	1212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860704,3,'8.47638888888889',1)
2023-10-13	12:41:10	1212	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:10	1212	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:10	1212	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860704 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:10	1212	[DEBUG]	Store custom available field
2023-10-13	12:41:10	1212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860704,6,'choisir la taille',3)
2023-10-13	12:41:10	1212	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:10	1212	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:10	1212	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:10	1212	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:10	1212	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860704 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:10	1212	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:10	1212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860704,8,1)
2023-10-13	12:41:10	1212	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:10	1212	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860704\":[1860704,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860704
2023-10-13	12:41:10	1212	[DEBUG]	Checking category
2023-10-13	12:41:10	1212	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:10	1212	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860704
2023-10-13	12:41:10	1212	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:10	1212	[DEBUG]	Executed store
2023-10-13	12:41:10	1212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860704','7292')
2023-10-13	12:41:10	1212	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:10	1212	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860704 AND `virtuemart_category_id` NOT IN (7292)
2023-10-13	12:41:10	1212	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:10	1212	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860704
2023-10-13	12:41:10	1213	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:10	1213	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:10	1213	[DEBUG]	Use field value for field taille
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:10	1213	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:10	1213	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:10	1213	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:10	1213	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:10	1213	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:10	1213	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:10	1213	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:10	1213	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:10	1213	[DEBUG]	Use field value for field published
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:10	1213	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field override
2023-10-13	12:41:10	1213	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:10	1213	[DEBUG]	Use field value for field slug
2023-10-13	12:41:10	1213	[DEBUG]	Process line 1213
2023-10-13	12:41:10	1213	[DEBUG]	Load a row
2023-10-13	12:41:10	1213	[DEBUG]	Processing item: 4026495099820
2023-10-13	12:41:10	1213	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:10	1213	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:10	1213	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6771_1'
2023-10-13	12:41:10	1213	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:10	1213	[DEBUG]	Processing product tax
2023-10-13	12:41:10	1213	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:10	1213	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:10	1213	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:10	1213	[DEBUG]	Query for Product
2023-10-13	12:41:10	1213	[DEBUG]	Executed store
2023-10-13	12:41:10	1213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860704','4026495099820','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:10	1213	[DEBUG]	No parent found
2023-10-13	12:41:10	1213	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860704 AND customfield_value = 'stockable'
2023-10-13	12:41:10	1213	[DEBUG]	Check product language entry
2023-10-13	12:41:10	1213	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860705
2023-10-13	12:41:10	1213	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:10	1213	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495099820' AND `virtuemart_product_id` != 1860705
2023-10-13	12:41:10	1213	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:10	1213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860705, '4026495099820')
2023-10-13	12:41:10	1213	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:10	1213	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv1-12-presta-noir-unitaire' AND `virtuemart_product_id` != 1860705
2023-10-13	12:41:10	1213	[DEBUG]	Query for ProductLang
2023-10-13	12:41:10	1213	[DEBUG]	Executed store
2023-10-13	12:41:10	1213	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air SV1 12 Presta  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv1-12-presta-noir-unitaire' WHERE `virtuemart_product_id` = '1860705'
2023-10-13	12:41:10	1213	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32997_chambre-à-air_schwalbe_sv1_12__presta_.jpg
2023-10-13	12:41:10	1213	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:10	1213	[DEBUG]	Process image file
2023-10-13	12:41:10	1213	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:10	1213	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:10	1213	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32997_chambre-à-air_schwalbe_sv1_12__presta_.jpg
2023-10-13	12:41:10	1213	[DEBUG]	Full name target: bcprisme/32997_chambre-à-air_schwalbe_sv1_12__presta_.jpg
2023-10-13	12:41:11	1213	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:11	1213	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32997_chambre-à-air_schwalbe_sv1_12__presta_.jpg'
2023-10-13	12:41:11	1213	[DEBUG]	Query for Media
2023-10-13	12:41:11	1213	[DEBUG]	Executed store
2023-10-13	12:41:11	1213	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32997_chambre-à-air_schwalbe_sv1_12__presta_.jpg',`file_url_thumb`='bcprisme/32997_chambre-à-air_schwalbe_sv1_12__presta_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12596'
2023-10-13	12:41:11	1213	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:11	1213	[DEBUG]	Executed store
2023-10-13	12:41:11	1213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860705','12596','1')
2023-10-13	12:41:11	1213	[DEBUG]	Store product image relation
2023-10-13	12:41:11	1213	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:11	1213	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860705 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:11	1213	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:11	1213	[DEBUG]	Executed store
2023-10-13	12:41:11	1213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860705','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:11	1213	[DEBUG]	Checking manufacturer
2023-10-13	12:41:11	1213	[DEBUG]	Load a row
2023-10-13	12:41:11	1213	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:11	1213	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:11	1213	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:11	1213	[DEBUG]	Executed store
2023-10-13	12:41:11	1213	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:11	1213	[DEBUG]	Manufacturer exists
2023-10-13	12:41:11	1213	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:41:11	1213	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:11	1213	[DEBUG]	Executed store
2023-10-13	12:41:11	1213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860705','25')
2023-10-13	12:41:11	1213	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:11	1213	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:11	1213	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860705 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:11	1213	[DEBUG]	Store custom available field
2023-10-13	12:41:11	1213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860705,3,'',1)
2023-10-13	12:41:11	1213	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:11	1213	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:11	1213	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860705 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:11	1213	[DEBUG]	Store custom available field
2023-10-13	12:41:11	1213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860705,6,'Unitaire',3)
2023-10-13	12:41:11	1213	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:11	1213	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:11	1213	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860704
2023-10-13	12:41:11	1213	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:11	1213	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860704\":[1860704,8,1,\"choisir la taille\"],\"1860705\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860704
2023-10-13	12:41:11	1213	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:11	1213	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860705
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:11	1214	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field taille
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:11	1214	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:11	1214	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:11	1214	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:11	1214	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:11	1214	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:11	1214	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field published
2023-10-13	12:41:11	1214	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:11	1214	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field override
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:11	1214	[DEBUG]	Use field value for field slug
2023-10-13	12:41:11	1214	[DEBUG]	Process line 1214
2023-10-13	12:41:11	1214	[DEBUG]	Load a row
2023-10-13	12:41:11	1214	[DEBUG]	Processing item: A_7485_208
2023-10-13	12:41:11	1214	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:11	1214	[DEBUG]	Processing product tax
2023-10-13	12:41:11	1214	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:11	1214	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:11	1214	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:11	1214	[DEBUG]	Query for Product
2023-10-13	12:41:11	1214	[DEBUG]	Executed store
2023-10-13	12:41:11	1214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7485_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:11	1214	[DEBUG]	Check product language entry
2023-10-13	12:41:11	1214	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860706
2023-10-13	12:41:11	1214	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:11	1214	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7485_208' AND `virtuemart_product_id` != 1860706
2023-10-13	12:41:11	1214	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:11	1214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860706, 'A_7485_208')
2023-10-13	12:41:11	1214	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:11	1214	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-av1-12-47-62-203-valve-auto-aucune' AND `virtuemart_product_id` != 1860706
2023-10-13	12:41:11	1214	[DEBUG]	Query for ProductLang
2023-10-13	12:41:11	1214	[DEBUG]	Executed store
2023-10-13	12:41:11	1214	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56740',`product_name`='SCHWALBE Chambre-à-air AV1 12 47/62-203 valve auto / &#60;aucune&#62;&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-av1-12-47-62-203-valve-auto-aucune' WHERE `virtuemart_product_id` = '1860706'
2023-10-13	12:41:11	1214	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/av_2004.jpg
2023-10-13	12:41:11	1214	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:11	1214	[DEBUG]	Process image file
2023-10-13	12:41:11	1214	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:11	1214	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:11	1214	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/av_2004.jpg
2023-10-13	12:41:11	1214	[DEBUG]	Full name target: bcprisme/av_2004.jpg
2023-10-13	12:41:12	1214	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:12	1214	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/av_2004.jpg'
2023-10-13	12:41:12	1214	[DEBUG]	Query for Media
2023-10-13	12:41:12	1214	[DEBUG]	Executed store
2023-10-13	12:41:12	1214	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/av_2004.jpg',`file_url_thumb`='bcprisme/av_2004.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '220764'
2023-10-13	12:41:12	1214	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:12	1214	[DEBUG]	Executed store
2023-10-13	12:41:12	1214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860706','220764','1')
2023-10-13	12:41:12	1214	[DEBUG]	Store product image relation
2023-10-13	12:41:12	1214	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:12	1214	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860706 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:12	1214	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:12	1214	[DEBUG]	Executed store
2023-10-13	12:41:12	1214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860706','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:12	1214	[DEBUG]	Checking manufacturer
2023-10-13	12:41:12	1214	[DEBUG]	Load a row
2023-10-13	12:41:12	1214	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:12	1214	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:41:12	1214	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:12	1214	[DEBUG]	Executed store
2023-10-13	12:41:12	1214	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:41:12	1214	[DEBUG]	Manufacturer exists
2023-10-13	12:41:12	1214	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:41:12	1214	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:12	1214	[DEBUG]	Executed store
2023-10-13	12:41:12	1214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860706','24')
2023-10-13	12:41:12	1214	[DEBUG]	Find the custom field ID
2023-10-13	12:41:12	1214	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:12	1214	[DEBUG]	No custom field ID found
2023-10-13	12:41:12	1214	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:12	1214	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:12	1214	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860706 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:12	1214	[DEBUG]	Store custom available field
2023-10-13	12:41:12	1214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860706,3,'0',1)
2023-10-13	12:41:12	1214	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:12	1214	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:12	1214	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860706 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:12	1214	[DEBUG]	Store custom available field
2023-10-13	12:41:12	1214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860706,6,'choisir la taille',3)
2023-10-13	12:41:12	1214	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:12	1214	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:12	1214	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:12	1214	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:12	1214	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860706 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:12	1214	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:12	1214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860706,8,1)
2023-10-13	12:41:12	1214	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:12	1214	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860706\":[1860706,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860706
2023-10-13	12:41:12	1214	[DEBUG]	Checking category
2023-10-13	12:41:12	1214	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:12	1214	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860706
2023-10-13	12:41:12	1214	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:12	1214	[DEBUG]	Executed store
2023-10-13	12:41:12	1214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860706','7292')
2023-10-13	12:41:12	1214	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:12	1214	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860706 AND `virtuemart_category_id` NOT IN (7292)
2023-10-13	12:41:12	1214	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:12	1214	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860706
2023-10-13	12:41:12	1215	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:12	1215	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:12	1215	[DEBUG]	Use field value for field taille
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:12	1215	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:12	1215	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:12	1215	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:12	1215	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:12	1215	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:12	1215	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:12	1215	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:12	1215	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:12	1215	[DEBUG]	Use field value for field published
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:12	1215	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field override
2023-10-13	12:41:12	1215	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:12	1215	[DEBUG]	Use field value for field slug
2023-10-13	12:41:12	1215	[DEBUG]	Process line 1215
2023-10-13	12:41:12	1215	[DEBUG]	Load a row
2023-10-13	12:41:12	1215	[DEBUG]	Processing item: 4026495099769
2023-10-13	12:41:12	1215	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:12	1215	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:12	1215	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7485_208'
2023-10-13	12:41:12	1215	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:12	1215	[DEBUG]	Processing product tax
2023-10-13	12:41:12	1215	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:12	1215	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:12	1215	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:12	1215	[DEBUG]	Query for Product
2023-10-13	12:41:12	1215	[DEBUG]	Executed store
2023-10-13	12:41:12	1215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860706','4026495099769','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:12	1215	[DEBUG]	No parent found
2023-10-13	12:41:12	1215	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860706 AND customfield_value = 'stockable'
2023-10-13	12:41:12	1215	[DEBUG]	Check product language entry
2023-10-13	12:41:12	1215	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860707
2023-10-13	12:41:12	1215	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:12	1215	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495099769' AND `virtuemart_product_id` != 1860707
2023-10-13	12:41:12	1215	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:12	1215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860707, '4026495099769')
2023-10-13	12:41:12	1215	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:12	1215	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-av1-12-47-62-203-valve-auto-aucune-unitaire' AND `virtuemart_product_id` != 1860707
2023-10-13	12:41:12	1215	[DEBUG]	Query for ProductLang
2023-10-13	12:41:12	1215	[DEBUG]	Executed store
2023-10-13	12:41:12	1215	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air AV1 12 47/62-203 valve auto / &#60;aucune&#62; (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-av1-12-47-62-203-valve-auto-aucune-unitaire' WHERE `virtuemart_product_id` = '1860707'
2023-10-13	12:41:12	1215	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/av_2004.jpg
2023-10-13	12:41:12	1215	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:12	1215	[DEBUG]	Process image file
2023-10-13	12:41:12	1215	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:12	1215	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:12	1215	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/av_2004.jpg
2023-10-13	12:41:12	1215	[DEBUG]	Full name target: bcprisme/av_2004.jpg
2023-10-13	12:41:13	1215	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:13	1215	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/av_2004.jpg'
2023-10-13	12:41:13	1215	[DEBUG]	Query for Media
2023-10-13	12:41:13	1215	[DEBUG]	Executed store
2023-10-13	12:41:13	1215	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/av_2004.jpg',`file_url_thumb`='bcprisme/av_2004.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '220764'
2023-10-13	12:41:13	1215	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:13	1215	[DEBUG]	Executed store
2023-10-13	12:41:13	1215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860707','220764','1')
2023-10-13	12:41:13	1215	[DEBUG]	Store product image relation
2023-10-13	12:41:13	1215	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:13	1215	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860707 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:13	1215	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:13	1215	[DEBUG]	Executed store
2023-10-13	12:41:13	1215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860707','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:13	1215	[DEBUG]	Checking manufacturer
2023-10-13	12:41:13	1215	[DEBUG]	Load a row
2023-10-13	12:41:13	1215	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:13	1215	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:41:13	1215	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:13	1215	[DEBUG]	Executed store
2023-10-13	12:41:13	1215	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:41:13	1215	[DEBUG]	Manufacturer exists
2023-10-13	12:41:13	1215	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:41:13	1215	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:13	1215	[DEBUG]	Executed store
2023-10-13	12:41:13	1215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860707','24')
2023-10-13	12:41:13	1215	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:13	1215	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:13	1215	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860707 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:13	1215	[DEBUG]	Store custom available field
2023-10-13	12:41:13	1215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860707,3,'',1)
2023-10-13	12:41:13	1215	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:13	1215	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:13	1215	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860707 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:13	1215	[DEBUG]	Store custom available field
2023-10-13	12:41:13	1215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860707,6,'Unitaire',3)
2023-10-13	12:41:13	1215	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:13	1215	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:13	1215	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860706
2023-10-13	12:41:13	1215	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:13	1215	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860706\":[1860706,8,1,\"choisir la taille\"],\"1860707\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860706
2023-10-13	12:41:13	1215	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:13	1215	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860707
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:13	1216	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field taille
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:13	1216	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:13	1216	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:13	1216	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:13	1216	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:13	1216	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:13	1216	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field published
2023-10-13	12:41:13	1216	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:13	1216	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field override
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:13	1216	[DEBUG]	Use field value for field slug
2023-10-13	12:41:13	1216	[DEBUG]	Process line 1216
2023-10-13	12:41:13	1216	[DEBUG]	Load a row
2023-10-13	12:41:13	1216	[DEBUG]	Processing item: A_8144_208
2023-10-13	12:41:13	1216	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:13	1216	[DEBUG]	Processing product tax
2023-10-13	12:41:13	1216	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:13	1216	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:13	1216	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:13	1216	[DEBUG]	Query for Product
2023-10-13	12:41:13	1216	[DEBUG]	Executed store
2023-10-13	12:41:13	1216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8144_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:13	1216	[DEBUG]	Check product language entry
2023-10-13	12:41:13	1216	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860708
2023-10-13	12:41:13	1216	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:13	1216	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8144_208' AND `virtuemart_product_id` != 1860708
2023-10-13	12:41:13	1216	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:13	1216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860708, 'A_8144_208')
2023-10-13	12:41:13	1216	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:13	1216	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-av1-45-12-47-62-203-valve-auto-aucune' AND `virtuemart_product_id` != 1860708
2023-10-13	12:41:13	1216	[DEBUG]	Query for ProductLang
2023-10-13	12:41:13	1216	[DEBUG]	Executed store
2023-10-13	12:41:13	1216	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56741',`product_name`='SCHWALBE Chambre-à-air AV1 45° 12 47/62-203 valve auto / &#60;aucune&#62;&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-av1-45-12-47-62-203-valve-auto-aucune' WHERE `virtuemart_product_id` = '1860708'
2023-10-13	12:41:13	1216	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/av_2004_jpg.jpg
2023-10-13	12:41:13	1216	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:41:13	1216	[DEBUG]	Process image file
2023-10-13	12:41:13	1216	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:41:13	1216	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:13	1216	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/av_2004_jpg.jpg
2023-10-13	12:41:13	1216	[DEBUG]	Full name target: bcprisme/av_2004_jpg.jpg
2023-10-13	12:41:14	1216	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:14	1216	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/av_2004_jpg.jpg'
2023-10-13	12:41:14	1216	[DEBUG]	Query for Media
2023-10-13	12:41:14	1216	[DEBUG]	Executed store
2023-10-13	12:41:14	1216	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/av_2004_jpg.jpg',`file_url_thumb`='bcprisme/av_2004_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '685253'
2023-10-13	12:41:14	1216	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:14	1216	[DEBUG]	Executed store
2023-10-13	12:41:14	1216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860708','685253','1')
2023-10-13	12:41:14	1216	[DEBUG]	Store product image relation
2023-10-13	12:41:14	1216	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:14	1216	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860708 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:14	1216	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:14	1216	[DEBUG]	Executed store
2023-10-13	12:41:14	1216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860708','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:14	1216	[DEBUG]	Checking manufacturer
2023-10-13	12:41:14	1216	[DEBUG]	Load a row
2023-10-13	12:41:14	1216	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:14	1216	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:41:14	1216	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:14	1216	[DEBUG]	Executed store
2023-10-13	12:41:14	1216	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:41:14	1216	[DEBUG]	Manufacturer exists
2023-10-13	12:41:14	1216	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:41:14	1216	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:14	1216	[DEBUG]	Executed store
2023-10-13	12:41:14	1216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860708','24')
2023-10-13	12:41:14	1216	[DEBUG]	Find the custom field ID
2023-10-13	12:41:14	1216	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:14	1216	[DEBUG]	No custom field ID found
2023-10-13	12:41:14	1216	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:14	1216	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:14	1216	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860708 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:14	1216	[DEBUG]	Store custom available field
2023-10-13	12:41:14	1216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860708,3,'0',1)
2023-10-13	12:41:14	1216	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:14	1216	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:14	1216	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860708 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:14	1216	[DEBUG]	Store custom available field
2023-10-13	12:41:14	1216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860708,6,'choisir la taille',3)
2023-10-13	12:41:14	1216	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:14	1216	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:14	1216	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:14	1216	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:14	1216	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860708 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:14	1216	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:14	1216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860708,8,1)
2023-10-13	12:41:14	1216	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:14	1216	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860708\":[1860708,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860708
2023-10-13	12:41:14	1216	[DEBUG]	Checking category
2023-10-13	12:41:14	1216	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:14	1216	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860708
2023-10-13	12:41:14	1216	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:14	1216	[DEBUG]	Executed store
2023-10-13	12:41:14	1216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860708','7292')
2023-10-13	12:41:14	1216	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:14	1216	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860708 AND `virtuemart_category_id` NOT IN (7292)
2023-10-13	12:41:14	1216	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:14	1216	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860708
2023-10-13	12:41:14	1217	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:14	1217	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:14	1217	[DEBUG]	Use field value for field taille
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:14	1217	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:14	1217	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:14	1217	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:14	1217	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:14	1217	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:14	1217	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:14	1217	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:14	1217	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:14	1217	[DEBUG]	Use field value for field published
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:14	1217	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field override
2023-10-13	12:41:14	1217	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:14	1217	[DEBUG]	Use field value for field slug
2023-10-13	12:41:14	1217	[DEBUG]	Process line 1217
2023-10-13	12:41:14	1217	[DEBUG]	Load a row
2023-10-13	12:41:14	1217	[DEBUG]	Processing item: 4026495890588
2023-10-13	12:41:14	1217	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:14	1217	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:14	1217	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8144_208'
2023-10-13	12:41:14	1217	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:14	1217	[DEBUG]	Processing product tax
2023-10-13	12:41:14	1217	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:14	1217	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:14	1217	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:14	1217	[DEBUG]	Query for Product
2023-10-13	12:41:14	1217	[DEBUG]	Executed store
2023-10-13	12:41:14	1217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860708','4026495890588','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:14	1217	[DEBUG]	No parent found
2023-10-13	12:41:14	1217	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860708 AND customfield_value = 'stockable'
2023-10-13	12:41:14	1217	[DEBUG]	Check product language entry
2023-10-13	12:41:14	1217	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860709
2023-10-13	12:41:14	1217	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:14	1217	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495890588' AND `virtuemart_product_id` != 1860709
2023-10-13	12:41:14	1217	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:14	1217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860709, '4026495890588')
2023-10-13	12:41:14	1217	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:14	1217	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-av1-45-12-47-62-203-valve-auto-aucune-unitaire' AND `virtuemart_product_id` != 1860709
2023-10-13	12:41:14	1217	[DEBUG]	Query for ProductLang
2023-10-13	12:41:14	1217	[DEBUG]	Executed store
2023-10-13	12:41:14	1217	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air AV1 45° 12 47/62-203 valve auto / &#60;aucune&#62; (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-av1-45-12-47-62-203-valve-auto-aucune-unitaire' WHERE `virtuemart_product_id` = '1860709'
2023-10-13	12:41:14	1217	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/av_2004_jpg.jpg
2023-10-13	12:41:14	1217	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:41:14	1217	[DEBUG]	Process image file
2023-10-13	12:41:14	1217	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:41:14	1217	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:14	1217	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/av_2004_jpg.jpg
2023-10-13	12:41:14	1217	[DEBUG]	Full name target: bcprisme/av_2004_jpg.jpg
2023-10-13	12:41:15	1217	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:15	1217	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/av_2004_jpg.jpg'
2023-10-13	12:41:15	1217	[DEBUG]	Query for Media
2023-10-13	12:41:15	1217	[DEBUG]	Executed store
2023-10-13	12:41:15	1217	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/av_2004_jpg.jpg',`file_url_thumb`='bcprisme/av_2004_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '685253'
2023-10-13	12:41:15	1217	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:15	1217	[DEBUG]	Executed store
2023-10-13	12:41:15	1217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860709','685253','1')
2023-10-13	12:41:15	1217	[DEBUG]	Store product image relation
2023-10-13	12:41:15	1217	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:15	1217	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860709 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:15	1217	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:15	1217	[DEBUG]	Executed store
2023-10-13	12:41:15	1217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860709','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:15	1217	[DEBUG]	Checking manufacturer
2023-10-13	12:41:15	1217	[DEBUG]	Load a row
2023-10-13	12:41:15	1217	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:15	1217	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:41:15	1217	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:15	1217	[DEBUG]	Executed store
2023-10-13	12:41:15	1217	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:41:15	1217	[DEBUG]	Manufacturer exists
2023-10-13	12:41:15	1217	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:41:15	1217	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:15	1217	[DEBUG]	Executed store
2023-10-13	12:41:15	1217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860709','24')
2023-10-13	12:41:15	1217	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:15	1217	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:15	1217	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860709 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:15	1217	[DEBUG]	Store custom available field
2023-10-13	12:41:15	1217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860709,3,'',1)
2023-10-13	12:41:15	1217	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:15	1217	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:15	1217	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860709 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:15	1217	[DEBUG]	Store custom available field
2023-10-13	12:41:15	1217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860709,6,'Unitaire',3)
2023-10-13	12:41:15	1217	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:15	1217	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:15	1217	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860708
2023-10-13	12:41:15	1217	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:15	1217	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860708\":[1860708,8,1,\"choisir la taille\"],\"1860709\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860708
2023-10-13	12:41:15	1217	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:15	1217	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860709
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:15	1218	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field taille
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:15	1218	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:15	1218	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:15	1218	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:15	1218	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:15	1218	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:15	1218	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field published
2023-10-13	12:41:15	1218	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:15	1218	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field override
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:15	1218	[DEBUG]	Use field value for field slug
2023-10-13	12:41:15	1218	[DEBUG]	Process line 1218
2023-10-13	12:41:15	1218	[DEBUG]	Load a row
2023-10-13	12:41:15	1218	[DEBUG]	Processing item: A_9048_1
2023-10-13	12:41:15	1218	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:15	1218	[DEBUG]	Processing product tax
2023-10-13	12:41:15	1218	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:15	1218	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:15	1218	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:15	1218	[DEBUG]	Query for Product
2023-10-13	12:41:15	1218	[DEBUG]	Executed store
2023-10-13	12:41:15	1218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9048_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:15	1218	[DEBUG]	Check product language entry
2023-10-13	12:41:15	1218	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860710
2023-10-13	12:41:15	1218	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:15	1218	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9048_1' AND `virtuemart_product_id` != 1860710
2023-10-13	12:41:15	1218	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:15	1218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860710, 'A_9048_1')
2023-10-13	12:41:15	1218	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:15	1218	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'michelin-chambre-a-air-12-1-2x1-50-2-1-mitas-90-90-noir' AND `virtuemart_product_id` != 1860710
2023-10-13	12:41:15	1218	[DEBUG]	Query for ProductLang
2023-10-13	12:41:15	1218	[DEBUG]	Executed store
2023-10-13	12:41:15	1218	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.c22',`product_name`='Michelin Chambre-à-air 12, 1/2X1.50/2.1 Mitas 90/90 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='michelin-chambre-a-air-12-1-2x1-50-2-1-mitas-90-90-noir' WHERE `virtuemart_product_id` = '1860710'
2023-10-13	12:41:15	1218	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38067_chambre-à-air_12,_1-2x1_50-2_1_mitas_90-90.jpg
2023-10-13	12:41:15	1218	[DEBUG]	Identity string: ffd8ffe1185d4578696600004d4d002a00000008
2023-10-13	12:41:15	1218	[DEBUG]	Process image file
2023-10-13	12:41:15	1218	[DEBUG]	Identity string: ffd8ffe1185d4578696600004d4d002a00000008
2023-10-13	12:41:15	1218	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:15	1218	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38067_chambre-à-air_12,_1-2x1_50-2_1_mitas_90-90.jpg
2023-10-13	12:41:15	1218	[DEBUG]	Full name target: bcprisme/38067_chambre-à-air_12,_1-2x1_50-2_1_mitas_90-90.jpg
2023-10-13	12:41:16	1218	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:16	1218	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38067_chambre-à-air_12,_1-2x1_50-2_1_mitas_90-90.jpg'
2023-10-13	12:41:16	1218	[DEBUG]	Query for Media
2023-10-13	12:41:16	1218	[DEBUG]	Executed store
2023-10-13	12:41:16	1218	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38067_chambre-à-air_12,_1-2x1_50-2_1_mitas_90-90.jpg',`file_url_thumb`='bcprisme/38067_chambre-à-air_12,_1-2x1_50-2_1_mitas_90-90.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1253960'
2023-10-13	12:41:16	1218	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:16	1218	[DEBUG]	Executed store
2023-10-13	12:41:16	1218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860710','1253960','1')
2023-10-13	12:41:16	1218	[DEBUG]	Store product image relation
2023-10-13	12:41:16	1218	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:16	1218	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860710 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:16	1218	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:16	1218	[DEBUG]	Executed store
2023-10-13	12:41:16	1218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860710','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:16	1218	[DEBUG]	Checking manufacturer
2023-10-13	12:41:16	1218	[DEBUG]	Load a row
2023-10-13	12:41:16	1218	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:16	1218	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	12:41:16	1218	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:16	1218	[DEBUG]	Executed store
2023-10-13	12:41:16	1218	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331859464270' WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	12:41:16	1218	[DEBUG]	Manufacturer exists
2023-10-13	12:41:16	1218	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 134
2023-10-13	12:41:16	1218	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:16	1218	[DEBUG]	Executed store
2023-10-13	12:41:16	1218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860710','134')
2023-10-13	12:41:16	1218	[DEBUG]	Find the custom field ID
2023-10-13	12:41:16	1218	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:16	1218	[DEBUG]	No custom field ID found
2023-10-13	12:41:16	1218	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:16	1218	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:41:16	1218	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860710 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:16	1218	[DEBUG]	Store custom available field
2023-10-13	12:41:16	1218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860710,3,'9.47361111111111',1)
2023-10-13	12:41:16	1218	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:16	1218	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:16	1218	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860710 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:16	1218	[DEBUG]	Store custom available field
2023-10-13	12:41:16	1218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860710,6,'choisir la taille',3)
2023-10-13	12:41:16	1218	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:16	1218	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:16	1218	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:16	1218	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:16	1218	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860710 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:16	1218	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:16	1218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860710,8,1)
2023-10-13	12:41:16	1218	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:16	1218	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860710\":[1860710,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860710
2023-10-13	12:41:16	1218	[DEBUG]	Checking category
2023-10-13	12:41:16	1218	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:16	1218	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860710
2023-10-13	12:41:16	1218	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:16	1218	[DEBUG]	Executed store
2023-10-13	12:41:16	1218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860710','7292')
2023-10-13	12:41:16	1218	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:16	1218	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860710 AND `virtuemart_category_id` NOT IN (7292)
2023-10-13	12:41:16	1218	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:16	1218	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860710
2023-10-13	12:41:16	1219	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:16	1219	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:16	1219	[DEBUG]	Use field value for field taille
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:16	1219	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:16	1219	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:16	1219	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:16	1219	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:16	1219	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:16	1219	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:16	1219	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:16	1219	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:16	1219	[DEBUG]	Use field value for field published
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:16	1219	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field override
2023-10-13	12:41:16	1219	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:16	1219	[DEBUG]	Use field value for field slug
2023-10-13	12:41:16	1219	[DEBUG]	Process line 1219
2023-10-13	12:41:16	1219	[DEBUG]	Load a row
2023-10-13	12:41:16	1219	[DEBUG]	Processing item: 1000000180688
2023-10-13	12:41:16	1219	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:16	1219	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:16	1219	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9048_1'
2023-10-13	12:41:16	1219	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:16	1219	[DEBUG]	Processing product tax
2023-10-13	12:41:16	1219	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:16	1219	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:16	1219	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:16	1219	[DEBUG]	Query for Product
2023-10-13	12:41:16	1219	[DEBUG]	Executed store
2023-10-13	12:41:16	1219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860710','1000000180688','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:16	1219	[DEBUG]	No parent found
2023-10-13	12:41:16	1219	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860710 AND customfield_value = 'stockable'
2023-10-13	12:41:16	1219	[DEBUG]	Check product language entry
2023-10-13	12:41:16	1219	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860711
2023-10-13	12:41:16	1219	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:16	1219	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000180688' AND `virtuemart_product_id` != 1860711
2023-10-13	12:41:16	1219	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:16	1219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860711, '1000000180688')
2023-10-13	12:41:16	1219	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:16	1219	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'michelin-chambre-a-air-12-1-2x1-50-2-1-mitas-90-90-noir-unitaire' AND `virtuemart_product_id` != 1860711
2023-10-13	12:41:16	1219	[DEBUG]	Query for ProductLang
2023-10-13	12:41:16	1219	[DEBUG]	Executed store
2023-10-13	12:41:16	1219	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Michelin Chambre-à-air 12, 1/2X1.50/2.1 Mitas 90/90 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='michelin-chambre-a-air-12-1-2x1-50-2-1-mitas-90-90-noir-unitaire' WHERE `virtuemart_product_id` = '1860711'
2023-10-13	12:41:16	1219	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38067_chambre-à-air_12,_1-2x1_50-2_1_mitas_90-90.jpg
2023-10-13	12:41:16	1219	[DEBUG]	Identity string: ffd8ffe1185d4578696600004d4d002a00000008
2023-10-13	12:41:16	1219	[DEBUG]	Process image file
2023-10-13	12:41:16	1219	[DEBUG]	Identity string: ffd8ffe1185d4578696600004d4d002a00000008
2023-10-13	12:41:16	1219	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:16	1219	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38067_chambre-à-air_12,_1-2x1_50-2_1_mitas_90-90.jpg
2023-10-13	12:41:16	1219	[DEBUG]	Full name target: bcprisme/38067_chambre-à-air_12,_1-2x1_50-2_1_mitas_90-90.jpg
2023-10-13	12:41:17	1219	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:17	1219	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38067_chambre-à-air_12,_1-2x1_50-2_1_mitas_90-90.jpg'
2023-10-13	12:41:17	1219	[DEBUG]	Query for Media
2023-10-13	12:41:17	1219	[DEBUG]	Executed store
2023-10-13	12:41:17	1219	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38067_chambre-à-air_12,_1-2x1_50-2_1_mitas_90-90.jpg',`file_url_thumb`='bcprisme/38067_chambre-à-air_12,_1-2x1_50-2_1_mitas_90-90.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1253960'
2023-10-13	12:41:17	1219	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:17	1219	[DEBUG]	Executed store
2023-10-13	12:41:17	1219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860711','1253960','1')
2023-10-13	12:41:17	1219	[DEBUG]	Store product image relation
2023-10-13	12:41:17	1219	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:17	1219	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860711 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:17	1219	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:17	1219	[DEBUG]	Executed store
2023-10-13	12:41:17	1219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860711','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:17	1219	[DEBUG]	Checking manufacturer
2023-10-13	12:41:17	1219	[DEBUG]	Load a row
2023-10-13	12:41:17	1219	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:17	1219	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	12:41:17	1219	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:17	1219	[DEBUG]	Executed store
2023-10-13	12:41:17	1219	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331859464270' WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	12:41:17	1219	[DEBUG]	Manufacturer exists
2023-10-13	12:41:17	1219	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 134
2023-10-13	12:41:17	1219	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:17	1219	[DEBUG]	Executed store
2023-10-13	12:41:17	1219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860711','134')
2023-10-13	12:41:17	1219	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:17	1219	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:17	1219	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860711 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:17	1219	[DEBUG]	Store custom available field
2023-10-13	12:41:17	1219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860711,3,'',1)
2023-10-13	12:41:17	1219	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:17	1219	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:17	1219	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860711 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:17	1219	[DEBUG]	Store custom available field
2023-10-13	12:41:17	1219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860711,6,'Unitaire',3)
2023-10-13	12:41:17	1219	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:17	1219	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:17	1219	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860710
2023-10-13	12:41:17	1219	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:17	1219	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860710\":[1860710,8,1,\"choisir la taille\"],\"1860711\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860710
2023-10-13	12:41:17	1219	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:17	1219	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860711
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:17	1220	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field taille
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:17	1220	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:17	1220	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:17	1220	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:17	1220	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:17	1220	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:17	1220	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field published
2023-10-13	12:41:17	1220	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:17	1220	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field override
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:17	1220	[DEBUG]	Use field value for field slug
2023-10-13	12:41:17	1220	[DEBUG]	Process line 1220
2023-10-13	12:41:17	1220	[DEBUG]	Load a row
2023-10-13	12:41:17	1220	[DEBUG]	Processing item: A_9049_1
2023-10-13	12:41:17	1220	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:17	1220	[DEBUG]	Processing product tax
2023-10-13	12:41:17	1220	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:17	1220	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:17	1220	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:17	1220	[DEBUG]	Query for Product
2023-10-13	12:41:17	1220	[DEBUG]	Executed store
2023-10-13	12:41:18	1220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9049_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:18	1220	[DEBUG]	Check product language entry
2023-10-13	12:41:18	1220	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860712
2023-10-13	12:41:18	1220	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:18	1220	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9049_1' AND `virtuemart_product_id` != 1860712
2023-10-13	12:41:18	1220	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:18	1220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860712, 'A_9049_1')
2023-10-13	12:41:18	1220	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:18	1220	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'michelin-chambre-a-air-12-1-2x1-75---2-45-mitas-90-90-noir' AND `virtuemart_product_id` != 1860712
2023-10-13	12:41:18	1220	[DEBUG]	Query for ProductLang
2023-10-13	12:41:18	1220	[DEBUG]	Executed store
2023-10-13	12:41:18	1220	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.c22.4',`product_name`='Michelin Chambre-à-air 12, 1/2X1.75 - 2.45 Mitas 90/90 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='michelin-chambre-a-air-12-1-2x1-75---2-45-mitas-90-90-noir' WHERE `virtuemart_product_id` = '1860712'
2023-10-13	12:41:18	1220	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38068_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90.jpg
2023-10-13	12:41:18	1220	[DEBUG]	Identity string: ffd8ffe1185d4578696600004d4d002a00000008
2023-10-13	12:41:18	1220	[DEBUG]	Process image file
2023-10-13	12:41:18	1220	[DEBUG]	Identity string: ffd8ffe1185d4578696600004d4d002a00000008
2023-10-13	12:41:18	1220	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:18	1220	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38068_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90.jpg
2023-10-13	12:41:18	1220	[DEBUG]	Full name target: bcprisme/38068_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90.jpg
2023-10-13	12:41:19	1220	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:19	1220	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38068_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90.jpg'
2023-10-13	12:41:19	1220	[DEBUG]	Query for Media
2023-10-13	12:41:19	1220	[DEBUG]	Executed store
2023-10-13	12:41:19	1220	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38068_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90.jpg',`file_url_thumb`='bcprisme/38068_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1253962'
2023-10-13	12:41:19	1220	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:19	1220	[DEBUG]	Executed store
2023-10-13	12:41:19	1220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860712','1253962','1')
2023-10-13	12:41:19	1220	[DEBUG]	Store product image relation
2023-10-13	12:41:19	1220	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:19	1220	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860712 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:19	1220	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:19	1220	[DEBUG]	Executed store
2023-10-13	12:41:19	1220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860712','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:19	1220	[DEBUG]	Checking manufacturer
2023-10-13	12:41:19	1220	[DEBUG]	Load a row
2023-10-13	12:41:19	1220	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:19	1220	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	12:41:19	1220	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:19	1220	[DEBUG]	Executed store
2023-10-13	12:41:19	1220	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331859464270' WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	12:41:19	1220	[DEBUG]	Manufacturer exists
2023-10-13	12:41:19	1220	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 134
2023-10-13	12:41:19	1220	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:19	1220	[DEBUG]	Executed store
2023-10-13	12:41:19	1220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860712','134')
2023-10-13	12:41:19	1220	[DEBUG]	Find the custom field ID
2023-10-13	12:41:19	1220	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:19	1220	[DEBUG]	No custom field ID found
2023-10-13	12:41:19	1220	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:19	1220	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:41:19	1220	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860712 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:19	1220	[DEBUG]	Store custom available field
2023-10-13	12:41:19	1220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860712,3,'9.47361111111111',1)
2023-10-13	12:41:19	1220	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:19	1220	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:19	1220	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860712 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:19	1220	[DEBUG]	Store custom available field
2023-10-13	12:41:19	1220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860712,6,'choisir la taille',3)
2023-10-13	12:41:19	1220	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:19	1220	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:19	1220	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:19	1220	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:19	1220	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860712 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:19	1220	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:19	1220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860712,8,1)
2023-10-13	12:41:19	1220	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:19	1220	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860712\":[1860712,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860712
2023-10-13	12:41:19	1220	[DEBUG]	Checking category
2023-10-13	12:41:19	1220	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:19	1220	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860712
2023-10-13	12:41:19	1220	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:19	1220	[DEBUG]	Executed store
2023-10-13	12:41:19	1220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860712','7292')
2023-10-13	12:41:19	1220	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:19	1220	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860712 AND `virtuemart_category_id` NOT IN (7292)
2023-10-13	12:41:19	1220	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:19	1220	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860712
2023-10-13	12:41:19	1221	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:19	1221	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:19	1221	[DEBUG]	Use field value for field taille
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:19	1221	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:19	1221	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:19	1221	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:19	1221	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:19	1221	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:19	1221	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:19	1221	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:19	1221	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:19	1221	[DEBUG]	Use field value for field published
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:19	1221	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field override
2023-10-13	12:41:19	1221	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:19	1221	[DEBUG]	Use field value for field slug
2023-10-13	12:41:19	1221	[DEBUG]	Process line 1221
2023-10-13	12:41:19	1221	[DEBUG]	Load a row
2023-10-13	12:41:19	1221	[DEBUG]	Processing item: 1000000180695
2023-10-13	12:41:19	1221	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:19	1221	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:19	1221	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9049_1'
2023-10-13	12:41:19	1221	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:19	1221	[DEBUG]	Processing product tax
2023-10-13	12:41:19	1221	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:19	1221	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:19	1221	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:19	1221	[DEBUG]	Query for Product
2023-10-13	12:41:19	1221	[DEBUG]	Executed store
2023-10-13	12:41:19	1221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860712','1000000180695','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:19	1221	[DEBUG]	No parent found
2023-10-13	12:41:19	1221	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860712 AND customfield_value = 'stockable'
2023-10-13	12:41:19	1221	[DEBUG]	Check product language entry
2023-10-13	12:41:19	1221	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860713
2023-10-13	12:41:19	1221	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:19	1221	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000180695' AND `virtuemart_product_id` != 1860713
2023-10-13	12:41:19	1221	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:19	1221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860713, '1000000180695')
2023-10-13	12:41:19	1221	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:19	1221	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'michelin-chambre-a-air-12-1-2x1-75---2-45-mitas-90-90-noir-unitaire' AND `virtuemart_product_id` != 1860713
2023-10-13	12:41:19	1221	[DEBUG]	Query for ProductLang
2023-10-13	12:41:19	1221	[DEBUG]	Executed store
2023-10-13	12:41:19	1221	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Michelin Chambre-à-air 12, 1/2X1.75 - 2.45 Mitas 90/90 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='michelin-chambre-a-air-12-1-2x1-75---2-45-mitas-90-90-noir-unitaire' WHERE `virtuemart_product_id` = '1860713'
2023-10-13	12:41:19	1221	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38068_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90.jpg
2023-10-13	12:41:19	1221	[DEBUG]	Identity string: ffd8ffe1185d4578696600004d4d002a00000008
2023-10-13	12:41:19	1221	[DEBUG]	Process image file
2023-10-13	12:41:19	1221	[DEBUG]	Identity string: ffd8ffe1185d4578696600004d4d002a00000008
2023-10-13	12:41:19	1221	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:19	1221	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38068_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90.jpg
2023-10-13	12:41:19	1221	[DEBUG]	Full name target: bcprisme/38068_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90.jpg
2023-10-13	12:41:20	1221	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:20	1221	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38068_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90.jpg'
2023-10-13	12:41:20	1221	[DEBUG]	Query for Media
2023-10-13	12:41:20	1221	[DEBUG]	Executed store
2023-10-13	12:41:20	1221	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38068_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90.jpg',`file_url_thumb`='bcprisme/38068_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1253962'
2023-10-13	12:41:20	1221	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:20	1221	[DEBUG]	Executed store
2023-10-13	12:41:20	1221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860713','1253962','1')
2023-10-13	12:41:20	1221	[DEBUG]	Store product image relation
2023-10-13	12:41:20	1221	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:20	1221	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860713 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:20	1221	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:20	1221	[DEBUG]	Executed store
2023-10-13	12:41:20	1221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860713','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:20	1221	[DEBUG]	Checking manufacturer
2023-10-13	12:41:20	1221	[DEBUG]	Load a row
2023-10-13	12:41:20	1221	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:20	1221	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	12:41:20	1221	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:20	1221	[DEBUG]	Executed store
2023-10-13	12:41:20	1221	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331859464270' WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	12:41:20	1221	[DEBUG]	Manufacturer exists
2023-10-13	12:41:20	1221	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 134
2023-10-13	12:41:20	1221	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:20	1221	[DEBUG]	Executed store
2023-10-13	12:41:20	1221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860713','134')
2023-10-13	12:41:20	1221	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:20	1221	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:20	1221	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860713 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:20	1221	[DEBUG]	Store custom available field
2023-10-13	12:41:20	1221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860713,3,'',1)
2023-10-13	12:41:20	1221	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:20	1221	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:20	1221	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860713 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:20	1221	[DEBUG]	Store custom available field
2023-10-13	12:41:20	1221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860713,6,'Unitaire',3)
2023-10-13	12:41:20	1221	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:20	1221	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:20	1221	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860712
2023-10-13	12:41:20	1221	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:20	1221	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860712\":[1860712,8,1,\"choisir la taille\"],\"1860713\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860712
2023-10-13	12:41:20	1221	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:20	1221	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860713
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:20	1222	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field taille
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:20	1222	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:20	1222	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:20	1222	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:20	1222	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:20	1222	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:20	1222	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field published
2023-10-13	12:41:20	1222	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:20	1222	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field override
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:20	1222	[DEBUG]	Use field value for field slug
2023-10-13	12:41:20	1222	[DEBUG]	Process line 1222
2023-10-13	12:41:20	1222	[DEBUG]	Load a row
2023-10-13	12:41:20	1222	[DEBUG]	Processing item: A_9050_1
2023-10-13	12:41:20	1222	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:20	1222	[DEBUG]	Processing product tax
2023-10-13	12:41:20	1222	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:20	1222	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:20	1222	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:20	1222	[DEBUG]	Query for Product
2023-10-13	12:41:20	1222	[DEBUG]	Executed store
2023-10-13	12:41:20	1222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9050_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:20	1222	[DEBUG]	Check product language entry
2023-10-13	12:41:20	1222	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860714
2023-10-13	12:41:20	1222	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:20	1222	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9050_1' AND `virtuemart_product_id` != 1860714
2023-10-13	12:41:20	1222	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:20	1222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860714, 'A_9050_1')
2023-10-13	12:41:20	1222	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:20	1222	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'michelin-chambre-a-air-12-1-2x1-75---2-45-mitas-90-90-noir' AND `virtuemart_product_id` != 1860714
2023-10-13	12:41:20	1222	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:41:20	1222	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'michelin-chambre-a-air-12-1-2x1-75---2-45-mitas-90-90-noir', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'michelin-chambre-a-air-12-1-2x1-75---2-45-mitas-90-90-noir' OR `slug` LIKE 'michelin-chambre-a-air-12-1-2x1-75---2-45-mitas-90-90-noir-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1860714 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:41:20	1222	[DEBUG]	Query for ProductLang
2023-10-13	12:41:20	1222	[DEBUG]	Executed store
2023-10-13	12:41:20	1222	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.c22.5',`product_name`='Michelin Chambre-à-air 12, 1/2X1.75 - 2.45 Mitas 90/90  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='michelin-chambre-a-air-12-1-2x1-75---2-45-mitas-90-90-noir-1' WHERE `virtuemart_product_id` = '1860714'
2023-10-13	12:41:20	1222	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38069_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90_.jpg
2023-10-13	12:41:20	1222	[DEBUG]	Identity string: ffd8ffe1185d4578696600004d4d002a00000008
2023-10-13	12:41:20	1222	[DEBUG]	Process image file
2023-10-13	12:41:20	1222	[DEBUG]	Identity string: ffd8ffe1185d4578696600004d4d002a00000008
2023-10-13	12:41:20	1222	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:20	1222	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38069_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90_.jpg
2023-10-13	12:41:20	1222	[DEBUG]	Full name target: bcprisme/38069_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90_.jpg
2023-10-13	12:41:21	1222	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:21	1222	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38069_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90_.jpg'
2023-10-13	12:41:21	1222	[DEBUG]	Query for Media
2023-10-13	12:41:21	1222	[DEBUG]	Executed store
2023-10-13	12:41:21	1222	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38069_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90_.jpg',`file_url_thumb`='bcprisme/38069_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1253964'
2023-10-13	12:41:21	1222	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:21	1222	[DEBUG]	Executed store
2023-10-13	12:41:21	1222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860714','1253964','1')
2023-10-13	12:41:21	1222	[DEBUG]	Store product image relation
2023-10-13	12:41:21	1222	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:21	1222	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860714 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:21	1222	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:21	1222	[DEBUG]	Executed store
2023-10-13	12:41:21	1222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860714','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:21	1222	[DEBUG]	Checking manufacturer
2023-10-13	12:41:21	1222	[DEBUG]	Load a row
2023-10-13	12:41:21	1222	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:21	1222	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	12:41:21	1222	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:21	1222	[DEBUG]	Executed store
2023-10-13	12:41:21	1222	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331859464270' WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	12:41:21	1222	[DEBUG]	Manufacturer exists
2023-10-13	12:41:21	1222	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 134
2023-10-13	12:41:21	1222	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:21	1222	[DEBUG]	Executed store
2023-10-13	12:41:21	1222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860714','134')
2023-10-13	12:41:21	1222	[DEBUG]	Find the custom field ID
2023-10-13	12:41:21	1222	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:21	1222	[DEBUG]	No custom field ID found
2023-10-13	12:41:21	1222	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:21	1222	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:41:21	1222	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860714 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:21	1222	[DEBUG]	Store custom available field
2023-10-13	12:41:21	1222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860714,3,'9.47361111111111',1)
2023-10-13	12:41:21	1222	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:21	1222	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:21	1222	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860714 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:21	1222	[DEBUG]	Store custom available field
2023-10-13	12:41:21	1222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860714,6,'choisir la taille',3)
2023-10-13	12:41:21	1222	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:21	1222	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:21	1222	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:21	1222	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:21	1222	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860714 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:21	1222	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:21	1222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860714,8,1)
2023-10-13	12:41:21	1222	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:21	1222	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860714\":[1860714,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860714
2023-10-13	12:41:21	1222	[DEBUG]	Checking category
2023-10-13	12:41:21	1222	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:21	1222	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860714
2023-10-13	12:41:21	1222	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:21	1222	[DEBUG]	Executed store
2023-10-13	12:41:21	1222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860714','7292')
2023-10-13	12:41:21	1222	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:21	1222	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860714 AND `virtuemart_category_id` NOT IN (7292)
2023-10-13	12:41:21	1222	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:21	1222	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860714
2023-10-13	12:41:21	1223	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:21	1223	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:21	1223	[DEBUG]	Use field value for field taille
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:21	1223	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:21	1223	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:21	1223	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:21	1223	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:21	1223	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:21	1223	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:21	1223	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:21	1223	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:21	1223	[DEBUG]	Use field value for field published
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:21	1223	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field override
2023-10-13	12:41:21	1223	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:21	1223	[DEBUG]	Use field value for field slug
2023-10-13	12:41:21	1223	[DEBUG]	Process line 1223
2023-10-13	12:41:21	1223	[DEBUG]	Load a row
2023-10-13	12:41:21	1223	[DEBUG]	Processing item: 1000000180701
2023-10-13	12:41:21	1223	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:21	1223	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:21	1223	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9050_1'
2023-10-13	12:41:21	1223	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:21	1223	[DEBUG]	Processing product tax
2023-10-13	12:41:21	1223	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:21	1223	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:21	1223	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:21	1223	[DEBUG]	Query for Product
2023-10-13	12:41:21	1223	[DEBUG]	Executed store
2023-10-13	12:41:21	1223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860714','1000000180701','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:21	1223	[DEBUG]	No parent found
2023-10-13	12:41:21	1223	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860714 AND customfield_value = 'stockable'
2023-10-13	12:41:21	1223	[DEBUG]	Check product language entry
2023-10-13	12:41:21	1223	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860715
2023-10-13	12:41:21	1223	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:21	1223	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000180701' AND `virtuemart_product_id` != 1860715
2023-10-13	12:41:21	1223	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:21	1223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860715, '1000000180701')
2023-10-13	12:41:21	1223	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:21	1223	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'michelin-chambre-a-air-12-1-2x1-75---2-45-mitas-90-90-noir-unitaire' AND `virtuemart_product_id` != 1860715
2023-10-13	12:41:21	1223	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:41:21	1223	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'michelin-chambre-a-air-12-1-2x1-75---2-45-mitas-90-90-noir-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'michelin-chambre-a-air-12-1-2x1-75---2-45-mitas-90-90-noir-unitaire' OR `slug` LIKE 'michelin-chambre-a-air-12-1-2x1-75---2-45-mitas-90-90-noir-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1860715 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:41:21	1223	[DEBUG]	Query for ProductLang
2023-10-13	12:41:21	1223	[DEBUG]	Executed store
2023-10-13	12:41:21	1223	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Michelin Chambre-à-air 12, 1/2X1.75 - 2.45 Mitas 90/90  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='michelin-chambre-a-air-12-1-2x1-75---2-45-mitas-90-90-noir-unitaire-1' WHERE `virtuemart_product_id` = '1860715'
2023-10-13	12:41:21	1223	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38069_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90_.jpg
2023-10-13	12:41:21	1223	[DEBUG]	Identity string: ffd8ffe1185d4578696600004d4d002a00000008
2023-10-13	12:41:21	1223	[DEBUG]	Process image file
2023-10-13	12:41:21	1223	[DEBUG]	Identity string: ffd8ffe1185d4578696600004d4d002a00000008
2023-10-13	12:41:21	1223	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:21	1223	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38069_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90_.jpg
2023-10-13	12:41:21	1223	[DEBUG]	Full name target: bcprisme/38069_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90_.jpg
2023-10-13	12:41:22	1223	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:22	1223	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38069_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90_.jpg'
2023-10-13	12:41:22	1223	[DEBUG]	Query for Media
2023-10-13	12:41:22	1223	[DEBUG]	Executed store
2023-10-13	12:41:22	1223	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38069_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90_.jpg',`file_url_thumb`='bcprisme/38069_chambre-à-air_12,_1-2x1_75_-_2_45_mitas_90-90_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1253964'
2023-10-13	12:41:22	1223	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:22	1223	[DEBUG]	Executed store
2023-10-13	12:41:22	1223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860715','1253964','1')
2023-10-13	12:41:22	1223	[DEBUG]	Store product image relation
2023-10-13	12:41:22	1223	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:22	1223	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860715 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:22	1223	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:22	1223	[DEBUG]	Executed store
2023-10-13	12:41:22	1223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860715','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:22	1223	[DEBUG]	Checking manufacturer
2023-10-13	12:41:22	1223	[DEBUG]	Load a row
2023-10-13	12:41:22	1223	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:22	1223	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	12:41:22	1223	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:22	1223	[DEBUG]	Executed store
2023-10-13	12:41:22	1223	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331859464270' WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	12:41:22	1223	[DEBUG]	Manufacturer exists
2023-10-13	12:41:22	1223	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 134
2023-10-13	12:41:22	1223	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:22	1223	[DEBUG]	Executed store
2023-10-13	12:41:22	1223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860715','134')
2023-10-13	12:41:22	1223	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:22	1223	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:22	1223	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860715 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:22	1223	[DEBUG]	Store custom available field
2023-10-13	12:41:22	1223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860715,3,'',1)
2023-10-13	12:41:22	1223	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:22	1223	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:22	1223	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860715 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:22	1223	[DEBUG]	Store custom available field
2023-10-13	12:41:22	1223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860715,6,'Unitaire',3)
2023-10-13	12:41:22	1223	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:22	1223	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:22	1223	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860714
2023-10-13	12:41:22	1223	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:22	1223	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860714\":[1860714,8,1,\"choisir la taille\"],\"1860715\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860714
2023-10-13	12:41:22	1223	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:22	1223	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860715
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:22	1224	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field taille
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:22	1224	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:22	1224	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:22	1224	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:22	1224	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:22	1224	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:22	1224	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:22	1224	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field published
2023-10-13	12:41:22	1224	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:22	1224	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field override
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:22	1224	[DEBUG]	Use field value for field slug
2023-10-13	12:41:22	1224	[DEBUG]	Process line 1224
2023-10-13	12:41:22	1224	[DEBUG]	Load a row
2023-10-13	12:41:22	1224	[DEBUG]	Processing item: A_5179_3
2023-10-13	12:41:22	1224	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:22	1224	[DEBUG]	Processing product tax
2023-10-13	12:41:22	1224	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:22	1224	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:22	1224	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:22	1224	[DEBUG]	Query for Product
2023-10-13	12:41:22	1224	[DEBUG]	Executed store
2023-10-13	12:41:22	1224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5179_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:22	1224	[DEBUG]	Check product language entry
2023-10-13	12:41:22	1224	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860716
2023-10-13	12:41:22	1224	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:22	1224	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5179_3' AND `virtuemart_product_id` != 1860716
2023-10-13	12:41:22	1224	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:22	1224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860716, 'A_5179_3')
2023-10-13	12:41:22	1224	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:22	1224	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-16-18-av4-none' AND `virtuemart_product_id` != 1860716
2023-10-13	12:41:22	1224	[DEBUG]	Query for ProductLang
2023-10-13	12:41:22	1224	[DEBUG]	Executed store
2023-10-13	12:41:22	1224	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.010',`product_name`='SCHWALBE Chambre-à-air 16-18 AV4 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-16-18-av4-none' WHERE `virtuemart_product_id` = '1860716'
2023-10-13	12:41:22	1224	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29644_chambres-a-air_schwalbe_16__av4.jpg
2023-10-13	12:41:22	1224	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:22	1224	[DEBUG]	Process image file
2023-10-13	12:41:22	1224	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:22	1224	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:22	1224	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29644_chambres-a-air_schwalbe_16__av4.jpg
2023-10-13	12:41:22	1224	[DEBUG]	Full name target: bcprisme/29644_chambres-a-air_schwalbe_16__av4.jpg
2023-10-13	12:41:24	1224	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:24	1224	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29644_chambres-a-air_schwalbe_16__av4.jpg'
2023-10-13	12:41:24	1224	[DEBUG]	Query for Media
2023-10-13	12:41:24	1224	[DEBUG]	Executed store
2023-10-13	12:41:24	1224	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29644_chambres-a-air_schwalbe_16__av4.jpg',`file_url_thumb`='bcprisme/29644_chambres-a-air_schwalbe_16__av4.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12597'
2023-10-13	12:41:24	1224	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:24	1224	[DEBUG]	Executed store
2023-10-13	12:41:24	1224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860716','12597','1')
2023-10-13	12:41:24	1224	[DEBUG]	Store product image relation
2023-10-13	12:41:24	1224	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:24	1224	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860716 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:24	1224	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:24	1224	[DEBUG]	Executed store
2023-10-13	12:41:24	1224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860716','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:24	1224	[DEBUG]	Checking manufacturer
2023-10-13	12:41:24	1224	[DEBUG]	Load a row
2023-10-13	12:41:24	1224	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:24	1224	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:24	1224	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:24	1224	[DEBUG]	Executed store
2023-10-13	12:41:24	1224	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:24	1224	[DEBUG]	Manufacturer exists
2023-10-13	12:41:24	1224	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:41:24	1224	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:24	1224	[DEBUG]	Executed store
2023-10-13	12:41:24	1224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860716','25')
2023-10-13	12:41:24	1224	[DEBUG]	Find the custom field ID
2023-10-13	12:41:24	1224	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:24	1224	[DEBUG]	No custom field ID found
2023-10-13	12:41:24	1224	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:24	1224	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:24	1224	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860716 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:24	1224	[DEBUG]	Store custom available field
2023-10-13	12:41:24	1224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860716,3,'0',1)
2023-10-13	12:41:24	1224	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:24	1224	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:24	1224	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860716 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:24	1224	[DEBUG]	Store custom available field
2023-10-13	12:41:24	1224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860716,6,'choisir la taille',3)
2023-10-13	12:41:24	1224	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:24	1224	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:24	1224	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:24	1224	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:24	1224	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860716 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:24	1224	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:24	1224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860716,8,1)
2023-10-13	12:41:24	1224	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:24	1224	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860716\":[1860716,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860716
2023-10-13	12:41:24	1224	[DEBUG]	Checking category
2023-10-13	12:41:24	1224	[DEBUG]	Check if category path exists: CHAMBRES-A-AIR 16/ SCHLAÜCHE 16
2023-10-13	12:41:24	1224	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIR 16/ SCHLAÜCHE 16' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7291
2023-10-13	12:41:24	1224	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:24	1224	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860716
2023-10-13	12:41:24	1224	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:24	1224	[DEBUG]	Executed store
2023-10-13	12:41:24	1224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860716','7293')
2023-10-13	12:41:24	1224	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:24	1224	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860716 AND `virtuemart_category_id` NOT IN (7293)
2023-10-13	12:41:24	1224	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:24	1224	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860716
2023-10-13	12:41:24	1225	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:24	1225	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:24	1225	[DEBUG]	Use field value for field taille
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:24	1225	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:24	1225	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:24	1225	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:24	1225	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:24	1225	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:24	1225	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:24	1225	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:24	1225	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:24	1225	[DEBUG]	Use field value for field published
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:24	1225	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field override
2023-10-13	12:41:24	1225	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:24	1225	[DEBUG]	Use field value for field slug
2023-10-13	12:41:24	1225	[DEBUG]	Process line 1225
2023-10-13	12:41:24	1225	[DEBUG]	Load a row
2023-10-13	12:41:24	1225	[DEBUG]	Processing item: 4026495100007
2023-10-13	12:41:24	1225	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:24	1225	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:24	1225	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5179_3'
2023-10-13	12:41:24	1225	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:24	1225	[DEBUG]	Processing product tax
2023-10-13	12:41:24	1225	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:24	1225	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:24	1225	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:24	1225	[DEBUG]	Query for Product
2023-10-13	12:41:24	1225	[DEBUG]	Executed store
2023-10-13	12:41:24	1225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860716','4026495100007','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:24	1225	[DEBUG]	No parent found
2023-10-13	12:41:24	1225	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860716 AND customfield_value = 'stockable'
2023-10-13	12:41:24	1225	[DEBUG]	Check product language entry
2023-10-13	12:41:24	1225	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860717
2023-10-13	12:41:24	1225	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:24	1225	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495100007' AND `virtuemart_product_id` != 1860717
2023-10-13	12:41:24	1225	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:24	1225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860717, '4026495100007')
2023-10-13	12:41:24	1225	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:24	1225	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-16-18-av4-none-unitaire' AND `virtuemart_product_id` != 1860717
2023-10-13	12:41:24	1225	[DEBUG]	Query for ProductLang
2023-10-13	12:41:24	1225	[DEBUG]	Executed store
2023-10-13	12:41:24	1225	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 16-18 AV4 / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-16-18-av4-none-unitaire' WHERE `virtuemart_product_id` = '1860717'
2023-10-13	12:41:24	1225	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29644_chambres-a-air_schwalbe_16__av4.jpg
2023-10-13	12:41:24	1225	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:24	1225	[DEBUG]	Process image file
2023-10-13	12:41:24	1225	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:24	1225	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:24	1225	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29644_chambres-a-air_schwalbe_16__av4.jpg
2023-10-13	12:41:24	1225	[DEBUG]	Full name target: bcprisme/29644_chambres-a-air_schwalbe_16__av4.jpg
2023-10-13	12:41:27	1225	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:27	1225	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29644_chambres-a-air_schwalbe_16__av4.jpg'
2023-10-13	12:41:27	1225	[DEBUG]	Query for Media
2023-10-13	12:41:27	1225	[DEBUG]	Executed store
2023-10-13	12:41:27	1225	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29644_chambres-a-air_schwalbe_16__av4.jpg',`file_url_thumb`='bcprisme/29644_chambres-a-air_schwalbe_16__av4.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12597'
2023-10-13	12:41:27	1225	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:27	1225	[DEBUG]	Executed store
2023-10-13	12:41:27	1225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860717','12597','1')
2023-10-13	12:41:27	1225	[DEBUG]	Store product image relation
2023-10-13	12:41:27	1225	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:27	1225	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860717 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:27	1225	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:27	1225	[DEBUG]	Executed store
2023-10-13	12:41:27	1225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860717','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:27	1225	[DEBUG]	Checking manufacturer
2023-10-13	12:41:27	1225	[DEBUG]	Load a row
2023-10-13	12:41:27	1225	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:27	1225	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:27	1225	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:27	1225	[DEBUG]	Executed store
2023-10-13	12:41:27	1225	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:27	1225	[DEBUG]	Manufacturer exists
2023-10-13	12:41:27	1225	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:41:27	1225	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:27	1225	[DEBUG]	Executed store
2023-10-13	12:41:27	1225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860717','25')
2023-10-13	12:41:27	1225	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:27	1225	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:27	1225	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860717 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:27	1225	[DEBUG]	Store custom available field
2023-10-13	12:41:27	1225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860717,3,'',1)
2023-10-13	12:41:27	1225	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:27	1225	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:27	1225	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860717 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:27	1225	[DEBUG]	Store custom available field
2023-10-13	12:41:27	1225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860717,6,'Unitaire',3)
2023-10-13	12:41:27	1225	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:27	1225	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:27	1225	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860716
2023-10-13	12:41:27	1225	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:27	1225	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860716\":[1860716,8,1,\"choisir la taille\"],\"1860717\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860716
2023-10-13	12:41:27	1225	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:27	1225	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860717
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:27	1226	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field taille
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:27	1226	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:27	1226	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:27	1226	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:27	1226	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:27	1226	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:27	1226	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field published
2023-10-13	12:41:27	1226	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:27	1226	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field override
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:27	1226	[DEBUG]	Use field value for field slug
2023-10-13	12:41:27	1226	[DEBUG]	Process line 1226
2023-10-13	12:41:27	1226	[DEBUG]	Load a row
2023-10-13	12:41:27	1226	[DEBUG]	Processing item: A_5180_1
2023-10-13	12:41:27	1226	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:27	1226	[DEBUG]	Processing product tax
2023-10-13	12:41:27	1226	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:27	1226	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:27	1226	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:27	1226	[DEBUG]	Query for Product
2023-10-13	12:41:27	1226	[DEBUG]	Executed store
2023-10-13	12:41:27	1226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5180_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:27	1226	[DEBUG]	Check product language entry
2023-10-13	12:41:27	1226	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860718
2023-10-13	12:41:27	1226	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:27	1226	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5180_1' AND `virtuemart_product_id` != 1860718
2023-10-13	12:41:27	1226	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:27	1226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860718, 'A_5180_1')
2023-10-13	12:41:27	1226	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:27	1226	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-16-18-sv3-noir' AND `virtuemart_product_id` != 1860718
2023-10-13	12:41:27	1226	[DEBUG]	Query for ProductLang
2023-10-13	12:41:27	1226	[DEBUG]	Executed store
2023-10-13	12:41:27	1226	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.072',`product_name`='SCHWALBE Chambre-à-air 16-18  SV3 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-16-18-sv3-noir' WHERE `virtuemart_product_id` = '1860718'
2023-10-13	12:41:27	1226	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34060_chambre-à-air_16-18__sv3.jpg
2023-10-13	12:41:27	1226	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:27	1226	[DEBUG]	Process image file
2023-10-13	12:41:27	1226	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:27	1226	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:27	1226	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34060_chambre-à-air_16-18__sv3.jpg
2023-10-13	12:41:27	1226	[DEBUG]	Full name target: bcprisme/34060_chambre-à-air_16-18__sv3.jpg
2023-10-13	12:41:29	1226	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:29	1226	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34060_chambre-à-air_16-18__sv3.jpg'
2023-10-13	12:41:29	1226	[DEBUG]	Query for Media
2023-10-13	12:41:29	1226	[DEBUG]	Executed store
2023-10-13	12:41:29	1226	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34060_chambre-à-air_16-18__sv3.jpg',`file_url_thumb`='bcprisme/34060_chambre-à-air_16-18__sv3.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '157639'
2023-10-13	12:41:29	1226	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:29	1226	[DEBUG]	Executed store
2023-10-13	12:41:29	1226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860718','157639','1')
2023-10-13	12:41:29	1226	[DEBUG]	Store product image relation
2023-10-13	12:41:29	1226	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:29	1226	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860718 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:29	1226	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:29	1226	[DEBUG]	Executed store
2023-10-13	12:41:29	1226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860718','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:29	1226	[DEBUG]	Checking manufacturer
2023-10-13	12:41:29	1226	[DEBUG]	Load a row
2023-10-13	12:41:29	1226	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:29	1226	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:29	1226	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:29	1226	[DEBUG]	Executed store
2023-10-13	12:41:29	1226	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:29	1226	[DEBUG]	Manufacturer exists
2023-10-13	12:41:29	1226	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:41:29	1226	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:29	1226	[DEBUG]	Executed store
2023-10-13	12:41:29	1226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860718','25')
2023-10-13	12:41:29	1226	[DEBUG]	Find the custom field ID
2023-10-13	12:41:29	1226	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:29	1226	[DEBUG]	No custom field ID found
2023-10-13	12:41:29	1226	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:29	1226	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:29	1226	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860718 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:29	1226	[DEBUG]	Store custom available field
2023-10-13	12:41:29	1226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860718,3,'0',1)
2023-10-13	12:41:29	1226	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:29	1226	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:29	1226	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860718 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:29	1226	[DEBUG]	Store custom available field
2023-10-13	12:41:29	1226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860718,6,'choisir la taille',3)
2023-10-13	12:41:29	1226	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:29	1226	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:29	1226	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:29	1226	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:29	1226	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860718 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:29	1226	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:29	1226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860718,8,1)
2023-10-13	12:41:29	1226	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:29	1226	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860718\":[1860718,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860718
2023-10-13	12:41:29	1226	[DEBUG]	Checking category
2023-10-13	12:41:29	1226	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:29	1226	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860718
2023-10-13	12:41:29	1226	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:29	1226	[DEBUG]	Executed store
2023-10-13	12:41:29	1226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860718','7293')
2023-10-13	12:41:29	1226	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:29	1226	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860718 AND `virtuemart_category_id` NOT IN (7293)
2023-10-13	12:41:29	1226	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:29	1226	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860718
2023-10-13	12:41:29	1227	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:29	1227	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:29	1227	[DEBUG]	Use field value for field taille
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:29	1227	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:29	1227	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:29	1227	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:29	1227	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:29	1227	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:29	1227	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:29	1227	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:29	1227	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:29	1227	[DEBUG]	Use field value for field published
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:29	1227	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field override
2023-10-13	12:41:29	1227	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:29	1227	[DEBUG]	Use field value for field slug
2023-10-13	12:41:29	1227	[DEBUG]	Process line 1227
2023-10-13	12:41:29	1227	[DEBUG]	Load a row
2023-10-13	12:41:29	1227	[DEBUG]	Processing item: 1000000114478
2023-10-13	12:41:29	1227	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:29	1227	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:29	1227	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5180_1'
2023-10-13	12:41:29	1227	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:29	1227	[DEBUG]	Processing product tax
2023-10-13	12:41:29	1227	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:29	1227	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:29	1227	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:29	1227	[DEBUG]	Query for Product
2023-10-13	12:41:29	1227	[DEBUG]	Executed store
2023-10-13	12:41:29	1227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860718','1000000114478','0','KG','M','','12','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:29	1227	[DEBUG]	No parent found
2023-10-13	12:41:29	1227	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860718 AND customfield_value = 'stockable'
2023-10-13	12:41:29	1227	[DEBUG]	Check product language entry
2023-10-13	12:41:29	1227	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860719
2023-10-13	12:41:29	1227	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:29	1227	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114478' AND `virtuemart_product_id` != 1860719
2023-10-13	12:41:29	1227	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:29	1227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860719, '1000000114478')
2023-10-13	12:41:29	1227	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:29	1227	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-16-18-sv3-noir-unitaire' AND `virtuemart_product_id` != 1860719
2023-10-13	12:41:29	1227	[DEBUG]	Query for ProductLang
2023-10-13	12:41:29	1227	[DEBUG]	Executed store
2023-10-13	12:41:29	1227	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 16-18  SV3 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-16-18-sv3-noir-unitaire' WHERE `virtuemart_product_id` = '1860719'
2023-10-13	12:41:29	1227	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34060_chambre-à-air_16-18__sv3.jpg
2023-10-13	12:41:29	1227	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:29	1227	[DEBUG]	Process image file
2023-10-13	12:41:29	1227	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:29	1227	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:29	1227	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34060_chambre-à-air_16-18__sv3.jpg
2023-10-13	12:41:29	1227	[DEBUG]	Full name target: bcprisme/34060_chambre-à-air_16-18__sv3.jpg
2023-10-13	12:41:30	1227	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:30	1227	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34060_chambre-à-air_16-18__sv3.jpg'
2023-10-13	12:41:30	1227	[DEBUG]	Query for Media
2023-10-13	12:41:30	1227	[DEBUG]	Executed store
2023-10-13	12:41:30	1227	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34060_chambre-à-air_16-18__sv3.jpg',`file_url_thumb`='bcprisme/34060_chambre-à-air_16-18__sv3.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '157639'
2023-10-13	12:41:30	1227	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:30	1227	[DEBUG]	Executed store
2023-10-13	12:41:30	1227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860719','157639','1')
2023-10-13	12:41:30	1227	[DEBUG]	Store product image relation
2023-10-13	12:41:30	1227	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:30	1227	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860719 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:30	1227	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:30	1227	[DEBUG]	Executed store
2023-10-13	12:41:30	1227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860719','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:30	1227	[DEBUG]	Checking manufacturer
2023-10-13	12:41:30	1227	[DEBUG]	Load a row
2023-10-13	12:41:30	1227	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:30	1227	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:30	1227	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:30	1227	[DEBUG]	Executed store
2023-10-13	12:41:30	1227	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:30	1227	[DEBUG]	Manufacturer exists
2023-10-13	12:41:30	1227	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:41:30	1227	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:30	1227	[DEBUG]	Executed store
2023-10-13	12:41:30	1227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860719','25')
2023-10-13	12:41:30	1227	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:30	1227	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:30	1227	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860719 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:30	1227	[DEBUG]	Store custom available field
2023-10-13	12:41:30	1227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860719,3,'',1)
2023-10-13	12:41:30	1227	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:30	1227	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:30	1227	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860719 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:30	1227	[DEBUG]	Store custom available field
2023-10-13	12:41:30	1227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860719,6,'Unitaire',3)
2023-10-13	12:41:30	1227	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:30	1227	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:30	1227	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860718
2023-10-13	12:41:30	1227	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:30	1227	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860718\":[1860718,8,1,\"choisir la taille\"],\"1860719\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860718
2023-10-13	12:41:30	1227	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:30	1227	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860719
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:30	1228	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field taille
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:30	1228	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:30	1228	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:30	1228	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:30	1228	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:30	1228	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:30	1228	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:30	1228	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field published
2023-10-13	12:41:30	1228	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:30	1228	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field override
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:30	1228	[DEBUG]	Use field value for field slug
2023-10-13	12:41:30	1228	[DEBUG]	Process line 1228
2023-10-13	12:41:30	1228	[DEBUG]	Load a row
2023-10-13	12:41:30	1228	[DEBUG]	Processing item: A_5587_1
2023-10-13	12:41:30	1228	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:30	1228	[DEBUG]	Processing product tax
2023-10-13	12:41:30	1228	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:30	1228	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:30	1228	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:30	1228	[DEBUG]	Query for Product
2023-10-13	12:41:30	1228	[DEBUG]	Executed store
2023-10-13	12:41:30	1228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5587_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:30	1228	[DEBUG]	Check product language entry
2023-10-13	12:41:30	1228	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860720
2023-10-13	12:41:30	1228	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:30	1228	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5587_1' AND `virtuemart_product_id` != 1860720
2023-10-13	12:41:30	1228	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:30	1228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860720, 'A_5587_1')
2023-10-13	12:41:30	1228	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:30	1228	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv7a-20-37-438-37-451-noir' AND `virtuemart_product_id` != 1860720
2023-10-13	12:41:30	1228	[DEBUG]	Query for ProductLang
2023-10-13	12:41:30	1228	[DEBUG]	Executed store
2023-10-13	12:41:30	1228	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.092',`product_name`='SCHWALBE Chambre-à-air SV7A 20 37-438  37-451 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv7a-20-37-438-37-451-noir' WHERE `virtuemart_product_id` = '1860720'
2023-10-13	12:41:30	1228	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30087_chambres-a-air_schwalbe_sv7a_20___presta_37-438__37-451.jpg
2023-10-13	12:41:30	1228	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:30	1228	[DEBUG]	Process image file
2023-10-13	12:41:30	1228	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:30	1228	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:30	1228	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30087_chambres-a-air_schwalbe_sv7a_20___presta_37-438__37-451.jpg
2023-10-13	12:41:30	1228	[DEBUG]	Full name target: bcprisme/30087_chambres-a-air_schwalbe_sv7a_20___presta_37-438__37-451.jpg
2023-10-13	12:41:31	1228	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:31	1228	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30087_chambres-a-air_schwalbe_sv7a_20___presta_37-438__37-451.jpg'
2023-10-13	12:41:31	1228	[DEBUG]	Query for Media
2023-10-13	12:41:31	1228	[DEBUG]	Executed store
2023-10-13	12:41:31	1228	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30087_chambres-a-air_schwalbe_sv7a_20___presta_37-438__37-451.jpg',`file_url_thumb`='bcprisme/30087_chambres-a-air_schwalbe_sv7a_20___presta_37-438__37-451.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12598'
2023-10-13	12:41:31	1228	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:31	1228	[DEBUG]	Executed store
2023-10-13	12:41:31	1228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860720','12598','1')
2023-10-13	12:41:31	1228	[DEBUG]	Store product image relation
2023-10-13	12:41:31	1228	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:31	1228	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860720 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:31	1228	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:31	1228	[DEBUG]	Executed store
2023-10-13	12:41:31	1228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860720','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:31	1228	[DEBUG]	Checking manufacturer
2023-10-13	12:41:31	1228	[DEBUG]	Load a row
2023-10-13	12:41:31	1228	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:31	1228	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:31	1228	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:31	1228	[DEBUG]	Executed store
2023-10-13	12:41:31	1228	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:31	1228	[DEBUG]	Manufacturer exists
2023-10-13	12:41:31	1228	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:41:31	1228	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:31	1228	[DEBUG]	Executed store
2023-10-13	12:41:31	1228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860720','25')
2023-10-13	12:41:31	1228	[DEBUG]	Find the custom field ID
2023-10-13	12:41:31	1228	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:31	1228	[DEBUG]	No custom field ID found
2023-10-13	12:41:31	1228	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:31	1228	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:31	1228	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860720 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:31	1228	[DEBUG]	Store custom available field
2023-10-13	12:41:31	1228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860720,3,'0',1)
2023-10-13	12:41:31	1228	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:31	1228	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:31	1228	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860720 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:31	1228	[DEBUG]	Store custom available field
2023-10-13	12:41:31	1228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860720,6,'choisir la taille',3)
2023-10-13	12:41:31	1228	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:31	1228	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:31	1228	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:31	1228	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:31	1228	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860720 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:31	1228	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:31	1228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860720,8,1)
2023-10-13	12:41:31	1228	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:31	1228	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860720\":[1860720,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860720
2023-10-13	12:41:31	1228	[DEBUG]	Checking category
2023-10-13	12:41:31	1228	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:31	1228	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860720
2023-10-13	12:41:31	1228	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:31	1228	[DEBUG]	Executed store
2023-10-13	12:41:31	1228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860720','7293')
2023-10-13	12:41:31	1228	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:31	1228	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860720 AND `virtuemart_category_id` NOT IN (7293)
2023-10-13	12:41:31	1228	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:31	1228	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860720
2023-10-13	12:41:31	1229	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:31	1229	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:31	1229	[DEBUG]	Use field value for field taille
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:31	1229	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:31	1229	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:31	1229	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:31	1229	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:31	1229	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:31	1229	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:31	1229	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:31	1229	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:31	1229	[DEBUG]	Use field value for field published
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:31	1229	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field override
2023-10-13	12:41:31	1229	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:31	1229	[DEBUG]	Use field value for field slug
2023-10-13	12:41:31	1229	[DEBUG]	Process line 1229
2023-10-13	12:41:31	1229	[DEBUG]	Load a row
2023-10-13	12:41:31	1229	[DEBUG]	Processing item: 4026495100281
2023-10-13	12:41:31	1229	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:31	1229	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:31	1229	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5587_1'
2023-10-13	12:41:31	1229	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:31	1229	[DEBUG]	Processing product tax
2023-10-13	12:41:31	1229	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:31	1229	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:31	1229	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:31	1229	[DEBUG]	Query for Product
2023-10-13	12:41:31	1229	[DEBUG]	Executed store
2023-10-13	12:41:31	1229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860720','4026495100281','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:31	1229	[DEBUG]	No parent found
2023-10-13	12:41:31	1229	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860720 AND customfield_value = 'stockable'
2023-10-13	12:41:31	1229	[DEBUG]	Check product language entry
2023-10-13	12:41:31	1229	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860721
2023-10-13	12:41:31	1229	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:31	1229	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495100281' AND `virtuemart_product_id` != 1860721
2023-10-13	12:41:31	1229	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:31	1229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860721, '4026495100281')
2023-10-13	12:41:31	1229	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:31	1229	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv7a-20-37-438-37-451-noir-unitaire' AND `virtuemart_product_id` != 1860721
2023-10-13	12:41:31	1229	[DEBUG]	Query for ProductLang
2023-10-13	12:41:31	1229	[DEBUG]	Executed store
2023-10-13	12:41:31	1229	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air SV7A 20 37-438  37-451 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv7a-20-37-438-37-451-noir-unitaire' WHERE `virtuemart_product_id` = '1860721'
2023-10-13	12:41:31	1229	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30087_chambres-a-air_schwalbe_sv7a_20___presta_37-438__37-451.jpg
2023-10-13	12:41:31	1229	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:31	1229	[DEBUG]	Process image file
2023-10-13	12:41:31	1229	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:31	1229	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:31	1229	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30087_chambres-a-air_schwalbe_sv7a_20___presta_37-438__37-451.jpg
2023-10-13	12:41:31	1229	[DEBUG]	Full name target: bcprisme/30087_chambres-a-air_schwalbe_sv7a_20___presta_37-438__37-451.jpg
2023-10-13	12:41:32	1229	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:32	1229	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30087_chambres-a-air_schwalbe_sv7a_20___presta_37-438__37-451.jpg'
2023-10-13	12:41:32	1229	[DEBUG]	Query for Media
2023-10-13	12:41:32	1229	[DEBUG]	Executed store
2023-10-13	12:41:32	1229	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30087_chambres-a-air_schwalbe_sv7a_20___presta_37-438__37-451.jpg',`file_url_thumb`='bcprisme/30087_chambres-a-air_schwalbe_sv7a_20___presta_37-438__37-451.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12598'
2023-10-13	12:41:32	1229	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:32	1229	[DEBUG]	Executed store
2023-10-13	12:41:32	1229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860721','12598','1')
2023-10-13	12:41:32	1229	[DEBUG]	Store product image relation
2023-10-13	12:41:32	1229	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:32	1229	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860721 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:32	1229	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:32	1229	[DEBUG]	Executed store
2023-10-13	12:41:32	1229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860721','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:32	1229	[DEBUG]	Checking manufacturer
2023-10-13	12:41:32	1229	[DEBUG]	Load a row
2023-10-13	12:41:32	1229	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:32	1229	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:32	1229	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:32	1229	[DEBUG]	Executed store
2023-10-13	12:41:32	1229	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:32	1229	[DEBUG]	Manufacturer exists
2023-10-13	12:41:32	1229	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:41:32	1229	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:32	1229	[DEBUG]	Executed store
2023-10-13	12:41:32	1229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860721','25')
2023-10-13	12:41:32	1229	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:32	1229	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:32	1229	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860721 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:32	1229	[DEBUG]	Store custom available field
2023-10-13	12:41:32	1229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860721,3,'',1)
2023-10-13	12:41:32	1229	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:32	1229	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:32	1229	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860721 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:32	1229	[DEBUG]	Store custom available field
2023-10-13	12:41:32	1229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860721,6,'Unitaire',3)
2023-10-13	12:41:32	1229	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:32	1229	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:32	1229	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860720
2023-10-13	12:41:32	1229	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:32	1229	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860720\":[1860720,8,1,\"choisir la taille\"],\"1860721\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860720
2023-10-13	12:41:32	1229	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:32	1229	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860721
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:32	1230	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field taille
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:32	1230	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:32	1230	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:32	1230	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:32	1230	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:32	1230	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:32	1230	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field published
2023-10-13	12:41:32	1230	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:32	1230	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field override
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:32	1230	[DEBUG]	Use field value for field slug
2023-10-13	12:41:32	1230	[DEBUG]	Process line 1230
2023-10-13	12:41:32	1230	[DEBUG]	Load a row
2023-10-13	12:41:32	1230	[DEBUG]	Processing item: A_6394_1
2023-10-13	12:41:32	1230	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:32	1230	[DEBUG]	Processing product tax
2023-10-13	12:41:32	1230	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:32	1230	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:32	1230	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:32	1230	[DEBUG]	Query for Product
2023-10-13	12:41:32	1230	[DEBUG]	Executed store
2023-10-13	12:41:32	1230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6394_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:32	1230	[DEBUG]	Check product language entry
2023-10-13	12:41:32	1230	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860722
2023-10-13	12:41:32	1230	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:32	1230	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6394_1' AND `virtuemart_product_id` != 1860722
2023-10-13	12:41:32	1230	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:32	1230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860722, 'A_6394_1')
2023-10-13	12:41:32	1230	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:32	1230	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-18-sv5-noir' AND `virtuemart_product_id` != 1860722
2023-10-13	12:41:32	1230	[DEBUG]	Query for ProductLang
2023-10-13	12:41:32	1230	[DEBUG]	Executed store
2023-10-13	12:41:32	1230	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.096',`product_name`='SCHWALBE Chambre-à-air 18 SV5 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-18-sv5-noir' WHERE `virtuemart_product_id` = '1860722'
2023-10-13	12:41:32	1230	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32279_chambres-a-air_schwalbe_18__sv5.jpg
2023-10-13	12:41:32	1230	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:32	1230	[DEBUG]	Process image file
2023-10-13	12:41:32	1230	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:32	1230	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:32	1230	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32279_chambres-a-air_schwalbe_18__sv5.jpg
2023-10-13	12:41:32	1230	[DEBUG]	Full name target: bcprisme/32279_chambres-a-air_schwalbe_18__sv5.jpg
2023-10-13	12:41:33	1230	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:33	1230	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32279_chambres-a-air_schwalbe_18__sv5.jpg'
2023-10-13	12:41:33	1230	[DEBUG]	Query for Media
2023-10-13	12:41:33	1230	[DEBUG]	Executed store
2023-10-13	12:41:33	1230	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32279_chambres-a-air_schwalbe_18__sv5.jpg',`file_url_thumb`='bcprisme/32279_chambres-a-air_schwalbe_18__sv5.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15273'
2023-10-13	12:41:33	1230	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:33	1230	[DEBUG]	Executed store
2023-10-13	12:41:33	1230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860722','15273','1')
2023-10-13	12:41:33	1230	[DEBUG]	Store product image relation
2023-10-13	12:41:33	1230	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:33	1230	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860722 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:33	1230	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:33	1230	[DEBUG]	Executed store
2023-10-13	12:41:33	1230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860722','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:33	1230	[DEBUG]	Checking manufacturer
2023-10-13	12:41:33	1230	[DEBUG]	Load a row
2023-10-13	12:41:33	1230	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:33	1230	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:33	1230	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:33	1230	[DEBUG]	Executed store
2023-10-13	12:41:33	1230	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:33	1230	[DEBUG]	Manufacturer exists
2023-10-13	12:41:33	1230	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:41:33	1230	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:33	1230	[DEBUG]	Executed store
2023-10-13	12:41:33	1230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860722','25')
2023-10-13	12:41:33	1230	[DEBUG]	Find the custom field ID
2023-10-13	12:41:33	1230	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:33	1230	[DEBUG]	No custom field ID found
2023-10-13	12:41:33	1230	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:33	1230	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:33	1230	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860722 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:33	1230	[DEBUG]	Store custom available field
2023-10-13	12:41:33	1230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860722,3,'0',1)
2023-10-13	12:41:33	1230	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:33	1230	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:33	1230	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860722 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:33	1230	[DEBUG]	Store custom available field
2023-10-13	12:41:33	1230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860722,6,'choisir la taille',3)
2023-10-13	12:41:33	1230	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:33	1230	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:33	1230	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:33	1230	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:33	1230	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860722 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:33	1230	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:33	1230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860722,8,1)
2023-10-13	12:41:33	1230	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:33	1230	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860722\":[1860722,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860722
2023-10-13	12:41:33	1230	[DEBUG]	Checking category
2023-10-13	12:41:33	1230	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:33	1230	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860722
2023-10-13	12:41:33	1230	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:33	1230	[DEBUG]	Executed store
2023-10-13	12:41:33	1230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860722','7293')
2023-10-13	12:41:33	1230	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:33	1230	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860722 AND `virtuemart_category_id` NOT IN (7293)
2023-10-13	12:41:33	1230	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:33	1230	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860722
2023-10-13	12:41:33	1231	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:33	1231	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:33	1231	[DEBUG]	Use field value for field taille
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:33	1231	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:33	1231	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:33	1231	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:33	1231	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:33	1231	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:33	1231	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:33	1231	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:33	1231	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:33	1231	[DEBUG]	Use field value for field published
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:33	1231	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field override
2023-10-13	12:41:33	1231	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:33	1231	[DEBUG]	Use field value for field slug
2023-10-13	12:41:33	1231	[DEBUG]	Process line 1231
2023-10-13	12:41:33	1231	[DEBUG]	Load a row
2023-10-13	12:41:33	1231	[DEBUG]	Processing item: 1000000104851
2023-10-13	12:41:33	1231	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:33	1231	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:33	1231	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6394_1'
2023-10-13	12:41:33	1231	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:33	1231	[DEBUG]	Processing product tax
2023-10-13	12:41:33	1231	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:33	1231	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:33	1231	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:33	1231	[DEBUG]	Query for Product
2023-10-13	12:41:33	1231	[DEBUG]	Executed store
2023-10-13	12:41:33	1231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860722','1000000104851','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:33	1231	[DEBUG]	No parent found
2023-10-13	12:41:33	1231	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860722 AND customfield_value = 'stockable'
2023-10-13	12:41:33	1231	[DEBUG]	Check product language entry
2023-10-13	12:41:33	1231	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860723
2023-10-13	12:41:33	1231	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:33	1231	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000104851' AND `virtuemart_product_id` != 1860723
2023-10-13	12:41:33	1231	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:33	1231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860723, '1000000104851')
2023-10-13	12:41:33	1231	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:33	1231	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-18-sv5-noir-unitaire' AND `virtuemart_product_id` != 1860723
2023-10-13	12:41:33	1231	[DEBUG]	Query for ProductLang
2023-10-13	12:41:33	1231	[DEBUG]	Executed store
2023-10-13	12:41:33	1231	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 18 SV5 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-18-sv5-noir-unitaire' WHERE `virtuemart_product_id` = '1860723'
2023-10-13	12:41:33	1231	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32279_chambres-a-air_schwalbe_18__sv5.jpg
2023-10-13	12:41:33	1231	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:33	1231	[DEBUG]	Process image file
2023-10-13	12:41:33	1231	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:33	1231	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:33	1231	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32279_chambres-a-air_schwalbe_18__sv5.jpg
2023-10-13	12:41:33	1231	[DEBUG]	Full name target: bcprisme/32279_chambres-a-air_schwalbe_18__sv5.jpg
2023-10-13	12:41:34	1231	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:34	1231	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32279_chambres-a-air_schwalbe_18__sv5.jpg'
2023-10-13	12:41:34	1231	[DEBUG]	Query for Media
2023-10-13	12:41:34	1231	[DEBUG]	Executed store
2023-10-13	12:41:34	1231	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32279_chambres-a-air_schwalbe_18__sv5.jpg',`file_url_thumb`='bcprisme/32279_chambres-a-air_schwalbe_18__sv5.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15273'
2023-10-13	12:41:34	1231	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:34	1231	[DEBUG]	Executed store
2023-10-13	12:41:34	1231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860723','15273','1')
2023-10-13	12:41:34	1231	[DEBUG]	Store product image relation
2023-10-13	12:41:34	1231	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:34	1231	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860723 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:34	1231	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:34	1231	[DEBUG]	Executed store
2023-10-13	12:41:34	1231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860723','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:34	1231	[DEBUG]	Checking manufacturer
2023-10-13	12:41:34	1231	[DEBUG]	Load a row
2023-10-13	12:41:34	1231	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:34	1231	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:34	1231	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:34	1231	[DEBUG]	Executed store
2023-10-13	12:41:34	1231	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:34	1231	[DEBUG]	Manufacturer exists
2023-10-13	12:41:34	1231	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:41:34	1231	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:34	1231	[DEBUG]	Executed store
2023-10-13	12:41:34	1231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860723','25')
2023-10-13	12:41:34	1231	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:34	1231	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:34	1231	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860723 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:34	1231	[DEBUG]	Store custom available field
2023-10-13	12:41:34	1231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860723,3,'',1)
2023-10-13	12:41:34	1231	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:34	1231	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:34	1231	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860723 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:34	1231	[DEBUG]	Store custom available field
2023-10-13	12:41:34	1231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860723,6,'Unitaire',3)
2023-10-13	12:41:34	1231	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:34	1231	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:34	1231	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860722
2023-10-13	12:41:34	1231	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:34	1231	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860722\":[1860722,8,1,\"choisir la taille\"],\"1860723\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860722
2023-10-13	12:41:34	1231	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:34	1231	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860723
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:34	1232	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field taille
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:34	1232	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:34	1232	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:34	1232	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:34	1232	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:34	1232	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:34	1232	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field published
2023-10-13	12:41:34	1232	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:34	1232	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field override
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:34	1232	[DEBUG]	Use field value for field slug
2023-10-13	12:41:34	1232	[DEBUG]	Process line 1232
2023-10-13	12:41:34	1232	[DEBUG]	Load a row
2023-10-13	12:41:34	1232	[DEBUG]	Processing item: A_7003_1
2023-10-13	12:41:34	1232	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:34	1232	[DEBUG]	Processing product tax
2023-10-13	12:41:34	1232	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:34	1232	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:34	1232	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:34	1232	[DEBUG]	Query for Product
2023-10-13	12:41:34	1232	[DEBUG]	Executed store
2023-10-13	12:41:34	1232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7003_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:34	1232	[DEBUG]	Check product language entry
2023-10-13	12:41:34	1232	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860724
2023-10-13	12:41:34	1232	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:34	1232	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7003_1' AND `virtuemart_product_id` != 1860724
2023-10-13	12:41:34	1232	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:34	1232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860724, 'A_7003_1')
2023-10-13	12:41:34	1232	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:34	1232	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-chambre-a-air-16-sv4-deestone-noir' AND `virtuemart_product_id` != 1860724
2023-10-13	12:41:34	1232	[DEBUG]	Query for ProductLang
2023-10-13	12:41:34	1232	[DEBUG]	Executed store
2023-10-13	12:41:34	1232	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : DEESTONE16',`product_name`='MLV-Bike Chambre-à-air 16 SV4 DEESTONE / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-chambre-a-air-16-sv4-deestone-noir' WHERE `virtuemart_product_id` = '1860724'
2023-10-13	12:41:34	1232	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34141_chambre-à-air_16_sv4_deestone.jpg
2023-10-13	12:41:34	1232	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:34	1232	[DEBUG]	Process image file
2023-10-13	12:41:34	1232	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:34	1232	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:34	1232	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34141_chambre-à-air_16_sv4_deestone.jpg
2023-10-13	12:41:34	1232	[DEBUG]	Full name target: bcprisme/34141_chambre-à-air_16_sv4_deestone.jpg
2023-10-13	12:41:35	1232	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:35	1232	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34141_chambre-à-air_16_sv4_deestone.jpg'
2023-10-13	12:41:35	1232	[DEBUG]	Query for Media
2023-10-13	12:41:35	1232	[DEBUG]	Executed store
2023-10-13	12:41:35	1232	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34141_chambre-à-air_16_sv4_deestone.jpg',`file_url_thumb`='bcprisme/34141_chambre-à-air_16_sv4_deestone.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16552'
2023-10-13	12:41:35	1232	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:35	1232	[DEBUG]	Executed store
2023-10-13	12:41:35	1232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860724','16552','1')
2023-10-13	12:41:35	1232	[DEBUG]	Store product image relation
2023-10-13	12:41:35	1232	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:35	1232	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860724 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:35	1232	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:35	1232	[DEBUG]	Executed store
2023-10-13	12:41:35	1232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860724','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:35	1232	[DEBUG]	Checking manufacturer
2023-10-13	12:41:35	1232	[DEBUG]	Load a row
2023-10-13	12:41:35	1232	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:35	1232	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:41:35	1232	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:35	1232	[DEBUG]	Executed store
2023-10-13	12:41:35	1232	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:41:35	1232	[DEBUG]	Manufacturer exists
2023-10-13	12:41:35	1232	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:41:35	1232	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:35	1232	[DEBUG]	Executed store
2023-10-13	12:41:35	1232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860724','2')
2023-10-13	12:41:35	1232	[DEBUG]	Find the custom field ID
2023-10-13	12:41:35	1232	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:35	1232	[DEBUG]	No custom field ID found
2023-10-13	12:41:35	1232	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:35	1232	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:35	1232	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860724 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:35	1232	[DEBUG]	Store custom available field
2023-10-13	12:41:35	1232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860724,3,'0',1)
2023-10-13	12:41:35	1232	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:35	1232	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:35	1232	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860724 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:35	1232	[DEBUG]	Store custom available field
2023-10-13	12:41:35	1232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860724,6,'choisir la taille',3)
2023-10-13	12:41:35	1232	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:35	1232	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:35	1232	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:35	1232	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:35	1232	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860724 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:35	1232	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:35	1232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860724,8,1)
2023-10-13	12:41:35	1232	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:35	1232	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860724\":[1860724,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860724
2023-10-13	12:41:35	1232	[DEBUG]	Checking category
2023-10-13	12:41:35	1232	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:35	1232	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860724
2023-10-13	12:41:35	1232	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:35	1232	[DEBUG]	Executed store
2023-10-13	12:41:35	1232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860724','7293')
2023-10-13	12:41:35	1232	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:35	1232	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860724 AND `virtuemart_category_id` NOT IN (7293)
2023-10-13	12:41:35	1232	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:35	1232	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860724
2023-10-13	12:41:35	1233	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:35	1233	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:35	1233	[DEBUG]	Use field value for field taille
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:35	1233	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:35	1233	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:35	1233	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:35	1233	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:35	1233	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:35	1233	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:35	1233	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:35	1233	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:35	1233	[DEBUG]	Use field value for field published
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:35	1233	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field override
2023-10-13	12:41:35	1233	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:35	1233	[DEBUG]	Use field value for field slug
2023-10-13	12:41:35	1233	[DEBUG]	Process line 1233
2023-10-13	12:41:35	1233	[DEBUG]	Load a row
2023-10-13	12:41:35	1233	[DEBUG]	Processing item: 1000000005622
2023-10-13	12:41:35	1233	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:35	1233	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:35	1233	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7003_1'
2023-10-13	12:41:35	1233	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:35	1233	[DEBUG]	Processing product tax
2023-10-13	12:41:35	1233	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:35	1233	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:35	1233	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:35	1233	[DEBUG]	Query for Product
2023-10-13	12:41:35	1233	[DEBUG]	Executed store
2023-10-13	12:41:35	1233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860724','1000000005622','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:35	1233	[DEBUG]	No parent found
2023-10-13	12:41:35	1233	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860724 AND customfield_value = 'stockable'
2023-10-13	12:41:35	1233	[DEBUG]	Check product language entry
2023-10-13	12:41:35	1233	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860725
2023-10-13	12:41:35	1233	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:35	1233	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000005622' AND `virtuemart_product_id` != 1860725
2023-10-13	12:41:35	1233	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:35	1233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860725, '1000000005622')
2023-10-13	12:41:35	1233	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:35	1233	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-chambre-a-air-16-sv4-deestone-noir-unitaire' AND `virtuemart_product_id` != 1860725
2023-10-13	12:41:35	1233	[DEBUG]	Query for ProductLang
2023-10-13	12:41:35	1233	[DEBUG]	Executed store
2023-10-13	12:41:35	1233	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Chambre-à-air 16 SV4 DEESTONE / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-chambre-a-air-16-sv4-deestone-noir-unitaire' WHERE `virtuemart_product_id` = '1860725'
2023-10-13	12:41:35	1233	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34141_chambre-à-air_16_sv4_deestone.jpg
2023-10-13	12:41:35	1233	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:35	1233	[DEBUG]	Process image file
2023-10-13	12:41:35	1233	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:35	1233	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:35	1233	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34141_chambre-à-air_16_sv4_deestone.jpg
2023-10-13	12:41:35	1233	[DEBUG]	Full name target: bcprisme/34141_chambre-à-air_16_sv4_deestone.jpg
2023-10-13	12:41:36	1233	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:36	1233	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34141_chambre-à-air_16_sv4_deestone.jpg'
2023-10-13	12:41:36	1233	[DEBUG]	Query for Media
2023-10-13	12:41:36	1233	[DEBUG]	Executed store
2023-10-13	12:41:36	1233	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34141_chambre-à-air_16_sv4_deestone.jpg',`file_url_thumb`='bcprisme/34141_chambre-à-air_16_sv4_deestone.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16552'
2023-10-13	12:41:36	1233	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:36	1233	[DEBUG]	Executed store
2023-10-13	12:41:36	1233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860725','16552','1')
2023-10-13	12:41:36	1233	[DEBUG]	Store product image relation
2023-10-13	12:41:36	1233	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:36	1233	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860725 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:36	1233	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:36	1233	[DEBUG]	Executed store
2023-10-13	12:41:36	1233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860725','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:36	1233	[DEBUG]	Checking manufacturer
2023-10-13	12:41:36	1233	[DEBUG]	Load a row
2023-10-13	12:41:36	1233	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:36	1233	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:41:36	1233	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:36	1233	[DEBUG]	Executed store
2023-10-13	12:41:36	1233	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:41:36	1233	[DEBUG]	Manufacturer exists
2023-10-13	12:41:36	1233	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:41:36	1233	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:36	1233	[DEBUG]	Executed store
2023-10-13	12:41:36	1233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860725','2')
2023-10-13	12:41:36	1233	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:36	1233	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:36	1233	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860725 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:36	1233	[DEBUG]	Store custom available field
2023-10-13	12:41:36	1233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860725,3,'',1)
2023-10-13	12:41:36	1233	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:36	1233	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:36	1233	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860725 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:36	1233	[DEBUG]	Store custom available field
2023-10-13	12:41:36	1233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860725,6,'Unitaire',3)
2023-10-13	12:41:36	1233	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:36	1233	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:36	1233	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860724
2023-10-13	12:41:36	1233	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:36	1233	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860724\":[1860724,8,1,\"choisir la taille\"],\"1860725\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860724
2023-10-13	12:41:36	1233	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:36	1233	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860725
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:36	1234	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field taille
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:36	1234	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:36	1234	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:36	1234	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:36	1234	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:36	1234	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:36	1234	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field published
2023-10-13	12:41:36	1234	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:36	1234	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field override
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:36	1234	[DEBUG]	Use field value for field slug
2023-10-13	12:41:36	1234	[DEBUG]	Process line 1234
2023-10-13	12:41:36	1234	[DEBUG]	Load a row
2023-10-13	12:41:36	1234	[DEBUG]	Processing item: A_7147_1
2023-10-13	12:41:36	1234	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:36	1234	[DEBUG]	Processing product tax
2023-10-13	12:41:36	1234	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:36	1234	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:36	1234	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:36	1234	[DEBUG]	Query for Product
2023-10-13	12:41:36	1234	[DEBUG]	Executed store
2023-10-13	12:41:36	1234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7147_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:36	1234	[DEBUG]	Check product language entry
2023-10-13	12:41:36	1234	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860726
2023-10-13	12:41:36	1234	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:36	1234	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7147_1' AND `virtuemart_product_id` != 1860726
2023-10-13	12:41:36	1234	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:36	1234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860726, 'A_7147_1')
2023-10-13	12:41:36	1234	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:36	1234	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-16-sv4-noir' AND `virtuemart_product_id` != 1860726
2023-10-13	12:41:36	1234	[DEBUG]	Query for ProductLang
2023-10-13	12:41:36	1234	[DEBUG]	Executed store
2023-10-13	12:41:36	1234	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.093',`product_name`='SCHWALBE Chambre-à-air 16 SV4 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-16-sv4-noir' WHERE `virtuemart_product_id` = '1860726'
2023-10-13	12:41:36	1234	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34304_chambre-à-air_16_sv4.jpg
2023-10-13	12:41:36	1234	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:36	1234	[DEBUG]	Process image file
2023-10-13	12:41:36	1234	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:36	1234	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:36	1234	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34304_chambre-à-air_16_sv4.jpg
2023-10-13	12:41:36	1234	[DEBUG]	Full name target: bcprisme/34304_chambre-à-air_16_sv4.jpg
2023-10-13	12:41:37	1234	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:37	1234	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34304_chambre-à-air_16_sv4.jpg'
2023-10-13	12:41:37	1234	[DEBUG]	Query for Media
2023-10-13	12:41:37	1234	[DEBUG]	Executed store
2023-10-13	12:41:37	1234	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34304_chambre-à-air_16_sv4.jpg',`file_url_thumb`='bcprisme/34304_chambre-à-air_16_sv4.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435734'
2023-10-13	12:41:37	1234	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:37	1234	[DEBUG]	Executed store
2023-10-13	12:41:37	1234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860726','435734','1')
2023-10-13	12:41:37	1234	[DEBUG]	Store product image relation
2023-10-13	12:41:37	1234	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:37	1234	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860726 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:37	1234	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:37	1234	[DEBUG]	Executed store
2023-10-13	12:41:37	1234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860726','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:37	1234	[DEBUG]	Checking manufacturer
2023-10-13	12:41:37	1234	[DEBUG]	Load a row
2023-10-13	12:41:37	1234	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:37	1234	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:37	1234	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:37	1234	[DEBUG]	Executed store
2023-10-13	12:41:37	1234	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:37	1234	[DEBUG]	Manufacturer exists
2023-10-13	12:41:37	1234	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:41:37	1234	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:37	1234	[DEBUG]	Executed store
2023-10-13	12:41:37	1234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860726','25')
2023-10-13	12:41:37	1234	[DEBUG]	Find the custom field ID
2023-10-13	12:41:37	1234	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:37	1234	[DEBUG]	No custom field ID found
2023-10-13	12:41:37	1234	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:37	1234	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:37	1234	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860726 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:37	1234	[DEBUG]	Store custom available field
2023-10-13	12:41:37	1234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860726,3,'0',1)
2023-10-13	12:41:37	1234	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:37	1234	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:37	1234	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860726 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:37	1234	[DEBUG]	Store custom available field
2023-10-13	12:41:37	1234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860726,6,'choisir la taille',3)
2023-10-13	12:41:37	1234	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:37	1234	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:37	1234	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:37	1234	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:37	1234	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860726 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:37	1234	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:37	1234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860726,8,1)
2023-10-13	12:41:37	1234	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:37	1234	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860726\":[1860726,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860726
2023-10-13	12:41:37	1234	[DEBUG]	Checking category
2023-10-13	12:41:37	1234	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:37	1234	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860726
2023-10-13	12:41:37	1234	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:37	1234	[DEBUG]	Executed store
2023-10-13	12:41:37	1234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860726','7293')
2023-10-13	12:41:37	1234	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:37	1234	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860726 AND `virtuemart_category_id` NOT IN (7293)
2023-10-13	12:41:37	1234	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:37	1234	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860726
2023-10-13	12:41:37	1235	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:37	1235	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:37	1235	[DEBUG]	Use field value for field taille
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:37	1235	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:37	1235	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:37	1235	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:37	1235	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:37	1235	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:37	1235	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:37	1235	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:37	1235	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:37	1235	[DEBUG]	Use field value for field published
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:37	1235	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field override
2023-10-13	12:41:37	1235	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:37	1235	[DEBUG]	Use field value for field slug
2023-10-13	12:41:37	1235	[DEBUG]	Process line 1235
2023-10-13	12:41:37	1235	[DEBUG]	Load a row
2023-10-13	12:41:37	1235	[DEBUG]	Processing item: 4026495100045
2023-10-13	12:41:37	1235	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:37	1235	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:37	1235	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7147_1'
2023-10-13	12:41:37	1235	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:37	1235	[DEBUG]	Processing product tax
2023-10-13	12:41:37	1235	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:37	1235	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:37	1235	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:37	1235	[DEBUG]	Query for Product
2023-10-13	12:41:37	1235	[DEBUG]	Executed store
2023-10-13	12:41:37	1235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860726','4026495100045','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:37	1235	[DEBUG]	No parent found
2023-10-13	12:41:37	1235	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860726 AND customfield_value = 'stockable'
2023-10-13	12:41:37	1235	[DEBUG]	Check product language entry
2023-10-13	12:41:37	1235	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860727
2023-10-13	12:41:37	1235	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:37	1235	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495100045' AND `virtuemart_product_id` != 1860727
2023-10-13	12:41:37	1235	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:37	1235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860727, '4026495100045')
2023-10-13	12:41:37	1235	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:37	1235	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-16-sv4-noir-unitaire' AND `virtuemart_product_id` != 1860727
2023-10-13	12:41:37	1235	[DEBUG]	Query for ProductLang
2023-10-13	12:41:37	1235	[DEBUG]	Executed store
2023-10-13	12:41:37	1235	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 16 SV4 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-16-sv4-noir-unitaire' WHERE `virtuemart_product_id` = '1860727'
2023-10-13	12:41:37	1235	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34304_chambre-à-air_16_sv4.jpg
2023-10-13	12:41:37	1235	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:37	1235	[DEBUG]	Process image file
2023-10-13	12:41:37	1235	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:37	1235	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:37	1235	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34304_chambre-à-air_16_sv4.jpg
2023-10-13	12:41:37	1235	[DEBUG]	Full name target: bcprisme/34304_chambre-à-air_16_sv4.jpg
2023-10-13	12:41:38	1235	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:38	1235	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34304_chambre-à-air_16_sv4.jpg'
2023-10-13	12:41:38	1235	[DEBUG]	Query for Media
2023-10-13	12:41:38	1235	[DEBUG]	Executed store
2023-10-13	12:41:38	1235	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34304_chambre-à-air_16_sv4.jpg',`file_url_thumb`='bcprisme/34304_chambre-à-air_16_sv4.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435734'
2023-10-13	12:41:38	1235	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:38	1235	[DEBUG]	Executed store
2023-10-13	12:41:38	1235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860727','435734','1')
2023-10-13	12:41:38	1235	[DEBUG]	Store product image relation
2023-10-13	12:41:38	1235	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:38	1235	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860727 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:38	1235	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:38	1235	[DEBUG]	Executed store
2023-10-13	12:41:38	1235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860727','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:38	1235	[DEBUG]	Checking manufacturer
2023-10-13	12:41:38	1235	[DEBUG]	Load a row
2023-10-13	12:41:38	1235	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:38	1235	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:38	1235	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:38	1235	[DEBUG]	Executed store
2023-10-13	12:41:38	1235	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:38	1235	[DEBUG]	Manufacturer exists
2023-10-13	12:41:38	1235	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:41:38	1235	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:38	1235	[DEBUG]	Executed store
2023-10-13	12:41:38	1235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860727','25')
2023-10-13	12:41:38	1235	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:38	1235	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:38	1235	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860727 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:38	1235	[DEBUG]	Store custom available field
2023-10-13	12:41:38	1235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860727,3,'',1)
2023-10-13	12:41:38	1235	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:38	1235	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:38	1235	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860727 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:38	1235	[DEBUG]	Store custom available field
2023-10-13	12:41:38	1235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860727,6,'Unitaire',3)
2023-10-13	12:41:38	1235	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:38	1235	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:38	1235	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860726
2023-10-13	12:41:38	1235	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:38	1235	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860726\":[1860726,8,1,\"choisir la taille\"],\"1860727\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860726
2023-10-13	12:41:38	1235	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:38	1235	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860727
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:38	1236	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field taille
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:38	1236	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:38	1236	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:38	1236	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:38	1236	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:38	1236	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:38	1236	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field published
2023-10-13	12:41:38	1236	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:38	1236	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field override
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:38	1236	[DEBUG]	Use field value for field slug
2023-10-13	12:41:38	1236	[DEBUG]	Process line 1236
2023-10-13	12:41:38	1236	[DEBUG]	Load a row
2023-10-13	12:41:38	1236	[DEBUG]	Processing item: A_9712_84
2023-10-13	12:41:38	1236	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:38	1236	[DEBUG]	Processing product tax
2023-10-13	12:41:38	1236	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:38	1236	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:38	1236	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:38	1236	[DEBUG]	Query for Product
2023-10-13	12:41:38	1236	[DEBUG]	Executed store
2023-10-13	12:41:38	1236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9712_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:38	1236	[DEBUG]	Check product language entry
2023-10-13	12:41:38	1236	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860728
2023-10-13	12:41:38	1236	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:38	1236	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9712_84' AND `virtuemart_product_id` != 1860728
2023-10-13	12:41:38	1236	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:38	1236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860728, 'A_9712_84')
2023-10-13	12:41:38	1236	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:38	1236	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-av3-16-47-62-305-valve-auto-black' AND `virtuemart_product_id` != 1860728
2023-10-13	12:41:38	1236	[DEBUG]	Query for ProductLang
2023-10-13	12:41:38	1236	[DEBUG]	Executed store
2023-10-13	12:41:38	1236	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56744',`product_name`='SCHWALBE Chambre-à-air AV3 16 47/62-305 valve auto / Black&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-av3-16-47-62-305-valve-auto-black' WHERE `virtuemart_product_id` = '1860728'
2023-10-13	12:41:38	1236	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/av_200.jpg
2023-10-13	12:41:38	1236	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:41:38	1236	[DEBUG]	Process image file
2023-10-13	12:41:38	1236	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:41:38	1236	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:38	1236	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/av_200.jpg
2023-10-13	12:41:38	1236	[DEBUG]	Full name target: bcprisme/av_200.jpg
2023-10-13	12:41:39	1236	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:39	1236	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/av_200.jpg'
2023-10-13	12:41:39	1236	[DEBUG]	Query for Media
2023-10-13	12:41:39	1236	[DEBUG]	Executed store
2023-10-13	12:41:39	1236	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/av_200.jpg',`file_url_thumb`='bcprisme/av_200.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1529061'
2023-10-13	12:41:39	1236	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:39	1236	[DEBUG]	Executed store
2023-10-13	12:41:39	1236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860728','1529061','1')
2023-10-13	12:41:39	1236	[DEBUG]	Store product image relation
2023-10-13	12:41:39	1236	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:39	1236	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860728 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:39	1236	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:39	1236	[DEBUG]	Executed store
2023-10-13	12:41:39	1236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860728','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:39	1236	[DEBUG]	Checking manufacturer
2023-10-13	12:41:39	1236	[DEBUG]	Load a row
2023-10-13	12:41:39	1236	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:39	1236	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:41:39	1236	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:39	1236	[DEBUG]	Executed store
2023-10-13	12:41:39	1236	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:41:39	1236	[DEBUG]	Manufacturer exists
2023-10-13	12:41:39	1236	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:41:39	1236	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:39	1236	[DEBUG]	Executed store
2023-10-13	12:41:39	1236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860728','24')
2023-10-13	12:41:39	1236	[DEBUG]	Find the custom field ID
2023-10-13	12:41:39	1236	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:39	1236	[DEBUG]	No custom field ID found
2023-10-13	12:41:39	1236	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:39	1236	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:39	1236	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860728 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:39	1236	[DEBUG]	Store custom available field
2023-10-13	12:41:39	1236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860728,3,'0',1)
2023-10-13	12:41:39	1236	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:39	1236	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:39	1236	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860728 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:39	1236	[DEBUG]	Store custom available field
2023-10-13	12:41:39	1236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860728,6,'choisir la taille',3)
2023-10-13	12:41:39	1236	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:39	1236	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:39	1236	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:39	1236	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:39	1236	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860728 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:39	1236	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:39	1236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860728,8,1)
2023-10-13	12:41:39	1236	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:39	1236	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860728\":[1860728,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860728
2023-10-13	12:41:39	1236	[DEBUG]	Checking category
2023-10-13	12:41:39	1236	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:39	1236	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860728
2023-10-13	12:41:39	1236	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:39	1236	[DEBUG]	Executed store
2023-10-13	12:41:39	1236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860728','7293')
2023-10-13	12:41:39	1236	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:39	1236	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860728 AND `virtuemart_category_id` NOT IN (7293)
2023-10-13	12:41:39	1236	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:39	1236	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860728
2023-10-13	12:41:39	1237	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:39	1237	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:39	1237	[DEBUG]	Use field value for field taille
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:39	1237	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:39	1237	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:39	1237	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:39	1237	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:39	1237	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:39	1237	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:39	1237	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:39	1237	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:39	1237	[DEBUG]	Use field value for field published
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:39	1237	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field override
2023-10-13	12:41:39	1237	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:39	1237	[DEBUG]	Use field value for field slug
2023-10-13	12:41:39	1237	[DEBUG]	Process line 1237
2023-10-13	12:41:39	1237	[DEBUG]	Load a row
2023-10-13	12:41:39	1237	[DEBUG]	Processing item: 4026495099929
2023-10-13	12:41:39	1237	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:39	1237	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:39	1237	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9712_84'
2023-10-13	12:41:39	1237	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:39	1237	[DEBUG]	Processing product tax
2023-10-13	12:41:39	1237	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:39	1237	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:39	1237	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:39	1237	[DEBUG]	Query for Product
2023-10-13	12:41:39	1237	[DEBUG]	Executed store
2023-10-13	12:41:39	1237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860728','4026495099929','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:39	1237	[DEBUG]	No parent found
2023-10-13	12:41:39	1237	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860728 AND customfield_value = 'stockable'
2023-10-13	12:41:39	1237	[DEBUG]	Check product language entry
2023-10-13	12:41:39	1237	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860729
2023-10-13	12:41:39	1237	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:39	1237	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495099929' AND `virtuemart_product_id` != 1860729
2023-10-13	12:41:39	1237	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:39	1237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860729, '4026495099929')
2023-10-13	12:41:39	1237	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:39	1237	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-av3-16-47-62-305-valve-auto-black-unitaire' AND `virtuemart_product_id` != 1860729
2023-10-13	12:41:39	1237	[DEBUG]	Query for ProductLang
2023-10-13	12:41:39	1237	[DEBUG]	Executed store
2023-10-13	12:41:39	1237	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air AV3 16 47/62-305 valve auto / Black (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-av3-16-47-62-305-valve-auto-black-unitaire' WHERE `virtuemart_product_id` = '1860729'
2023-10-13	12:41:39	1237	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/av_200.jpg
2023-10-13	12:41:39	1237	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:41:39	1237	[DEBUG]	Process image file
2023-10-13	12:41:39	1237	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:41:39	1237	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:39	1237	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/av_200.jpg
2023-10-13	12:41:39	1237	[DEBUG]	Full name target: bcprisme/av_200.jpg
2023-10-13	12:41:43	1237	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:43	1237	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/av_200.jpg'
2023-10-13	12:41:43	1237	[DEBUG]	Query for Media
2023-10-13	12:41:43	1237	[DEBUG]	Executed store
2023-10-13	12:41:43	1237	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/av_200.jpg',`file_url_thumb`='bcprisme/av_200.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1529061'
2023-10-13	12:41:43	1237	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:43	1237	[DEBUG]	Executed store
2023-10-13	12:41:43	1237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860729','1529061','1')
2023-10-13	12:41:43	1237	[DEBUG]	Store product image relation
2023-10-13	12:41:43	1237	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:43	1237	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860729 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:43	1237	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:43	1237	[DEBUG]	Executed store
2023-10-13	12:41:43	1237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860729','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:43	1237	[DEBUG]	Checking manufacturer
2023-10-13	12:41:43	1237	[DEBUG]	Load a row
2023-10-13	12:41:43	1237	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:43	1237	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:41:43	1237	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:43	1237	[DEBUG]	Executed store
2023-10-13	12:41:43	1237	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:41:43	1237	[DEBUG]	Manufacturer exists
2023-10-13	12:41:43	1237	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:41:43	1237	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:43	1237	[DEBUG]	Executed store
2023-10-13	12:41:43	1237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860729','24')
2023-10-13	12:41:43	1237	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:43	1237	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:43	1237	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860729 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:43	1237	[DEBUG]	Store custom available field
2023-10-13	12:41:43	1237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860729,3,'',1)
2023-10-13	12:41:43	1237	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:43	1237	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:43	1237	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860729 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:43	1237	[DEBUG]	Store custom available field
2023-10-13	12:41:43	1237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860729,6,'Unitaire',3)
2023-10-13	12:41:43	1237	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:43	1237	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:43	1237	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860728
2023-10-13	12:41:43	1237	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:43	1237	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860728\":[1860728,8,1,\"choisir la taille\"],\"1860729\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860728
2023-10-13	12:41:43	1237	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:43	1237	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860729
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:43	1238	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field taille
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:43	1238	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:43	1238	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:43	1238	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:43	1238	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:43	1238	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:43	1238	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field published
2023-10-13	12:41:43	1238	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:43	1238	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field override
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:43	1238	[DEBUG]	Use field value for field slug
2023-10-13	12:41:43	1238	[DEBUG]	Process line 1238
2023-10-13	12:41:43	1238	[DEBUG]	Load a row
2023-10-13	12:41:43	1238	[DEBUG]	Processing item: A_6419_208
2023-10-13	12:41:43	1238	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:43	1238	[DEBUG]	Processing product tax
2023-10-13	12:41:43	1238	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:43	1238	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:43	1238	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:43	1238	[DEBUG]	Query for Product
2023-10-13	12:41:43	1238	[DEBUG]	Executed store
2023-10-13	12:41:43	1238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6419_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:43	1238	[DEBUG]	Check product language entry
2023-10-13	12:41:43	1238	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860730
2023-10-13	12:41:43	1238	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:43	1238	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6419_208' AND `virtuemart_product_id` != 1860730
2023-10-13	12:41:43	1238	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:43	1238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860730, 'A_6419_208')
2023-10-13	12:41:43	1238	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:43	1238	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-av5-18-32-47-355-400-valve-auto-aucune' AND `virtuemart_product_id` != 1860730
2023-10-13	12:41:43	1238	[DEBUG]	Query for ProductLang
2023-10-13	12:41:43	1238	[DEBUG]	Executed store
2023-10-13	12:41:43	1238	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56746',`product_name`='Schwalbe Chambre-à-air AV5 18, 32/47-355/400 valve auto / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-av5-18-32-47-355-400-valve-auto-aucune' WHERE `virtuemart_product_id` = '1860730'
2023-10-13	12:41:43	1238	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32304_schwalbe_chambre_à_air_av5_18__32-47-355-400_valve_auto.jpg
2023-10-13	12:41:43	1238	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:43	1238	[DEBUG]	Process image file
2023-10-13	12:41:43	1238	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:43	1238	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:43	1238	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32304_schwalbe_chambre_à_air_av5_18__32-47-355-400_valve_auto.jpg
2023-10-13	12:41:43	1238	[DEBUG]	Full name target: bcprisme/32304_schwalbe_chambre_à_air_av5_18__32-47-355-400_valve_auto.jpg
2023-10-13	12:41:46	1238	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:46	1238	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32304_schwalbe_chambre_à_air_av5_18__32-47-355-400_valve_auto.jpg'
2023-10-13	12:41:46	1238	[DEBUG]	Query for Media
2023-10-13	12:41:46	1238	[DEBUG]	Executed store
2023-10-13	12:41:46	1238	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32304_schwalbe_chambre_à_air_av5_18__32-47-355-400_valve_auto.jpg',`file_url_thumb`='bcprisme/32304_schwalbe_chambre_à_air_av5_18__32-47-355-400_valve_auto.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12599'
2023-10-13	12:41:46	1238	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:46	1238	[DEBUG]	Executed store
2023-10-13	12:41:46	1238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860730','12599','1')
2023-10-13	12:41:46	1238	[DEBUG]	Store product image relation
2023-10-13	12:41:46	1238	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:46	1238	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860730 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:46	1238	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:46	1238	[DEBUG]	Executed store
2023-10-13	12:41:46	1238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860730','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:46	1238	[DEBUG]	Checking manufacturer
2023-10-13	12:41:46	1238	[DEBUG]	Load a row
2023-10-13	12:41:46	1238	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:46	1238	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:46	1238	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:46	1238	[DEBUG]	Executed store
2023-10-13	12:41:46	1238	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:46	1238	[DEBUG]	Manufacturer exists
2023-10-13	12:41:46	1238	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	12:41:46	1238	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:46	1238	[DEBUG]	Executed store
2023-10-13	12:41:46	1238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860730','77')
2023-10-13	12:41:46	1238	[DEBUG]	Find the custom field ID
2023-10-13	12:41:46	1238	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:46	1238	[DEBUG]	No custom field ID found
2023-10-13	12:41:46	1238	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:46	1238	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:46	1238	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860730 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:46	1238	[DEBUG]	Store custom available field
2023-10-13	12:41:46	1238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860730,3,'0',1)
2023-10-13	12:41:46	1238	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:46	1238	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:46	1238	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860730 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:46	1238	[DEBUG]	Store custom available field
2023-10-13	12:41:46	1238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860730,6,'choisir la taille',3)
2023-10-13	12:41:46	1238	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:46	1238	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:46	1238	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:46	1238	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:46	1238	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860730 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:46	1238	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:46	1238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860730,8,1)
2023-10-13	12:41:46	1238	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:46	1238	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860730\":[1860730,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860730
2023-10-13	12:41:46	1238	[DEBUG]	Checking category
2023-10-13	12:41:46	1238	[DEBUG]	Check if category path exists: CHAMBRES-A-AIR 18/ SCHLAÜCHE
2023-10-13	12:41:46	1238	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIR 18/ SCHLAÜCHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7291
2023-10-13	12:41:46	1238	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:46	1238	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860730
2023-10-13	12:41:46	1238	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:46	1238	[DEBUG]	Executed store
2023-10-13	12:41:46	1238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860730','7294')
2023-10-13	12:41:46	1238	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:46	1238	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860730 AND `virtuemart_category_id` NOT IN (7294)
2023-10-13	12:41:46	1238	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:46	1238	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860730
2023-10-13	12:41:46	1239	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:46	1239	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:46	1239	[DEBUG]	Use field value for field taille
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:46	1239	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:46	1239	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:46	1239	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:46	1239	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:46	1239	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:46	1239	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:46	1239	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:46	1239	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:46	1239	[DEBUG]	Use field value for field published
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:46	1239	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field override
2023-10-13	12:41:46	1239	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:46	1239	[DEBUG]	Use field value for field slug
2023-10-13	12:41:46	1239	[DEBUG]	Process line 1239
2023-10-13	12:41:46	1239	[DEBUG]	Load a row
2023-10-13	12:41:46	1239	[DEBUG]	Processing item: 4026495100069
2023-10-13	12:41:46	1239	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:46	1239	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:46	1239	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6419_208'
2023-10-13	12:41:46	1239	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:46	1239	[DEBUG]	Processing product tax
2023-10-13	12:41:46	1239	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:46	1239	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:46	1239	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:46	1239	[DEBUG]	Query for Product
2023-10-13	12:41:46	1239	[DEBUG]	Executed store
2023-10-13	12:41:46	1239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860730','4026495100069','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:46	1239	[DEBUG]	No parent found
2023-10-13	12:41:46	1239	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860730 AND customfield_value = 'stockable'
2023-10-13	12:41:46	1239	[DEBUG]	Check product language entry
2023-10-13	12:41:46	1239	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860731
2023-10-13	12:41:46	1239	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:46	1239	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495100069' AND `virtuemart_product_id` != 1860731
2023-10-13	12:41:46	1239	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:46	1239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860731, '4026495100069')
2023-10-13	12:41:46	1239	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:46	1239	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-av5-18-32-47-355-400-valve-auto-aucune-all' AND `virtuemart_product_id` != 1860731
2023-10-13	12:41:46	1239	[DEBUG]	Query for ProductLang
2023-10-13	12:41:46	1239	[DEBUG]	Executed store
2023-10-13	12:41:46	1239	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Chambre-à-air AV5 18, 32/47-355/400 valve auto / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-av5-18-32-47-355-400-valve-auto-aucune-all' WHERE `virtuemart_product_id` = '1860731'
2023-10-13	12:41:46	1239	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32304_schwalbe_chambre_à_air_av5_18__32-47-355-400_valve_auto.jpg
2023-10-13	12:41:46	1239	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:46	1239	[DEBUG]	Process image file
2023-10-13	12:41:46	1239	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:46	1239	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:46	1239	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32304_schwalbe_chambre_à_air_av5_18__32-47-355-400_valve_auto.jpg
2023-10-13	12:41:46	1239	[DEBUG]	Full name target: bcprisme/32304_schwalbe_chambre_à_air_av5_18__32-47-355-400_valve_auto.jpg
2023-10-13	12:41:47	1239	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:47	1239	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32304_schwalbe_chambre_à_air_av5_18__32-47-355-400_valve_auto.jpg'
2023-10-13	12:41:47	1239	[DEBUG]	Query for Media
2023-10-13	12:41:47	1239	[DEBUG]	Executed store
2023-10-13	12:41:47	1239	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32304_schwalbe_chambre_à_air_av5_18__32-47-355-400_valve_auto.jpg',`file_url_thumb`='bcprisme/32304_schwalbe_chambre_à_air_av5_18__32-47-355-400_valve_auto.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12599'
2023-10-13	12:41:47	1239	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:47	1239	[DEBUG]	Executed store
2023-10-13	12:41:47	1239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860731','12599','1')
2023-10-13	12:41:47	1239	[DEBUG]	Store product image relation
2023-10-13	12:41:47	1239	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:47	1239	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860731 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:47	1239	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:47	1239	[DEBUG]	Executed store
2023-10-13	12:41:47	1239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860731','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:47	1239	[DEBUG]	Checking manufacturer
2023-10-13	12:41:47	1239	[DEBUG]	Load a row
2023-10-13	12:41:47	1239	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:47	1239	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:47	1239	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:47	1239	[DEBUG]	Executed store
2023-10-13	12:41:47	1239	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:47	1239	[DEBUG]	Manufacturer exists
2023-10-13	12:41:47	1239	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	12:41:47	1239	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:47	1239	[DEBUG]	Executed store
2023-10-13	12:41:47	1239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860731','77')
2023-10-13	12:41:47	1239	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:47	1239	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:47	1239	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860731 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:47	1239	[DEBUG]	Store custom available field
2023-10-13	12:41:47	1239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860731,3,'',1)
2023-10-13	12:41:47	1239	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:47	1239	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:41:47	1239	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860731 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:47	1239	[DEBUG]	Store custom available field
2023-10-13	12:41:47	1239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860731,6,'All',3)
2023-10-13	12:41:47	1239	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:47	1239	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:47	1239	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860730
2023-10-13	12:41:47	1239	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:47	1239	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860730\":[1860730,8,1,\"choisir la taille\"],\"1860731\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860730
2023-10-13	12:41:47	1239	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:47	1239	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860731
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:47	1240	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field taille
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:47	1240	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:47	1240	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:47	1240	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:47	1240	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:47	1240	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:47	1240	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field published
2023-10-13	12:41:47	1240	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:47	1240	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field override
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:47	1240	[DEBUG]	Use field value for field slug
2023-10-13	12:41:47	1240	[DEBUG]	Process line 1240
2023-10-13	12:41:47	1240	[DEBUG]	Load a row
2023-10-13	12:41:47	1240	[DEBUG]	Processing item: A_7497_1
2023-10-13	12:41:47	1240	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:47	1240	[DEBUG]	Processing product tax
2023-10-13	12:41:47	1240	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:47	1240	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:47	1240	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:47	1240	[DEBUG]	Query for Product
2023-10-13	12:41:47	1240	[DEBUG]	Executed store
2023-10-13	12:41:47	1240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7497_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:47	1240	[DEBUG]	Check product language entry
2023-10-13	12:41:47	1240	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860732
2023-10-13	12:41:47	1240	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:47	1240	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7497_1' AND `virtuemart_product_id` != 1860732
2023-10-13	12:41:47	1240	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:47	1240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860732, 'A_7497_1')
2023-10-13	12:41:47	1240	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:47	1240	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-18-x-1-75-2-125-noir' AND `virtuemart_product_id` != 1860732
2023-10-13	12:41:47	1240	[DEBUG]	Query for ProductLang
2023-10-13	12:41:47	1240	[DEBUG]	Executed store
2023-10-13	12:41:47	1240	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 57C2700',`product_name`='Schwalbe Chambre-à-air 18 x 1.75/2.125 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-18-x-1-75-2-125-noir' WHERE `virtuemart_product_id` = '1860732'
2023-10-13	12:41:47	1240	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34862_chambre-à-air_18_x_1_75-2_125.jpg
2023-10-13	12:41:47	1240	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:41:47	1240	[DEBUG]	Process image file
2023-10-13	12:41:47	1240	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:41:47	1240	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:47	1240	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34862_chambre-à-air_18_x_1_75-2_125.jpg
2023-10-13	12:41:47	1240	[DEBUG]	Full name target: bcprisme/34862_chambre-à-air_18_x_1_75-2_125.jpg
2023-10-13	12:41:48	1240	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:48	1240	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34862_chambre-à-air_18_x_1_75-2_125.jpg'
2023-10-13	12:41:48	1240	[DEBUG]	Query for Media
2023-10-13	12:41:48	1240	[DEBUG]	Executed store
2023-10-13	12:41:48	1240	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34862_chambre-à-air_18_x_1_75-2_125.jpg',`file_url_thumb`='bcprisme/34862_chambre-à-air_18_x_1_75-2_125.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '233274'
2023-10-13	12:41:48	1240	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:48	1240	[DEBUG]	Executed store
2023-10-13	12:41:48	1240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860732','233274','1')
2023-10-13	12:41:48	1240	[DEBUG]	Store product image relation
2023-10-13	12:41:48	1240	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:48	1240	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860732 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:48	1240	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:48	1240	[DEBUG]	Executed store
2023-10-13	12:41:48	1240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860732','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:48	1240	[DEBUG]	Checking manufacturer
2023-10-13	12:41:48	1240	[DEBUG]	Load a row
2023-10-13	12:41:48	1240	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:48	1240	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:48	1240	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:48	1240	[DEBUG]	Executed store
2023-10-13	12:41:48	1240	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:48	1240	[DEBUG]	Manufacturer exists
2023-10-13	12:41:48	1240	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	12:41:48	1240	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:48	1240	[DEBUG]	Executed store
2023-10-13	12:41:48	1240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860732','77')
2023-10-13	12:41:48	1240	[DEBUG]	Find the custom field ID
2023-10-13	12:41:48	1240	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:48	1240	[DEBUG]	No custom field ID found
2023-10-13	12:41:48	1240	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:48	1240	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:48	1240	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860732 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:48	1240	[DEBUG]	Store custom available field
2023-10-13	12:41:48	1240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860732,3,'0',1)
2023-10-13	12:41:48	1240	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:48	1240	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:48	1240	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860732 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:48	1240	[DEBUG]	Store custom available field
2023-10-13	12:41:48	1240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860732,6,'choisir la taille',3)
2023-10-13	12:41:48	1240	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:48	1240	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:48	1240	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:48	1240	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:48	1240	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860732 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:48	1240	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:48	1240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860732,8,1)
2023-10-13	12:41:48	1240	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:48	1240	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860732\":[1860732,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860732
2023-10-13	12:41:48	1240	[DEBUG]	Checking category
2023-10-13	12:41:48	1240	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:48	1240	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860732
2023-10-13	12:41:48	1240	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:48	1240	[DEBUG]	Executed store
2023-10-13	12:41:48	1240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860732','7294')
2023-10-13	12:41:48	1240	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:48	1240	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860732 AND `virtuemart_category_id` NOT IN (7294)
2023-10-13	12:41:48	1240	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:48	1240	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860732
2023-10-13	12:41:48	1241	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:48	1241	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:48	1241	[DEBUG]	Use field value for field taille
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:48	1241	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:48	1241	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:48	1241	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:48	1241	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:48	1241	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:48	1241	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:48	1241	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:48	1241	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:48	1241	[DEBUG]	Use field value for field published
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:48	1241	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field override
2023-10-13	12:41:48	1241	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:48	1241	[DEBUG]	Use field value for field slug
2023-10-13	12:41:48	1241	[DEBUG]	Process line 1241
2023-10-13	12:41:48	1241	[DEBUG]	Load a row
2023-10-13	12:41:48	1241	[DEBUG]	Processing item: 1000000124996
2023-10-13	12:41:48	1241	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:48	1241	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:48	1241	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7497_1'
2023-10-13	12:41:48	1241	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:48	1241	[DEBUG]	Processing product tax
2023-10-13	12:41:48	1241	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:48	1241	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:48	1241	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:48	1241	[DEBUG]	Query for Product
2023-10-13	12:41:48	1241	[DEBUG]	Executed store
2023-10-13	12:41:48	1241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860732','1000000124996','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:48	1241	[DEBUG]	No parent found
2023-10-13	12:41:48	1241	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860732 AND customfield_value = 'stockable'
2023-10-13	12:41:48	1241	[DEBUG]	Check product language entry
2023-10-13	12:41:48	1241	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860733
2023-10-13	12:41:48	1241	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:48	1241	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000124996' AND `virtuemart_product_id` != 1860733
2023-10-13	12:41:48	1241	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:48	1241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860733, '1000000124996')
2023-10-13	12:41:48	1241	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:48	1241	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-18-x-1-75-2-125-noir-all' AND `virtuemart_product_id` != 1860733
2023-10-13	12:41:48	1241	[DEBUG]	Query for ProductLang
2023-10-13	12:41:48	1241	[DEBUG]	Executed store
2023-10-13	12:41:48	1241	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Chambre-à-air 18 x 1.75/2.125 / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-18-x-1-75-2-125-noir-all' WHERE `virtuemart_product_id` = '1860733'
2023-10-13	12:41:48	1241	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34862_chambre-à-air_18_x_1_75-2_125.jpg
2023-10-13	12:41:48	1241	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:41:48	1241	[DEBUG]	Process image file
2023-10-13	12:41:48	1241	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:41:48	1241	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:48	1241	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34862_chambre-à-air_18_x_1_75-2_125.jpg
2023-10-13	12:41:48	1241	[DEBUG]	Full name target: bcprisme/34862_chambre-à-air_18_x_1_75-2_125.jpg
2023-10-13	12:41:49	1241	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:49	1241	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34862_chambre-à-air_18_x_1_75-2_125.jpg'
2023-10-13	12:41:49	1241	[DEBUG]	Query for Media
2023-10-13	12:41:49	1241	[DEBUG]	Executed store
2023-10-13	12:41:49	1241	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34862_chambre-à-air_18_x_1_75-2_125.jpg',`file_url_thumb`='bcprisme/34862_chambre-à-air_18_x_1_75-2_125.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '233274'
2023-10-13	12:41:49	1241	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:49	1241	[DEBUG]	Executed store
2023-10-13	12:41:49	1241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860733','233274','1')
2023-10-13	12:41:49	1241	[DEBUG]	Store product image relation
2023-10-13	12:41:49	1241	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:49	1241	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860733 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:49	1241	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:49	1241	[DEBUG]	Executed store
2023-10-13	12:41:49	1241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860733','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:49	1241	[DEBUG]	Checking manufacturer
2023-10-13	12:41:49	1241	[DEBUG]	Load a row
2023-10-13	12:41:49	1241	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:49	1241	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:49	1241	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:49	1241	[DEBUG]	Executed store
2023-10-13	12:41:49	1241	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:49	1241	[DEBUG]	Manufacturer exists
2023-10-13	12:41:49	1241	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	12:41:49	1241	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:49	1241	[DEBUG]	Executed store
2023-10-13	12:41:49	1241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860733','77')
2023-10-13	12:41:49	1241	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:49	1241	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:49	1241	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860733 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:49	1241	[DEBUG]	Store custom available field
2023-10-13	12:41:49	1241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860733,3,'',1)
2023-10-13	12:41:49	1241	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:49	1241	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:41:49	1241	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860733 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:49	1241	[DEBUG]	Store custom available field
2023-10-13	12:41:49	1241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860733,6,'All',3)
2023-10-13	12:41:49	1241	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:49	1241	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:49	1241	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860732
2023-10-13	12:41:49	1241	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:49	1241	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860732\":[1860732,8,1,\"choisir la taille\"],\"1860733\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860732
2023-10-13	12:41:49	1241	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:49	1241	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860733
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:49	1242	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field taille
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:49	1242	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:49	1242	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:49	1242	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:49	1242	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:49	1242	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:49	1242	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field published
2023-10-13	12:41:49	1242	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:49	1242	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field override
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:49	1242	[DEBUG]	Use field value for field slug
2023-10-13	12:41:49	1242	[DEBUG]	Process line 1242
2023-10-13	12:41:49	1242	[DEBUG]	Load a row
2023-10-13	12:41:49	1242	[DEBUG]	Processing item: A_5177_3
2023-10-13	12:41:49	1242	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:49	1242	[DEBUG]	Processing product tax
2023-10-13	12:41:49	1242	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:49	1242	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:49	1242	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:49	1242	[DEBUG]	Query for Product
2023-10-13	12:41:49	1242	[DEBUG]	Executed store
2023-10-13	12:41:49	1242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5177_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:49	1242	[DEBUG]	Check product language entry
2023-10-13	12:41:49	1242	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860734
2023-10-13	12:41:49	1242	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:49	1242	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5177_3' AND `virtuemart_product_id` != 1860734
2023-10-13	12:41:49	1242	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:49	1242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860734, 'A_5177_3')
2023-10-13	12:41:49	1242	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:49	1242	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-20-sv7-none' AND `virtuemart_product_id` != 1860734
2023-10-13	12:41:49	1242	[DEBUG]	Query for ProductLang
2023-10-13	12:41:49	1242	[DEBUG]	Executed store
2023-10-13	12:41:49	1242	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.059',`product_name`='SCHWALBE Chambre-à-air 20 SV7  / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-20-sv7-none' WHERE `virtuemart_product_id` = '1860734'
2023-10-13	12:41:49	1242	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29642_chambres-a-air_schwalbe_20__sv7_.jpg
2023-10-13	12:41:49	1242	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:49	1242	[DEBUG]	Process image file
2023-10-13	12:41:49	1242	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:49	1242	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:49	1242	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29642_chambres-a-air_schwalbe_20__sv7_.jpg
2023-10-13	12:41:49	1242	[DEBUG]	Full name target: bcprisme/29642_chambres-a-air_schwalbe_20__sv7_.jpg
2023-10-13	12:41:50	1242	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:50	1242	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29642_chambres-a-air_schwalbe_20__sv7_.jpg'
2023-10-13	12:41:50	1242	[DEBUG]	Query for Media
2023-10-13	12:41:50	1242	[DEBUG]	Executed store
2023-10-13	12:41:50	1242	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29642_chambres-a-air_schwalbe_20__sv7_.jpg',`file_url_thumb`='bcprisme/29642_chambres-a-air_schwalbe_20__sv7_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15817'
2023-10-13	12:41:50	1242	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:50	1242	[DEBUG]	Executed store
2023-10-13	12:41:50	1242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860734','15817','1')
2023-10-13	12:41:50	1242	[DEBUG]	Store product image relation
2023-10-13	12:41:50	1242	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:50	1242	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860734 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:50	1242	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:50	1242	[DEBUG]	Executed store
2023-10-13	12:41:50	1242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860734','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:50	1242	[DEBUG]	Checking manufacturer
2023-10-13	12:41:50	1242	[DEBUG]	Load a row
2023-10-13	12:41:50	1242	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:50	1242	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:50	1242	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:50	1242	[DEBUG]	Executed store
2023-10-13	12:41:50	1242	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:50	1242	[DEBUG]	Manufacturer exists
2023-10-13	12:41:50	1242	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:41:50	1242	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:50	1242	[DEBUG]	Executed store
2023-10-13	12:41:50	1242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860734','25')
2023-10-13	12:41:50	1242	[DEBUG]	Find the custom field ID
2023-10-13	12:41:50	1242	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:50	1242	[DEBUG]	No custom field ID found
2023-10-13	12:41:50	1242	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:50	1242	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:50	1242	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860734 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:50	1242	[DEBUG]	Store custom available field
2023-10-13	12:41:50	1242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860734,3,'0',1)
2023-10-13	12:41:50	1242	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:50	1242	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:50	1242	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860734 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:50	1242	[DEBUG]	Store custom available field
2023-10-13	12:41:50	1242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860734,6,'choisir la taille',3)
2023-10-13	12:41:50	1242	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:50	1242	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:50	1242	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:50	1242	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:50	1242	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860734 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:50	1242	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:50	1242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860734,8,1)
2023-10-13	12:41:50	1242	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:50	1242	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860734\":[1860734,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860734
2023-10-13	12:41:50	1242	[DEBUG]	Checking category
2023-10-13	12:41:50	1242	[DEBUG]	Check if category path exists: CHAMBRES-A-AIR 20/ SCHLAÜCHE 20
2023-10-13	12:41:50	1242	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIR 20/ SCHLAÜCHE 20' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7291
2023-10-13	12:41:50	1242	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:50	1242	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860734
2023-10-13	12:41:50	1242	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:50	1242	[DEBUG]	Executed store
2023-10-13	12:41:50	1242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860734','7295')
2023-10-13	12:41:50	1242	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:50	1242	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860734 AND `virtuemart_category_id` NOT IN (7295)
2023-10-13	12:41:50	1242	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:50	1242	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860734
2023-10-13	12:41:50	1243	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:50	1243	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:50	1243	[DEBUG]	Use field value for field taille
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:50	1243	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:50	1243	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:50	1243	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:50	1243	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:50	1243	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:50	1243	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:50	1243	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:50	1243	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:50	1243	[DEBUG]	Use field value for field published
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:50	1243	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field override
2023-10-13	12:41:50	1243	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:50	1243	[DEBUG]	Use field value for field slug
2023-10-13	12:41:50	1243	[DEBUG]	Process line 1243
2023-10-13	12:41:50	1243	[DEBUG]	Load a row
2023-10-13	12:41:50	1243	[DEBUG]	Processing item: 4026495100229
2023-10-13	12:41:50	1243	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:50	1243	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:50	1243	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5177_3'
2023-10-13	12:41:50	1243	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:50	1243	[DEBUG]	Processing product tax
2023-10-13	12:41:50	1243	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:50	1243	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:50	1243	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:50	1243	[DEBUG]	Query for Product
2023-10-13	12:41:50	1243	[DEBUG]	Executed store
2023-10-13	12:41:50	1243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860734','4026495100229','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:50	1243	[DEBUG]	No parent found
2023-10-13	12:41:50	1243	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860734 AND customfield_value = 'stockable'
2023-10-13	12:41:50	1243	[DEBUG]	Check product language entry
2023-10-13	12:41:50	1243	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860735
2023-10-13	12:41:50	1243	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:50	1243	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495100229' AND `virtuemart_product_id` != 1860735
2023-10-13	12:41:50	1243	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:50	1243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860735, '4026495100229')
2023-10-13	12:41:50	1243	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:50	1243	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-20-sv7-none-unitaire' AND `virtuemart_product_id` != 1860735
2023-10-13	12:41:50	1243	[DEBUG]	Query for ProductLang
2023-10-13	12:41:50	1243	[DEBUG]	Executed store
2023-10-13	12:41:50	1243	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 20 SV7  / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-20-sv7-none-unitaire' WHERE `virtuemart_product_id` = '1860735'
2023-10-13	12:41:50	1243	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29642_chambres-a-air_schwalbe_20__sv7_.jpg
2023-10-13	12:41:50	1243	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:50	1243	[DEBUG]	Process image file
2023-10-13	12:41:50	1243	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:50	1243	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:50	1243	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29642_chambres-a-air_schwalbe_20__sv7_.jpg
2023-10-13	12:41:50	1243	[DEBUG]	Full name target: bcprisme/29642_chambres-a-air_schwalbe_20__sv7_.jpg
2023-10-13	12:41:51	1243	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:51	1243	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29642_chambres-a-air_schwalbe_20__sv7_.jpg'
2023-10-13	12:41:51	1243	[DEBUG]	Query for Media
2023-10-13	12:41:51	1243	[DEBUG]	Executed store
2023-10-13	12:41:51	1243	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29642_chambres-a-air_schwalbe_20__sv7_.jpg',`file_url_thumb`='bcprisme/29642_chambres-a-air_schwalbe_20__sv7_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15817'
2023-10-13	12:41:51	1243	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:51	1243	[DEBUG]	Executed store
2023-10-13	12:41:51	1243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860735','15817','1')
2023-10-13	12:41:51	1243	[DEBUG]	Store product image relation
2023-10-13	12:41:51	1243	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:51	1243	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860735 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:51	1243	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:51	1243	[DEBUG]	Executed store
2023-10-13	12:41:51	1243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860735','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:51	1243	[DEBUG]	Checking manufacturer
2023-10-13	12:41:51	1243	[DEBUG]	Load a row
2023-10-13	12:41:51	1243	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:51	1243	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:51	1243	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:51	1243	[DEBUG]	Executed store
2023-10-13	12:41:51	1243	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:41:51	1243	[DEBUG]	Manufacturer exists
2023-10-13	12:41:51	1243	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:41:51	1243	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:51	1243	[DEBUG]	Executed store
2023-10-13	12:41:51	1243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860735','25')
2023-10-13	12:41:51	1243	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:51	1243	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:51	1243	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860735 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:51	1243	[DEBUG]	Store custom available field
2023-10-13	12:41:51	1243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860735,3,'',1)
2023-10-13	12:41:51	1243	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:51	1243	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:51	1243	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860735 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:51	1243	[DEBUG]	Store custom available field
2023-10-13	12:41:51	1243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860735,6,'Unitaire',3)
2023-10-13	12:41:51	1243	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:51	1243	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:51	1243	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860734
2023-10-13	12:41:51	1243	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:51	1243	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860734\":[1860734,8,1,\"choisir la taille\"],\"1860735\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860734
2023-10-13	12:41:51	1243	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:51	1243	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860735
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:51	1244	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field taille
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:51	1244	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:51	1244	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:51	1244	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:51	1244	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:51	1244	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:51	1244	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:51	1244	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field published
2023-10-13	12:41:51	1244	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:51	1244	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field override
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:51	1244	[DEBUG]	Use field value for field slug
2023-10-13	12:41:51	1244	[DEBUG]	Process line 1244
2023-10-13	12:41:51	1244	[DEBUG]	Load a row
2023-10-13	12:41:51	1244	[DEBUG]	Processing item: A_6460_208
2023-10-13	12:41:51	1244	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:51	1244	[DEBUG]	Processing product tax
2023-10-13	12:41:51	1244	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:51	1244	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:51	1244	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:51	1244	[DEBUG]	Query for Product
2023-10-13	12:41:51	1244	[DEBUG]	Executed store
2023-10-13	12:41:51	1244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6460_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:51	1244	[DEBUG]	Check product language entry
2023-10-13	12:41:51	1244	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860736
2023-10-13	12:41:51	1244	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:51	1244	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6460_208' AND `virtuemart_product_id` != 1860736
2023-10-13	12:41:51	1244	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:51	1244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860736, 'A_6460_208')
2023-10-13	12:41:51	1244	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:51	1244	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-av6-20-28-40-406-valve-auto-aucune' AND `virtuemart_product_id` != 1860736
2023-10-13	12:41:51	1244	[DEBUG]	Query for ProductLang
2023-10-13	12:41:51	1244	[DEBUG]	Executed store
2023-10-13	12:41:51	1244	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56747',`product_name`='Schwalbe Chambre-à-air AV6 20, 28/40-406 valve auto / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-av6-20-28-40-406-valve-auto-aucune' WHERE `virtuemart_product_id` = '1860736'
2023-10-13	12:41:51	1244	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32343_schwalbe_chambre_à_air_av6_20__28-40-406_valve_auto.jpg
2023-10-13	12:41:51	1244	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:51	1244	[DEBUG]	Process image file
2023-10-13	12:41:51	1244	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:51	1244	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:51	1244	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32343_schwalbe_chambre_à_air_av6_20__28-40-406_valve_auto.jpg
2023-10-13	12:41:51	1244	[DEBUG]	Full name target: bcprisme/32343_schwalbe_chambre_à_air_av6_20__28-40-406_valve_auto.jpg
2023-10-13	12:41:52	1244	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:52	1244	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32343_schwalbe_chambre_à_air_av6_20__28-40-406_valve_auto.jpg'
2023-10-13	12:41:52	1244	[DEBUG]	Query for Media
2023-10-13	12:41:52	1244	[DEBUG]	Executed store
2023-10-13	12:41:52	1244	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32343_schwalbe_chambre_à_air_av6_20__28-40-406_valve_auto.jpg',`file_url_thumb`='bcprisme/32343_schwalbe_chambre_à_air_av6_20__28-40-406_valve_auto.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12600'
2023-10-13	12:41:52	1244	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:52	1244	[DEBUG]	Executed store
2023-10-13	12:41:52	1244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860736','12600','1')
2023-10-13	12:41:52	1244	[DEBUG]	Store product image relation
2023-10-13	12:41:52	1244	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:52	1244	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860736 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:52	1244	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:52	1244	[DEBUG]	Executed store
2023-10-13	12:41:52	1244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860736','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:52	1244	[DEBUG]	Checking manufacturer
2023-10-13	12:41:52	1244	[DEBUG]	Load a row
2023-10-13	12:41:52	1244	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:52	1244	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:52	1244	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:52	1244	[DEBUG]	Executed store
2023-10-13	12:41:52	1244	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:52	1244	[DEBUG]	Manufacturer exists
2023-10-13	12:41:52	1244	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	12:41:52	1244	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:52	1244	[DEBUG]	Executed store
2023-10-13	12:41:52	1244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860736','77')
2023-10-13	12:41:52	1244	[DEBUG]	Find the custom field ID
2023-10-13	12:41:52	1244	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:52	1244	[DEBUG]	No custom field ID found
2023-10-13	12:41:52	1244	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:52	1244	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:52	1244	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860736 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:52	1244	[DEBUG]	Store custom available field
2023-10-13	12:41:52	1244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860736,3,'0',1)
2023-10-13	12:41:52	1244	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:52	1244	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:52	1244	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860736 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:52	1244	[DEBUG]	Store custom available field
2023-10-13	12:41:52	1244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860736,6,'choisir la taille',3)
2023-10-13	12:41:52	1244	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:52	1244	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:52	1244	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:52	1244	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:52	1244	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860736 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:52	1244	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:52	1244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860736,8,1)
2023-10-13	12:41:52	1244	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:52	1244	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860736\":[1860736,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860736
2023-10-13	12:41:52	1244	[DEBUG]	Checking category
2023-10-13	12:41:52	1244	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:52	1244	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860736
2023-10-13	12:41:52	1244	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:52	1244	[DEBUG]	Executed store
2023-10-13	12:41:52	1244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860736','7295')
2023-10-13	12:41:52	1244	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:52	1244	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860736 AND `virtuemart_category_id` NOT IN (7295)
2023-10-13	12:41:52	1244	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:52	1244	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860736
2023-10-13	12:41:52	1245	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:52	1245	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:52	1245	[DEBUG]	Use field value for field taille
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:52	1245	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:52	1245	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:52	1245	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:52	1245	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:52	1245	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:52	1245	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:52	1245	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:52	1245	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:52	1245	[DEBUG]	Use field value for field published
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:52	1245	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field override
2023-10-13	12:41:52	1245	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:52	1245	[DEBUG]	Use field value for field slug
2023-10-13	12:41:52	1245	[DEBUG]	Process line 1245
2023-10-13	12:41:52	1245	[DEBUG]	Load a row
2023-10-13	12:41:52	1245	[DEBUG]	Processing item: 4026495100120
2023-10-13	12:41:52	1245	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:52	1245	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:52	1245	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6460_208'
2023-10-13	12:41:52	1245	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:52	1245	[DEBUG]	Processing product tax
2023-10-13	12:41:52	1245	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:52	1245	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:52	1245	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:52	1245	[DEBUG]	Query for Product
2023-10-13	12:41:52	1245	[DEBUG]	Executed store
2023-10-13	12:41:52	1245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860736','4026495100120','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:52	1245	[DEBUG]	No parent found
2023-10-13	12:41:52	1245	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860736 AND customfield_value = 'stockable'
2023-10-13	12:41:52	1245	[DEBUG]	Check product language entry
2023-10-13	12:41:52	1245	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860737
2023-10-13	12:41:52	1245	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:52	1245	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495100120' AND `virtuemart_product_id` != 1860737
2023-10-13	12:41:52	1245	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:52	1245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860737, '4026495100120')
2023-10-13	12:41:52	1245	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:52	1245	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-av6-20-28-40-406-valve-auto-aucune-all' AND `virtuemart_product_id` != 1860737
2023-10-13	12:41:52	1245	[DEBUG]	Query for ProductLang
2023-10-13	12:41:52	1245	[DEBUG]	Executed store
2023-10-13	12:41:52	1245	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Chambre-à-air AV6 20, 28/40-406 valve auto / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-av6-20-28-40-406-valve-auto-aucune-all' WHERE `virtuemart_product_id` = '1860737'
2023-10-13	12:41:52	1245	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32343_schwalbe_chambre_à_air_av6_20__28-40-406_valve_auto.jpg
2023-10-13	12:41:52	1245	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:52	1245	[DEBUG]	Process image file
2023-10-13	12:41:52	1245	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:52	1245	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:52	1245	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32343_schwalbe_chambre_à_air_av6_20__28-40-406_valve_auto.jpg
2023-10-13	12:41:52	1245	[DEBUG]	Full name target: bcprisme/32343_schwalbe_chambre_à_air_av6_20__28-40-406_valve_auto.jpg
2023-10-13	12:41:53	1245	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:53	1245	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32343_schwalbe_chambre_à_air_av6_20__28-40-406_valve_auto.jpg'
2023-10-13	12:41:53	1245	[DEBUG]	Query for Media
2023-10-13	12:41:53	1245	[DEBUG]	Executed store
2023-10-13	12:41:53	1245	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32343_schwalbe_chambre_à_air_av6_20__28-40-406_valve_auto.jpg',`file_url_thumb`='bcprisme/32343_schwalbe_chambre_à_air_av6_20__28-40-406_valve_auto.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12600'
2023-10-13	12:41:53	1245	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:53	1245	[DEBUG]	Executed store
2023-10-13	12:41:53	1245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860737','12600','1')
2023-10-13	12:41:53	1245	[DEBUG]	Store product image relation
2023-10-13	12:41:53	1245	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:53	1245	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860737 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:53	1245	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:53	1245	[DEBUG]	Executed store
2023-10-13	12:41:53	1245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860737','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:53	1245	[DEBUG]	Checking manufacturer
2023-10-13	12:41:53	1245	[DEBUG]	Load a row
2023-10-13	12:41:53	1245	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:53	1245	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:53	1245	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:53	1245	[DEBUG]	Executed store
2023-10-13	12:41:53	1245	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:53	1245	[DEBUG]	Manufacturer exists
2023-10-13	12:41:53	1245	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	12:41:53	1245	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:53	1245	[DEBUG]	Executed store
2023-10-13	12:41:53	1245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860737','77')
2023-10-13	12:41:53	1245	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:53	1245	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:53	1245	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860737 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:53	1245	[DEBUG]	Store custom available field
2023-10-13	12:41:53	1245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860737,3,'',1)
2023-10-13	12:41:53	1245	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:53	1245	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:41:53	1245	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860737 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:53	1245	[DEBUG]	Store custom available field
2023-10-13	12:41:53	1245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860737,6,'All',3)
2023-10-13	12:41:53	1245	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:53	1245	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:53	1245	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860736
2023-10-13	12:41:53	1245	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:53	1245	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860736\":[1860736,8,1,\"choisir la taille\"],\"1860737\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860736
2023-10-13	12:41:53	1245	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:53	1245	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860737
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:53	1246	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field taille
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:53	1246	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:53	1246	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:53	1246	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:53	1246	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:53	1246	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:53	1246	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field published
2023-10-13	12:41:53	1246	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:53	1246	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field override
2023-10-13	12:41:53	1246	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:54	1246	[DEBUG]	Use field value for field slug
2023-10-13	12:41:54	1246	[DEBUG]	Process line 1246
2023-10-13	12:41:54	1246	[DEBUG]	Load a row
2023-10-13	12:41:54	1246	[DEBUG]	Processing item: A_6505_208
2023-10-13	12:41:54	1246	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:54	1246	[DEBUG]	Processing product tax
2023-10-13	12:41:54	1246	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:54	1246	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:54	1246	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:54	1246	[DEBUG]	Query for Product
2023-10-13	12:41:54	1246	[DEBUG]	Executed store
2023-10-13	12:41:54	1246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6505_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:54	1246	[DEBUG]	Check product language entry
2023-10-13	12:41:54	1246	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860738
2023-10-13	12:41:54	1246	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:54	1246	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6505_208' AND `virtuemart_product_id` != 1860738
2023-10-13	12:41:54	1246	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:54	1246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860738, 'A_6505_208')
2023-10-13	12:41:54	1246	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:54	1246	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-av7-20-40-62-406-valve-auto-aucune' AND `virtuemart_product_id` != 1860738
2023-10-13	12:41:54	1246	[DEBUG]	Query for ProductLang
2023-10-13	12:41:54	1246	[DEBUG]	Executed store
2023-10-13	12:41:54	1246	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56748',`product_name`='Schwalbe Chambre-à-air AV7 20, 40/62-406 valve auto / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-av7-20-40-62-406-valve-auto-aucune' WHERE `virtuemart_product_id` = '1860738'
2023-10-13	12:41:54	1246	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32387_schwalbe_chambre_à_air_av7_20__40-62-406_valve_auto.jpg
2023-10-13	12:41:54	1246	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:54	1246	[DEBUG]	Process image file
2023-10-13	12:41:54	1246	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:54	1246	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:54	1246	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32387_schwalbe_chambre_à_air_av7_20__40-62-406_valve_auto.jpg
2023-10-13	12:41:54	1246	[DEBUG]	Full name target: bcprisme/32387_schwalbe_chambre_à_air_av7_20__40-62-406_valve_auto.jpg
2023-10-13	12:41:55	1246	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:55	1246	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32387_schwalbe_chambre_à_air_av7_20__40-62-406_valve_auto.jpg'
2023-10-13	12:41:55	1246	[DEBUG]	Query for Media
2023-10-13	12:41:55	1246	[DEBUG]	Executed store
2023-10-13	12:41:55	1246	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32387_schwalbe_chambre_à_air_av7_20__40-62-406_valve_auto.jpg',`file_url_thumb`='bcprisme/32387_schwalbe_chambre_à_air_av7_20__40-62-406_valve_auto.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12601'
2023-10-13	12:41:55	1246	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:55	1246	[DEBUG]	Executed store
2023-10-13	12:41:55	1246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860738','12601','1')
2023-10-13	12:41:55	1246	[DEBUG]	Store product image relation
2023-10-13	12:41:55	1246	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:55	1246	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860738 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:55	1246	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:55	1246	[DEBUG]	Executed store
2023-10-13	12:41:55	1246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860738','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:55	1246	[DEBUG]	Checking manufacturer
2023-10-13	12:41:55	1246	[DEBUG]	Load a row
2023-10-13	12:41:55	1246	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:55	1246	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:55	1246	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:55	1246	[DEBUG]	Executed store
2023-10-13	12:41:55	1246	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:55	1246	[DEBUG]	Manufacturer exists
2023-10-13	12:41:55	1246	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	12:41:55	1246	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:55	1246	[DEBUG]	Executed store
2023-10-13	12:41:55	1246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860738','77')
2023-10-13	12:41:55	1246	[DEBUG]	Find the custom field ID
2023-10-13	12:41:55	1246	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:55	1246	[DEBUG]	No custom field ID found
2023-10-13	12:41:55	1246	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:55	1246	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:55	1246	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860738 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:55	1246	[DEBUG]	Store custom available field
2023-10-13	12:41:55	1246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860738,3,'0',1)
2023-10-13	12:41:55	1246	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:55	1246	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:55	1246	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860738 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:55	1246	[DEBUG]	Store custom available field
2023-10-13	12:41:55	1246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860738,6,'choisir la taille',3)
2023-10-13	12:41:55	1246	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:55	1246	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:55	1246	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:55	1246	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:55	1246	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860738 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:55	1246	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:55	1246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860738,8,1)
2023-10-13	12:41:55	1246	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:55	1246	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860738\":[1860738,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860738
2023-10-13	12:41:55	1246	[DEBUG]	Checking category
2023-10-13	12:41:55	1246	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:55	1246	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860738
2023-10-13	12:41:55	1246	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:55	1246	[DEBUG]	Executed store
2023-10-13	12:41:55	1246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860738','7295')
2023-10-13	12:41:55	1246	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:55	1246	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860738 AND `virtuemart_category_id` NOT IN (7295)
2023-10-13	12:41:55	1246	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:55	1246	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860738
2023-10-13	12:41:55	1247	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:55	1247	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:55	1247	[DEBUG]	Use field value for field taille
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:55	1247	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:55	1247	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:55	1247	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:55	1247	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:55	1247	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:55	1247	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:55	1247	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:55	1247	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:55	1247	[DEBUG]	Use field value for field published
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:55	1247	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field override
2023-10-13	12:41:55	1247	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:55	1247	[DEBUG]	Use field value for field slug
2023-10-13	12:41:55	1247	[DEBUG]	Process line 1247
2023-10-13	12:41:55	1247	[DEBUG]	Load a row
2023-10-13	12:41:55	1247	[DEBUG]	Processing item: 4026495100168
2023-10-13	12:41:55	1247	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:55	1247	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:55	1247	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6505_208'
2023-10-13	12:41:55	1247	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:55	1247	[DEBUG]	Processing product tax
2023-10-13	12:41:55	1247	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:55	1247	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:55	1247	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:55	1247	[DEBUG]	Query for Product
2023-10-13	12:41:55	1247	[DEBUG]	Executed store
2023-10-13	12:41:55	1247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860738','4026495100168','0','KG','M','','11','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:55	1247	[DEBUG]	No parent found
2023-10-13	12:41:55	1247	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860738 AND customfield_value = 'stockable'
2023-10-13	12:41:55	1247	[DEBUG]	Check product language entry
2023-10-13	12:41:55	1247	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860739
2023-10-13	12:41:55	1247	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:55	1247	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495100168' AND `virtuemart_product_id` != 1860739
2023-10-13	12:41:55	1247	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:55	1247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860739, '4026495100168')
2023-10-13	12:41:55	1247	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:55	1247	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-av7-20-40-62-406-valve-auto-aucune-all' AND `virtuemart_product_id` != 1860739
2023-10-13	12:41:55	1247	[DEBUG]	Query for ProductLang
2023-10-13	12:41:55	1247	[DEBUG]	Executed store
2023-10-13	12:41:55	1247	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Chambre-à-air AV7 20, 40/62-406 valve auto / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-av7-20-40-62-406-valve-auto-aucune-all' WHERE `virtuemart_product_id` = '1860739'
2023-10-13	12:41:55	1247	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32387_schwalbe_chambre_à_air_av7_20__40-62-406_valve_auto.jpg
2023-10-13	12:41:55	1247	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:55	1247	[DEBUG]	Process image file
2023-10-13	12:41:55	1247	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:55	1247	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:55	1247	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32387_schwalbe_chambre_à_air_av7_20__40-62-406_valve_auto.jpg
2023-10-13	12:41:55	1247	[DEBUG]	Full name target: bcprisme/32387_schwalbe_chambre_à_air_av7_20__40-62-406_valve_auto.jpg
2023-10-13	12:41:56	1247	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:56	1247	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32387_schwalbe_chambre_à_air_av7_20__40-62-406_valve_auto.jpg'
2023-10-13	12:41:56	1247	[DEBUG]	Query for Media
2023-10-13	12:41:56	1247	[DEBUG]	Executed store
2023-10-13	12:41:56	1247	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32387_schwalbe_chambre_à_air_av7_20__40-62-406_valve_auto.jpg',`file_url_thumb`='bcprisme/32387_schwalbe_chambre_à_air_av7_20__40-62-406_valve_auto.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12601'
2023-10-13	12:41:56	1247	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:56	1247	[DEBUG]	Executed store
2023-10-13	12:41:56	1247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860739','12601','1')
2023-10-13	12:41:56	1247	[DEBUG]	Store product image relation
2023-10-13	12:41:56	1247	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:56	1247	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860739 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:56	1247	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:56	1247	[DEBUG]	Executed store
2023-10-13	12:41:56	1247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860739','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:56	1247	[DEBUG]	Checking manufacturer
2023-10-13	12:41:56	1247	[DEBUG]	Load a row
2023-10-13	12:41:56	1247	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:56	1247	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:56	1247	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:56	1247	[DEBUG]	Executed store
2023-10-13	12:41:56	1247	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:41:56	1247	[DEBUG]	Manufacturer exists
2023-10-13	12:41:56	1247	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	12:41:56	1247	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:56	1247	[DEBUG]	Executed store
2023-10-13	12:41:56	1247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860739','77')
2023-10-13	12:41:56	1247	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:56	1247	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:56	1247	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860739 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:56	1247	[DEBUG]	Store custom available field
2023-10-13	12:41:56	1247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860739,3,'',1)
2023-10-13	12:41:56	1247	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:56	1247	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:41:56	1247	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860739 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:56	1247	[DEBUG]	Store custom available field
2023-10-13	12:41:56	1247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860739,6,'All',3)
2023-10-13	12:41:56	1247	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:56	1247	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:56	1247	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860738
2023-10-13	12:41:56	1247	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:56	1247	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860738\":[1860738,8,1,\"choisir la taille\"],\"1860739\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860738
2023-10-13	12:41:56	1247	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:56	1247	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860739
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:56	1248	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field taille
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:56	1248	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:56	1248	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:56	1248	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:56	1248	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:56	1248	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:56	1248	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field published
2023-10-13	12:41:56	1248	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:56	1248	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field override
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:56	1248	[DEBUG]	Use field value for field slug
2023-10-13	12:41:56	1248	[DEBUG]	Process line 1248
2023-10-13	12:41:56	1248	[DEBUG]	Load a row
2023-10-13	12:41:56	1248	[DEBUG]	Processing item: A_7303_1
2023-10-13	12:41:56	1248	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:56	1248	[DEBUG]	Processing product tax
2023-10-13	12:41:56	1248	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:56	1248	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:56	1248	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:56	1248	[DEBUG]	Query for Product
2023-10-13	12:41:56	1248	[DEBUG]	Executed store
2023-10-13	12:41:56	1248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7303_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:56	1248	[DEBUG]	Check product language entry
2023-10-13	12:41:56	1248	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860740
2023-10-13	12:41:56	1248	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:56	1248	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7303_1' AND `virtuemart_product_id` != 1860740
2023-10-13	12:41:56	1248	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:56	1248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860740, 'A_7303_1')
2023-10-13	12:41:56	1248	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:56	1248	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-msc-20x1-910-2-125-sv-noir' AND `virtuemart_product_id` != 1860740
2023-10-13	12:41:56	1248	[DEBUG]	Query for ProductLang
2023-10-13	12:41:56	1248	[DEBUG]	Executed store
2023-10-13	12:41:56	1248	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : TU201902125SV',`product_name`='MSC Chambre-à-air MSC 20X1.910/2.125 SV  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-msc-20x1-910-2-125-sv-noir' WHERE `virtuemart_product_id` = '1860740'
2023-10-13	12:41:56	1248	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34508_chambre-à-air_msc_24x1_910-2_125_sv_.jpg
2023-10-13	12:41:56	1248	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:56	1248	[DEBUG]	Process image file
2023-10-13	12:41:56	1248	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:56	1248	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:56	1248	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34508_chambre-à-air_msc_24x1_910-2_125_sv_.jpg
2023-10-13	12:41:56	1248	[DEBUG]	Full name target: bcprisme/34508_chambre-à-air_msc_24x1_910-2_125_sv_.jpg
2023-10-13	12:41:57	1248	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:57	1248	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34508_chambre-à-air_msc_24x1_910-2_125_sv_.jpg'
2023-10-13	12:41:57	1248	[DEBUG]	Query for Media
2023-10-13	12:41:57	1248	[DEBUG]	Executed store
2023-10-13	12:41:57	1248	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34508_chambre-à-air_msc_24x1_910-2_125_sv_.jpg',`file_url_thumb`='bcprisme/34508_chambre-à-air_msc_24x1_910-2_125_sv_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '264888'
2023-10-13	12:41:57	1248	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:57	1248	[DEBUG]	Executed store
2023-10-13	12:41:57	1248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860740','264888','1')
2023-10-13	12:41:57	1248	[DEBUG]	Store product image relation
2023-10-13	12:41:57	1248	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:57	1248	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860740 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:57	1248	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:57	1248	[DEBUG]	Executed store
2023-10-13	12:41:57	1248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860740','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:57	1248	[DEBUG]	Checking manufacturer
2023-10-13	12:41:57	1248	[DEBUG]	Load a row
2023-10-13	12:41:57	1248	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:57	1248	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:41:57	1248	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:57	1248	[DEBUG]	Executed store
2023-10-13	12:41:57	1248	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:41:57	1248	[DEBUG]	Manufacturer exists
2023-10-13	12:41:57	1248	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:41:57	1248	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:57	1248	[DEBUG]	Executed store
2023-10-13	12:41:57	1248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860740','32')
2023-10-13	12:41:57	1248	[DEBUG]	Find the custom field ID
2023-10-13	12:41:57	1248	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:41:57	1248	[DEBUG]	No custom field ID found
2023-10-13	12:41:57	1248	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:57	1248	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:41:57	1248	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860740 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:57	1248	[DEBUG]	Store custom available field
2023-10-13	12:41:57	1248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860740,3,'0',1)
2023-10-13	12:41:57	1248	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:57	1248	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:41:57	1248	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860740 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:57	1248	[DEBUG]	Store custom available field
2023-10-13	12:41:57	1248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860740,6,'choisir la taille',3)
2023-10-13	12:41:57	1248	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:57	1248	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:41:57	1248	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:41:57	1248	[DEBUG]	Find the multi variant product entry
2023-10-13	12:41:57	1248	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860740 AND `virtuemart_custom_id` = 8
2023-10-13	12:41:57	1248	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:41:57	1248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860740,8,1)
2023-10-13	12:41:57	1248	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:57	1248	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860740\":[1860740,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860740
2023-10-13	12:41:57	1248	[DEBUG]	Checking category
2023-10-13	12:41:57	1248	[DEBUG]	Get the existing categories for the product
2023-10-13	12:41:57	1248	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860740
2023-10-13	12:41:57	1248	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:41:57	1248	[DEBUG]	Executed store
2023-10-13	12:41:57	1248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860740','7295')
2023-10-13	12:41:57	1248	[DEBUG]	Delete leftover product categories
2023-10-13	12:41:57	1248	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860740 AND `virtuemart_category_id` NOT IN (7295)
2023-10-13	12:41:57	1248	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:57	1248	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860740
2023-10-13	12:41:57	1249	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:57	1249	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:41:57	1249	[DEBUG]	Use field value for field taille
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:41:57	1249	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field category_path
2023-10-13	12:41:57	1249	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:57	1249	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:57	1249	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:57	1249	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:41:57	1249	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field product_weight
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:57	1249	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:57	1249	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:57	1249	[DEBUG]	Use field value for field published
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field custom_title
2023-10-13	12:41:57	1249	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field custom_param
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field override
2023-10-13	12:41:57	1249	[DEBUG]	Use default value for field public_price
2023-10-13	12:41:57	1249	[DEBUG]	Use field value for field slug
2023-10-13	12:41:57	1249	[DEBUG]	Process line 1249
2023-10-13	12:41:57	1249	[DEBUG]	Load a row
2023-10-13	12:41:57	1249	[DEBUG]	Processing item: 8435466217037
2023-10-13	12:41:57	1249	[DEBUG]	Looking for parent SKU
2023-10-13	12:41:57	1249	[DEBUG]	Checking product parent SKU
2023-10-13	12:41:57	1249	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7303_1'
2023-10-13	12:41:57	1249	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:57	1249	[DEBUG]	Processing product tax
2023-10-13	12:41:57	1249	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:57	1249	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:57	1249	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:57	1249	[DEBUG]	Query for Product
2023-10-13	12:41:57	1249	[DEBUG]	Executed store
2023-10-13	12:41:57	1249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860740','8435466217037','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:57	1249	[DEBUG]	No parent found
2023-10-13	12:41:57	1249	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860740 AND customfield_value = 'stockable'
2023-10-13	12:41:57	1249	[DEBUG]	Check product language entry
2023-10-13	12:41:57	1249	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860741
2023-10-13	12:41:57	1249	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:57	1249	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466217037' AND `virtuemart_product_id` != 1860741
2023-10-13	12:41:57	1249	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:57	1249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860741, '8435466217037')
2023-10-13	12:41:57	1249	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:57	1249	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-msc-20x1-910-2-125-sv-noir-unitaire' AND `virtuemart_product_id` != 1860741
2023-10-13	12:41:57	1249	[DEBUG]	Query for ProductLang
2023-10-13	12:41:57	1249	[DEBUG]	Executed store
2023-10-13	12:41:57	1249	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air MSC 20X1.910/2.125 SV  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-msc-20x1-910-2-125-sv-noir-unitaire' WHERE `virtuemart_product_id` = '1860741'
2023-10-13	12:41:57	1249	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34508_chambre-à-air_msc_24x1_910-2_125_sv_.jpg
2023-10-13	12:41:57	1249	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:57	1249	[DEBUG]	Process image file
2023-10-13	12:41:57	1249	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:57	1249	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:57	1249	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34508_chambre-à-air_msc_24x1_910-2_125_sv_.jpg
2023-10-13	12:41:57	1249	[DEBUG]	Full name target: bcprisme/34508_chambre-à-air_msc_24x1_910-2_125_sv_.jpg
2023-10-13	12:41:58	1249	[DEBUG]	Checking if the file_url exists
2023-10-13	12:41:58	1249	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34508_chambre-à-air_msc_24x1_910-2_125_sv_.jpg'
2023-10-13	12:41:58	1249	[DEBUG]	Query for Media
2023-10-13	12:41:58	1249	[DEBUG]	Executed store
2023-10-13	12:41:58	1249	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34508_chambre-à-air_msc_24x1_910-2_125_sv_.jpg',`file_url_thumb`='bcprisme/34508_chambre-à-air_msc_24x1_910-2_125_sv_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '264888'
2023-10-13	12:41:58	1249	[DEBUG]	Query for ProductMedia
2023-10-13	12:41:58	1249	[DEBUG]	Executed store
2023-10-13	12:41:58	1249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860741','264888','1')
2023-10-13	12:41:58	1249	[DEBUG]	Store product image relation
2023-10-13	12:41:58	1249	[DEBUG]	Finding a product_price_id
2023-10-13	12:41:58	1249	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860741 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:41:58	1249	[DEBUG]	Query for ProductPrice
2023-10-13	12:41:58	1249	[DEBUG]	Executed store
2023-10-13	12:41:58	1249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860741','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:41:58	1249	[DEBUG]	Checking manufacturer
2023-10-13	12:41:58	1249	[DEBUG]	Load a row
2023-10-13	12:41:58	1249	[DEBUG]	Manufacturer already exists
2023-10-13	12:41:58	1249	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:41:58	1249	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:41:58	1249	[DEBUG]	Executed store
2023-10-13	12:41:58	1249	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:41:58	1249	[DEBUG]	Manufacturer exists
2023-10-13	12:41:58	1249	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:41:58	1249	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:41:58	1249	[DEBUG]	Executed store
2023-10-13	12:41:58	1249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860741','32')
2023-10-13	12:41:58	1249	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:41:58	1249	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:41:58	1249	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860741 AND `virtuemart_custom_id` = 3
2023-10-13	12:41:58	1249	[DEBUG]	Store custom available field
2023-10-13	12:41:58	1249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860741,3,'',1)
2023-10-13	12:41:58	1249	[DEBUG]	Processing custom available field: taille
2023-10-13	12:41:58	1249	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:41:58	1249	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860741 AND `virtuemart_custom_id` = 6
2023-10-13	12:41:58	1249	[DEBUG]	Store custom available field
2023-10-13	12:41:58	1249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860741,6,'Unitaire',3)
2023-10-13	12:41:58	1249	[DEBUG]	Process multi-variant fields
2023-10-13	12:41:58	1249	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:41:58	1249	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860740
2023-10-13	12:41:58	1249	[DEBUG]	Store the updated customfield_params
2023-10-13	12:41:58	1249	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860740\":[1860740,8,1,\"choisir la taille\"],\"1860741\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860740
2023-10-13	12:41:58	1249	[DEBUG]	Update has fields after all processing
2023-10-13	12:41:58	1249	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860741
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field product_sku
2023-10-13	12:41:58	1250	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field taille
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field product_name
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field category_path
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field product_price
2023-10-13	12:41:58	1250	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field product_tax
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field file_url
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:41:58	1250	[DEBUG]	Use default value for field product_desc
2023-10-13	12:41:58	1250	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field product_availability
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field product_weight
2023-10-13	12:41:58	1250	[DEBUG]	Use default value for field product_unit
2023-10-13	12:41:58	1250	[DEBUG]	Use default value for field related_products
2023-10-13	12:41:58	1250	[DEBUG]	Use default value for field product_special
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field published
2023-10-13	12:41:58	1250	[DEBUG]	Use default value for field metadesc
2023-10-13	12:41:58	1250	[DEBUG]	Use default value for field metakey
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field custom_title
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field custom_value
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field custom_param
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field override
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field public_price
2023-10-13	12:41:58	1250	[DEBUG]	Use field value for field slug
2023-10-13	12:41:58	1250	[DEBUG]	Process line 1250
2023-10-13	12:41:58	1250	[DEBUG]	Load a row
2023-10-13	12:41:58	1250	[DEBUG]	Processing item: A_7596_208
2023-10-13	12:41:58	1250	[DEBUG]	Product tax: 7.7
2023-10-13	12:41:58	1250	[DEBUG]	Processing product tax
2023-10-13	12:41:58	1250	[DEBUG]	Check if calculation rule exists
2023-10-13	12:41:58	1250	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:41:58	1250	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:41:58	1250	[DEBUG]	Query for Product
2023-10-13	12:41:58	1250	[DEBUG]	Executed store
2023-10-13	12:41:58	1250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7596_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:41:58	1250	[DEBUG]	Check product language entry
2023-10-13	12:41:58	1250	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860742
2023-10-13	12:41:58	1250	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:58	1250	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7596_208' AND `virtuemart_product_id` != 1860742
2023-10-13	12:41:58	1250	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:41:58	1250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860742, 'A_7596_208')
2023-10-13	12:41:58	1250	[DEBUG]	Check if the product slug exists
2023-10-13	12:41:58	1250	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv6-20-28-40-406-valve-presta-aucune' AND `virtuemart_product_id` != 1860742
2023-10-13	12:41:58	1250	[DEBUG]	Query for ProductLang
2023-10-13	12:41:58	1250	[DEBUG]	Executed store
2023-10-13	12:41:58	1250	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.58457',`product_name`='SCHWALBE Chambre-à-air SV6 20 28/40-406 valve presta / &#60;aucune&#62;&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv6-20-28-40-406-valve-presta-aucune' WHERE `virtuemart_product_id` = '1860742'
2023-10-13	12:41:58	1250	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004.jpg
2023-10-13	12:41:58	1250	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:58	1250	[DEBUG]	Process image file
2023-10-13	12:41:58	1250	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:41:58	1250	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:41:58	1250	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004.jpg
2023-10-13	12:41:58	1250	[DEBUG]	Full name target: bcprisme/svlong_2004.jpg
2023-10-13	12:42:01	1250	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:01	1250	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/svlong_2004.jpg'
2023-10-13	12:42:01	1250	[DEBUG]	Query for Media
2023-10-13	12:42:01	1250	[DEBUG]	Executed store
2023-10-13	12:42:01	1250	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/svlong_2004.jpg',`file_url_thumb`='bcprisme/svlong_2004.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '202281'
2023-10-13	12:42:01	1250	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:02	1250	[DEBUG]	Executed store
2023-10-13	12:42:02	1250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860742','202281','1')
2023-10-13	12:42:02	1250	[DEBUG]	Store product image relation
2023-10-13	12:42:02	1250	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:02	1250	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860742 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:02	1250	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:02	1250	[DEBUG]	Executed store
2023-10-13	12:42:02	1250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860742','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:02	1250	[DEBUG]	Checking manufacturer
2023-10-13	12:42:02	1250	[DEBUG]	Load a row
2023-10-13	12:42:02	1250	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:02	1250	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:42:02	1250	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:02	1250	[DEBUG]	Executed store
2023-10-13	12:42:02	1250	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:42:02	1250	[DEBUG]	Manufacturer exists
2023-10-13	12:42:02	1250	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:42:02	1250	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:02	1250	[DEBUG]	Executed store
2023-10-13	12:42:02	1250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860742','24')
2023-10-13	12:42:02	1250	[DEBUG]	Find the custom field ID
2023-10-13	12:42:02	1250	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:02	1250	[DEBUG]	No custom field ID found
2023-10-13	12:42:02	1250	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:02	1250	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:42:02	1250	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860742 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:02	1250	[DEBUG]	Store custom available field
2023-10-13	12:42:02	1250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860742,3,'0',1)
2023-10-13	12:42:02	1250	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:02	1250	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:02	1250	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860742 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:02	1250	[DEBUG]	Store custom available field
2023-10-13	12:42:02	1250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860742,6,'choisir la taille',3)
2023-10-13	12:42:02	1250	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:02	1250	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:02	1250	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:02	1250	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:02	1250	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860742 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:02	1250	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:02	1250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860742,8,1)
2023-10-13	12:42:02	1250	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:02	1250	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860742\":[1860742,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860742
2023-10-13	12:42:02	1250	[DEBUG]	Checking category
2023-10-13	12:42:02	1250	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:02	1250	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860742
2023-10-13	12:42:02	1250	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:02	1250	[DEBUG]	Executed store
2023-10-13	12:42:02	1250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860742','7295')
2023-10-13	12:42:02	1250	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:02	1250	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860742 AND `virtuemart_category_id` NOT IN (7295)
2023-10-13	12:42:02	1250	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:02	1250	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860742
2023-10-13	12:42:02	1251	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:02	1251	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:02	1251	[DEBUG]	Use field value for field taille
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:02	1251	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:02	1251	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:02	1251	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:02	1251	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:02	1251	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:02	1251	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:02	1251	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:02	1251	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:02	1251	[DEBUG]	Use field value for field published
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:02	1251	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field override
2023-10-13	12:42:02	1251	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:02	1251	[DEBUG]	Use field value for field slug
2023-10-13	12:42:02	1251	[DEBUG]	Process line 1251
2023-10-13	12:42:02	1251	[DEBUG]	Load a row
2023-10-13	12:42:02	1251	[DEBUG]	Processing item: 4026495100144
2023-10-13	12:42:02	1251	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:02	1251	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:02	1251	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7596_208'
2023-10-13	12:42:02	1251	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:02	1251	[DEBUG]	Processing product tax
2023-10-13	12:42:02	1251	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:02	1251	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:02	1251	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:02	1251	[DEBUG]	Query for Product
2023-10-13	12:42:02	1251	[DEBUG]	Executed store
2023-10-13	12:42:02	1251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860742','4026495100144','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:02	1251	[DEBUG]	No parent found
2023-10-13	12:42:02	1251	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860742 AND customfield_value = 'stockable'
2023-10-13	12:42:02	1251	[DEBUG]	Check product language entry
2023-10-13	12:42:02	1251	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860743
2023-10-13	12:42:02	1251	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:02	1251	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495100144' AND `virtuemart_product_id` != 1860743
2023-10-13	12:42:02	1251	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:02	1251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860743, '4026495100144')
2023-10-13	12:42:02	1251	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:02	1251	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv6-20-28-40-406-valve-presta-aucune-unitaire' AND `virtuemart_product_id` != 1860743
2023-10-13	12:42:02	1251	[DEBUG]	Query for ProductLang
2023-10-13	12:42:02	1251	[DEBUG]	Executed store
2023-10-13	12:42:02	1251	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air SV6 20 28/40-406 valve presta / &#60;aucune&#62; (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv6-20-28-40-406-valve-presta-aucune-unitaire' WHERE `virtuemart_product_id` = '1860743'
2023-10-13	12:42:02	1251	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004.jpg
2023-10-13	12:42:02	1251	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:02	1251	[DEBUG]	Process image file
2023-10-13	12:42:02	1251	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:02	1251	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:02	1251	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004.jpg
2023-10-13	12:42:02	1251	[DEBUG]	Full name target: bcprisme/svlong_2004.jpg
2023-10-13	12:42:05	1251	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:05	1251	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/svlong_2004.jpg'
2023-10-13	12:42:05	1251	[DEBUG]	Query for Media
2023-10-13	12:42:05	1251	[DEBUG]	Executed store
2023-10-13	12:42:05	1251	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/svlong_2004.jpg',`file_url_thumb`='bcprisme/svlong_2004.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '202281'
2023-10-13	12:42:05	1251	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:05	1251	[DEBUG]	Executed store
2023-10-13	12:42:05	1251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860743','202281','1')
2023-10-13	12:42:05	1251	[DEBUG]	Store product image relation
2023-10-13	12:42:05	1251	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:05	1251	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860743 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:05	1251	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:05	1251	[DEBUG]	Executed store
2023-10-13	12:42:05	1251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860743','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:05	1251	[DEBUG]	Checking manufacturer
2023-10-13	12:42:05	1251	[DEBUG]	Load a row
2023-10-13	12:42:05	1251	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:05	1251	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:42:05	1251	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:05	1251	[DEBUG]	Executed store
2023-10-13	12:42:05	1251	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:42:05	1251	[DEBUG]	Manufacturer exists
2023-10-13	12:42:05	1251	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:42:05	1251	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:05	1251	[DEBUG]	Executed store
2023-10-13	12:42:05	1251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860743','24')
2023-10-13	12:42:05	1251	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:05	1251	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:05	1251	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860743 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:05	1251	[DEBUG]	Store custom available field
2023-10-13	12:42:05	1251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860743,3,'',1)
2023-10-13	12:42:05	1251	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:05	1251	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:05	1251	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860743 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:05	1251	[DEBUG]	Store custom available field
2023-10-13	12:42:05	1251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860743,6,'Unitaire',3)
2023-10-13	12:42:05	1251	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:05	1251	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:05	1251	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860742
2023-10-13	12:42:05	1251	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:05	1251	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860742\":[1860742,8,1,\"choisir la taille\"],\"1860743\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860742
2023-10-13	12:42:05	1251	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:05	1251	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860743
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:05	1252	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field taille
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:05	1252	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:05	1252	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:05	1252	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:05	1252	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:05	1252	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:05	1252	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field published
2023-10-13	12:42:05	1252	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:05	1252	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field override
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:05	1252	[DEBUG]	Use field value for field slug
2023-10-13	12:42:05	1252	[DEBUG]	Process line 1252
2023-10-13	12:42:05	1252	[DEBUG]	Load a row
2023-10-13	12:42:05	1252	[DEBUG]	Processing item: A_8356_84
2023-10-13	12:42:05	1252	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:05	1252	[DEBUG]	Processing product tax
2023-10-13	12:42:05	1252	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:05	1252	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:05	1252	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:05	1252	[DEBUG]	Query for Product
2023-10-13	12:42:05	1252	[DEBUG]	Executed store
2023-10-13	12:42:05	1252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8356_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:05	1252	[DEBUG]	Check product language entry
2023-10-13	12:42:05	1252	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860744
2023-10-13	12:42:05	1252	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:05	1252	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8356_84' AND `virtuemart_product_id` != 1860744
2023-10-13	12:42:05	1252	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:05	1252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860744, 'A_8356_84')
2023-10-13	12:42:05	1252	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:05	1252	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-chambre-a-air-standard-26x1-95-2-50-48-mm-valve-presta-black' AND `virtuemart_product_id` != 1860744
2023-10-13	12:42:05	1252	[DEBUG]	Query for ProductLang
2023-10-13	12:42:05	1252	[DEBUG]	Executed store
2023-10-13	12:42:05	1252	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.79873',`product_name`='VITTORIA Chambre-à-air Standard 26x1.95/2.50 48 mm valve presta / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-chambre-a-air-standard-26x1-95-2-50-48-mm-valve-presta-black' WHERE `virtuemart_product_id` = '1860744'
2023-10-13	12:42:05	1252	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79811_jpg.jpg
2023-10-13	12:42:05	1252	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:05	1252	[DEBUG]	Process image file
2023-10-13	12:42:05	1252	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:05	1252	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:05	1252	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79811_jpg.jpg
2023-10-13	12:42:05	1252	[DEBUG]	Full name target: bcprisme/24_79811_jpg.jpg
2023-10-13	12:42:06	1252	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:06	1252	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_79811_jpg.jpg'
2023-10-13	12:42:06	1252	[DEBUG]	Query for Media
2023-10-13	12:42:06	1252	[DEBUG]	Executed store
2023-10-13	12:42:06	1252	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_79811_jpg.jpg',`file_url_thumb`='bcprisme/24_79811_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '796711'
2023-10-13	12:42:06	1252	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:06	1252	[DEBUG]	Executed store
2023-10-13	12:42:06	1252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860744','796711','1')
2023-10-13	12:42:06	1252	[DEBUG]	Store product image relation
2023-10-13	12:42:06	1252	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:06	1252	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860744 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:06	1252	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:06	1252	[DEBUG]	Executed store
2023-10-13	12:42:06	1252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860744','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:06	1252	[DEBUG]	Checking manufacturer
2023-10-13	12:42:06	1252	[DEBUG]	Load a row
2023-10-13	12:42:06	1252	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:06	1252	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	12:42:06	1252	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:06	1252	[DEBUG]	Executed store
2023-10-13	12:42:06	1252	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	12:42:06	1252	[DEBUG]	Manufacturer exists
2023-10-13	12:42:06	1252	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	12:42:06	1252	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:06	1252	[DEBUG]	Executed store
2023-10-13	12:42:06	1252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860744','42')
2023-10-13	12:42:06	1252	[DEBUG]	Find the custom field ID
2023-10-13	12:42:06	1252	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:06	1252	[DEBUG]	No custom field ID found
2023-10-13	12:42:06	1252	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:06	1252	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:42:06	1252	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860744 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:06	1252	[DEBUG]	Store custom available field
2023-10-13	12:42:06	1252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860744,3,'0',1)
2023-10-13	12:42:06	1252	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:06	1252	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:06	1252	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860744 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:06	1252	[DEBUG]	Store custom available field
2023-10-13	12:42:06	1252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860744,6,'choisir la taille',3)
2023-10-13	12:42:06	1252	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:06	1252	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:06	1252	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:06	1252	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:06	1252	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860744 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:06	1252	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:06	1252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860744,8,1)
2023-10-13	12:42:06	1252	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:06	1252	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860744\":[1860744,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860744
2023-10-13	12:42:06	1252	[DEBUG]	Checking category
2023-10-13	12:42:06	1252	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:06	1252	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860744
2023-10-13	12:42:06	1252	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:06	1252	[DEBUG]	Executed store
2023-10-13	12:42:06	1252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860744','7295')
2023-10-13	12:42:06	1252	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:06	1252	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860744 AND `virtuemart_category_id` NOT IN (7295)
2023-10-13	12:42:06	1252	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:06	1252	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860744
2023-10-13	12:42:06	1253	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:06	1253	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:06	1253	[DEBUG]	Use field value for field taille
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:06	1253	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:06	1253	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:06	1253	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:06	1253	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:06	1253	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:06	1253	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:06	1253	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:06	1253	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:06	1253	[DEBUG]	Use field value for field published
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:06	1253	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field override
2023-10-13	12:42:06	1253	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:06	1253	[DEBUG]	Use field value for field slug
2023-10-13	12:42:06	1253	[DEBUG]	Process line 1253
2023-10-13	12:42:06	1253	[DEBUG]	Load a row
2023-10-13	12:42:06	1253	[DEBUG]	Processing item: 8022530009676
2023-10-13	12:42:06	1253	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:06	1253	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:06	1253	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8356_84'
2023-10-13	12:42:06	1253	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:06	1253	[DEBUG]	Processing product tax
2023-10-13	12:42:06	1253	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:06	1253	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:06	1253	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:06	1253	[DEBUG]	Query for Product
2023-10-13	12:42:06	1253	[DEBUG]	Executed store
2023-10-13	12:42:06	1253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860744','8022530009676','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:06	1253	[DEBUG]	No parent found
2023-10-13	12:42:06	1253	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860744 AND customfield_value = 'stockable'
2023-10-13	12:42:06	1253	[DEBUG]	Check product language entry
2023-10-13	12:42:06	1253	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860745
2023-10-13	12:42:06	1253	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:06	1253	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8022530009676' AND `virtuemart_product_id` != 1860745
2023-10-13	12:42:06	1253	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:06	1253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860745, '8022530009676')
2023-10-13	12:42:06	1253	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:06	1253	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-chambre-a-air-standard-26x1-95-2-50-48-mm-valve-presta-black-unitaire' AND `virtuemart_product_id` != 1860745
2023-10-13	12:42:06	1253	[DEBUG]	Query for ProductLang
2023-10-13	12:42:06	1253	[DEBUG]	Executed store
2023-10-13	12:42:06	1253	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='VITTORIA Chambre-à-air Standard 26x1.95/2.50 48 mm valve presta / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-chambre-a-air-standard-26x1-95-2-50-48-mm-valve-presta-black-unitaire' WHERE `virtuemart_product_id` = '1860745'
2023-10-13	12:42:06	1253	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79811_jpg.jpg
2023-10-13	12:42:06	1253	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:06	1253	[DEBUG]	Process image file
2023-10-13	12:42:06	1253	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:06	1253	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:06	1253	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79811_jpg.jpg
2023-10-13	12:42:06	1253	[DEBUG]	Full name target: bcprisme/24_79811_jpg.jpg
2023-10-13	12:42:07	1253	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:07	1253	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_79811_jpg.jpg'
2023-10-13	12:42:07	1253	[DEBUG]	Query for Media
2023-10-13	12:42:07	1253	[DEBUG]	Executed store
2023-10-13	12:42:07	1253	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_79811_jpg.jpg',`file_url_thumb`='bcprisme/24_79811_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '796711'
2023-10-13	12:42:07	1253	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:07	1253	[DEBUG]	Executed store
2023-10-13	12:42:07	1253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860745','796711','1')
2023-10-13	12:42:07	1253	[DEBUG]	Store product image relation
2023-10-13	12:42:07	1253	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:07	1253	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860745 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:07	1253	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:07	1253	[DEBUG]	Executed store
2023-10-13	12:42:07	1253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860745','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:07	1253	[DEBUG]	Checking manufacturer
2023-10-13	12:42:07	1253	[DEBUG]	Load a row
2023-10-13	12:42:07	1253	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:07	1253	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	12:42:07	1253	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:07	1253	[DEBUG]	Executed store
2023-10-13	12:42:07	1253	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	12:42:07	1253	[DEBUG]	Manufacturer exists
2023-10-13	12:42:07	1253	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	12:42:07	1253	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:07	1253	[DEBUG]	Executed store
2023-10-13	12:42:07	1253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860745','42')
2023-10-13	12:42:07	1253	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:07	1253	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:07	1253	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860745 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:07	1253	[DEBUG]	Store custom available field
2023-10-13	12:42:07	1253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860745,3,'',1)
2023-10-13	12:42:07	1253	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:07	1253	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:07	1253	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860745 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:07	1253	[DEBUG]	Store custom available field
2023-10-13	12:42:07	1253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860745,6,'Unitaire',3)
2023-10-13	12:42:07	1253	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:07	1253	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:07	1253	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860744
2023-10-13	12:42:07	1253	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:07	1253	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860744\":[1860744,8,1,\"choisir la taille\"],\"1860745\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860744
2023-10-13	12:42:07	1253	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:07	1253	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860745
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:07	1254	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field taille
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:07	1254	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:07	1254	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:07	1254	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:07	1254	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:07	1254	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:07	1254	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field published
2023-10-13	12:42:07	1254	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:07	1254	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field override
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:07	1254	[DEBUG]	Use field value for field slug
2023-10-13	12:42:07	1254	[DEBUG]	Process line 1254
2023-10-13	12:42:07	1254	[DEBUG]	Load a row
2023-10-13	12:42:07	1254	[DEBUG]	Processing item: A_165_1
2023-10-13	12:42:07	1254	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:07	1254	[DEBUG]	Processing product tax
2023-10-13	12:42:07	1254	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:07	1254	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:07	1254	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:07	1254	[DEBUG]	Query for Product
2023-10-13	12:42:07	1254	[DEBUG]	Executed store
2023-10-13	12:42:07	1254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_165_1','0.144','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:07	1254	[DEBUG]	Check product language entry
2023-10-13	12:42:07	1254	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860746
2023-10-13	12:42:07	1254	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:07	1254	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_165_1' AND `virtuemart_product_id` != 1860746
2023-10-13	12:42:07	1254	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:07	1254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860746, 'A_165_1')
2023-10-13	12:42:07	1254	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:07	1254	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-3003-24-x-1-5-1-75-sv-noir' AND `virtuemart_product_id` != 1860746
2023-10-13	12:42:07	1254	[DEBUG]	Query for ProductLang
2023-10-13	12:42:07	1254	[DEBUG]	Executed store
2023-10-13	12:42:07	1254	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='3003 24 x 1.5/1.75 SV, 144gr<br>N° art fourn : 24150175SV',`product_name`='MSC Chambre-à-air 3003 24 x 1.5/1.75 SV / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-3003-24-x-1-5-1-75-sv-noir' WHERE `virtuemart_product_id` = '1860746'
2023-10-13	12:42:07	1254	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_183.jpg
2023-10-13	12:42:07	1254	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:07	1254	[DEBUG]	Process image file
2023-10-13	12:42:07	1254	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:07	1254	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:07	1254	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_183.jpg
2023-10-13	12:42:07	1254	[DEBUG]	Full name target: bcprisme/image_183.jpg
2023-10-13	12:42:09	1254	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:09	1254	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_183.jpg'
2023-10-13	12:42:09	1254	[DEBUG]	Query for Media
2023-10-13	12:42:09	1254	[DEBUG]	Executed store
2023-10-13	12:42:09	1254	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_183.jpg',`file_url_thumb`='bcprisme/image_183.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12602'
2023-10-13	12:42:09	1254	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:09	1254	[DEBUG]	Executed store
2023-10-13	12:42:09	1254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860746','12602','1')
2023-10-13	12:42:09	1254	[DEBUG]	Store product image relation
2023-10-13	12:42:09	1254	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:09	1254	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860746 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:09	1254	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:09	1254	[DEBUG]	Executed store
2023-10-13	12:42:09	1254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860746','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:09	1254	[DEBUG]	Checking manufacturer
2023-10-13	12:42:09	1254	[DEBUG]	Load a row
2023-10-13	12:42:09	1254	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:09	1254	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:09	1254	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:09	1254	[DEBUG]	Executed store
2023-10-13	12:42:09	1254	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:09	1254	[DEBUG]	Manufacturer exists
2023-10-13	12:42:09	1254	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:09	1254	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:09	1254	[DEBUG]	Executed store
2023-10-13	12:42:09	1254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860746','32')
2023-10-13	12:42:09	1254	[DEBUG]	Find the custom field ID
2023-10-13	12:42:09	1254	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:09	1254	[DEBUG]	No custom field ID found
2023-10-13	12:42:09	1254	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:09	1254	[DEBUG]	Get existing row with customfield value 8.47638888888889
2023-10-13	12:42:09	1254	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860746 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:09	1254	[DEBUG]	Store custom available field
2023-10-13	12:42:09	1254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860746,3,'8.47638888888889',1)
2023-10-13	12:42:09	1254	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:09	1254	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:09	1254	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860746 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:09	1254	[DEBUG]	Store custom available field
2023-10-13	12:42:09	1254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860746,6,'choisir la taille',3)
2023-10-13	12:42:09	1254	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:09	1254	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:09	1254	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:09	1254	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:09	1254	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860746 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:09	1254	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:09	1254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860746,8,1)
2023-10-13	12:42:09	1254	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:09	1254	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860746\":[1860746,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860746
2023-10-13	12:42:09	1254	[DEBUG]	Checking category
2023-10-13	12:42:09	1254	[DEBUG]	Check if category path exists: CHAMBRES-A-AIR 24/ SCHLAÜCHE 24
2023-10-13	12:42:09	1254	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIR 24/ SCHLAÜCHE 24' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7291
2023-10-13	12:42:09	1254	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:09	1254	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860746
2023-10-13	12:42:09	1254	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:09	1254	[DEBUG]	Executed store
2023-10-13	12:42:09	1254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860746','7296')
2023-10-13	12:42:09	1254	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:09	1254	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860746 AND `virtuemart_category_id` NOT IN (7296)
2023-10-13	12:42:09	1254	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:09	1254	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860746
2023-10-13	12:42:09	1255	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:09	1255	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:09	1255	[DEBUG]	Use field value for field taille
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:09	1255	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:09	1255	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:09	1255	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:09	1255	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:09	1255	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:09	1255	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:09	1255	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:09	1255	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:09	1255	[DEBUG]	Use field value for field published
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:09	1255	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field override
2023-10-13	12:42:09	1255	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:09	1255	[DEBUG]	Use field value for field slug
2023-10-13	12:42:09	1255	[DEBUG]	Process line 1255
2023-10-13	12:42:09	1255	[DEBUG]	Load a row
2023-10-13	12:42:09	1255	[DEBUG]	Processing item: 8436041133865
2023-10-13	12:42:09	1255	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:09	1255	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:09	1255	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_165_1'
2023-10-13	12:42:09	1255	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:09	1255	[DEBUG]	Processing product tax
2023-10-13	12:42:09	1255	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:09	1255	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:09	1255	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:09	1255	[DEBUG]	Query for Product
2023-10-13	12:42:09	1255	[DEBUG]	Executed store
2023-10-13	12:42:09	1255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860746','8436041133865','0','KG','M','','79','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:09	1255	[DEBUG]	No parent found
2023-10-13	12:42:09	1255	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860746 AND customfield_value = 'stockable'
2023-10-13	12:42:09	1255	[DEBUG]	Check product language entry
2023-10-13	12:42:09	1255	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860747
2023-10-13	12:42:09	1255	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:09	1255	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041133865' AND `virtuemart_product_id` != 1860747
2023-10-13	12:42:09	1255	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:09	1255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860747, '8436041133865')
2023-10-13	12:42:09	1255	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:09	1255	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-3003-24-x-1-5-1-75-sv-noir-unitaire' AND `virtuemart_product_id` != 1860747
2023-10-13	12:42:09	1255	[DEBUG]	Query for ProductLang
2023-10-13	12:42:09	1255	[DEBUG]	Executed store
2023-10-13	12:42:09	1255	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 3003 24 x 1.5/1.75 SV / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-3003-24-x-1-5-1-75-sv-noir-unitaire' WHERE `virtuemart_product_id` = '1860747'
2023-10-13	12:42:09	1255	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_183.jpg
2023-10-13	12:42:09	1255	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:09	1255	[DEBUG]	Process image file
2023-10-13	12:42:09	1255	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:09	1255	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:09	1255	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_183.jpg
2023-10-13	12:42:09	1255	[DEBUG]	Full name target: bcprisme/image_183.jpg
2023-10-13	12:42:10	1255	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:10	1255	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_183.jpg'
2023-10-13	12:42:10	1255	[DEBUG]	Query for Media
2023-10-13	12:42:10	1255	[DEBUG]	Executed store
2023-10-13	12:42:10	1255	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_183.jpg',`file_url_thumb`='bcprisme/image_183.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12602'
2023-10-13	12:42:10	1255	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:10	1255	[DEBUG]	Executed store
2023-10-13	12:42:10	1255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860747','12602','1')
2023-10-13	12:42:10	1255	[DEBUG]	Store product image relation
2023-10-13	12:42:10	1255	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:10	1255	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860747 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:10	1255	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:10	1255	[DEBUG]	Executed store
2023-10-13	12:42:10	1255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860747','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:10	1255	[DEBUG]	Checking manufacturer
2023-10-13	12:42:10	1255	[DEBUG]	Load a row
2023-10-13	12:42:10	1255	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:10	1255	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:10	1255	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:10	1255	[DEBUG]	Executed store
2023-10-13	12:42:10	1255	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:10	1255	[DEBUG]	Manufacturer exists
2023-10-13	12:42:10	1255	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:10	1255	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:10	1255	[DEBUG]	Executed store
2023-10-13	12:42:10	1255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860747','32')
2023-10-13	12:42:10	1255	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:10	1255	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:10	1255	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860747 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:10	1255	[DEBUG]	Store custom available field
2023-10-13	12:42:10	1255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860747,3,'',1)
2023-10-13	12:42:10	1255	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:10	1255	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:10	1255	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860747 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:10	1255	[DEBUG]	Store custom available field
2023-10-13	12:42:10	1255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860747,6,'Unitaire',3)
2023-10-13	12:42:10	1255	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:10	1255	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:10	1255	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860746
2023-10-13	12:42:10	1255	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:10	1255	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860746\":[1860746,8,1,\"choisir la taille\"],\"1860747\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860746
2023-10-13	12:42:10	1255	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:10	1255	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860747
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:10	1256	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field taille
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:10	1256	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:10	1256	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:10	1256	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:10	1256	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:10	1256	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:10	1256	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field published
2023-10-13	12:42:10	1256	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:10	1256	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field override
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:10	1256	[DEBUG]	Use field value for field slug
2023-10-13	12:42:10	1256	[DEBUG]	Process line 1256
2023-10-13	12:42:10	1256	[DEBUG]	Load a row
2023-10-13	12:42:10	1256	[DEBUG]	Processing item: A_166_1
2023-10-13	12:42:10	1256	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:10	1256	[DEBUG]	Processing product tax
2023-10-13	12:42:10	1256	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:10	1256	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:10	1256	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:10	1256	[DEBUG]	Query for Product
2023-10-13	12:42:10	1256	[DEBUG]	Executed store
2023-10-13	12:42:10	1256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_166_1','0.16','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:10	1256	[DEBUG]	Check product language entry
2023-10-13	12:42:10	1256	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860748
2023-10-13	12:42:10	1256	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:10	1256	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_166_1' AND `virtuemart_product_id` != 1860748
2023-10-13	12:42:10	1256	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:10	1256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860748, 'A_166_1')
2023-10-13	12:42:10	1256	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:10	1256	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-3004-24-x-1-9-2-125-sv-noir' AND `virtuemart_product_id` != 1860748
2023-10-13	12:42:10	1256	[DEBUG]	Query for ProductLang
2023-10-13	12:42:10	1256	[DEBUG]	Executed store
2023-10-13	12:42:10	1256	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='3004 24 x 1.9/2.125 SV, 160gr<br>N° art fourn : 24190212SV',`product_name`='MSC Chambre-à-air 3004 24 x 1.9/2.125 SV / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-3004-24-x-1-9-2-125-sv-noir' WHERE `virtuemart_product_id` = '1860748'
2023-10-13	12:42:10	1256	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_184.jpg
2023-10-13	12:42:10	1256	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:10	1256	[DEBUG]	Process image file
2023-10-13	12:42:10	1256	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:10	1256	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:10	1256	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_184.jpg
2023-10-13	12:42:10	1256	[DEBUG]	Full name target: bcprisme/image_184.jpg
2023-10-13	12:42:11	1256	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:11	1256	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_184.jpg'
2023-10-13	12:42:11	1256	[DEBUG]	Query for Media
2023-10-13	12:42:11	1256	[DEBUG]	Executed store
2023-10-13	12:42:11	1256	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_184.jpg',`file_url_thumb`='bcprisme/image_184.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12603'
2023-10-13	12:42:11	1256	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:11	1256	[DEBUG]	Executed store
2023-10-13	12:42:11	1256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860748','12603','1')
2023-10-13	12:42:11	1256	[DEBUG]	Store product image relation
2023-10-13	12:42:11	1256	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:11	1256	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860748 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:11	1256	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:11	1256	[DEBUG]	Executed store
2023-10-13	12:42:11	1256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860748','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:11	1256	[DEBUG]	Checking manufacturer
2023-10-13	12:42:11	1256	[DEBUG]	Load a row
2023-10-13	12:42:11	1256	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:11	1256	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:11	1256	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:11	1256	[DEBUG]	Executed store
2023-10-13	12:42:11	1256	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:11	1256	[DEBUG]	Manufacturer exists
2023-10-13	12:42:11	1256	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:11	1256	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:11	1256	[DEBUG]	Executed store
2023-10-13	12:42:11	1256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860748','32')
2023-10-13	12:42:11	1256	[DEBUG]	Find the custom field ID
2023-10-13	12:42:11	1256	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:11	1256	[DEBUG]	No custom field ID found
2023-10-13	12:42:11	1256	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:11	1256	[DEBUG]	Get existing row with customfield value 7.97777777777778
2023-10-13	12:42:11	1256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860748 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:11	1256	[DEBUG]	Store custom available field
2023-10-13	12:42:11	1256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860748,3,'7.97777777777778',1)
2023-10-13	12:42:11	1256	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:11	1256	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:11	1256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860748 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:11	1256	[DEBUG]	Store custom available field
2023-10-13	12:42:11	1256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860748,6,'choisir la taille',3)
2023-10-13	12:42:11	1256	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:11	1256	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:11	1256	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:11	1256	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:11	1256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860748 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:11	1256	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:11	1256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860748,8,1)
2023-10-13	12:42:11	1256	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:11	1256	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860748\":[1860748,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860748
2023-10-13	12:42:11	1256	[DEBUG]	Checking category
2023-10-13	12:42:11	1256	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:11	1256	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860748
2023-10-13	12:42:11	1256	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:11	1256	[DEBUG]	Executed store
2023-10-13	12:42:11	1256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860748','7296')
2023-10-13	12:42:11	1256	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:11	1256	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860748 AND `virtuemart_category_id` NOT IN (7296)
2023-10-13	12:42:11	1256	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:11	1256	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860748
2023-10-13	12:42:11	1257	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:11	1257	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:11	1257	[DEBUG]	Use field value for field taille
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:11	1257	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:11	1257	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:11	1257	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:11	1257	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:11	1257	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:11	1257	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:11	1257	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:11	1257	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:11	1257	[DEBUG]	Use field value for field published
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:11	1257	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field override
2023-10-13	12:42:11	1257	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:11	1257	[DEBUG]	Use field value for field slug
2023-10-13	12:42:11	1257	[DEBUG]	Process line 1257
2023-10-13	12:42:11	1257	[DEBUG]	Load a row
2023-10-13	12:42:11	1257	[DEBUG]	Processing item: 8436041133872
2023-10-13	12:42:11	1257	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:11	1257	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:11	1257	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_166_1'
2023-10-13	12:42:11	1257	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:11	1257	[DEBUG]	Processing product tax
2023-10-13	12:42:11	1257	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:11	1257	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:11	1257	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:11	1257	[DEBUG]	Query for Product
2023-10-13	12:42:11	1257	[DEBUG]	Executed store
2023-10-13	12:42:11	1257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860748','8436041133872','0','KG','M','','34','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:11	1257	[DEBUG]	No parent found
2023-10-13	12:42:11	1257	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860748 AND customfield_value = 'stockable'
2023-10-13	12:42:11	1257	[DEBUG]	Check product language entry
2023-10-13	12:42:11	1257	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860749
2023-10-13	12:42:11	1257	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:11	1257	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041133872' AND `virtuemart_product_id` != 1860749
2023-10-13	12:42:11	1257	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:11	1257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860749, '8436041133872')
2023-10-13	12:42:11	1257	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:11	1257	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-3004-24-x-1-9-2-125-sv-noir-unitaire' AND `virtuemart_product_id` != 1860749
2023-10-13	12:42:11	1257	[DEBUG]	Query for ProductLang
2023-10-13	12:42:11	1257	[DEBUG]	Executed store
2023-10-13	12:42:11	1257	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 3004 24 x 1.9/2.125 SV / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-3004-24-x-1-9-2-125-sv-noir-unitaire' WHERE `virtuemart_product_id` = '1860749'
2023-10-13	12:42:11	1257	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_184.jpg
2023-10-13	12:42:11	1257	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:11	1257	[DEBUG]	Process image file
2023-10-13	12:42:11	1257	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:11	1257	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:11	1257	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_184.jpg
2023-10-13	12:42:11	1257	[DEBUG]	Full name target: bcprisme/image_184.jpg
2023-10-13	12:42:12	1257	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:12	1257	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_184.jpg'
2023-10-13	12:42:12	1257	[DEBUG]	Query for Media
2023-10-13	12:42:12	1257	[DEBUG]	Executed store
2023-10-13	12:42:12	1257	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_184.jpg',`file_url_thumb`='bcprisme/image_184.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12603'
2023-10-13	12:42:12	1257	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:12	1257	[DEBUG]	Executed store
2023-10-13	12:42:12	1257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860749','12603','1')
2023-10-13	12:42:12	1257	[DEBUG]	Store product image relation
2023-10-13	12:42:12	1257	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:12	1257	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860749 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:12	1257	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:12	1257	[DEBUG]	Executed store
2023-10-13	12:42:12	1257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860749','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:12	1257	[DEBUG]	Checking manufacturer
2023-10-13	12:42:12	1257	[DEBUG]	Load a row
2023-10-13	12:42:12	1257	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:12	1257	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:12	1257	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:12	1257	[DEBUG]	Executed store
2023-10-13	12:42:12	1257	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:12	1257	[DEBUG]	Manufacturer exists
2023-10-13	12:42:12	1257	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:12	1257	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:12	1257	[DEBUG]	Executed store
2023-10-13	12:42:12	1257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860749','32')
2023-10-13	12:42:12	1257	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:12	1257	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:12	1257	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860749 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:12	1257	[DEBUG]	Store custom available field
2023-10-13	12:42:12	1257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860749,3,'',1)
2023-10-13	12:42:12	1257	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:12	1257	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:12	1257	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860749 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:12	1257	[DEBUG]	Store custom available field
2023-10-13	12:42:12	1257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860749,6,'Unitaire',3)
2023-10-13	12:42:12	1257	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:12	1257	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:12	1257	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860748
2023-10-13	12:42:12	1257	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:12	1257	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860748\":[1860748,8,1,\"choisir la taille\"],\"1860749\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860748
2023-10-13	12:42:12	1257	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:12	1257	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860749
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:12	1258	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field taille
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:12	1258	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:12	1258	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:12	1258	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:12	1258	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:12	1258	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:12	1258	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field published
2023-10-13	12:42:12	1258	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:12	1258	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field override
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:12	1258	[DEBUG]	Use field value for field slug
2023-10-13	12:42:12	1258	[DEBUG]	Process line 1258
2023-10-13	12:42:12	1258	[DEBUG]	Load a row
2023-10-13	12:42:12	1258	[DEBUG]	Processing item: A_5178_3
2023-10-13	12:42:12	1258	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:12	1258	[DEBUG]	Processing product tax
2023-10-13	12:42:12	1258	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:12	1258	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:12	1258	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:12	1258	[DEBUG]	Query for Product
2023-10-13	12:42:12	1258	[DEBUG]	Executed store
2023-10-13	12:42:12	1258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5178_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:12	1258	[DEBUG]	Check product language entry
2023-10-13	12:42:12	1258	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860750
2023-10-13	12:42:12	1258	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:12	1258	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5178_3' AND `virtuemart_product_id` != 1860750
2023-10-13	12:42:12	1258	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:12	1258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860750, 'A_5178_3')
2023-10-13	12:42:12	1258	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:12	1258	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-24-sv10-none' AND `virtuemart_product_id` != 1860750
2023-10-13	12:42:12	1258	[DEBUG]	Query for ProductLang
2023-10-13	12:42:12	1258	[DEBUG]	Executed store
2023-10-13	12:42:12	1258	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.058',`product_name`='SCHWALBE Chambre-à-air 24  SV10 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-24-sv10-none' WHERE `virtuemart_product_id` = '1860750'
2023-10-13	12:42:12	1258	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29643_chambres-a-air_schwalbe_24__sv10.jpg
2023-10-13	12:42:12	1258	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:12	1258	[DEBUG]	Process image file
2023-10-13	12:42:12	1258	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:12	1258	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:12	1258	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29643_chambres-a-air_schwalbe_24__sv10.jpg
2023-10-13	12:42:12	1258	[DEBUG]	Full name target: bcprisme/29643_chambres-a-air_schwalbe_24__sv10.jpg
2023-10-13	12:42:13	1258	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:13	1258	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29643_chambres-a-air_schwalbe_24__sv10.jpg'
2023-10-13	12:42:13	1258	[DEBUG]	Query for Media
2023-10-13	12:42:13	1258	[DEBUG]	Executed store
2023-10-13	12:42:13	1258	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29643_chambres-a-air_schwalbe_24__sv10.jpg',`file_url_thumb`='bcprisme/29643_chambres-a-air_schwalbe_24__sv10.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15818'
2023-10-13	12:42:13	1258	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:13	1258	[DEBUG]	Executed store
2023-10-13	12:42:13	1258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860750','15818','1')
2023-10-13	12:42:13	1258	[DEBUG]	Store product image relation
2023-10-13	12:42:13	1258	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:13	1258	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860750 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:13	1258	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:13	1258	[DEBUG]	Executed store
2023-10-13	12:42:13	1258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860750','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:13	1258	[DEBUG]	Checking manufacturer
2023-10-13	12:42:13	1258	[DEBUG]	Load a row
2023-10-13	12:42:13	1258	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:13	1258	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:13	1258	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:13	1258	[DEBUG]	Executed store
2023-10-13	12:42:13	1258	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:13	1258	[DEBUG]	Manufacturer exists
2023-10-13	12:42:13	1258	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:42:13	1258	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:13	1258	[DEBUG]	Executed store
2023-10-13	12:42:13	1258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860750','25')
2023-10-13	12:42:13	1258	[DEBUG]	Find the custom field ID
2023-10-13	12:42:13	1258	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:13	1258	[DEBUG]	No custom field ID found
2023-10-13	12:42:13	1258	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:13	1258	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:42:13	1258	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860750 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:13	1258	[DEBUG]	Store custom available field
2023-10-13	12:42:13	1258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860750,3,'0',1)
2023-10-13	12:42:13	1258	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:13	1258	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:13	1258	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860750 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:13	1258	[DEBUG]	Store custom available field
2023-10-13	12:42:13	1258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860750,6,'choisir la taille',3)
2023-10-13	12:42:13	1258	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:13	1258	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:13	1258	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:13	1258	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:13	1258	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860750 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:13	1258	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:13	1258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860750,8,1)
2023-10-13	12:42:13	1258	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:13	1258	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860750\":[1860750,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860750
2023-10-13	12:42:13	1258	[DEBUG]	Checking category
2023-10-13	12:42:13	1258	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:13	1258	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860750
2023-10-13	12:42:13	1258	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:13	1258	[DEBUG]	Executed store
2023-10-13	12:42:13	1258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860750','7296')
2023-10-13	12:42:13	1258	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:13	1258	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860750 AND `virtuemart_category_id` NOT IN (7296)
2023-10-13	12:42:13	1258	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:13	1258	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860750
2023-10-13	12:42:13	1259	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:13	1259	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:13	1259	[DEBUG]	Use field value for field taille
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:13	1259	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:13	1259	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:13	1259	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:13	1259	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:13	1259	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:13	1259	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:13	1259	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:13	1259	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:13	1259	[DEBUG]	Use field value for field published
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:13	1259	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field override
2023-10-13	12:42:13	1259	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:13	1259	[DEBUG]	Use field value for field slug
2023-10-13	12:42:13	1259	[DEBUG]	Process line 1259
2023-10-13	12:42:13	1259	[DEBUG]	Load a row
2023-10-13	12:42:13	1259	[DEBUG]	Processing item: 4026495100502
2023-10-13	12:42:13	1259	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:13	1259	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:13	1259	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5178_3'
2023-10-13	12:42:13	1259	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:13	1259	[DEBUG]	Processing product tax
2023-10-13	12:42:13	1259	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:13	1259	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:13	1259	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:13	1259	[DEBUG]	Query for Product
2023-10-13	12:42:13	1259	[DEBUG]	Executed store
2023-10-13	12:42:13	1259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860750','4026495100502','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:13	1259	[DEBUG]	No parent found
2023-10-13	12:42:13	1259	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860750 AND customfield_value = 'stockable'
2023-10-13	12:42:13	1259	[DEBUG]	Check product language entry
2023-10-13	12:42:13	1259	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860751
2023-10-13	12:42:13	1259	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:13	1259	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495100502' AND `virtuemart_product_id` != 1860751
2023-10-13	12:42:13	1259	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:13	1259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860751, '4026495100502')
2023-10-13	12:42:13	1259	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:13	1259	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-24-sv10-none-unitaire' AND `virtuemart_product_id` != 1860751
2023-10-13	12:42:13	1259	[DEBUG]	Query for ProductLang
2023-10-13	12:42:13	1259	[DEBUG]	Executed store
2023-10-13	12:42:13	1259	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 24  SV10 / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-24-sv10-none-unitaire' WHERE `virtuemart_product_id` = '1860751'
2023-10-13	12:42:13	1259	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29643_chambres-a-air_schwalbe_24__sv10.jpg
2023-10-13	12:42:13	1259	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:13	1259	[DEBUG]	Process image file
2023-10-13	12:42:13	1259	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:13	1259	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:13	1259	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29643_chambres-a-air_schwalbe_24__sv10.jpg
2023-10-13	12:42:13	1259	[DEBUG]	Full name target: bcprisme/29643_chambres-a-air_schwalbe_24__sv10.jpg
2023-10-13	12:42:14	1259	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:14	1259	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29643_chambres-a-air_schwalbe_24__sv10.jpg'
2023-10-13	12:42:14	1259	[DEBUG]	Query for Media
2023-10-13	12:42:14	1259	[DEBUG]	Executed store
2023-10-13	12:42:14	1259	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29643_chambres-a-air_schwalbe_24__sv10.jpg',`file_url_thumb`='bcprisme/29643_chambres-a-air_schwalbe_24__sv10.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15818'
2023-10-13	12:42:14	1259	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:14	1259	[DEBUG]	Executed store
2023-10-13	12:42:14	1259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860751','15818','1')
2023-10-13	12:42:14	1259	[DEBUG]	Store product image relation
2023-10-13	12:42:14	1259	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:14	1259	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860751 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:14	1259	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:14	1259	[DEBUG]	Executed store
2023-10-13	12:42:14	1259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860751','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:14	1259	[DEBUG]	Checking manufacturer
2023-10-13	12:42:14	1259	[DEBUG]	Load a row
2023-10-13	12:42:14	1259	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:14	1259	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:14	1259	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:14	1259	[DEBUG]	Executed store
2023-10-13	12:42:14	1259	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:14	1259	[DEBUG]	Manufacturer exists
2023-10-13	12:42:14	1259	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:42:14	1259	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:14	1259	[DEBUG]	Executed store
2023-10-13	12:42:14	1259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860751','25')
2023-10-13	12:42:14	1259	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:14	1259	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:14	1259	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860751 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:14	1259	[DEBUG]	Store custom available field
2023-10-13	12:42:14	1259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860751,3,'',1)
2023-10-13	12:42:14	1259	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:14	1259	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:14	1259	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860751 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:14	1259	[DEBUG]	Store custom available field
2023-10-13	12:42:14	1259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860751,6,'Unitaire',3)
2023-10-13	12:42:14	1259	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:14	1259	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:14	1259	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860750
2023-10-13	12:42:14	1259	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:14	1259	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860750\":[1860750,8,1,\"choisir la taille\"],\"1860751\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860750
2023-10-13	12:42:14	1259	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:14	1259	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860751
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:14	1260	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field taille
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:14	1260	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:14	1260	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:14	1260	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:14	1260	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:14	1260	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:14	1260	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:14	1260	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field published
2023-10-13	12:42:14	1260	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:14	1260	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field override
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:14	1260	[DEBUG]	Use field value for field slug
2023-10-13	12:42:14	1260	[DEBUG]	Process line 1260
2023-10-13	12:42:14	1260	[DEBUG]	Load a row
2023-10-13	12:42:14	1260	[DEBUG]	Processing item: A_6285_1
2023-10-13	12:42:14	1260	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:14	1260	[DEBUG]	Processing product tax
2023-10-13	12:42:14	1260	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:14	1260	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:14	1260	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:14	1260	[DEBUG]	Query for Product
2023-10-13	12:42:14	1260	[DEBUG]	Executed store
2023-10-13	12:42:14	1260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6285_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:14	1260	[DEBUG]	Check product language entry
2023-10-13	12:42:14	1260	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860752
2023-10-13	12:42:14	1260	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:14	1260	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6285_1' AND `virtuemart_product_id` != 1860752
2023-10-13	12:42:14	1260	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:14	1260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860752, 'A_6285_1')
2023-10-13	12:42:14	1260	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:14	1260	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-24-av-24x1-50-25x2-25-noir' AND `virtuemart_product_id` != 1860752
2023-10-13	12:42:14	1260	[DEBUG]	Query for ProductLang
2023-10-13	12:42:14	1260	[DEBUG]	Executed store
2023-10-13	12:42:14	1260	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.011',`product_name`='SCHWALBE Chambre-à-air 24  AV 24x1.50-25x2.25 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-24-av-24x1-50-25x2-25-noir' WHERE `virtuemart_product_id` = '1860752'
2023-10-13	12:42:14	1260	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32135_chambres-a-air_schwalbe_24___av_24x1_50-25x2_25.jpg
2023-10-13	12:42:14	1260	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:14	1260	[DEBUG]	Process image file
2023-10-13	12:42:14	1260	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:14	1260	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:14	1260	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32135_chambres-a-air_schwalbe_24___av_24x1_50-25x2_25.jpg
2023-10-13	12:42:14	1260	[DEBUG]	Full name target: bcprisme/32135_chambres-a-air_schwalbe_24___av_24x1_50-25x2_25.jpg
2023-10-13	12:42:15	1260	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:15	1260	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32135_chambres-a-air_schwalbe_24___av_24x1_50-25x2_25.jpg'
2023-10-13	12:42:15	1260	[DEBUG]	Query for Media
2023-10-13	12:42:15	1260	[DEBUG]	Executed store
2023-10-13	12:42:15	1260	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32135_chambres-a-air_schwalbe_24___av_24x1_50-25x2_25.jpg',`file_url_thumb`='bcprisme/32135_chambres-a-air_schwalbe_24___av_24x1_50-25x2_25.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12605'
2023-10-13	12:42:15	1260	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:15	1260	[DEBUG]	Executed store
2023-10-13	12:42:15	1260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860752','12605','1')
2023-10-13	12:42:15	1260	[DEBUG]	Store product image relation
2023-10-13	12:42:15	1260	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:15	1260	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860752 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:15	1260	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:15	1260	[DEBUG]	Executed store
2023-10-13	12:42:15	1260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860752','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:15	1260	[DEBUG]	Checking manufacturer
2023-10-13	12:42:15	1260	[DEBUG]	Load a row
2023-10-13	12:42:15	1260	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:15	1260	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:15	1260	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:15	1260	[DEBUG]	Executed store
2023-10-13	12:42:15	1260	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:15	1260	[DEBUG]	Manufacturer exists
2023-10-13	12:42:15	1260	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:42:15	1260	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:15	1260	[DEBUG]	Executed store
2023-10-13	12:42:15	1260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860752','25')
2023-10-13	12:42:15	1260	[DEBUG]	Find the custom field ID
2023-10-13	12:42:15	1260	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:15	1260	[DEBUG]	No custom field ID found
2023-10-13	12:42:15	1260	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:15	1260	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:42:15	1260	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860752 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:15	1260	[DEBUG]	Store custom available field
2023-10-13	12:42:15	1260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860752,3,'0',1)
2023-10-13	12:42:15	1260	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:15	1260	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:15	1260	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860752 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:15	1260	[DEBUG]	Store custom available field
2023-10-13	12:42:15	1260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860752,6,'choisir la taille',3)
2023-10-13	12:42:15	1260	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:15	1260	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:15	1260	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:15	1260	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:15	1260	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860752 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:15	1260	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:15	1260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860752,8,1)
2023-10-13	12:42:15	1260	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:15	1260	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860752\":[1860752,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860752
2023-10-13	12:42:15	1260	[DEBUG]	Checking category
2023-10-13	12:42:15	1260	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:15	1260	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860752
2023-10-13	12:42:15	1260	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:15	1260	[DEBUG]	Executed store
2023-10-13	12:42:15	1260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860752','7296')
2023-10-13	12:42:15	1260	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:15	1260	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860752 AND `virtuemart_category_id` NOT IN (7296)
2023-10-13	12:42:15	1260	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:15	1260	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860752
2023-10-13	12:42:15	1261	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:15	1261	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:15	1261	[DEBUG]	Use field value for field taille
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:15	1261	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:15	1261	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:15	1261	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:15	1261	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:15	1261	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:15	1261	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:15	1261	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:15	1261	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:15	1261	[DEBUG]	Use field value for field published
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:15	1261	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field override
2023-10-13	12:42:15	1261	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:15	1261	[DEBUG]	Use field value for field slug
2023-10-13	12:42:15	1261	[DEBUG]	Process line 1261
2023-10-13	12:42:15	1261	[DEBUG]	Load a row
2023-10-13	12:42:15	1261	[DEBUG]	Processing item: 4026495100441
2023-10-13	12:42:15	1261	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:15	1261	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:15	1261	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6285_1'
2023-10-13	12:42:15	1261	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:15	1261	[DEBUG]	Processing product tax
2023-10-13	12:42:15	1261	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:15	1261	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:15	1261	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:15	1261	[DEBUG]	Query for Product
2023-10-13	12:42:15	1261	[DEBUG]	Executed store
2023-10-13	12:42:15	1261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860752','4026495100441','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:15	1261	[DEBUG]	No parent found
2023-10-13	12:42:15	1261	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860752 AND customfield_value = 'stockable'
2023-10-13	12:42:15	1261	[DEBUG]	Check product language entry
2023-10-13	12:42:15	1261	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860753
2023-10-13	12:42:15	1261	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:15	1261	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495100441' AND `virtuemart_product_id` != 1860753
2023-10-13	12:42:15	1261	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:15	1261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860753, '4026495100441')
2023-10-13	12:42:15	1261	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:15	1261	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-24-av-24x1-50-25x2-25-noir-unitaire' AND `virtuemart_product_id` != 1860753
2023-10-13	12:42:15	1261	[DEBUG]	Query for ProductLang
2023-10-13	12:42:15	1261	[DEBUG]	Executed store
2023-10-13	12:42:15	1261	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 24  AV 24x1.50-25x2.25 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-24-av-24x1-50-25x2-25-noir-unitaire' WHERE `virtuemart_product_id` = '1860753'
2023-10-13	12:42:15	1261	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32135_chambres-a-air_schwalbe_24___av_24x1_50-25x2_25.jpg
2023-10-13	12:42:15	1261	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:15	1261	[DEBUG]	Process image file
2023-10-13	12:42:15	1261	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:15	1261	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:15	1261	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32135_chambres-a-air_schwalbe_24___av_24x1_50-25x2_25.jpg
2023-10-13	12:42:15	1261	[DEBUG]	Full name target: bcprisme/32135_chambres-a-air_schwalbe_24___av_24x1_50-25x2_25.jpg
2023-10-13	12:42:16	1261	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:16	1261	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32135_chambres-a-air_schwalbe_24___av_24x1_50-25x2_25.jpg'
2023-10-13	12:42:16	1261	[DEBUG]	Query for Media
2023-10-13	12:42:16	1261	[DEBUG]	Executed store
2023-10-13	12:42:16	1261	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32135_chambres-a-air_schwalbe_24___av_24x1_50-25x2_25.jpg',`file_url_thumb`='bcprisme/32135_chambres-a-air_schwalbe_24___av_24x1_50-25x2_25.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12605'
2023-10-13	12:42:16	1261	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:16	1261	[DEBUG]	Executed store
2023-10-13	12:42:16	1261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860753','12605','1')
2023-10-13	12:42:16	1261	[DEBUG]	Store product image relation
2023-10-13	12:42:16	1261	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:16	1261	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860753 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:16	1261	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:16	1261	[DEBUG]	Executed store
2023-10-13	12:42:16	1261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860753','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:16	1261	[DEBUG]	Checking manufacturer
2023-10-13	12:42:16	1261	[DEBUG]	Load a row
2023-10-13	12:42:16	1261	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:16	1261	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:16	1261	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:16	1261	[DEBUG]	Executed store
2023-10-13	12:42:16	1261	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:16	1261	[DEBUG]	Manufacturer exists
2023-10-13	12:42:16	1261	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:42:16	1261	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:16	1261	[DEBUG]	Executed store
2023-10-13	12:42:16	1261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860753','25')
2023-10-13	12:42:16	1261	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:16	1261	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:16	1261	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860753 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:16	1261	[DEBUG]	Store custom available field
2023-10-13	12:42:16	1261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860753,3,'',1)
2023-10-13	12:42:16	1261	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:16	1261	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:16	1261	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860753 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:16	1261	[DEBUG]	Store custom available field
2023-10-13	12:42:16	1261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860753,6,'Unitaire',3)
2023-10-13	12:42:16	1261	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:16	1261	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:16	1261	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860752
2023-10-13	12:42:16	1261	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:16	1261	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860752\":[1860752,8,1,\"choisir la taille\"],\"1860753\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860752
2023-10-13	12:42:16	1261	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:16	1261	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860753
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:16	1262	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field taille
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:16	1262	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:16	1262	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:16	1262	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:16	1262	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:16	1262	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:16	1262	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field published
2023-10-13	12:42:16	1262	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:16	1262	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field override
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:16	1262	[DEBUG]	Use field value for field slug
2023-10-13	12:42:16	1262	[DEBUG]	Process line 1262
2023-10-13	12:42:16	1262	[DEBUG]	Load a row
2023-10-13	12:42:16	1262	[DEBUG]	Processing item: A_6402_1
2023-10-13	12:42:16	1262	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:16	1262	[DEBUG]	Processing product tax
2023-10-13	12:42:16	1262	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:16	1262	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:16	1262	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:16	1262	[DEBUG]	Query for Product
2023-10-13	12:42:16	1262	[DEBUG]	Executed store
2023-10-13	12:42:16	1262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6402_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:16	1262	[DEBUG]	Check product language entry
2023-10-13	12:42:16	1262	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860754
2023-10-13	12:42:16	1262	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:16	1262	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6402_1' AND `virtuemart_product_id` != 1860754
2023-10-13	12:42:16	1262	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:16	1262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860754, 'A_6402_1')
2023-10-13	12:42:16	1262	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:16	1262	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duro-chambre-a-air-4-10-3-50-6-cst-valve-90-noir' AND `virtuemart_product_id` != 1860754
2023-10-13	12:42:16	1262	[DEBUG]	Query for ProductLang
2023-10-13	12:42:16	1262	[DEBUG]	Executed store
2023-10-13	12:42:16	1262	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.C12',`product_name`='DURO Chambre-à-air 4.10/3.50-6 CST valve 90° / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duro-chambre-a-air-4-10-3-50-6-cst-valve-90-noir' WHERE `virtuemart_product_id` = '1860754'
2023-10-13	12:42:16	1262	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32287_chambre-à-air_4_10-3_50-6_cst_valve_90_.jpg
2023-10-13	12:42:16	1262	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:16	1262	[DEBUG]	Process image file
2023-10-13	12:42:16	1262	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:16	1262	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:16	1262	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32287_chambre-à-air_4_10-3_50-6_cst_valve_90_.jpg
2023-10-13	12:42:16	1262	[DEBUG]	Full name target: bcprisme/32287_chambre-à-air_4_10-3_50-6_cst_valve_90_.jpg
2023-10-13	12:42:20	1262	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:20	1262	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32287_chambre-à-air_4_10-3_50-6_cst_valve_90_.jpg'
2023-10-13	12:42:20	1262	[DEBUG]	Query for Media
2023-10-13	12:42:20	1262	[DEBUG]	Executed store
2023-10-13	12:42:20	1262	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32287_chambre-à-air_4_10-3_50-6_cst_valve_90_.jpg',`file_url_thumb`='bcprisme/32287_chambre-à-air_4_10-3_50-6_cst_valve_90_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12606'
2023-10-13	12:42:20	1262	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:20	1262	[DEBUG]	Executed store
2023-10-13	12:42:20	1262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860754','12606','1')
2023-10-13	12:42:20	1262	[DEBUG]	Store product image relation
2023-10-13	12:42:20	1262	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:20	1262	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860754 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:20	1262	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:20	1262	[DEBUG]	Executed store
2023-10-13	12:42:20	1262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860754','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:20	1262	[DEBUG]	Checking manufacturer
2023-10-13	12:42:20	1262	[DEBUG]	Load a row
2023-10-13	12:42:20	1262	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:20	1262	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '180'
2023-10-13	12:42:20	1262	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:20	1262	[DEBUG]	Executed store
2023-10-13	12:42:20	1262	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331220518431' WHERE `virtuemart_manufacturer_id` = '180'
2023-10-13	12:42:20	1262	[DEBUG]	Manufacturer exists
2023-10-13	12:42:20	1262	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 180
2023-10-13	12:42:20	1262	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:20	1262	[DEBUG]	Executed store
2023-10-13	12:42:20	1262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860754','180')
2023-10-13	12:42:20	1262	[DEBUG]	Find the custom field ID
2023-10-13	12:42:20	1262	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:20	1262	[DEBUG]	No custom field ID found
2023-10-13	12:42:20	1262	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:20	1262	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:42:20	1262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860754 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:20	1262	[DEBUG]	Store custom available field
2023-10-13	12:42:20	1262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860754,3,'9.47361111111111',1)
2023-10-13	12:42:20	1262	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:20	1262	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:20	1262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860754 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:20	1262	[DEBUG]	Store custom available field
2023-10-13	12:42:20	1262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860754,6,'choisir la taille',3)
2023-10-13	12:42:20	1262	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:20	1262	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:20	1262	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:20	1262	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:20	1262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860754 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:20	1262	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:20	1262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860754,8,1)
2023-10-13	12:42:20	1262	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:20	1262	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860754\":[1860754,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860754
2023-10-13	12:42:20	1262	[DEBUG]	Checking category
2023-10-13	12:42:20	1262	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:20	1262	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860754
2023-10-13	12:42:20	1262	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:20	1262	[DEBUG]	Executed store
2023-10-13	12:42:20	1262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860754','7296')
2023-10-13	12:42:20	1262	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:20	1262	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860754 AND `virtuemart_category_id` NOT IN (7296)
2023-10-13	12:42:20	1262	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:20	1262	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860754
2023-10-13	12:42:20	1263	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:20	1263	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:20	1263	[DEBUG]	Use field value for field taille
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:20	1263	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:20	1263	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:20	1263	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:20	1263	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:20	1263	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:20	1263	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:20	1263	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:20	1263	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:20	1263	[DEBUG]	Use field value for field published
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:20	1263	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field override
2023-10-13	12:42:20	1263	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:20	1263	[DEBUG]	Use field value for field slug
2023-10-13	12:42:20	1263	[DEBUG]	Process line 1263
2023-10-13	12:42:20	1263	[DEBUG]	Load a row
2023-10-13	12:42:20	1263	[DEBUG]	Processing item: 1000000104936
2023-10-13	12:42:20	1263	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:20	1263	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:20	1263	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6402_1'
2023-10-13	12:42:20	1263	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:20	1263	[DEBUG]	Processing product tax
2023-10-13	12:42:20	1263	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:20	1263	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:20	1263	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:20	1263	[DEBUG]	Query for Product
2023-10-13	12:42:20	1263	[DEBUG]	Executed store
2023-10-13	12:42:20	1263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860754','1000000104936','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:20	1263	[DEBUG]	No parent found
2023-10-13	12:42:20	1263	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860754 AND customfield_value = 'stockable'
2023-10-13	12:42:20	1263	[DEBUG]	Check product language entry
2023-10-13	12:42:20	1263	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860755
2023-10-13	12:42:20	1263	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:20	1263	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000104936' AND `virtuemart_product_id` != 1860755
2023-10-13	12:42:20	1263	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:20	1263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860755, '1000000104936')
2023-10-13	12:42:20	1263	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:20	1263	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duro-chambre-a-air-4-10-3-50-6-cst-valve-90-noir-unitaire' AND `virtuemart_product_id` != 1860755
2023-10-13	12:42:20	1263	[DEBUG]	Query for ProductLang
2023-10-13	12:42:20	1263	[DEBUG]	Executed store
2023-10-13	12:42:20	1263	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='DURO Chambre-à-air 4.10/3.50-6 CST valve 90° / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duro-chambre-a-air-4-10-3-50-6-cst-valve-90-noir-unitaire' WHERE `virtuemart_product_id` = '1860755'
2023-10-13	12:42:20	1263	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32287_chambre-à-air_4_10-3_50-6_cst_valve_90_.jpg
2023-10-13	12:42:20	1263	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:20	1263	[DEBUG]	Process image file
2023-10-13	12:42:20	1263	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:20	1263	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:20	1263	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32287_chambre-à-air_4_10-3_50-6_cst_valve_90_.jpg
2023-10-13	12:42:20	1263	[DEBUG]	Full name target: bcprisme/32287_chambre-à-air_4_10-3_50-6_cst_valve_90_.jpg
2023-10-13	12:42:24	1263	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:24	1263	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32287_chambre-à-air_4_10-3_50-6_cst_valve_90_.jpg'
2023-10-13	12:42:24	1263	[DEBUG]	Query for Media
2023-10-13	12:42:24	1263	[DEBUG]	Executed store
2023-10-13	12:42:24	1263	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32287_chambre-à-air_4_10-3_50-6_cst_valve_90_.jpg',`file_url_thumb`='bcprisme/32287_chambre-à-air_4_10-3_50-6_cst_valve_90_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12606'
2023-10-13	12:42:24	1263	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:24	1263	[DEBUG]	Executed store
2023-10-13	12:42:24	1263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860755','12606','1')
2023-10-13	12:42:24	1263	[DEBUG]	Store product image relation
2023-10-13	12:42:24	1263	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:24	1263	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860755 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:24	1263	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:24	1263	[DEBUG]	Executed store
2023-10-13	12:42:24	1263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860755','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:24	1263	[DEBUG]	Checking manufacturer
2023-10-13	12:42:24	1263	[DEBUG]	Load a row
2023-10-13	12:42:24	1263	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:24	1263	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '180'
2023-10-13	12:42:24	1263	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:24	1263	[DEBUG]	Executed store
2023-10-13	12:42:24	1263	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331220518431' WHERE `virtuemart_manufacturer_id` = '180'
2023-10-13	12:42:24	1263	[DEBUG]	Manufacturer exists
2023-10-13	12:42:24	1263	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 180
2023-10-13	12:42:24	1263	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:24	1263	[DEBUG]	Executed store
2023-10-13	12:42:24	1263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860755','180')
2023-10-13	12:42:24	1263	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:24	1263	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:24	1263	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860755 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:24	1263	[DEBUG]	Store custom available field
2023-10-13	12:42:24	1263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860755,3,'',1)
2023-10-13	12:42:24	1263	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:24	1263	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:24	1263	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860755 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:24	1263	[DEBUG]	Store custom available field
2023-10-13	12:42:24	1263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860755,6,'Unitaire',3)
2023-10-13	12:42:24	1263	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:24	1263	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:24	1263	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860754
2023-10-13	12:42:24	1263	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:24	1263	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860754\":[1860754,8,1,\"choisir la taille\"],\"1860755\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860754
2023-10-13	12:42:24	1263	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:24	1263	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860755
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:24	1264	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field taille
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:24	1264	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:24	1264	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:24	1264	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:24	1264	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:24	1264	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:24	1264	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field published
2023-10-13	12:42:24	1264	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:24	1264	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field override
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:24	1264	[DEBUG]	Use field value for field slug
2023-10-13	12:42:24	1264	[DEBUG]	Process line 1264
2023-10-13	12:42:24	1264	[DEBUG]	Load a row
2023-10-13	12:42:24	1264	[DEBUG]	Processing item: A_6403_1
2023-10-13	12:42:24	1264	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:24	1264	[DEBUG]	Processing product tax
2023-10-13	12:42:24	1264	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:24	1264	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:24	1264	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:24	1264	[DEBUG]	Query for Product
2023-10-13	12:42:24	1264	[DEBUG]	Executed store
2023-10-13	12:42:24	1264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6403_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:24	1264	[DEBUG]	Check product language entry
2023-10-13	12:42:24	1264	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860756
2023-10-13	12:42:24	1264	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:24	1264	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6403_1' AND `virtuemart_product_id` != 1860756
2023-10-13	12:42:24	1264	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:24	1264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860756, 'A_6403_1')
2023-10-13	12:42:24	1264	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:24	1264	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duro-chambre-a-air-mitas-10-x-1-75-x-2-00-noir' AND `virtuemart_product_id` != 1860756
2023-10-13	12:42:24	1264	[DEBUG]	Query for ProductLang
2023-10-13	12:42:24	1264	[DEBUG]	Executed store
2023-10-13	12:42:24	1264	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.C1504',`product_name`='DURO Chambre-à-air MITAS 10 x 1.75 x 2.00   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duro-chambre-a-air-mitas-10-x-1-75-x-2-00-noir' WHERE `virtuemart_product_id` = '1860756'
2023-10-13	12:42:24	1264	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32288_chambre-à-air_10_x_1_75_x_2_00_mitas_.jpg
2023-10-13	12:42:24	1264	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:24	1264	[DEBUG]	Process image file
2023-10-13	12:42:24	1264	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:24	1264	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:24	1264	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32288_chambre-à-air_10_x_1_75_x_2_00_mitas_.jpg
2023-10-13	12:42:24	1264	[DEBUG]	Full name target: bcprisme/32288_chambre-à-air_10_x_1_75_x_2_00_mitas_.jpg
2023-10-13	12:42:25	1264	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:25	1264	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32288_chambre-à-air_10_x_1_75_x_2_00_mitas_.jpg'
2023-10-13	12:42:25	1264	[DEBUG]	Query for Media
2023-10-13	12:42:25	1264	[DEBUG]	Executed store
2023-10-13	12:42:25	1264	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32288_chambre-à-air_10_x_1_75_x_2_00_mitas_.jpg',`file_url_thumb`='bcprisme/32288_chambre-à-air_10_x_1_75_x_2_00_mitas_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12607'
2023-10-13	12:42:25	1264	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:25	1264	[DEBUG]	Executed store
2023-10-13	12:42:25	1264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860756','12607','1')
2023-10-13	12:42:25	1264	[DEBUG]	Store product image relation
2023-10-13	12:42:25	1264	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:25	1264	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860756 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:25	1264	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:25	1264	[DEBUG]	Executed store
2023-10-13	12:42:25	1264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860756','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:25	1264	[DEBUG]	Checking manufacturer
2023-10-13	12:42:25	1264	[DEBUG]	Load a row
2023-10-13	12:42:25	1264	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:25	1264	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '180'
2023-10-13	12:42:25	1264	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:25	1264	[DEBUG]	Executed store
2023-10-13	12:42:25	1264	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331220518431' WHERE `virtuemart_manufacturer_id` = '180'
2023-10-13	12:42:25	1264	[DEBUG]	Manufacturer exists
2023-10-13	12:42:25	1264	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 180
2023-10-13	12:42:25	1264	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:25	1264	[DEBUG]	Executed store
2023-10-13	12:42:25	1264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860756','180')
2023-10-13	12:42:25	1264	[DEBUG]	Find the custom field ID
2023-10-13	12:42:25	1264	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:25	1264	[DEBUG]	No custom field ID found
2023-10-13	12:42:25	1264	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:25	1264	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:42:25	1264	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860756 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:25	1264	[DEBUG]	Store custom available field
2023-10-13	12:42:25	1264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860756,3,'9.47361111111111',1)
2023-10-13	12:42:25	1264	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:25	1264	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:25	1264	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860756 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:25	1264	[DEBUG]	Store custom available field
2023-10-13	12:42:25	1264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860756,6,'choisir la taille',3)
2023-10-13	12:42:25	1264	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:25	1264	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:25	1264	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:25	1264	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:25	1264	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860756 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:25	1264	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:25	1264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860756,8,1)
2023-10-13	12:42:25	1264	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:25	1264	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860756\":[1860756,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860756
2023-10-13	12:42:25	1264	[DEBUG]	Checking category
2023-10-13	12:42:25	1264	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:25	1264	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860756
2023-10-13	12:42:25	1264	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:25	1264	[DEBUG]	Executed store
2023-10-13	12:42:25	1264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860756','7296')
2023-10-13	12:42:25	1264	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:25	1264	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860756 AND `virtuemart_category_id` NOT IN (7296)
2023-10-13	12:42:25	1264	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:25	1264	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860756
2023-10-13	12:42:25	1265	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:25	1265	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:25	1265	[DEBUG]	Use field value for field taille
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:25	1265	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:25	1265	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:25	1265	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:25	1265	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:25	1265	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:25	1265	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:25	1265	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:25	1265	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:25	1265	[DEBUG]	Use field value for field published
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:25	1265	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field override
2023-10-13	12:42:25	1265	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:25	1265	[DEBUG]	Use field value for field slug
2023-10-13	12:42:25	1265	[DEBUG]	Process line 1265
2023-10-13	12:42:25	1265	[DEBUG]	Load a row
2023-10-13	12:42:25	1265	[DEBUG]	Processing item: 8593375415330
2023-10-13	12:42:25	1265	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:25	1265	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:25	1265	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6403_1'
2023-10-13	12:42:25	1265	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:25	1265	[DEBUG]	Processing product tax
2023-10-13	12:42:25	1265	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:25	1265	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:25	1265	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:25	1265	[DEBUG]	Query for Product
2023-10-13	12:42:25	1265	[DEBUG]	Executed store
2023-10-13	12:42:25	1265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860756','8593375415330','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:25	1265	[DEBUG]	No parent found
2023-10-13	12:42:25	1265	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860756 AND customfield_value = 'stockable'
2023-10-13	12:42:25	1265	[DEBUG]	Check product language entry
2023-10-13	12:42:25	1265	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860757
2023-10-13	12:42:25	1265	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:25	1265	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8593375415330' AND `virtuemart_product_id` != 1860757
2023-10-13	12:42:25	1265	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:25	1265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860757, '8593375415330')
2023-10-13	12:42:25	1265	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:25	1265	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duro-chambre-a-air-mitas-10-x-1-75-x-2-00-noir-unitaire' AND `virtuemart_product_id` != 1860757
2023-10-13	12:42:25	1265	[DEBUG]	Query for ProductLang
2023-10-13	12:42:25	1265	[DEBUG]	Executed store
2023-10-13	12:42:25	1265	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='DURO Chambre-à-air MITAS 10 x 1.75 x 2.00   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duro-chambre-a-air-mitas-10-x-1-75-x-2-00-noir-unitaire' WHERE `virtuemart_product_id` = '1860757'
2023-10-13	12:42:25	1265	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32288_chambre-à-air_10_x_1_75_x_2_00_mitas_.jpg
2023-10-13	12:42:25	1265	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:25	1265	[DEBUG]	Process image file
2023-10-13	12:42:25	1265	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:25	1265	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:25	1265	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32288_chambre-à-air_10_x_1_75_x_2_00_mitas_.jpg
2023-10-13	12:42:25	1265	[DEBUG]	Full name target: bcprisme/32288_chambre-à-air_10_x_1_75_x_2_00_mitas_.jpg
2023-10-13	12:42:26	1265	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:26	1265	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32288_chambre-à-air_10_x_1_75_x_2_00_mitas_.jpg'
2023-10-13	12:42:26	1265	[DEBUG]	Query for Media
2023-10-13	12:42:26	1265	[DEBUG]	Executed store
2023-10-13	12:42:26	1265	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32288_chambre-à-air_10_x_1_75_x_2_00_mitas_.jpg',`file_url_thumb`='bcprisme/32288_chambre-à-air_10_x_1_75_x_2_00_mitas_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12607'
2023-10-13	12:42:26	1265	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:26	1265	[DEBUG]	Executed store
2023-10-13	12:42:26	1265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860757','12607','1')
2023-10-13	12:42:26	1265	[DEBUG]	Store product image relation
2023-10-13	12:42:26	1265	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:26	1265	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860757 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:26	1265	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:26	1265	[DEBUG]	Executed store
2023-10-13	12:42:26	1265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860757','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:26	1265	[DEBUG]	Checking manufacturer
2023-10-13	12:42:26	1265	[DEBUG]	Load a row
2023-10-13	12:42:26	1265	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:26	1265	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '180'
2023-10-13	12:42:26	1265	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:26	1265	[DEBUG]	Executed store
2023-10-13	12:42:26	1265	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331220518431' WHERE `virtuemart_manufacturer_id` = '180'
2023-10-13	12:42:26	1265	[DEBUG]	Manufacturer exists
2023-10-13	12:42:26	1265	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 180
2023-10-13	12:42:26	1265	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:26	1265	[DEBUG]	Executed store
2023-10-13	12:42:26	1265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860757','180')
2023-10-13	12:42:26	1265	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:26	1265	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:26	1265	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860757 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:26	1265	[DEBUG]	Store custom available field
2023-10-13	12:42:26	1265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860757,3,'',1)
2023-10-13	12:42:26	1265	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:26	1265	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:26	1265	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860757 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:26	1265	[DEBUG]	Store custom available field
2023-10-13	12:42:26	1265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860757,6,'Unitaire',3)
2023-10-13	12:42:26	1265	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:26	1265	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:26	1265	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860756
2023-10-13	12:42:26	1265	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:26	1265	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860756\":[1860756,8,1,\"choisir la taille\"],\"1860757\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860756
2023-10-13	12:42:26	1265	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:26	1265	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860757
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:26	1266	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field taille
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:26	1266	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:26	1266	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:26	1266	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:26	1266	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:26	1266	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:26	1266	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field published
2023-10-13	12:42:26	1266	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:26	1266	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field override
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:26	1266	[DEBUG]	Use field value for field slug
2023-10-13	12:42:26	1266	[DEBUG]	Process line 1266
2023-10-13	12:42:26	1266	[DEBUG]	Load a row
2023-10-13	12:42:26	1266	[DEBUG]	Processing item: A_6404_1
2023-10-13	12:42:26	1266	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:26	1266	[DEBUG]	Processing product tax
2023-10-13	12:42:26	1266	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:26	1266	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:26	1266	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:26	1266	[DEBUG]	Query for Product
2023-10-13	12:42:26	1266	[DEBUG]	Executed store
2023-10-13	12:42:26	1266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6404_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:26	1266	[DEBUG]	Check product language entry
2023-10-13	12:42:26	1266	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860758
2023-10-13	12:42:26	1266	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:26	1266	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6404_1' AND `virtuemart_product_id` != 1860758
2023-10-13	12:42:26	1266	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:26	1266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860758, 'A_6404_1')
2023-10-13	12:42:26	1266	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:26	1266	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duro-chambre-a-air-mitas-10-x-1-75-x-2-00-valve-a-90-noir' AND `virtuemart_product_id` != 1860758
2023-10-13	12:42:26	1266	[DEBUG]	Query for ProductLang
2023-10-13	12:42:26	1266	[DEBUG]	Executed store
2023-10-13	12:42:26	1266	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.C1521',`product_name`='DURO Chambre-à-air MITAS 10 x 1.75 x 2.00 valve à 90° / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duro-chambre-a-air-mitas-10-x-1-75-x-2-00-valve-a-90-noir' WHERE `virtuemart_product_id` = '1860758'
2023-10-13	12:42:26	1266	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32289_chambre-à-air_10_x_1_75_x_2_00_mitas__valve_à_90_.jpg
2023-10-13	12:42:26	1266	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:26	1266	[DEBUG]	Process image file
2023-10-13	12:42:26	1266	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:26	1266	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:26	1266	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32289_chambre-à-air_10_x_1_75_x_2_00_mitas__valve_à_90_.jpg
2023-10-13	12:42:26	1266	[DEBUG]	Full name target: bcprisme/32289_chambre-à-air_10_x_1_75_x_2_00_mitas__valve_à_90_.jpg
2023-10-13	12:42:27	1266	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:27	1266	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32289_chambre-à-air_10_x_1_75_x_2_00_mitas__valve_à_90_.jpg'
2023-10-13	12:42:27	1266	[DEBUG]	Query for Media
2023-10-13	12:42:27	1266	[DEBUG]	Executed store
2023-10-13	12:42:27	1266	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32289_chambre-à-air_10_x_1_75_x_2_00_mitas__valve_à_90_.jpg',`file_url_thumb`='bcprisme/32289_chambre-à-air_10_x_1_75_x_2_00_mitas__valve_à_90_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12608'
2023-10-13	12:42:27	1266	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:27	1266	[DEBUG]	Executed store
2023-10-13	12:42:27	1266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860758','12608','1')
2023-10-13	12:42:27	1266	[DEBUG]	Store product image relation
2023-10-13	12:42:27	1266	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:27	1266	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860758 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:27	1266	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:27	1266	[DEBUG]	Executed store
2023-10-13	12:42:27	1266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860758','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:27	1266	[DEBUG]	Checking manufacturer
2023-10-13	12:42:27	1266	[DEBUG]	Load a row
2023-10-13	12:42:27	1266	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:27	1266	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '180'
2023-10-13	12:42:27	1266	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:27	1266	[DEBUG]	Executed store
2023-10-13	12:42:27	1266	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331220518431' WHERE `virtuemart_manufacturer_id` = '180'
2023-10-13	12:42:27	1266	[DEBUG]	Manufacturer exists
2023-10-13	12:42:27	1266	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 180
2023-10-13	12:42:27	1266	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:27	1266	[DEBUG]	Executed store
2023-10-13	12:42:27	1266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860758','180')
2023-10-13	12:42:27	1266	[DEBUG]	Find the custom field ID
2023-10-13	12:42:27	1266	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:27	1266	[DEBUG]	No custom field ID found
2023-10-13	12:42:27	1266	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:27	1266	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:42:27	1266	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860758 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:27	1266	[DEBUG]	Store custom available field
2023-10-13	12:42:27	1266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860758,3,'9.47361111111111',1)
2023-10-13	12:42:27	1266	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:27	1266	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:27	1266	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860758 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:27	1266	[DEBUG]	Store custom available field
2023-10-13	12:42:27	1266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860758,6,'choisir la taille',3)
2023-10-13	12:42:27	1266	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:27	1266	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:27	1266	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:27	1266	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:27	1266	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860758 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:27	1266	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:27	1266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860758,8,1)
2023-10-13	12:42:27	1266	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:27	1266	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860758\":[1860758,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860758
2023-10-13	12:42:27	1266	[DEBUG]	Checking category
2023-10-13	12:42:27	1266	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:27	1266	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860758
2023-10-13	12:42:27	1266	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:27	1266	[DEBUG]	Executed store
2023-10-13	12:42:27	1266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860758','7296')
2023-10-13	12:42:27	1266	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:27	1266	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860758 AND `virtuemart_category_id` NOT IN (7296)
2023-10-13	12:42:27	1266	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:27	1266	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860758
2023-10-13	12:42:27	1267	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:27	1267	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:27	1267	[DEBUG]	Use field value for field taille
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:27	1267	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:27	1267	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:27	1267	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:27	1267	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:27	1267	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:27	1267	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:27	1267	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:27	1267	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:27	1267	[DEBUG]	Use field value for field published
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:27	1267	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field override
2023-10-13	12:42:27	1267	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:27	1267	[DEBUG]	Use field value for field slug
2023-10-13	12:42:27	1267	[DEBUG]	Process line 1267
2023-10-13	12:42:27	1267	[DEBUG]	Load a row
2023-10-13	12:42:27	1267	[DEBUG]	Processing item: 8593375417716
2023-10-13	12:42:27	1267	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:27	1267	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:27	1267	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6404_1'
2023-10-13	12:42:27	1267	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:27	1267	[DEBUG]	Processing product tax
2023-10-13	12:42:27	1267	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:27	1267	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:27	1267	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:27	1267	[DEBUG]	Query for Product
2023-10-13	12:42:27	1267	[DEBUG]	Executed store
2023-10-13	12:42:27	1267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860758','8593375417716','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:27	1267	[DEBUG]	No parent found
2023-10-13	12:42:27	1267	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860758 AND customfield_value = 'stockable'
2023-10-13	12:42:27	1267	[DEBUG]	Check product language entry
2023-10-13	12:42:27	1267	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860759
2023-10-13	12:42:27	1267	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:27	1267	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8593375417716' AND `virtuemart_product_id` != 1860759
2023-10-13	12:42:27	1267	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:27	1267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860759, '8593375417716')
2023-10-13	12:42:27	1267	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:27	1267	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duro-chambre-a-air-mitas-10-x-1-75-x-2-00-valve-a-90-noir-unitaire' AND `virtuemart_product_id` != 1860759
2023-10-13	12:42:27	1267	[DEBUG]	Query for ProductLang
2023-10-13	12:42:27	1267	[DEBUG]	Executed store
2023-10-13	12:42:27	1267	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='DURO Chambre-à-air MITAS 10 x 1.75 x 2.00 valve à 90° / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duro-chambre-a-air-mitas-10-x-1-75-x-2-00-valve-a-90-noir-unitaire' WHERE `virtuemart_product_id` = '1860759'
2023-10-13	12:42:27	1267	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32289_chambre-à-air_10_x_1_75_x_2_00_mitas__valve_à_90_.jpg
2023-10-13	12:42:27	1267	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:27	1267	[DEBUG]	Process image file
2023-10-13	12:42:27	1267	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:27	1267	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:27	1267	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32289_chambre-à-air_10_x_1_75_x_2_00_mitas__valve_à_90_.jpg
2023-10-13	12:42:27	1267	[DEBUG]	Full name target: bcprisme/32289_chambre-à-air_10_x_1_75_x_2_00_mitas__valve_à_90_.jpg
2023-10-13	12:42:28	1267	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:28	1267	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32289_chambre-à-air_10_x_1_75_x_2_00_mitas__valve_à_90_.jpg'
2023-10-13	12:42:28	1267	[DEBUG]	Query for Media
2023-10-13	12:42:28	1267	[DEBUG]	Executed store
2023-10-13	12:42:28	1267	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32289_chambre-à-air_10_x_1_75_x_2_00_mitas__valve_à_90_.jpg',`file_url_thumb`='bcprisme/32289_chambre-à-air_10_x_1_75_x_2_00_mitas__valve_à_90_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12608'
2023-10-13	12:42:28	1267	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:28	1267	[DEBUG]	Executed store
2023-10-13	12:42:28	1267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860759','12608','1')
2023-10-13	12:42:28	1267	[DEBUG]	Store product image relation
2023-10-13	12:42:28	1267	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:28	1267	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860759 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:28	1267	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:28	1267	[DEBUG]	Executed store
2023-10-13	12:42:28	1267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860759','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:28	1267	[DEBUG]	Checking manufacturer
2023-10-13	12:42:28	1267	[DEBUG]	Load a row
2023-10-13	12:42:28	1267	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:28	1267	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '180'
2023-10-13	12:42:28	1267	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:28	1267	[DEBUG]	Executed store
2023-10-13	12:42:28	1267	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331220518431' WHERE `virtuemart_manufacturer_id` = '180'
2023-10-13	12:42:28	1267	[DEBUG]	Manufacturer exists
2023-10-13	12:42:28	1267	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 180
2023-10-13	12:42:28	1267	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:28	1267	[DEBUG]	Executed store
2023-10-13	12:42:28	1267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860759','180')
2023-10-13	12:42:28	1267	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:28	1267	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:28	1267	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860759 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:28	1267	[DEBUG]	Store custom available field
2023-10-13	12:42:28	1267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860759,3,'',1)
2023-10-13	12:42:28	1267	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:28	1267	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:28	1267	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860759 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:28	1267	[DEBUG]	Store custom available field
2023-10-13	12:42:28	1267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860759,6,'Unitaire',3)
2023-10-13	12:42:28	1267	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:28	1267	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:28	1267	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860758
2023-10-13	12:42:28	1267	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:28	1267	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860758\":[1860758,8,1,\"choisir la taille\"],\"1860759\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860758
2023-10-13	12:42:28	1267	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:28	1267	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860759
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:28	1268	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field taille
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:28	1268	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:28	1268	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:28	1268	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:28	1268	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:28	1268	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:28	1268	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field published
2023-10-13	12:42:28	1268	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:28	1268	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field override
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:28	1268	[DEBUG]	Use field value for field slug
2023-10-13	12:42:28	1268	[DEBUG]	Process line 1268
2023-10-13	12:42:28	1268	[DEBUG]	Load a row
2023-10-13	12:42:28	1268	[DEBUG]	Processing item: A_7302_1
2023-10-13	12:42:28	1268	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:28	1268	[DEBUG]	Processing product tax
2023-10-13	12:42:28	1268	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:28	1268	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:28	1268	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:28	1268	[DEBUG]	Query for Product
2023-10-13	12:42:28	1268	[DEBUG]	Executed store
2023-10-13	12:42:28	1268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7302_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:28	1268	[DEBUG]	Check product language entry
2023-10-13	12:42:28	1268	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860760
2023-10-13	12:42:28	1268	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:28	1268	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7302_1' AND `virtuemart_product_id` != 1860760
2023-10-13	12:42:28	1268	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:28	1268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860760, 'A_7302_1')
2023-10-13	12:42:28	1268	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:28	1268	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-msc-24x1-910-2-125-sv-noir' AND `virtuemart_product_id` != 1860760
2023-10-13	12:42:28	1268	[DEBUG]	Query for ProductLang
2023-10-13	12:42:28	1268	[DEBUG]	Executed store
2023-10-13	12:42:28	1268	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : TU241902125SV',`product_name`='MSC Chambre-à-air MSC 24X1.910/2.125 SV / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-msc-24x1-910-2-125-sv-noir' WHERE `virtuemart_product_id` = '1860760'
2023-10-13	12:42:28	1268	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34507_chambre-à-air_msc_24x1_910-2_125_sv.jpg
2023-10-13	12:42:28	1268	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:28	1268	[DEBUG]	Process image file
2023-10-13	12:42:28	1268	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:28	1268	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:28	1268	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34507_chambre-à-air_msc_24x1_910-2_125_sv.jpg
2023-10-13	12:42:28	1268	[DEBUG]	Full name target: bcprisme/34507_chambre-à-air_msc_24x1_910-2_125_sv.jpg
2023-10-13	12:42:29	1268	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:29	1268	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34507_chambre-à-air_msc_24x1_910-2_125_sv.jpg'
2023-10-13	12:42:29	1268	[DEBUG]	Query for Media
2023-10-13	12:42:29	1268	[DEBUG]	Executed store
2023-10-13	12:42:29	1268	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34507_chambre-à-air_msc_24x1_910-2_125_sv.jpg',`file_url_thumb`='bcprisme/34507_chambre-à-air_msc_24x1_910-2_125_sv.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '264886'
2023-10-13	12:42:29	1268	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:29	1268	[DEBUG]	Executed store
2023-10-13	12:42:29	1268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860760','264886','1')
2023-10-13	12:42:29	1268	[DEBUG]	Store product image relation
2023-10-13	12:42:29	1268	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:29	1268	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860760 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:29	1268	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:29	1268	[DEBUG]	Executed store
2023-10-13	12:42:29	1268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860760','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:29	1268	[DEBUG]	Checking manufacturer
2023-10-13	12:42:29	1268	[DEBUG]	Load a row
2023-10-13	12:42:29	1268	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:29	1268	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:29	1268	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:29	1268	[DEBUG]	Executed store
2023-10-13	12:42:29	1268	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:29	1268	[DEBUG]	Manufacturer exists
2023-10-13	12:42:29	1268	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:29	1268	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:29	1268	[DEBUG]	Executed store
2023-10-13	12:42:29	1268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860760','32')
2023-10-13	12:42:29	1268	[DEBUG]	Find the custom field ID
2023-10-13	12:42:29	1268	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:29	1268	[DEBUG]	No custom field ID found
2023-10-13	12:42:29	1268	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:29	1268	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:42:29	1268	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860760 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:29	1268	[DEBUG]	Store custom available field
2023-10-13	12:42:29	1268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860760,3,'0',1)
2023-10-13	12:42:29	1268	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:29	1268	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:29	1268	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860760 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:29	1268	[DEBUG]	Store custom available field
2023-10-13	12:42:29	1268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860760,6,'choisir la taille',3)
2023-10-13	12:42:29	1268	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:29	1268	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:29	1268	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:29	1268	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:29	1268	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860760 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:29	1268	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:29	1268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860760,8,1)
2023-10-13	12:42:29	1268	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:29	1268	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860760\":[1860760,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860760
2023-10-13	12:42:29	1268	[DEBUG]	Checking category
2023-10-13	12:42:29	1268	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:29	1268	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860760
2023-10-13	12:42:29	1268	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:29	1268	[DEBUG]	Executed store
2023-10-13	12:42:29	1268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860760','7296')
2023-10-13	12:42:29	1268	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:29	1268	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860760 AND `virtuemart_category_id` NOT IN (7296)
2023-10-13	12:42:29	1268	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:29	1268	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860760
2023-10-13	12:42:29	1269	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:29	1269	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:29	1269	[DEBUG]	Use field value for field taille
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:29	1269	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:29	1269	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:29	1269	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:29	1269	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:29	1269	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:29	1269	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:29	1269	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:29	1269	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:29	1269	[DEBUG]	Use field value for field published
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:29	1269	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field override
2023-10-13	12:42:29	1269	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:29	1269	[DEBUG]	Use field value for field slug
2023-10-13	12:42:29	1269	[DEBUG]	Process line 1269
2023-10-13	12:42:29	1269	[DEBUG]	Load a row
2023-10-13	12:42:29	1269	[DEBUG]	Processing item: 8435466217044
2023-10-13	12:42:29	1269	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:29	1269	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:29	1269	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7302_1'
2023-10-13	12:42:29	1269	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:29	1269	[DEBUG]	Processing product tax
2023-10-13	12:42:29	1269	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:29	1269	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:29	1269	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:29	1269	[DEBUG]	Query for Product
2023-10-13	12:42:29	1269	[DEBUG]	Executed store
2023-10-13	12:42:29	1269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860760','8435466217044','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:29	1269	[DEBUG]	No parent found
2023-10-13	12:42:29	1269	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860760 AND customfield_value = 'stockable'
2023-10-13	12:42:29	1269	[DEBUG]	Check product language entry
2023-10-13	12:42:29	1269	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860761
2023-10-13	12:42:29	1269	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:29	1269	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466217044' AND `virtuemart_product_id` != 1860761
2023-10-13	12:42:29	1269	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:29	1269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860761, '8435466217044')
2023-10-13	12:42:29	1269	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:29	1269	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-msc-24x1-910-2-125-sv-noir-unitaire' AND `virtuemart_product_id` != 1860761
2023-10-13	12:42:29	1269	[DEBUG]	Query for ProductLang
2023-10-13	12:42:29	1269	[DEBUG]	Executed store
2023-10-13	12:42:29	1269	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air MSC 24X1.910/2.125 SV / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-msc-24x1-910-2-125-sv-noir-unitaire' WHERE `virtuemart_product_id` = '1860761'
2023-10-13	12:42:29	1269	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34507_chambre-à-air_msc_24x1_910-2_125_sv.jpg
2023-10-13	12:42:29	1269	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:29	1269	[DEBUG]	Process image file
2023-10-13	12:42:29	1269	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:29	1269	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:29	1269	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34507_chambre-à-air_msc_24x1_910-2_125_sv.jpg
2023-10-13	12:42:29	1269	[DEBUG]	Full name target: bcprisme/34507_chambre-à-air_msc_24x1_910-2_125_sv.jpg
2023-10-13	12:42:30	1269	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:30	1269	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34507_chambre-à-air_msc_24x1_910-2_125_sv.jpg'
2023-10-13	12:42:30	1269	[DEBUG]	Query for Media
2023-10-13	12:42:30	1269	[DEBUG]	Executed store
2023-10-13	12:42:30	1269	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34507_chambre-à-air_msc_24x1_910-2_125_sv.jpg',`file_url_thumb`='bcprisme/34507_chambre-à-air_msc_24x1_910-2_125_sv.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '264886'
2023-10-13	12:42:30	1269	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:30	1269	[DEBUG]	Executed store
2023-10-13	12:42:30	1269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860761','264886','1')
2023-10-13	12:42:30	1269	[DEBUG]	Store product image relation
2023-10-13	12:42:30	1269	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:30	1269	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860761 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:30	1269	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:30	1269	[DEBUG]	Executed store
2023-10-13	12:42:30	1269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860761','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:30	1269	[DEBUG]	Checking manufacturer
2023-10-13	12:42:30	1269	[DEBUG]	Load a row
2023-10-13	12:42:30	1269	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:30	1269	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:30	1269	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:30	1269	[DEBUG]	Executed store
2023-10-13	12:42:30	1269	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:30	1269	[DEBUG]	Manufacturer exists
2023-10-13	12:42:30	1269	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:30	1269	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:30	1269	[DEBUG]	Executed store
2023-10-13	12:42:30	1269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860761','32')
2023-10-13	12:42:30	1269	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:30	1269	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:30	1269	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860761 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:30	1269	[DEBUG]	Store custom available field
2023-10-13	12:42:30	1269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860761,3,'',1)
2023-10-13	12:42:30	1269	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:30	1269	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:30	1269	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860761 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:30	1269	[DEBUG]	Store custom available field
2023-10-13	12:42:30	1269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860761,6,'Unitaire',3)
2023-10-13	12:42:30	1269	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:30	1269	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:30	1269	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860760
2023-10-13	12:42:30	1269	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:30	1269	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860760\":[1860760,8,1,\"choisir la taille\"],\"1860761\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860760
2023-10-13	12:42:30	1269	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:30	1269	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860761
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:30	1270	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field taille
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:30	1270	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:30	1270	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:30	1270	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:30	1270	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:30	1270	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:30	1270	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field published
2023-10-13	12:42:30	1270	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:30	1270	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field override
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:30	1270	[DEBUG]	Use field value for field slug
2023-10-13	12:42:30	1270	[DEBUG]	Process line 1270
2023-10-13	12:42:30	1270	[DEBUG]	Load a row
2023-10-13	12:42:30	1270	[DEBUG]	Processing item: A_7512_1
2023-10-13	12:42:30	1270	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:30	1270	[DEBUG]	Processing product tax
2023-10-13	12:42:30	1270	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:30	1270	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:30	1270	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:30	1270	[DEBUG]	Query for Product
2023-10-13	12:42:30	1270	[DEBUG]	Executed store
2023-10-13	12:42:30	1270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7512_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:30	1270	[DEBUG]	Check product language entry
2023-10-13	12:42:30	1270	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860762
2023-10-13	12:42:30	1270	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:30	1270	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7512_1' AND `virtuemart_product_id` != 1860762
2023-10-13	12:42:30	1270	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:30	1270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860762, 'A_7512_1')
2023-10-13	12:42:30	1270	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:30	1270	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bob-chambre-a-air-cst-24-x-1-00-25-540-541-schrader-noir' AND `virtuemart_product_id` != 1860762
2023-10-13	12:42:30	1270	[DEBUG]	Query for ProductLang
2023-10-13	12:42:30	1270	[DEBUG]	Executed store
2023-10-13	12:42:30	1270	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 22248',`product_name`='BOB Chambre-à-air CST 24 x 1.00 (25-540/541) Schrader / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bob-chambre-a-air-cst-24-x-1-00-25-540-541-schrader-noir' WHERE `virtuemart_product_id` = '1860762'
2023-10-13	12:42:30	1270	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34909_chambre-à-air_msc_24x1_0_(540)__sv.jpg
2023-10-13	12:42:30	1270	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:30	1270	[DEBUG]	Process image file
2023-10-13	12:42:30	1270	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:30	1270	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:30	1270	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34909_chambre-à-air_msc_24x1_0_(540)__sv.jpg
2023-10-13	12:42:30	1270	[DEBUG]	Full name target: bcprisme/34909_chambre-à-air_msc_24x1_0_(540)__sv.jpg
2023-10-13	12:42:31	1270	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:31	1270	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34909_chambre-à-air_msc_24x1_0_(540)__sv.jpg'
2023-10-13	12:42:31	1270	[DEBUG]	Query for Media
2023-10-13	12:42:31	1270	[DEBUG]	Executed store
2023-10-13	12:42:31	1270	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34909_chambre-à-air_msc_24x1_0_(540)__sv.jpg',`file_url_thumb`='bcprisme/34909_chambre-à-air_msc_24x1_0_(540)__sv.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '264890'
2023-10-13	12:42:31	1270	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:31	1270	[DEBUG]	Executed store
2023-10-13	12:42:31	1270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860762','264890','1')
2023-10-13	12:42:31	1270	[DEBUG]	Store product image relation
2023-10-13	12:42:31	1270	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:31	1270	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860762 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:31	1270	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:31	1270	[DEBUG]	Executed store
2023-10-13	12:42:31	1270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860762','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:31	1270	[DEBUG]	Checking manufacturer
2023-10-13	12:42:31	1270	[DEBUG]	Load a row
2023-10-13	12:42:31	1270	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:31	1270	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '225'
2023-10-13	12:42:31	1270	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:31	1270	[DEBUG]	Executed store
2023-10-13	12:42:31	1270	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='168',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='168' WHERE `virtuemart_manufacturer_id` = '225'
2023-10-13	12:42:31	1270	[DEBUG]	Manufacturer exists
2023-10-13	12:42:31	1270	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 225
2023-10-13	12:42:31	1270	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:31	1270	[DEBUG]	Executed store
2023-10-13	12:42:31	1270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860762','225')
2023-10-13	12:42:31	1270	[DEBUG]	Find the custom field ID
2023-10-13	12:42:31	1270	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:31	1270	[DEBUG]	No custom field ID found
2023-10-13	12:42:31	1270	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:31	1270	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:42:31	1270	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860762 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:31	1270	[DEBUG]	Store custom available field
2023-10-13	12:42:31	1270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860762,3,'0',1)
2023-10-13	12:42:31	1270	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:31	1270	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:31	1270	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860762 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:31	1270	[DEBUG]	Store custom available field
2023-10-13	12:42:31	1270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860762,6,'choisir la taille',3)
2023-10-13	12:42:31	1270	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:31	1270	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:31	1270	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:31	1270	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:31	1270	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860762 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:31	1270	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:31	1270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860762,8,1)
2023-10-13	12:42:31	1270	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:31	1270	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860762\":[1860762,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860762
2023-10-13	12:42:31	1270	[DEBUG]	Checking category
2023-10-13	12:42:31	1270	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:31	1270	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860762
2023-10-13	12:42:31	1270	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:31	1270	[DEBUG]	Executed store
2023-10-13	12:42:31	1270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860762','7296')
2023-10-13	12:42:31	1270	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:31	1270	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860762 AND `virtuemart_category_id` NOT IN (7296)
2023-10-13	12:42:31	1270	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:31	1270	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860762
2023-10-13	12:42:31	1271	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:31	1271	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:31	1271	[DEBUG]	Use field value for field taille
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:31	1271	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:31	1271	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:31	1271	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:31	1271	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:31	1271	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:31	1271	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:31	1271	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:31	1271	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:31	1271	[DEBUG]	Use field value for field published
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:31	1271	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field override
2023-10-13	12:42:31	1271	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:31	1271	[DEBUG]	Use field value for field slug
2023-10-13	12:42:31	1271	[DEBUG]	Process line 1271
2023-10-13	12:42:31	1271	[DEBUG]	Load a row
2023-10-13	12:42:31	1271	[DEBUG]	Processing item: 1000000125771
2023-10-13	12:42:31	1271	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:31	1271	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:31	1271	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7512_1'
2023-10-13	12:42:31	1271	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:31	1271	[DEBUG]	Processing product tax
2023-10-13	12:42:31	1271	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:31	1271	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:31	1271	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:31	1271	[DEBUG]	Query for Product
2023-10-13	12:42:31	1271	[DEBUG]	Executed store
2023-10-13	12:42:31	1271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860762','1000000125771','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:31	1271	[DEBUG]	No parent found
2023-10-13	12:42:31	1271	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860762 AND customfield_value = 'stockable'
2023-10-13	12:42:31	1271	[DEBUG]	Check product language entry
2023-10-13	12:42:31	1271	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860763
2023-10-13	12:42:31	1271	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:31	1271	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125771' AND `virtuemart_product_id` != 1860763
2023-10-13	12:42:31	1271	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:31	1271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860763, '1000000125771')
2023-10-13	12:42:31	1271	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:31	1271	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bob-chambre-a-air-cst-24-x-1-00-25-540-541-schrader-noir-unitaire' AND `virtuemart_product_id` != 1860763
2023-10-13	12:42:31	1271	[DEBUG]	Query for ProductLang
2023-10-13	12:42:31	1271	[DEBUG]	Executed store
2023-10-13	12:42:31	1271	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BOB Chambre-à-air CST 24 x 1.00 (25-540/541) Schrader / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bob-chambre-a-air-cst-24-x-1-00-25-540-541-schrader-noir-unitaire' WHERE `virtuemart_product_id` = '1860763'
2023-10-13	12:42:31	1271	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34909_chambre-à-air_msc_24x1_0_(540)__sv.jpg
2023-10-13	12:42:31	1271	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:31	1271	[DEBUG]	Process image file
2023-10-13	12:42:31	1271	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:31	1271	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:31	1271	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34909_chambre-à-air_msc_24x1_0_(540)__sv.jpg
2023-10-13	12:42:31	1271	[DEBUG]	Full name target: bcprisme/34909_chambre-à-air_msc_24x1_0_(540)__sv.jpg
2023-10-13	12:42:32	1271	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:32	1271	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34909_chambre-à-air_msc_24x1_0_(540)__sv.jpg'
2023-10-13	12:42:32	1271	[DEBUG]	Query for Media
2023-10-13	12:42:32	1271	[DEBUG]	Executed store
2023-10-13	12:42:32	1271	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34909_chambre-à-air_msc_24x1_0_(540)__sv.jpg',`file_url_thumb`='bcprisme/34909_chambre-à-air_msc_24x1_0_(540)__sv.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '264890'
2023-10-13	12:42:32	1271	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:32	1271	[DEBUG]	Executed store
2023-10-13	12:42:32	1271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860763','264890','1')
2023-10-13	12:42:32	1271	[DEBUG]	Store product image relation
2023-10-13	12:42:32	1271	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:32	1271	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860763 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:32	1271	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:32	1271	[DEBUG]	Executed store
2023-10-13	12:42:32	1271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860763','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:32	1271	[DEBUG]	Checking manufacturer
2023-10-13	12:42:32	1271	[DEBUG]	Load a row
2023-10-13	12:42:32	1271	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:32	1271	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '225'
2023-10-13	12:42:32	1271	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:32	1271	[DEBUG]	Executed store
2023-10-13	12:42:32	1271	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='168',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='168' WHERE `virtuemart_manufacturer_id` = '225'
2023-10-13	12:42:32	1271	[DEBUG]	Manufacturer exists
2023-10-13	12:42:32	1271	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 225
2023-10-13	12:42:32	1271	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:32	1271	[DEBUG]	Executed store
2023-10-13	12:42:32	1271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860763','225')
2023-10-13	12:42:32	1271	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:32	1271	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:32	1271	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860763 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:32	1271	[DEBUG]	Store custom available field
2023-10-13	12:42:32	1271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860763,3,'',1)
2023-10-13	12:42:32	1271	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:32	1271	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:32	1271	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860763 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:32	1271	[DEBUG]	Store custom available field
2023-10-13	12:42:32	1271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860763,6,'Unitaire',3)
2023-10-13	12:42:32	1271	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:32	1271	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:32	1271	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860762
2023-10-13	12:42:32	1271	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:32	1271	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860762\":[1860762,8,1,\"choisir la taille\"],\"1860763\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860762
2023-10-13	12:42:32	1271	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:32	1271	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860763
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:32	1272	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field taille
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:32	1272	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:32	1272	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:32	1272	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:32	1272	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:32	1272	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:32	1272	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field published
2023-10-13	12:42:32	1272	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:32	1272	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field override
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:32	1272	[DEBUG]	Use field value for field slug
2023-10-13	12:42:32	1272	[DEBUG]	Process line 1272
2023-10-13	12:42:32	1272	[DEBUG]	Load a row
2023-10-13	12:42:32	1272	[DEBUG]	Processing item: A_8980_1
2023-10-13	12:42:32	1272	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:32	1272	[DEBUG]	Processing product tax
2023-10-13	12:42:32	1272	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:32	1272	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:32	1272	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:32	1272	[DEBUG]	Query for Product
2023-10-13	12:42:32	1272	[DEBUG]	Executed store
2023-10-13	12:42:32	1272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8980_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:32	1272	[DEBUG]	Check product language entry
2023-10-13	12:42:32	1272	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860764
2023-10-13	12:42:32	1272	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:32	1272	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8980_1' AND `virtuemart_product_id` != 1860764
2023-10-13	12:42:32	1272	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:32	1272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860764, 'A_8980_1')
2023-10-13	12:42:32	1272	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:32	1272	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-24x4-0-av-felt-kids-noir' AND `virtuemart_product_id` != 1860764
2023-10-13	12:42:32	1272	[DEBUG]	Query for ProductLang
2023-10-13	12:42:32	1272	[DEBUG]	Executed store
2023-10-13	12:42:32	1272	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8437B',`product_name`='SCHWALBE Chambre-à-air 24x4.0 AV Felt Kids  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-24x4-0-av-felt-kids-noir' WHERE `virtuemart_product_id` = '1860764'
2023-10-13	12:42:32	1272	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37982_chambre-à-air_24x4_0_av_felt_kids_.jpg
2023-10-13	12:42:32	1272	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:32	1272	[DEBUG]	Process image file
2023-10-13	12:42:32	1272	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:32	1272	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:32	1272	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37982_chambre-à-air_24x4_0_av_felt_kids_.jpg
2023-10-13	12:42:32	1272	[DEBUG]	Full name target: bcprisme/37982_chambre-à-air_24x4_0_av_felt_kids_.jpg
2023-10-13	12:42:33	1272	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:33	1272	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37982_chambre-à-air_24x4_0_av_felt_kids_.jpg'
2023-10-13	12:42:33	1272	[DEBUG]	Query for Media
2023-10-13	12:42:33	1272	[DEBUG]	Executed store
2023-10-13	12:42:33	1272	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37982_chambre-à-air_24x4_0_av_felt_kids_.jpg',`file_url_thumb`='bcprisme/37982_chambre-à-air_24x4_0_av_felt_kids_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194629'
2023-10-13	12:42:33	1272	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:33	1272	[DEBUG]	Executed store
2023-10-13	12:42:33	1272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860764','1194629','1')
2023-10-13	12:42:33	1272	[DEBUG]	Store product image relation
2023-10-13	12:42:33	1272	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:33	1272	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860764 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:33	1272	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:33	1272	[DEBUG]	Executed store
2023-10-13	12:42:33	1272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860764','0','13.9275766016713','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:33	1272	[DEBUG]	Checking manufacturer
2023-10-13	12:42:33	1272	[DEBUG]	Load a row
2023-10-13	12:42:33	1272	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:33	1272	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:33	1272	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:33	1272	[DEBUG]	Executed store
2023-10-13	12:42:33	1272	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:33	1272	[DEBUG]	Manufacturer exists
2023-10-13	12:42:33	1272	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:42:33	1272	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:33	1272	[DEBUG]	Executed store
2023-10-13	12:42:33	1272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860764','25')
2023-10-13	12:42:33	1272	[DEBUG]	Find the custom field ID
2023-10-13	12:42:33	1272	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:33	1272	[DEBUG]	No custom field ID found
2023-10-13	12:42:33	1272	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:33	1272	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:42:33	1272	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860764 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:33	1272	[DEBUG]	Store custom available field
2023-10-13	12:42:33	1272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860764,3,'0',1)
2023-10-13	12:42:33	1272	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:33	1272	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:33	1272	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860764 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:33	1272	[DEBUG]	Store custom available field
2023-10-13	12:42:33	1272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860764,6,'choisir la taille',3)
2023-10-13	12:42:33	1272	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:33	1272	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:33	1272	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:33	1272	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:33	1272	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860764 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:33	1272	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:33	1272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860764,8,1)
2023-10-13	12:42:33	1272	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:33	1272	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860764\":[1860764,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860764
2023-10-13	12:42:33	1272	[DEBUG]	Checking category
2023-10-13	12:42:33	1272	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:33	1272	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860764
2023-10-13	12:42:33	1272	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:33	1272	[DEBUG]	Executed store
2023-10-13	12:42:33	1272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860764','7296')
2023-10-13	12:42:33	1272	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:33	1272	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860764 AND `virtuemart_category_id` NOT IN (7296)
2023-10-13	12:42:33	1272	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:33	1272	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860764
2023-10-13	12:42:33	1273	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:33	1273	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:33	1273	[DEBUG]	Use field value for field taille
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:33	1273	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:33	1273	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:33	1273	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:33	1273	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:33	1273	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:33	1273	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:33	1273	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:33	1273	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:33	1273	[DEBUG]	Use field value for field published
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:33	1273	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field override
2023-10-13	12:42:33	1273	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:33	1273	[DEBUG]	Use field value for field slug
2023-10-13	12:42:33	1273	[DEBUG]	Process line 1273
2023-10-13	12:42:33	1273	[DEBUG]	Load a row
2023-10-13	12:42:33	1273	[DEBUG]	Processing item: 1000000177237
2023-10-13	12:42:33	1273	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:33	1273	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:33	1273	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8980_1'
2023-10-13	12:42:33	1273	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:33	1273	[DEBUG]	Processing product tax
2023-10-13	12:42:33	1273	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:33	1273	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:33	1273	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:33	1273	[DEBUG]	Query for Product
2023-10-13	12:42:33	1273	[DEBUG]	Executed store
2023-10-13	12:42:33	1273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860764','1000000177237','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:33	1273	[DEBUG]	No parent found
2023-10-13	12:42:33	1273	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860764 AND customfield_value = 'stockable'
2023-10-13	12:42:33	1273	[DEBUG]	Check product language entry
2023-10-13	12:42:33	1273	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860765
2023-10-13	12:42:33	1273	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:33	1273	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000177237' AND `virtuemart_product_id` != 1860765
2023-10-13	12:42:33	1273	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:33	1273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860765, '1000000177237')
2023-10-13	12:42:33	1273	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:33	1273	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-24x4-0-av-felt-kids-noir-unitaire' AND `virtuemart_product_id` != 1860765
2023-10-13	12:42:33	1273	[DEBUG]	Query for ProductLang
2023-10-13	12:42:33	1273	[DEBUG]	Executed store
2023-10-13	12:42:33	1273	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 24x4.0 AV Felt Kids  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-24x4-0-av-felt-kids-noir-unitaire' WHERE `virtuemart_product_id` = '1860765'
2023-10-13	12:42:33	1273	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37982_chambre-à-air_24x4_0_av_felt_kids_.jpg
2023-10-13	12:42:33	1273	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:33	1273	[DEBUG]	Process image file
2023-10-13	12:42:33	1273	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:33	1273	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:33	1273	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37982_chambre-à-air_24x4_0_av_felt_kids_.jpg
2023-10-13	12:42:33	1273	[DEBUG]	Full name target: bcprisme/37982_chambre-à-air_24x4_0_av_felt_kids_.jpg
2023-10-13	12:42:34	1273	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:34	1273	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37982_chambre-à-air_24x4_0_av_felt_kids_.jpg'
2023-10-13	12:42:34	1273	[DEBUG]	Query for Media
2023-10-13	12:42:34	1273	[DEBUG]	Executed store
2023-10-13	12:42:34	1273	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37982_chambre-à-air_24x4_0_av_felt_kids_.jpg',`file_url_thumb`='bcprisme/37982_chambre-à-air_24x4_0_av_felt_kids_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194629'
2023-10-13	12:42:34	1273	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:34	1273	[DEBUG]	Executed store
2023-10-13	12:42:34	1273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860765','1194629','1')
2023-10-13	12:42:34	1273	[DEBUG]	Store product image relation
2023-10-13	12:42:34	1273	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:34	1273	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860765 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:34	1273	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:34	1273	[DEBUG]	Executed store
2023-10-13	12:42:34	1273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860765','0','13.9275766016713','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:34	1273	[DEBUG]	Checking manufacturer
2023-10-13	12:42:34	1273	[DEBUG]	Load a row
2023-10-13	12:42:34	1273	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:34	1273	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:34	1273	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:34	1273	[DEBUG]	Executed store
2023-10-13	12:42:34	1273	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:34	1273	[DEBUG]	Manufacturer exists
2023-10-13	12:42:34	1273	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:42:34	1273	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:34	1273	[DEBUG]	Executed store
2023-10-13	12:42:34	1273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860765','25')
2023-10-13	12:42:34	1273	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:34	1273	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:34	1273	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860765 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:34	1273	[DEBUG]	Store custom available field
2023-10-13	12:42:34	1273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860765,3,'',1)
2023-10-13	12:42:34	1273	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:34	1273	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:34	1273	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860765 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:34	1273	[DEBUG]	Store custom available field
2023-10-13	12:42:34	1273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860765,6,'Unitaire',3)
2023-10-13	12:42:34	1273	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:34	1273	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:34	1273	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860764
2023-10-13	12:42:34	1273	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:34	1273	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860764\":[1860764,8,1,\"choisir la taille\"],\"1860765\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860764
2023-10-13	12:42:34	1273	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:34	1273	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860765
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:34	1274	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field taille
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:34	1274	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:34	1274	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:34	1274	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:34	1274	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:34	1274	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:34	1274	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field published
2023-10-13	12:42:34	1274	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:34	1274	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field override
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:34	1274	[DEBUG]	Use field value for field slug
2023-10-13	12:42:34	1274	[DEBUG]	Process line 1274
2023-10-13	12:42:34	1274	[DEBUG]	Load a row
2023-10-13	12:42:34	1274	[DEBUG]	Processing item: A_169_1
2023-10-13	12:42:34	1274	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:34	1274	[DEBUG]	Processing product tax
2023-10-13	12:42:34	1274	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:34	1274	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:34	1274	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:34	1274	[DEBUG]	Query for Product
2023-10-13	12:42:34	1274	[DEBUG]	Executed store
2023-10-13	12:42:34	1274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_169_1','0.154','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:34	1274	[DEBUG]	Check product language entry
2023-10-13	12:42:34	1274	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860766
2023-10-13	12:42:34	1274	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:34	1274	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_169_1' AND `virtuemart_product_id` != 1860766
2023-10-13	12:42:34	1274	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:34	1274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860766, 'A_169_1')
2023-10-13	12:42:34	1274	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:34	1274	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-3006-26-x-1-5-1-75-fv-noir' AND `virtuemart_product_id` != 1860766
2023-10-13	12:42:34	1274	[DEBUG]	Query for ProductLang
2023-10-13	12:42:34	1274	[DEBUG]	Executed store
2023-10-13	12:42:34	1274	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='3006 26 x 1.5/1.75 FV, 154gr<br>N° art fourn : 26150175FV',`product_name`='MSC Chambre-à-air 3006 26 x 1.5/1.75 FV / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-3006-26-x-1-5-1-75-fv-noir' WHERE `virtuemart_product_id` = '1860766'
2023-10-13	12:42:34	1274	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_187.jpg
2023-10-13	12:42:34	1274	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:34	1274	[DEBUG]	Process image file
2023-10-13	12:42:34	1274	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:34	1274	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:34	1274	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_187.jpg
2023-10-13	12:42:34	1274	[DEBUG]	Full name target: bcprisme/image_187.jpg
2023-10-13	12:42:37	1274	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:37	1274	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_187.jpg'
2023-10-13	12:42:37	1274	[DEBUG]	Query for Media
2023-10-13	12:42:37	1274	[DEBUG]	Executed store
2023-10-13	12:42:37	1274	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_187.jpg',`file_url_thumb`='bcprisme/image_187.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12609'
2023-10-13	12:42:37	1274	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:37	1274	[DEBUG]	Executed store
2023-10-13	12:42:37	1274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860766','12609','1')
2023-10-13	12:42:37	1274	[DEBUG]	Store product image relation
2023-10-13	12:42:37	1274	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:37	1274	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860766 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:37	1274	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:37	1274	[DEBUG]	Executed store
2023-10-13	12:42:37	1274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860766','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:37	1274	[DEBUG]	Checking manufacturer
2023-10-13	12:42:37	1274	[DEBUG]	Load a row
2023-10-13	12:42:37	1274	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:37	1274	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:37	1274	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:37	1274	[DEBUG]	Executed store
2023-10-13	12:42:37	1274	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:37	1274	[DEBUG]	Manufacturer exists
2023-10-13	12:42:37	1274	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:37	1274	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:37	1274	[DEBUG]	Executed store
2023-10-13	12:42:37	1274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860766','32')
2023-10-13	12:42:37	1274	[DEBUG]	Find the custom field ID
2023-10-13	12:42:37	1274	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:37	1274	[DEBUG]	No custom field ID found
2023-10-13	12:42:37	1274	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:37	1274	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:42:37	1274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860766 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:37	1274	[DEBUG]	Store custom available field
2023-10-13	12:42:37	1274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860766,3,'9.8725',1)
2023-10-13	12:42:37	1274	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:37	1274	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:37	1274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860766 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:37	1274	[DEBUG]	Store custom available field
2023-10-13	12:42:37	1274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860766,6,'choisir la taille',3)
2023-10-13	12:42:37	1274	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:37	1274	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:37	1274	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:37	1274	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:37	1274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860766 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:37	1274	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:37	1274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860766,8,1)
2023-10-13	12:42:37	1274	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:37	1274	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860766\":[1860766,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860766
2023-10-13	12:42:37	1274	[DEBUG]	Checking category
2023-10-13	12:42:37	1274	[DEBUG]	Check if category path exists: CHAMBRES-A-AIR 26/ SCHLAÜCHE 26
2023-10-13	12:42:37	1274	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIR 26/ SCHLAÜCHE 26' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7291
2023-10-13	12:42:37	1274	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:37	1274	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860766
2023-10-13	12:42:37	1274	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:37	1274	[DEBUG]	Executed store
2023-10-13	12:42:37	1274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860766','7297')
2023-10-13	12:42:37	1274	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:37	1274	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860766 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:42:37	1274	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:37	1274	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860766
2023-10-13	12:42:37	1275	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:37	1275	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:37	1275	[DEBUG]	Use field value for field taille
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:37	1275	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:37	1275	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:37	1275	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:37	1275	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:37	1275	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:37	1275	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:37	1275	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:37	1275	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:37	1275	[DEBUG]	Use field value for field published
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:37	1275	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field override
2023-10-13	12:42:37	1275	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:37	1275	[DEBUG]	Use field value for field slug
2023-10-13	12:42:37	1275	[DEBUG]	Process line 1275
2023-10-13	12:42:37	1275	[DEBUG]	Load a row
2023-10-13	12:42:37	1275	[DEBUG]	Processing item: 8436041133896
2023-10-13	12:42:37	1275	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:37	1275	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:37	1275	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_169_1'
2023-10-13	12:42:37	1275	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:37	1275	[DEBUG]	Processing product tax
2023-10-13	12:42:37	1275	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:37	1275	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:37	1275	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:37	1275	[DEBUG]	Query for Product
2023-10-13	12:42:37	1275	[DEBUG]	Executed store
2023-10-13	12:42:37	1275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860766','8436041133896','0','KG','M','','43','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:37	1275	[DEBUG]	No parent found
2023-10-13	12:42:37	1275	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860766 AND customfield_value = 'stockable'
2023-10-13	12:42:37	1275	[DEBUG]	Check product language entry
2023-10-13	12:42:37	1275	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860767
2023-10-13	12:42:37	1275	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:37	1275	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041133896' AND `virtuemart_product_id` != 1860767
2023-10-13	12:42:37	1275	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:37	1275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860767, '8436041133896')
2023-10-13	12:42:37	1275	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:37	1275	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-3006-26-x-1-5-1-75-fv-noir-unitaire' AND `virtuemart_product_id` != 1860767
2023-10-13	12:42:38	1275	[DEBUG]	Query for ProductLang
2023-10-13	12:42:38	1275	[DEBUG]	Executed store
2023-10-13	12:42:38	1275	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 3006 26 x 1.5/1.75 FV / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-3006-26-x-1-5-1-75-fv-noir-unitaire' WHERE `virtuemart_product_id` = '1860767'
2023-10-13	12:42:38	1275	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_187.jpg
2023-10-13	12:42:38	1275	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:38	1275	[DEBUG]	Process image file
2023-10-13	12:42:38	1275	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:38	1275	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:38	1275	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_187.jpg
2023-10-13	12:42:38	1275	[DEBUG]	Full name target: bcprisme/image_187.jpg
2023-10-13	12:42:42	1275	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:42	1275	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_187.jpg'
2023-10-13	12:42:42	1275	[DEBUG]	Query for Media
2023-10-13	12:42:42	1275	[DEBUG]	Executed store
2023-10-13	12:42:42	1275	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_187.jpg',`file_url_thumb`='bcprisme/image_187.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12609'
2023-10-13	12:42:42	1275	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:42	1275	[DEBUG]	Executed store
2023-10-13	12:42:42	1275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860767','12609','1')
2023-10-13	12:42:42	1275	[DEBUG]	Store product image relation
2023-10-13	12:42:42	1275	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:42	1275	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860767 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:42	1275	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:42	1275	[DEBUG]	Executed store
2023-10-13	12:42:42	1275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860767','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:42	1275	[DEBUG]	Checking manufacturer
2023-10-13	12:42:42	1275	[DEBUG]	Load a row
2023-10-13	12:42:42	1275	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:42	1275	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:42	1275	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:42	1275	[DEBUG]	Executed store
2023-10-13	12:42:42	1275	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:42	1275	[DEBUG]	Manufacturer exists
2023-10-13	12:42:42	1275	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:42	1275	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:42	1275	[DEBUG]	Executed store
2023-10-13	12:42:42	1275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860767','32')
2023-10-13	12:42:42	1275	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:42	1275	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:42	1275	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860767 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:42	1275	[DEBUG]	Store custom available field
2023-10-13	12:42:42	1275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860767,3,'',1)
2023-10-13	12:42:42	1275	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:42	1275	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:42	1275	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860767 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:42	1275	[DEBUG]	Store custom available field
2023-10-13	12:42:42	1275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860767,6,'Unitaire',3)
2023-10-13	12:42:42	1275	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:42	1275	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:42	1275	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860766
2023-10-13	12:42:42	1275	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:42	1275	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860766\":[1860766,8,1,\"choisir la taille\"],\"1860767\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860766
2023-10-13	12:42:42	1275	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:42	1275	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860767
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:42	1276	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field taille
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:42	1276	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:42	1276	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:42	1276	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:42	1276	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:42	1276	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:42	1276	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field published
2023-10-13	12:42:42	1276	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:42	1276	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field override
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:42	1276	[DEBUG]	Use field value for field slug
2023-10-13	12:42:42	1276	[DEBUG]	Process line 1276
2023-10-13	12:42:42	1276	[DEBUG]	Load a row
2023-10-13	12:42:42	1276	[DEBUG]	Processing item: A_170_1
2023-10-13	12:42:42	1276	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:42	1276	[DEBUG]	Processing product tax
2023-10-13	12:42:42	1276	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:42	1276	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:42	1276	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:42	1276	[DEBUG]	Query for Product
2023-10-13	12:42:42	1276	[DEBUG]	Executed store
2023-10-13	12:42:42	1276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_170_1','0.148','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:42	1276	[DEBUG]	Check product language entry
2023-10-13	12:42:42	1276	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860768
2023-10-13	12:42:42	1276	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:42	1276	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_170_1' AND `virtuemart_product_id` != 1860768
2023-10-13	12:42:42	1276	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:42	1276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860768, 'A_170_1')
2023-10-13	12:42:42	1276	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:42	1276	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-3005-26-x-1-5-1-75-sv-noir' AND `virtuemart_product_id` != 1860768
2023-10-13	12:42:42	1276	[DEBUG]	Query for ProductLang
2023-10-13	12:42:42	1276	[DEBUG]	Executed store
2023-10-13	12:42:42	1276	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='3005 26 x 1.5/1.75 SV, 148gr<br>N° art fourn : 26150175SV',`product_name`='MSC Chambre-à-air 3005 26 x 1.5/1.75 SV / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-3005-26-x-1-5-1-75-sv-noir' WHERE `virtuemart_product_id` = '1860768'
2023-10-13	12:42:42	1276	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_188.jpg
2023-10-13	12:42:42	1276	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:42	1276	[DEBUG]	Process image file
2023-10-13	12:42:42	1276	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:42	1276	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:42	1276	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_188.jpg
2023-10-13	12:42:42	1276	[DEBUG]	Full name target: bcprisme/image_188.jpg
2023-10-13	12:42:43	1276	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:43	1276	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_188.jpg'
2023-10-13	12:42:43	1276	[DEBUG]	Query for Media
2023-10-13	12:42:43	1276	[DEBUG]	Executed store
2023-10-13	12:42:43	1276	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_188.jpg',`file_url_thumb`='bcprisme/image_188.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15819'
2023-10-13	12:42:43	1276	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:43	1276	[DEBUG]	Executed store
2023-10-13	12:42:43	1276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860768','15819','1')
2023-10-13	12:42:43	1276	[DEBUG]	Store product image relation
2023-10-13	12:42:43	1276	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:43	1276	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860768 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:43	1276	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:43	1276	[DEBUG]	Executed store
2023-10-13	12:42:43	1276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860768','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:43	1276	[DEBUG]	Checking manufacturer
2023-10-13	12:42:43	1276	[DEBUG]	Load a row
2023-10-13	12:42:43	1276	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:43	1276	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:43	1276	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:43	1276	[DEBUG]	Executed store
2023-10-13	12:42:43	1276	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:43	1276	[DEBUG]	Manufacturer exists
2023-10-13	12:42:43	1276	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:43	1276	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:43	1276	[DEBUG]	Executed store
2023-10-13	12:42:43	1276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860768','32')
2023-10-13	12:42:43	1276	[DEBUG]	Find the custom field ID
2023-10-13	12:42:43	1276	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:43	1276	[DEBUG]	No custom field ID found
2023-10-13	12:42:43	1276	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:43	1276	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:42:43	1276	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860768 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:43	1276	[DEBUG]	Store custom available field
2023-10-13	12:42:43	1276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860768,3,'9.8725',1)
2023-10-13	12:42:43	1276	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:43	1276	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:43	1276	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860768 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:43	1276	[DEBUG]	Store custom available field
2023-10-13	12:42:43	1276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860768,6,'choisir la taille',3)
2023-10-13	12:42:43	1276	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:43	1276	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:43	1276	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:43	1276	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:43	1276	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860768 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:43	1276	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:43	1276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860768,8,1)
2023-10-13	12:42:43	1276	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:43	1276	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860768\":[1860768,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860768
2023-10-13	12:42:43	1276	[DEBUG]	Checking category
2023-10-13	12:42:43	1276	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:43	1276	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860768
2023-10-13	12:42:43	1276	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:43	1276	[DEBUG]	Executed store
2023-10-13	12:42:43	1276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860768','7297')
2023-10-13	12:42:43	1276	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:43	1276	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860768 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:42:43	1276	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:43	1276	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860768
2023-10-13	12:42:43	1277	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:43	1277	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:43	1277	[DEBUG]	Use field value for field taille
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:43	1277	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:43	1277	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:43	1277	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:43	1277	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:43	1277	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:43	1277	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:43	1277	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:43	1277	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:43	1277	[DEBUG]	Use field value for field published
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:43	1277	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field override
2023-10-13	12:42:43	1277	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:43	1277	[DEBUG]	Use field value for field slug
2023-10-13	12:42:43	1277	[DEBUG]	Process line 1277
2023-10-13	12:42:43	1277	[DEBUG]	Load a row
2023-10-13	12:42:43	1277	[DEBUG]	Processing item: 8436041133889
2023-10-13	12:42:43	1277	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:43	1277	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:43	1277	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_170_1'
2023-10-13	12:42:43	1277	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:43	1277	[DEBUG]	Processing product tax
2023-10-13	12:42:43	1277	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:43	1277	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:43	1277	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:43	1277	[DEBUG]	Query for Product
2023-10-13	12:42:43	1277	[DEBUG]	Executed store
2023-10-13	12:42:43	1277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860768','8436041133889','0','KG','M','','64','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:43	1277	[DEBUG]	No parent found
2023-10-13	12:42:43	1277	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860768 AND customfield_value = 'stockable'
2023-10-13	12:42:43	1277	[DEBUG]	Check product language entry
2023-10-13	12:42:43	1277	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860769
2023-10-13	12:42:43	1277	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:43	1277	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041133889' AND `virtuemart_product_id` != 1860769
2023-10-13	12:42:43	1277	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:43	1277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860769, '8436041133889')
2023-10-13	12:42:43	1277	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:43	1277	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-3005-26-x-1-5-1-75-sv-noir-unitaire' AND `virtuemart_product_id` != 1860769
2023-10-13	12:42:43	1277	[DEBUG]	Query for ProductLang
2023-10-13	12:42:43	1277	[DEBUG]	Executed store
2023-10-13	12:42:43	1277	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 3005 26 x 1.5/1.75 SV / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-3005-26-x-1-5-1-75-sv-noir-unitaire' WHERE `virtuemart_product_id` = '1860769'
2023-10-13	12:42:43	1277	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_188.jpg
2023-10-13	12:42:43	1277	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:43	1277	[DEBUG]	Process image file
2023-10-13	12:42:43	1277	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	12:42:43	1277	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:43	1277	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_188.jpg
2023-10-13	12:42:43	1277	[DEBUG]	Full name target: bcprisme/image_188.jpg
2023-10-13	12:42:44	1277	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:44	1277	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_188.jpg'
2023-10-13	12:42:44	1277	[DEBUG]	Query for Media
2023-10-13	12:42:44	1277	[DEBUG]	Executed store
2023-10-13	12:42:44	1277	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_188.jpg',`file_url_thumb`='bcprisme/image_188.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15819'
2023-10-13	12:42:44	1277	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:44	1277	[DEBUG]	Executed store
2023-10-13	12:42:44	1277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860769','15819','1')
2023-10-13	12:42:44	1277	[DEBUG]	Store product image relation
2023-10-13	12:42:44	1277	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:44	1277	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860769 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:44	1277	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:44	1277	[DEBUG]	Executed store
2023-10-13	12:42:44	1277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860769','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:44	1277	[DEBUG]	Checking manufacturer
2023-10-13	12:42:44	1277	[DEBUG]	Load a row
2023-10-13	12:42:44	1277	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:44	1277	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:44	1277	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:44	1277	[DEBUG]	Executed store
2023-10-13	12:42:44	1277	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:44	1277	[DEBUG]	Manufacturer exists
2023-10-13	12:42:44	1277	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:44	1277	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:44	1277	[DEBUG]	Executed store
2023-10-13	12:42:44	1277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860769','32')
2023-10-13	12:42:44	1277	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:44	1277	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:44	1277	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860769 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:44	1277	[DEBUG]	Store custom available field
2023-10-13	12:42:44	1277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860769,3,'',1)
2023-10-13	12:42:44	1277	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:44	1277	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:44	1277	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860769 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:44	1277	[DEBUG]	Store custom available field
2023-10-13	12:42:44	1277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860769,6,'Unitaire',3)
2023-10-13	12:42:44	1277	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:44	1277	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:44	1277	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860768
2023-10-13	12:42:44	1277	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:44	1277	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860768\":[1860768,8,1,\"choisir la taille\"],\"1860769\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860768
2023-10-13	12:42:44	1277	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:44	1277	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860769
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:44	1278	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field taille
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:44	1278	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:44	1278	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:44	1278	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:44	1278	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:44	1278	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:44	1278	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field published
2023-10-13	12:42:44	1278	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:44	1278	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field override
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:44	1278	[DEBUG]	Use field value for field slug
2023-10-13	12:42:44	1278	[DEBUG]	Process line 1278
2023-10-13	12:42:44	1278	[DEBUG]	Load a row
2023-10-13	12:42:44	1278	[DEBUG]	Processing item: A_2871_22
2023-10-13	12:42:44	1278	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:44	1278	[DEBUG]	Processing product tax
2023-10-13	12:42:44	1278	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:44	1278	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:44	1278	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:44	1278	[DEBUG]	Query for Product
2023-10-13	12:42:44	1278	[DEBUG]	Executed store
2023-10-13	12:42:44	1278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2871_22','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:44	1278	[DEBUG]	Check product language entry
2023-10-13	12:42:44	1278	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860770
2023-10-13	12:42:44	1278	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:44	1278	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2871_22' AND `virtuemart_product_id` != 1860770
2023-10-13	12:42:44	1278	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:44	1278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860770, 'A_2871_22')
2023-10-13	12:42:44	1278	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:44	1278	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-foss-26-x-1-35-2-00-fv-bleu' AND `virtuemart_product_id` != 1860770
2023-10-13	12:42:44	1278	[DEBUG]	Query for ProductLang
2023-10-13	12:42:44	1278	[DEBUG]	Executed store
2023-10-13	12:42:44	1278	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='CHAMBRE-A-AIR FOSS 26 X 1.35 /2.00 FV<br>Gamme de chambre-à-air réalisées en polyuréthane. L\'intérêt ? C\'est biodégradable, 30% plus léger qu\'une chambre-à-air standard et s\'auto-répare en cas de crevaison par perforation (clou ou épine). La valve ne tourne pas au freinage et l\'on peut se passer de fonds de jante. Attention, cette chambre-à-air n\'est pas compatible avec un freinage par patins sur une jante en carbone à cause de la grande chaleur dégagée !<br>Crever sans exploser : chambre à air constitué de EFT, qui est un composé polymérisé et non vulcanisé. Lors d\'une crevaison, ce matériel se referme sur l\'objet perforateur, retardant ainsi la sortie d\'air, et donnant au pilote plus de temps pour réagir. <br>Poids extrêmement léger : Avec une densité de seulement 0.88c/cc, l\'EFT est 30% plus léger qu\'une chambre traditionnelle (jusqu\'à 1.3g/cc). Respectueux de l\'environnement : Fait avec des composés élastomères modifiés thermoplastiques (TPE), notre EFT peut être recyclé avec les autres TPE, réduisant ainsi les résidus et contribuant à la protection de notre environnement. <br>N° art fourn : FOSS26135200FV',`product_name`='MSC Chambre-à-air FOSS 26 X 1.35 /2.00 FV / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-foss-26-x-1-35-2-00-fv-bleu' WHERE `virtuemart_product_id` = '1860770'
2023-10-13	12:42:44	1278	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12088.jpg
2023-10-13	12:42:44	1278	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:44	1278	[DEBUG]	Process image file
2023-10-13	12:42:44	1278	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:44	1278	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:44	1278	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12088.jpg
2023-10-13	12:42:44	1278	[DEBUG]	Full name target: bcprisme/image_12088.jpg
2023-10-13	12:42:45	1278	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:45	1278	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12088.jpg'
2023-10-13	12:42:45	1278	[DEBUG]	Query for Media
2023-10-13	12:42:45	1278	[DEBUG]	Executed store
2023-10-13	12:42:45	1278	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12088.jpg',`file_url_thumb`='bcprisme/image_12088.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12610'
2023-10-13	12:42:45	1278	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:45	1278	[DEBUG]	Executed store
2023-10-13	12:42:45	1278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860770','12610','1')
2023-10-13	12:42:45	1278	[DEBUG]	Store product image relation
2023-10-13	12:42:45	1278	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:45	1278	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860770 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:45	1278	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:45	1278	[DEBUG]	Executed store
2023-10-13	12:42:45	1278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860770','0','23.0733519034355','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:45	1278	[DEBUG]	Checking manufacturer
2023-10-13	12:42:45	1278	[DEBUG]	Load a row
2023-10-13	12:42:45	1278	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:45	1278	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:45	1278	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:45	1278	[DEBUG]	Executed store
2023-10-13	12:42:45	1278	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:45	1278	[DEBUG]	Manufacturer exists
2023-10-13	12:42:45	1278	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:45	1278	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:45	1278	[DEBUG]	Executed store
2023-10-13	12:42:45	1278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860770','32')
2023-10-13	12:42:45	1278	[DEBUG]	Find the custom field ID
2023-10-13	12:42:45	1278	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:45	1278	[DEBUG]	No custom field ID found
2023-10-13	12:42:45	1278	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:45	1278	[DEBUG]	Get existing row with customfield value 24.8308333333333
2023-10-13	12:42:45	1278	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860770 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:45	1278	[DEBUG]	Store custom available field
2023-10-13	12:42:45	1278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860770,3,'24.8308333333333',1)
2023-10-13	12:42:45	1278	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:45	1278	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:45	1278	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860770 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:45	1278	[DEBUG]	Store custom available field
2023-10-13	12:42:45	1278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860770,6,'choisir la taille',3)
2023-10-13	12:42:45	1278	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:45	1278	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:45	1278	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:45	1278	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:45	1278	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860770 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:45	1278	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:45	1278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860770,8,1)
2023-10-13	12:42:45	1278	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:45	1278	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860770\":[1860770,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860770
2023-10-13	12:42:45	1278	[DEBUG]	Checking category
2023-10-13	12:42:45	1278	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:45	1278	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860770
2023-10-13	12:42:45	1278	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:45	1278	[DEBUG]	Executed store
2023-10-13	12:42:45	1278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860770','7297')
2023-10-13	12:42:45	1278	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:45	1278	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860770 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:42:45	1278	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:45	1278	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860770
2023-10-13	12:42:45	1279	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:45	1279	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:45	1279	[DEBUG]	Use field value for field taille
2023-10-13	12:42:45	1279	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:45	1279	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:46	1279	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:46	1279	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:46	1279	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:46	1279	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:46	1279	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:46	1279	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:46	1279	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:46	1279	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:46	1279	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:46	1279	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:46	1279	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:46	1279	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:46	1279	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:46	1279	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:46	1279	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:46	1279	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:46	1279	[DEBUG]	Use field value for field published
2023-10-13	12:42:46	1279	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:46	1279	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:46	1279	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:46	1279	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:46	1279	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:46	1279	[DEBUG]	Use default value for field override
2023-10-13	12:42:46	1279	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:46	1279	[DEBUG]	Use field value for field slug
2023-10-13	12:42:46	1279	[DEBUG]	Process line 1279
2023-10-13	12:42:46	1279	[DEBUG]	Load a row
2023-10-13	12:42:46	1279	[DEBUG]	Processing item: 1000000048117
2023-10-13	12:42:46	1279	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:46	1279	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:46	1279	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2871_22'
2023-10-13	12:42:46	1279	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:46	1279	[DEBUG]	Processing product tax
2023-10-13	12:42:46	1279	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:46	1279	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:46	1279	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:46	1279	[DEBUG]	Query for Product
2023-10-13	12:42:46	1279	[DEBUG]	Executed store
2023-10-13	12:42:46	1279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860770','1000000048117','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:46	1279	[DEBUG]	No parent found
2023-10-13	12:42:46	1279	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860770 AND customfield_value = 'stockable'
2023-10-13	12:42:46	1279	[DEBUG]	Check product language entry
2023-10-13	12:42:46	1279	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860771
2023-10-13	12:42:46	1279	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:46	1279	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000048117' AND `virtuemart_product_id` != 1860771
2023-10-13	12:42:46	1279	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:46	1279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860771, '1000000048117')
2023-10-13	12:42:46	1279	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:46	1279	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-foss-26-x-1-35-2-00-fv-bleu-unitaire' AND `virtuemart_product_id` != 1860771
2023-10-13	12:42:46	1279	[DEBUG]	Query for ProductLang
2023-10-13	12:42:46	1279	[DEBUG]	Executed store
2023-10-13	12:42:46	1279	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air FOSS 26 X 1.35 /2.00 FV / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-foss-26-x-1-35-2-00-fv-bleu-unitaire' WHERE `virtuemart_product_id` = '1860771'
2023-10-13	12:42:46	1279	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12088.jpg
2023-10-13	12:42:46	1279	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:46	1279	[DEBUG]	Process image file
2023-10-13	12:42:46	1279	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:46	1279	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:46	1279	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12088.jpg
2023-10-13	12:42:46	1279	[DEBUG]	Full name target: bcprisme/image_12088.jpg
2023-10-13	12:42:47	1279	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:47	1279	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12088.jpg'
2023-10-13	12:42:47	1279	[DEBUG]	Query for Media
2023-10-13	12:42:47	1279	[DEBUG]	Executed store
2023-10-13	12:42:47	1279	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12088.jpg',`file_url_thumb`='bcprisme/image_12088.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12610'
2023-10-13	12:42:47	1279	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:47	1279	[DEBUG]	Executed store
2023-10-13	12:42:47	1279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860771','12610','1')
2023-10-13	12:42:47	1279	[DEBUG]	Store product image relation
2023-10-13	12:42:47	1279	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:47	1279	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860771 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:47	1279	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:47	1279	[DEBUG]	Executed store
2023-10-13	12:42:47	1279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860771','0','23.0733519034355','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:47	1279	[DEBUG]	Checking manufacturer
2023-10-13	12:42:47	1279	[DEBUG]	Load a row
2023-10-13	12:42:47	1279	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:47	1279	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:47	1279	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:47	1279	[DEBUG]	Executed store
2023-10-13	12:42:47	1279	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:47	1279	[DEBUG]	Manufacturer exists
2023-10-13	12:42:47	1279	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:47	1279	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:47	1279	[DEBUG]	Executed store
2023-10-13	12:42:47	1279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860771','32')
2023-10-13	12:42:47	1279	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:47	1279	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:47	1279	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860771 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:47	1279	[DEBUG]	Store custom available field
2023-10-13	12:42:47	1279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860771,3,'',1)
2023-10-13	12:42:47	1279	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:47	1279	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:47	1279	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860771 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:47	1279	[DEBUG]	Store custom available field
2023-10-13	12:42:47	1279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860771,6,'Unitaire',3)
2023-10-13	12:42:47	1279	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:47	1279	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:47	1279	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860770
2023-10-13	12:42:47	1279	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:47	1279	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860770\":[1860770,8,1,\"choisir la taille\"],\"1860771\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860770
2023-10-13	12:42:47	1279	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:47	1279	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860771
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:47	1280	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field taille
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:47	1280	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:47	1280	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:47	1280	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:47	1280	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:47	1280	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:47	1280	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field published
2023-10-13	12:42:47	1280	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:47	1280	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field override
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:47	1280	[DEBUG]	Use field value for field slug
2023-10-13	12:42:47	1280	[DEBUG]	Process line 1280
2023-10-13	12:42:47	1280	[DEBUG]	Load a row
2023-10-13	12:42:47	1280	[DEBUG]	Processing item: A_2872_22
2023-10-13	12:42:47	1280	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:47	1280	[DEBUG]	Processing product tax
2023-10-13	12:42:47	1280	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:47	1280	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:47	1280	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:47	1280	[DEBUG]	Query for Product
2023-10-13	12:42:47	1280	[DEBUG]	Executed store
2023-10-13	12:42:47	1280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2872_22','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:47	1280	[DEBUG]	Check product language entry
2023-10-13	12:42:47	1280	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860772
2023-10-13	12:42:47	1280	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:47	1280	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2872_22' AND `virtuemart_product_id` != 1860772
2023-10-13	12:42:47	1280	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:47	1280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860772, 'A_2872_22')
2023-10-13	12:42:47	1280	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:47	1280	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-foss-26-x-1-95-2-50-fv-bleu' AND `virtuemart_product_id` != 1860772
2023-10-13	12:42:47	1280	[DEBUG]	Query for ProductLang
2023-10-13	12:42:47	1280	[DEBUG]	Executed store
2023-10-13	12:42:47	1280	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='CHAMBRE-A-AIR FOSS 26 X 1.95 / 2.50 FV<br>Gamme de chambre-à-air réalisées en polyuréthane. L\'intérêt ? C\'est biodégradable, 30% plus léger qu\'une chambre-à-air standard et s\'auto-répare en cas de crevaison par perforation (clou ou épine). La valve ne tourne pas au freinage et l\'on peut se passer de fonds de jante. Attention, cette chambre-à-air n\'est pas compatible avec un freinage par patins sur une jante en carbone à cause de la grande chaleur dégagée !<br>Crever sans exploser : chambre à air constitué de EFT, qui est un composé polymérisé et non vulcanisé. Lors d\'une crevaison, ce matériel se referme sur l\'objet perforateur, retardant ainsi la sortie d\'air, et donnant au pilote plus de temps pour réagir. <br>Poids extrêmement léger : Avec une densité de seulement 0.88c/cc, l\'EFT est 30% plus léger qu\'une chambre traditionnelle (jusqu\'à 1.3g/cc). Respectueux de l\'environnement : Fait avec des composés élastomères modifiés thermoplastiques (TPE), notre EFT peut être recyclé avec les autres TPE, réduisant ainsi les résidus et contribuant à la protection de notre environnement. <br>N° art fourn : FOSS26195250FV',`product_name`='MSC Chambre-à-air FOSS 26 X 1.95 / 2.50 FV / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-foss-26-x-1-95-2-50-fv-bleu' WHERE `virtuemart_product_id` = '1860772'
2023-10-13	12:42:47	1280	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12090.jpg
2023-10-13	12:42:47	1280	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:47	1280	[DEBUG]	Process image file
2023-10-13	12:42:47	1280	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:47	1280	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:47	1280	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12090.jpg
2023-10-13	12:42:47	1280	[DEBUG]	Full name target: bcprisme/image_12090.jpg
2023-10-13	12:42:48	1280	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:48	1280	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12090.jpg'
2023-10-13	12:42:48	1280	[DEBUG]	Query for Media
2023-10-13	12:42:48	1280	[DEBUG]	Executed store
2023-10-13	12:42:48	1280	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12090.jpg',`file_url_thumb`='bcprisme/image_12090.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12611'
2023-10-13	12:42:48	1280	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:48	1280	[DEBUG]	Executed store
2023-10-13	12:42:48	1280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860772','12611','1')
2023-10-13	12:42:48	1280	[DEBUG]	Store product image relation
2023-10-13	12:42:48	1280	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:48	1280	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860772 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:48	1280	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:48	1280	[DEBUG]	Executed store
2023-10-13	12:42:48	1280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860772','0','27.669452181987','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:48	1280	[DEBUG]	Checking manufacturer
2023-10-13	12:42:48	1280	[DEBUG]	Load a row
2023-10-13	12:42:48	1280	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:48	1280	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:48	1280	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:48	1280	[DEBUG]	Executed store
2023-10-13	12:42:48	1280	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:48	1280	[DEBUG]	Manufacturer exists
2023-10-13	12:42:48	1280	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:48	1280	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:48	1280	[DEBUG]	Executed store
2023-10-13	12:42:48	1280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860772','32')
2023-10-13	12:42:48	1280	[DEBUG]	Find the custom field ID
2023-10-13	12:42:48	1280	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:48	1280	[DEBUG]	No custom field ID found
2023-10-13	12:42:48	1280	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:48	1280	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	12:42:48	1280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860772 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:48	1280	[DEBUG]	Store custom available field
2023-10-13	12:42:48	1280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860772,3,'29.8169444444444',1)
2023-10-13	12:42:48	1280	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:48	1280	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:48	1280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860772 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:48	1280	[DEBUG]	Store custom available field
2023-10-13	12:42:48	1280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860772,6,'choisir la taille',3)
2023-10-13	12:42:48	1280	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:48	1280	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:48	1280	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:48	1280	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:48	1280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860772 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:48	1280	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:48	1280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860772,8,1)
2023-10-13	12:42:48	1280	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:48	1280	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860772\":[1860772,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860772
2023-10-13	12:42:48	1280	[DEBUG]	Checking category
2023-10-13	12:42:48	1280	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:48	1280	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860772
2023-10-13	12:42:48	1280	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:48	1280	[DEBUG]	Executed store
2023-10-13	12:42:48	1280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860772','7297')
2023-10-13	12:42:48	1280	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:48	1280	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860772 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:42:48	1280	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:48	1280	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860772
2023-10-13	12:42:48	1281	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:48	1281	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:48	1281	[DEBUG]	Use field value for field taille
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:48	1281	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:48	1281	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:48	1281	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:48	1281	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:48	1281	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:48	1281	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:48	1281	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:48	1281	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:48	1281	[DEBUG]	Use field value for field published
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:48	1281	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field override
2023-10-13	12:42:48	1281	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:48	1281	[DEBUG]	Use field value for field slug
2023-10-13	12:42:48	1281	[DEBUG]	Process line 1281
2023-10-13	12:42:48	1281	[DEBUG]	Load a row
2023-10-13	12:42:48	1281	[DEBUG]	Processing item: 1000000048124
2023-10-13	12:42:48	1281	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:48	1281	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:48	1281	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2872_22'
2023-10-13	12:42:48	1281	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:48	1281	[DEBUG]	Processing product tax
2023-10-13	12:42:48	1281	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:48	1281	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:48	1281	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:48	1281	[DEBUG]	Query for Product
2023-10-13	12:42:48	1281	[DEBUG]	Executed store
2023-10-13	12:42:48	1281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860772','1000000048124','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:48	1281	[DEBUG]	No parent found
2023-10-13	12:42:48	1281	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860772 AND customfield_value = 'stockable'
2023-10-13	12:42:48	1281	[DEBUG]	Check product language entry
2023-10-13	12:42:48	1281	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860773
2023-10-13	12:42:48	1281	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:48	1281	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000048124' AND `virtuemart_product_id` != 1860773
2023-10-13	12:42:48	1281	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:48	1281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860773, '1000000048124')
2023-10-13	12:42:48	1281	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:48	1281	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-foss-26-x-1-95-2-50-fv-bleu-unitaire' AND `virtuemart_product_id` != 1860773
2023-10-13	12:42:48	1281	[DEBUG]	Query for ProductLang
2023-10-13	12:42:48	1281	[DEBUG]	Executed store
2023-10-13	12:42:48	1281	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air FOSS 26 X 1.95 / 2.50 FV / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-foss-26-x-1-95-2-50-fv-bleu-unitaire' WHERE `virtuemart_product_id` = '1860773'
2023-10-13	12:42:48	1281	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12090.jpg
2023-10-13	12:42:48	1281	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:48	1281	[DEBUG]	Process image file
2023-10-13	12:42:48	1281	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:48	1281	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:48	1281	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12090.jpg
2023-10-13	12:42:48	1281	[DEBUG]	Full name target: bcprisme/image_12090.jpg
2023-10-13	12:42:49	1281	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:49	1281	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12090.jpg'
2023-10-13	12:42:49	1281	[DEBUG]	Query for Media
2023-10-13	12:42:49	1281	[DEBUG]	Executed store
2023-10-13	12:42:49	1281	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12090.jpg',`file_url_thumb`='bcprisme/image_12090.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12611'
2023-10-13	12:42:49	1281	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:49	1281	[DEBUG]	Executed store
2023-10-13	12:42:49	1281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860773','12611','1')
2023-10-13	12:42:49	1281	[DEBUG]	Store product image relation
2023-10-13	12:42:49	1281	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:49	1281	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860773 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:49	1281	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:49	1281	[DEBUG]	Executed store
2023-10-13	12:42:49	1281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860773','0','27.669452181987','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:49	1281	[DEBUG]	Checking manufacturer
2023-10-13	12:42:49	1281	[DEBUG]	Load a row
2023-10-13	12:42:49	1281	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:49	1281	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:49	1281	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:49	1281	[DEBUG]	Executed store
2023-10-13	12:42:49	1281	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:49	1281	[DEBUG]	Manufacturer exists
2023-10-13	12:42:49	1281	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:49	1281	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:49	1281	[DEBUG]	Executed store
2023-10-13	12:42:49	1281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860773','32')
2023-10-13	12:42:49	1281	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:49	1281	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:49	1281	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860773 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:49	1281	[DEBUG]	Store custom available field
2023-10-13	12:42:49	1281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860773,3,'',1)
2023-10-13	12:42:49	1281	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:49	1281	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:49	1281	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860773 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:49	1281	[DEBUG]	Store custom available field
2023-10-13	12:42:49	1281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860773,6,'Unitaire',3)
2023-10-13	12:42:49	1281	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:49	1281	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:49	1281	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860772
2023-10-13	12:42:49	1281	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:49	1281	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860772\":[1860772,8,1,\"choisir la taille\"],\"1860773\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860772
2023-10-13	12:42:49	1281	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:49	1281	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860773
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:49	1282	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field taille
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:49	1282	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:49	1282	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:49	1282	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:49	1282	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:49	1282	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:49	1282	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field published
2023-10-13	12:42:49	1282	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:49	1282	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field override
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:49	1282	[DEBUG]	Use field value for field slug
2023-10-13	12:42:49	1282	[DEBUG]	Process line 1282
2023-10-13	12:42:49	1282	[DEBUG]	Load a row
2023-10-13	12:42:49	1282	[DEBUG]	Processing item: A_4553_1
2023-10-13	12:42:49	1282	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:49	1282	[DEBUG]	Processing product tax
2023-10-13	12:42:49	1282	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:49	1282	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:49	1282	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:49	1282	[DEBUG]	Query for Product
2023-10-13	12:42:49	1282	[DEBUG]	Executed store
2023-10-13	12:42:49	1282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4553_1','0.14','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:49	1282	[DEBUG]	Check product language entry
2023-10-13	12:42:49	1282	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860774
2023-10-13	12:42:49	1282	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:49	1282	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4553_1' AND `virtuemart_product_id` != 1860774
2023-10-13	12:42:49	1282	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:49	1282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860774, 'A_4553_1')
2023-10-13	12:42:49	1282	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:49	1282	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-26-x-1-90-2-125-presta-valve-40-mm-epaisseur-0-9-mm-noir' AND `virtuemart_product_id` != 1860774
2023-10-13	12:42:49	1282	[DEBUG]	Query for ProductLang
2023-10-13	12:42:49	1282	[DEBUG]	Executed store
2023-10-13	12:42:49	1282	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='26 X 1.90/2.125 PRESTA, VALVE 40 MM, EPAISSEUR 0.9 MM<br><br>N° art fourn : TU261902125FV40',`product_name`='MSC Chambre-à-air 26 X 1.90/2.125 PRESTA, VALVE 40 MM, EPAISSEUR 0.9 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-26-x-1-90-2-125-presta-valve-40-mm-epaisseur-0-9-mm-noir' WHERE `virtuemart_product_id` = '1860774'
2023-10-13	12:42:49	1282	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27234_chambre-a-air_msc_26_x_1_90-2_125_schrader_40_mm_0_9_mm_.jpg
2023-10-13	12:42:49	1282	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:49	1282	[DEBUG]	Process image file
2023-10-13	12:42:49	1282	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:49	1282	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:49	1282	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27234_chambre-a-air_msc_26_x_1_90-2_125_schrader_40_mm_0_9_mm_.jpg
2023-10-13	12:42:49	1282	[DEBUG]	Full name target: bcprisme/27234_chambre-a-air_msc_26_x_1_90-2_125_schrader_40_mm_0_9_mm_.jpg
2023-10-13	12:42:50	1282	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:50	1282	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27234_chambre-a-air_msc_26_x_1_90-2_125_schrader_40_mm_0_9_mm_.jpg'
2023-10-13	12:42:50	1282	[DEBUG]	Query for Media
2023-10-13	12:42:50	1282	[DEBUG]	Executed store
2023-10-13	12:42:50	1282	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27234_chambre-a-air_msc_26_x_1_90-2_125_schrader_40_mm_0_9_mm_.jpg',`file_url_thumb`='bcprisme/27234_chambre-a-air_msc_26_x_1_90-2_125_schrader_40_mm_0_9_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15820'
2023-10-13	12:42:50	1282	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:50	1282	[DEBUG]	Executed store
2023-10-13	12:42:50	1282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860774','15820','1')
2023-10-13	12:42:50	1282	[DEBUG]	Store product image relation
2023-10-13	12:42:50	1282	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:50	1282	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860774 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:50	1282	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:50	1282	[DEBUG]	Executed store
2023-10-13	12:42:50	1282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860774','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:50	1282	[DEBUG]	Checking manufacturer
2023-10-13	12:42:50	1282	[DEBUG]	Load a row
2023-10-13	12:42:50	1282	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:50	1282	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:50	1282	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:50	1282	[DEBUG]	Executed store
2023-10-13	12:42:50	1282	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:50	1282	[DEBUG]	Manufacturer exists
2023-10-13	12:42:50	1282	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:50	1282	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:50	1282	[DEBUG]	Executed store
2023-10-13	12:42:50	1282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860774','32')
2023-10-13	12:42:50	1282	[DEBUG]	Find the custom field ID
2023-10-13	12:42:50	1282	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:50	1282	[DEBUG]	No custom field ID found
2023-10-13	12:42:50	1282	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:50	1282	[DEBUG]	Get existing row with customfield value 8.975
2023-10-13	12:42:50	1282	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860774 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:50	1282	[DEBUG]	Store custom available field
2023-10-13	12:42:50	1282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860774,3,'8.975',1)
2023-10-13	12:42:50	1282	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:50	1282	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:50	1282	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860774 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:50	1282	[DEBUG]	Store custom available field
2023-10-13	12:42:50	1282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860774,6,'choisir la taille',3)
2023-10-13	12:42:50	1282	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:50	1282	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:50	1282	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:50	1282	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:50	1282	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860774 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:50	1282	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:50	1282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860774,8,1)
2023-10-13	12:42:50	1282	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:50	1282	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860774\":[1860774,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860774
2023-10-13	12:42:50	1282	[DEBUG]	Checking category
2023-10-13	12:42:50	1282	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:50	1282	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860774
2023-10-13	12:42:50	1282	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:50	1282	[DEBUG]	Executed store
2023-10-13	12:42:50	1282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860774','7297')
2023-10-13	12:42:50	1282	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:50	1282	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860774 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:42:50	1282	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:50	1282	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860774
2023-10-13	12:42:50	1283	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:50	1283	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:50	1283	[DEBUG]	Use field value for field taille
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:50	1283	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:50	1283	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:50	1283	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:50	1283	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:50	1283	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:50	1283	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:50	1283	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:50	1283	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:50	1283	[DEBUG]	Use field value for field published
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:50	1283	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field override
2023-10-13	12:42:50	1283	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:50	1283	[DEBUG]	Use field value for field slug
2023-10-13	12:42:50	1283	[DEBUG]	Process line 1283
2023-10-13	12:42:50	1283	[DEBUG]	Load a row
2023-10-13	12:42:50	1283	[DEBUG]	Processing item: 8435466213947
2023-10-13	12:42:50	1283	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:50	1283	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:50	1283	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4553_1'
2023-10-13	12:42:50	1283	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:50	1283	[DEBUG]	Processing product tax
2023-10-13	12:42:50	1283	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:50	1283	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:50	1283	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:50	1283	[DEBUG]	Query for Product
2023-10-13	12:42:50	1283	[DEBUG]	Executed store
2023-10-13	12:42:50	1283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860774','8435466213947','0','KG','M','','12','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:50	1283	[DEBUG]	No parent found
2023-10-13	12:42:50	1283	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860774 AND customfield_value = 'stockable'
2023-10-13	12:42:50	1283	[DEBUG]	Check product language entry
2023-10-13	12:42:50	1283	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860775
2023-10-13	12:42:50	1283	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:50	1283	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213947' AND `virtuemart_product_id` != 1860775
2023-10-13	12:42:50	1283	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:50	1283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860775, '8435466213947')
2023-10-13	12:42:50	1283	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:50	1283	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-26-x-1-90-2-125-presta-valve-40-mm-epaisseur-0-9-mm-noir-unitaire' AND `virtuemart_product_id` != 1860775
2023-10-13	12:42:50	1283	[DEBUG]	Query for ProductLang
2023-10-13	12:42:50	1283	[DEBUG]	Executed store
2023-10-13	12:42:50	1283	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 26 X 1.90/2.125 PRESTA, VALVE 40 MM, EPAISSEUR 0.9 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-26-x-1-90-2-125-presta-valve-40-mm-epaisseur-0-9-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860775'
2023-10-13	12:42:50	1283	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27234_chambre-a-air_msc_26_x_1_90-2_125_schrader_40_mm_0_9_mm_.jpg
2023-10-13	12:42:50	1283	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:50	1283	[DEBUG]	Process image file
2023-10-13	12:42:50	1283	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:42:50	1283	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:50	1283	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27234_chambre-a-air_msc_26_x_1_90-2_125_schrader_40_mm_0_9_mm_.jpg
2023-10-13	12:42:50	1283	[DEBUG]	Full name target: bcprisme/27234_chambre-a-air_msc_26_x_1_90-2_125_schrader_40_mm_0_9_mm_.jpg
2023-10-13	12:42:51	1283	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:51	1283	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27234_chambre-a-air_msc_26_x_1_90-2_125_schrader_40_mm_0_9_mm_.jpg'
2023-10-13	12:42:51	1283	[DEBUG]	Query for Media
2023-10-13	12:42:51	1283	[DEBUG]	Executed store
2023-10-13	12:42:51	1283	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27234_chambre-a-air_msc_26_x_1_90-2_125_schrader_40_mm_0_9_mm_.jpg',`file_url_thumb`='bcprisme/27234_chambre-a-air_msc_26_x_1_90-2_125_schrader_40_mm_0_9_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15820'
2023-10-13	12:42:51	1283	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:51	1283	[DEBUG]	Executed store
2023-10-13	12:42:51	1283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860775','15820','1')
2023-10-13	12:42:51	1283	[DEBUG]	Store product image relation
2023-10-13	12:42:51	1283	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:51	1283	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860775 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:51	1283	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:51	1283	[DEBUG]	Executed store
2023-10-13	12:42:51	1283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860775','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:51	1283	[DEBUG]	Checking manufacturer
2023-10-13	12:42:51	1283	[DEBUG]	Load a row
2023-10-13	12:42:51	1283	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:51	1283	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:51	1283	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:51	1283	[DEBUG]	Executed store
2023-10-13	12:42:51	1283	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:51	1283	[DEBUG]	Manufacturer exists
2023-10-13	12:42:51	1283	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:51	1283	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:51	1283	[DEBUG]	Executed store
2023-10-13	12:42:51	1283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860775','32')
2023-10-13	12:42:51	1283	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:51	1283	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:51	1283	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860775 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:51	1283	[DEBUG]	Store custom available field
2023-10-13	12:42:51	1283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860775,3,'',1)
2023-10-13	12:42:51	1283	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:51	1283	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:51	1283	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860775 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:51	1283	[DEBUG]	Store custom available field
2023-10-13	12:42:51	1283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860775,6,'Unitaire',3)
2023-10-13	12:42:51	1283	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:51	1283	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:51	1283	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860774
2023-10-13	12:42:51	1283	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:51	1283	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860774\":[1860774,8,1,\"choisir la taille\"],\"1860775\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860774
2023-10-13	12:42:51	1283	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:51	1283	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860775
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:51	1284	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field taille
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:51	1284	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:51	1284	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:51	1284	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:51	1284	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:51	1284	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:51	1284	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field published
2023-10-13	12:42:51	1284	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:51	1284	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field override
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:51	1284	[DEBUG]	Use field value for field slug
2023-10-13	12:42:51	1284	[DEBUG]	Process line 1284
2023-10-13	12:42:51	1284	[DEBUG]	Load a row
2023-10-13	12:42:51	1284	[DEBUG]	Processing item: A_4554_1
2023-10-13	12:42:51	1284	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:51	1284	[DEBUG]	Processing product tax
2023-10-13	12:42:51	1284	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:51	1284	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:51	1284	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:51	1284	[DEBUG]	Query for Product
2023-10-13	12:42:51	1284	[DEBUG]	Executed store
2023-10-13	12:42:51	1284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4554_1','0.14','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:51	1284	[DEBUG]	Check product language entry
2023-10-13	12:42:51	1284	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860776
2023-10-13	12:42:51	1284	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:51	1284	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4554_1' AND `virtuemart_product_id` != 1860776
2023-10-13	12:42:51	1284	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:51	1284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860776, 'A_4554_1')
2023-10-13	12:42:51	1284	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:51	1284	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-26-x-1-90-2-125-schrader-epaisseur-09-mm-noir' AND `virtuemart_product_id` != 1860776
2023-10-13	12:42:51	1284	[DEBUG]	Query for ProductLang
2023-10-13	12:42:51	1284	[DEBUG]	Executed store
2023-10-13	12:42:51	1284	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='26 X 1.90/2.125 SCHRADER, EPAISSEUR .09 MM<br><br>N° art fourn : TU261902125SV',`product_name`='MSC Chambre-à-air 26 X 1.90/2.125 SCHRADER, EPAISSEUR .09 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-26-x-1-90-2-125-schrader-epaisseur-09-mm-noir' WHERE `virtuemart_product_id` = '1860776'
2023-10-13	12:42:51	1284	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27235_chambre-a-air_msc_26_x_1_90-2_125_presta_40_mm_0_9_mm__(copie).jpg
2023-10-13	12:42:51	1284	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:51	1284	[DEBUG]	Process image file
2023-10-13	12:42:51	1284	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:51	1284	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:51	1284	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27235_chambre-a-air_msc_26_x_1_90-2_125_presta_40_mm_0_9_mm__(copie).jpg
2023-10-13	12:42:51	1284	[DEBUG]	Full name target: bcprisme/27235_chambre-a-air_msc_26_x_1_90-2_125_presta_40_mm_0_9_mm__(copie).jpg
2023-10-13	12:42:52	1284	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:52	1284	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27235_chambre-a-air_msc_26_x_1_90-2_125_presta_40_mm_0_9_mm__(copie).jpg'
2023-10-13	12:42:52	1284	[DEBUG]	Query for Media
2023-10-13	12:42:52	1284	[DEBUG]	Executed store
2023-10-13	12:42:52	1284	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27235_chambre-a-air_msc_26_x_1_90-2_125_presta_40_mm_0_9_mm__(copie).jpg',`file_url_thumb`='bcprisme/27235_chambre-a-air_msc_26_x_1_90-2_125_presta_40_mm_0_9_mm__(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12612'
2023-10-13	12:42:52	1284	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:52	1284	[DEBUG]	Executed store
2023-10-13	12:42:52	1284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860776','12612','1')
2023-10-13	12:42:52	1284	[DEBUG]	Store product image relation
2023-10-13	12:42:52	1284	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:52	1284	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860776 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:52	1284	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:52	1284	[DEBUG]	Executed store
2023-10-13	12:42:52	1284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860776','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:52	1284	[DEBUG]	Checking manufacturer
2023-10-13	12:42:52	1284	[DEBUG]	Load a row
2023-10-13	12:42:52	1284	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:52	1284	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:52	1284	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:52	1284	[DEBUG]	Executed store
2023-10-13	12:42:52	1284	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:52	1284	[DEBUG]	Manufacturer exists
2023-10-13	12:42:52	1284	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:52	1284	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:52	1284	[DEBUG]	Executed store
2023-10-13	12:42:52	1284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860776','32')
2023-10-13	12:42:52	1284	[DEBUG]	Find the custom field ID
2023-10-13	12:42:52	1284	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:52	1284	[DEBUG]	No custom field ID found
2023-10-13	12:42:52	1284	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:52	1284	[DEBUG]	Get existing row with customfield value 8.975
2023-10-13	12:42:52	1284	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860776 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:52	1284	[DEBUG]	Store custom available field
2023-10-13	12:42:52	1284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860776,3,'8.975',1)
2023-10-13	12:42:52	1284	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:52	1284	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:52	1284	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860776 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:52	1284	[DEBUG]	Store custom available field
2023-10-13	12:42:52	1284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860776,6,'choisir la taille',3)
2023-10-13	12:42:52	1284	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:52	1284	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:52	1284	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:52	1284	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:52	1284	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860776 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:52	1284	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:52	1284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860776,8,1)
2023-10-13	12:42:52	1284	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:52	1284	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860776\":[1860776,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860776
2023-10-13	12:42:52	1284	[DEBUG]	Checking category
2023-10-13	12:42:52	1284	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:52	1284	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860776
2023-10-13	12:42:52	1284	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:52	1284	[DEBUG]	Executed store
2023-10-13	12:42:52	1284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860776','7297')
2023-10-13	12:42:52	1284	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:52	1284	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860776 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:42:52	1284	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:52	1284	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860776
2023-10-13	12:42:52	1285	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:52	1285	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:52	1285	[DEBUG]	Use field value for field taille
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:52	1285	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:52	1285	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:52	1285	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:52	1285	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:52	1285	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:52	1285	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:52	1285	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:52	1285	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:52	1285	[DEBUG]	Use field value for field published
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:52	1285	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field override
2023-10-13	12:42:52	1285	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:52	1285	[DEBUG]	Use field value for field slug
2023-10-13	12:42:52	1285	[DEBUG]	Process line 1285
2023-10-13	12:42:52	1285	[DEBUG]	Load a row
2023-10-13	12:42:52	1285	[DEBUG]	Processing item: 8435466213954
2023-10-13	12:42:52	1285	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:52	1285	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:52	1285	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4554_1'
2023-10-13	12:42:52	1285	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:52	1285	[DEBUG]	Processing product tax
2023-10-13	12:42:52	1285	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:52	1285	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:52	1285	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:52	1285	[DEBUG]	Query for Product
2023-10-13	12:42:52	1285	[DEBUG]	Executed store
2023-10-13	12:42:52	1285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860776','8435466213954','0','KG','M','','18','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:52	1285	[DEBUG]	No parent found
2023-10-13	12:42:52	1285	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860776 AND customfield_value = 'stockable'
2023-10-13	12:42:52	1285	[DEBUG]	Check product language entry
2023-10-13	12:42:52	1285	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860777
2023-10-13	12:42:52	1285	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:52	1285	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213954' AND `virtuemart_product_id` != 1860777
2023-10-13	12:42:52	1285	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:52	1285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860777, '8435466213954')
2023-10-13	12:42:52	1285	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:52	1285	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-26-x-1-90-2-125-schrader-epaisseur-09-mm-noir-unitaire' AND `virtuemart_product_id` != 1860777
2023-10-13	12:42:52	1285	[DEBUG]	Query for ProductLang
2023-10-13	12:42:52	1285	[DEBUG]	Executed store
2023-10-13	12:42:52	1285	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 26 X 1.90/2.125 SCHRADER, EPAISSEUR .09 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-26-x-1-90-2-125-schrader-epaisseur-09-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860777'
2023-10-13	12:42:52	1285	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27235_chambre-a-air_msc_26_x_1_90-2_125_presta_40_mm_0_9_mm__(copie).jpg
2023-10-13	12:42:52	1285	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:52	1285	[DEBUG]	Process image file
2023-10-13	12:42:52	1285	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:52	1285	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:52	1285	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27235_chambre-a-air_msc_26_x_1_90-2_125_presta_40_mm_0_9_mm__(copie).jpg
2023-10-13	12:42:52	1285	[DEBUG]	Full name target: bcprisme/27235_chambre-a-air_msc_26_x_1_90-2_125_presta_40_mm_0_9_mm__(copie).jpg
2023-10-13	12:42:53	1285	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:53	1285	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27235_chambre-a-air_msc_26_x_1_90-2_125_presta_40_mm_0_9_mm__(copie).jpg'
2023-10-13	12:42:53	1285	[DEBUG]	Query for Media
2023-10-13	12:42:53	1285	[DEBUG]	Executed store
2023-10-13	12:42:53	1285	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27235_chambre-a-air_msc_26_x_1_90-2_125_presta_40_mm_0_9_mm__(copie).jpg',`file_url_thumb`='bcprisme/27235_chambre-a-air_msc_26_x_1_90-2_125_presta_40_mm_0_9_mm__(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12612'
2023-10-13	12:42:53	1285	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:53	1285	[DEBUG]	Executed store
2023-10-13	12:42:53	1285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860777','12612','1')
2023-10-13	12:42:53	1285	[DEBUG]	Store product image relation
2023-10-13	12:42:53	1285	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:53	1285	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860777 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:53	1285	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:53	1285	[DEBUG]	Executed store
2023-10-13	12:42:53	1285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860777','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:53	1285	[DEBUG]	Checking manufacturer
2023-10-13	12:42:53	1285	[DEBUG]	Load a row
2023-10-13	12:42:53	1285	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:53	1285	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:53	1285	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:53	1285	[DEBUG]	Executed store
2023-10-13	12:42:53	1285	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:53	1285	[DEBUG]	Manufacturer exists
2023-10-13	12:42:53	1285	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:53	1285	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:53	1285	[DEBUG]	Executed store
2023-10-13	12:42:53	1285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860777','32')
2023-10-13	12:42:53	1285	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:53	1285	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:53	1285	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860777 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:53	1285	[DEBUG]	Store custom available field
2023-10-13	12:42:53	1285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860777,3,'',1)
2023-10-13	12:42:53	1285	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:53	1285	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:53	1285	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860777 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:53	1285	[DEBUG]	Store custom available field
2023-10-13	12:42:53	1285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860777,6,'Unitaire',3)
2023-10-13	12:42:53	1285	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:53	1285	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:53	1285	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860776
2023-10-13	12:42:53	1285	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:53	1285	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860776\":[1860776,8,1,\"choisir la taille\"],\"1860777\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860776
2023-10-13	12:42:53	1285	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:53	1285	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860777
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:53	1286	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field taille
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:53	1286	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:53	1286	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:53	1286	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:53	1286	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:53	1286	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:53	1286	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field published
2023-10-13	12:42:53	1286	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:53	1286	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field override
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:53	1286	[DEBUG]	Use field value for field slug
2023-10-13	12:42:53	1286	[DEBUG]	Process line 1286
2023-10-13	12:42:53	1286	[DEBUG]	Load a row
2023-10-13	12:42:53	1286	[DEBUG]	Processing item: A_4555_1
2023-10-13	12:42:53	1286	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:53	1286	[DEBUG]	Processing product tax
2023-10-13	12:42:53	1286	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:53	1286	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:53	1286	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:53	1286	[DEBUG]	Query for Product
2023-10-13	12:42:53	1286	[DEBUG]	Executed store
2023-10-13	12:42:53	1286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4555_1','0.14','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:53	1286	[DEBUG]	Check product language entry
2023-10-13	12:42:53	1286	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860778
2023-10-13	12:42:53	1286	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:53	1286	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4555_1' AND `virtuemart_product_id` != 1860778
2023-10-13	12:42:53	1286	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:53	1286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860778, 'A_4555_1')
2023-10-13	12:42:53	1286	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:53	1286	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-26-x-3-50-4-00-presta-40-mm-epaisseur-1-3-mm-noir' AND `virtuemart_product_id` != 1860778
2023-10-13	12:42:53	1286	[DEBUG]	Query for ProductLang
2023-10-13	12:42:53	1286	[DEBUG]	Executed store
2023-10-13	12:42:53	1286	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='26 X 3.50/4.00 PRESTA 40 MM, EPAISSEUR 1.3 MM<br><br>N° art fourn : TU26350400FV40',`product_name`='MSC Chambre-à-air 26 X 3.50/4.00 PRESTA 40 MM, EPAISSEUR 1.3 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-26-x-3-50-4-00-presta-40-mm-epaisseur-1-3-mm-noir' WHERE `virtuemart_product_id` = '1860778'
2023-10-13	12:42:53	1286	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27236_chambre-a-air_msc_26_x_4_50-5_00_presta_40_mm_1_3_mm__(copie)_(copie).jpg
2023-10-13	12:42:53	1286	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:53	1286	[DEBUG]	Process image file
2023-10-13	12:42:53	1286	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:53	1286	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:53	1286	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27236_chambre-a-air_msc_26_x_4_50-5_00_presta_40_mm_1_3_mm__(copie)_(copie).jpg
2023-10-13	12:42:53	1286	[DEBUG]	Full name target: bcprisme/27236_chambre-a-air_msc_26_x_4_50-5_00_presta_40_mm_1_3_mm__(copie)_(copie).jpg
2023-10-13	12:42:54	1286	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:54	1286	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27236_chambre-a-air_msc_26_x_4_50-5_00_presta_40_mm_1_3_mm__(copie)_(copie).jpg'
2023-10-13	12:42:54	1286	[DEBUG]	Query for Media
2023-10-13	12:42:54	1286	[DEBUG]	Executed store
2023-10-13	12:42:54	1286	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27236_chambre-a-air_msc_26_x_4_50-5_00_presta_40_mm_1_3_mm__(copie)_(copie).jpg',`file_url_thumb`='bcprisme/27236_chambre-a-air_msc_26_x_4_50-5_00_presta_40_mm_1_3_mm__(copie)_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12613'
2023-10-13	12:42:54	1286	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:54	1286	[DEBUG]	Executed store
2023-10-13	12:42:54	1286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860778','12613','1')
2023-10-13	12:42:54	1286	[DEBUG]	Store product image relation
2023-10-13	12:42:54	1286	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:54	1286	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860778 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:54	1286	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:54	1286	[DEBUG]	Executed store
2023-10-13	12:42:54	1286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860778','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:54	1286	[DEBUG]	Checking manufacturer
2023-10-13	12:42:54	1286	[DEBUG]	Load a row
2023-10-13	12:42:54	1286	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:54	1286	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:54	1286	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:54	1286	[DEBUG]	Executed store
2023-10-13	12:42:54	1286	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:54	1286	[DEBUG]	Manufacturer exists
2023-10-13	12:42:54	1286	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:54	1286	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:54	1286	[DEBUG]	Executed store
2023-10-13	12:42:54	1286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860778','32')
2023-10-13	12:42:54	1286	[DEBUG]	Find the custom field ID
2023-10-13	12:42:54	1286	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:54	1286	[DEBUG]	No custom field ID found
2023-10-13	12:42:54	1286	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:54	1286	[DEBUG]	Get existing row with customfield value 11.9666666666667
2023-10-13	12:42:54	1286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860778 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:54	1286	[DEBUG]	Store custom available field
2023-10-13	12:42:54	1286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860778,3,'11.9666666666667',1)
2023-10-13	12:42:54	1286	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:54	1286	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:54	1286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860778 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:54	1286	[DEBUG]	Store custom available field
2023-10-13	12:42:54	1286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860778,6,'choisir la taille',3)
2023-10-13	12:42:54	1286	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:54	1286	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:54	1286	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:54	1286	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:54	1286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860778 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:54	1286	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:54	1286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860778,8,1)
2023-10-13	12:42:54	1286	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:54	1286	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860778\":[1860778,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860778
2023-10-13	12:42:54	1286	[DEBUG]	Checking category
2023-10-13	12:42:54	1286	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:54	1286	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860778
2023-10-13	12:42:54	1286	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:54	1286	[DEBUG]	Executed store
2023-10-13	12:42:54	1286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860778','7297')
2023-10-13	12:42:54	1286	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:54	1286	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860778 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:42:54	1286	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:54	1286	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860778
2023-10-13	12:42:54	1287	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:54	1287	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:54	1287	[DEBUG]	Use field value for field taille
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:54	1287	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:54	1287	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:54	1287	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:54	1287	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:54	1287	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:54	1287	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:54	1287	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:54	1287	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:54	1287	[DEBUG]	Use field value for field published
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:54	1287	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field override
2023-10-13	12:42:54	1287	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:54	1287	[DEBUG]	Use field value for field slug
2023-10-13	12:42:54	1287	[DEBUG]	Process line 1287
2023-10-13	12:42:54	1287	[DEBUG]	Load a row
2023-10-13	12:42:54	1287	[DEBUG]	Processing item: 8435466213961
2023-10-13	12:42:54	1287	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:54	1287	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:54	1287	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4555_1'
2023-10-13	12:42:54	1287	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:54	1287	[DEBUG]	Processing product tax
2023-10-13	12:42:54	1287	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:54	1287	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:54	1287	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:54	1287	[DEBUG]	Query for Product
2023-10-13	12:42:54	1287	[DEBUG]	Executed store
2023-10-13	12:42:54	1287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860778','8435466213961','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:54	1287	[DEBUG]	No parent found
2023-10-13	12:42:54	1287	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860778 AND customfield_value = 'stockable'
2023-10-13	12:42:54	1287	[DEBUG]	Check product language entry
2023-10-13	12:42:54	1287	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860779
2023-10-13	12:42:54	1287	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:54	1287	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213961' AND `virtuemart_product_id` != 1860779
2023-10-13	12:42:54	1287	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:54	1287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860779, '8435466213961')
2023-10-13	12:42:54	1287	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:54	1287	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-26-x-3-50-4-00-presta-40-mm-epaisseur-1-3-mm-noir-unitaire' AND `virtuemart_product_id` != 1860779
2023-10-13	12:42:54	1287	[DEBUG]	Query for ProductLang
2023-10-13	12:42:54	1287	[DEBUG]	Executed store
2023-10-13	12:42:54	1287	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 26 X 3.50/4.00 PRESTA 40 MM, EPAISSEUR 1.3 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-26-x-3-50-4-00-presta-40-mm-epaisseur-1-3-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860779'
2023-10-13	12:42:54	1287	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27236_chambre-a-air_msc_26_x_4_50-5_00_presta_40_mm_1_3_mm__(copie)_(copie).jpg
2023-10-13	12:42:54	1287	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:54	1287	[DEBUG]	Process image file
2023-10-13	12:42:54	1287	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:54	1287	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:54	1287	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27236_chambre-a-air_msc_26_x_4_50-5_00_presta_40_mm_1_3_mm__(copie)_(copie).jpg
2023-10-13	12:42:54	1287	[DEBUG]	Full name target: bcprisme/27236_chambre-a-air_msc_26_x_4_50-5_00_presta_40_mm_1_3_mm__(copie)_(copie).jpg
2023-10-13	12:42:55	1287	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:55	1287	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27236_chambre-a-air_msc_26_x_4_50-5_00_presta_40_mm_1_3_mm__(copie)_(copie).jpg'
2023-10-13	12:42:55	1287	[DEBUG]	Query for Media
2023-10-13	12:42:55	1287	[DEBUG]	Executed store
2023-10-13	12:42:55	1287	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27236_chambre-a-air_msc_26_x_4_50-5_00_presta_40_mm_1_3_mm__(copie)_(copie).jpg',`file_url_thumb`='bcprisme/27236_chambre-a-air_msc_26_x_4_50-5_00_presta_40_mm_1_3_mm__(copie)_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12613'
2023-10-13	12:42:55	1287	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:55	1287	[DEBUG]	Executed store
2023-10-13	12:42:55	1287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860779','12613','1')
2023-10-13	12:42:55	1287	[DEBUG]	Store product image relation
2023-10-13	12:42:55	1287	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:55	1287	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860779 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:55	1287	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:55	1287	[DEBUG]	Executed store
2023-10-13	12:42:55	1287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860779','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:55	1287	[DEBUG]	Checking manufacturer
2023-10-13	12:42:55	1287	[DEBUG]	Load a row
2023-10-13	12:42:55	1287	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:55	1287	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:55	1287	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:55	1287	[DEBUG]	Executed store
2023-10-13	12:42:55	1287	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:42:55	1287	[DEBUG]	Manufacturer exists
2023-10-13	12:42:55	1287	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:42:55	1287	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:55	1287	[DEBUG]	Executed store
2023-10-13	12:42:55	1287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860779','32')
2023-10-13	12:42:55	1287	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:55	1287	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:55	1287	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860779 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:55	1287	[DEBUG]	Store custom available field
2023-10-13	12:42:55	1287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860779,3,'',1)
2023-10-13	12:42:55	1287	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:55	1287	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:55	1287	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860779 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:55	1287	[DEBUG]	Store custom available field
2023-10-13	12:42:55	1287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860779,6,'Unitaire',3)
2023-10-13	12:42:55	1287	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:55	1287	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:55	1287	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860778
2023-10-13	12:42:55	1287	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:55	1287	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860778\":[1860778,8,1,\"choisir la taille\"],\"1860779\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860778
2023-10-13	12:42:55	1287	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:55	1287	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860779
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:55	1288	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field taille
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:55	1288	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:55	1288	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:55	1288	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:55	1288	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:55	1288	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:55	1288	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field published
2023-10-13	12:42:55	1288	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:55	1288	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field override
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:55	1288	[DEBUG]	Use field value for field slug
2023-10-13	12:42:55	1288	[DEBUG]	Process line 1288
2023-10-13	12:42:55	1288	[DEBUG]	Load a row
2023-10-13	12:42:55	1288	[DEBUG]	Processing item: A_5586_1
2023-10-13	12:42:55	1288	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:55	1288	[DEBUG]	Processing product tax
2023-10-13	12:42:55	1288	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:55	1288	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:55	1288	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:55	1288	[DEBUG]	Query for Product
2023-10-13	12:42:55	1288	[DEBUG]	Executed store
2023-10-13	12:42:55	1288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5586_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:55	1288	[DEBUG]	Check product language entry
2023-10-13	12:42:55	1288	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860780
2023-10-13	12:42:55	1288	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:55	1288	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5586_1' AND `virtuemart_product_id` != 1860780
2023-10-13	12:42:55	1288	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:55	1288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860780, 'A_5586_1')
2023-10-13	12:42:55	1288	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:55	1288	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-26-sv13j-90-100-559-26x3-80-4-25-fat-bike-noir' AND `virtuemart_product_id` != 1860780
2023-10-13	12:42:55	1288	[DEBUG]	Query for ProductLang
2023-10-13	12:42:55	1288	[DEBUG]	Executed store
2023-10-13	12:42:55	1288	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.032',`product_name`='SCHWALBE Chambre-à-air 26 SV13J 90/100-559 26X3.80-4.25 FAT BIKE / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-26-sv13j-90-100-559-26x3-80-4-25-fat-bike-noir' WHERE `virtuemart_product_id` = '1860780'
2023-10-13	12:42:55	1288	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30086_chambre-à-air_26_sv13j_90-100-559_26x3_80-4_25_fat_bike.jpg
2023-10-13	12:42:55	1288	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:55	1288	[DEBUG]	Process image file
2023-10-13	12:42:55	1288	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:55	1288	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:55	1288	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30086_chambre-à-air_26_sv13j_90-100-559_26x3_80-4_25_fat_bike.jpg
2023-10-13	12:42:55	1288	[DEBUG]	Full name target: bcprisme/30086_chambre-à-air_26_sv13j_90-100-559_26x3_80-4_25_fat_bike.jpg
2023-10-13	12:42:56	1288	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:56	1288	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30086_chambre-à-air_26_sv13j_90-100-559_26x3_80-4_25_fat_bike.jpg'
2023-10-13	12:42:56	1288	[DEBUG]	Query for Media
2023-10-13	12:42:56	1288	[DEBUG]	Executed store
2023-10-13	12:42:56	1288	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30086_chambre-à-air_26_sv13j_90-100-559_26x3_80-4_25_fat_bike.jpg',`file_url_thumb`='bcprisme/30086_chambre-à-air_26_sv13j_90-100-559_26x3_80-4_25_fat_bike.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '110496'
2023-10-13	12:42:56	1288	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:56	1288	[DEBUG]	Executed store
2023-10-13	12:42:56	1288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860780','110496','1')
2023-10-13	12:42:56	1288	[DEBUG]	Store product image relation
2023-10-13	12:42:56	1288	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:56	1288	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860780 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:56	1288	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:56	1288	[DEBUG]	Executed store
2023-10-13	12:42:56	1288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860780','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:56	1288	[DEBUG]	Checking manufacturer
2023-10-13	12:42:56	1288	[DEBUG]	Load a row
2023-10-13	12:42:56	1288	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:56	1288	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:56	1288	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:56	1288	[DEBUG]	Executed store
2023-10-13	12:42:56	1288	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:56	1288	[DEBUG]	Manufacturer exists
2023-10-13	12:42:56	1288	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:42:56	1288	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:56	1288	[DEBUG]	Executed store
2023-10-13	12:42:56	1288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860780','25')
2023-10-13	12:42:56	1288	[DEBUG]	Find the custom field ID
2023-10-13	12:42:56	1288	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:56	1288	[DEBUG]	No custom field ID found
2023-10-13	12:42:56	1288	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:56	1288	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:42:56	1288	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860780 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:56	1288	[DEBUG]	Store custom available field
2023-10-13	12:42:56	1288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860780,3,'0',1)
2023-10-13	12:42:56	1288	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:56	1288	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:56	1288	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860780 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:56	1288	[DEBUG]	Store custom available field
2023-10-13	12:42:56	1288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860780,6,'choisir la taille',3)
2023-10-13	12:42:56	1288	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:56	1288	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:56	1288	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:56	1288	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:56	1288	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860780 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:56	1288	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:56	1288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860780,8,1)
2023-10-13	12:42:56	1288	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:56	1288	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860780\":[1860780,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860780
2023-10-13	12:42:56	1288	[DEBUG]	Checking category
2023-10-13	12:42:56	1288	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:56	1288	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860780
2023-10-13	12:42:56	1288	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:56	1288	[DEBUG]	Executed store
2023-10-13	12:42:56	1288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860780','7297')
2023-10-13	12:42:56	1288	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:56	1288	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860780 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:42:56	1288	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:56	1288	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860780
2023-10-13	12:42:56	1289	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:56	1289	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:56	1289	[DEBUG]	Use field value for field taille
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:56	1289	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:56	1289	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:56	1289	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:56	1289	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:56	1289	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:56	1289	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:56	1289	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:56	1289	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:56	1289	[DEBUG]	Use field value for field published
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:56	1289	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field override
2023-10-13	12:42:56	1289	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:56	1289	[DEBUG]	Use field value for field slug
2023-10-13	12:42:56	1289	[DEBUG]	Process line 1289
2023-10-13	12:42:56	1289	[DEBUG]	Load a row
2023-10-13	12:42:56	1289	[DEBUG]	Processing item: 4026495774581
2023-10-13	12:42:56	1289	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:56	1289	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:56	1289	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5586_1'
2023-10-13	12:42:56	1289	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:56	1289	[DEBUG]	Processing product tax
2023-10-13	12:42:56	1289	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:56	1289	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:56	1289	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:56	1289	[DEBUG]	Query for Product
2023-10-13	12:42:56	1289	[DEBUG]	Executed store
2023-10-13	12:42:56	1289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860780','4026495774581','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:56	1289	[DEBUG]	No parent found
2023-10-13	12:42:56	1289	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860780 AND customfield_value = 'stockable'
2023-10-13	12:42:56	1289	[DEBUG]	Check product language entry
2023-10-13	12:42:56	1289	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860781
2023-10-13	12:42:56	1289	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:56	1289	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495774581' AND `virtuemart_product_id` != 1860781
2023-10-13	12:42:56	1289	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:56	1289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860781, '4026495774581')
2023-10-13	12:42:56	1289	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:56	1289	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-26-sv13j-90-100-559-26x3-80-4-25-fat-bike-noir-unitaire' AND `virtuemart_product_id` != 1860781
2023-10-13	12:42:56	1289	[DEBUG]	Query for ProductLang
2023-10-13	12:42:56	1289	[DEBUG]	Executed store
2023-10-13	12:42:56	1289	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 26 SV13J 90/100-559 26X3.80-4.25 FAT BIKE / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-26-sv13j-90-100-559-26x3-80-4-25-fat-bike-noir-unitaire' WHERE `virtuemart_product_id` = '1860781'
2023-10-13	12:42:56	1289	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30086_chambre-à-air_26_sv13j_90-100-559_26x3_80-4_25_fat_bike.jpg
2023-10-13	12:42:56	1289	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:56	1289	[DEBUG]	Process image file
2023-10-13	12:42:56	1289	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:56	1289	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:56	1289	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30086_chambre-à-air_26_sv13j_90-100-559_26x3_80-4_25_fat_bike.jpg
2023-10-13	12:42:56	1289	[DEBUG]	Full name target: bcprisme/30086_chambre-à-air_26_sv13j_90-100-559_26x3_80-4_25_fat_bike.jpg
2023-10-13	12:42:57	1289	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:57	1289	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30086_chambre-à-air_26_sv13j_90-100-559_26x3_80-4_25_fat_bike.jpg'
2023-10-13	12:42:57	1289	[DEBUG]	Query for Media
2023-10-13	12:42:57	1289	[DEBUG]	Executed store
2023-10-13	12:42:57	1289	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30086_chambre-à-air_26_sv13j_90-100-559_26x3_80-4_25_fat_bike.jpg',`file_url_thumb`='bcprisme/30086_chambre-à-air_26_sv13j_90-100-559_26x3_80-4_25_fat_bike.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '110496'
2023-10-13	12:42:57	1289	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:57	1289	[DEBUG]	Executed store
2023-10-13	12:42:57	1289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860781','110496','1')
2023-10-13	12:42:57	1289	[DEBUG]	Store product image relation
2023-10-13	12:42:57	1289	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:57	1289	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860781 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:57	1289	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:57	1289	[DEBUG]	Executed store
2023-10-13	12:42:57	1289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860781','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:57	1289	[DEBUG]	Checking manufacturer
2023-10-13	12:42:57	1289	[DEBUG]	Load a row
2023-10-13	12:42:57	1289	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:57	1289	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:57	1289	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:57	1289	[DEBUG]	Executed store
2023-10-13	12:42:57	1289	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:57	1289	[DEBUG]	Manufacturer exists
2023-10-13	12:42:57	1289	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:42:57	1289	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:57	1289	[DEBUG]	Executed store
2023-10-13	12:42:57	1289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860781','25')
2023-10-13	12:42:57	1289	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:57	1289	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:57	1289	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860781 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:57	1289	[DEBUG]	Store custom available field
2023-10-13	12:42:57	1289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860781,3,'',1)
2023-10-13	12:42:57	1289	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:57	1289	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:57	1289	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860781 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:57	1289	[DEBUG]	Store custom available field
2023-10-13	12:42:57	1289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860781,6,'Unitaire',3)
2023-10-13	12:42:57	1289	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:57	1289	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:57	1289	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860780
2023-10-13	12:42:57	1289	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:57	1289	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860780\":[1860780,8,1,\"choisir la taille\"],\"1860781\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860780
2023-10-13	12:42:57	1289	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:57	1289	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860781
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:57	1290	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field taille
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:57	1290	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:57	1290	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:57	1290	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:57	1290	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:57	1290	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:57	1290	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field published
2023-10-13	12:42:57	1290	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:57	1290	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field override
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:57	1290	[DEBUG]	Use field value for field slug
2023-10-13	12:42:57	1290	[DEBUG]	Process line 1290
2023-10-13	12:42:57	1290	[DEBUG]	Load a row
2023-10-13	12:42:57	1290	[DEBUG]	Processing item: A_7095_1
2023-10-13	12:42:57	1290	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:57	1290	[DEBUG]	Processing product tax
2023-10-13	12:42:57	1290	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:57	1290	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:57	1290	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:57	1290	[DEBUG]	Query for Product
2023-10-13	12:42:57	1290	[DEBUG]	Executed store
2023-10-13	12:42:57	1290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7095_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:57	1290	[DEBUG]	Check product language entry
2023-10-13	12:42:57	1290	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860782
2023-10-13	12:42:57	1290	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:57	1290	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7095_1' AND `virtuemart_product_id` != 1860782
2023-10-13	12:42:57	1290	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:57	1290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860782, 'A_7095_1')
2023-10-13	12:42:57	1290	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:57	1290	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-schwalbe-av12a-26-sv-auto-26-x-1-00---26-x-1-50-25-559-40-559-noir' AND `virtuemart_product_id` != 1860782
2023-10-13	12:42:57	1290	[DEBUG]	Query for ProductLang
2023-10-13	12:42:57	1290	[DEBUG]	Executed store
2023-10-13	12:42:57	1290	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.065',`product_name`='SCHWALBE Chambre-à-air Schwalbe AV12A 26 SV Auto 26 x 1.00 - 26 x 1.50 25-559 40-559 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-schwalbe-av12a-26-sv-auto-26-x-1-00---26-x-1-50-25-559-40-559-noir' WHERE `virtuemart_product_id` = '1860782'
2023-10-13	12:42:57	1290	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34251_chambre-à-air_schwalbe_av12a_26_sv_auto_26_x_1_00_-_26_x_1_50_25-559_40-559.jpg
2023-10-13	12:42:57	1290	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:57	1290	[DEBUG]	Process image file
2023-10-13	12:42:57	1290	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:57	1290	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:57	1290	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34251_chambre-à-air_schwalbe_av12a_26_sv_auto_26_x_1_00_-_26_x_1_50_25-559_40-559.jpg
2023-10-13	12:42:57	1290	[DEBUG]	Full name target: bcprisme/34251_chambre-à-air_schwalbe_av12a_26_sv_auto_26_x_1_00_-_26_x_1_50_25-559_40-559.jpg
2023-10-13	12:42:58	1290	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:58	1290	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34251_chambre-à-air_schwalbe_av12a_26_sv_auto_26_x_1_00_-_26_x_1_50_25-559_40-559.jpg'
2023-10-13	12:42:58	1290	[DEBUG]	Query for Media
2023-10-13	12:42:58	1290	[DEBUG]	Executed store
2023-10-13	12:42:58	1290	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34251_chambre-à-air_schwalbe_av12a_26_sv_auto_26_x_1_00_-_26_x_1_50_25-559_40-559.jpg',`file_url_thumb`='bcprisme/34251_chambre-à-air_schwalbe_av12a_26_sv_auto_26_x_1_00_-_26_x_1_50_25-559_40-559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '110498'
2023-10-13	12:42:58	1290	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:58	1290	[DEBUG]	Executed store
2023-10-13	12:42:58	1290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860782','110498','1')
2023-10-13	12:42:58	1290	[DEBUG]	Store product image relation
2023-10-13	12:42:58	1290	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:58	1290	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860782 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:58	1290	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:58	1290	[DEBUG]	Executed store
2023-10-13	12:42:58	1290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860782','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:58	1290	[DEBUG]	Checking manufacturer
2023-10-13	12:42:58	1290	[DEBUG]	Load a row
2023-10-13	12:42:58	1290	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:58	1290	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:58	1290	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:58	1290	[DEBUG]	Executed store
2023-10-13	12:42:58	1290	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:58	1290	[DEBUG]	Manufacturer exists
2023-10-13	12:42:58	1290	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:42:58	1290	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:58	1290	[DEBUG]	Executed store
2023-10-13	12:42:58	1290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860782','25')
2023-10-13	12:42:58	1290	[DEBUG]	Find the custom field ID
2023-10-13	12:42:58	1290	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:42:58	1290	[DEBUG]	No custom field ID found
2023-10-13	12:42:58	1290	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:58	1290	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:42:58	1290	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860782 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:58	1290	[DEBUG]	Store custom available field
2023-10-13	12:42:58	1290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860782,3,'0',1)
2023-10-13	12:42:58	1290	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:58	1290	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:42:58	1290	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860782 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:58	1290	[DEBUG]	Store custom available field
2023-10-13	12:42:58	1290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860782,6,'choisir la taille',3)
2023-10-13	12:42:58	1290	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:58	1290	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:42:58	1290	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:42:58	1290	[DEBUG]	Find the multi variant product entry
2023-10-13	12:42:58	1290	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860782 AND `virtuemart_custom_id` = 8
2023-10-13	12:42:58	1290	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:42:58	1290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860782,8,1)
2023-10-13	12:42:58	1290	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:58	1290	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860782\":[1860782,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860782
2023-10-13	12:42:58	1290	[DEBUG]	Checking category
2023-10-13	12:42:58	1290	[DEBUG]	Get the existing categories for the product
2023-10-13	12:42:58	1290	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860782
2023-10-13	12:42:58	1290	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:42:58	1290	[DEBUG]	Executed store
2023-10-13	12:42:58	1290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860782','7297')
2023-10-13	12:42:58	1290	[DEBUG]	Delete leftover product categories
2023-10-13	12:42:58	1290	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860782 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:42:58	1290	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:58	1290	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860782
2023-10-13	12:42:58	1291	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:58	1291	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:42:58	1291	[DEBUG]	Use field value for field taille
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:42:58	1291	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field category_path
2023-10-13	12:42:58	1291	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:58	1291	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:58	1291	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:58	1291	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:42:58	1291	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field product_weight
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:58	1291	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:58	1291	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:58	1291	[DEBUG]	Use field value for field published
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field custom_title
2023-10-13	12:42:58	1291	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field custom_param
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field override
2023-10-13	12:42:58	1291	[DEBUG]	Use default value for field public_price
2023-10-13	12:42:58	1291	[DEBUG]	Use field value for field slug
2023-10-13	12:42:58	1291	[DEBUG]	Process line 1291
2023-10-13	12:42:58	1291	[DEBUG]	Load a row
2023-10-13	12:42:58	1291	[DEBUG]	Processing item: 4026495098960
2023-10-13	12:42:58	1291	[DEBUG]	Looking for parent SKU
2023-10-13	12:42:58	1291	[DEBUG]	Checking product parent SKU
2023-10-13	12:42:58	1291	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7095_1'
2023-10-13	12:42:58	1291	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:58	1291	[DEBUG]	Processing product tax
2023-10-13	12:42:58	1291	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:58	1291	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:58	1291	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:58	1291	[DEBUG]	Query for Product
2023-10-13	12:42:58	1291	[DEBUG]	Executed store
2023-10-13	12:42:58	1291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860782','4026495098960','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:58	1291	[DEBUG]	No parent found
2023-10-13	12:42:58	1291	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860782 AND customfield_value = 'stockable'
2023-10-13	12:42:58	1291	[DEBUG]	Check product language entry
2023-10-13	12:42:58	1291	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860783
2023-10-13	12:42:58	1291	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:58	1291	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495098960' AND `virtuemart_product_id` != 1860783
2023-10-13	12:42:58	1291	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:58	1291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860783, '4026495098960')
2023-10-13	12:42:58	1291	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:58	1291	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-schwalbe-av12a-26-sv-auto-26-x-1-00---26-x-1-50-25-559-40-559-noir-unitaire' AND `virtuemart_product_id` != 1860783
2023-10-13	12:42:58	1291	[DEBUG]	Query for ProductLang
2023-10-13	12:42:58	1291	[DEBUG]	Executed store
2023-10-13	12:42:58	1291	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air Schwalbe AV12A 26 SV Auto 26 x 1.00 - 26 x 1.50 25-559 40-559 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-schwalbe-av12a-26-sv-auto-26-x-1-00---26-x-1-50-25-559-40-559-noir-unitaire' WHERE `virtuemart_product_id` = '1860783'
2023-10-13	12:42:58	1291	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34251_chambre-à-air_schwalbe_av12a_26_sv_auto_26_x_1_00_-_26_x_1_50_25-559_40-559.jpg
2023-10-13	12:42:58	1291	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:58	1291	[DEBUG]	Process image file
2023-10-13	12:42:58	1291	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:58	1291	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:58	1291	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34251_chambre-à-air_schwalbe_av12a_26_sv_auto_26_x_1_00_-_26_x_1_50_25-559_40-559.jpg
2023-10-13	12:42:58	1291	[DEBUG]	Full name target: bcprisme/34251_chambre-à-air_schwalbe_av12a_26_sv_auto_26_x_1_00_-_26_x_1_50_25-559_40-559.jpg
2023-10-13	12:42:59	1291	[DEBUG]	Checking if the file_url exists
2023-10-13	12:42:59	1291	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34251_chambre-à-air_schwalbe_av12a_26_sv_auto_26_x_1_00_-_26_x_1_50_25-559_40-559.jpg'
2023-10-13	12:42:59	1291	[DEBUG]	Query for Media
2023-10-13	12:42:59	1291	[DEBUG]	Executed store
2023-10-13	12:42:59	1291	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34251_chambre-à-air_schwalbe_av12a_26_sv_auto_26_x_1_00_-_26_x_1_50_25-559_40-559.jpg',`file_url_thumb`='bcprisme/34251_chambre-à-air_schwalbe_av12a_26_sv_auto_26_x_1_00_-_26_x_1_50_25-559_40-559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '110498'
2023-10-13	12:42:59	1291	[DEBUG]	Query for ProductMedia
2023-10-13	12:42:59	1291	[DEBUG]	Executed store
2023-10-13	12:42:59	1291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860783','110498','1')
2023-10-13	12:42:59	1291	[DEBUG]	Store product image relation
2023-10-13	12:42:59	1291	[DEBUG]	Finding a product_price_id
2023-10-13	12:42:59	1291	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860783 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:42:59	1291	[DEBUG]	Query for ProductPrice
2023-10-13	12:42:59	1291	[DEBUG]	Executed store
2023-10-13	12:42:59	1291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860783','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:42:59	1291	[DEBUG]	Checking manufacturer
2023-10-13	12:42:59	1291	[DEBUG]	Load a row
2023-10-13	12:42:59	1291	[DEBUG]	Manufacturer already exists
2023-10-13	12:42:59	1291	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:59	1291	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:42:59	1291	[DEBUG]	Executed store
2023-10-13	12:42:59	1291	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:42:59	1291	[DEBUG]	Manufacturer exists
2023-10-13	12:42:59	1291	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:42:59	1291	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:42:59	1291	[DEBUG]	Executed store
2023-10-13	12:42:59	1291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860783','25')
2023-10-13	12:42:59	1291	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:42:59	1291	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:42:59	1291	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860783 AND `virtuemart_custom_id` = 3
2023-10-13	12:42:59	1291	[DEBUG]	Store custom available field
2023-10-13	12:42:59	1291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860783,3,'',1)
2023-10-13	12:42:59	1291	[DEBUG]	Processing custom available field: taille
2023-10-13	12:42:59	1291	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:42:59	1291	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860783 AND `virtuemart_custom_id` = 6
2023-10-13	12:42:59	1291	[DEBUG]	Store custom available field
2023-10-13	12:42:59	1291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860783,6,'Unitaire',3)
2023-10-13	12:42:59	1291	[DEBUG]	Process multi-variant fields
2023-10-13	12:42:59	1291	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:42:59	1291	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860782
2023-10-13	12:42:59	1291	[DEBUG]	Store the updated customfield_params
2023-10-13	12:42:59	1291	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860782\":[1860782,8,1,\"choisir la taille\"],\"1860783\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860782
2023-10-13	12:42:59	1291	[DEBUG]	Update has fields after all processing
2023-10-13	12:42:59	1291	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860783
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field product_sku
2023-10-13	12:42:59	1292	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field taille
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field product_name
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field category_path
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field product_price
2023-10-13	12:42:59	1292	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field product_tax
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field file_url
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:42:59	1292	[DEBUG]	Use default value for field product_desc
2023-10-13	12:42:59	1292	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field product_availability
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field product_weight
2023-10-13	12:42:59	1292	[DEBUG]	Use default value for field product_unit
2023-10-13	12:42:59	1292	[DEBUG]	Use default value for field related_products
2023-10-13	12:42:59	1292	[DEBUG]	Use default value for field product_special
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field published
2023-10-13	12:42:59	1292	[DEBUG]	Use default value for field metadesc
2023-10-13	12:42:59	1292	[DEBUG]	Use default value for field metakey
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field custom_title
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field custom_value
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field custom_param
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field override
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field public_price
2023-10-13	12:42:59	1292	[DEBUG]	Use field value for field slug
2023-10-13	12:42:59	1292	[DEBUG]	Process line 1292
2023-10-13	12:42:59	1292	[DEBUG]	Load a row
2023-10-13	12:42:59	1292	[DEBUG]	Processing item: A_7102_1
2023-10-13	12:42:59	1292	[DEBUG]	Product tax: 7.7
2023-10-13	12:42:59	1292	[DEBUG]	Processing product tax
2023-10-13	12:42:59	1292	[DEBUG]	Check if calculation rule exists
2023-10-13	12:42:59	1292	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:42:59	1292	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:42:59	1292	[DEBUG]	Query for Product
2023-10-13	12:42:59	1292	[DEBUG]	Executed store
2023-10-13	12:42:59	1292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7102_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:42:59	1292	[DEBUG]	Check product language entry
2023-10-13	12:42:59	1292	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860784
2023-10-13	12:42:59	1292	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:59	1292	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7102_1' AND `virtuemart_product_id` != 1860784
2023-10-13	12:42:59	1292	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:42:59	1292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860784, 'A_7102_1')
2023-10-13	12:42:59	1292	[DEBUG]	Check if the product slug exists
2023-10-13	12:42:59	1292	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-schwalbe-av13-26-sv-auto-26-x-1-50--26-x-2-40-25-559-40-62-559-noir' AND `virtuemart_product_id` != 1860784
2023-10-13	12:42:59	1292	[DEBUG]	Query for ProductLang
2023-10-13	12:42:59	1292	[DEBUG]	Executed store
2023-10-13	12:42:59	1292	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56753',`product_name`='Schwalbe Chambre-à-air Schwalbe AV13 26 SV Auto 26 x 1.50- 26 x 2.40 25-559 40/62 559 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-schwalbe-av13-26-sv-auto-26-x-1-50--26-x-2-40-25-559-40-62-559-noir' WHERE `virtuemart_product_id` = '1860784'
2023-10-13	12:42:59	1292	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34258_chambre-à-air_schwalbe_av13_26_sv_auto_26_x_1_50-_26_x_2_40_25-559_40-62_559.jpg
2023-10-13	12:42:59	1292	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:59	1292	[DEBUG]	Process image file
2023-10-13	12:42:59	1292	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:42:59	1292	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:42:59	1292	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34258_chambre-à-air_schwalbe_av13_26_sv_auto_26_x_1_50-_26_x_2_40_25-559_40-62_559.jpg
2023-10-13	12:42:59	1292	[DEBUG]	Full name target: bcprisme/34258_chambre-à-air_schwalbe_av13_26_sv_auto_26_x_1_50-_26_x_2_40_25-559_40-62_559.jpg
2023-10-13	12:43:00	1292	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:00	1292	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34258_chambre-à-air_schwalbe_av13_26_sv_auto_26_x_1_50-_26_x_2_40_25-559_40-62_559.jpg'
2023-10-13	12:43:00	1292	[DEBUG]	Query for Media
2023-10-13	12:43:00	1292	[DEBUG]	Executed store
2023-10-13	12:43:00	1292	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34258_chambre-à-air_schwalbe_av13_26_sv_auto_26_x_1_50-_26_x_2_40_25-559_40-62_559.jpg',`file_url_thumb`='bcprisme/34258_chambre-à-air_schwalbe_av13_26_sv_auto_26_x_1_50-_26_x_2_40_25-559_40-62_559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '110500'
2023-10-13	12:43:00	1292	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:00	1292	[DEBUG]	Executed store
2023-10-13	12:43:00	1292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860784','110500','1')
2023-10-13	12:43:00	1292	[DEBUG]	Store product image relation
2023-10-13	12:43:00	1292	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:00	1292	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860784 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:00	1292	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:00	1292	[DEBUG]	Executed store
2023-10-13	12:43:00	1292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860784','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:00	1292	[DEBUG]	Checking manufacturer
2023-10-13	12:43:00	1292	[DEBUG]	Load a row
2023-10-13	12:43:00	1292	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:00	1292	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:43:00	1292	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:00	1292	[DEBUG]	Executed store
2023-10-13	12:43:00	1292	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:43:00	1292	[DEBUG]	Manufacturer exists
2023-10-13	12:43:00	1292	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	12:43:00	1292	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:00	1292	[DEBUG]	Executed store
2023-10-13	12:43:00	1292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860784','77')
2023-10-13	12:43:00	1292	[DEBUG]	Find the custom field ID
2023-10-13	12:43:00	1292	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:00	1292	[DEBUG]	No custom field ID found
2023-10-13	12:43:00	1292	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:00	1292	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:43:00	1292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860784 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:00	1292	[DEBUG]	Store custom available field
2023-10-13	12:43:00	1292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860784,3,'0',1)
2023-10-13	12:43:00	1292	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:00	1292	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:00	1292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860784 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:00	1292	[DEBUG]	Store custom available field
2023-10-13	12:43:00	1292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860784,6,'choisir la taille',3)
2023-10-13	12:43:00	1292	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:00	1292	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:00	1292	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:00	1292	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:00	1292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860784 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:00	1292	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:00	1292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860784,8,1)
2023-10-13	12:43:00	1292	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:00	1292	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860784\":[1860784,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860784
2023-10-13	12:43:00	1292	[DEBUG]	Checking category
2023-10-13	12:43:00	1292	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:00	1292	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860784
2023-10-13	12:43:00	1292	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:00	1292	[DEBUG]	Executed store
2023-10-13	12:43:00	1292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860784','7297')
2023-10-13	12:43:00	1292	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:00	1292	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860784 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:43:00	1292	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:00	1292	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860784
2023-10-13	12:43:00	1293	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:00	1293	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:00	1293	[DEBUG]	Use field value for field taille
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:00	1293	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:00	1293	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:00	1293	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:00	1293	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:00	1293	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:00	1293	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:00	1293	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:00	1293	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:00	1293	[DEBUG]	Use field value for field published
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:00	1293	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field override
2023-10-13	12:43:00	1293	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:00	1293	[DEBUG]	Use field value for field slug
2023-10-13	12:43:00	1293	[DEBUG]	Process line 1293
2023-10-13	12:43:00	1293	[DEBUG]	Load a row
2023-10-13	12:43:00	1293	[DEBUG]	Processing item: 4026495099165
2023-10-13	12:43:00	1293	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:00	1293	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:00	1293	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7102_1'
2023-10-13	12:43:00	1293	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:00	1293	[DEBUG]	Processing product tax
2023-10-13	12:43:00	1293	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:00	1293	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:00	1293	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:00	1293	[DEBUG]	Query for Product
2023-10-13	12:43:00	1293	[DEBUG]	Executed store
2023-10-13	12:43:00	1293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860784','4026495099165','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:43:00	1293	[DEBUG]	No parent found
2023-10-13	12:43:00	1293	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860784 AND customfield_value = 'stockable'
2023-10-13	12:43:00	1293	[DEBUG]	Check product language entry
2023-10-13	12:43:00	1293	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860785
2023-10-13	12:43:00	1293	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:00	1293	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495099165' AND `virtuemart_product_id` != 1860785
2023-10-13	12:43:00	1293	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:00	1293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860785, '4026495099165')
2023-10-13	12:43:00	1293	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:00	1293	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-schwalbe-av13-26-sv-auto-26-x-1-50--26-x-2-40-25-559-40-62-559-noir-unitaire' AND `virtuemart_product_id` != 1860785
2023-10-13	12:43:00	1293	[DEBUG]	Query for ProductLang
2023-10-13	12:43:00	1293	[DEBUG]	Executed store
2023-10-13	12:43:00	1293	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Chambre-à-air Schwalbe AV13 26 SV Auto 26 x 1.50- 26 x 2.40 25-559 40/62 559 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-schwalbe-av13-26-sv-auto-26-x-1-50--26-x-2-40-25-559-40-62-559-noir-unitaire' WHERE `virtuemart_product_id` = '1860785'
2023-10-13	12:43:00	1293	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34258_chambre-à-air_schwalbe_av13_26_sv_auto_26_x_1_50-_26_x_2_40_25-559_40-62_559.jpg
2023-10-13	12:43:00	1293	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:00	1293	[DEBUG]	Process image file
2023-10-13	12:43:00	1293	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:00	1293	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:00	1293	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34258_chambre-à-air_schwalbe_av13_26_sv_auto_26_x_1_50-_26_x_2_40_25-559_40-62_559.jpg
2023-10-13	12:43:00	1293	[DEBUG]	Full name target: bcprisme/34258_chambre-à-air_schwalbe_av13_26_sv_auto_26_x_1_50-_26_x_2_40_25-559_40-62_559.jpg
2023-10-13	12:43:01	1293	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:01	1293	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34258_chambre-à-air_schwalbe_av13_26_sv_auto_26_x_1_50-_26_x_2_40_25-559_40-62_559.jpg'
2023-10-13	12:43:01	1293	[DEBUG]	Query for Media
2023-10-13	12:43:01	1293	[DEBUG]	Executed store
2023-10-13	12:43:01	1293	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34258_chambre-à-air_schwalbe_av13_26_sv_auto_26_x_1_50-_26_x_2_40_25-559_40-62_559.jpg',`file_url_thumb`='bcprisme/34258_chambre-à-air_schwalbe_av13_26_sv_auto_26_x_1_50-_26_x_2_40_25-559_40-62_559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '110500'
2023-10-13	12:43:01	1293	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:01	1293	[DEBUG]	Executed store
2023-10-13	12:43:01	1293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860785','110500','1')
2023-10-13	12:43:01	1293	[DEBUG]	Store product image relation
2023-10-13	12:43:01	1293	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:01	1293	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860785 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:01	1293	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:01	1293	[DEBUG]	Executed store
2023-10-13	12:43:01	1293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860785','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:01	1293	[DEBUG]	Checking manufacturer
2023-10-13	12:43:01	1293	[DEBUG]	Load a row
2023-10-13	12:43:01	1293	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:01	1293	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:43:01	1293	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:01	1293	[DEBUG]	Executed store
2023-10-13	12:43:01	1293	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:43:01	1293	[DEBUG]	Manufacturer exists
2023-10-13	12:43:01	1293	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	12:43:01	1293	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:01	1293	[DEBUG]	Executed store
2023-10-13	12:43:01	1293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860785','77')
2023-10-13	12:43:01	1293	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:01	1293	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:01	1293	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860785 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:01	1293	[DEBUG]	Store custom available field
2023-10-13	12:43:01	1293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860785,3,'',1)
2023-10-13	12:43:01	1293	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:01	1293	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:01	1293	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860785 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:01	1293	[DEBUG]	Store custom available field
2023-10-13	12:43:01	1293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860785,6,'Unitaire',3)
2023-10-13	12:43:01	1293	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:01	1293	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:01	1293	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860784
2023-10-13	12:43:01	1293	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:01	1293	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860784\":[1860784,8,1,\"choisir la taille\"],\"1860785\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860784
2023-10-13	12:43:01	1293	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:01	1293	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860785
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:01	1294	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field taille
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:01	1294	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:01	1294	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:01	1294	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:01	1294	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:01	1294	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:01	1294	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field published
2023-10-13	12:43:01	1294	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:01	1294	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field override
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:01	1294	[DEBUG]	Use field value for field slug
2023-10-13	12:43:01	1294	[DEBUG]	Process line 1294
2023-10-13	12:43:01	1294	[DEBUG]	Load a row
2023-10-13	12:43:01	1294	[DEBUG]	Processing item: A_7250_1
2023-10-13	12:43:01	1294	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:01	1294	[DEBUG]	Processing product tax
2023-10-13	12:43:01	1294	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:01	1294	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:01	1294	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:01	1294	[DEBUG]	Query for Product
2023-10-13	12:43:01	1294	[DEBUG]	Executed store
2023-10-13	12:43:01	1294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7250_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:43:01	1294	[DEBUG]	Check product language entry
2023-10-13	12:43:01	1294	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860786
2023-10-13	12:43:01	1294	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:01	1294	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7250_1' AND `virtuemart_product_id` != 1860786
2023-10-13	12:43:01	1294	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:01	1294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860786, 'A_7250_1')
2023-10-13	12:43:01	1294	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:01	1294	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-26-sv13-26x1-50-26x2-50-noir' AND `virtuemart_product_id` != 1860786
2023-10-13	12:43:01	1294	[DEBUG]	Query for ProductLang
2023-10-13	12:43:01	1294	[DEBUG]	Executed store
2023-10-13	12:43:01	1294	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.16.004',`product_name`='SCHWALBE Chambre-à-air 26 SV13 26x1.50-26x2.50 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-26-sv13-26x1-50-26x2-50-noir' WHERE `virtuemart_product_id` = '1860786'
2023-10-13	12:43:01	1294	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34434_chambre-à-air_26_sv13_26x1_50-26x2_50.jpg
2023-10-13	12:43:01	1294	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:01	1294	[DEBUG]	Process image file
2023-10-13	12:43:01	1294	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:01	1294	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:01	1294	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34434_chambre-à-air_26_sv13_26x1_50-26x2_50.jpg
2023-10-13	12:43:01	1294	[DEBUG]	Full name target: bcprisme/34434_chambre-à-air_26_sv13_26x1_50-26x2_50.jpg
2023-10-13	12:43:02	1294	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:02	1294	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34434_chambre-à-air_26_sv13_26x1_50-26x2_50.jpg'
2023-10-13	12:43:02	1294	[DEBUG]	Query for Media
2023-10-13	12:43:02	1294	[DEBUG]	Executed store
2023-10-13	12:43:02	1294	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34434_chambre-à-air_26_sv13_26x1_50-26x2_50.jpg',`file_url_thumb`='bcprisme/34434_chambre-à-air_26_sv13_26x1_50-26x2_50.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435788'
2023-10-13	12:43:02	1294	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:02	1294	[DEBUG]	Executed store
2023-10-13	12:43:02	1294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860786','435788','1')
2023-10-13	12:43:02	1294	[DEBUG]	Store product image relation
2023-10-13	12:43:02	1294	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:02	1294	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860786 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:02	1294	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:02	1294	[DEBUG]	Executed store
2023-10-13	12:43:02	1294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860786','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:02	1294	[DEBUG]	Checking manufacturer
2023-10-13	12:43:02	1294	[DEBUG]	Load a row
2023-10-13	12:43:02	1294	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:02	1294	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:02	1294	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:02	1294	[DEBUG]	Executed store
2023-10-13	12:43:02	1294	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:02	1294	[DEBUG]	Manufacturer exists
2023-10-13	12:43:02	1294	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:43:02	1294	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:02	1294	[DEBUG]	Executed store
2023-10-13	12:43:02	1294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860786','25')
2023-10-13	12:43:02	1294	[DEBUG]	Find the custom field ID
2023-10-13	12:43:02	1294	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:02	1294	[DEBUG]	No custom field ID found
2023-10-13	12:43:02	1294	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:02	1294	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:43:02	1294	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860786 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:02	1294	[DEBUG]	Store custom available field
2023-10-13	12:43:02	1294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860786,3,'0',1)
2023-10-13	12:43:02	1294	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:02	1294	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:02	1294	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860786 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:02	1294	[DEBUG]	Store custom available field
2023-10-13	12:43:02	1294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860786,6,'choisir la taille',3)
2023-10-13	12:43:02	1294	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:02	1294	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:02	1294	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:02	1294	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:02	1294	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860786 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:02	1294	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:02	1294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860786,8,1)
2023-10-13	12:43:02	1294	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:02	1294	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860786\":[1860786,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860786
2023-10-13	12:43:02	1294	[DEBUG]	Checking category
2023-10-13	12:43:02	1294	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:02	1294	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860786
2023-10-13	12:43:02	1294	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:02	1294	[DEBUG]	Executed store
2023-10-13	12:43:02	1294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860786','7297')
2023-10-13	12:43:02	1294	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:02	1294	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860786 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:43:02	1294	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:02	1294	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860786
2023-10-13	12:43:02	1295	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:02	1295	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:02	1295	[DEBUG]	Use field value for field taille
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:02	1295	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:02	1295	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:02	1295	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:02	1295	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:02	1295	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:02	1295	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:02	1295	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:02	1295	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:02	1295	[DEBUG]	Use field value for field published
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:02	1295	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field override
2023-10-13	12:43:02	1295	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:02	1295	[DEBUG]	Use field value for field slug
2023-10-13	12:43:02	1295	[DEBUG]	Process line 1295
2023-10-13	12:43:02	1295	[DEBUG]	Load a row
2023-10-13	12:43:02	1295	[DEBUG]	Processing item: 4026495831581
2023-10-13	12:43:02	1295	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:02	1295	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:02	1295	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7250_1'
2023-10-13	12:43:02	1295	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:02	1295	[DEBUG]	Processing product tax
2023-10-13	12:43:02	1295	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:02	1295	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:02	1295	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:02	1295	[DEBUG]	Query for Product
2023-10-13	12:43:02	1295	[DEBUG]	Executed store
2023-10-13	12:43:02	1295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860786','4026495831581','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:43:02	1295	[DEBUG]	No parent found
2023-10-13	12:43:02	1295	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860786 AND customfield_value = 'stockable'
2023-10-13	12:43:02	1295	[DEBUG]	Check product language entry
2023-10-13	12:43:02	1295	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860787
2023-10-13	12:43:02	1295	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:02	1295	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495831581' AND `virtuemart_product_id` != 1860787
2023-10-13	12:43:02	1295	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:02	1295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860787, '4026495831581')
2023-10-13	12:43:02	1295	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:02	1295	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-26-sv13-26x1-50-26x2-50-noir-unitaire' AND `virtuemart_product_id` != 1860787
2023-10-13	12:43:02	1295	[DEBUG]	Query for ProductLang
2023-10-13	12:43:02	1295	[DEBUG]	Executed store
2023-10-13	12:43:02	1295	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 26 SV13 26x1.50-26x2.50 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-26-sv13-26x1-50-26x2-50-noir-unitaire' WHERE `virtuemart_product_id` = '1860787'
2023-10-13	12:43:02	1295	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34434_chambre-à-air_26_sv13_26x1_50-26x2_50.jpg
2023-10-13	12:43:02	1295	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:02	1295	[DEBUG]	Process image file
2023-10-13	12:43:02	1295	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:02	1295	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:02	1295	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34434_chambre-à-air_26_sv13_26x1_50-26x2_50.jpg
2023-10-13	12:43:02	1295	[DEBUG]	Full name target: bcprisme/34434_chambre-à-air_26_sv13_26x1_50-26x2_50.jpg
2023-10-13	12:43:03	1295	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:03	1295	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34434_chambre-à-air_26_sv13_26x1_50-26x2_50.jpg'
2023-10-13	12:43:03	1295	[DEBUG]	Query for Media
2023-10-13	12:43:03	1295	[DEBUG]	Executed store
2023-10-13	12:43:03	1295	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34434_chambre-à-air_26_sv13_26x1_50-26x2_50.jpg',`file_url_thumb`='bcprisme/34434_chambre-à-air_26_sv13_26x1_50-26x2_50.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435788'
2023-10-13	12:43:03	1295	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:03	1295	[DEBUG]	Executed store
2023-10-13	12:43:03	1295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860787','435788','1')
2023-10-13	12:43:03	1295	[DEBUG]	Store product image relation
2023-10-13	12:43:03	1295	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:03	1295	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860787 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:03	1295	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:03	1295	[DEBUG]	Executed store
2023-10-13	12:43:03	1295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860787','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:03	1295	[DEBUG]	Checking manufacturer
2023-10-13	12:43:03	1295	[DEBUG]	Load a row
2023-10-13	12:43:03	1295	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:03	1295	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:03	1295	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:03	1295	[DEBUG]	Executed store
2023-10-13	12:43:03	1295	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:03	1295	[DEBUG]	Manufacturer exists
2023-10-13	12:43:03	1295	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:43:03	1295	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:03	1295	[DEBUG]	Executed store
2023-10-13	12:43:03	1295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860787','25')
2023-10-13	12:43:03	1295	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:03	1295	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:03	1295	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860787 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:03	1295	[DEBUG]	Store custom available field
2023-10-13	12:43:03	1295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860787,3,'',1)
2023-10-13	12:43:03	1295	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:03	1295	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:03	1295	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860787 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:03	1295	[DEBUG]	Store custom available field
2023-10-13	12:43:03	1295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860787,6,'Unitaire',3)
2023-10-13	12:43:03	1295	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:03	1295	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:03	1295	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860786
2023-10-13	12:43:03	1295	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:03	1295	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860786\":[1860786,8,1,\"choisir la taille\"],\"1860787\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860786
2023-10-13	12:43:03	1295	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:03	1295	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860787
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:03	1296	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field taille
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:03	1296	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:03	1296	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:03	1296	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:03	1296	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:03	1296	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:03	1296	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field published
2023-10-13	12:43:03	1296	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:03	1296	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field override
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:03	1296	[DEBUG]	Use field value for field slug
2023-10-13	12:43:03	1296	[DEBUG]	Process line 1296
2023-10-13	12:43:03	1296	[DEBUG]	Load a row
2023-10-13	12:43:03	1296	[DEBUG]	Processing item: A_7251_1
2023-10-13	12:43:03	1296	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:03	1296	[DEBUG]	Processing product tax
2023-10-13	12:43:03	1296	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:03	1296	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:03	1296	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:03	1296	[DEBUG]	Query for Product
2023-10-13	12:43:03	1296	[DEBUG]	Executed store
2023-10-13	12:43:03	1296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7251_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:43:03	1296	[DEBUG]	Check product language entry
2023-10-13	12:43:03	1296	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860788
2023-10-13	12:43:03	1296	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:03	1296	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7251_1' AND `virtuemart_product_id` != 1860788
2023-10-13	12:43:03	1296	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:03	1296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860788, 'A_7251_1')
2023-10-13	12:43:03	1296	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:03	1296	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-26-av13-26x1-50-26x2-50-noir' AND `virtuemart_product_id` != 1860788
2023-10-13	12:43:03	1296	[DEBUG]	Query for ProductLang
2023-10-13	12:43:03	1296	[DEBUG]	Executed store
2023-10-13	12:43:03	1296	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.16.001',`product_name`='SCHWALBE Chambre-à-air 26 AV13 26x1.50-26x2.50 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-26-av13-26x1-50-26x2-50-noir' WHERE `virtuemart_product_id` = '1860788'
2023-10-13	12:43:03	1296	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34435_chambre-à-air_26_av13_26x1_50-26x2_50.jpg
2023-10-13	12:43:03	1296	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:03	1296	[DEBUG]	Process image file
2023-10-13	12:43:03	1296	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:03	1296	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:03	1296	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34435_chambre-à-air_26_av13_26x1_50-26x2_50.jpg
2023-10-13	12:43:03	1296	[DEBUG]	Full name target: bcprisme/34435_chambre-à-air_26_av13_26x1_50-26x2_50.jpg
2023-10-13	12:43:04	1296	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:04	1296	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34435_chambre-à-air_26_av13_26x1_50-26x2_50.jpg'
2023-10-13	12:43:04	1296	[DEBUG]	Query for Media
2023-10-13	12:43:04	1296	[DEBUG]	Executed store
2023-10-13	12:43:04	1296	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34435_chambre-à-air_26_av13_26x1_50-26x2_50.jpg',`file_url_thumb`='bcprisme/34435_chambre-à-air_26_av13_26x1_50-26x2_50.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '190059'
2023-10-13	12:43:04	1296	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:04	1296	[DEBUG]	Executed store
2023-10-13	12:43:04	1296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860788','190059','1')
2023-10-13	12:43:04	1296	[DEBUG]	Store product image relation
2023-10-13	12:43:04	1296	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:04	1296	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860788 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:04	1296	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:04	1296	[DEBUG]	Executed store
2023-10-13	12:43:04	1296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860788','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:04	1296	[DEBUG]	Checking manufacturer
2023-10-13	12:43:04	1296	[DEBUG]	Load a row
2023-10-13	12:43:04	1296	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:04	1296	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:04	1296	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:04	1296	[DEBUG]	Executed store
2023-10-13	12:43:04	1296	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:04	1296	[DEBUG]	Manufacturer exists
2023-10-13	12:43:04	1296	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:43:04	1296	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:04	1296	[DEBUG]	Executed store
2023-10-13	12:43:04	1296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860788','25')
2023-10-13	12:43:04	1296	[DEBUG]	Find the custom field ID
2023-10-13	12:43:04	1296	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:04	1296	[DEBUG]	No custom field ID found
2023-10-13	12:43:04	1296	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:04	1296	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:43:04	1296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860788 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:04	1296	[DEBUG]	Store custom available field
2023-10-13	12:43:04	1296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860788,3,'0',1)
2023-10-13	12:43:04	1296	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:04	1296	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:04	1296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860788 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:04	1296	[DEBUG]	Store custom available field
2023-10-13	12:43:04	1296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860788,6,'choisir la taille',3)
2023-10-13	12:43:04	1296	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:04	1296	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:04	1296	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:04	1296	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:04	1296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860788 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:04	1296	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:04	1296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860788,8,1)
2023-10-13	12:43:04	1296	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:04	1296	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860788\":[1860788,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860788
2023-10-13	12:43:04	1296	[DEBUG]	Checking category
2023-10-13	12:43:04	1296	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:04	1296	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860788
2023-10-13	12:43:04	1296	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:04	1296	[DEBUG]	Executed store
2023-10-13	12:43:04	1296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860788','7297')
2023-10-13	12:43:04	1296	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:04	1296	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860788 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:43:04	1296	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:04	1296	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860788
2023-10-13	12:43:04	1297	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:04	1297	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:04	1297	[DEBUG]	Use field value for field taille
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:04	1297	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:04	1297	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:04	1297	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:04	1297	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:04	1297	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:04	1297	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:04	1297	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:04	1297	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:04	1297	[DEBUG]	Use field value for field published
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:04	1297	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field override
2023-10-13	12:43:04	1297	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:04	1297	[DEBUG]	Use field value for field slug
2023-10-13	12:43:04	1297	[DEBUG]	Process line 1297
2023-10-13	12:43:04	1297	[DEBUG]	Load a row
2023-10-13	12:43:04	1297	[DEBUG]	Processing item: 4026495831543
2023-10-13	12:43:04	1297	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:04	1297	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:04	1297	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7251_1'
2023-10-13	12:43:04	1297	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:04	1297	[DEBUG]	Processing product tax
2023-10-13	12:43:04	1297	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:04	1297	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:04	1297	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:04	1297	[DEBUG]	Query for Product
2023-10-13	12:43:04	1297	[DEBUG]	Executed store
2023-10-13	12:43:04	1297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860788','4026495831543','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:43:04	1297	[DEBUG]	No parent found
2023-10-13	12:43:04	1297	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860788 AND customfield_value = 'stockable'
2023-10-13	12:43:04	1297	[DEBUG]	Check product language entry
2023-10-13	12:43:04	1297	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860789
2023-10-13	12:43:04	1297	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:04	1297	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495831543' AND `virtuemart_product_id` != 1860789
2023-10-13	12:43:04	1297	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:04	1297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860789, '4026495831543')
2023-10-13	12:43:04	1297	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:04	1297	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-26-av13-26x1-50-26x2-50-noir-unitaire' AND `virtuemart_product_id` != 1860789
2023-10-13	12:43:04	1297	[DEBUG]	Query for ProductLang
2023-10-13	12:43:04	1297	[DEBUG]	Executed store
2023-10-13	12:43:04	1297	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 26 AV13 26x1.50-26x2.50 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-26-av13-26x1-50-26x2-50-noir-unitaire' WHERE `virtuemart_product_id` = '1860789'
2023-10-13	12:43:04	1297	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34435_chambre-à-air_26_av13_26x1_50-26x2_50.jpg
2023-10-13	12:43:04	1297	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:04	1297	[DEBUG]	Process image file
2023-10-13	12:43:04	1297	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:04	1297	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:04	1297	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34435_chambre-à-air_26_av13_26x1_50-26x2_50.jpg
2023-10-13	12:43:04	1297	[DEBUG]	Full name target: bcprisme/34435_chambre-à-air_26_av13_26x1_50-26x2_50.jpg
2023-10-13	12:43:05	1297	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:05	1297	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34435_chambre-à-air_26_av13_26x1_50-26x2_50.jpg'
2023-10-13	12:43:05	1297	[DEBUG]	Query for Media
2023-10-13	12:43:05	1297	[DEBUG]	Executed store
2023-10-13	12:43:05	1297	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34435_chambre-à-air_26_av13_26x1_50-26x2_50.jpg',`file_url_thumb`='bcprisme/34435_chambre-à-air_26_av13_26x1_50-26x2_50.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '190059'
2023-10-13	12:43:05	1297	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:05	1297	[DEBUG]	Executed store
2023-10-13	12:43:05	1297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860789','190059','1')
2023-10-13	12:43:05	1297	[DEBUG]	Store product image relation
2023-10-13	12:43:05	1297	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:05	1297	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860789 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:05	1297	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:05	1297	[DEBUG]	Executed store
2023-10-13	12:43:05	1297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860789','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:05	1297	[DEBUG]	Checking manufacturer
2023-10-13	12:43:05	1297	[DEBUG]	Load a row
2023-10-13	12:43:05	1297	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:05	1297	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:05	1297	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:05	1297	[DEBUG]	Executed store
2023-10-13	12:43:05	1297	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:05	1297	[DEBUG]	Manufacturer exists
2023-10-13	12:43:05	1297	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:43:05	1297	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:05	1297	[DEBUG]	Executed store
2023-10-13	12:43:05	1297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860789','25')
2023-10-13	12:43:05	1297	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:05	1297	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:05	1297	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860789 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:05	1297	[DEBUG]	Store custom available field
2023-10-13	12:43:05	1297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860789,3,'',1)
2023-10-13	12:43:05	1297	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:05	1297	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:05	1297	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860789 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:05	1297	[DEBUG]	Store custom available field
2023-10-13	12:43:05	1297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860789,6,'Unitaire',3)
2023-10-13	12:43:05	1297	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:05	1297	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:05	1297	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860788
2023-10-13	12:43:05	1297	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:05	1297	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860788\":[1860788,8,1,\"choisir la taille\"],\"1860789\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860788
2023-10-13	12:43:05	1297	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:05	1297	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860789
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:05	1298	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field taille
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:05	1298	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:05	1298	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:05	1298	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:05	1298	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:05	1298	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:05	1298	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field published
2023-10-13	12:43:05	1298	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:05	1298	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field override
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:05	1298	[DEBUG]	Use field value for field slug
2023-10-13	12:43:05	1298	[DEBUG]	Process line 1298
2023-10-13	12:43:05	1298	[DEBUG]	Load a row
2023-10-13	12:43:05	1298	[DEBUG]	Processing item: A_7430_208
2023-10-13	12:43:05	1298	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:05	1298	[DEBUG]	Processing product tax
2023-10-13	12:43:05	1298	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:05	1298	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:05	1298	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:05	1298	[DEBUG]	Query for Product
2023-10-13	12:43:05	1298	[DEBUG]	Executed store
2023-10-13	12:43:05	1298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7430_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:43:05	1298	[DEBUG]	Check product language entry
2023-10-13	12:43:05	1298	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860790
2023-10-13	12:43:05	1298	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:05	1298	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7430_208' AND `virtuemart_product_id` != 1860790
2023-10-13	12:43:05	1298	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:05	1298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860790, 'A_7430_208')
2023-10-13	12:43:05	1298	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:05	1298	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv13-26-40-62-559-valve-presta-aucune' AND `virtuemart_product_id` != 1860790
2023-10-13	12:43:05	1298	[DEBUG]	Query for ProductLang
2023-10-13	12:43:05	1298	[DEBUG]	Executed store
2023-10-13	12:43:05	1298	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56765',`product_name`='SCHWALBE Chambre-à-air SV13 26 40/62-559 valve presta / &#60;aucune&#62;&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv13-26-40-62-559-valve-presta-aucune' WHERE `virtuemart_product_id` = '1860790'
2023-10-13	12:43:05	1298	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004.jpg
2023-10-13	12:43:05	1298	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:05	1298	[DEBUG]	Process image file
2023-10-13	12:43:05	1298	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:05	1298	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:05	1298	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004.jpg
2023-10-13	12:43:05	1298	[DEBUG]	Full name target: bcprisme/svlong_2004.jpg
2023-10-13	12:43:06	1298	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:06	1298	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/svlong_2004.jpg'
2023-10-13	12:43:06	1298	[DEBUG]	Query for Media
2023-10-13	12:43:06	1298	[DEBUG]	Executed store
2023-10-13	12:43:06	1298	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/svlong_2004.jpg',`file_url_thumb`='bcprisme/svlong_2004.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '202281'
2023-10-13	12:43:06	1298	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:06	1298	[DEBUG]	Executed store
2023-10-13	12:43:06	1298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860790','202281','1')
2023-10-13	12:43:06	1298	[DEBUG]	Store product image relation
2023-10-13	12:43:06	1298	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:06	1298	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860790 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:06	1298	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:06	1298	[DEBUG]	Executed store
2023-10-13	12:43:06	1298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860790','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:06	1298	[DEBUG]	Checking manufacturer
2023-10-13	12:43:06	1298	[DEBUG]	Load a row
2023-10-13	12:43:06	1298	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:06	1298	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:43:06	1298	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:06	1298	[DEBUG]	Executed store
2023-10-13	12:43:06	1298	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:43:06	1298	[DEBUG]	Manufacturer exists
2023-10-13	12:43:06	1298	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:43:06	1298	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:07	1298	[DEBUG]	Executed store
2023-10-13	12:43:07	1298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860790','24')
2023-10-13	12:43:07	1298	[DEBUG]	Find the custom field ID
2023-10-13	12:43:07	1298	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:07	1298	[DEBUG]	No custom field ID found
2023-10-13	12:43:07	1298	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:07	1298	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:43:07	1298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860790 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:07	1298	[DEBUG]	Store custom available field
2023-10-13	12:43:07	1298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860790,3,'0',1)
2023-10-13	12:43:07	1298	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:07	1298	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:07	1298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860790 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:07	1298	[DEBUG]	Store custom available field
2023-10-13	12:43:07	1298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860790,6,'choisir la taille',3)
2023-10-13	12:43:07	1298	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:07	1298	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:07	1298	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:07	1298	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:07	1298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860790 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:07	1298	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:07	1298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860790,8,1)
2023-10-13	12:43:07	1298	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:07	1298	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860790\":[1860790,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860790
2023-10-13	12:43:07	1298	[DEBUG]	Checking category
2023-10-13	12:43:07	1298	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:07	1298	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860790
2023-10-13	12:43:07	1298	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:07	1298	[DEBUG]	Executed store
2023-10-13	12:43:07	1298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860790','7297')
2023-10-13	12:43:07	1298	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:07	1298	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860790 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:43:07	1298	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:07	1298	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860790
2023-10-13	12:43:07	1299	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:07	1299	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:07	1299	[DEBUG]	Use field value for field taille
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:07	1299	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:07	1299	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:07	1299	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:07	1299	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:07	1299	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:07	1299	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:07	1299	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:07	1299	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:07	1299	[DEBUG]	Use field value for field published
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:07	1299	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field override
2023-10-13	12:43:07	1299	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:07	1299	[DEBUG]	Use field value for field slug
2023-10-13	12:43:07	1299	[DEBUG]	Process line 1299
2023-10-13	12:43:07	1299	[DEBUG]	Load a row
2023-10-13	12:43:07	1299	[DEBUG]	Processing item: 4026495099240
2023-10-13	12:43:07	1299	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:07	1299	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:07	1299	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7430_208'
2023-10-13	12:43:07	1299	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:07	1299	[DEBUG]	Processing product tax
2023-10-13	12:43:07	1299	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:07	1299	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:07	1299	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:07	1299	[DEBUG]	Query for Product
2023-10-13	12:43:07	1299	[DEBUG]	Executed store
2023-10-13	12:43:07	1299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860790','4026495099240','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:43:07	1299	[DEBUG]	No parent found
2023-10-13	12:43:07	1299	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860790 AND customfield_value = 'stockable'
2023-10-13	12:43:07	1299	[DEBUG]	Check product language entry
2023-10-13	12:43:07	1299	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860791
2023-10-13	12:43:07	1299	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:07	1299	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495099240' AND `virtuemart_product_id` != 1860791
2023-10-13	12:43:07	1299	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:07	1299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860791, '4026495099240')
2023-10-13	12:43:07	1299	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:07	1299	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv13-26-40-62-559-valve-presta-aucune-unitaire' AND `virtuemart_product_id` != 1860791
2023-10-13	12:43:07	1299	[DEBUG]	Query for ProductLang
2023-10-13	12:43:07	1299	[DEBUG]	Executed store
2023-10-13	12:43:07	1299	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air SV13 26 40/62-559 valve presta / &#60;aucune&#62; (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv13-26-40-62-559-valve-presta-aucune-unitaire' WHERE `virtuemart_product_id` = '1860791'
2023-10-13	12:43:07	1299	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004.jpg
2023-10-13	12:43:07	1299	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:07	1299	[DEBUG]	Process image file
2023-10-13	12:43:07	1299	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:07	1299	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:07	1299	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004.jpg
2023-10-13	12:43:07	1299	[DEBUG]	Full name target: bcprisme/svlong_2004.jpg
2023-10-13	12:43:08	1299	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:08	1299	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/svlong_2004.jpg'
2023-10-13	12:43:08	1299	[DEBUG]	Query for Media
2023-10-13	12:43:08	1299	[DEBUG]	Executed store
2023-10-13	12:43:08	1299	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/svlong_2004.jpg',`file_url_thumb`='bcprisme/svlong_2004.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '202281'
2023-10-13	12:43:08	1299	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:08	1299	[DEBUG]	Executed store
2023-10-13	12:43:08	1299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860791','202281','1')
2023-10-13	12:43:08	1299	[DEBUG]	Store product image relation
2023-10-13	12:43:08	1299	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:08	1299	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860791 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:08	1299	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:08	1299	[DEBUG]	Executed store
2023-10-13	12:43:08	1299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860791','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:08	1299	[DEBUG]	Checking manufacturer
2023-10-13	12:43:08	1299	[DEBUG]	Load a row
2023-10-13	12:43:08	1299	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:08	1299	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:43:08	1299	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:08	1299	[DEBUG]	Executed store
2023-10-13	12:43:08	1299	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:43:08	1299	[DEBUG]	Manufacturer exists
2023-10-13	12:43:08	1299	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:43:08	1299	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:08	1299	[DEBUG]	Executed store
2023-10-13	12:43:08	1299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860791','24')
2023-10-13	12:43:08	1299	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:08	1299	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:08	1299	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860791 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:08	1299	[DEBUG]	Store custom available field
2023-10-13	12:43:08	1299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860791,3,'',1)
2023-10-13	12:43:08	1299	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:08	1299	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:08	1299	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860791 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:08	1299	[DEBUG]	Store custom available field
2023-10-13	12:43:08	1299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860791,6,'Unitaire',3)
2023-10-13	12:43:08	1299	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:08	1299	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:08	1299	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860790
2023-10-13	12:43:08	1299	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:08	1299	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860790\":[1860790,8,1,\"choisir la taille\"],\"1860791\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860790
2023-10-13	12:43:08	1299	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:08	1299	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860791
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:08	1300	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field taille
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:08	1300	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:08	1300	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:08	1300	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:08	1300	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:08	1300	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:08	1300	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field published
2023-10-13	12:43:08	1300	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:08	1300	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field override
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:08	1300	[DEBUG]	Use field value for field slug
2023-10-13	12:43:08	1300	[DEBUG]	Process line 1300
2023-10-13	12:43:08	1300	[DEBUG]	Load a row
2023-10-13	12:43:08	1300	[DEBUG]	Processing item: A_8059_208
2023-10-13	12:43:08	1300	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:08	1300	[DEBUG]	Processing product tax
2023-10-13	12:43:08	1300	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:08	1300	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:08	1300	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:08	1300	[DEBUG]	Query for Product
2023-10-13	12:43:08	1300	[DEBUG]	Executed store
2023-10-13	12:43:08	1300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8059_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0')
2023-10-13	12:43:08	1300	[DEBUG]	Check product language entry
2023-10-13	12:43:08	1300	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860792
2023-10-13	12:43:08	1300	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:08	1300	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8059_208' AND `virtuemart_product_id` != 1860792
2023-10-13	12:43:08	1300	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:08	1300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860792, 'A_8059_208')
2023-10-13	12:43:08	1300	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:08	1300	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv11-26-18-25-559-571-valve-presta-aucune' AND `virtuemart_product_id` != 1860792
2023-10-13	12:43:08	1300	[DEBUG]	Query for ProductLang
2023-10-13	12:43:08	1300	[DEBUG]	Executed store
2023-10-13	12:43:08	1300	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56761',`product_name`='SCHWALBE Chambre-à-air SV11 26 18/25-559/571 valve presta / &#60;aucune&#62;&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv11-26-18-25-559-571-valve-presta-aucune' WHERE `virtuemart_product_id` = '1860792'
2023-10-13	12:43:08	1300	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004_jpg.jpg
2023-10-13	12:43:08	1300	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:43:08	1300	[DEBUG]	Process image file
2023-10-13	12:43:08	1300	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:43:08	1300	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:08	1300	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004_jpg.jpg
2023-10-13	12:43:08	1300	[DEBUG]	Full name target: bcprisme/svlong_2004_jpg.jpg
2023-10-13	12:43:09	1300	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:09	1300	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/svlong_2004_jpg.jpg'
2023-10-13	12:43:09	1300	[DEBUG]	Query for Media
2023-10-13	12:43:09	1300	[DEBUG]	Executed store
2023-10-13	12:43:09	1300	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/svlong_2004_jpg.jpg',`file_url_thumb`='bcprisme/svlong_2004_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '949205'
2023-10-13	12:43:09	1300	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:09	1300	[DEBUG]	Executed store
2023-10-13	12:43:09	1300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860792','949205','1')
2023-10-13	12:43:09	1300	[DEBUG]	Store product image relation
2023-10-13	12:43:09	1300	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:09	1300	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860792 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:09	1300	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:09	1300	[DEBUG]	Executed store
2023-10-13	12:43:09	1300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860792','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:40:57','1593','2023-10-13 12:40:57','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:09	1300	[DEBUG]	Checking manufacturer
2023-10-13	12:43:09	1300	[DEBUG]	Load a row
2023-10-13	12:43:09	1300	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:09	1300	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:43:09	1300	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:09	1300	[DEBUG]	Executed store
2023-10-13	12:43:09	1300	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:43:09	1300	[DEBUG]	Manufacturer exists
2023-10-13	12:43:09	1300	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:43:09	1300	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:09	1300	[DEBUG]	Executed store
2023-10-13	12:43:09	1300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860792','24')
2023-10-13	12:43:09	1300	[DEBUG]	Find the custom field ID
2023-10-13	12:43:09	1300	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:09	1300	[DEBUG]	No custom field ID found
2023-10-13	12:43:09	1300	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:09	1300	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:43:09	1300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860792 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:09	1300	[DEBUG]	Store custom available field
2023-10-13	12:43:09	1300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860792,3,'0',1)
2023-10-13	12:43:09	1300	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:09	1300	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:09	1300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860792 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:09	1300	[DEBUG]	Store custom available field
2023-10-13	12:43:09	1300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860792,6,'choisir la taille',3)
2023-10-13	12:43:09	1300	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:09	1300	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:09	1300	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:09	1300	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:09	1300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860792 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:09	1300	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:09	1300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860792,8,1)
2023-10-13	12:43:09	1300	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:09	1300	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860792\":[1860792,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860792
2023-10-13	12:43:09	1300	[DEBUG]	Checking category
2023-10-13	12:43:09	1300	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:09	1300	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860792
2023-10-13	12:43:09	1300	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:09	1300	[DEBUG]	Executed store
2023-10-13	12:43:09	1300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860792','7297')
2023-10-13	12:43:09	1300	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:09	1300	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860792 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:43:09	1300	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:09	1300	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860792
2023-10-13	12:43:29	1300	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:43:29	1300	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:43:29	1300	[DEBUG]	Load the fields to process
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: product_sku
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: taille
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: product_name
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: category_path
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: product_price
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: product_override_price
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: product_tax
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: file_url
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: product_desc
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: product_availability
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: product_weight
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: product_unit
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: related_products
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: product_special
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: published
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: metadesc
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: metakey
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: custom_title
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: custom_value
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: custom_param
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: override
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: public_price
2023-10-13	12:43:29	1300	[DEBUG]	Setup field: slug
2023-10-13	12:43:29	1300	[DEBUG]	Use the file for configuration
2023-10-13	12:43:29	1300	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:43:29	1300	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:43:29	1300	[DEBUG]	Load the custom fields
2023-10-13	12:43:29	1300	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:43:29	1300	[DEBUG]	Load stockable custom fields
2023-10-13	12:43:29	1300	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:43:29	1300	[DEBUG]	Load custom fields for all
2023-10-13	12:43:29	1300	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:43:29	1301	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:29	1301	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:29	1301	[DEBUG]	Use field value for field taille
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:29	1301	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:29	1301	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:29	1301	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:29	1301	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:29	1301	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:29	1301	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:29	1301	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:29	1301	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:29	1301	[DEBUG]	Use field value for field published
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:29	1301	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field override
2023-10-13	12:43:29	1301	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:29	1301	[DEBUG]	Use field value for field slug
2023-10-13	12:43:29	1301	[DEBUG]	Process line 1301
2023-10-13	12:43:29	1301	[DEBUG]	Check if the vendor exists
2023-10-13	12:43:29	1301	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '4026495099004'
2023-10-13	12:43:29	1301	[DEBUG]	Load a row
2023-10-13	12:43:29	1301	[DEBUG]	Processing item: 4026495099004
2023-10-13	12:43:29	1301	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:29	1301	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:29	1301	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8059_208'
2023-10-13	12:43:29	1301	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:29	1301	[DEBUG]	Processing product tax
2023-10-13	12:43:29	1301	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:29	1301	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:29	1301	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:29	1301	[DEBUG]	Query for Product
2023-10-13	12:43:29	1301	[DEBUG]	Executed store
2023-10-13	12:43:29	1301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860792','4026495099004','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:29	1301	[DEBUG]	No parent found
2023-10-13	12:43:29	1301	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860792 AND customfield_value = 'stockable'
2023-10-13	12:43:29	1301	[DEBUG]	Check product language entry
2023-10-13	12:43:29	1301	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860793
2023-10-13	12:43:29	1301	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:29	1301	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495099004' AND `virtuemart_product_id` != 1860793
2023-10-13	12:43:29	1301	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:29	1301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860793, '4026495099004')
2023-10-13	12:43:29	1301	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:29	1301	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv11-26-18-25-559-571-valve-presta-aucune-unitaire' AND `virtuemart_product_id` != 1860793
2023-10-13	12:43:29	1301	[DEBUG]	Query for ProductLang
2023-10-13	12:43:29	1301	[DEBUG]	Executed store
2023-10-13	12:43:29	1301	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air SV11 26 18/25-559/571 valve presta / &#60;aucune&#62; (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv11-26-18-25-559-571-valve-presta-aucune-unitaire' WHERE `virtuemart_product_id` = '1860793'
2023-10-13	12:43:29	1301	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004_jpg.jpg
2023-10-13	12:43:29	1301	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:43:29	1301	[DEBUG]	Process image file
2023-10-13	12:43:29	1301	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:43:29	1301	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:29	1301	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004_jpg.jpg
2023-10-13	12:43:29	1301	[DEBUG]	Full name target: bcprisme/svlong_2004_jpg.jpg
2023-10-13	12:43:30	1301	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:30	1301	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/svlong_2004_jpg.jpg'
2023-10-13	12:43:30	1301	[DEBUG]	Query for Media
2023-10-13	12:43:30	1301	[DEBUG]	Executed store
2023-10-13	12:43:30	1301	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/svlong_2004_jpg.jpg',`file_url_thumb`='bcprisme/svlong_2004_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '949205'
2023-10-13	12:43:30	1301	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:30	1301	[DEBUG]	Executed store
2023-10-13	12:43:30	1301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860793','949205','1')
2023-10-13	12:43:30	1301	[DEBUG]	Store product image relation
2023-10-13	12:43:30	1301	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:30	1301	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860793 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:30	1301	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:30	1301	[DEBUG]	Executed store
2023-10-13	12:43:30	1301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860793','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:30	1301	[DEBUG]	Checking manufacturer
2023-10-13	12:43:30	1301	[DEBUG]	Load a row
2023-10-13	12:43:30	1301	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:30	1301	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:43:30	1301	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:30	1301	[DEBUG]	Executed store
2023-10-13	12:43:30	1301	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:43:30	1301	[DEBUG]	Manufacturer exists
2023-10-13	12:43:30	1301	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:43:30	1301	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:30	1301	[DEBUG]	Executed store
2023-10-13	12:43:30	1301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860793','24')
2023-10-13	12:43:30	1301	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:30	1301	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:30	1301	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860793 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:30	1301	[DEBUG]	Store custom available field
2023-10-13	12:43:30	1301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860793,3,'',1)
2023-10-13	12:43:30	1301	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:30	1301	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:30	1301	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860793 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:30	1301	[DEBUG]	Store custom available field
2023-10-13	12:43:30	1301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860793,6,'Unitaire',3)
2023-10-13	12:43:30	1301	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:30	1301	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:30	1301	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860792
2023-10-13	12:43:30	1301	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:30	1301	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860792\":[1860792,8,1,\"choisir la taille\"],\"1860793\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860792
2023-10-13	12:43:30	1301	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:30	1301	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860793
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:30	1302	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field taille
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:30	1302	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:30	1302	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:30	1302	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:30	1302	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:30	1302	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:30	1302	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field published
2023-10-13	12:43:30	1302	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:30	1302	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field override
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:30	1302	[DEBUG]	Use field value for field slug
2023-10-13	12:43:30	1302	[DEBUG]	Process line 1302
2023-10-13	12:43:30	1302	[DEBUG]	Load a row
2023-10-13	12:43:30	1302	[DEBUG]	Processing item: A_8348_1
2023-10-13	12:43:30	1302	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:30	1302	[DEBUG]	Processing product tax
2023-10-13	12:43:30	1302	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:30	1302	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:30	1302	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:30	1302	[DEBUG]	Query for Product
2023-10-13	12:43:30	1302	[DEBUG]	Executed store
2023-10-13	12:43:30	1302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8348_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:30	1302	[DEBUG]	Check product language entry
2023-10-13	12:43:30	1302	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860794
2023-10-13	12:43:30	1302	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:30	1302	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8348_1' AND `virtuemart_product_id` != 1860794
2023-10-13	12:43:30	1302	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:30	1302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860794, 'A_8348_1')
2023-10-13	12:43:30	1302	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:30	1302	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'maxxis-chambre-a-air-downhill-kenda-26-x-2-4-2-75-schrader-epaisseur-2-25-mm-noir' AND `virtuemart_product_id` != 1860794
2023-10-13	12:43:30	1302	[DEBUG]	Query for ProductLang
2023-10-13	12:43:30	1302	[DEBUG]	Executed store
2023-10-13	12:43:30	1302	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : Kenda26',`product_name`='MAXXIS Chambre-à-air Downhill Kenda 26 x 2.4 / 2.75 Schrader, épaisseur 2.25 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='maxxis-chambre-a-air-downhill-kenda-26-x-2-4-2-75-schrader-epaisseur-2-25-mm-noir' WHERE `virtuemart_product_id` = '1860794'
2023-10-13	12:43:30	1302	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36987_chambre-à-air_downhil_1_5mm_schrader_26x2_50-2_70.jpg
2023-10-13	12:43:30	1302	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:43:30	1302	[DEBUG]	Process image file
2023-10-13	12:43:30	1302	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:43:30	1302	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:30	1302	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36987_chambre-à-air_downhil_1_5mm_schrader_26x2_50-2_70.jpg
2023-10-13	12:43:30	1302	[DEBUG]	Full name target: bcprisme/36987_chambre-à-air_downhil_1_5mm_schrader_26x2_50-2_70.jpg
2023-10-13	12:43:31	1302	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:31	1302	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36987_chambre-à-air_downhil_1_5mm_schrader_26x2_50-2_70.jpg'
2023-10-13	12:43:31	1302	[DEBUG]	Query for Media
2023-10-13	12:43:31	1302	[DEBUG]	Executed store
2023-10-13	12:43:31	1302	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36987_chambre-à-air_downhil_1_5mm_schrader_26x2_50-2_70.jpg',`file_url_thumb`='bcprisme/36987_chambre-à-air_downhil_1_5mm_schrader_26x2_50-2_70.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '796761'
2023-10-13	12:43:31	1302	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:31	1302	[DEBUG]	Executed store
2023-10-13	12:43:31	1302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860794','796761','1')
2023-10-13	12:43:31	1302	[DEBUG]	Store product image relation
2023-10-13	12:43:31	1302	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:31	1302	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860794 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:31	1302	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:31	1302	[DEBUG]	Executed store
2023-10-13	12:43:31	1302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860794','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:31	1302	[DEBUG]	Checking manufacturer
2023-10-13	12:43:31	1302	[DEBUG]	Load a row
2023-10-13	12:43:31	1302	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:31	1302	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '265'
2023-10-13	12:43:31	1302	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:31	1302	[DEBUG]	Executed store
2023-10-13	12:43:31	1302	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='57',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='57' WHERE `virtuemart_manufacturer_id` = '265'
2023-10-13	12:43:31	1302	[DEBUG]	Manufacturer exists
2023-10-13	12:43:31	1302	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 265
2023-10-13	12:43:31	1302	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:31	1302	[DEBUG]	Executed store
2023-10-13	12:43:31	1302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860794','265')
2023-10-13	12:43:31	1302	[DEBUG]	Find the custom field ID
2023-10-13	12:43:31	1302	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:31	1302	[DEBUG]	No custom field ID found
2023-10-13	12:43:31	1302	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:31	1302	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:43:31	1302	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860794 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:31	1302	[DEBUG]	Store custom available field
2023-10-13	12:43:31	1302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860794,3,'0',1)
2023-10-13	12:43:31	1302	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:31	1302	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:31	1302	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860794 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:31	1302	[DEBUG]	Store custom available field
2023-10-13	12:43:31	1302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860794,6,'choisir la taille',3)
2023-10-13	12:43:31	1302	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:31	1302	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:31	1302	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:31	1302	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:31	1302	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860794 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:31	1302	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:31	1302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860794,8,1)
2023-10-13	12:43:31	1302	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:31	1302	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860794\":[1860794,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860794
2023-10-13	12:43:31	1302	[DEBUG]	Checking category
2023-10-13	12:43:31	1302	[DEBUG]	Check if category path exists: CHAMBRES-A-AIR - SCHLAÜCHE
2023-10-13	12:43:31	1302	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIR - SCHLAÜCHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:43:31	1302	[DEBUG]	Check if category path exists: CHAMBRES-A-AIR 26/ SCHLAÜCHE 26
2023-10-13	12:43:31	1302	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIR 26/ SCHLAÜCHE 26' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7291
2023-10-13	12:43:31	1302	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:31	1302	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860794
2023-10-13	12:43:31	1302	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:31	1302	[DEBUG]	Executed store
2023-10-13	12:43:31	1302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860794','7297')
2023-10-13	12:43:31	1302	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:31	1302	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860794 AND `virtuemart_category_id` NOT IN (7297)
2023-10-13	12:43:31	1302	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:31	1302	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860794
2023-10-13	12:43:31	1303	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:31	1303	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:31	1303	[DEBUG]	Use field value for field taille
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:31	1303	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:31	1303	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:31	1303	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:31	1303	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:31	1303	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:31	1303	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:31	1303	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:31	1303	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:31	1303	[DEBUG]	Use field value for field published
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:31	1303	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field override
2023-10-13	12:43:31	1303	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:31	1303	[DEBUG]	Use field value for field slug
2023-10-13	12:43:31	1303	[DEBUG]	Process line 1303
2023-10-13	12:43:31	1303	[DEBUG]	Load a row
2023-10-13	12:43:31	1303	[DEBUG]	Processing item: 4717784018935
2023-10-13	12:43:31	1303	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:31	1303	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:31	1303	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8348_1'
2023-10-13	12:43:31	1303	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:31	1303	[DEBUG]	Processing product tax
2023-10-13	12:43:31	1303	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:31	1303	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:31	1303	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:31	1303	[DEBUG]	Query for Product
2023-10-13	12:43:31	1303	[DEBUG]	Executed store
2023-10-13	12:43:31	1303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860794','4717784018935','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:31	1303	[DEBUG]	No parent found
2023-10-13	12:43:31	1303	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860794 AND customfield_value = 'stockable'
2023-10-13	12:43:31	1303	[DEBUG]	Check product language entry
2023-10-13	12:43:31	1303	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860795
2023-10-13	12:43:31	1303	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:31	1303	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4717784018935' AND `virtuemart_product_id` != 1860795
2023-10-13	12:43:31	1303	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:31	1303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860795, '4717784018935')
2023-10-13	12:43:31	1303	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:31	1303	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'maxxis-chambre-a-air-downhill-kenda-26-x-2-4-2-75-schrader-epaisseur-2-25-mm-noir-unitaire' AND `virtuemart_product_id` != 1860795
2023-10-13	12:43:31	1303	[DEBUG]	Query for ProductLang
2023-10-13	12:43:31	1303	[DEBUG]	Executed store
2023-10-13	12:43:31	1303	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAXXIS Chambre-à-air Downhill Kenda 26 x 2.4 / 2.75 Schrader, épaisseur 2.25 mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='maxxis-chambre-a-air-downhill-kenda-26-x-2-4-2-75-schrader-epaisseur-2-25-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860795'
2023-10-13	12:43:31	1303	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36987_chambre-à-air_downhil_1_5mm_schrader_26x2_50-2_70.jpg
2023-10-13	12:43:31	1303	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:43:31	1303	[DEBUG]	Process image file
2023-10-13	12:43:31	1303	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:43:31	1303	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:31	1303	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36987_chambre-à-air_downhil_1_5mm_schrader_26x2_50-2_70.jpg
2023-10-13	12:43:31	1303	[DEBUG]	Full name target: bcprisme/36987_chambre-à-air_downhil_1_5mm_schrader_26x2_50-2_70.jpg
2023-10-13	12:43:32	1303	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:32	1303	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36987_chambre-à-air_downhil_1_5mm_schrader_26x2_50-2_70.jpg'
2023-10-13	12:43:32	1303	[DEBUG]	Query for Media
2023-10-13	12:43:32	1303	[DEBUG]	Executed store
2023-10-13	12:43:32	1303	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36987_chambre-à-air_downhil_1_5mm_schrader_26x2_50-2_70.jpg',`file_url_thumb`='bcprisme/36987_chambre-à-air_downhil_1_5mm_schrader_26x2_50-2_70.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '796761'
2023-10-13	12:43:32	1303	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:32	1303	[DEBUG]	Executed store
2023-10-13	12:43:32	1303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860795','796761','1')
2023-10-13	12:43:32	1303	[DEBUG]	Store product image relation
2023-10-13	12:43:32	1303	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:32	1303	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860795 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:32	1303	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:32	1303	[DEBUG]	Executed store
2023-10-13	12:43:32	1303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860795','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:32	1303	[DEBUG]	Checking manufacturer
2023-10-13	12:43:32	1303	[DEBUG]	Load a row
2023-10-13	12:43:32	1303	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:32	1303	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '265'
2023-10-13	12:43:32	1303	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:32	1303	[DEBUG]	Executed store
2023-10-13	12:43:32	1303	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='57',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='57' WHERE `virtuemart_manufacturer_id` = '265'
2023-10-13	12:43:32	1303	[DEBUG]	Manufacturer exists
2023-10-13	12:43:32	1303	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 265
2023-10-13	12:43:32	1303	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:32	1303	[DEBUG]	Executed store
2023-10-13	12:43:32	1303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860795','265')
2023-10-13	12:43:32	1303	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:32	1303	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:32	1303	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860795 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:32	1303	[DEBUG]	Store custom available field
2023-10-13	12:43:32	1303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860795,3,'',1)
2023-10-13	12:43:32	1303	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:32	1303	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:32	1303	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860795 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:32	1303	[DEBUG]	Store custom available field
2023-10-13	12:43:32	1303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860795,6,'Unitaire',3)
2023-10-13	12:43:32	1303	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:32	1303	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:32	1303	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860794
2023-10-13	12:43:32	1303	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:32	1303	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860794\":[1860794,8,1,\"choisir la taille\"],\"1860795\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860794
2023-10-13	12:43:32	1303	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:32	1303	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860795
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:32	1304	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field taille
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:32	1304	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:32	1304	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:32	1304	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:32	1304	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:32	1304	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:32	1304	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field published
2023-10-13	12:43:32	1304	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:32	1304	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field override
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:32	1304	[DEBUG]	Use field value for field slug
2023-10-13	12:43:32	1304	[DEBUG]	Process line 1304
2023-10-13	12:43:32	1304	[DEBUG]	Load a row
2023-10-13	12:43:32	1304	[DEBUG]	Processing item: A_5190_1
2023-10-13	12:43:32	1304	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:32	1304	[DEBUG]	Processing product tax
2023-10-13	12:43:32	1304	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:32	1304	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:32	1304	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:32	1304	[DEBUG]	Query for Product
2023-10-13	12:43:32	1304	[DEBUG]	Executed store
2023-10-13	12:43:32	1304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5190_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:32	1304	[DEBUG]	Check product language entry
2023-10-13	12:43:32	1304	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860796
2023-10-13	12:43:32	1304	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:32	1304	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5190_1' AND `virtuemart_product_id` != 1860796
2023-10-13	12:43:32	1304	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:32	1304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860796, 'A_5190_1')
2023-10-13	12:43:32	1304	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:32	1304	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-chambres-a-aire-schwalbe-sv21f-27-5-extra-light-noir' AND `virtuemart_product_id` != 1860796
2023-10-13	12:43:32	1304	[DEBUG]	Query for ProductLang
2023-10-13	12:43:32	1304	[DEBUG]	Executed store
2023-10-13	12:43:32	1304	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaoyang super lite tube 27.5 x 1.90/2.35 fv, 210 gr, valve de 40 mm<br>N° art fourn : 10.55.15.004',`product_name`='MLV-Bike Chambres-a-aire Schwalbe SV21F 27.5 Extra light / Noir&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-chambres-a-aire-schwalbe-sv21f-27-5-extra-light-noir' WHERE `virtuemart_product_id` = '1860796'
2023-10-13	12:43:32	1304	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29654_chambres-a-aire_schwalbe_sv21f_27_5__extra_light.jpg
2023-10-13	12:43:32	1304	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:32	1304	[DEBUG]	Process image file
2023-10-13	12:43:32	1304	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:32	1304	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:32	1304	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29654_chambres-a-aire_schwalbe_sv21f_27_5__extra_light.jpg
2023-10-13	12:43:32	1304	[DEBUG]	Full name target: bcprisme/29654_chambres-a-aire_schwalbe_sv21f_27_5__extra_light.jpg
2023-10-13	12:43:33	1304	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:33	1304	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29654_chambres-a-aire_schwalbe_sv21f_27_5__extra_light.jpg'
2023-10-13	12:43:33	1304	[DEBUG]	Query for Media
2023-10-13	12:43:33	1304	[DEBUG]	Executed store
2023-10-13	12:43:33	1304	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29654_chambres-a-aire_schwalbe_sv21f_27_5__extra_light.jpg',`file_url_thumb`='bcprisme/29654_chambres-a-aire_schwalbe_sv21f_27_5__extra_light.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12614'
2023-10-13	12:43:33	1304	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:33	1304	[DEBUG]	Executed store
2023-10-13	12:43:33	1304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860796','12614','1')
2023-10-13	12:43:33	1304	[DEBUG]	Store product image relation
2023-10-13	12:43:33	1304	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:33	1304	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860796 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:33	1304	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:33	1304	[DEBUG]	Executed store
2023-10-13	12:43:33	1304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860796','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:33	1304	[DEBUG]	Checking manufacturer
2023-10-13	12:43:33	1304	[DEBUG]	Load a row
2023-10-13	12:43:33	1304	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:33	1304	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:43:33	1304	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:33	1304	[DEBUG]	Executed store
2023-10-13	12:43:33	1304	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:43:33	1304	[DEBUG]	Manufacturer exists
2023-10-13	12:43:33	1304	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:43:33	1304	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:33	1304	[DEBUG]	Executed store
2023-10-13	12:43:33	1304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860796','2')
2023-10-13	12:43:33	1304	[DEBUG]	Find the custom field ID
2023-10-13	12:43:33	1304	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:33	1304	[DEBUG]	No custom field ID found
2023-10-13	12:43:33	1304	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:33	1304	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:43:33	1304	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860796 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:33	1304	[DEBUG]	Store custom available field
2023-10-13	12:43:33	1304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860796,3,'12.8641666666667',1)
2023-10-13	12:43:33	1304	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:33	1304	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:33	1304	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860796 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:33	1304	[DEBUG]	Store custom available field
2023-10-13	12:43:33	1304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860796,6,'choisir la taille',3)
2023-10-13	12:43:33	1304	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:33	1304	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:33	1304	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:33	1304	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:33	1304	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860796 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:33	1304	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:33	1304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860796,8,1)
2023-10-13	12:43:33	1304	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:33	1304	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860796\":[1860796,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860796
2023-10-13	12:43:33	1304	[DEBUG]	Checking category
2023-10-13	12:43:33	1304	[DEBUG]	Check if category path exists: CHAMBRES-A-AIR 27.5 à 27.5+
2023-10-13	12:43:33	1304	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIR 27.5 à 27.5+' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7291
2023-10-13	12:43:33	1304	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:33	1304	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860796
2023-10-13	12:43:33	1304	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:33	1304	[DEBUG]	Executed store
2023-10-13	12:43:33	1304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860796','7298')
2023-10-13	12:43:33	1304	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:33	1304	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860796 AND `virtuemart_category_id` NOT IN (7298)
2023-10-13	12:43:33	1304	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:33	1304	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860796
2023-10-13	12:43:33	1305	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:33	1305	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:33	1305	[DEBUG]	Use field value for field taille
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:33	1305	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:33	1305	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:33	1305	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:33	1305	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:33	1305	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:33	1305	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:33	1305	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:33	1305	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:33	1305	[DEBUG]	Use field value for field published
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:33	1305	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field override
2023-10-13	12:43:33	1305	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:33	1305	[DEBUG]	Use field value for field slug
2023-10-13	12:43:33	1305	[DEBUG]	Process line 1305
2023-10-13	12:43:33	1305	[DEBUG]	Load a row
2023-10-13	12:43:33	1305	[DEBUG]	Processing item: 4026495732246
2023-10-13	12:43:33	1305	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:33	1305	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:33	1305	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5190_1'
2023-10-13	12:43:33	1305	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:33	1305	[DEBUG]	Processing product tax
2023-10-13	12:43:33	1305	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:33	1305	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:33	1305	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:33	1305	[DEBUG]	Query for Product
2023-10-13	12:43:33	1305	[DEBUG]	Executed store
2023-10-13	12:43:33	1305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860796','4026495732246','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:33	1305	[DEBUG]	No parent found
2023-10-13	12:43:33	1305	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860796 AND customfield_value = 'stockable'
2023-10-13	12:43:33	1305	[DEBUG]	Check product language entry
2023-10-13	12:43:33	1305	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860797
2023-10-13	12:43:33	1305	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:33	1305	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495732246' AND `virtuemart_product_id` != 1860797
2023-10-13	12:43:33	1305	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:33	1305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860797, '4026495732246')
2023-10-13	12:43:33	1305	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:33	1305	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-chambres-a-aire-schwalbe-sv21f-27-5-extra-light-noir-unitaire' AND `virtuemart_product_id` != 1860797
2023-10-13	12:43:33	1305	[DEBUG]	Query for ProductLang
2023-10-13	12:43:33	1305	[DEBUG]	Executed store
2023-10-13	12:43:33	1305	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Chambres-a-aire Schwalbe SV21F 27.5 Extra light / Noir (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-chambres-a-aire-schwalbe-sv21f-27-5-extra-light-noir-unitaire' WHERE `virtuemart_product_id` = '1860797'
2023-10-13	12:43:33	1305	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29654_chambres-a-aire_schwalbe_sv21f_27_5__extra_light.jpg
2023-10-13	12:43:33	1305	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:33	1305	[DEBUG]	Process image file
2023-10-13	12:43:33	1305	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:33	1305	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:33	1305	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29654_chambres-a-aire_schwalbe_sv21f_27_5__extra_light.jpg
2023-10-13	12:43:33	1305	[DEBUG]	Full name target: bcprisme/29654_chambres-a-aire_schwalbe_sv21f_27_5__extra_light.jpg
2023-10-13	12:43:34	1305	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:34	1305	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29654_chambres-a-aire_schwalbe_sv21f_27_5__extra_light.jpg'
2023-10-13	12:43:34	1305	[DEBUG]	Query for Media
2023-10-13	12:43:34	1305	[DEBUG]	Executed store
2023-10-13	12:43:34	1305	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29654_chambres-a-aire_schwalbe_sv21f_27_5__extra_light.jpg',`file_url_thumb`='bcprisme/29654_chambres-a-aire_schwalbe_sv21f_27_5__extra_light.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12614'
2023-10-13	12:43:34	1305	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:34	1305	[DEBUG]	Executed store
2023-10-13	12:43:34	1305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860797','12614','1')
2023-10-13	12:43:34	1305	[DEBUG]	Store product image relation
2023-10-13	12:43:34	1305	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:34	1305	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860797 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:34	1305	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:34	1305	[DEBUG]	Executed store
2023-10-13	12:43:34	1305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860797','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:34	1305	[DEBUG]	Checking manufacturer
2023-10-13	12:43:34	1305	[DEBUG]	Load a row
2023-10-13	12:43:34	1305	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:34	1305	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:43:34	1305	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:34	1305	[DEBUG]	Executed store
2023-10-13	12:43:34	1305	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:43:34	1305	[DEBUG]	Manufacturer exists
2023-10-13	12:43:34	1305	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:43:34	1305	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:34	1305	[DEBUG]	Executed store
2023-10-13	12:43:34	1305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860797','2')
2023-10-13	12:43:34	1305	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:34	1305	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:34	1305	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860797 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:34	1305	[DEBUG]	Store custom available field
2023-10-13	12:43:34	1305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860797,3,'',1)
2023-10-13	12:43:34	1305	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:34	1305	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:34	1305	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860797 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:34	1305	[DEBUG]	Store custom available field
2023-10-13	12:43:34	1305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860797,6,'Unitaire',3)
2023-10-13	12:43:34	1305	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:34	1305	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:34	1305	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860796
2023-10-13	12:43:34	1305	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:34	1305	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860796\":[1860796,8,1,\"choisir la taille\"],\"1860797\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860796
2023-10-13	12:43:34	1305	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:34	1305	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860797
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:34	1306	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field taille
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:34	1306	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:34	1306	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:34	1306	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:34	1306	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:34	1306	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:34	1306	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field published
2023-10-13	12:43:34	1306	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:34	1306	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field override
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:34	1306	[DEBUG]	Use field value for field slug
2023-10-13	12:43:34	1306	[DEBUG]	Process line 1306
2023-10-13	12:43:34	1306	[DEBUG]	Load a row
2023-10-13	12:43:34	1306	[DEBUG]	Processing item: A_5191_1
2023-10-13	12:43:34	1306	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:34	1306	[DEBUG]	Processing product tax
2023-10-13	12:43:34	1306	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:34	1306	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:34	1306	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:34	1306	[DEBUG]	Query for Product
2023-10-13	12:43:34	1306	[DEBUG]	Executed store
2023-10-13	12:43:34	1306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5191_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:34	1306	[DEBUG]	Check product language entry
2023-10-13	12:43:34	1306	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860798
2023-10-13	12:43:34	1306	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:34	1306	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5191_1' AND `virtuemart_product_id` != 1860798
2023-10-13	12:43:34	1306	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:34	1306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860798, 'A_5191_1')
2023-10-13	12:43:34	1306	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:34	1306	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-chambres-a-aire-schwalbe-av21f-27-5-extra-light-noir' AND `virtuemart_product_id` != 1860798
2023-10-13	12:43:34	1306	[DEBUG]	Query for ProductLang
2023-10-13	12:43:34	1306	[DEBUG]	Executed store
2023-10-13	12:43:34	1306	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaoyang super lite tube 27.5 x 1.90/2.35 fv, 210 gr, valve de 40 mm<br>N° art fourn : 10.55.15.003',`product_name`='MLV-Bike Chambres-a-aire Schwalbe AV21F 27.5 Extra light / Noir&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-chambres-a-aire-schwalbe-av21f-27-5-extra-light-noir' WHERE `virtuemart_product_id` = '1860798'
2023-10-13	12:43:34	1306	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29655_chambres-a-aire_schwalbe_av21f_27_5__extra_light_(copie).jpg
2023-10-13	12:43:34	1306	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:34	1306	[DEBUG]	Process image file
2023-10-13	12:43:34	1306	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:34	1306	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:34	1306	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29655_chambres-a-aire_schwalbe_av21f_27_5__extra_light_(copie).jpg
2023-10-13	12:43:34	1306	[DEBUG]	Full name target: bcprisme/29655_chambres-a-aire_schwalbe_av21f_27_5__extra_light_(copie).jpg
2023-10-13	12:43:35	1306	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:35	1306	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29655_chambres-a-aire_schwalbe_av21f_27_5__extra_light_(copie).jpg'
2023-10-13	12:43:35	1306	[DEBUG]	Query for Media
2023-10-13	12:43:35	1306	[DEBUG]	Executed store
2023-10-13	12:43:35	1306	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29655_chambres-a-aire_schwalbe_av21f_27_5__extra_light_(copie).jpg',`file_url_thumb`='bcprisme/29655_chambres-a-aire_schwalbe_av21f_27_5__extra_light_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12615'
2023-10-13	12:43:35	1306	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:35	1306	[DEBUG]	Executed store
2023-10-13	12:43:35	1306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860798','12615','1')
2023-10-13	12:43:35	1306	[DEBUG]	Store product image relation
2023-10-13	12:43:35	1306	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:35	1306	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860798 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:35	1306	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:35	1306	[DEBUG]	Executed store
2023-10-13	12:43:35	1306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860798','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:35	1306	[DEBUG]	Checking manufacturer
2023-10-13	12:43:35	1306	[DEBUG]	Load a row
2023-10-13	12:43:35	1306	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:35	1306	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:43:35	1306	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:35	1306	[DEBUG]	Executed store
2023-10-13	12:43:35	1306	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:43:35	1306	[DEBUG]	Manufacturer exists
2023-10-13	12:43:35	1306	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:43:35	1306	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:35	1306	[DEBUG]	Executed store
2023-10-13	12:43:35	1306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860798','2')
2023-10-13	12:43:35	1306	[DEBUG]	Find the custom field ID
2023-10-13	12:43:35	1306	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:35	1306	[DEBUG]	No custom field ID found
2023-10-13	12:43:35	1306	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:35	1306	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:43:35	1306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860798 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:35	1306	[DEBUG]	Store custom available field
2023-10-13	12:43:35	1306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860798,3,'12.8641666666667',1)
2023-10-13	12:43:35	1306	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:35	1306	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:35	1306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860798 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:35	1306	[DEBUG]	Store custom available field
2023-10-13	12:43:35	1306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860798,6,'choisir la taille',3)
2023-10-13	12:43:35	1306	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:35	1306	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:35	1306	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:35	1306	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:35	1306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860798 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:35	1306	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:35	1306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860798,8,1)
2023-10-13	12:43:35	1306	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:35	1306	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860798\":[1860798,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860798
2023-10-13	12:43:35	1306	[DEBUG]	Checking category
2023-10-13	12:43:35	1306	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:35	1306	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860798
2023-10-13	12:43:35	1306	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:35	1306	[DEBUG]	Executed store
2023-10-13	12:43:35	1306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860798','7298')
2023-10-13	12:43:35	1306	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:35	1306	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860798 AND `virtuemart_category_id` NOT IN (7298)
2023-10-13	12:43:35	1306	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:35	1306	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860798
2023-10-13	12:43:35	1307	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:35	1307	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:35	1307	[DEBUG]	Use field value for field taille
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:35	1307	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:35	1307	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:35	1307	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:35	1307	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:35	1307	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:35	1307	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:35	1307	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:35	1307	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:35	1307	[DEBUG]	Use field value for field published
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:35	1307	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field override
2023-10-13	12:43:35	1307	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:35	1307	[DEBUG]	Use field value for field slug
2023-10-13	12:43:35	1307	[DEBUG]	Process line 1307
2023-10-13	12:43:35	1307	[DEBUG]	Load a row
2023-10-13	12:43:35	1307	[DEBUG]	Processing item: 4026495732222
2023-10-13	12:43:35	1307	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:35	1307	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:35	1307	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5191_1'
2023-10-13	12:43:35	1307	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:35	1307	[DEBUG]	Processing product tax
2023-10-13	12:43:35	1307	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:35	1307	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:35	1307	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:35	1307	[DEBUG]	Query for Product
2023-10-13	12:43:35	1307	[DEBUG]	Executed store
2023-10-13	12:43:35	1307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860798','4026495732222','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:35	1307	[DEBUG]	No parent found
2023-10-13	12:43:35	1307	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860798 AND customfield_value = 'stockable'
2023-10-13	12:43:35	1307	[DEBUG]	Check product language entry
2023-10-13	12:43:35	1307	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860799
2023-10-13	12:43:35	1307	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:35	1307	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495732222' AND `virtuemart_product_id` != 1860799
2023-10-13	12:43:35	1307	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:35	1307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860799, '4026495732222')
2023-10-13	12:43:35	1307	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:35	1307	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-chambres-a-aire-schwalbe-av21f-27-5-extra-light-noir-unitaire' AND `virtuemart_product_id` != 1860799
2023-10-13	12:43:35	1307	[DEBUG]	Query for ProductLang
2023-10-13	12:43:35	1307	[DEBUG]	Executed store
2023-10-13	12:43:35	1307	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Chambres-a-aire Schwalbe AV21F 27.5 Extra light / Noir (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-chambres-a-aire-schwalbe-av21f-27-5-extra-light-noir-unitaire' WHERE `virtuemart_product_id` = '1860799'
2023-10-13	12:43:35	1307	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29655_chambres-a-aire_schwalbe_av21f_27_5__extra_light_(copie).jpg
2023-10-13	12:43:35	1307	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:35	1307	[DEBUG]	Process image file
2023-10-13	12:43:35	1307	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:35	1307	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:35	1307	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29655_chambres-a-aire_schwalbe_av21f_27_5__extra_light_(copie).jpg
2023-10-13	12:43:35	1307	[DEBUG]	Full name target: bcprisme/29655_chambres-a-aire_schwalbe_av21f_27_5__extra_light_(copie).jpg
2023-10-13	12:43:36	1307	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:36	1307	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29655_chambres-a-aire_schwalbe_av21f_27_5__extra_light_(copie).jpg'
2023-10-13	12:43:36	1307	[DEBUG]	Query for Media
2023-10-13	12:43:36	1307	[DEBUG]	Executed store
2023-10-13	12:43:36	1307	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29655_chambres-a-aire_schwalbe_av21f_27_5__extra_light_(copie).jpg',`file_url_thumb`='bcprisme/29655_chambres-a-aire_schwalbe_av21f_27_5__extra_light_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12615'
2023-10-13	12:43:36	1307	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:36	1307	[DEBUG]	Executed store
2023-10-13	12:43:36	1307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860799','12615','1')
2023-10-13	12:43:36	1307	[DEBUG]	Store product image relation
2023-10-13	12:43:36	1307	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:36	1307	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860799 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:36	1307	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:36	1307	[DEBUG]	Executed store
2023-10-13	12:43:36	1307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860799','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:36	1307	[DEBUG]	Checking manufacturer
2023-10-13	12:43:36	1307	[DEBUG]	Load a row
2023-10-13	12:43:36	1307	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:36	1307	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:43:36	1307	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:36	1307	[DEBUG]	Executed store
2023-10-13	12:43:36	1307	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:43:36	1307	[DEBUG]	Manufacturer exists
2023-10-13	12:43:36	1307	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:43:36	1307	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:36	1307	[DEBUG]	Executed store
2023-10-13	12:43:36	1307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860799','2')
2023-10-13	12:43:36	1307	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:36	1307	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:36	1307	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860799 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:36	1307	[DEBUG]	Store custom available field
2023-10-13	12:43:36	1307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860799,3,'',1)
2023-10-13	12:43:36	1307	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:36	1307	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:36	1307	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860799 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:36	1307	[DEBUG]	Store custom available field
2023-10-13	12:43:36	1307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860799,6,'Unitaire',3)
2023-10-13	12:43:36	1307	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:36	1307	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:36	1307	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860798
2023-10-13	12:43:36	1307	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:36	1307	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860798\":[1860798,8,1,\"choisir la taille\"],\"1860799\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860798
2023-10-13	12:43:36	1307	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:36	1307	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860799
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:36	1308	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field taille
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:36	1308	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:36	1308	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:36	1308	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:36	1308	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:36	1308	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:36	1308	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field published
2023-10-13	12:43:36	1308	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:36	1308	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field override
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:36	1308	[DEBUG]	Use field value for field slug
2023-10-13	12:43:36	1308	[DEBUG]	Process line 1308
2023-10-13	12:43:36	1308	[DEBUG]	Load a row
2023-10-13	12:43:36	1308	[DEBUG]	Processing item: A_3343_1
2023-10-13	12:43:36	1308	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:36	1308	[DEBUG]	Processing product tax
2023-10-13	12:43:36	1308	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:36	1308	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:36	1308	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:36	1308	[DEBUG]	Query for Product
2023-10-13	12:43:36	1308	[DEBUG]	Executed store
2023-10-13	12:43:36	1308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3343_1','0.25','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:36	1308	[DEBUG]	Check product language entry
2023-10-13	12:43:36	1308	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860800
2023-10-13	12:43:36	1308	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:36	1308	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3343_1' AND `virtuemart_product_id` != 1860800
2023-10-13	12:43:36	1308	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:36	1308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860800, 'A_3343_1')
2023-10-13	12:43:36	1308	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:36	1308	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-27-5-x-1-90-2-125-presta-40-mm-epaisseur-0-9-mm-noir' AND `virtuemart_product_id` != 1860800
2023-10-13	12:43:36	1308	[DEBUG]	Query for ProductLang
2023-10-13	12:43:36	1308	[DEBUG]	Executed store
2023-10-13	12:43:36	1308	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='27.5 X 1.90/2.125 PRESTA 40 MM, EPAISSEUR 0.9 MM<br><br>N° art fourn : TU2751902125FV4',`product_name`='MSC Chambre-à-air 27.5 X 1.90/2.125 PRESTA 40 MM, EPAISSEUR 0.9 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-27-5-x-1-90-2-125-presta-40-mm-epaisseur-0-9-mm-noir' WHERE `virtuemart_product_id` = '1860800'
2023-10-13	12:43:36	1308	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/15976_chambre-a-air_msc_27_5_x_1_90-2_125_presta_40_mm_0_9_mm.jpg
2023-10-13	12:43:36	1308	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:36	1308	[DEBUG]	Process image file
2023-10-13	12:43:36	1308	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:36	1308	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:36	1308	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/15976_chambre-a-air_msc_27_5_x_1_90-2_125_presta_40_mm_0_9_mm.jpg
2023-10-13	12:43:36	1308	[DEBUG]	Full name target: bcprisme/15976_chambre-a-air_msc_27_5_x_1_90-2_125_presta_40_mm_0_9_mm.jpg
2023-10-13	12:43:37	1308	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:37	1308	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/15976_chambre-a-air_msc_27_5_x_1_90-2_125_presta_40_mm_0_9_mm.jpg'
2023-10-13	12:43:37	1308	[DEBUG]	Query for Media
2023-10-13	12:43:37	1308	[DEBUG]	Executed store
2023-10-13	12:43:37	1308	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/15976_chambre-a-air_msc_27_5_x_1_90-2_125_presta_40_mm_0_9_mm.jpg',`file_url_thumb`='bcprisme/15976_chambre-a-air_msc_27_5_x_1_90-2_125_presta_40_mm_0_9_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15821'
2023-10-13	12:43:37	1308	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:37	1308	[DEBUG]	Executed store
2023-10-13	12:43:37	1308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860800','15821','1')
2023-10-13	12:43:37	1308	[DEBUG]	Store product image relation
2023-10-13	12:43:37	1308	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:37	1308	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860800 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:37	1308	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:37	1308	[DEBUG]	Executed store
2023-10-13	12:43:37	1308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860800','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:37	1308	[DEBUG]	Checking manufacturer
2023-10-13	12:43:37	1308	[DEBUG]	Load a row
2023-10-13	12:43:37	1308	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:37	1308	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:37	1308	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:37	1308	[DEBUG]	Executed store
2023-10-13	12:43:37	1308	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:37	1308	[DEBUG]	Manufacturer exists
2023-10-13	12:43:37	1308	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:37	1308	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:37	1308	[DEBUG]	Executed store
2023-10-13	12:43:37	1308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860800','32')
2023-10-13	12:43:37	1308	[DEBUG]	Find the custom field ID
2023-10-13	12:43:37	1308	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:37	1308	[DEBUG]	No custom field ID found
2023-10-13	12:43:37	1308	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:37	1308	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:43:37	1308	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860800 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:37	1308	[DEBUG]	Store custom available field
2023-10-13	12:43:37	1308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860800,3,'9.8725',1)
2023-10-13	12:43:37	1308	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:37	1308	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:37	1308	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860800 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:37	1308	[DEBUG]	Store custom available field
2023-10-13	12:43:37	1308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860800,6,'choisir la taille',3)
2023-10-13	12:43:37	1308	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:37	1308	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:37	1308	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:37	1308	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:37	1308	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860800 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:37	1308	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:37	1308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860800,8,1)
2023-10-13	12:43:37	1308	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:37	1308	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860800\":[1860800,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860800
2023-10-13	12:43:37	1308	[DEBUG]	Checking category
2023-10-13	12:43:37	1308	[DEBUG]	Check if category path exists: CHAMBRES-A-AIR 27.5/ SCHLAÜCHE 27.5
2023-10-13	12:43:37	1308	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIR 27.5/ SCHLAÜCHE 27.5' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7291
2023-10-13	12:43:37	1308	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:37	1308	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860800
2023-10-13	12:43:37	1308	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:37	1308	[DEBUG]	Executed store
2023-10-13	12:43:37	1308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860800','7299')
2023-10-13	12:43:37	1308	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:37	1308	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860800 AND `virtuemart_category_id` NOT IN (7299)
2023-10-13	12:43:37	1308	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:37	1308	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860800
2023-10-13	12:43:37	1309	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:37	1309	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:37	1309	[DEBUG]	Use field value for field taille
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:37	1309	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:37	1309	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:37	1309	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:37	1309	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:37	1309	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:37	1309	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:37	1309	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:37	1309	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:37	1309	[DEBUG]	Use field value for field published
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:37	1309	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field override
2023-10-13	12:43:37	1309	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:37	1309	[DEBUG]	Use field value for field slug
2023-10-13	12:43:37	1309	[DEBUG]	Process line 1309
2023-10-13	12:43:37	1309	[DEBUG]	Load a row
2023-10-13	12:43:37	1309	[DEBUG]	Processing item: 8435466213978
2023-10-13	12:43:37	1309	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:37	1309	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:37	1309	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3343_1'
2023-10-13	12:43:37	1309	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:37	1309	[DEBUG]	Processing product tax
2023-10-13	12:43:37	1309	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:37	1309	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:37	1309	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:37	1309	[DEBUG]	Query for Product
2023-10-13	12:43:37	1309	[DEBUG]	Executed store
2023-10-13	12:43:37	1309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860800','8435466213978','0','KG','M','','27','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:37	1309	[DEBUG]	No parent found
2023-10-13	12:43:37	1309	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860800 AND customfield_value = 'stockable'
2023-10-13	12:43:37	1309	[DEBUG]	Check product language entry
2023-10-13	12:43:37	1309	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860801
2023-10-13	12:43:37	1309	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:37	1309	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213978' AND `virtuemart_product_id` != 1860801
2023-10-13	12:43:37	1309	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:37	1309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860801, '8435466213978')
2023-10-13	12:43:37	1309	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:37	1309	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-27-5-x-1-90-2-125-presta-40-mm-epaisseur-0-9-mm-noir-unitaire' AND `virtuemart_product_id` != 1860801
2023-10-13	12:43:37	1309	[DEBUG]	Query for ProductLang
2023-10-13	12:43:37	1309	[DEBUG]	Executed store
2023-10-13	12:43:37	1309	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 27.5 X 1.90/2.125 PRESTA 40 MM, EPAISSEUR 0.9 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-27-5-x-1-90-2-125-presta-40-mm-epaisseur-0-9-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860801'
2023-10-13	12:43:37	1309	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/15976_chambre-a-air_msc_27_5_x_1_90-2_125_presta_40_mm_0_9_mm.jpg
2023-10-13	12:43:37	1309	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:37	1309	[DEBUG]	Process image file
2023-10-13	12:43:37	1309	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:37	1309	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:37	1309	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/15976_chambre-a-air_msc_27_5_x_1_90-2_125_presta_40_mm_0_9_mm.jpg
2023-10-13	12:43:37	1309	[DEBUG]	Full name target: bcprisme/15976_chambre-a-air_msc_27_5_x_1_90-2_125_presta_40_mm_0_9_mm.jpg
2023-10-13	12:43:38	1309	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:38	1309	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/15976_chambre-a-air_msc_27_5_x_1_90-2_125_presta_40_mm_0_9_mm.jpg'
2023-10-13	12:43:38	1309	[DEBUG]	Query for Media
2023-10-13	12:43:38	1309	[DEBUG]	Executed store
2023-10-13	12:43:38	1309	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/15976_chambre-a-air_msc_27_5_x_1_90-2_125_presta_40_mm_0_9_mm.jpg',`file_url_thumb`='bcprisme/15976_chambre-a-air_msc_27_5_x_1_90-2_125_presta_40_mm_0_9_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15821'
2023-10-13	12:43:38	1309	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:38	1309	[DEBUG]	Executed store
2023-10-13	12:43:38	1309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860801','15821','1')
2023-10-13	12:43:38	1309	[DEBUG]	Store product image relation
2023-10-13	12:43:38	1309	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:38	1309	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860801 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:38	1309	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:38	1309	[DEBUG]	Executed store
2023-10-13	12:43:38	1309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860801','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:38	1309	[DEBUG]	Checking manufacturer
2023-10-13	12:43:38	1309	[DEBUG]	Load a row
2023-10-13	12:43:38	1309	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:38	1309	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:38	1309	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:38	1309	[DEBUG]	Executed store
2023-10-13	12:43:38	1309	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:38	1309	[DEBUG]	Manufacturer exists
2023-10-13	12:43:38	1309	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:38	1309	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:38	1309	[DEBUG]	Executed store
2023-10-13	12:43:38	1309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860801','32')
2023-10-13	12:43:38	1309	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:38	1309	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:38	1309	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860801 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:38	1309	[DEBUG]	Store custom available field
2023-10-13	12:43:38	1309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860801,3,'',1)
2023-10-13	12:43:38	1309	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:38	1309	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:38	1309	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860801 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:38	1309	[DEBUG]	Store custom available field
2023-10-13	12:43:38	1309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860801,6,'Unitaire',3)
2023-10-13	12:43:38	1309	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:38	1309	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:38	1309	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860800
2023-10-13	12:43:38	1309	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:38	1309	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860800\":[1860800,8,1,\"choisir la taille\"],\"1860801\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860800
2023-10-13	12:43:38	1309	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:38	1309	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860801
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:38	1310	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field taille
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:38	1310	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:38	1310	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:38	1310	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:38	1310	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:38	1310	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:38	1310	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field published
2023-10-13	12:43:38	1310	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:38	1310	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field override
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:38	1310	[DEBUG]	Use field value for field slug
2023-10-13	12:43:38	1310	[DEBUG]	Process line 1310
2023-10-13	12:43:38	1310	[DEBUG]	Load a row
2023-10-13	12:43:38	1310	[DEBUG]	Processing item: A_4556_1
2023-10-13	12:43:38	1310	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:38	1310	[DEBUG]	Processing product tax
2023-10-13	12:43:38	1310	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:38	1310	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:38	1310	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:38	1310	[DEBUG]	Query for Product
2023-10-13	12:43:38	1310	[DEBUG]	Executed store
2023-10-13	12:43:38	1310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4556_1','0.25','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:38	1310	[DEBUG]	Check product language entry
2023-10-13	12:43:38	1310	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860802
2023-10-13	12:43:38	1310	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:38	1310	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4556_1' AND `virtuemart_product_id` != 1860802
2023-10-13	12:43:38	1310	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:38	1310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860802, 'A_4556_1')
2023-10-13	12:43:38	1310	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:38	1310	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-27-5-x-1-90-2-125-schrader-epaisseur-0-9-mm-noir' AND `virtuemart_product_id` != 1860802
2023-10-13	12:43:38	1310	[DEBUG]	Query for ProductLang
2023-10-13	12:43:38	1310	[DEBUG]	Executed store
2023-10-13	12:43:38	1310	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='27.5 X 1.90/2.125 SCHRADER, EPAISSEUR 0.9 MM<br><br>N° art fourn : TU2751902125SV',`product_name`='MSC Chambre-à-air 27.5 X 1.90/2.125 SCHRADER, EPAISSEUR 0.9 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-27-5-x-1-90-2-125-schrader-epaisseur-0-9-mm-noir' WHERE `virtuemart_product_id` = '1860802'
2023-10-13	12:43:38	1310	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27237_chambre-a-air_msc_27_5_x_1_90-2_125_schrader_40_mm_0_9_mm.jpg
2023-10-13	12:43:38	1310	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:43:38	1310	[DEBUG]	Process image file
2023-10-13	12:43:38	1310	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:43:38	1310	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:38	1310	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27237_chambre-a-air_msc_27_5_x_1_90-2_125_schrader_40_mm_0_9_mm.jpg
2023-10-13	12:43:38	1310	[DEBUG]	Full name target: bcprisme/27237_chambre-a-air_msc_27_5_x_1_90-2_125_schrader_40_mm_0_9_mm.jpg
2023-10-13	12:43:39	1310	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:39	1310	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27237_chambre-a-air_msc_27_5_x_1_90-2_125_schrader_40_mm_0_9_mm.jpg'
2023-10-13	12:43:39	1310	[DEBUG]	Query for Media
2023-10-13	12:43:39	1310	[DEBUG]	Executed store
2023-10-13	12:43:39	1310	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27237_chambre-a-air_msc_27_5_x_1_90-2_125_schrader_40_mm_0_9_mm.jpg',`file_url_thumb`='bcprisme/27237_chambre-a-air_msc_27_5_x_1_90-2_125_schrader_40_mm_0_9_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12618'
2023-10-13	12:43:39	1310	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:39	1310	[DEBUG]	Executed store
2023-10-13	12:43:39	1310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860802','12618','1')
2023-10-13	12:43:39	1310	[DEBUG]	Store product image relation
2023-10-13	12:43:39	1310	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:39	1310	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860802 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:39	1310	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:39	1310	[DEBUG]	Executed store
2023-10-13	12:43:39	1310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860802','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:39	1310	[DEBUG]	Checking manufacturer
2023-10-13	12:43:39	1310	[DEBUG]	Load a row
2023-10-13	12:43:39	1310	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:39	1310	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:39	1310	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:39	1310	[DEBUG]	Executed store
2023-10-13	12:43:39	1310	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:39	1310	[DEBUG]	Manufacturer exists
2023-10-13	12:43:39	1310	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:39	1310	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:39	1310	[DEBUG]	Executed store
2023-10-13	12:43:39	1310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860802','32')
2023-10-13	12:43:39	1310	[DEBUG]	Find the custom field ID
2023-10-13	12:43:39	1310	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:39	1310	[DEBUG]	No custom field ID found
2023-10-13	12:43:39	1310	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:39	1310	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:43:39	1310	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860802 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:39	1310	[DEBUG]	Store custom available field
2023-10-13	12:43:39	1310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860802,3,'9.8725',1)
2023-10-13	12:43:39	1310	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:39	1310	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:39	1310	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860802 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:39	1310	[DEBUG]	Store custom available field
2023-10-13	12:43:39	1310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860802,6,'choisir la taille',3)
2023-10-13	12:43:39	1310	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:39	1310	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:39	1310	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:39	1310	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:39	1310	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860802 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:39	1310	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:39	1310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860802,8,1)
2023-10-13	12:43:39	1310	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:39	1310	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860802\":[1860802,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860802
2023-10-13	12:43:39	1310	[DEBUG]	Checking category
2023-10-13	12:43:39	1310	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:39	1310	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860802
2023-10-13	12:43:39	1310	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:39	1310	[DEBUG]	Executed store
2023-10-13	12:43:39	1310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860802','7299')
2023-10-13	12:43:39	1310	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:39	1310	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860802 AND `virtuemart_category_id` NOT IN (7299)
2023-10-13	12:43:39	1310	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:39	1310	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860802
2023-10-13	12:43:39	1311	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:39	1311	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:39	1311	[DEBUG]	Use field value for field taille
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:39	1311	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:39	1311	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:39	1311	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:39	1311	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:39	1311	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:39	1311	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:39	1311	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:39	1311	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:39	1311	[DEBUG]	Use field value for field published
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:39	1311	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field override
2023-10-13	12:43:39	1311	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:39	1311	[DEBUG]	Use field value for field slug
2023-10-13	12:43:39	1311	[DEBUG]	Process line 1311
2023-10-13	12:43:39	1311	[DEBUG]	Load a row
2023-10-13	12:43:39	1311	[DEBUG]	Processing item: 8435466213985
2023-10-13	12:43:39	1311	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:39	1311	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:39	1311	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4556_1'
2023-10-13	12:43:39	1311	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:39	1311	[DEBUG]	Processing product tax
2023-10-13	12:43:39	1311	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:39	1311	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:39	1311	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:39	1311	[DEBUG]	Query for Product
2023-10-13	12:43:39	1311	[DEBUG]	Executed store
2023-10-13	12:43:39	1311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860802','8435466213985','0','KG','M','','62','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:39	1311	[DEBUG]	No parent found
2023-10-13	12:43:39	1311	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860802 AND customfield_value = 'stockable'
2023-10-13	12:43:39	1311	[DEBUG]	Check product language entry
2023-10-13	12:43:39	1311	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860803
2023-10-13	12:43:39	1311	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:39	1311	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213985' AND `virtuemart_product_id` != 1860803
2023-10-13	12:43:39	1311	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:39	1311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860803, '8435466213985')
2023-10-13	12:43:39	1311	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:39	1311	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-27-5-x-1-90-2-125-schrader-epaisseur-0-9-mm-noir-unitaire' AND `virtuemart_product_id` != 1860803
2023-10-13	12:43:39	1311	[DEBUG]	Query for ProductLang
2023-10-13	12:43:39	1311	[DEBUG]	Executed store
2023-10-13	12:43:39	1311	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 27.5 X 1.90/2.125 SCHRADER, EPAISSEUR 0.9 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-27-5-x-1-90-2-125-schrader-epaisseur-0-9-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860803'
2023-10-13	12:43:39	1311	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27237_chambre-a-air_msc_27_5_x_1_90-2_125_schrader_40_mm_0_9_mm.jpg
2023-10-13	12:43:39	1311	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:43:39	1311	[DEBUG]	Process image file
2023-10-13	12:43:39	1311	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:43:39	1311	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:39	1311	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27237_chambre-a-air_msc_27_5_x_1_90-2_125_schrader_40_mm_0_9_mm.jpg
2023-10-13	12:43:39	1311	[DEBUG]	Full name target: bcprisme/27237_chambre-a-air_msc_27_5_x_1_90-2_125_schrader_40_mm_0_9_mm.jpg
2023-10-13	12:43:40	1311	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:40	1311	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27237_chambre-a-air_msc_27_5_x_1_90-2_125_schrader_40_mm_0_9_mm.jpg'
2023-10-13	12:43:40	1311	[DEBUG]	Query for Media
2023-10-13	12:43:40	1311	[DEBUG]	Executed store
2023-10-13	12:43:40	1311	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27237_chambre-a-air_msc_27_5_x_1_90-2_125_schrader_40_mm_0_9_mm.jpg',`file_url_thumb`='bcprisme/27237_chambre-a-air_msc_27_5_x_1_90-2_125_schrader_40_mm_0_9_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12618'
2023-10-13	12:43:40	1311	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:40	1311	[DEBUG]	Executed store
2023-10-13	12:43:40	1311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860803','12618','1')
2023-10-13	12:43:40	1311	[DEBUG]	Store product image relation
2023-10-13	12:43:40	1311	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:40	1311	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860803 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:40	1311	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:40	1311	[DEBUG]	Executed store
2023-10-13	12:43:40	1311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860803','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:40	1311	[DEBUG]	Checking manufacturer
2023-10-13	12:43:40	1311	[DEBUG]	Load a row
2023-10-13	12:43:40	1311	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:40	1311	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:40	1311	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:40	1311	[DEBUG]	Executed store
2023-10-13	12:43:40	1311	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:40	1311	[DEBUG]	Manufacturer exists
2023-10-13	12:43:40	1311	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:40	1311	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:40	1311	[DEBUG]	Executed store
2023-10-13	12:43:40	1311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860803','32')
2023-10-13	12:43:40	1311	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:40	1311	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:40	1311	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860803 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:40	1311	[DEBUG]	Store custom available field
2023-10-13	12:43:40	1311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860803,3,'',1)
2023-10-13	12:43:40	1311	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:40	1311	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:40	1311	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860803 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:40	1311	[DEBUG]	Store custom available field
2023-10-13	12:43:40	1311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860803,6,'Unitaire',3)
2023-10-13	12:43:40	1311	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:40	1311	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:40	1311	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860802
2023-10-13	12:43:40	1311	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:40	1311	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860802\":[1860802,8,1,\"choisir la taille\"],\"1860803\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860802
2023-10-13	12:43:40	1311	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:40	1311	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860803
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:40	1312	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field taille
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:40	1312	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:40	1312	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:40	1312	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:40	1312	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:40	1312	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:40	1312	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field published
2023-10-13	12:43:40	1312	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:40	1312	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field override
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:40	1312	[DEBUG]	Use field value for field slug
2023-10-13	12:43:40	1312	[DEBUG]	Process line 1312
2023-10-13	12:43:40	1312	[DEBUG]	Load a row
2023-10-13	12:43:40	1312	[DEBUG]	Processing item: A_4557_1
2023-10-13	12:43:40	1312	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:40	1312	[DEBUG]	Processing product tax
2023-10-13	12:43:40	1312	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:40	1312	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:40	1312	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:40	1312	[DEBUG]	Query for Product
2023-10-13	12:43:40	1312	[DEBUG]	Executed store
2023-10-13	12:43:40	1312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4557_1','0.25','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:40	1312	[DEBUG]	Check product language entry
2023-10-13	12:43:40	1312	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860804
2023-10-13	12:43:40	1312	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:40	1312	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4557_1' AND `virtuemart_product_id` != 1860804
2023-10-13	12:43:40	1312	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:40	1312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860804, 'A_4557_1')
2023-10-13	12:43:40	1312	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:40	1312	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-27-5-x-2-20-2-50-presta-40-mm-epaisseur-0-9-mm-noir' AND `virtuemart_product_id` != 1860804
2023-10-13	12:43:40	1312	[DEBUG]	Query for ProductLang
2023-10-13	12:43:40	1312	[DEBUG]	Executed store
2023-10-13	12:43:40	1312	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='27.5 X 2.20/2.50 PRESTA 40 MM, EPAISSEUR 0.9 MM<br><br>N° art fourn : TU275235250FV4',`product_name`='MSC Chambre-à-air 27.5 X 2.20/2.50 PRESTA 40 MM, EPAISSEUR 0.9 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-27-5-x-2-20-2-50-presta-40-mm-epaisseur-0-9-mm-noir' WHERE `virtuemart_product_id` = '1860804'
2023-10-13	12:43:40	1312	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27238_chambre-a-air_msc_27_5_x_2_20-2_50_presta_40_mm_0_9_mm.jpg
2023-10-13	12:43:40	1312	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:40	1312	[DEBUG]	Process image file
2023-10-13	12:43:40	1312	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:40	1312	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:40	1312	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27238_chambre-a-air_msc_27_5_x_2_20-2_50_presta_40_mm_0_9_mm.jpg
2023-10-13	12:43:40	1312	[DEBUG]	Full name target: bcprisme/27238_chambre-a-air_msc_27_5_x_2_20-2_50_presta_40_mm_0_9_mm.jpg
2023-10-13	12:43:41	1312	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:41	1312	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27238_chambre-a-air_msc_27_5_x_2_20-2_50_presta_40_mm_0_9_mm.jpg'
2023-10-13	12:43:41	1312	[DEBUG]	Query for Media
2023-10-13	12:43:41	1312	[DEBUG]	Executed store
2023-10-13	12:43:41	1312	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27238_chambre-a-air_msc_27_5_x_2_20-2_50_presta_40_mm_0_9_mm.jpg',`file_url_thumb`='bcprisme/27238_chambre-a-air_msc_27_5_x_2_20-2_50_presta_40_mm_0_9_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12619'
2023-10-13	12:43:41	1312	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:41	1312	[DEBUG]	Executed store
2023-10-13	12:43:41	1312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860804','12619','1')
2023-10-13	12:43:41	1312	[DEBUG]	Store product image relation
2023-10-13	12:43:41	1312	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:41	1312	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860804 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:41	1312	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:41	1312	[DEBUG]	Executed store
2023-10-13	12:43:41	1312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860804','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:41	1312	[DEBUG]	Checking manufacturer
2023-10-13	12:43:41	1312	[DEBUG]	Load a row
2023-10-13	12:43:41	1312	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:41	1312	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:41	1312	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:41	1312	[DEBUG]	Executed store
2023-10-13	12:43:41	1312	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:41	1312	[DEBUG]	Manufacturer exists
2023-10-13	12:43:41	1312	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:41	1312	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:41	1312	[DEBUG]	Executed store
2023-10-13	12:43:41	1312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860804','32')
2023-10-13	12:43:41	1312	[DEBUG]	Find the custom field ID
2023-10-13	12:43:41	1312	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:41	1312	[DEBUG]	No custom field ID found
2023-10-13	12:43:41	1312	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:41	1312	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:43:41	1312	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860804 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:41	1312	[DEBUG]	Store custom available field
2023-10-13	12:43:41	1312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860804,3,'9.8725',1)
2023-10-13	12:43:41	1312	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:41	1312	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:41	1312	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860804 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:41	1312	[DEBUG]	Store custom available field
2023-10-13	12:43:41	1312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860804,6,'choisir la taille',3)
2023-10-13	12:43:41	1312	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:41	1312	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:41	1312	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:41	1312	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:41	1312	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860804 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:41	1312	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:41	1312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860804,8,1)
2023-10-13	12:43:41	1312	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:41	1312	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860804\":[1860804,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860804
2023-10-13	12:43:41	1312	[DEBUG]	Checking category
2023-10-13	12:43:41	1312	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:41	1312	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860804
2023-10-13	12:43:41	1312	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:41	1312	[DEBUG]	Executed store
2023-10-13	12:43:41	1312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860804','7299')
2023-10-13	12:43:41	1312	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:41	1312	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860804 AND `virtuemart_category_id` NOT IN (7299)
2023-10-13	12:43:41	1312	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:41	1312	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860804
2023-10-13	12:43:41	1313	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:41	1313	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:41	1313	[DEBUG]	Use field value for field taille
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:41	1313	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:41	1313	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:41	1313	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:41	1313	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:41	1313	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:41	1313	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:41	1313	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:41	1313	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:41	1313	[DEBUG]	Use field value for field published
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:41	1313	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field override
2023-10-13	12:43:41	1313	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:41	1313	[DEBUG]	Use field value for field slug
2023-10-13	12:43:41	1313	[DEBUG]	Process line 1313
2023-10-13	12:43:41	1313	[DEBUG]	Load a row
2023-10-13	12:43:41	1313	[DEBUG]	Processing item: 8435466213992
2023-10-13	12:43:41	1313	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:41	1313	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:41	1313	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4557_1'
2023-10-13	12:43:41	1313	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:41	1313	[DEBUG]	Processing product tax
2023-10-13	12:43:41	1313	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:41	1313	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:41	1313	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:41	1313	[DEBUG]	Query for Product
2023-10-13	12:43:41	1313	[DEBUG]	Executed store
2023-10-13	12:43:41	1313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860804','8435466213992','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:41	1313	[DEBUG]	No parent found
2023-10-13	12:43:41	1313	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860804 AND customfield_value = 'stockable'
2023-10-13	12:43:41	1313	[DEBUG]	Check product language entry
2023-10-13	12:43:41	1313	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860805
2023-10-13	12:43:41	1313	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:41	1313	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213992' AND `virtuemart_product_id` != 1860805
2023-10-13	12:43:41	1313	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:41	1313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860805, '8435466213992')
2023-10-13	12:43:41	1313	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:41	1313	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-27-5-x-2-20-2-50-presta-40-mm-epaisseur-0-9-mm-noir-unitaire' AND `virtuemart_product_id` != 1860805
2023-10-13	12:43:41	1313	[DEBUG]	Query for ProductLang
2023-10-13	12:43:41	1313	[DEBUG]	Executed store
2023-10-13	12:43:41	1313	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 27.5 X 2.20/2.50 PRESTA 40 MM, EPAISSEUR 0.9 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-27-5-x-2-20-2-50-presta-40-mm-epaisseur-0-9-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860805'
2023-10-13	12:43:41	1313	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27238_chambre-a-air_msc_27_5_x_2_20-2_50_presta_40_mm_0_9_mm.jpg
2023-10-13	12:43:41	1313	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:41	1313	[DEBUG]	Process image file
2023-10-13	12:43:41	1313	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:41	1313	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:41	1313	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27238_chambre-a-air_msc_27_5_x_2_20-2_50_presta_40_mm_0_9_mm.jpg
2023-10-13	12:43:41	1313	[DEBUG]	Full name target: bcprisme/27238_chambre-a-air_msc_27_5_x_2_20-2_50_presta_40_mm_0_9_mm.jpg
2023-10-13	12:43:42	1313	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:42	1313	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27238_chambre-a-air_msc_27_5_x_2_20-2_50_presta_40_mm_0_9_mm.jpg'
2023-10-13	12:43:42	1313	[DEBUG]	Query for Media
2023-10-13	12:43:42	1313	[DEBUG]	Executed store
2023-10-13	12:43:42	1313	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27238_chambre-a-air_msc_27_5_x_2_20-2_50_presta_40_mm_0_9_mm.jpg',`file_url_thumb`='bcprisme/27238_chambre-a-air_msc_27_5_x_2_20-2_50_presta_40_mm_0_9_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12619'
2023-10-13	12:43:42	1313	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:42	1313	[DEBUG]	Executed store
2023-10-13	12:43:42	1313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860805','12619','1')
2023-10-13	12:43:42	1313	[DEBUG]	Store product image relation
2023-10-13	12:43:42	1313	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:42	1313	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860805 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:42	1313	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:42	1313	[DEBUG]	Executed store
2023-10-13	12:43:42	1313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860805','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:42	1313	[DEBUG]	Checking manufacturer
2023-10-13	12:43:42	1313	[DEBUG]	Load a row
2023-10-13	12:43:42	1313	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:42	1313	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:42	1313	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:42	1313	[DEBUG]	Executed store
2023-10-13	12:43:42	1313	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:42	1313	[DEBUG]	Manufacturer exists
2023-10-13	12:43:42	1313	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:42	1313	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:42	1313	[DEBUG]	Executed store
2023-10-13	12:43:42	1313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860805','32')
2023-10-13	12:43:42	1313	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:42	1313	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:42	1313	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860805 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:42	1313	[DEBUG]	Store custom available field
2023-10-13	12:43:42	1313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860805,3,'',1)
2023-10-13	12:43:42	1313	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:42	1313	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:42	1313	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860805 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:42	1313	[DEBUG]	Store custom available field
2023-10-13	12:43:42	1313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860805,6,'Unitaire',3)
2023-10-13	12:43:42	1313	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:42	1313	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:42	1313	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860804
2023-10-13	12:43:42	1313	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:42	1313	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860804\":[1860804,8,1,\"choisir la taille\"],\"1860805\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860804
2023-10-13	12:43:42	1313	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:42	1313	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860805
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:42	1314	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field taille
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:42	1314	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:42	1314	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:42	1314	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:42	1314	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:42	1314	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:42	1314	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field published
2023-10-13	12:43:42	1314	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:42	1314	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field override
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:42	1314	[DEBUG]	Use field value for field slug
2023-10-13	12:43:42	1314	[DEBUG]	Process line 1314
2023-10-13	12:43:42	1314	[DEBUG]	Load a row
2023-10-13	12:43:42	1314	[DEBUG]	Processing item: A_4558_1
2023-10-13	12:43:42	1314	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:42	1314	[DEBUG]	Processing product tax
2023-10-13	12:43:42	1314	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:42	1314	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:42	1314	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:42	1314	[DEBUG]	Query for Product
2023-10-13	12:43:42	1314	[DEBUG]	Executed store
2023-10-13	12:43:42	1314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4558_1','0.25','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:42	1314	[DEBUG]	Check product language entry
2023-10-13	12:43:42	1314	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860806
2023-10-13	12:43:42	1314	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:42	1314	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4558_1' AND `virtuemart_product_id` != 1860806
2023-10-13	12:43:42	1314	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:42	1314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860806, 'A_4558_1')
2023-10-13	12:43:42	1314	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:42	1314	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-27-5-x-2-20-2-50-schrader-epaisseur-0-9-mm-noir' AND `virtuemart_product_id` != 1860806
2023-10-13	12:43:42	1314	[DEBUG]	Query for ProductLang
2023-10-13	12:43:42	1314	[DEBUG]	Executed store
2023-10-13	12:43:42	1314	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='27.5 X 2.20/2.50 SCHRADER, EPAISSEUR 0.9 MM<br><br>N° art fourn : TU275235250SV',`product_name`='MSC Chambre-à-air 27.5 X 2.20/2.50 SCHRADER, EPAISSEUR 0.9 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-27-5-x-2-20-2-50-schrader-epaisseur-0-9-mm-noir' WHERE `virtuemart_product_id` = '1860806'
2023-10-13	12:43:42	1314	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27239_chambre-a-air_msc_27_5_x_2_20-2_50_schrader_0_9_mm_.jpg
2023-10-13	12:43:42	1314	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:43:42	1314	[DEBUG]	Process image file
2023-10-13	12:43:42	1314	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:43:42	1314	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:42	1314	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27239_chambre-a-air_msc_27_5_x_2_20-2_50_schrader_0_9_mm_.jpg
2023-10-13	12:43:42	1314	[DEBUG]	Full name target: bcprisme/27239_chambre-a-air_msc_27_5_x_2_20-2_50_schrader_0_9_mm_.jpg
2023-10-13	12:43:43	1314	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:43	1314	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27239_chambre-a-air_msc_27_5_x_2_20-2_50_schrader_0_9_mm_.jpg'
2023-10-13	12:43:43	1314	[DEBUG]	Query for Media
2023-10-13	12:43:43	1314	[DEBUG]	Executed store
2023-10-13	12:43:43	1314	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27239_chambre-a-air_msc_27_5_x_2_20-2_50_schrader_0_9_mm_.jpg',`file_url_thumb`='bcprisme/27239_chambre-a-air_msc_27_5_x_2_20-2_50_schrader_0_9_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12620'
2023-10-13	12:43:43	1314	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:43	1314	[DEBUG]	Executed store
2023-10-13	12:43:43	1314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860806','12620','1')
2023-10-13	12:43:43	1314	[DEBUG]	Store product image relation
2023-10-13	12:43:43	1314	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:43	1314	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860806 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:43	1314	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:43	1314	[DEBUG]	Executed store
2023-10-13	12:43:43	1314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860806','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:43	1314	[DEBUG]	Checking manufacturer
2023-10-13	12:43:43	1314	[DEBUG]	Load a row
2023-10-13	12:43:43	1314	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:43	1314	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:43	1314	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:43	1314	[DEBUG]	Executed store
2023-10-13	12:43:43	1314	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:43	1314	[DEBUG]	Manufacturer exists
2023-10-13	12:43:43	1314	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:43	1314	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:43	1314	[DEBUG]	Executed store
2023-10-13	12:43:43	1314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860806','32')
2023-10-13	12:43:43	1314	[DEBUG]	Find the custom field ID
2023-10-13	12:43:43	1314	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:43	1314	[DEBUG]	No custom field ID found
2023-10-13	12:43:43	1314	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:43	1314	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:43:43	1314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860806 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:43	1314	[DEBUG]	Store custom available field
2023-10-13	12:43:43	1314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860806,3,'9.8725',1)
2023-10-13	12:43:43	1314	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:43	1314	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:43	1314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860806 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:43	1314	[DEBUG]	Store custom available field
2023-10-13	12:43:43	1314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860806,6,'choisir la taille',3)
2023-10-13	12:43:43	1314	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:43	1314	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:43	1314	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:43	1314	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:43	1314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860806 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:43	1314	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:43	1314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860806,8,1)
2023-10-13	12:43:43	1314	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:43	1314	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860806\":[1860806,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860806
2023-10-13	12:43:43	1314	[DEBUG]	Checking category
2023-10-13	12:43:43	1314	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:43	1314	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860806
2023-10-13	12:43:43	1314	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:43	1314	[DEBUG]	Executed store
2023-10-13	12:43:43	1314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860806','7299')
2023-10-13	12:43:43	1314	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:43	1314	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860806 AND `virtuemart_category_id` NOT IN (7299)
2023-10-13	12:43:43	1314	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:43	1314	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860806
2023-10-13	12:43:43	1315	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:43	1315	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:43	1315	[DEBUG]	Use field value for field taille
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:43	1315	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:43	1315	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:43	1315	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:43	1315	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:43	1315	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:43	1315	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:43	1315	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:43	1315	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:43	1315	[DEBUG]	Use field value for field published
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:43	1315	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field override
2023-10-13	12:43:43	1315	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:43	1315	[DEBUG]	Use field value for field slug
2023-10-13	12:43:43	1315	[DEBUG]	Process line 1315
2023-10-13	12:43:43	1315	[DEBUG]	Load a row
2023-10-13	12:43:43	1315	[DEBUG]	Processing item: 8435466214005
2023-10-13	12:43:43	1315	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:43	1315	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:43	1315	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4558_1'
2023-10-13	12:43:43	1315	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:43	1315	[DEBUG]	Processing product tax
2023-10-13	12:43:43	1315	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:43	1315	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:43	1315	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:43	1315	[DEBUG]	Query for Product
2023-10-13	12:43:43	1315	[DEBUG]	Executed store
2023-10-13	12:43:43	1315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860806','8435466214005','0','KG','M','','89','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:43	1315	[DEBUG]	No parent found
2023-10-13	12:43:43	1315	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860806 AND customfield_value = 'stockable'
2023-10-13	12:43:43	1315	[DEBUG]	Check product language entry
2023-10-13	12:43:43	1315	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860807
2023-10-13	12:43:43	1315	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:43	1315	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214005' AND `virtuemart_product_id` != 1860807
2023-10-13	12:43:43	1315	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:43	1315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860807, '8435466214005')
2023-10-13	12:43:43	1315	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:43	1315	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-27-5-x-2-20-2-50-schrader-epaisseur-0-9-mm-noir-unitaire' AND `virtuemart_product_id` != 1860807
2023-10-13	12:43:43	1315	[DEBUG]	Query for ProductLang
2023-10-13	12:43:43	1315	[DEBUG]	Executed store
2023-10-13	12:43:43	1315	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 27.5 X 2.20/2.50 SCHRADER, EPAISSEUR 0.9 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-27-5-x-2-20-2-50-schrader-epaisseur-0-9-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860807'
2023-10-13	12:43:43	1315	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27239_chambre-a-air_msc_27_5_x_2_20-2_50_schrader_0_9_mm_.jpg
2023-10-13	12:43:43	1315	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:43:43	1315	[DEBUG]	Process image file
2023-10-13	12:43:43	1315	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:43:43	1315	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:43	1315	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27239_chambre-a-air_msc_27_5_x_2_20-2_50_schrader_0_9_mm_.jpg
2023-10-13	12:43:43	1315	[DEBUG]	Full name target: bcprisme/27239_chambre-a-air_msc_27_5_x_2_20-2_50_schrader_0_9_mm_.jpg
2023-10-13	12:43:45	1315	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:45	1315	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27239_chambre-a-air_msc_27_5_x_2_20-2_50_schrader_0_9_mm_.jpg'
2023-10-13	12:43:45	1315	[DEBUG]	Query for Media
2023-10-13	12:43:45	1315	[DEBUG]	Executed store
2023-10-13	12:43:45	1315	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27239_chambre-a-air_msc_27_5_x_2_20-2_50_schrader_0_9_mm_.jpg',`file_url_thumb`='bcprisme/27239_chambre-a-air_msc_27_5_x_2_20-2_50_schrader_0_9_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12620'
2023-10-13	12:43:45	1315	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:45	1315	[DEBUG]	Executed store
2023-10-13	12:43:45	1315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860807','12620','1')
2023-10-13	12:43:45	1315	[DEBUG]	Store product image relation
2023-10-13	12:43:45	1315	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:45	1315	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860807 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:45	1315	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:45	1315	[DEBUG]	Executed store
2023-10-13	12:43:45	1315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860807','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:45	1315	[DEBUG]	Checking manufacturer
2023-10-13	12:43:45	1315	[DEBUG]	Load a row
2023-10-13	12:43:45	1315	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:45	1315	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:45	1315	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:45	1315	[DEBUG]	Executed store
2023-10-13	12:43:45	1315	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:45	1315	[DEBUG]	Manufacturer exists
2023-10-13	12:43:45	1315	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:45	1315	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:45	1315	[DEBUG]	Executed store
2023-10-13	12:43:45	1315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860807','32')
2023-10-13	12:43:45	1315	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:45	1315	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:45	1315	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860807 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:45	1315	[DEBUG]	Store custom available field
2023-10-13	12:43:45	1315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860807,3,'',1)
2023-10-13	12:43:45	1315	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:45	1315	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:45	1315	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860807 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:45	1315	[DEBUG]	Store custom available field
2023-10-13	12:43:45	1315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860807,6,'Unitaire',3)
2023-10-13	12:43:45	1315	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:45	1315	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:45	1315	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860806
2023-10-13	12:43:45	1315	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:45	1315	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860806\":[1860806,8,1,\"choisir la taille\"],\"1860807\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860806
2023-10-13	12:43:45	1315	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:45	1315	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860807
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:45	1316	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field taille
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:45	1316	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:45	1316	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:45	1316	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:45	1316	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:45	1316	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:45	1316	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field published
2023-10-13	12:43:45	1316	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:45	1316	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field override
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:45	1316	[DEBUG]	Use field value for field slug
2023-10-13	12:43:45	1316	[DEBUG]	Process line 1316
2023-10-13	12:43:45	1316	[DEBUG]	Load a row
2023-10-13	12:43:45	1316	[DEBUG]	Processing item: A_4559_1
2023-10-13	12:43:45	1316	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:45	1316	[DEBUG]	Processing product tax
2023-10-13	12:43:45	1316	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:45	1316	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:45	1316	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:45	1316	[DEBUG]	Query for Product
2023-10-13	12:43:45	1316	[DEBUG]	Executed store
2023-10-13	12:43:45	1316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4559_1','0.25','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:45	1316	[DEBUG]	Check product language entry
2023-10-13	12:43:45	1316	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860808
2023-10-13	12:43:45	1316	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:45	1316	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4559_1' AND `virtuemart_product_id` != 1860808
2023-10-13	12:43:45	1316	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:45	1316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860808, 'A_4559_1')
2023-10-13	12:43:45	1316	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:45	1316	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-27-5-x-2-50-3-30-presta-40-mm-epaisseur-0-9-mm-noir' AND `virtuemart_product_id` != 1860808
2023-10-13	12:43:45	1316	[DEBUG]	Query for ProductLang
2023-10-13	12:43:45	1316	[DEBUG]	Executed store
2023-10-13	12:43:45	1316	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='27.5 X 2.75/3.25 PRESTA 40 MM, EPAISSEUR 0.9 MM<br><br>N° art fourn : TU275275325FV4',`product_name`='MSC Chambre-à-air 27.5 X 2.50/3.30 PRESTA 40 MM, EPAISSEUR 0.9 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-27-5-x-2-50-3-30-presta-40-mm-epaisseur-0-9-mm-noir' WHERE `virtuemart_product_id` = '1860808'
2023-10-13	12:43:45	1316	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27240_chambre-a-air_msc_27_5_x_2_50-3_00_presta_40_mm_0_9_mm_.jpg
2023-10-13	12:43:45	1316	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:45	1316	[DEBUG]	Process image file
2023-10-13	12:43:45	1316	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:45	1316	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:45	1316	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27240_chambre-a-air_msc_27_5_x_2_50-3_00_presta_40_mm_0_9_mm_.jpg
2023-10-13	12:43:45	1316	[DEBUG]	Full name target: bcprisme/27240_chambre-a-air_msc_27_5_x_2_50-3_00_presta_40_mm_0_9_mm_.jpg
2023-10-13	12:43:46	1316	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:46	1316	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27240_chambre-a-air_msc_27_5_x_2_50-3_00_presta_40_mm_0_9_mm_.jpg'
2023-10-13	12:43:46	1316	[DEBUG]	Query for Media
2023-10-13	12:43:46	1316	[DEBUG]	Executed store
2023-10-13	12:43:46	1316	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27240_chambre-a-air_msc_27_5_x_2_50-3_00_presta_40_mm_0_9_mm_.jpg',`file_url_thumb`='bcprisme/27240_chambre-a-air_msc_27_5_x_2_50-3_00_presta_40_mm_0_9_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12621'
2023-10-13	12:43:46	1316	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:46	1316	[DEBUG]	Executed store
2023-10-13	12:43:46	1316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860808','12621','1')
2023-10-13	12:43:46	1316	[DEBUG]	Store product image relation
2023-10-13	12:43:46	1316	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:46	1316	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860808 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:46	1316	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:46	1316	[DEBUG]	Executed store
2023-10-13	12:43:46	1316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860808','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:46	1316	[DEBUG]	Checking manufacturer
2023-10-13	12:43:46	1316	[DEBUG]	Load a row
2023-10-13	12:43:46	1316	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:46	1316	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:46	1316	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:46	1316	[DEBUG]	Executed store
2023-10-13	12:43:46	1316	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:46	1316	[DEBUG]	Manufacturer exists
2023-10-13	12:43:46	1316	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:46	1316	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:46	1316	[DEBUG]	Executed store
2023-10-13	12:43:46	1316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860808','32')
2023-10-13	12:43:46	1316	[DEBUG]	Find the custom field ID
2023-10-13	12:43:46	1316	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:46	1316	[DEBUG]	No custom field ID found
2023-10-13	12:43:46	1316	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:46	1316	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:43:46	1316	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860808 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:46	1316	[DEBUG]	Store custom available field
2023-10-13	12:43:46	1316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860808,3,'12.8641666666667',1)
2023-10-13	12:43:46	1316	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:46	1316	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:46	1316	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860808 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:46	1316	[DEBUG]	Store custom available field
2023-10-13	12:43:46	1316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860808,6,'choisir la taille',3)
2023-10-13	12:43:46	1316	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:46	1316	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:46	1316	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:46	1316	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:46	1316	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860808 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:46	1316	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:46	1316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860808,8,1)
2023-10-13	12:43:46	1316	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:46	1316	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860808\":[1860808,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860808
2023-10-13	12:43:46	1316	[DEBUG]	Checking category
2023-10-13	12:43:46	1316	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:46	1316	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860808
2023-10-13	12:43:46	1316	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:46	1316	[DEBUG]	Executed store
2023-10-13	12:43:46	1316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860808','7299')
2023-10-13	12:43:46	1316	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:46	1316	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860808 AND `virtuemart_category_id` NOT IN (7299)
2023-10-13	12:43:46	1316	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:46	1316	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860808
2023-10-13	12:43:46	1317	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:46	1317	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:46	1317	[DEBUG]	Use field value for field taille
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:46	1317	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:46	1317	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:46	1317	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:46	1317	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:46	1317	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:46	1317	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:46	1317	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:46	1317	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:46	1317	[DEBUG]	Use field value for field published
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:46	1317	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field override
2023-10-13	12:43:46	1317	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:46	1317	[DEBUG]	Use field value for field slug
2023-10-13	12:43:46	1317	[DEBUG]	Process line 1317
2023-10-13	12:43:46	1317	[DEBUG]	Load a row
2023-10-13	12:43:46	1317	[DEBUG]	Processing item: 8435466214012
2023-10-13	12:43:46	1317	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:46	1317	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:46	1317	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4559_1'
2023-10-13	12:43:46	1317	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:46	1317	[DEBUG]	Processing product tax
2023-10-13	12:43:46	1317	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:46	1317	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:46	1317	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:46	1317	[DEBUG]	Query for Product
2023-10-13	12:43:46	1317	[DEBUG]	Executed store
2023-10-13	12:43:46	1317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860808','8435466214012','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:46	1317	[DEBUG]	No parent found
2023-10-13	12:43:46	1317	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860808 AND customfield_value = 'stockable'
2023-10-13	12:43:46	1317	[DEBUG]	Check product language entry
2023-10-13	12:43:46	1317	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860809
2023-10-13	12:43:46	1317	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:46	1317	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214012' AND `virtuemart_product_id` != 1860809
2023-10-13	12:43:46	1317	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:46	1317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860809, '8435466214012')
2023-10-13	12:43:46	1317	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:46	1317	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-27-5-x-2-50-3-30-presta-40-mm-epaisseur-0-9-mm-noir-unitaire' AND `virtuemart_product_id` != 1860809
2023-10-13	12:43:46	1317	[DEBUG]	Query for ProductLang
2023-10-13	12:43:46	1317	[DEBUG]	Executed store
2023-10-13	12:43:46	1317	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 27.5 X 2.50/3.30 PRESTA 40 MM, EPAISSEUR 0.9 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-27-5-x-2-50-3-30-presta-40-mm-epaisseur-0-9-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860809'
2023-10-13	12:43:46	1317	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27240_chambre-a-air_msc_27_5_x_2_50-3_00_presta_40_mm_0_9_mm_.jpg
2023-10-13	12:43:46	1317	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:46	1317	[DEBUG]	Process image file
2023-10-13	12:43:46	1317	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:46	1317	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:46	1317	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27240_chambre-a-air_msc_27_5_x_2_50-3_00_presta_40_mm_0_9_mm_.jpg
2023-10-13	12:43:46	1317	[DEBUG]	Full name target: bcprisme/27240_chambre-a-air_msc_27_5_x_2_50-3_00_presta_40_mm_0_9_mm_.jpg
2023-10-13	12:43:47	1317	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:47	1317	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27240_chambre-a-air_msc_27_5_x_2_50-3_00_presta_40_mm_0_9_mm_.jpg'
2023-10-13	12:43:47	1317	[DEBUG]	Query for Media
2023-10-13	12:43:47	1317	[DEBUG]	Executed store
2023-10-13	12:43:47	1317	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27240_chambre-a-air_msc_27_5_x_2_50-3_00_presta_40_mm_0_9_mm_.jpg',`file_url_thumb`='bcprisme/27240_chambre-a-air_msc_27_5_x_2_50-3_00_presta_40_mm_0_9_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12621'
2023-10-13	12:43:47	1317	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:47	1317	[DEBUG]	Executed store
2023-10-13	12:43:47	1317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860809','12621','1')
2023-10-13	12:43:47	1317	[DEBUG]	Store product image relation
2023-10-13	12:43:47	1317	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:47	1317	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860809 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:47	1317	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:47	1317	[DEBUG]	Executed store
2023-10-13	12:43:47	1317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860809','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:47	1317	[DEBUG]	Checking manufacturer
2023-10-13	12:43:47	1317	[DEBUG]	Load a row
2023-10-13	12:43:47	1317	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:47	1317	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:47	1317	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:47	1317	[DEBUG]	Executed store
2023-10-13	12:43:47	1317	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:47	1317	[DEBUG]	Manufacturer exists
2023-10-13	12:43:47	1317	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:47	1317	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:47	1317	[DEBUG]	Executed store
2023-10-13	12:43:47	1317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860809','32')
2023-10-13	12:43:47	1317	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:47	1317	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:47	1317	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860809 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:47	1317	[DEBUG]	Store custom available field
2023-10-13	12:43:47	1317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860809,3,'',1)
2023-10-13	12:43:47	1317	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:47	1317	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:47	1317	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860809 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:47	1317	[DEBUG]	Store custom available field
2023-10-13	12:43:47	1317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860809,6,'Unitaire',3)
2023-10-13	12:43:47	1317	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:47	1317	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:47	1317	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860808
2023-10-13	12:43:47	1317	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:47	1317	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860808\":[1860808,8,1,\"choisir la taille\"],\"1860809\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860808
2023-10-13	12:43:47	1317	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:47	1317	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860809
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:47	1318	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field taille
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:47	1318	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:47	1318	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:47	1318	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:47	1318	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:47	1318	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:47	1318	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:47	1318	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field published
2023-10-13	12:43:47	1318	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:47	1318	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field override
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:47	1318	[DEBUG]	Use field value for field slug
2023-10-13	12:43:47	1318	[DEBUG]	Process line 1318
2023-10-13	12:43:47	1318	[DEBUG]	Load a row
2023-10-13	12:43:47	1318	[DEBUG]	Processing item: A_4946_3
2023-10-13	12:43:47	1318	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:47	1318	[DEBUG]	Processing product tax
2023-10-13	12:43:47	1318	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:47	1318	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:47	1318	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:47	1318	[DEBUG]	Query for Product
2023-10-13	12:43:47	1318	[DEBUG]	Executed store
2023-10-13	12:43:47	1318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4946_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:47	1318	[DEBUG]	Check product language entry
2023-10-13	12:43:47	1318	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860810
2023-10-13	12:43:47	1318	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:47	1318	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4946_3' AND `virtuemart_product_id` != 1860810
2023-10-13	12:43:47	1318	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:47	1318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860810, 'A_4946_3')
2023-10-13	12:43:47	1318	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:47	1318	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-27-5-av21-none' AND `virtuemart_product_id` != 1860810
2023-10-13	12:43:47	1318	[DEBUG]	Query for ProductLang
2023-10-13	12:43:47	1318	[DEBUG]	Executed store
2023-10-13	12:43:47	1318	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.098',`product_name`='SCHWALBE Chambre-à-air 27.5 AV21 / None&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-27-5-av21-none' WHERE `virtuemart_product_id` = '1860810'
2023-10-13	12:43:47	1318	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28817_chambres-a-air_schwalbe_27_5__av21.jpg
2023-10-13	12:43:47	1318	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:47	1318	[DEBUG]	Process image file
2023-10-13	12:43:47	1318	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:47	1318	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:47	1318	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28817_chambres-a-air_schwalbe_27_5__av21.jpg
2023-10-13	12:43:47	1318	[DEBUG]	Full name target: bcprisme/28817_chambres-a-air_schwalbe_27_5__av21.jpg
2023-10-13	12:43:48	1318	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:48	1318	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28817_chambres-a-air_schwalbe_27_5__av21.jpg'
2023-10-13	12:43:48	1318	[DEBUG]	Query for Media
2023-10-13	12:43:48	1318	[DEBUG]	Executed store
2023-10-13	12:43:48	1318	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28817_chambres-a-air_schwalbe_27_5__av21.jpg',`file_url_thumb`='bcprisme/28817_chambres-a-air_schwalbe_27_5__av21.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12622'
2023-10-13	12:43:48	1318	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:48	1318	[DEBUG]	Executed store
2023-10-13	12:43:48	1318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860810','12622','1')
2023-10-13	12:43:48	1318	[DEBUG]	Store product image relation
2023-10-13	12:43:48	1318	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:48	1318	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860810 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:48	1318	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:48	1318	[DEBUG]	Executed store
2023-10-13	12:43:48	1318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860810','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:48	1318	[DEBUG]	Checking manufacturer
2023-10-13	12:43:48	1318	[DEBUG]	Load a row
2023-10-13	12:43:48	1318	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:48	1318	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:48	1318	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:48	1318	[DEBUG]	Executed store
2023-10-13	12:43:48	1318	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:48	1318	[DEBUG]	Manufacturer exists
2023-10-13	12:43:48	1318	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:43:48	1318	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:48	1318	[DEBUG]	Executed store
2023-10-13	12:43:48	1318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860810','25')
2023-10-13	12:43:48	1318	[DEBUG]	Find the custom field ID
2023-10-13	12:43:48	1318	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:48	1318	[DEBUG]	No custom field ID found
2023-10-13	12:43:48	1318	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:48	1318	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:43:48	1318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860810 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:48	1318	[DEBUG]	Store custom available field
2023-10-13	12:43:48	1318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860810,3,'0',1)
2023-10-13	12:43:48	1318	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:48	1318	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:48	1318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860810 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:48	1318	[DEBUG]	Store custom available field
2023-10-13	12:43:48	1318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860810,6,'choisir la taille',3)
2023-10-13	12:43:48	1318	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:48	1318	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:48	1318	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:48	1318	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:48	1318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860810 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:48	1318	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:48	1318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860810,8,1)
2023-10-13	12:43:48	1318	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:48	1318	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860810\":[1860810,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860810
2023-10-13	12:43:48	1318	[DEBUG]	Checking category
2023-10-13	12:43:48	1318	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:48	1318	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860810
2023-10-13	12:43:48	1318	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:48	1318	[DEBUG]	Executed store
2023-10-13	12:43:48	1318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860810','7299')
2023-10-13	12:43:48	1318	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:48	1318	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860810 AND `virtuemart_category_id` NOT IN (7299)
2023-10-13	12:43:48	1318	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:48	1318	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860810
2023-10-13	12:43:48	1319	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:48	1319	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:48	1319	[DEBUG]	Use field value for field taille
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:48	1319	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:48	1319	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:48	1319	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:48	1319	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:48	1319	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:48	1319	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:48	1319	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:48	1319	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:48	1319	[DEBUG]	Use field value for field published
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:48	1319	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field override
2023-10-13	12:43:48	1319	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:48	1319	[DEBUG]	Use field value for field slug
2023-10-13	12:43:48	1319	[DEBUG]	Process line 1319
2023-10-13	12:43:48	1319	[DEBUG]	Load a row
2023-10-13	12:43:48	1319	[DEBUG]	Processing item: 4026495748254
2023-10-13	12:43:48	1319	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:48	1319	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:48	1319	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4946_3'
2023-10-13	12:43:48	1319	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:48	1319	[DEBUG]	Processing product tax
2023-10-13	12:43:48	1319	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:48	1319	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:48	1319	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:48	1319	[DEBUG]	Query for Product
2023-10-13	12:43:48	1319	[DEBUG]	Executed store
2023-10-13	12:43:48	1319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860810','4026495748254','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:48	1319	[DEBUG]	No parent found
2023-10-13	12:43:48	1319	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860810 AND customfield_value = 'stockable'
2023-10-13	12:43:48	1319	[DEBUG]	Check product language entry
2023-10-13	12:43:48	1319	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860811
2023-10-13	12:43:48	1319	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:48	1319	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495748254' AND `virtuemart_product_id` != 1860811
2023-10-13	12:43:48	1319	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:48	1319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860811, '4026495748254')
2023-10-13	12:43:48	1319	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:48	1319	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-27-5-av21-none-unitaire' AND `virtuemart_product_id` != 1860811
2023-10-13	12:43:48	1319	[DEBUG]	Query for ProductLang
2023-10-13	12:43:48	1319	[DEBUG]	Executed store
2023-10-13	12:43:48	1319	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 27.5 AV21 / None (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-27-5-av21-none-unitaire' WHERE `virtuemart_product_id` = '1860811'
2023-10-13	12:43:48	1319	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28817_chambres-a-air_schwalbe_27_5__av21.jpg
2023-10-13	12:43:48	1319	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:48	1319	[DEBUG]	Process image file
2023-10-13	12:43:48	1319	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:48	1319	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:48	1319	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28817_chambres-a-air_schwalbe_27_5__av21.jpg
2023-10-13	12:43:48	1319	[DEBUG]	Full name target: bcprisme/28817_chambres-a-air_schwalbe_27_5__av21.jpg
2023-10-13	12:43:49	1319	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:49	1319	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28817_chambres-a-air_schwalbe_27_5__av21.jpg'
2023-10-13	12:43:49	1319	[DEBUG]	Query for Media
2023-10-13	12:43:49	1319	[DEBUG]	Executed store
2023-10-13	12:43:49	1319	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28817_chambres-a-air_schwalbe_27_5__av21.jpg',`file_url_thumb`='bcprisme/28817_chambres-a-air_schwalbe_27_5__av21.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12622'
2023-10-13	12:43:49	1319	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:49	1319	[DEBUG]	Executed store
2023-10-13	12:43:49	1319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860811','12622','1')
2023-10-13	12:43:49	1319	[DEBUG]	Store product image relation
2023-10-13	12:43:49	1319	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:49	1319	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860811 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:49	1319	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:49	1319	[DEBUG]	Executed store
2023-10-13	12:43:49	1319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860811','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:49	1319	[DEBUG]	Checking manufacturer
2023-10-13	12:43:49	1319	[DEBUG]	Load a row
2023-10-13	12:43:49	1319	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:49	1319	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:49	1319	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:49	1319	[DEBUG]	Executed store
2023-10-13	12:43:49	1319	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:49	1319	[DEBUG]	Manufacturer exists
2023-10-13	12:43:49	1319	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:43:49	1319	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:49	1319	[DEBUG]	Executed store
2023-10-13	12:43:49	1319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860811','25')
2023-10-13	12:43:49	1319	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:49	1319	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:49	1319	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860811 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:49	1319	[DEBUG]	Store custom available field
2023-10-13	12:43:49	1319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860811,3,'',1)
2023-10-13	12:43:49	1319	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:49	1319	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:49	1319	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860811 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:49	1319	[DEBUG]	Store custom available field
2023-10-13	12:43:49	1319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860811,6,'Unitaire',3)
2023-10-13	12:43:49	1319	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:49	1319	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:49	1319	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860810
2023-10-13	12:43:49	1319	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:49	1319	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860810\":[1860810,8,1,\"choisir la taille\"],\"1860811\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860810
2023-10-13	12:43:49	1319	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:49	1319	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860811
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:49	1320	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field taille
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:49	1320	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:49	1320	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:49	1320	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:49	1320	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:49	1320	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:49	1320	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:49	1320	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field published
2023-10-13	12:43:49	1320	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:49	1320	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field override
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:49	1320	[DEBUG]	Use field value for field slug
2023-10-13	12:43:49	1320	[DEBUG]	Process line 1320
2023-10-13	12:43:49	1320	[DEBUG]	Load a row
2023-10-13	12:43:49	1320	[DEBUG]	Processing item: A_4947_3
2023-10-13	12:43:49	1320	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:49	1320	[DEBUG]	Processing product tax
2023-10-13	12:43:49	1320	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:49	1320	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:49	1320	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:49	1320	[DEBUG]	Query for Product
2023-10-13	12:43:49	1320	[DEBUG]	Executed store
2023-10-13	12:43:49	1320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4947_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:49	1320	[DEBUG]	Check product language entry
2023-10-13	12:43:49	1320	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860812
2023-10-13	12:43:49	1320	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:49	1320	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4947_3' AND `virtuemart_product_id` != 1860812
2023-10-13	12:43:49	1320	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:49	1320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860812, 'A_4947_3')
2023-10-13	12:43:49	1320	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:49	1320	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-27-5-sv21-none' AND `virtuemart_product_id` != 1860812
2023-10-13	12:43:49	1320	[DEBUG]	Query for ProductLang
2023-10-13	12:43:49	1320	[DEBUG]	Executed store
2023-10-13	12:43:49	1320	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.054',`product_name`='SCHWALBE Chambre-à-air 27.5 SV21 / None&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-27-5-sv21-none' WHERE `virtuemart_product_id` = '1860812'
2023-10-13	12:43:49	1320	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28818_chambre-a-aire_schwalbe_27_5__sv21.jpg
2023-10-13	12:43:49	1320	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:49	1320	[DEBUG]	Process image file
2023-10-13	12:43:49	1320	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:49	1320	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:49	1320	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28818_chambre-a-aire_schwalbe_27_5__sv21.jpg
2023-10-13	12:43:49	1320	[DEBUG]	Full name target: bcprisme/28818_chambre-a-aire_schwalbe_27_5__sv21.jpg
2023-10-13	12:43:50	1320	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:50	1320	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28818_chambre-a-aire_schwalbe_27_5__sv21.jpg'
2023-10-13	12:43:50	1320	[DEBUG]	Query for Media
2023-10-13	12:43:50	1320	[DEBUG]	Executed store
2023-10-13	12:43:50	1320	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28818_chambre-a-aire_schwalbe_27_5__sv21.jpg',`file_url_thumb`='bcprisme/28818_chambre-a-aire_schwalbe_27_5__sv21.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12623'
2023-10-13	12:43:50	1320	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:50	1320	[DEBUG]	Executed store
2023-10-13	12:43:50	1320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860812','12623','1')
2023-10-13	12:43:50	1320	[DEBUG]	Store product image relation
2023-10-13	12:43:50	1320	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:50	1320	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860812 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:50	1320	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:50	1320	[DEBUG]	Executed store
2023-10-13	12:43:50	1320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860812','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:50	1320	[DEBUG]	Checking manufacturer
2023-10-13	12:43:50	1320	[DEBUG]	Load a row
2023-10-13	12:43:50	1320	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:50	1320	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:50	1320	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:50	1320	[DEBUG]	Executed store
2023-10-13	12:43:50	1320	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:50	1320	[DEBUG]	Manufacturer exists
2023-10-13	12:43:50	1320	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:43:50	1320	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:50	1320	[DEBUG]	Executed store
2023-10-13	12:43:50	1320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860812','25')
2023-10-13	12:43:50	1320	[DEBUG]	Find the custom field ID
2023-10-13	12:43:50	1320	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:50	1320	[DEBUG]	No custom field ID found
2023-10-13	12:43:50	1320	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:50	1320	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:43:50	1320	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860812 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:50	1320	[DEBUG]	Store custom available field
2023-10-13	12:43:50	1320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860812,3,'0',1)
2023-10-13	12:43:50	1320	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:50	1320	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:50	1320	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860812 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:50	1320	[DEBUG]	Store custom available field
2023-10-13	12:43:50	1320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860812,6,'choisir la taille',3)
2023-10-13	12:43:50	1320	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:50	1320	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:50	1320	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:50	1320	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:50	1320	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860812 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:50	1320	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:50	1320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860812,8,1)
2023-10-13	12:43:50	1320	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:50	1320	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860812\":[1860812,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860812
2023-10-13	12:43:50	1320	[DEBUG]	Checking category
2023-10-13	12:43:50	1320	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:50	1320	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860812
2023-10-13	12:43:50	1320	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:50	1320	[DEBUG]	Executed store
2023-10-13	12:43:50	1320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860812','7299')
2023-10-13	12:43:50	1320	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:50	1320	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860812 AND `virtuemart_category_id` NOT IN (7299)
2023-10-13	12:43:50	1320	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:50	1320	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860812
2023-10-13	12:43:50	1321	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:50	1321	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:50	1321	[DEBUG]	Use field value for field taille
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:50	1321	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:50	1321	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:50	1321	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:50	1321	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:50	1321	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:50	1321	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:50	1321	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:50	1321	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:50	1321	[DEBUG]	Use field value for field published
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:50	1321	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field override
2023-10-13	12:43:50	1321	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:50	1321	[DEBUG]	Use field value for field slug
2023-10-13	12:43:50	1321	[DEBUG]	Process line 1321
2023-10-13	12:43:50	1321	[DEBUG]	Load a row
2023-10-13	12:43:50	1321	[DEBUG]	Processing item: 4026495743754
2023-10-13	12:43:50	1321	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:50	1321	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:50	1321	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4947_3'
2023-10-13	12:43:50	1321	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:50	1321	[DEBUG]	Processing product tax
2023-10-13	12:43:50	1321	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:50	1321	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:50	1321	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:50	1321	[DEBUG]	Query for Product
2023-10-13	12:43:50	1321	[DEBUG]	Executed store
2023-10-13	12:43:50	1321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860812','4026495743754','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:50	1321	[DEBUG]	No parent found
2023-10-13	12:43:50	1321	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860812 AND customfield_value = 'stockable'
2023-10-13	12:43:50	1321	[DEBUG]	Check product language entry
2023-10-13	12:43:50	1321	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860813
2023-10-13	12:43:50	1321	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:50	1321	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495743754' AND `virtuemart_product_id` != 1860813
2023-10-13	12:43:50	1321	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:50	1321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860813, '4026495743754')
2023-10-13	12:43:50	1321	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:50	1321	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-27-5-sv21-none-unitaire' AND `virtuemart_product_id` != 1860813
2023-10-13	12:43:50	1321	[DEBUG]	Query for ProductLang
2023-10-13	12:43:50	1321	[DEBUG]	Executed store
2023-10-13	12:43:50	1321	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 27.5 SV21 / None (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-27-5-sv21-none-unitaire' WHERE `virtuemart_product_id` = '1860813'
2023-10-13	12:43:50	1321	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28818_chambre-a-aire_schwalbe_27_5__sv21.jpg
2023-10-13	12:43:50	1321	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:50	1321	[DEBUG]	Process image file
2023-10-13	12:43:50	1321	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:50	1321	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:50	1321	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28818_chambre-a-aire_schwalbe_27_5__sv21.jpg
2023-10-13	12:43:50	1321	[DEBUG]	Full name target: bcprisme/28818_chambre-a-aire_schwalbe_27_5__sv21.jpg
2023-10-13	12:43:51	1321	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:51	1321	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28818_chambre-a-aire_schwalbe_27_5__sv21.jpg'
2023-10-13	12:43:51	1321	[DEBUG]	Query for Media
2023-10-13	12:43:51	1321	[DEBUG]	Executed store
2023-10-13	12:43:51	1321	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28818_chambre-a-aire_schwalbe_27_5__sv21.jpg',`file_url_thumb`='bcprisme/28818_chambre-a-aire_schwalbe_27_5__sv21.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12623'
2023-10-13	12:43:51	1321	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:51	1321	[DEBUG]	Executed store
2023-10-13	12:43:51	1321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860813','12623','1')
2023-10-13	12:43:51	1321	[DEBUG]	Store product image relation
2023-10-13	12:43:51	1321	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:51	1321	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860813 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:51	1321	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:51	1321	[DEBUG]	Executed store
2023-10-13	12:43:51	1321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860813','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:51	1321	[DEBUG]	Checking manufacturer
2023-10-13	12:43:51	1321	[DEBUG]	Load a row
2023-10-13	12:43:51	1321	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:51	1321	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:51	1321	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:51	1321	[DEBUG]	Executed store
2023-10-13	12:43:51	1321	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:43:51	1321	[DEBUG]	Manufacturer exists
2023-10-13	12:43:51	1321	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:43:51	1321	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:51	1321	[DEBUG]	Executed store
2023-10-13	12:43:51	1321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860813','25')
2023-10-13	12:43:51	1321	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:51	1321	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:51	1321	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860813 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:51	1321	[DEBUG]	Store custom available field
2023-10-13	12:43:51	1321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860813,3,'',1)
2023-10-13	12:43:51	1321	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:51	1321	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:51	1321	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860813 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:51	1321	[DEBUG]	Store custom available field
2023-10-13	12:43:51	1321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860813,6,'Unitaire',3)
2023-10-13	12:43:51	1321	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:51	1321	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:51	1321	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860812
2023-10-13	12:43:51	1321	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:51	1321	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860812\":[1860812,8,1,\"choisir la taille\"],\"1860813\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860812
2023-10-13	12:43:51	1321	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:51	1321	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860813
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:51	1322	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field taille
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:51	1322	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:51	1322	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:51	1322	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:51	1322	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:51	1322	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:51	1322	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field published
2023-10-13	12:43:51	1322	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:51	1322	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field override
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:51	1322	[DEBUG]	Use field value for field slug
2023-10-13	12:43:51	1322	[DEBUG]	Process line 1322
2023-10-13	12:43:51	1322	[DEBUG]	Load a row
2023-10-13	12:43:51	1322	[DEBUG]	Processing item: A_2877_22
2023-10-13	12:43:51	1322	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:51	1322	[DEBUG]	Processing product tax
2023-10-13	12:43:51	1322	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:51	1322	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:51	1322	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:51	1322	[DEBUG]	Query for Product
2023-10-13	12:43:51	1322	[DEBUG]	Executed store
2023-10-13	12:43:51	1322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2877_22','0.18','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:51	1322	[DEBUG]	Check product language entry
2023-10-13	12:43:51	1322	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860814
2023-10-13	12:43:51	1322	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:51	1322	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2877_22' AND `virtuemart_product_id` != 1860814
2023-10-13	12:43:51	1322	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:51	1322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860814, 'A_2877_22')
2023-10-13	12:43:51	1322	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:51	1322	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-foss-700-x-23-25-fv-bleu' AND `virtuemart_product_id` != 1860814
2023-10-13	12:43:51	1322	[DEBUG]	Query for ProductLang
2023-10-13	12:43:51	1322	[DEBUG]	Executed store
2023-10-13	12:43:51	1322	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='CHAMBRE-A-AIR 700 X 23 / 25 FV<br>Gamme de chambre-à-air réalisées en polyuréthane. L\'intérêt ? C\'est biodégradable, 30% plus léger qu\'une chambre-à-air standard et s\'auto-répare en cas de crevaison par perforation (clou ou épine). La valve ne tourne pas au freinage et l\'on peut se passer de fonds de jante. Attention, cette chambre-à-air n\'est pas compatible avec un freinage par patins sur une jante en carbone à cause de la grande chaleur dégagée !<br>Crever sans exploser : chambre à air constitué de EFT, qui est un composé polymérisé et non vulcanisé. Lors d\'une crevaison, ce matériel se referme sur l\'objet perforateur, retardant ainsi la sortie d\'air, et donnant au pilote plus de temps pour réagir. <br>Poids extrêmement léger : Avec une densité de seulement 0.88c/cc, l\'EFT est 30% plus léger qu\'une chambre traditionnelle (jusqu\'à 1.3g/cc). Respectueux de l\'environnement : Fait avec des composés élastomères modifiés thermoplastiques (TPE), notre EFT peut être recyclé avec les autres TPE, réduisant ainsi les résidus et contribuant à la protection de notre environnement. <br>N° art fourn : FOSS7002325FV',`product_name`='MSC Chambre-à-air FOSS 700 X 23 / 25 FV / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-foss-700-x-23-25-fv-bleu' WHERE `virtuemart_product_id` = '1860814'
2023-10-13	12:43:51	1322	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12095.jpg
2023-10-13	12:43:51	1322	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:51	1322	[DEBUG]	Process image file
2023-10-13	12:43:51	1322	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:51	1322	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:51	1322	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12095.jpg
2023-10-13	12:43:51	1322	[DEBUG]	Full name target: bcprisme/image_12095.jpg
2023-10-13	12:43:52	1322	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:52	1322	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12095.jpg'
2023-10-13	12:43:52	1322	[DEBUG]	Query for Media
2023-10-13	12:43:52	1322	[DEBUG]	Executed store
2023-10-13	12:43:52	1322	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12095.jpg',`file_url_thumb`='bcprisme/image_12095.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12624'
2023-10-13	12:43:52	1322	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:52	1322	[DEBUG]	Executed store
2023-10-13	12:43:52	1322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860814','12624','1')
2023-10-13	12:43:52	1322	[DEBUG]	Store product image relation
2023-10-13	12:43:52	1322	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:52	1322	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860814 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:52	1322	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:52	1322	[DEBUG]	Executed store
2023-10-13	12:43:52	1322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860814','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:52	1322	[DEBUG]	Checking manufacturer
2023-10-13	12:43:52	1322	[DEBUG]	Load a row
2023-10-13	12:43:52	1322	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:52	1322	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:52	1322	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:52	1322	[DEBUG]	Executed store
2023-10-13	12:43:52	1322	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:52	1322	[DEBUG]	Manufacturer exists
2023-10-13	12:43:52	1322	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:52	1322	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:52	1322	[DEBUG]	Executed store
2023-10-13	12:43:52	1322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860814','32')
2023-10-13	12:43:52	1322	[DEBUG]	Find the custom field ID
2023-10-13	12:43:52	1322	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:52	1322	[DEBUG]	No custom field ID found
2023-10-13	12:43:52	1322	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:52	1322	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	12:43:52	1322	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860814 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:52	1322	[DEBUG]	Store custom available field
2023-10-13	12:43:52	1322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860814,3,'21.8391666666667',1)
2023-10-13	12:43:52	1322	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:52	1322	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:52	1322	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860814 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:52	1322	[DEBUG]	Store custom available field
2023-10-13	12:43:52	1322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860814,6,'choisir la taille',3)
2023-10-13	12:43:52	1322	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:52	1322	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:52	1322	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:52	1322	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:52	1322	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860814 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:52	1322	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:52	1322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860814,8,1)
2023-10-13	12:43:52	1322	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:52	1322	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860814\":[1860814,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860814
2023-10-13	12:43:52	1322	[DEBUG]	Checking category
2023-10-13	12:43:52	1322	[DEBUG]	Check if category path exists: CHAMBRES-A-AIR 28/ SCHLAÜCHE 28
2023-10-13	12:43:52	1322	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIR 28/ SCHLAÜCHE 28' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7291
2023-10-13	12:43:52	1322	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:52	1322	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860814
2023-10-13	12:43:52	1322	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:52	1322	[DEBUG]	Executed store
2023-10-13	12:43:52	1322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860814','7300')
2023-10-13	12:43:52	1322	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:52	1322	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860814 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:43:52	1322	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:52	1322	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860814
2023-10-13	12:43:52	1323	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:52	1323	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:52	1323	[DEBUG]	Use field value for field taille
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:52	1323	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:52	1323	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:52	1323	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:52	1323	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:52	1323	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:52	1323	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:52	1323	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:52	1323	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:52	1323	[DEBUG]	Use field value for field published
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:52	1323	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field override
2023-10-13	12:43:52	1323	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:52	1323	[DEBUG]	Use field value for field slug
2023-10-13	12:43:52	1323	[DEBUG]	Process line 1323
2023-10-13	12:43:52	1323	[DEBUG]	Load a row
2023-10-13	12:43:52	1323	[DEBUG]	Processing item: 4713280517019
2023-10-13	12:43:52	1323	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:52	1323	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:52	1323	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2877_22'
2023-10-13	12:43:52	1323	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:52	1323	[DEBUG]	Processing product tax
2023-10-13	12:43:52	1323	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:52	1323	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:52	1323	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:52	1323	[DEBUG]	Query for Product
2023-10-13	12:43:52	1323	[DEBUG]	Executed store
2023-10-13	12:43:52	1323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860814','4713280517019','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:52	1323	[DEBUG]	No parent found
2023-10-13	12:43:52	1323	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860814 AND customfield_value = 'stockable'
2023-10-13	12:43:52	1323	[DEBUG]	Check product language entry
2023-10-13	12:43:52	1323	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860815
2023-10-13	12:43:52	1323	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:52	1323	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713280517019' AND `virtuemart_product_id` != 1860815
2023-10-13	12:43:52	1323	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:52	1323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860815, '4713280517019')
2023-10-13	12:43:52	1323	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:52	1323	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-foss-700-x-23-25-fv-bleu-unitaire' AND `virtuemart_product_id` != 1860815
2023-10-13	12:43:52	1323	[DEBUG]	Query for ProductLang
2023-10-13	12:43:52	1323	[DEBUG]	Executed store
2023-10-13	12:43:52	1323	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air FOSS 700 X 23 / 25 FV / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-foss-700-x-23-25-fv-bleu-unitaire' WHERE `virtuemart_product_id` = '1860815'
2023-10-13	12:43:52	1323	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12095.jpg
2023-10-13	12:43:52	1323	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:52	1323	[DEBUG]	Process image file
2023-10-13	12:43:52	1323	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:52	1323	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:52	1323	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12095.jpg
2023-10-13	12:43:52	1323	[DEBUG]	Full name target: bcprisme/image_12095.jpg
2023-10-13	12:43:53	1323	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:53	1323	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12095.jpg'
2023-10-13	12:43:53	1323	[DEBUG]	Query for Media
2023-10-13	12:43:53	1323	[DEBUG]	Executed store
2023-10-13	12:43:53	1323	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12095.jpg',`file_url_thumb`='bcprisme/image_12095.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12624'
2023-10-13	12:43:53	1323	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:53	1323	[DEBUG]	Executed store
2023-10-13	12:43:53	1323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860815','12624','1')
2023-10-13	12:43:53	1323	[DEBUG]	Store product image relation
2023-10-13	12:43:53	1323	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:53	1323	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860815 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:53	1323	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:53	1323	[DEBUG]	Executed store
2023-10-13	12:43:53	1323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860815','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:53	1323	[DEBUG]	Checking manufacturer
2023-10-13	12:43:53	1323	[DEBUG]	Load a row
2023-10-13	12:43:53	1323	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:53	1323	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:53	1323	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:53	1323	[DEBUG]	Executed store
2023-10-13	12:43:53	1323	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:53	1323	[DEBUG]	Manufacturer exists
2023-10-13	12:43:53	1323	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:53	1323	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:53	1323	[DEBUG]	Executed store
2023-10-13	12:43:53	1323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860815','32')
2023-10-13	12:43:53	1323	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:53	1323	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:53	1323	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860815 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:53	1323	[DEBUG]	Store custom available field
2023-10-13	12:43:53	1323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860815,3,'',1)
2023-10-13	12:43:53	1323	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:53	1323	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:53	1323	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860815 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:53	1323	[DEBUG]	Store custom available field
2023-10-13	12:43:53	1323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860815,6,'Unitaire',3)
2023-10-13	12:43:53	1323	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:53	1323	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:53	1323	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860814
2023-10-13	12:43:53	1323	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:53	1323	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860814\":[1860814,8,1,\"choisir la taille\"],\"1860815\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860814
2023-10-13	12:43:53	1323	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:53	1323	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860815
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:53	1324	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field taille
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:53	1324	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:53	1324	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:53	1324	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:53	1324	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:53	1324	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:53	1324	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field published
2023-10-13	12:43:53	1324	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:53	1324	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field override
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:53	1324	[DEBUG]	Use field value for field slug
2023-10-13	12:43:53	1324	[DEBUG]	Process line 1324
2023-10-13	12:43:53	1324	[DEBUG]	Load a row
2023-10-13	12:43:53	1324	[DEBUG]	Processing item: A_4563_1
2023-10-13	12:43:53	1324	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:53	1324	[DEBUG]	Processing product tax
2023-10-13	12:43:53	1324	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:53	1324	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:53	1324	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:53	1324	[DEBUG]	Query for Product
2023-10-13	12:43:53	1324	[DEBUG]	Executed store
2023-10-13	12:43:53	1324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4563_1','0.08','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:53	1324	[DEBUG]	Check product language entry
2023-10-13	12:43:53	1324	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860816
2023-10-13	12:43:53	1324	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:53	1324	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4563_1' AND `virtuemart_product_id` != 1860816
2023-10-13	12:43:53	1324	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:53	1324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860816, 'A_4563_1')
2023-10-13	12:43:53	1324	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:53	1324	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-700-x-18-25c-presta-40-mm-epaisseur-0-9-mm-noir' AND `virtuemart_product_id` != 1860816
2023-10-13	12:43:53	1324	[DEBUG]	Query for ProductLang
2023-10-13	12:43:53	1324	[DEBUG]	Executed store
2023-10-13	12:43:53	1324	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='700 X 18/25C PRESTA 40 MM, EPAISSEUR 0.9 MM<br><br>N° art fourn : TU7001825FV40',`product_name`='MSC Chambre-à-air 700 X 18/25C PRESTA 40 MM, EPAISSEUR 0.9 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-700-x-18-25c-presta-40-mm-epaisseur-0-9-mm-noir' WHERE `virtuemart_product_id` = '1860816'
2023-10-13	12:43:53	1324	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27244_chambre-a-air_route_700_x_18-25_presta_38_mm.jpg
2023-10-13	12:43:53	1324	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:53	1324	[DEBUG]	Process image file
2023-10-13	12:43:53	1324	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:53	1324	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:53	1324	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27244_chambre-a-air_route_700_x_18-25_presta_38_mm.jpg
2023-10-13	12:43:53	1324	[DEBUG]	Full name target: bcprisme/27244_chambre-a-air_route_700_x_18-25_presta_38_mm.jpg
2023-10-13	12:43:54	1324	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:54	1324	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27244_chambre-a-air_route_700_x_18-25_presta_38_mm.jpg'
2023-10-13	12:43:54	1324	[DEBUG]	Query for Media
2023-10-13	12:43:54	1324	[DEBUG]	Executed store
2023-10-13	12:43:54	1324	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27244_chambre-a-air_route_700_x_18-25_presta_38_mm.jpg',`file_url_thumb`='bcprisme/27244_chambre-a-air_route_700_x_18-25_presta_38_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15822'
2023-10-13	12:43:54	1324	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:54	1324	[DEBUG]	Executed store
2023-10-13	12:43:54	1324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860816','15822','1')
2023-10-13	12:43:54	1324	[DEBUG]	Store product image relation
2023-10-13	12:43:54	1324	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:54	1324	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860816 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:54	1324	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:54	1324	[DEBUG]	Executed store
2023-10-13	12:43:54	1324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860816','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:54	1324	[DEBUG]	Checking manufacturer
2023-10-13	12:43:54	1324	[DEBUG]	Load a row
2023-10-13	12:43:54	1324	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:54	1324	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:54	1324	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:54	1324	[DEBUG]	Executed store
2023-10-13	12:43:54	1324	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:54	1324	[DEBUG]	Manufacturer exists
2023-10-13	12:43:54	1324	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:54	1324	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:54	1324	[DEBUG]	Executed store
2023-10-13	12:43:54	1324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860816','32')
2023-10-13	12:43:54	1324	[DEBUG]	Find the custom field ID
2023-10-13	12:43:54	1324	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:54	1324	[DEBUG]	No custom field ID found
2023-10-13	12:43:54	1324	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:54	1324	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:43:54	1324	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860816 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:54	1324	[DEBUG]	Store custom available field
2023-10-13	12:43:54	1324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860816,3,'9.8725',1)
2023-10-13	12:43:54	1324	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:54	1324	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:54	1324	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860816 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:54	1324	[DEBUG]	Store custom available field
2023-10-13	12:43:54	1324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860816,6,'choisir la taille',3)
2023-10-13	12:43:54	1324	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:54	1324	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:54	1324	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:54	1324	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:54	1324	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860816 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:54	1324	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:54	1324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860816,8,1)
2023-10-13	12:43:54	1324	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:54	1324	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860816\":[1860816,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860816
2023-10-13	12:43:54	1324	[DEBUG]	Checking category
2023-10-13	12:43:54	1324	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:54	1324	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860816
2023-10-13	12:43:54	1324	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:54	1324	[DEBUG]	Executed store
2023-10-13	12:43:54	1324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860816','7300')
2023-10-13	12:43:54	1324	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:54	1324	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860816 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:43:54	1324	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:54	1324	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860816
2023-10-13	12:43:54	1325	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:54	1325	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:54	1325	[DEBUG]	Use field value for field taille
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:54	1325	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:54	1325	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:54	1325	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:54	1325	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:54	1325	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:54	1325	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:54	1325	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:54	1325	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:54	1325	[DEBUG]	Use field value for field published
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:54	1325	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field override
2023-10-13	12:43:54	1325	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:54	1325	[DEBUG]	Use field value for field slug
2023-10-13	12:43:54	1325	[DEBUG]	Process line 1325
2023-10-13	12:43:54	1325	[DEBUG]	Load a row
2023-10-13	12:43:54	1325	[DEBUG]	Processing item: 8435466214067
2023-10-13	12:43:54	1325	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:54	1325	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:54	1325	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4563_1'
2023-10-13	12:43:54	1325	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:54	1325	[DEBUG]	Processing product tax
2023-10-13	12:43:54	1325	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:54	1325	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:54	1325	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:54	1325	[DEBUG]	Query for Product
2023-10-13	12:43:54	1325	[DEBUG]	Executed store
2023-10-13	12:43:54	1325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860816','8435466214067','0','KG','M','','22','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:54	1325	[DEBUG]	No parent found
2023-10-13	12:43:54	1325	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860816 AND customfield_value = 'stockable'
2023-10-13	12:43:54	1325	[DEBUG]	Check product language entry
2023-10-13	12:43:54	1325	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860817
2023-10-13	12:43:54	1325	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:54	1325	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214067' AND `virtuemart_product_id` != 1860817
2023-10-13	12:43:54	1325	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:54	1325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860817, '8435466214067')
2023-10-13	12:43:54	1325	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:54	1325	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-700-x-18-25c-presta-40-mm-epaisseur-0-9-mm-noir-unitaire' AND `virtuemart_product_id` != 1860817
2023-10-13	12:43:54	1325	[DEBUG]	Query for ProductLang
2023-10-13	12:43:54	1325	[DEBUG]	Executed store
2023-10-13	12:43:54	1325	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 700 X 18/25C PRESTA 40 MM, EPAISSEUR 0.9 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-700-x-18-25c-presta-40-mm-epaisseur-0-9-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860817'
2023-10-13	12:43:54	1325	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27244_chambre-a-air_route_700_x_18-25_presta_38_mm.jpg
2023-10-13	12:43:54	1325	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:54	1325	[DEBUG]	Process image file
2023-10-13	12:43:54	1325	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:54	1325	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:54	1325	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27244_chambre-a-air_route_700_x_18-25_presta_38_mm.jpg
2023-10-13	12:43:54	1325	[DEBUG]	Full name target: bcprisme/27244_chambre-a-air_route_700_x_18-25_presta_38_mm.jpg
2023-10-13	12:43:55	1325	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:55	1325	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27244_chambre-a-air_route_700_x_18-25_presta_38_mm.jpg'
2023-10-13	12:43:55	1325	[DEBUG]	Query for Media
2023-10-13	12:43:55	1325	[DEBUG]	Executed store
2023-10-13	12:43:55	1325	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27244_chambre-a-air_route_700_x_18-25_presta_38_mm.jpg',`file_url_thumb`='bcprisme/27244_chambre-a-air_route_700_x_18-25_presta_38_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15822'
2023-10-13	12:43:55	1325	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:55	1325	[DEBUG]	Executed store
2023-10-13	12:43:55	1325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860817','15822','1')
2023-10-13	12:43:55	1325	[DEBUG]	Store product image relation
2023-10-13	12:43:55	1325	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:55	1325	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860817 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:55	1325	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:55	1325	[DEBUG]	Executed store
2023-10-13	12:43:55	1325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860817','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:55	1325	[DEBUG]	Checking manufacturer
2023-10-13	12:43:55	1325	[DEBUG]	Load a row
2023-10-13	12:43:55	1325	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:55	1325	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:55	1325	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:55	1325	[DEBUG]	Executed store
2023-10-13	12:43:55	1325	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:55	1325	[DEBUG]	Manufacturer exists
2023-10-13	12:43:55	1325	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:55	1325	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:55	1325	[DEBUG]	Executed store
2023-10-13	12:43:55	1325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860817','32')
2023-10-13	12:43:55	1325	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:55	1325	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:55	1325	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860817 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:55	1325	[DEBUG]	Store custom available field
2023-10-13	12:43:55	1325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860817,3,'',1)
2023-10-13	12:43:55	1325	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:55	1325	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:55	1325	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860817 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:55	1325	[DEBUG]	Store custom available field
2023-10-13	12:43:55	1325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860817,6,'Unitaire',3)
2023-10-13	12:43:55	1325	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:55	1325	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:55	1325	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860816
2023-10-13	12:43:55	1325	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:55	1325	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860816\":[1860816,8,1,\"choisir la taille\"],\"1860817\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860816
2023-10-13	12:43:55	1325	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:55	1325	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860817
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:55	1326	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field taille
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:55	1326	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:55	1326	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:55	1326	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:55	1326	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:55	1326	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:55	1326	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field published
2023-10-13	12:43:55	1326	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:55	1326	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field override
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:55	1326	[DEBUG]	Use field value for field slug
2023-10-13	12:43:55	1326	[DEBUG]	Process line 1326
2023-10-13	12:43:55	1326	[DEBUG]	Load a row
2023-10-13	12:43:55	1326	[DEBUG]	Processing item: A_4564_1
2023-10-13	12:43:55	1326	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:55	1326	[DEBUG]	Processing product tax
2023-10-13	12:43:55	1326	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:55	1326	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:55	1326	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:55	1326	[DEBUG]	Query for Product
2023-10-13	12:43:55	1326	[DEBUG]	Executed store
2023-10-13	12:43:55	1326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4564_1','0.08','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:55	1326	[DEBUG]	Check product language entry
2023-10-13	12:43:55	1326	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860818
2023-10-13	12:43:55	1326	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:55	1326	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4564_1' AND `virtuemart_product_id` != 1860818
2023-10-13	12:43:55	1326	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:55	1326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860818, 'A_4564_1')
2023-10-13	12:43:55	1326	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:55	1326	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-700-x-18-25c-presta-60-mm-epaisseur-0-9-mm-noir' AND `virtuemart_product_id` != 1860818
2023-10-13	12:43:55	1326	[DEBUG]	Query for ProductLang
2023-10-13	12:43:55	1326	[DEBUG]	Executed store
2023-10-13	12:43:55	1326	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='700 X 18/25C PRESTA 60 MM, EPAISSEUR 0.9 MM<br><br>N° art fourn : TU7001825FV60',`product_name`='MSC Chambre-à-air 700 X 18/25C PRESTA 60 MM, EPAISSEUR 0.9 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-700-x-18-25c-presta-60-mm-epaisseur-0-9-mm-noir' WHERE `virtuemart_product_id` = '1860818'
2023-10-13	12:43:55	1326	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27246_chambre-a-air_route_700_x_18-25_presta_48_mm_0_9_mm.jpg
2023-10-13	12:43:55	1326	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:55	1326	[DEBUG]	Process image file
2023-10-13	12:43:55	1326	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:55	1326	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:55	1326	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27246_chambre-a-air_route_700_x_18-25_presta_48_mm_0_9_mm.jpg
2023-10-13	12:43:55	1326	[DEBUG]	Full name target: bcprisme/27246_chambre-a-air_route_700_x_18-25_presta_48_mm_0_9_mm.jpg
2023-10-13	12:43:56	1326	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:56	1326	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27246_chambre-a-air_route_700_x_18-25_presta_48_mm_0_9_mm.jpg'
2023-10-13	12:43:56	1326	[DEBUG]	Query for Media
2023-10-13	12:43:56	1326	[DEBUG]	Executed store
2023-10-13	12:43:56	1326	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27246_chambre-a-air_route_700_x_18-25_presta_48_mm_0_9_mm.jpg',`file_url_thumb`='bcprisme/27246_chambre-a-air_route_700_x_18-25_presta_48_mm_0_9_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15823'
2023-10-13	12:43:56	1326	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:56	1326	[DEBUG]	Executed store
2023-10-13	12:43:56	1326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860818','15823','1')
2023-10-13	12:43:56	1326	[DEBUG]	Store product image relation
2023-10-13	12:43:56	1326	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:56	1326	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860818 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:56	1326	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:56	1326	[DEBUG]	Executed store
2023-10-13	12:43:56	1326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860818','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:56	1326	[DEBUG]	Checking manufacturer
2023-10-13	12:43:56	1326	[DEBUG]	Load a row
2023-10-13	12:43:56	1326	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:56	1326	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:56	1326	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:56	1326	[DEBUG]	Executed store
2023-10-13	12:43:56	1326	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:56	1326	[DEBUG]	Manufacturer exists
2023-10-13	12:43:56	1326	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:56	1326	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:56	1326	[DEBUG]	Executed store
2023-10-13	12:43:56	1326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860818','32')
2023-10-13	12:43:56	1326	[DEBUG]	Find the custom field ID
2023-10-13	12:43:56	1326	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:56	1326	[DEBUG]	No custom field ID found
2023-10-13	12:43:56	1326	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:56	1326	[DEBUG]	Get existing row with customfield value 10.8697222222222
2023-10-13	12:43:56	1326	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860818 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:56	1326	[DEBUG]	Store custom available field
2023-10-13	12:43:56	1326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860818,3,'10.8697222222222',1)
2023-10-13	12:43:56	1326	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:56	1326	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:56	1326	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860818 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:56	1326	[DEBUG]	Store custom available field
2023-10-13	12:43:56	1326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860818,6,'choisir la taille',3)
2023-10-13	12:43:56	1326	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:56	1326	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:56	1326	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:56	1326	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:56	1326	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860818 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:56	1326	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:56	1326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860818,8,1)
2023-10-13	12:43:56	1326	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:56	1326	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860818\":[1860818,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860818
2023-10-13	12:43:56	1326	[DEBUG]	Checking category
2023-10-13	12:43:56	1326	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:56	1326	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860818
2023-10-13	12:43:56	1326	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:56	1326	[DEBUG]	Executed store
2023-10-13	12:43:56	1326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860818','7300')
2023-10-13	12:43:56	1326	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:56	1326	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860818 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:43:56	1326	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:56	1326	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860818
2023-10-13	12:43:56	1327	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:56	1327	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:56	1327	[DEBUG]	Use field value for field taille
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:56	1327	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:56	1327	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:56	1327	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:56	1327	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:56	1327	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:56	1327	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:56	1327	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:56	1327	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:56	1327	[DEBUG]	Use field value for field published
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:56	1327	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field override
2023-10-13	12:43:56	1327	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:56	1327	[DEBUG]	Use field value for field slug
2023-10-13	12:43:56	1327	[DEBUG]	Process line 1327
2023-10-13	12:43:56	1327	[DEBUG]	Load a row
2023-10-13	12:43:56	1327	[DEBUG]	Processing item: 8435466214081
2023-10-13	12:43:56	1327	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:56	1327	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:56	1327	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4564_1'
2023-10-13	12:43:56	1327	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:56	1327	[DEBUG]	Processing product tax
2023-10-13	12:43:56	1327	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:56	1327	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:56	1327	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:56	1327	[DEBUG]	Query for Product
2023-10-13	12:43:56	1327	[DEBUG]	Executed store
2023-10-13	12:43:56	1327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860818','8435466214081','0','KG','M','','45','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:56	1327	[DEBUG]	No parent found
2023-10-13	12:43:56	1327	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860818 AND customfield_value = 'stockable'
2023-10-13	12:43:56	1327	[DEBUG]	Check product language entry
2023-10-13	12:43:56	1327	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860819
2023-10-13	12:43:56	1327	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:56	1327	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214081' AND `virtuemart_product_id` != 1860819
2023-10-13	12:43:56	1327	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:56	1327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860819, '8435466214081')
2023-10-13	12:43:56	1327	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:56	1327	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-700-x-18-25c-presta-60-mm-epaisseur-0-9-mm-noir-unitaire' AND `virtuemart_product_id` != 1860819
2023-10-13	12:43:56	1327	[DEBUG]	Query for ProductLang
2023-10-13	12:43:56	1327	[DEBUG]	Executed store
2023-10-13	12:43:56	1327	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 700 X 18/25C PRESTA 60 MM, EPAISSEUR 0.9 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-700-x-18-25c-presta-60-mm-epaisseur-0-9-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860819'
2023-10-13	12:43:56	1327	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27246_chambre-a-air_route_700_x_18-25_presta_48_mm_0_9_mm.jpg
2023-10-13	12:43:56	1327	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:56	1327	[DEBUG]	Process image file
2023-10-13	12:43:56	1327	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:56	1327	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:56	1327	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27246_chambre-a-air_route_700_x_18-25_presta_48_mm_0_9_mm.jpg
2023-10-13	12:43:56	1327	[DEBUG]	Full name target: bcprisme/27246_chambre-a-air_route_700_x_18-25_presta_48_mm_0_9_mm.jpg
2023-10-13	12:43:57	1327	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:57	1327	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27246_chambre-a-air_route_700_x_18-25_presta_48_mm_0_9_mm.jpg'
2023-10-13	12:43:57	1327	[DEBUG]	Query for Media
2023-10-13	12:43:57	1327	[DEBUG]	Executed store
2023-10-13	12:43:57	1327	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27246_chambre-a-air_route_700_x_18-25_presta_48_mm_0_9_mm.jpg',`file_url_thumb`='bcprisme/27246_chambre-a-air_route_700_x_18-25_presta_48_mm_0_9_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15823'
2023-10-13	12:43:57	1327	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:57	1327	[DEBUG]	Executed store
2023-10-13	12:43:57	1327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860819','15823','1')
2023-10-13	12:43:57	1327	[DEBUG]	Store product image relation
2023-10-13	12:43:57	1327	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:57	1327	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860819 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:57	1327	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:57	1327	[DEBUG]	Executed store
2023-10-13	12:43:57	1327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860819','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:57	1327	[DEBUG]	Checking manufacturer
2023-10-13	12:43:57	1327	[DEBUG]	Load a row
2023-10-13	12:43:57	1327	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:57	1327	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:57	1327	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:57	1327	[DEBUG]	Executed store
2023-10-13	12:43:57	1327	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:57	1327	[DEBUG]	Manufacturer exists
2023-10-13	12:43:57	1327	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:57	1327	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:57	1327	[DEBUG]	Executed store
2023-10-13	12:43:57	1327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860819','32')
2023-10-13	12:43:57	1327	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:57	1327	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:57	1327	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860819 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:57	1327	[DEBUG]	Store custom available field
2023-10-13	12:43:57	1327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860819,3,'',1)
2023-10-13	12:43:57	1327	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:57	1327	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:57	1327	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860819 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:57	1327	[DEBUG]	Store custom available field
2023-10-13	12:43:57	1327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860819,6,'Unitaire',3)
2023-10-13	12:43:57	1327	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:57	1327	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:57	1327	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860818
2023-10-13	12:43:57	1327	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:57	1327	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860818\":[1860818,8,1,\"choisir la taille\"],\"1860819\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860818
2023-10-13	12:43:57	1327	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:57	1327	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860819
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:57	1328	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field taille
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:57	1328	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:57	1328	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:57	1328	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:57	1328	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:57	1328	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:57	1328	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field published
2023-10-13	12:43:57	1328	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:57	1328	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field override
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:57	1328	[DEBUG]	Use field value for field slug
2023-10-13	12:43:57	1328	[DEBUG]	Process line 1328
2023-10-13	12:43:57	1328	[DEBUG]	Load a row
2023-10-13	12:43:57	1328	[DEBUG]	Processing item: A_4565_1
2023-10-13	12:43:57	1328	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:57	1328	[DEBUG]	Processing product tax
2023-10-13	12:43:57	1328	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:57	1328	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:57	1328	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:57	1328	[DEBUG]	Query for Product
2023-10-13	12:43:57	1328	[DEBUG]	Executed store
2023-10-13	12:43:57	1328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4565_1','0.08','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:57	1328	[DEBUG]	Check product language entry
2023-10-13	12:43:57	1328	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860820
2023-10-13	12:43:57	1328	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:57	1328	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4565_1' AND `virtuemart_product_id` != 1860820
2023-10-13	12:43:57	1328	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:57	1328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860820, 'A_4565_1')
2023-10-13	12:43:57	1328	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:57	1328	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-700-x-18-25c-presta-80-mm-epaisseur-0-9-mm-noir' AND `virtuemart_product_id` != 1860820
2023-10-13	12:43:57	1328	[DEBUG]	Query for ProductLang
2023-10-13	12:43:57	1328	[DEBUG]	Executed store
2023-10-13	12:43:57	1328	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='700 X 18/25C PRESTA 80 MM, EPAISSEUR 0.9 MM<br><br>N° art fourn : TU7001825FV80',`product_name`='MSC Chambre-à-air 700 X 18/25C PRESTA 80 MM, EPAISSEUR 0.9 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-700-x-18-25c-presta-80-mm-epaisseur-0-9-mm-noir' WHERE `virtuemart_product_id` = '1860820'
2023-10-13	12:43:57	1328	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27245_chambre-a-air_route_700_x_18-25_presta_60_mm_0_9_mm_(copie).jpg
2023-10-13	12:43:57	1328	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:57	1328	[DEBUG]	Process image file
2023-10-13	12:43:57	1328	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:57	1328	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:57	1328	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27245_chambre-a-air_route_700_x_18-25_presta_60_mm_0_9_mm_(copie).jpg
2023-10-13	12:43:57	1328	[DEBUG]	Full name target: bcprisme/27245_chambre-a-air_route_700_x_18-25_presta_60_mm_0_9_mm_(copie).jpg
2023-10-13	12:43:58	1328	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:58	1328	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27245_chambre-a-air_route_700_x_18-25_presta_60_mm_0_9_mm_(copie).jpg'
2023-10-13	12:43:58	1328	[DEBUG]	Query for Media
2023-10-13	12:43:58	1328	[DEBUG]	Executed store
2023-10-13	12:43:58	1328	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27245_chambre-a-air_route_700_x_18-25_presta_60_mm_0_9_mm_(copie).jpg',`file_url_thumb`='bcprisme/27245_chambre-a-air_route_700_x_18-25_presta_60_mm_0_9_mm_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15824'
2023-10-13	12:43:58	1328	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:58	1328	[DEBUG]	Executed store
2023-10-13	12:43:58	1328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860820','15824','1')
2023-10-13	12:43:58	1328	[DEBUG]	Store product image relation
2023-10-13	12:43:58	1328	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:58	1328	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860820 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:58	1328	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:58	1328	[DEBUG]	Executed store
2023-10-13	12:43:58	1328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860820','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:58	1328	[DEBUG]	Checking manufacturer
2023-10-13	12:43:58	1328	[DEBUG]	Load a row
2023-10-13	12:43:58	1328	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:58	1328	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:58	1328	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:58	1328	[DEBUG]	Executed store
2023-10-13	12:43:58	1328	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:58	1328	[DEBUG]	Manufacturer exists
2023-10-13	12:43:58	1328	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:58	1328	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:58	1328	[DEBUG]	Executed store
2023-10-13	12:43:58	1328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860820','32')
2023-10-13	12:43:58	1328	[DEBUG]	Find the custom field ID
2023-10-13	12:43:58	1328	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:43:58	1328	[DEBUG]	No custom field ID found
2023-10-13	12:43:58	1328	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:58	1328	[DEBUG]	Get existing row with customfield value 11.8669444444444
2023-10-13	12:43:58	1328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860820 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:58	1328	[DEBUG]	Store custom available field
2023-10-13	12:43:58	1328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860820,3,'11.8669444444444',1)
2023-10-13	12:43:58	1328	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:58	1328	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:43:58	1328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860820 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:58	1328	[DEBUG]	Store custom available field
2023-10-13	12:43:58	1328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860820,6,'choisir la taille',3)
2023-10-13	12:43:58	1328	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:58	1328	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:43:58	1328	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:43:58	1328	[DEBUG]	Find the multi variant product entry
2023-10-13	12:43:58	1328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860820 AND `virtuemart_custom_id` = 8
2023-10-13	12:43:58	1328	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:43:58	1328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860820,8,1)
2023-10-13	12:43:58	1328	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:58	1328	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860820\":[1860820,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860820
2023-10-13	12:43:58	1328	[DEBUG]	Checking category
2023-10-13	12:43:58	1328	[DEBUG]	Get the existing categories for the product
2023-10-13	12:43:58	1328	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860820
2023-10-13	12:43:58	1328	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:43:58	1328	[DEBUG]	Executed store
2023-10-13	12:43:58	1328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860820','7300')
2023-10-13	12:43:58	1328	[DEBUG]	Delete leftover product categories
2023-10-13	12:43:58	1328	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860820 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:43:58	1328	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:58	1328	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860820
2023-10-13	12:43:58	1329	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:58	1329	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:43:58	1329	[DEBUG]	Use field value for field taille
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:43:58	1329	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field category_path
2023-10-13	12:43:58	1329	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:58	1329	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:58	1329	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:58	1329	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:43:58	1329	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field product_weight
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:58	1329	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:58	1329	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:58	1329	[DEBUG]	Use field value for field published
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field custom_title
2023-10-13	12:43:58	1329	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field custom_param
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field override
2023-10-13	12:43:58	1329	[DEBUG]	Use default value for field public_price
2023-10-13	12:43:58	1329	[DEBUG]	Use field value for field slug
2023-10-13	12:43:58	1329	[DEBUG]	Process line 1329
2023-10-13	12:43:58	1329	[DEBUG]	Load a row
2023-10-13	12:43:58	1329	[DEBUG]	Processing item: 8435466214098
2023-10-13	12:43:58	1329	[DEBUG]	Looking for parent SKU
2023-10-13	12:43:58	1329	[DEBUG]	Checking product parent SKU
2023-10-13	12:43:58	1329	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4565_1'
2023-10-13	12:43:58	1329	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:58	1329	[DEBUG]	Processing product tax
2023-10-13	12:43:58	1329	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:58	1329	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:58	1329	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:58	1329	[DEBUG]	Query for Product
2023-10-13	12:43:58	1329	[DEBUG]	Executed store
2023-10-13	12:43:58	1329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860820','8435466214098','0','KG','M','','11','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:58	1329	[DEBUG]	No parent found
2023-10-13	12:43:58	1329	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860820 AND customfield_value = 'stockable'
2023-10-13	12:43:58	1329	[DEBUG]	Check product language entry
2023-10-13	12:43:58	1329	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860821
2023-10-13	12:43:58	1329	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:58	1329	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214098' AND `virtuemart_product_id` != 1860821
2023-10-13	12:43:58	1329	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:58	1329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860821, '8435466214098')
2023-10-13	12:43:58	1329	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:58	1329	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-700-x-18-25c-presta-80-mm-epaisseur-0-9-mm-noir-unitaire' AND `virtuemart_product_id` != 1860821
2023-10-13	12:43:58	1329	[DEBUG]	Query for ProductLang
2023-10-13	12:43:58	1329	[DEBUG]	Executed store
2023-10-13	12:43:58	1329	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 700 X 18/25C PRESTA 80 MM, EPAISSEUR 0.9 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-700-x-18-25c-presta-80-mm-epaisseur-0-9-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860821'
2023-10-13	12:43:58	1329	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27245_chambre-a-air_route_700_x_18-25_presta_60_mm_0_9_mm_(copie).jpg
2023-10-13	12:43:58	1329	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:58	1329	[DEBUG]	Process image file
2023-10-13	12:43:58	1329	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:58	1329	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:58	1329	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27245_chambre-a-air_route_700_x_18-25_presta_60_mm_0_9_mm_(copie).jpg
2023-10-13	12:43:58	1329	[DEBUG]	Full name target: bcprisme/27245_chambre-a-air_route_700_x_18-25_presta_60_mm_0_9_mm_(copie).jpg
2023-10-13	12:43:59	1329	[DEBUG]	Checking if the file_url exists
2023-10-13	12:43:59	1329	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27245_chambre-a-air_route_700_x_18-25_presta_60_mm_0_9_mm_(copie).jpg'
2023-10-13	12:43:59	1329	[DEBUG]	Query for Media
2023-10-13	12:43:59	1329	[DEBUG]	Executed store
2023-10-13	12:43:59	1329	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27245_chambre-a-air_route_700_x_18-25_presta_60_mm_0_9_mm_(copie).jpg',`file_url_thumb`='bcprisme/27245_chambre-a-air_route_700_x_18-25_presta_60_mm_0_9_mm_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15824'
2023-10-13	12:43:59	1329	[DEBUG]	Query for ProductMedia
2023-10-13	12:43:59	1329	[DEBUG]	Executed store
2023-10-13	12:43:59	1329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860821','15824','1')
2023-10-13	12:43:59	1329	[DEBUG]	Store product image relation
2023-10-13	12:43:59	1329	[DEBUG]	Finding a product_price_id
2023-10-13	12:43:59	1329	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860821 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:43:59	1329	[DEBUG]	Query for ProductPrice
2023-10-13	12:43:59	1329	[DEBUG]	Executed store
2023-10-13	12:43:59	1329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860821','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:43:59	1329	[DEBUG]	Checking manufacturer
2023-10-13	12:43:59	1329	[DEBUG]	Load a row
2023-10-13	12:43:59	1329	[DEBUG]	Manufacturer already exists
2023-10-13	12:43:59	1329	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:59	1329	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:43:59	1329	[DEBUG]	Executed store
2023-10-13	12:43:59	1329	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:43:59	1329	[DEBUG]	Manufacturer exists
2023-10-13	12:43:59	1329	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:43:59	1329	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:43:59	1329	[DEBUG]	Executed store
2023-10-13	12:43:59	1329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860821','32')
2023-10-13	12:43:59	1329	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:43:59	1329	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:43:59	1329	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860821 AND `virtuemart_custom_id` = 3
2023-10-13	12:43:59	1329	[DEBUG]	Store custom available field
2023-10-13	12:43:59	1329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860821,3,'',1)
2023-10-13	12:43:59	1329	[DEBUG]	Processing custom available field: taille
2023-10-13	12:43:59	1329	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:43:59	1329	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860821 AND `virtuemart_custom_id` = 6
2023-10-13	12:43:59	1329	[DEBUG]	Store custom available field
2023-10-13	12:43:59	1329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860821,6,'Unitaire',3)
2023-10-13	12:43:59	1329	[DEBUG]	Process multi-variant fields
2023-10-13	12:43:59	1329	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:43:59	1329	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860820
2023-10-13	12:43:59	1329	[DEBUG]	Store the updated customfield_params
2023-10-13	12:43:59	1329	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860820\":[1860820,8,1,\"choisir la taille\"],\"1860821\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860820
2023-10-13	12:43:59	1329	[DEBUG]	Update has fields after all processing
2023-10-13	12:43:59	1329	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860821
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field product_sku
2023-10-13	12:43:59	1330	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field taille
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field product_name
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field category_path
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field product_price
2023-10-13	12:43:59	1330	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field product_tax
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field file_url
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:43:59	1330	[DEBUG]	Use default value for field product_desc
2023-10-13	12:43:59	1330	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field product_availability
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field product_weight
2023-10-13	12:43:59	1330	[DEBUG]	Use default value for field product_unit
2023-10-13	12:43:59	1330	[DEBUG]	Use default value for field related_products
2023-10-13	12:43:59	1330	[DEBUG]	Use default value for field product_special
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field published
2023-10-13	12:43:59	1330	[DEBUG]	Use default value for field metadesc
2023-10-13	12:43:59	1330	[DEBUG]	Use default value for field metakey
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field custom_title
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field custom_value
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field custom_param
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field override
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field public_price
2023-10-13	12:43:59	1330	[DEBUG]	Use field value for field slug
2023-10-13	12:43:59	1330	[DEBUG]	Process line 1330
2023-10-13	12:43:59	1330	[DEBUG]	Load a row
2023-10-13	12:43:59	1330	[DEBUG]	Processing item: A_5001_3
2023-10-13	12:43:59	1330	[DEBUG]	Product tax: 7.7
2023-10-13	12:43:59	1330	[DEBUG]	Processing product tax
2023-10-13	12:43:59	1330	[DEBUG]	Check if calculation rule exists
2023-10-13	12:43:59	1330	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:43:59	1330	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:43:59	1330	[DEBUG]	Query for Product
2023-10-13	12:43:59	1330	[DEBUG]	Executed store
2023-10-13	12:43:59	1330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5001_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:43:59	1330	[DEBUG]	Check product language entry
2023-10-13	12:43:59	1330	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860822
2023-10-13	12:43:59	1330	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:59	1330	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5001_3' AND `virtuemart_product_id` != 1860822
2023-10-13	12:43:59	1330	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:43:59	1330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860822, 'A_5001_3')
2023-10-13	12:43:59	1330	[DEBUG]	Check if the product slug exists
2023-10-13	12:43:59	1330	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-av17-none' AND `virtuemart_product_id` != 1860822
2023-10-13	12:43:59	1330	[DEBUG]	Query for ProductLang
2023-10-13	12:43:59	1330	[DEBUG]	Executed store
2023-10-13	12:43:59	1330	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.025',`product_name`='SCHWALBE Chambre-à-air 28 AV17  / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-av17-none' WHERE `virtuemart_product_id` = '1860822'
2023-10-13	12:43:59	1330	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29366_chambres-a-air_schwalbe_28__av17_.jpg
2023-10-13	12:43:59	1330	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:59	1330	[DEBUG]	Process image file
2023-10-13	12:43:59	1330	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:43:59	1330	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:43:59	1330	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29366_chambres-a-air_schwalbe_28__av17_.jpg
2023-10-13	12:43:59	1330	[DEBUG]	Full name target: bcprisme/29366_chambres-a-air_schwalbe_28__av17_.jpg
2023-10-13	12:44:00	1330	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:00	1330	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29366_chambres-a-air_schwalbe_28__av17_.jpg'
2023-10-13	12:44:00	1330	[DEBUG]	Query for Media
2023-10-13	12:44:00	1330	[DEBUG]	Executed store
2023-10-13	12:44:00	1330	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29366_chambres-a-air_schwalbe_28__av17_.jpg',`file_url_thumb`='bcprisme/29366_chambres-a-air_schwalbe_28__av17_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12625'
2023-10-13	12:44:00	1330	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:00	1330	[DEBUG]	Executed store
2023-10-13	12:44:00	1330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860822','12625','1')
2023-10-13	12:44:00	1330	[DEBUG]	Store product image relation
2023-10-13	12:44:00	1330	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:00	1330	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860822 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:00	1330	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:00	1330	[DEBUG]	Executed store
2023-10-13	12:44:00	1330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860822','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:00	1330	[DEBUG]	Checking manufacturer
2023-10-13	12:44:00	1330	[DEBUG]	Load a row
2023-10-13	12:44:00	1330	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:00	1330	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:00	1330	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:00	1330	[DEBUG]	Executed store
2023-10-13	12:44:00	1330	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:00	1330	[DEBUG]	Manufacturer exists
2023-10-13	12:44:00	1330	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:00	1330	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:00	1330	[DEBUG]	Executed store
2023-10-13	12:44:00	1330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860822','25')
2023-10-13	12:44:00	1330	[DEBUG]	Find the custom field ID
2023-10-13	12:44:00	1330	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:00	1330	[DEBUG]	No custom field ID found
2023-10-13	12:44:00	1330	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:00	1330	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:00	1330	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860822 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:00	1330	[DEBUG]	Store custom available field
2023-10-13	12:44:00	1330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860822,3,'0',1)
2023-10-13	12:44:00	1330	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:00	1330	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:00	1330	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860822 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:00	1330	[DEBUG]	Store custom available field
2023-10-13	12:44:00	1330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860822,6,'choisir la taille',3)
2023-10-13	12:44:00	1330	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:00	1330	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:00	1330	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:00	1330	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:00	1330	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860822 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:00	1330	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:00	1330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860822,8,1)
2023-10-13	12:44:00	1330	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:00	1330	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860822\":[1860822,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860822
2023-10-13	12:44:00	1330	[DEBUG]	Checking category
2023-10-13	12:44:00	1330	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:00	1330	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860822
2023-10-13	12:44:00	1330	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:00	1330	[DEBUG]	Executed store
2023-10-13	12:44:00	1330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860822','7300')
2023-10-13	12:44:00	1330	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:00	1330	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860822 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:44:00	1330	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:00	1330	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860822
2023-10-13	12:44:00	1331	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:00	1331	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:00	1331	[DEBUG]	Use field value for field taille
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:00	1331	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:00	1331	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:00	1331	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:00	1331	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:00	1331	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:00	1331	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:00	1331	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:00	1331	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:00	1331	[DEBUG]	Use field value for field published
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:00	1331	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field override
2023-10-13	12:44:00	1331	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:00	1331	[DEBUG]	Use field value for field slug
2023-10-13	12:44:00	1331	[DEBUG]	Process line 1331
2023-10-13	12:44:00	1331	[DEBUG]	Load a row
2023-10-13	12:44:00	1331	[DEBUG]	Processing item: 4026495098502
2023-10-13	12:44:00	1331	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:00	1331	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:00	1331	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5001_3'
2023-10-13	12:44:00	1331	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:00	1331	[DEBUG]	Processing product tax
2023-10-13	12:44:00	1331	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:00	1331	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:00	1331	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:00	1331	[DEBUG]	Query for Product
2023-10-13	12:44:00	1331	[DEBUG]	Executed store
2023-10-13	12:44:00	1331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860822','4026495098502','0','KG','M','','16','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:00	1331	[DEBUG]	No parent found
2023-10-13	12:44:00	1331	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860822 AND customfield_value = 'stockable'
2023-10-13	12:44:00	1331	[DEBUG]	Check product language entry
2023-10-13	12:44:00	1331	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860823
2023-10-13	12:44:00	1331	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:00	1331	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495098502' AND `virtuemart_product_id` != 1860823
2023-10-13	12:44:00	1331	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:00	1331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860823, '4026495098502')
2023-10-13	12:44:00	1331	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:00	1331	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-av17-none-unitaire' AND `virtuemart_product_id` != 1860823
2023-10-13	12:44:00	1331	[DEBUG]	Query for ProductLang
2023-10-13	12:44:00	1331	[DEBUG]	Executed store
2023-10-13	12:44:00	1331	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 28 AV17  / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-av17-none-unitaire' WHERE `virtuemart_product_id` = '1860823'
2023-10-13	12:44:00	1331	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29366_chambres-a-air_schwalbe_28__av17_.jpg
2023-10-13	12:44:00	1331	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:00	1331	[DEBUG]	Process image file
2023-10-13	12:44:00	1331	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:00	1331	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:00	1331	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29366_chambres-a-air_schwalbe_28__av17_.jpg
2023-10-13	12:44:00	1331	[DEBUG]	Full name target: bcprisme/29366_chambres-a-air_schwalbe_28__av17_.jpg
2023-10-13	12:44:01	1331	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:01	1331	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29366_chambres-a-air_schwalbe_28__av17_.jpg'
2023-10-13	12:44:01	1331	[DEBUG]	Query for Media
2023-10-13	12:44:01	1331	[DEBUG]	Executed store
2023-10-13	12:44:01	1331	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29366_chambres-a-air_schwalbe_28__av17_.jpg',`file_url_thumb`='bcprisme/29366_chambres-a-air_schwalbe_28__av17_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12625'
2023-10-13	12:44:01	1331	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:01	1331	[DEBUG]	Executed store
2023-10-13	12:44:01	1331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860823','12625','1')
2023-10-13	12:44:01	1331	[DEBUG]	Store product image relation
2023-10-13	12:44:01	1331	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:01	1331	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860823 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:01	1331	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:01	1331	[DEBUG]	Executed store
2023-10-13	12:44:01	1331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860823','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:01	1331	[DEBUG]	Checking manufacturer
2023-10-13	12:44:01	1331	[DEBUG]	Load a row
2023-10-13	12:44:01	1331	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:01	1331	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:01	1331	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:01	1331	[DEBUG]	Executed store
2023-10-13	12:44:01	1331	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:01	1331	[DEBUG]	Manufacturer exists
2023-10-13	12:44:01	1331	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:01	1331	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:01	1331	[DEBUG]	Executed store
2023-10-13	12:44:01	1331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860823','25')
2023-10-13	12:44:01	1331	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:01	1331	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:01	1331	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860823 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:01	1331	[DEBUG]	Store custom available field
2023-10-13	12:44:01	1331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860823,3,'',1)
2023-10-13	12:44:01	1331	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:01	1331	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:01	1331	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860823 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:01	1331	[DEBUG]	Store custom available field
2023-10-13	12:44:01	1331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860823,6,'Unitaire',3)
2023-10-13	12:44:01	1331	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:01	1331	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:01	1331	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860822
2023-10-13	12:44:01	1331	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:01	1331	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860822\":[1860822,8,1,\"choisir la taille\"],\"1860823\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860822
2023-10-13	12:44:01	1331	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:01	1331	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860823
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:01	1332	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field taille
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:01	1332	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:01	1332	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:01	1332	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:01	1332	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:01	1332	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:01	1332	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field published
2023-10-13	12:44:01	1332	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:01	1332	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field override
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:01	1332	[DEBUG]	Use field value for field slug
2023-10-13	12:44:01	1332	[DEBUG]	Process line 1332
2023-10-13	12:44:01	1332	[DEBUG]	Load a row
2023-10-13	12:44:01	1332	[DEBUG]	Processing item: A_5002_3
2023-10-13	12:44:01	1332	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:01	1332	[DEBUG]	Processing product tax
2023-10-13	12:44:01	1332	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:01	1332	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:01	1332	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:01	1332	[DEBUG]	Query for Product
2023-10-13	12:44:01	1332	[DEBUG]	Executed store
2023-10-13	12:44:01	1332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5002_3','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:01	1332	[DEBUG]	Check product language entry
2023-10-13	12:44:01	1332	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860824
2023-10-13	12:44:01	1332	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:01	1332	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5002_3' AND `virtuemart_product_id` != 1860824
2023-10-13	12:44:01	1332	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:01	1332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860824, 'A_5002_3')
2023-10-13	12:44:01	1332	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:01	1332	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-sv17-40mm-none' AND `virtuemart_product_id` != 1860824
2023-10-13	12:44:01	1332	[DEBUG]	Query for ProductLang
2023-10-13	12:44:01	1332	[DEBUG]	Executed store
2023-10-13	12:44:01	1332	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.016',`product_name`='SCHWALBE Chambre-à-air 28 SV17 40mm / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-sv17-40mm-none' WHERE `virtuemart_product_id` = '1860824'
2023-10-13	12:44:01	1332	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29367_chambre-à-air_28_sv17_40mm.jpg
2023-10-13	12:44:01	1332	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:01	1332	[DEBUG]	Process image file
2023-10-13	12:44:01	1332	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:01	1332	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:01	1332	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29367_chambre-à-air_28_sv17_40mm.jpg
2023-10-13	12:44:01	1332	[DEBUG]	Full name target: bcprisme/29367_chambre-à-air_28_sv17_40mm.jpg
2023-10-13	12:44:02	1332	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:02	1332	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29367_chambre-à-air_28_sv17_40mm.jpg'
2023-10-13	12:44:02	1332	[DEBUG]	Query for Media
2023-10-13	12:44:02	1332	[DEBUG]	Executed store
2023-10-13	12:44:02	1332	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29367_chambre-à-air_28_sv17_40mm.jpg',`file_url_thumb`='bcprisme/29367_chambre-à-air_28_sv17_40mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435826'
2023-10-13	12:44:02	1332	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:02	1332	[DEBUG]	Executed store
2023-10-13	12:44:02	1332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860824','435826','1')
2023-10-13	12:44:02	1332	[DEBUG]	Store product image relation
2023-10-13	12:44:02	1332	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:02	1332	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860824 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:02	1332	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:02	1332	[DEBUG]	Executed store
2023-10-13	12:44:02	1332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860824','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:02	1332	[DEBUG]	Checking manufacturer
2023-10-13	12:44:02	1332	[DEBUG]	Load a row
2023-10-13	12:44:02	1332	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:02	1332	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:02	1332	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:02	1332	[DEBUG]	Executed store
2023-10-13	12:44:02	1332	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:02	1332	[DEBUG]	Manufacturer exists
2023-10-13	12:44:02	1332	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:02	1332	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:02	1332	[DEBUG]	Executed store
2023-10-13	12:44:02	1332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860824','25')
2023-10-13	12:44:02	1332	[DEBUG]	Find the custom field ID
2023-10-13	12:44:02	1332	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:02	1332	[DEBUG]	No custom field ID found
2023-10-13	12:44:02	1332	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:02	1332	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:02	1332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860824 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:02	1332	[DEBUG]	Store custom available field
2023-10-13	12:44:02	1332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860824,3,'0',1)
2023-10-13	12:44:02	1332	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:02	1332	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:02	1332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860824 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:02	1332	[DEBUG]	Store custom available field
2023-10-13	12:44:02	1332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860824,6,'choisir la taille',3)
2023-10-13	12:44:02	1332	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:02	1332	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:02	1332	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:02	1332	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:02	1332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860824 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:02	1332	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:02	1332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860824,8,1)
2023-10-13	12:44:02	1332	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:02	1332	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860824\":[1860824,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860824
2023-10-13	12:44:02	1332	[DEBUG]	Checking category
2023-10-13	12:44:02	1332	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:02	1332	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860824
2023-10-13	12:44:02	1332	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:02	1332	[DEBUG]	Executed store
2023-10-13	12:44:02	1332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860824','7300')
2023-10-13	12:44:02	1332	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:02	1332	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860824 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:44:02	1332	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:02	1332	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860824
2023-10-13	12:44:02	1333	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:02	1333	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:02	1333	[DEBUG]	Use field value for field taille
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:02	1333	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:02	1333	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:02	1333	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:02	1333	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:02	1333	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:02	1333	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:02	1333	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:02	1333	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:02	1333	[DEBUG]	Use field value for field published
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:02	1333	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field override
2023-10-13	12:44:02	1333	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:02	1333	[DEBUG]	Use field value for field slug
2023-10-13	12:44:02	1333	[DEBUG]	Process line 1333
2023-10-13	12:44:02	1333	[DEBUG]	Load a row
2023-10-13	12:44:02	1333	[DEBUG]	Processing item: 4026495098564
2023-10-13	12:44:02	1333	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:02	1333	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:02	1333	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5002_3'
2023-10-13	12:44:02	1333	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:02	1333	[DEBUG]	Processing product tax
2023-10-13	12:44:02	1333	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:02	1333	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:02	1333	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:02	1333	[DEBUG]	Query for Product
2023-10-13	12:44:02	1333	[DEBUG]	Executed store
2023-10-13	12:44:02	1333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860824','4026495098564','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:02	1333	[DEBUG]	No parent found
2023-10-13	12:44:02	1333	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860824 AND customfield_value = 'stockable'
2023-10-13	12:44:02	1333	[DEBUG]	Check product language entry
2023-10-13	12:44:02	1333	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860825
2023-10-13	12:44:02	1333	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:02	1333	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495098564' AND `virtuemart_product_id` != 1860825
2023-10-13	12:44:02	1333	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:02	1333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860825, '4026495098564')
2023-10-13	12:44:02	1333	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:02	1333	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-sv17-40mm-none-unitaire' AND `virtuemart_product_id` != 1860825
2023-10-13	12:44:02	1333	[DEBUG]	Query for ProductLang
2023-10-13	12:44:02	1333	[DEBUG]	Executed store
2023-10-13	12:44:02	1333	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 28 SV17 40mm / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-sv17-40mm-none-unitaire' WHERE `virtuemart_product_id` = '1860825'
2023-10-13	12:44:02	1333	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29367_chambre-à-air_28_sv17_40mm.jpg
2023-10-13	12:44:02	1333	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:02	1333	[DEBUG]	Process image file
2023-10-13	12:44:02	1333	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:02	1333	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:02	1333	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29367_chambre-à-air_28_sv17_40mm.jpg
2023-10-13	12:44:02	1333	[DEBUG]	Full name target: bcprisme/29367_chambre-à-air_28_sv17_40mm.jpg
2023-10-13	12:44:03	1333	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:03	1333	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29367_chambre-à-air_28_sv17_40mm.jpg'
2023-10-13	12:44:03	1333	[DEBUG]	Query for Media
2023-10-13	12:44:03	1333	[DEBUG]	Executed store
2023-10-13	12:44:03	1333	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29367_chambre-à-air_28_sv17_40mm.jpg',`file_url_thumb`='bcprisme/29367_chambre-à-air_28_sv17_40mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '435826'
2023-10-13	12:44:03	1333	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:03	1333	[DEBUG]	Executed store
2023-10-13	12:44:03	1333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860825','435826','1')
2023-10-13	12:44:03	1333	[DEBUG]	Store product image relation
2023-10-13	12:44:03	1333	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:03	1333	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860825 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:03	1333	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:03	1333	[DEBUG]	Executed store
2023-10-13	12:44:03	1333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860825','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:03	1333	[DEBUG]	Checking manufacturer
2023-10-13	12:44:03	1333	[DEBUG]	Load a row
2023-10-13	12:44:03	1333	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:03	1333	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:03	1333	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:03	1333	[DEBUG]	Executed store
2023-10-13	12:44:03	1333	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:03	1333	[DEBUG]	Manufacturer exists
2023-10-13	12:44:03	1333	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:03	1333	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:03	1333	[DEBUG]	Executed store
2023-10-13	12:44:03	1333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860825','25')
2023-10-13	12:44:03	1333	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:03	1333	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:03	1333	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860825 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:03	1333	[DEBUG]	Store custom available field
2023-10-13	12:44:03	1333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860825,3,'',1)
2023-10-13	12:44:03	1333	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:03	1333	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:03	1333	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860825 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:03	1333	[DEBUG]	Store custom available field
2023-10-13	12:44:03	1333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860825,6,'Unitaire',3)
2023-10-13	12:44:03	1333	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:03	1333	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:03	1333	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860824
2023-10-13	12:44:03	1333	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:03	1333	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860824\":[1860824,8,1,\"choisir la taille\"],\"1860825\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860824
2023-10-13	12:44:03	1333	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:03	1333	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860825
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:03	1334	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field taille
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:03	1334	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:03	1334	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:03	1334	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:03	1334	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:03	1334	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:03	1334	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field published
2023-10-13	12:44:03	1334	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:03	1334	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field override
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:03	1334	[DEBUG]	Use field value for field slug
2023-10-13	12:44:03	1334	[DEBUG]	Process line 1334
2023-10-13	12:44:03	1334	[DEBUG]	Load a row
2023-10-13	12:44:03	1334	[DEBUG]	Processing item: A_5115_3
2023-10-13	12:44:03	1334	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:03	1334	[DEBUG]	Processing product tax
2023-10-13	12:44:03	1334	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:03	1334	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:03	1334	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:03	1334	[DEBUG]	Query for Product
2023-10-13	12:44:03	1334	[DEBUG]	Executed store
2023-10-13	12:44:03	1334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5115_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:03	1334	[DEBUG]	Check product language entry
2023-10-13	12:44:03	1334	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860826
2023-10-13	12:44:03	1334	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:03	1334	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5115_3' AND `virtuemart_product_id` != 1860826
2023-10-13	12:44:03	1334	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:03	1334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860826, 'A_5115_3')
2023-10-13	12:44:03	1334	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:03	1334	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-chambre-a-air-continental-race-28-60mm-supersonic-none' AND `virtuemart_product_id` != 1860826
2023-10-13	12:44:03	1334	[DEBUG]	Query for ProductLang
2023-10-13	12:44:03	1334	[DEBUG]	Executed store
2023-10-13	12:44:03	1334	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.59471',`product_name`='Continental Chambre à air continental Race 28 60mm  Supersonic / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-chambre-a-air-continental-race-28-60mm-supersonic-none' WHERE `virtuemart_product_id` = '1860826'
2023-10-13	12:44:03	1334	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29578_chambre_à_aire_continental_race_28_60mm__supersonic.jpg
2023-10-13	12:44:03	1334	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:03	1334	[DEBUG]	Process image file
2023-10-13	12:44:03	1334	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:03	1334	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:03	1334	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29578_chambre_à_aire_continental_race_28_60mm__supersonic.jpg
2023-10-13	12:44:03	1334	[DEBUG]	Full name target: bcprisme/29578_chambre_à_aire_continental_race_28_60mm__supersonic.jpg
2023-10-13	12:44:04	1334	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:04	1334	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29578_chambre_à_aire_continental_race_28_60mm__supersonic.jpg'
2023-10-13	12:44:04	1334	[DEBUG]	Query for Media
2023-10-13	12:44:04	1334	[DEBUG]	Executed store
2023-10-13	12:44:04	1334	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29578_chambre_à_aire_continental_race_28_60mm__supersonic.jpg',`file_url_thumb`='bcprisme/29578_chambre_à_aire_continental_race_28_60mm__supersonic.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12628'
2023-10-13	12:44:04	1334	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:04	1334	[DEBUG]	Executed store
2023-10-13	12:44:04	1334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860826','12628','1')
2023-10-13	12:44:04	1334	[DEBUG]	Store product image relation
2023-10-13	12:44:04	1334	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:04	1334	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860826 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:04	1334	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:04	1334	[DEBUG]	Executed store
2023-10-13	12:44:04	1334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860826','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:04	1334	[DEBUG]	Checking manufacturer
2023-10-13	12:44:04	1334	[DEBUG]	Load a row
2023-10-13	12:44:04	1334	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:04	1334	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	12:44:04	1334	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:04	1334	[DEBUG]	Executed store
2023-10-13	12:44:04	1334	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	12:44:04	1334	[DEBUG]	Manufacturer exists
2023-10-13	12:44:04	1334	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	12:44:04	1334	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:04	1334	[DEBUG]	Executed store
2023-10-13	12:44:04	1334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860826','52')
2023-10-13	12:44:04	1334	[DEBUG]	Find the custom field ID
2023-10-13	12:44:04	1334	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:04	1334	[DEBUG]	No custom field ID found
2023-10-13	12:44:04	1334	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:04	1334	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:04	1334	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860826 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:04	1334	[DEBUG]	Store custom available field
2023-10-13	12:44:04	1334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860826,3,'0',1)
2023-10-13	12:44:04	1334	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:04	1334	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:04	1334	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860826 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:04	1334	[DEBUG]	Store custom available field
2023-10-13	12:44:04	1334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860826,6,'choisir la taille',3)
2023-10-13	12:44:04	1334	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:04	1334	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:04	1334	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:04	1334	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:04	1334	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860826 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:04	1334	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:04	1334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860826,8,1)
2023-10-13	12:44:04	1334	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:04	1334	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860826\":[1860826,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860826
2023-10-13	12:44:04	1334	[DEBUG]	Checking category
2023-10-13	12:44:04	1334	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:04	1334	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860826
2023-10-13	12:44:04	1334	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:04	1334	[DEBUG]	Executed store
2023-10-13	12:44:04	1334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860826','7300')
2023-10-13	12:44:04	1334	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:04	1334	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860826 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:44:04	1334	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:04	1334	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860826
2023-10-13	12:44:04	1335	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:04	1335	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:04	1335	[DEBUG]	Use field value for field taille
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:04	1335	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:04	1335	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:04	1335	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:04	1335	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:04	1335	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:04	1335	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:04	1335	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:04	1335	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:04	1335	[DEBUG]	Use field value for field published
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:04	1335	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field override
2023-10-13	12:44:04	1335	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:04	1335	[DEBUG]	Use field value for field slug
2023-10-13	12:44:04	1335	[DEBUG]	Process line 1335
2023-10-13	12:44:04	1335	[DEBUG]	Load a row
2023-10-13	12:44:04	1335	[DEBUG]	Processing item: 4019238556841
2023-10-13	12:44:04	1335	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:04	1335	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:04	1335	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5115_3'
2023-10-13	12:44:04	1335	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:04	1335	[DEBUG]	Processing product tax
2023-10-13	12:44:04	1335	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:04	1335	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:04	1335	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:04	1335	[DEBUG]	Query for Product
2023-10-13	12:44:04	1335	[DEBUG]	Executed store
2023-10-13	12:44:04	1335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860826','4019238556841','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:04	1335	[DEBUG]	No parent found
2023-10-13	12:44:04	1335	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860826 AND customfield_value = 'stockable'
2023-10-13	12:44:04	1335	[DEBUG]	Check product language entry
2023-10-13	12:44:04	1335	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860827
2023-10-13	12:44:04	1335	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:04	1335	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4019238556841' AND `virtuemart_product_id` != 1860827
2023-10-13	12:44:04	1335	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:04	1335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860827, '4019238556841')
2023-10-13	12:44:04	1335	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:04	1335	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-chambre-a-air-continental-race-28-60mm-supersonic-none-unitaire' AND `virtuemart_product_id` != 1860827
2023-10-13	12:44:04	1335	[DEBUG]	Query for ProductLang
2023-10-13	12:44:04	1335	[DEBUG]	Executed store
2023-10-13	12:44:04	1335	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Continental Chambre à air continental Race 28 60mm  Supersonic / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-chambre-a-air-continental-race-28-60mm-supersonic-none-unitaire' WHERE `virtuemart_product_id` = '1860827'
2023-10-13	12:44:04	1335	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29578_chambre_à_aire_continental_race_28_60mm__supersonic.jpg
2023-10-13	12:44:04	1335	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:04	1335	[DEBUG]	Process image file
2023-10-13	12:44:04	1335	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:04	1335	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:04	1335	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29578_chambre_à_aire_continental_race_28_60mm__supersonic.jpg
2023-10-13	12:44:04	1335	[DEBUG]	Full name target: bcprisme/29578_chambre_à_aire_continental_race_28_60mm__supersonic.jpg
2023-10-13	12:44:05	1335	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:05	1335	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29578_chambre_à_aire_continental_race_28_60mm__supersonic.jpg'
2023-10-13	12:44:05	1335	[DEBUG]	Query for Media
2023-10-13	12:44:05	1335	[DEBUG]	Executed store
2023-10-13	12:44:05	1335	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29578_chambre_à_aire_continental_race_28_60mm__supersonic.jpg',`file_url_thumb`='bcprisme/29578_chambre_à_aire_continental_race_28_60mm__supersonic.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12628'
2023-10-13	12:44:05	1335	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:05	1335	[DEBUG]	Executed store
2023-10-13	12:44:05	1335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860827','12628','1')
2023-10-13	12:44:05	1335	[DEBUG]	Store product image relation
2023-10-13	12:44:05	1335	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:05	1335	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860827 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:05	1335	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:05	1335	[DEBUG]	Executed store
2023-10-13	12:44:05	1335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860827','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:05	1335	[DEBUG]	Checking manufacturer
2023-10-13	12:44:05	1335	[DEBUG]	Load a row
2023-10-13	12:44:05	1335	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:05	1335	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	12:44:05	1335	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:05	1335	[DEBUG]	Executed store
2023-10-13	12:44:05	1335	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	12:44:05	1335	[DEBUG]	Manufacturer exists
2023-10-13	12:44:05	1335	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	12:44:05	1335	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:05	1335	[DEBUG]	Executed store
2023-10-13	12:44:05	1335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860827','52')
2023-10-13	12:44:05	1335	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:05	1335	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:05	1335	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860827 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:05	1335	[DEBUG]	Store custom available field
2023-10-13	12:44:05	1335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860827,3,'',1)
2023-10-13	12:44:05	1335	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:05	1335	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:05	1335	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860827 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:05	1335	[DEBUG]	Store custom available field
2023-10-13	12:44:05	1335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860827,6,'Unitaire',3)
2023-10-13	12:44:05	1335	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:05	1335	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:05	1335	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860826
2023-10-13	12:44:05	1335	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:05	1335	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860826\":[1860826,8,1,\"choisir la taille\"],\"1860827\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860826
2023-10-13	12:44:05	1335	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:05	1335	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860827
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:05	1336	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field taille
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:05	1336	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:05	1336	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:05	1336	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:05	1336	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:05	1336	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:05	1336	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:05	1336	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field published
2023-10-13	12:44:05	1336	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:05	1336	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field override
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:05	1336	[DEBUG]	Use field value for field slug
2023-10-13	12:44:05	1336	[DEBUG]	Process line 1336
2023-10-13	12:44:05	1336	[DEBUG]	Load a row
2023-10-13	12:44:05	1336	[DEBUG]	Processing item: A_5423_1
2023-10-13	12:44:05	1336	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:05	1336	[DEBUG]	Processing product tax
2023-10-13	12:44:05	1336	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:05	1336	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:05	1336	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:05	1336	[DEBUG]	Query for Product
2023-10-13	12:44:05	1336	[DEBUG]	Executed store
2023-10-13	12:44:05	1336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5423_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:05	1336	[DEBUG]	Check product language entry
2023-10-13	12:44:05	1336	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860828
2023-10-13	12:44:05	1336	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:05	1336	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5423_1' AND `virtuemart_product_id` != 1860828
2023-10-13	12:44:05	1336	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:05	1336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860828, 'A_5423_1')
2023-10-13	12:44:05	1336	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:05	1336	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-sv16-40mm-noir' AND `virtuemart_product_id` != 1860828
2023-10-13	12:44:05	1336	[DEBUG]	Query for ProductLang
2023-10-13	12:44:05	1336	[DEBUG]	Executed store
2023-10-13	12:44:05	1336	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.076',`product_name`='SCHWALBE Chambre-à-air 28 SV16 40mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-sv16-40mm-noir' WHERE `virtuemart_product_id` = '1860828'
2023-10-13	12:44:05	1336	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29911_chambres-a-air_schwalbe_28__sv16_40mm.jpg
2023-10-13	12:44:05	1336	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:05	1336	[DEBUG]	Process image file
2023-10-13	12:44:05	1336	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:05	1336	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:05	1336	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29911_chambres-a-air_schwalbe_28__sv16_40mm.jpg
2023-10-13	12:44:05	1336	[DEBUG]	Full name target: bcprisme/29911_chambres-a-air_schwalbe_28__sv16_40mm.jpg
2023-10-13	12:44:06	1336	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:06	1336	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29911_chambres-a-air_schwalbe_28__sv16_40mm.jpg'
2023-10-13	12:44:06	1336	[DEBUG]	Query for Media
2023-10-13	12:44:06	1336	[DEBUG]	Executed store
2023-10-13	12:44:06	1336	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29911_chambres-a-air_schwalbe_28__sv16_40mm.jpg',`file_url_thumb`='bcprisme/29911_chambres-a-air_schwalbe_28__sv16_40mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12629'
2023-10-13	12:44:06	1336	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:06	1336	[DEBUG]	Executed store
2023-10-13	12:44:06	1336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860828','12629','1')
2023-10-13	12:44:06	1336	[DEBUG]	Store product image relation
2023-10-13	12:44:06	1336	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:06	1336	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860828 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:06	1336	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:06	1336	[DEBUG]	Executed store
2023-10-13	12:44:06	1336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860828','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:06	1336	[DEBUG]	Checking manufacturer
2023-10-13	12:44:06	1336	[DEBUG]	Load a row
2023-10-13	12:44:06	1336	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:06	1336	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:06	1336	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:06	1336	[DEBUG]	Executed store
2023-10-13	12:44:06	1336	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:06	1336	[DEBUG]	Manufacturer exists
2023-10-13	12:44:06	1336	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:06	1336	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:06	1336	[DEBUG]	Executed store
2023-10-13	12:44:06	1336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860828','25')
2023-10-13	12:44:06	1336	[DEBUG]	Find the custom field ID
2023-10-13	12:44:06	1336	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:06	1336	[DEBUG]	No custom field ID found
2023-10-13	12:44:06	1336	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:06	1336	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:06	1336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860828 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:06	1336	[DEBUG]	Store custom available field
2023-10-13	12:44:06	1336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860828,3,'0',1)
2023-10-13	12:44:06	1336	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:06	1336	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:06	1336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860828 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:06	1336	[DEBUG]	Store custom available field
2023-10-13	12:44:06	1336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860828,6,'choisir la taille',3)
2023-10-13	12:44:06	1336	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:06	1336	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:06	1336	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:06	1336	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:06	1336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860828 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:06	1336	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:06	1336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860828,8,1)
2023-10-13	12:44:06	1336	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:06	1336	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860828\":[1860828,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860828
2023-10-13	12:44:06	1336	[DEBUG]	Checking category
2023-10-13	12:44:06	1336	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:06	1336	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860828
2023-10-13	12:44:06	1336	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:06	1336	[DEBUG]	Executed store
2023-10-13	12:44:06	1336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860828','7300')
2023-10-13	12:44:06	1336	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:06	1336	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860828 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:44:06	1336	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:06	1336	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860828
2023-10-13	12:44:06	1337	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:06	1337	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:06	1337	[DEBUG]	Use field value for field taille
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:06	1337	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:06	1337	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:06	1337	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:06	1337	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:06	1337	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:06	1337	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:06	1337	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:06	1337	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:06	1337	[DEBUG]	Use field value for field published
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:06	1337	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field override
2023-10-13	12:44:06	1337	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:06	1337	[DEBUG]	Use field value for field slug
2023-10-13	12:44:06	1337	[DEBUG]	Process line 1337
2023-10-13	12:44:06	1337	[DEBUG]	Load a row
2023-10-13	12:44:06	1337	[DEBUG]	Processing item: 4026495099585
2023-10-13	12:44:06	1337	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:06	1337	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:06	1337	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5423_1'
2023-10-13	12:44:06	1337	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:06	1337	[DEBUG]	Processing product tax
2023-10-13	12:44:06	1337	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:06	1337	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:06	1337	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:06	1337	[DEBUG]	Query for Product
2023-10-13	12:44:06	1337	[DEBUG]	Executed store
2023-10-13	12:44:06	1337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860828','4026495099585','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:06	1337	[DEBUG]	No parent found
2023-10-13	12:44:06	1337	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860828 AND customfield_value = 'stockable'
2023-10-13	12:44:06	1337	[DEBUG]	Check product language entry
2023-10-13	12:44:06	1337	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860829
2023-10-13	12:44:06	1337	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:06	1337	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495099585' AND `virtuemart_product_id` != 1860829
2023-10-13	12:44:06	1337	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:06	1337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860829, '4026495099585')
2023-10-13	12:44:06	1337	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:06	1337	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-sv16-40mm-noir-unitaire' AND `virtuemart_product_id` != 1860829
2023-10-13	12:44:06	1337	[DEBUG]	Query for ProductLang
2023-10-13	12:44:06	1337	[DEBUG]	Executed store
2023-10-13	12:44:06	1337	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 28 SV16 40mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-sv16-40mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860829'
2023-10-13	12:44:06	1337	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29911_chambres-a-air_schwalbe_28__sv16_40mm.jpg
2023-10-13	12:44:06	1337	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:06	1337	[DEBUG]	Process image file
2023-10-13	12:44:06	1337	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:06	1337	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:06	1337	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29911_chambres-a-air_schwalbe_28__sv16_40mm.jpg
2023-10-13	12:44:06	1337	[DEBUG]	Full name target: bcprisme/29911_chambres-a-air_schwalbe_28__sv16_40mm.jpg
2023-10-13	12:44:07	1337	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:07	1337	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29911_chambres-a-air_schwalbe_28__sv16_40mm.jpg'
2023-10-13	12:44:07	1337	[DEBUG]	Query for Media
2023-10-13	12:44:07	1337	[DEBUG]	Executed store
2023-10-13	12:44:07	1337	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29911_chambres-a-air_schwalbe_28__sv16_40mm.jpg',`file_url_thumb`='bcprisme/29911_chambres-a-air_schwalbe_28__sv16_40mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12629'
2023-10-13	12:44:07	1337	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:07	1337	[DEBUG]	Executed store
2023-10-13	12:44:07	1337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860829','12629','1')
2023-10-13	12:44:07	1337	[DEBUG]	Store product image relation
2023-10-13	12:44:07	1337	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:07	1337	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860829 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:07	1337	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:07	1337	[DEBUG]	Executed store
2023-10-13	12:44:07	1337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860829','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:07	1337	[DEBUG]	Checking manufacturer
2023-10-13	12:44:07	1337	[DEBUG]	Load a row
2023-10-13	12:44:07	1337	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:07	1337	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:07	1337	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:07	1337	[DEBUG]	Executed store
2023-10-13	12:44:07	1337	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:07	1337	[DEBUG]	Manufacturer exists
2023-10-13	12:44:07	1337	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:07	1337	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:07	1337	[DEBUG]	Executed store
2023-10-13	12:44:07	1337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860829','25')
2023-10-13	12:44:07	1337	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:07	1337	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:07	1337	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860829 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:07	1337	[DEBUG]	Store custom available field
2023-10-13	12:44:07	1337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860829,3,'',1)
2023-10-13	12:44:07	1337	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:07	1337	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:07	1337	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860829 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:07	1337	[DEBUG]	Store custom available field
2023-10-13	12:44:07	1337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860829,6,'Unitaire',3)
2023-10-13	12:44:07	1337	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:07	1337	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:07	1337	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860828
2023-10-13	12:44:07	1337	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:07	1337	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860828\":[1860828,8,1,\"choisir la taille\"],\"1860829\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860828
2023-10-13	12:44:07	1337	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:07	1337	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860829
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:07	1338	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field taille
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:07	1338	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:07	1338	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:07	1338	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:07	1338	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:07	1338	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:07	1338	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:07	1338	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field published
2023-10-13	12:44:07	1338	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:07	1338	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field override
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:07	1338	[DEBUG]	Use field value for field slug
2023-10-13	12:44:07	1338	[DEBUG]	Process line 1338
2023-10-13	12:44:07	1338	[DEBUG]	Load a row
2023-10-13	12:44:07	1338	[DEBUG]	Processing item: A_5424_1
2023-10-13	12:44:07	1338	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:07	1338	[DEBUG]	Processing product tax
2023-10-13	12:44:07	1338	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:07	1338	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:07	1338	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:07	1338	[DEBUG]	Query for Product
2023-10-13	12:44:07	1338	[DEBUG]	Executed store
2023-10-13	12:44:07	1338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5424_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:07	1338	[DEBUG]	Check product language entry
2023-10-13	12:44:07	1338	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860830
2023-10-13	12:44:07	1338	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:07	1338	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5424_1' AND `virtuemart_product_id` != 1860830
2023-10-13	12:44:07	1338	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:07	1338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860830, 'A_5424_1')
2023-10-13	12:44:07	1338	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:07	1338	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-sv17-50mm-noir' AND `virtuemart_product_id` != 1860830
2023-10-13	12:44:07	1338	[DEBUG]	Query for ProductLang
2023-10-13	12:44:07	1338	[DEBUG]	Executed store
2023-10-13	12:44:07	1338	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.034',`product_name`='SCHWALBE Chambre-à-air 28 SV17 50mm  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-sv17-50mm-noir' WHERE `virtuemart_product_id` = '1860830'
2023-10-13	12:44:07	1338	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29912_chambres-a-air_schwalbe_28__sv17_50mm_.jpg
2023-10-13	12:44:07	1338	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:07	1338	[DEBUG]	Process image file
2023-10-13	12:44:07	1338	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:07	1338	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:07	1338	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29912_chambres-a-air_schwalbe_28__sv17_50mm_.jpg
2023-10-13	12:44:07	1338	[DEBUG]	Full name target: bcprisme/29912_chambres-a-air_schwalbe_28__sv17_50mm_.jpg
2023-10-13	12:44:08	1338	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:08	1338	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29912_chambres-a-air_schwalbe_28__sv17_50mm_.jpg'
2023-10-13	12:44:08	1338	[DEBUG]	Query for Media
2023-10-13	12:44:08	1338	[DEBUG]	Executed store
2023-10-13	12:44:08	1338	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29912_chambres-a-air_schwalbe_28__sv17_50mm_.jpg',`file_url_thumb`='bcprisme/29912_chambres-a-air_schwalbe_28__sv17_50mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12630'
2023-10-13	12:44:08	1338	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:08	1338	[DEBUG]	Executed store
2023-10-13	12:44:08	1338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860830','12630','1')
2023-10-13	12:44:08	1338	[DEBUG]	Store product image relation
2023-10-13	12:44:08	1338	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:08	1338	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860830 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:08	1338	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:08	1338	[DEBUG]	Executed store
2023-10-13	12:44:08	1338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860830','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:08	1338	[DEBUG]	Checking manufacturer
2023-10-13	12:44:08	1338	[DEBUG]	Load a row
2023-10-13	12:44:08	1338	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:08	1338	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:08	1338	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:08	1338	[DEBUG]	Executed store
2023-10-13	12:44:08	1338	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:08	1338	[DEBUG]	Manufacturer exists
2023-10-13	12:44:08	1338	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:08	1338	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:08	1338	[DEBUG]	Executed store
2023-10-13	12:44:08	1338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860830','25')
2023-10-13	12:44:08	1338	[DEBUG]	Find the custom field ID
2023-10-13	12:44:08	1338	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:08	1338	[DEBUG]	No custom field ID found
2023-10-13	12:44:08	1338	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:08	1338	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:08	1338	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860830 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:08	1338	[DEBUG]	Store custom available field
2023-10-13	12:44:08	1338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860830,3,'0',1)
2023-10-13	12:44:08	1338	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:08	1338	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:08	1338	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860830 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:08	1338	[DEBUG]	Store custom available field
2023-10-13	12:44:08	1338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860830,6,'choisir la taille',3)
2023-10-13	12:44:08	1338	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:08	1338	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:08	1338	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:08	1338	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:08	1338	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860830 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:08	1338	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:08	1338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860830,8,1)
2023-10-13	12:44:08	1338	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:08	1338	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860830\":[1860830,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860830
2023-10-13	12:44:08	1338	[DEBUG]	Checking category
2023-10-13	12:44:08	1338	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:08	1338	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860830
2023-10-13	12:44:08	1338	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:08	1338	[DEBUG]	Executed store
2023-10-13	12:44:08	1338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860830','7300')
2023-10-13	12:44:08	1338	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:08	1338	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860830 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:44:08	1338	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:08	1338	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860830
2023-10-13	12:44:08	1339	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:08	1339	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:08	1339	[DEBUG]	Use field value for field taille
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:08	1339	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:08	1339	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:08	1339	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:08	1339	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:08	1339	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:08	1339	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:08	1339	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:08	1339	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:08	1339	[DEBUG]	Use field value for field published
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:08	1339	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field override
2023-10-13	12:44:08	1339	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:08	1339	[DEBUG]	Use field value for field slug
2023-10-13	12:44:08	1339	[DEBUG]	Process line 1339
2023-10-13	12:44:08	1339	[DEBUG]	Load a row
2023-10-13	12:44:08	1339	[DEBUG]	Processing item: 4026495733144
2023-10-13	12:44:08	1339	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:08	1339	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:08	1339	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5424_1'
2023-10-13	12:44:08	1339	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:08	1339	[DEBUG]	Processing product tax
2023-10-13	12:44:08	1339	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:08	1339	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:08	1339	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:08	1339	[DEBUG]	Query for Product
2023-10-13	12:44:08	1339	[DEBUG]	Executed store
2023-10-13	12:44:08	1339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860830','4026495733144','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:08	1339	[DEBUG]	No parent found
2023-10-13	12:44:08	1339	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860830 AND customfield_value = 'stockable'
2023-10-13	12:44:08	1339	[DEBUG]	Check product language entry
2023-10-13	12:44:08	1339	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860831
2023-10-13	12:44:08	1339	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:08	1339	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495733144' AND `virtuemart_product_id` != 1860831
2023-10-13	12:44:08	1339	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:08	1339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860831, '4026495733144')
2023-10-13	12:44:08	1339	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:08	1339	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-sv17-50mm-noir-unitaire' AND `virtuemart_product_id` != 1860831
2023-10-13	12:44:08	1339	[DEBUG]	Query for ProductLang
2023-10-13	12:44:08	1339	[DEBUG]	Executed store
2023-10-13	12:44:08	1339	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 28 SV17 50mm  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-sv17-50mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860831'
2023-10-13	12:44:08	1339	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29912_chambres-a-air_schwalbe_28__sv17_50mm_.jpg
2023-10-13	12:44:08	1339	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:08	1339	[DEBUG]	Process image file
2023-10-13	12:44:08	1339	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:08	1339	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:08	1339	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29912_chambres-a-air_schwalbe_28__sv17_50mm_.jpg
2023-10-13	12:44:08	1339	[DEBUG]	Full name target: bcprisme/29912_chambres-a-air_schwalbe_28__sv17_50mm_.jpg
2023-10-13	12:44:09	1339	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:09	1339	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29912_chambres-a-air_schwalbe_28__sv17_50mm_.jpg'
2023-10-13	12:44:09	1339	[DEBUG]	Query for Media
2023-10-13	12:44:09	1339	[DEBUG]	Executed store
2023-10-13	12:44:09	1339	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29912_chambres-a-air_schwalbe_28__sv17_50mm_.jpg',`file_url_thumb`='bcprisme/29912_chambres-a-air_schwalbe_28__sv17_50mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12630'
2023-10-13	12:44:09	1339	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:09	1339	[DEBUG]	Executed store
2023-10-13	12:44:09	1339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860831','12630','1')
2023-10-13	12:44:09	1339	[DEBUG]	Store product image relation
2023-10-13	12:44:09	1339	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:09	1339	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860831 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:09	1339	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:09	1339	[DEBUG]	Executed store
2023-10-13	12:44:09	1339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860831','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:09	1339	[DEBUG]	Checking manufacturer
2023-10-13	12:44:09	1339	[DEBUG]	Load a row
2023-10-13	12:44:09	1339	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:09	1339	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:09	1339	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:09	1339	[DEBUG]	Executed store
2023-10-13	12:44:09	1339	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:09	1339	[DEBUG]	Manufacturer exists
2023-10-13	12:44:09	1339	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:09	1339	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:09	1339	[DEBUG]	Executed store
2023-10-13	12:44:09	1339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860831','25')
2023-10-13	12:44:09	1339	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:09	1339	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:09	1339	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860831 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:09	1339	[DEBUG]	Store custom available field
2023-10-13	12:44:09	1339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860831,3,'',1)
2023-10-13	12:44:09	1339	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:09	1339	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:09	1339	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860831 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:09	1339	[DEBUG]	Store custom available field
2023-10-13	12:44:09	1339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860831,6,'Unitaire',3)
2023-10-13	12:44:09	1339	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:09	1339	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:09	1339	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860830
2023-10-13	12:44:09	1339	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:09	1339	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860830\":[1860830,8,1,\"choisir la taille\"],\"1860831\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860830
2023-10-13	12:44:09	1339	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:09	1339	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860831
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:09	1340	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field taille
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:09	1340	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:09	1340	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:09	1340	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:09	1340	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:09	1340	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:09	1340	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:09	1340	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field published
2023-10-13	12:44:09	1340	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:09	1340	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field override
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:09	1340	[DEBUG]	Use field value for field slug
2023-10-13	12:44:09	1340	[DEBUG]	Process line 1340
2023-10-13	12:44:09	1340	[DEBUG]	Load a row
2023-10-13	12:44:09	1340	[DEBUG]	Processing item: A_5425_1
2023-10-13	12:44:09	1340	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:09	1340	[DEBUG]	Processing product tax
2023-10-13	12:44:09	1340	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:09	1340	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:09	1340	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:09	1340	[DEBUG]	Query for Product
2023-10-13	12:44:09	1340	[DEBUG]	Executed store
2023-10-13	12:44:09	1340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5425_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:09	1340	[DEBUG]	Check product language entry
2023-10-13	12:44:09	1340	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860832
2023-10-13	12:44:09	1340	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:09	1340	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5425_1' AND `virtuemart_product_id` != 1860832
2023-10-13	12:44:09	1340	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:09	1340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860832, 'A_5425_1')
2023-10-13	12:44:09	1340	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:09	1340	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-sv20-60mm-xlight-noir' AND `virtuemart_product_id` != 1860832
2023-10-13	12:44:09	1340	[DEBUG]	Query for ProductLang
2023-10-13	12:44:09	1340	[DEBUG]	Executed store
2023-10-13	12:44:09	1340	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.040',`product_name`='SCHWALBE Chambre-à-air 28 SV20 60mm XLight / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-sv20-60mm-xlight-noir' WHERE `virtuemart_product_id` = '1860832'
2023-10-13	12:44:09	1340	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29913_chambres-a-air_schwalbe_28__sv20_60mm_xlight.jpg
2023-10-13	12:44:09	1340	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:09	1340	[DEBUG]	Process image file
2023-10-13	12:44:09	1340	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:10	1340	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:10	1340	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29913_chambres-a-air_schwalbe_28__sv20_60mm_xlight.jpg
2023-10-13	12:44:10	1340	[DEBUG]	Full name target: bcprisme/29913_chambres-a-air_schwalbe_28__sv20_60mm_xlight.jpg
2023-10-13	12:44:10	1340	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:10	1340	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29913_chambres-a-air_schwalbe_28__sv20_60mm_xlight.jpg'
2023-10-13	12:44:10	1340	[DEBUG]	Query for Media
2023-10-13	12:44:10	1340	[DEBUG]	Executed store
2023-10-13	12:44:10	1340	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29913_chambres-a-air_schwalbe_28__sv20_60mm_xlight.jpg',`file_url_thumb`='bcprisme/29913_chambres-a-air_schwalbe_28__sv20_60mm_xlight.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12631'
2023-10-13	12:44:10	1340	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:10	1340	[DEBUG]	Executed store
2023-10-13	12:44:10	1340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860832','12631','1')
2023-10-13	12:44:10	1340	[DEBUG]	Store product image relation
2023-10-13	12:44:10	1340	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:10	1340	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860832 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:10	1340	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:10	1340	[DEBUG]	Executed store
2023-10-13	12:44:10	1340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860832','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:10	1340	[DEBUG]	Checking manufacturer
2023-10-13	12:44:10	1340	[DEBUG]	Load a row
2023-10-13	12:44:10	1340	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:10	1340	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:10	1340	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:10	1340	[DEBUG]	Executed store
2023-10-13	12:44:10	1340	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:10	1340	[DEBUG]	Manufacturer exists
2023-10-13	12:44:10	1340	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:10	1340	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:10	1340	[DEBUG]	Executed store
2023-10-13	12:44:10	1340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860832','25')
2023-10-13	12:44:10	1340	[DEBUG]	Find the custom field ID
2023-10-13	12:44:10	1340	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:10	1340	[DEBUG]	No custom field ID found
2023-10-13	12:44:10	1340	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:10	1340	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:10	1340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860832 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:10	1340	[DEBUG]	Store custom available field
2023-10-13	12:44:10	1340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860832,3,'0',1)
2023-10-13	12:44:10	1340	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:10	1340	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:10	1340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860832 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:10	1340	[DEBUG]	Store custom available field
2023-10-13	12:44:10	1340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860832,6,'choisir la taille',3)
2023-10-13	12:44:10	1340	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:10	1340	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:10	1340	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:10	1340	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:10	1340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860832 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:10	1340	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:10	1340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860832,8,1)
2023-10-13	12:44:10	1340	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:10	1340	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860832\":[1860832,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860832
2023-10-13	12:44:10	1340	[DEBUG]	Checking category
2023-10-13	12:44:10	1340	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:10	1340	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860832
2023-10-13	12:44:10	1340	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:10	1340	[DEBUG]	Executed store
2023-10-13	12:44:10	1340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860832','7300')
2023-10-13	12:44:10	1340	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:10	1340	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860832 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:44:10	1340	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:10	1340	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860832
2023-10-13	12:44:10	1341	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:10	1341	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:10	1341	[DEBUG]	Use field value for field taille
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:10	1341	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:10	1341	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:10	1341	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:10	1341	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:10	1341	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:10	1341	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:10	1341	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:10	1341	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:10	1341	[DEBUG]	Use field value for field published
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:10	1341	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field override
2023-10-13	12:44:10	1341	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:10	1341	[DEBUG]	Use field value for field slug
2023-10-13	12:44:11	1341	[DEBUG]	Process line 1341
2023-10-13	12:44:11	1341	[DEBUG]	Load a row
2023-10-13	12:44:11	1341	[DEBUG]	Processing item: 4026495099745
2023-10-13	12:44:11	1341	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:11	1341	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:11	1341	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5425_1'
2023-10-13	12:44:11	1341	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:11	1341	[DEBUG]	Processing product tax
2023-10-13	12:44:11	1341	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:11	1341	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:11	1341	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:11	1341	[DEBUG]	Query for Product
2023-10-13	12:44:11	1341	[DEBUG]	Executed store
2023-10-13	12:44:11	1341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860832','4026495099745','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:11	1341	[DEBUG]	No parent found
2023-10-13	12:44:11	1341	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860832 AND customfield_value = 'stockable'
2023-10-13	12:44:11	1341	[DEBUG]	Check product language entry
2023-10-13	12:44:11	1341	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860833
2023-10-13	12:44:11	1341	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:11	1341	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495099745' AND `virtuemart_product_id` != 1860833
2023-10-13	12:44:11	1341	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:11	1341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860833, '4026495099745')
2023-10-13	12:44:11	1341	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:11	1341	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-sv20-60mm-xlight-noir-unitaire' AND `virtuemart_product_id` != 1860833
2023-10-13	12:44:11	1341	[DEBUG]	Query for ProductLang
2023-10-13	12:44:11	1341	[DEBUG]	Executed store
2023-10-13	12:44:11	1341	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 28 SV20 60mm XLight / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-sv20-60mm-xlight-noir-unitaire' WHERE `virtuemart_product_id` = '1860833'
2023-10-13	12:44:11	1341	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29913_chambres-a-air_schwalbe_28__sv20_60mm_xlight.jpg
2023-10-13	12:44:11	1341	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:11	1341	[DEBUG]	Process image file
2023-10-13	12:44:11	1341	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:11	1341	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:11	1341	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29913_chambres-a-air_schwalbe_28__sv20_60mm_xlight.jpg
2023-10-13	12:44:11	1341	[DEBUG]	Full name target: bcprisme/29913_chambres-a-air_schwalbe_28__sv20_60mm_xlight.jpg
2023-10-13	12:44:11	1341	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:11	1341	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29913_chambres-a-air_schwalbe_28__sv20_60mm_xlight.jpg'
2023-10-13	12:44:11	1341	[DEBUG]	Query for Media
2023-10-13	12:44:11	1341	[DEBUG]	Executed store
2023-10-13	12:44:11	1341	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29913_chambres-a-air_schwalbe_28__sv20_60mm_xlight.jpg',`file_url_thumb`='bcprisme/29913_chambres-a-air_schwalbe_28__sv20_60mm_xlight.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12631'
2023-10-13	12:44:12	1341	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:12	1341	[DEBUG]	Executed store
2023-10-13	12:44:12	1341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860833','12631','1')
2023-10-13	12:44:12	1341	[DEBUG]	Store product image relation
2023-10-13	12:44:12	1341	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:12	1341	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860833 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:12	1341	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:12	1341	[DEBUG]	Executed store
2023-10-13	12:44:12	1341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860833','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:12	1341	[DEBUG]	Checking manufacturer
2023-10-13	12:44:12	1341	[DEBUG]	Load a row
2023-10-13	12:44:12	1341	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:12	1341	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:12	1341	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:12	1341	[DEBUG]	Executed store
2023-10-13	12:44:12	1341	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:12	1341	[DEBUG]	Manufacturer exists
2023-10-13	12:44:12	1341	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:12	1341	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:12	1341	[DEBUG]	Executed store
2023-10-13	12:44:12	1341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860833','25')
2023-10-13	12:44:12	1341	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:12	1341	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:12	1341	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860833 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:12	1341	[DEBUG]	Store custom available field
2023-10-13	12:44:12	1341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860833,3,'',1)
2023-10-13	12:44:12	1341	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:12	1341	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:12	1341	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860833 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:12	1341	[DEBUG]	Store custom available field
2023-10-13	12:44:12	1341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860833,6,'Unitaire',3)
2023-10-13	12:44:12	1341	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:12	1341	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:12	1341	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860832
2023-10-13	12:44:12	1341	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:12	1341	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860832\":[1860832,8,1,\"choisir la taille\"],\"1860833\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860832
2023-10-13	12:44:12	1341	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:12	1341	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860833
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:12	1342	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field taille
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:12	1342	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:12	1342	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:12	1342	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:12	1342	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:12	1342	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:12	1342	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:12	1342	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field published
2023-10-13	12:44:12	1342	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:12	1342	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field override
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:12	1342	[DEBUG]	Use field value for field slug
2023-10-13	12:44:12	1342	[DEBUG]	Process line 1342
2023-10-13	12:44:12	1342	[DEBUG]	Load a row
2023-10-13	12:44:12	1342	[DEBUG]	Processing item: A_5558_1
2023-10-13	12:44:12	1342	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:12	1342	[DEBUG]	Processing product tax
2023-10-13	12:44:12	1342	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:12	1342	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:12	1342	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:12	1342	[DEBUG]	Query for Product
2023-10-13	12:44:12	1342	[DEBUG]	Executed store
2023-10-13	12:44:12	1342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5558_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:12	1342	[DEBUG]	Check product language entry
2023-10-13	12:44:12	1342	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860834
2023-10-13	12:44:12	1342	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:12	1342	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5558_1' AND `virtuemart_product_id` != 1860834
2023-10-13	12:44:12	1342	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:12	1342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860834, 'A_5558_1')
2023-10-13	12:44:12	1342	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:12	1342	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-sv20-xlight-presta-80mm-noir' AND `virtuemart_product_id` != 1860834
2023-10-13	12:44:12	1342	[DEBUG]	Query for ProductLang
2023-10-13	12:44:12	1342	[DEBUG]	Executed store
2023-10-13	12:44:12	1342	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.078',`product_name`='SCHWALBE Chambre-à-air 28 SV20 XLight Presta 80mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-sv20-xlight-presta-80mm-noir' WHERE `virtuemart_product_id` = '1860834'
2023-10-13	12:44:12	1342	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30058_chambres-a-air_schwalbe_28__sv20_xlight_presta_80mm.jpg
2023-10-13	12:44:12	1342	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:12	1342	[DEBUG]	Process image file
2023-10-13	12:44:12	1342	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:12	1342	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:12	1342	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30058_chambres-a-air_schwalbe_28__sv20_xlight_presta_80mm.jpg
2023-10-13	12:44:12	1342	[DEBUG]	Full name target: bcprisme/30058_chambres-a-air_schwalbe_28__sv20_xlight_presta_80mm.jpg
2023-10-13	12:44:13	1342	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:13	1342	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30058_chambres-a-air_schwalbe_28__sv20_xlight_presta_80mm.jpg'
2023-10-13	12:44:13	1342	[DEBUG]	Query for Media
2023-10-13	12:44:13	1342	[DEBUG]	Executed store
2023-10-13	12:44:13	1342	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30058_chambres-a-air_schwalbe_28__sv20_xlight_presta_80mm.jpg',`file_url_thumb`='bcprisme/30058_chambres-a-air_schwalbe_28__sv20_xlight_presta_80mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15825'
2023-10-13	12:44:13	1342	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:13	1342	[DEBUG]	Executed store
2023-10-13	12:44:13	1342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860834','15825','1')
2023-10-13	12:44:13	1342	[DEBUG]	Store product image relation
2023-10-13	12:44:13	1342	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:13	1342	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860834 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:13	1342	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:13	1342	[DEBUG]	Executed store
2023-10-13	12:44:13	1342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860834','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:13	1342	[DEBUG]	Checking manufacturer
2023-10-13	12:44:13	1342	[DEBUG]	Load a row
2023-10-13	12:44:13	1342	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:13	1342	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:13	1342	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:13	1342	[DEBUG]	Executed store
2023-10-13	12:44:13	1342	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:13	1342	[DEBUG]	Manufacturer exists
2023-10-13	12:44:13	1342	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:13	1342	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:13	1342	[DEBUG]	Executed store
2023-10-13	12:44:13	1342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860834','25')
2023-10-13	12:44:13	1342	[DEBUG]	Find the custom field ID
2023-10-13	12:44:13	1342	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:13	1342	[DEBUG]	No custom field ID found
2023-10-13	12:44:13	1342	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:13	1342	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:13	1342	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860834 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:13	1342	[DEBUG]	Store custom available field
2023-10-13	12:44:13	1342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860834,3,'0',1)
2023-10-13	12:44:13	1342	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:13	1342	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:13	1342	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860834 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:13	1342	[DEBUG]	Store custom available field
2023-10-13	12:44:13	1342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860834,6,'choisir la taille',3)
2023-10-13	12:44:13	1342	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:13	1342	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:13	1342	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:13	1342	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:13	1342	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860834 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:13	1342	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:13	1342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860834,8,1)
2023-10-13	12:44:13	1342	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:13	1342	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860834\":[1860834,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860834
2023-10-13	12:44:13	1342	[DEBUG]	Checking category
2023-10-13	12:44:13	1342	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:13	1342	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860834
2023-10-13	12:44:13	1342	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:13	1342	[DEBUG]	Executed store
2023-10-13	12:44:13	1342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860834','7300')
2023-10-13	12:44:13	1342	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:13	1342	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860834 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:44:13	1342	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:13	1342	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860834
2023-10-13	12:44:13	1343	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:13	1343	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:13	1343	[DEBUG]	Use field value for field taille
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:13	1343	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:13	1343	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:13	1343	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:13	1343	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:13	1343	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:13	1343	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:13	1343	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:13	1343	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:13	1343	[DEBUG]	Use field value for field published
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:13	1343	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field override
2023-10-13	12:44:13	1343	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:13	1343	[DEBUG]	Use field value for field slug
2023-10-13	12:44:13	1343	[DEBUG]	Process line 1343
2023-10-13	12:44:13	1343	[DEBUG]	Load a row
2023-10-13	12:44:13	1343	[DEBUG]	Processing item: 4026495450546
2023-10-13	12:44:13	1343	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:13	1343	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:13	1343	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5558_1'
2023-10-13	12:44:13	1343	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:13	1343	[DEBUG]	Processing product tax
2023-10-13	12:44:13	1343	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:13	1343	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:13	1343	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:13	1343	[DEBUG]	Query for Product
2023-10-13	12:44:13	1343	[DEBUG]	Executed store
2023-10-13	12:44:13	1343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860834','4026495450546','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:13	1343	[DEBUG]	No parent found
2023-10-13	12:44:13	1343	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860834 AND customfield_value = 'stockable'
2023-10-13	12:44:13	1343	[DEBUG]	Check product language entry
2023-10-13	12:44:13	1343	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860835
2023-10-13	12:44:13	1343	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:13	1343	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495450546' AND `virtuemart_product_id` != 1860835
2023-10-13	12:44:13	1343	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:13	1343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860835, '4026495450546')
2023-10-13	12:44:13	1343	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:13	1343	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-sv20-xlight-presta-80mm-noir-unitaire' AND `virtuemart_product_id` != 1860835
2023-10-13	12:44:13	1343	[DEBUG]	Query for ProductLang
2023-10-13	12:44:13	1343	[DEBUG]	Executed store
2023-10-13	12:44:13	1343	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 28 SV20 XLight Presta 80mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-sv20-xlight-presta-80mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860835'
2023-10-13	12:44:13	1343	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30058_chambres-a-air_schwalbe_28__sv20_xlight_presta_80mm.jpg
2023-10-13	12:44:13	1343	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:13	1343	[DEBUG]	Process image file
2023-10-13	12:44:13	1343	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:13	1343	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:13	1343	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30058_chambres-a-air_schwalbe_28__sv20_xlight_presta_80mm.jpg
2023-10-13	12:44:13	1343	[DEBUG]	Full name target: bcprisme/30058_chambres-a-air_schwalbe_28__sv20_xlight_presta_80mm.jpg
2023-10-13	12:44:14	1343	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:14	1343	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30058_chambres-a-air_schwalbe_28__sv20_xlight_presta_80mm.jpg'
2023-10-13	12:44:14	1343	[DEBUG]	Query for Media
2023-10-13	12:44:14	1343	[DEBUG]	Executed store
2023-10-13	12:44:14	1343	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30058_chambres-a-air_schwalbe_28__sv20_xlight_presta_80mm.jpg',`file_url_thumb`='bcprisme/30058_chambres-a-air_schwalbe_28__sv20_xlight_presta_80mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15825'
2023-10-13	12:44:14	1343	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:14	1343	[DEBUG]	Executed store
2023-10-13	12:44:14	1343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860835','15825','1')
2023-10-13	12:44:14	1343	[DEBUG]	Store product image relation
2023-10-13	12:44:14	1343	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:14	1343	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860835 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:14	1343	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:14	1343	[DEBUG]	Executed store
2023-10-13	12:44:14	1343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860835','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:14	1343	[DEBUG]	Checking manufacturer
2023-10-13	12:44:14	1343	[DEBUG]	Load a row
2023-10-13	12:44:14	1343	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:14	1343	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:14	1343	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:14	1343	[DEBUG]	Executed store
2023-10-13	12:44:14	1343	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:14	1343	[DEBUG]	Manufacturer exists
2023-10-13	12:44:14	1343	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:14	1343	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:14	1343	[DEBUG]	Executed store
2023-10-13	12:44:14	1343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860835','25')
2023-10-13	12:44:14	1343	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:14	1343	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:14	1343	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860835 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:14	1343	[DEBUG]	Store custom available field
2023-10-13	12:44:14	1343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860835,3,'',1)
2023-10-13	12:44:14	1343	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:14	1343	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:14	1343	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860835 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:14	1343	[DEBUG]	Store custom available field
2023-10-13	12:44:14	1343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860835,6,'Unitaire',3)
2023-10-13	12:44:14	1343	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:14	1343	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:14	1343	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860834
2023-10-13	12:44:14	1343	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:14	1343	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860834\":[1860834,8,1,\"choisir la taille\"],\"1860835\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860834
2023-10-13	12:44:14	1343	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:14	1343	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860835
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:14	1344	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field taille
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:14	1344	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:14	1344	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:14	1344	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:14	1344	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:14	1344	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:14	1344	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:14	1344	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field published
2023-10-13	12:44:14	1344	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:14	1344	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field override
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:14	1344	[DEBUG]	Use field value for field slug
2023-10-13	12:44:14	1344	[DEBUG]	Process line 1344
2023-10-13	12:44:14	1344	[DEBUG]	Load a row
2023-10-13	12:44:14	1344	[DEBUG]	Processing item: A_5703_1
2023-10-13	12:44:14	1344	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:14	1344	[DEBUG]	Processing product tax
2023-10-13	12:44:14	1344	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:14	1344	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:14	1344	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:14	1344	[DEBUG]	Query for Product
2023-10-13	12:44:14	1344	[DEBUG]	Executed store
2023-10-13	12:44:14	1344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5703_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:14	1344	[DEBUG]	Check product language entry
2023-10-13	12:44:14	1344	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860836
2023-10-13	12:44:14	1344	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:14	1344	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5703_1' AND `virtuemart_product_id` != 1860836
2023-10-13	12:44:14	1344	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:14	1344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860836, 'A_5703_1')
2023-10-13	12:44:14	1344	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:14	1344	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-29-sv19a-noir' AND `virtuemart_product_id` != 1860836
2023-10-13	12:44:14	1344	[DEBUG]	Query for ProductLang
2023-10-13	12:44:14	1344	[DEBUG]	Executed store
2023-10-13	12:44:14	1344	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.15.001',`product_name`='SCHWALBE Chambre-à-air 28,29 SV19A  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-29-sv19a-noir' WHERE `virtuemart_product_id` = '1860836'
2023-10-13	12:44:14	1344	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30208_chambres-a-air_schwalbe_28__29__sv19a_.jpg
2023-10-13	12:44:14	1344	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:14	1344	[DEBUG]	Process image file
2023-10-13	12:44:14	1344	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:14	1344	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:14	1344	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30208_chambres-a-air_schwalbe_28__29__sv19a_.jpg
2023-10-13	12:44:14	1344	[DEBUG]	Full name target: bcprisme/30208_chambres-a-air_schwalbe_28__29__sv19a_.jpg
2023-10-13	12:44:15	1344	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:15	1344	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30208_chambres-a-air_schwalbe_28__29__sv19a_.jpg'
2023-10-13	12:44:15	1344	[DEBUG]	Query for Media
2023-10-13	12:44:15	1344	[DEBUG]	Executed store
2023-10-13	12:44:15	1344	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30208_chambres-a-air_schwalbe_28__29__sv19a_.jpg',`file_url_thumb`='bcprisme/30208_chambres-a-air_schwalbe_28__29__sv19a_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12632'
2023-10-13	12:44:15	1344	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:15	1344	[DEBUG]	Executed store
2023-10-13	12:44:15	1344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860836','12632','1')
2023-10-13	12:44:15	1344	[DEBUG]	Store product image relation
2023-10-13	12:44:15	1344	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:15	1344	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860836 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:15	1344	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:15	1344	[DEBUG]	Executed store
2023-10-13	12:44:15	1344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860836','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:15	1344	[DEBUG]	Checking manufacturer
2023-10-13	12:44:15	1344	[DEBUG]	Load a row
2023-10-13	12:44:15	1344	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:15	1344	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:15	1344	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:15	1344	[DEBUG]	Executed store
2023-10-13	12:44:15	1344	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:15	1344	[DEBUG]	Manufacturer exists
2023-10-13	12:44:15	1344	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:15	1344	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:15	1344	[DEBUG]	Executed store
2023-10-13	12:44:15	1344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860836','25')
2023-10-13	12:44:15	1344	[DEBUG]	Find the custom field ID
2023-10-13	12:44:15	1344	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:15	1344	[DEBUG]	No custom field ID found
2023-10-13	12:44:15	1344	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:15	1344	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:15	1344	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860836 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:15	1344	[DEBUG]	Store custom available field
2023-10-13	12:44:15	1344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860836,3,'0',1)
2023-10-13	12:44:15	1344	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:15	1344	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:15	1344	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860836 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:15	1344	[DEBUG]	Store custom available field
2023-10-13	12:44:15	1344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860836,6,'choisir la taille',3)
2023-10-13	12:44:15	1344	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:15	1344	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:15	1344	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:15	1344	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:15	1344	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860836 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:15	1344	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:15	1344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860836,8,1)
2023-10-13	12:44:15	1344	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:15	1344	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860836\":[1860836,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860836
2023-10-13	12:44:15	1344	[DEBUG]	Checking category
2023-10-13	12:44:15	1344	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:15	1344	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860836
2023-10-13	12:44:15	1344	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:15	1344	[DEBUG]	Executed store
2023-10-13	12:44:15	1344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860836','7300')
2023-10-13	12:44:15	1344	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:15	1344	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860836 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:44:15	1344	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:15	1344	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860836
2023-10-13	12:44:15	1345	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:15	1345	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:15	1345	[DEBUG]	Use field value for field taille
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:15	1345	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:15	1345	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:15	1345	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:15	1345	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:15	1345	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:15	1345	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:15	1345	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:15	1345	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:15	1345	[DEBUG]	Use field value for field published
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:15	1345	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field override
2023-10-13	12:44:15	1345	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:15	1345	[DEBUG]	Use field value for field slug
2023-10-13	12:44:15	1345	[DEBUG]	Process line 1345
2023-10-13	12:44:15	1345	[DEBUG]	Load a row
2023-10-13	12:44:15	1345	[DEBUG]	Processing item: 4026495114769
2023-10-13	12:44:15	1345	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:15	1345	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:15	1345	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5703_1'
2023-10-13	12:44:15	1345	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:15	1345	[DEBUG]	Processing product tax
2023-10-13	12:44:15	1345	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:15	1345	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:15	1345	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:15	1345	[DEBUG]	Query for Product
2023-10-13	12:44:15	1345	[DEBUG]	Executed store
2023-10-13	12:44:15	1345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860836','4026495114769','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:15	1345	[DEBUG]	No parent found
2023-10-13	12:44:15	1345	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860836 AND customfield_value = 'stockable'
2023-10-13	12:44:15	1345	[DEBUG]	Check product language entry
2023-10-13	12:44:15	1345	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860837
2023-10-13	12:44:15	1345	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:15	1345	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495114769' AND `virtuemart_product_id` != 1860837
2023-10-13	12:44:15	1345	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:15	1345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860837, '4026495114769')
2023-10-13	12:44:15	1345	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:15	1345	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-29-sv19a-noir-unitaire' AND `virtuemart_product_id` != 1860837
2023-10-13	12:44:15	1345	[DEBUG]	Query for ProductLang
2023-10-13	12:44:15	1345	[DEBUG]	Executed store
2023-10-13	12:44:15	1345	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 28,29 SV19A  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-29-sv19a-noir-unitaire' WHERE `virtuemart_product_id` = '1860837'
2023-10-13	12:44:15	1345	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30208_chambres-a-air_schwalbe_28__29__sv19a_.jpg
2023-10-13	12:44:15	1345	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:15	1345	[DEBUG]	Process image file
2023-10-13	12:44:15	1345	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:15	1345	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:15	1345	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30208_chambres-a-air_schwalbe_28__29__sv19a_.jpg
2023-10-13	12:44:15	1345	[DEBUG]	Full name target: bcprisme/30208_chambres-a-air_schwalbe_28__29__sv19a_.jpg
2023-10-13	12:44:16	1345	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:16	1345	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30208_chambres-a-air_schwalbe_28__29__sv19a_.jpg'
2023-10-13	12:44:16	1345	[DEBUG]	Query for Media
2023-10-13	12:44:16	1345	[DEBUG]	Executed store
2023-10-13	12:44:16	1345	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30208_chambres-a-air_schwalbe_28__29__sv19a_.jpg',`file_url_thumb`='bcprisme/30208_chambres-a-air_schwalbe_28__29__sv19a_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12632'
2023-10-13	12:44:16	1345	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:16	1345	[DEBUG]	Executed store
2023-10-13	12:44:16	1345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860837','12632','1')
2023-10-13	12:44:16	1345	[DEBUG]	Store product image relation
2023-10-13	12:44:16	1345	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:16	1345	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860837 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:16	1345	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:16	1345	[DEBUG]	Executed store
2023-10-13	12:44:16	1345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860837','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:16	1345	[DEBUG]	Checking manufacturer
2023-10-13	12:44:16	1345	[DEBUG]	Load a row
2023-10-13	12:44:16	1345	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:16	1345	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:16	1345	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:16	1345	[DEBUG]	Executed store
2023-10-13	12:44:16	1345	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:16	1345	[DEBUG]	Manufacturer exists
2023-10-13	12:44:16	1345	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:16	1345	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:16	1345	[DEBUG]	Executed store
2023-10-13	12:44:16	1345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860837','25')
2023-10-13	12:44:16	1345	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:16	1345	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:16	1345	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860837 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:16	1345	[DEBUG]	Store custom available field
2023-10-13	12:44:16	1345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860837,3,'',1)
2023-10-13	12:44:16	1345	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:16	1345	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:16	1345	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860837 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:16	1345	[DEBUG]	Store custom available field
2023-10-13	12:44:16	1345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860837,6,'Unitaire',3)
2023-10-13	12:44:16	1345	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:16	1345	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:16	1345	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860836
2023-10-13	12:44:16	1345	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:16	1345	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860836\":[1860836,8,1,\"choisir la taille\"],\"1860837\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860836
2023-10-13	12:44:16	1345	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:16	1345	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860837
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:16	1346	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field taille
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:16	1346	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:16	1346	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:16	1346	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:16	1346	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:16	1346	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:16	1346	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:16	1346	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field published
2023-10-13	12:44:16	1346	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:16	1346	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field override
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:16	1346	[DEBUG]	Use field value for field slug
2023-10-13	12:44:16	1346	[DEBUG]	Process line 1346
2023-10-13	12:44:16	1346	[DEBUG]	Load a row
2023-10-13	12:44:16	1346	[DEBUG]	Processing item: A_5704_1
2023-10-13	12:44:16	1346	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:16	1346	[DEBUG]	Processing product tax
2023-10-13	12:44:16	1346	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:16	1346	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:16	1346	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:16	1346	[DEBUG]	Query for Product
2023-10-13	12:44:16	1346	[DEBUG]	Executed store
2023-10-13	12:44:16	1346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5704_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:16	1346	[DEBUG]	Check product language entry
2023-10-13	12:44:16	1346	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860838
2023-10-13	12:44:16	1346	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:16	1346	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5704_1' AND `virtuemart_product_id` != 1860838
2023-10-13	12:44:16	1346	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:16	1346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860838, 'A_5704_1')
2023-10-13	12:44:16	1346	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:16	1346	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-sv20-noir' AND `virtuemart_product_id` != 1860838
2023-10-13	12:44:16	1346	[DEBUG]	Query for ProductLang
2023-10-13	12:44:16	1346	[DEBUG]	Executed store
2023-10-13	12:44:16	1346	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.031',`product_name`='SCHWALBE Chambre-à-air 28 SV20 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-sv20-noir' WHERE `virtuemart_product_id` = '1860838'
2023-10-13	12:44:16	1346	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30209_chambres-a-air_schwalbe_28__sv20.jpg
2023-10-13	12:44:16	1346	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:16	1346	[DEBUG]	Process image file
2023-10-13	12:44:16	1346	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:16	1346	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:16	1346	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30209_chambres-a-air_schwalbe_28__sv20.jpg
2023-10-13	12:44:16	1346	[DEBUG]	Full name target: bcprisme/30209_chambres-a-air_schwalbe_28__sv20.jpg
2023-10-13	12:44:17	1346	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:17	1346	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30209_chambres-a-air_schwalbe_28__sv20.jpg'
2023-10-13	12:44:17	1346	[DEBUG]	Query for Media
2023-10-13	12:44:17	1346	[DEBUG]	Executed store
2023-10-13	12:44:17	1346	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30209_chambres-a-air_schwalbe_28__sv20.jpg',`file_url_thumb`='bcprisme/30209_chambres-a-air_schwalbe_28__sv20.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12633'
2023-10-13	12:44:17	1346	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:17	1346	[DEBUG]	Executed store
2023-10-13	12:44:17	1346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860838','12633','1')
2023-10-13	12:44:17	1346	[DEBUG]	Store product image relation
2023-10-13	12:44:17	1346	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:17	1346	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860838 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:17	1346	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:17	1346	[DEBUG]	Executed store
2023-10-13	12:44:17	1346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860838','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:17	1346	[DEBUG]	Checking manufacturer
2023-10-13	12:44:17	1346	[DEBUG]	Load a row
2023-10-13	12:44:17	1346	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:17	1346	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:17	1346	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:17	1346	[DEBUG]	Executed store
2023-10-13	12:44:17	1346	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:17	1346	[DEBUG]	Manufacturer exists
2023-10-13	12:44:17	1346	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:17	1346	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:17	1346	[DEBUG]	Executed store
2023-10-13	12:44:17	1346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860838','25')
2023-10-13	12:44:17	1346	[DEBUG]	Find the custom field ID
2023-10-13	12:44:17	1346	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:17	1346	[DEBUG]	No custom field ID found
2023-10-13	12:44:17	1346	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:17	1346	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:17	1346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860838 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:17	1346	[DEBUG]	Store custom available field
2023-10-13	12:44:17	1346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860838,3,'0',1)
2023-10-13	12:44:17	1346	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:17	1346	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:17	1346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860838 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:17	1346	[DEBUG]	Store custom available field
2023-10-13	12:44:17	1346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860838,6,'choisir la taille',3)
2023-10-13	12:44:17	1346	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:17	1346	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:17	1346	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:17	1346	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:17	1346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860838 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:17	1346	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:17	1346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860838,8,1)
2023-10-13	12:44:17	1346	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:17	1346	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860838\":[1860838,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860838
2023-10-13	12:44:17	1346	[DEBUG]	Checking category
2023-10-13	12:44:17	1346	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:17	1346	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860838
2023-10-13	12:44:17	1346	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:17	1346	[DEBUG]	Executed store
2023-10-13	12:44:17	1346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860838','7300')
2023-10-13	12:44:17	1346	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:17	1346	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860838 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:44:17	1346	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:17	1346	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860838
2023-10-13	12:44:17	1347	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:17	1347	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:17	1347	[DEBUG]	Use field value for field taille
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:17	1347	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:17	1347	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:17	1347	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:17	1347	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:17	1347	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:17	1347	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:17	1347	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:17	1347	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:17	1347	[DEBUG]	Use field value for field published
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:17	1347	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field override
2023-10-13	12:44:17	1347	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:17	1347	[DEBUG]	Use field value for field slug
2023-10-13	12:44:17	1347	[DEBUG]	Process line 1347
2023-10-13	12:44:17	1347	[DEBUG]	Load a row
2023-10-13	12:44:17	1347	[DEBUG]	Processing item: 4026495099721
2023-10-13	12:44:17	1347	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:17	1347	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:17	1347	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5704_1'
2023-10-13	12:44:17	1347	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:17	1347	[DEBUG]	Processing product tax
2023-10-13	12:44:17	1347	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:17	1347	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:17	1347	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:17	1347	[DEBUG]	Query for Product
2023-10-13	12:44:17	1347	[DEBUG]	Executed store
2023-10-13	12:44:17	1347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860838','4026495099721','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:17	1347	[DEBUG]	No parent found
2023-10-13	12:44:17	1347	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860838 AND customfield_value = 'stockable'
2023-10-13	12:44:17	1347	[DEBUG]	Check product language entry
2023-10-13	12:44:17	1347	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860839
2023-10-13	12:44:17	1347	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:17	1347	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495099721' AND `virtuemart_product_id` != 1860839
2023-10-13	12:44:17	1347	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:17	1347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860839, '4026495099721')
2023-10-13	12:44:17	1347	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:17	1347	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-28-sv20-noir-unitaire' AND `virtuemart_product_id` != 1860839
2023-10-13	12:44:17	1347	[DEBUG]	Query for ProductLang
2023-10-13	12:44:17	1347	[DEBUG]	Executed store
2023-10-13	12:44:17	1347	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 28 SV20 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-28-sv20-noir-unitaire' WHERE `virtuemart_product_id` = '1860839'
2023-10-13	12:44:17	1347	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30209_chambres-a-air_schwalbe_28__sv20.jpg
2023-10-13	12:44:17	1347	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:17	1347	[DEBUG]	Process image file
2023-10-13	12:44:17	1347	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:17	1347	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:17	1347	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30209_chambres-a-air_schwalbe_28__sv20.jpg
2023-10-13	12:44:17	1347	[DEBUG]	Full name target: bcprisme/30209_chambres-a-air_schwalbe_28__sv20.jpg
2023-10-13	12:44:18	1347	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:18	1347	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30209_chambres-a-air_schwalbe_28__sv20.jpg'
2023-10-13	12:44:18	1347	[DEBUG]	Query for Media
2023-10-13	12:44:18	1347	[DEBUG]	Executed store
2023-10-13	12:44:18	1347	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30209_chambres-a-air_schwalbe_28__sv20.jpg',`file_url_thumb`='bcprisme/30209_chambres-a-air_schwalbe_28__sv20.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12633'
2023-10-13	12:44:18	1347	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:18	1347	[DEBUG]	Executed store
2023-10-13	12:44:18	1347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860839','12633','1')
2023-10-13	12:44:18	1347	[DEBUG]	Store product image relation
2023-10-13	12:44:18	1347	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:18	1347	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860839 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:18	1347	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:18	1347	[DEBUG]	Executed store
2023-10-13	12:44:18	1347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860839','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:18	1347	[DEBUG]	Checking manufacturer
2023-10-13	12:44:18	1347	[DEBUG]	Load a row
2023-10-13	12:44:18	1347	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:18	1347	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:18	1347	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:18	1347	[DEBUG]	Executed store
2023-10-13	12:44:18	1347	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:18	1347	[DEBUG]	Manufacturer exists
2023-10-13	12:44:18	1347	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:18	1347	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:18	1347	[DEBUG]	Executed store
2023-10-13	12:44:18	1347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860839','25')
2023-10-13	12:44:18	1347	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:18	1347	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:18	1347	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860839 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:18	1347	[DEBUG]	Store custom available field
2023-10-13	12:44:18	1347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860839,3,'',1)
2023-10-13	12:44:18	1347	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:18	1347	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:18	1347	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860839 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:18	1347	[DEBUG]	Store custom available field
2023-10-13	12:44:18	1347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860839,6,'Unitaire',3)
2023-10-13	12:44:18	1347	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:18	1347	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:18	1347	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860838
2023-10-13	12:44:18	1347	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:18	1347	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860838\":[1860838,8,1,\"choisir la taille\"],\"1860839\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860838
2023-10-13	12:44:18	1347	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:18	1347	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860839
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:18	1348	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field taille
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:18	1348	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:18	1348	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:18	1348	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:18	1348	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:18	1348	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:18	1348	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field published
2023-10-13	12:44:18	1348	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:18	1348	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field override
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:18	1348	[DEBUG]	Use field value for field slug
2023-10-13	12:44:18	1348	[DEBUG]	Process line 1348
2023-10-13	12:44:18	1348	[DEBUG]	Load a row
2023-10-13	12:44:18	1348	[DEBUG]	Processing item: A_5801_1
2023-10-13	12:44:18	1348	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:18	1348	[DEBUG]	Processing product tax
2023-10-13	12:44:18	1348	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:18	1348	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:18	1348	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:18	1348	[DEBUG]	Query for Product
2023-10-13	12:44:18	1348	[DEBUG]	Executed store
2023-10-13	12:44:18	1348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5801_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:18	1348	[DEBUG]	Check product language entry
2023-10-13	12:44:18	1348	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860840
2023-10-13	12:44:18	1348	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:18	1348	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5801_1' AND `virtuemart_product_id` != 1860840
2023-10-13	12:44:18	1348	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:18	1348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860840, 'A_5801_1')
2023-10-13	12:44:18	1348	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:18	1348	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv12a-26-26x1-00---1-50-25-559-40-559-noir' AND `virtuemart_product_id` != 1860840
2023-10-13	12:44:18	1348	[DEBUG]	Query for ProductLang
2023-10-13	12:44:18	1348	[DEBUG]	Executed store
2023-10-13	12:44:18	1348	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.066',`product_name`='SCHWALBE Chambre-à-air  SV12A 26, 26x1.00 - 1.50 25-559 40-559 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv12a-26-26x1-00---1-50-25-559-40-559-noir' WHERE `virtuemart_product_id` = '1860840'
2023-10-13	12:44:18	1348	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30317_chambre-à-air__sv12a_26,_26x1_00_-_1_50_25-559_40-559.jpg
2023-10-13	12:44:18	1348	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:18	1348	[DEBUG]	Process image file
2023-10-13	12:44:18	1348	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:18	1348	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:18	1348	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30317_chambre-à-air__sv12a_26,_26x1_00_-_1_50_25-559_40-559.jpg
2023-10-13	12:44:18	1348	[DEBUG]	Full name target: bcprisme/30317_chambre-à-air__sv12a_26,_26x1_00_-_1_50_25-559_40-559.jpg
2023-10-13	12:44:19	1348	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:19	1348	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30317_chambre-à-air__sv12a_26,_26x1_00_-_1_50_25-559_40-559.jpg'
2023-10-13	12:44:19	1348	[DEBUG]	Query for Media
2023-10-13	12:44:19	1348	[DEBUG]	Executed store
2023-10-13	12:44:19	1348	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30317_chambre-à-air__sv12a_26,_26x1_00_-_1_50_25-559_40-559.jpg',`file_url_thumb`='bcprisme/30317_chambre-à-air__sv12a_26,_26x1_00_-_1_50_25-559_40-559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17620'
2023-10-13	12:44:19	1348	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:19	1348	[DEBUG]	Executed store
2023-10-13	12:44:19	1348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860840','17620','1')
2023-10-13	12:44:19	1348	[DEBUG]	Store product image relation
2023-10-13	12:44:19	1348	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:19	1348	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860840 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:19	1348	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:19	1348	[DEBUG]	Executed store
2023-10-13	12:44:19	1348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860840','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:19	1348	[DEBUG]	Checking manufacturer
2023-10-13	12:44:19	1348	[DEBUG]	Load a row
2023-10-13	12:44:19	1348	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:19	1348	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:19	1348	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:19	1348	[DEBUG]	Executed store
2023-10-13	12:44:19	1348	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:19	1348	[DEBUG]	Manufacturer exists
2023-10-13	12:44:19	1348	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:19	1348	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:19	1348	[DEBUG]	Executed store
2023-10-13	12:44:19	1348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860840','25')
2023-10-13	12:44:19	1348	[DEBUG]	Find the custom field ID
2023-10-13	12:44:19	1348	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:19	1348	[DEBUG]	No custom field ID found
2023-10-13	12:44:19	1348	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:19	1348	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:19	1348	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860840 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:19	1348	[DEBUG]	Store custom available field
2023-10-13	12:44:19	1348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860840,3,'0',1)
2023-10-13	12:44:19	1348	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:19	1348	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:19	1348	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860840 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:19	1348	[DEBUG]	Store custom available field
2023-10-13	12:44:19	1348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860840,6,'choisir la taille',3)
2023-10-13	12:44:19	1348	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:19	1348	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:19	1348	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:19	1348	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:19	1348	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860840 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:19	1348	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:19	1348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860840,8,1)
2023-10-13	12:44:19	1348	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:19	1348	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860840\":[1860840,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860840
2023-10-13	12:44:19	1348	[DEBUG]	Checking category
2023-10-13	12:44:19	1348	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:19	1348	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860840
2023-10-13	12:44:19	1348	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:19	1348	[DEBUG]	Executed store
2023-10-13	12:44:19	1348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860840','7300')
2023-10-13	12:44:19	1348	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:19	1348	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860840 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:44:19	1348	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:19	1348	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860840
2023-10-13	12:44:19	1349	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:19	1349	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:19	1349	[DEBUG]	Use field value for field taille
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:19	1349	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:19	1349	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:19	1349	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:19	1349	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:19	1349	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:19	1349	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:19	1349	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:19	1349	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:19	1349	[DEBUG]	Use field value for field published
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:19	1349	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field override
2023-10-13	12:44:19	1349	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:19	1349	[DEBUG]	Use field value for field slug
2023-10-13	12:44:19	1349	[DEBUG]	Process line 1349
2023-10-13	12:44:19	1349	[DEBUG]	Load a row
2023-10-13	12:44:19	1349	[DEBUG]	Processing item: 4026495099141
2023-10-13	12:44:19	1349	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:19	1349	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:19	1349	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5801_1'
2023-10-13	12:44:19	1349	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:19	1349	[DEBUG]	Processing product tax
2023-10-13	12:44:19	1349	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:19	1349	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:19	1349	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:19	1349	[DEBUG]	Query for Product
2023-10-13	12:44:19	1349	[DEBUG]	Executed store
2023-10-13	12:44:19	1349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860840','4026495099141','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:19	1349	[DEBUG]	No parent found
2023-10-13	12:44:19	1349	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860840 AND customfield_value = 'stockable'
2023-10-13	12:44:19	1349	[DEBUG]	Check product language entry
2023-10-13	12:44:19	1349	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860841
2023-10-13	12:44:19	1349	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:19	1349	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495099141' AND `virtuemart_product_id` != 1860841
2023-10-13	12:44:19	1349	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:19	1349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860841, '4026495099141')
2023-10-13	12:44:19	1349	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:19	1349	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv12a-26-26x1-00---1-50-25-559-40-559-noir-unitaire' AND `virtuemart_product_id` != 1860841
2023-10-13	12:44:19	1349	[DEBUG]	Query for ProductLang
2023-10-13	12:44:19	1349	[DEBUG]	Executed store
2023-10-13	12:44:19	1349	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air  SV12A 26, 26x1.00 - 1.50 25-559 40-559 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv12a-26-26x1-00---1-50-25-559-40-559-noir-unitaire' WHERE `virtuemart_product_id` = '1860841'
2023-10-13	12:44:19	1349	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30317_chambre-à-air__sv12a_26,_26x1_00_-_1_50_25-559_40-559.jpg
2023-10-13	12:44:19	1349	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:19	1349	[DEBUG]	Process image file
2023-10-13	12:44:19	1349	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:19	1349	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:19	1349	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30317_chambre-à-air__sv12a_26,_26x1_00_-_1_50_25-559_40-559.jpg
2023-10-13	12:44:19	1349	[DEBUG]	Full name target: bcprisme/30317_chambre-à-air__sv12a_26,_26x1_00_-_1_50_25-559_40-559.jpg
2023-10-13	12:44:20	1349	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:20	1349	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30317_chambre-à-air__sv12a_26,_26x1_00_-_1_50_25-559_40-559.jpg'
2023-10-13	12:44:20	1349	[DEBUG]	Query for Media
2023-10-13	12:44:20	1349	[DEBUG]	Executed store
2023-10-13	12:44:20	1349	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30317_chambre-à-air__sv12a_26,_26x1_00_-_1_50_25-559_40-559.jpg',`file_url_thumb`='bcprisme/30317_chambre-à-air__sv12a_26,_26x1_00_-_1_50_25-559_40-559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17620'
2023-10-13	12:44:20	1349	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:20	1349	[DEBUG]	Executed store
2023-10-13	12:44:20	1349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860841','17620','1')
2023-10-13	12:44:20	1349	[DEBUG]	Store product image relation
2023-10-13	12:44:20	1349	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:20	1349	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860841 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:20	1349	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:20	1349	[DEBUG]	Executed store
2023-10-13	12:44:20	1349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860841','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:20	1349	[DEBUG]	Checking manufacturer
2023-10-13	12:44:20	1349	[DEBUG]	Load a row
2023-10-13	12:44:20	1349	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:20	1349	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:20	1349	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:20	1349	[DEBUG]	Executed store
2023-10-13	12:44:20	1349	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:20	1349	[DEBUG]	Manufacturer exists
2023-10-13	12:44:20	1349	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:20	1349	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:20	1349	[DEBUG]	Executed store
2023-10-13	12:44:20	1349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860841','25')
2023-10-13	12:44:20	1349	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:20	1349	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:20	1349	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860841 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:20	1349	[DEBUG]	Store custom available field
2023-10-13	12:44:20	1349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860841,3,'',1)
2023-10-13	12:44:20	1349	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:20	1349	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:20	1349	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860841 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:20	1349	[DEBUG]	Store custom available field
2023-10-13	12:44:20	1349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860841,6,'Unitaire',3)
2023-10-13	12:44:20	1349	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:20	1349	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:20	1349	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860840
2023-10-13	12:44:20	1349	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:20	1349	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860840\":[1860840,8,1,\"choisir la taille\"],\"1860841\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860840
2023-10-13	12:44:20	1349	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:20	1349	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860841
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:20	1350	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field taille
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:20	1350	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:20	1350	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:20	1350	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:20	1350	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:20	1350	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:20	1350	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field published
2023-10-13	12:44:20	1350	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:20	1350	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field override
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:20	1350	[DEBUG]	Use field value for field slug
2023-10-13	12:44:20	1350	[DEBUG]	Process line 1350
2023-10-13	12:44:20	1350	[DEBUG]	Load a row
2023-10-13	12:44:20	1350	[DEBUG]	Processing item: A_7287_208
2023-10-13	12:44:20	1350	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:20	1350	[DEBUG]	Processing product tax
2023-10-13	12:44:20	1350	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:20	1350	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:20	1350	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:20	1350	[DEBUG]	Query for Product
2023-10-13	12:44:20	1350	[DEBUG]	Executed store
2023-10-13	12:44:20	1350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7287_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:20	1350	[DEBUG]	Check product language entry
2023-10-13	12:44:20	1350	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860842
2023-10-13	12:44:20	1350	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:20	1350	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7287_208' AND `virtuemart_product_id` != 1860842
2023-10-13	12:44:20	1350	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:20	1350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860842, 'A_7287_208')
2023-10-13	12:44:20	1350	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:20	1350	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv17-28-28-47-609-635-valve-presta-60-mm-aucune' AND `virtuemart_product_id` != 1860842
2023-10-13	12:44:20	1350	[DEBUG]	Query for ProductLang
2023-10-13	12:44:20	1350	[DEBUG]	Executed store
2023-10-13	12:44:20	1350	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.71774',`product_name`='SCHWALBE Chambre à air SV17 28 28/47-609/635 valve presta 60 mm / &#60;aucune&#62;&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv17-28-28-47-609-635-valve-presta-60-mm-aucune' WHERE `virtuemart_product_id` = '1860842'
2023-10-13	12:44:20	1350	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004.jpg
2023-10-13	12:44:20	1350	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:20	1350	[DEBUG]	Process image file
2023-10-13	12:44:20	1350	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:20	1350	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:20	1350	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004.jpg
2023-10-13	12:44:20	1350	[DEBUG]	Full name target: bcprisme/svlong_2004.jpg
2023-10-13	12:44:21	1350	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:21	1350	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/svlong_2004.jpg'
2023-10-13	12:44:21	1350	[DEBUG]	Query for Media
2023-10-13	12:44:21	1350	[DEBUG]	Executed store
2023-10-13	12:44:21	1350	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/svlong_2004.jpg',`file_url_thumb`='bcprisme/svlong_2004.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '202281'
2023-10-13	12:44:21	1350	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:21	1350	[DEBUG]	Executed store
2023-10-13	12:44:21	1350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860842','202281','1')
2023-10-13	12:44:21	1350	[DEBUG]	Store product image relation
2023-10-13	12:44:21	1350	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:21	1350	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860842 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:21	1350	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:21	1350	[DEBUG]	Executed store
2023-10-13	12:44:21	1350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860842','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:21	1350	[DEBUG]	Checking manufacturer
2023-10-13	12:44:21	1350	[DEBUG]	Load a row
2023-10-13	12:44:21	1350	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:21	1350	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:44:21	1350	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:21	1350	[DEBUG]	Executed store
2023-10-13	12:44:21	1350	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:44:21	1350	[DEBUG]	Manufacturer exists
2023-10-13	12:44:21	1350	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:44:21	1350	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:21	1350	[DEBUG]	Executed store
2023-10-13	12:44:21	1350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860842','24')
2023-10-13	12:44:21	1350	[DEBUG]	Find the custom field ID
2023-10-13	12:44:21	1350	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:21	1350	[DEBUG]	No custom field ID found
2023-10-13	12:44:21	1350	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:21	1350	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:21	1350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860842 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:21	1350	[DEBUG]	Store custom available field
2023-10-13	12:44:21	1350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860842,3,'0',1)
2023-10-13	12:44:21	1350	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:21	1350	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:21	1350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860842 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:21	1350	[DEBUG]	Store custom available field
2023-10-13	12:44:21	1350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860842,6,'choisir la taille',3)
2023-10-13	12:44:21	1350	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:21	1350	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:21	1350	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:21	1350	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:21	1350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860842 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:21	1350	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:21	1350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860842,8,1)
2023-10-13	12:44:21	1350	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:21	1350	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860842\":[1860842,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860842
2023-10-13	12:44:21	1350	[DEBUG]	Checking category
2023-10-13	12:44:21	1350	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:21	1350	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860842
2023-10-13	12:44:21	1350	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:21	1350	[DEBUG]	Executed store
2023-10-13	12:44:21	1350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860842','7300')
2023-10-13	12:44:21	1350	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:21	1350	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860842 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:44:21	1350	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:21	1350	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860842
2023-10-13	12:44:21	1351	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:21	1351	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:21	1351	[DEBUG]	Use field value for field taille
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:21	1351	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:21	1351	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:21	1351	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:21	1351	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:21	1351	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:21	1351	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:21	1351	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:21	1351	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:21	1351	[DEBUG]	Use field value for field published
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:21	1351	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field override
2023-10-13	12:44:21	1351	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:21	1351	[DEBUG]	Use field value for field slug
2023-10-13	12:44:21	1351	[DEBUG]	Process line 1351
2023-10-13	12:44:21	1351	[DEBUG]	Load a row
2023-10-13	12:44:21	1351	[DEBUG]	Processing item: 4026495098588
2023-10-13	12:44:21	1351	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:21	1351	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:21	1351	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7287_208'
2023-10-13	12:44:21	1351	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:21	1351	[DEBUG]	Processing product tax
2023-10-13	12:44:21	1351	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:21	1351	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:21	1351	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:21	1351	[DEBUG]	Query for Product
2023-10-13	12:44:21	1351	[DEBUG]	Executed store
2023-10-13	12:44:21	1351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860842','4026495098588','0','KG','M','','21','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:21	1351	[DEBUG]	No parent found
2023-10-13	12:44:21	1351	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860842 AND customfield_value = 'stockable'
2023-10-13	12:44:21	1351	[DEBUG]	Check product language entry
2023-10-13	12:44:21	1351	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860843
2023-10-13	12:44:21	1351	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:21	1351	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495098588' AND `virtuemart_product_id` != 1860843
2023-10-13	12:44:21	1351	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:21	1351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860843, '4026495098588')
2023-10-13	12:44:21	1351	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:21	1351	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv17-28-28-47-609-635-valve-presta-60-mm-aucune-unitaire' AND `virtuemart_product_id` != 1860843
2023-10-13	12:44:21	1351	[DEBUG]	Query for ProductLang
2023-10-13	12:44:21	1351	[DEBUG]	Executed store
2023-10-13	12:44:21	1351	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre à air SV17 28 28/47-609/635 valve presta 60 mm / &#60;aucune&#62; (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv17-28-28-47-609-635-valve-presta-60-mm-aucune-unitaire' WHERE `virtuemart_product_id` = '1860843'
2023-10-13	12:44:21	1351	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004.jpg
2023-10-13	12:44:21	1351	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:21	1351	[DEBUG]	Process image file
2023-10-13	12:44:21	1351	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:21	1351	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:21	1351	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_2004.jpg
2023-10-13	12:44:21	1351	[DEBUG]	Full name target: bcprisme/svlong_2004.jpg
2023-10-13	12:44:22	1351	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:22	1351	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/svlong_2004.jpg'
2023-10-13	12:44:22	1351	[DEBUG]	Query for Media
2023-10-13	12:44:22	1351	[DEBUG]	Executed store
2023-10-13	12:44:22	1351	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/svlong_2004.jpg',`file_url_thumb`='bcprisme/svlong_2004.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '202281'
2023-10-13	12:44:22	1351	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:22	1351	[DEBUG]	Executed store
2023-10-13	12:44:22	1351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860843','202281','1')
2023-10-13	12:44:22	1351	[DEBUG]	Store product image relation
2023-10-13	12:44:22	1351	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:22	1351	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860843 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:22	1351	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:22	1351	[DEBUG]	Executed store
2023-10-13	12:44:22	1351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860843','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:22	1351	[DEBUG]	Checking manufacturer
2023-10-13	12:44:22	1351	[DEBUG]	Load a row
2023-10-13	12:44:22	1351	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:22	1351	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:44:22	1351	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:22	1351	[DEBUG]	Executed store
2023-10-13	12:44:22	1351	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:44:22	1351	[DEBUG]	Manufacturer exists
2023-10-13	12:44:22	1351	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:44:22	1351	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:22	1351	[DEBUG]	Executed store
2023-10-13	12:44:22	1351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860843','24')
2023-10-13	12:44:22	1351	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:22	1351	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:22	1351	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860843 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:22	1351	[DEBUG]	Store custom available field
2023-10-13	12:44:22	1351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860843,3,'',1)
2023-10-13	12:44:22	1351	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:22	1351	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:22	1351	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860843 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:22	1351	[DEBUG]	Store custom available field
2023-10-13	12:44:22	1351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860843,6,'Unitaire',3)
2023-10-13	12:44:22	1351	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:22	1351	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:22	1351	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860842
2023-10-13	12:44:22	1351	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:22	1351	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860842\":[1860842,8,1,\"choisir la taille\"],\"1860843\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860842
2023-10-13	12:44:22	1351	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:22	1351	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860843
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:22	1352	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field taille
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:22	1352	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:22	1352	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:22	1352	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:22	1352	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:22	1352	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:22	1352	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:22	1352	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field published
2023-10-13	12:44:22	1352	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:22	1352	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field override
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:22	1352	[DEBUG]	Use field value for field slug
2023-10-13	12:44:22	1352	[DEBUG]	Process line 1352
2023-10-13	12:44:22	1352	[DEBUG]	Load a row
2023-10-13	12:44:22	1352	[DEBUG]	Processing item: A_9180_84
2023-10-13	12:44:22	1352	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:22	1352	[DEBUG]	Processing product tax
2023-10-13	12:44:22	1352	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:22	1352	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:22	1352	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:22	1352	[DEBUG]	Query for Product
2023-10-13	12:44:22	1352	[DEBUG]	Executed store
2023-10-13	12:44:22	1352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9180_84','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:22	1352	[DEBUG]	Check product language entry
2023-10-13	12:44:22	1352	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860844
2023-10-13	12:44:22	1352	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:22	1352	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9180_84' AND `virtuemart_product_id` != 1860844
2023-10-13	12:44:22	1352	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:22	1352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860844, 'A_9180_84')
2023-10-13	12:44:22	1352	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:22	1352	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv15-28-18-28-622-630-valve-presta-60-mm-black' AND `virtuemart_product_id` != 1860844
2023-10-13	12:44:22	1352	[DEBUG]	Query for ProductLang
2023-10-13	12:44:22	1352	[DEBUG]	Executed store
2023-10-13	12:44:22	1352	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56771',`product_name`='SCHWALBE Chambre-à-air SV15 28 18/28-622/630 valve presta 60 mm / Black&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv15-28-18-28-622-630-valve-presta-60-mm-black' WHERE `virtuemart_product_id` = '1860844'
2023-10-13	12:44:22	1352	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_200.jpg
2023-10-13	12:44:22	1352	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:22	1352	[DEBUG]	Process image file
2023-10-13	12:44:22	1352	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:22	1352	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:22	1352	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_200.jpg
2023-10-13	12:44:22	1352	[DEBUG]	Full name target: bcprisme/svlong_200.jpg
2023-10-13	12:44:23	1352	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:23	1352	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/svlong_200.jpg'
2023-10-13	12:44:23	1352	[DEBUG]	Query for Media
2023-10-13	12:44:23	1352	[DEBUG]	Executed store
2023-10-13	12:44:23	1352	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/svlong_200.jpg',`file_url_thumb`='bcprisme/svlong_200.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330248'
2023-10-13	12:44:23	1352	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:23	1352	[DEBUG]	Executed store
2023-10-13	12:44:23	1352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860844','1330248','1')
2023-10-13	12:44:23	1352	[DEBUG]	Store product image relation
2023-10-13	12:44:23	1352	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:23	1352	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860844 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:23	1352	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:23	1352	[DEBUG]	Executed store
2023-10-13	12:44:23	1352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860844','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:23	1352	[DEBUG]	Checking manufacturer
2023-10-13	12:44:23	1352	[DEBUG]	Load a row
2023-10-13	12:44:23	1352	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:23	1352	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:44:23	1352	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:23	1352	[DEBUG]	Executed store
2023-10-13	12:44:23	1352	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:44:23	1352	[DEBUG]	Manufacturer exists
2023-10-13	12:44:23	1352	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:44:23	1352	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:23	1352	[DEBUG]	Executed store
2023-10-13	12:44:23	1352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860844','24')
2023-10-13	12:44:23	1352	[DEBUG]	Find the custom field ID
2023-10-13	12:44:23	1352	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:23	1352	[DEBUG]	No custom field ID found
2023-10-13	12:44:23	1352	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:23	1352	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:23	1352	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860844 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:23	1352	[DEBUG]	Store custom available field
2023-10-13	12:44:23	1352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860844,3,'0',1)
2023-10-13	12:44:23	1352	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:23	1352	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:23	1352	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860844 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:23	1352	[DEBUG]	Store custom available field
2023-10-13	12:44:23	1352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860844,6,'choisir la taille',3)
2023-10-13	12:44:23	1352	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:23	1352	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:23	1352	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:23	1352	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:23	1352	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860844 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:23	1352	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:23	1352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860844,8,1)
2023-10-13	12:44:23	1352	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:23	1352	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860844\":[1860844,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860844
2023-10-13	12:44:23	1352	[DEBUG]	Checking category
2023-10-13	12:44:23	1352	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:23	1352	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860844
2023-10-13	12:44:23	1352	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:23	1352	[DEBUG]	Executed store
2023-10-13	12:44:23	1352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860844','7300')
2023-10-13	12:44:23	1352	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:23	1352	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860844 AND `virtuemart_category_id` NOT IN (7300)
2023-10-13	12:44:23	1352	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:23	1352	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860844
2023-10-13	12:44:23	1353	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:23	1353	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:23	1353	[DEBUG]	Use field value for field taille
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:23	1353	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:23	1353	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:23	1353	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:23	1353	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:23	1353	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:23	1353	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:23	1353	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:23	1353	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:23	1353	[DEBUG]	Use field value for field published
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:23	1353	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field override
2023-10-13	12:44:23	1353	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:23	1353	[DEBUG]	Use field value for field slug
2023-10-13	12:44:23	1353	[DEBUG]	Process line 1353
2023-10-13	12:44:23	1353	[DEBUG]	Load a row
2023-10-13	12:44:23	1353	[DEBUG]	Processing item: 4026495099523
2023-10-13	12:44:23	1353	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:23	1353	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:23	1353	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9180_84'
2023-10-13	12:44:23	1353	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:23	1353	[DEBUG]	Processing product tax
2023-10-13	12:44:23	1353	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:23	1353	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:23	1353	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:23	1353	[DEBUG]	Query for Product
2023-10-13	12:44:23	1353	[DEBUG]	Executed store
2023-10-13	12:44:23	1353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860844','4026495099523','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:23	1353	[DEBUG]	No parent found
2023-10-13	12:44:23	1353	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860844 AND customfield_value = 'stockable'
2023-10-13	12:44:23	1353	[DEBUG]	Check product language entry
2023-10-13	12:44:23	1353	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860845
2023-10-13	12:44:23	1353	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:23	1353	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495099523' AND `virtuemart_product_id` != 1860845
2023-10-13	12:44:23	1353	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:23	1353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860845, '4026495099523')
2023-10-13	12:44:23	1353	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:23	1353	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv15-28-18-28-622-630-valve-presta-60-mm-black-unitaire' AND `virtuemart_product_id` != 1860845
2023-10-13	12:44:23	1353	[DEBUG]	Query for ProductLang
2023-10-13	12:44:23	1353	[DEBUG]	Executed store
2023-10-13	12:44:23	1353	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air SV15 28 18/28-622/630 valve presta 60 mm / Black (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv15-28-18-28-622-630-valve-presta-60-mm-black-unitaire' WHERE `virtuemart_product_id` = '1860845'
2023-10-13	12:44:23	1353	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_200.jpg
2023-10-13	12:44:23	1353	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:23	1353	[DEBUG]	Process image file
2023-10-13	12:44:23	1353	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:23	1353	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:23	1353	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/svlong_200.jpg
2023-10-13	12:44:23	1353	[DEBUG]	Full name target: bcprisme/svlong_200.jpg
2023-10-13	12:44:24	1353	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:24	1353	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/svlong_200.jpg'
2023-10-13	12:44:24	1353	[DEBUG]	Query for Media
2023-10-13	12:44:24	1353	[DEBUG]	Executed store
2023-10-13	12:44:24	1353	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/svlong_200.jpg',`file_url_thumb`='bcprisme/svlong_200.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330248'
2023-10-13	12:44:24	1353	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:24	1353	[DEBUG]	Executed store
2023-10-13	12:44:24	1353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860845','1330248','1')
2023-10-13	12:44:24	1353	[DEBUG]	Store product image relation
2023-10-13	12:44:24	1353	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:24	1353	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860845 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:24	1353	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:24	1353	[DEBUG]	Executed store
2023-10-13	12:44:24	1353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860845','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:24	1353	[DEBUG]	Checking manufacturer
2023-10-13	12:44:24	1353	[DEBUG]	Load a row
2023-10-13	12:44:24	1353	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:24	1353	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:44:24	1353	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:24	1353	[DEBUG]	Executed store
2023-10-13	12:44:24	1353	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:44:24	1353	[DEBUG]	Manufacturer exists
2023-10-13	12:44:24	1353	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:44:24	1353	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:24	1353	[DEBUG]	Executed store
2023-10-13	12:44:24	1353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860845','24')
2023-10-13	12:44:24	1353	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:24	1353	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:24	1353	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860845 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:24	1353	[DEBUG]	Store custom available field
2023-10-13	12:44:24	1353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860845,3,'',1)
2023-10-13	12:44:24	1353	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:24	1353	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:24	1353	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860845 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:24	1353	[DEBUG]	Store custom available field
2023-10-13	12:44:24	1353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860845,6,'Unitaire',3)
2023-10-13	12:44:24	1353	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:24	1353	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:24	1353	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860844
2023-10-13	12:44:24	1353	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:24	1353	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860844\":[1860844,8,1,\"choisir la taille\"],\"1860845\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860844
2023-10-13	12:44:24	1353	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:24	1353	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860845
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:24	1354	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field taille
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:24	1354	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:24	1354	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:24	1354	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:24	1354	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:24	1354	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:24	1354	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field published
2023-10-13	12:44:24	1354	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:24	1354	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field override
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:24	1354	[DEBUG]	Use field value for field slug
2023-10-13	12:44:24	1354	[DEBUG]	Process line 1354
2023-10-13	12:44:24	1354	[DEBUG]	Load a row
2023-10-13	12:44:24	1354	[DEBUG]	Processing item: A_2875_22
2023-10-13	12:44:24	1354	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:24	1354	[DEBUG]	Processing product tax
2023-10-13	12:44:24	1354	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:24	1354	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:24	1354	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:24	1354	[DEBUG]	Query for Product
2023-10-13	12:44:24	1354	[DEBUG]	Executed store
2023-10-13	12:44:24	1354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2875_22','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:24	1354	[DEBUG]	Check product language entry
2023-10-13	12:44:24	1354	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860846
2023-10-13	12:44:24	1354	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:24	1354	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2875_22' AND `virtuemart_product_id` != 1860846
2023-10-13	12:44:24	1354	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:24	1354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860846, 'A_2875_22')
2023-10-13	12:44:24	1354	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:24	1354	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-foss-29-x-1-35-2-00-fv-bleu' AND `virtuemart_product_id` != 1860846
2023-10-13	12:44:24	1354	[DEBUG]	Query for ProductLang
2023-10-13	12:44:24	1354	[DEBUG]	Executed store
2023-10-13	12:44:24	1354	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='CHAMBRE-A-AIR FOSS 29 X 1.35 / 2.00 FV<br>Gamme de chambre-à-air réalisées en polyuréthane. L\'intérêt ? C\'est biodégradable, 30% plus léger qu\'une chambre-à-air standard et s\'auto-répare en cas de crevaison par perforation (clou ou épine). La valve ne tourne pas au freinage et l\'on peut se passer de fonds de jante. Attention, cette chambre-à-air n\'est pas compatible avec un freinage par patins sur une jante en carbone à cause de la grande chaleur dégagée !<br>Crever sans exploser : chambre à air constitué de EFT, qui est un composé polymérisé et non vulcanisé. Lors d\'une crevaison, ce matériel se referme sur l\'objet perforateur, retardant ainsi la sortie d\'air, et donnant au pilote plus de temps pour réagir. <br>Poids extrêmement léger : Avec une densité de seulement 0.88c/cc, l\'EFT est 30% plus léger qu\'une chambre traditionnelle (jusqu\'à 1.3g/cc). Respectueux de l\'environnement : Fait avec des composés élastomères modifiés thermoplastiques (TPE), notre EFT peut être recyclé avec les autres TPE, réduisant ainsi les résidus et contribuant à la protection de notre environnement. <br>N° art fourn : FOSS29135200FV',`product_name`='MSC Chambre-à-air FOSS 29 X 1.35 / 2.00 FV / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-foss-29-x-1-35-2-00-fv-bleu' WHERE `virtuemart_product_id` = '1860846'
2023-10-13	12:44:24	1354	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12093.jpg
2023-10-13	12:44:24	1354	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:24	1354	[DEBUG]	Process image file
2023-10-13	12:44:24	1354	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:24	1354	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:24	1354	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12093.jpg
2023-10-13	12:44:24	1354	[DEBUG]	Full name target: bcprisme/image_12093.jpg
2023-10-13	12:44:25	1354	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:25	1354	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12093.jpg'
2023-10-13	12:44:25	1354	[DEBUG]	Query for Media
2023-10-13	12:44:25	1354	[DEBUG]	Executed store
2023-10-13	12:44:25	1354	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12093.jpg',`file_url_thumb`='bcprisme/image_12093.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12634'
2023-10-13	12:44:25	1354	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:25	1354	[DEBUG]	Executed store
2023-10-13	12:44:25	1354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860846','12634','1')
2023-10-13	12:44:25	1354	[DEBUG]	Store product image relation
2023-10-13	12:44:25	1354	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:25	1354	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860846 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:25	1354	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:25	1354	[DEBUG]	Executed store
2023-10-13	12:44:25	1354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860846','0','27.669452181987','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:25	1354	[DEBUG]	Checking manufacturer
2023-10-13	12:44:25	1354	[DEBUG]	Load a row
2023-10-13	12:44:25	1354	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:25	1354	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:25	1354	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:25	1354	[DEBUG]	Executed store
2023-10-13	12:44:25	1354	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:25	1354	[DEBUG]	Manufacturer exists
2023-10-13	12:44:25	1354	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:44:25	1354	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:25	1354	[DEBUG]	Executed store
2023-10-13	12:44:25	1354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860846','32')
2023-10-13	12:44:25	1354	[DEBUG]	Find the custom field ID
2023-10-13	12:44:25	1354	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:25	1354	[DEBUG]	No custom field ID found
2023-10-13	12:44:25	1354	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:25	1354	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	12:44:25	1354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860846 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:25	1354	[DEBUG]	Store custom available field
2023-10-13	12:44:25	1354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860846,3,'29.8169444444444',1)
2023-10-13	12:44:25	1354	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:25	1354	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:25	1354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860846 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:25	1354	[DEBUG]	Store custom available field
2023-10-13	12:44:25	1354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860846,6,'choisir la taille',3)
2023-10-13	12:44:25	1354	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:25	1354	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:25	1354	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:25	1354	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:25	1354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860846 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:25	1354	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:25	1354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860846,8,1)
2023-10-13	12:44:25	1354	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:25	1354	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860846\":[1860846,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860846
2023-10-13	12:44:25	1354	[DEBUG]	Checking category
2023-10-13	12:44:25	1354	[DEBUG]	Check if category path exists: CHAMBRES-A-AIR 29/ SCHLAÜCHE 29
2023-10-13	12:44:25	1354	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIR 29/ SCHLAÜCHE 29' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7291
2023-10-13	12:44:25	1354	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:25	1354	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860846
2023-10-13	12:44:25	1354	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:25	1354	[DEBUG]	Executed store
2023-10-13	12:44:25	1354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860846','7301')
2023-10-13	12:44:25	1354	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:25	1354	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860846 AND `virtuemart_category_id` NOT IN (7301)
2023-10-13	12:44:25	1354	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:25	1354	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860846
2023-10-13	12:44:25	1355	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:25	1355	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:25	1355	[DEBUG]	Use field value for field taille
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:25	1355	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:25	1355	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:25	1355	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:25	1355	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:25	1355	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:25	1355	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:25	1355	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:25	1355	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:25	1355	[DEBUG]	Use field value for field published
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:25	1355	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field override
2023-10-13	12:44:25	1355	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:25	1355	[DEBUG]	Use field value for field slug
2023-10-13	12:44:25	1355	[DEBUG]	Process line 1355
2023-10-13	12:44:25	1355	[DEBUG]	Load a row
2023-10-13	12:44:25	1355	[DEBUG]	Processing item: 1000000048155
2023-10-13	12:44:25	1355	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:25	1355	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:25	1355	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2875_22'
2023-10-13	12:44:25	1355	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:25	1355	[DEBUG]	Processing product tax
2023-10-13	12:44:25	1355	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:25	1355	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:25	1355	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:25	1355	[DEBUG]	Query for Product
2023-10-13	12:44:25	1355	[DEBUG]	Executed store
2023-10-13	12:44:25	1355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860846','1000000048155','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:25	1355	[DEBUG]	No parent found
2023-10-13	12:44:25	1355	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860846 AND customfield_value = 'stockable'
2023-10-13	12:44:25	1355	[DEBUG]	Check product language entry
2023-10-13	12:44:25	1355	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860847
2023-10-13	12:44:25	1355	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:25	1355	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000048155' AND `virtuemart_product_id` != 1860847
2023-10-13	12:44:25	1355	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:25	1355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860847, '1000000048155')
2023-10-13	12:44:25	1355	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:25	1355	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-foss-29-x-1-35-2-00-fv-bleu-unitaire' AND `virtuemart_product_id` != 1860847
2023-10-13	12:44:25	1355	[DEBUG]	Query for ProductLang
2023-10-13	12:44:25	1355	[DEBUG]	Executed store
2023-10-13	12:44:25	1355	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air FOSS 29 X 1.35 / 2.00 FV / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-foss-29-x-1-35-2-00-fv-bleu-unitaire' WHERE `virtuemart_product_id` = '1860847'
2023-10-13	12:44:25	1355	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12093.jpg
2023-10-13	12:44:25	1355	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:25	1355	[DEBUG]	Process image file
2023-10-13	12:44:25	1355	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:25	1355	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:25	1355	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12093.jpg
2023-10-13	12:44:25	1355	[DEBUG]	Full name target: bcprisme/image_12093.jpg
2023-10-13	12:44:26	1355	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:26	1355	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12093.jpg'
2023-10-13	12:44:26	1355	[DEBUG]	Query for Media
2023-10-13	12:44:26	1355	[DEBUG]	Executed store
2023-10-13	12:44:26	1355	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12093.jpg',`file_url_thumb`='bcprisme/image_12093.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12634'
2023-10-13	12:44:26	1355	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:26	1355	[DEBUG]	Executed store
2023-10-13	12:44:26	1355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860847','12634','1')
2023-10-13	12:44:26	1355	[DEBUG]	Store product image relation
2023-10-13	12:44:26	1355	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:26	1355	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860847 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:26	1355	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:26	1355	[DEBUG]	Executed store
2023-10-13	12:44:26	1355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860847','0','27.669452181987','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:26	1355	[DEBUG]	Checking manufacturer
2023-10-13	12:44:26	1355	[DEBUG]	Load a row
2023-10-13	12:44:26	1355	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:26	1355	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:26	1355	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:26	1355	[DEBUG]	Executed store
2023-10-13	12:44:26	1355	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:26	1355	[DEBUG]	Manufacturer exists
2023-10-13	12:44:26	1355	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:44:26	1355	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:26	1355	[DEBUG]	Executed store
2023-10-13	12:44:26	1355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860847','32')
2023-10-13	12:44:26	1355	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:26	1355	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:26	1355	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860847 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:26	1355	[DEBUG]	Store custom available field
2023-10-13	12:44:26	1355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860847,3,'',1)
2023-10-13	12:44:26	1355	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:26	1355	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:26	1355	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860847 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:26	1355	[DEBUG]	Store custom available field
2023-10-13	12:44:26	1355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860847,6,'Unitaire',3)
2023-10-13	12:44:26	1355	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:26	1355	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:26	1355	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860846
2023-10-13	12:44:26	1355	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:26	1355	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860846\":[1860846,8,1,\"choisir la taille\"],\"1860847\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860846
2023-10-13	12:44:26	1355	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:26	1355	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860847
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:26	1356	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field taille
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:26	1356	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:26	1356	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:26	1356	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:26	1356	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:26	1356	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:26	1356	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field published
2023-10-13	12:44:26	1356	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:26	1356	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field override
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:26	1356	[DEBUG]	Use field value for field slug
2023-10-13	12:44:26	1356	[DEBUG]	Process line 1356
2023-10-13	12:44:26	1356	[DEBUG]	Load a row
2023-10-13	12:44:26	1356	[DEBUG]	Processing item: A_3341_1
2023-10-13	12:44:26	1356	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:26	1356	[DEBUG]	Processing product tax
2023-10-13	12:44:26	1356	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:26	1356	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:26	1356	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:26	1356	[DEBUG]	Query for Product
2023-10-13	12:44:26	1356	[DEBUG]	Executed store
2023-10-13	12:44:26	1356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3341_1','0.25','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:26	1356	[DEBUG]	Check product language entry
2023-10-13	12:44:26	1356	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860848
2023-10-13	12:44:26	1356	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:26	1356	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3341_1' AND `virtuemart_product_id` != 1860848
2023-10-13	12:44:26	1356	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:26	1356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860848, 'A_3341_1')
2023-10-13	12:44:26	1356	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:26	1356	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-29-x-1-90-2-125-presta-40-mm-epaisseur-0-9-mm-noir' AND `virtuemart_product_id` != 1860848
2023-10-13	12:44:26	1356	[DEBUG]	Query for ProductLang
2023-10-13	12:44:26	1356	[DEBUG]	Executed store
2023-10-13	12:44:26	1356	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='29 X 1.90/2.125 PRESTA 40 MM, EPAISSEUR 0.9 MM<br><br>N° art fourn : TU291902125FV40',`product_name`='MSC Chambre-à-air 29 X 1.90/2.125 PRESTA 40 MM, EPAISSEUR 0.9 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-29-x-1-90-2-125-presta-40-mm-epaisseur-0-9-mm-noir' WHERE `virtuemart_product_id` = '1860848'
2023-10-13	12:44:26	1356	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/15974_chambre-a-air_msc_29_x_1_90-2_125_presta_40_mm_0_9_mm.jpg
2023-10-13	12:44:26	1356	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:26	1356	[DEBUG]	Process image file
2023-10-13	12:44:26	1356	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:26	1356	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:26	1356	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/15974_chambre-a-air_msc_29_x_1_90-2_125_presta_40_mm_0_9_mm.jpg
2023-10-13	12:44:26	1356	[DEBUG]	Full name target: bcprisme/15974_chambre-a-air_msc_29_x_1_90-2_125_presta_40_mm_0_9_mm.jpg
2023-10-13	12:44:27	1356	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:27	1356	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/15974_chambre-a-air_msc_29_x_1_90-2_125_presta_40_mm_0_9_mm.jpg'
2023-10-13	12:44:27	1356	[DEBUG]	Query for Media
2023-10-13	12:44:27	1356	[DEBUG]	Executed store
2023-10-13	12:44:27	1356	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/15974_chambre-a-air_msc_29_x_1_90-2_125_presta_40_mm_0_9_mm.jpg',`file_url_thumb`='bcprisme/15974_chambre-a-air_msc_29_x_1_90-2_125_presta_40_mm_0_9_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12636'
2023-10-13	12:44:27	1356	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:27	1356	[DEBUG]	Executed store
2023-10-13	12:44:27	1356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860848','12636','1')
2023-10-13	12:44:27	1356	[DEBUG]	Store product image relation
2023-10-13	12:44:27	1356	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:27	1356	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860848 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:27	1356	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:27	1356	[DEBUG]	Executed store
2023-10-13	12:44:27	1356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860848','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:27	1356	[DEBUG]	Checking manufacturer
2023-10-13	12:44:27	1356	[DEBUG]	Load a row
2023-10-13	12:44:27	1356	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:27	1356	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:27	1356	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:27	1356	[DEBUG]	Executed store
2023-10-13	12:44:27	1356	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:27	1356	[DEBUG]	Manufacturer exists
2023-10-13	12:44:27	1356	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:44:27	1356	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:27	1356	[DEBUG]	Executed store
2023-10-13	12:44:27	1356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860848','32')
2023-10-13	12:44:27	1356	[DEBUG]	Find the custom field ID
2023-10-13	12:44:27	1356	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:27	1356	[DEBUG]	No custom field ID found
2023-10-13	12:44:27	1356	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:27	1356	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:44:27	1356	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860848 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:27	1356	[DEBUG]	Store custom available field
2023-10-13	12:44:27	1356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860848,3,'9.8725',1)
2023-10-13	12:44:27	1356	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:27	1356	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:27	1356	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860848 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:27	1356	[DEBUG]	Store custom available field
2023-10-13	12:44:27	1356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860848,6,'choisir la taille',3)
2023-10-13	12:44:27	1356	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:27	1356	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:27	1356	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:27	1356	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:27	1356	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860848 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:27	1356	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:27	1356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860848,8,1)
2023-10-13	12:44:27	1356	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:27	1356	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860848\":[1860848,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860848
2023-10-13	12:44:27	1356	[DEBUG]	Checking category
2023-10-13	12:44:27	1356	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:27	1356	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860848
2023-10-13	12:44:27	1356	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:27	1356	[DEBUG]	Executed store
2023-10-13	12:44:27	1356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860848','7301')
2023-10-13	12:44:27	1356	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:27	1356	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860848 AND `virtuemart_category_id` NOT IN (7301)
2023-10-13	12:44:27	1356	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:27	1356	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860848
2023-10-13	12:44:27	1357	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:27	1357	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:27	1357	[DEBUG]	Use field value for field taille
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:27	1357	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:27	1357	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:27	1357	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:27	1357	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:27	1357	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:27	1357	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:27	1357	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:27	1357	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:27	1357	[DEBUG]	Use field value for field published
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:27	1357	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field override
2023-10-13	12:44:27	1357	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:27	1357	[DEBUG]	Use field value for field slug
2023-10-13	12:44:27	1357	[DEBUG]	Process line 1357
2023-10-13	12:44:27	1357	[DEBUG]	Load a row
2023-10-13	12:44:27	1357	[DEBUG]	Processing item: 8435466214029
2023-10-13	12:44:27	1357	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:27	1357	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:27	1357	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3341_1'
2023-10-13	12:44:27	1357	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:27	1357	[DEBUG]	Processing product tax
2023-10-13	12:44:27	1357	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:27	1357	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:27	1357	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:27	1357	[DEBUG]	Query for Product
2023-10-13	12:44:27	1357	[DEBUG]	Executed store
2023-10-13	12:44:27	1357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860848','8435466214029','0','KG','M','','39','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:27	1357	[DEBUG]	No parent found
2023-10-13	12:44:27	1357	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860848 AND customfield_value = 'stockable'
2023-10-13	12:44:27	1357	[DEBUG]	Check product language entry
2023-10-13	12:44:27	1357	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860849
2023-10-13	12:44:27	1357	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:27	1357	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214029' AND `virtuemart_product_id` != 1860849
2023-10-13	12:44:27	1357	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:27	1357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860849, '8435466214029')
2023-10-13	12:44:27	1357	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:27	1357	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-29-x-1-90-2-125-presta-40-mm-epaisseur-0-9-mm-noir-unitaire' AND `virtuemart_product_id` != 1860849
2023-10-13	12:44:27	1357	[DEBUG]	Query for ProductLang
2023-10-13	12:44:27	1357	[DEBUG]	Executed store
2023-10-13	12:44:27	1357	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 29 X 1.90/2.125 PRESTA 40 MM, EPAISSEUR 0.9 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-29-x-1-90-2-125-presta-40-mm-epaisseur-0-9-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860849'
2023-10-13	12:44:27	1357	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/15974_chambre-a-air_msc_29_x_1_90-2_125_presta_40_mm_0_9_mm.jpg
2023-10-13	12:44:27	1357	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:27	1357	[DEBUG]	Process image file
2023-10-13	12:44:27	1357	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:27	1357	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:27	1357	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/15974_chambre-a-air_msc_29_x_1_90-2_125_presta_40_mm_0_9_mm.jpg
2023-10-13	12:44:27	1357	[DEBUG]	Full name target: bcprisme/15974_chambre-a-air_msc_29_x_1_90-2_125_presta_40_mm_0_9_mm.jpg
2023-10-13	12:44:28	1357	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:28	1357	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/15974_chambre-a-air_msc_29_x_1_90-2_125_presta_40_mm_0_9_mm.jpg'
2023-10-13	12:44:28	1357	[DEBUG]	Query for Media
2023-10-13	12:44:28	1357	[DEBUG]	Executed store
2023-10-13	12:44:28	1357	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/15974_chambre-a-air_msc_29_x_1_90-2_125_presta_40_mm_0_9_mm.jpg',`file_url_thumb`='bcprisme/15974_chambre-a-air_msc_29_x_1_90-2_125_presta_40_mm_0_9_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12636'
2023-10-13	12:44:28	1357	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:28	1357	[DEBUG]	Executed store
2023-10-13	12:44:28	1357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860849','12636','1')
2023-10-13	12:44:28	1357	[DEBUG]	Store product image relation
2023-10-13	12:44:28	1357	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:28	1357	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860849 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:28	1357	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:28	1357	[DEBUG]	Executed store
2023-10-13	12:44:28	1357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860849','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:28	1357	[DEBUG]	Checking manufacturer
2023-10-13	12:44:28	1357	[DEBUG]	Load a row
2023-10-13	12:44:28	1357	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:28	1357	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:28	1357	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:28	1357	[DEBUG]	Executed store
2023-10-13	12:44:28	1357	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:28	1357	[DEBUG]	Manufacturer exists
2023-10-13	12:44:28	1357	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:44:28	1357	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:28	1357	[DEBUG]	Executed store
2023-10-13	12:44:28	1357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860849','32')
2023-10-13	12:44:28	1357	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:28	1357	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:28	1357	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860849 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:28	1357	[DEBUG]	Store custom available field
2023-10-13	12:44:28	1357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860849,3,'',1)
2023-10-13	12:44:28	1357	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:28	1357	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:28	1357	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860849 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:28	1357	[DEBUG]	Store custom available field
2023-10-13	12:44:28	1357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860849,6,'Unitaire',3)
2023-10-13	12:44:28	1357	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:28	1357	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:28	1357	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860848
2023-10-13	12:44:28	1357	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:28	1357	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860848\":[1860848,8,1,\"choisir la taille\"],\"1860849\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860848
2023-10-13	12:44:28	1357	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:28	1357	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860849
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:28	1358	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field taille
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:28	1358	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:28	1358	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:28	1358	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:28	1358	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:28	1358	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:28	1358	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field published
2023-10-13	12:44:28	1358	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:28	1358	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field override
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:28	1358	[DEBUG]	Use field value for field slug
2023-10-13	12:44:28	1358	[DEBUG]	Process line 1358
2023-10-13	12:44:28	1358	[DEBUG]	Load a row
2023-10-13	12:44:28	1358	[DEBUG]	Processing item: A_4560_1
2023-10-13	12:44:28	1358	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:28	1358	[DEBUG]	Processing product tax
2023-10-13	12:44:28	1358	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:28	1358	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:28	1358	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:28	1358	[DEBUG]	Query for Product
2023-10-13	12:44:28	1358	[DEBUG]	Executed store
2023-10-13	12:44:28	1358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4560_1','0.25','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:28	1358	[DEBUG]	Check product language entry
2023-10-13	12:44:28	1358	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860850
2023-10-13	12:44:28	1358	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:28	1358	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4560_1' AND `virtuemart_product_id` != 1860850
2023-10-13	12:44:28	1358	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:28	1358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860850, 'A_4560_1')
2023-10-13	12:44:28	1358	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:28	1358	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-29-x-1-90-2-125-schrader-epaisseur-0-9-mm-noir' AND `virtuemart_product_id` != 1860850
2023-10-13	12:44:28	1358	[DEBUG]	Query for ProductLang
2023-10-13	12:44:28	1358	[DEBUG]	Executed store
2023-10-13	12:44:28	1358	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='29 X 1.90/2.125 SCHRADER, EPAISSEUR 0.9 MM<br><br>N° art fourn : TU291902125SV',`product_name`='MSC Chambre-à-air 29 X 1.90/2.125 SCHRADER, EPAISSEUR 0.9 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-29-x-1-90-2-125-schrader-epaisseur-0-9-mm-noir' WHERE `virtuemart_product_id` = '1860850'
2023-10-13	12:44:28	1358	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27241_chambre-a-air_msc_29_x_1_90-2_125_schrader_0_9_mm_.jpg
2023-10-13	12:44:28	1358	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:28	1358	[DEBUG]	Process image file
2023-10-13	12:44:28	1358	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:28	1358	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:28	1358	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27241_chambre-a-air_msc_29_x_1_90-2_125_schrader_0_9_mm_.jpg
2023-10-13	12:44:28	1358	[DEBUG]	Full name target: bcprisme/27241_chambre-a-air_msc_29_x_1_90-2_125_schrader_0_9_mm_.jpg
2023-10-13	12:44:29	1358	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:29	1358	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27241_chambre-a-air_msc_29_x_1_90-2_125_schrader_0_9_mm_.jpg'
2023-10-13	12:44:29	1358	[DEBUG]	Query for Media
2023-10-13	12:44:29	1358	[DEBUG]	Executed store
2023-10-13	12:44:29	1358	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27241_chambre-a-air_msc_29_x_1_90-2_125_schrader_0_9_mm_.jpg',`file_url_thumb`='bcprisme/27241_chambre-a-air_msc_29_x_1_90-2_125_schrader_0_9_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12637'
2023-10-13	12:44:29	1358	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:29	1358	[DEBUG]	Executed store
2023-10-13	12:44:29	1358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860850','12637','1')
2023-10-13	12:44:29	1358	[DEBUG]	Store product image relation
2023-10-13	12:44:29	1358	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:29	1358	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860850 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:29	1358	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:29	1358	[DEBUG]	Executed store
2023-10-13	12:44:29	1358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860850','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:29	1358	[DEBUG]	Checking manufacturer
2023-10-13	12:44:29	1358	[DEBUG]	Load a row
2023-10-13	12:44:29	1358	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:29	1358	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:29	1358	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:29	1358	[DEBUG]	Executed store
2023-10-13	12:44:29	1358	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:29	1358	[DEBUG]	Manufacturer exists
2023-10-13	12:44:29	1358	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:44:29	1358	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:29	1358	[DEBUG]	Executed store
2023-10-13	12:44:29	1358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860850','32')
2023-10-13	12:44:29	1358	[DEBUG]	Find the custom field ID
2023-10-13	12:44:29	1358	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:29	1358	[DEBUG]	No custom field ID found
2023-10-13	12:44:29	1358	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:29	1358	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:44:29	1358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860850 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:29	1358	[DEBUG]	Store custom available field
2023-10-13	12:44:29	1358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860850,3,'9.8725',1)
2023-10-13	12:44:29	1358	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:29	1358	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:29	1358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860850 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:29	1358	[DEBUG]	Store custom available field
2023-10-13	12:44:29	1358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860850,6,'choisir la taille',3)
2023-10-13	12:44:29	1358	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:29	1358	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:29	1358	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:29	1358	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:29	1358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860850 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:29	1358	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:29	1358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860850,8,1)
2023-10-13	12:44:29	1358	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:29	1358	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860850\":[1860850,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860850
2023-10-13	12:44:29	1358	[DEBUG]	Checking category
2023-10-13	12:44:29	1358	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:29	1358	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860850
2023-10-13	12:44:29	1358	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:29	1358	[DEBUG]	Executed store
2023-10-13	12:44:29	1358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860850','7301')
2023-10-13	12:44:29	1358	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:29	1358	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860850 AND `virtuemart_category_id` NOT IN (7301)
2023-10-13	12:44:29	1358	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:29	1358	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860850
2023-10-13	12:44:29	1359	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:29	1359	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:29	1359	[DEBUG]	Use field value for field taille
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:29	1359	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:29	1359	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:29	1359	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:29	1359	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:29	1359	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:29	1359	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:29	1359	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:29	1359	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:29	1359	[DEBUG]	Use field value for field published
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:29	1359	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field override
2023-10-13	12:44:29	1359	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:29	1359	[DEBUG]	Use field value for field slug
2023-10-13	12:44:29	1359	[DEBUG]	Process line 1359
2023-10-13	12:44:29	1359	[DEBUG]	Load a row
2023-10-13	12:44:29	1359	[DEBUG]	Processing item: 8435466214036
2023-10-13	12:44:29	1359	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:29	1359	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:29	1359	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4560_1'
2023-10-13	12:44:29	1359	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:29	1359	[DEBUG]	Processing product tax
2023-10-13	12:44:29	1359	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:29	1359	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:29	1359	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:29	1359	[DEBUG]	Query for Product
2023-10-13	12:44:29	1359	[DEBUG]	Executed store
2023-10-13	12:44:29	1359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860850','8435466214036','0','KG','M','','87','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:29	1359	[DEBUG]	No parent found
2023-10-13	12:44:29	1359	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860850 AND customfield_value = 'stockable'
2023-10-13	12:44:29	1359	[DEBUG]	Check product language entry
2023-10-13	12:44:29	1359	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860851
2023-10-13	12:44:29	1359	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:29	1359	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214036' AND `virtuemart_product_id` != 1860851
2023-10-13	12:44:29	1359	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:29	1359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860851, '8435466214036')
2023-10-13	12:44:29	1359	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:29	1359	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-29-x-1-90-2-125-schrader-epaisseur-0-9-mm-noir-unitaire' AND `virtuemart_product_id` != 1860851
2023-10-13	12:44:29	1359	[DEBUG]	Query for ProductLang
2023-10-13	12:44:29	1359	[DEBUG]	Executed store
2023-10-13	12:44:29	1359	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 29 X 1.90/2.125 SCHRADER, EPAISSEUR 0.9 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-29-x-1-90-2-125-schrader-epaisseur-0-9-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860851'
2023-10-13	12:44:29	1359	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27241_chambre-a-air_msc_29_x_1_90-2_125_schrader_0_9_mm_.jpg
2023-10-13	12:44:29	1359	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:29	1359	[DEBUG]	Process image file
2023-10-13	12:44:29	1359	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:29	1359	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:29	1359	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27241_chambre-a-air_msc_29_x_1_90-2_125_schrader_0_9_mm_.jpg
2023-10-13	12:44:29	1359	[DEBUG]	Full name target: bcprisme/27241_chambre-a-air_msc_29_x_1_90-2_125_schrader_0_9_mm_.jpg
2023-10-13	12:44:30	1359	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:30	1359	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27241_chambre-a-air_msc_29_x_1_90-2_125_schrader_0_9_mm_.jpg'
2023-10-13	12:44:30	1359	[DEBUG]	Query for Media
2023-10-13	12:44:30	1359	[DEBUG]	Executed store
2023-10-13	12:44:30	1359	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27241_chambre-a-air_msc_29_x_1_90-2_125_schrader_0_9_mm_.jpg',`file_url_thumb`='bcprisme/27241_chambre-a-air_msc_29_x_1_90-2_125_schrader_0_9_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12637'
2023-10-13	12:44:30	1359	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:30	1359	[DEBUG]	Executed store
2023-10-13	12:44:30	1359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860851','12637','1')
2023-10-13	12:44:30	1359	[DEBUG]	Store product image relation
2023-10-13	12:44:30	1359	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:30	1359	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860851 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:30	1359	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:30	1359	[DEBUG]	Executed store
2023-10-13	12:44:30	1359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860851','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:30	1359	[DEBUG]	Checking manufacturer
2023-10-13	12:44:30	1359	[DEBUG]	Load a row
2023-10-13	12:44:30	1359	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:30	1359	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:30	1359	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:30	1359	[DEBUG]	Executed store
2023-10-13	12:44:30	1359	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:30	1359	[DEBUG]	Manufacturer exists
2023-10-13	12:44:30	1359	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:44:30	1359	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:30	1359	[DEBUG]	Executed store
2023-10-13	12:44:30	1359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860851','32')
2023-10-13	12:44:30	1359	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:30	1359	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:30	1359	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860851 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:30	1359	[DEBUG]	Store custom available field
2023-10-13	12:44:30	1359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860851,3,'',1)
2023-10-13	12:44:30	1359	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:30	1359	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:30	1359	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860851 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:30	1359	[DEBUG]	Store custom available field
2023-10-13	12:44:30	1359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860851,6,'Unitaire',3)
2023-10-13	12:44:30	1359	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:30	1359	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:30	1359	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860850
2023-10-13	12:44:30	1359	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:30	1359	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860850\":[1860850,8,1,\"choisir la taille\"],\"1860851\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860850
2023-10-13	12:44:30	1359	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:30	1359	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860851
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:30	1360	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field taille
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:30	1360	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:30	1360	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:30	1360	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:30	1360	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:30	1360	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:30	1360	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field published
2023-10-13	12:44:30	1360	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:30	1360	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field override
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:30	1360	[DEBUG]	Use field value for field slug
2023-10-13	12:44:30	1360	[DEBUG]	Process line 1360
2023-10-13	12:44:30	1360	[DEBUG]	Load a row
2023-10-13	12:44:30	1360	[DEBUG]	Processing item: A_4561_1
2023-10-13	12:44:30	1360	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:30	1360	[DEBUG]	Processing product tax
2023-10-13	12:44:30	1360	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:30	1360	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:30	1360	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:30	1360	[DEBUG]	Query for Product
2023-10-13	12:44:30	1360	[DEBUG]	Executed store
2023-10-13	12:44:30	1360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4561_1','0.25','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:30	1360	[DEBUG]	Check product language entry
2023-10-13	12:44:30	1360	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860852
2023-10-13	12:44:30	1360	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:30	1360	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4561_1' AND `virtuemart_product_id` != 1860852
2023-10-13	12:44:30	1360	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:30	1360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860852, 'A_4561_1')
2023-10-13	12:44:30	1360	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:30	1360	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-29-x-2-20-2-50-presta-40-mm-epaisseur-0-9-mm-noir' AND `virtuemart_product_id` != 1860852
2023-10-13	12:44:30	1360	[DEBUG]	Query for ProductLang
2023-10-13	12:44:30	1360	[DEBUG]	Executed store
2023-10-13	12:44:30	1360	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='29 X 2.20/2.50 PRESTA 40 MM, EPAISSEUR 0.9 MM<br><br>N° art fourn : TU29220250FV40',`product_name`='MSC Chambre-à-air 29 X 2.20/2.50 PRESTA 40 MM, EPAISSEUR 0.9 MM  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-29-x-2-20-2-50-presta-40-mm-epaisseur-0-9-mm-noir' WHERE `virtuemart_product_id` = '1860852'
2023-10-13	12:44:30	1360	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27242_chambre-a-air_msc_29_x_2_20-2_50_presta_40_mm_0_9_mm__.jpg
2023-10-13	12:44:30	1360	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:30	1360	[DEBUG]	Process image file
2023-10-13	12:44:30	1360	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:30	1360	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:30	1360	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27242_chambre-a-air_msc_29_x_2_20-2_50_presta_40_mm_0_9_mm__.jpg
2023-10-13	12:44:30	1360	[DEBUG]	Full name target: bcprisme/27242_chambre-a-air_msc_29_x_2_20-2_50_presta_40_mm_0_9_mm__.jpg
2023-10-13	12:44:31	1360	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:31	1360	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27242_chambre-a-air_msc_29_x_2_20-2_50_presta_40_mm_0_9_mm__.jpg'
2023-10-13	12:44:31	1360	[DEBUG]	Query for Media
2023-10-13	12:44:31	1360	[DEBUG]	Executed store
2023-10-13	12:44:31	1360	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27242_chambre-a-air_msc_29_x_2_20-2_50_presta_40_mm_0_9_mm__.jpg',`file_url_thumb`='bcprisme/27242_chambre-a-air_msc_29_x_2_20-2_50_presta_40_mm_0_9_mm__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12638'
2023-10-13	12:44:31	1360	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:31	1360	[DEBUG]	Executed store
2023-10-13	12:44:31	1360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860852','12638','1')
2023-10-13	12:44:31	1360	[DEBUG]	Store product image relation
2023-10-13	12:44:31	1360	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:31	1360	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860852 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:31	1360	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:31	1360	[DEBUG]	Executed store
2023-10-13	12:44:31	1360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860852','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:31	1360	[DEBUG]	Checking manufacturer
2023-10-13	12:44:31	1360	[DEBUG]	Load a row
2023-10-13	12:44:31	1360	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:31	1360	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:31	1360	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:31	1360	[DEBUG]	Executed store
2023-10-13	12:44:31	1360	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:31	1360	[DEBUG]	Manufacturer exists
2023-10-13	12:44:31	1360	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:44:31	1360	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:31	1360	[DEBUG]	Executed store
2023-10-13	12:44:31	1360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860852','32')
2023-10-13	12:44:31	1360	[DEBUG]	Find the custom field ID
2023-10-13	12:44:31	1360	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:31	1360	[DEBUG]	No custom field ID found
2023-10-13	12:44:31	1360	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:31	1360	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:44:31	1360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860852 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:31	1360	[DEBUG]	Store custom available field
2023-10-13	12:44:31	1360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860852,3,'9.8725',1)
2023-10-13	12:44:31	1360	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:31	1360	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:31	1360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860852 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:31	1360	[DEBUG]	Store custom available field
2023-10-13	12:44:31	1360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860852,6,'choisir la taille',3)
2023-10-13	12:44:31	1360	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:31	1360	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:31	1360	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:31	1360	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:31	1360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860852 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:31	1360	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:31	1360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860852,8,1)
2023-10-13	12:44:31	1360	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:31	1360	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860852\":[1860852,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860852
2023-10-13	12:44:31	1360	[DEBUG]	Checking category
2023-10-13	12:44:31	1360	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:31	1360	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860852
2023-10-13	12:44:31	1360	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:31	1360	[DEBUG]	Executed store
2023-10-13	12:44:31	1360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860852','7301')
2023-10-13	12:44:31	1360	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:31	1360	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860852 AND `virtuemart_category_id` NOT IN (7301)
2023-10-13	12:44:31	1360	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:31	1360	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860852
2023-10-13	12:44:31	1361	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:31	1361	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:31	1361	[DEBUG]	Use field value for field taille
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:31	1361	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:31	1361	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:31	1361	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:31	1361	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:31	1361	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:31	1361	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:31	1361	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:31	1361	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:31	1361	[DEBUG]	Use field value for field published
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:31	1361	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field override
2023-10-13	12:44:31	1361	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:31	1361	[DEBUG]	Use field value for field slug
2023-10-13	12:44:31	1361	[DEBUG]	Process line 1361
2023-10-13	12:44:31	1361	[DEBUG]	Load a row
2023-10-13	12:44:31	1361	[DEBUG]	Processing item: 8435466214043
2023-10-13	12:44:31	1361	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:31	1361	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:31	1361	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4561_1'
2023-10-13	12:44:31	1361	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:31	1361	[DEBUG]	Processing product tax
2023-10-13	12:44:31	1361	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:31	1361	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:31	1361	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:31	1361	[DEBUG]	Query for Product
2023-10-13	12:44:31	1361	[DEBUG]	Executed store
2023-10-13	12:44:31	1361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860852','8435466214043','0','KG','M','','42','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:31	1361	[DEBUG]	No parent found
2023-10-13	12:44:31	1361	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860852 AND customfield_value = 'stockable'
2023-10-13	12:44:31	1361	[DEBUG]	Check product language entry
2023-10-13	12:44:31	1361	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860853
2023-10-13	12:44:31	1361	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:31	1361	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214043' AND `virtuemart_product_id` != 1860853
2023-10-13	12:44:31	1361	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:31	1361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860853, '8435466214043')
2023-10-13	12:44:31	1361	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:31	1361	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-29-x-2-20-2-50-presta-40-mm-epaisseur-0-9-mm-noir-unitaire' AND `virtuemart_product_id` != 1860853
2023-10-13	12:44:31	1361	[DEBUG]	Query for ProductLang
2023-10-13	12:44:31	1361	[DEBUG]	Executed store
2023-10-13	12:44:31	1361	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 29 X 2.20/2.50 PRESTA 40 MM, EPAISSEUR 0.9 MM  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-29-x-2-20-2-50-presta-40-mm-epaisseur-0-9-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860853'
2023-10-13	12:44:31	1361	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27242_chambre-a-air_msc_29_x_2_20-2_50_presta_40_mm_0_9_mm__.jpg
2023-10-13	12:44:31	1361	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:31	1361	[DEBUG]	Process image file
2023-10-13	12:44:31	1361	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:31	1361	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:31	1361	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27242_chambre-a-air_msc_29_x_2_20-2_50_presta_40_mm_0_9_mm__.jpg
2023-10-13	12:44:31	1361	[DEBUG]	Full name target: bcprisme/27242_chambre-a-air_msc_29_x_2_20-2_50_presta_40_mm_0_9_mm__.jpg
2023-10-13	12:44:32	1361	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:32	1361	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27242_chambre-a-air_msc_29_x_2_20-2_50_presta_40_mm_0_9_mm__.jpg'
2023-10-13	12:44:32	1361	[DEBUG]	Query for Media
2023-10-13	12:44:32	1361	[DEBUG]	Executed store
2023-10-13	12:44:32	1361	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27242_chambre-a-air_msc_29_x_2_20-2_50_presta_40_mm_0_9_mm__.jpg',`file_url_thumb`='bcprisme/27242_chambre-a-air_msc_29_x_2_20-2_50_presta_40_mm_0_9_mm__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12638'
2023-10-13	12:44:32	1361	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:32	1361	[DEBUG]	Executed store
2023-10-13	12:44:32	1361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860853','12638','1')
2023-10-13	12:44:32	1361	[DEBUG]	Store product image relation
2023-10-13	12:44:32	1361	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:32	1361	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860853 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:32	1361	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:32	1361	[DEBUG]	Executed store
2023-10-13	12:44:32	1361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860853','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:32	1361	[DEBUG]	Checking manufacturer
2023-10-13	12:44:32	1361	[DEBUG]	Load a row
2023-10-13	12:44:32	1361	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:32	1361	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:32	1361	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:32	1361	[DEBUG]	Executed store
2023-10-13	12:44:32	1361	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:32	1361	[DEBUG]	Manufacturer exists
2023-10-13	12:44:32	1361	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:44:32	1361	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:32	1361	[DEBUG]	Executed store
2023-10-13	12:44:32	1361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860853','32')
2023-10-13	12:44:32	1361	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:32	1361	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:32	1361	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860853 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:32	1361	[DEBUG]	Store custom available field
2023-10-13	12:44:32	1361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860853,3,'',1)
2023-10-13	12:44:32	1361	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:32	1361	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:32	1361	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860853 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:32	1361	[DEBUG]	Store custom available field
2023-10-13	12:44:32	1361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860853,6,'Unitaire',3)
2023-10-13	12:44:32	1361	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:32	1361	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:32	1361	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860852
2023-10-13	12:44:32	1361	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:32	1361	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860852\":[1860852,8,1,\"choisir la taille\"],\"1860853\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860852
2023-10-13	12:44:32	1361	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:32	1361	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860853
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:32	1362	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field taille
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:32	1362	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:32	1362	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:32	1362	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:32	1362	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:32	1362	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:32	1362	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field published
2023-10-13	12:44:32	1362	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:32	1362	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field override
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:32	1362	[DEBUG]	Use field value for field slug
2023-10-13	12:44:32	1362	[DEBUG]	Process line 1362
2023-10-13	12:44:32	1362	[DEBUG]	Load a row
2023-10-13	12:44:32	1362	[DEBUG]	Processing item: A_4562_1
2023-10-13	12:44:32	1362	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:32	1362	[DEBUG]	Processing product tax
2023-10-13	12:44:32	1362	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:32	1362	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:32	1362	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:32	1362	[DEBUG]	Query for Product
2023-10-13	12:44:32	1362	[DEBUG]	Executed store
2023-10-13	12:44:32	1362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4562_1','0.25','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:32	1362	[DEBUG]	Check product language entry
2023-10-13	12:44:32	1362	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860854
2023-10-13	12:44:32	1362	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:32	1362	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4562_1' AND `virtuemart_product_id` != 1860854
2023-10-13	12:44:32	1362	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:32	1362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860854, 'A_4562_1')
2023-10-13	12:44:32	1362	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:32	1362	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-29-x-2-20-2-50-schrader-epaisseur-0-9-mm-noir' AND `virtuemart_product_id` != 1860854
2023-10-13	12:44:32	1362	[DEBUG]	Query for ProductLang
2023-10-13	12:44:32	1362	[DEBUG]	Executed store
2023-10-13	12:44:32	1362	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='29 X 2.20/2.50 SCHRADER, EPAISSEUR 0.9 MM<br><br>N° art fourn : TU29220250SV',`product_name`='MSC Chambre-à-air 29 X 2.20/2.50 SCHRADER, EPAISSEUR 0.9 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-29-x-2-20-2-50-schrader-epaisseur-0-9-mm-noir' WHERE `virtuemart_product_id` = '1860854'
2023-10-13	12:44:32	1362	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27243_chambre-a-air_msc_29_x_2_20-2_50_schrader_0_9_mm__.jpg
2023-10-13	12:44:32	1362	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:32	1362	[DEBUG]	Process image file
2023-10-13	12:44:32	1362	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:32	1362	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:32	1362	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27243_chambre-a-air_msc_29_x_2_20-2_50_schrader_0_9_mm__.jpg
2023-10-13	12:44:32	1362	[DEBUG]	Full name target: bcprisme/27243_chambre-a-air_msc_29_x_2_20-2_50_schrader_0_9_mm__.jpg
2023-10-13	12:44:33	1362	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:33	1362	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27243_chambre-a-air_msc_29_x_2_20-2_50_schrader_0_9_mm__.jpg'
2023-10-13	12:44:33	1362	[DEBUG]	Query for Media
2023-10-13	12:44:33	1362	[DEBUG]	Executed store
2023-10-13	12:44:33	1362	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27243_chambre-a-air_msc_29_x_2_20-2_50_schrader_0_9_mm__.jpg',`file_url_thumb`='bcprisme/27243_chambre-a-air_msc_29_x_2_20-2_50_schrader_0_9_mm__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12639'
2023-10-13	12:44:33	1362	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:33	1362	[DEBUG]	Executed store
2023-10-13	12:44:33	1362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860854','12639','1')
2023-10-13	12:44:33	1362	[DEBUG]	Store product image relation
2023-10-13	12:44:33	1362	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:33	1362	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860854 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:33	1362	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:33	1362	[DEBUG]	Executed store
2023-10-13	12:44:33	1362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860854','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:33	1362	[DEBUG]	Checking manufacturer
2023-10-13	12:44:33	1362	[DEBUG]	Load a row
2023-10-13	12:44:33	1362	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:33	1362	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:33	1362	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:33	1362	[DEBUG]	Executed store
2023-10-13	12:44:33	1362	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:33	1362	[DEBUG]	Manufacturer exists
2023-10-13	12:44:33	1362	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:44:33	1362	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:33	1362	[DEBUG]	Executed store
2023-10-13	12:44:33	1362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860854','32')
2023-10-13	12:44:33	1362	[DEBUG]	Find the custom field ID
2023-10-13	12:44:33	1362	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:33	1362	[DEBUG]	No custom field ID found
2023-10-13	12:44:33	1362	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:33	1362	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:44:33	1362	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860854 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:33	1362	[DEBUG]	Store custom available field
2023-10-13	12:44:33	1362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860854,3,'9.8725',1)
2023-10-13	12:44:33	1362	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:33	1362	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:33	1362	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860854 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:33	1362	[DEBUG]	Store custom available field
2023-10-13	12:44:33	1362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860854,6,'choisir la taille',3)
2023-10-13	12:44:33	1362	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:33	1362	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:33	1362	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:33	1362	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:33	1362	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860854 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:33	1362	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:33	1362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860854,8,1)
2023-10-13	12:44:33	1362	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:33	1362	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860854\":[1860854,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860854
2023-10-13	12:44:33	1362	[DEBUG]	Checking category
2023-10-13	12:44:33	1362	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:33	1362	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860854
2023-10-13	12:44:33	1362	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:33	1362	[DEBUG]	Executed store
2023-10-13	12:44:33	1362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860854','7301')
2023-10-13	12:44:33	1362	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:33	1362	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860854 AND `virtuemart_category_id` NOT IN (7301)
2023-10-13	12:44:33	1362	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:33	1362	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860854
2023-10-13	12:44:33	1363	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:33	1363	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:33	1363	[DEBUG]	Use field value for field taille
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:33	1363	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:33	1363	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:33	1363	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:33	1363	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:33	1363	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:33	1363	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:33	1363	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:33	1363	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:33	1363	[DEBUG]	Use field value for field published
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:33	1363	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field override
2023-10-13	12:44:33	1363	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:33	1363	[DEBUG]	Use field value for field slug
2023-10-13	12:44:33	1363	[DEBUG]	Process line 1363
2023-10-13	12:44:33	1363	[DEBUG]	Load a row
2023-10-13	12:44:33	1363	[DEBUG]	Processing item: 8435466214050
2023-10-13	12:44:33	1363	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:33	1363	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:33	1363	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4562_1'
2023-10-13	12:44:33	1363	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:33	1363	[DEBUG]	Processing product tax
2023-10-13	12:44:33	1363	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:33	1363	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:33	1363	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:33	1363	[DEBUG]	Query for Product
2023-10-13	12:44:33	1363	[DEBUG]	Executed store
2023-10-13	12:44:33	1363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860854','8435466214050','0','KG','M','','41','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:33	1363	[DEBUG]	No parent found
2023-10-13	12:44:33	1363	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860854 AND customfield_value = 'stockable'
2023-10-13	12:44:33	1363	[DEBUG]	Check product language entry
2023-10-13	12:44:33	1363	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860855
2023-10-13	12:44:33	1363	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:33	1363	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214050' AND `virtuemart_product_id` != 1860855
2023-10-13	12:44:33	1363	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:33	1363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860855, '8435466214050')
2023-10-13	12:44:33	1363	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:33	1363	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chambre-a-air-29-x-2-20-2-50-schrader-epaisseur-0-9-mm-noir-unitaire' AND `virtuemart_product_id` != 1860855
2023-10-13	12:44:33	1363	[DEBUG]	Query for ProductLang
2023-10-13	12:44:33	1363	[DEBUG]	Executed store
2023-10-13	12:44:33	1363	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chambre-à-air 29 X 2.20/2.50 SCHRADER, EPAISSEUR 0.9 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chambre-a-air-29-x-2-20-2-50-schrader-epaisseur-0-9-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1860855'
2023-10-13	12:44:33	1363	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27243_chambre-a-air_msc_29_x_2_20-2_50_schrader_0_9_mm__.jpg
2023-10-13	12:44:33	1363	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:33	1363	[DEBUG]	Process image file
2023-10-13	12:44:33	1363	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:33	1363	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:33	1363	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27243_chambre-a-air_msc_29_x_2_20-2_50_schrader_0_9_mm__.jpg
2023-10-13	12:44:33	1363	[DEBUG]	Full name target: bcprisme/27243_chambre-a-air_msc_29_x_2_20-2_50_schrader_0_9_mm__.jpg
2023-10-13	12:44:34	1363	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:34	1363	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27243_chambre-a-air_msc_29_x_2_20-2_50_schrader_0_9_mm__.jpg'
2023-10-13	12:44:34	1363	[DEBUG]	Query for Media
2023-10-13	12:44:34	1363	[DEBUG]	Executed store
2023-10-13	12:44:34	1363	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27243_chambre-a-air_msc_29_x_2_20-2_50_schrader_0_9_mm__.jpg',`file_url_thumb`='bcprisme/27243_chambre-a-air_msc_29_x_2_20-2_50_schrader_0_9_mm__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12639'
2023-10-13	12:44:34	1363	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:34	1363	[DEBUG]	Executed store
2023-10-13	12:44:34	1363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860855','12639','1')
2023-10-13	12:44:34	1363	[DEBUG]	Store product image relation
2023-10-13	12:44:34	1363	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:34	1363	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860855 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:34	1363	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:34	1363	[DEBUG]	Executed store
2023-10-13	12:44:34	1363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860855','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:34	1363	[DEBUG]	Checking manufacturer
2023-10-13	12:44:34	1363	[DEBUG]	Load a row
2023-10-13	12:44:34	1363	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:34	1363	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:34	1363	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:34	1363	[DEBUG]	Executed store
2023-10-13	12:44:34	1363	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:44:34	1363	[DEBUG]	Manufacturer exists
2023-10-13	12:44:34	1363	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:44:34	1363	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:34	1363	[DEBUG]	Executed store
2023-10-13	12:44:34	1363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860855','32')
2023-10-13	12:44:34	1363	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:34	1363	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:34	1363	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860855 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:34	1363	[DEBUG]	Store custom available field
2023-10-13	12:44:34	1363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860855,3,'',1)
2023-10-13	12:44:34	1363	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:34	1363	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:34	1363	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860855 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:34	1363	[DEBUG]	Store custom available field
2023-10-13	12:44:34	1363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860855,6,'Unitaire',3)
2023-10-13	12:44:34	1363	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:34	1363	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:34	1363	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860854
2023-10-13	12:44:34	1363	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:34	1363	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860854\":[1860854,8,1,\"choisir la taille\"],\"1860855\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860854
2023-10-13	12:44:34	1363	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:34	1363	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860855
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:34	1364	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field taille
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:34	1364	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:34	1364	[DEBUG]	Use default value for field file_url
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:34	1364	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:34	1364	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:34	1364	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:34	1364	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:34	1364	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field published
2023-10-13	12:44:34	1364	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:34	1364	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field override
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:34	1364	[DEBUG]	Use field value for field slug
2023-10-13	12:44:34	1364	[DEBUG]	Process line 1364
2023-10-13	12:44:34	1364	[DEBUG]	Load a row
2023-10-13	12:44:34	1364	[DEBUG]	Processing item: A_5166_208
2023-10-13	12:44:34	1364	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:34	1364	[DEBUG]	Processing product tax
2023-10-13	12:44:34	1364	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:34	1364	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:34	1364	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:34	1364	[DEBUG]	Query for Product
2023-10-13	12:44:34	1364	[DEBUG]	Executed store
2023-10-13	12:44:34	1364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5166_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:34	1364	[DEBUG]	Check product language entry
2023-10-13	12:44:34	1364	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860856
2023-10-13	12:44:34	1364	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:34	1364	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5166_208' AND `virtuemart_product_id` != 1860856
2023-10-13	12:44:34	1364	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:34	1364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860856, 'A_5166_208')
2023-10-13	12:44:34	1364	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:34	1364	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv19-27-5-29-40-62-584-635-valve-presta-aucune' AND `virtuemart_product_id` != 1860856
2023-10-13	12:44:34	1364	[DEBUG]	Query for ProductLang
2023-10-13	12:44:34	1364	[DEBUG]	Executed store
2023-10-13	12:44:34	1364	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56774',`product_name`='Schwalbe Chambre-à-air SV19 27.5-29 40/62-584/635 valve presta / &#60;aucune&#62;&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv19-27-5-29-40-62-584-635-valve-presta-aucune' WHERE `virtuemart_product_id` = '1860856'
2023-10-13	12:44:34	1364	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:34	1364	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860856 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:34	1364	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:34	1364	[DEBUG]	Executed store
2023-10-13	12:44:34	1364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860856','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:34	1364	[DEBUG]	Checking manufacturer
2023-10-13	12:44:34	1364	[DEBUG]	Load a row
2023-10-13	12:44:34	1364	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:34	1364	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:44:34	1364	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:34	1364	[DEBUG]	Executed store
2023-10-13	12:44:34	1364	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:44:34	1364	[DEBUG]	Manufacturer exists
2023-10-13	12:44:34	1364	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	12:44:34	1364	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:34	1364	[DEBUG]	Executed store
2023-10-13	12:44:34	1364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860856','77')
2023-10-13	12:44:34	1364	[DEBUG]	Find the custom field ID
2023-10-13	12:44:34	1364	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:34	1364	[DEBUG]	No custom field ID found
2023-10-13	12:44:34	1364	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:34	1364	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:34	1364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860856 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:34	1364	[DEBUG]	Store custom available field
2023-10-13	12:44:34	1364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860856,3,'0',1)
2023-10-13	12:44:34	1364	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:34	1364	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:34	1364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860856 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:34	1364	[DEBUG]	Store custom available field
2023-10-13	12:44:34	1364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860856,6,'choisir la taille',3)
2023-10-13	12:44:34	1364	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:34	1364	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:34	1364	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:34	1364	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:34	1364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860856 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:34	1364	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:34	1364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860856,8,1)
2023-10-13	12:44:34	1364	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:34	1364	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860856\":[1860856,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860856
2023-10-13	12:44:34	1364	[DEBUG]	Checking category
2023-10-13	12:44:34	1364	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:34	1364	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860856
2023-10-13	12:44:34	1364	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:34	1364	[DEBUG]	Executed store
2023-10-13	12:44:34	1364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860856','7301')
2023-10-13	12:44:34	1364	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:34	1364	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860856 AND `virtuemart_category_id` NOT IN (7301)
2023-10-13	12:44:34	1364	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:34	1364	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860856
2023-10-13	12:44:34	1365	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:34	1365	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:34	1365	[DEBUG]	Use field value for field taille
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:34	1365	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:34	1365	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:34	1365	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field file_url
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:34	1365	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:34	1365	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:34	1365	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:34	1365	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:34	1365	[DEBUG]	Use field value for field published
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:34	1365	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field override
2023-10-13	12:44:34	1365	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:34	1365	[DEBUG]	Use field value for field slug
2023-10-13	12:44:34	1365	[DEBUG]	Process line 1365
2023-10-13	12:44:34	1365	[DEBUG]	Load a row
2023-10-13	12:44:34	1365	[DEBUG]	Processing item: 4026495831505
2023-10-13	12:44:34	1365	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:34	1365	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:34	1365	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5166_208'
2023-10-13	12:44:34	1365	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:34	1365	[DEBUG]	Processing product tax
2023-10-13	12:44:34	1365	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:34	1365	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:34	1365	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:34	1365	[DEBUG]	Query for Product
2023-10-13	12:44:34	1365	[DEBUG]	Executed store
2023-10-13	12:44:34	1365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860856','4026495831505','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:34	1365	[DEBUG]	No parent found
2023-10-13	12:44:34	1365	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860856 AND customfield_value = 'stockable'
2023-10-13	12:44:34	1365	[DEBUG]	Check product language entry
2023-10-13	12:44:34	1365	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860857
2023-10-13	12:44:34	1365	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:34	1365	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495831505' AND `virtuemart_product_id` != 1860857
2023-10-13	12:44:34	1365	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:34	1365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860857, '4026495831505')
2023-10-13	12:44:34	1365	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:34	1365	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv19-27-5-29-40-62-584-635-valve-presta-aucune-all' AND `virtuemart_product_id` != 1860857
2023-10-13	12:44:34	1365	[DEBUG]	Query for ProductLang
2023-10-13	12:44:34	1365	[DEBUG]	Executed store
2023-10-13	12:44:34	1365	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Chambre-à-air SV19 27.5-29 40/62-584/635 valve presta / &#60;aucune&#62; (All)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv19-27-5-29-40-62-584-635-valve-presta-aucune-all' WHERE `virtuemart_product_id` = '1860857'
2023-10-13	12:44:34	1365	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:34	1365	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860857 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:34	1365	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:34	1365	[DEBUG]	Executed store
2023-10-13	12:44:34	1365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860857','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:34	1365	[DEBUG]	Checking manufacturer
2023-10-13	12:44:34	1365	[DEBUG]	Load a row
2023-10-13	12:44:34	1365	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:34	1365	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:44:34	1365	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:34	1365	[DEBUG]	Executed store
2023-10-13	12:44:34	1365	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	12:44:34	1365	[DEBUG]	Manufacturer exists
2023-10-13	12:44:34	1365	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	12:44:34	1365	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:34	1365	[DEBUG]	Executed store
2023-10-13	12:44:34	1365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860857','77')
2023-10-13	12:44:34	1365	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:34	1365	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:34	1365	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860857 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:34	1365	[DEBUG]	Store custom available field
2023-10-13	12:44:34	1365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860857,3,'',1)
2023-10-13	12:44:34	1365	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:34	1365	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:44:34	1365	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860857 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:34	1365	[DEBUG]	Store custom available field
2023-10-13	12:44:34	1365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860857,6,'All',3)
2023-10-13	12:44:34	1365	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:34	1365	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:34	1365	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860856
2023-10-13	12:44:34	1365	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:34	1365	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1860856\":[1860856,8,1,\"choisir la taille\"],\"1860857\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1860856
2023-10-13	12:44:34	1365	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:34	1365	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860857
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:34	1366	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field taille
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:34	1366	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:34	1366	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:34	1366	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:34	1366	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:34	1366	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:34	1366	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field published
2023-10-13	12:44:34	1366	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:34	1366	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field override
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:34	1366	[DEBUG]	Use field value for field slug
2023-10-13	12:44:34	1366	[DEBUG]	Process line 1366
2023-10-13	12:44:34	1366	[DEBUG]	Load a row
2023-10-13	12:44:34	1366	[DEBUG]	Processing item: A_6338_1
2023-10-13	12:44:34	1366	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:34	1366	[DEBUG]	Processing product tax
2023-10-13	12:44:34	1366	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:34	1366	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:34	1366	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:34	1366	[DEBUG]	Query for Product
2023-10-13	12:44:34	1366	[DEBUG]	Executed store
2023-10-13	12:44:34	1366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6338_1','0.25','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:34	1366	[DEBUG]	Check product language entry
2023-10-13	12:44:34	1366	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860858
2023-10-13	12:44:34	1366	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:34	1366	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6338_1' AND `virtuemart_product_id` != 1860858
2023-10-13	12:44:34	1366	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:34	1366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860858, 'A_6338_1')
2023-10-13	12:44:34	1366	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:34	1366	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-29-28-27-5-sv19-noir' AND `virtuemart_product_id` != 1860858
2023-10-13	12:44:34	1366	[DEBUG]	Query for ProductLang
2023-10-13	12:44:34	1366	[DEBUG]	Executed store
2023-10-13	12:44:34	1366	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='29 X 1.90/2.125 PRESTA 40 MM, EPAISSEUR 0.9 MM<br><br>N° art fourn : 10.55.13.039',`product_name`='SCHWALBE Chambre-à-air 29,28,27.5,SV19 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-29-28-27-5-sv19-noir' WHERE `virtuemart_product_id` = '1860858'
2023-10-13	12:44:34	1366	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32226_chambre-à-air_29,28,27_5,sv19.jpg
2023-10-13	12:44:34	1366	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:34	1366	[DEBUG]	Process image file
2023-10-13	12:44:34	1366	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:34	1366	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:34	1366	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32226_chambre-à-air_29,28,27_5,sv19.jpg
2023-10-13	12:44:34	1366	[DEBUG]	Full name target: bcprisme/32226_chambre-à-air_29,28,27_5,sv19.jpg
2023-10-13	12:44:35	1366	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:35	1366	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32226_chambre-à-air_29,28,27_5,sv19.jpg'
2023-10-13	12:44:35	1366	[DEBUG]	Query for Media
2023-10-13	12:44:35	1366	[DEBUG]	Executed store
2023-10-13	12:44:35	1366	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32226_chambre-à-air_29,28,27_5,sv19.jpg',`file_url_thumb`='bcprisme/32226_chambre-à-air_29,28,27_5,sv19.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '176063'
2023-10-13	12:44:35	1366	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:35	1366	[DEBUG]	Executed store
2023-10-13	12:44:35	1366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860858','176063','1')
2023-10-13	12:44:35	1366	[DEBUG]	Store product image relation
2023-10-13	12:44:35	1366	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:35	1366	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860858 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:35	1366	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:35	1366	[DEBUG]	Executed store
2023-10-13	12:44:35	1366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860858','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:35	1366	[DEBUG]	Checking manufacturer
2023-10-13	12:44:35	1366	[DEBUG]	Load a row
2023-10-13	12:44:35	1366	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:35	1366	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:35	1366	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:35	1366	[DEBUG]	Executed store
2023-10-13	12:44:35	1366	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:35	1366	[DEBUG]	Manufacturer exists
2023-10-13	12:44:35	1366	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:35	1366	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:35	1366	[DEBUG]	Executed store
2023-10-13	12:44:35	1366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860858','25')
2023-10-13	12:44:35	1366	[DEBUG]	Find the custom field ID
2023-10-13	12:44:35	1366	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:35	1366	[DEBUG]	No custom field ID found
2023-10-13	12:44:35	1366	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:35	1366	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	12:44:35	1366	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860858 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:35	1366	[DEBUG]	Store custom available field
2023-10-13	12:44:35	1366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860858,3,'9.8725',1)
2023-10-13	12:44:35	1366	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:35	1366	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:35	1366	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860858 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:35	1366	[DEBUG]	Store custom available field
2023-10-13	12:44:35	1366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860858,6,'choisir la taille',3)
2023-10-13	12:44:35	1366	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:35	1366	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:35	1366	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:35	1366	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:35	1366	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860858 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:35	1366	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:35	1366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860858,8,1)
2023-10-13	12:44:35	1366	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:35	1366	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860858\":[1860858,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860858
2023-10-13	12:44:35	1366	[DEBUG]	Checking category
2023-10-13	12:44:35	1366	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:35	1366	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860858
2023-10-13	12:44:35	1366	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:35	1366	[DEBUG]	Executed store
2023-10-13	12:44:35	1366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860858','7301')
2023-10-13	12:44:35	1366	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:35	1366	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860858 AND `virtuemart_category_id` NOT IN (7301)
2023-10-13	12:44:35	1366	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:35	1366	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860858
2023-10-13	12:44:35	1367	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:35	1367	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:35	1367	[DEBUG]	Use field value for field taille
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:35	1367	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:35	1367	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:35	1367	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:35	1367	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:35	1367	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:35	1367	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:35	1367	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:35	1367	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:35	1367	[DEBUG]	Use field value for field published
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:35	1367	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field override
2023-10-13	12:44:35	1367	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:35	1367	[DEBUG]	Use field value for field slug
2023-10-13	12:44:35	1367	[DEBUG]	Process line 1367
2023-10-13	12:44:35	1367	[DEBUG]	Load a row
2023-10-13	12:44:35	1367	[DEBUG]	Processing item: 4026495099707
2023-10-13	12:44:35	1367	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:35	1367	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:35	1367	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6338_1'
2023-10-13	12:44:35	1367	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:35	1367	[DEBUG]	Processing product tax
2023-10-13	12:44:35	1367	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:35	1367	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:35	1367	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:35	1367	[DEBUG]	Query for Product
2023-10-13	12:44:35	1367	[DEBUG]	Executed store
2023-10-13	12:44:35	1367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860858','4026495099707','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:35	1367	[DEBUG]	No parent found
2023-10-13	12:44:35	1367	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860858 AND customfield_value = 'stockable'
2023-10-13	12:44:35	1367	[DEBUG]	Check product language entry
2023-10-13	12:44:35	1367	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860859
2023-10-13	12:44:35	1367	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:35	1367	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495099707' AND `virtuemart_product_id` != 1860859
2023-10-13	12:44:35	1367	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:35	1367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860859, '4026495099707')
2023-10-13	12:44:35	1367	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:35	1367	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-29-28-27-5-sv19-noir-unitaire' AND `virtuemart_product_id` != 1860859
2023-10-13	12:44:35	1367	[DEBUG]	Query for ProductLang
2023-10-13	12:44:35	1367	[DEBUG]	Executed store
2023-10-13	12:44:35	1367	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 29,28,27.5,SV19 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-29-28-27-5-sv19-noir-unitaire' WHERE `virtuemart_product_id` = '1860859'
2023-10-13	12:44:35	1367	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32226_chambre-à-air_29,28,27_5,sv19.jpg
2023-10-13	12:44:35	1367	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:35	1367	[DEBUG]	Process image file
2023-10-13	12:44:35	1367	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:35	1367	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:35	1367	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32226_chambre-à-air_29,28,27_5,sv19.jpg
2023-10-13	12:44:35	1367	[DEBUG]	Full name target: bcprisme/32226_chambre-à-air_29,28,27_5,sv19.jpg
2023-10-13	12:44:36	1367	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:36	1367	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32226_chambre-à-air_29,28,27_5,sv19.jpg'
2023-10-13	12:44:36	1367	[DEBUG]	Query for Media
2023-10-13	12:44:36	1367	[DEBUG]	Executed store
2023-10-13	12:44:36	1367	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32226_chambre-à-air_29,28,27_5,sv19.jpg',`file_url_thumb`='bcprisme/32226_chambre-à-air_29,28,27_5,sv19.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '176063'
2023-10-13	12:44:36	1367	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:36	1367	[DEBUG]	Executed store
2023-10-13	12:44:36	1367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860859','176063','1')
2023-10-13	12:44:36	1367	[DEBUG]	Store product image relation
2023-10-13	12:44:36	1367	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:36	1367	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860859 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:36	1367	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:36	1367	[DEBUG]	Executed store
2023-10-13	12:44:36	1367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860859','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:36	1367	[DEBUG]	Checking manufacturer
2023-10-13	12:44:36	1367	[DEBUG]	Load a row
2023-10-13	12:44:36	1367	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:36	1367	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:36	1367	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:36	1367	[DEBUG]	Executed store
2023-10-13	12:44:36	1367	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:36	1367	[DEBUG]	Manufacturer exists
2023-10-13	12:44:36	1367	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:36	1367	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:36	1367	[DEBUG]	Executed store
2023-10-13	12:44:36	1367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860859','25')
2023-10-13	12:44:36	1367	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:36	1367	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:36	1367	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860859 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:36	1367	[DEBUG]	Store custom available field
2023-10-13	12:44:36	1367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860859,3,'',1)
2023-10-13	12:44:36	1367	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:36	1367	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:36	1367	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860859 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:36	1367	[DEBUG]	Store custom available field
2023-10-13	12:44:36	1367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860859,6,'Unitaire',3)
2023-10-13	12:44:36	1367	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:36	1367	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:36	1367	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860858
2023-10-13	12:44:36	1367	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:36	1367	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860858\":[1860858,8,1,\"choisir la taille\"],\"1860859\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860858
2023-10-13	12:44:36	1367	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:36	1367	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860859
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:36	1368	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field taille
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:36	1368	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:36	1368	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:36	1368	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:36	1368	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:36	1368	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:36	1368	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field published
2023-10-13	12:44:36	1368	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:36	1368	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field override
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:36	1368	[DEBUG]	Use field value for field slug
2023-10-13	12:44:36	1368	[DEBUG]	Process line 1368
2023-10-13	12:44:36	1368	[DEBUG]	Load a row
2023-10-13	12:44:36	1368	[DEBUG]	Processing item: A_9412_84
2023-10-13	12:44:36	1368	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:36	1368	[DEBUG]	Processing product tax
2023-10-13	12:44:36	1368	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:36	1368	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:36	1368	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:36	1368	[DEBUG]	Query for Product
2023-10-13	12:44:36	1368	[DEBUG]	Executed store
2023-10-13	12:44:36	1368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9412_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:36	1368	[DEBUG]	Check product language entry
2023-10-13	12:44:36	1368	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860860
2023-10-13	12:44:36	1368	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:36	1368	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9412_84' AND `virtuemart_product_id` != 1860860
2023-10-13	12:44:36	1368	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:36	1368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860860, 'A_9412_84')
2023-10-13	12:44:36	1368	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:36	1368	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv19-ap-air-plus-29-54-65-622-valve-presta-black' AND `virtuemart_product_id` != 1860860
2023-10-13	12:44:36	1368	[DEBUG]	Query for ProductLang
2023-10-13	12:44:36	1368	[DEBUG]	Executed store
2023-10-13	12:44:36	1368	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.78837',`product_name`='SCHWALBE Chambre-à-air SV19+AP Air Plus 29 54/65-622 valve presta / Black&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv19-ap-air-plus-29-54-65-622-valve-presta-black' WHERE `virtuemart_product_id` = '1860860'
2023-10-13	12:44:36	1368	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_78835_de.jpg
2023-10-13	12:44:36	1368	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:36	1368	[DEBUG]	Process image file
2023-10-13	12:44:36	1368	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:36	1368	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:36	1368	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_78835_de.jpg
2023-10-13	12:44:36	1368	[DEBUG]	Full name target: bcprisme/24_78835_de.jpg
2023-10-13	12:44:37	1368	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:37	1368	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_78835_de.jpg'
2023-10-13	12:44:37	1368	[DEBUG]	Query for Media
2023-10-13	12:44:37	1368	[DEBUG]	Executed store
2023-10-13	12:44:37	1368	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_78835_de.jpg',`file_url_thumb`='bcprisme/24_78835_de.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410654'
2023-10-13	12:44:37	1368	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:37	1368	[DEBUG]	Executed store
2023-10-13	12:44:37	1368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860860','1410654','1')
2023-10-13	12:44:37	1368	[DEBUG]	Store product image relation
2023-10-13	12:44:37	1368	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:37	1368	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860860 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:37	1368	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:37	1368	[DEBUG]	Executed store
2023-10-13	12:44:37	1368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860860','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:37	1368	[DEBUG]	Checking manufacturer
2023-10-13	12:44:37	1368	[DEBUG]	Load a row
2023-10-13	12:44:37	1368	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:37	1368	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:44:37	1368	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:37	1368	[DEBUG]	Executed store
2023-10-13	12:44:37	1368	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:44:37	1368	[DEBUG]	Manufacturer exists
2023-10-13	12:44:37	1368	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:44:37	1368	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:37	1368	[DEBUG]	Executed store
2023-10-13	12:44:37	1368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860860','24')
2023-10-13	12:44:37	1368	[DEBUG]	Find the custom field ID
2023-10-13	12:44:37	1368	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:37	1368	[DEBUG]	No custom field ID found
2023-10-13	12:44:37	1368	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:37	1368	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:37	1368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860860 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:37	1368	[DEBUG]	Store custom available field
2023-10-13	12:44:37	1368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860860,3,'0',1)
2023-10-13	12:44:37	1368	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:37	1368	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:37	1368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860860 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:37	1368	[DEBUG]	Store custom available field
2023-10-13	12:44:37	1368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860860,6,'choisir la taille',3)
2023-10-13	12:44:37	1368	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:37	1368	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:37	1368	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:37	1368	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:37	1368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860860 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:37	1368	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:37	1368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860860,8,1)
2023-10-13	12:44:37	1368	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:37	1368	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860860\":[1860860,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860860
2023-10-13	12:44:37	1368	[DEBUG]	Checking category
2023-10-13	12:44:37	1368	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:37	1368	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860860
2023-10-13	12:44:37	1368	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:37	1368	[DEBUG]	Executed store
2023-10-13	12:44:37	1368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860860','7301')
2023-10-13	12:44:37	1368	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:37	1368	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860860 AND `virtuemart_category_id` NOT IN (7301)
2023-10-13	12:44:37	1368	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:37	1368	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860860
2023-10-13	12:44:37	1369	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:37	1369	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:37	1369	[DEBUG]	Use field value for field taille
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:37	1369	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:37	1369	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:37	1369	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:37	1369	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:37	1369	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:37	1369	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:37	1369	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:37	1369	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:37	1369	[DEBUG]	Use field value for field published
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:37	1369	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field override
2023-10-13	12:44:37	1369	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:37	1369	[DEBUG]	Use field value for field slug
2023-10-13	12:44:37	1369	[DEBUG]	Process line 1369
2023-10-13	12:44:37	1369	[DEBUG]	Load a row
2023-10-13	12:44:37	1369	[DEBUG]	Processing item: 4026495871778
2023-10-13	12:44:37	1369	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:37	1369	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:37	1369	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9412_84'
2023-10-13	12:44:37	1369	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:37	1369	[DEBUG]	Processing product tax
2023-10-13	12:44:37	1369	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:37	1369	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:37	1369	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:37	1369	[DEBUG]	Query for Product
2023-10-13	12:44:37	1369	[DEBUG]	Executed store
2023-10-13	12:44:37	1369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860860','4026495871778','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:37	1369	[DEBUG]	No parent found
2023-10-13	12:44:37	1369	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860860 AND customfield_value = 'stockable'
2023-10-13	12:44:37	1369	[DEBUG]	Check product language entry
2023-10-13	12:44:37	1369	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860861
2023-10-13	12:44:37	1369	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:37	1369	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495871778' AND `virtuemart_product_id` != 1860861
2023-10-13	12:44:37	1369	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:37	1369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860861, '4026495871778')
2023-10-13	12:44:37	1369	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:37	1369	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-sv19-ap-air-plus-29-54-65-622-valve-presta-black-unitaire' AND `virtuemart_product_id` != 1860861
2023-10-13	12:44:37	1369	[DEBUG]	Query for ProductLang
2023-10-13	12:44:37	1369	[DEBUG]	Executed store
2023-10-13	12:44:37	1369	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air SV19+AP Air Plus 29 54/65-622 valve presta / Black (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-sv19-ap-air-plus-29-54-65-622-valve-presta-black-unitaire' WHERE `virtuemart_product_id` = '1860861'
2023-10-13	12:44:37	1369	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_78835_de.jpg
2023-10-13	12:44:37	1369	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:37	1369	[DEBUG]	Process image file
2023-10-13	12:44:37	1369	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:37	1369	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:37	1369	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_78835_de.jpg
2023-10-13	12:44:37	1369	[DEBUG]	Full name target: bcprisme/24_78835_de.jpg
2023-10-13	12:44:38	1369	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:38	1369	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_78835_de.jpg'
2023-10-13	12:44:38	1369	[DEBUG]	Query for Media
2023-10-13	12:44:38	1369	[DEBUG]	Executed store
2023-10-13	12:44:38	1369	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_78835_de.jpg',`file_url_thumb`='bcprisme/24_78835_de.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410654'
2023-10-13	12:44:38	1369	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:38	1369	[DEBUG]	Executed store
2023-10-13	12:44:38	1369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860861','1410654','1')
2023-10-13	12:44:38	1369	[DEBUG]	Store product image relation
2023-10-13	12:44:38	1369	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:38	1369	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860861 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:38	1369	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:38	1369	[DEBUG]	Executed store
2023-10-13	12:44:38	1369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860861','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:38	1369	[DEBUG]	Checking manufacturer
2023-10-13	12:44:38	1369	[DEBUG]	Load a row
2023-10-13	12:44:38	1369	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:38	1369	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:44:38	1369	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:38	1369	[DEBUG]	Executed store
2023-10-13	12:44:38	1369	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	12:44:38	1369	[DEBUG]	Manufacturer exists
2023-10-13	12:44:38	1369	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	12:44:38	1369	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:38	1369	[DEBUG]	Executed store
2023-10-13	12:44:38	1369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860861','24')
2023-10-13	12:44:38	1369	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:38	1369	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:38	1369	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860861 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:38	1369	[DEBUG]	Store custom available field
2023-10-13	12:44:38	1369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860861,3,'',1)
2023-10-13	12:44:38	1369	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:38	1369	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:38	1369	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860861 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:38	1369	[DEBUG]	Store custom available field
2023-10-13	12:44:38	1369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860861,6,'Unitaire',3)
2023-10-13	12:44:38	1369	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:38	1369	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:38	1369	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860860
2023-10-13	12:44:38	1369	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:38	1369	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860860\":[1860860,8,1,\"choisir la taille\"],\"1860861\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860860
2023-10-13	12:44:38	1369	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:38	1369	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860861
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:38	1370	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field taille
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:38	1370	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:38	1370	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:38	1370	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:38	1370	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:38	1370	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:38	1370	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field published
2023-10-13	12:44:38	1370	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:38	1370	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field override
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:38	1370	[DEBUG]	Use field value for field slug
2023-10-13	12:44:38	1370	[DEBUG]	Process line 1370
2023-10-13	12:44:38	1370	[DEBUG]	Load a row
2023-10-13	12:44:38	1370	[DEBUG]	Processing item: A_6399_1
2023-10-13	12:44:38	1370	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:38	1370	[DEBUG]	Processing product tax
2023-10-13	12:44:38	1370	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:38	1370	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:38	1370	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:38	1370	[DEBUG]	Query for Product
2023-10-13	12:44:38	1370	[DEBUG]	Executed store
2023-10-13	12:44:38	1370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6399_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:38	1370	[DEBUG]	Check product language entry
2023-10-13	12:44:38	1370	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860862
2023-10-13	12:44:38	1370	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:38	1370	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6399_1' AND `virtuemart_product_id` != 1860862
2023-10-13	12:44:38	1370	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:38	1370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860862, 'A_6399_1')
2023-10-13	12:44:38	1370	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:38	1370	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-6-x-1-1-4-mitas-noir' AND `virtuemart_product_id` != 1860862
2023-10-13	12:44:38	1370	[DEBUG]	Query for ProductLang
2023-10-13	12:44:38	1370	[DEBUG]	Executed store
2023-10-13	12:44:38	1370	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.C00',`product_name`='Mitas Chambre-à-air 6 x 1 1/4 Mitas / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-6-x-1-1-4-mitas-noir' WHERE `virtuemart_product_id` = '1860862'
2023-10-13	12:44:38	1370	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32284_chambre-à-air_6_x_1_1-4_mitas.jpg
2023-10-13	12:44:38	1370	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:38	1370	[DEBUG]	Process image file
2023-10-13	12:44:38	1370	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:38	1370	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:38	1370	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32284_chambre-à-air_6_x_1_1-4_mitas.jpg
2023-10-13	12:44:38	1370	[DEBUG]	Full name target: bcprisme/32284_chambre-à-air_6_x_1_1-4_mitas.jpg
2023-10-13	12:44:39	1370	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:39	1370	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32284_chambre-à-air_6_x_1_1-4_mitas.jpg'
2023-10-13	12:44:39	1370	[DEBUG]	Query for Media
2023-10-13	12:44:39	1370	[DEBUG]	Executed store
2023-10-13	12:44:39	1370	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32284_chambre-à-air_6_x_1_1-4_mitas.jpg',`file_url_thumb`='bcprisme/32284_chambre-à-air_6_x_1_1-4_mitas.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16000'
2023-10-13	12:44:39	1370	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:39	1370	[DEBUG]	Executed store
2023-10-13	12:44:39	1370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860862','16000','1')
2023-10-13	12:44:39	1370	[DEBUG]	Store product image relation
2023-10-13	12:44:39	1370	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:39	1370	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860862 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:39	1370	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:39	1370	[DEBUG]	Executed store
2023-10-13	12:44:39	1370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860862','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:39	1370	[DEBUG]	Checking manufacturer
2023-10-13	12:44:39	1370	[DEBUG]	Load a row
2023-10-13	12:44:39	1370	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:39	1370	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:39	1370	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:39	1370	[DEBUG]	Executed store
2023-10-13	12:44:39	1370	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:39	1370	[DEBUG]	Manufacturer exists
2023-10-13	12:44:39	1370	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:39	1370	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:39	1370	[DEBUG]	Executed store
2023-10-13	12:44:39	1370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860862','136')
2023-10-13	12:44:39	1370	[DEBUG]	Find the custom field ID
2023-10-13	12:44:39	1370	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:39	1370	[DEBUG]	No custom field ID found
2023-10-13	12:44:39	1370	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:39	1370	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:44:39	1370	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860862 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:39	1370	[DEBUG]	Store custom available field
2023-10-13	12:44:39	1370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860862,3,'9.47361111111111',1)
2023-10-13	12:44:39	1370	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:39	1370	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:39	1370	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860862 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:39	1370	[DEBUG]	Store custom available field
2023-10-13	12:44:39	1370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860862,6,'choisir la taille',3)
2023-10-13	12:44:39	1370	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:39	1370	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:39	1370	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:39	1370	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:39	1370	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860862 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:39	1370	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:39	1370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860862,8,1)
2023-10-13	12:44:39	1370	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:39	1370	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860862\":[1860862,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860862
2023-10-13	12:44:39	1370	[DEBUG]	Checking category
2023-10-13	12:44:39	1370	[DEBUG]	Check if category path exists: CHAMBRES-A-AIR 6 - 8
2023-10-13	12:44:39	1370	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIR 6 - 8' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7291
2023-10-13	12:44:39	1370	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:39	1370	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860862
2023-10-13	12:44:39	1370	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:39	1370	[DEBUG]	Executed store
2023-10-13	12:44:39	1370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860862','7302')
2023-10-13	12:44:39	1370	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:39	1370	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860862 AND `virtuemart_category_id` NOT IN (7302)
2023-10-13	12:44:39	1370	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:39	1370	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860862
2023-10-13	12:44:39	1371	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:39	1371	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:39	1371	[DEBUG]	Use field value for field taille
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:39	1371	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:39	1371	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:39	1371	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:39	1371	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:39	1371	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:39	1371	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:39	1371	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:39	1371	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:39	1371	[DEBUG]	Use field value for field published
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:39	1371	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field override
2023-10-13	12:44:39	1371	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:39	1371	[DEBUG]	Use field value for field slug
2023-10-13	12:44:39	1371	[DEBUG]	Process line 1371
2023-10-13	12:44:39	1371	[DEBUG]	Load a row
2023-10-13	12:44:39	1371	[DEBUG]	Processing item: 8593375414319
2023-10-13	12:44:39	1371	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:39	1371	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:39	1371	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6399_1'
2023-10-13	12:44:39	1371	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:39	1371	[DEBUG]	Processing product tax
2023-10-13	12:44:39	1371	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:39	1371	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:39	1371	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:39	1371	[DEBUG]	Query for Product
2023-10-13	12:44:39	1371	[DEBUG]	Executed store
2023-10-13	12:44:39	1371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860862','8593375414319','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:39	1371	[DEBUG]	No parent found
2023-10-13	12:44:39	1371	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860862 AND customfield_value = 'stockable'
2023-10-13	12:44:39	1371	[DEBUG]	Check product language entry
2023-10-13	12:44:39	1371	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860863
2023-10-13	12:44:39	1371	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:39	1371	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8593375414319' AND `virtuemart_product_id` != 1860863
2023-10-13	12:44:39	1371	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:39	1371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860863, '8593375414319')
2023-10-13	12:44:39	1371	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:39	1371	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-6-x-1-1-4-mitas-noir-unitaire' AND `virtuemart_product_id` != 1860863
2023-10-13	12:44:39	1371	[DEBUG]	Query for ProductLang
2023-10-13	12:44:39	1371	[DEBUG]	Executed store
2023-10-13	12:44:39	1371	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Mitas Chambre-à-air 6 x 1 1/4 Mitas / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-6-x-1-1-4-mitas-noir-unitaire' WHERE `virtuemart_product_id` = '1860863'
2023-10-13	12:44:39	1371	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32284_chambre-à-air_6_x_1_1-4_mitas.jpg
2023-10-13	12:44:40	1371	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:40	1371	[DEBUG]	Process image file
2023-10-13	12:44:40	1371	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:40	1371	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:40	1371	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32284_chambre-à-air_6_x_1_1-4_mitas.jpg
2023-10-13	12:44:40	1371	[DEBUG]	Full name target: bcprisme/32284_chambre-à-air_6_x_1_1-4_mitas.jpg
2023-10-13	12:44:40	1371	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:40	1371	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32284_chambre-à-air_6_x_1_1-4_mitas.jpg'
2023-10-13	12:44:40	1371	[DEBUG]	Query for Media
2023-10-13	12:44:40	1371	[DEBUG]	Executed store
2023-10-13	12:44:40	1371	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32284_chambre-à-air_6_x_1_1-4_mitas.jpg',`file_url_thumb`='bcprisme/32284_chambre-à-air_6_x_1_1-4_mitas.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16000'
2023-10-13	12:44:40	1371	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:40	1371	[DEBUG]	Executed store
2023-10-13	12:44:40	1371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860863','16000','1')
2023-10-13	12:44:40	1371	[DEBUG]	Store product image relation
2023-10-13	12:44:40	1371	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:40	1371	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860863 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:40	1371	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:40	1371	[DEBUG]	Executed store
2023-10-13	12:44:40	1371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860863','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:40	1371	[DEBUG]	Checking manufacturer
2023-10-13	12:44:40	1371	[DEBUG]	Load a row
2023-10-13	12:44:40	1371	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:41	1371	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:41	1371	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:41	1371	[DEBUG]	Executed store
2023-10-13	12:44:41	1371	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:41	1371	[DEBUG]	Manufacturer exists
2023-10-13	12:44:41	1371	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:41	1371	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:41	1371	[DEBUG]	Executed store
2023-10-13	12:44:41	1371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860863','136')
2023-10-13	12:44:41	1371	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:41	1371	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:41	1371	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860863 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:41	1371	[DEBUG]	Store custom available field
2023-10-13	12:44:41	1371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860863,3,'',1)
2023-10-13	12:44:41	1371	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:41	1371	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:41	1371	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860863 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:41	1371	[DEBUG]	Store custom available field
2023-10-13	12:44:41	1371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860863,6,'Unitaire',3)
2023-10-13	12:44:41	1371	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:41	1371	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:41	1371	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860862
2023-10-13	12:44:41	1371	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:41	1371	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860862\":[1860862,8,1,\"choisir la taille\"],\"1860863\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860862
2023-10-13	12:44:41	1371	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:41	1371	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860863
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:41	1372	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field taille
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:41	1372	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:41	1372	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:41	1372	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:41	1372	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:41	1372	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:41	1372	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field published
2023-10-13	12:44:41	1372	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:41	1372	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field override
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:41	1372	[DEBUG]	Use field value for field slug
2023-10-13	12:44:41	1372	[DEBUG]	Process line 1372
2023-10-13	12:44:41	1372	[DEBUG]	Load a row
2023-10-13	12:44:41	1372	[DEBUG]	Processing item: A_6400_1
2023-10-13	12:44:41	1372	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:41	1372	[DEBUG]	Processing product tax
2023-10-13	12:44:41	1372	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:41	1372	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:41	1372	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:41	1372	[DEBUG]	Query for Product
2023-10-13	12:44:41	1372	[DEBUG]	Executed store
2023-10-13	12:44:41	1372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6400_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:41	1372	[DEBUG]	Check product language entry
2023-10-13	12:44:41	1372	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860864
2023-10-13	12:44:41	1372	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:41	1372	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6400_1' AND `virtuemart_product_id` != 1860864
2023-10-13	12:44:41	1372	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:41	1372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860864, 'A_6400_1')
2023-10-13	12:44:41	1372	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:41	1372	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-7-x-1-3-4-mitas-noir' AND `virtuemart_product_id` != 1860864
2023-10-13	12:44:41	1372	[DEBUG]	Query for ProductLang
2023-10-13	12:44:41	1372	[DEBUG]	Executed store
2023-10-13	12:44:41	1372	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.C01',`product_name`='Mitas Chambre-à-air 7 x 1 3/4 Mitas  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-7-x-1-3-4-mitas-noir' WHERE `virtuemart_product_id` = '1860864'
2023-10-13	12:44:41	1372	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32285_chambre-à-air_7_x_1_3-4_mitas_.jpg
2023-10-13	12:44:41	1372	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:41	1372	[DEBUG]	Process image file
2023-10-13	12:44:41	1372	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:41	1372	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:41	1372	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32285_chambre-à-air_7_x_1_3-4_mitas_.jpg
2023-10-13	12:44:41	1372	[DEBUG]	Full name target: bcprisme/32285_chambre-à-air_7_x_1_3-4_mitas_.jpg
2023-10-13	12:44:42	1372	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:42	1372	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32285_chambre-à-air_7_x_1_3-4_mitas_.jpg'
2023-10-13	12:44:42	1372	[DEBUG]	Query for Media
2023-10-13	12:44:42	1372	[DEBUG]	Executed store
2023-10-13	12:44:42	1372	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32285_chambre-à-air_7_x_1_3-4_mitas_.jpg',`file_url_thumb`='bcprisme/32285_chambre-à-air_7_x_1_3-4_mitas_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16001'
2023-10-13	12:44:42	1372	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:42	1372	[DEBUG]	Executed store
2023-10-13	12:44:42	1372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860864','16001','1')
2023-10-13	12:44:42	1372	[DEBUG]	Store product image relation
2023-10-13	12:44:42	1372	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:42	1372	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860864 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:42	1372	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:42	1372	[DEBUG]	Executed store
2023-10-13	12:44:42	1372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860864','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:42	1372	[DEBUG]	Checking manufacturer
2023-10-13	12:44:42	1372	[DEBUG]	Load a row
2023-10-13	12:44:42	1372	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:42	1372	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:42	1372	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:42	1372	[DEBUG]	Executed store
2023-10-13	12:44:42	1372	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:42	1372	[DEBUG]	Manufacturer exists
2023-10-13	12:44:42	1372	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:42	1372	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:42	1372	[DEBUG]	Executed store
2023-10-13	12:44:42	1372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860864','136')
2023-10-13	12:44:42	1372	[DEBUG]	Find the custom field ID
2023-10-13	12:44:42	1372	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:42	1372	[DEBUG]	No custom field ID found
2023-10-13	12:44:42	1372	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:42	1372	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:44:42	1372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860864 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:42	1372	[DEBUG]	Store custom available field
2023-10-13	12:44:42	1372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860864,3,'9.47361111111111',1)
2023-10-13	12:44:42	1372	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:42	1372	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:42	1372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860864 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:42	1372	[DEBUG]	Store custom available field
2023-10-13	12:44:42	1372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860864,6,'choisir la taille',3)
2023-10-13	12:44:42	1372	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:42	1372	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:42	1372	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:42	1372	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:42	1372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860864 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:42	1372	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:42	1372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860864,8,1)
2023-10-13	12:44:42	1372	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:42	1372	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860864\":[1860864,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860864
2023-10-13	12:44:42	1372	[DEBUG]	Checking category
2023-10-13	12:44:42	1372	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:42	1372	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860864
2023-10-13	12:44:42	1372	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:42	1372	[DEBUG]	Executed store
2023-10-13	12:44:42	1372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860864','7302')
2023-10-13	12:44:42	1372	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:42	1372	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860864 AND `virtuemart_category_id` NOT IN (7302)
2023-10-13	12:44:42	1372	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:42	1372	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860864
2023-10-13	12:44:42	1373	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:42	1373	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:42	1373	[DEBUG]	Use field value for field taille
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:42	1373	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:42	1373	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:42	1373	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:42	1373	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:42	1373	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:42	1373	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:42	1373	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:42	1373	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:42	1373	[DEBUG]	Use field value for field published
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:42	1373	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field override
2023-10-13	12:44:42	1373	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:42	1373	[DEBUG]	Use field value for field slug
2023-10-13	12:44:42	1373	[DEBUG]	Process line 1373
2023-10-13	12:44:42	1373	[DEBUG]	Load a row
2023-10-13	12:44:42	1373	[DEBUG]	Processing item: 8593375414517
2023-10-13	12:44:42	1373	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:42	1373	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:42	1373	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6400_1'
2023-10-13	12:44:42	1373	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:42	1373	[DEBUG]	Processing product tax
2023-10-13	12:44:42	1373	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:42	1373	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:42	1373	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:42	1373	[DEBUG]	Query for Product
2023-10-13	12:44:42	1373	[DEBUG]	Executed store
2023-10-13	12:44:42	1373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860864','8593375414517','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:42	1373	[DEBUG]	No parent found
2023-10-13	12:44:42	1373	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860864 AND customfield_value = 'stockable'
2023-10-13	12:44:42	1373	[DEBUG]	Check product language entry
2023-10-13	12:44:42	1373	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860865
2023-10-13	12:44:42	1373	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:42	1373	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8593375414517' AND `virtuemart_product_id` != 1860865
2023-10-13	12:44:42	1373	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:42	1373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860865, '8593375414517')
2023-10-13	12:44:42	1373	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:42	1373	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-7-x-1-3-4-mitas-noir-unitaire' AND `virtuemart_product_id` != 1860865
2023-10-13	12:44:42	1373	[DEBUG]	Query for ProductLang
2023-10-13	12:44:42	1373	[DEBUG]	Executed store
2023-10-13	12:44:42	1373	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Mitas Chambre-à-air 7 x 1 3/4 Mitas  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-7-x-1-3-4-mitas-noir-unitaire' WHERE `virtuemart_product_id` = '1860865'
2023-10-13	12:44:42	1373	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32285_chambre-à-air_7_x_1_3-4_mitas_.jpg
2023-10-13	12:44:42	1373	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:42	1373	[DEBUG]	Process image file
2023-10-13	12:44:42	1373	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:42	1373	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:42	1373	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32285_chambre-à-air_7_x_1_3-4_mitas_.jpg
2023-10-13	12:44:42	1373	[DEBUG]	Full name target: bcprisme/32285_chambre-à-air_7_x_1_3-4_mitas_.jpg
2023-10-13	12:44:43	1373	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:43	1373	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32285_chambre-à-air_7_x_1_3-4_mitas_.jpg'
2023-10-13	12:44:43	1373	[DEBUG]	Query for Media
2023-10-13	12:44:43	1373	[DEBUG]	Executed store
2023-10-13	12:44:43	1373	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32285_chambre-à-air_7_x_1_3-4_mitas_.jpg',`file_url_thumb`='bcprisme/32285_chambre-à-air_7_x_1_3-4_mitas_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16001'
2023-10-13	12:44:43	1373	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:43	1373	[DEBUG]	Executed store
2023-10-13	12:44:43	1373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860865','16001','1')
2023-10-13	12:44:43	1373	[DEBUG]	Store product image relation
2023-10-13	12:44:43	1373	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:43	1373	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860865 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:43	1373	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:43	1373	[DEBUG]	Executed store
2023-10-13	12:44:43	1373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860865','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:43	1373	[DEBUG]	Checking manufacturer
2023-10-13	12:44:43	1373	[DEBUG]	Load a row
2023-10-13	12:44:43	1373	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:43	1373	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:43	1373	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:43	1373	[DEBUG]	Executed store
2023-10-13	12:44:43	1373	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:43	1373	[DEBUG]	Manufacturer exists
2023-10-13	12:44:43	1373	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:43	1373	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:43	1373	[DEBUG]	Executed store
2023-10-13	12:44:43	1373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860865','136')
2023-10-13	12:44:43	1373	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:43	1373	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:43	1373	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860865 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:43	1373	[DEBUG]	Store custom available field
2023-10-13	12:44:43	1373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860865,3,'',1)
2023-10-13	12:44:43	1373	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:43	1373	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:43	1373	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860865 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:43	1373	[DEBUG]	Store custom available field
2023-10-13	12:44:43	1373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860865,6,'Unitaire',3)
2023-10-13	12:44:43	1373	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:43	1373	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:43	1373	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860864
2023-10-13	12:44:43	1373	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:43	1373	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860864\":[1860864,8,1,\"choisir la taille\"],\"1860865\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860864
2023-10-13	12:44:43	1373	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:43	1373	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860865
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:43	1374	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field taille
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:43	1374	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:43	1374	[DEBUG]	Use default value for field file_url
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:43	1374	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:43	1374	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:43	1374	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:43	1374	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:43	1374	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field published
2023-10-13	12:44:43	1374	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:43	1374	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field override
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:43	1374	[DEBUG]	Use field value for field slug
2023-10-13	12:44:43	1374	[DEBUG]	Process line 1374
2023-10-13	12:44:43	1374	[DEBUG]	Load a row
2023-10-13	12:44:43	1374	[DEBUG]	Processing item: A_6547_1
2023-10-13	12:44:43	1374	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:43	1374	[DEBUG]	Processing product tax
2023-10-13	12:44:43	1374	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:43	1374	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:43	1374	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:43	1374	[DEBUG]	Query for Product
2023-10-13	12:44:43	1374	[DEBUG]	Executed store
2023-10-13	12:44:43	1374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6547_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:43	1374	[DEBUG]	Check product language entry
2023-10-13	12:44:43	1374	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860866
2023-10-13	12:44:43	1374	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:43	1374	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6547_1' AND `virtuemart_product_id` != 1860866
2023-10-13	12:44:43	1374	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:43	1374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860866, 'A_6547_1')
2023-10-13	12:44:43	1374	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:43	1374	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'primo-chambre-a-air-2-60-3-00-cst-ventil-noir' AND `virtuemart_product_id` != 1860866
2023-10-13	12:44:43	1374	[DEBUG]	Query for ProductLang
2023-10-13	12:44:43	1374	[DEBUG]	Executed store
2023-10-13	12:44:43	1374	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.C04',`product_name`='Primo Chambre-à-air 2.60/3.00 CST Ventil / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='primo-chambre-a-air-2-60-3-00-cst-ventil-noir' WHERE `virtuemart_product_id` = '1860866'
2023-10-13	12:44:43	1374	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:43	1374	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860866 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:43	1374	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:43	1374	[DEBUG]	Executed store
2023-10-13	12:44:43	1374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860866','0','11.0027855153203','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:43	1374	[DEBUG]	Checking manufacturer
2023-10-13	12:44:43	1374	[DEBUG]	Load a row
2023-10-13	12:44:43	1374	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:43	1374	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '198'
2023-10-13	12:44:43	1374	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:43	1374	[DEBUG]	Executed store
2023-10-13	12:44:43	1374	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441891720098' WHERE `virtuemart_manufacturer_id` = '198'
2023-10-13	12:44:43	1374	[DEBUG]	Manufacturer exists
2023-10-13	12:44:43	1374	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 198
2023-10-13	12:44:43	1374	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:43	1374	[DEBUG]	Executed store
2023-10-13	12:44:43	1374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860866','198')
2023-10-13	12:44:43	1374	[DEBUG]	Find the custom field ID
2023-10-13	12:44:43	1374	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:43	1374	[DEBUG]	No custom field ID found
2023-10-13	12:44:43	1374	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:43	1374	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:44:43	1374	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860866 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:43	1374	[DEBUG]	Store custom available field
2023-10-13	12:44:43	1374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860866,3,'9.47361111111111',1)
2023-10-13	12:44:43	1374	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:43	1374	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:43	1374	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860866 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:43	1374	[DEBUG]	Store custom available field
2023-10-13	12:44:43	1374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860866,6,'choisir la taille',3)
2023-10-13	12:44:43	1374	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:43	1374	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:43	1374	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:43	1374	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:43	1374	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860866 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:43	1374	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:43	1374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860866,8,1)
2023-10-13	12:44:43	1374	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:43	1374	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860866\":[1860866,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860866
2023-10-13	12:44:43	1374	[DEBUG]	Checking category
2023-10-13	12:44:43	1374	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:43	1374	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860866
2023-10-13	12:44:43	1374	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:43	1374	[DEBUG]	Executed store
2023-10-13	12:44:43	1374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860866','7302')
2023-10-13	12:44:43	1374	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:43	1374	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860866 AND `virtuemart_category_id` NOT IN (7302)
2023-10-13	12:44:43	1374	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:43	1374	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860866
2023-10-13	12:44:43	1375	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:43	1375	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:43	1375	[DEBUG]	Use field value for field taille
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:43	1375	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:43	1375	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:43	1375	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field file_url
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:43	1375	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:43	1375	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:43	1375	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:43	1375	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:43	1375	[DEBUG]	Use field value for field published
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:43	1375	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field override
2023-10-13	12:44:43	1375	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:43	1375	[DEBUG]	Use field value for field slug
2023-10-13	12:44:43	1375	[DEBUG]	Process line 1375
2023-10-13	12:44:43	1375	[DEBUG]	Load a row
2023-10-13	12:44:43	1375	[DEBUG]	Processing item: 1000000106442
2023-10-13	12:44:43	1375	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:43	1375	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:43	1375	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6547_1'
2023-10-13	12:44:43	1375	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:43	1375	[DEBUG]	Processing product tax
2023-10-13	12:44:43	1375	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:43	1375	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:43	1375	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:43	1375	[DEBUG]	Query for Product
2023-10-13	12:44:43	1375	[DEBUG]	Executed store
2023-10-13	12:44:43	1375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860866','1000000106442','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:43	1375	[DEBUG]	No parent found
2023-10-13	12:44:43	1375	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860866 AND customfield_value = 'stockable'
2023-10-13	12:44:43	1375	[DEBUG]	Check product language entry
2023-10-13	12:44:43	1375	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860867
2023-10-13	12:44:43	1375	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:43	1375	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000106442' AND `virtuemart_product_id` != 1860867
2023-10-13	12:44:43	1375	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:43	1375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860867, '1000000106442')
2023-10-13	12:44:43	1375	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:43	1375	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'primo-chambre-a-air-2-60-3-00-cst-ventil-noir-unitaire' AND `virtuemart_product_id` != 1860867
2023-10-13	12:44:43	1375	[DEBUG]	Query for ProductLang
2023-10-13	12:44:43	1375	[DEBUG]	Executed store
2023-10-13	12:44:43	1375	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Primo Chambre-à-air 2.60/3.00 CST Ventil / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='primo-chambre-a-air-2-60-3-00-cst-ventil-noir-unitaire' WHERE `virtuemart_product_id` = '1860867'
2023-10-13	12:44:43	1375	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:43	1375	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860867 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:43	1375	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:43	1375	[DEBUG]	Executed store
2023-10-13	12:44:43	1375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860867','0','11.0027855153203','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:43	1375	[DEBUG]	Checking manufacturer
2023-10-13	12:44:43	1375	[DEBUG]	Load a row
2023-10-13	12:44:43	1375	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:43	1375	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '198'
2023-10-13	12:44:43	1375	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:43	1375	[DEBUG]	Executed store
2023-10-13	12:44:43	1375	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441891720098' WHERE `virtuemart_manufacturer_id` = '198'
2023-10-13	12:44:43	1375	[DEBUG]	Manufacturer exists
2023-10-13	12:44:43	1375	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 198
2023-10-13	12:44:43	1375	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:43	1375	[DEBUG]	Executed store
2023-10-13	12:44:43	1375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860867','198')
2023-10-13	12:44:43	1375	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:43	1375	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:43	1375	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860867 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:43	1375	[DEBUG]	Store custom available field
2023-10-13	12:44:43	1375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860867,3,'',1)
2023-10-13	12:44:43	1375	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:43	1375	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:43	1375	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860867 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:43	1375	[DEBUG]	Store custom available field
2023-10-13	12:44:43	1375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860867,6,'Unitaire',3)
2023-10-13	12:44:43	1375	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:43	1375	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:43	1375	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860866
2023-10-13	12:44:43	1375	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:43	1375	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860866\":[1860866,8,1,\"choisir la taille\"],\"1860867\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860866
2023-10-13	12:44:43	1375	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:43	1375	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860867
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:43	1376	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field taille
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:43	1376	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:43	1376	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:43	1376	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:43	1376	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:43	1376	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:43	1376	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field published
2023-10-13	12:44:43	1376	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:43	1376	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field override
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:43	1376	[DEBUG]	Use field value for field slug
2023-10-13	12:44:43	1376	[DEBUG]	Process line 1376
2023-10-13	12:44:43	1376	[DEBUG]	Load a row
2023-10-13	12:44:43	1376	[DEBUG]	Processing item: A_5181_3
2023-10-13	12:44:43	1376	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:43	1376	[DEBUG]	Processing product tax
2023-10-13	12:44:43	1376	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:43	1376	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:43	1376	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:43	1376	[DEBUG]	Query for Product
2023-10-13	12:44:43	1376	[DEBUG]	Executed store
2023-10-13	12:44:43	1376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5181_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:43	1376	[DEBUG]	Check product language entry
2023-10-13	12:44:43	1376	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860868
2023-10-13	12:44:43	1376	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:43	1376	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5181_3' AND `virtuemart_product_id` != 1860868
2023-10-13	12:44:43	1376	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:43	1376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860868, 'A_5181_3')
2023-10-13	12:44:43	1376	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:43	1376	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-14-16-sv2-none' AND `virtuemart_product_id` != 1860868
2023-10-13	12:44:43	1376	[DEBUG]	Query for ProductLang
2023-10-13	12:44:43	1376	[DEBUG]	Executed store
2023-10-13	12:44:43	1376	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.13.020',`product_name`='SCHWALBE Chambre-à-air 14-16 SV2 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-14-16-sv2-none' WHERE `virtuemart_product_id` = '1860868'
2023-10-13	12:44:43	1376	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29646_chambres-a-air_schwalbe_14__sv2.jpg
2023-10-13	12:44:43	1376	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:43	1376	[DEBUG]	Process image file
2023-10-13	12:44:43	1376	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:43	1376	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:43	1376	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29646_chambres-a-air_schwalbe_14__sv2.jpg
2023-10-13	12:44:43	1376	[DEBUG]	Full name target: bcprisme/29646_chambres-a-air_schwalbe_14__sv2.jpg
2023-10-13	12:44:44	1376	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:44	1376	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29646_chambres-a-air_schwalbe_14__sv2.jpg'
2023-10-13	12:44:44	1376	[DEBUG]	Query for Media
2023-10-13	12:44:44	1376	[DEBUG]	Executed store
2023-10-13	12:44:44	1376	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29646_chambres-a-air_schwalbe_14__sv2.jpg',`file_url_thumb`='bcprisme/29646_chambres-a-air_schwalbe_14__sv2.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15826'
2023-10-13	12:44:44	1376	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:44	1376	[DEBUG]	Executed store
2023-10-13	12:44:44	1376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860868','15826','1')
2023-10-13	12:44:44	1376	[DEBUG]	Store product image relation
2023-10-13	12:44:44	1376	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:44	1376	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860868 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:44	1376	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:44	1376	[DEBUG]	Executed store
2023-10-13	12:44:44	1376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860868','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:44	1376	[DEBUG]	Checking manufacturer
2023-10-13	12:44:44	1376	[DEBUG]	Load a row
2023-10-13	12:44:44	1376	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:44	1376	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:44	1376	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:44	1376	[DEBUG]	Executed store
2023-10-13	12:44:44	1376	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:44	1376	[DEBUG]	Manufacturer exists
2023-10-13	12:44:44	1376	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:44	1376	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:44	1376	[DEBUG]	Executed store
2023-10-13	12:44:44	1376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860868','25')
2023-10-13	12:44:44	1376	[DEBUG]	Find the custom field ID
2023-10-13	12:44:44	1376	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:44	1376	[DEBUG]	No custom field ID found
2023-10-13	12:44:44	1376	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:44	1376	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:44	1376	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860868 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:44	1376	[DEBUG]	Store custom available field
2023-10-13	12:44:44	1376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860868,3,'0',1)
2023-10-13	12:44:44	1376	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:44	1376	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:44	1376	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860868 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:44	1376	[DEBUG]	Store custom available field
2023-10-13	12:44:44	1376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860868,6,'choisir la taille',3)
2023-10-13	12:44:44	1376	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:44	1376	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:44	1376	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:44	1376	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:44	1376	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860868 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:44	1376	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:44	1376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860868,8,1)
2023-10-13	12:44:44	1376	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:44	1376	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860868\":[1860868,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860868
2023-10-13	12:44:44	1376	[DEBUG]	Checking category
2023-10-13	12:44:44	1376	[DEBUG]	Check if category path exists: CHAMBRES-A-AIRE 14/16
2023-10-13	12:44:44	1376	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIRE 14/16' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7291
2023-10-13	12:44:44	1376	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:44	1376	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860868
2023-10-13	12:44:44	1376	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:44	1376	[DEBUG]	Executed store
2023-10-13	12:44:44	1376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860868','7303')
2023-10-13	12:44:44	1376	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:44	1376	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860868 AND `virtuemart_category_id` NOT IN (7303)
2023-10-13	12:44:44	1376	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:44	1376	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860868
2023-10-13	12:44:44	1377	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:44	1377	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:44	1377	[DEBUG]	Use field value for field taille
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:44	1377	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:44	1377	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:44	1377	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:44	1377	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:44	1377	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:44	1377	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:44	1377	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:44	1377	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:44	1377	[DEBUG]	Use field value for field published
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:44	1377	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field override
2023-10-13	12:44:44	1377	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:44	1377	[DEBUG]	Use field value for field slug
2023-10-13	12:44:44	1377	[DEBUG]	Process line 1377
2023-10-13	12:44:44	1377	[DEBUG]	Load a row
2023-10-13	12:44:44	1377	[DEBUG]	Processing item: 4026495099905
2023-10-13	12:44:44	1377	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:44	1377	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:44	1377	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5181_3'
2023-10-13	12:44:44	1377	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:44	1377	[DEBUG]	Processing product tax
2023-10-13	12:44:44	1377	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:44	1377	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:44	1377	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:44	1377	[DEBUG]	Query for Product
2023-10-13	12:44:44	1377	[DEBUG]	Executed store
2023-10-13	12:44:44	1377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860868','4026495099905','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:44	1377	[DEBUG]	No parent found
2023-10-13	12:44:44	1377	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860868 AND customfield_value = 'stockable'
2023-10-13	12:44:44	1377	[DEBUG]	Check product language entry
2023-10-13	12:44:44	1377	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860869
2023-10-13	12:44:44	1377	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:44	1377	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495099905' AND `virtuemart_product_id` != 1860869
2023-10-13	12:44:44	1377	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:44	1377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860869, '4026495099905')
2023-10-13	12:44:44	1377	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:44	1377	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-chambre-a-air-14-16-sv2-none-unitaire' AND `virtuemart_product_id` != 1860869
2023-10-13	12:44:44	1377	[DEBUG]	Query for ProductLang
2023-10-13	12:44:44	1377	[DEBUG]	Executed store
2023-10-13	12:44:44	1377	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Chambre-à-air 14-16 SV2 / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-chambre-a-air-14-16-sv2-none-unitaire' WHERE `virtuemart_product_id` = '1860869'
2023-10-13	12:44:44	1377	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29646_chambres-a-air_schwalbe_14__sv2.jpg
2023-10-13	12:44:44	1377	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:44	1377	[DEBUG]	Process image file
2023-10-13	12:44:44	1377	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:44	1377	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:44	1377	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29646_chambres-a-air_schwalbe_14__sv2.jpg
2023-10-13	12:44:44	1377	[DEBUG]	Full name target: bcprisme/29646_chambres-a-air_schwalbe_14__sv2.jpg
2023-10-13	12:44:45	1377	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:45	1377	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29646_chambres-a-air_schwalbe_14__sv2.jpg'
2023-10-13	12:44:45	1377	[DEBUG]	Query for Media
2023-10-13	12:44:45	1377	[DEBUG]	Executed store
2023-10-13	12:44:45	1377	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29646_chambres-a-air_schwalbe_14__sv2.jpg',`file_url_thumb`='bcprisme/29646_chambres-a-air_schwalbe_14__sv2.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15826'
2023-10-13	12:44:45	1377	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:45	1377	[DEBUG]	Executed store
2023-10-13	12:44:45	1377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860869','15826','1')
2023-10-13	12:44:45	1377	[DEBUG]	Store product image relation
2023-10-13	12:44:45	1377	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:45	1377	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860869 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:45	1377	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:45	1377	[DEBUG]	Executed store
2023-10-13	12:44:45	1377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860869','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:45	1377	[DEBUG]	Checking manufacturer
2023-10-13	12:44:45	1377	[DEBUG]	Load a row
2023-10-13	12:44:45	1377	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:45	1377	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:45	1377	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:45	1377	[DEBUG]	Executed store
2023-10-13	12:44:45	1377	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	12:44:45	1377	[DEBUG]	Manufacturer exists
2023-10-13	12:44:45	1377	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	12:44:45	1377	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:45	1377	[DEBUG]	Executed store
2023-10-13	12:44:45	1377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860869','25')
2023-10-13	12:44:45	1377	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:45	1377	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:45	1377	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860869 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:45	1377	[DEBUG]	Store custom available field
2023-10-13	12:44:45	1377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860869,3,'',1)
2023-10-13	12:44:45	1377	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:45	1377	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:45	1377	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860869 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:45	1377	[DEBUG]	Store custom available field
2023-10-13	12:44:45	1377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860869,6,'Unitaire',3)
2023-10-13	12:44:45	1377	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:45	1377	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:45	1377	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860868
2023-10-13	12:44:45	1377	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:45	1377	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860868\":[1860868,8,1,\"choisir la taille\"],\"1860869\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860868
2023-10-13	12:44:45	1377	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:45	1377	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860869
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:45	1378	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field taille
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:45	1378	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:45	1378	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:45	1378	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:45	1378	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:45	1378	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:45	1378	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field published
2023-10-13	12:44:45	1378	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:45	1378	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field override
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:45	1378	[DEBUG]	Use field value for field slug
2023-10-13	12:44:45	1378	[DEBUG]	Process line 1378
2023-10-13	12:44:45	1378	[DEBUG]	Load a row
2023-10-13	12:44:45	1378	[DEBUG]	Processing item: A_5637_1
2023-10-13	12:44:45	1378	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:45	1378	[DEBUG]	Processing product tax
2023-10-13	12:44:45	1378	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:45	1378	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:45	1378	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:45	1378	[DEBUG]	Query for Product
2023-10-13	12:44:45	1378	[DEBUG]	Executed store
2023-10-13	12:44:45	1378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5637_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:45	1378	[DEBUG]	Check product language entry
2023-10-13	12:44:45	1378	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860870
2023-10-13	12:44:45	1378	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:45	1378	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5637_1' AND `virtuemart_product_id` != 1860870
2023-10-13	12:44:45	1378	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:45	1378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860870, 'A_5637_1')
2023-10-13	12:44:45	1378	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:45	1378	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-200x50-mitas-sv-90-90-noir' AND `virtuemart_product_id` != 1860870
2023-10-13	12:44:45	1378	[DEBUG]	Query for ProductLang
2023-10-13	12:44:45	1378	[DEBUG]	Executed store
2023-10-13	12:44:45	1378	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.C10',`product_name`='Mitas Chambre-à-air 200x50 Mitas SV 90/90 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-200x50-mitas-sv-90-90-noir' WHERE `virtuemart_product_id` = '1860870'
2023-10-13	12:44:45	1378	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30138_chambre-à-air_200x50_mitas_sv_90-90.jpg
2023-10-13	12:44:45	1378	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:45	1378	[DEBUG]	Process image file
2023-10-13	12:44:45	1378	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:45	1378	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:45	1378	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30138_chambre-à-air_200x50_mitas_sv_90-90.jpg
2023-10-13	12:44:45	1378	[DEBUG]	Full name target: bcprisme/30138_chambre-à-air_200x50_mitas_sv_90-90.jpg
2023-10-13	12:44:46	1378	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:46	1378	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30138_chambre-à-air_200x50_mitas_sv_90-90.jpg'
2023-10-13	12:44:46	1378	[DEBUG]	Query for Media
2023-10-13	12:44:46	1378	[DEBUG]	Executed store
2023-10-13	12:44:46	1378	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30138_chambre-à-air_200x50_mitas_sv_90-90.jpg',`file_url_thumb`='bcprisme/30138_chambre-à-air_200x50_mitas_sv_90-90.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12642'
2023-10-13	12:44:46	1378	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:46	1378	[DEBUG]	Executed store
2023-10-13	12:44:46	1378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860870','12642','1')
2023-10-13	12:44:46	1378	[DEBUG]	Store product image relation
2023-10-13	12:44:46	1378	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:46	1378	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860870 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:46	1378	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:46	1378	[DEBUG]	Executed store
2023-10-13	12:44:46	1378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860870','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:46	1378	[DEBUG]	Checking manufacturer
2023-10-13	12:44:46	1378	[DEBUG]	Load a row
2023-10-13	12:44:46	1378	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:46	1378	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:46	1378	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:46	1378	[DEBUG]	Executed store
2023-10-13	12:44:46	1378	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:46	1378	[DEBUG]	Manufacturer exists
2023-10-13	12:44:46	1378	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:46	1378	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:46	1378	[DEBUG]	Executed store
2023-10-13	12:44:46	1378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860870','136')
2023-10-13	12:44:46	1378	[DEBUG]	Find the custom field ID
2023-10-13	12:44:46	1378	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:46	1378	[DEBUG]	No custom field ID found
2023-10-13	12:44:46	1378	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:46	1378	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:44:46	1378	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860870 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:46	1378	[DEBUG]	Store custom available field
2023-10-13	12:44:46	1378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860870,3,'9.47361111111111',1)
2023-10-13	12:44:46	1378	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:46	1378	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:46	1378	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860870 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:46	1378	[DEBUG]	Store custom available field
2023-10-13	12:44:46	1378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860870,6,'choisir la taille',3)
2023-10-13	12:44:46	1378	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:46	1378	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:46	1378	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:46	1378	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:46	1378	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860870 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:46	1378	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:46	1378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860870,8,1)
2023-10-13	12:44:46	1378	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:46	1378	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860870\":[1860870,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860870
2023-10-13	12:44:46	1378	[DEBUG]	Checking category
2023-10-13	12:44:46	1378	[DEBUG]	Check if category path exists: CHAMBRES-A-AIRE 4 à 8
2023-10-13	12:44:46	1378	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAMBRES-A-AIRE 4 à 8' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7291
2023-10-13	12:44:46	1378	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:46	1378	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860870
2023-10-13	12:44:46	1378	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:46	1378	[DEBUG]	Executed store
2023-10-13	12:44:46	1378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860870','7304')
2023-10-13	12:44:46	1378	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:46	1378	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860870 AND `virtuemart_category_id` NOT IN (7304)
2023-10-13	12:44:46	1378	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:46	1378	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860870
2023-10-13	12:44:46	1379	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:46	1379	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:46	1379	[DEBUG]	Use field value for field taille
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:46	1379	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:46	1379	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:46	1379	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:46	1379	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:46	1379	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:46	1379	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:46	1379	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:46	1379	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:46	1379	[DEBUG]	Use field value for field published
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:46	1379	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field override
2023-10-13	12:44:46	1379	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:46	1379	[DEBUG]	Use field value for field slug
2023-10-13	12:44:46	1379	[DEBUG]	Process line 1379
2023-10-13	12:44:46	1379	[DEBUG]	Load a row
2023-10-13	12:44:46	1379	[DEBUG]	Processing item: 8593375417419
2023-10-13	12:44:46	1379	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:46	1379	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:46	1379	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5637_1'
2023-10-13	12:44:46	1379	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:46	1379	[DEBUG]	Processing product tax
2023-10-13	12:44:46	1379	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:46	1379	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:46	1379	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:46	1379	[DEBUG]	Query for Product
2023-10-13	12:44:46	1379	[DEBUG]	Executed store
2023-10-13	12:44:46	1379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860870','8593375417419','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:46	1379	[DEBUG]	No parent found
2023-10-13	12:44:46	1379	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860870 AND customfield_value = 'stockable'
2023-10-13	12:44:46	1379	[DEBUG]	Check product language entry
2023-10-13	12:44:46	1379	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860871
2023-10-13	12:44:46	1379	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:46	1379	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8593375417419' AND `virtuemart_product_id` != 1860871
2023-10-13	12:44:46	1379	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:46	1379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860871, '8593375417419')
2023-10-13	12:44:46	1379	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:46	1379	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-200x50-mitas-sv-90-90-noir-unitaire' AND `virtuemart_product_id` != 1860871
2023-10-13	12:44:46	1379	[DEBUG]	Query for ProductLang
2023-10-13	12:44:46	1379	[DEBUG]	Executed store
2023-10-13	12:44:46	1379	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Mitas Chambre-à-air 200x50 Mitas SV 90/90 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-200x50-mitas-sv-90-90-noir-unitaire' WHERE `virtuemart_product_id` = '1860871'
2023-10-13	12:44:46	1379	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30138_chambre-à-air_200x50_mitas_sv_90-90.jpg
2023-10-13	12:44:46	1379	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:46	1379	[DEBUG]	Process image file
2023-10-13	12:44:46	1379	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:46	1379	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:46	1379	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30138_chambre-à-air_200x50_mitas_sv_90-90.jpg
2023-10-13	12:44:46	1379	[DEBUG]	Full name target: bcprisme/30138_chambre-à-air_200x50_mitas_sv_90-90.jpg
2023-10-13	12:44:47	1379	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:47	1379	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30138_chambre-à-air_200x50_mitas_sv_90-90.jpg'
2023-10-13	12:44:47	1379	[DEBUG]	Query for Media
2023-10-13	12:44:47	1379	[DEBUG]	Executed store
2023-10-13	12:44:47	1379	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30138_chambre-à-air_200x50_mitas_sv_90-90.jpg',`file_url_thumb`='bcprisme/30138_chambre-à-air_200x50_mitas_sv_90-90.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12642'
2023-10-13	12:44:47	1379	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:47	1379	[DEBUG]	Executed store
2023-10-13	12:44:47	1379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860871','12642','1')
2023-10-13	12:44:47	1379	[DEBUG]	Store product image relation
2023-10-13	12:44:47	1379	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:47	1379	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860871 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:47	1379	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:47	1379	[DEBUG]	Executed store
2023-10-13	12:44:47	1379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860871','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:47	1379	[DEBUG]	Checking manufacturer
2023-10-13	12:44:47	1379	[DEBUG]	Load a row
2023-10-13	12:44:47	1379	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:47	1379	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:47	1379	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:47	1379	[DEBUG]	Executed store
2023-10-13	12:44:47	1379	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:47	1379	[DEBUG]	Manufacturer exists
2023-10-13	12:44:47	1379	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:47	1379	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:47	1379	[DEBUG]	Executed store
2023-10-13	12:44:47	1379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860871','136')
2023-10-13	12:44:47	1379	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:47	1379	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:47	1379	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860871 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:47	1379	[DEBUG]	Store custom available field
2023-10-13	12:44:47	1379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860871,3,'',1)
2023-10-13	12:44:47	1379	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:47	1379	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:47	1379	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860871 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:47	1379	[DEBUG]	Store custom available field
2023-10-13	12:44:47	1379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860871,6,'Unitaire',3)
2023-10-13	12:44:47	1379	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:47	1379	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:47	1379	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860870
2023-10-13	12:44:47	1379	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:47	1379	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860870\":[1860870,8,1,\"choisir la taille\"],\"1860871\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860870
2023-10-13	12:44:47	1379	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:47	1379	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860871
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:47	1380	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field taille
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:47	1380	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:47	1380	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:47	1380	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:47	1380	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:47	1380	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:47	1380	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field published
2023-10-13	12:44:47	1380	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:47	1380	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field override
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:47	1380	[DEBUG]	Use field value for field slug
2023-10-13	12:44:47	1380	[DEBUG]	Process line 1380
2023-10-13	12:44:47	1380	[DEBUG]	Load a row
2023-10-13	12:44:47	1380	[DEBUG]	Processing item: A_6401_1
2023-10-13	12:44:47	1380	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:47	1380	[DEBUG]	Processing product tax
2023-10-13	12:44:47	1380	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:47	1380	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:47	1380	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:47	1380	[DEBUG]	Query for Product
2023-10-13	12:44:47	1380	[DEBUG]	Executed store
2023-10-13	12:44:47	1380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6401_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:47	1380	[DEBUG]	Check product language entry
2023-10-13	12:44:47	1380	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860872
2023-10-13	12:44:47	1380	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:47	1380	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6401_1' AND `virtuemart_product_id` != 1860872
2023-10-13	12:44:47	1380	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:47	1380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860872, 'A_6401_1')
2023-10-13	12:44:47	1380	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:47	1380	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-2-60-85-3-00-4-cst-valve-90-noir' AND `virtuemart_product_id` != 1860872
2023-10-13	12:44:47	1380	[DEBUG]	Query for ProductLang
2023-10-13	12:44:47	1380	[DEBUG]	Executed store
2023-10-13	12:44:47	1380	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.C11',`product_name`='Mitas Chambre-à-air 2.60-85/3.00-4 CST valve 90° / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-2-60-85-3-00-4-cst-valve-90-noir' WHERE `virtuemart_product_id` = '1860872'
2023-10-13	12:44:47	1380	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32286_chambre-à-air_2_60-85-3_00-4_cst_valve_90_.jpg
2023-10-13	12:44:47	1380	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:47	1380	[DEBUG]	Process image file
2023-10-13	12:44:47	1380	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:47	1380	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:47	1380	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32286_chambre-à-air_2_60-85-3_00-4_cst_valve_90_.jpg
2023-10-13	12:44:47	1380	[DEBUG]	Full name target: bcprisme/32286_chambre-à-air_2_60-85-3_00-4_cst_valve_90_.jpg
2023-10-13	12:44:48	1380	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:48	1380	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32286_chambre-à-air_2_60-85-3_00-4_cst_valve_90_.jpg'
2023-10-13	12:44:48	1380	[DEBUG]	Query for Media
2023-10-13	12:44:48	1380	[DEBUG]	Executed store
2023-10-13	12:44:48	1380	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32286_chambre-à-air_2_60-85-3_00-4_cst_valve_90_.jpg',`file_url_thumb`='bcprisme/32286_chambre-à-air_2_60-85-3_00-4_cst_valve_90_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '989990'
2023-10-13	12:44:48	1380	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:48	1380	[DEBUG]	Executed store
2023-10-13	12:44:48	1380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860872','989990','1')
2023-10-13	12:44:48	1380	[DEBUG]	Store product image relation
2023-10-13	12:44:48	1380	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:48	1380	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860872 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:48	1380	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:48	1380	[DEBUG]	Executed store
2023-10-13	12:44:48	1380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860872','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:48	1380	[DEBUG]	Checking manufacturer
2023-10-13	12:44:48	1380	[DEBUG]	Load a row
2023-10-13	12:44:48	1380	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:48	1380	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:48	1380	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:48	1380	[DEBUG]	Executed store
2023-10-13	12:44:48	1380	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:48	1380	[DEBUG]	Manufacturer exists
2023-10-13	12:44:48	1380	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:48	1380	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:48	1380	[DEBUG]	Executed store
2023-10-13	12:44:48	1380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860872','136')
2023-10-13	12:44:48	1380	[DEBUG]	Find the custom field ID
2023-10-13	12:44:48	1380	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:48	1380	[DEBUG]	No custom field ID found
2023-10-13	12:44:48	1380	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:48	1380	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:44:48	1380	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860872 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:48	1380	[DEBUG]	Store custom available field
2023-10-13	12:44:48	1380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860872,3,'9.47361111111111',1)
2023-10-13	12:44:48	1380	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:48	1380	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:48	1380	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860872 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:48	1380	[DEBUG]	Store custom available field
2023-10-13	12:44:48	1380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860872,6,'choisir la taille',3)
2023-10-13	12:44:48	1380	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:48	1380	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:48	1380	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:48	1380	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:48	1380	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860872 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:48	1380	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:48	1380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860872,8,1)
2023-10-13	12:44:48	1380	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:48	1380	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860872\":[1860872,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860872
2023-10-13	12:44:48	1380	[DEBUG]	Checking category
2023-10-13	12:44:48	1380	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:48	1380	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860872
2023-10-13	12:44:48	1380	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:48	1380	[DEBUG]	Executed store
2023-10-13	12:44:48	1380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860872','7304')
2023-10-13	12:44:48	1380	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:48	1380	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860872 AND `virtuemart_category_id` NOT IN (7304)
2023-10-13	12:44:48	1380	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:48	1380	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860872
2023-10-13	12:44:48	1381	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:48	1381	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:48	1381	[DEBUG]	Use field value for field taille
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:48	1381	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:48	1381	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:48	1381	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:48	1381	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:48	1381	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:48	1381	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:48	1381	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:48	1381	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:48	1381	[DEBUG]	Use field value for field published
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:48	1381	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field override
2023-10-13	12:44:48	1381	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:48	1381	[DEBUG]	Use field value for field slug
2023-10-13	12:44:48	1381	[DEBUG]	Process line 1381
2023-10-13	12:44:48	1381	[DEBUG]	Load a row
2023-10-13	12:44:48	1381	[DEBUG]	Processing item: 1000000104929
2023-10-13	12:44:48	1381	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:48	1381	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:48	1381	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6401_1'
2023-10-13	12:44:48	1381	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:48	1381	[DEBUG]	Processing product tax
2023-10-13	12:44:48	1381	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:48	1381	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:48	1381	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:48	1381	[DEBUG]	Query for Product
2023-10-13	12:44:48	1381	[DEBUG]	Executed store
2023-10-13	12:44:48	1381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860872','1000000104929','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:48	1381	[DEBUG]	No parent found
2023-10-13	12:44:48	1381	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860872 AND customfield_value = 'stockable'
2023-10-13	12:44:48	1381	[DEBUG]	Check product language entry
2023-10-13	12:44:48	1381	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860873
2023-10-13	12:44:48	1381	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:48	1381	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000104929' AND `virtuemart_product_id` != 1860873
2023-10-13	12:44:48	1381	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:48	1381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860873, '1000000104929')
2023-10-13	12:44:48	1381	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:48	1381	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-2-60-85-3-00-4-cst-valve-90-noir-unitaire' AND `virtuemart_product_id` != 1860873
2023-10-13	12:44:48	1381	[DEBUG]	Query for ProductLang
2023-10-13	12:44:48	1381	[DEBUG]	Executed store
2023-10-13	12:44:48	1381	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Mitas Chambre-à-air 2.60-85/3.00-4 CST valve 90° / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-2-60-85-3-00-4-cst-valve-90-noir-unitaire' WHERE `virtuemart_product_id` = '1860873'
2023-10-13	12:44:48	1381	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32286_chambre-à-air_2_60-85-3_00-4_cst_valve_90_.jpg
2023-10-13	12:44:48	1381	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:48	1381	[DEBUG]	Process image file
2023-10-13	12:44:48	1381	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:48	1381	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:48	1381	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32286_chambre-à-air_2_60-85-3_00-4_cst_valve_90_.jpg
2023-10-13	12:44:48	1381	[DEBUG]	Full name target: bcprisme/32286_chambre-à-air_2_60-85-3_00-4_cst_valve_90_.jpg
2023-10-13	12:44:49	1381	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:49	1381	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32286_chambre-à-air_2_60-85-3_00-4_cst_valve_90_.jpg'
2023-10-13	12:44:49	1381	[DEBUG]	Query for Media
2023-10-13	12:44:49	1381	[DEBUG]	Executed store
2023-10-13	12:44:49	1381	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32286_chambre-à-air_2_60-85-3_00-4_cst_valve_90_.jpg',`file_url_thumb`='bcprisme/32286_chambre-à-air_2_60-85-3_00-4_cst_valve_90_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '989990'
2023-10-13	12:44:49	1381	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:49	1381	[DEBUG]	Executed store
2023-10-13	12:44:49	1381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860873','989990','1')
2023-10-13	12:44:49	1381	[DEBUG]	Store product image relation
2023-10-13	12:44:49	1381	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:49	1381	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860873 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:49	1381	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:49	1381	[DEBUG]	Executed store
2023-10-13	12:44:49	1381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860873','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:49	1381	[DEBUG]	Checking manufacturer
2023-10-13	12:44:49	1381	[DEBUG]	Load a row
2023-10-13	12:44:49	1381	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:49	1381	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:49	1381	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:49	1381	[DEBUG]	Executed store
2023-10-13	12:44:49	1381	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:49	1381	[DEBUG]	Manufacturer exists
2023-10-13	12:44:49	1381	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:49	1381	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:49	1381	[DEBUG]	Executed store
2023-10-13	12:44:49	1381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860873','136')
2023-10-13	12:44:49	1381	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:49	1381	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:49	1381	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860873 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:49	1381	[DEBUG]	Store custom available field
2023-10-13	12:44:49	1381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860873,3,'',1)
2023-10-13	12:44:49	1381	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:49	1381	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:49	1381	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860873 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:49	1381	[DEBUG]	Store custom available field
2023-10-13	12:44:49	1381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860873,6,'Unitaire',3)
2023-10-13	12:44:49	1381	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:49	1381	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:49	1381	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860872
2023-10-13	12:44:49	1381	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:49	1381	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860872\":[1860872,8,1,\"choisir la taille\"],\"1860873\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860872
2023-10-13	12:44:49	1381	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:49	1381	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860873
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:49	1382	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field taille
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:49	1382	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:49	1382	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:49	1382	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:49	1382	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:49	1382	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:49	1382	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field published
2023-10-13	12:44:49	1382	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:49	1382	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field override
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:49	1382	[DEBUG]	Use field value for field slug
2023-10-13	12:44:49	1382	[DEBUG]	Process line 1382
2023-10-13	12:44:49	1382	[DEBUG]	Load a row
2023-10-13	12:44:49	1382	[DEBUG]	Processing item: A_6405_1
2023-10-13	12:44:49	1382	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:49	1382	[DEBUG]	Processing product tax
2023-10-13	12:44:49	1382	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:49	1382	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:49	1382	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:49	1382	[DEBUG]	Query for Product
2023-10-13	12:44:49	1382	[DEBUG]	Executed store
2023-10-13	12:44:49	1382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6405_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:49	1382	[DEBUG]	Check product language entry
2023-10-13	12:44:49	1382	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860874
2023-10-13	12:44:49	1382	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:49	1382	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6405_1' AND `virtuemart_product_id` != 1860874
2023-10-13	12:44:49	1382	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:49	1382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860874, 'A_6405_1')
2023-10-13	12:44:49	1382	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:49	1382	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-10-x-2-00-cst-valve-a-90-noir' AND `virtuemart_product_id` != 1860874
2023-10-13	12:44:49	1382	[DEBUG]	Query for ProductLang
2023-10-13	12:44:49	1382	[DEBUG]	Executed store
2023-10-13	12:44:49	1382	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.C16',`product_name`='Mitas Chambre-à-air 10 x 2.00 CST valve à 90° / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-10-x-2-00-cst-valve-a-90-noir' WHERE `virtuemart_product_id` = '1860874'
2023-10-13	12:44:49	1382	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32290_chambre-à-air_10_x_2_00_cst_valve_à_90_.jpg
2023-10-13	12:44:49	1382	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:49	1382	[DEBUG]	Process image file
2023-10-13	12:44:49	1382	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:49	1382	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:49	1382	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32290_chambre-à-air_10_x_2_00_cst_valve_à_90_.jpg
2023-10-13	12:44:49	1382	[DEBUG]	Full name target: bcprisme/32290_chambre-à-air_10_x_2_00_cst_valve_à_90_.jpg
2023-10-13	12:44:50	1382	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:50	1382	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32290_chambre-à-air_10_x_2_00_cst_valve_à_90_.jpg'
2023-10-13	12:44:50	1382	[DEBUG]	Query for Media
2023-10-13	12:44:50	1382	[DEBUG]	Executed store
2023-10-13	12:44:50	1382	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32290_chambre-à-air_10_x_2_00_cst_valve_à_90_.jpg',`file_url_thumb`='bcprisme/32290_chambre-à-air_10_x_2_00_cst_valve_à_90_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12643'
2023-10-13	12:44:50	1382	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:50	1382	[DEBUG]	Executed store
2023-10-13	12:44:50	1382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860874','12643','1')
2023-10-13	12:44:50	1382	[DEBUG]	Store product image relation
2023-10-13	12:44:50	1382	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:50	1382	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860874 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:50	1382	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:50	1382	[DEBUG]	Executed store
2023-10-13	12:44:50	1382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860874','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:50	1382	[DEBUG]	Checking manufacturer
2023-10-13	12:44:50	1382	[DEBUG]	Load a row
2023-10-13	12:44:50	1382	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:50	1382	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:50	1382	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:50	1382	[DEBUG]	Executed store
2023-10-13	12:44:50	1382	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:50	1382	[DEBUG]	Manufacturer exists
2023-10-13	12:44:50	1382	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:50	1382	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:50	1382	[DEBUG]	Executed store
2023-10-13	12:44:50	1382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860874','136')
2023-10-13	12:44:50	1382	[DEBUG]	Find the custom field ID
2023-10-13	12:44:50	1382	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:50	1382	[DEBUG]	No custom field ID found
2023-10-13	12:44:50	1382	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:50	1382	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:44:50	1382	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860874 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:50	1382	[DEBUG]	Store custom available field
2023-10-13	12:44:50	1382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860874,3,'9.47361111111111',1)
2023-10-13	12:44:50	1382	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:50	1382	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:50	1382	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860874 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:50	1382	[DEBUG]	Store custom available field
2023-10-13	12:44:50	1382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860874,6,'choisir la taille',3)
2023-10-13	12:44:50	1382	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:50	1382	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:50	1382	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:50	1382	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:50	1382	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860874 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:50	1382	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:50	1382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860874,8,1)
2023-10-13	12:44:50	1382	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:50	1382	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860874\":[1860874,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860874
2023-10-13	12:44:50	1382	[DEBUG]	Checking category
2023-10-13	12:44:50	1382	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:50	1382	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860874
2023-10-13	12:44:50	1382	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:50	1382	[DEBUG]	Executed store
2023-10-13	12:44:50	1382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860874','7304')
2023-10-13	12:44:50	1382	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:50	1382	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860874 AND `virtuemart_category_id` NOT IN (7304)
2023-10-13	12:44:50	1382	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:50	1382	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860874
2023-10-13	12:44:50	1383	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:50	1383	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:50	1383	[DEBUG]	Use field value for field taille
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:50	1383	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:50	1383	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:50	1383	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:50	1383	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:50	1383	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:50	1383	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:50	1383	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:50	1383	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:50	1383	[DEBUG]	Use field value for field published
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:50	1383	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field override
2023-10-13	12:44:50	1383	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:50	1383	[DEBUG]	Use field value for field slug
2023-10-13	12:44:50	1383	[DEBUG]	Process line 1383
2023-10-13	12:44:50	1383	[DEBUG]	Load a row
2023-10-13	12:44:50	1383	[DEBUG]	Processing item: 57.C16
2023-10-13	12:44:50	1383	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:50	1383	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:50	1383	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6405_1'
2023-10-13	12:44:50	1383	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:50	1383	[DEBUG]	Processing product tax
2023-10-13	12:44:50	1383	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:50	1383	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:50	1383	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:50	1383	[DEBUG]	Query for Product
2023-10-13	12:44:50	1383	[DEBUG]	Executed store
2023-10-13	12:44:50	1383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860874','57.C16','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:50	1383	[DEBUG]	No parent found
2023-10-13	12:44:50	1383	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860874 AND customfield_value = 'stockable'
2023-10-13	12:44:50	1383	[DEBUG]	Check product language entry
2023-10-13	12:44:50	1383	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860875
2023-10-13	12:44:50	1383	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:50	1383	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '57.C16' AND `virtuemart_product_id` != 1860875
2023-10-13	12:44:50	1383	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:50	1383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860875, '57.C16')
2023-10-13	12:44:50	1383	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:50	1383	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-10-x-2-00-cst-valve-a-90-noir-unitaire' AND `virtuemart_product_id` != 1860875
2023-10-13	12:44:50	1383	[DEBUG]	Query for ProductLang
2023-10-13	12:44:50	1383	[DEBUG]	Executed store
2023-10-13	12:44:50	1383	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Mitas Chambre-à-air 10 x 2.00 CST valve à 90° / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-10-x-2-00-cst-valve-a-90-noir-unitaire' WHERE `virtuemart_product_id` = '1860875'
2023-10-13	12:44:50	1383	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32290_chambre-à-air_10_x_2_00_cst_valve_à_90_.jpg
2023-10-13	12:44:50	1383	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:50	1383	[DEBUG]	Process image file
2023-10-13	12:44:50	1383	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:50	1383	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:50	1383	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32290_chambre-à-air_10_x_2_00_cst_valve_à_90_.jpg
2023-10-13	12:44:50	1383	[DEBUG]	Full name target: bcprisme/32290_chambre-à-air_10_x_2_00_cst_valve_à_90_.jpg
2023-10-13	12:44:51	1383	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:51	1383	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32290_chambre-à-air_10_x_2_00_cst_valve_à_90_.jpg'
2023-10-13	12:44:51	1383	[DEBUG]	Query for Media
2023-10-13	12:44:51	1383	[DEBUG]	Executed store
2023-10-13	12:44:51	1383	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32290_chambre-à-air_10_x_2_00_cst_valve_à_90_.jpg',`file_url_thumb`='bcprisme/32290_chambre-à-air_10_x_2_00_cst_valve_à_90_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12643'
2023-10-13	12:44:51	1383	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:51	1383	[DEBUG]	Executed store
2023-10-13	12:44:51	1383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860875','12643','1')
2023-10-13	12:44:51	1383	[DEBUG]	Store product image relation
2023-10-13	12:44:51	1383	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:51	1383	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860875 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:51	1383	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:51	1383	[DEBUG]	Executed store
2023-10-13	12:44:51	1383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860875','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:51	1383	[DEBUG]	Checking manufacturer
2023-10-13	12:44:51	1383	[DEBUG]	Load a row
2023-10-13	12:44:51	1383	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:51	1383	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:51	1383	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:51	1383	[DEBUG]	Executed store
2023-10-13	12:44:51	1383	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:51	1383	[DEBUG]	Manufacturer exists
2023-10-13	12:44:51	1383	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:51	1383	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:51	1383	[DEBUG]	Executed store
2023-10-13	12:44:51	1383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860875','136')
2023-10-13	12:44:51	1383	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:51	1383	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:51	1383	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860875 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:51	1383	[DEBUG]	Store custom available field
2023-10-13	12:44:51	1383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860875,3,'',1)
2023-10-13	12:44:51	1383	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:51	1383	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:51	1383	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860875 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:51	1383	[DEBUG]	Store custom available field
2023-10-13	12:44:51	1383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860875,6,'Unitaire',3)
2023-10-13	12:44:51	1383	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:51	1383	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:51	1383	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860874
2023-10-13	12:44:51	1383	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:51	1383	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860874\":[1860874,8,1,\"choisir la taille\"],\"1860875\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860874
2023-10-13	12:44:51	1383	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:51	1383	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860875
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:51	1384	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field taille
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:51	1384	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:51	1384	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:51	1384	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:51	1384	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:51	1384	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:51	1384	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field published
2023-10-13	12:44:51	1384	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:51	1384	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field override
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:51	1384	[DEBUG]	Use field value for field slug
2023-10-13	12:44:51	1384	[DEBUG]	Process line 1384
2023-10-13	12:44:51	1384	[DEBUG]	Load a row
2023-10-13	12:44:51	1384	[DEBUG]	Processing item: A_6406_1
2023-10-13	12:44:51	1384	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:51	1384	[DEBUG]	Processing product tax
2023-10-13	12:44:51	1384	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:51	1384	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:51	1384	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:51	1384	[DEBUG]	Query for Product
2023-10-13	12:44:51	1384	[DEBUG]	Executed store
2023-10-13	12:44:51	1384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6406_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:51	1384	[DEBUG]	Check product language entry
2023-10-13	12:44:51	1384	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860876
2023-10-13	12:44:51	1384	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:51	1384	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6406_1' AND `virtuemart_product_id` != 1860876
2023-10-13	12:44:51	1384	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:51	1384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860876, 'A_6406_1')
2023-10-13	12:44:51	1384	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:51	1384	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-8-1-2-x-2-continental-vw-compact-noir' AND `virtuemart_product_id` != 1860876
2023-10-13	12:44:51	1384	[DEBUG]	Query for ProductLang
2023-10-13	12:44:51	1384	[DEBUG]	Executed store
2023-10-13	12:44:51	1384	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.T180991',`product_name`='Mitas Chambre-à-air 8 1/2 x 2 Continental VW compact / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-8-1-2-x-2-continental-vw-compact-noir' WHERE `virtuemart_product_id` = '1860876'
2023-10-13	12:44:51	1384	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32291_chambre-à-air_8_1-2_x_2_continental_vw_compact.jpg
2023-10-13	12:44:51	1384	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:51	1384	[DEBUG]	Process image file
2023-10-13	12:44:51	1384	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:51	1384	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:51	1384	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32291_chambre-à-air_8_1-2_x_2_continental_vw_compact.jpg
2023-10-13	12:44:51	1384	[DEBUG]	Full name target: bcprisme/32291_chambre-à-air_8_1-2_x_2_continental_vw_compact.jpg
2023-10-13	12:44:52	1384	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:52	1384	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32291_chambre-à-air_8_1-2_x_2_continental_vw_compact.jpg'
2023-10-13	12:44:52	1384	[DEBUG]	Query for Media
2023-10-13	12:44:52	1384	[DEBUG]	Executed store
2023-10-13	12:44:52	1384	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32291_chambre-à-air_8_1-2_x_2_continental_vw_compact.jpg',`file_url_thumb`='bcprisme/32291_chambre-à-air_8_1-2_x_2_continental_vw_compact.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12644'
2023-10-13	12:44:52	1384	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:52	1384	[DEBUG]	Executed store
2023-10-13	12:44:52	1384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860876','12644','1')
2023-10-13	12:44:52	1384	[DEBUG]	Store product image relation
2023-10-13	12:44:52	1384	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:52	1384	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860876 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:52	1384	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:52	1384	[DEBUG]	Executed store
2023-10-13	12:44:52	1384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860876','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:52	1384	[DEBUG]	Checking manufacturer
2023-10-13	12:44:52	1384	[DEBUG]	Load a row
2023-10-13	12:44:52	1384	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:52	1384	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:52	1384	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:52	1384	[DEBUG]	Executed store
2023-10-13	12:44:52	1384	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:52	1384	[DEBUG]	Manufacturer exists
2023-10-13	12:44:52	1384	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:52	1384	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:52	1384	[DEBUG]	Executed store
2023-10-13	12:44:52	1384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860876','136')
2023-10-13	12:44:52	1384	[DEBUG]	Find the custom field ID
2023-10-13	12:44:52	1384	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:52	1384	[DEBUG]	No custom field ID found
2023-10-13	12:44:52	1384	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:52	1384	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:44:52	1384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860876 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:52	1384	[DEBUG]	Store custom available field
2023-10-13	12:44:52	1384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860876,3,'9.47361111111111',1)
2023-10-13	12:44:52	1384	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:52	1384	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:52	1384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860876 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:52	1384	[DEBUG]	Store custom available field
2023-10-13	12:44:52	1384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860876,6,'choisir la taille',3)
2023-10-13	12:44:52	1384	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:52	1384	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:52	1384	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:52	1384	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:52	1384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860876 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:52	1384	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:52	1384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860876,8,1)
2023-10-13	12:44:52	1384	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:52	1384	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860876\":[1860876,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860876
2023-10-13	12:44:52	1384	[DEBUG]	Checking category
2023-10-13	12:44:52	1384	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:52	1384	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860876
2023-10-13	12:44:52	1384	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:52	1384	[DEBUG]	Executed store
2023-10-13	12:44:52	1384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860876','7304')
2023-10-13	12:44:52	1384	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:52	1384	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860876 AND `virtuemart_category_id` NOT IN (7304)
2023-10-13	12:44:52	1384	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:52	1384	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860876
2023-10-13	12:44:52	1385	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:52	1385	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:52	1385	[DEBUG]	Use field value for field taille
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:52	1385	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:52	1385	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:52	1385	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:52	1385	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:52	1385	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:52	1385	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:52	1385	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:52	1385	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:52	1385	[DEBUG]	Use field value for field published
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:52	1385	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field override
2023-10-13	12:44:52	1385	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:52	1385	[DEBUG]	Use field value for field slug
2023-10-13	12:44:52	1385	[DEBUG]	Process line 1385
2023-10-13	12:44:52	1385	[DEBUG]	Load a row
2023-10-13	12:44:52	1385	[DEBUG]	Processing item: 4019238556216
2023-10-13	12:44:52	1385	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:52	1385	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:52	1385	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6406_1'
2023-10-13	12:44:52	1385	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:52	1385	[DEBUG]	Processing product tax
2023-10-13	12:44:52	1385	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:52	1385	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:52	1385	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:52	1385	[DEBUG]	Query for Product
2023-10-13	12:44:52	1385	[DEBUG]	Executed store
2023-10-13	12:44:52	1385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860876','4019238556216','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:52	1385	[DEBUG]	No parent found
2023-10-13	12:44:52	1385	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860876 AND customfield_value = 'stockable'
2023-10-13	12:44:52	1385	[DEBUG]	Check product language entry
2023-10-13	12:44:52	1385	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860877
2023-10-13	12:44:52	1385	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:52	1385	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4019238556216' AND `virtuemart_product_id` != 1860877
2023-10-13	12:44:52	1385	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:52	1385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860877, '4019238556216')
2023-10-13	12:44:52	1385	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:52	1385	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-8-1-2-x-2-continental-vw-compact-noir-unitaire' AND `virtuemart_product_id` != 1860877
2023-10-13	12:44:52	1385	[DEBUG]	Query for ProductLang
2023-10-13	12:44:52	1385	[DEBUG]	Executed store
2023-10-13	12:44:52	1385	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Mitas Chambre-à-air 8 1/2 x 2 Continental VW compact / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-8-1-2-x-2-continental-vw-compact-noir-unitaire' WHERE `virtuemart_product_id` = '1860877'
2023-10-13	12:44:52	1385	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32291_chambre-à-air_8_1-2_x_2_continental_vw_compact.jpg
2023-10-13	12:44:52	1385	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:52	1385	[DEBUG]	Process image file
2023-10-13	12:44:52	1385	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:52	1385	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:52	1385	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32291_chambre-à-air_8_1-2_x_2_continental_vw_compact.jpg
2023-10-13	12:44:52	1385	[DEBUG]	Full name target: bcprisme/32291_chambre-à-air_8_1-2_x_2_continental_vw_compact.jpg
2023-10-13	12:44:53	1385	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:53	1385	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32291_chambre-à-air_8_1-2_x_2_continental_vw_compact.jpg'
2023-10-13	12:44:53	1385	[DEBUG]	Query for Media
2023-10-13	12:44:53	1385	[DEBUG]	Executed store
2023-10-13	12:44:53	1385	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32291_chambre-à-air_8_1-2_x_2_continental_vw_compact.jpg',`file_url_thumb`='bcprisme/32291_chambre-à-air_8_1-2_x_2_continental_vw_compact.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12644'
2023-10-13	12:44:53	1385	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:53	1385	[DEBUG]	Executed store
2023-10-13	12:44:53	1385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860877','12644','1')
2023-10-13	12:44:53	1385	[DEBUG]	Store product image relation
2023-10-13	12:44:53	1385	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:53	1385	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860877 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:53	1385	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:53	1385	[DEBUG]	Executed store
2023-10-13	12:44:53	1385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860877','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:53	1385	[DEBUG]	Checking manufacturer
2023-10-13	12:44:53	1385	[DEBUG]	Load a row
2023-10-13	12:44:53	1385	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:53	1385	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:53	1385	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:53	1385	[DEBUG]	Executed store
2023-10-13	12:44:53	1385	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:53	1385	[DEBUG]	Manufacturer exists
2023-10-13	12:44:53	1385	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:53	1385	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:53	1385	[DEBUG]	Executed store
2023-10-13	12:44:53	1385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860877','136')
2023-10-13	12:44:53	1385	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:53	1385	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:53	1385	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860877 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:53	1385	[DEBUG]	Store custom available field
2023-10-13	12:44:53	1385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860877,3,'',1)
2023-10-13	12:44:53	1385	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:53	1385	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:53	1385	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860877 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:53	1385	[DEBUG]	Store custom available field
2023-10-13	12:44:53	1385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860877,6,'Unitaire',3)
2023-10-13	12:44:53	1385	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:53	1385	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:53	1385	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860876
2023-10-13	12:44:53	1385	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:53	1385	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860876\":[1860876,8,1,\"choisir la taille\"],\"1860877\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860876
2023-10-13	12:44:53	1385	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:53	1385	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860877
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:53	1386	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field taille
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:53	1386	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:53	1386	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:53	1386	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:53	1386	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:53	1386	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:53	1386	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field published
2023-10-13	12:44:53	1386	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:53	1386	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field override
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:53	1386	[DEBUG]	Use field value for field slug
2023-10-13	12:44:53	1386	[DEBUG]	Process line 1386
2023-10-13	12:44:53	1386	[DEBUG]	Load a row
2023-10-13	12:44:53	1386	[DEBUG]	Processing item: A_6548_1
2023-10-13	12:44:53	1386	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:53	1386	[DEBUG]	Processing product tax
2023-10-13	12:44:53	1386	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:53	1386	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:53	1386	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:53	1386	[DEBUG]	Query for Product
2023-10-13	12:44:53	1386	[DEBUG]	Executed store
2023-10-13	12:44:53	1386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6548_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:53	1386	[DEBUG]	Check product language entry
2023-10-13	12:44:53	1386	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860878
2023-10-13	12:44:53	1386	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:53	1386	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6548_1' AND `virtuemart_product_id` != 1860878
2023-10-13	12:44:53	1386	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:53	1386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860878, 'A_6548_1')
2023-10-13	12:44:53	1386	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:53	1386	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-4-00-4-cst-noir' AND `virtuemart_product_id` != 1860878
2023-10-13	12:44:53	1386	[DEBUG]	Query for ProductLang
2023-10-13	12:44:53	1386	[DEBUG]	Executed store
2023-10-13	12:44:53	1386	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.C09',`product_name`='Mitas Chambre-à-air 4.00-4 CST  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-4-00-4-cst-noir' WHERE `virtuemart_product_id` = '1860878'
2023-10-13	12:44:53	1386	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32427_chambre-à-air_4_00-4_cst_.jpg
2023-10-13	12:44:53	1386	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:53	1386	[DEBUG]	Process image file
2023-10-13	12:44:53	1386	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:53	1386	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:53	1386	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32427_chambre-à-air_4_00-4_cst_.jpg
2023-10-13	12:44:53	1386	[DEBUG]	Full name target: bcprisme/32427_chambre-à-air_4_00-4_cst_.jpg
2023-10-13	12:44:54	1386	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:54	1386	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32427_chambre-à-air_4_00-4_cst_.jpg'
2023-10-13	12:44:54	1386	[DEBUG]	Query for Media
2023-10-13	12:44:54	1386	[DEBUG]	Executed store
2023-10-13	12:44:54	1386	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32427_chambre-à-air_4_00-4_cst_.jpg',`file_url_thumb`='bcprisme/32427_chambre-à-air_4_00-4_cst_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12645'
2023-10-13	12:44:54	1386	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:54	1386	[DEBUG]	Executed store
2023-10-13	12:44:54	1386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860878','12645','1')
2023-10-13	12:44:54	1386	[DEBUG]	Store product image relation
2023-10-13	12:44:54	1386	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:54	1386	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860878 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:54	1386	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:54	1386	[DEBUG]	Executed store
2023-10-13	12:44:54	1386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860878','0','18.3844011142061','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:54	1386	[DEBUG]	Checking manufacturer
2023-10-13	12:44:54	1386	[DEBUG]	Load a row
2023-10-13	12:44:54	1386	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:54	1386	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:54	1386	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:54	1386	[DEBUG]	Executed store
2023-10-13	12:44:54	1386	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:54	1386	[DEBUG]	Manufacturer exists
2023-10-13	12:44:54	1386	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:54	1386	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:54	1386	[DEBUG]	Executed store
2023-10-13	12:44:54	1386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860878','136')
2023-10-13	12:44:54	1386	[DEBUG]	Find the custom field ID
2023-10-13	12:44:54	1386	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:54	1386	[DEBUG]	No custom field ID found
2023-10-13	12:44:54	1386	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:54	1386	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:44:54	1386	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860878 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:54	1386	[DEBUG]	Store custom available field
2023-10-13	12:44:54	1386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860878,3,'9.47361111111111',1)
2023-10-13	12:44:54	1386	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:54	1386	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:54	1386	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860878 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:54	1386	[DEBUG]	Store custom available field
2023-10-13	12:44:54	1386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860878,6,'choisir la taille',3)
2023-10-13	12:44:54	1386	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:54	1386	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:54	1386	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:54	1386	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:54	1386	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860878 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:54	1386	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:54	1386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860878,8,1)
2023-10-13	12:44:54	1386	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:54	1386	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860878\":[1860878,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860878
2023-10-13	12:44:54	1386	[DEBUG]	Checking category
2023-10-13	12:44:54	1386	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:54	1386	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860878
2023-10-13	12:44:54	1386	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:54	1386	[DEBUG]	Executed store
2023-10-13	12:44:54	1386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860878','7304')
2023-10-13	12:44:54	1386	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:54	1386	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860878 AND `virtuemart_category_id` NOT IN (7304)
2023-10-13	12:44:54	1386	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:54	1386	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860878
2023-10-13	12:44:54	1387	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:54	1387	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:54	1387	[DEBUG]	Use field value for field taille
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:54	1387	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:54	1387	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:54	1387	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:54	1387	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:54	1387	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:54	1387	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:54	1387	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:54	1387	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:54	1387	[DEBUG]	Use field value for field published
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:54	1387	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field override
2023-10-13	12:44:54	1387	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:54	1387	[DEBUG]	Use field value for field slug
2023-10-13	12:44:54	1387	[DEBUG]	Process line 1387
2023-10-13	12:44:54	1387	[DEBUG]	Load a row
2023-10-13	12:44:54	1387	[DEBUG]	Processing item: 57.C09
2023-10-13	12:44:54	1387	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:54	1387	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:54	1387	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6548_1'
2023-10-13	12:44:54	1387	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:54	1387	[DEBUG]	Processing product tax
2023-10-13	12:44:54	1387	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:54	1387	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:54	1387	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:54	1387	[DEBUG]	Query for Product
2023-10-13	12:44:54	1387	[DEBUG]	Executed store
2023-10-13	12:44:54	1387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860878','57.C09','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:54	1387	[DEBUG]	No parent found
2023-10-13	12:44:54	1387	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860878 AND customfield_value = 'stockable'
2023-10-13	12:44:54	1387	[DEBUG]	Check product language entry
2023-10-13	12:44:54	1387	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860879
2023-10-13	12:44:54	1387	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:54	1387	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '57.C09' AND `virtuemart_product_id` != 1860879
2023-10-13	12:44:54	1387	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:54	1387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860879, '57.C09')
2023-10-13	12:44:54	1387	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:54	1387	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-4-00-4-cst-noir-unitaire' AND `virtuemart_product_id` != 1860879
2023-10-13	12:44:54	1387	[DEBUG]	Query for ProductLang
2023-10-13	12:44:54	1387	[DEBUG]	Executed store
2023-10-13	12:44:54	1387	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Mitas Chambre-à-air 4.00-4 CST  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-4-00-4-cst-noir-unitaire' WHERE `virtuemart_product_id` = '1860879'
2023-10-13	12:44:54	1387	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32427_chambre-à-air_4_00-4_cst_.jpg
2023-10-13	12:44:54	1387	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:54	1387	[DEBUG]	Process image file
2023-10-13	12:44:54	1387	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:54	1387	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:54	1387	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32427_chambre-à-air_4_00-4_cst_.jpg
2023-10-13	12:44:54	1387	[DEBUG]	Full name target: bcprisme/32427_chambre-à-air_4_00-4_cst_.jpg
2023-10-13	12:44:55	1387	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:55	1387	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32427_chambre-à-air_4_00-4_cst_.jpg'
2023-10-13	12:44:55	1387	[DEBUG]	Query for Media
2023-10-13	12:44:55	1387	[DEBUG]	Executed store
2023-10-13	12:44:55	1387	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32427_chambre-à-air_4_00-4_cst_.jpg',`file_url_thumb`='bcprisme/32427_chambre-à-air_4_00-4_cst_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12645'
2023-10-13	12:44:55	1387	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:55	1387	[DEBUG]	Executed store
2023-10-13	12:44:55	1387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860879','12645','1')
2023-10-13	12:44:55	1387	[DEBUG]	Store product image relation
2023-10-13	12:44:55	1387	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:55	1387	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860879 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:55	1387	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:55	1387	[DEBUG]	Executed store
2023-10-13	12:44:55	1387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860879','0','18.3844011142061','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:55	1387	[DEBUG]	Checking manufacturer
2023-10-13	12:44:55	1387	[DEBUG]	Load a row
2023-10-13	12:44:55	1387	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:55	1387	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:55	1387	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:55	1387	[DEBUG]	Executed store
2023-10-13	12:44:55	1387	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:55	1387	[DEBUG]	Manufacturer exists
2023-10-13	12:44:55	1387	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:55	1387	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:55	1387	[DEBUG]	Executed store
2023-10-13	12:44:55	1387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860879','136')
2023-10-13	12:44:55	1387	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:55	1387	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:55	1387	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860879 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:55	1387	[DEBUG]	Store custom available field
2023-10-13	12:44:55	1387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860879,3,'',1)
2023-10-13	12:44:55	1387	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:55	1387	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:55	1387	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860879 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:55	1387	[DEBUG]	Store custom available field
2023-10-13	12:44:55	1387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860879,6,'Unitaire',3)
2023-10-13	12:44:55	1387	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:55	1387	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:55	1387	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860878
2023-10-13	12:44:55	1387	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:55	1387	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860878\":[1860878,8,1,\"choisir la taille\"],\"1860879\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860878
2023-10-13	12:44:55	1387	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:55	1387	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860879
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:55	1388	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field taille
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:55	1388	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:55	1388	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:55	1388	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:55	1388	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:55	1388	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:55	1388	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field published
2023-10-13	12:44:55	1388	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:55	1388	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field override
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:55	1388	[DEBUG]	Use field value for field slug
2023-10-13	12:44:55	1388	[DEBUG]	Process line 1388
2023-10-13	12:44:55	1388	[DEBUG]	Load a row
2023-10-13	12:44:55	1388	[DEBUG]	Processing item: A_6994_1
2023-10-13	12:44:55	1388	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:55	1388	[DEBUG]	Processing product tax
2023-10-13	12:44:55	1388	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:55	1388	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:55	1388	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:55	1388	[DEBUG]	Query for Product
2023-10-13	12:44:55	1388	[DEBUG]	Executed store
2023-10-13	12:44:55	1388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6994_1','0.132','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:55	1388	[DEBUG]	Check product language entry
2023-10-13	12:44:55	1388	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860880
2023-10-13	12:44:55	1388	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:55	1388	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6994_1' AND `virtuemart_product_id` != 1860880
2023-10-13	12:44:55	1388	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:55	1388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860880, 'A_6994_1')
2023-10-13	12:44:55	1388	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:55	1388	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-350-400-4-michelin-valve-coudee-90-noir' AND `virtuemart_product_id` != 1860880
2023-10-13	12:44:55	1388	[DEBUG]	Query for ProductLang
2023-10-13	12:44:55	1388	[DEBUG]	Executed store
2023-10-13	12:44:55	1388	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='20 X 1.75/2.125 SV, 132gr<br>N° art fourn : 57.454110',`product_name`='Mitas Chambre-à-air 350-400 / 4 Michelin valve coudée 90° / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-350-400-4-michelin-valve-coudee-90-noir' WHERE `virtuemart_product_id` = '1860880'
2023-10-13	12:44:55	1388	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34133_chambre-à-air_350-400_-_4_michelin_valve_coudee_90_.jpg
2023-10-13	12:44:55	1388	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:55	1388	[DEBUG]	Process image file
2023-10-13	12:44:55	1388	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:55	1388	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:55	1388	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34133_chambre-à-air_350-400_-_4_michelin_valve_coudee_90_.jpg
2023-10-13	12:44:55	1388	[DEBUG]	Full name target: bcprisme/34133_chambre-à-air_350-400_-_4_michelin_valve_coudee_90_.jpg
2023-10-13	12:44:56	1388	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:56	1388	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34133_chambre-à-air_350-400_-_4_michelin_valve_coudee_90_.jpg'
2023-10-13	12:44:56	1388	[DEBUG]	Query for Media
2023-10-13	12:44:56	1388	[DEBUG]	Executed store
2023-10-13	12:44:56	1388	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34133_chambre-à-air_350-400_-_4_michelin_valve_coudee_90_.jpg',`file_url_thumb`='bcprisme/34133_chambre-à-air_350-400_-_4_michelin_valve_coudee_90_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16553'
2023-10-13	12:44:56	1388	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:56	1388	[DEBUG]	Executed store
2023-10-13	12:44:56	1388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860880','16553','1')
2023-10-13	12:44:56	1388	[DEBUG]	Store product image relation
2023-10-13	12:44:56	1388	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:56	1388	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860880 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:56	1388	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:56	1388	[DEBUG]	Executed store
2023-10-13	12:44:56	1388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860880','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:56	1388	[DEBUG]	Checking manufacturer
2023-10-13	12:44:56	1388	[DEBUG]	Load a row
2023-10-13	12:44:56	1388	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:56	1388	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:56	1388	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:56	1388	[DEBUG]	Executed store
2023-10-13	12:44:56	1388	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:56	1388	[DEBUG]	Manufacturer exists
2023-10-13	12:44:56	1388	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:56	1388	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:56	1388	[DEBUG]	Executed store
2023-10-13	12:44:56	1388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860880','136')
2023-10-13	12:44:56	1388	[DEBUG]	Find the custom field ID
2023-10-13	12:44:56	1388	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:56	1388	[DEBUG]	No custom field ID found
2023-10-13	12:44:56	1388	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:56	1388	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	12:44:56	1388	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860880 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:56	1388	[DEBUG]	Store custom available field
2023-10-13	12:44:56	1388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860880,3,'9.47361111111111',1)
2023-10-13	12:44:56	1388	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:56	1388	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:56	1388	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860880 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:56	1388	[DEBUG]	Store custom available field
2023-10-13	12:44:56	1388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860880,6,'choisir la taille',3)
2023-10-13	12:44:56	1388	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:56	1388	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:56	1388	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:56	1388	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:56	1388	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860880 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:56	1388	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:56	1388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860880,8,1)
2023-10-13	12:44:56	1388	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:56	1388	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860880\":[1860880,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860880
2023-10-13	12:44:56	1388	[DEBUG]	Checking category
2023-10-13	12:44:56	1388	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:56	1388	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860880
2023-10-13	12:44:56	1388	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:56	1388	[DEBUG]	Executed store
2023-10-13	12:44:56	1388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860880','7304')
2023-10-13	12:44:56	1388	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:56	1388	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860880 AND `virtuemart_category_id` NOT IN (7304)
2023-10-13	12:44:56	1388	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:56	1388	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860880
2023-10-13	12:44:56	1389	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:56	1389	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:56	1389	[DEBUG]	Use field value for field taille
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:56	1389	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:56	1389	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:56	1389	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:56	1389	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:56	1389	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:56	1389	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:56	1389	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:56	1389	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:56	1389	[DEBUG]	Use field value for field published
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:56	1389	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field override
2023-10-13	12:44:56	1389	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:56	1389	[DEBUG]	Use field value for field slug
2023-10-13	12:44:56	1389	[DEBUG]	Process line 1389
2023-10-13	12:44:56	1389	[DEBUG]	Load a row
2023-10-13	12:44:56	1389	[DEBUG]	Processing item: 57.454110
2023-10-13	12:44:56	1389	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:56	1389	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:56	1389	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6994_1'
2023-10-13	12:44:56	1389	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:56	1389	[DEBUG]	Processing product tax
2023-10-13	12:44:56	1389	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:56	1389	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:56	1389	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:56	1389	[DEBUG]	Query for Product
2023-10-13	12:44:56	1389	[DEBUG]	Executed store
2023-10-13	12:44:56	1389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860880','57.454110','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:56	1389	[DEBUG]	No parent found
2023-10-13	12:44:56	1389	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860880 AND customfield_value = 'stockable'
2023-10-13	12:44:56	1389	[DEBUG]	Check product language entry
2023-10-13	12:44:56	1389	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860881
2023-10-13	12:44:56	1389	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:56	1389	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '57.454110' AND `virtuemart_product_id` != 1860881
2023-10-13	12:44:56	1389	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:56	1389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860881, '57.454110')
2023-10-13	12:44:56	1389	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:56	1389	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-chambre-a-air-350-400-4-michelin-valve-coudee-90-noir-unitaire' AND `virtuemart_product_id` != 1860881
2023-10-13	12:44:56	1389	[DEBUG]	Query for ProductLang
2023-10-13	12:44:56	1389	[DEBUG]	Executed store
2023-10-13	12:44:56	1389	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Mitas Chambre-à-air 350-400 / 4 Michelin valve coudée 90° / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-chambre-a-air-350-400-4-michelin-valve-coudee-90-noir-unitaire' WHERE `virtuemart_product_id` = '1860881'
2023-10-13	12:44:56	1389	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34133_chambre-à-air_350-400_-_4_michelin_valve_coudee_90_.jpg
2023-10-13	12:44:56	1389	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:56	1389	[DEBUG]	Process image file
2023-10-13	12:44:56	1389	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:44:56	1389	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:56	1389	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34133_chambre-à-air_350-400_-_4_michelin_valve_coudee_90_.jpg
2023-10-13	12:44:56	1389	[DEBUG]	Full name target: bcprisme/34133_chambre-à-air_350-400_-_4_michelin_valve_coudee_90_.jpg
2023-10-13	12:44:57	1389	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:57	1389	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34133_chambre-à-air_350-400_-_4_michelin_valve_coudee_90_.jpg'
2023-10-13	12:44:57	1389	[DEBUG]	Query for Media
2023-10-13	12:44:57	1389	[DEBUG]	Executed store
2023-10-13	12:44:57	1389	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34133_chambre-à-air_350-400_-_4_michelin_valve_coudee_90_.jpg',`file_url_thumb`='bcprisme/34133_chambre-à-air_350-400_-_4_michelin_valve_coudee_90_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16553'
2023-10-13	12:44:57	1389	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:57	1389	[DEBUG]	Executed store
2023-10-13	12:44:57	1389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860881','16553','1')
2023-10-13	12:44:57	1389	[DEBUG]	Store product image relation
2023-10-13	12:44:57	1389	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:57	1389	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860881 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:57	1389	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:57	1389	[DEBUG]	Executed store
2023-10-13	12:44:57	1389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860881','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:57	1389	[DEBUG]	Checking manufacturer
2023-10-13	12:44:57	1389	[DEBUG]	Load a row
2023-10-13	12:44:57	1389	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:57	1389	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:57	1389	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:57	1389	[DEBUG]	Executed store
2023-10-13	12:44:57	1389	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	12:44:57	1389	[DEBUG]	Manufacturer exists
2023-10-13	12:44:57	1389	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	12:44:57	1389	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:57	1389	[DEBUG]	Executed store
2023-10-13	12:44:57	1389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860881','136')
2023-10-13	12:44:57	1389	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:57	1389	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:57	1389	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860881 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:57	1389	[DEBUG]	Store custom available field
2023-10-13	12:44:57	1389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860881,3,'',1)
2023-10-13	12:44:57	1389	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:57	1389	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:44:57	1389	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860881 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:57	1389	[DEBUG]	Store custom available field
2023-10-13	12:44:57	1389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860881,6,'Unitaire',3)
2023-10-13	12:44:57	1389	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:57	1389	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:44:57	1389	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860880
2023-10-13	12:44:57	1389	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:57	1389	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860880\":[1860880,8,1,\"choisir la taille\"],\"1860881\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860880
2023-10-13	12:44:57	1389	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:57	1389	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860881
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:57	1390	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field taille
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field category_path
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:57	1390	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:44:57	1390	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:57	1390	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field product_weight
2023-10-13	12:44:57	1390	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:57	1390	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:57	1390	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field published
2023-10-13	12:44:57	1390	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:57	1390	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field custom_title
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field custom_param
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field override
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field public_price
2023-10-13	12:44:57	1390	[DEBUG]	Use field value for field slug
2023-10-13	12:44:57	1390	[DEBUG]	Process line 1390
2023-10-13	12:44:57	1390	[DEBUG]	Load a row
2023-10-13	12:44:57	1390	[DEBUG]	Processing item: A_9176_208
2023-10-13	12:44:57	1390	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:57	1390	[DEBUG]	Processing product tax
2023-10-13	12:44:57	1390	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:57	1390	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:57	1390	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:57	1390	[DEBUG]	Query for Product
2023-10-13	12:44:57	1390	[DEBUG]	Executed store
2023-10-13	12:44:57	1390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9176_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:57	1390	[DEBUG]	Check product language entry
2023-10-13	12:44:57	1390	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860882
2023-10-13	12:44:57	1390	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:57	1390	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9176_208' AND `virtuemart_product_id` != 1860882
2023-10-13	12:44:57	1390	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:57	1390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860882, 'A_9176_208')
2023-10-13	12:44:57	1390	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:57	1390	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergon-semelle-interieur-ip-pro-solestar-aucune' AND `virtuemart_product_id` != 1860882
2023-10-13	12:44:57	1390	[DEBUG]	Query for ProductLang
2023-10-13	12:44:57	1390	[DEBUG]	Executed store
2023-10-13	12:44:57	1390	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 83.83104',`product_name`='Ergon Semelle intérieur IP Pro Solestar / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ergon-semelle-interieur-ip-pro-solestar-aucune' WHERE `virtuemart_product_id` = '1860882'
2023-10-13	12:44:57	1390	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_83104_00.jpg
2023-10-13	12:44:57	1390	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:57	1390	[DEBUG]	Process image file
2023-10-13	12:44:57	1390	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:57	1390	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:57	1390	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_83104_00.jpg
2023-10-13	12:44:57	1390	[DEBUG]	Full name target: bcprisme/83_83104_00.jpg
2023-10-13	12:44:58	1390	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:58	1390	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_83104_00.jpg'
2023-10-13	12:44:58	1390	[DEBUG]	Query for Media
2023-10-13	12:44:58	1390	[DEBUG]	Executed store
2023-10-13	12:44:58	1390	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_83104_00.jpg',`file_url_thumb`='bcprisme/83_83104_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1319344'
2023-10-13	12:44:58	1390	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:58	1390	[DEBUG]	Executed store
2023-10-13	12:44:58	1390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860882','1319344','1')
2023-10-13	12:44:58	1390	[DEBUG]	Store product image relation
2023-10-13	12:44:58	1390	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:58	1390	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860882 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:58	1390	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:58	1390	[DEBUG]	Executed store
2023-10-13	12:44:58	1390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860882','0','61.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:58	1390	[DEBUG]	Checking manufacturer
2023-10-13	12:44:58	1390	[DEBUG]	Load a row
2023-10-13	12:44:58	1390	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:58	1390	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '59'
2023-10-13	12:44:58	1390	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:58	1390	[DEBUG]	Executed store
2023-10-13	12:44:58	1390	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-211260634234' WHERE `virtuemart_manufacturer_id` = '59'
2023-10-13	12:44:58	1390	[DEBUG]	Manufacturer exists
2023-10-13	12:44:58	1390	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 59
2023-10-13	12:44:58	1390	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:58	1390	[DEBUG]	Executed store
2023-10-13	12:44:58	1390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860882','59')
2023-10-13	12:44:58	1390	[DEBUG]	Find the custom field ID
2023-10-13	12:44:58	1390	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:44:58	1390	[DEBUG]	No custom field ID found
2023-10-13	12:44:58	1390	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:58	1390	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:44:58	1390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860882 AND `virtuemart_custom_id` = 3
2023-10-13	12:44:58	1390	[DEBUG]	Store custom available field
2023-10-13	12:44:58	1390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860882,3,'0',1)
2023-10-13	12:44:58	1390	[DEBUG]	Processing custom available field: taille
2023-10-13	12:44:58	1390	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:44:58	1390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860882 AND `virtuemart_custom_id` = 6
2023-10-13	12:44:58	1390	[DEBUG]	Store custom available field
2023-10-13	12:44:58	1390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860882,6,'choisir la taille',3)
2023-10-13	12:44:58	1390	[DEBUG]	Process multi-variant fields
2023-10-13	12:44:58	1390	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:44:58	1390	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:44:58	1390	[DEBUG]	Find the multi variant product entry
2023-10-13	12:44:58	1390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860882 AND `virtuemart_custom_id` = 8
2023-10-13	12:44:58	1390	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:44:58	1390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860882,8,1)
2023-10-13	12:44:58	1390	[DEBUG]	Store the updated customfield_params
2023-10-13	12:44:58	1390	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860882\":[1860882,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860882
2023-10-13	12:44:58	1390	[DEBUG]	Checking category
2023-10-13	12:44:58	1390	[DEBUG]	Check if category path exists: CHAUSSURES - SCHUHE
2023-10-13	12:44:58	1390	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAUSSURES - SCHUHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:44:58	1390	[DEBUG]	Check if category path exists: ACCESSOIRES CHAUSSURES
2023-10-13	12:44:58	1390	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'ACCESSOIRES CHAUSSURES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7305
2023-10-13	12:44:58	1390	[DEBUG]	Get the existing categories for the product
2023-10-13	12:44:58	1390	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860882
2023-10-13	12:44:58	1390	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:44:58	1390	[DEBUG]	Executed store
2023-10-13	12:44:58	1390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860882','7306')
2023-10-13	12:44:58	1390	[DEBUG]	Delete leftover product categories
2023-10-13	12:44:58	1390	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860882 AND `virtuemart_category_id` NOT IN (7306)
2023-10-13	12:44:58	1390	[DEBUG]	Update has fields after all processing
2023-10-13	12:44:58	1390	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860882
2023-10-13	12:44:58	1391	[DEBUG]	Use field value for field product_sku
2023-10-13	12:44:58	1391	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:44:58	1391	[DEBUG]	Use field value for field taille
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:44:58	1391	[DEBUG]	Use field value for field product_name
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field category_path
2023-10-13	12:44:58	1391	[DEBUG]	Use field value for field product_price
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:44:58	1391	[DEBUG]	Use field value for field product_tax
2023-10-13	12:44:58	1391	[DEBUG]	Use field value for field file_url
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field product_desc
2023-10-13	12:44:58	1391	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:44:58	1391	[DEBUG]	Use field value for field product_availability
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field product_weight
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field product_unit
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field related_products
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field product_special
2023-10-13	12:44:58	1391	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:44:58	1391	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:44:58	1391	[DEBUG]	Use field value for field published
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field metadesc
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field metakey
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field custom_title
2023-10-13	12:44:58	1391	[DEBUG]	Use field value for field custom_value
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field custom_param
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field override
2023-10-13	12:44:58	1391	[DEBUG]	Use default value for field public_price
2023-10-13	12:44:58	1391	[DEBUG]	Use field value for field slug
2023-10-13	12:44:58	1391	[DEBUG]	Process line 1391
2023-10-13	12:44:58	1391	[DEBUG]	Load a row
2023-10-13	12:44:59	1391	[DEBUG]	Processing item: 4260477073723
2023-10-13	12:44:59	1391	[DEBUG]	Looking for parent SKU
2023-10-13	12:44:59	1391	[DEBUG]	Checking product parent SKU
2023-10-13	12:44:59	1391	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9176_208'
2023-10-13	12:44:59	1391	[DEBUG]	Product tax: 7.7
2023-10-13	12:44:59	1391	[DEBUG]	Processing product tax
2023-10-13	12:44:59	1391	[DEBUG]	Check if calculation rule exists
2023-10-13	12:44:59	1391	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:44:59	1391	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:44:59	1391	[DEBUG]	Query for Product
2023-10-13	12:44:59	1391	[DEBUG]	Executed store
2023-10-13	12:44:59	1391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860882','4260477073723','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:44:59	1391	[DEBUG]	No parent found
2023-10-13	12:44:59	1391	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860882 AND customfield_value = 'stockable'
2023-10-13	12:44:59	1391	[DEBUG]	Check product language entry
2023-10-13	12:44:59	1391	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860883
2023-10-13	12:44:59	1391	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:59	1391	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260477073723' AND `virtuemart_product_id` != 1860883
2023-10-13	12:44:59	1391	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:44:59	1391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860883, '4260477073723')
2023-10-13	12:44:59	1391	[DEBUG]	Check if the product slug exists
2023-10-13	12:44:59	1391	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergon-semelle-interieur-ip-pro-solestar-aucune-44-45' AND `virtuemart_product_id` != 1860883
2023-10-13	12:44:59	1391	[DEBUG]	Query for ProductLang
2023-10-13	12:44:59	1391	[DEBUG]	Executed store
2023-10-13	12:44:59	1391	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Ergon Semelle intérieur IP Pro Solestar / <aucune> (44/45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ergon-semelle-interieur-ip-pro-solestar-aucune-44-45' WHERE `virtuemart_product_id` = '1860883'
2023-10-13	12:44:59	1391	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_83104_00.jpg
2023-10-13	12:44:59	1391	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:59	1391	[DEBUG]	Process image file
2023-10-13	12:44:59	1391	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:44:59	1391	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:44:59	1391	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_83104_00.jpg
2023-10-13	12:44:59	1391	[DEBUG]	Full name target: bcprisme/83_83104_00.jpg
2023-10-13	12:44:59	1391	[DEBUG]	Checking if the file_url exists
2023-10-13	12:44:59	1391	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_83104_00.jpg'
2023-10-13	12:44:59	1391	[DEBUG]	Query for Media
2023-10-13	12:44:59	1391	[DEBUG]	Executed store
2023-10-13	12:44:59	1391	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_83104_00.jpg',`file_url_thumb`='bcprisme/83_83104_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1319344'
2023-10-13	12:44:59	1391	[DEBUG]	Query for ProductMedia
2023-10-13	12:44:59	1391	[DEBUG]	Executed store
2023-10-13	12:44:59	1391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860883','1319344','1')
2023-10-13	12:44:59	1391	[DEBUG]	Store product image relation
2023-10-13	12:44:59	1391	[DEBUG]	Finding a product_price_id
2023-10-13	12:44:59	1391	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860883 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:44:59	1391	[DEBUG]	Query for ProductPrice
2023-10-13	12:44:59	1391	[DEBUG]	Executed store
2023-10-13	12:44:59	1391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860883','0','61.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:44:59	1391	[DEBUG]	Checking manufacturer
2023-10-13	12:44:59	1391	[DEBUG]	Load a row
2023-10-13	12:44:59	1391	[DEBUG]	Manufacturer already exists
2023-10-13	12:44:59	1391	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '59'
2023-10-13	12:44:59	1391	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:44:59	1391	[DEBUG]	Executed store
2023-10-13	12:44:59	1391	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-211260634234' WHERE `virtuemart_manufacturer_id` = '59'
2023-10-13	12:44:59	1391	[DEBUG]	Manufacturer exists
2023-10-13	12:44:59	1391	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 59
2023-10-13	12:44:59	1391	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:44:59	1391	[DEBUG]	Executed store
2023-10-13	12:44:59	1391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860883','59')
2023-10-13	12:44:59	1391	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:44:59	1391	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:44:59	1391	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860883 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:00	1391	[DEBUG]	Store custom available field
2023-10-13	12:45:00	1391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860883,3,'',1)
2023-10-13	12:45:00	1391	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:00	1391	[DEBUG]	Get existing row with customfield value 44/45
2023-10-13	12:45:00	1391	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860883 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:00	1391	[DEBUG]	Store custom available field
2023-10-13	12:45:00	1391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860883,6,'44/45',3)
2023-10-13	12:45:00	1391	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:00	1391	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:00	1391	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860882
2023-10-13	12:45:00	1391	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:00	1391	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\/45\"}]|clabels=0|options={\"1860882\":[1860882,8,1,\"choisir la taille\"],\"1860883\":[\"44\\/45\"]}|' WHERE `virtuemart_product_id` = 1860882
2023-10-13	12:45:00	1391	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:00	1391	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860883
2023-10-13	12:45:00	1392	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:00	1392	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:00	1392	[DEBUG]	Use field value for field taille
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:00	1392	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:00	1392	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:00	1392	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:00	1392	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:00	1392	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:00	1392	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:00	1392	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:00	1392	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:00	1392	[DEBUG]	Use field value for field published
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:00	1392	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field override
2023-10-13	12:45:00	1392	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:00	1392	[DEBUG]	Use field value for field slug
2023-10-13	12:45:00	1392	[DEBUG]	Process line 1392
2023-10-13	12:45:00	1392	[DEBUG]	Load a row
2023-10-13	12:45:00	1392	[DEBUG]	Processing item: 4260477073709
2023-10-13	12:45:00	1392	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:00	1392	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:00	1392	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9176_208'
2023-10-13	12:45:00	1392	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:00	1392	[DEBUG]	Processing product tax
2023-10-13	12:45:00	1392	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:00	1392	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:00	1392	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:00	1392	[DEBUG]	Query for Product
2023-10-13	12:45:00	1392	[DEBUG]	Executed store
2023-10-13	12:45:00	1392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860882','4260477073709','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:45:00	1392	[DEBUG]	No parent found
2023-10-13	12:45:00	1392	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860882 AND customfield_value = 'stockable'
2023-10-13	12:45:00	1392	[DEBUG]	Check product language entry
2023-10-13	12:45:00	1392	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860884
2023-10-13	12:45:00	1392	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:00	1392	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260477073709' AND `virtuemart_product_id` != 1860884
2023-10-13	12:45:00	1392	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:00	1392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860884, '4260477073709')
2023-10-13	12:45:00	1392	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:00	1392	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergon-semelle-interieur-ip-pro-solestar-aucune-40-41' AND `virtuemart_product_id` != 1860884
2023-10-13	12:45:00	1392	[DEBUG]	Query for ProductLang
2023-10-13	12:45:00	1392	[DEBUG]	Executed store
2023-10-13	12:45:00	1392	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Ergon Semelle intérieur IP Pro Solestar / <aucune> (40/41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ergon-semelle-interieur-ip-pro-solestar-aucune-40-41' WHERE `virtuemart_product_id` = '1860884'
2023-10-13	12:45:00	1392	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_83104_00.jpg
2023-10-13	12:45:00	1392	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:45:00	1392	[DEBUG]	Process image file
2023-10-13	12:45:00	1392	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:45:00	1392	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:00	1392	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_83104_00.jpg
2023-10-13	12:45:00	1392	[DEBUG]	Full name target: bcprisme/83_83104_00.jpg
2023-10-13	12:45:01	1392	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:01	1392	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_83104_00.jpg'
2023-10-13	12:45:01	1392	[DEBUG]	Query for Media
2023-10-13	12:45:01	1392	[DEBUG]	Executed store
2023-10-13	12:45:01	1392	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_83104_00.jpg',`file_url_thumb`='bcprisme/83_83104_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1319344'
2023-10-13	12:45:01	1392	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:01	1392	[DEBUG]	Executed store
2023-10-13	12:45:01	1392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860884','1319344','1')
2023-10-13	12:45:01	1392	[DEBUG]	Store product image relation
2023-10-13	12:45:01	1392	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:01	1392	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860884 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:01	1392	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:01	1392	[DEBUG]	Executed store
2023-10-13	12:45:01	1392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860884','0','61.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:01	1392	[DEBUG]	Checking manufacturer
2023-10-13	12:45:01	1392	[DEBUG]	Load a row
2023-10-13	12:45:01	1392	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:01	1392	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '59'
2023-10-13	12:45:01	1392	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:01	1392	[DEBUG]	Executed store
2023-10-13	12:45:01	1392	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-211260634234' WHERE `virtuemart_manufacturer_id` = '59'
2023-10-13	12:45:01	1392	[DEBUG]	Manufacturer exists
2023-10-13	12:45:01	1392	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 59
2023-10-13	12:45:01	1392	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:01	1392	[DEBUG]	Executed store
2023-10-13	12:45:01	1392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860884','59')
2023-10-13	12:45:01	1392	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:01	1392	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:01	1392	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860884 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:01	1392	[DEBUG]	Store custom available field
2023-10-13	12:45:01	1392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860884,3,'',1)
2023-10-13	12:45:01	1392	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:01	1392	[DEBUG]	Get existing row with customfield value 40/41
2023-10-13	12:45:01	1392	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860884 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:01	1392	[DEBUG]	Store custom available field
2023-10-13	12:45:01	1392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860884,6,'40/41',3)
2023-10-13	12:45:01	1392	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:01	1392	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:01	1392	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860882
2023-10-13	12:45:01	1392	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:01	1392	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\/45\\r\\n40\\/41\"}]|clabels=0|options={\"1860882\":[1860882,8,1,\"choisir la taille\"],\"1860883\":[\"44\\/45\"],\"1860884\":[\"40\\/41\"]}|' WHERE `virtuemart_product_id` = 1860882
2023-10-13	12:45:01	1392	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:01	1392	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860884
2023-10-13	12:45:01	1393	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:01	1393	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:01	1393	[DEBUG]	Use field value for field taille
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:01	1393	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:01	1393	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:01	1393	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:01	1393	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:01	1393	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:01	1393	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:01	1393	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:01	1393	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:01	1393	[DEBUG]	Use field value for field published
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:01	1393	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field override
2023-10-13	12:45:01	1393	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:01	1393	[DEBUG]	Use field value for field slug
2023-10-13	12:45:01	1393	[DEBUG]	Process line 1393
2023-10-13	12:45:01	1393	[DEBUG]	Load a row
2023-10-13	12:45:01	1393	[DEBUG]	Processing item: 4260477073730
2023-10-13	12:45:01	1393	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:01	1393	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:01	1393	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9176_208'
2023-10-13	12:45:01	1393	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:01	1393	[DEBUG]	Processing product tax
2023-10-13	12:45:01	1393	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:01	1393	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:01	1393	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:01	1393	[DEBUG]	Query for Product
2023-10-13	12:45:01	1393	[DEBUG]	Executed store
2023-10-13	12:45:01	1393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860882','4260477073730','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:45:01	1393	[DEBUG]	No parent found
2023-10-13	12:45:01	1393	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860882 AND customfield_value = 'stockable'
2023-10-13	12:45:01	1393	[DEBUG]	Check product language entry
2023-10-13	12:45:01	1393	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860885
2023-10-13	12:45:01	1393	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:01	1393	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260477073730' AND `virtuemart_product_id` != 1860885
2023-10-13	12:45:01	1393	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:01	1393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860885, '4260477073730')
2023-10-13	12:45:01	1393	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:01	1393	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergon-semelle-interieur-ip-pro-solestar-aucune-46-47' AND `virtuemart_product_id` != 1860885
2023-10-13	12:45:01	1393	[DEBUG]	Query for ProductLang
2023-10-13	12:45:01	1393	[DEBUG]	Executed store
2023-10-13	12:45:01	1393	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Ergon Semelle intérieur IP Pro Solestar / <aucune> (46/47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ergon-semelle-interieur-ip-pro-solestar-aucune-46-47' WHERE `virtuemart_product_id` = '1860885'
2023-10-13	12:45:01	1393	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_83104_00.jpg
2023-10-13	12:45:01	1393	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:45:01	1393	[DEBUG]	Process image file
2023-10-13	12:45:01	1393	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:45:01	1393	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:01	1393	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_83104_00.jpg
2023-10-13	12:45:01	1393	[DEBUG]	Full name target: bcprisme/83_83104_00.jpg
2023-10-13	12:45:02	1393	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:02	1393	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_83104_00.jpg'
2023-10-13	12:45:02	1393	[DEBUG]	Query for Media
2023-10-13	12:45:02	1393	[DEBUG]	Executed store
2023-10-13	12:45:02	1393	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_83104_00.jpg',`file_url_thumb`='bcprisme/83_83104_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1319344'
2023-10-13	12:45:02	1393	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:02	1393	[DEBUG]	Executed store
2023-10-13	12:45:02	1393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860885','1319344','1')
2023-10-13	12:45:02	1393	[DEBUG]	Store product image relation
2023-10-13	12:45:02	1393	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:02	1393	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860885 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:02	1393	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:02	1393	[DEBUG]	Executed store
2023-10-13	12:45:02	1393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860885','0','61.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:02	1393	[DEBUG]	Checking manufacturer
2023-10-13	12:45:02	1393	[DEBUG]	Load a row
2023-10-13	12:45:02	1393	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:02	1393	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '59'
2023-10-13	12:45:02	1393	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:02	1393	[DEBUG]	Executed store
2023-10-13	12:45:02	1393	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-211260634234' WHERE `virtuemart_manufacturer_id` = '59'
2023-10-13	12:45:02	1393	[DEBUG]	Manufacturer exists
2023-10-13	12:45:02	1393	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 59
2023-10-13	12:45:02	1393	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:02	1393	[DEBUG]	Executed store
2023-10-13	12:45:02	1393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860885','59')
2023-10-13	12:45:02	1393	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:02	1393	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:02	1393	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860885 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:02	1393	[DEBUG]	Store custom available field
2023-10-13	12:45:02	1393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860885,3,'',1)
2023-10-13	12:45:02	1393	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:02	1393	[DEBUG]	Get existing row with customfield value 46/47
2023-10-13	12:45:02	1393	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860885 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:02	1393	[DEBUG]	Store custom available field
2023-10-13	12:45:02	1393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860885,6,'46/47',3)
2023-10-13	12:45:02	1393	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:02	1393	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:02	1393	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860882
2023-10-13	12:45:02	1393	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:02	1393	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\/45\\r\\n40\\/41\\r\\n46\\/47\"}]|clabels=0|options={\"1860882\":[1860882,8,1,\"choisir la taille\"],\"1860883\":[\"44\\/45\"],\"1860884\":[\"40\\/41\"],\"1860885\":[\"46\\/47\"]}|' WHERE `virtuemart_product_id` = 1860882
2023-10-13	12:45:02	1393	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:02	1393	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860885
2023-10-13	12:45:02	1394	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:02	1394	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:02	1394	[DEBUG]	Use field value for field taille
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:02	1394	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:02	1394	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:02	1394	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:02	1394	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:02	1394	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:02	1394	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:02	1394	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:02	1394	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:02	1394	[DEBUG]	Use field value for field published
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:02	1394	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field override
2023-10-13	12:45:02	1394	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:02	1394	[DEBUG]	Use field value for field slug
2023-10-13	12:45:02	1394	[DEBUG]	Process line 1394
2023-10-13	12:45:02	1394	[DEBUG]	Load a row
2023-10-13	12:45:02	1394	[DEBUG]	Processing item: 4260477073693
2023-10-13	12:45:02	1394	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:02	1394	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:02	1394	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9176_208'
2023-10-13	12:45:02	1394	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:02	1394	[DEBUG]	Processing product tax
2023-10-13	12:45:02	1394	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:02	1394	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:02	1394	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:02	1394	[DEBUG]	Query for Product
2023-10-13	12:45:02	1394	[DEBUG]	Executed store
2023-10-13	12:45:02	1394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860882','4260477073693','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:45:02	1394	[DEBUG]	No parent found
2023-10-13	12:45:02	1394	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860882 AND customfield_value = 'stockable'
2023-10-13	12:45:02	1394	[DEBUG]	Check product language entry
2023-10-13	12:45:02	1394	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860886
2023-10-13	12:45:02	1394	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:02	1394	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260477073693' AND `virtuemart_product_id` != 1860886
2023-10-13	12:45:02	1394	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:02	1394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860886, '4260477073693')
2023-10-13	12:45:02	1394	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:02	1394	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergon-semelle-interieur-ip-pro-solestar-aucune-38-39' AND `virtuemart_product_id` != 1860886
2023-10-13	12:45:02	1394	[DEBUG]	Query for ProductLang
2023-10-13	12:45:02	1394	[DEBUG]	Executed store
2023-10-13	12:45:02	1394	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Ergon Semelle intérieur IP Pro Solestar / <aucune> (38/39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ergon-semelle-interieur-ip-pro-solestar-aucune-38-39' WHERE `virtuemart_product_id` = '1860886'
2023-10-13	12:45:02	1394	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_83104_00.jpg
2023-10-13	12:45:02	1394	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:45:02	1394	[DEBUG]	Process image file
2023-10-13	12:45:02	1394	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:45:02	1394	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:02	1394	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_83104_00.jpg
2023-10-13	12:45:02	1394	[DEBUG]	Full name target: bcprisme/83_83104_00.jpg
2023-10-13	12:45:03	1394	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:03	1394	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_83104_00.jpg'
2023-10-13	12:45:03	1394	[DEBUG]	Query for Media
2023-10-13	12:45:03	1394	[DEBUG]	Executed store
2023-10-13	12:45:03	1394	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_83104_00.jpg',`file_url_thumb`='bcprisme/83_83104_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1319344'
2023-10-13	12:45:03	1394	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:03	1394	[DEBUG]	Executed store
2023-10-13	12:45:03	1394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860886','1319344','1')
2023-10-13	12:45:03	1394	[DEBUG]	Store product image relation
2023-10-13	12:45:03	1394	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:03	1394	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860886 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:03	1394	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:03	1394	[DEBUG]	Executed store
2023-10-13	12:45:03	1394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860886','0','61.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:03	1394	[DEBUG]	Checking manufacturer
2023-10-13	12:45:03	1394	[DEBUG]	Load a row
2023-10-13	12:45:03	1394	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:03	1394	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '59'
2023-10-13	12:45:03	1394	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:03	1394	[DEBUG]	Executed store
2023-10-13	12:45:03	1394	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-211260634234' WHERE `virtuemart_manufacturer_id` = '59'
2023-10-13	12:45:03	1394	[DEBUG]	Manufacturer exists
2023-10-13	12:45:03	1394	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 59
2023-10-13	12:45:03	1394	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:03	1394	[DEBUG]	Executed store
2023-10-13	12:45:03	1394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860886','59')
2023-10-13	12:45:03	1394	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:03	1394	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:03	1394	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860886 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:03	1394	[DEBUG]	Store custom available field
2023-10-13	12:45:03	1394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860886,3,'',1)
2023-10-13	12:45:03	1394	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:03	1394	[DEBUG]	Get existing row with customfield value 38/39
2023-10-13	12:45:03	1394	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860886 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:03	1394	[DEBUG]	Store custom available field
2023-10-13	12:45:03	1394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860886,6,'38/39',3)
2023-10-13	12:45:03	1394	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:03	1394	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:03	1394	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860882
2023-10-13	12:45:03	1394	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:03	1394	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\/45\\r\\n40\\/41\\r\\n46\\/47\\r\\n38\\/39\"}]|clabels=0|options={\"1860882\":[1860882,8,1,\"choisir la taille\"],\"1860883\":[\"44\\/45\"],\"1860884\":[\"40\\/41\"],\"1860885\":[\"46\\/47\"],\"1860886\":[\"38\\/39\"]}|' WHERE `virtuemart_product_id` = 1860882
2023-10-13	12:45:03	1394	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:03	1394	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860886
2023-10-13	12:45:03	1395	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:03	1395	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:03	1395	[DEBUG]	Use field value for field taille
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:03	1395	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:03	1395	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:03	1395	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:03	1395	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:03	1395	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:03	1395	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:03	1395	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:03	1395	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:03	1395	[DEBUG]	Use field value for field published
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:03	1395	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field override
2023-10-13	12:45:03	1395	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:03	1395	[DEBUG]	Use field value for field slug
2023-10-13	12:45:03	1395	[DEBUG]	Process line 1395
2023-10-13	12:45:03	1395	[DEBUG]	Load a row
2023-10-13	12:45:03	1395	[DEBUG]	Processing item: 4260477073686
2023-10-13	12:45:03	1395	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:03	1395	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:03	1395	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9176_208'
2023-10-13	12:45:03	1395	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:03	1395	[DEBUG]	Processing product tax
2023-10-13	12:45:03	1395	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:03	1395	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:03	1395	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:03	1395	[DEBUG]	Query for Product
2023-10-13	12:45:03	1395	[DEBUG]	Executed store
2023-10-13	12:45:03	1395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860882','4260477073686','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:45:03	1395	[DEBUG]	No parent found
2023-10-13	12:45:03	1395	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860882 AND customfield_value = 'stockable'
2023-10-13	12:45:03	1395	[DEBUG]	Check product language entry
2023-10-13	12:45:03	1395	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860887
2023-10-13	12:45:03	1395	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:03	1395	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260477073686' AND `virtuemart_product_id` != 1860887
2023-10-13	12:45:03	1395	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:03	1395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860887, '4260477073686')
2023-10-13	12:45:03	1395	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:03	1395	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergon-semelle-interieur-ip-pro-solestar-aucune-36-37' AND `virtuemart_product_id` != 1860887
2023-10-13	12:45:03	1395	[DEBUG]	Query for ProductLang
2023-10-13	12:45:03	1395	[DEBUG]	Executed store
2023-10-13	12:45:03	1395	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Ergon Semelle intérieur IP Pro Solestar / <aucune> (36/37)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ergon-semelle-interieur-ip-pro-solestar-aucune-36-37' WHERE `virtuemart_product_id` = '1860887'
2023-10-13	12:45:03	1395	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_83104_00.jpg
2023-10-13	12:45:03	1395	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:45:03	1395	[DEBUG]	Process image file
2023-10-13	12:45:03	1395	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:45:03	1395	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:03	1395	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_83104_00.jpg
2023-10-13	12:45:03	1395	[DEBUG]	Full name target: bcprisme/83_83104_00.jpg
2023-10-13	12:45:04	1395	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:04	1395	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_83104_00.jpg'
2023-10-13	12:45:04	1395	[DEBUG]	Query for Media
2023-10-13	12:45:04	1395	[DEBUG]	Executed store
2023-10-13	12:45:04	1395	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_83104_00.jpg',`file_url_thumb`='bcprisme/83_83104_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1319344'
2023-10-13	12:45:04	1395	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:04	1395	[DEBUG]	Executed store
2023-10-13	12:45:04	1395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860887','1319344','1')
2023-10-13	12:45:04	1395	[DEBUG]	Store product image relation
2023-10-13	12:45:04	1395	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:04	1395	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860887 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:04	1395	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:04	1395	[DEBUG]	Executed store
2023-10-13	12:45:04	1395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860887','0','61.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:04	1395	[DEBUG]	Checking manufacturer
2023-10-13	12:45:04	1395	[DEBUG]	Load a row
2023-10-13	12:45:04	1395	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:04	1395	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '59'
2023-10-13	12:45:04	1395	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:04	1395	[DEBUG]	Executed store
2023-10-13	12:45:04	1395	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-211260634234' WHERE `virtuemart_manufacturer_id` = '59'
2023-10-13	12:45:04	1395	[DEBUG]	Manufacturer exists
2023-10-13	12:45:04	1395	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 59
2023-10-13	12:45:04	1395	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:04	1395	[DEBUG]	Executed store
2023-10-13	12:45:04	1395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860887','59')
2023-10-13	12:45:04	1395	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:04	1395	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:04	1395	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860887 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:04	1395	[DEBUG]	Store custom available field
2023-10-13	12:45:04	1395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860887,3,'',1)
2023-10-13	12:45:04	1395	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:04	1395	[DEBUG]	Get existing row with customfield value 36/37
2023-10-13	12:45:04	1395	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860887 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:04	1395	[DEBUG]	Store custom available field
2023-10-13	12:45:04	1395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860887,6,'36/37',3)
2023-10-13	12:45:04	1395	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:04	1395	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:04	1395	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860882
2023-10-13	12:45:04	1395	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:04	1395	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\/45\\r\\n40\\/41\\r\\n46\\/47\\r\\n38\\/39\\r\\n36\\/37\"}]|clabels=0|options={\"1860882\":[1860882,8,1,\"choisir la taille\"],\"1860883\":[\"44\\/45\"],\"1860884\":[\"40\\/41\"],\"1860885\":[\"46\\/47\"],\"1860886\":[\"38\\/39\"],\"1860887\":[\"36\\/37\"]}|' WHERE `virtuemart_product_id` = 1860882
2023-10-13	12:45:04	1395	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:04	1395	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860887
2023-10-13	12:45:04	1396	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:04	1396	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:04	1396	[DEBUG]	Use field value for field taille
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:04	1396	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:04	1396	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:04	1396	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:04	1396	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:04	1396	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:04	1396	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:04	1396	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:04	1396	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:04	1396	[DEBUG]	Use field value for field published
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:04	1396	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field override
2023-10-13	12:45:04	1396	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:04	1396	[DEBUG]	Use field value for field slug
2023-10-13	12:45:04	1396	[DEBUG]	Process line 1396
2023-10-13	12:45:04	1396	[DEBUG]	Load a row
2023-10-13	12:45:04	1396	[DEBUG]	Processing item: 4260477073716
2023-10-13	12:45:04	1396	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:04	1396	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:04	1396	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9176_208'
2023-10-13	12:45:04	1396	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:04	1396	[DEBUG]	Processing product tax
2023-10-13	12:45:04	1396	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:04	1396	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:04	1396	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:04	1396	[DEBUG]	Query for Product
2023-10-13	12:45:04	1396	[DEBUG]	Executed store
2023-10-13	12:45:04	1396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860882','4260477073716','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:45:04	1396	[DEBUG]	No parent found
2023-10-13	12:45:04	1396	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860882 AND customfield_value = 'stockable'
2023-10-13	12:45:04	1396	[DEBUG]	Check product language entry
2023-10-13	12:45:04	1396	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860888
2023-10-13	12:45:04	1396	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:04	1396	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260477073716' AND `virtuemart_product_id` != 1860888
2023-10-13	12:45:04	1396	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:04	1396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860888, '4260477073716')
2023-10-13	12:45:04	1396	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:04	1396	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ergon-semelle-interieur-ip-pro-solestar-aucune-42-43' AND `virtuemart_product_id` != 1860888
2023-10-13	12:45:04	1396	[DEBUG]	Query for ProductLang
2023-10-13	12:45:04	1396	[DEBUG]	Executed store
2023-10-13	12:45:04	1396	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Ergon Semelle intérieur IP Pro Solestar / <aucune> (42/43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ergon-semelle-interieur-ip-pro-solestar-aucune-42-43' WHERE `virtuemart_product_id` = '1860888'
2023-10-13	12:45:04	1396	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_83104_00.jpg
2023-10-13	12:45:04	1396	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:45:04	1396	[DEBUG]	Process image file
2023-10-13	12:45:04	1396	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:45:04	1396	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:04	1396	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_83104_00.jpg
2023-10-13	12:45:04	1396	[DEBUG]	Full name target: bcprisme/83_83104_00.jpg
2023-10-13	12:45:05	1396	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:05	1396	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_83104_00.jpg'
2023-10-13	12:45:05	1396	[DEBUG]	Query for Media
2023-10-13	12:45:05	1396	[DEBUG]	Executed store
2023-10-13	12:45:05	1396	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_83104_00.jpg',`file_url_thumb`='bcprisme/83_83104_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1319344'
2023-10-13	12:45:05	1396	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:05	1396	[DEBUG]	Executed store
2023-10-13	12:45:05	1396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860888','1319344','1')
2023-10-13	12:45:05	1396	[DEBUG]	Store product image relation
2023-10-13	12:45:05	1396	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:05	1396	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860888 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:05	1396	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:05	1396	[DEBUG]	Executed store
2023-10-13	12:45:05	1396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860888','0','61.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:05	1396	[DEBUG]	Checking manufacturer
2023-10-13	12:45:05	1396	[DEBUG]	Load a row
2023-10-13	12:45:05	1396	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:05	1396	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '59'
2023-10-13	12:45:05	1396	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:05	1396	[DEBUG]	Executed store
2023-10-13	12:45:05	1396	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-211260634234' WHERE `virtuemart_manufacturer_id` = '59'
2023-10-13	12:45:05	1396	[DEBUG]	Manufacturer exists
2023-10-13	12:45:05	1396	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 59
2023-10-13	12:45:05	1396	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:05	1396	[DEBUG]	Executed store
2023-10-13	12:45:05	1396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860888','59')
2023-10-13	12:45:05	1396	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:05	1396	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:05	1396	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860888 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:05	1396	[DEBUG]	Store custom available field
2023-10-13	12:45:05	1396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860888,3,'',1)
2023-10-13	12:45:05	1396	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:05	1396	[DEBUG]	Get existing row with customfield value 42/43
2023-10-13	12:45:05	1396	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860888 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:05	1396	[DEBUG]	Store custom available field
2023-10-13	12:45:05	1396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860888,6,'42/43',3)
2023-10-13	12:45:05	1396	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:05	1396	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:05	1396	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860882
2023-10-13	12:45:05	1396	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:05	1396	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\/45\\r\\n40\\/41\\r\\n46\\/47\\r\\n38\\/39\\r\\n36\\/37\\r\\n42\\/43\"}]|clabels=0|options={\"1860882\":[1860882,8,1,\"choisir la taille\"],\"1860883\":[\"44\\/45\"],\"1860884\":[\"40\\/41\"],\"1860885\":[\"46\\/47\"],\"1860886\":[\"38\\/39\"],\"1860887\":[\"36\\/37\"],\"1860888\":[\"42\\/43\"]}|' WHERE `virtuemart_product_id` = 1860882
2023-10-13	12:45:05	1396	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:05	1396	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860888
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:05	1397	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field taille
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field category_path
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:05	1397	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:45:05	1397	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:05	1397	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field product_weight
2023-10-13	12:45:05	1397	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:05	1397	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:05	1397	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field published
2023-10-13	12:45:05	1397	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:05	1397	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field custom_title
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field custom_param
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field override
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field public_price
2023-10-13	12:45:05	1397	[DEBUG]	Use field value for field slug
2023-10-13	12:45:05	1397	[DEBUG]	Process line 1397
2023-10-13	12:45:05	1397	[DEBUG]	Load a row
2023-10-13	12:45:05	1397	[DEBUG]	Processing item: A_3227_1
2023-10-13	12:45:05	1397	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:05	1397	[DEBUG]	Processing product tax
2023-10-13	12:45:05	1397	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:05	1397	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:05	1397	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:05	1397	[DEBUG]	Query for Product
2023-10-13	12:45:05	1397	[DEBUG]	Executed store
2023-10-13	12:45:05	1397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3227_1','0.53','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:45:05	1397	[DEBUG]	Check product language entry
2023-10-13	12:45:05	1397	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860889
2023-10-13	12:45:05	1397	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:05	1397	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3227_1' AND `virtuemart_product_id` != 1860889
2023-10-13	12:45:05	1397	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:05	1397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860889, 'A_3227_1')
2023-10-13	12:45:05	1397	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:05	1397	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-road-t43-noir' AND `virtuemart_product_id` != 1860889
2023-10-13	12:45:05	1397	[DEBUG]	Query for ProductLang
2023-10-13	12:45:05	1397	[DEBUG]	Executed store
2023-10-13	12:45:05	1397	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussure Msc Road T43 528 gr. la paire Dédié aux cyclistes qui recherchent confort et rendement.<br>Semelle rigide et robuste en plastique injecté et ventilé.<br>Chaussure en polyester perforé pour une ventilation maximale et design minimaliste pour réduire le poids.<br>Système de verrouillage avec molette légère et câble pour un ajustement totalement personnalisé.<br><br>N° art fourn : ZAROAD43',`product_name`='MSC Chaussures MSC Road T43 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-road-t43-noir' WHERE `virtuemart_product_id` = '1860889'
2023-10-13	12:45:05	1397	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15598.jpg
2023-10-13	12:45:05	1397	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:05	1397	[DEBUG]	Process image file
2023-10-13	12:45:05	1397	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:05	1397	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:05	1397	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15598.jpg
2023-10-13	12:45:05	1397	[DEBUG]	Full name target: bcprisme/image_15598.jpg
2023-10-13	12:45:06	1397	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:06	1397	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15598.jpg'
2023-10-13	12:45:06	1397	[DEBUG]	Query for Media
2023-10-13	12:45:06	1397	[DEBUG]	Executed store
2023-10-13	12:45:06	1397	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15598.jpg',`file_url_thumb`='bcprisme/image_15598.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15827'
2023-10-13	12:45:06	1397	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:06	1397	[DEBUG]	Executed store
2023-10-13	12:45:06	1397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860889','15827','1')
2023-10-13	12:45:06	1397	[DEBUG]	Store product image relation
2023-10-13	12:45:06	1397	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:06	1397	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860889 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:06	1397	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:06	1397	[DEBUG]	Executed store
2023-10-13	12:45:06	1397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860889','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:06	1397	[DEBUG]	Checking manufacturer
2023-10-13	12:45:06	1397	[DEBUG]	Load a row
2023-10-13	12:45:06	1397	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:06	1397	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:06	1397	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:06	1397	[DEBUG]	Executed store
2023-10-13	12:45:06	1397	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:06	1397	[DEBUG]	Manufacturer exists
2023-10-13	12:45:06	1397	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:06	1397	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:06	1397	[DEBUG]	Executed store
2023-10-13	12:45:06	1397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860889','32')
2023-10-13	12:45:06	1397	[DEBUG]	Find the custom field ID
2023-10-13	12:45:06	1397	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:45:06	1397	[DEBUG]	No custom field ID found
2023-10-13	12:45:06	1397	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:06	1397	[DEBUG]	Get existing row with customfield value 249.205833333333
2023-10-13	12:45:06	1397	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860889 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:06	1397	[DEBUG]	Store custom available field
2023-10-13	12:45:06	1397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860889,3,'249.205833333333',1)
2023-10-13	12:45:06	1397	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:06	1397	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:45:06	1397	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860889 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:06	1397	[DEBUG]	Store custom available field
2023-10-13	12:45:06	1397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860889,6,'choisir la taille',3)
2023-10-13	12:45:06	1397	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:06	1397	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:45:06	1397	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:45:06	1397	[DEBUG]	Find the multi variant product entry
2023-10-13	12:45:06	1397	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860889 AND `virtuemart_custom_id` = 8
2023-10-13	12:45:06	1397	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:45:06	1397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860889,8,1)
2023-10-13	12:45:06	1397	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:06	1397	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860889\":[1860889,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860889
2023-10-13	12:45:06	1397	[DEBUG]	Checking category
2023-10-13	12:45:06	1397	[DEBUG]	Check if category path exists: CHAUSSURES  - SHUHE
2023-10-13	12:45:06	1397	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAUSSURES  - SHUHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7305
2023-10-13	12:45:06	1397	[DEBUG]	Get the existing categories for the product
2023-10-13	12:45:06	1397	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860889
2023-10-13	12:45:06	1397	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:45:06	1397	[DEBUG]	Executed store
2023-10-13	12:45:06	1397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860889','7331')
2023-10-13	12:45:06	1397	[DEBUG]	Delete leftover product categories
2023-10-13	12:45:06	1397	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860889 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:45:06	1397	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:06	1397	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860889
2023-10-13	12:45:06	1398	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:06	1398	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:06	1398	[DEBUG]	Use field value for field taille
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:06	1398	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:06	1398	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:06	1398	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:06	1398	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:06	1398	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:06	1398	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:06	1398	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:06	1398	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:06	1398	[DEBUG]	Use field value for field published
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:06	1398	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field override
2023-10-13	12:45:06	1398	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:06	1398	[DEBUG]	Use field value for field slug
2023-10-13	12:45:06	1398	[DEBUG]	Process line 1398
2023-10-13	12:45:06	1398	[DEBUG]	Load a row
2023-10-13	12:45:06	1398	[DEBUG]	Processing item: 8436550194371
2023-10-13	12:45:06	1398	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:06	1398	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:06	1398	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3227_1'
2023-10-13	12:45:06	1398	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:06	1398	[DEBUG]	Processing product tax
2023-10-13	12:45:06	1398	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:06	1398	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:06	1398	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:06	1398	[DEBUG]	Query for Product
2023-10-13	12:45:06	1398	[DEBUG]	Executed store
2023-10-13	12:45:06	1398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860889','8436550194371','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:45:06	1398	[DEBUG]	No parent found
2023-10-13	12:45:06	1398	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860889 AND customfield_value = 'stockable'
2023-10-13	12:45:06	1398	[DEBUG]	Check product language entry
2023-10-13	12:45:06	1398	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860890
2023-10-13	12:45:06	1398	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:06	1398	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550194371' AND `virtuemart_product_id` != 1860890
2023-10-13	12:45:06	1398	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:06	1398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860890, '8436550194371')
2023-10-13	12:45:06	1398	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:06	1398	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-road-t43-noir-unitaire' AND `virtuemart_product_id` != 1860890
2023-10-13	12:45:06	1398	[DEBUG]	Query for ProductLang
2023-10-13	12:45:06	1398	[DEBUG]	Executed store
2023-10-13	12:45:06	1398	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Road T43 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-road-t43-noir-unitaire' WHERE `virtuemart_product_id` = '1860890'
2023-10-13	12:45:06	1398	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15598.jpg
2023-10-13	12:45:06	1398	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:06	1398	[DEBUG]	Process image file
2023-10-13	12:45:06	1398	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:06	1398	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:06	1398	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15598.jpg
2023-10-13	12:45:06	1398	[DEBUG]	Full name target: bcprisme/image_15598.jpg
2023-10-13	12:45:07	1398	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:07	1398	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15598.jpg'
2023-10-13	12:45:07	1398	[DEBUG]	Query for Media
2023-10-13	12:45:07	1398	[DEBUG]	Executed store
2023-10-13	12:45:07	1398	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15598.jpg',`file_url_thumb`='bcprisme/image_15598.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15827'
2023-10-13	12:45:07	1398	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:07	1398	[DEBUG]	Executed store
2023-10-13	12:45:07	1398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860890','15827','1')
2023-10-13	12:45:07	1398	[DEBUG]	Store product image relation
2023-10-13	12:45:07	1398	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:07	1398	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860890 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:07	1398	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:07	1398	[DEBUG]	Executed store
2023-10-13	12:45:07	1398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860890','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:07	1398	[DEBUG]	Checking manufacturer
2023-10-13	12:45:07	1398	[DEBUG]	Load a row
2023-10-13	12:45:07	1398	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:07	1398	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:07	1398	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:07	1398	[DEBUG]	Executed store
2023-10-13	12:45:07	1398	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:07	1398	[DEBUG]	Manufacturer exists
2023-10-13	12:45:07	1398	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:07	1398	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:07	1398	[DEBUG]	Executed store
2023-10-13	12:45:07	1398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860890','32')
2023-10-13	12:45:07	1398	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:07	1398	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:07	1398	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860890 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:07	1398	[DEBUG]	Store custom available field
2023-10-13	12:45:07	1398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860890,3,'',1)
2023-10-13	12:45:07	1398	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:07	1398	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:45:07	1398	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860890 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:07	1398	[DEBUG]	Store custom available field
2023-10-13	12:45:07	1398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860890,6,'Unitaire',3)
2023-10-13	12:45:07	1398	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:07	1398	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:07	1398	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860889
2023-10-13	12:45:07	1398	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:07	1398	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860889\":[1860889,8,1,\"choisir la taille\"],\"1860890\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860889
2023-10-13	12:45:07	1398	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:07	1398	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860890
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:07	1399	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field taille
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field category_path
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:07	1399	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:45:07	1399	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:07	1399	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field product_weight
2023-10-13	12:45:07	1399	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:07	1399	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:07	1399	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field published
2023-10-13	12:45:07	1399	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:07	1399	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field custom_title
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field custom_param
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field override
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field public_price
2023-10-13	12:45:07	1399	[DEBUG]	Use field value for field slug
2023-10-13	12:45:07	1399	[DEBUG]	Process line 1399
2023-10-13	12:45:07	1399	[DEBUG]	Load a row
2023-10-13	12:45:07	1399	[DEBUG]	Processing item: A_3236_45
2023-10-13	12:45:07	1399	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:07	1399	[DEBUG]	Processing product tax
2023-10-13	12:45:07	1399	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:07	1399	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:07	1399	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:07	1399	[DEBUG]	Query for Product
2023-10-13	12:45:07	1399	[DEBUG]	Executed store
2023-10-13	12:45:07	1399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3236_45','0.8','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:45:07	1399	[DEBUG]	Check product language entry
2023-10-13	12:45:07	1399	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860891
2023-10-13	12:45:07	1399	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:07	1399	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3236_45' AND `virtuemart_product_id` != 1860891
2023-10-13	12:45:07	1399	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:07	1399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860891, 'A_3236_45')
2023-10-13	12:45:07	1399	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:07	1399	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-xc-t43-blanche' AND `virtuemart_product_id` != 1860891
2023-10-13	12:45:07	1399	[DEBUG]	Query for ProductLang
2023-10-13	12:45:07	1399	[DEBUG]	Executed store
2023-10-13	12:45:07	1399	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Msc chaussure xc T43 <br>Pour les cyclistes qui recherche confort et rendement.<br> Semelle rigide et robuste avec une bonne accroche (crampons inclus), et une surface dédiée à la marche.<br> Chaussure en polyester perforé pour une ventilation maximale et design minimaliste pour réduire le poids.<br> Système de verrouillage avec molette légère et câble pour un ajustement totalement personnalisé.<br><br>  <br><br> <br><br><br>POIDS: 755 gr<br><br>N° art fourn : ZAXC43',`product_name`='MSC Chaussures MSC XC T43  / Blanche',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-xc-t43-blanche' WHERE `virtuemart_product_id` = '1860891'
2023-10-13	12:45:07	1399	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15620.jpg
2023-10-13	12:45:07	1399	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:07	1399	[DEBUG]	Process image file
2023-10-13	12:45:07	1399	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:07	1399	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:07	1399	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15620.jpg
2023-10-13	12:45:07	1399	[DEBUG]	Full name target: bcprisme/image_15620.jpg
2023-10-13	12:45:08	1399	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:08	1399	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15620.jpg'
2023-10-13	12:45:08	1399	[DEBUG]	Query for Media
2023-10-13	12:45:08	1399	[DEBUG]	Executed store
2023-10-13	12:45:08	1399	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15620.jpg',`file_url_thumb`='bcprisme/image_15620.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12653'
2023-10-13	12:45:08	1399	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:08	1399	[DEBUG]	Executed store
2023-10-13	12:45:08	1399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860891','12653','1')
2023-10-13	12:45:08	1399	[DEBUG]	Store product image relation
2023-10-13	12:45:08	1399	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:08	1399	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860891 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:08	1399	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:08	1399	[DEBUG]	Executed store
2023-10-13	12:45:08	1399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860891','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:08	1399	[DEBUG]	Checking manufacturer
2023-10-13	12:45:08	1399	[DEBUG]	Load a row
2023-10-13	12:45:08	1399	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:08	1399	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:08	1399	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:08	1399	[DEBUG]	Executed store
2023-10-13	12:45:08	1399	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:08	1399	[DEBUG]	Manufacturer exists
2023-10-13	12:45:08	1399	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:08	1399	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:08	1399	[DEBUG]	Executed store
2023-10-13	12:45:08	1399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860891','32')
2023-10-13	12:45:08	1399	[DEBUG]	Find the custom field ID
2023-10-13	12:45:08	1399	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:45:08	1399	[DEBUG]	No custom field ID found
2023-10-13	12:45:08	1399	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:08	1399	[DEBUG]	Get existing row with customfield value 189.3725
2023-10-13	12:45:08	1399	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860891 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:08	1399	[DEBUG]	Store custom available field
2023-10-13	12:45:08	1399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860891,3,'189.3725',1)
2023-10-13	12:45:08	1399	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:08	1399	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:45:08	1399	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860891 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:08	1399	[DEBUG]	Store custom available field
2023-10-13	12:45:08	1399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860891,6,'choisir la taille',3)
2023-10-13	12:45:08	1399	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:08	1399	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:45:08	1399	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:45:08	1399	[DEBUG]	Find the multi variant product entry
2023-10-13	12:45:08	1399	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860891 AND `virtuemart_custom_id` = 8
2023-10-13	12:45:08	1399	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:45:08	1399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860891,8,1)
2023-10-13	12:45:08	1399	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:08	1399	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860891\":[1860891,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860891
2023-10-13	12:45:08	1399	[DEBUG]	Checking category
2023-10-13	12:45:08	1399	[DEBUG]	Get the existing categories for the product
2023-10-13	12:45:08	1399	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860891
2023-10-13	12:45:08	1399	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:45:08	1399	[DEBUG]	Executed store
2023-10-13	12:45:08	1399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860891','7331')
2023-10-13	12:45:08	1399	[DEBUG]	Delete leftover product categories
2023-10-13	12:45:08	1399	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860891 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:45:08	1399	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:08	1399	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860891
2023-10-13	12:45:08	1400	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:08	1400	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:08	1400	[DEBUG]	Use field value for field taille
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:08	1400	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:08	1400	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:08	1400	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:08	1400	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:08	1400	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:08	1400	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:08	1400	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:08	1400	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:08	1400	[DEBUG]	Use field value for field published
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:08	1400	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field override
2023-10-13	12:45:08	1400	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:08	1400	[DEBUG]	Use field value for field slug
2023-10-13	12:45:08	1400	[DEBUG]	Process line 1400
2023-10-13	12:45:08	1400	[DEBUG]	Load a row
2023-10-13	12:45:08	1400	[DEBUG]	Processing item: 8436550194562
2023-10-13	12:45:08	1400	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:08	1400	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:08	1400	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3236_45'
2023-10-13	12:45:08	1400	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:08	1400	[DEBUG]	Processing product tax
2023-10-13	12:45:08	1400	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:08	1400	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:08	1400	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:08	1400	[DEBUG]	Query for Product
2023-10-13	12:45:08	1400	[DEBUG]	Executed store
2023-10-13	12:45:08	1400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860891','8436550194562','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0')
2023-10-13	12:45:08	1400	[DEBUG]	No parent found
2023-10-13	12:45:08	1400	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860891 AND customfield_value = 'stockable'
2023-10-13	12:45:08	1400	[DEBUG]	Check product language entry
2023-10-13	12:45:08	1400	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860892
2023-10-13	12:45:08	1400	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:08	1400	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550194562' AND `virtuemart_product_id` != 1860892
2023-10-13	12:45:08	1400	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:08	1400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860892, '8436550194562')
2023-10-13	12:45:08	1400	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:08	1400	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-xc-t43-blanche-unitaire' AND `virtuemart_product_id` != 1860892
2023-10-13	12:45:08	1400	[DEBUG]	Query for ProductLang
2023-10-13	12:45:08	1400	[DEBUG]	Executed store
2023-10-13	12:45:08	1400	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC XC T43  / Blanche (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-xc-t43-blanche-unitaire' WHERE `virtuemart_product_id` = '1860892'
2023-10-13	12:45:08	1400	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15620.jpg
2023-10-13	12:45:08	1400	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:08	1400	[DEBUG]	Process image file
2023-10-13	12:45:08	1400	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:08	1400	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:08	1400	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15620.jpg
2023-10-13	12:45:08	1400	[DEBUG]	Full name target: bcprisme/image_15620.jpg
2023-10-13	12:45:09	1400	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:09	1400	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15620.jpg'
2023-10-13	12:45:09	1400	[DEBUG]	Query for Media
2023-10-13	12:45:09	1400	[DEBUG]	Executed store
2023-10-13	12:45:09	1400	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15620.jpg',`file_url_thumb`='bcprisme/image_15620.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12653'
2023-10-13	12:45:09	1400	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:09	1400	[DEBUG]	Executed store
2023-10-13	12:45:09	1400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860892','12653','1')
2023-10-13	12:45:09	1400	[DEBUG]	Store product image relation
2023-10-13	12:45:09	1400	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:09	1400	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860892 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:09	1400	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:09	1400	[DEBUG]	Executed store
2023-10-13	12:45:09	1400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860892','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:43:29','1593','2023-10-13 12:43:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:09	1400	[DEBUG]	Checking manufacturer
2023-10-13	12:45:09	1400	[DEBUG]	Load a row
2023-10-13	12:45:09	1400	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:09	1400	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:09	1400	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:09	1400	[DEBUG]	Executed store
2023-10-13	12:45:09	1400	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:09	1400	[DEBUG]	Manufacturer exists
2023-10-13	12:45:09	1400	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:09	1400	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:09	1400	[DEBUG]	Executed store
2023-10-13	12:45:09	1400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860892','32')
2023-10-13	12:45:09	1400	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:09	1400	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:09	1400	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860892 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:09	1400	[DEBUG]	Store custom available field
2023-10-13	12:45:09	1400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860892,3,'',1)
2023-10-13	12:45:09	1400	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:09	1400	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:45:09	1400	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860892 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:09	1400	[DEBUG]	Store custom available field
2023-10-13	12:45:09	1400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860892,6,'Unitaire',3)
2023-10-13	12:45:09	1400	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:09	1400	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:09	1400	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860891
2023-10-13	12:45:09	1400	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:09	1400	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1860891\":[1860891,8,1,\"choisir la taille\"],\"1860892\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1860891
2023-10-13	12:45:09	1400	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:09	1400	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860892
2023-10-13	12:45:29	1400	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:45:29	1400	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:45:29	1400	[DEBUG]	Load the fields to process
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: product_sku
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: taille
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: product_name
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: category_path
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: product_price
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: product_override_price
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: product_tax
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: file_url
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: product_desc
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: product_availability
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: product_weight
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: product_unit
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: related_products
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: product_special
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: published
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: metadesc
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: metakey
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: custom_title
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: custom_value
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: custom_param
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: override
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: public_price
2023-10-13	12:45:29	1400	[DEBUG]	Setup field: slug
2023-10-13	12:45:29	1400	[DEBUG]	Use the file for configuration
2023-10-13	12:45:29	1400	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:45:29	1400	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:45:29	1400	[DEBUG]	Load the custom fields
2023-10-13	12:45:29	1400	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:45:29	1400	[DEBUG]	Load stockable custom fields
2023-10-13	12:45:29	1400	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:45:29	1400	[DEBUG]	Load custom fields for all
2023-10-13	12:45:29	1400	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:29	1401	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field taille
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field category_path
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:29	1401	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:45:29	1401	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:29	1401	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field product_weight
2023-10-13	12:45:29	1401	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:29	1401	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:29	1401	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field published
2023-10-13	12:45:29	1401	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:29	1401	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field custom_title
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field custom_param
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field override
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field public_price
2023-10-13	12:45:29	1401	[DEBUG]	Use field value for field slug
2023-10-13	12:45:29	1401	[DEBUG]	Process line 1401
2023-10-13	12:45:29	1401	[DEBUG]	Check if the vendor exists
2023-10-13	12:45:29	1401	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_1'
2023-10-13	12:45:29	1401	[DEBUG]	Load a row
2023-10-13	12:45:29	1401	[DEBUG]	Processing item: A_5153_1
2023-10-13	12:45:29	1401	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:29	1401	[DEBUG]	Processing product tax
2023-10-13	12:45:29	1401	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:29	1401	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:29	1401	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:29	1401	[DEBUG]	Query for Product
2023-10-13	12:45:29	1401	[DEBUG]	Executed store
2023-10-13	12:45:29	1401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5153_1','0.51','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:29	1401	[DEBUG]	Check product language entry
2023-10-13	12:45:29	1401	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860893
2023-10-13	12:45:29	1401	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:29	1401	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5153_1' AND `virtuemart_product_id` != 1860893
2023-10-13	12:45:29	1401	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:29	1401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860893, 'A_5153_1')
2023-10-13	12:45:29	1401	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:29	1401	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir' AND `virtuemart_product_id` != 1860893
2023-10-13	12:45:29	1401	[DEBUG]	Query for ProductLang
2023-10-13	12:45:29	1401	[DEBUG]	Executed store
2023-10-13	12:45:29	1401	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro Road avec système de ventilation breveté ! 510 gr.<br>N° art fourn : ZAEROROAD',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir' WHERE `virtuemart_product_id` = '1860893'
2023-10-13	12:45:29	1401	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:29	1401	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:29	1401	[DEBUG]	Process image file
2023-10-13	12:45:29	1401	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:29	1401	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:29	1401	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:29	1401	[DEBUG]	Full name target: bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:30	1401	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:30	1401	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:30	1401	[DEBUG]	Query for Media
2023-10-13	12:45:30	1401	[DEBUG]	Executed store
2023-10-13	12:45:30	1401	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15956'
2023-10-13	12:45:30	1401	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:30	1401	[DEBUG]	Executed store
2023-10-13	12:45:30	1401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860893','15956','1')
2023-10-13	12:45:30	1401	[DEBUG]	Store product image relation
2023-10-13	12:45:30	1401	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:30	1401	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860893 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:30	1401	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:30	1401	[DEBUG]	Executed store
2023-10-13	12:45:30	1401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860893','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:30	1401	[DEBUG]	Checking manufacturer
2023-10-13	12:45:30	1401	[DEBUG]	Load a row
2023-10-13	12:45:30	1401	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:30	1401	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:30	1401	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:30	1401	[DEBUG]	Executed store
2023-10-13	12:45:30	1401	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:30	1401	[DEBUG]	Manufacturer exists
2023-10-13	12:45:30	1401	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:30	1401	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:30	1401	[DEBUG]	Executed store
2023-10-13	12:45:30	1401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860893','32')
2023-10-13	12:45:30	1401	[DEBUG]	Find the custom field ID
2023-10-13	12:45:30	1401	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:45:30	1401	[DEBUG]	No custom field ID found
2023-10-13	12:45:30	1401	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:30	1401	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:45:30	1401	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860893 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:30	1401	[DEBUG]	Store custom available field
2023-10-13	12:45:30	1401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860893,3,'179.400277777778',1)
2023-10-13	12:45:30	1401	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:30	1401	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:45:30	1401	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860893 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:30	1401	[DEBUG]	Store custom available field
2023-10-13	12:45:30	1401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860893,6,'choisir la taille',3)
2023-10-13	12:45:30	1401	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:30	1401	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:45:30	1401	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:45:30	1401	[DEBUG]	Find the multi variant product entry
2023-10-13	12:45:30	1401	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860893 AND `virtuemart_custom_id` = 8
2023-10-13	12:45:30	1401	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:45:30	1401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860893,8,1)
2023-10-13	12:45:30	1401	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:30	1401	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860893\":[1860893,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860893
2023-10-13	12:45:30	1401	[DEBUG]	Checking category
2023-10-13	12:45:30	1401	[DEBUG]	Check if category path exists: CHAUSSURES - SCHUHE
2023-10-13	12:45:30	1401	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAUSSURES - SCHUHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:45:30	1401	[DEBUG]	Check if category path exists: CHAUSSURES  - SHUHE
2023-10-13	12:45:30	1401	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAUSSURES  - SHUHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7305
2023-10-13	12:45:30	1401	[DEBUG]	Get the existing categories for the product
2023-10-13	12:45:30	1401	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860893
2023-10-13	12:45:30	1401	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:45:30	1401	[DEBUG]	Executed store
2023-10-13	12:45:30	1401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860893','7331')
2023-10-13	12:45:30	1401	[DEBUG]	Delete leftover product categories
2023-10-13	12:45:30	1401	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860893 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:45:30	1401	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:30	1401	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860893
2023-10-13	12:45:30	1402	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:30	1402	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:30	1402	[DEBUG]	Use field value for field taille
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:30	1402	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:30	1402	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:30	1402	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:30	1402	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:30	1402	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:30	1402	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:30	1402	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:30	1402	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:30	1402	[DEBUG]	Use field value for field published
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:30	1402	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field override
2023-10-13	12:45:30	1402	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:30	1402	[DEBUG]	Use field value for field slug
2023-10-13	12:45:30	1402	[DEBUG]	Process line 1402
2023-10-13	12:45:30	1402	[DEBUG]	Load a row
2023-10-13	12:45:30	1402	[DEBUG]	Processing item: 1000000078138
2023-10-13	12:45:30	1402	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:30	1402	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:30	1402	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_1'
2023-10-13	12:45:30	1402	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:30	1402	[DEBUG]	Processing product tax
2023-10-13	12:45:30	1402	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:30	1402	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:30	1402	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:30	1402	[DEBUG]	Query for Product
2023-10-13	12:45:30	1402	[DEBUG]	Executed store
2023-10-13	12:45:30	1402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860893','1000000078138','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:30	1402	[DEBUG]	No parent found
2023-10-13	12:45:30	1402	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860893 AND customfield_value = 'stockable'
2023-10-13	12:45:30	1402	[DEBUG]	Check product language entry
2023-10-13	12:45:30	1402	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860894
2023-10-13	12:45:30	1402	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:30	1402	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078138' AND `virtuemart_product_id` != 1860894
2023-10-13	12:45:30	1402	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:30	1402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860894, '1000000078138')
2023-10-13	12:45:30	1402	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:30	1402	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-38' AND `virtuemart_product_id` != 1860894
2023-10-13	12:45:30	1402	[DEBUG]	Query for ProductLang
2023-10-13	12:45:30	1402	[DEBUG]	Executed store
2023-10-13	12:45:30	1402	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Noir (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-38' WHERE `virtuemart_product_id` = '1860894'
2023-10-13	12:45:30	1402	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:30	1402	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:30	1402	[DEBUG]	Process image file
2023-10-13	12:45:30	1402	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:30	1402	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:30	1402	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:30	1402	[DEBUG]	Full name target: bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:31	1402	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:31	1402	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:31	1402	[DEBUG]	Query for Media
2023-10-13	12:45:31	1402	[DEBUG]	Executed store
2023-10-13	12:45:31	1402	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15956'
2023-10-13	12:45:31	1402	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:31	1402	[DEBUG]	Executed store
2023-10-13	12:45:31	1402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860894','15956','1')
2023-10-13	12:45:31	1402	[DEBUG]	Store product image relation
2023-10-13	12:45:31	1402	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:31	1402	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860894 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:31	1402	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:31	1402	[DEBUG]	Executed store
2023-10-13	12:45:31	1402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860894','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:31	1402	[DEBUG]	Checking manufacturer
2023-10-13	12:45:31	1402	[DEBUG]	Load a row
2023-10-13	12:45:31	1402	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:31	1402	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:31	1402	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:31	1402	[DEBUG]	Executed store
2023-10-13	12:45:31	1402	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:31	1402	[DEBUG]	Manufacturer exists
2023-10-13	12:45:31	1402	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:31	1402	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:31	1402	[DEBUG]	Executed store
2023-10-13	12:45:31	1402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860894','32')
2023-10-13	12:45:31	1402	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:31	1402	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:31	1402	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860894 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:31	1402	[DEBUG]	Store custom available field
2023-10-13	12:45:31	1402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860894,3,'',1)
2023-10-13	12:45:31	1402	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:31	1402	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:45:31	1402	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860894 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:31	1402	[DEBUG]	Store custom available field
2023-10-13	12:45:31	1402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860894,6,'38',3)
2023-10-13	12:45:31	1402	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:31	1402	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:31	1402	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860893
2023-10-13	12:45:31	1402	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:31	1402	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1860893\":[1860893,8,1,\"choisir la taille\"],\"1860894\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1860893
2023-10-13	12:45:31	1402	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:31	1402	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860894
2023-10-13	12:45:31	1403	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:31	1403	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:31	1403	[DEBUG]	Use field value for field taille
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:31	1403	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:31	1403	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:31	1403	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:31	1403	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:31	1403	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:31	1403	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:31	1403	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:31	1403	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:31	1403	[DEBUG]	Use field value for field published
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:31	1403	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field override
2023-10-13	12:45:31	1403	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:31	1403	[DEBUG]	Use field value for field slug
2023-10-13	12:45:31	1403	[DEBUG]	Process line 1403
2023-10-13	12:45:31	1403	[DEBUG]	Load a row
2023-10-13	12:45:31	1403	[DEBUG]	Processing item: 1000000078145
2023-10-13	12:45:31	1403	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:31	1403	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:31	1403	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_1'
2023-10-13	12:45:31	1403	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:31	1403	[DEBUG]	Processing product tax
2023-10-13	12:45:31	1403	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:31	1403	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:31	1403	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:31	1403	[DEBUG]	Query for Product
2023-10-13	12:45:31	1403	[DEBUG]	Executed store
2023-10-13	12:45:31	1403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860893','1000000078145','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:31	1403	[DEBUG]	No parent found
2023-10-13	12:45:31	1403	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860893 AND customfield_value = 'stockable'
2023-10-13	12:45:31	1403	[DEBUG]	Check product language entry
2023-10-13	12:45:31	1403	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860895
2023-10-13	12:45:31	1403	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:31	1403	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078145' AND `virtuemart_product_id` != 1860895
2023-10-13	12:45:31	1403	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:31	1403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860895, '1000000078145')
2023-10-13	12:45:31	1403	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:31	1403	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-39' AND `virtuemart_product_id` != 1860895
2023-10-13	12:45:31	1403	[DEBUG]	Query for ProductLang
2023-10-13	12:45:31	1403	[DEBUG]	Executed store
2023-10-13	12:45:31	1403	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Noir (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-39' WHERE `virtuemart_product_id` = '1860895'
2023-10-13	12:45:31	1403	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:31	1403	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:31	1403	[DEBUG]	Process image file
2023-10-13	12:45:31	1403	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:31	1403	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:31	1403	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:31	1403	[DEBUG]	Full name target: bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:32	1403	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:32	1403	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:32	1403	[DEBUG]	Query for Media
2023-10-13	12:45:32	1403	[DEBUG]	Executed store
2023-10-13	12:45:32	1403	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15956'
2023-10-13	12:45:32	1403	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:32	1403	[DEBUG]	Executed store
2023-10-13	12:45:32	1403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860895','15956','1')
2023-10-13	12:45:32	1403	[DEBUG]	Store product image relation
2023-10-13	12:45:32	1403	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:32	1403	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860895 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:32	1403	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:32	1403	[DEBUG]	Executed store
2023-10-13	12:45:32	1403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860895','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:32	1403	[DEBUG]	Checking manufacturer
2023-10-13	12:45:32	1403	[DEBUG]	Load a row
2023-10-13	12:45:32	1403	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:32	1403	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:32	1403	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:32	1403	[DEBUG]	Executed store
2023-10-13	12:45:32	1403	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:32	1403	[DEBUG]	Manufacturer exists
2023-10-13	12:45:32	1403	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:32	1403	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:32	1403	[DEBUG]	Executed store
2023-10-13	12:45:32	1403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860895','32')
2023-10-13	12:45:32	1403	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:32	1403	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:32	1403	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860895 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:32	1403	[DEBUG]	Store custom available field
2023-10-13	12:45:32	1403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860895,3,'',1)
2023-10-13	12:45:32	1403	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:32	1403	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:45:32	1403	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860895 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:32	1403	[DEBUG]	Store custom available field
2023-10-13	12:45:32	1403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860895,6,'39',3)
2023-10-13	12:45:32	1403	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:32	1403	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:32	1403	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860893
2023-10-13	12:45:32	1403	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:32	1403	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1860893\":[1860893,8,1,\"choisir la taille\"],\"1860894\":[\"38\"],\"1860895\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1860893
2023-10-13	12:45:32	1403	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:32	1403	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860895
2023-10-13	12:45:32	1404	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:32	1404	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:32	1404	[DEBUG]	Use field value for field taille
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:32	1404	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:32	1404	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:32	1404	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:32	1404	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:32	1404	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:32	1404	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:32	1404	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:32	1404	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:32	1404	[DEBUG]	Use field value for field published
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:32	1404	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field override
2023-10-13	12:45:32	1404	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:32	1404	[DEBUG]	Use field value for field slug
2023-10-13	12:45:32	1404	[DEBUG]	Process line 1404
2023-10-13	12:45:32	1404	[DEBUG]	Load a row
2023-10-13	12:45:32	1404	[DEBUG]	Processing item: 1000000078152
2023-10-13	12:45:32	1404	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:32	1404	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:32	1404	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_1'
2023-10-13	12:45:32	1404	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:32	1404	[DEBUG]	Processing product tax
2023-10-13	12:45:32	1404	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:32	1404	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:32	1404	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:32	1404	[DEBUG]	Query for Product
2023-10-13	12:45:32	1404	[DEBUG]	Executed store
2023-10-13	12:45:32	1404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860893','1000000078152','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:32	1404	[DEBUG]	No parent found
2023-10-13	12:45:32	1404	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860893 AND customfield_value = 'stockable'
2023-10-13	12:45:32	1404	[DEBUG]	Check product language entry
2023-10-13	12:45:32	1404	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860896
2023-10-13	12:45:32	1404	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:32	1404	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078152' AND `virtuemart_product_id` != 1860896
2023-10-13	12:45:32	1404	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:32	1404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860896, '1000000078152')
2023-10-13	12:45:32	1404	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:32	1404	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-40' AND `virtuemart_product_id` != 1860896
2023-10-13	12:45:32	1404	[DEBUG]	Query for ProductLang
2023-10-13	12:45:32	1404	[DEBUG]	Executed store
2023-10-13	12:45:32	1404	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Noir (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-40' WHERE `virtuemart_product_id` = '1860896'
2023-10-13	12:45:32	1404	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:32	1404	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:32	1404	[DEBUG]	Process image file
2023-10-13	12:45:32	1404	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:32	1404	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:32	1404	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:32	1404	[DEBUG]	Full name target: bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:33	1404	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:33	1404	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:33	1404	[DEBUG]	Query for Media
2023-10-13	12:45:33	1404	[DEBUG]	Executed store
2023-10-13	12:45:33	1404	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15956'
2023-10-13	12:45:33	1404	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:33	1404	[DEBUG]	Executed store
2023-10-13	12:45:33	1404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860896','15956','1')
2023-10-13	12:45:33	1404	[DEBUG]	Store product image relation
2023-10-13	12:45:33	1404	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:33	1404	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860896 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:33	1404	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:33	1404	[DEBUG]	Executed store
2023-10-13	12:45:33	1404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860896','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:33	1404	[DEBUG]	Checking manufacturer
2023-10-13	12:45:33	1404	[DEBUG]	Load a row
2023-10-13	12:45:33	1404	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:33	1404	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:33	1404	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:33	1404	[DEBUG]	Executed store
2023-10-13	12:45:33	1404	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:33	1404	[DEBUG]	Manufacturer exists
2023-10-13	12:45:33	1404	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:33	1404	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:33	1404	[DEBUG]	Executed store
2023-10-13	12:45:33	1404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860896','32')
2023-10-13	12:45:33	1404	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:33	1404	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:33	1404	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860896 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:33	1404	[DEBUG]	Store custom available field
2023-10-13	12:45:33	1404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860896,3,'',1)
2023-10-13	12:45:33	1404	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:33	1404	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:45:33	1404	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860896 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:33	1404	[DEBUG]	Store custom available field
2023-10-13	12:45:33	1404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860896,6,'40',3)
2023-10-13	12:45:33	1404	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:33	1404	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:33	1404	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860893
2023-10-13	12:45:33	1404	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:33	1404	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1860893\":[1860893,8,1,\"choisir la taille\"],\"1860894\":[\"38\"],\"1860895\":[\"39\"],\"1860896\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1860893
2023-10-13	12:45:33	1404	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:33	1404	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860896
2023-10-13	12:45:33	1405	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:33	1405	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:33	1405	[DEBUG]	Use field value for field taille
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:33	1405	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:33	1405	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:33	1405	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:33	1405	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:33	1405	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:33	1405	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:33	1405	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:33	1405	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:33	1405	[DEBUG]	Use field value for field published
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:33	1405	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field override
2023-10-13	12:45:33	1405	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:33	1405	[DEBUG]	Use field value for field slug
2023-10-13	12:45:33	1405	[DEBUG]	Process line 1405
2023-10-13	12:45:33	1405	[DEBUG]	Load a row
2023-10-13	12:45:33	1405	[DEBUG]	Processing item: 1000000078169
2023-10-13	12:45:33	1405	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:33	1405	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:33	1405	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_1'
2023-10-13	12:45:33	1405	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:33	1405	[DEBUG]	Processing product tax
2023-10-13	12:45:33	1405	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:33	1405	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:33	1405	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:33	1405	[DEBUG]	Query for Product
2023-10-13	12:45:33	1405	[DEBUG]	Executed store
2023-10-13	12:45:33	1405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860893','1000000078169','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:33	1405	[DEBUG]	No parent found
2023-10-13	12:45:33	1405	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860893 AND customfield_value = 'stockable'
2023-10-13	12:45:33	1405	[DEBUG]	Check product language entry
2023-10-13	12:45:33	1405	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860897
2023-10-13	12:45:33	1405	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:33	1405	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078169' AND `virtuemart_product_id` != 1860897
2023-10-13	12:45:33	1405	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:33	1405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860897, '1000000078169')
2023-10-13	12:45:33	1405	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:33	1405	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-41' AND `virtuemart_product_id` != 1860897
2023-10-13	12:45:33	1405	[DEBUG]	Query for ProductLang
2023-10-13	12:45:33	1405	[DEBUG]	Executed store
2023-10-13	12:45:33	1405	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Noir (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-41' WHERE `virtuemart_product_id` = '1860897'
2023-10-13	12:45:33	1405	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:33	1405	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:33	1405	[DEBUG]	Process image file
2023-10-13	12:45:33	1405	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:33	1405	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:33	1405	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:33	1405	[DEBUG]	Full name target: bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:34	1405	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:34	1405	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:34	1405	[DEBUG]	Query for Media
2023-10-13	12:45:34	1405	[DEBUG]	Executed store
2023-10-13	12:45:34	1405	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15956'
2023-10-13	12:45:34	1405	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:34	1405	[DEBUG]	Executed store
2023-10-13	12:45:34	1405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860897','15956','1')
2023-10-13	12:45:34	1405	[DEBUG]	Store product image relation
2023-10-13	12:45:34	1405	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:34	1405	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860897 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:34	1405	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:34	1405	[DEBUG]	Executed store
2023-10-13	12:45:34	1405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860897','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:34	1405	[DEBUG]	Checking manufacturer
2023-10-13	12:45:34	1405	[DEBUG]	Load a row
2023-10-13	12:45:34	1405	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:34	1405	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:34	1405	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:34	1405	[DEBUG]	Executed store
2023-10-13	12:45:34	1405	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:34	1405	[DEBUG]	Manufacturer exists
2023-10-13	12:45:34	1405	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:34	1405	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:34	1405	[DEBUG]	Executed store
2023-10-13	12:45:34	1405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860897','32')
2023-10-13	12:45:34	1405	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:34	1405	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:34	1405	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860897 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:34	1405	[DEBUG]	Store custom available field
2023-10-13	12:45:34	1405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860897,3,'',1)
2023-10-13	12:45:34	1405	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:34	1405	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:45:34	1405	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860897 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:34	1405	[DEBUG]	Store custom available field
2023-10-13	12:45:34	1405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860897,6,'41',3)
2023-10-13	12:45:34	1405	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:34	1405	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:34	1405	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860893
2023-10-13	12:45:34	1405	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:34	1405	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1860893\":[1860893,8,1,\"choisir la taille\"],\"1860894\":[\"38\"],\"1860895\":[\"39\"],\"1860896\":[\"40\"],\"1860897\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1860893
2023-10-13	12:45:34	1405	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:34	1405	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860897
2023-10-13	12:45:34	1406	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:34	1406	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:34	1406	[DEBUG]	Use field value for field taille
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:34	1406	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:34	1406	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:34	1406	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:34	1406	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:34	1406	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:34	1406	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:34	1406	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:34	1406	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:34	1406	[DEBUG]	Use field value for field published
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:34	1406	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field override
2023-10-13	12:45:34	1406	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:34	1406	[DEBUG]	Use field value for field slug
2023-10-13	12:45:34	1406	[DEBUG]	Process line 1406
2023-10-13	12:45:34	1406	[DEBUG]	Load a row
2023-10-13	12:45:34	1406	[DEBUG]	Processing item: 1000000078176
2023-10-13	12:45:34	1406	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:34	1406	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:34	1406	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_1'
2023-10-13	12:45:34	1406	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:34	1406	[DEBUG]	Processing product tax
2023-10-13	12:45:34	1406	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:34	1406	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:34	1406	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:34	1406	[DEBUG]	Query for Product
2023-10-13	12:45:34	1406	[DEBUG]	Executed store
2023-10-13	12:45:34	1406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860893','1000000078176','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:34	1406	[DEBUG]	No parent found
2023-10-13	12:45:34	1406	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860893 AND customfield_value = 'stockable'
2023-10-13	12:45:34	1406	[DEBUG]	Check product language entry
2023-10-13	12:45:34	1406	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860898
2023-10-13	12:45:34	1406	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:34	1406	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078176' AND `virtuemart_product_id` != 1860898
2023-10-13	12:45:34	1406	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:34	1406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860898, '1000000078176')
2023-10-13	12:45:34	1406	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:34	1406	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-42' AND `virtuemart_product_id` != 1860898
2023-10-13	12:45:34	1406	[DEBUG]	Query for ProductLang
2023-10-13	12:45:34	1406	[DEBUG]	Executed store
2023-10-13	12:45:34	1406	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Noir (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-42' WHERE `virtuemart_product_id` = '1860898'
2023-10-13	12:45:34	1406	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:34	1406	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:34	1406	[DEBUG]	Process image file
2023-10-13	12:45:34	1406	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:34	1406	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:34	1406	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:34	1406	[DEBUG]	Full name target: bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:35	1406	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:35	1406	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:35	1406	[DEBUG]	Query for Media
2023-10-13	12:45:35	1406	[DEBUG]	Executed store
2023-10-13	12:45:35	1406	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15956'
2023-10-13	12:45:35	1406	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:35	1406	[DEBUG]	Executed store
2023-10-13	12:45:35	1406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860898','15956','1')
2023-10-13	12:45:35	1406	[DEBUG]	Store product image relation
2023-10-13	12:45:35	1406	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:35	1406	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860898 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:35	1406	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:35	1406	[DEBUG]	Executed store
2023-10-13	12:45:35	1406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860898','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:35	1406	[DEBUG]	Checking manufacturer
2023-10-13	12:45:35	1406	[DEBUG]	Load a row
2023-10-13	12:45:35	1406	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:35	1406	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:35	1406	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:35	1406	[DEBUG]	Executed store
2023-10-13	12:45:35	1406	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:35	1406	[DEBUG]	Manufacturer exists
2023-10-13	12:45:35	1406	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:35	1406	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:35	1406	[DEBUG]	Executed store
2023-10-13	12:45:35	1406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860898','32')
2023-10-13	12:45:35	1406	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:35	1406	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:35	1406	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860898 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:35	1406	[DEBUG]	Store custom available field
2023-10-13	12:45:35	1406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860898,3,'',1)
2023-10-13	12:45:35	1406	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:35	1406	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:45:35	1406	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860898 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:35	1406	[DEBUG]	Store custom available field
2023-10-13	12:45:35	1406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860898,6,'42',3)
2023-10-13	12:45:35	1406	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:35	1406	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:35	1406	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860893
2023-10-13	12:45:35	1406	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:35	1406	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1860893\":[1860893,8,1,\"choisir la taille\"],\"1860894\":[\"38\"],\"1860895\":[\"39\"],\"1860896\":[\"40\"],\"1860897\":[\"41\"],\"1860898\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1860893
2023-10-13	12:45:35	1406	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:35	1406	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860898
2023-10-13	12:45:35	1407	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:35	1407	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:35	1407	[DEBUG]	Use field value for field taille
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:35	1407	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:35	1407	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:35	1407	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:35	1407	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:35	1407	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:35	1407	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:35	1407	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:35	1407	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:35	1407	[DEBUG]	Use field value for field published
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:35	1407	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field override
2023-10-13	12:45:35	1407	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:35	1407	[DEBUG]	Use field value for field slug
2023-10-13	12:45:35	1407	[DEBUG]	Process line 1407
2023-10-13	12:45:35	1407	[DEBUG]	Load a row
2023-10-13	12:45:35	1407	[DEBUG]	Processing item: 1000000078183
2023-10-13	12:45:35	1407	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:35	1407	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:35	1407	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_1'
2023-10-13	12:45:35	1407	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:35	1407	[DEBUG]	Processing product tax
2023-10-13	12:45:35	1407	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:35	1407	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:35	1407	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:35	1407	[DEBUG]	Query for Product
2023-10-13	12:45:35	1407	[DEBUG]	Executed store
2023-10-13	12:45:35	1407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860893','1000000078183','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:35	1407	[DEBUG]	No parent found
2023-10-13	12:45:35	1407	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860893 AND customfield_value = 'stockable'
2023-10-13	12:45:35	1407	[DEBUG]	Check product language entry
2023-10-13	12:45:35	1407	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860899
2023-10-13	12:45:35	1407	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:35	1407	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078183' AND `virtuemart_product_id` != 1860899
2023-10-13	12:45:35	1407	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:35	1407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860899, '1000000078183')
2023-10-13	12:45:35	1407	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:35	1407	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-43' AND `virtuemart_product_id` != 1860899
2023-10-13	12:45:35	1407	[DEBUG]	Query for ProductLang
2023-10-13	12:45:35	1407	[DEBUG]	Executed store
2023-10-13	12:45:35	1407	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Noir (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-43' WHERE `virtuemart_product_id` = '1860899'
2023-10-13	12:45:35	1407	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:35	1407	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:35	1407	[DEBUG]	Process image file
2023-10-13	12:45:35	1407	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:35	1407	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:35	1407	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:35	1407	[DEBUG]	Full name target: bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:36	1407	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:36	1407	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:36	1407	[DEBUG]	Query for Media
2023-10-13	12:45:36	1407	[DEBUG]	Executed store
2023-10-13	12:45:36	1407	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15956'
2023-10-13	12:45:36	1407	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:36	1407	[DEBUG]	Executed store
2023-10-13	12:45:36	1407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860899','15956','1')
2023-10-13	12:45:36	1407	[DEBUG]	Store product image relation
2023-10-13	12:45:36	1407	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:36	1407	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860899 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:36	1407	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:36	1407	[DEBUG]	Executed store
2023-10-13	12:45:36	1407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860899','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:36	1407	[DEBUG]	Checking manufacturer
2023-10-13	12:45:36	1407	[DEBUG]	Load a row
2023-10-13	12:45:36	1407	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:36	1407	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:36	1407	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:36	1407	[DEBUG]	Executed store
2023-10-13	12:45:36	1407	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:36	1407	[DEBUG]	Manufacturer exists
2023-10-13	12:45:36	1407	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:36	1407	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:36	1407	[DEBUG]	Executed store
2023-10-13	12:45:36	1407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860899','32')
2023-10-13	12:45:36	1407	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:36	1407	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:36	1407	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860899 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:36	1407	[DEBUG]	Store custom available field
2023-10-13	12:45:36	1407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860899,3,'',1)
2023-10-13	12:45:36	1407	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:36	1407	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:45:36	1407	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860899 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:36	1407	[DEBUG]	Store custom available field
2023-10-13	12:45:36	1407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860899,6,'43',3)
2023-10-13	12:45:36	1407	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:36	1407	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:36	1407	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860893
2023-10-13	12:45:36	1407	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:36	1407	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1860893\":[1860893,8,1,\"choisir la taille\"],\"1860894\":[\"38\"],\"1860895\":[\"39\"],\"1860896\":[\"40\"],\"1860897\":[\"41\"],\"1860898\":[\"42\"],\"1860899\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1860893
2023-10-13	12:45:36	1407	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:36	1407	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860899
2023-10-13	12:45:36	1408	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:36	1408	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:36	1408	[DEBUG]	Use field value for field taille
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:36	1408	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:36	1408	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:36	1408	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:36	1408	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:36	1408	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:36	1408	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:36	1408	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:36	1408	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:36	1408	[DEBUG]	Use field value for field published
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:36	1408	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field override
2023-10-13	12:45:36	1408	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:36	1408	[DEBUG]	Use field value for field slug
2023-10-13	12:45:36	1408	[DEBUG]	Process line 1408
2023-10-13	12:45:36	1408	[DEBUG]	Load a row
2023-10-13	12:45:36	1408	[DEBUG]	Processing item: 8435466296469
2023-10-13	12:45:36	1408	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:36	1408	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:36	1408	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_1'
2023-10-13	12:45:36	1408	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:36	1408	[DEBUG]	Processing product tax
2023-10-13	12:45:36	1408	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:36	1408	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:36	1408	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:36	1408	[DEBUG]	Query for Product
2023-10-13	12:45:36	1408	[DEBUG]	Executed store
2023-10-13	12:45:36	1408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860893','8435466296469','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:36	1408	[DEBUG]	No parent found
2023-10-13	12:45:36	1408	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860893 AND customfield_value = 'stockable'
2023-10-13	12:45:36	1408	[DEBUG]	Check product language entry
2023-10-13	12:45:36	1408	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860900
2023-10-13	12:45:36	1408	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:36	1408	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466296469' AND `virtuemart_product_id` != 1860900
2023-10-13	12:45:36	1408	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:36	1408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860900, '8435466296469')
2023-10-13	12:45:36	1408	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:36	1408	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-44' AND `virtuemart_product_id` != 1860900
2023-10-13	12:45:36	1408	[DEBUG]	Query for ProductLang
2023-10-13	12:45:36	1408	[DEBUG]	Executed store
2023-10-13	12:45:36	1408	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Noir (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-44' WHERE `virtuemart_product_id` = '1860900'
2023-10-13	12:45:36	1408	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:36	1408	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:36	1408	[DEBUG]	Process image file
2023-10-13	12:45:36	1408	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:36	1408	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:36	1408	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:36	1408	[DEBUG]	Full name target: bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:37	1408	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:37	1408	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:37	1408	[DEBUG]	Query for Media
2023-10-13	12:45:37	1408	[DEBUG]	Executed store
2023-10-13	12:45:37	1408	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15956'
2023-10-13	12:45:37	1408	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:37	1408	[DEBUG]	Executed store
2023-10-13	12:45:37	1408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860900','15956','1')
2023-10-13	12:45:37	1408	[DEBUG]	Store product image relation
2023-10-13	12:45:37	1408	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:37	1408	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860900 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:37	1408	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:37	1408	[DEBUG]	Executed store
2023-10-13	12:45:37	1408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860900','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:37	1408	[DEBUG]	Checking manufacturer
2023-10-13	12:45:37	1408	[DEBUG]	Load a row
2023-10-13	12:45:37	1408	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:37	1408	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:37	1408	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:37	1408	[DEBUG]	Executed store
2023-10-13	12:45:37	1408	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:37	1408	[DEBUG]	Manufacturer exists
2023-10-13	12:45:37	1408	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:37	1408	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:37	1408	[DEBUG]	Executed store
2023-10-13	12:45:37	1408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860900','32')
2023-10-13	12:45:37	1408	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:37	1408	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:37	1408	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860900 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:37	1408	[DEBUG]	Store custom available field
2023-10-13	12:45:37	1408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860900,3,'',1)
2023-10-13	12:45:37	1408	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:37	1408	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:45:37	1408	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860900 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:37	1408	[DEBUG]	Store custom available field
2023-10-13	12:45:37	1408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860900,6,'44',3)
2023-10-13	12:45:37	1408	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:37	1408	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:37	1408	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860893
2023-10-13	12:45:37	1408	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:37	1408	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1860893\":[1860893,8,1,\"choisir la taille\"],\"1860894\":[\"38\"],\"1860895\":[\"39\"],\"1860896\":[\"40\"],\"1860897\":[\"41\"],\"1860898\":[\"42\"],\"1860899\":[\"43\"],\"1860900\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1860893
2023-10-13	12:45:37	1408	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:37	1408	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860900
2023-10-13	12:45:37	1409	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:37	1409	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:37	1409	[DEBUG]	Use field value for field taille
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:37	1409	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:37	1409	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:37	1409	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:37	1409	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:37	1409	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:37	1409	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:37	1409	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:37	1409	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:37	1409	[DEBUG]	Use field value for field published
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:37	1409	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field override
2023-10-13	12:45:37	1409	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:37	1409	[DEBUG]	Use field value for field slug
2023-10-13	12:45:37	1409	[DEBUG]	Process line 1409
2023-10-13	12:45:37	1409	[DEBUG]	Load a row
2023-10-13	12:45:37	1409	[DEBUG]	Processing item: 1000000078206
2023-10-13	12:45:37	1409	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:37	1409	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:37	1409	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_1'
2023-10-13	12:45:37	1409	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:37	1409	[DEBUG]	Processing product tax
2023-10-13	12:45:37	1409	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:37	1409	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:37	1409	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:37	1409	[DEBUG]	Query for Product
2023-10-13	12:45:37	1409	[DEBUG]	Executed store
2023-10-13	12:45:37	1409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860893','1000000078206','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:37	1409	[DEBUG]	No parent found
2023-10-13	12:45:37	1409	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860893 AND customfield_value = 'stockable'
2023-10-13	12:45:37	1409	[DEBUG]	Check product language entry
2023-10-13	12:45:37	1409	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860901
2023-10-13	12:45:37	1409	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:37	1409	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078206' AND `virtuemart_product_id` != 1860901
2023-10-13	12:45:37	1409	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:37	1409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860901, '1000000078206')
2023-10-13	12:45:37	1409	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:37	1409	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-45' AND `virtuemart_product_id` != 1860901
2023-10-13	12:45:37	1409	[DEBUG]	Query for ProductLang
2023-10-13	12:45:37	1409	[DEBUG]	Executed store
2023-10-13	12:45:37	1409	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Noir (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-45' WHERE `virtuemart_product_id` = '1860901'
2023-10-13	12:45:37	1409	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:37	1409	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:37	1409	[DEBUG]	Process image file
2023-10-13	12:45:37	1409	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:37	1409	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:37	1409	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:37	1409	[DEBUG]	Full name target: bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:38	1409	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:38	1409	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:38	1409	[DEBUG]	Query for Media
2023-10-13	12:45:38	1409	[DEBUG]	Executed store
2023-10-13	12:45:38	1409	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15956'
2023-10-13	12:45:38	1409	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:38	1409	[DEBUG]	Executed store
2023-10-13	12:45:38	1409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860901','15956','1')
2023-10-13	12:45:38	1409	[DEBUG]	Store product image relation
2023-10-13	12:45:38	1409	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:38	1409	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860901 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:38	1409	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:38	1409	[DEBUG]	Executed store
2023-10-13	12:45:38	1409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860901','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:38	1409	[DEBUG]	Checking manufacturer
2023-10-13	12:45:38	1409	[DEBUG]	Load a row
2023-10-13	12:45:38	1409	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:38	1409	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:38	1409	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:38	1409	[DEBUG]	Executed store
2023-10-13	12:45:38	1409	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:38	1409	[DEBUG]	Manufacturer exists
2023-10-13	12:45:38	1409	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:38	1409	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:38	1409	[DEBUG]	Executed store
2023-10-13	12:45:38	1409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860901','32')
2023-10-13	12:45:38	1409	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:38	1409	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:38	1409	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860901 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:38	1409	[DEBUG]	Store custom available field
2023-10-13	12:45:38	1409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860901,3,'',1)
2023-10-13	12:45:38	1409	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:38	1409	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:45:38	1409	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860901 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:38	1409	[DEBUG]	Store custom available field
2023-10-13	12:45:38	1409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860901,6,'45',3)
2023-10-13	12:45:38	1409	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:38	1409	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:38	1409	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860893
2023-10-13	12:45:38	1409	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:38	1409	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1860893\":[1860893,8,1,\"choisir la taille\"],\"1860894\":[\"38\"],\"1860895\":[\"39\"],\"1860896\":[\"40\"],\"1860897\":[\"41\"],\"1860898\":[\"42\"],\"1860899\":[\"43\"],\"1860900\":[\"44\"],\"1860901\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1860893
2023-10-13	12:45:38	1409	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:38	1409	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860901
2023-10-13	12:45:38	1410	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:38	1410	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:38	1410	[DEBUG]	Use field value for field taille
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:38	1410	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:38	1410	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:38	1410	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:38	1410	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:38	1410	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:38	1410	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:38	1410	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:38	1410	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:38	1410	[DEBUG]	Use field value for field published
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:38	1410	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field override
2023-10-13	12:45:38	1410	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:38	1410	[DEBUG]	Use field value for field slug
2023-10-13	12:45:38	1410	[DEBUG]	Process line 1410
2023-10-13	12:45:38	1410	[DEBUG]	Load a row
2023-10-13	12:45:38	1410	[DEBUG]	Processing item: 1000000078213
2023-10-13	12:45:38	1410	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:38	1410	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:38	1410	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_1'
2023-10-13	12:45:38	1410	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:38	1410	[DEBUG]	Processing product tax
2023-10-13	12:45:38	1410	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:38	1410	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:38	1410	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:38	1410	[DEBUG]	Query for Product
2023-10-13	12:45:38	1410	[DEBUG]	Executed store
2023-10-13	12:45:38	1410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860893','1000000078213','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:38	1410	[DEBUG]	No parent found
2023-10-13	12:45:38	1410	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860893 AND customfield_value = 'stockable'
2023-10-13	12:45:38	1410	[DEBUG]	Check product language entry
2023-10-13	12:45:38	1410	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860902
2023-10-13	12:45:38	1410	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:38	1410	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078213' AND `virtuemart_product_id` != 1860902
2023-10-13	12:45:38	1410	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:38	1410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860902, '1000000078213')
2023-10-13	12:45:38	1410	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:38	1410	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-46' AND `virtuemart_product_id` != 1860902
2023-10-13	12:45:38	1410	[DEBUG]	Query for ProductLang
2023-10-13	12:45:38	1410	[DEBUG]	Executed store
2023-10-13	12:45:38	1410	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Noir (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-noir-46' WHERE `virtuemart_product_id` = '1860902'
2023-10-13	12:45:38	1410	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:38	1410	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:38	1410	[DEBUG]	Process image file
2023-10-13	12:45:38	1410	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:38	1410	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:38	1410	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:38	1410	[DEBUG]	Full name target: bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:39	1410	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:39	1410	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:39	1410	[DEBUG]	Query for Media
2023-10-13	12:45:39	1410	[DEBUG]	Executed store
2023-10-13	12:45:39	1410	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29612_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15956'
2023-10-13	12:45:39	1410	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:39	1410	[DEBUG]	Executed store
2023-10-13	12:45:39	1410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860902','15956','1')
2023-10-13	12:45:39	1410	[DEBUG]	Store product image relation
2023-10-13	12:45:39	1410	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:39	1410	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860902 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:39	1410	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:39	1410	[DEBUG]	Executed store
2023-10-13	12:45:39	1410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860902','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:39	1410	[DEBUG]	Checking manufacturer
2023-10-13	12:45:39	1410	[DEBUG]	Load a row
2023-10-13	12:45:39	1410	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:39	1410	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:39	1410	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:39	1410	[DEBUG]	Executed store
2023-10-13	12:45:39	1410	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:40	1410	[DEBUG]	Manufacturer exists
2023-10-13	12:45:40	1410	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:40	1410	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:40	1410	[DEBUG]	Executed store
2023-10-13	12:45:40	1410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860902','32')
2023-10-13	12:45:40	1410	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:40	1410	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:40	1410	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860902 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:40	1410	[DEBUG]	Store custom available field
2023-10-13	12:45:40	1410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860902,3,'',1)
2023-10-13	12:45:40	1410	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:40	1410	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:45:40	1410	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860902 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:40	1410	[DEBUG]	Store custom available field
2023-10-13	12:45:40	1410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860902,6,'46',3)
2023-10-13	12:45:40	1410	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:40	1410	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:40	1410	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860893
2023-10-13	12:45:40	1410	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:40	1410	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1860893\":[1860893,8,1,\"choisir la taille\"],\"1860894\":[\"38\"],\"1860895\":[\"39\"],\"1860896\":[\"40\"],\"1860897\":[\"41\"],\"1860898\":[\"42\"],\"1860899\":[\"43\"],\"1860900\":[\"44\"],\"1860901\":[\"45\"],\"1860902\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1860893
2023-10-13	12:45:40	1410	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:40	1410	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860902
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:40	1411	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field taille
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field category_path
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:40	1411	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:45:40	1411	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:40	1411	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field product_weight
2023-10-13	12:45:40	1411	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:40	1411	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:40	1411	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field published
2023-10-13	12:45:40	1411	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:40	1411	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field custom_title
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field custom_param
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field override
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field public_price
2023-10-13	12:45:40	1411	[DEBUG]	Use field value for field slug
2023-10-13	12:45:40	1411	[DEBUG]	Process line 1411
2023-10-13	12:45:40	1411	[DEBUG]	Load a row
2023-10-13	12:45:40	1411	[DEBUG]	Processing item: A_5153_7
2023-10-13	12:45:40	1411	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:40	1411	[DEBUG]	Processing product tax
2023-10-13	12:45:40	1411	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:40	1411	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:40	1411	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:40	1411	[DEBUG]	Query for Product
2023-10-13	12:45:40	1411	[DEBUG]	Executed store
2023-10-13	12:45:40	1411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5153_7','0.51','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:40	1411	[DEBUG]	Check product language entry
2023-10-13	12:45:40	1411	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860903
2023-10-13	12:45:40	1411	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:40	1411	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5153_7' AND `virtuemart_product_id` != 1860903
2023-10-13	12:45:40	1411	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:40	1411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860903, 'A_5153_7')
2023-10-13	12:45:40	1411	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:40	1411	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge' AND `virtuemart_product_id` != 1860903
2023-10-13	12:45:40	1411	[DEBUG]	Query for ProductLang
2023-10-13	12:45:40	1411	[DEBUG]	Executed store
2023-10-13	12:45:40	1411	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro Road avec système de ventilation breveté ! 510 gr.<br>N° art fourn : ZAEROROAD',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge' WHERE `virtuemart_product_id` = '1860903'
2023-10-13	12:45:40	1411	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:40	1411	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:40	1411	[DEBUG]	Process image file
2023-10-13	12:45:40	1411	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:40	1411	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:40	1411	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:40	1411	[DEBUG]	Full name target: bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:41	1411	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:41	1411	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:41	1411	[DEBUG]	Query for Media
2023-10-13	12:45:41	1411	[DEBUG]	Executed store
2023-10-13	12:45:41	1411	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15957'
2023-10-13	12:45:41	1411	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:41	1411	[DEBUG]	Executed store
2023-10-13	12:45:41	1411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860903','15957','1')
2023-10-13	12:45:41	1411	[DEBUG]	Store product image relation
2023-10-13	12:45:41	1411	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:41	1411	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860903 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:41	1411	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:41	1411	[DEBUG]	Executed store
2023-10-13	12:45:41	1411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860903','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:41	1411	[DEBUG]	Checking manufacturer
2023-10-13	12:45:41	1411	[DEBUG]	Load a row
2023-10-13	12:45:41	1411	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:41	1411	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:41	1411	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:41	1411	[DEBUG]	Executed store
2023-10-13	12:45:41	1411	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:41	1411	[DEBUG]	Manufacturer exists
2023-10-13	12:45:41	1411	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:41	1411	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:41	1411	[DEBUG]	Executed store
2023-10-13	12:45:41	1411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860903','32')
2023-10-13	12:45:41	1411	[DEBUG]	Find the custom field ID
2023-10-13	12:45:41	1411	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:45:41	1411	[DEBUG]	No custom field ID found
2023-10-13	12:45:41	1411	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:41	1411	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:45:41	1411	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860903 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:41	1411	[DEBUG]	Store custom available field
2023-10-13	12:45:41	1411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860903,3,'179.400277777778',1)
2023-10-13	12:45:41	1411	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:41	1411	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:45:41	1411	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860903 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:41	1411	[DEBUG]	Store custom available field
2023-10-13	12:45:41	1411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860903,6,'choisir la taille',3)
2023-10-13	12:45:41	1411	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:41	1411	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:45:41	1411	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:45:41	1411	[DEBUG]	Find the multi variant product entry
2023-10-13	12:45:41	1411	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860903 AND `virtuemart_custom_id` = 8
2023-10-13	12:45:41	1411	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:45:41	1411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860903,8,1)
2023-10-13	12:45:41	1411	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:41	1411	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860903\":[1860903,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860903
2023-10-13	12:45:41	1411	[DEBUG]	Checking category
2023-10-13	12:45:41	1411	[DEBUG]	Get the existing categories for the product
2023-10-13	12:45:41	1411	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860903
2023-10-13	12:45:41	1411	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:45:41	1411	[DEBUG]	Executed store
2023-10-13	12:45:41	1411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860903','7331')
2023-10-13	12:45:41	1411	[DEBUG]	Delete leftover product categories
2023-10-13	12:45:41	1411	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860903 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:45:41	1411	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:41	1411	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860903
2023-10-13	12:45:41	1412	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:41	1412	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:41	1412	[DEBUG]	Use field value for field taille
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:41	1412	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:41	1412	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:41	1412	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:41	1412	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:41	1412	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:41	1412	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:41	1412	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:41	1412	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:41	1412	[DEBUG]	Use field value for field published
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:41	1412	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field override
2023-10-13	12:45:41	1412	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:41	1412	[DEBUG]	Use field value for field slug
2023-10-13	12:45:41	1412	[DEBUG]	Process line 1412
2023-10-13	12:45:41	1412	[DEBUG]	Load a row
2023-10-13	12:45:41	1412	[DEBUG]	Processing item: 1000000078329
2023-10-13	12:45:41	1412	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:41	1412	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:41	1412	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_7'
2023-10-13	12:45:41	1412	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:41	1412	[DEBUG]	Processing product tax
2023-10-13	12:45:41	1412	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:41	1412	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:41	1412	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:41	1412	[DEBUG]	Query for Product
2023-10-13	12:45:41	1412	[DEBUG]	Executed store
2023-10-13	12:45:41	1412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860903','1000000078329','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:41	1412	[DEBUG]	No parent found
2023-10-13	12:45:41	1412	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860903 AND customfield_value = 'stockable'
2023-10-13	12:45:41	1412	[DEBUG]	Check product language entry
2023-10-13	12:45:41	1412	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860904
2023-10-13	12:45:41	1412	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:41	1412	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078329' AND `virtuemart_product_id` != 1860904
2023-10-13	12:45:41	1412	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:41	1412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860904, '1000000078329')
2023-10-13	12:45:41	1412	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:41	1412	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-38' AND `virtuemart_product_id` != 1860904
2023-10-13	12:45:41	1412	[DEBUG]	Query for ProductLang
2023-10-13	12:45:41	1412	[DEBUG]	Executed store
2023-10-13	12:45:41	1412	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rouge (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-38' WHERE `virtuemart_product_id` = '1860904'
2023-10-13	12:45:41	1412	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:41	1412	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:41	1412	[DEBUG]	Process image file
2023-10-13	12:45:41	1412	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:41	1412	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:41	1412	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:41	1412	[DEBUG]	Full name target: bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:42	1412	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:42	1412	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:42	1412	[DEBUG]	Query for Media
2023-10-13	12:45:42	1412	[DEBUG]	Executed store
2023-10-13	12:45:42	1412	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15957'
2023-10-13	12:45:42	1412	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:42	1412	[DEBUG]	Executed store
2023-10-13	12:45:42	1412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860904','15957','1')
2023-10-13	12:45:42	1412	[DEBUG]	Store product image relation
2023-10-13	12:45:42	1412	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:42	1412	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860904 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:42	1412	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:42	1412	[DEBUG]	Executed store
2023-10-13	12:45:42	1412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860904','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:42	1412	[DEBUG]	Checking manufacturer
2023-10-13	12:45:42	1412	[DEBUG]	Load a row
2023-10-13	12:45:42	1412	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:42	1412	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:42	1412	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:42	1412	[DEBUG]	Executed store
2023-10-13	12:45:42	1412	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:42	1412	[DEBUG]	Manufacturer exists
2023-10-13	12:45:42	1412	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:42	1412	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:42	1412	[DEBUG]	Executed store
2023-10-13	12:45:42	1412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860904','32')
2023-10-13	12:45:42	1412	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:42	1412	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:42	1412	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860904 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:42	1412	[DEBUG]	Store custom available field
2023-10-13	12:45:42	1412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860904,3,'',1)
2023-10-13	12:45:42	1412	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:42	1412	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:45:42	1412	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860904 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:42	1412	[DEBUG]	Store custom available field
2023-10-13	12:45:42	1412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860904,6,'38',3)
2023-10-13	12:45:42	1412	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:42	1412	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:42	1412	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860903
2023-10-13	12:45:42	1412	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:42	1412	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1860903\":[1860903,8,1,\"choisir la taille\"],\"1860904\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1860903
2023-10-13	12:45:42	1412	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:42	1412	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860904
2023-10-13	12:45:42	1413	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:42	1413	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:42	1413	[DEBUG]	Use field value for field taille
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:42	1413	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:42	1413	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:42	1413	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:42	1413	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:42	1413	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:42	1413	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:42	1413	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:42	1413	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:42	1413	[DEBUG]	Use field value for field published
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:42	1413	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field override
2023-10-13	12:45:42	1413	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:42	1413	[DEBUG]	Use field value for field slug
2023-10-13	12:45:42	1413	[DEBUG]	Process line 1413
2023-10-13	12:45:42	1413	[DEBUG]	Load a row
2023-10-13	12:45:42	1413	[DEBUG]	Processing item: 1000000078336
2023-10-13	12:45:42	1413	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:42	1413	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:42	1413	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_7'
2023-10-13	12:45:42	1413	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:42	1413	[DEBUG]	Processing product tax
2023-10-13	12:45:42	1413	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:42	1413	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:42	1413	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:42	1413	[DEBUG]	Query for Product
2023-10-13	12:45:42	1413	[DEBUG]	Executed store
2023-10-13	12:45:42	1413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860903','1000000078336','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:42	1413	[DEBUG]	No parent found
2023-10-13	12:45:42	1413	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860903 AND customfield_value = 'stockable'
2023-10-13	12:45:42	1413	[DEBUG]	Check product language entry
2023-10-13	12:45:42	1413	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860905
2023-10-13	12:45:42	1413	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:42	1413	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078336' AND `virtuemart_product_id` != 1860905
2023-10-13	12:45:42	1413	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:42	1413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860905, '1000000078336')
2023-10-13	12:45:42	1413	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:42	1413	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-39' AND `virtuemart_product_id` != 1860905
2023-10-13	12:45:42	1413	[DEBUG]	Query for ProductLang
2023-10-13	12:45:42	1413	[DEBUG]	Executed store
2023-10-13	12:45:42	1413	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rouge (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-39' WHERE `virtuemart_product_id` = '1860905'
2023-10-13	12:45:42	1413	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:42	1413	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:42	1413	[DEBUG]	Process image file
2023-10-13	12:45:42	1413	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:42	1413	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:42	1413	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:42	1413	[DEBUG]	Full name target: bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:43	1413	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:43	1413	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:43	1413	[DEBUG]	Query for Media
2023-10-13	12:45:43	1413	[DEBUG]	Executed store
2023-10-13	12:45:43	1413	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15957'
2023-10-13	12:45:43	1413	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:43	1413	[DEBUG]	Executed store
2023-10-13	12:45:43	1413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860905','15957','1')
2023-10-13	12:45:43	1413	[DEBUG]	Store product image relation
2023-10-13	12:45:43	1413	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:43	1413	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860905 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:43	1413	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:43	1413	[DEBUG]	Executed store
2023-10-13	12:45:43	1413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860905','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:43	1413	[DEBUG]	Checking manufacturer
2023-10-13	12:45:43	1413	[DEBUG]	Load a row
2023-10-13	12:45:43	1413	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:43	1413	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:43	1413	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:43	1413	[DEBUG]	Executed store
2023-10-13	12:45:43	1413	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:43	1413	[DEBUG]	Manufacturer exists
2023-10-13	12:45:43	1413	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:43	1413	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:43	1413	[DEBUG]	Executed store
2023-10-13	12:45:43	1413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860905','32')
2023-10-13	12:45:43	1413	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:43	1413	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:43	1413	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860905 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:43	1413	[DEBUG]	Store custom available field
2023-10-13	12:45:43	1413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860905,3,'',1)
2023-10-13	12:45:43	1413	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:43	1413	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:45:43	1413	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860905 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:43	1413	[DEBUG]	Store custom available field
2023-10-13	12:45:43	1413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860905,6,'39',3)
2023-10-13	12:45:43	1413	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:43	1413	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:43	1413	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860903
2023-10-13	12:45:43	1413	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:43	1413	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1860903\":[1860903,8,1,\"choisir la taille\"],\"1860904\":[\"38\"],\"1860905\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1860903
2023-10-13	12:45:43	1413	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:43	1413	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860905
2023-10-13	12:45:43	1414	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:43	1414	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:43	1414	[DEBUG]	Use field value for field taille
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:43	1414	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:43	1414	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:43	1414	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:43	1414	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:43	1414	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:43	1414	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:43	1414	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:43	1414	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:43	1414	[DEBUG]	Use field value for field published
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:43	1414	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field override
2023-10-13	12:45:43	1414	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:43	1414	[DEBUG]	Use field value for field slug
2023-10-13	12:45:43	1414	[DEBUG]	Process line 1414
2023-10-13	12:45:43	1414	[DEBUG]	Load a row
2023-10-13	12:45:43	1414	[DEBUG]	Processing item: 1000000078343
2023-10-13	12:45:43	1414	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:43	1414	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:43	1414	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_7'
2023-10-13	12:45:43	1414	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:43	1414	[DEBUG]	Processing product tax
2023-10-13	12:45:43	1414	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:43	1414	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:43	1414	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:43	1414	[DEBUG]	Query for Product
2023-10-13	12:45:43	1414	[DEBUG]	Executed store
2023-10-13	12:45:43	1414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860903','1000000078343','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:43	1414	[DEBUG]	No parent found
2023-10-13	12:45:43	1414	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860903 AND customfield_value = 'stockable'
2023-10-13	12:45:43	1414	[DEBUG]	Check product language entry
2023-10-13	12:45:43	1414	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860906
2023-10-13	12:45:43	1414	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:43	1414	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078343' AND `virtuemart_product_id` != 1860906
2023-10-13	12:45:43	1414	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:43	1414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860906, '1000000078343')
2023-10-13	12:45:43	1414	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:43	1414	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-40' AND `virtuemart_product_id` != 1860906
2023-10-13	12:45:43	1414	[DEBUG]	Query for ProductLang
2023-10-13	12:45:43	1414	[DEBUG]	Executed store
2023-10-13	12:45:43	1414	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rouge (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-40' WHERE `virtuemart_product_id` = '1860906'
2023-10-13	12:45:43	1414	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:43	1414	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:43	1414	[DEBUG]	Process image file
2023-10-13	12:45:43	1414	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:43	1414	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:43	1414	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:43	1414	[DEBUG]	Full name target: bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:44	1414	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:44	1414	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:44	1414	[DEBUG]	Query for Media
2023-10-13	12:45:44	1414	[DEBUG]	Executed store
2023-10-13	12:45:44	1414	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15957'
2023-10-13	12:45:44	1414	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:44	1414	[DEBUG]	Executed store
2023-10-13	12:45:44	1414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860906','15957','1')
2023-10-13	12:45:44	1414	[DEBUG]	Store product image relation
2023-10-13	12:45:44	1414	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:44	1414	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860906 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:44	1414	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:44	1414	[DEBUG]	Executed store
2023-10-13	12:45:44	1414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860906','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:44	1414	[DEBUG]	Checking manufacturer
2023-10-13	12:45:44	1414	[DEBUG]	Load a row
2023-10-13	12:45:44	1414	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:44	1414	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:44	1414	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:44	1414	[DEBUG]	Executed store
2023-10-13	12:45:44	1414	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:44	1414	[DEBUG]	Manufacturer exists
2023-10-13	12:45:44	1414	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:44	1414	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:44	1414	[DEBUG]	Executed store
2023-10-13	12:45:44	1414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860906','32')
2023-10-13	12:45:44	1414	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:44	1414	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:44	1414	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860906 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:44	1414	[DEBUG]	Store custom available field
2023-10-13	12:45:44	1414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860906,3,'',1)
2023-10-13	12:45:44	1414	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:44	1414	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:45:44	1414	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860906 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:44	1414	[DEBUG]	Store custom available field
2023-10-13	12:45:44	1414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860906,6,'40',3)
2023-10-13	12:45:44	1414	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:44	1414	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:44	1414	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860903
2023-10-13	12:45:44	1414	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:44	1414	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1860903\":[1860903,8,1,\"choisir la taille\"],\"1860904\":[\"38\"],\"1860905\":[\"39\"],\"1860906\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1860903
2023-10-13	12:45:44	1414	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:44	1414	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860906
2023-10-13	12:45:44	1415	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:44	1415	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:44	1415	[DEBUG]	Use field value for field taille
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:44	1415	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:44	1415	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:44	1415	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:44	1415	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:44	1415	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:44	1415	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:44	1415	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:44	1415	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:44	1415	[DEBUG]	Use field value for field published
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:44	1415	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field override
2023-10-13	12:45:44	1415	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:44	1415	[DEBUG]	Use field value for field slug
2023-10-13	12:45:44	1415	[DEBUG]	Process line 1415
2023-10-13	12:45:44	1415	[DEBUG]	Load a row
2023-10-13	12:45:44	1415	[DEBUG]	Processing item: 1000000078350
2023-10-13	12:45:44	1415	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:44	1415	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:44	1415	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_7'
2023-10-13	12:45:44	1415	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:44	1415	[DEBUG]	Processing product tax
2023-10-13	12:45:44	1415	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:44	1415	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:44	1415	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:44	1415	[DEBUG]	Query for Product
2023-10-13	12:45:44	1415	[DEBUG]	Executed store
2023-10-13	12:45:44	1415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860903','1000000078350','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:44	1415	[DEBUG]	No parent found
2023-10-13	12:45:44	1415	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860903 AND customfield_value = 'stockable'
2023-10-13	12:45:44	1415	[DEBUG]	Check product language entry
2023-10-13	12:45:44	1415	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860907
2023-10-13	12:45:44	1415	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:44	1415	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078350' AND `virtuemart_product_id` != 1860907
2023-10-13	12:45:44	1415	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:44	1415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860907, '1000000078350')
2023-10-13	12:45:44	1415	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:44	1415	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-41' AND `virtuemart_product_id` != 1860907
2023-10-13	12:45:44	1415	[DEBUG]	Query for ProductLang
2023-10-13	12:45:44	1415	[DEBUG]	Executed store
2023-10-13	12:45:44	1415	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rouge (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-41' WHERE `virtuemart_product_id` = '1860907'
2023-10-13	12:45:44	1415	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:44	1415	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:44	1415	[DEBUG]	Process image file
2023-10-13	12:45:44	1415	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:44	1415	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:44	1415	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:44	1415	[DEBUG]	Full name target: bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:45	1415	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:45	1415	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:45	1415	[DEBUG]	Query for Media
2023-10-13	12:45:45	1415	[DEBUG]	Executed store
2023-10-13	12:45:45	1415	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15957'
2023-10-13	12:45:45	1415	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:45	1415	[DEBUG]	Executed store
2023-10-13	12:45:45	1415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860907','15957','1')
2023-10-13	12:45:45	1415	[DEBUG]	Store product image relation
2023-10-13	12:45:45	1415	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:45	1415	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860907 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:45	1415	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:45	1415	[DEBUG]	Executed store
2023-10-13	12:45:45	1415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860907','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:45	1415	[DEBUG]	Checking manufacturer
2023-10-13	12:45:45	1415	[DEBUG]	Load a row
2023-10-13	12:45:45	1415	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:45	1415	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:45	1415	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:45	1415	[DEBUG]	Executed store
2023-10-13	12:45:45	1415	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:45	1415	[DEBUG]	Manufacturer exists
2023-10-13	12:45:45	1415	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:45	1415	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:45	1415	[DEBUG]	Executed store
2023-10-13	12:45:45	1415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860907','32')
2023-10-13	12:45:45	1415	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:45	1415	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:45	1415	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860907 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:45	1415	[DEBUG]	Store custom available field
2023-10-13	12:45:45	1415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860907,3,'',1)
2023-10-13	12:45:45	1415	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:45	1415	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:45:45	1415	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860907 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:45	1415	[DEBUG]	Store custom available field
2023-10-13	12:45:45	1415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860907,6,'41',3)
2023-10-13	12:45:45	1415	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:45	1415	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:45	1415	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860903
2023-10-13	12:45:45	1415	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:45	1415	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1860903\":[1860903,8,1,\"choisir la taille\"],\"1860904\":[\"38\"],\"1860905\":[\"39\"],\"1860906\":[\"40\"],\"1860907\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1860903
2023-10-13	12:45:45	1415	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:45	1415	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860907
2023-10-13	12:45:45	1416	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:45	1416	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:45	1416	[DEBUG]	Use field value for field taille
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:45	1416	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:45	1416	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:45	1416	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:45	1416	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:45	1416	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:45	1416	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:45	1416	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:45	1416	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:45	1416	[DEBUG]	Use field value for field published
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:45	1416	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field override
2023-10-13	12:45:45	1416	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:45	1416	[DEBUG]	Use field value for field slug
2023-10-13	12:45:45	1416	[DEBUG]	Process line 1416
2023-10-13	12:45:45	1416	[DEBUG]	Load a row
2023-10-13	12:45:45	1416	[DEBUG]	Processing item: 1000000078367
2023-10-13	12:45:45	1416	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:45	1416	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:45	1416	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_7'
2023-10-13	12:45:45	1416	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:45	1416	[DEBUG]	Processing product tax
2023-10-13	12:45:45	1416	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:45	1416	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:45	1416	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:45	1416	[DEBUG]	Query for Product
2023-10-13	12:45:45	1416	[DEBUG]	Executed store
2023-10-13	12:45:45	1416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860903','1000000078367','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:45	1416	[DEBUG]	No parent found
2023-10-13	12:45:45	1416	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860903 AND customfield_value = 'stockable'
2023-10-13	12:45:45	1416	[DEBUG]	Check product language entry
2023-10-13	12:45:45	1416	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860908
2023-10-13	12:45:45	1416	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:45	1416	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078367' AND `virtuemart_product_id` != 1860908
2023-10-13	12:45:45	1416	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:45	1416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860908, '1000000078367')
2023-10-13	12:45:45	1416	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:45	1416	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-42' AND `virtuemart_product_id` != 1860908
2023-10-13	12:45:45	1416	[DEBUG]	Query for ProductLang
2023-10-13	12:45:45	1416	[DEBUG]	Executed store
2023-10-13	12:45:45	1416	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rouge (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-42' WHERE `virtuemart_product_id` = '1860908'
2023-10-13	12:45:45	1416	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:45	1416	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:45	1416	[DEBUG]	Process image file
2023-10-13	12:45:45	1416	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:45	1416	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:45	1416	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:45	1416	[DEBUG]	Full name target: bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:46	1416	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:46	1416	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:46	1416	[DEBUG]	Query for Media
2023-10-13	12:45:46	1416	[DEBUG]	Executed store
2023-10-13	12:45:46	1416	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15957'
2023-10-13	12:45:46	1416	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:46	1416	[DEBUG]	Executed store
2023-10-13	12:45:46	1416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860908','15957','1')
2023-10-13	12:45:46	1416	[DEBUG]	Store product image relation
2023-10-13	12:45:46	1416	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:46	1416	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860908 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:46	1416	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:46	1416	[DEBUG]	Executed store
2023-10-13	12:45:46	1416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860908','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:46	1416	[DEBUG]	Checking manufacturer
2023-10-13	12:45:46	1416	[DEBUG]	Load a row
2023-10-13	12:45:46	1416	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:46	1416	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:46	1416	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:46	1416	[DEBUG]	Executed store
2023-10-13	12:45:46	1416	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:46	1416	[DEBUG]	Manufacturer exists
2023-10-13	12:45:46	1416	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:46	1416	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:46	1416	[DEBUG]	Executed store
2023-10-13	12:45:46	1416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860908','32')
2023-10-13	12:45:46	1416	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:46	1416	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:46	1416	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860908 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:46	1416	[DEBUG]	Store custom available field
2023-10-13	12:45:46	1416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860908,3,'',1)
2023-10-13	12:45:46	1416	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:46	1416	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:45:46	1416	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860908 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:46	1416	[DEBUG]	Store custom available field
2023-10-13	12:45:46	1416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860908,6,'42',3)
2023-10-13	12:45:46	1416	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:46	1416	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:46	1416	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860903
2023-10-13	12:45:46	1416	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:46	1416	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1860903\":[1860903,8,1,\"choisir la taille\"],\"1860904\":[\"38\"],\"1860905\":[\"39\"],\"1860906\":[\"40\"],\"1860907\":[\"41\"],\"1860908\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1860903
2023-10-13	12:45:46	1416	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:46	1416	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860908
2023-10-13	12:45:46	1417	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:46	1417	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:46	1417	[DEBUG]	Use field value for field taille
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:46	1417	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:46	1417	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:46	1417	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:46	1417	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:46	1417	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:46	1417	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:46	1417	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:46	1417	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:46	1417	[DEBUG]	Use field value for field published
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:46	1417	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field override
2023-10-13	12:45:46	1417	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:46	1417	[DEBUG]	Use field value for field slug
2023-10-13	12:45:46	1417	[DEBUG]	Process line 1417
2023-10-13	12:45:46	1417	[DEBUG]	Load a row
2023-10-13	12:45:46	1417	[DEBUG]	Processing item: 8435466296094
2023-10-13	12:45:46	1417	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:46	1417	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:46	1417	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_7'
2023-10-13	12:45:46	1417	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:46	1417	[DEBUG]	Processing product tax
2023-10-13	12:45:46	1417	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:46	1417	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:46	1417	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:46	1417	[DEBUG]	Query for Product
2023-10-13	12:45:46	1417	[DEBUG]	Executed store
2023-10-13	12:45:46	1417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860903','8435466296094','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:46	1417	[DEBUG]	No parent found
2023-10-13	12:45:46	1417	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860903 AND customfield_value = 'stockable'
2023-10-13	12:45:46	1417	[DEBUG]	Check product language entry
2023-10-13	12:45:46	1417	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860909
2023-10-13	12:45:46	1417	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:46	1417	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466296094' AND `virtuemart_product_id` != 1860909
2023-10-13	12:45:46	1417	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:46	1417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860909, '8435466296094')
2023-10-13	12:45:46	1417	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:46	1417	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-43' AND `virtuemart_product_id` != 1860909
2023-10-13	12:45:46	1417	[DEBUG]	Query for ProductLang
2023-10-13	12:45:46	1417	[DEBUG]	Executed store
2023-10-13	12:45:46	1417	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rouge (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-43' WHERE `virtuemart_product_id` = '1860909'
2023-10-13	12:45:46	1417	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:46	1417	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:46	1417	[DEBUG]	Process image file
2023-10-13	12:45:46	1417	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:46	1417	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:46	1417	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:46	1417	[DEBUG]	Full name target: bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:47	1417	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:47	1417	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:47	1417	[DEBUG]	Query for Media
2023-10-13	12:45:47	1417	[DEBUG]	Executed store
2023-10-13	12:45:47	1417	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15957'
2023-10-13	12:45:47	1417	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:47	1417	[DEBUG]	Executed store
2023-10-13	12:45:47	1417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860909','15957','1')
2023-10-13	12:45:47	1417	[DEBUG]	Store product image relation
2023-10-13	12:45:47	1417	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:47	1417	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860909 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:47	1417	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:47	1417	[DEBUG]	Executed store
2023-10-13	12:45:47	1417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860909','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:47	1417	[DEBUG]	Checking manufacturer
2023-10-13	12:45:47	1417	[DEBUG]	Load a row
2023-10-13	12:45:47	1417	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:47	1417	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:47	1417	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:47	1417	[DEBUG]	Executed store
2023-10-13	12:45:47	1417	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:47	1417	[DEBUG]	Manufacturer exists
2023-10-13	12:45:47	1417	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:47	1417	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:47	1417	[DEBUG]	Executed store
2023-10-13	12:45:47	1417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860909','32')
2023-10-13	12:45:47	1417	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:47	1417	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:47	1417	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860909 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:47	1417	[DEBUG]	Store custom available field
2023-10-13	12:45:47	1417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860909,3,'',1)
2023-10-13	12:45:47	1417	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:47	1417	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:45:47	1417	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860909 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:47	1417	[DEBUG]	Store custom available field
2023-10-13	12:45:47	1417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860909,6,'43',3)
2023-10-13	12:45:47	1417	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:47	1417	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:47	1417	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860903
2023-10-13	12:45:47	1417	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:47	1417	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1860903\":[1860903,8,1,\"choisir la taille\"],\"1860904\":[\"38\"],\"1860905\":[\"39\"],\"1860906\":[\"40\"],\"1860907\":[\"41\"],\"1860908\":[\"42\"],\"1860909\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1860903
2023-10-13	12:45:47	1417	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:47	1417	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860909
2023-10-13	12:45:47	1418	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:47	1418	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:47	1418	[DEBUG]	Use field value for field taille
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:47	1418	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:47	1418	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:47	1418	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:47	1418	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:47	1418	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:47	1418	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:47	1418	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:47	1418	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:47	1418	[DEBUG]	Use field value for field published
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:47	1418	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field override
2023-10-13	12:45:47	1418	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:47	1418	[DEBUG]	Use field value for field slug
2023-10-13	12:45:47	1418	[DEBUG]	Process line 1418
2023-10-13	12:45:47	1418	[DEBUG]	Load a row
2023-10-13	12:45:47	1418	[DEBUG]	Processing item: 8435466296100
2023-10-13	12:45:47	1418	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:47	1418	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:47	1418	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_7'
2023-10-13	12:45:47	1418	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:47	1418	[DEBUG]	Processing product tax
2023-10-13	12:45:47	1418	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:47	1418	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:47	1418	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:47	1418	[DEBUG]	Query for Product
2023-10-13	12:45:47	1418	[DEBUG]	Executed store
2023-10-13	12:45:47	1418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860903','8435466296100','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:47	1418	[DEBUG]	No parent found
2023-10-13	12:45:47	1418	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860903 AND customfield_value = 'stockable'
2023-10-13	12:45:47	1418	[DEBUG]	Check product language entry
2023-10-13	12:45:47	1418	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860910
2023-10-13	12:45:47	1418	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:47	1418	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466296100' AND `virtuemart_product_id` != 1860910
2023-10-13	12:45:47	1418	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:47	1418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860910, '8435466296100')
2023-10-13	12:45:47	1418	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:47	1418	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-44' AND `virtuemart_product_id` != 1860910
2023-10-13	12:45:47	1418	[DEBUG]	Query for ProductLang
2023-10-13	12:45:47	1418	[DEBUG]	Executed store
2023-10-13	12:45:47	1418	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rouge (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-44' WHERE `virtuemart_product_id` = '1860910'
2023-10-13	12:45:47	1418	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:47	1418	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:47	1418	[DEBUG]	Process image file
2023-10-13	12:45:47	1418	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:47	1418	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:47	1418	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:47	1418	[DEBUG]	Full name target: bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:48	1418	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:48	1418	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:48	1418	[DEBUG]	Query for Media
2023-10-13	12:45:48	1418	[DEBUG]	Executed store
2023-10-13	12:45:48	1418	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15957'
2023-10-13	12:45:48	1418	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:48	1418	[DEBUG]	Executed store
2023-10-13	12:45:48	1418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860910','15957','1')
2023-10-13	12:45:48	1418	[DEBUG]	Store product image relation
2023-10-13	12:45:48	1418	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:48	1418	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860910 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:48	1418	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:48	1418	[DEBUG]	Executed store
2023-10-13	12:45:48	1418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860910','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:48	1418	[DEBUG]	Checking manufacturer
2023-10-13	12:45:48	1418	[DEBUG]	Load a row
2023-10-13	12:45:48	1418	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:48	1418	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:48	1418	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:48	1418	[DEBUG]	Executed store
2023-10-13	12:45:48	1418	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:48	1418	[DEBUG]	Manufacturer exists
2023-10-13	12:45:48	1418	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:48	1418	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:48	1418	[DEBUG]	Executed store
2023-10-13	12:45:48	1418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860910','32')
2023-10-13	12:45:48	1418	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:48	1418	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:48	1418	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860910 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:48	1418	[DEBUG]	Store custom available field
2023-10-13	12:45:48	1418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860910,3,'',1)
2023-10-13	12:45:48	1418	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:48	1418	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:45:48	1418	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860910 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:48	1418	[DEBUG]	Store custom available field
2023-10-13	12:45:48	1418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860910,6,'44',3)
2023-10-13	12:45:48	1418	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:48	1418	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:48	1418	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860903
2023-10-13	12:45:48	1418	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:48	1418	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1860903\":[1860903,8,1,\"choisir la taille\"],\"1860904\":[\"38\"],\"1860905\":[\"39\"],\"1860906\":[\"40\"],\"1860907\":[\"41\"],\"1860908\":[\"42\"],\"1860909\":[\"43\"],\"1860910\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1860903
2023-10-13	12:45:48	1418	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:48	1418	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860910
2023-10-13	12:45:48	1419	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:48	1419	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:48	1419	[DEBUG]	Use field value for field taille
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:48	1419	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:48	1419	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:48	1419	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:48	1419	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:48	1419	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:48	1419	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:48	1419	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:48	1419	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:48	1419	[DEBUG]	Use field value for field published
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:48	1419	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field override
2023-10-13	12:45:48	1419	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:48	1419	[DEBUG]	Use field value for field slug
2023-10-13	12:45:48	1419	[DEBUG]	Process line 1419
2023-10-13	12:45:48	1419	[DEBUG]	Load a row
2023-10-13	12:45:48	1419	[DEBUG]	Processing item: 1000000078398
2023-10-13	12:45:48	1419	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:48	1419	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:48	1419	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_7'
2023-10-13	12:45:48	1419	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:48	1419	[DEBUG]	Processing product tax
2023-10-13	12:45:48	1419	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:48	1419	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:48	1419	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:48	1419	[DEBUG]	Query for Product
2023-10-13	12:45:48	1419	[DEBUG]	Executed store
2023-10-13	12:45:48	1419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860903','1000000078398','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:48	1419	[DEBUG]	No parent found
2023-10-13	12:45:48	1419	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860903 AND customfield_value = 'stockable'
2023-10-13	12:45:48	1419	[DEBUG]	Check product language entry
2023-10-13	12:45:48	1419	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860911
2023-10-13	12:45:48	1419	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:48	1419	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078398' AND `virtuemart_product_id` != 1860911
2023-10-13	12:45:48	1419	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:48	1419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860911, '1000000078398')
2023-10-13	12:45:48	1419	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:48	1419	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-45' AND `virtuemart_product_id` != 1860911
2023-10-13	12:45:48	1419	[DEBUG]	Query for ProductLang
2023-10-13	12:45:48	1419	[DEBUG]	Executed store
2023-10-13	12:45:48	1419	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rouge (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-45' WHERE `virtuemart_product_id` = '1860911'
2023-10-13	12:45:48	1419	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:48	1419	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:48	1419	[DEBUG]	Process image file
2023-10-13	12:45:48	1419	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:48	1419	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:48	1419	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:48	1419	[DEBUG]	Full name target: bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:49	1419	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:49	1419	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:49	1419	[DEBUG]	Query for Media
2023-10-13	12:45:49	1419	[DEBUG]	Executed store
2023-10-13	12:45:49	1419	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15957'
2023-10-13	12:45:49	1419	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:49	1419	[DEBUG]	Executed store
2023-10-13	12:45:49	1419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860911','15957','1')
2023-10-13	12:45:49	1419	[DEBUG]	Store product image relation
2023-10-13	12:45:49	1419	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:49	1419	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860911 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:49	1419	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:49	1419	[DEBUG]	Executed store
2023-10-13	12:45:49	1419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860911','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:49	1419	[DEBUG]	Checking manufacturer
2023-10-13	12:45:49	1419	[DEBUG]	Load a row
2023-10-13	12:45:49	1419	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:49	1419	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:49	1419	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:49	1419	[DEBUG]	Executed store
2023-10-13	12:45:49	1419	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:49	1419	[DEBUG]	Manufacturer exists
2023-10-13	12:45:49	1419	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:49	1419	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:49	1419	[DEBUG]	Executed store
2023-10-13	12:45:49	1419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860911','32')
2023-10-13	12:45:49	1419	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:49	1419	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:49	1419	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860911 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:49	1419	[DEBUG]	Store custom available field
2023-10-13	12:45:49	1419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860911,3,'',1)
2023-10-13	12:45:49	1419	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:49	1419	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:45:49	1419	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860911 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:49	1419	[DEBUG]	Store custom available field
2023-10-13	12:45:49	1419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860911,6,'45',3)
2023-10-13	12:45:49	1419	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:49	1419	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:49	1419	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860903
2023-10-13	12:45:49	1419	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:49	1419	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1860903\":[1860903,8,1,\"choisir la taille\"],\"1860904\":[\"38\"],\"1860905\":[\"39\"],\"1860906\":[\"40\"],\"1860907\":[\"41\"],\"1860908\":[\"42\"],\"1860909\":[\"43\"],\"1860910\":[\"44\"],\"1860911\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1860903
2023-10-13	12:45:49	1419	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:49	1419	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860911
2023-10-13	12:45:49	1420	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:49	1420	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:49	1420	[DEBUG]	Use field value for field taille
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:49	1420	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:49	1420	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:49	1420	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:49	1420	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:49	1420	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:49	1420	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:49	1420	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:49	1420	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:49	1420	[DEBUG]	Use field value for field published
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:49	1420	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field override
2023-10-13	12:45:49	1420	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:49	1420	[DEBUG]	Use field value for field slug
2023-10-13	12:45:49	1420	[DEBUG]	Process line 1420
2023-10-13	12:45:49	1420	[DEBUG]	Load a row
2023-10-13	12:45:49	1420	[DEBUG]	Processing item: 1000000078404
2023-10-13	12:45:49	1420	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:49	1420	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:49	1420	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_7'
2023-10-13	12:45:49	1420	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:49	1420	[DEBUG]	Processing product tax
2023-10-13	12:45:49	1420	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:49	1420	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:49	1420	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:49	1420	[DEBUG]	Query for Product
2023-10-13	12:45:49	1420	[DEBUG]	Executed store
2023-10-13	12:45:49	1420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860903','1000000078404','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:49	1420	[DEBUG]	No parent found
2023-10-13	12:45:49	1420	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860903 AND customfield_value = 'stockable'
2023-10-13	12:45:49	1420	[DEBUG]	Check product language entry
2023-10-13	12:45:49	1420	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860912
2023-10-13	12:45:49	1420	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:49	1420	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078404' AND `virtuemart_product_id` != 1860912
2023-10-13	12:45:49	1420	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:49	1420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860912, '1000000078404')
2023-10-13	12:45:49	1420	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:49	1420	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-46' AND `virtuemart_product_id` != 1860912
2023-10-13	12:45:49	1420	[DEBUG]	Query for ProductLang
2023-10-13	12:45:49	1420	[DEBUG]	Executed store
2023-10-13	12:45:49	1420	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rouge (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-46' WHERE `virtuemart_product_id` = '1860912'
2023-10-13	12:45:49	1420	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:49	1420	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:49	1420	[DEBUG]	Process image file
2023-10-13	12:45:49	1420	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:49	1420	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:49	1420	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:49	1420	[DEBUG]	Full name target: bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:50	1420	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:50	1420	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:50	1420	[DEBUG]	Query for Media
2023-10-13	12:45:50	1420	[DEBUG]	Executed store
2023-10-13	12:45:50	1420	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15957'
2023-10-13	12:45:50	1420	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:50	1420	[DEBUG]	Executed store
2023-10-13	12:45:50	1420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860912','15957','1')
2023-10-13	12:45:50	1420	[DEBUG]	Store product image relation
2023-10-13	12:45:50	1420	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:50	1420	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860912 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:50	1420	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:50	1420	[DEBUG]	Executed store
2023-10-13	12:45:50	1420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860912','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:50	1420	[DEBUG]	Checking manufacturer
2023-10-13	12:45:50	1420	[DEBUG]	Load a row
2023-10-13	12:45:50	1420	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:50	1420	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:50	1420	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:50	1420	[DEBUG]	Executed store
2023-10-13	12:45:50	1420	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:50	1420	[DEBUG]	Manufacturer exists
2023-10-13	12:45:50	1420	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:50	1420	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:50	1420	[DEBUG]	Executed store
2023-10-13	12:45:50	1420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860912','32')
2023-10-13	12:45:50	1420	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:50	1420	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:50	1420	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860912 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:50	1420	[DEBUG]	Store custom available field
2023-10-13	12:45:50	1420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860912,3,'',1)
2023-10-13	12:45:50	1420	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:50	1420	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:45:50	1420	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860912 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:50	1420	[DEBUG]	Store custom available field
2023-10-13	12:45:50	1420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860912,6,'46',3)
2023-10-13	12:45:50	1420	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:50	1420	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:50	1420	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860903
2023-10-13	12:45:50	1420	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:50	1420	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1860903\":[1860903,8,1,\"choisir la taille\"],\"1860904\":[\"38\"],\"1860905\":[\"39\"],\"1860906\":[\"40\"],\"1860907\":[\"41\"],\"1860908\":[\"42\"],\"1860909\":[\"43\"],\"1860910\":[\"44\"],\"1860911\":[\"45\"],\"1860912\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1860903
2023-10-13	12:45:50	1420	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:50	1420	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860912
2023-10-13	12:45:50	1421	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:50	1421	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:50	1421	[DEBUG]	Use field value for field taille
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:50	1421	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:50	1421	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:50	1421	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:50	1421	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:50	1421	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:50	1421	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:50	1421	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:50	1421	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:50	1421	[DEBUG]	Use field value for field published
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:50	1421	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field override
2023-10-13	12:45:50	1421	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:50	1421	[DEBUG]	Use field value for field slug
2023-10-13	12:45:50	1421	[DEBUG]	Process line 1421
2023-10-13	12:45:50	1421	[DEBUG]	Load a row
2023-10-13	12:45:50	1421	[DEBUG]	Processing item: 1000000078411
2023-10-13	12:45:50	1421	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:50	1421	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:50	1421	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_7'
2023-10-13	12:45:50	1421	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:50	1421	[DEBUG]	Processing product tax
2023-10-13	12:45:50	1421	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:50	1421	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:50	1421	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:50	1421	[DEBUG]	Query for Product
2023-10-13	12:45:50	1421	[DEBUG]	Executed store
2023-10-13	12:45:50	1421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860903','1000000078411','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:50	1421	[DEBUG]	No parent found
2023-10-13	12:45:50	1421	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860903 AND customfield_value = 'stockable'
2023-10-13	12:45:50	1421	[DEBUG]	Check product language entry
2023-10-13	12:45:50	1421	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860913
2023-10-13	12:45:50	1421	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:50	1421	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078411' AND `virtuemart_product_id` != 1860913
2023-10-13	12:45:50	1421	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:50	1421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860913, '1000000078411')
2023-10-13	12:45:50	1421	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:50	1421	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-47' AND `virtuemart_product_id` != 1860913
2023-10-13	12:45:50	1421	[DEBUG]	Query for ProductLang
2023-10-13	12:45:50	1421	[DEBUG]	Executed store
2023-10-13	12:45:50	1421	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rouge (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rouge-47' WHERE `virtuemart_product_id` = '1860913'
2023-10-13	12:45:50	1421	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:50	1421	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:50	1421	[DEBUG]	Process image file
2023-10-13	12:45:50	1421	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:50	1421	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:50	1421	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:50	1421	[DEBUG]	Full name target: bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:51	1421	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:51	1421	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:51	1421	[DEBUG]	Query for Media
2023-10-13	12:45:51	1421	[DEBUG]	Executed store
2023-10-13	12:45:51	1421	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29617_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15957'
2023-10-13	12:45:51	1421	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:51	1421	[DEBUG]	Executed store
2023-10-13	12:45:51	1421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860913','15957','1')
2023-10-13	12:45:51	1421	[DEBUG]	Store product image relation
2023-10-13	12:45:51	1421	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:51	1421	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860913 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:51	1421	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:51	1421	[DEBUG]	Executed store
2023-10-13	12:45:51	1421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860913','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:51	1421	[DEBUG]	Checking manufacturer
2023-10-13	12:45:51	1421	[DEBUG]	Load a row
2023-10-13	12:45:51	1421	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:51	1421	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:51	1421	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:51	1421	[DEBUG]	Executed store
2023-10-13	12:45:51	1421	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:51	1421	[DEBUG]	Manufacturer exists
2023-10-13	12:45:51	1421	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:51	1421	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:51	1421	[DEBUG]	Executed store
2023-10-13	12:45:51	1421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860913','32')
2023-10-13	12:45:51	1421	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:51	1421	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:51	1421	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860913 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:51	1421	[DEBUG]	Store custom available field
2023-10-13	12:45:51	1421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860913,3,'',1)
2023-10-13	12:45:51	1421	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:51	1421	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:45:51	1421	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860913 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:51	1421	[DEBUG]	Store custom available field
2023-10-13	12:45:51	1421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860913,6,'47',3)
2023-10-13	12:45:51	1421	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:51	1421	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:51	1421	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860903
2023-10-13	12:45:51	1421	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:51	1421	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1860903\":[1860903,8,1,\"choisir la taille\"],\"1860904\":[\"38\"],\"1860905\":[\"39\"],\"1860906\":[\"40\"],\"1860907\":[\"41\"],\"1860908\":[\"42\"],\"1860909\":[\"43\"],\"1860910\":[\"44\"],\"1860911\":[\"45\"],\"1860912\":[\"46\"],\"1860913\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1860903
2023-10-13	12:45:51	1421	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:51	1421	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860913
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:51	1422	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field taille
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field category_path
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:51	1422	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:45:51	1422	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:51	1422	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field product_weight
2023-10-13	12:45:51	1422	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:51	1422	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:51	1422	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field published
2023-10-13	12:45:51	1422	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:51	1422	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field custom_title
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field custom_param
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field override
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field public_price
2023-10-13	12:45:51	1422	[DEBUG]	Use field value for field slug
2023-10-13	12:45:51	1422	[DEBUG]	Process line 1422
2023-10-13	12:45:51	1422	[DEBUG]	Load a row
2023-10-13	12:45:51	1422	[DEBUG]	Processing item: A_5153_12
2023-10-13	12:45:51	1422	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:51	1422	[DEBUG]	Processing product tax
2023-10-13	12:45:51	1422	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:51	1422	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:51	1422	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:51	1422	[DEBUG]	Query for Product
2023-10-13	12:45:51	1422	[DEBUG]	Executed store
2023-10-13	12:45:51	1422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5153_12','0.51','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:51	1422	[DEBUG]	Check product language entry
2023-10-13	12:45:51	1422	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860914
2023-10-13	12:45:51	1422	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:51	1422	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5153_12' AND `virtuemart_product_id` != 1860914
2023-10-13	12:45:51	1422	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:51	1422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860914, 'A_5153_12')
2023-10-13	12:45:51	1422	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:51	1422	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc' AND `virtuemart_product_id` != 1860914
2023-10-13	12:45:51	1422	[DEBUG]	Query for ProductLang
2023-10-13	12:45:51	1422	[DEBUG]	Executed store
2023-10-13	12:45:51	1422	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro Road avec système de ventilation breveté ! 510 gr.<br>N° art fourn : ZAEROROAD',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc' WHERE `virtuemart_product_id` = '1860914'
2023-10-13	12:45:51	1422	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:51	1422	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:51	1422	[DEBUG]	Process image file
2023-10-13	12:45:51	1422	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:51	1422	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:51	1422	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:51	1422	[DEBUG]	Full name target: bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:52	1422	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:52	1422	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:52	1422	[DEBUG]	Query for Media
2023-10-13	12:45:52	1422	[DEBUG]	Executed store
2023-10-13	12:45:52	1422	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15958'
2023-10-13	12:45:52	1422	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:52	1422	[DEBUG]	Executed store
2023-10-13	12:45:52	1422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860914','15958','1')
2023-10-13	12:45:52	1422	[DEBUG]	Store product image relation
2023-10-13	12:45:52	1422	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:52	1422	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860914 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:52	1422	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:52	1422	[DEBUG]	Executed store
2023-10-13	12:45:52	1422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860914','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:52	1422	[DEBUG]	Checking manufacturer
2023-10-13	12:45:52	1422	[DEBUG]	Load a row
2023-10-13	12:45:52	1422	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:52	1422	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:52	1422	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:52	1422	[DEBUG]	Executed store
2023-10-13	12:45:52	1422	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:52	1422	[DEBUG]	Manufacturer exists
2023-10-13	12:45:52	1422	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:52	1422	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:52	1422	[DEBUG]	Executed store
2023-10-13	12:45:52	1422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860914','32')
2023-10-13	12:45:52	1422	[DEBUG]	Find the custom field ID
2023-10-13	12:45:52	1422	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:45:52	1422	[DEBUG]	No custom field ID found
2023-10-13	12:45:52	1422	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:52	1422	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:45:52	1422	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860914 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:52	1422	[DEBUG]	Store custom available field
2023-10-13	12:45:52	1422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860914,3,'179.400277777778',1)
2023-10-13	12:45:52	1422	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:52	1422	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:45:52	1422	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860914 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:52	1422	[DEBUG]	Store custom available field
2023-10-13	12:45:52	1422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860914,6,'choisir la taille',3)
2023-10-13	12:45:52	1422	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:52	1422	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:45:52	1422	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:45:52	1422	[DEBUG]	Find the multi variant product entry
2023-10-13	12:45:52	1422	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860914 AND `virtuemart_custom_id` = 8
2023-10-13	12:45:52	1422	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:45:52	1422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860914,8,1)
2023-10-13	12:45:52	1422	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:52	1422	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860914\":[1860914,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860914
2023-10-13	12:45:52	1422	[DEBUG]	Checking category
2023-10-13	12:45:52	1422	[DEBUG]	Get the existing categories for the product
2023-10-13	12:45:52	1422	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860914
2023-10-13	12:45:52	1422	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:45:52	1422	[DEBUG]	Executed store
2023-10-13	12:45:52	1422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860914','7331')
2023-10-13	12:45:52	1422	[DEBUG]	Delete leftover product categories
2023-10-13	12:45:52	1422	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860914 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:45:52	1422	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:52	1422	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860914
2023-10-13	12:45:52	1423	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:52	1423	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:52	1423	[DEBUG]	Use field value for field taille
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:52	1423	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:52	1423	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:52	1423	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:52	1423	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:52	1423	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:52	1423	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:52	1423	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:52	1423	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:52	1423	[DEBUG]	Use field value for field published
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:52	1423	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field override
2023-10-13	12:45:52	1423	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:52	1423	[DEBUG]	Use field value for field slug
2023-10-13	12:45:52	1423	[DEBUG]	Process line 1423
2023-10-13	12:45:52	1423	[DEBUG]	Load a row
2023-10-13	12:45:52	1423	[DEBUG]	Processing item: 1000000077858
2023-10-13	12:45:52	1423	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:52	1423	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:52	1423	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_12'
2023-10-13	12:45:52	1423	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:52	1423	[DEBUG]	Processing product tax
2023-10-13	12:45:52	1423	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:52	1423	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:52	1423	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:52	1423	[DEBUG]	Query for Product
2023-10-13	12:45:52	1423	[DEBUG]	Executed store
2023-10-13	12:45:52	1423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860914','1000000077858','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:52	1423	[DEBUG]	No parent found
2023-10-13	12:45:52	1423	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860914 AND customfield_value = 'stockable'
2023-10-13	12:45:52	1423	[DEBUG]	Check product language entry
2023-10-13	12:45:52	1423	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860915
2023-10-13	12:45:52	1423	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:52	1423	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077858' AND `virtuemart_product_id` != 1860915
2023-10-13	12:45:52	1423	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:52	1423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860915, '1000000077858')
2023-10-13	12:45:52	1423	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:52	1423	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-39' AND `virtuemart_product_id` != 1860915
2023-10-13	12:45:52	1423	[DEBUG]	Query for ProductLang
2023-10-13	12:45:52	1423	[DEBUG]	Executed store
2023-10-13	12:45:52	1423	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Blanc (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-39' WHERE `virtuemart_product_id` = '1860915'
2023-10-13	12:45:52	1423	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:52	1423	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:52	1423	[DEBUG]	Process image file
2023-10-13	12:45:52	1423	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:52	1423	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:52	1423	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:52	1423	[DEBUG]	Full name target: bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:53	1423	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:53	1423	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:53	1423	[DEBUG]	Query for Media
2023-10-13	12:45:53	1423	[DEBUG]	Executed store
2023-10-13	12:45:53	1423	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15958'
2023-10-13	12:45:53	1423	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:53	1423	[DEBUG]	Executed store
2023-10-13	12:45:53	1423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860915','15958','1')
2023-10-13	12:45:53	1423	[DEBUG]	Store product image relation
2023-10-13	12:45:53	1423	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:53	1423	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860915 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:53	1423	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:53	1423	[DEBUG]	Executed store
2023-10-13	12:45:53	1423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860915','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:53	1423	[DEBUG]	Checking manufacturer
2023-10-13	12:45:53	1423	[DEBUG]	Load a row
2023-10-13	12:45:53	1423	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:53	1423	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:53	1423	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:53	1423	[DEBUG]	Executed store
2023-10-13	12:45:53	1423	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:53	1423	[DEBUG]	Manufacturer exists
2023-10-13	12:45:53	1423	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:53	1423	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:53	1423	[DEBUG]	Executed store
2023-10-13	12:45:53	1423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860915','32')
2023-10-13	12:45:53	1423	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:53	1423	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:53	1423	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860915 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:53	1423	[DEBUG]	Store custom available field
2023-10-13	12:45:53	1423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860915,3,'',1)
2023-10-13	12:45:53	1423	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:53	1423	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:45:53	1423	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860915 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:53	1423	[DEBUG]	Store custom available field
2023-10-13	12:45:53	1423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860915,6,'39',3)
2023-10-13	12:45:53	1423	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:53	1423	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:53	1423	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860914
2023-10-13	12:45:53	1423	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:53	1423	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\"}]|clabels=0|options={\"1860914\":[1860914,8,1,\"choisir la taille\"],\"1860915\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1860914
2023-10-13	12:45:53	1423	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:53	1423	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860915
2023-10-13	12:45:53	1424	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:53	1424	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:53	1424	[DEBUG]	Use field value for field taille
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:53	1424	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:53	1424	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:53	1424	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:53	1424	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:53	1424	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:53	1424	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:53	1424	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:53	1424	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:53	1424	[DEBUG]	Use field value for field published
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:53	1424	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field override
2023-10-13	12:45:53	1424	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:53	1424	[DEBUG]	Use field value for field slug
2023-10-13	12:45:53	1424	[DEBUG]	Process line 1424
2023-10-13	12:45:53	1424	[DEBUG]	Load a row
2023-10-13	12:45:53	1424	[DEBUG]	Processing item: 1000000077865
2023-10-13	12:45:53	1424	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:53	1424	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:53	1424	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_12'
2023-10-13	12:45:53	1424	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:53	1424	[DEBUG]	Processing product tax
2023-10-13	12:45:53	1424	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:53	1424	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:53	1424	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:53	1424	[DEBUG]	Query for Product
2023-10-13	12:45:53	1424	[DEBUG]	Executed store
2023-10-13	12:45:53	1424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860914','1000000077865','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:53	1424	[DEBUG]	No parent found
2023-10-13	12:45:53	1424	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860914 AND customfield_value = 'stockable'
2023-10-13	12:45:53	1424	[DEBUG]	Check product language entry
2023-10-13	12:45:53	1424	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860916
2023-10-13	12:45:53	1424	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:53	1424	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077865' AND `virtuemart_product_id` != 1860916
2023-10-13	12:45:53	1424	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:53	1424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860916, '1000000077865')
2023-10-13	12:45:53	1424	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:53	1424	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-40' AND `virtuemart_product_id` != 1860916
2023-10-13	12:45:53	1424	[DEBUG]	Query for ProductLang
2023-10-13	12:45:53	1424	[DEBUG]	Executed store
2023-10-13	12:45:53	1424	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Blanc (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-40' WHERE `virtuemart_product_id` = '1860916'
2023-10-13	12:45:53	1424	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:53	1424	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:53	1424	[DEBUG]	Process image file
2023-10-13	12:45:53	1424	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:53	1424	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:53	1424	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:53	1424	[DEBUG]	Full name target: bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:54	1424	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:54	1424	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:54	1424	[DEBUG]	Query for Media
2023-10-13	12:45:54	1424	[DEBUG]	Executed store
2023-10-13	12:45:54	1424	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15958'
2023-10-13	12:45:54	1424	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:54	1424	[DEBUG]	Executed store
2023-10-13	12:45:54	1424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860916','15958','1')
2023-10-13	12:45:54	1424	[DEBUG]	Store product image relation
2023-10-13	12:45:54	1424	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:54	1424	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860916 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:54	1424	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:54	1424	[DEBUG]	Executed store
2023-10-13	12:45:54	1424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860916','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:54	1424	[DEBUG]	Checking manufacturer
2023-10-13	12:45:54	1424	[DEBUG]	Load a row
2023-10-13	12:45:54	1424	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:54	1424	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:54	1424	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:54	1424	[DEBUG]	Executed store
2023-10-13	12:45:54	1424	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:54	1424	[DEBUG]	Manufacturer exists
2023-10-13	12:45:54	1424	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:54	1424	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:54	1424	[DEBUG]	Executed store
2023-10-13	12:45:54	1424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860916','32')
2023-10-13	12:45:54	1424	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:54	1424	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:54	1424	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860916 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:54	1424	[DEBUG]	Store custom available field
2023-10-13	12:45:54	1424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860916,3,'',1)
2023-10-13	12:45:54	1424	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:54	1424	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:45:54	1424	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860916 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:54	1424	[DEBUG]	Store custom available field
2023-10-13	12:45:54	1424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860916,6,'40',3)
2023-10-13	12:45:54	1424	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:54	1424	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:54	1424	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860914
2023-10-13	12:45:54	1424	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:54	1424	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1860914\":[1860914,8,1,\"choisir la taille\"],\"1860915\":[\"39\"],\"1860916\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1860914
2023-10-13	12:45:54	1424	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:54	1424	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860916
2023-10-13	12:45:54	1425	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:54	1425	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:54	1425	[DEBUG]	Use field value for field taille
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:54	1425	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:54	1425	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:54	1425	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:54	1425	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:54	1425	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:54	1425	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:54	1425	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:54	1425	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:54	1425	[DEBUG]	Use field value for field published
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:54	1425	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field override
2023-10-13	12:45:54	1425	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:54	1425	[DEBUG]	Use field value for field slug
2023-10-13	12:45:54	1425	[DEBUG]	Process line 1425
2023-10-13	12:45:54	1425	[DEBUG]	Load a row
2023-10-13	12:45:54	1425	[DEBUG]	Processing item: 1000000077872
2023-10-13	12:45:54	1425	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:54	1425	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:54	1425	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_12'
2023-10-13	12:45:54	1425	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:54	1425	[DEBUG]	Processing product tax
2023-10-13	12:45:54	1425	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:54	1425	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:54	1425	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:54	1425	[DEBUG]	Query for Product
2023-10-13	12:45:54	1425	[DEBUG]	Executed store
2023-10-13	12:45:54	1425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860914','1000000077872','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:54	1425	[DEBUG]	No parent found
2023-10-13	12:45:54	1425	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860914 AND customfield_value = 'stockable'
2023-10-13	12:45:54	1425	[DEBUG]	Check product language entry
2023-10-13	12:45:54	1425	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860917
2023-10-13	12:45:54	1425	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:54	1425	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077872' AND `virtuemart_product_id` != 1860917
2023-10-13	12:45:54	1425	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:54	1425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860917, '1000000077872')
2023-10-13	12:45:54	1425	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:54	1425	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-41' AND `virtuemart_product_id` != 1860917
2023-10-13	12:45:54	1425	[DEBUG]	Query for ProductLang
2023-10-13	12:45:54	1425	[DEBUG]	Executed store
2023-10-13	12:45:54	1425	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Blanc (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-41' WHERE `virtuemart_product_id` = '1860917'
2023-10-13	12:45:54	1425	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:54	1425	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:54	1425	[DEBUG]	Process image file
2023-10-13	12:45:54	1425	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:54	1425	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:54	1425	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:54	1425	[DEBUG]	Full name target: bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:55	1425	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:55	1425	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:55	1425	[DEBUG]	Query for Media
2023-10-13	12:45:55	1425	[DEBUG]	Executed store
2023-10-13	12:45:55	1425	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15958'
2023-10-13	12:45:55	1425	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:55	1425	[DEBUG]	Executed store
2023-10-13	12:45:55	1425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860917','15958','1')
2023-10-13	12:45:55	1425	[DEBUG]	Store product image relation
2023-10-13	12:45:55	1425	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:55	1425	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860917 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:55	1425	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:55	1425	[DEBUG]	Executed store
2023-10-13	12:45:55	1425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860917','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:55	1425	[DEBUG]	Checking manufacturer
2023-10-13	12:45:55	1425	[DEBUG]	Load a row
2023-10-13	12:45:55	1425	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:55	1425	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:55	1425	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:55	1425	[DEBUG]	Executed store
2023-10-13	12:45:55	1425	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:55	1425	[DEBUG]	Manufacturer exists
2023-10-13	12:45:55	1425	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:55	1425	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:55	1425	[DEBUG]	Executed store
2023-10-13	12:45:55	1425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860917','32')
2023-10-13	12:45:55	1425	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:55	1425	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:55	1425	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860917 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:55	1425	[DEBUG]	Store custom available field
2023-10-13	12:45:55	1425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860917,3,'',1)
2023-10-13	12:45:55	1425	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:55	1425	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:45:55	1425	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860917 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:55	1425	[DEBUG]	Store custom available field
2023-10-13	12:45:55	1425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860917,6,'41',3)
2023-10-13	12:45:55	1425	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:55	1425	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:55	1425	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860914
2023-10-13	12:45:55	1425	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:55	1425	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1860914\":[1860914,8,1,\"choisir la taille\"],\"1860915\":[\"39\"],\"1860916\":[\"40\"],\"1860917\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1860914
2023-10-13	12:45:55	1425	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:55	1425	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860917
2023-10-13	12:45:55	1426	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:55	1426	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:55	1426	[DEBUG]	Use field value for field taille
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:55	1426	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:55	1426	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:55	1426	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:55	1426	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:55	1426	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:55	1426	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:55	1426	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:55	1426	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:55	1426	[DEBUG]	Use field value for field published
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:55	1426	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field override
2023-10-13	12:45:55	1426	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:55	1426	[DEBUG]	Use field value for field slug
2023-10-13	12:45:55	1426	[DEBUG]	Process line 1426
2023-10-13	12:45:55	1426	[DEBUG]	Load a row
2023-10-13	12:45:55	1426	[DEBUG]	Processing item: 1000000077889
2023-10-13	12:45:55	1426	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:55	1426	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:55	1426	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_12'
2023-10-13	12:45:55	1426	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:55	1426	[DEBUG]	Processing product tax
2023-10-13	12:45:55	1426	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:55	1426	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:55	1426	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:55	1426	[DEBUG]	Query for Product
2023-10-13	12:45:55	1426	[DEBUG]	Executed store
2023-10-13	12:45:55	1426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860914','1000000077889','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:55	1426	[DEBUG]	No parent found
2023-10-13	12:45:55	1426	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860914 AND customfield_value = 'stockable'
2023-10-13	12:45:55	1426	[DEBUG]	Check product language entry
2023-10-13	12:45:55	1426	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860918
2023-10-13	12:45:55	1426	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:55	1426	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077889' AND `virtuemart_product_id` != 1860918
2023-10-13	12:45:55	1426	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:55	1426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860918, '1000000077889')
2023-10-13	12:45:55	1426	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:55	1426	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-42' AND `virtuemart_product_id` != 1860918
2023-10-13	12:45:55	1426	[DEBUG]	Query for ProductLang
2023-10-13	12:45:55	1426	[DEBUG]	Executed store
2023-10-13	12:45:55	1426	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Blanc (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-42' WHERE `virtuemart_product_id` = '1860918'
2023-10-13	12:45:55	1426	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:55	1426	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:55	1426	[DEBUG]	Process image file
2023-10-13	12:45:55	1426	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:55	1426	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:55	1426	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:55	1426	[DEBUG]	Full name target: bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:56	1426	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:56	1426	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:56	1426	[DEBUG]	Query for Media
2023-10-13	12:45:56	1426	[DEBUG]	Executed store
2023-10-13	12:45:56	1426	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15958'
2023-10-13	12:45:56	1426	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:56	1426	[DEBUG]	Executed store
2023-10-13	12:45:56	1426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860918','15958','1')
2023-10-13	12:45:56	1426	[DEBUG]	Store product image relation
2023-10-13	12:45:56	1426	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:56	1426	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860918 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:56	1426	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:56	1426	[DEBUG]	Executed store
2023-10-13	12:45:56	1426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860918','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:56	1426	[DEBUG]	Checking manufacturer
2023-10-13	12:45:56	1426	[DEBUG]	Load a row
2023-10-13	12:45:56	1426	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:56	1426	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:56	1426	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:56	1426	[DEBUG]	Executed store
2023-10-13	12:45:56	1426	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:56	1426	[DEBUG]	Manufacturer exists
2023-10-13	12:45:56	1426	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:56	1426	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:56	1426	[DEBUG]	Executed store
2023-10-13	12:45:56	1426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860918','32')
2023-10-13	12:45:56	1426	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:56	1426	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:56	1426	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860918 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:56	1426	[DEBUG]	Store custom available field
2023-10-13	12:45:56	1426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860918,3,'',1)
2023-10-13	12:45:56	1426	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:56	1426	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:45:56	1426	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860918 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:56	1426	[DEBUG]	Store custom available field
2023-10-13	12:45:56	1426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860918,6,'42',3)
2023-10-13	12:45:56	1426	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:56	1426	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:56	1426	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860914
2023-10-13	12:45:56	1426	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:56	1426	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1860914\":[1860914,8,1,\"choisir la taille\"],\"1860915\":[\"39\"],\"1860916\":[\"40\"],\"1860917\":[\"41\"],\"1860918\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1860914
2023-10-13	12:45:56	1426	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:56	1426	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860918
2023-10-13	12:45:56	1427	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:56	1427	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:56	1427	[DEBUG]	Use field value for field taille
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:56	1427	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:56	1427	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:56	1427	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:56	1427	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:56	1427	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:56	1427	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:56	1427	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:56	1427	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:56	1427	[DEBUG]	Use field value for field published
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:56	1427	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field override
2023-10-13	12:45:56	1427	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:56	1427	[DEBUG]	Use field value for field slug
2023-10-13	12:45:56	1427	[DEBUG]	Process line 1427
2023-10-13	12:45:56	1427	[DEBUG]	Load a row
2023-10-13	12:45:56	1427	[DEBUG]	Processing item: 1000000077896
2023-10-13	12:45:56	1427	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:56	1427	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:56	1427	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_12'
2023-10-13	12:45:56	1427	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:56	1427	[DEBUG]	Processing product tax
2023-10-13	12:45:56	1427	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:56	1427	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:56	1427	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:56	1427	[DEBUG]	Query for Product
2023-10-13	12:45:56	1427	[DEBUG]	Executed store
2023-10-13	12:45:56	1427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860914','1000000077896','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:56	1427	[DEBUG]	No parent found
2023-10-13	12:45:56	1427	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860914 AND customfield_value = 'stockable'
2023-10-13	12:45:56	1427	[DEBUG]	Check product language entry
2023-10-13	12:45:56	1427	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860919
2023-10-13	12:45:56	1427	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:56	1427	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077896' AND `virtuemart_product_id` != 1860919
2023-10-13	12:45:56	1427	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:56	1427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860919, '1000000077896')
2023-10-13	12:45:56	1427	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:56	1427	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-43' AND `virtuemart_product_id` != 1860919
2023-10-13	12:45:56	1427	[DEBUG]	Query for ProductLang
2023-10-13	12:45:56	1427	[DEBUG]	Executed store
2023-10-13	12:45:56	1427	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Blanc (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-43' WHERE `virtuemart_product_id` = '1860919'
2023-10-13	12:45:56	1427	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:56	1427	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:56	1427	[DEBUG]	Process image file
2023-10-13	12:45:56	1427	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:56	1427	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:56	1427	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:56	1427	[DEBUG]	Full name target: bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:57	1427	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:57	1427	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:57	1427	[DEBUG]	Query for Media
2023-10-13	12:45:57	1427	[DEBUG]	Executed store
2023-10-13	12:45:57	1427	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15958'
2023-10-13	12:45:57	1427	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:57	1427	[DEBUG]	Executed store
2023-10-13	12:45:57	1427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860919','15958','1')
2023-10-13	12:45:57	1427	[DEBUG]	Store product image relation
2023-10-13	12:45:57	1427	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:57	1427	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860919 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:57	1427	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:57	1427	[DEBUG]	Executed store
2023-10-13	12:45:57	1427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860919','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:57	1427	[DEBUG]	Checking manufacturer
2023-10-13	12:45:57	1427	[DEBUG]	Load a row
2023-10-13	12:45:57	1427	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:57	1427	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:57	1427	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:57	1427	[DEBUG]	Executed store
2023-10-13	12:45:57	1427	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:57	1427	[DEBUG]	Manufacturer exists
2023-10-13	12:45:57	1427	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:57	1427	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:57	1427	[DEBUG]	Executed store
2023-10-13	12:45:57	1427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860919','32')
2023-10-13	12:45:57	1427	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:57	1427	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:57	1427	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860919 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:57	1427	[DEBUG]	Store custom available field
2023-10-13	12:45:57	1427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860919,3,'',1)
2023-10-13	12:45:57	1427	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:57	1427	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:45:57	1427	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860919 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:57	1427	[DEBUG]	Store custom available field
2023-10-13	12:45:57	1427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860919,6,'43',3)
2023-10-13	12:45:57	1427	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:57	1427	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:57	1427	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860914
2023-10-13	12:45:57	1427	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:57	1427	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1860914\":[1860914,8,1,\"choisir la taille\"],\"1860915\":[\"39\"],\"1860916\":[\"40\"],\"1860917\":[\"41\"],\"1860918\":[\"42\"],\"1860919\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1860914
2023-10-13	12:45:57	1427	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:57	1427	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860919
2023-10-13	12:45:57	1428	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:57	1428	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:57	1428	[DEBUG]	Use field value for field taille
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:57	1428	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:57	1428	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:57	1428	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:57	1428	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:57	1428	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:57	1428	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:57	1428	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:57	1428	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:57	1428	[DEBUG]	Use field value for field published
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:57	1428	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field override
2023-10-13	12:45:57	1428	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:57	1428	[DEBUG]	Use field value for field slug
2023-10-13	12:45:57	1428	[DEBUG]	Process line 1428
2023-10-13	12:45:57	1428	[DEBUG]	Load a row
2023-10-13	12:45:57	1428	[DEBUG]	Processing item: 1000000077902
2023-10-13	12:45:57	1428	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:57	1428	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:57	1428	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_12'
2023-10-13	12:45:57	1428	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:57	1428	[DEBUG]	Processing product tax
2023-10-13	12:45:57	1428	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:57	1428	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:57	1428	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:57	1428	[DEBUG]	Query for Product
2023-10-13	12:45:57	1428	[DEBUG]	Executed store
2023-10-13	12:45:57	1428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860914','1000000077902','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:57	1428	[DEBUG]	No parent found
2023-10-13	12:45:57	1428	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860914 AND customfield_value = 'stockable'
2023-10-13	12:45:57	1428	[DEBUG]	Check product language entry
2023-10-13	12:45:57	1428	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860920
2023-10-13	12:45:57	1428	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:57	1428	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077902' AND `virtuemart_product_id` != 1860920
2023-10-13	12:45:57	1428	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:57	1428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860920, '1000000077902')
2023-10-13	12:45:57	1428	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:57	1428	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-44' AND `virtuemart_product_id` != 1860920
2023-10-13	12:45:57	1428	[DEBUG]	Query for ProductLang
2023-10-13	12:45:57	1428	[DEBUG]	Executed store
2023-10-13	12:45:57	1428	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Blanc (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-44' WHERE `virtuemart_product_id` = '1860920'
2023-10-13	12:45:57	1428	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:57	1428	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:57	1428	[DEBUG]	Process image file
2023-10-13	12:45:57	1428	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:57	1428	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:57	1428	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:57	1428	[DEBUG]	Full name target: bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:58	1428	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:58	1428	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:58	1428	[DEBUG]	Query for Media
2023-10-13	12:45:58	1428	[DEBUG]	Executed store
2023-10-13	12:45:58	1428	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15958'
2023-10-13	12:45:58	1428	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:58	1428	[DEBUG]	Executed store
2023-10-13	12:45:58	1428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860920','15958','1')
2023-10-13	12:45:58	1428	[DEBUG]	Store product image relation
2023-10-13	12:45:58	1428	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:58	1428	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860920 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:58	1428	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:58	1428	[DEBUG]	Executed store
2023-10-13	12:45:58	1428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860920','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:58	1428	[DEBUG]	Checking manufacturer
2023-10-13	12:45:58	1428	[DEBUG]	Load a row
2023-10-13	12:45:58	1428	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:58	1428	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:58	1428	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:58	1428	[DEBUG]	Executed store
2023-10-13	12:45:58	1428	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:58	1428	[DEBUG]	Manufacturer exists
2023-10-13	12:45:58	1428	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:58	1428	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:58	1428	[DEBUG]	Executed store
2023-10-13	12:45:58	1428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860920','32')
2023-10-13	12:45:58	1428	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:58	1428	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:58	1428	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860920 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:58	1428	[DEBUG]	Store custom available field
2023-10-13	12:45:58	1428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860920,3,'',1)
2023-10-13	12:45:58	1428	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:58	1428	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:45:58	1428	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860920 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:58	1428	[DEBUG]	Store custom available field
2023-10-13	12:45:58	1428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860920,6,'44',3)
2023-10-13	12:45:58	1428	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:58	1428	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:58	1428	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860914
2023-10-13	12:45:58	1428	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:58	1428	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1860914\":[1860914,8,1,\"choisir la taille\"],\"1860915\":[\"39\"],\"1860916\":[\"40\"],\"1860917\":[\"41\"],\"1860918\":[\"42\"],\"1860919\":[\"43\"],\"1860920\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1860914
2023-10-13	12:45:58	1428	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:58	1428	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860920
2023-10-13	12:45:58	1429	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:58	1429	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:58	1429	[DEBUG]	Use field value for field taille
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:58	1429	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:58	1429	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:58	1429	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:58	1429	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:58	1429	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:58	1429	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:58	1429	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:58	1429	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:58	1429	[DEBUG]	Use field value for field published
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:58	1429	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field override
2023-10-13	12:45:58	1429	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:58	1429	[DEBUG]	Use field value for field slug
2023-10-13	12:45:58	1429	[DEBUG]	Process line 1429
2023-10-13	12:45:58	1429	[DEBUG]	Load a row
2023-10-13	12:45:58	1429	[DEBUG]	Processing item: 1000000077919
2023-10-13	12:45:58	1429	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:58	1429	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:58	1429	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_12'
2023-10-13	12:45:58	1429	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:58	1429	[DEBUG]	Processing product tax
2023-10-13	12:45:58	1429	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:58	1429	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:58	1429	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:58	1429	[DEBUG]	Query for Product
2023-10-13	12:45:58	1429	[DEBUG]	Executed store
2023-10-13	12:45:58	1429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860914','1000000077919','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:58	1429	[DEBUG]	No parent found
2023-10-13	12:45:58	1429	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860914 AND customfield_value = 'stockable'
2023-10-13	12:45:58	1429	[DEBUG]	Check product language entry
2023-10-13	12:45:58	1429	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860921
2023-10-13	12:45:58	1429	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:58	1429	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077919' AND `virtuemart_product_id` != 1860921
2023-10-13	12:45:58	1429	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:58	1429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860921, '1000000077919')
2023-10-13	12:45:58	1429	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:58	1429	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-45' AND `virtuemart_product_id` != 1860921
2023-10-13	12:45:58	1429	[DEBUG]	Query for ProductLang
2023-10-13	12:45:58	1429	[DEBUG]	Executed store
2023-10-13	12:45:58	1429	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Blanc (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-45' WHERE `virtuemart_product_id` = '1860921'
2023-10-13	12:45:58	1429	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:58	1429	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:58	1429	[DEBUG]	Process image file
2023-10-13	12:45:58	1429	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:58	1429	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:58	1429	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:58	1429	[DEBUG]	Full name target: bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:59	1429	[DEBUG]	Checking if the file_url exists
2023-10-13	12:45:59	1429	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:45:59	1429	[DEBUG]	Query for Media
2023-10-13	12:45:59	1429	[DEBUG]	Executed store
2023-10-13	12:45:59	1429	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15958'
2023-10-13	12:45:59	1429	[DEBUG]	Query for ProductMedia
2023-10-13	12:45:59	1429	[DEBUG]	Executed store
2023-10-13	12:45:59	1429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860921','15958','1')
2023-10-13	12:45:59	1429	[DEBUG]	Store product image relation
2023-10-13	12:45:59	1429	[DEBUG]	Finding a product_price_id
2023-10-13	12:45:59	1429	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860921 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:45:59	1429	[DEBUG]	Query for ProductPrice
2023-10-13	12:45:59	1429	[DEBUG]	Executed store
2023-10-13	12:45:59	1429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860921','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:45:59	1429	[DEBUG]	Checking manufacturer
2023-10-13	12:45:59	1429	[DEBUG]	Load a row
2023-10-13	12:45:59	1429	[DEBUG]	Manufacturer already exists
2023-10-13	12:45:59	1429	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:59	1429	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:45:59	1429	[DEBUG]	Executed store
2023-10-13	12:45:59	1429	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:45:59	1429	[DEBUG]	Manufacturer exists
2023-10-13	12:45:59	1429	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:45:59	1429	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:45:59	1429	[DEBUG]	Executed store
2023-10-13	12:45:59	1429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860921','32')
2023-10-13	12:45:59	1429	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:45:59	1429	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:45:59	1429	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860921 AND `virtuemart_custom_id` = 3
2023-10-13	12:45:59	1429	[DEBUG]	Store custom available field
2023-10-13	12:45:59	1429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860921,3,'',1)
2023-10-13	12:45:59	1429	[DEBUG]	Processing custom available field: taille
2023-10-13	12:45:59	1429	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:45:59	1429	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860921 AND `virtuemart_custom_id` = 6
2023-10-13	12:45:59	1429	[DEBUG]	Store custom available field
2023-10-13	12:45:59	1429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860921,6,'45',3)
2023-10-13	12:45:59	1429	[DEBUG]	Process multi-variant fields
2023-10-13	12:45:59	1429	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:45:59	1429	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860914
2023-10-13	12:45:59	1429	[DEBUG]	Store the updated customfield_params
2023-10-13	12:45:59	1429	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1860914\":[1860914,8,1,\"choisir la taille\"],\"1860915\":[\"39\"],\"1860916\":[\"40\"],\"1860917\":[\"41\"],\"1860918\":[\"42\"],\"1860919\":[\"43\"],\"1860920\":[\"44\"],\"1860921\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1860914
2023-10-13	12:45:59	1429	[DEBUG]	Update has fields after all processing
2023-10-13	12:45:59	1429	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860921
2023-10-13	12:45:59	1430	[DEBUG]	Use field value for field product_sku
2023-10-13	12:45:59	1430	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:45:59	1430	[DEBUG]	Use field value for field taille
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:45:59	1430	[DEBUG]	Use field value for field product_name
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field category_path
2023-10-13	12:45:59	1430	[DEBUG]	Use field value for field product_price
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:45:59	1430	[DEBUG]	Use field value for field product_tax
2023-10-13	12:45:59	1430	[DEBUG]	Use field value for field file_url
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field product_desc
2023-10-13	12:45:59	1430	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:45:59	1430	[DEBUG]	Use field value for field product_availability
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field product_weight
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field product_unit
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field related_products
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field product_special
2023-10-13	12:45:59	1430	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:45:59	1430	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:45:59	1430	[DEBUG]	Use field value for field published
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field metadesc
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field metakey
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field custom_title
2023-10-13	12:45:59	1430	[DEBUG]	Use field value for field custom_value
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field custom_param
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field override
2023-10-13	12:45:59	1430	[DEBUG]	Use default value for field public_price
2023-10-13	12:45:59	1430	[DEBUG]	Use field value for field slug
2023-10-13	12:45:59	1430	[DEBUG]	Process line 1430
2023-10-13	12:45:59	1430	[DEBUG]	Load a row
2023-10-13	12:45:59	1430	[DEBUG]	Processing item: 1000000077926
2023-10-13	12:45:59	1430	[DEBUG]	Looking for parent SKU
2023-10-13	12:45:59	1430	[DEBUG]	Checking product parent SKU
2023-10-13	12:45:59	1430	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_12'
2023-10-13	12:45:59	1430	[DEBUG]	Product tax: 7.7
2023-10-13	12:45:59	1430	[DEBUG]	Processing product tax
2023-10-13	12:45:59	1430	[DEBUG]	Check if calculation rule exists
2023-10-13	12:45:59	1430	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:45:59	1430	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:45:59	1430	[DEBUG]	Query for Product
2023-10-13	12:45:59	1430	[DEBUG]	Executed store
2023-10-13	12:45:59	1430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860914','1000000077926','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:45:59	1430	[DEBUG]	No parent found
2023-10-13	12:45:59	1430	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860914 AND customfield_value = 'stockable'
2023-10-13	12:45:59	1430	[DEBUG]	Check product language entry
2023-10-13	12:45:59	1430	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860922
2023-10-13	12:45:59	1430	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:59	1430	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077926' AND `virtuemart_product_id` != 1860922
2023-10-13	12:45:59	1430	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:45:59	1430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860922, '1000000077926')
2023-10-13	12:45:59	1430	[DEBUG]	Check if the product slug exists
2023-10-13	12:45:59	1430	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-46' AND `virtuemart_product_id` != 1860922
2023-10-13	12:45:59	1430	[DEBUG]	Query for ProductLang
2023-10-13	12:45:59	1430	[DEBUG]	Executed store
2023-10-13	12:45:59	1430	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Blanc (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-46' WHERE `virtuemart_product_id` = '1860922'
2023-10-13	12:45:59	1430	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:59	1430	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:59	1430	[DEBUG]	Process image file
2023-10-13	12:45:59	1430	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:45:59	1430	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:45:59	1430	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:45:59	1430	[DEBUG]	Full name target: bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:00	1430	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:00	1430	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:00	1430	[DEBUG]	Query for Media
2023-10-13	12:46:00	1430	[DEBUG]	Executed store
2023-10-13	12:46:00	1430	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15958'
2023-10-13	12:46:00	1430	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:00	1430	[DEBUG]	Executed store
2023-10-13	12:46:00	1430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860922','15958','1')
2023-10-13	12:46:00	1430	[DEBUG]	Store product image relation
2023-10-13	12:46:00	1430	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:00	1430	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860922 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:00	1430	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:00	1430	[DEBUG]	Executed store
2023-10-13	12:46:00	1430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860922','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:00	1430	[DEBUG]	Checking manufacturer
2023-10-13	12:46:00	1430	[DEBUG]	Load a row
2023-10-13	12:46:00	1430	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:00	1430	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:00	1430	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:00	1430	[DEBUG]	Executed store
2023-10-13	12:46:00	1430	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:00	1430	[DEBUG]	Manufacturer exists
2023-10-13	12:46:00	1430	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:00	1430	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:00	1430	[DEBUG]	Executed store
2023-10-13	12:46:00	1430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860922','32')
2023-10-13	12:46:00	1430	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:00	1430	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:00	1430	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860922 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:00	1430	[DEBUG]	Store custom available field
2023-10-13	12:46:00	1430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860922,3,'',1)
2023-10-13	12:46:00	1430	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:00	1430	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:46:00	1430	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860922 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:00	1430	[DEBUG]	Store custom available field
2023-10-13	12:46:00	1430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860922,6,'46',3)
2023-10-13	12:46:00	1430	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:00	1430	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:00	1430	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860914
2023-10-13	12:46:00	1430	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:00	1430	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1860914\":[1860914,8,1,\"choisir la taille\"],\"1860915\":[\"39\"],\"1860916\":[\"40\"],\"1860917\":[\"41\"],\"1860918\":[\"42\"],\"1860919\":[\"43\"],\"1860920\":[\"44\"],\"1860921\":[\"45\"],\"1860922\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1860914
2023-10-13	12:46:00	1430	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:00	1430	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860922
2023-10-13	12:46:00	1431	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:00	1431	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:00	1431	[DEBUG]	Use field value for field taille
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:00	1431	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:00	1431	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:00	1431	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:00	1431	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:00	1431	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:00	1431	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:00	1431	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:00	1431	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:00	1431	[DEBUG]	Use field value for field published
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:00	1431	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field override
2023-10-13	12:46:00	1431	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:00	1431	[DEBUG]	Use field value for field slug
2023-10-13	12:46:00	1431	[DEBUG]	Process line 1431
2023-10-13	12:46:00	1431	[DEBUG]	Load a row
2023-10-13	12:46:00	1431	[DEBUG]	Processing item: 1000000077933
2023-10-13	12:46:00	1431	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:00	1431	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:00	1431	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_12'
2023-10-13	12:46:00	1431	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:00	1431	[DEBUG]	Processing product tax
2023-10-13	12:46:00	1431	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:00	1431	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:00	1431	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:00	1431	[DEBUG]	Query for Product
2023-10-13	12:46:00	1431	[DEBUG]	Executed store
2023-10-13	12:46:00	1431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860914','1000000077933','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:00	1431	[DEBUG]	No parent found
2023-10-13	12:46:00	1431	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860914 AND customfield_value = 'stockable'
2023-10-13	12:46:00	1431	[DEBUG]	Check product language entry
2023-10-13	12:46:00	1431	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860923
2023-10-13	12:46:00	1431	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:00	1431	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077933' AND `virtuemart_product_id` != 1860923
2023-10-13	12:46:00	1431	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:00	1431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860923, '1000000077933')
2023-10-13	12:46:00	1431	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:00	1431	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-38' AND `virtuemart_product_id` != 1860923
2023-10-13	12:46:00	1431	[DEBUG]	Query for ProductLang
2023-10-13	12:46:00	1431	[DEBUG]	Executed store
2023-10-13	12:46:00	1431	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Blanc (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-38' WHERE `virtuemart_product_id` = '1860923'
2023-10-13	12:46:00	1431	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:00	1431	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:00	1431	[DEBUG]	Process image file
2023-10-13	12:46:00	1431	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:00	1431	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:00	1431	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:00	1431	[DEBUG]	Full name target: bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:01	1431	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:01	1431	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:01	1431	[DEBUG]	Query for Media
2023-10-13	12:46:01	1431	[DEBUG]	Executed store
2023-10-13	12:46:01	1431	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15958'
2023-10-13	12:46:01	1431	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:01	1431	[DEBUG]	Executed store
2023-10-13	12:46:01	1431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860923','15958','1')
2023-10-13	12:46:01	1431	[DEBUG]	Store product image relation
2023-10-13	12:46:01	1431	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:01	1431	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860923 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:01	1431	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:01	1431	[DEBUG]	Executed store
2023-10-13	12:46:01	1431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860923','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:01	1431	[DEBUG]	Checking manufacturer
2023-10-13	12:46:01	1431	[DEBUG]	Load a row
2023-10-13	12:46:01	1431	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:01	1431	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:01	1431	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:01	1431	[DEBUG]	Executed store
2023-10-13	12:46:01	1431	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:01	1431	[DEBUG]	Manufacturer exists
2023-10-13	12:46:01	1431	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:01	1431	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:01	1431	[DEBUG]	Executed store
2023-10-13	12:46:01	1431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860923','32')
2023-10-13	12:46:01	1431	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:01	1431	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:01	1431	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860923 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:01	1431	[DEBUG]	Store custom available field
2023-10-13	12:46:01	1431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860923,3,'',1)
2023-10-13	12:46:01	1431	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:01	1431	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:46:01	1431	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860923 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:01	1431	[DEBUG]	Store custom available field
2023-10-13	12:46:01	1431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860923,6,'38',3)
2023-10-13	12:46:01	1431	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:01	1431	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:01	1431	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860914
2023-10-13	12:46:01	1431	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:01	1431	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n38\"}]|clabels=0|options={\"1860914\":[1860914,8,1,\"choisir la taille\"],\"1860915\":[\"39\"],\"1860916\":[\"40\"],\"1860917\":[\"41\"],\"1860918\":[\"42\"],\"1860919\":[\"43\"],\"1860920\":[\"44\"],\"1860921\":[\"45\"],\"1860922\":[\"46\"],\"1860923\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1860914
2023-10-13	12:46:01	1431	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:01	1431	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860923
2023-10-13	12:46:01	1432	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:01	1432	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:01	1432	[DEBUG]	Use field value for field taille
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:01	1432	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:01	1432	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:01	1432	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:01	1432	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:01	1432	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:01	1432	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:01	1432	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:01	1432	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:01	1432	[DEBUG]	Use field value for field published
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:01	1432	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field override
2023-10-13	12:46:01	1432	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:01	1432	[DEBUG]	Use field value for field slug
2023-10-13	12:46:01	1432	[DEBUG]	Process line 1432
2023-10-13	12:46:01	1432	[DEBUG]	Load a row
2023-10-13	12:46:01	1432	[DEBUG]	Processing item: 1000000115451
2023-10-13	12:46:01	1432	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:01	1432	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:01	1432	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_12'
2023-10-13	12:46:01	1432	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:01	1432	[DEBUG]	Processing product tax
2023-10-13	12:46:01	1432	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:01	1432	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:01	1432	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:01	1432	[DEBUG]	Query for Product
2023-10-13	12:46:01	1432	[DEBUG]	Executed store
2023-10-13	12:46:01	1432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860914','1000000115451','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:01	1432	[DEBUG]	No parent found
2023-10-13	12:46:01	1432	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860914 AND customfield_value = 'stockable'
2023-10-13	12:46:01	1432	[DEBUG]	Check product language entry
2023-10-13	12:46:01	1432	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860924
2023-10-13	12:46:01	1432	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:01	1432	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000115451' AND `virtuemart_product_id` != 1860924
2023-10-13	12:46:01	1432	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:01	1432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860924, '1000000115451')
2023-10-13	12:46:01	1432	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:01	1432	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-47' AND `virtuemart_product_id` != 1860924
2023-10-13	12:46:01	1432	[DEBUG]	Query for ProductLang
2023-10-13	12:46:01	1432	[DEBUG]	Executed store
2023-10-13	12:46:01	1432	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Blanc (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-blanc-47' WHERE `virtuemart_product_id` = '1860924'
2023-10-13	12:46:01	1432	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:01	1432	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:01	1432	[DEBUG]	Process image file
2023-10-13	12:46:01	1432	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:01	1432	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:01	1432	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:01	1432	[DEBUG]	Full name target: bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:02	1432	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:02	1432	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:02	1432	[DEBUG]	Query for Media
2023-10-13	12:46:02	1432	[DEBUG]	Executed store
2023-10-13	12:46:02	1432	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29613_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15958'
2023-10-13	12:46:02	1432	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:02	1432	[DEBUG]	Executed store
2023-10-13	12:46:02	1432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860924','15958','1')
2023-10-13	12:46:02	1432	[DEBUG]	Store product image relation
2023-10-13	12:46:02	1432	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:02	1432	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860924 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:02	1432	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:02	1432	[DEBUG]	Executed store
2023-10-13	12:46:02	1432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860924','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:02	1432	[DEBUG]	Checking manufacturer
2023-10-13	12:46:02	1432	[DEBUG]	Load a row
2023-10-13	12:46:02	1432	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:02	1432	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:02	1432	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:02	1432	[DEBUG]	Executed store
2023-10-13	12:46:02	1432	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:03	1432	[DEBUG]	Manufacturer exists
2023-10-13	12:46:03	1432	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:03	1432	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:03	1432	[DEBUG]	Executed store
2023-10-13	12:46:03	1432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860924','32')
2023-10-13	12:46:03	1432	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:03	1432	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:03	1432	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860924 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:03	1432	[DEBUG]	Store custom available field
2023-10-13	12:46:03	1432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860924,3,'',1)
2023-10-13	12:46:03	1432	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:03	1432	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:46:03	1432	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860924 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:03	1432	[DEBUG]	Store custom available field
2023-10-13	12:46:03	1432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860924,6,'47',3)
2023-10-13	12:46:03	1432	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:03	1432	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:03	1432	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860914
2023-10-13	12:46:03	1432	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:03	1432	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n38\\r\\n47\"}]|clabels=0|options={\"1860914\":[1860914,8,1,\"choisir la taille\"],\"1860915\":[\"39\"],\"1860916\":[\"40\"],\"1860917\":[\"41\"],\"1860918\":[\"42\"],\"1860919\":[\"43\"],\"1860920\":[\"44\"],\"1860921\":[\"45\"],\"1860922\":[\"46\"],\"1860923\":[\"38\"],\"1860924\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1860914
2023-10-13	12:46:03	1432	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:03	1432	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860924
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:03	1433	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field taille
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field category_path
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:03	1433	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:46:03	1433	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:03	1433	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field product_weight
2023-10-13	12:46:03	1433	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:03	1433	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:03	1433	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field published
2023-10-13	12:46:03	1433	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:03	1433	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field custom_title
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field custom_param
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field override
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field public_price
2023-10-13	12:46:03	1433	[DEBUG]	Use field value for field slug
2023-10-13	12:46:03	1433	[DEBUG]	Process line 1433
2023-10-13	12:46:03	1433	[DEBUG]	Load a row
2023-10-13	12:46:03	1433	[DEBUG]	Processing item: A_5153_22
2023-10-13	12:46:03	1433	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:03	1433	[DEBUG]	Processing product tax
2023-10-13	12:46:03	1433	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:03	1433	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:03	1433	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:03	1433	[DEBUG]	Query for Product
2023-10-13	12:46:03	1433	[DEBUG]	Executed store
2023-10-13	12:46:03	1433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5153_22','0.51','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:03	1433	[DEBUG]	Check product language entry
2023-10-13	12:46:03	1433	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860925
2023-10-13	12:46:03	1433	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:03	1433	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5153_22' AND `virtuemart_product_id` != 1860925
2023-10-13	12:46:03	1433	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:03	1433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860925, 'A_5153_22')
2023-10-13	12:46:03	1433	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:03	1433	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu' AND `virtuemart_product_id` != 1860925
2023-10-13	12:46:03	1433	[DEBUG]	Query for ProductLang
2023-10-13	12:46:03	1433	[DEBUG]	Executed store
2023-10-13	12:46:03	1433	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro Road avec système de ventilation breveté ! 510 gr.<br>N° art fourn : ZAEROROAD',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu' WHERE `virtuemart_product_id` = '1860925'
2023-10-13	12:46:03	1433	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:03	1433	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:03	1433	[DEBUG]	Process image file
2023-10-13	12:46:03	1433	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:03	1433	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:03	1433	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:03	1433	[DEBUG]	Full name target: bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:04	1433	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:04	1433	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:04	1433	[DEBUG]	Query for Media
2023-10-13	12:46:04	1433	[DEBUG]	Executed store
2023-10-13	12:46:04	1433	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15959'
2023-10-13	12:46:04	1433	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:04	1433	[DEBUG]	Executed store
2023-10-13	12:46:04	1433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860925','15959','1')
2023-10-13	12:46:04	1433	[DEBUG]	Store product image relation
2023-10-13	12:46:04	1433	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:04	1433	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860925 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:04	1433	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:04	1433	[DEBUG]	Executed store
2023-10-13	12:46:04	1433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860925','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:04	1433	[DEBUG]	Checking manufacturer
2023-10-13	12:46:04	1433	[DEBUG]	Load a row
2023-10-13	12:46:04	1433	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:04	1433	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:04	1433	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:04	1433	[DEBUG]	Executed store
2023-10-13	12:46:04	1433	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:04	1433	[DEBUG]	Manufacturer exists
2023-10-13	12:46:04	1433	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:04	1433	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:04	1433	[DEBUG]	Executed store
2023-10-13	12:46:04	1433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860925','32')
2023-10-13	12:46:04	1433	[DEBUG]	Find the custom field ID
2023-10-13	12:46:04	1433	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:46:04	1433	[DEBUG]	No custom field ID found
2023-10-13	12:46:04	1433	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:04	1433	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:46:04	1433	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860925 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:04	1433	[DEBUG]	Store custom available field
2023-10-13	12:46:04	1433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860925,3,'179.400277777778',1)
2023-10-13	12:46:04	1433	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:04	1433	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:46:04	1433	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860925 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:04	1433	[DEBUG]	Store custom available field
2023-10-13	12:46:04	1433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860925,6,'choisir la taille',3)
2023-10-13	12:46:04	1433	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:04	1433	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:46:04	1433	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:46:04	1433	[DEBUG]	Find the multi variant product entry
2023-10-13	12:46:04	1433	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860925 AND `virtuemart_custom_id` = 8
2023-10-13	12:46:04	1433	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:46:04	1433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860925,8,1)
2023-10-13	12:46:04	1433	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:04	1433	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860925\":[1860925,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860925
2023-10-13	12:46:04	1433	[DEBUG]	Checking category
2023-10-13	12:46:04	1433	[DEBUG]	Get the existing categories for the product
2023-10-13	12:46:04	1433	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860925
2023-10-13	12:46:04	1433	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:46:04	1433	[DEBUG]	Executed store
2023-10-13	12:46:04	1433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860925','7331')
2023-10-13	12:46:04	1433	[DEBUG]	Delete leftover product categories
2023-10-13	12:46:04	1433	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860925 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:46:04	1433	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:04	1433	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860925
2023-10-13	12:46:04	1434	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:04	1434	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:04	1434	[DEBUG]	Use field value for field taille
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:04	1434	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:04	1434	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:04	1434	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:04	1434	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:04	1434	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:04	1434	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:04	1434	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:04	1434	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:04	1434	[DEBUG]	Use field value for field published
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:04	1434	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field override
2023-10-13	12:46:04	1434	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:04	1434	[DEBUG]	Use field value for field slug
2023-10-13	12:46:04	1434	[DEBUG]	Process line 1434
2023-10-13	12:46:04	1434	[DEBUG]	Load a row
2023-10-13	12:46:04	1434	[DEBUG]	Processing item: 1000000077940
2023-10-13	12:46:04	1434	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:04	1434	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:04	1434	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_22'
2023-10-13	12:46:04	1434	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:04	1434	[DEBUG]	Processing product tax
2023-10-13	12:46:04	1434	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:04	1434	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:04	1434	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:04	1434	[DEBUG]	Query for Product
2023-10-13	12:46:04	1434	[DEBUG]	Executed store
2023-10-13	12:46:04	1434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860925','1000000077940','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:04	1434	[DEBUG]	No parent found
2023-10-13	12:46:04	1434	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860925 AND customfield_value = 'stockable'
2023-10-13	12:46:04	1434	[DEBUG]	Check product language entry
2023-10-13	12:46:04	1434	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860926
2023-10-13	12:46:04	1434	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:04	1434	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077940' AND `virtuemart_product_id` != 1860926
2023-10-13	12:46:04	1434	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:04	1434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860926, '1000000077940')
2023-10-13	12:46:04	1434	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:04	1434	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-38' AND `virtuemart_product_id` != 1860926
2023-10-13	12:46:04	1434	[DEBUG]	Query for ProductLang
2023-10-13	12:46:04	1434	[DEBUG]	Executed store
2023-10-13	12:46:04	1434	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Bleu (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-38' WHERE `virtuemart_product_id` = '1860926'
2023-10-13	12:46:04	1434	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:04	1434	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:04	1434	[DEBUG]	Process image file
2023-10-13	12:46:04	1434	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:04	1434	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:04	1434	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:04	1434	[DEBUG]	Full name target: bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:05	1434	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:05	1434	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:05	1434	[DEBUG]	Query for Media
2023-10-13	12:46:05	1434	[DEBUG]	Executed store
2023-10-13	12:46:05	1434	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15959'
2023-10-13	12:46:05	1434	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:05	1434	[DEBUG]	Executed store
2023-10-13	12:46:05	1434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860926','15959','1')
2023-10-13	12:46:05	1434	[DEBUG]	Store product image relation
2023-10-13	12:46:05	1434	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:05	1434	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860926 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:05	1434	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:05	1434	[DEBUG]	Executed store
2023-10-13	12:46:05	1434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860926','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:05	1434	[DEBUG]	Checking manufacturer
2023-10-13	12:46:05	1434	[DEBUG]	Load a row
2023-10-13	12:46:05	1434	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:05	1434	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:05	1434	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:05	1434	[DEBUG]	Executed store
2023-10-13	12:46:05	1434	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:05	1434	[DEBUG]	Manufacturer exists
2023-10-13	12:46:05	1434	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:05	1434	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:05	1434	[DEBUG]	Executed store
2023-10-13	12:46:05	1434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860926','32')
2023-10-13	12:46:05	1434	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:05	1434	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:05	1434	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860926 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:05	1434	[DEBUG]	Store custom available field
2023-10-13	12:46:05	1434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860926,3,'',1)
2023-10-13	12:46:05	1434	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:05	1434	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:46:05	1434	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860926 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:05	1434	[DEBUG]	Store custom available field
2023-10-13	12:46:05	1434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860926,6,'38',3)
2023-10-13	12:46:05	1434	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:05	1434	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:05	1434	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860925
2023-10-13	12:46:05	1434	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:05	1434	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1860925\":[1860925,8,1,\"choisir la taille\"],\"1860926\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1860925
2023-10-13	12:46:05	1434	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:05	1434	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860926
2023-10-13	12:46:05	1435	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:05	1435	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:05	1435	[DEBUG]	Use field value for field taille
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:05	1435	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:05	1435	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:05	1435	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:05	1435	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:05	1435	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:05	1435	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:05	1435	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:05	1435	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:05	1435	[DEBUG]	Use field value for field published
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:05	1435	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field override
2023-10-13	12:46:05	1435	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:05	1435	[DEBUG]	Use field value for field slug
2023-10-13	12:46:05	1435	[DEBUG]	Process line 1435
2023-10-13	12:46:05	1435	[DEBUG]	Load a row
2023-10-13	12:46:05	1435	[DEBUG]	Processing item: 1000000077957
2023-10-13	12:46:05	1435	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:05	1435	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:05	1435	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_22'
2023-10-13	12:46:05	1435	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:05	1435	[DEBUG]	Processing product tax
2023-10-13	12:46:05	1435	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:05	1435	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:05	1435	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:05	1435	[DEBUG]	Query for Product
2023-10-13	12:46:05	1435	[DEBUG]	Executed store
2023-10-13	12:46:05	1435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860925','1000000077957','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:05	1435	[DEBUG]	No parent found
2023-10-13	12:46:05	1435	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860925 AND customfield_value = 'stockable'
2023-10-13	12:46:05	1435	[DEBUG]	Check product language entry
2023-10-13	12:46:05	1435	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860927
2023-10-13	12:46:05	1435	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:05	1435	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077957' AND `virtuemart_product_id` != 1860927
2023-10-13	12:46:05	1435	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:05	1435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860927, '1000000077957')
2023-10-13	12:46:05	1435	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:05	1435	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-39' AND `virtuemart_product_id` != 1860927
2023-10-13	12:46:05	1435	[DEBUG]	Query for ProductLang
2023-10-13	12:46:05	1435	[DEBUG]	Executed store
2023-10-13	12:46:05	1435	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Bleu (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-39' WHERE `virtuemart_product_id` = '1860927'
2023-10-13	12:46:05	1435	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:05	1435	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:05	1435	[DEBUG]	Process image file
2023-10-13	12:46:05	1435	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:05	1435	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:05	1435	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:05	1435	[DEBUG]	Full name target: bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:06	1435	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:06	1435	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:06	1435	[DEBUG]	Query for Media
2023-10-13	12:46:06	1435	[DEBUG]	Executed store
2023-10-13	12:46:06	1435	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15959'
2023-10-13	12:46:06	1435	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:06	1435	[DEBUG]	Executed store
2023-10-13	12:46:06	1435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860927','15959','1')
2023-10-13	12:46:06	1435	[DEBUG]	Store product image relation
2023-10-13	12:46:06	1435	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:06	1435	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860927 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:06	1435	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:06	1435	[DEBUG]	Executed store
2023-10-13	12:46:06	1435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860927','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:06	1435	[DEBUG]	Checking manufacturer
2023-10-13	12:46:06	1435	[DEBUG]	Load a row
2023-10-13	12:46:06	1435	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:06	1435	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:06	1435	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:06	1435	[DEBUG]	Executed store
2023-10-13	12:46:06	1435	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:06	1435	[DEBUG]	Manufacturer exists
2023-10-13	12:46:06	1435	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:06	1435	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:06	1435	[DEBUG]	Executed store
2023-10-13	12:46:06	1435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860927','32')
2023-10-13	12:46:06	1435	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:06	1435	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:06	1435	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860927 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:06	1435	[DEBUG]	Store custom available field
2023-10-13	12:46:06	1435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860927,3,'',1)
2023-10-13	12:46:06	1435	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:06	1435	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:46:06	1435	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860927 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:06	1435	[DEBUG]	Store custom available field
2023-10-13	12:46:06	1435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860927,6,'39',3)
2023-10-13	12:46:06	1435	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:06	1435	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:06	1435	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860925
2023-10-13	12:46:06	1435	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:06	1435	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1860925\":[1860925,8,1,\"choisir la taille\"],\"1860926\":[\"38\"],\"1860927\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1860925
2023-10-13	12:46:06	1435	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:06	1435	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860927
2023-10-13	12:46:06	1436	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:06	1436	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:06	1436	[DEBUG]	Use field value for field taille
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:06	1436	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:06	1436	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:06	1436	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:06	1436	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:06	1436	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:06	1436	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:06	1436	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:06	1436	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:06	1436	[DEBUG]	Use field value for field published
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:06	1436	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field override
2023-10-13	12:46:06	1436	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:06	1436	[DEBUG]	Use field value for field slug
2023-10-13	12:46:06	1436	[DEBUG]	Process line 1436
2023-10-13	12:46:06	1436	[DEBUG]	Load a row
2023-10-13	12:46:06	1436	[DEBUG]	Processing item: 1000000077964
2023-10-13	12:46:06	1436	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:06	1436	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:06	1436	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_22'
2023-10-13	12:46:06	1436	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:06	1436	[DEBUG]	Processing product tax
2023-10-13	12:46:06	1436	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:06	1436	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:06	1436	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:06	1436	[DEBUG]	Query for Product
2023-10-13	12:46:06	1436	[DEBUG]	Executed store
2023-10-13	12:46:06	1436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860925','1000000077964','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:06	1436	[DEBUG]	No parent found
2023-10-13	12:46:06	1436	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860925 AND customfield_value = 'stockable'
2023-10-13	12:46:06	1436	[DEBUG]	Check product language entry
2023-10-13	12:46:06	1436	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860928
2023-10-13	12:46:06	1436	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:06	1436	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077964' AND `virtuemart_product_id` != 1860928
2023-10-13	12:46:06	1436	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:06	1436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860928, '1000000077964')
2023-10-13	12:46:06	1436	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:06	1436	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-40' AND `virtuemart_product_id` != 1860928
2023-10-13	12:46:06	1436	[DEBUG]	Query for ProductLang
2023-10-13	12:46:06	1436	[DEBUG]	Executed store
2023-10-13	12:46:06	1436	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Bleu (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-40' WHERE `virtuemart_product_id` = '1860928'
2023-10-13	12:46:06	1436	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:06	1436	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:06	1436	[DEBUG]	Process image file
2023-10-13	12:46:06	1436	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:06	1436	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:06	1436	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:06	1436	[DEBUG]	Full name target: bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:07	1436	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:07	1436	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:07	1436	[DEBUG]	Query for Media
2023-10-13	12:46:07	1436	[DEBUG]	Executed store
2023-10-13	12:46:07	1436	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15959'
2023-10-13	12:46:07	1436	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:07	1436	[DEBUG]	Executed store
2023-10-13	12:46:07	1436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860928','15959','1')
2023-10-13	12:46:07	1436	[DEBUG]	Store product image relation
2023-10-13	12:46:07	1436	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:07	1436	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860928 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:07	1436	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:07	1436	[DEBUG]	Executed store
2023-10-13	12:46:07	1436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860928','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:07	1436	[DEBUG]	Checking manufacturer
2023-10-13	12:46:07	1436	[DEBUG]	Load a row
2023-10-13	12:46:07	1436	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:07	1436	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:07	1436	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:07	1436	[DEBUG]	Executed store
2023-10-13	12:46:07	1436	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:07	1436	[DEBUG]	Manufacturer exists
2023-10-13	12:46:07	1436	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:07	1436	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:07	1436	[DEBUG]	Executed store
2023-10-13	12:46:07	1436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860928','32')
2023-10-13	12:46:07	1436	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:07	1436	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:07	1436	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860928 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:07	1436	[DEBUG]	Store custom available field
2023-10-13	12:46:07	1436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860928,3,'',1)
2023-10-13	12:46:07	1436	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:07	1436	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:46:07	1436	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860928 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:07	1436	[DEBUG]	Store custom available field
2023-10-13	12:46:07	1436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860928,6,'40',3)
2023-10-13	12:46:07	1436	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:07	1436	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:07	1436	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860925
2023-10-13	12:46:07	1436	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:07	1436	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1860925\":[1860925,8,1,\"choisir la taille\"],\"1860926\":[\"38\"],\"1860927\":[\"39\"],\"1860928\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1860925
2023-10-13	12:46:07	1436	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:07	1436	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860928
2023-10-13	12:46:07	1437	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:07	1437	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:07	1437	[DEBUG]	Use field value for field taille
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:07	1437	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:07	1437	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:07	1437	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:07	1437	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:07	1437	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:07	1437	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:07	1437	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:07	1437	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:07	1437	[DEBUG]	Use field value for field published
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:07	1437	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field override
2023-10-13	12:46:07	1437	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:07	1437	[DEBUG]	Use field value for field slug
2023-10-13	12:46:07	1437	[DEBUG]	Process line 1437
2023-10-13	12:46:07	1437	[DEBUG]	Load a row
2023-10-13	12:46:07	1437	[DEBUG]	Processing item: 1000000077971
2023-10-13	12:46:07	1437	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:07	1437	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:07	1437	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_22'
2023-10-13	12:46:07	1437	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:07	1437	[DEBUG]	Processing product tax
2023-10-13	12:46:07	1437	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:07	1437	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:07	1437	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:07	1437	[DEBUG]	Query for Product
2023-10-13	12:46:07	1437	[DEBUG]	Executed store
2023-10-13	12:46:07	1437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860925','1000000077971','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:07	1437	[DEBUG]	No parent found
2023-10-13	12:46:07	1437	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860925 AND customfield_value = 'stockable'
2023-10-13	12:46:07	1437	[DEBUG]	Check product language entry
2023-10-13	12:46:07	1437	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860929
2023-10-13	12:46:07	1437	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:07	1437	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077971' AND `virtuemart_product_id` != 1860929
2023-10-13	12:46:07	1437	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:07	1437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860929, '1000000077971')
2023-10-13	12:46:07	1437	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:07	1437	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-41' AND `virtuemart_product_id` != 1860929
2023-10-13	12:46:07	1437	[DEBUG]	Query for ProductLang
2023-10-13	12:46:07	1437	[DEBUG]	Executed store
2023-10-13	12:46:07	1437	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Bleu (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-41' WHERE `virtuemart_product_id` = '1860929'
2023-10-13	12:46:07	1437	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:07	1437	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:07	1437	[DEBUG]	Process image file
2023-10-13	12:46:07	1437	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:07	1437	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:07	1437	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:07	1437	[DEBUG]	Full name target: bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:08	1437	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:08	1437	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:08	1437	[DEBUG]	Query for Media
2023-10-13	12:46:08	1437	[DEBUG]	Executed store
2023-10-13	12:46:08	1437	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15959'
2023-10-13	12:46:08	1437	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:08	1437	[DEBUG]	Executed store
2023-10-13	12:46:08	1437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860929','15959','1')
2023-10-13	12:46:08	1437	[DEBUG]	Store product image relation
2023-10-13	12:46:08	1437	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:08	1437	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860929 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:08	1437	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:08	1437	[DEBUG]	Executed store
2023-10-13	12:46:08	1437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860929','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:08	1437	[DEBUG]	Checking manufacturer
2023-10-13	12:46:08	1437	[DEBUG]	Load a row
2023-10-13	12:46:08	1437	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:08	1437	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:08	1437	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:08	1437	[DEBUG]	Executed store
2023-10-13	12:46:08	1437	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:08	1437	[DEBUG]	Manufacturer exists
2023-10-13	12:46:08	1437	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:08	1437	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:08	1437	[DEBUG]	Executed store
2023-10-13	12:46:08	1437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860929','32')
2023-10-13	12:46:08	1437	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:08	1437	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:08	1437	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860929 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:08	1437	[DEBUG]	Store custom available field
2023-10-13	12:46:08	1437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860929,3,'',1)
2023-10-13	12:46:08	1437	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:08	1437	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:46:08	1437	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860929 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:08	1437	[DEBUG]	Store custom available field
2023-10-13	12:46:08	1437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860929,6,'41',3)
2023-10-13	12:46:08	1437	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:08	1437	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:08	1437	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860925
2023-10-13	12:46:08	1437	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:08	1437	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1860925\":[1860925,8,1,\"choisir la taille\"],\"1860926\":[\"38\"],\"1860927\":[\"39\"],\"1860928\":[\"40\"],\"1860929\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1860925
2023-10-13	12:46:08	1437	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:08	1437	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860929
2023-10-13	12:46:08	1438	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:08	1438	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:08	1438	[DEBUG]	Use field value for field taille
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:08	1438	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:08	1438	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:08	1438	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:08	1438	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:08	1438	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:08	1438	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:08	1438	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:08	1438	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:08	1438	[DEBUG]	Use field value for field published
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:08	1438	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field override
2023-10-13	12:46:08	1438	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:08	1438	[DEBUG]	Use field value for field slug
2023-10-13	12:46:08	1438	[DEBUG]	Process line 1438
2023-10-13	12:46:08	1438	[DEBUG]	Load a row
2023-10-13	12:46:08	1438	[DEBUG]	Processing item: 1000000077988
2023-10-13	12:46:08	1438	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:08	1438	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:08	1438	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_22'
2023-10-13	12:46:08	1438	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:08	1438	[DEBUG]	Processing product tax
2023-10-13	12:46:08	1438	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:08	1438	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:08	1438	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:08	1438	[DEBUG]	Query for Product
2023-10-13	12:46:08	1438	[DEBUG]	Executed store
2023-10-13	12:46:08	1438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860925','1000000077988','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:08	1438	[DEBUG]	No parent found
2023-10-13	12:46:08	1438	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860925 AND customfield_value = 'stockable'
2023-10-13	12:46:08	1438	[DEBUG]	Check product language entry
2023-10-13	12:46:08	1438	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860930
2023-10-13	12:46:08	1438	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:08	1438	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077988' AND `virtuemart_product_id` != 1860930
2023-10-13	12:46:08	1438	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:08	1438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860930, '1000000077988')
2023-10-13	12:46:08	1438	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:08	1438	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-42' AND `virtuemart_product_id` != 1860930
2023-10-13	12:46:08	1438	[DEBUG]	Query for ProductLang
2023-10-13	12:46:08	1438	[DEBUG]	Executed store
2023-10-13	12:46:08	1438	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Bleu (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-42' WHERE `virtuemart_product_id` = '1860930'
2023-10-13	12:46:08	1438	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:08	1438	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:08	1438	[DEBUG]	Process image file
2023-10-13	12:46:08	1438	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:08	1438	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:08	1438	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:08	1438	[DEBUG]	Full name target: bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:09	1438	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:09	1438	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:09	1438	[DEBUG]	Query for Media
2023-10-13	12:46:09	1438	[DEBUG]	Executed store
2023-10-13	12:46:09	1438	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15959'
2023-10-13	12:46:09	1438	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:09	1438	[DEBUG]	Executed store
2023-10-13	12:46:09	1438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860930','15959','1')
2023-10-13	12:46:09	1438	[DEBUG]	Store product image relation
2023-10-13	12:46:09	1438	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:09	1438	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860930 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:09	1438	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:09	1438	[DEBUG]	Executed store
2023-10-13	12:46:09	1438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860930','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:09	1438	[DEBUG]	Checking manufacturer
2023-10-13	12:46:09	1438	[DEBUG]	Load a row
2023-10-13	12:46:09	1438	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:09	1438	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:09	1438	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:09	1438	[DEBUG]	Executed store
2023-10-13	12:46:09	1438	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:09	1438	[DEBUG]	Manufacturer exists
2023-10-13	12:46:09	1438	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:09	1438	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:09	1438	[DEBUG]	Executed store
2023-10-13	12:46:09	1438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860930','32')
2023-10-13	12:46:09	1438	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:09	1438	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:09	1438	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860930 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:09	1438	[DEBUG]	Store custom available field
2023-10-13	12:46:09	1438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860930,3,'',1)
2023-10-13	12:46:09	1438	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:09	1438	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:46:09	1438	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860930 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:09	1438	[DEBUG]	Store custom available field
2023-10-13	12:46:09	1438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860930,6,'42',3)
2023-10-13	12:46:09	1438	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:09	1438	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:09	1438	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860925
2023-10-13	12:46:09	1438	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:09	1438	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1860925\":[1860925,8,1,\"choisir la taille\"],\"1860926\":[\"38\"],\"1860927\":[\"39\"],\"1860928\":[\"40\"],\"1860929\":[\"41\"],\"1860930\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1860925
2023-10-13	12:46:09	1438	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:09	1438	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860930
2023-10-13	12:46:09	1439	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:09	1439	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:09	1439	[DEBUG]	Use field value for field taille
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:09	1439	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:09	1439	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:09	1439	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:09	1439	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:09	1439	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:09	1439	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:09	1439	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:09	1439	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:09	1439	[DEBUG]	Use field value for field published
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:09	1439	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field override
2023-10-13	12:46:09	1439	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:09	1439	[DEBUG]	Use field value for field slug
2023-10-13	12:46:09	1439	[DEBUG]	Process line 1439
2023-10-13	12:46:09	1439	[DEBUG]	Load a row
2023-10-13	12:46:09	1439	[DEBUG]	Processing item: 8435466296186
2023-10-13	12:46:09	1439	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:09	1439	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:09	1439	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_22'
2023-10-13	12:46:09	1439	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:09	1439	[DEBUG]	Processing product tax
2023-10-13	12:46:09	1439	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:09	1439	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:09	1439	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:09	1439	[DEBUG]	Query for Product
2023-10-13	12:46:09	1439	[DEBUG]	Executed store
2023-10-13	12:46:09	1439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860925','8435466296186','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:09	1439	[DEBUG]	No parent found
2023-10-13	12:46:09	1439	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860925 AND customfield_value = 'stockable'
2023-10-13	12:46:09	1439	[DEBUG]	Check product language entry
2023-10-13	12:46:09	1439	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860931
2023-10-13	12:46:09	1439	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:09	1439	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466296186' AND `virtuemart_product_id` != 1860931
2023-10-13	12:46:09	1439	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:09	1439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860931, '8435466296186')
2023-10-13	12:46:09	1439	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:09	1439	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-43' AND `virtuemart_product_id` != 1860931
2023-10-13	12:46:09	1439	[DEBUG]	Query for ProductLang
2023-10-13	12:46:09	1439	[DEBUG]	Executed store
2023-10-13	12:46:09	1439	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Bleu (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-43' WHERE `virtuemart_product_id` = '1860931'
2023-10-13	12:46:09	1439	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:09	1439	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:09	1439	[DEBUG]	Process image file
2023-10-13	12:46:09	1439	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:09	1439	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:09	1439	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:09	1439	[DEBUG]	Full name target: bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:10	1439	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:10	1439	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:10	1439	[DEBUG]	Query for Media
2023-10-13	12:46:10	1439	[DEBUG]	Executed store
2023-10-13	12:46:10	1439	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15959'
2023-10-13	12:46:10	1439	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:10	1439	[DEBUG]	Executed store
2023-10-13	12:46:10	1439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860931','15959','1')
2023-10-13	12:46:10	1439	[DEBUG]	Store product image relation
2023-10-13	12:46:10	1439	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:10	1439	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860931 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:10	1439	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:10	1439	[DEBUG]	Executed store
2023-10-13	12:46:10	1439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860931','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:10	1439	[DEBUG]	Checking manufacturer
2023-10-13	12:46:10	1439	[DEBUG]	Load a row
2023-10-13	12:46:10	1439	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:10	1439	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:10	1439	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:10	1439	[DEBUG]	Executed store
2023-10-13	12:46:10	1439	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:10	1439	[DEBUG]	Manufacturer exists
2023-10-13	12:46:10	1439	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:10	1439	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:10	1439	[DEBUG]	Executed store
2023-10-13	12:46:10	1439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860931','32')
2023-10-13	12:46:10	1439	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:10	1439	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:10	1439	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860931 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:10	1439	[DEBUG]	Store custom available field
2023-10-13	12:46:10	1439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860931,3,'',1)
2023-10-13	12:46:10	1439	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:10	1439	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:46:10	1439	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860931 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:10	1439	[DEBUG]	Store custom available field
2023-10-13	12:46:10	1439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860931,6,'43',3)
2023-10-13	12:46:10	1439	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:10	1439	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:10	1439	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860925
2023-10-13	12:46:10	1439	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:10	1439	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1860925\":[1860925,8,1,\"choisir la taille\"],\"1860926\":[\"38\"],\"1860927\":[\"39\"],\"1860928\":[\"40\"],\"1860929\":[\"41\"],\"1860930\":[\"42\"],\"1860931\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1860925
2023-10-13	12:46:10	1439	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:10	1439	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860931
2023-10-13	12:46:10	1440	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:10	1440	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:10	1440	[DEBUG]	Use field value for field taille
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:10	1440	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:10	1440	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:10	1440	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:10	1440	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:10	1440	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:10	1440	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:10	1440	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:10	1440	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:10	1440	[DEBUG]	Use field value for field published
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:10	1440	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field override
2023-10-13	12:46:10	1440	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:10	1440	[DEBUG]	Use field value for field slug
2023-10-13	12:46:10	1440	[DEBUG]	Process line 1440
2023-10-13	12:46:10	1440	[DEBUG]	Load a row
2023-10-13	12:46:10	1440	[DEBUG]	Processing item: 1000000078008
2023-10-13	12:46:10	1440	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:10	1440	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:10	1440	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_22'
2023-10-13	12:46:10	1440	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:10	1440	[DEBUG]	Processing product tax
2023-10-13	12:46:10	1440	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:10	1440	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:10	1440	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:10	1440	[DEBUG]	Query for Product
2023-10-13	12:46:10	1440	[DEBUG]	Executed store
2023-10-13	12:46:10	1440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860925','1000000078008','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:10	1440	[DEBUG]	No parent found
2023-10-13	12:46:10	1440	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860925 AND customfield_value = 'stockable'
2023-10-13	12:46:10	1440	[DEBUG]	Check product language entry
2023-10-13	12:46:10	1440	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860932
2023-10-13	12:46:10	1440	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:10	1440	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078008' AND `virtuemart_product_id` != 1860932
2023-10-13	12:46:10	1440	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:10	1440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860932, '1000000078008')
2023-10-13	12:46:10	1440	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:10	1440	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-44' AND `virtuemart_product_id` != 1860932
2023-10-13	12:46:10	1440	[DEBUG]	Query for ProductLang
2023-10-13	12:46:10	1440	[DEBUG]	Executed store
2023-10-13	12:46:10	1440	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Bleu (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-44' WHERE `virtuemart_product_id` = '1860932'
2023-10-13	12:46:10	1440	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:10	1440	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:10	1440	[DEBUG]	Process image file
2023-10-13	12:46:10	1440	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:10	1440	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:10	1440	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:10	1440	[DEBUG]	Full name target: bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:11	1440	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:11	1440	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:11	1440	[DEBUG]	Query for Media
2023-10-13	12:46:11	1440	[DEBUG]	Executed store
2023-10-13	12:46:11	1440	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15959'
2023-10-13	12:46:11	1440	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:11	1440	[DEBUG]	Executed store
2023-10-13	12:46:11	1440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860932','15959','1')
2023-10-13	12:46:11	1440	[DEBUG]	Store product image relation
2023-10-13	12:46:11	1440	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:11	1440	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860932 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:11	1440	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:11	1440	[DEBUG]	Executed store
2023-10-13	12:46:11	1440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860932','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:11	1440	[DEBUG]	Checking manufacturer
2023-10-13	12:46:11	1440	[DEBUG]	Load a row
2023-10-13	12:46:11	1440	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:11	1440	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:11	1440	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:11	1440	[DEBUG]	Executed store
2023-10-13	12:46:11	1440	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:11	1440	[DEBUG]	Manufacturer exists
2023-10-13	12:46:11	1440	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:11	1440	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:11	1440	[DEBUG]	Executed store
2023-10-13	12:46:11	1440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860932','32')
2023-10-13	12:46:11	1440	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:11	1440	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:11	1440	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860932 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:11	1440	[DEBUG]	Store custom available field
2023-10-13	12:46:11	1440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860932,3,'',1)
2023-10-13	12:46:11	1440	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:11	1440	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:46:11	1440	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860932 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:11	1440	[DEBUG]	Store custom available field
2023-10-13	12:46:11	1440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860932,6,'44',3)
2023-10-13	12:46:11	1440	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:11	1440	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:11	1440	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860925
2023-10-13	12:46:11	1440	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:11	1440	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1860925\":[1860925,8,1,\"choisir la taille\"],\"1860926\":[\"38\"],\"1860927\":[\"39\"],\"1860928\":[\"40\"],\"1860929\":[\"41\"],\"1860930\":[\"42\"],\"1860931\":[\"43\"],\"1860932\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1860925
2023-10-13	12:46:11	1440	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:11	1440	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860932
2023-10-13	12:46:11	1441	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:11	1441	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:11	1441	[DEBUG]	Use field value for field taille
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:11	1441	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:11	1441	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:11	1441	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:11	1441	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:11	1441	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:11	1441	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:11	1441	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:11	1441	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:11	1441	[DEBUG]	Use field value for field published
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:11	1441	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field override
2023-10-13	12:46:11	1441	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:11	1441	[DEBUG]	Use field value for field slug
2023-10-13	12:46:11	1441	[DEBUG]	Process line 1441
2023-10-13	12:46:11	1441	[DEBUG]	Load a row
2023-10-13	12:46:11	1441	[DEBUG]	Processing item: 8435466296209
2023-10-13	12:46:11	1441	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:11	1441	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:11	1441	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_22'
2023-10-13	12:46:11	1441	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:11	1441	[DEBUG]	Processing product tax
2023-10-13	12:46:11	1441	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:11	1441	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:11	1441	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:11	1441	[DEBUG]	Query for Product
2023-10-13	12:46:11	1441	[DEBUG]	Executed store
2023-10-13	12:46:11	1441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860925','8435466296209','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:11	1441	[DEBUG]	No parent found
2023-10-13	12:46:11	1441	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860925 AND customfield_value = 'stockable'
2023-10-13	12:46:11	1441	[DEBUG]	Check product language entry
2023-10-13	12:46:11	1441	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860933
2023-10-13	12:46:11	1441	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:11	1441	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466296209' AND `virtuemart_product_id` != 1860933
2023-10-13	12:46:11	1441	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:11	1441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860933, '8435466296209')
2023-10-13	12:46:11	1441	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:11	1441	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-45' AND `virtuemart_product_id` != 1860933
2023-10-13	12:46:11	1441	[DEBUG]	Query for ProductLang
2023-10-13	12:46:11	1441	[DEBUG]	Executed store
2023-10-13	12:46:11	1441	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Bleu (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-45' WHERE `virtuemart_product_id` = '1860933'
2023-10-13	12:46:11	1441	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:11	1441	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:11	1441	[DEBUG]	Process image file
2023-10-13	12:46:11	1441	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:11	1441	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:11	1441	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:11	1441	[DEBUG]	Full name target: bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:12	1441	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:12	1441	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:12	1441	[DEBUG]	Query for Media
2023-10-13	12:46:12	1441	[DEBUG]	Executed store
2023-10-13	12:46:12	1441	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15959'
2023-10-13	12:46:12	1441	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:12	1441	[DEBUG]	Executed store
2023-10-13	12:46:12	1441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860933','15959','1')
2023-10-13	12:46:12	1441	[DEBUG]	Store product image relation
2023-10-13	12:46:12	1441	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:12	1441	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860933 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:12	1441	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:12	1441	[DEBUG]	Executed store
2023-10-13	12:46:12	1441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860933','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:12	1441	[DEBUG]	Checking manufacturer
2023-10-13	12:46:12	1441	[DEBUG]	Load a row
2023-10-13	12:46:12	1441	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:12	1441	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:12	1441	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:12	1441	[DEBUG]	Executed store
2023-10-13	12:46:12	1441	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:12	1441	[DEBUG]	Manufacturer exists
2023-10-13	12:46:12	1441	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:12	1441	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:12	1441	[DEBUG]	Executed store
2023-10-13	12:46:12	1441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860933','32')
2023-10-13	12:46:12	1441	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:12	1441	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:12	1441	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860933 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:12	1441	[DEBUG]	Store custom available field
2023-10-13	12:46:12	1441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860933,3,'',1)
2023-10-13	12:46:12	1441	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:12	1441	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:46:12	1441	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860933 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:12	1441	[DEBUG]	Store custom available field
2023-10-13	12:46:12	1441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860933,6,'45',3)
2023-10-13	12:46:12	1441	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:12	1441	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:12	1441	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860925
2023-10-13	12:46:12	1441	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:12	1441	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1860925\":[1860925,8,1,\"choisir la taille\"],\"1860926\":[\"38\"],\"1860927\":[\"39\"],\"1860928\":[\"40\"],\"1860929\":[\"41\"],\"1860930\":[\"42\"],\"1860931\":[\"43\"],\"1860932\":[\"44\"],\"1860933\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1860925
2023-10-13	12:46:12	1441	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:12	1441	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860933
2023-10-13	12:46:12	1442	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:12	1442	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:12	1442	[DEBUG]	Use field value for field taille
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:12	1442	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:12	1442	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:12	1442	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:12	1442	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:12	1442	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:12	1442	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:12	1442	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:12	1442	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:12	1442	[DEBUG]	Use field value for field published
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:12	1442	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field override
2023-10-13	12:46:12	1442	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:12	1442	[DEBUG]	Use field value for field slug
2023-10-13	12:46:12	1442	[DEBUG]	Process line 1442
2023-10-13	12:46:12	1442	[DEBUG]	Load a row
2023-10-13	12:46:12	1442	[DEBUG]	Processing item: 1000000078022
2023-10-13	12:46:12	1442	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:12	1442	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:12	1442	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_22'
2023-10-13	12:46:12	1442	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:12	1442	[DEBUG]	Processing product tax
2023-10-13	12:46:12	1442	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:12	1442	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:12	1442	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:12	1442	[DEBUG]	Query for Product
2023-10-13	12:46:12	1442	[DEBUG]	Executed store
2023-10-13	12:46:12	1442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860925','1000000078022','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:12	1442	[DEBUG]	No parent found
2023-10-13	12:46:12	1442	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860925 AND customfield_value = 'stockable'
2023-10-13	12:46:12	1442	[DEBUG]	Check product language entry
2023-10-13	12:46:12	1442	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860934
2023-10-13	12:46:12	1442	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:12	1442	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078022' AND `virtuemart_product_id` != 1860934
2023-10-13	12:46:12	1442	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:12	1442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860934, '1000000078022')
2023-10-13	12:46:12	1442	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:12	1442	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-46' AND `virtuemart_product_id` != 1860934
2023-10-13	12:46:12	1442	[DEBUG]	Query for ProductLang
2023-10-13	12:46:12	1442	[DEBUG]	Executed store
2023-10-13	12:46:12	1442	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Bleu (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-bleu-46' WHERE `virtuemart_product_id` = '1860934'
2023-10-13	12:46:12	1442	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:12	1442	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:12	1442	[DEBUG]	Process image file
2023-10-13	12:46:12	1442	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:12	1442	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:12	1442	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:12	1442	[DEBUG]	Full name target: bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:13	1442	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:13	1442	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:13	1442	[DEBUG]	Query for Media
2023-10-13	12:46:13	1442	[DEBUG]	Executed store
2023-10-13	12:46:13	1442	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29614_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15959'
2023-10-13	12:46:13	1442	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:13	1442	[DEBUG]	Executed store
2023-10-13	12:46:13	1442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860934','15959','1')
2023-10-13	12:46:13	1442	[DEBUG]	Store product image relation
2023-10-13	12:46:13	1442	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:13	1442	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860934 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:13	1442	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:13	1442	[DEBUG]	Executed store
2023-10-13	12:46:13	1442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860934','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:13	1442	[DEBUG]	Checking manufacturer
2023-10-13	12:46:13	1442	[DEBUG]	Load a row
2023-10-13	12:46:13	1442	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:13	1442	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:13	1442	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:13	1442	[DEBUG]	Executed store
2023-10-13	12:46:13	1442	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:13	1442	[DEBUG]	Manufacturer exists
2023-10-13	12:46:13	1442	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:13	1442	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:13	1442	[DEBUG]	Executed store
2023-10-13	12:46:13	1442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860934','32')
2023-10-13	12:46:13	1442	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:13	1442	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:13	1442	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860934 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:13	1442	[DEBUG]	Store custom available field
2023-10-13	12:46:13	1442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860934,3,'',1)
2023-10-13	12:46:13	1442	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:13	1442	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:46:13	1442	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860934 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:13	1442	[DEBUG]	Store custom available field
2023-10-13	12:46:13	1442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860934,6,'46',3)
2023-10-13	12:46:13	1442	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:13	1442	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:13	1442	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860925
2023-10-13	12:46:13	1442	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:13	1442	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1860925\":[1860925,8,1,\"choisir la taille\"],\"1860926\":[\"38\"],\"1860927\":[\"39\"],\"1860928\":[\"40\"],\"1860929\":[\"41\"],\"1860930\":[\"42\"],\"1860931\":[\"43\"],\"1860932\":[\"44\"],\"1860933\":[\"45\"],\"1860934\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1860925
2023-10-13	12:46:13	1442	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:13	1442	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860934
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:13	1443	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field taille
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field category_path
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:13	1443	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:46:13	1443	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:13	1443	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field product_weight
2023-10-13	12:46:13	1443	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:13	1443	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:13	1443	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field published
2023-10-13	12:46:13	1443	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:13	1443	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field custom_title
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field custom_param
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field override
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field public_price
2023-10-13	12:46:13	1443	[DEBUG]	Use field value for field slug
2023-10-13	12:46:13	1443	[DEBUG]	Process line 1443
2023-10-13	12:46:13	1443	[DEBUG]	Load a row
2023-10-13	12:46:13	1443	[DEBUG]	Processing item: A_5153_27
2023-10-13	12:46:13	1443	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:13	1443	[DEBUG]	Processing product tax
2023-10-13	12:46:13	1443	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:13	1443	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:13	1443	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:13	1443	[DEBUG]	Query for Product
2023-10-13	12:46:13	1443	[DEBUG]	Executed store
2023-10-13	12:46:13	1443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5153_27','0.51','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:13	1443	[DEBUG]	Check product language entry
2023-10-13	12:46:13	1443	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860935
2023-10-13	12:46:13	1443	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:13	1443	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5153_27' AND `virtuemart_product_id` != 1860935
2023-10-13	12:46:13	1443	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:13	1443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860935, 'A_5153_27')
2023-10-13	12:46:13	1443	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:13	1443	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange' AND `virtuemart_product_id` != 1860935
2023-10-13	12:46:13	1443	[DEBUG]	Query for ProductLang
2023-10-13	12:46:13	1443	[DEBUG]	Executed store
2023-10-13	12:46:13	1443	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro Road avec système de ventilation breveté ! 510 gr.<br>N° art fourn : ZAEROROAD',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange' WHERE `virtuemart_product_id` = '1860935'
2023-10-13	12:46:13	1443	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:13	1443	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:13	1443	[DEBUG]	Process image file
2023-10-13	12:46:13	1443	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:13	1443	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:13	1443	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:13	1443	[DEBUG]	Full name target: bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:14	1443	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:14	1443	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:14	1443	[DEBUG]	Query for Media
2023-10-13	12:46:14	1443	[DEBUG]	Executed store
2023-10-13	12:46:14	1443	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15960'
2023-10-13	12:46:14	1443	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:14	1443	[DEBUG]	Executed store
2023-10-13	12:46:14	1443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860935','15960','1')
2023-10-13	12:46:14	1443	[DEBUG]	Store product image relation
2023-10-13	12:46:14	1443	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:14	1443	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860935 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:14	1443	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:14	1443	[DEBUG]	Executed store
2023-10-13	12:46:14	1443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860935','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:14	1443	[DEBUG]	Checking manufacturer
2023-10-13	12:46:14	1443	[DEBUG]	Load a row
2023-10-13	12:46:14	1443	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:14	1443	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:14	1443	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:14	1443	[DEBUG]	Executed store
2023-10-13	12:46:14	1443	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:14	1443	[DEBUG]	Manufacturer exists
2023-10-13	12:46:14	1443	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:14	1443	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:14	1443	[DEBUG]	Executed store
2023-10-13	12:46:14	1443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860935','32')
2023-10-13	12:46:14	1443	[DEBUG]	Find the custom field ID
2023-10-13	12:46:14	1443	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:46:14	1443	[DEBUG]	No custom field ID found
2023-10-13	12:46:14	1443	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:14	1443	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:46:14	1443	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860935 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:14	1443	[DEBUG]	Store custom available field
2023-10-13	12:46:14	1443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860935,3,'179.400277777778',1)
2023-10-13	12:46:14	1443	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:14	1443	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:46:14	1443	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860935 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:14	1443	[DEBUG]	Store custom available field
2023-10-13	12:46:14	1443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860935,6,'choisir la taille',3)
2023-10-13	12:46:14	1443	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:14	1443	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:46:14	1443	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:46:14	1443	[DEBUG]	Find the multi variant product entry
2023-10-13	12:46:14	1443	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860935 AND `virtuemart_custom_id` = 8
2023-10-13	12:46:14	1443	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:46:14	1443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860935,8,1)
2023-10-13	12:46:14	1443	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:14	1443	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860935\":[1860935,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860935
2023-10-13	12:46:14	1443	[DEBUG]	Checking category
2023-10-13	12:46:14	1443	[DEBUG]	Get the existing categories for the product
2023-10-13	12:46:14	1443	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860935
2023-10-13	12:46:14	1443	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:46:14	1443	[DEBUG]	Executed store
2023-10-13	12:46:14	1443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860935','7331')
2023-10-13	12:46:14	1443	[DEBUG]	Delete leftover product categories
2023-10-13	12:46:14	1443	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860935 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:46:14	1443	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:14	1443	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860935
2023-10-13	12:46:14	1444	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:14	1444	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:14	1444	[DEBUG]	Use field value for field taille
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:14	1444	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:14	1444	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:14	1444	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:14	1444	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:14	1444	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:14	1444	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:14	1444	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:14	1444	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:14	1444	[DEBUG]	Use field value for field published
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:14	1444	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field override
2023-10-13	12:46:14	1444	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:14	1444	[DEBUG]	Use field value for field slug
2023-10-13	12:46:14	1444	[DEBUG]	Process line 1444
2023-10-13	12:46:14	1444	[DEBUG]	Load a row
2023-10-13	12:46:14	1444	[DEBUG]	Processing item: 1000000114089
2023-10-13	12:46:14	1444	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:14	1444	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:14	1444	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_27'
2023-10-13	12:46:14	1444	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:14	1444	[DEBUG]	Processing product tax
2023-10-13	12:46:14	1444	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:14	1444	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:14	1444	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:14	1444	[DEBUG]	Query for Product
2023-10-13	12:46:14	1444	[DEBUG]	Executed store
2023-10-13	12:46:14	1444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860935','1000000114089','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:14	1444	[DEBUG]	No parent found
2023-10-13	12:46:14	1444	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860935 AND customfield_value = 'stockable'
2023-10-13	12:46:14	1444	[DEBUG]	Check product language entry
2023-10-13	12:46:14	1444	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860936
2023-10-13	12:46:14	1444	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:14	1444	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114089' AND `virtuemart_product_id` != 1860936
2023-10-13	12:46:14	1444	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:14	1444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860936, '1000000114089')
2023-10-13	12:46:14	1444	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:14	1444	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-38' AND `virtuemart_product_id` != 1860936
2023-10-13	12:46:14	1444	[DEBUG]	Query for ProductLang
2023-10-13	12:46:14	1444	[DEBUG]	Executed store
2023-10-13	12:46:14	1444	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Orange (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-38' WHERE `virtuemart_product_id` = '1860936'
2023-10-13	12:46:14	1444	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:14	1444	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:14	1444	[DEBUG]	Process image file
2023-10-13	12:46:14	1444	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:14	1444	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:14	1444	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:14	1444	[DEBUG]	Full name target: bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:15	1444	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:15	1444	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:15	1444	[DEBUG]	Query for Media
2023-10-13	12:46:15	1444	[DEBUG]	Executed store
2023-10-13	12:46:15	1444	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15960'
2023-10-13	12:46:15	1444	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:15	1444	[DEBUG]	Executed store
2023-10-13	12:46:15	1444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860936','15960','1')
2023-10-13	12:46:15	1444	[DEBUG]	Store product image relation
2023-10-13	12:46:15	1444	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:15	1444	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860936 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:15	1444	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:15	1444	[DEBUG]	Executed store
2023-10-13	12:46:15	1444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860936','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:15	1444	[DEBUG]	Checking manufacturer
2023-10-13	12:46:15	1444	[DEBUG]	Load a row
2023-10-13	12:46:15	1444	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:15	1444	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:15	1444	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:15	1444	[DEBUG]	Executed store
2023-10-13	12:46:15	1444	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:15	1444	[DEBUG]	Manufacturer exists
2023-10-13	12:46:15	1444	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:15	1444	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:15	1444	[DEBUG]	Executed store
2023-10-13	12:46:15	1444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860936','32')
2023-10-13	12:46:15	1444	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:15	1444	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:15	1444	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860936 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:15	1444	[DEBUG]	Store custom available field
2023-10-13	12:46:15	1444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860936,3,'',1)
2023-10-13	12:46:15	1444	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:15	1444	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:46:15	1444	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860936 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:15	1444	[DEBUG]	Store custom available field
2023-10-13	12:46:15	1444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860936,6,'38',3)
2023-10-13	12:46:15	1444	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:15	1444	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:15	1444	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860935
2023-10-13	12:46:15	1444	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:15	1444	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1860935\":[1860935,8,1,\"choisir la taille\"],\"1860936\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1860935
2023-10-13	12:46:15	1444	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:15	1444	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860936
2023-10-13	12:46:15	1445	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:15	1445	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:15	1445	[DEBUG]	Use field value for field taille
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:15	1445	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:15	1445	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:15	1445	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:15	1445	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:15	1445	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:15	1445	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:15	1445	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:15	1445	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:15	1445	[DEBUG]	Use field value for field published
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:15	1445	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field override
2023-10-13	12:46:15	1445	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:15	1445	[DEBUG]	Use field value for field slug
2023-10-13	12:46:15	1445	[DEBUG]	Process line 1445
2023-10-13	12:46:15	1445	[DEBUG]	Load a row
2023-10-13	12:46:15	1445	[DEBUG]	Processing item: 1000000114096
2023-10-13	12:46:15	1445	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:15	1445	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:15	1445	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_27'
2023-10-13	12:46:15	1445	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:15	1445	[DEBUG]	Processing product tax
2023-10-13	12:46:15	1445	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:15	1445	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:15	1445	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:15	1445	[DEBUG]	Query for Product
2023-10-13	12:46:15	1445	[DEBUG]	Executed store
2023-10-13	12:46:15	1445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860935','1000000114096','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:15	1445	[DEBUG]	No parent found
2023-10-13	12:46:15	1445	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860935 AND customfield_value = 'stockable'
2023-10-13	12:46:15	1445	[DEBUG]	Check product language entry
2023-10-13	12:46:15	1445	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860937
2023-10-13	12:46:15	1445	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:15	1445	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114096' AND `virtuemart_product_id` != 1860937
2023-10-13	12:46:15	1445	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:15	1445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860937, '1000000114096')
2023-10-13	12:46:15	1445	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:15	1445	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-39' AND `virtuemart_product_id` != 1860937
2023-10-13	12:46:15	1445	[DEBUG]	Query for ProductLang
2023-10-13	12:46:15	1445	[DEBUG]	Executed store
2023-10-13	12:46:15	1445	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Orange (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-39' WHERE `virtuemart_product_id` = '1860937'
2023-10-13	12:46:15	1445	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:15	1445	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:15	1445	[DEBUG]	Process image file
2023-10-13	12:46:15	1445	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:15	1445	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:15	1445	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:15	1445	[DEBUG]	Full name target: bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:16	1445	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:16	1445	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:16	1445	[DEBUG]	Query for Media
2023-10-13	12:46:16	1445	[DEBUG]	Executed store
2023-10-13	12:46:16	1445	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15960'
2023-10-13	12:46:16	1445	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:16	1445	[DEBUG]	Executed store
2023-10-13	12:46:16	1445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860937','15960','1')
2023-10-13	12:46:16	1445	[DEBUG]	Store product image relation
2023-10-13	12:46:16	1445	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:16	1445	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860937 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:16	1445	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:16	1445	[DEBUG]	Executed store
2023-10-13	12:46:16	1445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860937','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:16	1445	[DEBUG]	Checking manufacturer
2023-10-13	12:46:16	1445	[DEBUG]	Load a row
2023-10-13	12:46:16	1445	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:16	1445	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:16	1445	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:16	1445	[DEBUG]	Executed store
2023-10-13	12:46:16	1445	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:16	1445	[DEBUG]	Manufacturer exists
2023-10-13	12:46:16	1445	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:16	1445	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:16	1445	[DEBUG]	Executed store
2023-10-13	12:46:16	1445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860937','32')
2023-10-13	12:46:16	1445	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:16	1445	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:16	1445	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860937 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:16	1445	[DEBUG]	Store custom available field
2023-10-13	12:46:16	1445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860937,3,'',1)
2023-10-13	12:46:16	1445	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:16	1445	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:46:16	1445	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860937 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:16	1445	[DEBUG]	Store custom available field
2023-10-13	12:46:16	1445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860937,6,'39',3)
2023-10-13	12:46:16	1445	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:16	1445	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:16	1445	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860935
2023-10-13	12:46:16	1445	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:16	1445	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1860935\":[1860935,8,1,\"choisir la taille\"],\"1860936\":[\"38\"],\"1860937\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1860935
2023-10-13	12:46:16	1445	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:16	1445	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860937
2023-10-13	12:46:16	1446	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:16	1446	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:16	1446	[DEBUG]	Use field value for field taille
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:16	1446	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:16	1446	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:16	1446	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:16	1446	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:16	1446	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:16	1446	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:16	1446	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:16	1446	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:16	1446	[DEBUG]	Use field value for field published
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:16	1446	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field override
2023-10-13	12:46:16	1446	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:16	1446	[DEBUG]	Use field value for field slug
2023-10-13	12:46:16	1446	[DEBUG]	Process line 1446
2023-10-13	12:46:16	1446	[DEBUG]	Load a row
2023-10-13	12:46:16	1446	[DEBUG]	Processing item: 8435466215682
2023-10-13	12:46:16	1446	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:16	1446	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:16	1446	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_27'
2023-10-13	12:46:16	1446	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:16	1446	[DEBUG]	Processing product tax
2023-10-13	12:46:16	1446	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:16	1446	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:16	1446	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:16	1446	[DEBUG]	Query for Product
2023-10-13	12:46:16	1446	[DEBUG]	Executed store
2023-10-13	12:46:16	1446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860935','8435466215682','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:16	1446	[DEBUG]	No parent found
2023-10-13	12:46:16	1446	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860935 AND customfield_value = 'stockable'
2023-10-13	12:46:16	1446	[DEBUG]	Check product language entry
2023-10-13	12:46:16	1446	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860938
2023-10-13	12:46:16	1446	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:16	1446	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215682' AND `virtuemart_product_id` != 1860938
2023-10-13	12:46:16	1446	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:16	1446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860938, '8435466215682')
2023-10-13	12:46:16	1446	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:16	1446	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-40' AND `virtuemart_product_id` != 1860938
2023-10-13	12:46:16	1446	[DEBUG]	Query for ProductLang
2023-10-13	12:46:16	1446	[DEBUG]	Executed store
2023-10-13	12:46:16	1446	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Orange (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-40' WHERE `virtuemart_product_id` = '1860938'
2023-10-13	12:46:16	1446	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:16	1446	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:16	1446	[DEBUG]	Process image file
2023-10-13	12:46:16	1446	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:16	1446	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:16	1446	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:16	1446	[DEBUG]	Full name target: bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:17	1446	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:17	1446	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:17	1446	[DEBUG]	Query for Media
2023-10-13	12:46:17	1446	[DEBUG]	Executed store
2023-10-13	12:46:17	1446	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15960'
2023-10-13	12:46:17	1446	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:17	1446	[DEBUG]	Executed store
2023-10-13	12:46:17	1446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860938','15960','1')
2023-10-13	12:46:17	1446	[DEBUG]	Store product image relation
2023-10-13	12:46:17	1446	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:17	1446	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860938 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:17	1446	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:17	1446	[DEBUG]	Executed store
2023-10-13	12:46:17	1446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860938','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:17	1446	[DEBUG]	Checking manufacturer
2023-10-13	12:46:17	1446	[DEBUG]	Load a row
2023-10-13	12:46:17	1446	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:17	1446	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:17	1446	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:17	1446	[DEBUG]	Executed store
2023-10-13	12:46:17	1446	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:17	1446	[DEBUG]	Manufacturer exists
2023-10-13	12:46:17	1446	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:17	1446	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:17	1446	[DEBUG]	Executed store
2023-10-13	12:46:17	1446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860938','32')
2023-10-13	12:46:17	1446	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:17	1446	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:17	1446	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860938 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:17	1446	[DEBUG]	Store custom available field
2023-10-13	12:46:17	1446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860938,3,'',1)
2023-10-13	12:46:17	1446	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:17	1446	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:46:17	1446	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860938 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:17	1446	[DEBUG]	Store custom available field
2023-10-13	12:46:17	1446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860938,6,'40',3)
2023-10-13	12:46:17	1446	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:17	1446	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:17	1446	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860935
2023-10-13	12:46:17	1446	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:17	1446	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1860935\":[1860935,8,1,\"choisir la taille\"],\"1860936\":[\"38\"],\"1860937\":[\"39\"],\"1860938\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1860935
2023-10-13	12:46:17	1446	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:17	1446	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860938
2023-10-13	12:46:17	1447	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:17	1447	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:17	1447	[DEBUG]	Use field value for field taille
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:17	1447	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:17	1447	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:17	1447	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:17	1447	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:17	1447	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:17	1447	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:17	1447	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:17	1447	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:17	1447	[DEBUG]	Use field value for field published
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:17	1447	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field override
2023-10-13	12:46:17	1447	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:17	1447	[DEBUG]	Use field value for field slug
2023-10-13	12:46:17	1447	[DEBUG]	Process line 1447
2023-10-13	12:46:17	1447	[DEBUG]	Load a row
2023-10-13	12:46:17	1447	[DEBUG]	Processing item: 1000000114119
2023-10-13	12:46:17	1447	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:17	1447	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:17	1447	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_27'
2023-10-13	12:46:17	1447	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:17	1447	[DEBUG]	Processing product tax
2023-10-13	12:46:17	1447	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:17	1447	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:17	1447	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:17	1447	[DEBUG]	Query for Product
2023-10-13	12:46:17	1447	[DEBUG]	Executed store
2023-10-13	12:46:17	1447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860935','1000000114119','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:17	1447	[DEBUG]	No parent found
2023-10-13	12:46:17	1447	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860935 AND customfield_value = 'stockable'
2023-10-13	12:46:17	1447	[DEBUG]	Check product language entry
2023-10-13	12:46:17	1447	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860939
2023-10-13	12:46:17	1447	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:17	1447	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114119' AND `virtuemart_product_id` != 1860939
2023-10-13	12:46:17	1447	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:17	1447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860939, '1000000114119')
2023-10-13	12:46:17	1447	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:17	1447	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-41' AND `virtuemart_product_id` != 1860939
2023-10-13	12:46:17	1447	[DEBUG]	Query for ProductLang
2023-10-13	12:46:17	1447	[DEBUG]	Executed store
2023-10-13	12:46:17	1447	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Orange (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-41' WHERE `virtuemart_product_id` = '1860939'
2023-10-13	12:46:17	1447	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:17	1447	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:17	1447	[DEBUG]	Process image file
2023-10-13	12:46:17	1447	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:17	1447	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:17	1447	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:17	1447	[DEBUG]	Full name target: bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:18	1447	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:18	1447	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:18	1447	[DEBUG]	Query for Media
2023-10-13	12:46:18	1447	[DEBUG]	Executed store
2023-10-13	12:46:18	1447	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15960'
2023-10-13	12:46:18	1447	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:18	1447	[DEBUG]	Executed store
2023-10-13	12:46:18	1447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860939','15960','1')
2023-10-13	12:46:18	1447	[DEBUG]	Store product image relation
2023-10-13	12:46:18	1447	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:18	1447	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860939 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:18	1447	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:18	1447	[DEBUG]	Executed store
2023-10-13	12:46:18	1447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860939','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:18	1447	[DEBUG]	Checking manufacturer
2023-10-13	12:46:18	1447	[DEBUG]	Load a row
2023-10-13	12:46:18	1447	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:18	1447	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:18	1447	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:18	1447	[DEBUG]	Executed store
2023-10-13	12:46:18	1447	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:18	1447	[DEBUG]	Manufacturer exists
2023-10-13	12:46:18	1447	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:18	1447	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:18	1447	[DEBUG]	Executed store
2023-10-13	12:46:18	1447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860939','32')
2023-10-13	12:46:18	1447	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:18	1447	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:18	1447	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860939 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:18	1447	[DEBUG]	Store custom available field
2023-10-13	12:46:18	1447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860939,3,'',1)
2023-10-13	12:46:18	1447	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:18	1447	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:46:18	1447	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860939 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:18	1447	[DEBUG]	Store custom available field
2023-10-13	12:46:18	1447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860939,6,'41',3)
2023-10-13	12:46:18	1447	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:18	1447	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:18	1447	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860935
2023-10-13	12:46:18	1447	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:18	1447	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1860935\":[1860935,8,1,\"choisir la taille\"],\"1860936\":[\"38\"],\"1860937\":[\"39\"],\"1860938\":[\"40\"],\"1860939\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1860935
2023-10-13	12:46:18	1447	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:18	1447	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860939
2023-10-13	12:46:18	1448	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:18	1448	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:18	1448	[DEBUG]	Use field value for field taille
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:18	1448	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:18	1448	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:18	1448	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:18	1448	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:18	1448	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:18	1448	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:18	1448	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:18	1448	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:18	1448	[DEBUG]	Use field value for field published
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:18	1448	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field override
2023-10-13	12:46:18	1448	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:18	1448	[DEBUG]	Use field value for field slug
2023-10-13	12:46:18	1448	[DEBUG]	Process line 1448
2023-10-13	12:46:18	1448	[DEBUG]	Load a row
2023-10-13	12:46:18	1448	[DEBUG]	Processing item: 8435466215699
2023-10-13	12:46:18	1448	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:18	1448	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:18	1448	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_27'
2023-10-13	12:46:18	1448	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:18	1448	[DEBUG]	Processing product tax
2023-10-13	12:46:18	1448	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:18	1448	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:18	1448	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:18	1448	[DEBUG]	Query for Product
2023-10-13	12:46:18	1448	[DEBUG]	Executed store
2023-10-13	12:46:18	1448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860935','8435466215699','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:18	1448	[DEBUG]	No parent found
2023-10-13	12:46:18	1448	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860935 AND customfield_value = 'stockable'
2023-10-13	12:46:18	1448	[DEBUG]	Check product language entry
2023-10-13	12:46:18	1448	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860940
2023-10-13	12:46:18	1448	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:18	1448	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215699' AND `virtuemart_product_id` != 1860940
2023-10-13	12:46:18	1448	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:18	1448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860940, '8435466215699')
2023-10-13	12:46:18	1448	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:18	1448	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-42' AND `virtuemart_product_id` != 1860940
2023-10-13	12:46:18	1448	[DEBUG]	Query for ProductLang
2023-10-13	12:46:18	1448	[DEBUG]	Executed store
2023-10-13	12:46:18	1448	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Orange (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-42' WHERE `virtuemart_product_id` = '1860940'
2023-10-13	12:46:18	1448	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:18	1448	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:18	1448	[DEBUG]	Process image file
2023-10-13	12:46:18	1448	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:18	1448	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:18	1448	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:18	1448	[DEBUG]	Full name target: bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:19	1448	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:19	1448	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:19	1448	[DEBUG]	Query for Media
2023-10-13	12:46:19	1448	[DEBUG]	Executed store
2023-10-13	12:46:19	1448	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15960'
2023-10-13	12:46:19	1448	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:19	1448	[DEBUG]	Executed store
2023-10-13	12:46:19	1448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860940','15960','1')
2023-10-13	12:46:19	1448	[DEBUG]	Store product image relation
2023-10-13	12:46:19	1448	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:19	1448	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860940 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:19	1448	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:19	1448	[DEBUG]	Executed store
2023-10-13	12:46:19	1448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860940','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:19	1448	[DEBUG]	Checking manufacturer
2023-10-13	12:46:19	1448	[DEBUG]	Load a row
2023-10-13	12:46:19	1448	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:19	1448	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:19	1448	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:19	1448	[DEBUG]	Executed store
2023-10-13	12:46:19	1448	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:19	1448	[DEBUG]	Manufacturer exists
2023-10-13	12:46:19	1448	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:19	1448	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:19	1448	[DEBUG]	Executed store
2023-10-13	12:46:19	1448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860940','32')
2023-10-13	12:46:19	1448	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:19	1448	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:19	1448	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860940 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:19	1448	[DEBUG]	Store custom available field
2023-10-13	12:46:19	1448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860940,3,'',1)
2023-10-13	12:46:19	1448	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:19	1448	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:46:19	1448	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860940 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:19	1448	[DEBUG]	Store custom available field
2023-10-13	12:46:19	1448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860940,6,'42',3)
2023-10-13	12:46:19	1448	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:19	1448	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:19	1448	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860935
2023-10-13	12:46:19	1448	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:19	1448	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1860935\":[1860935,8,1,\"choisir la taille\"],\"1860936\":[\"38\"],\"1860937\":[\"39\"],\"1860938\":[\"40\"],\"1860939\":[\"41\"],\"1860940\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1860935
2023-10-13	12:46:19	1448	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:19	1448	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860940
2023-10-13	12:46:19	1449	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:19	1449	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:19	1449	[DEBUG]	Use field value for field taille
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:19	1449	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:19	1449	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:19	1449	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:19	1449	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:19	1449	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:19	1449	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:19	1449	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:19	1449	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:19	1449	[DEBUG]	Use field value for field published
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:19	1449	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field override
2023-10-13	12:46:19	1449	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:19	1449	[DEBUG]	Use field value for field slug
2023-10-13	12:46:19	1449	[DEBUG]	Process line 1449
2023-10-13	12:46:19	1449	[DEBUG]	Load a row
2023-10-13	12:46:19	1449	[DEBUG]	Processing item: 1000000114133
2023-10-13	12:46:19	1449	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:19	1449	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:19	1449	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_27'
2023-10-13	12:46:19	1449	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:19	1449	[DEBUG]	Processing product tax
2023-10-13	12:46:19	1449	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:19	1449	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:19	1449	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:19	1449	[DEBUG]	Query for Product
2023-10-13	12:46:19	1449	[DEBUG]	Executed store
2023-10-13	12:46:19	1449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860935','1000000114133','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:19	1449	[DEBUG]	No parent found
2023-10-13	12:46:19	1449	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860935 AND customfield_value = 'stockable'
2023-10-13	12:46:19	1449	[DEBUG]	Check product language entry
2023-10-13	12:46:19	1449	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860941
2023-10-13	12:46:19	1449	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:19	1449	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114133' AND `virtuemart_product_id` != 1860941
2023-10-13	12:46:19	1449	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:19	1449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860941, '1000000114133')
2023-10-13	12:46:19	1449	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:19	1449	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-43' AND `virtuemart_product_id` != 1860941
2023-10-13	12:46:19	1449	[DEBUG]	Query for ProductLang
2023-10-13	12:46:19	1449	[DEBUG]	Executed store
2023-10-13	12:46:19	1449	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Orange (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-43' WHERE `virtuemart_product_id` = '1860941'
2023-10-13	12:46:19	1449	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:19	1449	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:19	1449	[DEBUG]	Process image file
2023-10-13	12:46:19	1449	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:19	1449	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:19	1449	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:19	1449	[DEBUG]	Full name target: bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:20	1449	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:20	1449	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:20	1449	[DEBUG]	Query for Media
2023-10-13	12:46:20	1449	[DEBUG]	Executed store
2023-10-13	12:46:20	1449	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15960'
2023-10-13	12:46:20	1449	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:20	1449	[DEBUG]	Executed store
2023-10-13	12:46:20	1449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860941','15960','1')
2023-10-13	12:46:20	1449	[DEBUG]	Store product image relation
2023-10-13	12:46:20	1449	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:20	1449	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860941 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:20	1449	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:20	1449	[DEBUG]	Executed store
2023-10-13	12:46:20	1449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860941','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:20	1449	[DEBUG]	Checking manufacturer
2023-10-13	12:46:20	1449	[DEBUG]	Load a row
2023-10-13	12:46:20	1449	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:20	1449	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:20	1449	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:20	1449	[DEBUG]	Executed store
2023-10-13	12:46:20	1449	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:20	1449	[DEBUG]	Manufacturer exists
2023-10-13	12:46:20	1449	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:20	1449	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:20	1449	[DEBUG]	Executed store
2023-10-13	12:46:20	1449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860941','32')
2023-10-13	12:46:20	1449	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:20	1449	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:20	1449	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860941 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:20	1449	[DEBUG]	Store custom available field
2023-10-13	12:46:20	1449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860941,3,'',1)
2023-10-13	12:46:20	1449	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:20	1449	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:46:20	1449	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860941 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:20	1449	[DEBUG]	Store custom available field
2023-10-13	12:46:20	1449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860941,6,'43',3)
2023-10-13	12:46:20	1449	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:20	1449	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:20	1449	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860935
2023-10-13	12:46:20	1449	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:20	1449	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1860935\":[1860935,8,1,\"choisir la taille\"],\"1860936\":[\"38\"],\"1860937\":[\"39\"],\"1860938\":[\"40\"],\"1860939\":[\"41\"],\"1860940\":[\"42\"],\"1860941\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1860935
2023-10-13	12:46:20	1449	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:20	1449	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860941
2023-10-13	12:46:20	1450	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:20	1450	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:20	1450	[DEBUG]	Use field value for field taille
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:20	1450	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:20	1450	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:20	1450	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:20	1450	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:20	1450	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:20	1450	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:20	1450	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:20	1450	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:20	1450	[DEBUG]	Use field value for field published
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:20	1450	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field override
2023-10-13	12:46:20	1450	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:20	1450	[DEBUG]	Use field value for field slug
2023-10-13	12:46:20	1450	[DEBUG]	Process line 1450
2023-10-13	12:46:20	1450	[DEBUG]	Load a row
2023-10-13	12:46:20	1450	[DEBUG]	Processing item: 1000000114140
2023-10-13	12:46:20	1450	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:20	1450	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:20	1450	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_27'
2023-10-13	12:46:20	1450	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:20	1450	[DEBUG]	Processing product tax
2023-10-13	12:46:20	1450	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:20	1450	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:20	1450	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:20	1450	[DEBUG]	Query for Product
2023-10-13	12:46:20	1450	[DEBUG]	Executed store
2023-10-13	12:46:20	1450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860935','1000000114140','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:20	1450	[DEBUG]	No parent found
2023-10-13	12:46:20	1450	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860935 AND customfield_value = 'stockable'
2023-10-13	12:46:20	1450	[DEBUG]	Check product language entry
2023-10-13	12:46:20	1450	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860942
2023-10-13	12:46:20	1450	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:20	1450	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114140' AND `virtuemart_product_id` != 1860942
2023-10-13	12:46:20	1450	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:20	1450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860942, '1000000114140')
2023-10-13	12:46:20	1450	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:20	1450	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-44' AND `virtuemart_product_id` != 1860942
2023-10-13	12:46:20	1450	[DEBUG]	Query for ProductLang
2023-10-13	12:46:20	1450	[DEBUG]	Executed store
2023-10-13	12:46:20	1450	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Orange (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-44' WHERE `virtuemart_product_id` = '1860942'
2023-10-13	12:46:20	1450	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:20	1450	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:20	1450	[DEBUG]	Process image file
2023-10-13	12:46:20	1450	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:20	1450	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:20	1450	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:20	1450	[DEBUG]	Full name target: bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:21	1450	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:21	1450	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:21	1450	[DEBUG]	Query for Media
2023-10-13	12:46:21	1450	[DEBUG]	Executed store
2023-10-13	12:46:21	1450	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15960'
2023-10-13	12:46:21	1450	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:21	1450	[DEBUG]	Executed store
2023-10-13	12:46:21	1450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860942','15960','1')
2023-10-13	12:46:21	1450	[DEBUG]	Store product image relation
2023-10-13	12:46:21	1450	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:21	1450	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860942 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:21	1450	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:21	1450	[DEBUG]	Executed store
2023-10-13	12:46:21	1450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860942','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:21	1450	[DEBUG]	Checking manufacturer
2023-10-13	12:46:21	1450	[DEBUG]	Load a row
2023-10-13	12:46:21	1450	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:21	1450	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:21	1450	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:21	1450	[DEBUG]	Executed store
2023-10-13	12:46:21	1450	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:21	1450	[DEBUG]	Manufacturer exists
2023-10-13	12:46:21	1450	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:21	1450	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:21	1450	[DEBUG]	Executed store
2023-10-13	12:46:21	1450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860942','32')
2023-10-13	12:46:21	1450	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:21	1450	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:21	1450	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860942 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:21	1450	[DEBUG]	Store custom available field
2023-10-13	12:46:21	1450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860942,3,'',1)
2023-10-13	12:46:21	1450	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:21	1450	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:46:21	1450	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860942 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:21	1450	[DEBUG]	Store custom available field
2023-10-13	12:46:21	1450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860942,6,'44',3)
2023-10-13	12:46:21	1450	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:21	1450	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:21	1450	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860935
2023-10-13	12:46:21	1450	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:21	1450	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1860935\":[1860935,8,1,\"choisir la taille\"],\"1860936\":[\"38\"],\"1860937\":[\"39\"],\"1860938\":[\"40\"],\"1860939\":[\"41\"],\"1860940\":[\"42\"],\"1860941\":[\"43\"],\"1860942\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1860935
2023-10-13	12:46:21	1450	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:21	1450	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860942
2023-10-13	12:46:21	1451	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:21	1451	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:21	1451	[DEBUG]	Use field value for field taille
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:21	1451	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:21	1451	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:21	1451	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:21	1451	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:21	1451	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:21	1451	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:21	1451	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:21	1451	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:21	1451	[DEBUG]	Use field value for field published
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:21	1451	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field override
2023-10-13	12:46:21	1451	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:21	1451	[DEBUG]	Use field value for field slug
2023-10-13	12:46:21	1451	[DEBUG]	Process line 1451
2023-10-13	12:46:21	1451	[DEBUG]	Load a row
2023-10-13	12:46:21	1451	[DEBUG]	Processing item: 1000000114157
2023-10-13	12:46:21	1451	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:21	1451	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:21	1451	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_27'
2023-10-13	12:46:21	1451	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:21	1451	[DEBUG]	Processing product tax
2023-10-13	12:46:21	1451	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:21	1451	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:21	1451	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:21	1451	[DEBUG]	Query for Product
2023-10-13	12:46:21	1451	[DEBUG]	Executed store
2023-10-13	12:46:21	1451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860935','1000000114157','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:21	1451	[DEBUG]	No parent found
2023-10-13	12:46:21	1451	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860935 AND customfield_value = 'stockable'
2023-10-13	12:46:21	1451	[DEBUG]	Check product language entry
2023-10-13	12:46:21	1451	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860943
2023-10-13	12:46:21	1451	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:21	1451	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114157' AND `virtuemart_product_id` != 1860943
2023-10-13	12:46:21	1451	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:21	1451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860943, '1000000114157')
2023-10-13	12:46:21	1451	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:21	1451	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-45' AND `virtuemart_product_id` != 1860943
2023-10-13	12:46:21	1451	[DEBUG]	Query for ProductLang
2023-10-13	12:46:21	1451	[DEBUG]	Executed store
2023-10-13	12:46:21	1451	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Orange (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-45' WHERE `virtuemart_product_id` = '1860943'
2023-10-13	12:46:21	1451	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:21	1451	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:21	1451	[DEBUG]	Process image file
2023-10-13	12:46:21	1451	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:21	1451	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:21	1451	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:21	1451	[DEBUG]	Full name target: bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:22	1451	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:22	1451	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:22	1451	[DEBUG]	Query for Media
2023-10-13	12:46:22	1451	[DEBUG]	Executed store
2023-10-13	12:46:22	1451	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15960'
2023-10-13	12:46:22	1451	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:22	1451	[DEBUG]	Executed store
2023-10-13	12:46:22	1451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860943','15960','1')
2023-10-13	12:46:22	1451	[DEBUG]	Store product image relation
2023-10-13	12:46:22	1451	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:22	1451	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860943 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:22	1451	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:22	1451	[DEBUG]	Executed store
2023-10-13	12:46:22	1451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860943','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:22	1451	[DEBUG]	Checking manufacturer
2023-10-13	12:46:22	1451	[DEBUG]	Load a row
2023-10-13	12:46:22	1451	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:22	1451	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:22	1451	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:22	1451	[DEBUG]	Executed store
2023-10-13	12:46:22	1451	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:22	1451	[DEBUG]	Manufacturer exists
2023-10-13	12:46:22	1451	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:22	1451	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:22	1451	[DEBUG]	Executed store
2023-10-13	12:46:22	1451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860943','32')
2023-10-13	12:46:22	1451	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:22	1451	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:22	1451	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860943 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:22	1451	[DEBUG]	Store custom available field
2023-10-13	12:46:22	1451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860943,3,'',1)
2023-10-13	12:46:22	1451	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:22	1451	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:46:22	1451	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860943 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:22	1451	[DEBUG]	Store custom available field
2023-10-13	12:46:22	1451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860943,6,'45',3)
2023-10-13	12:46:22	1451	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:22	1451	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:22	1451	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860935
2023-10-13	12:46:22	1451	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:22	1451	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1860935\":[1860935,8,1,\"choisir la taille\"],\"1860936\":[\"38\"],\"1860937\":[\"39\"],\"1860938\":[\"40\"],\"1860939\":[\"41\"],\"1860940\":[\"42\"],\"1860941\":[\"43\"],\"1860942\":[\"44\"],\"1860943\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1860935
2023-10-13	12:46:22	1451	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:22	1451	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860943
2023-10-13	12:46:22	1452	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:22	1452	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:22	1452	[DEBUG]	Use field value for field taille
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:22	1452	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:22	1452	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:22	1452	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:22	1452	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:22	1452	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:22	1452	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:22	1452	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:22	1452	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:22	1452	[DEBUG]	Use field value for field published
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:22	1452	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field override
2023-10-13	12:46:22	1452	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:22	1452	[DEBUG]	Use field value for field slug
2023-10-13	12:46:22	1452	[DEBUG]	Process line 1452
2023-10-13	12:46:22	1452	[DEBUG]	Load a row
2023-10-13	12:46:22	1452	[DEBUG]	Processing item: 8435466215637
2023-10-13	12:46:22	1452	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:22	1452	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:22	1452	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_27'
2023-10-13	12:46:22	1452	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:22	1452	[DEBUG]	Processing product tax
2023-10-13	12:46:22	1452	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:22	1452	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:22	1452	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:22	1452	[DEBUG]	Query for Product
2023-10-13	12:46:22	1452	[DEBUG]	Executed store
2023-10-13	12:46:22	1452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860935','8435466215637','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:22	1452	[DEBUG]	No parent found
2023-10-13	12:46:22	1452	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860935 AND customfield_value = 'stockable'
2023-10-13	12:46:22	1452	[DEBUG]	Check product language entry
2023-10-13	12:46:22	1452	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860944
2023-10-13	12:46:22	1452	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:22	1452	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215637' AND `virtuemart_product_id` != 1860944
2023-10-13	12:46:22	1452	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:22	1452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860944, '8435466215637')
2023-10-13	12:46:22	1452	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:22	1452	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-46' AND `virtuemart_product_id` != 1860944
2023-10-13	12:46:22	1452	[DEBUG]	Query for ProductLang
2023-10-13	12:46:22	1452	[DEBUG]	Executed store
2023-10-13	12:46:22	1452	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Orange (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-46' WHERE `virtuemart_product_id` = '1860944'
2023-10-13	12:46:22	1452	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:22	1452	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:22	1452	[DEBUG]	Process image file
2023-10-13	12:46:22	1452	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:22	1452	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:22	1452	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:22	1452	[DEBUG]	Full name target: bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:23	1452	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:23	1452	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:23	1452	[DEBUG]	Query for Media
2023-10-13	12:46:23	1452	[DEBUG]	Executed store
2023-10-13	12:46:23	1452	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15960'
2023-10-13	12:46:23	1452	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:23	1452	[DEBUG]	Executed store
2023-10-13	12:46:23	1452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860944','15960','1')
2023-10-13	12:46:23	1452	[DEBUG]	Store product image relation
2023-10-13	12:46:23	1452	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:23	1452	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860944 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:23	1452	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:23	1452	[DEBUG]	Executed store
2023-10-13	12:46:23	1452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860944','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:23	1452	[DEBUG]	Checking manufacturer
2023-10-13	12:46:23	1452	[DEBUG]	Load a row
2023-10-13	12:46:23	1452	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:23	1452	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:23	1452	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:23	1452	[DEBUG]	Executed store
2023-10-13	12:46:23	1452	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:23	1452	[DEBUG]	Manufacturer exists
2023-10-13	12:46:23	1452	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:23	1452	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:23	1452	[DEBUG]	Executed store
2023-10-13	12:46:23	1452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860944','32')
2023-10-13	12:46:23	1452	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:23	1452	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:23	1452	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860944 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:23	1452	[DEBUG]	Store custom available field
2023-10-13	12:46:23	1452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860944,3,'',1)
2023-10-13	12:46:23	1452	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:23	1452	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:46:23	1452	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860944 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:23	1452	[DEBUG]	Store custom available field
2023-10-13	12:46:23	1452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860944,6,'46',3)
2023-10-13	12:46:23	1452	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:23	1452	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:23	1452	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860935
2023-10-13	12:46:23	1452	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:23	1452	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1860935\":[1860935,8,1,\"choisir la taille\"],\"1860936\":[\"38\"],\"1860937\":[\"39\"],\"1860938\":[\"40\"],\"1860939\":[\"41\"],\"1860940\":[\"42\"],\"1860941\":[\"43\"],\"1860942\":[\"44\"],\"1860943\":[\"45\"],\"1860944\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1860935
2023-10-13	12:46:23	1452	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:23	1452	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860944
2023-10-13	12:46:23	1453	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:23	1453	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:23	1453	[DEBUG]	Use field value for field taille
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:23	1453	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:23	1453	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:23	1453	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:23	1453	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:23	1453	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:23	1453	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:23	1453	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:23	1453	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:23	1453	[DEBUG]	Use field value for field published
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:23	1453	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field override
2023-10-13	12:46:23	1453	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:23	1453	[DEBUG]	Use field value for field slug
2023-10-13	12:46:23	1453	[DEBUG]	Process line 1453
2023-10-13	12:46:23	1453	[DEBUG]	Load a row
2023-10-13	12:46:23	1453	[DEBUG]	Processing item: 1000000114171
2023-10-13	12:46:23	1453	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:23	1453	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:23	1453	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_27'
2023-10-13	12:46:23	1453	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:23	1453	[DEBUG]	Processing product tax
2023-10-13	12:46:23	1453	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:23	1453	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:23	1453	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:23	1453	[DEBUG]	Query for Product
2023-10-13	12:46:23	1453	[DEBUG]	Executed store
2023-10-13	12:46:23	1453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860935','1000000114171','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:23	1453	[DEBUG]	No parent found
2023-10-13	12:46:23	1453	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860935 AND customfield_value = 'stockable'
2023-10-13	12:46:23	1453	[DEBUG]	Check product language entry
2023-10-13	12:46:23	1453	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860945
2023-10-13	12:46:23	1453	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:23	1453	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114171' AND `virtuemart_product_id` != 1860945
2023-10-13	12:46:23	1453	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:23	1453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860945, '1000000114171')
2023-10-13	12:46:23	1453	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:23	1453	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-47' AND `virtuemart_product_id` != 1860945
2023-10-13	12:46:23	1453	[DEBUG]	Query for ProductLang
2023-10-13	12:46:23	1453	[DEBUG]	Executed store
2023-10-13	12:46:23	1453	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Orange (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-orange-47' WHERE `virtuemart_product_id` = '1860945'
2023-10-13	12:46:23	1453	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:23	1453	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:23	1453	[DEBUG]	Process image file
2023-10-13	12:46:23	1453	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:23	1453	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:23	1453	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:23	1453	[DEBUG]	Full name target: bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:24	1453	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:24	1453	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:24	1453	[DEBUG]	Query for Media
2023-10-13	12:46:24	1453	[DEBUG]	Executed store
2023-10-13	12:46:24	1453	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34058_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15960'
2023-10-13	12:46:24	1453	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:24	1453	[DEBUG]	Executed store
2023-10-13	12:46:24	1453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860945','15960','1')
2023-10-13	12:46:24	1453	[DEBUG]	Store product image relation
2023-10-13	12:46:24	1453	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:24	1453	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860945 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:24	1453	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:24	1453	[DEBUG]	Executed store
2023-10-13	12:46:24	1453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860945','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:24	1453	[DEBUG]	Checking manufacturer
2023-10-13	12:46:24	1453	[DEBUG]	Load a row
2023-10-13	12:46:24	1453	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:24	1453	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:24	1453	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:24	1453	[DEBUG]	Executed store
2023-10-13	12:46:24	1453	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:24	1453	[DEBUG]	Manufacturer exists
2023-10-13	12:46:24	1453	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:24	1453	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:24	1453	[DEBUG]	Executed store
2023-10-13	12:46:24	1453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860945','32')
2023-10-13	12:46:24	1453	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:24	1453	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:24	1453	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860945 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:24	1453	[DEBUG]	Store custom available field
2023-10-13	12:46:24	1453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860945,3,'',1)
2023-10-13	12:46:24	1453	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:24	1453	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:46:24	1453	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860945 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:24	1453	[DEBUG]	Store custom available field
2023-10-13	12:46:24	1453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860945,6,'47',3)
2023-10-13	12:46:24	1453	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:24	1453	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:24	1453	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860935
2023-10-13	12:46:24	1453	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:24	1453	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1860935\":[1860935,8,1,\"choisir la taille\"],\"1860936\":[\"38\"],\"1860937\":[\"39\"],\"1860938\":[\"40\"],\"1860939\":[\"41\"],\"1860940\":[\"42\"],\"1860941\":[\"43\"],\"1860942\":[\"44\"],\"1860943\":[\"45\"],\"1860944\":[\"46\"],\"1860945\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1860935
2023-10-13	12:46:24	1453	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:24	1453	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860945
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:24	1454	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field taille
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field category_path
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:24	1454	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:46:24	1454	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:24	1454	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field product_weight
2023-10-13	12:46:24	1454	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:24	1454	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:24	1454	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field published
2023-10-13	12:46:24	1454	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:24	1454	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field custom_title
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field custom_param
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field override
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field public_price
2023-10-13	12:46:24	1454	[DEBUG]	Use field value for field slug
2023-10-13	12:46:24	1454	[DEBUG]	Process line 1454
2023-10-13	12:46:24	1454	[DEBUG]	Load a row
2023-10-13	12:46:24	1454	[DEBUG]	Processing item: A_5153_40
2023-10-13	12:46:24	1454	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:24	1454	[DEBUG]	Processing product tax
2023-10-13	12:46:24	1454	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:24	1454	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:24	1454	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:24	1454	[DEBUG]	Query for Product
2023-10-13	12:46:24	1454	[DEBUG]	Executed store
2023-10-13	12:46:24	1454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5153_40','0.51','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:24	1454	[DEBUG]	Check product language entry
2023-10-13	12:46:24	1454	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860946
2023-10-13	12:46:24	1454	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:24	1454	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5153_40' AND `virtuemart_product_id` != 1860946
2023-10-13	12:46:24	1454	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:24	1454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860946, 'A_5153_40')
2023-10-13	12:46:24	1454	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:24	1454	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert' AND `virtuemart_product_id` != 1860946
2023-10-13	12:46:24	1454	[DEBUG]	Query for ProductLang
2023-10-13	12:46:24	1454	[DEBUG]	Executed store
2023-10-13	12:46:24	1454	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro Road avec système de ventilation breveté ! 510 gr.<br>N° art fourn : ZAEROROAD',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert' WHERE `virtuemart_product_id` = '1860946'
2023-10-13	12:46:24	1454	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:24	1454	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:24	1454	[DEBUG]	Process image file
2023-10-13	12:46:24	1454	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:24	1454	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:24	1454	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:24	1454	[DEBUG]	Full name target: bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:25	1454	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:25	1454	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:25	1454	[DEBUG]	Query for Media
2023-10-13	12:46:25	1454	[DEBUG]	Executed store
2023-10-13	12:46:25	1454	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15961'
2023-10-13	12:46:25	1454	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:25	1454	[DEBUG]	Executed store
2023-10-13	12:46:25	1454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860946','15961','1')
2023-10-13	12:46:25	1454	[DEBUG]	Store product image relation
2023-10-13	12:46:25	1454	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:25	1454	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860946 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:25	1454	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:25	1454	[DEBUG]	Executed store
2023-10-13	12:46:25	1454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860946','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:25	1454	[DEBUG]	Checking manufacturer
2023-10-13	12:46:25	1454	[DEBUG]	Load a row
2023-10-13	12:46:25	1454	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:25	1454	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:25	1454	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:25	1454	[DEBUG]	Executed store
2023-10-13	12:46:25	1454	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:25	1454	[DEBUG]	Manufacturer exists
2023-10-13	12:46:25	1454	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:25	1454	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:25	1454	[DEBUG]	Executed store
2023-10-13	12:46:25	1454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860946','32')
2023-10-13	12:46:25	1454	[DEBUG]	Find the custom field ID
2023-10-13	12:46:25	1454	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:46:25	1454	[DEBUG]	No custom field ID found
2023-10-13	12:46:25	1454	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:25	1454	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:46:25	1454	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860946 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:25	1454	[DEBUG]	Store custom available field
2023-10-13	12:46:25	1454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860946,3,'179.400277777778',1)
2023-10-13	12:46:25	1454	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:25	1454	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:46:25	1454	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860946 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:25	1454	[DEBUG]	Store custom available field
2023-10-13	12:46:25	1454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860946,6,'choisir la taille',3)
2023-10-13	12:46:25	1454	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:25	1454	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:46:25	1454	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:46:25	1454	[DEBUG]	Find the multi variant product entry
2023-10-13	12:46:25	1454	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860946 AND `virtuemart_custom_id` = 8
2023-10-13	12:46:25	1454	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:46:25	1454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860946,8,1)
2023-10-13	12:46:25	1454	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:25	1454	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860946\":[1860946,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860946
2023-10-13	12:46:25	1454	[DEBUG]	Checking category
2023-10-13	12:46:25	1454	[DEBUG]	Get the existing categories for the product
2023-10-13	12:46:25	1454	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860946
2023-10-13	12:46:25	1454	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:46:25	1454	[DEBUG]	Executed store
2023-10-13	12:46:25	1454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860946','7331')
2023-10-13	12:46:25	1454	[DEBUG]	Delete leftover product categories
2023-10-13	12:46:25	1454	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860946 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:46:25	1454	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:25	1454	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860946
2023-10-13	12:46:25	1455	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:25	1455	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:25	1455	[DEBUG]	Use field value for field taille
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:25	1455	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:25	1455	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:25	1455	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:25	1455	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:25	1455	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:25	1455	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:25	1455	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:25	1455	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:25	1455	[DEBUG]	Use field value for field published
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:25	1455	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field override
2023-10-13	12:46:25	1455	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:25	1455	[DEBUG]	Use field value for field slug
2023-10-13	12:46:25	1455	[DEBUG]	Process line 1455
2023-10-13	12:46:25	1455	[DEBUG]	Load a row
2023-10-13	12:46:25	1455	[DEBUG]	Processing item: 1000000078428
2023-10-13	12:46:25	1455	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:25	1455	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:25	1455	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_40'
2023-10-13	12:46:25	1455	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:25	1455	[DEBUG]	Processing product tax
2023-10-13	12:46:25	1455	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:25	1455	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:25	1455	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:25	1455	[DEBUG]	Query for Product
2023-10-13	12:46:25	1455	[DEBUG]	Executed store
2023-10-13	12:46:25	1455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860946','1000000078428','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:25	1455	[DEBUG]	No parent found
2023-10-13	12:46:25	1455	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860946 AND customfield_value = 'stockable'
2023-10-13	12:46:25	1455	[DEBUG]	Check product language entry
2023-10-13	12:46:25	1455	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860947
2023-10-13	12:46:25	1455	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:25	1455	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078428' AND `virtuemart_product_id` != 1860947
2023-10-13	12:46:25	1455	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:25	1455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860947, '1000000078428')
2023-10-13	12:46:25	1455	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:25	1455	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-38' AND `virtuemart_product_id` != 1860947
2023-10-13	12:46:25	1455	[DEBUG]	Query for ProductLang
2023-10-13	12:46:25	1455	[DEBUG]	Executed store
2023-10-13	12:46:25	1455	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Vert (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-38' WHERE `virtuemart_product_id` = '1860947'
2023-10-13	12:46:25	1455	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:25	1455	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:25	1455	[DEBUG]	Process image file
2023-10-13	12:46:25	1455	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:25	1455	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:25	1455	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:25	1455	[DEBUG]	Full name target: bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:26	1455	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:26	1455	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:26	1455	[DEBUG]	Query for Media
2023-10-13	12:46:26	1455	[DEBUG]	Executed store
2023-10-13	12:46:26	1455	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15961'
2023-10-13	12:46:26	1455	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:26	1455	[DEBUG]	Executed store
2023-10-13	12:46:26	1455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860947','15961','1')
2023-10-13	12:46:26	1455	[DEBUG]	Store product image relation
2023-10-13	12:46:26	1455	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:26	1455	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860947 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:26	1455	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:26	1455	[DEBUG]	Executed store
2023-10-13	12:46:26	1455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860947','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:26	1455	[DEBUG]	Checking manufacturer
2023-10-13	12:46:26	1455	[DEBUG]	Load a row
2023-10-13	12:46:26	1455	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:26	1455	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:26	1455	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:26	1455	[DEBUG]	Executed store
2023-10-13	12:46:26	1455	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:26	1455	[DEBUG]	Manufacturer exists
2023-10-13	12:46:26	1455	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:26	1455	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:26	1455	[DEBUG]	Executed store
2023-10-13	12:46:26	1455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860947','32')
2023-10-13	12:46:26	1455	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:26	1455	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:26	1455	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860947 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:26	1455	[DEBUG]	Store custom available field
2023-10-13	12:46:26	1455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860947,3,'',1)
2023-10-13	12:46:26	1455	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:26	1455	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:46:26	1455	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860947 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:26	1455	[DEBUG]	Store custom available field
2023-10-13	12:46:26	1455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860947,6,'38',3)
2023-10-13	12:46:26	1455	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:26	1455	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:26	1455	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860946
2023-10-13	12:46:26	1455	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:26	1455	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1860946\":[1860946,8,1,\"choisir la taille\"],\"1860947\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1860946
2023-10-13	12:46:26	1455	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:26	1455	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860947
2023-10-13	12:46:26	1456	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:26	1456	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:26	1456	[DEBUG]	Use field value for field taille
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:26	1456	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:26	1456	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:26	1456	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:26	1456	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:26	1456	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:26	1456	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:26	1456	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:26	1456	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:26	1456	[DEBUG]	Use field value for field published
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:26	1456	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field override
2023-10-13	12:46:26	1456	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:26	1456	[DEBUG]	Use field value for field slug
2023-10-13	12:46:26	1456	[DEBUG]	Process line 1456
2023-10-13	12:46:26	1456	[DEBUG]	Load a row
2023-10-13	12:46:26	1456	[DEBUG]	Processing item: 1000000078435
2023-10-13	12:46:26	1456	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:26	1456	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:26	1456	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_40'
2023-10-13	12:46:26	1456	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:26	1456	[DEBUG]	Processing product tax
2023-10-13	12:46:26	1456	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:26	1456	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:26	1456	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:26	1456	[DEBUG]	Query for Product
2023-10-13	12:46:26	1456	[DEBUG]	Executed store
2023-10-13	12:46:26	1456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860946','1000000078435','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:26	1456	[DEBUG]	No parent found
2023-10-13	12:46:26	1456	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860946 AND customfield_value = 'stockable'
2023-10-13	12:46:26	1456	[DEBUG]	Check product language entry
2023-10-13	12:46:26	1456	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860948
2023-10-13	12:46:26	1456	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:26	1456	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078435' AND `virtuemart_product_id` != 1860948
2023-10-13	12:46:26	1456	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:26	1456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860948, '1000000078435')
2023-10-13	12:46:26	1456	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:26	1456	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-39' AND `virtuemart_product_id` != 1860948
2023-10-13	12:46:26	1456	[DEBUG]	Query for ProductLang
2023-10-13	12:46:26	1456	[DEBUG]	Executed store
2023-10-13	12:46:26	1456	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Vert (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-39' WHERE `virtuemart_product_id` = '1860948'
2023-10-13	12:46:26	1456	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:26	1456	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:26	1456	[DEBUG]	Process image file
2023-10-13	12:46:26	1456	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:26	1456	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:26	1456	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:26	1456	[DEBUG]	Full name target: bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:27	1456	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:27	1456	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:27	1456	[DEBUG]	Query for Media
2023-10-13	12:46:27	1456	[DEBUG]	Executed store
2023-10-13	12:46:27	1456	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15961'
2023-10-13	12:46:27	1456	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:27	1456	[DEBUG]	Executed store
2023-10-13	12:46:27	1456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860948','15961','1')
2023-10-13	12:46:27	1456	[DEBUG]	Store product image relation
2023-10-13	12:46:27	1456	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:27	1456	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860948 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:27	1456	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:27	1456	[DEBUG]	Executed store
2023-10-13	12:46:27	1456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860948','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:27	1456	[DEBUG]	Checking manufacturer
2023-10-13	12:46:27	1456	[DEBUG]	Load a row
2023-10-13	12:46:27	1456	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:27	1456	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:27	1456	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:27	1456	[DEBUG]	Executed store
2023-10-13	12:46:27	1456	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:27	1456	[DEBUG]	Manufacturer exists
2023-10-13	12:46:27	1456	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:27	1456	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:27	1456	[DEBUG]	Executed store
2023-10-13	12:46:27	1456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860948','32')
2023-10-13	12:46:27	1456	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:27	1456	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:27	1456	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860948 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:27	1456	[DEBUG]	Store custom available field
2023-10-13	12:46:27	1456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860948,3,'',1)
2023-10-13	12:46:27	1456	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:27	1456	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:46:27	1456	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860948 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:27	1456	[DEBUG]	Store custom available field
2023-10-13	12:46:27	1456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860948,6,'39',3)
2023-10-13	12:46:27	1456	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:27	1456	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:27	1456	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860946
2023-10-13	12:46:27	1456	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:27	1456	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1860946\":[1860946,8,1,\"choisir la taille\"],\"1860947\":[\"38\"],\"1860948\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1860946
2023-10-13	12:46:27	1456	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:27	1456	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860948
2023-10-13	12:46:27	1457	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:27	1457	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:27	1457	[DEBUG]	Use field value for field taille
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:27	1457	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:27	1457	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:27	1457	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:27	1457	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:27	1457	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:27	1457	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:27	1457	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:27	1457	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:27	1457	[DEBUG]	Use field value for field published
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:27	1457	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field override
2023-10-13	12:46:27	1457	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:27	1457	[DEBUG]	Use field value for field slug
2023-10-13	12:46:27	1457	[DEBUG]	Process line 1457
2023-10-13	12:46:27	1457	[DEBUG]	Load a row
2023-10-13	12:46:27	1457	[DEBUG]	Processing item: 1000000078442
2023-10-13	12:46:27	1457	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:27	1457	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:27	1457	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_40'
2023-10-13	12:46:27	1457	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:27	1457	[DEBUG]	Processing product tax
2023-10-13	12:46:27	1457	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:27	1457	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:27	1457	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:27	1457	[DEBUG]	Query for Product
2023-10-13	12:46:27	1457	[DEBUG]	Executed store
2023-10-13	12:46:27	1457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860946','1000000078442','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:27	1457	[DEBUG]	No parent found
2023-10-13	12:46:27	1457	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860946 AND customfield_value = 'stockable'
2023-10-13	12:46:27	1457	[DEBUG]	Check product language entry
2023-10-13	12:46:27	1457	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860949
2023-10-13	12:46:27	1457	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:27	1457	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078442' AND `virtuemart_product_id` != 1860949
2023-10-13	12:46:27	1457	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:27	1457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860949, '1000000078442')
2023-10-13	12:46:27	1457	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:27	1457	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-40' AND `virtuemart_product_id` != 1860949
2023-10-13	12:46:27	1457	[DEBUG]	Query for ProductLang
2023-10-13	12:46:27	1457	[DEBUG]	Executed store
2023-10-13	12:46:27	1457	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Vert (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-40' WHERE `virtuemart_product_id` = '1860949'
2023-10-13	12:46:27	1457	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:27	1457	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:27	1457	[DEBUG]	Process image file
2023-10-13	12:46:27	1457	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:27	1457	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:27	1457	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:27	1457	[DEBUG]	Full name target: bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:28	1457	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:28	1457	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:28	1457	[DEBUG]	Query for Media
2023-10-13	12:46:28	1457	[DEBUG]	Executed store
2023-10-13	12:46:28	1457	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15961'
2023-10-13	12:46:28	1457	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:28	1457	[DEBUG]	Executed store
2023-10-13	12:46:28	1457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860949','15961','1')
2023-10-13	12:46:28	1457	[DEBUG]	Store product image relation
2023-10-13	12:46:28	1457	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:28	1457	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860949 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:28	1457	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:28	1457	[DEBUG]	Executed store
2023-10-13	12:46:28	1457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860949','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:28	1457	[DEBUG]	Checking manufacturer
2023-10-13	12:46:28	1457	[DEBUG]	Load a row
2023-10-13	12:46:28	1457	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:28	1457	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:28	1457	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:28	1457	[DEBUG]	Executed store
2023-10-13	12:46:28	1457	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:28	1457	[DEBUG]	Manufacturer exists
2023-10-13	12:46:28	1457	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:28	1457	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:28	1457	[DEBUG]	Executed store
2023-10-13	12:46:28	1457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860949','32')
2023-10-13	12:46:28	1457	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:28	1457	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:28	1457	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860949 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:28	1457	[DEBUG]	Store custom available field
2023-10-13	12:46:28	1457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860949,3,'',1)
2023-10-13	12:46:28	1457	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:28	1457	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:46:28	1457	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860949 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:28	1457	[DEBUG]	Store custom available field
2023-10-13	12:46:28	1457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860949,6,'40',3)
2023-10-13	12:46:28	1457	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:28	1457	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:28	1457	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860946
2023-10-13	12:46:28	1457	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:28	1457	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1860946\":[1860946,8,1,\"choisir la taille\"],\"1860947\":[\"38\"],\"1860948\":[\"39\"],\"1860949\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1860946
2023-10-13	12:46:28	1457	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:28	1457	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860949
2023-10-13	12:46:28	1458	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:28	1458	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:28	1458	[DEBUG]	Use field value for field taille
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:28	1458	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:28	1458	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:28	1458	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:28	1458	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:28	1458	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:28	1458	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:28	1458	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:28	1458	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:28	1458	[DEBUG]	Use field value for field published
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:28	1458	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field override
2023-10-13	12:46:28	1458	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:28	1458	[DEBUG]	Use field value for field slug
2023-10-13	12:46:28	1458	[DEBUG]	Process line 1458
2023-10-13	12:46:28	1458	[DEBUG]	Load a row
2023-10-13	12:46:28	1458	[DEBUG]	Processing item: 1000000078459
2023-10-13	12:46:28	1458	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:28	1458	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:28	1458	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_40'
2023-10-13	12:46:28	1458	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:28	1458	[DEBUG]	Processing product tax
2023-10-13	12:46:28	1458	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:28	1458	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:28	1458	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:28	1458	[DEBUG]	Query for Product
2023-10-13	12:46:28	1458	[DEBUG]	Executed store
2023-10-13	12:46:28	1458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860946','1000000078459','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:28	1458	[DEBUG]	No parent found
2023-10-13	12:46:28	1458	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860946 AND customfield_value = 'stockable'
2023-10-13	12:46:28	1458	[DEBUG]	Check product language entry
2023-10-13	12:46:28	1458	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860950
2023-10-13	12:46:28	1458	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:28	1458	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078459' AND `virtuemart_product_id` != 1860950
2023-10-13	12:46:28	1458	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:28	1458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860950, '1000000078459')
2023-10-13	12:46:28	1458	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:28	1458	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-41' AND `virtuemart_product_id` != 1860950
2023-10-13	12:46:28	1458	[DEBUG]	Query for ProductLang
2023-10-13	12:46:28	1458	[DEBUG]	Executed store
2023-10-13	12:46:28	1458	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Vert (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-41' WHERE `virtuemart_product_id` = '1860950'
2023-10-13	12:46:28	1458	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:28	1458	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:28	1458	[DEBUG]	Process image file
2023-10-13	12:46:28	1458	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:28	1458	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:28	1458	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:28	1458	[DEBUG]	Full name target: bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:29	1458	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:29	1458	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:29	1458	[DEBUG]	Query for Media
2023-10-13	12:46:29	1458	[DEBUG]	Executed store
2023-10-13	12:46:29	1458	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15961'
2023-10-13	12:46:29	1458	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:29	1458	[DEBUG]	Executed store
2023-10-13	12:46:29	1458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860950','15961','1')
2023-10-13	12:46:29	1458	[DEBUG]	Store product image relation
2023-10-13	12:46:29	1458	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:29	1458	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860950 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:29	1458	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:29	1458	[DEBUG]	Executed store
2023-10-13	12:46:29	1458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860950','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:29	1458	[DEBUG]	Checking manufacturer
2023-10-13	12:46:29	1458	[DEBUG]	Load a row
2023-10-13	12:46:29	1458	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:29	1458	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:29	1458	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:29	1458	[DEBUG]	Executed store
2023-10-13	12:46:29	1458	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:29	1458	[DEBUG]	Manufacturer exists
2023-10-13	12:46:29	1458	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:29	1458	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:29	1458	[DEBUG]	Executed store
2023-10-13	12:46:29	1458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860950','32')
2023-10-13	12:46:29	1458	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:29	1458	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:29	1458	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860950 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:29	1458	[DEBUG]	Store custom available field
2023-10-13	12:46:29	1458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860950,3,'',1)
2023-10-13	12:46:29	1458	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:29	1458	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:46:29	1458	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860950 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:29	1458	[DEBUG]	Store custom available field
2023-10-13	12:46:29	1458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860950,6,'41',3)
2023-10-13	12:46:29	1458	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:29	1458	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:29	1458	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860946
2023-10-13	12:46:29	1458	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:29	1458	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1860946\":[1860946,8,1,\"choisir la taille\"],\"1860947\":[\"38\"],\"1860948\":[\"39\"],\"1860949\":[\"40\"],\"1860950\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1860946
2023-10-13	12:46:29	1458	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:29	1458	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860950
2023-10-13	12:46:29	1459	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:29	1459	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:29	1459	[DEBUG]	Use field value for field taille
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:29	1459	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:29	1459	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:29	1459	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:29	1459	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:29	1459	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:29	1459	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:29	1459	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:29	1459	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:29	1459	[DEBUG]	Use field value for field published
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:29	1459	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field override
2023-10-13	12:46:29	1459	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:29	1459	[DEBUG]	Use field value for field slug
2023-10-13	12:46:29	1459	[DEBUG]	Process line 1459
2023-10-13	12:46:29	1459	[DEBUG]	Load a row
2023-10-13	12:46:29	1459	[DEBUG]	Processing item: 1000000078466
2023-10-13	12:46:29	1459	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:29	1459	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:29	1459	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_40'
2023-10-13	12:46:29	1459	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:29	1459	[DEBUG]	Processing product tax
2023-10-13	12:46:29	1459	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:29	1459	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:29	1459	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:29	1459	[DEBUG]	Query for Product
2023-10-13	12:46:29	1459	[DEBUG]	Executed store
2023-10-13	12:46:29	1459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860946','1000000078466','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:29	1459	[DEBUG]	No parent found
2023-10-13	12:46:29	1459	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860946 AND customfield_value = 'stockable'
2023-10-13	12:46:29	1459	[DEBUG]	Check product language entry
2023-10-13	12:46:29	1459	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860951
2023-10-13	12:46:29	1459	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:29	1459	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078466' AND `virtuemart_product_id` != 1860951
2023-10-13	12:46:29	1459	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:29	1459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860951, '1000000078466')
2023-10-13	12:46:29	1459	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:29	1459	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-42' AND `virtuemart_product_id` != 1860951
2023-10-13	12:46:29	1459	[DEBUG]	Query for ProductLang
2023-10-13	12:46:29	1459	[DEBUG]	Executed store
2023-10-13	12:46:29	1459	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Vert (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-42' WHERE `virtuemart_product_id` = '1860951'
2023-10-13	12:46:29	1459	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:29	1459	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:29	1459	[DEBUG]	Process image file
2023-10-13	12:46:29	1459	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:29	1459	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:29	1459	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:29	1459	[DEBUG]	Full name target: bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:30	1459	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:30	1459	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:30	1459	[DEBUG]	Query for Media
2023-10-13	12:46:30	1459	[DEBUG]	Executed store
2023-10-13	12:46:30	1459	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15961'
2023-10-13	12:46:30	1459	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:30	1459	[DEBUG]	Executed store
2023-10-13	12:46:30	1459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860951','15961','1')
2023-10-13	12:46:30	1459	[DEBUG]	Store product image relation
2023-10-13	12:46:30	1459	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:30	1459	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860951 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:30	1459	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:30	1459	[DEBUG]	Executed store
2023-10-13	12:46:30	1459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860951','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:30	1459	[DEBUG]	Checking manufacturer
2023-10-13	12:46:30	1459	[DEBUG]	Load a row
2023-10-13	12:46:30	1459	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:30	1459	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:30	1459	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:30	1459	[DEBUG]	Executed store
2023-10-13	12:46:30	1459	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:30	1459	[DEBUG]	Manufacturer exists
2023-10-13	12:46:30	1459	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:30	1459	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:30	1459	[DEBUG]	Executed store
2023-10-13	12:46:30	1459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860951','32')
2023-10-13	12:46:30	1459	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:30	1459	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:30	1459	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860951 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:30	1459	[DEBUG]	Store custom available field
2023-10-13	12:46:30	1459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860951,3,'',1)
2023-10-13	12:46:30	1459	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:30	1459	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:46:30	1459	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860951 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:30	1459	[DEBUG]	Store custom available field
2023-10-13	12:46:30	1459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860951,6,'42',3)
2023-10-13	12:46:30	1459	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:30	1459	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:30	1459	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860946
2023-10-13	12:46:30	1459	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:30	1459	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1860946\":[1860946,8,1,\"choisir la taille\"],\"1860947\":[\"38\"],\"1860948\":[\"39\"],\"1860949\":[\"40\"],\"1860950\":[\"41\"],\"1860951\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1860946
2023-10-13	12:46:30	1459	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:30	1459	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860951
2023-10-13	12:46:30	1460	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:30	1460	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:30	1460	[DEBUG]	Use field value for field taille
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:30	1460	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:30	1460	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:30	1460	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:30	1460	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:30	1460	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:30	1460	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:30	1460	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:30	1460	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:30	1460	[DEBUG]	Use field value for field published
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:30	1460	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field override
2023-10-13	12:46:30	1460	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:30	1460	[DEBUG]	Use field value for field slug
2023-10-13	12:46:30	1460	[DEBUG]	Process line 1460
2023-10-13	12:46:30	1460	[DEBUG]	Load a row
2023-10-13	12:46:30	1460	[DEBUG]	Processing item: 8435466296360
2023-10-13	12:46:30	1460	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:30	1460	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:30	1460	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_40'
2023-10-13	12:46:30	1460	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:30	1460	[DEBUG]	Processing product tax
2023-10-13	12:46:30	1460	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:30	1460	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:30	1460	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:30	1460	[DEBUG]	Query for Product
2023-10-13	12:46:30	1460	[DEBUG]	Executed store
2023-10-13	12:46:30	1460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860946','8435466296360','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:30	1460	[DEBUG]	No parent found
2023-10-13	12:46:30	1460	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860946 AND customfield_value = 'stockable'
2023-10-13	12:46:30	1460	[DEBUG]	Check product language entry
2023-10-13	12:46:30	1460	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860952
2023-10-13	12:46:30	1460	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:30	1460	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466296360' AND `virtuemart_product_id` != 1860952
2023-10-13	12:46:30	1460	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:30	1460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860952, '8435466296360')
2023-10-13	12:46:30	1460	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:30	1460	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-43' AND `virtuemart_product_id` != 1860952
2023-10-13	12:46:30	1460	[DEBUG]	Query for ProductLang
2023-10-13	12:46:30	1460	[DEBUG]	Executed store
2023-10-13	12:46:30	1460	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Vert (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-43' WHERE `virtuemart_product_id` = '1860952'
2023-10-13	12:46:30	1460	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:30	1460	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:30	1460	[DEBUG]	Process image file
2023-10-13	12:46:30	1460	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:30	1460	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:30	1460	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:30	1460	[DEBUG]	Full name target: bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:31	1460	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:31	1460	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:31	1460	[DEBUG]	Query for Media
2023-10-13	12:46:31	1460	[DEBUG]	Executed store
2023-10-13	12:46:31	1460	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15961'
2023-10-13	12:46:31	1460	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:31	1460	[DEBUG]	Executed store
2023-10-13	12:46:31	1460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860952','15961','1')
2023-10-13	12:46:31	1460	[DEBUG]	Store product image relation
2023-10-13	12:46:31	1460	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:31	1460	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860952 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:31	1460	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:31	1460	[DEBUG]	Executed store
2023-10-13	12:46:31	1460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860952','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:31	1460	[DEBUG]	Checking manufacturer
2023-10-13	12:46:31	1460	[DEBUG]	Load a row
2023-10-13	12:46:31	1460	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:31	1460	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:31	1460	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:31	1460	[DEBUG]	Executed store
2023-10-13	12:46:31	1460	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:31	1460	[DEBUG]	Manufacturer exists
2023-10-13	12:46:31	1460	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:31	1460	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:31	1460	[DEBUG]	Executed store
2023-10-13	12:46:31	1460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860952','32')
2023-10-13	12:46:31	1460	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:31	1460	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:31	1460	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860952 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:31	1460	[DEBUG]	Store custom available field
2023-10-13	12:46:31	1460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860952,3,'',1)
2023-10-13	12:46:31	1460	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:31	1460	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:46:31	1460	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860952 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:31	1460	[DEBUG]	Store custom available field
2023-10-13	12:46:31	1460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860952,6,'43',3)
2023-10-13	12:46:31	1460	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:31	1460	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:31	1460	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860946
2023-10-13	12:46:31	1460	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:31	1460	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1860946\":[1860946,8,1,\"choisir la taille\"],\"1860947\":[\"38\"],\"1860948\":[\"39\"],\"1860949\":[\"40\"],\"1860950\":[\"41\"],\"1860951\":[\"42\"],\"1860952\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1860946
2023-10-13	12:46:31	1460	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:31	1460	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860952
2023-10-13	12:46:31	1461	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:31	1461	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:31	1461	[DEBUG]	Use field value for field taille
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:31	1461	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:31	1461	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:31	1461	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:31	1461	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:31	1461	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:31	1461	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:31	1461	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:31	1461	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:31	1461	[DEBUG]	Use field value for field published
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:31	1461	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field override
2023-10-13	12:46:31	1461	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:31	1461	[DEBUG]	Use field value for field slug
2023-10-13	12:46:31	1461	[DEBUG]	Process line 1461
2023-10-13	12:46:31	1461	[DEBUG]	Load a row
2023-10-13	12:46:31	1461	[DEBUG]	Processing item: 8435466296377
2023-10-13	12:46:31	1461	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:31	1461	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:31	1461	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_40'
2023-10-13	12:46:31	1461	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:31	1461	[DEBUG]	Processing product tax
2023-10-13	12:46:31	1461	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:31	1461	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:31	1461	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:31	1461	[DEBUG]	Query for Product
2023-10-13	12:46:31	1461	[DEBUG]	Executed store
2023-10-13	12:46:31	1461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860946','8435466296377','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:31	1461	[DEBUG]	No parent found
2023-10-13	12:46:31	1461	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860946 AND customfield_value = 'stockable'
2023-10-13	12:46:31	1461	[DEBUG]	Check product language entry
2023-10-13	12:46:31	1461	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860953
2023-10-13	12:46:31	1461	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:31	1461	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466296377' AND `virtuemart_product_id` != 1860953
2023-10-13	12:46:31	1461	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:31	1461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860953, '8435466296377')
2023-10-13	12:46:31	1461	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:31	1461	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-44' AND `virtuemart_product_id` != 1860953
2023-10-13	12:46:31	1461	[DEBUG]	Query for ProductLang
2023-10-13	12:46:31	1461	[DEBUG]	Executed store
2023-10-13	12:46:31	1461	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Vert (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-44' WHERE `virtuemart_product_id` = '1860953'
2023-10-13	12:46:31	1461	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:31	1461	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:31	1461	[DEBUG]	Process image file
2023-10-13	12:46:31	1461	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:31	1461	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:31	1461	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:31	1461	[DEBUG]	Full name target: bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:32	1461	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:32	1461	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:32	1461	[DEBUG]	Query for Media
2023-10-13	12:46:32	1461	[DEBUG]	Executed store
2023-10-13	12:46:32	1461	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15961'
2023-10-13	12:46:32	1461	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:32	1461	[DEBUG]	Executed store
2023-10-13	12:46:32	1461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860953','15961','1')
2023-10-13	12:46:32	1461	[DEBUG]	Store product image relation
2023-10-13	12:46:32	1461	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:32	1461	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860953 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:32	1461	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:32	1461	[DEBUG]	Executed store
2023-10-13	12:46:32	1461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860953','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:32	1461	[DEBUG]	Checking manufacturer
2023-10-13	12:46:32	1461	[DEBUG]	Load a row
2023-10-13	12:46:32	1461	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:32	1461	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:32	1461	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:32	1461	[DEBUG]	Executed store
2023-10-13	12:46:32	1461	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:32	1461	[DEBUG]	Manufacturer exists
2023-10-13	12:46:32	1461	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:32	1461	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:32	1461	[DEBUG]	Executed store
2023-10-13	12:46:32	1461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860953','32')
2023-10-13	12:46:32	1461	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:32	1461	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:32	1461	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860953 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:32	1461	[DEBUG]	Store custom available field
2023-10-13	12:46:32	1461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860953,3,'',1)
2023-10-13	12:46:32	1461	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:32	1461	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:46:32	1461	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860953 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:32	1461	[DEBUG]	Store custom available field
2023-10-13	12:46:32	1461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860953,6,'44',3)
2023-10-13	12:46:32	1461	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:32	1461	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:32	1461	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860946
2023-10-13	12:46:32	1461	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:32	1461	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1860946\":[1860946,8,1,\"choisir la taille\"],\"1860947\":[\"38\"],\"1860948\":[\"39\"],\"1860949\":[\"40\"],\"1860950\":[\"41\"],\"1860951\":[\"42\"],\"1860952\":[\"43\"],\"1860953\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1860946
2023-10-13	12:46:32	1461	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:32	1461	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860953
2023-10-13	12:46:32	1462	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:32	1462	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:32	1462	[DEBUG]	Use field value for field taille
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:32	1462	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:32	1462	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:32	1462	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:32	1462	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:32	1462	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:32	1462	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:32	1462	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:32	1462	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:32	1462	[DEBUG]	Use field value for field published
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:32	1462	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field override
2023-10-13	12:46:32	1462	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:32	1462	[DEBUG]	Use field value for field slug
2023-10-13	12:46:32	1462	[DEBUG]	Process line 1462
2023-10-13	12:46:32	1462	[DEBUG]	Load a row
2023-10-13	12:46:32	1462	[DEBUG]	Processing item: 1000000078497
2023-10-13	12:46:32	1462	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:32	1462	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:32	1462	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_40'
2023-10-13	12:46:32	1462	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:32	1462	[DEBUG]	Processing product tax
2023-10-13	12:46:32	1462	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:32	1462	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:32	1462	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:32	1462	[DEBUG]	Query for Product
2023-10-13	12:46:32	1462	[DEBUG]	Executed store
2023-10-13	12:46:32	1462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860946','1000000078497','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:32	1462	[DEBUG]	No parent found
2023-10-13	12:46:32	1462	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860946 AND customfield_value = 'stockable'
2023-10-13	12:46:32	1462	[DEBUG]	Check product language entry
2023-10-13	12:46:32	1462	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860954
2023-10-13	12:46:32	1462	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:32	1462	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078497' AND `virtuemart_product_id` != 1860954
2023-10-13	12:46:32	1462	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:32	1462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860954, '1000000078497')
2023-10-13	12:46:32	1462	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:32	1462	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-45' AND `virtuemart_product_id` != 1860954
2023-10-13	12:46:32	1462	[DEBUG]	Query for ProductLang
2023-10-13	12:46:32	1462	[DEBUG]	Executed store
2023-10-13	12:46:32	1462	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Vert (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-45' WHERE `virtuemart_product_id` = '1860954'
2023-10-13	12:46:32	1462	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:32	1462	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:32	1462	[DEBUG]	Process image file
2023-10-13	12:46:32	1462	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:32	1462	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:32	1462	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:32	1462	[DEBUG]	Full name target: bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:33	1462	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:33	1462	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:33	1462	[DEBUG]	Query for Media
2023-10-13	12:46:33	1462	[DEBUG]	Executed store
2023-10-13	12:46:33	1462	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15961'
2023-10-13	12:46:33	1462	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:33	1462	[DEBUG]	Executed store
2023-10-13	12:46:34	1462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860954','15961','1')
2023-10-13	12:46:34	1462	[DEBUG]	Store product image relation
2023-10-13	12:46:34	1462	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:34	1462	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860954 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:34	1462	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:34	1462	[DEBUG]	Executed store
2023-10-13	12:46:34	1462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860954','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:34	1462	[DEBUG]	Checking manufacturer
2023-10-13	12:46:34	1462	[DEBUG]	Load a row
2023-10-13	12:46:34	1462	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:34	1462	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:34	1462	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:34	1462	[DEBUG]	Executed store
2023-10-13	12:46:34	1462	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:34	1462	[DEBUG]	Manufacturer exists
2023-10-13	12:46:34	1462	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:34	1462	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:34	1462	[DEBUG]	Executed store
2023-10-13	12:46:34	1462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860954','32')
2023-10-13	12:46:34	1462	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:34	1462	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:34	1462	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860954 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:34	1462	[DEBUG]	Store custom available field
2023-10-13	12:46:34	1462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860954,3,'',1)
2023-10-13	12:46:34	1462	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:34	1462	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:46:34	1462	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860954 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:34	1462	[DEBUG]	Store custom available field
2023-10-13	12:46:34	1462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860954,6,'45',3)
2023-10-13	12:46:34	1462	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:34	1462	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:34	1462	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860946
2023-10-13	12:46:34	1462	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:34	1462	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1860946\":[1860946,8,1,\"choisir la taille\"],\"1860947\":[\"38\"],\"1860948\":[\"39\"],\"1860949\":[\"40\"],\"1860950\":[\"41\"],\"1860951\":[\"42\"],\"1860952\":[\"43\"],\"1860953\":[\"44\"],\"1860954\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1860946
2023-10-13	12:46:34	1462	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:34	1462	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860954
2023-10-13	12:46:34	1463	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:34	1463	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:34	1463	[DEBUG]	Use field value for field taille
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:34	1463	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:34	1463	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:34	1463	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:34	1463	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:34	1463	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:34	1463	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:34	1463	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:34	1463	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:34	1463	[DEBUG]	Use field value for field published
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:34	1463	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field override
2023-10-13	12:46:34	1463	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:34	1463	[DEBUG]	Use field value for field slug
2023-10-13	12:46:34	1463	[DEBUG]	Process line 1463
2023-10-13	12:46:34	1463	[DEBUG]	Load a row
2023-10-13	12:46:34	1463	[DEBUG]	Processing item: 1000000078503
2023-10-13	12:46:34	1463	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:34	1463	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:34	1463	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_40'
2023-10-13	12:46:34	1463	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:34	1463	[DEBUG]	Processing product tax
2023-10-13	12:46:34	1463	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:34	1463	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:34	1463	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:34	1463	[DEBUG]	Query for Product
2023-10-13	12:46:34	1463	[DEBUG]	Executed store
2023-10-13	12:46:34	1463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860946','1000000078503','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:34	1463	[DEBUG]	No parent found
2023-10-13	12:46:34	1463	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860946 AND customfield_value = 'stockable'
2023-10-13	12:46:34	1463	[DEBUG]	Check product language entry
2023-10-13	12:46:34	1463	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860955
2023-10-13	12:46:34	1463	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:34	1463	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078503' AND `virtuemart_product_id` != 1860955
2023-10-13	12:46:34	1463	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:34	1463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860955, '1000000078503')
2023-10-13	12:46:34	1463	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:34	1463	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-46' AND `virtuemart_product_id` != 1860955
2023-10-13	12:46:34	1463	[DEBUG]	Query for ProductLang
2023-10-13	12:46:34	1463	[DEBUG]	Executed store
2023-10-13	12:46:34	1463	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Vert (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-46' WHERE `virtuemart_product_id` = '1860955'
2023-10-13	12:46:34	1463	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:34	1463	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:34	1463	[DEBUG]	Process image file
2023-10-13	12:46:34	1463	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:34	1463	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:34	1463	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:34	1463	[DEBUG]	Full name target: bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:35	1463	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:35	1463	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:35	1463	[DEBUG]	Query for Media
2023-10-13	12:46:35	1463	[DEBUG]	Executed store
2023-10-13	12:46:35	1463	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15961'
2023-10-13	12:46:35	1463	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:35	1463	[DEBUG]	Executed store
2023-10-13	12:46:35	1463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860955','15961','1')
2023-10-13	12:46:35	1463	[DEBUG]	Store product image relation
2023-10-13	12:46:35	1463	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:35	1463	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860955 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:35	1463	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:35	1463	[DEBUG]	Executed store
2023-10-13	12:46:35	1463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860955','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:35	1463	[DEBUG]	Checking manufacturer
2023-10-13	12:46:35	1463	[DEBUG]	Load a row
2023-10-13	12:46:35	1463	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:35	1463	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:35	1463	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:35	1463	[DEBUG]	Executed store
2023-10-13	12:46:35	1463	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:35	1463	[DEBUG]	Manufacturer exists
2023-10-13	12:46:35	1463	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:35	1463	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:35	1463	[DEBUG]	Executed store
2023-10-13	12:46:35	1463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860955','32')
2023-10-13	12:46:35	1463	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:35	1463	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:35	1463	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860955 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:35	1463	[DEBUG]	Store custom available field
2023-10-13	12:46:35	1463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860955,3,'',1)
2023-10-13	12:46:35	1463	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:35	1463	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:46:35	1463	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860955 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:35	1463	[DEBUG]	Store custom available field
2023-10-13	12:46:35	1463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860955,6,'46',3)
2023-10-13	12:46:35	1463	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:35	1463	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:35	1463	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860946
2023-10-13	12:46:35	1463	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:35	1463	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1860946\":[1860946,8,1,\"choisir la taille\"],\"1860947\":[\"38\"],\"1860948\":[\"39\"],\"1860949\":[\"40\"],\"1860950\":[\"41\"],\"1860951\":[\"42\"],\"1860952\":[\"43\"],\"1860953\":[\"44\"],\"1860954\":[\"45\"],\"1860955\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1860946
2023-10-13	12:46:35	1463	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:35	1463	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860955
2023-10-13	12:46:35	1464	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:35	1464	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:35	1464	[DEBUG]	Use field value for field taille
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:35	1464	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:35	1464	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:35	1464	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:35	1464	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:35	1464	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:35	1464	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:35	1464	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:35	1464	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:35	1464	[DEBUG]	Use field value for field published
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:35	1464	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field override
2023-10-13	12:46:35	1464	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:35	1464	[DEBUG]	Use field value for field slug
2023-10-13	12:46:35	1464	[DEBUG]	Process line 1464
2023-10-13	12:46:35	1464	[DEBUG]	Load a row
2023-10-13	12:46:35	1464	[DEBUG]	Processing item: 1000000078510
2023-10-13	12:46:35	1464	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:35	1464	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:35	1464	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_40'
2023-10-13	12:46:35	1464	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:35	1464	[DEBUG]	Processing product tax
2023-10-13	12:46:35	1464	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:35	1464	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:35	1464	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:35	1464	[DEBUG]	Query for Product
2023-10-13	12:46:35	1464	[DEBUG]	Executed store
2023-10-13	12:46:35	1464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860946','1000000078510','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:35	1464	[DEBUG]	No parent found
2023-10-13	12:46:35	1464	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860946 AND customfield_value = 'stockable'
2023-10-13	12:46:35	1464	[DEBUG]	Check product language entry
2023-10-13	12:46:35	1464	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860956
2023-10-13	12:46:35	1464	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:35	1464	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078510' AND `virtuemart_product_id` != 1860956
2023-10-13	12:46:35	1464	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:35	1464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860956, '1000000078510')
2023-10-13	12:46:35	1464	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:35	1464	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-47' AND `virtuemart_product_id` != 1860956
2023-10-13	12:46:35	1464	[DEBUG]	Query for ProductLang
2023-10-13	12:46:35	1464	[DEBUG]	Executed store
2023-10-13	12:46:35	1464	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Vert (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-vert-47' WHERE `virtuemart_product_id` = '1860956'
2023-10-13	12:46:35	1464	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:35	1464	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:35	1464	[DEBUG]	Process image file
2023-10-13	12:46:35	1464	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:35	1464	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:35	1464	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:35	1464	[DEBUG]	Full name target: bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:36	1464	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:36	1464	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:36	1464	[DEBUG]	Query for Media
2023-10-13	12:46:36	1464	[DEBUG]	Executed store
2023-10-13	12:46:36	1464	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29618_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15961'
2023-10-13	12:46:36	1464	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:36	1464	[DEBUG]	Executed store
2023-10-13	12:46:36	1464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860956','15961','1')
2023-10-13	12:46:36	1464	[DEBUG]	Store product image relation
2023-10-13	12:46:36	1464	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:36	1464	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860956 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:36	1464	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:36	1464	[DEBUG]	Executed store
2023-10-13	12:46:36	1464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860956','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:36	1464	[DEBUG]	Checking manufacturer
2023-10-13	12:46:36	1464	[DEBUG]	Load a row
2023-10-13	12:46:36	1464	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:36	1464	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:36	1464	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:36	1464	[DEBUG]	Executed store
2023-10-13	12:46:36	1464	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:36	1464	[DEBUG]	Manufacturer exists
2023-10-13	12:46:36	1464	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:36	1464	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:36	1464	[DEBUG]	Executed store
2023-10-13	12:46:36	1464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860956','32')
2023-10-13	12:46:36	1464	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:36	1464	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:36	1464	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860956 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:36	1464	[DEBUG]	Store custom available field
2023-10-13	12:46:36	1464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860956,3,'',1)
2023-10-13	12:46:36	1464	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:36	1464	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:46:36	1464	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860956 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:36	1464	[DEBUG]	Store custom available field
2023-10-13	12:46:36	1464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860956,6,'47',3)
2023-10-13	12:46:36	1464	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:36	1464	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:36	1464	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860946
2023-10-13	12:46:36	1464	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:36	1464	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1860946\":[1860946,8,1,\"choisir la taille\"],\"1860947\":[\"38\"],\"1860948\":[\"39\"],\"1860949\":[\"40\"],\"1860950\":[\"41\"],\"1860951\":[\"42\"],\"1860952\":[\"43\"],\"1860953\":[\"44\"],\"1860954\":[\"45\"],\"1860955\":[\"46\"],\"1860956\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1860946
2023-10-13	12:46:36	1464	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:36	1464	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860956
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:36	1465	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field taille
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field category_path
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:36	1465	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:46:36	1465	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:36	1465	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field product_weight
2023-10-13	12:46:36	1465	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:36	1465	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:36	1465	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field published
2023-10-13	12:46:36	1465	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:36	1465	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field custom_title
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field custom_param
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field override
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field public_price
2023-10-13	12:46:36	1465	[DEBUG]	Use field value for field slug
2023-10-13	12:46:36	1465	[DEBUG]	Process line 1465
2023-10-13	12:46:36	1465	[DEBUG]	Load a row
2023-10-13	12:46:36	1465	[DEBUG]	Processing item: A_5153_65
2023-10-13	12:46:36	1465	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:36	1465	[DEBUG]	Processing product tax
2023-10-13	12:46:36	1465	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:36	1465	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:36	1465	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:36	1465	[DEBUG]	Query for Product
2023-10-13	12:46:36	1465	[DEBUG]	Executed store
2023-10-13	12:46:36	1465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5153_65','0.51','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:36	1465	[DEBUG]	Check product language entry
2023-10-13	12:46:36	1465	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860957
2023-10-13	12:46:36	1465	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:36	1465	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5153_65' AND `virtuemart_product_id` != 1860957
2023-10-13	12:46:36	1465	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:36	1465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860957, 'A_5153_65')
2023-10-13	12:46:36	1465	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:36	1465	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune' AND `virtuemart_product_id` != 1860957
2023-10-13	12:46:36	1465	[DEBUG]	Query for ProductLang
2023-10-13	12:46:36	1465	[DEBUG]	Executed store
2023-10-13	12:46:36	1465	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro Road avec système de ventilation breveté ! 510 gr.<br>N° art fourn : ZAEROROAD',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune' WHERE `virtuemart_product_id` = '1860957'
2023-10-13	12:46:36	1465	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:36	1465	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:36	1465	[DEBUG]	Process image file
2023-10-13	12:46:36	1465	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:36	1465	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:36	1465	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:36	1465	[DEBUG]	Full name target: bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:37	1465	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:37	1465	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:37	1465	[DEBUG]	Query for Media
2023-10-13	12:46:37	1465	[DEBUG]	Executed store
2023-10-13	12:46:37	1465	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15962'
2023-10-13	12:46:37	1465	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:37	1465	[DEBUG]	Executed store
2023-10-13	12:46:37	1465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860957','15962','1')
2023-10-13	12:46:37	1465	[DEBUG]	Store product image relation
2023-10-13	12:46:37	1465	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:37	1465	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860957 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:37	1465	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:37	1465	[DEBUG]	Executed store
2023-10-13	12:46:37	1465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860957','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:37	1465	[DEBUG]	Checking manufacturer
2023-10-13	12:46:37	1465	[DEBUG]	Load a row
2023-10-13	12:46:37	1465	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:37	1465	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:37	1465	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:37	1465	[DEBUG]	Executed store
2023-10-13	12:46:37	1465	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:37	1465	[DEBUG]	Manufacturer exists
2023-10-13	12:46:37	1465	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:37	1465	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:37	1465	[DEBUG]	Executed store
2023-10-13	12:46:37	1465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860957','32')
2023-10-13	12:46:37	1465	[DEBUG]	Find the custom field ID
2023-10-13	12:46:37	1465	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:46:37	1465	[DEBUG]	No custom field ID found
2023-10-13	12:46:37	1465	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:37	1465	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:46:37	1465	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860957 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:37	1465	[DEBUG]	Store custom available field
2023-10-13	12:46:37	1465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860957,3,'179.400277777778',1)
2023-10-13	12:46:37	1465	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:37	1465	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:46:37	1465	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860957 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:37	1465	[DEBUG]	Store custom available field
2023-10-13	12:46:37	1465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860957,6,'choisir la taille',3)
2023-10-13	12:46:37	1465	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:37	1465	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:46:37	1465	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:46:37	1465	[DEBUG]	Find the multi variant product entry
2023-10-13	12:46:37	1465	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860957 AND `virtuemart_custom_id` = 8
2023-10-13	12:46:37	1465	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:46:37	1465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860957,8,1)
2023-10-13	12:46:37	1465	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:37	1465	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860957\":[1860957,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860957
2023-10-13	12:46:37	1465	[DEBUG]	Checking category
2023-10-13	12:46:37	1465	[DEBUG]	Get the existing categories for the product
2023-10-13	12:46:37	1465	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860957
2023-10-13	12:46:37	1465	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:46:37	1465	[DEBUG]	Executed store
2023-10-13	12:46:37	1465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860957','7331')
2023-10-13	12:46:37	1465	[DEBUG]	Delete leftover product categories
2023-10-13	12:46:37	1465	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860957 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:46:37	1465	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:37	1465	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860957
2023-10-13	12:46:37	1466	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:37	1466	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:37	1466	[DEBUG]	Use field value for field taille
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:37	1466	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:37	1466	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:37	1466	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:37	1466	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:37	1466	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:37	1466	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:37	1466	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:37	1466	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:37	1466	[DEBUG]	Use field value for field published
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:37	1466	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field override
2023-10-13	12:46:37	1466	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:37	1466	[DEBUG]	Use field value for field slug
2023-10-13	12:46:37	1466	[DEBUG]	Process line 1466
2023-10-13	12:46:37	1466	[DEBUG]	Load a row
2023-10-13	12:46:37	1466	[DEBUG]	Processing item: 8435466296544
2023-10-13	12:46:37	1466	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:37	1466	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:37	1466	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_65'
2023-10-13	12:46:37	1466	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:37	1466	[DEBUG]	Processing product tax
2023-10-13	12:46:37	1466	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:37	1466	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:37	1466	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:37	1466	[DEBUG]	Query for Product
2023-10-13	12:46:37	1466	[DEBUG]	Executed store
2023-10-13	12:46:37	1466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860957','8435466296544','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:37	1466	[DEBUG]	No parent found
2023-10-13	12:46:37	1466	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860957 AND customfield_value = 'stockable'
2023-10-13	12:46:37	1466	[DEBUG]	Check product language entry
2023-10-13	12:46:37	1466	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860958
2023-10-13	12:46:37	1466	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:37	1466	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466296544' AND `virtuemart_product_id` != 1860958
2023-10-13	12:46:37	1466	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:37	1466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860958, '8435466296544')
2023-10-13	12:46:37	1466	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:37	1466	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-43' AND `virtuemart_product_id` != 1860958
2023-10-13	12:46:37	1466	[DEBUG]	Query for ProductLang
2023-10-13	12:46:37	1466	[DEBUG]	Executed store
2023-10-13	12:46:37	1466	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Jaune (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-43' WHERE `virtuemart_product_id` = '1860958'
2023-10-13	12:46:37	1466	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:37	1466	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:37	1466	[DEBUG]	Process image file
2023-10-13	12:46:37	1466	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:37	1466	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:37	1466	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:37	1466	[DEBUG]	Full name target: bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:38	1466	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:38	1466	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:38	1466	[DEBUG]	Query for Media
2023-10-13	12:46:38	1466	[DEBUG]	Executed store
2023-10-13	12:46:38	1466	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15962'
2023-10-13	12:46:38	1466	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:38	1466	[DEBUG]	Executed store
2023-10-13	12:46:38	1466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860958','15962','1')
2023-10-13	12:46:38	1466	[DEBUG]	Store product image relation
2023-10-13	12:46:38	1466	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:38	1466	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860958 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:38	1466	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:38	1466	[DEBUG]	Executed store
2023-10-13	12:46:38	1466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860958','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:38	1466	[DEBUG]	Checking manufacturer
2023-10-13	12:46:38	1466	[DEBUG]	Load a row
2023-10-13	12:46:38	1466	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:38	1466	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:38	1466	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:38	1466	[DEBUG]	Executed store
2023-10-13	12:46:38	1466	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:38	1466	[DEBUG]	Manufacturer exists
2023-10-13	12:46:38	1466	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:38	1466	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:38	1466	[DEBUG]	Executed store
2023-10-13	12:46:38	1466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860958','32')
2023-10-13	12:46:38	1466	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:38	1466	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:38	1466	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860958 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:38	1466	[DEBUG]	Store custom available field
2023-10-13	12:46:38	1466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860958,3,'',1)
2023-10-13	12:46:38	1466	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:38	1466	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:46:38	1466	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860958 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:38	1466	[DEBUG]	Store custom available field
2023-10-13	12:46:38	1466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860958,6,'43',3)
2023-10-13	12:46:38	1466	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:38	1466	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:38	1466	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860957
2023-10-13	12:46:38	1466	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:38	1466	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n43\"}]|clabels=0|options={\"1860957\":[1860957,8,1,\"choisir la taille\"],\"1860958\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1860957
2023-10-13	12:46:38	1466	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:38	1466	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860958
2023-10-13	12:46:38	1467	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:38	1467	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:38	1467	[DEBUG]	Use field value for field taille
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:38	1467	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:38	1467	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:38	1467	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:38	1467	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:38	1467	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:38	1467	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:38	1467	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:38	1467	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:38	1467	[DEBUG]	Use field value for field published
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:38	1467	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field override
2023-10-13	12:46:38	1467	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:38	1467	[DEBUG]	Use field value for field slug
2023-10-13	12:46:38	1467	[DEBUG]	Process line 1467
2023-10-13	12:46:38	1467	[DEBUG]	Load a row
2023-10-13	12:46:38	1467	[DEBUG]	Processing item: 1000000078046
2023-10-13	12:46:38	1467	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:38	1467	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:38	1467	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_65'
2023-10-13	12:46:38	1467	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:38	1467	[DEBUG]	Processing product tax
2023-10-13	12:46:38	1467	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:38	1467	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:38	1467	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:38	1467	[DEBUG]	Query for Product
2023-10-13	12:46:38	1467	[DEBUG]	Executed store
2023-10-13	12:46:38	1467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860957','1000000078046','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:38	1467	[DEBUG]	No parent found
2023-10-13	12:46:38	1467	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860957 AND customfield_value = 'stockable'
2023-10-13	12:46:38	1467	[DEBUG]	Check product language entry
2023-10-13	12:46:38	1467	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860959
2023-10-13	12:46:38	1467	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:38	1467	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078046' AND `virtuemart_product_id` != 1860959
2023-10-13	12:46:38	1467	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:38	1467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860959, '1000000078046')
2023-10-13	12:46:38	1467	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:38	1467	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-38' AND `virtuemart_product_id` != 1860959
2023-10-13	12:46:38	1467	[DEBUG]	Query for ProductLang
2023-10-13	12:46:38	1467	[DEBUG]	Executed store
2023-10-13	12:46:38	1467	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Jaune (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-38' WHERE `virtuemart_product_id` = '1860959'
2023-10-13	12:46:38	1467	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:38	1467	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:38	1467	[DEBUG]	Process image file
2023-10-13	12:46:38	1467	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:38	1467	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:38	1467	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:38	1467	[DEBUG]	Full name target: bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:39	1467	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:39	1467	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:39	1467	[DEBUG]	Query for Media
2023-10-13	12:46:39	1467	[DEBUG]	Executed store
2023-10-13	12:46:39	1467	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15962'
2023-10-13	12:46:39	1467	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:39	1467	[DEBUG]	Executed store
2023-10-13	12:46:39	1467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860959','15962','1')
2023-10-13	12:46:39	1467	[DEBUG]	Store product image relation
2023-10-13	12:46:39	1467	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:39	1467	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860959 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:39	1467	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:39	1467	[DEBUG]	Executed store
2023-10-13	12:46:39	1467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860959','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:39	1467	[DEBUG]	Checking manufacturer
2023-10-13	12:46:39	1467	[DEBUG]	Load a row
2023-10-13	12:46:39	1467	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:39	1467	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:39	1467	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:39	1467	[DEBUG]	Executed store
2023-10-13	12:46:39	1467	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:39	1467	[DEBUG]	Manufacturer exists
2023-10-13	12:46:39	1467	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:39	1467	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:39	1467	[DEBUG]	Executed store
2023-10-13	12:46:39	1467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860959','32')
2023-10-13	12:46:39	1467	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:39	1467	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:39	1467	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860959 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:39	1467	[DEBUG]	Store custom available field
2023-10-13	12:46:39	1467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860959,3,'',1)
2023-10-13	12:46:39	1467	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:39	1467	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:46:39	1467	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860959 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:39	1467	[DEBUG]	Store custom available field
2023-10-13	12:46:39	1467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860959,6,'38',3)
2023-10-13	12:46:39	1467	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:39	1467	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:39	1467	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860957
2023-10-13	12:46:39	1467	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:39	1467	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n43\\r\\n38\"}]|clabels=0|options={\"1860957\":[1860957,8,1,\"choisir la taille\"],\"1860958\":[\"43\"],\"1860959\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1860957
2023-10-13	12:46:39	1467	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:39	1467	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860959
2023-10-13	12:46:39	1468	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:39	1468	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:39	1468	[DEBUG]	Use field value for field taille
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:39	1468	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:39	1468	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:39	1468	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:39	1468	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:39	1468	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:39	1468	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:39	1468	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:39	1468	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:39	1468	[DEBUG]	Use field value for field published
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:39	1468	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field override
2023-10-13	12:46:39	1468	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:39	1468	[DEBUG]	Use field value for field slug
2023-10-13	12:46:39	1468	[DEBUG]	Process line 1468
2023-10-13	12:46:39	1468	[DEBUG]	Load a row
2023-10-13	12:46:39	1468	[DEBUG]	Processing item: 1000000078053
2023-10-13	12:46:39	1468	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:39	1468	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:39	1468	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_65'
2023-10-13	12:46:39	1468	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:39	1468	[DEBUG]	Processing product tax
2023-10-13	12:46:39	1468	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:39	1468	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:39	1468	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:39	1468	[DEBUG]	Query for Product
2023-10-13	12:46:39	1468	[DEBUG]	Executed store
2023-10-13	12:46:39	1468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860957','1000000078053','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:39	1468	[DEBUG]	No parent found
2023-10-13	12:46:39	1468	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860957 AND customfield_value = 'stockable'
2023-10-13	12:46:39	1468	[DEBUG]	Check product language entry
2023-10-13	12:46:39	1468	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860960
2023-10-13	12:46:39	1468	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:39	1468	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078053' AND `virtuemart_product_id` != 1860960
2023-10-13	12:46:39	1468	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:39	1468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860960, '1000000078053')
2023-10-13	12:46:39	1468	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:39	1468	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-39' AND `virtuemart_product_id` != 1860960
2023-10-13	12:46:39	1468	[DEBUG]	Query for ProductLang
2023-10-13	12:46:39	1468	[DEBUG]	Executed store
2023-10-13	12:46:39	1468	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Jaune (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-39' WHERE `virtuemart_product_id` = '1860960'
2023-10-13	12:46:39	1468	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:39	1468	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:39	1468	[DEBUG]	Process image file
2023-10-13	12:46:39	1468	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:39	1468	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:39	1468	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:39	1468	[DEBUG]	Full name target: bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:40	1468	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:40	1468	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:40	1468	[DEBUG]	Query for Media
2023-10-13	12:46:40	1468	[DEBUG]	Executed store
2023-10-13	12:46:40	1468	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15962'
2023-10-13	12:46:40	1468	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:40	1468	[DEBUG]	Executed store
2023-10-13	12:46:40	1468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860960','15962','1')
2023-10-13	12:46:40	1468	[DEBUG]	Store product image relation
2023-10-13	12:46:40	1468	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:40	1468	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860960 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:40	1468	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:40	1468	[DEBUG]	Executed store
2023-10-13	12:46:40	1468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860960','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:40	1468	[DEBUG]	Checking manufacturer
2023-10-13	12:46:40	1468	[DEBUG]	Load a row
2023-10-13	12:46:40	1468	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:40	1468	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:40	1468	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:40	1468	[DEBUG]	Executed store
2023-10-13	12:46:40	1468	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:40	1468	[DEBUG]	Manufacturer exists
2023-10-13	12:46:40	1468	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:40	1468	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:40	1468	[DEBUG]	Executed store
2023-10-13	12:46:40	1468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860960','32')
2023-10-13	12:46:40	1468	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:40	1468	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:40	1468	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860960 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:40	1468	[DEBUG]	Store custom available field
2023-10-13	12:46:40	1468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860960,3,'',1)
2023-10-13	12:46:40	1468	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:40	1468	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:46:40	1468	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860960 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:40	1468	[DEBUG]	Store custom available field
2023-10-13	12:46:40	1468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860960,6,'39',3)
2023-10-13	12:46:40	1468	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:40	1468	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:40	1468	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860957
2023-10-13	12:46:40	1468	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:40	1468	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n43\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1860957\":[1860957,8,1,\"choisir la taille\"],\"1860958\":[\"43\"],\"1860959\":[\"38\"],\"1860960\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1860957
2023-10-13	12:46:40	1468	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:40	1468	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860960
2023-10-13	12:46:40	1469	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:40	1469	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:40	1469	[DEBUG]	Use field value for field taille
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:40	1469	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:40	1469	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:40	1469	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:40	1469	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:40	1469	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:40	1469	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:40	1469	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:40	1469	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:40	1469	[DEBUG]	Use field value for field published
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:40	1469	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field override
2023-10-13	12:46:40	1469	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:40	1469	[DEBUG]	Use field value for field slug
2023-10-13	12:46:40	1469	[DEBUG]	Process line 1469
2023-10-13	12:46:40	1469	[DEBUG]	Load a row
2023-10-13	12:46:40	1469	[DEBUG]	Processing item: 8435466296513
2023-10-13	12:46:40	1469	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:40	1469	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:40	1469	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_65'
2023-10-13	12:46:40	1469	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:40	1469	[DEBUG]	Processing product tax
2023-10-13	12:46:40	1469	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:40	1469	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:40	1469	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:40	1469	[DEBUG]	Query for Product
2023-10-13	12:46:40	1469	[DEBUG]	Executed store
2023-10-13	12:46:40	1469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860957','8435466296513','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:40	1469	[DEBUG]	No parent found
2023-10-13	12:46:40	1469	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860957 AND customfield_value = 'stockable'
2023-10-13	12:46:40	1469	[DEBUG]	Check product language entry
2023-10-13	12:46:40	1469	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860961
2023-10-13	12:46:40	1469	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:40	1469	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466296513' AND `virtuemart_product_id` != 1860961
2023-10-13	12:46:40	1469	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:40	1469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860961, '8435466296513')
2023-10-13	12:46:40	1469	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:40	1469	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-40' AND `virtuemart_product_id` != 1860961
2023-10-13	12:46:40	1469	[DEBUG]	Query for ProductLang
2023-10-13	12:46:40	1469	[DEBUG]	Executed store
2023-10-13	12:46:40	1469	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Jaune (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-40' WHERE `virtuemart_product_id` = '1860961'
2023-10-13	12:46:40	1469	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:40	1469	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:40	1469	[DEBUG]	Process image file
2023-10-13	12:46:40	1469	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:40	1469	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:40	1469	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:40	1469	[DEBUG]	Full name target: bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:41	1469	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:41	1469	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:41	1469	[DEBUG]	Query for Media
2023-10-13	12:46:41	1469	[DEBUG]	Executed store
2023-10-13	12:46:41	1469	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15962'
2023-10-13	12:46:41	1469	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:41	1469	[DEBUG]	Executed store
2023-10-13	12:46:41	1469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860961','15962','1')
2023-10-13	12:46:41	1469	[DEBUG]	Store product image relation
2023-10-13	12:46:41	1469	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:41	1469	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860961 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:41	1469	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:41	1469	[DEBUG]	Executed store
2023-10-13	12:46:41	1469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860961','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:41	1469	[DEBUG]	Checking manufacturer
2023-10-13	12:46:41	1469	[DEBUG]	Load a row
2023-10-13	12:46:41	1469	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:41	1469	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:41	1469	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:41	1469	[DEBUG]	Executed store
2023-10-13	12:46:41	1469	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:41	1469	[DEBUG]	Manufacturer exists
2023-10-13	12:46:41	1469	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:41	1469	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:41	1469	[DEBUG]	Executed store
2023-10-13	12:46:41	1469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860961','32')
2023-10-13	12:46:41	1469	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:41	1469	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:41	1469	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860961 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:41	1469	[DEBUG]	Store custom available field
2023-10-13	12:46:41	1469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860961,3,'',1)
2023-10-13	12:46:41	1469	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:41	1469	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:46:41	1469	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860961 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:41	1469	[DEBUG]	Store custom available field
2023-10-13	12:46:41	1469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860961,6,'40',3)
2023-10-13	12:46:41	1469	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:41	1469	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:41	1469	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860957
2023-10-13	12:46:41	1469	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:41	1469	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n43\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1860957\":[1860957,8,1,\"choisir la taille\"],\"1860958\":[\"43\"],\"1860959\":[\"38\"],\"1860960\":[\"39\"],\"1860961\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1860957
2023-10-13	12:46:41	1469	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:41	1469	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860961
2023-10-13	12:46:41	1470	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:41	1470	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:41	1470	[DEBUG]	Use field value for field taille
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:41	1470	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:41	1470	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:41	1470	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:41	1470	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:41	1470	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:41	1470	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:41	1470	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:41	1470	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:41	1470	[DEBUG]	Use field value for field published
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:41	1470	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field override
2023-10-13	12:46:41	1470	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:41	1470	[DEBUG]	Use field value for field slug
2023-10-13	12:46:41	1470	[DEBUG]	Process line 1470
2023-10-13	12:46:41	1470	[DEBUG]	Load a row
2023-10-13	12:46:41	1470	[DEBUG]	Processing item: 1000000078077
2023-10-13	12:46:41	1470	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:41	1470	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:41	1470	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_65'
2023-10-13	12:46:41	1470	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:41	1470	[DEBUG]	Processing product tax
2023-10-13	12:46:41	1470	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:41	1470	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:41	1470	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:41	1470	[DEBUG]	Query for Product
2023-10-13	12:46:41	1470	[DEBUG]	Executed store
2023-10-13	12:46:41	1470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860957','1000000078077','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:41	1470	[DEBUG]	No parent found
2023-10-13	12:46:41	1470	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860957 AND customfield_value = 'stockable'
2023-10-13	12:46:41	1470	[DEBUG]	Check product language entry
2023-10-13	12:46:41	1470	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860962
2023-10-13	12:46:41	1470	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:41	1470	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078077' AND `virtuemart_product_id` != 1860962
2023-10-13	12:46:41	1470	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:41	1470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860962, '1000000078077')
2023-10-13	12:46:41	1470	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:41	1470	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-41' AND `virtuemart_product_id` != 1860962
2023-10-13	12:46:41	1470	[DEBUG]	Query for ProductLang
2023-10-13	12:46:41	1470	[DEBUG]	Executed store
2023-10-13	12:46:41	1470	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Jaune (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-41' WHERE `virtuemart_product_id` = '1860962'
2023-10-13	12:46:41	1470	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:41	1470	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:41	1470	[DEBUG]	Process image file
2023-10-13	12:46:41	1470	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:41	1470	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:41	1470	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:41	1470	[DEBUG]	Full name target: bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:42	1470	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:42	1470	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:42	1470	[DEBUG]	Query for Media
2023-10-13	12:46:42	1470	[DEBUG]	Executed store
2023-10-13	12:46:42	1470	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15962'
2023-10-13	12:46:42	1470	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:42	1470	[DEBUG]	Executed store
2023-10-13	12:46:42	1470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860962','15962','1')
2023-10-13	12:46:42	1470	[DEBUG]	Store product image relation
2023-10-13	12:46:42	1470	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:42	1470	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860962 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:42	1470	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:42	1470	[DEBUG]	Executed store
2023-10-13	12:46:42	1470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860962','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:42	1470	[DEBUG]	Checking manufacturer
2023-10-13	12:46:42	1470	[DEBUG]	Load a row
2023-10-13	12:46:42	1470	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:42	1470	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:42	1470	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:42	1470	[DEBUG]	Executed store
2023-10-13	12:46:42	1470	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:42	1470	[DEBUG]	Manufacturer exists
2023-10-13	12:46:42	1470	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:42	1470	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:42	1470	[DEBUG]	Executed store
2023-10-13	12:46:42	1470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860962','32')
2023-10-13	12:46:42	1470	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:42	1470	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:42	1470	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860962 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:42	1470	[DEBUG]	Store custom available field
2023-10-13	12:46:42	1470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860962,3,'',1)
2023-10-13	12:46:42	1470	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:42	1470	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:46:42	1470	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860962 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:42	1470	[DEBUG]	Store custom available field
2023-10-13	12:46:42	1470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860962,6,'41',3)
2023-10-13	12:46:42	1470	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:42	1470	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:42	1470	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860957
2023-10-13	12:46:42	1470	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:42	1470	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n43\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1860957\":[1860957,8,1,\"choisir la taille\"],\"1860958\":[\"43\"],\"1860959\":[\"38\"],\"1860960\":[\"39\"],\"1860961\":[\"40\"],\"1860962\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1860957
2023-10-13	12:46:42	1470	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:42	1470	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860962
2023-10-13	12:46:42	1471	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:42	1471	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:42	1471	[DEBUG]	Use field value for field taille
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:42	1471	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:42	1471	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:42	1471	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:42	1471	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:42	1471	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:42	1471	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:42	1471	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:42	1471	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:42	1471	[DEBUG]	Use field value for field published
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:42	1471	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field override
2023-10-13	12:46:42	1471	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:42	1471	[DEBUG]	Use field value for field slug
2023-10-13	12:46:42	1471	[DEBUG]	Process line 1471
2023-10-13	12:46:42	1471	[DEBUG]	Load a row
2023-10-13	12:46:42	1471	[DEBUG]	Processing item: 1000000078084
2023-10-13	12:46:42	1471	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:42	1471	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:42	1471	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_65'
2023-10-13	12:46:42	1471	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:42	1471	[DEBUG]	Processing product tax
2023-10-13	12:46:42	1471	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:42	1471	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:42	1471	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:42	1471	[DEBUG]	Query for Product
2023-10-13	12:46:42	1471	[DEBUG]	Executed store
2023-10-13	12:46:42	1471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860957','1000000078084','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:42	1471	[DEBUG]	No parent found
2023-10-13	12:46:42	1471	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860957 AND customfield_value = 'stockable'
2023-10-13	12:46:42	1471	[DEBUG]	Check product language entry
2023-10-13	12:46:42	1471	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860963
2023-10-13	12:46:42	1471	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:42	1471	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078084' AND `virtuemart_product_id` != 1860963
2023-10-13	12:46:42	1471	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:42	1471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860963, '1000000078084')
2023-10-13	12:46:42	1471	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:42	1471	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-42' AND `virtuemart_product_id` != 1860963
2023-10-13	12:46:42	1471	[DEBUG]	Query for ProductLang
2023-10-13	12:46:42	1471	[DEBUG]	Executed store
2023-10-13	12:46:42	1471	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Jaune (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-42' WHERE `virtuemart_product_id` = '1860963'
2023-10-13	12:46:42	1471	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:42	1471	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:42	1471	[DEBUG]	Process image file
2023-10-13	12:46:42	1471	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:42	1471	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:42	1471	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:42	1471	[DEBUG]	Full name target: bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:43	1471	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:43	1471	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:43	1471	[DEBUG]	Query for Media
2023-10-13	12:46:43	1471	[DEBUG]	Executed store
2023-10-13	12:46:43	1471	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15962'
2023-10-13	12:46:43	1471	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:43	1471	[DEBUG]	Executed store
2023-10-13	12:46:43	1471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860963','15962','1')
2023-10-13	12:46:43	1471	[DEBUG]	Store product image relation
2023-10-13	12:46:43	1471	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:43	1471	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860963 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:43	1471	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:43	1471	[DEBUG]	Executed store
2023-10-13	12:46:43	1471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860963','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:43	1471	[DEBUG]	Checking manufacturer
2023-10-13	12:46:43	1471	[DEBUG]	Load a row
2023-10-13	12:46:43	1471	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:43	1471	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:43	1471	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:43	1471	[DEBUG]	Executed store
2023-10-13	12:46:43	1471	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:43	1471	[DEBUG]	Manufacturer exists
2023-10-13	12:46:43	1471	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:43	1471	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:43	1471	[DEBUG]	Executed store
2023-10-13	12:46:43	1471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860963','32')
2023-10-13	12:46:43	1471	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:43	1471	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:43	1471	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860963 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:43	1471	[DEBUG]	Store custom available field
2023-10-13	12:46:43	1471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860963,3,'',1)
2023-10-13	12:46:43	1471	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:43	1471	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:46:43	1471	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860963 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:43	1471	[DEBUG]	Store custom available field
2023-10-13	12:46:43	1471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860963,6,'42',3)
2023-10-13	12:46:43	1471	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:43	1471	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:43	1471	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860957
2023-10-13	12:46:43	1471	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:43	1471	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n43\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1860957\":[1860957,8,1,\"choisir la taille\"],\"1860958\":[\"43\"],\"1860959\":[\"38\"],\"1860960\":[\"39\"],\"1860961\":[\"40\"],\"1860962\":[\"41\"],\"1860963\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1860957
2023-10-13	12:46:43	1471	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:43	1471	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860963
2023-10-13	12:46:43	1472	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:43	1472	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:43	1472	[DEBUG]	Use field value for field taille
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:43	1472	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:43	1472	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:43	1472	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:43	1472	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:43	1472	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:43	1472	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:43	1472	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:43	1472	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:43	1472	[DEBUG]	Use field value for field published
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:43	1472	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field override
2023-10-13	12:46:43	1472	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:43	1472	[DEBUG]	Use field value for field slug
2023-10-13	12:46:43	1472	[DEBUG]	Process line 1472
2023-10-13	12:46:43	1472	[DEBUG]	Load a row
2023-10-13	12:46:43	1472	[DEBUG]	Processing item: 8435466296551
2023-10-13	12:46:43	1472	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:43	1472	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:43	1472	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_65'
2023-10-13	12:46:43	1472	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:43	1472	[DEBUG]	Processing product tax
2023-10-13	12:46:43	1472	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:43	1472	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:43	1472	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:43	1472	[DEBUG]	Query for Product
2023-10-13	12:46:43	1472	[DEBUG]	Executed store
2023-10-13	12:46:43	1472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860957','8435466296551','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:43	1472	[DEBUG]	No parent found
2023-10-13	12:46:43	1472	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860957 AND customfield_value = 'stockable'
2023-10-13	12:46:43	1472	[DEBUG]	Check product language entry
2023-10-13	12:46:43	1472	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860964
2023-10-13	12:46:43	1472	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:43	1472	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466296551' AND `virtuemart_product_id` != 1860964
2023-10-13	12:46:43	1472	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:43	1472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860964, '8435466296551')
2023-10-13	12:46:43	1472	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:43	1472	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-44' AND `virtuemart_product_id` != 1860964
2023-10-13	12:46:43	1472	[DEBUG]	Query for ProductLang
2023-10-13	12:46:43	1472	[DEBUG]	Executed store
2023-10-13	12:46:43	1472	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Jaune (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-44' WHERE `virtuemart_product_id` = '1860964'
2023-10-13	12:46:43	1472	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:43	1472	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:43	1472	[DEBUG]	Process image file
2023-10-13	12:46:43	1472	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:43	1472	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:43	1472	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:43	1472	[DEBUG]	Full name target: bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:44	1472	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:44	1472	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:44	1472	[DEBUG]	Query for Media
2023-10-13	12:46:44	1472	[DEBUG]	Executed store
2023-10-13	12:46:44	1472	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15962'
2023-10-13	12:46:44	1472	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:44	1472	[DEBUG]	Executed store
2023-10-13	12:46:44	1472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860964','15962','1')
2023-10-13	12:46:44	1472	[DEBUG]	Store product image relation
2023-10-13	12:46:44	1472	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:44	1472	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860964 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:44	1472	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:44	1472	[DEBUG]	Executed store
2023-10-13	12:46:44	1472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860964','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:44	1472	[DEBUG]	Checking manufacturer
2023-10-13	12:46:44	1472	[DEBUG]	Load a row
2023-10-13	12:46:44	1472	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:44	1472	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:44	1472	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:44	1472	[DEBUG]	Executed store
2023-10-13	12:46:44	1472	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:44	1472	[DEBUG]	Manufacturer exists
2023-10-13	12:46:44	1472	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:44	1472	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:44	1472	[DEBUG]	Executed store
2023-10-13	12:46:44	1472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860964','32')
2023-10-13	12:46:44	1472	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:44	1472	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:44	1472	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860964 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:44	1472	[DEBUG]	Store custom available field
2023-10-13	12:46:44	1472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860964,3,'',1)
2023-10-13	12:46:44	1472	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:44	1472	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:46:44	1472	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860964 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:44	1472	[DEBUG]	Store custom available field
2023-10-13	12:46:44	1472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860964,6,'44',3)
2023-10-13	12:46:44	1472	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:44	1472	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:44	1472	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860957
2023-10-13	12:46:44	1472	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:44	1472	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n43\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n44\"}]|clabels=0|options={\"1860957\":[1860957,8,1,\"choisir la taille\"],\"1860958\":[\"43\"],\"1860959\":[\"38\"],\"1860960\":[\"39\"],\"1860961\":[\"40\"],\"1860962\":[\"41\"],\"1860963\":[\"42\"],\"1860964\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1860957
2023-10-13	12:46:44	1472	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:44	1472	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860964
2023-10-13	12:46:44	1473	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:44	1473	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:44	1473	[DEBUG]	Use field value for field taille
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:44	1473	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:44	1473	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:44	1473	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:44	1473	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:44	1473	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:44	1473	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:44	1473	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:44	1473	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:44	1473	[DEBUG]	Use field value for field published
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:44	1473	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field override
2023-10-13	12:46:44	1473	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:44	1473	[DEBUG]	Use field value for field slug
2023-10-13	12:46:44	1473	[DEBUG]	Process line 1473
2023-10-13	12:46:44	1473	[DEBUG]	Load a row
2023-10-13	12:46:44	1473	[DEBUG]	Processing item: 8435466296568
2023-10-13	12:46:44	1473	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:44	1473	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:44	1473	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_65'
2023-10-13	12:46:44	1473	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:44	1473	[DEBUG]	Processing product tax
2023-10-13	12:46:44	1473	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:44	1473	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:44	1473	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:44	1473	[DEBUG]	Query for Product
2023-10-13	12:46:44	1473	[DEBUG]	Executed store
2023-10-13	12:46:44	1473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860957','8435466296568','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:44	1473	[DEBUG]	No parent found
2023-10-13	12:46:44	1473	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860957 AND customfield_value = 'stockable'
2023-10-13	12:46:44	1473	[DEBUG]	Check product language entry
2023-10-13	12:46:44	1473	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860965
2023-10-13	12:46:44	1473	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:44	1473	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466296568' AND `virtuemart_product_id` != 1860965
2023-10-13	12:46:44	1473	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:44	1473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860965, '8435466296568')
2023-10-13	12:46:44	1473	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:44	1473	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-45' AND `virtuemart_product_id` != 1860965
2023-10-13	12:46:44	1473	[DEBUG]	Query for ProductLang
2023-10-13	12:46:44	1473	[DEBUG]	Executed store
2023-10-13	12:46:44	1473	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Jaune (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-45' WHERE `virtuemart_product_id` = '1860965'
2023-10-13	12:46:44	1473	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:44	1473	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:44	1473	[DEBUG]	Process image file
2023-10-13	12:46:44	1473	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:44	1473	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:44	1473	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:44	1473	[DEBUG]	Full name target: bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:45	1473	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:45	1473	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:45	1473	[DEBUG]	Query for Media
2023-10-13	12:46:45	1473	[DEBUG]	Executed store
2023-10-13	12:46:45	1473	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15962'
2023-10-13	12:46:45	1473	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:45	1473	[DEBUG]	Executed store
2023-10-13	12:46:45	1473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860965','15962','1')
2023-10-13	12:46:45	1473	[DEBUG]	Store product image relation
2023-10-13	12:46:45	1473	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:45	1473	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860965 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:45	1473	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:45	1473	[DEBUG]	Executed store
2023-10-13	12:46:45	1473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860965','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:45	1473	[DEBUG]	Checking manufacturer
2023-10-13	12:46:45	1473	[DEBUG]	Load a row
2023-10-13	12:46:45	1473	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:45	1473	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:45	1473	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:45	1473	[DEBUG]	Executed store
2023-10-13	12:46:45	1473	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:45	1473	[DEBUG]	Manufacturer exists
2023-10-13	12:46:45	1473	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:45	1473	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:45	1473	[DEBUG]	Executed store
2023-10-13	12:46:45	1473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860965','32')
2023-10-13	12:46:45	1473	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:45	1473	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:45	1473	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860965 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:45	1473	[DEBUG]	Store custom available field
2023-10-13	12:46:45	1473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860965,3,'',1)
2023-10-13	12:46:45	1473	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:45	1473	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:46:45	1473	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860965 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:45	1473	[DEBUG]	Store custom available field
2023-10-13	12:46:45	1473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860965,6,'45',3)
2023-10-13	12:46:45	1473	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:45	1473	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:45	1473	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860957
2023-10-13	12:46:45	1473	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:45	1473	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n43\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1860957\":[1860957,8,1,\"choisir la taille\"],\"1860958\":[\"43\"],\"1860959\":[\"38\"],\"1860960\":[\"39\"],\"1860961\":[\"40\"],\"1860962\":[\"41\"],\"1860963\":[\"42\"],\"1860964\":[\"44\"],\"1860965\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1860957
2023-10-13	12:46:45	1473	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:45	1473	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860965
2023-10-13	12:46:45	1474	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:45	1474	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:45	1474	[DEBUG]	Use field value for field taille
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:45	1474	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:45	1474	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:45	1474	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:45	1474	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:45	1474	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:45	1474	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:45	1474	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:45	1474	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:45	1474	[DEBUG]	Use field value for field published
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:45	1474	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field override
2023-10-13	12:46:45	1474	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:45	1474	[DEBUG]	Use field value for field slug
2023-10-13	12:46:45	1474	[DEBUG]	Process line 1474
2023-10-13	12:46:45	1474	[DEBUG]	Load a row
2023-10-13	12:46:45	1474	[DEBUG]	Processing item: 1000000078114
2023-10-13	12:46:45	1474	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:45	1474	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:45	1474	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_65'
2023-10-13	12:46:45	1474	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:45	1474	[DEBUG]	Processing product tax
2023-10-13	12:46:45	1474	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:45	1474	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:45	1474	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:45	1474	[DEBUG]	Query for Product
2023-10-13	12:46:45	1474	[DEBUG]	Executed store
2023-10-13	12:46:45	1474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860957','1000000078114','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:45	1474	[DEBUG]	No parent found
2023-10-13	12:46:45	1474	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860957 AND customfield_value = 'stockable'
2023-10-13	12:46:45	1474	[DEBUG]	Check product language entry
2023-10-13	12:46:45	1474	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860966
2023-10-13	12:46:45	1474	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:45	1474	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078114' AND `virtuemart_product_id` != 1860966
2023-10-13	12:46:45	1474	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:45	1474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860966, '1000000078114')
2023-10-13	12:46:46	1474	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:46	1474	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-46' AND `virtuemart_product_id` != 1860966
2023-10-13	12:46:46	1474	[DEBUG]	Query for ProductLang
2023-10-13	12:46:46	1474	[DEBUG]	Executed store
2023-10-13	12:46:46	1474	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Jaune (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-46' WHERE `virtuemart_product_id` = '1860966'
2023-10-13	12:46:46	1474	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:46	1474	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:46	1474	[DEBUG]	Process image file
2023-10-13	12:46:46	1474	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:46	1474	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:46	1474	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:46	1474	[DEBUG]	Full name target: bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:46	1474	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:46	1474	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:46	1474	[DEBUG]	Query for Media
2023-10-13	12:46:46	1474	[DEBUG]	Executed store
2023-10-13	12:46:46	1474	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15962'
2023-10-13	12:46:46	1474	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:46	1474	[DEBUG]	Executed store
2023-10-13	12:46:46	1474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860966','15962','1')
2023-10-13	12:46:46	1474	[DEBUG]	Store product image relation
2023-10-13	12:46:46	1474	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:46	1474	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860966 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:47	1474	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:47	1474	[DEBUG]	Executed store
2023-10-13	12:46:47	1474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860966','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:47	1474	[DEBUG]	Checking manufacturer
2023-10-13	12:46:47	1474	[DEBUG]	Load a row
2023-10-13	12:46:47	1474	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:47	1474	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:47	1474	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:47	1474	[DEBUG]	Executed store
2023-10-13	12:46:47	1474	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:47	1474	[DEBUG]	Manufacturer exists
2023-10-13	12:46:47	1474	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:47	1474	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:47	1474	[DEBUG]	Executed store
2023-10-13	12:46:47	1474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860966','32')
2023-10-13	12:46:47	1474	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:47	1474	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:47	1474	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860966 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:47	1474	[DEBUG]	Store custom available field
2023-10-13	12:46:47	1474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860966,3,'',1)
2023-10-13	12:46:47	1474	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:47	1474	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:46:47	1474	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860966 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:47	1474	[DEBUG]	Store custom available field
2023-10-13	12:46:47	1474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860966,6,'46',3)
2023-10-13	12:46:47	1474	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:47	1474	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:47	1474	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860957
2023-10-13	12:46:47	1474	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:47	1474	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n43\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1860957\":[1860957,8,1,\"choisir la taille\"],\"1860958\":[\"43\"],\"1860959\":[\"38\"],\"1860960\":[\"39\"],\"1860961\":[\"40\"],\"1860962\":[\"41\"],\"1860963\":[\"42\"],\"1860964\":[\"44\"],\"1860965\":[\"45\"],\"1860966\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1860957
2023-10-13	12:46:47	1474	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:47	1474	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860966
2023-10-13	12:46:47	1475	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:47	1475	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:47	1475	[DEBUG]	Use field value for field taille
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:47	1475	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:47	1475	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:47	1475	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:47	1475	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:47	1475	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:47	1475	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:47	1475	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:47	1475	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:47	1475	[DEBUG]	Use field value for field published
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:47	1475	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field override
2023-10-13	12:46:47	1475	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:47	1475	[DEBUG]	Use field value for field slug
2023-10-13	12:46:47	1475	[DEBUG]	Process line 1475
2023-10-13	12:46:47	1475	[DEBUG]	Load a row
2023-10-13	12:46:47	1475	[DEBUG]	Processing item: 1000000078121
2023-10-13	12:46:47	1475	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:47	1475	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:47	1475	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_65'
2023-10-13	12:46:47	1475	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:47	1475	[DEBUG]	Processing product tax
2023-10-13	12:46:47	1475	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:47	1475	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:47	1475	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:47	1475	[DEBUG]	Query for Product
2023-10-13	12:46:47	1475	[DEBUG]	Executed store
2023-10-13	12:46:47	1475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860957','1000000078121','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:47	1475	[DEBUG]	No parent found
2023-10-13	12:46:47	1475	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860957 AND customfield_value = 'stockable'
2023-10-13	12:46:47	1475	[DEBUG]	Check product language entry
2023-10-13	12:46:47	1475	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860967
2023-10-13	12:46:47	1475	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:47	1475	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078121' AND `virtuemart_product_id` != 1860967
2023-10-13	12:46:47	1475	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:47	1475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860967, '1000000078121')
2023-10-13	12:46:47	1475	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:47	1475	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-47' AND `virtuemart_product_id` != 1860967
2023-10-13	12:46:47	1475	[DEBUG]	Query for ProductLang
2023-10-13	12:46:47	1475	[DEBUG]	Executed store
2023-10-13	12:46:47	1475	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Jaune (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-jaune-47' WHERE `virtuemart_product_id` = '1860967'
2023-10-13	12:46:47	1475	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:47	1475	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:47	1475	[DEBUG]	Process image file
2023-10-13	12:46:47	1475	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:47	1475	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:47	1475	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:47	1475	[DEBUG]	Full name target: bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:48	1475	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:48	1475	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:48	1475	[DEBUG]	Query for Media
2023-10-13	12:46:48	1475	[DEBUG]	Executed store
2023-10-13	12:46:48	1475	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29615_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15962'
2023-10-13	12:46:48	1475	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:48	1475	[DEBUG]	Executed store
2023-10-13	12:46:48	1475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860967','15962','1')
2023-10-13	12:46:48	1475	[DEBUG]	Store product image relation
2023-10-13	12:46:48	1475	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:48	1475	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860967 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:48	1475	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:48	1475	[DEBUG]	Executed store
2023-10-13	12:46:48	1475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860967','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:48	1475	[DEBUG]	Checking manufacturer
2023-10-13	12:46:48	1475	[DEBUG]	Load a row
2023-10-13	12:46:48	1475	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:48	1475	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:48	1475	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:48	1475	[DEBUG]	Executed store
2023-10-13	12:46:48	1475	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:48	1475	[DEBUG]	Manufacturer exists
2023-10-13	12:46:48	1475	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:48	1475	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:48	1475	[DEBUG]	Executed store
2023-10-13	12:46:48	1475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860967','32')
2023-10-13	12:46:48	1475	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:48	1475	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:48	1475	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860967 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:48	1475	[DEBUG]	Store custom available field
2023-10-13	12:46:48	1475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860967,3,'',1)
2023-10-13	12:46:48	1475	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:48	1475	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:46:48	1475	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860967 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:48	1475	[DEBUG]	Store custom available field
2023-10-13	12:46:48	1475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860967,6,'47',3)
2023-10-13	12:46:48	1475	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:48	1475	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:48	1475	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860957
2023-10-13	12:46:48	1475	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:48	1475	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n43\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1860957\":[1860957,8,1,\"choisir la taille\"],\"1860958\":[\"43\"],\"1860959\":[\"38\"],\"1860960\":[\"39\"],\"1860961\":[\"40\"],\"1860962\":[\"41\"],\"1860963\":[\"42\"],\"1860964\":[\"44\"],\"1860965\":[\"45\"],\"1860966\":[\"46\"],\"1860967\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1860957
2023-10-13	12:46:48	1475	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:48	1475	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860967
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:48	1476	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field taille
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field category_path
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:48	1476	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:46:48	1476	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:48	1476	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field product_weight
2023-10-13	12:46:48	1476	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:48	1476	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:48	1476	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field published
2023-10-13	12:46:48	1476	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:48	1476	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field custom_title
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field custom_param
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field override
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field public_price
2023-10-13	12:46:48	1476	[DEBUG]	Use field value for field slug
2023-10-13	12:46:48	1476	[DEBUG]	Process line 1476
2023-10-13	12:46:48	1476	[DEBUG]	Load a row
2023-10-13	12:46:48	1476	[DEBUG]	Processing item: A_5153_150
2023-10-13	12:46:48	1476	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:48	1476	[DEBUG]	Processing product tax
2023-10-13	12:46:48	1476	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:48	1476	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:48	1476	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:48	1476	[DEBUG]	Query for Product
2023-10-13	12:46:48	1476	[DEBUG]	Executed store
2023-10-13	12:46:48	1476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5153_150','0.51','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:48	1476	[DEBUG]	Check product language entry
2023-10-13	12:46:48	1476	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860968
2023-10-13	12:46:48	1476	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:48	1476	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5153_150' AND `virtuemart_product_id` != 1860968
2023-10-13	12:46:48	1476	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:48	1476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860968, 'A_5153_150')
2023-10-13	12:46:48	1476	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:48	1476	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose' AND `virtuemart_product_id` != 1860968
2023-10-13	12:46:48	1476	[DEBUG]	Query for ProductLang
2023-10-13	12:46:48	1476	[DEBUG]	Executed store
2023-10-13	12:46:48	1476	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro Road avec système de ventilation breveté ! 510 gr.<br>N° art fourn : ZAEROROAD',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rose',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose' WHERE `virtuemart_product_id` = '1860968'
2023-10-13	12:46:48	1476	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:48	1476	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:48	1476	[DEBUG]	Process image file
2023-10-13	12:46:48	1476	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:48	1476	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:48	1476	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:48	1476	[DEBUG]	Full name target: bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:49	1476	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:49	1476	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:49	1476	[DEBUG]	Query for Media
2023-10-13	12:46:49	1476	[DEBUG]	Executed store
2023-10-13	12:46:49	1476	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15963'
2023-10-13	12:46:49	1476	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:49	1476	[DEBUG]	Executed store
2023-10-13	12:46:49	1476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860968','15963','1')
2023-10-13	12:46:49	1476	[DEBUG]	Store product image relation
2023-10-13	12:46:49	1476	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:49	1476	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860968 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:49	1476	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:49	1476	[DEBUG]	Executed store
2023-10-13	12:46:49	1476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860968','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:49	1476	[DEBUG]	Checking manufacturer
2023-10-13	12:46:49	1476	[DEBUG]	Load a row
2023-10-13	12:46:49	1476	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:49	1476	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:49	1476	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:49	1476	[DEBUG]	Executed store
2023-10-13	12:46:49	1476	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:49	1476	[DEBUG]	Manufacturer exists
2023-10-13	12:46:49	1476	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:49	1476	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:49	1476	[DEBUG]	Executed store
2023-10-13	12:46:49	1476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860968','32')
2023-10-13	12:46:49	1476	[DEBUG]	Find the custom field ID
2023-10-13	12:46:49	1476	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:46:49	1476	[DEBUG]	No custom field ID found
2023-10-13	12:46:49	1476	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:49	1476	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:46:49	1476	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860968 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:49	1476	[DEBUG]	Store custom available field
2023-10-13	12:46:49	1476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860968,3,'179.400277777778',1)
2023-10-13	12:46:49	1476	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:49	1476	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:46:49	1476	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860968 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:49	1476	[DEBUG]	Store custom available field
2023-10-13	12:46:49	1476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860968,6,'choisir la taille',3)
2023-10-13	12:46:49	1476	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:49	1476	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:46:49	1476	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:46:49	1476	[DEBUG]	Find the multi variant product entry
2023-10-13	12:46:49	1476	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860968 AND `virtuemart_custom_id` = 8
2023-10-13	12:46:49	1476	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:46:49	1476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860968,8,1)
2023-10-13	12:46:49	1476	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:49	1476	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860968\":[1860968,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860968
2023-10-13	12:46:49	1476	[DEBUG]	Checking category
2023-10-13	12:46:49	1476	[DEBUG]	Get the existing categories for the product
2023-10-13	12:46:49	1476	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860968
2023-10-13	12:46:49	1476	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:46:49	1476	[DEBUG]	Executed store
2023-10-13	12:46:49	1476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860968','7331')
2023-10-13	12:46:49	1476	[DEBUG]	Delete leftover product categories
2023-10-13	12:46:49	1476	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860968 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:46:49	1476	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:49	1476	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860968
2023-10-13	12:46:49	1477	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:49	1477	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:49	1477	[DEBUG]	Use field value for field taille
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:49	1477	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:49	1477	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:49	1477	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:49	1477	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:49	1477	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:49	1477	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:49	1477	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:49	1477	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:49	1477	[DEBUG]	Use field value for field published
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:49	1477	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field override
2023-10-13	12:46:49	1477	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:49	1477	[DEBUG]	Use field value for field slug
2023-10-13	12:46:49	1477	[DEBUG]	Process line 1477
2023-10-13	12:46:49	1477	[DEBUG]	Load a row
2023-10-13	12:46:49	1477	[DEBUG]	Processing item: 1000000078220
2023-10-13	12:46:49	1477	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:49	1477	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:49	1477	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_150'
2023-10-13	12:46:49	1477	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:49	1477	[DEBUG]	Processing product tax
2023-10-13	12:46:49	1477	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:49	1477	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:49	1477	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:49	1477	[DEBUG]	Query for Product
2023-10-13	12:46:49	1477	[DEBUG]	Executed store
2023-10-13	12:46:49	1477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860968','1000000078220','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:49	1477	[DEBUG]	No parent found
2023-10-13	12:46:49	1477	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860968 AND customfield_value = 'stockable'
2023-10-13	12:46:49	1477	[DEBUG]	Check product language entry
2023-10-13	12:46:49	1477	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860969
2023-10-13	12:46:49	1477	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:49	1477	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078220' AND `virtuemart_product_id` != 1860969
2023-10-13	12:46:49	1477	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:49	1477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860969, '1000000078220')
2023-10-13	12:46:49	1477	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:49	1477	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-38' AND `virtuemart_product_id` != 1860969
2023-10-13	12:46:49	1477	[DEBUG]	Query for ProductLang
2023-10-13	12:46:49	1477	[DEBUG]	Executed store
2023-10-13	12:46:49	1477	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rose (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-38' WHERE `virtuemart_product_id` = '1860969'
2023-10-13	12:46:49	1477	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:49	1477	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:49	1477	[DEBUG]	Process image file
2023-10-13	12:46:49	1477	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:49	1477	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:49	1477	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:49	1477	[DEBUG]	Full name target: bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:50	1477	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:50	1477	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:50	1477	[DEBUG]	Query for Media
2023-10-13	12:46:50	1477	[DEBUG]	Executed store
2023-10-13	12:46:50	1477	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15963'
2023-10-13	12:46:50	1477	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:50	1477	[DEBUG]	Executed store
2023-10-13	12:46:50	1477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860969','15963','1')
2023-10-13	12:46:50	1477	[DEBUG]	Store product image relation
2023-10-13	12:46:50	1477	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:50	1477	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860969 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:50	1477	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:50	1477	[DEBUG]	Executed store
2023-10-13	12:46:50	1477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860969','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:50	1477	[DEBUG]	Checking manufacturer
2023-10-13	12:46:50	1477	[DEBUG]	Load a row
2023-10-13	12:46:50	1477	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:50	1477	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:50	1477	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:50	1477	[DEBUG]	Executed store
2023-10-13	12:46:50	1477	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:50	1477	[DEBUG]	Manufacturer exists
2023-10-13	12:46:50	1477	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:50	1477	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:50	1477	[DEBUG]	Executed store
2023-10-13	12:46:50	1477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860969','32')
2023-10-13	12:46:50	1477	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:50	1477	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:50	1477	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860969 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:50	1477	[DEBUG]	Store custom available field
2023-10-13	12:46:50	1477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860969,3,'',1)
2023-10-13	12:46:50	1477	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:50	1477	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:46:50	1477	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860969 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:50	1477	[DEBUG]	Store custom available field
2023-10-13	12:46:50	1477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860969,6,'38',3)
2023-10-13	12:46:50	1477	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:50	1477	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:50	1477	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860968
2023-10-13	12:46:50	1477	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:50	1477	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1860968\":[1860968,8,1,\"choisir la taille\"],\"1860969\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1860968
2023-10-13	12:46:50	1477	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:50	1477	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860969
2023-10-13	12:46:50	1478	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:50	1478	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:50	1478	[DEBUG]	Use field value for field taille
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:50	1478	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:50	1478	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:50	1478	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:50	1478	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:50	1478	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:50	1478	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:50	1478	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:50	1478	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:50	1478	[DEBUG]	Use field value for field published
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:50	1478	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field override
2023-10-13	12:46:50	1478	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:50	1478	[DEBUG]	Use field value for field slug
2023-10-13	12:46:50	1478	[DEBUG]	Process line 1478
2023-10-13	12:46:50	1478	[DEBUG]	Load a row
2023-10-13	12:46:50	1478	[DEBUG]	Processing item: 1000000078237
2023-10-13	12:46:50	1478	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:50	1478	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:50	1478	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_150'
2023-10-13	12:46:50	1478	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:50	1478	[DEBUG]	Processing product tax
2023-10-13	12:46:50	1478	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:50	1478	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:50	1478	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:50	1478	[DEBUG]	Query for Product
2023-10-13	12:46:50	1478	[DEBUG]	Executed store
2023-10-13	12:46:50	1478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860968','1000000078237','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:50	1478	[DEBUG]	No parent found
2023-10-13	12:46:50	1478	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860968 AND customfield_value = 'stockable'
2023-10-13	12:46:50	1478	[DEBUG]	Check product language entry
2023-10-13	12:46:50	1478	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860970
2023-10-13	12:46:50	1478	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:50	1478	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078237' AND `virtuemart_product_id` != 1860970
2023-10-13	12:46:50	1478	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:50	1478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860970, '1000000078237')
2023-10-13	12:46:50	1478	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:50	1478	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-39' AND `virtuemart_product_id` != 1860970
2023-10-13	12:46:50	1478	[DEBUG]	Query for ProductLang
2023-10-13	12:46:50	1478	[DEBUG]	Executed store
2023-10-13	12:46:50	1478	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rose (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-39' WHERE `virtuemart_product_id` = '1860970'
2023-10-13	12:46:50	1478	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:50	1478	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:50	1478	[DEBUG]	Process image file
2023-10-13	12:46:50	1478	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:50	1478	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:50	1478	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:50	1478	[DEBUG]	Full name target: bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:51	1478	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:51	1478	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:51	1478	[DEBUG]	Query for Media
2023-10-13	12:46:51	1478	[DEBUG]	Executed store
2023-10-13	12:46:51	1478	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15963'
2023-10-13	12:46:51	1478	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:51	1478	[DEBUG]	Executed store
2023-10-13	12:46:51	1478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860970','15963','1')
2023-10-13	12:46:51	1478	[DEBUG]	Store product image relation
2023-10-13	12:46:51	1478	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:51	1478	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860970 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:51	1478	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:51	1478	[DEBUG]	Executed store
2023-10-13	12:46:51	1478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860970','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:51	1478	[DEBUG]	Checking manufacturer
2023-10-13	12:46:51	1478	[DEBUG]	Load a row
2023-10-13	12:46:51	1478	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:51	1478	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:51	1478	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:51	1478	[DEBUG]	Executed store
2023-10-13	12:46:51	1478	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:51	1478	[DEBUG]	Manufacturer exists
2023-10-13	12:46:51	1478	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:51	1478	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:51	1478	[DEBUG]	Executed store
2023-10-13	12:46:51	1478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860970','32')
2023-10-13	12:46:51	1478	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:51	1478	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:51	1478	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860970 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:51	1478	[DEBUG]	Store custom available field
2023-10-13	12:46:51	1478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860970,3,'',1)
2023-10-13	12:46:51	1478	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:51	1478	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:46:51	1478	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860970 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:51	1478	[DEBUG]	Store custom available field
2023-10-13	12:46:51	1478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860970,6,'39',3)
2023-10-13	12:46:51	1478	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:51	1478	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:51	1478	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860968
2023-10-13	12:46:51	1478	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:51	1478	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1860968\":[1860968,8,1,\"choisir la taille\"],\"1860969\":[\"38\"],\"1860970\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1860968
2023-10-13	12:46:51	1478	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:51	1478	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860970
2023-10-13	12:46:51	1479	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:51	1479	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:51	1479	[DEBUG]	Use field value for field taille
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:51	1479	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:51	1479	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:51	1479	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:51	1479	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:51	1479	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:51	1479	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:51	1479	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:51	1479	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:51	1479	[DEBUG]	Use field value for field published
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:51	1479	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field override
2023-10-13	12:46:51	1479	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:51	1479	[DEBUG]	Use field value for field slug
2023-10-13	12:46:51	1479	[DEBUG]	Process line 1479
2023-10-13	12:46:51	1479	[DEBUG]	Load a row
2023-10-13	12:46:51	1479	[DEBUG]	Processing item: 1000000078244
2023-10-13	12:46:51	1479	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:51	1479	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:51	1479	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_150'
2023-10-13	12:46:51	1479	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:51	1479	[DEBUG]	Processing product tax
2023-10-13	12:46:51	1479	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:51	1479	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:51	1479	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:51	1479	[DEBUG]	Query for Product
2023-10-13	12:46:51	1479	[DEBUG]	Executed store
2023-10-13	12:46:51	1479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860968','1000000078244','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:51	1479	[DEBUG]	No parent found
2023-10-13	12:46:51	1479	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860968 AND customfield_value = 'stockable'
2023-10-13	12:46:51	1479	[DEBUG]	Check product language entry
2023-10-13	12:46:51	1479	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860971
2023-10-13	12:46:51	1479	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:51	1479	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078244' AND `virtuemart_product_id` != 1860971
2023-10-13	12:46:51	1479	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:51	1479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860971, '1000000078244')
2023-10-13	12:46:51	1479	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:51	1479	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-40' AND `virtuemart_product_id` != 1860971
2023-10-13	12:46:51	1479	[DEBUG]	Query for ProductLang
2023-10-13	12:46:51	1479	[DEBUG]	Executed store
2023-10-13	12:46:51	1479	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rose (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-40' WHERE `virtuemart_product_id` = '1860971'
2023-10-13	12:46:51	1479	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:51	1479	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:51	1479	[DEBUG]	Process image file
2023-10-13	12:46:51	1479	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:51	1479	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:51	1479	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:51	1479	[DEBUG]	Full name target: bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:52	1479	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:52	1479	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:52	1479	[DEBUG]	Query for Media
2023-10-13	12:46:52	1479	[DEBUG]	Executed store
2023-10-13	12:46:52	1479	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15963'
2023-10-13	12:46:52	1479	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:52	1479	[DEBUG]	Executed store
2023-10-13	12:46:52	1479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860971','15963','1')
2023-10-13	12:46:52	1479	[DEBUG]	Store product image relation
2023-10-13	12:46:52	1479	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:52	1479	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860971 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:52	1479	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:52	1479	[DEBUG]	Executed store
2023-10-13	12:46:52	1479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860971','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:52	1479	[DEBUG]	Checking manufacturer
2023-10-13	12:46:52	1479	[DEBUG]	Load a row
2023-10-13	12:46:52	1479	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:52	1479	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:52	1479	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:52	1479	[DEBUG]	Executed store
2023-10-13	12:46:52	1479	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:52	1479	[DEBUG]	Manufacturer exists
2023-10-13	12:46:52	1479	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:52	1479	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:52	1479	[DEBUG]	Executed store
2023-10-13	12:46:52	1479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860971','32')
2023-10-13	12:46:52	1479	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:52	1479	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:52	1479	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860971 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:52	1479	[DEBUG]	Store custom available field
2023-10-13	12:46:52	1479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860971,3,'',1)
2023-10-13	12:46:52	1479	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:52	1479	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:46:52	1479	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860971 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:52	1479	[DEBUG]	Store custom available field
2023-10-13	12:46:52	1479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860971,6,'40',3)
2023-10-13	12:46:52	1479	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:52	1479	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:52	1479	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860968
2023-10-13	12:46:52	1479	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:52	1479	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1860968\":[1860968,8,1,\"choisir la taille\"],\"1860969\":[\"38\"],\"1860970\":[\"39\"],\"1860971\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1860968
2023-10-13	12:46:52	1479	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:52	1479	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860971
2023-10-13	12:46:52	1480	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:52	1480	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:52	1480	[DEBUG]	Use field value for field taille
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:52	1480	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:52	1480	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:52	1480	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:52	1480	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:52	1480	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:52	1480	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:52	1480	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:52	1480	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:52	1480	[DEBUG]	Use field value for field published
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:52	1480	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field override
2023-10-13	12:46:52	1480	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:52	1480	[DEBUG]	Use field value for field slug
2023-10-13	12:46:52	1480	[DEBUG]	Process line 1480
2023-10-13	12:46:52	1480	[DEBUG]	Load a row
2023-10-13	12:46:52	1480	[DEBUG]	Processing item: 1000000078251
2023-10-13	12:46:52	1480	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:52	1480	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:52	1480	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_150'
2023-10-13	12:46:52	1480	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:52	1480	[DEBUG]	Processing product tax
2023-10-13	12:46:52	1480	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:52	1480	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:52	1480	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:52	1480	[DEBUG]	Query for Product
2023-10-13	12:46:52	1480	[DEBUG]	Executed store
2023-10-13	12:46:52	1480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860968','1000000078251','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:52	1480	[DEBUG]	No parent found
2023-10-13	12:46:52	1480	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860968 AND customfield_value = 'stockable'
2023-10-13	12:46:52	1480	[DEBUG]	Check product language entry
2023-10-13	12:46:52	1480	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860972
2023-10-13	12:46:52	1480	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:52	1480	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078251' AND `virtuemart_product_id` != 1860972
2023-10-13	12:46:52	1480	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:52	1480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860972, '1000000078251')
2023-10-13	12:46:52	1480	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:52	1480	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-41' AND `virtuemart_product_id` != 1860972
2023-10-13	12:46:52	1480	[DEBUG]	Query for ProductLang
2023-10-13	12:46:52	1480	[DEBUG]	Executed store
2023-10-13	12:46:52	1480	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rose (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-41' WHERE `virtuemart_product_id` = '1860972'
2023-10-13	12:46:52	1480	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:52	1480	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:52	1480	[DEBUG]	Process image file
2023-10-13	12:46:52	1480	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:52	1480	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:52	1480	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:52	1480	[DEBUG]	Full name target: bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:53	1480	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:53	1480	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:53	1480	[DEBUG]	Query for Media
2023-10-13	12:46:53	1480	[DEBUG]	Executed store
2023-10-13	12:46:53	1480	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15963'
2023-10-13	12:46:53	1480	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:53	1480	[DEBUG]	Executed store
2023-10-13	12:46:53	1480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860972','15963','1')
2023-10-13	12:46:53	1480	[DEBUG]	Store product image relation
2023-10-13	12:46:53	1480	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:53	1480	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860972 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:53	1480	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:53	1480	[DEBUG]	Executed store
2023-10-13	12:46:53	1480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860972','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:53	1480	[DEBUG]	Checking manufacturer
2023-10-13	12:46:53	1480	[DEBUG]	Load a row
2023-10-13	12:46:53	1480	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:53	1480	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:53	1480	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:53	1480	[DEBUG]	Executed store
2023-10-13	12:46:53	1480	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:53	1480	[DEBUG]	Manufacturer exists
2023-10-13	12:46:53	1480	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:53	1480	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:53	1480	[DEBUG]	Executed store
2023-10-13	12:46:53	1480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860972','32')
2023-10-13	12:46:53	1480	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:53	1480	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:53	1480	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860972 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:53	1480	[DEBUG]	Store custom available field
2023-10-13	12:46:53	1480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860972,3,'',1)
2023-10-13	12:46:53	1480	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:53	1480	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:46:53	1480	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860972 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:53	1480	[DEBUG]	Store custom available field
2023-10-13	12:46:53	1480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860972,6,'41',3)
2023-10-13	12:46:53	1480	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:53	1480	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:53	1480	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860968
2023-10-13	12:46:53	1480	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:53	1480	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1860968\":[1860968,8,1,\"choisir la taille\"],\"1860969\":[\"38\"],\"1860970\":[\"39\"],\"1860971\":[\"40\"],\"1860972\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1860968
2023-10-13	12:46:53	1480	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:53	1480	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860972
2023-10-13	12:46:53	1481	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:53	1481	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:53	1481	[DEBUG]	Use field value for field taille
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:53	1481	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:53	1481	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:53	1481	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:53	1481	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:53	1481	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:53	1481	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:53	1481	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:53	1481	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:53	1481	[DEBUG]	Use field value for field published
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:53	1481	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field override
2023-10-13	12:46:53	1481	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:53	1481	[DEBUG]	Use field value for field slug
2023-10-13	12:46:53	1481	[DEBUG]	Process line 1481
2023-10-13	12:46:53	1481	[DEBUG]	Load a row
2023-10-13	12:46:53	1481	[DEBUG]	Processing item: 1000000078268
2023-10-13	12:46:53	1481	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:53	1481	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:53	1481	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_150'
2023-10-13	12:46:53	1481	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:53	1481	[DEBUG]	Processing product tax
2023-10-13	12:46:53	1481	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:53	1481	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:53	1481	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:53	1481	[DEBUG]	Query for Product
2023-10-13	12:46:53	1481	[DEBUG]	Executed store
2023-10-13	12:46:53	1481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860968','1000000078268','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:53	1481	[DEBUG]	No parent found
2023-10-13	12:46:53	1481	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860968 AND customfield_value = 'stockable'
2023-10-13	12:46:53	1481	[DEBUG]	Check product language entry
2023-10-13	12:46:53	1481	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860973
2023-10-13	12:46:53	1481	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:53	1481	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078268' AND `virtuemart_product_id` != 1860973
2023-10-13	12:46:53	1481	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:53	1481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860973, '1000000078268')
2023-10-13	12:46:53	1481	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:53	1481	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-42' AND `virtuemart_product_id` != 1860973
2023-10-13	12:46:53	1481	[DEBUG]	Query for ProductLang
2023-10-13	12:46:53	1481	[DEBUG]	Executed store
2023-10-13	12:46:53	1481	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rose (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-42' WHERE `virtuemart_product_id` = '1860973'
2023-10-13	12:46:53	1481	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:53	1481	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:53	1481	[DEBUG]	Process image file
2023-10-13	12:46:53	1481	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:53	1481	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:53	1481	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:53	1481	[DEBUG]	Full name target: bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:54	1481	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:54	1481	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:54	1481	[DEBUG]	Query for Media
2023-10-13	12:46:54	1481	[DEBUG]	Executed store
2023-10-13	12:46:54	1481	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15963'
2023-10-13	12:46:54	1481	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:54	1481	[DEBUG]	Executed store
2023-10-13	12:46:54	1481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860973','15963','1')
2023-10-13	12:46:54	1481	[DEBUG]	Store product image relation
2023-10-13	12:46:54	1481	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:54	1481	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860973 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:54	1481	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:54	1481	[DEBUG]	Executed store
2023-10-13	12:46:54	1481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860973','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:54	1481	[DEBUG]	Checking manufacturer
2023-10-13	12:46:54	1481	[DEBUG]	Load a row
2023-10-13	12:46:54	1481	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:54	1481	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:54	1481	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:54	1481	[DEBUG]	Executed store
2023-10-13	12:46:54	1481	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:54	1481	[DEBUG]	Manufacturer exists
2023-10-13	12:46:54	1481	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:54	1481	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:54	1481	[DEBUG]	Executed store
2023-10-13	12:46:54	1481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860973','32')
2023-10-13	12:46:54	1481	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:54	1481	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:54	1481	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860973 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:54	1481	[DEBUG]	Store custom available field
2023-10-13	12:46:54	1481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860973,3,'',1)
2023-10-13	12:46:54	1481	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:54	1481	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:46:54	1481	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860973 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:54	1481	[DEBUG]	Store custom available field
2023-10-13	12:46:54	1481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860973,6,'42',3)
2023-10-13	12:46:54	1481	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:54	1481	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:54	1481	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860968
2023-10-13	12:46:54	1481	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:54	1481	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1860968\":[1860968,8,1,\"choisir la taille\"],\"1860969\":[\"38\"],\"1860970\":[\"39\"],\"1860971\":[\"40\"],\"1860972\":[\"41\"],\"1860973\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1860968
2023-10-13	12:46:54	1481	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:54	1481	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860973
2023-10-13	12:46:54	1482	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:54	1482	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:54	1482	[DEBUG]	Use field value for field taille
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:54	1482	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:54	1482	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:54	1482	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:54	1482	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:54	1482	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:54	1482	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:54	1482	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:54	1482	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:54	1482	[DEBUG]	Use field value for field published
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:54	1482	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field override
2023-10-13	12:46:54	1482	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:54	1482	[DEBUG]	Use field value for field slug
2023-10-13	12:46:54	1482	[DEBUG]	Process line 1482
2023-10-13	12:46:54	1482	[DEBUG]	Load a row
2023-10-13	12:46:54	1482	[DEBUG]	Processing item: 1000000078275
2023-10-13	12:46:54	1482	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:54	1482	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:54	1482	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_150'
2023-10-13	12:46:54	1482	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:54	1482	[DEBUG]	Processing product tax
2023-10-13	12:46:54	1482	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:54	1482	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:54	1482	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:54	1482	[DEBUG]	Query for Product
2023-10-13	12:46:54	1482	[DEBUG]	Executed store
2023-10-13	12:46:54	1482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860968','1000000078275','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:54	1482	[DEBUG]	No parent found
2023-10-13	12:46:54	1482	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860968 AND customfield_value = 'stockable'
2023-10-13	12:46:54	1482	[DEBUG]	Check product language entry
2023-10-13	12:46:54	1482	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860974
2023-10-13	12:46:54	1482	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:54	1482	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078275' AND `virtuemart_product_id` != 1860974
2023-10-13	12:46:54	1482	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:54	1482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860974, '1000000078275')
2023-10-13	12:46:54	1482	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:54	1482	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-43' AND `virtuemart_product_id` != 1860974
2023-10-13	12:46:54	1482	[DEBUG]	Query for ProductLang
2023-10-13	12:46:54	1482	[DEBUG]	Executed store
2023-10-13	12:46:54	1482	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rose (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-43' WHERE `virtuemart_product_id` = '1860974'
2023-10-13	12:46:54	1482	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:54	1482	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:54	1482	[DEBUG]	Process image file
2023-10-13	12:46:54	1482	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:54	1482	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:54	1482	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:54	1482	[DEBUG]	Full name target: bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:55	1482	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:55	1482	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:55	1482	[DEBUG]	Query for Media
2023-10-13	12:46:55	1482	[DEBUG]	Executed store
2023-10-13	12:46:55	1482	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15963'
2023-10-13	12:46:55	1482	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:55	1482	[DEBUG]	Executed store
2023-10-13	12:46:55	1482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860974','15963','1')
2023-10-13	12:46:55	1482	[DEBUG]	Store product image relation
2023-10-13	12:46:55	1482	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:55	1482	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860974 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:55	1482	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:55	1482	[DEBUG]	Executed store
2023-10-13	12:46:55	1482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860974','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:55	1482	[DEBUG]	Checking manufacturer
2023-10-13	12:46:55	1482	[DEBUG]	Load a row
2023-10-13	12:46:55	1482	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:55	1482	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:55	1482	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:55	1482	[DEBUG]	Executed store
2023-10-13	12:46:55	1482	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:55	1482	[DEBUG]	Manufacturer exists
2023-10-13	12:46:55	1482	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:55	1482	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:55	1482	[DEBUG]	Executed store
2023-10-13	12:46:55	1482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860974','32')
2023-10-13	12:46:55	1482	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:55	1482	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:55	1482	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860974 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:55	1482	[DEBUG]	Store custom available field
2023-10-13	12:46:55	1482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860974,3,'',1)
2023-10-13	12:46:55	1482	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:55	1482	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:46:55	1482	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860974 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:55	1482	[DEBUG]	Store custom available field
2023-10-13	12:46:55	1482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860974,6,'43',3)
2023-10-13	12:46:55	1482	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:55	1482	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:55	1482	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860968
2023-10-13	12:46:55	1482	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:55	1482	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1860968\":[1860968,8,1,\"choisir la taille\"],\"1860969\":[\"38\"],\"1860970\":[\"39\"],\"1860971\":[\"40\"],\"1860972\":[\"41\"],\"1860973\":[\"42\"],\"1860974\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1860968
2023-10-13	12:46:55	1482	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:55	1482	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860974
2023-10-13	12:46:55	1483	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:55	1483	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:55	1483	[DEBUG]	Use field value for field taille
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:55	1483	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:55	1483	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:55	1483	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:55	1483	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:55	1483	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:55	1483	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:55	1483	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:55	1483	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:55	1483	[DEBUG]	Use field value for field published
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:55	1483	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field override
2023-10-13	12:46:55	1483	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:55	1483	[DEBUG]	Use field value for field slug
2023-10-13	12:46:55	1483	[DEBUG]	Process line 1483
2023-10-13	12:46:55	1483	[DEBUG]	Load a row
2023-10-13	12:46:55	1483	[DEBUG]	Processing item: 1000000078282
2023-10-13	12:46:55	1483	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:55	1483	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:55	1483	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_150'
2023-10-13	12:46:55	1483	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:55	1483	[DEBUG]	Processing product tax
2023-10-13	12:46:55	1483	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:55	1483	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:55	1483	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:55	1483	[DEBUG]	Query for Product
2023-10-13	12:46:55	1483	[DEBUG]	Executed store
2023-10-13	12:46:55	1483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860968','1000000078282','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:55	1483	[DEBUG]	No parent found
2023-10-13	12:46:55	1483	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860968 AND customfield_value = 'stockable'
2023-10-13	12:46:55	1483	[DEBUG]	Check product language entry
2023-10-13	12:46:55	1483	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860975
2023-10-13	12:46:55	1483	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:55	1483	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078282' AND `virtuemart_product_id` != 1860975
2023-10-13	12:46:55	1483	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:55	1483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860975, '1000000078282')
2023-10-13	12:46:55	1483	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:55	1483	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-44' AND `virtuemart_product_id` != 1860975
2023-10-13	12:46:55	1483	[DEBUG]	Query for ProductLang
2023-10-13	12:46:55	1483	[DEBUG]	Executed store
2023-10-13	12:46:55	1483	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rose (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-44' WHERE `virtuemart_product_id` = '1860975'
2023-10-13	12:46:55	1483	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:55	1483	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:55	1483	[DEBUG]	Process image file
2023-10-13	12:46:55	1483	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:55	1483	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:55	1483	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:55	1483	[DEBUG]	Full name target: bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:56	1483	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:56	1483	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:56	1483	[DEBUG]	Query for Media
2023-10-13	12:46:56	1483	[DEBUG]	Executed store
2023-10-13	12:46:56	1483	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15963'
2023-10-13	12:46:56	1483	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:56	1483	[DEBUG]	Executed store
2023-10-13	12:46:56	1483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860975','15963','1')
2023-10-13	12:46:56	1483	[DEBUG]	Store product image relation
2023-10-13	12:46:56	1483	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:56	1483	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860975 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:56	1483	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:56	1483	[DEBUG]	Executed store
2023-10-13	12:46:56	1483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860975','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:56	1483	[DEBUG]	Checking manufacturer
2023-10-13	12:46:56	1483	[DEBUG]	Load a row
2023-10-13	12:46:56	1483	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:56	1483	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:56	1483	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:56	1483	[DEBUG]	Executed store
2023-10-13	12:46:56	1483	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:56	1483	[DEBUG]	Manufacturer exists
2023-10-13	12:46:56	1483	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:56	1483	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:56	1483	[DEBUG]	Executed store
2023-10-13	12:46:56	1483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860975','32')
2023-10-13	12:46:56	1483	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:56	1483	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:56	1483	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860975 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:56	1483	[DEBUG]	Store custom available field
2023-10-13	12:46:56	1483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860975,3,'',1)
2023-10-13	12:46:56	1483	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:56	1483	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:46:56	1483	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860975 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:56	1483	[DEBUG]	Store custom available field
2023-10-13	12:46:56	1483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860975,6,'44',3)
2023-10-13	12:46:56	1483	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:56	1483	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:56	1483	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860968
2023-10-13	12:46:56	1483	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:56	1483	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1860968\":[1860968,8,1,\"choisir la taille\"],\"1860969\":[\"38\"],\"1860970\":[\"39\"],\"1860971\":[\"40\"],\"1860972\":[\"41\"],\"1860973\":[\"42\"],\"1860974\":[\"43\"],\"1860975\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1860968
2023-10-13	12:46:56	1483	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:56	1483	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860975
2023-10-13	12:46:56	1484	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:56	1484	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:56	1484	[DEBUG]	Use field value for field taille
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:56	1484	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:56	1484	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:56	1484	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:56	1484	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:56	1484	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:56	1484	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:56	1484	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:56	1484	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:56	1484	[DEBUG]	Use field value for field published
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:56	1484	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field override
2023-10-13	12:46:56	1484	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:56	1484	[DEBUG]	Use field value for field slug
2023-10-13	12:46:56	1484	[DEBUG]	Process line 1484
2023-10-13	12:46:56	1484	[DEBUG]	Load a row
2023-10-13	12:46:56	1484	[DEBUG]	Processing item: 1000000078299
2023-10-13	12:46:56	1484	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:56	1484	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:56	1484	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_150'
2023-10-13	12:46:56	1484	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:56	1484	[DEBUG]	Processing product tax
2023-10-13	12:46:56	1484	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:56	1484	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:56	1484	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:56	1484	[DEBUG]	Query for Product
2023-10-13	12:46:56	1484	[DEBUG]	Executed store
2023-10-13	12:46:56	1484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860968','1000000078299','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:56	1484	[DEBUG]	No parent found
2023-10-13	12:46:56	1484	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860968 AND customfield_value = 'stockable'
2023-10-13	12:46:56	1484	[DEBUG]	Check product language entry
2023-10-13	12:46:56	1484	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860976
2023-10-13	12:46:56	1484	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:56	1484	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078299' AND `virtuemart_product_id` != 1860976
2023-10-13	12:46:56	1484	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:56	1484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860976, '1000000078299')
2023-10-13	12:46:56	1484	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:56	1484	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-45' AND `virtuemart_product_id` != 1860976
2023-10-13	12:46:56	1484	[DEBUG]	Query for ProductLang
2023-10-13	12:46:56	1484	[DEBUG]	Executed store
2023-10-13	12:46:56	1484	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rose (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-45' WHERE `virtuemart_product_id` = '1860976'
2023-10-13	12:46:56	1484	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:56	1484	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:56	1484	[DEBUG]	Process image file
2023-10-13	12:46:56	1484	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:56	1484	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:56	1484	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:56	1484	[DEBUG]	Full name target: bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:57	1484	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:57	1484	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:57	1484	[DEBUG]	Query for Media
2023-10-13	12:46:57	1484	[DEBUG]	Executed store
2023-10-13	12:46:57	1484	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15963'
2023-10-13	12:46:57	1484	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:57	1484	[DEBUG]	Executed store
2023-10-13	12:46:57	1484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860976','15963','1')
2023-10-13	12:46:57	1484	[DEBUG]	Store product image relation
2023-10-13	12:46:57	1484	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:57	1484	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860976 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:57	1484	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:57	1484	[DEBUG]	Executed store
2023-10-13	12:46:57	1484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860976','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:57	1484	[DEBUG]	Checking manufacturer
2023-10-13	12:46:57	1484	[DEBUG]	Load a row
2023-10-13	12:46:57	1484	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:57	1484	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:57	1484	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:57	1484	[DEBUG]	Executed store
2023-10-13	12:46:57	1484	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:57	1484	[DEBUG]	Manufacturer exists
2023-10-13	12:46:57	1484	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:57	1484	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:57	1484	[DEBUG]	Executed store
2023-10-13	12:46:57	1484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860976','32')
2023-10-13	12:46:57	1484	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:57	1484	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:57	1484	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860976 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:57	1484	[DEBUG]	Store custom available field
2023-10-13	12:46:57	1484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860976,3,'',1)
2023-10-13	12:46:57	1484	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:57	1484	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:46:57	1484	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860976 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:57	1484	[DEBUG]	Store custom available field
2023-10-13	12:46:57	1484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860976,6,'45',3)
2023-10-13	12:46:57	1484	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:57	1484	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:57	1484	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860968
2023-10-13	12:46:57	1484	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:57	1484	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1860968\":[1860968,8,1,\"choisir la taille\"],\"1860969\":[\"38\"],\"1860970\":[\"39\"],\"1860971\":[\"40\"],\"1860972\":[\"41\"],\"1860973\":[\"42\"],\"1860974\":[\"43\"],\"1860975\":[\"44\"],\"1860976\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1860968
2023-10-13	12:46:57	1484	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:57	1484	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860976
2023-10-13	12:46:57	1485	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:57	1485	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:57	1485	[DEBUG]	Use field value for field taille
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:57	1485	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:57	1485	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:57	1485	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:57	1485	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:57	1485	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:57	1485	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:57	1485	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:57	1485	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:57	1485	[DEBUG]	Use field value for field published
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:57	1485	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field override
2023-10-13	12:46:57	1485	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:57	1485	[DEBUG]	Use field value for field slug
2023-10-13	12:46:57	1485	[DEBUG]	Process line 1485
2023-10-13	12:46:57	1485	[DEBUG]	Load a row
2023-10-13	12:46:57	1485	[DEBUG]	Processing item: 1000000078305
2023-10-13	12:46:57	1485	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:57	1485	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:57	1485	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_150'
2023-10-13	12:46:57	1485	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:57	1485	[DEBUG]	Processing product tax
2023-10-13	12:46:57	1485	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:57	1485	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:57	1485	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:57	1485	[DEBUG]	Query for Product
2023-10-13	12:46:57	1485	[DEBUG]	Executed store
2023-10-13	12:46:57	1485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860968','1000000078305','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:57	1485	[DEBUG]	No parent found
2023-10-13	12:46:57	1485	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860968 AND customfield_value = 'stockable'
2023-10-13	12:46:57	1485	[DEBUG]	Check product language entry
2023-10-13	12:46:57	1485	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860977
2023-10-13	12:46:57	1485	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:57	1485	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078305' AND `virtuemart_product_id` != 1860977
2023-10-13	12:46:57	1485	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:57	1485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860977, '1000000078305')
2023-10-13	12:46:57	1485	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:57	1485	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-46' AND `virtuemart_product_id` != 1860977
2023-10-13	12:46:57	1485	[DEBUG]	Query for ProductLang
2023-10-13	12:46:57	1485	[DEBUG]	Executed store
2023-10-13	12:46:57	1485	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rose (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-46' WHERE `virtuemart_product_id` = '1860977'
2023-10-13	12:46:57	1485	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:57	1485	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:57	1485	[DEBUG]	Process image file
2023-10-13	12:46:57	1485	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:57	1485	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:57	1485	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:57	1485	[DEBUG]	Full name target: bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:58	1485	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:58	1485	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:58	1485	[DEBUG]	Query for Media
2023-10-13	12:46:58	1485	[DEBUG]	Executed store
2023-10-13	12:46:58	1485	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15963'
2023-10-13	12:46:58	1485	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:58	1485	[DEBUG]	Executed store
2023-10-13	12:46:58	1485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860977','15963','1')
2023-10-13	12:46:58	1485	[DEBUG]	Store product image relation
2023-10-13	12:46:58	1485	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:58	1485	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860977 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:58	1485	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:58	1485	[DEBUG]	Executed store
2023-10-13	12:46:58	1485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860977','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:58	1485	[DEBUG]	Checking manufacturer
2023-10-13	12:46:58	1485	[DEBUG]	Load a row
2023-10-13	12:46:58	1485	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:58	1485	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:58	1485	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:58	1485	[DEBUG]	Executed store
2023-10-13	12:46:58	1485	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:58	1485	[DEBUG]	Manufacturer exists
2023-10-13	12:46:58	1485	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:58	1485	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:58	1485	[DEBUG]	Executed store
2023-10-13	12:46:58	1485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860977','32')
2023-10-13	12:46:58	1485	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:58	1485	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:58	1485	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860977 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:58	1485	[DEBUG]	Store custom available field
2023-10-13	12:46:58	1485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860977,3,'',1)
2023-10-13	12:46:58	1485	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:58	1485	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:46:58	1485	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860977 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:58	1485	[DEBUG]	Store custom available field
2023-10-13	12:46:58	1485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860977,6,'46',3)
2023-10-13	12:46:58	1485	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:58	1485	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:58	1485	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860968
2023-10-13	12:46:58	1485	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:58	1485	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1860968\":[1860968,8,1,\"choisir la taille\"],\"1860969\":[\"38\"],\"1860970\":[\"39\"],\"1860971\":[\"40\"],\"1860972\":[\"41\"],\"1860973\":[\"42\"],\"1860974\":[\"43\"],\"1860975\":[\"44\"],\"1860976\":[\"45\"],\"1860977\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1860968
2023-10-13	12:46:58	1485	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:58	1485	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860977
2023-10-13	12:46:58	1486	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:58	1486	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:46:58	1486	[DEBUG]	Use field value for field taille
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:46:58	1486	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field category_path
2023-10-13	12:46:58	1486	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:58	1486	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:58	1486	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:58	1486	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:46:58	1486	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field product_weight
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:58	1486	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:58	1486	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:58	1486	[DEBUG]	Use field value for field published
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field custom_title
2023-10-13	12:46:58	1486	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field custom_param
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field override
2023-10-13	12:46:58	1486	[DEBUG]	Use default value for field public_price
2023-10-13	12:46:58	1486	[DEBUG]	Use field value for field slug
2023-10-13	12:46:58	1486	[DEBUG]	Process line 1486
2023-10-13	12:46:58	1486	[DEBUG]	Load a row
2023-10-13	12:46:58	1486	[DEBUG]	Processing item: 1000000078312
2023-10-13	12:46:58	1486	[DEBUG]	Looking for parent SKU
2023-10-13	12:46:58	1486	[DEBUG]	Checking product parent SKU
2023-10-13	12:46:58	1486	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_150'
2023-10-13	12:46:58	1486	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:58	1486	[DEBUG]	Processing product tax
2023-10-13	12:46:58	1486	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:58	1486	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:58	1486	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:58	1486	[DEBUG]	Query for Product
2023-10-13	12:46:58	1486	[DEBUG]	Executed store
2023-10-13	12:46:58	1486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860968','1000000078312','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:58	1486	[DEBUG]	No parent found
2023-10-13	12:46:58	1486	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860968 AND customfield_value = 'stockable'
2023-10-13	12:46:58	1486	[DEBUG]	Check product language entry
2023-10-13	12:46:58	1486	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860978
2023-10-13	12:46:58	1486	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:58	1486	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000078312' AND `virtuemart_product_id` != 1860978
2023-10-13	12:46:58	1486	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:58	1486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860978, '1000000078312')
2023-10-13	12:46:58	1486	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:58	1486	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-47' AND `virtuemart_product_id` != 1860978
2023-10-13	12:46:58	1486	[DEBUG]	Query for ProductLang
2023-10-13	12:46:58	1486	[DEBUG]	Executed store
2023-10-13	12:46:58	1486	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Rose (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-rose-47' WHERE `virtuemart_product_id` = '1860978'
2023-10-13	12:46:58	1486	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:58	1486	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:58	1486	[DEBUG]	Process image file
2023-10-13	12:46:58	1486	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:58	1486	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:58	1486	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:58	1486	[DEBUG]	Full name target: bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:59	1486	[DEBUG]	Checking if the file_url exists
2023-10-13	12:46:59	1486	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:46:59	1486	[DEBUG]	Query for Media
2023-10-13	12:46:59	1486	[DEBUG]	Executed store
2023-10-13	12:46:59	1486	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/29616_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15963'
2023-10-13	12:46:59	1486	[DEBUG]	Query for ProductMedia
2023-10-13	12:46:59	1486	[DEBUG]	Executed store
2023-10-13	12:46:59	1486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860978','15963','1')
2023-10-13	12:46:59	1486	[DEBUG]	Store product image relation
2023-10-13	12:46:59	1486	[DEBUG]	Finding a product_price_id
2023-10-13	12:46:59	1486	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860978 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:46:59	1486	[DEBUG]	Query for ProductPrice
2023-10-13	12:46:59	1486	[DEBUG]	Executed store
2023-10-13	12:46:59	1486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860978','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:46:59	1486	[DEBUG]	Checking manufacturer
2023-10-13	12:46:59	1486	[DEBUG]	Load a row
2023-10-13	12:46:59	1486	[DEBUG]	Manufacturer already exists
2023-10-13	12:46:59	1486	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:59	1486	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:46:59	1486	[DEBUG]	Executed store
2023-10-13	12:46:59	1486	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:46:59	1486	[DEBUG]	Manufacturer exists
2023-10-13	12:46:59	1486	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:46:59	1486	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:46:59	1486	[DEBUG]	Executed store
2023-10-13	12:46:59	1486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860978','32')
2023-10-13	12:46:59	1486	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:46:59	1486	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:46:59	1486	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860978 AND `virtuemart_custom_id` = 3
2023-10-13	12:46:59	1486	[DEBUG]	Store custom available field
2023-10-13	12:46:59	1486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860978,3,'',1)
2023-10-13	12:46:59	1486	[DEBUG]	Processing custom available field: taille
2023-10-13	12:46:59	1486	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:46:59	1486	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860978 AND `virtuemart_custom_id` = 6
2023-10-13	12:46:59	1486	[DEBUG]	Store custom available field
2023-10-13	12:46:59	1486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860978,6,'47',3)
2023-10-13	12:46:59	1486	[DEBUG]	Process multi-variant fields
2023-10-13	12:46:59	1486	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:46:59	1486	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860968
2023-10-13	12:46:59	1486	[DEBUG]	Store the updated customfield_params
2023-10-13	12:46:59	1486	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1860968\":[1860968,8,1,\"choisir la taille\"],\"1860969\":[\"38\"],\"1860970\":[\"39\"],\"1860971\":[\"40\"],\"1860972\":[\"41\"],\"1860973\":[\"42\"],\"1860974\":[\"43\"],\"1860975\":[\"44\"],\"1860976\":[\"45\"],\"1860977\":[\"46\"],\"1860978\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1860968
2023-10-13	12:46:59	1486	[DEBUG]	Update has fields after all processing
2023-10-13	12:46:59	1486	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860978
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field product_sku
2023-10-13	12:46:59	1487	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field taille
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field product_name
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field category_path
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field product_price
2023-10-13	12:46:59	1487	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field product_tax
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field file_url
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:46:59	1487	[DEBUG]	Use default value for field product_desc
2023-10-13	12:46:59	1487	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field product_availability
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field product_weight
2023-10-13	12:46:59	1487	[DEBUG]	Use default value for field product_unit
2023-10-13	12:46:59	1487	[DEBUG]	Use default value for field related_products
2023-10-13	12:46:59	1487	[DEBUG]	Use default value for field product_special
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field published
2023-10-13	12:46:59	1487	[DEBUG]	Use default value for field metadesc
2023-10-13	12:46:59	1487	[DEBUG]	Use default value for field metakey
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field custom_title
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field custom_value
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field custom_param
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field override
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field public_price
2023-10-13	12:46:59	1487	[DEBUG]	Use field value for field slug
2023-10-13	12:46:59	1487	[DEBUG]	Process line 1487
2023-10-13	12:46:59	1487	[DEBUG]	Load a row
2023-10-13	12:46:59	1487	[DEBUG]	Processing item: A_5153_175
2023-10-13	12:46:59	1487	[DEBUG]	Product tax: 7.7
2023-10-13	12:46:59	1487	[DEBUG]	Processing product tax
2023-10-13	12:46:59	1487	[DEBUG]	Check if calculation rule exists
2023-10-13	12:46:59	1487	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:46:59	1487	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:46:59	1487	[DEBUG]	Query for Product
2023-10-13	12:46:59	1487	[DEBUG]	Executed store
2023-10-13	12:46:59	1487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5153_175','0.51','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:46:59	1487	[DEBUG]	Check product language entry
2023-10-13	12:46:59	1487	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860979
2023-10-13	12:46:59	1487	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:59	1487	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5153_175' AND `virtuemart_product_id` != 1860979
2023-10-13	12:46:59	1487	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:46:59	1487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860979, 'A_5153_175')
2023-10-13	12:46:59	1487	[DEBUG]	Check if the product slug exists
2023-10-13	12:46:59	1487	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise' AND `virtuemart_product_id` != 1860979
2023-10-13	12:46:59	1487	[DEBUG]	Query for ProductLang
2023-10-13	12:46:59	1487	[DEBUG]	Executed store
2023-10-13	12:46:59	1487	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro Road avec système de ventilation breveté ! 510 gr.<br>N° art fourn : ZAEROROAD',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Turquoise',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise' WHERE `virtuemart_product_id` = '1860979'
2023-10-13	12:46:59	1487	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:59	1487	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:59	1487	[DEBUG]	Process image file
2023-10-13	12:46:59	1487	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:46:59	1487	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:46:59	1487	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:46:59	1487	[DEBUG]	Full name target: bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:00	1487	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:00	1487	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:47:00	1487	[DEBUG]	Query for Media
2023-10-13	12:47:00	1487	[DEBUG]	Executed store
2023-10-13	12:47:00	1487	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15964'
2023-10-13	12:47:00	1487	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:00	1487	[DEBUG]	Executed store
2023-10-13	12:47:00	1487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860979','15964','1')
2023-10-13	12:47:00	1487	[DEBUG]	Store product image relation
2023-10-13	12:47:00	1487	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:00	1487	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860979 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:00	1487	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:00	1487	[DEBUG]	Executed store
2023-10-13	12:47:00	1487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860979','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:00	1487	[DEBUG]	Checking manufacturer
2023-10-13	12:47:00	1487	[DEBUG]	Load a row
2023-10-13	12:47:00	1487	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:00	1487	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:00	1487	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:00	1487	[DEBUG]	Executed store
2023-10-13	12:47:00	1487	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:00	1487	[DEBUG]	Manufacturer exists
2023-10-13	12:47:00	1487	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:00	1487	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:00	1487	[DEBUG]	Executed store
2023-10-13	12:47:00	1487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860979','32')
2023-10-13	12:47:00	1487	[DEBUG]	Find the custom field ID
2023-10-13	12:47:00	1487	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:47:00	1487	[DEBUG]	No custom field ID found
2023-10-13	12:47:00	1487	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:00	1487	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:47:00	1487	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860979 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:00	1487	[DEBUG]	Store custom available field
2023-10-13	12:47:00	1487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860979,3,'179.400277777778',1)
2023-10-13	12:47:00	1487	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:00	1487	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:47:00	1487	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860979 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:00	1487	[DEBUG]	Store custom available field
2023-10-13	12:47:00	1487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860979,6,'choisir la taille',3)
2023-10-13	12:47:00	1487	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:00	1487	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:47:00	1487	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:47:00	1487	[DEBUG]	Find the multi variant product entry
2023-10-13	12:47:00	1487	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860979 AND `virtuemart_custom_id` = 8
2023-10-13	12:47:00	1487	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:47:00	1487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860979,8,1)
2023-10-13	12:47:00	1487	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:00	1487	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860979\":[1860979,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860979
2023-10-13	12:47:00	1487	[DEBUG]	Checking category
2023-10-13	12:47:00	1487	[DEBUG]	Get the existing categories for the product
2023-10-13	12:47:00	1487	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860979
2023-10-13	12:47:00	1487	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:47:00	1487	[DEBUG]	Executed store
2023-10-13	12:47:00	1487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860979','7331')
2023-10-13	12:47:00	1487	[DEBUG]	Delete leftover product categories
2023-10-13	12:47:00	1487	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860979 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:47:00	1487	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:00	1487	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860979
2023-10-13	12:47:00	1488	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:00	1488	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:00	1488	[DEBUG]	Use field value for field taille
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:00	1488	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:00	1488	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:00	1488	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:00	1488	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:00	1488	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:00	1488	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:00	1488	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:00	1488	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:00	1488	[DEBUG]	Use field value for field published
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:00	1488	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field override
2023-10-13	12:47:00	1488	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:00	1488	[DEBUG]	Use field value for field slug
2023-10-13	12:47:00	1488	[DEBUG]	Process line 1488
2023-10-13	12:47:00	1488	[DEBUG]	Load a row
2023-10-13	12:47:00	1488	[DEBUG]	Processing item: 1000000114188
2023-10-13	12:47:00	1488	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:00	1488	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:00	1488	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_175'
2023-10-13	12:47:00	1488	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:00	1488	[DEBUG]	Processing product tax
2023-10-13	12:47:00	1488	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:00	1488	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:00	1488	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:00	1488	[DEBUG]	Query for Product
2023-10-13	12:47:00	1488	[DEBUG]	Executed store
2023-10-13	12:47:00	1488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860979','1000000114188','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:47:00	1488	[DEBUG]	No parent found
2023-10-13	12:47:00	1488	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860979 AND customfield_value = 'stockable'
2023-10-13	12:47:00	1488	[DEBUG]	Check product language entry
2023-10-13	12:47:00	1488	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860980
2023-10-13	12:47:00	1488	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:00	1488	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114188' AND `virtuemart_product_id` != 1860980
2023-10-13	12:47:00	1488	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:00	1488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860980, '1000000114188')
2023-10-13	12:47:00	1488	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:00	1488	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-38' AND `virtuemart_product_id` != 1860980
2023-10-13	12:47:00	1488	[DEBUG]	Query for ProductLang
2023-10-13	12:47:00	1488	[DEBUG]	Executed store
2023-10-13	12:47:00	1488	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Turquoise (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-38' WHERE `virtuemart_product_id` = '1860980'
2023-10-13	12:47:00	1488	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:00	1488	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:00	1488	[DEBUG]	Process image file
2023-10-13	12:47:00	1488	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:00	1488	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:00	1488	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:00	1488	[DEBUG]	Full name target: bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:01	1488	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:01	1488	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:47:01	1488	[DEBUG]	Query for Media
2023-10-13	12:47:01	1488	[DEBUG]	Executed store
2023-10-13	12:47:01	1488	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15964'
2023-10-13	12:47:01	1488	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:01	1488	[DEBUG]	Executed store
2023-10-13	12:47:01	1488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860980','15964','1')
2023-10-13	12:47:01	1488	[DEBUG]	Store product image relation
2023-10-13	12:47:01	1488	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:01	1488	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860980 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:01	1488	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:01	1488	[DEBUG]	Executed store
2023-10-13	12:47:01	1488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860980','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:01	1488	[DEBUG]	Checking manufacturer
2023-10-13	12:47:01	1488	[DEBUG]	Load a row
2023-10-13	12:47:01	1488	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:01	1488	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:01	1488	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:01	1488	[DEBUG]	Executed store
2023-10-13	12:47:01	1488	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:01	1488	[DEBUG]	Manufacturer exists
2023-10-13	12:47:01	1488	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:01	1488	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:01	1488	[DEBUG]	Executed store
2023-10-13	12:47:01	1488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860980','32')
2023-10-13	12:47:01	1488	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:01	1488	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:01	1488	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860980 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:01	1488	[DEBUG]	Store custom available field
2023-10-13	12:47:01	1488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860980,3,'',1)
2023-10-13	12:47:01	1488	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:01	1488	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:47:01	1488	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860980 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:01	1488	[DEBUG]	Store custom available field
2023-10-13	12:47:01	1488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860980,6,'38',3)
2023-10-13	12:47:01	1488	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:01	1488	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:01	1488	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860979
2023-10-13	12:47:01	1488	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:01	1488	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1860979\":[1860979,8,1,\"choisir la taille\"],\"1860980\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1860979
2023-10-13	12:47:01	1488	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:01	1488	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860980
2023-10-13	12:47:01	1489	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:01	1489	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:01	1489	[DEBUG]	Use field value for field taille
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:01	1489	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:01	1489	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:01	1489	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:01	1489	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:01	1489	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:01	1489	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:01	1489	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:01	1489	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:01	1489	[DEBUG]	Use field value for field published
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:01	1489	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field override
2023-10-13	12:47:01	1489	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:01	1489	[DEBUG]	Use field value for field slug
2023-10-13	12:47:01	1489	[DEBUG]	Process line 1489
2023-10-13	12:47:01	1489	[DEBUG]	Load a row
2023-10-13	12:47:01	1489	[DEBUG]	Processing item: 8435466215460
2023-10-13	12:47:01	1489	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:01	1489	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:01	1489	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_175'
2023-10-13	12:47:01	1489	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:01	1489	[DEBUG]	Processing product tax
2023-10-13	12:47:01	1489	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:01	1489	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:01	1489	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:01	1489	[DEBUG]	Query for Product
2023-10-13	12:47:01	1489	[DEBUG]	Executed store
2023-10-13	12:47:01	1489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860979','8435466215460','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:47:01	1489	[DEBUG]	No parent found
2023-10-13	12:47:01	1489	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860979 AND customfield_value = 'stockable'
2023-10-13	12:47:01	1489	[DEBUG]	Check product language entry
2023-10-13	12:47:01	1489	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860981
2023-10-13	12:47:01	1489	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:01	1489	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215460' AND `virtuemart_product_id` != 1860981
2023-10-13	12:47:01	1489	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:01	1489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860981, '8435466215460')
2023-10-13	12:47:01	1489	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:01	1489	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-39' AND `virtuemart_product_id` != 1860981
2023-10-13	12:47:01	1489	[DEBUG]	Query for ProductLang
2023-10-13	12:47:01	1489	[DEBUG]	Executed store
2023-10-13	12:47:01	1489	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Turquoise (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-39' WHERE `virtuemart_product_id` = '1860981'
2023-10-13	12:47:01	1489	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:01	1489	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:01	1489	[DEBUG]	Process image file
2023-10-13	12:47:01	1489	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:01	1489	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:01	1489	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:01	1489	[DEBUG]	Full name target: bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:02	1489	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:02	1489	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:47:02	1489	[DEBUG]	Query for Media
2023-10-13	12:47:02	1489	[DEBUG]	Executed store
2023-10-13	12:47:02	1489	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15964'
2023-10-13	12:47:02	1489	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:02	1489	[DEBUG]	Executed store
2023-10-13	12:47:02	1489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860981','15964','1')
2023-10-13	12:47:02	1489	[DEBUG]	Store product image relation
2023-10-13	12:47:02	1489	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:02	1489	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860981 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:02	1489	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:02	1489	[DEBUG]	Executed store
2023-10-13	12:47:02	1489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860981','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:02	1489	[DEBUG]	Checking manufacturer
2023-10-13	12:47:02	1489	[DEBUG]	Load a row
2023-10-13	12:47:02	1489	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:02	1489	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:02	1489	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:02	1489	[DEBUG]	Executed store
2023-10-13	12:47:02	1489	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:02	1489	[DEBUG]	Manufacturer exists
2023-10-13	12:47:02	1489	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:02	1489	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:02	1489	[DEBUG]	Executed store
2023-10-13	12:47:02	1489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860981','32')
2023-10-13	12:47:02	1489	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:02	1489	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:02	1489	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860981 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:02	1489	[DEBUG]	Store custom available field
2023-10-13	12:47:02	1489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860981,3,'',1)
2023-10-13	12:47:02	1489	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:02	1489	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:47:02	1489	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860981 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:02	1489	[DEBUG]	Store custom available field
2023-10-13	12:47:02	1489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860981,6,'39',3)
2023-10-13	12:47:02	1489	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:02	1489	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:02	1489	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860979
2023-10-13	12:47:02	1489	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:02	1489	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1860979\":[1860979,8,1,\"choisir la taille\"],\"1860980\":[\"38\"],\"1860981\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1860979
2023-10-13	12:47:02	1489	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:02	1489	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860981
2023-10-13	12:47:02	1490	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:02	1490	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:02	1490	[DEBUG]	Use field value for field taille
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:02	1490	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:02	1490	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:02	1490	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:02	1490	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:02	1490	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:02	1490	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:02	1490	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:02	1490	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:02	1490	[DEBUG]	Use field value for field published
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:02	1490	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field override
2023-10-13	12:47:02	1490	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:02	1490	[DEBUG]	Use field value for field slug
2023-10-13	12:47:02	1490	[DEBUG]	Process line 1490
2023-10-13	12:47:02	1490	[DEBUG]	Load a row
2023-10-13	12:47:02	1490	[DEBUG]	Processing item: 1000000114201
2023-10-13	12:47:02	1490	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:02	1490	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:02	1490	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_175'
2023-10-13	12:47:02	1490	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:02	1490	[DEBUG]	Processing product tax
2023-10-13	12:47:02	1490	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:02	1490	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:02	1490	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:02	1490	[DEBUG]	Query for Product
2023-10-13	12:47:02	1490	[DEBUG]	Executed store
2023-10-13	12:47:02	1490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860979','1000000114201','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:47:02	1490	[DEBUG]	No parent found
2023-10-13	12:47:02	1490	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860979 AND customfield_value = 'stockable'
2023-10-13	12:47:02	1490	[DEBUG]	Check product language entry
2023-10-13	12:47:02	1490	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860982
2023-10-13	12:47:02	1490	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:02	1490	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114201' AND `virtuemart_product_id` != 1860982
2023-10-13	12:47:02	1490	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:02	1490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860982, '1000000114201')
2023-10-13	12:47:02	1490	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:02	1490	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-40' AND `virtuemart_product_id` != 1860982
2023-10-13	12:47:02	1490	[DEBUG]	Query for ProductLang
2023-10-13	12:47:02	1490	[DEBUG]	Executed store
2023-10-13	12:47:02	1490	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Turquoise (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-40' WHERE `virtuemart_product_id` = '1860982'
2023-10-13	12:47:02	1490	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:02	1490	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:02	1490	[DEBUG]	Process image file
2023-10-13	12:47:02	1490	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:02	1490	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:02	1490	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:02	1490	[DEBUG]	Full name target: bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:03	1490	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:03	1490	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:47:03	1490	[DEBUG]	Query for Media
2023-10-13	12:47:03	1490	[DEBUG]	Executed store
2023-10-13	12:47:03	1490	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15964'
2023-10-13	12:47:03	1490	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:03	1490	[DEBUG]	Executed store
2023-10-13	12:47:03	1490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860982','15964','1')
2023-10-13	12:47:03	1490	[DEBUG]	Store product image relation
2023-10-13	12:47:03	1490	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:03	1490	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860982 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:03	1490	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:03	1490	[DEBUG]	Executed store
2023-10-13	12:47:03	1490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860982','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:03	1490	[DEBUG]	Checking manufacturer
2023-10-13	12:47:03	1490	[DEBUG]	Load a row
2023-10-13	12:47:03	1490	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:03	1490	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:03	1490	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:03	1490	[DEBUG]	Executed store
2023-10-13	12:47:03	1490	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:03	1490	[DEBUG]	Manufacturer exists
2023-10-13	12:47:03	1490	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:03	1490	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:03	1490	[DEBUG]	Executed store
2023-10-13	12:47:03	1490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860982','32')
2023-10-13	12:47:03	1490	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:03	1490	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:03	1490	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860982 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:03	1490	[DEBUG]	Store custom available field
2023-10-13	12:47:03	1490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860982,3,'',1)
2023-10-13	12:47:03	1490	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:03	1490	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:47:03	1490	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860982 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:03	1490	[DEBUG]	Store custom available field
2023-10-13	12:47:03	1490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860982,6,'40',3)
2023-10-13	12:47:03	1490	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:03	1490	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:03	1490	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860979
2023-10-13	12:47:03	1490	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:03	1490	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1860979\":[1860979,8,1,\"choisir la taille\"],\"1860980\":[\"38\"],\"1860981\":[\"39\"],\"1860982\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1860979
2023-10-13	12:47:03	1490	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:03	1490	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860982
2023-10-13	12:47:03	1491	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:03	1491	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:03	1491	[DEBUG]	Use field value for field taille
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:03	1491	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:03	1491	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:03	1491	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:03	1491	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:03	1491	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:03	1491	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:03	1491	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:03	1491	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:03	1491	[DEBUG]	Use field value for field published
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:03	1491	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field override
2023-10-13	12:47:03	1491	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:03	1491	[DEBUG]	Use field value for field slug
2023-10-13	12:47:03	1491	[DEBUG]	Process line 1491
2023-10-13	12:47:03	1491	[DEBUG]	Load a row
2023-10-13	12:47:03	1491	[DEBUG]	Processing item: 1000000114218
2023-10-13	12:47:03	1491	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:03	1491	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:03	1491	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_175'
2023-10-13	12:47:03	1491	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:03	1491	[DEBUG]	Processing product tax
2023-10-13	12:47:03	1491	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:03	1491	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:03	1491	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:03	1491	[DEBUG]	Query for Product
2023-10-13	12:47:03	1491	[DEBUG]	Executed store
2023-10-13	12:47:03	1491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860979','1000000114218','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:47:03	1491	[DEBUG]	No parent found
2023-10-13	12:47:03	1491	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860979 AND customfield_value = 'stockable'
2023-10-13	12:47:03	1491	[DEBUG]	Check product language entry
2023-10-13	12:47:03	1491	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860983
2023-10-13	12:47:03	1491	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:03	1491	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114218' AND `virtuemart_product_id` != 1860983
2023-10-13	12:47:03	1491	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:03	1491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860983, '1000000114218')
2023-10-13	12:47:03	1491	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:03	1491	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-41' AND `virtuemart_product_id` != 1860983
2023-10-13	12:47:03	1491	[DEBUG]	Query for ProductLang
2023-10-13	12:47:03	1491	[DEBUG]	Executed store
2023-10-13	12:47:03	1491	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Turquoise (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-41' WHERE `virtuemart_product_id` = '1860983'
2023-10-13	12:47:03	1491	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:03	1491	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:03	1491	[DEBUG]	Process image file
2023-10-13	12:47:03	1491	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:03	1491	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:03	1491	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:03	1491	[DEBUG]	Full name target: bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:04	1491	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:04	1491	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:47:04	1491	[DEBUG]	Query for Media
2023-10-13	12:47:04	1491	[DEBUG]	Executed store
2023-10-13	12:47:04	1491	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15964'
2023-10-13	12:47:04	1491	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:04	1491	[DEBUG]	Executed store
2023-10-13	12:47:04	1491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860983','15964','1')
2023-10-13	12:47:04	1491	[DEBUG]	Store product image relation
2023-10-13	12:47:04	1491	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:04	1491	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860983 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:04	1491	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:04	1491	[DEBUG]	Executed store
2023-10-13	12:47:04	1491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860983','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:04	1491	[DEBUG]	Checking manufacturer
2023-10-13	12:47:04	1491	[DEBUG]	Load a row
2023-10-13	12:47:04	1491	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:04	1491	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:04	1491	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:04	1491	[DEBUG]	Executed store
2023-10-13	12:47:04	1491	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:04	1491	[DEBUG]	Manufacturer exists
2023-10-13	12:47:04	1491	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:04	1491	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:04	1491	[DEBUG]	Executed store
2023-10-13	12:47:04	1491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860983','32')
2023-10-13	12:47:04	1491	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:04	1491	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:04	1491	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860983 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:04	1491	[DEBUG]	Store custom available field
2023-10-13	12:47:04	1491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860983,3,'',1)
2023-10-13	12:47:04	1491	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:04	1491	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:47:04	1491	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860983 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:04	1491	[DEBUG]	Store custom available field
2023-10-13	12:47:04	1491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860983,6,'41',3)
2023-10-13	12:47:04	1491	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:04	1491	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:04	1491	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860979
2023-10-13	12:47:04	1491	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:04	1491	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1860979\":[1860979,8,1,\"choisir la taille\"],\"1860980\":[\"38\"],\"1860981\":[\"39\"],\"1860982\":[\"40\"],\"1860983\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1860979
2023-10-13	12:47:04	1491	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:04	1491	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860983
2023-10-13	12:47:04	1492	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:04	1492	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:04	1492	[DEBUG]	Use field value for field taille
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:04	1492	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:04	1492	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:04	1492	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:04	1492	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:04	1492	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:04	1492	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:04	1492	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:04	1492	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:04	1492	[DEBUG]	Use field value for field published
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:04	1492	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field override
2023-10-13	12:47:04	1492	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:04	1492	[DEBUG]	Use field value for field slug
2023-10-13	12:47:04	1492	[DEBUG]	Process line 1492
2023-10-13	12:47:04	1492	[DEBUG]	Load a row
2023-10-13	12:47:04	1492	[DEBUG]	Processing item: 1000000114225
2023-10-13	12:47:04	1492	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:04	1492	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:04	1492	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_175'
2023-10-13	12:47:04	1492	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:04	1492	[DEBUG]	Processing product tax
2023-10-13	12:47:04	1492	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:04	1492	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:04	1492	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:04	1492	[DEBUG]	Query for Product
2023-10-13	12:47:04	1492	[DEBUG]	Executed store
2023-10-13	12:47:04	1492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860979','1000000114225','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:47:04	1492	[DEBUG]	No parent found
2023-10-13	12:47:04	1492	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860979 AND customfield_value = 'stockable'
2023-10-13	12:47:04	1492	[DEBUG]	Check product language entry
2023-10-13	12:47:04	1492	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860984
2023-10-13	12:47:04	1492	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:04	1492	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114225' AND `virtuemart_product_id` != 1860984
2023-10-13	12:47:04	1492	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:04	1492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860984, '1000000114225')
2023-10-13	12:47:04	1492	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:04	1492	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-42' AND `virtuemart_product_id` != 1860984
2023-10-13	12:47:04	1492	[DEBUG]	Query for ProductLang
2023-10-13	12:47:04	1492	[DEBUG]	Executed store
2023-10-13	12:47:04	1492	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Turquoise (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-42' WHERE `virtuemart_product_id` = '1860984'
2023-10-13	12:47:04	1492	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:04	1492	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:04	1492	[DEBUG]	Process image file
2023-10-13	12:47:04	1492	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:04	1492	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:04	1492	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:04	1492	[DEBUG]	Full name target: bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:05	1492	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:05	1492	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:47:05	1492	[DEBUG]	Query for Media
2023-10-13	12:47:05	1492	[DEBUG]	Executed store
2023-10-13	12:47:05	1492	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15964'
2023-10-13	12:47:05	1492	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:05	1492	[DEBUG]	Executed store
2023-10-13	12:47:05	1492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860984','15964','1')
2023-10-13	12:47:05	1492	[DEBUG]	Store product image relation
2023-10-13	12:47:05	1492	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:05	1492	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860984 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:05	1492	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:05	1492	[DEBUG]	Executed store
2023-10-13	12:47:05	1492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860984','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:05	1492	[DEBUG]	Checking manufacturer
2023-10-13	12:47:05	1492	[DEBUG]	Load a row
2023-10-13	12:47:05	1492	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:05	1492	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:05	1492	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:05	1492	[DEBUG]	Executed store
2023-10-13	12:47:05	1492	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:05	1492	[DEBUG]	Manufacturer exists
2023-10-13	12:47:05	1492	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:05	1492	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:05	1492	[DEBUG]	Executed store
2023-10-13	12:47:05	1492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860984','32')
2023-10-13	12:47:05	1492	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:05	1492	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:05	1492	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860984 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:05	1492	[DEBUG]	Store custom available field
2023-10-13	12:47:05	1492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860984,3,'',1)
2023-10-13	12:47:05	1492	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:05	1492	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:47:05	1492	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860984 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:05	1492	[DEBUG]	Store custom available field
2023-10-13	12:47:05	1492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860984,6,'42',3)
2023-10-13	12:47:05	1492	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:05	1492	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:05	1492	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860979
2023-10-13	12:47:05	1492	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:05	1492	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1860979\":[1860979,8,1,\"choisir la taille\"],\"1860980\":[\"38\"],\"1860981\":[\"39\"],\"1860982\":[\"40\"],\"1860983\":[\"41\"],\"1860984\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1860979
2023-10-13	12:47:05	1492	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:05	1492	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860984
2023-10-13	12:47:05	1493	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:05	1493	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:05	1493	[DEBUG]	Use field value for field taille
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:05	1493	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:05	1493	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:05	1493	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:05	1493	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:05	1493	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:05	1493	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:05	1493	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:05	1493	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:05	1493	[DEBUG]	Use field value for field published
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:05	1493	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field override
2023-10-13	12:47:05	1493	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:05	1493	[DEBUG]	Use field value for field slug
2023-10-13	12:47:05	1493	[DEBUG]	Process line 1493
2023-10-13	12:47:05	1493	[DEBUG]	Load a row
2023-10-13	12:47:05	1493	[DEBUG]	Processing item: 8435466215408
2023-10-13	12:47:05	1493	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:05	1493	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:05	1493	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_175'
2023-10-13	12:47:05	1493	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:05	1493	[DEBUG]	Processing product tax
2023-10-13	12:47:05	1493	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:05	1493	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:05	1493	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:05	1493	[DEBUG]	Query for Product
2023-10-13	12:47:05	1493	[DEBUG]	Executed store
2023-10-13	12:47:05	1493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860979','8435466215408','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:47:05	1493	[DEBUG]	No parent found
2023-10-13	12:47:05	1493	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860979 AND customfield_value = 'stockable'
2023-10-13	12:47:05	1493	[DEBUG]	Check product language entry
2023-10-13	12:47:05	1493	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860985
2023-10-13	12:47:05	1493	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:05	1493	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215408' AND `virtuemart_product_id` != 1860985
2023-10-13	12:47:05	1493	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:05	1493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860985, '8435466215408')
2023-10-13	12:47:05	1493	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:05	1493	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-43' AND `virtuemart_product_id` != 1860985
2023-10-13	12:47:05	1493	[DEBUG]	Query for ProductLang
2023-10-13	12:47:05	1493	[DEBUG]	Executed store
2023-10-13	12:47:05	1493	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Turquoise (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-43' WHERE `virtuemart_product_id` = '1860985'
2023-10-13	12:47:05	1493	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:05	1493	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:05	1493	[DEBUG]	Process image file
2023-10-13	12:47:05	1493	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:05	1493	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:05	1493	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:05	1493	[DEBUG]	Full name target: bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:06	1493	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:06	1493	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:47:06	1493	[DEBUG]	Query for Media
2023-10-13	12:47:06	1493	[DEBUG]	Executed store
2023-10-13	12:47:06	1493	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15964'
2023-10-13	12:47:06	1493	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:06	1493	[DEBUG]	Executed store
2023-10-13	12:47:06	1493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860985','15964','1')
2023-10-13	12:47:06	1493	[DEBUG]	Store product image relation
2023-10-13	12:47:06	1493	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:06	1493	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860985 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:06	1493	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:06	1493	[DEBUG]	Executed store
2023-10-13	12:47:06	1493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860985','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:06	1493	[DEBUG]	Checking manufacturer
2023-10-13	12:47:06	1493	[DEBUG]	Load a row
2023-10-13	12:47:06	1493	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:06	1493	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:06	1493	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:06	1493	[DEBUG]	Executed store
2023-10-13	12:47:06	1493	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:06	1493	[DEBUG]	Manufacturer exists
2023-10-13	12:47:06	1493	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:06	1493	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:06	1493	[DEBUG]	Executed store
2023-10-13	12:47:06	1493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860985','32')
2023-10-13	12:47:06	1493	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:06	1493	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:06	1493	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860985 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:06	1493	[DEBUG]	Store custom available field
2023-10-13	12:47:06	1493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860985,3,'',1)
2023-10-13	12:47:06	1493	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:06	1493	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:47:06	1493	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860985 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:06	1493	[DEBUG]	Store custom available field
2023-10-13	12:47:06	1493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860985,6,'43',3)
2023-10-13	12:47:06	1493	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:06	1493	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:06	1493	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860979
2023-10-13	12:47:06	1493	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:06	1493	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1860979\":[1860979,8,1,\"choisir la taille\"],\"1860980\":[\"38\"],\"1860981\":[\"39\"],\"1860982\":[\"40\"],\"1860983\":[\"41\"],\"1860984\":[\"42\"],\"1860985\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1860979
2023-10-13	12:47:06	1493	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:06	1493	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860985
2023-10-13	12:47:06	1494	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:06	1494	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:06	1494	[DEBUG]	Use field value for field taille
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:06	1494	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:06	1494	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:06	1494	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:06	1494	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:06	1494	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:06	1494	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:06	1494	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:06	1494	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:06	1494	[DEBUG]	Use field value for field published
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:06	1494	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field override
2023-10-13	12:47:06	1494	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:06	1494	[DEBUG]	Use field value for field slug
2023-10-13	12:47:06	1494	[DEBUG]	Process line 1494
2023-10-13	12:47:06	1494	[DEBUG]	Load a row
2023-10-13	12:47:06	1494	[DEBUG]	Processing item: 1000000114249
2023-10-13	12:47:06	1494	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:06	1494	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:06	1494	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_175'
2023-10-13	12:47:06	1494	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:06	1494	[DEBUG]	Processing product tax
2023-10-13	12:47:06	1494	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:06	1494	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:06	1494	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:06	1494	[DEBUG]	Query for Product
2023-10-13	12:47:06	1494	[DEBUG]	Executed store
2023-10-13	12:47:06	1494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860979','1000000114249','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:47:06	1494	[DEBUG]	No parent found
2023-10-13	12:47:06	1494	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860979 AND customfield_value = 'stockable'
2023-10-13	12:47:06	1494	[DEBUG]	Check product language entry
2023-10-13	12:47:06	1494	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860986
2023-10-13	12:47:06	1494	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:06	1494	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114249' AND `virtuemart_product_id` != 1860986
2023-10-13	12:47:06	1494	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:06	1494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860986, '1000000114249')
2023-10-13	12:47:06	1494	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:06	1494	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-44' AND `virtuemart_product_id` != 1860986
2023-10-13	12:47:06	1494	[DEBUG]	Query for ProductLang
2023-10-13	12:47:06	1494	[DEBUG]	Executed store
2023-10-13	12:47:06	1494	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Turquoise (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-44' WHERE `virtuemart_product_id` = '1860986'
2023-10-13	12:47:06	1494	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:06	1494	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:06	1494	[DEBUG]	Process image file
2023-10-13	12:47:06	1494	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:06	1494	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:06	1494	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:06	1494	[DEBUG]	Full name target: bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:07	1494	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:07	1494	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:47:07	1494	[DEBUG]	Query for Media
2023-10-13	12:47:07	1494	[DEBUG]	Executed store
2023-10-13	12:47:07	1494	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15964'
2023-10-13	12:47:07	1494	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:07	1494	[DEBUG]	Executed store
2023-10-13	12:47:07	1494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860986','15964','1')
2023-10-13	12:47:07	1494	[DEBUG]	Store product image relation
2023-10-13	12:47:07	1494	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:07	1494	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860986 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:07	1494	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:07	1494	[DEBUG]	Executed store
2023-10-13	12:47:07	1494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860986','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:07	1494	[DEBUG]	Checking manufacturer
2023-10-13	12:47:07	1494	[DEBUG]	Load a row
2023-10-13	12:47:07	1494	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:07	1494	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:07	1494	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:07	1494	[DEBUG]	Executed store
2023-10-13	12:47:07	1494	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:07	1494	[DEBUG]	Manufacturer exists
2023-10-13	12:47:07	1494	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:07	1494	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:07	1494	[DEBUG]	Executed store
2023-10-13	12:47:07	1494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860986','32')
2023-10-13	12:47:07	1494	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:07	1494	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:07	1494	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860986 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:07	1494	[DEBUG]	Store custom available field
2023-10-13	12:47:07	1494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860986,3,'',1)
2023-10-13	12:47:07	1494	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:07	1494	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:47:07	1494	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860986 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:07	1494	[DEBUG]	Store custom available field
2023-10-13	12:47:07	1494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860986,6,'44',3)
2023-10-13	12:47:07	1494	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:07	1494	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:07	1494	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860979
2023-10-13	12:47:07	1494	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:07	1494	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1860979\":[1860979,8,1,\"choisir la taille\"],\"1860980\":[\"38\"],\"1860981\":[\"39\"],\"1860982\":[\"40\"],\"1860983\":[\"41\"],\"1860984\":[\"42\"],\"1860985\":[\"43\"],\"1860986\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1860979
2023-10-13	12:47:07	1494	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:07	1494	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860986
2023-10-13	12:47:07	1495	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:07	1495	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:07	1495	[DEBUG]	Use field value for field taille
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:07	1495	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:07	1495	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:07	1495	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:07	1495	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:07	1495	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:07	1495	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:07	1495	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:07	1495	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:07	1495	[DEBUG]	Use field value for field published
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:07	1495	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field override
2023-10-13	12:47:07	1495	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:07	1495	[DEBUG]	Use field value for field slug
2023-10-13	12:47:07	1495	[DEBUG]	Process line 1495
2023-10-13	12:47:07	1495	[DEBUG]	Load a row
2023-10-13	12:47:07	1495	[DEBUG]	Processing item: 1000000114256
2023-10-13	12:47:07	1495	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:07	1495	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:07	1495	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_175'
2023-10-13	12:47:07	1495	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:07	1495	[DEBUG]	Processing product tax
2023-10-13	12:47:07	1495	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:07	1495	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:07	1495	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:07	1495	[DEBUG]	Query for Product
2023-10-13	12:47:07	1495	[DEBUG]	Executed store
2023-10-13	12:47:07	1495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860979','1000000114256','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:47:07	1495	[DEBUG]	No parent found
2023-10-13	12:47:07	1495	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860979 AND customfield_value = 'stockable'
2023-10-13	12:47:07	1495	[DEBUG]	Check product language entry
2023-10-13	12:47:07	1495	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860987
2023-10-13	12:47:07	1495	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:07	1495	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114256' AND `virtuemart_product_id` != 1860987
2023-10-13	12:47:07	1495	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:07	1495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860987, '1000000114256')
2023-10-13	12:47:07	1495	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:07	1495	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-45' AND `virtuemart_product_id` != 1860987
2023-10-13	12:47:07	1495	[DEBUG]	Query for ProductLang
2023-10-13	12:47:07	1495	[DEBUG]	Executed store
2023-10-13	12:47:07	1495	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Turquoise (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-45' WHERE `virtuemart_product_id` = '1860987'
2023-10-13	12:47:07	1495	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:07	1495	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:07	1495	[DEBUG]	Process image file
2023-10-13	12:47:07	1495	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:07	1495	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:07	1495	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:07	1495	[DEBUG]	Full name target: bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:08	1495	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:08	1495	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:47:08	1495	[DEBUG]	Query for Media
2023-10-13	12:47:08	1495	[DEBUG]	Executed store
2023-10-13	12:47:08	1495	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15964'
2023-10-13	12:47:08	1495	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:08	1495	[DEBUG]	Executed store
2023-10-13	12:47:08	1495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860987','15964','1')
2023-10-13	12:47:08	1495	[DEBUG]	Store product image relation
2023-10-13	12:47:08	1495	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:08	1495	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860987 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:08	1495	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:08	1495	[DEBUG]	Executed store
2023-10-13	12:47:08	1495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860987','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:08	1495	[DEBUG]	Checking manufacturer
2023-10-13	12:47:08	1495	[DEBUG]	Load a row
2023-10-13	12:47:08	1495	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:08	1495	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:08	1495	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:08	1495	[DEBUG]	Executed store
2023-10-13	12:47:08	1495	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:08	1495	[DEBUG]	Manufacturer exists
2023-10-13	12:47:08	1495	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:08	1495	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:08	1495	[DEBUG]	Executed store
2023-10-13	12:47:08	1495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860987','32')
2023-10-13	12:47:08	1495	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:08	1495	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:08	1495	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860987 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:08	1495	[DEBUG]	Store custom available field
2023-10-13	12:47:08	1495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860987,3,'',1)
2023-10-13	12:47:08	1495	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:08	1495	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:47:08	1495	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860987 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:08	1495	[DEBUG]	Store custom available field
2023-10-13	12:47:08	1495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860987,6,'45',3)
2023-10-13	12:47:08	1495	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:08	1495	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:08	1495	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860979
2023-10-13	12:47:08	1495	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:08	1495	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1860979\":[1860979,8,1,\"choisir la taille\"],\"1860980\":[\"38\"],\"1860981\":[\"39\"],\"1860982\":[\"40\"],\"1860983\":[\"41\"],\"1860984\":[\"42\"],\"1860985\":[\"43\"],\"1860986\":[\"44\"],\"1860987\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1860979
2023-10-13	12:47:08	1495	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:08	1495	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860987
2023-10-13	12:47:08	1496	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:08	1496	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:08	1496	[DEBUG]	Use field value for field taille
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:08	1496	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:08	1496	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:08	1496	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:08	1496	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:08	1496	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:08	1496	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:08	1496	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:08	1496	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:08	1496	[DEBUG]	Use field value for field published
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:08	1496	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field override
2023-10-13	12:47:08	1496	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:08	1496	[DEBUG]	Use field value for field slug
2023-10-13	12:47:08	1496	[DEBUG]	Process line 1496
2023-10-13	12:47:08	1496	[DEBUG]	Load a row
2023-10-13	12:47:08	1496	[DEBUG]	Processing item: 1000000114263
2023-10-13	12:47:08	1496	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:08	1496	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:08	1496	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_175'
2023-10-13	12:47:08	1496	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:08	1496	[DEBUG]	Processing product tax
2023-10-13	12:47:08	1496	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:08	1496	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:08	1496	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:08	1496	[DEBUG]	Query for Product
2023-10-13	12:47:08	1496	[DEBUG]	Executed store
2023-10-13	12:47:08	1496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860979','1000000114263','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:47:08	1496	[DEBUG]	No parent found
2023-10-13	12:47:08	1496	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860979 AND customfield_value = 'stockable'
2023-10-13	12:47:08	1496	[DEBUG]	Check product language entry
2023-10-13	12:47:08	1496	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860988
2023-10-13	12:47:08	1496	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:08	1496	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114263' AND `virtuemart_product_id` != 1860988
2023-10-13	12:47:08	1496	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:08	1496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860988, '1000000114263')
2023-10-13	12:47:08	1496	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:08	1496	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-46' AND `virtuemart_product_id` != 1860988
2023-10-13	12:47:08	1496	[DEBUG]	Query for ProductLang
2023-10-13	12:47:08	1496	[DEBUG]	Executed store
2023-10-13	12:47:08	1496	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Turquoise (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-46' WHERE `virtuemart_product_id` = '1860988'
2023-10-13	12:47:08	1496	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:08	1496	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:08	1496	[DEBUG]	Process image file
2023-10-13	12:47:08	1496	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:08	1496	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:08	1496	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:08	1496	[DEBUG]	Full name target: bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:09	1496	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:09	1496	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:47:09	1496	[DEBUG]	Query for Media
2023-10-13	12:47:09	1496	[DEBUG]	Executed store
2023-10-13	12:47:09	1496	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15964'
2023-10-13	12:47:09	1496	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:09	1496	[DEBUG]	Executed store
2023-10-13	12:47:09	1496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860988','15964','1')
2023-10-13	12:47:09	1496	[DEBUG]	Store product image relation
2023-10-13	12:47:09	1496	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:09	1496	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860988 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:09	1496	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:09	1496	[DEBUG]	Executed store
2023-10-13	12:47:09	1496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860988','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:09	1496	[DEBUG]	Checking manufacturer
2023-10-13	12:47:09	1496	[DEBUG]	Load a row
2023-10-13	12:47:09	1496	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:09	1496	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:09	1496	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:09	1496	[DEBUG]	Executed store
2023-10-13	12:47:09	1496	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:09	1496	[DEBUG]	Manufacturer exists
2023-10-13	12:47:09	1496	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:09	1496	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:09	1496	[DEBUG]	Executed store
2023-10-13	12:47:09	1496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860988','32')
2023-10-13	12:47:09	1496	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:09	1496	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:09	1496	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860988 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:09	1496	[DEBUG]	Store custom available field
2023-10-13	12:47:09	1496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860988,3,'',1)
2023-10-13	12:47:09	1496	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:09	1496	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:47:09	1496	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860988 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:09	1496	[DEBUG]	Store custom available field
2023-10-13	12:47:09	1496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860988,6,'46',3)
2023-10-13	12:47:09	1496	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:09	1496	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:09	1496	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860979
2023-10-13	12:47:09	1496	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:09	1496	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1860979\":[1860979,8,1,\"choisir la taille\"],\"1860980\":[\"38\"],\"1860981\":[\"39\"],\"1860982\":[\"40\"],\"1860983\":[\"41\"],\"1860984\":[\"42\"],\"1860985\":[\"43\"],\"1860986\":[\"44\"],\"1860987\":[\"45\"],\"1860988\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1860979
2023-10-13	12:47:09	1496	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:09	1496	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860988
2023-10-13	12:47:09	1497	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:09	1497	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:09	1497	[DEBUG]	Use field value for field taille
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:09	1497	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:09	1497	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:09	1497	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:09	1497	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:09	1497	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:09	1497	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:09	1497	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:09	1497	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:09	1497	[DEBUG]	Use field value for field published
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:09	1497	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field override
2023-10-13	12:47:09	1497	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:09	1497	[DEBUG]	Use field value for field slug
2023-10-13	12:47:09	1497	[DEBUG]	Process line 1497
2023-10-13	12:47:09	1497	[DEBUG]	Load a row
2023-10-13	12:47:09	1497	[DEBUG]	Processing item: 8435466215545
2023-10-13	12:47:09	1497	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:09	1497	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:09	1497	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5153_175'
2023-10-13	12:47:09	1497	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:09	1497	[DEBUG]	Processing product tax
2023-10-13	12:47:09	1497	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:09	1497	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:09	1497	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:09	1497	[DEBUG]	Query for Product
2023-10-13	12:47:09	1497	[DEBUG]	Executed store
2023-10-13	12:47:09	1497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860979','8435466215545','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:47:09	1497	[DEBUG]	No parent found
2023-10-13	12:47:09	1497	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860979 AND customfield_value = 'stockable'
2023-10-13	12:47:09	1497	[DEBUG]	Check product language entry
2023-10-13	12:47:09	1497	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860989
2023-10-13	12:47:09	1497	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:09	1497	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215545' AND `virtuemart_product_id` != 1860989
2023-10-13	12:47:10	1497	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:10	1497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860989, '8435466215545')
2023-10-13	12:47:10	1497	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:10	1497	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-47' AND `virtuemart_product_id` != 1860989
2023-10-13	12:47:10	1497	[DEBUG]	Query for ProductLang
2023-10-13	12:47:10	1497	[DEBUG]	Executed store
2023-10-13	12:47:10	1497	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro Road avec système de ventilation breveté  / Turquoise (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-road-avec-systeme-de-ventilation-brevete-turquoise-47' WHERE `virtuemart_product_id` = '1860989'
2023-10-13	12:47:10	1497	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:10	1497	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:10	1497	[DEBUG]	Process image file
2023-10-13	12:47:10	1497	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:10	1497	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:10	1497	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:10	1497	[DEBUG]	Full name target: bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg
2023-10-13	12:47:11	1497	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:11	1497	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg'
2023-10-13	12:47:11	1497	[DEBUG]	Query for Media
2023-10-13	12:47:11	1497	[DEBUG]	Executed store
2023-10-13	12:47:11	1497	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_url_thumb`='bcprisme/34057_chaussures_msc_aero_road_avec_systeme_de_ventilation_brevete_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15964'
2023-10-13	12:47:11	1497	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:11	1497	[DEBUG]	Executed store
2023-10-13	12:47:11	1497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860989','15964','1')
2023-10-13	12:47:11	1497	[DEBUG]	Store product image relation
2023-10-13	12:47:11	1497	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:11	1497	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860989 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:11	1497	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:11	1497	[DEBUG]	Executed store
2023-10-13	12:47:11	1497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860989','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:11	1497	[DEBUG]	Checking manufacturer
2023-10-13	12:47:11	1497	[DEBUG]	Load a row
2023-10-13	12:47:11	1497	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:11	1497	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:11	1497	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:11	1497	[DEBUG]	Executed store
2023-10-13	12:47:11	1497	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:11	1497	[DEBUG]	Manufacturer exists
2023-10-13	12:47:11	1497	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:11	1497	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:11	1497	[DEBUG]	Executed store
2023-10-13	12:47:11	1497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860989','32')
2023-10-13	12:47:11	1497	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:11	1497	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:11	1497	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860989 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:11	1497	[DEBUG]	Store custom available field
2023-10-13	12:47:11	1497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860989,3,'',1)
2023-10-13	12:47:11	1497	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:11	1497	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:47:11	1497	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860989 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:11	1497	[DEBUG]	Store custom available field
2023-10-13	12:47:11	1497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860989,6,'47',3)
2023-10-13	12:47:11	1497	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:11	1497	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:11	1497	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860979
2023-10-13	12:47:11	1497	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:11	1497	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1860979\":[1860979,8,1,\"choisir la taille\"],\"1860980\":[\"38\"],\"1860981\":[\"39\"],\"1860982\":[\"40\"],\"1860983\":[\"41\"],\"1860984\":[\"42\"],\"1860985\":[\"43\"],\"1860986\":[\"44\"],\"1860987\":[\"45\"],\"1860988\":[\"46\"],\"1860989\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1860979
2023-10-13	12:47:11	1497	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:11	1497	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860989
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:11	1498	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field taille
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field category_path
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:11	1498	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:47:11	1498	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:11	1498	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field product_weight
2023-10-13	12:47:11	1498	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:11	1498	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:11	1498	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field published
2023-10-13	12:47:11	1498	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:11	1498	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field custom_title
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field custom_param
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field override
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field public_price
2023-10-13	12:47:11	1498	[DEBUG]	Use field value for field slug
2023-10-13	12:47:11	1498	[DEBUG]	Process line 1498
2023-10-13	12:47:11	1498	[DEBUG]	Load a row
2023-10-13	12:47:11	1498	[DEBUG]	Processing item: A_6901_1
2023-10-13	12:47:11	1498	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:11	1498	[DEBUG]	Processing product tax
2023-10-13	12:47:11	1498	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:11	1498	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:11	1498	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:11	1498	[DEBUG]	Query for Product
2023-10-13	12:47:11	1498	[DEBUG]	Executed store
2023-10-13	12:47:11	1498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6901_1','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:47:11	1498	[DEBUG]	Check product language entry
2023-10-13	12:47:11	1498	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860990
2023-10-13	12:47:11	1498	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:11	1498	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6901_1' AND `virtuemart_product_id` != 1860990
2023-10-13	12:47:11	1498	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:11	1498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860990, 'A_6901_1')
2023-10-13	12:47:11	1498	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:11	1498	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir' AND `virtuemart_product_id` != 1860990
2023-10-13	12:47:11	1498	[DEBUG]	Query for ProductLang
2023-10-13	12:47:11	1498	[DEBUG]	Executed store
2023-10-13	12:47:11	1498	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro VTT XC avec système de ventilation breveté ! 699 GR.<br>N° art fourn : ZAEROXC',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir' WHERE `virtuemart_product_id` = '1860990'
2023-10-13	12:47:11	1498	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:11	1498	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:11	1498	[DEBUG]	Process image file
2023-10-13	12:47:11	1498	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:11	1498	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:11	1498	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:11	1498	[DEBUG]	Full name target: bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:11	1498	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:11	1498	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:11	1498	[DEBUG]	Query for Media
2023-10-13	12:47:11	1498	[DEBUG]	Executed store
2023-10-13	12:47:11	1498	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15965'
2023-10-13	12:47:11	1498	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:12	1498	[DEBUG]	Executed store
2023-10-13	12:47:12	1498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860990','15965','1')
2023-10-13	12:47:12	1498	[DEBUG]	Store product image relation
2023-10-13	12:47:12	1498	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:12	1498	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860990 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:12	1498	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:12	1498	[DEBUG]	Executed store
2023-10-13	12:47:12	1498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860990','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:12	1498	[DEBUG]	Checking manufacturer
2023-10-13	12:47:12	1498	[DEBUG]	Load a row
2023-10-13	12:47:12	1498	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:12	1498	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:12	1498	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:12	1498	[DEBUG]	Executed store
2023-10-13	12:47:12	1498	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:12	1498	[DEBUG]	Manufacturer exists
2023-10-13	12:47:12	1498	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:12	1498	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:12	1498	[DEBUG]	Executed store
2023-10-13	12:47:12	1498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860990','32')
2023-10-13	12:47:12	1498	[DEBUG]	Find the custom field ID
2023-10-13	12:47:12	1498	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:47:12	1498	[DEBUG]	No custom field ID found
2023-10-13	12:47:12	1498	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:12	1498	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:47:12	1498	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860990 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:12	1498	[DEBUG]	Store custom available field
2023-10-13	12:47:12	1498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860990,3,'179.400277777778',1)
2023-10-13	12:47:12	1498	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:12	1498	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:47:12	1498	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860990 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:12	1498	[DEBUG]	Store custom available field
2023-10-13	12:47:12	1498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860990,6,'choisir la taille',3)
2023-10-13	12:47:12	1498	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:12	1498	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:47:12	1498	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:47:12	1498	[DEBUG]	Find the multi variant product entry
2023-10-13	12:47:12	1498	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860990 AND `virtuemart_custom_id` = 8
2023-10-13	12:47:12	1498	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:47:12	1498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1860990,8,1)
2023-10-13	12:47:12	1498	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:12	1498	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1860990\":[1860990,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1860990
2023-10-13	12:47:12	1498	[DEBUG]	Checking category
2023-10-13	12:47:12	1498	[DEBUG]	Get the existing categories for the product
2023-10-13	12:47:12	1498	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860990
2023-10-13	12:47:12	1498	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:47:12	1498	[DEBUG]	Executed store
2023-10-13	12:47:12	1498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1860990','7331')
2023-10-13	12:47:12	1498	[DEBUG]	Delete leftover product categories
2023-10-13	12:47:12	1498	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1860990 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:47:12	1498	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:12	1498	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860990
2023-10-13	12:47:12	1499	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:12	1499	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:12	1499	[DEBUG]	Use field value for field taille
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:12	1499	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:12	1499	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:12	1499	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:12	1499	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:12	1499	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:12	1499	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:12	1499	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:12	1499	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:12	1499	[DEBUG]	Use field value for field published
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:12	1499	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field override
2023-10-13	12:47:12	1499	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:12	1499	[DEBUG]	Use field value for field slug
2023-10-13	12:47:12	1499	[DEBUG]	Process line 1499
2023-10-13	12:47:12	1499	[DEBUG]	Load a row
2023-10-13	12:47:12	1499	[DEBUG]	Processing item: 1000000110975
2023-10-13	12:47:12	1499	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:12	1499	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:12	1499	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_1'
2023-10-13	12:47:12	1499	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:12	1499	[DEBUG]	Processing product tax
2023-10-13	12:47:12	1499	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:12	1499	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:12	1499	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:12	1499	[DEBUG]	Query for Product
2023-10-13	12:47:12	1499	[DEBUG]	Executed store
2023-10-13	12:47:12	1499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860990','1000000110975','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:47:12	1499	[DEBUG]	No parent found
2023-10-13	12:47:12	1499	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860990 AND customfield_value = 'stockable'
2023-10-13	12:47:12	1499	[DEBUG]	Check product language entry
2023-10-13	12:47:12	1499	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860991
2023-10-13	12:47:12	1499	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:12	1499	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000110975' AND `virtuemart_product_id` != 1860991
2023-10-13	12:47:12	1499	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:12	1499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860991, '1000000110975')
2023-10-13	12:47:12	1499	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:12	1499	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-38' AND `virtuemart_product_id` != 1860991
2023-10-13	12:47:12	1499	[DEBUG]	Query for ProductLang
2023-10-13	12:47:12	1499	[DEBUG]	Executed store
2023-10-13	12:47:12	1499	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Noir (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-38' WHERE `virtuemart_product_id` = '1860991'
2023-10-13	12:47:12	1499	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:12	1499	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:12	1499	[DEBUG]	Process image file
2023-10-13	12:47:12	1499	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:12	1499	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:12	1499	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:12	1499	[DEBUG]	Full name target: bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:13	1499	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:13	1499	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:13	1499	[DEBUG]	Query for Media
2023-10-13	12:47:13	1499	[DEBUG]	Executed store
2023-10-13	12:47:13	1499	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15965'
2023-10-13	12:47:13	1499	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:13	1499	[DEBUG]	Executed store
2023-10-13	12:47:13	1499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860991','15965','1')
2023-10-13	12:47:13	1499	[DEBUG]	Store product image relation
2023-10-13	12:47:13	1499	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:13	1499	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860991 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:13	1499	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:13	1499	[DEBUG]	Executed store
2023-10-13	12:47:13	1499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860991','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:13	1499	[DEBUG]	Checking manufacturer
2023-10-13	12:47:13	1499	[DEBUG]	Load a row
2023-10-13	12:47:13	1499	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:13	1499	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:13	1499	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:13	1499	[DEBUG]	Executed store
2023-10-13	12:47:13	1499	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:13	1499	[DEBUG]	Manufacturer exists
2023-10-13	12:47:13	1499	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:13	1499	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:13	1499	[DEBUG]	Executed store
2023-10-13	12:47:13	1499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860991','32')
2023-10-13	12:47:13	1499	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:13	1499	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:13	1499	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860991 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:13	1499	[DEBUG]	Store custom available field
2023-10-13	12:47:13	1499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860991,3,'',1)
2023-10-13	12:47:13	1499	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:13	1499	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:47:13	1499	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860991 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:13	1499	[DEBUG]	Store custom available field
2023-10-13	12:47:13	1499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860991,6,'38',3)
2023-10-13	12:47:13	1499	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:13	1499	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:13	1499	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860990
2023-10-13	12:47:13	1499	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:13	1499	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1860990\":[1860990,8,1,\"choisir la taille\"],\"1860991\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1860990
2023-10-13	12:47:13	1499	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:13	1499	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860991
2023-10-13	12:47:13	1500	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:13	1500	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:13	1500	[DEBUG]	Use field value for field taille
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:13	1500	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:13	1500	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:13	1500	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:13	1500	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:13	1500	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:13	1500	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:13	1500	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:13	1500	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:13	1500	[DEBUG]	Use field value for field published
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:13	1500	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field override
2023-10-13	12:47:13	1500	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:13	1500	[DEBUG]	Use field value for field slug
2023-10-13	12:47:13	1500	[DEBUG]	Process line 1500
2023-10-13	12:47:13	1500	[DEBUG]	Load a row
2023-10-13	12:47:13	1500	[DEBUG]	Processing item: 8435466295875
2023-10-13	12:47:13	1500	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:13	1500	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:13	1500	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_1'
2023-10-13	12:47:13	1500	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:13	1500	[DEBUG]	Processing product tax
2023-10-13	12:47:13	1500	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:13	1500	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:13	1500	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:13	1500	[DEBUG]	Query for Product
2023-10-13	12:47:13	1500	[DEBUG]	Executed store
2023-10-13	12:47:13	1500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860990','8435466295875','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0')
2023-10-13	12:47:13	1500	[DEBUG]	No parent found
2023-10-13	12:47:13	1500	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860990 AND customfield_value = 'stockable'
2023-10-13	12:47:13	1500	[DEBUG]	Check product language entry
2023-10-13	12:47:13	1500	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860992
2023-10-13	12:47:13	1500	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:13	1500	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295875' AND `virtuemart_product_id` != 1860992
2023-10-13	12:47:13	1500	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:13	1500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860992, '8435466295875')
2023-10-13	12:47:13	1500	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:13	1500	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-39' AND `virtuemart_product_id` != 1860992
2023-10-13	12:47:13	1500	[DEBUG]	Query for ProductLang
2023-10-13	12:47:13	1500	[DEBUG]	Executed store
2023-10-13	12:47:13	1500	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Noir (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-39' WHERE `virtuemart_product_id` = '1860992'
2023-10-13	12:47:13	1500	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:13	1500	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:13	1500	[DEBUG]	Process image file
2023-10-13	12:47:13	1500	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:13	1500	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:13	1500	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:13	1500	[DEBUG]	Full name target: bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:14	1500	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:14	1500	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:14	1500	[DEBUG]	Query for Media
2023-10-13	12:47:14	1500	[DEBUG]	Executed store
2023-10-13	12:47:14	1500	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15965'
2023-10-13	12:47:14	1500	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:14	1500	[DEBUG]	Executed store
2023-10-13	12:47:14	1500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860992','15965','1')
2023-10-13	12:47:14	1500	[DEBUG]	Store product image relation
2023-10-13	12:47:14	1500	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:14	1500	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860992 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:14	1500	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:14	1500	[DEBUG]	Executed store
2023-10-13	12:47:14	1500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860992','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:45:29','1593','2023-10-13 12:45:29','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:14	1500	[DEBUG]	Checking manufacturer
2023-10-13	12:47:14	1500	[DEBUG]	Load a row
2023-10-13	12:47:14	1500	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:14	1500	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:14	1500	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:14	1500	[DEBUG]	Executed store
2023-10-13	12:47:14	1500	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:14	1500	[DEBUG]	Manufacturer exists
2023-10-13	12:47:14	1500	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:14	1500	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:14	1500	[DEBUG]	Executed store
2023-10-13	12:47:14	1500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860992','32')
2023-10-13	12:47:14	1500	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:14	1500	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:14	1500	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860992 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:14	1500	[DEBUG]	Store custom available field
2023-10-13	12:47:14	1500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860992,3,'',1)
2023-10-13	12:47:14	1500	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:14	1500	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:47:14	1500	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860992 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:14	1500	[DEBUG]	Store custom available field
2023-10-13	12:47:14	1500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860992,6,'39',3)
2023-10-13	12:47:14	1500	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:14	1500	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:14	1500	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860990
2023-10-13	12:47:14	1500	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:14	1500	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1860990\":[1860990,8,1,\"choisir la taille\"],\"1860991\":[\"38\"],\"1860992\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1860990
2023-10-13	12:47:14	1500	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:14	1500	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860992
2023-10-13	12:47:35	1500	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:47:35	1500	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:47:35	1500	[DEBUG]	Load the fields to process
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: product_sku
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: taille
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: product_name
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: category_path
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: product_price
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: product_override_price
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: product_tax
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: file_url
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: product_desc
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: product_availability
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: product_weight
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: product_unit
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: related_products
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: product_special
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: published
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: metadesc
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: metakey
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: custom_title
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: custom_value
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: custom_param
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: override
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: public_price
2023-10-13	12:47:35	1500	[DEBUG]	Setup field: slug
2023-10-13	12:47:35	1500	[DEBUG]	Use the file for configuration
2023-10-13	12:47:35	1500	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:47:35	1500	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:47:35	1500	[DEBUG]	Load the custom fields
2023-10-13	12:47:35	1500	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:47:35	1500	[DEBUG]	Load stockable custom fields
2023-10-13	12:47:35	1500	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:47:35	1500	[DEBUG]	Load custom fields for all
2023-10-13	12:47:35	1500	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:47:35	1501	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:35	1501	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:35	1501	[DEBUG]	Use field value for field taille
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:35	1501	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:35	1501	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:35	1501	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:35	1501	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:35	1501	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:35	1501	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:35	1501	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:35	1501	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:35	1501	[DEBUG]	Use field value for field published
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:35	1501	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field override
2023-10-13	12:47:35	1501	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:35	1501	[DEBUG]	Use field value for field slug
2023-10-13	12:47:35	1501	[DEBUG]	Process line 1501
2023-10-13	12:47:35	1501	[DEBUG]	Check if the vendor exists
2023-10-13	12:47:35	1501	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '8435466295882'
2023-10-13	12:47:35	1501	[DEBUG]	Load a row
2023-10-13	12:47:35	1501	[DEBUG]	Processing item: 8435466295882
2023-10-13	12:47:35	1501	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:35	1501	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:35	1501	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_1'
2023-10-13	12:47:35	1501	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:35	1501	[DEBUG]	Processing product tax
2023-10-13	12:47:35	1501	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:35	1501	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:35	1501	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:35	1501	[DEBUG]	Query for Product
2023-10-13	12:47:35	1501	[DEBUG]	Executed store
2023-10-13	12:47:35	1501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860990','8435466295882','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:35	1501	[DEBUG]	No parent found
2023-10-13	12:47:35	1501	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860990 AND customfield_value = 'stockable'
2023-10-13	12:47:35	1501	[DEBUG]	Check product language entry
2023-10-13	12:47:35	1501	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860993
2023-10-13	12:47:35	1501	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:35	1501	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295882' AND `virtuemart_product_id` != 1860993
2023-10-13	12:47:35	1501	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:35	1501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860993, '8435466295882')
2023-10-13	12:47:35	1501	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:35	1501	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-40' AND `virtuemart_product_id` != 1860993
2023-10-13	12:47:35	1501	[DEBUG]	Query for ProductLang
2023-10-13	12:47:35	1501	[DEBUG]	Executed store
2023-10-13	12:47:35	1501	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Noir (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-40' WHERE `virtuemart_product_id` = '1860993'
2023-10-13	12:47:35	1501	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:35	1501	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:35	1501	[DEBUG]	Process image file
2023-10-13	12:47:35	1501	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:35	1501	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:35	1501	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:35	1501	[DEBUG]	Full name target: bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:36	1501	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:36	1501	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:36	1501	[DEBUG]	Query for Media
2023-10-13	12:47:36	1501	[DEBUG]	Executed store
2023-10-13	12:47:36	1501	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15965'
2023-10-13	12:47:36	1501	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:36	1501	[DEBUG]	Executed store
2023-10-13	12:47:36	1501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860993','15965','1')
2023-10-13	12:47:36	1501	[DEBUG]	Store product image relation
2023-10-13	12:47:36	1501	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:36	1501	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860993 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:36	1501	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:36	1501	[DEBUG]	Executed store
2023-10-13	12:47:36	1501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860993','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:36	1501	[DEBUG]	Checking manufacturer
2023-10-13	12:47:36	1501	[DEBUG]	Load a row
2023-10-13	12:47:36	1501	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:36	1501	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:36	1501	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:36	1501	[DEBUG]	Executed store
2023-10-13	12:47:36	1501	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:36	1501	[DEBUG]	Manufacturer exists
2023-10-13	12:47:36	1501	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:36	1501	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:36	1501	[DEBUG]	Executed store
2023-10-13	12:47:36	1501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860993','32')
2023-10-13	12:47:36	1501	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:36	1501	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:36	1501	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860993 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:36	1501	[DEBUG]	Store custom available field
2023-10-13	12:47:36	1501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860993,3,'',1)
2023-10-13	12:47:36	1501	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:36	1501	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:47:36	1501	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860993 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:36	1501	[DEBUG]	Store custom available field
2023-10-13	12:47:36	1501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860993,6,'40',3)
2023-10-13	12:47:36	1501	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:36	1501	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:36	1501	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860990
2023-10-13	12:47:36	1501	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:36	1501	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1860990\":[1860990,8,1,\"choisir la taille\"],\"1860991\":[\"38\"],\"1860992\":[\"39\"],\"1860993\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1860990
2023-10-13	12:47:36	1501	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:36	1501	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860993
2023-10-13	12:47:36	1502	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:36	1502	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:36	1502	[DEBUG]	Use field value for field taille
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:36	1502	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:36	1502	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:36	1502	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:36	1502	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:36	1502	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:36	1502	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:36	1502	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:36	1502	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:36	1502	[DEBUG]	Use field value for field published
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:36	1502	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field override
2023-10-13	12:47:36	1502	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:36	1502	[DEBUG]	Use field value for field slug
2023-10-13	12:47:36	1502	[DEBUG]	Process line 1502
2023-10-13	12:47:36	1502	[DEBUG]	Load a row
2023-10-13	12:47:36	1502	[DEBUG]	Processing item: 1000000113389
2023-10-13	12:47:36	1502	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:36	1502	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:36	1502	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_1'
2023-10-13	12:47:36	1502	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:36	1502	[DEBUG]	Processing product tax
2023-10-13	12:47:36	1502	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:36	1502	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:36	1502	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:36	1502	[DEBUG]	Query for Product
2023-10-13	12:47:36	1502	[DEBUG]	Executed store
2023-10-13	12:47:36	1502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860990','1000000113389','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:36	1502	[DEBUG]	No parent found
2023-10-13	12:47:36	1502	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860990 AND customfield_value = 'stockable'
2023-10-13	12:47:36	1502	[DEBUG]	Check product language entry
2023-10-13	12:47:36	1502	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860994
2023-10-13	12:47:36	1502	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:36	1502	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113389' AND `virtuemart_product_id` != 1860994
2023-10-13	12:47:36	1502	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:36	1502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860994, '1000000113389')
2023-10-13	12:47:36	1502	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:36	1502	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-41' AND `virtuemart_product_id` != 1860994
2023-10-13	12:47:36	1502	[DEBUG]	Query for ProductLang
2023-10-13	12:47:36	1502	[DEBUG]	Executed store
2023-10-13	12:47:36	1502	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Noir (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-41' WHERE `virtuemart_product_id` = '1860994'
2023-10-13	12:47:36	1502	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:36	1502	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:36	1502	[DEBUG]	Process image file
2023-10-13	12:47:36	1502	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:36	1502	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:36	1502	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:36	1502	[DEBUG]	Full name target: bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:37	1502	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:37	1502	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:37	1502	[DEBUG]	Query for Media
2023-10-13	12:47:37	1502	[DEBUG]	Executed store
2023-10-13	12:47:37	1502	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15965'
2023-10-13	12:47:37	1502	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:37	1502	[DEBUG]	Executed store
2023-10-13	12:47:37	1502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860994','15965','1')
2023-10-13	12:47:37	1502	[DEBUG]	Store product image relation
2023-10-13	12:47:37	1502	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:37	1502	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860994 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:37	1502	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:37	1502	[DEBUG]	Executed store
2023-10-13	12:47:37	1502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860994','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:37	1502	[DEBUG]	Checking manufacturer
2023-10-13	12:47:37	1502	[DEBUG]	Load a row
2023-10-13	12:47:37	1502	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:37	1502	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:37	1502	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:37	1502	[DEBUG]	Executed store
2023-10-13	12:47:37	1502	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:37	1502	[DEBUG]	Manufacturer exists
2023-10-13	12:47:37	1502	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:37	1502	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:37	1502	[DEBUG]	Executed store
2023-10-13	12:47:37	1502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860994','32')
2023-10-13	12:47:37	1502	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:37	1502	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:37	1502	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860994 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:37	1502	[DEBUG]	Store custom available field
2023-10-13	12:47:37	1502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860994,3,'',1)
2023-10-13	12:47:37	1502	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:37	1502	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:47:37	1502	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860994 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:37	1502	[DEBUG]	Store custom available field
2023-10-13	12:47:37	1502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860994,6,'41',3)
2023-10-13	12:47:37	1502	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:37	1502	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:37	1502	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860990
2023-10-13	12:47:37	1502	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:37	1502	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1860990\":[1860990,8,1,\"choisir la taille\"],\"1860991\":[\"38\"],\"1860992\":[\"39\"],\"1860993\":[\"40\"],\"1860994\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1860990
2023-10-13	12:47:37	1502	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:37	1502	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860994
2023-10-13	12:47:37	1503	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:37	1503	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:37	1503	[DEBUG]	Use field value for field taille
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:37	1503	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:37	1503	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:37	1503	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:37	1503	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:37	1503	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:37	1503	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:37	1503	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:37	1503	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:37	1503	[DEBUG]	Use field value for field published
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:37	1503	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field override
2023-10-13	12:47:37	1503	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:37	1503	[DEBUG]	Use field value for field slug
2023-10-13	12:47:37	1503	[DEBUG]	Process line 1503
2023-10-13	12:47:37	1503	[DEBUG]	Load a row
2023-10-13	12:47:37	1503	[DEBUG]	Processing item: 1000000113396
2023-10-13	12:47:37	1503	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:37	1503	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:37	1503	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_1'
2023-10-13	12:47:37	1503	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:37	1503	[DEBUG]	Processing product tax
2023-10-13	12:47:37	1503	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:37	1503	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:37	1503	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:37	1503	[DEBUG]	Query for Product
2023-10-13	12:47:37	1503	[DEBUG]	Executed store
2023-10-13	12:47:37	1503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860990','1000000113396','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:37	1503	[DEBUG]	No parent found
2023-10-13	12:47:37	1503	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860990 AND customfield_value = 'stockable'
2023-10-13	12:47:37	1503	[DEBUG]	Check product language entry
2023-10-13	12:47:37	1503	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860995
2023-10-13	12:47:37	1503	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:37	1503	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113396' AND `virtuemart_product_id` != 1860995
2023-10-13	12:47:37	1503	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:37	1503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860995, '1000000113396')
2023-10-13	12:47:37	1503	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:37	1503	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-42' AND `virtuemart_product_id` != 1860995
2023-10-13	12:47:37	1503	[DEBUG]	Query for ProductLang
2023-10-13	12:47:37	1503	[DEBUG]	Executed store
2023-10-13	12:47:37	1503	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Noir (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-42' WHERE `virtuemart_product_id` = '1860995'
2023-10-13	12:47:37	1503	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:37	1503	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:37	1503	[DEBUG]	Process image file
2023-10-13	12:47:37	1503	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:37	1503	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:37	1503	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:37	1503	[DEBUG]	Full name target: bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:38	1503	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:38	1503	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:38	1503	[DEBUG]	Query for Media
2023-10-13	12:47:38	1503	[DEBUG]	Executed store
2023-10-13	12:47:38	1503	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15965'
2023-10-13	12:47:38	1503	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:38	1503	[DEBUG]	Executed store
2023-10-13	12:47:38	1503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860995','15965','1')
2023-10-13	12:47:38	1503	[DEBUG]	Store product image relation
2023-10-13	12:47:38	1503	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:38	1503	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860995 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:38	1503	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:38	1503	[DEBUG]	Executed store
2023-10-13	12:47:38	1503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860995','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:38	1503	[DEBUG]	Checking manufacturer
2023-10-13	12:47:38	1503	[DEBUG]	Load a row
2023-10-13	12:47:38	1503	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:38	1503	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:38	1503	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:38	1503	[DEBUG]	Executed store
2023-10-13	12:47:38	1503	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:38	1503	[DEBUG]	Manufacturer exists
2023-10-13	12:47:38	1503	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:38	1503	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:38	1503	[DEBUG]	Executed store
2023-10-13	12:47:38	1503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860995','32')
2023-10-13	12:47:38	1503	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:38	1503	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:38	1503	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860995 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:38	1503	[DEBUG]	Store custom available field
2023-10-13	12:47:38	1503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860995,3,'',1)
2023-10-13	12:47:38	1503	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:38	1503	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:47:38	1503	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860995 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:38	1503	[DEBUG]	Store custom available field
2023-10-13	12:47:38	1503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860995,6,'42',3)
2023-10-13	12:47:38	1503	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:38	1503	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:38	1503	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860990
2023-10-13	12:47:38	1503	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:38	1503	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1860990\":[1860990,8,1,\"choisir la taille\"],\"1860991\":[\"38\"],\"1860992\":[\"39\"],\"1860993\":[\"40\"],\"1860994\":[\"41\"],\"1860995\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1860990
2023-10-13	12:47:38	1503	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:38	1503	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860995
2023-10-13	12:47:38	1504	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:38	1504	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:38	1504	[DEBUG]	Use field value for field taille
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:38	1504	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:38	1504	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:38	1504	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:38	1504	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:38	1504	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:38	1504	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:38	1504	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:38	1504	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:38	1504	[DEBUG]	Use field value for field published
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:38	1504	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field override
2023-10-13	12:47:38	1504	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:38	1504	[DEBUG]	Use field value for field slug
2023-10-13	12:47:38	1504	[DEBUG]	Process line 1504
2023-10-13	12:47:38	1504	[DEBUG]	Load a row
2023-10-13	12:47:38	1504	[DEBUG]	Processing item: 1000000113402
2023-10-13	12:47:38	1504	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:38	1504	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:38	1504	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_1'
2023-10-13	12:47:38	1504	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:38	1504	[DEBUG]	Processing product tax
2023-10-13	12:47:38	1504	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:38	1504	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:38	1504	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:38	1504	[DEBUG]	Query for Product
2023-10-13	12:47:38	1504	[DEBUG]	Executed store
2023-10-13	12:47:38	1504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860990','1000000113402','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:38	1504	[DEBUG]	No parent found
2023-10-13	12:47:38	1504	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860990 AND customfield_value = 'stockable'
2023-10-13	12:47:38	1504	[DEBUG]	Check product language entry
2023-10-13	12:47:38	1504	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860996
2023-10-13	12:47:38	1504	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:38	1504	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113402' AND `virtuemart_product_id` != 1860996
2023-10-13	12:47:38	1504	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:38	1504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860996, '1000000113402')
2023-10-13	12:47:38	1504	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:38	1504	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-43' AND `virtuemart_product_id` != 1860996
2023-10-13	12:47:38	1504	[DEBUG]	Query for ProductLang
2023-10-13	12:47:38	1504	[DEBUG]	Executed store
2023-10-13	12:47:38	1504	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Noir (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-43' WHERE `virtuemart_product_id` = '1860996'
2023-10-13	12:47:38	1504	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:38	1504	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:38	1504	[DEBUG]	Process image file
2023-10-13	12:47:38	1504	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:38	1504	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:38	1504	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:38	1504	[DEBUG]	Full name target: bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:39	1504	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:39	1504	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:39	1504	[DEBUG]	Query for Media
2023-10-13	12:47:39	1504	[DEBUG]	Executed store
2023-10-13	12:47:39	1504	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15965'
2023-10-13	12:47:39	1504	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:39	1504	[DEBUG]	Executed store
2023-10-13	12:47:39	1504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860996','15965','1')
2023-10-13	12:47:39	1504	[DEBUG]	Store product image relation
2023-10-13	12:47:39	1504	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:39	1504	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860996 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:39	1504	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:39	1504	[DEBUG]	Executed store
2023-10-13	12:47:39	1504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860996','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:39	1504	[DEBUG]	Checking manufacturer
2023-10-13	12:47:39	1504	[DEBUG]	Load a row
2023-10-13	12:47:39	1504	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:39	1504	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:39	1504	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:39	1504	[DEBUG]	Executed store
2023-10-13	12:47:39	1504	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:39	1504	[DEBUG]	Manufacturer exists
2023-10-13	12:47:39	1504	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:39	1504	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:39	1504	[DEBUG]	Executed store
2023-10-13	12:47:39	1504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860996','32')
2023-10-13	12:47:39	1504	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:39	1504	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:39	1504	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860996 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:39	1504	[DEBUG]	Store custom available field
2023-10-13	12:47:39	1504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860996,3,'',1)
2023-10-13	12:47:39	1504	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:39	1504	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:47:39	1504	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860996 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:39	1504	[DEBUG]	Store custom available field
2023-10-13	12:47:39	1504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860996,6,'43',3)
2023-10-13	12:47:39	1504	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:39	1504	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:39	1504	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860990
2023-10-13	12:47:39	1504	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:39	1504	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1860990\":[1860990,8,1,\"choisir la taille\"],\"1860991\":[\"38\"],\"1860992\":[\"39\"],\"1860993\":[\"40\"],\"1860994\":[\"41\"],\"1860995\":[\"42\"],\"1860996\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1860990
2023-10-13	12:47:39	1504	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:39	1504	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860996
2023-10-13	12:47:39	1505	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:39	1505	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:39	1505	[DEBUG]	Use field value for field taille
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:39	1505	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:39	1505	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:39	1505	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:39	1505	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:39	1505	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:39	1505	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:39	1505	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:39	1505	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:39	1505	[DEBUG]	Use field value for field published
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:39	1505	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field override
2023-10-13	12:47:39	1505	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:39	1505	[DEBUG]	Use field value for field slug
2023-10-13	12:47:39	1505	[DEBUG]	Process line 1505
2023-10-13	12:47:39	1505	[DEBUG]	Load a row
2023-10-13	12:47:39	1505	[DEBUG]	Processing item: 8435466295929
2023-10-13	12:47:39	1505	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:39	1505	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:39	1505	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_1'
2023-10-13	12:47:39	1505	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:39	1505	[DEBUG]	Processing product tax
2023-10-13	12:47:39	1505	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:39	1505	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:39	1505	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:39	1505	[DEBUG]	Query for Product
2023-10-13	12:47:39	1505	[DEBUG]	Executed store
2023-10-13	12:47:39	1505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860990','8435466295929','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:39	1505	[DEBUG]	No parent found
2023-10-13	12:47:39	1505	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860990 AND customfield_value = 'stockable'
2023-10-13	12:47:39	1505	[DEBUG]	Check product language entry
2023-10-13	12:47:39	1505	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860997
2023-10-13	12:47:39	1505	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:39	1505	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295929' AND `virtuemart_product_id` != 1860997
2023-10-13	12:47:39	1505	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:39	1505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860997, '8435466295929')
2023-10-13	12:47:39	1505	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:39	1505	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-44' AND `virtuemart_product_id` != 1860997
2023-10-13	12:47:39	1505	[DEBUG]	Query for ProductLang
2023-10-13	12:47:39	1505	[DEBUG]	Executed store
2023-10-13	12:47:39	1505	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Noir (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-44' WHERE `virtuemart_product_id` = '1860997'
2023-10-13	12:47:39	1505	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:39	1505	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:39	1505	[DEBUG]	Process image file
2023-10-13	12:47:39	1505	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:39	1505	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:39	1505	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:39	1505	[DEBUG]	Full name target: bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:40	1505	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:40	1505	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:40	1505	[DEBUG]	Query for Media
2023-10-13	12:47:40	1505	[DEBUG]	Executed store
2023-10-13	12:47:40	1505	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15965'
2023-10-13	12:47:40	1505	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:40	1505	[DEBUG]	Executed store
2023-10-13	12:47:40	1505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860997','15965','1')
2023-10-13	12:47:40	1505	[DEBUG]	Store product image relation
2023-10-13	12:47:40	1505	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:40	1505	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860997 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:40	1505	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:40	1505	[DEBUG]	Executed store
2023-10-13	12:47:40	1505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860997','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:40	1505	[DEBUG]	Checking manufacturer
2023-10-13	12:47:40	1505	[DEBUG]	Load a row
2023-10-13	12:47:40	1505	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:40	1505	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:40	1505	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:40	1505	[DEBUG]	Executed store
2023-10-13	12:47:40	1505	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:40	1505	[DEBUG]	Manufacturer exists
2023-10-13	12:47:40	1505	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:40	1505	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:40	1505	[DEBUG]	Executed store
2023-10-13	12:47:40	1505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860997','32')
2023-10-13	12:47:40	1505	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:40	1505	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:40	1505	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860997 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:40	1505	[DEBUG]	Store custom available field
2023-10-13	12:47:40	1505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860997,3,'',1)
2023-10-13	12:47:40	1505	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:40	1505	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:47:40	1505	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860997 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:40	1505	[DEBUG]	Store custom available field
2023-10-13	12:47:40	1505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860997,6,'44',3)
2023-10-13	12:47:40	1505	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:40	1505	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:40	1505	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860990
2023-10-13	12:47:40	1505	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:40	1505	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1860990\":[1860990,8,1,\"choisir la taille\"],\"1860991\":[\"38\"],\"1860992\":[\"39\"],\"1860993\":[\"40\"],\"1860994\":[\"41\"],\"1860995\":[\"42\"],\"1860996\":[\"43\"],\"1860997\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1860990
2023-10-13	12:47:40	1505	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:40	1505	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860997
2023-10-13	12:47:40	1506	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:40	1506	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:40	1506	[DEBUG]	Use field value for field taille
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:40	1506	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:40	1506	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:40	1506	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:40	1506	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:40	1506	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:40	1506	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:40	1506	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:40	1506	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:40	1506	[DEBUG]	Use field value for field published
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:40	1506	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field override
2023-10-13	12:47:40	1506	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:40	1506	[DEBUG]	Use field value for field slug
2023-10-13	12:47:40	1506	[DEBUG]	Process line 1506
2023-10-13	12:47:40	1506	[DEBUG]	Load a row
2023-10-13	12:47:40	1506	[DEBUG]	Processing item: 1000000113426
2023-10-13	12:47:40	1506	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:40	1506	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:40	1506	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_1'
2023-10-13	12:47:40	1506	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:40	1506	[DEBUG]	Processing product tax
2023-10-13	12:47:40	1506	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:40	1506	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:40	1506	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:40	1506	[DEBUG]	Query for Product
2023-10-13	12:47:40	1506	[DEBUG]	Executed store
2023-10-13	12:47:40	1506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860990','1000000113426','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:40	1506	[DEBUG]	No parent found
2023-10-13	12:47:40	1506	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860990 AND customfield_value = 'stockable'
2023-10-13	12:47:40	1506	[DEBUG]	Check product language entry
2023-10-13	12:47:40	1506	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860998
2023-10-13	12:47:40	1506	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:40	1506	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113426' AND `virtuemart_product_id` != 1860998
2023-10-13	12:47:40	1506	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:40	1506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860998, '1000000113426')
2023-10-13	12:47:40	1506	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:40	1506	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-45' AND `virtuemart_product_id` != 1860998
2023-10-13	12:47:40	1506	[DEBUG]	Query for ProductLang
2023-10-13	12:47:40	1506	[DEBUG]	Executed store
2023-10-13	12:47:40	1506	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Noir (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-45' WHERE `virtuemart_product_id` = '1860998'
2023-10-13	12:47:40	1506	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:40	1506	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:40	1506	[DEBUG]	Process image file
2023-10-13	12:47:40	1506	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:40	1506	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:40	1506	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:40	1506	[DEBUG]	Full name target: bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:41	1506	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:41	1506	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:41	1506	[DEBUG]	Query for Media
2023-10-13	12:47:41	1506	[DEBUG]	Executed store
2023-10-13	12:47:41	1506	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15965'
2023-10-13	12:47:41	1506	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:41	1506	[DEBUG]	Executed store
2023-10-13	12:47:41	1506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860998','15965','1')
2023-10-13	12:47:41	1506	[DEBUG]	Store product image relation
2023-10-13	12:47:41	1506	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:41	1506	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860998 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:41	1506	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:41	1506	[DEBUG]	Executed store
2023-10-13	12:47:41	1506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860998','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:41	1506	[DEBUG]	Checking manufacturer
2023-10-13	12:47:41	1506	[DEBUG]	Load a row
2023-10-13	12:47:41	1506	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:41	1506	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:41	1506	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:41	1506	[DEBUG]	Executed store
2023-10-13	12:47:41	1506	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:41	1506	[DEBUG]	Manufacturer exists
2023-10-13	12:47:41	1506	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:41	1506	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:41	1506	[DEBUG]	Executed store
2023-10-13	12:47:41	1506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860998','32')
2023-10-13	12:47:41	1506	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:41	1506	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:41	1506	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860998 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:41	1506	[DEBUG]	Store custom available field
2023-10-13	12:47:41	1506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860998,3,'',1)
2023-10-13	12:47:41	1506	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:41	1506	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:47:41	1506	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860998 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:41	1506	[DEBUG]	Store custom available field
2023-10-13	12:47:41	1506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860998,6,'45',3)
2023-10-13	12:47:41	1506	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:41	1506	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:41	1506	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860990
2023-10-13	12:47:41	1506	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:41	1506	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1860990\":[1860990,8,1,\"choisir la taille\"],\"1860991\":[\"38\"],\"1860992\":[\"39\"],\"1860993\":[\"40\"],\"1860994\":[\"41\"],\"1860995\":[\"42\"],\"1860996\":[\"43\"],\"1860997\":[\"44\"],\"1860998\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1860990
2023-10-13	12:47:41	1506	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:41	1506	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860998
2023-10-13	12:47:41	1507	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:41	1507	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:41	1507	[DEBUG]	Use field value for field taille
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:41	1507	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:41	1507	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:41	1507	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:41	1507	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:41	1507	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:41	1507	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:41	1507	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:41	1507	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:41	1507	[DEBUG]	Use field value for field published
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:41	1507	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field override
2023-10-13	12:47:41	1507	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:41	1507	[DEBUG]	Use field value for field slug
2023-10-13	12:47:41	1507	[DEBUG]	Process line 1507
2023-10-13	12:47:41	1507	[DEBUG]	Load a row
2023-10-13	12:47:41	1507	[DEBUG]	Processing item: 8435466295943
2023-10-13	12:47:41	1507	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:41	1507	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:41	1507	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_1'
2023-10-13	12:47:41	1507	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:41	1507	[DEBUG]	Processing product tax
2023-10-13	12:47:41	1507	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:41	1507	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:41	1507	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:41	1507	[DEBUG]	Query for Product
2023-10-13	12:47:41	1507	[DEBUG]	Executed store
2023-10-13	12:47:41	1507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860990','8435466295943','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:41	1507	[DEBUG]	No parent found
2023-10-13	12:47:41	1507	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860990 AND customfield_value = 'stockable'
2023-10-13	12:47:41	1507	[DEBUG]	Check product language entry
2023-10-13	12:47:41	1507	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1860999
2023-10-13	12:47:41	1507	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:41	1507	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295943' AND `virtuemart_product_id` != 1860999
2023-10-13	12:47:41	1507	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:41	1507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1860999, '8435466295943')
2023-10-13	12:47:41	1507	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:41	1507	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-46' AND `virtuemart_product_id` != 1860999
2023-10-13	12:47:41	1507	[DEBUG]	Query for ProductLang
2023-10-13	12:47:41	1507	[DEBUG]	Executed store
2023-10-13	12:47:41	1507	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Noir (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-46' WHERE `virtuemart_product_id` = '1860999'
2023-10-13	12:47:41	1507	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:41	1507	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:41	1507	[DEBUG]	Process image file
2023-10-13	12:47:41	1507	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:41	1507	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:41	1507	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:41	1507	[DEBUG]	Full name target: bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:42	1507	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:42	1507	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:42	1507	[DEBUG]	Query for Media
2023-10-13	12:47:42	1507	[DEBUG]	Executed store
2023-10-13	12:47:42	1507	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15965'
2023-10-13	12:47:42	1507	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:42	1507	[DEBUG]	Executed store
2023-10-13	12:47:42	1507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1860999','15965','1')
2023-10-13	12:47:42	1507	[DEBUG]	Store product image relation
2023-10-13	12:47:42	1507	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:42	1507	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1860999 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:42	1507	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:42	1507	[DEBUG]	Executed store
2023-10-13	12:47:42	1507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1860999','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:42	1507	[DEBUG]	Checking manufacturer
2023-10-13	12:47:42	1507	[DEBUG]	Load a row
2023-10-13	12:47:42	1507	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:42	1507	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:42	1507	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:42	1507	[DEBUG]	Executed store
2023-10-13	12:47:42	1507	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:42	1507	[DEBUG]	Manufacturer exists
2023-10-13	12:47:42	1507	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:42	1507	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:42	1507	[DEBUG]	Executed store
2023-10-13	12:47:42	1507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1860999','32')
2023-10-13	12:47:42	1507	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:42	1507	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:42	1507	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860999 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:42	1507	[DEBUG]	Store custom available field
2023-10-13	12:47:42	1507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860999,3,'',1)
2023-10-13	12:47:42	1507	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:42	1507	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:47:42	1507	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1860999 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:42	1507	[DEBUG]	Store custom available field
2023-10-13	12:47:42	1507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1860999,6,'46',3)
2023-10-13	12:47:42	1507	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:42	1507	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:42	1507	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860990
2023-10-13	12:47:42	1507	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:42	1507	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1860990\":[1860990,8,1,\"choisir la taille\"],\"1860991\":[\"38\"],\"1860992\":[\"39\"],\"1860993\":[\"40\"],\"1860994\":[\"41\"],\"1860995\":[\"42\"],\"1860996\":[\"43\"],\"1860997\":[\"44\"],\"1860998\":[\"45\"],\"1860999\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1860990
2023-10-13	12:47:42	1507	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:42	1507	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1860999
2023-10-13	12:47:42	1508	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:42	1508	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:42	1508	[DEBUG]	Use field value for field taille
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:42	1508	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:42	1508	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:42	1508	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:42	1508	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:42	1508	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:42	1508	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:42	1508	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:42	1508	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:42	1508	[DEBUG]	Use field value for field published
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:42	1508	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field override
2023-10-13	12:47:42	1508	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:42	1508	[DEBUG]	Use field value for field slug
2023-10-13	12:47:42	1508	[DEBUG]	Process line 1508
2023-10-13	12:47:42	1508	[DEBUG]	Load a row
2023-10-13	12:47:42	1508	[DEBUG]	Processing item: 1000000113440
2023-10-13	12:47:42	1508	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:42	1508	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:42	1508	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_1'
2023-10-13	12:47:42	1508	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:42	1508	[DEBUG]	Processing product tax
2023-10-13	12:47:42	1508	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:42	1508	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:42	1508	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:42	1508	[DEBUG]	Query for Product
2023-10-13	12:47:42	1508	[DEBUG]	Executed store
2023-10-13	12:47:42	1508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1860990','1000000113440','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:42	1508	[DEBUG]	No parent found
2023-10-13	12:47:42	1508	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1860990 AND customfield_value = 'stockable'
2023-10-13	12:47:42	1508	[DEBUG]	Check product language entry
2023-10-13	12:47:42	1508	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861000
2023-10-13	12:47:42	1508	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:42	1508	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113440' AND `virtuemart_product_id` != 1861000
2023-10-13	12:47:42	1508	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:42	1508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861000, '1000000113440')
2023-10-13	12:47:42	1508	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:42	1508	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-47' AND `virtuemart_product_id` != 1861000
2023-10-13	12:47:42	1508	[DEBUG]	Query for ProductLang
2023-10-13	12:47:42	1508	[DEBUG]	Executed store
2023-10-13	12:47:42	1508	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Noir (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-noir-47' WHERE `virtuemart_product_id` = '1861000'
2023-10-13	12:47:42	1508	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:42	1508	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:42	1508	[DEBUG]	Process image file
2023-10-13	12:47:42	1508	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:42	1508	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:42	1508	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:42	1508	[DEBUG]	Full name target: bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:43	1508	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:43	1508	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:43	1508	[DEBUG]	Query for Media
2023-10-13	12:47:43	1508	[DEBUG]	Executed store
2023-10-13	12:47:43	1508	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34014_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15965'
2023-10-13	12:47:43	1508	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:43	1508	[DEBUG]	Executed store
2023-10-13	12:47:43	1508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861000','15965','1')
2023-10-13	12:47:43	1508	[DEBUG]	Store product image relation
2023-10-13	12:47:43	1508	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:43	1508	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861000 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:43	1508	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:43	1508	[DEBUG]	Executed store
2023-10-13	12:47:43	1508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861000','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:43	1508	[DEBUG]	Checking manufacturer
2023-10-13	12:47:43	1508	[DEBUG]	Load a row
2023-10-13	12:47:43	1508	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:43	1508	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:43	1508	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:43	1508	[DEBUG]	Executed store
2023-10-13	12:47:43	1508	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:43	1508	[DEBUG]	Manufacturer exists
2023-10-13	12:47:43	1508	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:43	1508	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:43	1508	[DEBUG]	Executed store
2023-10-13	12:47:43	1508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861000','32')
2023-10-13	12:47:43	1508	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:43	1508	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:43	1508	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861000 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:43	1508	[DEBUG]	Store custom available field
2023-10-13	12:47:43	1508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861000,3,'',1)
2023-10-13	12:47:43	1508	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:43	1508	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:47:43	1508	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861000 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:43	1508	[DEBUG]	Store custom available field
2023-10-13	12:47:43	1508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861000,6,'47',3)
2023-10-13	12:47:43	1508	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:43	1508	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:43	1508	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1860990
2023-10-13	12:47:43	1508	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:43	1508	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1860990\":[1860990,8,1,\"choisir la taille\"],\"1860991\":[\"38\"],\"1860992\":[\"39\"],\"1860993\":[\"40\"],\"1860994\":[\"41\"],\"1860995\":[\"42\"],\"1860996\":[\"43\"],\"1860997\":[\"44\"],\"1860998\":[\"45\"],\"1860999\":[\"46\"],\"1861000\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1860990
2023-10-13	12:47:43	1508	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:43	1508	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861000
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:43	1509	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field taille
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field category_path
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:43	1509	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:47:43	1509	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:43	1509	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field product_weight
2023-10-13	12:47:43	1509	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:43	1509	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:43	1509	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field published
2023-10-13	12:47:43	1509	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:43	1509	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field custom_title
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field custom_param
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field override
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field public_price
2023-10-13	12:47:43	1509	[DEBUG]	Use field value for field slug
2023-10-13	12:47:43	1509	[DEBUG]	Process line 1509
2023-10-13	12:47:43	1509	[DEBUG]	Load a row
2023-10-13	12:47:43	1509	[DEBUG]	Processing item: A_6901_7
2023-10-13	12:47:43	1509	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:43	1509	[DEBUG]	Processing product tax
2023-10-13	12:47:43	1509	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:43	1509	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:43	1509	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:43	1509	[DEBUG]	Query for Product
2023-10-13	12:47:43	1509	[DEBUG]	Executed store
2023-10-13	12:47:43	1509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6901_7','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:43	1509	[DEBUG]	Check product language entry
2023-10-13	12:47:43	1509	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861001
2023-10-13	12:47:43	1509	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:43	1509	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6901_7' AND `virtuemart_product_id` != 1861001
2023-10-13	12:47:43	1509	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:43	1509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861001, 'A_6901_7')
2023-10-13	12:47:43	1509	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:43	1509	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge' AND `virtuemart_product_id` != 1861001
2023-10-13	12:47:43	1509	[DEBUG]	Query for ProductLang
2023-10-13	12:47:43	1509	[DEBUG]	Executed store
2023-10-13	12:47:43	1509	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro VTT XC avec système de ventilation breveté ! 699 GR.<br>N° art fourn : ZAEROXC',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge' WHERE `virtuemart_product_id` = '1861001'
2023-10-13	12:47:43	1509	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:43	1509	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:43	1509	[DEBUG]	Process image file
2023-10-13	12:47:43	1509	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:43	1509	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:43	1509	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:43	1509	[DEBUG]	Full name target: bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:44	1509	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:44	1509	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:44	1509	[DEBUG]	Query for Media
2023-10-13	12:47:44	1509	[DEBUG]	Executed store
2023-10-13	12:47:44	1509	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15966'
2023-10-13	12:47:44	1509	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:44	1509	[DEBUG]	Executed store
2023-10-13	12:47:44	1509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861001','15966','1')
2023-10-13	12:47:44	1509	[DEBUG]	Store product image relation
2023-10-13	12:47:44	1509	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:44	1509	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861001 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:44	1509	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:44	1509	[DEBUG]	Executed store
2023-10-13	12:47:44	1509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861001','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:44	1509	[DEBUG]	Checking manufacturer
2023-10-13	12:47:44	1509	[DEBUG]	Load a row
2023-10-13	12:47:44	1509	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:44	1509	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:44	1509	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:44	1509	[DEBUG]	Executed store
2023-10-13	12:47:44	1509	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:44	1509	[DEBUG]	Manufacturer exists
2023-10-13	12:47:44	1509	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:44	1509	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:44	1509	[DEBUG]	Executed store
2023-10-13	12:47:44	1509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861001','32')
2023-10-13	12:47:44	1509	[DEBUG]	Find the custom field ID
2023-10-13	12:47:44	1509	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:47:44	1509	[DEBUG]	No custom field ID found
2023-10-13	12:47:44	1509	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:44	1509	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:47:44	1509	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861001 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:44	1509	[DEBUG]	Store custom available field
2023-10-13	12:47:44	1509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861001,3,'179.400277777778',1)
2023-10-13	12:47:44	1509	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:44	1509	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:47:44	1509	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861001 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:44	1509	[DEBUG]	Store custom available field
2023-10-13	12:47:44	1509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861001,6,'choisir la taille',3)
2023-10-13	12:47:44	1509	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:44	1509	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:47:44	1509	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:47:44	1509	[DEBUG]	Find the multi variant product entry
2023-10-13	12:47:44	1509	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861001 AND `virtuemart_custom_id` = 8
2023-10-13	12:47:44	1509	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:47:44	1509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861001,8,1)
2023-10-13	12:47:44	1509	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:44	1509	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861001\":[1861001,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861001
2023-10-13	12:47:44	1509	[DEBUG]	Checking category
2023-10-13	12:47:44	1509	[DEBUG]	Check if category path exists: CHAUSSURES - SCHUHE
2023-10-13	12:47:44	1509	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAUSSURES - SCHUHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:47:44	1509	[DEBUG]	Check if category path exists: CHAUSSURES  - SHUHE
2023-10-13	12:47:44	1509	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAUSSURES  - SHUHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7305
2023-10-13	12:47:44	1509	[DEBUG]	Get the existing categories for the product
2023-10-13	12:47:44	1509	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861001
2023-10-13	12:47:44	1509	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:47:44	1509	[DEBUG]	Executed store
2023-10-13	12:47:44	1509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861001','7331')
2023-10-13	12:47:44	1509	[DEBUG]	Delete leftover product categories
2023-10-13	12:47:44	1509	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861001 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:47:44	1509	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:44	1509	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861001
2023-10-13	12:47:44	1510	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:44	1510	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:44	1510	[DEBUG]	Use field value for field taille
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:44	1510	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:44	1510	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:44	1510	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:44	1510	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:44	1510	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:44	1510	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:44	1510	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:44	1510	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:44	1510	[DEBUG]	Use field value for field published
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:44	1510	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field override
2023-10-13	12:47:44	1510	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:44	1510	[DEBUG]	Use field value for field slug
2023-10-13	12:47:44	1510	[DEBUG]	Process line 1510
2023-10-13	12:47:44	1510	[DEBUG]	Load a row
2023-10-13	12:47:44	1510	[DEBUG]	Processing item: 1000000111002
2023-10-13	12:47:44	1510	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:44	1510	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:44	1510	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_7'
2023-10-13	12:47:44	1510	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:44	1510	[DEBUG]	Processing product tax
2023-10-13	12:47:44	1510	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:44	1510	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:44	1510	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:44	1510	[DEBUG]	Query for Product
2023-10-13	12:47:44	1510	[DEBUG]	Executed store
2023-10-13	12:47:44	1510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861001','1000000111002','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:44	1510	[DEBUG]	No parent found
2023-10-13	12:47:44	1510	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861001 AND customfield_value = 'stockable'
2023-10-13	12:47:44	1510	[DEBUG]	Check product language entry
2023-10-13	12:47:44	1510	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861002
2023-10-13	12:47:44	1510	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:44	1510	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000111002' AND `virtuemart_product_id` != 1861002
2023-10-13	12:47:44	1510	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:44	1510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861002, '1000000111002')
2023-10-13	12:47:44	1510	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:44	1510	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-38' AND `virtuemart_product_id` != 1861002
2023-10-13	12:47:44	1510	[DEBUG]	Query for ProductLang
2023-10-13	12:47:44	1510	[DEBUG]	Executed store
2023-10-13	12:47:44	1510	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rouge (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-38' WHERE `virtuemart_product_id` = '1861002'
2023-10-13	12:47:44	1510	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:44	1510	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:44	1510	[DEBUG]	Process image file
2023-10-13	12:47:44	1510	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:44	1510	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:44	1510	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:44	1510	[DEBUG]	Full name target: bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:45	1510	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:45	1510	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:45	1510	[DEBUG]	Query for Media
2023-10-13	12:47:45	1510	[DEBUG]	Executed store
2023-10-13	12:47:45	1510	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15966'
2023-10-13	12:47:45	1510	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:45	1510	[DEBUG]	Executed store
2023-10-13	12:47:45	1510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861002','15966','1')
2023-10-13	12:47:45	1510	[DEBUG]	Store product image relation
2023-10-13	12:47:45	1510	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:45	1510	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861002 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:45	1510	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:45	1510	[DEBUG]	Executed store
2023-10-13	12:47:45	1510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861002','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:45	1510	[DEBUG]	Checking manufacturer
2023-10-13	12:47:45	1510	[DEBUG]	Load a row
2023-10-13	12:47:45	1510	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:45	1510	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:45	1510	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:45	1510	[DEBUG]	Executed store
2023-10-13	12:47:45	1510	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:45	1510	[DEBUG]	Manufacturer exists
2023-10-13	12:47:45	1510	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:45	1510	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:45	1510	[DEBUG]	Executed store
2023-10-13	12:47:45	1510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861002','32')
2023-10-13	12:47:45	1510	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:45	1510	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:45	1510	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861002 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:45	1510	[DEBUG]	Store custom available field
2023-10-13	12:47:45	1510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861002,3,'',1)
2023-10-13	12:47:45	1510	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:45	1510	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:47:45	1510	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861002 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:45	1510	[DEBUG]	Store custom available field
2023-10-13	12:47:45	1510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861002,6,'38',3)
2023-10-13	12:47:45	1510	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:45	1510	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:45	1510	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861001
2023-10-13	12:47:45	1510	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:45	1510	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1861001\":[1861001,8,1,\"choisir la taille\"],\"1861002\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1861001
2023-10-13	12:47:45	1510	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:45	1510	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861002
2023-10-13	12:47:45	1511	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:45	1511	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:45	1511	[DEBUG]	Use field value for field taille
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:45	1511	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:45	1511	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:45	1511	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:45	1511	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:45	1511	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:45	1511	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:45	1511	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:45	1511	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:45	1511	[DEBUG]	Use field value for field published
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:45	1511	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field override
2023-10-13	12:47:45	1511	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:45	1511	[DEBUG]	Use field value for field slug
2023-10-13	12:47:45	1511	[DEBUG]	Process line 1511
2023-10-13	12:47:45	1511	[DEBUG]	Load a row
2023-10-13	12:47:45	1511	[DEBUG]	Processing item: 1000000113457
2023-10-13	12:47:45	1511	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:45	1511	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:45	1511	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_7'
2023-10-13	12:47:45	1511	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:45	1511	[DEBUG]	Processing product tax
2023-10-13	12:47:45	1511	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:45	1511	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:45	1511	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:45	1511	[DEBUG]	Query for Product
2023-10-13	12:47:45	1511	[DEBUG]	Executed store
2023-10-13	12:47:45	1511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861001','1000000113457','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:45	1511	[DEBUG]	No parent found
2023-10-13	12:47:45	1511	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861001 AND customfield_value = 'stockable'
2023-10-13	12:47:45	1511	[DEBUG]	Check product language entry
2023-10-13	12:47:45	1511	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861003
2023-10-13	12:47:45	1511	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:45	1511	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113457' AND `virtuemart_product_id` != 1861003
2023-10-13	12:47:45	1511	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:45	1511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861003, '1000000113457')
2023-10-13	12:47:45	1511	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:45	1511	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-39' AND `virtuemart_product_id` != 1861003
2023-10-13	12:47:45	1511	[DEBUG]	Query for ProductLang
2023-10-13	12:47:45	1511	[DEBUG]	Executed store
2023-10-13	12:47:45	1511	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rouge (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-39' WHERE `virtuemart_product_id` = '1861003'
2023-10-13	12:47:45	1511	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:45	1511	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:45	1511	[DEBUG]	Process image file
2023-10-13	12:47:45	1511	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:45	1511	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:45	1511	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:45	1511	[DEBUG]	Full name target: bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:46	1511	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:46	1511	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:46	1511	[DEBUG]	Query for Media
2023-10-13	12:47:46	1511	[DEBUG]	Executed store
2023-10-13	12:47:46	1511	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15966'
2023-10-13	12:47:46	1511	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:46	1511	[DEBUG]	Executed store
2023-10-13	12:47:46	1511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861003','15966','1')
2023-10-13	12:47:46	1511	[DEBUG]	Store product image relation
2023-10-13	12:47:46	1511	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:46	1511	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861003 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:46	1511	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:46	1511	[DEBUG]	Executed store
2023-10-13	12:47:46	1511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861003','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:46	1511	[DEBUG]	Checking manufacturer
2023-10-13	12:47:46	1511	[DEBUG]	Load a row
2023-10-13	12:47:46	1511	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:46	1511	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:46	1511	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:46	1511	[DEBUG]	Executed store
2023-10-13	12:47:46	1511	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:46	1511	[DEBUG]	Manufacturer exists
2023-10-13	12:47:46	1511	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:46	1511	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:46	1511	[DEBUG]	Executed store
2023-10-13	12:47:46	1511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861003','32')
2023-10-13	12:47:46	1511	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:46	1511	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:46	1511	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861003 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:46	1511	[DEBUG]	Store custom available field
2023-10-13	12:47:46	1511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861003,3,'',1)
2023-10-13	12:47:46	1511	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:46	1511	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:47:46	1511	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861003 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:46	1511	[DEBUG]	Store custom available field
2023-10-13	12:47:46	1511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861003,6,'39',3)
2023-10-13	12:47:46	1511	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:46	1511	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:46	1511	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861001
2023-10-13	12:47:46	1511	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:46	1511	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1861001\":[1861001,8,1,\"choisir la taille\"],\"1861002\":[\"38\"],\"1861003\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861001
2023-10-13	12:47:46	1511	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:46	1511	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861003
2023-10-13	12:47:46	1512	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:46	1512	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:46	1512	[DEBUG]	Use field value for field taille
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:46	1512	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:46	1512	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:46	1512	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:46	1512	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:46	1512	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:46	1512	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:46	1512	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:46	1512	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:46	1512	[DEBUG]	Use field value for field published
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:46	1512	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field override
2023-10-13	12:47:46	1512	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:46	1512	[DEBUG]	Use field value for field slug
2023-10-13	12:47:46	1512	[DEBUG]	Process line 1512
2023-10-13	12:47:46	1512	[DEBUG]	Load a row
2023-10-13	12:47:46	1512	[DEBUG]	Processing item: 1000000113464
2023-10-13	12:47:46	1512	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:46	1512	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:46	1512	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_7'
2023-10-13	12:47:46	1512	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:46	1512	[DEBUG]	Processing product tax
2023-10-13	12:47:46	1512	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:46	1512	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:46	1512	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:46	1512	[DEBUG]	Query for Product
2023-10-13	12:47:46	1512	[DEBUG]	Executed store
2023-10-13	12:47:46	1512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861001','1000000113464','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:46	1512	[DEBUG]	No parent found
2023-10-13	12:47:46	1512	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861001 AND customfield_value = 'stockable'
2023-10-13	12:47:46	1512	[DEBUG]	Check product language entry
2023-10-13	12:47:46	1512	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861004
2023-10-13	12:47:46	1512	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:46	1512	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113464' AND `virtuemart_product_id` != 1861004
2023-10-13	12:47:46	1512	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:46	1512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861004, '1000000113464')
2023-10-13	12:47:46	1512	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:46	1512	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-40' AND `virtuemart_product_id` != 1861004
2023-10-13	12:47:46	1512	[DEBUG]	Query for ProductLang
2023-10-13	12:47:46	1512	[DEBUG]	Executed store
2023-10-13	12:47:46	1512	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rouge (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-40' WHERE `virtuemart_product_id` = '1861004'
2023-10-13	12:47:46	1512	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:46	1512	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:46	1512	[DEBUG]	Process image file
2023-10-13	12:47:46	1512	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:46	1512	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:46	1512	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:46	1512	[DEBUG]	Full name target: bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:47	1512	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:47	1512	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:47	1512	[DEBUG]	Query for Media
2023-10-13	12:47:47	1512	[DEBUG]	Executed store
2023-10-13	12:47:47	1512	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15966'
2023-10-13	12:47:47	1512	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:47	1512	[DEBUG]	Executed store
2023-10-13	12:47:47	1512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861004','15966','1')
2023-10-13	12:47:47	1512	[DEBUG]	Store product image relation
2023-10-13	12:47:47	1512	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:47	1512	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861004 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:47	1512	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:47	1512	[DEBUG]	Executed store
2023-10-13	12:47:47	1512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861004','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:47	1512	[DEBUG]	Checking manufacturer
2023-10-13	12:47:47	1512	[DEBUG]	Load a row
2023-10-13	12:47:47	1512	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:47	1512	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:47	1512	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:47	1512	[DEBUG]	Executed store
2023-10-13	12:47:47	1512	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:47	1512	[DEBUG]	Manufacturer exists
2023-10-13	12:47:47	1512	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:47	1512	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:47	1512	[DEBUG]	Executed store
2023-10-13	12:47:47	1512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861004','32')
2023-10-13	12:47:47	1512	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:47	1512	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:47	1512	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861004 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:47	1512	[DEBUG]	Store custom available field
2023-10-13	12:47:47	1512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861004,3,'',1)
2023-10-13	12:47:47	1512	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:47	1512	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:47:47	1512	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861004 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:47	1512	[DEBUG]	Store custom available field
2023-10-13	12:47:47	1512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861004,6,'40',3)
2023-10-13	12:47:47	1512	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:47	1512	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:47	1512	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861001
2023-10-13	12:47:47	1512	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:47	1512	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1861001\":[1861001,8,1,\"choisir la taille\"],\"1861002\":[\"38\"],\"1861003\":[\"39\"],\"1861004\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861001
2023-10-13	12:47:47	1512	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:47	1512	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861004
2023-10-13	12:47:47	1513	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:47	1513	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:47	1513	[DEBUG]	Use field value for field taille
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:47	1513	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:47	1513	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:47	1513	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:47	1513	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:47	1513	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:47	1513	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:47	1513	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:47	1513	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:47	1513	[DEBUG]	Use field value for field published
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:47	1513	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field override
2023-10-13	12:47:47	1513	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:47	1513	[DEBUG]	Use field value for field slug
2023-10-13	12:47:47	1513	[DEBUG]	Process line 1513
2023-10-13	12:47:47	1513	[DEBUG]	Load a row
2023-10-13	12:47:47	1513	[DEBUG]	Processing item: 8435466295530
2023-10-13	12:47:47	1513	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:47	1513	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:47	1513	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_7'
2023-10-13	12:47:47	1513	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:47	1513	[DEBUG]	Processing product tax
2023-10-13	12:47:47	1513	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:47	1513	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:47	1513	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:47	1513	[DEBUG]	Query for Product
2023-10-13	12:47:47	1513	[DEBUG]	Executed store
2023-10-13	12:47:47	1513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861001','8435466295530','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:47	1513	[DEBUG]	No parent found
2023-10-13	12:47:47	1513	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861001 AND customfield_value = 'stockable'
2023-10-13	12:47:47	1513	[DEBUG]	Check product language entry
2023-10-13	12:47:47	1513	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861005
2023-10-13	12:47:47	1513	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:47	1513	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295530' AND `virtuemart_product_id` != 1861005
2023-10-13	12:47:47	1513	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:47	1513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861005, '8435466295530')
2023-10-13	12:47:47	1513	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:47	1513	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-41' AND `virtuemart_product_id` != 1861005
2023-10-13	12:47:47	1513	[DEBUG]	Query for ProductLang
2023-10-13	12:47:47	1513	[DEBUG]	Executed store
2023-10-13	12:47:47	1513	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rouge (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-41' WHERE `virtuemart_product_id` = '1861005'
2023-10-13	12:47:47	1513	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:47	1513	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:47	1513	[DEBUG]	Process image file
2023-10-13	12:47:47	1513	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:47	1513	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:47	1513	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:47	1513	[DEBUG]	Full name target: bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:48	1513	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:48	1513	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:48	1513	[DEBUG]	Query for Media
2023-10-13	12:47:48	1513	[DEBUG]	Executed store
2023-10-13	12:47:48	1513	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15966'
2023-10-13	12:47:48	1513	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:49	1513	[DEBUG]	Executed store
2023-10-13	12:47:49	1513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861005','15966','1')
2023-10-13	12:47:49	1513	[DEBUG]	Store product image relation
2023-10-13	12:47:49	1513	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:49	1513	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861005 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:49	1513	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:49	1513	[DEBUG]	Executed store
2023-10-13	12:47:49	1513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861005','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:49	1513	[DEBUG]	Checking manufacturer
2023-10-13	12:47:49	1513	[DEBUG]	Load a row
2023-10-13	12:47:49	1513	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:49	1513	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:49	1513	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:49	1513	[DEBUG]	Executed store
2023-10-13	12:47:49	1513	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:49	1513	[DEBUG]	Manufacturer exists
2023-10-13	12:47:49	1513	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:49	1513	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:49	1513	[DEBUG]	Executed store
2023-10-13	12:47:49	1513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861005','32')
2023-10-13	12:47:49	1513	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:49	1513	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:49	1513	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861005 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:49	1513	[DEBUG]	Store custom available field
2023-10-13	12:47:49	1513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861005,3,'',1)
2023-10-13	12:47:49	1513	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:49	1513	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:47:49	1513	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861005 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:49	1513	[DEBUG]	Store custom available field
2023-10-13	12:47:49	1513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861005,6,'41',3)
2023-10-13	12:47:49	1513	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:49	1513	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:49	1513	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861001
2023-10-13	12:47:49	1513	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:49	1513	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1861001\":[1861001,8,1,\"choisir la taille\"],\"1861002\":[\"38\"],\"1861003\":[\"39\"],\"1861004\":[\"40\"],\"1861005\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861001
2023-10-13	12:47:49	1513	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:49	1513	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861005
2023-10-13	12:47:49	1514	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:49	1514	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:49	1514	[DEBUG]	Use field value for field taille
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:49	1514	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:49	1514	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:49	1514	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:49	1514	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:49	1514	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:49	1514	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:49	1514	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:49	1514	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:49	1514	[DEBUG]	Use field value for field published
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:49	1514	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field override
2023-10-13	12:47:49	1514	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:49	1514	[DEBUG]	Use field value for field slug
2023-10-13	12:47:49	1514	[DEBUG]	Process line 1514
2023-10-13	12:47:49	1514	[DEBUG]	Load a row
2023-10-13	12:47:49	1514	[DEBUG]	Processing item: 8435466295547
2023-10-13	12:47:49	1514	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:49	1514	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:49	1514	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_7'
2023-10-13	12:47:49	1514	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:49	1514	[DEBUG]	Processing product tax
2023-10-13	12:47:49	1514	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:49	1514	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:49	1514	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:49	1514	[DEBUG]	Query for Product
2023-10-13	12:47:49	1514	[DEBUG]	Executed store
2023-10-13	12:47:49	1514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861001','8435466295547','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:49	1514	[DEBUG]	No parent found
2023-10-13	12:47:49	1514	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861001 AND customfield_value = 'stockable'
2023-10-13	12:47:49	1514	[DEBUG]	Check product language entry
2023-10-13	12:47:49	1514	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861006
2023-10-13	12:47:49	1514	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:49	1514	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295547' AND `virtuemart_product_id` != 1861006
2023-10-13	12:47:49	1514	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:49	1514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861006, '8435466295547')
2023-10-13	12:47:49	1514	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:49	1514	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-42' AND `virtuemart_product_id` != 1861006
2023-10-13	12:47:49	1514	[DEBUG]	Query for ProductLang
2023-10-13	12:47:49	1514	[DEBUG]	Executed store
2023-10-13	12:47:49	1514	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rouge (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-42' WHERE `virtuemart_product_id` = '1861006'
2023-10-13	12:47:49	1514	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:49	1514	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:49	1514	[DEBUG]	Process image file
2023-10-13	12:47:49	1514	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:49	1514	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:49	1514	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:49	1514	[DEBUG]	Full name target: bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:49	1514	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:49	1514	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:49	1514	[DEBUG]	Query for Media
2023-10-13	12:47:49	1514	[DEBUG]	Executed store
2023-10-13	12:47:49	1514	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15966'
2023-10-13	12:47:49	1514	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:49	1514	[DEBUG]	Executed store
2023-10-13	12:47:49	1514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861006','15966','1')
2023-10-13	12:47:49	1514	[DEBUG]	Store product image relation
2023-10-13	12:47:49	1514	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:49	1514	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861006 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:49	1514	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:50	1514	[DEBUG]	Executed store
2023-10-13	12:47:50	1514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861006','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:50	1514	[DEBUG]	Checking manufacturer
2023-10-13	12:47:50	1514	[DEBUG]	Load a row
2023-10-13	12:47:50	1514	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:50	1514	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:50	1514	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:50	1514	[DEBUG]	Executed store
2023-10-13	12:47:50	1514	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:50	1514	[DEBUG]	Manufacturer exists
2023-10-13	12:47:50	1514	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:50	1514	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:50	1514	[DEBUG]	Executed store
2023-10-13	12:47:50	1514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861006','32')
2023-10-13	12:47:50	1514	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:50	1514	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:50	1514	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861006 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:50	1514	[DEBUG]	Store custom available field
2023-10-13	12:47:50	1514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861006,3,'',1)
2023-10-13	12:47:50	1514	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:50	1514	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:47:50	1514	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861006 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:50	1514	[DEBUG]	Store custom available field
2023-10-13	12:47:50	1514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861006,6,'42',3)
2023-10-13	12:47:50	1514	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:50	1514	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:50	1514	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861001
2023-10-13	12:47:50	1514	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:50	1514	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1861001\":[1861001,8,1,\"choisir la taille\"],\"1861002\":[\"38\"],\"1861003\":[\"39\"],\"1861004\":[\"40\"],\"1861005\":[\"41\"],\"1861006\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861001
2023-10-13	12:47:50	1514	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:50	1514	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861006
2023-10-13	12:47:50	1515	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:50	1515	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:50	1515	[DEBUG]	Use field value for field taille
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:50	1515	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:50	1515	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:50	1515	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:50	1515	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:50	1515	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:50	1515	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:50	1515	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:50	1515	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:50	1515	[DEBUG]	Use field value for field published
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:50	1515	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field override
2023-10-13	12:47:50	1515	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:50	1515	[DEBUG]	Use field value for field slug
2023-10-13	12:47:50	1515	[DEBUG]	Process line 1515
2023-10-13	12:47:50	1515	[DEBUG]	Load a row
2023-10-13	12:47:50	1515	[DEBUG]	Processing item: 8435466295554
2023-10-13	12:47:50	1515	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:50	1515	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:50	1515	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_7'
2023-10-13	12:47:50	1515	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:50	1515	[DEBUG]	Processing product tax
2023-10-13	12:47:50	1515	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:50	1515	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:50	1515	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:50	1515	[DEBUG]	Query for Product
2023-10-13	12:47:50	1515	[DEBUG]	Executed store
2023-10-13	12:47:50	1515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861001','8435466295554','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:50	1515	[DEBUG]	No parent found
2023-10-13	12:47:50	1515	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861001 AND customfield_value = 'stockable'
2023-10-13	12:47:50	1515	[DEBUG]	Check product language entry
2023-10-13	12:47:50	1515	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861007
2023-10-13	12:47:50	1515	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:50	1515	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295554' AND `virtuemart_product_id` != 1861007
2023-10-13	12:47:50	1515	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:50	1515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861007, '8435466295554')
2023-10-13	12:47:50	1515	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:50	1515	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-43' AND `virtuemart_product_id` != 1861007
2023-10-13	12:47:50	1515	[DEBUG]	Query for ProductLang
2023-10-13	12:47:50	1515	[DEBUG]	Executed store
2023-10-13	12:47:50	1515	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rouge (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-43' WHERE `virtuemart_product_id` = '1861007'
2023-10-13	12:47:50	1515	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:50	1515	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:50	1515	[DEBUG]	Process image file
2023-10-13	12:47:50	1515	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:50	1515	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:50	1515	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:50	1515	[DEBUG]	Full name target: bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:50	1515	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:50	1515	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:50	1515	[DEBUG]	Query for Media
2023-10-13	12:47:50	1515	[DEBUG]	Executed store
2023-10-13	12:47:50	1515	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15966'
2023-10-13	12:47:50	1515	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:50	1515	[DEBUG]	Executed store
2023-10-13	12:47:50	1515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861007','15966','1')
2023-10-13	12:47:50	1515	[DEBUG]	Store product image relation
2023-10-13	12:47:51	1515	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:51	1515	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861007 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:51	1515	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:51	1515	[DEBUG]	Executed store
2023-10-13	12:47:51	1515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861007','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:51	1515	[DEBUG]	Checking manufacturer
2023-10-13	12:47:51	1515	[DEBUG]	Load a row
2023-10-13	12:47:51	1515	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:51	1515	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:51	1515	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:51	1515	[DEBUG]	Executed store
2023-10-13	12:47:51	1515	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:51	1515	[DEBUG]	Manufacturer exists
2023-10-13	12:47:51	1515	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:51	1515	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:51	1515	[DEBUG]	Executed store
2023-10-13	12:47:51	1515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861007','32')
2023-10-13	12:47:51	1515	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:51	1515	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:51	1515	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861007 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:51	1515	[DEBUG]	Store custom available field
2023-10-13	12:47:51	1515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861007,3,'',1)
2023-10-13	12:47:51	1515	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:51	1515	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:47:51	1515	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861007 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:51	1515	[DEBUG]	Store custom available field
2023-10-13	12:47:51	1515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861007,6,'43',3)
2023-10-13	12:47:51	1515	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:51	1515	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:51	1515	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861001
2023-10-13	12:47:51	1515	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:51	1515	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1861001\":[1861001,8,1,\"choisir la taille\"],\"1861002\":[\"38\"],\"1861003\":[\"39\"],\"1861004\":[\"40\"],\"1861005\":[\"41\"],\"1861006\":[\"42\"],\"1861007\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861001
2023-10-13	12:47:51	1515	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:51	1515	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861007
2023-10-13	12:47:51	1516	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:51	1516	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:51	1516	[DEBUG]	Use field value for field taille
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:51	1516	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:51	1516	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:51	1516	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:51	1516	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:51	1516	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:51	1516	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:51	1516	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:51	1516	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:51	1516	[DEBUG]	Use field value for field published
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:51	1516	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field override
2023-10-13	12:47:51	1516	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:51	1516	[DEBUG]	Use field value for field slug
2023-10-13	12:47:51	1516	[DEBUG]	Process line 1516
2023-10-13	12:47:51	1516	[DEBUG]	Load a row
2023-10-13	12:47:51	1516	[DEBUG]	Processing item: 1000000113501
2023-10-13	12:47:51	1516	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:51	1516	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:51	1516	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_7'
2023-10-13	12:47:51	1516	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:51	1516	[DEBUG]	Processing product tax
2023-10-13	12:47:51	1516	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:51	1516	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:51	1516	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:51	1516	[DEBUG]	Query for Product
2023-10-13	12:47:51	1516	[DEBUG]	Executed store
2023-10-13	12:47:51	1516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861001','1000000113501','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:51	1516	[DEBUG]	No parent found
2023-10-13	12:47:51	1516	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861001 AND customfield_value = 'stockable'
2023-10-13	12:47:51	1516	[DEBUG]	Check product language entry
2023-10-13	12:47:51	1516	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861008
2023-10-13	12:47:51	1516	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:51	1516	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113501' AND `virtuemart_product_id` != 1861008
2023-10-13	12:47:51	1516	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:51	1516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861008, '1000000113501')
2023-10-13	12:47:51	1516	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:51	1516	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-44' AND `virtuemart_product_id` != 1861008
2023-10-13	12:47:51	1516	[DEBUG]	Query for ProductLang
2023-10-13	12:47:51	1516	[DEBUG]	Executed store
2023-10-13	12:47:51	1516	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rouge (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-44' WHERE `virtuemart_product_id` = '1861008'
2023-10-13	12:47:51	1516	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:51	1516	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:51	1516	[DEBUG]	Process image file
2023-10-13	12:47:51	1516	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:51	1516	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:51	1516	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:51	1516	[DEBUG]	Full name target: bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:52	1516	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:52	1516	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:52	1516	[DEBUG]	Query for Media
2023-10-13	12:47:52	1516	[DEBUG]	Executed store
2023-10-13	12:47:52	1516	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15966'
2023-10-13	12:47:52	1516	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:52	1516	[DEBUG]	Executed store
2023-10-13	12:47:52	1516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861008','15966','1')
2023-10-13	12:47:52	1516	[DEBUG]	Store product image relation
2023-10-13	12:47:52	1516	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:52	1516	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861008 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:52	1516	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:52	1516	[DEBUG]	Executed store
2023-10-13	12:47:52	1516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861008','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:52	1516	[DEBUG]	Checking manufacturer
2023-10-13	12:47:52	1516	[DEBUG]	Load a row
2023-10-13	12:47:52	1516	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:52	1516	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:52	1516	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:52	1516	[DEBUG]	Executed store
2023-10-13	12:47:52	1516	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:52	1516	[DEBUG]	Manufacturer exists
2023-10-13	12:47:52	1516	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:52	1516	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:52	1516	[DEBUG]	Executed store
2023-10-13	12:47:52	1516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861008','32')
2023-10-13	12:47:52	1516	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:52	1516	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:52	1516	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861008 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:52	1516	[DEBUG]	Store custom available field
2023-10-13	12:47:52	1516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861008,3,'',1)
2023-10-13	12:47:52	1516	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:52	1516	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:47:52	1516	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861008 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:52	1516	[DEBUG]	Store custom available field
2023-10-13	12:47:52	1516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861008,6,'44',3)
2023-10-13	12:47:52	1516	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:52	1516	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:52	1516	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861001
2023-10-13	12:47:52	1516	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:52	1516	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1861001\":[1861001,8,1,\"choisir la taille\"],\"1861002\":[\"38\"],\"1861003\":[\"39\"],\"1861004\":[\"40\"],\"1861005\":[\"41\"],\"1861006\":[\"42\"],\"1861007\":[\"43\"],\"1861008\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861001
2023-10-13	12:47:52	1516	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:52	1516	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861008
2023-10-13	12:47:52	1517	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:52	1517	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:52	1517	[DEBUG]	Use field value for field taille
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:52	1517	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:52	1517	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:52	1517	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:52	1517	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:52	1517	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:52	1517	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:52	1517	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:52	1517	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:52	1517	[DEBUG]	Use field value for field published
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:52	1517	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field override
2023-10-13	12:47:52	1517	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:52	1517	[DEBUG]	Use field value for field slug
2023-10-13	12:47:52	1517	[DEBUG]	Process line 1517
2023-10-13	12:47:52	1517	[DEBUG]	Load a row
2023-10-13	12:47:52	1517	[DEBUG]	Processing item: 1000000113518
2023-10-13	12:47:52	1517	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:52	1517	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:52	1517	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_7'
2023-10-13	12:47:52	1517	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:52	1517	[DEBUG]	Processing product tax
2023-10-13	12:47:52	1517	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:52	1517	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:52	1517	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:52	1517	[DEBUG]	Query for Product
2023-10-13	12:47:52	1517	[DEBUG]	Executed store
2023-10-13	12:47:52	1517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861001','1000000113518','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:52	1517	[DEBUG]	No parent found
2023-10-13	12:47:52	1517	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861001 AND customfield_value = 'stockable'
2023-10-13	12:47:52	1517	[DEBUG]	Check product language entry
2023-10-13	12:47:52	1517	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861009
2023-10-13	12:47:52	1517	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:52	1517	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113518' AND `virtuemart_product_id` != 1861009
2023-10-13	12:47:52	1517	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:52	1517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861009, '1000000113518')
2023-10-13	12:47:52	1517	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:52	1517	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-45' AND `virtuemart_product_id` != 1861009
2023-10-13	12:47:52	1517	[DEBUG]	Query for ProductLang
2023-10-13	12:47:52	1517	[DEBUG]	Executed store
2023-10-13	12:47:52	1517	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rouge (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-45' WHERE `virtuemart_product_id` = '1861009'
2023-10-13	12:47:52	1517	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:52	1517	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:52	1517	[DEBUG]	Process image file
2023-10-13	12:47:52	1517	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:52	1517	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:52	1517	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:52	1517	[DEBUG]	Full name target: bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:53	1517	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:53	1517	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:53	1517	[DEBUG]	Query for Media
2023-10-13	12:47:53	1517	[DEBUG]	Executed store
2023-10-13	12:47:53	1517	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15966'
2023-10-13	12:47:53	1517	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:53	1517	[DEBUG]	Executed store
2023-10-13	12:47:53	1517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861009','15966','1')
2023-10-13	12:47:53	1517	[DEBUG]	Store product image relation
2023-10-13	12:47:53	1517	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:53	1517	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861009 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:53	1517	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:53	1517	[DEBUG]	Executed store
2023-10-13	12:47:53	1517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861009','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:53	1517	[DEBUG]	Checking manufacturer
2023-10-13	12:47:53	1517	[DEBUG]	Load a row
2023-10-13	12:47:53	1517	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:53	1517	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:53	1517	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:53	1517	[DEBUG]	Executed store
2023-10-13	12:47:53	1517	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:53	1517	[DEBUG]	Manufacturer exists
2023-10-13	12:47:53	1517	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:53	1517	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:53	1517	[DEBUG]	Executed store
2023-10-13	12:47:53	1517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861009','32')
2023-10-13	12:47:53	1517	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:53	1517	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:53	1517	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861009 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:53	1517	[DEBUG]	Store custom available field
2023-10-13	12:47:53	1517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861009,3,'',1)
2023-10-13	12:47:53	1517	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:53	1517	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:47:53	1517	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861009 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:53	1517	[DEBUG]	Store custom available field
2023-10-13	12:47:53	1517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861009,6,'45',3)
2023-10-13	12:47:53	1517	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:53	1517	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:53	1517	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861001
2023-10-13	12:47:53	1517	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:53	1517	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1861001\":[1861001,8,1,\"choisir la taille\"],\"1861002\":[\"38\"],\"1861003\":[\"39\"],\"1861004\":[\"40\"],\"1861005\":[\"41\"],\"1861006\":[\"42\"],\"1861007\":[\"43\"],\"1861008\":[\"44\"],\"1861009\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861001
2023-10-13	12:47:53	1517	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:53	1517	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861009
2023-10-13	12:47:53	1518	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:53	1518	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:53	1518	[DEBUG]	Use field value for field taille
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:53	1518	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:53	1518	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:53	1518	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:53	1518	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:53	1518	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:53	1518	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:53	1518	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:53	1518	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:53	1518	[DEBUG]	Use field value for field published
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:53	1518	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field override
2023-10-13	12:47:53	1518	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:53	1518	[DEBUG]	Use field value for field slug
2023-10-13	12:47:53	1518	[DEBUG]	Process line 1518
2023-10-13	12:47:53	1518	[DEBUG]	Load a row
2023-10-13	12:47:53	1518	[DEBUG]	Processing item: 1000000113525
2023-10-13	12:47:53	1518	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:53	1518	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:53	1518	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_7'
2023-10-13	12:47:53	1518	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:53	1518	[DEBUG]	Processing product tax
2023-10-13	12:47:53	1518	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:53	1518	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:53	1518	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:53	1518	[DEBUG]	Query for Product
2023-10-13	12:47:53	1518	[DEBUG]	Executed store
2023-10-13	12:47:53	1518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861001','1000000113525','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:53	1518	[DEBUG]	No parent found
2023-10-13	12:47:53	1518	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861001 AND customfield_value = 'stockable'
2023-10-13	12:47:53	1518	[DEBUG]	Check product language entry
2023-10-13	12:47:53	1518	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861010
2023-10-13	12:47:53	1518	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:53	1518	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113525' AND `virtuemart_product_id` != 1861010
2023-10-13	12:47:53	1518	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:53	1518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861010, '1000000113525')
2023-10-13	12:47:53	1518	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:53	1518	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-46' AND `virtuemart_product_id` != 1861010
2023-10-13	12:47:53	1518	[DEBUG]	Query for ProductLang
2023-10-13	12:47:53	1518	[DEBUG]	Executed store
2023-10-13	12:47:53	1518	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rouge (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-46' WHERE `virtuemart_product_id` = '1861010'
2023-10-13	12:47:53	1518	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:53	1518	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:53	1518	[DEBUG]	Process image file
2023-10-13	12:47:53	1518	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:53	1518	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:53	1518	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:53	1518	[DEBUG]	Full name target: bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:54	1518	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:54	1518	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:54	1518	[DEBUG]	Query for Media
2023-10-13	12:47:54	1518	[DEBUG]	Executed store
2023-10-13	12:47:54	1518	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15966'
2023-10-13	12:47:54	1518	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:54	1518	[DEBUG]	Executed store
2023-10-13	12:47:54	1518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861010','15966','1')
2023-10-13	12:47:54	1518	[DEBUG]	Store product image relation
2023-10-13	12:47:54	1518	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:54	1518	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861010 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:54	1518	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:54	1518	[DEBUG]	Executed store
2023-10-13	12:47:54	1518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861010','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:54	1518	[DEBUG]	Checking manufacturer
2023-10-13	12:47:54	1518	[DEBUG]	Load a row
2023-10-13	12:47:54	1518	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:54	1518	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:54	1518	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:54	1518	[DEBUG]	Executed store
2023-10-13	12:47:54	1518	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:54	1518	[DEBUG]	Manufacturer exists
2023-10-13	12:47:54	1518	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:54	1518	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:54	1518	[DEBUG]	Executed store
2023-10-13	12:47:54	1518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861010','32')
2023-10-13	12:47:54	1518	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:54	1518	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:54	1518	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861010 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:54	1518	[DEBUG]	Store custom available field
2023-10-13	12:47:54	1518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861010,3,'',1)
2023-10-13	12:47:54	1518	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:54	1518	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:47:54	1518	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861010 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:54	1518	[DEBUG]	Store custom available field
2023-10-13	12:47:54	1518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861010,6,'46',3)
2023-10-13	12:47:54	1518	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:54	1518	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:54	1518	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861001
2023-10-13	12:47:54	1518	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:54	1518	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1861001\":[1861001,8,1,\"choisir la taille\"],\"1861002\":[\"38\"],\"1861003\":[\"39\"],\"1861004\":[\"40\"],\"1861005\":[\"41\"],\"1861006\":[\"42\"],\"1861007\":[\"43\"],\"1861008\":[\"44\"],\"1861009\":[\"45\"],\"1861010\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861001
2023-10-13	12:47:54	1518	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:54	1518	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861010
2023-10-13	12:47:54	1519	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:54	1519	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:54	1519	[DEBUG]	Use field value for field taille
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:54	1519	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:54	1519	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:54	1519	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:54	1519	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:54	1519	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:54	1519	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:54	1519	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:54	1519	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:54	1519	[DEBUG]	Use field value for field published
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:54	1519	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field override
2023-10-13	12:47:54	1519	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:54	1519	[DEBUG]	Use field value for field slug
2023-10-13	12:47:54	1519	[DEBUG]	Process line 1519
2023-10-13	12:47:54	1519	[DEBUG]	Load a row
2023-10-13	12:47:54	1519	[DEBUG]	Processing item: 1000000113532
2023-10-13	12:47:54	1519	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:54	1519	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:54	1519	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_7'
2023-10-13	12:47:54	1519	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:54	1519	[DEBUG]	Processing product tax
2023-10-13	12:47:54	1519	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:54	1519	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:54	1519	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:54	1519	[DEBUG]	Query for Product
2023-10-13	12:47:54	1519	[DEBUG]	Executed store
2023-10-13	12:47:54	1519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861001','1000000113532','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:54	1519	[DEBUG]	No parent found
2023-10-13	12:47:54	1519	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861001 AND customfield_value = 'stockable'
2023-10-13	12:47:54	1519	[DEBUG]	Check product language entry
2023-10-13	12:47:54	1519	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861011
2023-10-13	12:47:54	1519	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:54	1519	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113532' AND `virtuemart_product_id` != 1861011
2023-10-13	12:47:54	1519	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:54	1519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861011, '1000000113532')
2023-10-13	12:47:54	1519	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:54	1519	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-47' AND `virtuemart_product_id` != 1861011
2023-10-13	12:47:54	1519	[DEBUG]	Query for ProductLang
2023-10-13	12:47:54	1519	[DEBUG]	Executed store
2023-10-13	12:47:54	1519	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rouge (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rouge-47' WHERE `virtuemart_product_id` = '1861011'
2023-10-13	12:47:54	1519	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:54	1519	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:54	1519	[DEBUG]	Process image file
2023-10-13	12:47:54	1519	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:54	1519	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:54	1519	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:54	1519	[DEBUG]	Full name target: bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:55	1519	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:55	1519	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:55	1519	[DEBUG]	Query for Media
2023-10-13	12:47:55	1519	[DEBUG]	Executed store
2023-10-13	12:47:55	1519	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34020_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15966'
2023-10-13	12:47:55	1519	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:55	1519	[DEBUG]	Executed store
2023-10-13	12:47:55	1519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861011','15966','1')
2023-10-13	12:47:55	1519	[DEBUG]	Store product image relation
2023-10-13	12:47:55	1519	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:55	1519	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861011 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:55	1519	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:55	1519	[DEBUG]	Executed store
2023-10-13	12:47:55	1519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861011','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:55	1519	[DEBUG]	Checking manufacturer
2023-10-13	12:47:55	1519	[DEBUG]	Load a row
2023-10-13	12:47:55	1519	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:55	1519	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:55	1519	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:55	1519	[DEBUG]	Executed store
2023-10-13	12:47:55	1519	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:55	1519	[DEBUG]	Manufacturer exists
2023-10-13	12:47:55	1519	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:55	1519	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:55	1519	[DEBUG]	Executed store
2023-10-13	12:47:55	1519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861011','32')
2023-10-13	12:47:55	1519	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:55	1519	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:55	1519	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861011 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:55	1519	[DEBUG]	Store custom available field
2023-10-13	12:47:55	1519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861011,3,'',1)
2023-10-13	12:47:55	1519	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:55	1519	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:47:55	1519	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861011 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:55	1519	[DEBUG]	Store custom available field
2023-10-13	12:47:55	1519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861011,6,'47',3)
2023-10-13	12:47:55	1519	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:55	1519	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:55	1519	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861001
2023-10-13	12:47:55	1519	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:55	1519	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1861001\":[1861001,8,1,\"choisir la taille\"],\"1861002\":[\"38\"],\"1861003\":[\"39\"],\"1861004\":[\"40\"],\"1861005\":[\"41\"],\"1861006\":[\"42\"],\"1861007\":[\"43\"],\"1861008\":[\"44\"],\"1861009\":[\"45\"],\"1861010\":[\"46\"],\"1861011\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1861001
2023-10-13	12:47:55	1519	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:55	1519	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861011
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:55	1520	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field taille
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field category_path
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:55	1520	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:47:55	1520	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:55	1520	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field product_weight
2023-10-13	12:47:55	1520	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:55	1520	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:55	1520	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field published
2023-10-13	12:47:55	1520	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:55	1520	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field custom_title
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field custom_param
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field override
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field public_price
2023-10-13	12:47:55	1520	[DEBUG]	Use field value for field slug
2023-10-13	12:47:55	1520	[DEBUG]	Process line 1520
2023-10-13	12:47:55	1520	[DEBUG]	Load a row
2023-10-13	12:47:55	1520	[DEBUG]	Processing item: A_6901_22
2023-10-13	12:47:55	1520	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:55	1520	[DEBUG]	Processing product tax
2023-10-13	12:47:55	1520	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:55	1520	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:55	1520	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:55	1520	[DEBUG]	Query for Product
2023-10-13	12:47:55	1520	[DEBUG]	Executed store
2023-10-13	12:47:55	1520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6901_22','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:55	1520	[DEBUG]	Check product language entry
2023-10-13	12:47:55	1520	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861012
2023-10-13	12:47:55	1520	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:55	1520	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6901_22' AND `virtuemart_product_id` != 1861012
2023-10-13	12:47:55	1520	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:55	1520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861012, 'A_6901_22')
2023-10-13	12:47:55	1520	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:55	1520	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu' AND `virtuemart_product_id` != 1861012
2023-10-13	12:47:55	1520	[DEBUG]	Query for ProductLang
2023-10-13	12:47:55	1520	[DEBUG]	Executed store
2023-10-13	12:47:55	1520	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro VTT XC avec système de ventilation breveté ! 699 GR.<br>N° art fourn : ZAEROXC',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu' WHERE `virtuemart_product_id` = '1861012'
2023-10-13	12:47:55	1520	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:55	1520	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:55	1520	[DEBUG]	Process image file
2023-10-13	12:47:55	1520	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:55	1520	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:55	1520	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:55	1520	[DEBUG]	Full name target: bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:56	1520	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:56	1520	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:56	1520	[DEBUG]	Query for Media
2023-10-13	12:47:56	1520	[DEBUG]	Executed store
2023-10-13	12:47:56	1520	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15967'
2023-10-13	12:47:56	1520	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:56	1520	[DEBUG]	Executed store
2023-10-13	12:47:56	1520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861012','15967','1')
2023-10-13	12:47:56	1520	[DEBUG]	Store product image relation
2023-10-13	12:47:56	1520	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:56	1520	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861012 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:56	1520	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:56	1520	[DEBUG]	Executed store
2023-10-13	12:47:56	1520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861012','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:56	1520	[DEBUG]	Checking manufacturer
2023-10-13	12:47:56	1520	[DEBUG]	Load a row
2023-10-13	12:47:56	1520	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:56	1520	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:56	1520	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:56	1520	[DEBUG]	Executed store
2023-10-13	12:47:56	1520	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:56	1520	[DEBUG]	Manufacturer exists
2023-10-13	12:47:56	1520	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:56	1520	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:56	1520	[DEBUG]	Executed store
2023-10-13	12:47:56	1520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861012','32')
2023-10-13	12:47:56	1520	[DEBUG]	Find the custom field ID
2023-10-13	12:47:56	1520	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:47:56	1520	[DEBUG]	No custom field ID found
2023-10-13	12:47:56	1520	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:56	1520	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:47:56	1520	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861012 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:56	1520	[DEBUG]	Store custom available field
2023-10-13	12:47:56	1520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861012,3,'179.400277777778',1)
2023-10-13	12:47:56	1520	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:56	1520	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:47:56	1520	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861012 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:56	1520	[DEBUG]	Store custom available field
2023-10-13	12:47:56	1520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861012,6,'choisir la taille',3)
2023-10-13	12:47:56	1520	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:56	1520	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:47:56	1520	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:47:56	1520	[DEBUG]	Find the multi variant product entry
2023-10-13	12:47:56	1520	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861012 AND `virtuemart_custom_id` = 8
2023-10-13	12:47:56	1520	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:47:56	1520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861012,8,1)
2023-10-13	12:47:56	1520	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:56	1520	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861012\":[1861012,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861012
2023-10-13	12:47:56	1520	[DEBUG]	Checking category
2023-10-13	12:47:56	1520	[DEBUG]	Get the existing categories for the product
2023-10-13	12:47:56	1520	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861012
2023-10-13	12:47:56	1520	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:47:56	1520	[DEBUG]	Executed store
2023-10-13	12:47:56	1520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861012','7331')
2023-10-13	12:47:56	1520	[DEBUG]	Delete leftover product categories
2023-10-13	12:47:56	1520	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861012 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:47:56	1520	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:56	1520	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861012
2023-10-13	12:47:56	1521	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:56	1521	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:56	1521	[DEBUG]	Use field value for field taille
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:56	1521	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:56	1521	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:56	1521	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:56	1521	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:56	1521	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:56	1521	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:56	1521	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:56	1521	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:56	1521	[DEBUG]	Use field value for field published
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:56	1521	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field override
2023-10-13	12:47:56	1521	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:56	1521	[DEBUG]	Use field value for field slug
2023-10-13	12:47:56	1521	[DEBUG]	Process line 1521
2023-10-13	12:47:56	1521	[DEBUG]	Load a row
2023-10-13	12:47:56	1521	[DEBUG]	Processing item: 1000000110951
2023-10-13	12:47:56	1521	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:56	1521	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:56	1521	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_22'
2023-10-13	12:47:56	1521	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:56	1521	[DEBUG]	Processing product tax
2023-10-13	12:47:56	1521	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:56	1521	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:56	1521	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:56	1521	[DEBUG]	Query for Product
2023-10-13	12:47:56	1521	[DEBUG]	Executed store
2023-10-13	12:47:56	1521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861012','1000000110951','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:56	1521	[DEBUG]	No parent found
2023-10-13	12:47:56	1521	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861012 AND customfield_value = 'stockable'
2023-10-13	12:47:56	1521	[DEBUG]	Check product language entry
2023-10-13	12:47:56	1521	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861013
2023-10-13	12:47:56	1521	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:56	1521	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000110951' AND `virtuemart_product_id` != 1861013
2023-10-13	12:47:56	1521	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:56	1521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861013, '1000000110951')
2023-10-13	12:47:56	1521	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:56	1521	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-38' AND `virtuemart_product_id` != 1861013
2023-10-13	12:47:56	1521	[DEBUG]	Query for ProductLang
2023-10-13	12:47:56	1521	[DEBUG]	Executed store
2023-10-13	12:47:56	1521	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Bleu (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-38' WHERE `virtuemart_product_id` = '1861013'
2023-10-13	12:47:56	1521	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:56	1521	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:56	1521	[DEBUG]	Process image file
2023-10-13	12:47:56	1521	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:56	1521	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:56	1521	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:56	1521	[DEBUG]	Full name target: bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:57	1521	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:57	1521	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:57	1521	[DEBUG]	Query for Media
2023-10-13	12:47:57	1521	[DEBUG]	Executed store
2023-10-13	12:47:57	1521	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15967'
2023-10-13	12:47:57	1521	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:57	1521	[DEBUG]	Executed store
2023-10-13	12:47:57	1521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861013','15967','1')
2023-10-13	12:47:57	1521	[DEBUG]	Store product image relation
2023-10-13	12:47:57	1521	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:57	1521	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861013 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:57	1521	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:57	1521	[DEBUG]	Executed store
2023-10-13	12:47:57	1521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861013','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:57	1521	[DEBUG]	Checking manufacturer
2023-10-13	12:47:57	1521	[DEBUG]	Load a row
2023-10-13	12:47:57	1521	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:57	1521	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:57	1521	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:57	1521	[DEBUG]	Executed store
2023-10-13	12:47:57	1521	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:57	1521	[DEBUG]	Manufacturer exists
2023-10-13	12:47:57	1521	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:57	1521	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:57	1521	[DEBUG]	Executed store
2023-10-13	12:47:57	1521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861013','32')
2023-10-13	12:47:57	1521	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:57	1521	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:57	1521	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861013 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:57	1521	[DEBUG]	Store custom available field
2023-10-13	12:47:57	1521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861013,3,'',1)
2023-10-13	12:47:57	1521	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:57	1521	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:47:57	1521	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861013 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:57	1521	[DEBUG]	Store custom available field
2023-10-13	12:47:57	1521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861013,6,'38',3)
2023-10-13	12:47:57	1521	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:57	1521	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:57	1521	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861012
2023-10-13	12:47:57	1521	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:57	1521	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1861012\":[1861012,8,1,\"choisir la taille\"],\"1861013\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1861012
2023-10-13	12:47:57	1521	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:57	1521	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861013
2023-10-13	12:47:57	1522	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:57	1522	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:57	1522	[DEBUG]	Use field value for field taille
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:57	1522	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:57	1522	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:57	1522	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:57	1522	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:57	1522	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:57	1522	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:57	1522	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:57	1522	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:57	1522	[DEBUG]	Use field value for field published
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:57	1522	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field override
2023-10-13	12:47:57	1522	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:57	1522	[DEBUG]	Use field value for field slug
2023-10-13	12:47:57	1522	[DEBUG]	Process line 1522
2023-10-13	12:47:57	1522	[DEBUG]	Load a row
2023-10-13	12:47:57	1522	[DEBUG]	Processing item: 1000000113549
2023-10-13	12:47:57	1522	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:57	1522	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:57	1522	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_22'
2023-10-13	12:47:57	1522	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:57	1522	[DEBUG]	Processing product tax
2023-10-13	12:47:57	1522	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:57	1522	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:57	1522	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:57	1522	[DEBUG]	Query for Product
2023-10-13	12:47:57	1522	[DEBUG]	Executed store
2023-10-13	12:47:57	1522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861012','1000000113549','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:57	1522	[DEBUG]	No parent found
2023-10-13	12:47:57	1522	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861012 AND customfield_value = 'stockable'
2023-10-13	12:47:57	1522	[DEBUG]	Check product language entry
2023-10-13	12:47:57	1522	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861014
2023-10-13	12:47:57	1522	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:57	1522	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113549' AND `virtuemart_product_id` != 1861014
2023-10-13	12:47:57	1522	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:57	1522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861014, '1000000113549')
2023-10-13	12:47:57	1522	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:57	1522	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-39' AND `virtuemart_product_id` != 1861014
2023-10-13	12:47:57	1522	[DEBUG]	Query for ProductLang
2023-10-13	12:47:57	1522	[DEBUG]	Executed store
2023-10-13	12:47:57	1522	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Bleu (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-39' WHERE `virtuemart_product_id` = '1861014'
2023-10-13	12:47:57	1522	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:57	1522	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:57	1522	[DEBUG]	Process image file
2023-10-13	12:47:57	1522	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:57	1522	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:57	1522	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:57	1522	[DEBUG]	Full name target: bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:58	1522	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:58	1522	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:58	1522	[DEBUG]	Query for Media
2023-10-13	12:47:58	1522	[DEBUG]	Executed store
2023-10-13	12:47:58	1522	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15967'
2023-10-13	12:47:58	1522	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:58	1522	[DEBUG]	Executed store
2023-10-13	12:47:58	1522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861014','15967','1')
2023-10-13	12:47:58	1522	[DEBUG]	Store product image relation
2023-10-13	12:47:58	1522	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:58	1522	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861014 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:58	1522	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:58	1522	[DEBUG]	Executed store
2023-10-13	12:47:58	1522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861014','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:58	1522	[DEBUG]	Checking manufacturer
2023-10-13	12:47:58	1522	[DEBUG]	Load a row
2023-10-13	12:47:58	1522	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:58	1522	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:58	1522	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:58	1522	[DEBUG]	Executed store
2023-10-13	12:47:58	1522	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:58	1522	[DEBUG]	Manufacturer exists
2023-10-13	12:47:58	1522	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:58	1522	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:58	1522	[DEBUG]	Executed store
2023-10-13	12:47:58	1522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861014','32')
2023-10-13	12:47:58	1522	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:58	1522	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:58	1522	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861014 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:58	1522	[DEBUG]	Store custom available field
2023-10-13	12:47:58	1522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861014,3,'',1)
2023-10-13	12:47:58	1522	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:58	1522	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:47:58	1522	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861014 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:58	1522	[DEBUG]	Store custom available field
2023-10-13	12:47:58	1522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861014,6,'39',3)
2023-10-13	12:47:58	1522	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:58	1522	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:58	1522	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861012
2023-10-13	12:47:58	1522	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:58	1522	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1861012\":[1861012,8,1,\"choisir la taille\"],\"1861013\":[\"38\"],\"1861014\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861012
2023-10-13	12:47:58	1522	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:58	1522	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861014
2023-10-13	12:47:58	1523	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:58	1523	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:58	1523	[DEBUG]	Use field value for field taille
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:58	1523	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:58	1523	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:58	1523	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:58	1523	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:58	1523	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:58	1523	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:58	1523	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:58	1523	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:58	1523	[DEBUG]	Use field value for field published
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:58	1523	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field override
2023-10-13	12:47:58	1523	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:58	1523	[DEBUG]	Use field value for field slug
2023-10-13	12:47:58	1523	[DEBUG]	Process line 1523
2023-10-13	12:47:58	1523	[DEBUG]	Load a row
2023-10-13	12:47:58	1523	[DEBUG]	Processing item: 1000000113556
2023-10-13	12:47:58	1523	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:58	1523	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:58	1523	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_22'
2023-10-13	12:47:58	1523	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:58	1523	[DEBUG]	Processing product tax
2023-10-13	12:47:58	1523	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:58	1523	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:58	1523	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:58	1523	[DEBUG]	Query for Product
2023-10-13	12:47:58	1523	[DEBUG]	Executed store
2023-10-13	12:47:58	1523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861012','1000000113556','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:58	1523	[DEBUG]	No parent found
2023-10-13	12:47:58	1523	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861012 AND customfield_value = 'stockable'
2023-10-13	12:47:58	1523	[DEBUG]	Check product language entry
2023-10-13	12:47:58	1523	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861015
2023-10-13	12:47:58	1523	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:58	1523	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113556' AND `virtuemart_product_id` != 1861015
2023-10-13	12:47:58	1523	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:58	1523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861015, '1000000113556')
2023-10-13	12:47:58	1523	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:58	1523	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-40' AND `virtuemart_product_id` != 1861015
2023-10-13	12:47:58	1523	[DEBUG]	Query for ProductLang
2023-10-13	12:47:58	1523	[DEBUG]	Executed store
2023-10-13	12:47:58	1523	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Bleu (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-40' WHERE `virtuemart_product_id` = '1861015'
2023-10-13	12:47:58	1523	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:58	1523	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:58	1523	[DEBUG]	Process image file
2023-10-13	12:47:58	1523	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:58	1523	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:58	1523	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:58	1523	[DEBUG]	Full name target: bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:59	1523	[DEBUG]	Checking if the file_url exists
2023-10-13	12:47:59	1523	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:47:59	1523	[DEBUG]	Query for Media
2023-10-13	12:47:59	1523	[DEBUG]	Executed store
2023-10-13	12:47:59	1523	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15967'
2023-10-13	12:47:59	1523	[DEBUG]	Query for ProductMedia
2023-10-13	12:47:59	1523	[DEBUG]	Executed store
2023-10-13	12:47:59	1523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861015','15967','1')
2023-10-13	12:47:59	1523	[DEBUG]	Store product image relation
2023-10-13	12:47:59	1523	[DEBUG]	Finding a product_price_id
2023-10-13	12:47:59	1523	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861015 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:47:59	1523	[DEBUG]	Query for ProductPrice
2023-10-13	12:47:59	1523	[DEBUG]	Executed store
2023-10-13	12:47:59	1523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861015','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:47:59	1523	[DEBUG]	Checking manufacturer
2023-10-13	12:47:59	1523	[DEBUG]	Load a row
2023-10-13	12:47:59	1523	[DEBUG]	Manufacturer already exists
2023-10-13	12:47:59	1523	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:59	1523	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:47:59	1523	[DEBUG]	Executed store
2023-10-13	12:47:59	1523	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:47:59	1523	[DEBUG]	Manufacturer exists
2023-10-13	12:47:59	1523	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:47:59	1523	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:47:59	1523	[DEBUG]	Executed store
2023-10-13	12:47:59	1523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861015','32')
2023-10-13	12:47:59	1523	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:47:59	1523	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:47:59	1523	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861015 AND `virtuemart_custom_id` = 3
2023-10-13	12:47:59	1523	[DEBUG]	Store custom available field
2023-10-13	12:47:59	1523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861015,3,'',1)
2023-10-13	12:47:59	1523	[DEBUG]	Processing custom available field: taille
2023-10-13	12:47:59	1523	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:47:59	1523	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861015 AND `virtuemart_custom_id` = 6
2023-10-13	12:47:59	1523	[DEBUG]	Store custom available field
2023-10-13	12:47:59	1523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861015,6,'40',3)
2023-10-13	12:47:59	1523	[DEBUG]	Process multi-variant fields
2023-10-13	12:47:59	1523	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:47:59	1523	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861012
2023-10-13	12:47:59	1523	[DEBUG]	Store the updated customfield_params
2023-10-13	12:47:59	1523	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1861012\":[1861012,8,1,\"choisir la taille\"],\"1861013\":[\"38\"],\"1861014\":[\"39\"],\"1861015\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861012
2023-10-13	12:47:59	1523	[DEBUG]	Update has fields after all processing
2023-10-13	12:47:59	1523	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861015
2023-10-13	12:47:59	1524	[DEBUG]	Use field value for field product_sku
2023-10-13	12:47:59	1524	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:47:59	1524	[DEBUG]	Use field value for field taille
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:47:59	1524	[DEBUG]	Use field value for field product_name
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field category_path
2023-10-13	12:47:59	1524	[DEBUG]	Use field value for field product_price
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:47:59	1524	[DEBUG]	Use field value for field product_tax
2023-10-13	12:47:59	1524	[DEBUG]	Use field value for field file_url
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field product_desc
2023-10-13	12:47:59	1524	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:47:59	1524	[DEBUG]	Use field value for field product_availability
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field product_weight
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field product_unit
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field related_products
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field product_special
2023-10-13	12:47:59	1524	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:47:59	1524	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:47:59	1524	[DEBUG]	Use field value for field published
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field metadesc
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field metakey
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field custom_title
2023-10-13	12:47:59	1524	[DEBUG]	Use field value for field custom_value
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field custom_param
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field override
2023-10-13	12:47:59	1524	[DEBUG]	Use default value for field public_price
2023-10-13	12:47:59	1524	[DEBUG]	Use field value for field slug
2023-10-13	12:47:59	1524	[DEBUG]	Process line 1524
2023-10-13	12:47:59	1524	[DEBUG]	Load a row
2023-10-13	12:47:59	1524	[DEBUG]	Processing item: 1000000113563
2023-10-13	12:47:59	1524	[DEBUG]	Looking for parent SKU
2023-10-13	12:47:59	1524	[DEBUG]	Checking product parent SKU
2023-10-13	12:47:59	1524	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_22'
2023-10-13	12:47:59	1524	[DEBUG]	Product tax: 7.7
2023-10-13	12:47:59	1524	[DEBUG]	Processing product tax
2023-10-13	12:47:59	1524	[DEBUG]	Check if calculation rule exists
2023-10-13	12:47:59	1524	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:47:59	1524	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:47:59	1524	[DEBUG]	Query for Product
2023-10-13	12:47:59	1524	[DEBUG]	Executed store
2023-10-13	12:47:59	1524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861012','1000000113563','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:47:59	1524	[DEBUG]	No parent found
2023-10-13	12:47:59	1524	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861012 AND customfield_value = 'stockable'
2023-10-13	12:47:59	1524	[DEBUG]	Check product language entry
2023-10-13	12:47:59	1524	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861016
2023-10-13	12:47:59	1524	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:59	1524	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113563' AND `virtuemart_product_id` != 1861016
2023-10-13	12:47:59	1524	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:47:59	1524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861016, '1000000113563')
2023-10-13	12:47:59	1524	[DEBUG]	Check if the product slug exists
2023-10-13	12:47:59	1524	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-41' AND `virtuemart_product_id` != 1861016
2023-10-13	12:47:59	1524	[DEBUG]	Query for ProductLang
2023-10-13	12:47:59	1524	[DEBUG]	Executed store
2023-10-13	12:47:59	1524	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Bleu (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-41' WHERE `virtuemart_product_id` = '1861016'
2023-10-13	12:47:59	1524	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:59	1524	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:59	1524	[DEBUG]	Process image file
2023-10-13	12:47:59	1524	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:47:59	1524	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:47:59	1524	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:47:59	1524	[DEBUG]	Full name target: bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:00	1524	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:00	1524	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:00	1524	[DEBUG]	Query for Media
2023-10-13	12:48:00	1524	[DEBUG]	Executed store
2023-10-13	12:48:00	1524	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15967'
2023-10-13	12:48:00	1524	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:00	1524	[DEBUG]	Executed store
2023-10-13	12:48:00	1524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861016','15967','1')
2023-10-13	12:48:00	1524	[DEBUG]	Store product image relation
2023-10-13	12:48:00	1524	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:00	1524	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861016 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:00	1524	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:00	1524	[DEBUG]	Executed store
2023-10-13	12:48:00	1524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861016','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:00	1524	[DEBUG]	Checking manufacturer
2023-10-13	12:48:00	1524	[DEBUG]	Load a row
2023-10-13	12:48:00	1524	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:00	1524	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:00	1524	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:00	1524	[DEBUG]	Executed store
2023-10-13	12:48:00	1524	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:00	1524	[DEBUG]	Manufacturer exists
2023-10-13	12:48:00	1524	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:00	1524	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:00	1524	[DEBUG]	Executed store
2023-10-13	12:48:00	1524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861016','32')
2023-10-13	12:48:00	1524	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:00	1524	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:00	1524	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861016 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:00	1524	[DEBUG]	Store custom available field
2023-10-13	12:48:00	1524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861016,3,'',1)
2023-10-13	12:48:00	1524	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:00	1524	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:48:00	1524	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861016 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:00	1524	[DEBUG]	Store custom available field
2023-10-13	12:48:00	1524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861016,6,'41',3)
2023-10-13	12:48:00	1524	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:00	1524	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:00	1524	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861012
2023-10-13	12:48:00	1524	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:00	1524	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1861012\":[1861012,8,1,\"choisir la taille\"],\"1861013\":[\"38\"],\"1861014\":[\"39\"],\"1861015\":[\"40\"],\"1861016\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861012
2023-10-13	12:48:00	1524	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:00	1524	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861016
2023-10-13	12:48:00	1525	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:00	1525	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:00	1525	[DEBUG]	Use field value for field taille
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:00	1525	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:00	1525	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:00	1525	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:00	1525	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:00	1525	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:00	1525	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:00	1525	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:00	1525	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:00	1525	[DEBUG]	Use field value for field published
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:00	1525	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field override
2023-10-13	12:48:00	1525	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:00	1525	[DEBUG]	Use field value for field slug
2023-10-13	12:48:00	1525	[DEBUG]	Process line 1525
2023-10-13	12:48:00	1525	[DEBUG]	Load a row
2023-10-13	12:48:00	1525	[DEBUG]	Processing item: 1000000113570
2023-10-13	12:48:00	1525	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:00	1525	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:00	1525	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_22'
2023-10-13	12:48:00	1525	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:00	1525	[DEBUG]	Processing product tax
2023-10-13	12:48:00	1525	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:00	1525	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:00	1525	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:00	1525	[DEBUG]	Query for Product
2023-10-13	12:48:00	1525	[DEBUG]	Executed store
2023-10-13	12:48:00	1525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861012','1000000113570','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:00	1525	[DEBUG]	No parent found
2023-10-13	12:48:00	1525	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861012 AND customfield_value = 'stockable'
2023-10-13	12:48:00	1525	[DEBUG]	Check product language entry
2023-10-13	12:48:00	1525	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861017
2023-10-13	12:48:00	1525	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:00	1525	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113570' AND `virtuemart_product_id` != 1861017
2023-10-13	12:48:00	1525	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:00	1525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861017, '1000000113570')
2023-10-13	12:48:00	1525	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:00	1525	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-42' AND `virtuemart_product_id` != 1861017
2023-10-13	12:48:00	1525	[DEBUG]	Query for ProductLang
2023-10-13	12:48:00	1525	[DEBUG]	Executed store
2023-10-13	12:48:00	1525	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Bleu (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-42' WHERE `virtuemart_product_id` = '1861017'
2023-10-13	12:48:00	1525	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:00	1525	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:00	1525	[DEBUG]	Process image file
2023-10-13	12:48:00	1525	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:00	1525	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:00	1525	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:00	1525	[DEBUG]	Full name target: bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:01	1525	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:01	1525	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:01	1525	[DEBUG]	Query for Media
2023-10-13	12:48:01	1525	[DEBUG]	Executed store
2023-10-13	12:48:01	1525	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15967'
2023-10-13	12:48:01	1525	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:01	1525	[DEBUG]	Executed store
2023-10-13	12:48:01	1525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861017','15967','1')
2023-10-13	12:48:01	1525	[DEBUG]	Store product image relation
2023-10-13	12:48:01	1525	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:01	1525	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861017 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:01	1525	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:01	1525	[DEBUG]	Executed store
2023-10-13	12:48:01	1525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861017','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:01	1525	[DEBUG]	Checking manufacturer
2023-10-13	12:48:01	1525	[DEBUG]	Load a row
2023-10-13	12:48:01	1525	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:01	1525	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:01	1525	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:01	1525	[DEBUG]	Executed store
2023-10-13	12:48:01	1525	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:01	1525	[DEBUG]	Manufacturer exists
2023-10-13	12:48:01	1525	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:01	1525	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:01	1525	[DEBUG]	Executed store
2023-10-13	12:48:01	1525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861017','32')
2023-10-13	12:48:01	1525	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:01	1525	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:01	1525	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861017 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:01	1525	[DEBUG]	Store custom available field
2023-10-13	12:48:01	1525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861017,3,'',1)
2023-10-13	12:48:01	1525	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:01	1525	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:48:01	1525	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861017 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:01	1525	[DEBUG]	Store custom available field
2023-10-13	12:48:01	1525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861017,6,'42',3)
2023-10-13	12:48:01	1525	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:01	1525	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:01	1525	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861012
2023-10-13	12:48:01	1525	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:01	1525	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1861012\":[1861012,8,1,\"choisir la taille\"],\"1861013\":[\"38\"],\"1861014\":[\"39\"],\"1861015\":[\"40\"],\"1861016\":[\"41\"],\"1861017\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861012
2023-10-13	12:48:01	1525	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:01	1525	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861017
2023-10-13	12:48:01	1526	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:01	1526	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:01	1526	[DEBUG]	Use field value for field taille
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:01	1526	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:01	1526	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:01	1526	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:01	1526	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:01	1526	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:01	1526	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:01	1526	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:01	1526	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:01	1526	[DEBUG]	Use field value for field published
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:01	1526	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field override
2023-10-13	12:48:01	1526	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:01	1526	[DEBUG]	Use field value for field slug
2023-10-13	12:48:01	1526	[DEBUG]	Process line 1526
2023-10-13	12:48:01	1526	[DEBUG]	Load a row
2023-10-13	12:48:01	1526	[DEBUG]	Processing item: 8435466295646
2023-10-13	12:48:01	1526	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:01	1526	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:01	1526	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_22'
2023-10-13	12:48:01	1526	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:01	1526	[DEBUG]	Processing product tax
2023-10-13	12:48:01	1526	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:01	1526	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:01	1526	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:01	1526	[DEBUG]	Query for Product
2023-10-13	12:48:01	1526	[DEBUG]	Executed store
2023-10-13	12:48:01	1526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861012','8435466295646','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:01	1526	[DEBUG]	No parent found
2023-10-13	12:48:01	1526	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861012 AND customfield_value = 'stockable'
2023-10-13	12:48:01	1526	[DEBUG]	Check product language entry
2023-10-13	12:48:01	1526	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861018
2023-10-13	12:48:01	1526	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:01	1526	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295646' AND `virtuemart_product_id` != 1861018
2023-10-13	12:48:01	1526	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:01	1526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861018, '8435466295646')
2023-10-13	12:48:01	1526	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:01	1526	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-43' AND `virtuemart_product_id` != 1861018
2023-10-13	12:48:01	1526	[DEBUG]	Query for ProductLang
2023-10-13	12:48:01	1526	[DEBUG]	Executed store
2023-10-13	12:48:01	1526	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Bleu (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-43' WHERE `virtuemart_product_id` = '1861018'
2023-10-13	12:48:01	1526	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:01	1526	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:01	1526	[DEBUG]	Process image file
2023-10-13	12:48:01	1526	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:01	1526	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:01	1526	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:01	1526	[DEBUG]	Full name target: bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:02	1526	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:02	1526	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:02	1526	[DEBUG]	Query for Media
2023-10-13	12:48:02	1526	[DEBUG]	Executed store
2023-10-13	12:48:02	1526	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15967'
2023-10-13	12:48:02	1526	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:02	1526	[DEBUG]	Executed store
2023-10-13	12:48:02	1526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861018','15967','1')
2023-10-13	12:48:02	1526	[DEBUG]	Store product image relation
2023-10-13	12:48:02	1526	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:02	1526	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861018 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:02	1526	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:02	1526	[DEBUG]	Executed store
2023-10-13	12:48:02	1526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861018','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:02	1526	[DEBUG]	Checking manufacturer
2023-10-13	12:48:02	1526	[DEBUG]	Load a row
2023-10-13	12:48:02	1526	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:02	1526	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:02	1526	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:02	1526	[DEBUG]	Executed store
2023-10-13	12:48:02	1526	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:02	1526	[DEBUG]	Manufacturer exists
2023-10-13	12:48:02	1526	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:02	1526	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:02	1526	[DEBUG]	Executed store
2023-10-13	12:48:02	1526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861018','32')
2023-10-13	12:48:02	1526	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:02	1526	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:02	1526	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861018 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:02	1526	[DEBUG]	Store custom available field
2023-10-13	12:48:02	1526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861018,3,'',1)
2023-10-13	12:48:02	1526	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:02	1526	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:48:02	1526	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861018 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:02	1526	[DEBUG]	Store custom available field
2023-10-13	12:48:02	1526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861018,6,'43',3)
2023-10-13	12:48:02	1526	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:02	1526	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:02	1526	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861012
2023-10-13	12:48:02	1526	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:02	1526	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1861012\":[1861012,8,1,\"choisir la taille\"],\"1861013\":[\"38\"],\"1861014\":[\"39\"],\"1861015\":[\"40\"],\"1861016\":[\"41\"],\"1861017\":[\"42\"],\"1861018\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861012
2023-10-13	12:48:02	1526	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:02	1526	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861018
2023-10-13	12:48:02	1527	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:02	1527	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:02	1527	[DEBUG]	Use field value for field taille
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:02	1527	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:02	1527	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:02	1527	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:02	1527	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:02	1527	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:02	1527	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:02	1527	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:02	1527	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:02	1527	[DEBUG]	Use field value for field published
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:02	1527	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field override
2023-10-13	12:48:02	1527	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:02	1527	[DEBUG]	Use field value for field slug
2023-10-13	12:48:02	1527	[DEBUG]	Process line 1527
2023-10-13	12:48:02	1527	[DEBUG]	Load a row
2023-10-13	12:48:02	1527	[DEBUG]	Processing item: 8435466295653
2023-10-13	12:48:02	1527	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:02	1527	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:02	1527	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_22'
2023-10-13	12:48:02	1527	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:02	1527	[DEBUG]	Processing product tax
2023-10-13	12:48:02	1527	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:02	1527	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:02	1527	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:02	1527	[DEBUG]	Query for Product
2023-10-13	12:48:02	1527	[DEBUG]	Executed store
2023-10-13	12:48:02	1527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861012','8435466295653','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:02	1527	[DEBUG]	No parent found
2023-10-13	12:48:02	1527	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861012 AND customfield_value = 'stockable'
2023-10-13	12:48:02	1527	[DEBUG]	Check product language entry
2023-10-13	12:48:02	1527	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861019
2023-10-13	12:48:02	1527	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:02	1527	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295653' AND `virtuemart_product_id` != 1861019
2023-10-13	12:48:02	1527	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:02	1527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861019, '8435466295653')
2023-10-13	12:48:02	1527	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:02	1527	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-44' AND `virtuemart_product_id` != 1861019
2023-10-13	12:48:02	1527	[DEBUG]	Query for ProductLang
2023-10-13	12:48:02	1527	[DEBUG]	Executed store
2023-10-13	12:48:02	1527	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Bleu (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-44' WHERE `virtuemart_product_id` = '1861019'
2023-10-13	12:48:02	1527	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:02	1527	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:02	1527	[DEBUG]	Process image file
2023-10-13	12:48:02	1527	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:02	1527	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:02	1527	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:02	1527	[DEBUG]	Full name target: bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:03	1527	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:03	1527	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:03	1527	[DEBUG]	Query for Media
2023-10-13	12:48:03	1527	[DEBUG]	Executed store
2023-10-13	12:48:03	1527	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15967'
2023-10-13	12:48:03	1527	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:03	1527	[DEBUG]	Executed store
2023-10-13	12:48:03	1527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861019','15967','1')
2023-10-13	12:48:03	1527	[DEBUG]	Store product image relation
2023-10-13	12:48:03	1527	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:03	1527	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861019 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:03	1527	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:03	1527	[DEBUG]	Executed store
2023-10-13	12:48:03	1527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861019','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:03	1527	[DEBUG]	Checking manufacturer
2023-10-13	12:48:03	1527	[DEBUG]	Load a row
2023-10-13	12:48:03	1527	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:03	1527	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:03	1527	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:03	1527	[DEBUG]	Executed store
2023-10-13	12:48:03	1527	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:03	1527	[DEBUG]	Manufacturer exists
2023-10-13	12:48:03	1527	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:03	1527	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:03	1527	[DEBUG]	Executed store
2023-10-13	12:48:03	1527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861019','32')
2023-10-13	12:48:03	1527	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:03	1527	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:03	1527	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861019 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:03	1527	[DEBUG]	Store custom available field
2023-10-13	12:48:03	1527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861019,3,'',1)
2023-10-13	12:48:03	1527	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:03	1527	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:48:03	1527	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861019 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:03	1527	[DEBUG]	Store custom available field
2023-10-13	12:48:03	1527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861019,6,'44',3)
2023-10-13	12:48:03	1527	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:03	1527	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:03	1527	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861012
2023-10-13	12:48:03	1527	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:03	1527	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1861012\":[1861012,8,1,\"choisir la taille\"],\"1861013\":[\"38\"],\"1861014\":[\"39\"],\"1861015\":[\"40\"],\"1861016\":[\"41\"],\"1861017\":[\"42\"],\"1861018\":[\"43\"],\"1861019\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861012
2023-10-13	12:48:03	1527	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:03	1527	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861019
2023-10-13	12:48:03	1528	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:03	1528	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:03	1528	[DEBUG]	Use field value for field taille
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:03	1528	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:03	1528	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:03	1528	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:03	1528	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:03	1528	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:03	1528	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:03	1528	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:03	1528	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:03	1528	[DEBUG]	Use field value for field published
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:03	1528	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field override
2023-10-13	12:48:03	1528	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:03	1528	[DEBUG]	Use field value for field slug
2023-10-13	12:48:03	1528	[DEBUG]	Process line 1528
2023-10-13	12:48:03	1528	[DEBUG]	Load a row
2023-10-13	12:48:03	1528	[DEBUG]	Processing item: 8435466295660
2023-10-13	12:48:03	1528	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:03	1528	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:03	1528	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_22'
2023-10-13	12:48:03	1528	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:03	1528	[DEBUG]	Processing product tax
2023-10-13	12:48:03	1528	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:03	1528	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:03	1528	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:03	1528	[DEBUG]	Query for Product
2023-10-13	12:48:03	1528	[DEBUG]	Executed store
2023-10-13	12:48:03	1528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861012','8435466295660','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:03	1528	[DEBUG]	No parent found
2023-10-13	12:48:03	1528	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861012 AND customfield_value = 'stockable'
2023-10-13	12:48:03	1528	[DEBUG]	Check product language entry
2023-10-13	12:48:03	1528	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861020
2023-10-13	12:48:03	1528	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:03	1528	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295660' AND `virtuemart_product_id` != 1861020
2023-10-13	12:48:03	1528	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:03	1528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861020, '8435466295660')
2023-10-13	12:48:03	1528	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:03	1528	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-45' AND `virtuemart_product_id` != 1861020
2023-10-13	12:48:03	1528	[DEBUG]	Query for ProductLang
2023-10-13	12:48:03	1528	[DEBUG]	Executed store
2023-10-13	12:48:03	1528	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Bleu (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-45' WHERE `virtuemart_product_id` = '1861020'
2023-10-13	12:48:03	1528	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:03	1528	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:03	1528	[DEBUG]	Process image file
2023-10-13	12:48:03	1528	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:03	1528	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:03	1528	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:03	1528	[DEBUG]	Full name target: bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:04	1528	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:04	1528	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:04	1528	[DEBUG]	Query for Media
2023-10-13	12:48:04	1528	[DEBUG]	Executed store
2023-10-13	12:48:04	1528	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15967'
2023-10-13	12:48:04	1528	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:04	1528	[DEBUG]	Executed store
2023-10-13	12:48:04	1528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861020','15967','1')
2023-10-13	12:48:04	1528	[DEBUG]	Store product image relation
2023-10-13	12:48:04	1528	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:04	1528	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861020 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:04	1528	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:04	1528	[DEBUG]	Executed store
2023-10-13	12:48:04	1528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861020','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:04	1528	[DEBUG]	Checking manufacturer
2023-10-13	12:48:04	1528	[DEBUG]	Load a row
2023-10-13	12:48:04	1528	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:04	1528	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:04	1528	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:04	1528	[DEBUG]	Executed store
2023-10-13	12:48:04	1528	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:04	1528	[DEBUG]	Manufacturer exists
2023-10-13	12:48:04	1528	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:04	1528	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:04	1528	[DEBUG]	Executed store
2023-10-13	12:48:04	1528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861020','32')
2023-10-13	12:48:04	1528	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:04	1528	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:04	1528	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861020 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:04	1528	[DEBUG]	Store custom available field
2023-10-13	12:48:04	1528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861020,3,'',1)
2023-10-13	12:48:04	1528	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:04	1528	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:48:04	1528	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861020 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:04	1528	[DEBUG]	Store custom available field
2023-10-13	12:48:04	1528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861020,6,'45',3)
2023-10-13	12:48:04	1528	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:04	1528	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:04	1528	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861012
2023-10-13	12:48:04	1528	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:04	1528	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1861012\":[1861012,8,1,\"choisir la taille\"],\"1861013\":[\"38\"],\"1861014\":[\"39\"],\"1861015\":[\"40\"],\"1861016\":[\"41\"],\"1861017\":[\"42\"],\"1861018\":[\"43\"],\"1861019\":[\"44\"],\"1861020\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861012
2023-10-13	12:48:04	1528	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:04	1528	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861020
2023-10-13	12:48:04	1529	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:04	1529	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:04	1529	[DEBUG]	Use field value for field taille
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:04	1529	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:04	1529	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:04	1529	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:04	1529	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:04	1529	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:04	1529	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:04	1529	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:04	1529	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:04	1529	[DEBUG]	Use field value for field published
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:04	1529	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field override
2023-10-13	12:48:04	1529	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:04	1529	[DEBUG]	Use field value for field slug
2023-10-13	12:48:04	1529	[DEBUG]	Process line 1529
2023-10-13	12:48:04	1529	[DEBUG]	Load a row
2023-10-13	12:48:04	1529	[DEBUG]	Processing item: 8435466295677
2023-10-13	12:48:04	1529	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:04	1529	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:04	1529	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_22'
2023-10-13	12:48:04	1529	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:04	1529	[DEBUG]	Processing product tax
2023-10-13	12:48:04	1529	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:04	1529	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:04	1529	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:04	1529	[DEBUG]	Query for Product
2023-10-13	12:48:04	1529	[DEBUG]	Executed store
2023-10-13	12:48:04	1529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861012','8435466295677','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:04	1529	[DEBUG]	No parent found
2023-10-13	12:48:04	1529	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861012 AND customfield_value = 'stockable'
2023-10-13	12:48:04	1529	[DEBUG]	Check product language entry
2023-10-13	12:48:04	1529	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861021
2023-10-13	12:48:04	1529	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:04	1529	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295677' AND `virtuemart_product_id` != 1861021
2023-10-13	12:48:04	1529	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:04	1529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861021, '8435466295677')
2023-10-13	12:48:04	1529	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:04	1529	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-46' AND `virtuemart_product_id` != 1861021
2023-10-13	12:48:04	1529	[DEBUG]	Query for ProductLang
2023-10-13	12:48:04	1529	[DEBUG]	Executed store
2023-10-13	12:48:04	1529	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Bleu (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-46' WHERE `virtuemart_product_id` = '1861021'
2023-10-13	12:48:04	1529	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:04	1529	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:04	1529	[DEBUG]	Process image file
2023-10-13	12:48:04	1529	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:04	1529	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:04	1529	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:04	1529	[DEBUG]	Full name target: bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:05	1529	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:05	1529	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:05	1529	[DEBUG]	Query for Media
2023-10-13	12:48:05	1529	[DEBUG]	Executed store
2023-10-13	12:48:05	1529	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15967'
2023-10-13	12:48:05	1529	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:05	1529	[DEBUG]	Executed store
2023-10-13	12:48:05	1529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861021','15967','1')
2023-10-13	12:48:05	1529	[DEBUG]	Store product image relation
2023-10-13	12:48:05	1529	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:05	1529	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861021 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:05	1529	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:05	1529	[DEBUG]	Executed store
2023-10-13	12:48:05	1529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861021','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:05	1529	[DEBUG]	Checking manufacturer
2023-10-13	12:48:05	1529	[DEBUG]	Load a row
2023-10-13	12:48:05	1529	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:05	1529	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:05	1529	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:05	1529	[DEBUG]	Executed store
2023-10-13	12:48:05	1529	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:05	1529	[DEBUG]	Manufacturer exists
2023-10-13	12:48:05	1529	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:05	1529	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:05	1529	[DEBUG]	Executed store
2023-10-13	12:48:05	1529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861021','32')
2023-10-13	12:48:05	1529	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:05	1529	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:05	1529	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861021 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:05	1529	[DEBUG]	Store custom available field
2023-10-13	12:48:05	1529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861021,3,'',1)
2023-10-13	12:48:05	1529	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:05	1529	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:48:05	1529	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861021 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:05	1529	[DEBUG]	Store custom available field
2023-10-13	12:48:05	1529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861021,6,'46',3)
2023-10-13	12:48:05	1529	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:05	1529	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:05	1529	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861012
2023-10-13	12:48:05	1529	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:05	1529	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1861012\":[1861012,8,1,\"choisir la taille\"],\"1861013\":[\"38\"],\"1861014\":[\"39\"],\"1861015\":[\"40\"],\"1861016\":[\"41\"],\"1861017\":[\"42\"],\"1861018\":[\"43\"],\"1861019\":[\"44\"],\"1861020\":[\"45\"],\"1861021\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861012
2023-10-13	12:48:05	1529	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:05	1529	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861021
2023-10-13	12:48:05	1530	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:05	1530	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:05	1530	[DEBUG]	Use field value for field taille
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:05	1530	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:05	1530	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:05	1530	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:05	1530	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:05	1530	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:05	1530	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:05	1530	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:05	1530	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:05	1530	[DEBUG]	Use field value for field published
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:05	1530	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field override
2023-10-13	12:48:05	1530	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:05	1530	[DEBUG]	Use field value for field slug
2023-10-13	12:48:05	1530	[DEBUG]	Process line 1530
2023-10-13	12:48:05	1530	[DEBUG]	Load a row
2023-10-13	12:48:05	1530	[DEBUG]	Processing item: 1000000113624
2023-10-13	12:48:05	1530	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:05	1530	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:05	1530	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_22'
2023-10-13	12:48:05	1530	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:05	1530	[DEBUG]	Processing product tax
2023-10-13	12:48:05	1530	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:05	1530	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:05	1530	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:05	1530	[DEBUG]	Query for Product
2023-10-13	12:48:05	1530	[DEBUG]	Executed store
2023-10-13	12:48:05	1530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861012','1000000113624','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:05	1530	[DEBUG]	No parent found
2023-10-13	12:48:05	1530	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861012 AND customfield_value = 'stockable'
2023-10-13	12:48:05	1530	[DEBUG]	Check product language entry
2023-10-13	12:48:05	1530	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861022
2023-10-13	12:48:05	1530	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:05	1530	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113624' AND `virtuemart_product_id` != 1861022
2023-10-13	12:48:05	1530	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:05	1530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861022, '1000000113624')
2023-10-13	12:48:05	1530	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:05	1530	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-47' AND `virtuemart_product_id` != 1861022
2023-10-13	12:48:05	1530	[DEBUG]	Query for ProductLang
2023-10-13	12:48:05	1530	[DEBUG]	Executed store
2023-10-13	12:48:05	1530	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Bleu (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-bleu-47' WHERE `virtuemart_product_id` = '1861022'
2023-10-13	12:48:05	1530	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:05	1530	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:05	1530	[DEBUG]	Process image file
2023-10-13	12:48:05	1530	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:05	1530	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:05	1530	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:05	1530	[DEBUG]	Full name target: bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:06	1530	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:06	1530	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:06	1530	[DEBUG]	Query for Media
2023-10-13	12:48:06	1530	[DEBUG]	Executed store
2023-10-13	12:48:06	1530	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34016_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15967'
2023-10-13	12:48:06	1530	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:06	1530	[DEBUG]	Executed store
2023-10-13	12:48:06	1530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861022','15967','1')
2023-10-13	12:48:06	1530	[DEBUG]	Store product image relation
2023-10-13	12:48:06	1530	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:06	1530	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861022 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:06	1530	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:06	1530	[DEBUG]	Executed store
2023-10-13	12:48:06	1530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861022','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:06	1530	[DEBUG]	Checking manufacturer
2023-10-13	12:48:06	1530	[DEBUG]	Load a row
2023-10-13	12:48:06	1530	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:06	1530	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:06	1530	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:06	1530	[DEBUG]	Executed store
2023-10-13	12:48:06	1530	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:06	1530	[DEBUG]	Manufacturer exists
2023-10-13	12:48:06	1530	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:06	1530	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:06	1530	[DEBUG]	Executed store
2023-10-13	12:48:06	1530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861022','32')
2023-10-13	12:48:06	1530	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:06	1530	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:06	1530	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861022 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:06	1530	[DEBUG]	Store custom available field
2023-10-13	12:48:06	1530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861022,3,'',1)
2023-10-13	12:48:06	1530	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:06	1530	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:48:06	1530	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861022 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:06	1530	[DEBUG]	Store custom available field
2023-10-13	12:48:06	1530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861022,6,'47',3)
2023-10-13	12:48:06	1530	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:06	1530	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:06	1530	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861012
2023-10-13	12:48:06	1530	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:06	1530	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1861012\":[1861012,8,1,\"choisir la taille\"],\"1861013\":[\"38\"],\"1861014\":[\"39\"],\"1861015\":[\"40\"],\"1861016\":[\"41\"],\"1861017\":[\"42\"],\"1861018\":[\"43\"],\"1861019\":[\"44\"],\"1861020\":[\"45\"],\"1861021\":[\"46\"],\"1861022\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1861012
2023-10-13	12:48:06	1530	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:06	1530	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861022
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:06	1531	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field taille
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field category_path
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:06	1531	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:48:06	1531	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:06	1531	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field product_weight
2023-10-13	12:48:06	1531	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:06	1531	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:06	1531	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field published
2023-10-13	12:48:06	1531	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:06	1531	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field custom_title
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field custom_param
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field override
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field public_price
2023-10-13	12:48:06	1531	[DEBUG]	Use field value for field slug
2023-10-13	12:48:06	1531	[DEBUG]	Process line 1531
2023-10-13	12:48:06	1531	[DEBUG]	Load a row
2023-10-13	12:48:06	1531	[DEBUG]	Processing item: A_6901_27
2023-10-13	12:48:06	1531	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:06	1531	[DEBUG]	Processing product tax
2023-10-13	12:48:06	1531	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:06	1531	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:06	1531	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:06	1531	[DEBUG]	Query for Product
2023-10-13	12:48:06	1531	[DEBUG]	Executed store
2023-10-13	12:48:06	1531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6901_27','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:06	1531	[DEBUG]	Check product language entry
2023-10-13	12:48:06	1531	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861023
2023-10-13	12:48:06	1531	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:06	1531	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6901_27' AND `virtuemart_product_id` != 1861023
2023-10-13	12:48:06	1531	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:06	1531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861023, 'A_6901_27')
2023-10-13	12:48:06	1531	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:06	1531	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange' AND `virtuemart_product_id` != 1861023
2023-10-13	12:48:06	1531	[DEBUG]	Query for ProductLang
2023-10-13	12:48:06	1531	[DEBUG]	Executed store
2023-10-13	12:48:06	1531	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro VTT XC avec système de ventilation breveté ! 699 GR.<br>N° art fourn : ZAEROXC',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange' WHERE `virtuemart_product_id` = '1861023'
2023-10-13	12:48:06	1531	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:06	1531	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:06	1531	[DEBUG]	Process image file
2023-10-13	12:48:06	1531	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:06	1531	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:06	1531	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:06	1531	[DEBUG]	Full name target: bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:07	1531	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:07	1531	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:07	1531	[DEBUG]	Query for Media
2023-10-13	12:48:07	1531	[DEBUG]	Executed store
2023-10-13	12:48:07	1531	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15968'
2023-10-13	12:48:07	1531	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:07	1531	[DEBUG]	Executed store
2023-10-13	12:48:07	1531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861023','15968','1')
2023-10-13	12:48:07	1531	[DEBUG]	Store product image relation
2023-10-13	12:48:07	1531	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:07	1531	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861023 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:07	1531	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:07	1531	[DEBUG]	Executed store
2023-10-13	12:48:07	1531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861023','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:07	1531	[DEBUG]	Checking manufacturer
2023-10-13	12:48:07	1531	[DEBUG]	Load a row
2023-10-13	12:48:07	1531	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:07	1531	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:07	1531	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:07	1531	[DEBUG]	Executed store
2023-10-13	12:48:07	1531	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:07	1531	[DEBUG]	Manufacturer exists
2023-10-13	12:48:07	1531	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:07	1531	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:07	1531	[DEBUG]	Executed store
2023-10-13	12:48:07	1531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861023','32')
2023-10-13	12:48:07	1531	[DEBUG]	Find the custom field ID
2023-10-13	12:48:07	1531	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:48:07	1531	[DEBUG]	No custom field ID found
2023-10-13	12:48:07	1531	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:07	1531	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:48:07	1531	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861023 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:07	1531	[DEBUG]	Store custom available field
2023-10-13	12:48:07	1531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861023,3,'179.400277777778',1)
2023-10-13	12:48:07	1531	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:07	1531	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:48:07	1531	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861023 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:07	1531	[DEBUG]	Store custom available field
2023-10-13	12:48:07	1531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861023,6,'choisir la taille',3)
2023-10-13	12:48:07	1531	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:07	1531	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:48:07	1531	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:48:07	1531	[DEBUG]	Find the multi variant product entry
2023-10-13	12:48:07	1531	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861023 AND `virtuemart_custom_id` = 8
2023-10-13	12:48:07	1531	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:48:07	1531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861023,8,1)
2023-10-13	12:48:07	1531	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:07	1531	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861023\":[1861023,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861023
2023-10-13	12:48:07	1531	[DEBUG]	Checking category
2023-10-13	12:48:07	1531	[DEBUG]	Get the existing categories for the product
2023-10-13	12:48:07	1531	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861023
2023-10-13	12:48:07	1531	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:48:07	1531	[DEBUG]	Executed store
2023-10-13	12:48:07	1531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861023','7331')
2023-10-13	12:48:07	1531	[DEBUG]	Delete leftover product categories
2023-10-13	12:48:07	1531	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861023 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:48:07	1531	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:07	1531	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861023
2023-10-13	12:48:07	1532	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:07	1532	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:07	1532	[DEBUG]	Use field value for field taille
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:07	1532	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:07	1532	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:07	1532	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:07	1532	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:07	1532	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:07	1532	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:07	1532	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:07	1532	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:07	1532	[DEBUG]	Use field value for field published
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:07	1532	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field override
2023-10-13	12:48:07	1532	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:07	1532	[DEBUG]	Use field value for field slug
2023-10-13	12:48:07	1532	[DEBUG]	Process line 1532
2023-10-13	12:48:07	1532	[DEBUG]	Load a row
2023-10-13	12:48:07	1532	[DEBUG]	Processing item: 1000000110982
2023-10-13	12:48:07	1532	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:07	1532	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:07	1532	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_27'
2023-10-13	12:48:07	1532	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:07	1532	[DEBUG]	Processing product tax
2023-10-13	12:48:07	1532	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:07	1532	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:07	1532	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:07	1532	[DEBUG]	Query for Product
2023-10-13	12:48:07	1532	[DEBUG]	Executed store
2023-10-13	12:48:07	1532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861023','1000000110982','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:07	1532	[DEBUG]	No parent found
2023-10-13	12:48:07	1532	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861023 AND customfield_value = 'stockable'
2023-10-13	12:48:07	1532	[DEBUG]	Check product language entry
2023-10-13	12:48:07	1532	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861024
2023-10-13	12:48:07	1532	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:07	1532	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000110982' AND `virtuemart_product_id` != 1861024
2023-10-13	12:48:07	1532	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:07	1532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861024, '1000000110982')
2023-10-13	12:48:07	1532	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:07	1532	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-38' AND `virtuemart_product_id` != 1861024
2023-10-13	12:48:07	1532	[DEBUG]	Query for ProductLang
2023-10-13	12:48:07	1532	[DEBUG]	Executed store
2023-10-13	12:48:07	1532	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Orange (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-38' WHERE `virtuemart_product_id` = '1861024'
2023-10-13	12:48:07	1532	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:07	1532	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:07	1532	[DEBUG]	Process image file
2023-10-13	12:48:07	1532	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:07	1532	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:07	1532	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:07	1532	[DEBUG]	Full name target: bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:08	1532	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:08	1532	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:08	1532	[DEBUG]	Query for Media
2023-10-13	12:48:08	1532	[DEBUG]	Executed store
2023-10-13	12:48:08	1532	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15968'
2023-10-13	12:48:08	1532	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:08	1532	[DEBUG]	Executed store
2023-10-13	12:48:08	1532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861024','15968','1')
2023-10-13	12:48:08	1532	[DEBUG]	Store product image relation
2023-10-13	12:48:08	1532	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:08	1532	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861024 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:08	1532	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:08	1532	[DEBUG]	Executed store
2023-10-13	12:48:08	1532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861024','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:08	1532	[DEBUG]	Checking manufacturer
2023-10-13	12:48:08	1532	[DEBUG]	Load a row
2023-10-13	12:48:08	1532	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:08	1532	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:08	1532	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:08	1532	[DEBUG]	Executed store
2023-10-13	12:48:08	1532	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:08	1532	[DEBUG]	Manufacturer exists
2023-10-13	12:48:08	1532	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:08	1532	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:08	1532	[DEBUG]	Executed store
2023-10-13	12:48:08	1532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861024','32')
2023-10-13	12:48:08	1532	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:08	1532	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:08	1532	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861024 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:08	1532	[DEBUG]	Store custom available field
2023-10-13	12:48:08	1532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861024,3,'',1)
2023-10-13	12:48:08	1532	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:08	1532	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:48:08	1532	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861024 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:08	1532	[DEBUG]	Store custom available field
2023-10-13	12:48:08	1532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861024,6,'38',3)
2023-10-13	12:48:08	1532	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:08	1532	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:08	1532	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861023
2023-10-13	12:48:08	1532	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:08	1532	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1861023\":[1861023,8,1,\"choisir la taille\"],\"1861024\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1861023
2023-10-13	12:48:08	1532	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:08	1532	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861024
2023-10-13	12:48:08	1533	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:08	1533	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:08	1533	[DEBUG]	Use field value for field taille
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:08	1533	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:08	1533	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:08	1533	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:08	1533	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:08	1533	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:08	1533	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:08	1533	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:08	1533	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:08	1533	[DEBUG]	Use field value for field published
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:08	1533	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field override
2023-10-13	12:48:08	1533	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:08	1533	[DEBUG]	Use field value for field slug
2023-10-13	12:48:08	1533	[DEBUG]	Process line 1533
2023-10-13	12:48:08	1533	[DEBUG]	Load a row
2023-10-13	12:48:08	1533	[DEBUG]	Processing item: 1000000113990
2023-10-13	12:48:08	1533	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:08	1533	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:08	1533	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_27'
2023-10-13	12:48:08	1533	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:08	1533	[DEBUG]	Processing product tax
2023-10-13	12:48:08	1533	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:08	1533	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:08	1533	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:08	1533	[DEBUG]	Query for Product
2023-10-13	12:48:08	1533	[DEBUG]	Executed store
2023-10-13	12:48:08	1533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861023','1000000113990','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:08	1533	[DEBUG]	No parent found
2023-10-13	12:48:08	1533	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861023 AND customfield_value = 'stockable'
2023-10-13	12:48:08	1533	[DEBUG]	Check product language entry
2023-10-13	12:48:08	1533	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861025
2023-10-13	12:48:08	1533	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:08	1533	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113990' AND `virtuemart_product_id` != 1861025
2023-10-13	12:48:08	1533	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:08	1533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861025, '1000000113990')
2023-10-13	12:48:08	1533	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:08	1533	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-39' AND `virtuemart_product_id` != 1861025
2023-10-13	12:48:08	1533	[DEBUG]	Query for ProductLang
2023-10-13	12:48:08	1533	[DEBUG]	Executed store
2023-10-13	12:48:08	1533	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Orange (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-39' WHERE `virtuemart_product_id` = '1861025'
2023-10-13	12:48:08	1533	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:08	1533	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:08	1533	[DEBUG]	Process image file
2023-10-13	12:48:08	1533	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:08	1533	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:08	1533	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:08	1533	[DEBUG]	Full name target: bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:09	1533	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:09	1533	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:09	1533	[DEBUG]	Query for Media
2023-10-13	12:48:09	1533	[DEBUG]	Executed store
2023-10-13	12:48:09	1533	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15968'
2023-10-13	12:48:09	1533	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:09	1533	[DEBUG]	Executed store
2023-10-13	12:48:09	1533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861025','15968','1')
2023-10-13	12:48:09	1533	[DEBUG]	Store product image relation
2023-10-13	12:48:09	1533	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:09	1533	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861025 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:09	1533	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:09	1533	[DEBUG]	Executed store
2023-10-13	12:48:09	1533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861025','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:09	1533	[DEBUG]	Checking manufacturer
2023-10-13	12:48:09	1533	[DEBUG]	Load a row
2023-10-13	12:48:09	1533	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:09	1533	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:09	1533	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:09	1533	[DEBUG]	Executed store
2023-10-13	12:48:09	1533	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:09	1533	[DEBUG]	Manufacturer exists
2023-10-13	12:48:09	1533	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:09	1533	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:09	1533	[DEBUG]	Executed store
2023-10-13	12:48:09	1533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861025','32')
2023-10-13	12:48:09	1533	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:09	1533	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:09	1533	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861025 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:09	1533	[DEBUG]	Store custom available field
2023-10-13	12:48:09	1533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861025,3,'',1)
2023-10-13	12:48:09	1533	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:09	1533	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:48:09	1533	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861025 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:09	1533	[DEBUG]	Store custom available field
2023-10-13	12:48:09	1533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861025,6,'39',3)
2023-10-13	12:48:09	1533	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:09	1533	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:09	1533	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861023
2023-10-13	12:48:09	1533	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:09	1533	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1861023\":[1861023,8,1,\"choisir la taille\"],\"1861024\":[\"38\"],\"1861025\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861023
2023-10-13	12:48:09	1533	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:09	1533	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861025
2023-10-13	12:48:09	1534	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:09	1534	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:09	1534	[DEBUG]	Use field value for field taille
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:09	1534	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:09	1534	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:09	1534	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:09	1534	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:09	1534	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:09	1534	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:09	1534	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:09	1534	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:09	1534	[DEBUG]	Use field value for field published
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:09	1534	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field override
2023-10-13	12:48:09	1534	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:09	1534	[DEBUG]	Use field value for field slug
2023-10-13	12:48:09	1534	[DEBUG]	Process line 1534
2023-10-13	12:48:09	1534	[DEBUG]	Load a row
2023-10-13	12:48:09	1534	[DEBUG]	Processing item: 8435466215675
2023-10-13	12:48:09	1534	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:09	1534	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:09	1534	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_27'
2023-10-13	12:48:09	1534	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:09	1534	[DEBUG]	Processing product tax
2023-10-13	12:48:09	1534	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:09	1534	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:09	1534	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:09	1534	[DEBUG]	Query for Product
2023-10-13	12:48:09	1534	[DEBUG]	Executed store
2023-10-13	12:48:09	1534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861023','8435466215675','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:09	1534	[DEBUG]	No parent found
2023-10-13	12:48:09	1534	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861023 AND customfield_value = 'stockable'
2023-10-13	12:48:09	1534	[DEBUG]	Check product language entry
2023-10-13	12:48:09	1534	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861026
2023-10-13	12:48:09	1534	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:09	1534	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215675' AND `virtuemart_product_id` != 1861026
2023-10-13	12:48:09	1534	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:09	1534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861026, '8435466215675')
2023-10-13	12:48:09	1534	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:09	1534	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-40' AND `virtuemart_product_id` != 1861026
2023-10-13	12:48:09	1534	[DEBUG]	Query for ProductLang
2023-10-13	12:48:09	1534	[DEBUG]	Executed store
2023-10-13	12:48:09	1534	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Orange (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-40' WHERE `virtuemart_product_id` = '1861026'
2023-10-13	12:48:09	1534	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:09	1534	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:09	1534	[DEBUG]	Process image file
2023-10-13	12:48:09	1534	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:09	1534	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:09	1534	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:09	1534	[DEBUG]	Full name target: bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:10	1534	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:10	1534	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:10	1534	[DEBUG]	Query for Media
2023-10-13	12:48:10	1534	[DEBUG]	Executed store
2023-10-13	12:48:10	1534	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15968'
2023-10-13	12:48:10	1534	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:10	1534	[DEBUG]	Executed store
2023-10-13	12:48:10	1534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861026','15968','1')
2023-10-13	12:48:10	1534	[DEBUG]	Store product image relation
2023-10-13	12:48:10	1534	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:10	1534	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861026 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:10	1534	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:10	1534	[DEBUG]	Executed store
2023-10-13	12:48:10	1534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861026','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:10	1534	[DEBUG]	Checking manufacturer
2023-10-13	12:48:10	1534	[DEBUG]	Load a row
2023-10-13	12:48:10	1534	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:10	1534	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:10	1534	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:10	1534	[DEBUG]	Executed store
2023-10-13	12:48:10	1534	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:10	1534	[DEBUG]	Manufacturer exists
2023-10-13	12:48:10	1534	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:10	1534	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:10	1534	[DEBUG]	Executed store
2023-10-13	12:48:10	1534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861026','32')
2023-10-13	12:48:10	1534	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:10	1534	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:10	1534	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861026 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:10	1534	[DEBUG]	Store custom available field
2023-10-13	12:48:10	1534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861026,3,'',1)
2023-10-13	12:48:10	1534	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:10	1534	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:48:10	1534	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861026 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:10	1534	[DEBUG]	Store custom available field
2023-10-13	12:48:10	1534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861026,6,'40',3)
2023-10-13	12:48:10	1534	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:10	1534	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:10	1534	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861023
2023-10-13	12:48:10	1534	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:10	1534	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1861023\":[1861023,8,1,\"choisir la taille\"],\"1861024\":[\"38\"],\"1861025\":[\"39\"],\"1861026\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861023
2023-10-13	12:48:10	1534	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:10	1534	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861026
2023-10-13	12:48:10	1535	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:10	1535	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:10	1535	[DEBUG]	Use field value for field taille
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:10	1535	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:10	1535	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:10	1535	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:10	1535	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:10	1535	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:10	1535	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:10	1535	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:10	1535	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:10	1535	[DEBUG]	Use field value for field published
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:10	1535	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field override
2023-10-13	12:48:10	1535	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:10	1535	[DEBUG]	Use field value for field slug
2023-10-13	12:48:10	1535	[DEBUG]	Process line 1535
2023-10-13	12:48:10	1535	[DEBUG]	Load a row
2023-10-13	12:48:10	1535	[DEBUG]	Processing item: 1000000114010
2023-10-13	12:48:10	1535	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:10	1535	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:10	1535	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_27'
2023-10-13	12:48:10	1535	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:10	1535	[DEBUG]	Processing product tax
2023-10-13	12:48:10	1535	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:10	1535	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:10	1535	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:10	1535	[DEBUG]	Query for Product
2023-10-13	12:48:10	1535	[DEBUG]	Executed store
2023-10-13	12:48:10	1535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861023','1000000114010','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:10	1535	[DEBUG]	No parent found
2023-10-13	12:48:10	1535	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861023 AND customfield_value = 'stockable'
2023-10-13	12:48:10	1535	[DEBUG]	Check product language entry
2023-10-13	12:48:10	1535	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861027
2023-10-13	12:48:10	1535	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:10	1535	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114010' AND `virtuemart_product_id` != 1861027
2023-10-13	12:48:10	1535	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:10	1535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861027, '1000000114010')
2023-10-13	12:48:10	1535	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:10	1535	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-41' AND `virtuemart_product_id` != 1861027
2023-10-13	12:48:10	1535	[DEBUG]	Query for ProductLang
2023-10-13	12:48:10	1535	[DEBUG]	Executed store
2023-10-13	12:48:10	1535	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Orange (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-41' WHERE `virtuemart_product_id` = '1861027'
2023-10-13	12:48:10	1535	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:10	1535	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:10	1535	[DEBUG]	Process image file
2023-10-13	12:48:10	1535	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:10	1535	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:10	1535	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:10	1535	[DEBUG]	Full name target: bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:11	1535	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:11	1535	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:11	1535	[DEBUG]	Query for Media
2023-10-13	12:48:11	1535	[DEBUG]	Executed store
2023-10-13	12:48:11	1535	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15968'
2023-10-13	12:48:11	1535	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:11	1535	[DEBUG]	Executed store
2023-10-13	12:48:11	1535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861027','15968','1')
2023-10-13	12:48:11	1535	[DEBUG]	Store product image relation
2023-10-13	12:48:11	1535	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:11	1535	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861027 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:11	1535	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:11	1535	[DEBUG]	Executed store
2023-10-13	12:48:11	1535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861027','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:11	1535	[DEBUG]	Checking manufacturer
2023-10-13	12:48:11	1535	[DEBUG]	Load a row
2023-10-13	12:48:11	1535	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:11	1535	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:11	1535	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:11	1535	[DEBUG]	Executed store
2023-10-13	12:48:11	1535	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:11	1535	[DEBUG]	Manufacturer exists
2023-10-13	12:48:11	1535	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:11	1535	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:11	1535	[DEBUG]	Executed store
2023-10-13	12:48:11	1535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861027','32')
2023-10-13	12:48:11	1535	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:11	1535	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:11	1535	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861027 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:11	1535	[DEBUG]	Store custom available field
2023-10-13	12:48:11	1535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861027,3,'',1)
2023-10-13	12:48:11	1535	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:11	1535	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:48:11	1535	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861027 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:11	1535	[DEBUG]	Store custom available field
2023-10-13	12:48:11	1535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861027,6,'41',3)
2023-10-13	12:48:11	1535	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:11	1535	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:11	1535	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861023
2023-10-13	12:48:11	1535	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:11	1535	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1861023\":[1861023,8,1,\"choisir la taille\"],\"1861024\":[\"38\"],\"1861025\":[\"39\"],\"1861026\":[\"40\"],\"1861027\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861023
2023-10-13	12:48:11	1535	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:11	1535	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861027
2023-10-13	12:48:11	1536	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:11	1536	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:11	1536	[DEBUG]	Use field value for field taille
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:11	1536	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:11	1536	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:11	1536	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:11	1536	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:11	1536	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:11	1536	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:11	1536	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:11	1536	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:11	1536	[DEBUG]	Use field value for field published
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:11	1536	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field override
2023-10-13	12:48:11	1536	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:11	1536	[DEBUG]	Use field value for field slug
2023-10-13	12:48:11	1536	[DEBUG]	Process line 1536
2023-10-13	12:48:11	1536	[DEBUG]	Load a row
2023-10-13	12:48:11	1536	[DEBUG]	Processing item: 1000000114027
2023-10-13	12:48:11	1536	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:11	1536	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:11	1536	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_27'
2023-10-13	12:48:11	1536	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:11	1536	[DEBUG]	Processing product tax
2023-10-13	12:48:11	1536	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:11	1536	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:11	1536	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:11	1536	[DEBUG]	Query for Product
2023-10-13	12:48:11	1536	[DEBUG]	Executed store
2023-10-13	12:48:11	1536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861023','1000000114027','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:11	1536	[DEBUG]	No parent found
2023-10-13	12:48:11	1536	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861023 AND customfield_value = 'stockable'
2023-10-13	12:48:11	1536	[DEBUG]	Check product language entry
2023-10-13	12:48:11	1536	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861028
2023-10-13	12:48:11	1536	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:11	1536	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114027' AND `virtuemart_product_id` != 1861028
2023-10-13	12:48:11	1536	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:11	1536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861028, '1000000114027')
2023-10-13	12:48:11	1536	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:11	1536	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-42' AND `virtuemart_product_id` != 1861028
2023-10-13	12:48:11	1536	[DEBUG]	Query for ProductLang
2023-10-13	12:48:11	1536	[DEBUG]	Executed store
2023-10-13	12:48:11	1536	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Orange (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-42' WHERE `virtuemart_product_id` = '1861028'
2023-10-13	12:48:11	1536	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:11	1536	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:11	1536	[DEBUG]	Process image file
2023-10-13	12:48:11	1536	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:11	1536	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:11	1536	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:11	1536	[DEBUG]	Full name target: bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:12	1536	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:12	1536	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:12	1536	[DEBUG]	Query for Media
2023-10-13	12:48:12	1536	[DEBUG]	Executed store
2023-10-13	12:48:12	1536	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15968'
2023-10-13	12:48:12	1536	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:12	1536	[DEBUG]	Executed store
2023-10-13	12:48:12	1536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861028','15968','1')
2023-10-13	12:48:12	1536	[DEBUG]	Store product image relation
2023-10-13	12:48:12	1536	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:12	1536	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861028 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:12	1536	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:12	1536	[DEBUG]	Executed store
2023-10-13	12:48:12	1536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861028','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:12	1536	[DEBUG]	Checking manufacturer
2023-10-13	12:48:12	1536	[DEBUG]	Load a row
2023-10-13	12:48:12	1536	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:12	1536	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:12	1536	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:12	1536	[DEBUG]	Executed store
2023-10-13	12:48:12	1536	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:12	1536	[DEBUG]	Manufacturer exists
2023-10-13	12:48:12	1536	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:12	1536	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:12	1536	[DEBUG]	Executed store
2023-10-13	12:48:12	1536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861028','32')
2023-10-13	12:48:12	1536	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:12	1536	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:12	1536	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861028 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:12	1536	[DEBUG]	Store custom available field
2023-10-13	12:48:12	1536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861028,3,'',1)
2023-10-13	12:48:12	1536	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:12	1536	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:48:12	1536	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861028 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:12	1536	[DEBUG]	Store custom available field
2023-10-13	12:48:12	1536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861028,6,'42',3)
2023-10-13	12:48:12	1536	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:12	1536	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:12	1536	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861023
2023-10-13	12:48:12	1536	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:12	1536	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1861023\":[1861023,8,1,\"choisir la taille\"],\"1861024\":[\"38\"],\"1861025\":[\"39\"],\"1861026\":[\"40\"],\"1861027\":[\"41\"],\"1861028\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861023
2023-10-13	12:48:12	1536	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:12	1536	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861028
2023-10-13	12:48:12	1537	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:12	1537	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:12	1537	[DEBUG]	Use field value for field taille
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:12	1537	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:12	1537	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:12	1537	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:12	1537	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:12	1537	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:12	1537	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:12	1537	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:12	1537	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:12	1537	[DEBUG]	Use field value for field published
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:12	1537	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field override
2023-10-13	12:48:12	1537	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:12	1537	[DEBUG]	Use field value for field slug
2023-10-13	12:48:12	1537	[DEBUG]	Process line 1537
2023-10-13	12:48:12	1537	[DEBUG]	Load a row
2023-10-13	12:48:12	1537	[DEBUG]	Processing item: 8435466215705
2023-10-13	12:48:12	1537	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:12	1537	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:12	1537	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_27'
2023-10-13	12:48:12	1537	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:12	1537	[DEBUG]	Processing product tax
2023-10-13	12:48:12	1537	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:12	1537	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:12	1537	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:12	1537	[DEBUG]	Query for Product
2023-10-13	12:48:12	1537	[DEBUG]	Executed store
2023-10-13	12:48:12	1537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861023','8435466215705','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:12	1537	[DEBUG]	No parent found
2023-10-13	12:48:12	1537	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861023 AND customfield_value = 'stockable'
2023-10-13	12:48:12	1537	[DEBUG]	Check product language entry
2023-10-13	12:48:12	1537	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861029
2023-10-13	12:48:12	1537	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:12	1537	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215705' AND `virtuemart_product_id` != 1861029
2023-10-13	12:48:12	1537	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:12	1537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861029, '8435466215705')
2023-10-13	12:48:12	1537	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:12	1537	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-43' AND `virtuemart_product_id` != 1861029
2023-10-13	12:48:12	1537	[DEBUG]	Query for ProductLang
2023-10-13	12:48:12	1537	[DEBUG]	Executed store
2023-10-13	12:48:12	1537	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Orange (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-43' WHERE `virtuemart_product_id` = '1861029'
2023-10-13	12:48:12	1537	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:12	1537	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:12	1537	[DEBUG]	Process image file
2023-10-13	12:48:12	1537	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:12	1537	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:12	1537	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:12	1537	[DEBUG]	Full name target: bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:13	1537	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:13	1537	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:13	1537	[DEBUG]	Query for Media
2023-10-13	12:48:13	1537	[DEBUG]	Executed store
2023-10-13	12:48:13	1537	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15968'
2023-10-13	12:48:13	1537	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:13	1537	[DEBUG]	Executed store
2023-10-13	12:48:13	1537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861029','15968','1')
2023-10-13	12:48:13	1537	[DEBUG]	Store product image relation
2023-10-13	12:48:13	1537	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:13	1537	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861029 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:13	1537	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:13	1537	[DEBUG]	Executed store
2023-10-13	12:48:13	1537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861029','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:13	1537	[DEBUG]	Checking manufacturer
2023-10-13	12:48:13	1537	[DEBUG]	Load a row
2023-10-13	12:48:13	1537	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:13	1537	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:13	1537	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:13	1537	[DEBUG]	Executed store
2023-10-13	12:48:13	1537	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:13	1537	[DEBUG]	Manufacturer exists
2023-10-13	12:48:13	1537	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:13	1537	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:13	1537	[DEBUG]	Executed store
2023-10-13	12:48:13	1537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861029','32')
2023-10-13	12:48:13	1537	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:13	1537	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:13	1537	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861029 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:13	1537	[DEBUG]	Store custom available field
2023-10-13	12:48:13	1537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861029,3,'',1)
2023-10-13	12:48:13	1537	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:13	1537	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:48:13	1537	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861029 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:13	1537	[DEBUG]	Store custom available field
2023-10-13	12:48:13	1537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861029,6,'43',3)
2023-10-13	12:48:13	1537	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:13	1537	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:13	1537	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861023
2023-10-13	12:48:13	1537	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:13	1537	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1861023\":[1861023,8,1,\"choisir la taille\"],\"1861024\":[\"38\"],\"1861025\":[\"39\"],\"1861026\":[\"40\"],\"1861027\":[\"41\"],\"1861028\":[\"42\"],\"1861029\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861023
2023-10-13	12:48:13	1537	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:13	1537	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861029
2023-10-13	12:48:13	1538	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:13	1538	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:13	1538	[DEBUG]	Use field value for field taille
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:13	1538	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:13	1538	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:13	1538	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:13	1538	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:13	1538	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:13	1538	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:13	1538	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:13	1538	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:13	1538	[DEBUG]	Use field value for field published
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:13	1538	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field override
2023-10-13	12:48:13	1538	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:13	1538	[DEBUG]	Use field value for field slug
2023-10-13	12:48:13	1538	[DEBUG]	Process line 1538
2023-10-13	12:48:13	1538	[DEBUG]	Load a row
2023-10-13	12:48:13	1538	[DEBUG]	Processing item: 8435466215712
2023-10-13	12:48:13	1538	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:13	1538	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:13	1538	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_27'
2023-10-13	12:48:13	1538	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:13	1538	[DEBUG]	Processing product tax
2023-10-13	12:48:13	1538	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:13	1538	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:13	1538	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:13	1538	[DEBUG]	Query for Product
2023-10-13	12:48:13	1538	[DEBUG]	Executed store
2023-10-13	12:48:13	1538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861023','8435466215712','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:13	1538	[DEBUG]	No parent found
2023-10-13	12:48:13	1538	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861023 AND customfield_value = 'stockable'
2023-10-13	12:48:13	1538	[DEBUG]	Check product language entry
2023-10-13	12:48:13	1538	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861030
2023-10-13	12:48:13	1538	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:13	1538	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215712' AND `virtuemart_product_id` != 1861030
2023-10-13	12:48:13	1538	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:13	1538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861030, '8435466215712')
2023-10-13	12:48:14	1538	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:14	1538	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-44' AND `virtuemart_product_id` != 1861030
2023-10-13	12:48:14	1538	[DEBUG]	Query for ProductLang
2023-10-13	12:48:14	1538	[DEBUG]	Executed store
2023-10-13	12:48:14	1538	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Orange (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-44' WHERE `virtuemart_product_id` = '1861030'
2023-10-13	12:48:14	1538	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:14	1538	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:14	1538	[DEBUG]	Process image file
2023-10-13	12:48:14	1538	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:14	1538	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:14	1538	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:14	1538	[DEBUG]	Full name target: bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:14	1538	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:14	1538	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:14	1538	[DEBUG]	Query for Media
2023-10-13	12:48:14	1538	[DEBUG]	Executed store
2023-10-13	12:48:14	1538	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15968'
2023-10-13	12:48:14	1538	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:14	1538	[DEBUG]	Executed store
2023-10-13	12:48:14	1538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861030','15968','1')
2023-10-13	12:48:14	1538	[DEBUG]	Store product image relation
2023-10-13	12:48:14	1538	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:14	1538	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861030 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:14	1538	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:14	1538	[DEBUG]	Executed store
2023-10-13	12:48:14	1538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861030','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:14	1538	[DEBUG]	Checking manufacturer
2023-10-13	12:48:14	1538	[DEBUG]	Load a row
2023-10-13	12:48:14	1538	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:14	1538	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:15	1538	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:15	1538	[DEBUG]	Executed store
2023-10-13	12:48:15	1538	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:15	1538	[DEBUG]	Manufacturer exists
2023-10-13	12:48:15	1538	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:15	1538	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:15	1538	[DEBUG]	Executed store
2023-10-13	12:48:15	1538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861030','32')
2023-10-13	12:48:15	1538	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:15	1538	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:15	1538	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861030 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:15	1538	[DEBUG]	Store custom available field
2023-10-13	12:48:15	1538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861030,3,'',1)
2023-10-13	12:48:15	1538	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:15	1538	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:48:15	1538	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861030 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:15	1538	[DEBUG]	Store custom available field
2023-10-13	12:48:15	1538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861030,6,'44',3)
2023-10-13	12:48:15	1538	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:15	1538	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:15	1538	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861023
2023-10-13	12:48:15	1538	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:15	1538	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1861023\":[1861023,8,1,\"choisir la taille\"],\"1861024\":[\"38\"],\"1861025\":[\"39\"],\"1861026\":[\"40\"],\"1861027\":[\"41\"],\"1861028\":[\"42\"],\"1861029\":[\"43\"],\"1861030\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861023
2023-10-13	12:48:15	1538	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:15	1538	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861030
2023-10-13	12:48:15	1539	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:15	1539	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:15	1539	[DEBUG]	Use field value for field taille
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:15	1539	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:15	1539	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:15	1539	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:15	1539	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:15	1539	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:15	1539	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:15	1539	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:15	1539	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:15	1539	[DEBUG]	Use field value for field published
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:15	1539	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field override
2023-10-13	12:48:15	1539	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:15	1539	[DEBUG]	Use field value for field slug
2023-10-13	12:48:15	1539	[DEBUG]	Process line 1539
2023-10-13	12:48:15	1539	[DEBUG]	Load a row
2023-10-13	12:48:15	1539	[DEBUG]	Processing item: 1000000114058
2023-10-13	12:48:15	1539	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:15	1539	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:15	1539	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_27'
2023-10-13	12:48:15	1539	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:15	1539	[DEBUG]	Processing product tax
2023-10-13	12:48:15	1539	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:15	1539	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:15	1539	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:15	1539	[DEBUG]	Query for Product
2023-10-13	12:48:15	1539	[DEBUG]	Executed store
2023-10-13	12:48:15	1539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861023','1000000114058','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:15	1539	[DEBUG]	No parent found
2023-10-13	12:48:15	1539	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861023 AND customfield_value = 'stockable'
2023-10-13	12:48:15	1539	[DEBUG]	Check product language entry
2023-10-13	12:48:15	1539	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861031
2023-10-13	12:48:15	1539	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:15	1539	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114058' AND `virtuemart_product_id` != 1861031
2023-10-13	12:48:15	1539	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:15	1539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861031, '1000000114058')
2023-10-13	12:48:15	1539	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:15	1539	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-45' AND `virtuemart_product_id` != 1861031
2023-10-13	12:48:15	1539	[DEBUG]	Query for ProductLang
2023-10-13	12:48:15	1539	[DEBUG]	Executed store
2023-10-13	12:48:15	1539	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Orange (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-45' WHERE `virtuemart_product_id` = '1861031'
2023-10-13	12:48:15	1539	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:15	1539	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:15	1539	[DEBUG]	Process image file
2023-10-13	12:48:15	1539	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:15	1539	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:15	1539	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:15	1539	[DEBUG]	Full name target: bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:16	1539	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:16	1539	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:16	1539	[DEBUG]	Query for Media
2023-10-13	12:48:16	1539	[DEBUG]	Executed store
2023-10-13	12:48:16	1539	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15968'
2023-10-13	12:48:16	1539	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:16	1539	[DEBUG]	Executed store
2023-10-13	12:48:16	1539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861031','15968','1')
2023-10-13	12:48:16	1539	[DEBUG]	Store product image relation
2023-10-13	12:48:16	1539	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:16	1539	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861031 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:16	1539	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:16	1539	[DEBUG]	Executed store
2023-10-13	12:48:16	1539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861031','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:16	1539	[DEBUG]	Checking manufacturer
2023-10-13	12:48:16	1539	[DEBUG]	Load a row
2023-10-13	12:48:16	1539	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:16	1539	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:16	1539	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:16	1539	[DEBUG]	Executed store
2023-10-13	12:48:16	1539	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:16	1539	[DEBUG]	Manufacturer exists
2023-10-13	12:48:16	1539	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:16	1539	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:16	1539	[DEBUG]	Executed store
2023-10-13	12:48:16	1539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861031','32')
2023-10-13	12:48:16	1539	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:16	1539	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:16	1539	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861031 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:16	1539	[DEBUG]	Store custom available field
2023-10-13	12:48:16	1539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861031,3,'',1)
2023-10-13	12:48:16	1539	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:16	1539	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:48:16	1539	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861031 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:16	1539	[DEBUG]	Store custom available field
2023-10-13	12:48:16	1539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861031,6,'45',3)
2023-10-13	12:48:16	1539	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:16	1539	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:16	1539	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861023
2023-10-13	12:48:16	1539	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:16	1539	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1861023\":[1861023,8,1,\"choisir la taille\"],\"1861024\":[\"38\"],\"1861025\":[\"39\"],\"1861026\":[\"40\"],\"1861027\":[\"41\"],\"1861028\":[\"42\"],\"1861029\":[\"43\"],\"1861030\":[\"44\"],\"1861031\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861023
2023-10-13	12:48:16	1539	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:16	1539	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861031
2023-10-13	12:48:16	1540	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:16	1540	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:16	1540	[DEBUG]	Use field value for field taille
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:16	1540	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:16	1540	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:16	1540	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:16	1540	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:16	1540	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:16	1540	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:16	1540	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:16	1540	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:16	1540	[DEBUG]	Use field value for field published
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:16	1540	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field override
2023-10-13	12:48:16	1540	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:16	1540	[DEBUG]	Use field value for field slug
2023-10-13	12:48:16	1540	[DEBUG]	Process line 1540
2023-10-13	12:48:16	1540	[DEBUG]	Load a row
2023-10-13	12:48:16	1540	[DEBUG]	Processing item: 8435466215736
2023-10-13	12:48:16	1540	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:16	1540	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:16	1540	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_27'
2023-10-13	12:48:16	1540	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:16	1540	[DEBUG]	Processing product tax
2023-10-13	12:48:16	1540	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:16	1540	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:16	1540	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:16	1540	[DEBUG]	Query for Product
2023-10-13	12:48:16	1540	[DEBUG]	Executed store
2023-10-13	12:48:16	1540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861023','8435466215736','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:16	1540	[DEBUG]	No parent found
2023-10-13	12:48:16	1540	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861023 AND customfield_value = 'stockable'
2023-10-13	12:48:16	1540	[DEBUG]	Check product language entry
2023-10-13	12:48:16	1540	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861032
2023-10-13	12:48:16	1540	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:16	1540	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215736' AND `virtuemart_product_id` != 1861032
2023-10-13	12:48:16	1540	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:16	1540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861032, '8435466215736')
2023-10-13	12:48:16	1540	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:16	1540	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-46' AND `virtuemart_product_id` != 1861032
2023-10-13	12:48:16	1540	[DEBUG]	Query for ProductLang
2023-10-13	12:48:16	1540	[DEBUG]	Executed store
2023-10-13	12:48:16	1540	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Orange (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-46' WHERE `virtuemart_product_id` = '1861032'
2023-10-13	12:48:16	1540	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:16	1540	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:16	1540	[DEBUG]	Process image file
2023-10-13	12:48:16	1540	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:16	1540	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:16	1540	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:16	1540	[DEBUG]	Full name target: bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:17	1540	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:17	1540	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:17	1540	[DEBUG]	Query for Media
2023-10-13	12:48:17	1540	[DEBUG]	Executed store
2023-10-13	12:48:17	1540	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15968'
2023-10-13	12:48:17	1540	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:17	1540	[DEBUG]	Executed store
2023-10-13	12:48:17	1540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861032','15968','1')
2023-10-13	12:48:17	1540	[DEBUG]	Store product image relation
2023-10-13	12:48:17	1540	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:17	1540	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861032 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:17	1540	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:17	1540	[DEBUG]	Executed store
2023-10-13	12:48:17	1540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861032','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:17	1540	[DEBUG]	Checking manufacturer
2023-10-13	12:48:17	1540	[DEBUG]	Load a row
2023-10-13	12:48:17	1540	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:17	1540	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:17	1540	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:17	1540	[DEBUG]	Executed store
2023-10-13	12:48:17	1540	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:17	1540	[DEBUG]	Manufacturer exists
2023-10-13	12:48:17	1540	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:17	1540	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:17	1540	[DEBUG]	Executed store
2023-10-13	12:48:17	1540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861032','32')
2023-10-13	12:48:17	1540	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:17	1540	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:17	1540	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861032 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:17	1540	[DEBUG]	Store custom available field
2023-10-13	12:48:17	1540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861032,3,'',1)
2023-10-13	12:48:17	1540	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:17	1540	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:48:17	1540	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861032 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:17	1540	[DEBUG]	Store custom available field
2023-10-13	12:48:17	1540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861032,6,'46',3)
2023-10-13	12:48:17	1540	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:17	1540	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:17	1540	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861023
2023-10-13	12:48:17	1540	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:17	1540	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1861023\":[1861023,8,1,\"choisir la taille\"],\"1861024\":[\"38\"],\"1861025\":[\"39\"],\"1861026\":[\"40\"],\"1861027\":[\"41\"],\"1861028\":[\"42\"],\"1861029\":[\"43\"],\"1861030\":[\"44\"],\"1861031\":[\"45\"],\"1861032\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861023
2023-10-13	12:48:17	1540	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:17	1540	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861032
2023-10-13	12:48:17	1541	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:17	1541	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:17	1541	[DEBUG]	Use field value for field taille
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:17	1541	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:17	1541	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:17	1541	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:17	1541	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:17	1541	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:17	1541	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:17	1541	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:17	1541	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:17	1541	[DEBUG]	Use field value for field published
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:17	1541	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field override
2023-10-13	12:48:17	1541	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:17	1541	[DEBUG]	Use field value for field slug
2023-10-13	12:48:17	1541	[DEBUG]	Process line 1541
2023-10-13	12:48:17	1541	[DEBUG]	Load a row
2023-10-13	12:48:17	1541	[DEBUG]	Processing item: 1000000114072
2023-10-13	12:48:17	1541	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:17	1541	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:17	1541	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_27'
2023-10-13	12:48:17	1541	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:17	1541	[DEBUG]	Processing product tax
2023-10-13	12:48:17	1541	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:17	1541	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:17	1541	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:17	1541	[DEBUG]	Query for Product
2023-10-13	12:48:17	1541	[DEBUG]	Executed store
2023-10-13	12:48:17	1541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861023','1000000114072','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:17	1541	[DEBUG]	No parent found
2023-10-13	12:48:17	1541	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861023 AND customfield_value = 'stockable'
2023-10-13	12:48:17	1541	[DEBUG]	Check product language entry
2023-10-13	12:48:17	1541	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861033
2023-10-13	12:48:17	1541	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:17	1541	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114072' AND `virtuemart_product_id` != 1861033
2023-10-13	12:48:17	1541	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:17	1541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861033, '1000000114072')
2023-10-13	12:48:17	1541	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:17	1541	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-47' AND `virtuemart_product_id` != 1861033
2023-10-13	12:48:17	1541	[DEBUG]	Query for ProductLang
2023-10-13	12:48:17	1541	[DEBUG]	Executed store
2023-10-13	12:48:17	1541	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Orange (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-orange-47' WHERE `virtuemart_product_id` = '1861033'
2023-10-13	12:48:17	1541	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:17	1541	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:17	1541	[DEBUG]	Process image file
2023-10-13	12:48:17	1541	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:17	1541	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:17	1541	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:17	1541	[DEBUG]	Full name target: bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:18	1541	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:18	1541	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:18	1541	[DEBUG]	Query for Media
2023-10-13	12:48:18	1541	[DEBUG]	Executed store
2023-10-13	12:48:18	1541	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34018_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15968'
2023-10-13	12:48:18	1541	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:18	1541	[DEBUG]	Executed store
2023-10-13	12:48:18	1541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861033','15968','1')
2023-10-13	12:48:18	1541	[DEBUG]	Store product image relation
2023-10-13	12:48:18	1541	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:18	1541	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861033 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:18	1541	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:18	1541	[DEBUG]	Executed store
2023-10-13	12:48:18	1541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861033','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:18	1541	[DEBUG]	Checking manufacturer
2023-10-13	12:48:18	1541	[DEBUG]	Load a row
2023-10-13	12:48:18	1541	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:18	1541	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:18	1541	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:18	1541	[DEBUG]	Executed store
2023-10-13	12:48:18	1541	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:18	1541	[DEBUG]	Manufacturer exists
2023-10-13	12:48:18	1541	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:18	1541	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:18	1541	[DEBUG]	Executed store
2023-10-13	12:48:18	1541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861033','32')
2023-10-13	12:48:18	1541	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:18	1541	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:18	1541	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861033 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:18	1541	[DEBUG]	Store custom available field
2023-10-13	12:48:18	1541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861033,3,'',1)
2023-10-13	12:48:18	1541	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:18	1541	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:48:18	1541	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861033 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:18	1541	[DEBUG]	Store custom available field
2023-10-13	12:48:18	1541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861033,6,'47',3)
2023-10-13	12:48:18	1541	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:18	1541	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:18	1541	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861023
2023-10-13	12:48:18	1541	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:18	1541	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1861023\":[1861023,8,1,\"choisir la taille\"],\"1861024\":[\"38\"],\"1861025\":[\"39\"],\"1861026\":[\"40\"],\"1861027\":[\"41\"],\"1861028\":[\"42\"],\"1861029\":[\"43\"],\"1861030\":[\"44\"],\"1861031\":[\"45\"],\"1861032\":[\"46\"],\"1861033\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1861023
2023-10-13	12:48:18	1541	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:18	1541	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861033
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:18	1542	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field taille
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field category_path
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:18	1542	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:48:18	1542	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:18	1542	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field product_weight
2023-10-13	12:48:18	1542	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:18	1542	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:18	1542	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field published
2023-10-13	12:48:18	1542	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:18	1542	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field custom_title
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field custom_param
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field override
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field public_price
2023-10-13	12:48:18	1542	[DEBUG]	Use field value for field slug
2023-10-13	12:48:18	1542	[DEBUG]	Process line 1542
2023-10-13	12:48:18	1542	[DEBUG]	Load a row
2023-10-13	12:48:18	1542	[DEBUG]	Processing item: A_6901_40
2023-10-13	12:48:18	1542	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:18	1542	[DEBUG]	Processing product tax
2023-10-13	12:48:18	1542	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:18	1542	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:18	1542	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:18	1542	[DEBUG]	Query for Product
2023-10-13	12:48:18	1542	[DEBUG]	Executed store
2023-10-13	12:48:18	1542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6901_40','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:18	1542	[DEBUG]	Check product language entry
2023-10-13	12:48:18	1542	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861034
2023-10-13	12:48:18	1542	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:18	1542	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6901_40' AND `virtuemart_product_id` != 1861034
2023-10-13	12:48:18	1542	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:18	1542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861034, 'A_6901_40')
2023-10-13	12:48:18	1542	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:18	1542	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert' AND `virtuemart_product_id` != 1861034
2023-10-13	12:48:18	1542	[DEBUG]	Query for ProductLang
2023-10-13	12:48:18	1542	[DEBUG]	Executed store
2023-10-13	12:48:18	1542	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro VTT XC avec système de ventilation breveté ! 699 GR.<br>N° art fourn : ZAEROXC',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert' WHERE `virtuemart_product_id` = '1861034'
2023-10-13	12:48:18	1542	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:18	1542	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:18	1542	[DEBUG]	Process image file
2023-10-13	12:48:18	1542	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:18	1542	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:18	1542	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:18	1542	[DEBUG]	Full name target: bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:19	1542	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:19	1542	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:19	1542	[DEBUG]	Query for Media
2023-10-13	12:48:19	1542	[DEBUG]	Executed store
2023-10-13	12:48:19	1542	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15969'
2023-10-13	12:48:19	1542	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:19	1542	[DEBUG]	Executed store
2023-10-13	12:48:19	1542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861034','15969','1')
2023-10-13	12:48:19	1542	[DEBUG]	Store product image relation
2023-10-13	12:48:19	1542	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:19	1542	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861034 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:19	1542	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:19	1542	[DEBUG]	Executed store
2023-10-13	12:48:19	1542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861034','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:19	1542	[DEBUG]	Checking manufacturer
2023-10-13	12:48:19	1542	[DEBUG]	Load a row
2023-10-13	12:48:19	1542	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:19	1542	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:19	1542	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:19	1542	[DEBUG]	Executed store
2023-10-13	12:48:19	1542	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:19	1542	[DEBUG]	Manufacturer exists
2023-10-13	12:48:19	1542	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:19	1542	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:19	1542	[DEBUG]	Executed store
2023-10-13	12:48:19	1542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861034','32')
2023-10-13	12:48:19	1542	[DEBUG]	Find the custom field ID
2023-10-13	12:48:19	1542	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:48:19	1542	[DEBUG]	No custom field ID found
2023-10-13	12:48:19	1542	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:19	1542	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:48:19	1542	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861034 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:19	1542	[DEBUG]	Store custom available field
2023-10-13	12:48:19	1542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861034,3,'179.400277777778',1)
2023-10-13	12:48:19	1542	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:19	1542	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:48:19	1542	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861034 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:19	1542	[DEBUG]	Store custom available field
2023-10-13	12:48:19	1542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861034,6,'choisir la taille',3)
2023-10-13	12:48:19	1542	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:19	1542	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:48:19	1542	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:48:19	1542	[DEBUG]	Find the multi variant product entry
2023-10-13	12:48:19	1542	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861034 AND `virtuemart_custom_id` = 8
2023-10-13	12:48:19	1542	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:48:19	1542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861034,8,1)
2023-10-13	12:48:19	1542	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:19	1542	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861034\":[1861034,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861034
2023-10-13	12:48:19	1542	[DEBUG]	Checking category
2023-10-13	12:48:19	1542	[DEBUG]	Get the existing categories for the product
2023-10-13	12:48:19	1542	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861034
2023-10-13	12:48:19	1542	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:48:19	1542	[DEBUG]	Executed store
2023-10-13	12:48:19	1542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861034','7331')
2023-10-13	12:48:19	1542	[DEBUG]	Delete leftover product categories
2023-10-13	12:48:19	1542	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861034 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:48:19	1542	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:19	1542	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861034
2023-10-13	12:48:19	1543	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:19	1543	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:19	1543	[DEBUG]	Use field value for field taille
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:19	1543	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:19	1543	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:19	1543	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:19	1543	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:19	1543	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:19	1543	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:19	1543	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:19	1543	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:19	1543	[DEBUG]	Use field value for field published
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:19	1543	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field override
2023-10-13	12:48:19	1543	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:19	1543	[DEBUG]	Use field value for field slug
2023-10-13	12:48:19	1543	[DEBUG]	Process line 1543
2023-10-13	12:48:19	1543	[DEBUG]	Load a row
2023-10-13	12:48:19	1543	[DEBUG]	Processing item: 1000000111026
2023-10-13	12:48:19	1543	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:19	1543	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:19	1543	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_40'
2023-10-13	12:48:19	1543	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:19	1543	[DEBUG]	Processing product tax
2023-10-13	12:48:19	1543	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:19	1543	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:19	1543	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:19	1543	[DEBUG]	Query for Product
2023-10-13	12:48:19	1543	[DEBUG]	Executed store
2023-10-13	12:48:19	1543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861034','1000000111026','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:19	1543	[DEBUG]	No parent found
2023-10-13	12:48:19	1543	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861034 AND customfield_value = 'stockable'
2023-10-13	12:48:19	1543	[DEBUG]	Check product language entry
2023-10-13	12:48:19	1543	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861035
2023-10-13	12:48:19	1543	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:19	1543	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000111026' AND `virtuemart_product_id` != 1861035
2023-10-13	12:48:19	1543	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:19	1543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861035, '1000000111026')
2023-10-13	12:48:19	1543	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:19	1543	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-38' AND `virtuemart_product_id` != 1861035
2023-10-13	12:48:19	1543	[DEBUG]	Query for ProductLang
2023-10-13	12:48:19	1543	[DEBUG]	Executed store
2023-10-13	12:48:19	1543	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Vert (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-38' WHERE `virtuemart_product_id` = '1861035'
2023-10-13	12:48:19	1543	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:19	1543	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:19	1543	[DEBUG]	Process image file
2023-10-13	12:48:19	1543	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:19	1543	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:19	1543	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:19	1543	[DEBUG]	Full name target: bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:20	1543	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:20	1543	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:20	1543	[DEBUG]	Query for Media
2023-10-13	12:48:20	1543	[DEBUG]	Executed store
2023-10-13	12:48:20	1543	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15969'
2023-10-13	12:48:20	1543	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:20	1543	[DEBUG]	Executed store
2023-10-13	12:48:20	1543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861035','15969','1')
2023-10-13	12:48:20	1543	[DEBUG]	Store product image relation
2023-10-13	12:48:20	1543	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:20	1543	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861035 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:20	1543	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:20	1543	[DEBUG]	Executed store
2023-10-13	12:48:20	1543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861035','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:20	1543	[DEBUG]	Checking manufacturer
2023-10-13	12:48:20	1543	[DEBUG]	Load a row
2023-10-13	12:48:20	1543	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:20	1543	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:20	1543	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:20	1543	[DEBUG]	Executed store
2023-10-13	12:48:20	1543	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:20	1543	[DEBUG]	Manufacturer exists
2023-10-13	12:48:20	1543	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:20	1543	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:20	1543	[DEBUG]	Executed store
2023-10-13	12:48:20	1543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861035','32')
2023-10-13	12:48:20	1543	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:20	1543	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:20	1543	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861035 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:20	1543	[DEBUG]	Store custom available field
2023-10-13	12:48:20	1543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861035,3,'',1)
2023-10-13	12:48:20	1543	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:20	1543	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:48:20	1543	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861035 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:20	1543	[DEBUG]	Store custom available field
2023-10-13	12:48:20	1543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861035,6,'38',3)
2023-10-13	12:48:20	1543	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:20	1543	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:20	1543	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861034
2023-10-13	12:48:20	1543	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:20	1543	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1861034\":[1861034,8,1,\"choisir la taille\"],\"1861035\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1861034
2023-10-13	12:48:20	1543	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:20	1543	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861035
2023-10-13	12:48:20	1544	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:20	1544	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:20	1544	[DEBUG]	Use field value for field taille
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:20	1544	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:20	1544	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:20	1544	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:20	1544	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:20	1544	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:20	1544	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:20	1544	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:20	1544	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:20	1544	[DEBUG]	Use field value for field published
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:20	1544	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field override
2023-10-13	12:48:20	1544	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:20	1544	[DEBUG]	Use field value for field slug
2023-10-13	12:48:20	1544	[DEBUG]	Process line 1544
2023-10-13	12:48:20	1544	[DEBUG]	Load a row
2023-10-13	12:48:20	1544	[DEBUG]	Processing item: 1000000113631
2023-10-13	12:48:20	1544	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:20	1544	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:20	1544	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_40'
2023-10-13	12:48:20	1544	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:20	1544	[DEBUG]	Processing product tax
2023-10-13	12:48:20	1544	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:20	1544	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:20	1544	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:20	1544	[DEBUG]	Query for Product
2023-10-13	12:48:20	1544	[DEBUG]	Executed store
2023-10-13	12:48:20	1544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861034','1000000113631','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:20	1544	[DEBUG]	No parent found
2023-10-13	12:48:20	1544	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861034 AND customfield_value = 'stockable'
2023-10-13	12:48:20	1544	[DEBUG]	Check product language entry
2023-10-13	12:48:20	1544	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861036
2023-10-13	12:48:20	1544	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:20	1544	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113631' AND `virtuemart_product_id` != 1861036
2023-10-13	12:48:20	1544	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:20	1544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861036, '1000000113631')
2023-10-13	12:48:20	1544	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:20	1544	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-39' AND `virtuemart_product_id` != 1861036
2023-10-13	12:48:20	1544	[DEBUG]	Query for ProductLang
2023-10-13	12:48:20	1544	[DEBUG]	Executed store
2023-10-13	12:48:20	1544	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Vert (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-39' WHERE `virtuemart_product_id` = '1861036'
2023-10-13	12:48:20	1544	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:20	1544	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:20	1544	[DEBUG]	Process image file
2023-10-13	12:48:20	1544	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:20	1544	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:20	1544	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:20	1544	[DEBUG]	Full name target: bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:21	1544	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:21	1544	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:21	1544	[DEBUG]	Query for Media
2023-10-13	12:48:21	1544	[DEBUG]	Executed store
2023-10-13	12:48:21	1544	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15969'
2023-10-13	12:48:21	1544	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:21	1544	[DEBUG]	Executed store
2023-10-13	12:48:21	1544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861036','15969','1')
2023-10-13	12:48:21	1544	[DEBUG]	Store product image relation
2023-10-13	12:48:21	1544	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:21	1544	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861036 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:21	1544	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:21	1544	[DEBUG]	Executed store
2023-10-13	12:48:21	1544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861036','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:21	1544	[DEBUG]	Checking manufacturer
2023-10-13	12:48:21	1544	[DEBUG]	Load a row
2023-10-13	12:48:21	1544	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:21	1544	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:21	1544	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:21	1544	[DEBUG]	Executed store
2023-10-13	12:48:21	1544	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:21	1544	[DEBUG]	Manufacturer exists
2023-10-13	12:48:21	1544	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:21	1544	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:21	1544	[DEBUG]	Executed store
2023-10-13	12:48:21	1544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861036','32')
2023-10-13	12:48:21	1544	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:21	1544	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:21	1544	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861036 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:21	1544	[DEBUG]	Store custom available field
2023-10-13	12:48:21	1544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861036,3,'',1)
2023-10-13	12:48:21	1544	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:21	1544	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:48:21	1544	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861036 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:21	1544	[DEBUG]	Store custom available field
2023-10-13	12:48:21	1544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861036,6,'39',3)
2023-10-13	12:48:21	1544	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:21	1544	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:21	1544	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861034
2023-10-13	12:48:21	1544	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:21	1544	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1861034\":[1861034,8,1,\"choisir la taille\"],\"1861035\":[\"38\"],\"1861036\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861034
2023-10-13	12:48:21	1544	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:21	1544	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861036
2023-10-13	12:48:21	1545	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:21	1545	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:21	1545	[DEBUG]	Use field value for field taille
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:21	1545	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:21	1545	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:21	1545	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:21	1545	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:21	1545	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:21	1545	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:21	1545	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:21	1545	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:21	1545	[DEBUG]	Use field value for field published
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:21	1545	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field override
2023-10-13	12:48:21	1545	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:21	1545	[DEBUG]	Use field value for field slug
2023-10-13	12:48:21	1545	[DEBUG]	Process line 1545
2023-10-13	12:48:21	1545	[DEBUG]	Load a row
2023-10-13	12:48:21	1545	[DEBUG]	Processing item: 1000000113648
2023-10-13	12:48:21	1545	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:21	1545	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:21	1545	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_40'
2023-10-13	12:48:21	1545	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:21	1545	[DEBUG]	Processing product tax
2023-10-13	12:48:21	1545	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:21	1545	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:21	1545	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:21	1545	[DEBUG]	Query for Product
2023-10-13	12:48:21	1545	[DEBUG]	Executed store
2023-10-13	12:48:21	1545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861034','1000000113648','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:21	1545	[DEBUG]	No parent found
2023-10-13	12:48:21	1545	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861034 AND customfield_value = 'stockable'
2023-10-13	12:48:21	1545	[DEBUG]	Check product language entry
2023-10-13	12:48:21	1545	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861037
2023-10-13	12:48:21	1545	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:21	1545	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113648' AND `virtuemart_product_id` != 1861037
2023-10-13	12:48:21	1545	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:21	1545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861037, '1000000113648')
2023-10-13	12:48:21	1545	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:21	1545	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-40' AND `virtuemart_product_id` != 1861037
2023-10-13	12:48:21	1545	[DEBUG]	Query for ProductLang
2023-10-13	12:48:21	1545	[DEBUG]	Executed store
2023-10-13	12:48:21	1545	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Vert (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-40' WHERE `virtuemart_product_id` = '1861037'
2023-10-13	12:48:21	1545	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:21	1545	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:21	1545	[DEBUG]	Process image file
2023-10-13	12:48:21	1545	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:21	1545	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:21	1545	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:21	1545	[DEBUG]	Full name target: bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:22	1545	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:22	1545	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:22	1545	[DEBUG]	Query for Media
2023-10-13	12:48:22	1545	[DEBUG]	Executed store
2023-10-13	12:48:22	1545	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15969'
2023-10-13	12:48:22	1545	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:22	1545	[DEBUG]	Executed store
2023-10-13	12:48:22	1545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861037','15969','1')
2023-10-13	12:48:22	1545	[DEBUG]	Store product image relation
2023-10-13	12:48:22	1545	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:22	1545	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861037 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:22	1545	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:22	1545	[DEBUG]	Executed store
2023-10-13	12:48:22	1545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861037','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:22	1545	[DEBUG]	Checking manufacturer
2023-10-13	12:48:22	1545	[DEBUG]	Load a row
2023-10-13	12:48:22	1545	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:22	1545	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:22	1545	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:22	1545	[DEBUG]	Executed store
2023-10-13	12:48:22	1545	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:22	1545	[DEBUG]	Manufacturer exists
2023-10-13	12:48:22	1545	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:22	1545	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:22	1545	[DEBUG]	Executed store
2023-10-13	12:48:22	1545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861037','32')
2023-10-13	12:48:22	1545	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:22	1545	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:22	1545	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861037 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:22	1545	[DEBUG]	Store custom available field
2023-10-13	12:48:22	1545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861037,3,'',1)
2023-10-13	12:48:22	1545	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:22	1545	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:48:22	1545	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861037 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:22	1545	[DEBUG]	Store custom available field
2023-10-13	12:48:22	1545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861037,6,'40',3)
2023-10-13	12:48:22	1545	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:22	1545	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:22	1545	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861034
2023-10-13	12:48:22	1545	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:22	1545	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1861034\":[1861034,8,1,\"choisir la taille\"],\"1861035\":[\"38\"],\"1861036\":[\"39\"],\"1861037\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861034
2023-10-13	12:48:22	1545	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:22	1545	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861037
2023-10-13	12:48:22	1546	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:22	1546	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:22	1546	[DEBUG]	Use field value for field taille
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:22	1546	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:22	1546	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:22	1546	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:22	1546	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:22	1546	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:22	1546	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:22	1546	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:22	1546	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:22	1546	[DEBUG]	Use field value for field published
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:22	1546	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field override
2023-10-13	12:48:22	1546	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:22	1546	[DEBUG]	Use field value for field slug
2023-10-13	12:48:22	1546	[DEBUG]	Process line 1546
2023-10-13	12:48:22	1546	[DEBUG]	Load a row
2023-10-13	12:48:22	1546	[DEBUG]	Processing item: 1000000113655
2023-10-13	12:48:22	1546	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:22	1546	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:22	1546	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_40'
2023-10-13	12:48:22	1546	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:22	1546	[DEBUG]	Processing product tax
2023-10-13	12:48:22	1546	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:22	1546	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:22	1546	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:22	1546	[DEBUG]	Query for Product
2023-10-13	12:48:22	1546	[DEBUG]	Executed store
2023-10-13	12:48:22	1546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861034','1000000113655','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:22	1546	[DEBUG]	No parent found
2023-10-13	12:48:22	1546	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861034 AND customfield_value = 'stockable'
2023-10-13	12:48:22	1546	[DEBUG]	Check product language entry
2023-10-13	12:48:22	1546	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861038
2023-10-13	12:48:22	1546	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:22	1546	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113655' AND `virtuemart_product_id` != 1861038
2023-10-13	12:48:22	1546	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:22	1546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861038, '1000000113655')
2023-10-13	12:48:22	1546	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:22	1546	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-41' AND `virtuemart_product_id` != 1861038
2023-10-13	12:48:22	1546	[DEBUG]	Query for ProductLang
2023-10-13	12:48:22	1546	[DEBUG]	Executed store
2023-10-13	12:48:22	1546	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Vert (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-41' WHERE `virtuemart_product_id` = '1861038'
2023-10-13	12:48:22	1546	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:22	1546	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:22	1546	[DEBUG]	Process image file
2023-10-13	12:48:22	1546	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:22	1546	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:22	1546	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:22	1546	[DEBUG]	Full name target: bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:23	1546	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:23	1546	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:23	1546	[DEBUG]	Query for Media
2023-10-13	12:48:23	1546	[DEBUG]	Executed store
2023-10-13	12:48:23	1546	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15969'
2023-10-13	12:48:23	1546	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:23	1546	[DEBUG]	Executed store
2023-10-13	12:48:23	1546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861038','15969','1')
2023-10-13	12:48:23	1546	[DEBUG]	Store product image relation
2023-10-13	12:48:23	1546	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:23	1546	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861038 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:23	1546	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:23	1546	[DEBUG]	Executed store
2023-10-13	12:48:23	1546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861038','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:23	1546	[DEBUG]	Checking manufacturer
2023-10-13	12:48:23	1546	[DEBUG]	Load a row
2023-10-13	12:48:23	1546	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:23	1546	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:23	1546	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:23	1546	[DEBUG]	Executed store
2023-10-13	12:48:23	1546	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:23	1546	[DEBUG]	Manufacturer exists
2023-10-13	12:48:23	1546	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:23	1546	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:23	1546	[DEBUG]	Executed store
2023-10-13	12:48:23	1546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861038','32')
2023-10-13	12:48:23	1546	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:23	1546	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:23	1546	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861038 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:23	1546	[DEBUG]	Store custom available field
2023-10-13	12:48:23	1546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861038,3,'',1)
2023-10-13	12:48:23	1546	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:23	1546	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:48:23	1546	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861038 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:23	1546	[DEBUG]	Store custom available field
2023-10-13	12:48:23	1546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861038,6,'41',3)
2023-10-13	12:48:23	1546	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:23	1546	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:23	1546	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861034
2023-10-13	12:48:23	1546	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:23	1546	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1861034\":[1861034,8,1,\"choisir la taille\"],\"1861035\":[\"38\"],\"1861036\":[\"39\"],\"1861037\":[\"40\"],\"1861038\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861034
2023-10-13	12:48:23	1546	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:23	1546	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861038
2023-10-13	12:48:23	1547	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:23	1547	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:23	1547	[DEBUG]	Use field value for field taille
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:23	1547	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:23	1547	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:23	1547	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:23	1547	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:23	1547	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:23	1547	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:23	1547	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:23	1547	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:23	1547	[DEBUG]	Use field value for field published
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:23	1547	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field override
2023-10-13	12:48:23	1547	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:23	1547	[DEBUG]	Use field value for field slug
2023-10-13	12:48:23	1547	[DEBUG]	Process line 1547
2023-10-13	12:48:23	1547	[DEBUG]	Load a row
2023-10-13	12:48:23	1547	[DEBUG]	Processing item: 1000000113662
2023-10-13	12:48:23	1547	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:23	1547	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:23	1547	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_40'
2023-10-13	12:48:23	1547	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:23	1547	[DEBUG]	Processing product tax
2023-10-13	12:48:23	1547	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:23	1547	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:23	1547	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:23	1547	[DEBUG]	Query for Product
2023-10-13	12:48:23	1547	[DEBUG]	Executed store
2023-10-13	12:48:23	1547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861034','1000000113662','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:23	1547	[DEBUG]	No parent found
2023-10-13	12:48:23	1547	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861034 AND customfield_value = 'stockable'
2023-10-13	12:48:23	1547	[DEBUG]	Check product language entry
2023-10-13	12:48:23	1547	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861039
2023-10-13	12:48:23	1547	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:23	1547	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113662' AND `virtuemart_product_id` != 1861039
2023-10-13	12:48:23	1547	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:23	1547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861039, '1000000113662')
2023-10-13	12:48:23	1547	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:23	1547	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-42' AND `virtuemart_product_id` != 1861039
2023-10-13	12:48:23	1547	[DEBUG]	Query for ProductLang
2023-10-13	12:48:23	1547	[DEBUG]	Executed store
2023-10-13	12:48:23	1547	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Vert (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-42' WHERE `virtuemart_product_id` = '1861039'
2023-10-13	12:48:23	1547	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:23	1547	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:23	1547	[DEBUG]	Process image file
2023-10-13	12:48:23	1547	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:23	1547	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:23	1547	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:23	1547	[DEBUG]	Full name target: bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:24	1547	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:24	1547	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:24	1547	[DEBUG]	Query for Media
2023-10-13	12:48:24	1547	[DEBUG]	Executed store
2023-10-13	12:48:24	1547	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15969'
2023-10-13	12:48:24	1547	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:24	1547	[DEBUG]	Executed store
2023-10-13	12:48:24	1547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861039','15969','1')
2023-10-13	12:48:24	1547	[DEBUG]	Store product image relation
2023-10-13	12:48:24	1547	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:24	1547	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861039 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:24	1547	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:24	1547	[DEBUG]	Executed store
2023-10-13	12:48:24	1547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861039','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:24	1547	[DEBUG]	Checking manufacturer
2023-10-13	12:48:24	1547	[DEBUG]	Load a row
2023-10-13	12:48:24	1547	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:24	1547	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:24	1547	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:24	1547	[DEBUG]	Executed store
2023-10-13	12:48:24	1547	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:24	1547	[DEBUG]	Manufacturer exists
2023-10-13	12:48:24	1547	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:24	1547	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:24	1547	[DEBUG]	Executed store
2023-10-13	12:48:24	1547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861039','32')
2023-10-13	12:48:24	1547	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:24	1547	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:24	1547	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861039 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:24	1547	[DEBUG]	Store custom available field
2023-10-13	12:48:24	1547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861039,3,'',1)
2023-10-13	12:48:24	1547	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:24	1547	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:48:24	1547	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861039 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:24	1547	[DEBUG]	Store custom available field
2023-10-13	12:48:24	1547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861039,6,'42',3)
2023-10-13	12:48:24	1547	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:24	1547	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:24	1547	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861034
2023-10-13	12:48:24	1547	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:24	1547	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1861034\":[1861034,8,1,\"choisir la taille\"],\"1861035\":[\"38\"],\"1861036\":[\"39\"],\"1861037\":[\"40\"],\"1861038\":[\"41\"],\"1861039\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861034
2023-10-13	12:48:24	1547	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:24	1547	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861039
2023-10-13	12:48:24	1548	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:24	1548	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:24	1548	[DEBUG]	Use field value for field taille
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:24	1548	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:24	1548	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:24	1548	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:24	1548	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:24	1548	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:24	1548	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:24	1548	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:24	1548	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:24	1548	[DEBUG]	Use field value for field published
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:24	1548	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field override
2023-10-13	12:48:24	1548	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:24	1548	[DEBUG]	Use field value for field slug
2023-10-13	12:48:24	1548	[DEBUG]	Process line 1548
2023-10-13	12:48:24	1548	[DEBUG]	Load a row
2023-10-13	12:48:24	1548	[DEBUG]	Processing item: 1000000113679
2023-10-13	12:48:24	1548	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:24	1548	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:24	1548	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_40'
2023-10-13	12:48:24	1548	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:24	1548	[DEBUG]	Processing product tax
2023-10-13	12:48:24	1548	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:24	1548	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:24	1548	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:24	1548	[DEBUG]	Query for Product
2023-10-13	12:48:24	1548	[DEBUG]	Executed store
2023-10-13	12:48:24	1548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861034','1000000113679','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:24	1548	[DEBUG]	No parent found
2023-10-13	12:48:24	1548	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861034 AND customfield_value = 'stockable'
2023-10-13	12:48:24	1548	[DEBUG]	Check product language entry
2023-10-13	12:48:24	1548	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861040
2023-10-13	12:48:24	1548	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:24	1548	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113679' AND `virtuemart_product_id` != 1861040
2023-10-13	12:48:24	1548	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:24	1548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861040, '1000000113679')
2023-10-13	12:48:24	1548	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:24	1548	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-43' AND `virtuemart_product_id` != 1861040
2023-10-13	12:48:24	1548	[DEBUG]	Query for ProductLang
2023-10-13	12:48:24	1548	[DEBUG]	Executed store
2023-10-13	12:48:24	1548	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Vert (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-43' WHERE `virtuemart_product_id` = '1861040'
2023-10-13	12:48:24	1548	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:24	1548	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:24	1548	[DEBUG]	Process image file
2023-10-13	12:48:24	1548	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:24	1548	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:24	1548	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:24	1548	[DEBUG]	Full name target: bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:25	1548	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:25	1548	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:25	1548	[DEBUG]	Query for Media
2023-10-13	12:48:25	1548	[DEBUG]	Executed store
2023-10-13	12:48:25	1548	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15969'
2023-10-13	12:48:25	1548	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:25	1548	[DEBUG]	Executed store
2023-10-13	12:48:25	1548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861040','15969','1')
2023-10-13	12:48:25	1548	[DEBUG]	Store product image relation
2023-10-13	12:48:25	1548	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:25	1548	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861040 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:25	1548	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:25	1548	[DEBUG]	Executed store
2023-10-13	12:48:25	1548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861040','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:25	1548	[DEBUG]	Checking manufacturer
2023-10-13	12:48:25	1548	[DEBUG]	Load a row
2023-10-13	12:48:25	1548	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:25	1548	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:25	1548	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:25	1548	[DEBUG]	Executed store
2023-10-13	12:48:25	1548	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:25	1548	[DEBUG]	Manufacturer exists
2023-10-13	12:48:25	1548	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:25	1548	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:25	1548	[DEBUG]	Executed store
2023-10-13	12:48:25	1548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861040','32')
2023-10-13	12:48:25	1548	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:25	1548	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:25	1548	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861040 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:25	1548	[DEBUG]	Store custom available field
2023-10-13	12:48:25	1548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861040,3,'',1)
2023-10-13	12:48:25	1548	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:25	1548	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:48:25	1548	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861040 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:25	1548	[DEBUG]	Store custom available field
2023-10-13	12:48:25	1548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861040,6,'43',3)
2023-10-13	12:48:25	1548	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:25	1548	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:25	1548	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861034
2023-10-13	12:48:25	1548	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:25	1548	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1861034\":[1861034,8,1,\"choisir la taille\"],\"1861035\":[\"38\"],\"1861036\":[\"39\"],\"1861037\":[\"40\"],\"1861038\":[\"41\"],\"1861039\":[\"42\"],\"1861040\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861034
2023-10-13	12:48:25	1548	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:25	1548	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861040
2023-10-13	12:48:25	1549	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:25	1549	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:25	1549	[DEBUG]	Use field value for field taille
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:25	1549	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:25	1549	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:25	1549	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:25	1549	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:25	1549	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:25	1549	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:25	1549	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:25	1549	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:25	1549	[DEBUG]	Use field value for field published
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:25	1549	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field override
2023-10-13	12:48:25	1549	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:25	1549	[DEBUG]	Use field value for field slug
2023-10-13	12:48:25	1549	[DEBUG]	Process line 1549
2023-10-13	12:48:25	1549	[DEBUG]	Load a row
2023-10-13	12:48:25	1549	[DEBUG]	Processing item: 8435466295837
2023-10-13	12:48:25	1549	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:25	1549	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:25	1549	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_40'
2023-10-13	12:48:25	1549	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:25	1549	[DEBUG]	Processing product tax
2023-10-13	12:48:25	1549	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:25	1549	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:25	1549	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:25	1549	[DEBUG]	Query for Product
2023-10-13	12:48:25	1549	[DEBUG]	Executed store
2023-10-13	12:48:25	1549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861034','8435466295837','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:25	1549	[DEBUG]	No parent found
2023-10-13	12:48:25	1549	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861034 AND customfield_value = 'stockable'
2023-10-13	12:48:25	1549	[DEBUG]	Check product language entry
2023-10-13	12:48:25	1549	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861041
2023-10-13	12:48:25	1549	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:25	1549	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295837' AND `virtuemart_product_id` != 1861041
2023-10-13	12:48:25	1549	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:25	1549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861041, '8435466295837')
2023-10-13	12:48:25	1549	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:25	1549	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-44' AND `virtuemart_product_id` != 1861041
2023-10-13	12:48:25	1549	[DEBUG]	Query for ProductLang
2023-10-13	12:48:25	1549	[DEBUG]	Executed store
2023-10-13	12:48:25	1549	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Vert (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-44' WHERE `virtuemart_product_id` = '1861041'
2023-10-13	12:48:25	1549	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:25	1549	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:25	1549	[DEBUG]	Process image file
2023-10-13	12:48:25	1549	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:25	1549	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:25	1549	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:25	1549	[DEBUG]	Full name target: bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:26	1549	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:26	1549	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:26	1549	[DEBUG]	Query for Media
2023-10-13	12:48:26	1549	[DEBUG]	Executed store
2023-10-13	12:48:26	1549	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15969'
2023-10-13	12:48:26	1549	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:26	1549	[DEBUG]	Executed store
2023-10-13	12:48:26	1549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861041','15969','1')
2023-10-13	12:48:26	1549	[DEBUG]	Store product image relation
2023-10-13	12:48:26	1549	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:26	1549	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861041 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:26	1549	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:26	1549	[DEBUG]	Executed store
2023-10-13	12:48:26	1549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861041','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:26	1549	[DEBUG]	Checking manufacturer
2023-10-13	12:48:26	1549	[DEBUG]	Load a row
2023-10-13	12:48:26	1549	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:26	1549	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:26	1549	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:26	1549	[DEBUG]	Executed store
2023-10-13	12:48:26	1549	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:26	1549	[DEBUG]	Manufacturer exists
2023-10-13	12:48:26	1549	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:26	1549	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:26	1549	[DEBUG]	Executed store
2023-10-13	12:48:26	1549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861041','32')
2023-10-13	12:48:26	1549	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:26	1549	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:26	1549	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861041 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:26	1549	[DEBUG]	Store custom available field
2023-10-13	12:48:26	1549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861041,3,'',1)
2023-10-13	12:48:26	1549	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:26	1549	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:48:26	1549	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861041 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:26	1549	[DEBUG]	Store custom available field
2023-10-13	12:48:26	1549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861041,6,'44',3)
2023-10-13	12:48:26	1549	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:26	1549	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:26	1549	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861034
2023-10-13	12:48:26	1549	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:26	1549	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1861034\":[1861034,8,1,\"choisir la taille\"],\"1861035\":[\"38\"],\"1861036\":[\"39\"],\"1861037\":[\"40\"],\"1861038\":[\"41\"],\"1861039\":[\"42\"],\"1861040\":[\"43\"],\"1861041\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861034
2023-10-13	12:48:26	1549	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:26	1549	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861041
2023-10-13	12:48:26	1550	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:26	1550	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:26	1550	[DEBUG]	Use field value for field taille
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:26	1550	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:26	1550	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:26	1550	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:26	1550	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:26	1550	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:26	1550	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:26	1550	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:26	1550	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:26	1550	[DEBUG]	Use field value for field published
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:26	1550	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field override
2023-10-13	12:48:26	1550	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:26	1550	[DEBUG]	Use field value for field slug
2023-10-13	12:48:26	1550	[DEBUG]	Process line 1550
2023-10-13	12:48:26	1550	[DEBUG]	Load a row
2023-10-13	12:48:26	1550	[DEBUG]	Processing item: 8435466295844
2023-10-13	12:48:26	1550	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:26	1550	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:26	1550	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_40'
2023-10-13	12:48:26	1550	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:26	1550	[DEBUG]	Processing product tax
2023-10-13	12:48:26	1550	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:26	1550	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:26	1550	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:26	1550	[DEBUG]	Query for Product
2023-10-13	12:48:26	1550	[DEBUG]	Executed store
2023-10-13	12:48:26	1550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861034','8435466295844','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:26	1550	[DEBUG]	No parent found
2023-10-13	12:48:26	1550	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861034 AND customfield_value = 'stockable'
2023-10-13	12:48:26	1550	[DEBUG]	Check product language entry
2023-10-13	12:48:26	1550	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861042
2023-10-13	12:48:26	1550	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:26	1550	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295844' AND `virtuemart_product_id` != 1861042
2023-10-13	12:48:26	1550	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:26	1550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861042, '8435466295844')
2023-10-13	12:48:26	1550	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:26	1550	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-45' AND `virtuemart_product_id` != 1861042
2023-10-13	12:48:26	1550	[DEBUG]	Query for ProductLang
2023-10-13	12:48:26	1550	[DEBUG]	Executed store
2023-10-13	12:48:26	1550	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Vert (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-45' WHERE `virtuemart_product_id` = '1861042'
2023-10-13	12:48:26	1550	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:26	1550	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:26	1550	[DEBUG]	Process image file
2023-10-13	12:48:26	1550	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:26	1550	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:26	1550	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:26	1550	[DEBUG]	Full name target: bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:27	1550	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:27	1550	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:27	1550	[DEBUG]	Query for Media
2023-10-13	12:48:27	1550	[DEBUG]	Executed store
2023-10-13	12:48:27	1550	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15969'
2023-10-13	12:48:27	1550	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:27	1550	[DEBUG]	Executed store
2023-10-13	12:48:27	1550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861042','15969','1')
2023-10-13	12:48:27	1550	[DEBUG]	Store product image relation
2023-10-13	12:48:27	1550	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:27	1550	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861042 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:27	1550	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:27	1550	[DEBUG]	Executed store
2023-10-13	12:48:27	1550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861042','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:27	1550	[DEBUG]	Checking manufacturer
2023-10-13	12:48:27	1550	[DEBUG]	Load a row
2023-10-13	12:48:27	1550	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:27	1550	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:27	1550	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:27	1550	[DEBUG]	Executed store
2023-10-13	12:48:27	1550	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:27	1550	[DEBUG]	Manufacturer exists
2023-10-13	12:48:27	1550	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:27	1550	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:27	1550	[DEBUG]	Executed store
2023-10-13	12:48:27	1550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861042','32')
2023-10-13	12:48:27	1550	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:27	1550	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:27	1550	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861042 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:27	1550	[DEBUG]	Store custom available field
2023-10-13	12:48:27	1550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861042,3,'',1)
2023-10-13	12:48:27	1550	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:27	1550	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:48:27	1550	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861042 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:27	1550	[DEBUG]	Store custom available field
2023-10-13	12:48:27	1550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861042,6,'45',3)
2023-10-13	12:48:27	1550	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:27	1550	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:27	1550	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861034
2023-10-13	12:48:27	1550	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:27	1550	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1861034\":[1861034,8,1,\"choisir la taille\"],\"1861035\":[\"38\"],\"1861036\":[\"39\"],\"1861037\":[\"40\"],\"1861038\":[\"41\"],\"1861039\":[\"42\"],\"1861040\":[\"43\"],\"1861041\":[\"44\"],\"1861042\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861034
2023-10-13	12:48:27	1550	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:27	1550	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861042
2023-10-13	12:48:27	1551	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:27	1551	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:27	1551	[DEBUG]	Use field value for field taille
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:27	1551	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:27	1551	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:27	1551	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:27	1551	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:27	1551	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:27	1551	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:27	1551	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:27	1551	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:27	1551	[DEBUG]	Use field value for field published
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:27	1551	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field override
2023-10-13	12:48:27	1551	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:27	1551	[DEBUG]	Use field value for field slug
2023-10-13	12:48:27	1551	[DEBUG]	Process line 1551
2023-10-13	12:48:27	1551	[DEBUG]	Load a row
2023-10-13	12:48:27	1551	[DEBUG]	Processing item: 1000000113709
2023-10-13	12:48:27	1551	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:27	1551	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:27	1551	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_40'
2023-10-13	12:48:27	1551	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:27	1551	[DEBUG]	Processing product tax
2023-10-13	12:48:27	1551	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:27	1551	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:27	1551	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:27	1551	[DEBUG]	Query for Product
2023-10-13	12:48:27	1551	[DEBUG]	Executed store
2023-10-13	12:48:27	1551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861034','1000000113709','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:27	1551	[DEBUG]	No parent found
2023-10-13	12:48:27	1551	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861034 AND customfield_value = 'stockable'
2023-10-13	12:48:27	1551	[DEBUG]	Check product language entry
2023-10-13	12:48:27	1551	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861043
2023-10-13	12:48:27	1551	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:27	1551	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113709' AND `virtuemart_product_id` != 1861043
2023-10-13	12:48:27	1551	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:27	1551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861043, '1000000113709')
2023-10-13	12:48:27	1551	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:27	1551	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-46' AND `virtuemart_product_id` != 1861043
2023-10-13	12:48:27	1551	[DEBUG]	Query for ProductLang
2023-10-13	12:48:27	1551	[DEBUG]	Executed store
2023-10-13	12:48:27	1551	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Vert (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-46' WHERE `virtuemart_product_id` = '1861043'
2023-10-13	12:48:27	1551	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:27	1551	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:27	1551	[DEBUG]	Process image file
2023-10-13	12:48:27	1551	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:27	1551	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:27	1551	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:27	1551	[DEBUG]	Full name target: bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:28	1551	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:28	1551	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:28	1551	[DEBUG]	Query for Media
2023-10-13	12:48:28	1551	[DEBUG]	Executed store
2023-10-13	12:48:28	1551	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15969'
2023-10-13	12:48:28	1551	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:28	1551	[DEBUG]	Executed store
2023-10-13	12:48:28	1551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861043','15969','1')
2023-10-13	12:48:28	1551	[DEBUG]	Store product image relation
2023-10-13	12:48:28	1551	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:28	1551	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861043 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:28	1551	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:28	1551	[DEBUG]	Executed store
2023-10-13	12:48:28	1551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861043','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:28	1551	[DEBUG]	Checking manufacturer
2023-10-13	12:48:28	1551	[DEBUG]	Load a row
2023-10-13	12:48:28	1551	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:28	1551	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:28	1551	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:28	1551	[DEBUG]	Executed store
2023-10-13	12:48:28	1551	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:28	1551	[DEBUG]	Manufacturer exists
2023-10-13	12:48:28	1551	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:28	1551	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:28	1551	[DEBUG]	Executed store
2023-10-13	12:48:28	1551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861043','32')
2023-10-13	12:48:28	1551	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:28	1551	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:28	1551	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861043 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:28	1551	[DEBUG]	Store custom available field
2023-10-13	12:48:28	1551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861043,3,'',1)
2023-10-13	12:48:28	1551	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:28	1551	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:48:28	1551	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861043 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:28	1551	[DEBUG]	Store custom available field
2023-10-13	12:48:28	1551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861043,6,'46',3)
2023-10-13	12:48:28	1551	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:28	1551	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:28	1551	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861034
2023-10-13	12:48:28	1551	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:28	1551	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1861034\":[1861034,8,1,\"choisir la taille\"],\"1861035\":[\"38\"],\"1861036\":[\"39\"],\"1861037\":[\"40\"],\"1861038\":[\"41\"],\"1861039\":[\"42\"],\"1861040\":[\"43\"],\"1861041\":[\"44\"],\"1861042\":[\"45\"],\"1861043\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861034
2023-10-13	12:48:28	1551	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:28	1551	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861043
2023-10-13	12:48:28	1552	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:28	1552	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:28	1552	[DEBUG]	Use field value for field taille
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:28	1552	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:28	1552	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:28	1552	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:28	1552	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:28	1552	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:28	1552	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:28	1552	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:28	1552	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:28	1552	[DEBUG]	Use field value for field published
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:28	1552	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field override
2023-10-13	12:48:28	1552	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:28	1552	[DEBUG]	Use field value for field slug
2023-10-13	12:48:28	1552	[DEBUG]	Process line 1552
2023-10-13	12:48:28	1552	[DEBUG]	Load a row
2023-10-13	12:48:28	1552	[DEBUG]	Processing item: 1000000113716
2023-10-13	12:48:28	1552	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:28	1552	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:28	1552	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_40'
2023-10-13	12:48:28	1552	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:28	1552	[DEBUG]	Processing product tax
2023-10-13	12:48:28	1552	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:28	1552	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:28	1552	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:28	1552	[DEBUG]	Query for Product
2023-10-13	12:48:28	1552	[DEBUG]	Executed store
2023-10-13	12:48:28	1552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861034','1000000113716','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:28	1552	[DEBUG]	No parent found
2023-10-13	12:48:28	1552	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861034 AND customfield_value = 'stockable'
2023-10-13	12:48:28	1552	[DEBUG]	Check product language entry
2023-10-13	12:48:28	1552	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861044
2023-10-13	12:48:28	1552	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:28	1552	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113716' AND `virtuemart_product_id` != 1861044
2023-10-13	12:48:28	1552	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:28	1552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861044, '1000000113716')
2023-10-13	12:48:28	1552	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:28	1552	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-47' AND `virtuemart_product_id` != 1861044
2023-10-13	12:48:28	1552	[DEBUG]	Query for ProductLang
2023-10-13	12:48:28	1552	[DEBUG]	Executed store
2023-10-13	12:48:28	1552	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Vert (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-vert-47' WHERE `virtuemart_product_id` = '1861044'
2023-10-13	12:48:28	1552	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:28	1552	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:28	1552	[DEBUG]	Process image file
2023-10-13	12:48:28	1552	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:28	1552	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:28	1552	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:28	1552	[DEBUG]	Full name target: bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:29	1552	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:29	1552	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:29	1552	[DEBUG]	Query for Media
2023-10-13	12:48:29	1552	[DEBUG]	Executed store
2023-10-13	12:48:29	1552	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34022_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15969'
2023-10-13	12:48:29	1552	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:29	1552	[DEBUG]	Executed store
2023-10-13	12:48:29	1552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861044','15969','1')
2023-10-13	12:48:29	1552	[DEBUG]	Store product image relation
2023-10-13	12:48:29	1552	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:29	1552	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861044 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:29	1552	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:29	1552	[DEBUG]	Executed store
2023-10-13	12:48:29	1552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861044','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:29	1552	[DEBUG]	Checking manufacturer
2023-10-13	12:48:29	1552	[DEBUG]	Load a row
2023-10-13	12:48:29	1552	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:29	1552	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:29	1552	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:29	1552	[DEBUG]	Executed store
2023-10-13	12:48:29	1552	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:29	1552	[DEBUG]	Manufacturer exists
2023-10-13	12:48:29	1552	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:29	1552	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:29	1552	[DEBUG]	Executed store
2023-10-13	12:48:29	1552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861044','32')
2023-10-13	12:48:29	1552	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:29	1552	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:29	1552	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861044 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:29	1552	[DEBUG]	Store custom available field
2023-10-13	12:48:29	1552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861044,3,'',1)
2023-10-13	12:48:29	1552	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:29	1552	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:48:29	1552	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861044 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:29	1552	[DEBUG]	Store custom available field
2023-10-13	12:48:29	1552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861044,6,'47',3)
2023-10-13	12:48:29	1552	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:29	1552	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:29	1552	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861034
2023-10-13	12:48:29	1552	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:29	1552	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1861034\":[1861034,8,1,\"choisir la taille\"],\"1861035\":[\"38\"],\"1861036\":[\"39\"],\"1861037\":[\"40\"],\"1861038\":[\"41\"],\"1861039\":[\"42\"],\"1861040\":[\"43\"],\"1861041\":[\"44\"],\"1861042\":[\"45\"],\"1861043\":[\"46\"],\"1861044\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1861034
2023-10-13	12:48:29	1552	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:29	1552	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861044
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:29	1553	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field taille
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field category_path
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:29	1553	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:48:29	1553	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:29	1553	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field product_weight
2023-10-13	12:48:29	1553	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:29	1553	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:29	1553	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field published
2023-10-13	12:48:29	1553	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:29	1553	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field custom_title
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field custom_param
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field override
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field public_price
2023-10-13	12:48:29	1553	[DEBUG]	Use field value for field slug
2023-10-13	12:48:29	1553	[DEBUG]	Process line 1553
2023-10-13	12:48:29	1553	[DEBUG]	Load a row
2023-10-13	12:48:29	1553	[DEBUG]	Processing item: A_6901_45
2023-10-13	12:48:29	1553	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:29	1553	[DEBUG]	Processing product tax
2023-10-13	12:48:29	1553	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:29	1553	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:29	1553	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:29	1553	[DEBUG]	Query for Product
2023-10-13	12:48:29	1553	[DEBUG]	Executed store
2023-10-13	12:48:29	1553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6901_45','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:29	1553	[DEBUG]	Check product language entry
2023-10-13	12:48:29	1553	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861045
2023-10-13	12:48:29	1553	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:29	1553	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6901_45' AND `virtuemart_product_id` != 1861045
2023-10-13	12:48:29	1553	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:29	1553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861045, 'A_6901_45')
2023-10-13	12:48:29	1553	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:29	1553	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche' AND `virtuemart_product_id` != 1861045
2023-10-13	12:48:29	1553	[DEBUG]	Query for ProductLang
2023-10-13	12:48:29	1553	[DEBUG]	Executed store
2023-10-13	12:48:29	1553	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro VTT XC avec système de ventilation breveté ! 699 GR.<br>N° art fourn : ZAEROXC',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Blanche',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche' WHERE `virtuemart_product_id` = '1861045'
2023-10-13	12:48:29	1553	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:29	1553	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:29	1553	[DEBUG]	Process image file
2023-10-13	12:48:29	1553	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:29	1553	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:29	1553	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:29	1553	[DEBUG]	Full name target: bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:30	1553	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:30	1553	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:30	1553	[DEBUG]	Query for Media
2023-10-13	12:48:30	1553	[DEBUG]	Executed store
2023-10-13	12:48:30	1553	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15970'
2023-10-13	12:48:30	1553	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:30	1553	[DEBUG]	Executed store
2023-10-13	12:48:30	1553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861045','15970','1')
2023-10-13	12:48:30	1553	[DEBUG]	Store product image relation
2023-10-13	12:48:30	1553	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:30	1553	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861045 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:30	1553	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:30	1553	[DEBUG]	Executed store
2023-10-13	12:48:30	1553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861045','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:30	1553	[DEBUG]	Checking manufacturer
2023-10-13	12:48:30	1553	[DEBUG]	Load a row
2023-10-13	12:48:30	1553	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:30	1553	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:30	1553	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:30	1553	[DEBUG]	Executed store
2023-10-13	12:48:30	1553	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:30	1553	[DEBUG]	Manufacturer exists
2023-10-13	12:48:30	1553	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:30	1553	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:30	1553	[DEBUG]	Executed store
2023-10-13	12:48:30	1553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861045','32')
2023-10-13	12:48:30	1553	[DEBUG]	Find the custom field ID
2023-10-13	12:48:30	1553	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:48:30	1553	[DEBUG]	No custom field ID found
2023-10-13	12:48:30	1553	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:30	1553	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:48:30	1553	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861045 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:30	1553	[DEBUG]	Store custom available field
2023-10-13	12:48:30	1553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861045,3,'179.400277777778',1)
2023-10-13	12:48:30	1553	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:30	1553	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:48:30	1553	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861045 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:30	1553	[DEBUG]	Store custom available field
2023-10-13	12:48:30	1553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861045,6,'choisir la taille',3)
2023-10-13	12:48:30	1553	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:30	1553	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:48:30	1553	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:48:30	1553	[DEBUG]	Find the multi variant product entry
2023-10-13	12:48:30	1553	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861045 AND `virtuemart_custom_id` = 8
2023-10-13	12:48:30	1553	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:48:30	1553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861045,8,1)
2023-10-13	12:48:30	1553	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:30	1553	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861045\":[1861045,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861045
2023-10-13	12:48:30	1553	[DEBUG]	Checking category
2023-10-13	12:48:30	1553	[DEBUG]	Get the existing categories for the product
2023-10-13	12:48:30	1553	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861045
2023-10-13	12:48:30	1553	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:48:30	1553	[DEBUG]	Executed store
2023-10-13	12:48:30	1553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861045','7331')
2023-10-13	12:48:30	1553	[DEBUG]	Delete leftover product categories
2023-10-13	12:48:30	1553	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861045 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:48:30	1553	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:30	1553	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861045
2023-10-13	12:48:30	1554	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:30	1554	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:30	1554	[DEBUG]	Use field value for field taille
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:30	1554	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:30	1554	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:30	1554	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:30	1554	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:30	1554	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:30	1554	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:30	1554	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:30	1554	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:30	1554	[DEBUG]	Use field value for field published
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:30	1554	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field override
2023-10-13	12:48:30	1554	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:30	1554	[DEBUG]	Use field value for field slug
2023-10-13	12:48:30	1554	[DEBUG]	Process line 1554
2023-10-13	12:48:30	1554	[DEBUG]	Load a row
2023-10-13	12:48:30	1554	[DEBUG]	Processing item: 1000000110944
2023-10-13	12:48:30	1554	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:30	1554	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:30	1554	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_45'
2023-10-13	12:48:30	1554	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:30	1554	[DEBUG]	Processing product tax
2023-10-13	12:48:30	1554	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:30	1554	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:30	1554	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:30	1554	[DEBUG]	Query for Product
2023-10-13	12:48:30	1554	[DEBUG]	Executed store
2023-10-13	12:48:30	1554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861045','1000000110944','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:30	1554	[DEBUG]	No parent found
2023-10-13	12:48:30	1554	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861045 AND customfield_value = 'stockable'
2023-10-13	12:48:30	1554	[DEBUG]	Check product language entry
2023-10-13	12:48:30	1554	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861046
2023-10-13	12:48:30	1554	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:30	1554	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000110944' AND `virtuemart_product_id` != 1861046
2023-10-13	12:48:30	1554	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:30	1554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861046, '1000000110944')
2023-10-13	12:48:30	1554	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:30	1554	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-38' AND `virtuemart_product_id` != 1861046
2023-10-13	12:48:30	1554	[DEBUG]	Query for ProductLang
2023-10-13	12:48:30	1554	[DEBUG]	Executed store
2023-10-13	12:48:30	1554	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Blanche (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-38' WHERE `virtuemart_product_id` = '1861046'
2023-10-13	12:48:30	1554	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:30	1554	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:30	1554	[DEBUG]	Process image file
2023-10-13	12:48:30	1554	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:30	1554	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:30	1554	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:30	1554	[DEBUG]	Full name target: bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:31	1554	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:31	1554	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:31	1554	[DEBUG]	Query for Media
2023-10-13	12:48:31	1554	[DEBUG]	Executed store
2023-10-13	12:48:31	1554	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15970'
2023-10-13	12:48:31	1554	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:31	1554	[DEBUG]	Executed store
2023-10-13	12:48:31	1554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861046','15970','1')
2023-10-13	12:48:31	1554	[DEBUG]	Store product image relation
2023-10-13	12:48:31	1554	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:31	1554	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861046 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:31	1554	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:31	1554	[DEBUG]	Executed store
2023-10-13	12:48:31	1554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861046','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:31	1554	[DEBUG]	Checking manufacturer
2023-10-13	12:48:31	1554	[DEBUG]	Load a row
2023-10-13	12:48:31	1554	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:31	1554	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:31	1554	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:31	1554	[DEBUG]	Executed store
2023-10-13	12:48:31	1554	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:31	1554	[DEBUG]	Manufacturer exists
2023-10-13	12:48:31	1554	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:31	1554	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:31	1554	[DEBUG]	Executed store
2023-10-13	12:48:31	1554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861046','32')
2023-10-13	12:48:31	1554	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:31	1554	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:31	1554	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861046 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:31	1554	[DEBUG]	Store custom available field
2023-10-13	12:48:31	1554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861046,3,'',1)
2023-10-13	12:48:31	1554	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:31	1554	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:48:31	1554	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861046 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:31	1554	[DEBUG]	Store custom available field
2023-10-13	12:48:31	1554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861046,6,'38',3)
2023-10-13	12:48:31	1554	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:31	1554	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:31	1554	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861045
2023-10-13	12:48:31	1554	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:31	1554	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1861045\":[1861045,8,1,\"choisir la taille\"],\"1861046\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1861045
2023-10-13	12:48:31	1554	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:31	1554	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861046
2023-10-13	12:48:31	1555	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:31	1555	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:31	1555	[DEBUG]	Use field value for field taille
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:31	1555	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:31	1555	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:31	1555	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:31	1555	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:31	1555	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:31	1555	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:31	1555	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:31	1555	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:31	1555	[DEBUG]	Use field value for field published
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:31	1555	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field override
2023-10-13	12:48:31	1555	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:31	1555	[DEBUG]	Use field value for field slug
2023-10-13	12:48:31	1555	[DEBUG]	Process line 1555
2023-10-13	12:48:31	1555	[DEBUG]	Load a row
2023-10-13	12:48:31	1555	[DEBUG]	Processing item: 1000000111323
2023-10-13	12:48:31	1555	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:31	1555	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:31	1555	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_45'
2023-10-13	12:48:31	1555	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:31	1555	[DEBUG]	Processing product tax
2023-10-13	12:48:31	1555	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:31	1555	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:31	1555	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:31	1555	[DEBUG]	Query for Product
2023-10-13	12:48:31	1555	[DEBUG]	Executed store
2023-10-13	12:48:31	1555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861045','1000000111323','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:31	1555	[DEBUG]	No parent found
2023-10-13	12:48:31	1555	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861045 AND customfield_value = 'stockable'
2023-10-13	12:48:31	1555	[DEBUG]	Check product language entry
2023-10-13	12:48:31	1555	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861047
2023-10-13	12:48:31	1555	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:31	1555	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000111323' AND `virtuemart_product_id` != 1861047
2023-10-13	12:48:31	1555	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:31	1555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861047, '1000000111323')
2023-10-13	12:48:31	1555	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:31	1555	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-39' AND `virtuemart_product_id` != 1861047
2023-10-13	12:48:31	1555	[DEBUG]	Query for ProductLang
2023-10-13	12:48:31	1555	[DEBUG]	Executed store
2023-10-13	12:48:31	1555	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Blanche (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-39' WHERE `virtuemart_product_id` = '1861047'
2023-10-13	12:48:31	1555	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:31	1555	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:31	1555	[DEBUG]	Process image file
2023-10-13	12:48:31	1555	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:31	1555	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:31	1555	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:31	1555	[DEBUG]	Full name target: bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:32	1555	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:32	1555	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:32	1555	[DEBUG]	Query for Media
2023-10-13	12:48:32	1555	[DEBUG]	Executed store
2023-10-13	12:48:32	1555	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15970'
2023-10-13	12:48:32	1555	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:32	1555	[DEBUG]	Executed store
2023-10-13	12:48:32	1555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861047','15970','1')
2023-10-13	12:48:32	1555	[DEBUG]	Store product image relation
2023-10-13	12:48:32	1555	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:32	1555	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861047 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:32	1555	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:32	1555	[DEBUG]	Executed store
2023-10-13	12:48:32	1555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861047','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:32	1555	[DEBUG]	Checking manufacturer
2023-10-13	12:48:32	1555	[DEBUG]	Load a row
2023-10-13	12:48:32	1555	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:32	1555	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:32	1555	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:32	1555	[DEBUG]	Executed store
2023-10-13	12:48:32	1555	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:32	1555	[DEBUG]	Manufacturer exists
2023-10-13	12:48:32	1555	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:32	1555	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:32	1555	[DEBUG]	Executed store
2023-10-13	12:48:32	1555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861047','32')
2023-10-13	12:48:32	1555	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:32	1555	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:32	1555	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861047 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:32	1555	[DEBUG]	Store custom available field
2023-10-13	12:48:32	1555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861047,3,'',1)
2023-10-13	12:48:32	1555	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:32	1555	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:48:32	1555	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861047 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:32	1555	[DEBUG]	Store custom available field
2023-10-13	12:48:32	1555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861047,6,'39',3)
2023-10-13	12:48:32	1555	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:32	1555	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:32	1555	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861045
2023-10-13	12:48:32	1555	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:32	1555	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1861045\":[1861045,8,1,\"choisir la taille\"],\"1861046\":[\"38\"],\"1861047\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861045
2023-10-13	12:48:32	1555	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:32	1555	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861047
2023-10-13	12:48:32	1556	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:32	1556	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:32	1556	[DEBUG]	Use field value for field taille
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:32	1556	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:32	1556	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:32	1556	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:32	1556	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:32	1556	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:32	1556	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:32	1556	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:32	1556	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:32	1556	[DEBUG]	Use field value for field published
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:32	1556	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field override
2023-10-13	12:48:32	1556	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:32	1556	[DEBUG]	Use field value for field slug
2023-10-13	12:48:32	1556	[DEBUG]	Process line 1556
2023-10-13	12:48:32	1556	[DEBUG]	Load a row
2023-10-13	12:48:32	1556	[DEBUG]	Processing item: 1000000111330
2023-10-13	12:48:32	1556	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:32	1556	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:32	1556	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_45'
2023-10-13	12:48:32	1556	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:32	1556	[DEBUG]	Processing product tax
2023-10-13	12:48:32	1556	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:32	1556	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:32	1556	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:32	1556	[DEBUG]	Query for Product
2023-10-13	12:48:32	1556	[DEBUG]	Executed store
2023-10-13	12:48:32	1556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861045','1000000111330','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:32	1556	[DEBUG]	No parent found
2023-10-13	12:48:32	1556	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861045 AND customfield_value = 'stockable'
2023-10-13	12:48:32	1556	[DEBUG]	Check product language entry
2023-10-13	12:48:32	1556	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861048
2023-10-13	12:48:32	1556	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:32	1556	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000111330' AND `virtuemart_product_id` != 1861048
2023-10-13	12:48:32	1556	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:32	1556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861048, '1000000111330')
2023-10-13	12:48:32	1556	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:32	1556	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-40' AND `virtuemart_product_id` != 1861048
2023-10-13	12:48:32	1556	[DEBUG]	Query for ProductLang
2023-10-13	12:48:32	1556	[DEBUG]	Executed store
2023-10-13	12:48:32	1556	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Blanche (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-40' WHERE `virtuemart_product_id` = '1861048'
2023-10-13	12:48:32	1556	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:32	1556	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:32	1556	[DEBUG]	Process image file
2023-10-13	12:48:32	1556	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:32	1556	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:32	1556	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:32	1556	[DEBUG]	Full name target: bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:33	1556	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:33	1556	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:33	1556	[DEBUG]	Query for Media
2023-10-13	12:48:33	1556	[DEBUG]	Executed store
2023-10-13	12:48:33	1556	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15970'
2023-10-13	12:48:33	1556	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:33	1556	[DEBUG]	Executed store
2023-10-13	12:48:33	1556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861048','15970','1')
2023-10-13	12:48:33	1556	[DEBUG]	Store product image relation
2023-10-13	12:48:33	1556	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:33	1556	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861048 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:33	1556	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:33	1556	[DEBUG]	Executed store
2023-10-13	12:48:33	1556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861048','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:33	1556	[DEBUG]	Checking manufacturer
2023-10-13	12:48:33	1556	[DEBUG]	Load a row
2023-10-13	12:48:33	1556	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:33	1556	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:33	1556	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:33	1556	[DEBUG]	Executed store
2023-10-13	12:48:33	1556	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:33	1556	[DEBUG]	Manufacturer exists
2023-10-13	12:48:33	1556	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:33	1556	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:33	1556	[DEBUG]	Executed store
2023-10-13	12:48:33	1556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861048','32')
2023-10-13	12:48:33	1556	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:33	1556	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:33	1556	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861048 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:33	1556	[DEBUG]	Store custom available field
2023-10-13	12:48:33	1556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861048,3,'',1)
2023-10-13	12:48:33	1556	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:33	1556	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:48:33	1556	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861048 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:33	1556	[DEBUG]	Store custom available field
2023-10-13	12:48:33	1556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861048,6,'40',3)
2023-10-13	12:48:33	1556	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:33	1556	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:33	1556	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861045
2023-10-13	12:48:33	1556	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:33	1556	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1861045\":[1861045,8,1,\"choisir la taille\"],\"1861046\":[\"38\"],\"1861047\":[\"39\"],\"1861048\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861045
2023-10-13	12:48:33	1556	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:33	1556	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861048
2023-10-13	12:48:33	1557	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:33	1557	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:33	1557	[DEBUG]	Use field value for field taille
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:33	1557	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:33	1557	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:33	1557	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:33	1557	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:33	1557	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:33	1557	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:33	1557	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:33	1557	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:33	1557	[DEBUG]	Use field value for field published
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:33	1557	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field override
2023-10-13	12:48:33	1557	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:33	1557	[DEBUG]	Use field value for field slug
2023-10-13	12:48:33	1557	[DEBUG]	Process line 1557
2023-10-13	12:48:33	1557	[DEBUG]	Load a row
2023-10-13	12:48:33	1557	[DEBUG]	Processing item: 8435466211486
2023-10-13	12:48:33	1557	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:33	1557	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:33	1557	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_45'
2023-10-13	12:48:33	1557	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:33	1557	[DEBUG]	Processing product tax
2023-10-13	12:48:33	1557	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:33	1557	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:33	1557	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:33	1557	[DEBUG]	Query for Product
2023-10-13	12:48:33	1557	[DEBUG]	Executed store
2023-10-13	12:48:33	1557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861045','8435466211486','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:33	1557	[DEBUG]	No parent found
2023-10-13	12:48:33	1557	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861045 AND customfield_value = 'stockable'
2023-10-13	12:48:33	1557	[DEBUG]	Check product language entry
2023-10-13	12:48:33	1557	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861049
2023-10-13	12:48:33	1557	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:33	1557	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466211486' AND `virtuemart_product_id` != 1861049
2023-10-13	12:48:33	1557	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:33	1557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861049, '8435466211486')
2023-10-13	12:48:33	1557	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:33	1557	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-41' AND `virtuemart_product_id` != 1861049
2023-10-13	12:48:33	1557	[DEBUG]	Query for ProductLang
2023-10-13	12:48:33	1557	[DEBUG]	Executed store
2023-10-13	12:48:33	1557	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Blanche (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-41' WHERE `virtuemart_product_id` = '1861049'
2023-10-13	12:48:33	1557	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:33	1557	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:33	1557	[DEBUG]	Process image file
2023-10-13	12:48:33	1557	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:33	1557	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:33	1557	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:33	1557	[DEBUG]	Full name target: bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:34	1557	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:34	1557	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:34	1557	[DEBUG]	Query for Media
2023-10-13	12:48:34	1557	[DEBUG]	Executed store
2023-10-13	12:48:34	1557	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15970'
2023-10-13	12:48:34	1557	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:34	1557	[DEBUG]	Executed store
2023-10-13	12:48:34	1557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861049','15970','1')
2023-10-13	12:48:34	1557	[DEBUG]	Store product image relation
2023-10-13	12:48:34	1557	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:34	1557	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861049 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:34	1557	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:34	1557	[DEBUG]	Executed store
2023-10-13	12:48:34	1557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861049','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:34	1557	[DEBUG]	Checking manufacturer
2023-10-13	12:48:34	1557	[DEBUG]	Load a row
2023-10-13	12:48:34	1557	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:34	1557	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:34	1557	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:34	1557	[DEBUG]	Executed store
2023-10-13	12:48:34	1557	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:34	1557	[DEBUG]	Manufacturer exists
2023-10-13	12:48:34	1557	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:34	1557	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:34	1557	[DEBUG]	Executed store
2023-10-13	12:48:34	1557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861049','32')
2023-10-13	12:48:34	1557	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:34	1557	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:34	1557	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861049 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:34	1557	[DEBUG]	Store custom available field
2023-10-13	12:48:34	1557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861049,3,'',1)
2023-10-13	12:48:34	1557	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:34	1557	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:48:34	1557	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861049 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:34	1557	[DEBUG]	Store custom available field
2023-10-13	12:48:34	1557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861049,6,'41',3)
2023-10-13	12:48:34	1557	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:34	1557	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:34	1557	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861045
2023-10-13	12:48:34	1557	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:34	1557	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1861045\":[1861045,8,1,\"choisir la taille\"],\"1861046\":[\"38\"],\"1861047\":[\"39\"],\"1861048\":[\"40\"],\"1861049\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861045
2023-10-13	12:48:34	1557	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:34	1557	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861049
2023-10-13	12:48:34	1558	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:34	1558	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:34	1558	[DEBUG]	Use field value for field taille
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:34	1558	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:34	1558	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:34	1558	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:34	1558	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:34	1558	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:34	1558	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:34	1558	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:34	1558	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:34	1558	[DEBUG]	Use field value for field published
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:34	1558	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field override
2023-10-13	12:48:34	1558	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:34	1558	[DEBUG]	Use field value for field slug
2023-10-13	12:48:34	1558	[DEBUG]	Process line 1558
2023-10-13	12:48:34	1558	[DEBUG]	Load a row
2023-10-13	12:48:34	1558	[DEBUG]	Processing item: 8435466211493
2023-10-13	12:48:34	1558	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:34	1558	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:34	1558	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_45'
2023-10-13	12:48:34	1558	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:34	1558	[DEBUG]	Processing product tax
2023-10-13	12:48:34	1558	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:34	1558	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:34	1558	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:34	1558	[DEBUG]	Query for Product
2023-10-13	12:48:34	1558	[DEBUG]	Executed store
2023-10-13	12:48:34	1558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861045','8435466211493','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:34	1558	[DEBUG]	No parent found
2023-10-13	12:48:34	1558	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861045 AND customfield_value = 'stockable'
2023-10-13	12:48:34	1558	[DEBUG]	Check product language entry
2023-10-13	12:48:34	1558	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861050
2023-10-13	12:48:34	1558	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:34	1558	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466211493' AND `virtuemart_product_id` != 1861050
2023-10-13	12:48:34	1558	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:34	1558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861050, '8435466211493')
2023-10-13	12:48:34	1558	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:34	1558	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-42' AND `virtuemart_product_id` != 1861050
2023-10-13	12:48:34	1558	[DEBUG]	Query for ProductLang
2023-10-13	12:48:34	1558	[DEBUG]	Executed store
2023-10-13	12:48:34	1558	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Blanche (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-42' WHERE `virtuemart_product_id` = '1861050'
2023-10-13	12:48:34	1558	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:34	1558	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:34	1558	[DEBUG]	Process image file
2023-10-13	12:48:34	1558	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:34	1558	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:34	1558	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:34	1558	[DEBUG]	Full name target: bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:35	1558	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:35	1558	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:35	1558	[DEBUG]	Query for Media
2023-10-13	12:48:35	1558	[DEBUG]	Executed store
2023-10-13	12:48:35	1558	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15970'
2023-10-13	12:48:35	1558	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:35	1558	[DEBUG]	Executed store
2023-10-13	12:48:35	1558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861050','15970','1')
2023-10-13	12:48:35	1558	[DEBUG]	Store product image relation
2023-10-13	12:48:35	1558	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:35	1558	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861050 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:35	1558	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:35	1558	[DEBUG]	Executed store
2023-10-13	12:48:35	1558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861050','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:35	1558	[DEBUG]	Checking manufacturer
2023-10-13	12:48:35	1558	[DEBUG]	Load a row
2023-10-13	12:48:35	1558	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:35	1558	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:35	1558	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:35	1558	[DEBUG]	Executed store
2023-10-13	12:48:35	1558	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:35	1558	[DEBUG]	Manufacturer exists
2023-10-13	12:48:35	1558	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:35	1558	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:35	1558	[DEBUG]	Executed store
2023-10-13	12:48:35	1558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861050','32')
2023-10-13	12:48:35	1558	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:35	1558	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:35	1558	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861050 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:35	1558	[DEBUG]	Store custom available field
2023-10-13	12:48:35	1558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861050,3,'',1)
2023-10-13	12:48:35	1558	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:35	1558	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:48:35	1558	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861050 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:35	1558	[DEBUG]	Store custom available field
2023-10-13	12:48:35	1558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861050,6,'42',3)
2023-10-13	12:48:35	1558	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:35	1558	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:35	1558	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861045
2023-10-13	12:48:35	1558	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:35	1558	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1861045\":[1861045,8,1,\"choisir la taille\"],\"1861046\":[\"38\"],\"1861047\":[\"39\"],\"1861048\":[\"40\"],\"1861049\":[\"41\"],\"1861050\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861045
2023-10-13	12:48:35	1558	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:35	1558	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861050
2023-10-13	12:48:35	1559	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:35	1559	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:35	1559	[DEBUG]	Use field value for field taille
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:35	1559	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:35	1559	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:35	1559	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:35	1559	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:35	1559	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:35	1559	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:35	1559	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:35	1559	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:35	1559	[DEBUG]	Use field value for field published
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:35	1559	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field override
2023-10-13	12:48:35	1559	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:35	1559	[DEBUG]	Use field value for field slug
2023-10-13	12:48:35	1559	[DEBUG]	Process line 1559
2023-10-13	12:48:35	1559	[DEBUG]	Load a row
2023-10-13	12:48:35	1559	[DEBUG]	Processing item: 8435466295912
2023-10-13	12:48:35	1559	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:35	1559	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:35	1559	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_45'
2023-10-13	12:48:35	1559	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:35	1559	[DEBUG]	Processing product tax
2023-10-13	12:48:35	1559	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:35	1559	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:35	1559	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:35	1559	[DEBUG]	Query for Product
2023-10-13	12:48:35	1559	[DEBUG]	Executed store
2023-10-13	12:48:35	1559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861045','8435466295912','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:35	1559	[DEBUG]	No parent found
2023-10-13	12:48:35	1559	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861045 AND customfield_value = 'stockable'
2023-10-13	12:48:35	1559	[DEBUG]	Check product language entry
2023-10-13	12:48:35	1559	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861051
2023-10-13	12:48:35	1559	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:35	1559	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295912' AND `virtuemart_product_id` != 1861051
2023-10-13	12:48:35	1559	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:35	1559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861051, '8435466295912')
2023-10-13	12:48:35	1559	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:35	1559	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-43' AND `virtuemart_product_id` != 1861051
2023-10-13	12:48:35	1559	[DEBUG]	Query for ProductLang
2023-10-13	12:48:35	1559	[DEBUG]	Executed store
2023-10-13	12:48:35	1559	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Blanche (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-43' WHERE `virtuemart_product_id` = '1861051'
2023-10-13	12:48:35	1559	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:35	1559	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:35	1559	[DEBUG]	Process image file
2023-10-13	12:48:35	1559	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:35	1559	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:35	1559	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:35	1559	[DEBUG]	Full name target: bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:36	1559	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:36	1559	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:36	1559	[DEBUG]	Query for Media
2023-10-13	12:48:36	1559	[DEBUG]	Executed store
2023-10-13	12:48:36	1559	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15970'
2023-10-13	12:48:36	1559	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:36	1559	[DEBUG]	Executed store
2023-10-13	12:48:36	1559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861051','15970','1')
2023-10-13	12:48:36	1559	[DEBUG]	Store product image relation
2023-10-13	12:48:36	1559	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:36	1559	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861051 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:36	1559	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:36	1559	[DEBUG]	Executed store
2023-10-13	12:48:36	1559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861051','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:36	1559	[DEBUG]	Checking manufacturer
2023-10-13	12:48:36	1559	[DEBUG]	Load a row
2023-10-13	12:48:36	1559	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:36	1559	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:36	1559	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:36	1559	[DEBUG]	Executed store
2023-10-13	12:48:36	1559	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:36	1559	[DEBUG]	Manufacturer exists
2023-10-13	12:48:36	1559	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:36	1559	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:36	1559	[DEBUG]	Executed store
2023-10-13	12:48:36	1559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861051','32')
2023-10-13	12:48:36	1559	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:36	1559	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:36	1559	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861051 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:36	1559	[DEBUG]	Store custom available field
2023-10-13	12:48:36	1559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861051,3,'',1)
2023-10-13	12:48:36	1559	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:36	1559	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:48:36	1559	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861051 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:36	1559	[DEBUG]	Store custom available field
2023-10-13	12:48:36	1559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861051,6,'43',3)
2023-10-13	12:48:36	1559	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:36	1559	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:36	1559	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861045
2023-10-13	12:48:36	1559	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:36	1559	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1861045\":[1861045,8,1,\"choisir la taille\"],\"1861046\":[\"38\"],\"1861047\":[\"39\"],\"1861048\":[\"40\"],\"1861049\":[\"41\"],\"1861050\":[\"42\"],\"1861051\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861045
2023-10-13	12:48:36	1559	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:36	1559	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861051
2023-10-13	12:48:36	1560	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:36	1560	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:36	1560	[DEBUG]	Use field value for field taille
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:36	1560	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:36	1560	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:36	1560	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:36	1560	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:36	1560	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:36	1560	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:36	1560	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:36	1560	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:36	1560	[DEBUG]	Use field value for field published
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:36	1560	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field override
2023-10-13	12:48:36	1560	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:36	1560	[DEBUG]	Use field value for field slug
2023-10-13	12:48:36	1560	[DEBUG]	Process line 1560
2023-10-13	12:48:36	1560	[DEBUG]	Load a row
2023-10-13	12:48:36	1560	[DEBUG]	Processing item: 1000000111378
2023-10-13	12:48:36	1560	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:36	1560	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:36	1560	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_45'
2023-10-13	12:48:36	1560	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:36	1560	[DEBUG]	Processing product tax
2023-10-13	12:48:36	1560	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:36	1560	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:36	1560	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:36	1560	[DEBUG]	Query for Product
2023-10-13	12:48:36	1560	[DEBUG]	Executed store
2023-10-13	12:48:36	1560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861045','1000000111378','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:36	1560	[DEBUG]	No parent found
2023-10-13	12:48:36	1560	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861045 AND customfield_value = 'stockable'
2023-10-13	12:48:36	1560	[DEBUG]	Check product language entry
2023-10-13	12:48:36	1560	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861052
2023-10-13	12:48:36	1560	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:36	1560	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000111378' AND `virtuemart_product_id` != 1861052
2023-10-13	12:48:36	1560	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:36	1560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861052, '1000000111378')
2023-10-13	12:48:36	1560	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:36	1560	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-44' AND `virtuemart_product_id` != 1861052
2023-10-13	12:48:36	1560	[DEBUG]	Query for ProductLang
2023-10-13	12:48:36	1560	[DEBUG]	Executed store
2023-10-13	12:48:36	1560	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Blanche (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-44' WHERE `virtuemart_product_id` = '1861052'
2023-10-13	12:48:36	1560	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:36	1560	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:36	1560	[DEBUG]	Process image file
2023-10-13	12:48:36	1560	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:36	1560	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:36	1560	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:36	1560	[DEBUG]	Full name target: bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:37	1560	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:37	1560	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:37	1560	[DEBUG]	Query for Media
2023-10-13	12:48:37	1560	[DEBUG]	Executed store
2023-10-13	12:48:37	1560	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15970'
2023-10-13	12:48:37	1560	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:37	1560	[DEBUG]	Executed store
2023-10-13	12:48:37	1560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861052','15970','1')
2023-10-13	12:48:37	1560	[DEBUG]	Store product image relation
2023-10-13	12:48:37	1560	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:37	1560	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861052 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:37	1560	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:37	1560	[DEBUG]	Executed store
2023-10-13	12:48:37	1560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861052','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:37	1560	[DEBUG]	Checking manufacturer
2023-10-13	12:48:37	1560	[DEBUG]	Load a row
2023-10-13	12:48:37	1560	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:37	1560	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:37	1560	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:37	1560	[DEBUG]	Executed store
2023-10-13	12:48:37	1560	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:37	1560	[DEBUG]	Manufacturer exists
2023-10-13	12:48:37	1560	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:37	1560	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:37	1560	[DEBUG]	Executed store
2023-10-13	12:48:37	1560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861052','32')
2023-10-13	12:48:37	1560	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:37	1560	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:37	1560	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861052 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:37	1560	[DEBUG]	Store custom available field
2023-10-13	12:48:37	1560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861052,3,'',1)
2023-10-13	12:48:37	1560	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:37	1560	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:48:37	1560	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861052 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:37	1560	[DEBUG]	Store custom available field
2023-10-13	12:48:37	1560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861052,6,'44',3)
2023-10-13	12:48:37	1560	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:37	1560	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:37	1560	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861045
2023-10-13	12:48:37	1560	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:37	1560	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1861045\":[1861045,8,1,\"choisir la taille\"],\"1861046\":[\"38\"],\"1861047\":[\"39\"],\"1861048\":[\"40\"],\"1861049\":[\"41\"],\"1861050\":[\"42\"],\"1861051\":[\"43\"],\"1861052\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861045
2023-10-13	12:48:37	1560	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:37	1560	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861052
2023-10-13	12:48:37	1561	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:37	1561	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:37	1561	[DEBUG]	Use field value for field taille
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:37	1561	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:37	1561	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:37	1561	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:37	1561	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:37	1561	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:37	1561	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:37	1561	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:37	1561	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:37	1561	[DEBUG]	Use field value for field published
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:37	1561	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field override
2023-10-13	12:48:37	1561	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:37	1561	[DEBUG]	Use field value for field slug
2023-10-13	12:48:37	1561	[DEBUG]	Process line 1561
2023-10-13	12:48:37	1561	[DEBUG]	Load a row
2023-10-13	12:48:37	1561	[DEBUG]	Processing item: 1000000111385
2023-10-13	12:48:37	1561	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:37	1561	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:37	1561	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_45'
2023-10-13	12:48:37	1561	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:37	1561	[DEBUG]	Processing product tax
2023-10-13	12:48:37	1561	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:37	1561	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:37	1561	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:37	1561	[DEBUG]	Query for Product
2023-10-13	12:48:37	1561	[DEBUG]	Executed store
2023-10-13	12:48:37	1561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861045','1000000111385','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:37	1561	[DEBUG]	No parent found
2023-10-13	12:48:37	1561	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861045 AND customfield_value = 'stockable'
2023-10-13	12:48:37	1561	[DEBUG]	Check product language entry
2023-10-13	12:48:37	1561	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861053
2023-10-13	12:48:37	1561	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:37	1561	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000111385' AND `virtuemart_product_id` != 1861053
2023-10-13	12:48:37	1561	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:37	1561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861053, '1000000111385')
2023-10-13	12:48:37	1561	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:37	1561	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-45' AND `virtuemart_product_id` != 1861053
2023-10-13	12:48:37	1561	[DEBUG]	Query for ProductLang
2023-10-13	12:48:37	1561	[DEBUG]	Executed store
2023-10-13	12:48:37	1561	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Blanche (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-45' WHERE `virtuemart_product_id` = '1861053'
2023-10-13	12:48:37	1561	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:37	1561	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:37	1561	[DEBUG]	Process image file
2023-10-13	12:48:37	1561	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:37	1561	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:37	1561	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:37	1561	[DEBUG]	Full name target: bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:38	1561	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:38	1561	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:38	1561	[DEBUG]	Query for Media
2023-10-13	12:48:38	1561	[DEBUG]	Executed store
2023-10-13	12:48:38	1561	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15970'
2023-10-13	12:48:38	1561	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:38	1561	[DEBUG]	Executed store
2023-10-13	12:48:38	1561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861053','15970','1')
2023-10-13	12:48:38	1561	[DEBUG]	Store product image relation
2023-10-13	12:48:38	1561	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:38	1561	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861053 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:38	1561	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:38	1561	[DEBUG]	Executed store
2023-10-13	12:48:38	1561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861053','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:38	1561	[DEBUG]	Checking manufacturer
2023-10-13	12:48:38	1561	[DEBUG]	Load a row
2023-10-13	12:48:38	1561	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:38	1561	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:38	1561	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:38	1561	[DEBUG]	Executed store
2023-10-13	12:48:38	1561	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:38	1561	[DEBUG]	Manufacturer exists
2023-10-13	12:48:38	1561	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:38	1561	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:38	1561	[DEBUG]	Executed store
2023-10-13	12:48:38	1561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861053','32')
2023-10-13	12:48:38	1561	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:38	1561	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:38	1561	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861053 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:38	1561	[DEBUG]	Store custom available field
2023-10-13	12:48:38	1561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861053,3,'',1)
2023-10-13	12:48:38	1561	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:38	1561	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:48:38	1561	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861053 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:38	1561	[DEBUG]	Store custom available field
2023-10-13	12:48:38	1561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861053,6,'45',3)
2023-10-13	12:48:38	1561	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:38	1561	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:38	1561	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861045
2023-10-13	12:48:38	1561	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:38	1561	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1861045\":[1861045,8,1,\"choisir la taille\"],\"1861046\":[\"38\"],\"1861047\":[\"39\"],\"1861048\":[\"40\"],\"1861049\":[\"41\"],\"1861050\":[\"42\"],\"1861051\":[\"43\"],\"1861052\":[\"44\"],\"1861053\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861045
2023-10-13	12:48:38	1561	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:38	1561	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861053
2023-10-13	12:48:38	1562	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:38	1562	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:38	1562	[DEBUG]	Use field value for field taille
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:38	1562	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:38	1562	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:38	1562	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:38	1562	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:38	1562	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:38	1562	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:38	1562	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:38	1562	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:38	1562	[DEBUG]	Use field value for field published
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:38	1562	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field override
2023-10-13	12:48:38	1562	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:38	1562	[DEBUG]	Use field value for field slug
2023-10-13	12:48:38	1562	[DEBUG]	Process line 1562
2023-10-13	12:48:38	1562	[DEBUG]	Load a row
2023-10-13	12:48:38	1562	[DEBUG]	Processing item: 1000000111392
2023-10-13	12:48:38	1562	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:38	1562	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:38	1562	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_45'
2023-10-13	12:48:38	1562	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:38	1562	[DEBUG]	Processing product tax
2023-10-13	12:48:38	1562	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:38	1562	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:38	1562	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:38	1562	[DEBUG]	Query for Product
2023-10-13	12:48:38	1562	[DEBUG]	Executed store
2023-10-13	12:48:38	1562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861045','1000000111392','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:38	1562	[DEBUG]	No parent found
2023-10-13	12:48:38	1562	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861045 AND customfield_value = 'stockable'
2023-10-13	12:48:38	1562	[DEBUG]	Check product language entry
2023-10-13	12:48:38	1562	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861054
2023-10-13	12:48:38	1562	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:38	1562	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000111392' AND `virtuemart_product_id` != 1861054
2023-10-13	12:48:38	1562	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:38	1562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861054, '1000000111392')
2023-10-13	12:48:38	1562	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:38	1562	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-46' AND `virtuemart_product_id` != 1861054
2023-10-13	12:48:38	1562	[DEBUG]	Query for ProductLang
2023-10-13	12:48:38	1562	[DEBUG]	Executed store
2023-10-13	12:48:38	1562	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Blanche (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-46' WHERE `virtuemart_product_id` = '1861054'
2023-10-13	12:48:38	1562	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:38	1562	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:38	1562	[DEBUG]	Process image file
2023-10-13	12:48:38	1562	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:38	1562	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:38	1562	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:38	1562	[DEBUG]	Full name target: bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:39	1562	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:39	1562	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:39	1562	[DEBUG]	Query for Media
2023-10-13	12:48:39	1562	[DEBUG]	Executed store
2023-10-13	12:48:39	1562	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15970'
2023-10-13	12:48:39	1562	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:39	1562	[DEBUG]	Executed store
2023-10-13	12:48:39	1562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861054','15970','1')
2023-10-13	12:48:39	1562	[DEBUG]	Store product image relation
2023-10-13	12:48:39	1562	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:39	1562	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861054 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:39	1562	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:39	1562	[DEBUG]	Executed store
2023-10-13	12:48:39	1562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861054','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:39	1562	[DEBUG]	Checking manufacturer
2023-10-13	12:48:39	1562	[DEBUG]	Load a row
2023-10-13	12:48:39	1562	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:39	1562	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:39	1562	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:39	1562	[DEBUG]	Executed store
2023-10-13	12:48:39	1562	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:39	1562	[DEBUG]	Manufacturer exists
2023-10-13	12:48:39	1562	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:39	1562	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:39	1562	[DEBUG]	Executed store
2023-10-13	12:48:39	1562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861054','32')
2023-10-13	12:48:39	1562	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:39	1562	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:39	1562	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861054 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:39	1562	[DEBUG]	Store custom available field
2023-10-13	12:48:39	1562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861054,3,'',1)
2023-10-13	12:48:39	1562	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:39	1562	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:48:39	1562	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861054 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:39	1562	[DEBUG]	Store custom available field
2023-10-13	12:48:39	1562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861054,6,'46',3)
2023-10-13	12:48:39	1562	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:39	1562	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:39	1562	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861045
2023-10-13	12:48:39	1562	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:39	1562	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1861045\":[1861045,8,1,\"choisir la taille\"],\"1861046\":[\"38\"],\"1861047\":[\"39\"],\"1861048\":[\"40\"],\"1861049\":[\"41\"],\"1861050\":[\"42\"],\"1861051\":[\"43\"],\"1861052\":[\"44\"],\"1861053\":[\"45\"],\"1861054\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861045
2023-10-13	12:48:39	1562	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:39	1562	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861054
2023-10-13	12:48:39	1563	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:39	1563	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:39	1563	[DEBUG]	Use field value for field taille
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:39	1563	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:39	1563	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:39	1563	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:39	1563	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:39	1563	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:39	1563	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:39	1563	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:39	1563	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:39	1563	[DEBUG]	Use field value for field published
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:39	1563	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field override
2023-10-13	12:48:39	1563	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:39	1563	[DEBUG]	Use field value for field slug
2023-10-13	12:48:39	1563	[DEBUG]	Process line 1563
2023-10-13	12:48:39	1563	[DEBUG]	Load a row
2023-10-13	12:48:39	1563	[DEBUG]	Processing item: 8435466215743
2023-10-13	12:48:39	1563	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:39	1563	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:39	1563	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_45'
2023-10-13	12:48:39	1563	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:39	1563	[DEBUG]	Processing product tax
2023-10-13	12:48:39	1563	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:39	1563	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:39	1563	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:39	1563	[DEBUG]	Query for Product
2023-10-13	12:48:39	1563	[DEBUG]	Executed store
2023-10-13	12:48:39	1563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861045','8435466215743','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:39	1563	[DEBUG]	No parent found
2023-10-13	12:48:39	1563	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861045 AND customfield_value = 'stockable'
2023-10-13	12:48:39	1563	[DEBUG]	Check product language entry
2023-10-13	12:48:39	1563	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861055
2023-10-13	12:48:39	1563	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:39	1563	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215743' AND `virtuemart_product_id` != 1861055
2023-10-13	12:48:39	1563	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:39	1563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861055, '8435466215743')
2023-10-13	12:48:39	1563	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:39	1563	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-47' AND `virtuemart_product_id` != 1861055
2023-10-13	12:48:39	1563	[DEBUG]	Query for ProductLang
2023-10-13	12:48:39	1563	[DEBUG]	Executed store
2023-10-13	12:48:39	1563	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Blanche (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-blanche-47' WHERE `virtuemart_product_id` = '1861055'
2023-10-13	12:48:39	1563	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:39	1563	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:39	1563	[DEBUG]	Process image file
2023-10-13	12:48:39	1563	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:39	1563	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:39	1563	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:39	1563	[DEBUG]	Full name target: bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:40	1563	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:40	1563	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:40	1563	[DEBUG]	Query for Media
2023-10-13	12:48:40	1563	[DEBUG]	Executed store
2023-10-13	12:48:40	1563	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34015_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15970'
2023-10-13	12:48:40	1563	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:40	1563	[DEBUG]	Executed store
2023-10-13	12:48:40	1563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861055','15970','1')
2023-10-13	12:48:40	1563	[DEBUG]	Store product image relation
2023-10-13	12:48:40	1563	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:40	1563	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861055 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:40	1563	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:40	1563	[DEBUG]	Executed store
2023-10-13	12:48:40	1563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861055','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:40	1563	[DEBUG]	Checking manufacturer
2023-10-13	12:48:40	1563	[DEBUG]	Load a row
2023-10-13	12:48:40	1563	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:40	1563	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:40	1563	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:40	1563	[DEBUG]	Executed store
2023-10-13	12:48:40	1563	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:40	1563	[DEBUG]	Manufacturer exists
2023-10-13	12:48:40	1563	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:40	1563	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:40	1563	[DEBUG]	Executed store
2023-10-13	12:48:40	1563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861055','32')
2023-10-13	12:48:40	1563	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:40	1563	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:40	1563	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861055 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:40	1563	[DEBUG]	Store custom available field
2023-10-13	12:48:40	1563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861055,3,'',1)
2023-10-13	12:48:40	1563	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:40	1563	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:48:40	1563	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861055 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:40	1563	[DEBUG]	Store custom available field
2023-10-13	12:48:40	1563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861055,6,'47',3)
2023-10-13	12:48:40	1563	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:40	1563	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:40	1563	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861045
2023-10-13	12:48:40	1563	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:40	1563	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1861045\":[1861045,8,1,\"choisir la taille\"],\"1861046\":[\"38\"],\"1861047\":[\"39\"],\"1861048\":[\"40\"],\"1861049\":[\"41\"],\"1861050\":[\"42\"],\"1861051\":[\"43\"],\"1861052\":[\"44\"],\"1861053\":[\"45\"],\"1861054\":[\"46\"],\"1861055\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1861045
2023-10-13	12:48:40	1563	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:40	1563	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861055
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:40	1564	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field taille
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field category_path
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:40	1564	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:48:40	1564	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:40	1564	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field product_weight
2023-10-13	12:48:40	1564	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:40	1564	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:40	1564	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field published
2023-10-13	12:48:40	1564	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:40	1564	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field custom_title
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field custom_param
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field override
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field public_price
2023-10-13	12:48:40	1564	[DEBUG]	Use field value for field slug
2023-10-13	12:48:40	1564	[DEBUG]	Process line 1564
2023-10-13	12:48:40	1564	[DEBUG]	Load a row
2023-10-13	12:48:40	1564	[DEBUG]	Processing item: A_6901_65
2023-10-13	12:48:40	1564	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:40	1564	[DEBUG]	Processing product tax
2023-10-13	12:48:40	1564	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:40	1564	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:40	1564	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:40	1564	[DEBUG]	Query for Product
2023-10-13	12:48:40	1564	[DEBUG]	Executed store
2023-10-13	12:48:40	1564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6901_65','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:40	1564	[DEBUG]	Check product language entry
2023-10-13	12:48:40	1564	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861056
2023-10-13	12:48:40	1564	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:40	1564	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6901_65' AND `virtuemart_product_id` != 1861056
2023-10-13	12:48:40	1564	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:40	1564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861056, 'A_6901_65')
2023-10-13	12:48:40	1564	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:40	1564	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune' AND `virtuemart_product_id` != 1861056
2023-10-13	12:48:40	1564	[DEBUG]	Query for ProductLang
2023-10-13	12:48:40	1564	[DEBUG]	Executed store
2023-10-13	12:48:40	1564	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro VTT XC avec système de ventilation breveté ! 699 GR.<br>N° art fourn : ZAEROXC',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune' WHERE `virtuemart_product_id` = '1861056'
2023-10-13	12:48:40	1564	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:40	1564	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:40	1564	[DEBUG]	Process image file
2023-10-13	12:48:40	1564	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:40	1564	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:40	1564	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:40	1564	[DEBUG]	Full name target: bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:41	1564	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:41	1564	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:41	1564	[DEBUG]	Query for Media
2023-10-13	12:48:41	1564	[DEBUG]	Executed store
2023-10-13	12:48:41	1564	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15971'
2023-10-13	12:48:41	1564	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:41	1564	[DEBUG]	Executed store
2023-10-13	12:48:41	1564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861056','15971','1')
2023-10-13	12:48:41	1564	[DEBUG]	Store product image relation
2023-10-13	12:48:41	1564	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:41	1564	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861056 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:41	1564	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:41	1564	[DEBUG]	Executed store
2023-10-13	12:48:41	1564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861056','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:41	1564	[DEBUG]	Checking manufacturer
2023-10-13	12:48:41	1564	[DEBUG]	Load a row
2023-10-13	12:48:41	1564	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:41	1564	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:41	1564	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:41	1564	[DEBUG]	Executed store
2023-10-13	12:48:41	1564	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:41	1564	[DEBUG]	Manufacturer exists
2023-10-13	12:48:41	1564	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:41	1564	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:41	1564	[DEBUG]	Executed store
2023-10-13	12:48:41	1564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861056','32')
2023-10-13	12:48:41	1564	[DEBUG]	Find the custom field ID
2023-10-13	12:48:41	1564	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:48:41	1564	[DEBUG]	No custom field ID found
2023-10-13	12:48:41	1564	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:41	1564	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:48:41	1564	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861056 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:41	1564	[DEBUG]	Store custom available field
2023-10-13	12:48:41	1564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861056,3,'179.400277777778',1)
2023-10-13	12:48:41	1564	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:41	1564	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:48:41	1564	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861056 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:41	1564	[DEBUG]	Store custom available field
2023-10-13	12:48:41	1564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861056,6,'choisir la taille',3)
2023-10-13	12:48:41	1564	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:41	1564	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:48:41	1564	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:48:41	1564	[DEBUG]	Find the multi variant product entry
2023-10-13	12:48:41	1564	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861056 AND `virtuemart_custom_id` = 8
2023-10-13	12:48:41	1564	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:48:41	1564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861056,8,1)
2023-10-13	12:48:41	1564	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:41	1564	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861056\":[1861056,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861056
2023-10-13	12:48:41	1564	[DEBUG]	Checking category
2023-10-13	12:48:41	1564	[DEBUG]	Get the existing categories for the product
2023-10-13	12:48:41	1564	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861056
2023-10-13	12:48:41	1564	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:48:41	1564	[DEBUG]	Executed store
2023-10-13	12:48:41	1564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861056','7331')
2023-10-13	12:48:41	1564	[DEBUG]	Delete leftover product categories
2023-10-13	12:48:41	1564	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861056 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:48:41	1564	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:41	1564	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861056
2023-10-13	12:48:41	1565	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:41	1565	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:41	1565	[DEBUG]	Use field value for field taille
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:41	1565	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:41	1565	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:41	1565	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:41	1565	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:41	1565	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:41	1565	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:41	1565	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:41	1565	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:41	1565	[DEBUG]	Use field value for field published
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:41	1565	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field override
2023-10-13	12:48:41	1565	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:41	1565	[DEBUG]	Use field value for field slug
2023-10-13	12:48:41	1565	[DEBUG]	Process line 1565
2023-10-13	12:48:41	1565	[DEBUG]	Load a row
2023-10-13	12:48:41	1565	[DEBUG]	Processing item: 1000000110968
2023-10-13	12:48:41	1565	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:41	1565	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:41	1565	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_65'
2023-10-13	12:48:41	1565	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:41	1565	[DEBUG]	Processing product tax
2023-10-13	12:48:41	1565	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:41	1565	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:41	1565	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:41	1565	[DEBUG]	Query for Product
2023-10-13	12:48:41	1565	[DEBUG]	Executed store
2023-10-13	12:48:41	1565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861056','1000000110968','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:41	1565	[DEBUG]	No parent found
2023-10-13	12:48:41	1565	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861056 AND customfield_value = 'stockable'
2023-10-13	12:48:41	1565	[DEBUG]	Check product language entry
2023-10-13	12:48:41	1565	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861057
2023-10-13	12:48:41	1565	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:41	1565	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000110968' AND `virtuemart_product_id` != 1861057
2023-10-13	12:48:41	1565	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:41	1565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861057, '1000000110968')
2023-10-13	12:48:41	1565	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:41	1565	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-38' AND `virtuemart_product_id` != 1861057
2023-10-13	12:48:41	1565	[DEBUG]	Query for ProductLang
2023-10-13	12:48:41	1565	[DEBUG]	Executed store
2023-10-13	12:48:41	1565	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Jaune (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-38' WHERE `virtuemart_product_id` = '1861057'
2023-10-13	12:48:41	1565	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:41	1565	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:41	1565	[DEBUG]	Process image file
2023-10-13	12:48:41	1565	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:41	1565	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:41	1565	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:41	1565	[DEBUG]	Full name target: bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:42	1565	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:42	1565	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:42	1565	[DEBUG]	Query for Media
2023-10-13	12:48:42	1565	[DEBUG]	Executed store
2023-10-13	12:48:42	1565	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15971'
2023-10-13	12:48:42	1565	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:42	1565	[DEBUG]	Executed store
2023-10-13	12:48:42	1565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861057','15971','1')
2023-10-13	12:48:42	1565	[DEBUG]	Store product image relation
2023-10-13	12:48:42	1565	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:42	1565	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861057 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:42	1565	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:42	1565	[DEBUG]	Executed store
2023-10-13	12:48:42	1565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861057','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:42	1565	[DEBUG]	Checking manufacturer
2023-10-13	12:48:42	1565	[DEBUG]	Load a row
2023-10-13	12:48:42	1565	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:42	1565	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:42	1565	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:42	1565	[DEBUG]	Executed store
2023-10-13	12:48:42	1565	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:42	1565	[DEBUG]	Manufacturer exists
2023-10-13	12:48:42	1565	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:42	1565	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:42	1565	[DEBUG]	Executed store
2023-10-13	12:48:42	1565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861057','32')
2023-10-13	12:48:42	1565	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:42	1565	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:42	1565	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861057 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:42	1565	[DEBUG]	Store custom available field
2023-10-13	12:48:42	1565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861057,3,'',1)
2023-10-13	12:48:42	1565	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:42	1565	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:48:42	1565	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861057 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:42	1565	[DEBUG]	Store custom available field
2023-10-13	12:48:42	1565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861057,6,'38',3)
2023-10-13	12:48:42	1565	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:42	1565	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:42	1565	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861056
2023-10-13	12:48:42	1565	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:42	1565	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1861056\":[1861056,8,1,\"choisir la taille\"],\"1861057\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1861056
2023-10-13	12:48:42	1565	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:42	1565	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861057
2023-10-13	12:48:42	1566	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:42	1566	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:42	1566	[DEBUG]	Use field value for field taille
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:42	1566	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:42	1566	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:42	1566	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:42	1566	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:42	1566	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:42	1566	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:42	1566	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:42	1566	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:42	1566	[DEBUG]	Use field value for field published
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:42	1566	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field override
2023-10-13	12:48:42	1566	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:42	1566	[DEBUG]	Use field value for field slug
2023-10-13	12:48:42	1566	[DEBUG]	Process line 1566
2023-10-13	12:48:42	1566	[DEBUG]	Load a row
2023-10-13	12:48:42	1566	[DEBUG]	Processing item: 1000000113723
2023-10-13	12:48:42	1566	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:42	1566	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:42	1566	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_65'
2023-10-13	12:48:42	1566	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:42	1566	[DEBUG]	Processing product tax
2023-10-13	12:48:42	1566	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:42	1566	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:42	1566	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:42	1566	[DEBUG]	Query for Product
2023-10-13	12:48:42	1566	[DEBUG]	Executed store
2023-10-13	12:48:42	1566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861056','1000000113723','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:42	1566	[DEBUG]	No parent found
2023-10-13	12:48:42	1566	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861056 AND customfield_value = 'stockable'
2023-10-13	12:48:42	1566	[DEBUG]	Check product language entry
2023-10-13	12:48:42	1566	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861058
2023-10-13	12:48:42	1566	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:42	1566	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113723' AND `virtuemart_product_id` != 1861058
2023-10-13	12:48:42	1566	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:42	1566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861058, '1000000113723')
2023-10-13	12:48:42	1566	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:42	1566	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-39' AND `virtuemart_product_id` != 1861058
2023-10-13	12:48:42	1566	[DEBUG]	Query for ProductLang
2023-10-13	12:48:42	1566	[DEBUG]	Executed store
2023-10-13	12:48:42	1566	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Jaune (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-39' WHERE `virtuemart_product_id` = '1861058'
2023-10-13	12:48:42	1566	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:42	1566	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:42	1566	[DEBUG]	Process image file
2023-10-13	12:48:42	1566	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:42	1566	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:42	1566	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:42	1566	[DEBUG]	Full name target: bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:43	1566	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:43	1566	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:43	1566	[DEBUG]	Query for Media
2023-10-13	12:48:43	1566	[DEBUG]	Executed store
2023-10-13	12:48:43	1566	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15971'
2023-10-13	12:48:43	1566	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:43	1566	[DEBUG]	Executed store
2023-10-13	12:48:43	1566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861058','15971','1')
2023-10-13	12:48:43	1566	[DEBUG]	Store product image relation
2023-10-13	12:48:43	1566	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:43	1566	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861058 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:43	1566	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:43	1566	[DEBUG]	Executed store
2023-10-13	12:48:43	1566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861058','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:43	1566	[DEBUG]	Checking manufacturer
2023-10-13	12:48:43	1566	[DEBUG]	Load a row
2023-10-13	12:48:43	1566	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:43	1566	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:43	1566	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:43	1566	[DEBUG]	Executed store
2023-10-13	12:48:43	1566	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:43	1566	[DEBUG]	Manufacturer exists
2023-10-13	12:48:43	1566	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:43	1566	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:43	1566	[DEBUG]	Executed store
2023-10-13	12:48:43	1566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861058','32')
2023-10-13	12:48:43	1566	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:43	1566	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:43	1566	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861058 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:43	1566	[DEBUG]	Store custom available field
2023-10-13	12:48:43	1566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861058,3,'',1)
2023-10-13	12:48:43	1566	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:43	1566	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:48:43	1566	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861058 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:43	1566	[DEBUG]	Store custom available field
2023-10-13	12:48:43	1566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861058,6,'39',3)
2023-10-13	12:48:43	1566	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:43	1566	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:43	1566	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861056
2023-10-13	12:48:43	1566	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:43	1566	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1861056\":[1861056,8,1,\"choisir la taille\"],\"1861057\":[\"38\"],\"1861058\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861056
2023-10-13	12:48:43	1566	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:43	1566	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861058
2023-10-13	12:48:43	1567	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:43	1567	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:43	1567	[DEBUG]	Use field value for field taille
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:43	1567	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:43	1567	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:43	1567	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:43	1567	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:43	1567	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:43	1567	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:43	1567	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:43	1567	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:43	1567	[DEBUG]	Use field value for field published
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:43	1567	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field override
2023-10-13	12:48:43	1567	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:43	1567	[DEBUG]	Use field value for field slug
2023-10-13	12:48:43	1567	[DEBUG]	Process line 1567
2023-10-13	12:48:43	1567	[DEBUG]	Load a row
2023-10-13	12:48:43	1567	[DEBUG]	Processing item: 1000000113730
2023-10-13	12:48:43	1567	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:43	1567	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:43	1567	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_65'
2023-10-13	12:48:43	1567	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:43	1567	[DEBUG]	Processing product tax
2023-10-13	12:48:43	1567	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:43	1567	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:43	1567	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:43	1567	[DEBUG]	Query for Product
2023-10-13	12:48:43	1567	[DEBUG]	Executed store
2023-10-13	12:48:43	1567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861056','1000000113730','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:43	1567	[DEBUG]	No parent found
2023-10-13	12:48:43	1567	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861056 AND customfield_value = 'stockable'
2023-10-13	12:48:43	1567	[DEBUG]	Check product language entry
2023-10-13	12:48:43	1567	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861059
2023-10-13	12:48:43	1567	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:43	1567	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113730' AND `virtuemart_product_id` != 1861059
2023-10-13	12:48:43	1567	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:43	1567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861059, '1000000113730')
2023-10-13	12:48:43	1567	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:43	1567	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-40' AND `virtuemart_product_id` != 1861059
2023-10-13	12:48:43	1567	[DEBUG]	Query for ProductLang
2023-10-13	12:48:43	1567	[DEBUG]	Executed store
2023-10-13	12:48:43	1567	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Jaune (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-40' WHERE `virtuemart_product_id` = '1861059'
2023-10-13	12:48:43	1567	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:43	1567	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:43	1567	[DEBUG]	Process image file
2023-10-13	12:48:43	1567	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:43	1567	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:43	1567	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:43	1567	[DEBUG]	Full name target: bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:44	1567	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:44	1567	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:44	1567	[DEBUG]	Query for Media
2023-10-13	12:48:44	1567	[DEBUG]	Executed store
2023-10-13	12:48:44	1567	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15971'
2023-10-13	12:48:44	1567	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:44	1567	[DEBUG]	Executed store
2023-10-13	12:48:44	1567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861059','15971','1')
2023-10-13	12:48:44	1567	[DEBUG]	Store product image relation
2023-10-13	12:48:44	1567	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:44	1567	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861059 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:44	1567	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:44	1567	[DEBUG]	Executed store
2023-10-13	12:48:44	1567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861059','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:44	1567	[DEBUG]	Checking manufacturer
2023-10-13	12:48:44	1567	[DEBUG]	Load a row
2023-10-13	12:48:44	1567	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:44	1567	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:44	1567	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:44	1567	[DEBUG]	Executed store
2023-10-13	12:48:44	1567	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:44	1567	[DEBUG]	Manufacturer exists
2023-10-13	12:48:44	1567	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:44	1567	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:44	1567	[DEBUG]	Executed store
2023-10-13	12:48:44	1567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861059','32')
2023-10-13	12:48:44	1567	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:44	1567	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:44	1567	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861059 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:44	1567	[DEBUG]	Store custom available field
2023-10-13	12:48:44	1567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861059,3,'',1)
2023-10-13	12:48:44	1567	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:44	1567	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:48:44	1567	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861059 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:44	1567	[DEBUG]	Store custom available field
2023-10-13	12:48:44	1567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861059,6,'40',3)
2023-10-13	12:48:44	1567	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:44	1567	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:44	1567	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861056
2023-10-13	12:48:44	1567	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:44	1567	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1861056\":[1861056,8,1,\"choisir la taille\"],\"1861057\":[\"38\"],\"1861058\":[\"39\"],\"1861059\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861056
2023-10-13	12:48:44	1567	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:44	1567	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861059
2023-10-13	12:48:44	1568	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:44	1568	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:44	1568	[DEBUG]	Use field value for field taille
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:44	1568	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:44	1568	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:44	1568	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:44	1568	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:44	1568	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:44	1568	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:44	1568	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:44	1568	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:44	1568	[DEBUG]	Use field value for field published
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:44	1568	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field override
2023-10-13	12:48:44	1568	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:44	1568	[DEBUG]	Use field value for field slug
2023-10-13	12:48:44	1568	[DEBUG]	Process line 1568
2023-10-13	12:48:44	1568	[DEBUG]	Load a row
2023-10-13	12:48:44	1568	[DEBUG]	Processing item: 8435466295981
2023-10-13	12:48:44	1568	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:44	1568	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:44	1568	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_65'
2023-10-13	12:48:44	1568	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:44	1568	[DEBUG]	Processing product tax
2023-10-13	12:48:44	1568	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:44	1568	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:44	1568	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:44	1568	[DEBUG]	Query for Product
2023-10-13	12:48:44	1568	[DEBUG]	Executed store
2023-10-13	12:48:44	1568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861056','8435466295981','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:44	1568	[DEBUG]	No parent found
2023-10-13	12:48:44	1568	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861056 AND customfield_value = 'stockable'
2023-10-13	12:48:44	1568	[DEBUG]	Check product language entry
2023-10-13	12:48:44	1568	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861060
2023-10-13	12:48:44	1568	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:44	1568	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295981' AND `virtuemart_product_id` != 1861060
2023-10-13	12:48:44	1568	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:44	1568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861060, '8435466295981')
2023-10-13	12:48:44	1568	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:44	1568	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-41' AND `virtuemart_product_id` != 1861060
2023-10-13	12:48:44	1568	[DEBUG]	Query for ProductLang
2023-10-13	12:48:44	1568	[DEBUG]	Executed store
2023-10-13	12:48:44	1568	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Jaune (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-41' WHERE `virtuemart_product_id` = '1861060'
2023-10-13	12:48:45	1568	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:45	1568	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:45	1568	[DEBUG]	Process image file
2023-10-13	12:48:45	1568	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:45	1568	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:45	1568	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:45	1568	[DEBUG]	Full name target: bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:45	1568	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:45	1568	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:45	1568	[DEBUG]	Query for Media
2023-10-13	12:48:45	1568	[DEBUG]	Executed store
2023-10-13	12:48:45	1568	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15971'
2023-10-13	12:48:45	1568	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:45	1568	[DEBUG]	Executed store
2023-10-13	12:48:45	1568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861060','15971','1')
2023-10-13	12:48:45	1568	[DEBUG]	Store product image relation
2023-10-13	12:48:45	1568	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:45	1568	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861060 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:45	1568	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:45	1568	[DEBUG]	Executed store
2023-10-13	12:48:45	1568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861060','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:45	1568	[DEBUG]	Checking manufacturer
2023-10-13	12:48:45	1568	[DEBUG]	Load a row
2023-10-13	12:48:45	1568	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:45	1568	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:45	1568	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:45	1568	[DEBUG]	Executed store
2023-10-13	12:48:45	1568	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:45	1568	[DEBUG]	Manufacturer exists
2023-10-13	12:48:45	1568	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:45	1568	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:45	1568	[DEBUG]	Executed store
2023-10-13	12:48:45	1568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861060','32')
2023-10-13	12:48:45	1568	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:45	1568	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:45	1568	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861060 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:45	1568	[DEBUG]	Store custom available field
2023-10-13	12:48:45	1568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861060,3,'',1)
2023-10-13	12:48:45	1568	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:45	1568	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:48:45	1568	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861060 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:45	1568	[DEBUG]	Store custom available field
2023-10-13	12:48:45	1568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861060,6,'41',3)
2023-10-13	12:48:45	1568	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:45	1568	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:45	1568	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861056
2023-10-13	12:48:45	1568	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:45	1568	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1861056\":[1861056,8,1,\"choisir la taille\"],\"1861057\":[\"38\"],\"1861058\":[\"39\"],\"1861059\":[\"40\"],\"1861060\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861056
2023-10-13	12:48:45	1568	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:45	1568	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861060
2023-10-13	12:48:45	1569	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:45	1569	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:45	1569	[DEBUG]	Use field value for field taille
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:45	1569	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:45	1569	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:45	1569	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:45	1569	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:45	1569	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:45	1569	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:45	1569	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:45	1569	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:45	1569	[DEBUG]	Use field value for field published
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:45	1569	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field override
2023-10-13	12:48:45	1569	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:45	1569	[DEBUG]	Use field value for field slug
2023-10-13	12:48:45	1569	[DEBUG]	Process line 1569
2023-10-13	12:48:45	1569	[DEBUG]	Load a row
2023-10-13	12:48:45	1569	[DEBUG]	Processing item: 1000000113754
2023-10-13	12:48:45	1569	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:45	1569	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:45	1569	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_65'
2023-10-13	12:48:45	1569	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:45	1569	[DEBUG]	Processing product tax
2023-10-13	12:48:45	1569	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:45	1569	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:45	1569	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:45	1569	[DEBUG]	Query for Product
2023-10-13	12:48:45	1569	[DEBUG]	Executed store
2023-10-13	12:48:45	1569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861056','1000000113754','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:45	1569	[DEBUG]	No parent found
2023-10-13	12:48:45	1569	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861056 AND customfield_value = 'stockable'
2023-10-13	12:48:45	1569	[DEBUG]	Check product language entry
2023-10-13	12:48:45	1569	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861061
2023-10-13	12:48:45	1569	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:45	1569	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113754' AND `virtuemart_product_id` != 1861061
2023-10-13	12:48:45	1569	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:45	1569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861061, '1000000113754')
2023-10-13	12:48:45	1569	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:45	1569	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-42' AND `virtuemart_product_id` != 1861061
2023-10-13	12:48:45	1569	[DEBUG]	Query for ProductLang
2023-10-13	12:48:45	1569	[DEBUG]	Executed store
2023-10-13	12:48:45	1569	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Jaune (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-42' WHERE `virtuemart_product_id` = '1861061'
2023-10-13	12:48:45	1569	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:45	1569	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:45	1569	[DEBUG]	Process image file
2023-10-13	12:48:45	1569	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:45	1569	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:45	1569	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:45	1569	[DEBUG]	Full name target: bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:46	1569	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:46	1569	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:46	1569	[DEBUG]	Query for Media
2023-10-13	12:48:46	1569	[DEBUG]	Executed store
2023-10-13	12:48:46	1569	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15971'
2023-10-13	12:48:46	1569	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:46	1569	[DEBUG]	Executed store
2023-10-13	12:48:46	1569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861061','15971','1')
2023-10-13	12:48:46	1569	[DEBUG]	Store product image relation
2023-10-13	12:48:46	1569	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:46	1569	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861061 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:46	1569	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:46	1569	[DEBUG]	Executed store
2023-10-13	12:48:46	1569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861061','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:46	1569	[DEBUG]	Checking manufacturer
2023-10-13	12:48:46	1569	[DEBUG]	Load a row
2023-10-13	12:48:46	1569	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:46	1569	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:46	1569	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:46	1569	[DEBUG]	Executed store
2023-10-13	12:48:46	1569	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:46	1569	[DEBUG]	Manufacturer exists
2023-10-13	12:48:46	1569	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:46	1569	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:46	1569	[DEBUG]	Executed store
2023-10-13	12:48:46	1569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861061','32')
2023-10-13	12:48:46	1569	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:46	1569	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:46	1569	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861061 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:46	1569	[DEBUG]	Store custom available field
2023-10-13	12:48:46	1569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861061,3,'',1)
2023-10-13	12:48:46	1569	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:46	1569	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:48:46	1569	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861061 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:46	1569	[DEBUG]	Store custom available field
2023-10-13	12:48:46	1569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861061,6,'42',3)
2023-10-13	12:48:46	1569	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:46	1569	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:46	1569	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861056
2023-10-13	12:48:46	1569	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:46	1569	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1861056\":[1861056,8,1,\"choisir la taille\"],\"1861057\":[\"38\"],\"1861058\":[\"39\"],\"1861059\":[\"40\"],\"1861060\":[\"41\"],\"1861061\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861056
2023-10-13	12:48:46	1569	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:46	1569	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861061
2023-10-13	12:48:46	1570	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:46	1570	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:46	1570	[DEBUG]	Use field value for field taille
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:46	1570	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:46	1570	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:46	1570	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:46	1570	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:46	1570	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:46	1570	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:46	1570	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:46	1570	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:46	1570	[DEBUG]	Use field value for field published
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:46	1570	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field override
2023-10-13	12:48:46	1570	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:46	1570	[DEBUG]	Use field value for field slug
2023-10-13	12:48:46	1570	[DEBUG]	Process line 1570
2023-10-13	12:48:47	1570	[DEBUG]	Load a row
2023-10-13	12:48:47	1570	[DEBUG]	Processing item: 1000000113761
2023-10-13	12:48:47	1570	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:47	1570	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:47	1570	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_65'
2023-10-13	12:48:47	1570	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:47	1570	[DEBUG]	Processing product tax
2023-10-13	12:48:47	1570	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:47	1570	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:47	1570	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:47	1570	[DEBUG]	Query for Product
2023-10-13	12:48:47	1570	[DEBUG]	Executed store
2023-10-13	12:48:47	1570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861056','1000000113761','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:47	1570	[DEBUG]	No parent found
2023-10-13	12:48:47	1570	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861056 AND customfield_value = 'stockable'
2023-10-13	12:48:47	1570	[DEBUG]	Check product language entry
2023-10-13	12:48:47	1570	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861062
2023-10-13	12:48:47	1570	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:47	1570	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113761' AND `virtuemart_product_id` != 1861062
2023-10-13	12:48:47	1570	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:47	1570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861062, '1000000113761')
2023-10-13	12:48:47	1570	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:47	1570	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-43' AND `virtuemart_product_id` != 1861062
2023-10-13	12:48:47	1570	[DEBUG]	Query for ProductLang
2023-10-13	12:48:47	1570	[DEBUG]	Executed store
2023-10-13	12:48:47	1570	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Jaune (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-43' WHERE `virtuemart_product_id` = '1861062'
2023-10-13	12:48:47	1570	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:47	1570	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:47	1570	[DEBUG]	Process image file
2023-10-13	12:48:47	1570	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:47	1570	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:47	1570	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:47	1570	[DEBUG]	Full name target: bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:47	1570	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:47	1570	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:47	1570	[DEBUG]	Query for Media
2023-10-13	12:48:48	1570	[DEBUG]	Executed store
2023-10-13	12:48:48	1570	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15971'
2023-10-13	12:48:48	1570	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:48	1570	[DEBUG]	Executed store
2023-10-13	12:48:48	1570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861062','15971','1')
2023-10-13	12:48:48	1570	[DEBUG]	Store product image relation
2023-10-13	12:48:48	1570	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:48	1570	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861062 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:48	1570	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:48	1570	[DEBUG]	Executed store
2023-10-13	12:48:48	1570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861062','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:48	1570	[DEBUG]	Checking manufacturer
2023-10-13	12:48:48	1570	[DEBUG]	Load a row
2023-10-13	12:48:48	1570	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:48	1570	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:48	1570	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:48	1570	[DEBUG]	Executed store
2023-10-13	12:48:48	1570	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:48	1570	[DEBUG]	Manufacturer exists
2023-10-13	12:48:48	1570	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:48	1570	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:48	1570	[DEBUG]	Executed store
2023-10-13	12:48:48	1570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861062','32')
2023-10-13	12:48:48	1570	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:48	1570	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:48	1570	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861062 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:48	1570	[DEBUG]	Store custom available field
2023-10-13	12:48:48	1570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861062,3,'',1)
2023-10-13	12:48:48	1570	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:48	1570	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:48:48	1570	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861062 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:48	1570	[DEBUG]	Store custom available field
2023-10-13	12:48:48	1570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861062,6,'43',3)
2023-10-13	12:48:48	1570	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:48	1570	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:48	1570	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861056
2023-10-13	12:48:48	1570	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:48	1570	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1861056\":[1861056,8,1,\"choisir la taille\"],\"1861057\":[\"38\"],\"1861058\":[\"39\"],\"1861059\":[\"40\"],\"1861060\":[\"41\"],\"1861061\":[\"42\"],\"1861062\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861056
2023-10-13	12:48:48	1570	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:48	1570	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861062
2023-10-13	12:48:48	1571	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:48	1571	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:48	1571	[DEBUG]	Use field value for field taille
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:48	1571	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:48	1571	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:48	1571	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:48	1571	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:48	1571	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:48	1571	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:48	1571	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:48	1571	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:48	1571	[DEBUG]	Use field value for field published
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:48	1571	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field override
2023-10-13	12:48:48	1571	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:48	1571	[DEBUG]	Use field value for field slug
2023-10-13	12:48:48	1571	[DEBUG]	Process line 1571
2023-10-13	12:48:48	1571	[DEBUG]	Load a row
2023-10-13	12:48:48	1571	[DEBUG]	Processing item: 1000000113778
2023-10-13	12:48:48	1571	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:48	1571	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:48	1571	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_65'
2023-10-13	12:48:48	1571	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:48	1571	[DEBUG]	Processing product tax
2023-10-13	12:48:48	1571	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:48	1571	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:48	1571	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:48	1571	[DEBUG]	Query for Product
2023-10-13	12:48:48	1571	[DEBUG]	Executed store
2023-10-13	12:48:48	1571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861056','1000000113778','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:48	1571	[DEBUG]	No parent found
2023-10-13	12:48:48	1571	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861056 AND customfield_value = 'stockable'
2023-10-13	12:48:48	1571	[DEBUG]	Check product language entry
2023-10-13	12:48:48	1571	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861063
2023-10-13	12:48:48	1571	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:48	1571	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113778' AND `virtuemart_product_id` != 1861063
2023-10-13	12:48:48	1571	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:48	1571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861063, '1000000113778')
2023-10-13	12:48:48	1571	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:48	1571	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-44' AND `virtuemart_product_id` != 1861063
2023-10-13	12:48:48	1571	[DEBUG]	Query for ProductLang
2023-10-13	12:48:48	1571	[DEBUG]	Executed store
2023-10-13	12:48:48	1571	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Jaune (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-44' WHERE `virtuemart_product_id` = '1861063'
2023-10-13	12:48:48	1571	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:48	1571	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:48	1571	[DEBUG]	Process image file
2023-10-13	12:48:48	1571	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:48	1571	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:48	1571	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:48	1571	[DEBUG]	Full name target: bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:49	1571	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:49	1571	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:49	1571	[DEBUG]	Query for Media
2023-10-13	12:48:49	1571	[DEBUG]	Executed store
2023-10-13	12:48:49	1571	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15971'
2023-10-13	12:48:49	1571	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:49	1571	[DEBUG]	Executed store
2023-10-13	12:48:49	1571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861063','15971','1')
2023-10-13	12:48:49	1571	[DEBUG]	Store product image relation
2023-10-13	12:48:49	1571	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:49	1571	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861063 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:49	1571	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:49	1571	[DEBUG]	Executed store
2023-10-13	12:48:49	1571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861063','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:49	1571	[DEBUG]	Checking manufacturer
2023-10-13	12:48:49	1571	[DEBUG]	Load a row
2023-10-13	12:48:49	1571	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:49	1571	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:49	1571	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:49	1571	[DEBUG]	Executed store
2023-10-13	12:48:49	1571	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:49	1571	[DEBUG]	Manufacturer exists
2023-10-13	12:48:49	1571	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:49	1571	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:49	1571	[DEBUG]	Executed store
2023-10-13	12:48:49	1571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861063','32')
2023-10-13	12:48:49	1571	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:49	1571	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:49	1571	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861063 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:49	1571	[DEBUG]	Store custom available field
2023-10-13	12:48:49	1571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861063,3,'',1)
2023-10-13	12:48:49	1571	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:49	1571	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:48:49	1571	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861063 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:49	1571	[DEBUG]	Store custom available field
2023-10-13	12:48:49	1571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861063,6,'44',3)
2023-10-13	12:48:49	1571	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:49	1571	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:49	1571	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861056
2023-10-13	12:48:49	1571	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:49	1571	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1861056\":[1861056,8,1,\"choisir la taille\"],\"1861057\":[\"38\"],\"1861058\":[\"39\"],\"1861059\":[\"40\"],\"1861060\":[\"41\"],\"1861061\":[\"42\"],\"1861062\":[\"43\"],\"1861063\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861056
2023-10-13	12:48:49	1571	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:49	1571	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861063
2023-10-13	12:48:49	1572	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:49	1572	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:49	1572	[DEBUG]	Use field value for field taille
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:49	1572	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:49	1572	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:49	1572	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:49	1572	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:49	1572	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:49	1572	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:49	1572	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:49	1572	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:49	1572	[DEBUG]	Use field value for field published
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:49	1572	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field override
2023-10-13	12:48:49	1572	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:49	1572	[DEBUG]	Use field value for field slug
2023-10-13	12:48:49	1572	[DEBUG]	Process line 1572
2023-10-13	12:48:49	1572	[DEBUG]	Load a row
2023-10-13	12:48:49	1572	[DEBUG]	Processing item: 1000000113785
2023-10-13	12:48:49	1572	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:49	1572	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:49	1572	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_65'
2023-10-13	12:48:49	1572	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:49	1572	[DEBUG]	Processing product tax
2023-10-13	12:48:49	1572	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:49	1572	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:49	1572	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:49	1572	[DEBUG]	Query for Product
2023-10-13	12:48:49	1572	[DEBUG]	Executed store
2023-10-13	12:48:49	1572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861056','1000000113785','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:49	1572	[DEBUG]	No parent found
2023-10-13	12:48:49	1572	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861056 AND customfield_value = 'stockable'
2023-10-13	12:48:49	1572	[DEBUG]	Check product language entry
2023-10-13	12:48:49	1572	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861064
2023-10-13	12:48:49	1572	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:49	1572	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113785' AND `virtuemart_product_id` != 1861064
2023-10-13	12:48:49	1572	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:49	1572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861064, '1000000113785')
2023-10-13	12:48:49	1572	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:49	1572	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-45' AND `virtuemart_product_id` != 1861064
2023-10-13	12:48:49	1572	[DEBUG]	Query for ProductLang
2023-10-13	12:48:49	1572	[DEBUG]	Executed store
2023-10-13	12:48:49	1572	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Jaune (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-45' WHERE `virtuemart_product_id` = '1861064'
2023-10-13	12:48:49	1572	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:49	1572	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:49	1572	[DEBUG]	Process image file
2023-10-13	12:48:49	1572	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:49	1572	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:49	1572	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:49	1572	[DEBUG]	Full name target: bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:50	1572	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:50	1572	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:50	1572	[DEBUG]	Query for Media
2023-10-13	12:48:50	1572	[DEBUG]	Executed store
2023-10-13	12:48:50	1572	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15971'
2023-10-13	12:48:50	1572	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:50	1572	[DEBUG]	Executed store
2023-10-13	12:48:50	1572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861064','15971','1')
2023-10-13	12:48:50	1572	[DEBUG]	Store product image relation
2023-10-13	12:48:50	1572	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:50	1572	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861064 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:50	1572	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:50	1572	[DEBUG]	Executed store
2023-10-13	12:48:50	1572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861064','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:50	1572	[DEBUG]	Checking manufacturer
2023-10-13	12:48:50	1572	[DEBUG]	Load a row
2023-10-13	12:48:50	1572	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:50	1572	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:50	1572	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:50	1572	[DEBUG]	Executed store
2023-10-13	12:48:50	1572	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:50	1572	[DEBUG]	Manufacturer exists
2023-10-13	12:48:50	1572	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:50	1572	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:50	1572	[DEBUG]	Executed store
2023-10-13	12:48:50	1572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861064','32')
2023-10-13	12:48:50	1572	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:50	1572	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:50	1572	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861064 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:50	1572	[DEBUG]	Store custom available field
2023-10-13	12:48:50	1572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861064,3,'',1)
2023-10-13	12:48:50	1572	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:50	1572	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:48:50	1572	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861064 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:50	1572	[DEBUG]	Store custom available field
2023-10-13	12:48:50	1572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861064,6,'45',3)
2023-10-13	12:48:50	1572	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:50	1572	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:50	1572	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861056
2023-10-13	12:48:50	1572	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:50	1572	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1861056\":[1861056,8,1,\"choisir la taille\"],\"1861057\":[\"38\"],\"1861058\":[\"39\"],\"1861059\":[\"40\"],\"1861060\":[\"41\"],\"1861061\":[\"42\"],\"1861062\":[\"43\"],\"1861063\":[\"44\"],\"1861064\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861056
2023-10-13	12:48:50	1572	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:50	1572	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861064
2023-10-13	12:48:50	1573	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:50	1573	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:50	1573	[DEBUG]	Use field value for field taille
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:50	1573	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:50	1573	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:50	1573	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:50	1573	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:50	1573	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:50	1573	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:50	1573	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:50	1573	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:50	1573	[DEBUG]	Use field value for field published
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:50	1573	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field override
2023-10-13	12:48:50	1573	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:50	1573	[DEBUG]	Use field value for field slug
2023-10-13	12:48:50	1573	[DEBUG]	Process line 1573
2023-10-13	12:48:50	1573	[DEBUG]	Load a row
2023-10-13	12:48:50	1573	[DEBUG]	Processing item: 1000000113792
2023-10-13	12:48:50	1573	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:50	1573	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:50	1573	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_65'
2023-10-13	12:48:50	1573	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:50	1573	[DEBUG]	Processing product tax
2023-10-13	12:48:50	1573	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:50	1573	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:50	1573	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:50	1573	[DEBUG]	Query for Product
2023-10-13	12:48:50	1573	[DEBUG]	Executed store
2023-10-13	12:48:50	1573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861056','1000000113792','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:50	1573	[DEBUG]	No parent found
2023-10-13	12:48:50	1573	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861056 AND customfield_value = 'stockable'
2023-10-13	12:48:50	1573	[DEBUG]	Check product language entry
2023-10-13	12:48:50	1573	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861065
2023-10-13	12:48:50	1573	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:50	1573	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113792' AND `virtuemart_product_id` != 1861065
2023-10-13	12:48:50	1573	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:50	1573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861065, '1000000113792')
2023-10-13	12:48:50	1573	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:50	1573	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-46' AND `virtuemart_product_id` != 1861065
2023-10-13	12:48:50	1573	[DEBUG]	Query for ProductLang
2023-10-13	12:48:50	1573	[DEBUG]	Executed store
2023-10-13	12:48:50	1573	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Jaune (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-46' WHERE `virtuemart_product_id` = '1861065'
2023-10-13	12:48:50	1573	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:50	1573	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:50	1573	[DEBUG]	Process image file
2023-10-13	12:48:50	1573	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:50	1573	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:50	1573	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:50	1573	[DEBUG]	Full name target: bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:51	1573	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:51	1573	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:51	1573	[DEBUG]	Query for Media
2023-10-13	12:48:51	1573	[DEBUG]	Executed store
2023-10-13	12:48:51	1573	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15971'
2023-10-13	12:48:51	1573	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:51	1573	[DEBUG]	Executed store
2023-10-13	12:48:51	1573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861065','15971','1')
2023-10-13	12:48:51	1573	[DEBUG]	Store product image relation
2023-10-13	12:48:51	1573	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:51	1573	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861065 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:51	1573	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:51	1573	[DEBUG]	Executed store
2023-10-13	12:48:51	1573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861065','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:51	1573	[DEBUG]	Checking manufacturer
2023-10-13	12:48:51	1573	[DEBUG]	Load a row
2023-10-13	12:48:51	1573	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:51	1573	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:51	1573	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:51	1573	[DEBUG]	Executed store
2023-10-13	12:48:51	1573	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:51	1573	[DEBUG]	Manufacturer exists
2023-10-13	12:48:51	1573	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:51	1573	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:51	1573	[DEBUG]	Executed store
2023-10-13	12:48:51	1573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861065','32')
2023-10-13	12:48:51	1573	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:51	1573	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:51	1573	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861065 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:51	1573	[DEBUG]	Store custom available field
2023-10-13	12:48:51	1573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861065,3,'',1)
2023-10-13	12:48:51	1573	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:51	1573	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:48:51	1573	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861065 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:51	1573	[DEBUG]	Store custom available field
2023-10-13	12:48:51	1573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861065,6,'46',3)
2023-10-13	12:48:51	1573	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:51	1573	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:51	1573	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861056
2023-10-13	12:48:51	1573	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:51	1573	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1861056\":[1861056,8,1,\"choisir la taille\"],\"1861057\":[\"38\"],\"1861058\":[\"39\"],\"1861059\":[\"40\"],\"1861060\":[\"41\"],\"1861061\":[\"42\"],\"1861062\":[\"43\"],\"1861063\":[\"44\"],\"1861064\":[\"45\"],\"1861065\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861056
2023-10-13	12:48:51	1573	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:51	1573	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861065
2023-10-13	12:48:51	1574	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:51	1574	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:51	1574	[DEBUG]	Use field value for field taille
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:51	1574	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:51	1574	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:51	1574	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:51	1574	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:51	1574	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:51	1574	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:51	1574	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:51	1574	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:51	1574	[DEBUG]	Use field value for field published
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:51	1574	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field override
2023-10-13	12:48:51	1574	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:51	1574	[DEBUG]	Use field value for field slug
2023-10-13	12:48:51	1574	[DEBUG]	Process line 1574
2023-10-13	12:48:51	1574	[DEBUG]	Load a row
2023-10-13	12:48:51	1574	[DEBUG]	Processing item: 1000000113808
2023-10-13	12:48:51	1574	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:51	1574	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:51	1574	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_65'
2023-10-13	12:48:51	1574	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:51	1574	[DEBUG]	Processing product tax
2023-10-13	12:48:51	1574	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:51	1574	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:51	1574	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:51	1574	[DEBUG]	Query for Product
2023-10-13	12:48:51	1574	[DEBUG]	Executed store
2023-10-13	12:48:51	1574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861056','1000000113808','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:51	1574	[DEBUG]	No parent found
2023-10-13	12:48:51	1574	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861056 AND customfield_value = 'stockable'
2023-10-13	12:48:51	1574	[DEBUG]	Check product language entry
2023-10-13	12:48:51	1574	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861066
2023-10-13	12:48:51	1574	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:51	1574	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113808' AND `virtuemart_product_id` != 1861066
2023-10-13	12:48:51	1574	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:51	1574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861066, '1000000113808')
2023-10-13	12:48:51	1574	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:51	1574	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-47' AND `virtuemart_product_id` != 1861066
2023-10-13	12:48:51	1574	[DEBUG]	Query for ProductLang
2023-10-13	12:48:51	1574	[DEBUG]	Executed store
2023-10-13	12:48:51	1574	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Jaune (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-jaune-47' WHERE `virtuemart_product_id` = '1861066'
2023-10-13	12:48:51	1574	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:51	1574	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:51	1574	[DEBUG]	Process image file
2023-10-13	12:48:51	1574	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:51	1574	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:51	1574	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:51	1574	[DEBUG]	Full name target: bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:52	1574	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:52	1574	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:52	1574	[DEBUG]	Query for Media
2023-10-13	12:48:52	1574	[DEBUG]	Executed store
2023-10-13	12:48:52	1574	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34017_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15971'
2023-10-13	12:48:52	1574	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:52	1574	[DEBUG]	Executed store
2023-10-13	12:48:52	1574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861066','15971','1')
2023-10-13	12:48:52	1574	[DEBUG]	Store product image relation
2023-10-13	12:48:52	1574	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:52	1574	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861066 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:52	1574	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:52	1574	[DEBUG]	Executed store
2023-10-13	12:48:52	1574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861066','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:52	1574	[DEBUG]	Checking manufacturer
2023-10-13	12:48:52	1574	[DEBUG]	Load a row
2023-10-13	12:48:52	1574	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:52	1574	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:52	1574	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:52	1574	[DEBUG]	Executed store
2023-10-13	12:48:52	1574	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:52	1574	[DEBUG]	Manufacturer exists
2023-10-13	12:48:52	1574	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:52	1574	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:52	1574	[DEBUG]	Executed store
2023-10-13	12:48:52	1574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861066','32')
2023-10-13	12:48:52	1574	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:52	1574	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:52	1574	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861066 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:52	1574	[DEBUG]	Store custom available field
2023-10-13	12:48:52	1574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861066,3,'',1)
2023-10-13	12:48:52	1574	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:52	1574	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:48:52	1574	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861066 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:52	1574	[DEBUG]	Store custom available field
2023-10-13	12:48:52	1574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861066,6,'47',3)
2023-10-13	12:48:52	1574	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:52	1574	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:52	1574	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861056
2023-10-13	12:48:52	1574	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:52	1574	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1861056\":[1861056,8,1,\"choisir la taille\"],\"1861057\":[\"38\"],\"1861058\":[\"39\"],\"1861059\":[\"40\"],\"1861060\":[\"41\"],\"1861061\":[\"42\"],\"1861062\":[\"43\"],\"1861063\":[\"44\"],\"1861064\":[\"45\"],\"1861065\":[\"46\"],\"1861066\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1861056
2023-10-13	12:48:52	1574	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:52	1574	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861066
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:52	1575	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field taille
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field category_path
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:52	1575	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:48:52	1575	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:52	1575	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field product_weight
2023-10-13	12:48:52	1575	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:52	1575	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:52	1575	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field published
2023-10-13	12:48:52	1575	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:52	1575	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field custom_title
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field custom_param
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field override
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field public_price
2023-10-13	12:48:52	1575	[DEBUG]	Use field value for field slug
2023-10-13	12:48:52	1575	[DEBUG]	Process line 1575
2023-10-13	12:48:52	1575	[DEBUG]	Load a row
2023-10-13	12:48:52	1575	[DEBUG]	Processing item: A_6901_150
2023-10-13	12:48:52	1575	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:52	1575	[DEBUG]	Processing product tax
2023-10-13	12:48:52	1575	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:52	1575	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:52	1575	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:52	1575	[DEBUG]	Query for Product
2023-10-13	12:48:52	1575	[DEBUG]	Executed store
2023-10-13	12:48:52	1575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6901_150','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:52	1575	[DEBUG]	Check product language entry
2023-10-13	12:48:52	1575	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861067
2023-10-13	12:48:52	1575	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:52	1575	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6901_150' AND `virtuemart_product_id` != 1861067
2023-10-13	12:48:52	1575	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:52	1575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861067, 'A_6901_150')
2023-10-13	12:48:52	1575	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:52	1575	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose' AND `virtuemart_product_id` != 1861067
2023-10-13	12:48:52	1575	[DEBUG]	Query for ProductLang
2023-10-13	12:48:52	1575	[DEBUG]	Executed store
2023-10-13	12:48:52	1575	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro VTT XC avec système de ventilation breveté ! 699 GR.<br>N° art fourn : ZAEROXC',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rose',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose' WHERE `virtuemart_product_id` = '1861067'
2023-10-13	12:48:52	1575	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:52	1575	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:52	1575	[DEBUG]	Process image file
2023-10-13	12:48:52	1575	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:52	1575	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:52	1575	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:52	1575	[DEBUG]	Full name target: bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:53	1575	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:53	1575	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:53	1575	[DEBUG]	Query for Media
2023-10-13	12:48:53	1575	[DEBUG]	Executed store
2023-10-13	12:48:53	1575	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15972'
2023-10-13	12:48:53	1575	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:53	1575	[DEBUG]	Executed store
2023-10-13	12:48:53	1575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861067','15972','1')
2023-10-13	12:48:53	1575	[DEBUG]	Store product image relation
2023-10-13	12:48:53	1575	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:53	1575	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861067 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:53	1575	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:53	1575	[DEBUG]	Executed store
2023-10-13	12:48:53	1575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861067','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:53	1575	[DEBUG]	Checking manufacturer
2023-10-13	12:48:53	1575	[DEBUG]	Load a row
2023-10-13	12:48:53	1575	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:53	1575	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:53	1575	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:53	1575	[DEBUG]	Executed store
2023-10-13	12:48:53	1575	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:53	1575	[DEBUG]	Manufacturer exists
2023-10-13	12:48:53	1575	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:53	1575	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:53	1575	[DEBUG]	Executed store
2023-10-13	12:48:53	1575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861067','32')
2023-10-13	12:48:53	1575	[DEBUG]	Find the custom field ID
2023-10-13	12:48:53	1575	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:48:53	1575	[DEBUG]	No custom field ID found
2023-10-13	12:48:53	1575	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:53	1575	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:48:53	1575	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861067 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:53	1575	[DEBUG]	Store custom available field
2023-10-13	12:48:53	1575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861067,3,'179.400277777778',1)
2023-10-13	12:48:53	1575	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:53	1575	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:48:53	1575	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861067 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:53	1575	[DEBUG]	Store custom available field
2023-10-13	12:48:53	1575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861067,6,'choisir la taille',3)
2023-10-13	12:48:53	1575	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:53	1575	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:48:53	1575	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:48:53	1575	[DEBUG]	Find the multi variant product entry
2023-10-13	12:48:53	1575	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861067 AND `virtuemart_custom_id` = 8
2023-10-13	12:48:53	1575	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:48:53	1575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861067,8,1)
2023-10-13	12:48:53	1575	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:53	1575	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861067\":[1861067,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861067
2023-10-13	12:48:53	1575	[DEBUG]	Checking category
2023-10-13	12:48:53	1575	[DEBUG]	Get the existing categories for the product
2023-10-13	12:48:53	1575	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861067
2023-10-13	12:48:53	1575	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:48:53	1575	[DEBUG]	Executed store
2023-10-13	12:48:53	1575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861067','7331')
2023-10-13	12:48:53	1575	[DEBUG]	Delete leftover product categories
2023-10-13	12:48:53	1575	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861067 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:48:53	1575	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:53	1575	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861067
2023-10-13	12:48:53	1576	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:53	1576	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:53	1576	[DEBUG]	Use field value for field taille
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:53	1576	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:53	1576	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:53	1576	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:53	1576	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:53	1576	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:53	1576	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:53	1576	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:53	1576	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:53	1576	[DEBUG]	Use field value for field published
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:53	1576	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field override
2023-10-13	12:48:53	1576	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:53	1576	[DEBUG]	Use field value for field slug
2023-10-13	12:48:53	1576	[DEBUG]	Process line 1576
2023-10-13	12:48:53	1576	[DEBUG]	Load a row
2023-10-13	12:48:53	1576	[DEBUG]	Processing item: 1000000110999
2023-10-13	12:48:53	1576	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:53	1576	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:53	1576	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_150'
2023-10-13	12:48:53	1576	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:53	1576	[DEBUG]	Processing product tax
2023-10-13	12:48:53	1576	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:53	1576	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:53	1576	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:53	1576	[DEBUG]	Query for Product
2023-10-13	12:48:53	1576	[DEBUG]	Executed store
2023-10-13	12:48:53	1576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861067','1000000110999','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:53	1576	[DEBUG]	No parent found
2023-10-13	12:48:53	1576	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861067 AND customfield_value = 'stockable'
2023-10-13	12:48:53	1576	[DEBUG]	Check product language entry
2023-10-13	12:48:53	1576	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861068
2023-10-13	12:48:53	1576	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:53	1576	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000110999' AND `virtuemart_product_id` != 1861068
2023-10-13	12:48:53	1576	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:53	1576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861068, '1000000110999')
2023-10-13	12:48:53	1576	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:53	1576	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-38' AND `virtuemart_product_id` != 1861068
2023-10-13	12:48:53	1576	[DEBUG]	Query for ProductLang
2023-10-13	12:48:53	1576	[DEBUG]	Executed store
2023-10-13	12:48:53	1576	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rose (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-38' WHERE `virtuemart_product_id` = '1861068'
2023-10-13	12:48:53	1576	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:53	1576	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:53	1576	[DEBUG]	Process image file
2023-10-13	12:48:53	1576	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:53	1576	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:53	1576	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:53	1576	[DEBUG]	Full name target: bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:54	1576	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:54	1576	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:54	1576	[DEBUG]	Query for Media
2023-10-13	12:48:54	1576	[DEBUG]	Executed store
2023-10-13	12:48:54	1576	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15972'
2023-10-13	12:48:54	1576	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:54	1576	[DEBUG]	Executed store
2023-10-13	12:48:54	1576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861068','15972','1')
2023-10-13	12:48:54	1576	[DEBUG]	Store product image relation
2023-10-13	12:48:54	1576	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:54	1576	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861068 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:54	1576	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:54	1576	[DEBUG]	Executed store
2023-10-13	12:48:54	1576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861068','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:54	1576	[DEBUG]	Checking manufacturer
2023-10-13	12:48:54	1576	[DEBUG]	Load a row
2023-10-13	12:48:54	1576	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:54	1576	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:54	1576	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:54	1576	[DEBUG]	Executed store
2023-10-13	12:48:54	1576	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:54	1576	[DEBUG]	Manufacturer exists
2023-10-13	12:48:54	1576	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:54	1576	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:54	1576	[DEBUG]	Executed store
2023-10-13	12:48:54	1576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861068','32')
2023-10-13	12:48:54	1576	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:54	1576	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:54	1576	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861068 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:54	1576	[DEBUG]	Store custom available field
2023-10-13	12:48:54	1576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861068,3,'',1)
2023-10-13	12:48:54	1576	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:54	1576	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:48:54	1576	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861068 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:54	1576	[DEBUG]	Store custom available field
2023-10-13	12:48:54	1576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861068,6,'38',3)
2023-10-13	12:48:54	1576	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:54	1576	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:54	1576	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861067
2023-10-13	12:48:54	1576	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:54	1576	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1861067\":[1861067,8,1,\"choisir la taille\"],\"1861068\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1861067
2023-10-13	12:48:54	1576	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:54	1576	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861068
2023-10-13	12:48:54	1577	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:54	1577	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:54	1577	[DEBUG]	Use field value for field taille
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:54	1577	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:54	1577	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:54	1577	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:54	1577	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:54	1577	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:54	1577	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:54	1577	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:54	1577	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:54	1577	[DEBUG]	Use field value for field published
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:54	1577	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field override
2023-10-13	12:48:54	1577	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:54	1577	[DEBUG]	Use field value for field slug
2023-10-13	12:48:54	1577	[DEBUG]	Process line 1577
2023-10-13	12:48:54	1577	[DEBUG]	Load a row
2023-10-13	12:48:54	1577	[DEBUG]	Processing item: 1000000113815
2023-10-13	12:48:54	1577	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:54	1577	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:54	1577	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_150'
2023-10-13	12:48:54	1577	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:54	1577	[DEBUG]	Processing product tax
2023-10-13	12:48:54	1577	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:54	1577	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:54	1577	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:54	1577	[DEBUG]	Query for Product
2023-10-13	12:48:54	1577	[DEBUG]	Executed store
2023-10-13	12:48:54	1577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861067','1000000113815','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:54	1577	[DEBUG]	No parent found
2023-10-13	12:48:54	1577	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861067 AND customfield_value = 'stockable'
2023-10-13	12:48:54	1577	[DEBUG]	Check product language entry
2023-10-13	12:48:54	1577	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861069
2023-10-13	12:48:54	1577	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:54	1577	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113815' AND `virtuemart_product_id` != 1861069
2023-10-13	12:48:54	1577	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:54	1577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861069, '1000000113815')
2023-10-13	12:48:54	1577	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:54	1577	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-39' AND `virtuemart_product_id` != 1861069
2023-10-13	12:48:54	1577	[DEBUG]	Query for ProductLang
2023-10-13	12:48:54	1577	[DEBUG]	Executed store
2023-10-13	12:48:54	1577	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rose (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-39' WHERE `virtuemart_product_id` = '1861069'
2023-10-13	12:48:54	1577	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:54	1577	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:54	1577	[DEBUG]	Process image file
2023-10-13	12:48:54	1577	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:54	1577	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:54	1577	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:54	1577	[DEBUG]	Full name target: bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:55	1577	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:55	1577	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:55	1577	[DEBUG]	Query for Media
2023-10-13	12:48:55	1577	[DEBUG]	Executed store
2023-10-13	12:48:55	1577	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15972'
2023-10-13	12:48:55	1577	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:55	1577	[DEBUG]	Executed store
2023-10-13	12:48:55	1577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861069','15972','1')
2023-10-13	12:48:55	1577	[DEBUG]	Store product image relation
2023-10-13	12:48:55	1577	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:55	1577	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861069 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:55	1577	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:55	1577	[DEBUG]	Executed store
2023-10-13	12:48:55	1577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861069','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:55	1577	[DEBUG]	Checking manufacturer
2023-10-13	12:48:55	1577	[DEBUG]	Load a row
2023-10-13	12:48:55	1577	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:55	1577	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:55	1577	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:55	1577	[DEBUG]	Executed store
2023-10-13	12:48:55	1577	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:55	1577	[DEBUG]	Manufacturer exists
2023-10-13	12:48:55	1577	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:55	1577	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:55	1577	[DEBUG]	Executed store
2023-10-13	12:48:55	1577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861069','32')
2023-10-13	12:48:55	1577	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:55	1577	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:55	1577	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861069 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:55	1577	[DEBUG]	Store custom available field
2023-10-13	12:48:55	1577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861069,3,'',1)
2023-10-13	12:48:55	1577	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:55	1577	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:48:55	1577	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861069 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:55	1577	[DEBUG]	Store custom available field
2023-10-13	12:48:55	1577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861069,6,'39',3)
2023-10-13	12:48:55	1577	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:55	1577	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:55	1577	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861067
2023-10-13	12:48:55	1577	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:55	1577	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1861067\":[1861067,8,1,\"choisir la taille\"],\"1861068\":[\"38\"],\"1861069\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861067
2023-10-13	12:48:55	1577	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:55	1577	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861069
2023-10-13	12:48:55	1578	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:55	1578	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:55	1578	[DEBUG]	Use field value for field taille
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:55	1578	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:55	1578	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:55	1578	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:55	1578	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:55	1578	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:55	1578	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:55	1578	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:55	1578	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:55	1578	[DEBUG]	Use field value for field published
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:55	1578	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field override
2023-10-13	12:48:55	1578	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:55	1578	[DEBUG]	Use field value for field slug
2023-10-13	12:48:55	1578	[DEBUG]	Process line 1578
2023-10-13	12:48:55	1578	[DEBUG]	Load a row
2023-10-13	12:48:55	1578	[DEBUG]	Processing item: 8435466295707
2023-10-13	12:48:55	1578	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:55	1578	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:55	1578	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_150'
2023-10-13	12:48:55	1578	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:55	1578	[DEBUG]	Processing product tax
2023-10-13	12:48:55	1578	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:55	1578	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:55	1578	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:55	1578	[DEBUG]	Query for Product
2023-10-13	12:48:55	1578	[DEBUG]	Executed store
2023-10-13	12:48:55	1578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861067','8435466295707','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:55	1578	[DEBUG]	No parent found
2023-10-13	12:48:55	1578	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861067 AND customfield_value = 'stockable'
2023-10-13	12:48:55	1578	[DEBUG]	Check product language entry
2023-10-13	12:48:55	1578	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861070
2023-10-13	12:48:55	1578	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:55	1578	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295707' AND `virtuemart_product_id` != 1861070
2023-10-13	12:48:55	1578	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:55	1578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861070, '8435466295707')
2023-10-13	12:48:55	1578	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:55	1578	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-40' AND `virtuemart_product_id` != 1861070
2023-10-13	12:48:55	1578	[DEBUG]	Query for ProductLang
2023-10-13	12:48:55	1578	[DEBUG]	Executed store
2023-10-13	12:48:55	1578	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rose (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-40' WHERE `virtuemart_product_id` = '1861070'
2023-10-13	12:48:55	1578	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:55	1578	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:55	1578	[DEBUG]	Process image file
2023-10-13	12:48:55	1578	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:55	1578	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:55	1578	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:55	1578	[DEBUG]	Full name target: bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:56	1578	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:56	1578	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:56	1578	[DEBUG]	Query for Media
2023-10-13	12:48:56	1578	[DEBUG]	Executed store
2023-10-13	12:48:56	1578	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15972'
2023-10-13	12:48:56	1578	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:56	1578	[DEBUG]	Executed store
2023-10-13	12:48:56	1578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861070','15972','1')
2023-10-13	12:48:56	1578	[DEBUG]	Store product image relation
2023-10-13	12:48:56	1578	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:56	1578	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861070 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:56	1578	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:56	1578	[DEBUG]	Executed store
2023-10-13	12:48:56	1578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861070','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:56	1578	[DEBUG]	Checking manufacturer
2023-10-13	12:48:56	1578	[DEBUG]	Load a row
2023-10-13	12:48:56	1578	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:56	1578	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:56	1578	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:56	1578	[DEBUG]	Executed store
2023-10-13	12:48:56	1578	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:56	1578	[DEBUG]	Manufacturer exists
2023-10-13	12:48:56	1578	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:56	1578	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:56	1578	[DEBUG]	Executed store
2023-10-13	12:48:56	1578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861070','32')
2023-10-13	12:48:56	1578	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:56	1578	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:56	1578	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861070 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:56	1578	[DEBUG]	Store custom available field
2023-10-13	12:48:56	1578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861070,3,'',1)
2023-10-13	12:48:56	1578	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:56	1578	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:48:56	1578	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861070 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:56	1578	[DEBUG]	Store custom available field
2023-10-13	12:48:56	1578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861070,6,'40',3)
2023-10-13	12:48:56	1578	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:56	1578	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:56	1578	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861067
2023-10-13	12:48:56	1578	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:56	1578	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1861067\":[1861067,8,1,\"choisir la taille\"],\"1861068\":[\"38\"],\"1861069\":[\"39\"],\"1861070\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861067
2023-10-13	12:48:56	1578	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:56	1578	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861070
2023-10-13	12:48:56	1579	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:56	1579	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:56	1579	[DEBUG]	Use field value for field taille
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:56	1579	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:56	1579	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:56	1579	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:56	1579	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:56	1579	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:56	1579	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:56	1579	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:56	1579	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:56	1579	[DEBUG]	Use field value for field published
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:56	1579	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field override
2023-10-13	12:48:56	1579	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:56	1579	[DEBUG]	Use field value for field slug
2023-10-13	12:48:56	1579	[DEBUG]	Process line 1579
2023-10-13	12:48:56	1579	[DEBUG]	Load a row
2023-10-13	12:48:56	1579	[DEBUG]	Processing item: 1000000113839
2023-10-13	12:48:56	1579	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:56	1579	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:56	1579	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_150'
2023-10-13	12:48:56	1579	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:56	1579	[DEBUG]	Processing product tax
2023-10-13	12:48:56	1579	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:56	1579	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:56	1579	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:56	1579	[DEBUG]	Query for Product
2023-10-13	12:48:56	1579	[DEBUG]	Executed store
2023-10-13	12:48:56	1579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861067','1000000113839','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:56	1579	[DEBUG]	No parent found
2023-10-13	12:48:56	1579	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861067 AND customfield_value = 'stockable'
2023-10-13	12:48:56	1579	[DEBUG]	Check product language entry
2023-10-13	12:48:56	1579	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861071
2023-10-13	12:48:56	1579	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:56	1579	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113839' AND `virtuemart_product_id` != 1861071
2023-10-13	12:48:56	1579	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:56	1579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861071, '1000000113839')
2023-10-13	12:48:56	1579	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:56	1579	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-41' AND `virtuemart_product_id` != 1861071
2023-10-13	12:48:56	1579	[DEBUG]	Query for ProductLang
2023-10-13	12:48:56	1579	[DEBUG]	Executed store
2023-10-13	12:48:56	1579	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rose (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-41' WHERE `virtuemart_product_id` = '1861071'
2023-10-13	12:48:56	1579	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:56	1579	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:56	1579	[DEBUG]	Process image file
2023-10-13	12:48:56	1579	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:56	1579	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:56	1579	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:56	1579	[DEBUG]	Full name target: bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:57	1579	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:57	1579	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:57	1579	[DEBUG]	Query for Media
2023-10-13	12:48:57	1579	[DEBUG]	Executed store
2023-10-13	12:48:57	1579	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15972'
2023-10-13	12:48:57	1579	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:57	1579	[DEBUG]	Executed store
2023-10-13	12:48:57	1579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861071','15972','1')
2023-10-13	12:48:57	1579	[DEBUG]	Store product image relation
2023-10-13	12:48:57	1579	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:57	1579	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861071 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:57	1579	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:57	1579	[DEBUG]	Executed store
2023-10-13	12:48:57	1579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861071','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:57	1579	[DEBUG]	Checking manufacturer
2023-10-13	12:48:57	1579	[DEBUG]	Load a row
2023-10-13	12:48:57	1579	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:57	1579	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:57	1579	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:57	1579	[DEBUG]	Executed store
2023-10-13	12:48:57	1579	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:57	1579	[DEBUG]	Manufacturer exists
2023-10-13	12:48:57	1579	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:57	1579	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:57	1579	[DEBUG]	Executed store
2023-10-13	12:48:57	1579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861071','32')
2023-10-13	12:48:57	1579	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:57	1579	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:57	1579	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861071 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:57	1579	[DEBUG]	Store custom available field
2023-10-13	12:48:57	1579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861071,3,'',1)
2023-10-13	12:48:57	1579	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:57	1579	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:48:57	1579	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861071 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:57	1579	[DEBUG]	Store custom available field
2023-10-13	12:48:57	1579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861071,6,'41',3)
2023-10-13	12:48:57	1579	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:57	1579	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:57	1579	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861067
2023-10-13	12:48:57	1579	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:57	1579	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1861067\":[1861067,8,1,\"choisir la taille\"],\"1861068\":[\"38\"],\"1861069\":[\"39\"],\"1861070\":[\"40\"],\"1861071\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861067
2023-10-13	12:48:57	1579	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:57	1579	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861071
2023-10-13	12:48:57	1580	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:57	1580	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:57	1580	[DEBUG]	Use field value for field taille
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:57	1580	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:57	1580	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:57	1580	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:57	1580	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:57	1580	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:57	1580	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:57	1580	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:57	1580	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:57	1580	[DEBUG]	Use field value for field published
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:57	1580	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field override
2023-10-13	12:48:57	1580	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:57	1580	[DEBUG]	Use field value for field slug
2023-10-13	12:48:57	1580	[DEBUG]	Process line 1580
2023-10-13	12:48:57	1580	[DEBUG]	Load a row
2023-10-13	12:48:57	1580	[DEBUG]	Processing item: 1000000113846
2023-10-13	12:48:57	1580	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:57	1580	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:57	1580	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_150'
2023-10-13	12:48:57	1580	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:57	1580	[DEBUG]	Processing product tax
2023-10-13	12:48:57	1580	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:57	1580	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:57	1580	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:57	1580	[DEBUG]	Query for Product
2023-10-13	12:48:57	1580	[DEBUG]	Executed store
2023-10-13	12:48:57	1580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861067','1000000113846','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:57	1580	[DEBUG]	No parent found
2023-10-13	12:48:57	1580	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861067 AND customfield_value = 'stockable'
2023-10-13	12:48:57	1580	[DEBUG]	Check product language entry
2023-10-13	12:48:57	1580	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861072
2023-10-13	12:48:57	1580	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:57	1580	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113846' AND `virtuemart_product_id` != 1861072
2023-10-13	12:48:57	1580	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:57	1580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861072, '1000000113846')
2023-10-13	12:48:57	1580	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:57	1580	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-42' AND `virtuemart_product_id` != 1861072
2023-10-13	12:48:57	1580	[DEBUG]	Query for ProductLang
2023-10-13	12:48:57	1580	[DEBUG]	Executed store
2023-10-13	12:48:57	1580	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rose (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-42' WHERE `virtuemart_product_id` = '1861072'
2023-10-13	12:48:57	1580	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:57	1580	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:57	1580	[DEBUG]	Process image file
2023-10-13	12:48:57	1580	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:57	1580	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:57	1580	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:57	1580	[DEBUG]	Full name target: bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:58	1580	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:58	1580	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:58	1580	[DEBUG]	Query for Media
2023-10-13	12:48:58	1580	[DEBUG]	Executed store
2023-10-13	12:48:58	1580	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15972'
2023-10-13	12:48:58	1580	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:58	1580	[DEBUG]	Executed store
2023-10-13	12:48:58	1580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861072','15972','1')
2023-10-13	12:48:58	1580	[DEBUG]	Store product image relation
2023-10-13	12:48:58	1580	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:58	1580	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861072 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:58	1580	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:58	1580	[DEBUG]	Executed store
2023-10-13	12:48:58	1580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861072','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:58	1580	[DEBUG]	Checking manufacturer
2023-10-13	12:48:58	1580	[DEBUG]	Load a row
2023-10-13	12:48:58	1580	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:58	1580	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:58	1580	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:58	1580	[DEBUG]	Executed store
2023-10-13	12:48:58	1580	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:58	1580	[DEBUG]	Manufacturer exists
2023-10-13	12:48:58	1580	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:58	1580	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:58	1580	[DEBUG]	Executed store
2023-10-13	12:48:58	1580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861072','32')
2023-10-13	12:48:58	1580	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:58	1580	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:58	1580	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861072 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:58	1580	[DEBUG]	Store custom available field
2023-10-13	12:48:58	1580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861072,3,'',1)
2023-10-13	12:48:58	1580	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:58	1580	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:48:58	1580	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861072 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:58	1580	[DEBUG]	Store custom available field
2023-10-13	12:48:58	1580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861072,6,'42',3)
2023-10-13	12:48:58	1580	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:58	1580	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:58	1580	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861067
2023-10-13	12:48:58	1580	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:58	1580	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1861067\":[1861067,8,1,\"choisir la taille\"],\"1861068\":[\"38\"],\"1861069\":[\"39\"],\"1861070\":[\"40\"],\"1861071\":[\"41\"],\"1861072\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861067
2023-10-13	12:48:58	1580	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:58	1580	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861072
2023-10-13	12:48:58	1581	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:58	1581	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:58	1581	[DEBUG]	Use field value for field taille
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:58	1581	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:58	1581	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:58	1581	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:58	1581	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:58	1581	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:58	1581	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:58	1581	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:58	1581	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:58	1581	[DEBUG]	Use field value for field published
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:58	1581	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field override
2023-10-13	12:48:58	1581	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:58	1581	[DEBUG]	Use field value for field slug
2023-10-13	12:48:58	1581	[DEBUG]	Process line 1581
2023-10-13	12:48:58	1581	[DEBUG]	Load a row
2023-10-13	12:48:58	1581	[DEBUG]	Processing item: 1000000113853
2023-10-13	12:48:58	1581	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:58	1581	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:58	1581	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_150'
2023-10-13	12:48:58	1581	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:58	1581	[DEBUG]	Processing product tax
2023-10-13	12:48:58	1581	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:58	1581	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:58	1581	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:58	1581	[DEBUG]	Query for Product
2023-10-13	12:48:58	1581	[DEBUG]	Executed store
2023-10-13	12:48:58	1581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861067','1000000113853','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:58	1581	[DEBUG]	No parent found
2023-10-13	12:48:58	1581	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861067 AND customfield_value = 'stockable'
2023-10-13	12:48:58	1581	[DEBUG]	Check product language entry
2023-10-13	12:48:58	1581	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861073
2023-10-13	12:48:58	1581	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:58	1581	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113853' AND `virtuemart_product_id` != 1861073
2023-10-13	12:48:58	1581	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:58	1581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861073, '1000000113853')
2023-10-13	12:48:58	1581	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:58	1581	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-43' AND `virtuemart_product_id` != 1861073
2023-10-13	12:48:58	1581	[DEBUG]	Query for ProductLang
2023-10-13	12:48:58	1581	[DEBUG]	Executed store
2023-10-13	12:48:58	1581	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rose (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-43' WHERE `virtuemart_product_id` = '1861073'
2023-10-13	12:48:58	1581	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:58	1581	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:58	1581	[DEBUG]	Process image file
2023-10-13	12:48:58	1581	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:58	1581	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:58	1581	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:58	1581	[DEBUG]	Full name target: bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:59	1581	[DEBUG]	Checking if the file_url exists
2023-10-13	12:48:59	1581	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:48:59	1581	[DEBUG]	Query for Media
2023-10-13	12:48:59	1581	[DEBUG]	Executed store
2023-10-13	12:48:59	1581	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15972'
2023-10-13	12:48:59	1581	[DEBUG]	Query for ProductMedia
2023-10-13	12:48:59	1581	[DEBUG]	Executed store
2023-10-13	12:48:59	1581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861073','15972','1')
2023-10-13	12:48:59	1581	[DEBUG]	Store product image relation
2023-10-13	12:48:59	1581	[DEBUG]	Finding a product_price_id
2023-10-13	12:48:59	1581	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861073 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:48:59	1581	[DEBUG]	Query for ProductPrice
2023-10-13	12:48:59	1581	[DEBUG]	Executed store
2023-10-13	12:48:59	1581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861073','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:48:59	1581	[DEBUG]	Checking manufacturer
2023-10-13	12:48:59	1581	[DEBUG]	Load a row
2023-10-13	12:48:59	1581	[DEBUG]	Manufacturer already exists
2023-10-13	12:48:59	1581	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:59	1581	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:48:59	1581	[DEBUG]	Executed store
2023-10-13	12:48:59	1581	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:48:59	1581	[DEBUG]	Manufacturer exists
2023-10-13	12:48:59	1581	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:48:59	1581	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:48:59	1581	[DEBUG]	Executed store
2023-10-13	12:48:59	1581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861073','32')
2023-10-13	12:48:59	1581	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:48:59	1581	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:48:59	1581	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861073 AND `virtuemart_custom_id` = 3
2023-10-13	12:48:59	1581	[DEBUG]	Store custom available field
2023-10-13	12:48:59	1581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861073,3,'',1)
2023-10-13	12:48:59	1581	[DEBUG]	Processing custom available field: taille
2023-10-13	12:48:59	1581	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:48:59	1581	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861073 AND `virtuemart_custom_id` = 6
2023-10-13	12:48:59	1581	[DEBUG]	Store custom available field
2023-10-13	12:48:59	1581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861073,6,'43',3)
2023-10-13	12:48:59	1581	[DEBUG]	Process multi-variant fields
2023-10-13	12:48:59	1581	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:48:59	1581	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861067
2023-10-13	12:48:59	1581	[DEBUG]	Store the updated customfield_params
2023-10-13	12:48:59	1581	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1861067\":[1861067,8,1,\"choisir la taille\"],\"1861068\":[\"38\"],\"1861069\":[\"39\"],\"1861070\":[\"40\"],\"1861071\":[\"41\"],\"1861072\":[\"42\"],\"1861073\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861067
2023-10-13	12:48:59	1581	[DEBUG]	Update has fields after all processing
2023-10-13	12:48:59	1581	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861073
2023-10-13	12:48:59	1582	[DEBUG]	Use field value for field product_sku
2023-10-13	12:48:59	1582	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:48:59	1582	[DEBUG]	Use field value for field taille
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:48:59	1582	[DEBUG]	Use field value for field product_name
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field category_path
2023-10-13	12:48:59	1582	[DEBUG]	Use field value for field product_price
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:48:59	1582	[DEBUG]	Use field value for field product_tax
2023-10-13	12:48:59	1582	[DEBUG]	Use field value for field file_url
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field product_desc
2023-10-13	12:48:59	1582	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:48:59	1582	[DEBUG]	Use field value for field product_availability
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field product_weight
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field product_unit
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field related_products
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field product_special
2023-10-13	12:48:59	1582	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:48:59	1582	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:48:59	1582	[DEBUG]	Use field value for field published
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field metadesc
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field metakey
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field custom_title
2023-10-13	12:48:59	1582	[DEBUG]	Use field value for field custom_value
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field custom_param
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field override
2023-10-13	12:48:59	1582	[DEBUG]	Use default value for field public_price
2023-10-13	12:48:59	1582	[DEBUG]	Use field value for field slug
2023-10-13	12:48:59	1582	[DEBUG]	Process line 1582
2023-10-13	12:48:59	1582	[DEBUG]	Load a row
2023-10-13	12:48:59	1582	[DEBUG]	Processing item: 8435466295745
2023-10-13	12:48:59	1582	[DEBUG]	Looking for parent SKU
2023-10-13	12:48:59	1582	[DEBUG]	Checking product parent SKU
2023-10-13	12:48:59	1582	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_150'
2023-10-13	12:48:59	1582	[DEBUG]	Product tax: 7.7
2023-10-13	12:48:59	1582	[DEBUG]	Processing product tax
2023-10-13	12:48:59	1582	[DEBUG]	Check if calculation rule exists
2023-10-13	12:48:59	1582	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:48:59	1582	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:48:59	1582	[DEBUG]	Query for Product
2023-10-13	12:48:59	1582	[DEBUG]	Executed store
2023-10-13	12:48:59	1582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861067','8435466295745','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:48:59	1582	[DEBUG]	No parent found
2023-10-13	12:48:59	1582	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861067 AND customfield_value = 'stockable'
2023-10-13	12:48:59	1582	[DEBUG]	Check product language entry
2023-10-13	12:48:59	1582	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861074
2023-10-13	12:48:59	1582	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:59	1582	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295745' AND `virtuemart_product_id` != 1861074
2023-10-13	12:48:59	1582	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:48:59	1582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861074, '8435466295745')
2023-10-13	12:48:59	1582	[DEBUG]	Check if the product slug exists
2023-10-13	12:48:59	1582	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-44' AND `virtuemart_product_id` != 1861074
2023-10-13	12:48:59	1582	[DEBUG]	Query for ProductLang
2023-10-13	12:48:59	1582	[DEBUG]	Executed store
2023-10-13	12:48:59	1582	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rose (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-44' WHERE `virtuemart_product_id` = '1861074'
2023-10-13	12:48:59	1582	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:59	1582	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:59	1582	[DEBUG]	Process image file
2023-10-13	12:48:59	1582	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:48:59	1582	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:48:59	1582	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:48:59	1582	[DEBUG]	Full name target: bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:00	1582	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:00	1582	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:00	1582	[DEBUG]	Query for Media
2023-10-13	12:49:00	1582	[DEBUG]	Executed store
2023-10-13	12:49:00	1582	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15972'
2023-10-13	12:49:00	1582	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:00	1582	[DEBUG]	Executed store
2023-10-13	12:49:00	1582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861074','15972','1')
2023-10-13	12:49:00	1582	[DEBUG]	Store product image relation
2023-10-13	12:49:00	1582	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:00	1582	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861074 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:00	1582	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:00	1582	[DEBUG]	Executed store
2023-10-13	12:49:00	1582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861074','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:00	1582	[DEBUG]	Checking manufacturer
2023-10-13	12:49:00	1582	[DEBUG]	Load a row
2023-10-13	12:49:00	1582	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:00	1582	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:00	1582	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:00	1582	[DEBUG]	Executed store
2023-10-13	12:49:00	1582	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:00	1582	[DEBUG]	Manufacturer exists
2023-10-13	12:49:00	1582	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:00	1582	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:00	1582	[DEBUG]	Executed store
2023-10-13	12:49:00	1582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861074','32')
2023-10-13	12:49:00	1582	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:00	1582	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:00	1582	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861074 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:00	1582	[DEBUG]	Store custom available field
2023-10-13	12:49:00	1582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861074,3,'',1)
2023-10-13	12:49:00	1582	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:00	1582	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:49:00	1582	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861074 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:00	1582	[DEBUG]	Store custom available field
2023-10-13	12:49:00	1582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861074,6,'44',3)
2023-10-13	12:49:00	1582	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:00	1582	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:00	1582	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861067
2023-10-13	12:49:00	1582	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:00	1582	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1861067\":[1861067,8,1,\"choisir la taille\"],\"1861068\":[\"38\"],\"1861069\":[\"39\"],\"1861070\":[\"40\"],\"1861071\":[\"41\"],\"1861072\":[\"42\"],\"1861073\":[\"43\"],\"1861074\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861067
2023-10-13	12:49:00	1582	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:00	1582	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861074
2023-10-13	12:49:00	1583	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:00	1583	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:00	1583	[DEBUG]	Use field value for field taille
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:00	1583	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:00	1583	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:00	1583	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:00	1583	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:00	1583	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:00	1583	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:00	1583	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:00	1583	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:00	1583	[DEBUG]	Use field value for field published
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:00	1583	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field override
2023-10-13	12:49:00	1583	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:00	1583	[DEBUG]	Use field value for field slug
2023-10-13	12:49:00	1583	[DEBUG]	Process line 1583
2023-10-13	12:49:00	1583	[DEBUG]	Load a row
2023-10-13	12:49:00	1583	[DEBUG]	Processing item: 8435466295752
2023-10-13	12:49:00	1583	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:00	1583	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:00	1583	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_150'
2023-10-13	12:49:00	1583	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:00	1583	[DEBUG]	Processing product tax
2023-10-13	12:49:00	1583	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:00	1583	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:00	1583	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:00	1583	[DEBUG]	Query for Product
2023-10-13	12:49:00	1583	[DEBUG]	Executed store
2023-10-13	12:49:00	1583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861067','8435466295752','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:00	1583	[DEBUG]	No parent found
2023-10-13	12:49:00	1583	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861067 AND customfield_value = 'stockable'
2023-10-13	12:49:00	1583	[DEBUG]	Check product language entry
2023-10-13	12:49:00	1583	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861075
2023-10-13	12:49:00	1583	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:00	1583	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295752' AND `virtuemart_product_id` != 1861075
2023-10-13	12:49:00	1583	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:00	1583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861075, '8435466295752')
2023-10-13	12:49:00	1583	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:00	1583	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-45' AND `virtuemart_product_id` != 1861075
2023-10-13	12:49:00	1583	[DEBUG]	Query for ProductLang
2023-10-13	12:49:00	1583	[DEBUG]	Executed store
2023-10-13	12:49:00	1583	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rose (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-45' WHERE `virtuemart_product_id` = '1861075'
2023-10-13	12:49:00	1583	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:00	1583	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:00	1583	[DEBUG]	Process image file
2023-10-13	12:49:00	1583	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:00	1583	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:00	1583	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:00	1583	[DEBUG]	Full name target: bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:01	1583	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:01	1583	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:01	1583	[DEBUG]	Query for Media
2023-10-13	12:49:01	1583	[DEBUG]	Executed store
2023-10-13	12:49:01	1583	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15972'
2023-10-13	12:49:01	1583	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:01	1583	[DEBUG]	Executed store
2023-10-13	12:49:01	1583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861075','15972','1')
2023-10-13	12:49:01	1583	[DEBUG]	Store product image relation
2023-10-13	12:49:01	1583	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:01	1583	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861075 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:01	1583	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:01	1583	[DEBUG]	Executed store
2023-10-13	12:49:01	1583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861075','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:01	1583	[DEBUG]	Checking manufacturer
2023-10-13	12:49:01	1583	[DEBUG]	Load a row
2023-10-13	12:49:01	1583	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:01	1583	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:01	1583	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:01	1583	[DEBUG]	Executed store
2023-10-13	12:49:01	1583	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:01	1583	[DEBUG]	Manufacturer exists
2023-10-13	12:49:01	1583	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:01	1583	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:01	1583	[DEBUG]	Executed store
2023-10-13	12:49:01	1583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861075','32')
2023-10-13	12:49:01	1583	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:01	1583	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:01	1583	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861075 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:01	1583	[DEBUG]	Store custom available field
2023-10-13	12:49:01	1583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861075,3,'',1)
2023-10-13	12:49:01	1583	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:01	1583	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:49:01	1583	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861075 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:01	1583	[DEBUG]	Store custom available field
2023-10-13	12:49:01	1583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861075,6,'45',3)
2023-10-13	12:49:01	1583	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:01	1583	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:01	1583	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861067
2023-10-13	12:49:01	1583	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:01	1583	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1861067\":[1861067,8,1,\"choisir la taille\"],\"1861068\":[\"38\"],\"1861069\":[\"39\"],\"1861070\":[\"40\"],\"1861071\":[\"41\"],\"1861072\":[\"42\"],\"1861073\":[\"43\"],\"1861074\":[\"44\"],\"1861075\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861067
2023-10-13	12:49:01	1583	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:01	1583	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861075
2023-10-13	12:49:01	1584	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:01	1584	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:01	1584	[DEBUG]	Use field value for field taille
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:01	1584	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:01	1584	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:01	1584	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:01	1584	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:01	1584	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:01	1584	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:01	1584	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:01	1584	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:01	1584	[DEBUG]	Use field value for field published
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:01	1584	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field override
2023-10-13	12:49:01	1584	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:01	1584	[DEBUG]	Use field value for field slug
2023-10-13	12:49:01	1584	[DEBUG]	Process line 1584
2023-10-13	12:49:01	1584	[DEBUG]	Load a row
2023-10-13	12:49:01	1584	[DEBUG]	Processing item: 8435466295769
2023-10-13	12:49:01	1584	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:01	1584	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:01	1584	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_150'
2023-10-13	12:49:01	1584	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:01	1584	[DEBUG]	Processing product tax
2023-10-13	12:49:01	1584	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:01	1584	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:01	1584	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:01	1584	[DEBUG]	Query for Product
2023-10-13	12:49:01	1584	[DEBUG]	Executed store
2023-10-13	12:49:01	1584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861067','8435466295769','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:01	1584	[DEBUG]	No parent found
2023-10-13	12:49:01	1584	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861067 AND customfield_value = 'stockable'
2023-10-13	12:49:01	1584	[DEBUG]	Check product language entry
2023-10-13	12:49:01	1584	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861076
2023-10-13	12:49:01	1584	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:01	1584	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466295769' AND `virtuemart_product_id` != 1861076
2023-10-13	12:49:01	1584	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:01	1584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861076, '8435466295769')
2023-10-13	12:49:01	1584	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:01	1584	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-46' AND `virtuemart_product_id` != 1861076
2023-10-13	12:49:01	1584	[DEBUG]	Query for ProductLang
2023-10-13	12:49:01	1584	[DEBUG]	Executed store
2023-10-13	12:49:01	1584	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rose (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-46' WHERE `virtuemart_product_id` = '1861076'
2023-10-13	12:49:01	1584	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:01	1584	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:01	1584	[DEBUG]	Process image file
2023-10-13	12:49:01	1584	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:01	1584	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:01	1584	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:01	1584	[DEBUG]	Full name target: bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:02	1584	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:02	1584	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:02	1584	[DEBUG]	Query for Media
2023-10-13	12:49:02	1584	[DEBUG]	Executed store
2023-10-13	12:49:02	1584	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15972'
2023-10-13	12:49:02	1584	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:02	1584	[DEBUG]	Executed store
2023-10-13	12:49:02	1584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861076','15972','1')
2023-10-13	12:49:02	1584	[DEBUG]	Store product image relation
2023-10-13	12:49:02	1584	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:02	1584	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861076 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:02	1584	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:02	1584	[DEBUG]	Executed store
2023-10-13	12:49:02	1584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861076','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:02	1584	[DEBUG]	Checking manufacturer
2023-10-13	12:49:02	1584	[DEBUG]	Load a row
2023-10-13	12:49:02	1584	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:02	1584	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:02	1584	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:02	1584	[DEBUG]	Executed store
2023-10-13	12:49:02	1584	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:02	1584	[DEBUG]	Manufacturer exists
2023-10-13	12:49:02	1584	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:02	1584	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:02	1584	[DEBUG]	Executed store
2023-10-13	12:49:02	1584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861076','32')
2023-10-13	12:49:02	1584	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:02	1584	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:02	1584	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861076 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:02	1584	[DEBUG]	Store custom available field
2023-10-13	12:49:02	1584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861076,3,'',1)
2023-10-13	12:49:02	1584	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:02	1584	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:49:02	1584	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861076 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:02	1584	[DEBUG]	Store custom available field
2023-10-13	12:49:02	1584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861076,6,'46',3)
2023-10-13	12:49:02	1584	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:02	1584	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:02	1584	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861067
2023-10-13	12:49:02	1584	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:02	1584	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1861067\":[1861067,8,1,\"choisir la taille\"],\"1861068\":[\"38\"],\"1861069\":[\"39\"],\"1861070\":[\"40\"],\"1861071\":[\"41\"],\"1861072\":[\"42\"],\"1861073\":[\"43\"],\"1861074\":[\"44\"],\"1861075\":[\"45\"],\"1861076\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861067
2023-10-13	12:49:02	1584	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:02	1584	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861076
2023-10-13	12:49:02	1585	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:02	1585	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:02	1585	[DEBUG]	Use field value for field taille
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:02	1585	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:02	1585	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:02	1585	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:02	1585	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:02	1585	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:02	1585	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:02	1585	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:02	1585	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:02	1585	[DEBUG]	Use field value for field published
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:02	1585	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field override
2023-10-13	12:49:02	1585	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:02	1585	[DEBUG]	Use field value for field slug
2023-10-13	12:49:02	1585	[DEBUG]	Process line 1585
2023-10-13	12:49:02	1585	[DEBUG]	Load a row
2023-10-13	12:49:02	1585	[DEBUG]	Processing item: 1000000113891
2023-10-13	12:49:02	1585	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:02	1585	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:02	1585	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_150'
2023-10-13	12:49:02	1585	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:02	1585	[DEBUG]	Processing product tax
2023-10-13	12:49:02	1585	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:02	1585	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:02	1585	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:02	1585	[DEBUG]	Query for Product
2023-10-13	12:49:02	1585	[DEBUG]	Executed store
2023-10-13	12:49:02	1585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861067','1000000113891','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:02	1585	[DEBUG]	No parent found
2023-10-13	12:49:02	1585	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861067 AND customfield_value = 'stockable'
2023-10-13	12:49:02	1585	[DEBUG]	Check product language entry
2023-10-13	12:49:02	1585	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861077
2023-10-13	12:49:02	1585	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:02	1585	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113891' AND `virtuemart_product_id` != 1861077
2023-10-13	12:49:02	1585	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:02	1585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861077, '1000000113891')
2023-10-13	12:49:02	1585	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:02	1585	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-47' AND `virtuemart_product_id` != 1861077
2023-10-13	12:49:02	1585	[DEBUG]	Query for ProductLang
2023-10-13	12:49:02	1585	[DEBUG]	Executed store
2023-10-13	12:49:02	1585	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Rose (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-rose-47' WHERE `virtuemart_product_id` = '1861077'
2023-10-13	12:49:02	1585	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:02	1585	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:02	1585	[DEBUG]	Process image file
2023-10-13	12:49:02	1585	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:02	1585	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:02	1585	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:02	1585	[DEBUG]	Full name target: bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:03	1585	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:03	1585	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:03	1585	[DEBUG]	Query for Media
2023-10-13	12:49:03	1585	[DEBUG]	Executed store
2023-10-13	12:49:03	1585	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34019_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15972'
2023-10-13	12:49:03	1585	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:03	1585	[DEBUG]	Executed store
2023-10-13	12:49:03	1585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861077','15972','1')
2023-10-13	12:49:03	1585	[DEBUG]	Store product image relation
2023-10-13	12:49:03	1585	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:03	1585	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861077 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:03	1585	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:03	1585	[DEBUG]	Executed store
2023-10-13	12:49:03	1585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861077','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:03	1585	[DEBUG]	Checking manufacturer
2023-10-13	12:49:03	1585	[DEBUG]	Load a row
2023-10-13	12:49:03	1585	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:03	1585	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:03	1585	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:03	1585	[DEBUG]	Executed store
2023-10-13	12:49:03	1585	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:03	1585	[DEBUG]	Manufacturer exists
2023-10-13	12:49:03	1585	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:03	1585	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:03	1585	[DEBUG]	Executed store
2023-10-13	12:49:03	1585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861077','32')
2023-10-13	12:49:03	1585	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:03	1585	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:03	1585	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861077 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:03	1585	[DEBUG]	Store custom available field
2023-10-13	12:49:03	1585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861077,3,'',1)
2023-10-13	12:49:03	1585	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:03	1585	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:49:03	1585	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861077 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:03	1585	[DEBUG]	Store custom available field
2023-10-13	12:49:03	1585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861077,6,'47',3)
2023-10-13	12:49:03	1585	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:03	1585	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:03	1585	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861067
2023-10-13	12:49:03	1585	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:03	1585	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1861067\":[1861067,8,1,\"choisir la taille\"],\"1861068\":[\"38\"],\"1861069\":[\"39\"],\"1861070\":[\"40\"],\"1861071\":[\"41\"],\"1861072\":[\"42\"],\"1861073\":[\"43\"],\"1861074\":[\"44\"],\"1861075\":[\"45\"],\"1861076\":[\"46\"],\"1861077\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1861067
2023-10-13	12:49:03	1585	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:03	1585	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861077
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:03	1586	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field taille
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field category_path
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:03	1586	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:49:03	1586	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:03	1586	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field product_weight
2023-10-13	12:49:03	1586	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:03	1586	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:03	1586	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field published
2023-10-13	12:49:03	1586	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:03	1586	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field custom_title
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field custom_param
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field override
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field public_price
2023-10-13	12:49:03	1586	[DEBUG]	Use field value for field slug
2023-10-13	12:49:03	1586	[DEBUG]	Process line 1586
2023-10-13	12:49:03	1586	[DEBUG]	Load a row
2023-10-13	12:49:03	1586	[DEBUG]	Processing item: A_6901_175
2023-10-13	12:49:03	1586	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:03	1586	[DEBUG]	Processing product tax
2023-10-13	12:49:03	1586	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:03	1586	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:03	1586	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:03	1586	[DEBUG]	Query for Product
2023-10-13	12:49:03	1586	[DEBUG]	Executed store
2023-10-13	12:49:03	1586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6901_175','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:03	1586	[DEBUG]	Check product language entry
2023-10-13	12:49:03	1586	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861078
2023-10-13	12:49:03	1586	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:03	1586	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6901_175' AND `virtuemart_product_id` != 1861078
2023-10-13	12:49:03	1586	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:03	1586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861078, 'A_6901_175')
2023-10-13	12:49:03	1586	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:03	1586	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise' AND `virtuemart_product_id` != 1861078
2023-10-13	12:49:03	1586	[DEBUG]	Query for ProductLang
2023-10-13	12:49:03	1586	[DEBUG]	Executed store
2023-10-13	12:49:03	1586	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro VTT XC avec système de ventilation breveté ! 699 GR.<br>N° art fourn : ZAEROXC',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Turquoise',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise' WHERE `virtuemart_product_id` = '1861078'
2023-10-13	12:49:03	1586	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:03	1586	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:03	1586	[DEBUG]	Process image file
2023-10-13	12:49:03	1586	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:03	1586	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:03	1586	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:03	1586	[DEBUG]	Full name target: bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:04	1586	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:04	1586	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:04	1586	[DEBUG]	Query for Media
2023-10-13	12:49:04	1586	[DEBUG]	Executed store
2023-10-13	12:49:04	1586	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15973'
2023-10-13	12:49:04	1586	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:04	1586	[DEBUG]	Executed store
2023-10-13	12:49:04	1586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861078','15973','1')
2023-10-13	12:49:04	1586	[DEBUG]	Store product image relation
2023-10-13	12:49:04	1586	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:04	1586	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861078 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:04	1586	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:04	1586	[DEBUG]	Executed store
2023-10-13	12:49:04	1586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861078','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:04	1586	[DEBUG]	Checking manufacturer
2023-10-13	12:49:04	1586	[DEBUG]	Load a row
2023-10-13	12:49:04	1586	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:04	1586	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:04	1586	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:04	1586	[DEBUG]	Executed store
2023-10-13	12:49:04	1586	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:04	1586	[DEBUG]	Manufacturer exists
2023-10-13	12:49:04	1586	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:04	1586	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:04	1586	[DEBUG]	Executed store
2023-10-13	12:49:04	1586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861078','32')
2023-10-13	12:49:04	1586	[DEBUG]	Find the custom field ID
2023-10-13	12:49:04	1586	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:49:04	1586	[DEBUG]	No custom field ID found
2023-10-13	12:49:04	1586	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:04	1586	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:49:04	1586	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861078 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:04	1586	[DEBUG]	Store custom available field
2023-10-13	12:49:04	1586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861078,3,'179.400277777778',1)
2023-10-13	12:49:04	1586	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:04	1586	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:49:04	1586	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861078 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:04	1586	[DEBUG]	Store custom available field
2023-10-13	12:49:04	1586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861078,6,'choisir la taille',3)
2023-10-13	12:49:04	1586	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:04	1586	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:49:04	1586	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:49:04	1586	[DEBUG]	Find the multi variant product entry
2023-10-13	12:49:04	1586	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861078 AND `virtuemart_custom_id` = 8
2023-10-13	12:49:04	1586	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:49:04	1586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861078,8,1)
2023-10-13	12:49:04	1586	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:04	1586	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861078\":[1861078,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861078
2023-10-13	12:49:04	1586	[DEBUG]	Checking category
2023-10-13	12:49:04	1586	[DEBUG]	Get the existing categories for the product
2023-10-13	12:49:04	1586	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861078
2023-10-13	12:49:04	1586	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:49:04	1586	[DEBUG]	Executed store
2023-10-13	12:49:04	1586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861078','7331')
2023-10-13	12:49:04	1586	[DEBUG]	Delete leftover product categories
2023-10-13	12:49:04	1586	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861078 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:49:04	1586	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:04	1586	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861078
2023-10-13	12:49:04	1587	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:04	1587	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:04	1587	[DEBUG]	Use field value for field taille
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:04	1587	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:04	1587	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:04	1587	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:04	1587	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:04	1587	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:04	1587	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:04	1587	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:04	1587	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:04	1587	[DEBUG]	Use field value for field published
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:04	1587	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field override
2023-10-13	12:49:04	1587	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:04	1587	[DEBUG]	Use field value for field slug
2023-10-13	12:49:04	1587	[DEBUG]	Process line 1587
2023-10-13	12:49:04	1587	[DEBUG]	Load a row
2023-10-13	12:49:04	1587	[DEBUG]	Processing item: 8435466215453
2023-10-13	12:49:04	1587	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:04	1587	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:04	1587	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_175'
2023-10-13	12:49:04	1587	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:04	1587	[DEBUG]	Processing product tax
2023-10-13	12:49:04	1587	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:04	1587	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:04	1587	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:04	1587	[DEBUG]	Query for Product
2023-10-13	12:49:04	1587	[DEBUG]	Executed store
2023-10-13	12:49:04	1587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861078','8435466215453','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:04	1587	[DEBUG]	No parent found
2023-10-13	12:49:04	1587	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861078 AND customfield_value = 'stockable'
2023-10-13	12:49:04	1587	[DEBUG]	Check product language entry
2023-10-13	12:49:04	1587	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861079
2023-10-13	12:49:04	1587	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:04	1587	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215453' AND `virtuemart_product_id` != 1861079
2023-10-13	12:49:04	1587	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:04	1587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861079, '8435466215453')
2023-10-13	12:49:04	1587	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:04	1587	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-38' AND `virtuemart_product_id` != 1861079
2023-10-13	12:49:04	1587	[DEBUG]	Query for ProductLang
2023-10-13	12:49:04	1587	[DEBUG]	Executed store
2023-10-13	12:49:04	1587	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Turquoise (38)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-38' WHERE `virtuemart_product_id` = '1861079'
2023-10-13	12:49:04	1587	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:04	1587	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:04	1587	[DEBUG]	Process image file
2023-10-13	12:49:04	1587	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:04	1587	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:04	1587	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:04	1587	[DEBUG]	Full name target: bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:05	1587	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:05	1587	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:05	1587	[DEBUG]	Query for Media
2023-10-13	12:49:05	1587	[DEBUG]	Executed store
2023-10-13	12:49:05	1587	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15973'
2023-10-13	12:49:05	1587	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:05	1587	[DEBUG]	Executed store
2023-10-13	12:49:05	1587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861079','15973','1')
2023-10-13	12:49:05	1587	[DEBUG]	Store product image relation
2023-10-13	12:49:05	1587	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:05	1587	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861079 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:05	1587	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:05	1587	[DEBUG]	Executed store
2023-10-13	12:49:05	1587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861079','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:05	1587	[DEBUG]	Checking manufacturer
2023-10-13	12:49:05	1587	[DEBUG]	Load a row
2023-10-13	12:49:05	1587	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:05	1587	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:05	1587	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:05	1587	[DEBUG]	Executed store
2023-10-13	12:49:05	1587	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:05	1587	[DEBUG]	Manufacturer exists
2023-10-13	12:49:05	1587	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:05	1587	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:05	1587	[DEBUG]	Executed store
2023-10-13	12:49:05	1587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861079','32')
2023-10-13	12:49:05	1587	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:05	1587	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:05	1587	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861079 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:05	1587	[DEBUG]	Store custom available field
2023-10-13	12:49:05	1587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861079,3,'',1)
2023-10-13	12:49:05	1587	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:05	1587	[DEBUG]	Get existing row with customfield value 38
2023-10-13	12:49:05	1587	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861079 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:05	1587	[DEBUG]	Store custom available field
2023-10-13	12:49:05	1587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861079,6,'38',3)
2023-10-13	12:49:05	1587	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:05	1587	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:05	1587	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861078
2023-10-13	12:49:05	1587	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:05	1587	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\"}]|clabels=0|options={\"1861078\":[1861078,8,1,\"choisir la taille\"],\"1861079\":[\"38\"]}|' WHERE `virtuemart_product_id` = 1861078
2023-10-13	12:49:05	1587	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:05	1587	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861079
2023-10-13	12:49:05	1588	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:05	1588	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:05	1588	[DEBUG]	Use field value for field taille
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:05	1588	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:05	1588	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:05	1588	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:05	1588	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:05	1588	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:05	1588	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:05	1588	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:05	1588	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:05	1588	[DEBUG]	Use field value for field published
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:05	1588	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field override
2023-10-13	12:49:05	1588	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:05	1588	[DEBUG]	Use field value for field slug
2023-10-13	12:49:05	1588	[DEBUG]	Process line 1588
2023-10-13	12:49:05	1588	[DEBUG]	Load a row
2023-10-13	12:49:05	1588	[DEBUG]	Processing item: 1000000113907
2023-10-13	12:49:05	1588	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:05	1588	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:05	1588	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_175'
2023-10-13	12:49:05	1588	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:05	1588	[DEBUG]	Processing product tax
2023-10-13	12:49:05	1588	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:05	1588	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:05	1588	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:05	1588	[DEBUG]	Query for Product
2023-10-13	12:49:05	1588	[DEBUG]	Executed store
2023-10-13	12:49:05	1588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861078','1000000113907','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:05	1588	[DEBUG]	No parent found
2023-10-13	12:49:05	1588	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861078 AND customfield_value = 'stockable'
2023-10-13	12:49:05	1588	[DEBUG]	Check product language entry
2023-10-13	12:49:05	1588	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861080
2023-10-13	12:49:05	1588	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:05	1588	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113907' AND `virtuemart_product_id` != 1861080
2023-10-13	12:49:05	1588	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:05	1588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861080, '1000000113907')
2023-10-13	12:49:05	1588	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:05	1588	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-39' AND `virtuemart_product_id` != 1861080
2023-10-13	12:49:05	1588	[DEBUG]	Query for ProductLang
2023-10-13	12:49:05	1588	[DEBUG]	Executed store
2023-10-13	12:49:05	1588	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Turquoise (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-39' WHERE `virtuemart_product_id` = '1861080'
2023-10-13	12:49:05	1588	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:05	1588	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:05	1588	[DEBUG]	Process image file
2023-10-13	12:49:05	1588	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:05	1588	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:05	1588	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:05	1588	[DEBUG]	Full name target: bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:06	1588	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:06	1588	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:06	1588	[DEBUG]	Query for Media
2023-10-13	12:49:06	1588	[DEBUG]	Executed store
2023-10-13	12:49:06	1588	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15973'
2023-10-13	12:49:06	1588	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:06	1588	[DEBUG]	Executed store
2023-10-13	12:49:06	1588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861080','15973','1')
2023-10-13	12:49:06	1588	[DEBUG]	Store product image relation
2023-10-13	12:49:06	1588	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:06	1588	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861080 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:06	1588	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:06	1588	[DEBUG]	Executed store
2023-10-13	12:49:06	1588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861080','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:06	1588	[DEBUG]	Checking manufacturer
2023-10-13	12:49:06	1588	[DEBUG]	Load a row
2023-10-13	12:49:06	1588	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:06	1588	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:06	1588	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:06	1588	[DEBUG]	Executed store
2023-10-13	12:49:06	1588	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:06	1588	[DEBUG]	Manufacturer exists
2023-10-13	12:49:06	1588	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:06	1588	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:06	1588	[DEBUG]	Executed store
2023-10-13	12:49:06	1588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861080','32')
2023-10-13	12:49:06	1588	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:06	1588	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:06	1588	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861080 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:06	1588	[DEBUG]	Store custom available field
2023-10-13	12:49:06	1588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861080,3,'',1)
2023-10-13	12:49:06	1588	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:06	1588	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:49:06	1588	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861080 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:06	1588	[DEBUG]	Store custom available field
2023-10-13	12:49:06	1588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861080,6,'39',3)
2023-10-13	12:49:06	1588	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:06	1588	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:06	1588	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861078
2023-10-13	12:49:06	1588	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:06	1588	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\"}]|clabels=0|options={\"1861078\":[1861078,8,1,\"choisir la taille\"],\"1861079\":[\"38\"],\"1861080\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861078
2023-10-13	12:49:06	1588	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:06	1588	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861080
2023-10-13	12:49:06	1589	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:06	1589	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:06	1589	[DEBUG]	Use field value for field taille
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:06	1589	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:06	1589	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:06	1589	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:06	1589	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:06	1589	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:06	1589	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:06	1589	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:06	1589	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:06	1589	[DEBUG]	Use field value for field published
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:06	1589	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field override
2023-10-13	12:49:06	1589	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:06	1589	[DEBUG]	Use field value for field slug
2023-10-13	12:49:06	1589	[DEBUG]	Process line 1589
2023-10-13	12:49:06	1589	[DEBUG]	Load a row
2023-10-13	12:49:06	1589	[DEBUG]	Processing item: 8435466215477
2023-10-13	12:49:06	1589	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:06	1589	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:06	1589	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_175'
2023-10-13	12:49:06	1589	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:06	1589	[DEBUG]	Processing product tax
2023-10-13	12:49:06	1589	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:06	1589	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:06	1589	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:06	1589	[DEBUG]	Query for Product
2023-10-13	12:49:06	1589	[DEBUG]	Executed store
2023-10-13	12:49:06	1589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861078','8435466215477','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:06	1589	[DEBUG]	No parent found
2023-10-13	12:49:06	1589	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861078 AND customfield_value = 'stockable'
2023-10-13	12:49:06	1589	[DEBUG]	Check product language entry
2023-10-13	12:49:06	1589	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861081
2023-10-13	12:49:06	1589	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:06	1589	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215477' AND `virtuemart_product_id` != 1861081
2023-10-13	12:49:06	1589	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:06	1589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861081, '8435466215477')
2023-10-13	12:49:06	1589	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:06	1589	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-40' AND `virtuemart_product_id` != 1861081
2023-10-13	12:49:06	1589	[DEBUG]	Query for ProductLang
2023-10-13	12:49:06	1589	[DEBUG]	Executed store
2023-10-13	12:49:06	1589	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Turquoise (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-40' WHERE `virtuemart_product_id` = '1861081'
2023-10-13	12:49:06	1589	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:06	1589	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:06	1589	[DEBUG]	Process image file
2023-10-13	12:49:06	1589	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:06	1589	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:06	1589	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:06	1589	[DEBUG]	Full name target: bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:07	1589	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:07	1589	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:07	1589	[DEBUG]	Query for Media
2023-10-13	12:49:07	1589	[DEBUG]	Executed store
2023-10-13	12:49:07	1589	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15973'
2023-10-13	12:49:07	1589	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:07	1589	[DEBUG]	Executed store
2023-10-13	12:49:07	1589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861081','15973','1')
2023-10-13	12:49:07	1589	[DEBUG]	Store product image relation
2023-10-13	12:49:07	1589	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:07	1589	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861081 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:07	1589	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:07	1589	[DEBUG]	Executed store
2023-10-13	12:49:07	1589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861081','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:07	1589	[DEBUG]	Checking manufacturer
2023-10-13	12:49:07	1589	[DEBUG]	Load a row
2023-10-13	12:49:07	1589	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:07	1589	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:07	1589	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:07	1589	[DEBUG]	Executed store
2023-10-13	12:49:07	1589	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:07	1589	[DEBUG]	Manufacturer exists
2023-10-13	12:49:07	1589	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:07	1589	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:07	1589	[DEBUG]	Executed store
2023-10-13	12:49:07	1589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861081','32')
2023-10-13	12:49:07	1589	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:07	1589	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:07	1589	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861081 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:07	1589	[DEBUG]	Store custom available field
2023-10-13	12:49:07	1589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861081,3,'',1)
2023-10-13	12:49:07	1589	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:07	1589	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:49:07	1589	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861081 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:07	1589	[DEBUG]	Store custom available field
2023-10-13	12:49:07	1589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861081,6,'40',3)
2023-10-13	12:49:07	1589	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:07	1589	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:07	1589	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861078
2023-10-13	12:49:07	1589	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:07	1589	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1861078\":[1861078,8,1,\"choisir la taille\"],\"1861079\":[\"38\"],\"1861080\":[\"39\"],\"1861081\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861078
2023-10-13	12:49:07	1589	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:07	1589	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861081
2023-10-13	12:49:07	1590	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:07	1590	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:07	1590	[DEBUG]	Use field value for field taille
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:07	1590	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:07	1590	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:07	1590	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:07	1590	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:07	1590	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:07	1590	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:07	1590	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:07	1590	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:07	1590	[DEBUG]	Use field value for field published
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:07	1590	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field override
2023-10-13	12:49:07	1590	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:07	1590	[DEBUG]	Use field value for field slug
2023-10-13	12:49:07	1590	[DEBUG]	Process line 1590
2023-10-13	12:49:07	1590	[DEBUG]	Load a row
2023-10-13	12:49:07	1590	[DEBUG]	Processing item: 8435466215484
2023-10-13	12:49:07	1590	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:07	1590	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:07	1590	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_175'
2023-10-13	12:49:07	1590	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:07	1590	[DEBUG]	Processing product tax
2023-10-13	12:49:07	1590	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:07	1590	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:07	1590	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:07	1590	[DEBUG]	Query for Product
2023-10-13	12:49:07	1590	[DEBUG]	Executed store
2023-10-13	12:49:07	1590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861078','8435466215484','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:07	1590	[DEBUG]	No parent found
2023-10-13	12:49:07	1590	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861078 AND customfield_value = 'stockable'
2023-10-13	12:49:07	1590	[DEBUG]	Check product language entry
2023-10-13	12:49:07	1590	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861082
2023-10-13	12:49:07	1590	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:07	1590	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215484' AND `virtuemart_product_id` != 1861082
2023-10-13	12:49:07	1590	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:07	1590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861082, '8435466215484')
2023-10-13	12:49:07	1590	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:07	1590	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-41' AND `virtuemart_product_id` != 1861082
2023-10-13	12:49:07	1590	[DEBUG]	Query for ProductLang
2023-10-13	12:49:07	1590	[DEBUG]	Executed store
2023-10-13	12:49:07	1590	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Turquoise (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-41' WHERE `virtuemart_product_id` = '1861082'
2023-10-13	12:49:07	1590	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:07	1590	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:07	1590	[DEBUG]	Process image file
2023-10-13	12:49:07	1590	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:07	1590	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:07	1590	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:07	1590	[DEBUG]	Full name target: bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:08	1590	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:08	1590	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:08	1590	[DEBUG]	Query for Media
2023-10-13	12:49:08	1590	[DEBUG]	Executed store
2023-10-13	12:49:08	1590	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15973'
2023-10-13	12:49:08	1590	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:08	1590	[DEBUG]	Executed store
2023-10-13	12:49:08	1590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861082','15973','1')
2023-10-13	12:49:08	1590	[DEBUG]	Store product image relation
2023-10-13	12:49:08	1590	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:08	1590	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861082 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:08	1590	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:08	1590	[DEBUG]	Executed store
2023-10-13	12:49:08	1590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861082','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:08	1590	[DEBUG]	Checking manufacturer
2023-10-13	12:49:08	1590	[DEBUG]	Load a row
2023-10-13	12:49:08	1590	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:08	1590	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:08	1590	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:08	1590	[DEBUG]	Executed store
2023-10-13	12:49:08	1590	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:08	1590	[DEBUG]	Manufacturer exists
2023-10-13	12:49:08	1590	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:08	1590	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:08	1590	[DEBUG]	Executed store
2023-10-13	12:49:08	1590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861082','32')
2023-10-13	12:49:08	1590	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:08	1590	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:08	1590	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861082 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:08	1590	[DEBUG]	Store custom available field
2023-10-13	12:49:08	1590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861082,3,'',1)
2023-10-13	12:49:08	1590	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:08	1590	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:49:08	1590	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861082 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:08	1590	[DEBUG]	Store custom available field
2023-10-13	12:49:08	1590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861082,6,'41',3)
2023-10-13	12:49:08	1590	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:08	1590	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:08	1590	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861078
2023-10-13	12:49:08	1590	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:08	1590	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1861078\":[1861078,8,1,\"choisir la taille\"],\"1861079\":[\"38\"],\"1861080\":[\"39\"],\"1861081\":[\"40\"],\"1861082\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861078
2023-10-13	12:49:08	1590	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:08	1590	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861082
2023-10-13	12:49:08	1591	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:08	1591	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:08	1591	[DEBUG]	Use field value for field taille
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:08	1591	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:08	1591	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:08	1591	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:08	1591	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:08	1591	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:08	1591	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:08	1591	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:08	1591	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:08	1591	[DEBUG]	Use field value for field published
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:08	1591	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field override
2023-10-13	12:49:08	1591	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:08	1591	[DEBUG]	Use field value for field slug
2023-10-13	12:49:08	1591	[DEBUG]	Process line 1591
2023-10-13	12:49:08	1591	[DEBUG]	Load a row
2023-10-13	12:49:08	1591	[DEBUG]	Processing item: 8435466215491
2023-10-13	12:49:08	1591	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:08	1591	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:08	1591	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_175'
2023-10-13	12:49:08	1591	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:08	1591	[DEBUG]	Processing product tax
2023-10-13	12:49:08	1591	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:08	1591	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:08	1591	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:08	1591	[DEBUG]	Query for Product
2023-10-13	12:49:08	1591	[DEBUG]	Executed store
2023-10-13	12:49:08	1591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861078','8435466215491','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:08	1591	[DEBUG]	No parent found
2023-10-13	12:49:08	1591	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861078 AND customfield_value = 'stockable'
2023-10-13	12:49:08	1591	[DEBUG]	Check product language entry
2023-10-13	12:49:08	1591	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861083
2023-10-13	12:49:08	1591	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:08	1591	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215491' AND `virtuemart_product_id` != 1861083
2023-10-13	12:49:08	1591	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:08	1591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861083, '8435466215491')
2023-10-13	12:49:08	1591	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:08	1591	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-42' AND `virtuemart_product_id` != 1861083
2023-10-13	12:49:08	1591	[DEBUG]	Query for ProductLang
2023-10-13	12:49:08	1591	[DEBUG]	Executed store
2023-10-13	12:49:08	1591	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Turquoise (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-42' WHERE `virtuemart_product_id` = '1861083'
2023-10-13	12:49:08	1591	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:08	1591	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:08	1591	[DEBUG]	Process image file
2023-10-13	12:49:08	1591	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:08	1591	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:08	1591	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:08	1591	[DEBUG]	Full name target: bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:09	1591	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:09	1591	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:09	1591	[DEBUG]	Query for Media
2023-10-13	12:49:09	1591	[DEBUG]	Executed store
2023-10-13	12:49:09	1591	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15973'
2023-10-13	12:49:09	1591	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:09	1591	[DEBUG]	Executed store
2023-10-13	12:49:09	1591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861083','15973','1')
2023-10-13	12:49:09	1591	[DEBUG]	Store product image relation
2023-10-13	12:49:09	1591	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:09	1591	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861083 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:09	1591	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:09	1591	[DEBUG]	Executed store
2023-10-13	12:49:09	1591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861083','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:09	1591	[DEBUG]	Checking manufacturer
2023-10-13	12:49:09	1591	[DEBUG]	Load a row
2023-10-13	12:49:09	1591	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:09	1591	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:09	1591	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:09	1591	[DEBUG]	Executed store
2023-10-13	12:49:09	1591	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:09	1591	[DEBUG]	Manufacturer exists
2023-10-13	12:49:09	1591	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:09	1591	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:09	1591	[DEBUG]	Executed store
2023-10-13	12:49:09	1591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861083','32')
2023-10-13	12:49:09	1591	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:09	1591	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:09	1591	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861083 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:09	1591	[DEBUG]	Store custom available field
2023-10-13	12:49:09	1591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861083,3,'',1)
2023-10-13	12:49:09	1591	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:09	1591	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:49:09	1591	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861083 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:09	1591	[DEBUG]	Store custom available field
2023-10-13	12:49:09	1591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861083,6,'42',3)
2023-10-13	12:49:09	1591	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:09	1591	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:09	1591	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861078
2023-10-13	12:49:09	1591	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:09	1591	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1861078\":[1861078,8,1,\"choisir la taille\"],\"1861079\":[\"38\"],\"1861080\":[\"39\"],\"1861081\":[\"40\"],\"1861082\":[\"41\"],\"1861083\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861078
2023-10-13	12:49:09	1591	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:09	1591	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861083
2023-10-13	12:49:09	1592	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:09	1592	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:09	1592	[DEBUG]	Use field value for field taille
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:09	1592	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:09	1592	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:09	1592	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:09	1592	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:09	1592	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:09	1592	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:09	1592	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:09	1592	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:09	1592	[DEBUG]	Use field value for field published
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:09	1592	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field override
2023-10-13	12:49:09	1592	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:09	1592	[DEBUG]	Use field value for field slug
2023-10-13	12:49:09	1592	[DEBUG]	Process line 1592
2023-10-13	12:49:09	1592	[DEBUG]	Load a row
2023-10-13	12:49:09	1592	[DEBUG]	Processing item: 8435466215507
2023-10-13	12:49:09	1592	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:09	1592	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:09	1592	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_175'
2023-10-13	12:49:09	1592	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:09	1592	[DEBUG]	Processing product tax
2023-10-13	12:49:09	1592	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:09	1592	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:09	1592	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:09	1592	[DEBUG]	Query for Product
2023-10-13	12:49:09	1592	[DEBUG]	Executed store
2023-10-13	12:49:09	1592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861078','8435466215507','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:09	1592	[DEBUG]	No parent found
2023-10-13	12:49:09	1592	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861078 AND customfield_value = 'stockable'
2023-10-13	12:49:09	1592	[DEBUG]	Check product language entry
2023-10-13	12:49:09	1592	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861084
2023-10-13	12:49:09	1592	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:09	1592	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215507' AND `virtuemart_product_id` != 1861084
2023-10-13	12:49:09	1592	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:09	1592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861084, '8435466215507')
2023-10-13	12:49:09	1592	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:09	1592	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-43' AND `virtuemart_product_id` != 1861084
2023-10-13	12:49:09	1592	[DEBUG]	Query for ProductLang
2023-10-13	12:49:09	1592	[DEBUG]	Executed store
2023-10-13	12:49:09	1592	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Turquoise (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-43' WHERE `virtuemart_product_id` = '1861084'
2023-10-13	12:49:09	1592	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:09	1592	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:09	1592	[DEBUG]	Process image file
2023-10-13	12:49:09	1592	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:09	1592	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:09	1592	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:09	1592	[DEBUG]	Full name target: bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:10	1592	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:10	1592	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:10	1592	[DEBUG]	Query for Media
2023-10-13	12:49:10	1592	[DEBUG]	Executed store
2023-10-13	12:49:10	1592	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15973'
2023-10-13	12:49:10	1592	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:10	1592	[DEBUG]	Executed store
2023-10-13	12:49:10	1592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861084','15973','1')
2023-10-13	12:49:10	1592	[DEBUG]	Store product image relation
2023-10-13	12:49:10	1592	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:10	1592	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861084 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:10	1592	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:10	1592	[DEBUG]	Executed store
2023-10-13	12:49:10	1592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861084','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:10	1592	[DEBUG]	Checking manufacturer
2023-10-13	12:49:10	1592	[DEBUG]	Load a row
2023-10-13	12:49:10	1592	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:10	1592	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:10	1592	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:10	1592	[DEBUG]	Executed store
2023-10-13	12:49:10	1592	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:10	1592	[DEBUG]	Manufacturer exists
2023-10-13	12:49:10	1592	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:10	1592	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:10	1592	[DEBUG]	Executed store
2023-10-13	12:49:10	1592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861084','32')
2023-10-13	12:49:10	1592	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:10	1592	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:10	1592	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861084 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:10	1592	[DEBUG]	Store custom available field
2023-10-13	12:49:10	1592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861084,3,'',1)
2023-10-13	12:49:10	1592	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:10	1592	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:49:10	1592	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861084 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:10	1592	[DEBUG]	Store custom available field
2023-10-13	12:49:10	1592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861084,6,'43',3)
2023-10-13	12:49:10	1592	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:10	1592	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:10	1592	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861078
2023-10-13	12:49:10	1592	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:10	1592	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1861078\":[1861078,8,1,\"choisir la taille\"],\"1861079\":[\"38\"],\"1861080\":[\"39\"],\"1861081\":[\"40\"],\"1861082\":[\"41\"],\"1861083\":[\"42\"],\"1861084\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861078
2023-10-13	12:49:10	1592	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:10	1592	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861084
2023-10-13	12:49:10	1593	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:10	1593	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:10	1593	[DEBUG]	Use field value for field taille
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:10	1593	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:10	1593	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:10	1593	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:10	1593	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:10	1593	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:10	1593	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:10	1593	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:10	1593	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:10	1593	[DEBUG]	Use field value for field published
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:10	1593	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field override
2023-10-13	12:49:10	1593	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:10	1593	[DEBUG]	Use field value for field slug
2023-10-13	12:49:10	1593	[DEBUG]	Process line 1593
2023-10-13	12:49:10	1593	[DEBUG]	Load a row
2023-10-13	12:49:10	1593	[DEBUG]	Processing item: 1000000113952
2023-10-13	12:49:10	1593	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:10	1593	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:10	1593	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_175'
2023-10-13	12:49:10	1593	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:10	1593	[DEBUG]	Processing product tax
2023-10-13	12:49:10	1593	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:10	1593	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:10	1593	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:10	1593	[DEBUG]	Query for Product
2023-10-13	12:49:10	1593	[DEBUG]	Executed store
2023-10-13	12:49:10	1593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861078','1000000113952','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:10	1593	[DEBUG]	No parent found
2023-10-13	12:49:10	1593	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861078 AND customfield_value = 'stockable'
2023-10-13	12:49:10	1593	[DEBUG]	Check product language entry
2023-10-13	12:49:10	1593	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861085
2023-10-13	12:49:10	1593	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:10	1593	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113952' AND `virtuemart_product_id` != 1861085
2023-10-13	12:49:10	1593	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:10	1593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861085, '1000000113952')
2023-10-13	12:49:10	1593	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:10	1593	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-44' AND `virtuemart_product_id` != 1861085
2023-10-13	12:49:10	1593	[DEBUG]	Query for ProductLang
2023-10-13	12:49:10	1593	[DEBUG]	Executed store
2023-10-13	12:49:10	1593	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Turquoise (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-44' WHERE `virtuemart_product_id` = '1861085'
2023-10-13	12:49:10	1593	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:10	1593	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:10	1593	[DEBUG]	Process image file
2023-10-13	12:49:10	1593	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:10	1593	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:10	1593	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:10	1593	[DEBUG]	Full name target: bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:11	1593	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:11	1593	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:11	1593	[DEBUG]	Query for Media
2023-10-13	12:49:11	1593	[DEBUG]	Executed store
2023-10-13	12:49:11	1593	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15973'
2023-10-13	12:49:11	1593	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:11	1593	[DEBUG]	Executed store
2023-10-13	12:49:11	1593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861085','15973','1')
2023-10-13	12:49:11	1593	[DEBUG]	Store product image relation
2023-10-13	12:49:11	1593	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:11	1593	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861085 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:11	1593	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:11	1593	[DEBUG]	Executed store
2023-10-13	12:49:11	1593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861085','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:11	1593	[DEBUG]	Checking manufacturer
2023-10-13	12:49:11	1593	[DEBUG]	Load a row
2023-10-13	12:49:11	1593	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:11	1593	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:11	1593	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:11	1593	[DEBUG]	Executed store
2023-10-13	12:49:11	1593	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:11	1593	[DEBUG]	Manufacturer exists
2023-10-13	12:49:11	1593	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:11	1593	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:11	1593	[DEBUG]	Executed store
2023-10-13	12:49:11	1593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861085','32')
2023-10-13	12:49:11	1593	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:11	1593	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:11	1593	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861085 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:11	1593	[DEBUG]	Store custom available field
2023-10-13	12:49:11	1593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861085,3,'',1)
2023-10-13	12:49:11	1593	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:11	1593	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:49:11	1593	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861085 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:11	1593	[DEBUG]	Store custom available field
2023-10-13	12:49:11	1593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861085,6,'44',3)
2023-10-13	12:49:11	1593	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:11	1593	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:11	1593	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861078
2023-10-13	12:49:11	1593	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:11	1593	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1861078\":[1861078,8,1,\"choisir la taille\"],\"1861079\":[\"38\"],\"1861080\":[\"39\"],\"1861081\":[\"40\"],\"1861082\":[\"41\"],\"1861083\":[\"42\"],\"1861084\":[\"43\"],\"1861085\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861078
2023-10-13	12:49:11	1593	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:11	1593	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861085
2023-10-13	12:49:11	1594	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:11	1594	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:11	1594	[DEBUG]	Use field value for field taille
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:11	1594	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:11	1594	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:11	1594	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:11	1594	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:11	1594	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:11	1594	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:11	1594	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:11	1594	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:11	1594	[DEBUG]	Use field value for field published
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:11	1594	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field override
2023-10-13	12:49:11	1594	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:11	1594	[DEBUG]	Use field value for field slug
2023-10-13	12:49:11	1594	[DEBUG]	Process line 1594
2023-10-13	12:49:11	1594	[DEBUG]	Load a row
2023-10-13	12:49:11	1594	[DEBUG]	Processing item: 1000000113969
2023-10-13	12:49:11	1594	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:11	1594	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:11	1594	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_175'
2023-10-13	12:49:11	1594	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:11	1594	[DEBUG]	Processing product tax
2023-10-13	12:49:11	1594	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:11	1594	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:11	1594	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:11	1594	[DEBUG]	Query for Product
2023-10-13	12:49:11	1594	[DEBUG]	Executed store
2023-10-13	12:49:11	1594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861078','1000000113969','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:11	1594	[DEBUG]	No parent found
2023-10-13	12:49:11	1594	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861078 AND customfield_value = 'stockable'
2023-10-13	12:49:11	1594	[DEBUG]	Check product language entry
2023-10-13	12:49:11	1594	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861086
2023-10-13	12:49:11	1594	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:11	1594	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113969' AND `virtuemart_product_id` != 1861086
2023-10-13	12:49:11	1594	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:11	1594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861086, '1000000113969')
2023-10-13	12:49:11	1594	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:11	1594	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-45' AND `virtuemart_product_id` != 1861086
2023-10-13	12:49:11	1594	[DEBUG]	Query for ProductLang
2023-10-13	12:49:11	1594	[DEBUG]	Executed store
2023-10-13	12:49:11	1594	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Turquoise (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-45' WHERE `virtuemart_product_id` = '1861086'
2023-10-13	12:49:11	1594	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:11	1594	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:11	1594	[DEBUG]	Process image file
2023-10-13	12:49:11	1594	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:11	1594	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:11	1594	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:11	1594	[DEBUG]	Full name target: bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:12	1594	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:12	1594	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:12	1594	[DEBUG]	Query for Media
2023-10-13	12:49:12	1594	[DEBUG]	Executed store
2023-10-13	12:49:12	1594	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15973'
2023-10-13	12:49:12	1594	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:12	1594	[DEBUG]	Executed store
2023-10-13	12:49:12	1594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861086','15973','1')
2023-10-13	12:49:12	1594	[DEBUG]	Store product image relation
2023-10-13	12:49:12	1594	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:12	1594	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861086 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:12	1594	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:12	1594	[DEBUG]	Executed store
2023-10-13	12:49:12	1594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861086','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:12	1594	[DEBUG]	Checking manufacturer
2023-10-13	12:49:12	1594	[DEBUG]	Load a row
2023-10-13	12:49:12	1594	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:12	1594	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:12	1594	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:12	1594	[DEBUG]	Executed store
2023-10-13	12:49:12	1594	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:12	1594	[DEBUG]	Manufacturer exists
2023-10-13	12:49:12	1594	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:12	1594	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:12	1594	[DEBUG]	Executed store
2023-10-13	12:49:12	1594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861086','32')
2023-10-13	12:49:12	1594	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:12	1594	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:12	1594	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861086 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:12	1594	[DEBUG]	Store custom available field
2023-10-13	12:49:12	1594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861086,3,'',1)
2023-10-13	12:49:12	1594	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:12	1594	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:49:12	1594	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861086 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:12	1594	[DEBUG]	Store custom available field
2023-10-13	12:49:12	1594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861086,6,'45',3)
2023-10-13	12:49:12	1594	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:12	1594	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:12	1594	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861078
2023-10-13	12:49:12	1594	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:12	1594	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1861078\":[1861078,8,1,\"choisir la taille\"],\"1861079\":[\"38\"],\"1861080\":[\"39\"],\"1861081\":[\"40\"],\"1861082\":[\"41\"],\"1861083\":[\"42\"],\"1861084\":[\"43\"],\"1861085\":[\"44\"],\"1861086\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861078
2023-10-13	12:49:12	1594	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:12	1594	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861086
2023-10-13	12:49:12	1595	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:12	1595	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:12	1595	[DEBUG]	Use field value for field taille
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:12	1595	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:12	1595	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:12	1595	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:12	1595	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:12	1595	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:12	1595	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:12	1595	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:12	1595	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:12	1595	[DEBUG]	Use field value for field published
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:12	1595	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field override
2023-10-13	12:49:12	1595	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:12	1595	[DEBUG]	Use field value for field slug
2023-10-13	12:49:12	1595	[DEBUG]	Process line 1595
2023-10-13	12:49:12	1595	[DEBUG]	Load a row
2023-10-13	12:49:12	1595	[DEBUG]	Processing item: 8435466215538
2023-10-13	12:49:12	1595	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:12	1595	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:12	1595	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_175'
2023-10-13	12:49:12	1595	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:12	1595	[DEBUG]	Processing product tax
2023-10-13	12:49:12	1595	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:12	1595	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:12	1595	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:12	1595	[DEBUG]	Query for Product
2023-10-13	12:49:12	1595	[DEBUG]	Executed store
2023-10-13	12:49:12	1595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861078','8435466215538','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:12	1595	[DEBUG]	No parent found
2023-10-13	12:49:12	1595	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861078 AND customfield_value = 'stockable'
2023-10-13	12:49:12	1595	[DEBUG]	Check product language entry
2023-10-13	12:49:12	1595	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861087
2023-10-13	12:49:12	1595	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:12	1595	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215538' AND `virtuemart_product_id` != 1861087
2023-10-13	12:49:12	1595	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:12	1595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861087, '8435466215538')
2023-10-13	12:49:12	1595	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:12	1595	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-46' AND `virtuemart_product_id` != 1861087
2023-10-13	12:49:12	1595	[DEBUG]	Query for ProductLang
2023-10-13	12:49:12	1595	[DEBUG]	Executed store
2023-10-13	12:49:12	1595	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Turquoise (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-46' WHERE `virtuemart_product_id` = '1861087'
2023-10-13	12:49:12	1595	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:12	1595	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:12	1595	[DEBUG]	Process image file
2023-10-13	12:49:12	1595	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:12	1595	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:12	1595	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:12	1595	[DEBUG]	Full name target: bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:13	1595	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:13	1595	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:13	1595	[DEBUG]	Query for Media
2023-10-13	12:49:13	1595	[DEBUG]	Executed store
2023-10-13	12:49:13	1595	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15973'
2023-10-13	12:49:13	1595	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:13	1595	[DEBUG]	Executed store
2023-10-13	12:49:13	1595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861087','15973','1')
2023-10-13	12:49:13	1595	[DEBUG]	Store product image relation
2023-10-13	12:49:13	1595	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:13	1595	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861087 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:13	1595	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:13	1595	[DEBUG]	Executed store
2023-10-13	12:49:13	1595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861087','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:13	1595	[DEBUG]	Checking manufacturer
2023-10-13	12:49:13	1595	[DEBUG]	Load a row
2023-10-13	12:49:13	1595	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:13	1595	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:13	1595	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:13	1595	[DEBUG]	Executed store
2023-10-13	12:49:13	1595	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:13	1595	[DEBUG]	Manufacturer exists
2023-10-13	12:49:13	1595	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:13	1595	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:13	1595	[DEBUG]	Executed store
2023-10-13	12:49:13	1595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861087','32')
2023-10-13	12:49:13	1595	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:13	1595	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:13	1595	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861087 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:13	1595	[DEBUG]	Store custom available field
2023-10-13	12:49:13	1595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861087,3,'',1)
2023-10-13	12:49:13	1595	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:13	1595	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:49:13	1595	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861087 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:13	1595	[DEBUG]	Store custom available field
2023-10-13	12:49:13	1595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861087,6,'46',3)
2023-10-13	12:49:13	1595	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:13	1595	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:13	1595	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861078
2023-10-13	12:49:13	1595	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:13	1595	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1861078\":[1861078,8,1,\"choisir la taille\"],\"1861079\":[\"38\"],\"1861080\":[\"39\"],\"1861081\":[\"40\"],\"1861082\":[\"41\"],\"1861083\":[\"42\"],\"1861084\":[\"43\"],\"1861085\":[\"44\"],\"1861086\":[\"45\"],\"1861087\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861078
2023-10-13	12:49:13	1595	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:13	1595	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861087
2023-10-13	12:49:13	1596	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:13	1596	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:13	1596	[DEBUG]	Use field value for field taille
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:13	1596	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:13	1596	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:13	1596	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:13	1596	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:13	1596	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:13	1596	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:13	1596	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:13	1596	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:13	1596	[DEBUG]	Use field value for field published
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:13	1596	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field override
2023-10-13	12:49:13	1596	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:13	1596	[DEBUG]	Use field value for field slug
2023-10-13	12:49:13	1596	[DEBUG]	Process line 1596
2023-10-13	12:49:13	1596	[DEBUG]	Load a row
2023-10-13	12:49:13	1596	[DEBUG]	Processing item: 1000000113983
2023-10-13	12:49:13	1596	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:13	1596	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:13	1596	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6901_175'
2023-10-13	12:49:13	1596	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:13	1596	[DEBUG]	Processing product tax
2023-10-13	12:49:13	1596	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:13	1596	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:13	1596	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:13	1596	[DEBUG]	Query for Product
2023-10-13	12:49:13	1596	[DEBUG]	Executed store
2023-10-13	12:49:13	1596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861078','1000000113983','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:13	1596	[DEBUG]	No parent found
2023-10-13	12:49:13	1596	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861078 AND customfield_value = 'stockable'
2023-10-13	12:49:13	1596	[DEBUG]	Check product language entry
2023-10-13	12:49:13	1596	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861088
2023-10-13	12:49:13	1596	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:13	1596	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000113983' AND `virtuemart_product_id` != 1861088
2023-10-13	12:49:13	1596	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:13	1596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861088, '1000000113983')
2023-10-13	12:49:13	1596	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:13	1596	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-47' AND `virtuemart_product_id` != 1861088
2023-10-13	12:49:13	1596	[DEBUG]	Query for ProductLang
2023-10-13	12:49:13	1596	[DEBUG]	Executed store
2023-10-13	12:49:13	1596	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Chaussures MSC Aéro VTT XC avec système de ventilation breveté  / Turquoise (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-chaussures-msc-aero-vtt-xc-avec-systeme-de-ventilation-brevete-turquoise-47' WHERE `virtuemart_product_id` = '1861088'
2023-10-13	12:49:13	1596	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:13	1596	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:13	1596	[DEBUG]	Process image file
2023-10-13	12:49:13	1596	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:13	1596	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:13	1596	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:13	1596	[DEBUG]	Full name target: bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg
2023-10-13	12:49:14	1596	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:14	1596	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg'
2023-10-13	12:49:14	1596	[DEBUG]	Query for Media
2023-10-13	12:49:14	1596	[DEBUG]	Executed store
2023-10-13	12:49:14	1596	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_url_thumb`='bcprisme/34021_chaussures_msc_aero_vtt_xc_avec_systeme_de_ventilation_brevete_!_t38_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15973'
2023-10-13	12:49:14	1596	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:14	1596	[DEBUG]	Executed store
2023-10-13	12:49:14	1596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861088','15973','1')
2023-10-13	12:49:14	1596	[DEBUG]	Store product image relation
2023-10-13	12:49:14	1596	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:14	1596	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861088 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:14	1596	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:14	1596	[DEBUG]	Executed store
2023-10-13	12:49:14	1596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861088','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:14	1596	[DEBUG]	Checking manufacturer
2023-10-13	12:49:14	1596	[DEBUG]	Load a row
2023-10-13	12:49:14	1596	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:14	1596	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:14	1596	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:14	1596	[DEBUG]	Executed store
2023-10-13	12:49:14	1596	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:49:14	1596	[DEBUG]	Manufacturer exists
2023-10-13	12:49:14	1596	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:49:14	1596	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:14	1596	[DEBUG]	Executed store
2023-10-13	12:49:14	1596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861088','32')
2023-10-13	12:49:14	1596	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:14	1596	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:14	1596	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861088 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:14	1596	[DEBUG]	Store custom available field
2023-10-13	12:49:14	1596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861088,3,'',1)
2023-10-13	12:49:14	1596	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:14	1596	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:49:14	1596	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861088 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:14	1596	[DEBUG]	Store custom available field
2023-10-13	12:49:14	1596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861088,6,'47',3)
2023-10-13	12:49:14	1596	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:14	1596	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:14	1596	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861078
2023-10-13	12:49:14	1596	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:14	1596	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n38\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1861078\":[1861078,8,1,\"choisir la taille\"],\"1861079\":[\"38\"],\"1861080\":[\"39\"],\"1861081\":[\"40\"],\"1861082\":[\"41\"],\"1861083\":[\"42\"],\"1861084\":[\"43\"],\"1861085\":[\"44\"],\"1861086\":[\"45\"],\"1861087\":[\"46\"],\"1861088\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1861078
2023-10-13	12:49:14	1596	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:14	1596	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861088
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:14	1597	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field taille
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field category_path
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:14	1597	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:49:14	1597	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:14	1597	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:14	1597	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:14	1597	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:14	1597	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:14	1597	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field published
2023-10-13	12:49:14	1597	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:14	1597	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field custom_title
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field custom_param
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field override
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field public_price
2023-10-13	12:49:14	1597	[DEBUG]	Use field value for field slug
2023-10-13	12:49:14	1597	[DEBUG]	Process line 1597
2023-10-13	12:49:14	1597	[DEBUG]	Load a row
2023-10-13	12:49:14	1597	[DEBUG]	Processing item: A_7486_16
2023-10-13	12:49:14	1597	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:14	1597	[DEBUG]	Processing product tax
2023-10-13	12:49:14	1597	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:14	1597	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:14	1597	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:14	1597	[DEBUG]	Query for Product
2023-10-13	12:49:14	1597	[DEBUG]	Executed store
2023-10-13	12:49:14	1597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7486_16','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:14	1597	[DEBUG]	Check product language entry
2023-10-13	12:49:14	1597	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861089
2023-10-13	12:49:14	1597	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:14	1597	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7486_16' AND `virtuemart_product_id` != 1861089
2023-10-13	12:49:14	1597	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:14	1597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861089, 'A_7486_16')
2023-10-13	12:49:14	1597	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:14	1597	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris' AND `virtuemart_product_id` != 1861089
2023-10-13	12:49:14	1597	[DEBUG]	Query for ProductLang
2023-10-13	12:49:14	1597	[DEBUG]	Executed store
2023-10-13	12:49:14	1597	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 83.70358',`product_name`='SHIMANO Chaussures Men AM SH-AM9G SPD gray blue / Gris',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris' WHERE `virtuemart_product_id` = '1861089'
2023-10-13	12:49:14	1597	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_70358.jpg has not been found.
2023-10-13	12:49:14	1597	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:14	1597	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861089 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:14	1597	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:14	1597	[DEBUG]	Executed store
2023-10-13	12:49:14	1597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861089','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:14	1597	[DEBUG]	Checking manufacturer
2023-10-13	12:49:14	1597	[DEBUG]	Load a row
2023-10-13	12:49:14	1597	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:14	1597	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:14	1597	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:14	1597	[DEBUG]	Executed store
2023-10-13	12:49:14	1597	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:14	1597	[DEBUG]	Manufacturer exists
2023-10-13	12:49:14	1597	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:49:14	1597	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:14	1597	[DEBUG]	Executed store
2023-10-13	12:49:14	1597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861089','26')
2023-10-13	12:49:14	1597	[DEBUG]	Find the custom field ID
2023-10-13	12:49:14	1597	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:49:14	1597	[DEBUG]	No custom field ID found
2023-10-13	12:49:14	1597	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:14	1597	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:49:14	1597	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861089 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:14	1597	[DEBUG]	Store custom available field
2023-10-13	12:49:14	1597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861089,3,'0',1)
2023-10-13	12:49:14	1597	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:14	1597	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:49:14	1597	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861089 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:14	1597	[DEBUG]	Store custom available field
2023-10-13	12:49:14	1597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861089,6,'choisir la taille',3)
2023-10-13	12:49:14	1597	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:14	1597	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:49:14	1597	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:49:14	1597	[DEBUG]	Find the multi variant product entry
2023-10-13	12:49:14	1597	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861089 AND `virtuemart_custom_id` = 8
2023-10-13	12:49:14	1597	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:49:14	1597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861089,8,1)
2023-10-13	12:49:14	1597	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:14	1597	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861089\":[1861089,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861089
2023-10-13	12:49:14	1597	[DEBUG]	Checking category
2023-10-13	12:49:14	1597	[DEBUG]	Get the existing categories for the product
2023-10-13	12:49:14	1597	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861089
2023-10-13	12:49:14	1597	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:49:14	1597	[DEBUG]	Executed store
2023-10-13	12:49:14	1597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861089','7331')
2023-10-13	12:49:14	1597	[DEBUG]	Delete leftover product categories
2023-10-13	12:49:14	1597	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861089 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:49:14	1597	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:14	1597	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861089
2023-10-13	12:49:14	1598	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:14	1598	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:14	1598	[DEBUG]	Use field value for field taille
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:14	1598	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:14	1598	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:14	1598	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:14	1598	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:14	1598	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:14	1598	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:14	1598	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:14	1598	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:14	1598	[DEBUG]	Use field value for field published
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:14	1598	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field override
2023-10-13	12:49:14	1598	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:14	1598	[DEBUG]	Use field value for field slug
2023-10-13	12:49:14	1598	[DEBUG]	Process line 1598
2023-10-13	12:49:14	1598	[DEBUG]	Load a row
2023-10-13	12:49:14	1598	[DEBUG]	Processing item: 4524667543565
2023-10-13	12:49:14	1598	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:14	1598	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:14	1598	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7486_16'
2023-10-13	12:49:14	1598	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:14	1598	[DEBUG]	Processing product tax
2023-10-13	12:49:14	1598	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:14	1598	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:14	1598	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:14	1598	[DEBUG]	Query for Product
2023-10-13	12:49:14	1598	[DEBUG]	Executed store
2023-10-13	12:49:14	1598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861089','4524667543565','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:14	1598	[DEBUG]	No parent found
2023-10-13	12:49:14	1598	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861089 AND customfield_value = 'stockable'
2023-10-13	12:49:14	1598	[DEBUG]	Check product language entry
2023-10-13	12:49:14	1598	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861090
2023-10-13	12:49:14	1598	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:14	1598	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667543565' AND `virtuemart_product_id` != 1861090
2023-10-13	12:49:14	1598	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:14	1598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861090, '4524667543565')
2023-10-13	12:49:14	1598	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:14	1598	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-45' AND `virtuemart_product_id` != 1861090
2023-10-13	12:49:14	1598	[DEBUG]	Query for ProductLang
2023-10-13	12:49:14	1598	[DEBUG]	Executed store
2023-10-13	12:49:14	1598	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men AM SH-AM9G SPD gray blue / Gris (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-45' WHERE `virtuemart_product_id` = '1861090'
2023-10-13	12:49:14	1598	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_70358.jpg has not been found.
2023-10-13	12:49:14	1598	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:14	1598	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861090 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:14	1598	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:14	1598	[DEBUG]	Executed store
2023-10-13	12:49:14	1598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861090','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:14	1598	[DEBUG]	Checking manufacturer
2023-10-13	12:49:14	1598	[DEBUG]	Load a row
2023-10-13	12:49:14	1598	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:14	1598	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:14	1598	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:14	1598	[DEBUG]	Executed store
2023-10-13	12:49:14	1598	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:14	1598	[DEBUG]	Manufacturer exists
2023-10-13	12:49:14	1598	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:49:14	1598	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:14	1598	[DEBUG]	Executed store
2023-10-13	12:49:14	1598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861090','26')
2023-10-13	12:49:14	1598	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:14	1598	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:14	1598	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861090 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:14	1598	[DEBUG]	Store custom available field
2023-10-13	12:49:14	1598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861090,3,'',1)
2023-10-13	12:49:14	1598	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:14	1598	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:49:14	1598	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861090 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:14	1598	[DEBUG]	Store custom available field
2023-10-13	12:49:14	1598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861090,6,'45',3)
2023-10-13	12:49:14	1598	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:14	1598	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:14	1598	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861089
2023-10-13	12:49:14	1598	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:14	1598	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\"}]|clabels=0|options={\"1861089\":[1861089,8,1,\"choisir la taille\"],\"1861090\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861089
2023-10-13	12:49:14	1598	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:14	1598	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861090
2023-10-13	12:49:14	1599	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:14	1599	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:14	1599	[DEBUG]	Use field value for field taille
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:14	1599	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:14	1599	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:14	1599	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:14	1599	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:14	1599	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:14	1599	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:14	1599	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:14	1599	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:14	1599	[DEBUG]	Use field value for field published
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:14	1599	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field override
2023-10-13	12:49:14	1599	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:14	1599	[DEBUG]	Use field value for field slug
2023-10-13	12:49:14	1599	[DEBUG]	Process line 1599
2023-10-13	12:49:14	1599	[DEBUG]	Load a row
2023-10-13	12:49:14	1599	[DEBUG]	Processing item: 4524667545309
2023-10-13	12:49:14	1599	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:14	1599	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:14	1599	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7486_16'
2023-10-13	12:49:14	1599	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:14	1599	[DEBUG]	Processing product tax
2023-10-13	12:49:14	1599	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:14	1599	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:14	1599	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:14	1599	[DEBUG]	Query for Product
2023-10-13	12:49:14	1599	[DEBUG]	Executed store
2023-10-13	12:49:14	1599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861089','4524667545309','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:14	1599	[DEBUG]	No parent found
2023-10-13	12:49:14	1599	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861089 AND customfield_value = 'stockable'
2023-10-13	12:49:14	1599	[DEBUG]	Check product language entry
2023-10-13	12:49:14	1599	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861091
2023-10-13	12:49:14	1599	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:14	1599	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667545309' AND `virtuemart_product_id` != 1861091
2023-10-13	12:49:14	1599	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:14	1599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861091, '4524667545309')
2023-10-13	12:49:14	1599	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:14	1599	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-48' AND `virtuemart_product_id` != 1861091
2023-10-13	12:49:14	1599	[DEBUG]	Query for ProductLang
2023-10-13	12:49:14	1599	[DEBUG]	Executed store
2023-10-13	12:49:14	1599	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men AM SH-AM9G SPD gray blue / Gris (48)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-48' WHERE `virtuemart_product_id` = '1861091'
2023-10-13	12:49:14	1599	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_70358.jpg has not been found.
2023-10-13	12:49:14	1599	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:14	1599	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861091 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:14	1599	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:14	1599	[DEBUG]	Executed store
2023-10-13	12:49:14	1599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861091','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:14	1599	[DEBUG]	Checking manufacturer
2023-10-13	12:49:14	1599	[DEBUG]	Load a row
2023-10-13	12:49:14	1599	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:14	1599	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:14	1599	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:14	1599	[DEBUG]	Executed store
2023-10-13	12:49:14	1599	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:14	1599	[DEBUG]	Manufacturer exists
2023-10-13	12:49:14	1599	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:49:14	1599	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:14	1599	[DEBUG]	Executed store
2023-10-13	12:49:14	1599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861091','26')
2023-10-13	12:49:14	1599	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:14	1599	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:14	1599	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861091 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:14	1599	[DEBUG]	Store custom available field
2023-10-13	12:49:14	1599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861091,3,'',1)
2023-10-13	12:49:14	1599	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:14	1599	[DEBUG]	Get existing row with customfield value 48
2023-10-13	12:49:14	1599	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861091 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:14	1599	[DEBUG]	Store custom available field
2023-10-13	12:49:14	1599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861091,6,'48',3)
2023-10-13	12:49:14	1599	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:14	1599	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:14	1599	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861089
2023-10-13	12:49:14	1599	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:14	1599	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n48\"}]|clabels=0|options={\"1861089\":[1861089,8,1,\"choisir la taille\"],\"1861090\":[\"45\"],\"1861091\":[\"48\"]}|' WHERE `virtuemart_product_id` = 1861089
2023-10-13	12:49:14	1599	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:14	1599	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861091
2023-10-13	12:49:14	1600	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:14	1600	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:14	1600	[DEBUG]	Use field value for field taille
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:14	1600	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:14	1600	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:14	1600	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:14	1600	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:14	1600	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:14	1600	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:14	1600	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:14	1600	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:14	1600	[DEBUG]	Use field value for field published
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:14	1600	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field override
2023-10-13	12:49:14	1600	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:14	1600	[DEBUG]	Use field value for field slug
2023-10-13	12:49:14	1600	[DEBUG]	Process line 1600
2023-10-13	12:49:14	1600	[DEBUG]	Load a row
2023-10-13	12:49:14	1600	[DEBUG]	Processing item: 4524667597841
2023-10-13	12:49:14	1600	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:14	1600	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:14	1600	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7486_16'
2023-10-13	12:49:14	1600	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:14	1600	[DEBUG]	Processing product tax
2023-10-13	12:49:14	1600	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:14	1600	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:14	1600	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:14	1600	[DEBUG]	Query for Product
2023-10-13	12:49:14	1600	[DEBUG]	Executed store
2023-10-13	12:49:14	1600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861089','4524667597841','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0')
2023-10-13	12:49:14	1600	[DEBUG]	No parent found
2023-10-13	12:49:14	1600	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861089 AND customfield_value = 'stockable'
2023-10-13	12:49:14	1600	[DEBUG]	Check product language entry
2023-10-13	12:49:14	1600	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861092
2023-10-13	12:49:14	1600	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:14	1600	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667597841' AND `virtuemart_product_id` != 1861092
2023-10-13	12:49:14	1600	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:14	1600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861092, '4524667597841')
2023-10-13	12:49:14	1600	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:14	1600	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-42' AND `virtuemart_product_id` != 1861092
2023-10-13	12:49:14	1600	[DEBUG]	Query for ProductLang
2023-10-13	12:49:14	1600	[DEBUG]	Executed store
2023-10-13	12:49:14	1600	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men AM SH-AM9G SPD gray blue / Gris (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-42' WHERE `virtuemart_product_id` = '1861092'
2023-10-13	12:49:14	1600	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_70358.jpg has not been found.
2023-10-13	12:49:14	1600	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:14	1600	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861092 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:14	1600	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:14	1600	[DEBUG]	Executed store
2023-10-13	12:49:14	1600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861092','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:47:35','1593','2023-10-13 12:47:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:14	1600	[DEBUG]	Checking manufacturer
2023-10-13	12:49:14	1600	[DEBUG]	Load a row
2023-10-13	12:49:14	1600	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:14	1600	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:14	1600	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:14	1600	[DEBUG]	Executed store
2023-10-13	12:49:14	1600	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:14	1600	[DEBUG]	Manufacturer exists
2023-10-13	12:49:14	1600	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:49:14	1600	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:14	1600	[DEBUG]	Executed store
2023-10-13	12:49:14	1600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861092','26')
2023-10-13	12:49:14	1600	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:14	1600	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:14	1600	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861092 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:14	1600	[DEBUG]	Store custom available field
2023-10-13	12:49:14	1600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861092,3,'',1)
2023-10-13	12:49:14	1600	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:14	1600	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:49:14	1600	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861092 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:14	1600	[DEBUG]	Store custom available field
2023-10-13	12:49:15	1600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861092,6,'42',3)
2023-10-13	12:49:15	1600	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:15	1600	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:15	1600	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861089
2023-10-13	12:49:15	1600	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:15	1600	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n48\\r\\n42\"}]|clabels=0|options={\"1861089\":[1861089,8,1,\"choisir la taille\"],\"1861090\":[\"45\"],\"1861091\":[\"48\"],\"1861092\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861089
2023-10-13	12:49:15	1600	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:15	1600	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861092
2023-10-13	12:49:35	1600	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:49:35	1600	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:49:35	1600	[DEBUG]	Load the fields to process
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: product_sku
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: taille
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: product_name
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: category_path
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: product_price
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: product_override_price
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: product_tax
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: file_url
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: product_desc
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: product_availability
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: product_weight
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: product_unit
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: related_products
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: product_special
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: published
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: metadesc
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: metakey
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: custom_title
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: custom_value
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: custom_param
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: override
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: public_price
2023-10-13	12:49:35	1600	[DEBUG]	Setup field: slug
2023-10-13	12:49:35	1600	[DEBUG]	Use the file for configuration
2023-10-13	12:49:35	1600	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:49:35	1600	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:49:35	1600	[DEBUG]	Load the custom fields
2023-10-13	12:49:35	1600	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:49:35	1600	[DEBUG]	Load stockable custom fields
2023-10-13	12:49:35	1600	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:49:35	1600	[DEBUG]	Load custom fields for all
2023-10-13	12:49:35	1600	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:49:35	1601	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:35	1601	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:35	1601	[DEBUG]	Use field value for field taille
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:35	1601	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:35	1601	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:35	1601	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:35	1601	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:35	1601	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:35	1601	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:35	1601	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:35	1601	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:35	1601	[DEBUG]	Use field value for field published
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:35	1601	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field override
2023-10-13	12:49:35	1601	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:35	1601	[DEBUG]	Use field value for field slug
2023-10-13	12:49:35	1601	[DEBUG]	Process line 1601
2023-10-13	12:49:35	1601	[DEBUG]	Check if the vendor exists
2023-10-13	12:49:35	1601	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '4524667559047'
2023-10-13	12:49:35	1601	[DEBUG]	Load a row
2023-10-13	12:49:35	1601	[DEBUG]	Processing item: 4524667559047
2023-10-13	12:49:35	1601	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:35	1601	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:35	1601	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7486_16'
2023-10-13	12:49:35	1601	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:35	1601	[DEBUG]	Processing product tax
2023-10-13	12:49:35	1601	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:35	1601	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:35	1601	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:35	1601	[DEBUG]	Query for Product
2023-10-13	12:49:35	1601	[DEBUG]	Executed store
2023-10-13	12:49:35	1601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861089','4524667559047','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:35	1601	[DEBUG]	No parent found
2023-10-13	12:49:35	1601	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861089 AND customfield_value = 'stockable'
2023-10-13	12:49:35	1601	[DEBUG]	Check product language entry
2023-10-13	12:49:35	1601	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861093
2023-10-13	12:49:35	1601	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1601	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667559047' AND `virtuemart_product_id` != 1861093
2023-10-13	12:49:35	1601	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:35	1601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861093, '4524667559047')
2023-10-13	12:49:35	1601	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1601	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-40' AND `virtuemart_product_id` != 1861093
2023-10-13	12:49:35	1601	[DEBUG]	Query for ProductLang
2023-10-13	12:49:35	1601	[DEBUG]	Executed store
2023-10-13	12:49:35	1601	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men AM SH-AM9G SPD gray blue / Gris (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-40' WHERE `virtuemart_product_id` = '1861093'
2023-10-13	12:49:35	1601	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_70358.jpg has not been found.
2023-10-13	12:49:35	1601	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:35	1601	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861093 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:35	1601	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:35	1601	[DEBUG]	Executed store
2023-10-13	12:49:35	1601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861093','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:35	1601	[DEBUG]	Checking manufacturer
2023-10-13	12:49:35	1601	[DEBUG]	Load a row
2023-10-13	12:49:35	1601	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:35	1601	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:35	1601	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:35	1601	[DEBUG]	Executed store
2023-10-13	12:49:35	1601	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:35	1601	[DEBUG]	Manufacturer exists
2023-10-13	12:49:35	1601	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:49:35	1601	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:35	1601	[DEBUG]	Executed store
2023-10-13	12:49:35	1601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861093','26')
2023-10-13	12:49:35	1601	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:35	1601	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:35	1601	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861093 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:35	1601	[DEBUG]	Store custom available field
2023-10-13	12:49:35	1601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861093,3,'',1)
2023-10-13	12:49:35	1601	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:35	1601	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:49:35	1601	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861093 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:35	1601	[DEBUG]	Store custom available field
2023-10-13	12:49:35	1601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861093,6,'40',3)
2023-10-13	12:49:35	1601	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:35	1601	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:35	1601	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861089
2023-10-13	12:49:35	1601	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:35	1601	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n48\\r\\n42\\r\\n40\"}]|clabels=0|options={\"1861089\":[1861089,8,1,\"choisir la taille\"],\"1861090\":[\"45\"],\"1861091\":[\"48\"],\"1861092\":[\"42\"],\"1861093\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861089
2023-10-13	12:49:35	1601	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:35	1601	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861093
2023-10-13	12:49:35	1602	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:35	1602	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:35	1602	[DEBUG]	Use field value for field taille
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:35	1602	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:35	1602	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:35	1602	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:35	1602	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:35	1602	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:35	1602	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:35	1602	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:35	1602	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:35	1602	[DEBUG]	Use field value for field published
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:35	1602	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field override
2023-10-13	12:49:35	1602	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:35	1602	[DEBUG]	Use field value for field slug
2023-10-13	12:49:35	1602	[DEBUG]	Process line 1602
2023-10-13	12:49:35	1602	[DEBUG]	Load a row
2023-10-13	12:49:35	1602	[DEBUG]	Processing item: 4524667519126
2023-10-13	12:49:35	1602	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:35	1602	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:35	1602	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7486_16'
2023-10-13	12:49:35	1602	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:35	1602	[DEBUG]	Processing product tax
2023-10-13	12:49:35	1602	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:35	1602	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:35	1602	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:35	1602	[DEBUG]	Query for Product
2023-10-13	12:49:35	1602	[DEBUG]	Executed store
2023-10-13	12:49:35	1602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861089','4524667519126','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:35	1602	[DEBUG]	No parent found
2023-10-13	12:49:35	1602	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861089 AND customfield_value = 'stockable'
2023-10-13	12:49:35	1602	[DEBUG]	Check product language entry
2023-10-13	12:49:35	1602	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861094
2023-10-13	12:49:35	1602	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1602	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667519126' AND `virtuemart_product_id` != 1861094
2023-10-13	12:49:35	1602	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:35	1602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861094, '4524667519126')
2023-10-13	12:49:35	1602	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1602	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-43' AND `virtuemart_product_id` != 1861094
2023-10-13	12:49:35	1602	[DEBUG]	Query for ProductLang
2023-10-13	12:49:35	1602	[DEBUG]	Executed store
2023-10-13	12:49:35	1602	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men AM SH-AM9G SPD gray blue / Gris (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-43' WHERE `virtuemart_product_id` = '1861094'
2023-10-13	12:49:35	1602	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_70358.jpg has not been found.
2023-10-13	12:49:35	1602	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:35	1602	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861094 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:35	1602	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:35	1602	[DEBUG]	Executed store
2023-10-13	12:49:35	1602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861094','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:35	1602	[DEBUG]	Checking manufacturer
2023-10-13	12:49:35	1602	[DEBUG]	Load a row
2023-10-13	12:49:35	1602	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:35	1602	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:35	1602	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:35	1602	[DEBUG]	Executed store
2023-10-13	12:49:35	1602	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:35	1602	[DEBUG]	Manufacturer exists
2023-10-13	12:49:35	1602	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:49:35	1602	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:35	1602	[DEBUG]	Executed store
2023-10-13	12:49:35	1602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861094','26')
2023-10-13	12:49:35	1602	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:35	1602	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:35	1602	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861094 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:35	1602	[DEBUG]	Store custom available field
2023-10-13	12:49:35	1602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861094,3,'',1)
2023-10-13	12:49:35	1602	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:35	1602	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:49:35	1602	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861094 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:35	1602	[DEBUG]	Store custom available field
2023-10-13	12:49:35	1602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861094,6,'43',3)
2023-10-13	12:49:35	1602	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:35	1602	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:35	1602	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861089
2023-10-13	12:49:35	1602	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:35	1602	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n48\\r\\n42\\r\\n40\\r\\n43\"}]|clabels=0|options={\"1861089\":[1861089,8,1,\"choisir la taille\"],\"1861090\":[\"45\"],\"1861091\":[\"48\"],\"1861092\":[\"42\"],\"1861093\":[\"40\"],\"1861094\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861089
2023-10-13	12:49:35	1602	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:35	1602	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861094
2023-10-13	12:49:35	1603	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:35	1603	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:35	1603	[DEBUG]	Use field value for field taille
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:35	1603	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:35	1603	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:35	1603	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:35	1603	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:35	1603	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:35	1603	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:35	1603	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:35	1603	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:35	1603	[DEBUG]	Use field value for field published
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:35	1603	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field override
2023-10-13	12:49:35	1603	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:35	1603	[DEBUG]	Use field value for field slug
2023-10-13	12:49:35	1603	[DEBUG]	Process line 1603
2023-10-13	12:49:35	1603	[DEBUG]	Load a row
2023-10-13	12:49:35	1603	[DEBUG]	Processing item: 4524667598602
2023-10-13	12:49:35	1603	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:35	1603	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:35	1603	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7486_16'
2023-10-13	12:49:35	1603	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:35	1603	[DEBUG]	Processing product tax
2023-10-13	12:49:35	1603	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:35	1603	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:35	1603	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:35	1603	[DEBUG]	Query for Product
2023-10-13	12:49:35	1603	[DEBUG]	Executed store
2023-10-13	12:49:35	1603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861089','4524667598602','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:35	1603	[DEBUG]	No parent found
2023-10-13	12:49:35	1603	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861089 AND customfield_value = 'stockable'
2023-10-13	12:49:35	1603	[DEBUG]	Check product language entry
2023-10-13	12:49:35	1603	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861095
2023-10-13	12:49:35	1603	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1603	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667598602' AND `virtuemart_product_id` != 1861095
2023-10-13	12:49:35	1603	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:35	1603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861095, '4524667598602')
2023-10-13	12:49:35	1603	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1603	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-44' AND `virtuemart_product_id` != 1861095
2023-10-13	12:49:35	1603	[DEBUG]	Query for ProductLang
2023-10-13	12:49:35	1603	[DEBUG]	Executed store
2023-10-13	12:49:35	1603	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men AM SH-AM9G SPD gray blue / Gris (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-44' WHERE `virtuemart_product_id` = '1861095'
2023-10-13	12:49:35	1603	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_70358.jpg has not been found.
2023-10-13	12:49:35	1603	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:35	1603	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861095 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:35	1603	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:35	1603	[DEBUG]	Executed store
2023-10-13	12:49:35	1603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861095','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:35	1603	[DEBUG]	Checking manufacturer
2023-10-13	12:49:35	1603	[DEBUG]	Load a row
2023-10-13	12:49:35	1603	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:35	1603	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:35	1603	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:35	1603	[DEBUG]	Executed store
2023-10-13	12:49:35	1603	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:35	1603	[DEBUG]	Manufacturer exists
2023-10-13	12:49:35	1603	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:49:35	1603	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:35	1603	[DEBUG]	Executed store
2023-10-13	12:49:35	1603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861095','26')
2023-10-13	12:49:35	1603	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:35	1603	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:35	1603	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861095 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:35	1603	[DEBUG]	Store custom available field
2023-10-13	12:49:35	1603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861095,3,'',1)
2023-10-13	12:49:35	1603	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:35	1603	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:49:35	1603	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861095 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:35	1603	[DEBUG]	Store custom available field
2023-10-13	12:49:35	1603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861095,6,'44',3)
2023-10-13	12:49:35	1603	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:35	1603	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:35	1603	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861089
2023-10-13	12:49:35	1603	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:35	1603	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n48\\r\\n42\\r\\n40\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1861089\":[1861089,8,1,\"choisir la taille\"],\"1861090\":[\"45\"],\"1861091\":[\"48\"],\"1861092\":[\"42\"],\"1861093\":[\"40\"],\"1861094\":[\"43\"],\"1861095\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861089
2023-10-13	12:49:35	1603	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:35	1603	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861095
2023-10-13	12:49:35	1604	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:35	1604	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:35	1604	[DEBUG]	Use field value for field taille
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:35	1604	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:35	1604	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:35	1604	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:35	1604	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:35	1604	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:35	1604	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:35	1604	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:35	1604	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:35	1604	[DEBUG]	Use field value for field published
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:35	1604	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field override
2023-10-13	12:49:35	1604	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:35	1604	[DEBUG]	Use field value for field slug
2023-10-13	12:49:35	1604	[DEBUG]	Process line 1604
2023-10-13	12:49:35	1604	[DEBUG]	Load a row
2023-10-13	12:49:35	1604	[DEBUG]	Processing item: 4524667544593
2023-10-13	12:49:35	1604	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:35	1604	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:35	1604	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7486_16'
2023-10-13	12:49:35	1604	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:35	1604	[DEBUG]	Processing product tax
2023-10-13	12:49:35	1604	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:35	1604	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:35	1604	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:35	1604	[DEBUG]	Query for Product
2023-10-13	12:49:35	1604	[DEBUG]	Executed store
2023-10-13	12:49:35	1604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861089','4524667544593','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:35	1604	[DEBUG]	No parent found
2023-10-13	12:49:35	1604	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861089 AND customfield_value = 'stockable'
2023-10-13	12:49:35	1604	[DEBUG]	Check product language entry
2023-10-13	12:49:35	1604	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861096
2023-10-13	12:49:35	1604	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1604	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667544593' AND `virtuemart_product_id` != 1861096
2023-10-13	12:49:35	1604	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:35	1604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861096, '4524667544593')
2023-10-13	12:49:35	1604	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1604	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-39' AND `virtuemart_product_id` != 1861096
2023-10-13	12:49:35	1604	[DEBUG]	Query for ProductLang
2023-10-13	12:49:35	1604	[DEBUG]	Executed store
2023-10-13	12:49:35	1604	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men AM SH-AM9G SPD gray blue / Gris (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-39' WHERE `virtuemart_product_id` = '1861096'
2023-10-13	12:49:35	1604	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_70358.jpg has not been found.
2023-10-13	12:49:35	1604	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:35	1604	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861096 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:35	1604	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:35	1604	[DEBUG]	Executed store
2023-10-13	12:49:35	1604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861096','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:35	1604	[DEBUG]	Checking manufacturer
2023-10-13	12:49:35	1604	[DEBUG]	Load a row
2023-10-13	12:49:35	1604	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:35	1604	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:35	1604	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:35	1604	[DEBUG]	Executed store
2023-10-13	12:49:35	1604	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:35	1604	[DEBUG]	Manufacturer exists
2023-10-13	12:49:35	1604	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:49:35	1604	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:35	1604	[DEBUG]	Executed store
2023-10-13	12:49:35	1604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861096','26')
2023-10-13	12:49:35	1604	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:35	1604	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:35	1604	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861096 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:35	1604	[DEBUG]	Store custom available field
2023-10-13	12:49:35	1604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861096,3,'',1)
2023-10-13	12:49:35	1604	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:35	1604	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:49:35	1604	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861096 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:35	1604	[DEBUG]	Store custom available field
2023-10-13	12:49:35	1604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861096,6,'39',3)
2023-10-13	12:49:35	1604	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:35	1604	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:35	1604	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861089
2023-10-13	12:49:35	1604	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:35	1604	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n48\\r\\n42\\r\\n40\\r\\n43\\r\\n44\\r\\n39\"}]|clabels=0|options={\"1861089\":[1861089,8,1,\"choisir la taille\"],\"1861090\":[\"45\"],\"1861091\":[\"48\"],\"1861092\":[\"42\"],\"1861093\":[\"40\"],\"1861094\":[\"43\"],\"1861095\":[\"44\"],\"1861096\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861089
2023-10-13	12:49:35	1604	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:35	1604	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861096
2023-10-13	12:49:35	1605	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:35	1605	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:35	1605	[DEBUG]	Use field value for field taille
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:35	1605	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:35	1605	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:35	1605	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:35	1605	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:35	1605	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:35	1605	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:35	1605	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:35	1605	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:35	1605	[DEBUG]	Use field value for field published
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:35	1605	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field override
2023-10-13	12:49:35	1605	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:35	1605	[DEBUG]	Use field value for field slug
2023-10-13	12:49:35	1605	[DEBUG]	Process line 1605
2023-10-13	12:49:35	1605	[DEBUG]	Load a row
2023-10-13	12:49:35	1605	[DEBUG]	Processing item: 4524667518839
2023-10-13	12:49:35	1605	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:35	1605	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:35	1605	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7486_16'
2023-10-13	12:49:35	1605	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:35	1605	[DEBUG]	Processing product tax
2023-10-13	12:49:35	1605	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:35	1605	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:35	1605	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:35	1605	[DEBUG]	Query for Product
2023-10-13	12:49:35	1605	[DEBUG]	Executed store
2023-10-13	12:49:35	1605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861089','4524667518839','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:35	1605	[DEBUG]	No parent found
2023-10-13	12:49:35	1605	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861089 AND customfield_value = 'stockable'
2023-10-13	12:49:35	1605	[DEBUG]	Check product language entry
2023-10-13	12:49:35	1605	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861097
2023-10-13	12:49:35	1605	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1605	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667518839' AND `virtuemart_product_id` != 1861097
2023-10-13	12:49:35	1605	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:35	1605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861097, '4524667518839')
2023-10-13	12:49:35	1605	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1605	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-46' AND `virtuemart_product_id` != 1861097
2023-10-13	12:49:35	1605	[DEBUG]	Query for ProductLang
2023-10-13	12:49:35	1605	[DEBUG]	Executed store
2023-10-13	12:49:35	1605	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men AM SH-AM9G SPD gray blue / Gris (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-46' WHERE `virtuemart_product_id` = '1861097'
2023-10-13	12:49:35	1605	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_70358.jpg has not been found.
2023-10-13	12:49:35	1605	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:35	1605	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861097 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:35	1605	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:35	1605	[DEBUG]	Executed store
2023-10-13	12:49:35	1605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861097','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:35	1605	[DEBUG]	Checking manufacturer
2023-10-13	12:49:35	1605	[DEBUG]	Load a row
2023-10-13	12:49:35	1605	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:35	1605	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:35	1605	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:35	1605	[DEBUG]	Executed store
2023-10-13	12:49:35	1605	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:35	1605	[DEBUG]	Manufacturer exists
2023-10-13	12:49:35	1605	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:49:35	1605	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:35	1605	[DEBUG]	Executed store
2023-10-13	12:49:35	1605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861097','26')
2023-10-13	12:49:35	1605	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:35	1605	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:35	1605	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861097 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:35	1605	[DEBUG]	Store custom available field
2023-10-13	12:49:35	1605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861097,3,'',1)
2023-10-13	12:49:35	1605	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:35	1605	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:49:35	1605	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861097 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:35	1605	[DEBUG]	Store custom available field
2023-10-13	12:49:35	1605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861097,6,'46',3)
2023-10-13	12:49:35	1605	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:35	1605	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:35	1605	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861089
2023-10-13	12:49:35	1605	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:35	1605	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n48\\r\\n42\\r\\n40\\r\\n43\\r\\n44\\r\\n39\\r\\n46\"}]|clabels=0|options={\"1861089\":[1861089,8,1,\"choisir la taille\"],\"1861090\":[\"45\"],\"1861091\":[\"48\"],\"1861092\":[\"42\"],\"1861093\":[\"40\"],\"1861094\":[\"43\"],\"1861095\":[\"44\"],\"1861096\":[\"39\"],\"1861097\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861089
2023-10-13	12:49:35	1605	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:35	1605	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861097
2023-10-13	12:49:35	1606	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:35	1606	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:35	1606	[DEBUG]	Use field value for field taille
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:35	1606	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:35	1606	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:35	1606	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:35	1606	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:35	1606	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:35	1606	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:35	1606	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:35	1606	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:35	1606	[DEBUG]	Use field value for field published
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:35	1606	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field override
2023-10-13	12:49:35	1606	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:35	1606	[DEBUG]	Use field value for field slug
2023-10-13	12:49:35	1606	[DEBUG]	Process line 1606
2023-10-13	12:49:35	1606	[DEBUG]	Load a row
2023-10-13	12:49:35	1606	[DEBUG]	Processing item: 4524667525134
2023-10-13	12:49:35	1606	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:35	1606	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:35	1606	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7486_16'
2023-10-13	12:49:35	1606	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:35	1606	[DEBUG]	Processing product tax
2023-10-13	12:49:35	1606	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:35	1606	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:35	1606	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:35	1606	[DEBUG]	Query for Product
2023-10-13	12:49:35	1606	[DEBUG]	Executed store
2023-10-13	12:49:35	1606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861089','4524667525134','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:35	1606	[DEBUG]	No parent found
2023-10-13	12:49:35	1606	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861089 AND customfield_value = 'stockable'
2023-10-13	12:49:35	1606	[DEBUG]	Check product language entry
2023-10-13	12:49:35	1606	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861098
2023-10-13	12:49:35	1606	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1606	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667525134' AND `virtuemart_product_id` != 1861098
2023-10-13	12:49:35	1606	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:35	1606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861098, '4524667525134')
2023-10-13	12:49:35	1606	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1606	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-47' AND `virtuemart_product_id` != 1861098
2023-10-13	12:49:35	1606	[DEBUG]	Query for ProductLang
2023-10-13	12:49:35	1606	[DEBUG]	Executed store
2023-10-13	12:49:35	1606	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men AM SH-AM9G SPD gray blue / Gris (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-47' WHERE `virtuemart_product_id` = '1861098'
2023-10-13	12:49:35	1606	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_70358.jpg has not been found.
2023-10-13	12:49:35	1606	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:35	1606	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861098 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:35	1606	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:35	1606	[DEBUG]	Executed store
2023-10-13	12:49:35	1606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861098','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:35	1606	[DEBUG]	Checking manufacturer
2023-10-13	12:49:35	1606	[DEBUG]	Load a row
2023-10-13	12:49:35	1606	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:35	1606	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:35	1606	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:35	1606	[DEBUG]	Executed store
2023-10-13	12:49:35	1606	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:35	1606	[DEBUG]	Manufacturer exists
2023-10-13	12:49:35	1606	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:49:35	1606	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:35	1606	[DEBUG]	Executed store
2023-10-13	12:49:35	1606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861098','26')
2023-10-13	12:49:35	1606	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:35	1606	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:35	1606	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861098 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:35	1606	[DEBUG]	Store custom available field
2023-10-13	12:49:35	1606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861098,3,'',1)
2023-10-13	12:49:35	1606	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:35	1606	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:49:35	1606	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861098 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:35	1606	[DEBUG]	Store custom available field
2023-10-13	12:49:35	1606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861098,6,'47',3)
2023-10-13	12:49:35	1606	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:35	1606	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:35	1606	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861089
2023-10-13	12:49:35	1606	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:35	1606	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n48\\r\\n42\\r\\n40\\r\\n43\\r\\n44\\r\\n39\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1861089\":[1861089,8,1,\"choisir la taille\"],\"1861090\":[\"45\"],\"1861091\":[\"48\"],\"1861092\":[\"42\"],\"1861093\":[\"40\"],\"1861094\":[\"43\"],\"1861095\":[\"44\"],\"1861096\":[\"39\"],\"1861097\":[\"46\"],\"1861098\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1861089
2023-10-13	12:49:35	1606	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:35	1606	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861098
2023-10-13	12:49:35	1607	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:35	1607	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:35	1607	[DEBUG]	Use field value for field taille
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:35	1607	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:35	1607	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:35	1607	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:35	1607	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:35	1607	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:35	1607	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:35	1607	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:35	1607	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:35	1607	[DEBUG]	Use field value for field published
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:35	1607	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field override
2023-10-13	12:49:35	1607	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:35	1607	[DEBUG]	Use field value for field slug
2023-10-13	12:49:35	1607	[DEBUG]	Process line 1607
2023-10-13	12:49:35	1607	[DEBUG]	Load a row
2023-10-13	12:49:35	1607	[DEBUG]	Processing item: 4524667562955
2023-10-13	12:49:35	1607	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:35	1607	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:35	1607	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7486_16'
2023-10-13	12:49:35	1607	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:35	1607	[DEBUG]	Processing product tax
2023-10-13	12:49:35	1607	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:35	1607	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:35	1607	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:35	1607	[DEBUG]	Query for Product
2023-10-13	12:49:35	1607	[DEBUG]	Executed store
2023-10-13	12:49:35	1607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861089','4524667562955','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:35	1607	[DEBUG]	No parent found
2023-10-13	12:49:35	1607	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861089 AND customfield_value = 'stockable'
2023-10-13	12:49:35	1607	[DEBUG]	Check product language entry
2023-10-13	12:49:35	1607	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861099
2023-10-13	12:49:35	1607	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1607	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667562955' AND `virtuemart_product_id` != 1861099
2023-10-13	12:49:35	1607	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:35	1607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861099, '4524667562955')
2023-10-13	12:49:35	1607	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1607	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-41' AND `virtuemart_product_id` != 1861099
2023-10-13	12:49:35	1607	[DEBUG]	Query for ProductLang
2023-10-13	12:49:35	1607	[DEBUG]	Executed store
2023-10-13	12:49:35	1607	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men AM SH-AM9G SPD gray blue / Gris (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-am-sh-am9g-spd-gray-blue-gris-41' WHERE `virtuemart_product_id` = '1861099'
2023-10-13	12:49:35	1607	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_70358.jpg has not been found.
2023-10-13	12:49:35	1607	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:35	1607	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861099 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:35	1607	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:35	1607	[DEBUG]	Executed store
2023-10-13	12:49:35	1607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861099','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:35	1607	[DEBUG]	Checking manufacturer
2023-10-13	12:49:35	1607	[DEBUG]	Load a row
2023-10-13	12:49:35	1607	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:35	1607	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:35	1607	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:35	1607	[DEBUG]	Executed store
2023-10-13	12:49:35	1607	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:35	1607	[DEBUG]	Manufacturer exists
2023-10-13	12:49:35	1607	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:49:35	1607	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:35	1607	[DEBUG]	Executed store
2023-10-13	12:49:35	1607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861099','26')
2023-10-13	12:49:35	1607	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:35	1607	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:35	1607	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861099 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:35	1607	[DEBUG]	Store custom available field
2023-10-13	12:49:35	1607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861099,3,'',1)
2023-10-13	12:49:35	1607	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:35	1607	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:49:35	1607	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861099 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:35	1607	[DEBUG]	Store custom available field
2023-10-13	12:49:35	1607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861099,6,'41',3)
2023-10-13	12:49:35	1607	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:35	1607	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:35	1607	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861089
2023-10-13	12:49:35	1607	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:35	1607	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n48\\r\\n42\\r\\n40\\r\\n43\\r\\n44\\r\\n39\\r\\n46\\r\\n47\\r\\n41\"}]|clabels=0|options={\"1861089\":[1861089,8,1,\"choisir la taille\"],\"1861090\":[\"45\"],\"1861091\":[\"48\"],\"1861092\":[\"42\"],\"1861093\":[\"40\"],\"1861094\":[\"43\"],\"1861095\":[\"44\"],\"1861096\":[\"39\"],\"1861097\":[\"46\"],\"1861098\":[\"47\"],\"1861099\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861089
2023-10-13	12:49:35	1607	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:35	1607	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861099
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:35	1608	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field taille
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field category_path
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:35	1608	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:49:35	1608	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:35	1608	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field product_weight
2023-10-13	12:49:35	1608	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:35	1608	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:35	1608	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field published
2023-10-13	12:49:35	1608	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:35	1608	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field custom_title
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field custom_param
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field override
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field public_price
2023-10-13	12:49:35	1608	[DEBUG]	Use field value for field slug
2023-10-13	12:49:35	1608	[DEBUG]	Process line 1608
2023-10-13	12:49:35	1608	[DEBUG]	Load a row
2023-10-13	12:49:35	1608	[DEBUG]	Processing item: A_7532_506
2023-10-13	12:49:35	1608	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:35	1608	[DEBUG]	Processing product tax
2023-10-13	12:49:35	1608	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:35	1608	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:35	1608	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:35	1608	[DEBUG]	Query for Product
2023-10-13	12:49:35	1608	[DEBUG]	Executed store
2023-10-13	12:49:35	1608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7532_506','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:35	1608	[DEBUG]	Check product language entry
2023-10-13	12:49:35	1608	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861100
2023-10-13	12:49:35	1608	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1608	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7532_506' AND `virtuemart_product_id` != 1861100
2023-10-13	12:49:35	1608	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:35	1608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861100, 'A_7532_506')
2023-10-13	12:49:35	1608	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:35	1608	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv' AND `virtuemart_product_id` != 1861100
2023-10-13	12:49:35	1608	[DEBUG]	Query for ProductLang
2023-10-13	12:49:35	1608	[DEBUG]	Executed store
2023-10-13	12:49:35	1608	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='CHAUSSURES VTT EN GORTEX, THERMO RESISTANT, WATER RESISTANT, WIND RESISTANT<br>N° art fourn : 80204037',`product_name`='NORTHWAVE Chaussures VTT CELSIUS XC ARTIC GTX GORTEX / BLACK/REFLEKTIV',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv' WHERE `virtuemart_product_id` = '1861100'
2023-10-13	12:49:35	1608	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:35	1608	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:35	1608	[DEBUG]	Process image file
2023-10-13	12:49:35	1608	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:35	1608	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:35	1608	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:35	1608	[DEBUG]	Full name target: bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:36	1608	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:36	1608	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg'
2023-10-13	12:49:36	1608	[DEBUG]	Query for Media
2023-10-13	12:49:36	1608	[DEBUG]	Executed store
2023-10-13	12:49:36	1608	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_url_thumb`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265202'
2023-10-13	12:49:36	1608	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:36	1608	[DEBUG]	Executed store
2023-10-13	12:49:36	1608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861100','265202','1')
2023-10-13	12:49:36	1608	[DEBUG]	Store product image relation
2023-10-13	12:49:36	1608	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:36	1608	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861100 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:36	1608	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:36	1608	[DEBUG]	Executed store
2023-10-13	12:49:36	1608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861100','0','315.69173630455','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:36	1608	[DEBUG]	Checking manufacturer
2023-10-13	12:49:36	1608	[DEBUG]	Load a row
2023-10-13	12:49:36	1608	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:36	1608	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:36	1608	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:36	1608	[DEBUG]	Executed store
2023-10-13	12:49:36	1608	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:36	1608	[DEBUG]	Manufacturer exists
2023-10-13	12:49:36	1608	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:36	1608	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:36	1608	[DEBUG]	Executed store
2023-10-13	12:49:36	1608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861100','239')
2023-10-13	12:49:36	1608	[DEBUG]	Find the custom field ID
2023-10-13	12:49:36	1608	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:49:36	1608	[DEBUG]	No custom field ID found
2023-10-13	12:49:36	1608	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:36	1608	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:49:36	1608	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861100 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:36	1608	[DEBUG]	Store custom available field
2023-10-13	12:49:36	1608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861100,3,'179.400277777778',1)
2023-10-13	12:49:36	1608	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:36	1608	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:49:36	1608	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861100 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:36	1608	[DEBUG]	Store custom available field
2023-10-13	12:49:36	1608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861100,6,'choisir la taille',3)
2023-10-13	12:49:36	1608	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:36	1608	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:49:36	1608	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:49:36	1608	[DEBUG]	Find the multi variant product entry
2023-10-13	12:49:36	1608	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861100 AND `virtuemart_custom_id` = 8
2023-10-13	12:49:36	1608	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:49:36	1608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861100,8,1)
2023-10-13	12:49:36	1608	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:36	1608	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861100\":[1861100,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861100
2023-10-13	12:49:36	1608	[DEBUG]	Checking category
2023-10-13	12:49:36	1608	[DEBUG]	Check if category path exists: CHAUSSURES - SCHUHE
2023-10-13	12:49:36	1608	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAUSSURES - SCHUHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:49:36	1608	[DEBUG]	Check if category path exists: CHAUSSURES  - SHUHE
2023-10-13	12:49:36	1608	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAUSSURES  - SHUHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7305
2023-10-13	12:49:36	1608	[DEBUG]	Get the existing categories for the product
2023-10-13	12:49:36	1608	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861100
2023-10-13	12:49:36	1608	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:49:36	1608	[DEBUG]	Executed store
2023-10-13	12:49:36	1608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861100','7331')
2023-10-13	12:49:36	1608	[DEBUG]	Delete leftover product categories
2023-10-13	12:49:36	1608	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861100 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:49:36	1608	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:36	1608	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861100
2023-10-13	12:49:36	1609	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:36	1609	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:36	1609	[DEBUG]	Use field value for field taille
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:36	1609	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:36	1609	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:36	1609	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:36	1609	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:36	1609	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:36	1609	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:36	1609	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:36	1609	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:36	1609	[DEBUG]	Use field value for field published
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:36	1609	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field override
2023-10-13	12:49:36	1609	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:36	1609	[DEBUG]	Use field value for field slug
2023-10-13	12:49:36	1609	[DEBUG]	Process line 1609
2023-10-13	12:49:36	1609	[DEBUG]	Load a row
2023-10-13	12:49:36	1609	[DEBUG]	Processing item: 1000000126723
2023-10-13	12:49:36	1609	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:36	1609	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:36	1609	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7532_506'
2023-10-13	12:49:36	1609	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:36	1609	[DEBUG]	Processing product tax
2023-10-13	12:49:36	1609	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:36	1609	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:36	1609	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:36	1609	[DEBUG]	Query for Product
2023-10-13	12:49:36	1609	[DEBUG]	Executed store
2023-10-13	12:49:36	1609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861100','1000000126723','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:36	1609	[DEBUG]	No parent found
2023-10-13	12:49:36	1609	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861100 AND customfield_value = 'stockable'
2023-10-13	12:49:36	1609	[DEBUG]	Check product language entry
2023-10-13	12:49:36	1609	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861101
2023-10-13	12:49:36	1609	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:36	1609	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126723' AND `virtuemart_product_id` != 1861101
2023-10-13	12:49:36	1609	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:36	1609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861101, '1000000126723')
2023-10-13	12:49:36	1609	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:36	1609	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv-39' AND `virtuemart_product_id` != 1861101
2023-10-13	12:49:36	1609	[DEBUG]	Query for ProductLang
2023-10-13	12:49:36	1609	[DEBUG]	Executed store
2023-10-13	12:49:36	1609	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures VTT CELSIUS XC ARTIC GTX GORTEX / BLACK/REFLEKTIV (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv-39' WHERE `virtuemart_product_id` = '1861101'
2023-10-13	12:49:36	1609	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:36	1609	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:36	1609	[DEBUG]	Process image file
2023-10-13	12:49:36	1609	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:36	1609	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:36	1609	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:36	1609	[DEBUG]	Full name target: bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:37	1609	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:37	1609	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg'
2023-10-13	12:49:37	1609	[DEBUG]	Query for Media
2023-10-13	12:49:37	1609	[DEBUG]	Executed store
2023-10-13	12:49:37	1609	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_url_thumb`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265202'
2023-10-13	12:49:37	1609	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:37	1609	[DEBUG]	Executed store
2023-10-13	12:49:37	1609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861101','265202','1')
2023-10-13	12:49:37	1609	[DEBUG]	Store product image relation
2023-10-13	12:49:37	1609	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:37	1609	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861101 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:37	1609	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:37	1609	[DEBUG]	Executed store
2023-10-13	12:49:37	1609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861101','0','315.69173630455','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:37	1609	[DEBUG]	Checking manufacturer
2023-10-13	12:49:37	1609	[DEBUG]	Load a row
2023-10-13	12:49:37	1609	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:37	1609	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:37	1609	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:37	1609	[DEBUG]	Executed store
2023-10-13	12:49:37	1609	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:37	1609	[DEBUG]	Manufacturer exists
2023-10-13	12:49:37	1609	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:37	1609	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:37	1609	[DEBUG]	Executed store
2023-10-13	12:49:37	1609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861101','239')
2023-10-13	12:49:37	1609	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:37	1609	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:37	1609	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861101 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:37	1609	[DEBUG]	Store custom available field
2023-10-13	12:49:37	1609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861101,3,'',1)
2023-10-13	12:49:37	1609	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:37	1609	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:49:37	1609	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861101 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:37	1609	[DEBUG]	Store custom available field
2023-10-13	12:49:37	1609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861101,6,'39',3)
2023-10-13	12:49:37	1609	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:37	1609	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:37	1609	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861100
2023-10-13	12:49:37	1609	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:37	1609	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\"}]|clabels=0|options={\"1861100\":[1861100,8,1,\"choisir la taille\"],\"1861101\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861100
2023-10-13	12:49:37	1609	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:37	1609	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861101
2023-10-13	12:49:37	1610	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:37	1610	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:37	1610	[DEBUG]	Use field value for field taille
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:37	1610	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:37	1610	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:37	1610	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:37	1610	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:37	1610	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:37	1610	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:37	1610	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:37	1610	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:37	1610	[DEBUG]	Use field value for field published
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:37	1610	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field override
2023-10-13	12:49:37	1610	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:37	1610	[DEBUG]	Use field value for field slug
2023-10-13	12:49:37	1610	[DEBUG]	Process line 1610
2023-10-13	12:49:37	1610	[DEBUG]	Load a row
2023-10-13	12:49:37	1610	[DEBUG]	Processing item: 1000000126730
2023-10-13	12:49:37	1610	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:37	1610	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:37	1610	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7532_506'
2023-10-13	12:49:37	1610	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:37	1610	[DEBUG]	Processing product tax
2023-10-13	12:49:37	1610	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:37	1610	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:37	1610	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:37	1610	[DEBUG]	Query for Product
2023-10-13	12:49:37	1610	[DEBUG]	Executed store
2023-10-13	12:49:37	1610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861100','1000000126730','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:37	1610	[DEBUG]	No parent found
2023-10-13	12:49:37	1610	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861100 AND customfield_value = 'stockable'
2023-10-13	12:49:37	1610	[DEBUG]	Check product language entry
2023-10-13	12:49:37	1610	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861102
2023-10-13	12:49:37	1610	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:37	1610	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126730' AND `virtuemart_product_id` != 1861102
2023-10-13	12:49:37	1610	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:37	1610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861102, '1000000126730')
2023-10-13	12:49:37	1610	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:37	1610	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv-40' AND `virtuemart_product_id` != 1861102
2023-10-13	12:49:37	1610	[DEBUG]	Query for ProductLang
2023-10-13	12:49:37	1610	[DEBUG]	Executed store
2023-10-13	12:49:37	1610	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures VTT CELSIUS XC ARTIC GTX GORTEX / BLACK/REFLEKTIV (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv-40' WHERE `virtuemart_product_id` = '1861102'
2023-10-13	12:49:37	1610	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:37	1610	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:37	1610	[DEBUG]	Process image file
2023-10-13	12:49:37	1610	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:37	1610	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:37	1610	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:37	1610	[DEBUG]	Full name target: bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:38	1610	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:38	1610	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg'
2023-10-13	12:49:38	1610	[DEBUG]	Query for Media
2023-10-13	12:49:38	1610	[DEBUG]	Executed store
2023-10-13	12:49:38	1610	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_url_thumb`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265202'
2023-10-13	12:49:38	1610	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:38	1610	[DEBUG]	Executed store
2023-10-13	12:49:38	1610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861102','265202','1')
2023-10-13	12:49:38	1610	[DEBUG]	Store product image relation
2023-10-13	12:49:38	1610	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:38	1610	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861102 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:38	1610	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:38	1610	[DEBUG]	Executed store
2023-10-13	12:49:38	1610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861102','0','315.69173630455','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:38	1610	[DEBUG]	Checking manufacturer
2023-10-13	12:49:38	1610	[DEBUG]	Load a row
2023-10-13	12:49:38	1610	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:38	1610	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:38	1610	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:38	1610	[DEBUG]	Executed store
2023-10-13	12:49:38	1610	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:38	1610	[DEBUG]	Manufacturer exists
2023-10-13	12:49:38	1610	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:38	1610	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:38	1610	[DEBUG]	Executed store
2023-10-13	12:49:38	1610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861102','239')
2023-10-13	12:49:38	1610	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:38	1610	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:38	1610	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861102 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:38	1610	[DEBUG]	Store custom available field
2023-10-13	12:49:38	1610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861102,3,'',1)
2023-10-13	12:49:38	1610	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:38	1610	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:49:38	1610	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861102 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:38	1610	[DEBUG]	Store custom available field
2023-10-13	12:49:38	1610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861102,6,'40',3)
2023-10-13	12:49:38	1610	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:38	1610	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:38	1610	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861100
2023-10-13	12:49:38	1610	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:38	1610	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\"}]|clabels=0|options={\"1861100\":[1861100,8,1,\"choisir la taille\"],\"1861101\":[\"39\"],\"1861102\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861100
2023-10-13	12:49:38	1610	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:38	1610	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861102
2023-10-13	12:49:38	1611	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:38	1611	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:38	1611	[DEBUG]	Use field value for field taille
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:38	1611	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:38	1611	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:38	1611	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:38	1611	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:38	1611	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:38	1611	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:38	1611	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:38	1611	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:38	1611	[DEBUG]	Use field value for field published
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:38	1611	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field override
2023-10-13	12:49:38	1611	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:38	1611	[DEBUG]	Use field value for field slug
2023-10-13	12:49:38	1611	[DEBUG]	Process line 1611
2023-10-13	12:49:38	1611	[DEBUG]	Load a row
2023-10-13	12:49:38	1611	[DEBUG]	Processing item: 1000000126747
2023-10-13	12:49:38	1611	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:38	1611	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:38	1611	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7532_506'
2023-10-13	12:49:38	1611	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:38	1611	[DEBUG]	Processing product tax
2023-10-13	12:49:38	1611	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:38	1611	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:38	1611	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:38	1611	[DEBUG]	Query for Product
2023-10-13	12:49:38	1611	[DEBUG]	Executed store
2023-10-13	12:49:38	1611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861100','1000000126747','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:38	1611	[DEBUG]	No parent found
2023-10-13	12:49:38	1611	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861100 AND customfield_value = 'stockable'
2023-10-13	12:49:38	1611	[DEBUG]	Check product language entry
2023-10-13	12:49:38	1611	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861103
2023-10-13	12:49:38	1611	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:38	1611	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126747' AND `virtuemart_product_id` != 1861103
2023-10-13	12:49:38	1611	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:38	1611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861103, '1000000126747')
2023-10-13	12:49:38	1611	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:38	1611	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv-41' AND `virtuemart_product_id` != 1861103
2023-10-13	12:49:38	1611	[DEBUG]	Query for ProductLang
2023-10-13	12:49:38	1611	[DEBUG]	Executed store
2023-10-13	12:49:38	1611	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures VTT CELSIUS XC ARTIC GTX GORTEX / BLACK/REFLEKTIV (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv-41' WHERE `virtuemart_product_id` = '1861103'
2023-10-13	12:49:38	1611	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:38	1611	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:38	1611	[DEBUG]	Process image file
2023-10-13	12:49:38	1611	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:38	1611	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:38	1611	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:38	1611	[DEBUG]	Full name target: bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:39	1611	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:39	1611	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg'
2023-10-13	12:49:39	1611	[DEBUG]	Query for Media
2023-10-13	12:49:39	1611	[DEBUG]	Executed store
2023-10-13	12:49:39	1611	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_url_thumb`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265202'
2023-10-13	12:49:39	1611	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:39	1611	[DEBUG]	Executed store
2023-10-13	12:49:39	1611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861103','265202','1')
2023-10-13	12:49:39	1611	[DEBUG]	Store product image relation
2023-10-13	12:49:39	1611	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:39	1611	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861103 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:39	1611	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:39	1611	[DEBUG]	Executed store
2023-10-13	12:49:39	1611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861103','0','315.69173630455','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:39	1611	[DEBUG]	Checking manufacturer
2023-10-13	12:49:39	1611	[DEBUG]	Load a row
2023-10-13	12:49:39	1611	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:39	1611	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:39	1611	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:39	1611	[DEBUG]	Executed store
2023-10-13	12:49:39	1611	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:39	1611	[DEBUG]	Manufacturer exists
2023-10-13	12:49:39	1611	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:39	1611	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:39	1611	[DEBUG]	Executed store
2023-10-13	12:49:39	1611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861103','239')
2023-10-13	12:49:39	1611	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:39	1611	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:39	1611	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861103 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:39	1611	[DEBUG]	Store custom available field
2023-10-13	12:49:39	1611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861103,3,'',1)
2023-10-13	12:49:39	1611	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:39	1611	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:49:39	1611	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861103 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:39	1611	[DEBUG]	Store custom available field
2023-10-13	12:49:39	1611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861103,6,'41',3)
2023-10-13	12:49:39	1611	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:39	1611	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:39	1611	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861100
2023-10-13	12:49:39	1611	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:39	1611	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1861100\":[1861100,8,1,\"choisir la taille\"],\"1861101\":[\"39\"],\"1861102\":[\"40\"],\"1861103\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861100
2023-10-13	12:49:39	1611	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:39	1611	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861103
2023-10-13	12:49:40	1612	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:40	1612	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:40	1612	[DEBUG]	Use field value for field taille
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:40	1612	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:40	1612	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:40	1612	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:40	1612	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:40	1612	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:40	1612	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:40	1612	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:40	1612	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:40	1612	[DEBUG]	Use field value for field published
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:40	1612	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field override
2023-10-13	12:49:40	1612	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:40	1612	[DEBUG]	Use field value for field slug
2023-10-13	12:49:40	1612	[DEBUG]	Process line 1612
2023-10-13	12:49:40	1612	[DEBUG]	Load a row
2023-10-13	12:49:40	1612	[DEBUG]	Processing item: 1000000126754
2023-10-13	12:49:40	1612	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:40	1612	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:40	1612	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7532_506'
2023-10-13	12:49:40	1612	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:40	1612	[DEBUG]	Processing product tax
2023-10-13	12:49:40	1612	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:40	1612	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:40	1612	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:40	1612	[DEBUG]	Query for Product
2023-10-13	12:49:40	1612	[DEBUG]	Executed store
2023-10-13	12:49:40	1612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861100','1000000126754','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:40	1612	[DEBUG]	No parent found
2023-10-13	12:49:40	1612	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861100 AND customfield_value = 'stockable'
2023-10-13	12:49:40	1612	[DEBUG]	Check product language entry
2023-10-13	12:49:40	1612	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861104
2023-10-13	12:49:40	1612	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:40	1612	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126754' AND `virtuemart_product_id` != 1861104
2023-10-13	12:49:40	1612	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:40	1612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861104, '1000000126754')
2023-10-13	12:49:40	1612	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:40	1612	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv-42' AND `virtuemart_product_id` != 1861104
2023-10-13	12:49:40	1612	[DEBUG]	Query for ProductLang
2023-10-13	12:49:40	1612	[DEBUG]	Executed store
2023-10-13	12:49:40	1612	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures VTT CELSIUS XC ARTIC GTX GORTEX / BLACK/REFLEKTIV (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv-42' WHERE `virtuemart_product_id` = '1861104'
2023-10-13	12:49:40	1612	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:40	1612	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:40	1612	[DEBUG]	Process image file
2023-10-13	12:49:40	1612	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:40	1612	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:40	1612	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:40	1612	[DEBUG]	Full name target: bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:41	1612	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:41	1612	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg'
2023-10-13	12:49:41	1612	[DEBUG]	Query for Media
2023-10-13	12:49:41	1612	[DEBUG]	Executed store
2023-10-13	12:49:41	1612	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_url_thumb`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265202'
2023-10-13	12:49:41	1612	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:41	1612	[DEBUG]	Executed store
2023-10-13	12:49:41	1612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861104','265202','1')
2023-10-13	12:49:41	1612	[DEBUG]	Store product image relation
2023-10-13	12:49:41	1612	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:41	1612	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861104 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:41	1612	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:41	1612	[DEBUG]	Executed store
2023-10-13	12:49:41	1612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861104','0','315.69173630455','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:41	1612	[DEBUG]	Checking manufacturer
2023-10-13	12:49:41	1612	[DEBUG]	Load a row
2023-10-13	12:49:41	1612	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:41	1612	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:41	1612	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:41	1612	[DEBUG]	Executed store
2023-10-13	12:49:41	1612	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:41	1612	[DEBUG]	Manufacturer exists
2023-10-13	12:49:41	1612	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:41	1612	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:41	1612	[DEBUG]	Executed store
2023-10-13	12:49:41	1612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861104','239')
2023-10-13	12:49:41	1612	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:41	1612	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:41	1612	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861104 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:41	1612	[DEBUG]	Store custom available field
2023-10-13	12:49:41	1612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861104,3,'',1)
2023-10-13	12:49:41	1612	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:41	1612	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:49:41	1612	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861104 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:41	1612	[DEBUG]	Store custom available field
2023-10-13	12:49:41	1612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861104,6,'42',3)
2023-10-13	12:49:41	1612	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:41	1612	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:41	1612	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861100
2023-10-13	12:49:41	1612	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:41	1612	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1861100\":[1861100,8,1,\"choisir la taille\"],\"1861101\":[\"39\"],\"1861102\":[\"40\"],\"1861103\":[\"41\"],\"1861104\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861100
2023-10-13	12:49:41	1612	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:41	1612	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861104
2023-10-13	12:49:41	1613	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:41	1613	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:41	1613	[DEBUG]	Use field value for field taille
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:41	1613	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:41	1613	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:41	1613	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:41	1613	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:41	1613	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:41	1613	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:41	1613	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:41	1613	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:41	1613	[DEBUG]	Use field value for field published
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:41	1613	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field override
2023-10-13	12:49:41	1613	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:41	1613	[DEBUG]	Use field value for field slug
2023-10-13	12:49:41	1613	[DEBUG]	Process line 1613
2023-10-13	12:49:41	1613	[DEBUG]	Load a row
2023-10-13	12:49:41	1613	[DEBUG]	Processing item: 1000000126761
2023-10-13	12:49:41	1613	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:41	1613	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:41	1613	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7532_506'
2023-10-13	12:49:41	1613	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:41	1613	[DEBUG]	Processing product tax
2023-10-13	12:49:41	1613	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:41	1613	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:41	1613	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:41	1613	[DEBUG]	Query for Product
2023-10-13	12:49:41	1613	[DEBUG]	Executed store
2023-10-13	12:49:41	1613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861100','1000000126761','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:41	1613	[DEBUG]	No parent found
2023-10-13	12:49:41	1613	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861100 AND customfield_value = 'stockable'
2023-10-13	12:49:41	1613	[DEBUG]	Check product language entry
2023-10-13	12:49:41	1613	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861105
2023-10-13	12:49:41	1613	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:41	1613	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126761' AND `virtuemart_product_id` != 1861105
2023-10-13	12:49:41	1613	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:41	1613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861105, '1000000126761')
2023-10-13	12:49:41	1613	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:41	1613	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv-43' AND `virtuemart_product_id` != 1861105
2023-10-13	12:49:41	1613	[DEBUG]	Query for ProductLang
2023-10-13	12:49:41	1613	[DEBUG]	Executed store
2023-10-13	12:49:41	1613	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures VTT CELSIUS XC ARTIC GTX GORTEX / BLACK/REFLEKTIV (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv-43' WHERE `virtuemart_product_id` = '1861105'
2023-10-13	12:49:41	1613	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:41	1613	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:41	1613	[DEBUG]	Process image file
2023-10-13	12:49:41	1613	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:41	1613	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:41	1613	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:41	1613	[DEBUG]	Full name target: bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:42	1613	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:42	1613	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg'
2023-10-13	12:49:42	1613	[DEBUG]	Query for Media
2023-10-13	12:49:42	1613	[DEBUG]	Executed store
2023-10-13	12:49:42	1613	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_url_thumb`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265202'
2023-10-13	12:49:42	1613	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:42	1613	[DEBUG]	Executed store
2023-10-13	12:49:42	1613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861105','265202','1')
2023-10-13	12:49:42	1613	[DEBUG]	Store product image relation
2023-10-13	12:49:42	1613	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:42	1613	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861105 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:42	1613	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:42	1613	[DEBUG]	Executed store
2023-10-13	12:49:42	1613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861105','0','315.69173630455','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:42	1613	[DEBUG]	Checking manufacturer
2023-10-13	12:49:42	1613	[DEBUG]	Load a row
2023-10-13	12:49:42	1613	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:42	1613	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:42	1613	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:42	1613	[DEBUG]	Executed store
2023-10-13	12:49:42	1613	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:42	1613	[DEBUG]	Manufacturer exists
2023-10-13	12:49:42	1613	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:42	1613	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:42	1613	[DEBUG]	Executed store
2023-10-13	12:49:42	1613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861105','239')
2023-10-13	12:49:42	1613	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:42	1613	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:42	1613	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861105 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:42	1613	[DEBUG]	Store custom available field
2023-10-13	12:49:42	1613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861105,3,'',1)
2023-10-13	12:49:42	1613	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:42	1613	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:49:42	1613	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861105 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:42	1613	[DEBUG]	Store custom available field
2023-10-13	12:49:42	1613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861105,6,'43',3)
2023-10-13	12:49:42	1613	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:42	1613	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:42	1613	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861100
2023-10-13	12:49:42	1613	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:42	1613	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1861100\":[1861100,8,1,\"choisir la taille\"],\"1861101\":[\"39\"],\"1861102\":[\"40\"],\"1861103\":[\"41\"],\"1861104\":[\"42\"],\"1861105\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861100
2023-10-13	12:49:42	1613	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:42	1613	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861105
2023-10-13	12:49:42	1614	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:42	1614	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:42	1614	[DEBUG]	Use field value for field taille
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:42	1614	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:42	1614	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:42	1614	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:42	1614	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:42	1614	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:42	1614	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:42	1614	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:42	1614	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:42	1614	[DEBUG]	Use field value for field published
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:42	1614	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field override
2023-10-13	12:49:42	1614	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:42	1614	[DEBUG]	Use field value for field slug
2023-10-13	12:49:42	1614	[DEBUG]	Process line 1614
2023-10-13	12:49:42	1614	[DEBUG]	Load a row
2023-10-13	12:49:42	1614	[DEBUG]	Processing item: 1000000126778
2023-10-13	12:49:42	1614	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:42	1614	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:42	1614	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7532_506'
2023-10-13	12:49:42	1614	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:42	1614	[DEBUG]	Processing product tax
2023-10-13	12:49:42	1614	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:42	1614	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:42	1614	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:42	1614	[DEBUG]	Query for Product
2023-10-13	12:49:42	1614	[DEBUG]	Executed store
2023-10-13	12:49:42	1614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861100','1000000126778','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:42	1614	[DEBUG]	No parent found
2023-10-13	12:49:42	1614	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861100 AND customfield_value = 'stockable'
2023-10-13	12:49:42	1614	[DEBUG]	Check product language entry
2023-10-13	12:49:42	1614	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861106
2023-10-13	12:49:42	1614	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:42	1614	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126778' AND `virtuemart_product_id` != 1861106
2023-10-13	12:49:42	1614	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:42	1614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861106, '1000000126778')
2023-10-13	12:49:42	1614	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:42	1614	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv-44' AND `virtuemart_product_id` != 1861106
2023-10-13	12:49:42	1614	[DEBUG]	Query for ProductLang
2023-10-13	12:49:42	1614	[DEBUG]	Executed store
2023-10-13	12:49:42	1614	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures VTT CELSIUS XC ARTIC GTX GORTEX / BLACK/REFLEKTIV (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv-44' WHERE `virtuemart_product_id` = '1861106'
2023-10-13	12:49:42	1614	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:42	1614	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:42	1614	[DEBUG]	Process image file
2023-10-13	12:49:42	1614	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:42	1614	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:42	1614	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:42	1614	[DEBUG]	Full name target: bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:43	1614	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:43	1614	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg'
2023-10-13	12:49:43	1614	[DEBUG]	Query for Media
2023-10-13	12:49:43	1614	[DEBUG]	Executed store
2023-10-13	12:49:43	1614	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_url_thumb`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265202'
2023-10-13	12:49:43	1614	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:43	1614	[DEBUG]	Executed store
2023-10-13	12:49:43	1614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861106','265202','1')
2023-10-13	12:49:43	1614	[DEBUG]	Store product image relation
2023-10-13	12:49:43	1614	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:43	1614	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861106 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:43	1614	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:43	1614	[DEBUG]	Executed store
2023-10-13	12:49:43	1614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861106','0','315.69173630455','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:43	1614	[DEBUG]	Checking manufacturer
2023-10-13	12:49:43	1614	[DEBUG]	Load a row
2023-10-13	12:49:43	1614	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:43	1614	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:43	1614	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:43	1614	[DEBUG]	Executed store
2023-10-13	12:49:43	1614	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:43	1614	[DEBUG]	Manufacturer exists
2023-10-13	12:49:43	1614	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:43	1614	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:43	1614	[DEBUG]	Executed store
2023-10-13	12:49:43	1614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861106','239')
2023-10-13	12:49:43	1614	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:43	1614	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:43	1614	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861106 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:43	1614	[DEBUG]	Store custom available field
2023-10-13	12:49:43	1614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861106,3,'',1)
2023-10-13	12:49:43	1614	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:43	1614	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:49:43	1614	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861106 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:43	1614	[DEBUG]	Store custom available field
2023-10-13	12:49:43	1614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861106,6,'44',3)
2023-10-13	12:49:43	1614	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:43	1614	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:43	1614	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861100
2023-10-13	12:49:43	1614	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:43	1614	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1861100\":[1861100,8,1,\"choisir la taille\"],\"1861101\":[\"39\"],\"1861102\":[\"40\"],\"1861103\":[\"41\"],\"1861104\":[\"42\"],\"1861105\":[\"43\"],\"1861106\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861100
2023-10-13	12:49:43	1614	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:43	1614	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861106
2023-10-13	12:49:43	1615	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:43	1615	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:43	1615	[DEBUG]	Use field value for field taille
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:43	1615	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:43	1615	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:43	1615	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:43	1615	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:43	1615	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:43	1615	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:43	1615	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:43	1615	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:43	1615	[DEBUG]	Use field value for field published
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:43	1615	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field override
2023-10-13	12:49:43	1615	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:43	1615	[DEBUG]	Use field value for field slug
2023-10-13	12:49:43	1615	[DEBUG]	Process line 1615
2023-10-13	12:49:43	1615	[DEBUG]	Load a row
2023-10-13	12:49:43	1615	[DEBUG]	Processing item: 1000000126785
2023-10-13	12:49:43	1615	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:43	1615	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:43	1615	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7532_506'
2023-10-13	12:49:43	1615	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:43	1615	[DEBUG]	Processing product tax
2023-10-13	12:49:43	1615	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:43	1615	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:43	1615	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:43	1615	[DEBUG]	Query for Product
2023-10-13	12:49:43	1615	[DEBUG]	Executed store
2023-10-13	12:49:43	1615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861100','1000000126785','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:43	1615	[DEBUG]	No parent found
2023-10-13	12:49:43	1615	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861100 AND customfield_value = 'stockable'
2023-10-13	12:49:43	1615	[DEBUG]	Check product language entry
2023-10-13	12:49:43	1615	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861107
2023-10-13	12:49:43	1615	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:43	1615	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126785' AND `virtuemart_product_id` != 1861107
2023-10-13	12:49:43	1615	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:43	1615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861107, '1000000126785')
2023-10-13	12:49:43	1615	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:43	1615	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv-45' AND `virtuemart_product_id` != 1861107
2023-10-13	12:49:43	1615	[DEBUG]	Query for ProductLang
2023-10-13	12:49:43	1615	[DEBUG]	Executed store
2023-10-13	12:49:43	1615	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures VTT CELSIUS XC ARTIC GTX GORTEX / BLACK/REFLEKTIV (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-reflektiv-45' WHERE `virtuemart_product_id` = '1861107'
2023-10-13	12:49:43	1615	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:43	1615	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:43	1615	[DEBUG]	Process image file
2023-10-13	12:49:43	1615	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:49:43	1615	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:43	1615	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:43	1615	[DEBUG]	Full name target: bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg
2023-10-13	12:49:44	1615	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:44	1615	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg'
2023-10-13	12:49:44	1615	[DEBUG]	Query for Media
2023-10-13	12:49:44	1615	[DEBUG]	Executed store
2023-10-13	12:49:44	1615	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_url_thumb`='bcprisme/34932_chaussures_vtt_celsius_xc_artic_gtx_gortex.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265202'
2023-10-13	12:49:44	1615	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:44	1615	[DEBUG]	Executed store
2023-10-13	12:49:44	1615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861107','265202','1')
2023-10-13	12:49:44	1615	[DEBUG]	Store product image relation
2023-10-13	12:49:44	1615	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:44	1615	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861107 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:44	1615	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:44	1615	[DEBUG]	Executed store
2023-10-13	12:49:44	1615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861107','0','315.69173630455','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:44	1615	[DEBUG]	Checking manufacturer
2023-10-13	12:49:44	1615	[DEBUG]	Load a row
2023-10-13	12:49:44	1615	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:44	1615	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:44	1615	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:44	1615	[DEBUG]	Executed store
2023-10-13	12:49:44	1615	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:44	1615	[DEBUG]	Manufacturer exists
2023-10-13	12:49:44	1615	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:44	1615	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:44	1615	[DEBUG]	Executed store
2023-10-13	12:49:44	1615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861107','239')
2023-10-13	12:49:44	1615	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:44	1615	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:44	1615	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861107 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:44	1615	[DEBUG]	Store custom available field
2023-10-13	12:49:44	1615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861107,3,'',1)
2023-10-13	12:49:44	1615	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:44	1615	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:49:44	1615	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861107 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:44	1615	[DEBUG]	Store custom available field
2023-10-13	12:49:44	1615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861107,6,'45',3)
2023-10-13	12:49:44	1615	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:44	1615	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:44	1615	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861100
2023-10-13	12:49:44	1615	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:44	1615	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1861100\":[1861100,8,1,\"choisir la taille\"],\"1861101\":[\"39\"],\"1861102\":[\"40\"],\"1861103\":[\"41\"],\"1861104\":[\"42\"],\"1861105\":[\"43\"],\"1861106\":[\"44\"],\"1861107\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861100
2023-10-13	12:49:44	1615	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:44	1615	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861107
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:44	1616	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field taille
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field category_path
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:44	1616	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:44	1616	[DEBUG]	Use default value for field file_url
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:49:44	1616	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:44	1616	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field product_weight
2023-10-13	12:49:44	1616	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:44	1616	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:44	1616	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field published
2023-10-13	12:49:44	1616	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:44	1616	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field custom_title
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field custom_param
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field override
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field public_price
2023-10-13	12:49:44	1616	[DEBUG]	Use field value for field slug
2023-10-13	12:49:44	1616	[DEBUG]	Process line 1616
2023-10-13	12:49:44	1616	[DEBUG]	Load a row
2023-10-13	12:49:44	1616	[DEBUG]	Processing item: A_7532_776
2023-10-13	12:49:44	1616	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:44	1616	[DEBUG]	Processing product tax
2023-10-13	12:49:44	1616	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:44	1616	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:44	1616	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:44	1616	[DEBUG]	Query for Product
2023-10-13	12:49:44	1616	[DEBUG]	Executed store
2023-10-13	12:49:44	1616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7532_776','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:44	1616	[DEBUG]	Check product language entry
2023-10-13	12:49:44	1616	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861108
2023-10-13	12:49:44	1616	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:44	1616	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7532_776' AND `virtuemart_product_id` != 1861108
2023-10-13	12:49:44	1616	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:44	1616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861108, 'A_7532_776')
2023-10-13	12:49:44	1616	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:44	1616	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-dark-grey' AND `virtuemart_product_id` != 1861108
2023-10-13	12:49:44	1616	[DEBUG]	Query for ProductLang
2023-10-13	12:49:44	1616	[DEBUG]	Executed store
2023-10-13	12:49:44	1616	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='CHAUSSURES VTT EN GORTEX, THERMO RESISTANT, WATER RESISTANT, WIND RESISTANT<br>N° art fourn : 80204037',`product_name`='NORTHWAVE Chaussures VTT CELSIUS XC ARTIC GTX GORTEX / Black Dark Grey',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-dark-grey' WHERE `virtuemart_product_id` = '1861108'
2023-10-13	12:49:44	1616	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:44	1616	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861108 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:44	1616	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:44	1616	[DEBUG]	Executed store
2023-10-13	12:49:44	1616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861108','0','315.69173630455','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:44	1616	[DEBUG]	Checking manufacturer
2023-10-13	12:49:44	1616	[DEBUG]	Load a row
2023-10-13	12:49:44	1616	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:44	1616	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:44	1616	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:44	1616	[DEBUG]	Executed store
2023-10-13	12:49:44	1616	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:44	1616	[DEBUG]	Manufacturer exists
2023-10-13	12:49:44	1616	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:44	1616	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:44	1616	[DEBUG]	Executed store
2023-10-13	12:49:44	1616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861108','239')
2023-10-13	12:49:44	1616	[DEBUG]	Find the custom field ID
2023-10-13	12:49:44	1616	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:49:44	1616	[DEBUG]	No custom field ID found
2023-10-13	12:49:44	1616	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:44	1616	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:49:44	1616	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861108 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:44	1616	[DEBUG]	Store custom available field
2023-10-13	12:49:44	1616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861108,3,'179.400277777778',1)
2023-10-13	12:49:44	1616	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:44	1616	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:49:44	1616	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861108 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:44	1616	[DEBUG]	Store custom available field
2023-10-13	12:49:44	1616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861108,6,'choisir la taille',3)
2023-10-13	12:49:44	1616	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:44	1616	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:49:44	1616	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:49:44	1616	[DEBUG]	Find the multi variant product entry
2023-10-13	12:49:44	1616	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861108 AND `virtuemart_custom_id` = 8
2023-10-13	12:49:44	1616	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:49:44	1616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861108,8,1)
2023-10-13	12:49:44	1616	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:44	1616	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861108\":[1861108,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861108
2023-10-13	12:49:44	1616	[DEBUG]	Checking category
2023-10-13	12:49:44	1616	[DEBUG]	Get the existing categories for the product
2023-10-13	12:49:44	1616	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861108
2023-10-13	12:49:44	1616	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:49:44	1616	[DEBUG]	Executed store
2023-10-13	12:49:44	1616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861108','7331')
2023-10-13	12:49:44	1616	[DEBUG]	Delete leftover product categories
2023-10-13	12:49:44	1616	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861108 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:49:44	1616	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:44	1616	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861108
2023-10-13	12:49:44	1617	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:44	1617	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:44	1617	[DEBUG]	Use field value for field taille
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:44	1617	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:44	1617	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:44	1617	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field file_url
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:44	1617	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:44	1617	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:44	1617	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:44	1617	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:44	1617	[DEBUG]	Use field value for field published
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:44	1617	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field override
2023-10-13	12:49:44	1617	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:44	1617	[DEBUG]	Use field value for field slug
2023-10-13	12:49:44	1617	[DEBUG]	Process line 1617
2023-10-13	12:49:44	1617	[DEBUG]	Load a row
2023-10-13	12:49:44	1617	[DEBUG]	Processing item: 1000000234183
2023-10-13	12:49:44	1617	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:44	1617	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:44	1617	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7532_776'
2023-10-13	12:49:44	1617	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:44	1617	[DEBUG]	Processing product tax
2023-10-13	12:49:44	1617	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:44	1617	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:44	1617	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:44	1617	[DEBUG]	Query for Product
2023-10-13	12:49:44	1617	[DEBUG]	Executed store
2023-10-13	12:49:44	1617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861108','1000000234183','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:44	1617	[DEBUG]	No parent found
2023-10-13	12:49:44	1617	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861108 AND customfield_value = 'stockable'
2023-10-13	12:49:44	1617	[DEBUG]	Check product language entry
2023-10-13	12:49:44	1617	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861109
2023-10-13	12:49:44	1617	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:44	1617	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000234183' AND `virtuemart_product_id` != 1861109
2023-10-13	12:49:44	1617	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:44	1617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861109, '1000000234183')
2023-10-13	12:49:44	1617	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:44	1617	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-dark-grey-44' AND `virtuemart_product_id` != 1861109
2023-10-13	12:49:44	1617	[DEBUG]	Query for ProductLang
2023-10-13	12:49:44	1617	[DEBUG]	Executed store
2023-10-13	12:49:44	1617	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures VTT CELSIUS XC ARTIC GTX GORTEX / Black Dark Grey (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-vtt-celsius-xc-artic-gtx-gortex-black-dark-grey-44' WHERE `virtuemart_product_id` = '1861109'
2023-10-13	12:49:44	1617	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:44	1617	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861109 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:44	1617	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:44	1617	[DEBUG]	Executed store
2023-10-13	12:49:44	1617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861109','0','315.69173630455','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:44	1617	[DEBUG]	Checking manufacturer
2023-10-13	12:49:44	1617	[DEBUG]	Load a row
2023-10-13	12:49:44	1617	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:44	1617	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:44	1617	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:44	1617	[DEBUG]	Executed store
2023-10-13	12:49:44	1617	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:44	1617	[DEBUG]	Manufacturer exists
2023-10-13	12:49:44	1617	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:44	1617	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:44	1617	[DEBUG]	Executed store
2023-10-13	12:49:44	1617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861109','239')
2023-10-13	12:49:44	1617	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:44	1617	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:44	1617	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861109 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:44	1617	[DEBUG]	Store custom available field
2023-10-13	12:49:44	1617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861109,3,'',1)
2023-10-13	12:49:44	1617	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:44	1617	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:49:44	1617	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861109 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:44	1617	[DEBUG]	Store custom available field
2023-10-13	12:49:44	1617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861109,6,'44',3)
2023-10-13	12:49:44	1617	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:44	1617	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:44	1617	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861108
2023-10-13	12:49:44	1617	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:44	1617	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\"}]|clabels=0|options={\"1861108\":[1861108,8,1,\"choisir la taille\"],\"1861109\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861108
2023-10-13	12:49:44	1617	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:44	1617	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861109
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:44	1618	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field taille
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field category_path
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:44	1618	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:49:44	1618	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:44	1618	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field product_weight
2023-10-13	12:49:44	1618	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:44	1618	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:44	1618	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field published
2023-10-13	12:49:44	1618	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:44	1618	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field custom_title
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field custom_param
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field override
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field public_price
2023-10-13	12:49:44	1618	[DEBUG]	Use field value for field slug
2023-10-13	12:49:44	1618	[DEBUG]	Process line 1618
2023-10-13	12:49:44	1618	[DEBUG]	Load a row
2023-10-13	12:49:44	1618	[DEBUG]	Processing item: A_7533_506
2023-10-13	12:49:44	1618	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:44	1618	[DEBUG]	Processing product tax
2023-10-13	12:49:44	1618	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:44	1618	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:44	1618	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:44	1618	[DEBUG]	Query for Product
2023-10-13	12:49:44	1618	[DEBUG]	Executed store
2023-10-13	12:49:44	1618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7533_506','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:44	1618	[DEBUG]	Check product language entry
2023-10-13	12:49:44	1618	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861110
2023-10-13	12:49:44	1618	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:44	1618	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7533_506' AND `virtuemart_product_id` != 1861110
2023-10-13	12:49:44	1618	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:44	1618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861110, 'A_7533_506')
2023-10-13	12:49:44	1618	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:44	1618	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv' AND `virtuemart_product_id` != 1861110
2023-10-13	12:49:44	1618	[DEBUG]	Query for ProductLang
2023-10-13	12:49:44	1618	[DEBUG]	Executed store
2023-10-13	12:49:44	1618	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='CHAUSSURES VTT EN GORTEX, THERMO RESISTANT, WATER RESISTANT, WIND RESISTANT<br>N° art fourn : 80204031',`product_name`='NORTHWAVE Chaussures Route CELSIUS R ARTIC GTX GORTEX  / BLACK/REFLEKTIV',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv' WHERE `virtuemart_product_id` = '1861110'
2023-10-13	12:49:44	1618	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:44	1618	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:44	1618	[DEBUG]	Process image file
2023-10-13	12:49:44	1618	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:44	1618	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:44	1618	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:44	1618	[DEBUG]	Full name target: bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:45	1618	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:45	1618	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg'
2023-10-13	12:49:45	1618	[DEBUG]	Query for Media
2023-10-13	12:49:45	1618	[DEBUG]	Executed store
2023-10-13	12:49:45	1618	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_url_thumb`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265091'
2023-10-13	12:49:45	1618	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:45	1618	[DEBUG]	Executed store
2023-10-13	12:49:45	1618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861110','265091','1')
2023-10-13	12:49:45	1618	[DEBUG]	Store product image relation
2023-10-13	12:49:45	1618	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:45	1618	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861110 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:45	1618	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:45	1618	[DEBUG]	Executed store
2023-10-13	12:49:45	1618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861110','0','306.406685236769','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:45	1618	[DEBUG]	Checking manufacturer
2023-10-13	12:49:45	1618	[DEBUG]	Load a row
2023-10-13	12:49:45	1618	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:45	1618	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:45	1618	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:45	1618	[DEBUG]	Executed store
2023-10-13	12:49:45	1618	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:45	1618	[DEBUG]	Manufacturer exists
2023-10-13	12:49:45	1618	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:45	1618	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:45	1618	[DEBUG]	Executed store
2023-10-13	12:49:45	1618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861110','239')
2023-10-13	12:49:45	1618	[DEBUG]	Find the custom field ID
2023-10-13	12:49:45	1618	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:49:45	1618	[DEBUG]	No custom field ID found
2023-10-13	12:49:45	1618	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:45	1618	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:49:45	1618	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861110 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:45	1618	[DEBUG]	Store custom available field
2023-10-13	12:49:45	1618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861110,3,'179.400277777778',1)
2023-10-13	12:49:45	1618	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:45	1618	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:49:45	1618	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861110 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:45	1618	[DEBUG]	Store custom available field
2023-10-13	12:49:45	1618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861110,6,'choisir la taille',3)
2023-10-13	12:49:45	1618	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:45	1618	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:49:45	1618	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:49:45	1618	[DEBUG]	Find the multi variant product entry
2023-10-13	12:49:45	1618	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861110 AND `virtuemart_custom_id` = 8
2023-10-13	12:49:45	1618	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:49:45	1618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861110,8,1)
2023-10-13	12:49:45	1618	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:45	1618	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861110\":[1861110,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861110
2023-10-13	12:49:45	1618	[DEBUG]	Checking category
2023-10-13	12:49:45	1618	[DEBUG]	Get the existing categories for the product
2023-10-13	12:49:45	1618	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861110
2023-10-13	12:49:45	1618	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:49:45	1618	[DEBUG]	Executed store
2023-10-13	12:49:45	1618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861110','7331')
2023-10-13	12:49:45	1618	[DEBUG]	Delete leftover product categories
2023-10-13	12:49:45	1618	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861110 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:49:45	1618	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:45	1618	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861110
2023-10-13	12:49:45	1619	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:45	1619	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:45	1619	[DEBUG]	Use field value for field taille
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:45	1619	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:45	1619	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:45	1619	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:45	1619	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:45	1619	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:45	1619	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:45	1619	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:45	1619	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:45	1619	[DEBUG]	Use field value for field published
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:45	1619	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field override
2023-10-13	12:49:45	1619	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:45	1619	[DEBUG]	Use field value for field slug
2023-10-13	12:49:45	1619	[DEBUG]	Process line 1619
2023-10-13	12:49:45	1619	[DEBUG]	Load a row
2023-10-13	12:49:45	1619	[DEBUG]	Processing item: 1000000126792
2023-10-13	12:49:45	1619	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:45	1619	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:45	1619	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7533_506'
2023-10-13	12:49:45	1619	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:45	1619	[DEBUG]	Processing product tax
2023-10-13	12:49:45	1619	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:45	1619	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:45	1619	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:45	1619	[DEBUG]	Query for Product
2023-10-13	12:49:45	1619	[DEBUG]	Executed store
2023-10-13	12:49:45	1619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861110','1000000126792','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:45	1619	[DEBUG]	No parent found
2023-10-13	12:49:45	1619	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861110 AND customfield_value = 'stockable'
2023-10-13	12:49:45	1619	[DEBUG]	Check product language entry
2023-10-13	12:49:45	1619	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861111
2023-10-13	12:49:45	1619	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:45	1619	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126792' AND `virtuemart_product_id` != 1861111
2023-10-13	12:49:45	1619	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:45	1619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861111, '1000000126792')
2023-10-13	12:49:45	1619	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:45	1619	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv-41' AND `virtuemart_product_id` != 1861111
2023-10-13	12:49:45	1619	[DEBUG]	Query for ProductLang
2023-10-13	12:49:45	1619	[DEBUG]	Executed store
2023-10-13	12:49:45	1619	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures Route CELSIUS R ARTIC GTX GORTEX  / BLACK/REFLEKTIV (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv-41' WHERE `virtuemart_product_id` = '1861111'
2023-10-13	12:49:45	1619	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:45	1619	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:45	1619	[DEBUG]	Process image file
2023-10-13	12:49:45	1619	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:45	1619	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:45	1619	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:45	1619	[DEBUG]	Full name target: bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:46	1619	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:46	1619	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg'
2023-10-13	12:49:46	1619	[DEBUG]	Query for Media
2023-10-13	12:49:46	1619	[DEBUG]	Executed store
2023-10-13	12:49:46	1619	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_url_thumb`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265091'
2023-10-13	12:49:46	1619	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:46	1619	[DEBUG]	Executed store
2023-10-13	12:49:46	1619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861111','265091','1')
2023-10-13	12:49:46	1619	[DEBUG]	Store product image relation
2023-10-13	12:49:46	1619	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:46	1619	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861111 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:46	1619	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:46	1619	[DEBUG]	Executed store
2023-10-13	12:49:46	1619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861111','0','306.406685236769','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:46	1619	[DEBUG]	Checking manufacturer
2023-10-13	12:49:46	1619	[DEBUG]	Load a row
2023-10-13	12:49:46	1619	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:46	1619	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:46	1619	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:46	1619	[DEBUG]	Executed store
2023-10-13	12:49:46	1619	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:46	1619	[DEBUG]	Manufacturer exists
2023-10-13	12:49:46	1619	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:46	1619	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:46	1619	[DEBUG]	Executed store
2023-10-13	12:49:46	1619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861111','239')
2023-10-13	12:49:46	1619	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:46	1619	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:46	1619	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861111 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:46	1619	[DEBUG]	Store custom available field
2023-10-13	12:49:46	1619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861111,3,'',1)
2023-10-13	12:49:46	1619	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:46	1619	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:49:46	1619	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861111 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:46	1619	[DEBUG]	Store custom available field
2023-10-13	12:49:46	1619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861111,6,'41',3)
2023-10-13	12:49:46	1619	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:46	1619	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:46	1619	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861110
2023-10-13	12:49:46	1619	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:46	1619	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n41\"}]|clabels=0|options={\"1861110\":[1861110,8,1,\"choisir la taille\"],\"1861111\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861110
2023-10-13	12:49:46	1619	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:46	1619	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861111
2023-10-13	12:49:46	1620	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:46	1620	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:46	1620	[DEBUG]	Use field value for field taille
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:46	1620	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:46	1620	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:46	1620	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:46	1620	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:46	1620	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:46	1620	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:46	1620	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:46	1620	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:46	1620	[DEBUG]	Use field value for field published
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:46	1620	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field override
2023-10-13	12:49:46	1620	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:46	1620	[DEBUG]	Use field value for field slug
2023-10-13	12:49:46	1620	[DEBUG]	Process line 1620
2023-10-13	12:49:46	1620	[DEBUG]	Load a row
2023-10-13	12:49:46	1620	[DEBUG]	Processing item: 1000000126808
2023-10-13	12:49:46	1620	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:46	1620	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:46	1620	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7533_506'
2023-10-13	12:49:46	1620	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:46	1620	[DEBUG]	Processing product tax
2023-10-13	12:49:46	1620	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:46	1620	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:46	1620	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:46	1620	[DEBUG]	Query for Product
2023-10-13	12:49:46	1620	[DEBUG]	Executed store
2023-10-13	12:49:46	1620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861110','1000000126808','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:46	1620	[DEBUG]	No parent found
2023-10-13	12:49:46	1620	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861110 AND customfield_value = 'stockable'
2023-10-13	12:49:46	1620	[DEBUG]	Check product language entry
2023-10-13	12:49:46	1620	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861112
2023-10-13	12:49:46	1620	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:46	1620	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126808' AND `virtuemart_product_id` != 1861112
2023-10-13	12:49:46	1620	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:46	1620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861112, '1000000126808')
2023-10-13	12:49:46	1620	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:46	1620	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv-42' AND `virtuemart_product_id` != 1861112
2023-10-13	12:49:46	1620	[DEBUG]	Query for ProductLang
2023-10-13	12:49:46	1620	[DEBUG]	Executed store
2023-10-13	12:49:46	1620	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures Route CELSIUS R ARTIC GTX GORTEX  / BLACK/REFLEKTIV (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv-42' WHERE `virtuemart_product_id` = '1861112'
2023-10-13	12:49:46	1620	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:46	1620	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:46	1620	[DEBUG]	Process image file
2023-10-13	12:49:46	1620	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:46	1620	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:46	1620	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:46	1620	[DEBUG]	Full name target: bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:47	1620	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:47	1620	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg'
2023-10-13	12:49:47	1620	[DEBUG]	Query for Media
2023-10-13	12:49:47	1620	[DEBUG]	Executed store
2023-10-13	12:49:47	1620	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_url_thumb`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265091'
2023-10-13	12:49:47	1620	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:47	1620	[DEBUG]	Executed store
2023-10-13	12:49:47	1620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861112','265091','1')
2023-10-13	12:49:47	1620	[DEBUG]	Store product image relation
2023-10-13	12:49:47	1620	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:47	1620	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861112 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:47	1620	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:47	1620	[DEBUG]	Executed store
2023-10-13	12:49:47	1620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861112','0','306.406685236769','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:47	1620	[DEBUG]	Checking manufacturer
2023-10-13	12:49:47	1620	[DEBUG]	Load a row
2023-10-13	12:49:47	1620	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:47	1620	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:47	1620	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:47	1620	[DEBUG]	Executed store
2023-10-13	12:49:47	1620	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:47	1620	[DEBUG]	Manufacturer exists
2023-10-13	12:49:47	1620	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:47	1620	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:47	1620	[DEBUG]	Executed store
2023-10-13	12:49:47	1620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861112','239')
2023-10-13	12:49:47	1620	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:47	1620	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:47	1620	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861112 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:47	1620	[DEBUG]	Store custom available field
2023-10-13	12:49:47	1620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861112,3,'',1)
2023-10-13	12:49:47	1620	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:47	1620	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:49:47	1620	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861112 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:47	1620	[DEBUG]	Store custom available field
2023-10-13	12:49:47	1620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861112,6,'42',3)
2023-10-13	12:49:47	1620	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:47	1620	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:47	1620	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861110
2023-10-13	12:49:47	1620	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:47	1620	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1861110\":[1861110,8,1,\"choisir la taille\"],\"1861111\":[\"41\"],\"1861112\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861110
2023-10-13	12:49:47	1620	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:47	1620	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861112
2023-10-13	12:49:47	1621	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:47	1621	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:47	1621	[DEBUG]	Use field value for field taille
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:47	1621	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:47	1621	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:47	1621	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:47	1621	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:47	1621	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:47	1621	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:47	1621	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:47	1621	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:47	1621	[DEBUG]	Use field value for field published
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:47	1621	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field override
2023-10-13	12:49:47	1621	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:47	1621	[DEBUG]	Use field value for field slug
2023-10-13	12:49:47	1621	[DEBUG]	Process line 1621
2023-10-13	12:49:47	1621	[DEBUG]	Load a row
2023-10-13	12:49:47	1621	[DEBUG]	Processing item: 1000000126815
2023-10-13	12:49:47	1621	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:47	1621	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:47	1621	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7533_506'
2023-10-13	12:49:47	1621	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:47	1621	[DEBUG]	Processing product tax
2023-10-13	12:49:47	1621	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:47	1621	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:47	1621	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:47	1621	[DEBUG]	Query for Product
2023-10-13	12:49:47	1621	[DEBUG]	Executed store
2023-10-13	12:49:47	1621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861110','1000000126815','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:47	1621	[DEBUG]	No parent found
2023-10-13	12:49:47	1621	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861110 AND customfield_value = 'stockable'
2023-10-13	12:49:47	1621	[DEBUG]	Check product language entry
2023-10-13	12:49:47	1621	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861113
2023-10-13	12:49:47	1621	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:47	1621	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126815' AND `virtuemart_product_id` != 1861113
2023-10-13	12:49:47	1621	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:47	1621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861113, '1000000126815')
2023-10-13	12:49:47	1621	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:47	1621	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv-43' AND `virtuemart_product_id` != 1861113
2023-10-13	12:49:47	1621	[DEBUG]	Query for ProductLang
2023-10-13	12:49:47	1621	[DEBUG]	Executed store
2023-10-13	12:49:47	1621	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures Route CELSIUS R ARTIC GTX GORTEX  / BLACK/REFLEKTIV (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv-43' WHERE `virtuemart_product_id` = '1861113'
2023-10-13	12:49:47	1621	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:47	1621	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:47	1621	[DEBUG]	Process image file
2023-10-13	12:49:47	1621	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:47	1621	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:47	1621	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:47	1621	[DEBUG]	Full name target: bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:48	1621	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:48	1621	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg'
2023-10-13	12:49:48	1621	[DEBUG]	Query for Media
2023-10-13	12:49:48	1621	[DEBUG]	Executed store
2023-10-13	12:49:48	1621	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_url_thumb`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265091'
2023-10-13	12:49:48	1621	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:48	1621	[DEBUG]	Executed store
2023-10-13	12:49:48	1621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861113','265091','1')
2023-10-13	12:49:48	1621	[DEBUG]	Store product image relation
2023-10-13	12:49:48	1621	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:48	1621	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861113 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:48	1621	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:48	1621	[DEBUG]	Executed store
2023-10-13	12:49:48	1621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861113','0','306.406685236769','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:48	1621	[DEBUG]	Checking manufacturer
2023-10-13	12:49:48	1621	[DEBUG]	Load a row
2023-10-13	12:49:48	1621	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:48	1621	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:48	1621	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:48	1621	[DEBUG]	Executed store
2023-10-13	12:49:48	1621	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:48	1621	[DEBUG]	Manufacturer exists
2023-10-13	12:49:48	1621	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:48	1621	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:48	1621	[DEBUG]	Executed store
2023-10-13	12:49:48	1621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861113','239')
2023-10-13	12:49:48	1621	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:48	1621	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:48	1621	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861113 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:48	1621	[DEBUG]	Store custom available field
2023-10-13	12:49:48	1621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861113,3,'',1)
2023-10-13	12:49:48	1621	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:48	1621	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:49:48	1621	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861113 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:48	1621	[DEBUG]	Store custom available field
2023-10-13	12:49:48	1621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861113,6,'43',3)
2023-10-13	12:49:48	1621	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:48	1621	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:48	1621	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861110
2023-10-13	12:49:48	1621	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:48	1621	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1861110\":[1861110,8,1,\"choisir la taille\"],\"1861111\":[\"41\"],\"1861112\":[\"42\"],\"1861113\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861110
2023-10-13	12:49:48	1621	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:48	1621	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861113
2023-10-13	12:49:48	1622	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:48	1622	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:48	1622	[DEBUG]	Use field value for field taille
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:48	1622	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:48	1622	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:48	1622	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:48	1622	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:48	1622	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:48	1622	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:48	1622	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:48	1622	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:48	1622	[DEBUG]	Use field value for field published
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:48	1622	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field override
2023-10-13	12:49:48	1622	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:48	1622	[DEBUG]	Use field value for field slug
2023-10-13	12:49:48	1622	[DEBUG]	Process line 1622
2023-10-13	12:49:48	1622	[DEBUG]	Load a row
2023-10-13	12:49:48	1622	[DEBUG]	Processing item: 1000000126822
2023-10-13	12:49:48	1622	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:48	1622	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:48	1622	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7533_506'
2023-10-13	12:49:48	1622	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:48	1622	[DEBUG]	Processing product tax
2023-10-13	12:49:48	1622	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:48	1622	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:48	1622	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:48	1622	[DEBUG]	Query for Product
2023-10-13	12:49:48	1622	[DEBUG]	Executed store
2023-10-13	12:49:48	1622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861110','1000000126822','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:48	1622	[DEBUG]	No parent found
2023-10-13	12:49:48	1622	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861110 AND customfield_value = 'stockable'
2023-10-13	12:49:48	1622	[DEBUG]	Check product language entry
2023-10-13	12:49:48	1622	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861114
2023-10-13	12:49:48	1622	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:48	1622	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126822' AND `virtuemart_product_id` != 1861114
2023-10-13	12:49:48	1622	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:48	1622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861114, '1000000126822')
2023-10-13	12:49:48	1622	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:48	1622	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv-44' AND `virtuemart_product_id` != 1861114
2023-10-13	12:49:48	1622	[DEBUG]	Query for ProductLang
2023-10-13	12:49:48	1622	[DEBUG]	Executed store
2023-10-13	12:49:48	1622	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures Route CELSIUS R ARTIC GTX GORTEX  / BLACK/REFLEKTIV (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv-44' WHERE `virtuemart_product_id` = '1861114'
2023-10-13	12:49:48	1622	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:48	1622	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:48	1622	[DEBUG]	Process image file
2023-10-13	12:49:48	1622	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:48	1622	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:48	1622	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:48	1622	[DEBUG]	Full name target: bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:49	1622	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:49	1622	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg'
2023-10-13	12:49:49	1622	[DEBUG]	Query for Media
2023-10-13	12:49:49	1622	[DEBUG]	Executed store
2023-10-13	12:49:49	1622	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_url_thumb`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265091'
2023-10-13	12:49:49	1622	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:49	1622	[DEBUG]	Executed store
2023-10-13	12:49:49	1622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861114','265091','1')
2023-10-13	12:49:49	1622	[DEBUG]	Store product image relation
2023-10-13	12:49:49	1622	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:49	1622	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861114 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:49	1622	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:49	1622	[DEBUG]	Executed store
2023-10-13	12:49:49	1622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861114','0','306.406685236769','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:49	1622	[DEBUG]	Checking manufacturer
2023-10-13	12:49:49	1622	[DEBUG]	Load a row
2023-10-13	12:49:49	1622	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:49	1622	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:49	1622	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:49	1622	[DEBUG]	Executed store
2023-10-13	12:49:49	1622	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:49	1622	[DEBUG]	Manufacturer exists
2023-10-13	12:49:49	1622	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:49	1622	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:49	1622	[DEBUG]	Executed store
2023-10-13	12:49:49	1622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861114','239')
2023-10-13	12:49:49	1622	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:49	1622	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:49	1622	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861114 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:49	1622	[DEBUG]	Store custom available field
2023-10-13	12:49:49	1622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861114,3,'',1)
2023-10-13	12:49:49	1622	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:49	1622	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:49:49	1622	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861114 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:49	1622	[DEBUG]	Store custom available field
2023-10-13	12:49:49	1622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861114,6,'44',3)
2023-10-13	12:49:49	1622	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:49	1622	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:49	1622	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861110
2023-10-13	12:49:49	1622	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:49	1622	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1861110\":[1861110,8,1,\"choisir la taille\"],\"1861111\":[\"41\"],\"1861112\":[\"42\"],\"1861113\":[\"43\"],\"1861114\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861110
2023-10-13	12:49:49	1622	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:49	1622	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861114
2023-10-13	12:49:49	1623	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:49	1623	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:49	1623	[DEBUG]	Use field value for field taille
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:49	1623	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:49	1623	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:49	1623	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:49	1623	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:49	1623	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:49	1623	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:49	1623	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:49	1623	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:49	1623	[DEBUG]	Use field value for field published
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:49	1623	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field override
2023-10-13	12:49:49	1623	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:49	1623	[DEBUG]	Use field value for field slug
2023-10-13	12:49:49	1623	[DEBUG]	Process line 1623
2023-10-13	12:49:49	1623	[DEBUG]	Load a row
2023-10-13	12:49:49	1623	[DEBUG]	Processing item: 1000000126839
2023-10-13	12:49:49	1623	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:49	1623	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:49	1623	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7533_506'
2023-10-13	12:49:49	1623	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:49	1623	[DEBUG]	Processing product tax
2023-10-13	12:49:49	1623	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:49	1623	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:49	1623	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:49	1623	[DEBUG]	Query for Product
2023-10-13	12:49:49	1623	[DEBUG]	Executed store
2023-10-13	12:49:49	1623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861110','1000000126839','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:49	1623	[DEBUG]	No parent found
2023-10-13	12:49:49	1623	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861110 AND customfield_value = 'stockable'
2023-10-13	12:49:49	1623	[DEBUG]	Check product language entry
2023-10-13	12:49:49	1623	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861115
2023-10-13	12:49:49	1623	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:49	1623	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126839' AND `virtuemart_product_id` != 1861115
2023-10-13	12:49:49	1623	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:49	1623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861115, '1000000126839')
2023-10-13	12:49:49	1623	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:49	1623	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv-45' AND `virtuemart_product_id` != 1861115
2023-10-13	12:49:49	1623	[DEBUG]	Query for ProductLang
2023-10-13	12:49:49	1623	[DEBUG]	Executed store
2023-10-13	12:49:49	1623	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures Route CELSIUS R ARTIC GTX GORTEX  / BLACK/REFLEKTIV (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv-45' WHERE `virtuemart_product_id` = '1861115'
2023-10-13	12:49:49	1623	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:49	1623	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:49	1623	[DEBUG]	Process image file
2023-10-13	12:49:49	1623	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:49	1623	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:49	1623	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:49	1623	[DEBUG]	Full name target: bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:50	1623	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:50	1623	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg'
2023-10-13	12:49:50	1623	[DEBUG]	Query for Media
2023-10-13	12:49:50	1623	[DEBUG]	Executed store
2023-10-13	12:49:50	1623	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_url_thumb`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265091'
2023-10-13	12:49:50	1623	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:50	1623	[DEBUG]	Executed store
2023-10-13	12:49:50	1623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861115','265091','1')
2023-10-13	12:49:50	1623	[DEBUG]	Store product image relation
2023-10-13	12:49:50	1623	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:50	1623	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861115 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:50	1623	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:50	1623	[DEBUG]	Executed store
2023-10-13	12:49:50	1623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861115','0','306.406685236769','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:50	1623	[DEBUG]	Checking manufacturer
2023-10-13	12:49:50	1623	[DEBUG]	Load a row
2023-10-13	12:49:50	1623	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:50	1623	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:50	1623	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:50	1623	[DEBUG]	Executed store
2023-10-13	12:49:50	1623	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:50	1623	[DEBUG]	Manufacturer exists
2023-10-13	12:49:50	1623	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:50	1623	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:50	1623	[DEBUG]	Executed store
2023-10-13	12:49:50	1623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861115','239')
2023-10-13	12:49:50	1623	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:50	1623	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:50	1623	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861115 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:50	1623	[DEBUG]	Store custom available field
2023-10-13	12:49:50	1623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861115,3,'',1)
2023-10-13	12:49:50	1623	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:50	1623	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:49:50	1623	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861115 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:50	1623	[DEBUG]	Store custom available field
2023-10-13	12:49:50	1623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861115,6,'45',3)
2023-10-13	12:49:50	1623	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:50	1623	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:50	1623	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861110
2023-10-13	12:49:50	1623	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:50	1623	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1861110\":[1861110,8,1,\"choisir la taille\"],\"1861111\":[\"41\"],\"1861112\":[\"42\"],\"1861113\":[\"43\"],\"1861114\":[\"44\"],\"1861115\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861110
2023-10-13	12:49:50	1623	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:50	1623	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861115
2023-10-13	12:49:50	1624	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:50	1624	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:50	1624	[DEBUG]	Use field value for field taille
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:50	1624	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:50	1624	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:50	1624	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:50	1624	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:50	1624	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:50	1624	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:50	1624	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:50	1624	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:50	1624	[DEBUG]	Use field value for field published
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:50	1624	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field override
2023-10-13	12:49:50	1624	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:50	1624	[DEBUG]	Use field value for field slug
2023-10-13	12:49:50	1624	[DEBUG]	Process line 1624
2023-10-13	12:49:50	1624	[DEBUG]	Load a row
2023-10-13	12:49:50	1624	[DEBUG]	Processing item: 1000000126846
2023-10-13	12:49:50	1624	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:50	1624	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:50	1624	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7533_506'
2023-10-13	12:49:50	1624	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:50	1624	[DEBUG]	Processing product tax
2023-10-13	12:49:50	1624	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:50	1624	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:50	1624	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:50	1624	[DEBUG]	Query for Product
2023-10-13	12:49:50	1624	[DEBUG]	Executed store
2023-10-13	12:49:50	1624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861110','1000000126846','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:50	1624	[DEBUG]	No parent found
2023-10-13	12:49:50	1624	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861110 AND customfield_value = 'stockable'
2023-10-13	12:49:50	1624	[DEBUG]	Check product language entry
2023-10-13	12:49:50	1624	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861116
2023-10-13	12:49:50	1624	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:50	1624	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126846' AND `virtuemart_product_id` != 1861116
2023-10-13	12:49:50	1624	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:50	1624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861116, '1000000126846')
2023-10-13	12:49:50	1624	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:50	1624	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv-46' AND `virtuemart_product_id` != 1861116
2023-10-13	12:49:50	1624	[DEBUG]	Query for ProductLang
2023-10-13	12:49:50	1624	[DEBUG]	Executed store
2023-10-13	12:49:50	1624	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures Route CELSIUS R ARTIC GTX GORTEX  / BLACK/REFLEKTIV (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv-46' WHERE `virtuemart_product_id` = '1861116'
2023-10-13	12:49:50	1624	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:50	1624	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:50	1624	[DEBUG]	Process image file
2023-10-13	12:49:50	1624	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:50	1624	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:50	1624	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:50	1624	[DEBUG]	Full name target: bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:51	1624	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:51	1624	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg'
2023-10-13	12:49:51	1624	[DEBUG]	Query for Media
2023-10-13	12:49:51	1624	[DEBUG]	Executed store
2023-10-13	12:49:51	1624	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_url_thumb`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265091'
2023-10-13	12:49:51	1624	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:51	1624	[DEBUG]	Executed store
2023-10-13	12:49:51	1624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861116','265091','1')
2023-10-13	12:49:51	1624	[DEBUG]	Store product image relation
2023-10-13	12:49:51	1624	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:51	1624	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861116 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:51	1624	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:51	1624	[DEBUG]	Executed store
2023-10-13	12:49:51	1624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861116','0','306.406685236769','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:51	1624	[DEBUG]	Checking manufacturer
2023-10-13	12:49:51	1624	[DEBUG]	Load a row
2023-10-13	12:49:51	1624	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:51	1624	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:51	1624	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:51	1624	[DEBUG]	Executed store
2023-10-13	12:49:51	1624	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:51	1624	[DEBUG]	Manufacturer exists
2023-10-13	12:49:51	1624	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:51	1624	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:51	1624	[DEBUG]	Executed store
2023-10-13	12:49:51	1624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861116','239')
2023-10-13	12:49:51	1624	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:51	1624	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:51	1624	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861116 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:51	1624	[DEBUG]	Store custom available field
2023-10-13	12:49:51	1624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861116,3,'',1)
2023-10-13	12:49:51	1624	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:51	1624	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:49:51	1624	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861116 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:51	1624	[DEBUG]	Store custom available field
2023-10-13	12:49:51	1624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861116,6,'46',3)
2023-10-13	12:49:51	1624	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:51	1624	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:51	1624	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861110
2023-10-13	12:49:51	1624	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:51	1624	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\"}]|clabels=0|options={\"1861110\":[1861110,8,1,\"choisir la taille\"],\"1861111\":[\"41\"],\"1861112\":[\"42\"],\"1861113\":[\"43\"],\"1861114\":[\"44\"],\"1861115\":[\"45\"],\"1861116\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861110
2023-10-13	12:49:51	1624	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:51	1624	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861116
2023-10-13	12:49:51	1625	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:51	1625	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:51	1625	[DEBUG]	Use field value for field taille
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:51	1625	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:51	1625	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:51	1625	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:51	1625	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:51	1625	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:51	1625	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:51	1625	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:51	1625	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:51	1625	[DEBUG]	Use field value for field published
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:51	1625	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field override
2023-10-13	12:49:51	1625	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:51	1625	[DEBUG]	Use field value for field slug
2023-10-13	12:49:51	1625	[DEBUG]	Process line 1625
2023-10-13	12:49:51	1625	[DEBUG]	Load a row
2023-10-13	12:49:51	1625	[DEBUG]	Processing item: 1000000126853
2023-10-13	12:49:51	1625	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:51	1625	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:51	1625	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7533_506'
2023-10-13	12:49:51	1625	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:51	1625	[DEBUG]	Processing product tax
2023-10-13	12:49:51	1625	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:51	1625	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:51	1625	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:51	1625	[DEBUG]	Query for Product
2023-10-13	12:49:51	1625	[DEBUG]	Executed store
2023-10-13	12:49:51	1625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861110','1000000126853','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:51	1625	[DEBUG]	No parent found
2023-10-13	12:49:51	1625	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861110 AND customfield_value = 'stockable'
2023-10-13	12:49:51	1625	[DEBUG]	Check product language entry
2023-10-13	12:49:51	1625	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861117
2023-10-13	12:49:51	1625	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:51	1625	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126853' AND `virtuemart_product_id` != 1861117
2023-10-13	12:49:51	1625	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:51	1625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861117, '1000000126853')
2023-10-13	12:49:51	1625	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:51	1625	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv-47' AND `virtuemart_product_id` != 1861117
2023-10-13	12:49:51	1625	[DEBUG]	Query for ProductLang
2023-10-13	12:49:51	1625	[DEBUG]	Executed store
2023-10-13	12:49:51	1625	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures Route CELSIUS R ARTIC GTX GORTEX  / BLACK/REFLEKTIV (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-route-celsius-r-artic-gtx-gortex-black-reflektiv-47' WHERE `virtuemart_product_id` = '1861117'
2023-10-13	12:49:51	1625	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:51	1625	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:51	1625	[DEBUG]	Process image file
2023-10-13	12:49:51	1625	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:51	1625	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:51	1625	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:51	1625	[DEBUG]	Full name target: bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg
2023-10-13	12:49:52	1625	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:52	1625	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg'
2023-10-13	12:49:52	1625	[DEBUG]	Query for Media
2023-10-13	12:49:52	1625	[DEBUG]	Executed store
2023-10-13	12:49:52	1625	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_url_thumb`='bcprisme/34933_chaussures_route_celsius_xc_artic_gtx_gortex_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265091'
2023-10-13	12:49:52	1625	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:52	1625	[DEBUG]	Executed store
2023-10-13	12:49:52	1625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861117','265091','1')
2023-10-13	12:49:52	1625	[DEBUG]	Store product image relation
2023-10-13	12:49:52	1625	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:52	1625	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861117 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:52	1625	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:52	1625	[DEBUG]	Executed store
2023-10-13	12:49:52	1625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861117','0','306.406685236769','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:52	1625	[DEBUG]	Checking manufacturer
2023-10-13	12:49:52	1625	[DEBUG]	Load a row
2023-10-13	12:49:52	1625	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:52	1625	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:52	1625	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:52	1625	[DEBUG]	Executed store
2023-10-13	12:49:52	1625	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:52	1625	[DEBUG]	Manufacturer exists
2023-10-13	12:49:52	1625	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:52	1625	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:52	1625	[DEBUG]	Executed store
2023-10-13	12:49:52	1625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861117','239')
2023-10-13	12:49:52	1625	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:52	1625	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:52	1625	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861117 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:52	1625	[DEBUG]	Store custom available field
2023-10-13	12:49:52	1625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861117,3,'',1)
2023-10-13	12:49:52	1625	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:52	1625	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:49:52	1625	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861117 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:52	1625	[DEBUG]	Store custom available field
2023-10-13	12:49:52	1625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861117,6,'47',3)
2023-10-13	12:49:52	1625	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:52	1625	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:52	1625	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861110
2023-10-13	12:49:52	1625	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:52	1625	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1861110\":[1861110,8,1,\"choisir la taille\"],\"1861111\":[\"41\"],\"1861112\":[\"42\"],\"1861113\":[\"43\"],\"1861114\":[\"44\"],\"1861115\":[\"45\"],\"1861116\":[\"46\"],\"1861117\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1861110
2023-10-13	12:49:52	1625	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:52	1625	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861117
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:52	1626	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field taille
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field category_path
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:52	1626	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:49:52	1626	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:52	1626	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field product_weight
2023-10-13	12:49:52	1626	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:52	1626	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:52	1626	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field published
2023-10-13	12:49:52	1626	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:52	1626	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field custom_title
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field custom_param
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field override
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field public_price
2023-10-13	12:49:52	1626	[DEBUG]	Use field value for field slug
2023-10-13	12:49:52	1626	[DEBUG]	Process line 1626
2023-10-13	12:49:52	1626	[DEBUG]	Load a row
2023-10-13	12:49:52	1626	[DEBUG]	Processing item: A_7679_1
2023-10-13	12:49:52	1626	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:52	1626	[DEBUG]	Processing product tax
2023-10-13	12:49:52	1626	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:52	1626	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:52	1626	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:52	1626	[DEBUG]	Query for Product
2023-10-13	12:49:52	1626	[DEBUG]	Executed store
2023-10-13	12:49:52	1626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7679_1','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:52	1626	[DEBUG]	Check product language entry
2023-10-13	12:49:52	1626	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861118
2023-10-13	12:49:52	1626	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:52	1626	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7679_1' AND `virtuemart_product_id` != 1861118
2023-10-13	12:49:52	1626	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:52	1626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861118, 'A_7679_1')
2023-10-13	12:49:52	1626	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:52	1626	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-vtt-extrem-xc-gtx-carbon-noir' AND `virtuemart_product_id` != 1861118
2023-10-13	12:49:52	1626	[DEBUG]	Query for ProductLang
2023-10-13	12:49:52	1626	[DEBUG]	Executed store
2023-10-13	12:49:52	1626	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='CHAUSSURES VTT EN GORTEX, THERMO RESISTANT, WATER RESISTANT, WIND RESISTANT<br>N° art fourn : 80204036',`product_name`='NORTHWAVE Chaussures VTT Extrem XC GTX Carbon / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-vtt-extrem-xc-gtx-carbon-noir' WHERE `virtuemart_product_id` = '1861118'
2023-10-13	12:49:52	1626	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35183_chaussures_vtt_extrem_xc_gtx_carbon.jpg
2023-10-13	12:49:52	1626	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:52	1626	[DEBUG]	Process image file
2023-10-13	12:49:52	1626	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:52	1626	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:52	1626	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35183_chaussures_vtt_extrem_xc_gtx_carbon.jpg
2023-10-13	12:49:52	1626	[DEBUG]	Full name target: bcprisme/35183_chaussures_vtt_extrem_xc_gtx_carbon.jpg
2023-10-13	12:49:53	1626	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:53	1626	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35183_chaussures_vtt_extrem_xc_gtx_carbon.jpg'
2023-10-13	12:49:53	1626	[DEBUG]	Query for Media
2023-10-13	12:49:53	1626	[DEBUG]	Executed store
2023-10-13	12:49:53	1626	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35183_chaussures_vtt_extrem_xc_gtx_carbon.jpg',`file_url_thumb`='bcprisme/35183_chaussures_vtt_extrem_xc_gtx_carbon.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '379871'
2023-10-13	12:49:53	1626	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:53	1626	[DEBUG]	Executed store
2023-10-13	12:49:53	1626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861118','379871','1')
2023-10-13	12:49:53	1626	[DEBUG]	Store product image relation
2023-10-13	12:49:53	1626	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:53	1626	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861118 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:53	1626	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:53	1626	[DEBUG]	Executed store
2023-10-13	12:49:53	1626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861118','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:53	1626	[DEBUG]	Checking manufacturer
2023-10-13	12:49:53	1626	[DEBUG]	Load a row
2023-10-13	12:49:53	1626	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:53	1626	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:53	1626	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:53	1626	[DEBUG]	Executed store
2023-10-13	12:49:53	1626	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:53	1626	[DEBUG]	Manufacturer exists
2023-10-13	12:49:53	1626	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:53	1626	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:53	1626	[DEBUG]	Executed store
2023-10-13	12:49:53	1626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861118','239')
2023-10-13	12:49:53	1626	[DEBUG]	Find the custom field ID
2023-10-13	12:49:53	1626	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:49:53	1626	[DEBUG]	No custom field ID found
2023-10-13	12:49:53	1626	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:53	1626	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:49:53	1626	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861118 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:53	1626	[DEBUG]	Store custom available field
2023-10-13	12:49:53	1626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861118,3,'179.400277777778',1)
2023-10-13	12:49:53	1626	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:53	1626	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:49:53	1626	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861118 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:53	1626	[DEBUG]	Store custom available field
2023-10-13	12:49:53	1626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861118,6,'choisir la taille',3)
2023-10-13	12:49:53	1626	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:53	1626	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:49:53	1626	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:49:53	1626	[DEBUG]	Find the multi variant product entry
2023-10-13	12:49:53	1626	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861118 AND `virtuemart_custom_id` = 8
2023-10-13	12:49:53	1626	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:49:53	1626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861118,8,1)
2023-10-13	12:49:53	1626	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:53	1626	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861118\":[1861118,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861118
2023-10-13	12:49:53	1626	[DEBUG]	Checking category
2023-10-13	12:49:53	1626	[DEBUG]	Get the existing categories for the product
2023-10-13	12:49:53	1626	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861118
2023-10-13	12:49:53	1626	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:49:53	1626	[DEBUG]	Executed store
2023-10-13	12:49:53	1626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861118','7331')
2023-10-13	12:49:53	1626	[DEBUG]	Delete leftover product categories
2023-10-13	12:49:53	1626	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861118 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:49:53	1626	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:53	1626	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861118
2023-10-13	12:49:53	1627	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:53	1627	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:53	1627	[DEBUG]	Use field value for field taille
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:53	1627	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:53	1627	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:53	1627	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:53	1627	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:53	1627	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:53	1627	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:53	1627	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:53	1627	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:53	1627	[DEBUG]	Use field value for field published
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:53	1627	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field override
2023-10-13	12:49:53	1627	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:53	1627	[DEBUG]	Use field value for field slug
2023-10-13	12:49:53	1627	[DEBUG]	Process line 1627
2023-10-13	12:49:53	1627	[DEBUG]	Load a row
2023-10-13	12:49:53	1627	[DEBUG]	Processing item: 1000000133172
2023-10-13	12:49:53	1627	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:53	1627	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:53	1627	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7679_1'
2023-10-13	12:49:53	1627	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:53	1627	[DEBUG]	Processing product tax
2023-10-13	12:49:53	1627	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:53	1627	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:53	1627	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:53	1627	[DEBUG]	Query for Product
2023-10-13	12:49:53	1627	[DEBUG]	Executed store
2023-10-13	12:49:53	1627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861118','1000000133172','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:53	1627	[DEBUG]	No parent found
2023-10-13	12:49:53	1627	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861118 AND customfield_value = 'stockable'
2023-10-13	12:49:53	1627	[DEBUG]	Check product language entry
2023-10-13	12:49:53	1627	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861119
2023-10-13	12:49:53	1627	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:53	1627	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000133172' AND `virtuemart_product_id` != 1861119
2023-10-13	12:49:53	1627	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:53	1627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861119, '1000000133172')
2023-10-13	12:49:53	1627	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:53	1627	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-vtt-extrem-xc-gtx-carbon-noir-44' AND `virtuemart_product_id` != 1861119
2023-10-13	12:49:53	1627	[DEBUG]	Query for ProductLang
2023-10-13	12:49:53	1627	[DEBUG]	Executed store
2023-10-13	12:49:53	1627	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures VTT Extrem XC GTX Carbon / Noir (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-vtt-extrem-xc-gtx-carbon-noir-44' WHERE `virtuemart_product_id` = '1861119'
2023-10-13	12:49:53	1627	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35183_chaussures_vtt_extrem_xc_gtx_carbon.jpg
2023-10-13	12:49:53	1627	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:53	1627	[DEBUG]	Process image file
2023-10-13	12:49:53	1627	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:49:53	1627	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:53	1627	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35183_chaussures_vtt_extrem_xc_gtx_carbon.jpg
2023-10-13	12:49:53	1627	[DEBUG]	Full name target: bcprisme/35183_chaussures_vtt_extrem_xc_gtx_carbon.jpg
2023-10-13	12:49:54	1627	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:54	1627	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35183_chaussures_vtt_extrem_xc_gtx_carbon.jpg'
2023-10-13	12:49:54	1627	[DEBUG]	Query for Media
2023-10-13	12:49:54	1627	[DEBUG]	Executed store
2023-10-13	12:49:54	1627	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35183_chaussures_vtt_extrem_xc_gtx_carbon.jpg',`file_url_thumb`='bcprisme/35183_chaussures_vtt_extrem_xc_gtx_carbon.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '379871'
2023-10-13	12:49:54	1627	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:54	1627	[DEBUG]	Executed store
2023-10-13	12:49:54	1627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861119','379871','1')
2023-10-13	12:49:54	1627	[DEBUG]	Store product image relation
2023-10-13	12:49:54	1627	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:54	1627	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861119 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:54	1627	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:54	1627	[DEBUG]	Executed store
2023-10-13	12:49:54	1627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861119','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:54	1627	[DEBUG]	Checking manufacturer
2023-10-13	12:49:54	1627	[DEBUG]	Load a row
2023-10-13	12:49:54	1627	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:54	1627	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:54	1627	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:54	1627	[DEBUG]	Executed store
2023-10-13	12:49:54	1627	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:54	1627	[DEBUG]	Manufacturer exists
2023-10-13	12:49:54	1627	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:54	1627	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:54	1627	[DEBUG]	Executed store
2023-10-13	12:49:54	1627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861119','239')
2023-10-13	12:49:54	1627	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:54	1627	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:54	1627	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861119 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:54	1627	[DEBUG]	Store custom available field
2023-10-13	12:49:54	1627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861119,3,'',1)
2023-10-13	12:49:54	1627	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:54	1627	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:49:54	1627	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861119 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:54	1627	[DEBUG]	Store custom available field
2023-10-13	12:49:54	1627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861119,6,'44',3)
2023-10-13	12:49:54	1627	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:54	1627	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:54	1627	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861118
2023-10-13	12:49:54	1627	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:54	1627	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\"}]|clabels=0|options={\"1861118\":[1861118,8,1,\"choisir la taille\"],\"1861119\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861118
2023-10-13	12:49:54	1627	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:54	1627	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861119
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:54	1628	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field taille
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field category_path
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:54	1628	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:49:54	1628	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:54	1628	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field product_weight
2023-10-13	12:49:54	1628	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:54	1628	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:54	1628	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field published
2023-10-13	12:49:54	1628	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:54	1628	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field custom_title
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field custom_param
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field override
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field public_price
2023-10-13	12:49:54	1628	[DEBUG]	Use field value for field slug
2023-10-13	12:49:54	1628	[DEBUG]	Process line 1628
2023-10-13	12:49:54	1628	[DEBUG]	Load a row
2023-10-13	12:49:54	1628	[DEBUG]	Processing item: A_7901_376
2023-10-13	12:49:54	1628	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:54	1628	[DEBUG]	Processing product tax
2023-10-13	12:49:54	1628	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:54	1628	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:54	1628	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:54	1628	[DEBUG]	Query for Product
2023-10-13	12:49:54	1628	[DEBUG]	Executed store
2023-10-13	12:49:54	1628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7901_376','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:54	1628	[DEBUG]	Check product language entry
2023-10-13	12:49:54	1628	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861120
2023-10-13	12:49:54	1628	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:54	1628	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7901_376' AND `virtuemart_product_id` != 1861120
2023-10-13	12:49:54	1628	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:54	1628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861120, 'A_7901_376')
2023-10-13	12:49:54	1628	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:54	1628	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-vtt-hammer-2-junior-noir-rouge' AND `virtuemart_product_id` != 1861120
2023-10-13	12:49:54	1628	[DEBUG]	Query for ProductLang
2023-10-13	12:49:54	1628	[DEBUG]	Executed store
2023-10-13	12:49:54	1628	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussures MSC Aéro VTT XC avec système de ventilation breveté ! 699 GR.<br>N° art fourn : 80192045.15',`product_name`='NORTHWAVE Chaussures VTT Hammer 2 Junior  / Noir-Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-vtt-hammer-2-junior-noir-rouge' WHERE `virtuemart_product_id` = '1861120'
2023-10-13	12:49:54	1628	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36321_chaussures_vtt_hammer_2_junior_.jpg
2023-10-13	12:49:54	1628	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:49:54	1628	[DEBUG]	Process image file
2023-10-13	12:49:54	1628	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:49:54	1628	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:54	1628	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36321_chaussures_vtt_hammer_2_junior_.jpg
2023-10-13	12:49:54	1628	[DEBUG]	Full name target: bcprisme/36321_chaussures_vtt_hammer_2_junior_.jpg
2023-10-13	12:49:55	1628	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:55	1628	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36321_chaussures_vtt_hammer_2_junior_.jpg'
2023-10-13	12:49:55	1628	[DEBUG]	Query for Media
2023-10-13	12:49:55	1628	[DEBUG]	Executed store
2023-10-13	12:49:55	1628	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36321_chaussures_vtt_hammer_2_junior_.jpg',`file_url_thumb`='bcprisme/36321_chaussures_vtt_hammer_2_junior_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '665663'
2023-10-13	12:49:55	1628	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:55	1628	[DEBUG]	Executed store
2023-10-13	12:49:55	1628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861120','665663','1')
2023-10-13	12:49:55	1628	[DEBUG]	Store product image relation
2023-10-13	12:49:55	1628	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:55	1628	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861120 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:55	1628	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:55	1628	[DEBUG]	Executed store
2023-10-13	12:49:55	1628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861120','0','92.8505106778087','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:55	1628	[DEBUG]	Checking manufacturer
2023-10-13	12:49:55	1628	[DEBUG]	Load a row
2023-10-13	12:49:55	1628	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:55	1628	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:55	1628	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:55	1628	[DEBUG]	Executed store
2023-10-13	12:49:55	1628	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:55	1628	[DEBUG]	Manufacturer exists
2023-10-13	12:49:55	1628	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:55	1628	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:55	1628	[DEBUG]	Executed store
2023-10-13	12:49:55	1628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861120','239')
2023-10-13	12:49:55	1628	[DEBUG]	Find the custom field ID
2023-10-13	12:49:55	1628	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:49:55	1628	[DEBUG]	No custom field ID found
2023-10-13	12:49:55	1628	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:55	1628	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:49:55	1628	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861120 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:55	1628	[DEBUG]	Store custom available field
2023-10-13	12:49:55	1628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861120,3,'179.400277777778',1)
2023-10-13	12:49:55	1628	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:55	1628	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:49:55	1628	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861120 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:55	1628	[DEBUG]	Store custom available field
2023-10-13	12:49:55	1628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861120,6,'choisir la taille',3)
2023-10-13	12:49:55	1628	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:55	1628	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:49:55	1628	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:49:55	1628	[DEBUG]	Find the multi variant product entry
2023-10-13	12:49:55	1628	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861120 AND `virtuemart_custom_id` = 8
2023-10-13	12:49:55	1628	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:49:55	1628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861120,8,1)
2023-10-13	12:49:55	1628	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:55	1628	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861120\":[1861120,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861120
2023-10-13	12:49:55	1628	[DEBUG]	Checking category
2023-10-13	12:49:55	1628	[DEBUG]	Get the existing categories for the product
2023-10-13	12:49:55	1628	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861120
2023-10-13	12:49:55	1628	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:49:55	1628	[DEBUG]	Executed store
2023-10-13	12:49:55	1628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861120','7331')
2023-10-13	12:49:55	1628	[DEBUG]	Delete leftover product categories
2023-10-13	12:49:55	1628	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861120 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:49:55	1628	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:55	1628	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861120
2023-10-13	12:49:55	1629	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:55	1629	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:55	1629	[DEBUG]	Use field value for field taille
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:55	1629	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:55	1629	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:55	1629	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:55	1629	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:55	1629	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:55	1629	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:55	1629	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:55	1629	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:55	1629	[DEBUG]	Use field value for field published
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:55	1629	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field override
2023-10-13	12:49:55	1629	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:55	1629	[DEBUG]	Use field value for field slug
2023-10-13	12:49:55	1629	[DEBUG]	Process line 1629
2023-10-13	12:49:55	1629	[DEBUG]	Load a row
2023-10-13	12:49:55	1629	[DEBUG]	Processing item: 5002003134350
2023-10-13	12:49:55	1629	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:55	1629	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:55	1629	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7901_376'
2023-10-13	12:49:55	1629	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:55	1629	[DEBUG]	Processing product tax
2023-10-13	12:49:55	1629	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:55	1629	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:55	1629	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:55	1629	[DEBUG]	Query for Product
2023-10-13	12:49:55	1629	[DEBUG]	Executed store
2023-10-13	12:49:55	1629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861120','5002003134350','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:55	1629	[DEBUG]	No parent found
2023-10-13	12:49:55	1629	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861120 AND customfield_value = 'stockable'
2023-10-13	12:49:55	1629	[DEBUG]	Check product language entry
2023-10-13	12:49:55	1629	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861121
2023-10-13	12:49:55	1629	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:55	1629	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '5002003134350' AND `virtuemart_product_id` != 1861121
2023-10-13	12:49:55	1629	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:55	1629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861121, '5002003134350')
2023-10-13	12:49:55	1629	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:55	1629	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-vtt-hammer-2-junior-noir-rouge-32' AND `virtuemart_product_id` != 1861121
2023-10-13	12:49:55	1629	[DEBUG]	Query for ProductLang
2023-10-13	12:49:55	1629	[DEBUG]	Executed store
2023-10-13	12:49:55	1629	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures VTT Hammer 2 Junior  / Noir-Rouge (32)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-vtt-hammer-2-junior-noir-rouge-32' WHERE `virtuemart_product_id` = '1861121'
2023-10-13	12:49:55	1629	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36321_chaussures_vtt_hammer_2_junior_.jpg
2023-10-13	12:49:55	1629	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:49:55	1629	[DEBUG]	Process image file
2023-10-13	12:49:55	1629	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:49:55	1629	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:55	1629	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36321_chaussures_vtt_hammer_2_junior_.jpg
2023-10-13	12:49:55	1629	[DEBUG]	Full name target: bcprisme/36321_chaussures_vtt_hammer_2_junior_.jpg
2023-10-13	12:49:56	1629	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:56	1629	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36321_chaussures_vtt_hammer_2_junior_.jpg'
2023-10-13	12:49:56	1629	[DEBUG]	Query for Media
2023-10-13	12:49:56	1629	[DEBUG]	Executed store
2023-10-13	12:49:56	1629	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36321_chaussures_vtt_hammer_2_junior_.jpg',`file_url_thumb`='bcprisme/36321_chaussures_vtt_hammer_2_junior_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '665663'
2023-10-13	12:49:56	1629	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:56	1629	[DEBUG]	Executed store
2023-10-13	12:49:56	1629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861121','665663','1')
2023-10-13	12:49:56	1629	[DEBUG]	Store product image relation
2023-10-13	12:49:56	1629	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:56	1629	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861121 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:56	1629	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:56	1629	[DEBUG]	Executed store
2023-10-13	12:49:56	1629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861121','0','92.8505106778087','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:56	1629	[DEBUG]	Checking manufacturer
2023-10-13	12:49:56	1629	[DEBUG]	Load a row
2023-10-13	12:49:56	1629	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:56	1629	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:56	1629	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:56	1629	[DEBUG]	Executed store
2023-10-13	12:49:56	1629	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:49:56	1629	[DEBUG]	Manufacturer exists
2023-10-13	12:49:56	1629	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:49:56	1629	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:56	1629	[DEBUG]	Executed store
2023-10-13	12:49:56	1629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861121','239')
2023-10-13	12:49:56	1629	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:56	1629	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:56	1629	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861121 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:56	1629	[DEBUG]	Store custom available field
2023-10-13	12:49:56	1629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861121,3,'',1)
2023-10-13	12:49:56	1629	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:56	1629	[DEBUG]	Get existing row with customfield value 32
2023-10-13	12:49:56	1629	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861121 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:56	1629	[DEBUG]	Store custom available field
2023-10-13	12:49:56	1629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861121,6,'32',3)
2023-10-13	12:49:56	1629	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:56	1629	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:56	1629	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861120
2023-10-13	12:49:56	1629	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:56	1629	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n32\"}]|clabels=0|options={\"1861120\":[1861120,8,1,\"choisir la taille\"],\"1861121\":[\"32\"]}|' WHERE `virtuemart_product_id` = 1861120
2023-10-13	12:49:56	1629	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:56	1629	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861121
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:56	1630	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field taille
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field category_path
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:56	1630	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:49:56	1630	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:56	1630	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field product_weight
2023-10-13	12:49:56	1630	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:56	1630	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:56	1630	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field published
2023-10-13	12:49:56	1630	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:56	1630	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field custom_title
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field custom_param
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field override
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field public_price
2023-10-13	12:49:56	1630	[DEBUG]	Use field value for field slug
2023-10-13	12:49:56	1630	[DEBUG]	Process line 1630
2023-10-13	12:49:56	1630	[DEBUG]	Load a row
2023-10-13	12:49:56	1630	[DEBUG]	Processing item: A_8408_88
2023-10-13	12:49:56	1630	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:56	1630	[DEBUG]	Processing product tax
2023-10-13	12:49:56	1630	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:56	1630	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:56	1630	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:56	1630	[DEBUG]	Query for Product
2023-10-13	12:49:56	1630	[DEBUG]	Executed store
2023-10-13	12:49:56	1630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8408_88','0.53','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:56	1630	[DEBUG]	Check product language entry
2023-10-13	12:49:56	1630	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861122
2023-10-13	12:49:56	1630	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:56	1630	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8408_88' AND `virtuemart_product_id` != 1861122
2023-10-13	12:49:56	1630	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:56	1630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861122, 'A_8408_88')
2023-10-13	12:49:56	1630	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:56	1630	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5b-spd-sl-blue' AND `virtuemart_product_id` != 1861122
2023-10-13	12:49:56	1630	[DEBUG]	Query for ProductLang
2023-10-13	12:49:56	1630	[DEBUG]	Executed store
2023-10-13	12:49:56	1630	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussure supérieure entourante, légèrement chevauchante, avec un ajustement en forme de gant<br>Semelle intermédiaire plate qui stabilise le pied pour une transmission de puissance et une efficacité maximales<br>Coupe incomparable, stabilité et rigidité pour un poids extrêmement faible, L6 Boa<br>Tige combinée mesh/TPU/cuir synthétique pour un ajustement confortable et une respirabilité optimale<br>Semelle légère en nylon renforcé de fibres de carbone pour une bonne transmission de puissance<br>N° art fourn : 83.76522',`product_name`='SHIMANO Chaussures Men Road SH-RC5B SPD-SL / Blue',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5b-spd-sl-blue' WHERE `virtuemart_product_id` = '1861122'
2023-10-13	12:49:56	1630	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:49:56	1630	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:49:56	1630	[DEBUG]	Process image file
2023-10-13	12:49:56	1630	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:49:56	1630	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:56	1630	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:49:56	1630	[DEBUG]	Full name target: bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:49:57	1630	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:57	1630	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg'
2023-10-13	12:49:57	1630	[DEBUG]	Query for Media
2023-10-13	12:49:57	1630	[DEBUG]	Executed store
2023-10-13	12:49:57	1630	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_url_thumb`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '817052'
2023-10-13	12:49:57	1630	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:57	1630	[DEBUG]	Executed store
2023-10-13	12:49:57	1630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861122','817052','1')
2023-10-13	12:49:57	1630	[DEBUG]	Store product image relation
2023-10-13	12:49:57	1630	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:57	1630	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861122 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:57	1630	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:57	1630	[DEBUG]	Executed store
2023-10-13	12:49:57	1630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861122','0','176.415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:57	1630	[DEBUG]	Checking manufacturer
2023-10-13	12:49:57	1630	[DEBUG]	Load a row
2023-10-13	12:49:57	1630	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:57	1630	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:57	1630	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:57	1630	[DEBUG]	Executed store
2023-10-13	12:49:57	1630	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:57	1630	[DEBUG]	Manufacturer exists
2023-10-13	12:49:57	1630	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:49:57	1630	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:57	1630	[DEBUG]	Executed store
2023-10-13	12:49:57	1630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861122','26')
2023-10-13	12:49:57	1630	[DEBUG]	Find the custom field ID
2023-10-13	12:49:57	1630	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:49:57	1630	[DEBUG]	No custom field ID found
2023-10-13	12:49:57	1630	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:57	1630	[DEBUG]	Get existing row with customfield value 249.205833333333
2023-10-13	12:49:57	1630	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861122 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:57	1630	[DEBUG]	Store custom available field
2023-10-13	12:49:57	1630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861122,3,'249.205833333333',1)
2023-10-13	12:49:57	1630	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:57	1630	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:49:57	1630	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861122 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:57	1630	[DEBUG]	Store custom available field
2023-10-13	12:49:57	1630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861122,6,'choisir la taille',3)
2023-10-13	12:49:57	1630	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:57	1630	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:49:57	1630	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:49:57	1630	[DEBUG]	Find the multi variant product entry
2023-10-13	12:49:57	1630	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861122 AND `virtuemart_custom_id` = 8
2023-10-13	12:49:57	1630	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:49:57	1630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861122,8,1)
2023-10-13	12:49:57	1630	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:57	1630	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861122\":[1861122,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861122
2023-10-13	12:49:57	1630	[DEBUG]	Checking category
2023-10-13	12:49:57	1630	[DEBUG]	Get the existing categories for the product
2023-10-13	12:49:57	1630	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861122
2023-10-13	12:49:57	1630	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:49:57	1630	[DEBUG]	Executed store
2023-10-13	12:49:57	1630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861122','7331')
2023-10-13	12:49:57	1630	[DEBUG]	Delete leftover product categories
2023-10-13	12:49:57	1630	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861122 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:49:57	1630	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:57	1630	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861122
2023-10-13	12:49:57	1631	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:57	1631	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:57	1631	[DEBUG]	Use field value for field taille
2023-10-13	12:49:57	1631	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:57	1631	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:57	1631	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:57	1631	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:57	1631	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:57	1631	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:57	1631	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:57	1631	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:57	1631	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:57	1631	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:57	1631	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:57	1631	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:57	1631	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:57	1631	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:57	1631	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:57	1631	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:58	1631	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:58	1631	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:58	1631	[DEBUG]	Use field value for field published
2023-10-13	12:49:58	1631	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:58	1631	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:58	1631	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:58	1631	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:58	1631	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:58	1631	[DEBUG]	Use default value for field override
2023-10-13	12:49:58	1631	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:58	1631	[DEBUG]	Use field value for field slug
2023-10-13	12:49:58	1631	[DEBUG]	Process line 1631
2023-10-13	12:49:58	1631	[DEBUG]	Load a row
2023-10-13	12:49:58	1631	[DEBUG]	Processing item: 1000000151442
2023-10-13	12:49:58	1631	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:58	1631	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:58	1631	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8408_88'
2023-10-13	12:49:58	1631	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:58	1631	[DEBUG]	Processing product tax
2023-10-13	12:49:58	1631	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:58	1631	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:58	1631	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:58	1631	[DEBUG]	Query for Product
2023-10-13	12:49:58	1631	[DEBUG]	Executed store
2023-10-13	12:49:58	1631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861122','1000000151442','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:58	1631	[DEBUG]	No parent found
2023-10-13	12:49:58	1631	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861122 AND customfield_value = 'stockable'
2023-10-13	12:49:58	1631	[DEBUG]	Check product language entry
2023-10-13	12:49:58	1631	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861123
2023-10-13	12:49:58	1631	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:58	1631	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000151442' AND `virtuemart_product_id` != 1861123
2023-10-13	12:49:58	1631	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:58	1631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861123, '1000000151442')
2023-10-13	12:49:58	1631	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:58	1631	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-39' AND `virtuemart_product_id` != 1861123
2023-10-13	12:49:58	1631	[DEBUG]	Query for ProductLang
2023-10-13	12:49:58	1631	[DEBUG]	Executed store
2023-10-13	12:49:58	1631	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5B SPD-SL / Blue  (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-39' WHERE `virtuemart_product_id` = '1861123'
2023-10-13	12:49:58	1631	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:49:58	1631	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:49:58	1631	[DEBUG]	Process image file
2023-10-13	12:49:58	1631	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:49:58	1631	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:58	1631	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:49:58	1631	[DEBUG]	Full name target: bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:49:58	1631	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:58	1631	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg'
2023-10-13	12:49:58	1631	[DEBUG]	Query for Media
2023-10-13	12:49:58	1631	[DEBUG]	Executed store
2023-10-13	12:49:58	1631	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_url_thumb`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '817052'
2023-10-13	12:49:58	1631	[DEBUG]	Query for ProductMedia
2023-10-13	12:49:59	1631	[DEBUG]	Executed store
2023-10-13	12:49:59	1631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861123','817052','1')
2023-10-13	12:49:59	1631	[DEBUG]	Store product image relation
2023-10-13	12:49:59	1631	[DEBUG]	Finding a product_price_id
2023-10-13	12:49:59	1631	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861123 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:49:59	1631	[DEBUG]	Query for ProductPrice
2023-10-13	12:49:59	1631	[DEBUG]	Executed store
2023-10-13	12:49:59	1631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861123','0','176.415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:49:59	1631	[DEBUG]	Checking manufacturer
2023-10-13	12:49:59	1631	[DEBUG]	Load a row
2023-10-13	12:49:59	1631	[DEBUG]	Manufacturer already exists
2023-10-13	12:49:59	1631	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:59	1631	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:49:59	1631	[DEBUG]	Executed store
2023-10-13	12:49:59	1631	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:49:59	1631	[DEBUG]	Manufacturer exists
2023-10-13	12:49:59	1631	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:49:59	1631	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:49:59	1631	[DEBUG]	Executed store
2023-10-13	12:49:59	1631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861123','26')
2023-10-13	12:49:59	1631	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:49:59	1631	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:49:59	1631	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861123 AND `virtuemart_custom_id` = 3
2023-10-13	12:49:59	1631	[DEBUG]	Store custom available field
2023-10-13	12:49:59	1631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861123,3,'',1)
2023-10-13	12:49:59	1631	[DEBUG]	Processing custom available field: taille
2023-10-13	12:49:59	1631	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:49:59	1631	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861123 AND `virtuemart_custom_id` = 6
2023-10-13	12:49:59	1631	[DEBUG]	Store custom available field
2023-10-13	12:49:59	1631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861123,6,'39',3)
2023-10-13	12:49:59	1631	[DEBUG]	Process multi-variant fields
2023-10-13	12:49:59	1631	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:49:59	1631	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861122
2023-10-13	12:49:59	1631	[DEBUG]	Store the updated customfield_params
2023-10-13	12:49:59	1631	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\"}]|clabels=0|options={\"1861122\":[1861122,8,1,\"choisir la taille\"],\"1861123\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861122
2023-10-13	12:49:59	1631	[DEBUG]	Update has fields after all processing
2023-10-13	12:49:59	1631	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861123
2023-10-13	12:49:59	1632	[DEBUG]	Use field value for field product_sku
2023-10-13	12:49:59	1632	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:49:59	1632	[DEBUG]	Use field value for field taille
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:49:59	1632	[DEBUG]	Use field value for field product_name
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field category_path
2023-10-13	12:49:59	1632	[DEBUG]	Use field value for field product_price
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:49:59	1632	[DEBUG]	Use field value for field product_tax
2023-10-13	12:49:59	1632	[DEBUG]	Use field value for field file_url
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field product_desc
2023-10-13	12:49:59	1632	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:49:59	1632	[DEBUG]	Use field value for field product_availability
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field product_weight
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field product_unit
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field related_products
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field product_special
2023-10-13	12:49:59	1632	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:49:59	1632	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:49:59	1632	[DEBUG]	Use field value for field published
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field metadesc
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field metakey
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field custom_title
2023-10-13	12:49:59	1632	[DEBUG]	Use field value for field custom_value
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field custom_param
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field override
2023-10-13	12:49:59	1632	[DEBUG]	Use default value for field public_price
2023-10-13	12:49:59	1632	[DEBUG]	Use field value for field slug
2023-10-13	12:49:59	1632	[DEBUG]	Process line 1632
2023-10-13	12:49:59	1632	[DEBUG]	Load a row
2023-10-13	12:49:59	1632	[DEBUG]	Processing item: 4550170489137
2023-10-13	12:49:59	1632	[DEBUG]	Looking for parent SKU
2023-10-13	12:49:59	1632	[DEBUG]	Checking product parent SKU
2023-10-13	12:49:59	1632	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8408_88'
2023-10-13	12:49:59	1632	[DEBUG]	Product tax: 7.7
2023-10-13	12:49:59	1632	[DEBUG]	Processing product tax
2023-10-13	12:49:59	1632	[DEBUG]	Check if calculation rule exists
2023-10-13	12:49:59	1632	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:49:59	1632	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:49:59	1632	[DEBUG]	Query for Product
2023-10-13	12:49:59	1632	[DEBUG]	Executed store
2023-10-13	12:49:59	1632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861122','4550170489137','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:49:59	1632	[DEBUG]	No parent found
2023-10-13	12:49:59	1632	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861122 AND customfield_value = 'stockable'
2023-10-13	12:49:59	1632	[DEBUG]	Check product language entry
2023-10-13	12:49:59	1632	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861124
2023-10-13	12:49:59	1632	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:59	1632	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170489137' AND `virtuemart_product_id` != 1861124
2023-10-13	12:49:59	1632	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:49:59	1632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861124, '4550170489137')
2023-10-13	12:49:59	1632	[DEBUG]	Check if the product slug exists
2023-10-13	12:49:59	1632	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-46' AND `virtuemart_product_id` != 1861124
2023-10-13	12:49:59	1632	[DEBUG]	Query for ProductLang
2023-10-13	12:49:59	1632	[DEBUG]	Executed store
2023-10-13	12:49:59	1632	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5B SPD-SL / Blue  (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-46' WHERE `virtuemart_product_id` = '1861124'
2023-10-13	12:49:59	1632	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:49:59	1632	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:49:59	1632	[DEBUG]	Process image file
2023-10-13	12:49:59	1632	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:49:59	1632	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:49:59	1632	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:49:59	1632	[DEBUG]	Full name target: bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:49:59	1632	[DEBUG]	Checking if the file_url exists
2023-10-13	12:49:59	1632	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg'
2023-10-13	12:49:59	1632	[DEBUG]	Query for Media
2023-10-13	12:50:00	1632	[DEBUG]	Executed store
2023-10-13	12:50:00	1632	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_url_thumb`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '817052'
2023-10-13	12:50:00	1632	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:00	1632	[DEBUG]	Executed store
2023-10-13	12:50:00	1632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861124','817052','1')
2023-10-13	12:50:00	1632	[DEBUG]	Store product image relation
2023-10-13	12:50:00	1632	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:00	1632	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861124 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:00	1632	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:00	1632	[DEBUG]	Executed store
2023-10-13	12:50:00	1632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861124','0','176.415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:00	1632	[DEBUG]	Checking manufacturer
2023-10-13	12:50:00	1632	[DEBUG]	Load a row
2023-10-13	12:50:00	1632	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:00	1632	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:00	1632	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:00	1632	[DEBUG]	Executed store
2023-10-13	12:50:00	1632	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:00	1632	[DEBUG]	Manufacturer exists
2023-10-13	12:50:00	1632	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:00	1632	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:00	1632	[DEBUG]	Executed store
2023-10-13	12:50:00	1632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861124','26')
2023-10-13	12:50:00	1632	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:00	1632	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:00	1632	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861124 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:00	1632	[DEBUG]	Store custom available field
2023-10-13	12:50:00	1632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861124,3,'',1)
2023-10-13	12:50:00	1632	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:00	1632	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:50:00	1632	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861124 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:00	1632	[DEBUG]	Store custom available field
2023-10-13	12:50:00	1632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861124,6,'46',3)
2023-10-13	12:50:00	1632	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:00	1632	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:00	1632	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861122
2023-10-13	12:50:00	1632	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:00	1632	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n46\"}]|clabels=0|options={\"1861122\":[1861122,8,1,\"choisir la taille\"],\"1861123\":[\"39\"],\"1861124\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861122
2023-10-13	12:50:00	1632	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:00	1632	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861124
2023-10-13	12:50:00	1633	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:00	1633	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:00	1633	[DEBUG]	Use field value for field taille
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:00	1633	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:00	1633	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:00	1633	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:00	1633	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:00	1633	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:00	1633	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:00	1633	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:00	1633	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:00	1633	[DEBUG]	Use field value for field published
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:00	1633	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field override
2023-10-13	12:50:00	1633	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:00	1633	[DEBUG]	Use field value for field slug
2023-10-13	12:50:00	1633	[DEBUG]	Process line 1633
2023-10-13	12:50:00	1633	[DEBUG]	Load a row
2023-10-13	12:50:00	1633	[DEBUG]	Processing item: 1000000151466
2023-10-13	12:50:00	1633	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:00	1633	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:00	1633	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8408_88'
2023-10-13	12:50:00	1633	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:00	1633	[DEBUG]	Processing product tax
2023-10-13	12:50:00	1633	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:00	1633	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:00	1633	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:00	1633	[DEBUG]	Query for Product
2023-10-13	12:50:00	1633	[DEBUG]	Executed store
2023-10-13	12:50:00	1633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861122','1000000151466','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:00	1633	[DEBUG]	No parent found
2023-10-13	12:50:00	1633	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861122 AND customfield_value = 'stockable'
2023-10-13	12:50:00	1633	[DEBUG]	Check product language entry
2023-10-13	12:50:00	1633	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861125
2023-10-13	12:50:00	1633	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:00	1633	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000151466' AND `virtuemart_product_id` != 1861125
2023-10-13	12:50:00	1633	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:00	1633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861125, '1000000151466')
2023-10-13	12:50:00	1633	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:00	1633	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-47' AND `virtuemart_product_id` != 1861125
2023-10-13	12:50:00	1633	[DEBUG]	Query for ProductLang
2023-10-13	12:50:00	1633	[DEBUG]	Executed store
2023-10-13	12:50:00	1633	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5B SPD-SL / Blue  (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-47' WHERE `virtuemart_product_id` = '1861125'
2023-10-13	12:50:00	1633	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:00	1633	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:00	1633	[DEBUG]	Process image file
2023-10-13	12:50:00	1633	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:00	1633	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:00	1633	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:00	1633	[DEBUG]	Full name target: bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:01	1633	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:01	1633	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg'
2023-10-13	12:50:01	1633	[DEBUG]	Query for Media
2023-10-13	12:50:01	1633	[DEBUG]	Executed store
2023-10-13	12:50:01	1633	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_url_thumb`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '817052'
2023-10-13	12:50:01	1633	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:01	1633	[DEBUG]	Executed store
2023-10-13	12:50:01	1633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861125','817052','1')
2023-10-13	12:50:01	1633	[DEBUG]	Store product image relation
2023-10-13	12:50:01	1633	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:01	1633	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861125 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:01	1633	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:01	1633	[DEBUG]	Executed store
2023-10-13	12:50:01	1633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861125','0','176.415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:01	1633	[DEBUG]	Checking manufacturer
2023-10-13	12:50:01	1633	[DEBUG]	Load a row
2023-10-13	12:50:01	1633	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:01	1633	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:01	1633	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:01	1633	[DEBUG]	Executed store
2023-10-13	12:50:01	1633	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:01	1633	[DEBUG]	Manufacturer exists
2023-10-13	12:50:01	1633	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:01	1633	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:01	1633	[DEBUG]	Executed store
2023-10-13	12:50:01	1633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861125','26')
2023-10-13	12:50:01	1633	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:01	1633	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:01	1633	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861125 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:01	1633	[DEBUG]	Store custom available field
2023-10-13	12:50:01	1633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861125,3,'',1)
2023-10-13	12:50:01	1633	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:01	1633	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:50:01	1633	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861125 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:01	1633	[DEBUG]	Store custom available field
2023-10-13	12:50:01	1633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861125,6,'47',3)
2023-10-13	12:50:01	1633	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:01	1633	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:01	1633	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861122
2023-10-13	12:50:01	1633	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:01	1633	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n46\\r\\n47\"}]|clabels=0|options={\"1861122\":[1861122,8,1,\"choisir la taille\"],\"1861123\":[\"39\"],\"1861124\":[\"46\"],\"1861125\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1861122
2023-10-13	12:50:01	1633	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:01	1633	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861125
2023-10-13	12:50:01	1634	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:01	1634	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:01	1634	[DEBUG]	Use field value for field taille
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:01	1634	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:01	1634	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:01	1634	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:01	1634	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:01	1634	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:01	1634	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:01	1634	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:01	1634	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:01	1634	[DEBUG]	Use field value for field published
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:01	1634	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field override
2023-10-13	12:50:01	1634	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:01	1634	[DEBUG]	Use field value for field slug
2023-10-13	12:50:01	1634	[DEBUG]	Process line 1634
2023-10-13	12:50:01	1634	[DEBUG]	Load a row
2023-10-13	12:50:01	1634	[DEBUG]	Processing item: 1000000151473
2023-10-13	12:50:01	1634	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:01	1634	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:01	1634	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8408_88'
2023-10-13	12:50:01	1634	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:01	1634	[DEBUG]	Processing product tax
2023-10-13	12:50:01	1634	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:01	1634	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:01	1634	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:01	1634	[DEBUG]	Query for Product
2023-10-13	12:50:01	1634	[DEBUG]	Executed store
2023-10-13	12:50:01	1634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861122','1000000151473','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:01	1634	[DEBUG]	No parent found
2023-10-13	12:50:01	1634	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861122 AND customfield_value = 'stockable'
2023-10-13	12:50:01	1634	[DEBUG]	Check product language entry
2023-10-13	12:50:01	1634	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861126
2023-10-13	12:50:01	1634	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:01	1634	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000151473' AND `virtuemart_product_id` != 1861126
2023-10-13	12:50:01	1634	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:01	1634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861126, '1000000151473')
2023-10-13	12:50:01	1634	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:01	1634	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-48' AND `virtuemart_product_id` != 1861126
2023-10-13	12:50:01	1634	[DEBUG]	Query for ProductLang
2023-10-13	12:50:01	1634	[DEBUG]	Executed store
2023-10-13	12:50:01	1634	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5B SPD-SL / Blue  (48)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-48' WHERE `virtuemart_product_id` = '1861126'
2023-10-13	12:50:01	1634	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:01	1634	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:01	1634	[DEBUG]	Process image file
2023-10-13	12:50:01	1634	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:01	1634	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:01	1634	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:01	1634	[DEBUG]	Full name target: bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:02	1634	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:02	1634	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg'
2023-10-13	12:50:02	1634	[DEBUG]	Query for Media
2023-10-13	12:50:02	1634	[DEBUG]	Executed store
2023-10-13	12:50:02	1634	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_url_thumb`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '817052'
2023-10-13	12:50:02	1634	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:02	1634	[DEBUG]	Executed store
2023-10-13	12:50:02	1634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861126','817052','1')
2023-10-13	12:50:02	1634	[DEBUG]	Store product image relation
2023-10-13	12:50:02	1634	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:02	1634	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861126 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:02	1634	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:02	1634	[DEBUG]	Executed store
2023-10-13	12:50:02	1634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861126','0','176.415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:02	1634	[DEBUG]	Checking manufacturer
2023-10-13	12:50:02	1634	[DEBUG]	Load a row
2023-10-13	12:50:02	1634	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:02	1634	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:02	1634	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:02	1634	[DEBUG]	Executed store
2023-10-13	12:50:02	1634	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:02	1634	[DEBUG]	Manufacturer exists
2023-10-13	12:50:02	1634	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:02	1634	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:02	1634	[DEBUG]	Executed store
2023-10-13	12:50:02	1634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861126','26')
2023-10-13	12:50:02	1634	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:02	1634	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:02	1634	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861126 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:02	1634	[DEBUG]	Store custom available field
2023-10-13	12:50:02	1634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861126,3,'',1)
2023-10-13	12:50:02	1634	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:02	1634	[DEBUG]	Get existing row with customfield value 48
2023-10-13	12:50:02	1634	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861126 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:02	1634	[DEBUG]	Store custom available field
2023-10-13	12:50:02	1634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861126,6,'48',3)
2023-10-13	12:50:02	1634	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:02	1634	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:02	1634	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861122
2023-10-13	12:50:02	1634	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:02	1634	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n46\\r\\n47\\r\\n48\"}]|clabels=0|options={\"1861122\":[1861122,8,1,\"choisir la taille\"],\"1861123\":[\"39\"],\"1861124\":[\"46\"],\"1861125\":[\"47\"],\"1861126\":[\"48\"]}|' WHERE `virtuemart_product_id` = 1861122
2023-10-13	12:50:02	1634	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:02	1634	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861126
2023-10-13	12:50:02	1635	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:02	1635	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:02	1635	[DEBUG]	Use field value for field taille
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:02	1635	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:02	1635	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:02	1635	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:02	1635	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:02	1635	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:02	1635	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:02	1635	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:02	1635	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:02	1635	[DEBUG]	Use field value for field published
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:02	1635	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field override
2023-10-13	12:50:02	1635	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:02	1635	[DEBUG]	Use field value for field slug
2023-10-13	12:50:02	1635	[DEBUG]	Process line 1635
2023-10-13	12:50:02	1635	[DEBUG]	Load a row
2023-10-13	12:50:02	1635	[DEBUG]	Processing item: 1000000151480
2023-10-13	12:50:02	1635	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:02	1635	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:02	1635	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8408_88'
2023-10-13	12:50:02	1635	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:02	1635	[DEBUG]	Processing product tax
2023-10-13	12:50:02	1635	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:02	1635	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:02	1635	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:02	1635	[DEBUG]	Query for Product
2023-10-13	12:50:02	1635	[DEBUG]	Executed store
2023-10-13	12:50:02	1635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861122','1000000151480','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:02	1635	[DEBUG]	No parent found
2023-10-13	12:50:02	1635	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861122 AND customfield_value = 'stockable'
2023-10-13	12:50:02	1635	[DEBUG]	Check product language entry
2023-10-13	12:50:02	1635	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861127
2023-10-13	12:50:02	1635	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:02	1635	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000151480' AND `virtuemart_product_id` != 1861127
2023-10-13	12:50:02	1635	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:02	1635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861127, '1000000151480')
2023-10-13	12:50:02	1635	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:02	1635	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-40' AND `virtuemart_product_id` != 1861127
2023-10-13	12:50:02	1635	[DEBUG]	Query for ProductLang
2023-10-13	12:50:02	1635	[DEBUG]	Executed store
2023-10-13	12:50:02	1635	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5B SPD-SL / Blue  (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-40' WHERE `virtuemart_product_id` = '1861127'
2023-10-13	12:50:02	1635	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:02	1635	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:02	1635	[DEBUG]	Process image file
2023-10-13	12:50:02	1635	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:02	1635	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:02	1635	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:02	1635	[DEBUG]	Full name target: bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:03	1635	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:03	1635	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg'
2023-10-13	12:50:03	1635	[DEBUG]	Query for Media
2023-10-13	12:50:03	1635	[DEBUG]	Executed store
2023-10-13	12:50:03	1635	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_url_thumb`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '817052'
2023-10-13	12:50:03	1635	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:03	1635	[DEBUG]	Executed store
2023-10-13	12:50:03	1635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861127','817052','1')
2023-10-13	12:50:03	1635	[DEBUG]	Store product image relation
2023-10-13	12:50:03	1635	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:03	1635	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861127 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:03	1635	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:03	1635	[DEBUG]	Executed store
2023-10-13	12:50:03	1635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861127','0','176.415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:03	1635	[DEBUG]	Checking manufacturer
2023-10-13	12:50:03	1635	[DEBUG]	Load a row
2023-10-13	12:50:03	1635	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:03	1635	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:03	1635	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:03	1635	[DEBUG]	Executed store
2023-10-13	12:50:03	1635	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:03	1635	[DEBUG]	Manufacturer exists
2023-10-13	12:50:03	1635	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:03	1635	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:03	1635	[DEBUG]	Executed store
2023-10-13	12:50:03	1635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861127','26')
2023-10-13	12:50:03	1635	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:03	1635	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:03	1635	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861127 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:03	1635	[DEBUG]	Store custom available field
2023-10-13	12:50:03	1635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861127,3,'',1)
2023-10-13	12:50:03	1635	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:03	1635	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:50:03	1635	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861127 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:03	1635	[DEBUG]	Store custom available field
2023-10-13	12:50:03	1635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861127,6,'40',3)
2023-10-13	12:50:03	1635	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:03	1635	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:03	1635	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861122
2023-10-13	12:50:03	1635	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:03	1635	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n46\\r\\n47\\r\\n48\\r\\n40\"}]|clabels=0|options={\"1861122\":[1861122,8,1,\"choisir la taille\"],\"1861123\":[\"39\"],\"1861124\":[\"46\"],\"1861125\":[\"47\"],\"1861126\":[\"48\"],\"1861127\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861122
2023-10-13	12:50:03	1635	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:03	1635	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861127
2023-10-13	12:50:03	1636	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:03	1636	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:03	1636	[DEBUG]	Use field value for field taille
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:03	1636	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:03	1636	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:03	1636	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:03	1636	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:03	1636	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:03	1636	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:03	1636	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:03	1636	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:03	1636	[DEBUG]	Use field value for field published
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:03	1636	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field override
2023-10-13	12:50:03	1636	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:03	1636	[DEBUG]	Use field value for field slug
2023-10-13	12:50:03	1636	[DEBUG]	Process line 1636
2023-10-13	12:50:03	1636	[DEBUG]	Load a row
2023-10-13	12:50:03	1636	[DEBUG]	Processing item: 1000000151497
2023-10-13	12:50:03	1636	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:03	1636	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:03	1636	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8408_88'
2023-10-13	12:50:03	1636	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:03	1636	[DEBUG]	Processing product tax
2023-10-13	12:50:03	1636	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:03	1636	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:03	1636	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:03	1636	[DEBUG]	Query for Product
2023-10-13	12:50:03	1636	[DEBUG]	Executed store
2023-10-13	12:50:03	1636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861122','1000000151497','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:03	1636	[DEBUG]	No parent found
2023-10-13	12:50:03	1636	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861122 AND customfield_value = 'stockable'
2023-10-13	12:50:03	1636	[DEBUG]	Check product language entry
2023-10-13	12:50:03	1636	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861128
2023-10-13	12:50:03	1636	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:03	1636	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000151497' AND `virtuemart_product_id` != 1861128
2023-10-13	12:50:03	1636	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:03	1636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861128, '1000000151497')
2023-10-13	12:50:03	1636	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:03	1636	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-41' AND `virtuemart_product_id` != 1861128
2023-10-13	12:50:03	1636	[DEBUG]	Query for ProductLang
2023-10-13	12:50:03	1636	[DEBUG]	Executed store
2023-10-13	12:50:03	1636	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5B SPD-SL / Blue  (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-41' WHERE `virtuemart_product_id` = '1861128'
2023-10-13	12:50:03	1636	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:03	1636	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:03	1636	[DEBUG]	Process image file
2023-10-13	12:50:03	1636	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:03	1636	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:03	1636	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:03	1636	[DEBUG]	Full name target: bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:04	1636	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:04	1636	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg'
2023-10-13	12:50:04	1636	[DEBUG]	Query for Media
2023-10-13	12:50:04	1636	[DEBUG]	Executed store
2023-10-13	12:50:04	1636	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_url_thumb`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '817052'
2023-10-13	12:50:04	1636	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:04	1636	[DEBUG]	Executed store
2023-10-13	12:50:04	1636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861128','817052','1')
2023-10-13	12:50:04	1636	[DEBUG]	Store product image relation
2023-10-13	12:50:04	1636	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:04	1636	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861128 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:04	1636	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:04	1636	[DEBUG]	Executed store
2023-10-13	12:50:04	1636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861128','0','176.415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:04	1636	[DEBUG]	Checking manufacturer
2023-10-13	12:50:04	1636	[DEBUG]	Load a row
2023-10-13	12:50:04	1636	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:04	1636	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:04	1636	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:04	1636	[DEBUG]	Executed store
2023-10-13	12:50:04	1636	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:04	1636	[DEBUG]	Manufacturer exists
2023-10-13	12:50:04	1636	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:04	1636	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:04	1636	[DEBUG]	Executed store
2023-10-13	12:50:04	1636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861128','26')
2023-10-13	12:50:04	1636	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:04	1636	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:04	1636	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861128 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:04	1636	[DEBUG]	Store custom available field
2023-10-13	12:50:04	1636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861128,3,'',1)
2023-10-13	12:50:04	1636	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:04	1636	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:50:04	1636	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861128 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:04	1636	[DEBUG]	Store custom available field
2023-10-13	12:50:04	1636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861128,6,'41',3)
2023-10-13	12:50:04	1636	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:04	1636	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:04	1636	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861122
2023-10-13	12:50:04	1636	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:04	1636	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n46\\r\\n47\\r\\n48\\r\\n40\\r\\n41\"}]|clabels=0|options={\"1861122\":[1861122,8,1,\"choisir la taille\"],\"1861123\":[\"39\"],\"1861124\":[\"46\"],\"1861125\":[\"47\"],\"1861126\":[\"48\"],\"1861127\":[\"40\"],\"1861128\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861122
2023-10-13	12:50:04	1636	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:04	1636	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861128
2023-10-13	12:50:04	1637	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:04	1637	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:04	1637	[DEBUG]	Use field value for field taille
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:04	1637	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:04	1637	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:04	1637	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:04	1637	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:04	1637	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:04	1637	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:04	1637	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:04	1637	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:04	1637	[DEBUG]	Use field value for field published
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:04	1637	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field override
2023-10-13	12:50:04	1637	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:04	1637	[DEBUG]	Use field value for field slug
2023-10-13	12:50:04	1637	[DEBUG]	Process line 1637
2023-10-13	12:50:04	1637	[DEBUG]	Load a row
2023-10-13	12:50:04	1637	[DEBUG]	Processing item: 1000000151503
2023-10-13	12:50:04	1637	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:04	1637	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:04	1637	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8408_88'
2023-10-13	12:50:04	1637	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:04	1637	[DEBUG]	Processing product tax
2023-10-13	12:50:04	1637	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:04	1637	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:04	1637	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:04	1637	[DEBUG]	Query for Product
2023-10-13	12:50:04	1637	[DEBUG]	Executed store
2023-10-13	12:50:04	1637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861122','1000000151503','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:04	1637	[DEBUG]	No parent found
2023-10-13	12:50:04	1637	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861122 AND customfield_value = 'stockable'
2023-10-13	12:50:04	1637	[DEBUG]	Check product language entry
2023-10-13	12:50:04	1637	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861129
2023-10-13	12:50:04	1637	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:04	1637	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000151503' AND `virtuemart_product_id` != 1861129
2023-10-13	12:50:04	1637	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:04	1637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861129, '1000000151503')
2023-10-13	12:50:04	1637	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:04	1637	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-42' AND `virtuemart_product_id` != 1861129
2023-10-13	12:50:04	1637	[DEBUG]	Query for ProductLang
2023-10-13	12:50:04	1637	[DEBUG]	Executed store
2023-10-13	12:50:04	1637	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5B SPD-SL / Blue  (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-42' WHERE `virtuemart_product_id` = '1861129'
2023-10-13	12:50:04	1637	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:04	1637	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:04	1637	[DEBUG]	Process image file
2023-10-13	12:50:04	1637	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:04	1637	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:04	1637	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:04	1637	[DEBUG]	Full name target: bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:05	1637	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:05	1637	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg'
2023-10-13	12:50:05	1637	[DEBUG]	Query for Media
2023-10-13	12:50:05	1637	[DEBUG]	Executed store
2023-10-13	12:50:05	1637	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_url_thumb`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '817052'
2023-10-13	12:50:05	1637	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:05	1637	[DEBUG]	Executed store
2023-10-13	12:50:05	1637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861129','817052','1')
2023-10-13	12:50:05	1637	[DEBUG]	Store product image relation
2023-10-13	12:50:05	1637	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:05	1637	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861129 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:05	1637	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:05	1637	[DEBUG]	Executed store
2023-10-13	12:50:05	1637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861129','0','176.415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:05	1637	[DEBUG]	Checking manufacturer
2023-10-13	12:50:05	1637	[DEBUG]	Load a row
2023-10-13	12:50:05	1637	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:05	1637	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:05	1637	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:05	1637	[DEBUG]	Executed store
2023-10-13	12:50:05	1637	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:05	1637	[DEBUG]	Manufacturer exists
2023-10-13	12:50:05	1637	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:05	1637	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:05	1637	[DEBUG]	Executed store
2023-10-13	12:50:05	1637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861129','26')
2023-10-13	12:50:05	1637	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:05	1637	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:05	1637	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861129 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:05	1637	[DEBUG]	Store custom available field
2023-10-13	12:50:05	1637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861129,3,'',1)
2023-10-13	12:50:05	1637	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:05	1637	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:50:05	1637	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861129 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:05	1637	[DEBUG]	Store custom available field
2023-10-13	12:50:05	1637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861129,6,'42',3)
2023-10-13	12:50:05	1637	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:05	1637	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:05	1637	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861122
2023-10-13	12:50:05	1637	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:05	1637	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n46\\r\\n47\\r\\n48\\r\\n40\\r\\n41\\r\\n42\"}]|clabels=0|options={\"1861122\":[1861122,8,1,\"choisir la taille\"],\"1861123\":[\"39\"],\"1861124\":[\"46\"],\"1861125\":[\"47\"],\"1861126\":[\"48\"],\"1861127\":[\"40\"],\"1861128\":[\"41\"],\"1861129\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861122
2023-10-13	12:50:05	1637	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:05	1637	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861129
2023-10-13	12:50:05	1638	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:05	1638	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:05	1638	[DEBUG]	Use field value for field taille
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:05	1638	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:05	1638	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:05	1638	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:05	1638	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:05	1638	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:05	1638	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:05	1638	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:05	1638	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:05	1638	[DEBUG]	Use field value for field published
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:05	1638	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field override
2023-10-13	12:50:05	1638	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:05	1638	[DEBUG]	Use field value for field slug
2023-10-13	12:50:05	1638	[DEBUG]	Process line 1638
2023-10-13	12:50:05	1638	[DEBUG]	Load a row
2023-10-13	12:50:05	1638	[DEBUG]	Processing item: 1000000151510
2023-10-13	12:50:05	1638	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:05	1638	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:05	1638	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8408_88'
2023-10-13	12:50:05	1638	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:05	1638	[DEBUG]	Processing product tax
2023-10-13	12:50:05	1638	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:05	1638	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:05	1638	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:05	1638	[DEBUG]	Query for Product
2023-10-13	12:50:05	1638	[DEBUG]	Executed store
2023-10-13	12:50:05	1638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861122','1000000151510','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:05	1638	[DEBUG]	No parent found
2023-10-13	12:50:05	1638	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861122 AND customfield_value = 'stockable'
2023-10-13	12:50:05	1638	[DEBUG]	Check product language entry
2023-10-13	12:50:05	1638	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861130
2023-10-13	12:50:05	1638	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:05	1638	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000151510' AND `virtuemart_product_id` != 1861130
2023-10-13	12:50:05	1638	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:05	1638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861130, '1000000151510')
2023-10-13	12:50:05	1638	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:05	1638	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-43' AND `virtuemart_product_id` != 1861130
2023-10-13	12:50:05	1638	[DEBUG]	Query for ProductLang
2023-10-13	12:50:05	1638	[DEBUG]	Executed store
2023-10-13	12:50:05	1638	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5B SPD-SL / Blue  (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-43' WHERE `virtuemart_product_id` = '1861130'
2023-10-13	12:50:05	1638	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:05	1638	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:05	1638	[DEBUG]	Process image file
2023-10-13	12:50:05	1638	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:05	1638	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:05	1638	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:05	1638	[DEBUG]	Full name target: bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:06	1638	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:06	1638	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg'
2023-10-13	12:50:06	1638	[DEBUG]	Query for Media
2023-10-13	12:50:06	1638	[DEBUG]	Executed store
2023-10-13	12:50:06	1638	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_url_thumb`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '817052'
2023-10-13	12:50:06	1638	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:06	1638	[DEBUG]	Executed store
2023-10-13	12:50:06	1638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861130','817052','1')
2023-10-13	12:50:06	1638	[DEBUG]	Store product image relation
2023-10-13	12:50:06	1638	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:06	1638	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861130 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:06	1638	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:06	1638	[DEBUG]	Executed store
2023-10-13	12:50:06	1638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861130','0','176.415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:06	1638	[DEBUG]	Checking manufacturer
2023-10-13	12:50:06	1638	[DEBUG]	Load a row
2023-10-13	12:50:06	1638	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:06	1638	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:06	1638	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:06	1638	[DEBUG]	Executed store
2023-10-13	12:50:06	1638	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:06	1638	[DEBUG]	Manufacturer exists
2023-10-13	12:50:06	1638	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:06	1638	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:06	1638	[DEBUG]	Executed store
2023-10-13	12:50:06	1638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861130','26')
2023-10-13	12:50:06	1638	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:06	1638	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:06	1638	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861130 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:06	1638	[DEBUG]	Store custom available field
2023-10-13	12:50:06	1638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861130,3,'',1)
2023-10-13	12:50:06	1638	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:06	1638	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:50:06	1638	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861130 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:06	1638	[DEBUG]	Store custom available field
2023-10-13	12:50:06	1638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861130,6,'43',3)
2023-10-13	12:50:06	1638	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:06	1638	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:06	1638	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861122
2023-10-13	12:50:06	1638	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:06	1638	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n46\\r\\n47\\r\\n48\\r\\n40\\r\\n41\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1861122\":[1861122,8,1,\"choisir la taille\"],\"1861123\":[\"39\"],\"1861124\":[\"46\"],\"1861125\":[\"47\"],\"1861126\":[\"48\"],\"1861127\":[\"40\"],\"1861128\":[\"41\"],\"1861129\":[\"42\"],\"1861130\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861122
2023-10-13	12:50:06	1638	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:06	1638	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861130
2023-10-13	12:50:06	1639	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:06	1639	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:06	1639	[DEBUG]	Use field value for field taille
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:06	1639	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:06	1639	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:06	1639	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:06	1639	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:06	1639	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:06	1639	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:06	1639	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:06	1639	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:06	1639	[DEBUG]	Use field value for field published
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:06	1639	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field override
2023-10-13	12:50:06	1639	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:06	1639	[DEBUG]	Use field value for field slug
2023-10-13	12:50:06	1639	[DEBUG]	Process line 1639
2023-10-13	12:50:06	1639	[DEBUG]	Load a row
2023-10-13	12:50:06	1639	[DEBUG]	Processing item: 1000000151527
2023-10-13	12:50:06	1639	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:06	1639	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:06	1639	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8408_88'
2023-10-13	12:50:06	1639	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:06	1639	[DEBUG]	Processing product tax
2023-10-13	12:50:06	1639	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:06	1639	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:06	1639	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:06	1639	[DEBUG]	Query for Product
2023-10-13	12:50:06	1639	[DEBUG]	Executed store
2023-10-13	12:50:06	1639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861122','1000000151527','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:06	1639	[DEBUG]	No parent found
2023-10-13	12:50:06	1639	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861122 AND customfield_value = 'stockable'
2023-10-13	12:50:06	1639	[DEBUG]	Check product language entry
2023-10-13	12:50:06	1639	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861131
2023-10-13	12:50:06	1639	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:06	1639	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000151527' AND `virtuemart_product_id` != 1861131
2023-10-13	12:50:06	1639	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:06	1639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861131, '1000000151527')
2023-10-13	12:50:06	1639	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:06	1639	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-44' AND `virtuemart_product_id` != 1861131
2023-10-13	12:50:06	1639	[DEBUG]	Query for ProductLang
2023-10-13	12:50:06	1639	[DEBUG]	Executed store
2023-10-13	12:50:06	1639	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5B SPD-SL / Blue  (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-44' WHERE `virtuemart_product_id` = '1861131'
2023-10-13	12:50:06	1639	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:06	1639	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:06	1639	[DEBUG]	Process image file
2023-10-13	12:50:06	1639	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:06	1639	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:06	1639	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:06	1639	[DEBUG]	Full name target: bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:07	1639	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:07	1639	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg'
2023-10-13	12:50:07	1639	[DEBUG]	Query for Media
2023-10-13	12:50:07	1639	[DEBUG]	Executed store
2023-10-13	12:50:07	1639	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_url_thumb`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '817052'
2023-10-13	12:50:07	1639	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:07	1639	[DEBUG]	Executed store
2023-10-13	12:50:07	1639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861131','817052','1')
2023-10-13	12:50:07	1639	[DEBUG]	Store product image relation
2023-10-13	12:50:07	1639	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:07	1639	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861131 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:07	1639	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:07	1639	[DEBUG]	Executed store
2023-10-13	12:50:07	1639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861131','0','176.415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:07	1639	[DEBUG]	Checking manufacturer
2023-10-13	12:50:07	1639	[DEBUG]	Load a row
2023-10-13	12:50:07	1639	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:07	1639	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:07	1639	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:07	1639	[DEBUG]	Executed store
2023-10-13	12:50:07	1639	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:07	1639	[DEBUG]	Manufacturer exists
2023-10-13	12:50:07	1639	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:07	1639	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:07	1639	[DEBUG]	Executed store
2023-10-13	12:50:07	1639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861131','26')
2023-10-13	12:50:07	1639	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:07	1639	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:07	1639	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861131 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:07	1639	[DEBUG]	Store custom available field
2023-10-13	12:50:07	1639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861131,3,'',1)
2023-10-13	12:50:07	1639	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:07	1639	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:50:07	1639	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861131 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:07	1639	[DEBUG]	Store custom available field
2023-10-13	12:50:07	1639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861131,6,'44',3)
2023-10-13	12:50:07	1639	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:07	1639	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:07	1639	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861122
2023-10-13	12:50:07	1639	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:07	1639	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n46\\r\\n47\\r\\n48\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1861122\":[1861122,8,1,\"choisir la taille\"],\"1861123\":[\"39\"],\"1861124\":[\"46\"],\"1861125\":[\"47\"],\"1861126\":[\"48\"],\"1861127\":[\"40\"],\"1861128\":[\"41\"],\"1861129\":[\"42\"],\"1861130\":[\"43\"],\"1861131\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861122
2023-10-13	12:50:07	1639	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:07	1639	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861131
2023-10-13	12:50:07	1640	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:07	1640	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:07	1640	[DEBUG]	Use field value for field taille
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:07	1640	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:07	1640	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:07	1640	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:07	1640	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:07	1640	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:07	1640	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:07	1640	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:07	1640	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:07	1640	[DEBUG]	Use field value for field published
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:07	1640	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field override
2023-10-13	12:50:07	1640	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:07	1640	[DEBUG]	Use field value for field slug
2023-10-13	12:50:07	1640	[DEBUG]	Process line 1640
2023-10-13	12:50:07	1640	[DEBUG]	Load a row
2023-10-13	12:50:07	1640	[DEBUG]	Processing item: 1000000151534
2023-10-13	12:50:07	1640	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:07	1640	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:07	1640	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8408_88'
2023-10-13	12:50:07	1640	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:07	1640	[DEBUG]	Processing product tax
2023-10-13	12:50:07	1640	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:07	1640	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:07	1640	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:07	1640	[DEBUG]	Query for Product
2023-10-13	12:50:07	1640	[DEBUG]	Executed store
2023-10-13	12:50:07	1640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861122','1000000151534','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:07	1640	[DEBUG]	No parent found
2023-10-13	12:50:07	1640	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861122 AND customfield_value = 'stockable'
2023-10-13	12:50:07	1640	[DEBUG]	Check product language entry
2023-10-13	12:50:07	1640	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861132
2023-10-13	12:50:07	1640	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:07	1640	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000151534' AND `virtuemart_product_id` != 1861132
2023-10-13	12:50:07	1640	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:07	1640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861132, '1000000151534')
2023-10-13	12:50:07	1640	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:07	1640	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-45' AND `virtuemart_product_id` != 1861132
2023-10-13	12:50:07	1640	[DEBUG]	Query for ProductLang
2023-10-13	12:50:07	1640	[DEBUG]	Executed store
2023-10-13	12:50:07	1640	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5B SPD-SL / Blue  (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5b-spd-sl-blue-45' WHERE `virtuemart_product_id` = '1861132'
2023-10-13	12:50:07	1640	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:07	1640	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:07	1640	[DEBUG]	Process image file
2023-10-13	12:50:07	1640	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:07	1640	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:07	1640	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:07	1640	[DEBUG]	Full name target: bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg
2023-10-13	12:50:08	1640	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:08	1640	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg'
2023-10-13	12:50:08	1640	[DEBUG]	Query for Media
2023-10-13	12:50:08	1640	[DEBUG]	Executed store
2023-10-13	12:50:08	1640	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_url_thumb`='bcprisme/37071_chaussures_men_road_sh-rc5b_spd-sl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '817052'
2023-10-13	12:50:08	1640	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:08	1640	[DEBUG]	Executed store
2023-10-13	12:50:08	1640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861132','817052','1')
2023-10-13	12:50:08	1640	[DEBUG]	Store product image relation
2023-10-13	12:50:08	1640	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:08	1640	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861132 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:08	1640	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:08	1640	[DEBUG]	Executed store
2023-10-13	12:50:08	1640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861132','0','176.415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:08	1640	[DEBUG]	Checking manufacturer
2023-10-13	12:50:08	1640	[DEBUG]	Load a row
2023-10-13	12:50:08	1640	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:08	1640	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:08	1640	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:08	1640	[DEBUG]	Executed store
2023-10-13	12:50:08	1640	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:08	1640	[DEBUG]	Manufacturer exists
2023-10-13	12:50:08	1640	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:08	1640	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:08	1640	[DEBUG]	Executed store
2023-10-13	12:50:08	1640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861132','26')
2023-10-13	12:50:08	1640	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:08	1640	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:08	1640	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861132 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:08	1640	[DEBUG]	Store custom available field
2023-10-13	12:50:08	1640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861132,3,'',1)
2023-10-13	12:50:08	1640	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:08	1640	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:50:08	1640	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861132 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:08	1640	[DEBUG]	Store custom available field
2023-10-13	12:50:08	1640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861132,6,'45',3)
2023-10-13	12:50:08	1640	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:08	1640	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:08	1640	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861122
2023-10-13	12:50:08	1640	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:08	1640	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\\r\\n46\\r\\n47\\r\\n48\\r\\n40\\r\\n41\\r\\n42\\r\\n43\\r\\n44\\r\\n45\"}]|clabels=0|options={\"1861122\":[1861122,8,1,\"choisir la taille\"],\"1861123\":[\"39\"],\"1861124\":[\"46\"],\"1861125\":[\"47\"],\"1861126\":[\"48\"],\"1861127\":[\"40\"],\"1861128\":[\"41\"],\"1861129\":[\"42\"],\"1861130\":[\"43\"],\"1861131\":[\"44\"],\"1861132\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861122
2023-10-13	12:50:08	1640	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:08	1640	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861132
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:08	1641	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field taille
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field category_path
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:08	1641	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:50:08	1641	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:08	1641	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field product_weight
2023-10-13	12:50:08	1641	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:08	1641	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:08	1641	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field published
2023-10-13	12:50:08	1641	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:08	1641	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field custom_title
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field custom_param
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field override
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field public_price
2023-10-13	12:50:08	1641	[DEBUG]	Use field value for field slug
2023-10-13	12:50:08	1641	[DEBUG]	Process line 1641
2023-10-13	12:50:08	1641	[DEBUG]	Load a row
2023-10-13	12:50:08	1641	[DEBUG]	Processing item: A_8745_171
2023-10-13	12:50:08	1641	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:08	1641	[DEBUG]	Processing product tax
2023-10-13	12:50:08	1641	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:08	1641	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:08	1641	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:08	1641	[DEBUG]	Query for Product
2023-10-13	12:50:08	1641	[DEBUG]	Executed store
2023-10-13	12:50:08	1641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8745_171','0.8','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:08	1641	[DEBUG]	Check product language entry
2023-10-13	12:50:08	1641	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861133
2023-10-13	12:50:08	1641	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:08	1641	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8745_171' AND `virtuemart_product_id` != 1861133
2023-10-13	12:50:08	1641	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:08	1641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861133, 'A_8745_171')
2023-10-13	12:50:08	1641	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:08	1641	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-chaussures-men-mtb-x-alp-launch-marron' AND `virtuemart_product_id` != 1861133
2023-10-13	12:50:08	1641	[DEBUG]	Query for ProductLang
2023-10-13	12:50:08	1641	[DEBUG]	Executed store
2023-10-13	12:50:08	1641	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='haussure supérieure perforée d\'une seule pièce, respirante et sèche rapidement<br>Le tissu Cordura® fabriqué à partir de matériaux recyclés est robuste et écologique<br>Le système BOA® Fit avec bobine L6C permet un ajustement précis pendant la conduite<br>La semelle extérieure Vibram ECOSTEP® offre le mélange parfait d\'une excellente adhérence, traction et durabilité<br>La semelle intercalaire en EVA absorbe les chocs, compatible avec les cales SPD à 2 trous<br>N° art fourn : 58.79690',`product_name`='Pearl Izumi Chaussures Men MTB X-Alp Launch / Marron',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-chaussures-men-mtb-x-alp-launch-marron' WHERE `virtuemart_product_id` = '1861133'
2023-10-13	12:50:08	1641	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79690_se.jpg
2023-10-13	12:50:08	1641	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:08	1641	[DEBUG]	Process image file
2023-10-13	12:50:08	1641	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:08	1641	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:08	1641	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79690_se.jpg
2023-10-13	12:50:08	1641	[DEBUG]	Full name target: bcprisme/58_79690_se.jpg
2023-10-13	12:50:09	1641	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:09	1641	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/58_79690_se.jpg'
2023-10-13	12:50:09	1641	[DEBUG]	Query for Media
2023-10-13	12:50:09	1641	[DEBUG]	Executed store
2023-10-13	12:50:09	1641	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/58_79690_se.jpg',`file_url_thumb`='bcprisme/58_79690_se.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1070360'
2023-10-13	12:50:09	1641	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:09	1641	[DEBUG]	Executed store
2023-10-13	12:50:09	1641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861133','1070360','1')
2023-10-13	12:50:09	1641	[DEBUG]	Store product image relation
2023-10-13	12:50:09	1641	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:09	1641	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861133 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:09	1641	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:09	1641	[DEBUG]	Executed store
2023-10-13	12:50:09	1641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861133','0','185.701021355617','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:09	1641	[DEBUG]	Checking manufacturer
2023-10-13	12:50:09	1641	[DEBUG]	Load a row
2023-10-13	12:50:09	1641	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:09	1641	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:09	1641	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:09	1641	[DEBUG]	Executed store
2023-10-13	12:50:09	1641	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:09	1641	[DEBUG]	Manufacturer exists
2023-10-13	12:50:09	1641	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:50:09	1641	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:09	1641	[DEBUG]	Executed store
2023-10-13	12:50:09	1641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861133','73')
2023-10-13	12:50:09	1641	[DEBUG]	Find the custom field ID
2023-10-13	12:50:09	1641	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:50:09	1641	[DEBUG]	No custom field ID found
2023-10-13	12:50:09	1641	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:09	1641	[DEBUG]	Get existing row with customfield value 189.3725
2023-10-13	12:50:09	1641	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861133 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:09	1641	[DEBUG]	Store custom available field
2023-10-13	12:50:09	1641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861133,3,'189.3725',1)
2023-10-13	12:50:09	1641	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:09	1641	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:50:09	1641	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861133 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:09	1641	[DEBUG]	Store custom available field
2023-10-13	12:50:09	1641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861133,6,'choisir la taille',3)
2023-10-13	12:50:09	1641	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:09	1641	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:50:09	1641	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:50:09	1641	[DEBUG]	Find the multi variant product entry
2023-10-13	12:50:09	1641	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861133 AND `virtuemart_custom_id` = 8
2023-10-13	12:50:09	1641	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:50:09	1641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861133,8,1)
2023-10-13	12:50:09	1641	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:09	1641	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861133\":[1861133,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861133
2023-10-13	12:50:09	1641	[DEBUG]	Checking category
2023-10-13	12:50:09	1641	[DEBUG]	Get the existing categories for the product
2023-10-13	12:50:09	1641	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861133
2023-10-13	12:50:09	1641	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:50:09	1641	[DEBUG]	Executed store
2023-10-13	12:50:09	1641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861133','7331')
2023-10-13	12:50:09	1641	[DEBUG]	Delete leftover product categories
2023-10-13	12:50:09	1641	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861133 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:50:09	1641	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:09	1641	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861133
2023-10-13	12:50:09	1642	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:09	1642	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:09	1642	[DEBUG]	Use field value for field taille
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:09	1642	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:09	1642	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:09	1642	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:09	1642	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:09	1642	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:09	1642	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:09	1642	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:09	1642	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:09	1642	[DEBUG]	Use field value for field published
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:09	1642	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field override
2023-10-13	12:50:09	1642	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:09	1642	[DEBUG]	Use field value for field slug
2023-10-13	12:50:09	1642	[DEBUG]	Process line 1642
2023-10-13	12:50:09	1642	[DEBUG]	Load a row
2023-10-13	12:50:09	1642	[DEBUG]	Processing item: 120234722247
2023-10-13	12:50:09	1642	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:09	1642	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:09	1642	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8745_171'
2023-10-13	12:50:09	1642	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:09	1642	[DEBUG]	Processing product tax
2023-10-13	12:50:09	1642	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:09	1642	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:09	1642	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:09	1642	[DEBUG]	Query for Product
2023-10-13	12:50:09	1642	[DEBUG]	Executed store
2023-10-13	12:50:09	1642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861133','120234722247','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:09	1642	[DEBUG]	No parent found
2023-10-13	12:50:09	1642	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861133 AND customfield_value = 'stockable'
2023-10-13	12:50:09	1642	[DEBUG]	Check product language entry
2023-10-13	12:50:09	1642	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861134
2023-10-13	12:50:09	1642	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:09	1642	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '120234722247' AND `virtuemart_product_id` != 1861134
2023-10-13	12:50:09	1642	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:09	1642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861134, '120234722247')
2023-10-13	12:50:09	1642	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:09	1642	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-chaussures-men-mtb-x-alp-launch-marron-42' AND `virtuemart_product_id` != 1861134
2023-10-13	12:50:09	1642	[DEBUG]	Query for ProductLang
2023-10-13	12:50:09	1642	[DEBUG]	Executed store
2023-10-13	12:50:09	1642	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pearl Izumi Chaussures Men MTB X-Alp Launch / Marron (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-chaussures-men-mtb-x-alp-launch-marron-42' WHERE `virtuemart_product_id` = '1861134'
2023-10-13	12:50:09	1642	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79690_se.jpg
2023-10-13	12:50:09	1642	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:09	1642	[DEBUG]	Process image file
2023-10-13	12:50:09	1642	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:09	1642	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:09	1642	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79690_se.jpg
2023-10-13	12:50:09	1642	[DEBUG]	Full name target: bcprisme/58_79690_se.jpg
2023-10-13	12:50:10	1642	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:10	1642	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/58_79690_se.jpg'
2023-10-13	12:50:10	1642	[DEBUG]	Query for Media
2023-10-13	12:50:10	1642	[DEBUG]	Executed store
2023-10-13	12:50:10	1642	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/58_79690_se.jpg',`file_url_thumb`='bcprisme/58_79690_se.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1070360'
2023-10-13	12:50:10	1642	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:10	1642	[DEBUG]	Executed store
2023-10-13	12:50:10	1642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861134','1070360','1')
2023-10-13	12:50:10	1642	[DEBUG]	Store product image relation
2023-10-13	12:50:10	1642	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:10	1642	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861134 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:10	1642	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:10	1642	[DEBUG]	Executed store
2023-10-13	12:50:10	1642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861134','0','185.701021355617','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:10	1642	[DEBUG]	Checking manufacturer
2023-10-13	12:50:10	1642	[DEBUG]	Load a row
2023-10-13	12:50:10	1642	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:10	1642	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:10	1642	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:10	1642	[DEBUG]	Executed store
2023-10-13	12:50:10	1642	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:10	1642	[DEBUG]	Manufacturer exists
2023-10-13	12:50:10	1642	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:50:10	1642	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:10	1642	[DEBUG]	Executed store
2023-10-13	12:50:10	1642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861134','73')
2023-10-13	12:50:10	1642	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:10	1642	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:10	1642	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861134 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:10	1642	[DEBUG]	Store custom available field
2023-10-13	12:50:10	1642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861134,3,'',1)
2023-10-13	12:50:10	1642	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:10	1642	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:50:10	1642	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861134 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:10	1642	[DEBUG]	Store custom available field
2023-10-13	12:50:10	1642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861134,6,'42',3)
2023-10-13	12:50:10	1642	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:10	1642	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:10	1642	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861133
2023-10-13	12:50:10	1642	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:10	1642	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n42\"}]|clabels=0|options={\"1861133\":[1861133,8,1,\"choisir la taille\"],\"1861134\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861133
2023-10-13	12:50:10	1642	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:10	1642	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861134
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:10	1643	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field taille
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field category_path
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:10	1643	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:50:10	1643	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:10	1643	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field product_weight
2023-10-13	12:50:10	1643	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:10	1643	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:10	1643	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field published
2023-10-13	12:50:10	1643	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:10	1643	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field custom_title
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field custom_param
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field override
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field public_price
2023-10-13	12:50:10	1643	[DEBUG]	Use field value for field slug
2023-10-13	12:50:10	1643	[DEBUG]	Process line 1643
2023-10-13	12:50:10	1643	[DEBUG]	Load a row
2023-10-13	12:50:10	1643	[DEBUG]	Processing item: A_8884_22
2023-10-13	12:50:10	1643	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:10	1643	[DEBUG]	Processing product tax
2023-10-13	12:50:10	1643	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:10	1643	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:10	1643	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:10	1643	[DEBUG]	Query for Product
2023-10-13	12:50:10	1643	[DEBUG]	Executed store
2023-10-13	12:50:10	1643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8884_22','0.8','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:10	1643	[DEBUG]	Check product language entry
2023-10-13	12:50:10	1643	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861135
2023-10-13	12:50:10	1643	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:10	1643	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8884_22' AND `virtuemart_product_id` != 1861135
2023-10-13	12:50:10	1643	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:10	1643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861135, 'A_8884_22')
2023-10-13	12:50:10	1643	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:10	1643	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-uyn-man-urban-outdoor-bleu' AND `virtuemart_product_id` != 1861135
2023-10-13	12:50:10	1643	[DEBUG]	Query for ProductLang
2023-10-13	12:50:10	1643	[DEBUG]	Executed store
2023-10-13	12:50:10	1643	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='FUNCTIONAL SHIELD, semelle intermédiaire thermoformée offrant une stabilité en torsion et en flexion<br>TUNE LACES, système de laçage permettant d’ajuster la largeur pour assurer un meilleur<br>NATEX, fibre naturelle d\'huile de ricin (végétale), fibre innovante et robuste, sèche 50% plus vite que le nylon, naturellement inodore<br>La saumure Hoof-Heel avec Boost Control Blade offre une symbiose parfaite d\'amortissement et de stabilité<br>Marque:UYNSecteur d\'utilisation:TrekkingDescription du produit:Chaussure d\'extérieurModèle:Urban OutdoorSexe:HommesSemelle:Saumure Hoof-Heel avec matériau EVA et Boost Control Blade<br>N° art fourn : 95.79967_43',`product_name`='SHIMANO Chaussures UYN Man Urban Outdoor / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-uyn-man-urban-outdoor-bleu' WHERE `virtuemart_product_id` = '1861135'
2023-10-13	12:50:10	1643	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37871_chaussures_uyn_man_urban_outdoor.jpg
2023-10-13	12:50:10	1643	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:10	1643	[DEBUG]	Process image file
2023-10-13	12:50:10	1643	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:10	1643	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:10	1643	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37871_chaussures_uyn_man_urban_outdoor.jpg
2023-10-13	12:50:10	1643	[DEBUG]	Full name target: bcprisme/37871_chaussures_uyn_man_urban_outdoor.jpg
2023-10-13	12:50:11	1643	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:11	1643	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37871_chaussures_uyn_man_urban_outdoor.jpg'
2023-10-13	12:50:11	1643	[DEBUG]	Query for Media
2023-10-13	12:50:11	1643	[DEBUG]	Executed store
2023-10-13	12:50:11	1643	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37871_chaussures_uyn_man_urban_outdoor.jpg',`file_url_thumb`='bcprisme/37871_chaussures_uyn_man_urban_outdoor.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1131727'
2023-10-13	12:50:11	1643	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:11	1643	[DEBUG]	Executed store
2023-10-13	12:50:11	1643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861135','1131727','1')
2023-10-13	12:50:11	1643	[DEBUG]	Store product image relation
2023-10-13	12:50:11	1643	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:11	1643	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861135 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:11	1643	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:11	1643	[DEBUG]	Executed store
2023-10-13	12:50:11	1643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861135','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:11	1643	[DEBUG]	Checking manufacturer
2023-10-13	12:50:11	1643	[DEBUG]	Load a row
2023-10-13	12:50:11	1643	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:11	1643	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:11	1643	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:11	1643	[DEBUG]	Executed store
2023-10-13	12:50:11	1643	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:11	1643	[DEBUG]	Manufacturer exists
2023-10-13	12:50:11	1643	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:11	1643	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:11	1643	[DEBUG]	Executed store
2023-10-13	12:50:11	1643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861135','26')
2023-10-13	12:50:11	1643	[DEBUG]	Find the custom field ID
2023-10-13	12:50:11	1643	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:50:11	1643	[DEBUG]	No custom field ID found
2023-10-13	12:50:11	1643	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:11	1643	[DEBUG]	Get existing row with customfield value 189.3725
2023-10-13	12:50:11	1643	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861135 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:11	1643	[DEBUG]	Store custom available field
2023-10-13	12:50:11	1643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861135,3,'189.3725',1)
2023-10-13	12:50:11	1643	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:11	1643	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:50:11	1643	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861135 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:11	1643	[DEBUG]	Store custom available field
2023-10-13	12:50:11	1643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861135,6,'choisir la taille',3)
2023-10-13	12:50:11	1643	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:11	1643	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:50:11	1643	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:50:11	1643	[DEBUG]	Find the multi variant product entry
2023-10-13	12:50:11	1643	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861135 AND `virtuemart_custom_id` = 8
2023-10-13	12:50:11	1643	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:50:11	1643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861135,8,1)
2023-10-13	12:50:11	1643	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:11	1643	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861135\":[1861135,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861135
2023-10-13	12:50:11	1643	[DEBUG]	Checking category
2023-10-13	12:50:11	1643	[DEBUG]	Get the existing categories for the product
2023-10-13	12:50:11	1643	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861135
2023-10-13	12:50:11	1643	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:50:11	1643	[DEBUG]	Executed store
2023-10-13	12:50:11	1643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861135','7331')
2023-10-13	12:50:11	1643	[DEBUG]	Delete leftover product categories
2023-10-13	12:50:11	1643	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861135 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:50:11	1643	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:11	1643	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861135
2023-10-13	12:50:11	1644	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:11	1644	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:11	1644	[DEBUG]	Use field value for field taille
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:11	1644	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:11	1644	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:11	1644	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:11	1644	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:11	1644	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:11	1644	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:11	1644	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:11	1644	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:11	1644	[DEBUG]	Use field value for field published
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:11	1644	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field override
2023-10-13	12:50:11	1644	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:11	1644	[DEBUG]	Use field value for field slug
2023-10-13	12:50:11	1644	[DEBUG]	Process line 1644
2023-10-13	12:50:11	1644	[DEBUG]	Load a row
2023-10-13	12:50:11	1644	[DEBUG]	Processing item: 1000000169966
2023-10-13	12:50:11	1644	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:11	1644	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:11	1644	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8884_22'
2023-10-13	12:50:11	1644	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:11	1644	[DEBUG]	Processing product tax
2023-10-13	12:50:11	1644	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:11	1644	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:11	1644	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:11	1644	[DEBUG]	Query for Product
2023-10-13	12:50:11	1644	[DEBUG]	Executed store
2023-10-13	12:50:11	1644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861135','1000000169966','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:11	1644	[DEBUG]	No parent found
2023-10-13	12:50:11	1644	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861135 AND customfield_value = 'stockable'
2023-10-13	12:50:11	1644	[DEBUG]	Check product language entry
2023-10-13	12:50:11	1644	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861136
2023-10-13	12:50:11	1644	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:11	1644	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000169966' AND `virtuemart_product_id` != 1861136
2023-10-13	12:50:11	1644	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:11	1644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861136, '1000000169966')
2023-10-13	12:50:11	1644	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:11	1644	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-uyn-man-urban-outdoor-bleu-43' AND `virtuemart_product_id` != 1861136
2023-10-13	12:50:11	1644	[DEBUG]	Query for ProductLang
2023-10-13	12:50:11	1644	[DEBUG]	Executed store
2023-10-13	12:50:11	1644	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures UYN Man Urban Outdoor / Bleu (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-uyn-man-urban-outdoor-bleu-43' WHERE `virtuemart_product_id` = '1861136'
2023-10-13	12:50:11	1644	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37871_chaussures_uyn_man_urban_outdoor.jpg
2023-10-13	12:50:11	1644	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:11	1644	[DEBUG]	Process image file
2023-10-13	12:50:11	1644	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:11	1644	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:11	1644	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37871_chaussures_uyn_man_urban_outdoor.jpg
2023-10-13	12:50:11	1644	[DEBUG]	Full name target: bcprisme/37871_chaussures_uyn_man_urban_outdoor.jpg
2023-10-13	12:50:12	1644	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:12	1644	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37871_chaussures_uyn_man_urban_outdoor.jpg'
2023-10-13	12:50:12	1644	[DEBUG]	Query for Media
2023-10-13	12:50:12	1644	[DEBUG]	Executed store
2023-10-13	12:50:12	1644	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37871_chaussures_uyn_man_urban_outdoor.jpg',`file_url_thumb`='bcprisme/37871_chaussures_uyn_man_urban_outdoor.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1131727'
2023-10-13	12:50:12	1644	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:12	1644	[DEBUG]	Executed store
2023-10-13	12:50:12	1644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861136','1131727','1')
2023-10-13	12:50:12	1644	[DEBUG]	Store product image relation
2023-10-13	12:50:12	1644	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:12	1644	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861136 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:12	1644	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:12	1644	[DEBUG]	Executed store
2023-10-13	12:50:12	1644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861136','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:12	1644	[DEBUG]	Checking manufacturer
2023-10-13	12:50:12	1644	[DEBUG]	Load a row
2023-10-13	12:50:12	1644	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:12	1644	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:12	1644	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:12	1644	[DEBUG]	Executed store
2023-10-13	12:50:12	1644	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:12	1644	[DEBUG]	Manufacturer exists
2023-10-13	12:50:12	1644	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:12	1644	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:12	1644	[DEBUG]	Executed store
2023-10-13	12:50:12	1644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861136','26')
2023-10-13	12:50:12	1644	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:12	1644	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:12	1644	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861136 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:12	1644	[DEBUG]	Store custom available field
2023-10-13	12:50:12	1644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861136,3,'',1)
2023-10-13	12:50:12	1644	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:12	1644	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:50:12	1644	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861136 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:12	1644	[DEBUG]	Store custom available field
2023-10-13	12:50:12	1644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861136,6,'43',3)
2023-10-13	12:50:12	1644	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:12	1644	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:12	1644	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861135
2023-10-13	12:50:12	1644	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:12	1644	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n43\"}]|clabels=0|options={\"1861135\":[1861135,8,1,\"choisir la taille\"],\"1861136\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861135
2023-10-13	12:50:12	1644	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:12	1644	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861136
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:12	1645	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field taille
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field category_path
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:12	1645	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:50:12	1645	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:12	1645	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field product_weight
2023-10-13	12:50:12	1645	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:12	1645	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:12	1645	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field published
2023-10-13	12:50:12	1645	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:12	1645	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field custom_title
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field custom_param
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field override
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field public_price
2023-10-13	12:50:12	1645	[DEBUG]	Use field value for field slug
2023-10-13	12:50:12	1645	[DEBUG]	Process line 1645
2023-10-13	12:50:12	1645	[DEBUG]	Load a row
2023-10-13	12:50:12	1645	[DEBUG]	Processing item: A_8982_742
2023-10-13	12:50:12	1645	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:12	1645	[DEBUG]	Processing product tax
2023-10-13	12:50:12	1645	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:12	1645	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:12	1645	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:12	1645	[DEBUG]	Query for Product
2023-10-13	12:50:12	1645	[DEBUG]	Executed store
2023-10-13	12:50:12	1645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8982_742','0.8','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:12	1645	[DEBUG]	Check product language entry
2023-10-13	12:50:12	1645	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861137
2023-10-13	12:50:12	1645	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:12	1645	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8982_742' AND `virtuemart_product_id` != 1861137
2023-10-13	12:50:12	1645	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:12	1645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861137, 'A_8982_742')
2023-10-13	12:50:12	1645	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:12	1645	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-chaussures-mtb-x-alp-launch-red-wood-sunset-orange' AND `virtuemart_product_id` != 1861137
2023-10-13	12:50:12	1645	[DEBUG]	Query for ProductLang
2023-10-13	12:50:12	1645	[DEBUG]	Executed store
2023-10-13	12:50:12	1645	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaussure supérieure monobloc en Cordura® de recyclage robuste avec ouvertures de perforation respirante et à séchage rapide<br>Zone des orteils renforcée pour plus de protection<br>Le système BOA® Fit avec bobine L6C permet un ajustement précis pendant la conduite<br>La semelle intermédiaire en EVA absorbe les chocs, conçue pour les pédales à plateforme et non compatible avec les pédales automatiques<br>Semelle PinLoc Outsole® avec caoutchouc de qualité supérieure Goodyear® garantit une excellente traction et une tenue sûre<br>Marque:PEARL iZUMiSecteur d\'utilisation:VTTDescription du produit:Chaussures de véloModèle:X-Alp LaunchSexe:HommesSystème de pédale:Plate-formeTailles:40 - 47  <br>Afficher plus<br>N° art fourn : 58.79689',`product_name`='Pearl Izumi Chaussures MTB X-Alp Launch / Red Wood Sunset Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-chaussures-mtb-x-alp-launch-red-wood-sunset-orange' WHERE `virtuemart_product_id` = '1861137'
2023-10-13	12:50:12	1645	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37984_pearl_izumi_chaussure_mtb_x-alp_launch.jpg
2023-10-13	12:50:12	1645	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:12	1645	[DEBUG]	Process image file
2023-10-13	12:50:12	1645	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:12	1645	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:12	1645	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37984_pearl_izumi_chaussure_mtb_x-alp_launch.jpg
2023-10-13	12:50:12	1645	[DEBUG]	Full name target: bcprisme/37984_pearl_izumi_chaussure_mtb_x-alp_launch.jpg
2023-10-13	12:50:13	1645	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:13	1645	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37984_pearl_izumi_chaussure_mtb_x-alp_launch.jpg'
2023-10-13	12:50:13	1645	[DEBUG]	Query for Media
2023-10-13	12:50:13	1645	[DEBUG]	Executed store
2023-10-13	12:50:13	1645	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37984_pearl_izumi_chaussure_mtb_x-alp_launch.jpg',`file_url_thumb`='bcprisme/37984_pearl_izumi_chaussure_mtb_x-alp_launch.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194992'
2023-10-13	12:50:13	1645	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:13	1645	[DEBUG]	Executed store
2023-10-13	12:50:13	1645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861137','1194992','1')
2023-10-13	12:50:13	1645	[DEBUG]	Store product image relation
2023-10-13	12:50:13	1645	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:13	1645	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861137 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:13	1645	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:13	1645	[DEBUG]	Executed store
2023-10-13	12:50:13	1645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861137','0','167.130919220056','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:13	1645	[DEBUG]	Checking manufacturer
2023-10-13	12:50:13	1645	[DEBUG]	Load a row
2023-10-13	12:50:13	1645	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:13	1645	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:13	1645	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:13	1645	[DEBUG]	Executed store
2023-10-13	12:50:13	1645	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:13	1645	[DEBUG]	Manufacturer exists
2023-10-13	12:50:13	1645	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:50:13	1645	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:13	1645	[DEBUG]	Executed store
2023-10-13	12:50:13	1645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861137','73')
2023-10-13	12:50:13	1645	[DEBUG]	Find the custom field ID
2023-10-13	12:50:13	1645	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:50:13	1645	[DEBUG]	No custom field ID found
2023-10-13	12:50:13	1645	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:13	1645	[DEBUG]	Get existing row with customfield value 189.3725
2023-10-13	12:50:13	1645	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861137 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:13	1645	[DEBUG]	Store custom available field
2023-10-13	12:50:13	1645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861137,3,'189.3725',1)
2023-10-13	12:50:13	1645	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:13	1645	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:50:13	1645	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861137 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:13	1645	[DEBUG]	Store custom available field
2023-10-13	12:50:13	1645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861137,6,'choisir la taille',3)
2023-10-13	12:50:13	1645	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:13	1645	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:50:13	1645	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:50:13	1645	[DEBUG]	Find the multi variant product entry
2023-10-13	12:50:13	1645	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861137 AND `virtuemart_custom_id` = 8
2023-10-13	12:50:13	1645	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:50:13	1645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861137,8,1)
2023-10-13	12:50:13	1645	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:13	1645	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861137\":[1861137,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861137
2023-10-13	12:50:13	1645	[DEBUG]	Checking category
2023-10-13	12:50:13	1645	[DEBUG]	Get the existing categories for the product
2023-10-13	12:50:13	1645	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861137
2023-10-13	12:50:13	1645	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:50:13	1645	[DEBUG]	Executed store
2023-10-13	12:50:13	1645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861137','7331')
2023-10-13	12:50:13	1645	[DEBUG]	Delete leftover product categories
2023-10-13	12:50:13	1645	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861137 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:50:13	1645	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:13	1645	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861137
2023-10-13	12:50:13	1646	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:13	1646	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:13	1646	[DEBUG]	Use field value for field taille
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:13	1646	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:13	1646	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:13	1646	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:13	1646	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:13	1646	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:13	1646	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:13	1646	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:13	1646	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:13	1646	[DEBUG]	Use field value for field published
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:13	1646	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field override
2023-10-13	12:50:13	1646	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:13	1646	[DEBUG]	Use field value for field slug
2023-10-13	12:50:13	1646	[DEBUG]	Process line 1646
2023-10-13	12:50:13	1646	[DEBUG]	Load a row
2023-10-13	12:50:13	1646	[DEBUG]	Processing item: 191234722018
2023-10-13	12:50:13	1646	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:13	1646	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:13	1646	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8982_742'
2023-10-13	12:50:13	1646	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:13	1646	[DEBUG]	Processing product tax
2023-10-13	12:50:13	1646	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:13	1646	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:13	1646	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:13	1646	[DEBUG]	Query for Product
2023-10-13	12:50:13	1646	[DEBUG]	Executed store
2023-10-13	12:50:13	1646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861137','191234722018','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:13	1646	[DEBUG]	No parent found
2023-10-13	12:50:13	1646	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861137 AND customfield_value = 'stockable'
2023-10-13	12:50:13	1646	[DEBUG]	Check product language entry
2023-10-13	12:50:13	1646	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861138
2023-10-13	12:50:13	1646	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:13	1646	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191234722018' AND `virtuemart_product_id` != 1861138
2023-10-13	12:50:13	1646	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:13	1646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861138, '191234722018')
2023-10-13	12:50:13	1646	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:13	1646	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-chaussures-mtb-x-alp-launch-red-wood-sunset-orange-40' AND `virtuemart_product_id` != 1861138
2023-10-13	12:50:13	1646	[DEBUG]	Query for ProductLang
2023-10-13	12:50:13	1646	[DEBUG]	Executed store
2023-10-13	12:50:13	1646	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pearl Izumi Chaussures MTB X-Alp Launch / Red Wood Sunset Orange (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-chaussures-mtb-x-alp-launch-red-wood-sunset-orange-40' WHERE `virtuemart_product_id` = '1861138'
2023-10-13	12:50:13	1646	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37984_pearl_izumi_chaussure_mtb_x-alp_launch.jpg
2023-10-13	12:50:13	1646	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:13	1646	[DEBUG]	Process image file
2023-10-13	12:50:13	1646	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:13	1646	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:13	1646	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37984_pearl_izumi_chaussure_mtb_x-alp_launch.jpg
2023-10-13	12:50:13	1646	[DEBUG]	Full name target: bcprisme/37984_pearl_izumi_chaussure_mtb_x-alp_launch.jpg
2023-10-13	12:50:14	1646	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:14	1646	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37984_pearl_izumi_chaussure_mtb_x-alp_launch.jpg'
2023-10-13	12:50:14	1646	[DEBUG]	Query for Media
2023-10-13	12:50:14	1646	[DEBUG]	Executed store
2023-10-13	12:50:14	1646	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37984_pearl_izumi_chaussure_mtb_x-alp_launch.jpg',`file_url_thumb`='bcprisme/37984_pearl_izumi_chaussure_mtb_x-alp_launch.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194992'
2023-10-13	12:50:14	1646	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:14	1646	[DEBUG]	Executed store
2023-10-13	12:50:14	1646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861138','1194992','1')
2023-10-13	12:50:14	1646	[DEBUG]	Store product image relation
2023-10-13	12:50:14	1646	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:14	1646	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861138 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:14	1646	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:14	1646	[DEBUG]	Executed store
2023-10-13	12:50:14	1646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861138','0','167.130919220056','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:14	1646	[DEBUG]	Checking manufacturer
2023-10-13	12:50:14	1646	[DEBUG]	Load a row
2023-10-13	12:50:14	1646	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:14	1646	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:14	1646	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:14	1646	[DEBUG]	Executed store
2023-10-13	12:50:14	1646	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:14	1646	[DEBUG]	Manufacturer exists
2023-10-13	12:50:14	1646	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:50:14	1646	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:14	1646	[DEBUG]	Executed store
2023-10-13	12:50:14	1646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861138','73')
2023-10-13	12:50:14	1646	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:14	1646	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:14	1646	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861138 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:14	1646	[DEBUG]	Store custom available field
2023-10-13	12:50:14	1646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861138,3,'',1)
2023-10-13	12:50:14	1646	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:14	1646	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:50:14	1646	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861138 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:14	1646	[DEBUG]	Store custom available field
2023-10-13	12:50:14	1646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861138,6,'40',3)
2023-10-13	12:50:14	1646	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:14	1646	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:14	1646	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861137
2023-10-13	12:50:14	1646	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:14	1646	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\"}]|clabels=0|options={\"1861137\":[1861137,8,1,\"choisir la taille\"],\"1861138\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861137
2023-10-13	12:50:14	1646	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:14	1646	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861138
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:14	1647	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field taille
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field category_path
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:14	1647	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:14	1647	[DEBUG]	Use default value for field file_url
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:50:14	1647	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:14	1647	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:14	1647	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:14	1647	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:14	1647	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:14	1647	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field published
2023-10-13	12:50:14	1647	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:14	1647	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field custom_title
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field custom_param
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field override
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field public_price
2023-10-13	12:50:14	1647	[DEBUG]	Use field value for field slug
2023-10-13	12:50:14	1647	[DEBUG]	Process line 1647
2023-10-13	12:50:14	1647	[DEBUG]	Load a row
2023-10-13	12:50:14	1647	[DEBUG]	Processing item: A_8993_1
2023-10-13	12:50:14	1647	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:14	1647	[DEBUG]	Processing product tax
2023-10-13	12:50:14	1647	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:14	1647	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:14	1647	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:14	1647	[DEBUG]	Query for Product
2023-10-13	12:50:14	1647	[DEBUG]	Executed store
2023-10-13	12:50:14	1647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8993_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:14	1647	[DEBUG]	Check product language entry
2023-10-13	12:50:14	1647	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861139
2023-10-13	12:50:14	1647	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:14	1647	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8993_1' AND `virtuemart_product_id` != 1861139
2023-10-13	12:50:14	1647	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:14	1647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861139, 'A_8993_1')
2023-10-13	12:50:14	1647	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:14	1647	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-noir' AND `virtuemart_product_id` != 1861139
2023-10-13	12:50:14	1647	[DEBUG]	Query for ProductLang
2023-10-13	12:50:14	1647	[DEBUG]	Executed store
2023-10-13	12:50:14	1647	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 83.73583',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-noir' WHERE `virtuemart_product_id` = '1861139'
2023-10-13	12:50:14	1647	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:14	1647	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861139 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:14	1647	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:14	1647	[DEBUG]	Executed store
2023-10-13	12:50:14	1647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861139','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:14	1647	[DEBUG]	Checking manufacturer
2023-10-13	12:50:14	1647	[DEBUG]	Load a row
2023-10-13	12:50:14	1647	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:14	1647	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:14	1647	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:14	1647	[DEBUG]	Executed store
2023-10-13	12:50:14	1647	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:14	1647	[DEBUG]	Manufacturer exists
2023-10-13	12:50:14	1647	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:14	1647	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:14	1647	[DEBUG]	Executed store
2023-10-13	12:50:14	1647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861139','26')
2023-10-13	12:50:14	1647	[DEBUG]	Find the custom field ID
2023-10-13	12:50:14	1647	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:50:14	1647	[DEBUG]	No custom field ID found
2023-10-13	12:50:14	1647	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:14	1647	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:50:14	1647	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861139 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:14	1647	[DEBUG]	Store custom available field
2023-10-13	12:50:14	1647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861139,3,'0',1)
2023-10-13	12:50:14	1647	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:14	1647	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:50:14	1647	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861139 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:14	1647	[DEBUG]	Store custom available field
2023-10-13	12:50:14	1647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861139,6,'choisir la taille',3)
2023-10-13	12:50:14	1647	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:14	1647	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:50:14	1647	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:50:14	1647	[DEBUG]	Find the multi variant product entry
2023-10-13	12:50:14	1647	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861139 AND `virtuemart_custom_id` = 8
2023-10-13	12:50:14	1647	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:50:14	1647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861139,8,1)
2023-10-13	12:50:14	1647	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:14	1647	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861139\":[1861139,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861139
2023-10-13	12:50:14	1647	[DEBUG]	Checking category
2023-10-13	12:50:14	1647	[DEBUG]	Get the existing categories for the product
2023-10-13	12:50:14	1647	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861139
2023-10-13	12:50:14	1647	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:50:14	1647	[DEBUG]	Executed store
2023-10-13	12:50:14	1647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861139','7331')
2023-10-13	12:50:14	1647	[DEBUG]	Delete leftover product categories
2023-10-13	12:50:14	1647	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861139 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:50:14	1647	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:14	1647	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861139
2023-10-13	12:50:14	1648	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:14	1648	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:14	1648	[DEBUG]	Use field value for field taille
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:14	1648	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:14	1648	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:14	1648	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field file_url
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:14	1648	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:14	1648	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:14	1648	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:14	1648	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:14	1648	[DEBUG]	Use field value for field published
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:14	1648	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field override
2023-10-13	12:50:14	1648	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:14	1648	[DEBUG]	Use field value for field slug
2023-10-13	12:50:14	1648	[DEBUG]	Process line 1648
2023-10-13	12:50:14	1648	[DEBUG]	Load a row
2023-10-13	12:50:14	1648	[DEBUG]	Processing item: 4550170271848
2023-10-13	12:50:14	1648	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:14	1648	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:14	1648	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_1'
2023-10-13	12:50:14	1648	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:14	1648	[DEBUG]	Processing product tax
2023-10-13	12:50:14	1648	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:14	1648	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:14	1648	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:14	1648	[DEBUG]	Query for Product
2023-10-13	12:50:14	1648	[DEBUG]	Executed store
2023-10-13	12:50:14	1648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861139','4550170271848','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:14	1648	[DEBUG]	No parent found
2023-10-13	12:50:14	1648	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861139 AND customfield_value = 'stockable'
2023-10-13	12:50:14	1648	[DEBUG]	Check product language entry
2023-10-13	12:50:14	1648	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861140
2023-10-13	12:50:14	1648	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:14	1648	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170271848' AND `virtuemart_product_id` != 1861140
2023-10-13	12:50:14	1648	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:14	1648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861140, '4550170271848')
2023-10-13	12:50:14	1648	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:14	1648	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-noir-44-5' AND `virtuemart_product_id` != 1861140
2023-10-13	12:50:14	1648	[DEBUG]	Query for ProductLang
2023-10-13	12:50:14	1648	[DEBUG]	Executed store
2023-10-13	12:50:14	1648	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Noir (44.5)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-noir-44-5' WHERE `virtuemart_product_id` = '1861140'
2023-10-13	12:50:14	1648	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:14	1648	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861140 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:14	1648	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:14	1648	[DEBUG]	Executed store
2023-10-13	12:50:14	1648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861140','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:14	1648	[DEBUG]	Checking manufacturer
2023-10-13	12:50:14	1648	[DEBUG]	Load a row
2023-10-13	12:50:14	1648	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:14	1648	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:14	1648	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:14	1648	[DEBUG]	Executed store
2023-10-13	12:50:14	1648	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:14	1648	[DEBUG]	Manufacturer exists
2023-10-13	12:50:14	1648	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:14	1648	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:14	1648	[DEBUG]	Executed store
2023-10-13	12:50:14	1648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861140','26')
2023-10-13	12:50:14	1648	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:14	1648	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:14	1648	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861140 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:14	1648	[DEBUG]	Store custom available field
2023-10-13	12:50:14	1648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861140,3,'',1)
2023-10-13	12:50:14	1648	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:14	1648	[DEBUG]	Get existing row with customfield value 44.5
2023-10-13	12:50:14	1648	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861140 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:14	1648	[DEBUG]	Store custom available field
2023-10-13	12:50:14	1648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861140,6,'44.5',3)
2023-10-13	12:50:14	1648	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:14	1648	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:14	1648	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861139
2023-10-13	12:50:14	1648	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:14	1648	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44.5\"}]|clabels=0|options={\"1861139\":[1861139,8,1,\"choisir la taille\"],\"1861140\":[\"44.5\"]}|' WHERE `virtuemart_product_id` = 1861139
2023-10-13	12:50:14	1648	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:14	1648	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861140
2023-10-13	12:50:14	1649	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:14	1649	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:14	1649	[DEBUG]	Use field value for field taille
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:14	1649	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:14	1649	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:14	1649	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field file_url
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:14	1649	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:14	1649	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:14	1649	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:14	1649	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:14	1649	[DEBUG]	Use field value for field published
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:14	1649	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field override
2023-10-13	12:50:14	1649	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:14	1649	[DEBUG]	Use field value for field slug
2023-10-13	12:50:14	1649	[DEBUG]	Process line 1649
2023-10-13	12:50:14	1649	[DEBUG]	Load a row
2023-10-13	12:50:14	1649	[DEBUG]	Processing item: 1000000181425
2023-10-13	12:50:14	1649	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:14	1649	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:14	1649	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_1'
2023-10-13	12:50:14	1649	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:14	1649	[DEBUG]	Processing product tax
2023-10-13	12:50:14	1649	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:14	1649	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:14	1649	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:14	1649	[DEBUG]	Query for Product
2023-10-13	12:50:14	1649	[DEBUG]	Executed store
2023-10-13	12:50:14	1649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861139','1000000181425','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:14	1649	[DEBUG]	No parent found
2023-10-13	12:50:14	1649	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861139 AND customfield_value = 'stockable'
2023-10-13	12:50:14	1649	[DEBUG]	Check product language entry
2023-10-13	12:50:14	1649	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861141
2023-10-13	12:50:14	1649	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:14	1649	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000181425' AND `virtuemart_product_id` != 1861141
2023-10-13	12:50:14	1649	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:14	1649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861141, '1000000181425')
2023-10-13	12:50:14	1649	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:14	1649	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-noir-45-5' AND `virtuemart_product_id` != 1861141
2023-10-13	12:50:14	1649	[DEBUG]	Query for ProductLang
2023-10-13	12:50:14	1649	[DEBUG]	Executed store
2023-10-13	12:50:14	1649	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Noir (45.5)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-noir-45-5' WHERE `virtuemart_product_id` = '1861141'
2023-10-13	12:50:14	1649	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:14	1649	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861141 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:14	1649	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:14	1649	[DEBUG]	Executed store
2023-10-13	12:50:14	1649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861141','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:14	1649	[DEBUG]	Checking manufacturer
2023-10-13	12:50:14	1649	[DEBUG]	Load a row
2023-10-13	12:50:14	1649	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:14	1649	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:14	1649	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:14	1649	[DEBUG]	Executed store
2023-10-13	12:50:14	1649	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:14	1649	[DEBUG]	Manufacturer exists
2023-10-13	12:50:14	1649	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:14	1649	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:14	1649	[DEBUG]	Executed store
2023-10-13	12:50:14	1649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861141','26')
2023-10-13	12:50:14	1649	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:14	1649	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:14	1649	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861141 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:14	1649	[DEBUG]	Store custom available field
2023-10-13	12:50:14	1649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861141,3,'',1)
2023-10-13	12:50:14	1649	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:14	1649	[DEBUG]	Get existing row with customfield value 45.5
2023-10-13	12:50:14	1649	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861141 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:14	1649	[DEBUG]	Store custom available field
2023-10-13	12:50:14	1649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861141,6,'45.5',3)
2023-10-13	12:50:14	1649	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:14	1649	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:14	1649	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861139
2023-10-13	12:50:14	1649	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:14	1649	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44.5\\r\\n45.5\"}]|clabels=0|options={\"1861139\":[1861139,8,1,\"choisir la taille\"],\"1861140\":[\"44.5\"],\"1861141\":[\"45.5\"]}|' WHERE `virtuemart_product_id` = 1861139
2023-10-13	12:50:14	1649	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:14	1649	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861141
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:14	1650	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field taille
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field category_path
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:14	1650	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:50:14	1650	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:14	1650	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:14	1650	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:14	1650	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:14	1650	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:14	1650	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field published
2023-10-13	12:50:14	1650	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:14	1650	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field custom_title
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field custom_param
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field override
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field public_price
2023-10-13	12:50:14	1650	[DEBUG]	Use field value for field slug
2023-10-13	12:50:14	1650	[DEBUG]	Process line 1650
2023-10-13	12:50:14	1650	[DEBUG]	Load a row
2023-10-13	12:50:14	1650	[DEBUG]	Processing item: A_8993_40
2023-10-13	12:50:14	1650	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:14	1650	[DEBUG]	Processing product tax
2023-10-13	12:50:14	1650	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:14	1650	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:14	1650	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:14	1650	[DEBUG]	Query for Product
2023-10-13	12:50:14	1650	[DEBUG]	Executed store
2023-10-13	12:50:14	1650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8993_40','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:14	1650	[DEBUG]	Check product language entry
2023-10-13	12:50:14	1650	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:14	1650	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:14	1650	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8993_40' AND `virtuemart_product_id` != 1861142
2023-10-13	12:50:14	1650	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:14	1650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861142, 'A_8993_40')
2023-10-13	12:50:14	1650	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:14	1650	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert' AND `virtuemart_product_id` != 1861142
2023-10-13	12:50:14	1650	[DEBUG]	Query for ProductLang
2023-10-13	12:50:14	1650	[DEBUG]	Executed store
2023-10-13	12:50:14	1650	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 83.73583',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert' WHERE `virtuemart_product_id` = '1861142'
2023-10-13	12:50:14	1650	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:14	1650	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:14	1650	[DEBUG]	Process image file
2023-10-13	12:50:14	1650	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:14	1650	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:14	1650	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:14	1650	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:15	1650	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:15	1650	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:15	1650	[DEBUG]	Query for Media
2023-10-13	12:50:15	1650	[DEBUG]	Executed store
2023-10-13	12:50:15	1650	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:15	1650	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:15	1650	[DEBUG]	Executed store
2023-10-13	12:50:15	1650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861142','1194859','1')
2023-10-13	12:50:15	1650	[DEBUG]	Store product image relation
2023-10-13	12:50:15	1650	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:15	1650	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861142 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:15	1650	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:15	1650	[DEBUG]	Executed store
2023-10-13	12:50:15	1650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861142','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:15	1650	[DEBUG]	Checking manufacturer
2023-10-13	12:50:15	1650	[DEBUG]	Load a row
2023-10-13	12:50:15	1650	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:15	1650	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:15	1650	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:15	1650	[DEBUG]	Executed store
2023-10-13	12:50:15	1650	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:15	1650	[DEBUG]	Manufacturer exists
2023-10-13	12:50:15	1650	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:15	1650	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:15	1650	[DEBUG]	Executed store
2023-10-13	12:50:15	1650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861142','26')
2023-10-13	12:50:15	1650	[DEBUG]	Find the custom field ID
2023-10-13	12:50:15	1650	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:50:15	1650	[DEBUG]	No custom field ID found
2023-10-13	12:50:15	1650	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:15	1650	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:50:15	1650	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861142 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:15	1650	[DEBUG]	Store custom available field
2023-10-13	12:50:15	1650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861142,3,'0',1)
2023-10-13	12:50:15	1650	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:15	1650	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:50:15	1650	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861142 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:15	1650	[DEBUG]	Store custom available field
2023-10-13	12:50:15	1650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861142,6,'choisir la taille',3)
2023-10-13	12:50:15	1650	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:15	1650	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:50:15	1650	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:50:15	1650	[DEBUG]	Find the multi variant product entry
2023-10-13	12:50:15	1650	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861142 AND `virtuemart_custom_id` = 8
2023-10-13	12:50:15	1650	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:50:15	1650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861142,8,1)
2023-10-13	12:50:15	1650	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:15	1650	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:15	1650	[DEBUG]	Checking category
2023-10-13	12:50:15	1650	[DEBUG]	Get the existing categories for the product
2023-10-13	12:50:15	1650	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:15	1650	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:50:15	1650	[DEBUG]	Executed store
2023-10-13	12:50:15	1650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861142','7331')
2023-10-13	12:50:15	1650	[DEBUG]	Delete leftover product categories
2023-10-13	12:50:15	1650	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861142 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:50:15	1650	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:15	1650	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:15	1651	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:15	1651	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:15	1651	[DEBUG]	Use field value for field taille
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:15	1651	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:15	1651	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:15	1651	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:15	1651	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:15	1651	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:15	1651	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:15	1651	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:15	1651	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:15	1651	[DEBUG]	Use field value for field published
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:15	1651	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field override
2023-10-13	12:50:15	1651	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:15	1651	[DEBUG]	Use field value for field slug
2023-10-13	12:50:15	1651	[DEBUG]	Process line 1651
2023-10-13	12:50:15	1651	[DEBUG]	Load a row
2023-10-13	12:50:15	1651	[DEBUG]	Processing item: 4550170102937
2023-10-13	12:50:15	1651	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:15	1651	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:15	1651	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:15	1651	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:15	1651	[DEBUG]	Processing product tax
2023-10-13	12:50:15	1651	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:15	1651	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:15	1651	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:15	1651	[DEBUG]	Query for Product
2023-10-13	12:50:15	1651	[DEBUG]	Executed store
2023-10-13	12:50:15	1651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4550170102937','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:15	1651	[DEBUG]	No parent found
2023-10-13	12:50:15	1651	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:15	1651	[DEBUG]	Check product language entry
2023-10-13	12:50:15	1651	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861143
2023-10-13	12:50:15	1651	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:15	1651	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170102937' AND `virtuemart_product_id` != 1861143
2023-10-13	12:50:15	1651	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:15	1651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861143, '4550170102937')
2023-10-13	12:50:15	1651	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:15	1651	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-40' AND `virtuemart_product_id` != 1861143
2023-10-13	12:50:15	1651	[DEBUG]	Query for ProductLang
2023-10-13	12:50:15	1651	[DEBUG]	Executed store
2023-10-13	12:50:15	1651	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-40' WHERE `virtuemart_product_id` = '1861143'
2023-10-13	12:50:15	1651	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:15	1651	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:15	1651	[DEBUG]	Process image file
2023-10-13	12:50:15	1651	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:15	1651	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:15	1651	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:15	1651	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:16	1651	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:16	1651	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:16	1651	[DEBUG]	Query for Media
2023-10-13	12:50:16	1651	[DEBUG]	Executed store
2023-10-13	12:50:16	1651	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:16	1651	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:16	1651	[DEBUG]	Executed store
2023-10-13	12:50:16	1651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861143','1194859','1')
2023-10-13	12:50:16	1651	[DEBUG]	Store product image relation
2023-10-13	12:50:16	1651	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:16	1651	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861143 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:16	1651	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:16	1651	[DEBUG]	Executed store
2023-10-13	12:50:16	1651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861143','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:16	1651	[DEBUG]	Checking manufacturer
2023-10-13	12:50:16	1651	[DEBUG]	Load a row
2023-10-13	12:50:16	1651	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:16	1651	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:16	1651	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:16	1651	[DEBUG]	Executed store
2023-10-13	12:50:16	1651	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:16	1651	[DEBUG]	Manufacturer exists
2023-10-13	12:50:16	1651	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:16	1651	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:16	1651	[DEBUG]	Executed store
2023-10-13	12:50:16	1651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861143','26')
2023-10-13	12:50:16	1651	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:16	1651	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:16	1651	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861143 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:16	1651	[DEBUG]	Store custom available field
2023-10-13	12:50:16	1651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861143,3,'',1)
2023-10-13	12:50:16	1651	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:16	1651	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:50:16	1651	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861143 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:16	1651	[DEBUG]	Store custom available field
2023-10-13	12:50:16	1651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861143,6,'40',3)
2023-10-13	12:50:16	1651	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:16	1651	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:16	1651	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:16	1651	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:16	1651	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:16	1651	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:16	1651	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861143
2023-10-13	12:50:16	1652	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:16	1652	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:16	1652	[DEBUG]	Use field value for field taille
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:16	1652	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:16	1652	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:16	1652	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:16	1652	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:16	1652	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:16	1652	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:16	1652	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:16	1652	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:16	1652	[DEBUG]	Use field value for field published
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:16	1652	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field override
2023-10-13	12:50:16	1652	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:16	1652	[DEBUG]	Use field value for field slug
2023-10-13	12:50:16	1652	[DEBUG]	Process line 1652
2023-10-13	12:50:16	1652	[DEBUG]	Load a row
2023-10-13	12:50:16	1652	[DEBUG]	Processing item: 4550170096342
2023-10-13	12:50:16	1652	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:16	1652	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:16	1652	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:16	1652	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:16	1652	[DEBUG]	Processing product tax
2023-10-13	12:50:16	1652	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:16	1652	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:16	1652	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:16	1652	[DEBUG]	Query for Product
2023-10-13	12:50:16	1652	[DEBUG]	Executed store
2023-10-13	12:50:16	1652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4550170096342','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:16	1652	[DEBUG]	No parent found
2023-10-13	12:50:16	1652	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:16	1652	[DEBUG]	Check product language entry
2023-10-13	12:50:16	1652	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861144
2023-10-13	12:50:16	1652	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:16	1652	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170096342' AND `virtuemart_product_id` != 1861144
2023-10-13	12:50:16	1652	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:16	1652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861144, '4550170096342')
2023-10-13	12:50:16	1652	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:16	1652	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-42-5' AND `virtuemart_product_id` != 1861144
2023-10-13	12:50:16	1652	[DEBUG]	Query for ProductLang
2023-10-13	12:50:16	1652	[DEBUG]	Executed store
2023-10-13	12:50:16	1652	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (42.5)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-42-5' WHERE `virtuemart_product_id` = '1861144'
2023-10-13	12:50:16	1652	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:16	1652	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:16	1652	[DEBUG]	Process image file
2023-10-13	12:50:16	1652	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:16	1652	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:16	1652	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:16	1652	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:17	1652	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:17	1652	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:17	1652	[DEBUG]	Query for Media
2023-10-13	12:50:17	1652	[DEBUG]	Executed store
2023-10-13	12:50:17	1652	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:17	1652	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:17	1652	[DEBUG]	Executed store
2023-10-13	12:50:17	1652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861144','1194859','1')
2023-10-13	12:50:17	1652	[DEBUG]	Store product image relation
2023-10-13	12:50:17	1652	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:17	1652	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861144 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:17	1652	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:17	1652	[DEBUG]	Executed store
2023-10-13	12:50:17	1652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861144','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:17	1652	[DEBUG]	Checking manufacturer
2023-10-13	12:50:17	1652	[DEBUG]	Load a row
2023-10-13	12:50:17	1652	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:17	1652	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:17	1652	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:17	1652	[DEBUG]	Executed store
2023-10-13	12:50:17	1652	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:17	1652	[DEBUG]	Manufacturer exists
2023-10-13	12:50:17	1652	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:17	1652	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:17	1652	[DEBUG]	Executed store
2023-10-13	12:50:17	1652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861144','26')
2023-10-13	12:50:17	1652	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:17	1652	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:17	1652	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861144 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:17	1652	[DEBUG]	Store custom available field
2023-10-13	12:50:17	1652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861144,3,'',1)
2023-10-13	12:50:17	1652	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:17	1652	[DEBUG]	Get existing row with customfield value 42.5
2023-10-13	12:50:17	1652	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861144 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:17	1652	[DEBUG]	Store custom available field
2023-10-13	12:50:17	1652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861144,6,'42.5',3)
2023-10-13	12:50:17	1652	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:17	1652	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:17	1652	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:17	1652	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:17	1652	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\\r\\n42.5\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"],\"1861144\":[\"42.5\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:17	1652	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:17	1652	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861144
2023-10-13	12:50:17	1653	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:17	1653	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:17	1653	[DEBUG]	Use field value for field taille
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:17	1653	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:17	1653	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:17	1653	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:17	1653	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:17	1653	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:17	1653	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:17	1653	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:17	1653	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:17	1653	[DEBUG]	Use field value for field published
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:17	1653	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field override
2023-10-13	12:50:17	1653	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:17	1653	[DEBUG]	Use field value for field slug
2023-10-13	12:50:17	1653	[DEBUG]	Process line 1653
2023-10-13	12:50:17	1653	[DEBUG]	Load a row
2023-10-13	12:50:17	1653	[DEBUG]	Processing item: 4550170116927
2023-10-13	12:50:17	1653	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:17	1653	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:17	1653	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:17	1653	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:17	1653	[DEBUG]	Processing product tax
2023-10-13	12:50:17	1653	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:17	1653	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:17	1653	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:17	1653	[DEBUG]	Query for Product
2023-10-13	12:50:17	1653	[DEBUG]	Executed store
2023-10-13	12:50:17	1653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4550170116927','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:17	1653	[DEBUG]	No parent found
2023-10-13	12:50:17	1653	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:17	1653	[DEBUG]	Check product language entry
2023-10-13	12:50:17	1653	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861145
2023-10-13	12:50:17	1653	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:17	1653	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170116927' AND `virtuemart_product_id` != 1861145
2023-10-13	12:50:17	1653	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:17	1653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861145, '4550170116927')
2023-10-13	12:50:17	1653	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:17	1653	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-42' AND `virtuemart_product_id` != 1861145
2023-10-13	12:50:17	1653	[DEBUG]	Query for ProductLang
2023-10-13	12:50:17	1653	[DEBUG]	Executed store
2023-10-13	12:50:17	1653	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-42' WHERE `virtuemart_product_id` = '1861145'
2023-10-13	12:50:17	1653	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:17	1653	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:17	1653	[DEBUG]	Process image file
2023-10-13	12:50:17	1653	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:17	1653	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:17	1653	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:17	1653	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:18	1653	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:18	1653	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:18	1653	[DEBUG]	Query for Media
2023-10-13	12:50:18	1653	[DEBUG]	Executed store
2023-10-13	12:50:18	1653	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:18	1653	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:18	1653	[DEBUG]	Executed store
2023-10-13	12:50:18	1653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861145','1194859','1')
2023-10-13	12:50:18	1653	[DEBUG]	Store product image relation
2023-10-13	12:50:18	1653	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:18	1653	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861145 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:18	1653	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:18	1653	[DEBUG]	Executed store
2023-10-13	12:50:18	1653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861145','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:18	1653	[DEBUG]	Checking manufacturer
2023-10-13	12:50:18	1653	[DEBUG]	Load a row
2023-10-13	12:50:18	1653	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:18	1653	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:18	1653	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:18	1653	[DEBUG]	Executed store
2023-10-13	12:50:18	1653	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:18	1653	[DEBUG]	Manufacturer exists
2023-10-13	12:50:18	1653	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:18	1653	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:18	1653	[DEBUG]	Executed store
2023-10-13	12:50:18	1653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861145','26')
2023-10-13	12:50:18	1653	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:18	1653	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:18	1653	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861145 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:18	1653	[DEBUG]	Store custom available field
2023-10-13	12:50:18	1653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861145,3,'',1)
2023-10-13	12:50:18	1653	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:18	1653	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:50:18	1653	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861145 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:18	1653	[DEBUG]	Store custom available field
2023-10-13	12:50:18	1653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861145,6,'42',3)
2023-10-13	12:50:18	1653	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:18	1653	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:18	1653	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:18	1653	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:18	1653	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\\r\\n42.5\\r\\n42\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"],\"1861144\":[\"42.5\"],\"1861145\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:18	1653	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:18	1653	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861145
2023-10-13	12:50:18	1654	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:18	1654	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:18	1654	[DEBUG]	Use field value for field taille
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:18	1654	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:18	1654	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:18	1654	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:18	1654	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:18	1654	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:18	1654	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:18	1654	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:18	1654	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:18	1654	[DEBUG]	Use field value for field published
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:18	1654	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field override
2023-10-13	12:50:18	1654	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:18	1654	[DEBUG]	Use field value for field slug
2023-10-13	12:50:18	1654	[DEBUG]	Process line 1654
2023-10-13	12:50:18	1654	[DEBUG]	Load a row
2023-10-13	12:50:18	1654	[DEBUG]	Processing item: 4550170124083
2023-10-13	12:50:18	1654	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:18	1654	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:18	1654	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:18	1654	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:18	1654	[DEBUG]	Processing product tax
2023-10-13	12:50:18	1654	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:18	1654	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:18	1654	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:18	1654	[DEBUG]	Query for Product
2023-10-13	12:50:18	1654	[DEBUG]	Executed store
2023-10-13	12:50:18	1654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4550170124083','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:18	1654	[DEBUG]	No parent found
2023-10-13	12:50:18	1654	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:18	1654	[DEBUG]	Check product language entry
2023-10-13	12:50:18	1654	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861146
2023-10-13	12:50:18	1654	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:18	1654	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170124083' AND `virtuemart_product_id` != 1861146
2023-10-13	12:50:18	1654	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:18	1654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861146, '4550170124083')
2023-10-13	12:50:18	1654	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:18	1654	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-39' AND `virtuemart_product_id` != 1861146
2023-10-13	12:50:18	1654	[DEBUG]	Query for ProductLang
2023-10-13	12:50:18	1654	[DEBUG]	Executed store
2023-10-13	12:50:18	1654	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-39' WHERE `virtuemart_product_id` = '1861146'
2023-10-13	12:50:18	1654	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:18	1654	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:18	1654	[DEBUG]	Process image file
2023-10-13	12:50:18	1654	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:18	1654	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:18	1654	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:18	1654	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:19	1654	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:19	1654	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:19	1654	[DEBUG]	Query for Media
2023-10-13	12:50:19	1654	[DEBUG]	Executed store
2023-10-13	12:50:19	1654	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:19	1654	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:19	1654	[DEBUG]	Executed store
2023-10-13	12:50:19	1654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861146','1194859','1')
2023-10-13	12:50:19	1654	[DEBUG]	Store product image relation
2023-10-13	12:50:19	1654	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:19	1654	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861146 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:19	1654	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:19	1654	[DEBUG]	Executed store
2023-10-13	12:50:19	1654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861146','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:19	1654	[DEBUG]	Checking manufacturer
2023-10-13	12:50:19	1654	[DEBUG]	Load a row
2023-10-13	12:50:19	1654	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:19	1654	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:19	1654	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:19	1654	[DEBUG]	Executed store
2023-10-13	12:50:19	1654	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:19	1654	[DEBUG]	Manufacturer exists
2023-10-13	12:50:19	1654	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:19	1654	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:19	1654	[DEBUG]	Executed store
2023-10-13	12:50:19	1654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861146','26')
2023-10-13	12:50:19	1654	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:19	1654	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:19	1654	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861146 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:19	1654	[DEBUG]	Store custom available field
2023-10-13	12:50:19	1654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861146,3,'',1)
2023-10-13	12:50:19	1654	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:19	1654	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:50:19	1654	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861146 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:19	1654	[DEBUG]	Store custom available field
2023-10-13	12:50:19	1654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861146,6,'39',3)
2023-10-13	12:50:19	1654	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:19	1654	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:19	1654	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:19	1654	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:19	1654	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\\r\\n42.5\\r\\n42\\r\\n39\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"],\"1861144\":[\"42.5\"],\"1861145\":[\"42\"],\"1861146\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:19	1654	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:19	1654	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861146
2023-10-13	12:50:19	1655	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:19	1655	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:19	1655	[DEBUG]	Use field value for field taille
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:19	1655	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:19	1655	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:19	1655	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:19	1655	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:19	1655	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:19	1655	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:19	1655	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:19	1655	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:19	1655	[DEBUG]	Use field value for field published
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:19	1655	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field override
2023-10-13	12:50:19	1655	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:19	1655	[DEBUG]	Use field value for field slug
2023-10-13	12:50:19	1655	[DEBUG]	Process line 1655
2023-10-13	12:50:19	1655	[DEBUG]	Load a row
2023-10-13	12:50:19	1655	[DEBUG]	Processing item: 4550170122218
2023-10-13	12:50:19	1655	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:19	1655	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:19	1655	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:19	1655	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:19	1655	[DEBUG]	Processing product tax
2023-10-13	12:50:19	1655	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:19	1655	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:19	1655	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:19	1655	[DEBUG]	Query for Product
2023-10-13	12:50:19	1655	[DEBUG]	Executed store
2023-10-13	12:50:19	1655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4550170122218','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:19	1655	[DEBUG]	No parent found
2023-10-13	12:50:19	1655	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:19	1655	[DEBUG]	Check product language entry
2023-10-13	12:50:19	1655	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861147
2023-10-13	12:50:19	1655	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:19	1655	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170122218' AND `virtuemart_product_id` != 1861147
2023-10-13	12:50:19	1655	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:19	1655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861147, '4550170122218')
2023-10-13	12:50:19	1655	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:19	1655	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-46' AND `virtuemart_product_id` != 1861147
2023-10-13	12:50:19	1655	[DEBUG]	Query for ProductLang
2023-10-13	12:50:19	1655	[DEBUG]	Executed store
2023-10-13	12:50:19	1655	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-46' WHERE `virtuemart_product_id` = '1861147'
2023-10-13	12:50:19	1655	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:19	1655	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:19	1655	[DEBUG]	Process image file
2023-10-13	12:50:19	1655	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:19	1655	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:19	1655	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:19	1655	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:20	1655	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:20	1655	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:20	1655	[DEBUG]	Query for Media
2023-10-13	12:50:20	1655	[DEBUG]	Executed store
2023-10-13	12:50:20	1655	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:20	1655	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:20	1655	[DEBUG]	Executed store
2023-10-13	12:50:20	1655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861147','1194859','1')
2023-10-13	12:50:20	1655	[DEBUG]	Store product image relation
2023-10-13	12:50:20	1655	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:20	1655	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861147 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:20	1655	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:20	1655	[DEBUG]	Executed store
2023-10-13	12:50:20	1655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861147','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:20	1655	[DEBUG]	Checking manufacturer
2023-10-13	12:50:20	1655	[DEBUG]	Load a row
2023-10-13	12:50:20	1655	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:20	1655	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:20	1655	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:20	1655	[DEBUG]	Executed store
2023-10-13	12:50:20	1655	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:20	1655	[DEBUG]	Manufacturer exists
2023-10-13	12:50:20	1655	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:20	1655	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:20	1655	[DEBUG]	Executed store
2023-10-13	12:50:20	1655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861147','26')
2023-10-13	12:50:20	1655	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:20	1655	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:20	1655	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861147 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:20	1655	[DEBUG]	Store custom available field
2023-10-13	12:50:20	1655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861147,3,'',1)
2023-10-13	12:50:20	1655	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:20	1655	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:50:20	1655	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861147 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:20	1655	[DEBUG]	Store custom available field
2023-10-13	12:50:20	1655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861147,6,'46',3)
2023-10-13	12:50:20	1655	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:20	1655	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:20	1655	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:20	1655	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:20	1655	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\\r\\n42.5\\r\\n42\\r\\n39\\r\\n46\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"],\"1861144\":[\"42.5\"],\"1861145\":[\"42\"],\"1861146\":[\"39\"],\"1861147\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:20	1655	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:20	1655	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861147
2023-10-13	12:50:20	1656	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:20	1656	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:20	1656	[DEBUG]	Use field value for field taille
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:20	1656	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:20	1656	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:20	1656	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:20	1656	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:20	1656	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:20	1656	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:20	1656	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:20	1656	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:20	1656	[DEBUG]	Use field value for field published
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:20	1656	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field override
2023-10-13	12:50:20	1656	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:20	1656	[DEBUG]	Use field value for field slug
2023-10-13	12:50:20	1656	[DEBUG]	Process line 1656
2023-10-13	12:50:20	1656	[DEBUG]	Load a row
2023-10-13	12:50:20	1656	[DEBUG]	Processing item: 4550170116507
2023-10-13	12:50:20	1656	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:20	1656	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:20	1656	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:20	1656	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:20	1656	[DEBUG]	Processing product tax
2023-10-13	12:50:20	1656	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:20	1656	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:20	1656	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:20	1656	[DEBUG]	Query for Product
2023-10-13	12:50:20	1656	[DEBUG]	Executed store
2023-10-13	12:50:20	1656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4550170116507','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:20	1656	[DEBUG]	No parent found
2023-10-13	12:50:20	1656	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:20	1656	[DEBUG]	Check product language entry
2023-10-13	12:50:20	1656	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861148
2023-10-13	12:50:20	1656	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:20	1656	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170116507' AND `virtuemart_product_id` != 1861148
2023-10-13	12:50:20	1656	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:20	1656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861148, '4550170116507')
2023-10-13	12:50:20	1656	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:20	1656	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-41' AND `virtuemart_product_id` != 1861148
2023-10-13	12:50:20	1656	[DEBUG]	Query for ProductLang
2023-10-13	12:50:20	1656	[DEBUG]	Executed store
2023-10-13	12:50:20	1656	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-41' WHERE `virtuemart_product_id` = '1861148'
2023-10-13	12:50:20	1656	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:20	1656	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:20	1656	[DEBUG]	Process image file
2023-10-13	12:50:20	1656	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:20	1656	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:20	1656	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:20	1656	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:21	1656	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:21	1656	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:21	1656	[DEBUG]	Query for Media
2023-10-13	12:50:21	1656	[DEBUG]	Executed store
2023-10-13	12:50:21	1656	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:21	1656	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:21	1656	[DEBUG]	Executed store
2023-10-13	12:50:21	1656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861148','1194859','1')
2023-10-13	12:50:21	1656	[DEBUG]	Store product image relation
2023-10-13	12:50:21	1656	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:21	1656	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861148 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:21	1656	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:21	1656	[DEBUG]	Executed store
2023-10-13	12:50:21	1656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861148','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:21	1656	[DEBUG]	Checking manufacturer
2023-10-13	12:50:21	1656	[DEBUG]	Load a row
2023-10-13	12:50:21	1656	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:21	1656	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:21	1656	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:21	1656	[DEBUG]	Executed store
2023-10-13	12:50:21	1656	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:21	1656	[DEBUG]	Manufacturer exists
2023-10-13	12:50:21	1656	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:21	1656	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:21	1656	[DEBUG]	Executed store
2023-10-13	12:50:21	1656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861148','26')
2023-10-13	12:50:21	1656	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:21	1656	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:21	1656	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861148 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:21	1656	[DEBUG]	Store custom available field
2023-10-13	12:50:21	1656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861148,3,'',1)
2023-10-13	12:50:21	1656	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:21	1656	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:50:21	1656	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861148 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:21	1656	[DEBUG]	Store custom available field
2023-10-13	12:50:21	1656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861148,6,'41',3)
2023-10-13	12:50:21	1656	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:21	1656	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:21	1656	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:21	1656	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:21	1656	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\\r\\n42.5\\r\\n42\\r\\n39\\r\\n46\\r\\n41\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"],\"1861144\":[\"42.5\"],\"1861145\":[\"42\"],\"1861146\":[\"39\"],\"1861147\":[\"46\"],\"1861148\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:21	1656	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:21	1656	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861148
2023-10-13	12:50:21	1657	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:21	1657	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:21	1657	[DEBUG]	Use field value for field taille
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:21	1657	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:21	1657	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:21	1657	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:21	1657	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:21	1657	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:21	1657	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:21	1657	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:21	1657	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:21	1657	[DEBUG]	Use field value for field published
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:21	1657	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field override
2023-10-13	12:50:21	1657	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:21	1657	[DEBUG]	Use field value for field slug
2023-10-13	12:50:21	1657	[DEBUG]	Process line 1657
2023-10-13	12:50:21	1657	[DEBUG]	Load a row
2023-10-13	12:50:21	1657	[DEBUG]	Processing item: 4550170126148
2023-10-13	12:50:21	1657	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:21	1657	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:21	1657	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:21	1657	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:21	1657	[DEBUG]	Processing product tax
2023-10-13	12:50:21	1657	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:21	1657	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:21	1657	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:21	1657	[DEBUG]	Query for Product
2023-10-13	12:50:21	1657	[DEBUG]	Executed store
2023-10-13	12:50:21	1657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4550170126148','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:21	1657	[DEBUG]	No parent found
2023-10-13	12:50:21	1657	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:21	1657	[DEBUG]	Check product language entry
2023-10-13	12:50:21	1657	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861149
2023-10-13	12:50:21	1657	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:21	1657	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170126148' AND `virtuemart_product_id` != 1861149
2023-10-13	12:50:21	1657	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:21	1657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861149, '4550170126148')
2023-10-13	12:50:21	1657	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:21	1657	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-46-5' AND `virtuemart_product_id` != 1861149
2023-10-13	12:50:21	1657	[DEBUG]	Query for ProductLang
2023-10-13	12:50:21	1657	[DEBUG]	Executed store
2023-10-13	12:50:21	1657	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (46.5)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-46-5' WHERE `virtuemart_product_id` = '1861149'
2023-10-13	12:50:21	1657	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:21	1657	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:21	1657	[DEBUG]	Process image file
2023-10-13	12:50:21	1657	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:21	1657	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:21	1657	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:21	1657	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:22	1657	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:22	1657	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:22	1657	[DEBUG]	Query for Media
2023-10-13	12:50:22	1657	[DEBUG]	Executed store
2023-10-13	12:50:22	1657	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:22	1657	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:22	1657	[DEBUG]	Executed store
2023-10-13	12:50:22	1657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861149','1194859','1')
2023-10-13	12:50:22	1657	[DEBUG]	Store product image relation
2023-10-13	12:50:22	1657	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:22	1657	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861149 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:22	1657	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:22	1657	[DEBUG]	Executed store
2023-10-13	12:50:22	1657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861149','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:22	1657	[DEBUG]	Checking manufacturer
2023-10-13	12:50:22	1657	[DEBUG]	Load a row
2023-10-13	12:50:22	1657	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:22	1657	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:22	1657	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:22	1657	[DEBUG]	Executed store
2023-10-13	12:50:22	1657	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:22	1657	[DEBUG]	Manufacturer exists
2023-10-13	12:50:22	1657	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:22	1657	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:22	1657	[DEBUG]	Executed store
2023-10-13	12:50:22	1657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861149','26')
2023-10-13	12:50:22	1657	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:22	1657	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:22	1657	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861149 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:22	1657	[DEBUG]	Store custom available field
2023-10-13	12:50:22	1657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861149,3,'',1)
2023-10-13	12:50:22	1657	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:22	1657	[DEBUG]	Get existing row with customfield value 46.5
2023-10-13	12:50:22	1657	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861149 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:22	1657	[DEBUG]	Store custom available field
2023-10-13	12:50:22	1657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861149,6,'46.5',3)
2023-10-13	12:50:22	1657	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:22	1657	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:22	1657	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:22	1657	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:22	1657	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\\r\\n42.5\\r\\n42\\r\\n39\\r\\n46\\r\\n41\\r\\n46.5\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"],\"1861144\":[\"42.5\"],\"1861145\":[\"42\"],\"1861146\":[\"39\"],\"1861147\":[\"46\"],\"1861148\":[\"41\"],\"1861149\":[\"46.5\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:22	1657	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:22	1657	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861149
2023-10-13	12:50:22	1658	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:22	1658	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:22	1658	[DEBUG]	Use field value for field taille
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:22	1658	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:22	1658	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:22	1658	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:22	1658	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:22	1658	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:22	1658	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:22	1658	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:22	1658	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:22	1658	[DEBUG]	Use field value for field published
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:22	1658	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field override
2023-10-13	12:50:22	1658	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:22	1658	[DEBUG]	Use field value for field slug
2023-10-13	12:50:22	1658	[DEBUG]	Process line 1658
2023-10-13	12:50:22	1658	[DEBUG]	Load a row
2023-10-13	12:50:22	1658	[DEBUG]	Processing item: 4524667677673
2023-10-13	12:50:22	1658	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:22	1658	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:22	1658	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:22	1658	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:22	1658	[DEBUG]	Processing product tax
2023-10-13	12:50:22	1658	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:22	1658	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:22	1658	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:22	1658	[DEBUG]	Query for Product
2023-10-13	12:50:22	1658	[DEBUG]	Executed store
2023-10-13	12:50:22	1658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4524667677673','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:22	1658	[DEBUG]	No parent found
2023-10-13	12:50:22	1658	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:22	1658	[DEBUG]	Check product language entry
2023-10-13	12:50:22	1658	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861150
2023-10-13	12:50:22	1658	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:22	1658	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667677673' AND `virtuemart_product_id` != 1861150
2023-10-13	12:50:22	1658	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:22	1658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861150, '4524667677673')
2023-10-13	12:50:22	1658	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:22	1658	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-43' AND `virtuemart_product_id` != 1861150
2023-10-13	12:50:22	1658	[DEBUG]	Query for ProductLang
2023-10-13	12:50:22	1658	[DEBUG]	Executed store
2023-10-13	12:50:22	1658	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-43' WHERE `virtuemart_product_id` = '1861150'
2023-10-13	12:50:22	1658	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:22	1658	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:22	1658	[DEBUG]	Process image file
2023-10-13	12:50:22	1658	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:22	1658	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:22	1658	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:22	1658	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:23	1658	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:23	1658	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:23	1658	[DEBUG]	Query for Media
2023-10-13	12:50:23	1658	[DEBUG]	Executed store
2023-10-13	12:50:23	1658	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:23	1658	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:23	1658	[DEBUG]	Executed store
2023-10-13	12:50:23	1658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861150','1194859','1')
2023-10-13	12:50:23	1658	[DEBUG]	Store product image relation
2023-10-13	12:50:23	1658	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:23	1658	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861150 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:23	1658	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:23	1658	[DEBUG]	Executed store
2023-10-13	12:50:23	1658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861150','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:23	1658	[DEBUG]	Checking manufacturer
2023-10-13	12:50:23	1658	[DEBUG]	Load a row
2023-10-13	12:50:23	1658	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:23	1658	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:23	1658	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:23	1658	[DEBUG]	Executed store
2023-10-13	12:50:23	1658	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:23	1658	[DEBUG]	Manufacturer exists
2023-10-13	12:50:23	1658	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:23	1658	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:23	1658	[DEBUG]	Executed store
2023-10-13	12:50:23	1658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861150','26')
2023-10-13	12:50:23	1658	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:23	1658	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:23	1658	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861150 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:23	1658	[DEBUG]	Store custom available field
2023-10-13	12:50:23	1658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861150,3,'',1)
2023-10-13	12:50:23	1658	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:23	1658	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:50:23	1658	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861150 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:23	1658	[DEBUG]	Store custom available field
2023-10-13	12:50:23	1658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861150,6,'43',3)
2023-10-13	12:50:23	1658	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:23	1658	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:23	1658	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:23	1658	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:23	1658	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\\r\\n42.5\\r\\n42\\r\\n39\\r\\n46\\r\\n41\\r\\n46.5\\r\\n43\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"],\"1861144\":[\"42.5\"],\"1861145\":[\"42\"],\"1861146\":[\"39\"],\"1861147\":[\"46\"],\"1861148\":[\"41\"],\"1861149\":[\"46.5\"],\"1861150\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:23	1658	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:23	1658	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861150
2023-10-13	12:50:23	1659	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:23	1659	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:23	1659	[DEBUG]	Use field value for field taille
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:23	1659	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:23	1659	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:23	1659	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:23	1659	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:23	1659	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:23	1659	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:23	1659	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:23	1659	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:23	1659	[DEBUG]	Use field value for field published
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:23	1659	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field override
2023-10-13	12:50:23	1659	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:23	1659	[DEBUG]	Use field value for field slug
2023-10-13	12:50:23	1659	[DEBUG]	Process line 1659
2023-10-13	12:50:23	1659	[DEBUG]	Load a row
2023-10-13	12:50:23	1659	[DEBUG]	Processing item: 4550170109677
2023-10-13	12:50:23	1659	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:23	1659	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:23	1659	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:23	1659	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:23	1659	[DEBUG]	Processing product tax
2023-10-13	12:50:23	1659	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:23	1659	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:23	1659	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:23	1659	[DEBUG]	Query for Product
2023-10-13	12:50:23	1659	[DEBUG]	Executed store
2023-10-13	12:50:23	1659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4550170109677','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:23	1659	[DEBUG]	No parent found
2023-10-13	12:50:23	1659	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:23	1659	[DEBUG]	Check product language entry
2023-10-13	12:50:23	1659	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861151
2023-10-13	12:50:23	1659	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:23	1659	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170109677' AND `virtuemart_product_id` != 1861151
2023-10-13	12:50:23	1659	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:23	1659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861151, '4550170109677')
2023-10-13	12:50:23	1659	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:23	1659	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-44' AND `virtuemart_product_id` != 1861151
2023-10-13	12:50:23	1659	[DEBUG]	Query for ProductLang
2023-10-13	12:50:23	1659	[DEBUG]	Executed store
2023-10-13	12:50:23	1659	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-44' WHERE `virtuemart_product_id` = '1861151'
2023-10-13	12:50:23	1659	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:23	1659	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:23	1659	[DEBUG]	Process image file
2023-10-13	12:50:23	1659	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:23	1659	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:23	1659	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:23	1659	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:24	1659	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:24	1659	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:24	1659	[DEBUG]	Query for Media
2023-10-13	12:50:24	1659	[DEBUG]	Executed store
2023-10-13	12:50:24	1659	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:24	1659	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:24	1659	[DEBUG]	Executed store
2023-10-13	12:50:24	1659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861151','1194859','1')
2023-10-13	12:50:24	1659	[DEBUG]	Store product image relation
2023-10-13	12:50:24	1659	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:24	1659	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861151 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:24	1659	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:24	1659	[DEBUG]	Executed store
2023-10-13	12:50:24	1659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861151','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:24	1659	[DEBUG]	Checking manufacturer
2023-10-13	12:50:24	1659	[DEBUG]	Load a row
2023-10-13	12:50:24	1659	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:24	1659	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:24	1659	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:24	1659	[DEBUG]	Executed store
2023-10-13	12:50:24	1659	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:24	1659	[DEBUG]	Manufacturer exists
2023-10-13	12:50:24	1659	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:24	1659	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:24	1659	[DEBUG]	Executed store
2023-10-13	12:50:24	1659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861151','26')
2023-10-13	12:50:24	1659	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:24	1659	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:24	1659	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861151 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:24	1659	[DEBUG]	Store custom available field
2023-10-13	12:50:24	1659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861151,3,'',1)
2023-10-13	12:50:24	1659	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:24	1659	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:50:24	1659	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861151 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:24	1659	[DEBUG]	Store custom available field
2023-10-13	12:50:24	1659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861151,6,'44',3)
2023-10-13	12:50:24	1659	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:24	1659	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:24	1659	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:24	1659	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:24	1659	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\\r\\n42.5\\r\\n42\\r\\n39\\r\\n46\\r\\n41\\r\\n46.5\\r\\n43\\r\\n44\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"],\"1861144\":[\"42.5\"],\"1861145\":[\"42\"],\"1861146\":[\"39\"],\"1861147\":[\"46\"],\"1861148\":[\"41\"],\"1861149\":[\"46.5\"],\"1861150\":[\"43\"],\"1861151\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:24	1659	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:24	1659	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861151
2023-10-13	12:50:24	1660	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:24	1660	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:24	1660	[DEBUG]	Use field value for field taille
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:24	1660	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:24	1660	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:24	1660	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:24	1660	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:24	1660	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:24	1660	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:24	1660	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:24	1660	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:24	1660	[DEBUG]	Use field value for field published
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:24	1660	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field override
2023-10-13	12:50:24	1660	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:24	1660	[DEBUG]	Use field value for field slug
2023-10-13	12:50:24	1660	[DEBUG]	Process line 1660
2023-10-13	12:50:24	1660	[DEBUG]	Load a row
2023-10-13	12:50:24	1660	[DEBUG]	Processing item: 4550170107437
2023-10-13	12:50:24	1660	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:24	1660	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:24	1660	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:24	1660	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:24	1660	[DEBUG]	Processing product tax
2023-10-13	12:50:24	1660	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:24	1660	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:24	1660	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:24	1660	[DEBUG]	Query for Product
2023-10-13	12:50:24	1660	[DEBUG]	Executed store
2023-10-13	12:50:24	1660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4550170107437','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:24	1660	[DEBUG]	No parent found
2023-10-13	12:50:24	1660	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:24	1660	[DEBUG]	Check product language entry
2023-10-13	12:50:24	1660	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861152
2023-10-13	12:50:24	1660	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:24	1660	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170107437' AND `virtuemart_product_id` != 1861152
2023-10-13	12:50:24	1660	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:24	1660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861152, '4550170107437')
2023-10-13	12:50:24	1660	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:24	1660	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-45-5' AND `virtuemart_product_id` != 1861152
2023-10-13	12:50:24	1660	[DEBUG]	Query for ProductLang
2023-10-13	12:50:24	1660	[DEBUG]	Executed store
2023-10-13	12:50:24	1660	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (45.5)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-45-5' WHERE `virtuemart_product_id` = '1861152'
2023-10-13	12:50:24	1660	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:24	1660	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:24	1660	[DEBUG]	Process image file
2023-10-13	12:50:24	1660	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:24	1660	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:24	1660	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:24	1660	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:25	1660	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:25	1660	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:25	1660	[DEBUG]	Query for Media
2023-10-13	12:50:25	1660	[DEBUG]	Executed store
2023-10-13	12:50:25	1660	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:25	1660	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:25	1660	[DEBUG]	Executed store
2023-10-13	12:50:25	1660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861152','1194859','1')
2023-10-13	12:50:25	1660	[DEBUG]	Store product image relation
2023-10-13	12:50:25	1660	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:25	1660	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861152 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:25	1660	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:25	1660	[DEBUG]	Executed store
2023-10-13	12:50:25	1660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861152','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:25	1660	[DEBUG]	Checking manufacturer
2023-10-13	12:50:25	1660	[DEBUG]	Load a row
2023-10-13	12:50:25	1660	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:25	1660	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:25	1660	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:25	1660	[DEBUG]	Executed store
2023-10-13	12:50:25	1660	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:25	1660	[DEBUG]	Manufacturer exists
2023-10-13	12:50:25	1660	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:25	1660	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:25	1660	[DEBUG]	Executed store
2023-10-13	12:50:25	1660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861152','26')
2023-10-13	12:50:25	1660	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:25	1660	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:25	1660	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861152 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:25	1660	[DEBUG]	Store custom available field
2023-10-13	12:50:25	1660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861152,3,'',1)
2023-10-13	12:50:25	1660	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:25	1660	[DEBUG]	Get existing row with customfield value 45.5
2023-10-13	12:50:25	1660	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861152 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:25	1660	[DEBUG]	Store custom available field
2023-10-13	12:50:25	1660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861152,6,'45.5',3)
2023-10-13	12:50:25	1660	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:25	1660	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:25	1660	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:25	1660	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:25	1660	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\\r\\n42.5\\r\\n42\\r\\n39\\r\\n46\\r\\n41\\r\\n46.5\\r\\n43\\r\\n44\\r\\n45.5\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"],\"1861144\":[\"42.5\"],\"1861145\":[\"42\"],\"1861146\":[\"39\"],\"1861147\":[\"46\"],\"1861148\":[\"41\"],\"1861149\":[\"46.5\"],\"1861150\":[\"43\"],\"1861151\":[\"44\"],\"1861152\":[\"45.5\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:25	1660	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:25	1660	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861152
2023-10-13	12:50:25	1661	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:25	1661	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:25	1661	[DEBUG]	Use field value for field taille
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:25	1661	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:25	1661	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:25	1661	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:25	1661	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:25	1661	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:25	1661	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:25	1661	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:25	1661	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:25	1661	[DEBUG]	Use field value for field published
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:25	1661	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field override
2023-10-13	12:50:25	1661	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:25	1661	[DEBUG]	Use field value for field slug
2023-10-13	12:50:25	1661	[DEBUG]	Process line 1661
2023-10-13	12:50:25	1661	[DEBUG]	Load a row
2023-10-13	12:50:25	1661	[DEBUG]	Processing item: 4550170129828
2023-10-13	12:50:25	1661	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:25	1661	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:25	1661	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:25	1661	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:25	1661	[DEBUG]	Processing product tax
2023-10-13	12:50:25	1661	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:25	1661	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:25	1661	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:25	1661	[DEBUG]	Query for Product
2023-10-13	12:50:25	1661	[DEBUG]	Executed store
2023-10-13	12:50:25	1661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4550170129828','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:25	1661	[DEBUG]	No parent found
2023-10-13	12:50:25	1661	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:25	1661	[DEBUG]	Check product language entry
2023-10-13	12:50:25	1661	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861153
2023-10-13	12:50:25	1661	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:25	1661	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170129828' AND `virtuemart_product_id` != 1861153
2023-10-13	12:50:25	1661	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:25	1661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861153, '4550170129828')
2023-10-13	12:50:25	1661	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:25	1661	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-43-5' AND `virtuemart_product_id` != 1861153
2023-10-13	12:50:25	1661	[DEBUG]	Query for ProductLang
2023-10-13	12:50:25	1661	[DEBUG]	Executed store
2023-10-13	12:50:25	1661	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (43.5)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-43-5' WHERE `virtuemart_product_id` = '1861153'
2023-10-13	12:50:25	1661	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:25	1661	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:25	1661	[DEBUG]	Process image file
2023-10-13	12:50:25	1661	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:25	1661	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:25	1661	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:25	1661	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:26	1661	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:26	1661	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:26	1661	[DEBUG]	Query for Media
2023-10-13	12:50:26	1661	[DEBUG]	Executed store
2023-10-13	12:50:26	1661	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:26	1661	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:26	1661	[DEBUG]	Executed store
2023-10-13	12:50:26	1661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861153','1194859','1')
2023-10-13	12:50:26	1661	[DEBUG]	Store product image relation
2023-10-13	12:50:26	1661	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:26	1661	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861153 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:26	1661	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:26	1661	[DEBUG]	Executed store
2023-10-13	12:50:26	1661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861153','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:26	1661	[DEBUG]	Checking manufacturer
2023-10-13	12:50:26	1661	[DEBUG]	Load a row
2023-10-13	12:50:26	1661	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:26	1661	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:26	1661	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:26	1661	[DEBUG]	Executed store
2023-10-13	12:50:26	1661	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:26	1661	[DEBUG]	Manufacturer exists
2023-10-13	12:50:26	1661	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:26	1661	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:26	1661	[DEBUG]	Executed store
2023-10-13	12:50:26	1661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861153','26')
2023-10-13	12:50:26	1661	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:26	1661	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:26	1661	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861153 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:26	1661	[DEBUG]	Store custom available field
2023-10-13	12:50:26	1661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861153,3,'',1)
2023-10-13	12:50:26	1661	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:26	1661	[DEBUG]	Get existing row with customfield value 43.5
2023-10-13	12:50:26	1661	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861153 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:26	1661	[DEBUG]	Store custom available field
2023-10-13	12:50:26	1661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861153,6,'43.5',3)
2023-10-13	12:50:26	1661	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:26	1661	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:26	1661	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:26	1661	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:26	1661	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\\r\\n42.5\\r\\n42\\r\\n39\\r\\n46\\r\\n41\\r\\n46.5\\r\\n43\\r\\n44\\r\\n45.5\\r\\n43.5\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"],\"1861144\":[\"42.5\"],\"1861145\":[\"42\"],\"1861146\":[\"39\"],\"1861147\":[\"46\"],\"1861148\":[\"41\"],\"1861149\":[\"46.5\"],\"1861150\":[\"43\"],\"1861151\":[\"44\"],\"1861152\":[\"45.5\"],\"1861153\":[\"43.5\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:26	1661	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:26	1661	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861153
2023-10-13	12:50:26	1662	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:26	1662	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:26	1662	[DEBUG]	Use field value for field taille
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:26	1662	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:26	1662	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:26	1662	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:26	1662	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:26	1662	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:26	1662	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:26	1662	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:26	1662	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:26	1662	[DEBUG]	Use field value for field published
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:26	1662	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field override
2023-10-13	12:50:26	1662	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:26	1662	[DEBUG]	Use field value for field slug
2023-10-13	12:50:26	1662	[DEBUG]	Process line 1662
2023-10-13	12:50:26	1662	[DEBUG]	Load a row
2023-10-13	12:50:26	1662	[DEBUG]	Processing item: 4550170105419
2023-10-13	12:50:26	1662	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:26	1662	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:26	1662	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:26	1662	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:26	1662	[DEBUG]	Processing product tax
2023-10-13	12:50:26	1662	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:26	1662	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:26	1662	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:26	1662	[DEBUG]	Query for Product
2023-10-13	12:50:26	1662	[DEBUG]	Executed store
2023-10-13	12:50:26	1662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4550170105419','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:26	1662	[DEBUG]	No parent found
2023-10-13	12:50:26	1662	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:26	1662	[DEBUG]	Check product language entry
2023-10-13	12:50:26	1662	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861154
2023-10-13	12:50:26	1662	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:26	1662	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170105419' AND `virtuemart_product_id` != 1861154
2023-10-13	12:50:26	1662	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:26	1662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861154, '4550170105419')
2023-10-13	12:50:26	1662	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:26	1662	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-47' AND `virtuemart_product_id` != 1861154
2023-10-13	12:50:26	1662	[DEBUG]	Query for ProductLang
2023-10-13	12:50:26	1662	[DEBUG]	Executed store
2023-10-13	12:50:26	1662	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-47' WHERE `virtuemart_product_id` = '1861154'
2023-10-13	12:50:26	1662	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:26	1662	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:26	1662	[DEBUG]	Process image file
2023-10-13	12:50:26	1662	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:26	1662	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:26	1662	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:26	1662	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:27	1662	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:27	1662	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:27	1662	[DEBUG]	Query for Media
2023-10-13	12:50:27	1662	[DEBUG]	Executed store
2023-10-13	12:50:27	1662	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:27	1662	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:27	1662	[DEBUG]	Executed store
2023-10-13	12:50:27	1662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861154','1194859','1')
2023-10-13	12:50:27	1662	[DEBUG]	Store product image relation
2023-10-13	12:50:27	1662	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:27	1662	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861154 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:27	1662	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:27	1662	[DEBUG]	Executed store
2023-10-13	12:50:27	1662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861154','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:27	1662	[DEBUG]	Checking manufacturer
2023-10-13	12:50:27	1662	[DEBUG]	Load a row
2023-10-13	12:50:27	1662	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:27	1662	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:27	1662	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:27	1662	[DEBUG]	Executed store
2023-10-13	12:50:27	1662	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:27	1662	[DEBUG]	Manufacturer exists
2023-10-13	12:50:27	1662	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:27	1662	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:27	1662	[DEBUG]	Executed store
2023-10-13	12:50:27	1662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861154','26')
2023-10-13	12:50:27	1662	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:27	1662	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:27	1662	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861154 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:27	1662	[DEBUG]	Store custom available field
2023-10-13	12:50:27	1662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861154,3,'',1)
2023-10-13	12:50:27	1662	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:27	1662	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:50:27	1662	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861154 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:27	1662	[DEBUG]	Store custom available field
2023-10-13	12:50:27	1662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861154,6,'47',3)
2023-10-13	12:50:27	1662	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:27	1662	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:27	1662	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:27	1662	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:27	1662	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\\r\\n42.5\\r\\n42\\r\\n39\\r\\n46\\r\\n41\\r\\n46.5\\r\\n43\\r\\n44\\r\\n45.5\\r\\n43.5\\r\\n47\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"],\"1861144\":[\"42.5\"],\"1861145\":[\"42\"],\"1861146\":[\"39\"],\"1861147\":[\"46\"],\"1861148\":[\"41\"],\"1861149\":[\"46.5\"],\"1861150\":[\"43\"],\"1861151\":[\"44\"],\"1861152\":[\"45.5\"],\"1861153\":[\"43.5\"],\"1861154\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:27	1662	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:27	1662	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861154
2023-10-13	12:50:27	1663	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:27	1663	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:27	1663	[DEBUG]	Use field value for field taille
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:27	1663	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:27	1663	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:27	1663	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:27	1663	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:27	1663	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:27	1663	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:27	1663	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:27	1663	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:27	1663	[DEBUG]	Use field value for field published
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:27	1663	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field override
2023-10-13	12:50:27	1663	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:27	1663	[DEBUG]	Use field value for field slug
2023-10-13	12:50:27	1663	[DEBUG]	Process line 1663
2023-10-13	12:50:27	1663	[DEBUG]	Load a row
2023-10-13	12:50:27	1663	[DEBUG]	Processing item: 4550170124397
2023-10-13	12:50:27	1663	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:27	1663	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:27	1663	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:27	1663	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:27	1663	[DEBUG]	Processing product tax
2023-10-13	12:50:27	1663	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:27	1663	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:27	1663	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:27	1663	[DEBUG]	Query for Product
2023-10-13	12:50:27	1663	[DEBUG]	Executed store
2023-10-13	12:50:27	1663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4550170124397','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:27	1663	[DEBUG]	No parent found
2023-10-13	12:50:27	1663	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:27	1663	[DEBUG]	Check product language entry
2023-10-13	12:50:27	1663	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861155
2023-10-13	12:50:27	1663	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:27	1663	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170124397' AND `virtuemart_product_id` != 1861155
2023-10-13	12:50:27	1663	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:27	1663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861155, '4550170124397')
2023-10-13	12:50:27	1663	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:27	1663	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-48' AND `virtuemart_product_id` != 1861155
2023-10-13	12:50:27	1663	[DEBUG]	Query for ProductLang
2023-10-13	12:50:27	1663	[DEBUG]	Executed store
2023-10-13	12:50:27	1663	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (48)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-48' WHERE `virtuemart_product_id` = '1861155'
2023-10-13	12:50:27	1663	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:27	1663	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:27	1663	[DEBUG]	Process image file
2023-10-13	12:50:27	1663	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:27	1663	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:27	1663	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:27	1663	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:28	1663	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:28	1663	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:28	1663	[DEBUG]	Query for Media
2023-10-13	12:50:28	1663	[DEBUG]	Executed store
2023-10-13	12:50:28	1663	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:28	1663	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:28	1663	[DEBUG]	Executed store
2023-10-13	12:50:28	1663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861155','1194859','1')
2023-10-13	12:50:28	1663	[DEBUG]	Store product image relation
2023-10-13	12:50:28	1663	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:28	1663	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861155 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:28	1663	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:28	1663	[DEBUG]	Executed store
2023-10-13	12:50:28	1663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861155','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:28	1663	[DEBUG]	Checking manufacturer
2023-10-13	12:50:28	1663	[DEBUG]	Load a row
2023-10-13	12:50:28	1663	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:28	1663	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:28	1663	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:28	1663	[DEBUG]	Executed store
2023-10-13	12:50:28	1663	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:28	1663	[DEBUG]	Manufacturer exists
2023-10-13	12:50:28	1663	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:28	1663	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:28	1663	[DEBUG]	Executed store
2023-10-13	12:50:28	1663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861155','26')
2023-10-13	12:50:28	1663	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:28	1663	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:28	1663	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861155 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:28	1663	[DEBUG]	Store custom available field
2023-10-13	12:50:28	1663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861155,3,'',1)
2023-10-13	12:50:28	1663	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:28	1663	[DEBUG]	Get existing row with customfield value 48
2023-10-13	12:50:28	1663	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861155 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:28	1663	[DEBUG]	Store custom available field
2023-10-13	12:50:28	1663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861155,6,'48',3)
2023-10-13	12:50:28	1663	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:28	1663	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:28	1663	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:28	1663	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:28	1663	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\\r\\n42.5\\r\\n42\\r\\n39\\r\\n46\\r\\n41\\r\\n46.5\\r\\n43\\r\\n44\\r\\n45.5\\r\\n43.5\\r\\n47\\r\\n48\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"],\"1861144\":[\"42.5\"],\"1861145\":[\"42\"],\"1861146\":[\"39\"],\"1861147\":[\"46\"],\"1861148\":[\"41\"],\"1861149\":[\"46.5\"],\"1861150\":[\"43\"],\"1861151\":[\"44\"],\"1861152\":[\"45.5\"],\"1861153\":[\"43.5\"],\"1861154\":[\"47\"],\"1861155\":[\"48\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:28	1663	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:28	1663	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861155
2023-10-13	12:50:28	1664	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:28	1664	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:28	1664	[DEBUG]	Use field value for field taille
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:28	1664	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:28	1664	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:28	1664	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:28	1664	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:28	1664	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:28	1664	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:28	1664	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:28	1664	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:28	1664	[DEBUG]	Use field value for field published
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:28	1664	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field override
2023-10-13	12:50:28	1664	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:28	1664	[DEBUG]	Use field value for field slug
2023-10-13	12:50:28	1664	[DEBUG]	Process line 1664
2023-10-13	12:50:28	1664	[DEBUG]	Load a row
2023-10-13	12:50:28	1664	[DEBUG]	Processing item: 4550170117535
2023-10-13	12:50:28	1664	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:28	1664	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:28	1664	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:28	1664	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:28	1664	[DEBUG]	Processing product tax
2023-10-13	12:50:28	1664	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:28	1664	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:28	1664	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:28	1664	[DEBUG]	Query for Product
2023-10-13	12:50:28	1664	[DEBUG]	Executed store
2023-10-13	12:50:28	1664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4550170117535','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:28	1664	[DEBUG]	No parent found
2023-10-13	12:50:28	1664	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:28	1664	[DEBUG]	Check product language entry
2023-10-13	12:50:28	1664	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861156
2023-10-13	12:50:28	1664	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:28	1664	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170117535' AND `virtuemart_product_id` != 1861156
2023-10-13	12:50:28	1664	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:28	1664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861156, '4550170117535')
2023-10-13	12:50:28	1664	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:28	1664	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-44-5' AND `virtuemart_product_id` != 1861156
2023-10-13	12:50:28	1664	[DEBUG]	Query for ProductLang
2023-10-13	12:50:28	1664	[DEBUG]	Executed store
2023-10-13	12:50:28	1664	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (44.5)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-44-5' WHERE `virtuemart_product_id` = '1861156'
2023-10-13	12:50:28	1664	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:28	1664	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:28	1664	[DEBUG]	Process image file
2023-10-13	12:50:28	1664	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:28	1664	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:28	1664	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:28	1664	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:30	1664	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:30	1664	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:30	1664	[DEBUG]	Query for Media
2023-10-13	12:50:30	1664	[DEBUG]	Executed store
2023-10-13	12:50:30	1664	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:30	1664	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:30	1664	[DEBUG]	Executed store
2023-10-13	12:50:30	1664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861156','1194859','1')
2023-10-13	12:50:30	1664	[DEBUG]	Store product image relation
2023-10-13	12:50:30	1664	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:30	1664	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861156 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:30	1664	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:30	1664	[DEBUG]	Executed store
2023-10-13	12:50:30	1664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861156','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:30	1664	[DEBUG]	Checking manufacturer
2023-10-13	12:50:30	1664	[DEBUG]	Load a row
2023-10-13	12:50:30	1664	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:30	1664	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:30	1664	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:30	1664	[DEBUG]	Executed store
2023-10-13	12:50:30	1664	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:30	1664	[DEBUG]	Manufacturer exists
2023-10-13	12:50:30	1664	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:30	1664	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:30	1664	[DEBUG]	Executed store
2023-10-13	12:50:30	1664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861156','26')
2023-10-13	12:50:30	1664	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:30	1664	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:30	1664	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861156 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:30	1664	[DEBUG]	Store custom available field
2023-10-13	12:50:30	1664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861156,3,'',1)
2023-10-13	12:50:30	1664	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:30	1664	[DEBUG]	Get existing row with customfield value 44.5
2023-10-13	12:50:30	1664	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861156 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:30	1664	[DEBUG]	Store custom available field
2023-10-13	12:50:30	1664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861156,6,'44.5',3)
2023-10-13	12:50:30	1664	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:30	1664	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:30	1664	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:30	1664	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:30	1664	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\\r\\n42.5\\r\\n42\\r\\n39\\r\\n46\\r\\n41\\r\\n46.5\\r\\n43\\r\\n44\\r\\n45.5\\r\\n43.5\\r\\n47\\r\\n48\\r\\n44.5\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"],\"1861144\":[\"42.5\"],\"1861145\":[\"42\"],\"1861146\":[\"39\"],\"1861147\":[\"46\"],\"1861148\":[\"41\"],\"1861149\":[\"46.5\"],\"1861150\":[\"43\"],\"1861151\":[\"44\"],\"1861152\":[\"45.5\"],\"1861153\":[\"43.5\"],\"1861154\":[\"47\"],\"1861155\":[\"48\"],\"1861156\":[\"44.5\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:30	1664	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:30	1664	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861156
2023-10-13	12:50:30	1665	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:30	1665	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:30	1665	[DEBUG]	Use field value for field taille
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:30	1665	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:30	1665	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:30	1665	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:30	1665	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:30	1665	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:30	1665	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:30	1665	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:30	1665	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:30	1665	[DEBUG]	Use field value for field published
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:30	1665	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field override
2023-10-13	12:50:30	1665	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:30	1665	[DEBUG]	Use field value for field slug
2023-10-13	12:50:30	1665	[DEBUG]	Process line 1665
2023-10-13	12:50:30	1665	[DEBUG]	Load a row
2023-10-13	12:50:30	1665	[DEBUG]	Processing item: 4550170091767
2023-10-13	12:50:30	1665	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:30	1665	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:30	1665	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8993_40'
2023-10-13	12:50:30	1665	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:30	1665	[DEBUG]	Processing product tax
2023-10-13	12:50:30	1665	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:30	1665	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:30	1665	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:30	1665	[DEBUG]	Query for Product
2023-10-13	12:50:30	1665	[DEBUG]	Executed store
2023-10-13	12:50:30	1665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861142','4550170091767','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:30	1665	[DEBUG]	No parent found
2023-10-13	12:50:30	1665	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861142 AND customfield_value = 'stockable'
2023-10-13	12:50:30	1665	[DEBUG]	Check product language entry
2023-10-13	12:50:30	1665	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861157
2023-10-13	12:50:30	1665	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:30	1665	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170091767' AND `virtuemart_product_id` != 1861157
2023-10-13	12:50:30	1665	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:30	1665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861157, '4550170091767')
2023-10-13	12:50:30	1665	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:30	1665	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-45' AND `virtuemart_product_id` != 1861157
2023-10-13	12:50:30	1665	[DEBUG]	Query for ProductLang
2023-10-13	12:50:30	1665	[DEBUG]	Executed store
2023-10-13	12:50:30	1665	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC9E S-PHYRE SPD-SL green / Vert (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc9e-s-phyre-spd-sl-green-vert-45' WHERE `virtuemart_product_id` = '1861157'
2023-10-13	12:50:30	1665	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:30	1665	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:30	1665	[DEBUG]	Process image file
2023-10-13	12:50:30	1665	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:30	1665	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:30	1665	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_73583_s.jpg
2023-10-13	12:50:30	1665	[DEBUG]	Full name target: bcprisme/83_73583_s.jpg
2023-10-13	12:50:31	1665	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:31	1665	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/83_73583_s.jpg'
2023-10-13	12:50:31	1665	[DEBUG]	Query for Media
2023-10-13	12:50:31	1665	[DEBUG]	Executed store
2023-10-13	12:50:31	1665	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/83_73583_s.jpg',`file_url_thumb`='bcprisme/83_73583_s.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1194859'
2023-10-13	12:50:31	1665	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:31	1665	[DEBUG]	Executed store
2023-10-13	12:50:31	1665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861157','1194859','1')
2023-10-13	12:50:31	1665	[DEBUG]	Store product image relation
2023-10-13	12:50:31	1665	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:31	1665	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861157 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:31	1665	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:31	1665	[DEBUG]	Executed store
2023-10-13	12:50:31	1665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861157','0','371.402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:31	1665	[DEBUG]	Checking manufacturer
2023-10-13	12:50:31	1665	[DEBUG]	Load a row
2023-10-13	12:50:31	1665	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:31	1665	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:31	1665	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:31	1665	[DEBUG]	Executed store
2023-10-13	12:50:31	1665	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:31	1665	[DEBUG]	Manufacturer exists
2023-10-13	12:50:31	1665	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:31	1665	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:31	1665	[DEBUG]	Executed store
2023-10-13	12:50:31	1665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861157','26')
2023-10-13	12:50:31	1665	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:31	1665	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:31	1665	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861157 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:31	1665	[DEBUG]	Store custom available field
2023-10-13	12:50:31	1665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861157,3,'',1)
2023-10-13	12:50:31	1665	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:31	1665	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:50:31	1665	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861157 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:31	1665	[DEBUG]	Store custom available field
2023-10-13	12:50:31	1665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861157,6,'45',3)
2023-10-13	12:50:31	1665	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:31	1665	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:31	1665	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861142
2023-10-13	12:50:31	1665	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:31	1665	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n40\\r\\n42.5\\r\\n42\\r\\n39\\r\\n46\\r\\n41\\r\\n46.5\\r\\n43\\r\\n44\\r\\n45.5\\r\\n43.5\\r\\n47\\r\\n48\\r\\n44.5\\r\\n45\"}]|clabels=0|options={\"1861142\":[1861142,8,1,\"choisir la taille\"],\"1861143\":[\"40\"],\"1861144\":[\"42.5\"],\"1861145\":[\"42\"],\"1861146\":[\"39\"],\"1861147\":[\"46\"],\"1861148\":[\"41\"],\"1861149\":[\"46.5\"],\"1861150\":[\"43\"],\"1861151\":[\"44\"],\"1861152\":[\"45.5\"],\"1861153\":[\"43.5\"],\"1861154\":[\"47\"],\"1861155\":[\"48\"],\"1861156\":[\"44.5\"],\"1861157\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861142
2023-10-13	12:50:31	1665	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:31	1665	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861157
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:31	1666	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field taille
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field category_path
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:31	1666	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:50:31	1666	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:31	1666	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:31	1666	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:31	1666	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:31	1666	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:31	1666	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field published
2023-10-13	12:50:31	1666	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:31	1666	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field custom_title
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field custom_param
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field override
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field public_price
2023-10-13	12:50:31	1666	[DEBUG]	Use field value for field slug
2023-10-13	12:50:31	1666	[DEBUG]	Process line 1666
2023-10-13	12:50:31	1666	[DEBUG]	Load a row
2023-10-13	12:50:31	1666	[DEBUG]	Processing item: A_8994_743
2023-10-13	12:50:31	1666	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:31	1666	[DEBUG]	Processing product tax
2023-10-13	12:50:31	1666	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:31	1666	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:31	1666	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:31	1666	[DEBUG]	Query for Product
2023-10-13	12:50:31	1666	[DEBUG]	Executed store
2023-10-13	12:50:31	1666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8994_743','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:31	1666	[DEBUG]	Check product language entry
2023-10-13	12:50:31	1666	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861158
2023-10-13	12:50:31	1666	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:31	1666	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8994_743' AND `virtuemart_product_id` != 1861158
2023-10-13	12:50:31	1666	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:31	1666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861158, 'A_8994_743')
2023-10-13	12:50:31	1666	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:31	1666	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange' AND `virtuemart_product_id` != 1861158
2023-10-13	12:50:31	1666	[DEBUG]	Query for ProductLang
2023-10-13	12:50:31	1666	[DEBUG]	Executed store
2023-10-13	12:50:31	1666	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 58.79689',`product_name`='Pearl Izumi Chaussures Men VTT X-Alp Launch redwood sunset orange 4 / redwood sunset orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange' WHERE `virtuemart_product_id` = '1861158'
2023-10-13	12:50:31	1666	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:31	1666	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:31	1666	[DEBUG]	Process image file
2023-10-13	12:50:31	1666	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:31	1666	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:31	1666	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:31	1666	[DEBUG]	Full name target: bcprisme/58_79689.jpg
2023-10-13	12:50:32	1666	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:32	1666	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/58_79689.jpg'
2023-10-13	12:50:32	1666	[DEBUG]	Query for Media
2023-10-13	12:50:32	1666	[DEBUG]	Executed store
2023-10-13	12:50:32	1666	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/58_79689.jpg',`file_url_thumb`='bcprisme/58_79689.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1433057'
2023-10-13	12:50:32	1666	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:32	1666	[DEBUG]	Executed store
2023-10-13	12:50:32	1666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861158','1433057','1')
2023-10-13	12:50:32	1666	[DEBUG]	Store product image relation
2023-10-13	12:50:32	1666	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:32	1666	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861158 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:32	1666	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:32	1666	[DEBUG]	Executed store
2023-10-13	12:50:32	1666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861158','0','167.130919220056','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:32	1666	[DEBUG]	Checking manufacturer
2023-10-13	12:50:32	1666	[DEBUG]	Load a row
2023-10-13	12:50:32	1666	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:32	1666	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:32	1666	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:32	1666	[DEBUG]	Executed store
2023-10-13	12:50:32	1666	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:32	1666	[DEBUG]	Manufacturer exists
2023-10-13	12:50:32	1666	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:50:32	1666	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:32	1666	[DEBUG]	Executed store
2023-10-13	12:50:32	1666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861158','73')
2023-10-13	12:50:32	1666	[DEBUG]	Find the custom field ID
2023-10-13	12:50:32	1666	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:50:32	1666	[DEBUG]	No custom field ID found
2023-10-13	12:50:32	1666	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:32	1666	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:50:32	1666	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861158 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:32	1666	[DEBUG]	Store custom available field
2023-10-13	12:50:32	1666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861158,3,'0',1)
2023-10-13	12:50:32	1666	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:32	1666	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:50:32	1666	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861158 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:32	1666	[DEBUG]	Store custom available field
2023-10-13	12:50:32	1666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861158,6,'choisir la taille',3)
2023-10-13	12:50:32	1666	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:32	1666	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:50:32	1666	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:50:32	1666	[DEBUG]	Find the multi variant product entry
2023-10-13	12:50:32	1666	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861158 AND `virtuemart_custom_id` = 8
2023-10-13	12:50:32	1666	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:50:32	1666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861158,8,1)
2023-10-13	12:50:32	1666	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:32	1666	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861158\":[1861158,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861158
2023-10-13	12:50:32	1666	[DEBUG]	Checking category
2023-10-13	12:50:32	1666	[DEBUG]	Get the existing categories for the product
2023-10-13	12:50:32	1666	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861158
2023-10-13	12:50:32	1666	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:50:32	1666	[DEBUG]	Executed store
2023-10-13	12:50:32	1666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861158','7331')
2023-10-13	12:50:32	1666	[DEBUG]	Delete leftover product categories
2023-10-13	12:50:32	1666	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861158 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:50:32	1666	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:32	1666	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861158
2023-10-13	12:50:32	1667	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:32	1667	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:32	1667	[DEBUG]	Use field value for field taille
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:32	1667	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:32	1667	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:32	1667	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:32	1667	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:32	1667	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:32	1667	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:32	1667	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:32	1667	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:32	1667	[DEBUG]	Use field value for field published
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:32	1667	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field override
2023-10-13	12:50:32	1667	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:32	1667	[DEBUG]	Use field value for field slug
2023-10-13	12:50:32	1667	[DEBUG]	Process line 1667
2023-10-13	12:50:32	1667	[DEBUG]	Load a row
2023-10-13	12:50:32	1667	[DEBUG]	Processing item: 191234722094
2023-10-13	12:50:32	1667	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:32	1667	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:32	1667	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8994_743'
2023-10-13	12:50:32	1667	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:32	1667	[DEBUG]	Processing product tax
2023-10-13	12:50:32	1667	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:32	1667	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:32	1667	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:32	1667	[DEBUG]	Query for Product
2023-10-13	12:50:32	1667	[DEBUG]	Executed store
2023-10-13	12:50:32	1667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861158','191234722094','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:32	1667	[DEBUG]	No parent found
2023-10-13	12:50:32	1667	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861158 AND customfield_value = 'stockable'
2023-10-13	12:50:32	1667	[DEBUG]	Check product language entry
2023-10-13	12:50:32	1667	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861159
2023-10-13	12:50:32	1667	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:32	1667	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191234722094' AND `virtuemart_product_id` != 1861159
2023-10-13	12:50:32	1667	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:32	1667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861159, '191234722094')
2023-10-13	12:50:32	1667	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:32	1667	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange-44' AND `virtuemart_product_id` != 1861159
2023-10-13	12:50:32	1667	[DEBUG]	Query for ProductLang
2023-10-13	12:50:32	1667	[DEBUG]	Executed store
2023-10-13	12:50:32	1667	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pearl Izumi Chaussures Men VTT X-Alp Launch redwood sunset orange 4 / redwood sunset orange (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange-44' WHERE `virtuemart_product_id` = '1861159'
2023-10-13	12:50:32	1667	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:32	1667	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:32	1667	[DEBUG]	Process image file
2023-10-13	12:50:32	1667	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:32	1667	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:32	1667	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:32	1667	[DEBUG]	Full name target: bcprisme/58_79689.jpg
2023-10-13	12:50:33	1667	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:33	1667	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/58_79689.jpg'
2023-10-13	12:50:33	1667	[DEBUG]	Query for Media
2023-10-13	12:50:33	1667	[DEBUG]	Executed store
2023-10-13	12:50:33	1667	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/58_79689.jpg',`file_url_thumb`='bcprisme/58_79689.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1433057'
2023-10-13	12:50:33	1667	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:33	1667	[DEBUG]	Executed store
2023-10-13	12:50:33	1667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861159','1433057','1')
2023-10-13	12:50:33	1667	[DEBUG]	Store product image relation
2023-10-13	12:50:33	1667	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:33	1667	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861159 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:33	1667	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:33	1667	[DEBUG]	Executed store
2023-10-13	12:50:33	1667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861159','0','167.130919220056','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:33	1667	[DEBUG]	Checking manufacturer
2023-10-13	12:50:33	1667	[DEBUG]	Load a row
2023-10-13	12:50:33	1667	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:33	1667	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:33	1667	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:33	1667	[DEBUG]	Executed store
2023-10-13	12:50:33	1667	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:33	1667	[DEBUG]	Manufacturer exists
2023-10-13	12:50:33	1667	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:50:33	1667	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:33	1667	[DEBUG]	Executed store
2023-10-13	12:50:33	1667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861159','73')
2023-10-13	12:50:33	1667	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:33	1667	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:33	1667	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861159 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:33	1667	[DEBUG]	Store custom available field
2023-10-13	12:50:33	1667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861159,3,'',1)
2023-10-13	12:50:33	1667	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:33	1667	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:50:33	1667	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861159 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:33	1667	[DEBUG]	Store custom available field
2023-10-13	12:50:33	1667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861159,6,'44',3)
2023-10-13	12:50:33	1667	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:33	1667	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:33	1667	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861158
2023-10-13	12:50:33	1667	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:33	1667	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\"}]|clabels=0|options={\"1861158\":[1861158,8,1,\"choisir la taille\"],\"1861159\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861158
2023-10-13	12:50:33	1667	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:33	1667	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861159
2023-10-13	12:50:33	1668	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:33	1668	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:33	1668	[DEBUG]	Use field value for field taille
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:33	1668	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:33	1668	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:33	1668	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:33	1668	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:33	1668	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:33	1668	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:33	1668	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:33	1668	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:33	1668	[DEBUG]	Use field value for field published
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:33	1668	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field override
2023-10-13	12:50:33	1668	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:33	1668	[DEBUG]	Use field value for field slug
2023-10-13	12:50:33	1668	[DEBUG]	Process line 1668
2023-10-13	12:50:33	1668	[DEBUG]	Load a row
2023-10-13	12:50:33	1668	[DEBUG]	Processing item: 191234722070
2023-10-13	12:50:33	1668	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:33	1668	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:33	1668	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8994_743'
2023-10-13	12:50:33	1668	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:33	1668	[DEBUG]	Processing product tax
2023-10-13	12:50:33	1668	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:33	1668	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:33	1668	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:33	1668	[DEBUG]	Query for Product
2023-10-13	12:50:33	1668	[DEBUG]	Executed store
2023-10-13	12:50:33	1668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861158','191234722070','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:33	1668	[DEBUG]	No parent found
2023-10-13	12:50:33	1668	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861158 AND customfield_value = 'stockable'
2023-10-13	12:50:33	1668	[DEBUG]	Check product language entry
2023-10-13	12:50:33	1668	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861160
2023-10-13	12:50:33	1668	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:33	1668	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191234722070' AND `virtuemart_product_id` != 1861160
2023-10-13	12:50:33	1668	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:33	1668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861160, '191234722070')
2023-10-13	12:50:33	1668	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:33	1668	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange-43' AND `virtuemart_product_id` != 1861160
2023-10-13	12:50:33	1668	[DEBUG]	Query for ProductLang
2023-10-13	12:50:33	1668	[DEBUG]	Executed store
2023-10-13	12:50:33	1668	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pearl Izumi Chaussures Men VTT X-Alp Launch redwood sunset orange 4 / redwood sunset orange (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange-43' WHERE `virtuemart_product_id` = '1861160'
2023-10-13	12:50:33	1668	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:33	1668	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:33	1668	[DEBUG]	Process image file
2023-10-13	12:50:33	1668	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:33	1668	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:33	1668	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:33	1668	[DEBUG]	Full name target: bcprisme/58_79689.jpg
2023-10-13	12:50:34	1668	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:34	1668	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/58_79689.jpg'
2023-10-13	12:50:34	1668	[DEBUG]	Query for Media
2023-10-13	12:50:34	1668	[DEBUG]	Executed store
2023-10-13	12:50:34	1668	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/58_79689.jpg',`file_url_thumb`='bcprisme/58_79689.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1433057'
2023-10-13	12:50:34	1668	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:34	1668	[DEBUG]	Executed store
2023-10-13	12:50:34	1668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861160','1433057','1')
2023-10-13	12:50:34	1668	[DEBUG]	Store product image relation
2023-10-13	12:50:34	1668	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:34	1668	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861160 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:34	1668	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:34	1668	[DEBUG]	Executed store
2023-10-13	12:50:34	1668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861160','0','167.130919220056','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:34	1668	[DEBUG]	Checking manufacturer
2023-10-13	12:50:34	1668	[DEBUG]	Load a row
2023-10-13	12:50:34	1668	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:34	1668	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:34	1668	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:34	1668	[DEBUG]	Executed store
2023-10-13	12:50:34	1668	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:34	1668	[DEBUG]	Manufacturer exists
2023-10-13	12:50:34	1668	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:50:34	1668	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:34	1668	[DEBUG]	Executed store
2023-10-13	12:50:34	1668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861160','73')
2023-10-13	12:50:34	1668	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:34	1668	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:34	1668	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861160 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:34	1668	[DEBUG]	Store custom available field
2023-10-13	12:50:34	1668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861160,3,'',1)
2023-10-13	12:50:34	1668	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:34	1668	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:50:34	1668	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861160 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:34	1668	[DEBUG]	Store custom available field
2023-10-13	12:50:34	1668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861160,6,'43',3)
2023-10-13	12:50:34	1668	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:34	1668	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:34	1668	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861158
2023-10-13	12:50:34	1668	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:34	1668	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n43\"}]|clabels=0|options={\"1861158\":[1861158,8,1,\"choisir la taille\"],\"1861159\":[\"44\"],\"1861160\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861158
2023-10-13	12:50:34	1668	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:34	1668	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861160
2023-10-13	12:50:34	1669	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:34	1669	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:34	1669	[DEBUG]	Use field value for field taille
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:34	1669	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:34	1669	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:34	1669	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:34	1669	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:34	1669	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:34	1669	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:34	1669	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:34	1669	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:34	1669	[DEBUG]	Use field value for field published
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:34	1669	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field override
2023-10-13	12:50:34	1669	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:34	1669	[DEBUG]	Use field value for field slug
2023-10-13	12:50:34	1669	[DEBUG]	Process line 1669
2023-10-13	12:50:34	1669	[DEBUG]	Load a row
2023-10-13	12:50:34	1669	[DEBUG]	Processing item: 191234722155
2023-10-13	12:50:34	1669	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:34	1669	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:34	1669	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8994_743'
2023-10-13	12:50:34	1669	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:34	1669	[DEBUG]	Processing product tax
2023-10-13	12:50:34	1669	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:34	1669	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:34	1669	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:34	1669	[DEBUG]	Query for Product
2023-10-13	12:50:34	1669	[DEBUG]	Executed store
2023-10-13	12:50:34	1669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861158','191234722155','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:34	1669	[DEBUG]	No parent found
2023-10-13	12:50:34	1669	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861158 AND customfield_value = 'stockable'
2023-10-13	12:50:34	1669	[DEBUG]	Check product language entry
2023-10-13	12:50:34	1669	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861161
2023-10-13	12:50:34	1669	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:34	1669	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191234722155' AND `virtuemart_product_id` != 1861161
2023-10-13	12:50:34	1669	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:34	1669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861161, '191234722155')
2023-10-13	12:50:34	1669	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:34	1669	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange-47' AND `virtuemart_product_id` != 1861161
2023-10-13	12:50:34	1669	[DEBUG]	Query for ProductLang
2023-10-13	12:50:34	1669	[DEBUG]	Executed store
2023-10-13	12:50:34	1669	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pearl Izumi Chaussures Men VTT X-Alp Launch redwood sunset orange 4 / redwood sunset orange (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange-47' WHERE `virtuemart_product_id` = '1861161'
2023-10-13	12:50:34	1669	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:34	1669	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:34	1669	[DEBUG]	Process image file
2023-10-13	12:50:34	1669	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:34	1669	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:34	1669	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:34	1669	[DEBUG]	Full name target: bcprisme/58_79689.jpg
2023-10-13	12:50:35	1669	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:35	1669	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/58_79689.jpg'
2023-10-13	12:50:35	1669	[DEBUG]	Query for Media
2023-10-13	12:50:35	1669	[DEBUG]	Executed store
2023-10-13	12:50:35	1669	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/58_79689.jpg',`file_url_thumb`='bcprisme/58_79689.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1433057'
2023-10-13	12:50:35	1669	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:35	1669	[DEBUG]	Executed store
2023-10-13	12:50:35	1669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861161','1433057','1')
2023-10-13	12:50:35	1669	[DEBUG]	Store product image relation
2023-10-13	12:50:35	1669	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:35	1669	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861161 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:35	1669	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:35	1669	[DEBUG]	Executed store
2023-10-13	12:50:35	1669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861161','0','167.130919220056','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:35	1669	[DEBUG]	Checking manufacturer
2023-10-13	12:50:35	1669	[DEBUG]	Load a row
2023-10-13	12:50:35	1669	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:35	1669	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:35	1669	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:35	1669	[DEBUG]	Executed store
2023-10-13	12:50:35	1669	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:35	1669	[DEBUG]	Manufacturer exists
2023-10-13	12:50:35	1669	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:50:35	1669	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:35	1669	[DEBUG]	Executed store
2023-10-13	12:50:35	1669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861161','73')
2023-10-13	12:50:35	1669	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:35	1669	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:35	1669	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861161 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:35	1669	[DEBUG]	Store custom available field
2023-10-13	12:50:35	1669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861161,3,'',1)
2023-10-13	12:50:35	1669	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:35	1669	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:50:35	1669	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861161 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:35	1669	[DEBUG]	Store custom available field
2023-10-13	12:50:35	1669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861161,6,'47',3)
2023-10-13	12:50:35	1669	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:35	1669	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:35	1669	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861158
2023-10-13	12:50:35	1669	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:35	1669	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n43\\r\\n47\"}]|clabels=0|options={\"1861158\":[1861158,8,1,\"choisir la taille\"],\"1861159\":[\"44\"],\"1861160\":[\"43\"],\"1861161\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1861158
2023-10-13	12:50:35	1669	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:35	1669	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861161
2023-10-13	12:50:35	1670	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:35	1670	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:35	1670	[DEBUG]	Use field value for field taille
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:35	1670	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:35	1670	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:35	1670	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:35	1670	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:35	1670	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:35	1670	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:35	1670	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:35	1670	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:35	1670	[DEBUG]	Use field value for field published
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:35	1670	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field override
2023-10-13	12:50:35	1670	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:35	1670	[DEBUG]	Use field value for field slug
2023-10-13	12:50:35	1670	[DEBUG]	Process line 1670
2023-10-13	12:50:35	1670	[DEBUG]	Load a row
2023-10-13	12:50:35	1670	[DEBUG]	Processing item: 191234722131
2023-10-13	12:50:35	1670	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:35	1670	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:35	1670	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8994_743'
2023-10-13	12:50:35	1670	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:35	1670	[DEBUG]	Processing product tax
2023-10-13	12:50:35	1670	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:35	1670	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:35	1670	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:35	1670	[DEBUG]	Query for Product
2023-10-13	12:50:35	1670	[DEBUG]	Executed store
2023-10-13	12:50:35	1670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861158','191234722131','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:35	1670	[DEBUG]	No parent found
2023-10-13	12:50:35	1670	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861158 AND customfield_value = 'stockable'
2023-10-13	12:50:35	1670	[DEBUG]	Check product language entry
2023-10-13	12:50:35	1670	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861162
2023-10-13	12:50:35	1670	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:35	1670	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191234722131' AND `virtuemart_product_id` != 1861162
2023-10-13	12:50:35	1670	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:35	1670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861162, '191234722131')
2023-10-13	12:50:35	1670	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:35	1670	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange-46' AND `virtuemart_product_id` != 1861162
2023-10-13	12:50:35	1670	[DEBUG]	Query for ProductLang
2023-10-13	12:50:35	1670	[DEBUG]	Executed store
2023-10-13	12:50:35	1670	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pearl Izumi Chaussures Men VTT X-Alp Launch redwood sunset orange 4 / redwood sunset orange (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange-46' WHERE `virtuemart_product_id` = '1861162'
2023-10-13	12:50:35	1670	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:35	1670	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:35	1670	[DEBUG]	Process image file
2023-10-13	12:50:35	1670	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:35	1670	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:35	1670	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:35	1670	[DEBUG]	Full name target: bcprisme/58_79689.jpg
2023-10-13	12:50:36	1670	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:36	1670	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/58_79689.jpg'
2023-10-13	12:50:36	1670	[DEBUG]	Query for Media
2023-10-13	12:50:36	1670	[DEBUG]	Executed store
2023-10-13	12:50:36	1670	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/58_79689.jpg',`file_url_thumb`='bcprisme/58_79689.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1433057'
2023-10-13	12:50:36	1670	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:36	1670	[DEBUG]	Executed store
2023-10-13	12:50:36	1670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861162','1433057','1')
2023-10-13	12:50:36	1670	[DEBUG]	Store product image relation
2023-10-13	12:50:36	1670	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:36	1670	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861162 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:36	1670	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:36	1670	[DEBUG]	Executed store
2023-10-13	12:50:36	1670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861162','0','167.130919220056','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:36	1670	[DEBUG]	Checking manufacturer
2023-10-13	12:50:36	1670	[DEBUG]	Load a row
2023-10-13	12:50:36	1670	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:36	1670	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:36	1670	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:36	1670	[DEBUG]	Executed store
2023-10-13	12:50:36	1670	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:36	1670	[DEBUG]	Manufacturer exists
2023-10-13	12:50:36	1670	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:50:36	1670	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:36	1670	[DEBUG]	Executed store
2023-10-13	12:50:36	1670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861162','73')
2023-10-13	12:50:36	1670	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:36	1670	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:36	1670	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861162 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:36	1670	[DEBUG]	Store custom available field
2023-10-13	12:50:36	1670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861162,3,'',1)
2023-10-13	12:50:36	1670	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:36	1670	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:50:36	1670	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861162 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:36	1670	[DEBUG]	Store custom available field
2023-10-13	12:50:36	1670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861162,6,'46',3)
2023-10-13	12:50:36	1670	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:36	1670	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:36	1670	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861158
2023-10-13	12:50:36	1670	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:36	1670	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n43\\r\\n47\\r\\n46\"}]|clabels=0|options={\"1861158\":[1861158,8,1,\"choisir la taille\"],\"1861159\":[\"44\"],\"1861160\":[\"43\"],\"1861161\":[\"47\"],\"1861162\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861158
2023-10-13	12:50:36	1670	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:36	1670	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861162
2023-10-13	12:50:36	1671	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:36	1671	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:36	1671	[DEBUG]	Use field value for field taille
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:36	1671	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:36	1671	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:36	1671	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:36	1671	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:36	1671	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:36	1671	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:36	1671	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:36	1671	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:36	1671	[DEBUG]	Use field value for field published
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:36	1671	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field override
2023-10-13	12:50:36	1671	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:36	1671	[DEBUG]	Use field value for field slug
2023-10-13	12:50:36	1671	[DEBUG]	Process line 1671
2023-10-13	12:50:36	1671	[DEBUG]	Load a row
2023-10-13	12:50:36	1671	[DEBUG]	Processing item: 191234722117
2023-10-13	12:50:36	1671	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:36	1671	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:36	1671	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8994_743'
2023-10-13	12:50:36	1671	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:36	1671	[DEBUG]	Processing product tax
2023-10-13	12:50:36	1671	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:36	1671	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:36	1671	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:36	1671	[DEBUG]	Query for Product
2023-10-13	12:50:36	1671	[DEBUG]	Executed store
2023-10-13	12:50:36	1671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861158','191234722117','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:36	1671	[DEBUG]	No parent found
2023-10-13	12:50:36	1671	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861158 AND customfield_value = 'stockable'
2023-10-13	12:50:36	1671	[DEBUG]	Check product language entry
2023-10-13	12:50:36	1671	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861163
2023-10-13	12:50:36	1671	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:36	1671	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191234722117' AND `virtuemart_product_id` != 1861163
2023-10-13	12:50:36	1671	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:36	1671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861163, '191234722117')
2023-10-13	12:50:36	1671	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:36	1671	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange-45' AND `virtuemart_product_id` != 1861163
2023-10-13	12:50:36	1671	[DEBUG]	Query for ProductLang
2023-10-13	12:50:36	1671	[DEBUG]	Executed store
2023-10-13	12:50:36	1671	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pearl Izumi Chaussures Men VTT X-Alp Launch redwood sunset orange 4 / redwood sunset orange (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange-45' WHERE `virtuemart_product_id` = '1861163'
2023-10-13	12:50:36	1671	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:36	1671	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:36	1671	[DEBUG]	Process image file
2023-10-13	12:50:36	1671	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:36	1671	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:36	1671	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:36	1671	[DEBUG]	Full name target: bcprisme/58_79689.jpg
2023-10-13	12:50:37	1671	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:37	1671	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/58_79689.jpg'
2023-10-13	12:50:37	1671	[DEBUG]	Query for Media
2023-10-13	12:50:37	1671	[DEBUG]	Executed store
2023-10-13	12:50:37	1671	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/58_79689.jpg',`file_url_thumb`='bcprisme/58_79689.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1433057'
2023-10-13	12:50:37	1671	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:37	1671	[DEBUG]	Executed store
2023-10-13	12:50:37	1671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861163','1433057','1')
2023-10-13	12:50:37	1671	[DEBUG]	Store product image relation
2023-10-13	12:50:37	1671	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:37	1671	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861163 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:37	1671	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:37	1671	[DEBUG]	Executed store
2023-10-13	12:50:37	1671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861163','0','167.130919220056','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:37	1671	[DEBUG]	Checking manufacturer
2023-10-13	12:50:37	1671	[DEBUG]	Load a row
2023-10-13	12:50:37	1671	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:37	1671	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:37	1671	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:37	1671	[DEBUG]	Executed store
2023-10-13	12:50:37	1671	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:37	1671	[DEBUG]	Manufacturer exists
2023-10-13	12:50:37	1671	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:50:37	1671	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:37	1671	[DEBUG]	Executed store
2023-10-13	12:50:37	1671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861163','73')
2023-10-13	12:50:37	1671	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:37	1671	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:37	1671	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861163 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:37	1671	[DEBUG]	Store custom available field
2023-10-13	12:50:37	1671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861163,3,'',1)
2023-10-13	12:50:37	1671	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:37	1671	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:50:37	1671	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861163 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:37	1671	[DEBUG]	Store custom available field
2023-10-13	12:50:37	1671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861163,6,'45',3)
2023-10-13	12:50:37	1671	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:37	1671	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:37	1671	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861158
2023-10-13	12:50:37	1671	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:37	1671	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n43\\r\\n47\\r\\n46\\r\\n45\"}]|clabels=0|options={\"1861158\":[1861158,8,1,\"choisir la taille\"],\"1861159\":[\"44\"],\"1861160\":[\"43\"],\"1861161\":[\"47\"],\"1861162\":[\"46\"],\"1861163\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861158
2023-10-13	12:50:37	1671	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:37	1671	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861163
2023-10-13	12:50:37	1672	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:37	1672	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:37	1672	[DEBUG]	Use field value for field taille
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:37	1672	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:37	1672	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:37	1672	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:37	1672	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:37	1672	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:37	1672	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:37	1672	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:37	1672	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:37	1672	[DEBUG]	Use field value for field published
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:37	1672	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field override
2023-10-13	12:50:37	1672	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:37	1672	[DEBUG]	Use field value for field slug
2023-10-13	12:50:37	1672	[DEBUG]	Process line 1672
2023-10-13	12:50:37	1672	[DEBUG]	Load a row
2023-10-13	12:50:37	1672	[DEBUG]	Processing item: 191234722056
2023-10-13	12:50:37	1672	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:37	1672	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:37	1672	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8994_743'
2023-10-13	12:50:37	1672	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:37	1672	[DEBUG]	Processing product tax
2023-10-13	12:50:37	1672	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:37	1672	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:37	1672	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:37	1672	[DEBUG]	Query for Product
2023-10-13	12:50:37	1672	[DEBUG]	Executed store
2023-10-13	12:50:37	1672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861158','191234722056','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:37	1672	[DEBUG]	No parent found
2023-10-13	12:50:37	1672	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861158 AND customfield_value = 'stockable'
2023-10-13	12:50:37	1672	[DEBUG]	Check product language entry
2023-10-13	12:50:37	1672	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861164
2023-10-13	12:50:37	1672	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:37	1672	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191234722056' AND `virtuemart_product_id` != 1861164
2023-10-13	12:50:37	1672	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:37	1672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861164, '191234722056')
2023-10-13	12:50:37	1672	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:37	1672	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange-42' AND `virtuemart_product_id` != 1861164
2023-10-13	12:50:37	1672	[DEBUG]	Query for ProductLang
2023-10-13	12:50:37	1672	[DEBUG]	Executed store
2023-10-13	12:50:37	1672	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pearl Izumi Chaussures Men VTT X-Alp Launch redwood sunset orange 4 / redwood sunset orange (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange-42' WHERE `virtuemart_product_id` = '1861164'
2023-10-13	12:50:37	1672	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:37	1672	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:37	1672	[DEBUG]	Process image file
2023-10-13	12:50:37	1672	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:37	1672	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:37	1672	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:37	1672	[DEBUG]	Full name target: bcprisme/58_79689.jpg
2023-10-13	12:50:38	1672	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:38	1672	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/58_79689.jpg'
2023-10-13	12:50:38	1672	[DEBUG]	Query for Media
2023-10-13	12:50:38	1672	[DEBUG]	Executed store
2023-10-13	12:50:38	1672	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/58_79689.jpg',`file_url_thumb`='bcprisme/58_79689.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1433057'
2023-10-13	12:50:38	1672	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:38	1672	[DEBUG]	Executed store
2023-10-13	12:50:38	1672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861164','1433057','1')
2023-10-13	12:50:38	1672	[DEBUG]	Store product image relation
2023-10-13	12:50:38	1672	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:38	1672	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861164 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:38	1672	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:38	1672	[DEBUG]	Executed store
2023-10-13	12:50:38	1672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861164','0','167.130919220056','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:38	1672	[DEBUG]	Checking manufacturer
2023-10-13	12:50:38	1672	[DEBUG]	Load a row
2023-10-13	12:50:38	1672	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:38	1672	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:38	1672	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:38	1672	[DEBUG]	Executed store
2023-10-13	12:50:38	1672	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:38	1672	[DEBUG]	Manufacturer exists
2023-10-13	12:50:38	1672	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:50:38	1672	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:38	1672	[DEBUG]	Executed store
2023-10-13	12:50:38	1672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861164','73')
2023-10-13	12:50:38	1672	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:38	1672	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:38	1672	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861164 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:38	1672	[DEBUG]	Store custom available field
2023-10-13	12:50:38	1672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861164,3,'',1)
2023-10-13	12:50:38	1672	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:38	1672	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:50:38	1672	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861164 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:38	1672	[DEBUG]	Store custom available field
2023-10-13	12:50:38	1672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861164,6,'42',3)
2023-10-13	12:50:38	1672	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:38	1672	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:38	1672	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861158
2023-10-13	12:50:38	1672	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:38	1672	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n43\\r\\n47\\r\\n46\\r\\n45\\r\\n42\"}]|clabels=0|options={\"1861158\":[1861158,8,1,\"choisir la taille\"],\"1861159\":[\"44\"],\"1861160\":[\"43\"],\"1861161\":[\"47\"],\"1861162\":[\"46\"],\"1861163\":[\"45\"],\"1861164\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861158
2023-10-13	12:50:38	1672	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:38	1672	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861164
2023-10-13	12:50:38	1673	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:38	1673	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:38	1673	[DEBUG]	Use field value for field taille
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:38	1673	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:38	1673	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:38	1673	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:38	1673	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:38	1673	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:38	1673	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:38	1673	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:38	1673	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:38	1673	[DEBUG]	Use field value for field published
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:38	1673	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field override
2023-10-13	12:50:38	1673	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:38	1673	[DEBUG]	Use field value for field slug
2023-10-13	12:50:38	1673	[DEBUG]	Process line 1673
2023-10-13	12:50:38	1673	[DEBUG]	Load a row
2023-10-13	12:50:38	1673	[DEBUG]	Processing item: 191234722032
2023-10-13	12:50:38	1673	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:38	1673	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:38	1673	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8994_743'
2023-10-13	12:50:38	1673	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:38	1673	[DEBUG]	Processing product tax
2023-10-13	12:50:38	1673	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:38	1673	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:38	1673	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:38	1673	[DEBUG]	Query for Product
2023-10-13	12:50:38	1673	[DEBUG]	Executed store
2023-10-13	12:50:38	1673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861158','191234722032','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:38	1673	[DEBUG]	No parent found
2023-10-13	12:50:38	1673	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861158 AND customfield_value = 'stockable'
2023-10-13	12:50:38	1673	[DEBUG]	Check product language entry
2023-10-13	12:50:38	1673	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861165
2023-10-13	12:50:38	1673	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:38	1673	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191234722032' AND `virtuemart_product_id` != 1861165
2023-10-13	12:50:38	1673	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:38	1673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861165, '191234722032')
2023-10-13	12:50:38	1673	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:38	1673	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange-41' AND `virtuemart_product_id` != 1861165
2023-10-13	12:50:38	1673	[DEBUG]	Query for ProductLang
2023-10-13	12:50:38	1673	[DEBUG]	Executed store
2023-10-13	12:50:38	1673	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pearl Izumi Chaussures Men VTT X-Alp Launch redwood sunset orange 4 / redwood sunset orange (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-chaussures-men-vtt-x-alp-launch-redwood-sunset-orange-4-redwood-sunset-orange-41' WHERE `virtuemart_product_id` = '1861165'
2023-10-13	12:50:38	1673	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:38	1673	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:38	1673	[DEBUG]	Process image file
2023-10-13	12:50:38	1673	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:50:38	1673	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:38	1673	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/58_79689.jpg
2023-10-13	12:50:38	1673	[DEBUG]	Full name target: bcprisme/58_79689.jpg
2023-10-13	12:50:39	1673	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:39	1673	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/58_79689.jpg'
2023-10-13	12:50:39	1673	[DEBUG]	Query for Media
2023-10-13	12:50:39	1673	[DEBUG]	Executed store
2023-10-13	12:50:39	1673	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/58_79689.jpg',`file_url_thumb`='bcprisme/58_79689.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1433057'
2023-10-13	12:50:39	1673	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:39	1673	[DEBUG]	Executed store
2023-10-13	12:50:39	1673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861165','1433057','1')
2023-10-13	12:50:39	1673	[DEBUG]	Store product image relation
2023-10-13	12:50:39	1673	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:39	1673	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861165 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:39	1673	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:39	1673	[DEBUG]	Executed store
2023-10-13	12:50:39	1673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861165','0','167.130919220056','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:39	1673	[DEBUG]	Checking manufacturer
2023-10-13	12:50:39	1673	[DEBUG]	Load a row
2023-10-13	12:50:39	1673	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:39	1673	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:39	1673	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:39	1673	[DEBUG]	Executed store
2023-10-13	12:50:39	1673	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:50:39	1673	[DEBUG]	Manufacturer exists
2023-10-13	12:50:39	1673	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:50:39	1673	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:39	1673	[DEBUG]	Executed store
2023-10-13	12:50:39	1673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861165','73')
2023-10-13	12:50:39	1673	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:39	1673	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:39	1673	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861165 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:39	1673	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861165,3,'',1)
2023-10-13	12:50:39	1673	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:39	1673	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:50:39	1673	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861165 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:39	1673	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861165,6,'41',3)
2023-10-13	12:50:39	1673	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:39	1673	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:39	1673	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861158
2023-10-13	12:50:39	1673	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:39	1673	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n43\\r\\n47\\r\\n46\\r\\n45\\r\\n42\\r\\n41\"}]|clabels=0|options={\"1861158\":[1861158,8,1,\"choisir la taille\"],\"1861159\":[\"44\"],\"1861160\":[\"43\"],\"1861161\":[\"47\"],\"1861162\":[\"46\"],\"1861163\":[\"45\"],\"1861164\":[\"42\"],\"1861165\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861158
2023-10-13	12:50:39	1673	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:39	1673	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861165
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:39	1674	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field taille
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field category_path
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:39	1674	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:50:39	1674	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:39	1674	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:39	1674	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:39	1674	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:39	1674	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:39	1674	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field published
2023-10-13	12:50:39	1674	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:39	1674	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field custom_title
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field custom_param
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field override
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field public_price
2023-10-13	12:50:39	1674	[DEBUG]	Use field value for field slug
2023-10-13	12:50:39	1674	[DEBUG]	Process line 1674
2023-10-13	12:50:39	1674	[DEBUG]	Load a row
2023-10-13	12:50:39	1674	[DEBUG]	Processing item: A_9340_84
2023-10-13	12:50:39	1674	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:39	1674	[DEBUG]	Processing product tax
2023-10-13	12:50:39	1674	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:39	1674	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:39	1674	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:39	1674	[DEBUG]	Query for Product
2023-10-13	12:50:39	1674	[DEBUG]	Executed store
2023-10-13	12:50:39	1674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9340_84','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:39	1674	[DEBUG]	Check product language entry
2023-10-13	12:50:39	1674	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1674	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1674	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9340_84' AND `virtuemart_product_id` != 1861166
2023-10-13	12:50:39	1674	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:39	1674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861166, 'A_9340_84')
2023-10-13	12:50:39	1674	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1674	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5-spd-sl-black-black' AND `virtuemart_product_id` != 1861166
2023-10-13	12:50:39	1674	[DEBUG]	Query for ProductLang
2023-10-13	12:50:39	1674	[DEBUG]	Executed store
2023-10-13	12:50:39	1674	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 83.81809',`product_name`='SHIMANO Chaussures Men Road SH-RC5 SPD-SL black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5-spd-sl-black-black' WHERE `virtuemart_product_id` = '1861166'
2023-10-13	12:50:39	1674	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_81809_s.jpg has not been found.
2023-10-13	12:50:39	1674	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:39	1674	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861166 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:39	1674	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:39	1674	[DEBUG]	Executed store
2023-10-13	12:50:39	1674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861166','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:39	1674	[DEBUG]	Checking manufacturer
2023-10-13	12:50:39	1674	[DEBUG]	Load a row
2023-10-13	12:50:39	1674	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:39	1674	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1674	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:39	1674	[DEBUG]	Executed store
2023-10-13	12:50:39	1674	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1674	[DEBUG]	Manufacturer exists
2023-10-13	12:50:39	1674	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:39	1674	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:39	1674	[DEBUG]	Executed store
2023-10-13	12:50:39	1674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861166','26')
2023-10-13	12:50:39	1674	[DEBUG]	Find the custom field ID
2023-10-13	12:50:39	1674	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:50:39	1674	[DEBUG]	No custom field ID found
2023-10-13	12:50:39	1674	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:39	1674	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:50:39	1674	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861166 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:39	1674	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861166,3,'0',1)
2023-10-13	12:50:39	1674	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:39	1674	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:50:39	1674	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861166 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:39	1674	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861166,6,'choisir la taille',3)
2023-10-13	12:50:39	1674	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:39	1674	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:50:39	1674	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:50:39	1674	[DEBUG]	Find the multi variant product entry
2023-10-13	12:50:39	1674	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861166 AND `virtuemart_custom_id` = 8
2023-10-13	12:50:39	1674	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:50:39	1674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861166,8,1)
2023-10-13	12:50:39	1674	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:39	1674	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861166\":[1861166,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1674	[DEBUG]	Checking category
2023-10-13	12:50:39	1674	[DEBUG]	Get the existing categories for the product
2023-10-13	12:50:39	1674	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1674	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:50:39	1674	[DEBUG]	Executed store
2023-10-13	12:50:39	1674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861166','7331')
2023-10-13	12:50:39	1674	[DEBUG]	Delete leftover product categories
2023-10-13	12:50:39	1674	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861166 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:50:39	1674	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:39	1674	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1675	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:39	1675	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:39	1675	[DEBUG]	Use field value for field taille
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:39	1675	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:39	1675	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:39	1675	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:39	1675	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:39	1675	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:39	1675	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:39	1675	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:39	1675	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:39	1675	[DEBUG]	Use field value for field published
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:39	1675	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field override
2023-10-13	12:50:39	1675	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:39	1675	[DEBUG]	Use field value for field slug
2023-10-13	12:50:39	1675	[DEBUG]	Process line 1675
2023-10-13	12:50:39	1675	[DEBUG]	Load a row
2023-10-13	12:50:39	1675	[DEBUG]	Processing item: 4550170980719
2023-10-13	12:50:39	1675	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:39	1675	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:39	1675	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9340_84'
2023-10-13	12:50:39	1675	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:39	1675	[DEBUG]	Processing product tax
2023-10-13	12:50:39	1675	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:39	1675	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:39	1675	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:39	1675	[DEBUG]	Query for Product
2023-10-13	12:50:39	1675	[DEBUG]	Executed store
2023-10-13	12:50:39	1675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861166','4550170980719','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:39	1675	[DEBUG]	No parent found
2023-10-13	12:50:39	1675	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861166 AND customfield_value = 'stockable'
2023-10-13	12:50:39	1675	[DEBUG]	Check product language entry
2023-10-13	12:50:39	1675	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861167
2023-10-13	12:50:39	1675	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1675	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170980719' AND `virtuemart_product_id` != 1861167
2023-10-13	12:50:39	1675	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:39	1675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861167, '4550170980719')
2023-10-13	12:50:39	1675	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1675	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-44' AND `virtuemart_product_id` != 1861167
2023-10-13	12:50:39	1675	[DEBUG]	Query for ProductLang
2023-10-13	12:50:39	1675	[DEBUG]	Executed store
2023-10-13	12:50:39	1675	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5 SPD-SL black / Black (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-44' WHERE `virtuemart_product_id` = '1861167'
2023-10-13	12:50:39	1675	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_81809_s.jpg has not been found.
2023-10-13	12:50:39	1675	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:39	1675	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861167 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:39	1675	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:39	1675	[DEBUG]	Executed store
2023-10-13	12:50:39	1675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861167','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:39	1675	[DEBUG]	Checking manufacturer
2023-10-13	12:50:39	1675	[DEBUG]	Load a row
2023-10-13	12:50:39	1675	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:39	1675	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1675	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:39	1675	[DEBUG]	Executed store
2023-10-13	12:50:39	1675	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1675	[DEBUG]	Manufacturer exists
2023-10-13	12:50:39	1675	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:39	1675	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:39	1675	[DEBUG]	Executed store
2023-10-13	12:50:39	1675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861167','26')
2023-10-13	12:50:39	1675	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:39	1675	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:39	1675	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861167 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:39	1675	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861167,3,'',1)
2023-10-13	12:50:39	1675	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:39	1675	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:50:39	1675	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861167 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:39	1675	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861167,6,'44',3)
2023-10-13	12:50:39	1675	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:39	1675	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:39	1675	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1675	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:39	1675	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\"}]|clabels=0|options={\"1861166\":[1861166,8,1,\"choisir la taille\"],\"1861167\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1675	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:39	1675	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861167
2023-10-13	12:50:39	1676	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:39	1676	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:39	1676	[DEBUG]	Use field value for field taille
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:39	1676	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:39	1676	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:39	1676	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:39	1676	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:39	1676	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:39	1676	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:39	1676	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:39	1676	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:39	1676	[DEBUG]	Use field value for field published
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:39	1676	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field override
2023-10-13	12:50:39	1676	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:39	1676	[DEBUG]	Use field value for field slug
2023-10-13	12:50:39	1676	[DEBUG]	Process line 1676
2023-10-13	12:50:39	1676	[DEBUG]	Load a row
2023-10-13	12:50:39	1676	[DEBUG]	Processing item: 4550170991449
2023-10-13	12:50:39	1676	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:39	1676	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:39	1676	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9340_84'
2023-10-13	12:50:39	1676	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:39	1676	[DEBUG]	Processing product tax
2023-10-13	12:50:39	1676	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:39	1676	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:39	1676	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:39	1676	[DEBUG]	Query for Product
2023-10-13	12:50:39	1676	[DEBUG]	Executed store
2023-10-13	12:50:39	1676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861166','4550170991449','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:39	1676	[DEBUG]	No parent found
2023-10-13	12:50:39	1676	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861166 AND customfield_value = 'stockable'
2023-10-13	12:50:39	1676	[DEBUG]	Check product language entry
2023-10-13	12:50:39	1676	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861168
2023-10-13	12:50:39	1676	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1676	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170991449' AND `virtuemart_product_id` != 1861168
2023-10-13	12:50:39	1676	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:39	1676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861168, '4550170991449')
2023-10-13	12:50:39	1676	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1676	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-39' AND `virtuemart_product_id` != 1861168
2023-10-13	12:50:39	1676	[DEBUG]	Query for ProductLang
2023-10-13	12:50:39	1676	[DEBUG]	Executed store
2023-10-13	12:50:39	1676	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5 SPD-SL black / Black (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-39' WHERE `virtuemart_product_id` = '1861168'
2023-10-13	12:50:39	1676	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_81809_s.jpg has not been found.
2023-10-13	12:50:39	1676	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:39	1676	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861168 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:39	1676	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:39	1676	[DEBUG]	Executed store
2023-10-13	12:50:39	1676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861168','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:39	1676	[DEBUG]	Checking manufacturer
2023-10-13	12:50:39	1676	[DEBUG]	Load a row
2023-10-13	12:50:39	1676	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:39	1676	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1676	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:39	1676	[DEBUG]	Executed store
2023-10-13	12:50:39	1676	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1676	[DEBUG]	Manufacturer exists
2023-10-13	12:50:39	1676	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:39	1676	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:39	1676	[DEBUG]	Executed store
2023-10-13	12:50:39	1676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861168','26')
2023-10-13	12:50:39	1676	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:39	1676	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:39	1676	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861168 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:39	1676	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861168,3,'',1)
2023-10-13	12:50:39	1676	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:39	1676	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:50:39	1676	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861168 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:39	1676	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861168,6,'39',3)
2023-10-13	12:50:39	1676	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:39	1676	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:39	1676	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1676	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:39	1676	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n39\"}]|clabels=0|options={\"1861166\":[1861166,8,1,\"choisir la taille\"],\"1861167\":[\"44\"],\"1861168\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1676	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:39	1676	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861168
2023-10-13	12:50:39	1677	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:39	1677	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:39	1677	[DEBUG]	Use field value for field taille
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:39	1677	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:39	1677	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:39	1677	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:39	1677	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:39	1677	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:39	1677	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:39	1677	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:39	1677	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:39	1677	[DEBUG]	Use field value for field published
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:39	1677	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field override
2023-10-13	12:50:39	1677	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:39	1677	[DEBUG]	Use field value for field slug
2023-10-13	12:50:39	1677	[DEBUG]	Process line 1677
2023-10-13	12:50:39	1677	[DEBUG]	Load a row
2023-10-13	12:50:39	1677	[DEBUG]	Processing item: 4550170992224
2023-10-13	12:50:39	1677	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:39	1677	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:39	1677	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9340_84'
2023-10-13	12:50:39	1677	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:39	1677	[DEBUG]	Processing product tax
2023-10-13	12:50:39	1677	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:39	1677	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:39	1677	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:39	1677	[DEBUG]	Query for Product
2023-10-13	12:50:39	1677	[DEBUG]	Executed store
2023-10-13	12:50:39	1677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861166','4550170992224','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:39	1677	[DEBUG]	No parent found
2023-10-13	12:50:39	1677	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861166 AND customfield_value = 'stockable'
2023-10-13	12:50:39	1677	[DEBUG]	Check product language entry
2023-10-13	12:50:39	1677	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861169
2023-10-13	12:50:39	1677	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1677	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170992224' AND `virtuemart_product_id` != 1861169
2023-10-13	12:50:39	1677	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:39	1677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861169, '4550170992224')
2023-10-13	12:50:39	1677	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1677	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-43' AND `virtuemart_product_id` != 1861169
2023-10-13	12:50:39	1677	[DEBUG]	Query for ProductLang
2023-10-13	12:50:39	1677	[DEBUG]	Executed store
2023-10-13	12:50:39	1677	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5 SPD-SL black / Black (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-43' WHERE `virtuemart_product_id` = '1861169'
2023-10-13	12:50:39	1677	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_81809_s.jpg has not been found.
2023-10-13	12:50:39	1677	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:39	1677	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861169 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:39	1677	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:39	1677	[DEBUG]	Executed store
2023-10-13	12:50:39	1677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861169','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:39	1677	[DEBUG]	Checking manufacturer
2023-10-13	12:50:39	1677	[DEBUG]	Load a row
2023-10-13	12:50:39	1677	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:39	1677	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1677	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:39	1677	[DEBUG]	Executed store
2023-10-13	12:50:39	1677	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1677	[DEBUG]	Manufacturer exists
2023-10-13	12:50:39	1677	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:39	1677	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:39	1677	[DEBUG]	Executed store
2023-10-13	12:50:39	1677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861169','26')
2023-10-13	12:50:39	1677	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:39	1677	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:39	1677	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861169 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:39	1677	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861169,3,'',1)
2023-10-13	12:50:39	1677	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:39	1677	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:50:39	1677	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861169 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:39	1677	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861169,6,'43',3)
2023-10-13	12:50:39	1677	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:39	1677	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:39	1677	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1677	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:39	1677	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n39\\r\\n43\"}]|clabels=0|options={\"1861166\":[1861166,8,1,\"choisir la taille\"],\"1861167\":[\"44\"],\"1861168\":[\"39\"],\"1861169\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1677	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:39	1677	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861169
2023-10-13	12:50:39	1678	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:39	1678	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:39	1678	[DEBUG]	Use field value for field taille
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:39	1678	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:39	1678	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:39	1678	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:39	1678	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:39	1678	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:39	1678	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:39	1678	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:39	1678	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:39	1678	[DEBUG]	Use field value for field published
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:39	1678	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field override
2023-10-13	12:50:39	1678	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:39	1678	[DEBUG]	Use field value for field slug
2023-10-13	12:50:39	1678	[DEBUG]	Process line 1678
2023-10-13	12:50:39	1678	[DEBUG]	Load a row
2023-10-13	12:50:39	1678	[DEBUG]	Processing item: 4550170973476
2023-10-13	12:50:39	1678	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:39	1678	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:39	1678	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9340_84'
2023-10-13	12:50:39	1678	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:39	1678	[DEBUG]	Processing product tax
2023-10-13	12:50:39	1678	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:39	1678	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:39	1678	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:39	1678	[DEBUG]	Query for Product
2023-10-13	12:50:39	1678	[DEBUG]	Executed store
2023-10-13	12:50:39	1678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861166','4550170973476','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:39	1678	[DEBUG]	No parent found
2023-10-13	12:50:39	1678	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861166 AND customfield_value = 'stockable'
2023-10-13	12:50:39	1678	[DEBUG]	Check product language entry
2023-10-13	12:50:39	1678	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861170
2023-10-13	12:50:39	1678	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1678	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170973476' AND `virtuemart_product_id` != 1861170
2023-10-13	12:50:39	1678	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:39	1678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861170, '4550170973476')
2023-10-13	12:50:39	1678	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1678	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-42' AND `virtuemart_product_id` != 1861170
2023-10-13	12:50:39	1678	[DEBUG]	Query for ProductLang
2023-10-13	12:50:39	1678	[DEBUG]	Executed store
2023-10-13	12:50:39	1678	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5 SPD-SL black / Black (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-42' WHERE `virtuemart_product_id` = '1861170'
2023-10-13	12:50:39	1678	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_81809_s.jpg has not been found.
2023-10-13	12:50:39	1678	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:39	1678	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861170 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:39	1678	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:39	1678	[DEBUG]	Executed store
2023-10-13	12:50:39	1678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861170','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:39	1678	[DEBUG]	Checking manufacturer
2023-10-13	12:50:39	1678	[DEBUG]	Load a row
2023-10-13	12:50:39	1678	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:39	1678	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1678	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:39	1678	[DEBUG]	Executed store
2023-10-13	12:50:39	1678	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1678	[DEBUG]	Manufacturer exists
2023-10-13	12:50:39	1678	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:39	1678	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:39	1678	[DEBUG]	Executed store
2023-10-13	12:50:39	1678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861170','26')
2023-10-13	12:50:39	1678	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:39	1678	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:39	1678	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861170 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:39	1678	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861170,3,'',1)
2023-10-13	12:50:39	1678	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:39	1678	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:50:39	1678	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861170 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:39	1678	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861170,6,'42',3)
2023-10-13	12:50:39	1678	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:39	1678	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:39	1678	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1678	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:39	1678	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n39\\r\\n43\\r\\n42\"}]|clabels=0|options={\"1861166\":[1861166,8,1,\"choisir la taille\"],\"1861167\":[\"44\"],\"1861168\":[\"39\"],\"1861169\":[\"43\"],\"1861170\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1678	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:39	1678	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861170
2023-10-13	12:50:39	1679	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:39	1679	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:39	1679	[DEBUG]	Use field value for field taille
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:39	1679	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:39	1679	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:39	1679	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:39	1679	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:39	1679	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:39	1679	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:39	1679	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:39	1679	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:39	1679	[DEBUG]	Use field value for field published
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:39	1679	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field override
2023-10-13	12:50:39	1679	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:39	1679	[DEBUG]	Use field value for field slug
2023-10-13	12:50:39	1679	[DEBUG]	Process line 1679
2023-10-13	12:50:39	1679	[DEBUG]	Load a row
2023-10-13	12:50:39	1679	[DEBUG]	Processing item: 4550170974305
2023-10-13	12:50:39	1679	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:39	1679	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:39	1679	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9340_84'
2023-10-13	12:50:39	1679	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:39	1679	[DEBUG]	Processing product tax
2023-10-13	12:50:39	1679	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:39	1679	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:39	1679	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:39	1679	[DEBUG]	Query for Product
2023-10-13	12:50:39	1679	[DEBUG]	Executed store
2023-10-13	12:50:39	1679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861166','4550170974305','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:39	1679	[DEBUG]	No parent found
2023-10-13	12:50:39	1679	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861166 AND customfield_value = 'stockable'
2023-10-13	12:50:39	1679	[DEBUG]	Check product language entry
2023-10-13	12:50:39	1679	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861171
2023-10-13	12:50:39	1679	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1679	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170974305' AND `virtuemart_product_id` != 1861171
2023-10-13	12:50:39	1679	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:39	1679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861171, '4550170974305')
2023-10-13	12:50:39	1679	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1679	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-47' AND `virtuemart_product_id` != 1861171
2023-10-13	12:50:39	1679	[DEBUG]	Query for ProductLang
2023-10-13	12:50:39	1679	[DEBUG]	Executed store
2023-10-13	12:50:39	1679	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5 SPD-SL black / Black (47)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-47' WHERE `virtuemart_product_id` = '1861171'
2023-10-13	12:50:39	1679	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_81809_s.jpg has not been found.
2023-10-13	12:50:39	1679	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:39	1679	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861171 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:39	1679	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:39	1679	[DEBUG]	Executed store
2023-10-13	12:50:39	1679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861171','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:39	1679	[DEBUG]	Checking manufacturer
2023-10-13	12:50:39	1679	[DEBUG]	Load a row
2023-10-13	12:50:39	1679	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:39	1679	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1679	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:39	1679	[DEBUG]	Executed store
2023-10-13	12:50:39	1679	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1679	[DEBUG]	Manufacturer exists
2023-10-13	12:50:39	1679	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:39	1679	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:39	1679	[DEBUG]	Executed store
2023-10-13	12:50:39	1679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861171','26')
2023-10-13	12:50:39	1679	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:39	1679	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:39	1679	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861171 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:39	1679	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861171,3,'',1)
2023-10-13	12:50:39	1679	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:39	1679	[DEBUG]	Get existing row with customfield value 47
2023-10-13	12:50:39	1679	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861171 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:39	1679	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861171,6,'47',3)
2023-10-13	12:50:39	1679	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:39	1679	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:39	1679	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1679	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:39	1679	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n39\\r\\n43\\r\\n42\\r\\n47\"}]|clabels=0|options={\"1861166\":[1861166,8,1,\"choisir la taille\"],\"1861167\":[\"44\"],\"1861168\":[\"39\"],\"1861169\":[\"43\"],\"1861170\":[\"42\"],\"1861171\":[\"47\"]}|' WHERE `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1679	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:39	1679	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861171
2023-10-13	12:50:39	1680	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:39	1680	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:39	1680	[DEBUG]	Use field value for field taille
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:39	1680	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:39	1680	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:39	1680	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:39	1680	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:39	1680	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:39	1680	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:39	1680	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:39	1680	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:39	1680	[DEBUG]	Use field value for field published
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:39	1680	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field override
2023-10-13	12:50:39	1680	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:39	1680	[DEBUG]	Use field value for field slug
2023-10-13	12:50:39	1680	[DEBUG]	Process line 1680
2023-10-13	12:50:39	1680	[DEBUG]	Load a row
2023-10-13	12:50:39	1680	[DEBUG]	Processing item: 4550170977580
2023-10-13	12:50:39	1680	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:39	1680	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:39	1680	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9340_84'
2023-10-13	12:50:39	1680	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:39	1680	[DEBUG]	Processing product tax
2023-10-13	12:50:39	1680	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:39	1680	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:39	1680	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:39	1680	[DEBUG]	Query for Product
2023-10-13	12:50:39	1680	[DEBUG]	Executed store
2023-10-13	12:50:39	1680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861166','4550170977580','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:39	1680	[DEBUG]	No parent found
2023-10-13	12:50:39	1680	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861166 AND customfield_value = 'stockable'
2023-10-13	12:50:39	1680	[DEBUG]	Check product language entry
2023-10-13	12:50:39	1680	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861172
2023-10-13	12:50:39	1680	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1680	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170977580' AND `virtuemart_product_id` != 1861172
2023-10-13	12:50:39	1680	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:39	1680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861172, '4550170977580')
2023-10-13	12:50:39	1680	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1680	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-45' AND `virtuemart_product_id` != 1861172
2023-10-13	12:50:39	1680	[DEBUG]	Query for ProductLang
2023-10-13	12:50:39	1680	[DEBUG]	Executed store
2023-10-13	12:50:39	1680	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5 SPD-SL black / Black (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-45' WHERE `virtuemart_product_id` = '1861172'
2023-10-13	12:50:39	1680	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_81809_s.jpg has not been found.
2023-10-13	12:50:39	1680	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:39	1680	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861172 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:39	1680	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:39	1680	[DEBUG]	Executed store
2023-10-13	12:50:39	1680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861172','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:39	1680	[DEBUG]	Checking manufacturer
2023-10-13	12:50:39	1680	[DEBUG]	Load a row
2023-10-13	12:50:39	1680	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:39	1680	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1680	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:39	1680	[DEBUG]	Executed store
2023-10-13	12:50:39	1680	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1680	[DEBUG]	Manufacturer exists
2023-10-13	12:50:39	1680	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:39	1680	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:39	1680	[DEBUG]	Executed store
2023-10-13	12:50:39	1680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861172','26')
2023-10-13	12:50:39	1680	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:39	1680	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:39	1680	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861172 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:39	1680	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861172,3,'',1)
2023-10-13	12:50:39	1680	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:39	1680	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:50:39	1680	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861172 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:39	1680	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861172,6,'45',3)
2023-10-13	12:50:39	1680	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:39	1680	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:39	1680	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1680	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:39	1680	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n39\\r\\n43\\r\\n42\\r\\n47\\r\\n45\"}]|clabels=0|options={\"1861166\":[1861166,8,1,\"choisir la taille\"],\"1861167\":[\"44\"],\"1861168\":[\"39\"],\"1861169\":[\"43\"],\"1861170\":[\"42\"],\"1861171\":[\"47\"],\"1861172\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1680	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:39	1680	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861172
2023-10-13	12:50:39	1681	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:39	1681	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:39	1681	[DEBUG]	Use field value for field taille
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:39	1681	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:39	1681	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:39	1681	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:39	1681	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:39	1681	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:39	1681	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:39	1681	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:39	1681	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:39	1681	[DEBUG]	Use field value for field published
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:39	1681	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field override
2023-10-13	12:50:39	1681	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:39	1681	[DEBUG]	Use field value for field slug
2023-10-13	12:50:39	1681	[DEBUG]	Process line 1681
2023-10-13	12:50:39	1681	[DEBUG]	Load a row
2023-10-13	12:50:39	1681	[DEBUG]	Processing item: 4550170991128
2023-10-13	12:50:39	1681	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:39	1681	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:39	1681	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9340_84'
2023-10-13	12:50:39	1681	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:39	1681	[DEBUG]	Processing product tax
2023-10-13	12:50:39	1681	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:39	1681	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:39	1681	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:39	1681	[DEBUG]	Query for Product
2023-10-13	12:50:39	1681	[DEBUG]	Executed store
2023-10-13	12:50:39	1681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861166','4550170991128','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:39	1681	[DEBUG]	No parent found
2023-10-13	12:50:39	1681	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861166 AND customfield_value = 'stockable'
2023-10-13	12:50:39	1681	[DEBUG]	Check product language entry
2023-10-13	12:50:39	1681	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861173
2023-10-13	12:50:39	1681	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1681	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170991128' AND `virtuemart_product_id` != 1861173
2023-10-13	12:50:39	1681	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:39	1681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861173, '4550170991128')
2023-10-13	12:50:39	1681	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1681	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-40' AND `virtuemart_product_id` != 1861173
2023-10-13	12:50:39	1681	[DEBUG]	Query for ProductLang
2023-10-13	12:50:39	1681	[DEBUG]	Executed store
2023-10-13	12:50:39	1681	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5 SPD-SL black / Black (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-40' WHERE `virtuemart_product_id` = '1861173'
2023-10-13	12:50:39	1681	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_81809_s.jpg has not been found.
2023-10-13	12:50:39	1681	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:39	1681	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861173 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:39	1681	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:39	1681	[DEBUG]	Executed store
2023-10-13	12:50:39	1681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861173','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:39	1681	[DEBUG]	Checking manufacturer
2023-10-13	12:50:39	1681	[DEBUG]	Load a row
2023-10-13	12:50:39	1681	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:39	1681	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1681	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:39	1681	[DEBUG]	Executed store
2023-10-13	12:50:39	1681	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1681	[DEBUG]	Manufacturer exists
2023-10-13	12:50:39	1681	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:39	1681	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:39	1681	[DEBUG]	Executed store
2023-10-13	12:50:39	1681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861173','26')
2023-10-13	12:50:39	1681	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:39	1681	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:39	1681	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861173 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:39	1681	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861173,3,'',1)
2023-10-13	12:50:39	1681	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:39	1681	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:50:39	1681	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861173 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:39	1681	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861173,6,'40',3)
2023-10-13	12:50:39	1681	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:39	1681	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:39	1681	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1681	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:39	1681	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n39\\r\\n43\\r\\n42\\r\\n47\\r\\n45\\r\\n40\"}]|clabels=0|options={\"1861166\":[1861166,8,1,\"choisir la taille\"],\"1861167\":[\"44\"],\"1861168\":[\"39\"],\"1861169\":[\"43\"],\"1861170\":[\"42\"],\"1861171\":[\"47\"],\"1861172\":[\"45\"],\"1861173\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1681	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:39	1681	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861173
2023-10-13	12:50:39	1682	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:39	1682	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:39	1682	[DEBUG]	Use field value for field taille
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:39	1682	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:39	1682	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:39	1682	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:39	1682	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:39	1682	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:39	1682	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:39	1682	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:39	1682	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:39	1682	[DEBUG]	Use field value for field published
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:39	1682	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field override
2023-10-13	12:50:39	1682	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:39	1682	[DEBUG]	Use field value for field slug
2023-10-13	12:50:39	1682	[DEBUG]	Process line 1682
2023-10-13	12:50:39	1682	[DEBUG]	Load a row
2023-10-13	12:50:39	1682	[DEBUG]	Processing item: 4550170986889
2023-10-13	12:50:39	1682	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:39	1682	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:39	1682	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9340_84'
2023-10-13	12:50:39	1682	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:39	1682	[DEBUG]	Processing product tax
2023-10-13	12:50:39	1682	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:39	1682	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:39	1682	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:39	1682	[DEBUG]	Query for Product
2023-10-13	12:50:39	1682	[DEBUG]	Executed store
2023-10-13	12:50:39	1682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861166','4550170986889','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:39	1682	[DEBUG]	No parent found
2023-10-13	12:50:39	1682	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861166 AND customfield_value = 'stockable'
2023-10-13	12:50:39	1682	[DEBUG]	Check product language entry
2023-10-13	12:50:39	1682	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861174
2023-10-13	12:50:39	1682	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1682	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170986889' AND `virtuemart_product_id` != 1861174
2023-10-13	12:50:39	1682	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:39	1682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861174, '4550170986889')
2023-10-13	12:50:39	1682	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1682	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-48' AND `virtuemart_product_id` != 1861174
2023-10-13	12:50:39	1682	[DEBUG]	Query for ProductLang
2023-10-13	12:50:39	1682	[DEBUG]	Executed store
2023-10-13	12:50:39	1682	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5 SPD-SL black / Black (48)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-48' WHERE `virtuemart_product_id` = '1861174'
2023-10-13	12:50:39	1682	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_81809_s.jpg has not been found.
2023-10-13	12:50:39	1682	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:39	1682	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861174 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:39	1682	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:39	1682	[DEBUG]	Executed store
2023-10-13	12:50:39	1682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861174','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:39	1682	[DEBUG]	Checking manufacturer
2023-10-13	12:50:39	1682	[DEBUG]	Load a row
2023-10-13	12:50:39	1682	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:39	1682	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1682	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:39	1682	[DEBUG]	Executed store
2023-10-13	12:50:39	1682	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1682	[DEBUG]	Manufacturer exists
2023-10-13	12:50:39	1682	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:39	1682	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:39	1682	[DEBUG]	Executed store
2023-10-13	12:50:39	1682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861174','26')
2023-10-13	12:50:39	1682	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:39	1682	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:39	1682	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861174 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:39	1682	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861174,3,'',1)
2023-10-13	12:50:39	1682	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:39	1682	[DEBUG]	Get existing row with customfield value 48
2023-10-13	12:50:39	1682	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861174 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:39	1682	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861174,6,'48',3)
2023-10-13	12:50:39	1682	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:39	1682	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:39	1682	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1682	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:39	1682	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n39\\r\\n43\\r\\n42\\r\\n47\\r\\n45\\r\\n40\\r\\n48\"}]|clabels=0|options={\"1861166\":[1861166,8,1,\"choisir la taille\"],\"1861167\":[\"44\"],\"1861168\":[\"39\"],\"1861169\":[\"43\"],\"1861170\":[\"42\"],\"1861171\":[\"47\"],\"1861172\":[\"45\"],\"1861173\":[\"40\"],\"1861174\":[\"48\"]}|' WHERE `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1682	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:39	1682	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861174
2023-10-13	12:50:39	1683	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:39	1683	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:39	1683	[DEBUG]	Use field value for field taille
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:39	1683	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:39	1683	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:39	1683	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:39	1683	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:39	1683	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:39	1683	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:39	1683	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:39	1683	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:39	1683	[DEBUG]	Use field value for field published
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:39	1683	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field override
2023-10-13	12:50:39	1683	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:39	1683	[DEBUG]	Use field value for field slug
2023-10-13	12:50:39	1683	[DEBUG]	Process line 1683
2023-10-13	12:50:39	1683	[DEBUG]	Load a row
2023-10-13	12:50:39	1683	[DEBUG]	Processing item: 4550170978495
2023-10-13	12:50:39	1683	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:39	1683	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:39	1683	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9340_84'
2023-10-13	12:50:39	1683	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:39	1683	[DEBUG]	Processing product tax
2023-10-13	12:50:39	1683	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:39	1683	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:39	1683	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:39	1683	[DEBUG]	Query for Product
2023-10-13	12:50:39	1683	[DEBUG]	Executed store
2023-10-13	12:50:39	1683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861166','4550170978495','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:39	1683	[DEBUG]	No parent found
2023-10-13	12:50:39	1683	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861166 AND customfield_value = 'stockable'
2023-10-13	12:50:39	1683	[DEBUG]	Check product language entry
2023-10-13	12:50:39	1683	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861175
2023-10-13	12:50:39	1683	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1683	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170978495' AND `virtuemart_product_id` != 1861175
2023-10-13	12:50:39	1683	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:39	1683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861175, '4550170978495')
2023-10-13	12:50:39	1683	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1683	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-41' AND `virtuemart_product_id` != 1861175
2023-10-13	12:50:39	1683	[DEBUG]	Query for ProductLang
2023-10-13	12:50:39	1683	[DEBUG]	Executed store
2023-10-13	12:50:39	1683	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5 SPD-SL black / Black (41)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-41' WHERE `virtuemart_product_id` = '1861175'
2023-10-13	12:50:39	1683	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_81809_s.jpg has not been found.
2023-10-13	12:50:39	1683	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:39	1683	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861175 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:39	1683	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:39	1683	[DEBUG]	Executed store
2023-10-13	12:50:39	1683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861175','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:39	1683	[DEBUG]	Checking manufacturer
2023-10-13	12:50:39	1683	[DEBUG]	Load a row
2023-10-13	12:50:39	1683	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:39	1683	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1683	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:39	1683	[DEBUG]	Executed store
2023-10-13	12:50:39	1683	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1683	[DEBUG]	Manufacturer exists
2023-10-13	12:50:39	1683	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:39	1683	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:39	1683	[DEBUG]	Executed store
2023-10-13	12:50:39	1683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861175','26')
2023-10-13	12:50:39	1683	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:39	1683	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:39	1683	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861175 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:39	1683	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861175,3,'',1)
2023-10-13	12:50:39	1683	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:39	1683	[DEBUG]	Get existing row with customfield value 41
2023-10-13	12:50:39	1683	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861175 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:39	1683	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861175,6,'41',3)
2023-10-13	12:50:39	1683	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:39	1683	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:39	1683	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1683	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:39	1683	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n39\\r\\n43\\r\\n42\\r\\n47\\r\\n45\\r\\n40\\r\\n48\\r\\n41\"}]|clabels=0|options={\"1861166\":[1861166,8,1,\"choisir la taille\"],\"1861167\":[\"44\"],\"1861168\":[\"39\"],\"1861169\":[\"43\"],\"1861170\":[\"42\"],\"1861171\":[\"47\"],\"1861172\":[\"45\"],\"1861173\":[\"40\"],\"1861174\":[\"48\"],\"1861175\":[\"41\"]}|' WHERE `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1683	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:39	1683	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861175
2023-10-13	12:50:39	1684	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:39	1684	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:39	1684	[DEBUG]	Use field value for field taille
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:39	1684	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:39	1684	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:39	1684	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:39	1684	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:39	1684	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:39	1684	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:39	1684	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:39	1684	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:39	1684	[DEBUG]	Use field value for field published
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:39	1684	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field override
2023-10-13	12:50:39	1684	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:39	1684	[DEBUG]	Use field value for field slug
2023-10-13	12:50:39	1684	[DEBUG]	Process line 1684
2023-10-13	12:50:39	1684	[DEBUG]	Load a row
2023-10-13	12:50:39	1684	[DEBUG]	Processing item: 4550170990176
2023-10-13	12:50:39	1684	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:39	1684	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:39	1684	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9340_84'
2023-10-13	12:50:39	1684	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:39	1684	[DEBUG]	Processing product tax
2023-10-13	12:50:39	1684	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:39	1684	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:39	1684	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:39	1684	[DEBUG]	Query for Product
2023-10-13	12:50:39	1684	[DEBUG]	Executed store
2023-10-13	12:50:39	1684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861166','4550170990176','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:39	1684	[DEBUG]	No parent found
2023-10-13	12:50:39	1684	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861166 AND customfield_value = 'stockable'
2023-10-13	12:50:39	1684	[DEBUG]	Check product language entry
2023-10-13	12:50:39	1684	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861176
2023-10-13	12:50:39	1684	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1684	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170990176' AND `virtuemart_product_id` != 1861176
2023-10-13	12:50:39	1684	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:39	1684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861176, '4550170990176')
2023-10-13	12:50:39	1684	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1684	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-46' AND `virtuemart_product_id` != 1861176
2023-10-13	12:50:39	1684	[DEBUG]	Query for ProductLang
2023-10-13	12:50:39	1684	[DEBUG]	Executed store
2023-10-13	12:50:39	1684	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaussures Men Road SH-RC5 SPD-SL black / Black (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaussures-men-road-sh-rc5-spd-sl-black-black-46' WHERE `virtuemart_product_id` = '1861176'
2023-10-13	12:50:39	1684	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/83_81809_s.jpg has not been found.
2023-10-13	12:50:39	1684	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:39	1684	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861176 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:39	1684	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:39	1684	[DEBUG]	Executed store
2023-10-13	12:50:39	1684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861176','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:39	1684	[DEBUG]	Checking manufacturer
2023-10-13	12:50:39	1684	[DEBUG]	Load a row
2023-10-13	12:50:39	1684	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:39	1684	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1684	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:39	1684	[DEBUG]	Executed store
2023-10-13	12:50:39	1684	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:50:39	1684	[DEBUG]	Manufacturer exists
2023-10-13	12:50:39	1684	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:50:39	1684	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:39	1684	[DEBUG]	Executed store
2023-10-13	12:50:39	1684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861176','26')
2023-10-13	12:50:39	1684	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:39	1684	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:39	1684	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861176 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:39	1684	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861176,3,'',1)
2023-10-13	12:50:39	1684	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:39	1684	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:50:39	1684	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861176 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:39	1684	[DEBUG]	Store custom available field
2023-10-13	12:50:39	1684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861176,6,'46',3)
2023-10-13	12:50:39	1684	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:39	1684	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:39	1684	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1684	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:39	1684	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n39\\r\\n43\\r\\n42\\r\\n47\\r\\n45\\r\\n40\\r\\n48\\r\\n41\\r\\n46\"}]|clabels=0|options={\"1861166\":[1861166,8,1,\"choisir la taille\"],\"1861167\":[\"44\"],\"1861168\":[\"39\"],\"1861169\":[\"43\"],\"1861170\":[\"42\"],\"1861171\":[\"47\"],\"1861172\":[\"45\"],\"1861173\":[\"40\"],\"1861174\":[\"48\"],\"1861175\":[\"41\"],\"1861176\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861166
2023-10-13	12:50:39	1684	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:39	1684	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861176
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:39	1685	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field taille
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field category_path
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:39	1685	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:50:39	1685	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:39	1685	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field product_weight
2023-10-13	12:50:39	1685	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:39	1685	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:39	1685	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field published
2023-10-13	12:50:39	1685	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:39	1685	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field custom_title
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field custom_param
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field override
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field public_price
2023-10-13	12:50:39	1685	[DEBUG]	Use field value for field slug
2023-10-13	12:50:39	1685	[DEBUG]	Process line 1685
2023-10-13	12:50:39	1685	[DEBUG]	Load a row
2023-10-13	12:50:39	1685	[DEBUG]	Processing item: A_9532_1
2023-10-13	12:50:39	1685	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:39	1685	[DEBUG]	Processing product tax
2023-10-13	12:50:39	1685	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:39	1685	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:39	1685	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:39	1685	[DEBUG]	Query for Product
2023-10-13	12:50:39	1685	[DEBUG]	Executed store
2023-10-13	12:50:39	1685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9532_1','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:39	1685	[DEBUG]	Check product language entry
2023-10-13	12:50:39	1685	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861177
2023-10-13	12:50:39	1685	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1685	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9532_1' AND `virtuemart_product_id` != 1861177
2023-10-13	12:50:39	1685	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:39	1685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861177, 'A_9532_1')
2023-10-13	12:50:39	1685	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:39	1685	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-noir' AND `virtuemart_product_id` != 1861177
2023-10-13	12:50:39	1685	[DEBUG]	Query for ProductLang
2023-10-13	12:50:39	1685	[DEBUG]	Executed store
2023-10-13	12:50:39	1685	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 29354',`product_name`='Fox Chaussures VTT UNION FLAT  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-noir' WHERE `virtuemart_product_id` = '1861177'
2023-10-13	12:50:39	1685	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38898_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:39	1685	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:39	1685	[DEBUG]	Process image file
2023-10-13	12:50:39	1685	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:39	1685	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:39	1685	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38898_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:39	1685	[DEBUG]	Full name target: bcprisme/38898_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:40	1685	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:40	1685	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38898_chaussures_vtt_union_flat_.jpg'
2023-10-13	12:50:40	1685	[DEBUG]	Query for Media
2023-10-13	12:50:40	1685	[DEBUG]	Executed store
2023-10-13	12:50:40	1685	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38898_chaussures_vtt_union_flat_.jpg',`file_url_thumb`='bcprisme/38898_chaussures_vtt_union_flat_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1455245'
2023-10-13	12:50:40	1685	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:40	1685	[DEBUG]	Executed store
2023-10-13	12:50:40	1685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861177','1455245','1')
2023-10-13	12:50:40	1685	[DEBUG]	Store product image relation
2023-10-13	12:50:40	1685	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:40	1685	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861177 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:40	1685	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:40	1685	[DEBUG]	Executed store
2023-10-13	12:50:40	1685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861177','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:40	1685	[DEBUG]	Checking manufacturer
2023-10-13	12:50:40	1685	[DEBUG]	Load a row
2023-10-13	12:50:40	1685	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:40	1685	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:40	1685	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:40	1685	[DEBUG]	Executed store
2023-10-13	12:50:40	1685	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:40	1685	[DEBUG]	Manufacturer exists
2023-10-13	12:50:40	1685	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:40	1685	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:40	1685	[DEBUG]	Executed store
2023-10-13	12:50:40	1685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861177','44')
2023-10-13	12:50:40	1685	[DEBUG]	Find the custom field ID
2023-10-13	12:50:40	1685	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:50:40	1685	[DEBUG]	No custom field ID found
2023-10-13	12:50:40	1685	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:40	1685	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:50:40	1685	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861177 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:40	1685	[DEBUG]	Store custom available field
2023-10-13	12:50:40	1685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861177,3,'179.400277777778',1)
2023-10-13	12:50:40	1685	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:40	1685	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:50:40	1685	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861177 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:40	1685	[DEBUG]	Store custom available field
2023-10-13	12:50:40	1685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861177,6,'choisir la taille',3)
2023-10-13	12:50:40	1685	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:40	1685	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:50:40	1685	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:50:40	1685	[DEBUG]	Find the multi variant product entry
2023-10-13	12:50:40	1685	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861177 AND `virtuemart_custom_id` = 8
2023-10-13	12:50:40	1685	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:50:40	1685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861177,8,1)
2023-10-13	12:50:40	1685	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:40	1685	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861177\":[1861177,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861177
2023-10-13	12:50:40	1685	[DEBUG]	Checking category
2023-10-13	12:50:40	1685	[DEBUG]	Get the existing categories for the product
2023-10-13	12:50:40	1685	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861177
2023-10-13	12:50:40	1685	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:50:40	1685	[DEBUG]	Executed store
2023-10-13	12:50:40	1685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861177','7331')
2023-10-13	12:50:40	1685	[DEBUG]	Delete leftover product categories
2023-10-13	12:50:40	1685	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861177 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:50:40	1685	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:40	1685	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861177
2023-10-13	12:50:40	1686	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:40	1686	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:40	1686	[DEBUG]	Use field value for field taille
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:40	1686	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:40	1686	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:40	1686	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:40	1686	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:40	1686	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:40	1686	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:40	1686	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:40	1686	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:40	1686	[DEBUG]	Use field value for field published
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:40	1686	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field override
2023-10-13	12:50:40	1686	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:40	1686	[DEBUG]	Use field value for field slug
2023-10-13	12:50:41	1686	[DEBUG]	Process line 1686
2023-10-13	12:50:41	1686	[DEBUG]	Load a row
2023-10-13	12:50:41	1686	[DEBUG]	Processing item: 191972732133
2023-10-13	12:50:41	1686	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:41	1686	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:41	1686	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9532_1'
2023-10-13	12:50:41	1686	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:41	1686	[DEBUG]	Processing product tax
2023-10-13	12:50:41	1686	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:41	1686	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:41	1686	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:41	1686	[DEBUG]	Query for Product
2023-10-13	12:50:41	1686	[DEBUG]	Executed store
2023-10-13	12:50:41	1686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861177','191972732133','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:41	1686	[DEBUG]	No parent found
2023-10-13	12:50:41	1686	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861177 AND customfield_value = 'stockable'
2023-10-13	12:50:41	1686	[DEBUG]	Check product language entry
2023-10-13	12:50:41	1686	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861178
2023-10-13	12:50:41	1686	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:41	1686	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972732133' AND `virtuemart_product_id` != 1861178
2023-10-13	12:50:41	1686	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:41	1686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861178, '191972732133')
2023-10-13	12:50:41	1686	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:41	1686	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-noir-44' AND `virtuemart_product_id` != 1861178
2023-10-13	12:50:41	1686	[DEBUG]	Query for ProductLang
2023-10-13	12:50:41	1686	[DEBUG]	Executed store
2023-10-13	12:50:41	1686	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION FLAT  / Noir (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-noir-44' WHERE `virtuemart_product_id` = '1861178'
2023-10-13	12:50:41	1686	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38898_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:41	1686	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:41	1686	[DEBUG]	Process image file
2023-10-13	12:50:41	1686	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:41	1686	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:41	1686	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38898_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:41	1686	[DEBUG]	Full name target: bcprisme/38898_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:41	1686	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:41	1686	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38898_chaussures_vtt_union_flat_.jpg'
2023-10-13	12:50:41	1686	[DEBUG]	Query for Media
2023-10-13	12:50:41	1686	[DEBUG]	Executed store
2023-10-13	12:50:41	1686	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38898_chaussures_vtt_union_flat_.jpg',`file_url_thumb`='bcprisme/38898_chaussures_vtt_union_flat_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1455245'
2023-10-13	12:50:41	1686	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:41	1686	[DEBUG]	Executed store
2023-10-13	12:50:41	1686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861178','1455245','1')
2023-10-13	12:50:41	1686	[DEBUG]	Store product image relation
2023-10-13	12:50:41	1686	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:41	1686	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861178 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:41	1686	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:41	1686	[DEBUG]	Executed store
2023-10-13	12:50:41	1686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861178','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:41	1686	[DEBUG]	Checking manufacturer
2023-10-13	12:50:41	1686	[DEBUG]	Load a row
2023-10-13	12:50:41	1686	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:41	1686	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:41	1686	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:41	1686	[DEBUG]	Executed store
2023-10-13	12:50:41	1686	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:41	1686	[DEBUG]	Manufacturer exists
2023-10-13	12:50:41	1686	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:41	1686	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:42	1686	[DEBUG]	Executed store
2023-10-13	12:50:42	1686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861178','44')
2023-10-13	12:50:42	1686	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:42	1686	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:42	1686	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861178 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:42	1686	[DEBUG]	Store custom available field
2023-10-13	12:50:42	1686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861178,3,'',1)
2023-10-13	12:50:42	1686	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:42	1686	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:50:42	1686	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861178 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:42	1686	[DEBUG]	Store custom available field
2023-10-13	12:50:42	1686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861178,6,'44',3)
2023-10-13	12:50:42	1686	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:42	1686	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:42	1686	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861177
2023-10-13	12:50:42	1686	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:42	1686	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\"}]|clabels=0|options={\"1861177\":[1861177,8,1,\"choisir la taille\"],\"1861178\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861177
2023-10-13	12:50:42	1686	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:42	1686	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861178
2023-10-13	12:50:42	1687	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:42	1687	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:42	1687	[DEBUG]	Use field value for field taille
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:42	1687	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:42	1687	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:42	1687	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:42	1687	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:42	1687	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:42	1687	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:42	1687	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:42	1687	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:42	1687	[DEBUG]	Use field value for field published
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:42	1687	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field override
2023-10-13	12:50:42	1687	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:42	1687	[DEBUG]	Use field value for field slug
2023-10-13	12:50:42	1687	[DEBUG]	Process line 1687
2023-10-13	12:50:42	1687	[DEBUG]	Load a row
2023-10-13	12:50:42	1687	[DEBUG]	Processing item: 191972732171
2023-10-13	12:50:42	1687	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:42	1687	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:42	1687	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9532_1'
2023-10-13	12:50:42	1687	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:42	1687	[DEBUG]	Processing product tax
2023-10-13	12:50:42	1687	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:42	1687	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:42	1687	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:42	1687	[DEBUG]	Query for Product
2023-10-13	12:50:42	1687	[DEBUG]	Executed store
2023-10-13	12:50:42	1687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861177','191972732171','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:42	1687	[DEBUG]	No parent found
2023-10-13	12:50:42	1687	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861177 AND customfield_value = 'stockable'
2023-10-13	12:50:42	1687	[DEBUG]	Check product language entry
2023-10-13	12:50:42	1687	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861179
2023-10-13	12:50:42	1687	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:42	1687	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972732171' AND `virtuemart_product_id` != 1861179
2023-10-13	12:50:42	1687	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:42	1687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861179, '191972732171')
2023-10-13	12:50:42	1687	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:42	1687	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-noir-46' AND `virtuemart_product_id` != 1861179
2023-10-13	12:50:42	1687	[DEBUG]	Query for ProductLang
2023-10-13	12:50:42	1687	[DEBUG]	Executed store
2023-10-13	12:50:42	1687	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION FLAT  / Noir (46)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-noir-46' WHERE `virtuemart_product_id` = '1861179'
2023-10-13	12:50:42	1687	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38898_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:42	1687	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:42	1687	[DEBUG]	Process image file
2023-10-13	12:50:42	1687	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:42	1687	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:42	1687	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38898_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:42	1687	[DEBUG]	Full name target: bcprisme/38898_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:43	1687	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:43	1687	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38898_chaussures_vtt_union_flat_.jpg'
2023-10-13	12:50:43	1687	[DEBUG]	Query for Media
2023-10-13	12:50:43	1687	[DEBUG]	Executed store
2023-10-13	12:50:43	1687	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38898_chaussures_vtt_union_flat_.jpg',`file_url_thumb`='bcprisme/38898_chaussures_vtt_union_flat_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1455245'
2023-10-13	12:50:43	1687	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:43	1687	[DEBUG]	Executed store
2023-10-13	12:50:43	1687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861179','1455245','1')
2023-10-13	12:50:43	1687	[DEBUG]	Store product image relation
2023-10-13	12:50:43	1687	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:43	1687	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861179 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:43	1687	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:43	1687	[DEBUG]	Executed store
2023-10-13	12:50:43	1687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861179','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:43	1687	[DEBUG]	Checking manufacturer
2023-10-13	12:50:43	1687	[DEBUG]	Load a row
2023-10-13	12:50:43	1687	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:43	1687	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:43	1687	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:43	1687	[DEBUG]	Executed store
2023-10-13	12:50:43	1687	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:43	1687	[DEBUG]	Manufacturer exists
2023-10-13	12:50:43	1687	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:43	1687	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:43	1687	[DEBUG]	Executed store
2023-10-13	12:50:43	1687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861179','44')
2023-10-13	12:50:43	1687	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:43	1687	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:43	1687	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861179 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:43	1687	[DEBUG]	Store custom available field
2023-10-13	12:50:43	1687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861179,3,'',1)
2023-10-13	12:50:43	1687	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:43	1687	[DEBUG]	Get existing row with customfield value 46
2023-10-13	12:50:43	1687	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861179 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:43	1687	[DEBUG]	Store custom available field
2023-10-13	12:50:43	1687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861179,6,'46',3)
2023-10-13	12:50:43	1687	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:43	1687	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:43	1687	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861177
2023-10-13	12:50:43	1687	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:43	1687	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n46\"}]|clabels=0|options={\"1861177\":[1861177,8,1,\"choisir la taille\"],\"1861178\":[\"44\"],\"1861179\":[\"46\"]}|' WHERE `virtuemart_product_id` = 1861177
2023-10-13	12:50:43	1687	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:43	1687	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861179
2023-10-13	12:50:43	1688	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:43	1688	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:43	1688	[DEBUG]	Use field value for field taille
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:43	1688	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:43	1688	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:43	1688	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:43	1688	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:43	1688	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:43	1688	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:43	1688	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:43	1688	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:43	1688	[DEBUG]	Use field value for field published
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:43	1688	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field override
2023-10-13	12:50:43	1688	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:43	1688	[DEBUG]	Use field value for field slug
2023-10-13	12:50:43	1688	[DEBUG]	Process line 1688
2023-10-13	12:50:43	1688	[DEBUG]	Load a row
2023-10-13	12:50:43	1688	[DEBUG]	Processing item: 191972732157
2023-10-13	12:50:43	1688	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:43	1688	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:43	1688	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9532_1'
2023-10-13	12:50:43	1688	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:43	1688	[DEBUG]	Processing product tax
2023-10-13	12:50:43	1688	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:43	1688	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:43	1688	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:43	1688	[DEBUG]	Query for Product
2023-10-13	12:50:43	1688	[DEBUG]	Executed store
2023-10-13	12:50:43	1688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861177','191972732157','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:43	1688	[DEBUG]	No parent found
2023-10-13	12:50:43	1688	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861177 AND customfield_value = 'stockable'
2023-10-13	12:50:43	1688	[DEBUG]	Check product language entry
2023-10-13	12:50:43	1688	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861180
2023-10-13	12:50:43	1688	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:43	1688	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972732157' AND `virtuemart_product_id` != 1861180
2023-10-13	12:50:43	1688	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:43	1688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861180, '191972732157')
2023-10-13	12:50:43	1688	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:43	1688	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-noir-45' AND `virtuemart_product_id` != 1861180
2023-10-13	12:50:43	1688	[DEBUG]	Query for ProductLang
2023-10-13	12:50:43	1688	[DEBUG]	Executed store
2023-10-13	12:50:43	1688	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION FLAT  / Noir (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-noir-45' WHERE `virtuemart_product_id` = '1861180'
2023-10-13	12:50:43	1688	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38898_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:43	1688	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:43	1688	[DEBUG]	Process image file
2023-10-13	12:50:43	1688	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:43	1688	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:43	1688	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38898_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:43	1688	[DEBUG]	Full name target: bcprisme/38898_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:44	1688	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:44	1688	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38898_chaussures_vtt_union_flat_.jpg'
2023-10-13	12:50:44	1688	[DEBUG]	Query for Media
2023-10-13	12:50:44	1688	[DEBUG]	Executed store
2023-10-13	12:50:44	1688	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38898_chaussures_vtt_union_flat_.jpg',`file_url_thumb`='bcprisme/38898_chaussures_vtt_union_flat_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1455245'
2023-10-13	12:50:44	1688	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:44	1688	[DEBUG]	Executed store
2023-10-13	12:50:44	1688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861180','1455245','1')
2023-10-13	12:50:44	1688	[DEBUG]	Store product image relation
2023-10-13	12:50:44	1688	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:44	1688	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861180 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:44	1688	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:44	1688	[DEBUG]	Executed store
2023-10-13	12:50:44	1688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861180','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:44	1688	[DEBUG]	Checking manufacturer
2023-10-13	12:50:44	1688	[DEBUG]	Load a row
2023-10-13	12:50:44	1688	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:44	1688	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:44	1688	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:44	1688	[DEBUG]	Executed store
2023-10-13	12:50:44	1688	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:44	1688	[DEBUG]	Manufacturer exists
2023-10-13	12:50:44	1688	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:44	1688	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:44	1688	[DEBUG]	Executed store
2023-10-13	12:50:44	1688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861180','44')
2023-10-13	12:50:44	1688	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:44	1688	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:44	1688	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861180 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:44	1688	[DEBUG]	Store custom available field
2023-10-13	12:50:44	1688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861180,3,'',1)
2023-10-13	12:50:44	1688	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:44	1688	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:50:44	1688	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861180 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:44	1688	[DEBUG]	Store custom available field
2023-10-13	12:50:44	1688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861180,6,'45',3)
2023-10-13	12:50:44	1688	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:44	1688	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:44	1688	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861177
2023-10-13	12:50:44	1688	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:44	1688	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\\r\\n46\\r\\n45\"}]|clabels=0|options={\"1861177\":[1861177,8,1,\"choisir la taille\"],\"1861178\":[\"44\"],\"1861179\":[\"46\"],\"1861180\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861177
2023-10-13	12:50:44	1688	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:44	1688	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861180
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:44	1689	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field taille
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field category_path
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:44	1689	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:50:44	1689	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:44	1689	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field product_weight
2023-10-13	12:50:44	1689	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:44	1689	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:44	1689	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field published
2023-10-13	12:50:44	1689	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:44	1689	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field custom_title
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field custom_param
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field override
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field public_price
2023-10-13	12:50:44	1689	[DEBUG]	Use field value for field slug
2023-10-13	12:50:44	1689	[DEBUG]	Process line 1689
2023-10-13	12:50:44	1689	[DEBUG]	Load a row
2023-10-13	12:50:44	1689	[DEBUG]	Processing item: A_9532_7
2023-10-13	12:50:44	1689	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:44	1689	[DEBUG]	Processing product tax
2023-10-13	12:50:44	1689	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:44	1689	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:44	1689	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:44	1689	[DEBUG]	Query for Product
2023-10-13	12:50:44	1689	[DEBUG]	Executed store
2023-10-13	12:50:44	1689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9532_7','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:44	1689	[DEBUG]	Check product language entry
2023-10-13	12:50:44	1689	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861181
2023-10-13	12:50:44	1689	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:44	1689	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9532_7' AND `virtuemart_product_id` != 1861181
2023-10-13	12:50:44	1689	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:44	1689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861181, 'A_9532_7')
2023-10-13	12:50:44	1689	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:44	1689	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-rouge' AND `virtuemart_product_id` != 1861181
2023-10-13	12:50:44	1689	[DEBUG]	Query for ProductLang
2023-10-13	12:50:44	1689	[DEBUG]	Executed store
2023-10-13	12:50:44	1689	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 29354',`product_name`='Fox Chaussures VTT UNION FLAT  / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-rouge' WHERE `virtuemart_product_id` = '1861181'
2023-10-13	12:50:44	1689	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:44	1689	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:44	1689	[DEBUG]	Process image file
2023-10-13	12:50:44	1689	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:44	1689	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:44	1689	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:44	1689	[DEBUG]	Full name target: bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:45	1689	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:45	1689	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38899_chaussures_vtt_union_flat_.jpg'
2023-10-13	12:50:45	1689	[DEBUG]	Query for Media
2023-10-13	12:50:45	1689	[DEBUG]	Executed store
2023-10-13	12:50:45	1689	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38899_chaussures_vtt_union_flat_.jpg',`file_url_thumb`='bcprisme/38899_chaussures_vtt_union_flat_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1455248'
2023-10-13	12:50:45	1689	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:45	1689	[DEBUG]	Executed store
2023-10-13	12:50:45	1689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861181','1455248','1')
2023-10-13	12:50:45	1689	[DEBUG]	Store product image relation
2023-10-13	12:50:45	1689	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:45	1689	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861181 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:45	1689	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:45	1689	[DEBUG]	Executed store
2023-10-13	12:50:45	1689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861181','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:45	1689	[DEBUG]	Checking manufacturer
2023-10-13	12:50:45	1689	[DEBUG]	Load a row
2023-10-13	12:50:45	1689	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:45	1689	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:45	1689	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:45	1689	[DEBUG]	Executed store
2023-10-13	12:50:45	1689	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:45	1689	[DEBUG]	Manufacturer exists
2023-10-13	12:50:45	1689	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:45	1689	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:45	1689	[DEBUG]	Executed store
2023-10-13	12:50:45	1689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861181','44')
2023-10-13	12:50:45	1689	[DEBUG]	Find the custom field ID
2023-10-13	12:50:45	1689	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:50:45	1689	[DEBUG]	No custom field ID found
2023-10-13	12:50:45	1689	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:45	1689	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:50:45	1689	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861181 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:45	1689	[DEBUG]	Store custom available field
2023-10-13	12:50:45	1689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861181,3,'179.400277777778',1)
2023-10-13	12:50:45	1689	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:45	1689	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:50:45	1689	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861181 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:45	1689	[DEBUG]	Store custom available field
2023-10-13	12:50:45	1689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861181,6,'choisir la taille',3)
2023-10-13	12:50:45	1689	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:45	1689	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:50:45	1689	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:50:45	1689	[DEBUG]	Find the multi variant product entry
2023-10-13	12:50:45	1689	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861181 AND `virtuemart_custom_id` = 8
2023-10-13	12:50:45	1689	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:50:45	1689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861181,8,1)
2023-10-13	12:50:45	1689	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:45	1689	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861181\":[1861181,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861181
2023-10-13	12:50:45	1689	[DEBUG]	Checking category
2023-10-13	12:50:45	1689	[DEBUG]	Get the existing categories for the product
2023-10-13	12:50:45	1689	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861181
2023-10-13	12:50:45	1689	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:50:45	1689	[DEBUG]	Executed store
2023-10-13	12:50:45	1689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861181','7331')
2023-10-13	12:50:45	1689	[DEBUG]	Delete leftover product categories
2023-10-13	12:50:45	1689	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861181 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:50:45	1689	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:45	1689	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861181
2023-10-13	12:50:45	1690	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:45	1690	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:45	1690	[DEBUG]	Use field value for field taille
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:45	1690	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:45	1690	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:45	1690	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:45	1690	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:45	1690	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:45	1690	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:45	1690	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:45	1690	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:45	1690	[DEBUG]	Use field value for field published
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:45	1690	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field override
2023-10-13	12:50:45	1690	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:45	1690	[DEBUG]	Use field value for field slug
2023-10-13	12:50:45	1690	[DEBUG]	Process line 1690
2023-10-13	12:50:45	1690	[DEBUG]	Load a row
2023-10-13	12:50:45	1690	[DEBUG]	Processing item: 191972789526
2023-10-13	12:50:45	1690	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:45	1690	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:45	1690	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9532_7'
2023-10-13	12:50:45	1690	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:45	1690	[DEBUG]	Processing product tax
2023-10-13	12:50:45	1690	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:45	1690	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:45	1690	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:45	1690	[DEBUG]	Query for Product
2023-10-13	12:50:45	1690	[DEBUG]	Executed store
2023-10-13	12:50:45	1690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861181','191972789526','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:45	1690	[DEBUG]	No parent found
2023-10-13	12:50:45	1690	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861181 AND customfield_value = 'stockable'
2023-10-13	12:50:45	1690	[DEBUG]	Check product language entry
2023-10-13	12:50:45	1690	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861182
2023-10-13	12:50:45	1690	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:45	1690	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972789526' AND `virtuemart_product_id` != 1861182
2023-10-13	12:50:45	1690	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:45	1690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861182, '191972789526')
2023-10-13	12:50:45	1690	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:45	1690	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-rouge-45' AND `virtuemart_product_id` != 1861182
2023-10-13	12:50:45	1690	[DEBUG]	Query for ProductLang
2023-10-13	12:50:45	1690	[DEBUG]	Executed store
2023-10-13	12:50:45	1690	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION FLAT  / Rouge (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-rouge-45' WHERE `virtuemart_product_id` = '1861182'
2023-10-13	12:50:45	1690	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:45	1690	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:45	1690	[DEBUG]	Process image file
2023-10-13	12:50:45	1690	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:45	1690	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:45	1690	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:45	1690	[DEBUG]	Full name target: bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:46	1690	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:46	1690	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38899_chaussures_vtt_union_flat_.jpg'
2023-10-13	12:50:46	1690	[DEBUG]	Query for Media
2023-10-13	12:50:46	1690	[DEBUG]	Executed store
2023-10-13	12:50:46	1690	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38899_chaussures_vtt_union_flat_.jpg',`file_url_thumb`='bcprisme/38899_chaussures_vtt_union_flat_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1455248'
2023-10-13	12:50:46	1690	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:46	1690	[DEBUG]	Executed store
2023-10-13	12:50:46	1690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861182','1455248','1')
2023-10-13	12:50:46	1690	[DEBUG]	Store product image relation
2023-10-13	12:50:46	1690	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:46	1690	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861182 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:46	1690	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:46	1690	[DEBUG]	Executed store
2023-10-13	12:50:46	1690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861182','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:46	1690	[DEBUG]	Checking manufacturer
2023-10-13	12:50:46	1690	[DEBUG]	Load a row
2023-10-13	12:50:46	1690	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:46	1690	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:46	1690	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:46	1690	[DEBUG]	Executed store
2023-10-13	12:50:46	1690	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:46	1690	[DEBUG]	Manufacturer exists
2023-10-13	12:50:46	1690	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:46	1690	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:46	1690	[DEBUG]	Executed store
2023-10-13	12:50:46	1690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861182','44')
2023-10-13	12:50:46	1690	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:46	1690	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:46	1690	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861182 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:46	1690	[DEBUG]	Store custom available field
2023-10-13	12:50:46	1690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861182,3,'',1)
2023-10-13	12:50:46	1690	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:46	1690	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:50:46	1690	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861182 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:46	1690	[DEBUG]	Store custom available field
2023-10-13	12:50:46	1690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861182,6,'45',3)
2023-10-13	12:50:46	1690	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:46	1690	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:46	1690	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861181
2023-10-13	12:50:46	1690	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:46	1690	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\"}]|clabels=0|options={\"1861181\":[1861181,8,1,\"choisir la taille\"],\"1861182\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861181
2023-10-13	12:50:46	1690	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:46	1690	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861182
2023-10-13	12:50:46	1691	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:46	1691	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:46	1691	[DEBUG]	Use field value for field taille
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:46	1691	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:46	1691	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:46	1691	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:46	1691	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:46	1691	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:46	1691	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:46	1691	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:46	1691	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:46	1691	[DEBUG]	Use field value for field published
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:46	1691	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field override
2023-10-13	12:50:46	1691	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:46	1691	[DEBUG]	Use field value for field slug
2023-10-13	12:50:46	1691	[DEBUG]	Process line 1691
2023-10-13	12:50:46	1691	[DEBUG]	Load a row
2023-10-13	12:50:46	1691	[DEBUG]	Processing item: 1000007902245
2023-10-13	12:50:46	1691	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:46	1691	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:46	1691	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9532_7'
2023-10-13	12:50:46	1691	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:46	1691	[DEBUG]	Processing product tax
2023-10-13	12:50:46	1691	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:46	1691	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:46	1691	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:46	1691	[DEBUG]	Query for Product
2023-10-13	12:50:46	1691	[DEBUG]	Executed store
2023-10-13	12:50:46	1691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861181','1000007902245','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:46	1691	[DEBUG]	No parent found
2023-10-13	12:50:46	1691	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861181 AND customfield_value = 'stockable'
2023-10-13	12:50:46	1691	[DEBUG]	Check product language entry
2023-10-13	12:50:46	1691	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861183
2023-10-13	12:50:46	1691	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:46	1691	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000007902245' AND `virtuemart_product_id` != 1861183
2023-10-13	12:50:46	1691	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:46	1691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861183, '1000007902245')
2023-10-13	12:50:46	1691	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:46	1691	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-rouge-39' AND `virtuemart_product_id` != 1861183
2023-10-13	12:50:46	1691	[DEBUG]	Query for ProductLang
2023-10-13	12:50:46	1691	[DEBUG]	Executed store
2023-10-13	12:50:46	1691	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION FLAT  / Rouge (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-rouge-39' WHERE `virtuemart_product_id` = '1861183'
2023-10-13	12:50:46	1691	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:46	1691	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:46	1691	[DEBUG]	Process image file
2023-10-13	12:50:46	1691	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:46	1691	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:46	1691	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:46	1691	[DEBUG]	Full name target: bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:47	1691	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:47	1691	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38899_chaussures_vtt_union_flat_.jpg'
2023-10-13	12:50:47	1691	[DEBUG]	Query for Media
2023-10-13	12:50:47	1691	[DEBUG]	Executed store
2023-10-13	12:50:47	1691	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38899_chaussures_vtt_union_flat_.jpg',`file_url_thumb`='bcprisme/38899_chaussures_vtt_union_flat_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1455248'
2023-10-13	12:50:47	1691	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:47	1691	[DEBUG]	Executed store
2023-10-13	12:50:47	1691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861183','1455248','1')
2023-10-13	12:50:47	1691	[DEBUG]	Store product image relation
2023-10-13	12:50:47	1691	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:47	1691	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861183 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:47	1691	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:47	1691	[DEBUG]	Executed store
2023-10-13	12:50:47	1691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861183','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:47	1691	[DEBUG]	Checking manufacturer
2023-10-13	12:50:47	1691	[DEBUG]	Load a row
2023-10-13	12:50:47	1691	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:47	1691	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:47	1691	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:47	1691	[DEBUG]	Executed store
2023-10-13	12:50:47	1691	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:47	1691	[DEBUG]	Manufacturer exists
2023-10-13	12:50:47	1691	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:47	1691	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:47	1691	[DEBUG]	Executed store
2023-10-13	12:50:47	1691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861183','44')
2023-10-13	12:50:47	1691	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:47	1691	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:47	1691	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861183 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:47	1691	[DEBUG]	Store custom available field
2023-10-13	12:50:47	1691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861183,3,'',1)
2023-10-13	12:50:47	1691	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:47	1691	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:50:47	1691	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861183 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:47	1691	[DEBUG]	Store custom available field
2023-10-13	12:50:47	1691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861183,6,'39',3)
2023-10-13	12:50:47	1691	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:47	1691	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:47	1691	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861181
2023-10-13	12:50:47	1691	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:47	1691	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n39\"}]|clabels=0|options={\"1861181\":[1861181,8,1,\"choisir la taille\"],\"1861182\":[\"45\"],\"1861183\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861181
2023-10-13	12:50:47	1691	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:47	1691	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861183
2023-10-13	12:50:47	1692	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:47	1692	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:47	1692	[DEBUG]	Use field value for field taille
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:47	1692	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:47	1692	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:47	1692	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:47	1692	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:47	1692	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:47	1692	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:47	1692	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:47	1692	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:47	1692	[DEBUG]	Use field value for field published
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:47	1692	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field override
2023-10-13	12:50:47	1692	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:47	1692	[DEBUG]	Use field value for field slug
2023-10-13	12:50:47	1692	[DEBUG]	Process line 1692
2023-10-13	12:50:47	1692	[DEBUG]	Load a row
2023-10-13	12:50:47	1692	[DEBUG]	Processing item: 1000007902252
2023-10-13	12:50:47	1692	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:47	1692	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:47	1692	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9532_7'
2023-10-13	12:50:47	1692	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:47	1692	[DEBUG]	Processing product tax
2023-10-13	12:50:47	1692	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:47	1692	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:47	1692	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:47	1692	[DEBUG]	Query for Product
2023-10-13	12:50:47	1692	[DEBUG]	Executed store
2023-10-13	12:50:47	1692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861181','1000007902252','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:47	1692	[DEBUG]	No parent found
2023-10-13	12:50:47	1692	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861181 AND customfield_value = 'stockable'
2023-10-13	12:50:47	1692	[DEBUG]	Check product language entry
2023-10-13	12:50:47	1692	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861184
2023-10-13	12:50:47	1692	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:47	1692	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000007902252' AND `virtuemart_product_id` != 1861184
2023-10-13	12:50:47	1692	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:47	1692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861184, '1000007902252')
2023-10-13	12:50:47	1692	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:47	1692	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-rouge-39-5' AND `virtuemart_product_id` != 1861184
2023-10-13	12:50:47	1692	[DEBUG]	Query for ProductLang
2023-10-13	12:50:47	1692	[DEBUG]	Executed store
2023-10-13	12:50:47	1692	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION FLAT  / Rouge (39.5)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-rouge-39-5' WHERE `virtuemart_product_id` = '1861184'
2023-10-13	12:50:47	1692	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:47	1692	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:47	1692	[DEBUG]	Process image file
2023-10-13	12:50:47	1692	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:47	1692	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:47	1692	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:47	1692	[DEBUG]	Full name target: bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:48	1692	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:48	1692	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38899_chaussures_vtt_union_flat_.jpg'
2023-10-13	12:50:48	1692	[DEBUG]	Query for Media
2023-10-13	12:50:48	1692	[DEBUG]	Executed store
2023-10-13	12:50:48	1692	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38899_chaussures_vtt_union_flat_.jpg',`file_url_thumb`='bcprisme/38899_chaussures_vtt_union_flat_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1455248'
2023-10-13	12:50:48	1692	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:48	1692	[DEBUG]	Executed store
2023-10-13	12:50:48	1692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861184','1455248','1')
2023-10-13	12:50:48	1692	[DEBUG]	Store product image relation
2023-10-13	12:50:48	1692	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:48	1692	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861184 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:48	1692	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:48	1692	[DEBUG]	Executed store
2023-10-13	12:50:48	1692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861184','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:48	1692	[DEBUG]	Checking manufacturer
2023-10-13	12:50:48	1692	[DEBUG]	Load a row
2023-10-13	12:50:48	1692	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:48	1692	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:48	1692	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:48	1692	[DEBUG]	Executed store
2023-10-13	12:50:48	1692	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:48	1692	[DEBUG]	Manufacturer exists
2023-10-13	12:50:48	1692	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:48	1692	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:48	1692	[DEBUG]	Executed store
2023-10-13	12:50:48	1692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861184','44')
2023-10-13	12:50:48	1692	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:48	1692	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:48	1692	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861184 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:48	1692	[DEBUG]	Store custom available field
2023-10-13	12:50:48	1692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861184,3,'',1)
2023-10-13	12:50:48	1692	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:48	1692	[DEBUG]	Get existing row with customfield value 39.5
2023-10-13	12:50:48	1692	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861184 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:48	1692	[DEBUG]	Store custom available field
2023-10-13	12:50:48	1692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861184,6,'39.5',3)
2023-10-13	12:50:48	1692	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:48	1692	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:48	1692	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861181
2023-10-13	12:50:48	1692	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:48	1692	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n39\\r\\n39.5\"}]|clabels=0|options={\"1861181\":[1861181,8,1,\"choisir la taille\"],\"1861182\":[\"45\"],\"1861183\":[\"39\"],\"1861184\":[\"39.5\"]}|' WHERE `virtuemart_product_id` = 1861181
2023-10-13	12:50:48	1692	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:48	1692	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861184
2023-10-13	12:50:48	1693	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:48	1693	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:48	1693	[DEBUG]	Use field value for field taille
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:48	1693	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:48	1693	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:48	1693	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:48	1693	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:48	1693	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:48	1693	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:48	1693	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:48	1693	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:48	1693	[DEBUG]	Use field value for field published
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:48	1693	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field override
2023-10-13	12:50:48	1693	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:48	1693	[DEBUG]	Use field value for field slug
2023-10-13	12:50:48	1693	[DEBUG]	Process line 1693
2023-10-13	12:50:48	1693	[DEBUG]	Load a row
2023-10-13	12:50:48	1693	[DEBUG]	Processing item: 1000007902269
2023-10-13	12:50:48	1693	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:48	1693	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:48	1693	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9532_7'
2023-10-13	12:50:48	1693	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:48	1693	[DEBUG]	Processing product tax
2023-10-13	12:50:48	1693	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:48	1693	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:48	1693	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:48	1693	[DEBUG]	Query for Product
2023-10-13	12:50:48	1693	[DEBUG]	Executed store
2023-10-13	12:50:48	1693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861181','1000007902269','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:48	1693	[DEBUG]	No parent found
2023-10-13	12:50:48	1693	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861181 AND customfield_value = 'stockable'
2023-10-13	12:50:48	1693	[DEBUG]	Check product language entry
2023-10-13	12:50:48	1693	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861185
2023-10-13	12:50:48	1693	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:48	1693	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000007902269' AND `virtuemart_product_id` != 1861185
2023-10-13	12:50:48	1693	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:48	1693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861185, '1000007902269')
2023-10-13	12:50:48	1693	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:48	1693	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-rouge-40' AND `virtuemart_product_id` != 1861185
2023-10-13	12:50:48	1693	[DEBUG]	Query for ProductLang
2023-10-13	12:50:48	1693	[DEBUG]	Executed store
2023-10-13	12:50:48	1693	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION FLAT  / Rouge (40)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-rouge-40' WHERE `virtuemart_product_id` = '1861185'
2023-10-13	12:50:48	1693	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:48	1693	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:48	1693	[DEBUG]	Process image file
2023-10-13	12:50:48	1693	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:48	1693	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:48	1693	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:48	1693	[DEBUG]	Full name target: bcprisme/38899_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:49	1693	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:49	1693	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38899_chaussures_vtt_union_flat_.jpg'
2023-10-13	12:50:49	1693	[DEBUG]	Query for Media
2023-10-13	12:50:49	1693	[DEBUG]	Executed store
2023-10-13	12:50:49	1693	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38899_chaussures_vtt_union_flat_.jpg',`file_url_thumb`='bcprisme/38899_chaussures_vtt_union_flat_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1455248'
2023-10-13	12:50:49	1693	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:49	1693	[DEBUG]	Executed store
2023-10-13	12:50:49	1693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861185','1455248','1')
2023-10-13	12:50:49	1693	[DEBUG]	Store product image relation
2023-10-13	12:50:49	1693	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:49	1693	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861185 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:49	1693	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:49	1693	[DEBUG]	Executed store
2023-10-13	12:50:49	1693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861185','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:49	1693	[DEBUG]	Checking manufacturer
2023-10-13	12:50:49	1693	[DEBUG]	Load a row
2023-10-13	12:50:49	1693	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:49	1693	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:49	1693	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:49	1693	[DEBUG]	Executed store
2023-10-13	12:50:49	1693	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:49	1693	[DEBUG]	Manufacturer exists
2023-10-13	12:50:49	1693	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:49	1693	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:49	1693	[DEBUG]	Executed store
2023-10-13	12:50:49	1693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861185','44')
2023-10-13	12:50:49	1693	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:49	1693	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:49	1693	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861185 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:49	1693	[DEBUG]	Store custom available field
2023-10-13	12:50:49	1693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861185,3,'',1)
2023-10-13	12:50:49	1693	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:49	1693	[DEBUG]	Get existing row with customfield value 40
2023-10-13	12:50:49	1693	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861185 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:49	1693	[DEBUG]	Store custom available field
2023-10-13	12:50:49	1693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861185,6,'40',3)
2023-10-13	12:50:49	1693	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:49	1693	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:49	1693	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861181
2023-10-13	12:50:49	1693	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:49	1693	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n39\\r\\n39.5\\r\\n40\"}]|clabels=0|options={\"1861181\":[1861181,8,1,\"choisir la taille\"],\"1861182\":[\"45\"],\"1861183\":[\"39\"],\"1861184\":[\"39.5\"],\"1861185\":[\"40\"]}|' WHERE `virtuemart_product_id` = 1861181
2023-10-13	12:50:49	1693	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:49	1693	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861185
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:49	1694	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field taille
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field category_path
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:49	1694	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:50:49	1694	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:49	1694	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field product_weight
2023-10-13	12:50:49	1694	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:49	1694	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:49	1694	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field published
2023-10-13	12:50:49	1694	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:49	1694	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field custom_title
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field custom_param
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field override
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field public_price
2023-10-13	12:50:49	1694	[DEBUG]	Use field value for field slug
2023-10-13	12:50:49	1694	[DEBUG]	Process line 1694
2023-10-13	12:50:49	1694	[DEBUG]	Load a row
2023-10-13	12:50:49	1694	[DEBUG]	Processing item: A_9532_16
2023-10-13	12:50:49	1694	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:49	1694	[DEBUG]	Processing product tax
2023-10-13	12:50:49	1694	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:49	1694	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:49	1694	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:49	1694	[DEBUG]	Query for Product
2023-10-13	12:50:49	1694	[DEBUG]	Executed store
2023-10-13	12:50:49	1694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9532_16','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:49	1694	[DEBUG]	Check product language entry
2023-10-13	12:50:49	1694	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861186
2023-10-13	12:50:49	1694	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:49	1694	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9532_16' AND `virtuemart_product_id` != 1861186
2023-10-13	12:50:49	1694	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:49	1694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861186, 'A_9532_16')
2023-10-13	12:50:49	1694	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:49	1694	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-gris' AND `virtuemart_product_id` != 1861186
2023-10-13	12:50:49	1694	[DEBUG]	Query for ProductLang
2023-10-13	12:50:49	1694	[DEBUG]	Executed store
2023-10-13	12:50:49	1694	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 29354',`product_name`='Fox Chaussures VTT UNION FLAT  / Gris',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-gris' WHERE `virtuemart_product_id` = '1861186'
2023-10-13	12:50:49	1694	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38900_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:49	1694	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:49	1694	[DEBUG]	Process image file
2023-10-13	12:50:49	1694	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:49	1694	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:49	1694	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38900_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:49	1694	[DEBUG]	Full name target: bcprisme/38900_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:50	1694	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:50	1694	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38900_chaussures_vtt_union_flat_.jpg'
2023-10-13	12:50:50	1694	[DEBUG]	Query for Media
2023-10-13	12:50:50	1694	[DEBUG]	Executed store
2023-10-13	12:50:50	1694	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38900_chaussures_vtt_union_flat_.jpg',`file_url_thumb`='bcprisme/38900_chaussures_vtt_union_flat_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1455250'
2023-10-13	12:50:50	1694	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:50	1694	[DEBUG]	Executed store
2023-10-13	12:50:50	1694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861186','1455250','1')
2023-10-13	12:50:50	1694	[DEBUG]	Store product image relation
2023-10-13	12:50:50	1694	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:50	1694	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861186 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:50	1694	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:50	1694	[DEBUG]	Executed store
2023-10-13	12:50:50	1694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861186','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:50	1694	[DEBUG]	Checking manufacturer
2023-10-13	12:50:50	1694	[DEBUG]	Load a row
2023-10-13	12:50:50	1694	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:50	1694	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:50	1694	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:50	1694	[DEBUG]	Executed store
2023-10-13	12:50:50	1694	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:50	1694	[DEBUG]	Manufacturer exists
2023-10-13	12:50:50	1694	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:50	1694	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:50	1694	[DEBUG]	Executed store
2023-10-13	12:50:50	1694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861186','44')
2023-10-13	12:50:50	1694	[DEBUG]	Find the custom field ID
2023-10-13	12:50:50	1694	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:50:50	1694	[DEBUG]	No custom field ID found
2023-10-13	12:50:50	1694	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:50	1694	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:50:50	1694	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861186 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:50	1694	[DEBUG]	Store custom available field
2023-10-13	12:50:50	1694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861186,3,'179.400277777778',1)
2023-10-13	12:50:50	1694	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:50	1694	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:50:50	1694	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861186 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:50	1694	[DEBUG]	Store custom available field
2023-10-13	12:50:50	1694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861186,6,'choisir la taille',3)
2023-10-13	12:50:50	1694	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:50	1694	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:50:50	1694	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:50:50	1694	[DEBUG]	Find the multi variant product entry
2023-10-13	12:50:50	1694	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861186 AND `virtuemart_custom_id` = 8
2023-10-13	12:50:50	1694	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:50:50	1694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861186,8,1)
2023-10-13	12:50:50	1694	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:50	1694	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861186\":[1861186,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861186
2023-10-13	12:50:50	1694	[DEBUG]	Checking category
2023-10-13	12:50:50	1694	[DEBUG]	Get the existing categories for the product
2023-10-13	12:50:50	1694	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861186
2023-10-13	12:50:50	1694	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:50:50	1694	[DEBUG]	Executed store
2023-10-13	12:50:50	1694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861186','7331')
2023-10-13	12:50:50	1694	[DEBUG]	Delete leftover product categories
2023-10-13	12:50:50	1694	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861186 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:50:50	1694	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:50	1694	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861186
2023-10-13	12:50:50	1695	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:50	1695	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:50	1695	[DEBUG]	Use field value for field taille
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:50	1695	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:50	1695	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:50	1695	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:50	1695	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:50	1695	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:50	1695	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:50	1695	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:50	1695	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:50	1695	[DEBUG]	Use field value for field published
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:50	1695	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field override
2023-10-13	12:50:50	1695	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:50	1695	[DEBUG]	Use field value for field slug
2023-10-13	12:50:50	1695	[DEBUG]	Process line 1695
2023-10-13	12:50:50	1695	[DEBUG]	Load a row
2023-10-13	12:50:50	1695	[DEBUG]	Processing item: 191972772894
2023-10-13	12:50:50	1695	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:50	1695	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:50	1695	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9532_16'
2023-10-13	12:50:50	1695	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:50	1695	[DEBUG]	Processing product tax
2023-10-13	12:50:50	1695	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:50	1695	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:50	1695	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:50	1695	[DEBUG]	Query for Product
2023-10-13	12:50:50	1695	[DEBUG]	Executed store
2023-10-13	12:50:50	1695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861186','191972772894','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:50	1695	[DEBUG]	No parent found
2023-10-13	12:50:50	1695	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861186 AND customfield_value = 'stockable'
2023-10-13	12:50:50	1695	[DEBUG]	Check product language entry
2023-10-13	12:50:50	1695	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861187
2023-10-13	12:50:50	1695	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:50	1695	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972772894' AND `virtuemart_product_id` != 1861187
2023-10-13	12:50:50	1695	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:50	1695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861187, '191972772894')
2023-10-13	12:50:50	1695	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:50	1695	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-gris-43' AND `virtuemart_product_id` != 1861187
2023-10-13	12:50:50	1695	[DEBUG]	Query for ProductLang
2023-10-13	12:50:50	1695	[DEBUG]	Executed store
2023-10-13	12:50:50	1695	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION FLAT  / Gris (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-gris-43' WHERE `virtuemart_product_id` = '1861187'
2023-10-13	12:50:50	1695	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38900_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:50	1695	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:50	1695	[DEBUG]	Process image file
2023-10-13	12:50:50	1695	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:50	1695	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:50	1695	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38900_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:50	1695	[DEBUG]	Full name target: bcprisme/38900_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:51	1695	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:51	1695	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38900_chaussures_vtt_union_flat_.jpg'
2023-10-13	12:50:51	1695	[DEBUG]	Query for Media
2023-10-13	12:50:51	1695	[DEBUG]	Executed store
2023-10-13	12:50:51	1695	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38900_chaussures_vtt_union_flat_.jpg',`file_url_thumb`='bcprisme/38900_chaussures_vtt_union_flat_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1455250'
2023-10-13	12:50:51	1695	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:51	1695	[DEBUG]	Executed store
2023-10-13	12:50:51	1695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861187','1455250','1')
2023-10-13	12:50:51	1695	[DEBUG]	Store product image relation
2023-10-13	12:50:51	1695	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:51	1695	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861187 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:51	1695	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:51	1695	[DEBUG]	Executed store
2023-10-13	12:50:51	1695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861187','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:51	1695	[DEBUG]	Checking manufacturer
2023-10-13	12:50:51	1695	[DEBUG]	Load a row
2023-10-13	12:50:51	1695	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:51	1695	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:51	1695	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:51	1695	[DEBUG]	Executed store
2023-10-13	12:50:51	1695	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:51	1695	[DEBUG]	Manufacturer exists
2023-10-13	12:50:51	1695	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:51	1695	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:51	1695	[DEBUG]	Executed store
2023-10-13	12:50:51	1695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861187','44')
2023-10-13	12:50:51	1695	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:51	1695	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:51	1695	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861187 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:51	1695	[DEBUG]	Store custom available field
2023-10-13	12:50:51	1695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861187,3,'',1)
2023-10-13	12:50:51	1695	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:51	1695	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:50:51	1695	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861187 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:51	1695	[DEBUG]	Store custom available field
2023-10-13	12:50:51	1695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861187,6,'43',3)
2023-10-13	12:50:51	1695	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:51	1695	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:51	1695	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861186
2023-10-13	12:50:51	1695	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:51	1695	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n43\"}]|clabels=0|options={\"1861186\":[1861186,8,1,\"choisir la taille\"],\"1861187\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861186
2023-10-13	12:50:51	1695	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:51	1695	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861187
2023-10-13	12:50:51	1696	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:51	1696	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:51	1696	[DEBUG]	Use field value for field taille
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:51	1696	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:51	1696	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:51	1696	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:51	1696	[DEBUG]	Use field value for field file_url
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:51	1696	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:51	1696	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:51	1696	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:51	1696	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:51	1696	[DEBUG]	Use field value for field published
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:51	1696	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field override
2023-10-13	12:50:51	1696	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:51	1696	[DEBUG]	Use field value for field slug
2023-10-13	12:50:51	1696	[DEBUG]	Process line 1696
2023-10-13	12:50:51	1696	[DEBUG]	Load a row
2023-10-13	12:50:51	1696	[DEBUG]	Processing item: 191972772900
2023-10-13	12:50:51	1696	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:51	1696	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:51	1696	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9532_16'
2023-10-13	12:50:51	1696	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:51	1696	[DEBUG]	Processing product tax
2023-10-13	12:50:51	1696	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:51	1696	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:51	1696	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:51	1696	[DEBUG]	Query for Product
2023-10-13	12:50:51	1696	[DEBUG]	Executed store
2023-10-13	12:50:51	1696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861186','191972772900','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:51	1696	[DEBUG]	No parent found
2023-10-13	12:50:51	1696	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861186 AND customfield_value = 'stockable'
2023-10-13	12:50:51	1696	[DEBUG]	Check product language entry
2023-10-13	12:50:51	1696	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861188
2023-10-13	12:50:51	1696	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:51	1696	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972772900' AND `virtuemart_product_id` != 1861188
2023-10-13	12:50:51	1696	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:51	1696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861188, '191972772900')
2023-10-13	12:50:51	1696	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:51	1696	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-gris-43-5' AND `virtuemart_product_id` != 1861188
2023-10-13	12:50:51	1696	[DEBUG]	Query for ProductLang
2023-10-13	12:50:51	1696	[DEBUG]	Executed store
2023-10-13	12:50:51	1696	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION FLAT  / Gris (43.5)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-gris-43-5' WHERE `virtuemart_product_id` = '1861188'
2023-10-13	12:50:51	1696	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38900_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:51	1696	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:51	1696	[DEBUG]	Process image file
2023-10-13	12:50:51	1696	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:50:51	1696	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:50:51	1696	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38900_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:51	1696	[DEBUG]	Full name target: bcprisme/38900_chaussures_vtt_union_flat_.jpg
2023-10-13	12:50:52	1696	[DEBUG]	Checking if the file_url exists
2023-10-13	12:50:52	1696	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38900_chaussures_vtt_union_flat_.jpg'
2023-10-13	12:50:52	1696	[DEBUG]	Query for Media
2023-10-13	12:50:52	1696	[DEBUG]	Executed store
2023-10-13	12:50:52	1696	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38900_chaussures_vtt_union_flat_.jpg',`file_url_thumb`='bcprisme/38900_chaussures_vtt_union_flat_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1455250'
2023-10-13	12:50:52	1696	[DEBUG]	Query for ProductMedia
2023-10-13	12:50:52	1696	[DEBUG]	Executed store
2023-10-13	12:50:52	1696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861188','1455250','1')
2023-10-13	12:50:52	1696	[DEBUG]	Store product image relation
2023-10-13	12:50:52	1696	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:52	1696	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861188 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:52	1696	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:52	1696	[DEBUG]	Executed store
2023-10-13	12:50:52	1696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861188','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:52	1696	[DEBUG]	Checking manufacturer
2023-10-13	12:50:52	1696	[DEBUG]	Load a row
2023-10-13	12:50:52	1696	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:52	1696	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:52	1696	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:52	1696	[DEBUG]	Executed store
2023-10-13	12:50:52	1696	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:52	1696	[DEBUG]	Manufacturer exists
2023-10-13	12:50:52	1696	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:52	1696	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:52	1696	[DEBUG]	Executed store
2023-10-13	12:50:52	1696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861188','44')
2023-10-13	12:50:52	1696	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:52	1696	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:52	1696	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861188 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:52	1696	[DEBUG]	Store custom available field
2023-10-13	12:50:52	1696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861188,3,'',1)
2023-10-13	12:50:52	1696	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:52	1696	[DEBUG]	Get existing row with customfield value 43.5
2023-10-13	12:50:52	1696	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861188 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:52	1696	[DEBUG]	Store custom available field
2023-10-13	12:50:52	1696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861188,6,'43.5',3)
2023-10-13	12:50:52	1696	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:52	1696	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:52	1696	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861186
2023-10-13	12:50:52	1696	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:52	1696	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n43\\r\\n43.5\"}]|clabels=0|options={\"1861186\":[1861186,8,1,\"choisir la taille\"],\"1861187\":[\"43\"],\"1861188\":[\"43.5\"]}|' WHERE `virtuemart_product_id` = 1861186
2023-10-13	12:50:52	1696	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:52	1696	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861188
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:52	1697	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field taille
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field category_path
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:52	1697	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:52	1697	[DEBUG]	Use default value for field file_url
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:50:52	1697	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:52	1697	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field product_weight
2023-10-13	12:50:52	1697	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:52	1697	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:52	1697	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field published
2023-10-13	12:50:52	1697	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:52	1697	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field custom_title
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field custom_param
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field override
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field public_price
2023-10-13	12:50:52	1697	[DEBUG]	Use field value for field slug
2023-10-13	12:50:52	1697	[DEBUG]	Process line 1697
2023-10-13	12:50:52	1697	[DEBUG]	Load a row
2023-10-13	12:50:52	1697	[DEBUG]	Processing item: A_9532_183
2023-10-13	12:50:52	1697	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:52	1697	[DEBUG]	Processing product tax
2023-10-13	12:50:52	1697	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:52	1697	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:52	1697	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:52	1697	[DEBUG]	Query for Product
2023-10-13	12:50:52	1697	[DEBUG]	Executed store
2023-10-13	12:50:52	1697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9532_183','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:52	1697	[DEBUG]	Check product language entry
2023-10-13	12:50:52	1697	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861189
2023-10-13	12:50:52	1697	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:52	1697	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9532_183' AND `virtuemart_product_id` != 1861189
2023-10-13	12:50:52	1697	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:52	1697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861189, 'A_9532_183')
2023-10-13	12:50:52	1697	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:52	1697	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-green' AND `virtuemart_product_id` != 1861189
2023-10-13	12:50:52	1697	[DEBUG]	Query for ProductLang
2023-10-13	12:50:52	1697	[DEBUG]	Executed store
2023-10-13	12:50:52	1697	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 29354',`product_name`='Fox Chaussures VTT UNION FLAT  / GREEN',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-green' WHERE `virtuemart_product_id` = '1861189'
2023-10-13	12:50:52	1697	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:52	1697	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861189 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:52	1697	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:52	1697	[DEBUG]	Executed store
2023-10-13	12:50:52	1697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861189','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:52	1697	[DEBUG]	Checking manufacturer
2023-10-13	12:50:52	1697	[DEBUG]	Load a row
2023-10-13	12:50:52	1697	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:52	1697	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:52	1697	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:52	1697	[DEBUG]	Executed store
2023-10-13	12:50:52	1697	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:52	1697	[DEBUG]	Manufacturer exists
2023-10-13	12:50:52	1697	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:52	1697	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:52	1697	[DEBUG]	Executed store
2023-10-13	12:50:52	1697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861189','44')
2023-10-13	12:50:52	1697	[DEBUG]	Find the custom field ID
2023-10-13	12:50:52	1697	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:50:52	1697	[DEBUG]	No custom field ID found
2023-10-13	12:50:52	1697	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:52	1697	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:50:52	1697	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861189 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:52	1697	[DEBUG]	Store custom available field
2023-10-13	12:50:52	1697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861189,3,'179.400277777778',1)
2023-10-13	12:50:52	1697	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:52	1697	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:50:52	1697	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861189 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:52	1697	[DEBUG]	Store custom available field
2023-10-13	12:50:52	1697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861189,6,'choisir la taille',3)
2023-10-13	12:50:52	1697	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:52	1697	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:50:52	1697	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:50:52	1697	[DEBUG]	Find the multi variant product entry
2023-10-13	12:50:52	1697	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861189 AND `virtuemart_custom_id` = 8
2023-10-13	12:50:52	1697	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:50:52	1697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861189,8,1)
2023-10-13	12:50:52	1697	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:52	1697	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861189\":[1861189,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861189
2023-10-13	12:50:52	1697	[DEBUG]	Checking category
2023-10-13	12:50:52	1697	[DEBUG]	Get the existing categories for the product
2023-10-13	12:50:52	1697	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861189
2023-10-13	12:50:52	1697	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:50:52	1697	[DEBUG]	Executed store
2023-10-13	12:50:52	1697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861189','7331')
2023-10-13	12:50:52	1697	[DEBUG]	Delete leftover product categories
2023-10-13	12:50:52	1697	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861189 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:50:52	1697	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:52	1697	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861189
2023-10-13	12:50:52	1698	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:52	1698	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:52	1698	[DEBUG]	Use field value for field taille
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:52	1698	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:52	1698	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:52	1698	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field file_url
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:52	1698	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:52	1698	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:52	1698	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:52	1698	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:52	1698	[DEBUG]	Use field value for field published
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:52	1698	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field override
2023-10-13	12:50:52	1698	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:52	1698	[DEBUG]	Use field value for field slug
2023-10-13	12:50:52	1698	[DEBUG]	Process line 1698
2023-10-13	12:50:52	1698	[DEBUG]	Load a row
2023-10-13	12:50:52	1698	[DEBUG]	Processing item: 191972854699
2023-10-13	12:50:52	1698	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:52	1698	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:52	1698	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9532_183'
2023-10-13	12:50:52	1698	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:52	1698	[DEBUG]	Processing product tax
2023-10-13	12:50:52	1698	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:52	1698	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:52	1698	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:52	1698	[DEBUG]	Query for Product
2023-10-13	12:50:52	1698	[DEBUG]	Executed store
2023-10-13	12:50:52	1698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861189','191972854699','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:52	1698	[DEBUG]	No parent found
2023-10-13	12:50:52	1698	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861189 AND customfield_value = 'stockable'
2023-10-13	12:50:52	1698	[DEBUG]	Check product language entry
2023-10-13	12:50:52	1698	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861190
2023-10-13	12:50:52	1698	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:52	1698	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972854699' AND `virtuemart_product_id` != 1861190
2023-10-13	12:50:52	1698	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:52	1698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861190, '191972854699')
2023-10-13	12:50:52	1698	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:52	1698	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-green-43' AND `virtuemart_product_id` != 1861190
2023-10-13	12:50:52	1698	[DEBUG]	Query for ProductLang
2023-10-13	12:50:52	1698	[DEBUG]	Executed store
2023-10-13	12:50:52	1698	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION FLAT  / GREEN (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-green-43' WHERE `virtuemart_product_id` = '1861190'
2023-10-13	12:50:52	1698	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:52	1698	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861190 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:52	1698	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:52	1698	[DEBUG]	Executed store
2023-10-13	12:50:52	1698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861190','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:52	1698	[DEBUG]	Checking manufacturer
2023-10-13	12:50:52	1698	[DEBUG]	Load a row
2023-10-13	12:50:52	1698	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:52	1698	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:52	1698	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:52	1698	[DEBUG]	Executed store
2023-10-13	12:50:52	1698	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:52	1698	[DEBUG]	Manufacturer exists
2023-10-13	12:50:52	1698	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:52	1698	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:52	1698	[DEBUG]	Executed store
2023-10-13	12:50:52	1698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861190','44')
2023-10-13	12:50:52	1698	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:52	1698	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:52	1698	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861190 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:52	1698	[DEBUG]	Store custom available field
2023-10-13	12:50:52	1698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861190,3,'',1)
2023-10-13	12:50:52	1698	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:52	1698	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:50:52	1698	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861190 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:52	1698	[DEBUG]	Store custom available field
2023-10-13	12:50:52	1698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861190,6,'43',3)
2023-10-13	12:50:52	1698	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:52	1698	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:52	1698	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861189
2023-10-13	12:50:52	1698	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:52	1698	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n43\"}]|clabels=0|options={\"1861189\":[1861189,8,1,\"choisir la taille\"],\"1861190\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861189
2023-10-13	12:50:52	1698	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:52	1698	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861190
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:52	1699	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field taille
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field category_path
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:52	1699	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:52	1699	[DEBUG]	Use default value for field file_url
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:50:52	1699	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:52	1699	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field product_weight
2023-10-13	12:50:52	1699	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:52	1699	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:52	1699	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field published
2023-10-13	12:50:52	1699	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:52	1699	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field custom_title
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field custom_param
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field override
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field public_price
2023-10-13	12:50:52	1699	[DEBUG]	Use field value for field slug
2023-10-13	12:50:52	1699	[DEBUG]	Process line 1699
2023-10-13	12:50:52	1699	[DEBUG]	Load a row
2023-10-13	12:50:52	1699	[DEBUG]	Processing item: A_9532_895
2023-10-13	12:50:52	1699	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:52	1699	[DEBUG]	Processing product tax
2023-10-13	12:50:52	1699	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:52	1699	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:52	1699	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:52	1699	[DEBUG]	Query for Product
2023-10-13	12:50:52	1699	[DEBUG]	Executed store
2023-10-13	12:50:52	1699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9532_895','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:52	1699	[DEBUG]	Check product language entry
2023-10-13	12:50:52	1699	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861191
2023-10-13	12:50:52	1699	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:52	1699	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9532_895' AND `virtuemart_product_id` != 1861191
2023-10-13	12:50:52	1699	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:52	1699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861191, 'A_9532_895')
2023-10-13	12:50:52	1699	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:52	1699	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-mocca' AND `virtuemart_product_id` != 1861191
2023-10-13	12:50:52	1699	[DEBUG]	Query for ProductLang
2023-10-13	12:50:52	1699	[DEBUG]	Executed store
2023-10-13	12:50:52	1699	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 29354',`product_name`='Fox Chaussures VTT UNION FLAT  / Mocca',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-mocca' WHERE `virtuemart_product_id` = '1861191'
2023-10-13	12:50:52	1699	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:52	1699	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861191 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:52	1699	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:52	1699	[DEBUG]	Executed store
2023-10-13	12:50:52	1699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861191','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:52	1699	[DEBUG]	Checking manufacturer
2023-10-13	12:50:52	1699	[DEBUG]	Load a row
2023-10-13	12:50:52	1699	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:52	1699	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:52	1699	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:52	1699	[DEBUG]	Executed store
2023-10-13	12:50:52	1699	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:52	1699	[DEBUG]	Manufacturer exists
2023-10-13	12:50:52	1699	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:52	1699	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:52	1699	[DEBUG]	Executed store
2023-10-13	12:50:52	1699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861191','44')
2023-10-13	12:50:52	1699	[DEBUG]	Find the custom field ID
2023-10-13	12:50:52	1699	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:50:52	1699	[DEBUG]	No custom field ID found
2023-10-13	12:50:52	1699	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:52	1699	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:50:52	1699	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861191 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:52	1699	[DEBUG]	Store custom available field
2023-10-13	12:50:52	1699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861191,3,'179.400277777778',1)
2023-10-13	12:50:52	1699	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:52	1699	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:50:52	1699	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861191 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:52	1699	[DEBUG]	Store custom available field
2023-10-13	12:50:52	1699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861191,6,'choisir la taille',3)
2023-10-13	12:50:52	1699	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:52	1699	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:50:52	1699	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:50:52	1699	[DEBUG]	Find the multi variant product entry
2023-10-13	12:50:52	1699	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861191 AND `virtuemart_custom_id` = 8
2023-10-13	12:50:52	1699	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:50:52	1699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861191,8,1)
2023-10-13	12:50:52	1699	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:52	1699	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861191\":[1861191,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861191
2023-10-13	12:50:52	1699	[DEBUG]	Checking category
2023-10-13	12:50:52	1699	[DEBUG]	Get the existing categories for the product
2023-10-13	12:50:52	1699	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861191
2023-10-13	12:50:52	1699	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:50:52	1699	[DEBUG]	Executed store
2023-10-13	12:50:52	1699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861191','7331')
2023-10-13	12:50:52	1699	[DEBUG]	Delete leftover product categories
2023-10-13	12:50:52	1699	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861191 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:50:52	1699	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:52	1699	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861191
2023-10-13	12:50:52	1700	[DEBUG]	Use field value for field product_sku
2023-10-13	12:50:52	1700	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:50:52	1700	[DEBUG]	Use field value for field taille
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:50:52	1700	[DEBUG]	Use field value for field product_name
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field category_path
2023-10-13	12:50:52	1700	[DEBUG]	Use field value for field product_price
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:50:52	1700	[DEBUG]	Use field value for field product_tax
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field file_url
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field product_desc
2023-10-13	12:50:52	1700	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:50:52	1700	[DEBUG]	Use field value for field product_availability
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field product_weight
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field product_unit
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field related_products
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field product_special
2023-10-13	12:50:52	1700	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:50:52	1700	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:50:52	1700	[DEBUG]	Use field value for field published
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field metadesc
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field metakey
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field custom_title
2023-10-13	12:50:52	1700	[DEBUG]	Use field value for field custom_value
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field custom_param
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field override
2023-10-13	12:50:52	1700	[DEBUG]	Use default value for field public_price
2023-10-13	12:50:52	1700	[DEBUG]	Use field value for field slug
2023-10-13	12:50:52	1700	[DEBUG]	Process line 1700
2023-10-13	12:50:52	1700	[DEBUG]	Load a row
2023-10-13	12:50:52	1700	[DEBUG]	Processing item: 191972778988
2023-10-13	12:50:52	1700	[DEBUG]	Looking for parent SKU
2023-10-13	12:50:52	1700	[DEBUG]	Checking product parent SKU
2023-10-13	12:50:52	1700	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9532_895'
2023-10-13	12:50:52	1700	[DEBUG]	Product tax: 7.7
2023-10-13	12:50:52	1700	[DEBUG]	Processing product tax
2023-10-13	12:50:52	1700	[DEBUG]	Check if calculation rule exists
2023-10-13	12:50:52	1700	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:50:52	1700	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:50:52	1700	[DEBUG]	Query for Product
2023-10-13	12:50:52	1700	[DEBUG]	Executed store
2023-10-13	12:50:52	1700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861191','191972778988','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0')
2023-10-13	12:50:52	1700	[DEBUG]	No parent found
2023-10-13	12:50:52	1700	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861191 AND customfield_value = 'stockable'
2023-10-13	12:50:52	1700	[DEBUG]	Check product language entry
2023-10-13	12:50:52	1700	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861192
2023-10-13	12:50:52	1700	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:52	1700	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972778988' AND `virtuemart_product_id` != 1861192
2023-10-13	12:50:52	1700	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:50:52	1700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861192, '191972778988')
2023-10-13	12:50:52	1700	[DEBUG]	Check if the product slug exists
2023-10-13	12:50:52	1700	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-flat-mocca-44' AND `virtuemart_product_id` != 1861192
2023-10-13	12:50:52	1700	[DEBUG]	Query for ProductLang
2023-10-13	12:50:52	1700	[DEBUG]	Executed store
2023-10-13	12:50:52	1700	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION FLAT  / Mocca (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-flat-mocca-44' WHERE `virtuemart_product_id` = '1861192'
2023-10-13	12:50:52	1700	[DEBUG]	Finding a product_price_id
2023-10-13	12:50:52	1700	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861192 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:50:52	1700	[DEBUG]	Query for ProductPrice
2023-10-13	12:50:52	1700	[DEBUG]	Executed store
2023-10-13	12:50:52	1700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861192','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:49:35','1593','2023-10-13 12:49:35','1593','0000-00-00 00:00:00','0')
2023-10-13	12:50:52	1700	[DEBUG]	Checking manufacturer
2023-10-13	12:50:52	1700	[DEBUG]	Load a row
2023-10-13	12:50:52	1700	[DEBUG]	Manufacturer already exists
2023-10-13	12:50:52	1700	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:52	1700	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:50:52	1700	[DEBUG]	Executed store
2023-10-13	12:50:52	1700	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:50:52	1700	[DEBUG]	Manufacturer exists
2023-10-13	12:50:52	1700	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:50:52	1700	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:50:52	1700	[DEBUG]	Executed store
2023-10-13	12:50:52	1700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861192','44')
2023-10-13	12:50:52	1700	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:50:52	1700	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:50:52	1700	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861192 AND `virtuemart_custom_id` = 3
2023-10-13	12:50:52	1700	[DEBUG]	Store custom available field
2023-10-13	12:50:52	1700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861192,3,'',1)
2023-10-13	12:50:52	1700	[DEBUG]	Processing custom available field: taille
2023-10-13	12:50:52	1700	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:50:52	1700	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861192 AND `virtuemart_custom_id` = 6
2023-10-13	12:50:52	1700	[DEBUG]	Store custom available field
2023-10-13	12:50:52	1700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861192,6,'44',3)
2023-10-13	12:50:52	1700	[DEBUG]	Process multi-variant fields
2023-10-13	12:50:52	1700	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:50:52	1700	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861191
2023-10-13	12:50:52	1700	[DEBUG]	Store the updated customfield_params
2023-10-13	12:50:52	1700	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\"}]|clabels=0|options={\"1861191\":[1861191,8,1,\"choisir la taille\"],\"1861192\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861191
2023-10-13	12:50:52	1700	[DEBUG]	Update has fields after all processing
2023-10-13	12:50:52	1700	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861192
2023-10-13	12:51:12	1700	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:51:12	1700	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:51:12	1700	[DEBUG]	Load the fields to process
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: product_sku
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: taille
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: product_name
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: category_path
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: product_price
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: product_override_price
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: product_tax
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: file_url
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: product_desc
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: product_availability
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: product_weight
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: product_unit
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: related_products
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: product_special
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: published
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: metadesc
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: metakey
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: custom_title
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: custom_value
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: custom_param
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: override
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: public_price
2023-10-13	12:51:12	1700	[DEBUG]	Setup field: slug
2023-10-13	12:51:12	1700	[DEBUG]	Use the file for configuration
2023-10-13	12:51:12	1700	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:51:12	1700	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:51:12	1700	[DEBUG]	Load the custom fields
2023-10-13	12:51:12	1700	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:51:12	1700	[DEBUG]	Load stockable custom fields
2023-10-13	12:51:12	1700	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:51:12	1700	[DEBUG]	Load custom fields for all
2023-10-13	12:51:12	1700	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:12	1701	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field taille
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:12	1701	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:12	1701	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:12	1701	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:12	1701	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:12	1701	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:12	1701	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field published
2023-10-13	12:51:12	1701	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:12	1701	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field override
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:12	1701	[DEBUG]	Use field value for field slug
2023-10-13	12:51:12	1701	[DEBUG]	Process line 1701
2023-10-13	12:51:12	1701	[DEBUG]	Check if the vendor exists
2023-10-13	12:51:12	1701	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9583_12'
2023-10-13	12:51:12	1701	[DEBUG]	Load a row
2023-10-13	12:51:12	1701	[DEBUG]	Processing item: A_9583_12
2023-10-13	12:51:12	1701	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:12	1701	[DEBUG]	Processing product tax
2023-10-13	12:51:12	1701	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:12	1701	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:12	1701	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:12	1701	[DEBUG]	Query for Product
2023-10-13	12:51:12	1701	[DEBUG]	Executed store
2023-10-13	12:51:12	1701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9583_12','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:12	1701	[DEBUG]	Check product language entry
2023-10-13	12:51:12	1701	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861193
2023-10-13	12:51:12	1701	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:12	1701	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9583_12' AND `virtuemart_product_id` != 1861193
2023-10-13	12:51:12	1701	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:12	1701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861193, 'A_9583_12')
2023-10-13	12:51:12	1701	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:12	1701	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-route-extreme-pro-3-blanc' AND `virtuemart_product_id` != 1861193
2023-10-13	12:51:12	1701	[DEBUG]	Query for ProductLang
2023-10-13	12:51:12	1701	[DEBUG]	Executed store
2023-10-13	12:51:12	1701	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 80231001.51',`product_name`='NORTHWAVE Chaussures Route Extreme Pro 3 / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-route-extreme-pro-3-blanc' WHERE `virtuemart_product_id` = '1861193'
2023-10-13	12:51:12	1701	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38951_chaussures_route_extreme_pro_3.jpg
2023-10-13	12:51:12	1701	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:51:12	1701	[DEBUG]	Process image file
2023-10-13	12:51:12	1701	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:51:12	1701	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:12	1701	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38951_chaussures_route_extreme_pro_3.jpg
2023-10-13	12:51:12	1701	[DEBUG]	Full name target: bcprisme/38951_chaussures_route_extreme_pro_3.jpg
2023-10-13	12:51:13	1701	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:13	1701	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38951_chaussures_route_extreme_pro_3.jpg'
2023-10-13	12:51:13	1701	[DEBUG]	Query for Media
2023-10-13	12:51:13	1701	[DEBUG]	Executed store
2023-10-13	12:51:13	1701	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38951_chaussures_route_extreme_pro_3.jpg',`file_url_thumb`='bcprisme/38951_chaussures_route_extreme_pro_3.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1477463'
2023-10-13	12:51:13	1701	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:13	1701	[DEBUG]	Executed store
2023-10-13	12:51:13	1701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861193','1477463','1')
2023-10-13	12:51:13	1701	[DEBUG]	Store product image relation
2023-10-13	12:51:13	1701	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:13	1701	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861193 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:13	1701	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:13	1701	[DEBUG]	Executed store
2023-10-13	12:51:13	1701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861193','0','389.972144846797','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:13	1701	[DEBUG]	Checking manufacturer
2023-10-13	12:51:13	1701	[DEBUG]	Load a row
2023-10-13	12:51:13	1701	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:13	1701	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:51:13	1701	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:13	1701	[DEBUG]	Executed store
2023-10-13	12:51:13	1701	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:51:13	1701	[DEBUG]	Manufacturer exists
2023-10-13	12:51:13	1701	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:51:13	1701	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:13	1701	[DEBUG]	Executed store
2023-10-13	12:51:13	1701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861193','239')
2023-10-13	12:51:13	1701	[DEBUG]	Find the custom field ID
2023-10-13	12:51:13	1701	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:13	1701	[DEBUG]	No custom field ID found
2023-10-13	12:51:13	1701	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:13	1701	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:51:13	1701	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861193 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:13	1701	[DEBUG]	Store custom available field
2023-10-13	12:51:13	1701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861193,3,'179.400277777778',1)
2023-10-13	12:51:13	1701	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:13	1701	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:13	1701	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861193 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:13	1701	[DEBUG]	Store custom available field
2023-10-13	12:51:13	1701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861193,6,'choisir la taille',3)
2023-10-13	12:51:13	1701	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:13	1701	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:13	1701	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:13	1701	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:13	1701	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861193 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:13	1701	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:13	1701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861193,8,1)
2023-10-13	12:51:13	1701	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:13	1701	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861193\":[1861193,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861193
2023-10-13	12:51:13	1701	[DEBUG]	Checking category
2023-10-13	12:51:13	1701	[DEBUG]	Check if category path exists: CHAUSSURES - SCHUHE
2023-10-13	12:51:13	1701	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAUSSURES - SCHUHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:51:13	1701	[DEBUG]	Check if category path exists: CHAUSSURES  - SHUHE
2023-10-13	12:51:13	1701	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CHAUSSURES  - SHUHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7305
2023-10-13	12:51:13	1701	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:13	1701	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861193
2023-10-13	12:51:13	1701	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:13	1701	[DEBUG]	Executed store
2023-10-13	12:51:13	1701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861193','7331')
2023-10-13	12:51:13	1701	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:13	1701	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861193 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:51:13	1701	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:13	1701	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861193
2023-10-13	12:51:13	1702	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:13	1702	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:13	1702	[DEBUG]	Use field value for field taille
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:13	1702	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:13	1702	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:13	1702	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:13	1702	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:13	1702	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:13	1702	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:13	1702	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:13	1702	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:13	1702	[DEBUG]	Use field value for field published
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:13	1702	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field override
2023-10-13	12:51:13	1702	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:13	1702	[DEBUG]	Use field value for field slug
2023-10-13	12:51:13	1702	[DEBUG]	Process line 1702
2023-10-13	12:51:13	1702	[DEBUG]	Load a row
2023-10-13	12:51:13	1702	[DEBUG]	Processing item: 1000004857708
2023-10-13	12:51:13	1702	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:13	1702	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:13	1702	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9583_12'
2023-10-13	12:51:13	1702	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:13	1702	[DEBUG]	Processing product tax
2023-10-13	12:51:13	1702	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:13	1702	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:13	1702	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:13	1702	[DEBUG]	Query for Product
2023-10-13	12:51:13	1702	[DEBUG]	Executed store
2023-10-13	12:51:13	1702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861193','1000004857708','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:13	1702	[DEBUG]	No parent found
2023-10-13	12:51:13	1702	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861193 AND customfield_value = 'stockable'
2023-10-13	12:51:13	1702	[DEBUG]	Check product language entry
2023-10-13	12:51:13	1702	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861194
2023-10-13	12:51:13	1702	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:13	1702	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000004857708' AND `virtuemart_product_id` != 1861194
2023-10-13	12:51:13	1702	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:13	1702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861194, '1000004857708')
2023-10-13	12:51:13	1702	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:13	1702	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'northwave-chaussures-route-extreme-pro-3-blanc-44' AND `virtuemart_product_id` != 1861194
2023-10-13	12:51:13	1702	[DEBUG]	Query for ProductLang
2023-10-13	12:51:13	1702	[DEBUG]	Executed store
2023-10-13	12:51:13	1702	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='NORTHWAVE Chaussures Route Extreme Pro 3 / Blanc (44)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='northwave-chaussures-route-extreme-pro-3-blanc-44' WHERE `virtuemart_product_id` = '1861194'
2023-10-13	12:51:13	1702	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38951_chaussures_route_extreme_pro_3.jpg
2023-10-13	12:51:13	1702	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:51:13	1702	[DEBUG]	Process image file
2023-10-13	12:51:13	1702	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:51:13	1702	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:13	1702	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38951_chaussures_route_extreme_pro_3.jpg
2023-10-13	12:51:13	1702	[DEBUG]	Full name target: bcprisme/38951_chaussures_route_extreme_pro_3.jpg
2023-10-13	12:51:14	1702	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:14	1702	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38951_chaussures_route_extreme_pro_3.jpg'
2023-10-13	12:51:14	1702	[DEBUG]	Query for Media
2023-10-13	12:51:14	1702	[DEBUG]	Executed store
2023-10-13	12:51:14	1702	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38951_chaussures_route_extreme_pro_3.jpg',`file_url_thumb`='bcprisme/38951_chaussures_route_extreme_pro_3.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1477463'
2023-10-13	12:51:14	1702	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:14	1702	[DEBUG]	Executed store
2023-10-13	12:51:14	1702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861194','1477463','1')
2023-10-13	12:51:14	1702	[DEBUG]	Store product image relation
2023-10-13	12:51:14	1702	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:14	1702	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861194 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:14	1702	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:14	1702	[DEBUG]	Executed store
2023-10-13	12:51:14	1702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861194','0','389.972144846797','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:14	1702	[DEBUG]	Checking manufacturer
2023-10-13	12:51:14	1702	[DEBUG]	Load a row
2023-10-13	12:51:14	1702	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:14	1702	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:51:14	1702	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:14	1702	[DEBUG]	Executed store
2023-10-13	12:51:14	1702	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='N',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='n' WHERE `virtuemart_manufacturer_id` = '239'
2023-10-13	12:51:14	1702	[DEBUG]	Manufacturer exists
2023-10-13	12:51:14	1702	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 239
2023-10-13	12:51:14	1702	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:14	1702	[DEBUG]	Executed store
2023-10-13	12:51:14	1702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861194','239')
2023-10-13	12:51:14	1702	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:14	1702	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:14	1702	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861194 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:14	1702	[DEBUG]	Store custom available field
2023-10-13	12:51:14	1702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861194,3,'',1)
2023-10-13	12:51:14	1702	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:14	1702	[DEBUG]	Get existing row with customfield value 44
2023-10-13	12:51:14	1702	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861194 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:14	1702	[DEBUG]	Store custom available field
2023-10-13	12:51:14	1702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861194,6,'44',3)
2023-10-13	12:51:14	1702	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:14	1702	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:14	1702	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861193
2023-10-13	12:51:14	1702	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:14	1702	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n44\"}]|clabels=0|options={\"1861193\":[1861193,8,1,\"choisir la taille\"],\"1861194\":[\"44\"]}|' WHERE `virtuemart_product_id` = 1861193
2023-10-13	12:51:14	1702	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:14	1702	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861194
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:14	1703	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field taille
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:14	1703	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:14	1703	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:14	1703	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:14	1703	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:14	1703	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:14	1703	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field published
2023-10-13	12:51:14	1703	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:14	1703	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field override
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:14	1703	[DEBUG]	Use field value for field slug
2023-10-13	12:51:14	1703	[DEBUG]	Process line 1703
2023-10-13	12:51:14	1703	[DEBUG]	Load a row
2023-10-13	12:51:14	1703	[DEBUG]	Processing item: A_9592_1
2023-10-13	12:51:14	1703	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:14	1703	[DEBUG]	Processing product tax
2023-10-13	12:51:14	1703	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:14	1703	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:14	1703	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:14	1703	[DEBUG]	Query for Product
2023-10-13	12:51:14	1703	[DEBUG]	Executed store
2023-10-13	12:51:14	1703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9592_1','0.7','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:14	1703	[DEBUG]	Check product language entry
2023-10-13	12:51:14	1703	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861195
2023-10-13	12:51:14	1703	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:14	1703	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9592_1' AND `virtuemart_product_id` != 1861195
2023-10-13	12:51:14	1703	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:14	1703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861195, 'A_9592_1')
2023-10-13	12:51:14	1703	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:14	1703	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-boa-noir' AND `virtuemart_product_id` != 1861195
2023-10-13	12:51:14	1703	[DEBUG]	Query for ProductLang
2023-10-13	12:51:14	1703	[DEBUG]	Executed store
2023-10-13	12:51:14	1703	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 29353',`product_name`='Fox Chaussures VTT UNION BOA / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-boa-noir' WHERE `virtuemart_product_id` = '1861195'
2023-10-13	12:51:14	1703	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:14	1703	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:14	1703	[DEBUG]	Process image file
2023-10-13	12:51:14	1703	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:14	1703	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:14	1703	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:14	1703	[DEBUG]	Full name target: bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:15	1703	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:15	1703	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38969_chaussures_vtt_union_boa.jpg'
2023-10-13	12:51:15	1703	[DEBUG]	Query for Media
2023-10-13	12:51:15	1703	[DEBUG]	Executed store
2023-10-13	12:51:15	1703	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38969_chaussures_vtt_union_boa.jpg',`file_url_thumb`='bcprisme/38969_chaussures_vtt_union_boa.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1500023'
2023-10-13	12:51:15	1703	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:15	1703	[DEBUG]	Executed store
2023-10-13	12:51:15	1703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861195','1500023','1')
2023-10-13	12:51:15	1703	[DEBUG]	Store product image relation
2023-10-13	12:51:15	1703	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:15	1703	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861195 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:15	1703	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:15	1703	[DEBUG]	Executed store
2023-10-13	12:51:15	1703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861195','0','269.173630454967','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:15	1703	[DEBUG]	Checking manufacturer
2023-10-13	12:51:15	1703	[DEBUG]	Load a row
2023-10-13	12:51:15	1703	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:15	1703	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:51:15	1703	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:15	1703	[DEBUG]	Executed store
2023-10-13	12:51:15	1703	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:51:15	1703	[DEBUG]	Manufacturer exists
2023-10-13	12:51:15	1703	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:51:15	1703	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:15	1703	[DEBUG]	Executed store
2023-10-13	12:51:15	1703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861195','44')
2023-10-13	12:51:15	1703	[DEBUG]	Find the custom field ID
2023-10-13	12:51:15	1703	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:15	1703	[DEBUG]	No custom field ID found
2023-10-13	12:51:15	1703	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:15	1703	[DEBUG]	Get existing row with customfield value 179.400277777778
2023-10-13	12:51:15	1703	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861195 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:15	1703	[DEBUG]	Store custom available field
2023-10-13	12:51:15	1703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861195,3,'179.400277777778',1)
2023-10-13	12:51:15	1703	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:15	1703	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:15	1703	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861195 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:15	1703	[DEBUG]	Store custom available field
2023-10-13	12:51:15	1703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861195,6,'choisir la taille',3)
2023-10-13	12:51:15	1703	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:15	1703	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:15	1703	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:15	1703	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:15	1703	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861195 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:15	1703	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:15	1703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861195,8,1)
2023-10-13	12:51:15	1703	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:15	1703	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861195\":[1861195,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861195
2023-10-13	12:51:15	1703	[DEBUG]	Checking category
2023-10-13	12:51:15	1703	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:15	1703	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861195
2023-10-13	12:51:15	1703	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:15	1703	[DEBUG]	Executed store
2023-10-13	12:51:15	1703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861195','7331')
2023-10-13	12:51:15	1703	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:15	1703	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861195 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:51:15	1703	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:15	1703	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861195
2023-10-13	12:51:15	1704	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:15	1704	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:15	1704	[DEBUG]	Use field value for field taille
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:15	1704	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:15	1704	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:15	1704	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:15	1704	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:15	1704	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:15	1704	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:15	1704	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:15	1704	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:15	1704	[DEBUG]	Use field value for field published
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:15	1704	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field override
2023-10-13	12:51:15	1704	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:15	1704	[DEBUG]	Use field value for field slug
2023-10-13	12:51:15	1704	[DEBUG]	Process line 1704
2023-10-13	12:51:15	1704	[DEBUG]	Load a row
2023-10-13	12:51:15	1704	[DEBUG]	Processing item: 1000005785802
2023-10-13	12:51:15	1704	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:15	1704	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:15	1704	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9592_1'
2023-10-13	12:51:15	1704	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:15	1704	[DEBUG]	Processing product tax
2023-10-13	12:51:15	1704	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:15	1704	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:15	1704	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:15	1704	[DEBUG]	Query for Product
2023-10-13	12:51:15	1704	[DEBUG]	Executed store
2023-10-13	12:51:15	1704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861195','1000005785802','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:15	1704	[DEBUG]	No parent found
2023-10-13	12:51:15	1704	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861195 AND customfield_value = 'stockable'
2023-10-13	12:51:15	1704	[DEBUG]	Check product language entry
2023-10-13	12:51:15	1704	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861196
2023-10-13	12:51:15	1704	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:15	1704	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000005785802' AND `virtuemart_product_id` != 1861196
2023-10-13	12:51:15	1704	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:15	1704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861196, '1000005785802')
2023-10-13	12:51:15	1704	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:15	1704	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-boa-noir-45' AND `virtuemart_product_id` != 1861196
2023-10-13	12:51:15	1704	[DEBUG]	Query for ProductLang
2023-10-13	12:51:15	1704	[DEBUG]	Executed store
2023-10-13	12:51:15	1704	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION BOA / Noir (45)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-boa-noir-45' WHERE `virtuemart_product_id` = '1861196'
2023-10-13	12:51:15	1704	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:15	1704	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:15	1704	[DEBUG]	Process image file
2023-10-13	12:51:15	1704	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:15	1704	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:15	1704	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:15	1704	[DEBUG]	Full name target: bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:16	1704	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:16	1704	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38969_chaussures_vtt_union_boa.jpg'
2023-10-13	12:51:16	1704	[DEBUG]	Query for Media
2023-10-13	12:51:16	1704	[DEBUG]	Executed store
2023-10-13	12:51:16	1704	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38969_chaussures_vtt_union_boa.jpg',`file_url_thumb`='bcprisme/38969_chaussures_vtt_union_boa.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1500023'
2023-10-13	12:51:16	1704	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:16	1704	[DEBUG]	Executed store
2023-10-13	12:51:16	1704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861196','1500023','1')
2023-10-13	12:51:16	1704	[DEBUG]	Store product image relation
2023-10-13	12:51:16	1704	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:16	1704	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861196 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:16	1704	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:16	1704	[DEBUG]	Executed store
2023-10-13	12:51:16	1704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861196','0','269.173630454967','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:16	1704	[DEBUG]	Checking manufacturer
2023-10-13	12:51:16	1704	[DEBUG]	Load a row
2023-10-13	12:51:16	1704	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:16	1704	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:51:16	1704	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:16	1704	[DEBUG]	Executed store
2023-10-13	12:51:16	1704	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:51:16	1704	[DEBUG]	Manufacturer exists
2023-10-13	12:51:16	1704	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:51:16	1704	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:16	1704	[DEBUG]	Executed store
2023-10-13	12:51:16	1704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861196','44')
2023-10-13	12:51:16	1704	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:16	1704	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:16	1704	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861196 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:16	1704	[DEBUG]	Store custom available field
2023-10-13	12:51:16	1704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861196,3,'',1)
2023-10-13	12:51:16	1704	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:16	1704	[DEBUG]	Get existing row with customfield value 45
2023-10-13	12:51:16	1704	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861196 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:16	1704	[DEBUG]	Store custom available field
2023-10-13	12:51:16	1704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861196,6,'45',3)
2023-10-13	12:51:16	1704	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:16	1704	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:16	1704	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861195
2023-10-13	12:51:16	1704	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:16	1704	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\"}]|clabels=0|options={\"1861195\":[1861195,8,1,\"choisir la taille\"],\"1861196\":[\"45\"]}|' WHERE `virtuemart_product_id` = 1861195
2023-10-13	12:51:16	1704	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:16	1704	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861196
2023-10-13	12:51:16	1705	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:16	1705	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:16	1705	[DEBUG]	Use field value for field taille
2023-10-13	12:51:16	1705	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:16	1705	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:16	1705	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:16	1705	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:16	1705	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:16	1705	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:16	1705	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:16	1705	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:16	1705	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:17	1705	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:17	1705	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:17	1705	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:17	1705	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:17	1705	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:17	1705	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:17	1705	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:17	1705	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:17	1705	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:17	1705	[DEBUG]	Use field value for field published
2023-10-13	12:51:17	1705	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:17	1705	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:17	1705	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:17	1705	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:17	1705	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:17	1705	[DEBUG]	Use default value for field override
2023-10-13	12:51:17	1705	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:17	1705	[DEBUG]	Use field value for field slug
2023-10-13	12:51:17	1705	[DEBUG]	Process line 1705
2023-10-13	12:51:17	1705	[DEBUG]	Load a row
2023-10-13	12:51:17	1705	[DEBUG]	Processing item: 1000005785819
2023-10-13	12:51:17	1705	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:17	1705	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:17	1705	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9592_1'
2023-10-13	12:51:17	1705	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:17	1705	[DEBUG]	Processing product tax
2023-10-13	12:51:17	1705	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:17	1705	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:17	1705	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:17	1705	[DEBUG]	Query for Product
2023-10-13	12:51:17	1705	[DEBUG]	Executed store
2023-10-13	12:51:17	1705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861195','1000005785819','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:17	1705	[DEBUG]	No parent found
2023-10-13	12:51:17	1705	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861195 AND customfield_value = 'stockable'
2023-10-13	12:51:17	1705	[DEBUG]	Check product language entry
2023-10-13	12:51:17	1705	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861197
2023-10-13	12:51:17	1705	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:17	1705	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000005785819' AND `virtuemart_product_id` != 1861197
2023-10-13	12:51:17	1705	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:17	1705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861197, '1000005785819')
2023-10-13	12:51:17	1705	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:17	1705	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-boa-noir-45-5' AND `virtuemart_product_id` != 1861197
2023-10-13	12:51:17	1705	[DEBUG]	Query for ProductLang
2023-10-13	12:51:17	1705	[DEBUG]	Executed store
2023-10-13	12:51:17	1705	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION BOA / Noir (45.5)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-boa-noir-45-5' WHERE `virtuemart_product_id` = '1861197'
2023-10-13	12:51:17	1705	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:17	1705	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:17	1705	[DEBUG]	Process image file
2023-10-13	12:51:17	1705	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:17	1705	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:17	1705	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:17	1705	[DEBUG]	Full name target: bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:18	1705	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:18	1705	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38969_chaussures_vtt_union_boa.jpg'
2023-10-13	12:51:18	1705	[DEBUG]	Query for Media
2023-10-13	12:51:18	1705	[DEBUG]	Executed store
2023-10-13	12:51:18	1705	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38969_chaussures_vtt_union_boa.jpg',`file_url_thumb`='bcprisme/38969_chaussures_vtt_union_boa.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1500023'
2023-10-13	12:51:18	1705	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:18	1705	[DEBUG]	Executed store
2023-10-13	12:51:18	1705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861197','1500023','1')
2023-10-13	12:51:18	1705	[DEBUG]	Store product image relation
2023-10-13	12:51:18	1705	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:18	1705	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861197 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:18	1705	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:18	1705	[DEBUG]	Executed store
2023-10-13	12:51:18	1705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861197','0','269.173630454967','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:18	1705	[DEBUG]	Checking manufacturer
2023-10-13	12:51:18	1705	[DEBUG]	Load a row
2023-10-13	12:51:18	1705	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:18	1705	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:51:18	1705	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:18	1705	[DEBUG]	Executed store
2023-10-13	12:51:18	1705	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:51:18	1705	[DEBUG]	Manufacturer exists
2023-10-13	12:51:18	1705	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:51:18	1705	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:18	1705	[DEBUG]	Executed store
2023-10-13	12:51:18	1705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861197','44')
2023-10-13	12:51:18	1705	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:18	1705	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:18	1705	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861197 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:18	1705	[DEBUG]	Store custom available field
2023-10-13	12:51:18	1705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861197,3,'',1)
2023-10-13	12:51:18	1705	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:18	1705	[DEBUG]	Get existing row with customfield value 45.5
2023-10-13	12:51:18	1705	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861197 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:18	1705	[DEBUG]	Store custom available field
2023-10-13	12:51:18	1705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861197,6,'45.5',3)
2023-10-13	12:51:18	1705	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:18	1705	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:18	1705	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861195
2023-10-13	12:51:18	1705	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:18	1705	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n45.5\"}]|clabels=0|options={\"1861195\":[1861195,8,1,\"choisir la taille\"],\"1861196\":[\"45\"],\"1861197\":[\"45.5\"]}|' WHERE `virtuemart_product_id` = 1861195
2023-10-13	12:51:18	1705	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:18	1705	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861197
2023-10-13	12:51:18	1706	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:18	1706	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:18	1706	[DEBUG]	Use field value for field taille
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:18	1706	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:18	1706	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:18	1706	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:18	1706	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:18	1706	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:18	1706	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:18	1706	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:18	1706	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:18	1706	[DEBUG]	Use field value for field published
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:18	1706	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field override
2023-10-13	12:51:18	1706	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:18	1706	[DEBUG]	Use field value for field slug
2023-10-13	12:51:18	1706	[DEBUG]	Process line 1706
2023-10-13	12:51:18	1706	[DEBUG]	Load a row
2023-10-13	12:51:18	1706	[DEBUG]	Processing item: 1000005785826
2023-10-13	12:51:18	1706	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:18	1706	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:18	1706	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9592_1'
2023-10-13	12:51:18	1706	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:18	1706	[DEBUG]	Processing product tax
2023-10-13	12:51:18	1706	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:18	1706	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:18	1706	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:18	1706	[DEBUG]	Query for Product
2023-10-13	12:51:18	1706	[DEBUG]	Executed store
2023-10-13	12:51:18	1706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861195','1000005785826','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:18	1706	[DEBUG]	No parent found
2023-10-13	12:51:18	1706	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861195 AND customfield_value = 'stockable'
2023-10-13	12:51:18	1706	[DEBUG]	Check product language entry
2023-10-13	12:51:18	1706	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861198
2023-10-13	12:51:18	1706	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:18	1706	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000005785826' AND `virtuemart_product_id` != 1861198
2023-10-13	12:51:18	1706	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:18	1706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861198, '1000005785826')
2023-10-13	12:51:18	1706	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:18	1706	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-boa-noir-42' AND `virtuemart_product_id` != 1861198
2023-10-13	12:51:18	1706	[DEBUG]	Query for ProductLang
2023-10-13	12:51:18	1706	[DEBUG]	Executed store
2023-10-13	12:51:18	1706	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION BOA / Noir (42)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-boa-noir-42' WHERE `virtuemart_product_id` = '1861198'
2023-10-13	12:51:18	1706	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:18	1706	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:18	1706	[DEBUG]	Process image file
2023-10-13	12:51:18	1706	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:18	1706	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:18	1706	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:18	1706	[DEBUG]	Full name target: bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:20	1706	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:20	1706	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38969_chaussures_vtt_union_boa.jpg'
2023-10-13	12:51:20	1706	[DEBUG]	Query for Media
2023-10-13	12:51:20	1706	[DEBUG]	Executed store
2023-10-13	12:51:20	1706	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38969_chaussures_vtt_union_boa.jpg',`file_url_thumb`='bcprisme/38969_chaussures_vtt_union_boa.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1500023'
2023-10-13	12:51:20	1706	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:20	1706	[DEBUG]	Executed store
2023-10-13	12:51:20	1706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861198','1500023','1')
2023-10-13	12:51:20	1706	[DEBUG]	Store product image relation
2023-10-13	12:51:20	1706	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:20	1706	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861198 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:20	1706	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:20	1706	[DEBUG]	Executed store
2023-10-13	12:51:20	1706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861198','0','269.173630454967','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:20	1706	[DEBUG]	Checking manufacturer
2023-10-13	12:51:20	1706	[DEBUG]	Load a row
2023-10-13	12:51:20	1706	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:20	1706	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:51:20	1706	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:20	1706	[DEBUG]	Executed store
2023-10-13	12:51:20	1706	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:51:20	1706	[DEBUG]	Manufacturer exists
2023-10-13	12:51:20	1706	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:51:20	1706	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:20	1706	[DEBUG]	Executed store
2023-10-13	12:51:20	1706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861198','44')
2023-10-13	12:51:20	1706	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:20	1706	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:20	1706	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861198 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:20	1706	[DEBUG]	Store custom available field
2023-10-13	12:51:20	1706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861198,3,'',1)
2023-10-13	12:51:20	1706	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:20	1706	[DEBUG]	Get existing row with customfield value 42
2023-10-13	12:51:20	1706	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861198 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:20	1706	[DEBUG]	Store custom available field
2023-10-13	12:51:20	1706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861198,6,'42',3)
2023-10-13	12:51:20	1706	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:20	1706	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:20	1706	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861195
2023-10-13	12:51:20	1706	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:20	1706	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n45.5\\r\\n42\"}]|clabels=0|options={\"1861195\":[1861195,8,1,\"choisir la taille\"],\"1861196\":[\"45\"],\"1861197\":[\"45.5\"],\"1861198\":[\"42\"]}|' WHERE `virtuemart_product_id` = 1861195
2023-10-13	12:51:20	1706	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:20	1706	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861198
2023-10-13	12:51:20	1707	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:20	1707	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:20	1707	[DEBUG]	Use field value for field taille
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:20	1707	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:20	1707	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:20	1707	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:20	1707	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:20	1707	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:20	1707	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:20	1707	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:20	1707	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:20	1707	[DEBUG]	Use field value for field published
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:20	1707	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field override
2023-10-13	12:51:20	1707	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:20	1707	[DEBUG]	Use field value for field slug
2023-10-13	12:51:20	1707	[DEBUG]	Process line 1707
2023-10-13	12:51:20	1707	[DEBUG]	Load a row
2023-10-13	12:51:20	1707	[DEBUG]	Processing item: 1000005785833
2023-10-13	12:51:20	1707	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:20	1707	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:20	1707	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9592_1'
2023-10-13	12:51:20	1707	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:20	1707	[DEBUG]	Processing product tax
2023-10-13	12:51:20	1707	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:20	1707	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:20	1707	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:20	1707	[DEBUG]	Query for Product
2023-10-13	12:51:20	1707	[DEBUG]	Executed store
2023-10-13	12:51:20	1707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861195','1000005785833','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:20	1707	[DEBUG]	No parent found
2023-10-13	12:51:20	1707	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861195 AND customfield_value = 'stockable'
2023-10-13	12:51:20	1707	[DEBUG]	Check product language entry
2023-10-13	12:51:20	1707	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861199
2023-10-13	12:51:20	1707	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:20	1707	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000005785833' AND `virtuemart_product_id` != 1861199
2023-10-13	12:51:20	1707	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:20	1707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861199, '1000005785833')
2023-10-13	12:51:20	1707	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:20	1707	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-boa-noir-43' AND `virtuemart_product_id` != 1861199
2023-10-13	12:51:20	1707	[DEBUG]	Query for ProductLang
2023-10-13	12:51:21	1707	[DEBUG]	Executed store
2023-10-13	12:51:21	1707	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION BOA / Noir (43)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-boa-noir-43' WHERE `virtuemart_product_id` = '1861199'
2023-10-13	12:51:21	1707	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:21	1707	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:21	1707	[DEBUG]	Process image file
2023-10-13	12:51:21	1707	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:21	1707	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:21	1707	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:21	1707	[DEBUG]	Full name target: bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:23	1707	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:23	1707	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38969_chaussures_vtt_union_boa.jpg'
2023-10-13	12:51:23	1707	[DEBUG]	Query for Media
2023-10-13	12:51:23	1707	[DEBUG]	Executed store
2023-10-13	12:51:23	1707	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38969_chaussures_vtt_union_boa.jpg',`file_url_thumb`='bcprisme/38969_chaussures_vtt_union_boa.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1500023'
2023-10-13	12:51:23	1707	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:23	1707	[DEBUG]	Executed store
2023-10-13	12:51:23	1707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861199','1500023','1')
2023-10-13	12:51:23	1707	[DEBUG]	Store product image relation
2023-10-13	12:51:23	1707	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:23	1707	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861199 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:23	1707	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:23	1707	[DEBUG]	Executed store
2023-10-13	12:51:23	1707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861199','0','269.173630454967','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:23	1707	[DEBUG]	Checking manufacturer
2023-10-13	12:51:23	1707	[DEBUG]	Load a row
2023-10-13	12:51:23	1707	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:23	1707	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:51:23	1707	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:23	1707	[DEBUG]	Executed store
2023-10-13	12:51:23	1707	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:51:23	1707	[DEBUG]	Manufacturer exists
2023-10-13	12:51:23	1707	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:51:23	1707	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:23	1707	[DEBUG]	Executed store
2023-10-13	12:51:23	1707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861199','44')
2023-10-13	12:51:23	1707	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:23	1707	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:23	1707	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861199 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:23	1707	[DEBUG]	Store custom available field
2023-10-13	12:51:23	1707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861199,3,'',1)
2023-10-13	12:51:23	1707	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:23	1707	[DEBUG]	Get existing row with customfield value 43
2023-10-13	12:51:23	1707	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861199 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:23	1707	[DEBUG]	Store custom available field
2023-10-13	12:51:23	1707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861199,6,'43',3)
2023-10-13	12:51:23	1707	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:23	1707	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:23	1707	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861195
2023-10-13	12:51:23	1707	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:23	1707	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n45.5\\r\\n42\\r\\n43\"}]|clabels=0|options={\"1861195\":[1861195,8,1,\"choisir la taille\"],\"1861196\":[\"45\"],\"1861197\":[\"45.5\"],\"1861198\":[\"42\"],\"1861199\":[\"43\"]}|' WHERE `virtuemart_product_id` = 1861195
2023-10-13	12:51:23	1707	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:23	1707	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861199
2023-10-13	12:51:23	1708	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:23	1708	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:23	1708	[DEBUG]	Use field value for field taille
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:23	1708	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:23	1708	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:23	1708	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:23	1708	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:23	1708	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:23	1708	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:23	1708	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:23	1708	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:23	1708	[DEBUG]	Use field value for field published
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:23	1708	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field override
2023-10-13	12:51:23	1708	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:23	1708	[DEBUG]	Use field value for field slug
2023-10-13	12:51:23	1708	[DEBUG]	Process line 1708
2023-10-13	12:51:23	1708	[DEBUG]	Load a row
2023-10-13	12:51:23	1708	[DEBUG]	Processing item: 1000005785840
2023-10-13	12:51:23	1708	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:23	1708	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:23	1708	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9592_1'
2023-10-13	12:51:23	1708	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:23	1708	[DEBUG]	Processing product tax
2023-10-13	12:51:23	1708	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:23	1708	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:23	1708	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:23	1708	[DEBUG]	Query for Product
2023-10-13	12:51:23	1708	[DEBUG]	Executed store
2023-10-13	12:51:23	1708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861195','1000005785840','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:23	1708	[DEBUG]	No parent found
2023-10-13	12:51:23	1708	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861195 AND customfield_value = 'stockable'
2023-10-13	12:51:23	1708	[DEBUG]	Check product language entry
2023-10-13	12:51:23	1708	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861200
2023-10-13	12:51:23	1708	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:23	1708	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000005785840' AND `virtuemart_product_id` != 1861200
2023-10-13	12:51:23	1708	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:23	1708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861200, '1000005785840')
2023-10-13	12:51:23	1708	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:23	1708	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-chaussures-vtt-union-boa-noir-42-5' AND `virtuemart_product_id` != 1861200
2023-10-13	12:51:23	1708	[DEBUG]	Query for ProductLang
2023-10-13	12:51:23	1708	[DEBUG]	Executed store
2023-10-13	12:51:23	1708	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Chaussures VTT UNION BOA / Noir (42.5)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-chaussures-vtt-union-boa-noir-42-5' WHERE `virtuemart_product_id` = '1861200'
2023-10-13	12:51:23	1708	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:23	1708	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:23	1708	[DEBUG]	Process image file
2023-10-13	12:51:23	1708	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:23	1708	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:23	1708	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:23	1708	[DEBUG]	Full name target: bcprisme/38969_chaussures_vtt_union_boa.jpg
2023-10-13	12:51:24	1708	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:24	1708	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38969_chaussures_vtt_union_boa.jpg'
2023-10-13	12:51:24	1708	[DEBUG]	Query for Media
2023-10-13	12:51:24	1708	[DEBUG]	Executed store
2023-10-13	12:51:24	1708	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38969_chaussures_vtt_union_boa.jpg',`file_url_thumb`='bcprisme/38969_chaussures_vtt_union_boa.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1500023'
2023-10-13	12:51:24	1708	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:24	1708	[DEBUG]	Executed store
2023-10-13	12:51:24	1708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861200','1500023','1')
2023-10-13	12:51:24	1708	[DEBUG]	Store product image relation
2023-10-13	12:51:24	1708	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:24	1708	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861200 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:24	1708	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:24	1708	[DEBUG]	Executed store
2023-10-13	12:51:24	1708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861200','0','269.173630454967','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:24	1708	[DEBUG]	Checking manufacturer
2023-10-13	12:51:24	1708	[DEBUG]	Load a row
2023-10-13	12:51:24	1708	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:24	1708	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:51:24	1708	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:24	1708	[DEBUG]	Executed store
2023-10-13	12:51:24	1708	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	12:51:24	1708	[DEBUG]	Manufacturer exists
2023-10-13	12:51:24	1708	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	12:51:24	1708	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:24	1708	[DEBUG]	Executed store
2023-10-13	12:51:24	1708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861200','44')
2023-10-13	12:51:24	1708	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:24	1708	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:24	1708	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861200 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:24	1708	[DEBUG]	Store custom available field
2023-10-13	12:51:24	1708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861200,3,'',1)
2023-10-13	12:51:24	1708	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:24	1708	[DEBUG]	Get existing row with customfield value 42.5
2023-10-13	12:51:24	1708	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861200 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:24	1708	[DEBUG]	Store custom available field
2023-10-13	12:51:24	1708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861200,6,'42.5',3)
2023-10-13	12:51:24	1708	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:24	1708	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:24	1708	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861195
2023-10-13	12:51:24	1708	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:24	1708	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n45\\r\\n45.5\\r\\n42\\r\\n43\\r\\n42.5\"}]|clabels=0|options={\"1861195\":[1861195,8,1,\"choisir la taille\"],\"1861196\":[\"45\"],\"1861197\":[\"45.5\"],\"1861198\":[\"42\"],\"1861199\":[\"43\"],\"1861200\":[\"42.5\"]}|' WHERE `virtuemart_product_id` = 1861195
2023-10-13	12:51:24	1708	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:24	1708	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861200
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:24	1709	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field taille
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:24	1709	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:24	1709	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:24	1709	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:24	1709	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:24	1709	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:24	1709	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field published
2023-10-13	12:51:24	1709	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:24	1709	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field override
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:24	1709	[DEBUG]	Use field value for field slug
2023-10-13	12:51:24	1709	[DEBUG]	Process line 1709
2023-10-13	12:51:24	1709	[DEBUG]	Load a row
2023-10-13	12:51:24	1709	[DEBUG]	Processing item: A_9814_894
2023-10-13	12:51:24	1709	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:24	1709	[DEBUG]	Processing product tax
2023-10-13	12:51:24	1709	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:24	1709	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:24	1709	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:24	1709	[DEBUG]	Query for Product
2023-10-13	12:51:24	1709	[DEBUG]	Executed store
2023-10-13	12:51:24	1709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9814_894','0.8','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:24	1709	[DEBUG]	Check product language entry
2023-10-13	12:51:24	1709	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861201
2023-10-13	12:51:24	1709	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:24	1709	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9814_894' AND `virtuemart_product_id` != 1861201
2023-10-13	12:51:24	1709	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:24	1709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861201, 'A_9814_894')
2023-10-13	12:51:24	1709	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:24	1709	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-chaussures-women-x-alp-summit-spruce' AND `virtuemart_product_id` != 1861201
2023-10-13	12:51:24	1709	[DEBUG]	Query for ProductLang
2023-10-13	12:51:24	1709	[DEBUG]	Executed store
2023-10-13	12:51:24	1709	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Empeigne en cuir synthétique perforé sans coutures pour une respirabilité et un confort améliorés<br>Système BOA® Fit avec bobine L6 pour un maintien sûr et un ajustement confortable<br>Semelle extérieure en caoutchouc Vibram ECOSTEP® antidérapante<br>Rembourrage du talon en EVA pour un excellent confort et une excellente capacité de marche<br>Compatible avec les cales SPD à 2 trous<br>N° art fourn : 58.79695',`product_name`='Pearl Izumi Chaussures Women X-Alp Summit / spruce',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-chaussures-women-x-alp-summit-spruce' WHERE `virtuemart_product_id` = '1861201'
2023-10-13	12:51:24	1709	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39278_women_x-alp_summit_chaussures.jpg
2023-10-13	12:51:24	1709	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:51:24	1709	[DEBUG]	Process image file
2023-10-13	12:51:24	1709	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:51:24	1709	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:24	1709	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39278_women_x-alp_summit_chaussures.jpg
2023-10-13	12:51:24	1709	[DEBUG]	Full name target: bcprisme/39278_women_x-alp_summit_chaussures.jpg
2023-10-13	12:51:25	1709	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:25	1709	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39278_women_x-alp_summit_chaussures.jpg'
2023-10-13	12:51:25	1709	[DEBUG]	Query for Media
2023-10-13	12:51:25	1709	[DEBUG]	Executed store
2023-10-13	12:51:25	1709	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39278_women_x-alp_summit_chaussures.jpg',`file_url_thumb`='bcprisme/39278_women_x-alp_summit_chaussures.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1607373'
2023-10-13	12:51:25	1709	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:25	1709	[DEBUG]	Executed store
2023-10-13	12:51:25	1709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861201','1607373','1')
2023-10-13	12:51:25	1709	[DEBUG]	Store product image relation
2023-10-13	12:51:25	1709	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:25	1709	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861201 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:25	1709	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:25	1709	[DEBUG]	Executed store
2023-10-13	12:51:25	1709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861201','0','176.415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:25	1709	[DEBUG]	Checking manufacturer
2023-10-13	12:51:25	1709	[DEBUG]	Load a row
2023-10-13	12:51:25	1709	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:25	1709	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:51:25	1709	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:25	1709	[DEBUG]	Executed store
2023-10-13	12:51:25	1709	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:51:25	1709	[DEBUG]	Manufacturer exists
2023-10-13	12:51:25	1709	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:51:25	1709	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:25	1709	[DEBUG]	Executed store
2023-10-13	12:51:25	1709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861201','73')
2023-10-13	12:51:25	1709	[DEBUG]	Find the custom field ID
2023-10-13	12:51:25	1709	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:25	1709	[DEBUG]	No custom field ID found
2023-10-13	12:51:25	1709	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:25	1709	[DEBUG]	Get existing row with customfield value 189.3725
2023-10-13	12:51:25	1709	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861201 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:25	1709	[DEBUG]	Store custom available field
2023-10-13	12:51:25	1709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861201,3,'189.3725',1)
2023-10-13	12:51:25	1709	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:25	1709	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:25	1709	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861201 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:25	1709	[DEBUG]	Store custom available field
2023-10-13	12:51:25	1709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861201,6,'choisir la taille',3)
2023-10-13	12:51:25	1709	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:25	1709	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:25	1709	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:25	1709	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:25	1709	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861201 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:25	1709	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:25	1709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861201,8,1)
2023-10-13	12:51:25	1709	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:25	1709	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861201\":[1861201,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861201
2023-10-13	12:51:25	1709	[DEBUG]	Checking category
2023-10-13	12:51:25	1709	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:25	1709	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861201
2023-10-13	12:51:25	1709	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:25	1709	[DEBUG]	Executed store
2023-10-13	12:51:25	1709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861201','7331')
2023-10-13	12:51:25	1709	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:25	1709	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861201 AND `virtuemart_category_id` NOT IN (7331)
2023-10-13	12:51:25	1709	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:25	1709	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861201
2023-10-13	12:51:25	1710	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:25	1710	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:25	1710	[DEBUG]	Use field value for field taille
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:25	1710	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:25	1710	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:25	1710	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:25	1710	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:25	1710	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:25	1710	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:25	1710	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:25	1710	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:25	1710	[DEBUG]	Use field value for field published
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:25	1710	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field override
2023-10-13	12:51:25	1710	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:25	1710	[DEBUG]	Use field value for field slug
2023-10-13	12:51:25	1710	[DEBUG]	Process line 1710
2023-10-13	12:51:25	1710	[DEBUG]	Load a row
2023-10-13	12:51:25	1710	[DEBUG]	Processing item: 1000022734647
2023-10-13	12:51:25	1710	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:25	1710	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:25	1710	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9814_894'
2023-10-13	12:51:25	1710	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:25	1710	[DEBUG]	Processing product tax
2023-10-13	12:51:25	1710	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:25	1710	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:25	1710	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:25	1710	[DEBUG]	Query for Product
2023-10-13	12:51:25	1710	[DEBUG]	Executed store
2023-10-13	12:51:25	1710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861201','1000022734647','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:25	1710	[DEBUG]	No parent found
2023-10-13	12:51:25	1710	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861201 AND customfield_value = 'stockable'
2023-10-13	12:51:25	1710	[DEBUG]	Check product language entry
2023-10-13	12:51:25	1710	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861202
2023-10-13	12:51:25	1710	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:25	1710	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022734647' AND `virtuemart_product_id` != 1861202
2023-10-13	12:51:25	1710	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:25	1710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861202, '1000022734647')
2023-10-13	12:51:25	1710	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:25	1710	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pearl-izumi-chaussures-women-x-alp-summit-spruce-39' AND `virtuemart_product_id` != 1861202
2023-10-13	12:51:25	1710	[DEBUG]	Query for ProductLang
2023-10-13	12:51:25	1710	[DEBUG]	Executed store
2023-10-13	12:51:25	1710	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pearl Izumi Chaussures Women X-Alp Summit / spruce (39)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pearl-izumi-chaussures-women-x-alp-summit-spruce-39' WHERE `virtuemart_product_id` = '1861202'
2023-10-13	12:51:25	1710	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39278_women_x-alp_summit_chaussures.jpg
2023-10-13	12:51:25	1710	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:51:25	1710	[DEBUG]	Process image file
2023-10-13	12:51:25	1710	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:51:25	1710	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:25	1710	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39278_women_x-alp_summit_chaussures.jpg
2023-10-13	12:51:25	1710	[DEBUG]	Full name target: bcprisme/39278_women_x-alp_summit_chaussures.jpg
2023-10-13	12:51:26	1710	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:26	1710	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39278_women_x-alp_summit_chaussures.jpg'
2023-10-13	12:51:26	1710	[DEBUG]	Query for Media
2023-10-13	12:51:26	1710	[DEBUG]	Executed store
2023-10-13	12:51:26	1710	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39278_women_x-alp_summit_chaussures.jpg',`file_url_thumb`='bcprisme/39278_women_x-alp_summit_chaussures.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1607373'
2023-10-13	12:51:26	1710	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:26	1710	[DEBUG]	Executed store
2023-10-13	12:51:26	1710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861202','1607373','1')
2023-10-13	12:51:26	1710	[DEBUG]	Store product image relation
2023-10-13	12:51:26	1710	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:26	1710	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861202 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:26	1710	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:26	1710	[DEBUG]	Executed store
2023-10-13	12:51:26	1710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861202','0','176.415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:26	1710	[DEBUG]	Checking manufacturer
2023-10-13	12:51:26	1710	[DEBUG]	Load a row
2023-10-13	12:51:26	1710	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:26	1710	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:51:26	1710	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:26	1710	[DEBUG]	Executed store
2023-10-13	12:51:26	1710	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-46-001745570817' WHERE `virtuemart_manufacturer_id` = '73'
2023-10-13	12:51:26	1710	[DEBUG]	Manufacturer exists
2023-10-13	12:51:26	1710	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 73
2023-10-13	12:51:26	1710	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:26	1710	[DEBUG]	Executed store
2023-10-13	12:51:26	1710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861202','73')
2023-10-13	12:51:26	1710	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:26	1710	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:26	1710	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861202 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:26	1710	[DEBUG]	Store custom available field
2023-10-13	12:51:26	1710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861202,3,'',1)
2023-10-13	12:51:26	1710	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:26	1710	[DEBUG]	Get existing row with customfield value 39
2023-10-13	12:51:26	1710	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861202 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:26	1710	[DEBUG]	Store custom available field
2023-10-13	12:51:26	1710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861202,6,'39',3)
2023-10-13	12:51:26	1710	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:26	1710	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:26	1710	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861201
2023-10-13	12:51:26	1710	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:26	1710	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n39\"}]|clabels=0|options={\"1861201\":[1861201,8,1,\"choisir la taille\"],\"1861202\":[\"39\"]}|' WHERE `virtuemart_product_id` = 1861201
2023-10-13	12:51:26	1710	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:26	1710	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861202
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:26	1711	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field taille
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:26	1711	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:26	1711	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:26	1711	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:26	1711	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:26	1711	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:26	1711	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:26	1711	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field published
2023-10-13	12:51:26	1711	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:26	1711	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field override
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:26	1711	[DEBUG]	Use field value for field slug
2023-10-13	12:51:26	1711	[DEBUG]	Process line 1711
2023-10-13	12:51:26	1711	[DEBUG]	Load a row
2023-10-13	12:51:26	1711	[DEBUG]	Processing item: A_4940_1
2023-10-13	12:51:26	1711	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:26	1711	[DEBUG]	Processing product tax
2023-10-13	12:51:26	1711	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:26	1711	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:26	1711	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:26	1711	[DEBUG]	Query for Product
2023-10-13	12:51:26	1711	[DEBUG]	Executed store
2023-10-13	12:51:26	1711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4940_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:26	1711	[DEBUG]	Check product language entry
2023-10-13	12:51:26	1711	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861203
2023-10-13	12:51:26	1711	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:26	1711	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4940_1' AND `virtuemart_product_id` != 1861203
2023-10-13	12:51:26	1711	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:26	1711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861203, 'A_4940_1')
2023-10-13	12:51:26	1711	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:26	1711	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'o-synce-compteur-macro-free-noir' AND `virtuemart_product_id` != 1861203
2023-10-13	12:51:26	1711	[DEBUG]	Query for ProductLang
2023-10-13	12:51:26	1711	[DEBUG]	Executed store
2023-10-13	12:51:26	1711	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 47.502',`product_name`='O_SYNCE COMPTEUR MACRO free / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='o-synce-compteur-macro-free-noir' WHERE `virtuemart_product_id` = '1861203'
2023-10-13	12:51:26	1711	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28811_compteur_macro_free.jpg
2023-10-13	12:51:26	1711	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:26	1711	[DEBUG]	Process image file
2023-10-13	12:51:26	1711	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:26	1711	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:26	1711	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28811_compteur_macro_free.jpg
2023-10-13	12:51:26	1711	[DEBUG]	Full name target: bcprisme/28811_compteur_macro_free.jpg
2023-10-13	12:51:27	1711	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:27	1711	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28811_compteur_macro_free.jpg'
2023-10-13	12:51:27	1711	[DEBUG]	Query for Media
2023-10-13	12:51:27	1711	[DEBUG]	Executed store
2023-10-13	12:51:27	1711	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28811_compteur_macro_free.jpg',`file_url_thumb`='bcprisme/28811_compteur_macro_free.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12909'
2023-10-13	12:51:27	1711	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:27	1711	[DEBUG]	Executed store
2023-10-13	12:51:27	1711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861203','12909','1')
2023-10-13	12:51:27	1711	[DEBUG]	Store product image relation
2023-10-13	12:51:27	1711	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:27	1711	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861203 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:27	1711	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:27	1711	[DEBUG]	Executed store
2023-10-13	12:51:27	1711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861203','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:27	1711	[DEBUG]	Checking manufacturer
2023-10-13	12:51:27	1711	[DEBUG]	Load a row
2023-10-13	12:51:27	1711	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:27	1711	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '40'
2023-10-13	12:51:27	1711	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:27	1711	[DEBUG]	Executed store
2023-10-13	12:51:27	1711	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-44843724352' WHERE `virtuemart_manufacturer_id` = '40'
2023-10-13	12:51:27	1711	[DEBUG]	Manufacturer exists
2023-10-13	12:51:27	1711	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 40
2023-10-13	12:51:27	1711	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:27	1711	[DEBUG]	Executed store
2023-10-13	12:51:27	1711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861203','40')
2023-10-13	12:51:27	1711	[DEBUG]	Find the custom field ID
2023-10-13	12:51:27	1711	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:27	1711	[DEBUG]	No custom field ID found
2023-10-13	12:51:27	1711	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:27	1711	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:27	1711	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861203 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:27	1711	[DEBUG]	Store custom available field
2023-10-13	12:51:27	1711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861203,3,'0',1)
2023-10-13	12:51:27	1711	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:27	1711	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:27	1711	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861203 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:27	1711	[DEBUG]	Store custom available field
2023-10-13	12:51:27	1711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861203,6,'choisir la taille',3)
2023-10-13	12:51:27	1711	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:27	1711	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:27	1711	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:27	1711	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:27	1711	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861203 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:27	1711	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:27	1711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861203,8,1)
2023-10-13	12:51:27	1711	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:27	1711	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861203\":[1861203,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861203
2023-10-13	12:51:27	1711	[DEBUG]	Checking category
2023-10-13	12:51:27	1711	[DEBUG]	Check if category path exists: COMPTEUR - GPS
2023-10-13	12:51:27	1711	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'COMPTEUR - GPS' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:51:27	1711	[DEBUG]	Check if category path exists: COMPTEUR / GPS
2023-10-13	12:51:27	1711	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'COMPTEUR / GPS' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7309
2023-10-13	12:51:27	1711	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:27	1711	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861203
2023-10-13	12:51:27	1711	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:27	1711	[DEBUG]	Executed store
2023-10-13	12:51:27	1711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861203','7310')
2023-10-13	12:51:27	1711	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:27	1711	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861203 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:27	1711	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:27	1711	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861203
2023-10-13	12:51:27	1712	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:27	1712	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:27	1712	[DEBUG]	Use field value for field taille
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:27	1712	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:27	1712	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:27	1712	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:27	1712	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:27	1712	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:27	1712	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:27	1712	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:27	1712	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:27	1712	[DEBUG]	Use field value for field published
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:27	1712	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field override
2023-10-13	12:51:27	1712	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:27	1712	[DEBUG]	Use field value for field slug
2023-10-13	12:51:27	1712	[DEBUG]	Process line 1712
2023-10-13	12:51:27	1712	[DEBUG]	Load a row
2023-10-13	12:51:27	1712	[DEBUG]	Processing item: 4260219521062
2023-10-13	12:51:27	1712	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:27	1712	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:27	1712	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4940_1'
2023-10-13	12:51:27	1712	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:27	1712	[DEBUG]	Processing product tax
2023-10-13	12:51:27	1712	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:27	1712	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:27	1712	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:27	1712	[DEBUG]	Query for Product
2023-10-13	12:51:27	1712	[DEBUG]	Executed store
2023-10-13	12:51:27	1712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861203','4260219521062','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:27	1712	[DEBUG]	No parent found
2023-10-13	12:51:27	1712	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861203 AND customfield_value = 'stockable'
2023-10-13	12:51:27	1712	[DEBUG]	Check product language entry
2023-10-13	12:51:27	1712	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861204
2023-10-13	12:51:27	1712	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:27	1712	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260219521062' AND `virtuemart_product_id` != 1861204
2023-10-13	12:51:27	1712	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:27	1712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861204, '4260219521062')
2023-10-13	12:51:27	1712	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:27	1712	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'o-synce-compteur-macro-free-noir-unitaire' AND `virtuemart_product_id` != 1861204
2023-10-13	12:51:27	1712	[DEBUG]	Query for ProductLang
2023-10-13	12:51:27	1712	[DEBUG]	Executed store
2023-10-13	12:51:27	1712	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='O_SYNCE COMPTEUR MACRO free / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='o-synce-compteur-macro-free-noir-unitaire' WHERE `virtuemart_product_id` = '1861204'
2023-10-13	12:51:27	1712	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28811_compteur_macro_free.jpg
2023-10-13	12:51:27	1712	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:27	1712	[DEBUG]	Process image file
2023-10-13	12:51:27	1712	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:27	1712	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:27	1712	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28811_compteur_macro_free.jpg
2023-10-13	12:51:27	1712	[DEBUG]	Full name target: bcprisme/28811_compteur_macro_free.jpg
2023-10-13	12:51:28	1712	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:28	1712	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28811_compteur_macro_free.jpg'
2023-10-13	12:51:28	1712	[DEBUG]	Query for Media
2023-10-13	12:51:28	1712	[DEBUG]	Executed store
2023-10-13	12:51:28	1712	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28811_compteur_macro_free.jpg',`file_url_thumb`='bcprisme/28811_compteur_macro_free.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12909'
2023-10-13	12:51:28	1712	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:28	1712	[DEBUG]	Executed store
2023-10-13	12:51:28	1712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861204','12909','1')
2023-10-13	12:51:28	1712	[DEBUG]	Store product image relation
2023-10-13	12:51:28	1712	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:28	1712	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861204 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:28	1712	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:28	1712	[DEBUG]	Executed store
2023-10-13	12:51:28	1712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861204','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:28	1712	[DEBUG]	Checking manufacturer
2023-10-13	12:51:28	1712	[DEBUG]	Load a row
2023-10-13	12:51:28	1712	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:28	1712	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '40'
2023-10-13	12:51:28	1712	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:28	1712	[DEBUG]	Executed store
2023-10-13	12:51:28	1712	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-44843724352' WHERE `virtuemart_manufacturer_id` = '40'
2023-10-13	12:51:28	1712	[DEBUG]	Manufacturer exists
2023-10-13	12:51:28	1712	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 40
2023-10-13	12:51:28	1712	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:28	1712	[DEBUG]	Executed store
2023-10-13	12:51:28	1712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861204','40')
2023-10-13	12:51:28	1712	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:28	1712	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:28	1712	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861204 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:28	1712	[DEBUG]	Store custom available field
2023-10-13	12:51:28	1712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861204,3,'',1)
2023-10-13	12:51:28	1712	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:28	1712	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:51:28	1712	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861204 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:28	1712	[DEBUG]	Store custom available field
2023-10-13	12:51:28	1712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861204,6,'Unitaire',3)
2023-10-13	12:51:28	1712	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:28	1712	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:28	1712	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861203
2023-10-13	12:51:28	1712	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:28	1712	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861203\":[1861203,8,1,\"choisir la taille\"],\"1861204\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861203
2023-10-13	12:51:28	1712	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:28	1712	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861204
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:28	1713	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field taille
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:28	1713	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:28	1713	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:28	1713	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:28	1713	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:28	1713	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:28	1713	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:28	1713	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field published
2023-10-13	12:51:28	1713	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:28	1713	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field override
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:28	1713	[DEBUG]	Use field value for field slug
2023-10-13	12:51:28	1713	[DEBUG]	Process line 1713
2023-10-13	12:51:28	1713	[DEBUG]	Load a row
2023-10-13	12:51:28	1713	[DEBUG]	Processing item: A_4941_1
2023-10-13	12:51:28	1713	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:28	1713	[DEBUG]	Processing product tax
2023-10-13	12:51:28	1713	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:28	1713	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:28	1713	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:28	1713	[DEBUG]	Query for Product
2023-10-13	12:51:28	1713	[DEBUG]	Executed store
2023-10-13	12:51:28	1713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4941_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:28	1713	[DEBUG]	Check product language entry
2023-10-13	12:51:28	1713	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861205
2023-10-13	12:51:28	1713	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:28	1713	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4941_1' AND `virtuemart_product_id` != 1861205
2023-10-13	12:51:28	1713	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:28	1713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861205, 'A_4941_1')
2023-10-13	12:51:28	1713	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:28	1713	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'o-synce-compteur-macro-x-noir' AND `virtuemart_product_id` != 1861205
2023-10-13	12:51:28	1713	[DEBUG]	Query for ProductLang
2023-10-13	12:51:28	1713	[DEBUG]	Executed store
2023-10-13	12:51:28	1713	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 47.506',`product_name`='O_SYNCE COMPTEUR MACRO X / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='o-synce-compteur-macro-x-noir' WHERE `virtuemart_product_id` = '1861205'
2023-10-13	12:51:28	1713	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28812_compteur_macro_x.jpg
2023-10-13	12:51:28	1713	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:28	1713	[DEBUG]	Process image file
2023-10-13	12:51:28	1713	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:28	1713	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:28	1713	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28812_compteur_macro_x.jpg
2023-10-13	12:51:28	1713	[DEBUG]	Full name target: bcprisme/28812_compteur_macro_x.jpg
2023-10-13	12:51:29	1713	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:29	1713	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28812_compteur_macro_x.jpg'
2023-10-13	12:51:29	1713	[DEBUG]	Query for Media
2023-10-13	12:51:29	1713	[DEBUG]	Executed store
2023-10-13	12:51:29	1713	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28812_compteur_macro_x.jpg',`file_url_thumb`='bcprisme/28812_compteur_macro_x.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12910'
2023-10-13	12:51:29	1713	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:29	1713	[DEBUG]	Executed store
2023-10-13	12:51:29	1713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861205','12910','1')
2023-10-13	12:51:29	1713	[DEBUG]	Store product image relation
2023-10-13	12:51:29	1713	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:29	1713	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861205 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:29	1713	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:29	1713	[DEBUG]	Executed store
2023-10-13	12:51:29	1713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861205','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:29	1713	[DEBUG]	Checking manufacturer
2023-10-13	12:51:29	1713	[DEBUG]	Load a row
2023-10-13	12:51:29	1713	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:29	1713	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '40'
2023-10-13	12:51:29	1713	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:29	1713	[DEBUG]	Executed store
2023-10-13	12:51:29	1713	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-44843724352' WHERE `virtuemart_manufacturer_id` = '40'
2023-10-13	12:51:29	1713	[DEBUG]	Manufacturer exists
2023-10-13	12:51:29	1713	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 40
2023-10-13	12:51:29	1713	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:29	1713	[DEBUG]	Executed store
2023-10-13	12:51:29	1713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861205','40')
2023-10-13	12:51:29	1713	[DEBUG]	Find the custom field ID
2023-10-13	12:51:29	1713	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:29	1713	[DEBUG]	No custom field ID found
2023-10-13	12:51:29	1713	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:29	1713	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:29	1713	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861205 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:29	1713	[DEBUG]	Store custom available field
2023-10-13	12:51:29	1713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861205,3,'0',1)
2023-10-13	12:51:29	1713	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:29	1713	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:29	1713	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861205 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:29	1713	[DEBUG]	Store custom available field
2023-10-13	12:51:29	1713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861205,6,'choisir la taille',3)
2023-10-13	12:51:29	1713	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:29	1713	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:29	1713	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:29	1713	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:29	1713	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861205 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:29	1713	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:29	1713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861205,8,1)
2023-10-13	12:51:29	1713	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:29	1713	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861205\":[1861205,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861205
2023-10-13	12:51:29	1713	[DEBUG]	Checking category
2023-10-13	12:51:29	1713	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:29	1713	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861205
2023-10-13	12:51:29	1713	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:29	1713	[DEBUG]	Executed store
2023-10-13	12:51:29	1713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861205','7310')
2023-10-13	12:51:29	1713	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:29	1713	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861205 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:29	1713	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:29	1713	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861205
2023-10-13	12:51:29	1714	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:29	1714	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:29	1714	[DEBUG]	Use field value for field taille
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:29	1714	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:29	1714	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:29	1714	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:29	1714	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:29	1714	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:29	1714	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:29	1714	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:29	1714	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:29	1714	[DEBUG]	Use field value for field published
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:29	1714	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field override
2023-10-13	12:51:29	1714	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:29	1714	[DEBUG]	Use field value for field slug
2023-10-13	12:51:29	1714	[DEBUG]	Process line 1714
2023-10-13	12:51:29	1714	[DEBUG]	Load a row
2023-10-13	12:51:29	1714	[DEBUG]	Processing item: 4260219520089
2023-10-13	12:51:29	1714	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:29	1714	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:29	1714	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4941_1'
2023-10-13	12:51:29	1714	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:29	1714	[DEBUG]	Processing product tax
2023-10-13	12:51:29	1714	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:29	1714	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:29	1714	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:29	1714	[DEBUG]	Query for Product
2023-10-13	12:51:29	1714	[DEBUG]	Executed store
2023-10-13	12:51:29	1714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861205','4260219520089','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:29	1714	[DEBUG]	No parent found
2023-10-13	12:51:29	1714	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861205 AND customfield_value = 'stockable'
2023-10-13	12:51:29	1714	[DEBUG]	Check product language entry
2023-10-13	12:51:29	1714	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861206
2023-10-13	12:51:29	1714	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:29	1714	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260219520089' AND `virtuemart_product_id` != 1861206
2023-10-13	12:51:29	1714	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:29	1714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861206, '4260219520089')
2023-10-13	12:51:29	1714	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:29	1714	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'o-synce-compteur-macro-x-noir-unitaire' AND `virtuemart_product_id` != 1861206
2023-10-13	12:51:29	1714	[DEBUG]	Query for ProductLang
2023-10-13	12:51:29	1714	[DEBUG]	Executed store
2023-10-13	12:51:29	1714	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='O_SYNCE COMPTEUR MACRO X / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='o-synce-compteur-macro-x-noir-unitaire' WHERE `virtuemart_product_id` = '1861206'
2023-10-13	12:51:29	1714	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28812_compteur_macro_x.jpg
2023-10-13	12:51:29	1714	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:29	1714	[DEBUG]	Process image file
2023-10-13	12:51:29	1714	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:29	1714	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:29	1714	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28812_compteur_macro_x.jpg
2023-10-13	12:51:29	1714	[DEBUG]	Full name target: bcprisme/28812_compteur_macro_x.jpg
2023-10-13	12:51:30	1714	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:30	1714	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28812_compteur_macro_x.jpg'
2023-10-13	12:51:30	1714	[DEBUG]	Query for Media
2023-10-13	12:51:30	1714	[DEBUG]	Executed store
2023-10-13	12:51:30	1714	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28812_compteur_macro_x.jpg',`file_url_thumb`='bcprisme/28812_compteur_macro_x.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12910'
2023-10-13	12:51:30	1714	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:30	1714	[DEBUG]	Executed store
2023-10-13	12:51:30	1714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861206','12910','1')
2023-10-13	12:51:30	1714	[DEBUG]	Store product image relation
2023-10-13	12:51:30	1714	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:30	1714	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861206 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:30	1714	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:30	1714	[DEBUG]	Executed store
2023-10-13	12:51:30	1714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861206','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:30	1714	[DEBUG]	Checking manufacturer
2023-10-13	12:51:30	1714	[DEBUG]	Load a row
2023-10-13	12:51:30	1714	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:30	1714	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '40'
2023-10-13	12:51:30	1714	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:30	1714	[DEBUG]	Executed store
2023-10-13	12:51:30	1714	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-44843724352' WHERE `virtuemart_manufacturer_id` = '40'
2023-10-13	12:51:30	1714	[DEBUG]	Manufacturer exists
2023-10-13	12:51:30	1714	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 40
2023-10-13	12:51:30	1714	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:30	1714	[DEBUG]	Executed store
2023-10-13	12:51:30	1714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861206','40')
2023-10-13	12:51:30	1714	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:30	1714	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:30	1714	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861206 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:30	1714	[DEBUG]	Store custom available field
2023-10-13	12:51:30	1714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861206,3,'',1)
2023-10-13	12:51:30	1714	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:30	1714	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:51:30	1714	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861206 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:30	1714	[DEBUG]	Store custom available field
2023-10-13	12:51:30	1714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861206,6,'Unitaire',3)
2023-10-13	12:51:30	1714	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:30	1714	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:30	1714	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861205
2023-10-13	12:51:30	1714	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:30	1714	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861205\":[1861205,8,1,\"choisir la taille\"],\"1861206\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861205
2023-10-13	12:51:30	1714	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:30	1714	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861206
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:30	1715	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field taille
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:30	1715	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:30	1715	[DEBUG]	Use default value for field file_url
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:30	1715	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:30	1715	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:30	1715	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:30	1715	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:30	1715	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:30	1715	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field published
2023-10-13	12:51:30	1715	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:30	1715	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field override
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:30	1715	[DEBUG]	Use field value for field slug
2023-10-13	12:51:30	1715	[DEBUG]	Process line 1715
2023-10-13	12:51:30	1715	[DEBUG]	Load a row
2023-10-13	12:51:30	1715	[DEBUG]	Processing item: A_4942_1
2023-10-13	12:51:30	1715	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:30	1715	[DEBUG]	Processing product tax
2023-10-13	12:51:30	1715	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:30	1715	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:30	1715	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:30	1715	[DEBUG]	Query for Product
2023-10-13	12:51:30	1715	[DEBUG]	Executed store
2023-10-13	12:51:30	1715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4942_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:30	1715	[DEBUG]	Check product language entry
2023-10-13	12:51:30	1715	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861207
2023-10-13	12:51:30	1715	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:30	1715	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4942_1' AND `virtuemart_product_id` != 1861207
2023-10-13	12:51:30	1715	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:30	1715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861207, 'A_4942_1')
2023-10-13	12:51:30	1715	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:30	1715	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'o-synce-compteur-mini-pc-save-noir' AND `virtuemart_product_id` != 1861207
2023-10-13	12:51:30	1715	[DEBUG]	Query for ProductLang
2023-10-13	12:51:30	1715	[DEBUG]	Executed store
2023-10-13	12:51:30	1715	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 47.500',`product_name`='O_SYNCE COMPTEUR mini_pc save / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='o-synce-compteur-mini-pc-save-noir' WHERE `virtuemart_product_id` = '1861207'
2023-10-13	12:51:30	1715	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:30	1715	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861207 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:30	1715	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:30	1715	[DEBUG]	Executed store
2023-10-13	12:51:30	1715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861207','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:30	1715	[DEBUG]	Checking manufacturer
2023-10-13	12:51:30	1715	[DEBUG]	Load a row
2023-10-13	12:51:30	1715	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:30	1715	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '40'
2023-10-13	12:51:30	1715	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:30	1715	[DEBUG]	Executed store
2023-10-13	12:51:30	1715	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-44843724352' WHERE `virtuemart_manufacturer_id` = '40'
2023-10-13	12:51:30	1715	[DEBUG]	Manufacturer exists
2023-10-13	12:51:30	1715	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 40
2023-10-13	12:51:30	1715	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:30	1715	[DEBUG]	Executed store
2023-10-13	12:51:30	1715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861207','40')
2023-10-13	12:51:30	1715	[DEBUG]	Find the custom field ID
2023-10-13	12:51:30	1715	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:30	1715	[DEBUG]	No custom field ID found
2023-10-13	12:51:30	1715	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:30	1715	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:30	1715	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861207 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:30	1715	[DEBUG]	Store custom available field
2023-10-13	12:51:30	1715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861207,3,'0',1)
2023-10-13	12:51:30	1715	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:30	1715	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:30	1715	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861207 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:30	1715	[DEBUG]	Store custom available field
2023-10-13	12:51:30	1715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861207,6,'choisir la taille',3)
2023-10-13	12:51:30	1715	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:30	1715	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:30	1715	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:30	1715	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:30	1715	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861207 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:30	1715	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:30	1715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861207,8,1)
2023-10-13	12:51:30	1715	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:30	1715	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861207\":[1861207,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861207
2023-10-13	12:51:30	1715	[DEBUG]	Checking category
2023-10-13	12:51:30	1715	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:30	1715	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861207
2023-10-13	12:51:30	1715	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:30	1715	[DEBUG]	Executed store
2023-10-13	12:51:30	1715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861207','7310')
2023-10-13	12:51:30	1715	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:30	1715	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861207 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:30	1715	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:30	1715	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861207
2023-10-13	12:51:30	1716	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:30	1716	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:30	1716	[DEBUG]	Use field value for field taille
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:30	1716	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:30	1716	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:30	1716	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field file_url
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:30	1716	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:30	1716	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:30	1716	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:30	1716	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:30	1716	[DEBUG]	Use field value for field published
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:30	1716	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field override
2023-10-13	12:51:30	1716	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:30	1716	[DEBUG]	Use field value for field slug
2023-10-13	12:51:30	1716	[DEBUG]	Process line 1716
2023-10-13	12:51:30	1716	[DEBUG]	Load a row
2023-10-13	12:51:30	1716	[DEBUG]	Processing item: 4260219522014
2023-10-13	12:51:30	1716	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:30	1716	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:30	1716	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4942_1'
2023-10-13	12:51:30	1716	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:30	1716	[DEBUG]	Processing product tax
2023-10-13	12:51:30	1716	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:30	1716	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:30	1716	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:30	1716	[DEBUG]	Query for Product
2023-10-13	12:51:30	1716	[DEBUG]	Executed store
2023-10-13	12:51:30	1716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861207','4260219522014','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:30	1716	[DEBUG]	No parent found
2023-10-13	12:51:30	1716	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861207 AND customfield_value = 'stockable'
2023-10-13	12:51:30	1716	[DEBUG]	Check product language entry
2023-10-13	12:51:30	1716	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861208
2023-10-13	12:51:30	1716	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:30	1716	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260219522014' AND `virtuemart_product_id` != 1861208
2023-10-13	12:51:30	1716	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:30	1716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861208, '4260219522014')
2023-10-13	12:51:30	1716	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:30	1716	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'o-synce-compteur-mini-pc-save-noir-unitaire' AND `virtuemart_product_id` != 1861208
2023-10-13	12:51:30	1716	[DEBUG]	Query for ProductLang
2023-10-13	12:51:30	1716	[DEBUG]	Executed store
2023-10-13	12:51:30	1716	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='O_SYNCE COMPTEUR mini_pc save / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='o-synce-compteur-mini-pc-save-noir-unitaire' WHERE `virtuemart_product_id` = '1861208'
2023-10-13	12:51:30	1716	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:30	1716	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861208 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:30	1716	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:30	1716	[DEBUG]	Executed store
2023-10-13	12:51:30	1716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861208','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:30	1716	[DEBUG]	Checking manufacturer
2023-10-13	12:51:30	1716	[DEBUG]	Load a row
2023-10-13	12:51:30	1716	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:30	1716	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '40'
2023-10-13	12:51:30	1716	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:30	1716	[DEBUG]	Executed store
2023-10-13	12:51:30	1716	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-44843724352' WHERE `virtuemart_manufacturer_id` = '40'
2023-10-13	12:51:30	1716	[DEBUG]	Manufacturer exists
2023-10-13	12:51:30	1716	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 40
2023-10-13	12:51:30	1716	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:30	1716	[DEBUG]	Executed store
2023-10-13	12:51:30	1716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861208','40')
2023-10-13	12:51:30	1716	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:30	1716	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:30	1716	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861208 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:30	1716	[DEBUG]	Store custom available field
2023-10-13	12:51:30	1716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861208,3,'',1)
2023-10-13	12:51:30	1716	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:30	1716	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:51:30	1716	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861208 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:30	1716	[DEBUG]	Store custom available field
2023-10-13	12:51:30	1716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861208,6,'Unitaire',3)
2023-10-13	12:51:30	1716	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:30	1716	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:30	1716	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861207
2023-10-13	12:51:30	1716	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:30	1716	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861207\":[1861207,8,1,\"choisir la taille\"],\"1861208\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861207
2023-10-13	12:51:30	1716	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:30	1716	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861208
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:30	1717	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field taille
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:30	1717	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:30	1717	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:30	1717	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:30	1717	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:30	1717	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:30	1717	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:30	1717	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field published
2023-10-13	12:51:30	1717	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:30	1717	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field override
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:30	1717	[DEBUG]	Use field value for field slug
2023-10-13	12:51:30	1717	[DEBUG]	Process line 1717
2023-10-13	12:51:30	1717	[DEBUG]	Load a row
2023-10-13	12:51:30	1717	[DEBUG]	Processing item: A_5119_65
2023-10-13	12:51:30	1717	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:30	1717	[DEBUG]	Processing product tax
2023-10-13	12:51:30	1717	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:30	1717	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:30	1717	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:30	1717	[DEBUG]	Query for Product
2023-10-13	12:51:30	1717	[DEBUG]	Executed store
2023-10-13	12:51:30	1717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5119_65','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:30	1717	[DEBUG]	Check product language entry
2023-10-13	12:51:30	1717	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861209
2023-10-13	12:51:30	1717	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:30	1717	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5119_65' AND `virtuemart_product_id` != 1861209
2023-10-13	12:51:30	1717	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:30	1717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861209, 'A_5119_65')
2023-10-13	12:51:30	1717	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:30	1717	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-sigma-pulsuhr-pc-25-10-jaune' AND `virtuemart_product_id` != 1861209
2023-10-13	12:51:30	1717	[DEBUG]	Query for ProductLang
2023-10-13	12:51:30	1717	[DEBUG]	Executed store
2023-10-13	12:51:30	1717	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.53043',`product_name`='Sigma COMPTEUR Sigma Pulsuhr PC 25.10 / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-sigma-pulsuhr-pc-25-10-jaune' WHERE `virtuemart_product_id` = '1861209'
2023-10-13	12:51:30	1717	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29581_compteur_sigma_pulsuhr_pc_25_10.jpg
2023-10-13	12:51:30	1717	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:30	1717	[DEBUG]	Process image file
2023-10-13	12:51:30	1717	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:30	1717	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:30	1717	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29581_compteur_sigma_pulsuhr_pc_25_10.jpg
2023-10-13	12:51:30	1717	[DEBUG]	Full name target: bcprisme/29581_compteur_sigma_pulsuhr_pc_25_10.jpg
2023-10-13	12:51:31	1717	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:31	1717	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29581_compteur_sigma_pulsuhr_pc_25_10.jpg'
2023-10-13	12:51:31	1717	[DEBUG]	Query for Media
2023-10-13	12:51:31	1717	[DEBUG]	Executed store
2023-10-13	12:51:31	1717	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29581_compteur_sigma_pulsuhr_pc_25_10.jpg',`file_url_thumb`='bcprisme/29581_compteur_sigma_pulsuhr_pc_25_10.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366148'
2023-10-13	12:51:31	1717	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:31	1717	[DEBUG]	Executed store
2023-10-13	12:51:31	1717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861209','366148','1')
2023-10-13	12:51:31	1717	[DEBUG]	Store product image relation
2023-10-13	12:51:31	1717	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:31	1717	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861209 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:31	1717	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:31	1717	[DEBUG]	Executed store
2023-10-13	12:51:31	1717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861209','0','82.6369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:31	1717	[DEBUG]	Checking manufacturer
2023-10-13	12:51:31	1717	[DEBUG]	Load a row
2023-10-13	12:51:31	1717	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:31	1717	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:31	1717	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:31	1717	[DEBUG]	Executed store
2023-10-13	12:51:31	1717	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:31	1717	[DEBUG]	Manufacturer exists
2023-10-13	12:51:31	1717	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:31	1717	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:31	1717	[DEBUG]	Executed store
2023-10-13	12:51:31	1717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861209','79')
2023-10-13	12:51:31	1717	[DEBUG]	Find the custom field ID
2023-10-13	12:51:31	1717	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:31	1717	[DEBUG]	No custom field ID found
2023-10-13	12:51:31	1717	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:31	1717	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:31	1717	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861209 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:31	1717	[DEBUG]	Store custom available field
2023-10-13	12:51:31	1717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861209,3,'0',1)
2023-10-13	12:51:31	1717	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:31	1717	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:31	1717	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861209 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:31	1717	[DEBUG]	Store custom available field
2023-10-13	12:51:31	1717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861209,6,'choisir la taille',3)
2023-10-13	12:51:31	1717	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:31	1717	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:31	1717	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:31	1717	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:31	1717	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861209 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:31	1717	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:31	1717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861209,8,1)
2023-10-13	12:51:31	1717	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:31	1717	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861209\":[1861209,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861209
2023-10-13	12:51:31	1717	[DEBUG]	Checking category
2023-10-13	12:51:31	1717	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:31	1717	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861209
2023-10-13	12:51:31	1717	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:31	1717	[DEBUG]	Executed store
2023-10-13	12:51:31	1717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861209','7310')
2023-10-13	12:51:31	1717	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:31	1717	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861209 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:31	1717	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:31	1717	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861209
2023-10-13	12:51:31	1718	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:31	1718	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:31	1718	[DEBUG]	Use field value for field taille
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:31	1718	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:31	1718	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:31	1718	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:31	1718	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:31	1718	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:31	1718	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:31	1718	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:31	1718	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:31	1718	[DEBUG]	Use field value for field published
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:31	1718	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field override
2023-10-13	12:51:31	1718	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:31	1718	[DEBUG]	Use field value for field slug
2023-10-13	12:51:31	1718	[DEBUG]	Process line 1718
2023-10-13	12:51:31	1718	[DEBUG]	Load a row
2023-10-13	12:51:31	1718	[DEBUG]	Processing item: 4016224283026
2023-10-13	12:51:31	1718	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:31	1718	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:31	1718	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5119_65'
2023-10-13	12:51:31	1718	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:31	1718	[DEBUG]	Processing product tax
2023-10-13	12:51:31	1718	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:31	1718	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:31	1718	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:31	1718	[DEBUG]	Query for Product
2023-10-13	12:51:31	1718	[DEBUG]	Executed store
2023-10-13	12:51:31	1718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861209','4016224283026','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:31	1718	[DEBUG]	No parent found
2023-10-13	12:51:31	1718	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861209 AND customfield_value = 'stockable'
2023-10-13	12:51:31	1718	[DEBUG]	Check product language entry
2023-10-13	12:51:31	1718	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861210
2023-10-13	12:51:31	1718	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:31	1718	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4016224283026' AND `virtuemart_product_id` != 1861210
2023-10-13	12:51:31	1718	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:31	1718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861210, '4016224283026')
2023-10-13	12:51:31	1718	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:31	1718	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-sigma-pulsuhr-pc-25-10-jaune-unitaire' AND `virtuemart_product_id` != 1861210
2023-10-13	12:51:31	1718	[DEBUG]	Query for ProductLang
2023-10-13	12:51:31	1718	[DEBUG]	Executed store
2023-10-13	12:51:31	1718	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma COMPTEUR Sigma Pulsuhr PC 25.10 / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-sigma-pulsuhr-pc-25-10-jaune-unitaire' WHERE `virtuemart_product_id` = '1861210'
2023-10-13	12:51:31	1718	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29581_compteur_sigma_pulsuhr_pc_25_10.jpg
2023-10-13	12:51:31	1718	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:31	1718	[DEBUG]	Process image file
2023-10-13	12:51:31	1718	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:31	1718	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:31	1718	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29581_compteur_sigma_pulsuhr_pc_25_10.jpg
2023-10-13	12:51:31	1718	[DEBUG]	Full name target: bcprisme/29581_compteur_sigma_pulsuhr_pc_25_10.jpg
2023-10-13	12:51:32	1718	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:32	1718	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29581_compteur_sigma_pulsuhr_pc_25_10.jpg'
2023-10-13	12:51:32	1718	[DEBUG]	Query for Media
2023-10-13	12:51:32	1718	[DEBUG]	Executed store
2023-10-13	12:51:32	1718	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29581_compteur_sigma_pulsuhr_pc_25_10.jpg',`file_url_thumb`='bcprisme/29581_compteur_sigma_pulsuhr_pc_25_10.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366148'
2023-10-13	12:51:32	1718	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:32	1718	[DEBUG]	Executed store
2023-10-13	12:51:32	1718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861210','366148','1')
2023-10-13	12:51:32	1718	[DEBUG]	Store product image relation
2023-10-13	12:51:32	1718	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:32	1718	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861210 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:32	1718	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:32	1718	[DEBUG]	Executed store
2023-10-13	12:51:32	1718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861210','0','82.6369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:32	1718	[DEBUG]	Checking manufacturer
2023-10-13	12:51:32	1718	[DEBUG]	Load a row
2023-10-13	12:51:32	1718	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:32	1718	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:32	1718	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:32	1718	[DEBUG]	Executed store
2023-10-13	12:51:32	1718	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:32	1718	[DEBUG]	Manufacturer exists
2023-10-13	12:51:32	1718	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:32	1718	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:32	1718	[DEBUG]	Executed store
2023-10-13	12:51:32	1718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861210','79')
2023-10-13	12:51:32	1718	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:32	1718	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:32	1718	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861210 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:32	1718	[DEBUG]	Store custom available field
2023-10-13	12:51:32	1718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861210,3,'',1)
2023-10-13	12:51:32	1718	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:32	1718	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:51:32	1718	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861210 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:32	1718	[DEBUG]	Store custom available field
2023-10-13	12:51:32	1718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861210,6,'Unitaire',3)
2023-10-13	12:51:32	1718	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:32	1718	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:32	1718	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861209
2023-10-13	12:51:32	1718	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:32	1718	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861209\":[1861209,8,1,\"choisir la taille\"],\"1861210\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861209
2023-10-13	12:51:32	1718	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:32	1718	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861210
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:32	1719	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field taille
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:32	1719	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:32	1719	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:32	1719	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:32	1719	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:32	1719	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:32	1719	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field published
2023-10-13	12:51:32	1719	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:32	1719	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field override
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:32	1719	[DEBUG]	Use field value for field slug
2023-10-13	12:51:32	1719	[DEBUG]	Process line 1719
2023-10-13	12:51:32	1719	[DEBUG]	Load a row
2023-10-13	12:51:32	1719	[DEBUG]	Processing item: A_5377_208
2023-10-13	12:51:32	1719	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:32	1719	[DEBUG]	Processing product tax
2023-10-13	12:51:32	1719	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:32	1719	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:32	1719	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:32	1719	[DEBUG]	Query for Product
2023-10-13	12:51:32	1719	[DEBUG]	Executed store
2023-10-13	12:51:32	1719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5377_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:32	1719	[DEBUG]	Check product language entry
2023-10-13	12:51:32	1719	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861211
2023-10-13	12:51:32	1719	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:32	1719	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5377_208' AND `virtuemart_product_id` != 1861211
2023-10-13	12:51:32	1719	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:32	1719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861211, 'A_5377_208')
2023-10-13	12:51:32	1719	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:32	1719	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-sigma-bc-9-16-ats-sans-cables-analog-noir-aucune' AND `virtuemart_product_id` != 1861211
2023-10-13	12:51:32	1719	[DEBUG]	Query for ProductLang
2023-10-13	12:51:32	1719	[DEBUG]	Executed store
2023-10-13	12:51:32	1719	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.68271',`product_name`='Sigma COMPTEUR Sigma BC 9.16 ATS sans câbles analog noir / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-sigma-bc-9-16-ats-sans-cables-analog-noir-aucune' WHERE `virtuemart_product_id` = '1861211'
2023-10-13	12:51:32	1719	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29855_compteur_sigma_bc_9_16_ats_sans_cebles_analog_noir.jpg
2023-10-13	12:51:32	1719	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:32	1719	[DEBUG]	Process image file
2023-10-13	12:51:32	1719	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:32	1719	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:32	1719	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29855_compteur_sigma_bc_9_16_ats_sans_cebles_analog_noir.jpg
2023-10-13	12:51:32	1719	[DEBUG]	Full name target: bcprisme/29855_compteur_sigma_bc_9_16_ats_sans_cebles_analog_noir.jpg
2023-10-13	12:51:33	1719	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:33	1719	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29855_compteur_sigma_bc_9_16_ats_sans_cebles_analog_noir.jpg'
2023-10-13	12:51:33	1719	[DEBUG]	Query for Media
2023-10-13	12:51:33	1719	[DEBUG]	Executed store
2023-10-13	12:51:33	1719	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29855_compteur_sigma_bc_9_16_ats_sans_cebles_analog_noir.jpg',`file_url_thumb`='bcprisme/29855_compteur_sigma_bc_9_16_ats_sans_cebles_analog_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '53275'
2023-10-13	12:51:33	1719	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:33	1719	[DEBUG]	Executed store
2023-10-13	12:51:33	1719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861211','53275','1')
2023-10-13	12:51:33	1719	[DEBUG]	Store product image relation
2023-10-13	12:51:33	1719	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:33	1719	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861211 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:33	1719	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:33	1719	[DEBUG]	Executed store
2023-10-13	12:51:33	1719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861211','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:33	1719	[DEBUG]	Checking manufacturer
2023-10-13	12:51:33	1719	[DEBUG]	Load a row
2023-10-13	12:51:33	1719	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:33	1719	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:33	1719	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:33	1719	[DEBUG]	Executed store
2023-10-13	12:51:33	1719	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:33	1719	[DEBUG]	Manufacturer exists
2023-10-13	12:51:33	1719	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:33	1719	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:33	1719	[DEBUG]	Executed store
2023-10-13	12:51:33	1719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861211','79')
2023-10-13	12:51:33	1719	[DEBUG]	Find the custom field ID
2023-10-13	12:51:33	1719	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:33	1719	[DEBUG]	No custom field ID found
2023-10-13	12:51:33	1719	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:33	1719	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:33	1719	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861211 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:33	1719	[DEBUG]	Store custom available field
2023-10-13	12:51:33	1719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861211,3,'0',1)
2023-10-13	12:51:33	1719	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:33	1719	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:33	1719	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861211 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:33	1719	[DEBUG]	Store custom available field
2023-10-13	12:51:33	1719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861211,6,'choisir la taille',3)
2023-10-13	12:51:33	1719	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:33	1719	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:33	1719	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:33	1719	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:33	1719	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861211 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:33	1719	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:33	1719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861211,8,1)
2023-10-13	12:51:33	1719	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:33	1719	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861211\":[1861211,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861211
2023-10-13	12:51:33	1719	[DEBUG]	Checking category
2023-10-13	12:51:33	1719	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:33	1719	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861211
2023-10-13	12:51:33	1719	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:33	1719	[DEBUG]	Executed store
2023-10-13	12:51:33	1719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861211','7310')
2023-10-13	12:51:33	1719	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:33	1719	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861211 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:33	1719	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:33	1719	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861211
2023-10-13	12:51:33	1720	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:33	1720	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:33	1720	[DEBUG]	Use field value for field taille
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:33	1720	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:33	1720	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:33	1720	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:33	1720	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:33	1720	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:33	1720	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:33	1720	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:33	1720	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:33	1720	[DEBUG]	Use field value for field published
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:33	1720	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field override
2023-10-13	12:51:33	1720	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:33	1720	[DEBUG]	Use field value for field slug
2023-10-13	12:51:33	1720	[DEBUG]	Process line 1720
2023-10-13	12:51:33	1720	[DEBUG]	Load a row
2023-10-13	12:51:33	1720	[DEBUG]	Processing item: 4016224091621
2023-10-13	12:51:33	1720	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:33	1720	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:33	1720	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5377_208'
2023-10-13	12:51:33	1720	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:33	1720	[DEBUG]	Processing product tax
2023-10-13	12:51:33	1720	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:33	1720	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:33	1720	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:33	1720	[DEBUG]	Query for Product
2023-10-13	12:51:33	1720	[DEBUG]	Executed store
2023-10-13	12:51:33	1720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861211','4016224091621','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:33	1720	[DEBUG]	No parent found
2023-10-13	12:51:33	1720	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861211 AND customfield_value = 'stockable'
2023-10-13	12:51:33	1720	[DEBUG]	Check product language entry
2023-10-13	12:51:33	1720	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861212
2023-10-13	12:51:33	1720	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:33	1720	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4016224091621' AND `virtuemart_product_id` != 1861212
2023-10-13	12:51:33	1720	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:33	1720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861212, '4016224091621')
2023-10-13	12:51:33	1720	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:33	1720	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-sigma-bc-9-16-ats-sans-cables-analog-noir-aucune-all' AND `virtuemart_product_id` != 1861212
2023-10-13	12:51:33	1720	[DEBUG]	Query for ProductLang
2023-10-13	12:51:33	1720	[DEBUG]	Executed store
2023-10-13	12:51:33	1720	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma COMPTEUR Sigma BC 9.16 ATS sans câbles analog noir / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-sigma-bc-9-16-ats-sans-cables-analog-noir-aucune-all' WHERE `virtuemart_product_id` = '1861212'
2023-10-13	12:51:33	1720	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29855_compteur_sigma_bc_9_16_ats_sans_cebles_analog_noir.jpg
2023-10-13	12:51:33	1720	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:33	1720	[DEBUG]	Process image file
2023-10-13	12:51:33	1720	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:33	1720	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:33	1720	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29855_compteur_sigma_bc_9_16_ats_sans_cebles_analog_noir.jpg
2023-10-13	12:51:33	1720	[DEBUG]	Full name target: bcprisme/29855_compteur_sigma_bc_9_16_ats_sans_cebles_analog_noir.jpg
2023-10-13	12:51:34	1720	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:34	1720	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29855_compteur_sigma_bc_9_16_ats_sans_cebles_analog_noir.jpg'
2023-10-13	12:51:34	1720	[DEBUG]	Query for Media
2023-10-13	12:51:34	1720	[DEBUG]	Executed store
2023-10-13	12:51:34	1720	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29855_compteur_sigma_bc_9_16_ats_sans_cebles_analog_noir.jpg',`file_url_thumb`='bcprisme/29855_compteur_sigma_bc_9_16_ats_sans_cebles_analog_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '53275'
2023-10-13	12:51:34	1720	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:34	1720	[DEBUG]	Executed store
2023-10-13	12:51:34	1720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861212','53275','1')
2023-10-13	12:51:34	1720	[DEBUG]	Store product image relation
2023-10-13	12:51:34	1720	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:34	1720	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861212 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:34	1720	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:34	1720	[DEBUG]	Executed store
2023-10-13	12:51:34	1720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861212','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:34	1720	[DEBUG]	Checking manufacturer
2023-10-13	12:51:34	1720	[DEBUG]	Load a row
2023-10-13	12:51:34	1720	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:34	1720	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:34	1720	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:34	1720	[DEBUG]	Executed store
2023-10-13	12:51:34	1720	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:34	1720	[DEBUG]	Manufacturer exists
2023-10-13	12:51:34	1720	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:34	1720	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:34	1720	[DEBUG]	Executed store
2023-10-13	12:51:34	1720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861212','79')
2023-10-13	12:51:34	1720	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:34	1720	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:34	1720	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861212 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:34	1720	[DEBUG]	Store custom available field
2023-10-13	12:51:34	1720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861212,3,'',1)
2023-10-13	12:51:34	1720	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:34	1720	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:51:34	1720	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861212 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:34	1720	[DEBUG]	Store custom available field
2023-10-13	12:51:34	1720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861212,6,'All',3)
2023-10-13	12:51:34	1720	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:34	1720	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:34	1720	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861211
2023-10-13	12:51:34	1720	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:34	1720	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861211\":[1861211,8,1,\"choisir la taille\"],\"1861212\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861211
2023-10-13	12:51:34	1720	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:34	1720	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861212
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:34	1721	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field taille
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:34	1721	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:34	1721	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:34	1721	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:34	1721	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:34	1721	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:34	1721	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field published
2023-10-13	12:51:34	1721	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:34	1721	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field override
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:34	1721	[DEBUG]	Use field value for field slug
2023-10-13	12:51:34	1721	[DEBUG]	Process line 1721
2023-10-13	12:51:34	1721	[DEBUG]	Load a row
2023-10-13	12:51:34	1721	[DEBUG]	Processing item: A_5479_208
2023-10-13	12:51:34	1721	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:34	1721	[DEBUG]	Processing product tax
2023-10-13	12:51:34	1721	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:34	1721	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:34	1721	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:34	1721	[DEBUG]	Query for Product
2023-10-13	12:51:34	1721	[DEBUG]	Executed store
2023-10-13	12:51:34	1721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5479_208','3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:34	1721	[DEBUG]	Check product language entry
2023-10-13	12:51:34	1721	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861213
2023-10-13	12:51:34	1721	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:34	1721	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5479_208' AND `virtuemart_product_id` != 1861213
2023-10-13	12:51:34	1721	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:34	1721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861213, 'A_5479_208')
2023-10-13	12:51:34	1721	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:34	1721	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-bc-7-16-ats-sans-cables-analog-noir-aucune' AND `virtuemart_product_id` != 1861213
2023-10-13	12:51:34	1721	[DEBUG]	Query for ProductLang
2023-10-13	12:51:34	1721	[DEBUG]	Executed store
2023-10-13	12:51:34	1721	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Modèle entrée de gamme au tarif très abordable<br>Un grand écran et un design sportif<br>Affiche des fonctions de base et des valeurs totales et la vitesse moyenne<br>Menu en 7 langues différentes<br>Sans câble, transmission analogique<br>Marque:SigmaComposants:CompteurModèle:BC 7.16 ATSSans câble/ Avec câble:sans câbleGenre de transmission:analogiqueNombre de roues:1Langues:7Fonctions vélo:7<br>N° art fourn : 20.68270',`product_name`='Sigma Compteur BC 7.16 ATS sans câbles analog noir / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-bc-7-16-ats-sans-cables-analog-noir-aucune' WHERE `virtuemart_product_id` = '1861213'
2023-10-13	12:51:34	1721	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29974_sigma_compteur_bc_7_16_ats_sans_cebles_analog_noir.jpg
2023-10-13	12:51:34	1721	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:34	1721	[DEBUG]	Process image file
2023-10-13	12:51:34	1721	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:34	1721	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:34	1721	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29974_sigma_compteur_bc_7_16_ats_sans_cebles_analog_noir.jpg
2023-10-13	12:51:34	1721	[DEBUG]	Full name target: bcprisme/29974_sigma_compteur_bc_7_16_ats_sans_cebles_analog_noir.jpg
2023-10-13	12:51:35	1721	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:35	1721	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29974_sigma_compteur_bc_7_16_ats_sans_cebles_analog_noir.jpg'
2023-10-13	12:51:35	1721	[DEBUG]	Query for Media
2023-10-13	12:51:35	1721	[DEBUG]	Executed store
2023-10-13	12:51:35	1721	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29974_sigma_compteur_bc_7_16_ats_sans_cebles_analog_noir.jpg',`file_url_thumb`='bcprisme/29974_sigma_compteur_bc_7_16_ats_sans_cebles_analog_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '76304'
2023-10-13	12:51:35	1721	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:35	1721	[DEBUG]	Executed store
2023-10-13	12:51:35	1721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861213','76304','1')
2023-10-13	12:51:35	1721	[DEBUG]	Store product image relation
2023-10-13	12:51:35	1721	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:35	1721	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861213 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:35	1721	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:35	1721	[DEBUG]	Executed store
2023-10-13	12:51:35	1721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861213','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:35	1721	[DEBUG]	Checking manufacturer
2023-10-13	12:51:35	1721	[DEBUG]	Load a row
2023-10-13	12:51:35	1721	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:35	1721	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:35	1721	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:35	1721	[DEBUG]	Executed store
2023-10-13	12:51:35	1721	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:35	1721	[DEBUG]	Manufacturer exists
2023-10-13	12:51:35	1721	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:35	1721	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:35	1721	[DEBUG]	Executed store
2023-10-13	12:51:35	1721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861213','79')
2023-10-13	12:51:35	1721	[DEBUG]	Find the custom field ID
2023-10-13	12:51:35	1721	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:35	1721	[DEBUG]	No custom field ID found
2023-10-13	12:51:35	1721	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:35	1721	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:35	1721	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861213 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:35	1721	[DEBUG]	Store custom available field
2023-10-13	12:51:35	1721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861213,3,'0',1)
2023-10-13	12:51:35	1721	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:35	1721	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:35	1721	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861213 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:35	1721	[DEBUG]	Store custom available field
2023-10-13	12:51:35	1721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861213,6,'choisir la taille',3)
2023-10-13	12:51:35	1721	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:35	1721	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:35	1721	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:35	1721	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:35	1721	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861213 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:35	1721	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:35	1721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861213,8,1)
2023-10-13	12:51:35	1721	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:35	1721	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861213\":[1861213,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861213
2023-10-13	12:51:35	1721	[DEBUG]	Checking category
2023-10-13	12:51:35	1721	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:35	1721	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861213
2023-10-13	12:51:35	1721	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:35	1721	[DEBUG]	Executed store
2023-10-13	12:51:35	1721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861213','7310')
2023-10-13	12:51:35	1721	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:35	1721	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861213 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:35	1721	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:35	1721	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861213
2023-10-13	12:51:35	1722	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:35	1722	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:35	1722	[DEBUG]	Use field value for field taille
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:35	1722	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:35	1722	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:35	1722	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:35	1722	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:35	1722	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:35	1722	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:35	1722	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:35	1722	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:35	1722	[DEBUG]	Use field value for field published
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:35	1722	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field override
2023-10-13	12:51:35	1722	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:35	1722	[DEBUG]	Use field value for field slug
2023-10-13	12:51:35	1722	[DEBUG]	Process line 1722
2023-10-13	12:51:35	1722	[DEBUG]	Load a row
2023-10-13	12:51:35	1722	[DEBUG]	Processing item: 4016224071623
2023-10-13	12:51:35	1722	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:35	1722	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:35	1722	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5479_208'
2023-10-13	12:51:35	1722	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:35	1722	[DEBUG]	Processing product tax
2023-10-13	12:51:35	1722	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:35	1722	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:35	1722	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:35	1722	[DEBUG]	Query for Product
2023-10-13	12:51:35	1722	[DEBUG]	Executed store
2023-10-13	12:51:35	1722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861213','4016224071623','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:35	1722	[DEBUG]	No parent found
2023-10-13	12:51:35	1722	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861213 AND customfield_value = 'stockable'
2023-10-13	12:51:35	1722	[DEBUG]	Check product language entry
2023-10-13	12:51:35	1722	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861214
2023-10-13	12:51:35	1722	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:35	1722	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4016224071623' AND `virtuemart_product_id` != 1861214
2023-10-13	12:51:35	1722	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:35	1722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861214, '4016224071623')
2023-10-13	12:51:35	1722	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:35	1722	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-bc-7-16-ats-sans-cables-analog-noir-aucune-all' AND `virtuemart_product_id` != 1861214
2023-10-13	12:51:35	1722	[DEBUG]	Query for ProductLang
2023-10-13	12:51:35	1722	[DEBUG]	Executed store
2023-10-13	12:51:35	1722	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma Compteur BC 7.16 ATS sans câbles analog noir / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-bc-7-16-ats-sans-cables-analog-noir-aucune-all' WHERE `virtuemart_product_id` = '1861214'
2023-10-13	12:51:35	1722	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29974_sigma_compteur_bc_7_16_ats_sans_cebles_analog_noir.jpg
2023-10-13	12:51:35	1722	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:35	1722	[DEBUG]	Process image file
2023-10-13	12:51:35	1722	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:35	1722	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:35	1722	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29974_sigma_compteur_bc_7_16_ats_sans_cebles_analog_noir.jpg
2023-10-13	12:51:35	1722	[DEBUG]	Full name target: bcprisme/29974_sigma_compteur_bc_7_16_ats_sans_cebles_analog_noir.jpg
2023-10-13	12:51:36	1722	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:36	1722	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29974_sigma_compteur_bc_7_16_ats_sans_cebles_analog_noir.jpg'
2023-10-13	12:51:36	1722	[DEBUG]	Query for Media
2023-10-13	12:51:36	1722	[DEBUG]	Executed store
2023-10-13	12:51:36	1722	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29974_sigma_compteur_bc_7_16_ats_sans_cebles_analog_noir.jpg',`file_url_thumb`='bcprisme/29974_sigma_compteur_bc_7_16_ats_sans_cebles_analog_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '76304'
2023-10-13	12:51:36	1722	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:36	1722	[DEBUG]	Executed store
2023-10-13	12:51:36	1722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861214','76304','1')
2023-10-13	12:51:36	1722	[DEBUG]	Store product image relation
2023-10-13	12:51:36	1722	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:36	1722	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861214 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:36	1722	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:36	1722	[DEBUG]	Executed store
2023-10-13	12:51:36	1722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861214','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:36	1722	[DEBUG]	Checking manufacturer
2023-10-13	12:51:36	1722	[DEBUG]	Load a row
2023-10-13	12:51:36	1722	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:36	1722	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:36	1722	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:36	1722	[DEBUG]	Executed store
2023-10-13	12:51:36	1722	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:36	1722	[DEBUG]	Manufacturer exists
2023-10-13	12:51:36	1722	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:36	1722	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:36	1722	[DEBUG]	Executed store
2023-10-13	12:51:36	1722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861214','79')
2023-10-13	12:51:36	1722	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:36	1722	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:36	1722	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861214 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:36	1722	[DEBUG]	Store custom available field
2023-10-13	12:51:36	1722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861214,3,'',1)
2023-10-13	12:51:36	1722	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:36	1722	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:51:36	1722	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861214 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:36	1722	[DEBUG]	Store custom available field
2023-10-13	12:51:36	1722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861214,6,'All',3)
2023-10-13	12:51:36	1722	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:36	1722	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:36	1722	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861213
2023-10-13	12:51:36	1722	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:36	1722	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861213\":[1861213,8,1,\"choisir la taille\"],\"1861214\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861213
2023-10-13	12:51:36	1722	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:36	1722	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861214
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:36	1723	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field taille
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:36	1723	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:36	1723	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:36	1723	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:36	1723	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:36	1723	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:36	1723	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field published
2023-10-13	12:51:36	1723	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:36	1723	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field override
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:36	1723	[DEBUG]	Use field value for field slug
2023-10-13	12:51:36	1723	[DEBUG]	Process line 1723
2023-10-13	12:51:36	1723	[DEBUG]	Load a row
2023-10-13	12:51:36	1723	[DEBUG]	Processing item: A_5531_3
2023-10-13	12:51:36	1723	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:36	1723	[DEBUG]	Processing product tax
2023-10-13	12:51:36	1723	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:36	1723	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:36	1723	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:36	1723	[DEBUG]	Query for Product
2023-10-13	12:51:36	1723	[DEBUG]	Executed store
2023-10-13	12:51:36	1723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5531_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:36	1723	[DEBUG]	Check product language entry
2023-10-13	12:51:36	1723	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861215
2023-10-13	12:51:36	1723	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:36	1723	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5531_3' AND `virtuemart_product_id` != 1861215
2023-10-13	12:51:36	1723	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:36	1723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861215, 'A_5531_3')
2023-10-13	12:51:36	1723	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:36	1723	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'polar-gps-bike-computer-polar-a370-none' AND `virtuemart_product_id` != 1861215
2023-10-13	12:51:36	1723	[DEBUG]	Query for ProductLang
2023-10-13	12:51:36	1723	[DEBUG]	Executed store
2023-10-13	12:51:36	1723	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 90070097',`product_name`='POLAR GPS BIKE COMPUTER POLAR A370 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='polar-gps-bike-computer-polar-a370-none' WHERE `virtuemart_product_id` = '1861215'
2023-10-13	12:51:36	1723	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30032_gps_bike_computer_polar_a370.jpg
2023-10-13	12:51:36	1723	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:36	1723	[DEBUG]	Process image file
2023-10-13	12:51:36	1723	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:36	1723	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:36	1723	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30032_gps_bike_computer_polar_a370.jpg
2023-10-13	12:51:36	1723	[DEBUG]	Full name target: bcprisme/30032_gps_bike_computer_polar_a370.jpg
2023-10-13	12:51:37	1723	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:37	1723	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30032_gps_bike_computer_polar_a370.jpg'
2023-10-13	12:51:37	1723	[DEBUG]	Query for Media
2023-10-13	12:51:37	1723	[DEBUG]	Executed store
2023-10-13	12:51:37	1723	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30032_gps_bike_computer_polar_a370.jpg',`file_url_thumb`='bcprisme/30032_gps_bike_computer_polar_a370.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366156'
2023-10-13	12:51:37	1723	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:37	1723	[DEBUG]	Executed store
2023-10-13	12:51:37	1723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861215','366156','1')
2023-10-13	12:51:37	1723	[DEBUG]	Store product image relation
2023-10-13	12:51:37	1723	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:37	1723	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861215 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:37	1723	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:37	1723	[DEBUG]	Executed store
2023-10-13	12:51:37	1723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861215','0','194.893221912721','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:37	1723	[DEBUG]	Checking manufacturer
2023-10-13	12:51:37	1723	[DEBUG]	Load a row
2023-10-13	12:51:37	1723	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:37	1723	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '153'
2023-10-13	12:51:37	1723	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:37	1723	[DEBUG]	Executed store
2023-10-13	12:51:37	1723	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441224595077' WHERE `virtuemart_manufacturer_id` = '153'
2023-10-13	12:51:37	1723	[DEBUG]	Manufacturer exists
2023-10-13	12:51:37	1723	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 153
2023-10-13	12:51:37	1723	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:37	1723	[DEBUG]	Executed store
2023-10-13	12:51:37	1723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861215','153')
2023-10-13	12:51:37	1723	[DEBUG]	Find the custom field ID
2023-10-13	12:51:37	1723	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:37	1723	[DEBUG]	No custom field ID found
2023-10-13	12:51:37	1723	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:37	1723	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:37	1723	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861215 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:37	1723	[DEBUG]	Store custom available field
2023-10-13	12:51:37	1723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861215,3,'0',1)
2023-10-13	12:51:37	1723	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:37	1723	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:37	1723	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861215 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:37	1723	[DEBUG]	Store custom available field
2023-10-13	12:51:37	1723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861215,6,'choisir la taille',3)
2023-10-13	12:51:37	1723	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:37	1723	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:37	1723	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:37	1723	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:37	1723	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861215 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:37	1723	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:37	1723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861215,8,1)
2023-10-13	12:51:37	1723	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:37	1723	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861215\":[1861215,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861215
2023-10-13	12:51:37	1723	[DEBUG]	Checking category
2023-10-13	12:51:37	1723	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:37	1723	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861215
2023-10-13	12:51:37	1723	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:37	1723	[DEBUG]	Executed store
2023-10-13	12:51:37	1723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861215','7310')
2023-10-13	12:51:37	1723	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:37	1723	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861215 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:37	1723	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:37	1723	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861215
2023-10-13	12:51:37	1724	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:37	1724	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:37	1724	[DEBUG]	Use field value for field taille
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:37	1724	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:37	1724	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:37	1724	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:37	1724	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:37	1724	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:37	1724	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:37	1724	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:37	1724	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:37	1724	[DEBUG]	Use field value for field published
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:37	1724	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field override
2023-10-13	12:51:37	1724	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:37	1724	[DEBUG]	Use field value for field slug
2023-10-13	12:51:37	1724	[DEBUG]	Process line 1724
2023-10-13	12:51:37	1724	[DEBUG]	Load a row
2023-10-13	12:51:37	1724	[DEBUG]	Processing item: 725882047065
2023-10-13	12:51:37	1724	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:37	1724	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:37	1724	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5531_3'
2023-10-13	12:51:37	1724	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:37	1724	[DEBUG]	Processing product tax
2023-10-13	12:51:37	1724	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:37	1724	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:37	1724	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:37	1724	[DEBUG]	Query for Product
2023-10-13	12:51:37	1724	[DEBUG]	Executed store
2023-10-13	12:51:37	1724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861215','725882047065','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:37	1724	[DEBUG]	No parent found
2023-10-13	12:51:37	1724	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861215 AND customfield_value = 'stockable'
2023-10-13	12:51:37	1724	[DEBUG]	Check product language entry
2023-10-13	12:51:37	1724	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861216
2023-10-13	12:51:37	1724	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:37	1724	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '725882047065' AND `virtuemart_product_id` != 1861216
2023-10-13	12:51:37	1724	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:37	1724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861216, '725882047065')
2023-10-13	12:51:37	1724	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:37	1724	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'polar-gps-bike-computer-polar-a370-none-unique' AND `virtuemart_product_id` != 1861216
2023-10-13	12:51:37	1724	[DEBUG]	Query for ProductLang
2023-10-13	12:51:37	1724	[DEBUG]	Executed store
2023-10-13	12:51:37	1724	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POLAR GPS BIKE COMPUTER POLAR A370 / None (Unique)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='polar-gps-bike-computer-polar-a370-none-unique' WHERE `virtuemart_product_id` = '1861216'
2023-10-13	12:51:37	1724	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30032_gps_bike_computer_polar_a370.jpg
2023-10-13	12:51:37	1724	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:37	1724	[DEBUG]	Process image file
2023-10-13	12:51:37	1724	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:37	1724	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:37	1724	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30032_gps_bike_computer_polar_a370.jpg
2023-10-13	12:51:37	1724	[DEBUG]	Full name target: bcprisme/30032_gps_bike_computer_polar_a370.jpg
2023-10-13	12:51:38	1724	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:38	1724	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30032_gps_bike_computer_polar_a370.jpg'
2023-10-13	12:51:38	1724	[DEBUG]	Query for Media
2023-10-13	12:51:38	1724	[DEBUG]	Executed store
2023-10-13	12:51:38	1724	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30032_gps_bike_computer_polar_a370.jpg',`file_url_thumb`='bcprisme/30032_gps_bike_computer_polar_a370.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366156'
2023-10-13	12:51:38	1724	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:38	1724	[DEBUG]	Executed store
2023-10-13	12:51:38	1724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861216','366156','1')
2023-10-13	12:51:38	1724	[DEBUG]	Store product image relation
2023-10-13	12:51:38	1724	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:38	1724	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861216 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:38	1724	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:38	1724	[DEBUG]	Executed store
2023-10-13	12:51:38	1724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861216','0','194.893221912721','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:38	1724	[DEBUG]	Checking manufacturer
2023-10-13	12:51:38	1724	[DEBUG]	Load a row
2023-10-13	12:51:38	1724	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:38	1724	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '153'
2023-10-13	12:51:38	1724	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:38	1724	[DEBUG]	Executed store
2023-10-13	12:51:38	1724	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441224595077' WHERE `virtuemart_manufacturer_id` = '153'
2023-10-13	12:51:38	1724	[DEBUG]	Manufacturer exists
2023-10-13	12:51:38	1724	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 153
2023-10-13	12:51:38	1724	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:38	1724	[DEBUG]	Executed store
2023-10-13	12:51:38	1724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861216','153')
2023-10-13	12:51:38	1724	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:38	1724	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:38	1724	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861216 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:38	1724	[DEBUG]	Store custom available field
2023-10-13	12:51:38	1724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861216,3,'',1)
2023-10-13	12:51:38	1724	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:38	1724	[DEBUG]	Get existing row with customfield value Unique
2023-10-13	12:51:38	1724	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861216 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:38	1724	[DEBUG]	Store custom available field
2023-10-13	12:51:38	1724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861216,6,'Unique',3)
2023-10-13	12:51:38	1724	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:38	1724	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:38	1724	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861215
2023-10-13	12:51:38	1724	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:38	1724	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnique\"}]|clabels=0|options={\"1861215\":[1861215,8,1,\"choisir la taille\"],\"1861216\":[\"Unique\"]}|' WHERE `virtuemart_product_id` = 1861215
2023-10-13	12:51:38	1724	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:38	1724	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861216
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:38	1725	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field taille
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:38	1725	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:38	1725	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:38	1725	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:38	1725	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:38	1725	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:38	1725	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field published
2023-10-13	12:51:38	1725	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:38	1725	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field override
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:38	1725	[DEBUG]	Use field value for field slug
2023-10-13	12:51:38	1725	[DEBUG]	Process line 1725
2023-10-13	12:51:38	1725	[DEBUG]	Load a row
2023-10-13	12:51:38	1725	[DEBUG]	Processing item: A_5782_25
2023-10-13	12:51:38	1725	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:38	1725	[DEBUG]	Processing product tax
2023-10-13	12:51:38	1725	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:38	1725	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:38	1725	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:38	1725	[DEBUG]	Query for Product
2023-10-13	12:51:38	1725	[DEBUG]	Executed store
2023-10-13	12:51:38	1725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5782_25','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:38	1725	[DEBUG]	Check product language entry
2023-10-13	12:51:38	1725	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861217
2023-10-13	12:51:38	1725	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:38	1725	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5782_25' AND `virtuemart_product_id` != 1861217
2023-10-13	12:51:38	1725	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:38	1725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861217, 'A_5782_25')
2023-10-13	12:51:38	1725	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:38	1725	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-vdo-m2-1-wl-sans-cables-analogique-noir-blanc-noir-blanc' AND `virtuemart_product_id` != 1861217
2023-10-13	12:51:38	1725	[DEBUG]	Query for ProductLang
2023-10-13	12:51:38	1725	[DEBUG]	Executed store
2023-10-13	12:51:38	1725	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.58794',`product_name`='Sigma COMPTEUR VDO M2.1 WL sans câbles analogique noir-blanc / Noir-blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-vdo-m2-1-wl-sans-cables-analogique-noir-blanc-noir-blanc' WHERE `virtuemart_product_id` = '1861217'
2023-10-13	12:51:38	1725	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30297_compteur_vdo_m2_1_wl_sans_cebles_analogique_noir-blanc.jpg
2023-10-13	12:51:38	1725	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:38	1725	[DEBUG]	Process image file
2023-10-13	12:51:38	1725	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:38	1725	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:38	1725	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30297_compteur_vdo_m2_1_wl_sans_cebles_analogique_noir-blanc.jpg
2023-10-13	12:51:38	1725	[DEBUG]	Full name target: bcprisme/30297_compteur_vdo_m2_1_wl_sans_cebles_analogique_noir-blanc.jpg
2023-10-13	12:51:39	1725	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:39	1725	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30297_compteur_vdo_m2_1_wl_sans_cebles_analogique_noir-blanc.jpg'
2023-10-13	12:51:39	1725	[DEBUG]	Query for Media
2023-10-13	12:51:39	1725	[DEBUG]	Executed store
2023-10-13	12:51:39	1725	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30297_compteur_vdo_m2_1_wl_sans_cebles_analogique_noir-blanc.jpg',`file_url_thumb`='bcprisme/30297_compteur_vdo_m2_1_wl_sans_cebles_analogique_noir-blanc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '53277'
2023-10-13	12:51:39	1725	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:39	1725	[DEBUG]	Executed store
2023-10-13	12:51:39	1725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861217','53277','1')
2023-10-13	12:51:39	1725	[DEBUG]	Store product image relation
2023-10-13	12:51:39	1725	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:39	1725	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861217 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:39	1725	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:39	1725	[DEBUG]	Executed store
2023-10-13	12:51:39	1725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861217','0','54.7818012999071','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:39	1725	[DEBUG]	Checking manufacturer
2023-10-13	12:51:39	1725	[DEBUG]	Load a row
2023-10-13	12:51:39	1725	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:39	1725	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:39	1725	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:39	1725	[DEBUG]	Executed store
2023-10-13	12:51:39	1725	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:39	1725	[DEBUG]	Manufacturer exists
2023-10-13	12:51:39	1725	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:39	1725	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:39	1725	[DEBUG]	Executed store
2023-10-13	12:51:39	1725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861217','79')
2023-10-13	12:51:39	1725	[DEBUG]	Find the custom field ID
2023-10-13	12:51:39	1725	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:39	1725	[DEBUG]	No custom field ID found
2023-10-13	12:51:39	1725	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:39	1725	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:39	1725	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861217 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:39	1725	[DEBUG]	Store custom available field
2023-10-13	12:51:39	1725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861217,3,'0',1)
2023-10-13	12:51:39	1725	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:39	1725	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:39	1725	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861217 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:39	1725	[DEBUG]	Store custom available field
2023-10-13	12:51:39	1725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861217,6,'choisir la taille',3)
2023-10-13	12:51:39	1725	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:39	1725	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:39	1725	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:39	1725	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:39	1725	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861217 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:39	1725	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:39	1725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861217,8,1)
2023-10-13	12:51:39	1725	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:39	1725	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861217\":[1861217,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861217
2023-10-13	12:51:39	1725	[DEBUG]	Checking category
2023-10-13	12:51:39	1725	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:39	1725	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861217
2023-10-13	12:51:39	1725	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:39	1725	[DEBUG]	Executed store
2023-10-13	12:51:39	1725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861217','7310')
2023-10-13	12:51:39	1725	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:39	1725	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861217 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:39	1725	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:39	1725	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861217
2023-10-13	12:51:39	1726	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:39	1726	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:39	1726	[DEBUG]	Use field value for field taille
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:39	1726	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:39	1726	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:39	1726	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:39	1726	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:39	1726	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:39	1726	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:39	1726	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:39	1726	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:39	1726	[DEBUG]	Use field value for field published
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:39	1726	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field override
2023-10-13	12:51:39	1726	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:39	1726	[DEBUG]	Use field value for field slug
2023-10-13	12:51:39	1726	[DEBUG]	Process line 1726
2023-10-13	12:51:39	1726	[DEBUG]	Load a row
2023-10-13	12:51:39	1726	[DEBUG]	Processing item: 4037438300255
2023-10-13	12:51:39	1726	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:39	1726	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:39	1726	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5782_25'
2023-10-13	12:51:39	1726	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:39	1726	[DEBUG]	Processing product tax
2023-10-13	12:51:39	1726	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:39	1726	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:39	1726	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:39	1726	[DEBUG]	Query for Product
2023-10-13	12:51:39	1726	[DEBUG]	Executed store
2023-10-13	12:51:39	1726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861217','4037438300255','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:39	1726	[DEBUG]	No parent found
2023-10-13	12:51:39	1726	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861217 AND customfield_value = 'stockable'
2023-10-13	12:51:39	1726	[DEBUG]	Check product language entry
2023-10-13	12:51:39	1726	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861218
2023-10-13	12:51:39	1726	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:39	1726	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4037438300255' AND `virtuemart_product_id` != 1861218
2023-10-13	12:51:39	1726	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:39	1726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861218, '4037438300255')
2023-10-13	12:51:39	1726	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:39	1726	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-vdo-m2-1-wl-sans-cables-analogique-noir-blanc-noir-blanc-all' AND `virtuemart_product_id` != 1861218
2023-10-13	12:51:39	1726	[DEBUG]	Query for ProductLang
2023-10-13	12:51:39	1726	[DEBUG]	Executed store
2023-10-13	12:51:39	1726	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma COMPTEUR VDO M2.1 WL sans câbles analogique noir-blanc / Noir-blanc (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-vdo-m2-1-wl-sans-cables-analogique-noir-blanc-noir-blanc-all' WHERE `virtuemart_product_id` = '1861218'
2023-10-13	12:51:39	1726	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30297_compteur_vdo_m2_1_wl_sans_cebles_analogique_noir-blanc.jpg
2023-10-13	12:51:39	1726	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:39	1726	[DEBUG]	Process image file
2023-10-13	12:51:39	1726	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:39	1726	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:39	1726	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30297_compteur_vdo_m2_1_wl_sans_cebles_analogique_noir-blanc.jpg
2023-10-13	12:51:39	1726	[DEBUG]	Full name target: bcprisme/30297_compteur_vdo_m2_1_wl_sans_cebles_analogique_noir-blanc.jpg
2023-10-13	12:51:40	1726	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:40	1726	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30297_compteur_vdo_m2_1_wl_sans_cebles_analogique_noir-blanc.jpg'
2023-10-13	12:51:40	1726	[DEBUG]	Query for Media
2023-10-13	12:51:40	1726	[DEBUG]	Executed store
2023-10-13	12:51:40	1726	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30297_compteur_vdo_m2_1_wl_sans_cebles_analogique_noir-blanc.jpg',`file_url_thumb`='bcprisme/30297_compteur_vdo_m2_1_wl_sans_cebles_analogique_noir-blanc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '53277'
2023-10-13	12:51:40	1726	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:40	1726	[DEBUG]	Executed store
2023-10-13	12:51:40	1726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861218','53277','1')
2023-10-13	12:51:40	1726	[DEBUG]	Store product image relation
2023-10-13	12:51:40	1726	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:40	1726	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861218 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:40	1726	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:40	1726	[DEBUG]	Executed store
2023-10-13	12:51:40	1726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861218','0','54.7818012999071','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:40	1726	[DEBUG]	Checking manufacturer
2023-10-13	12:51:40	1726	[DEBUG]	Load a row
2023-10-13	12:51:40	1726	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:40	1726	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:40	1726	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:40	1726	[DEBUG]	Executed store
2023-10-13	12:51:40	1726	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:40	1726	[DEBUG]	Manufacturer exists
2023-10-13	12:51:40	1726	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:40	1726	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:40	1726	[DEBUG]	Executed store
2023-10-13	12:51:40	1726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861218','79')
2023-10-13	12:51:40	1726	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:40	1726	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:40	1726	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861218 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:40	1726	[DEBUG]	Store custom available field
2023-10-13	12:51:40	1726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861218,3,'',1)
2023-10-13	12:51:40	1726	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:40	1726	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:51:40	1726	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861218 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:40	1726	[DEBUG]	Store custom available field
2023-10-13	12:51:40	1726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861218,6,'All',3)
2023-10-13	12:51:40	1726	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:40	1726	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:40	1726	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861217
2023-10-13	12:51:40	1726	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:40	1726	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861217\":[1861217,8,1,\"choisir la taille\"],\"1861218\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861217
2023-10-13	12:51:40	1726	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:40	1726	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861218
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:40	1727	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field taille
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:40	1727	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:40	1727	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:40	1727	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:40	1727	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:40	1727	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:40	1727	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field published
2023-10-13	12:51:40	1727	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:40	1727	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field override
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:40	1727	[DEBUG]	Use field value for field slug
2023-10-13	12:51:40	1727	[DEBUG]	Process line 1727
2023-10-13	12:51:40	1727	[DEBUG]	Load a row
2023-10-13	12:51:40	1727	[DEBUG]	Processing item: A_6213_3
2023-10-13	12:51:40	1727	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:40	1727	[DEBUG]	Processing product tax
2023-10-13	12:51:40	1727	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:40	1727	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:40	1727	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:40	1727	[DEBUG]	Query for Product
2023-10-13	12:51:40	1727	[DEBUG]	Executed store
2023-10-13	12:51:40	1727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6213_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:40	1727	[DEBUG]	Check product language entry
2023-10-13	12:51:40	1727	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861219
2023-10-13	12:51:40	1727	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:40	1727	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6213_3' AND `virtuemart_product_id` != 1861219
2023-10-13	12:51:40	1727	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:40	1727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861219, 'A_6213_3')
2023-10-13	12:51:40	1727	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:40	1727	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-copmpteur-vdo-m1-1-wr-avec-cables-none' AND `virtuemart_product_id` != 1861219
2023-10-13	12:51:40	1727	[DEBUG]	Query for ProductLang
2023-10-13	12:51:40	1727	[DEBUG]	Executed store
2023-10-13	12:51:40	1727	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.58791',`product_name`='Sigma COPMPTEUR VDO M1.1 WR avec câbles  / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-copmpteur-vdo-m1-1-wr-avec-cables-none' WHERE `virtuemart_product_id` = '1861219'
2023-10-13	12:51:40	1727	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32056_compteur_vdo_m1_1_wr_avec_cebles_.jpg
2023-10-13	12:51:40	1727	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:40	1727	[DEBUG]	Process image file
2023-10-13	12:51:40	1727	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:40	1727	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:40	1727	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32056_compteur_vdo_m1_1_wr_avec_cebles_.jpg
2023-10-13	12:51:40	1727	[DEBUG]	Full name target: bcprisme/32056_compteur_vdo_m1_1_wr_avec_cebles_.jpg
2023-10-13	12:51:41	1727	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:41	1727	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32056_compteur_vdo_m1_1_wr_avec_cebles_.jpg'
2023-10-13	12:51:41	1727	[DEBUG]	Query for Media
2023-10-13	12:51:41	1727	[DEBUG]	Executed store
2023-10-13	12:51:41	1727	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32056_compteur_vdo_m1_1_wr_avec_cebles_.jpg',`file_url_thumb`='bcprisme/32056_compteur_vdo_m1_1_wr_avec_cebles_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15274'
2023-10-13	12:51:41	1727	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:41	1727	[DEBUG]	Executed store
2023-10-13	12:51:41	1727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861219','15274','1')
2023-10-13	12:51:41	1727	[DEBUG]	Store product image relation
2023-10-13	12:51:41	1727	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:41	1727	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861219 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:41	1727	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:41	1727	[DEBUG]	Executed store
2023-10-13	12:51:41	1727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861219','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:41	1727	[DEBUG]	Checking manufacturer
2023-10-13	12:51:41	1727	[DEBUG]	Load a row
2023-10-13	12:51:41	1727	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:41	1727	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:41	1727	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:41	1727	[DEBUG]	Executed store
2023-10-13	12:51:41	1727	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:41	1727	[DEBUG]	Manufacturer exists
2023-10-13	12:51:41	1727	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:41	1727	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:41	1727	[DEBUG]	Executed store
2023-10-13	12:51:41	1727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861219','79')
2023-10-13	12:51:41	1727	[DEBUG]	Find the custom field ID
2023-10-13	12:51:41	1727	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:41	1727	[DEBUG]	No custom field ID found
2023-10-13	12:51:41	1727	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:41	1727	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:41	1727	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861219 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:41	1727	[DEBUG]	Store custom available field
2023-10-13	12:51:41	1727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861219,3,'0',1)
2023-10-13	12:51:41	1727	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:41	1727	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:41	1727	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861219 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:41	1727	[DEBUG]	Store custom available field
2023-10-13	12:51:41	1727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861219,6,'choisir la taille',3)
2023-10-13	12:51:41	1727	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:41	1727	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:41	1727	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:41	1727	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:41	1727	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861219 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:41	1727	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:41	1727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861219,8,1)
2023-10-13	12:51:41	1727	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:41	1727	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861219\":[1861219,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861219
2023-10-13	12:51:41	1727	[DEBUG]	Checking category
2023-10-13	12:51:41	1727	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:41	1727	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861219
2023-10-13	12:51:41	1727	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:41	1727	[DEBUG]	Executed store
2023-10-13	12:51:41	1727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861219','7310')
2023-10-13	12:51:41	1727	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:41	1727	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861219 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:41	1727	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:41	1727	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861219
2023-10-13	12:51:41	1728	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:41	1728	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:41	1728	[DEBUG]	Use field value for field taille
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:41	1728	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:41	1728	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:41	1728	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:41	1728	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:41	1728	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:41	1728	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:41	1728	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:41	1728	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:41	1728	[DEBUG]	Use field value for field published
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:41	1728	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field override
2023-10-13	12:51:41	1728	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:41	1728	[DEBUG]	Use field value for field slug
2023-10-13	12:51:41	1728	[DEBUG]	Process line 1728
2023-10-13	12:51:41	1728	[DEBUG]	Load a row
2023-10-13	12:51:41	1728	[DEBUG]	Processing item: 4037438300101
2023-10-13	12:51:41	1728	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:41	1728	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:41	1728	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6213_3'
2023-10-13	12:51:41	1728	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:41	1728	[DEBUG]	Processing product tax
2023-10-13	12:51:41	1728	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:41	1728	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:41	1728	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:41	1728	[DEBUG]	Query for Product
2023-10-13	12:51:41	1728	[DEBUG]	Executed store
2023-10-13	12:51:41	1728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861219','4037438300101','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:41	1728	[DEBUG]	No parent found
2023-10-13	12:51:41	1728	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861219 AND customfield_value = 'stockable'
2023-10-13	12:51:41	1728	[DEBUG]	Check product language entry
2023-10-13	12:51:41	1728	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861220
2023-10-13	12:51:41	1728	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:41	1728	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4037438300101' AND `virtuemart_product_id` != 1861220
2023-10-13	12:51:41	1728	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:41	1728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861220, '4037438300101')
2023-10-13	12:51:41	1728	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:41	1728	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-copmpteur-vdo-m1-1-wr-avec-cables-none-all' AND `virtuemart_product_id` != 1861220
2023-10-13	12:51:41	1728	[DEBUG]	Query for ProductLang
2023-10-13	12:51:41	1728	[DEBUG]	Executed store
2023-10-13	12:51:41	1728	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma COPMPTEUR VDO M1.1 WR avec câbles  / None (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-copmpteur-vdo-m1-1-wr-avec-cables-none-all' WHERE `virtuemart_product_id` = '1861220'
2023-10-13	12:51:41	1728	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32056_compteur_vdo_m1_1_wr_avec_cebles_.jpg
2023-10-13	12:51:41	1728	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:41	1728	[DEBUG]	Process image file
2023-10-13	12:51:41	1728	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:41	1728	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:41	1728	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32056_compteur_vdo_m1_1_wr_avec_cebles_.jpg
2023-10-13	12:51:41	1728	[DEBUG]	Full name target: bcprisme/32056_compteur_vdo_m1_1_wr_avec_cebles_.jpg
2023-10-13	12:51:42	1728	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:42	1728	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32056_compteur_vdo_m1_1_wr_avec_cebles_.jpg'
2023-10-13	12:51:42	1728	[DEBUG]	Query for Media
2023-10-13	12:51:42	1728	[DEBUG]	Executed store
2023-10-13	12:51:42	1728	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32056_compteur_vdo_m1_1_wr_avec_cebles_.jpg',`file_url_thumb`='bcprisme/32056_compteur_vdo_m1_1_wr_avec_cebles_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15274'
2023-10-13	12:51:42	1728	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:42	1728	[DEBUG]	Executed store
2023-10-13	12:51:42	1728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861220','15274','1')
2023-10-13	12:51:42	1728	[DEBUG]	Store product image relation
2023-10-13	12:51:42	1728	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:42	1728	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861220 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:42	1728	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:42	1728	[DEBUG]	Executed store
2023-10-13	12:51:42	1728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861220','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:42	1728	[DEBUG]	Checking manufacturer
2023-10-13	12:51:42	1728	[DEBUG]	Load a row
2023-10-13	12:51:42	1728	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:42	1728	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:42	1728	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:42	1728	[DEBUG]	Executed store
2023-10-13	12:51:42	1728	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:42	1728	[DEBUG]	Manufacturer exists
2023-10-13	12:51:42	1728	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:42	1728	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:42	1728	[DEBUG]	Executed store
2023-10-13	12:51:42	1728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861220','79')
2023-10-13	12:51:42	1728	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:42	1728	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:42	1728	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861220 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:42	1728	[DEBUG]	Store custom available field
2023-10-13	12:51:42	1728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861220,3,'',1)
2023-10-13	12:51:42	1728	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:42	1728	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:51:42	1728	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861220 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:42	1728	[DEBUG]	Store custom available field
2023-10-13	12:51:42	1728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861220,6,'All',3)
2023-10-13	12:51:42	1728	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:42	1728	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:42	1728	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861219
2023-10-13	12:51:42	1728	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:42	1728	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861219\":[1861219,8,1,\"choisir la taille\"],\"1861220\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861219
2023-10-13	12:51:42	1728	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:42	1728	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861220
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:42	1729	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field taille
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:42	1729	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:42	1729	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:42	1729	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:42	1729	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:42	1729	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:42	1729	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field published
2023-10-13	12:51:42	1729	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:42	1729	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field override
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:42	1729	[DEBUG]	Use field value for field slug
2023-10-13	12:51:42	1729	[DEBUG]	Process line 1729
2023-10-13	12:51:42	1729	[DEBUG]	Load a row
2023-10-13	12:51:42	1729	[DEBUG]	Processing item: A_6364_208
2023-10-13	12:51:42	1729	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:42	1729	[DEBUG]	Processing product tax
2023-10-13	12:51:42	1729	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:42	1729	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:42	1729	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:42	1729	[DEBUG]	Query for Product
2023-10-13	12:51:42	1729	[DEBUG]	Executed store
2023-10-13	12:51:42	1729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6364_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:42	1729	[DEBUG]	Check product language entry
2023-10-13	12:51:42	1729	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861221
2023-10-13	12:51:42	1729	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:42	1729	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6364_208' AND `virtuemart_product_id` != 1861221
2023-10-13	12:51:42	1729	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:42	1729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861221, 'A_6364_208')
2023-10-13	12:51:42	1729	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:42	1729	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-sigma-bc-16-16-sts-sans-cables-digital-noir-aucune' AND `virtuemart_product_id` != 1861221
2023-10-13	12:51:42	1729	[DEBUG]	Query for ProductLang
2023-10-13	12:51:42	1729	[DEBUG]	Executed store
2023-10-13	12:51:42	1729	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.68273',`product_name`='Sigma COMPTEUR Sigma BC 16.16 STS sans câbles digital noir / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-sigma-bc-16-16-sts-sans-cables-digital-noir-aucune' WHERE `virtuemart_product_id` = '1861221'
2023-10-13	12:51:42	1729	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32250_sigma_compteur_bc_16_16_sts_sans_cebles_digital_noir.jpg
2023-10-13	12:51:42	1729	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:42	1729	[DEBUG]	Process image file
2023-10-13	12:51:42	1729	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:42	1729	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:42	1729	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32250_sigma_compteur_bc_16_16_sts_sans_cebles_digital_noir.jpg
2023-10-13	12:51:42	1729	[DEBUG]	Full name target: bcprisme/32250_sigma_compteur_bc_16_16_sts_sans_cebles_digital_noir.jpg
2023-10-13	12:51:43	1729	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:43	1729	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32250_sigma_compteur_bc_16_16_sts_sans_cebles_digital_noir.jpg'
2023-10-13	12:51:43	1729	[DEBUG]	Query for Media
2023-10-13	12:51:43	1729	[DEBUG]	Executed store
2023-10-13	12:51:43	1729	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32250_sigma_compteur_bc_16_16_sts_sans_cebles_digital_noir.jpg',`file_url_thumb`='bcprisme/32250_sigma_compteur_bc_16_16_sts_sans_cebles_digital_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15275'
2023-10-13	12:51:43	1729	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:43	1729	[DEBUG]	Executed store
2023-10-13	12:51:43	1729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861221','15275','1')
2023-10-13	12:51:43	1729	[DEBUG]	Store product image relation
2023-10-13	12:51:43	1729	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:43	1729	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861221 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:43	1729	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:43	1729	[DEBUG]	Executed store
2023-10-13	12:51:43	1729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861221','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:43	1729	[DEBUG]	Checking manufacturer
2023-10-13	12:51:43	1729	[DEBUG]	Load a row
2023-10-13	12:51:43	1729	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:43	1729	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:43	1729	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:43	1729	[DEBUG]	Executed store
2023-10-13	12:51:43	1729	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:43	1729	[DEBUG]	Manufacturer exists
2023-10-13	12:51:43	1729	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:43	1729	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:43	1729	[DEBUG]	Executed store
2023-10-13	12:51:43	1729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861221','79')
2023-10-13	12:51:43	1729	[DEBUG]	Find the custom field ID
2023-10-13	12:51:43	1729	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:43	1729	[DEBUG]	No custom field ID found
2023-10-13	12:51:43	1729	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:43	1729	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:43	1729	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861221 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:43	1729	[DEBUG]	Store custom available field
2023-10-13	12:51:43	1729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861221,3,'0',1)
2023-10-13	12:51:43	1729	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:43	1729	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:43	1729	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861221 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:43	1729	[DEBUG]	Store custom available field
2023-10-13	12:51:43	1729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861221,6,'choisir la taille',3)
2023-10-13	12:51:43	1729	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:43	1729	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:43	1729	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:43	1729	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:43	1729	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861221 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:43	1729	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:43	1729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861221,8,1)
2023-10-13	12:51:43	1729	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:43	1729	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861221\":[1861221,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861221
2023-10-13	12:51:43	1729	[DEBUG]	Checking category
2023-10-13	12:51:43	1729	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:43	1729	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861221
2023-10-13	12:51:43	1729	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:43	1729	[DEBUG]	Executed store
2023-10-13	12:51:43	1729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861221','7310')
2023-10-13	12:51:43	1729	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:43	1729	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861221 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:43	1729	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:43	1729	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861221
2023-10-13	12:51:43	1730	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:43	1730	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:43	1730	[DEBUG]	Use field value for field taille
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:43	1730	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:43	1730	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:43	1730	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:43	1730	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:43	1730	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:43	1730	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:43	1730	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:43	1730	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:43	1730	[DEBUG]	Use field value for field published
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:43	1730	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field override
2023-10-13	12:51:43	1730	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:43	1730	[DEBUG]	Use field value for field slug
2023-10-13	12:51:43	1730	[DEBUG]	Process line 1730
2023-10-13	12:51:43	1730	[DEBUG]	Load a row
2023-10-13	12:51:43	1730	[DEBUG]	Processing item: 4016224016174
2023-10-13	12:51:43	1730	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:43	1730	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:43	1730	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6364_208'
2023-10-13	12:51:43	1730	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:43	1730	[DEBUG]	Processing product tax
2023-10-13	12:51:43	1730	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:43	1730	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:43	1730	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:43	1730	[DEBUG]	Query for Product
2023-10-13	12:51:43	1730	[DEBUG]	Executed store
2023-10-13	12:51:43	1730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861221','4016224016174','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:43	1730	[DEBUG]	No parent found
2023-10-13	12:51:43	1730	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861221 AND customfield_value = 'stockable'
2023-10-13	12:51:43	1730	[DEBUG]	Check product language entry
2023-10-13	12:51:43	1730	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861222
2023-10-13	12:51:43	1730	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:43	1730	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4016224016174' AND `virtuemart_product_id` != 1861222
2023-10-13	12:51:43	1730	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:43	1730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861222, '4016224016174')
2023-10-13	12:51:43	1730	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:43	1730	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-sigma-bc-16-16-sts-sans-cables-digital-noir-aucune-all' AND `virtuemart_product_id` != 1861222
2023-10-13	12:51:43	1730	[DEBUG]	Query for ProductLang
2023-10-13	12:51:43	1730	[DEBUG]	Executed store
2023-10-13	12:51:43	1730	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma COMPTEUR Sigma BC 16.16 STS sans câbles digital noir / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-sigma-bc-16-16-sts-sans-cables-digital-noir-aucune-all' WHERE `virtuemart_product_id` = '1861222'
2023-10-13	12:51:43	1730	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32250_sigma_compteur_bc_16_16_sts_sans_cebles_digital_noir.jpg
2023-10-13	12:51:43	1730	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:43	1730	[DEBUG]	Process image file
2023-10-13	12:51:43	1730	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:43	1730	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:43	1730	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32250_sigma_compteur_bc_16_16_sts_sans_cebles_digital_noir.jpg
2023-10-13	12:51:43	1730	[DEBUG]	Full name target: bcprisme/32250_sigma_compteur_bc_16_16_sts_sans_cebles_digital_noir.jpg
2023-10-13	12:51:44	1730	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:44	1730	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32250_sigma_compteur_bc_16_16_sts_sans_cebles_digital_noir.jpg'
2023-10-13	12:51:44	1730	[DEBUG]	Query for Media
2023-10-13	12:51:44	1730	[DEBUG]	Executed store
2023-10-13	12:51:44	1730	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32250_sigma_compteur_bc_16_16_sts_sans_cebles_digital_noir.jpg',`file_url_thumb`='bcprisme/32250_sigma_compteur_bc_16_16_sts_sans_cebles_digital_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15275'
2023-10-13	12:51:44	1730	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:44	1730	[DEBUG]	Executed store
2023-10-13	12:51:44	1730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861222','15275','1')
2023-10-13	12:51:44	1730	[DEBUG]	Store product image relation
2023-10-13	12:51:44	1730	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:44	1730	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861222 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:44	1730	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:44	1730	[DEBUG]	Executed store
2023-10-13	12:51:44	1730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861222','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:44	1730	[DEBUG]	Checking manufacturer
2023-10-13	12:51:44	1730	[DEBUG]	Load a row
2023-10-13	12:51:44	1730	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:44	1730	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:44	1730	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:44	1730	[DEBUG]	Executed store
2023-10-13	12:51:44	1730	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:44	1730	[DEBUG]	Manufacturer exists
2023-10-13	12:51:44	1730	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:44	1730	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:44	1730	[DEBUG]	Executed store
2023-10-13	12:51:44	1730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861222','79')
2023-10-13	12:51:44	1730	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:44	1730	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:44	1730	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861222 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:44	1730	[DEBUG]	Store custom available field
2023-10-13	12:51:44	1730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861222,3,'',1)
2023-10-13	12:51:44	1730	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:44	1730	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:51:44	1730	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861222 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:44	1730	[DEBUG]	Store custom available field
2023-10-13	12:51:44	1730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861222,6,'All',3)
2023-10-13	12:51:44	1730	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:44	1730	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:44	1730	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861221
2023-10-13	12:51:44	1730	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:44	1730	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861221\":[1861221,8,1,\"choisir la taille\"],\"1861222\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861221
2023-10-13	12:51:44	1730	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:44	1730	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861222
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:44	1731	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field taille
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:44	1731	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:44	1731	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:44	1731	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:44	1731	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:44	1731	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:44	1731	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field published
2023-10-13	12:51:44	1731	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:44	1731	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field override
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:44	1731	[DEBUG]	Use field value for field slug
2023-10-13	12:51:44	1731	[DEBUG]	Process line 1731
2023-10-13	12:51:44	1731	[DEBUG]	Load a row
2023-10-13	12:51:44	1731	[DEBUG]	Processing item: A_6515_3
2023-10-13	12:51:44	1731	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:44	1731	[DEBUG]	Processing product tax
2023-10-13	12:51:44	1731	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:44	1731	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:44	1731	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:44	1731	[DEBUG]	Query for Product
2023-10-13	12:51:44	1731	[DEBUG]	Executed store
2023-10-13	12:51:44	1731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6515_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:44	1731	[DEBUG]	Check product language entry
2023-10-13	12:51:44	1731	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861223
2023-10-13	12:51:44	1731	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:44	1731	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6515_3' AND `virtuemart_product_id` != 1861223
2023-10-13	12:51:44	1731	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:44	1731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861223, 'A_6515_3')
2023-10-13	12:51:44	1731	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:44	1731	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-ceinture-emetrice-ant-bluetooth-none' AND `virtuemart_product_id` != 1861223
2023-10-13	12:51:44	1731	[DEBUG]	Query for ProductLang
2023-10-13	12:51:44	1731	[DEBUG]	Executed store
2023-10-13	12:51:44	1731	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.69430',`product_name`='Sigma Ceinture émetrice ANT+/Bluetooth / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-ceinture-emetrice-ant-bluetooth-none' WHERE `virtuemart_product_id` = '1861223'
2023-10-13	12:51:44	1731	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32396_sigma_ceinture_emetrice_ant+-bluetooth.jpg
2023-10-13	12:51:44	1731	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:44	1731	[DEBUG]	Process image file
2023-10-13	12:51:44	1731	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:44	1731	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:44	1731	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32396_sigma_ceinture_emetrice_ant+-bluetooth.jpg
2023-10-13	12:51:44	1731	[DEBUG]	Full name target: bcprisme/32396_sigma_ceinture_emetrice_ant+-bluetooth.jpg
2023-10-13	12:51:45	1731	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:45	1731	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32396_sigma_ceinture_emetrice_ant+-bluetooth.jpg'
2023-10-13	12:51:45	1731	[DEBUG]	Query for Media
2023-10-13	12:51:45	1731	[DEBUG]	Executed store
2023-10-13	12:51:45	1731	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32396_sigma_ceinture_emetrice_ant+-bluetooth.jpg',`file_url_thumb`='bcprisme/32396_sigma_ceinture_emetrice_ant+-bluetooth.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '134076'
2023-10-13	12:51:45	1731	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:45	1731	[DEBUG]	Executed store
2023-10-13	12:51:45	1731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861223','134076','1')
2023-10-13	12:51:45	1731	[DEBUG]	Store product image relation
2023-10-13	12:51:45	1731	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:45	1731	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861223 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:45	1731	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:45	1731	[DEBUG]	Executed store
2023-10-13	12:51:45	1731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861223','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:45	1731	[DEBUG]	Checking manufacturer
2023-10-13	12:51:45	1731	[DEBUG]	Load a row
2023-10-13	12:51:45	1731	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:45	1731	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:45	1731	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:45	1731	[DEBUG]	Executed store
2023-10-13	12:51:45	1731	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:45	1731	[DEBUG]	Manufacturer exists
2023-10-13	12:51:45	1731	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:45	1731	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:45	1731	[DEBUG]	Executed store
2023-10-13	12:51:45	1731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861223','79')
2023-10-13	12:51:45	1731	[DEBUG]	Find the custom field ID
2023-10-13	12:51:45	1731	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:45	1731	[DEBUG]	No custom field ID found
2023-10-13	12:51:45	1731	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:45	1731	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:45	1731	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861223 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:45	1731	[DEBUG]	Store custom available field
2023-10-13	12:51:45	1731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861223,3,'0',1)
2023-10-13	12:51:45	1731	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:45	1731	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:45	1731	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861223 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:45	1731	[DEBUG]	Store custom available field
2023-10-13	12:51:45	1731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861223,6,'choisir la taille',3)
2023-10-13	12:51:45	1731	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:45	1731	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:45	1731	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:45	1731	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:45	1731	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861223 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:45	1731	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:45	1731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861223,8,1)
2023-10-13	12:51:45	1731	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:45	1731	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861223\":[1861223,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861223
2023-10-13	12:51:45	1731	[DEBUG]	Checking category
2023-10-13	12:51:45	1731	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:45	1731	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861223
2023-10-13	12:51:45	1731	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:45	1731	[DEBUG]	Executed store
2023-10-13	12:51:45	1731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861223','7310')
2023-10-13	12:51:45	1731	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:45	1731	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861223 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:45	1731	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:45	1731	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861223
2023-10-13	12:51:45	1732	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:45	1732	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:45	1732	[DEBUG]	Use field value for field taille
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:45	1732	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:45	1732	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:45	1732	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:45	1732	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:45	1732	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:45	1732	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:45	1732	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:45	1732	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:45	1732	[DEBUG]	Use field value for field published
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:45	1732	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field override
2023-10-13	12:51:45	1732	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:45	1732	[DEBUG]	Use field value for field slug
2023-10-13	12:51:45	1732	[DEBUG]	Process line 1732
2023-10-13	12:51:45	1732	[DEBUG]	Load a row
2023-10-13	12:51:45	1732	[DEBUG]	Processing item: 4016224203321
2023-10-13	12:51:45	1732	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:45	1732	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:45	1732	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6515_3'
2023-10-13	12:51:45	1732	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:45	1732	[DEBUG]	Processing product tax
2023-10-13	12:51:45	1732	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:45	1732	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:45	1732	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:45	1732	[DEBUG]	Query for Product
2023-10-13	12:51:45	1732	[DEBUG]	Executed store
2023-10-13	12:51:45	1732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861223','4016224203321','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:45	1732	[DEBUG]	No parent found
2023-10-13	12:51:45	1732	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861223 AND customfield_value = 'stockable'
2023-10-13	12:51:45	1732	[DEBUG]	Check product language entry
2023-10-13	12:51:45	1732	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861224
2023-10-13	12:51:45	1732	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:45	1732	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4016224203321' AND `virtuemart_product_id` != 1861224
2023-10-13	12:51:45	1732	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:45	1732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861224, '4016224203321')
2023-10-13	12:51:45	1732	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:45	1732	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-ceinture-emetrice-ant-bluetooth-none-all' AND `virtuemart_product_id` != 1861224
2023-10-13	12:51:45	1732	[DEBUG]	Query for ProductLang
2023-10-13	12:51:45	1732	[DEBUG]	Executed store
2023-10-13	12:51:45	1732	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma Ceinture émetrice ANT+/Bluetooth / None (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-ceinture-emetrice-ant-bluetooth-none-all' WHERE `virtuemart_product_id` = '1861224'
2023-10-13	12:51:45	1732	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32396_sigma_ceinture_emetrice_ant+-bluetooth.jpg
2023-10-13	12:51:45	1732	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:45	1732	[DEBUG]	Process image file
2023-10-13	12:51:45	1732	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:45	1732	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:45	1732	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32396_sigma_ceinture_emetrice_ant+-bluetooth.jpg
2023-10-13	12:51:46	1732	[DEBUG]	Full name target: bcprisme/32396_sigma_ceinture_emetrice_ant+-bluetooth.jpg
2023-10-13	12:51:46	1732	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:46	1732	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32396_sigma_ceinture_emetrice_ant+-bluetooth.jpg'
2023-10-13	12:51:46	1732	[DEBUG]	Query for Media
2023-10-13	12:51:46	1732	[DEBUG]	Executed store
2023-10-13	12:51:46	1732	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32396_sigma_ceinture_emetrice_ant+-bluetooth.jpg',`file_url_thumb`='bcprisme/32396_sigma_ceinture_emetrice_ant+-bluetooth.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '134076'
2023-10-13	12:51:46	1732	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:46	1732	[DEBUG]	Executed store
2023-10-13	12:51:46	1732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861224','134076','1')
2023-10-13	12:51:46	1732	[DEBUG]	Store product image relation
2023-10-13	12:51:46	1732	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:46	1732	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861224 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:46	1732	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:46	1732	[DEBUG]	Executed store
2023-10-13	12:51:46	1732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861224','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:46	1732	[DEBUG]	Checking manufacturer
2023-10-13	12:51:46	1732	[DEBUG]	Load a row
2023-10-13	12:51:46	1732	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:46	1732	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:46	1732	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:46	1732	[DEBUG]	Executed store
2023-10-13	12:51:46	1732	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:46	1732	[DEBUG]	Manufacturer exists
2023-10-13	12:51:46	1732	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:46	1732	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:46	1732	[DEBUG]	Executed store
2023-10-13	12:51:46	1732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861224','79')
2023-10-13	12:51:46	1732	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:46	1732	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:46	1732	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861224 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:46	1732	[DEBUG]	Store custom available field
2023-10-13	12:51:46	1732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861224,3,'',1)
2023-10-13	12:51:46	1732	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:46	1732	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:51:46	1732	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861224 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:46	1732	[DEBUG]	Store custom available field
2023-10-13	12:51:46	1732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861224,6,'All',3)
2023-10-13	12:51:46	1732	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:46	1732	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:46	1732	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861223
2023-10-13	12:51:46	1732	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:46	1732	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861223\":[1861223,8,1,\"choisir la taille\"],\"1861224\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861223
2023-10-13	12:51:46	1732	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:46	1732	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861224
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:46	1733	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field taille
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:46	1733	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:46	1733	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:46	1733	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:46	1733	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:46	1733	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:46	1733	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field published
2023-10-13	12:51:46	1733	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:46	1733	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field override
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:46	1733	[DEBUG]	Use field value for field slug
2023-10-13	12:51:46	1733	[DEBUG]	Process line 1733
2023-10-13	12:51:46	1733	[DEBUG]	Load a row
2023-10-13	12:51:47	1733	[DEBUG]	Processing item: A_7285_1
2023-10-13	12:51:47	1733	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:47	1733	[DEBUG]	Processing product tax
2023-10-13	12:51:47	1733	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:47	1733	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:47	1733	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:47	1733	[DEBUG]	Query for Product
2023-10-13	12:51:47	1733	[DEBUG]	Executed store
2023-10-13	12:51:47	1733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7285_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:47	1733	[DEBUG]	Check product language entry
2023-10-13	12:51:47	1733	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861225
2023-10-13	12:51:47	1733	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:47	1733	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7285_1' AND `virtuemart_product_id` != 1861225
2023-10-13	12:51:47	1733	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:47	1733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861225, 'A_7285_1')
2023-10-13	12:51:47	1733	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:47	1733	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-pure-ats-sans-cables-analogique-blanc-noir' AND `virtuemart_product_id` != 1861225
2023-10-13	12:51:47	1733	[DEBUG]	Query for ProductLang
2023-10-13	12:51:47	1733	[DEBUG]	Executed store
2023-10-13	12:51:47	1733	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.65793',`product_name`='Sigma Compteur Pure ATS sans câbles analogique blanc / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-pure-ats-sans-cables-analogique-blanc-noir' WHERE `virtuemart_product_id` = '1861225'
2023-10-13	12:51:47	1733	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_65793.jpg
2023-10-13	12:51:47	1733	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:47	1733	[DEBUG]	Process image file
2023-10-13	12:51:47	1733	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:47	1733	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:47	1733	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_65793.jpg
2023-10-13	12:51:47	1733	[DEBUG]	Full name target: bcprisme/20_65793.jpg
2023-10-13	12:51:47	1733	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:47	1733	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_65793.jpg'
2023-10-13	12:51:47	1733	[DEBUG]	Query for Media
2023-10-13	12:51:47	1733	[DEBUG]	Executed store
2023-10-13	12:51:47	1733	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_65793.jpg',`file_url_thumb`='bcprisme/20_65793.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '164058'
2023-10-13	12:51:47	1733	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:47	1733	[DEBUG]	Executed store
2023-10-13	12:51:47	1733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861225','164058','1')
2023-10-13	12:51:47	1733	[DEBUG]	Store product image relation
2023-10-13	12:51:47	1733	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:47	1733	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861225 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:47	1733	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:47	1733	[DEBUG]	Executed store
2023-10-13	12:51:47	1733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861225','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:47	1733	[DEBUG]	Checking manufacturer
2023-10-13	12:51:47	1733	[DEBUG]	Load a row
2023-10-13	12:51:47	1733	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:47	1733	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:47	1733	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:47	1733	[DEBUG]	Executed store
2023-10-13	12:51:47	1733	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:47	1733	[DEBUG]	Manufacturer exists
2023-10-13	12:51:47	1733	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:47	1733	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:47	1733	[DEBUG]	Executed store
2023-10-13	12:51:47	1733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861225','79')
2023-10-13	12:51:47	1733	[DEBUG]	Find the custom field ID
2023-10-13	12:51:47	1733	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:47	1733	[DEBUG]	No custom field ID found
2023-10-13	12:51:47	1733	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:47	1733	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:47	1733	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861225 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:47	1733	[DEBUG]	Store custom available field
2023-10-13	12:51:47	1733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861225,3,'0',1)
2023-10-13	12:51:47	1733	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:47	1733	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:47	1733	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861225 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:47	1733	[DEBUG]	Store custom available field
2023-10-13	12:51:47	1733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861225,6,'choisir la taille',3)
2023-10-13	12:51:47	1733	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:47	1733	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:47	1733	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:47	1733	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:47	1733	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861225 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:47	1733	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:47	1733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861225,8,1)
2023-10-13	12:51:47	1733	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:47	1733	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861225\":[1861225,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861225
2023-10-13	12:51:47	1733	[DEBUG]	Checking category
2023-10-13	12:51:47	1733	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:47	1733	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861225
2023-10-13	12:51:47	1733	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:47	1733	[DEBUG]	Executed store
2023-10-13	12:51:47	1733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861225','7310')
2023-10-13	12:51:47	1733	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:47	1733	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861225 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:47	1733	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:47	1733	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861225
2023-10-13	12:51:47	1734	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:48	1734	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:48	1734	[DEBUG]	Use field value for field taille
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:48	1734	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:48	1734	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:48	1734	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:48	1734	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:48	1734	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:48	1734	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:48	1734	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:48	1734	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:48	1734	[DEBUG]	Use field value for field published
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:48	1734	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field override
2023-10-13	12:51:48	1734	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:48	1734	[DEBUG]	Use field value for field slug
2023-10-13	12:51:48	1734	[DEBUG]	Process line 1734
2023-10-13	12:51:48	1734	[DEBUG]	Load a row
2023-10-13	12:51:48	1734	[DEBUG]	Processing item: 4016224031023
2023-10-13	12:51:48	1734	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:48	1734	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:48	1734	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7285_1'
2023-10-13	12:51:48	1734	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:48	1734	[DEBUG]	Processing product tax
2023-10-13	12:51:48	1734	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:48	1734	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:48	1734	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:48	1734	[DEBUG]	Query for Product
2023-10-13	12:51:48	1734	[DEBUG]	Executed store
2023-10-13	12:51:48	1734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861225','4016224031023','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:48	1734	[DEBUG]	No parent found
2023-10-13	12:51:48	1734	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861225 AND customfield_value = 'stockable'
2023-10-13	12:51:48	1734	[DEBUG]	Check product language entry
2023-10-13	12:51:48	1734	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861226
2023-10-13	12:51:48	1734	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:48	1734	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4016224031023' AND `virtuemart_product_id` != 1861226
2023-10-13	12:51:48	1734	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:48	1734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861226, '4016224031023')
2023-10-13	12:51:48	1734	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:48	1734	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-pure-ats-sans-cables-analogique-blanc-noir-unitaire' AND `virtuemart_product_id` != 1861226
2023-10-13	12:51:48	1734	[DEBUG]	Query for ProductLang
2023-10-13	12:51:48	1734	[DEBUG]	Executed store
2023-10-13	12:51:48	1734	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma Compteur Pure ATS sans câbles analogique blanc / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-pure-ats-sans-cables-analogique-blanc-noir-unitaire' WHERE `virtuemart_product_id` = '1861226'
2023-10-13	12:51:48	1734	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_65793.jpg
2023-10-13	12:51:48	1734	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:48	1734	[DEBUG]	Process image file
2023-10-13	12:51:48	1734	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:48	1734	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:48	1734	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_65793.jpg
2023-10-13	12:51:48	1734	[DEBUG]	Full name target: bcprisme/20_65793.jpg
2023-10-13	12:51:49	1734	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:49	1734	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_65793.jpg'
2023-10-13	12:51:49	1734	[DEBUG]	Query for Media
2023-10-13	12:51:49	1734	[DEBUG]	Executed store
2023-10-13	12:51:49	1734	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_65793.jpg',`file_url_thumb`='bcprisme/20_65793.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '164058'
2023-10-13	12:51:49	1734	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:49	1734	[DEBUG]	Executed store
2023-10-13	12:51:49	1734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861226','164058','1')
2023-10-13	12:51:49	1734	[DEBUG]	Store product image relation
2023-10-13	12:51:49	1734	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:49	1734	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861226 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:49	1734	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:49	1734	[DEBUG]	Executed store
2023-10-13	12:51:49	1734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861226','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:49	1734	[DEBUG]	Checking manufacturer
2023-10-13	12:51:49	1734	[DEBUG]	Load a row
2023-10-13	12:51:49	1734	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:49	1734	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:49	1734	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:49	1734	[DEBUG]	Executed store
2023-10-13	12:51:49	1734	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:51:49	1734	[DEBUG]	Manufacturer exists
2023-10-13	12:51:49	1734	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:51:49	1734	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:49	1734	[DEBUG]	Executed store
2023-10-13	12:51:49	1734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861226','79')
2023-10-13	12:51:49	1734	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:49	1734	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:49	1734	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861226 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:49	1734	[DEBUG]	Store custom available field
2023-10-13	12:51:49	1734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861226,3,'',1)
2023-10-13	12:51:49	1734	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:49	1734	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:51:49	1734	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861226 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:49	1734	[DEBUG]	Store custom available field
2023-10-13	12:51:49	1734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861226,6,'Unitaire',3)
2023-10-13	12:51:49	1734	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:49	1734	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:49	1734	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861225
2023-10-13	12:51:49	1734	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:49	1734	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861225\":[1861225,8,1,\"choisir la taille\"],\"1861226\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861225
2023-10-13	12:51:49	1734	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:49	1734	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861226
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:49	1735	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field taille
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:49	1735	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:49	1735	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:49	1735	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:49	1735	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:49	1735	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:49	1735	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field published
2023-10-13	12:51:49	1735	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:49	1735	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field override
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:49	1735	[DEBUG]	Use field value for field slug
2023-10-13	12:51:49	1735	[DEBUG]	Process line 1735
2023-10-13	12:51:49	1735	[DEBUG]	Load a row
2023-10-13	12:51:49	1735	[DEBUG]	Processing item: A_7644_0
2023-10-13	12:51:49	1735	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:49	1735	[DEBUG]	Processing product tax
2023-10-13	12:51:49	1735	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:49	1735	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:49	1735	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:49	1735	[DEBUG]	Query for Product
2023-10-13	12:51:49	1735	[DEBUG]	Executed store
2023-10-13	12:51:49	1735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7644_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:49	1735	[DEBUG]	Check product language entry
2023-10-13	12:51:49	1735	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861227
2023-10-13	12:51:49	1735	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:49	1735	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7644_0' AND `virtuemart_product_id` != 1861227
2023-10-13	12:51:49	1735	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:49	1735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861227, 'A_7644_0')
2023-10-13	12:51:49	1735	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:49	1735	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-compteur-wahoo-elemnt-roam-gps-unique' AND `virtuemart_product_id` != 1861227
2023-10-13	12:51:49	1735	[DEBUG]	Query for ProductLang
2023-10-13	12:51:49	1735	[DEBUG]	Executed store
2023-10-13	12:51:49	1735	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Points forts + Fonction Get Me Started, Back On Track, Route To Start, Take Me To, Retrace Route : + Écran personnalisable couleur d\'une grande clarté : + Capteur de luminosité ambiante : + Configuration du GPS avec l\'appli du Smartphone : + Boutons tactiles et faciles à utiliser : + La connectivité 100% sans-fil : + Les fonctionnalités uniques : + La fiabilité des données. Novateur et ultra-connecté, le GPS WAHOO Elemnt Roam est un véritable concentré de technologie dessiné pour répondre à tous les besoins du cycliste moderne comme la pratique du Gravel et les grandes aventures à vélo. Il dispose d\'une grande clarté d\'image avec son écran Gorilla Glass couleur très résistant pour visualiser facilement vos intinéraires et données. Connecté en Wi-fi, en ANT+ et en Bluetooth, il est compatible avec les deux principaux OS de smartphone : Android et iOS. Son écran principal se configure à l\'aide de votre smartphone, grâce auquel vous choisissez les champs à afficher, et leur position. Les indicateurs lumineux servent d\'alertes pour des indications telles qu\'un changement de direction, des conseils de vitesse ou même des notifications d\'appel ou de SMS. Doté d\'une interface cartographique, il vous permet de suivre en temps réel des amis équipés du même dispositif. Fonctionnant entièrement sans fil, il vous permet de charger vos traces d’entraînement directement sur internet via votre smartphone, mais également de télécharger vos sorties planifiées. De plus, il est équipé d\'un capteur de luminosité ambiante pour un ajustement rapide selon les variations de lumières. Un véritable bijou de technologie présenté par la marque américaine !<br>N° art fourn : WOO-WFCC4',`product_name`='WAHOO COMPTEUR Wahoo ELEMNT ROAM GPS / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-compteur-wahoo-elemnt-roam-gps-unique' WHERE `virtuemart_product_id` = '1861227'
2023-10-13	12:51:49	1735	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35125_compteur_wahoo_elemnt_roam_gps.jpg
2023-10-13	12:51:49	1735	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:51:49	1735	[DEBUG]	Process image file
2023-10-13	12:51:49	1735	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:51:49	1735	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:49	1735	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35125_compteur_wahoo_elemnt_roam_gps.jpg
2023-10-13	12:51:49	1735	[DEBUG]	Full name target: bcprisme/35125_compteur_wahoo_elemnt_roam_gps.jpg
2023-10-13	12:51:50	1735	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:50	1735	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35125_compteur_wahoo_elemnt_roam_gps.jpg'
2023-10-13	12:51:50	1735	[DEBUG]	Query for Media
2023-10-13	12:51:50	1735	[DEBUG]	Executed store
2023-10-13	12:51:50	1735	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35125_compteur_wahoo_elemnt_roam_gps.jpg',`file_url_thumb`='bcprisme/35125_compteur_wahoo_elemnt_roam_gps.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '349797'
2023-10-13	12:51:50	1735	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:50	1735	[DEBUG]	Executed store
2023-10-13	12:51:50	1735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861227','349797','1')
2023-10-13	12:51:50	1735	[DEBUG]	Store product image relation
2023-10-13	12:51:50	1735	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:50	1735	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861227 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:50	1735	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:50	1735	[DEBUG]	Executed store
2023-10-13	12:51:50	1735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861227','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:50	1735	[DEBUG]	Checking manufacturer
2023-10-13	12:51:50	1735	[DEBUG]	Load a row
2023-10-13	12:51:50	1735	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:50	1735	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:51:50	1735	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:50	1735	[DEBUG]	Executed store
2023-10-13	12:51:50	1735	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:51:50	1735	[DEBUG]	Manufacturer exists
2023-10-13	12:51:50	1735	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	12:51:50	1735	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:50	1735	[DEBUG]	Executed store
2023-10-13	12:51:50	1735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861227','207')
2023-10-13	12:51:50	1735	[DEBUG]	Find the custom field ID
2023-10-13	12:51:50	1735	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:50	1735	[DEBUG]	No custom field ID found
2023-10-13	12:51:50	1735	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:50	1735	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:50	1735	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861227 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:50	1735	[DEBUG]	Store custom available field
2023-10-13	12:51:50	1735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861227,3,'0',1)
2023-10-13	12:51:50	1735	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:50	1735	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:50	1735	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861227 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:50	1735	[DEBUG]	Store custom available field
2023-10-13	12:51:50	1735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861227,6,'choisir la taille',3)
2023-10-13	12:51:50	1735	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:50	1735	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:50	1735	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:50	1735	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:50	1735	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861227 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:50	1735	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:50	1735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861227,8,1)
2023-10-13	12:51:50	1735	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:50	1735	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861227\":[1861227,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861227
2023-10-13	12:51:50	1735	[DEBUG]	Checking category
2023-10-13	12:51:50	1735	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:50	1735	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861227
2023-10-13	12:51:50	1735	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:50	1735	[DEBUG]	Executed store
2023-10-13	12:51:50	1735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861227','7310')
2023-10-13	12:51:50	1735	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:50	1735	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861227 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:50	1735	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:50	1735	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861227
2023-10-13	12:51:50	1736	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:50	1736	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:50	1736	[DEBUG]	Use field value for field taille
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:50	1736	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:50	1736	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:50	1736	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:50	1736	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:50	1736	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:50	1736	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:50	1736	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:50	1736	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:50	1736	[DEBUG]	Use field value for field published
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:50	1736	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field override
2023-10-13	12:51:50	1736	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:50	1736	[DEBUG]	Use field value for field slug
2023-10-13	12:51:50	1736	[DEBUG]	Process line 1736
2023-10-13	12:51:50	1736	[DEBUG]	Load a row
2023-10-13	12:51:50	1736	[DEBUG]	Processing item: 853988006652
2023-10-13	12:51:50	1736	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:50	1736	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:50	1736	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7644_0'
2023-10-13	12:51:50	1736	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:50	1736	[DEBUG]	Processing product tax
2023-10-13	12:51:50	1736	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:50	1736	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:50	1736	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:50	1736	[DEBUG]	Query for Product
2023-10-13	12:51:50	1736	[DEBUG]	Executed store
2023-10-13	12:51:50	1736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861227','853988006652','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:50	1736	[DEBUG]	No parent found
2023-10-13	12:51:50	1736	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861227 AND customfield_value = 'stockable'
2023-10-13	12:51:50	1736	[DEBUG]	Check product language entry
2023-10-13	12:51:50	1736	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861228
2023-10-13	12:51:50	1736	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:50	1736	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '853988006652' AND `virtuemart_product_id` != 1861228
2023-10-13	12:51:50	1736	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:50	1736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861228, '853988006652')
2023-10-13	12:51:50	1736	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:50	1736	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-compteur-wahoo-elemnt-roam-gps-unique-all' AND `virtuemart_product_id` != 1861228
2023-10-13	12:51:50	1736	[DEBUG]	Query for ProductLang
2023-10-13	12:51:50	1736	[DEBUG]	Executed store
2023-10-13	12:51:50	1736	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='WAHOO COMPTEUR Wahoo ELEMNT ROAM GPS / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-compteur-wahoo-elemnt-roam-gps-unique-all' WHERE `virtuemart_product_id` = '1861228'
2023-10-13	12:51:50	1736	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35125_compteur_wahoo_elemnt_roam_gps.jpg
2023-10-13	12:51:50	1736	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:51:50	1736	[DEBUG]	Process image file
2023-10-13	12:51:50	1736	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:51:50	1736	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:50	1736	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35125_compteur_wahoo_elemnt_roam_gps.jpg
2023-10-13	12:51:50	1736	[DEBUG]	Full name target: bcprisme/35125_compteur_wahoo_elemnt_roam_gps.jpg
2023-10-13	12:51:51	1736	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:51	1736	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35125_compteur_wahoo_elemnt_roam_gps.jpg'
2023-10-13	12:51:51	1736	[DEBUG]	Query for Media
2023-10-13	12:51:51	1736	[DEBUG]	Executed store
2023-10-13	12:51:51	1736	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35125_compteur_wahoo_elemnt_roam_gps.jpg',`file_url_thumb`='bcprisme/35125_compteur_wahoo_elemnt_roam_gps.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '349797'
2023-10-13	12:51:51	1736	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:51	1736	[DEBUG]	Executed store
2023-10-13	12:51:51	1736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861228','349797','1')
2023-10-13	12:51:51	1736	[DEBUG]	Store product image relation
2023-10-13	12:51:51	1736	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:51	1736	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861228 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:51	1736	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:51	1736	[DEBUG]	Executed store
2023-10-13	12:51:51	1736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861228','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:51	1736	[DEBUG]	Checking manufacturer
2023-10-13	12:51:51	1736	[DEBUG]	Load a row
2023-10-13	12:51:51	1736	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:51	1736	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:51:51	1736	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:51	1736	[DEBUG]	Executed store
2023-10-13	12:51:51	1736	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:51:51	1736	[DEBUG]	Manufacturer exists
2023-10-13	12:51:51	1736	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	12:51:51	1736	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:51	1736	[DEBUG]	Executed store
2023-10-13	12:51:51	1736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861228','207')
2023-10-13	12:51:51	1736	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:51	1736	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:51	1736	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861228 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:51	1736	[DEBUG]	Store custom available field
2023-10-13	12:51:51	1736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861228,3,'',1)
2023-10-13	12:51:51	1736	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:51	1736	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:51:51	1736	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861228 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:51	1736	[DEBUG]	Store custom available field
2023-10-13	12:51:51	1736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861228,6,'All',3)
2023-10-13	12:51:51	1736	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:51	1736	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:51	1736	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861227
2023-10-13	12:51:51	1736	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:51	1736	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861227\":[1861227,8,1,\"choisir la taille\"],\"1861228\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861227
2023-10-13	12:51:51	1736	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:51	1736	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861228
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:51	1737	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field taille
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:51	1737	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:51	1737	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:51	1737	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:51	1737	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:51	1737	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:51	1737	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field published
2023-10-13	12:51:51	1737	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:51	1737	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field override
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:51	1737	[DEBUG]	Use field value for field slug
2023-10-13	12:51:51	1737	[DEBUG]	Process line 1737
2023-10-13	12:51:51	1737	[DEBUG]	Load a row
2023-10-13	12:51:51	1737	[DEBUG]	Processing item: A_7744_1
2023-10-13	12:51:51	1737	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:51	1737	[DEBUG]	Processing product tax
2023-10-13	12:51:51	1737	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:51	1737	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:51	1737	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:51	1737	[DEBUG]	Query for Product
2023-10-13	12:51:51	1737	[DEBUG]	Executed store
2023-10-13	12:51:51	1737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7744_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:51	1737	[DEBUG]	Check product language entry
2023-10-13	12:51:51	1737	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861229
2023-10-13	12:51:51	1737	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:51	1737	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7744_1' AND `virtuemart_product_id` != 1861229
2023-10-13	12:51:51	1737	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:51	1737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861229, 'A_7744_1')
2023-10-13	12:51:51	1737	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:51	1737	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-support-pour-compteur-lampe-22-2-31-8-mm-noir' AND `virtuemart_product_id` != 1861229
2023-10-13	12:51:51	1737	[DEBUG]	Query for ProductLang
2023-10-13	12:51:51	1737	[DEBUG]	Executed store
2023-10-13	12:51:51	1737	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 21.351',`product_name`='<Null> Support pour compteur / lampe 22.2/31.8 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-support-pour-compteur-lampe-22-2-31-8-mm-noir' WHERE `virtuemart_product_id` = '1861229'
2023-10-13	12:51:51	1737	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36036_support_pour_compteur_22_2-31_8_mm.jpg
2023-10-13	12:51:51	1737	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:51	1737	[DEBUG]	Process image file
2023-10-13	12:51:51	1737	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:51	1737	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:51	1737	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36036_support_pour_compteur_22_2-31_8_mm.jpg
2023-10-13	12:51:51	1737	[DEBUG]	Full name target: bcprisme/36036_support_pour_compteur_22_2-31_8_mm.jpg
2023-10-13	12:51:52	1737	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:52	1737	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36036_support_pour_compteur_22_2-31_8_mm.jpg'
2023-10-13	12:51:52	1737	[DEBUG]	Query for Media
2023-10-13	12:51:52	1737	[DEBUG]	Executed store
2023-10-13	12:51:52	1737	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36036_support_pour_compteur_22_2-31_8_mm.jpg',`file_url_thumb`='bcprisme/36036_support_pour_compteur_22_2-31_8_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '443412'
2023-10-13	12:51:52	1737	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:52	1737	[DEBUG]	Executed store
2023-10-13	12:51:52	1737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861229','443412','1')
2023-10-13	12:51:52	1737	[DEBUG]	Store product image relation
2023-10-13	12:51:52	1737	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:52	1737	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861229 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:52	1737	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:52	1737	[DEBUG]	Executed store
2023-10-13	12:51:52	1737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861229','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:52	1737	[DEBUG]	Checking manufacturer
2023-10-13	12:51:52	1737	[DEBUG]	Manufacturer exists
2023-10-13	12:51:52	1737	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	12:51:52	1737	[DEBUG]	Load a row
2023-10-13	12:51:52	1737	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:52	1737	[DEBUG]	Executed store
2023-10-13	12:51:52	1737	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	12:51:52	1737	[DEBUG]	Manufacturer exists
2023-10-13	12:51:52	1737	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	12:51:52	1737	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:52	1737	[DEBUG]	Executed store
2023-10-13	12:51:52	1737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861229','20')
2023-10-13	12:51:52	1737	[DEBUG]	Find the custom field ID
2023-10-13	12:51:52	1737	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:52	1737	[DEBUG]	No custom field ID found
2023-10-13	12:51:52	1737	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:52	1737	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:52	1737	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861229 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:52	1737	[DEBUG]	Store custom available field
2023-10-13	12:51:52	1737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861229,3,'0',1)
2023-10-13	12:51:52	1737	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:52	1737	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:52	1737	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861229 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:52	1737	[DEBUG]	Store custom available field
2023-10-13	12:51:52	1737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861229,6,'choisir la taille',3)
2023-10-13	12:51:52	1737	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:52	1737	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:52	1737	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:52	1737	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:52	1737	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861229 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:52	1737	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:52	1737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861229,8,1)
2023-10-13	12:51:52	1737	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:52	1737	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861229\":[1861229,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861229
2023-10-13	12:51:52	1737	[DEBUG]	Checking category
2023-10-13	12:51:52	1737	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:52	1737	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861229
2023-10-13	12:51:52	1737	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:52	1737	[DEBUG]	Executed store
2023-10-13	12:51:52	1737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861229','7310')
2023-10-13	12:51:52	1737	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:52	1737	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861229 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:52	1737	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:52	1737	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861229
2023-10-13	12:51:52	1738	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:52	1738	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:52	1738	[DEBUG]	Use field value for field taille
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:52	1738	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:52	1738	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:52	1738	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:52	1738	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:52	1738	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:52	1738	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:52	1738	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:52	1738	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:52	1738	[DEBUG]	Use field value for field published
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:52	1738	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field override
2023-10-13	12:51:52	1738	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:52	1738	[DEBUG]	Use field value for field slug
2023-10-13	12:51:52	1738	[DEBUG]	Process line 1738
2023-10-13	12:51:52	1738	[DEBUG]	Load a row
2023-10-13	12:51:52	1738	[DEBUG]	Processing item: 1000000135817
2023-10-13	12:51:52	1738	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:52	1738	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:52	1738	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7744_1'
2023-10-13	12:51:52	1738	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:52	1738	[DEBUG]	Processing product tax
2023-10-13	12:51:52	1738	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:52	1738	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:52	1738	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:52	1738	[DEBUG]	Query for Product
2023-10-13	12:51:52	1738	[DEBUG]	Executed store
2023-10-13	12:51:52	1738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861229','1000000135817','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:52	1738	[DEBUG]	No parent found
2023-10-13	12:51:52	1738	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861229 AND customfield_value = 'stockable'
2023-10-13	12:51:52	1738	[DEBUG]	Check product language entry
2023-10-13	12:51:52	1738	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861230
2023-10-13	12:51:52	1738	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:52	1738	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000135817' AND `virtuemart_product_id` != 1861230
2023-10-13	12:51:52	1738	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:52	1738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861230, '1000000135817')
2023-10-13	12:51:52	1738	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:52	1738	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-support-pour-compteur-lampe-22-2-31-8-mm-noir-all' AND `virtuemart_product_id` != 1861230
2023-10-13	12:51:52	1738	[DEBUG]	Query for ProductLang
2023-10-13	12:51:52	1738	[DEBUG]	Executed store
2023-10-13	12:51:52	1738	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='<Null> Support pour compteur / lampe 22.2/31.8 mm / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-support-pour-compteur-lampe-22-2-31-8-mm-noir-all' WHERE `virtuemart_product_id` = '1861230'
2023-10-13	12:51:52	1738	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36036_support_pour_compteur_22_2-31_8_mm.jpg
2023-10-13	12:51:52	1738	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:52	1738	[DEBUG]	Process image file
2023-10-13	12:51:52	1738	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:51:52	1738	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:52	1738	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36036_support_pour_compteur_22_2-31_8_mm.jpg
2023-10-13	12:51:52	1738	[DEBUG]	Full name target: bcprisme/36036_support_pour_compteur_22_2-31_8_mm.jpg
2023-10-13	12:51:53	1738	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:53	1738	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36036_support_pour_compteur_22_2-31_8_mm.jpg'
2023-10-13	12:51:53	1738	[DEBUG]	Query for Media
2023-10-13	12:51:53	1738	[DEBUG]	Executed store
2023-10-13	12:51:53	1738	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36036_support_pour_compteur_22_2-31_8_mm.jpg',`file_url_thumb`='bcprisme/36036_support_pour_compteur_22_2-31_8_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '443412'
2023-10-13	12:51:53	1738	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:53	1738	[DEBUG]	Executed store
2023-10-13	12:51:53	1738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861230','443412','1')
2023-10-13	12:51:53	1738	[DEBUG]	Store product image relation
2023-10-13	12:51:53	1738	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:53	1738	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861230 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:53	1738	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:53	1738	[DEBUG]	Executed store
2023-10-13	12:51:53	1738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861230','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:53	1738	[DEBUG]	Checking manufacturer
2023-10-13	12:51:53	1738	[DEBUG]	Manufacturer exists
2023-10-13	12:51:53	1738	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	12:51:53	1738	[DEBUG]	Load a row
2023-10-13	12:51:53	1738	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:53	1738	[DEBUG]	Executed store
2023-10-13	12:51:53	1738	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	12:51:53	1738	[DEBUG]	Manufacturer exists
2023-10-13	12:51:53	1738	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	12:51:53	1738	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:53	1738	[DEBUG]	Executed store
2023-10-13	12:51:53	1738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861230','20')
2023-10-13	12:51:53	1738	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:53	1738	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:53	1738	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861230 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:53	1738	[DEBUG]	Store custom available field
2023-10-13	12:51:53	1738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861230,3,'',1)
2023-10-13	12:51:53	1738	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:53	1738	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:51:53	1738	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861230 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:53	1738	[DEBUG]	Store custom available field
2023-10-13	12:51:53	1738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861230,6,'All',3)
2023-10-13	12:51:53	1738	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:53	1738	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:53	1738	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861229
2023-10-13	12:51:53	1738	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:53	1738	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861229\":[1861229,8,1,\"choisir la taille\"],\"1861230\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861229
2023-10-13	12:51:53	1738	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:53	1738	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861230
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:53	1739	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field taille
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:53	1739	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:53	1739	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:53	1739	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:53	1739	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:53	1739	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:53	1739	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:53	1739	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field published
2023-10-13	12:51:53	1739	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:53	1739	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field override
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:53	1739	[DEBUG]	Use field value for field slug
2023-10-13	12:51:53	1739	[DEBUG]	Process line 1739
2023-10-13	12:51:53	1739	[DEBUG]	Load a row
2023-10-13	12:51:53	1739	[DEBUG]	Processing item: A_8105_25
2023-10-13	12:51:53	1739	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:53	1739	[DEBUG]	Processing product tax
2023-10-13	12:51:53	1739	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:53	1739	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:53	1739	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:53	1739	[DEBUG]	Query for Product
2023-10-13	12:51:53	1739	[DEBUG]	Executed store
2023-10-13	12:51:53	1739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8105_25','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:53	1739	[DEBUG]	Check product language entry
2023-10-13	12:51:53	1739	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861231
2023-10-13	12:51:53	1739	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:53	1739	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8105_25' AND `virtuemart_product_id` != 1861231
2023-10-13	12:51:53	1739	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:53	1739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861231, 'A_8105_25')
2023-10-13	12:51:53	1739	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:53	1739	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vdo-compteur-m1-1-wl-sans-cables-analog-noir-blanc-noir-blanc' AND `virtuemart_product_id` != 1861231
2023-10-13	12:51:53	1739	[DEBUG]	Query for ProductLang
2023-10-13	12:51:53	1739	[DEBUG]	Executed store
2023-10-13	12:51:53	1739	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.58792',`product_name`='VDO Compteur M1.1 WL sans câbles analog noir-blanc / Noir-blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vdo-compteur-m1-1-wl-sans-cables-analog-noir-blanc-noir-blanc' WHERE `virtuemart_product_id` = '1861231'
2023-10-13	12:51:53	1739	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_58792_jpg.jpg
2023-10-13	12:51:53	1739	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:53	1739	[DEBUG]	Process image file
2023-10-13	12:51:53	1739	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:53	1739	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:53	1739	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_58792_jpg.jpg
2023-10-13	12:51:53	1739	[DEBUG]	Full name target: bcprisme/20_58792_jpg.jpg
2023-10-13	12:51:54	1739	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:54	1739	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_58792_jpg.jpg'
2023-10-13	12:51:54	1739	[DEBUG]	Query for Media
2023-10-13	12:51:54	1739	[DEBUG]	Executed store
2023-10-13	12:51:54	1739	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_58792_jpg.jpg',`file_url_thumb`='bcprisme/20_58792_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '665693'
2023-10-13	12:51:54	1739	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:54	1739	[DEBUG]	Executed store
2023-10-13	12:51:54	1739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861231','665693','1')
2023-10-13	12:51:54	1739	[DEBUG]	Store product image relation
2023-10-13	12:51:54	1739	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:54	1739	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861231 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:54	1739	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:54	1739	[DEBUG]	Executed store
2023-10-13	12:51:54	1739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861231','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:54	1739	[DEBUG]	Checking manufacturer
2023-10-13	12:51:54	1739	[DEBUG]	Load a row
2023-10-13	12:51:54	1739	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:54	1739	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '95'
2023-10-13	12:51:54	1739	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:54	1739	[DEBUG]	Executed store
2023-10-13	12:51:54	1739	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441986015301' WHERE `virtuemart_manufacturer_id` = '95'
2023-10-13	12:51:54	1739	[DEBUG]	Manufacturer exists
2023-10-13	12:51:54	1739	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 95
2023-10-13	12:51:54	1739	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:54	1739	[DEBUG]	Executed store
2023-10-13	12:51:54	1739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861231','95')
2023-10-13	12:51:54	1739	[DEBUG]	Find the custom field ID
2023-10-13	12:51:54	1739	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:54	1739	[DEBUG]	No custom field ID found
2023-10-13	12:51:54	1739	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:54	1739	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:54	1739	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861231 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:54	1739	[DEBUG]	Store custom available field
2023-10-13	12:51:54	1739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861231,3,'0',1)
2023-10-13	12:51:54	1739	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:54	1739	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:54	1739	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861231 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:54	1739	[DEBUG]	Store custom available field
2023-10-13	12:51:54	1739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861231,6,'choisir la taille',3)
2023-10-13	12:51:54	1739	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:54	1739	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:54	1739	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:54	1739	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:54	1739	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861231 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:54	1739	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:54	1739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861231,8,1)
2023-10-13	12:51:54	1739	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:54	1739	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861231\":[1861231,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861231
2023-10-13	12:51:54	1739	[DEBUG]	Checking category
2023-10-13	12:51:54	1739	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:54	1739	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861231
2023-10-13	12:51:54	1739	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:54	1739	[DEBUG]	Executed store
2023-10-13	12:51:54	1739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861231','7310')
2023-10-13	12:51:54	1739	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:54	1739	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861231 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:54	1739	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:54	1739	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861231
2023-10-13	12:51:54	1740	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:54	1740	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:54	1740	[DEBUG]	Use field value for field taille
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:54	1740	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:54	1740	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:54	1740	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:54	1740	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:54	1740	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:54	1740	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:54	1740	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:54	1740	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:54	1740	[DEBUG]	Use field value for field published
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:54	1740	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field override
2023-10-13	12:51:54	1740	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:54	1740	[DEBUG]	Use field value for field slug
2023-10-13	12:51:54	1740	[DEBUG]	Process line 1740
2023-10-13	12:51:54	1740	[DEBUG]	Load a row
2023-10-13	12:51:54	1740	[DEBUG]	Processing item: 4037438300156
2023-10-13	12:51:54	1740	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:54	1740	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:54	1740	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8105_25'
2023-10-13	12:51:54	1740	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:54	1740	[DEBUG]	Processing product tax
2023-10-13	12:51:54	1740	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:54	1740	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:54	1740	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:54	1740	[DEBUG]	Query for Product
2023-10-13	12:51:54	1740	[DEBUG]	Executed store
2023-10-13	12:51:54	1740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861231','4037438300156','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:54	1740	[DEBUG]	No parent found
2023-10-13	12:51:54	1740	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861231 AND customfield_value = 'stockable'
2023-10-13	12:51:54	1740	[DEBUG]	Check product language entry
2023-10-13	12:51:54	1740	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861232
2023-10-13	12:51:54	1740	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:54	1740	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4037438300156' AND `virtuemart_product_id` != 1861232
2023-10-13	12:51:54	1740	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:54	1740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861232, '4037438300156')
2023-10-13	12:51:54	1740	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:54	1740	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vdo-compteur-m1-1-wl-sans-cables-analog-noir-blanc-noir-blanc-unitaire' AND `virtuemart_product_id` != 1861232
2023-10-13	12:51:54	1740	[DEBUG]	Query for ProductLang
2023-10-13	12:51:54	1740	[DEBUG]	Executed store
2023-10-13	12:51:54	1740	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='VDO Compteur M1.1 WL sans câbles analog noir-blanc / Noir-blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vdo-compteur-m1-1-wl-sans-cables-analog-noir-blanc-noir-blanc-unitaire' WHERE `virtuemart_product_id` = '1861232'
2023-10-13	12:51:54	1740	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_58792_jpg.jpg
2023-10-13	12:51:54	1740	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:54	1740	[DEBUG]	Process image file
2023-10-13	12:51:54	1740	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:51:54	1740	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:51:54	1740	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_58792_jpg.jpg
2023-10-13	12:51:54	1740	[DEBUG]	Full name target: bcprisme/20_58792_jpg.jpg
2023-10-13	12:51:55	1740	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:55	1740	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_58792_jpg.jpg'
2023-10-13	12:51:55	1740	[DEBUG]	Query for Media
2023-10-13	12:51:55	1740	[DEBUG]	Executed store
2023-10-13	12:51:55	1740	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_58792_jpg.jpg',`file_url_thumb`='bcprisme/20_58792_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '665693'
2023-10-13	12:51:55	1740	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:55	1740	[DEBUG]	Executed store
2023-10-13	12:51:55	1740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861232','665693','1')
2023-10-13	12:51:55	1740	[DEBUG]	Store product image relation
2023-10-13	12:51:55	1740	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:55	1740	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861232 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:55	1740	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:55	1740	[DEBUG]	Executed store
2023-10-13	12:51:55	1740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861232','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:55	1740	[DEBUG]	Checking manufacturer
2023-10-13	12:51:55	1740	[DEBUG]	Load a row
2023-10-13	12:51:55	1740	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:55	1740	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '95'
2023-10-13	12:51:55	1740	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:55	1740	[DEBUG]	Executed store
2023-10-13	12:51:55	1740	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441986015301' WHERE `virtuemart_manufacturer_id` = '95'
2023-10-13	12:51:55	1740	[DEBUG]	Manufacturer exists
2023-10-13	12:51:55	1740	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 95
2023-10-13	12:51:55	1740	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:55	1740	[DEBUG]	Executed store
2023-10-13	12:51:55	1740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861232','95')
2023-10-13	12:51:55	1740	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:55	1740	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:55	1740	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861232 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:55	1740	[DEBUG]	Store custom available field
2023-10-13	12:51:55	1740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861232,3,'',1)
2023-10-13	12:51:55	1740	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:55	1740	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:51:55	1740	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861232 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:55	1740	[DEBUG]	Store custom available field
2023-10-13	12:51:55	1740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861232,6,'Unitaire',3)
2023-10-13	12:51:55	1740	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:55	1740	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:55	1740	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861231
2023-10-13	12:51:55	1740	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:55	1740	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861231\":[1861231,8,1,\"choisir la taille\"],\"1861232\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861231
2023-10-13	12:51:55	1740	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:55	1740	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861232
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:55	1741	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field taille
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:55	1741	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:55	1741	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:55	1741	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:55	1741	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:55	1741	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:55	1741	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field published
2023-10-13	12:51:55	1741	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:55	1741	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field override
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:55	1741	[DEBUG]	Use field value for field slug
2023-10-13	12:51:55	1741	[DEBUG]	Process line 1741
2023-10-13	12:51:55	1741	[DEBUG]	Load a row
2023-10-13	12:51:55	1741	[DEBUG]	Processing item: A_8364_1
2023-10-13	12:51:55	1741	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:55	1741	[DEBUG]	Processing product tax
2023-10-13	12:51:55	1741	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:55	1741	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:55	1741	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:55	1741	[DEBUG]	Query for Product
2023-10-13	12:51:55	1741	[DEBUG]	Executed store
2023-10-13	12:51:55	1741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8364_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:55	1741	[DEBUG]	Check product language entry
2023-10-13	12:51:55	1741	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861233
2023-10-13	12:51:55	1741	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:55	1741	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8364_1' AND `virtuemart_product_id` != 1861233
2023-10-13	12:51:55	1741	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:55	1741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861233, 'A_8364_1')
2023-10-13	12:51:55	1741	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:55	1741	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-support-compteur-giant-a-partir-de-2021-go-pro-garmin-wahoo-giant-noir' AND `virtuemart_product_id` != 1861233
2023-10-13	12:51:55	1741	[DEBUG]	Query for ProductLang
2023-10-13	12:51:55	1741	[DEBUG]	Executed store
2023-10-13	12:51:55	1741	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Support d’ordinateur pour potences Giant<br>Compatible avec les potences GIANT Contact OD2<br>Peut être monté sur des vis de tige supérieures ou inférieures<br>Réglable en longueur et en angulation<br>Berceau de retenue remplaçable (GIANT, Garmin, Wahoo inclus)<br>Compatible avec le support GoPro (inclus)<br>N° art fourn : 400.009.093',`product_name`='GIANT Support compteur Giant à partir de 2021, Go Pro, Garmin, Wahoo, Giant / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-support-compteur-giant-a-partir-de-2021-go-pro-garmin-wahoo-giant-noir' WHERE `virtuemart_product_id` = '1861233'
2023-10-13	12:51:55	1741	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37009_support_compteur_giant_à_partir_de_2021,_go_pro,_garmin,_wahoo,_giant.gif
2023-10-13	12:51:55	1741	[DEBUG]	Identity string: 47494638376100045b02f7000004020464869cac
2023-10-13	12:51:55	1741	[DEBUG]	Process image file
2023-10-13	12:51:55	1741	[DEBUG]	Identity string: 47494638376100045b02f7000004020464869cac
2023-10-13	12:51:55	1741	[DEBUG]	Mime type found: image/gif
2023-10-13	12:51:55	1741	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37009_support_compteur_giant_à_partir_de_2021,_go_pro,_garmin,_wahoo,_giant.gif
2023-10-13	12:51:55	1741	[DEBUG]	Full name target: bcprisme/37009_support_compteur_giant_à_partir_de_2021,_go_pro,_garmin,_wahoo,_giant.gif
2023-10-13	12:51:56	1741	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:56	1741	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37009_support_compteur_giant_à_partir_de_2021,_go_pro,_garmin,_wahoo,_giant.gif'
2023-10-13	12:51:56	1741	[DEBUG]	Query for Media
2023-10-13	12:51:56	1741	[DEBUG]	Executed store
2023-10-13	12:51:56	1741	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/gif',`file_type`='product',`file_url`='bcprisme/37009_support_compteur_giant_à_partir_de_2021,_go_pro,_garmin,_wahoo,_giant.gif',`file_url_thumb`='bcprisme/37009_support_compteur_giant_à_partir_de_2021,_go_pro,_garmin,_wahoo,_giant.gif',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '807279'
2023-10-13	12:51:56	1741	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:56	1741	[DEBUG]	Executed store
2023-10-13	12:51:56	1741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861233','807279','1')
2023-10-13	12:51:56	1741	[DEBUG]	Store product image relation
2023-10-13	12:51:56	1741	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:56	1741	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861233 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:56	1741	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:56	1741	[DEBUG]	Executed store
2023-10-13	12:51:56	1741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861233','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:56	1741	[DEBUG]	Checking manufacturer
2023-10-13	12:51:56	1741	[DEBUG]	Load a row
2023-10-13	12:51:56	1741	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:56	1741	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:51:56	1741	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:56	1741	[DEBUG]	Executed store
2023-10-13	12:51:56	1741	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:51:56	1741	[DEBUG]	Manufacturer exists
2023-10-13	12:51:56	1741	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:51:56	1741	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:56	1741	[DEBUG]	Executed store
2023-10-13	12:51:56	1741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861233','29')
2023-10-13	12:51:56	1741	[DEBUG]	Find the custom field ID
2023-10-13	12:51:56	1741	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:56	1741	[DEBUG]	No custom field ID found
2023-10-13	12:51:56	1741	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:56	1741	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:56	1741	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861233 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:56	1741	[DEBUG]	Store custom available field
2023-10-13	12:51:56	1741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861233,3,'0',1)
2023-10-13	12:51:56	1741	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:56	1741	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:56	1741	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861233 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:56	1741	[DEBUG]	Store custom available field
2023-10-13	12:51:56	1741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861233,6,'choisir la taille',3)
2023-10-13	12:51:56	1741	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:56	1741	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:56	1741	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:56	1741	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:56	1741	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861233 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:56	1741	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:56	1741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861233,8,1)
2023-10-13	12:51:56	1741	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:56	1741	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861233\":[1861233,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861233
2023-10-13	12:51:56	1741	[DEBUG]	Checking category
2023-10-13	12:51:56	1741	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:56	1741	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861233
2023-10-13	12:51:56	1741	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:56	1741	[DEBUG]	Executed store
2023-10-13	12:51:56	1741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861233','7310')
2023-10-13	12:51:56	1741	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:56	1741	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861233 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:56	1741	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:56	1741	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861233
2023-10-13	12:51:56	1742	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:56	1742	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:56	1742	[DEBUG]	Use field value for field taille
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:56	1742	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:56	1742	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:56	1742	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:56	1742	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:56	1742	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:56	1742	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:56	1742	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:56	1742	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:56	1742	[DEBUG]	Use field value for field published
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:56	1742	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field override
2023-10-13	12:51:56	1742	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:56	1742	[DEBUG]	Use field value for field slug
2023-10-13	12:51:56	1742	[DEBUG]	Process line 1742
2023-10-13	12:51:56	1742	[DEBUG]	Load a row
2023-10-13	12:51:56	1742	[DEBUG]	Processing item: 1000000150711
2023-10-13	12:51:56	1742	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:56	1742	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:56	1742	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8364_1'
2023-10-13	12:51:56	1742	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:56	1742	[DEBUG]	Processing product tax
2023-10-13	12:51:56	1742	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:56	1742	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:56	1742	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:56	1742	[DEBUG]	Query for Product
2023-10-13	12:51:56	1742	[DEBUG]	Executed store
2023-10-13	12:51:56	1742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861233','1000000150711','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:56	1742	[DEBUG]	No parent found
2023-10-13	12:51:56	1742	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861233 AND customfield_value = 'stockable'
2023-10-13	12:51:56	1742	[DEBUG]	Check product language entry
2023-10-13	12:51:56	1742	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861234
2023-10-13	12:51:56	1742	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:56	1742	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000150711' AND `virtuemart_product_id` != 1861234
2023-10-13	12:51:56	1742	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:56	1742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861234, '1000000150711')
2023-10-13	12:51:56	1742	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:56	1742	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-support-compteur-giant-a-partir-de-2021-go-pro-garmin-wahoo-giant-noir-all' AND `virtuemart_product_id` != 1861234
2023-10-13	12:51:56	1742	[DEBUG]	Query for ProductLang
2023-10-13	12:51:56	1742	[DEBUG]	Executed store
2023-10-13	12:51:56	1742	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Support compteur Giant à partir de 2021, Go Pro, Garmin, Wahoo, Giant / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-support-compteur-giant-a-partir-de-2021-go-pro-garmin-wahoo-giant-noir-all' WHERE `virtuemart_product_id` = '1861234'
2023-10-13	12:51:56	1742	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37009_support_compteur_giant_à_partir_de_2021,_go_pro,_garmin,_wahoo,_giant.gif
2023-10-13	12:51:56	1742	[DEBUG]	Identity string: 47494638376100045b02f7000004020464869cac
2023-10-13	12:51:56	1742	[DEBUG]	Process image file
2023-10-13	12:51:56	1742	[DEBUG]	Identity string: 47494638376100045b02f7000004020464869cac
2023-10-13	12:51:56	1742	[DEBUG]	Mime type found: image/gif
2023-10-13	12:51:56	1742	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37009_support_compteur_giant_à_partir_de_2021,_go_pro,_garmin,_wahoo,_giant.gif
2023-10-13	12:51:56	1742	[DEBUG]	Full name target: bcprisme/37009_support_compteur_giant_à_partir_de_2021,_go_pro,_garmin,_wahoo,_giant.gif
2023-10-13	12:51:57	1742	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:57	1742	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37009_support_compteur_giant_à_partir_de_2021,_go_pro,_garmin,_wahoo,_giant.gif'
2023-10-13	12:51:57	1742	[DEBUG]	Query for Media
2023-10-13	12:51:57	1742	[DEBUG]	Executed store
2023-10-13	12:51:57	1742	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/gif',`file_type`='product',`file_url`='bcprisme/37009_support_compteur_giant_à_partir_de_2021,_go_pro,_garmin,_wahoo,_giant.gif',`file_url_thumb`='bcprisme/37009_support_compteur_giant_à_partir_de_2021,_go_pro,_garmin,_wahoo,_giant.gif',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '807279'
2023-10-13	12:51:57	1742	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:57	1742	[DEBUG]	Executed store
2023-10-13	12:51:57	1742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861234','807279','1')
2023-10-13	12:51:57	1742	[DEBUG]	Store product image relation
2023-10-13	12:51:57	1742	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:57	1742	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861234 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:57	1742	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:57	1742	[DEBUG]	Executed store
2023-10-13	12:51:57	1742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861234','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:57	1742	[DEBUG]	Checking manufacturer
2023-10-13	12:51:57	1742	[DEBUG]	Load a row
2023-10-13	12:51:57	1742	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:57	1742	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:51:57	1742	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:57	1742	[DEBUG]	Executed store
2023-10-13	12:51:57	1742	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:51:57	1742	[DEBUG]	Manufacturer exists
2023-10-13	12:51:57	1742	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:51:57	1742	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:57	1742	[DEBUG]	Executed store
2023-10-13	12:51:57	1742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861234','29')
2023-10-13	12:51:57	1742	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:57	1742	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:57	1742	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861234 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:57	1742	[DEBUG]	Store custom available field
2023-10-13	12:51:57	1742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861234,3,'',1)
2023-10-13	12:51:57	1742	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:57	1742	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:51:57	1742	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861234 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:57	1742	[DEBUG]	Store custom available field
2023-10-13	12:51:57	1742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861234,6,'All',3)
2023-10-13	12:51:57	1742	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:57	1742	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:57	1742	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861233
2023-10-13	12:51:57	1742	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:57	1742	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861233\":[1861233,8,1,\"choisir la taille\"],\"1861234\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861233
2023-10-13	12:51:57	1742	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:57	1742	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861234
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:57	1743	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field taille
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:57	1743	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:57	1743	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:57	1743	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:57	1743	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:57	1743	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:57	1743	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field published
2023-10-13	12:51:57	1743	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:57	1743	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field override
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:57	1743	[DEBUG]	Use field value for field slug
2023-10-13	12:51:57	1743	[DEBUG]	Process line 1743
2023-10-13	12:51:57	1743	[DEBUG]	Load a row
2023-10-13	12:51:57	1743	[DEBUG]	Processing item: A_8501_1
2023-10-13	12:51:57	1743	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:57	1743	[DEBUG]	Processing product tax
2023-10-13	12:51:57	1743	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:57	1743	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:57	1743	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:57	1743	[DEBUG]	Query for Product
2023-10-13	12:51:57	1743	[DEBUG]	Executed store
2023-10-13	12:51:57	1743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8501_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:57	1743	[DEBUG]	Check product language entry
2023-10-13	12:51:57	1743	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861235
2023-10-13	12:51:57	1743	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:57	1743	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8501_1' AND `virtuemart_product_id` != 1861235
2023-10-13	12:51:57	1743	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:57	1743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861235, 'A_8501_1')
2023-10-13	12:51:57	1743	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:57	1743	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'polar-pack-velo-polar-vantage-v2-noir' AND `virtuemart_product_id` != 1861235
2023-10-13	12:51:57	1743	[DEBUG]	Query for ProductLang
2023-10-13	12:51:57	1743	[DEBUG]	Executed store
2023-10-13	12:51:57	1743	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>Polar Vantage V2<br>Montre multisport premium<br><br>Polar Vantage V2 est la montre multisport premium légère qui vous permet de mieux planifier vos activités, de vous entraîner plus intelligemment et de récupérer pleinement.<br><br>Inclus dans le pack : Un capteur de fréquence cardiaque Polar H10, un support vélo pour la montre et une sacoche de selle en exclusivité.<br><br>N° art fourn : 90085396',`product_name`='POLAR Pack Vélo Polar Vantage V2 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='polar-pack-velo-polar-vantage-v2-noir' WHERE `virtuemart_product_id` = '1861235'
2023-10-13	12:51:57	1743	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37278_pack_velo_polar_vantqage_v2.png
2023-10-13	12:51:57	1743	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000258
2023-10-13	12:51:57	1743	[DEBUG]	Process image file
2023-10-13	12:51:57	1743	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000258
2023-10-13	12:51:57	1743	[DEBUG]	Mime type found: image/png
2023-10-13	12:51:57	1743	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37278_pack_velo_polar_vantqage_v2.png
2023-10-13	12:51:57	1743	[DEBUG]	Full name target: bcprisme/37278_pack_velo_polar_vantqage_v2.png
2023-10-13	12:51:58	1743	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:58	1743	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37278_pack_velo_polar_vantqage_v2.png'
2023-10-13	12:51:58	1743	[DEBUG]	Query for Media
2023-10-13	12:51:58	1743	[DEBUG]	Executed store
2023-10-13	12:51:58	1743	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37278_pack_velo_polar_vantqage_v2.png',`file_url_thumb`='bcprisme/37278_pack_velo_polar_vantqage_v2.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '949556'
2023-10-13	12:51:58	1743	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:58	1743	[DEBUG]	Executed store
2023-10-13	12:51:58	1743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861235','949556','1')
2023-10-13	12:51:58	1743	[DEBUG]	Store product image relation
2023-10-13	12:51:58	1743	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:58	1743	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861235 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:58	1743	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:58	1743	[DEBUG]	Executed store
2023-10-13	12:51:58	1743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861235','0','529.155060352832','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:58	1743	[DEBUG]	Checking manufacturer
2023-10-13	12:51:58	1743	[DEBUG]	Load a row
2023-10-13	12:51:58	1743	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:58	1743	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '153'
2023-10-13	12:51:58	1743	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:58	1743	[DEBUG]	Executed store
2023-10-13	12:51:58	1743	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441224595077' WHERE `virtuemart_manufacturer_id` = '153'
2023-10-13	12:51:58	1743	[DEBUG]	Manufacturer exists
2023-10-13	12:51:58	1743	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 153
2023-10-13	12:51:58	1743	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:58	1743	[DEBUG]	Executed store
2023-10-13	12:51:58	1743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861235','153')
2023-10-13	12:51:58	1743	[DEBUG]	Find the custom field ID
2023-10-13	12:51:58	1743	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:51:58	1743	[DEBUG]	No custom field ID found
2023-10-13	12:51:58	1743	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:58	1743	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:51:58	1743	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861235 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:58	1743	[DEBUG]	Store custom available field
2023-10-13	12:51:58	1743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861235,3,'0',1)
2023-10-13	12:51:58	1743	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:58	1743	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:51:58	1743	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861235 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:58	1743	[DEBUG]	Store custom available field
2023-10-13	12:51:58	1743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861235,6,'choisir la taille',3)
2023-10-13	12:51:58	1743	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:58	1743	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:51:58	1743	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:51:58	1743	[DEBUG]	Find the multi variant product entry
2023-10-13	12:51:58	1743	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861235 AND `virtuemart_custom_id` = 8
2023-10-13	12:51:58	1743	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:51:58	1743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861235,8,1)
2023-10-13	12:51:58	1743	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:58	1743	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861235\":[1861235,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861235
2023-10-13	12:51:58	1743	[DEBUG]	Checking category
2023-10-13	12:51:58	1743	[DEBUG]	Get the existing categories for the product
2023-10-13	12:51:58	1743	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861235
2023-10-13	12:51:58	1743	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:51:58	1743	[DEBUG]	Executed store
2023-10-13	12:51:58	1743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861235','7310')
2023-10-13	12:51:58	1743	[DEBUG]	Delete leftover product categories
2023-10-13	12:51:58	1743	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861235 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:51:58	1743	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:58	1743	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861235
2023-10-13	12:51:58	1744	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:58	1744	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:51:58	1744	[DEBUG]	Use field value for field taille
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:51:58	1744	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field category_path
2023-10-13	12:51:58	1744	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:58	1744	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:58	1744	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:58	1744	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:51:58	1744	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field product_weight
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:58	1744	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:58	1744	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:58	1744	[DEBUG]	Use field value for field published
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field custom_title
2023-10-13	12:51:58	1744	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field custom_param
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field override
2023-10-13	12:51:58	1744	[DEBUG]	Use default value for field public_price
2023-10-13	12:51:58	1744	[DEBUG]	Use field value for field slug
2023-10-13	12:51:58	1744	[DEBUG]	Process line 1744
2023-10-13	12:51:58	1744	[DEBUG]	Load a row
2023-10-13	12:51:58	1744	[DEBUG]	Processing item: 725882058306
2023-10-13	12:51:58	1744	[DEBUG]	Looking for parent SKU
2023-10-13	12:51:58	1744	[DEBUG]	Checking product parent SKU
2023-10-13	12:51:58	1744	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8501_1'
2023-10-13	12:51:58	1744	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:58	1744	[DEBUG]	Processing product tax
2023-10-13	12:51:58	1744	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:58	1744	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:58	1744	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:58	1744	[DEBUG]	Query for Product
2023-10-13	12:51:58	1744	[DEBUG]	Executed store
2023-10-13	12:51:58	1744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861235','725882058306','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:58	1744	[DEBUG]	No parent found
2023-10-13	12:51:58	1744	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861235 AND customfield_value = 'stockable'
2023-10-13	12:51:58	1744	[DEBUG]	Check product language entry
2023-10-13	12:51:58	1744	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861236
2023-10-13	12:51:58	1744	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:58	1744	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '725882058306' AND `virtuemart_product_id` != 1861236
2023-10-13	12:51:58	1744	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:58	1744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861236, '725882058306')
2023-10-13	12:51:58	1744	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:58	1744	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'polar-pack-velo-polar-vantage-v2-noir-unique' AND `virtuemart_product_id` != 1861236
2023-10-13	12:51:58	1744	[DEBUG]	Query for ProductLang
2023-10-13	12:51:58	1744	[DEBUG]	Executed store
2023-10-13	12:51:58	1744	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POLAR Pack Vélo Polar Vantage V2 / Noir (Unique)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='polar-pack-velo-polar-vantage-v2-noir-unique' WHERE `virtuemart_product_id` = '1861236'
2023-10-13	12:51:58	1744	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37278_pack_velo_polar_vantqage_v2.png
2023-10-13	12:51:58	1744	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000258
2023-10-13	12:51:58	1744	[DEBUG]	Process image file
2023-10-13	12:51:58	1744	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000258
2023-10-13	12:51:58	1744	[DEBUG]	Mime type found: image/png
2023-10-13	12:51:58	1744	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37278_pack_velo_polar_vantqage_v2.png
2023-10-13	12:51:58	1744	[DEBUG]	Full name target: bcprisme/37278_pack_velo_polar_vantqage_v2.png
2023-10-13	12:51:59	1744	[DEBUG]	Checking if the file_url exists
2023-10-13	12:51:59	1744	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37278_pack_velo_polar_vantqage_v2.png'
2023-10-13	12:51:59	1744	[DEBUG]	Query for Media
2023-10-13	12:51:59	1744	[DEBUG]	Executed store
2023-10-13	12:51:59	1744	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37278_pack_velo_polar_vantqage_v2.png',`file_url_thumb`='bcprisme/37278_pack_velo_polar_vantqage_v2.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '949556'
2023-10-13	12:51:59	1744	[DEBUG]	Query for ProductMedia
2023-10-13	12:51:59	1744	[DEBUG]	Executed store
2023-10-13	12:51:59	1744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861236','949556','1')
2023-10-13	12:51:59	1744	[DEBUG]	Store product image relation
2023-10-13	12:51:59	1744	[DEBUG]	Finding a product_price_id
2023-10-13	12:51:59	1744	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861236 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:51:59	1744	[DEBUG]	Query for ProductPrice
2023-10-13	12:51:59	1744	[DEBUG]	Executed store
2023-10-13	12:51:59	1744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861236','0','529.155060352832','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:51:59	1744	[DEBUG]	Checking manufacturer
2023-10-13	12:51:59	1744	[DEBUG]	Load a row
2023-10-13	12:51:59	1744	[DEBUG]	Manufacturer already exists
2023-10-13	12:51:59	1744	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '153'
2023-10-13	12:51:59	1744	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:51:59	1744	[DEBUG]	Executed store
2023-10-13	12:51:59	1744	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441224595077' WHERE `virtuemart_manufacturer_id` = '153'
2023-10-13	12:51:59	1744	[DEBUG]	Manufacturer exists
2023-10-13	12:51:59	1744	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 153
2023-10-13	12:51:59	1744	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:51:59	1744	[DEBUG]	Executed store
2023-10-13	12:51:59	1744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861236','153')
2023-10-13	12:51:59	1744	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:51:59	1744	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:51:59	1744	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861236 AND `virtuemart_custom_id` = 3
2023-10-13	12:51:59	1744	[DEBUG]	Store custom available field
2023-10-13	12:51:59	1744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861236,3,'',1)
2023-10-13	12:51:59	1744	[DEBUG]	Processing custom available field: taille
2023-10-13	12:51:59	1744	[DEBUG]	Get existing row with customfield value Unique
2023-10-13	12:51:59	1744	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861236 AND `virtuemart_custom_id` = 6
2023-10-13	12:51:59	1744	[DEBUG]	Store custom available field
2023-10-13	12:51:59	1744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861236,6,'Unique',3)
2023-10-13	12:51:59	1744	[DEBUG]	Process multi-variant fields
2023-10-13	12:51:59	1744	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:51:59	1744	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861235
2023-10-13	12:51:59	1744	[DEBUG]	Store the updated customfield_params
2023-10-13	12:51:59	1744	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnique\"}]|clabels=0|options={\"1861235\":[1861235,8,1,\"choisir la taille\"],\"1861236\":[\"Unique\"]}|' WHERE `virtuemart_product_id` = 1861235
2023-10-13	12:51:59	1744	[DEBUG]	Update has fields after all processing
2023-10-13	12:51:59	1744	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861236
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field product_sku
2023-10-13	12:51:59	1745	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field taille
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field product_name
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field category_path
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field product_price
2023-10-13	12:51:59	1745	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field product_tax
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field file_url
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:51:59	1745	[DEBUG]	Use default value for field product_desc
2023-10-13	12:51:59	1745	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field product_availability
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field product_weight
2023-10-13	12:51:59	1745	[DEBUG]	Use default value for field product_unit
2023-10-13	12:51:59	1745	[DEBUG]	Use default value for field related_products
2023-10-13	12:51:59	1745	[DEBUG]	Use default value for field product_special
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field published
2023-10-13	12:51:59	1745	[DEBUG]	Use default value for field metadesc
2023-10-13	12:51:59	1745	[DEBUG]	Use default value for field metakey
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field custom_title
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field custom_value
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field custom_param
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field override
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field public_price
2023-10-13	12:51:59	1745	[DEBUG]	Use field value for field slug
2023-10-13	12:51:59	1745	[DEBUG]	Process line 1745
2023-10-13	12:51:59	1745	[DEBUG]	Load a row
2023-10-13	12:51:59	1745	[DEBUG]	Processing item: A_8502_1
2023-10-13	12:51:59	1745	[DEBUG]	Product tax: 7.7
2023-10-13	12:51:59	1745	[DEBUG]	Processing product tax
2023-10-13	12:51:59	1745	[DEBUG]	Check if calculation rule exists
2023-10-13	12:51:59	1745	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:51:59	1745	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:51:59	1745	[DEBUG]	Query for Product
2023-10-13	12:51:59	1745	[DEBUG]	Executed store
2023-10-13	12:51:59	1745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8502_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:51:59	1745	[DEBUG]	Check product language entry
2023-10-13	12:51:59	1745	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861237
2023-10-13	12:51:59	1745	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:59	1745	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8502_1' AND `virtuemart_product_id` != 1861237
2023-10-13	12:51:59	1745	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:51:59	1745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861237, 'A_8502_1')
2023-10-13	12:51:59	1745	[DEBUG]	Check if the product slug exists
2023-10-13	12:51:59	1745	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'polar-pack-velo-polar-grit-x-noir' AND `virtuemart_product_id` != 1861237
2023-10-13	12:51:59	1745	[DEBUG]	Query for ProductLang
2023-10-13	12:51:59	1745	[DEBUG]	Executed store
2023-10-13	12:51:59	1745	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br> Alliant parfaitement solidité et légereté, la montre multisport outdoor Polar Grit X offre un design premium, des fonctionnalités d\'entraînement haut de gamme et le potentiel de l\'application de fitness ultime, Polar Flow.<br><br>La montre Polar Grit X est dotée d\'un GPS intégré, d\'une boussole et d\'un altimètre en mode entraînement, ainsi que des fonctions exclusives Polar Smart Coaching qui vous préparent à vos prochaines aventures. <br>N° art fourn : 90085395',`product_name`='POLAR Pack Vélo Polar Grit X / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='polar-pack-velo-polar-grit-x-noir' WHERE `virtuemart_product_id` = '1861237'
2023-10-13	12:51:59	1745	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37279_pack_velo_polar_grit_x.png
2023-10-13	12:51:59	1745	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000258
2023-10-13	12:51:59	1745	[DEBUG]	Process image file
2023-10-13	12:51:59	1745	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000258
2023-10-13	12:51:59	1745	[DEBUG]	Mime type found: image/png
2023-10-13	12:51:59	1745	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37279_pack_velo_polar_grit_x.png
2023-10-13	12:51:59	1745	[DEBUG]	Full name target: bcprisme/37279_pack_velo_polar_grit_x.png
2023-10-13	12:52:00	1745	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:00	1745	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37279_pack_velo_polar_grit_x.png'
2023-10-13	12:52:00	1745	[DEBUG]	Query for Media
2023-10-13	12:52:00	1745	[DEBUG]	Executed store
2023-10-13	12:52:00	1745	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37279_pack_velo_polar_grit_x.png',`file_url_thumb`='bcprisme/37279_pack_velo_polar_grit_x.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '949558'
2023-10-13	12:52:00	1745	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:00	1745	[DEBUG]	Executed store
2023-10-13	12:52:00	1745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861237','949558','1')
2023-10-13	12:52:00	1745	[DEBUG]	Store product image relation
2023-10-13	12:52:00	1745	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:00	1745	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861237 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:00	1745	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:00	1745	[DEBUG]	Executed store
2023-10-13	12:52:00	1745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861237','0','464.159702878366','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:00	1745	[DEBUG]	Checking manufacturer
2023-10-13	12:52:00	1745	[DEBUG]	Load a row
2023-10-13	12:52:00	1745	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:00	1745	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '153'
2023-10-13	12:52:00	1745	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:00	1745	[DEBUG]	Executed store
2023-10-13	12:52:00	1745	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441224595077' WHERE `virtuemart_manufacturer_id` = '153'
2023-10-13	12:52:00	1745	[DEBUG]	Manufacturer exists
2023-10-13	12:52:00	1745	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 153
2023-10-13	12:52:00	1745	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:00	1745	[DEBUG]	Executed store
2023-10-13	12:52:00	1745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861237','153')
2023-10-13	12:52:00	1745	[DEBUG]	Find the custom field ID
2023-10-13	12:52:00	1745	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:00	1745	[DEBUG]	No custom field ID found
2023-10-13	12:52:00	1745	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:00	1745	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:00	1745	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861237 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:00	1745	[DEBUG]	Store custom available field
2023-10-13	12:52:00	1745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861237,3,'0',1)
2023-10-13	12:52:00	1745	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:00	1745	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:00	1745	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861237 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:00	1745	[DEBUG]	Store custom available field
2023-10-13	12:52:00	1745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861237,6,'choisir la taille',3)
2023-10-13	12:52:00	1745	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:00	1745	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:00	1745	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:00	1745	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:00	1745	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861237 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:00	1745	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:00	1745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861237,8,1)
2023-10-13	12:52:00	1745	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:00	1745	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861237\":[1861237,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861237
2023-10-13	12:52:00	1745	[DEBUG]	Checking category
2023-10-13	12:52:00	1745	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:00	1745	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861237
2023-10-13	12:52:00	1745	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:00	1745	[DEBUG]	Executed store
2023-10-13	12:52:00	1745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861237','7310')
2023-10-13	12:52:00	1745	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:00	1745	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861237 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:00	1745	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:00	1745	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861237
2023-10-13	12:52:00	1746	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:00	1746	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:00	1746	[DEBUG]	Use field value for field taille
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:00	1746	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:00	1746	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:00	1746	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:00	1746	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:00	1746	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:00	1746	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:00	1746	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:00	1746	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:00	1746	[DEBUG]	Use field value for field published
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:00	1746	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field override
2023-10-13	12:52:00	1746	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:00	1746	[DEBUG]	Use field value for field slug
2023-10-13	12:52:00	1746	[DEBUG]	Process line 1746
2023-10-13	12:52:00	1746	[DEBUG]	Load a row
2023-10-13	12:52:00	1746	[DEBUG]	Processing item: 725882058290
2023-10-13	12:52:00	1746	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:00	1746	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:00	1746	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8502_1'
2023-10-13	12:52:00	1746	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:00	1746	[DEBUG]	Processing product tax
2023-10-13	12:52:00	1746	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:00	1746	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:00	1746	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:00	1746	[DEBUG]	Query for Product
2023-10-13	12:52:00	1746	[DEBUG]	Executed store
2023-10-13	12:52:00	1746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861237','725882058290','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:00	1746	[DEBUG]	No parent found
2023-10-13	12:52:00	1746	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861237 AND customfield_value = 'stockable'
2023-10-13	12:52:00	1746	[DEBUG]	Check product language entry
2023-10-13	12:52:00	1746	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861238
2023-10-13	12:52:00	1746	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:00	1746	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '725882058290' AND `virtuemart_product_id` != 1861238
2023-10-13	12:52:00	1746	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:00	1746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861238, '725882058290')
2023-10-13	12:52:00	1746	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:00	1746	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'polar-pack-velo-polar-grit-x-noir-unique' AND `virtuemart_product_id` != 1861238
2023-10-13	12:52:00	1746	[DEBUG]	Query for ProductLang
2023-10-13	12:52:00	1746	[DEBUG]	Executed store
2023-10-13	12:52:00	1746	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POLAR Pack Vélo Polar Grit X / Noir (Unique)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='polar-pack-velo-polar-grit-x-noir-unique' WHERE `virtuemart_product_id` = '1861238'
2023-10-13	12:52:00	1746	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37279_pack_velo_polar_grit_x.png
2023-10-13	12:52:00	1746	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000258
2023-10-13	12:52:00	1746	[DEBUG]	Process image file
2023-10-13	12:52:00	1746	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000258
2023-10-13	12:52:00	1746	[DEBUG]	Mime type found: image/png
2023-10-13	12:52:00	1746	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37279_pack_velo_polar_grit_x.png
2023-10-13	12:52:00	1746	[DEBUG]	Full name target: bcprisme/37279_pack_velo_polar_grit_x.png
2023-10-13	12:52:01	1746	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:01	1746	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37279_pack_velo_polar_grit_x.png'
2023-10-13	12:52:01	1746	[DEBUG]	Query for Media
2023-10-13	12:52:01	1746	[DEBUG]	Executed store
2023-10-13	12:52:01	1746	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37279_pack_velo_polar_grit_x.png',`file_url_thumb`='bcprisme/37279_pack_velo_polar_grit_x.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '949558'
2023-10-13	12:52:01	1746	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:01	1746	[DEBUG]	Executed store
2023-10-13	12:52:01	1746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861238','949558','1')
2023-10-13	12:52:01	1746	[DEBUG]	Store product image relation
2023-10-13	12:52:01	1746	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:01	1746	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861238 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:01	1746	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:01	1746	[DEBUG]	Executed store
2023-10-13	12:52:01	1746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861238','0','464.159702878366','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:01	1746	[DEBUG]	Checking manufacturer
2023-10-13	12:52:01	1746	[DEBUG]	Load a row
2023-10-13	12:52:01	1746	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:01	1746	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '153'
2023-10-13	12:52:01	1746	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:01	1746	[DEBUG]	Executed store
2023-10-13	12:52:01	1746	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441224595077' WHERE `virtuemart_manufacturer_id` = '153'
2023-10-13	12:52:01	1746	[DEBUG]	Manufacturer exists
2023-10-13	12:52:01	1746	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 153
2023-10-13	12:52:01	1746	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:01	1746	[DEBUG]	Executed store
2023-10-13	12:52:01	1746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861238','153')
2023-10-13	12:52:01	1746	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:01	1746	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:01	1746	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861238 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:01	1746	[DEBUG]	Store custom available field
2023-10-13	12:52:01	1746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861238,3,'',1)
2023-10-13	12:52:01	1746	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:01	1746	[DEBUG]	Get existing row with customfield value Unique
2023-10-13	12:52:01	1746	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861238 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:01	1746	[DEBUG]	Store custom available field
2023-10-13	12:52:01	1746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861238,6,'Unique',3)
2023-10-13	12:52:01	1746	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:01	1746	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:01	1746	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861237
2023-10-13	12:52:01	1746	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:01	1746	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnique\"}]|clabels=0|options={\"1861237\":[1861237,8,1,\"choisir la taille\"],\"1861238\":[\"Unique\"]}|' WHERE `virtuemart_product_id` = 1861237
2023-10-13	12:52:01	1746	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:01	1746	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861238
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:01	1747	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field taille
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:01	1747	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:01	1747	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:01	1747	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:01	1747	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:01	1747	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:01	1747	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field published
2023-10-13	12:52:01	1747	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:01	1747	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field override
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:01	1747	[DEBUG]	Use field value for field slug
2023-10-13	12:52:01	1747	[DEBUG]	Process line 1747
2023-10-13	12:52:01	1747	[DEBUG]	Load a row
2023-10-13	12:52:01	1747	[DEBUG]	Processing item: A_8548_210
2023-10-13	12:52:01	1747	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:01	1747	[DEBUG]	Processing product tax
2023-10-13	12:52:01	1747	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:01	1747	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:01	1747	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:01	1747	[DEBUG]	Query for Product
2023-10-13	12:52:01	1747	[DEBUG]	Executed store
2023-10-13	12:52:01	1747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8548_210','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:01	1747	[DEBUG]	Check product language entry
2023-10-13	12:52:01	1747	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861239
2023-10-13	12:52:01	1747	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:01	1747	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8548_210' AND `virtuemart_product_id` != 1861239
2023-10-13	12:52:01	1747	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:01	1747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861239, 'A_8548_210')
2023-10-13	12:52:01	1747	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:01	1747	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-sigma-pc-10-11-violet' AND `virtuemart_product_id` != 1861239
2023-10-13	12:52:01	1747	[DEBUG]	Query for ProductLang
2023-10-13	12:52:01	1747	[DEBUG]	Executed store
2023-10-13	12:52:01	1747	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : sigmapc1011',`product_name`='Sigma COMPTEUR Sigma PC 10.11 / VIOLET',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-sigma-pc-10-11-violet' WHERE `virtuemart_product_id` = '1861239'
2023-10-13	12:52:01	1747	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37350_compteur_sigma_pc_10_11.jpg
2023-10-13	12:52:01	1747	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:52:01	1747	[DEBUG]	Process image file
2023-10-13	12:52:01	1747	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:52:01	1747	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:01	1747	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37350_compteur_sigma_pc_10_11.jpg
2023-10-13	12:52:01	1747	[DEBUG]	Full name target: bcprisme/37350_compteur_sigma_pc_10_11.jpg
2023-10-13	12:52:02	1747	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:02	1747	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37350_compteur_sigma_pc_10_11.jpg'
2023-10-13	12:52:02	1747	[DEBUG]	Query for Media
2023-10-13	12:52:02	1747	[DEBUG]	Executed store
2023-10-13	12:52:02	1747	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37350_compteur_sigma_pc_10_11.jpg',`file_url_thumb`='bcprisme/37350_compteur_sigma_pc_10_11.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990267'
2023-10-13	12:52:02	1747	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:02	1747	[DEBUG]	Executed store
2023-10-13	12:52:02	1747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861239','990267','1')
2023-10-13	12:52:02	1747	[DEBUG]	Store product image relation
2023-10-13	12:52:02	1747	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:02	1747	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861239 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:02	1747	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:02	1747	[DEBUG]	Executed store
2023-10-13	12:52:02	1747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861239','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:02	1747	[DEBUG]	Checking manufacturer
2023-10-13	12:52:02	1747	[DEBUG]	Load a row
2023-10-13	12:52:02	1747	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:02	1747	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:02	1747	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:02	1747	[DEBUG]	Executed store
2023-10-13	12:52:02	1747	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:02	1747	[DEBUG]	Manufacturer exists
2023-10-13	12:52:02	1747	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:52:02	1747	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:02	1747	[DEBUG]	Executed store
2023-10-13	12:52:02	1747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861239','79')
2023-10-13	12:52:02	1747	[DEBUG]	Find the custom field ID
2023-10-13	12:52:02	1747	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:02	1747	[DEBUG]	No custom field ID found
2023-10-13	12:52:02	1747	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:02	1747	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:02	1747	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861239 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:02	1747	[DEBUG]	Store custom available field
2023-10-13	12:52:02	1747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861239,3,'0',1)
2023-10-13	12:52:02	1747	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:02	1747	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:02	1747	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861239 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:02	1747	[DEBUG]	Store custom available field
2023-10-13	12:52:02	1747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861239,6,'choisir la taille',3)
2023-10-13	12:52:02	1747	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:02	1747	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:02	1747	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:02	1747	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:02	1747	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861239 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:02	1747	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:02	1747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861239,8,1)
2023-10-13	12:52:02	1747	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:02	1747	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861239\":[1861239,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861239
2023-10-13	12:52:02	1747	[DEBUG]	Checking category
2023-10-13	12:52:02	1747	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:02	1747	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861239
2023-10-13	12:52:02	1747	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:02	1747	[DEBUG]	Executed store
2023-10-13	12:52:02	1747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861239','7310')
2023-10-13	12:52:02	1747	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:02	1747	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861239 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:02	1747	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:02	1747	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861239
2023-10-13	12:52:02	1748	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:02	1748	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:02	1748	[DEBUG]	Use field value for field taille
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:02	1748	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:02	1748	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:02	1748	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:02	1748	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:02	1748	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:02	1748	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:02	1748	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:02	1748	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:02	1748	[DEBUG]	Use field value for field published
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:02	1748	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field override
2023-10-13	12:52:02	1748	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:02	1748	[DEBUG]	Use field value for field slug
2023-10-13	12:52:02	1748	[DEBUG]	Process line 1748
2023-10-13	12:52:02	1748	[DEBUG]	Load a row
2023-10-13	12:52:02	1748	[DEBUG]	Processing item: 4016224210114
2023-10-13	12:52:02	1748	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:02	1748	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:02	1748	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8548_210'
2023-10-13	12:52:02	1748	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:02	1748	[DEBUG]	Processing product tax
2023-10-13	12:52:02	1748	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:02	1748	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:02	1748	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:02	1748	[DEBUG]	Query for Product
2023-10-13	12:52:02	1748	[DEBUG]	Executed store
2023-10-13	12:52:02	1748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861239','4016224210114','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:02	1748	[DEBUG]	No parent found
2023-10-13	12:52:02	1748	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861239 AND customfield_value = 'stockable'
2023-10-13	12:52:02	1748	[DEBUG]	Check product language entry
2023-10-13	12:52:02	1748	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861240
2023-10-13	12:52:02	1748	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:02	1748	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4016224210114' AND `virtuemart_product_id` != 1861240
2023-10-13	12:52:02	1748	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:02	1748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861240, '4016224210114')
2023-10-13	12:52:02	1748	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:02	1748	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-sigma-pc-10-11-violet-unitaire' AND `virtuemart_product_id` != 1861240
2023-10-13	12:52:02	1748	[DEBUG]	Query for ProductLang
2023-10-13	12:52:02	1748	[DEBUG]	Executed store
2023-10-13	12:52:02	1748	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma COMPTEUR Sigma PC 10.11 / VIOLET (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-sigma-pc-10-11-violet-unitaire' WHERE `virtuemart_product_id` = '1861240'
2023-10-13	12:52:02	1748	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37350_compteur_sigma_pc_10_11.jpg
2023-10-13	12:52:02	1748	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:52:02	1748	[DEBUG]	Process image file
2023-10-13	12:52:02	1748	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:52:02	1748	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:02	1748	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37350_compteur_sigma_pc_10_11.jpg
2023-10-13	12:52:02	1748	[DEBUG]	Full name target: bcprisme/37350_compteur_sigma_pc_10_11.jpg
2023-10-13	12:52:03	1748	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:03	1748	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37350_compteur_sigma_pc_10_11.jpg'
2023-10-13	12:52:03	1748	[DEBUG]	Query for Media
2023-10-13	12:52:03	1748	[DEBUG]	Executed store
2023-10-13	12:52:03	1748	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37350_compteur_sigma_pc_10_11.jpg',`file_url_thumb`='bcprisme/37350_compteur_sigma_pc_10_11.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990267'
2023-10-13	12:52:03	1748	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:03	1748	[DEBUG]	Executed store
2023-10-13	12:52:03	1748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861240','990267','1')
2023-10-13	12:52:03	1748	[DEBUG]	Store product image relation
2023-10-13	12:52:03	1748	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:03	1748	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861240 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:03	1748	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:03	1748	[DEBUG]	Executed store
2023-10-13	12:52:03	1748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861240','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:03	1748	[DEBUG]	Checking manufacturer
2023-10-13	12:52:03	1748	[DEBUG]	Load a row
2023-10-13	12:52:03	1748	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:03	1748	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:03	1748	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:03	1748	[DEBUG]	Executed store
2023-10-13	12:52:03	1748	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:03	1748	[DEBUG]	Manufacturer exists
2023-10-13	12:52:03	1748	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:52:03	1748	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:03	1748	[DEBUG]	Executed store
2023-10-13	12:52:03	1748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861240','79')
2023-10-13	12:52:03	1748	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:03	1748	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:03	1748	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861240 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:03	1748	[DEBUG]	Store custom available field
2023-10-13	12:52:03	1748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861240,3,'',1)
2023-10-13	12:52:03	1748	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:03	1748	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:52:03	1748	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861240 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:03	1748	[DEBUG]	Store custom available field
2023-10-13	12:52:03	1748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861240,6,'Unitaire',3)
2023-10-13	12:52:03	1748	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:03	1748	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:03	1748	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861239
2023-10-13	12:52:03	1748	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:03	1748	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861239\":[1861239,8,1,\"choisir la taille\"],\"1861240\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861239
2023-10-13	12:52:03	1748	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:03	1748	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861240
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:03	1749	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field taille
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:03	1749	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:03	1749	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:03	1749	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:03	1749	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:03	1749	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:03	1749	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field published
2023-10-13	12:52:03	1749	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:03	1749	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field override
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:03	1749	[DEBUG]	Use field value for field slug
2023-10-13	12:52:03	1749	[DEBUG]	Process line 1749
2023-10-13	12:52:03	1749	[DEBUG]	Load a row
2023-10-13	12:52:03	1749	[DEBUG]	Processing item: A_8861_1
2023-10-13	12:52:03	1749	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:03	1749	[DEBUG]	Processing product tax
2023-10-13	12:52:03	1749	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:03	1749	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:03	1749	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:03	1749	[DEBUG]	Query for Product
2023-10-13	12:52:03	1749	[DEBUG]	Executed store
2023-10-13	12:52:03	1749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8861_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:03	1749	[DEBUG]	Check product language entry
2023-10-13	12:52:03	1749	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861241
2023-10-13	12:52:03	1749	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:03	1749	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8861_1' AND `virtuemart_product_id` != 1861241
2023-10-13	12:52:03	1749	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:03	1749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861241, 'A_8861_1')
2023-10-13	12:52:03	1749	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:03	1749	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-elemnt-roam-aero-out-front-support-noir' AND `virtuemart_product_id` != 1861241
2023-10-13	12:52:03	1749	[DEBUG]	Query for ProductLang
2023-10-13	12:52:03	1749	[DEBUG]	Executed store
2023-10-13	12:52:03	1749	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : WOO-WFCC4M1',`product_name`='WAHOO ELEMNT ROAM AERO OUT FRONT SUPPORT / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-elemnt-roam-aero-out-front-support-noir' WHERE `virtuemart_product_id` = '1861241'
2023-10-13	12:52:03	1749	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37845_wahoo_elemnt_roam_aero_out_front_support.jpg
2023-10-13	12:52:03	1749	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:52:03	1749	[DEBUG]	Process image file
2023-10-13	12:52:03	1749	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:52:03	1749	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:03	1749	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37845_wahoo_elemnt_roam_aero_out_front_support.jpg
2023-10-13	12:52:03	1749	[DEBUG]	Full name target: bcprisme/37845_wahoo_elemnt_roam_aero_out_front_support.jpg
2023-10-13	12:52:04	1749	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:04	1749	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37845_wahoo_elemnt_roam_aero_out_front_support.jpg'
2023-10-13	12:52:04	1749	[DEBUG]	Query for Media
2023-10-13	12:52:04	1749	[DEBUG]	Executed store
2023-10-13	12:52:04	1749	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37845_wahoo_elemnt_roam_aero_out_front_support.jpg',`file_url_thumb`='bcprisme/37845_wahoo_elemnt_roam_aero_out_front_support.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1131769'
2023-10-13	12:52:04	1749	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:04	1749	[DEBUG]	Executed store
2023-10-13	12:52:04	1749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861241','1131769','1')
2023-10-13	12:52:04	1749	[DEBUG]	Store product image relation
2023-10-13	12:52:04	1749	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:04	1749	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861241 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:04	1749	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:04	1749	[DEBUG]	Executed store
2023-10-13	12:52:04	1749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861241','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:04	1749	[DEBUG]	Checking manufacturer
2023-10-13	12:52:04	1749	[DEBUG]	Load a row
2023-10-13	12:52:04	1749	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:04	1749	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:52:04	1749	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:04	1749	[DEBUG]	Executed store
2023-10-13	12:52:04	1749	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:52:04	1749	[DEBUG]	Manufacturer exists
2023-10-13	12:52:04	1749	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	12:52:04	1749	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:04	1749	[DEBUG]	Executed store
2023-10-13	12:52:04	1749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861241','207')
2023-10-13	12:52:04	1749	[DEBUG]	Find the custom field ID
2023-10-13	12:52:04	1749	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:04	1749	[DEBUG]	No custom field ID found
2023-10-13	12:52:04	1749	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:04	1749	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:04	1749	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861241 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:04	1749	[DEBUG]	Store custom available field
2023-10-13	12:52:04	1749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861241,3,'0',1)
2023-10-13	12:52:04	1749	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:04	1749	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:04	1749	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861241 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:04	1749	[DEBUG]	Store custom available field
2023-10-13	12:52:04	1749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861241,6,'choisir la taille',3)
2023-10-13	12:52:04	1749	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:04	1749	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:04	1749	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:04	1749	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:04	1749	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861241 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:04	1749	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:04	1749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861241,8,1)
2023-10-13	12:52:04	1749	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:04	1749	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861241\":[1861241,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861241
2023-10-13	12:52:04	1749	[DEBUG]	Checking category
2023-10-13	12:52:04	1749	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:04	1749	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861241
2023-10-13	12:52:04	1749	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:04	1749	[DEBUG]	Executed store
2023-10-13	12:52:04	1749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861241','7310')
2023-10-13	12:52:04	1749	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:04	1749	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861241 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:04	1749	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:04	1749	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861241
2023-10-13	12:52:04	1750	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:04	1750	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:04	1750	[DEBUG]	Use field value for field taille
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:04	1750	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:04	1750	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:04	1750	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:04	1750	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:04	1750	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:04	1750	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:04	1750	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:04	1750	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:04	1750	[DEBUG]	Use field value for field published
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:04	1750	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field override
2023-10-13	12:52:04	1750	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:04	1750	[DEBUG]	Use field value for field slug
2023-10-13	12:52:04	1750	[DEBUG]	Process line 1750
2023-10-13	12:52:04	1750	[DEBUG]	Load a row
2023-10-13	12:52:04	1750	[DEBUG]	Processing item: 853988006812
2023-10-13	12:52:04	1750	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:04	1750	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:04	1750	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8861_1'
2023-10-13	12:52:04	1750	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:04	1750	[DEBUG]	Processing product tax
2023-10-13	12:52:04	1750	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:04	1750	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:04	1750	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:04	1750	[DEBUG]	Query for Product
2023-10-13	12:52:04	1750	[DEBUG]	Executed store
2023-10-13	12:52:04	1750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861241','853988006812','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:04	1750	[DEBUG]	No parent found
2023-10-13	12:52:04	1750	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861241 AND customfield_value = 'stockable'
2023-10-13	12:52:04	1750	[DEBUG]	Check product language entry
2023-10-13	12:52:04	1750	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861242
2023-10-13	12:52:04	1750	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:04	1750	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '853988006812' AND `virtuemart_product_id` != 1861242
2023-10-13	12:52:04	1750	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:04	1750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861242, '853988006812')
2023-10-13	12:52:04	1750	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:04	1750	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-elemnt-roam-aero-out-front-support-noir-all' AND `virtuemart_product_id` != 1861242
2023-10-13	12:52:04	1750	[DEBUG]	Query for ProductLang
2023-10-13	12:52:04	1750	[DEBUG]	Executed store
2023-10-13	12:52:04	1750	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='WAHOO ELEMNT ROAM AERO OUT FRONT SUPPORT / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-elemnt-roam-aero-out-front-support-noir-all' WHERE `virtuemart_product_id` = '1861242'
2023-10-13	12:52:04	1750	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37845_wahoo_elemnt_roam_aero_out_front_support.jpg
2023-10-13	12:52:04	1750	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:52:04	1750	[DEBUG]	Process image file
2023-10-13	12:52:04	1750	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:52:04	1750	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:04	1750	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37845_wahoo_elemnt_roam_aero_out_front_support.jpg
2023-10-13	12:52:04	1750	[DEBUG]	Full name target: bcprisme/37845_wahoo_elemnt_roam_aero_out_front_support.jpg
2023-10-13	12:52:05	1750	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:05	1750	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37845_wahoo_elemnt_roam_aero_out_front_support.jpg'
2023-10-13	12:52:05	1750	[DEBUG]	Query for Media
2023-10-13	12:52:05	1750	[DEBUG]	Executed store
2023-10-13	12:52:05	1750	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37845_wahoo_elemnt_roam_aero_out_front_support.jpg',`file_url_thumb`='bcprisme/37845_wahoo_elemnt_roam_aero_out_front_support.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1131769'
2023-10-13	12:52:05	1750	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:05	1750	[DEBUG]	Executed store
2023-10-13	12:52:05	1750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861242','1131769','1')
2023-10-13	12:52:05	1750	[DEBUG]	Store product image relation
2023-10-13	12:52:05	1750	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:05	1750	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861242 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:05	1750	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:05	1750	[DEBUG]	Executed store
2023-10-13	12:52:05	1750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861242','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:05	1750	[DEBUG]	Checking manufacturer
2023-10-13	12:52:05	1750	[DEBUG]	Load a row
2023-10-13	12:52:05	1750	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:05	1750	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:52:05	1750	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:05	1750	[DEBUG]	Executed store
2023-10-13	12:52:05	1750	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:52:05	1750	[DEBUG]	Manufacturer exists
2023-10-13	12:52:05	1750	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	12:52:05	1750	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:05	1750	[DEBUG]	Executed store
2023-10-13	12:52:05	1750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861242','207')
2023-10-13	12:52:05	1750	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:05	1750	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:05	1750	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861242 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:05	1750	[DEBUG]	Store custom available field
2023-10-13	12:52:05	1750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861242,3,'',1)
2023-10-13	12:52:05	1750	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:05	1750	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:52:05	1750	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861242 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:05	1750	[DEBUG]	Store custom available field
2023-10-13	12:52:05	1750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861242,6,'All',3)
2023-10-13	12:52:05	1750	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:05	1750	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:05	1750	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861241
2023-10-13	12:52:05	1750	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:05	1750	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861241\":[1861241,8,1,\"choisir la taille\"],\"1861242\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861241
2023-10-13	12:52:05	1750	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:05	1750	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861242
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:05	1751	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field taille
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:05	1751	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:05	1751	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:05	1751	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:05	1751	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:05	1751	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:05	1751	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field published
2023-10-13	12:52:05	1751	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:05	1751	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field override
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:05	1751	[DEBUG]	Use field value for field slug
2023-10-13	12:52:05	1751	[DEBUG]	Process line 1751
2023-10-13	12:52:05	1751	[DEBUG]	Load a row
2023-10-13	12:52:05	1751	[DEBUG]	Processing item: A_9174_1
2023-10-13	12:52:05	1751	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:05	1751	[DEBUG]	Processing product tax
2023-10-13	12:52:05	1751	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:05	1751	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:05	1751	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:05	1751	[DEBUG]	Query for Product
2023-10-13	12:52:05	1751	[DEBUG]	Executed store
2023-10-13	12:52:05	1751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9174_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:05	1751	[DEBUG]	Check product language entry
2023-10-13	12:52:05	1751	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861243
2023-10-13	12:52:05	1751	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:05	1751	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9174_1' AND `virtuemart_product_id` != 1861243
2023-10-13	12:52:05	1751	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:05	1751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861243, 'A_9174_1')
2023-10-13	12:52:05	1751	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:05	1751	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-bc-5-0-wl-ats-sans-cable-analog-noir-noir' AND `virtuemart_product_id` != 1861243
2023-10-13	12:52:05	1751	[DEBUG]	Query for ProductLang
2023-10-13	12:52:05	1751	[DEBUG]	Executed store
2023-10-13	12:52:05	1751	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.83731',`product_name`='Sigma Compteur BC 5.0 WL ATS sans câble analog noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-bc-5-0-wl-ats-sans-cable-analog-noir-noir' WHERE `virtuemart_product_id` = '1861243'
2023-10-13	12:52:05	1751	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83731_recht.jpg
2023-10-13	12:52:05	1751	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:05	1751	[DEBUG]	Process image file
2023-10-13	12:52:05	1751	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:05	1751	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:05	1751	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83731_recht.jpg
2023-10-13	12:52:05	1751	[DEBUG]	Full name target: bcprisme/20_83731_recht.jpg
2023-10-13	12:52:06	1751	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:06	1751	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_83731_recht.jpg'
2023-10-13	12:52:06	1751	[DEBUG]	Query for Media
2023-10-13	12:52:06	1751	[DEBUG]	Executed store
2023-10-13	12:52:06	1751	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_83731_recht.jpg',`file_url_thumb`='bcprisme/20_83731_recht.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1319646'
2023-10-13	12:52:06	1751	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:06	1751	[DEBUG]	Executed store
2023-10-13	12:52:06	1751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861243','1319646','1')
2023-10-13	12:52:06	1751	[DEBUG]	Store product image relation
2023-10-13	12:52:06	1751	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:06	1751	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861243 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:06	1751	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:06	1751	[DEBUG]	Executed store
2023-10-13	12:52:06	1751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861243','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:06	1751	[DEBUG]	Checking manufacturer
2023-10-13	12:52:06	1751	[DEBUG]	Load a row
2023-10-13	12:52:06	1751	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:06	1751	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:06	1751	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:06	1751	[DEBUG]	Executed store
2023-10-13	12:52:06	1751	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:06	1751	[DEBUG]	Manufacturer exists
2023-10-13	12:52:06	1751	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:52:06	1751	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:06	1751	[DEBUG]	Executed store
2023-10-13	12:52:06	1751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861243','79')
2023-10-13	12:52:06	1751	[DEBUG]	Find the custom field ID
2023-10-13	12:52:06	1751	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:06	1751	[DEBUG]	No custom field ID found
2023-10-13	12:52:06	1751	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:06	1751	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:06	1751	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861243 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:06	1751	[DEBUG]	Store custom available field
2023-10-13	12:52:06	1751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861243,3,'0',1)
2023-10-13	12:52:06	1751	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:06	1751	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:06	1751	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861243 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:06	1751	[DEBUG]	Store custom available field
2023-10-13	12:52:06	1751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861243,6,'choisir la taille',3)
2023-10-13	12:52:06	1751	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:06	1751	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:06	1751	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:06	1751	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:06	1751	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861243 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:06	1751	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:06	1751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861243,8,1)
2023-10-13	12:52:06	1751	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:06	1751	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861243\":[1861243,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861243
2023-10-13	12:52:06	1751	[DEBUG]	Checking category
2023-10-13	12:52:06	1751	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:06	1751	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861243
2023-10-13	12:52:06	1751	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:06	1751	[DEBUG]	Executed store
2023-10-13	12:52:06	1751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861243','7310')
2023-10-13	12:52:06	1751	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:06	1751	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861243 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:06	1751	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:06	1751	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861243
2023-10-13	12:52:06	1752	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:06	1752	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:06	1752	[DEBUG]	Use field value for field taille
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:06	1752	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:06	1752	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:06	1752	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:06	1752	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:06	1752	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:06	1752	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:06	1752	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:06	1752	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:06	1752	[DEBUG]	Use field value for field published
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:06	1752	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field override
2023-10-13	12:52:06	1752	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:06	1752	[DEBUG]	Use field value for field slug
2023-10-13	12:52:06	1752	[DEBUG]	Process line 1752
2023-10-13	12:52:06	1752	[DEBUG]	Load a row
2023-10-13	12:52:06	1752	[DEBUG]	Processing item: 4016224052110
2023-10-13	12:52:06	1752	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:06	1752	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:06	1752	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9174_1'
2023-10-13	12:52:06	1752	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:06	1752	[DEBUG]	Processing product tax
2023-10-13	12:52:06	1752	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:06	1752	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:06	1752	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:06	1752	[DEBUG]	Query for Product
2023-10-13	12:52:06	1752	[DEBUG]	Executed store
2023-10-13	12:52:06	1752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861243','4016224052110','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:06	1752	[DEBUG]	No parent found
2023-10-13	12:52:06	1752	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861243 AND customfield_value = 'stockable'
2023-10-13	12:52:06	1752	[DEBUG]	Check product language entry
2023-10-13	12:52:06	1752	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861244
2023-10-13	12:52:06	1752	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:06	1752	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4016224052110' AND `virtuemart_product_id` != 1861244
2023-10-13	12:52:06	1752	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:06	1752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861244, '4016224052110')
2023-10-13	12:52:06	1752	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:06	1752	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-bc-5-0-wl-ats-sans-cable-analog-noir-noir-unitaire' AND `virtuemart_product_id` != 1861244
2023-10-13	12:52:06	1752	[DEBUG]	Query for ProductLang
2023-10-13	12:52:06	1752	[DEBUG]	Executed store
2023-10-13	12:52:06	1752	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma Compteur BC 5.0 WL ATS sans câble analog noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-bc-5-0-wl-ats-sans-cable-analog-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1861244'
2023-10-13	12:52:06	1752	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83731_recht.jpg
2023-10-13	12:52:06	1752	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:06	1752	[DEBUG]	Process image file
2023-10-13	12:52:06	1752	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:06	1752	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:06	1752	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83731_recht.jpg
2023-10-13	12:52:06	1752	[DEBUG]	Full name target: bcprisme/20_83731_recht.jpg
2023-10-13	12:52:07	1752	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:07	1752	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_83731_recht.jpg'
2023-10-13	12:52:07	1752	[DEBUG]	Query for Media
2023-10-13	12:52:07	1752	[DEBUG]	Executed store
2023-10-13	12:52:07	1752	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_83731_recht.jpg',`file_url_thumb`='bcprisme/20_83731_recht.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1319646'
2023-10-13	12:52:07	1752	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:07	1752	[DEBUG]	Executed store
2023-10-13	12:52:07	1752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861244','1319646','1')
2023-10-13	12:52:07	1752	[DEBUG]	Store product image relation
2023-10-13	12:52:07	1752	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:07	1752	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861244 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:07	1752	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:07	1752	[DEBUG]	Executed store
2023-10-13	12:52:07	1752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861244','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:07	1752	[DEBUG]	Checking manufacturer
2023-10-13	12:52:07	1752	[DEBUG]	Load a row
2023-10-13	12:52:07	1752	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:07	1752	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:07	1752	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:07	1752	[DEBUG]	Executed store
2023-10-13	12:52:07	1752	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:07	1752	[DEBUG]	Manufacturer exists
2023-10-13	12:52:07	1752	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:52:07	1752	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:07	1752	[DEBUG]	Executed store
2023-10-13	12:52:07	1752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861244','79')
2023-10-13	12:52:07	1752	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:07	1752	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:07	1752	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861244 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:07	1752	[DEBUG]	Store custom available field
2023-10-13	12:52:07	1752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861244,3,'',1)
2023-10-13	12:52:07	1752	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:07	1752	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:52:07	1752	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861244 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:07	1752	[DEBUG]	Store custom available field
2023-10-13	12:52:07	1752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861244,6,'Unitaire',3)
2023-10-13	12:52:07	1752	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:07	1752	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:07	1752	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861243
2023-10-13	12:52:07	1752	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:07	1752	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861243\":[1861243,8,1,\"choisir la taille\"],\"1861244\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861243
2023-10-13	12:52:07	1752	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:07	1752	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861244
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:07	1753	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field taille
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:07	1753	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:07	1753	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:07	1753	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:07	1753	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:07	1753	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:07	1753	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field published
2023-10-13	12:52:07	1753	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:07	1753	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field override
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:07	1753	[DEBUG]	Use field value for field slug
2023-10-13	12:52:07	1753	[DEBUG]	Process line 1753
2023-10-13	12:52:07	1753	[DEBUG]	Load a row
2023-10-13	12:52:07	1753	[DEBUG]	Processing item: A_9177_1
2023-10-13	12:52:07	1753	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:07	1753	[DEBUG]	Processing product tax
2023-10-13	12:52:07	1753	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:07	1753	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:07	1753	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:07	1753	[DEBUG]	Query for Product
2023-10-13	12:52:07	1753	[DEBUG]	Executed store
2023-10-13	12:52:07	1753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9177_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:07	1753	[DEBUG]	Check product language entry
2023-10-13	12:52:07	1753	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861245
2023-10-13	12:52:07	1753	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:07	1753	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9177_1' AND `virtuemart_product_id` != 1861245
2023-10-13	12:52:07	1753	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:07	1753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861245, 'A_9177_1')
2023-10-13	12:52:07	1753	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:07	1753	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-rox-4-0-gps-basic-noir-noir' AND `virtuemart_product_id` != 1861245
2023-10-13	12:52:07	1753	[DEBUG]	Query for ProductLang
2023-10-13	12:52:07	1753	[DEBUG]	Executed store
2023-10-13	12:52:07	1753	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.81926',`product_name`='Sigma Compteur ROX 4.0 GPS Basic noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-rox-4-0-gps-basic-noir-noir' WHERE `virtuemart_product_id` = '1861245'
2023-10-13	12:52:07	1753	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_81926_00.jpg
2023-10-13	12:52:07	1753	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:07	1753	[DEBUG]	Process image file
2023-10-13	12:52:07	1753	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:07	1753	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:07	1753	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_81926_00.jpg
2023-10-13	12:52:07	1753	[DEBUG]	Full name target: bcprisme/20_81926_00.jpg
2023-10-13	12:52:08	1753	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:08	1753	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_81926_00.jpg'
2023-10-13	12:52:08	1753	[DEBUG]	Query for Media
2023-10-13	12:52:08	1753	[DEBUG]	Executed store
2023-10-13	12:52:08	1753	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_81926_00.jpg',`file_url_thumb`='bcprisme/20_81926_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1319648'
2023-10-13	12:52:08	1753	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:08	1753	[DEBUG]	Executed store
2023-10-13	12:52:08	1753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861245','1319648','1')
2023-10-13	12:52:08	1753	[DEBUG]	Store product image relation
2023-10-13	12:52:08	1753	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:08	1753	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861245 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:08	1753	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:08	1753	[DEBUG]	Executed store
2023-10-13	12:52:08	1753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861245','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:08	1753	[DEBUG]	Checking manufacturer
2023-10-13	12:52:08	1753	[DEBUG]	Load a row
2023-10-13	12:52:08	1753	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:08	1753	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:08	1753	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:08	1753	[DEBUG]	Executed store
2023-10-13	12:52:08	1753	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:08	1753	[DEBUG]	Manufacturer exists
2023-10-13	12:52:08	1753	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:52:08	1753	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:08	1753	[DEBUG]	Executed store
2023-10-13	12:52:08	1753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861245','79')
2023-10-13	12:52:08	1753	[DEBUG]	Find the custom field ID
2023-10-13	12:52:08	1753	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:08	1753	[DEBUG]	No custom field ID found
2023-10-13	12:52:08	1753	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:08	1753	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:08	1753	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861245 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:08	1753	[DEBUG]	Store custom available field
2023-10-13	12:52:08	1753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861245,3,'0',1)
2023-10-13	12:52:08	1753	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:08	1753	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:08	1753	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861245 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:08	1753	[DEBUG]	Store custom available field
2023-10-13	12:52:08	1753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861245,6,'choisir la taille',3)
2023-10-13	12:52:08	1753	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:08	1753	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:08	1753	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:08	1753	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:08	1753	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861245 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:08	1753	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:08	1753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861245,8,1)
2023-10-13	12:52:08	1753	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:08	1753	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861245\":[1861245,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861245
2023-10-13	12:52:08	1753	[DEBUG]	Checking category
2023-10-13	12:52:08	1753	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:08	1753	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861245
2023-10-13	12:52:08	1753	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:08	1753	[DEBUG]	Executed store
2023-10-13	12:52:08	1753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861245','7310')
2023-10-13	12:52:08	1753	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:08	1753	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861245 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:08	1753	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:08	1753	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861245
2023-10-13	12:52:08	1754	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:08	1754	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:08	1754	[DEBUG]	Use field value for field taille
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:08	1754	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:08	1754	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:08	1754	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:08	1754	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:08	1754	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:08	1754	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:08	1754	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:08	1754	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:08	1754	[DEBUG]	Use field value for field published
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:08	1754	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field override
2023-10-13	12:52:08	1754	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:08	1754	[DEBUG]	Use field value for field slug
2023-10-13	12:52:08	1754	[DEBUG]	Process line 1754
2023-10-13	12:52:08	1754	[DEBUG]	Load a row
2023-10-13	12:52:08	1754	[DEBUG]	Processing item: 4016224010608
2023-10-13	12:52:08	1754	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:08	1754	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:08	1754	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9177_1'
2023-10-13	12:52:08	1754	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:08	1754	[DEBUG]	Processing product tax
2023-10-13	12:52:08	1754	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:08	1754	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:08	1754	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:08	1754	[DEBUG]	Query for Product
2023-10-13	12:52:08	1754	[DEBUG]	Executed store
2023-10-13	12:52:08	1754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861245','4016224010608','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:08	1754	[DEBUG]	No parent found
2023-10-13	12:52:08	1754	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861245 AND customfield_value = 'stockable'
2023-10-13	12:52:08	1754	[DEBUG]	Check product language entry
2023-10-13	12:52:08	1754	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861246
2023-10-13	12:52:08	1754	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:08	1754	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4016224010608' AND `virtuemart_product_id` != 1861246
2023-10-13	12:52:08	1754	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:08	1754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861246, '4016224010608')
2023-10-13	12:52:08	1754	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:08	1754	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-rox-4-0-gps-basic-noir-noir-unitaire' AND `virtuemart_product_id` != 1861246
2023-10-13	12:52:08	1754	[DEBUG]	Query for ProductLang
2023-10-13	12:52:08	1754	[DEBUG]	Executed store
2023-10-13	12:52:08	1754	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma Compteur ROX 4.0 GPS Basic noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-rox-4-0-gps-basic-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1861246'
2023-10-13	12:52:08	1754	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_81926_00.jpg
2023-10-13	12:52:08	1754	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:08	1754	[DEBUG]	Process image file
2023-10-13	12:52:08	1754	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:08	1754	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:08	1754	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_81926_00.jpg
2023-10-13	12:52:08	1754	[DEBUG]	Full name target: bcprisme/20_81926_00.jpg
2023-10-13	12:52:09	1754	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:09	1754	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_81926_00.jpg'
2023-10-13	12:52:09	1754	[DEBUG]	Query for Media
2023-10-13	12:52:09	1754	[DEBUG]	Executed store
2023-10-13	12:52:09	1754	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_81926_00.jpg',`file_url_thumb`='bcprisme/20_81926_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1319648'
2023-10-13	12:52:09	1754	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:09	1754	[DEBUG]	Executed store
2023-10-13	12:52:09	1754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861246','1319648','1')
2023-10-13	12:52:09	1754	[DEBUG]	Store product image relation
2023-10-13	12:52:09	1754	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:09	1754	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861246 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:09	1754	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:09	1754	[DEBUG]	Executed store
2023-10-13	12:52:09	1754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861246','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:09	1754	[DEBUG]	Checking manufacturer
2023-10-13	12:52:09	1754	[DEBUG]	Load a row
2023-10-13	12:52:09	1754	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:09	1754	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:09	1754	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:09	1754	[DEBUG]	Executed store
2023-10-13	12:52:09	1754	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:09	1754	[DEBUG]	Manufacturer exists
2023-10-13	12:52:09	1754	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:52:09	1754	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:09	1754	[DEBUG]	Executed store
2023-10-13	12:52:09	1754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861246','79')
2023-10-13	12:52:09	1754	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:09	1754	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:09	1754	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861246 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:09	1754	[DEBUG]	Store custom available field
2023-10-13	12:52:09	1754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861246,3,'',1)
2023-10-13	12:52:09	1754	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:09	1754	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:52:09	1754	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861246 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:09	1754	[DEBUG]	Store custom available field
2023-10-13	12:52:09	1754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861246,6,'Unitaire',3)
2023-10-13	12:52:09	1754	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:09	1754	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:09	1754	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861245
2023-10-13	12:52:09	1754	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:09	1754	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861245\":[1861245,8,1,\"choisir la taille\"],\"1861246\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861245
2023-10-13	12:52:09	1754	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:09	1754	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861246
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:09	1755	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field taille
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:09	1755	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:09	1755	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:09	1755	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:09	1755	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:09	1755	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:09	1755	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field published
2023-10-13	12:52:09	1755	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:09	1755	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field override
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:09	1755	[DEBUG]	Use field value for field slug
2023-10-13	12:52:09	1755	[DEBUG]	Process line 1755
2023-10-13	12:52:09	1755	[DEBUG]	Load a row
2023-10-13	12:52:09	1755	[DEBUG]	Processing item: A_9203_1
2023-10-13	12:52:09	1755	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:09	1755	[DEBUG]	Processing product tax
2023-10-13	12:52:09	1755	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:09	1755	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:09	1755	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:09	1755	[DEBUG]	Query for Product
2023-10-13	12:52:09	1755	[DEBUG]	Executed store
2023-10-13	12:52:09	1755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9203_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:09	1755	[DEBUG]	Check product language entry
2023-10-13	12:52:09	1755	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861247
2023-10-13	12:52:09	1755	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:09	1755	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9203_1' AND `virtuemart_product_id` != 1861247
2023-10-13	12:52:09	1755	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:09	1755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861247, 'A_9203_1')
2023-10-13	12:52:09	1755	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:09	1755	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-elemnet-rival-multi-sport-gps-watch-stealth-grey-noir' AND `virtuemart_product_id` != 1861247
2023-10-13	12:52:09	1755	[DEBUG]	Query for ProductLang
2023-10-13	12:52:09	1755	[DEBUG]	Executed store
2023-10-13	12:52:09	1755	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Points forts + Fonction Get Me Started, Back On Track, Route To Start, Take Me To, Retrace Route : + Écran personnalisable couleur d\'une grande clarté : + Capteur de luminosité ambiante : + Configuration du GPS avec l\'appli du Smartphone : + Boutons tactiles et faciles à utiliser : + La connectivité 100% sans-fil : + Les fonctionnalités uniques : + La fiabilité des données. Novateur et ultra-connecté, le GPS WAHOO Elemnt Roam est un véritable concentré de technologie dessiné pour répondre à tous les besoins du cycliste moderne comme la pratique du Gravel et les grandes aventures à vélo. Il dispose d\'une grande clarté d\'image avec son écran Gorilla Glass couleur très résistant pour visualiser facilement vos intinéraires et données. Connecté en Wi-fi, en ANT+ et en Bluetooth, il est compatible avec les deux principaux OS de smartphone : Android et iOS. Son écran principal se configure à l\'aide de votre smartphone, grâce auquel vous choisissez les champs à afficher, et leur position. Les indicateurs lumineux servent d\'alertes pour des indications telles qu\'un changement de direction, des conseils de vitesse ou même des notifications d\'appel ou de SMS. Doté d\'une interface cartographique, il vous permet de suivre en temps réel des amis équipés du même dispositif. Fonctionnant entièrement sans fil, il vous permet de charger vos traces d’entraînement directement sur internet via votre smartphone, mais également de télécharger vos sorties planifiées. De plus, il est équipé d\'un capteur de luminosité ambiante pour un ajustement rapide selon les variations de lumières. Un véritable bijou de technologie présenté par la marque américaine !<br>N° art fourn : WF140BB',`product_name`='WAHOO Elemnet rival Multi-Sport GPS Watch Stealth Grey / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-elemnet-rival-multi-sport-gps-watch-stealth-grey-noir' WHERE `virtuemart_product_id` = '1861247'
2023-10-13	12:52:09	1755	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38275_wahoo_elemnet_rival_multi-sport_gps_watch_stealth_grey.jpg
2023-10-13	12:52:09	1755	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:09	1755	[DEBUG]	Process image file
2023-10-13	12:52:09	1755	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:09	1755	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:09	1755	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38275_wahoo_elemnet_rival_multi-sport_gps_watch_stealth_grey.jpg
2023-10-13	12:52:09	1755	[DEBUG]	Full name target: bcprisme/38275_wahoo_elemnet_rival_multi-sport_gps_watch_stealth_grey.jpg
2023-10-13	12:52:10	1755	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:10	1755	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38275_wahoo_elemnet_rival_multi-sport_gps_watch_stealth_grey.jpg'
2023-10-13	12:52:10	1755	[DEBUG]	Query for Media
2023-10-13	12:52:10	1755	[DEBUG]	Executed store
2023-10-13	12:52:10	1755	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38275_wahoo_elemnet_rival_multi-sport_gps_watch_stealth_grey.jpg',`file_url_thumb`='bcprisme/38275_wahoo_elemnet_rival_multi-sport_gps_watch_stealth_grey.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330586'
2023-10-13	12:52:10	1755	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:10	1755	[DEBUG]	Executed store
2023-10-13	12:52:10	1755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861247','1330586','1')
2023-10-13	12:52:10	1755	[DEBUG]	Store product image relation
2023-10-13	12:52:10	1755	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:10	1755	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861247 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:10	1755	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:10	1755	[DEBUG]	Executed store
2023-10-13	12:52:10	1755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861247','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:10	1755	[DEBUG]	Checking manufacturer
2023-10-13	12:52:10	1755	[DEBUG]	Load a row
2023-10-13	12:52:10	1755	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:10	1755	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:52:10	1755	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:10	1755	[DEBUG]	Executed store
2023-10-13	12:52:10	1755	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:52:10	1755	[DEBUG]	Manufacturer exists
2023-10-13	12:52:10	1755	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	12:52:10	1755	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:10	1755	[DEBUG]	Executed store
2023-10-13	12:52:10	1755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861247','207')
2023-10-13	12:52:10	1755	[DEBUG]	Find the custom field ID
2023-10-13	12:52:10	1755	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:10	1755	[DEBUG]	No custom field ID found
2023-10-13	12:52:10	1755	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:10	1755	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:10	1755	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861247 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:10	1755	[DEBUG]	Store custom available field
2023-10-13	12:52:10	1755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861247,3,'0',1)
2023-10-13	12:52:10	1755	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:10	1755	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:10	1755	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861247 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:10	1755	[DEBUG]	Store custom available field
2023-10-13	12:52:10	1755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861247,6,'choisir la taille',3)
2023-10-13	12:52:10	1755	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:10	1755	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:10	1755	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:10	1755	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:10	1755	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861247 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:10	1755	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:10	1755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861247,8,1)
2023-10-13	12:52:10	1755	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:10	1755	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861247\":[1861247,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861247
2023-10-13	12:52:10	1755	[DEBUG]	Checking category
2023-10-13	12:52:10	1755	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:10	1755	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861247
2023-10-13	12:52:10	1755	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:10	1755	[DEBUG]	Executed store
2023-10-13	12:52:10	1755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861247','7310')
2023-10-13	12:52:10	1755	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:10	1755	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861247 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:10	1755	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:10	1755	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861247
2023-10-13	12:52:10	1756	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:10	1756	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:10	1756	[DEBUG]	Use field value for field taille
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:10	1756	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:10	1756	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:10	1756	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:10	1756	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:10	1756	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:10	1756	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:10	1756	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:10	1756	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:10	1756	[DEBUG]	Use field value for field published
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:10	1756	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field override
2023-10-13	12:52:10	1756	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:10	1756	[DEBUG]	Use field value for field slug
2023-10-13	12:52:10	1756	[DEBUG]	Process line 1756
2023-10-13	12:52:10	1756	[DEBUG]	Load a row
2023-10-13	12:52:10	1756	[DEBUG]	Processing item: 850010131115
2023-10-13	12:52:10	1756	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:10	1756	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:10	1756	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9203_1'
2023-10-13	12:52:10	1756	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:10	1756	[DEBUG]	Processing product tax
2023-10-13	12:52:10	1756	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:10	1756	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:10	1756	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:10	1756	[DEBUG]	Query for Product
2023-10-13	12:52:10	1756	[DEBUG]	Executed store
2023-10-13	12:52:10	1756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861247','850010131115','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:10	1756	[DEBUG]	No parent found
2023-10-13	12:52:10	1756	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861247 AND customfield_value = 'stockable'
2023-10-13	12:52:10	1756	[DEBUG]	Check product language entry
2023-10-13	12:52:10	1756	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861248
2023-10-13	12:52:10	1756	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:10	1756	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '850010131115' AND `virtuemart_product_id` != 1861248
2023-10-13	12:52:10	1756	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:10	1756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861248, '850010131115')
2023-10-13	12:52:10	1756	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:10	1756	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-elemnet-rival-multi-sport-gps-watch-stealth-grey-noir-all' AND `virtuemart_product_id` != 1861248
2023-10-13	12:52:10	1756	[DEBUG]	Query for ProductLang
2023-10-13	12:52:10	1756	[DEBUG]	Executed store
2023-10-13	12:52:10	1756	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='WAHOO Elemnet rival Multi-Sport GPS Watch Stealth Grey / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-elemnet-rival-multi-sport-gps-watch-stealth-grey-noir-all' WHERE `virtuemart_product_id` = '1861248'
2023-10-13	12:52:10	1756	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38275_wahoo_elemnet_rival_multi-sport_gps_watch_stealth_grey.jpg
2023-10-13	12:52:10	1756	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:10	1756	[DEBUG]	Process image file
2023-10-13	12:52:10	1756	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:10	1756	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:10	1756	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38275_wahoo_elemnet_rival_multi-sport_gps_watch_stealth_grey.jpg
2023-10-13	12:52:10	1756	[DEBUG]	Full name target: bcprisme/38275_wahoo_elemnet_rival_multi-sport_gps_watch_stealth_grey.jpg
2023-10-13	12:52:11	1756	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:11	1756	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38275_wahoo_elemnet_rival_multi-sport_gps_watch_stealth_grey.jpg'
2023-10-13	12:52:11	1756	[DEBUG]	Query for Media
2023-10-13	12:52:11	1756	[DEBUG]	Executed store
2023-10-13	12:52:11	1756	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38275_wahoo_elemnet_rival_multi-sport_gps_watch_stealth_grey.jpg',`file_url_thumb`='bcprisme/38275_wahoo_elemnet_rival_multi-sport_gps_watch_stealth_grey.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330586'
2023-10-13	12:52:11	1756	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:11	1756	[DEBUG]	Executed store
2023-10-13	12:52:11	1756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861248','1330586','1')
2023-10-13	12:52:11	1756	[DEBUG]	Store product image relation
2023-10-13	12:52:11	1756	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:11	1756	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861248 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:11	1756	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:11	1756	[DEBUG]	Executed store
2023-10-13	12:52:11	1756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861248','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:11	1756	[DEBUG]	Checking manufacturer
2023-10-13	12:52:11	1756	[DEBUG]	Load a row
2023-10-13	12:52:11	1756	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:11	1756	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:52:11	1756	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:11	1756	[DEBUG]	Executed store
2023-10-13	12:52:11	1756	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:52:11	1756	[DEBUG]	Manufacturer exists
2023-10-13	12:52:11	1756	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	12:52:11	1756	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:11	1756	[DEBUG]	Executed store
2023-10-13	12:52:11	1756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861248','207')
2023-10-13	12:52:11	1756	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:11	1756	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:11	1756	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861248 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:11	1756	[DEBUG]	Store custom available field
2023-10-13	12:52:11	1756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861248,3,'',1)
2023-10-13	12:52:11	1756	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:11	1756	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:52:11	1756	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861248 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:11	1756	[DEBUG]	Store custom available field
2023-10-13	12:52:11	1756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861248,6,'All',3)
2023-10-13	12:52:11	1756	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:11	1756	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:11	1756	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861247
2023-10-13	12:52:11	1756	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:11	1756	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861247\":[1861247,8,1,\"choisir la taille\"],\"1861248\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861247
2023-10-13	12:52:11	1756	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:11	1756	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861248
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:11	1757	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field taille
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:11	1757	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:11	1757	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:11	1757	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:11	1757	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:11	1757	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:11	1757	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field published
2023-10-13	12:52:11	1757	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:11	1757	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field override
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:11	1757	[DEBUG]	Use field value for field slug
2023-10-13	12:52:11	1757	[DEBUG]	Process line 1757
2023-10-13	12:52:11	1757	[DEBUG]	Load a row
2023-10-13	12:52:11	1757	[DEBUG]	Processing item: A_9408_782
2023-10-13	12:52:11	1757	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:11	1757	[DEBUG]	Processing product tax
2023-10-13	12:52:11	1757	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:11	1757	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:11	1757	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:11	1757	[DEBUG]	Query for Product
2023-10-13	12:52:11	1757	[DEBUG]	Executed store
2023-10-13	12:52:11	1757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9408_782','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:11	1757	[DEBUG]	Check product language entry
2023-10-13	12:52:11	1757	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861249
2023-10-13	12:52:11	1757	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:11	1757	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9408_782' AND `virtuemart_product_id` != 1861249
2023-10-13	12:52:11	1757	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:11	1757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861249, 'A_9408_782')
2023-10-13	12:52:11	1757	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:11	1757	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'k-edge-garmin-stem-moun-black-adjustable' AND `virtuemart_product_id` != 1861249
2023-10-13	12:52:11	1757	[DEBUG]	Query for ProductLang
2023-10-13	12:52:11	1757	[DEBUG]	Executed store
2023-10-13	12:52:11	1757	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 760000111000018000',`product_name`='K-Edge GARMIN Stem Moun black / Adjustable',`metadesc`='',`metakey`='',`customtitle`='',`slug`='k-edge-garmin-stem-moun-black-adjustable' WHERE `virtuemart_product_id` = '1861249'
2023-10-13	12:52:11	1757	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38609_k-edge_garmin_stem_moun_black.jpg
2023-10-13	12:52:11	1757	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:11	1757	[DEBUG]	Process image file
2023-10-13	12:52:11	1757	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:11	1757	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:11	1757	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38609_k-edge_garmin_stem_moun_black.jpg
2023-10-13	12:52:11	1757	[DEBUG]	Full name target: bcprisme/38609_k-edge_garmin_stem_moun_black.jpg
2023-10-13	12:52:12	1757	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:12	1757	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38609_k-edge_garmin_stem_moun_black.jpg'
2023-10-13	12:52:12	1757	[DEBUG]	Query for Media
2023-10-13	12:52:12	1757	[DEBUG]	Executed store
2023-10-13	12:52:12	1757	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38609_k-edge_garmin_stem_moun_black.jpg',`file_url_thumb`='bcprisme/38609_k-edge_garmin_stem_moun_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410978'
2023-10-13	12:52:12	1757	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:12	1757	[DEBUG]	Executed store
2023-10-13	12:52:12	1757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861249','1410978','1')
2023-10-13	12:52:12	1757	[DEBUG]	Store product image relation
2023-10-13	12:52:12	1757	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:12	1757	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861249 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:12	1757	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:12	1757	[DEBUG]	Executed store
2023-10-13	12:52:12	1757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861249','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:12	1757	[DEBUG]	Checking manufacturer
2023-10-13	12:52:12	1757	[DEBUG]	Load a row
2023-10-13	12:52:12	1757	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:12	1757	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:12	1757	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:12	1757	[DEBUG]	Executed store
2023-10-13	12:52:12	1757	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='45',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='45' WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:12	1757	[DEBUG]	Manufacturer exists
2023-10-13	12:52:12	1757	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 284
2023-10-13	12:52:12	1757	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:12	1757	[DEBUG]	Executed store
2023-10-13	12:52:12	1757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861249','284')
2023-10-13	12:52:12	1757	[DEBUG]	Find the custom field ID
2023-10-13	12:52:12	1757	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:12	1757	[DEBUG]	No custom field ID found
2023-10-13	12:52:12	1757	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:12	1757	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:12	1757	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861249 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:12	1757	[DEBUG]	Store custom available field
2023-10-13	12:52:12	1757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861249,3,'0',1)
2023-10-13	12:52:12	1757	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:12	1757	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:12	1757	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861249 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:12	1757	[DEBUG]	Store custom available field
2023-10-13	12:52:12	1757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861249,6,'choisir la taille',3)
2023-10-13	12:52:12	1757	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:12	1757	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:12	1757	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:12	1757	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:12	1757	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861249 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:12	1757	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:12	1757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861249,8,1)
2023-10-13	12:52:12	1757	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:12	1757	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861249\":[1861249,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861249
2023-10-13	12:52:12	1757	[DEBUG]	Checking category
2023-10-13	12:52:12	1757	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:12	1757	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861249
2023-10-13	12:52:12	1757	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:12	1757	[DEBUG]	Executed store
2023-10-13	12:52:12	1757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861249','7310')
2023-10-13	12:52:12	1757	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:12	1757	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861249 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:12	1757	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:12	1757	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861249
2023-10-13	12:52:12	1758	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:12	1758	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:12	1758	[DEBUG]	Use field value for field taille
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:12	1758	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:12	1758	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:12	1758	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:12	1758	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:12	1758	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:12	1758	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:12	1758	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:12	1758	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:12	1758	[DEBUG]	Use field value for field published
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:12	1758	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field override
2023-10-13	12:52:12	1758	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:12	1758	[DEBUG]	Use field value for field slug
2023-10-13	12:52:12	1758	[DEBUG]	Process line 1758
2023-10-13	12:52:12	1758	[DEBUG]	Load a row
2023-10-13	12:52:12	1758	[DEBUG]	Processing item: 858953003483
2023-10-13	12:52:12	1758	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:12	1758	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:12	1758	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9408_782'
2023-10-13	12:52:12	1758	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:12	1758	[DEBUG]	Processing product tax
2023-10-13	12:52:12	1758	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:12	1758	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:12	1758	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:12	1758	[DEBUG]	Query for Product
2023-10-13	12:52:12	1758	[DEBUG]	Executed store
2023-10-13	12:52:12	1758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861249','858953003483','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:12	1758	[DEBUG]	No parent found
2023-10-13	12:52:12	1758	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861249 AND customfield_value = 'stockable'
2023-10-13	12:52:12	1758	[DEBUG]	Check product language entry
2023-10-13	12:52:12	1758	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861250
2023-10-13	12:52:12	1758	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:12	1758	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '858953003483' AND `virtuemart_product_id` != 1861250
2023-10-13	12:52:12	1758	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:12	1758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861250, '858953003483')
2023-10-13	12:52:12	1758	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:12	1758	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'k-edge-garmin-stem-moun-black-adjustable-unitaire' AND `virtuemart_product_id` != 1861250
2023-10-13	12:52:12	1758	[DEBUG]	Query for ProductLang
2023-10-13	12:52:12	1758	[DEBUG]	Executed store
2023-10-13	12:52:12	1758	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='K-Edge GARMIN Stem Moun black / Adjustable (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='k-edge-garmin-stem-moun-black-adjustable-unitaire' WHERE `virtuemart_product_id` = '1861250'
2023-10-13	12:52:12	1758	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38609_k-edge_garmin_stem_moun_black.jpg
2023-10-13	12:52:12	1758	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:12	1758	[DEBUG]	Process image file
2023-10-13	12:52:12	1758	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:12	1758	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:12	1758	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38609_k-edge_garmin_stem_moun_black.jpg
2023-10-13	12:52:12	1758	[DEBUG]	Full name target: bcprisme/38609_k-edge_garmin_stem_moun_black.jpg
2023-10-13	12:52:13	1758	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:13	1758	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38609_k-edge_garmin_stem_moun_black.jpg'
2023-10-13	12:52:13	1758	[DEBUG]	Query for Media
2023-10-13	12:52:13	1758	[DEBUG]	Executed store
2023-10-13	12:52:13	1758	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38609_k-edge_garmin_stem_moun_black.jpg',`file_url_thumb`='bcprisme/38609_k-edge_garmin_stem_moun_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410978'
2023-10-13	12:52:13	1758	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:13	1758	[DEBUG]	Executed store
2023-10-13	12:52:13	1758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861250','1410978','1')
2023-10-13	12:52:13	1758	[DEBUG]	Store product image relation
2023-10-13	12:52:13	1758	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:13	1758	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861250 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:13	1758	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:13	1758	[DEBUG]	Executed store
2023-10-13	12:52:13	1758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861250','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:13	1758	[DEBUG]	Checking manufacturer
2023-10-13	12:52:13	1758	[DEBUG]	Load a row
2023-10-13	12:52:13	1758	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:13	1758	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:13	1758	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:13	1758	[DEBUG]	Executed store
2023-10-13	12:52:13	1758	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='45',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='45' WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:13	1758	[DEBUG]	Manufacturer exists
2023-10-13	12:52:13	1758	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 284
2023-10-13	12:52:13	1758	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:13	1758	[DEBUG]	Executed store
2023-10-13	12:52:13	1758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861250','284')
2023-10-13	12:52:13	1758	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:13	1758	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:13	1758	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861250 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:13	1758	[DEBUG]	Store custom available field
2023-10-13	12:52:13	1758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861250,3,'',1)
2023-10-13	12:52:13	1758	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:13	1758	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:52:13	1758	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861250 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:13	1758	[DEBUG]	Store custom available field
2023-10-13	12:52:13	1758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861250,6,'Unitaire',3)
2023-10-13	12:52:13	1758	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:13	1758	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:13	1758	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861249
2023-10-13	12:52:13	1758	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:13	1758	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861249\":[1861249,8,1,\"choisir la taille\"],\"1861250\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861249
2023-10-13	12:52:13	1758	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:13	1758	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861250
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:13	1759	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field taille
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:13	1759	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:13	1759	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:13	1759	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:13	1759	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:13	1759	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:13	1759	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field published
2023-10-13	12:52:13	1759	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:13	1759	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field override
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:13	1759	[DEBUG]	Use field value for field slug
2023-10-13	12:52:13	1759	[DEBUG]	Process line 1759
2023-10-13	12:52:13	1759	[DEBUG]	Load a row
2023-10-13	12:52:13	1759	[DEBUG]	Processing item: A_9409_84
2023-10-13	12:52:13	1759	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:13	1759	[DEBUG]	Processing product tax
2023-10-13	12:52:13	1759	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:13	1759	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:13	1759	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:13	1759	[DEBUG]	Query for Product
2023-10-13	12:52:14	1759	[DEBUG]	Executed store
2023-10-13	12:52:14	1759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9409_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:14	1759	[DEBUG]	Check product language entry
2023-10-13	12:52:14	1759	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861251
2023-10-13	12:52:14	1759	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:14	1759	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9409_84' AND `virtuemart_product_id` != 1861251
2023-10-13	12:52:14	1759	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:14	1759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861251, 'A_9409_84')
2023-10-13	12:52:14	1759	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:14	1759	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'k-edge-garmin-race-mount-black' AND `virtuemart_product_id` != 1861251
2023-10-13	12:52:14	1759	[DEBUG]	Query for ProductLang
2023-10-13	12:52:14	1759	[DEBUG]	Executed store
2023-10-13	12:52:14	1759	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 760000103000030318',`product_name`='K-Edge GARMIN RACE Mount / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='k-edge-garmin-race-mount-black' WHERE `virtuemart_product_id` = '1861251'
2023-10-13	12:52:14	1759	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38610_k-edge_garmin_race_mount.jpg
2023-10-13	12:52:14	1759	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	12:52:14	1759	[DEBUG]	Process image file
2023-10-13	12:52:14	1759	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	12:52:14	1759	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:14	1759	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38610_k-edge_garmin_race_mount.jpg
2023-10-13	12:52:14	1759	[DEBUG]	Full name target: bcprisme/38610_k-edge_garmin_race_mount.jpg
2023-10-13	12:52:14	1759	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:14	1759	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38610_k-edge_garmin_race_mount.jpg'
2023-10-13	12:52:14	1759	[DEBUG]	Query for Media
2023-10-13	12:52:14	1759	[DEBUG]	Executed store
2023-10-13	12:52:14	1759	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38610_k-edge_garmin_race_mount.jpg',`file_url_thumb`='bcprisme/38610_k-edge_garmin_race_mount.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410980'
2023-10-13	12:52:14	1759	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:14	1759	[DEBUG]	Executed store
2023-10-13	12:52:14	1759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861251','1410980','1')
2023-10-13	12:52:14	1759	[DEBUG]	Store product image relation
2023-10-13	12:52:14	1759	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:14	1759	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861251 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:14	1759	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:14	1759	[DEBUG]	Executed store
2023-10-13	12:52:14	1759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861251','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:14	1759	[DEBUG]	Checking manufacturer
2023-10-13	12:52:14	1759	[DEBUG]	Load a row
2023-10-13	12:52:14	1759	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:14	1759	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:14	1759	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:14	1759	[DEBUG]	Executed store
2023-10-13	12:52:14	1759	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='45',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='45' WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:14	1759	[DEBUG]	Manufacturer exists
2023-10-13	12:52:14	1759	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 284
2023-10-13	12:52:14	1759	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:14	1759	[DEBUG]	Executed store
2023-10-13	12:52:14	1759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861251','284')
2023-10-13	12:52:14	1759	[DEBUG]	Find the custom field ID
2023-10-13	12:52:14	1759	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:14	1759	[DEBUG]	No custom field ID found
2023-10-13	12:52:14	1759	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:15	1759	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:15	1759	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861251 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:15	1759	[DEBUG]	Store custom available field
2023-10-13	12:52:15	1759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861251,3,'0',1)
2023-10-13	12:52:15	1759	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:15	1759	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:15	1759	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861251 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:15	1759	[DEBUG]	Store custom available field
2023-10-13	12:52:15	1759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861251,6,'choisir la taille',3)
2023-10-13	12:52:15	1759	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:15	1759	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:15	1759	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:15	1759	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:15	1759	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861251 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:15	1759	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:15	1759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861251,8,1)
2023-10-13	12:52:15	1759	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:15	1759	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861251\":[1861251,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861251
2023-10-13	12:52:15	1759	[DEBUG]	Checking category
2023-10-13	12:52:15	1759	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:15	1759	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861251
2023-10-13	12:52:15	1759	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:15	1759	[DEBUG]	Executed store
2023-10-13	12:52:15	1759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861251','7310')
2023-10-13	12:52:15	1759	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:15	1759	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861251 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:15	1759	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:15	1759	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861251
2023-10-13	12:52:15	1760	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:15	1760	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:15	1760	[DEBUG]	Use field value for field taille
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:15	1760	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:15	1760	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:15	1760	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:15	1760	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:15	1760	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:15	1760	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:15	1760	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:15	1760	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:15	1760	[DEBUG]	Use field value for field published
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:15	1760	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field override
2023-10-13	12:52:15	1760	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:15	1760	[DEBUG]	Use field value for field slug
2023-10-13	12:52:15	1760	[DEBUG]	Process line 1760
2023-10-13	12:52:15	1760	[DEBUG]	Load a row
2023-10-13	12:52:15	1760	[DEBUG]	Processing item: 857710005456
2023-10-13	12:52:15	1760	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:15	1760	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:15	1760	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9409_84'
2023-10-13	12:52:15	1760	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:15	1760	[DEBUG]	Processing product tax
2023-10-13	12:52:15	1760	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:15	1760	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:15	1760	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:15	1760	[DEBUG]	Query for Product
2023-10-13	12:52:15	1760	[DEBUG]	Executed store
2023-10-13	12:52:15	1760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861251','857710005456','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:15	1760	[DEBUG]	No parent found
2023-10-13	12:52:15	1760	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861251 AND customfield_value = 'stockable'
2023-10-13	12:52:15	1760	[DEBUG]	Check product language entry
2023-10-13	12:52:15	1760	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861252
2023-10-13	12:52:15	1760	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:15	1760	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '857710005456' AND `virtuemart_product_id` != 1861252
2023-10-13	12:52:15	1760	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:15	1760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861252, '857710005456')
2023-10-13	12:52:15	1760	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:15	1760	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'k-edge-garmin-race-mount-black-31-8mm' AND `virtuemart_product_id` != 1861252
2023-10-13	12:52:15	1760	[DEBUG]	Query for ProductLang
2023-10-13	12:52:15	1760	[DEBUG]	Executed store
2023-10-13	12:52:15	1760	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='K-Edge GARMIN RACE Mount / Black (31.8mm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='k-edge-garmin-race-mount-black-31-8mm' WHERE `virtuemart_product_id` = '1861252'
2023-10-13	12:52:15	1760	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38610_k-edge_garmin_race_mount.jpg
2023-10-13	12:52:15	1760	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	12:52:15	1760	[DEBUG]	Process image file
2023-10-13	12:52:15	1760	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	12:52:15	1760	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:15	1760	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38610_k-edge_garmin_race_mount.jpg
2023-10-13	12:52:15	1760	[DEBUG]	Full name target: bcprisme/38610_k-edge_garmin_race_mount.jpg
2023-10-13	12:52:15	1760	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:15	1760	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38610_k-edge_garmin_race_mount.jpg'
2023-10-13	12:52:15	1760	[DEBUG]	Query for Media
2023-10-13	12:52:15	1760	[DEBUG]	Executed store
2023-10-13	12:52:15	1760	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38610_k-edge_garmin_race_mount.jpg',`file_url_thumb`='bcprisme/38610_k-edge_garmin_race_mount.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410980'
2023-10-13	12:52:15	1760	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:15	1760	[DEBUG]	Executed store
2023-10-13	12:52:15	1760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861252','1410980','1')
2023-10-13	12:52:15	1760	[DEBUG]	Store product image relation
2023-10-13	12:52:15	1760	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:15	1760	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861252 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:15	1760	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:15	1760	[DEBUG]	Executed store
2023-10-13	12:52:15	1760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861252','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:15	1760	[DEBUG]	Checking manufacturer
2023-10-13	12:52:15	1760	[DEBUG]	Load a row
2023-10-13	12:52:15	1760	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:15	1760	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:16	1760	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:16	1760	[DEBUG]	Executed store
2023-10-13	12:52:16	1760	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='45',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='45' WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:16	1760	[DEBUG]	Manufacturer exists
2023-10-13	12:52:16	1760	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 284
2023-10-13	12:52:16	1760	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:16	1760	[DEBUG]	Executed store
2023-10-13	12:52:16	1760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861252','284')
2023-10-13	12:52:16	1760	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:16	1760	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:16	1760	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861252 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:16	1760	[DEBUG]	Store custom available field
2023-10-13	12:52:16	1760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861252,3,'',1)
2023-10-13	12:52:16	1760	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:16	1760	[DEBUG]	Get existing row with customfield value 31.8mm
2023-10-13	12:52:16	1760	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861252 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:16	1760	[DEBUG]	Store custom available field
2023-10-13	12:52:16	1760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861252,6,'31.8mm',3)
2023-10-13	12:52:16	1760	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:16	1760	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:16	1760	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861251
2023-10-13	12:52:16	1760	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:16	1760	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n31.8mm\"}]|clabels=0|options={\"1861251\":[1861251,8,1,\"choisir la taille\"],\"1861252\":[\"31.8mm\"]}|' WHERE `virtuemart_product_id` = 1861251
2023-10-13	12:52:16	1760	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:16	1760	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861252
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:16	1761	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field taille
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:16	1761	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:16	1761	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:16	1761	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:16	1761	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:16	1761	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:16	1761	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field published
2023-10-13	12:52:16	1761	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:16	1761	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field override
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:16	1761	[DEBUG]	Use field value for field slug
2023-10-13	12:52:16	1761	[DEBUG]	Process line 1761
2023-10-13	12:52:16	1761	[DEBUG]	Load a row
2023-10-13	12:52:16	1761	[DEBUG]	Processing item: A_9410_343
2023-10-13	12:52:16	1761	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:16	1761	[DEBUG]	Processing product tax
2023-10-13	12:52:16	1761	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:16	1761	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:16	1761	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:16	1761	[DEBUG]	Query for Product
2023-10-13	12:52:16	1761	[DEBUG]	Executed store
2023-10-13	12:52:16	1761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9410_343','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:16	1761	[DEBUG]	Check product language entry
2023-10-13	12:52:16	1761	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861253
2023-10-13	12:52:16	1761	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:16	1761	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9410_343' AND `virtuemart_product_id` != 1861253
2023-10-13	12:52:16	1761	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:16	1761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861253, 'A_9410_343')
2023-10-13	12:52:16	1761	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:16	1761	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'k-edge-replacement-plastic-insert-kit-wahoo-one-size-grey' AND `virtuemart_product_id` != 1861253
2023-10-13	12:52:16	1761	[DEBUG]	Query for ProductLang
2023-10-13	12:52:16	1761	[DEBUG]	Executed store
2023-10-13	12:52:16	1761	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 760000170000078000',`product_name`='K-Edge Replacement Plastic Insert Kit Wahoo one size / Grey',`metadesc`='',`metakey`='',`customtitle`='',`slug`='k-edge-replacement-plastic-insert-kit-wahoo-one-size-grey' WHERE `virtuemart_product_id` = '1861253'
2023-10-13	12:52:16	1761	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38613_k-edge_replacement_plastic_insert_kit_wahoo_one_size.jpg
2023-10-13	12:52:16	1761	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:52:16	1761	[DEBUG]	Process image file
2023-10-13	12:52:16	1761	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:52:16	1761	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:16	1761	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38613_k-edge_replacement_plastic_insert_kit_wahoo_one_size.jpg
2023-10-13	12:52:16	1761	[DEBUG]	Full name target: bcprisme/38613_k-edge_replacement_plastic_insert_kit_wahoo_one_size.jpg
2023-10-13	12:52:17	1761	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:17	1761	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38613_k-edge_replacement_plastic_insert_kit_wahoo_one_size.jpg'
2023-10-13	12:52:17	1761	[DEBUG]	Query for Media
2023-10-13	12:52:17	1761	[DEBUG]	Executed store
2023-10-13	12:52:17	1761	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38613_k-edge_replacement_plastic_insert_kit_wahoo_one_size.jpg',`file_url_thumb`='bcprisme/38613_k-edge_replacement_plastic_insert_kit_wahoo_one_size.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410982'
2023-10-13	12:52:17	1761	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:17	1761	[DEBUG]	Executed store
2023-10-13	12:52:17	1761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861253','1410982','1')
2023-10-13	12:52:17	1761	[DEBUG]	Store product image relation
2023-10-13	12:52:17	1761	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:17	1761	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861253 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:17	1761	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:17	1761	[DEBUG]	Executed store
2023-10-13	12:52:17	1761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861253','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:17	1761	[DEBUG]	Checking manufacturer
2023-10-13	12:52:17	1761	[DEBUG]	Load a row
2023-10-13	12:52:17	1761	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:17	1761	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:17	1761	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:17	1761	[DEBUG]	Executed store
2023-10-13	12:52:17	1761	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='45',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='45' WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:17	1761	[DEBUG]	Manufacturer exists
2023-10-13	12:52:17	1761	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 284
2023-10-13	12:52:17	1761	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:17	1761	[DEBUG]	Executed store
2023-10-13	12:52:17	1761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861253','284')
2023-10-13	12:52:17	1761	[DEBUG]	Find the custom field ID
2023-10-13	12:52:17	1761	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:17	1761	[DEBUG]	No custom field ID found
2023-10-13	12:52:17	1761	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:17	1761	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:17	1761	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861253 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:17	1761	[DEBUG]	Store custom available field
2023-10-13	12:52:17	1761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861253,3,'0',1)
2023-10-13	12:52:17	1761	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:17	1761	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:17	1761	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861253 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:17	1761	[DEBUG]	Store custom available field
2023-10-13	12:52:17	1761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861253,6,'choisir la taille',3)
2023-10-13	12:52:17	1761	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:17	1761	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:17	1761	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:17	1761	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:17	1761	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861253 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:17	1761	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:17	1761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861253,8,1)
2023-10-13	12:52:17	1761	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:17	1761	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861253\":[1861253,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861253
2023-10-13	12:52:17	1761	[DEBUG]	Checking category
2023-10-13	12:52:17	1761	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:17	1761	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861253
2023-10-13	12:52:17	1761	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:17	1761	[DEBUG]	Executed store
2023-10-13	12:52:17	1761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861253','7310')
2023-10-13	12:52:17	1761	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:17	1761	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861253 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:17	1761	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:17	1761	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861253
2023-10-13	12:52:17	1762	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:17	1762	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:17	1762	[DEBUG]	Use field value for field taille
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:17	1762	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:17	1762	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:17	1762	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:17	1762	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:17	1762	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:17	1762	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:17	1762	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:17	1762	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:17	1762	[DEBUG]	Use field value for field published
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:17	1762	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field override
2023-10-13	12:52:17	1762	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:17	1762	[DEBUG]	Use field value for field slug
2023-10-13	12:52:17	1762	[DEBUG]	Process line 1762
2023-10-13	12:52:17	1762	[DEBUG]	Load a row
2023-10-13	12:52:17	1762	[DEBUG]	Processing item: 857710005845
2023-10-13	12:52:17	1762	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:17	1762	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:17	1762	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9410_343'
2023-10-13	12:52:17	1762	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:17	1762	[DEBUG]	Processing product tax
2023-10-13	12:52:17	1762	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:17	1762	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:17	1762	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:17	1762	[DEBUG]	Query for Product
2023-10-13	12:52:17	1762	[DEBUG]	Executed store
2023-10-13	12:52:17	1762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861253','857710005845','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:17	1762	[DEBUG]	No parent found
2023-10-13	12:52:17	1762	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861253 AND customfield_value = 'stockable'
2023-10-13	12:52:17	1762	[DEBUG]	Check product language entry
2023-10-13	12:52:17	1762	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861254
2023-10-13	12:52:17	1762	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:17	1762	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '857710005845' AND `virtuemart_product_id` != 1861254
2023-10-13	12:52:17	1762	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:17	1762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861254, '857710005845')
2023-10-13	12:52:17	1762	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:17	1762	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'k-edge-replacement-plastic-insert-kit-wahoo-one-size-grey-unitaire' AND `virtuemart_product_id` != 1861254
2023-10-13	12:52:17	1762	[DEBUG]	Query for ProductLang
2023-10-13	12:52:17	1762	[DEBUG]	Executed store
2023-10-13	12:52:17	1762	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='K-Edge Replacement Plastic Insert Kit Wahoo one size / Grey (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='k-edge-replacement-plastic-insert-kit-wahoo-one-size-grey-unitaire' WHERE `virtuemart_product_id` = '1861254'
2023-10-13	12:52:17	1762	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38613_k-edge_replacement_plastic_insert_kit_wahoo_one_size.jpg
2023-10-13	12:52:17	1762	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:52:17	1762	[DEBUG]	Process image file
2023-10-13	12:52:17	1762	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:52:17	1762	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:17	1762	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38613_k-edge_replacement_plastic_insert_kit_wahoo_one_size.jpg
2023-10-13	12:52:17	1762	[DEBUG]	Full name target: bcprisme/38613_k-edge_replacement_plastic_insert_kit_wahoo_one_size.jpg
2023-10-13	12:52:18	1762	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:18	1762	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38613_k-edge_replacement_plastic_insert_kit_wahoo_one_size.jpg'
2023-10-13	12:52:18	1762	[DEBUG]	Query for Media
2023-10-13	12:52:18	1762	[DEBUG]	Executed store
2023-10-13	12:52:18	1762	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38613_k-edge_replacement_plastic_insert_kit_wahoo_one_size.jpg',`file_url_thumb`='bcprisme/38613_k-edge_replacement_plastic_insert_kit_wahoo_one_size.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1410982'
2023-10-13	12:52:18	1762	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:18	1762	[DEBUG]	Executed store
2023-10-13	12:52:18	1762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861254','1410982','1')
2023-10-13	12:52:18	1762	[DEBUG]	Store product image relation
2023-10-13	12:52:18	1762	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:18	1762	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861254 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:18	1762	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:18	1762	[DEBUG]	Executed store
2023-10-13	12:52:18	1762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861254','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:18	1762	[DEBUG]	Checking manufacturer
2023-10-13	12:52:18	1762	[DEBUG]	Load a row
2023-10-13	12:52:18	1762	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:18	1762	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:18	1762	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:18	1762	[DEBUG]	Executed store
2023-10-13	12:52:18	1762	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='45',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='45' WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:18	1762	[DEBUG]	Manufacturer exists
2023-10-13	12:52:18	1762	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 284
2023-10-13	12:52:18	1762	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:18	1762	[DEBUG]	Executed store
2023-10-13	12:52:18	1762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861254','284')
2023-10-13	12:52:18	1762	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:18	1762	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:18	1762	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861254 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:18	1762	[DEBUG]	Store custom available field
2023-10-13	12:52:18	1762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861254,3,'',1)
2023-10-13	12:52:18	1762	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:18	1762	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:52:18	1762	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861254 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:18	1762	[DEBUG]	Store custom available field
2023-10-13	12:52:18	1762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861254,6,'Unitaire',3)
2023-10-13	12:52:18	1762	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:18	1762	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:18	1762	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861253
2023-10-13	12:52:18	1762	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:18	1762	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861253\":[1861253,8,1,\"choisir la taille\"],\"1861254\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861253
2023-10-13	12:52:18	1762	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:18	1762	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861254
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:18	1763	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field taille
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:18	1763	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:18	1763	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:18	1763	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:18	1763	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:18	1763	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:18	1763	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field published
2023-10-13	12:52:18	1763	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:18	1763	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field override
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:18	1763	[DEBUG]	Use field value for field slug
2023-10-13	12:52:18	1763	[DEBUG]	Process line 1763
2023-10-13	12:52:18	1763	[DEBUG]	Load a row
2023-10-13	12:52:18	1763	[DEBUG]	Processing item: A_9564_25
2023-10-13	12:52:18	1763	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:18	1763	[DEBUG]	Processing product tax
2023-10-13	12:52:18	1763	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:18	1763	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:18	1763	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:18	1763	[DEBUG]	Query for Product
2023-10-13	12:52:18	1763	[DEBUG]	Executed store
2023-10-13	12:52:18	1763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9564_25','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:18	1763	[DEBUG]	Check product language entry
2023-10-13	12:52:18	1763	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861255
2023-10-13	12:52:18	1763	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:18	1763	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9564_25' AND `virtuemart_product_id` != 1861255
2023-10-13	12:52:18	1763	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:18	1763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861255, 'A_9564_25')
2023-10-13	12:52:18	1763	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:18	1763	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-bc-10-0-wr-avec-cable-noir-blanc-noir-blanc' AND `virtuemart_product_id` != 1861255
2023-10-13	12:52:18	1763	[DEBUG]	Query for ProductLang
2023-10-13	12:52:18	1763	[DEBUG]	Executed store
2023-10-13	12:52:18	1763	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.83734',`product_name`='Sigma Compteur BC 10.0 WR avec câble noir/blanc / Noir-blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-bc-10-0-wr-avec-cable-noir-blanc-noir-blanc' WHERE `virtuemart_product_id` = '1861255'
2023-10-13	12:52:18	1763	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83734_recht.jpg
2023-10-13	12:52:18	1763	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:18	1763	[DEBUG]	Process image file
2023-10-13	12:52:18	1763	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:18	1763	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:18	1763	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83734_recht.jpg
2023-10-13	12:52:18	1763	[DEBUG]	Full name target: bcprisme/20_83734_recht.jpg
2023-10-13	12:52:19	1763	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:19	1763	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_83734_recht.jpg'
2023-10-13	12:52:19	1763	[DEBUG]	Query for Media
2023-10-13	12:52:19	1763	[DEBUG]	Executed store
2023-10-13	12:52:19	1763	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_83734_recht.jpg',`file_url_thumb`='bcprisme/20_83734_recht.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1477650'
2023-10-13	12:52:19	1763	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:19	1763	[DEBUG]	Executed store
2023-10-13	12:52:19	1763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861255','1477650','1')
2023-10-13	12:52:19	1763	[DEBUG]	Store product image relation
2023-10-13	12:52:19	1763	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:19	1763	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861255 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:19	1763	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:19	1763	[DEBUG]	Executed store
2023-10-13	12:52:19	1763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861255','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:19	1763	[DEBUG]	Checking manufacturer
2023-10-13	12:52:19	1763	[DEBUG]	Load a row
2023-10-13	12:52:19	1763	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:19	1763	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:19	1763	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:19	1763	[DEBUG]	Executed store
2023-10-13	12:52:19	1763	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:19	1763	[DEBUG]	Manufacturer exists
2023-10-13	12:52:19	1763	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:52:19	1763	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:19	1763	[DEBUG]	Executed store
2023-10-13	12:52:19	1763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861255','79')
2023-10-13	12:52:19	1763	[DEBUG]	Find the custom field ID
2023-10-13	12:52:19	1763	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:19	1763	[DEBUG]	No custom field ID found
2023-10-13	12:52:19	1763	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:19	1763	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:19	1763	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861255 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:19	1763	[DEBUG]	Store custom available field
2023-10-13	12:52:19	1763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861255,3,'0',1)
2023-10-13	12:52:19	1763	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:19	1763	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:19	1763	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861255 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:19	1763	[DEBUG]	Store custom available field
2023-10-13	12:52:19	1763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861255,6,'choisir la taille',3)
2023-10-13	12:52:19	1763	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:19	1763	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:19	1763	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:19	1763	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:19	1763	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861255 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:19	1763	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:19	1763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861255,8,1)
2023-10-13	12:52:19	1763	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:19	1763	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861255\":[1861255,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861255
2023-10-13	12:52:19	1763	[DEBUG]	Checking category
2023-10-13	12:52:19	1763	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:19	1763	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861255
2023-10-13	12:52:19	1763	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:19	1763	[DEBUG]	Executed store
2023-10-13	12:52:19	1763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861255','7310')
2023-10-13	12:52:19	1763	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:19	1763	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861255 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:19	1763	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:19	1763	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861255
2023-10-13	12:52:19	1764	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:19	1764	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:19	1764	[DEBUG]	Use field value for field taille
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:19	1764	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:19	1764	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:19	1764	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:19	1764	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:19	1764	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:19	1764	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:19	1764	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:19	1764	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:19	1764	[DEBUG]	Use field value for field published
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:19	1764	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field override
2023-10-13	12:52:19	1764	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:19	1764	[DEBUG]	Use field value for field slug
2023-10-13	12:52:19	1764	[DEBUG]	Process line 1764
2023-10-13	12:52:19	1764	[DEBUG]	Load a row
2023-10-13	12:52:19	1764	[DEBUG]	Processing item: 4016224102105
2023-10-13	12:52:19	1764	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:19	1764	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:19	1764	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9564_25'
2023-10-13	12:52:19	1764	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:19	1764	[DEBUG]	Processing product tax
2023-10-13	12:52:19	1764	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:19	1764	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:19	1764	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:19	1764	[DEBUG]	Query for Product
2023-10-13	12:52:19	1764	[DEBUG]	Executed store
2023-10-13	12:52:19	1764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861255','4016224102105','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:19	1764	[DEBUG]	No parent found
2023-10-13	12:52:19	1764	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861255 AND customfield_value = 'stockable'
2023-10-13	12:52:19	1764	[DEBUG]	Check product language entry
2023-10-13	12:52:19	1764	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861256
2023-10-13	12:52:19	1764	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:19	1764	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4016224102105' AND `virtuemart_product_id` != 1861256
2023-10-13	12:52:19	1764	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:19	1764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861256, '4016224102105')
2023-10-13	12:52:19	1764	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:19	1764	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-bc-10-0-wr-avec-cable-noir-blanc-noir-blanc-unitaire' AND `virtuemart_product_id` != 1861256
2023-10-13	12:52:19	1764	[DEBUG]	Query for ProductLang
2023-10-13	12:52:19	1764	[DEBUG]	Executed store
2023-10-13	12:52:19	1764	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma Compteur BC 10.0 WR avec câble noir/blanc / Noir-blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-bc-10-0-wr-avec-cable-noir-blanc-noir-blanc-unitaire' WHERE `virtuemart_product_id` = '1861256'
2023-10-13	12:52:19	1764	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83734_recht.jpg
2023-10-13	12:52:19	1764	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:19	1764	[DEBUG]	Process image file
2023-10-13	12:52:19	1764	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:19	1764	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:19	1764	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83734_recht.jpg
2023-10-13	12:52:19	1764	[DEBUG]	Full name target: bcprisme/20_83734_recht.jpg
2023-10-13	12:52:20	1764	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:20	1764	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_83734_recht.jpg'
2023-10-13	12:52:20	1764	[DEBUG]	Query for Media
2023-10-13	12:52:20	1764	[DEBUG]	Executed store
2023-10-13	12:52:20	1764	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_83734_recht.jpg',`file_url_thumb`='bcprisme/20_83734_recht.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1477650'
2023-10-13	12:52:20	1764	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:20	1764	[DEBUG]	Executed store
2023-10-13	12:52:20	1764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861256','1477650','1')
2023-10-13	12:52:20	1764	[DEBUG]	Store product image relation
2023-10-13	12:52:20	1764	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:20	1764	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861256 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:20	1764	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:20	1764	[DEBUG]	Executed store
2023-10-13	12:52:20	1764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861256','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:20	1764	[DEBUG]	Checking manufacturer
2023-10-13	12:52:20	1764	[DEBUG]	Load a row
2023-10-13	12:52:20	1764	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:20	1764	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:20	1764	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:20	1764	[DEBUG]	Executed store
2023-10-13	12:52:20	1764	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:20	1764	[DEBUG]	Manufacturer exists
2023-10-13	12:52:20	1764	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:52:20	1764	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:20	1764	[DEBUG]	Executed store
2023-10-13	12:52:20	1764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861256','79')
2023-10-13	12:52:20	1764	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:20	1764	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:20	1764	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861256 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:20	1764	[DEBUG]	Store custom available field
2023-10-13	12:52:20	1764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861256,3,'',1)
2023-10-13	12:52:20	1764	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:20	1764	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:52:20	1764	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861256 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:20	1764	[DEBUG]	Store custom available field
2023-10-13	12:52:20	1764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861256,6,'Unitaire',3)
2023-10-13	12:52:20	1764	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:20	1764	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:20	1764	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861255
2023-10-13	12:52:20	1764	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:20	1764	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861255\":[1861255,8,1,\"choisir la taille\"],\"1861256\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861255
2023-10-13	12:52:20	1764	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:20	1764	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861256
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:20	1765	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field taille
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:20	1765	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:20	1765	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:20	1765	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:20	1765	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:20	1765	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:20	1765	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field published
2023-10-13	12:52:20	1765	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:20	1765	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field override
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:20	1765	[DEBUG]	Use field value for field slug
2023-10-13	12:52:20	1765	[DEBUG]	Process line 1765
2023-10-13	12:52:20	1765	[DEBUG]	Load a row
2023-10-13	12:52:20	1765	[DEBUG]	Processing item: A_9565_12
2023-10-13	12:52:20	1765	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:20	1765	[DEBUG]	Processing product tax
2023-10-13	12:52:20	1765	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:20	1765	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:20	1765	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:20	1765	[DEBUG]	Query for Product
2023-10-13	12:52:20	1765	[DEBUG]	Executed store
2023-10-13	12:52:20	1765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9565_12','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:20	1765	[DEBUG]	Check product language entry
2023-10-13	12:52:20	1765	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861257
2023-10-13	12:52:20	1765	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:20	1765	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9565_12' AND `virtuemart_product_id` != 1861257
2023-10-13	12:52:20	1765	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:20	1765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861257, 'A_9565_12')
2023-10-13	12:52:20	1765	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:20	1765	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-bc-12-0-wl-sts-sans-cable-digital-blanc-blanc' AND `virtuemart_product_id` != 1861257
2023-10-13	12:52:20	1765	[DEBUG]	Query for ProductLang
2023-10-13	12:52:20	1765	[DEBUG]	Executed store
2023-10-13	12:52:20	1765	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.83736',`product_name`='Sigma Compteur BC 12.0 WL STS sans câble digital blanc / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-bc-12-0-wl-sts-sans-cable-digital-blanc-blanc' WHERE `virtuemart_product_id` = '1861257'
2023-10-13	12:52:20	1765	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83736_recht.jpg
2023-10-13	12:52:20	1765	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:20	1765	[DEBUG]	Process image file
2023-10-13	12:52:20	1765	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:20	1765	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:20	1765	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83736_recht.jpg
2023-10-13	12:52:20	1765	[DEBUG]	Full name target: bcprisme/20_83736_recht.jpg
2023-10-13	12:52:21	1765	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:21	1765	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_83736_recht.jpg'
2023-10-13	12:52:21	1765	[DEBUG]	Query for Media
2023-10-13	12:52:21	1765	[DEBUG]	Executed store
2023-10-13	12:52:21	1765	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_83736_recht.jpg',`file_url_thumb`='bcprisme/20_83736_recht.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1477652'
2023-10-13	12:52:21	1765	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:21	1765	[DEBUG]	Executed store
2023-10-13	12:52:21	1765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861257','1477652','1')
2023-10-13	12:52:21	1765	[DEBUG]	Store product image relation
2023-10-13	12:52:21	1765	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:21	1765	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861257 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:21	1765	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:21	1765	[DEBUG]	Executed store
2023-10-13	12:52:21	1765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861257','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:21	1765	[DEBUG]	Checking manufacturer
2023-10-13	12:52:21	1765	[DEBUG]	Load a row
2023-10-13	12:52:21	1765	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:21	1765	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:21	1765	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:21	1765	[DEBUG]	Executed store
2023-10-13	12:52:21	1765	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:21	1765	[DEBUG]	Manufacturer exists
2023-10-13	12:52:21	1765	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:52:21	1765	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:21	1765	[DEBUG]	Executed store
2023-10-13	12:52:21	1765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861257','79')
2023-10-13	12:52:21	1765	[DEBUG]	Find the custom field ID
2023-10-13	12:52:21	1765	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:21	1765	[DEBUG]	No custom field ID found
2023-10-13	12:52:21	1765	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:21	1765	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:21	1765	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861257 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:21	1765	[DEBUG]	Store custom available field
2023-10-13	12:52:21	1765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861257,3,'0',1)
2023-10-13	12:52:21	1765	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:21	1765	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:21	1765	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861257 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:21	1765	[DEBUG]	Store custom available field
2023-10-13	12:52:21	1765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861257,6,'choisir la taille',3)
2023-10-13	12:52:21	1765	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:21	1765	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:21	1765	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:21	1765	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:21	1765	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861257 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:21	1765	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:21	1765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861257,8,1)
2023-10-13	12:52:21	1765	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:21	1765	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861257\":[1861257,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861257
2023-10-13	12:52:21	1765	[DEBUG]	Checking category
2023-10-13	12:52:21	1765	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:21	1765	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861257
2023-10-13	12:52:21	1765	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:21	1765	[DEBUG]	Executed store
2023-10-13	12:52:21	1765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861257','7310')
2023-10-13	12:52:21	1765	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:21	1765	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861257 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:21	1765	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:21	1765	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861257
2023-10-13	12:52:21	1766	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:21	1766	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:21	1766	[DEBUG]	Use field value for field taille
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:21	1766	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:21	1766	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:21	1766	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:21	1766	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:21	1766	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:21	1766	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:21	1766	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:21	1766	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:21	1766	[DEBUG]	Use field value for field published
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:21	1766	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field override
2023-10-13	12:52:21	1766	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:21	1766	[DEBUG]	Use field value for field slug
2023-10-13	12:52:21	1766	[DEBUG]	Process line 1766
2023-10-13	12:52:21	1766	[DEBUG]	Load a row
2023-10-13	12:52:21	1766	[DEBUG]	Processing item: 4016224122110
2023-10-13	12:52:21	1766	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:21	1766	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:21	1766	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9565_12'
2023-10-13	12:52:21	1766	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:21	1766	[DEBUG]	Processing product tax
2023-10-13	12:52:21	1766	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:21	1766	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:21	1766	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:21	1766	[DEBUG]	Query for Product
2023-10-13	12:52:21	1766	[DEBUG]	Executed store
2023-10-13	12:52:21	1766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861257','4016224122110','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:21	1766	[DEBUG]	No parent found
2023-10-13	12:52:21	1766	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861257 AND customfield_value = 'stockable'
2023-10-13	12:52:21	1766	[DEBUG]	Check product language entry
2023-10-13	12:52:21	1766	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861258
2023-10-13	12:52:21	1766	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:21	1766	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4016224122110' AND `virtuemart_product_id` != 1861258
2023-10-13	12:52:21	1766	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:21	1766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861258, '4016224122110')
2023-10-13	12:52:21	1766	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:21	1766	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-bc-12-0-wl-sts-sans-cable-digital-blanc-blanc-unitaire' AND `virtuemart_product_id` != 1861258
2023-10-13	12:52:21	1766	[DEBUG]	Query for ProductLang
2023-10-13	12:52:21	1766	[DEBUG]	Executed store
2023-10-13	12:52:21	1766	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma Compteur BC 12.0 WL STS sans câble digital blanc / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-bc-12-0-wl-sts-sans-cable-digital-blanc-blanc-unitaire' WHERE `virtuemart_product_id` = '1861258'
2023-10-13	12:52:21	1766	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83736_recht.jpg
2023-10-13	12:52:21	1766	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:21	1766	[DEBUG]	Process image file
2023-10-13	12:52:21	1766	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:21	1766	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:21	1766	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83736_recht.jpg
2023-10-13	12:52:21	1766	[DEBUG]	Full name target: bcprisme/20_83736_recht.jpg
2023-10-13	12:52:22	1766	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:22	1766	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_83736_recht.jpg'
2023-10-13	12:52:22	1766	[DEBUG]	Query for Media
2023-10-13	12:52:22	1766	[DEBUG]	Executed store
2023-10-13	12:52:22	1766	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_83736_recht.jpg',`file_url_thumb`='bcprisme/20_83736_recht.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1477652'
2023-10-13	12:52:22	1766	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:22	1766	[DEBUG]	Executed store
2023-10-13	12:52:22	1766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861258','1477652','1')
2023-10-13	12:52:22	1766	[DEBUG]	Store product image relation
2023-10-13	12:52:22	1766	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:22	1766	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861258 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:22	1766	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:22	1766	[DEBUG]	Executed store
2023-10-13	12:52:22	1766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861258','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:22	1766	[DEBUG]	Checking manufacturer
2023-10-13	12:52:22	1766	[DEBUG]	Load a row
2023-10-13	12:52:22	1766	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:22	1766	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:22	1766	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:22	1766	[DEBUG]	Executed store
2023-10-13	12:52:22	1766	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:22	1766	[DEBUG]	Manufacturer exists
2023-10-13	12:52:22	1766	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:52:22	1766	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:22	1766	[DEBUG]	Executed store
2023-10-13	12:52:22	1766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861258','79')
2023-10-13	12:52:22	1766	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:22	1766	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:22	1766	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861258 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:22	1766	[DEBUG]	Store custom available field
2023-10-13	12:52:22	1766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861258,3,'',1)
2023-10-13	12:52:22	1766	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:22	1766	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:52:22	1766	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861258 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:22	1766	[DEBUG]	Store custom available field
2023-10-13	12:52:22	1766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861258,6,'Unitaire',3)
2023-10-13	12:52:22	1766	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:22	1766	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:22	1766	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861257
2023-10-13	12:52:22	1766	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:22	1766	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861257\":[1861257,8,1,\"choisir la taille\"],\"1861258\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861257
2023-10-13	12:52:22	1766	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:22	1766	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861258
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:22	1767	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field taille
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:22	1767	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:22	1767	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:22	1767	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:22	1767	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:22	1767	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:22	1767	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field published
2023-10-13	12:52:22	1767	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:22	1767	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field override
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:22	1767	[DEBUG]	Use field value for field slug
2023-10-13	12:52:22	1767	[DEBUG]	Process line 1767
2023-10-13	12:52:22	1767	[DEBUG]	Load a row
2023-10-13	12:52:22	1767	[DEBUG]	Processing item: A_9669_25
2023-10-13	12:52:22	1767	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:22	1767	[DEBUG]	Processing product tax
2023-10-13	12:52:22	1767	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:22	1767	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:22	1767	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:22	1767	[DEBUG]	Query for Product
2023-10-13	12:52:22	1767	[DEBUG]	Executed store
2023-10-13	12:52:22	1767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9669_25','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:22	1767	[DEBUG]	Check product language entry
2023-10-13	12:52:22	1767	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861259
2023-10-13	12:52:22	1767	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:22	1767	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9669_25' AND `virtuemart_product_id` != 1861259
2023-10-13	12:52:22	1767	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:22	1767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861259, 'A_9669_25')
2023-10-13	12:52:22	1767	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:22	1767	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-bc-10-0-wl-ats-sans-cable-analog-noir-blanc-noir-blanc' AND `virtuemart_product_id` != 1861259
2023-10-13	12:52:22	1767	[DEBUG]	Query for ProductLang
2023-10-13	12:52:22	1767	[DEBUG]	Executed store
2023-10-13	12:52:22	1767	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.83735',`product_name`='Sigma Compteur BC 10.0 WL ATS sans câble analog noir/blanc / Noir-blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-bc-10-0-wl-ats-sans-cable-analog-noir-blanc-noir-blanc' WHERE `virtuemart_product_id` = '1861259'
2023-10-13	12:52:22	1767	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83735_recht.jpg
2023-10-13	12:52:22	1767	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:22	1767	[DEBUG]	Process image file
2023-10-13	12:52:22	1767	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:22	1767	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:22	1767	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83735_recht.jpg
2023-10-13	12:52:22	1767	[DEBUG]	Full name target: bcprisme/20_83735_recht.jpg
2023-10-13	12:52:23	1767	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:23	1767	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_83735_recht.jpg'
2023-10-13	12:52:23	1767	[DEBUG]	Query for Media
2023-10-13	12:52:23	1767	[DEBUG]	Executed store
2023-10-13	12:52:23	1767	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_83735_recht.jpg',`file_url_thumb`='bcprisme/20_83735_recht.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1518232'
2023-10-13	12:52:23	1767	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:23	1767	[DEBUG]	Executed store
2023-10-13	12:52:23	1767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861259','1518232','1')
2023-10-13	12:52:23	1767	[DEBUG]	Store product image relation
2023-10-13	12:52:23	1767	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:23	1767	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861259 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:23	1767	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:23	1767	[DEBUG]	Executed store
2023-10-13	12:52:23	1767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861259','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:23	1767	[DEBUG]	Checking manufacturer
2023-10-13	12:52:23	1767	[DEBUG]	Load a row
2023-10-13	12:52:23	1767	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:23	1767	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:23	1767	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:23	1767	[DEBUG]	Executed store
2023-10-13	12:52:23	1767	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:23	1767	[DEBUG]	Manufacturer exists
2023-10-13	12:52:23	1767	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:52:23	1767	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:23	1767	[DEBUG]	Executed store
2023-10-13	12:52:23	1767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861259','79')
2023-10-13	12:52:23	1767	[DEBUG]	Find the custom field ID
2023-10-13	12:52:23	1767	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:23	1767	[DEBUG]	No custom field ID found
2023-10-13	12:52:23	1767	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:23	1767	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:23	1767	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861259 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:23	1767	[DEBUG]	Store custom available field
2023-10-13	12:52:23	1767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861259,3,'0',1)
2023-10-13	12:52:23	1767	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:23	1767	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:23	1767	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861259 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:23	1767	[DEBUG]	Store custom available field
2023-10-13	12:52:23	1767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861259,6,'choisir la taille',3)
2023-10-13	12:52:23	1767	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:23	1767	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:23	1767	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:23	1767	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:23	1767	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861259 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:23	1767	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:23	1767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861259,8,1)
2023-10-13	12:52:23	1767	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:23	1767	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861259\":[1861259,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861259
2023-10-13	12:52:23	1767	[DEBUG]	Checking category
2023-10-13	12:52:23	1767	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:23	1767	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861259
2023-10-13	12:52:23	1767	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:23	1767	[DEBUG]	Executed store
2023-10-13	12:52:23	1767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861259','7310')
2023-10-13	12:52:23	1767	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:23	1767	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861259 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:23	1767	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:23	1767	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861259
2023-10-13	12:52:23	1768	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:23	1768	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:23	1768	[DEBUG]	Use field value for field taille
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:23	1768	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:23	1768	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:23	1768	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:23	1768	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:23	1768	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:23	1768	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:23	1768	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:23	1768	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:23	1768	[DEBUG]	Use field value for field published
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:23	1768	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field override
2023-10-13	12:52:23	1768	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:23	1768	[DEBUG]	Use field value for field slug
2023-10-13	12:52:23	1768	[DEBUG]	Process line 1768
2023-10-13	12:52:23	1768	[DEBUG]	Load a row
2023-10-13	12:52:23	1768	[DEBUG]	Processing item: 4016224102112
2023-10-13	12:52:23	1768	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:23	1768	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:23	1768	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9669_25'
2023-10-13	12:52:23	1768	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:23	1768	[DEBUG]	Processing product tax
2023-10-13	12:52:23	1768	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:23	1768	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:23	1768	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:23	1768	[DEBUG]	Query for Product
2023-10-13	12:52:23	1768	[DEBUG]	Executed store
2023-10-13	12:52:23	1768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861259','4016224102112','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:23	1768	[DEBUG]	No parent found
2023-10-13	12:52:23	1768	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861259 AND customfield_value = 'stockable'
2023-10-13	12:52:23	1768	[DEBUG]	Check product language entry
2023-10-13	12:52:23	1768	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861260
2023-10-13	12:52:23	1768	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:23	1768	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4016224102112' AND `virtuemart_product_id` != 1861260
2023-10-13	12:52:23	1768	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:23	1768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861260, '4016224102112')
2023-10-13	12:52:23	1768	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:23	1768	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sigma-compteur-bc-10-0-wl-ats-sans-cable-analog-noir-blanc-noir-blanc-unitaire' AND `virtuemart_product_id` != 1861260
2023-10-13	12:52:23	1768	[DEBUG]	Query for ProductLang
2023-10-13	12:52:23	1768	[DEBUG]	Executed store
2023-10-13	12:52:23	1768	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Sigma Compteur BC 10.0 WL ATS sans câble analog noir/blanc / Noir-blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sigma-compteur-bc-10-0-wl-ats-sans-cable-analog-noir-blanc-noir-blanc-unitaire' WHERE `virtuemart_product_id` = '1861260'
2023-10-13	12:52:23	1768	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83735_recht.jpg
2023-10-13	12:52:23	1768	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:23	1768	[DEBUG]	Process image file
2023-10-13	12:52:23	1768	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:23	1768	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:23	1768	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_83735_recht.jpg
2023-10-13	12:52:23	1768	[DEBUG]	Full name target: bcprisme/20_83735_recht.jpg
2023-10-13	12:52:24	1768	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:24	1768	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_83735_recht.jpg'
2023-10-13	12:52:24	1768	[DEBUG]	Query for Media
2023-10-13	12:52:24	1768	[DEBUG]	Executed store
2023-10-13	12:52:24	1768	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_83735_recht.jpg',`file_url_thumb`='bcprisme/20_83735_recht.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1518232'
2023-10-13	12:52:24	1768	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:24	1768	[DEBUG]	Executed store
2023-10-13	12:52:24	1768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861260','1518232','1')
2023-10-13	12:52:24	1768	[DEBUG]	Store product image relation
2023-10-13	12:52:24	1768	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:24	1768	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861260 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:24	1768	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:24	1768	[DEBUG]	Executed store
2023-10-13	12:52:24	1768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861260','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:24	1768	[DEBUG]	Checking manufacturer
2023-10-13	12:52:24	1768	[DEBUG]	Load a row
2023-10-13	12:52:24	1768	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:24	1768	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:24	1768	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:24	1768	[DEBUG]	Executed store
2023-10-13	12:52:24	1768	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441751339808' WHERE `virtuemart_manufacturer_id` = '79'
2023-10-13	12:52:24	1768	[DEBUG]	Manufacturer exists
2023-10-13	12:52:24	1768	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 79
2023-10-13	12:52:24	1768	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:24	1768	[DEBUG]	Executed store
2023-10-13	12:52:24	1768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861260','79')
2023-10-13	12:52:24	1768	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:24	1768	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:24	1768	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861260 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:24	1768	[DEBUG]	Store custom available field
2023-10-13	12:52:24	1768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861260,3,'',1)
2023-10-13	12:52:24	1768	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:24	1768	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:52:24	1768	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861260 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:24	1768	[DEBUG]	Store custom available field
2023-10-13	12:52:24	1768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861260,6,'Unitaire',3)
2023-10-13	12:52:24	1768	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:24	1768	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:24	1768	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861259
2023-10-13	12:52:24	1768	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:24	1768	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861259\":[1861259,8,1,\"choisir la taille\"],\"1861260\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861259
2023-10-13	12:52:24	1768	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:24	1768	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861260
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:24	1769	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field taille
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:24	1769	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:24	1769	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:24	1769	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:24	1769	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:24	1769	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:24	1769	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field published
2023-10-13	12:52:24	1769	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:24	1769	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field override
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:24	1769	[DEBUG]	Use field value for field slug
2023-10-13	12:52:24	1769	[DEBUG]	Process line 1769
2023-10-13	12:52:24	1769	[DEBUG]	Load a row
2023-10-13	12:52:24	1769	[DEBUG]	Processing item: A_9670_1
2023-10-13	12:52:24	1769	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:24	1769	[DEBUG]	Processing product tax
2023-10-13	12:52:24	1769	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:24	1769	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:24	1769	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:24	1769	[DEBUG]	Query for Product
2023-10-13	12:52:24	1769	[DEBUG]	Executed store
2023-10-13	12:52:24	1769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9670_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:24	1769	[DEBUG]	Check product language entry
2023-10-13	12:52:24	1769	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861261
2023-10-13	12:52:24	1769	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:24	1769	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9670_1' AND `virtuemart_product_id` != 1861261
2023-10-13	12:52:24	1769	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:24	1769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861261, 'A_9670_1')
2023-10-13	12:52:24	1769	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:24	1769	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vdo-compteur-r1-wl-ats-sans-cable-analog-noir-noir' AND `virtuemart_product_id` != 1861261
2023-10-13	12:52:24	1769	[DEBUG]	Query for ProductLang
2023-10-13	12:52:24	1769	[DEBUG]	Executed store
2023-10-13	12:52:24	1769	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.85421',`product_name`='VDO Compteur R1 WL ATS sans câble analog noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vdo-compteur-r1-wl-ats-sans-cable-analog-noir-noir' WHERE `virtuemart_product_id` = '1861261'
2023-10-13	12:52:24	1769	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_85421_00.jpg
2023-10-13	12:52:24	1769	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:24	1769	[DEBUG]	Process image file
2023-10-13	12:52:24	1769	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:24	1769	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:24	1769	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_85421_00.jpg
2023-10-13	12:52:24	1769	[DEBUG]	Full name target: bcprisme/20_85421_00.jpg
2023-10-13	12:52:25	1769	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:25	1769	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_85421_00.jpg'
2023-10-13	12:52:25	1769	[DEBUG]	Query for Media
2023-10-13	12:52:25	1769	[DEBUG]	Executed store
2023-10-13	12:52:25	1769	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_85421_00.jpg',`file_url_thumb`='bcprisme/20_85421_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1518234'
2023-10-13	12:52:25	1769	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:25	1769	[DEBUG]	Executed store
2023-10-13	12:52:25	1769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861261','1518234','1')
2023-10-13	12:52:25	1769	[DEBUG]	Store product image relation
2023-10-13	12:52:25	1769	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:25	1769	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861261 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:25	1769	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:25	1769	[DEBUG]	Executed store
2023-10-13	12:52:25	1769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861261','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:25	1769	[DEBUG]	Checking manufacturer
2023-10-13	12:52:25	1769	[DEBUG]	Load a row
2023-10-13	12:52:25	1769	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:25	1769	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '95'
2023-10-13	12:52:25	1769	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:25	1769	[DEBUG]	Executed store
2023-10-13	12:52:25	1769	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441986015301' WHERE `virtuemart_manufacturer_id` = '95'
2023-10-13	12:52:25	1769	[DEBUG]	Manufacturer exists
2023-10-13	12:52:25	1769	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 95
2023-10-13	12:52:25	1769	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:25	1769	[DEBUG]	Executed store
2023-10-13	12:52:25	1769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861261','95')
2023-10-13	12:52:25	1769	[DEBUG]	Find the custom field ID
2023-10-13	12:52:25	1769	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:25	1769	[DEBUG]	No custom field ID found
2023-10-13	12:52:25	1769	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:25	1769	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:25	1769	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861261 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:25	1769	[DEBUG]	Store custom available field
2023-10-13	12:52:25	1769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861261,3,'0',1)
2023-10-13	12:52:25	1769	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:25	1769	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:25	1769	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861261 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:25	1769	[DEBUG]	Store custom available field
2023-10-13	12:52:25	1769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861261,6,'choisir la taille',3)
2023-10-13	12:52:25	1769	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:25	1769	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:25	1769	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:25	1769	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:25	1769	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861261 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:25	1769	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:25	1769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861261,8,1)
2023-10-13	12:52:25	1769	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:25	1769	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861261\":[1861261,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861261
2023-10-13	12:52:25	1769	[DEBUG]	Checking category
2023-10-13	12:52:25	1769	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:25	1769	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861261
2023-10-13	12:52:25	1769	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:25	1769	[DEBUG]	Executed store
2023-10-13	12:52:25	1769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861261','7310')
2023-10-13	12:52:25	1769	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:25	1769	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861261 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:25	1769	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:25	1769	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861261
2023-10-13	12:52:25	1770	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:25	1770	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:25	1770	[DEBUG]	Use field value for field taille
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:25	1770	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:25	1770	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:25	1770	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:25	1770	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:25	1770	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:25	1770	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:25	1770	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:25	1770	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:25	1770	[DEBUG]	Use field value for field published
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:25	1770	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field override
2023-10-13	12:52:25	1770	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:25	1770	[DEBUG]	Use field value for field slug
2023-10-13	12:52:25	1770	[DEBUG]	Process line 1770
2023-10-13	12:52:25	1770	[DEBUG]	Load a row
2023-10-13	12:52:25	1770	[DEBUG]	Processing item: 4016224640157
2023-10-13	12:52:25	1770	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:25	1770	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:25	1770	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9670_1'
2023-10-13	12:52:25	1770	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:25	1770	[DEBUG]	Processing product tax
2023-10-13	12:52:25	1770	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:25	1770	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:25	1770	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:25	1770	[DEBUG]	Query for Product
2023-10-13	12:52:25	1770	[DEBUG]	Executed store
2023-10-13	12:52:25	1770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861261','4016224640157','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:25	1770	[DEBUG]	No parent found
2023-10-13	12:52:25	1770	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861261 AND customfield_value = 'stockable'
2023-10-13	12:52:25	1770	[DEBUG]	Check product language entry
2023-10-13	12:52:25	1770	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861262
2023-10-13	12:52:25	1770	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:25	1770	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4016224640157' AND `virtuemart_product_id` != 1861262
2023-10-13	12:52:25	1770	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:25	1770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861262, '4016224640157')
2023-10-13	12:52:25	1770	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:25	1770	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vdo-compteur-r1-wl-ats-sans-cable-analog-noir-noir-unitaire' AND `virtuemart_product_id` != 1861262
2023-10-13	12:52:25	1770	[DEBUG]	Query for ProductLang
2023-10-13	12:52:25	1770	[DEBUG]	Executed store
2023-10-13	12:52:25	1770	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='VDO Compteur R1 WL ATS sans câble analog noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vdo-compteur-r1-wl-ats-sans-cable-analog-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1861262'
2023-10-13	12:52:25	1770	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_85421_00.jpg
2023-10-13	12:52:25	1770	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:25	1770	[DEBUG]	Process image file
2023-10-13	12:52:25	1770	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:52:25	1770	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:25	1770	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_85421_00.jpg
2023-10-13	12:52:25	1770	[DEBUG]	Full name target: bcprisme/20_85421_00.jpg
2023-10-13	12:52:26	1770	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:26	1770	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_85421_00.jpg'
2023-10-13	12:52:26	1770	[DEBUG]	Query for Media
2023-10-13	12:52:26	1770	[DEBUG]	Executed store
2023-10-13	12:52:26	1770	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_85421_00.jpg',`file_url_thumb`='bcprisme/20_85421_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1518234'
2023-10-13	12:52:26	1770	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:26	1770	[DEBUG]	Executed store
2023-10-13	12:52:26	1770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861262','1518234','1')
2023-10-13	12:52:26	1770	[DEBUG]	Store product image relation
2023-10-13	12:52:26	1770	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:26	1770	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861262 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:26	1770	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:26	1770	[DEBUG]	Executed store
2023-10-13	12:52:26	1770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861262','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:26	1770	[DEBUG]	Checking manufacturer
2023-10-13	12:52:26	1770	[DEBUG]	Load a row
2023-10-13	12:52:26	1770	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:26	1770	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '95'
2023-10-13	12:52:26	1770	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:26	1770	[DEBUG]	Executed store
2023-10-13	12:52:26	1770	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-441986015301' WHERE `virtuemart_manufacturer_id` = '95'
2023-10-13	12:52:26	1770	[DEBUG]	Manufacturer exists
2023-10-13	12:52:26	1770	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 95
2023-10-13	12:52:26	1770	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:26	1770	[DEBUG]	Executed store
2023-10-13	12:52:26	1770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861262','95')
2023-10-13	12:52:26	1770	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:26	1770	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:26	1770	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861262 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:26	1770	[DEBUG]	Store custom available field
2023-10-13	12:52:26	1770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861262,3,'',1)
2023-10-13	12:52:26	1770	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:26	1770	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:52:26	1770	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861262 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:26	1770	[DEBUG]	Store custom available field
2023-10-13	12:52:26	1770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861262,6,'Unitaire',3)
2023-10-13	12:52:26	1770	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:26	1770	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:26	1770	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861261
2023-10-13	12:52:26	1770	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:26	1770	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861261\":[1861261,8,1,\"choisir la taille\"],\"1861262\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861261
2023-10-13	12:52:26	1770	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:26	1770	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861262
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:26	1771	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field taille
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:26	1771	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:26	1771	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:26	1771	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:26	1771	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:26	1771	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:26	1771	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field published
2023-10-13	12:52:26	1771	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:26	1771	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field override
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:26	1771	[DEBUG]	Use field value for field slug
2023-10-13	12:52:26	1771	[DEBUG]	Process line 1771
2023-10-13	12:52:26	1771	[DEBUG]	Load a row
2023-10-13	12:52:26	1771	[DEBUG]	Processing item: A_9728_1
2023-10-13	12:52:26	1771	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:26	1771	[DEBUG]	Processing product tax
2023-10-13	12:52:26	1771	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:26	1771	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:26	1771	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:26	1771	[DEBUG]	Query for Product
2023-10-13	12:52:26	1771	[DEBUG]	Executed store
2023-10-13	12:52:26	1771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9728_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:26	1771	[DEBUG]	Check product language entry
2023-10-13	12:52:26	1771	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861263
2023-10-13	12:52:26	1771	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:26	1771	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9728_1' AND `virtuemart_product_id` != 1861263
2023-10-13	12:52:26	1771	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:26	1771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861263, 'A_9728_1')
2023-10-13	12:52:26	1771	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:26	1771	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-compteur-wahoo-elemnt-roam-dual-gps-noir' AND `virtuemart_product_id` != 1861263
2023-10-13	12:52:26	1771	[DEBUG]	Query for ProductLang
2023-10-13	12:52:26	1771	[DEBUG]	Executed store
2023-10-13	12:52:26	1771	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Points forts + Fonction Get Me Started, Back On Track, Route To Start, Take Me To, Retrace Route : + Écran personnalisable couleur d\'une grande clarté : + Capteur de luminosité ambiante : + Configuration du GPS avec l\'appli du Smartphone : + Boutons tactiles et faciles à utiliser : + La connectivité 100% sans-fil : + Les fonctionnalités uniques : + La fiabilité des données. Novateur et ultra-connecté, le GPS WAHOO Elemnt Roam est un véritable concentré de technologie dessiné pour répondre à tous les besoins du cycliste moderne comme la pratique du Gravel et les grandes aventures à vélo. Il dispose d\'une grande clarté d\'image avec son écran Gorilla Glass couleur très résistant pour visualiser facilement vos intinéraires et données. Connecté en Wi-fi, en ANT+ et en Bluetooth, il est compatible avec les deux principaux OS de smartphone : Android et iOS. Son écran principal se configure à l\'aide de votre smartphone, grâce auquel vous choisissez les champs à afficher, et leur position. Les indicateurs lumineux servent d\'alertes pour des indications telles qu\'un changement de direction, des conseils de vitesse ou même des notifications d\'appel ou de SMS. Doté d\'une interface cartographique, il vous permet de suivre en temps réel des amis équipés du même dispositif. Fonctionnant entièrement sans fil, il vous permet de charger vos traces d’entraînement directement sur internet via votre smartphone, mais également de télécharger vos sorties planifiées. De plus, il est équipé d\'un capteur de luminosité ambiante pour un ajustement rapide selon les variations de lumières. Un véritable bijou de technologie présenté par la marque américaine !<br>N° art fourn : WOO-WFCC6',`product_name`='WAHOO COMPTEUR Wahoo ELEMNT ROAM dual GPS  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-compteur-wahoo-elemnt-roam-dual-gps-noir' WHERE `virtuemart_product_id` = '1861263'
2023-10-13	12:52:26	1771	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39148_compteur_wahoo_elemnt_roam_dual_gps_.jpg
2023-10-13	12:52:26	1771	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:26	1771	[DEBUG]	Process image file
2023-10-13	12:52:26	1771	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:26	1771	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:26	1771	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39148_compteur_wahoo_elemnt_roam_dual_gps_.jpg
2023-10-13	12:52:26	1771	[DEBUG]	Full name target: bcprisme/39148_compteur_wahoo_elemnt_roam_dual_gps_.jpg
2023-10-13	12:52:27	1771	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:27	1771	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39148_compteur_wahoo_elemnt_roam_dual_gps_.jpg'
2023-10-13	12:52:27	1771	[DEBUG]	Query for Media
2023-10-13	12:52:27	1771	[DEBUG]	Executed store
2023-10-13	12:52:27	1771	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39148_compteur_wahoo_elemnt_roam_dual_gps_.jpg',`file_url_thumb`='bcprisme/39148_compteur_wahoo_elemnt_roam_dual_gps_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1574893'
2023-10-13	12:52:27	1771	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:27	1771	[DEBUG]	Executed store
2023-10-13	12:52:27	1771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861263','1574893','1')
2023-10-13	12:52:27	1771	[DEBUG]	Store product image relation
2023-10-13	12:52:27	1771	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:27	1771	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861263 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:27	1771	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:27	1771	[DEBUG]	Executed store
2023-10-13	12:52:27	1771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861263','0','370.473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:27	1771	[DEBUG]	Checking manufacturer
2023-10-13	12:52:27	1771	[DEBUG]	Load a row
2023-10-13	12:52:27	1771	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:27	1771	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:52:27	1771	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:27	1771	[DEBUG]	Executed store
2023-10-13	12:52:27	1771	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:52:27	1771	[DEBUG]	Manufacturer exists
2023-10-13	12:52:27	1771	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	12:52:27	1771	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:27	1771	[DEBUG]	Executed store
2023-10-13	12:52:27	1771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861263','207')
2023-10-13	12:52:27	1771	[DEBUG]	Find the custom field ID
2023-10-13	12:52:27	1771	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:27	1771	[DEBUG]	No custom field ID found
2023-10-13	12:52:27	1771	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:27	1771	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:27	1771	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861263 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:27	1771	[DEBUG]	Store custom available field
2023-10-13	12:52:27	1771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861263,3,'0',1)
2023-10-13	12:52:27	1771	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:27	1771	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:27	1771	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861263 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:27	1771	[DEBUG]	Store custom available field
2023-10-13	12:52:27	1771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861263,6,'choisir la taille',3)
2023-10-13	12:52:27	1771	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:27	1771	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:27	1771	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:27	1771	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:27	1771	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861263 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:27	1771	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:27	1771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861263,8,1)
2023-10-13	12:52:27	1771	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:27	1771	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861263\":[1861263,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861263
2023-10-13	12:52:27	1771	[DEBUG]	Checking category
2023-10-13	12:52:27	1771	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:27	1771	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861263
2023-10-13	12:52:27	1771	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:27	1771	[DEBUG]	Executed store
2023-10-13	12:52:27	1771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861263','7310')
2023-10-13	12:52:27	1771	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:27	1771	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861263 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:27	1771	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:27	1771	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861263
2023-10-13	12:52:27	1772	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:27	1772	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:27	1772	[DEBUG]	Use field value for field taille
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:27	1772	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:27	1772	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:27	1772	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:27	1772	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:27	1772	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:27	1772	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:27	1772	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:27	1772	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:27	1772	[DEBUG]	Use field value for field published
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:27	1772	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field override
2023-10-13	12:52:27	1772	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:27	1772	[DEBUG]	Use field value for field slug
2023-10-13	12:52:27	1772	[DEBUG]	Process line 1772
2023-10-13	12:52:27	1772	[DEBUG]	Load a row
2023-10-13	12:52:27	1772	[DEBUG]	Processing item: 850010131481
2023-10-13	12:52:27	1772	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:27	1772	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:27	1772	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9728_1'
2023-10-13	12:52:27	1772	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:27	1772	[DEBUG]	Processing product tax
2023-10-13	12:52:27	1772	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:27	1772	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:27	1772	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:27	1772	[DEBUG]	Query for Product
2023-10-13	12:52:27	1772	[DEBUG]	Executed store
2023-10-13	12:52:27	1772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861263','850010131481','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:27	1772	[DEBUG]	No parent found
2023-10-13	12:52:27	1772	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861263 AND customfield_value = 'stockable'
2023-10-13	12:52:27	1772	[DEBUG]	Check product language entry
2023-10-13	12:52:27	1772	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861264
2023-10-13	12:52:27	1772	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:27	1772	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '850010131481' AND `virtuemart_product_id` != 1861264
2023-10-13	12:52:27	1772	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:27	1772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861264, '850010131481')
2023-10-13	12:52:27	1772	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:27	1772	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-compteur-wahoo-elemnt-roam-dual-gps-noir-all' AND `virtuemart_product_id` != 1861264
2023-10-13	12:52:27	1772	[DEBUG]	Query for ProductLang
2023-10-13	12:52:27	1772	[DEBUG]	Executed store
2023-10-13	12:52:27	1772	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='WAHOO COMPTEUR Wahoo ELEMNT ROAM dual GPS  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-compteur-wahoo-elemnt-roam-dual-gps-noir-all' WHERE `virtuemart_product_id` = '1861264'
2023-10-13	12:52:27	1772	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39148_compteur_wahoo_elemnt_roam_dual_gps_.jpg
2023-10-13	12:52:27	1772	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:27	1772	[DEBUG]	Process image file
2023-10-13	12:52:27	1772	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:27	1772	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:27	1772	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39148_compteur_wahoo_elemnt_roam_dual_gps_.jpg
2023-10-13	12:52:27	1772	[DEBUG]	Full name target: bcprisme/39148_compteur_wahoo_elemnt_roam_dual_gps_.jpg
2023-10-13	12:52:28	1772	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:28	1772	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39148_compteur_wahoo_elemnt_roam_dual_gps_.jpg'
2023-10-13	12:52:28	1772	[DEBUG]	Query for Media
2023-10-13	12:52:28	1772	[DEBUG]	Executed store
2023-10-13	12:52:28	1772	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39148_compteur_wahoo_elemnt_roam_dual_gps_.jpg',`file_url_thumb`='bcprisme/39148_compteur_wahoo_elemnt_roam_dual_gps_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1574893'
2023-10-13	12:52:28	1772	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:28	1772	[DEBUG]	Executed store
2023-10-13	12:52:28	1772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861264','1574893','1')
2023-10-13	12:52:28	1772	[DEBUG]	Store product image relation
2023-10-13	12:52:28	1772	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:28	1772	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861264 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:28	1772	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:28	1772	[DEBUG]	Executed store
2023-10-13	12:52:28	1772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861264','0','370.473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:28	1772	[DEBUG]	Checking manufacturer
2023-10-13	12:52:28	1772	[DEBUG]	Load a row
2023-10-13	12:52:28	1772	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:28	1772	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:52:28	1772	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:28	1772	[DEBUG]	Executed store
2023-10-13	12:52:28	1772	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	12:52:28	1772	[DEBUG]	Manufacturer exists
2023-10-13	12:52:28	1772	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	12:52:28	1772	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:28	1772	[DEBUG]	Executed store
2023-10-13	12:52:28	1772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861264','207')
2023-10-13	12:52:28	1772	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:28	1772	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:28	1772	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861264 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:28	1772	[DEBUG]	Store custom available field
2023-10-13	12:52:28	1772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861264,3,'',1)
2023-10-13	12:52:28	1772	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:28	1772	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:52:28	1772	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861264 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:28	1772	[DEBUG]	Store custom available field
2023-10-13	12:52:28	1772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861264,6,'All',3)
2023-10-13	12:52:28	1772	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:28	1772	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:28	1772	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861263
2023-10-13	12:52:28	1772	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:28	1772	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861263\":[1861263,8,1,\"choisir la taille\"],\"1861264\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861263
2023-10-13	12:52:28	1772	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:28	1772	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861264
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:28	1773	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field taille
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:28	1773	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:28	1773	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:28	1773	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:28	1773	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:28	1773	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:28	1773	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field published
2023-10-13	12:52:28	1773	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:28	1773	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field override
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:28	1773	[DEBUG]	Use field value for field slug
2023-10-13	12:52:28	1773	[DEBUG]	Process line 1773
2023-10-13	12:52:28	1773	[DEBUG]	Load a row
2023-10-13	12:52:28	1773	[DEBUG]	Processing item: A_9762_1
2023-10-13	12:52:28	1773	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:28	1773	[DEBUG]	Processing product tax
2023-10-13	12:52:28	1773	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:28	1773	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:28	1773	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:28	1773	[DEBUG]	Query for Product
2023-10-13	12:52:28	1773	[DEBUG]	Executed store
2023-10-13	12:52:28	1773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9762_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:28	1773	[DEBUG]	Check product language entry
2023-10-13	12:52:28	1773	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861265
2023-10-13	12:52:28	1773	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:28	1773	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9762_1' AND `virtuemart_product_id` != 1861265
2023-10-13	12:52:28	1773	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:28	1773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861265, 'A_9762_1')
2023-10-13	12:52:28	1773	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:28	1773	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'k-edge-garmin-max-mount-noir' AND `virtuemart_product_id` != 1861265
2023-10-13	12:52:28	1773	[DEBUG]	Query for ProductLang
2023-10-13	12:52:28	1773	[DEBUG]	Executed store
2023-10-13	12:52:28	1773	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 7600001022',`product_name`='K-Edge GARMIN MAX Mount  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='k-edge-garmin-max-mount-noir' WHERE `virtuemart_product_id` = '1861265'
2023-10-13	12:52:28	1773	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39198_k-edge_garmin_max_mount_.jpg
2023-10-13	12:52:28	1773	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:52:28	1773	[DEBUG]	Process image file
2023-10-13	12:52:28	1773	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:52:28	1773	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:28	1773	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39198_k-edge_garmin_max_mount_.jpg
2023-10-13	12:52:28	1773	[DEBUG]	Full name target: bcprisme/39198_k-edge_garmin_max_mount_.jpg
2023-10-13	12:52:29	1773	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:29	1773	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39198_k-edge_garmin_max_mount_.jpg'
2023-10-13	12:52:29	1773	[DEBUG]	Query for Media
2023-10-13	12:52:29	1773	[DEBUG]	Executed store
2023-10-13	12:52:29	1773	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39198_k-edge_garmin_max_mount_.jpg',`file_url_thumb`='bcprisme/39198_k-edge_garmin_max_mount_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1596564'
2023-10-13	12:52:29	1773	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:29	1773	[DEBUG]	Executed store
2023-10-13	12:52:29	1773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861265','1596564','1')
2023-10-13	12:52:29	1773	[DEBUG]	Store product image relation
2023-10-13	12:52:29	1773	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:29	1773	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861265 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:29	1773	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:29	1773	[DEBUG]	Executed store
2023-10-13	12:52:29	1773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861265','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:29	1773	[DEBUG]	Checking manufacturer
2023-10-13	12:52:29	1773	[DEBUG]	Load a row
2023-10-13	12:52:29	1773	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:29	1773	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:29	1773	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:29	1773	[DEBUG]	Executed store
2023-10-13	12:52:29	1773	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='45',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='45' WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:29	1773	[DEBUG]	Manufacturer exists
2023-10-13	12:52:29	1773	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 284
2023-10-13	12:52:29	1773	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:29	1773	[DEBUG]	Executed store
2023-10-13	12:52:29	1773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861265','284')
2023-10-13	12:52:29	1773	[DEBUG]	Find the custom field ID
2023-10-13	12:52:29	1773	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:29	1773	[DEBUG]	No custom field ID found
2023-10-13	12:52:29	1773	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:29	1773	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:29	1773	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861265 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:29	1773	[DEBUG]	Store custom available field
2023-10-13	12:52:29	1773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861265,3,'0',1)
2023-10-13	12:52:29	1773	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:29	1773	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:29	1773	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861265 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:29	1773	[DEBUG]	Store custom available field
2023-10-13	12:52:29	1773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861265,6,'choisir la taille',3)
2023-10-13	12:52:29	1773	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:29	1773	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:29	1773	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:29	1773	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:29	1773	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861265 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:29	1773	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:29	1773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861265,8,1)
2023-10-13	12:52:29	1773	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:29	1773	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861265\":[1861265,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861265
2023-10-13	12:52:29	1773	[DEBUG]	Checking category
2023-10-13	12:52:29	1773	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:29	1773	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861265
2023-10-13	12:52:29	1773	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:29	1773	[DEBUG]	Executed store
2023-10-13	12:52:29	1773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861265','7310')
2023-10-13	12:52:29	1773	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:29	1773	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861265 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:29	1773	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:29	1773	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861265
2023-10-13	12:52:29	1774	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:29	1774	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:29	1774	[DEBUG]	Use field value for field taille
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:29	1774	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:29	1774	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:29	1774	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:29	1774	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:29	1774	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:29	1774	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:29	1774	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:29	1774	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:29	1774	[DEBUG]	Use field value for field published
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:29	1774	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field override
2023-10-13	12:52:29	1774	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:29	1774	[DEBUG]	Use field value for field slug
2023-10-13	12:52:29	1774	[DEBUG]	Process line 1774
2023-10-13	12:52:29	1774	[DEBUG]	Load a row
2023-10-13	12:52:29	1774	[DEBUG]	Processing item: 850934007992
2023-10-13	12:52:29	1774	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:29	1774	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:29	1774	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9762_1'
2023-10-13	12:52:29	1774	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:29	1774	[DEBUG]	Processing product tax
2023-10-13	12:52:29	1774	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:29	1774	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:29	1774	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:29	1774	[DEBUG]	Query for Product
2023-10-13	12:52:29	1774	[DEBUG]	Executed store
2023-10-13	12:52:29	1774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861265','850934007992','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:29	1774	[DEBUG]	No parent found
2023-10-13	12:52:29	1774	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861265 AND customfield_value = 'stockable'
2023-10-13	12:52:29	1774	[DEBUG]	Check product language entry
2023-10-13	12:52:29	1774	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861266
2023-10-13	12:52:29	1774	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:29	1774	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '850934007992' AND `virtuemart_product_id` != 1861266
2023-10-13	12:52:29	1774	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:29	1774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861266, '850934007992')
2023-10-13	12:52:29	1774	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:29	1774	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'k-edge-garmin-max-mount-noir-31-8mm' AND `virtuemart_product_id` != 1861266
2023-10-13	12:52:29	1774	[DEBUG]	Query for ProductLang
2023-10-13	12:52:29	1774	[DEBUG]	Executed store
2023-10-13	12:52:29	1774	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='K-Edge GARMIN MAX Mount  / Noir (31.8mm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='k-edge-garmin-max-mount-noir-31-8mm' WHERE `virtuemart_product_id` = '1861266'
2023-10-13	12:52:29	1774	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39198_k-edge_garmin_max_mount_.jpg
2023-10-13	12:52:29	1774	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:52:29	1774	[DEBUG]	Process image file
2023-10-13	12:52:29	1774	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:52:29	1774	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:29	1774	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39198_k-edge_garmin_max_mount_.jpg
2023-10-13	12:52:29	1774	[DEBUG]	Full name target: bcprisme/39198_k-edge_garmin_max_mount_.jpg
2023-10-13	12:52:30	1774	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:30	1774	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39198_k-edge_garmin_max_mount_.jpg'
2023-10-13	12:52:30	1774	[DEBUG]	Query for Media
2023-10-13	12:52:30	1774	[DEBUG]	Executed store
2023-10-13	12:52:30	1774	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39198_k-edge_garmin_max_mount_.jpg',`file_url_thumb`='bcprisme/39198_k-edge_garmin_max_mount_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1596564'
2023-10-13	12:52:30	1774	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:30	1774	[DEBUG]	Executed store
2023-10-13	12:52:30	1774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861266','1596564','1')
2023-10-13	12:52:30	1774	[DEBUG]	Store product image relation
2023-10-13	12:52:30	1774	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:30	1774	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861266 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:30	1774	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:30	1774	[DEBUG]	Executed store
2023-10-13	12:52:30	1774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861266','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:30	1774	[DEBUG]	Checking manufacturer
2023-10-13	12:52:30	1774	[DEBUG]	Load a row
2023-10-13	12:52:30	1774	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:30	1774	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:30	1774	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:30	1774	[DEBUG]	Executed store
2023-10-13	12:52:30	1774	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='45',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='45' WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:30	1774	[DEBUG]	Manufacturer exists
2023-10-13	12:52:30	1774	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 284
2023-10-13	12:52:30	1774	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:30	1774	[DEBUG]	Executed store
2023-10-13	12:52:30	1774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861266','284')
2023-10-13	12:52:30	1774	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:30	1774	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:30	1774	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861266 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:30	1774	[DEBUG]	Store custom available field
2023-10-13	12:52:30	1774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861266,3,'',1)
2023-10-13	12:52:30	1774	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:30	1774	[DEBUG]	Get existing row with customfield value 31.8mm
2023-10-13	12:52:30	1774	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861266 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:30	1774	[DEBUG]	Store custom available field
2023-10-13	12:52:30	1774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861266,6,'31.8mm',3)
2023-10-13	12:52:30	1774	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:30	1774	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:30	1774	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861265
2023-10-13	12:52:30	1774	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:30	1774	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n31.8mm\"}]|clabels=0|options={\"1861265\":[1861265,8,1,\"choisir la taille\"],\"1861266\":[\"31.8mm\"]}|' WHERE `virtuemart_product_id` = 1861265
2023-10-13	12:52:30	1774	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:30	1774	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861266
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:30	1775	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field taille
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:30	1775	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:30	1775	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:30	1775	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:30	1775	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:30	1775	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:30	1775	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field published
2023-10-13	12:52:30	1775	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:30	1775	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field override
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:30	1775	[DEBUG]	Use field value for field slug
2023-10-13	12:52:30	1775	[DEBUG]	Process line 1775
2023-10-13	12:52:30	1775	[DEBUG]	Load a row
2023-10-13	12:52:30	1775	[DEBUG]	Processing item: A_9763_1
2023-10-13	12:52:30	1775	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:30	1775	[DEBUG]	Processing product tax
2023-10-13	12:52:30	1775	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:30	1775	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:30	1775	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:30	1775	[DEBUG]	Query for Product
2023-10-13	12:52:30	1775	[DEBUG]	Executed store
2023-10-13	12:52:30	1775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9763_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:30	1775	[DEBUG]	Check product language entry
2023-10-13	12:52:30	1775	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861267
2023-10-13	12:52:30	1775	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:30	1775	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9763_1' AND `virtuemart_product_id` != 1861267
2023-10-13	12:52:30	1775	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:30	1775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861267, 'A_9763_1')
2023-10-13	12:52:30	1775	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:30	1775	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'k-edge-wahoo-boost-stem-mount-noir' AND `virtuemart_product_id` != 1861267
2023-10-13	12:52:30	1775	[DEBUG]	Query for ProductLang
2023-10-13	12:52:30	1775	[DEBUG]	Executed store
2023-10-13	12:52:30	1775	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 7600001225',`product_name`='K-Edge WAHOO BOOST STEM MOUNT / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='k-edge-wahoo-boost-stem-mount-noir' WHERE `virtuemart_product_id` = '1861267'
2023-10-13	12:52:30	1775	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39199_k-edge_wahoo_boost_stem_mount.jpg
2023-10-13	12:52:30	1775	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:52:30	1775	[DEBUG]	Process image file
2023-10-13	12:52:30	1775	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:52:30	1775	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:30	1775	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39199_k-edge_wahoo_boost_stem_mount.jpg
2023-10-13	12:52:30	1775	[DEBUG]	Full name target: bcprisme/39199_k-edge_wahoo_boost_stem_mount.jpg
2023-10-13	12:52:31	1775	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:31	1775	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39199_k-edge_wahoo_boost_stem_mount.jpg'
2023-10-13	12:52:31	1775	[DEBUG]	Query for Media
2023-10-13	12:52:31	1775	[DEBUG]	Executed store
2023-10-13	12:52:31	1775	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39199_k-edge_wahoo_boost_stem_mount.jpg',`file_url_thumb`='bcprisme/39199_k-edge_wahoo_boost_stem_mount.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1596566'
2023-10-13	12:52:31	1775	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:31	1775	[DEBUG]	Executed store
2023-10-13	12:52:31	1775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861267','1596566','1')
2023-10-13	12:52:31	1775	[DEBUG]	Store product image relation
2023-10-13	12:52:31	1775	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:31	1775	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861267 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:31	1775	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:31	1775	[DEBUG]	Executed store
2023-10-13	12:52:31	1775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861267','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:31	1775	[DEBUG]	Checking manufacturer
2023-10-13	12:52:31	1775	[DEBUG]	Load a row
2023-10-13	12:52:31	1775	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:31	1775	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:31	1775	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:31	1775	[DEBUG]	Executed store
2023-10-13	12:52:31	1775	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='45',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='45' WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:31	1775	[DEBUG]	Manufacturer exists
2023-10-13	12:52:31	1775	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 284
2023-10-13	12:52:31	1775	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:31	1775	[DEBUG]	Executed store
2023-10-13	12:52:31	1775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861267','284')
2023-10-13	12:52:31	1775	[DEBUG]	Find the custom field ID
2023-10-13	12:52:31	1775	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:31	1775	[DEBUG]	No custom field ID found
2023-10-13	12:52:31	1775	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:31	1775	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:31	1775	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861267 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:31	1775	[DEBUG]	Store custom available field
2023-10-13	12:52:31	1775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861267,3,'0',1)
2023-10-13	12:52:31	1775	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:31	1775	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:31	1775	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861267 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:31	1775	[DEBUG]	Store custom available field
2023-10-13	12:52:31	1775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861267,6,'choisir la taille',3)
2023-10-13	12:52:31	1775	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:31	1775	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:31	1775	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:31	1775	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:31	1775	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861267 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:31	1775	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:31	1775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861267,8,1)
2023-10-13	12:52:31	1775	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:31	1775	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861267\":[1861267,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861267
2023-10-13	12:52:31	1775	[DEBUG]	Checking category
2023-10-13	12:52:31	1775	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:31	1775	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861267
2023-10-13	12:52:31	1775	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:31	1775	[DEBUG]	Executed store
2023-10-13	12:52:31	1775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861267','7310')
2023-10-13	12:52:31	1775	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:31	1775	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861267 AND `virtuemart_category_id` NOT IN (7310)
2023-10-13	12:52:31	1775	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:31	1775	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861267
2023-10-13	12:52:31	1776	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:31	1776	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:31	1776	[DEBUG]	Use field value for field taille
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:31	1776	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:31	1776	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:31	1776	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:31	1776	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:31	1776	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:31	1776	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:31	1776	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:31	1776	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:31	1776	[DEBUG]	Use field value for field published
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:31	1776	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field override
2023-10-13	12:52:31	1776	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:31	1776	[DEBUG]	Use field value for field slug
2023-10-13	12:52:31	1776	[DEBUG]	Process line 1776
2023-10-13	12:52:31	1776	[DEBUG]	Load a row
2023-10-13	12:52:31	1776	[DEBUG]	Processing item: 850027128238
2023-10-13	12:52:31	1776	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:31	1776	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:31	1776	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9763_1'
2023-10-13	12:52:31	1776	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:31	1776	[DEBUG]	Processing product tax
2023-10-13	12:52:31	1776	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:31	1776	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:31	1776	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:31	1776	[DEBUG]	Query for Product
2023-10-13	12:52:31	1776	[DEBUG]	Executed store
2023-10-13	12:52:31	1776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861267','850027128238','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:31	1776	[DEBUG]	No parent found
2023-10-13	12:52:31	1776	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861267 AND customfield_value = 'stockable'
2023-10-13	12:52:31	1776	[DEBUG]	Check product language entry
2023-10-13	12:52:31	1776	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861268
2023-10-13	12:52:31	1776	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:31	1776	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '850027128238' AND `virtuemart_product_id` != 1861268
2023-10-13	12:52:31	1776	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:31	1776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861268, '850027128238')
2023-10-13	12:52:31	1776	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:31	1776	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'k-edge-wahoo-boost-stem-mount-noir-unitaire' AND `virtuemart_product_id` != 1861268
2023-10-13	12:52:31	1776	[DEBUG]	Query for ProductLang
2023-10-13	12:52:31	1776	[DEBUG]	Executed store
2023-10-13	12:52:31	1776	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='K-Edge WAHOO BOOST STEM MOUNT / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='k-edge-wahoo-boost-stem-mount-noir-unitaire' WHERE `virtuemart_product_id` = '1861268'
2023-10-13	12:52:31	1776	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39199_k-edge_wahoo_boost_stem_mount.jpg
2023-10-13	12:52:31	1776	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:52:31	1776	[DEBUG]	Process image file
2023-10-13	12:52:31	1776	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:52:31	1776	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:31	1776	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39199_k-edge_wahoo_boost_stem_mount.jpg
2023-10-13	12:52:31	1776	[DEBUG]	Full name target: bcprisme/39199_k-edge_wahoo_boost_stem_mount.jpg
2023-10-13	12:52:32	1776	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:32	1776	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39199_k-edge_wahoo_boost_stem_mount.jpg'
2023-10-13	12:52:32	1776	[DEBUG]	Query for Media
2023-10-13	12:52:32	1776	[DEBUG]	Executed store
2023-10-13	12:52:32	1776	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39199_k-edge_wahoo_boost_stem_mount.jpg',`file_url_thumb`='bcprisme/39199_k-edge_wahoo_boost_stem_mount.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1596566'
2023-10-13	12:52:32	1776	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:32	1776	[DEBUG]	Executed store
2023-10-13	12:52:32	1776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861268','1596566','1')
2023-10-13	12:52:32	1776	[DEBUG]	Store product image relation
2023-10-13	12:52:32	1776	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:32	1776	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861268 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:32	1776	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:32	1776	[DEBUG]	Executed store
2023-10-13	12:52:32	1776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861268','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:32	1776	[DEBUG]	Checking manufacturer
2023-10-13	12:52:32	1776	[DEBUG]	Load a row
2023-10-13	12:52:32	1776	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:32	1776	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:32	1776	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:32	1776	[DEBUG]	Executed store
2023-10-13	12:52:32	1776	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='45',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='45' WHERE `virtuemart_manufacturer_id` = '284'
2023-10-13	12:52:32	1776	[DEBUG]	Manufacturer exists
2023-10-13	12:52:32	1776	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 284
2023-10-13	12:52:32	1776	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:32	1776	[DEBUG]	Executed store
2023-10-13	12:52:32	1776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861268','284')
2023-10-13	12:52:32	1776	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:32	1776	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:32	1776	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861268 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:32	1776	[DEBUG]	Store custom available field
2023-10-13	12:52:32	1776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861268,3,'',1)
2023-10-13	12:52:32	1776	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:32	1776	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:52:32	1776	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861268 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:32	1776	[DEBUG]	Store custom available field
2023-10-13	12:52:32	1776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861268,6,'Unitaire',3)
2023-10-13	12:52:32	1776	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:32	1776	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:32	1776	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861267
2023-10-13	12:52:32	1776	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:32	1776	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861267\":[1861267,8,1,\"choisir la taille\"],\"1861268\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861267
2023-10-13	12:52:32	1776	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:32	1776	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861268
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:32	1777	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field taille
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:32	1777	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:32	1777	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:32	1777	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:32	1777	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:32	1777	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:32	1777	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field published
2023-10-13	12:52:32	1777	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:32	1777	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field override
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:32	1777	[DEBUG]	Use field value for field slug
2023-10-13	12:52:32	1777	[DEBUG]	Process line 1777
2023-10-13	12:52:32	1777	[DEBUG]	Load a row
2023-10-13	12:52:32	1777	[DEBUG]	Processing item: A_5033_208
2023-10-13	12:52:32	1777	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:32	1777	[DEBUG]	Processing product tax
2023-10-13	12:52:32	1777	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:32	1777	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:32	1777	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:32	1777	[DEBUG]	Query for Product
2023-10-13	12:52:32	1777	[DEBUG]	Executed store
2023-10-13	12:52:32	1777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5033_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:32	1777	[DEBUG]	Check product language entry
2023-10-13	12:52:32	1777	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861269
2023-10-13	12:52:32	1777	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:32	1777	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5033_208' AND `virtuemart_product_id` != 1861269
2023-10-13	12:52:32	1777	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:32	1777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861269, 'A_5033_208')
2023-10-13	12:52:32	1777	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:32	1777	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-slx-rd-m7000-11-vit-gs-shadow-top-normal-montage-direct-aucune' AND `virtuemart_product_id` != 1861269
2023-10-13	12:52:32	1777	[DEBUG]	Query for ProductLang
2023-10-13	12:52:32	1777	[DEBUG]	Executed store
2023-10-13	12:52:32	1777	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.66388',`product_name`='SHIMANO Dérailleur SLX RD-M7000 11-vit. GS Shadow+ Top-Normal montage direct / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-slx-rd-m7000-11-vit-gs-shadow-top-normal-montage-direct-aucune' WHERE `virtuemart_product_id` = '1861269'
2023-10-13	12:52:32	1777	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29489_shimano_derailleur_slx_rd-m7000_11-vit__gs_shadow+_top-normal_montage_direct.jpg
2023-10-13	12:52:32	1777	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:32	1777	[DEBUG]	Process image file
2023-10-13	12:52:32	1777	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:32	1777	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:32	1777	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29489_shimano_derailleur_slx_rd-m7000_11-vit__gs_shadow+_top-normal_montage_direct.jpg
2023-10-13	12:52:32	1777	[DEBUG]	Full name target: bcprisme/29489_shimano_derailleur_slx_rd-m7000_11-vit__gs_shadow+_top-normal_montage_direct.jpg
2023-10-13	12:52:33	1777	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:33	1777	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29489_shimano_derailleur_slx_rd-m7000_11-vit__gs_shadow+_top-normal_montage_direct.jpg'
2023-10-13	12:52:33	1777	[DEBUG]	Query for Media
2023-10-13	12:52:33	1777	[DEBUG]	Executed store
2023-10-13	12:52:33	1777	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29489_shimano_derailleur_slx_rd-m7000_11-vit__gs_shadow+_top-normal_montage_direct.jpg',`file_url_thumb`='bcprisme/29489_shimano_derailleur_slx_rd-m7000_11-vit__gs_shadow+_top-normal_montage_direct.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15840'
2023-10-13	12:52:33	1777	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:33	1777	[DEBUG]	Executed store
2023-10-13	12:52:33	1777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861269','15840','1')
2023-10-13	12:52:33	1777	[DEBUG]	Store product image relation
2023-10-13	12:52:33	1777	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:33	1777	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861269 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:33	1777	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:33	1777	[DEBUG]	Executed store
2023-10-13	12:52:33	1777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861269','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:33	1777	[DEBUG]	Checking manufacturer
2023-10-13	12:52:33	1777	[DEBUG]	Load a row
2023-10-13	12:52:33	1777	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:33	1777	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:33	1777	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:33	1777	[DEBUG]	Executed store
2023-10-13	12:52:33	1777	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:33	1777	[DEBUG]	Manufacturer exists
2023-10-13	12:52:33	1777	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:33	1777	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:33	1777	[DEBUG]	Executed store
2023-10-13	12:52:33	1777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861269','26')
2023-10-13	12:52:33	1777	[DEBUG]	Find the custom field ID
2023-10-13	12:52:33	1777	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:33	1777	[DEBUG]	No custom field ID found
2023-10-13	12:52:33	1777	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:33	1777	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:33	1777	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861269 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:33	1777	[DEBUG]	Store custom available field
2023-10-13	12:52:33	1777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861269,3,'0',1)
2023-10-13	12:52:33	1777	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:33	1777	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:33	1777	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861269 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:33	1777	[DEBUG]	Store custom available field
2023-10-13	12:52:33	1777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861269,6,'choisir la taille',3)
2023-10-13	12:52:33	1777	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:33	1777	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:33	1777	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:33	1777	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:33	1777	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861269 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:33	1777	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:33	1777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861269,8,1)
2023-10-13	12:52:33	1777	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:33	1777	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861269\":[1861269,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861269
2023-10-13	12:52:33	1777	[DEBUG]	Checking category
2023-10-13	12:52:33	1777	[DEBUG]	Check if category path exists: DERAILLEUR 
2023-10-13	12:52:33	1777	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'DERAILLEUR ' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:52:33	1777	[DEBUG]	Check if category path exists: DERAILLEUR
2023-10-13	12:52:33	1777	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'DERAILLEUR' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7311
2023-10-13	12:52:33	1777	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:33	1777	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861269
2023-10-13	12:52:33	1777	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:33	1777	[DEBUG]	Executed store
2023-10-13	12:52:33	1777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861269','7312')
2023-10-13	12:52:33	1777	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:33	1777	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861269 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:52:33	1777	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:33	1777	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861269
2023-10-13	12:52:33	1778	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:33	1778	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:33	1778	[DEBUG]	Use field value for field taille
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:33	1778	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:33	1778	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:33	1778	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:33	1778	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:33	1778	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:33	1778	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:33	1778	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:33	1778	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:33	1778	[DEBUG]	Use field value for field published
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:33	1778	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field override
2023-10-13	12:52:33	1778	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:33	1778	[DEBUG]	Use field value for field slug
2023-10-13	12:52:33	1778	[DEBUG]	Process line 1778
2023-10-13	12:52:33	1778	[DEBUG]	Load a row
2023-10-13	12:52:33	1778	[DEBUG]	Processing item: 4524667847540
2023-10-13	12:52:33	1778	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:33	1778	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:33	1778	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5033_208'
2023-10-13	12:52:33	1778	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:33	1778	[DEBUG]	Processing product tax
2023-10-13	12:52:33	1778	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:33	1778	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:33	1778	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:33	1778	[DEBUG]	Query for Product
2023-10-13	12:52:33	1778	[DEBUG]	Executed store
2023-10-13	12:52:33	1778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861269','4524667847540','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:33	1778	[DEBUG]	No parent found
2023-10-13	12:52:33	1778	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861269 AND customfield_value = 'stockable'
2023-10-13	12:52:33	1778	[DEBUG]	Check product language entry
2023-10-13	12:52:33	1778	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861270
2023-10-13	12:52:33	1778	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:33	1778	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667847540' AND `virtuemart_product_id` != 1861270
2023-10-13	12:52:33	1778	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:33	1778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861270, '4524667847540')
2023-10-13	12:52:33	1778	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:33	1778	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-slx-rd-m7000-11-vit-gs-shadow-top-normal-montage-direct-aucune-all' AND `virtuemart_product_id` != 1861270
2023-10-13	12:52:33	1778	[DEBUG]	Query for ProductLang
2023-10-13	12:52:33	1778	[DEBUG]	Executed store
2023-10-13	12:52:33	1778	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur SLX RD-M7000 11-vit. GS Shadow+ Top-Normal montage direct / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-slx-rd-m7000-11-vit-gs-shadow-top-normal-montage-direct-aucune-all' WHERE `virtuemart_product_id` = '1861270'
2023-10-13	12:52:33	1778	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29489_shimano_derailleur_slx_rd-m7000_11-vit__gs_shadow+_top-normal_montage_direct.jpg
2023-10-13	12:52:33	1778	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:33	1778	[DEBUG]	Process image file
2023-10-13	12:52:33	1778	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:33	1778	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:33	1778	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29489_shimano_derailleur_slx_rd-m7000_11-vit__gs_shadow+_top-normal_montage_direct.jpg
2023-10-13	12:52:33	1778	[DEBUG]	Full name target: bcprisme/29489_shimano_derailleur_slx_rd-m7000_11-vit__gs_shadow+_top-normal_montage_direct.jpg
2023-10-13	12:52:34	1778	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:34	1778	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29489_shimano_derailleur_slx_rd-m7000_11-vit__gs_shadow+_top-normal_montage_direct.jpg'
2023-10-13	12:52:34	1778	[DEBUG]	Query for Media
2023-10-13	12:52:34	1778	[DEBUG]	Executed store
2023-10-13	12:52:34	1778	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29489_shimano_derailleur_slx_rd-m7000_11-vit__gs_shadow+_top-normal_montage_direct.jpg',`file_url_thumb`='bcprisme/29489_shimano_derailleur_slx_rd-m7000_11-vit__gs_shadow+_top-normal_montage_direct.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15840'
2023-10-13	12:52:34	1778	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:34	1778	[DEBUG]	Executed store
2023-10-13	12:52:34	1778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861270','15840','1')
2023-10-13	12:52:34	1778	[DEBUG]	Store product image relation
2023-10-13	12:52:34	1778	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:34	1778	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861270 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:34	1778	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:34	1778	[DEBUG]	Executed store
2023-10-13	12:52:34	1778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861270','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:34	1778	[DEBUG]	Checking manufacturer
2023-10-13	12:52:34	1778	[DEBUG]	Load a row
2023-10-13	12:52:34	1778	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:34	1778	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:34	1778	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:34	1778	[DEBUG]	Executed store
2023-10-13	12:52:34	1778	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:34	1778	[DEBUG]	Manufacturer exists
2023-10-13	12:52:34	1778	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:34	1778	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:34	1778	[DEBUG]	Executed store
2023-10-13	12:52:34	1778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861270','26')
2023-10-13	12:52:34	1778	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:34	1778	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:34	1778	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861270 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:34	1778	[DEBUG]	Store custom available field
2023-10-13	12:52:34	1778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861270,3,'',1)
2023-10-13	12:52:34	1778	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:34	1778	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:52:34	1778	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861270 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:34	1778	[DEBUG]	Store custom available field
2023-10-13	12:52:34	1778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861270,6,'All',3)
2023-10-13	12:52:34	1778	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:34	1778	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:34	1778	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861269
2023-10-13	12:52:34	1778	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:34	1778	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861269\":[1861269,8,1,\"choisir la taille\"],\"1861270\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861269
2023-10-13	12:52:34	1778	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:34	1778	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861270
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:34	1779	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field taille
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:34	1779	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:34	1779	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:34	1779	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:34	1779	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:34	1779	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:34	1779	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field published
2023-10-13	12:52:34	1779	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:34	1779	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field override
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:34	1779	[DEBUG]	Use field value for field slug
2023-10-13	12:52:34	1779	[DEBUG]	Process line 1779
2023-10-13	12:52:34	1779	[DEBUG]	Load a row
2023-10-13	12:52:34	1779	[DEBUG]	Processing item: A_5075_208
2023-10-13	12:52:34	1779	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:34	1779	[DEBUG]	Processing product tax
2023-10-13	12:52:34	1779	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:34	1779	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:34	1779	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:34	1779	[DEBUG]	Query for Product
2023-10-13	12:52:34	1779	[DEBUG]	Executed store
2023-10-13	12:52:34	1779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5075_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:34	1779	[DEBUG]	Check product language entry
2023-10-13	12:52:34	1779	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861271
2023-10-13	12:52:34	1779	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:34	1779	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5075_208' AND `virtuemart_product_id` != 1861271
2023-10-13	12:52:34	1779	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:34	1779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861271, 'A_5075_208')
2023-10-13	12:52:34	1779	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:34	1779	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-rd-m615-10-vit-sgs-shadow-to-no-montage-direct-argent-aucune' AND `virtuemart_product_id` != 1861271
2023-10-13	12:52:34	1779	[DEBUG]	Query for ProductLang
2023-10-13	12:52:34	1779	[DEBUG]	Executed store
2023-10-13	12:52:34	1779	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.57306',`product_name`='SHIMANO Dérailleur Deore RD-M615 10-vit. SGS Shadow+ To-No montage direct argent / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-rd-m615-10-vit-sgs-shadow-to-no-montage-direct-argent-aucune' WHERE `virtuemart_product_id` = '1861271'
2023-10-13	12:52:34	1779	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29538_shimano_derailleur_deore_rd-m615_10-vit__sgs_shadow+_to-no_montage_direct_argent.jpg
2023-10-13	12:52:34	1779	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:34	1779	[DEBUG]	Process image file
2023-10-13	12:52:34	1779	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:34	1779	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:34	1779	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29538_shimano_derailleur_deore_rd-m615_10-vit__sgs_shadow+_to-no_montage_direct_argent.jpg
2023-10-13	12:52:34	1779	[DEBUG]	Full name target: bcprisme/29538_shimano_derailleur_deore_rd-m615_10-vit__sgs_shadow+_to-no_montage_direct_argent.jpg
2023-10-13	12:52:35	1779	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:35	1779	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29538_shimano_derailleur_deore_rd-m615_10-vit__sgs_shadow+_to-no_montage_direct_argent.jpg'
2023-10-13	12:52:35	1779	[DEBUG]	Query for Media
2023-10-13	12:52:35	1779	[DEBUG]	Executed store
2023-10-13	12:52:35	1779	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29538_shimano_derailleur_deore_rd-m615_10-vit__sgs_shadow+_to-no_montage_direct_argent.jpg',`file_url_thumb`='bcprisme/29538_shimano_derailleur_deore_rd-m615_10-vit__sgs_shadow+_to-no_montage_direct_argent.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15841'
2023-10-13	12:52:35	1779	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:35	1779	[DEBUG]	Executed store
2023-10-13	12:52:35	1779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861271','15841','1')
2023-10-13	12:52:35	1779	[DEBUG]	Store product image relation
2023-10-13	12:52:35	1779	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:35	1779	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861271 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:35	1779	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:35	1779	[DEBUG]	Executed store
2023-10-13	12:52:35	1779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861271','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:35	1779	[DEBUG]	Checking manufacturer
2023-10-13	12:52:35	1779	[DEBUG]	Load a row
2023-10-13	12:52:35	1779	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:35	1779	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:35	1779	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:35	1779	[DEBUG]	Executed store
2023-10-13	12:52:35	1779	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:35	1779	[DEBUG]	Manufacturer exists
2023-10-13	12:52:35	1779	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:35	1779	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:35	1779	[DEBUG]	Executed store
2023-10-13	12:52:35	1779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861271','26')
2023-10-13	12:52:35	1779	[DEBUG]	Find the custom field ID
2023-10-13	12:52:35	1779	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:35	1779	[DEBUG]	No custom field ID found
2023-10-13	12:52:35	1779	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:35	1779	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:35	1779	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861271 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:35	1779	[DEBUG]	Store custom available field
2023-10-13	12:52:35	1779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861271,3,'0',1)
2023-10-13	12:52:35	1779	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:35	1779	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:35	1779	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861271 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:35	1779	[DEBUG]	Store custom available field
2023-10-13	12:52:35	1779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861271,6,'choisir la taille',3)
2023-10-13	12:52:35	1779	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:35	1779	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:35	1779	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:35	1779	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:35	1779	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861271 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:35	1779	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:35	1779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861271,8,1)
2023-10-13	12:52:35	1779	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:35	1779	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861271\":[1861271,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861271
2023-10-13	12:52:35	1779	[DEBUG]	Checking category
2023-10-13	12:52:35	1779	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:35	1779	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861271
2023-10-13	12:52:35	1779	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:35	1779	[DEBUG]	Executed store
2023-10-13	12:52:35	1779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861271','7312')
2023-10-13	12:52:35	1779	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:35	1779	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861271 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:52:35	1779	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:35	1779	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861271
2023-10-13	12:52:35	1780	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:35	1780	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:35	1780	[DEBUG]	Use field value for field taille
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:35	1780	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:35	1780	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:35	1780	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:35	1780	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:35	1780	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:35	1780	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:35	1780	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:35	1780	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:35	1780	[DEBUG]	Use field value for field published
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:35	1780	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field override
2023-10-13	12:52:35	1780	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:35	1780	[DEBUG]	Use field value for field slug
2023-10-13	12:52:35	1780	[DEBUG]	Process line 1780
2023-10-13	12:52:35	1780	[DEBUG]	Load a row
2023-10-13	12:52:35	1780	[DEBUG]	Processing item: 4524667978060
2023-10-13	12:52:35	1780	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:35	1780	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:35	1780	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5075_208'
2023-10-13	12:52:35	1780	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:35	1780	[DEBUG]	Processing product tax
2023-10-13	12:52:35	1780	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:35	1780	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:35	1780	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:35	1780	[DEBUG]	Query for Product
2023-10-13	12:52:35	1780	[DEBUG]	Executed store
2023-10-13	12:52:35	1780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861271','4524667978060','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:35	1780	[DEBUG]	No parent found
2023-10-13	12:52:35	1780	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861271 AND customfield_value = 'stockable'
2023-10-13	12:52:35	1780	[DEBUG]	Check product language entry
2023-10-13	12:52:35	1780	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861272
2023-10-13	12:52:35	1780	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:35	1780	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667978060' AND `virtuemart_product_id` != 1861272
2023-10-13	12:52:35	1780	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:35	1780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861272, '4524667978060')
2023-10-13	12:52:35	1780	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:35	1780	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-rd-m615-10-vit-sgs-shadow-to-no-montage-direct-argent-aucune-all' AND `virtuemart_product_id` != 1861272
2023-10-13	12:52:35	1780	[DEBUG]	Query for ProductLang
2023-10-13	12:52:35	1780	[DEBUG]	Executed store
2023-10-13	12:52:35	1780	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Deore RD-M615 10-vit. SGS Shadow+ To-No montage direct argent / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-rd-m615-10-vit-sgs-shadow-to-no-montage-direct-argent-aucune-all' WHERE `virtuemart_product_id` = '1861272'
2023-10-13	12:52:35	1780	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29538_shimano_derailleur_deore_rd-m615_10-vit__sgs_shadow+_to-no_montage_direct_argent.jpg
2023-10-13	12:52:35	1780	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:35	1780	[DEBUG]	Process image file
2023-10-13	12:52:35	1780	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:35	1780	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:35	1780	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29538_shimano_derailleur_deore_rd-m615_10-vit__sgs_shadow+_to-no_montage_direct_argent.jpg
2023-10-13	12:52:35	1780	[DEBUG]	Full name target: bcprisme/29538_shimano_derailleur_deore_rd-m615_10-vit__sgs_shadow+_to-no_montage_direct_argent.jpg
2023-10-13	12:52:36	1780	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:36	1780	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29538_shimano_derailleur_deore_rd-m615_10-vit__sgs_shadow+_to-no_montage_direct_argent.jpg'
2023-10-13	12:52:36	1780	[DEBUG]	Query for Media
2023-10-13	12:52:36	1780	[DEBUG]	Executed store
2023-10-13	12:52:36	1780	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29538_shimano_derailleur_deore_rd-m615_10-vit__sgs_shadow+_to-no_montage_direct_argent.jpg',`file_url_thumb`='bcprisme/29538_shimano_derailleur_deore_rd-m615_10-vit__sgs_shadow+_to-no_montage_direct_argent.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15841'
2023-10-13	12:52:36	1780	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:36	1780	[DEBUG]	Executed store
2023-10-13	12:52:36	1780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861272','15841','1')
2023-10-13	12:52:36	1780	[DEBUG]	Store product image relation
2023-10-13	12:52:36	1780	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:36	1780	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861272 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:36	1780	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:36	1780	[DEBUG]	Executed store
2023-10-13	12:52:36	1780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861272','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:36	1780	[DEBUG]	Checking manufacturer
2023-10-13	12:52:36	1780	[DEBUG]	Load a row
2023-10-13	12:52:36	1780	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:36	1780	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:36	1780	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:36	1780	[DEBUG]	Executed store
2023-10-13	12:52:36	1780	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:36	1780	[DEBUG]	Manufacturer exists
2023-10-13	12:52:36	1780	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:36	1780	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:36	1780	[DEBUG]	Executed store
2023-10-13	12:52:36	1780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861272','26')
2023-10-13	12:52:36	1780	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:36	1780	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:36	1780	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861272 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:36	1780	[DEBUG]	Store custom available field
2023-10-13	12:52:36	1780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861272,3,'',1)
2023-10-13	12:52:36	1780	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:36	1780	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:52:36	1780	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861272 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:36	1780	[DEBUG]	Store custom available field
2023-10-13	12:52:36	1780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861272,6,'All',3)
2023-10-13	12:52:36	1780	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:36	1780	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:36	1780	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861271
2023-10-13	12:52:36	1780	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:36	1780	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861271\":[1861271,8,1,\"choisir la taille\"],\"1861272\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861271
2023-10-13	12:52:36	1780	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:36	1780	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861272
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:36	1781	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field taille
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:36	1781	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:36	1781	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:36	1781	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:36	1781	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:36	1781	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:36	1781	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field published
2023-10-13	12:52:36	1781	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:36	1781	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field override
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:36	1781	[DEBUG]	Use field value for field slug
2023-10-13	12:52:36	1781	[DEBUG]	Process line 1781
2023-10-13	12:52:36	1781	[DEBUG]	Load a row
2023-10-13	12:52:36	1781	[DEBUG]	Processing item: A_5076_208
2023-10-13	12:52:36	1781	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:36	1781	[DEBUG]	Processing product tax
2023-10-13	12:52:36	1781	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:36	1781	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:36	1781	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:36	1781	[DEBUG]	Query for Product
2023-10-13	12:52:36	1781	[DEBUG]	Executed store
2023-10-13	12:52:36	1781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5076_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:36	1781	[DEBUG]	Check product language entry
2023-10-13	12:52:36	1781	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861273
2023-10-13	12:52:36	1781	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:36	1781	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5076_208' AND `virtuemart_product_id` != 1861273
2023-10-13	12:52:36	1781	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:36	1781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861273, 'A_5076_208')
2023-10-13	12:52:36	1781	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:36	1781	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-deore-fd-m618-do-sw-dual-pull-66-69-type-a-braser-box-aucune' AND `virtuemart_product_id` != 1861273
2023-10-13	12:52:36	1781	[DEBUG]	Query for ProductLang
2023-10-13	12:52:36	1781	[DEBUG]	Executed store
2023-10-13	12:52:36	1781	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.64209',`product_name`='SHIMANO Dérailleur avant Deore FD-M618 Do-Sw Dual-Pull 66-69° type à braser box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-deore-fd-m618-do-sw-dual-pull-66-69-type-a-braser-box-aucune' WHERE `virtuemart_product_id` = '1861273'
2023-10-13	12:52:36	1781	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29539_shimano_derailleur_avant_deore_fd-m618_do-sw_dual-pull_66-69__type_à_braser_box.jpg
2023-10-13	12:52:36	1781	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:36	1781	[DEBUG]	Process image file
2023-10-13	12:52:36	1781	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:36	1781	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:36	1781	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29539_shimano_derailleur_avant_deore_fd-m618_do-sw_dual-pull_66-69__type_à_braser_box.jpg
2023-10-13	12:52:36	1781	[DEBUG]	Full name target: bcprisme/29539_shimano_derailleur_avant_deore_fd-m618_do-sw_dual-pull_66-69__type_à_braser_box.jpg
2023-10-13	12:52:37	1781	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:37	1781	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29539_shimano_derailleur_avant_deore_fd-m618_do-sw_dual-pull_66-69__type_à_braser_box.jpg'
2023-10-13	12:52:37	1781	[DEBUG]	Query for Media
2023-10-13	12:52:37	1781	[DEBUG]	Executed store
2023-10-13	12:52:37	1781	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29539_shimano_derailleur_avant_deore_fd-m618_do-sw_dual-pull_66-69__type_à_braser_box.jpg',`file_url_thumb`='bcprisme/29539_shimano_derailleur_avant_deore_fd-m618_do-sw_dual-pull_66-69__type_à_braser_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15842'
2023-10-13	12:52:37	1781	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:37	1781	[DEBUG]	Executed store
2023-10-13	12:52:37	1781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861273','15842','1')
2023-10-13	12:52:37	1781	[DEBUG]	Store product image relation
2023-10-13	12:52:37	1781	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:37	1781	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861273 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:37	1781	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:37	1781	[DEBUG]	Executed store
2023-10-13	12:52:37	1781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861273','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:37	1781	[DEBUG]	Checking manufacturer
2023-10-13	12:52:37	1781	[DEBUG]	Load a row
2023-10-13	12:52:37	1781	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:37	1781	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:37	1781	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:37	1781	[DEBUG]	Executed store
2023-10-13	12:52:37	1781	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:37	1781	[DEBUG]	Manufacturer exists
2023-10-13	12:52:37	1781	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:37	1781	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:37	1781	[DEBUG]	Executed store
2023-10-13	12:52:37	1781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861273','26')
2023-10-13	12:52:37	1781	[DEBUG]	Find the custom field ID
2023-10-13	12:52:37	1781	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:37	1781	[DEBUG]	No custom field ID found
2023-10-13	12:52:37	1781	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:37	1781	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:37	1781	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861273 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:37	1781	[DEBUG]	Store custom available field
2023-10-13	12:52:37	1781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861273,3,'0',1)
2023-10-13	12:52:37	1781	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:37	1781	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:37	1781	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861273 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:37	1781	[DEBUG]	Store custom available field
2023-10-13	12:52:37	1781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861273,6,'choisir la taille',3)
2023-10-13	12:52:37	1781	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:37	1781	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:37	1781	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:37	1781	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:37	1781	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861273 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:37	1781	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:37	1781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861273,8,1)
2023-10-13	12:52:37	1781	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:37	1781	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861273\":[1861273,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861273
2023-10-13	12:52:37	1781	[DEBUG]	Checking category
2023-10-13	12:52:37	1781	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:37	1781	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861273
2023-10-13	12:52:37	1781	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:37	1781	[DEBUG]	Executed store
2023-10-13	12:52:37	1781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861273','7312')
2023-10-13	12:52:37	1781	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:37	1781	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861273 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:52:37	1781	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:37	1781	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861273
2023-10-13	12:52:37	1782	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:37	1782	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:37	1782	[DEBUG]	Use field value for field taille
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:37	1782	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:37	1782	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:37	1782	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:37	1782	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:37	1782	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:37	1782	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:37	1782	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:37	1782	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:37	1782	[DEBUG]	Use field value for field published
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:37	1782	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field override
2023-10-13	12:52:37	1782	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:37	1782	[DEBUG]	Use field value for field slug
2023-10-13	12:52:37	1782	[DEBUG]	Process line 1782
2023-10-13	12:52:37	1782	[DEBUG]	Load a row
2023-10-13	12:52:37	1782	[DEBUG]	Processing item: 4524667921301
2023-10-13	12:52:37	1782	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:37	1782	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:37	1782	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5076_208'
2023-10-13	12:52:37	1782	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:37	1782	[DEBUG]	Processing product tax
2023-10-13	12:52:37	1782	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:37	1782	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:37	1782	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:37	1782	[DEBUG]	Query for Product
2023-10-13	12:52:37	1782	[DEBUG]	Executed store
2023-10-13	12:52:37	1782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861273','4524667921301','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:37	1782	[DEBUG]	No parent found
2023-10-13	12:52:37	1782	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861273 AND customfield_value = 'stockable'
2023-10-13	12:52:37	1782	[DEBUG]	Check product language entry
2023-10-13	12:52:37	1782	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861274
2023-10-13	12:52:37	1782	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:37	1782	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667921301' AND `virtuemart_product_id` != 1861274
2023-10-13	12:52:37	1782	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:37	1782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861274, '4524667921301')
2023-10-13	12:52:37	1782	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:37	1782	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-deore-fd-m618-do-sw-dual-pull-66-69-type-a-braser-box-aucune-all' AND `virtuemart_product_id` != 1861274
2023-10-13	12:52:37	1782	[DEBUG]	Query for ProductLang
2023-10-13	12:52:37	1782	[DEBUG]	Executed store
2023-10-13	12:52:37	1782	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant Deore FD-M618 Do-Sw Dual-Pull 66-69° type à braser box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-deore-fd-m618-do-sw-dual-pull-66-69-type-a-braser-box-aucune-all' WHERE `virtuemart_product_id` = '1861274'
2023-10-13	12:52:37	1782	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29539_shimano_derailleur_avant_deore_fd-m618_do-sw_dual-pull_66-69__type_à_braser_box.jpg
2023-10-13	12:52:37	1782	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:37	1782	[DEBUG]	Process image file
2023-10-13	12:52:37	1782	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:37	1782	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:37	1782	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29539_shimano_derailleur_avant_deore_fd-m618_do-sw_dual-pull_66-69__type_à_braser_box.jpg
2023-10-13	12:52:37	1782	[DEBUG]	Full name target: bcprisme/29539_shimano_derailleur_avant_deore_fd-m618_do-sw_dual-pull_66-69__type_à_braser_box.jpg
2023-10-13	12:52:38	1782	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:38	1782	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29539_shimano_derailleur_avant_deore_fd-m618_do-sw_dual-pull_66-69__type_à_braser_box.jpg'
2023-10-13	12:52:38	1782	[DEBUG]	Query for Media
2023-10-13	12:52:38	1782	[DEBUG]	Executed store
2023-10-13	12:52:38	1782	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29539_shimano_derailleur_avant_deore_fd-m618_do-sw_dual-pull_66-69__type_à_braser_box.jpg',`file_url_thumb`='bcprisme/29539_shimano_derailleur_avant_deore_fd-m618_do-sw_dual-pull_66-69__type_à_braser_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15842'
2023-10-13	12:52:38	1782	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:38	1782	[DEBUG]	Executed store
2023-10-13	12:52:38	1782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861274','15842','1')
2023-10-13	12:52:38	1782	[DEBUG]	Store product image relation
2023-10-13	12:52:38	1782	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:38	1782	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861274 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:38	1782	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:38	1782	[DEBUG]	Executed store
2023-10-13	12:52:38	1782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861274','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:38	1782	[DEBUG]	Checking manufacturer
2023-10-13	12:52:38	1782	[DEBUG]	Load a row
2023-10-13	12:52:38	1782	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:38	1782	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:38	1782	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:38	1782	[DEBUG]	Executed store
2023-10-13	12:52:38	1782	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:38	1782	[DEBUG]	Manufacturer exists
2023-10-13	12:52:38	1782	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:38	1782	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:38	1782	[DEBUG]	Executed store
2023-10-13	12:52:38	1782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861274','26')
2023-10-13	12:52:38	1782	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:38	1782	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:38	1782	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861274 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:38	1782	[DEBUG]	Store custom available field
2023-10-13	12:52:38	1782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861274,3,'',1)
2023-10-13	12:52:38	1782	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:38	1782	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:52:38	1782	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861274 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:38	1782	[DEBUG]	Store custom available field
2023-10-13	12:52:38	1782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861274,6,'All',3)
2023-10-13	12:52:38	1782	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:38	1782	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:38	1782	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861273
2023-10-13	12:52:38	1782	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:38	1782	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861273\":[1861273,8,1,\"choisir la taille\"],\"1861274\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861273
2023-10-13	12:52:38	1782	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:38	1782	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861274
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:38	1783	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field taille
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:38	1783	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:38	1783	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:38	1783	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:38	1783	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:38	1783	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:38	1783	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field published
2023-10-13	12:52:38	1783	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:38	1783	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field override
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:38	1783	[DEBUG]	Use field value for field slug
2023-10-13	12:52:38	1783	[DEBUG]	Process line 1783
2023-10-13	12:52:38	1783	[DEBUG]	Load a row
2023-10-13	12:52:38	1783	[DEBUG]	Processing item: A_5077_3
2023-10-13	12:52:38	1783	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:38	1783	[DEBUG]	Processing product tax
2023-10-13	12:52:38	1783	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:38	1783	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:38	1783	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:38	1783	[DEBUG]	Query for Product
2023-10-13	12:52:38	1783	[DEBUG]	Executed store
2023-10-13	12:52:38	1783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5077_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:38	1783	[DEBUG]	Check product language entry
2023-10-13	12:52:38	1783	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861275
2023-10-13	12:52:38	1783	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:38	1783	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5077_3' AND `virtuemart_product_id` != 1861275
2023-10-13	12:52:38	1783	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:38	1783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861275, 'A_5077_3')
2023-10-13	12:52:38	1783	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:38	1783	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-slx-fd-m676-none' AND `virtuemart_product_id` != 1861275
2023-10-13	12:52:38	1783	[DEBUG]	Query for ProductLang
2023-10-13	12:52:38	1783	[DEBUG]	Executed store
2023-10-13	12:52:38	1783	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn :  61.64226',`product_name`='SHIMANO Dérailleur avant SLX FD-M676 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-slx-fd-m676-none' WHERE `virtuemart_product_id` = '1861275'
2023-10-13	12:52:38	1783	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29540_derailleur_avant_slx_fd-m676.jpg
2023-10-13	12:52:38	1783	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:38	1783	[DEBUG]	Process image file
2023-10-13	12:52:38	1783	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:38	1783	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:38	1783	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29540_derailleur_avant_slx_fd-m676.jpg
2023-10-13	12:52:38	1783	[DEBUG]	Full name target: bcprisme/29540_derailleur_avant_slx_fd-m676.jpg
2023-10-13	12:52:39	1783	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:39	1783	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29540_derailleur_avant_slx_fd-m676.jpg'
2023-10-13	12:52:39	1783	[DEBUG]	Query for Media
2023-10-13	12:52:39	1783	[DEBUG]	Executed store
2023-10-13	12:52:39	1783	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29540_derailleur_avant_slx_fd-m676.jpg',`file_url_thumb`='bcprisme/29540_derailleur_avant_slx_fd-m676.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15843'
2023-10-13	12:52:39	1783	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:39	1783	[DEBUG]	Executed store
2023-10-13	12:52:39	1783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861275','15843','1')
2023-10-13	12:52:39	1783	[DEBUG]	Store product image relation
2023-10-13	12:52:39	1783	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:39	1783	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861275 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:39	1783	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:39	1783	[DEBUG]	Executed store
2023-10-13	12:52:39	1783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861275','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:39	1783	[DEBUG]	Checking manufacturer
2023-10-13	12:52:39	1783	[DEBUG]	Load a row
2023-10-13	12:52:39	1783	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:39	1783	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:39	1783	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:39	1783	[DEBUG]	Executed store
2023-10-13	12:52:39	1783	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:39	1783	[DEBUG]	Manufacturer exists
2023-10-13	12:52:39	1783	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:39	1783	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:39	1783	[DEBUG]	Executed store
2023-10-13	12:52:39	1783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861275','26')
2023-10-13	12:52:39	1783	[DEBUG]	Find the custom field ID
2023-10-13	12:52:39	1783	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:39	1783	[DEBUG]	No custom field ID found
2023-10-13	12:52:39	1783	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:39	1783	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:39	1783	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861275 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:39	1783	[DEBUG]	Store custom available field
2023-10-13	12:52:39	1783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861275,3,'0',1)
2023-10-13	12:52:39	1783	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:39	1783	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:39	1783	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861275 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:39	1783	[DEBUG]	Store custom available field
2023-10-13	12:52:39	1783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861275,6,'choisir la taille',3)
2023-10-13	12:52:39	1783	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:39	1783	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:39	1783	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:39	1783	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:39	1783	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861275 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:39	1783	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:39	1783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861275,8,1)
2023-10-13	12:52:39	1783	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:39	1783	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861275\":[1861275,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861275
2023-10-13	12:52:39	1783	[DEBUG]	Checking category
2023-10-13	12:52:39	1783	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:39	1783	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861275
2023-10-13	12:52:39	1783	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:39	1783	[DEBUG]	Executed store
2023-10-13	12:52:39	1783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861275','7312')
2023-10-13	12:52:39	1783	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:39	1783	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861275 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:52:39	1783	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:39	1783	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861275
2023-10-13	12:52:39	1784	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:39	1784	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:39	1784	[DEBUG]	Use field value for field taille
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:39	1784	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:39	1784	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:39	1784	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:39	1784	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:39	1784	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:39	1784	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:39	1784	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:39	1784	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:39	1784	[DEBUG]	Use field value for field published
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:39	1784	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field override
2023-10-13	12:52:39	1784	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:39	1784	[DEBUG]	Use field value for field slug
2023-10-13	12:52:39	1784	[DEBUG]	Process line 1784
2023-10-13	12:52:39	1784	[DEBUG]	Load a row
2023-10-13	12:52:39	1784	[DEBUG]	Processing item: 1000000076585
2023-10-13	12:52:39	1784	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:39	1784	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:39	1784	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5077_3'
2023-10-13	12:52:39	1784	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:39	1784	[DEBUG]	Processing product tax
2023-10-13	12:52:39	1784	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:39	1784	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:39	1784	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:39	1784	[DEBUG]	Query for Product
2023-10-13	12:52:39	1784	[DEBUG]	Executed store
2023-10-13	12:52:39	1784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861275','1000000076585','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:39	1784	[DEBUG]	No parent found
2023-10-13	12:52:39	1784	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861275 AND customfield_value = 'stockable'
2023-10-13	12:52:39	1784	[DEBUG]	Check product language entry
2023-10-13	12:52:39	1784	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861276
2023-10-13	12:52:39	1784	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:39	1784	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000076585' AND `virtuemart_product_id` != 1861276
2023-10-13	12:52:39	1784	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:39	1784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861276, '1000000076585')
2023-10-13	12:52:39	1784	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:39	1784	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-slx-fd-m676-none-unitaire' AND `virtuemart_product_id` != 1861276
2023-10-13	12:52:39	1784	[DEBUG]	Query for ProductLang
2023-10-13	12:52:39	1784	[DEBUG]	Executed store
2023-10-13	12:52:39	1784	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant SLX FD-M676 / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-slx-fd-m676-none-unitaire' WHERE `virtuemart_product_id` = '1861276'
2023-10-13	12:52:39	1784	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29540_derailleur_avant_slx_fd-m676.jpg
2023-10-13	12:52:39	1784	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:39	1784	[DEBUG]	Process image file
2023-10-13	12:52:39	1784	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:39	1784	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:39	1784	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29540_derailleur_avant_slx_fd-m676.jpg
2023-10-13	12:52:39	1784	[DEBUG]	Full name target: bcprisme/29540_derailleur_avant_slx_fd-m676.jpg
2023-10-13	12:52:40	1784	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:40	1784	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29540_derailleur_avant_slx_fd-m676.jpg'
2023-10-13	12:52:40	1784	[DEBUG]	Query for Media
2023-10-13	12:52:40	1784	[DEBUG]	Executed store
2023-10-13	12:52:40	1784	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29540_derailleur_avant_slx_fd-m676.jpg',`file_url_thumb`='bcprisme/29540_derailleur_avant_slx_fd-m676.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15843'
2023-10-13	12:52:40	1784	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:40	1784	[DEBUG]	Executed store
2023-10-13	12:52:40	1784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861276','15843','1')
2023-10-13	12:52:40	1784	[DEBUG]	Store product image relation
2023-10-13	12:52:40	1784	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:40	1784	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861276 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:40	1784	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:40	1784	[DEBUG]	Executed store
2023-10-13	12:52:40	1784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861276','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:40	1784	[DEBUG]	Checking manufacturer
2023-10-13	12:52:40	1784	[DEBUG]	Load a row
2023-10-13	12:52:40	1784	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:40	1784	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:40	1784	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:40	1784	[DEBUG]	Executed store
2023-10-13	12:52:40	1784	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:40	1784	[DEBUG]	Manufacturer exists
2023-10-13	12:52:40	1784	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:40	1784	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:40	1784	[DEBUG]	Executed store
2023-10-13	12:52:40	1784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861276','26')
2023-10-13	12:52:40	1784	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:40	1784	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:40	1784	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861276 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:40	1784	[DEBUG]	Store custom available field
2023-10-13	12:52:40	1784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861276,3,'',1)
2023-10-13	12:52:40	1784	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:40	1784	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:52:40	1784	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861276 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:40	1784	[DEBUG]	Store custom available field
2023-10-13	12:52:40	1784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861276,6,'Unitaire',3)
2023-10-13	12:52:40	1784	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:40	1784	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:40	1784	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861275
2023-10-13	12:52:40	1784	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:40	1784	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861275\":[1861275,8,1,\"choisir la taille\"],\"1861276\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861275
2023-10-13	12:52:40	1784	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:40	1784	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861276
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:40	1785	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field taille
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:40	1785	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:40	1785	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:40	1785	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:40	1785	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:40	1785	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:40	1785	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field published
2023-10-13	12:52:40	1785	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:40	1785	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field override
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:40	1785	[DEBUG]	Use field value for field slug
2023-10-13	12:52:40	1785	[DEBUG]	Process line 1785
2023-10-13	12:52:40	1785	[DEBUG]	Load a row
2023-10-13	12:52:40	1785	[DEBUG]	Processing item: A_5092_208
2023-10-13	12:52:40	1785	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:40	1785	[DEBUG]	Processing product tax
2023-10-13	12:52:40	1785	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:40	1785	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:40	1785	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:40	1785	[DEBUG]	Query for Product
2023-10-13	12:52:40	1785	[DEBUG]	Executed store
2023-10-13	12:52:40	1785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5092_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:40	1785	[DEBUG]	Check product language entry
2023-10-13	12:52:40	1785	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861277
2023-10-13	12:52:40	1785	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:40	1785	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5092_208' AND `virtuemart_product_id` != 1861277
2023-10-13	12:52:40	1785	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:40	1785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861277, 'A_5092_208')
2023-10-13	12:52:40	1785	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:40	1785	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-altus-rd-m310-7-8--vit-top--normal-montage-di-noir-box-aucune' AND `virtuemart_product_id` != 1861277
2023-10-13	12:52:40	1785	[DEBUG]	Query for ProductLang
2023-10-13	12:52:40	1785	[DEBUG]	Executed store
2023-10-13	12:52:40	1785	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.44107',`product_name`='SHIMANO Dérailleur Altus RD-M310 7/8- vit. Top -Normal montage-di. noir box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-altus-rd-m310-7-8--vit-top--normal-montage-di-noir-box-aucune' WHERE `virtuemart_product_id` = '1861277'
2023-10-13	12:52:40	1785	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29555_shimano_derailleur_altus_rd-m310_7-8-_vit__top_-normal_montage-di__noir_box.jpg
2023-10-13	12:52:40	1785	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:40	1785	[DEBUG]	Process image file
2023-10-13	12:52:40	1785	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:40	1785	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:40	1785	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29555_shimano_derailleur_altus_rd-m310_7-8-_vit__top_-normal_montage-di__noir_box.jpg
2023-10-13	12:52:40	1785	[DEBUG]	Full name target: bcprisme/29555_shimano_derailleur_altus_rd-m310_7-8-_vit__top_-normal_montage-di__noir_box.jpg
2023-10-13	12:52:41	1785	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:41	1785	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29555_shimano_derailleur_altus_rd-m310_7-8-_vit__top_-normal_montage-di__noir_box.jpg'
2023-10-13	12:52:41	1785	[DEBUG]	Query for Media
2023-10-13	12:52:41	1785	[DEBUG]	Executed store
2023-10-13	12:52:41	1785	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29555_shimano_derailleur_altus_rd-m310_7-8-_vit__top_-normal_montage-di__noir_box.jpg',`file_url_thumb`='bcprisme/29555_shimano_derailleur_altus_rd-m310_7-8-_vit__top_-normal_montage-di__noir_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15844'
2023-10-13	12:52:41	1785	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:41	1785	[DEBUG]	Executed store
2023-10-13	12:52:41	1785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861277','15844','1')
2023-10-13	12:52:41	1785	[DEBUG]	Store product image relation
2023-10-13	12:52:41	1785	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:41	1785	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861277 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:41	1785	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:41	1785	[DEBUG]	Executed store
2023-10-13	12:52:41	1785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861277','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:41	1785	[DEBUG]	Checking manufacturer
2023-10-13	12:52:41	1785	[DEBUG]	Load a row
2023-10-13	12:52:41	1785	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:41	1785	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:41	1785	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:41	1785	[DEBUG]	Executed store
2023-10-13	12:52:41	1785	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:41	1785	[DEBUG]	Manufacturer exists
2023-10-13	12:52:41	1785	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:41	1785	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:41	1785	[DEBUG]	Executed store
2023-10-13	12:52:41	1785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861277','26')
2023-10-13	12:52:41	1785	[DEBUG]	Find the custom field ID
2023-10-13	12:52:41	1785	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:41	1785	[DEBUG]	No custom field ID found
2023-10-13	12:52:41	1785	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:41	1785	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:41	1785	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861277 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:41	1785	[DEBUG]	Store custom available field
2023-10-13	12:52:41	1785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861277,3,'0',1)
2023-10-13	12:52:41	1785	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:41	1785	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:41	1785	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861277 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:41	1785	[DEBUG]	Store custom available field
2023-10-13	12:52:41	1785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861277,6,'choisir la taille',3)
2023-10-13	12:52:41	1785	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:41	1785	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:41	1785	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:41	1785	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:41	1785	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861277 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:41	1785	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:41	1785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861277,8,1)
2023-10-13	12:52:41	1785	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:41	1785	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861277\":[1861277,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861277
2023-10-13	12:52:41	1785	[DEBUG]	Checking category
2023-10-13	12:52:41	1785	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:41	1785	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861277
2023-10-13	12:52:41	1785	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:41	1785	[DEBUG]	Executed store
2023-10-13	12:52:41	1785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861277','7312')
2023-10-13	12:52:41	1785	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:41	1785	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861277 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:52:41	1785	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:41	1785	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861277
2023-10-13	12:52:41	1786	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:41	1786	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:41	1786	[DEBUG]	Use field value for field taille
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:41	1786	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:41	1786	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:41	1786	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:41	1786	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:41	1786	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:41	1786	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:41	1786	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:41	1786	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:41	1786	[DEBUG]	Use field value for field published
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:41	1786	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field override
2023-10-13	12:52:41	1786	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:41	1786	[DEBUG]	Use field value for field slug
2023-10-13	12:52:41	1786	[DEBUG]	Process line 1786
2023-10-13	12:52:41	1786	[DEBUG]	Load a row
2023-10-13	12:52:41	1786	[DEBUG]	Processing item: 4524667130925
2023-10-13	12:52:41	1786	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:41	1786	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:41	1786	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5092_208'
2023-10-13	12:52:41	1786	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:41	1786	[DEBUG]	Processing product tax
2023-10-13	12:52:41	1786	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:41	1786	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:41	1786	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:41	1786	[DEBUG]	Query for Product
2023-10-13	12:52:42	1786	[DEBUG]	Executed store
2023-10-13	12:52:42	1786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861277','4524667130925','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:42	1786	[DEBUG]	No parent found
2023-10-13	12:52:42	1786	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861277 AND customfield_value = 'stockable'
2023-10-13	12:52:42	1786	[DEBUG]	Check product language entry
2023-10-13	12:52:42	1786	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861278
2023-10-13	12:52:42	1786	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:42	1786	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667130925' AND `virtuemart_product_id` != 1861278
2023-10-13	12:52:42	1786	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:42	1786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861278, '4524667130925')
2023-10-13	12:52:42	1786	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:42	1786	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-altus-rd-m310-7-8--vit-top--normal-montage-di-noir-box-aucune-all' AND `virtuemart_product_id` != 1861278
2023-10-13	12:52:42	1786	[DEBUG]	Query for ProductLang
2023-10-13	12:52:42	1786	[DEBUG]	Executed store
2023-10-13	12:52:42	1786	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Altus RD-M310 7/8- vit. Top -Normal montage-di. noir box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-altus-rd-m310-7-8--vit-top--normal-montage-di-noir-box-aucune-all' WHERE `virtuemart_product_id` = '1861278'
2023-10-13	12:52:42	1786	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29555_shimano_derailleur_altus_rd-m310_7-8-_vit__top_-normal_montage-di__noir_box.jpg
2023-10-13	12:52:42	1786	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:42	1786	[DEBUG]	Process image file
2023-10-13	12:52:42	1786	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:42	1786	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:42	1786	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29555_shimano_derailleur_altus_rd-m310_7-8-_vit__top_-normal_montage-di__noir_box.jpg
2023-10-13	12:52:42	1786	[DEBUG]	Full name target: bcprisme/29555_shimano_derailleur_altus_rd-m310_7-8-_vit__top_-normal_montage-di__noir_box.jpg
2023-10-13	12:52:42	1786	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:42	1786	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29555_shimano_derailleur_altus_rd-m310_7-8-_vit__top_-normal_montage-di__noir_box.jpg'
2023-10-13	12:52:42	1786	[DEBUG]	Query for Media
2023-10-13	12:52:42	1786	[DEBUG]	Executed store
2023-10-13	12:52:42	1786	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29555_shimano_derailleur_altus_rd-m310_7-8-_vit__top_-normal_montage-di__noir_box.jpg',`file_url_thumb`='bcprisme/29555_shimano_derailleur_altus_rd-m310_7-8-_vit__top_-normal_montage-di__noir_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15844'
2023-10-13	12:52:42	1786	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:42	1786	[DEBUG]	Executed store
2023-10-13	12:52:42	1786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861278','15844','1')
2023-10-13	12:52:42	1786	[DEBUG]	Store product image relation
2023-10-13	12:52:42	1786	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:42	1786	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861278 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:42	1786	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:42	1786	[DEBUG]	Executed store
2023-10-13	12:52:42	1786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861278','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:42	1786	[DEBUG]	Checking manufacturer
2023-10-13	12:52:42	1786	[DEBUG]	Load a row
2023-10-13	12:52:42	1786	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:42	1786	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:42	1786	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:42	1786	[DEBUG]	Executed store
2023-10-13	12:52:42	1786	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:42	1786	[DEBUG]	Manufacturer exists
2023-10-13	12:52:42	1786	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:42	1786	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:42	1786	[DEBUG]	Executed store
2023-10-13	12:52:42	1786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861278','26')
2023-10-13	12:52:42	1786	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:42	1786	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:42	1786	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861278 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:42	1786	[DEBUG]	Store custom available field
2023-10-13	12:52:42	1786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861278,3,'',1)
2023-10-13	12:52:42	1786	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:42	1786	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:52:42	1786	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861278 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:42	1786	[DEBUG]	Store custom available field
2023-10-13	12:52:42	1786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861278,6,'All',3)
2023-10-13	12:52:42	1786	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:42	1786	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:42	1786	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861277
2023-10-13	12:52:42	1786	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:42	1786	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861277\":[1861277,8,1,\"choisir la taille\"],\"1861278\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861277
2023-10-13	12:52:42	1786	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:42	1786	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861278
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:42	1787	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field taille
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:42	1787	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:42	1787	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:42	1787	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:42	1787	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:42	1787	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:42	1787	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field published
2023-10-13	12:52:42	1787	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:42	1787	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field override
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:42	1787	[DEBUG]	Use field value for field slug
2023-10-13	12:52:42	1787	[DEBUG]	Process line 1787
2023-10-13	12:52:42	1787	[DEBUG]	Load a row
2023-10-13	12:52:42	1787	[DEBUG]	Processing item: A_5094_208
2023-10-13	12:52:42	1787	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:42	1787	[DEBUG]	Processing product tax
2023-10-13	12:52:42	1787	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:42	1787	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:42	1787	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:42	1787	[DEBUG]	Query for Product
2023-10-13	12:52:42	1787	[DEBUG]	Executed store
2023-10-13	12:52:42	1787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5094_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:42	1787	[DEBUG]	Check product language entry
2023-10-13	12:52:43	1787	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861279
2023-10-13	12:52:43	1787	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:43	1787	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5094_208' AND `virtuemart_product_id` != 1861279
2023-10-13	12:52:43	1787	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:43	1787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861279, 'A_5094_208')
2023-10-13	12:52:43	1787	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:43	1787	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-slx-fd-m670-to-sw-du-pu-66-69-plaque-box-aucune' AND `virtuemart_product_id` != 1861279
2023-10-13	12:52:43	1787	[DEBUG]	Query for ProductLang
2023-10-13	12:52:43	1787	[DEBUG]	Executed store
2023-10-13	12:52:43	1787	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.54622',`product_name`='SHIMANO Dérailleur avant SLX FD-M670 To-Sw Du-Pu 66-69° plaque box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-slx-fd-m670-to-sw-du-pu-66-69-plaque-box-aucune' WHERE `virtuemart_product_id` = '1861279'
2023-10-13	12:52:43	1787	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29557_shimano_derailleur_avant_slx_fd-m670_to-sw_du-pu_66-69__plaque_box.jpg
2023-10-13	12:52:43	1787	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:43	1787	[DEBUG]	Process image file
2023-10-13	12:52:43	1787	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:43	1787	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:43	1787	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29557_shimano_derailleur_avant_slx_fd-m670_to-sw_du-pu_66-69__plaque_box.jpg
2023-10-13	12:52:43	1787	[DEBUG]	Full name target: bcprisme/29557_shimano_derailleur_avant_slx_fd-m670_to-sw_du-pu_66-69__plaque_box.jpg
2023-10-13	12:52:43	1787	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:43	1787	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29557_shimano_derailleur_avant_slx_fd-m670_to-sw_du-pu_66-69__plaque_box.jpg'
2023-10-13	12:52:43	1787	[DEBUG]	Query for Media
2023-10-13	12:52:43	1787	[DEBUG]	Executed store
2023-10-13	12:52:43	1787	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29557_shimano_derailleur_avant_slx_fd-m670_to-sw_du-pu_66-69__plaque_box.jpg',`file_url_thumb`='bcprisme/29557_shimano_derailleur_avant_slx_fd-m670_to-sw_du-pu_66-69__plaque_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15845'
2023-10-13	12:52:43	1787	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:43	1787	[DEBUG]	Executed store
2023-10-13	12:52:43	1787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861279','15845','1')
2023-10-13	12:52:43	1787	[DEBUG]	Store product image relation
2023-10-13	12:52:43	1787	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:43	1787	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861279 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:43	1787	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:43	1787	[DEBUG]	Executed store
2023-10-13	12:52:43	1787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861279','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:43	1787	[DEBUG]	Checking manufacturer
2023-10-13	12:52:43	1787	[DEBUG]	Load a row
2023-10-13	12:52:43	1787	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:43	1787	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:43	1787	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:43	1787	[DEBUG]	Executed store
2023-10-13	12:52:43	1787	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:43	1787	[DEBUG]	Manufacturer exists
2023-10-13	12:52:43	1787	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:43	1787	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:43	1787	[DEBUG]	Executed store
2023-10-13	12:52:43	1787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861279','26')
2023-10-13	12:52:43	1787	[DEBUG]	Find the custom field ID
2023-10-13	12:52:43	1787	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:43	1787	[DEBUG]	No custom field ID found
2023-10-13	12:52:43	1787	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:43	1787	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:43	1787	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861279 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:43	1787	[DEBUG]	Store custom available field
2023-10-13	12:52:43	1787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861279,3,'0',1)
2023-10-13	12:52:43	1787	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:43	1787	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:43	1787	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861279 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:43	1787	[DEBUG]	Store custom available field
2023-10-13	12:52:43	1787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861279,6,'choisir la taille',3)
2023-10-13	12:52:43	1787	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:43	1787	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:43	1787	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:43	1787	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:43	1787	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861279 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:43	1787	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:43	1787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861279,8,1)
2023-10-13	12:52:43	1787	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:43	1787	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861279\":[1861279,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861279
2023-10-13	12:52:43	1787	[DEBUG]	Checking category
2023-10-13	12:52:43	1787	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:43	1787	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861279
2023-10-13	12:52:43	1787	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:43	1787	[DEBUG]	Executed store
2023-10-13	12:52:43	1787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861279','7312')
2023-10-13	12:52:43	1787	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:43	1787	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861279 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:52:43	1787	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:43	1787	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861279
2023-10-13	12:52:43	1788	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:43	1788	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:43	1788	[DEBUG]	Use field value for field taille
2023-10-13	12:52:43	1788	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:43	1788	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:43	1788	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:43	1788	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:43	1788	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:43	1788	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:43	1788	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:43	1788	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:43	1788	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:43	1788	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:43	1788	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:43	1788	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:43	1788	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:44	1788	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:44	1788	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:44	1788	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:44	1788	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:44	1788	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:44	1788	[DEBUG]	Use field value for field published
2023-10-13	12:52:44	1788	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:44	1788	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:44	1788	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:44	1788	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:44	1788	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:44	1788	[DEBUG]	Use default value for field override
2023-10-13	12:52:44	1788	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:44	1788	[DEBUG]	Use field value for field slug
2023-10-13	12:52:44	1788	[DEBUG]	Process line 1788
2023-10-13	12:52:44	1788	[DEBUG]	Load a row
2023-10-13	12:52:44	1788	[DEBUG]	Processing item: 4524667299806
2023-10-13	12:52:44	1788	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:44	1788	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:44	1788	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5094_208'
2023-10-13	12:52:44	1788	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:44	1788	[DEBUG]	Processing product tax
2023-10-13	12:52:44	1788	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:44	1788	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:44	1788	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:44	1788	[DEBUG]	Query for Product
2023-10-13	12:52:44	1788	[DEBUG]	Executed store
2023-10-13	12:52:44	1788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861279','4524667299806','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:44	1788	[DEBUG]	No parent found
2023-10-13	12:52:44	1788	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861279 AND customfield_value = 'stockable'
2023-10-13	12:52:44	1788	[DEBUG]	Check product language entry
2023-10-13	12:52:44	1788	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861280
2023-10-13	12:52:44	1788	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:44	1788	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667299806' AND `virtuemart_product_id` != 1861280
2023-10-13	12:52:44	1788	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:44	1788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861280, '4524667299806')
2023-10-13	12:52:44	1788	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:44	1788	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-slx-fd-m670-to-sw-du-pu-66-69-plaque-box-aucune-all' AND `virtuemart_product_id` != 1861280
2023-10-13	12:52:44	1788	[DEBUG]	Query for ProductLang
2023-10-13	12:52:44	1788	[DEBUG]	Executed store
2023-10-13	12:52:44	1788	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant SLX FD-M670 To-Sw Du-Pu 66-69° plaque box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-slx-fd-m670-to-sw-du-pu-66-69-plaque-box-aucune-all' WHERE `virtuemart_product_id` = '1861280'
2023-10-13	12:52:44	1788	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29557_shimano_derailleur_avant_slx_fd-m670_to-sw_du-pu_66-69__plaque_box.jpg
2023-10-13	12:52:44	1788	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:44	1788	[DEBUG]	Process image file
2023-10-13	12:52:44	1788	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:44	1788	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:44	1788	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29557_shimano_derailleur_avant_slx_fd-m670_to-sw_du-pu_66-69__plaque_box.jpg
2023-10-13	12:52:44	1788	[DEBUG]	Full name target: bcprisme/29557_shimano_derailleur_avant_slx_fd-m670_to-sw_du-pu_66-69__plaque_box.jpg
2023-10-13	12:52:44	1788	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:44	1788	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29557_shimano_derailleur_avant_slx_fd-m670_to-sw_du-pu_66-69__plaque_box.jpg'
2023-10-13	12:52:44	1788	[DEBUG]	Query for Media
2023-10-13	12:52:44	1788	[DEBUG]	Executed store
2023-10-13	12:52:44	1788	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29557_shimano_derailleur_avant_slx_fd-m670_to-sw_du-pu_66-69__plaque_box.jpg',`file_url_thumb`='bcprisme/29557_shimano_derailleur_avant_slx_fd-m670_to-sw_du-pu_66-69__plaque_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15845'
2023-10-13	12:52:44	1788	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:44	1788	[DEBUG]	Executed store
2023-10-13	12:52:44	1788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861280','15845','1')
2023-10-13	12:52:44	1788	[DEBUG]	Store product image relation
2023-10-13	12:52:44	1788	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:44	1788	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861280 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:44	1788	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:44	1788	[DEBUG]	Executed store
2023-10-13	12:52:44	1788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861280','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:44	1788	[DEBUG]	Checking manufacturer
2023-10-13	12:52:44	1788	[DEBUG]	Load a row
2023-10-13	12:52:44	1788	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:44	1788	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:44	1788	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:44	1788	[DEBUG]	Executed store
2023-10-13	12:52:44	1788	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:44	1788	[DEBUG]	Manufacturer exists
2023-10-13	12:52:44	1788	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:44	1788	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:44	1788	[DEBUG]	Executed store
2023-10-13	12:52:44	1788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861280','26')
2023-10-13	12:52:44	1788	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:44	1788	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:44	1788	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861280 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:44	1788	[DEBUG]	Store custom available field
2023-10-13	12:52:44	1788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861280,3,'',1)
2023-10-13	12:52:44	1788	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:44	1788	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:52:44	1788	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861280 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:44	1788	[DEBUG]	Store custom available field
2023-10-13	12:52:44	1788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861280,6,'All',3)
2023-10-13	12:52:44	1788	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:44	1788	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:45	1788	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861279
2023-10-13	12:52:45	1788	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:45	1788	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861279\":[1861279,8,1,\"choisir la taille\"],\"1861280\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861279
2023-10-13	12:52:45	1788	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:45	1788	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861280
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:45	1789	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field taille
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:45	1789	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:45	1789	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:45	1789	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:45	1789	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:45	1789	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:45	1789	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field published
2023-10-13	12:52:45	1789	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:45	1789	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field override
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:45	1789	[DEBUG]	Use field value for field slug
2023-10-13	12:52:45	1789	[DEBUG]	Process line 1789
2023-10-13	12:52:45	1789	[DEBUG]	Load a row
2023-10-13	12:52:45	1789	[DEBUG]	Processing item: A_5095_208
2023-10-13	12:52:45	1789	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:45	1789	[DEBUG]	Processing product tax
2023-10-13	12:52:45	1789	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:45	1789	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:45	1789	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:45	1789	[DEBUG]	Query for Product
2023-10-13	12:52:45	1789	[DEBUG]	Executed store
2023-10-13	12:52:45	1789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5095_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:45	1789	[DEBUG]	Check product language entry
2023-10-13	12:52:45	1789	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861281
2023-10-13	12:52:45	1789	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:45	1789	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5095_208' AND `virtuemart_product_id` != 1861281
2023-10-13	12:52:45	1789	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:45	1789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861281, 'A_5095_208')
2023-10-13	12:52:45	1789	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:45	1789	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-slx-fd-m671-do-sw-to-pu-66-69-28-6-31-8-34-9-box-aucune' AND `virtuemart_product_id` != 1861281
2023-10-13	12:52:45	1789	[DEBUG]	Query for ProductLang
2023-10-13	12:52:45	1789	[DEBUG]	Executed store
2023-10-13	12:52:45	1789	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.54627',`product_name`='SHIMANO Dérailleur avant SLX FD-M671 Do-Sw To-Pu 66-69°28.6/31.8/34.9 box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-slx-fd-m671-do-sw-to-pu-66-69-28-6-31-8-34-9-box-aucune' WHERE `virtuemart_product_id` = '1861281'
2023-10-13	12:52:45	1789	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29558_shimano_derailleur_avant_slx_fd-m671_do-sw_to-pu_66-69_28_6-31_8-34_9_box.jpg
2023-10-13	12:52:45	1789	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:45	1789	[DEBUG]	Process image file
2023-10-13	12:52:45	1789	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:45	1789	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:45	1789	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29558_shimano_derailleur_avant_slx_fd-m671_do-sw_to-pu_66-69_28_6-31_8-34_9_box.jpg
2023-10-13	12:52:45	1789	[DEBUG]	Full name target: bcprisme/29558_shimano_derailleur_avant_slx_fd-m671_do-sw_to-pu_66-69_28_6-31_8-34_9_box.jpg
2023-10-13	12:52:45	1789	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:45	1789	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29558_shimano_derailleur_avant_slx_fd-m671_do-sw_to-pu_66-69_28_6-31_8-34_9_box.jpg'
2023-10-13	12:52:45	1789	[DEBUG]	Query for Media
2023-10-13	12:52:45	1789	[DEBUG]	Executed store
2023-10-13	12:52:45	1789	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29558_shimano_derailleur_avant_slx_fd-m671_do-sw_to-pu_66-69_28_6-31_8-34_9_box.jpg',`file_url_thumb`='bcprisme/29558_shimano_derailleur_avant_slx_fd-m671_do-sw_to-pu_66-69_28_6-31_8-34_9_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15846'
2023-10-13	12:52:45	1789	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:45	1789	[DEBUG]	Executed store
2023-10-13	12:52:45	1789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861281','15846','1')
2023-10-13	12:52:45	1789	[DEBUG]	Store product image relation
2023-10-13	12:52:45	1789	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:45	1789	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861281 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:45	1789	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:45	1789	[DEBUG]	Executed store
2023-10-13	12:52:45	1789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861281','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:45	1789	[DEBUG]	Checking manufacturer
2023-10-13	12:52:45	1789	[DEBUG]	Load a row
2023-10-13	12:52:45	1789	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:45	1789	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:45	1789	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:45	1789	[DEBUG]	Executed store
2023-10-13	12:52:45	1789	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:45	1789	[DEBUG]	Manufacturer exists
2023-10-13	12:52:45	1789	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:45	1789	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:45	1789	[DEBUG]	Executed store
2023-10-13	12:52:45	1789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861281','26')
2023-10-13	12:52:45	1789	[DEBUG]	Find the custom field ID
2023-10-13	12:52:45	1789	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:45	1789	[DEBUG]	No custom field ID found
2023-10-13	12:52:45	1789	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:45	1789	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:45	1789	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861281 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:45	1789	[DEBUG]	Store custom available field
2023-10-13	12:52:45	1789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861281,3,'0',1)
2023-10-13	12:52:45	1789	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:45	1789	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:45	1789	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861281 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:45	1789	[DEBUG]	Store custom available field
2023-10-13	12:52:45	1789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861281,6,'choisir la taille',3)
2023-10-13	12:52:45	1789	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:45	1789	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:45	1789	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:45	1789	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:45	1789	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861281 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:45	1789	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:45	1789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861281,8,1)
2023-10-13	12:52:45	1789	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:45	1789	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861281\":[1861281,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861281
2023-10-13	12:52:45	1789	[DEBUG]	Checking category
2023-10-13	12:52:45	1789	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:45	1789	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861281
2023-10-13	12:52:45	1789	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:45	1789	[DEBUG]	Executed store
2023-10-13	12:52:45	1789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861281','7312')
2023-10-13	12:52:45	1789	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:45	1789	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861281 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:52:45	1789	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:45	1789	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861281
2023-10-13	12:52:45	1790	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:45	1790	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:45	1790	[DEBUG]	Use field value for field taille
2023-10-13	12:52:45	1790	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:45	1790	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:45	1790	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:45	1790	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:45	1790	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:45	1790	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:45	1790	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:45	1790	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:46	1790	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:46	1790	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:46	1790	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:46	1790	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:46	1790	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:46	1790	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:46	1790	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:46	1790	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:46	1790	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:46	1790	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:46	1790	[DEBUG]	Use field value for field published
2023-10-13	12:52:46	1790	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:46	1790	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:46	1790	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:46	1790	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:46	1790	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:46	1790	[DEBUG]	Use default value for field override
2023-10-13	12:52:46	1790	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:46	1790	[DEBUG]	Use field value for field slug
2023-10-13	12:52:46	1790	[DEBUG]	Process line 1790
2023-10-13	12:52:46	1790	[DEBUG]	Load a row
2023-10-13	12:52:46	1790	[DEBUG]	Processing item: 4524667308393
2023-10-13	12:52:46	1790	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:46	1790	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:46	1790	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5095_208'
2023-10-13	12:52:46	1790	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:46	1790	[DEBUG]	Processing product tax
2023-10-13	12:52:46	1790	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:46	1790	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:46	1790	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:46	1790	[DEBUG]	Query for Product
2023-10-13	12:52:46	1790	[DEBUG]	Executed store
2023-10-13	12:52:46	1790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861281','4524667308393','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:46	1790	[DEBUG]	No parent found
2023-10-13	12:52:46	1790	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861281 AND customfield_value = 'stockable'
2023-10-13	12:52:46	1790	[DEBUG]	Check product language entry
2023-10-13	12:52:46	1790	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861282
2023-10-13	12:52:46	1790	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:46	1790	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667308393' AND `virtuemart_product_id` != 1861282
2023-10-13	12:52:46	1790	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:46	1790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861282, '4524667308393')
2023-10-13	12:52:46	1790	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:46	1790	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-slx-fd-m671-do-sw-to-pu-66-69-28-6-31-8-34-9-box-aucune-all' AND `virtuemart_product_id` != 1861282
2023-10-13	12:52:46	1790	[DEBUG]	Query for ProductLang
2023-10-13	12:52:46	1790	[DEBUG]	Executed store
2023-10-13	12:52:46	1790	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant SLX FD-M671 Do-Sw To-Pu 66-69°28.6/31.8/34.9 box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-slx-fd-m671-do-sw-to-pu-66-69-28-6-31-8-34-9-box-aucune-all' WHERE `virtuemart_product_id` = '1861282'
2023-10-13	12:52:46	1790	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29558_shimano_derailleur_avant_slx_fd-m671_do-sw_to-pu_66-69_28_6-31_8-34_9_box.jpg
2023-10-13	12:52:46	1790	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:46	1790	[DEBUG]	Process image file
2023-10-13	12:52:46	1790	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:46	1790	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:46	1790	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29558_shimano_derailleur_avant_slx_fd-m671_do-sw_to-pu_66-69_28_6-31_8-34_9_box.jpg
2023-10-13	12:52:46	1790	[DEBUG]	Full name target: bcprisme/29558_shimano_derailleur_avant_slx_fd-m671_do-sw_to-pu_66-69_28_6-31_8-34_9_box.jpg
2023-10-13	12:52:46	1790	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:46	1790	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29558_shimano_derailleur_avant_slx_fd-m671_do-sw_to-pu_66-69_28_6-31_8-34_9_box.jpg'
2023-10-13	12:52:46	1790	[DEBUG]	Query for Media
2023-10-13	12:52:46	1790	[DEBUG]	Executed store
2023-10-13	12:52:46	1790	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29558_shimano_derailleur_avant_slx_fd-m671_do-sw_to-pu_66-69_28_6-31_8-34_9_box.jpg',`file_url_thumb`='bcprisme/29558_shimano_derailleur_avant_slx_fd-m671_do-sw_to-pu_66-69_28_6-31_8-34_9_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15846'
2023-10-13	12:52:46	1790	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:46	1790	[DEBUG]	Executed store
2023-10-13	12:52:46	1790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861282','15846','1')
2023-10-13	12:52:46	1790	[DEBUG]	Store product image relation
2023-10-13	12:52:46	1790	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:46	1790	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861282 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:46	1790	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:46	1790	[DEBUG]	Executed store
2023-10-13	12:52:46	1790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861282','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:46	1790	[DEBUG]	Checking manufacturer
2023-10-13	12:52:46	1790	[DEBUG]	Load a row
2023-10-13	12:52:46	1790	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:46	1790	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:46	1790	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:46	1790	[DEBUG]	Executed store
2023-10-13	12:52:46	1790	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:46	1790	[DEBUG]	Manufacturer exists
2023-10-13	12:52:46	1790	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:46	1790	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:46	1790	[DEBUG]	Executed store
2023-10-13	12:52:46	1790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861282','26')
2023-10-13	12:52:46	1790	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:46	1790	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:46	1790	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861282 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:46	1790	[DEBUG]	Store custom available field
2023-10-13	12:52:46	1790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861282,3,'',1)
2023-10-13	12:52:46	1790	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:46	1790	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:52:46	1790	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861282 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:46	1790	[DEBUG]	Store custom available field
2023-10-13	12:52:46	1790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861282,6,'All',3)
2023-10-13	12:52:46	1790	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:47	1790	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:47	1790	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861281
2023-10-13	12:52:47	1790	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:47	1790	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861281\":[1861281,8,1,\"choisir la taille\"],\"1861282\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861281
2023-10-13	12:52:47	1790	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:47	1790	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861282
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:47	1791	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field taille
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:47	1791	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:47	1791	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:47	1791	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:47	1791	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:47	1791	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:47	1791	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field published
2023-10-13	12:52:47	1791	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:47	1791	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field override
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:47	1791	[DEBUG]	Use field value for field slug
2023-10-13	12:52:47	1791	[DEBUG]	Process line 1791
2023-10-13	12:52:47	1791	[DEBUG]	Load a row
2023-10-13	12:52:47	1791	[DEBUG]	Processing item: A_5109_208
2023-10-13	12:52:47	1791	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:47	1791	[DEBUG]	Processing product tax
2023-10-13	12:52:47	1791	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:47	1791	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:47	1791	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:47	1791	[DEBUG]	Query for Product
2023-10-13	12:52:47	1791	[DEBUG]	Executed store
2023-10-13	12:52:47	1791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5109_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:47	1791	[DEBUG]	Check product language entry
2023-10-13	12:52:47	1791	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861283
2023-10-13	12:52:47	1791	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:47	1791	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5109_208' AND `virtuemart_product_id` != 1861283
2023-10-13	12:52:47	1791	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:47	1791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861283, 'A_5109_208')
2023-10-13	12:52:47	1791	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:47	1791	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-xt-rd-m8000-11-vit-sgs-shadow-top-nor-mont-direct-aucune' AND `virtuemart_product_id` != 1861283
2023-10-13	12:52:47	1791	[DEBUG]	Query for ProductLang
2023-10-13	12:52:47	1791	[DEBUG]	Executed store
2023-10-13	12:52:47	1791	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.63919',`product_name`='SHIMANO Dérailleur Deore XT RD-M8000 11-vit.SGS Shadow+ Top-Nor.mont.direct / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-xt-rd-m8000-11-vit-sgs-shadow-top-nor-mont-direct-aucune' WHERE `virtuemart_product_id` = '1861283'
2023-10-13	12:52:47	1791	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29571_shimano_derailleur_deore_xt_rd-m8000_11-vit_sgs_shadow+_top-nor_mont_direct.jpg
2023-10-13	12:52:47	1791	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:47	1791	[DEBUG]	Process image file
2023-10-13	12:52:47	1791	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:47	1791	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:47	1791	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29571_shimano_derailleur_deore_xt_rd-m8000_11-vit_sgs_shadow+_top-nor_mont_direct.jpg
2023-10-13	12:52:47	1791	[DEBUG]	Full name target: bcprisme/29571_shimano_derailleur_deore_xt_rd-m8000_11-vit_sgs_shadow+_top-nor_mont_direct.jpg
2023-10-13	12:52:47	1791	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:47	1791	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29571_shimano_derailleur_deore_xt_rd-m8000_11-vit_sgs_shadow+_top-nor_mont_direct.jpg'
2023-10-13	12:52:47	1791	[DEBUG]	Query for Media
2023-10-13	12:52:47	1791	[DEBUG]	Executed store
2023-10-13	12:52:47	1791	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29571_shimano_derailleur_deore_xt_rd-m8000_11-vit_sgs_shadow+_top-nor_mont_direct.jpg',`file_url_thumb`='bcprisme/29571_shimano_derailleur_deore_xt_rd-m8000_11-vit_sgs_shadow+_top-nor_mont_direct.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15847'
2023-10-13	12:52:47	1791	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:47	1791	[DEBUG]	Executed store
2023-10-13	12:52:47	1791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861283','15847','1')
2023-10-13	12:52:47	1791	[DEBUG]	Store product image relation
2023-10-13	12:52:47	1791	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:47	1791	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861283 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:47	1791	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:47	1791	[DEBUG]	Executed store
2023-10-13	12:52:47	1791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861283','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:47	1791	[DEBUG]	Checking manufacturer
2023-10-13	12:52:47	1791	[DEBUG]	Load a row
2023-10-13	12:52:47	1791	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:47	1791	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:47	1791	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:47	1791	[DEBUG]	Executed store
2023-10-13	12:52:47	1791	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:47	1791	[DEBUG]	Manufacturer exists
2023-10-13	12:52:47	1791	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:47	1791	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:47	1791	[DEBUG]	Executed store
2023-10-13	12:52:47	1791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861283','26')
2023-10-13	12:52:47	1791	[DEBUG]	Find the custom field ID
2023-10-13	12:52:47	1791	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:47	1791	[DEBUG]	No custom field ID found
2023-10-13	12:52:47	1791	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:47	1791	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:47	1791	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861283 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:47	1791	[DEBUG]	Store custom available field
2023-10-13	12:52:47	1791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861283,3,'0',1)
2023-10-13	12:52:47	1791	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:47	1791	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:47	1791	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861283 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:47	1791	[DEBUG]	Store custom available field
2023-10-13	12:52:47	1791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861283,6,'choisir la taille',3)
2023-10-13	12:52:47	1791	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:47	1791	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:47	1791	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:47	1791	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:47	1791	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861283 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:47	1791	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:47	1791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861283,8,1)
2023-10-13	12:52:47	1791	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:47	1791	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861283\":[1861283,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861283
2023-10-13	12:52:47	1791	[DEBUG]	Checking category
2023-10-13	12:52:47	1791	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:47	1791	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861283
2023-10-13	12:52:47	1791	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:47	1791	[DEBUG]	Executed store
2023-10-13	12:52:47	1791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861283','7312')
2023-10-13	12:52:47	1791	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:47	1791	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861283 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:52:47	1791	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:47	1791	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861283
2023-10-13	12:52:47	1792	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:47	1792	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:47	1792	[DEBUG]	Use field value for field taille
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:47	1792	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:47	1792	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:47	1792	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:47	1792	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:47	1792	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:47	1792	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:47	1792	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:47	1792	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:47	1792	[DEBUG]	Use field value for field published
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:47	1792	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field override
2023-10-13	12:52:47	1792	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:47	1792	[DEBUG]	Use field value for field slug
2023-10-13	12:52:48	1792	[DEBUG]	Process line 1792
2023-10-13	12:52:48	1792	[DEBUG]	Load a row
2023-10-13	12:52:48	1792	[DEBUG]	Processing item: 4524667920007
2023-10-13	12:52:48	1792	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:48	1792	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:48	1792	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5109_208'
2023-10-13	12:52:48	1792	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:48	1792	[DEBUG]	Processing product tax
2023-10-13	12:52:48	1792	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:48	1792	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:48	1792	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:48	1792	[DEBUG]	Query for Product
2023-10-13	12:52:48	1792	[DEBUG]	Executed store
2023-10-13	12:52:48	1792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861283','4524667920007','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:48	1792	[DEBUG]	No parent found
2023-10-13	12:52:48	1792	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861283 AND customfield_value = 'stockable'
2023-10-13	12:52:48	1792	[DEBUG]	Check product language entry
2023-10-13	12:52:48	1792	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861284
2023-10-13	12:52:48	1792	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:48	1792	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667920007' AND `virtuemart_product_id` != 1861284
2023-10-13	12:52:48	1792	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:48	1792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861284, '4524667920007')
2023-10-13	12:52:48	1792	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:48	1792	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-xt-rd-m8000-11-vit-sgs-shadow-top-nor-mont-direct-aucune-all' AND `virtuemart_product_id` != 1861284
2023-10-13	12:52:48	1792	[DEBUG]	Query for ProductLang
2023-10-13	12:52:48	1792	[DEBUG]	Executed store
2023-10-13	12:52:48	1792	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Deore XT RD-M8000 11-vit.SGS Shadow+ Top-Nor.mont.direct / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-xt-rd-m8000-11-vit-sgs-shadow-top-nor-mont-direct-aucune-all' WHERE `virtuemart_product_id` = '1861284'
2023-10-13	12:52:48	1792	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29571_shimano_derailleur_deore_xt_rd-m8000_11-vit_sgs_shadow+_top-nor_mont_direct.jpg
2023-10-13	12:52:48	1792	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:48	1792	[DEBUG]	Process image file
2023-10-13	12:52:48	1792	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:48	1792	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:48	1792	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29571_shimano_derailleur_deore_xt_rd-m8000_11-vit_sgs_shadow+_top-nor_mont_direct.jpg
2023-10-13	12:52:48	1792	[DEBUG]	Full name target: bcprisme/29571_shimano_derailleur_deore_xt_rd-m8000_11-vit_sgs_shadow+_top-nor_mont_direct.jpg
2023-10-13	12:52:48	1792	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:48	1792	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29571_shimano_derailleur_deore_xt_rd-m8000_11-vit_sgs_shadow+_top-nor_mont_direct.jpg'
2023-10-13	12:52:48	1792	[DEBUG]	Query for Media
2023-10-13	12:52:48	1792	[DEBUG]	Executed store
2023-10-13	12:52:48	1792	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29571_shimano_derailleur_deore_xt_rd-m8000_11-vit_sgs_shadow+_top-nor_mont_direct.jpg',`file_url_thumb`='bcprisme/29571_shimano_derailleur_deore_xt_rd-m8000_11-vit_sgs_shadow+_top-nor_mont_direct.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15847'
2023-10-13	12:52:48	1792	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:48	1792	[DEBUG]	Executed store
2023-10-13	12:52:48	1792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861284','15847','1')
2023-10-13	12:52:48	1792	[DEBUG]	Store product image relation
2023-10-13	12:52:48	1792	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:48	1792	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861284 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:48	1792	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:48	1792	[DEBUG]	Executed store
2023-10-13	12:52:48	1792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861284','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:48	1792	[DEBUG]	Checking manufacturer
2023-10-13	12:52:48	1792	[DEBUG]	Load a row
2023-10-13	12:52:48	1792	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:48	1792	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:48	1792	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:48	1792	[DEBUG]	Executed store
2023-10-13	12:52:48	1792	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:48	1792	[DEBUG]	Manufacturer exists
2023-10-13	12:52:48	1792	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:48	1792	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:48	1792	[DEBUG]	Executed store
2023-10-13	12:52:48	1792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861284','26')
2023-10-13	12:52:48	1792	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:48	1792	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:48	1792	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861284 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:48	1792	[DEBUG]	Store custom available field
2023-10-13	12:52:48	1792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861284,3,'',1)
2023-10-13	12:52:48	1792	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:48	1792	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:52:48	1792	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861284 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:48	1792	[DEBUG]	Store custom available field
2023-10-13	12:52:48	1792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861284,6,'All',3)
2023-10-13	12:52:48	1792	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:48	1792	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:48	1792	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861283
2023-10-13	12:52:48	1792	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:48	1792	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861283\":[1861283,8,1,\"choisir la taille\"],\"1861284\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861283
2023-10-13	12:52:48	1792	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:48	1792	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861284
2023-10-13	12:52:48	1793	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:48	1793	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:48	1793	[DEBUG]	Use field value for field taille
2023-10-13	12:52:48	1793	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:48	1793	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:48	1793	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:48	1793	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:48	1793	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:48	1793	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:48	1793	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:48	1793	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:48	1793	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:49	1793	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:49	1793	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:49	1793	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:49	1793	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:49	1793	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:49	1793	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:49	1793	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:49	1793	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:49	1793	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:49	1793	[DEBUG]	Use field value for field published
2023-10-13	12:52:49	1793	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:49	1793	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:49	1793	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:49	1793	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:49	1793	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:49	1793	[DEBUG]	Use field value for field override
2023-10-13	12:52:49	1793	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:49	1793	[DEBUG]	Use field value for field slug
2023-10-13	12:52:49	1793	[DEBUG]	Process line 1793
2023-10-13	12:52:49	1793	[DEBUG]	Load a row
2023-10-13	12:52:49	1793	[DEBUG]	Processing item: A_5110_208
2023-10-13	12:52:49	1793	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:49	1793	[DEBUG]	Processing product tax
2023-10-13	12:52:49	1793	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:49	1793	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:49	1793	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:49	1793	[DEBUG]	Query for Product
2023-10-13	12:52:49	1793	[DEBUG]	Executed store
2023-10-13	12:52:49	1793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5110_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:49	1793	[DEBUG]	Check product language entry
2023-10-13	12:52:49	1793	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861285
2023-10-13	12:52:49	1793	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:49	1793	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5110_208' AND `virtuemart_product_id` != 1861285
2023-10-13	12:52:49	1793	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:49	1793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861285, 'A_5110_208')
2023-10-13	12:52:49	1793	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:49	1793	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-xt-rd-m786-10-vit-sgs-shadow-top-nor-mont-dir-noir-aucune' AND `virtuemart_product_id` != 1861285
2023-10-13	12:52:49	1793	[DEBUG]	Query for ProductLang
2023-10-13	12:52:49	1793	[DEBUG]	Executed store
2023-10-13	12:52:49	1793	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.54698',`product_name`='SHIMANO Dérailleur Deore XT RD-M786 10-vit.SGS Shadow+ Top-Nor.mont.dir.noir / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-xt-rd-m786-10-vit-sgs-shadow-top-nor-mont-dir-noir-aucune' WHERE `virtuemart_product_id` = '1861285'
2023-10-13	12:52:49	1793	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29572_shimano_derailleur_deore_xt_rd-m786_10-vit_sgs_shadow+_top-nor_mont_dir_noir.jpg
2023-10-13	12:52:49	1793	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:49	1793	[DEBUG]	Process image file
2023-10-13	12:52:49	1793	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:49	1793	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:49	1793	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29572_shimano_derailleur_deore_xt_rd-m786_10-vit_sgs_shadow+_top-nor_mont_dir_noir.jpg
2023-10-13	12:52:49	1793	[DEBUG]	Full name target: bcprisme/29572_shimano_derailleur_deore_xt_rd-m786_10-vit_sgs_shadow+_top-nor_mont_dir_noir.jpg
2023-10-13	12:52:49	1793	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:49	1793	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29572_shimano_derailleur_deore_xt_rd-m786_10-vit_sgs_shadow+_top-nor_mont_dir_noir.jpg'
2023-10-13	12:52:49	1793	[DEBUG]	Query for Media
2023-10-13	12:52:49	1793	[DEBUG]	Executed store
2023-10-13	12:52:49	1793	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29572_shimano_derailleur_deore_xt_rd-m786_10-vit_sgs_shadow+_top-nor_mont_dir_noir.jpg',`file_url_thumb`='bcprisme/29572_shimano_derailleur_deore_xt_rd-m786_10-vit_sgs_shadow+_top-nor_mont_dir_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15848'
2023-10-13	12:52:49	1793	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:49	1793	[DEBUG]	Executed store
2023-10-13	12:52:49	1793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861285','15848','1')
2023-10-13	12:52:49	1793	[DEBUG]	Store product image relation
2023-10-13	12:52:49	1793	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:49	1793	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861285 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:49	1793	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:50	1793	[DEBUG]	Executed store
2023-10-13	12:52:50	1793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861285','0','113.184772516249','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:50	1793	[DEBUG]	Checking manufacturer
2023-10-13	12:52:50	1793	[DEBUG]	Load a row
2023-10-13	12:52:50	1793	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:50	1793	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:50	1793	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:50	1793	[DEBUG]	Executed store
2023-10-13	12:52:50	1793	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:50	1793	[DEBUG]	Manufacturer exists
2023-10-13	12:52:50	1793	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:50	1793	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:50	1793	[DEBUG]	Executed store
2023-10-13	12:52:50	1793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861285','26')
2023-10-13	12:52:50	1793	[DEBUG]	Find the custom field ID
2023-10-13	12:52:50	1793	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:50	1793	[DEBUG]	No custom field ID found
2023-10-13	12:52:50	1793	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:50	1793	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:50	1793	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861285 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:50	1793	[DEBUG]	Store custom available field
2023-10-13	12:52:50	1793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861285,3,'0',1)
2023-10-13	12:52:50	1793	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:50	1793	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:50	1793	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861285 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:50	1793	[DEBUG]	Store custom available field
2023-10-13	12:52:50	1793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861285,6,'choisir la taille',3)
2023-10-13	12:52:50	1793	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:50	1793	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:50	1793	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:50	1793	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:50	1793	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861285 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:50	1793	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:50	1793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861285,8,1)
2023-10-13	12:52:50	1793	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:50	1793	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861285\":[1861285,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861285
2023-10-13	12:52:50	1793	[DEBUG]	Checking category
2023-10-13	12:52:50	1793	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:50	1793	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861285
2023-10-13	12:52:50	1793	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:50	1793	[DEBUG]	Executed store
2023-10-13	12:52:50	1793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861285','7312')
2023-10-13	12:52:50	1793	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:50	1793	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861285 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:52:50	1793	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:50	1793	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861285
2023-10-13	12:52:50	1794	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:50	1794	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:50	1794	[DEBUG]	Use field value for field taille
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:50	1794	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:50	1794	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:50	1794	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:50	1794	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:50	1794	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:50	1794	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:50	1794	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:50	1794	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:50	1794	[DEBUG]	Use field value for field published
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:50	1794	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field override
2023-10-13	12:52:50	1794	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:50	1794	[DEBUG]	Use field value for field slug
2023-10-13	12:52:50	1794	[DEBUG]	Process line 1794
2023-10-13	12:52:50	1794	[DEBUG]	Load a row
2023-10-13	12:52:50	1794	[DEBUG]	Processing item: 4524667299295
2023-10-13	12:52:50	1794	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:50	1794	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:50	1794	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5110_208'
2023-10-13	12:52:50	1794	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:50	1794	[DEBUG]	Processing product tax
2023-10-13	12:52:50	1794	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:50	1794	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:50	1794	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:50	1794	[DEBUG]	Query for Product
2023-10-13	12:52:50	1794	[DEBUG]	Executed store
2023-10-13	12:52:50	1794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861285','4524667299295','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:50	1794	[DEBUG]	No parent found
2023-10-13	12:52:50	1794	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861285 AND customfield_value = 'stockable'
2023-10-13	12:52:50	1794	[DEBUG]	Check product language entry
2023-10-13	12:52:50	1794	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861286
2023-10-13	12:52:50	1794	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:50	1794	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667299295' AND `virtuemart_product_id` != 1861286
2023-10-13	12:52:50	1794	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:50	1794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861286, '4524667299295')
2023-10-13	12:52:50	1794	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:50	1794	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-xt-rd-m786-10-vit-sgs-shadow-top-nor-mont-dir-noir-aucune-all' AND `virtuemart_product_id` != 1861286
2023-10-13	12:52:50	1794	[DEBUG]	Query for ProductLang
2023-10-13	12:52:50	1794	[DEBUG]	Executed store
2023-10-13	12:52:50	1794	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Deore XT RD-M786 10-vit.SGS Shadow+ Top-Nor.mont.dir.noir / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-xt-rd-m786-10-vit-sgs-shadow-top-nor-mont-dir-noir-aucune-all' WHERE `virtuemart_product_id` = '1861286'
2023-10-13	12:52:50	1794	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29572_shimano_derailleur_deore_xt_rd-m786_10-vit_sgs_shadow+_top-nor_mont_dir_noir.jpg
2023-10-13	12:52:50	1794	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:50	1794	[DEBUG]	Process image file
2023-10-13	12:52:50	1794	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:50	1794	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:50	1794	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29572_shimano_derailleur_deore_xt_rd-m786_10-vit_sgs_shadow+_top-nor_mont_dir_noir.jpg
2023-10-13	12:52:50	1794	[DEBUG]	Full name target: bcprisme/29572_shimano_derailleur_deore_xt_rd-m786_10-vit_sgs_shadow+_top-nor_mont_dir_noir.jpg
2023-10-13	12:52:51	1794	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:51	1794	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29572_shimano_derailleur_deore_xt_rd-m786_10-vit_sgs_shadow+_top-nor_mont_dir_noir.jpg'
2023-10-13	12:52:51	1794	[DEBUG]	Query for Media
2023-10-13	12:52:51	1794	[DEBUG]	Executed store
2023-10-13	12:52:51	1794	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29572_shimano_derailleur_deore_xt_rd-m786_10-vit_sgs_shadow+_top-nor_mont_dir_noir.jpg',`file_url_thumb`='bcprisme/29572_shimano_derailleur_deore_xt_rd-m786_10-vit_sgs_shadow+_top-nor_mont_dir_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15848'
2023-10-13	12:52:51	1794	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:51	1794	[DEBUG]	Executed store
2023-10-13	12:52:51	1794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861286','15848','1')
2023-10-13	12:52:51	1794	[DEBUG]	Store product image relation
2023-10-13	12:52:51	1794	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:51	1794	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861286 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:51	1794	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:51	1794	[DEBUG]	Executed store
2023-10-13	12:52:51	1794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861286','0','113.184772516249','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:51	1794	[DEBUG]	Checking manufacturer
2023-10-13	12:52:51	1794	[DEBUG]	Load a row
2023-10-13	12:52:51	1794	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:51	1794	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:51	1794	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:51	1794	[DEBUG]	Executed store
2023-10-13	12:52:51	1794	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:51	1794	[DEBUG]	Manufacturer exists
2023-10-13	12:52:51	1794	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:51	1794	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:51	1794	[DEBUG]	Executed store
2023-10-13	12:52:51	1794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861286','26')
2023-10-13	12:52:51	1794	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:51	1794	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:51	1794	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861286 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:51	1794	[DEBUG]	Store custom available field
2023-10-13	12:52:51	1794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861286,3,'',1)
2023-10-13	12:52:51	1794	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:51	1794	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:52:51	1794	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861286 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:51	1794	[DEBUG]	Store custom available field
2023-10-13	12:52:51	1794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861286,6,'All',3)
2023-10-13	12:52:51	1794	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:51	1794	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:51	1794	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861285
2023-10-13	12:52:51	1794	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:51	1794	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861285\":[1861285,8,1,\"choisir la taille\"],\"1861286\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861285
2023-10-13	12:52:51	1794	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:51	1794	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861286
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:51	1795	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field taille
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:51	1795	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:51	1795	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:51	1795	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:51	1795	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:51	1795	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:51	1795	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field published
2023-10-13	12:52:51	1795	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:51	1795	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field override
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:51	1795	[DEBUG]	Use field value for field slug
2023-10-13	12:52:51	1795	[DEBUG]	Process line 1795
2023-10-13	12:52:51	1795	[DEBUG]	Load a row
2023-10-13	12:52:51	1795	[DEBUG]	Processing item: A_5126_3
2023-10-13	12:52:51	1795	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:51	1795	[DEBUG]	Processing product tax
2023-10-13	12:52:51	1795	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:51	1795	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:51	1795	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:51	1795	[DEBUG]	Query for Product
2023-10-13	12:52:51	1795	[DEBUG]	Executed store
2023-10-13	12:52:51	1795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5126_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:51	1795	[DEBUG]	Check product language entry
2023-10-13	12:52:51	1795	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861287
2023-10-13	12:52:51	1795	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:51	1795	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5126_3' AND `virtuemart_product_id` != 1861287
2023-10-13	12:52:51	1795	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:51	1795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861287, 'A_5126_3')
2023-10-13	12:52:51	1795	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:51	1795	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-arriere-slx-re-m70000-10-sgs-none' AND `virtuemart_product_id` != 1861287
2023-10-13	12:52:51	1795	[DEBUG]	Query for ProductLang
2023-10-13	12:52:51	1795	[DEBUG]	Executed store
2023-10-13	12:52:51	1795	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.66386',`product_name`='SHIMANO Dérailleur arrière SLX RE-M70000-10-SGS / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-arriere-slx-re-m70000-10-sgs-none' WHERE `virtuemart_product_id` = '1861287'
2023-10-13	12:52:51	1795	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29588_derailleur_arriere_slx_re-m70000-10-sgs.jpg
2023-10-13	12:52:51	1795	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:51	1795	[DEBUG]	Process image file
2023-10-13	12:52:51	1795	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:51	1795	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:51	1795	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29588_derailleur_arriere_slx_re-m70000-10-sgs.jpg
2023-10-13	12:52:51	1795	[DEBUG]	Full name target: bcprisme/29588_derailleur_arriere_slx_re-m70000-10-sgs.jpg
2023-10-13	12:52:52	1795	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:52	1795	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29588_derailleur_arriere_slx_re-m70000-10-sgs.jpg'
2023-10-13	12:52:52	1795	[DEBUG]	Query for Media
2023-10-13	12:52:52	1795	[DEBUG]	Executed store
2023-10-13	12:52:52	1795	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29588_derailleur_arriere_slx_re-m70000-10-sgs.jpg',`file_url_thumb`='bcprisme/29588_derailleur_arriere_slx_re-m70000-10-sgs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15849'
2023-10-13	12:52:52	1795	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:52	1795	[DEBUG]	Executed store
2023-10-13	12:52:52	1795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861287','15849','1')
2023-10-13	12:52:52	1795	[DEBUG]	Store product image relation
2023-10-13	12:52:52	1795	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:52	1795	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861287 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:52	1795	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:52	1795	[DEBUG]	Executed store
2023-10-13	12:52:52	1795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861287','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:52	1795	[DEBUG]	Checking manufacturer
2023-10-13	12:52:52	1795	[DEBUG]	Load a row
2023-10-13	12:52:52	1795	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:52	1795	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:52	1795	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:52	1795	[DEBUG]	Executed store
2023-10-13	12:52:52	1795	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:52	1795	[DEBUG]	Manufacturer exists
2023-10-13	12:52:52	1795	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:52	1795	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:52	1795	[DEBUG]	Executed store
2023-10-13	12:52:52	1795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861287','26')
2023-10-13	12:52:52	1795	[DEBUG]	Find the custom field ID
2023-10-13	12:52:52	1795	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:52	1795	[DEBUG]	No custom field ID found
2023-10-13	12:52:52	1795	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:52	1795	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:52	1795	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861287 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:52	1795	[DEBUG]	Store custom available field
2023-10-13	12:52:52	1795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861287,3,'0',1)
2023-10-13	12:52:52	1795	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:52	1795	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:52	1795	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861287 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:52	1795	[DEBUG]	Store custom available field
2023-10-13	12:52:52	1795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861287,6,'choisir la taille',3)
2023-10-13	12:52:52	1795	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:52	1795	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:52	1795	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:52	1795	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:52	1795	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861287 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:52	1795	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:52	1795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861287,8,1)
2023-10-13	12:52:52	1795	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:52	1795	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861287\":[1861287,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861287
2023-10-13	12:52:52	1795	[DEBUG]	Checking category
2023-10-13	12:52:52	1795	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:52	1795	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861287
2023-10-13	12:52:52	1795	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:52	1795	[DEBUG]	Executed store
2023-10-13	12:52:52	1795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861287','7312')
2023-10-13	12:52:52	1795	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:52	1795	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861287 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:52:52	1795	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:52	1795	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861287
2023-10-13	12:52:52	1796	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:52	1796	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:52	1796	[DEBUG]	Use field value for field taille
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:52	1796	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:52	1796	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:52	1796	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:52	1796	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:52	1796	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:52	1796	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:52	1796	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:52	1796	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:52	1796	[DEBUG]	Use field value for field published
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:52	1796	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field override
2023-10-13	12:52:52	1796	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:52	1796	[DEBUG]	Use field value for field slug
2023-10-13	12:52:52	1796	[DEBUG]	Process line 1796
2023-10-13	12:52:52	1796	[DEBUG]	Load a row
2023-10-13	12:52:52	1796	[DEBUG]	Processing item: 689228847552
2023-10-13	12:52:52	1796	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:52	1796	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:52	1796	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5126_3'
2023-10-13	12:52:52	1796	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:52	1796	[DEBUG]	Processing product tax
2023-10-13	12:52:52	1796	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:52	1796	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:52	1796	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:52	1796	[DEBUG]	Query for Product
2023-10-13	12:52:52	1796	[DEBUG]	Executed store
2023-10-13	12:52:52	1796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861287','689228847552','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:52	1796	[DEBUG]	No parent found
2023-10-13	12:52:52	1796	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861287 AND customfield_value = 'stockable'
2023-10-13	12:52:52	1796	[DEBUG]	Check product language entry
2023-10-13	12:52:52	1796	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861288
2023-10-13	12:52:52	1796	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:52	1796	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '689228847552' AND `virtuemart_product_id` != 1861288
2023-10-13	12:52:52	1796	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:52	1796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861288, '689228847552')
2023-10-13	12:52:52	1796	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:52	1796	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-arriere-slx-re-m70000-10-sgs-none-unitaire' AND `virtuemart_product_id` != 1861288
2023-10-13	12:52:52	1796	[DEBUG]	Query for ProductLang
2023-10-13	12:52:52	1796	[DEBUG]	Executed store
2023-10-13	12:52:52	1796	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur arrière SLX RE-M70000-10-SGS / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-arriere-slx-re-m70000-10-sgs-none-unitaire' WHERE `virtuemart_product_id` = '1861288'
2023-10-13	12:52:52	1796	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29588_derailleur_arriere_slx_re-m70000-10-sgs.jpg
2023-10-13	12:52:52	1796	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:52	1796	[DEBUG]	Process image file
2023-10-13	12:52:52	1796	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:52	1796	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:52	1796	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29588_derailleur_arriere_slx_re-m70000-10-sgs.jpg
2023-10-13	12:52:52	1796	[DEBUG]	Full name target: bcprisme/29588_derailleur_arriere_slx_re-m70000-10-sgs.jpg
2023-10-13	12:52:53	1796	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:53	1796	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29588_derailleur_arriere_slx_re-m70000-10-sgs.jpg'
2023-10-13	12:52:53	1796	[DEBUG]	Query for Media
2023-10-13	12:52:53	1796	[DEBUG]	Executed store
2023-10-13	12:52:53	1796	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29588_derailleur_arriere_slx_re-m70000-10-sgs.jpg',`file_url_thumb`='bcprisme/29588_derailleur_arriere_slx_re-m70000-10-sgs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15849'
2023-10-13	12:52:53	1796	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:53	1796	[DEBUG]	Executed store
2023-10-13	12:52:53	1796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861288','15849','1')
2023-10-13	12:52:53	1796	[DEBUG]	Store product image relation
2023-10-13	12:52:53	1796	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:53	1796	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861288 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:53	1796	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:53	1796	[DEBUG]	Executed store
2023-10-13	12:52:53	1796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861288','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:53	1796	[DEBUG]	Checking manufacturer
2023-10-13	12:52:53	1796	[DEBUG]	Load a row
2023-10-13	12:52:53	1796	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:53	1796	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:53	1796	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:53	1796	[DEBUG]	Executed store
2023-10-13	12:52:53	1796	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:53	1796	[DEBUG]	Manufacturer exists
2023-10-13	12:52:53	1796	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:53	1796	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:53	1796	[DEBUG]	Executed store
2023-10-13	12:52:53	1796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861288','26')
2023-10-13	12:52:53	1796	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:53	1796	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:53	1796	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861288 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:53	1796	[DEBUG]	Store custom available field
2023-10-13	12:52:53	1796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861288,3,'',1)
2023-10-13	12:52:53	1796	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:53	1796	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:52:53	1796	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861288 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:53	1796	[DEBUG]	Store custom available field
2023-10-13	12:52:53	1796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861288,6,'Unitaire',3)
2023-10-13	12:52:53	1796	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:53	1796	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:53	1796	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861287
2023-10-13	12:52:53	1796	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:53	1796	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861287\":[1861287,8,1,\"choisir la taille\"],\"1861288\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861287
2023-10-13	12:52:53	1796	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:53	1796	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861288
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:53	1797	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field taille
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:53	1797	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:53	1797	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:53	1797	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:53	1797	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:53	1797	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:53	1797	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field published
2023-10-13	12:52:53	1797	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:53	1797	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field override
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:53	1797	[DEBUG]	Use field value for field slug
2023-10-13	12:52:53	1797	[DEBUG]	Process line 1797
2023-10-13	12:52:53	1797	[DEBUG]	Load a row
2023-10-13	12:52:53	1797	[DEBUG]	Processing item: A_5138_208
2023-10-13	12:52:53	1797	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:53	1797	[DEBUG]	Processing product tax
2023-10-13	12:52:53	1797	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:53	1797	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:53	1797	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:53	1797	[DEBUG]	Query for Product
2023-10-13	12:52:53	1797	[DEBUG]	Executed store
2023-10-13	12:52:53	1797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5138_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:53	1797	[DEBUG]	Check product language entry
2023-10-13	12:52:53	1797	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861289
2023-10-13	12:52:53	1797	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:53	1797	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5138_208' AND `virtuemart_product_id` != 1861289
2023-10-13	12:52:53	1797	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:53	1797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861289, 'A_5138_208')
2023-10-13	12:52:53	1797	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:53	1797	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-slx-fd-m7020-si-sw-fr-pu-hc-66-69-28-6-31-8-34-9-box-aucune' AND `virtuemart_product_id` != 1861289
2023-10-13	12:52:53	1797	[DEBUG]	Query for ProductLang
2023-10-13	12:52:53	1797	[DEBUG]	Executed store
2023-10-13	12:52:53	1797	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.66372',`product_name`='SHIMANO Dérailleur avant SLX FD-M7020 Si-Sw Fr-Pu HC 66-69° 28.6/31.8/34.9 box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-slx-fd-m7020-si-sw-fr-pu-hc-66-69-28-6-31-8-34-9-box-aucune' WHERE `virtuemart_product_id` = '1861289'
2023-10-13	12:52:53	1797	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29599_shimano_derailleur_avant_slx_fd-m7020_si-sw_fr-pu_hc_66-69__28_6-31_8-34_9_box.jpg
2023-10-13	12:52:53	1797	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:53	1797	[DEBUG]	Process image file
2023-10-13	12:52:53	1797	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:53	1797	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:53	1797	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29599_shimano_derailleur_avant_slx_fd-m7020_si-sw_fr-pu_hc_66-69__28_6-31_8-34_9_box.jpg
2023-10-13	12:52:53	1797	[DEBUG]	Full name target: bcprisme/29599_shimano_derailleur_avant_slx_fd-m7020_si-sw_fr-pu_hc_66-69__28_6-31_8-34_9_box.jpg
2023-10-13	12:52:54	1797	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:54	1797	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29599_shimano_derailleur_avant_slx_fd-m7020_si-sw_fr-pu_hc_66-69__28_6-31_8-34_9_box.jpg'
2023-10-13	12:52:54	1797	[DEBUG]	Query for Media
2023-10-13	12:52:54	1797	[DEBUG]	Executed store
2023-10-13	12:52:54	1797	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29599_shimano_derailleur_avant_slx_fd-m7020_si-sw_fr-pu_hc_66-69__28_6-31_8-34_9_box.jpg',`file_url_thumb`='bcprisme/29599_shimano_derailleur_avant_slx_fd-m7020_si-sw_fr-pu_hc_66-69__28_6-31_8-34_9_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15850'
2023-10-13	12:52:54	1797	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:54	1797	[DEBUG]	Executed store
2023-10-13	12:52:54	1797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861289','15850','1')
2023-10-13	12:52:54	1797	[DEBUG]	Store product image relation
2023-10-13	12:52:54	1797	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:54	1797	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861289 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:54	1797	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:54	1797	[DEBUG]	Executed store
2023-10-13	12:52:54	1797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861289','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:54	1797	[DEBUG]	Checking manufacturer
2023-10-13	12:52:54	1797	[DEBUG]	Load a row
2023-10-13	12:52:54	1797	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:54	1797	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:54	1797	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:54	1797	[DEBUG]	Executed store
2023-10-13	12:52:54	1797	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:54	1797	[DEBUG]	Manufacturer exists
2023-10-13	12:52:54	1797	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:54	1797	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:54	1797	[DEBUG]	Executed store
2023-10-13	12:52:54	1797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861289','26')
2023-10-13	12:52:54	1797	[DEBUG]	Find the custom field ID
2023-10-13	12:52:54	1797	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:54	1797	[DEBUG]	No custom field ID found
2023-10-13	12:52:54	1797	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:54	1797	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:54	1797	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861289 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:54	1797	[DEBUG]	Store custom available field
2023-10-13	12:52:54	1797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861289,3,'0',1)
2023-10-13	12:52:54	1797	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:54	1797	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:54	1797	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861289 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:54	1797	[DEBUG]	Store custom available field
2023-10-13	12:52:54	1797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861289,6,'choisir la taille',3)
2023-10-13	12:52:54	1797	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:54	1797	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:54	1797	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:54	1797	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:54	1797	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861289 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:54	1797	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:54	1797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861289,8,1)
2023-10-13	12:52:54	1797	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:54	1797	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861289\":[1861289,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861289
2023-10-13	12:52:54	1797	[DEBUG]	Checking category
2023-10-13	12:52:54	1797	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:54	1797	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861289
2023-10-13	12:52:54	1797	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:54	1797	[DEBUG]	Executed store
2023-10-13	12:52:54	1797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861289','7312')
2023-10-13	12:52:54	1797	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:54	1797	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861289 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:52:54	1797	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:54	1797	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861289
2023-10-13	12:52:54	1798	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:54	1798	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:54	1798	[DEBUG]	Use field value for field taille
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:54	1798	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:54	1798	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:54	1798	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:54	1798	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:54	1798	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:54	1798	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:54	1798	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:54	1798	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:54	1798	[DEBUG]	Use field value for field published
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:54	1798	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field override
2023-10-13	12:52:54	1798	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:54	1798	[DEBUG]	Use field value for field slug
2023-10-13	12:52:54	1798	[DEBUG]	Process line 1798
2023-10-13	12:52:54	1798	[DEBUG]	Load a row
2023-10-13	12:52:54	1798	[DEBUG]	Processing item: 4524667416425
2023-10-13	12:52:54	1798	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:54	1798	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:54	1798	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5138_208'
2023-10-13	12:52:54	1798	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:54	1798	[DEBUG]	Processing product tax
2023-10-13	12:52:54	1798	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:54	1798	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:54	1798	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:54	1798	[DEBUG]	Query for Product
2023-10-13	12:52:54	1798	[DEBUG]	Executed store
2023-10-13	12:52:54	1798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861289','4524667416425','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:54	1798	[DEBUG]	No parent found
2023-10-13	12:52:54	1798	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861289 AND customfield_value = 'stockable'
2023-10-13	12:52:54	1798	[DEBUG]	Check product language entry
2023-10-13	12:52:54	1798	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861290
2023-10-13	12:52:54	1798	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:54	1798	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667416425' AND `virtuemart_product_id` != 1861290
2023-10-13	12:52:54	1798	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:54	1798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861290, '4524667416425')
2023-10-13	12:52:54	1798	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:54	1798	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-slx-fd-m7020-si-sw-fr-pu-hc-66-69-28-6-31-8-34-9-box-aucune-all' AND `virtuemart_product_id` != 1861290
2023-10-13	12:52:54	1798	[DEBUG]	Query for ProductLang
2023-10-13	12:52:54	1798	[DEBUG]	Executed store
2023-10-13	12:52:54	1798	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant SLX FD-M7020 Si-Sw Fr-Pu HC 66-69° 28.6/31.8/34.9 box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-slx-fd-m7020-si-sw-fr-pu-hc-66-69-28-6-31-8-34-9-box-aucune-all' WHERE `virtuemart_product_id` = '1861290'
2023-10-13	12:52:54	1798	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29599_shimano_derailleur_avant_slx_fd-m7020_si-sw_fr-pu_hc_66-69__28_6-31_8-34_9_box.jpg
2023-10-13	12:52:54	1798	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:54	1798	[DEBUG]	Process image file
2023-10-13	12:52:54	1798	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:54	1798	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:54	1798	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29599_shimano_derailleur_avant_slx_fd-m7020_si-sw_fr-pu_hc_66-69__28_6-31_8-34_9_box.jpg
2023-10-13	12:52:54	1798	[DEBUG]	Full name target: bcprisme/29599_shimano_derailleur_avant_slx_fd-m7020_si-sw_fr-pu_hc_66-69__28_6-31_8-34_9_box.jpg
2023-10-13	12:52:55	1798	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:55	1798	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29599_shimano_derailleur_avant_slx_fd-m7020_si-sw_fr-pu_hc_66-69__28_6-31_8-34_9_box.jpg'
2023-10-13	12:52:55	1798	[DEBUG]	Query for Media
2023-10-13	12:52:55	1798	[DEBUG]	Executed store
2023-10-13	12:52:55	1798	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29599_shimano_derailleur_avant_slx_fd-m7020_si-sw_fr-pu_hc_66-69__28_6-31_8-34_9_box.jpg',`file_url_thumb`='bcprisme/29599_shimano_derailleur_avant_slx_fd-m7020_si-sw_fr-pu_hc_66-69__28_6-31_8-34_9_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15850'
2023-10-13	12:52:55	1798	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:55	1798	[DEBUG]	Executed store
2023-10-13	12:52:55	1798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861290','15850','1')
2023-10-13	12:52:55	1798	[DEBUG]	Store product image relation
2023-10-13	12:52:55	1798	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:55	1798	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861290 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:55	1798	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:55	1798	[DEBUG]	Executed store
2023-10-13	12:52:55	1798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861290','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:55	1798	[DEBUG]	Checking manufacturer
2023-10-13	12:52:55	1798	[DEBUG]	Load a row
2023-10-13	12:52:55	1798	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:55	1798	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:55	1798	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:55	1798	[DEBUG]	Executed store
2023-10-13	12:52:55	1798	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:52:55	1798	[DEBUG]	Manufacturer exists
2023-10-13	12:52:55	1798	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:52:55	1798	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:55	1798	[DEBUG]	Executed store
2023-10-13	12:52:55	1798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861290','26')
2023-10-13	12:52:55	1798	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:55	1798	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:55	1798	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861290 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:55	1798	[DEBUG]	Store custom available field
2023-10-13	12:52:55	1798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861290,3,'',1)
2023-10-13	12:52:55	1798	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:55	1798	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:52:55	1798	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861290 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:55	1798	[DEBUG]	Store custom available field
2023-10-13	12:52:55	1798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861290,6,'All',3)
2023-10-13	12:52:55	1798	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:55	1798	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:55	1798	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861289
2023-10-13	12:52:55	1798	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:55	1798	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861289\":[1861289,8,1,\"choisir la taille\"],\"1861290\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861289
2023-10-13	12:52:55	1798	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:55	1798	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861290
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:55	1799	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field taille
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field category_path
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:55	1799	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:52:55	1799	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:55	1799	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field product_weight
2023-10-13	12:52:55	1799	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:55	1799	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:55	1799	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field published
2023-10-13	12:52:55	1799	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:55	1799	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field custom_title
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field custom_param
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field override
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field public_price
2023-10-13	12:52:55	1799	[DEBUG]	Use field value for field slug
2023-10-13	12:52:55	1799	[DEBUG]	Process line 1799
2023-10-13	12:52:55	1799	[DEBUG]	Load a row
2023-10-13	12:52:55	1799	[DEBUG]	Processing item: A_5155_4
2023-10-13	12:52:55	1799	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:55	1799	[DEBUG]	Processing product tax
2023-10-13	12:52:55	1799	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:55	1799	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:55	1799	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:55	1799	[DEBUG]	Query for Product
2023-10-13	12:52:55	1799	[DEBUG]	Executed store
2023-10-13	12:52:55	1799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5155_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:55	1799	[DEBUG]	Check product language entry
2023-10-13	12:52:55	1799	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861291
2023-10-13	12:52:55	1799	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:55	1799	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5155_4' AND `virtuemart_product_id` != 1861291
2023-10-13	12:52:55	1799	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:55	1799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861291, 'A_5155_4')
2023-10-13	12:52:55	1799	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:55	1799	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-avant-sram-gx-2x11-bottom-pull-high-acier' AND `virtuemart_product_id` != 1861291
2023-10-13	12:52:55	1799	[DEBUG]	Query for ProductLang
2023-10-13	12:52:55	1799	[DEBUG]	Executed store
2023-10-13	12:52:55	1799	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D750K',`product_name`='SRAM Dérailleur avant SRAM GX 2x11 Bottom Pull High / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-avant-sram-gx-2x11-bottom-pull-high-acier' WHERE `virtuemart_product_id` = '1861291'
2023-10-13	12:52:55	1799	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29620_derailleur_avant_sram_gx_2x11_bottom_pull_high.jpg
2023-10-13	12:52:55	1799	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:55	1799	[DEBUG]	Process image file
2023-10-13	12:52:55	1799	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:55	1799	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:55	1799	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29620_derailleur_avant_sram_gx_2x11_bottom_pull_high.jpg
2023-10-13	12:52:55	1799	[DEBUG]	Full name target: bcprisme/29620_derailleur_avant_sram_gx_2x11_bottom_pull_high.jpg
2023-10-13	12:52:56	1799	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:56	1799	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29620_derailleur_avant_sram_gx_2x11_bottom_pull_high.jpg'
2023-10-13	12:52:56	1799	[DEBUG]	Query for Media
2023-10-13	12:52:56	1799	[DEBUG]	Executed store
2023-10-13	12:52:56	1799	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29620_derailleur_avant_sram_gx_2x11_bottom_pull_high.jpg',`file_url_thumb`='bcprisme/29620_derailleur_avant_sram_gx_2x11_bottom_pull_high.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15851'
2023-10-13	12:52:56	1799	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:56	1799	[DEBUG]	Executed store
2023-10-13	12:52:56	1799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861291','15851','1')
2023-10-13	12:52:56	1799	[DEBUG]	Store product image relation
2023-10-13	12:52:56	1799	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:56	1799	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861291 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:56	1799	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:56	1799	[DEBUG]	Executed store
2023-10-13	12:52:56	1799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861291','0','44.1039925719591','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:56	1799	[DEBUG]	Checking manufacturer
2023-10-13	12:52:56	1799	[DEBUG]	Load a row
2023-10-13	12:52:56	1799	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:56	1799	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:52:56	1799	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:56	1799	[DEBUG]	Executed store
2023-10-13	12:52:56	1799	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:52:56	1799	[DEBUG]	Manufacturer exists
2023-10-13	12:52:56	1799	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:52:56	1799	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:56	1799	[DEBUG]	Executed store
2023-10-13	12:52:56	1799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861291','35')
2023-10-13	12:52:56	1799	[DEBUG]	Find the custom field ID
2023-10-13	12:52:56	1799	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:52:56	1799	[DEBUG]	No custom field ID found
2023-10-13	12:52:56	1799	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:56	1799	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:52:56	1799	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861291 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:56	1799	[DEBUG]	Store custom available field
2023-10-13	12:52:56	1799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861291,3,'0',1)
2023-10-13	12:52:56	1799	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:56	1799	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:52:56	1799	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861291 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:56	1799	[DEBUG]	Store custom available field
2023-10-13	12:52:56	1799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861291,6,'choisir la taille',3)
2023-10-13	12:52:56	1799	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:56	1799	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:52:56	1799	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:52:56	1799	[DEBUG]	Find the multi variant product entry
2023-10-13	12:52:56	1799	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861291 AND `virtuemart_custom_id` = 8
2023-10-13	12:52:56	1799	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:52:56	1799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861291,8,1)
2023-10-13	12:52:56	1799	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:56	1799	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861291\":[1861291,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861291
2023-10-13	12:52:56	1799	[DEBUG]	Checking category
2023-10-13	12:52:56	1799	[DEBUG]	Get the existing categories for the product
2023-10-13	12:52:56	1799	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861291
2023-10-13	12:52:56	1799	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:52:56	1799	[DEBUG]	Executed store
2023-10-13	12:52:56	1799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861291','7312')
2023-10-13	12:52:56	1799	[DEBUG]	Delete leftover product categories
2023-10-13	12:52:56	1799	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861291 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:52:56	1799	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:56	1799	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861291
2023-10-13	12:52:56	1800	[DEBUG]	Use field value for field product_sku
2023-10-13	12:52:56	1800	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:52:56	1800	[DEBUG]	Use field value for field taille
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:52:56	1800	[DEBUG]	Use field value for field product_name
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field category_path
2023-10-13	12:52:56	1800	[DEBUG]	Use field value for field product_price
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:52:56	1800	[DEBUG]	Use field value for field product_tax
2023-10-13	12:52:56	1800	[DEBUG]	Use field value for field file_url
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field product_desc
2023-10-13	12:52:56	1800	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:52:56	1800	[DEBUG]	Use field value for field product_availability
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field product_weight
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field product_unit
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field related_products
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field product_special
2023-10-13	12:52:56	1800	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:52:56	1800	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:52:56	1800	[DEBUG]	Use field value for field published
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field metadesc
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field metakey
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field custom_title
2023-10-13	12:52:56	1800	[DEBUG]	Use field value for field custom_value
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field custom_param
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field override
2023-10-13	12:52:56	1800	[DEBUG]	Use default value for field public_price
2023-10-13	12:52:56	1800	[DEBUG]	Use field value for field slug
2023-10-13	12:52:56	1800	[DEBUG]	Process line 1800
2023-10-13	12:52:56	1800	[DEBUG]	Load a row
2023-10-13	12:52:56	1800	[DEBUG]	Processing item: 710845771989
2023-10-13	12:52:56	1800	[DEBUG]	Looking for parent SKU
2023-10-13	12:52:56	1800	[DEBUG]	Checking product parent SKU
2023-10-13	12:52:56	1800	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5155_4'
2023-10-13	12:52:56	1800	[DEBUG]	Product tax: 7.7
2023-10-13	12:52:56	1800	[DEBUG]	Processing product tax
2023-10-13	12:52:56	1800	[DEBUG]	Check if calculation rule exists
2023-10-13	12:52:56	1800	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:52:56	1800	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:52:56	1800	[DEBUG]	Query for Product
2023-10-13	12:52:56	1800	[DEBUG]	Executed store
2023-10-13	12:52:56	1800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861291','710845771989','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0')
2023-10-13	12:52:56	1800	[DEBUG]	No parent found
2023-10-13	12:52:56	1800	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861291 AND customfield_value = 'stockable'
2023-10-13	12:52:56	1800	[DEBUG]	Check product language entry
2023-10-13	12:52:56	1800	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861292
2023-10-13	12:52:56	1800	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:56	1800	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845771989' AND `virtuemart_product_id` != 1861292
2023-10-13	12:52:56	1800	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:52:56	1800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861292, '710845771989')
2023-10-13	12:52:56	1800	[DEBUG]	Check if the product slug exists
2023-10-13	12:52:56	1800	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-avant-sram-gx-2x11-bottom-pull-high-acier-unitaire' AND `virtuemart_product_id` != 1861292
2023-10-13	12:52:56	1800	[DEBUG]	Query for ProductLang
2023-10-13	12:52:56	1800	[DEBUG]	Executed store
2023-10-13	12:52:56	1800	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Dérailleur avant SRAM GX 2x11 Bottom Pull High / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-avant-sram-gx-2x11-bottom-pull-high-acier-unitaire' WHERE `virtuemart_product_id` = '1861292'
2023-10-13	12:52:56	1800	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29620_derailleur_avant_sram_gx_2x11_bottom_pull_high.jpg
2023-10-13	12:52:56	1800	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:56	1800	[DEBUG]	Process image file
2023-10-13	12:52:56	1800	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:52:56	1800	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:52:56	1800	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29620_derailleur_avant_sram_gx_2x11_bottom_pull_high.jpg
2023-10-13	12:52:56	1800	[DEBUG]	Full name target: bcprisme/29620_derailleur_avant_sram_gx_2x11_bottom_pull_high.jpg
2023-10-13	12:52:57	1800	[DEBUG]	Checking if the file_url exists
2023-10-13	12:52:57	1800	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29620_derailleur_avant_sram_gx_2x11_bottom_pull_high.jpg'
2023-10-13	12:52:57	1800	[DEBUG]	Query for Media
2023-10-13	12:52:57	1800	[DEBUG]	Executed store
2023-10-13	12:52:57	1800	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29620_derailleur_avant_sram_gx_2x11_bottom_pull_high.jpg',`file_url_thumb`='bcprisme/29620_derailleur_avant_sram_gx_2x11_bottom_pull_high.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15851'
2023-10-13	12:52:57	1800	[DEBUG]	Query for ProductMedia
2023-10-13	12:52:57	1800	[DEBUG]	Executed store
2023-10-13	12:52:57	1800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861292','15851','1')
2023-10-13	12:52:57	1800	[DEBUG]	Store product image relation
2023-10-13	12:52:57	1800	[DEBUG]	Finding a product_price_id
2023-10-13	12:52:57	1800	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861292 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:52:57	1800	[DEBUG]	Query for ProductPrice
2023-10-13	12:52:57	1800	[DEBUG]	Executed store
2023-10-13	12:52:57	1800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861292','0','44.1039925719591','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:51:12','1593','2023-10-13 12:51:12','1593','0000-00-00 00:00:00','0')
2023-10-13	12:52:57	1800	[DEBUG]	Checking manufacturer
2023-10-13	12:52:57	1800	[DEBUG]	Load a row
2023-10-13	12:52:57	1800	[DEBUG]	Manufacturer already exists
2023-10-13	12:52:57	1800	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:52:57	1800	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:52:57	1800	[DEBUG]	Executed store
2023-10-13	12:52:57	1800	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:52:57	1800	[DEBUG]	Manufacturer exists
2023-10-13	12:52:57	1800	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:52:57	1800	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:52:57	1800	[DEBUG]	Executed store
2023-10-13	12:52:57	1800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861292','35')
2023-10-13	12:52:57	1800	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:52:57	1800	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:52:57	1800	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861292 AND `virtuemart_custom_id` = 3
2023-10-13	12:52:57	1800	[DEBUG]	Store custom available field
2023-10-13	12:52:57	1800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861292,3,'',1)
2023-10-13	12:52:57	1800	[DEBUG]	Processing custom available field: taille
2023-10-13	12:52:57	1800	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:52:57	1800	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861292 AND `virtuemart_custom_id` = 6
2023-10-13	12:52:57	1800	[DEBUG]	Store custom available field
2023-10-13	12:52:57	1800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861292,6,'Unitaire',3)
2023-10-13	12:52:57	1800	[DEBUG]	Process multi-variant fields
2023-10-13	12:52:57	1800	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:52:57	1800	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861291
2023-10-13	12:52:57	1800	[DEBUG]	Store the updated customfield_params
2023-10-13	12:52:57	1800	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861291\":[1861291,8,1,\"choisir la taille\"],\"1861292\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861291
2023-10-13	12:52:57	1800	[DEBUG]	Update has fields after all processing
2023-10-13	12:52:57	1800	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861292
2023-10-13	12:53:17	1800	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:53:17	1800	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:53:17	1800	[DEBUG]	Load the fields to process
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: product_sku
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: taille
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: product_name
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: category_path
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: product_price
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: product_override_price
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: product_tax
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: file_url
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: product_desc
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: product_availability
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: product_weight
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: product_unit
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: related_products
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: product_special
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: published
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: metadesc
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: metakey
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: custom_title
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: custom_value
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: custom_param
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: override
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: public_price
2023-10-13	12:53:17	1800	[DEBUG]	Setup field: slug
2023-10-13	12:53:17	1800	[DEBUG]	Use the file for configuration
2023-10-13	12:53:17	1800	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:53:17	1800	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:53:17	1800	[DEBUG]	Load the custom fields
2023-10-13	12:53:17	1800	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:53:17	1800	[DEBUG]	Load stockable custom fields
2023-10-13	12:53:17	1800	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:53:17	1800	[DEBUG]	Load custom fields for all
2023-10-13	12:53:17	1800	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:17	1801	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field taille
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:17	1801	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:17	1801	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:17	1801	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:17	1801	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:17	1801	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:17	1801	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field published
2023-10-13	12:53:17	1801	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:17	1801	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field override
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:17	1801	[DEBUG]	Use field value for field slug
2023-10-13	12:53:17	1801	[DEBUG]	Process line 1801
2023-10-13	12:53:17	1801	[DEBUG]	Check if the vendor exists
2023-10-13	12:53:17	1801	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5161_208'
2023-10-13	12:53:17	1801	[DEBUG]	Load a row
2023-10-13	12:53:17	1801	[DEBUG]	Processing item: A_5161_208
2023-10-13	12:53:17	1801	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:17	1801	[DEBUG]	Processing product tax
2023-10-13	12:53:17	1801	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:17	1801	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:17	1801	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:17	1801	[DEBUG]	Query for Product
2023-10-13	12:53:17	1801	[DEBUG]	Executed store
2023-10-13	12:53:17	1801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5161_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:17	1801	[DEBUG]	Check product language entry
2023-10-13	12:53:17	1801	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861293
2023-10-13	12:53:17	1801	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:17	1801	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5161_208' AND `virtuemart_product_id` != 1861293
2023-10-13	12:53:17	1801	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:17	1801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861293, 'A_5161_208')
2023-10-13	12:53:17	1801	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:17	1801	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-deore-xt-fd-m785-to-sw-du-pu-66-69-plaque-38-44d-aucune' AND `virtuemart_product_id` != 1861293
2023-10-13	12:53:17	1801	[DEBUG]	Query for ProductLang
2023-10-13	12:53:17	1801	[DEBUG]	Executed store
2023-10-13	12:53:17	1801	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.52833',`product_name`='SHIMANO Dérailleur avant Deore XT FD-M785 To-Sw Du-Pu 66-69° plaque 38/44d / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-deore-xt-fd-m785-to-sw-du-pu-66-69-plaque-38-44d-aucune' WHERE `virtuemart_product_id` = '1861293'
2023-10-13	12:53:17	1801	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29626_shimano_derailleur_avant_deore_xt_fd-m785_to-sw_du-pu_66-69__plaque_38-44d.jpg
2023-10-13	12:53:17	1801	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:17	1801	[DEBUG]	Process image file
2023-10-13	12:53:17	1801	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:17	1801	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:17	1801	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29626_shimano_derailleur_avant_deore_xt_fd-m785_to-sw_du-pu_66-69__plaque_38-44d.jpg
2023-10-13	12:53:17	1801	[DEBUG]	Full name target: bcprisme/29626_shimano_derailleur_avant_deore_xt_fd-m785_to-sw_du-pu_66-69__plaque_38-44d.jpg
2023-10-13	12:53:18	1801	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:18	1801	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29626_shimano_derailleur_avant_deore_xt_fd-m785_to-sw_du-pu_66-69__plaque_38-44d.jpg'
2023-10-13	12:53:18	1801	[DEBUG]	Query for Media
2023-10-13	12:53:18	1801	[DEBUG]	Executed store
2023-10-13	12:53:18	1801	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29626_shimano_derailleur_avant_deore_xt_fd-m785_to-sw_du-pu_66-69__plaque_38-44d.jpg',`file_url_thumb`='bcprisme/29626_shimano_derailleur_avant_deore_xt_fd-m785_to-sw_du-pu_66-69__plaque_38-44d.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15852'
2023-10-13	12:53:18	1801	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:18	1801	[DEBUG]	Executed store
2023-10-13	12:53:18	1801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861293','15852','1')
2023-10-13	12:53:18	1801	[DEBUG]	Store product image relation
2023-10-13	12:53:18	1801	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:18	1801	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861293 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:18	1801	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:18	1801	[DEBUG]	Executed store
2023-10-13	12:53:18	1801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861293','0','48.2822655524605','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:18	1801	[DEBUG]	Checking manufacturer
2023-10-13	12:53:18	1801	[DEBUG]	Load a row
2023-10-13	12:53:18	1801	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:18	1801	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:18	1801	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:18	1801	[DEBUG]	Executed store
2023-10-13	12:53:18	1801	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:18	1801	[DEBUG]	Manufacturer exists
2023-10-13	12:53:18	1801	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:18	1801	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:18	1801	[DEBUG]	Executed store
2023-10-13	12:53:18	1801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861293','123')
2023-10-13	12:53:18	1801	[DEBUG]	Find the custom field ID
2023-10-13	12:53:18	1801	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:18	1801	[DEBUG]	No custom field ID found
2023-10-13	12:53:18	1801	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:18	1801	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:18	1801	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861293 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:18	1801	[DEBUG]	Store custom available field
2023-10-13	12:53:18	1801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861293,3,'0',1)
2023-10-13	12:53:18	1801	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:18	1801	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:18	1801	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861293 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:18	1801	[DEBUG]	Store custom available field
2023-10-13	12:53:18	1801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861293,6,'choisir la taille',3)
2023-10-13	12:53:18	1801	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:18	1801	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:18	1801	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:18	1801	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:18	1801	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861293 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:18	1801	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:18	1801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861293,8,1)
2023-10-13	12:53:18	1801	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:18	1801	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861293\":[1861293,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861293
2023-10-13	12:53:18	1801	[DEBUG]	Checking category
2023-10-13	12:53:18	1801	[DEBUG]	Check if category path exists: DERAILLEUR 
2023-10-13	12:53:18	1801	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'DERAILLEUR ' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:53:18	1801	[DEBUG]	Check if category path exists: DERAILLEUR
2023-10-13	12:53:18	1801	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'DERAILLEUR' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7311
2023-10-13	12:53:18	1801	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:18	1801	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861293
2023-10-13	12:53:18	1801	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:18	1801	[DEBUG]	Executed store
2023-10-13	12:53:18	1801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861293','7312')
2023-10-13	12:53:18	1801	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:18	1801	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861293 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:18	1801	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:18	1801	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861293
2023-10-13	12:53:18	1802	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:18	1802	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:18	1802	[DEBUG]	Use field value for field taille
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:18	1802	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:18	1802	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:18	1802	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:18	1802	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:18	1802	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:18	1802	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:18	1802	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:18	1802	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:18	1802	[DEBUG]	Use field value for field published
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:18	1802	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field override
2023-10-13	12:53:18	1802	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:18	1802	[DEBUG]	Use field value for field slug
2023-10-13	12:53:18	1802	[DEBUG]	Process line 1802
2023-10-13	12:53:18	1802	[DEBUG]	Load a row
2023-10-13	12:53:18	1802	[DEBUG]	Processing item: 4524667720614
2023-10-13	12:53:18	1802	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:18	1802	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:18	1802	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5161_208'
2023-10-13	12:53:18	1802	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:18	1802	[DEBUG]	Processing product tax
2023-10-13	12:53:18	1802	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:18	1802	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:18	1802	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:18	1802	[DEBUG]	Query for Product
2023-10-13	12:53:18	1802	[DEBUG]	Executed store
2023-10-13	12:53:18	1802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861293','4524667720614','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:18	1802	[DEBUG]	No parent found
2023-10-13	12:53:18	1802	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861293 AND customfield_value = 'stockable'
2023-10-13	12:53:18	1802	[DEBUG]	Check product language entry
2023-10-13	12:53:18	1802	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861294
2023-10-13	12:53:18	1802	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:18	1802	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667720614' AND `virtuemart_product_id` != 1861294
2023-10-13	12:53:18	1802	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:18	1802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861294, '4524667720614')
2023-10-13	12:53:18	1802	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:18	1802	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-deore-xt-fd-m785-to-sw-du-pu-66-69-plaque-38-44d-aucune-all' AND `virtuemart_product_id` != 1861294
2023-10-13	12:53:18	1802	[DEBUG]	Query for ProductLang
2023-10-13	12:53:18	1802	[DEBUG]	Executed store
2023-10-13	12:53:18	1802	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant Deore XT FD-M785 To-Sw Du-Pu 66-69° plaque 38/44d / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-deore-xt-fd-m785-to-sw-du-pu-66-69-plaque-38-44d-aucune-all' WHERE `virtuemart_product_id` = '1861294'
2023-10-13	12:53:18	1802	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29626_shimano_derailleur_avant_deore_xt_fd-m785_to-sw_du-pu_66-69__plaque_38-44d.jpg
2023-10-13	12:53:18	1802	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:18	1802	[DEBUG]	Process image file
2023-10-13	12:53:18	1802	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:18	1802	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:18	1802	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29626_shimano_derailleur_avant_deore_xt_fd-m785_to-sw_du-pu_66-69__plaque_38-44d.jpg
2023-10-13	12:53:18	1802	[DEBUG]	Full name target: bcprisme/29626_shimano_derailleur_avant_deore_xt_fd-m785_to-sw_du-pu_66-69__plaque_38-44d.jpg
2023-10-13	12:53:19	1802	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:19	1802	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29626_shimano_derailleur_avant_deore_xt_fd-m785_to-sw_du-pu_66-69__plaque_38-44d.jpg'
2023-10-13	12:53:19	1802	[DEBUG]	Query for Media
2023-10-13	12:53:19	1802	[DEBUG]	Executed store
2023-10-13	12:53:19	1802	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29626_shimano_derailleur_avant_deore_xt_fd-m785_to-sw_du-pu_66-69__plaque_38-44d.jpg',`file_url_thumb`='bcprisme/29626_shimano_derailleur_avant_deore_xt_fd-m785_to-sw_du-pu_66-69__plaque_38-44d.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15852'
2023-10-13	12:53:19	1802	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:19	1802	[DEBUG]	Executed store
2023-10-13	12:53:19	1802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861294','15852','1')
2023-10-13	12:53:19	1802	[DEBUG]	Store product image relation
2023-10-13	12:53:19	1802	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:19	1802	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861294 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:19	1802	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:19	1802	[DEBUG]	Executed store
2023-10-13	12:53:19	1802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861294','0','48.2822655524605','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:19	1802	[DEBUG]	Checking manufacturer
2023-10-13	12:53:19	1802	[DEBUG]	Load a row
2023-10-13	12:53:19	1802	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:19	1802	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:19	1802	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:19	1802	[DEBUG]	Executed store
2023-10-13	12:53:19	1802	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:19	1802	[DEBUG]	Manufacturer exists
2023-10-13	12:53:19	1802	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:19	1802	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:19	1802	[DEBUG]	Executed store
2023-10-13	12:53:19	1802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861294','123')
2023-10-13	12:53:19	1802	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:19	1802	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:19	1802	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861294 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:19	1802	[DEBUG]	Store custom available field
2023-10-13	12:53:19	1802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861294,3,'',1)
2023-10-13	12:53:19	1802	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:19	1802	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:19	1802	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861294 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:19	1802	[DEBUG]	Store custom available field
2023-10-13	12:53:19	1802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861294,6,'All',3)
2023-10-13	12:53:19	1802	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:19	1802	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:19	1802	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861293
2023-10-13	12:53:19	1802	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:19	1802	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861293\":[1861293,8,1,\"choisir la taille\"],\"1861294\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861293
2023-10-13	12:53:19	1802	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:19	1802	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861294
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:19	1803	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field taille
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:19	1803	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:19	1803	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:19	1803	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:19	1803	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:19	1803	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:19	1803	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:19	1803	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field published
2023-10-13	12:53:19	1803	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:19	1803	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field override
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:19	1803	[DEBUG]	Use field value for field slug
2023-10-13	12:53:19	1803	[DEBUG]	Process line 1803
2023-10-13	12:53:19	1803	[DEBUG]	Load a row
2023-10-13	12:53:19	1803	[DEBUG]	Processing item: A_5193_208
2023-10-13	12:53:19	1803	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:19	1803	[DEBUG]	Processing product tax
2023-10-13	12:53:19	1803	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:19	1803	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:19	1803	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:19	1803	[DEBUG]	Query for Product
2023-10-13	12:53:19	1803	[DEBUG]	Executed store
2023-10-13	12:53:19	1803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5193_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:19	1803	[DEBUG]	Check product language entry
2023-10-13	12:53:19	1803	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861295
2023-10-13	12:53:19	1803	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:19	1803	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5193_208' AND `virtuemart_product_id` != 1861295
2023-10-13	12:53:19	1803	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:19	1803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861295, 'A_5193_208')
2023-10-13	12:53:19	1803	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:19	1803	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-deore-fd-m591-do-sw-du-pu-66-69-28-6-31-8-34-9-box-aucune' AND `virtuemart_product_id` != 1861295
2023-10-13	12:53:19	1803	[DEBUG]	Query for ProductLang
2023-10-13	12:53:19	1803	[DEBUG]	Executed store
2023-10-13	12:53:19	1803	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.48707',`product_name`='SHIMANO Dérailleur avant Deore FD-M591 Do-Sw Du-Pu 66-69°28.6/31.8/34.9 box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-deore-fd-m591-do-sw-du-pu-66-69-28-6-31-8-34-9-box-aucune' WHERE `virtuemart_product_id` = '1861295'
2023-10-13	12:53:19	1803	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29657_shimano_derailleur_avant_deore_fd-m591_do-sw_du-pu_66-69_28_6-31_8-34_9_box.jpg
2023-10-13	12:53:19	1803	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:19	1803	[DEBUG]	Process image file
2023-10-13	12:53:19	1803	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:19	1803	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:19	1803	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29657_shimano_derailleur_avant_deore_fd-m591_do-sw_du-pu_66-69_28_6-31_8-34_9_box.jpg
2023-10-13	12:53:19	1803	[DEBUG]	Full name target: bcprisme/29657_shimano_derailleur_avant_deore_fd-m591_do-sw_du-pu_66-69_28_6-31_8-34_9_box.jpg
2023-10-13	12:53:20	1803	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:20	1803	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29657_shimano_derailleur_avant_deore_fd-m591_do-sw_du-pu_66-69_28_6-31_8-34_9_box.jpg'
2023-10-13	12:53:20	1803	[DEBUG]	Query for Media
2023-10-13	12:53:20	1803	[DEBUG]	Executed store
2023-10-13	12:53:20	1803	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29657_shimano_derailleur_avant_deore_fd-m591_do-sw_du-pu_66-69_28_6-31_8-34_9_box.jpg',`file_url_thumb`='bcprisme/29657_shimano_derailleur_avant_deore_fd-m591_do-sw_du-pu_66-69_28_6-31_8-34_9_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15853'
2023-10-13	12:53:20	1803	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:20	1803	[DEBUG]	Executed store
2023-10-13	12:53:20	1803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861295','15853','1')
2023-10-13	12:53:20	1803	[DEBUG]	Store product image relation
2023-10-13	12:53:20	1803	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:20	1803	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861295 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:20	1803	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:20	1803	[DEBUG]	Executed store
2023-10-13	12:53:20	1803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861295','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:20	1803	[DEBUG]	Checking manufacturer
2023-10-13	12:53:20	1803	[DEBUG]	Load a row
2023-10-13	12:53:20	1803	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:20	1803	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:20	1803	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:20	1803	[DEBUG]	Executed store
2023-10-13	12:53:20	1803	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:20	1803	[DEBUG]	Manufacturer exists
2023-10-13	12:53:20	1803	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:20	1803	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:20	1803	[DEBUG]	Executed store
2023-10-13	12:53:20	1803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861295','123')
2023-10-13	12:53:20	1803	[DEBUG]	Find the custom field ID
2023-10-13	12:53:20	1803	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:20	1803	[DEBUG]	No custom field ID found
2023-10-13	12:53:20	1803	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:20	1803	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:20	1803	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861295 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:20	1803	[DEBUG]	Store custom available field
2023-10-13	12:53:20	1803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861295,3,'0',1)
2023-10-13	12:53:20	1803	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:20	1803	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:20	1803	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861295 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:20	1803	[DEBUG]	Store custom available field
2023-10-13	12:53:20	1803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861295,6,'choisir la taille',3)
2023-10-13	12:53:20	1803	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:20	1803	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:20	1803	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:20	1803	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:20	1803	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861295 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:20	1803	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:20	1803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861295,8,1)
2023-10-13	12:53:20	1803	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:20	1803	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861295\":[1861295,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861295
2023-10-13	12:53:20	1803	[DEBUG]	Checking category
2023-10-13	12:53:20	1803	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:20	1803	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861295
2023-10-13	12:53:20	1803	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:20	1803	[DEBUG]	Executed store
2023-10-13	12:53:20	1803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861295','7312')
2023-10-13	12:53:20	1803	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:20	1803	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861295 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:20	1803	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:20	1803	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861295
2023-10-13	12:53:20	1804	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:20	1804	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:20	1804	[DEBUG]	Use field value for field taille
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:20	1804	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:20	1804	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:20	1804	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:20	1804	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:20	1804	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:20	1804	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:20	1804	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:20	1804	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:20	1804	[DEBUG]	Use field value for field published
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:20	1804	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field override
2023-10-13	12:53:20	1804	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:20	1804	[DEBUG]	Use field value for field slug
2023-10-13	12:53:20	1804	[DEBUG]	Process line 1804
2023-10-13	12:53:20	1804	[DEBUG]	Load a row
2023-10-13	12:53:20	1804	[DEBUG]	Processing item: 4524667296065
2023-10-13	12:53:20	1804	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:20	1804	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:20	1804	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5193_208'
2023-10-13	12:53:20	1804	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:20	1804	[DEBUG]	Processing product tax
2023-10-13	12:53:20	1804	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:20	1804	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:20	1804	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:20	1804	[DEBUG]	Query for Product
2023-10-13	12:53:20	1804	[DEBUG]	Executed store
2023-10-13	12:53:20	1804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861295','4524667296065','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:20	1804	[DEBUG]	No parent found
2023-10-13	12:53:20	1804	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861295 AND customfield_value = 'stockable'
2023-10-13	12:53:20	1804	[DEBUG]	Check product language entry
2023-10-13	12:53:20	1804	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861296
2023-10-13	12:53:20	1804	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:20	1804	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667296065' AND `virtuemart_product_id` != 1861296
2023-10-13	12:53:20	1804	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:20	1804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861296, '4524667296065')
2023-10-13	12:53:20	1804	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:20	1804	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-deore-fd-m591-do-sw-du-pu-66-69-28-6-31-8-34-9-box-aucune-all' AND `virtuemart_product_id` != 1861296
2023-10-13	12:53:20	1804	[DEBUG]	Query for ProductLang
2023-10-13	12:53:20	1804	[DEBUG]	Executed store
2023-10-13	12:53:20	1804	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant Deore FD-M591 Do-Sw Du-Pu 66-69°28.6/31.8/34.9 box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-deore-fd-m591-do-sw-du-pu-66-69-28-6-31-8-34-9-box-aucune-all' WHERE `virtuemart_product_id` = '1861296'
2023-10-13	12:53:20	1804	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29657_shimano_derailleur_avant_deore_fd-m591_do-sw_du-pu_66-69_28_6-31_8-34_9_box.jpg
2023-10-13	12:53:20	1804	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:20	1804	[DEBUG]	Process image file
2023-10-13	12:53:20	1804	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:20	1804	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:20	1804	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29657_shimano_derailleur_avant_deore_fd-m591_do-sw_du-pu_66-69_28_6-31_8-34_9_box.jpg
2023-10-13	12:53:20	1804	[DEBUG]	Full name target: bcprisme/29657_shimano_derailleur_avant_deore_fd-m591_do-sw_du-pu_66-69_28_6-31_8-34_9_box.jpg
2023-10-13	12:53:21	1804	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:21	1804	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29657_shimano_derailleur_avant_deore_fd-m591_do-sw_du-pu_66-69_28_6-31_8-34_9_box.jpg'
2023-10-13	12:53:21	1804	[DEBUG]	Query for Media
2023-10-13	12:53:21	1804	[DEBUG]	Executed store
2023-10-13	12:53:21	1804	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29657_shimano_derailleur_avant_deore_fd-m591_do-sw_du-pu_66-69_28_6-31_8-34_9_box.jpg',`file_url_thumb`='bcprisme/29657_shimano_derailleur_avant_deore_fd-m591_do-sw_du-pu_66-69_28_6-31_8-34_9_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15853'
2023-10-13	12:53:21	1804	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:21	1804	[DEBUG]	Executed store
2023-10-13	12:53:21	1804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861296','15853','1')
2023-10-13	12:53:21	1804	[DEBUG]	Store product image relation
2023-10-13	12:53:21	1804	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:21	1804	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861296 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:21	1804	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:21	1804	[DEBUG]	Executed store
2023-10-13	12:53:21	1804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861296','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:21	1804	[DEBUG]	Checking manufacturer
2023-10-13	12:53:21	1804	[DEBUG]	Load a row
2023-10-13	12:53:21	1804	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:21	1804	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:21	1804	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:21	1804	[DEBUG]	Executed store
2023-10-13	12:53:21	1804	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:21	1804	[DEBUG]	Manufacturer exists
2023-10-13	12:53:21	1804	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:21	1804	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:21	1804	[DEBUG]	Executed store
2023-10-13	12:53:21	1804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861296','123')
2023-10-13	12:53:21	1804	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:21	1804	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:21	1804	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861296 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:21	1804	[DEBUG]	Store custom available field
2023-10-13	12:53:21	1804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861296,3,'',1)
2023-10-13	12:53:21	1804	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:21	1804	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:21	1804	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861296 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:21	1804	[DEBUG]	Store custom available field
2023-10-13	12:53:21	1804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861296,6,'All',3)
2023-10-13	12:53:21	1804	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:21	1804	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:21	1804	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861295
2023-10-13	12:53:21	1804	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:21	1804	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861295\":[1861295,8,1,\"choisir la taille\"],\"1861296\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861295
2023-10-13	12:53:21	1804	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:21	1804	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861296
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:21	1805	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field taille
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:21	1805	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:21	1805	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:21	1805	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:21	1805	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:21	1805	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:21	1805	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field published
2023-10-13	12:53:21	1805	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:21	1805	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field override
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:21	1805	[DEBUG]	Use field value for field slug
2023-10-13	12:53:21	1805	[DEBUG]	Process line 1805
2023-10-13	12:53:21	1805	[DEBUG]	Load a row
2023-10-13	12:53:22	1805	[DEBUG]	Processing item: A_5279_208
2023-10-13	12:53:22	1805	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:22	1805	[DEBUG]	Processing product tax
2023-10-13	12:53:22	1805	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:22	1805	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:22	1805	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:22	1805	[DEBUG]	Query for Product
2023-10-13	12:53:22	1805	[DEBUG]	Executed store
2023-10-13	12:53:22	1805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5279_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:22	1805	[DEBUG]	Check product language entry
2023-10-13	12:53:22	1805	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861297
2023-10-13	12:53:22	1805	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:22	1805	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5279_208' AND `virtuemart_product_id` != 1861297
2023-10-13	12:53:22	1805	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:22	1805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861297, 'A_5279_208')
2023-10-13	12:53:22	1805	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:22	1805	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-altus-fd-m313-do-sw-dual-pull-66-69-28-6-31-8-34-9-aucune' AND `virtuemart_product_id` != 1861297
2023-10-13	12:53:22	1805	[DEBUG]	Query for ProductLang
2023-10-13	12:53:22	1805	[DEBUG]	Executed store
2023-10-13	12:53:22	1805	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.60566',`product_name`='SHIMANO Dérailleur avant Altus FD-M313 Do-SW Dual-Pull 66-69° 28.6/31.8/34.9 / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-altus-fd-m313-do-sw-dual-pull-66-69-28-6-31-8-34-9-aucune' WHERE `virtuemart_product_id` = '1861297'
2023-10-13	12:53:22	1805	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29754_shimano_derailleur_avant_altus_fd-m313_do-sw_dual-pull_66-69__28_6-31_8-34_9.jpg
2023-10-13	12:53:22	1805	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:22	1805	[DEBUG]	Process image file
2023-10-13	12:53:22	1805	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:22	1805	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:22	1805	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29754_shimano_derailleur_avant_altus_fd-m313_do-sw_dual-pull_66-69__28_6-31_8-34_9.jpg
2023-10-13	12:53:22	1805	[DEBUG]	Full name target: bcprisme/29754_shimano_derailleur_avant_altus_fd-m313_do-sw_dual-pull_66-69__28_6-31_8-34_9.jpg
2023-10-13	12:53:23	1805	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:23	1805	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29754_shimano_derailleur_avant_altus_fd-m313_do-sw_dual-pull_66-69__28_6-31_8-34_9.jpg'
2023-10-13	12:53:23	1805	[DEBUG]	Query for Media
2023-10-13	12:53:23	1805	[DEBUG]	Executed store
2023-10-13	12:53:23	1805	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29754_shimano_derailleur_avant_altus_fd-m313_do-sw_dual-pull_66-69__28_6-31_8-34_9.jpg',`file_url_thumb`='bcprisme/29754_shimano_derailleur_avant_altus_fd-m313_do-sw_dual-pull_66-69__28_6-31_8-34_9.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15854'
2023-10-13	12:53:23	1805	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:23	1805	[DEBUG]	Executed store
2023-10-13	12:53:23	1805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861297','15854','1')
2023-10-13	12:53:23	1805	[DEBUG]	Store product image relation
2023-10-13	12:53:23	1805	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:23	1805	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861297 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:23	1805	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:23	1805	[DEBUG]	Executed store
2023-10-13	12:53:23	1805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861297','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:23	1805	[DEBUG]	Checking manufacturer
2023-10-13	12:53:23	1805	[DEBUG]	Load a row
2023-10-13	12:53:23	1805	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:23	1805	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:23	1805	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:23	1805	[DEBUG]	Executed store
2023-10-13	12:53:23	1805	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:23	1805	[DEBUG]	Manufacturer exists
2023-10-13	12:53:23	1805	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:23	1805	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:23	1805	[DEBUG]	Executed store
2023-10-13	12:53:23	1805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861297','123')
2023-10-13	12:53:23	1805	[DEBUG]	Find the custom field ID
2023-10-13	12:53:23	1805	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:23	1805	[DEBUG]	No custom field ID found
2023-10-13	12:53:23	1805	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:23	1805	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:23	1805	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861297 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:23	1805	[DEBUG]	Store custom available field
2023-10-13	12:53:23	1805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861297,3,'0',1)
2023-10-13	12:53:23	1805	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:23	1805	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:23	1805	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861297 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:23	1805	[DEBUG]	Store custom available field
2023-10-13	12:53:23	1805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861297,6,'choisir la taille',3)
2023-10-13	12:53:23	1805	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:23	1805	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:23	1805	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:23	1805	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:23	1805	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861297 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:23	1805	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:23	1805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861297,8,1)
2023-10-13	12:53:23	1805	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:23	1805	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861297\":[1861297,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861297
2023-10-13	12:53:23	1805	[DEBUG]	Checking category
2023-10-13	12:53:23	1805	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:23	1805	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861297
2023-10-13	12:53:23	1805	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:23	1805	[DEBUG]	Executed store
2023-10-13	12:53:23	1805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861297','7312')
2023-10-13	12:53:23	1805	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:23	1805	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861297 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:23	1805	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:23	1805	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861297
2023-10-13	12:53:23	1806	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:23	1806	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:23	1806	[DEBUG]	Use field value for field taille
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:23	1806	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:23	1806	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:23	1806	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:23	1806	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:23	1806	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:23	1806	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:23	1806	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:23	1806	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:23	1806	[DEBUG]	Use field value for field published
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:23	1806	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field override
2023-10-13	12:53:23	1806	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:23	1806	[DEBUG]	Use field value for field slug
2023-10-13	12:53:23	1806	[DEBUG]	Process line 1806
2023-10-13	12:53:23	1806	[DEBUG]	Load a row
2023-10-13	12:53:23	1806	[DEBUG]	Processing item: 4524667610878
2023-10-13	12:53:23	1806	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:23	1806	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:23	1806	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5279_208'
2023-10-13	12:53:23	1806	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:23	1806	[DEBUG]	Processing product tax
2023-10-13	12:53:23	1806	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:23	1806	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:23	1806	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:23	1806	[DEBUG]	Query for Product
2023-10-13	12:53:23	1806	[DEBUG]	Executed store
2023-10-13	12:53:23	1806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861297','4524667610878','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:23	1806	[DEBUG]	No parent found
2023-10-13	12:53:23	1806	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861297 AND customfield_value = 'stockable'
2023-10-13	12:53:23	1806	[DEBUG]	Check product language entry
2023-10-13	12:53:23	1806	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861298
2023-10-13	12:53:23	1806	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:23	1806	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667610878' AND `virtuemart_product_id` != 1861298
2023-10-13	12:53:23	1806	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:23	1806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861298, '4524667610878')
2023-10-13	12:53:23	1806	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:23	1806	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-altus-fd-m313-do-sw-dual-pull-66-69-28-6-31-8-34-9-aucune-all' AND `virtuemart_product_id` != 1861298
2023-10-13	12:53:23	1806	[DEBUG]	Query for ProductLang
2023-10-13	12:53:23	1806	[DEBUG]	Executed store
2023-10-13	12:53:23	1806	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant Altus FD-M313 Do-SW Dual-Pull 66-69° 28.6/31.8/34.9 / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-altus-fd-m313-do-sw-dual-pull-66-69-28-6-31-8-34-9-aucune-all' WHERE `virtuemart_product_id` = '1861298'
2023-10-13	12:53:23	1806	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29754_shimano_derailleur_avant_altus_fd-m313_do-sw_dual-pull_66-69__28_6-31_8-34_9.jpg
2023-10-13	12:53:23	1806	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:23	1806	[DEBUG]	Process image file
2023-10-13	12:53:23	1806	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:23	1806	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:23	1806	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29754_shimano_derailleur_avant_altus_fd-m313_do-sw_dual-pull_66-69__28_6-31_8-34_9.jpg
2023-10-13	12:53:23	1806	[DEBUG]	Full name target: bcprisme/29754_shimano_derailleur_avant_altus_fd-m313_do-sw_dual-pull_66-69__28_6-31_8-34_9.jpg
2023-10-13	12:53:24	1806	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:24	1806	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29754_shimano_derailleur_avant_altus_fd-m313_do-sw_dual-pull_66-69__28_6-31_8-34_9.jpg'
2023-10-13	12:53:24	1806	[DEBUG]	Query for Media
2023-10-13	12:53:24	1806	[DEBUG]	Executed store
2023-10-13	12:53:24	1806	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29754_shimano_derailleur_avant_altus_fd-m313_do-sw_dual-pull_66-69__28_6-31_8-34_9.jpg',`file_url_thumb`='bcprisme/29754_shimano_derailleur_avant_altus_fd-m313_do-sw_dual-pull_66-69__28_6-31_8-34_9.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15854'
2023-10-13	12:53:24	1806	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:24	1806	[DEBUG]	Executed store
2023-10-13	12:53:24	1806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861298','15854','1')
2023-10-13	12:53:24	1806	[DEBUG]	Store product image relation
2023-10-13	12:53:24	1806	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:24	1806	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861298 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:24	1806	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:24	1806	[DEBUG]	Executed store
2023-10-13	12:53:24	1806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861298','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:24	1806	[DEBUG]	Checking manufacturer
2023-10-13	12:53:24	1806	[DEBUG]	Load a row
2023-10-13	12:53:24	1806	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:24	1806	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:24	1806	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:24	1806	[DEBUG]	Executed store
2023-10-13	12:53:24	1806	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:24	1806	[DEBUG]	Manufacturer exists
2023-10-13	12:53:24	1806	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:24	1806	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:24	1806	[DEBUG]	Executed store
2023-10-13	12:53:24	1806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861298','123')
2023-10-13	12:53:24	1806	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:24	1806	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:24	1806	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861298 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:24	1806	[DEBUG]	Store custom available field
2023-10-13	12:53:24	1806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861298,3,'',1)
2023-10-13	12:53:24	1806	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:24	1806	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:24	1806	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861298 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:24	1806	[DEBUG]	Store custom available field
2023-10-13	12:53:24	1806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861298,6,'All',3)
2023-10-13	12:53:24	1806	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:24	1806	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:24	1806	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861297
2023-10-13	12:53:24	1806	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:24	1806	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861297\":[1861297,8,1,\"choisir la taille\"],\"1861298\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861297
2023-10-13	12:53:24	1806	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:24	1806	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861298
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:24	1807	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field taille
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:24	1807	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:24	1807	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:24	1807	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:24	1807	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:24	1807	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:24	1807	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:24	1807	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field published
2023-10-13	12:53:24	1807	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:24	1807	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field override
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:24	1807	[DEBUG]	Use field value for field slug
2023-10-13	12:53:24	1807	[DEBUG]	Process line 1807
2023-10-13	12:53:24	1807	[DEBUG]	Load a row
2023-10-13	12:53:24	1807	[DEBUG]	Processing item: A_5280_208
2023-10-13	12:53:24	1807	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:24	1807	[DEBUG]	Processing product tax
2023-10-13	12:53:24	1807	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:24	1807	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:24	1807	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:24	1807	[DEBUG]	Query for Product
2023-10-13	12:53:24	1807	[DEBUG]	Executed store
2023-10-13	12:53:24	1807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5280_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:24	1807	[DEBUG]	Check product language entry
2023-10-13	12:53:24	1807	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861299
2023-10-13	12:53:24	1807	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:24	1807	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5280_208' AND `virtuemart_product_id` != 1861299
2023-10-13	12:53:24	1807	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:24	1807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861299, 'A_5280_208')
2023-10-13	12:53:24	1807	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:24	1807	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-to-sw-fd-ty700-du-pu-66-69-28-6-31-8-34-9-box-aucune' AND `virtuemart_product_id` != 1861299
2023-10-13	12:53:24	1807	[DEBUG]	Query for ProductLang
2023-10-13	12:53:24	1807	[DEBUG]	Executed store
2023-10-13	12:53:24	1807	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.67097',`product_name`='SHIMANO Dérailleur avant To-Sw. FD-TY700 Du-Pu 66-69° 28.6/31.8/34.9 box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-to-sw-fd-ty700-du-pu-66-69-28-6-31-8-34-9-box-aucune' WHERE `virtuemart_product_id` = '1861299'
2023-10-13	12:53:24	1807	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29755_shimano_derailleur_avant_to-sw__fd-ty700_du-pu_66-69__28_6-31_8-34_9_box.jpg
2023-10-13	12:53:24	1807	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:24	1807	[DEBUG]	Process image file
2023-10-13	12:53:24	1807	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:24	1807	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:24	1807	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29755_shimano_derailleur_avant_to-sw__fd-ty700_du-pu_66-69__28_6-31_8-34_9_box.jpg
2023-10-13	12:53:24	1807	[DEBUG]	Full name target: bcprisme/29755_shimano_derailleur_avant_to-sw__fd-ty700_du-pu_66-69__28_6-31_8-34_9_box.jpg
2023-10-13	12:53:25	1807	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:25	1807	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29755_shimano_derailleur_avant_to-sw__fd-ty700_du-pu_66-69__28_6-31_8-34_9_box.jpg'
2023-10-13	12:53:25	1807	[DEBUG]	Query for Media
2023-10-13	12:53:25	1807	[DEBUG]	Executed store
2023-10-13	12:53:25	1807	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29755_shimano_derailleur_avant_to-sw__fd-ty700_du-pu_66-69__28_6-31_8-34_9_box.jpg',`file_url_thumb`='bcprisme/29755_shimano_derailleur_avant_to-sw__fd-ty700_du-pu_66-69__28_6-31_8-34_9_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15855'
2023-10-13	12:53:25	1807	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:25	1807	[DEBUG]	Executed store
2023-10-13	12:53:25	1807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861299','15855','1')
2023-10-13	12:53:25	1807	[DEBUG]	Store product image relation
2023-10-13	12:53:25	1807	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:25	1807	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861299 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:25	1807	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:25	1807	[DEBUG]	Executed store
2023-10-13	12:53:25	1807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861299','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:25	1807	[DEBUG]	Checking manufacturer
2023-10-13	12:53:25	1807	[DEBUG]	Load a row
2023-10-13	12:53:25	1807	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:25	1807	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:25	1807	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:25	1807	[DEBUG]	Executed store
2023-10-13	12:53:25	1807	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:25	1807	[DEBUG]	Manufacturer exists
2023-10-13	12:53:25	1807	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:25	1807	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:25	1807	[DEBUG]	Executed store
2023-10-13	12:53:25	1807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861299','123')
2023-10-13	12:53:25	1807	[DEBUG]	Find the custom field ID
2023-10-13	12:53:25	1807	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:25	1807	[DEBUG]	No custom field ID found
2023-10-13	12:53:25	1807	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:25	1807	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:25	1807	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861299 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:25	1807	[DEBUG]	Store custom available field
2023-10-13	12:53:25	1807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861299,3,'0',1)
2023-10-13	12:53:25	1807	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:25	1807	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:25	1807	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861299 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:25	1807	[DEBUG]	Store custom available field
2023-10-13	12:53:25	1807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861299,6,'choisir la taille',3)
2023-10-13	12:53:25	1807	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:25	1807	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:25	1807	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:25	1807	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:25	1807	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861299 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:25	1807	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:25	1807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861299,8,1)
2023-10-13	12:53:25	1807	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:25	1807	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861299\":[1861299,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861299
2023-10-13	12:53:25	1807	[DEBUG]	Checking category
2023-10-13	12:53:25	1807	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:25	1807	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861299
2023-10-13	12:53:25	1807	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:25	1807	[DEBUG]	Executed store
2023-10-13	12:53:25	1807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861299','7312')
2023-10-13	12:53:25	1807	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:25	1807	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861299 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:25	1807	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:25	1807	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861299
2023-10-13	12:53:25	1808	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:25	1808	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:25	1808	[DEBUG]	Use field value for field taille
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:25	1808	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:25	1808	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:25	1808	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:25	1808	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:25	1808	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:25	1808	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:25	1808	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:25	1808	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:25	1808	[DEBUG]	Use field value for field published
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:25	1808	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field override
2023-10-13	12:53:25	1808	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:25	1808	[DEBUG]	Use field value for field slug
2023-10-13	12:53:25	1808	[DEBUG]	Process line 1808
2023-10-13	12:53:25	1808	[DEBUG]	Load a row
2023-10-13	12:53:25	1808	[DEBUG]	Processing item: 4524667344124
2023-10-13	12:53:25	1808	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:25	1808	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:25	1808	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5280_208'
2023-10-13	12:53:25	1808	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:25	1808	[DEBUG]	Processing product tax
2023-10-13	12:53:25	1808	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:25	1808	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:25	1808	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:25	1808	[DEBUG]	Query for Product
2023-10-13	12:53:25	1808	[DEBUG]	Executed store
2023-10-13	12:53:25	1808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861299','4524667344124','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:25	1808	[DEBUG]	No parent found
2023-10-13	12:53:25	1808	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861299 AND customfield_value = 'stockable'
2023-10-13	12:53:25	1808	[DEBUG]	Check product language entry
2023-10-13	12:53:25	1808	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861300
2023-10-13	12:53:25	1808	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:25	1808	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667344124' AND `virtuemart_product_id` != 1861300
2023-10-13	12:53:25	1808	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:25	1808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861300, '4524667344124')
2023-10-13	12:53:25	1808	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:25	1808	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-to-sw-fd-ty700-du-pu-66-69-28-6-31-8-34-9-box-aucune-all' AND `virtuemart_product_id` != 1861300
2023-10-13	12:53:25	1808	[DEBUG]	Query for ProductLang
2023-10-13	12:53:25	1808	[DEBUG]	Executed store
2023-10-13	12:53:25	1808	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant To-Sw. FD-TY700 Du-Pu 66-69° 28.6/31.8/34.9 box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-to-sw-fd-ty700-du-pu-66-69-28-6-31-8-34-9-box-aucune-all' WHERE `virtuemart_product_id` = '1861300'
2023-10-13	12:53:25	1808	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29755_shimano_derailleur_avant_to-sw__fd-ty700_du-pu_66-69__28_6-31_8-34_9_box.jpg
2023-10-13	12:53:25	1808	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:25	1808	[DEBUG]	Process image file
2023-10-13	12:53:25	1808	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:25	1808	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:25	1808	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29755_shimano_derailleur_avant_to-sw__fd-ty700_du-pu_66-69__28_6-31_8-34_9_box.jpg
2023-10-13	12:53:25	1808	[DEBUG]	Full name target: bcprisme/29755_shimano_derailleur_avant_to-sw__fd-ty700_du-pu_66-69__28_6-31_8-34_9_box.jpg
2023-10-13	12:53:26	1808	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:26	1808	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29755_shimano_derailleur_avant_to-sw__fd-ty700_du-pu_66-69__28_6-31_8-34_9_box.jpg'
2023-10-13	12:53:26	1808	[DEBUG]	Query for Media
2023-10-13	12:53:26	1808	[DEBUG]	Executed store
2023-10-13	12:53:26	1808	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29755_shimano_derailleur_avant_to-sw__fd-ty700_du-pu_66-69__28_6-31_8-34_9_box.jpg',`file_url_thumb`='bcprisme/29755_shimano_derailleur_avant_to-sw__fd-ty700_du-pu_66-69__28_6-31_8-34_9_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15855'
2023-10-13	12:53:26	1808	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:26	1808	[DEBUG]	Executed store
2023-10-13	12:53:26	1808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861300','15855','1')
2023-10-13	12:53:26	1808	[DEBUG]	Store product image relation
2023-10-13	12:53:26	1808	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:26	1808	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861300 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:26	1808	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:26	1808	[DEBUG]	Executed store
2023-10-13	12:53:26	1808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861300','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:26	1808	[DEBUG]	Checking manufacturer
2023-10-13	12:53:26	1808	[DEBUG]	Load a row
2023-10-13	12:53:26	1808	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:26	1808	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:26	1808	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:26	1808	[DEBUG]	Executed store
2023-10-13	12:53:26	1808	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:26	1808	[DEBUG]	Manufacturer exists
2023-10-13	12:53:26	1808	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:26	1808	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:26	1808	[DEBUG]	Executed store
2023-10-13	12:53:26	1808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861300','123')
2023-10-13	12:53:26	1808	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:26	1808	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:26	1808	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861300 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:26	1808	[DEBUG]	Store custom available field
2023-10-13	12:53:26	1808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861300,3,'',1)
2023-10-13	12:53:26	1808	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:26	1808	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:26	1808	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861300 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:26	1808	[DEBUG]	Store custom available field
2023-10-13	12:53:26	1808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861300,6,'All',3)
2023-10-13	12:53:26	1808	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:26	1808	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:26	1808	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861299
2023-10-13	12:53:26	1808	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:26	1808	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861299\":[1861299,8,1,\"choisir la taille\"],\"1861300\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861299
2023-10-13	12:53:26	1808	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:26	1808	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861300
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:26	1809	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field taille
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:26	1809	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:26	1809	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:26	1809	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:26	1809	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:26	1809	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:26	1809	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:26	1809	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field published
2023-10-13	12:53:26	1809	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:26	1809	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field override
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:26	1809	[DEBUG]	Use field value for field slug
2023-10-13	12:53:26	1809	[DEBUG]	Process line 1809
2023-10-13	12:53:26	1809	[DEBUG]	Load a row
2023-10-13	12:53:26	1809	[DEBUG]	Processing item: A_5282_208
2023-10-13	12:53:26	1809	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:26	1809	[DEBUG]	Processing product tax
2023-10-13	12:53:26	1809	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:26	1809	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:26	1809	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:26	1809	[DEBUG]	Query for Product
2023-10-13	12:53:26	1809	[DEBUG]	Executed store
2023-10-13	12:53:26	1809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5282_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:26	1809	[DEBUG]	Check product language entry
2023-10-13	12:53:26	1809	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861301
2023-10-13	12:53:26	1809	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:26	1809	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5282_208' AND `virtuemart_product_id` != 1861301
2023-10-13	12:53:26	1809	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:26	1809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861301, 'A_5282_208')
2023-10-13	12:53:26	1809	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:26	1809	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-altus-fd-m310-to-sw-dual-pull-66-69-31-8-34-9-en-box-aucune' AND `virtuemart_product_id` != 1861301
2023-10-13	12:53:26	1809	[DEBUG]	Query for ProductLang
2023-10-13	12:53:26	1809	[DEBUG]	Executed store
2023-10-13	12:53:26	1809	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.54095',`product_name`='SHIMANO Dérailleur avant Altus FD-M310 To-Sw Dual-Pull 66-69° 31.8/34.9 en box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-altus-fd-m310-to-sw-dual-pull-66-69-31-8-34-9-en-box-aucune' WHERE `virtuemart_product_id` = '1861301'
2023-10-13	12:53:26	1809	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29757_shimano_derailleur_avant_altus_fd-m310_to-sw_dual-pull_66-69__31_8-34_9_en_box.jpg
2023-10-13	12:53:26	1809	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:26	1809	[DEBUG]	Process image file
2023-10-13	12:53:26	1809	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:26	1809	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:26	1809	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29757_shimano_derailleur_avant_altus_fd-m310_to-sw_dual-pull_66-69__31_8-34_9_en_box.jpg
2023-10-13	12:53:26	1809	[DEBUG]	Full name target: bcprisme/29757_shimano_derailleur_avant_altus_fd-m310_to-sw_dual-pull_66-69__31_8-34_9_en_box.jpg
2023-10-13	12:53:27	1809	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:27	1809	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29757_shimano_derailleur_avant_altus_fd-m310_to-sw_dual-pull_66-69__31_8-34_9_en_box.jpg'
2023-10-13	12:53:27	1809	[DEBUG]	Query for Media
2023-10-13	12:53:27	1809	[DEBUG]	Executed store
2023-10-13	12:53:27	1809	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29757_shimano_derailleur_avant_altus_fd-m310_to-sw_dual-pull_66-69__31_8-34_9_en_box.jpg',`file_url_thumb`='bcprisme/29757_shimano_derailleur_avant_altus_fd-m310_to-sw_dual-pull_66-69__31_8-34_9_en_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15856'
2023-10-13	12:53:27	1809	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:27	1809	[DEBUG]	Executed store
2023-10-13	12:53:27	1809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861301','15856','1')
2023-10-13	12:53:27	1809	[DEBUG]	Store product image relation
2023-10-13	12:53:27	1809	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:27	1809	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861301 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:27	1809	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:27	1809	[DEBUG]	Executed store
2023-10-13	12:53:27	1809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861301','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:27	1809	[DEBUG]	Checking manufacturer
2023-10-13	12:53:27	1809	[DEBUG]	Load a row
2023-10-13	12:53:27	1809	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:27	1809	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:27	1809	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:27	1809	[DEBUG]	Executed store
2023-10-13	12:53:27	1809	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:27	1809	[DEBUG]	Manufacturer exists
2023-10-13	12:53:27	1809	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:27	1809	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:27	1809	[DEBUG]	Executed store
2023-10-13	12:53:27	1809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861301','123')
2023-10-13	12:53:27	1809	[DEBUG]	Find the custom field ID
2023-10-13	12:53:27	1809	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:27	1809	[DEBUG]	No custom field ID found
2023-10-13	12:53:27	1809	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:27	1809	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:27	1809	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861301 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:27	1809	[DEBUG]	Store custom available field
2023-10-13	12:53:27	1809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861301,3,'0',1)
2023-10-13	12:53:27	1809	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:27	1809	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:27	1809	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861301 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:27	1809	[DEBUG]	Store custom available field
2023-10-13	12:53:27	1809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861301,6,'choisir la taille',3)
2023-10-13	12:53:27	1809	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:27	1809	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:27	1809	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:27	1809	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:27	1809	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861301 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:27	1809	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:27	1809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861301,8,1)
2023-10-13	12:53:27	1809	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:27	1809	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861301\":[1861301,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861301
2023-10-13	12:53:27	1809	[DEBUG]	Checking category
2023-10-13	12:53:27	1809	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:27	1809	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861301
2023-10-13	12:53:27	1809	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:27	1809	[DEBUG]	Executed store
2023-10-13	12:53:27	1809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861301','7312')
2023-10-13	12:53:27	1809	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:27	1809	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861301 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:27	1809	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:27	1809	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861301
2023-10-13	12:53:27	1810	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:27	1810	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:27	1810	[DEBUG]	Use field value for field taille
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:27	1810	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:27	1810	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:27	1810	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:27	1810	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:27	1810	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:27	1810	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:27	1810	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:27	1810	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:27	1810	[DEBUG]	Use field value for field published
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:27	1810	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field override
2023-10-13	12:53:27	1810	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:27	1810	[DEBUG]	Use field value for field slug
2023-10-13	12:53:27	1810	[DEBUG]	Process line 1810
2023-10-13	12:53:27	1810	[DEBUG]	Load a row
2023-10-13	12:53:27	1810	[DEBUG]	Processing item: 4524667222422
2023-10-13	12:53:27	1810	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:27	1810	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:27	1810	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5282_208'
2023-10-13	12:53:27	1810	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:27	1810	[DEBUG]	Processing product tax
2023-10-13	12:53:27	1810	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:27	1810	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:27	1810	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:27	1810	[DEBUG]	Query for Product
2023-10-13	12:53:27	1810	[DEBUG]	Executed store
2023-10-13	12:53:27	1810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861301','4524667222422','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:27	1810	[DEBUG]	No parent found
2023-10-13	12:53:27	1810	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861301 AND customfield_value = 'stockable'
2023-10-13	12:53:27	1810	[DEBUG]	Check product language entry
2023-10-13	12:53:27	1810	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861302
2023-10-13	12:53:27	1810	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:27	1810	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667222422' AND `virtuemart_product_id` != 1861302
2023-10-13	12:53:27	1810	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:27	1810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861302, '4524667222422')
2023-10-13	12:53:27	1810	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:27	1810	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-altus-fd-m310-to-sw-dual-pull-66-69-31-8-34-9-en-box-aucune-all' AND `virtuemart_product_id` != 1861302
2023-10-13	12:53:27	1810	[DEBUG]	Query for ProductLang
2023-10-13	12:53:27	1810	[DEBUG]	Executed store
2023-10-13	12:53:27	1810	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant Altus FD-M310 To-Sw Dual-Pull 66-69° 31.8/34.9 en box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-altus-fd-m310-to-sw-dual-pull-66-69-31-8-34-9-en-box-aucune-all' WHERE `virtuemart_product_id` = '1861302'
2023-10-13	12:53:27	1810	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29757_shimano_derailleur_avant_altus_fd-m310_to-sw_dual-pull_66-69__31_8-34_9_en_box.jpg
2023-10-13	12:53:27	1810	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:27	1810	[DEBUG]	Process image file
2023-10-13	12:53:27	1810	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:27	1810	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:27	1810	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29757_shimano_derailleur_avant_altus_fd-m310_to-sw_dual-pull_66-69__31_8-34_9_en_box.jpg
2023-10-13	12:53:27	1810	[DEBUG]	Full name target: bcprisme/29757_shimano_derailleur_avant_altus_fd-m310_to-sw_dual-pull_66-69__31_8-34_9_en_box.jpg
2023-10-13	12:53:28	1810	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:28	1810	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29757_shimano_derailleur_avant_altus_fd-m310_to-sw_dual-pull_66-69__31_8-34_9_en_box.jpg'
2023-10-13	12:53:28	1810	[DEBUG]	Query for Media
2023-10-13	12:53:28	1810	[DEBUG]	Executed store
2023-10-13	12:53:28	1810	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29757_shimano_derailleur_avant_altus_fd-m310_to-sw_dual-pull_66-69__31_8-34_9_en_box.jpg',`file_url_thumb`='bcprisme/29757_shimano_derailleur_avant_altus_fd-m310_to-sw_dual-pull_66-69__31_8-34_9_en_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15856'
2023-10-13	12:53:28	1810	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:28	1810	[DEBUG]	Executed store
2023-10-13	12:53:28	1810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861302','15856','1')
2023-10-13	12:53:28	1810	[DEBUG]	Store product image relation
2023-10-13	12:53:28	1810	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:28	1810	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861302 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:28	1810	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:28	1810	[DEBUG]	Executed store
2023-10-13	12:53:28	1810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861302','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:28	1810	[DEBUG]	Checking manufacturer
2023-10-13	12:53:28	1810	[DEBUG]	Load a row
2023-10-13	12:53:28	1810	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:28	1810	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:28	1810	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:28	1810	[DEBUG]	Executed store
2023-10-13	12:53:28	1810	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:28	1810	[DEBUG]	Manufacturer exists
2023-10-13	12:53:28	1810	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:28	1810	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:28	1810	[DEBUG]	Executed store
2023-10-13	12:53:28	1810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861302','123')
2023-10-13	12:53:28	1810	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:28	1810	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:28	1810	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861302 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:28	1810	[DEBUG]	Store custom available field
2023-10-13	12:53:28	1810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861302,3,'',1)
2023-10-13	12:53:28	1810	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:28	1810	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:28	1810	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861302 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:28	1810	[DEBUG]	Store custom available field
2023-10-13	12:53:28	1810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861302,6,'All',3)
2023-10-13	12:53:28	1810	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:28	1810	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:28	1810	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861301
2023-10-13	12:53:28	1810	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:28	1810	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861301\":[1861301,8,1,\"choisir la taille\"],\"1861302\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861301
2023-10-13	12:53:28	1810	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:28	1810	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861302
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:28	1811	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field taille
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:28	1811	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:28	1811	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:28	1811	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:28	1811	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:28	1811	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:28	1811	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field published
2023-10-13	12:53:28	1811	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:28	1811	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field override
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:28	1811	[DEBUG]	Use field value for field slug
2023-10-13	12:53:28	1811	[DEBUG]	Process line 1811
2023-10-13	12:53:28	1811	[DEBUG]	Load a row
2023-10-13	12:53:28	1811	[DEBUG]	Processing item: A_5578_1
2023-10-13	12:53:28	1811	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:28	1811	[DEBUG]	Processing product tax
2023-10-13	12:53:28	1811	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:28	1811	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:28	1811	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:28	1811	[DEBUG]	Query for Product
2023-10-13	12:53:28	1811	[DEBUG]	Executed store
2023-10-13	12:53:28	1811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5578_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:28	1811	[DEBUG]	Check product language entry
2023-10-13	12:53:28	1811	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861303
2023-10-13	12:53:28	1811	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:28	1811	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5578_1' AND `virtuemart_product_id` != 1861303
2023-10-13	12:53:28	1811	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:28	1811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861303, 'A_5578_1')
2023-10-13	12:53:28	1811	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:28	1811	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-arriere-tourney-rdty300-noir' AND `virtuemart_product_id` != 1861303
2023-10-13	12:53:28	1811	[DEBUG]	Query for ProductLang
2023-10-13	12:53:28	1811	[DEBUG]	Executed store
2023-10-13	12:53:28	1811	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.66790',`product_name`='SHIMANO Dérailleur arrière Tourney RDTY300 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-arriere-tourney-rdty300-noir' WHERE `virtuemart_product_id` = '1861303'
2023-10-13	12:53:28	1811	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30076_shimano_derailleur_arriere_tourney_rdty300.jpg
2023-10-13	12:53:28	1811	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:28	1811	[DEBUG]	Process image file
2023-10-13	12:53:28	1811	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:28	1811	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:28	1811	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30076_shimano_derailleur_arriere_tourney_rdty300.jpg
2023-10-13	12:53:28	1811	[DEBUG]	Full name target: bcprisme/30076_shimano_derailleur_arriere_tourney_rdty300.jpg
2023-10-13	12:53:29	1811	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:29	1811	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30076_shimano_derailleur_arriere_tourney_rdty300.jpg'
2023-10-13	12:53:29	1811	[DEBUG]	Query for Media
2023-10-13	12:53:29	1811	[DEBUG]	Executed store
2023-10-13	12:53:29	1811	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30076_shimano_derailleur_arriere_tourney_rdty300.jpg',`file_url_thumb`='bcprisme/30076_shimano_derailleur_arriere_tourney_rdty300.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15857'
2023-10-13	12:53:29	1811	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:29	1811	[DEBUG]	Executed store
2023-10-13	12:53:29	1811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861303','15857','1')
2023-10-13	12:53:29	1811	[DEBUG]	Store product image relation
2023-10-13	12:53:29	1811	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:29	1811	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861303 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:29	1811	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:29	1811	[DEBUG]	Executed store
2023-10-13	12:53:29	1811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861303','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:29	1811	[DEBUG]	Checking manufacturer
2023-10-13	12:53:29	1811	[DEBUG]	Load a row
2023-10-13	12:53:29	1811	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:29	1811	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:29	1811	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:29	1811	[DEBUG]	Executed store
2023-10-13	12:53:29	1811	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:29	1811	[DEBUG]	Manufacturer exists
2023-10-13	12:53:29	1811	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:29	1811	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:29	1811	[DEBUG]	Executed store
2023-10-13	12:53:29	1811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861303','26')
2023-10-13	12:53:29	1811	[DEBUG]	Find the custom field ID
2023-10-13	12:53:29	1811	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:29	1811	[DEBUG]	No custom field ID found
2023-10-13	12:53:29	1811	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:29	1811	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:29	1811	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861303 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:29	1811	[DEBUG]	Store custom available field
2023-10-13	12:53:29	1811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861303,3,'0',1)
2023-10-13	12:53:29	1811	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:29	1811	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:29	1811	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861303 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:29	1811	[DEBUG]	Store custom available field
2023-10-13	12:53:29	1811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861303,6,'choisir la taille',3)
2023-10-13	12:53:29	1811	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:29	1811	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:29	1811	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:29	1811	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:29	1811	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861303 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:29	1811	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:29	1811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861303,8,1)
2023-10-13	12:53:29	1811	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:29	1811	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861303\":[1861303,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861303
2023-10-13	12:53:29	1811	[DEBUG]	Checking category
2023-10-13	12:53:29	1811	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:29	1811	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861303
2023-10-13	12:53:29	1811	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:29	1811	[DEBUG]	Executed store
2023-10-13	12:53:29	1811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861303','7312')
2023-10-13	12:53:29	1811	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:29	1811	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861303 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:29	1811	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:29	1811	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861303
2023-10-13	12:53:29	1812	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:29	1812	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:29	1812	[DEBUG]	Use field value for field taille
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:29	1812	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:29	1812	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:29	1812	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:29	1812	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:29	1812	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:29	1812	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:29	1812	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:29	1812	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:29	1812	[DEBUG]	Use field value for field published
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:29	1812	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field override
2023-10-13	12:53:29	1812	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:29	1812	[DEBUG]	Use field value for field slug
2023-10-13	12:53:29	1812	[DEBUG]	Process line 1812
2023-10-13	12:53:29	1812	[DEBUG]	Load a row
2023-10-13	12:53:29	1812	[DEBUG]	Processing item: 4524667393627
2023-10-13	12:53:29	1812	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:29	1812	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:29	1812	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5578_1'
2023-10-13	12:53:29	1812	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:29	1812	[DEBUG]	Processing product tax
2023-10-13	12:53:29	1812	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:29	1812	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:29	1812	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:29	1812	[DEBUG]	Query for Product
2023-10-13	12:53:29	1812	[DEBUG]	Executed store
2023-10-13	12:53:29	1812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861303','4524667393627','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:29	1812	[DEBUG]	No parent found
2023-10-13	12:53:29	1812	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861303 AND customfield_value = 'stockable'
2023-10-13	12:53:29	1812	[DEBUG]	Check product language entry
2023-10-13	12:53:29	1812	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861304
2023-10-13	12:53:29	1812	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:29	1812	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667393627' AND `virtuemart_product_id` != 1861304
2023-10-13	12:53:29	1812	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:29	1812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861304, '4524667393627')
2023-10-13	12:53:29	1812	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:29	1812	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-arriere-tourney-rdty300-noir-all' AND `virtuemart_product_id` != 1861304
2023-10-13	12:53:29	1812	[DEBUG]	Query for ProductLang
2023-10-13	12:53:29	1812	[DEBUG]	Executed store
2023-10-13	12:53:29	1812	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur arrière Tourney RDTY300 / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-arriere-tourney-rdty300-noir-all' WHERE `virtuemart_product_id` = '1861304'
2023-10-13	12:53:29	1812	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30076_shimano_derailleur_arriere_tourney_rdty300.jpg
2023-10-13	12:53:29	1812	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:29	1812	[DEBUG]	Process image file
2023-10-13	12:53:29	1812	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:29	1812	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:29	1812	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30076_shimano_derailleur_arriere_tourney_rdty300.jpg
2023-10-13	12:53:29	1812	[DEBUG]	Full name target: bcprisme/30076_shimano_derailleur_arriere_tourney_rdty300.jpg
2023-10-13	12:53:30	1812	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:30	1812	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30076_shimano_derailleur_arriere_tourney_rdty300.jpg'
2023-10-13	12:53:30	1812	[DEBUG]	Query for Media
2023-10-13	12:53:30	1812	[DEBUG]	Executed store
2023-10-13	12:53:30	1812	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30076_shimano_derailleur_arriere_tourney_rdty300.jpg',`file_url_thumb`='bcprisme/30076_shimano_derailleur_arriere_tourney_rdty300.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15857'
2023-10-13	12:53:30	1812	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:30	1812	[DEBUG]	Executed store
2023-10-13	12:53:30	1812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861304','15857','1')
2023-10-13	12:53:30	1812	[DEBUG]	Store product image relation
2023-10-13	12:53:30	1812	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:30	1812	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861304 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:30	1812	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:30	1812	[DEBUG]	Executed store
2023-10-13	12:53:30	1812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861304','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:30	1812	[DEBUG]	Checking manufacturer
2023-10-13	12:53:30	1812	[DEBUG]	Load a row
2023-10-13	12:53:30	1812	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:30	1812	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:30	1812	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:30	1812	[DEBUG]	Executed store
2023-10-13	12:53:30	1812	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:30	1812	[DEBUG]	Manufacturer exists
2023-10-13	12:53:30	1812	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:30	1812	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:30	1812	[DEBUG]	Executed store
2023-10-13	12:53:30	1812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861304','26')
2023-10-13	12:53:30	1812	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:30	1812	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:30	1812	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861304 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:30	1812	[DEBUG]	Store custom available field
2023-10-13	12:53:30	1812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861304,3,'',1)
2023-10-13	12:53:30	1812	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:30	1812	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:30	1812	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861304 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:30	1812	[DEBUG]	Store custom available field
2023-10-13	12:53:30	1812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861304,6,'All',3)
2023-10-13	12:53:30	1812	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:30	1812	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:30	1812	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861303
2023-10-13	12:53:30	1812	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:30	1812	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861303\":[1861303,8,1,\"choisir la taille\"],\"1861304\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861303
2023-10-13	12:53:30	1812	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:30	1812	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861304
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:30	1813	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field taille
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:30	1813	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:30	1813	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:30	1813	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:30	1813	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:30	1813	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:30	1813	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:30	1813	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field published
2023-10-13	12:53:30	1813	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:30	1813	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field override
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:30	1813	[DEBUG]	Use field value for field slug
2023-10-13	12:53:30	1813	[DEBUG]	Process line 1813
2023-10-13	12:53:30	1813	[DEBUG]	Load a row
2023-10-13	12:53:30	1813	[DEBUG]	Processing item: A_5581_1
2023-10-13	12:53:30	1813	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:30	1813	[DEBUG]	Processing product tax
2023-10-13	12:53:30	1813	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:30	1813	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:30	1813	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:30	1813	[DEBUG]	Query for Product
2023-10-13	12:53:30	1813	[DEBUG]	Executed store
2023-10-13	12:53:30	1813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5581_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:30	1813	[DEBUG]	Check product language entry
2023-10-13	12:53:30	1813	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861305
2023-10-13	12:53:30	1813	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:30	1813	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5581_1' AND `virtuemart_product_id` != 1861305
2023-10-13	12:53:30	1813	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:30	1813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861305, 'A_5581_1')
2023-10-13	12:53:30	1813	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:30	1813	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-arriere-shimano-rd-tx50-6-7-vit-noir' AND `virtuemart_product_id` != 1861305
2023-10-13	12:53:30	1813	[DEBUG]	Query for ProductLang
2023-10-13	12:53:30	1813	[DEBUG]	Executed store
2023-10-13	12:53:30	1813	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 45.320',`product_name`='SHIMANO Dérailleur arrière SHIMANO RD-TX50 6/7 vit / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-arriere-shimano-rd-tx50-6-7-vit-noir' WHERE `virtuemart_product_id` = '1861305'
2023-10-13	12:53:30	1813	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30080_shimano_derailleur_arriere_shimano_rd-tx50_6-7_vit.jpg
2023-10-13	12:53:30	1813	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:30	1813	[DEBUG]	Process image file
2023-10-13	12:53:30	1813	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:30	1813	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:30	1813	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30080_shimano_derailleur_arriere_shimano_rd-tx50_6-7_vit.jpg
2023-10-13	12:53:30	1813	[DEBUG]	Full name target: bcprisme/30080_shimano_derailleur_arriere_shimano_rd-tx50_6-7_vit.jpg
2023-10-13	12:53:31	1813	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:31	1813	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30080_shimano_derailleur_arriere_shimano_rd-tx50_6-7_vit.jpg'
2023-10-13	12:53:31	1813	[DEBUG]	Query for Media
2023-10-13	12:53:31	1813	[DEBUG]	Executed store
2023-10-13	12:53:31	1813	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30080_shimano_derailleur_arriere_shimano_rd-tx50_6-7_vit.jpg',`file_url_thumb`='bcprisme/30080_shimano_derailleur_arriere_shimano_rd-tx50_6-7_vit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366206'
2023-10-13	12:53:31	1813	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:31	1813	[DEBUG]	Executed store
2023-10-13	12:53:31	1813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861305','366206','1')
2023-10-13	12:53:31	1813	[DEBUG]	Store product image relation
2023-10-13	12:53:31	1813	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:31	1813	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861305 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:31	1813	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:31	1813	[DEBUG]	Executed store
2023-10-13	12:53:31	1813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861305','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:31	1813	[DEBUG]	Checking manufacturer
2023-10-13	12:53:31	1813	[DEBUG]	Load a row
2023-10-13	12:53:31	1813	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:31	1813	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:31	1813	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:31	1813	[DEBUG]	Executed store
2023-10-13	12:53:31	1813	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:31	1813	[DEBUG]	Manufacturer exists
2023-10-13	12:53:31	1813	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:31	1813	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:31	1813	[DEBUG]	Executed store
2023-10-13	12:53:31	1813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861305','26')
2023-10-13	12:53:31	1813	[DEBUG]	Find the custom field ID
2023-10-13	12:53:31	1813	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:31	1813	[DEBUG]	No custom field ID found
2023-10-13	12:53:31	1813	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:31	1813	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:31	1813	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861305 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:31	1813	[DEBUG]	Store custom available field
2023-10-13	12:53:31	1813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861305,3,'0',1)
2023-10-13	12:53:31	1813	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:31	1813	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:31	1813	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861305 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:31	1813	[DEBUG]	Store custom available field
2023-10-13	12:53:31	1813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861305,6,'choisir la taille',3)
2023-10-13	12:53:31	1813	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:31	1813	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:31	1813	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:31	1813	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:31	1813	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861305 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:31	1813	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:31	1813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861305,8,1)
2023-10-13	12:53:31	1813	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:31	1813	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861305\":[1861305,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861305
2023-10-13	12:53:31	1813	[DEBUG]	Checking category
2023-10-13	12:53:31	1813	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:31	1813	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861305
2023-10-13	12:53:31	1813	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:31	1813	[DEBUG]	Executed store
2023-10-13	12:53:31	1813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861305','7312')
2023-10-13	12:53:31	1813	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:31	1813	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861305 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:31	1813	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:31	1813	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861305
2023-10-13	12:53:31	1814	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:31	1814	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:31	1814	[DEBUG]	Use field value for field taille
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:31	1814	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:31	1814	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:31	1814	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:31	1814	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:31	1814	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:31	1814	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:31	1814	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:31	1814	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:31	1814	[DEBUG]	Use field value for field published
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:31	1814	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field override
2023-10-13	12:53:31	1814	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:31	1814	[DEBUG]	Use field value for field slug
2023-10-13	12:53:31	1814	[DEBUG]	Process line 1814
2023-10-13	12:53:31	1814	[DEBUG]	Load a row
2023-10-13	12:53:31	1814	[DEBUG]	Processing item: 1000000084948
2023-10-13	12:53:31	1814	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:31	1814	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:31	1814	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5581_1'
2023-10-13	12:53:31	1814	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:31	1814	[DEBUG]	Processing product tax
2023-10-13	12:53:31	1814	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:31	1814	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:31	1814	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:31	1814	[DEBUG]	Query for Product
2023-10-13	12:53:31	1814	[DEBUG]	Executed store
2023-10-13	12:53:31	1814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861305','1000000084948','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:31	1814	[DEBUG]	No parent found
2023-10-13	12:53:31	1814	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861305 AND customfield_value = 'stockable'
2023-10-13	12:53:31	1814	[DEBUG]	Check product language entry
2023-10-13	12:53:31	1814	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861306
2023-10-13	12:53:31	1814	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:31	1814	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000084948' AND `virtuemart_product_id` != 1861306
2023-10-13	12:53:31	1814	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:31	1814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861306, '1000000084948')
2023-10-13	12:53:31	1814	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:31	1814	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-arriere-shimano-rd-tx50-6-7-vit-noir-all' AND `virtuemart_product_id` != 1861306
2023-10-13	12:53:31	1814	[DEBUG]	Query for ProductLang
2023-10-13	12:53:31	1814	[DEBUG]	Executed store
2023-10-13	12:53:31	1814	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur arrière SHIMANO RD-TX50 6/7 vit / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-arriere-shimano-rd-tx50-6-7-vit-noir-all' WHERE `virtuemart_product_id` = '1861306'
2023-10-13	12:53:31	1814	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30080_shimano_derailleur_arriere_shimano_rd-tx50_6-7_vit.jpg
2023-10-13	12:53:31	1814	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:31	1814	[DEBUG]	Process image file
2023-10-13	12:53:31	1814	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:31	1814	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:31	1814	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30080_shimano_derailleur_arriere_shimano_rd-tx50_6-7_vit.jpg
2023-10-13	12:53:31	1814	[DEBUG]	Full name target: bcprisme/30080_shimano_derailleur_arriere_shimano_rd-tx50_6-7_vit.jpg
2023-10-13	12:53:32	1814	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:32	1814	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30080_shimano_derailleur_arriere_shimano_rd-tx50_6-7_vit.jpg'
2023-10-13	12:53:32	1814	[DEBUG]	Query for Media
2023-10-13	12:53:32	1814	[DEBUG]	Executed store
2023-10-13	12:53:32	1814	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30080_shimano_derailleur_arriere_shimano_rd-tx50_6-7_vit.jpg',`file_url_thumb`='bcprisme/30080_shimano_derailleur_arriere_shimano_rd-tx50_6-7_vit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366206'
2023-10-13	12:53:32	1814	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:32	1814	[DEBUG]	Executed store
2023-10-13	12:53:32	1814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861306','366206','1')
2023-10-13	12:53:32	1814	[DEBUG]	Store product image relation
2023-10-13	12:53:32	1814	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:32	1814	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861306 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:32	1814	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:32	1814	[DEBUG]	Executed store
2023-10-13	12:53:32	1814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861306','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:32	1814	[DEBUG]	Checking manufacturer
2023-10-13	12:53:32	1814	[DEBUG]	Load a row
2023-10-13	12:53:32	1814	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:32	1814	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:32	1814	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:32	1814	[DEBUG]	Executed store
2023-10-13	12:53:32	1814	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:32	1814	[DEBUG]	Manufacturer exists
2023-10-13	12:53:32	1814	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:32	1814	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:32	1814	[DEBUG]	Executed store
2023-10-13	12:53:32	1814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861306','26')
2023-10-13	12:53:32	1814	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:32	1814	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:32	1814	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861306 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:32	1814	[DEBUG]	Store custom available field
2023-10-13	12:53:32	1814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861306,3,'',1)
2023-10-13	12:53:32	1814	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:32	1814	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:32	1814	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861306 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:32	1814	[DEBUG]	Store custom available field
2023-10-13	12:53:32	1814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861306,6,'All',3)
2023-10-13	12:53:32	1814	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:32	1814	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:32	1814	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861305
2023-10-13	12:53:32	1814	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:32	1814	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861305\":[1861305,8,1,\"choisir la taille\"],\"1861306\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861305
2023-10-13	12:53:32	1814	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:32	1814	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861306
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:32	1815	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field taille
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:32	1815	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:32	1815	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:32	1815	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:32	1815	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:32	1815	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:32	1815	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:32	1815	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field published
2023-10-13	12:53:32	1815	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:32	1815	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field override
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:32	1815	[DEBUG]	Use field value for field slug
2023-10-13	12:53:32	1815	[DEBUG]	Process line 1815
2023-10-13	12:53:32	1815	[DEBUG]	Load a row
2023-10-13	12:53:32	1815	[DEBUG]	Processing item: A_5592_1
2023-10-13	12:53:32	1815	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:32	1815	[DEBUG]	Processing product tax
2023-10-13	12:53:32	1815	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:32	1815	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:32	1815	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:32	1815	[DEBUG]	Query for Product
2023-10-13	12:53:32	1815	[DEBUG]	Executed store
2023-10-13	12:53:32	1815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5592_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:32	1815	[DEBUG]	Check product language entry
2023-10-13	12:53:32	1815	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861307
2023-10-13	12:53:32	1815	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:32	1815	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5592_1' AND `virtuemart_product_id` != 1861307
2023-10-13	12:53:32	1815	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:32	1815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861307, 'A_5592_1')
2023-10-13	12:53:32	1815	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:32	1815	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cache-high-direct-mount-noir' AND `virtuemart_product_id` != 1861307
2023-10-13	12:53:32	1815	[DEBUG]	Query for ProductLang
2023-10-13	12:53:32	1815	[DEBUG]	Executed store
2023-10-13	12:53:32	1815	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7504E',`product_name`='SRAM Cache High Direct Mount / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cache-high-direct-mount-noir' WHERE `virtuemart_product_id` = '1861307'
2023-10-13	12:53:32	1815	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30092_cache_high_direct_mount.jpg
2023-10-13	12:53:32	1815	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:32	1815	[DEBUG]	Process image file
2023-10-13	12:53:32	1815	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:32	1815	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:32	1815	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30092_cache_high_direct_mount.jpg
2023-10-13	12:53:32	1815	[DEBUG]	Full name target: bcprisme/30092_cache_high_direct_mount.jpg
2023-10-13	12:53:33	1815	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:33	1815	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30092_cache_high_direct_mount.jpg'
2023-10-13	12:53:33	1815	[DEBUG]	Query for Media
2023-10-13	12:53:33	1815	[DEBUG]	Executed store
2023-10-13	12:53:33	1815	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30092_cache_high_direct_mount.jpg',`file_url_thumb`='bcprisme/30092_cache_high_direct_mount.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15858'
2023-10-13	12:53:33	1815	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:33	1815	[DEBUG]	Executed store
2023-10-13	12:53:33	1815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861307','15858','1')
2023-10-13	12:53:33	1815	[DEBUG]	Store product image relation
2023-10-13	12:53:33	1815	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:33	1815	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861307 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:33	1815	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:33	1815	[DEBUG]	Executed store
2023-10-13	12:53:33	1815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861307','0','22.7483751160631','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:33	1815	[DEBUG]	Checking manufacturer
2023-10-13	12:53:33	1815	[DEBUG]	Load a row
2023-10-13	12:53:33	1815	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:33	1815	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:53:33	1815	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:33	1815	[DEBUG]	Executed store
2023-10-13	12:53:33	1815	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:53:33	1815	[DEBUG]	Manufacturer exists
2023-10-13	12:53:33	1815	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:53:33	1815	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:33	1815	[DEBUG]	Executed store
2023-10-13	12:53:33	1815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861307','35')
2023-10-13	12:53:33	1815	[DEBUG]	Find the custom field ID
2023-10-13	12:53:33	1815	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:33	1815	[DEBUG]	No custom field ID found
2023-10-13	12:53:33	1815	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:33	1815	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:33	1815	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861307 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:33	1815	[DEBUG]	Store custom available field
2023-10-13	12:53:33	1815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861307,3,'0',1)
2023-10-13	12:53:33	1815	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:33	1815	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:33	1815	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861307 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:33	1815	[DEBUG]	Store custom available field
2023-10-13	12:53:33	1815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861307,6,'choisir la taille',3)
2023-10-13	12:53:33	1815	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:33	1815	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:33	1815	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:33	1815	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:33	1815	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861307 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:33	1815	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:33	1815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861307,8,1)
2023-10-13	12:53:33	1815	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:33	1815	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861307\":[1861307,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861307
2023-10-13	12:53:33	1815	[DEBUG]	Checking category
2023-10-13	12:53:33	1815	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:33	1815	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861307
2023-10-13	12:53:33	1815	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:33	1815	[DEBUG]	Executed store
2023-10-13	12:53:33	1815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861307','7312')
2023-10-13	12:53:33	1815	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:33	1815	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861307 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:33	1815	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:33	1815	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861307
2023-10-13	12:53:33	1816	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:33	1816	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:33	1816	[DEBUG]	Use field value for field taille
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:33	1816	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:33	1816	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:33	1816	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:33	1816	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:33	1816	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:33	1816	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:33	1816	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:33	1816	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:33	1816	[DEBUG]	Use field value for field published
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:33	1816	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field override
2023-10-13	12:53:33	1816	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:33	1816	[DEBUG]	Use field value for field slug
2023-10-13	12:53:33	1816	[DEBUG]	Process line 1816
2023-10-13	12:53:33	1816	[DEBUG]	Load a row
2023-10-13	12:53:33	1816	[DEBUG]	Processing item: 710845764295
2023-10-13	12:53:33	1816	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:33	1816	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:33	1816	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5592_1'
2023-10-13	12:53:33	1816	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:33	1816	[DEBUG]	Processing product tax
2023-10-13	12:53:33	1816	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:33	1816	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:33	1816	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:33	1816	[DEBUG]	Query for Product
2023-10-13	12:53:33	1816	[DEBUG]	Executed store
2023-10-13	12:53:33	1816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861307','710845764295','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:33	1816	[DEBUG]	No parent found
2023-10-13	12:53:33	1816	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861307 AND customfield_value = 'stockable'
2023-10-13	12:53:33	1816	[DEBUG]	Check product language entry
2023-10-13	12:53:33	1816	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861308
2023-10-13	12:53:33	1816	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:33	1816	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845764295' AND `virtuemart_product_id` != 1861308
2023-10-13	12:53:33	1816	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:33	1816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861308, '710845764295')
2023-10-13	12:53:33	1816	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:33	1816	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-cache-high-direct-mount-noir-unitaire' AND `virtuemart_product_id` != 1861308
2023-10-13	12:53:33	1816	[DEBUG]	Query for ProductLang
2023-10-13	12:53:33	1816	[DEBUG]	Executed store
2023-10-13	12:53:33	1816	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Cache High Direct Mount / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-cache-high-direct-mount-noir-unitaire' WHERE `virtuemart_product_id` = '1861308'
2023-10-13	12:53:33	1816	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30092_cache_high_direct_mount.jpg
2023-10-13	12:53:33	1816	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:33	1816	[DEBUG]	Process image file
2023-10-13	12:53:33	1816	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:33	1816	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:33	1816	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30092_cache_high_direct_mount.jpg
2023-10-13	12:53:33	1816	[DEBUG]	Full name target: bcprisme/30092_cache_high_direct_mount.jpg
2023-10-13	12:53:34	1816	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:34	1816	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30092_cache_high_direct_mount.jpg'
2023-10-13	12:53:34	1816	[DEBUG]	Query for Media
2023-10-13	12:53:34	1816	[DEBUG]	Executed store
2023-10-13	12:53:34	1816	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30092_cache_high_direct_mount.jpg',`file_url_thumb`='bcprisme/30092_cache_high_direct_mount.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15858'
2023-10-13	12:53:34	1816	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:34	1816	[DEBUG]	Executed store
2023-10-13	12:53:34	1816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861308','15858','1')
2023-10-13	12:53:34	1816	[DEBUG]	Store product image relation
2023-10-13	12:53:34	1816	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:34	1816	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861308 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:34	1816	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:34	1816	[DEBUG]	Executed store
2023-10-13	12:53:34	1816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861308','0','22.7483751160631','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:34	1816	[DEBUG]	Checking manufacturer
2023-10-13	12:53:34	1816	[DEBUG]	Load a row
2023-10-13	12:53:34	1816	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:34	1816	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:53:34	1816	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:34	1816	[DEBUG]	Executed store
2023-10-13	12:53:34	1816	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:53:34	1816	[DEBUG]	Manufacturer exists
2023-10-13	12:53:34	1816	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:53:34	1816	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:34	1816	[DEBUG]	Executed store
2023-10-13	12:53:34	1816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861308','35')
2023-10-13	12:53:34	1816	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:34	1816	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:34	1816	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861308 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:34	1816	[DEBUG]	Store custom available field
2023-10-13	12:53:34	1816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861308,3,'',1)
2023-10-13	12:53:34	1816	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:34	1816	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:53:34	1816	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861308 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:34	1816	[DEBUG]	Store custom available field
2023-10-13	12:53:34	1816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861308,6,'Unitaire',3)
2023-10-13	12:53:34	1816	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:34	1816	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:34	1816	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861307
2023-10-13	12:53:34	1816	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:34	1816	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861307\":[1861307,8,1,\"choisir la taille\"],\"1861308\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861307
2023-10-13	12:53:34	1816	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:34	1816	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861308
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:34	1817	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field taille
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:34	1817	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:34	1817	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:34	1817	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:34	1817	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:34	1817	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:34	1817	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field published
2023-10-13	12:53:34	1817	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:34	1817	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field override
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:34	1817	[DEBUG]	Use field value for field slug
2023-10-13	12:53:34	1817	[DEBUG]	Process line 1817
2023-10-13	12:53:34	1817	[DEBUG]	Load a row
2023-10-13	12:53:34	1817	[DEBUG]	Processing item: A_5846_1
2023-10-13	12:53:34	1817	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:34	1817	[DEBUG]	Processing product tax
2023-10-13	12:53:34	1817	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:34	1817	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:34	1817	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:34	1817	[DEBUG]	Query for Product
2023-10-13	12:53:34	1817	[DEBUG]	Executed store
2023-10-13	12:53:34	1817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5846_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:34	1817	[DEBUG]	Check product language entry
2023-10-13	12:53:34	1817	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861309
2023-10-13	12:53:34	1817	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:34	1817	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5846_1' AND `virtuemart_product_id` != 1861309
2023-10-13	12:53:34	1817	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:34	1817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861309, 'A_5846_1')
2023-10-13	12:53:34	1817	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:34	1817	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-acera-rd-m3000-9-vitesses-sgs-top-normal-noir' AND `virtuemart_product_id` != 1861309
2023-10-13	12:53:34	1817	[DEBUG]	Query for ProductLang
2023-10-13	12:53:34	1817	[DEBUG]	Executed store
2023-10-13	12:53:34	1817	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.42273',`product_name`='SHIMANO Dérailleur Acera RD-M3000 9 vitesses SGS Top-Normal  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-acera-rd-m3000-9-vitesses-sgs-top-normal-noir' WHERE `virtuemart_product_id` = '1861309'
2023-10-13	12:53:34	1817	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30410_shimano_derailleur_acera_rd-m3000_9_vitesses_sgs_top-normal_.jpg
2023-10-13	12:53:34	1817	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:34	1817	[DEBUG]	Process image file
2023-10-13	12:53:34	1817	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:34	1817	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:34	1817	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30410_shimano_derailleur_acera_rd-m3000_9_vitesses_sgs_top-normal_.jpg
2023-10-13	12:53:34	1817	[DEBUG]	Full name target: bcprisme/30410_shimano_derailleur_acera_rd-m3000_9_vitesses_sgs_top-normal_.jpg
2023-10-13	12:53:35	1817	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:35	1817	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30410_shimano_derailleur_acera_rd-m3000_9_vitesses_sgs_top-normal_.jpg'
2023-10-13	12:53:35	1817	[DEBUG]	Query for Media
2023-10-13	12:53:35	1817	[DEBUG]	Executed store
2023-10-13	12:53:35	1817	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30410_shimano_derailleur_acera_rd-m3000_9_vitesses_sgs_top-normal_.jpg',`file_url_thumb`='bcprisme/30410_shimano_derailleur_acera_rd-m3000_9_vitesses_sgs_top-normal_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '140004'
2023-10-13	12:53:35	1817	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:35	1817	[DEBUG]	Executed store
2023-10-13	12:53:35	1817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861309','140004','1')
2023-10-13	12:53:35	1817	[DEBUG]	Store product image relation
2023-10-13	12:53:35	1817	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:35	1817	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861309 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:35	1817	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:35	1817	[DEBUG]	Executed store
2023-10-13	12:53:35	1817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861309','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:35	1817	[DEBUG]	Checking manufacturer
2023-10-13	12:53:35	1817	[DEBUG]	Load a row
2023-10-13	12:53:35	1817	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:35	1817	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:35	1817	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:35	1817	[DEBUG]	Executed store
2023-10-13	12:53:35	1817	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:35	1817	[DEBUG]	Manufacturer exists
2023-10-13	12:53:35	1817	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:35	1817	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:35	1817	[DEBUG]	Executed store
2023-10-13	12:53:35	1817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861309','26')
2023-10-13	12:53:35	1817	[DEBUG]	Find the custom field ID
2023-10-13	12:53:35	1817	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:35	1817	[DEBUG]	No custom field ID found
2023-10-13	12:53:35	1817	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:35	1817	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:35	1817	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861309 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:35	1817	[DEBUG]	Store custom available field
2023-10-13	12:53:35	1817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861309,3,'0',1)
2023-10-13	12:53:35	1817	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:35	1817	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:35	1817	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861309 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:35	1817	[DEBUG]	Store custom available field
2023-10-13	12:53:35	1817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861309,6,'choisir la taille',3)
2023-10-13	12:53:35	1817	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:35	1817	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:35	1817	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:35	1817	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:35	1817	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861309 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:35	1817	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:35	1817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861309,8,1)
2023-10-13	12:53:35	1817	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:35	1817	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861309\":[1861309,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861309
2023-10-13	12:53:35	1817	[DEBUG]	Checking category
2023-10-13	12:53:35	1817	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:35	1817	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861309
2023-10-13	12:53:35	1817	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:35	1817	[DEBUG]	Executed store
2023-10-13	12:53:35	1817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861309','7312')
2023-10-13	12:53:35	1817	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:35	1817	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861309 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:35	1817	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:35	1817	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861309
2023-10-13	12:53:35	1818	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:35	1818	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:35	1818	[DEBUG]	Use field value for field taille
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:35	1818	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:35	1818	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:35	1818	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:35	1818	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:35	1818	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:35	1818	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:35	1818	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:35	1818	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:35	1818	[DEBUG]	Use field value for field published
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:35	1818	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field override
2023-10-13	12:53:35	1818	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:35	1818	[DEBUG]	Use field value for field slug
2023-10-13	12:53:35	1818	[DEBUG]	Process line 1818
2023-10-13	12:53:35	1818	[DEBUG]	Load a row
2023-10-13	12:53:35	1818	[DEBUG]	Processing item: 4524667921226
2023-10-13	12:53:35	1818	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:35	1818	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:35	1818	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5846_1'
2023-10-13	12:53:35	1818	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:35	1818	[DEBUG]	Processing product tax
2023-10-13	12:53:35	1818	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:35	1818	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:35	1818	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:35	1818	[DEBUG]	Query for Product
2023-10-13	12:53:35	1818	[DEBUG]	Executed store
2023-10-13	12:53:35	1818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861309','4524667921226','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:35	1818	[DEBUG]	No parent found
2023-10-13	12:53:35	1818	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861309 AND customfield_value = 'stockable'
2023-10-13	12:53:35	1818	[DEBUG]	Check product language entry
2023-10-13	12:53:35	1818	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861310
2023-10-13	12:53:35	1818	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:35	1818	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667921226' AND `virtuemart_product_id` != 1861310
2023-10-13	12:53:35	1818	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:35	1818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861310, '4524667921226')
2023-10-13	12:53:35	1818	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:35	1818	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-acera-rd-m3000-9-vitesses-sgs-top-normal-noir-all' AND `virtuemart_product_id` != 1861310
2023-10-13	12:53:35	1818	[DEBUG]	Query for ProductLang
2023-10-13	12:53:35	1818	[DEBUG]	Executed store
2023-10-13	12:53:35	1818	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Acera RD-M3000 9 vitesses SGS Top-Normal  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-acera-rd-m3000-9-vitesses-sgs-top-normal-noir-all' WHERE `virtuemart_product_id` = '1861310'
2023-10-13	12:53:35	1818	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30410_shimano_derailleur_acera_rd-m3000_9_vitesses_sgs_top-normal_.jpg
2023-10-13	12:53:35	1818	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:35	1818	[DEBUG]	Process image file
2023-10-13	12:53:35	1818	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:35	1818	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:35	1818	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30410_shimano_derailleur_acera_rd-m3000_9_vitesses_sgs_top-normal_.jpg
2023-10-13	12:53:35	1818	[DEBUG]	Full name target: bcprisme/30410_shimano_derailleur_acera_rd-m3000_9_vitesses_sgs_top-normal_.jpg
2023-10-13	12:53:36	1818	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:36	1818	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30410_shimano_derailleur_acera_rd-m3000_9_vitesses_sgs_top-normal_.jpg'
2023-10-13	12:53:36	1818	[DEBUG]	Query for Media
2023-10-13	12:53:36	1818	[DEBUG]	Executed store
2023-10-13	12:53:36	1818	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30410_shimano_derailleur_acera_rd-m3000_9_vitesses_sgs_top-normal_.jpg',`file_url_thumb`='bcprisme/30410_shimano_derailleur_acera_rd-m3000_9_vitesses_sgs_top-normal_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '140004'
2023-10-13	12:53:36	1818	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:36	1818	[DEBUG]	Executed store
2023-10-13	12:53:36	1818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861310','140004','1')
2023-10-13	12:53:36	1818	[DEBUG]	Store product image relation
2023-10-13	12:53:36	1818	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:36	1818	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861310 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:36	1818	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:36	1818	[DEBUG]	Executed store
2023-10-13	12:53:36	1818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861310','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:36	1818	[DEBUG]	Checking manufacturer
2023-10-13	12:53:36	1818	[DEBUG]	Load a row
2023-10-13	12:53:36	1818	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:36	1818	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:36	1818	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:36	1818	[DEBUG]	Executed store
2023-10-13	12:53:36	1818	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:36	1818	[DEBUG]	Manufacturer exists
2023-10-13	12:53:36	1818	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:36	1818	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:36	1818	[DEBUG]	Executed store
2023-10-13	12:53:36	1818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861310','26')
2023-10-13	12:53:36	1818	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:36	1818	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:36	1818	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861310 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:36	1818	[DEBUG]	Store custom available field
2023-10-13	12:53:36	1818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861310,3,'',1)
2023-10-13	12:53:36	1818	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:36	1818	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:36	1818	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861310 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:36	1818	[DEBUG]	Store custom available field
2023-10-13	12:53:36	1818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861310,6,'All',3)
2023-10-13	12:53:36	1818	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:36	1818	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:36	1818	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861309
2023-10-13	12:53:36	1818	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:36	1818	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861309\":[1861309,8,1,\"choisir la taille\"],\"1861310\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861309
2023-10-13	12:53:36	1818	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:36	1818	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861310
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:36	1819	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field taille
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:36	1819	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:36	1819	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:36	1819	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:36	1819	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:36	1819	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:36	1819	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field published
2023-10-13	12:53:36	1819	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:36	1819	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field override
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:36	1819	[DEBUG]	Use field value for field slug
2023-10-13	12:53:36	1819	[DEBUG]	Process line 1819
2023-10-13	12:53:36	1819	[DEBUG]	Load a row
2023-10-13	12:53:36	1819	[DEBUG]	Processing item: A_5847_1
2023-10-13	12:53:36	1819	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:36	1819	[DEBUG]	Processing product tax
2023-10-13	12:53:36	1819	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:36	1819	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:36	1819	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:36	1819	[DEBUG]	Query for Product
2023-10-13	12:53:36	1819	[DEBUG]	Executed store
2023-10-13	12:53:36	1819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5847_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:36	1819	[DEBUG]	Check product language entry
2023-10-13	12:53:36	1819	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861311
2023-10-13	12:53:36	1819	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:36	1819	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5847_1' AND `virtuemart_product_id` != 1861311
2023-10-13	12:53:36	1819	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:36	1819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861311, 'A_5847_1')
2023-10-13	12:53:37	1819	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:37	1819	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-altus-rd-m2000-9-vitesses-sgs-top-normal-noir' AND `virtuemart_product_id` != 1861311
2023-10-13	12:53:37	1819	[DEBUG]	Query for ProductLang
2023-10-13	12:53:37	1819	[DEBUG]	Executed store
2023-10-13	12:53:37	1819	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.70013',`product_name`='SHIMANO Dérailleur Altus RD-M2000 9 vitesses SGS Top-Normal   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-altus-rd-m2000-9-vitesses-sgs-top-normal-noir' WHERE `virtuemart_product_id` = '1861311'
2023-10-13	12:53:37	1819	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30411_shimano_derailleur_altus_rd-m2000_9_vitesses_sgs_top-normal__.jpg
2023-10-13	12:53:37	1819	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:37	1819	[DEBUG]	Process image file
2023-10-13	12:53:37	1819	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:37	1819	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:37	1819	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30411_shimano_derailleur_altus_rd-m2000_9_vitesses_sgs_top-normal__.jpg
2023-10-13	12:53:37	1819	[DEBUG]	Full name target: bcprisme/30411_shimano_derailleur_altus_rd-m2000_9_vitesses_sgs_top-normal__.jpg
2023-10-13	12:53:38	1819	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:38	1819	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30411_shimano_derailleur_altus_rd-m2000_9_vitesses_sgs_top-normal__.jpg'
2023-10-13	12:53:38	1819	[DEBUG]	Query for Media
2023-10-13	12:53:38	1819	[DEBUG]	Executed store
2023-10-13	12:53:38	1819	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30411_shimano_derailleur_altus_rd-m2000_9_vitesses_sgs_top-normal__.jpg',`file_url_thumb`='bcprisme/30411_shimano_derailleur_altus_rd-m2000_9_vitesses_sgs_top-normal__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15859'
2023-10-13	12:53:38	1819	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:38	1819	[DEBUG]	Executed store
2023-10-13	12:53:38	1819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861311','15859','1')
2023-10-13	12:53:38	1819	[DEBUG]	Store product image relation
2023-10-13	12:53:38	1819	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:38	1819	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861311 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:38	1819	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:38	1819	[DEBUG]	Executed store
2023-10-13	12:53:38	1819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861311','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:38	1819	[DEBUG]	Checking manufacturer
2023-10-13	12:53:38	1819	[DEBUG]	Load a row
2023-10-13	12:53:38	1819	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:38	1819	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:38	1819	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:38	1819	[DEBUG]	Executed store
2023-10-13	12:53:38	1819	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:38	1819	[DEBUG]	Manufacturer exists
2023-10-13	12:53:38	1819	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:38	1819	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:38	1819	[DEBUG]	Executed store
2023-10-13	12:53:38	1819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861311','26')
2023-10-13	12:53:38	1819	[DEBUG]	Find the custom field ID
2023-10-13	12:53:38	1819	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:38	1819	[DEBUG]	No custom field ID found
2023-10-13	12:53:38	1819	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:38	1819	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:38	1819	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861311 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:38	1819	[DEBUG]	Store custom available field
2023-10-13	12:53:38	1819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861311,3,'0',1)
2023-10-13	12:53:38	1819	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:38	1819	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:38	1819	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861311 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:38	1819	[DEBUG]	Store custom available field
2023-10-13	12:53:38	1819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861311,6,'choisir la taille',3)
2023-10-13	12:53:38	1819	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:38	1819	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:38	1819	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:38	1819	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:38	1819	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861311 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:38	1819	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:38	1819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861311,8,1)
2023-10-13	12:53:38	1819	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:38	1819	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861311\":[1861311,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861311
2023-10-13	12:53:38	1819	[DEBUG]	Checking category
2023-10-13	12:53:38	1819	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:38	1819	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861311
2023-10-13	12:53:38	1819	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:38	1819	[DEBUG]	Executed store
2023-10-13	12:53:38	1819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861311','7312')
2023-10-13	12:53:38	1819	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:38	1819	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861311 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:38	1819	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:38	1819	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861311
2023-10-13	12:53:38	1820	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:38	1820	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:38	1820	[DEBUG]	Use field value for field taille
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:38	1820	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:38	1820	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:38	1820	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:38	1820	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:38	1820	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:38	1820	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:38	1820	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:38	1820	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:38	1820	[DEBUG]	Use field value for field published
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:38	1820	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field override
2023-10-13	12:53:38	1820	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:38	1820	[DEBUG]	Use field value for field slug
2023-10-13	12:53:38	1820	[DEBUG]	Process line 1820
2023-10-13	12:53:38	1820	[DEBUG]	Load a row
2023-10-13	12:53:38	1820	[DEBUG]	Processing item: 4524667687214
2023-10-13	12:53:38	1820	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:38	1820	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:38	1820	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5847_1'
2023-10-13	12:53:38	1820	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:38	1820	[DEBUG]	Processing product tax
2023-10-13	12:53:38	1820	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:38	1820	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:38	1820	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:38	1820	[DEBUG]	Query for Product
2023-10-13	12:53:38	1820	[DEBUG]	Executed store
2023-10-13	12:53:38	1820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861311','4524667687214','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:38	1820	[DEBUG]	No parent found
2023-10-13	12:53:38	1820	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861311 AND customfield_value = 'stockable'
2023-10-13	12:53:38	1820	[DEBUG]	Check product language entry
2023-10-13	12:53:38	1820	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861312
2023-10-13	12:53:38	1820	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:38	1820	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667687214' AND `virtuemart_product_id` != 1861312
2023-10-13	12:53:38	1820	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:38	1820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861312, '4524667687214')
2023-10-13	12:53:38	1820	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:38	1820	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-altus-rd-m2000-9-vitesses-sgs-top-normal-noir-all' AND `virtuemart_product_id` != 1861312
2023-10-13	12:53:38	1820	[DEBUG]	Query for ProductLang
2023-10-13	12:53:38	1820	[DEBUG]	Executed store
2023-10-13	12:53:38	1820	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Altus RD-M2000 9 vitesses SGS Top-Normal   / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-altus-rd-m2000-9-vitesses-sgs-top-normal-noir-all' WHERE `virtuemart_product_id` = '1861312'
2023-10-13	12:53:38	1820	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30411_shimano_derailleur_altus_rd-m2000_9_vitesses_sgs_top-normal__.jpg
2023-10-13	12:53:38	1820	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:38	1820	[DEBUG]	Process image file
2023-10-13	12:53:38	1820	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:38	1820	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:38	1820	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30411_shimano_derailleur_altus_rd-m2000_9_vitesses_sgs_top-normal__.jpg
2023-10-13	12:53:38	1820	[DEBUG]	Full name target: bcprisme/30411_shimano_derailleur_altus_rd-m2000_9_vitesses_sgs_top-normal__.jpg
2023-10-13	12:53:39	1820	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:39	1820	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30411_shimano_derailleur_altus_rd-m2000_9_vitesses_sgs_top-normal__.jpg'
2023-10-13	12:53:39	1820	[DEBUG]	Query for Media
2023-10-13	12:53:39	1820	[DEBUG]	Executed store
2023-10-13	12:53:39	1820	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30411_shimano_derailleur_altus_rd-m2000_9_vitesses_sgs_top-normal__.jpg',`file_url_thumb`='bcprisme/30411_shimano_derailleur_altus_rd-m2000_9_vitesses_sgs_top-normal__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15859'
2023-10-13	12:53:39	1820	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:39	1820	[DEBUG]	Executed store
2023-10-13	12:53:39	1820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861312','15859','1')
2023-10-13	12:53:39	1820	[DEBUG]	Store product image relation
2023-10-13	12:53:39	1820	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:39	1820	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861312 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:39	1820	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:39	1820	[DEBUG]	Executed store
2023-10-13	12:53:39	1820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861312','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:39	1820	[DEBUG]	Checking manufacturer
2023-10-13	12:53:39	1820	[DEBUG]	Load a row
2023-10-13	12:53:39	1820	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:39	1820	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:39	1820	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:39	1820	[DEBUG]	Executed store
2023-10-13	12:53:39	1820	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:39	1820	[DEBUG]	Manufacturer exists
2023-10-13	12:53:39	1820	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:39	1820	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:39	1820	[DEBUG]	Executed store
2023-10-13	12:53:39	1820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861312','26')
2023-10-13	12:53:39	1820	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:39	1820	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:39	1820	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861312 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:39	1820	[DEBUG]	Store custom available field
2023-10-13	12:53:39	1820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861312,3,'',1)
2023-10-13	12:53:39	1820	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:39	1820	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:39	1820	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861312 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:39	1820	[DEBUG]	Store custom available field
2023-10-13	12:53:39	1820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861312,6,'All',3)
2023-10-13	12:53:39	1820	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:39	1820	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:39	1820	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861311
2023-10-13	12:53:39	1820	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:39	1820	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861311\":[1861311,8,1,\"choisir la taille\"],\"1861312\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861311
2023-10-13	12:53:39	1820	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:39	1820	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861312
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:39	1821	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field taille
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:39	1821	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:39	1821	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:39	1821	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:39	1821	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:39	1821	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:39	1821	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field published
2023-10-13	12:53:39	1821	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:39	1821	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field override
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:39	1821	[DEBUG]	Use field value for field slug
2023-10-13	12:53:39	1821	[DEBUG]	Process line 1821
2023-10-13	12:53:39	1821	[DEBUG]	Load a row
2023-10-13	12:53:39	1821	[DEBUG]	Processing item: A_5998_208
2023-10-13	12:53:39	1821	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:39	1821	[DEBUG]	Processing product tax
2023-10-13	12:53:39	1821	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:39	1821	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:39	1821	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:39	1821	[DEBUG]	Query for Product
2023-10-13	12:53:39	1821	[DEBUG]	Executed store
2023-10-13	12:53:39	1821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5998_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:39	1821	[DEBUG]	Check product language entry
2023-10-13	12:53:39	1821	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861313
2023-10-13	12:53:39	1821	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:39	1821	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5998_208' AND `virtuemart_product_id` != 1861313
2023-10-13	12:53:39	1821	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:39	1821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861313, 'A_5998_208')
2023-10-13	12:53:39	1821	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:39	1821	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-acera-rd-m360-7-8-vit-sgs-top-nor-mont-direct-noir-box-aucune' AND `virtuemart_product_id` != 1861313
2023-10-13	12:53:39	1821	[DEBUG]	Query for ProductLang
2023-10-13	12:53:39	1821	[DEBUG]	Executed store
2023-10-13	12:53:39	1821	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.46564',`product_name`='SHIMANO Dérailleur Acera RD-M360 7/8-vit SGS Top-Nor. mont. direct noir box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-acera-rd-m360-7-8-vit-sgs-top-nor-mont-direct-noir-box-aucune' WHERE `virtuemart_product_id` = '1861313'
2023-10-13	12:53:39	1821	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31600_shimano_derailleur_acera_rd-m360_7-8-vit_sgs_top-nor__mont__direct_noir_box.jpg
2023-10-13	12:53:39	1821	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:39	1821	[DEBUG]	Process image file
2023-10-13	12:53:39	1821	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:39	1821	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:39	1821	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31600_shimano_derailleur_acera_rd-m360_7-8-vit_sgs_top-nor__mont__direct_noir_box.jpg
2023-10-13	12:53:39	1821	[DEBUG]	Full name target: bcprisme/31600_shimano_derailleur_acera_rd-m360_7-8-vit_sgs_top-nor__mont__direct_noir_box.jpg
2023-10-13	12:53:40	1821	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:40	1821	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31600_shimano_derailleur_acera_rd-m360_7-8-vit_sgs_top-nor__mont__direct_noir_box.jpg'
2023-10-13	12:53:40	1821	[DEBUG]	Query for Media
2023-10-13	12:53:40	1821	[DEBUG]	Executed store
2023-10-13	12:53:40	1821	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31600_shimano_derailleur_acera_rd-m360_7-8-vit_sgs_top-nor__mont__direct_noir_box.jpg',`file_url_thumb`='bcprisme/31600_shimano_derailleur_acera_rd-m360_7-8-vit_sgs_top-nor__mont__direct_noir_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '138682'
2023-10-13	12:53:40	1821	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:40	1821	[DEBUG]	Executed store
2023-10-13	12:53:40	1821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861313','138682','1')
2023-10-13	12:53:40	1821	[DEBUG]	Store product image relation
2023-10-13	12:53:40	1821	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:40	1821	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861313 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:40	1821	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:40	1821	[DEBUG]	Executed store
2023-10-13	12:53:40	1821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861313','0','31.4763231197772','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:40	1821	[DEBUG]	Checking manufacturer
2023-10-13	12:53:40	1821	[DEBUG]	Load a row
2023-10-13	12:53:40	1821	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:40	1821	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:40	1821	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:40	1821	[DEBUG]	Executed store
2023-10-13	12:53:40	1821	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:40	1821	[DEBUG]	Manufacturer exists
2023-10-13	12:53:40	1821	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:40	1821	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:40	1821	[DEBUG]	Executed store
2023-10-13	12:53:40	1821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861313','123')
2023-10-13	12:53:40	1821	[DEBUG]	Find the custom field ID
2023-10-13	12:53:40	1821	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:40	1821	[DEBUG]	No custom field ID found
2023-10-13	12:53:40	1821	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:40	1821	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:40	1821	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861313 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:40	1821	[DEBUG]	Store custom available field
2023-10-13	12:53:40	1821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861313,3,'0',1)
2023-10-13	12:53:40	1821	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:40	1821	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:40	1821	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861313 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:40	1821	[DEBUG]	Store custom available field
2023-10-13	12:53:40	1821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861313,6,'choisir la taille',3)
2023-10-13	12:53:40	1821	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:40	1821	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:40	1821	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:40	1821	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:40	1821	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861313 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:40	1821	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:40	1821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861313,8,1)
2023-10-13	12:53:40	1821	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:40	1821	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861313\":[1861313,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861313
2023-10-13	12:53:40	1821	[DEBUG]	Checking category
2023-10-13	12:53:40	1821	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:40	1821	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861313
2023-10-13	12:53:40	1821	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:40	1821	[DEBUG]	Executed store
2023-10-13	12:53:40	1821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861313','7312')
2023-10-13	12:53:40	1821	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:40	1821	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861313 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:40	1821	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:40	1821	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861313
2023-10-13	12:53:40	1822	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:40	1822	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:40	1822	[DEBUG]	Use field value for field taille
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:40	1822	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:40	1822	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:40	1822	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:40	1822	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:40	1822	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:40	1822	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:40	1822	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:40	1822	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:40	1822	[DEBUG]	Use field value for field published
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:40	1822	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field override
2023-10-13	12:53:40	1822	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:40	1822	[DEBUG]	Use field value for field slug
2023-10-13	12:53:40	1822	[DEBUG]	Process line 1822
2023-10-13	12:53:40	1822	[DEBUG]	Load a row
2023-10-13	12:53:40	1822	[DEBUG]	Processing item: 4524667245438
2023-10-13	12:53:40	1822	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:40	1822	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:40	1822	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5998_208'
2023-10-13	12:53:40	1822	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:40	1822	[DEBUG]	Processing product tax
2023-10-13	12:53:40	1822	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:40	1822	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:40	1822	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:40	1822	[DEBUG]	Query for Product
2023-10-13	12:53:40	1822	[DEBUG]	Executed store
2023-10-13	12:53:40	1822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861313','4524667245438','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:40	1822	[DEBUG]	No parent found
2023-10-13	12:53:40	1822	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861313 AND customfield_value = 'stockable'
2023-10-13	12:53:40	1822	[DEBUG]	Check product language entry
2023-10-13	12:53:40	1822	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861314
2023-10-13	12:53:40	1822	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:40	1822	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667245438' AND `virtuemart_product_id` != 1861314
2023-10-13	12:53:40	1822	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:40	1822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861314, '4524667245438')
2023-10-13	12:53:40	1822	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:40	1822	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-acera-rd-m360-7-8-vit-sgs-top-nor-mont-direct-noir-box-aucune-all' AND `virtuemart_product_id` != 1861314
2023-10-13	12:53:40	1822	[DEBUG]	Query for ProductLang
2023-10-13	12:53:40	1822	[DEBUG]	Executed store
2023-10-13	12:53:40	1822	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Acera RD-M360 7/8-vit SGS Top-Nor. mont. direct noir box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-acera-rd-m360-7-8-vit-sgs-top-nor-mont-direct-noir-box-aucune-all' WHERE `virtuemart_product_id` = '1861314'
2023-10-13	12:53:40	1822	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31600_shimano_derailleur_acera_rd-m360_7-8-vit_sgs_top-nor__mont__direct_noir_box.jpg
2023-10-13	12:53:40	1822	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:40	1822	[DEBUG]	Process image file
2023-10-13	12:53:40	1822	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:40	1822	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:40	1822	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31600_shimano_derailleur_acera_rd-m360_7-8-vit_sgs_top-nor__mont__direct_noir_box.jpg
2023-10-13	12:53:40	1822	[DEBUG]	Full name target: bcprisme/31600_shimano_derailleur_acera_rd-m360_7-8-vit_sgs_top-nor__mont__direct_noir_box.jpg
2023-10-13	12:53:41	1822	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:41	1822	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31600_shimano_derailleur_acera_rd-m360_7-8-vit_sgs_top-nor__mont__direct_noir_box.jpg'
2023-10-13	12:53:41	1822	[DEBUG]	Query for Media
2023-10-13	12:53:41	1822	[DEBUG]	Executed store
2023-10-13	12:53:41	1822	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31600_shimano_derailleur_acera_rd-m360_7-8-vit_sgs_top-nor__mont__direct_noir_box.jpg',`file_url_thumb`='bcprisme/31600_shimano_derailleur_acera_rd-m360_7-8-vit_sgs_top-nor__mont__direct_noir_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '138682'
2023-10-13	12:53:41	1822	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:41	1822	[DEBUG]	Executed store
2023-10-13	12:53:41	1822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861314','138682','1')
2023-10-13	12:53:41	1822	[DEBUG]	Store product image relation
2023-10-13	12:53:41	1822	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:41	1822	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861314 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:41	1822	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:41	1822	[DEBUG]	Executed store
2023-10-13	12:53:41	1822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861314','0','31.4763231197772','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:41	1822	[DEBUG]	Checking manufacturer
2023-10-13	12:53:41	1822	[DEBUG]	Load a row
2023-10-13	12:53:41	1822	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:41	1822	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:41	1822	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:41	1822	[DEBUG]	Executed store
2023-10-13	12:53:41	1822	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:41	1822	[DEBUG]	Manufacturer exists
2023-10-13	12:53:41	1822	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:41	1822	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:41	1822	[DEBUG]	Executed store
2023-10-13	12:53:41	1822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861314','123')
2023-10-13	12:53:41	1822	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:41	1822	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:41	1822	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861314 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:41	1822	[DEBUG]	Store custom available field
2023-10-13	12:53:41	1822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861314,3,'',1)
2023-10-13	12:53:41	1822	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:41	1822	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:41	1822	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861314 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:41	1822	[DEBUG]	Store custom available field
2023-10-13	12:53:41	1822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861314,6,'All',3)
2023-10-13	12:53:41	1822	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:41	1822	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:41	1822	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861313
2023-10-13	12:53:41	1822	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:41	1822	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861313\":[1861313,8,1,\"choisir la taille\"],\"1861314\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861313
2023-10-13	12:53:41	1822	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:41	1822	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861314
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:41	1823	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field taille
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:41	1823	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:41	1823	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:41	1823	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:41	1823	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:41	1823	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:41	1823	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field published
2023-10-13	12:53:41	1823	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:41	1823	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field override
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:41	1823	[DEBUG]	Use field value for field slug
2023-10-13	12:53:41	1823	[DEBUG]	Process line 1823
2023-10-13	12:53:41	1823	[DEBUG]	Load a row
2023-10-13	12:53:41	1823	[DEBUG]	Processing item: A_6009_1
2023-10-13	12:53:41	1823	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:41	1823	[DEBUG]	Processing product tax
2023-10-13	12:53:41	1823	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:41	1823	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:41	1823	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:41	1823	[DEBUG]	Query for Product
2023-10-13	12:53:41	1823	[DEBUG]	Executed store
2023-10-13	12:53:41	1823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6009_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:41	1823	[DEBUG]	Check product language entry
2023-10-13	12:53:41	1823	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861315
2023-10-13	12:53:41	1823	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:41	1823	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6009_1' AND `virtuemart_product_id` != 1861315
2023-10-13	12:53:41	1823	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:41	1823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861315, 'A_6009_1')
2023-10-13	12:53:41	1823	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:41	1823	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-xtr-rd-m9100-12-vitesses-sgs-shadow-top-normal-direct-noir' AND `virtuemart_product_id` != 1861315
2023-10-13	12:53:41	1823	[DEBUG]	Query for ProductLang
2023-10-13	12:53:41	1823	[DEBUG]	Executed store
2023-10-13	12:53:41	1823	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.71831',`product_name`='SHIMANO Dérailleur Deore XTR RD-M9100 12 vitesses SGS Shadow+ Top Normal direct  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-xtr-rd-m9100-12-vitesses-sgs-shadow-top-normal-direct-noir' WHERE `virtuemart_product_id` = '1861315'
2023-10-13	12:53:41	1823	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31611_shimano_derailleur_deore_xtr_rd-m9100_12_vitesses_sgs_shadow+_top_normal_direct_.jpg
2023-10-13	12:53:41	1823	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:41	1823	[DEBUG]	Process image file
2023-10-13	12:53:41	1823	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:41	1823	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:41	1823	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31611_shimano_derailleur_deore_xtr_rd-m9100_12_vitesses_sgs_shadow+_top_normal_direct_.jpg
2023-10-13	12:53:41	1823	[DEBUG]	Full name target: bcprisme/31611_shimano_derailleur_deore_xtr_rd-m9100_12_vitesses_sgs_shadow+_top_normal_direct_.jpg
2023-10-13	12:53:42	1823	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:42	1823	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31611_shimano_derailleur_deore_xtr_rd-m9100_12_vitesses_sgs_shadow+_top_normal_direct_.jpg'
2023-10-13	12:53:42	1823	[DEBUG]	Query for Media
2023-10-13	12:53:42	1823	[DEBUG]	Executed store
2023-10-13	12:53:42	1823	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31611_shimano_derailleur_deore_xtr_rd-m9100_12_vitesses_sgs_shadow+_top_normal_direct_.jpg',`file_url_thumb`='bcprisme/31611_shimano_derailleur_deore_xtr_rd-m9100_12_vitesses_sgs_shadow+_top_normal_direct_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15860'
2023-10-13	12:53:42	1823	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:42	1823	[DEBUG]	Executed store
2023-10-13	12:53:42	1823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861315','15860','1')
2023-10-13	12:53:42	1823	[DEBUG]	Store product image relation
2023-10-13	12:53:42	1823	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:42	1823	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861315 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:42	1823	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:42	1823	[DEBUG]	Executed store
2023-10-13	12:53:42	1823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861315','0','259.052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:42	1823	[DEBUG]	Checking manufacturer
2023-10-13	12:53:42	1823	[DEBUG]	Load a row
2023-10-13	12:53:42	1823	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:42	1823	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:42	1823	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:42	1823	[DEBUG]	Executed store
2023-10-13	12:53:42	1823	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:42	1823	[DEBUG]	Manufacturer exists
2023-10-13	12:53:42	1823	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:42	1823	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:42	1823	[DEBUG]	Executed store
2023-10-13	12:53:42	1823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861315','26')
2023-10-13	12:53:42	1823	[DEBUG]	Find the custom field ID
2023-10-13	12:53:42	1823	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:42	1823	[DEBUG]	No custom field ID found
2023-10-13	12:53:42	1823	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:42	1823	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:42	1823	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861315 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:42	1823	[DEBUG]	Store custom available field
2023-10-13	12:53:42	1823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861315,3,'0',1)
2023-10-13	12:53:42	1823	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:42	1823	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:42	1823	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861315 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:42	1823	[DEBUG]	Store custom available field
2023-10-13	12:53:42	1823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861315,6,'choisir la taille',3)
2023-10-13	12:53:42	1823	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:42	1823	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:42	1823	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:42	1823	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:42	1823	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861315 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:42	1823	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:42	1823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861315,8,1)
2023-10-13	12:53:42	1823	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:42	1823	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861315\":[1861315,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861315
2023-10-13	12:53:42	1823	[DEBUG]	Checking category
2023-10-13	12:53:42	1823	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:42	1823	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861315
2023-10-13	12:53:42	1823	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:42	1823	[DEBUG]	Executed store
2023-10-13	12:53:42	1823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861315','7312')
2023-10-13	12:53:42	1823	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:42	1823	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861315 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:42	1823	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:42	1823	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861315
2023-10-13	12:53:42	1824	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:42	1824	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:42	1824	[DEBUG]	Use field value for field taille
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:42	1824	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:42	1824	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:42	1824	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:42	1824	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:42	1824	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:42	1824	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:42	1824	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:42	1824	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:42	1824	[DEBUG]	Use field value for field published
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:42	1824	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field override
2023-10-13	12:53:42	1824	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:42	1824	[DEBUG]	Use field value for field slug
2023-10-13	12:53:42	1824	[DEBUG]	Process line 1824
2023-10-13	12:53:42	1824	[DEBUG]	Load a row
2023-10-13	12:53:42	1824	[DEBUG]	Processing item: 4524667880257
2023-10-13	12:53:42	1824	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:42	1824	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:42	1824	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6009_1'
2023-10-13	12:53:42	1824	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:42	1824	[DEBUG]	Processing product tax
2023-10-13	12:53:42	1824	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:42	1824	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:42	1824	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:42	1824	[DEBUG]	Query for Product
2023-10-13	12:53:42	1824	[DEBUG]	Executed store
2023-10-13	12:53:42	1824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861315','4524667880257','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:42	1824	[DEBUG]	No parent found
2023-10-13	12:53:42	1824	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861315 AND customfield_value = 'stockable'
2023-10-13	12:53:42	1824	[DEBUG]	Check product language entry
2023-10-13	12:53:42	1824	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861316
2023-10-13	12:53:42	1824	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:42	1824	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667880257' AND `virtuemart_product_id` != 1861316
2023-10-13	12:53:42	1824	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:42	1824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861316, '4524667880257')
2023-10-13	12:53:42	1824	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:42	1824	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-xtr-rd-m9100-12-vitesses-sgs-shadow-top-normal-direct-noir-all' AND `virtuemart_product_id` != 1861316
2023-10-13	12:53:42	1824	[DEBUG]	Query for ProductLang
2023-10-13	12:53:42	1824	[DEBUG]	Executed store
2023-10-13	12:53:42	1824	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Deore XTR RD-M9100 12 vitesses SGS Shadow+ Top Normal direct  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-xtr-rd-m9100-12-vitesses-sgs-shadow-top-normal-direct-noir-all' WHERE `virtuemart_product_id` = '1861316'
2023-10-13	12:53:42	1824	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31611_shimano_derailleur_deore_xtr_rd-m9100_12_vitesses_sgs_shadow+_top_normal_direct_.jpg
2023-10-13	12:53:42	1824	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:42	1824	[DEBUG]	Process image file
2023-10-13	12:53:42	1824	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:42	1824	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:42	1824	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31611_shimano_derailleur_deore_xtr_rd-m9100_12_vitesses_sgs_shadow+_top_normal_direct_.jpg
2023-10-13	12:53:42	1824	[DEBUG]	Full name target: bcprisme/31611_shimano_derailleur_deore_xtr_rd-m9100_12_vitesses_sgs_shadow+_top_normal_direct_.jpg
2023-10-13	12:53:43	1824	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:43	1824	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31611_shimano_derailleur_deore_xtr_rd-m9100_12_vitesses_sgs_shadow+_top_normal_direct_.jpg'
2023-10-13	12:53:43	1824	[DEBUG]	Query for Media
2023-10-13	12:53:43	1824	[DEBUG]	Executed store
2023-10-13	12:53:43	1824	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31611_shimano_derailleur_deore_xtr_rd-m9100_12_vitesses_sgs_shadow+_top_normal_direct_.jpg',`file_url_thumb`='bcprisme/31611_shimano_derailleur_deore_xtr_rd-m9100_12_vitesses_sgs_shadow+_top_normal_direct_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15860'
2023-10-13	12:53:43	1824	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:43	1824	[DEBUG]	Executed store
2023-10-13	12:53:43	1824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861316','15860','1')
2023-10-13	12:53:43	1824	[DEBUG]	Store product image relation
2023-10-13	12:53:43	1824	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:43	1824	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861316 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:43	1824	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:43	1824	[DEBUG]	Executed store
2023-10-13	12:53:43	1824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861316','0','259.052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:43	1824	[DEBUG]	Checking manufacturer
2023-10-13	12:53:43	1824	[DEBUG]	Load a row
2023-10-13	12:53:43	1824	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:43	1824	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:43	1824	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:43	1824	[DEBUG]	Executed store
2023-10-13	12:53:43	1824	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:43	1824	[DEBUG]	Manufacturer exists
2023-10-13	12:53:43	1824	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:43	1824	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:43	1824	[DEBUG]	Executed store
2023-10-13	12:53:43	1824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861316','26')
2023-10-13	12:53:43	1824	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:43	1824	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:43	1824	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861316 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:43	1824	[DEBUG]	Store custom available field
2023-10-13	12:53:43	1824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861316,3,'',1)
2023-10-13	12:53:43	1824	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:43	1824	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:43	1824	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861316 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:43	1824	[DEBUG]	Store custom available field
2023-10-13	12:53:43	1824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861316,6,'All',3)
2023-10-13	12:53:43	1824	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:43	1824	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:43	1824	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861315
2023-10-13	12:53:43	1824	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:43	1824	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861315\":[1861315,8,1,\"choisir la taille\"],\"1861316\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861315
2023-10-13	12:53:43	1824	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:43	1824	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861316
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:43	1825	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field taille
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:43	1825	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:43	1825	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:43	1825	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:43	1825	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:43	1825	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:43	1825	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field published
2023-10-13	12:53:43	1825	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:43	1825	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field override
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:43	1825	[DEBUG]	Use field value for field slug
2023-10-13	12:53:43	1825	[DEBUG]	Process line 1825
2023-10-13	12:53:43	1825	[DEBUG]	Load a row
2023-10-13	12:53:43	1825	[DEBUG]	Processing item: A_6162_13
2023-10-13	12:53:43	1825	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:43	1825	[DEBUG]	Processing product tax
2023-10-13	12:53:43	1825	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:43	1825	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:43	1825	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:43	1825	[DEBUG]	Query for Product
2023-10-13	12:53:43	1825	[DEBUG]	Executed store
2023-10-13	12:53:43	1825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6162_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:43	1825	[DEBUG]	Check product language entry
2023-10-13	12:53:43	1825	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861317
2023-10-13	12:53:43	1825	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:43	1825	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6162_13' AND `virtuemart_product_id` != 1861317
2023-10-13	12:53:43	1825	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:43	1825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861317, 'A_6162_13')
2023-10-13	12:53:43	1825	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:43	1825	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-sram-x5-10-vitesses-long-cage-argent' AND `virtuemart_product_id` != 1861317
2023-10-13	12:53:43	1825	[DEBUG]	Query for ProductLang
2023-10-13	12:53:43	1825	[DEBUG]	Executed store
2023-10-13	12:53:43	1825	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7354K',`product_name`='SRAM Dérailleur arrière Sram X5 10 vitesses long cage  / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-sram-x5-10-vitesses-long-cage-argent' WHERE `virtuemart_product_id` = '1861317'
2023-10-13	12:53:43	1825	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31860_derailleur_arriere_sram_x5_9_vitesses_long_cage_.jpg
2023-10-13	12:53:43	1825	[DEBUG]	Identity string: ffd8ffe11a854578696600004d4d002a00000008
2023-10-13	12:53:43	1825	[DEBUG]	Process image file
2023-10-13	12:53:43	1825	[DEBUG]	Identity string: ffd8ffe11a854578696600004d4d002a00000008
2023-10-13	12:53:43	1825	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:43	1825	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31860_derailleur_arriere_sram_x5_9_vitesses_long_cage_.jpg
2023-10-13	12:53:43	1825	[DEBUG]	Full name target: bcprisme/31860_derailleur_arriere_sram_x5_9_vitesses_long_cage_.jpg
2023-10-13	12:53:44	1825	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:44	1825	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31860_derailleur_arriere_sram_x5_9_vitesses_long_cage_.jpg'
2023-10-13	12:53:44	1825	[DEBUG]	Query for Media
2023-10-13	12:53:44	1825	[DEBUG]	Executed store
2023-10-13	12:53:44	1825	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31860_derailleur_arriere_sram_x5_9_vitesses_long_cage_.jpg',`file_url_thumb`='bcprisme/31860_derailleur_arriere_sram_x5_9_vitesses_long_cage_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '996838'
2023-10-13	12:53:44	1825	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:44	1825	[DEBUG]	Executed store
2023-10-13	12:53:44	1825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861317','996838','1')
2023-10-13	12:53:44	1825	[DEBUG]	Store product image relation
2023-10-13	12:53:44	1825	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:44	1825	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861317 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:44	1825	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:44	1825	[DEBUG]	Executed store
2023-10-13	12:53:44	1825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861317','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:44	1825	[DEBUG]	Checking manufacturer
2023-10-13	12:53:44	1825	[DEBUG]	Load a row
2023-10-13	12:53:44	1825	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:44	1825	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:53:44	1825	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:44	1825	[DEBUG]	Executed store
2023-10-13	12:53:44	1825	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:53:44	1825	[DEBUG]	Manufacturer exists
2023-10-13	12:53:44	1825	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:53:44	1825	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:44	1825	[DEBUG]	Executed store
2023-10-13	12:53:44	1825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861317','35')
2023-10-13	12:53:44	1825	[DEBUG]	Find the custom field ID
2023-10-13	12:53:44	1825	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:44	1825	[DEBUG]	No custom field ID found
2023-10-13	12:53:44	1825	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:44	1825	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:44	1825	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861317 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:44	1825	[DEBUG]	Store custom available field
2023-10-13	12:53:44	1825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861317,3,'0',1)
2023-10-13	12:53:44	1825	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:44	1825	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:44	1825	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861317 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:44	1825	[DEBUG]	Store custom available field
2023-10-13	12:53:44	1825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861317,6,'choisir la taille',3)
2023-10-13	12:53:44	1825	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:44	1825	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:44	1825	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:44	1825	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:44	1825	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861317 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:44	1825	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:44	1825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861317,8,1)
2023-10-13	12:53:44	1825	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:44	1825	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861317\":[1861317,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861317
2023-10-13	12:53:44	1825	[DEBUG]	Checking category
2023-10-13	12:53:44	1825	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:44	1825	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861317
2023-10-13	12:53:44	1825	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:44	1825	[DEBUG]	Executed store
2023-10-13	12:53:44	1825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861317','7312')
2023-10-13	12:53:44	1825	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:44	1825	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861317 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:44	1825	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:44	1825	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861317
2023-10-13	12:53:44	1826	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:44	1826	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:44	1826	[DEBUG]	Use field value for field taille
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:44	1826	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:44	1826	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:44	1826	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:44	1826	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:44	1826	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:44	1826	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:44	1826	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:44	1826	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:44	1826	[DEBUG]	Use field value for field published
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:44	1826	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field override
2023-10-13	12:53:44	1826	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:44	1826	[DEBUG]	Use field value for field slug
2023-10-13	12:53:44	1826	[DEBUG]	Process line 1826
2023-10-13	12:53:44	1826	[DEBUG]	Load a row
2023-10-13	12:53:44	1826	[DEBUG]	Processing item: 710845673818
2023-10-13	12:53:44	1826	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:44	1826	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:44	1826	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6162_13'
2023-10-13	12:53:44	1826	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:44	1826	[DEBUG]	Processing product tax
2023-10-13	12:53:44	1826	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:44	1826	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:44	1826	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:44	1826	[DEBUG]	Query for Product
2023-10-13	12:53:44	1826	[DEBUG]	Executed store
2023-10-13	12:53:44	1826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861317','710845673818','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:44	1826	[DEBUG]	No parent found
2023-10-13	12:53:44	1826	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861317 AND customfield_value = 'stockable'
2023-10-13	12:53:44	1826	[DEBUG]	Check product language entry
2023-10-13	12:53:44	1826	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861318
2023-10-13	12:53:44	1826	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:44	1826	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845673818' AND `virtuemart_product_id` != 1861318
2023-10-13	12:53:44	1826	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:44	1826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861318, '710845673818')
2023-10-13	12:53:44	1826	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:44	1826	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-sram-x5-10-vitesses-long-cage-argent-unitaire' AND `virtuemart_product_id` != 1861318
2023-10-13	12:53:44	1826	[DEBUG]	Query for ProductLang
2023-10-13	12:53:44	1826	[DEBUG]	Executed store
2023-10-13	12:53:44	1826	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Dérailleur arrière Sram X5 10 vitesses long cage  / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-sram-x5-10-vitesses-long-cage-argent-unitaire' WHERE `virtuemart_product_id` = '1861318'
2023-10-13	12:53:44	1826	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31860_derailleur_arriere_sram_x5_9_vitesses_long_cage_.jpg
2023-10-13	12:53:44	1826	[DEBUG]	Identity string: ffd8ffe11a854578696600004d4d002a00000008
2023-10-13	12:53:44	1826	[DEBUG]	Process image file
2023-10-13	12:53:44	1826	[DEBUG]	Identity string: ffd8ffe11a854578696600004d4d002a00000008
2023-10-13	12:53:44	1826	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:44	1826	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31860_derailleur_arriere_sram_x5_9_vitesses_long_cage_.jpg
2023-10-13	12:53:44	1826	[DEBUG]	Full name target: bcprisme/31860_derailleur_arriere_sram_x5_9_vitesses_long_cage_.jpg
2023-10-13	12:53:45	1826	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:45	1826	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31860_derailleur_arriere_sram_x5_9_vitesses_long_cage_.jpg'
2023-10-13	12:53:45	1826	[DEBUG]	Query for Media
2023-10-13	12:53:45	1826	[DEBUG]	Executed store
2023-10-13	12:53:45	1826	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31860_derailleur_arriere_sram_x5_9_vitesses_long_cage_.jpg',`file_url_thumb`='bcprisme/31860_derailleur_arriere_sram_x5_9_vitesses_long_cage_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '996838'
2023-10-13	12:53:45	1826	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:45	1826	[DEBUG]	Executed store
2023-10-13	12:53:45	1826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861318','996838','1')
2023-10-13	12:53:45	1826	[DEBUG]	Store product image relation
2023-10-13	12:53:45	1826	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:45	1826	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861318 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:45	1826	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:45	1826	[DEBUG]	Executed store
2023-10-13	12:53:45	1826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861318','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:45	1826	[DEBUG]	Checking manufacturer
2023-10-13	12:53:45	1826	[DEBUG]	Load a row
2023-10-13	12:53:45	1826	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:45	1826	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:53:45	1826	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:45	1826	[DEBUG]	Executed store
2023-10-13	12:53:45	1826	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:53:45	1826	[DEBUG]	Manufacturer exists
2023-10-13	12:53:45	1826	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:53:45	1826	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:45	1826	[DEBUG]	Executed store
2023-10-13	12:53:45	1826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861318','35')
2023-10-13	12:53:45	1826	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:45	1826	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:45	1826	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861318 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:45	1826	[DEBUG]	Store custom available field
2023-10-13	12:53:45	1826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861318,3,'',1)
2023-10-13	12:53:45	1826	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:45	1826	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:53:45	1826	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861318 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:45	1826	[DEBUG]	Store custom available field
2023-10-13	12:53:45	1826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861318,6,'Unitaire',3)
2023-10-13	12:53:45	1826	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:45	1826	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:45	1826	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861317
2023-10-13	12:53:45	1826	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:45	1826	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861317\":[1861317,8,1,\"choisir la taille\"],\"1861318\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861317
2023-10-13	12:53:45	1826	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:45	1826	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861318
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:45	1827	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field taille
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:45	1827	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:45	1827	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:45	1827	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:45	1827	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:45	1827	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:45	1827	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field published
2023-10-13	12:53:45	1827	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:45	1827	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field override
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:45	1827	[DEBUG]	Use field value for field slug
2023-10-13	12:53:45	1827	[DEBUG]	Process line 1827
2023-10-13	12:53:45	1827	[DEBUG]	Load a row
2023-10-13	12:53:45	1827	[DEBUG]	Processing item: A_6173_208
2023-10-13	12:53:45	1827	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:45	1827	[DEBUG]	Processing product tax
2023-10-13	12:53:45	1827	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:45	1827	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:45	1827	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:45	1827	[DEBUG]	Query for Product
2023-10-13	12:53:45	1827	[DEBUG]	Executed store
2023-10-13	12:53:45	1827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6173_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:45	1827	[DEBUG]	Check product language entry
2023-10-13	12:53:45	1827	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861319
2023-10-13	12:53:45	1827	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:45	1827	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6173_208' AND `virtuemart_product_id` != 1861319
2023-10-13	12:53:45	1827	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:45	1827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861319, 'A_6173_208')
2023-10-13	12:53:45	1827	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:45	1827	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-dura-ace-fd-r9100-do-sw-61-66-type-a-braser-box-aucune' AND `virtuemart_product_id` != 1861319
2023-10-13	12:53:45	1827	[DEBUG]	Query for ProductLang
2023-10-13	12:53:45	1827	[DEBUG]	Executed store
2023-10-13	12:53:45	1827	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.67017',`product_name`='SHIMANO Dérailleur avant Dura-Ace FD-R9100 Do-Sw. 61-66°type à braser box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-dura-ace-fd-r9100-do-sw-61-66-type-a-braser-box-aucune' WHERE `virtuemart_product_id` = '1861319'
2023-10-13	12:53:45	1827	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31870_shimano_derailleur_avant_dura-ace_fd-r9100_do-sw__61-66_type_à_braser_box.jpg
2023-10-13	12:53:45	1827	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:53:45	1827	[DEBUG]	Process image file
2023-10-13	12:53:45	1827	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:53:45	1827	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:45	1827	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31870_shimano_derailleur_avant_dura-ace_fd-r9100_do-sw__61-66_type_à_braser_box.jpg
2023-10-13	12:53:45	1827	[DEBUG]	Full name target: bcprisme/31870_shimano_derailleur_avant_dura-ace_fd-r9100_do-sw__61-66_type_à_braser_box.jpg
2023-10-13	12:53:46	1827	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:46	1827	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31870_shimano_derailleur_avant_dura-ace_fd-r9100_do-sw__61-66_type_à_braser_box.jpg'
2023-10-13	12:53:46	1827	[DEBUG]	Query for Media
2023-10-13	12:53:46	1827	[DEBUG]	Executed store
2023-10-13	12:53:46	1827	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31870_shimano_derailleur_avant_dura-ace_fd-r9100_do-sw__61-66_type_à_braser_box.jpg',`file_url_thumb`='bcprisme/31870_shimano_derailleur_avant_dura-ace_fd-r9100_do-sw__61-66_type_à_braser_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330638'
2023-10-13	12:53:46	1827	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:46	1827	[DEBUG]	Executed store
2023-10-13	12:53:46	1827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861319','1330638','1')
2023-10-13	12:53:46	1827	[DEBUG]	Store product image relation
2023-10-13	12:53:46	1827	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:46	1827	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861319 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:46	1827	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:46	1827	[DEBUG]	Executed store
2023-10-13	12:53:46	1827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861319','0','143.825441039926','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:46	1827	[DEBUG]	Checking manufacturer
2023-10-13	12:53:46	1827	[DEBUG]	Load a row
2023-10-13	12:53:46	1827	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:46	1827	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:46	1827	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:46	1827	[DEBUG]	Executed store
2023-10-13	12:53:46	1827	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:46	1827	[DEBUG]	Manufacturer exists
2023-10-13	12:53:46	1827	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:46	1827	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:46	1827	[DEBUG]	Executed store
2023-10-13	12:53:46	1827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861319','26')
2023-10-13	12:53:46	1827	[DEBUG]	Find the custom field ID
2023-10-13	12:53:46	1827	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:46	1827	[DEBUG]	No custom field ID found
2023-10-13	12:53:46	1827	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:46	1827	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:46	1827	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861319 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:46	1827	[DEBUG]	Store custom available field
2023-10-13	12:53:46	1827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861319,3,'0',1)
2023-10-13	12:53:46	1827	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:46	1827	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:46	1827	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861319 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:46	1827	[DEBUG]	Store custom available field
2023-10-13	12:53:46	1827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861319,6,'choisir la taille',3)
2023-10-13	12:53:46	1827	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:46	1827	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:46	1827	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:46	1827	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:46	1827	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861319 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:46	1827	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:46	1827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861319,8,1)
2023-10-13	12:53:46	1827	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:46	1827	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861319\":[1861319,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861319
2023-10-13	12:53:46	1827	[DEBUG]	Checking category
2023-10-13	12:53:46	1827	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:46	1827	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861319
2023-10-13	12:53:46	1827	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:46	1827	[DEBUG]	Executed store
2023-10-13	12:53:46	1827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861319','7312')
2023-10-13	12:53:46	1827	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:46	1827	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861319 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:46	1827	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:46	1827	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861319
2023-10-13	12:53:46	1828	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:46	1828	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:46	1828	[DEBUG]	Use field value for field taille
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:46	1828	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:46	1828	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:46	1828	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:46	1828	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:46	1828	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:46	1828	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:46	1828	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:46	1828	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:46	1828	[DEBUG]	Use field value for field published
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:46	1828	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field override
2023-10-13	12:53:46	1828	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:46	1828	[DEBUG]	Use field value for field slug
2023-10-13	12:53:46	1828	[DEBUG]	Process line 1828
2023-10-13	12:53:46	1828	[DEBUG]	Load a row
2023-10-13	12:53:46	1828	[DEBUG]	Processing item: 4524667741749
2023-10-13	12:53:46	1828	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:46	1828	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:46	1828	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6173_208'
2023-10-13	12:53:46	1828	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:46	1828	[DEBUG]	Processing product tax
2023-10-13	12:53:46	1828	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:46	1828	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:46	1828	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:46	1828	[DEBUG]	Query for Product
2023-10-13	12:53:46	1828	[DEBUG]	Executed store
2023-10-13	12:53:46	1828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861319','4524667741749','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:46	1828	[DEBUG]	No parent found
2023-10-13	12:53:46	1828	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861319 AND customfield_value = 'stockable'
2023-10-13	12:53:46	1828	[DEBUG]	Check product language entry
2023-10-13	12:53:46	1828	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861320
2023-10-13	12:53:46	1828	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:46	1828	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667741749' AND `virtuemart_product_id` != 1861320
2023-10-13	12:53:46	1828	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:46	1828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861320, '4524667741749')
2023-10-13	12:53:46	1828	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:46	1828	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-dura-ace-fd-r9100-do-sw-61-66-type-a-braser-box-aucune-all' AND `virtuemart_product_id` != 1861320
2023-10-13	12:53:46	1828	[DEBUG]	Query for ProductLang
2023-10-13	12:53:46	1828	[DEBUG]	Executed store
2023-10-13	12:53:46	1828	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant Dura-Ace FD-R9100 Do-Sw. 61-66°type à braser box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-dura-ace-fd-r9100-do-sw-61-66-type-a-braser-box-aucune-all' WHERE `virtuemart_product_id` = '1861320'
2023-10-13	12:53:46	1828	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31870_shimano_derailleur_avant_dura-ace_fd-r9100_do-sw__61-66_type_à_braser_box.jpg
2023-10-13	12:53:46	1828	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:53:46	1828	[DEBUG]	Process image file
2023-10-13	12:53:46	1828	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:53:46	1828	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:46	1828	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31870_shimano_derailleur_avant_dura-ace_fd-r9100_do-sw__61-66_type_à_braser_box.jpg
2023-10-13	12:53:46	1828	[DEBUG]	Full name target: bcprisme/31870_shimano_derailleur_avant_dura-ace_fd-r9100_do-sw__61-66_type_à_braser_box.jpg
2023-10-13	12:53:47	1828	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:47	1828	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31870_shimano_derailleur_avant_dura-ace_fd-r9100_do-sw__61-66_type_à_braser_box.jpg'
2023-10-13	12:53:47	1828	[DEBUG]	Query for Media
2023-10-13	12:53:47	1828	[DEBUG]	Executed store
2023-10-13	12:53:47	1828	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31870_shimano_derailleur_avant_dura-ace_fd-r9100_do-sw__61-66_type_à_braser_box.jpg',`file_url_thumb`='bcprisme/31870_shimano_derailleur_avant_dura-ace_fd-r9100_do-sw__61-66_type_à_braser_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330638'
2023-10-13	12:53:47	1828	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:47	1828	[DEBUG]	Executed store
2023-10-13	12:53:47	1828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861320','1330638','1')
2023-10-13	12:53:47	1828	[DEBUG]	Store product image relation
2023-10-13	12:53:47	1828	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:47	1828	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861320 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:47	1828	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:47	1828	[DEBUG]	Executed store
2023-10-13	12:53:47	1828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861320','0','143.825441039926','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:47	1828	[DEBUG]	Checking manufacturer
2023-10-13	12:53:47	1828	[DEBUG]	Load a row
2023-10-13	12:53:47	1828	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:47	1828	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:47	1828	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:47	1828	[DEBUG]	Executed store
2023-10-13	12:53:47	1828	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:47	1828	[DEBUG]	Manufacturer exists
2023-10-13	12:53:47	1828	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:47	1828	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:47	1828	[DEBUG]	Executed store
2023-10-13	12:53:47	1828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861320','26')
2023-10-13	12:53:47	1828	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:47	1828	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:47	1828	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861320 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:47	1828	[DEBUG]	Store custom available field
2023-10-13	12:53:47	1828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861320,3,'',1)
2023-10-13	12:53:47	1828	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:47	1828	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:47	1828	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861320 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:47	1828	[DEBUG]	Store custom available field
2023-10-13	12:53:47	1828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861320,6,'All',3)
2023-10-13	12:53:47	1828	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:47	1828	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:47	1828	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861319
2023-10-13	12:53:47	1828	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:47	1828	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861319\":[1861319,8,1,\"choisir la taille\"],\"1861320\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861319
2023-10-13	12:53:47	1828	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:47	1828	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861320
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:47	1829	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field taille
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:47	1829	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:47	1829	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:47	1829	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:47	1829	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:47	1829	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:47	1829	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field published
2023-10-13	12:53:47	1829	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:47	1829	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field override
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:47	1829	[DEBUG]	Use field value for field slug
2023-10-13	12:53:47	1829	[DEBUG]	Process line 1829
2023-10-13	12:53:47	1829	[DEBUG]	Load a row
2023-10-13	12:53:47	1829	[DEBUG]	Processing item: A_6383_4
2023-10-13	12:53:47	1829	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:47	1829	[DEBUG]	Processing product tax
2023-10-13	12:53:47	1829	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:47	1829	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:47	1829	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:47	1829	[DEBUG]	Query for Product
2023-10-13	12:53:47	1829	[DEBUG]	Executed store
2023-10-13	12:53:47	1829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6383_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:47	1829	[DEBUG]	Check product language entry
2023-10-13	12:53:47	1829	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861321
2023-10-13	12:53:47	1829	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:47	1829	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6383_4' AND `virtuemart_product_id` != 1861321
2023-10-13	12:53:47	1829	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:47	1829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861321, 'A_6383_4')
2023-10-13	12:53:47	1829	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:47	1829	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-ultegra-rd-r8000-11-vit-ss-mont-direct-acier' AND `virtuemart_product_id` != 1861321
2023-10-13	12:53:47	1829	[DEBUG]	Query for ProductLang
2023-10-13	12:53:47	1829	[DEBUG]	Executed store
2023-10-13	12:53:47	1829	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.69289',`product_name`='SHIMANO Dérailleur ultegra RD-R8000 11 vit. SS mont.direct / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-ultegra-rd-r8000-11-vit-ss-mont-direct-acier' WHERE `virtuemart_product_id` = '1861321'
2023-10-13	12:53:47	1829	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32266_shimano_derailleur_ultegra_rd-r8000_11_vit__ss_mont_direct.jpg
2023-10-13	12:53:47	1829	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:47	1829	[DEBUG]	Process image file
2023-10-13	12:53:47	1829	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:47	1829	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:47	1829	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32266_shimano_derailleur_ultegra_rd-r8000_11_vit__ss_mont_direct.jpg
2023-10-13	12:53:47	1829	[DEBUG]	Full name target: bcprisme/32266_shimano_derailleur_ultegra_rd-r8000_11_vit__ss_mont_direct.jpg
2023-10-13	12:53:48	1829	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:48	1829	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32266_shimano_derailleur_ultegra_rd-r8000_11_vit__ss_mont_direct.jpg'
2023-10-13	12:53:48	1829	[DEBUG]	Query for Media
2023-10-13	12:53:48	1829	[DEBUG]	Executed store
2023-10-13	12:53:48	1829	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32266_shimano_derailleur_ultegra_rd-r8000_11_vit__ss_mont_direct.jpg',`file_url_thumb`='bcprisme/32266_shimano_derailleur_ultegra_rd-r8000_11_vit__ss_mont_direct.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15278'
2023-10-13	12:53:48	1829	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:48	1829	[DEBUG]	Executed store
2023-10-13	12:53:48	1829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861321','15278','1')
2023-10-13	12:53:48	1829	[DEBUG]	Store product image relation
2023-10-13	12:53:48	1829	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:48	1829	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861321 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:48	1829	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:48	1829	[DEBUG]	Executed store
2023-10-13	12:53:48	1829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861321','0','109.563602599814','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:48	1829	[DEBUG]	Checking manufacturer
2023-10-13	12:53:48	1829	[DEBUG]	Load a row
2023-10-13	12:53:48	1829	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:48	1829	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:48	1829	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:48	1829	[DEBUG]	Executed store
2023-10-13	12:53:48	1829	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:48	1829	[DEBUG]	Manufacturer exists
2023-10-13	12:53:48	1829	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:48	1829	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:48	1829	[DEBUG]	Executed store
2023-10-13	12:53:48	1829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861321','26')
2023-10-13	12:53:48	1829	[DEBUG]	Find the custom field ID
2023-10-13	12:53:48	1829	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:48	1829	[DEBUG]	No custom field ID found
2023-10-13	12:53:48	1829	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:48	1829	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:48	1829	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861321 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:48	1829	[DEBUG]	Store custom available field
2023-10-13	12:53:48	1829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861321,3,'0',1)
2023-10-13	12:53:48	1829	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:48	1829	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:48	1829	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861321 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:48	1829	[DEBUG]	Store custom available field
2023-10-13	12:53:48	1829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861321,6,'choisir la taille',3)
2023-10-13	12:53:48	1829	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:48	1829	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:48	1829	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:48	1829	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:48	1829	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861321 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:48	1829	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:48	1829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861321,8,1)
2023-10-13	12:53:48	1829	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:48	1829	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861321\":[1861321,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861321
2023-10-13	12:53:48	1829	[DEBUG]	Checking category
2023-10-13	12:53:48	1829	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:48	1829	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861321
2023-10-13	12:53:48	1829	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:48	1829	[DEBUG]	Executed store
2023-10-13	12:53:48	1829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861321','7312')
2023-10-13	12:53:48	1829	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:48	1829	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861321 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:48	1829	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:48	1829	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861321
2023-10-13	12:53:48	1830	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:48	1830	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:48	1830	[DEBUG]	Use field value for field taille
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:48	1830	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:48	1830	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:48	1830	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:48	1830	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:48	1830	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:48	1830	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:48	1830	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:48	1830	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:48	1830	[DEBUG]	Use field value for field published
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:48	1830	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field override
2023-10-13	12:53:48	1830	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:48	1830	[DEBUG]	Use field value for field slug
2023-10-13	12:53:48	1830	[DEBUG]	Process line 1830
2023-10-13	12:53:48	1830	[DEBUG]	Load a row
2023-10-13	12:53:48	1830	[DEBUG]	Processing item: 4524667623151
2023-10-13	12:53:48	1830	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:48	1830	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:48	1830	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6383_4'
2023-10-13	12:53:48	1830	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:48	1830	[DEBUG]	Processing product tax
2023-10-13	12:53:48	1830	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:48	1830	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:48	1830	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:48	1830	[DEBUG]	Query for Product
2023-10-13	12:53:48	1830	[DEBUG]	Executed store
2023-10-13	12:53:48	1830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861321','4524667623151','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:48	1830	[DEBUG]	No parent found
2023-10-13	12:53:48	1830	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861321 AND customfield_value = 'stockable'
2023-10-13	12:53:48	1830	[DEBUG]	Check product language entry
2023-10-13	12:53:48	1830	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861322
2023-10-13	12:53:48	1830	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:48	1830	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667623151' AND `virtuemart_product_id` != 1861322
2023-10-13	12:53:48	1830	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:48	1830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861322, '4524667623151')
2023-10-13	12:53:48	1830	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:48	1830	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-ultegra-rd-r8000-11-vit-ss-mont-direct-acier-unitaire' AND `virtuemart_product_id` != 1861322
2023-10-13	12:53:48	1830	[DEBUG]	Query for ProductLang
2023-10-13	12:53:48	1830	[DEBUG]	Executed store
2023-10-13	12:53:48	1830	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur ultegra RD-R8000 11 vit. SS mont.direct / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-ultegra-rd-r8000-11-vit-ss-mont-direct-acier-unitaire' WHERE `virtuemart_product_id` = '1861322'
2023-10-13	12:53:48	1830	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32266_shimano_derailleur_ultegra_rd-r8000_11_vit__ss_mont_direct.jpg
2023-10-13	12:53:48	1830	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:48	1830	[DEBUG]	Process image file
2023-10-13	12:53:48	1830	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:48	1830	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:48	1830	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32266_shimano_derailleur_ultegra_rd-r8000_11_vit__ss_mont_direct.jpg
2023-10-13	12:53:48	1830	[DEBUG]	Full name target: bcprisme/32266_shimano_derailleur_ultegra_rd-r8000_11_vit__ss_mont_direct.jpg
2023-10-13	12:53:49	1830	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:49	1830	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32266_shimano_derailleur_ultegra_rd-r8000_11_vit__ss_mont_direct.jpg'
2023-10-13	12:53:49	1830	[DEBUG]	Query for Media
2023-10-13	12:53:49	1830	[DEBUG]	Executed store
2023-10-13	12:53:49	1830	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32266_shimano_derailleur_ultegra_rd-r8000_11_vit__ss_mont_direct.jpg',`file_url_thumb`='bcprisme/32266_shimano_derailleur_ultegra_rd-r8000_11_vit__ss_mont_direct.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15278'
2023-10-13	12:53:49	1830	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:49	1830	[DEBUG]	Executed store
2023-10-13	12:53:49	1830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861322','15278','1')
2023-10-13	12:53:49	1830	[DEBUG]	Store product image relation
2023-10-13	12:53:49	1830	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:49	1830	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861322 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:49	1830	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:49	1830	[DEBUG]	Executed store
2023-10-13	12:53:49	1830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861322','0','109.563602599814','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:49	1830	[DEBUG]	Checking manufacturer
2023-10-13	12:53:49	1830	[DEBUG]	Load a row
2023-10-13	12:53:49	1830	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:49	1830	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:49	1830	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:49	1830	[DEBUG]	Executed store
2023-10-13	12:53:49	1830	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:49	1830	[DEBUG]	Manufacturer exists
2023-10-13	12:53:49	1830	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:49	1830	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:49	1830	[DEBUG]	Executed store
2023-10-13	12:53:49	1830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861322','26')
2023-10-13	12:53:49	1830	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:49	1830	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:49	1830	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861322 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:49	1830	[DEBUG]	Store custom available field
2023-10-13	12:53:49	1830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861322,3,'',1)
2023-10-13	12:53:49	1830	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:49	1830	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:53:49	1830	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861322 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:49	1830	[DEBUG]	Store custom available field
2023-10-13	12:53:49	1830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861322,6,'Unitaire',3)
2023-10-13	12:53:49	1830	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:49	1830	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:49	1830	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861321
2023-10-13	12:53:49	1830	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:49	1830	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861321\":[1861321,8,1,\"choisir la taille\"],\"1861322\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861321
2023-10-13	12:53:49	1830	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:49	1830	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861322
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:49	1831	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field taille
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:49	1831	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:49	1831	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:49	1831	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:49	1831	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:49	1831	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:49	1831	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field published
2023-10-13	12:53:49	1831	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:49	1831	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field override
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:49	1831	[DEBUG]	Use field value for field slug
2023-10-13	12:53:49	1831	[DEBUG]	Process line 1831
2023-10-13	12:53:49	1831	[DEBUG]	Load a row
2023-10-13	12:53:49	1831	[DEBUG]	Processing item: A_6476_208
2023-10-13	12:53:49	1831	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:49	1831	[DEBUG]	Processing product tax
2023-10-13	12:53:49	1831	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:49	1831	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:49	1831	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:49	1831	[DEBUG]	Query for Product
2023-10-13	12:53:49	1831	[DEBUG]	Executed store
2023-10-13	12:53:49	1831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6476_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:49	1831	[DEBUG]	Check product language entry
2023-10-13	12:53:49	1831	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861323
2023-10-13	12:53:49	1831	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:49	1831	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6476_208' AND `virtuemart_product_id` != 1861323
2023-10-13	12:53:49	1831	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:49	1831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861323, 'A_6476_208')
2023-10-13	12:53:49	1831	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:49	1831	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-rd-m592-9-vit-sgs-shadow-top-normal-mont-direct-box-aucune' AND `virtuemart_product_id` != 1861323
2023-10-13	12:53:49	1831	[DEBUG]	Query for ProductLang
2023-10-13	12:53:49	1831	[DEBUG]	Executed store
2023-10-13	12:53:49	1831	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.48701',`product_name`='SHIMANO Dérailleur Deore RD-M592 9-vit. SGS Shadow Top-Normal mont. direct box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-rd-m592-9-vit-sgs-shadow-top-normal-mont-direct-box-aucune' WHERE `virtuemart_product_id` = '1861323'
2023-10-13	12:53:49	1831	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32357_shimano_derailleur_deore_rd-m592_9-vit__sgs_shadow_top-normal_mont__direct_box.jpg
2023-10-13	12:53:49	1831	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:49	1831	[DEBUG]	Process image file
2023-10-13	12:53:49	1831	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:49	1831	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:49	1831	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32357_shimano_derailleur_deore_rd-m592_9-vit__sgs_shadow_top-normal_mont__direct_box.jpg
2023-10-13	12:53:49	1831	[DEBUG]	Full name target: bcprisme/32357_shimano_derailleur_deore_rd-m592_9-vit__sgs_shadow_top-normal_mont__direct_box.jpg
2023-10-13	12:53:50	1831	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:50	1831	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32357_shimano_derailleur_deore_rd-m592_9-vit__sgs_shadow_top-normal_mont__direct_box.jpg'
2023-10-13	12:53:50	1831	[DEBUG]	Query for Media
2023-10-13	12:53:50	1831	[DEBUG]	Executed store
2023-10-13	12:53:50	1831	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32357_shimano_derailleur_deore_rd-m592_9-vit__sgs_shadow_top-normal_mont__direct_box.jpg',`file_url_thumb`='bcprisme/32357_shimano_derailleur_deore_rd-m592_9-vit__sgs_shadow_top-normal_mont__direct_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15862'
2023-10-13	12:53:50	1831	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:50	1831	[DEBUG]	Executed store
2023-10-13	12:53:50	1831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861323','15862','1')
2023-10-13	12:53:50	1831	[DEBUG]	Store product image relation
2023-10-13	12:53:50	1831	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:50	1831	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861323 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:50	1831	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:50	1831	[DEBUG]	Executed store
2023-10-13	12:53:50	1831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861323','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:50	1831	[DEBUG]	Checking manufacturer
2023-10-13	12:53:50	1831	[DEBUG]	Load a row
2023-10-13	12:53:50	1831	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:50	1831	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:50	1831	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:50	1831	[DEBUG]	Executed store
2023-10-13	12:53:50	1831	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:50	1831	[DEBUG]	Manufacturer exists
2023-10-13	12:53:50	1831	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:50	1831	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:50	1831	[DEBUG]	Executed store
2023-10-13	12:53:50	1831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861323','123')
2023-10-13	12:53:50	1831	[DEBUG]	Find the custom field ID
2023-10-13	12:53:50	1831	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:50	1831	[DEBUG]	No custom field ID found
2023-10-13	12:53:50	1831	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:50	1831	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:50	1831	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861323 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:50	1831	[DEBUG]	Store custom available field
2023-10-13	12:53:50	1831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861323,3,'0',1)
2023-10-13	12:53:50	1831	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:50	1831	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:50	1831	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861323 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:50	1831	[DEBUG]	Store custom available field
2023-10-13	12:53:50	1831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861323,6,'choisir la taille',3)
2023-10-13	12:53:50	1831	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:50	1831	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:50	1831	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:50	1831	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:50	1831	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861323 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:50	1831	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:50	1831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861323,8,1)
2023-10-13	12:53:50	1831	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:50	1831	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861323\":[1861323,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861323
2023-10-13	12:53:50	1831	[DEBUG]	Checking category
2023-10-13	12:53:50	1831	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:50	1831	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861323
2023-10-13	12:53:50	1831	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:50	1831	[DEBUG]	Executed store
2023-10-13	12:53:50	1831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861323','7312')
2023-10-13	12:53:50	1831	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:50	1831	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861323 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:50	1831	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:50	1831	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861323
2023-10-13	12:53:50	1832	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:50	1832	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:50	1832	[DEBUG]	Use field value for field taille
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:50	1832	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:50	1832	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:50	1832	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:50	1832	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:50	1832	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:50	1832	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:50	1832	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:50	1832	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:50	1832	[DEBUG]	Use field value for field published
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:50	1832	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field override
2023-10-13	12:53:50	1832	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:50	1832	[DEBUG]	Use field value for field slug
2023-10-13	12:53:50	1832	[DEBUG]	Process line 1832
2023-10-13	12:53:50	1832	[DEBUG]	Load a row
2023-10-13	12:53:50	1832	[DEBUG]	Processing item: 4524667295471
2023-10-13	12:53:50	1832	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:50	1832	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:50	1832	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6476_208'
2023-10-13	12:53:50	1832	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:50	1832	[DEBUG]	Processing product tax
2023-10-13	12:53:50	1832	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:50	1832	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:50	1832	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:50	1832	[DEBUG]	Query for Product
2023-10-13	12:53:50	1832	[DEBUG]	Executed store
2023-10-13	12:53:50	1832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861323','4524667295471','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:50	1832	[DEBUG]	No parent found
2023-10-13	12:53:50	1832	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861323 AND customfield_value = 'stockable'
2023-10-13	12:53:50	1832	[DEBUG]	Check product language entry
2023-10-13	12:53:50	1832	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861324
2023-10-13	12:53:50	1832	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:50	1832	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667295471' AND `virtuemart_product_id` != 1861324
2023-10-13	12:53:50	1832	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:50	1832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861324, '4524667295471')
2023-10-13	12:53:50	1832	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:50	1832	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-rd-m592-9-vit-sgs-shadow-top-normal-mont-direct-box-aucune-all' AND `virtuemart_product_id` != 1861324
2023-10-13	12:53:50	1832	[DEBUG]	Query for ProductLang
2023-10-13	12:53:50	1832	[DEBUG]	Executed store
2023-10-13	12:53:50	1832	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Deore RD-M592 9-vit. SGS Shadow Top-Normal mont. direct box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-rd-m592-9-vit-sgs-shadow-top-normal-mont-direct-box-aucune-all' WHERE `virtuemart_product_id` = '1861324'
2023-10-13	12:53:50	1832	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32357_shimano_derailleur_deore_rd-m592_9-vit__sgs_shadow_top-normal_mont__direct_box.jpg
2023-10-13	12:53:50	1832	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:50	1832	[DEBUG]	Process image file
2023-10-13	12:53:50	1832	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:50	1832	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:50	1832	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32357_shimano_derailleur_deore_rd-m592_9-vit__sgs_shadow_top-normal_mont__direct_box.jpg
2023-10-13	12:53:50	1832	[DEBUG]	Full name target: bcprisme/32357_shimano_derailleur_deore_rd-m592_9-vit__sgs_shadow_top-normal_mont__direct_box.jpg
2023-10-13	12:53:51	1832	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:51	1832	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32357_shimano_derailleur_deore_rd-m592_9-vit__sgs_shadow_top-normal_mont__direct_box.jpg'
2023-10-13	12:53:51	1832	[DEBUG]	Query for Media
2023-10-13	12:53:51	1832	[DEBUG]	Executed store
2023-10-13	12:53:51	1832	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32357_shimano_derailleur_deore_rd-m592_9-vit__sgs_shadow_top-normal_mont__direct_box.jpg',`file_url_thumb`='bcprisme/32357_shimano_derailleur_deore_rd-m592_9-vit__sgs_shadow_top-normal_mont__direct_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15862'
2023-10-13	12:53:51	1832	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:51	1832	[DEBUG]	Executed store
2023-10-13	12:53:51	1832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861324','15862','1')
2023-10-13	12:53:51	1832	[DEBUG]	Store product image relation
2023-10-13	12:53:51	1832	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:51	1832	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861324 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:51	1832	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:51	1832	[DEBUG]	Executed store
2023-10-13	12:53:51	1832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861324','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:51	1832	[DEBUG]	Checking manufacturer
2023-10-13	12:53:51	1832	[DEBUG]	Load a row
2023-10-13	12:53:51	1832	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:51	1832	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:51	1832	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:51	1832	[DEBUG]	Executed store
2023-10-13	12:53:51	1832	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:51	1832	[DEBUG]	Manufacturer exists
2023-10-13	12:53:51	1832	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:51	1832	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:51	1832	[DEBUG]	Executed store
2023-10-13	12:53:51	1832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861324','123')
2023-10-13	12:53:51	1832	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:51	1832	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:51	1832	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861324 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:51	1832	[DEBUG]	Store custom available field
2023-10-13	12:53:51	1832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861324,3,'',1)
2023-10-13	12:53:51	1832	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:51	1832	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:51	1832	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861324 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:51	1832	[DEBUG]	Store custom available field
2023-10-13	12:53:51	1832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861324,6,'All',3)
2023-10-13	12:53:51	1832	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:51	1832	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:51	1832	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861323
2023-10-13	12:53:51	1832	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:51	1832	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861323\":[1861323,8,1,\"choisir la taille\"],\"1861324\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861323
2023-10-13	12:53:51	1832	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:51	1832	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861324
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:51	1833	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field taille
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:51	1833	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:51	1833	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:51	1833	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:51	1833	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:51	1833	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:51	1833	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field published
2023-10-13	12:53:51	1833	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:51	1833	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field override
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:51	1833	[DEBUG]	Use field value for field slug
2023-10-13	12:53:51	1833	[DEBUG]	Process line 1833
2023-10-13	12:53:51	1833	[DEBUG]	Load a row
2023-10-13	12:53:51	1833	[DEBUG]	Processing item: A_6543_3
2023-10-13	12:53:51	1833	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:51	1833	[DEBUG]	Processing product tax
2023-10-13	12:53:51	1833	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:51	1833	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:51	1833	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:51	1833	[DEBUG]	Query for Product
2023-10-13	12:53:51	1833	[DEBUG]	Executed store
2023-10-13	12:53:51	1833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6543_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:51	1833	[DEBUG]	Check product language entry
2023-10-13	12:53:51	1833	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861325
2023-10-13	12:53:51	1833	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:51	1833	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6543_3' AND `virtuemart_product_id` != 1861325
2023-10-13	12:53:51	1833	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:51	1833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861325, 'A_6543_3')
2023-10-13	12:53:51	1833	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:51	1833	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-shimano-fd-m6025-2x10-66-69-none' AND `virtuemart_product_id` != 1861325
2023-10-13	12:53:51	1833	[DEBUG]	Query for ProductLang
2023-10-13	12:53:51	1833	[DEBUG]	Executed store
2023-10-13	12:53:51	1833	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.69383',`product_name`='SHIMANO Dérailleur avant SHIMANO  FD-M6025 2x10 66-69 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-shimano-fd-m6025-2x10-66-69-none' WHERE `virtuemart_product_id` = '1861325'
2023-10-13	12:53:51	1833	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32423_derailleur_avant_shimano__fd-m6025_2x10_66-69.jpg
2023-10-13	12:53:51	1833	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:51	1833	[DEBUG]	Process image file
2023-10-13	12:53:51	1833	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:51	1833	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:51	1833	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32423_derailleur_avant_shimano__fd-m6025_2x10_66-69.jpg
2023-10-13	12:53:51	1833	[DEBUG]	Full name target: bcprisme/32423_derailleur_avant_shimano__fd-m6025_2x10_66-69.jpg
2023-10-13	12:53:52	1833	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:52	1833	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32423_derailleur_avant_shimano__fd-m6025_2x10_66-69.jpg'
2023-10-13	12:53:52	1833	[DEBUG]	Query for Media
2023-10-13	12:53:52	1833	[DEBUG]	Executed store
2023-10-13	12:53:52	1833	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32423_derailleur_avant_shimano__fd-m6025_2x10_66-69.jpg',`file_url_thumb`='bcprisme/32423_derailleur_avant_shimano__fd-m6025_2x10_66-69.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15863'
2023-10-13	12:53:52	1833	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:52	1833	[DEBUG]	Executed store
2023-10-13	12:53:52	1833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861325','15863','1')
2023-10-13	12:53:52	1833	[DEBUG]	Store product image relation
2023-10-13	12:53:52	1833	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:52	1833	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861325 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:52	1833	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:52	1833	[DEBUG]	Executed store
2023-10-13	12:53:52	1833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861325','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:52	1833	[DEBUG]	Checking manufacturer
2023-10-13	12:53:52	1833	[DEBUG]	Load a row
2023-10-13	12:53:52	1833	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:52	1833	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:52	1833	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:52	1833	[DEBUG]	Executed store
2023-10-13	12:53:52	1833	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:52	1833	[DEBUG]	Manufacturer exists
2023-10-13	12:53:52	1833	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:52	1833	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:52	1833	[DEBUG]	Executed store
2023-10-13	12:53:52	1833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861325','26')
2023-10-13	12:53:52	1833	[DEBUG]	Find the custom field ID
2023-10-13	12:53:52	1833	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:52	1833	[DEBUG]	No custom field ID found
2023-10-13	12:53:52	1833	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:52	1833	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:52	1833	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861325 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:52	1833	[DEBUG]	Store custom available field
2023-10-13	12:53:52	1833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861325,3,'0',1)
2023-10-13	12:53:52	1833	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:52	1833	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:52	1833	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861325 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:52	1833	[DEBUG]	Store custom available field
2023-10-13	12:53:52	1833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861325,6,'choisir la taille',3)
2023-10-13	12:53:52	1833	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:52	1833	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:52	1833	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:52	1833	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:52	1833	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861325 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:52	1833	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:52	1833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861325,8,1)
2023-10-13	12:53:52	1833	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:52	1833	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861325\":[1861325,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861325
2023-10-13	12:53:52	1833	[DEBUG]	Checking category
2023-10-13	12:53:52	1833	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:52	1833	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861325
2023-10-13	12:53:52	1833	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:52	1833	[DEBUG]	Executed store
2023-10-13	12:53:52	1833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861325','7312')
2023-10-13	12:53:52	1833	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:52	1833	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861325 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:52	1833	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:52	1833	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861325
2023-10-13	12:53:52	1834	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:52	1834	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:52	1834	[DEBUG]	Use field value for field taille
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:52	1834	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:52	1834	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:52	1834	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:52	1834	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:52	1834	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:52	1834	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:52	1834	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:52	1834	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:52	1834	[DEBUG]	Use field value for field published
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:52	1834	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field override
2023-10-13	12:53:52	1834	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:52	1834	[DEBUG]	Use field value for field slug
2023-10-13	12:53:52	1834	[DEBUG]	Process line 1834
2023-10-13	12:53:52	1834	[DEBUG]	Load a row
2023-10-13	12:53:52	1834	[DEBUG]	Processing item: 4524667413356
2023-10-13	12:53:52	1834	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:52	1834	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:52	1834	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6543_3'
2023-10-13	12:53:52	1834	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:52	1834	[DEBUG]	Processing product tax
2023-10-13	12:53:52	1834	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:52	1834	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:52	1834	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:52	1834	[DEBUG]	Query for Product
2023-10-13	12:53:52	1834	[DEBUG]	Executed store
2023-10-13	12:53:52	1834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861325','4524667413356','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:52	1834	[DEBUG]	No parent found
2023-10-13	12:53:52	1834	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861325 AND customfield_value = 'stockable'
2023-10-13	12:53:52	1834	[DEBUG]	Check product language entry
2023-10-13	12:53:52	1834	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861326
2023-10-13	12:53:52	1834	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:52	1834	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667413356' AND `virtuemart_product_id` != 1861326
2023-10-13	12:53:52	1834	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:52	1834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861326, '4524667413356')
2023-10-13	12:53:52	1834	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:52	1834	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-shimano-fd-m6025-2x10-66-69-none-unitaire' AND `virtuemart_product_id` != 1861326
2023-10-13	12:53:52	1834	[DEBUG]	Query for ProductLang
2023-10-13	12:53:52	1834	[DEBUG]	Executed store
2023-10-13	12:53:52	1834	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant SHIMANO  FD-M6025 2x10 66-69 / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-shimano-fd-m6025-2x10-66-69-none-unitaire' WHERE `virtuemart_product_id` = '1861326'
2023-10-13	12:53:52	1834	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32423_derailleur_avant_shimano__fd-m6025_2x10_66-69.jpg
2023-10-13	12:53:52	1834	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:52	1834	[DEBUG]	Process image file
2023-10-13	12:53:52	1834	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:52	1834	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:52	1834	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32423_derailleur_avant_shimano__fd-m6025_2x10_66-69.jpg
2023-10-13	12:53:52	1834	[DEBUG]	Full name target: bcprisme/32423_derailleur_avant_shimano__fd-m6025_2x10_66-69.jpg
2023-10-13	12:53:53	1834	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:53	1834	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32423_derailleur_avant_shimano__fd-m6025_2x10_66-69.jpg'
2023-10-13	12:53:53	1834	[DEBUG]	Query for Media
2023-10-13	12:53:53	1834	[DEBUG]	Executed store
2023-10-13	12:53:53	1834	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32423_derailleur_avant_shimano__fd-m6025_2x10_66-69.jpg',`file_url_thumb`='bcprisme/32423_derailleur_avant_shimano__fd-m6025_2x10_66-69.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15863'
2023-10-13	12:53:53	1834	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:53	1834	[DEBUG]	Executed store
2023-10-13	12:53:53	1834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861326','15863','1')
2023-10-13	12:53:53	1834	[DEBUG]	Store product image relation
2023-10-13	12:53:53	1834	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:53	1834	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861326 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:53	1834	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:53	1834	[DEBUG]	Executed store
2023-10-13	12:53:53	1834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861326','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:53	1834	[DEBUG]	Checking manufacturer
2023-10-13	12:53:53	1834	[DEBUG]	Load a row
2023-10-13	12:53:53	1834	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:53	1834	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:53	1834	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:53	1834	[DEBUG]	Executed store
2023-10-13	12:53:53	1834	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:53	1834	[DEBUG]	Manufacturer exists
2023-10-13	12:53:53	1834	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:53	1834	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:53	1834	[DEBUG]	Executed store
2023-10-13	12:53:53	1834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861326','26')
2023-10-13	12:53:53	1834	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:53	1834	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:53	1834	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861326 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:53	1834	[DEBUG]	Store custom available field
2023-10-13	12:53:53	1834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861326,3,'',1)
2023-10-13	12:53:53	1834	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:53	1834	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:53:53	1834	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861326 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:53	1834	[DEBUG]	Store custom available field
2023-10-13	12:53:53	1834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861326,6,'Unitaire',3)
2023-10-13	12:53:53	1834	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:53	1834	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:53	1834	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861325
2023-10-13	12:53:53	1834	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:53	1834	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861325\":[1861325,8,1,\"choisir la taille\"],\"1861326\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861325
2023-10-13	12:53:53	1834	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:53	1834	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861326
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:53	1835	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field taille
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:53	1835	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:53	1835	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:53	1835	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:53	1835	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:53	1835	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:53	1835	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field published
2023-10-13	12:53:53	1835	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:53	1835	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field override
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:53	1835	[DEBUG]	Use field value for field slug
2023-10-13	12:53:53	1835	[DEBUG]	Process line 1835
2023-10-13	12:53:53	1835	[DEBUG]	Load a row
2023-10-13	12:53:53	1835	[DEBUG]	Processing item: A_6615_208
2023-10-13	12:53:53	1835	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:53	1835	[DEBUG]	Processing product tax
2023-10-13	12:53:53	1835	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:53	1835	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:53	1835	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:53	1835	[DEBUG]	Query for Product
2023-10-13	12:53:53	1835	[DEBUG]	Executed store
2023-10-13	12:53:53	1835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6615_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:53	1835	[DEBUG]	Check product language entry
2023-10-13	12:53:53	1835	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861327
2023-10-13	12:53:53	1835	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:53	1835	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6615_208' AND `virtuemart_product_id` != 1861327
2023-10-13	12:53:53	1835	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:53	1835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861327, 'A_6615_208')
2023-10-13	12:53:53	1835	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:53	1835	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-xt-di2-rd-m8050-11--vit-gs-shadow-top-nor-direct-att-box-aucune' AND `virtuemart_product_id` != 1861327
2023-10-13	12:53:53	1835	[DEBUG]	Query for ProductLang
2023-10-13	12:53:53	1835	[DEBUG]	Executed store
2023-10-13	12:53:53	1835	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.66550',`product_name`='SHIMANO Dérailleur XT Di2 RD-M8050 11- vit. GS Shadow+ Top-Nor. direct att. box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-xt-di2-rd-m8050-11--vit-gs-shadow-top-nor-direct-att-box-aucune' WHERE `virtuemart_product_id` = '1861327'
2023-10-13	12:53:53	1835	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32499_shimano_derailleur_xt_di2_rd-m8050_11-_vit__gs_shadow+_top-nor__direct_att__box.jpg
2023-10-13	12:53:53	1835	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:53	1835	[DEBUG]	Process image file
2023-10-13	12:53:53	1835	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:53	1835	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:53	1835	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32499_shimano_derailleur_xt_di2_rd-m8050_11-_vit__gs_shadow+_top-nor__direct_att__box.jpg
2023-10-13	12:53:53	1835	[DEBUG]	Full name target: bcprisme/32499_shimano_derailleur_xt_di2_rd-m8050_11-_vit__gs_shadow+_top-nor__direct_att__box.jpg
2023-10-13	12:53:54	1835	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:54	1835	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32499_shimano_derailleur_xt_di2_rd-m8050_11-_vit__gs_shadow+_top-nor__direct_att__box.jpg'
2023-10-13	12:53:54	1835	[DEBUG]	Query for Media
2023-10-13	12:53:54	1835	[DEBUG]	Executed store
2023-10-13	12:53:54	1835	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32499_shimano_derailleur_xt_di2_rd-m8050_11-_vit__gs_shadow+_top-nor__direct_att__box.jpg',`file_url_thumb`='bcprisme/32499_shimano_derailleur_xt_di2_rd-m8050_11-_vit__gs_shadow+_top-nor__direct_att__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15279'
2023-10-13	12:53:54	1835	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:54	1835	[DEBUG]	Executed store
2023-10-13	12:53:54	1835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861327','15279','1')
2023-10-13	12:53:54	1835	[DEBUG]	Store product image relation
2023-10-13	12:53:54	1835	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:54	1835	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861327 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:54	1835	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:54	1835	[DEBUG]	Executed store
2023-10-13	12:53:54	1835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861327','0','324.048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:54	1835	[DEBUG]	Checking manufacturer
2023-10-13	12:53:54	1835	[DEBUG]	Load a row
2023-10-13	12:53:54	1835	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:54	1835	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:54	1835	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:54	1835	[DEBUG]	Executed store
2023-10-13	12:53:54	1835	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:54	1835	[DEBUG]	Manufacturer exists
2023-10-13	12:53:54	1835	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:54	1835	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:54	1835	[DEBUG]	Executed store
2023-10-13	12:53:54	1835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861327','123')
2023-10-13	12:53:54	1835	[DEBUG]	Find the custom field ID
2023-10-13	12:53:54	1835	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:54	1835	[DEBUG]	No custom field ID found
2023-10-13	12:53:54	1835	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:54	1835	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:54	1835	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861327 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:54	1835	[DEBUG]	Store custom available field
2023-10-13	12:53:54	1835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861327,3,'0',1)
2023-10-13	12:53:54	1835	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:54	1835	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:54	1835	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861327 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:54	1835	[DEBUG]	Store custom available field
2023-10-13	12:53:54	1835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861327,6,'choisir la taille',3)
2023-10-13	12:53:54	1835	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:54	1835	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:54	1835	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:54	1835	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:54	1835	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861327 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:54	1835	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:54	1835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861327,8,1)
2023-10-13	12:53:54	1835	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:54	1835	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861327\":[1861327,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861327
2023-10-13	12:53:54	1835	[DEBUG]	Checking category
2023-10-13	12:53:54	1835	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:54	1835	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861327
2023-10-13	12:53:54	1835	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:54	1835	[DEBUG]	Executed store
2023-10-13	12:53:54	1835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861327','7312')
2023-10-13	12:53:54	1835	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:54	1835	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861327 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:54	1835	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:54	1835	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861327
2023-10-13	12:53:54	1836	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:54	1836	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:54	1836	[DEBUG]	Use field value for field taille
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:54	1836	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:54	1836	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:54	1836	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:54	1836	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:54	1836	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:54	1836	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:54	1836	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:54	1836	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:54	1836	[DEBUG]	Use field value for field published
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:54	1836	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field override
2023-10-13	12:53:54	1836	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:54	1836	[DEBUG]	Use field value for field slug
2023-10-13	12:53:54	1836	[DEBUG]	Process line 1836
2023-10-13	12:53:54	1836	[DEBUG]	Load a row
2023-10-13	12:53:54	1836	[DEBUG]	Processing item: 4524667847328
2023-10-13	12:53:54	1836	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:54	1836	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:54	1836	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6615_208'
2023-10-13	12:53:54	1836	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:54	1836	[DEBUG]	Processing product tax
2023-10-13	12:53:54	1836	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:54	1836	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:54	1836	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:54	1836	[DEBUG]	Query for Product
2023-10-13	12:53:54	1836	[DEBUG]	Executed store
2023-10-13	12:53:54	1836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861327','4524667847328','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:54	1836	[DEBUG]	No parent found
2023-10-13	12:53:54	1836	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861327 AND customfield_value = 'stockable'
2023-10-13	12:53:54	1836	[DEBUG]	Check product language entry
2023-10-13	12:53:54	1836	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861328
2023-10-13	12:53:54	1836	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:54	1836	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667847328' AND `virtuemart_product_id` != 1861328
2023-10-13	12:53:54	1836	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:54	1836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861328, '4524667847328')
2023-10-13	12:53:54	1836	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:54	1836	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-xt-di2-rd-m8050-11--vit-gs-shadow-top-nor-direct-att-box-aucune-all' AND `virtuemart_product_id` != 1861328
2023-10-13	12:53:54	1836	[DEBUG]	Query for ProductLang
2023-10-13	12:53:54	1836	[DEBUG]	Executed store
2023-10-13	12:53:54	1836	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur XT Di2 RD-M8050 11- vit. GS Shadow+ Top-Nor. direct att. box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-xt-di2-rd-m8050-11--vit-gs-shadow-top-nor-direct-att-box-aucune-all' WHERE `virtuemart_product_id` = '1861328'
2023-10-13	12:53:54	1836	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32499_shimano_derailleur_xt_di2_rd-m8050_11-_vit__gs_shadow+_top-nor__direct_att__box.jpg
2023-10-13	12:53:54	1836	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:54	1836	[DEBUG]	Process image file
2023-10-13	12:53:54	1836	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:54	1836	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:54	1836	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32499_shimano_derailleur_xt_di2_rd-m8050_11-_vit__gs_shadow+_top-nor__direct_att__box.jpg
2023-10-13	12:53:54	1836	[DEBUG]	Full name target: bcprisme/32499_shimano_derailleur_xt_di2_rd-m8050_11-_vit__gs_shadow+_top-nor__direct_att__box.jpg
2023-10-13	12:53:55	1836	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:55	1836	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32499_shimano_derailleur_xt_di2_rd-m8050_11-_vit__gs_shadow+_top-nor__direct_att__box.jpg'
2023-10-13	12:53:55	1836	[DEBUG]	Query for Media
2023-10-13	12:53:55	1836	[DEBUG]	Executed store
2023-10-13	12:53:55	1836	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32499_shimano_derailleur_xt_di2_rd-m8050_11-_vit__gs_shadow+_top-nor__direct_att__box.jpg',`file_url_thumb`='bcprisme/32499_shimano_derailleur_xt_di2_rd-m8050_11-_vit__gs_shadow+_top-nor__direct_att__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15279'
2023-10-13	12:53:55	1836	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:55	1836	[DEBUG]	Executed store
2023-10-13	12:53:55	1836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861328','15279','1')
2023-10-13	12:53:55	1836	[DEBUG]	Store product image relation
2023-10-13	12:53:55	1836	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:55	1836	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861328 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:55	1836	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:55	1836	[DEBUG]	Executed store
2023-10-13	12:53:55	1836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861328','0','324.048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:55	1836	[DEBUG]	Checking manufacturer
2023-10-13	12:53:55	1836	[DEBUG]	Load a row
2023-10-13	12:53:55	1836	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:55	1836	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:55	1836	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:55	1836	[DEBUG]	Executed store
2023-10-13	12:53:55	1836	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:53:55	1836	[DEBUG]	Manufacturer exists
2023-10-13	12:53:55	1836	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:53:55	1836	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:55	1836	[DEBUG]	Executed store
2023-10-13	12:53:55	1836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861328','123')
2023-10-13	12:53:55	1836	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:55	1836	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:55	1836	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861328 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:55	1836	[DEBUG]	Store custom available field
2023-10-13	12:53:55	1836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861328,3,'',1)
2023-10-13	12:53:55	1836	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:55	1836	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:55	1836	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861328 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:55	1836	[DEBUG]	Store custom available field
2023-10-13	12:53:55	1836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861328,6,'All',3)
2023-10-13	12:53:55	1836	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:55	1836	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:55	1836	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861327
2023-10-13	12:53:55	1836	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:55	1836	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861327\":[1861327,8,1,\"choisir la taille\"],\"1861328\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861327
2023-10-13	12:53:55	1836	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:55	1836	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861328
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:55	1837	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field taille
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:55	1837	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:55	1837	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:55	1837	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:55	1837	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:55	1837	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:55	1837	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field published
2023-10-13	12:53:55	1837	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:55	1837	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field override
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:55	1837	[DEBUG]	Use field value for field slug
2023-10-13	12:53:55	1837	[DEBUG]	Process line 1837
2023-10-13	12:53:55	1837	[DEBUG]	Load a row
2023-10-13	12:53:55	1837	[DEBUG]	Processing item: A_6762_1
2023-10-13	12:53:55	1837	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:55	1837	[DEBUG]	Processing product tax
2023-10-13	12:53:55	1837	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:55	1837	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:55	1837	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:55	1837	[DEBUG]	Query for Product
2023-10-13	12:53:55	1837	[DEBUG]	Executed store
2023-10-13	12:53:55	1837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6762_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:55	1837	[DEBUG]	Check product language entry
2023-10-13	12:53:55	1837	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861329
2023-10-13	12:53:55	1837	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:55	1837	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6762_1' AND `virtuemart_product_id` != 1861329
2023-10-13	12:53:55	1837	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:55	1837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861329, 'A_6762_1')
2023-10-13	12:53:55	1837	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:55	1837	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-xt-rd-m8100-12-vitesses-sgs-shadow-top-normal-direct-noir' AND `virtuemart_product_id` != 1861329
2023-10-13	12:53:55	1837	[DEBUG]	Query for ProductLang
2023-10-13	12:53:55	1837	[DEBUG]	Executed store
2023-10-13	12:53:55	1837	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.75136',`product_name`='SHIMANO Dérailleur Deore XT RD-M8100 12 vitesses SGS Shadow+ Top Normal direct   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-xt-rd-m8100-12-vitesses-sgs-shadow-top-normal-direct-noir' WHERE `virtuemart_product_id` = '1861329'
2023-10-13	12:53:55	1837	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32988_shimano_derailleur_deore_xt_rd-m8100_12_vitesses_sgs_shadow+_top_normal_direct__.jpg
2023-10-13	12:53:55	1837	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:55	1837	[DEBUG]	Process image file
2023-10-13	12:53:55	1837	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:55	1837	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:55	1837	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32988_shimano_derailleur_deore_xt_rd-m8100_12_vitesses_sgs_shadow+_top_normal_direct__.jpg
2023-10-13	12:53:55	1837	[DEBUG]	Full name target: bcprisme/32988_shimano_derailleur_deore_xt_rd-m8100_12_vitesses_sgs_shadow+_top_normal_direct__.jpg
2023-10-13	12:53:56	1837	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:56	1837	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32988_shimano_derailleur_deore_xt_rd-m8100_12_vitesses_sgs_shadow+_top_normal_direct__.jpg'
2023-10-13	12:53:56	1837	[DEBUG]	Query for Media
2023-10-13	12:53:56	1837	[DEBUG]	Executed store
2023-10-13	12:53:56	1837	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32988_shimano_derailleur_deore_xt_rd-m8100_12_vitesses_sgs_shadow+_top_normal_direct__.jpg',`file_url_thumb`='bcprisme/32988_shimano_derailleur_deore_xt_rd-m8100_12_vitesses_sgs_shadow+_top_normal_direct__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15864'
2023-10-13	12:53:56	1837	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:56	1837	[DEBUG]	Executed store
2023-10-13	12:53:56	1837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861329','15864','1')
2023-10-13	12:53:56	1837	[DEBUG]	Store product image relation
2023-10-13	12:53:56	1837	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:56	1837	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861329 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:56	1837	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:56	1837	[DEBUG]	Executed store
2023-10-13	12:53:56	1837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861329','0','141.96843082637','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:56	1837	[DEBUG]	Checking manufacturer
2023-10-13	12:53:56	1837	[DEBUG]	Load a row
2023-10-13	12:53:56	1837	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:56	1837	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:56	1837	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:56	1837	[DEBUG]	Executed store
2023-10-13	12:53:56	1837	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:56	1837	[DEBUG]	Manufacturer exists
2023-10-13	12:53:56	1837	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:56	1837	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:56	1837	[DEBUG]	Executed store
2023-10-13	12:53:56	1837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861329','26')
2023-10-13	12:53:56	1837	[DEBUG]	Find the custom field ID
2023-10-13	12:53:56	1837	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:56	1837	[DEBUG]	No custom field ID found
2023-10-13	12:53:56	1837	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:56	1837	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:56	1837	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861329 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:56	1837	[DEBUG]	Store custom available field
2023-10-13	12:53:56	1837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861329,3,'0',1)
2023-10-13	12:53:56	1837	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:56	1837	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:56	1837	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861329 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:56	1837	[DEBUG]	Store custom available field
2023-10-13	12:53:56	1837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861329,6,'choisir la taille',3)
2023-10-13	12:53:56	1837	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:56	1837	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:56	1837	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:56	1837	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:56	1837	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861329 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:56	1837	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:56	1837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861329,8,1)
2023-10-13	12:53:56	1837	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:56	1837	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861329\":[1861329,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861329
2023-10-13	12:53:56	1837	[DEBUG]	Checking category
2023-10-13	12:53:56	1837	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:56	1837	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861329
2023-10-13	12:53:56	1837	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:56	1837	[DEBUG]	Executed store
2023-10-13	12:53:56	1837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861329','7312')
2023-10-13	12:53:56	1837	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:56	1837	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861329 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:56	1837	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:56	1837	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861329
2023-10-13	12:53:56	1838	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:56	1838	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:56	1838	[DEBUG]	Use field value for field taille
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:56	1838	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:56	1838	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:56	1838	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:56	1838	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:56	1838	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:56	1838	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:56	1838	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:56	1838	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:56	1838	[DEBUG]	Use field value for field published
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:56	1838	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field override
2023-10-13	12:53:56	1838	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:56	1838	[DEBUG]	Use field value for field slug
2023-10-13	12:53:56	1838	[DEBUG]	Process line 1838
2023-10-13	12:53:56	1838	[DEBUG]	Load a row
2023-10-13	12:53:56	1838	[DEBUG]	Processing item: 4550170443641
2023-10-13	12:53:56	1838	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:56	1838	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:56	1838	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6762_1'
2023-10-13	12:53:56	1838	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:56	1838	[DEBUG]	Processing product tax
2023-10-13	12:53:56	1838	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:56	1838	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:56	1838	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:56	1838	[DEBUG]	Query for Product
2023-10-13	12:53:56	1838	[DEBUG]	Executed store
2023-10-13	12:53:56	1838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861329','4550170443641','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:56	1838	[DEBUG]	No parent found
2023-10-13	12:53:56	1838	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861329 AND customfield_value = 'stockable'
2023-10-13	12:53:56	1838	[DEBUG]	Check product language entry
2023-10-13	12:53:56	1838	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861330
2023-10-13	12:53:56	1838	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:56	1838	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170443641' AND `virtuemart_product_id` != 1861330
2023-10-13	12:53:56	1838	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:56	1838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861330, '4550170443641')
2023-10-13	12:53:56	1838	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:56	1838	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-xt-rd-m8100-12-vitesses-sgs-shadow-top-normal-direct-noir-all' AND `virtuemart_product_id` != 1861330
2023-10-13	12:53:56	1838	[DEBUG]	Query for ProductLang
2023-10-13	12:53:56	1838	[DEBUG]	Executed store
2023-10-13	12:53:56	1838	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Deore XT RD-M8100 12 vitesses SGS Shadow+ Top Normal direct   / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-xt-rd-m8100-12-vitesses-sgs-shadow-top-normal-direct-noir-all' WHERE `virtuemart_product_id` = '1861330'
2023-10-13	12:53:56	1838	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32988_shimano_derailleur_deore_xt_rd-m8100_12_vitesses_sgs_shadow+_top_normal_direct__.jpg
2023-10-13	12:53:56	1838	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:56	1838	[DEBUG]	Process image file
2023-10-13	12:53:56	1838	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:56	1838	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:56	1838	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32988_shimano_derailleur_deore_xt_rd-m8100_12_vitesses_sgs_shadow+_top_normal_direct__.jpg
2023-10-13	12:53:56	1838	[DEBUG]	Full name target: bcprisme/32988_shimano_derailleur_deore_xt_rd-m8100_12_vitesses_sgs_shadow+_top_normal_direct__.jpg
2023-10-13	12:53:57	1838	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:57	1838	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32988_shimano_derailleur_deore_xt_rd-m8100_12_vitesses_sgs_shadow+_top_normal_direct__.jpg'
2023-10-13	12:53:57	1838	[DEBUG]	Query for Media
2023-10-13	12:53:57	1838	[DEBUG]	Executed store
2023-10-13	12:53:57	1838	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32988_shimano_derailleur_deore_xt_rd-m8100_12_vitesses_sgs_shadow+_top_normal_direct__.jpg',`file_url_thumb`='bcprisme/32988_shimano_derailleur_deore_xt_rd-m8100_12_vitesses_sgs_shadow+_top_normal_direct__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15864'
2023-10-13	12:53:57	1838	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:57	1838	[DEBUG]	Executed store
2023-10-13	12:53:57	1838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861330','15864','1')
2023-10-13	12:53:57	1838	[DEBUG]	Store product image relation
2023-10-13	12:53:57	1838	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:57	1838	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861330 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:57	1838	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:57	1838	[DEBUG]	Executed store
2023-10-13	12:53:57	1838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861330','0','141.96843082637','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:57	1838	[DEBUG]	Checking manufacturer
2023-10-13	12:53:57	1838	[DEBUG]	Load a row
2023-10-13	12:53:57	1838	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:57	1838	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:57	1838	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:57	1838	[DEBUG]	Executed store
2023-10-13	12:53:57	1838	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:57	1838	[DEBUG]	Manufacturer exists
2023-10-13	12:53:57	1838	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:57	1838	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:57	1838	[DEBUG]	Executed store
2023-10-13	12:53:57	1838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861330','26')
2023-10-13	12:53:57	1838	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:57	1838	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:53:57	1838	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861330 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:57	1838	[DEBUG]	Store custom available field
2023-10-13	12:53:57	1838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861330,3,'',1)
2023-10-13	12:53:57	1838	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:57	1838	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:53:57	1838	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861330 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:57	1838	[DEBUG]	Store custom available field
2023-10-13	12:53:57	1838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861330,6,'All',3)
2023-10-13	12:53:57	1838	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:57	1838	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:53:57	1838	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861329
2023-10-13	12:53:57	1838	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:57	1838	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861329\":[1861329,8,1,\"choisir la taille\"],\"1861330\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861329
2023-10-13	12:53:57	1838	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:57	1838	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861330
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:57	1839	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field taille
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field category_path
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:57	1839	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:53:57	1839	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:57	1839	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field product_weight
2023-10-13	12:53:57	1839	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:57	1839	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:57	1839	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field published
2023-10-13	12:53:57	1839	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:57	1839	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field custom_title
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field custom_param
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field override
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field public_price
2023-10-13	12:53:57	1839	[DEBUG]	Use field value for field slug
2023-10-13	12:53:57	1839	[DEBUG]	Process line 1839
2023-10-13	12:53:57	1839	[DEBUG]	Load a row
2023-10-13	12:53:57	1839	[DEBUG]	Processing item: A_7059_1
2023-10-13	12:53:57	1839	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:57	1839	[DEBUG]	Processing product tax
2023-10-13	12:53:57	1839	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:57	1839	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:57	1839	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:57	1839	[DEBUG]	Query for Product
2023-10-13	12:53:57	1839	[DEBUG]	Executed store
2023-10-13	12:53:57	1839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7059_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:57	1839	[DEBUG]	Check product language entry
2023-10-13	12:53:57	1839	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861331
2023-10-13	12:53:57	1839	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:57	1839	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7059_1' AND `virtuemart_product_id` != 1861331
2023-10-13	12:53:57	1839	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:57	1839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861331, 'A_7059_1')
2023-10-13	12:53:57	1839	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:57	1839	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-arriere-shimano-rd-m4000-9-vitesses-sgs-shadow-direct-mount-noir' AND `virtuemart_product_id` != 1861331
2023-10-13	12:53:57	1839	[DEBUG]	Query for ProductLang
2023-10-13	12:53:57	1839	[DEBUG]	Executed store
2023-10-13	12:53:57	1839	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.60077',`product_name`='SHIMANO Dérailleur arrière SHIMANO RD-M4000 9 vitesses SGS Shadow Direct Mount / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-arriere-shimano-rd-m4000-9-vitesses-sgs-shadow-direct-mount-noir' WHERE `virtuemart_product_id` = '1861331'
2023-10-13	12:53:57	1839	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34214_derailleur_arriere_shimano_rd-m4000_9_vitesses_sgs_shadow_direct_mount.jpg
2023-10-13	12:53:57	1839	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:57	1839	[DEBUG]	Process image file
2023-10-13	12:53:57	1839	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:57	1839	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:57	1839	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34214_derailleur_arriere_shimano_rd-m4000_9_vitesses_sgs_shadow_direct_mount.jpg
2023-10-13	12:53:57	1839	[DEBUG]	Full name target: bcprisme/34214_derailleur_arriere_shimano_rd-m4000_9_vitesses_sgs_shadow_direct_mount.jpg
2023-10-13	12:53:58	1839	[DEBUG]	Checking if the file_url exists
2023-10-13	12:53:58	1839	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34214_derailleur_arriere_shimano_rd-m4000_9_vitesses_sgs_shadow_direct_mount.jpg'
2023-10-13	12:53:58	1839	[DEBUG]	Query for Media
2023-10-13	12:53:58	1839	[DEBUG]	Executed store
2023-10-13	12:53:58	1839	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34214_derailleur_arriere_shimano_rd-m4000_9_vitesses_sgs_shadow_direct_mount.jpg',`file_url_thumb`='bcprisme/34214_derailleur_arriere_shimano_rd-m4000_9_vitesses_sgs_shadow_direct_mount.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24660'
2023-10-13	12:53:58	1839	[DEBUG]	Query for ProductMedia
2023-10-13	12:53:58	1839	[DEBUG]	Executed store
2023-10-13	12:53:58	1839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861331','24660','1')
2023-10-13	12:53:58	1839	[DEBUG]	Store product image relation
2023-10-13	12:53:58	1839	[DEBUG]	Finding a product_price_id
2023-10-13	12:53:58	1839	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861331 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:53:58	1839	[DEBUG]	Query for ProductPrice
2023-10-13	12:53:58	1839	[DEBUG]	Executed store
2023-10-13	12:53:58	1839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861331','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:53:58	1839	[DEBUG]	Checking manufacturer
2023-10-13	12:53:58	1839	[DEBUG]	Load a row
2023-10-13	12:53:58	1839	[DEBUG]	Manufacturer already exists
2023-10-13	12:53:58	1839	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:58	1839	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:53:58	1839	[DEBUG]	Executed store
2023-10-13	12:53:58	1839	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:53:58	1839	[DEBUG]	Manufacturer exists
2023-10-13	12:53:58	1839	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:53:58	1839	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:53:58	1839	[DEBUG]	Executed store
2023-10-13	12:53:58	1839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861331','26')
2023-10-13	12:53:58	1839	[DEBUG]	Find the custom field ID
2023-10-13	12:53:58	1839	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:53:58	1839	[DEBUG]	No custom field ID found
2023-10-13	12:53:58	1839	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:53:58	1839	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:53:58	1839	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861331 AND `virtuemart_custom_id` = 3
2023-10-13	12:53:58	1839	[DEBUG]	Store custom available field
2023-10-13	12:53:58	1839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861331,3,'0',1)
2023-10-13	12:53:58	1839	[DEBUG]	Processing custom available field: taille
2023-10-13	12:53:58	1839	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:53:58	1839	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861331 AND `virtuemart_custom_id` = 6
2023-10-13	12:53:58	1839	[DEBUG]	Store custom available field
2023-10-13	12:53:58	1839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861331,6,'choisir la taille',3)
2023-10-13	12:53:58	1839	[DEBUG]	Process multi-variant fields
2023-10-13	12:53:58	1839	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:53:58	1839	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:53:58	1839	[DEBUG]	Find the multi variant product entry
2023-10-13	12:53:58	1839	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861331 AND `virtuemart_custom_id` = 8
2023-10-13	12:53:58	1839	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:53:58	1839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861331,8,1)
2023-10-13	12:53:58	1839	[DEBUG]	Store the updated customfield_params
2023-10-13	12:53:58	1839	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861331\":[1861331,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861331
2023-10-13	12:53:58	1839	[DEBUG]	Checking category
2023-10-13	12:53:58	1839	[DEBUG]	Get the existing categories for the product
2023-10-13	12:53:58	1839	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861331
2023-10-13	12:53:58	1839	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:53:58	1839	[DEBUG]	Executed store
2023-10-13	12:53:58	1839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861331','7312')
2023-10-13	12:53:58	1839	[DEBUG]	Delete leftover product categories
2023-10-13	12:53:58	1839	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861331 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:53:58	1839	[DEBUG]	Update has fields after all processing
2023-10-13	12:53:58	1839	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861331
2023-10-13	12:53:58	1840	[DEBUG]	Use field value for field product_sku
2023-10-13	12:53:58	1840	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:53:58	1840	[DEBUG]	Use field value for field taille
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:53:58	1840	[DEBUG]	Use field value for field product_name
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field category_path
2023-10-13	12:53:58	1840	[DEBUG]	Use field value for field product_price
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:53:58	1840	[DEBUG]	Use field value for field product_tax
2023-10-13	12:53:58	1840	[DEBUG]	Use field value for field file_url
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field product_desc
2023-10-13	12:53:58	1840	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:53:58	1840	[DEBUG]	Use field value for field product_availability
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field product_weight
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field product_unit
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field related_products
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field product_special
2023-10-13	12:53:58	1840	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:53:58	1840	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:53:58	1840	[DEBUG]	Use field value for field published
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field metadesc
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field metakey
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field custom_title
2023-10-13	12:53:58	1840	[DEBUG]	Use field value for field custom_value
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field custom_param
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field override
2023-10-13	12:53:58	1840	[DEBUG]	Use default value for field public_price
2023-10-13	12:53:58	1840	[DEBUG]	Use field value for field slug
2023-10-13	12:53:59	1840	[DEBUG]	Process line 1840
2023-10-13	12:53:59	1840	[DEBUG]	Load a row
2023-10-13	12:53:59	1840	[DEBUG]	Processing item: 4524667578949
2023-10-13	12:53:59	1840	[DEBUG]	Looking for parent SKU
2023-10-13	12:53:59	1840	[DEBUG]	Checking product parent SKU
2023-10-13	12:53:59	1840	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7059_1'
2023-10-13	12:53:59	1840	[DEBUG]	Product tax: 7.7
2023-10-13	12:53:59	1840	[DEBUG]	Processing product tax
2023-10-13	12:53:59	1840	[DEBUG]	Check if calculation rule exists
2023-10-13	12:53:59	1840	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:53:59	1840	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:53:59	1840	[DEBUG]	Query for Product
2023-10-13	12:53:59	1840	[DEBUG]	Executed store
2023-10-13	12:53:59	1840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861331','4524667578949','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:53:59	1840	[DEBUG]	No parent found
2023-10-13	12:53:59	1840	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861331 AND customfield_value = 'stockable'
2023-10-13	12:53:59	1840	[DEBUG]	Check product language entry
2023-10-13	12:53:59	1840	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861332
2023-10-13	12:53:59	1840	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:59	1840	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667578949' AND `virtuemart_product_id` != 1861332
2023-10-13	12:53:59	1840	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:53:59	1840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861332, '4524667578949')
2023-10-13	12:53:59	1840	[DEBUG]	Check if the product slug exists
2023-10-13	12:53:59	1840	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-arriere-shimano-rd-m4000-9-vitesses-sgs-shadow-direct-mount-noir-unitaire' AND `virtuemart_product_id` != 1861332
2023-10-13	12:53:59	1840	[DEBUG]	Query for ProductLang
2023-10-13	12:53:59	1840	[DEBUG]	Executed store
2023-10-13	12:53:59	1840	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur arrière SHIMANO RD-M4000 9 vitesses SGS Shadow Direct Mount / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-arriere-shimano-rd-m4000-9-vitesses-sgs-shadow-direct-mount-noir-unitaire' WHERE `virtuemart_product_id` = '1861332'
2023-10-13	12:53:59	1840	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34214_derailleur_arriere_shimano_rd-m4000_9_vitesses_sgs_shadow_direct_mount.jpg
2023-10-13	12:53:59	1840	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:59	1840	[DEBUG]	Process image file
2023-10-13	12:53:59	1840	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:53:59	1840	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:53:59	1840	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34214_derailleur_arriere_shimano_rd-m4000_9_vitesses_sgs_shadow_direct_mount.jpg
2023-10-13	12:53:59	1840	[DEBUG]	Full name target: bcprisme/34214_derailleur_arriere_shimano_rd-m4000_9_vitesses_sgs_shadow_direct_mount.jpg
2023-10-13	12:54:00	1840	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:00	1840	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34214_derailleur_arriere_shimano_rd-m4000_9_vitesses_sgs_shadow_direct_mount.jpg'
2023-10-13	12:54:00	1840	[DEBUG]	Query for Media
2023-10-13	12:54:00	1840	[DEBUG]	Executed store
2023-10-13	12:54:00	1840	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34214_derailleur_arriere_shimano_rd-m4000_9_vitesses_sgs_shadow_direct_mount.jpg',`file_url_thumb`='bcprisme/34214_derailleur_arriere_shimano_rd-m4000_9_vitesses_sgs_shadow_direct_mount.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24660'
2023-10-13	12:54:00	1840	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:00	1840	[DEBUG]	Executed store
2023-10-13	12:54:00	1840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861332','24660','1')
2023-10-13	12:54:00	1840	[DEBUG]	Store product image relation
2023-10-13	12:54:00	1840	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:00	1840	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861332 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:00	1840	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:00	1840	[DEBUG]	Executed store
2023-10-13	12:54:00	1840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861332','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:00	1840	[DEBUG]	Checking manufacturer
2023-10-13	12:54:00	1840	[DEBUG]	Load a row
2023-10-13	12:54:00	1840	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:00	1840	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:00	1840	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:00	1840	[DEBUG]	Executed store
2023-10-13	12:54:00	1840	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:00	1840	[DEBUG]	Manufacturer exists
2023-10-13	12:54:00	1840	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:00	1840	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:00	1840	[DEBUG]	Executed store
2023-10-13	12:54:00	1840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861332','26')
2023-10-13	12:54:00	1840	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:00	1840	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:00	1840	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861332 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:00	1840	[DEBUG]	Store custom available field
2023-10-13	12:54:00	1840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861332,3,'',1)
2023-10-13	12:54:00	1840	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:00	1840	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:00	1840	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861332 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:00	1840	[DEBUG]	Store custom available field
2023-10-13	12:54:00	1840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861332,6,'Unitaire',3)
2023-10-13	12:54:00	1840	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:00	1840	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:00	1840	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861331
2023-10-13	12:54:00	1840	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:00	1840	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861331\":[1861331,8,1,\"choisir la taille\"],\"1861332\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861331
2023-10-13	12:54:00	1840	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:00	1840	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861332
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:00	1841	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field taille
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:00	1841	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:00	1841	[DEBUG]	Use default value for field file_url
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:00	1841	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:00	1841	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:00	1841	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:00	1841	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:00	1841	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field published
2023-10-13	12:54:00	1841	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:00	1841	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field override
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:00	1841	[DEBUG]	Use field value for field slug
2023-10-13	12:54:00	1841	[DEBUG]	Process line 1841
2023-10-13	12:54:00	1841	[DEBUG]	Load a row
2023-10-13	12:54:00	1841	[DEBUG]	Processing item: A_7067_1
2023-10-13	12:54:00	1841	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:00	1841	[DEBUG]	Processing product tax
2023-10-13	12:54:00	1841	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:00	1841	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:00	1841	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:00	1841	[DEBUG]	Query for Product
2023-10-13	12:54:00	1841	[DEBUG]	Executed store
2023-10-13	12:54:00	1841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7067_1','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:00	1841	[DEBUG]	Check product language entry
2023-10-13	12:54:00	1841	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861333
2023-10-13	12:54:00	1841	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:00	1841	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7067_1' AND `virtuemart_product_id` != 1861333
2023-10-13	12:54:00	1841	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:00	1841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861333, 'A_7067_1')
2023-10-13	12:54:00	1841	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:00	1841	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-arriere-shimano-deore-xt-sm-rt76-203mm-noir' AND `virtuemart_product_id` != 1861333
2023-10-13	12:54:00	1841	[DEBUG]	Query for ProductLang
2023-10-13	12:54:00	1841	[DEBUG]	Executed store
2023-10-13	12:54:00	1841	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.69405',`product_name`='SHIMANO Dérailleur arrière SHIMANO Deore XT SM-RT76 203mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-arriere-shimano-deore-xt-sm-rt76-203mm-noir' WHERE `virtuemart_product_id` = '1861333'
2023-10-13	12:54:00	1841	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:00	1841	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861333 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:00	1841	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:00	1841	[DEBUG]	Executed store
2023-10-13	12:54:00	1841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861333','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:00	1841	[DEBUG]	Checking manufacturer
2023-10-13	12:54:00	1841	[DEBUG]	Load a row
2023-10-13	12:54:00	1841	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:00	1841	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:00	1841	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:00	1841	[DEBUG]	Executed store
2023-10-13	12:54:00	1841	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:00	1841	[DEBUG]	Manufacturer exists
2023-10-13	12:54:00	1841	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:00	1841	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:00	1841	[DEBUG]	Executed store
2023-10-13	12:54:00	1841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861333','26')
2023-10-13	12:54:00	1841	[DEBUG]	Find the custom field ID
2023-10-13	12:54:00	1841	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:00	1841	[DEBUG]	No custom field ID found
2023-10-13	12:54:00	1841	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:00	1841	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:00	1841	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861333 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:00	1841	[DEBUG]	Store custom available field
2023-10-13	12:54:00	1841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861333,3,'0',1)
2023-10-13	12:54:00	1841	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:00	1841	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:00	1841	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861333 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:00	1841	[DEBUG]	Store custom available field
2023-10-13	12:54:00	1841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861333,6,'choisir la taille',3)
2023-10-13	12:54:00	1841	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:00	1841	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:00	1841	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:00	1841	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:00	1841	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861333 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:00	1841	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:00	1841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861333,8,1)
2023-10-13	12:54:00	1841	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:00	1841	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861333\":[1861333,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861333
2023-10-13	12:54:00	1841	[DEBUG]	Checking category
2023-10-13	12:54:00	1841	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:00	1841	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861333
2023-10-13	12:54:00	1841	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:00	1841	[DEBUG]	Executed store
2023-10-13	12:54:00	1841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861333','7312')
2023-10-13	12:54:00	1841	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:00	1841	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861333 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:00	1841	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:00	1841	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861333
2023-10-13	12:54:00	1842	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:00	1842	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:00	1842	[DEBUG]	Use field value for field taille
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:00	1842	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:00	1842	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:00	1842	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field file_url
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:00	1842	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:00	1842	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:00	1842	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:00	1842	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:00	1842	[DEBUG]	Use field value for field published
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:00	1842	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field override
2023-10-13	12:54:00	1842	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:00	1842	[DEBUG]	Use field value for field slug
2023-10-13	12:54:00	1842	[DEBUG]	Process line 1842
2023-10-13	12:54:00	1842	[DEBUG]	Load a row
2023-10-13	12:54:00	1842	[DEBUG]	Processing item: 4524667413257
2023-10-13	12:54:00	1842	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:00	1842	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:00	1842	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7067_1'
2023-10-13	12:54:00	1842	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:00	1842	[DEBUG]	Processing product tax
2023-10-13	12:54:00	1842	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:00	1842	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:00	1842	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:00	1842	[DEBUG]	Query for Product
2023-10-13	12:54:00	1842	[DEBUG]	Executed store
2023-10-13	12:54:00	1842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861333','4524667413257','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:00	1842	[DEBUG]	No parent found
2023-10-13	12:54:00	1842	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861333 AND customfield_value = 'stockable'
2023-10-13	12:54:00	1842	[DEBUG]	Check product language entry
2023-10-13	12:54:00	1842	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861334
2023-10-13	12:54:00	1842	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:00	1842	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667413257' AND `virtuemart_product_id` != 1861334
2023-10-13	12:54:00	1842	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:00	1842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861334, '4524667413257')
2023-10-13	12:54:00	1842	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:00	1842	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-arriere-shimano-deore-xt-sm-rt76-203mm-noir-unitaire' AND `virtuemart_product_id` != 1861334
2023-10-13	12:54:00	1842	[DEBUG]	Query for ProductLang
2023-10-13	12:54:00	1842	[DEBUG]	Executed store
2023-10-13	12:54:00	1842	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur arrière SHIMANO Deore XT SM-RT76 203mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-arriere-shimano-deore-xt-sm-rt76-203mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861334'
2023-10-13	12:54:00	1842	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:00	1842	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861334 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:00	1842	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:00	1842	[DEBUG]	Executed store
2023-10-13	12:54:00	1842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861334','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:00	1842	[DEBUG]	Checking manufacturer
2023-10-13	12:54:00	1842	[DEBUG]	Load a row
2023-10-13	12:54:00	1842	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:00	1842	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:00	1842	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:00	1842	[DEBUG]	Executed store
2023-10-13	12:54:00	1842	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:00	1842	[DEBUG]	Manufacturer exists
2023-10-13	12:54:00	1842	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:00	1842	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:00	1842	[DEBUG]	Executed store
2023-10-13	12:54:00	1842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861334','26')
2023-10-13	12:54:00	1842	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:00	1842	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:00	1842	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861334 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:00	1842	[DEBUG]	Store custom available field
2023-10-13	12:54:00	1842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861334,3,'',1)
2023-10-13	12:54:00	1842	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:00	1842	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:00	1842	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861334 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:00	1842	[DEBUG]	Store custom available field
2023-10-13	12:54:00	1842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861334,6,'Unitaire',3)
2023-10-13	12:54:00	1842	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:00	1842	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:00	1842	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861333
2023-10-13	12:54:00	1842	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:00	1842	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861333\":[1861333,8,1,\"choisir la taille\"],\"1861334\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861333
2023-10-13	12:54:00	1842	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:00	1842	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861334
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:00	1843	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field taille
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:00	1843	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:00	1843	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:00	1843	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:00	1843	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:00	1843	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:00	1843	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field published
2023-10-13	12:54:00	1843	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:00	1843	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field override
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:00	1843	[DEBUG]	Use field value for field slug
2023-10-13	12:54:00	1843	[DEBUG]	Process line 1843
2023-10-13	12:54:00	1843	[DEBUG]	Load a row
2023-10-13	12:54:00	1843	[DEBUG]	Processing item: A_7081_1
2023-10-13	12:54:00	1843	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:00	1843	[DEBUG]	Processing product tax
2023-10-13	12:54:00	1843	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:00	1843	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:00	1843	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:00	1843	[DEBUG]	Query for Product
2023-10-13	12:54:00	1843	[DEBUG]	Executed store
2023-10-13	12:54:00	1843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7081_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:00	1843	[DEBUG]	Check product language entry
2023-10-13	12:54:00	1843	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861335
2023-10-13	12:54:00	1843	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:00	1843	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7081_1' AND `virtuemart_product_id` != 1861335
2023-10-13	12:54:00	1843	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:00	1843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861335, 'A_7081_1')
2023-10-13	12:54:00	1843	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:00	1843	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-nx-eagle-12-vit-noir' AND `virtuemart_product_id` != 1861335
2023-10-13	12:54:00	1843	[DEBUG]	Query for ProductLang
2023-10-13	12:54:00	1843	[DEBUG]	Executed store
2023-10-13	12:54:00	1843	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7546A',`product_name`='SRAM Dérailleur arrière NX Eagle 12-vit.  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-nx-eagle-12-vit-noir' WHERE `virtuemart_product_id` = '1861335'
2023-10-13	12:54:00	1843	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34235_derailleur_arriere_nx_eagle_12-vit__.jpg
2023-10-13	12:54:00	1843	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:00	1843	[DEBUG]	Process image file
2023-10-13	12:54:00	1843	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:00	1843	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:00	1843	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34235_derailleur_arriere_nx_eagle_12-vit__.jpg
2023-10-13	12:54:00	1843	[DEBUG]	Full name target: bcprisme/34235_derailleur_arriere_nx_eagle_12-vit__.jpg
2023-10-13	12:54:01	1843	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:01	1843	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34235_derailleur_arriere_nx_eagle_12-vit__.jpg'
2023-10-13	12:54:01	1843	[DEBUG]	Query for Media
2023-10-13	12:54:01	1843	[DEBUG]	Executed store
2023-10-13	12:54:01	1843	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34235_derailleur_arriere_nx_eagle_12-vit__.jpg',`file_url_thumb`='bcprisme/34235_derailleur_arriere_nx_eagle_12-vit__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '383442'
2023-10-13	12:54:01	1843	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:01	1843	[DEBUG]	Executed store
2023-10-13	12:54:01	1843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861335','383442','1')
2023-10-13	12:54:01	1843	[DEBUG]	Store product image relation
2023-10-13	12:54:01	1843	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:01	1843	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861335 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:01	1843	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:01	1843	[DEBUG]	Executed store
2023-10-13	12:54:01	1843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861335','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:01	1843	[DEBUG]	Checking manufacturer
2023-10-13	12:54:01	1843	[DEBUG]	Load a row
2023-10-13	12:54:01	1843	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:01	1843	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:01	1843	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:01	1843	[DEBUG]	Executed store
2023-10-13	12:54:01	1843	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:01	1843	[DEBUG]	Manufacturer exists
2023-10-13	12:54:01	1843	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:01	1843	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:01	1843	[DEBUG]	Executed store
2023-10-13	12:54:01	1843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861335','35')
2023-10-13	12:54:01	1843	[DEBUG]	Find the custom field ID
2023-10-13	12:54:01	1843	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:01	1843	[DEBUG]	No custom field ID found
2023-10-13	12:54:01	1843	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:01	1843	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:01	1843	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861335 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:01	1843	[DEBUG]	Store custom available field
2023-10-13	12:54:01	1843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861335,3,'0',1)
2023-10-13	12:54:01	1843	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:01	1843	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:01	1843	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861335 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:01	1843	[DEBUG]	Store custom available field
2023-10-13	12:54:01	1843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861335,6,'choisir la taille',3)
2023-10-13	12:54:01	1843	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:01	1843	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:01	1843	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:01	1843	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:01	1843	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861335 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:01	1843	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:01	1843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861335,8,1)
2023-10-13	12:54:01	1843	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:01	1843	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861335\":[1861335,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861335
2023-10-13	12:54:01	1843	[DEBUG]	Checking category
2023-10-13	12:54:01	1843	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:01	1843	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861335
2023-10-13	12:54:01	1843	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:01	1843	[DEBUG]	Executed store
2023-10-13	12:54:01	1843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861335','7312')
2023-10-13	12:54:01	1843	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:01	1843	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861335 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:01	1843	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:01	1843	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861335
2023-10-13	12:54:01	1844	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:01	1844	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:01	1844	[DEBUG]	Use field value for field taille
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:01	1844	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:01	1844	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:01	1844	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:01	1844	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:01	1844	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:01	1844	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:01	1844	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:01	1844	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:01	1844	[DEBUG]	Use field value for field published
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:01	1844	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field override
2023-10-13	12:54:01	1844	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:01	1844	[DEBUG]	Use field value for field slug
2023-10-13	12:54:01	1844	[DEBUG]	Process line 1844
2023-10-13	12:54:01	1844	[DEBUG]	Load a row
2023-10-13	12:54:01	1844	[DEBUG]	Processing item: 710845818028
2023-10-13	12:54:01	1844	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:01	1844	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:01	1844	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7081_1'
2023-10-13	12:54:01	1844	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:01	1844	[DEBUG]	Processing product tax
2023-10-13	12:54:01	1844	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:01	1844	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:01	1844	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:01	1844	[DEBUG]	Query for Product
2023-10-13	12:54:01	1844	[DEBUG]	Executed store
2023-10-13	12:54:01	1844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861335','710845818028','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:01	1844	[DEBUG]	No parent found
2023-10-13	12:54:01	1844	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861335 AND customfield_value = 'stockable'
2023-10-13	12:54:01	1844	[DEBUG]	Check product language entry
2023-10-13	12:54:01	1844	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861336
2023-10-13	12:54:01	1844	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:01	1844	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845818028' AND `virtuemart_product_id` != 1861336
2023-10-13	12:54:01	1844	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:01	1844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861336, '710845818028')
2023-10-13	12:54:01	1844	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:01	1844	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-nx-eagle-12-vit-noir-unitaire' AND `virtuemart_product_id` != 1861336
2023-10-13	12:54:01	1844	[DEBUG]	Query for ProductLang
2023-10-13	12:54:01	1844	[DEBUG]	Executed store
2023-10-13	12:54:01	1844	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Dérailleur arrière NX Eagle 12-vit.  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-nx-eagle-12-vit-noir-unitaire' WHERE `virtuemart_product_id` = '1861336'
2023-10-13	12:54:01	1844	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34235_derailleur_arriere_nx_eagle_12-vit__.jpg
2023-10-13	12:54:01	1844	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:01	1844	[DEBUG]	Process image file
2023-10-13	12:54:01	1844	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:01	1844	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:01	1844	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34235_derailleur_arriere_nx_eagle_12-vit__.jpg
2023-10-13	12:54:01	1844	[DEBUG]	Full name target: bcprisme/34235_derailleur_arriere_nx_eagle_12-vit__.jpg
2023-10-13	12:54:02	1844	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:02	1844	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34235_derailleur_arriere_nx_eagle_12-vit__.jpg'
2023-10-13	12:54:02	1844	[DEBUG]	Query for Media
2023-10-13	12:54:02	1844	[DEBUG]	Executed store
2023-10-13	12:54:02	1844	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34235_derailleur_arriere_nx_eagle_12-vit__.jpg',`file_url_thumb`='bcprisme/34235_derailleur_arriere_nx_eagle_12-vit__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '383442'
2023-10-13	12:54:02	1844	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:02	1844	[DEBUG]	Executed store
2023-10-13	12:54:02	1844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861336','383442','1')
2023-10-13	12:54:02	1844	[DEBUG]	Store product image relation
2023-10-13	12:54:02	1844	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:02	1844	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861336 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:02	1844	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:02	1844	[DEBUG]	Executed store
2023-10-13	12:54:02	1844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861336','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:02	1844	[DEBUG]	Checking manufacturer
2023-10-13	12:54:02	1844	[DEBUG]	Load a row
2023-10-13	12:54:02	1844	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:02	1844	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:02	1844	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:02	1844	[DEBUG]	Executed store
2023-10-13	12:54:02	1844	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:02	1844	[DEBUG]	Manufacturer exists
2023-10-13	12:54:02	1844	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:02	1844	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:02	1844	[DEBUG]	Executed store
2023-10-13	12:54:02	1844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861336','35')
2023-10-13	12:54:02	1844	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:02	1844	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:02	1844	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861336 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:02	1844	[DEBUG]	Store custom available field
2023-10-13	12:54:02	1844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861336,3,'',1)
2023-10-13	12:54:02	1844	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:02	1844	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:02	1844	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861336 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:02	1844	[DEBUG]	Store custom available field
2023-10-13	12:54:02	1844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861336,6,'Unitaire',3)
2023-10-13	12:54:02	1844	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:02	1844	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:02	1844	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861335
2023-10-13	12:54:02	1844	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:02	1844	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861335\":[1861335,8,1,\"choisir la taille\"],\"1861336\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861335
2023-10-13	12:54:02	1844	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:02	1844	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861336
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:02	1845	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field taille
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:02	1845	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:02	1845	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:02	1845	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:02	1845	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:02	1845	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:02	1845	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field published
2023-10-13	12:54:02	1845	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:02	1845	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field override
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:02	1845	[DEBUG]	Use field value for field slug
2023-10-13	12:54:02	1845	[DEBUG]	Process line 1845
2023-10-13	12:54:02	1845	[DEBUG]	Load a row
2023-10-13	12:54:02	1845	[DEBUG]	Processing item: A_7082_1
2023-10-13	12:54:02	1845	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:02	1845	[DEBUG]	Processing product tax
2023-10-13	12:54:02	1845	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:02	1845	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:02	1845	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:02	1845	[DEBUG]	Query for Product
2023-10-13	12:54:02	1845	[DEBUG]	Executed store
2023-10-13	12:54:02	1845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7082_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:02	1845	[DEBUG]	Check product language entry
2023-10-13	12:54:02	1845	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861337
2023-10-13	12:54:02	1845	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:02	1845	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7082_1' AND `virtuemart_product_id` != 1861337
2023-10-13	12:54:02	1845	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:02	1845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861337, 'A_7082_1')
2023-10-13	12:54:02	1845	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:02	1845	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-apext1-long-cage-11vit-max-42-dents-noir' AND `virtuemart_product_id` != 1861337
2023-10-13	12:54:02	1845	[DEBUG]	Query for ProductLang
2023-10-13	12:54:02	1845	[DEBUG]	Executed store
2023-10-13	12:54:02	1845	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7525A',`product_name`='SRAM Dérailleur arrière Apext1 Long Cage 11vit. max 42 dents / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-apext1-long-cage-11vit-max-42-dents-noir' WHERE `virtuemart_product_id` = '1861337'
2023-10-13	12:54:02	1845	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34236_derailleur_arriere_apext1_long_cage_11vit__max_42_dents.jpg
2023-10-13	12:54:02	1845	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:54:02	1845	[DEBUG]	Process image file
2023-10-13	12:54:02	1845	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:54:02	1845	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:02	1845	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34236_derailleur_arriere_apext1_long_cage_11vit__max_42_dents.jpg
2023-10-13	12:54:02	1845	[DEBUG]	Full name target: bcprisme/34236_derailleur_arriere_apext1_long_cage_11vit__max_42_dents.jpg
2023-10-13	12:54:03	1845	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:03	1845	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34236_derailleur_arriere_apext1_long_cage_11vit__max_42_dents.jpg'
2023-10-13	12:54:03	1845	[DEBUG]	Query for Media
2023-10-13	12:54:03	1845	[DEBUG]	Executed store
2023-10-13	12:54:03	1845	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34236_derailleur_arriere_apext1_long_cage_11vit__max_42_dents.jpg',`file_url_thumb`='bcprisme/34236_derailleur_arriere_apext1_long_cage_11vit__max_42_dents.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '161167'
2023-10-13	12:54:03	1845	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:03	1845	[DEBUG]	Executed store
2023-10-13	12:54:03	1845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861337','161167','1')
2023-10-13	12:54:03	1845	[DEBUG]	Store product image relation
2023-10-13	12:54:03	1845	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:03	1845	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861337 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:03	1845	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:03	1845	[DEBUG]	Executed store
2023-10-13	12:54:03	1845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861337','0','78.9229340761374','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:03	1845	[DEBUG]	Checking manufacturer
2023-10-13	12:54:03	1845	[DEBUG]	Load a row
2023-10-13	12:54:03	1845	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:03	1845	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:03	1845	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:03	1845	[DEBUG]	Executed store
2023-10-13	12:54:03	1845	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:03	1845	[DEBUG]	Manufacturer exists
2023-10-13	12:54:03	1845	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:03	1845	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:03	1845	[DEBUG]	Executed store
2023-10-13	12:54:03	1845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861337','35')
2023-10-13	12:54:03	1845	[DEBUG]	Find the custom field ID
2023-10-13	12:54:03	1845	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:03	1845	[DEBUG]	No custom field ID found
2023-10-13	12:54:03	1845	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:03	1845	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:03	1845	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861337 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:03	1845	[DEBUG]	Store custom available field
2023-10-13	12:54:03	1845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861337,3,'0',1)
2023-10-13	12:54:03	1845	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:03	1845	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:03	1845	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861337 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:03	1845	[DEBUG]	Store custom available field
2023-10-13	12:54:03	1845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861337,6,'choisir la taille',3)
2023-10-13	12:54:03	1845	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:03	1845	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:03	1845	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:03	1845	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:03	1845	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861337 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:03	1845	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:03	1845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861337,8,1)
2023-10-13	12:54:03	1845	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:03	1845	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861337\":[1861337,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861337
2023-10-13	12:54:03	1845	[DEBUG]	Checking category
2023-10-13	12:54:03	1845	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:03	1845	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861337
2023-10-13	12:54:03	1845	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:03	1845	[DEBUG]	Executed store
2023-10-13	12:54:03	1845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861337','7312')
2023-10-13	12:54:03	1845	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:03	1845	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861337 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:03	1845	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:03	1845	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861337
2023-10-13	12:54:03	1846	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:03	1846	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:03	1846	[DEBUG]	Use field value for field taille
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:03	1846	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:03	1846	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:03	1846	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:03	1846	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:03	1846	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:03	1846	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:03	1846	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:03	1846	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:03	1846	[DEBUG]	Use field value for field published
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:03	1846	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field override
2023-10-13	12:54:03	1846	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:03	1846	[DEBUG]	Use field value for field slug
2023-10-13	12:54:03	1846	[DEBUG]	Process line 1846
2023-10-13	12:54:03	1846	[DEBUG]	Load a row
2023-10-13	12:54:03	1846	[DEBUG]	Processing item: 710845783203
2023-10-13	12:54:03	1846	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:03	1846	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:03	1846	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7082_1'
2023-10-13	12:54:03	1846	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:03	1846	[DEBUG]	Processing product tax
2023-10-13	12:54:03	1846	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:03	1846	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:03	1846	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:03	1846	[DEBUG]	Query for Product
2023-10-13	12:54:03	1846	[DEBUG]	Executed store
2023-10-13	12:54:03	1846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861337','710845783203','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:03	1846	[DEBUG]	No parent found
2023-10-13	12:54:03	1846	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861337 AND customfield_value = 'stockable'
2023-10-13	12:54:03	1846	[DEBUG]	Check product language entry
2023-10-13	12:54:03	1846	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861338
2023-10-13	12:54:03	1846	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:03	1846	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845783203' AND `virtuemart_product_id` != 1861338
2023-10-13	12:54:03	1846	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:03	1846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861338, '710845783203')
2023-10-13	12:54:03	1846	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:03	1846	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-apext1-long-cage-11vit-max-42-dents-noir-unitaire' AND `virtuemart_product_id` != 1861338
2023-10-13	12:54:03	1846	[DEBUG]	Query for ProductLang
2023-10-13	12:54:03	1846	[DEBUG]	Executed store
2023-10-13	12:54:03	1846	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Dérailleur arrière Apext1 Long Cage 11vit. max 42 dents / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-apext1-long-cage-11vit-max-42-dents-noir-unitaire' WHERE `virtuemart_product_id` = '1861338'
2023-10-13	12:54:03	1846	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34236_derailleur_arriere_apext1_long_cage_11vit__max_42_dents.jpg
2023-10-13	12:54:03	1846	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:54:03	1846	[DEBUG]	Process image file
2023-10-13	12:54:03	1846	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:54:03	1846	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:03	1846	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34236_derailleur_arriere_apext1_long_cage_11vit__max_42_dents.jpg
2023-10-13	12:54:03	1846	[DEBUG]	Full name target: bcprisme/34236_derailleur_arriere_apext1_long_cage_11vit__max_42_dents.jpg
2023-10-13	12:54:04	1846	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:04	1846	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34236_derailleur_arriere_apext1_long_cage_11vit__max_42_dents.jpg'
2023-10-13	12:54:04	1846	[DEBUG]	Query for Media
2023-10-13	12:54:04	1846	[DEBUG]	Executed store
2023-10-13	12:54:04	1846	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34236_derailleur_arriere_apext1_long_cage_11vit__max_42_dents.jpg',`file_url_thumb`='bcprisme/34236_derailleur_arriere_apext1_long_cage_11vit__max_42_dents.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '161167'
2023-10-13	12:54:04	1846	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:04	1846	[DEBUG]	Executed store
2023-10-13	12:54:04	1846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861338','161167','1')
2023-10-13	12:54:04	1846	[DEBUG]	Store product image relation
2023-10-13	12:54:04	1846	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:04	1846	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861338 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:04	1846	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:04	1846	[DEBUG]	Executed store
2023-10-13	12:54:04	1846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861338','0','78.9229340761374','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:04	1846	[DEBUG]	Checking manufacturer
2023-10-13	12:54:04	1846	[DEBUG]	Load a row
2023-10-13	12:54:04	1846	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:04	1846	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:04	1846	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:04	1846	[DEBUG]	Executed store
2023-10-13	12:54:04	1846	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:04	1846	[DEBUG]	Manufacturer exists
2023-10-13	12:54:04	1846	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:04	1846	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:04	1846	[DEBUG]	Executed store
2023-10-13	12:54:04	1846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861338','35')
2023-10-13	12:54:04	1846	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:04	1846	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:04	1846	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861338 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:04	1846	[DEBUG]	Store custom available field
2023-10-13	12:54:04	1846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861338,3,'',1)
2023-10-13	12:54:04	1846	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:04	1846	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:04	1846	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861338 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:04	1846	[DEBUG]	Store custom available field
2023-10-13	12:54:04	1846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861338,6,'Unitaire',3)
2023-10-13	12:54:04	1846	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:04	1846	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:04	1846	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861337
2023-10-13	12:54:04	1846	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:04	1846	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861337\":[1861337,8,1,\"choisir la taille\"],\"1861338\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861337
2023-10-13	12:54:04	1846	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:04	1846	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861338
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:04	1847	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field taille
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:04	1847	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:04	1847	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:04	1847	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:04	1847	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:04	1847	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:04	1847	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field published
2023-10-13	12:54:04	1847	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:04	1847	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field override
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:04	1847	[DEBUG]	Use field value for field slug
2023-10-13	12:54:04	1847	[DEBUG]	Process line 1847
2023-10-13	12:54:04	1847	[DEBUG]	Load a row
2023-10-13	12:54:04	1847	[DEBUG]	Processing item: A_7094_1
2023-10-13	12:54:04	1847	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:04	1847	[DEBUG]	Processing product tax
2023-10-13	12:54:04	1847	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:04	1847	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:04	1847	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:04	1847	[DEBUG]	Query for Product
2023-10-13	12:54:04	1847	[DEBUG]	Executed store
2023-10-13	12:54:04	1847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7094_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:04	1847	[DEBUG]	Check product language entry
2023-10-13	12:54:04	1847	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861339
2023-10-13	12:54:04	1847	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:04	1847	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7094_1' AND `virtuemart_product_id` != 1861339
2023-10-13	12:54:04	1847	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:04	1847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861339, 'A_7094_1')
2023-10-13	12:54:04	1847	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:04	1847	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-xt-rd-m8000-11-vit-gs-shadow-top-nor-mont-direct-noir' AND `virtuemart_product_id` != 1861339
2023-10-13	12:54:04	1847	[DEBUG]	Query for ProductLang
2023-10-13	12:54:04	1847	[DEBUG]	Executed store
2023-10-13	12:54:04	1847	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.63917',`product_name`='SHIMANO Dérailleur Deore XT RD-M8000 11-vit.GS Shadow+ Top-Nor.mont.direct  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-xt-rd-m8000-11-vit-gs-shadow-top-nor-mont-direct-noir' WHERE `virtuemart_product_id` = '1861339'
2023-10-13	12:54:04	1847	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34250_shimano_derailleur_deore_xt_rd-m8000_11-vit_gs_shadow+_top-nor_mont_direct_.jpg
2023-10-13	12:54:04	1847	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:04	1847	[DEBUG]	Process image file
2023-10-13	12:54:04	1847	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:04	1847	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:04	1847	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34250_shimano_derailleur_deore_xt_rd-m8000_11-vit_gs_shadow+_top-nor_mont_direct_.jpg
2023-10-13	12:54:04	1847	[DEBUG]	Full name target: bcprisme/34250_shimano_derailleur_deore_xt_rd-m8000_11-vit_gs_shadow+_top-nor_mont_direct_.jpg
2023-10-13	12:54:05	1847	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:05	1847	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34250_shimano_derailleur_deore_xt_rd-m8000_11-vit_gs_shadow+_top-nor_mont_direct_.jpg'
2023-10-13	12:54:05	1847	[DEBUG]	Query for Media
2023-10-13	12:54:05	1847	[DEBUG]	Executed store
2023-10-13	12:54:05	1847	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34250_shimano_derailleur_deore_xt_rd-m8000_11-vit_gs_shadow+_top-nor_mont_direct_.jpg',`file_url_thumb`='bcprisme/34250_shimano_derailleur_deore_xt_rd-m8000_11-vit_gs_shadow+_top-nor_mont_direct_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '110858'
2023-10-13	12:54:05	1847	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:05	1847	[DEBUG]	Executed store
2023-10-13	12:54:05	1847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861339','110858','1')
2023-10-13	12:54:05	1847	[DEBUG]	Store product image relation
2023-10-13	12:54:05	1847	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:05	1847	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861339 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:05	1847	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:05	1847	[DEBUG]	Executed store
2023-10-13	12:54:05	1847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861339','0','123.398328690808','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:05	1847	[DEBUG]	Checking manufacturer
2023-10-13	12:54:05	1847	[DEBUG]	Load a row
2023-10-13	12:54:05	1847	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:05	1847	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:05	1847	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:05	1847	[DEBUG]	Executed store
2023-10-13	12:54:05	1847	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:05	1847	[DEBUG]	Manufacturer exists
2023-10-13	12:54:05	1847	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:05	1847	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:05	1847	[DEBUG]	Executed store
2023-10-13	12:54:05	1847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861339','26')
2023-10-13	12:54:05	1847	[DEBUG]	Find the custom field ID
2023-10-13	12:54:05	1847	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:05	1847	[DEBUG]	No custom field ID found
2023-10-13	12:54:05	1847	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:05	1847	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:05	1847	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861339 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:05	1847	[DEBUG]	Store custom available field
2023-10-13	12:54:05	1847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861339,3,'0',1)
2023-10-13	12:54:05	1847	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:05	1847	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:05	1847	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861339 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:05	1847	[DEBUG]	Store custom available field
2023-10-13	12:54:05	1847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861339,6,'choisir la taille',3)
2023-10-13	12:54:05	1847	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:05	1847	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:05	1847	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:05	1847	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:05	1847	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861339 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:05	1847	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:05	1847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861339,8,1)
2023-10-13	12:54:05	1847	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:05	1847	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861339\":[1861339,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861339
2023-10-13	12:54:05	1847	[DEBUG]	Checking category
2023-10-13	12:54:05	1847	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:05	1847	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861339
2023-10-13	12:54:05	1847	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:05	1847	[DEBUG]	Executed store
2023-10-13	12:54:05	1847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861339','7312')
2023-10-13	12:54:05	1847	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:05	1847	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861339 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:05	1847	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:05	1847	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861339
2023-10-13	12:54:05	1848	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:05	1848	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:05	1848	[DEBUG]	Use field value for field taille
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:05	1848	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:05	1848	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:05	1848	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:05	1848	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:05	1848	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:05	1848	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:05	1848	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:05	1848	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:05	1848	[DEBUG]	Use field value for field published
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:05	1848	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field override
2023-10-13	12:54:05	1848	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:05	1848	[DEBUG]	Use field value for field slug
2023-10-13	12:54:05	1848	[DEBUG]	Process line 1848
2023-10-13	12:54:05	1848	[DEBUG]	Load a row
2023-10-13	12:54:05	1848	[DEBUG]	Processing item: 4524667919995
2023-10-13	12:54:05	1848	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:05	1848	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:05	1848	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7094_1'
2023-10-13	12:54:05	1848	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:05	1848	[DEBUG]	Processing product tax
2023-10-13	12:54:05	1848	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:05	1848	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:05	1848	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:05	1848	[DEBUG]	Query for Product
2023-10-13	12:54:05	1848	[DEBUG]	Executed store
2023-10-13	12:54:05	1848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861339','4524667919995','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:05	1848	[DEBUG]	No parent found
2023-10-13	12:54:05	1848	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861339 AND customfield_value = 'stockable'
2023-10-13	12:54:05	1848	[DEBUG]	Check product language entry
2023-10-13	12:54:05	1848	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861340
2023-10-13	12:54:05	1848	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:05	1848	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667919995' AND `virtuemart_product_id` != 1861340
2023-10-13	12:54:05	1848	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:05	1848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861340, '4524667919995')
2023-10-13	12:54:05	1848	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:05	1848	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-xt-rd-m8000-11-vit-gs-shadow-top-nor-mont-direct-noir-all' AND `virtuemart_product_id` != 1861340
2023-10-13	12:54:05	1848	[DEBUG]	Query for ProductLang
2023-10-13	12:54:05	1848	[DEBUG]	Executed store
2023-10-13	12:54:05	1848	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Deore XT RD-M8000 11-vit.GS Shadow+ Top-Nor.mont.direct  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-xt-rd-m8000-11-vit-gs-shadow-top-nor-mont-direct-noir-all' WHERE `virtuemart_product_id` = '1861340'
2023-10-13	12:54:05	1848	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34250_shimano_derailleur_deore_xt_rd-m8000_11-vit_gs_shadow+_top-nor_mont_direct_.jpg
2023-10-13	12:54:05	1848	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:05	1848	[DEBUG]	Process image file
2023-10-13	12:54:05	1848	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:05	1848	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:05	1848	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34250_shimano_derailleur_deore_xt_rd-m8000_11-vit_gs_shadow+_top-nor_mont_direct_.jpg
2023-10-13	12:54:05	1848	[DEBUG]	Full name target: bcprisme/34250_shimano_derailleur_deore_xt_rd-m8000_11-vit_gs_shadow+_top-nor_mont_direct_.jpg
2023-10-13	12:54:06	1848	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:06	1848	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34250_shimano_derailleur_deore_xt_rd-m8000_11-vit_gs_shadow+_top-nor_mont_direct_.jpg'
2023-10-13	12:54:06	1848	[DEBUG]	Query for Media
2023-10-13	12:54:06	1848	[DEBUG]	Executed store
2023-10-13	12:54:06	1848	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34250_shimano_derailleur_deore_xt_rd-m8000_11-vit_gs_shadow+_top-nor_mont_direct_.jpg',`file_url_thumb`='bcprisme/34250_shimano_derailleur_deore_xt_rd-m8000_11-vit_gs_shadow+_top-nor_mont_direct_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '110858'
2023-10-13	12:54:06	1848	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:06	1848	[DEBUG]	Executed store
2023-10-13	12:54:06	1848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861340','110858','1')
2023-10-13	12:54:06	1848	[DEBUG]	Store product image relation
2023-10-13	12:54:06	1848	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:06	1848	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861340 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:06	1848	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:06	1848	[DEBUG]	Executed store
2023-10-13	12:54:06	1848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861340','0','123.398328690808','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:06	1848	[DEBUG]	Checking manufacturer
2023-10-13	12:54:06	1848	[DEBUG]	Load a row
2023-10-13	12:54:06	1848	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:06	1848	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:06	1848	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:06	1848	[DEBUG]	Executed store
2023-10-13	12:54:06	1848	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:06	1848	[DEBUG]	Manufacturer exists
2023-10-13	12:54:06	1848	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:06	1848	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:06	1848	[DEBUG]	Executed store
2023-10-13	12:54:06	1848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861340','26')
2023-10-13	12:54:06	1848	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:06	1848	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:06	1848	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861340 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:06	1848	[DEBUG]	Store custom available field
2023-10-13	12:54:06	1848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861340,3,'',1)
2023-10-13	12:54:06	1848	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:06	1848	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:54:06	1848	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861340 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:06	1848	[DEBUG]	Store custom available field
2023-10-13	12:54:06	1848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861340,6,'All',3)
2023-10-13	12:54:06	1848	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:06	1848	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:06	1848	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861339
2023-10-13	12:54:06	1848	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:06	1848	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861339\":[1861339,8,1,\"choisir la taille\"],\"1861340\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861339
2023-10-13	12:54:06	1848	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:06	1848	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861340
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:06	1849	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field taille
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:06	1849	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:06	1849	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:06	1849	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:06	1849	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:06	1849	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:06	1849	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field published
2023-10-13	12:54:06	1849	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:06	1849	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field override
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:06	1849	[DEBUG]	Use field value for field slug
2023-10-13	12:54:06	1849	[DEBUG]	Process line 1849
2023-10-13	12:54:06	1849	[DEBUG]	Load a row
2023-10-13	12:54:06	1849	[DEBUG]	Processing item: A_7455_1
2023-10-13	12:54:06	1849	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:06	1849	[DEBUG]	Processing product tax
2023-10-13	12:54:06	1849	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:06	1849	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:06	1849	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:06	1849	[DEBUG]	Query for Product
2023-10-13	12:54:06	1849	[DEBUG]	Executed store
2023-10-13	12:54:06	1849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7455_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:06	1849	[DEBUG]	Check product language entry
2023-10-13	12:54:06	1849	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861341
2023-10-13	12:54:06	1849	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:06	1849	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7455_1' AND `virtuemart_product_id` != 1861341
2023-10-13	12:54:06	1849	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:06	1849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861341, 'A_7455_1')
2023-10-13	12:54:06	1849	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:06	1849	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-xt-rd-m781-10-vit-sgs-shadow-top-nor-mont-dir-noir-noir' AND `virtuemart_product_id` != 1861341
2023-10-13	12:54:06	1849	[DEBUG]	Query for ProductLang
2023-10-13	12:54:06	1849	[DEBUG]	Executed store
2023-10-13	12:54:06	1849	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.56470',`product_name`='SHIMANO Dérailleur Deore XT RD-M781 10-vit. SGS Shadow Top-Nor.mont.dir.noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-xt-rd-m781-10-vit-sgs-shadow-top-nor-mont-dir-noir-noir' WHERE `virtuemart_product_id` = '1861341'
2023-10-13	12:54:06	1849	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_52879.jpg
2023-10-13	12:54:06	1849	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:06	1849	[DEBUG]	Process image file
2023-10-13	12:54:06	1849	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:06	1849	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:06	1849	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_52879.jpg
2023-10-13	12:54:06	1849	[DEBUG]	Full name target: bcprisme/60_52879.jpg
2023-10-13	12:54:07	1849	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:07	1849	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_52879.jpg'
2023-10-13	12:54:07	1849	[DEBUG]	Query for Media
2023-10-13	12:54:07	1849	[DEBUG]	Executed store
2023-10-13	12:54:07	1849	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_52879.jpg',`file_url_thumb`='bcprisme/60_52879.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436190'
2023-10-13	12:54:07	1849	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:07	1849	[DEBUG]	Executed store
2023-10-13	12:54:07	1849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861341','436190','1')
2023-10-13	12:54:07	1849	[DEBUG]	Store product image relation
2023-10-13	12:54:07	1849	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:07	1849	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861341 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:07	1849	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:07	1849	[DEBUG]	Executed store
2023-10-13	12:54:07	1849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861341','0','94.7075208913649','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:07	1849	[DEBUG]	Checking manufacturer
2023-10-13	12:54:07	1849	[DEBUG]	Load a row
2023-10-13	12:54:07	1849	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:07	1849	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:07	1849	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:07	1849	[DEBUG]	Executed store
2023-10-13	12:54:07	1849	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:07	1849	[DEBUG]	Manufacturer exists
2023-10-13	12:54:07	1849	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:07	1849	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:07	1849	[DEBUG]	Executed store
2023-10-13	12:54:07	1849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861341','26')
2023-10-13	12:54:07	1849	[DEBUG]	Find the custom field ID
2023-10-13	12:54:07	1849	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:07	1849	[DEBUG]	No custom field ID found
2023-10-13	12:54:07	1849	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:07	1849	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:07	1849	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861341 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:07	1849	[DEBUG]	Store custom available field
2023-10-13	12:54:07	1849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861341,3,'0',1)
2023-10-13	12:54:07	1849	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:07	1849	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:07	1849	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861341 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:07	1849	[DEBUG]	Store custom available field
2023-10-13	12:54:07	1849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861341,6,'choisir la taille',3)
2023-10-13	12:54:07	1849	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:07	1849	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:07	1849	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:07	1849	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:07	1849	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861341 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:07	1849	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:07	1849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861341,8,1)
2023-10-13	12:54:07	1849	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:07	1849	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861341\":[1861341,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861341
2023-10-13	12:54:07	1849	[DEBUG]	Checking category
2023-10-13	12:54:07	1849	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:07	1849	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861341
2023-10-13	12:54:07	1849	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:07	1849	[DEBUG]	Executed store
2023-10-13	12:54:07	1849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861341','7312')
2023-10-13	12:54:07	1849	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:07	1849	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861341 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:07	1849	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:07	1849	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861341
2023-10-13	12:54:07	1850	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:07	1850	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:07	1850	[DEBUG]	Use field value for field taille
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:07	1850	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:07	1850	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:07	1850	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:07	1850	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:07	1850	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:07	1850	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:07	1850	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:07	1850	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:07	1850	[DEBUG]	Use field value for field published
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:07	1850	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field override
2023-10-13	12:54:07	1850	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:07	1850	[DEBUG]	Use field value for field slug
2023-10-13	12:54:07	1850	[DEBUG]	Process line 1850
2023-10-13	12:54:07	1850	[DEBUG]	Load a row
2023-10-13	12:54:07	1850	[DEBUG]	Processing item: 4524667299301
2023-10-13	12:54:07	1850	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:07	1850	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:07	1850	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7455_1'
2023-10-13	12:54:07	1850	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:07	1850	[DEBUG]	Processing product tax
2023-10-13	12:54:07	1850	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:07	1850	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:07	1850	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:07	1850	[DEBUG]	Query for Product
2023-10-13	12:54:07	1850	[DEBUG]	Executed store
2023-10-13	12:54:07	1850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861341','4524667299301','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:07	1850	[DEBUG]	No parent found
2023-10-13	12:54:07	1850	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861341 AND customfield_value = 'stockable'
2023-10-13	12:54:07	1850	[DEBUG]	Check product language entry
2023-10-13	12:54:07	1850	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861342
2023-10-13	12:54:07	1850	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:07	1850	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667299301' AND `virtuemart_product_id` != 1861342
2023-10-13	12:54:07	1850	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:07	1850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861342, '4524667299301')
2023-10-13	12:54:07	1850	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:07	1850	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-xt-rd-m781-10-vit-sgs-shadow-top-nor-mont-dir-noir-noir-unitaire' AND `virtuemart_product_id` != 1861342
2023-10-13	12:54:07	1850	[DEBUG]	Query for ProductLang
2023-10-13	12:54:07	1850	[DEBUG]	Executed store
2023-10-13	12:54:07	1850	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Deore XT RD-M781 10-vit. SGS Shadow Top-Nor.mont.dir.noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-xt-rd-m781-10-vit-sgs-shadow-top-nor-mont-dir-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1861342'
2023-10-13	12:54:07	1850	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_52879.jpg
2023-10-13	12:54:07	1850	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:07	1850	[DEBUG]	Process image file
2023-10-13	12:54:07	1850	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:07	1850	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:07	1850	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_52879.jpg
2023-10-13	12:54:07	1850	[DEBUG]	Full name target: bcprisme/60_52879.jpg
2023-10-13	12:54:08	1850	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:08	1850	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_52879.jpg'
2023-10-13	12:54:08	1850	[DEBUG]	Query for Media
2023-10-13	12:54:08	1850	[DEBUG]	Executed store
2023-10-13	12:54:08	1850	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_52879.jpg',`file_url_thumb`='bcprisme/60_52879.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436190'
2023-10-13	12:54:08	1850	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:08	1850	[DEBUG]	Executed store
2023-10-13	12:54:08	1850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861342','436190','1')
2023-10-13	12:54:08	1850	[DEBUG]	Store product image relation
2023-10-13	12:54:08	1850	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:08	1850	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861342 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:08	1850	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:08	1850	[DEBUG]	Executed store
2023-10-13	12:54:08	1850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861342','0','94.7075208913649','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:08	1850	[DEBUG]	Checking manufacturer
2023-10-13	12:54:08	1850	[DEBUG]	Load a row
2023-10-13	12:54:08	1850	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:08	1850	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:08	1850	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:08	1850	[DEBUG]	Executed store
2023-10-13	12:54:08	1850	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:08	1850	[DEBUG]	Manufacturer exists
2023-10-13	12:54:08	1850	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:08	1850	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:08	1850	[DEBUG]	Executed store
2023-10-13	12:54:08	1850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861342','26')
2023-10-13	12:54:08	1850	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:08	1850	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:08	1850	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861342 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:08	1850	[DEBUG]	Store custom available field
2023-10-13	12:54:08	1850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861342,3,'',1)
2023-10-13	12:54:08	1850	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:08	1850	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:08	1850	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861342 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:08	1850	[DEBUG]	Store custom available field
2023-10-13	12:54:08	1850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861342,6,'Unitaire',3)
2023-10-13	12:54:08	1850	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:08	1850	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:08	1850	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861341
2023-10-13	12:54:08	1850	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:08	1850	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861341\":[1861341,8,1,\"choisir la taille\"],\"1861342\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861341
2023-10-13	12:54:08	1850	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:08	1850	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861342
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:08	1851	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field taille
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:08	1851	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:08	1851	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:08	1851	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:08	1851	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:08	1851	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:08	1851	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field published
2023-10-13	12:54:08	1851	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:08	1851	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field override
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:08	1851	[DEBUG]	Use field value for field slug
2023-10-13	12:54:08	1851	[DEBUG]	Process line 1851
2023-10-13	12:54:08	1851	[DEBUG]	Load a row
2023-10-13	12:54:08	1851	[DEBUG]	Processing item: A_7457_1
2023-10-13	12:54:08	1851	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:08	1851	[DEBUG]	Processing product tax
2023-10-13	12:54:08	1851	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:08	1851	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:08	1851	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:08	1851	[DEBUG]	Query for Product
2023-10-13	12:54:08	1851	[DEBUG]	Executed store
2023-10-13	12:54:08	1851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7457_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:08	1851	[DEBUG]	Check product language entry
2023-10-13	12:54:08	1851	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861343
2023-10-13	12:54:08	1851	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:08	1851	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7457_1' AND `virtuemart_product_id` != 1861343
2023-10-13	12:54:08	1851	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:08	1851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861343, 'A_7457_1')
2023-10-13	12:54:08	1851	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:08	1851	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-alivio-d-m3100-9-vit-sgs-shadow-to-no-montage-direct-noir-bo-noir' AND `virtuemart_product_id` != 1861343
2023-10-13	12:54:08	1851	[DEBUG]	Query for ProductLang
2023-10-13	12:54:08	1851	[DEBUG]	Executed store
2023-10-13	12:54:08	1851	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.78588',`product_name`='SHIMANO Dérailleur Alivio D-M3100 9-vit. SGS Shadow To-No montage direct noir bo / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-alivio-d-m3100-9-vit-sgs-shadow-to-no-montage-direct-noir-bo-noir' WHERE `virtuemart_product_id` = '1861343'
2023-10-13	12:54:08	1851	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78588_001.jpg
2023-10-13	12:54:08	1851	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:08	1851	[DEBUG]	Process image file
2023-10-13	12:54:08	1851	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:08	1851	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:08	1851	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78588_001.jpg
2023-10-13	12:54:08	1851	[DEBUG]	Full name target: bcprisme/60_78588_001.jpg
2023-10-13	12:54:09	1851	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:09	1851	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_78588_001.jpg'
2023-10-13	12:54:09	1851	[DEBUG]	Query for Media
2023-10-13	12:54:09	1851	[DEBUG]	Executed store
2023-10-13	12:54:09	1851	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_78588_001.jpg',`file_url_thumb`='bcprisme/60_78588_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1039522'
2023-10-13	12:54:09	1851	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:09	1851	[DEBUG]	Executed store
2023-10-13	12:54:09	1851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861343','1039522','1')
2023-10-13	12:54:09	1851	[DEBUG]	Store product image relation
2023-10-13	12:54:09	1851	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:09	1851	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861343 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:09	1851	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:09	1851	[DEBUG]	Executed store
2023-10-13	12:54:09	1851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861343','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:09	1851	[DEBUG]	Checking manufacturer
2023-10-13	12:54:09	1851	[DEBUG]	Load a row
2023-10-13	12:54:09	1851	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:09	1851	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:09	1851	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:09	1851	[DEBUG]	Executed store
2023-10-13	12:54:09	1851	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:09	1851	[DEBUG]	Manufacturer exists
2023-10-13	12:54:09	1851	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:09	1851	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:09	1851	[DEBUG]	Executed store
2023-10-13	12:54:09	1851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861343','26')
2023-10-13	12:54:09	1851	[DEBUG]	Find the custom field ID
2023-10-13	12:54:09	1851	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:09	1851	[DEBUG]	No custom field ID found
2023-10-13	12:54:09	1851	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:09	1851	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:09	1851	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861343 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:09	1851	[DEBUG]	Store custom available field
2023-10-13	12:54:09	1851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861343,3,'0',1)
2023-10-13	12:54:09	1851	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:09	1851	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:09	1851	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861343 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:09	1851	[DEBUG]	Store custom available field
2023-10-13	12:54:09	1851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861343,6,'choisir la taille',3)
2023-10-13	12:54:09	1851	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:09	1851	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:09	1851	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:09	1851	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:09	1851	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861343 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:09	1851	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:09	1851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861343,8,1)
2023-10-13	12:54:09	1851	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:09	1851	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861343\":[1861343,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861343
2023-10-13	12:54:09	1851	[DEBUG]	Checking category
2023-10-13	12:54:09	1851	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:09	1851	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861343
2023-10-13	12:54:09	1851	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:09	1851	[DEBUG]	Executed store
2023-10-13	12:54:09	1851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861343','7312')
2023-10-13	12:54:09	1851	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:09	1851	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861343 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:09	1851	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:09	1851	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861343
2023-10-13	12:54:09	1852	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:09	1852	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:09	1852	[DEBUG]	Use field value for field taille
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:09	1852	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:09	1852	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:09	1852	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:09	1852	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:09	1852	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:09	1852	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:09	1852	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:09	1852	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:09	1852	[DEBUG]	Use field value for field published
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:09	1852	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field override
2023-10-13	12:54:09	1852	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:09	1852	[DEBUG]	Use field value for field slug
2023-10-13	12:54:09	1852	[DEBUG]	Process line 1852
2023-10-13	12:54:09	1852	[DEBUG]	Load a row
2023-10-13	12:54:09	1852	[DEBUG]	Processing item: 4550170621155
2023-10-13	12:54:09	1852	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:09	1852	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:09	1852	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7457_1'
2023-10-13	12:54:09	1852	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:09	1852	[DEBUG]	Processing product tax
2023-10-13	12:54:09	1852	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:09	1852	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:09	1852	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:09	1852	[DEBUG]	Query for Product
2023-10-13	12:54:09	1852	[DEBUG]	Executed store
2023-10-13	12:54:09	1852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861343','4550170621155','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:09	1852	[DEBUG]	No parent found
2023-10-13	12:54:09	1852	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861343 AND customfield_value = 'stockable'
2023-10-13	12:54:09	1852	[DEBUG]	Check product language entry
2023-10-13	12:54:09	1852	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861344
2023-10-13	12:54:09	1852	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:09	1852	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170621155' AND `virtuemart_product_id` != 1861344
2023-10-13	12:54:09	1852	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:09	1852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861344, '4550170621155')
2023-10-13	12:54:09	1852	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:09	1852	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-alivio-d-m3100-9-vit-sgs-shadow-to-no-montage-direct-noir-bo-noir-unitaire' AND `virtuemart_product_id` != 1861344
2023-10-13	12:54:09	1852	[DEBUG]	Query for ProductLang
2023-10-13	12:54:09	1852	[DEBUG]	Executed store
2023-10-13	12:54:09	1852	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Alivio D-M3100 9-vit. SGS Shadow To-No montage direct noir bo / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-alivio-d-m3100-9-vit-sgs-shadow-to-no-montage-direct-noir-bo-noir-unitaire' WHERE `virtuemart_product_id` = '1861344'
2023-10-13	12:54:09	1852	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78588_001.jpg
2023-10-13	12:54:09	1852	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:09	1852	[DEBUG]	Process image file
2023-10-13	12:54:09	1852	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:09	1852	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:09	1852	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78588_001.jpg
2023-10-13	12:54:09	1852	[DEBUG]	Full name target: bcprisme/60_78588_001.jpg
2023-10-13	12:54:10	1852	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:10	1852	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_78588_001.jpg'
2023-10-13	12:54:10	1852	[DEBUG]	Query for Media
2023-10-13	12:54:10	1852	[DEBUG]	Executed store
2023-10-13	12:54:10	1852	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_78588_001.jpg',`file_url_thumb`='bcprisme/60_78588_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1039522'
2023-10-13	12:54:10	1852	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:10	1852	[DEBUG]	Executed store
2023-10-13	12:54:10	1852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861344','1039522','1')
2023-10-13	12:54:10	1852	[DEBUG]	Store product image relation
2023-10-13	12:54:10	1852	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:10	1852	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861344 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:10	1852	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:10	1852	[DEBUG]	Executed store
2023-10-13	12:54:10	1852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861344','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:10	1852	[DEBUG]	Checking manufacturer
2023-10-13	12:54:10	1852	[DEBUG]	Load a row
2023-10-13	12:54:10	1852	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:10	1852	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:10	1852	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:10	1852	[DEBUG]	Executed store
2023-10-13	12:54:10	1852	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:10	1852	[DEBUG]	Manufacturer exists
2023-10-13	12:54:10	1852	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:10	1852	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:10	1852	[DEBUG]	Executed store
2023-10-13	12:54:10	1852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861344','26')
2023-10-13	12:54:10	1852	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:10	1852	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:10	1852	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861344 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:10	1852	[DEBUG]	Store custom available field
2023-10-13	12:54:10	1852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861344,3,'',1)
2023-10-13	12:54:10	1852	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:10	1852	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:10	1852	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861344 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:10	1852	[DEBUG]	Store custom available field
2023-10-13	12:54:10	1852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861344,6,'Unitaire',3)
2023-10-13	12:54:10	1852	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:10	1852	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:10	1852	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861343
2023-10-13	12:54:10	1852	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:10	1852	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861343\":[1861343,8,1,\"choisir la taille\"],\"1861344\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861343
2023-10-13	12:54:10	1852	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:10	1852	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861344
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:10	1853	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field taille
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:10	1853	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:10	1853	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:10	1853	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:10	1853	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:10	1853	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:10	1853	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field published
2023-10-13	12:54:10	1853	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:10	1853	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field override
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:10	1853	[DEBUG]	Use field value for field slug
2023-10-13	12:54:10	1853	[DEBUG]	Process line 1853
2023-10-13	12:54:10	1853	[DEBUG]	Load a row
2023-10-13	12:54:10	1853	[DEBUG]	Processing item: A_7505_208
2023-10-13	12:54:10	1853	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:10	1853	[DEBUG]	Processing product tax
2023-10-13	12:54:10	1853	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:10	1853	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:10	1853	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:10	1853	[DEBUG]	Query for Product
2023-10-13	12:54:10	1853	[DEBUG]	Executed store
2023-10-13	12:54:10	1853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7505_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:10	1853	[DEBUG]	Check product language entry
2023-10-13	12:54:10	1853	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861345
2023-10-13	12:54:10	1853	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:10	1853	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7505_208' AND `virtuemart_product_id` != 1861345
2023-10-13	12:54:10	1853	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:10	1853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861345, 'A_7505_208')
2023-10-13	12:54:10	1853	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:10	1853	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-alivio-fd-t4000-to-sw-du-pu-66-69-28-6-31-8-34-9-box-aucune' AND `virtuemart_product_id` != 1861345
2023-10-13	12:54:10	1853	[DEBUG]	Query for ProductLang
2023-10-13	12:54:10	1853	[DEBUG]	Executed store
2023-10-13	12:54:10	1853	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.60058',`product_name`='SHIMANO Dérailleur avant Alivio FD-T4000 To-Sw Du-Pu 66-69° 28.6/31.8/34.9 box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-alivio-fd-t4000-to-sw-du-pu-66-69-28-6-31-8-34-9-box-aucune' WHERE `virtuemart_product_id` = '1861345'
2023-10-13	12:54:10	1853	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_60057_002.jpg
2023-10-13	12:54:10	1853	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:10	1853	[DEBUG]	Process image file
2023-10-13	12:54:10	1853	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:10	1853	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:10	1853	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_60057_002.jpg
2023-10-13	12:54:10	1853	[DEBUG]	Full name target: bcprisme/61_60057_002.jpg
2023-10-13	12:54:11	1853	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:11	1853	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/61_60057_002.jpg'
2023-10-13	12:54:11	1853	[DEBUG]	Query for Media
2023-10-13	12:54:11	1853	[DEBUG]	Executed store
2023-10-13	12:54:11	1853	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/61_60057_002.jpg',`file_url_thumb`='bcprisme/61_60057_002.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265298'
2023-10-13	12:54:11	1853	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:11	1853	[DEBUG]	Executed store
2023-10-13	12:54:11	1853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861345','265298','1')
2023-10-13	12:54:11	1853	[DEBUG]	Store product image relation
2023-10-13	12:54:11	1853	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:11	1853	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861345 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:11	1853	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:11	1853	[DEBUG]	Executed store
2023-10-13	12:54:11	1853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861345','0','29.619312906221','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:11	1853	[DEBUG]	Checking manufacturer
2023-10-13	12:54:11	1853	[DEBUG]	Load a row
2023-10-13	12:54:11	1853	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:11	1853	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:11	1853	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:11	1853	[DEBUG]	Executed store
2023-10-13	12:54:11	1853	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:11	1853	[DEBUG]	Manufacturer exists
2023-10-13	12:54:11	1853	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:11	1853	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:11	1853	[DEBUG]	Executed store
2023-10-13	12:54:11	1853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861345','26')
2023-10-13	12:54:11	1853	[DEBUG]	Find the custom field ID
2023-10-13	12:54:11	1853	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:11	1853	[DEBUG]	No custom field ID found
2023-10-13	12:54:11	1853	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:11	1853	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:11	1853	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861345 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:11	1853	[DEBUG]	Store custom available field
2023-10-13	12:54:11	1853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861345,3,'0',1)
2023-10-13	12:54:11	1853	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:11	1853	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:11	1853	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861345 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:11	1853	[DEBUG]	Store custom available field
2023-10-13	12:54:11	1853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861345,6,'choisir la taille',3)
2023-10-13	12:54:11	1853	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:11	1853	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:11	1853	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:11	1853	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:11	1853	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861345 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:11	1853	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:11	1853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861345,8,1)
2023-10-13	12:54:11	1853	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:11	1853	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861345\":[1861345,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861345
2023-10-13	12:54:11	1853	[DEBUG]	Checking category
2023-10-13	12:54:11	1853	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:11	1853	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861345
2023-10-13	12:54:11	1853	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:11	1853	[DEBUG]	Executed store
2023-10-13	12:54:11	1853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861345','7312')
2023-10-13	12:54:11	1853	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:11	1853	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861345 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:11	1853	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:11	1853	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861345
2023-10-13	12:54:11	1854	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:11	1854	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:11	1854	[DEBUG]	Use field value for field taille
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:11	1854	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:11	1854	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:11	1854	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:11	1854	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:11	1854	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:11	1854	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:11	1854	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:11	1854	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:11	1854	[DEBUG]	Use field value for field published
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:11	1854	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field override
2023-10-13	12:54:11	1854	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:11	1854	[DEBUG]	Use field value for field slug
2023-10-13	12:54:11	1854	[DEBUG]	Process line 1854
2023-10-13	12:54:11	1854	[DEBUG]	Load a row
2023-10-13	12:54:11	1854	[DEBUG]	Processing item: 4524667610748
2023-10-13	12:54:11	1854	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:11	1854	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:11	1854	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7505_208'
2023-10-13	12:54:11	1854	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:11	1854	[DEBUG]	Processing product tax
2023-10-13	12:54:11	1854	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:11	1854	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:11	1854	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:11	1854	[DEBUG]	Query for Product
2023-10-13	12:54:11	1854	[DEBUG]	Executed store
2023-10-13	12:54:11	1854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861345','4524667610748','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:11	1854	[DEBUG]	No parent found
2023-10-13	12:54:11	1854	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861345 AND customfield_value = 'stockable'
2023-10-13	12:54:11	1854	[DEBUG]	Check product language entry
2023-10-13	12:54:11	1854	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861346
2023-10-13	12:54:11	1854	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:11	1854	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667610748' AND `virtuemart_product_id` != 1861346
2023-10-13	12:54:11	1854	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:11	1854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861346, '4524667610748')
2023-10-13	12:54:11	1854	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:11	1854	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-alivio-fd-t4000-to-sw-du-pu-66-69-28-6-31-8-34-9-box-aucune-unitaire' AND `virtuemart_product_id` != 1861346
2023-10-13	12:54:11	1854	[DEBUG]	Query for ProductLang
2023-10-13	12:54:11	1854	[DEBUG]	Executed store
2023-10-13	12:54:11	1854	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant Alivio FD-T4000 To-Sw Du-Pu 66-69° 28.6/31.8/34.9 box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-alivio-fd-t4000-to-sw-du-pu-66-69-28-6-31-8-34-9-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861346'
2023-10-13	12:54:11	1854	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_60057_002.jpg
2023-10-13	12:54:11	1854	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:11	1854	[DEBUG]	Process image file
2023-10-13	12:54:11	1854	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:11	1854	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:11	1854	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_60057_002.jpg
2023-10-13	12:54:11	1854	[DEBUG]	Full name target: bcprisme/61_60057_002.jpg
2023-10-13	12:54:12	1854	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:12	1854	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/61_60057_002.jpg'
2023-10-13	12:54:12	1854	[DEBUG]	Query for Media
2023-10-13	12:54:12	1854	[DEBUG]	Executed store
2023-10-13	12:54:12	1854	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/61_60057_002.jpg',`file_url_thumb`='bcprisme/61_60057_002.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265298'
2023-10-13	12:54:12	1854	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:12	1854	[DEBUG]	Executed store
2023-10-13	12:54:12	1854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861346','265298','1')
2023-10-13	12:54:12	1854	[DEBUG]	Store product image relation
2023-10-13	12:54:12	1854	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:12	1854	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861346 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:12	1854	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:12	1854	[DEBUG]	Executed store
2023-10-13	12:54:12	1854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861346','0','29.619312906221','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:12	1854	[DEBUG]	Checking manufacturer
2023-10-13	12:54:12	1854	[DEBUG]	Load a row
2023-10-13	12:54:12	1854	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:12	1854	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:12	1854	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:12	1854	[DEBUG]	Executed store
2023-10-13	12:54:12	1854	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:12	1854	[DEBUG]	Manufacturer exists
2023-10-13	12:54:12	1854	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:12	1854	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:12	1854	[DEBUG]	Executed store
2023-10-13	12:54:12	1854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861346','26')
2023-10-13	12:54:12	1854	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:12	1854	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:12	1854	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861346 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:12	1854	[DEBUG]	Store custom available field
2023-10-13	12:54:12	1854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861346,3,'',1)
2023-10-13	12:54:12	1854	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:12	1854	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:12	1854	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861346 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:12	1854	[DEBUG]	Store custom available field
2023-10-13	12:54:12	1854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861346,6,'Unitaire',3)
2023-10-13	12:54:12	1854	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:12	1854	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:12	1854	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861345
2023-10-13	12:54:12	1854	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:12	1854	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861345\":[1861345,8,1,\"choisir la taille\"],\"1861346\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861345
2023-10-13	12:54:12	1854	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:12	1854	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861346
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:12	1855	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field taille
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:12	1855	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:12	1855	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:12	1855	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:12	1855	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:12	1855	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:12	1855	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field published
2023-10-13	12:54:12	1855	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:12	1855	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field override
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:12	1855	[DEBUG]	Use field value for field slug
2023-10-13	12:54:12	1855	[DEBUG]	Process line 1855
2023-10-13	12:54:12	1855	[DEBUG]	Load a row
2023-10-13	12:54:12	1855	[DEBUG]	Processing item: A_7550_1
2023-10-13	12:54:12	1855	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:12	1855	[DEBUG]	Processing product tax
2023-10-13	12:54:12	1855	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:12	1855	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:12	1855	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:12	1855	[DEBUG]	Query for Product
2023-10-13	12:54:12	1855	[DEBUG]	Executed store
2023-10-13	12:54:12	1855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7550_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:12	1855	[DEBUG]	Check product language entry
2023-10-13	12:54:12	1855	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861347
2023-10-13	12:54:12	1855	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:12	1855	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7550_1' AND `virtuemart_product_id` != 1861347
2023-10-13	12:54:12	1855	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:12	1855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861347, 'A_7550_1')
2023-10-13	12:54:12	1855	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:12	1855	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-ex-1-8-vitesses-max-48-t-noir' AND `virtuemart_product_id` != 1861347
2023-10-13	12:54:12	1855	[DEBUG]	Query for ProductLang
2023-10-13	12:54:12	1855	[DEBUG]	Executed store
2023-10-13	12:54:12	1855	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7532W',`product_name`='SRAM Dérailleur arrière EX-1 8 vitesses, max 48 T / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-ex-1-8-vitesses-max-48-t-noir' WHERE `virtuemart_product_id` = '1861347'
2023-10-13	12:54:12	1855	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34951_derailleur_arriere_ex-1_8_vitesses,_max_48_t.jpg
2023-10-13	12:54:12	1855	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:12	1855	[DEBUG]	Process image file
2023-10-13	12:54:12	1855	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:12	1855	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:12	1855	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34951_derailleur_arriere_ex-1_8_vitesses,_max_48_t.jpg
2023-10-13	12:54:12	1855	[DEBUG]	Full name target: bcprisme/34951_derailleur_arriere_ex-1_8_vitesses,_max_48_t.jpg
2023-10-13	12:54:13	1855	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:13	1855	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34951_derailleur_arriere_ex-1_8_vitesses,_max_48_t.jpg'
2023-10-13	12:54:13	1855	[DEBUG]	Query for Media
2023-10-13	12:54:13	1855	[DEBUG]	Executed store
2023-10-13	12:54:13	1855	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34951_derailleur_arriere_ex-1_8_vitesses,_max_48_t.jpg',`file_url_thumb`='bcprisme/34951_derailleur_arriere_ex-1_8_vitesses,_max_48_t.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '287850'
2023-10-13	12:54:13	1855	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:13	1855	[DEBUG]	Executed store
2023-10-13	12:54:13	1855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861347','287850','1')
2023-10-13	12:54:13	1855	[DEBUG]	Store product image relation
2023-10-13	12:54:13	1855	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:13	1855	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861347 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:13	1855	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:13	1855	[DEBUG]	Executed store
2023-10-13	12:54:13	1855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861347','0','172.609099350046','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:13	1855	[DEBUG]	Checking manufacturer
2023-10-13	12:54:13	1855	[DEBUG]	Load a row
2023-10-13	12:54:13	1855	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:13	1855	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:13	1855	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:13	1855	[DEBUG]	Executed store
2023-10-13	12:54:13	1855	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:13	1855	[DEBUG]	Manufacturer exists
2023-10-13	12:54:13	1855	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:13	1855	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:13	1855	[DEBUG]	Executed store
2023-10-13	12:54:13	1855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861347','35')
2023-10-13	12:54:13	1855	[DEBUG]	Find the custom field ID
2023-10-13	12:54:13	1855	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:13	1855	[DEBUG]	No custom field ID found
2023-10-13	12:54:13	1855	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:13	1855	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:13	1855	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861347 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:13	1855	[DEBUG]	Store custom available field
2023-10-13	12:54:13	1855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861347,3,'0',1)
2023-10-13	12:54:14	1855	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:14	1855	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:14	1855	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861347 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:14	1855	[DEBUG]	Store custom available field
2023-10-13	12:54:14	1855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861347,6,'choisir la taille',3)
2023-10-13	12:54:14	1855	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:14	1855	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:14	1855	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:14	1855	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:14	1855	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861347 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:14	1855	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:14	1855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861347,8,1)
2023-10-13	12:54:14	1855	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:14	1855	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861347\":[1861347,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861347
2023-10-13	12:54:14	1855	[DEBUG]	Checking category
2023-10-13	12:54:14	1855	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:14	1855	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861347
2023-10-13	12:54:14	1855	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:14	1855	[DEBUG]	Executed store
2023-10-13	12:54:14	1855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861347','7312')
2023-10-13	12:54:14	1855	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:14	1855	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861347 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:14	1855	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:14	1855	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861347
2023-10-13	12:54:14	1856	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:14	1856	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:14	1856	[DEBUG]	Use field value for field taille
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:14	1856	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:14	1856	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:14	1856	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:14	1856	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:14	1856	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:14	1856	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:14	1856	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:14	1856	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:14	1856	[DEBUG]	Use field value for field published
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:14	1856	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field override
2023-10-13	12:54:14	1856	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:14	1856	[DEBUG]	Use field value for field slug
2023-10-13	12:54:14	1856	[DEBUG]	Process line 1856
2023-10-13	12:54:14	1856	[DEBUG]	Load a row
2023-10-13	12:54:14	1856	[DEBUG]	Processing item: 27T06300805
2023-10-13	12:54:14	1856	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:14	1856	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:14	1856	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7550_1'
2023-10-13	12:54:14	1856	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:14	1856	[DEBUG]	Processing product tax
2023-10-13	12:54:14	1856	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:14	1856	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:14	1856	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:14	1856	[DEBUG]	Query for Product
2023-10-13	12:54:14	1856	[DEBUG]	Executed store
2023-10-13	12:54:14	1856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861347','27T06300805','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:14	1856	[DEBUG]	No parent found
2023-10-13	12:54:14	1856	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861347 AND customfield_value = 'stockable'
2023-10-13	12:54:14	1856	[DEBUG]	Check product language entry
2023-10-13	12:54:14	1856	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861348
2023-10-13	12:54:14	1856	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:14	1856	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '27T06300805' AND `virtuemart_product_id` != 1861348
2023-10-13	12:54:14	1856	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:14	1856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861348, '27T06300805')
2023-10-13	12:54:14	1856	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:14	1856	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-ex-1-8-vitesses-max-48-t-noir-unitaire' AND `virtuemart_product_id` != 1861348
2023-10-13	12:54:14	1856	[DEBUG]	Query for ProductLang
2023-10-13	12:54:14	1856	[DEBUG]	Executed store
2023-10-13	12:54:14	1856	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Dérailleur arrière EX-1 8 vitesses, max 48 T / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-ex-1-8-vitesses-max-48-t-noir-unitaire' WHERE `virtuemart_product_id` = '1861348'
2023-10-13	12:54:14	1856	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34951_derailleur_arriere_ex-1_8_vitesses,_max_48_t.jpg
2023-10-13	12:54:14	1856	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:14	1856	[DEBUG]	Process image file
2023-10-13	12:54:14	1856	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:14	1856	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:14	1856	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34951_derailleur_arriere_ex-1_8_vitesses,_max_48_t.jpg
2023-10-13	12:54:14	1856	[DEBUG]	Full name target: bcprisme/34951_derailleur_arriere_ex-1_8_vitesses,_max_48_t.jpg
2023-10-13	12:54:15	1856	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:15	1856	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34951_derailleur_arriere_ex-1_8_vitesses,_max_48_t.jpg'
2023-10-13	12:54:15	1856	[DEBUG]	Query for Media
2023-10-13	12:54:15	1856	[DEBUG]	Executed store
2023-10-13	12:54:15	1856	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34951_derailleur_arriere_ex-1_8_vitesses,_max_48_t.jpg',`file_url_thumb`='bcprisme/34951_derailleur_arriere_ex-1_8_vitesses,_max_48_t.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '287850'
2023-10-13	12:54:15	1856	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:15	1856	[DEBUG]	Executed store
2023-10-13	12:54:15	1856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861348','287850','1')
2023-10-13	12:54:15	1856	[DEBUG]	Store product image relation
2023-10-13	12:54:15	1856	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:15	1856	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861348 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:15	1856	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:15	1856	[DEBUG]	Executed store
2023-10-13	12:54:15	1856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861348','0','172.609099350046','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:15	1856	[DEBUG]	Checking manufacturer
2023-10-13	12:54:15	1856	[DEBUG]	Load a row
2023-10-13	12:54:15	1856	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:15	1856	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:15	1856	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:15	1856	[DEBUG]	Executed store
2023-10-13	12:54:15	1856	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:15	1856	[DEBUG]	Manufacturer exists
2023-10-13	12:54:15	1856	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:15	1856	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:15	1856	[DEBUG]	Executed store
2023-10-13	12:54:15	1856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861348','35')
2023-10-13	12:54:15	1856	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:15	1856	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:15	1856	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861348 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:15	1856	[DEBUG]	Store custom available field
2023-10-13	12:54:15	1856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861348,3,'',1)
2023-10-13	12:54:15	1856	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:15	1856	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:15	1856	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861348 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:15	1856	[DEBUG]	Store custom available field
2023-10-13	12:54:15	1856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861348,6,'Unitaire',3)
2023-10-13	12:54:15	1856	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:15	1856	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:15	1856	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861347
2023-10-13	12:54:15	1856	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:15	1856	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861347\":[1861347,8,1,\"choisir la taille\"],\"1861348\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861347
2023-10-13	12:54:15	1856	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:15	1856	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861348
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:15	1857	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field taille
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:15	1857	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:15	1857	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:15	1857	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:15	1857	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:15	1857	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:15	1857	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field published
2023-10-13	12:54:15	1857	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:15	1857	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field override
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:15	1857	[DEBUG]	Use field value for field slug
2023-10-13	12:54:15	1857	[DEBUG]	Process line 1857
2023-10-13	12:54:15	1857	[DEBUG]	Load a row
2023-10-13	12:54:15	1857	[DEBUG]	Processing item: A_7559_1
2023-10-13	12:54:15	1857	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:15	1857	[DEBUG]	Processing product tax
2023-10-13	12:54:15	1857	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:15	1857	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:15	1857	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:15	1857	[DEBUG]	Query for Product
2023-10-13	12:54:15	1857	[DEBUG]	Executed store
2023-10-13	12:54:15	1857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7559_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:15	1857	[DEBUG]	Check product language entry
2023-10-13	12:54:15	1857	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861349
2023-10-13	12:54:15	1857	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:15	1857	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7559_1' AND `virtuemart_product_id` != 1861349
2023-10-13	12:54:15	1857	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:15	1857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861349, 'A_7559_1')
2023-10-13	12:54:15	1857	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:15	1857	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-rd-m6100-12-vit-sgs-shadow-top-normal-direct-att-box-noir' AND `virtuemart_product_id` != 1861349
2023-10-13	12:54:15	1857	[DEBUG]	Query for ProductLang
2023-10-13	12:54:15	1857	[DEBUG]	Executed store
2023-10-13	12:54:15	1857	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.78005',`product_name`='SHIMANO Dérailleur Deore RD-M6100 12-vit SGS Shadow+ Top-Normal direct att. box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-rd-m6100-12-vit-sgs-shadow-top-normal-direct-att-box-noir' WHERE `virtuemart_product_id` = '1861349'
2023-10-13	12:54:15	1857	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78005_001.jpg
2023-10-13	12:54:15	1857	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:15	1857	[DEBUG]	Process image file
2023-10-13	12:54:15	1857	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:15	1857	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:15	1857	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78005_001.jpg
2023-10-13	12:54:15	1857	[DEBUG]	Full name target: bcprisme/60_78005_001.jpg
2023-10-13	12:54:16	1857	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:16	1857	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_78005_001.jpg'
2023-10-13	12:54:16	1857	[DEBUG]	Query for Media
2023-10-13	12:54:16	1857	[DEBUG]	Executed store
2023-10-13	12:54:16	1857	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_78005_001.jpg',`file_url_thumb`='bcprisme/60_78005_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436196'
2023-10-13	12:54:16	1857	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:16	1857	[DEBUG]	Executed store
2023-10-13	12:54:16	1857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861349','436196','1')
2023-10-13	12:54:16	1857	[DEBUG]	Store product image relation
2023-10-13	12:54:16	1857	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:16	1857	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861349 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:16	1857	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:16	1857	[DEBUG]	Executed store
2023-10-13	12:54:16	1857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861349','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:16	1857	[DEBUG]	Checking manufacturer
2023-10-13	12:54:16	1857	[DEBUG]	Load a row
2023-10-13	12:54:16	1857	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:16	1857	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:16	1857	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:16	1857	[DEBUG]	Executed store
2023-10-13	12:54:16	1857	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:16	1857	[DEBUG]	Manufacturer exists
2023-10-13	12:54:16	1857	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:16	1857	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:16	1857	[DEBUG]	Executed store
2023-10-13	12:54:16	1857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861349','26')
2023-10-13	12:54:16	1857	[DEBUG]	Find the custom field ID
2023-10-13	12:54:16	1857	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:16	1857	[DEBUG]	No custom field ID found
2023-10-13	12:54:16	1857	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:16	1857	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:16	1857	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861349 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:16	1857	[DEBUG]	Store custom available field
2023-10-13	12:54:16	1857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861349,3,'0',1)
2023-10-13	12:54:16	1857	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:16	1857	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:16	1857	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861349 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:16	1857	[DEBUG]	Store custom available field
2023-10-13	12:54:16	1857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861349,6,'choisir la taille',3)
2023-10-13	12:54:16	1857	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:16	1857	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:16	1857	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:16	1857	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:16	1857	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861349 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:16	1857	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:16	1857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861349,8,1)
2023-10-13	12:54:16	1857	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:16	1857	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861349\":[1861349,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861349
2023-10-13	12:54:16	1857	[DEBUG]	Checking category
2023-10-13	12:54:16	1857	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:16	1857	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861349
2023-10-13	12:54:16	1857	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:16	1857	[DEBUG]	Executed store
2023-10-13	12:54:16	1857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861349','7312')
2023-10-13	12:54:16	1857	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:16	1857	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861349 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:16	1857	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:16	1857	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861349
2023-10-13	12:54:16	1858	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:16	1858	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:16	1858	[DEBUG]	Use field value for field taille
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:16	1858	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:16	1858	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:16	1858	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:16	1858	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:16	1858	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:16	1858	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:16	1858	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:16	1858	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:16	1858	[DEBUG]	Use field value for field published
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:16	1858	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field override
2023-10-13	12:54:16	1858	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:16	1858	[DEBUG]	Use field value for field slug
2023-10-13	12:54:16	1858	[DEBUG]	Process line 1858
2023-10-13	12:54:16	1858	[DEBUG]	Load a row
2023-10-13	12:54:16	1858	[DEBUG]	Processing item: 4550170618698
2023-10-13	12:54:16	1858	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:16	1858	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:16	1858	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7559_1'
2023-10-13	12:54:16	1858	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:16	1858	[DEBUG]	Processing product tax
2023-10-13	12:54:16	1858	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:16	1858	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:16	1858	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:16	1858	[DEBUG]	Query for Product
2023-10-13	12:54:16	1858	[DEBUG]	Executed store
2023-10-13	12:54:16	1858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861349','4550170618698','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:16	1858	[DEBUG]	No parent found
2023-10-13	12:54:16	1858	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861349 AND customfield_value = 'stockable'
2023-10-13	12:54:16	1858	[DEBUG]	Check product language entry
2023-10-13	12:54:16	1858	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861350
2023-10-13	12:54:16	1858	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:16	1858	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170618698' AND `virtuemart_product_id` != 1861350
2023-10-13	12:54:16	1858	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:16	1858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861350, '4550170618698')
2023-10-13	12:54:16	1858	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:16	1858	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-rd-m6100-12-vit-sgs-shadow-top-normal-direct-att-box-noir-unitaire' AND `virtuemart_product_id` != 1861350
2023-10-13	12:54:16	1858	[DEBUG]	Query for ProductLang
2023-10-13	12:54:16	1858	[DEBUG]	Executed store
2023-10-13	12:54:16	1858	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Deore RD-M6100 12-vit SGS Shadow+ Top-Normal direct att. box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-rd-m6100-12-vit-sgs-shadow-top-normal-direct-att-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861350'
2023-10-13	12:54:16	1858	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78005_001.jpg
2023-10-13	12:54:16	1858	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:16	1858	[DEBUG]	Process image file
2023-10-13	12:54:16	1858	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:16	1858	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:16	1858	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78005_001.jpg
2023-10-13	12:54:16	1858	[DEBUG]	Full name target: bcprisme/60_78005_001.jpg
2023-10-13	12:54:17	1858	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:17	1858	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_78005_001.jpg'
2023-10-13	12:54:17	1858	[DEBUG]	Query for Media
2023-10-13	12:54:17	1858	[DEBUG]	Executed store
2023-10-13	12:54:17	1858	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_78005_001.jpg',`file_url_thumb`='bcprisme/60_78005_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436196'
2023-10-13	12:54:17	1858	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:17	1858	[DEBUG]	Executed store
2023-10-13	12:54:17	1858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861350','436196','1')
2023-10-13	12:54:17	1858	[DEBUG]	Store product image relation
2023-10-13	12:54:17	1858	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:17	1858	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861350 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:17	1858	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:17	1858	[DEBUG]	Executed store
2023-10-13	12:54:17	1858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861350','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:17	1858	[DEBUG]	Checking manufacturer
2023-10-13	12:54:17	1858	[DEBUG]	Load a row
2023-10-13	12:54:17	1858	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:17	1858	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:17	1858	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:17	1858	[DEBUG]	Executed store
2023-10-13	12:54:17	1858	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:17	1858	[DEBUG]	Manufacturer exists
2023-10-13	12:54:17	1858	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:17	1858	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:17	1858	[DEBUG]	Executed store
2023-10-13	12:54:17	1858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861350','26')
2023-10-13	12:54:17	1858	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:17	1858	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:17	1858	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861350 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:17	1858	[DEBUG]	Store custom available field
2023-10-13	12:54:17	1858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861350,3,'',1)
2023-10-13	12:54:17	1858	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:17	1858	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:17	1858	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861350 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:17	1858	[DEBUG]	Store custom available field
2023-10-13	12:54:17	1858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861350,6,'Unitaire',3)
2023-10-13	12:54:17	1858	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:17	1858	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:17	1858	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861349
2023-10-13	12:54:17	1858	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:17	1858	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861349\":[1861349,8,1,\"choisir la taille\"],\"1861350\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861349
2023-10-13	12:54:17	1858	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:17	1858	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861350
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:17	1859	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field taille
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:17	1859	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:17	1859	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:17	1859	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:17	1859	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:17	1859	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:17	1859	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field published
2023-10-13	12:54:17	1859	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:17	1859	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field override
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:17	1859	[DEBUG]	Use field value for field slug
2023-10-13	12:54:17	1859	[DEBUG]	Process line 1859
2023-10-13	12:54:17	1859	[DEBUG]	Load a row
2023-10-13	12:54:17	1859	[DEBUG]	Processing item: A_7586_1
2023-10-13	12:54:17	1859	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:17	1859	[DEBUG]	Processing product tax
2023-10-13	12:54:17	1859	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:17	1859	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:17	1859	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:17	1859	[DEBUG]	Query for Product
2023-10-13	12:54:17	1859	[DEBUG]	Executed store
2023-10-13	12:54:17	1859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7586_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:17	1859	[DEBUG]	Check product language entry
2023-10-13	12:54:17	1859	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861351
2023-10-13	12:54:17	1859	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:17	1859	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7586_1' AND `virtuemart_product_id` != 1861351
2023-10-13	12:54:17	1859	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:17	1859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861351, 'A_7586_1')
2023-10-13	12:54:17	1859	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:17	1859	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-slx-rd-m7100-12-vit-sgs-shadow-top-normal-direct-att-box-noir' AND `virtuemart_product_id` != 1861351
2023-10-13	12:54:17	1859	[DEBUG]	Query for ProductLang
2023-10-13	12:54:17	1859	[DEBUG]	Executed store
2023-10-13	12:54:17	1859	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.75210',`product_name`='SHIMANO Dérailleur SLX RD-M7100 12-vit. SGS Shadow+ Top-Normal direct att. box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-slx-rd-m7100-12-vit-sgs-shadow-top-normal-direct-att-box-noir' WHERE `virtuemart_product_id` = '1861351'
2023-10-13	12:54:17	1859	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_75210.jpg
2023-10-13	12:54:17	1859	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:17	1859	[DEBUG]	Process image file
2023-10-13	12:54:17	1859	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:17	1859	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:17	1859	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_75210.jpg
2023-10-13	12:54:17	1859	[DEBUG]	Full name target: bcprisme/60_75210.jpg
2023-10-13	12:54:18	1859	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:18	1859	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_75210.jpg'
2023-10-13	12:54:18	1859	[DEBUG]	Query for Media
2023-10-13	12:54:18	1859	[DEBUG]	Executed store
2023-10-13	12:54:18	1859	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_75210.jpg',`file_url_thumb`='bcprisme/60_75210.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '329876'
2023-10-13	12:54:18	1859	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:18	1859	[DEBUG]	Executed store
2023-10-13	12:54:18	1859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861351','329876','1')
2023-10-13	12:54:18	1859	[DEBUG]	Store product image relation
2023-10-13	12:54:18	1859	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:18	1859	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861351 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:18	1859	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:18	1859	[DEBUG]	Executed store
2023-10-13	12:54:18	1859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861351','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:18	1859	[DEBUG]	Checking manufacturer
2023-10-13	12:54:18	1859	[DEBUG]	Load a row
2023-10-13	12:54:18	1859	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:18	1859	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:18	1859	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:18	1859	[DEBUG]	Executed store
2023-10-13	12:54:18	1859	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:18	1859	[DEBUG]	Manufacturer exists
2023-10-13	12:54:18	1859	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:18	1859	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:18	1859	[DEBUG]	Executed store
2023-10-13	12:54:18	1859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861351','26')
2023-10-13	12:54:18	1859	[DEBUG]	Find the custom field ID
2023-10-13	12:54:18	1859	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:18	1859	[DEBUG]	No custom field ID found
2023-10-13	12:54:18	1859	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:18	1859	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:18	1859	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861351 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:18	1859	[DEBUG]	Store custom available field
2023-10-13	12:54:18	1859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861351,3,'0',1)
2023-10-13	12:54:18	1859	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:18	1859	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:18	1859	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861351 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:18	1859	[DEBUG]	Store custom available field
2023-10-13	12:54:18	1859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861351,6,'choisir la taille',3)
2023-10-13	12:54:18	1859	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:18	1859	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:18	1859	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:18	1859	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:18	1859	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861351 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:18	1859	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:18	1859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861351,8,1)
2023-10-13	12:54:18	1859	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:18	1859	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861351\":[1861351,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861351
2023-10-13	12:54:18	1859	[DEBUG]	Checking category
2023-10-13	12:54:18	1859	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:18	1859	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861351
2023-10-13	12:54:18	1859	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:18	1859	[DEBUG]	Executed store
2023-10-13	12:54:18	1859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861351','7312')
2023-10-13	12:54:18	1859	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:18	1859	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861351 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:18	1859	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:18	1859	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861351
2023-10-13	12:54:18	1860	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:18	1860	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:18	1860	[DEBUG]	Use field value for field taille
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:18	1860	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:18	1860	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:18	1860	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:18	1860	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:18	1860	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:18	1860	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:18	1860	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:18	1860	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:18	1860	[DEBUG]	Use field value for field published
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:18	1860	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field override
2023-10-13	12:54:18	1860	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:18	1860	[DEBUG]	Use field value for field slug
2023-10-13	12:54:18	1860	[DEBUG]	Process line 1860
2023-10-13	12:54:18	1860	[DEBUG]	Load a row
2023-10-13	12:54:18	1860	[DEBUG]	Processing item: 4550170444259
2023-10-13	12:54:18	1860	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:18	1860	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:18	1860	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7586_1'
2023-10-13	12:54:18	1860	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:18	1860	[DEBUG]	Processing product tax
2023-10-13	12:54:18	1860	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:18	1860	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:18	1860	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:18	1860	[DEBUG]	Query for Product
2023-10-13	12:54:18	1860	[DEBUG]	Executed store
2023-10-13	12:54:18	1860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861351','4550170444259','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:18	1860	[DEBUG]	No parent found
2023-10-13	12:54:18	1860	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861351 AND customfield_value = 'stockable'
2023-10-13	12:54:18	1860	[DEBUG]	Check product language entry
2023-10-13	12:54:18	1860	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861352
2023-10-13	12:54:18	1860	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:18	1860	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170444259' AND `virtuemart_product_id` != 1861352
2023-10-13	12:54:18	1860	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:18	1860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861352, '4550170444259')
2023-10-13	12:54:18	1860	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:18	1860	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-slx-rd-m7100-12-vit-sgs-shadow-top-normal-direct-att-box-noir-unitaire' AND `virtuemart_product_id` != 1861352
2023-10-13	12:54:18	1860	[DEBUG]	Query for ProductLang
2023-10-13	12:54:18	1860	[DEBUG]	Executed store
2023-10-13	12:54:18	1860	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur SLX RD-M7100 12-vit. SGS Shadow+ Top-Normal direct att. box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-slx-rd-m7100-12-vit-sgs-shadow-top-normal-direct-att-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861352'
2023-10-13	12:54:18	1860	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_75210.jpg
2023-10-13	12:54:18	1860	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:18	1860	[DEBUG]	Process image file
2023-10-13	12:54:18	1860	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:18	1860	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:18	1860	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_75210.jpg
2023-10-13	12:54:18	1860	[DEBUG]	Full name target: bcprisme/60_75210.jpg
2023-10-13	12:54:19	1860	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:19	1860	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_75210.jpg'
2023-10-13	12:54:19	1860	[DEBUG]	Query for Media
2023-10-13	12:54:19	1860	[DEBUG]	Executed store
2023-10-13	12:54:19	1860	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_75210.jpg',`file_url_thumb`='bcprisme/60_75210.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '329876'
2023-10-13	12:54:19	1860	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:19	1860	[DEBUG]	Executed store
2023-10-13	12:54:19	1860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861352','329876','1')
2023-10-13	12:54:19	1860	[DEBUG]	Store product image relation
2023-10-13	12:54:19	1860	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:19	1860	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861352 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:19	1860	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:19	1860	[DEBUG]	Executed store
2023-10-13	12:54:19	1860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861352','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:19	1860	[DEBUG]	Checking manufacturer
2023-10-13	12:54:19	1860	[DEBUG]	Load a row
2023-10-13	12:54:19	1860	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:19	1860	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:19	1860	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:19	1860	[DEBUG]	Executed store
2023-10-13	12:54:19	1860	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:19	1860	[DEBUG]	Manufacturer exists
2023-10-13	12:54:19	1860	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:19	1860	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:19	1860	[DEBUG]	Executed store
2023-10-13	12:54:19	1860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861352','26')
2023-10-13	12:54:19	1860	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:19	1860	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:19	1860	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861352 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:19	1860	[DEBUG]	Store custom available field
2023-10-13	12:54:19	1860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861352,3,'',1)
2023-10-13	12:54:19	1860	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:19	1860	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:19	1860	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861352 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:19	1860	[DEBUG]	Store custom available field
2023-10-13	12:54:19	1860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861352,6,'Unitaire',3)
2023-10-13	12:54:19	1860	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:19	1860	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:19	1860	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861351
2023-10-13	12:54:19	1860	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:19	1860	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861351\":[1861351,8,1,\"choisir la taille\"],\"1861352\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861351
2023-10-13	12:54:19	1860	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:19	1860	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861352
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:19	1861	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field taille
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:19	1861	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:19	1861	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:19	1861	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:19	1861	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:19	1861	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:19	1861	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field published
2023-10-13	12:54:19	1861	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:19	1861	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field override
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:19	1861	[DEBUG]	Use field value for field slug
2023-10-13	12:54:19	1861	[DEBUG]	Process line 1861
2023-10-13	12:54:19	1861	[DEBUG]	Load a row
2023-10-13	12:54:19	1861	[DEBUG]	Processing item: A_7684_2
2023-10-13	12:54:19	1861	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:19	1861	[DEBUG]	Processing product tax
2023-10-13	12:54:19	1861	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:19	1861	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:19	1861	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:19	1861	[DEBUG]	Query for Product
2023-10-13	12:54:19	1861	[DEBUG]	Executed store
2023-10-13	12:54:19	1861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7684_2','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:19	1861	[DEBUG]	Check product language entry
2023-10-13	12:54:19	1861	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861353
2023-10-13	12:54:19	1861	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:19	1861	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7684_2' AND `virtuemart_product_id` != 1861353
2023-10-13	12:54:19	1861	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:19	1861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861353, 'A_7684_2')
2023-10-13	12:54:19	1861	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:19	1861	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-sram-eagle-xx1-axs-carbone' AND `virtuemart_product_id` != 1861353
2023-10-13	12:54:19	1861	[DEBUG]	Query for ProductLang
2023-10-13	12:54:19	1861	[DEBUG]	Executed store
2023-10-13	12:54:19	1861	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : EAGLEXX1AXS',`product_name`='SRAM DERAILLEUR ARRIERE SRAM EAGLE XX1 AXS / Carbone',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-sram-eagle-xx1-axs-carbone' WHERE `virtuemart_product_id` = '1861353'
2023-10-13	12:54:19	1861	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35196_derailleur_arriere_sram_eagle_xx1_axs.png
2023-10-13	12:54:19	1861	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000179
2023-10-13	12:54:19	1861	[DEBUG]	Process image file
2023-10-13	12:54:19	1861	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000179
2023-10-13	12:54:19	1861	[DEBUG]	Mime type found: image/png
2023-10-13	12:54:19	1861	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35196_derailleur_arriere_sram_eagle_xx1_axs.png
2023-10-13	12:54:19	1861	[DEBUG]	Full name target: bcprisme/35196_derailleur_arriere_sram_eagle_xx1_axs.png
2023-10-13	12:54:20	1861	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:20	1861	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35196_derailleur_arriere_sram_eagle_xx1_axs.png'
2023-10-13	12:54:20	1861	[DEBUG]	Query for Media
2023-10-13	12:54:20	1861	[DEBUG]	Executed store
2023-10-13	12:54:20	1861	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/35196_derailleur_arriere_sram_eagle_xx1_axs.png',`file_url_thumb`='bcprisme/35196_derailleur_arriere_sram_eagle_xx1_axs.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '379975'
2023-10-13	12:54:20	1861	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:20	1861	[DEBUG]	Executed store
2023-10-13	12:54:20	1861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861353','379975','1')
2023-10-13	12:54:20	1861	[DEBUG]	Store product image relation
2023-10-13	12:54:20	1861	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:20	1861	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861353 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:20	1861	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:20	1861	[DEBUG]	Executed store
2023-10-13	12:54:20	1861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861353','0','695.450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:20	1861	[DEBUG]	Checking manufacturer
2023-10-13	12:54:20	1861	[DEBUG]	Load a row
2023-10-13	12:54:20	1861	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:20	1861	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:20	1861	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:20	1861	[DEBUG]	Executed store
2023-10-13	12:54:20	1861	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:20	1861	[DEBUG]	Manufacturer exists
2023-10-13	12:54:20	1861	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:20	1861	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:20	1861	[DEBUG]	Executed store
2023-10-13	12:54:20	1861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861353','35')
2023-10-13	12:54:20	1861	[DEBUG]	Find the custom field ID
2023-10-13	12:54:20	1861	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:20	1861	[DEBUG]	No custom field ID found
2023-10-13	12:54:20	1861	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:20	1861	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:20	1861	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861353 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:20	1861	[DEBUG]	Store custom available field
2023-10-13	12:54:20	1861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861353,3,'0',1)
2023-10-13	12:54:20	1861	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:20	1861	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:20	1861	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861353 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:20	1861	[DEBUG]	Store custom available field
2023-10-13	12:54:20	1861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861353,6,'choisir la taille',3)
2023-10-13	12:54:20	1861	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:20	1861	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:20	1861	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:20	1861	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:20	1861	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861353 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:20	1861	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:20	1861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861353,8,1)
2023-10-13	12:54:20	1861	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:20	1861	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861353\":[1861353,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861353
2023-10-13	12:54:20	1861	[DEBUG]	Checking category
2023-10-13	12:54:20	1861	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:20	1861	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861353
2023-10-13	12:54:20	1861	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:20	1861	[DEBUG]	Executed store
2023-10-13	12:54:20	1861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861353','7312')
2023-10-13	12:54:20	1861	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:20	1861	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861353 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:20	1861	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:20	1861	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861353
2023-10-13	12:54:20	1862	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:20	1862	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:20	1862	[DEBUG]	Use field value for field taille
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:20	1862	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:20	1862	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:20	1862	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:20	1862	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:20	1862	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:20	1862	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:20	1862	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:20	1862	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:20	1862	[DEBUG]	Use field value for field published
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:20	1862	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field override
2023-10-13	12:54:20	1862	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:20	1862	[DEBUG]	Use field value for field slug
2023-10-13	12:54:20	1862	[DEBUG]	Process line 1862
2023-10-13	12:54:20	1862	[DEBUG]	Load a row
2023-10-13	12:54:20	1862	[DEBUG]	Processing item: 1000000134131
2023-10-13	12:54:20	1862	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:20	1862	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:20	1862	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7684_2'
2023-10-13	12:54:20	1862	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:20	1862	[DEBUG]	Processing product tax
2023-10-13	12:54:20	1862	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:20	1862	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:20	1862	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:20	1862	[DEBUG]	Query for Product
2023-10-13	12:54:20	1862	[DEBUG]	Executed store
2023-10-13	12:54:20	1862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861353','1000000134131','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:20	1862	[DEBUG]	No parent found
2023-10-13	12:54:20	1862	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861353 AND customfield_value = 'stockable'
2023-10-13	12:54:20	1862	[DEBUG]	Check product language entry
2023-10-13	12:54:20	1862	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861354
2023-10-13	12:54:20	1862	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:20	1862	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000134131' AND `virtuemart_product_id` != 1861354
2023-10-13	12:54:20	1862	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:20	1862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861354, '1000000134131')
2023-10-13	12:54:20	1862	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:20	1862	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-sram-eagle-xx1-axs-carbone-unitaire' AND `virtuemart_product_id` != 1861354
2023-10-13	12:54:20	1862	[DEBUG]	Query for ProductLang
2023-10-13	12:54:20	1862	[DEBUG]	Executed store
2023-10-13	12:54:20	1862	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM DERAILLEUR ARRIERE SRAM EAGLE XX1 AXS / Carbone (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-sram-eagle-xx1-axs-carbone-unitaire' WHERE `virtuemart_product_id` = '1861354'
2023-10-13	12:54:20	1862	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35196_derailleur_arriere_sram_eagle_xx1_axs.png
2023-10-13	12:54:20	1862	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000179
2023-10-13	12:54:20	1862	[DEBUG]	Process image file
2023-10-13	12:54:20	1862	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000179
2023-10-13	12:54:20	1862	[DEBUG]	Mime type found: image/png
2023-10-13	12:54:20	1862	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35196_derailleur_arriere_sram_eagle_xx1_axs.png
2023-10-13	12:54:20	1862	[DEBUG]	Full name target: bcprisme/35196_derailleur_arriere_sram_eagle_xx1_axs.png
2023-10-13	12:54:21	1862	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:21	1862	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35196_derailleur_arriere_sram_eagle_xx1_axs.png'
2023-10-13	12:54:21	1862	[DEBUG]	Query for Media
2023-10-13	12:54:21	1862	[DEBUG]	Executed store
2023-10-13	12:54:21	1862	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/35196_derailleur_arriere_sram_eagle_xx1_axs.png',`file_url_thumb`='bcprisme/35196_derailleur_arriere_sram_eagle_xx1_axs.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '379975'
2023-10-13	12:54:21	1862	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:21	1862	[DEBUG]	Executed store
2023-10-13	12:54:21	1862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861354','379975','1')
2023-10-13	12:54:21	1862	[DEBUG]	Store product image relation
2023-10-13	12:54:21	1862	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:21	1862	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861354 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:21	1862	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:21	1862	[DEBUG]	Executed store
2023-10-13	12:54:21	1862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861354','0','695.450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:21	1862	[DEBUG]	Checking manufacturer
2023-10-13	12:54:21	1862	[DEBUG]	Load a row
2023-10-13	12:54:21	1862	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:21	1862	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:21	1862	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:21	1862	[DEBUG]	Executed store
2023-10-13	12:54:21	1862	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:21	1862	[DEBUG]	Manufacturer exists
2023-10-13	12:54:21	1862	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:21	1862	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:21	1862	[DEBUG]	Executed store
2023-10-13	12:54:21	1862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861354','35')
2023-10-13	12:54:21	1862	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:21	1862	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:21	1862	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861354 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:21	1862	[DEBUG]	Store custom available field
2023-10-13	12:54:21	1862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861354,3,'',1)
2023-10-13	12:54:21	1862	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:21	1862	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:21	1862	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861354 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:21	1862	[DEBUG]	Store custom available field
2023-10-13	12:54:21	1862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861354,6,'Unitaire',3)
2023-10-13	12:54:21	1862	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:21	1862	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:21	1862	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861353
2023-10-13	12:54:21	1862	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:21	1862	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861353\":[1861353,8,1,\"choisir la taille\"],\"1861354\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861353
2023-10-13	12:54:21	1862	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:21	1862	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861354
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:21	1863	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field taille
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:21	1863	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:21	1863	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:21	1863	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:21	1863	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:21	1863	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:21	1863	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field published
2023-10-13	12:54:21	1863	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:21	1863	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field override
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:21	1863	[DEBUG]	Use field value for field slug
2023-10-13	12:54:21	1863	[DEBUG]	Process line 1863
2023-10-13	12:54:21	1863	[DEBUG]	Load a row
2023-10-13	12:54:21	1863	[DEBUG]	Processing item: A_7803_208
2023-10-13	12:54:21	1863	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:21	1863	[DEBUG]	Processing product tax
2023-10-13	12:54:21	1863	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:21	1863	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:21	1863	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:21	1863	[DEBUG]	Query for Product
2023-10-13	12:54:21	1863	[DEBUG]	Executed store
2023-10-13	12:54:21	1863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7803_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:21	1863	[DEBUG]	Check product language entry
2023-10-13	12:54:21	1863	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861355
2023-10-13	12:54:21	1863	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:21	1863	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7803_208' AND `virtuemart_product_id` != 1861355
2023-10-13	12:54:21	1863	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:21	1863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861355, 'A_7803_208')
2023-10-13	12:54:21	1863	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:21	1863	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-slx-fd-m7000-3x10-si-sw-fr-pu-66-69-type-a-braser-aucune' AND `virtuemart_product_id` != 1861355
2023-10-13	12:54:21	1863	[DEBUG]	Query for ProductLang
2023-10-13	12:54:21	1863	[DEBUG]	Executed store
2023-10-13	12:54:21	1863	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.66355',`product_name`='SHIMANO Dérailleur avant SLX FD-M7000 3x10 Si-Sw Fr-Pu 66-69° type à braser / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-slx-fd-m7000-3x10-si-sw-fr-pu-66-69-type-a-braser-aucune' WHERE `virtuemart_product_id` = '1861355'
2023-10-13	12:54:21	1863	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_66358_jpg.jpg has not been found.
2023-10-13	12:54:21	1863	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:21	1863	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861355 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:21	1863	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:21	1863	[DEBUG]	Executed store
2023-10-13	12:54:21	1863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861355','0','40.761374187558','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:21	1863	[DEBUG]	Checking manufacturer
2023-10-13	12:54:21	1863	[DEBUG]	Load a row
2023-10-13	12:54:21	1863	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:21	1863	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:21	1863	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:21	1863	[DEBUG]	Executed store
2023-10-13	12:54:21	1863	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:21	1863	[DEBUG]	Manufacturer exists
2023-10-13	12:54:21	1863	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:21	1863	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:21	1863	[DEBUG]	Executed store
2023-10-13	12:54:21	1863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861355','26')
2023-10-13	12:54:21	1863	[DEBUG]	Find the custom field ID
2023-10-13	12:54:21	1863	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:21	1863	[DEBUG]	No custom field ID found
2023-10-13	12:54:21	1863	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:21	1863	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:21	1863	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861355 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:21	1863	[DEBUG]	Store custom available field
2023-10-13	12:54:21	1863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861355,3,'0',1)
2023-10-13	12:54:21	1863	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:21	1863	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:21	1863	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861355 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:21	1863	[DEBUG]	Store custom available field
2023-10-13	12:54:21	1863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861355,6,'choisir la taille',3)
2023-10-13	12:54:21	1863	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:21	1863	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:21	1863	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:21	1863	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:21	1863	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861355 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:21	1863	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:21	1863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861355,8,1)
2023-10-13	12:54:21	1863	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:21	1863	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861355\":[1861355,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861355
2023-10-13	12:54:21	1863	[DEBUG]	Checking category
2023-10-13	12:54:21	1863	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:21	1863	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861355
2023-10-13	12:54:21	1863	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:21	1863	[DEBUG]	Executed store
2023-10-13	12:54:21	1863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861355','7312')
2023-10-13	12:54:21	1863	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:21	1863	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861355 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:21	1863	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:21	1863	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861355
2023-10-13	12:54:21	1864	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:21	1864	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:21	1864	[DEBUG]	Use field value for field taille
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:21	1864	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:21	1864	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:21	1864	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:21	1864	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:21	1864	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:21	1864	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:21	1864	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:21	1864	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:21	1864	[DEBUG]	Use field value for field published
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:21	1864	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field override
2023-10-13	12:54:21	1864	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:21	1864	[DEBUG]	Use field value for field slug
2023-10-13	12:54:21	1864	[DEBUG]	Process line 1864
2023-10-13	12:54:21	1864	[DEBUG]	Load a row
2023-10-13	12:54:21	1864	[DEBUG]	Processing item: 4524667847182
2023-10-13	12:54:21	1864	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:21	1864	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:21	1864	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7803_208'
2023-10-13	12:54:21	1864	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:21	1864	[DEBUG]	Processing product tax
2023-10-13	12:54:21	1864	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:21	1864	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:21	1864	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:21	1864	[DEBUG]	Query for Product
2023-10-13	12:54:21	1864	[DEBUG]	Executed store
2023-10-13	12:54:21	1864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861355','4524667847182','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:21	1864	[DEBUG]	No parent found
2023-10-13	12:54:21	1864	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861355 AND customfield_value = 'stockable'
2023-10-13	12:54:21	1864	[DEBUG]	Check product language entry
2023-10-13	12:54:21	1864	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861356
2023-10-13	12:54:21	1864	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:21	1864	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667847182' AND `virtuemart_product_id` != 1861356
2023-10-13	12:54:21	1864	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:21	1864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861356, '4524667847182')
2023-10-13	12:54:21	1864	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:21	1864	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-slx-fd-m7000-3x10-si-sw-fr-pu-66-69-type-a-braser-aucune-unitaire' AND `virtuemart_product_id` != 1861356
2023-10-13	12:54:21	1864	[DEBUG]	Query for ProductLang
2023-10-13	12:54:21	1864	[DEBUG]	Executed store
2023-10-13	12:54:21	1864	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant SLX FD-M7000 3x10 Si-Sw Fr-Pu 66-69° type à braser / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-slx-fd-m7000-3x10-si-sw-fr-pu-66-69-type-a-braser-aucune-unitaire' WHERE `virtuemart_product_id` = '1861356'
2023-10-13	12:54:21	1864	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_66358_jpg.jpg has not been found.
2023-10-13	12:54:21	1864	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:21	1864	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861356 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:21	1864	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:21	1864	[DEBUG]	Executed store
2023-10-13	12:54:21	1864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861356','0','40.761374187558','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:21	1864	[DEBUG]	Checking manufacturer
2023-10-13	12:54:21	1864	[DEBUG]	Load a row
2023-10-13	12:54:21	1864	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:21	1864	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:21	1864	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:21	1864	[DEBUG]	Executed store
2023-10-13	12:54:21	1864	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:21	1864	[DEBUG]	Manufacturer exists
2023-10-13	12:54:21	1864	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:21	1864	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:21	1864	[DEBUG]	Executed store
2023-10-13	12:54:21	1864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861356','26')
2023-10-13	12:54:21	1864	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:21	1864	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:21	1864	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861356 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:21	1864	[DEBUG]	Store custom available field
2023-10-13	12:54:21	1864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861356,3,'',1)
2023-10-13	12:54:21	1864	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:21	1864	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:21	1864	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861356 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:21	1864	[DEBUG]	Store custom available field
2023-10-13	12:54:21	1864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861356,6,'Unitaire',3)
2023-10-13	12:54:21	1864	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:21	1864	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:21	1864	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861355
2023-10-13	12:54:21	1864	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:21	1864	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861355\":[1861355,8,1,\"choisir la taille\"],\"1861356\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861355
2023-10-13	12:54:21	1864	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:21	1864	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861356
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:21	1865	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field taille
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:21	1865	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:21	1865	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:21	1865	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:21	1865	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:21	1865	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:21	1865	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field published
2023-10-13	12:54:21	1865	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:21	1865	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field override
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:21	1865	[DEBUG]	Use field value for field slug
2023-10-13	12:54:21	1865	[DEBUG]	Process line 1865
2023-10-13	12:54:21	1865	[DEBUG]	Load a row
2023-10-13	12:54:21	1865	[DEBUG]	Processing item: A_7878_208
2023-10-13	12:54:21	1865	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:21	1865	[DEBUG]	Processing product tax
2023-10-13	12:54:21	1865	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:21	1865	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:21	1865	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:21	1865	[DEBUG]	Query for Product
2023-10-13	12:54:21	1865	[DEBUG]	Executed store
2023-10-13	12:54:21	1865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7878_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:21	1865	[DEBUG]	Check product language entry
2023-10-13	12:54:21	1865	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861357
2023-10-13	12:54:21	1865	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:21	1865	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7878_208' AND `virtuemart_product_id` != 1861357
2023-10-13	12:54:21	1865	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:21	1865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861357, 'A_7878_208')
2023-10-13	12:54:21	1865	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:21	1865	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-ultegra-fd-r-8000-do-sw-61-66-type-a-braser-box-aucune' AND `virtuemart_product_id` != 1861357
2023-10-13	12:54:21	1865	[DEBUG]	Query for ProductLang
2023-10-13	12:54:21	1865	[DEBUG]	Executed store
2023-10-13	12:54:21	1865	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.69284',`product_name`='SHIMANO Dérailleur avant Ultegra FD-R 8000 Do-Sw 61-66° type à braser box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-ultegra-fd-r-8000-do-sw-61-66-type-a-braser-box-aucune' WHERE `virtuemart_product_id` = '1861357'
2023-10-13	12:54:21	1865	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_69282_jpg.jpg
2023-10-13	12:54:21	1865	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:21	1865	[DEBUG]	Process image file
2023-10-13	12:54:21	1865	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:21	1865	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:21	1865	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_69282_jpg.jpg
2023-10-13	12:54:21	1865	[DEBUG]	Full name target: bcprisme/61_69282_jpg.jpg
2023-10-13	12:54:22	1865	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:22	1865	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/61_69282_jpg.jpg'
2023-10-13	12:54:22	1865	[DEBUG]	Query for Media
2023-10-13	12:54:22	1865	[DEBUG]	Executed store
2023-10-13	12:54:22	1865	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/61_69282_jpg.jpg',`file_url_thumb`='bcprisme/61_69282_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '510122'
2023-10-13	12:54:22	1865	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:22	1865	[DEBUG]	Executed store
2023-10-13	12:54:22	1865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861357','510122','1')
2023-10-13	12:54:22	1865	[DEBUG]	Store product image relation
2023-10-13	12:54:22	1865	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:22	1865	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861357 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:22	1865	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:22	1865	[DEBUG]	Executed store
2023-10-13	12:54:22	1865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861357','0','67.7808727948004','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:22	1865	[DEBUG]	Checking manufacturer
2023-10-13	12:54:22	1865	[DEBUG]	Load a row
2023-10-13	12:54:22	1865	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:22	1865	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:22	1865	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:22	1865	[DEBUG]	Executed store
2023-10-13	12:54:22	1865	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:22	1865	[DEBUG]	Manufacturer exists
2023-10-13	12:54:22	1865	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:22	1865	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:22	1865	[DEBUG]	Executed store
2023-10-13	12:54:22	1865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861357','26')
2023-10-13	12:54:22	1865	[DEBUG]	Find the custom field ID
2023-10-13	12:54:22	1865	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:22	1865	[DEBUG]	No custom field ID found
2023-10-13	12:54:22	1865	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:22	1865	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:22	1865	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861357 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:22	1865	[DEBUG]	Store custom available field
2023-10-13	12:54:22	1865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861357,3,'0',1)
2023-10-13	12:54:22	1865	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:22	1865	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:22	1865	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861357 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:22	1865	[DEBUG]	Store custom available field
2023-10-13	12:54:22	1865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861357,6,'choisir la taille',3)
2023-10-13	12:54:22	1865	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:22	1865	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:22	1865	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:22	1865	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:22	1865	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861357 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:22	1865	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:22	1865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861357,8,1)
2023-10-13	12:54:22	1865	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:22	1865	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861357\":[1861357,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861357
2023-10-13	12:54:22	1865	[DEBUG]	Checking category
2023-10-13	12:54:22	1865	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:22	1865	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861357
2023-10-13	12:54:22	1865	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:22	1865	[DEBUG]	Executed store
2023-10-13	12:54:22	1865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861357','7312')
2023-10-13	12:54:22	1865	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:22	1865	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861357 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:22	1865	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:22	1865	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861357
2023-10-13	12:54:22	1866	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:22	1866	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:22	1866	[DEBUG]	Use field value for field taille
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:22	1866	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:22	1866	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:22	1866	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:22	1866	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:22	1866	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:22	1866	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:22	1866	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:22	1866	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:22	1866	[DEBUG]	Use field value for field published
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:22	1866	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field override
2023-10-13	12:54:22	1866	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:22	1866	[DEBUG]	Use field value for field slug
2023-10-13	12:54:22	1866	[DEBUG]	Process line 1866
2023-10-13	12:54:22	1866	[DEBUG]	Load a row
2023-10-13	12:54:22	1866	[DEBUG]	Processing item: 4524667392750
2023-10-13	12:54:22	1866	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:22	1866	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:22	1866	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7878_208'
2023-10-13	12:54:22	1866	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:22	1866	[DEBUG]	Processing product tax
2023-10-13	12:54:22	1866	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:22	1866	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:22	1866	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:22	1866	[DEBUG]	Query for Product
2023-10-13	12:54:22	1866	[DEBUG]	Executed store
2023-10-13	12:54:22	1866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861357','4524667392750','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:22	1866	[DEBUG]	No parent found
2023-10-13	12:54:22	1866	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861357 AND customfield_value = 'stockable'
2023-10-13	12:54:22	1866	[DEBUG]	Check product language entry
2023-10-13	12:54:22	1866	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861358
2023-10-13	12:54:22	1866	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:22	1866	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667392750' AND `virtuemart_product_id` != 1861358
2023-10-13	12:54:22	1866	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:22	1866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861358, '4524667392750')
2023-10-13	12:54:22	1866	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:22	1866	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-ultegra-fd-r-8000-do-sw-61-66-type-a-braser-box-aucune-unitaire' AND `virtuemart_product_id` != 1861358
2023-10-13	12:54:22	1866	[DEBUG]	Query for ProductLang
2023-10-13	12:54:22	1866	[DEBUG]	Executed store
2023-10-13	12:54:22	1866	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant Ultegra FD-R 8000 Do-Sw 61-66° type à braser box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-ultegra-fd-r-8000-do-sw-61-66-type-a-braser-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861358'
2023-10-13	12:54:22	1866	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_69282_jpg.jpg
2023-10-13	12:54:22	1866	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:22	1866	[DEBUG]	Process image file
2023-10-13	12:54:22	1866	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:22	1866	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:22	1866	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_69282_jpg.jpg
2023-10-13	12:54:22	1866	[DEBUG]	Full name target: bcprisme/61_69282_jpg.jpg
2023-10-13	12:54:23	1866	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:23	1866	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/61_69282_jpg.jpg'
2023-10-13	12:54:23	1866	[DEBUG]	Query for Media
2023-10-13	12:54:23	1866	[DEBUG]	Executed store
2023-10-13	12:54:23	1866	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/61_69282_jpg.jpg',`file_url_thumb`='bcprisme/61_69282_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '510122'
2023-10-13	12:54:23	1866	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:23	1866	[DEBUG]	Executed store
2023-10-13	12:54:23	1866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861358','510122','1')
2023-10-13	12:54:23	1866	[DEBUG]	Store product image relation
2023-10-13	12:54:23	1866	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:23	1866	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861358 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:23	1866	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:23	1866	[DEBUG]	Executed store
2023-10-13	12:54:23	1866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861358','0','67.7808727948004','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:23	1866	[DEBUG]	Checking manufacturer
2023-10-13	12:54:23	1866	[DEBUG]	Load a row
2023-10-13	12:54:23	1866	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:23	1866	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:23	1866	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:23	1866	[DEBUG]	Executed store
2023-10-13	12:54:23	1866	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:23	1866	[DEBUG]	Manufacturer exists
2023-10-13	12:54:23	1866	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:23	1866	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:23	1866	[DEBUG]	Executed store
2023-10-13	12:54:23	1866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861358','26')
2023-10-13	12:54:23	1866	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:23	1866	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:23	1866	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861358 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:23	1866	[DEBUG]	Store custom available field
2023-10-13	12:54:23	1866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861358,3,'',1)
2023-10-13	12:54:23	1866	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:23	1866	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:23	1866	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861358 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:23	1866	[DEBUG]	Store custom available field
2023-10-13	12:54:23	1866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861358,6,'Unitaire',3)
2023-10-13	12:54:23	1866	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:23	1866	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:23	1866	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861357
2023-10-13	12:54:23	1866	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:23	1866	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861357\":[1861357,8,1,\"choisir la taille\"],\"1861358\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861357
2023-10-13	12:54:23	1866	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:23	1866	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861358
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:23	1867	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field taille
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:23	1867	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:23	1867	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:23	1867	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:23	1867	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:23	1867	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:23	1867	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field published
2023-10-13	12:54:23	1867	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:23	1867	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field override
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:23	1867	[DEBUG]	Use field value for field slug
2023-10-13	12:54:23	1867	[DEBUG]	Process line 1867
2023-10-13	12:54:23	1867	[DEBUG]	Load a row
2023-10-13	12:54:23	1867	[DEBUG]	Processing item: A_7956_1
2023-10-13	12:54:23	1867	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:23	1867	[DEBUG]	Processing product tax
2023-10-13	12:54:23	1867	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:23	1867	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:23	1867	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:23	1867	[DEBUG]	Query for Product
2023-10-13	12:54:23	1867	[DEBUG]	Executed store
2023-10-13	12:54:23	1867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7956_1','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:23	1867	[DEBUG]	Check product language entry
2023-10-13	12:54:23	1867	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861359
2023-10-13	12:54:23	1867	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:23	1867	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7956_1' AND `virtuemart_product_id` != 1861359
2023-10-13	12:54:23	1867	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:23	1867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861359, 'A_7956_1')
2023-10-13	12:54:23	1867	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:23	1867	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-kit-derailleur-gx1-eagle-axs-upgrade-controller-batterie-chargeur-noir' AND `virtuemart_product_id` != 1861359
2023-10-13	12:54:23	1867	[DEBUG]	Query for ProductLang
2023-10-13	12:54:23	1867	[DEBUG]	Executed store
2023-10-13	12:54:23	1867	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7565A',`product_name`='SRAM Kit dérailleur GX1 Eagle AXS Upgrade Controller, Batterie, Chargeur / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-kit-derailleur-gx1-eagle-axs-upgrade-controller-batterie-chargeur-noir' WHERE `virtuemart_product_id` = '1861359'
2023-10-13	12:54:23	1867	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36396_kit_derailleur_gx1_eagle_axs_upgrade_controller,_batterie,_chargeur.jpg
2023-10-13	12:54:23	1867	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:23	1867	[DEBUG]	Process image file
2023-10-13	12:54:23	1867	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:23	1867	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:23	1867	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36396_kit_derailleur_gx1_eagle_axs_upgrade_controller,_batterie,_chargeur.jpg
2023-10-13	12:54:23	1867	[DEBUG]	Full name target: bcprisme/36396_kit_derailleur_gx1_eagle_axs_upgrade_controller,_batterie,_chargeur.jpg
2023-10-13	12:54:24	1867	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:24	1867	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36396_kit_derailleur_gx1_eagle_axs_upgrade_controller,_batterie,_chargeur.jpg'
2023-10-13	12:54:24	1867	[DEBUG]	Query for Media
2023-10-13	12:54:24	1867	[DEBUG]	Executed store
2023-10-13	12:54:24	1867	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36396_kit_derailleur_gx1_eagle_axs_upgrade_controller,_batterie,_chargeur.jpg',`file_url_thumb`='bcprisme/36396_kit_derailleur_gx1_eagle_axs_upgrade_controller,_batterie,_chargeur.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990351'
2023-10-13	12:54:24	1867	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:24	1867	[DEBUG]	Executed store
2023-10-13	12:54:24	1867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861359','990351','1')
2023-10-13	12:54:24	1867	[DEBUG]	Store product image relation
2023-10-13	12:54:24	1867	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:24	1867	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861359 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:24	1867	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:24	1867	[DEBUG]	Executed store
2023-10-13	12:54:24	1867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861359','0','639.740018570102','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:24	1867	[DEBUG]	Checking manufacturer
2023-10-13	12:54:24	1867	[DEBUG]	Load a row
2023-10-13	12:54:24	1867	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:24	1867	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:24	1867	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:24	1867	[DEBUG]	Executed store
2023-10-13	12:54:24	1867	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:24	1867	[DEBUG]	Manufacturer exists
2023-10-13	12:54:24	1867	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:24	1867	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:24	1867	[DEBUG]	Executed store
2023-10-13	12:54:24	1867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861359','35')
2023-10-13	12:54:24	1867	[DEBUG]	Find the custom field ID
2023-10-13	12:54:24	1867	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:24	1867	[DEBUG]	No custom field ID found
2023-10-13	12:54:24	1867	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:24	1867	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:24	1867	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861359 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:24	1867	[DEBUG]	Store custom available field
2023-10-13	12:54:24	1867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861359,3,'0',1)
2023-10-13	12:54:24	1867	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:24	1867	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:24	1867	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861359 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:24	1867	[DEBUG]	Store custom available field
2023-10-13	12:54:24	1867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861359,6,'choisir la taille',3)
2023-10-13	12:54:24	1867	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:24	1867	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:24	1867	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:24	1867	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:24	1867	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861359 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:24	1867	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:24	1867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861359,8,1)
2023-10-13	12:54:24	1867	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:24	1867	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861359\":[1861359,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861359
2023-10-13	12:54:24	1867	[DEBUG]	Checking category
2023-10-13	12:54:24	1867	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:24	1867	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861359
2023-10-13	12:54:24	1867	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:24	1867	[DEBUG]	Executed store
2023-10-13	12:54:24	1867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861359','7312')
2023-10-13	12:54:24	1867	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:24	1867	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861359 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:24	1867	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:24	1867	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861359
2023-10-13	12:54:24	1868	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:24	1868	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:24	1868	[DEBUG]	Use field value for field taille
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:24	1868	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:24	1868	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:24	1868	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:24	1868	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:24	1868	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:24	1868	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:24	1868	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:24	1868	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:24	1868	[DEBUG]	Use field value for field published
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:24	1868	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field override
2023-10-13	12:54:24	1868	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:24	1868	[DEBUG]	Use field value for field slug
2023-10-13	12:54:24	1868	[DEBUG]	Process line 1868
2023-10-13	12:54:24	1868	[DEBUG]	Load a row
2023-10-13	12:54:24	1868	[DEBUG]	Processing item: 1417181515
2023-10-13	12:54:24	1868	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:24	1868	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:24	1868	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7956_1'
2023-10-13	12:54:24	1868	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:24	1868	[DEBUG]	Processing product tax
2023-10-13	12:54:24	1868	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:24	1868	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:24	1868	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:24	1868	[DEBUG]	Query for Product
2023-10-13	12:54:24	1868	[DEBUG]	Executed store
2023-10-13	12:54:24	1868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861359','1417181515','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:24	1868	[DEBUG]	No parent found
2023-10-13	12:54:24	1868	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861359 AND customfield_value = 'stockable'
2023-10-13	12:54:24	1868	[DEBUG]	Check product language entry
2023-10-13	12:54:24	1868	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861360
2023-10-13	12:54:24	1868	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:24	1868	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1417181515' AND `virtuemart_product_id` != 1861360
2023-10-13	12:54:24	1868	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:24	1868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861360, '1417181515')
2023-10-13	12:54:24	1868	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:24	1868	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-kit-derailleur-gx1-eagle-axs-upgrade-controller-batterie-chargeur-noir-unitaire' AND `virtuemart_product_id` != 1861360
2023-10-13	12:54:24	1868	[DEBUG]	Query for ProductLang
2023-10-13	12:54:24	1868	[DEBUG]	Executed store
2023-10-13	12:54:24	1868	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Kit dérailleur GX1 Eagle AXS Upgrade Controller, Batterie, Chargeur / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-kit-derailleur-gx1-eagle-axs-upgrade-controller-batterie-chargeur-noir-unitaire' WHERE `virtuemart_product_id` = '1861360'
2023-10-13	12:54:24	1868	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36396_kit_derailleur_gx1_eagle_axs_upgrade_controller,_batterie,_chargeur.jpg
2023-10-13	12:54:24	1868	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:24	1868	[DEBUG]	Process image file
2023-10-13	12:54:24	1868	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:24	1868	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:24	1868	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36396_kit_derailleur_gx1_eagle_axs_upgrade_controller,_batterie,_chargeur.jpg
2023-10-13	12:54:24	1868	[DEBUG]	Full name target: bcprisme/36396_kit_derailleur_gx1_eagle_axs_upgrade_controller,_batterie,_chargeur.jpg
2023-10-13	12:54:25	1868	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:25	1868	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36396_kit_derailleur_gx1_eagle_axs_upgrade_controller,_batterie,_chargeur.jpg'
2023-10-13	12:54:25	1868	[DEBUG]	Query for Media
2023-10-13	12:54:25	1868	[DEBUG]	Executed store
2023-10-13	12:54:25	1868	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36396_kit_derailleur_gx1_eagle_axs_upgrade_controller,_batterie,_chargeur.jpg',`file_url_thumb`='bcprisme/36396_kit_derailleur_gx1_eagle_axs_upgrade_controller,_batterie,_chargeur.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990351'
2023-10-13	12:54:25	1868	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:25	1868	[DEBUG]	Executed store
2023-10-13	12:54:25	1868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861360','990351','1')
2023-10-13	12:54:25	1868	[DEBUG]	Store product image relation
2023-10-13	12:54:25	1868	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:25	1868	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861360 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:25	1868	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:25	1868	[DEBUG]	Executed store
2023-10-13	12:54:25	1868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861360','0','639.740018570102','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:25	1868	[DEBUG]	Checking manufacturer
2023-10-13	12:54:25	1868	[DEBUG]	Load a row
2023-10-13	12:54:25	1868	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:25	1868	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:25	1868	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:25	1868	[DEBUG]	Executed store
2023-10-13	12:54:25	1868	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:25	1868	[DEBUG]	Manufacturer exists
2023-10-13	12:54:25	1868	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:25	1868	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:25	1868	[DEBUG]	Executed store
2023-10-13	12:54:25	1868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861360','35')
2023-10-13	12:54:25	1868	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:25	1868	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:25	1868	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861360 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:25	1868	[DEBUG]	Store custom available field
2023-10-13	12:54:25	1868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861360,3,'',1)
2023-10-13	12:54:25	1868	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:25	1868	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:25	1868	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861360 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:25	1868	[DEBUG]	Store custom available field
2023-10-13	12:54:25	1868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861360,6,'Unitaire',3)
2023-10-13	12:54:25	1868	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:25	1868	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:25	1868	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861359
2023-10-13	12:54:25	1868	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:25	1868	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861359\":[1861359,8,1,\"choisir la taille\"],\"1861360\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861359
2023-10-13	12:54:25	1868	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:25	1868	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861360
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:25	1869	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field taille
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:25	1869	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:25	1869	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:25	1869	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:25	1869	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:25	1869	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:25	1869	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field published
2023-10-13	12:54:25	1869	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:25	1869	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field override
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:25	1869	[DEBUG]	Use field value for field slug
2023-10-13	12:54:25	1869	[DEBUG]	Process line 1869
2023-10-13	12:54:25	1869	[DEBUG]	Load a row
2023-10-13	12:54:25	1869	[DEBUG]	Processing item: A_8027_1
2023-10-13	12:54:25	1869	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:25	1869	[DEBUG]	Processing product tax
2023-10-13	12:54:25	1869	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:25	1869	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:25	1869	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:25	1869	[DEBUG]	Query for Product
2023-10-13	12:54:25	1869	[DEBUG]	Executed store
2023-10-13	12:54:25	1869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8027_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:25	1869	[DEBUG]	Check product language entry
2023-10-13	12:54:25	1869	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861361
2023-10-13	12:54:25	1869	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:25	1869	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8027_1' AND `virtuemart_product_id` != 1861361
2023-10-13	12:54:25	1869	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:25	1869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861361, 'A_8027_1')
2023-10-13	12:54:25	1869	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:25	1869	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-rd-m4120-10-11--vit-sgs-shd-top-normal-montage-direct-noir' AND `virtuemart_product_id` != 1861361
2023-10-13	12:54:25	1869	[DEBUG]	Query for ProductLang
2023-10-13	12:54:25	1869	[DEBUG]	Executed store
2023-10-13	12:54:25	1869	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.78015',`product_name`='SHIMANO Dérailleur Deore RD-M4120 10/11- vit. SGS SHD Top-Normal montage direct / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-rd-m4120-10-11--vit-sgs-shd-top-normal-montage-direct-noir' WHERE `virtuemart_product_id` = '1861361'
2023-10-13	12:54:25	1869	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78015_001_jpg.jpg
2023-10-13	12:54:25	1869	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:25	1869	[DEBUG]	Process image file
2023-10-13	12:54:25	1869	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:25	1869	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:25	1869	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78015_001_jpg.jpg
2023-10-13	12:54:25	1869	[DEBUG]	Full name target: bcprisme/60_78015_001_jpg.jpg
2023-10-13	12:54:26	1869	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:26	1869	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_78015_001_jpg.jpg'
2023-10-13	12:54:26	1869	[DEBUG]	Query for Media
2023-10-13	12:54:26	1869	[DEBUG]	Executed store
2023-10-13	12:54:26	1869	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_78015_001_jpg.jpg',`file_url_thumb`='bcprisme/60_78015_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '625969'
2023-10-13	12:54:26	1869	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:26	1869	[DEBUG]	Executed store
2023-10-13	12:54:26	1869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861361','625969','1')
2023-10-13	12:54:26	1869	[DEBUG]	Store product image relation
2023-10-13	12:54:26	1869	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:26	1869	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861361 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:26	1869	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:26	1869	[DEBUG]	Executed store
2023-10-13	12:54:26	1869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861361','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:26	1869	[DEBUG]	Checking manufacturer
2023-10-13	12:54:26	1869	[DEBUG]	Load a row
2023-10-13	12:54:26	1869	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:26	1869	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:26	1869	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:26	1869	[DEBUG]	Executed store
2023-10-13	12:54:26	1869	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:26	1869	[DEBUG]	Manufacturer exists
2023-10-13	12:54:26	1869	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:26	1869	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:26	1869	[DEBUG]	Executed store
2023-10-13	12:54:26	1869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861361','26')
2023-10-13	12:54:26	1869	[DEBUG]	Find the custom field ID
2023-10-13	12:54:26	1869	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:26	1869	[DEBUG]	No custom field ID found
2023-10-13	12:54:26	1869	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:26	1869	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:26	1869	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861361 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:26	1869	[DEBUG]	Store custom available field
2023-10-13	12:54:26	1869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861361,3,'0',1)
2023-10-13	12:54:26	1869	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:26	1869	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:26	1869	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861361 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:26	1869	[DEBUG]	Store custom available field
2023-10-13	12:54:26	1869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861361,6,'choisir la taille',3)
2023-10-13	12:54:26	1869	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:26	1869	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:26	1869	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:26	1869	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:26	1869	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861361 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:26	1869	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:26	1869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861361,8,1)
2023-10-13	12:54:26	1869	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:26	1869	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861361\":[1861361,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861361
2023-10-13	12:54:26	1869	[DEBUG]	Checking category
2023-10-13	12:54:26	1869	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:26	1869	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861361
2023-10-13	12:54:26	1869	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:26	1869	[DEBUG]	Executed store
2023-10-13	12:54:26	1869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861361','7312')
2023-10-13	12:54:26	1869	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:26	1869	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861361 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:26	1869	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:26	1869	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861361
2023-10-13	12:54:26	1870	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:26	1870	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:26	1870	[DEBUG]	Use field value for field taille
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:26	1870	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:26	1870	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:26	1870	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:26	1870	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:26	1870	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:26	1870	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:26	1870	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:26	1870	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:26	1870	[DEBUG]	Use field value for field published
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:26	1870	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field override
2023-10-13	12:54:26	1870	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:26	1870	[DEBUG]	Use field value for field slug
2023-10-13	12:54:26	1870	[DEBUG]	Process line 1870
2023-10-13	12:54:26	1870	[DEBUG]	Load a row
2023-10-13	12:54:26	1870	[DEBUG]	Processing item: 4550170621124
2023-10-13	12:54:26	1870	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:26	1870	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:26	1870	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8027_1'
2023-10-13	12:54:26	1870	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:26	1870	[DEBUG]	Processing product tax
2023-10-13	12:54:26	1870	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:26	1870	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:26	1870	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:26	1870	[DEBUG]	Query for Product
2023-10-13	12:54:26	1870	[DEBUG]	Executed store
2023-10-13	12:54:26	1870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861361','4550170621124','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:26	1870	[DEBUG]	No parent found
2023-10-13	12:54:26	1870	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861361 AND customfield_value = 'stockable'
2023-10-13	12:54:26	1870	[DEBUG]	Check product language entry
2023-10-13	12:54:26	1870	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861362
2023-10-13	12:54:26	1870	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:26	1870	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170621124' AND `virtuemart_product_id` != 1861362
2023-10-13	12:54:26	1870	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:26	1870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861362, '4550170621124')
2023-10-13	12:54:26	1870	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:26	1870	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-rd-m4120-10-11--vit-sgs-shd-top-normal-montage-direct-noir-unitaire' AND `virtuemart_product_id` != 1861362
2023-10-13	12:54:26	1870	[DEBUG]	Query for ProductLang
2023-10-13	12:54:26	1870	[DEBUG]	Executed store
2023-10-13	12:54:26	1870	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Deore RD-M4120 10/11- vit. SGS SHD Top-Normal montage direct / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-rd-m4120-10-11--vit-sgs-shd-top-normal-montage-direct-noir-unitaire' WHERE `virtuemart_product_id` = '1861362'
2023-10-13	12:54:26	1870	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78015_001_jpg.jpg
2023-10-13	12:54:26	1870	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:26	1870	[DEBUG]	Process image file
2023-10-13	12:54:26	1870	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:26	1870	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:26	1870	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78015_001_jpg.jpg
2023-10-13	12:54:26	1870	[DEBUG]	Full name target: bcprisme/60_78015_001_jpg.jpg
2023-10-13	12:54:27	1870	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:27	1870	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_78015_001_jpg.jpg'
2023-10-13	12:54:27	1870	[DEBUG]	Query for Media
2023-10-13	12:54:27	1870	[DEBUG]	Executed store
2023-10-13	12:54:27	1870	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_78015_001_jpg.jpg',`file_url_thumb`='bcprisme/60_78015_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '625969'
2023-10-13	12:54:27	1870	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:27	1870	[DEBUG]	Executed store
2023-10-13	12:54:27	1870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861362','625969','1')
2023-10-13	12:54:27	1870	[DEBUG]	Store product image relation
2023-10-13	12:54:27	1870	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:27	1870	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861362 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:27	1870	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:27	1870	[DEBUG]	Executed store
2023-10-13	12:54:27	1870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861362','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:27	1870	[DEBUG]	Checking manufacturer
2023-10-13	12:54:27	1870	[DEBUG]	Load a row
2023-10-13	12:54:27	1870	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:27	1870	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:27	1870	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:27	1870	[DEBUG]	Executed store
2023-10-13	12:54:27	1870	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:27	1870	[DEBUG]	Manufacturer exists
2023-10-13	12:54:27	1870	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:27	1870	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:27	1870	[DEBUG]	Executed store
2023-10-13	12:54:27	1870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861362','26')
2023-10-13	12:54:27	1870	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:27	1870	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:27	1870	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861362 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:27	1870	[DEBUG]	Store custom available field
2023-10-13	12:54:27	1870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861362,3,'',1)
2023-10-13	12:54:27	1870	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:27	1870	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:27	1870	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861362 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:27	1870	[DEBUG]	Store custom available field
2023-10-13	12:54:27	1870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861362,6,'Unitaire',3)
2023-10-13	12:54:27	1870	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:27	1870	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:27	1870	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861361
2023-10-13	12:54:27	1870	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:27	1870	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861361\":[1861361,8,1,\"choisir la taille\"],\"1861362\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861361
2023-10-13	12:54:27	1870	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:27	1870	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861362
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:27	1871	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field taille
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:27	1871	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:27	1871	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:27	1871	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:27	1871	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:27	1871	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:27	1871	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field published
2023-10-13	12:54:27	1871	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:27	1871	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field override
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:27	1871	[DEBUG]	Use field value for field slug
2023-10-13	12:54:27	1871	[DEBUG]	Process line 1871
2023-10-13	12:54:27	1871	[DEBUG]	Load a row
2023-10-13	12:54:27	1871	[DEBUG]	Processing item: A_8163_1
2023-10-13	12:54:27	1871	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:27	1871	[DEBUG]	Processing product tax
2023-10-13	12:54:27	1871	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:27	1871	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:27	1871	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:27	1871	[DEBUG]	Query for Product
2023-10-13	12:54:27	1871	[DEBUG]	Executed store
2023-10-13	12:54:27	1871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8163_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:27	1871	[DEBUG]	Check product language entry
2023-10-13	12:54:27	1871	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861363
2023-10-13	12:54:27	1871	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:27	1871	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8163_1' AND `virtuemart_product_id` != 1861363
2023-10-13	12:54:27	1871	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:27	1871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861363, 'A_8163_1')
2023-10-13	12:54:27	1871	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:27	1871	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-sx-eagle-12-vit-long-cage-noir' AND `virtuemart_product_id` != 1861363
2023-10-13	12:54:27	1871	[DEBUG]	Query for ProductLang
2023-10-13	12:54:27	1871	[DEBUG]	Executed store
2023-10-13	12:54:27	1871	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7565I',`product_name`='SRAM Dérailleur arrière SX Eagle 12-vit. long cage  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-sx-eagle-12-vit-long-cage-noir' WHERE `virtuemart_product_id` = '1861363'
2023-10-13	12:54:27	1871	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36722_derailleur_arriere_sx_eagle_12-vit__long_cage_.jpg
2023-10-13	12:54:27	1871	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:27	1871	[DEBUG]	Process image file
2023-10-13	12:54:27	1871	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:27	1871	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:27	1871	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36722_derailleur_arriere_sx_eagle_12-vit__long_cage_.jpg
2023-10-13	12:54:27	1871	[DEBUG]	Full name target: bcprisme/36722_derailleur_arriere_sx_eagle_12-vit__long_cage_.jpg
2023-10-13	12:54:29	1871	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:29	1871	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36722_derailleur_arriere_sx_eagle_12-vit__long_cage_.jpg'
2023-10-13	12:54:29	1871	[DEBUG]	Query for Media
2023-10-13	12:54:29	1871	[DEBUG]	Executed store
2023-10-13	12:54:29	1871	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36722_derailleur_arriere_sx_eagle_12-vit__long_cage_.jpg',`file_url_thumb`='bcprisme/36722_derailleur_arriere_sx_eagle_12-vit__long_cage_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '691810'
2023-10-13	12:54:29	1871	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:29	1871	[DEBUG]	Executed store
2023-10-13	12:54:29	1871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861363','691810','1')
2023-10-13	12:54:29	1871	[DEBUG]	Store product image relation
2023-10-13	12:54:29	1871	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:29	1871	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861363 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:29	1871	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:29	1871	[DEBUG]	Executed store
2023-10-13	12:54:29	1871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861363','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:29	1871	[DEBUG]	Checking manufacturer
2023-10-13	12:54:29	1871	[DEBUG]	Load a row
2023-10-13	12:54:29	1871	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:29	1871	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:29	1871	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:29	1871	[DEBUG]	Executed store
2023-10-13	12:54:29	1871	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:29	1871	[DEBUG]	Manufacturer exists
2023-10-13	12:54:29	1871	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:29	1871	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:29	1871	[DEBUG]	Executed store
2023-10-13	12:54:29	1871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861363','35')
2023-10-13	12:54:29	1871	[DEBUG]	Find the custom field ID
2023-10-13	12:54:29	1871	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:29	1871	[DEBUG]	No custom field ID found
2023-10-13	12:54:29	1871	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:29	1871	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:29	1871	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861363 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:29	1871	[DEBUG]	Store custom available field
2023-10-13	12:54:29	1871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861363,3,'0',1)
2023-10-13	12:54:29	1871	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:29	1871	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:29	1871	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861363 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:29	1871	[DEBUG]	Store custom available field
2023-10-13	12:54:29	1871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861363,6,'choisir la taille',3)
2023-10-13	12:54:29	1871	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:29	1871	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:29	1871	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:29	1871	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:29	1871	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861363 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:29	1871	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:29	1871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861363,8,1)
2023-10-13	12:54:29	1871	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:29	1871	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861363\":[1861363,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861363
2023-10-13	12:54:29	1871	[DEBUG]	Checking category
2023-10-13	12:54:29	1871	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:29	1871	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861363
2023-10-13	12:54:29	1871	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:29	1871	[DEBUG]	Executed store
2023-10-13	12:54:29	1871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861363','7312')
2023-10-13	12:54:29	1871	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:29	1871	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861363 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:29	1871	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:29	1871	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861363
2023-10-13	12:54:29	1872	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:29	1872	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:29	1872	[DEBUG]	Use field value for field taille
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:29	1872	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:29	1872	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:29	1872	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:29	1872	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:29	1872	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:29	1872	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:29	1872	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:29	1872	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:29	1872	[DEBUG]	Use field value for field published
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:29	1872	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field override
2023-10-13	12:54:29	1872	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:29	1872	[DEBUG]	Use field value for field slug
2023-10-13	12:54:29	1872	[DEBUG]	Process line 1872
2023-10-13	12:54:29	1872	[DEBUG]	Load a row
2023-10-13	12:54:29	1872	[DEBUG]	Processing item: 710845865206
2023-10-13	12:54:29	1872	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:29	1872	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:29	1872	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8163_1'
2023-10-13	12:54:29	1872	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:29	1872	[DEBUG]	Processing product tax
2023-10-13	12:54:29	1872	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:29	1872	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:29	1872	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:29	1872	[DEBUG]	Query for Product
2023-10-13	12:54:29	1872	[DEBUG]	Executed store
2023-10-13	12:54:29	1872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861363','710845865206','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:29	1872	[DEBUG]	No parent found
2023-10-13	12:54:29	1872	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861363 AND customfield_value = 'stockable'
2023-10-13	12:54:29	1872	[DEBUG]	Check product language entry
2023-10-13	12:54:29	1872	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861364
2023-10-13	12:54:29	1872	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:29	1872	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845865206' AND `virtuemart_product_id` != 1861364
2023-10-13	12:54:29	1872	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:29	1872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861364, '710845865206')
2023-10-13	12:54:29	1872	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:29	1872	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-sx-eagle-12-vit-long-cage-noir-unitaire' AND `virtuemart_product_id` != 1861364
2023-10-13	12:54:29	1872	[DEBUG]	Query for ProductLang
2023-10-13	12:54:29	1872	[DEBUG]	Executed store
2023-10-13	12:54:29	1872	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Dérailleur arrière SX Eagle 12-vit. long cage  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-sx-eagle-12-vit-long-cage-noir-unitaire' WHERE `virtuemart_product_id` = '1861364'
2023-10-13	12:54:29	1872	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36722_derailleur_arriere_sx_eagle_12-vit__long_cage_.jpg
2023-10-13	12:54:29	1872	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:29	1872	[DEBUG]	Process image file
2023-10-13	12:54:29	1872	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:29	1872	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:29	1872	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36722_derailleur_arriere_sx_eagle_12-vit__long_cage_.jpg
2023-10-13	12:54:29	1872	[DEBUG]	Full name target: bcprisme/36722_derailleur_arriere_sx_eagle_12-vit__long_cage_.jpg
2023-10-13	12:54:30	1872	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:30	1872	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36722_derailleur_arriere_sx_eagle_12-vit__long_cage_.jpg'
2023-10-13	12:54:30	1872	[DEBUG]	Query for Media
2023-10-13	12:54:30	1872	[DEBUG]	Executed store
2023-10-13	12:54:30	1872	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36722_derailleur_arriere_sx_eagle_12-vit__long_cage_.jpg',`file_url_thumb`='bcprisme/36722_derailleur_arriere_sx_eagle_12-vit__long_cage_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '691810'
2023-10-13	12:54:30	1872	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:30	1872	[DEBUG]	Executed store
2023-10-13	12:54:30	1872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861364','691810','1')
2023-10-13	12:54:30	1872	[DEBUG]	Store product image relation
2023-10-13	12:54:30	1872	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:30	1872	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861364 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:30	1872	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:30	1872	[DEBUG]	Executed store
2023-10-13	12:54:30	1872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861364','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:30	1872	[DEBUG]	Checking manufacturer
2023-10-13	12:54:30	1872	[DEBUG]	Load a row
2023-10-13	12:54:30	1872	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:30	1872	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:30	1872	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:30	1872	[DEBUG]	Executed store
2023-10-13	12:54:30	1872	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:30	1872	[DEBUG]	Manufacturer exists
2023-10-13	12:54:30	1872	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:30	1872	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:30	1872	[DEBUG]	Executed store
2023-10-13	12:54:30	1872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861364','35')
2023-10-13	12:54:30	1872	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:30	1872	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:30	1872	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861364 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:30	1872	[DEBUG]	Store custom available field
2023-10-13	12:54:30	1872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861364,3,'',1)
2023-10-13	12:54:30	1872	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:30	1872	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:30	1872	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861364 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:30	1872	[DEBUG]	Store custom available field
2023-10-13	12:54:30	1872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861364,6,'Unitaire',3)
2023-10-13	12:54:30	1872	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:30	1872	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:30	1872	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861363
2023-10-13	12:54:30	1872	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:30	1872	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861363\":[1861363,8,1,\"choisir la taille\"],\"1861364\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861363
2023-10-13	12:54:30	1872	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:30	1872	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861364
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:30	1873	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field taille
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:30	1873	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:30	1873	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:30	1873	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:30	1873	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:30	1873	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:30	1873	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field published
2023-10-13	12:54:30	1873	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:30	1873	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field override
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:30	1873	[DEBUG]	Use field value for field slug
2023-10-13	12:54:30	1873	[DEBUG]	Process line 1873
2023-10-13	12:54:30	1873	[DEBUG]	Load a row
2023-10-13	12:54:30	1873	[DEBUG]	Processing item: A_8187_1
2023-10-13	12:54:30	1873	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:30	1873	[DEBUG]	Processing product tax
2023-10-13	12:54:30	1873	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:30	1873	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:30	1873	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:30	1873	[DEBUG]	Query for Product
2023-10-13	12:54:30	1873	[DEBUG]	Executed store
2023-10-13	12:54:30	1873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8187_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:30	1873	[DEBUG]	Check product language entry
2023-10-13	12:54:30	1873	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861365
2023-10-13	12:54:30	1873	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:30	1873	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8187_1' AND `virtuemart_product_id` != 1861365
2023-10-13	12:54:30	1873	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:30	1873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861365, 'A_8187_1')
2023-10-13	12:54:30	1873	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:30	1873	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-rd-m5100-11-vit-shd-top-normal-montage-direct-box-noir' AND `virtuemart_product_id` != 1861365
2023-10-13	12:54:30	1873	[DEBUG]	Query for ProductLang
2023-10-13	12:54:30	1873	[DEBUG]	Executed store
2023-10-13	12:54:30	1873	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.78004',`product_name`='SHIMANO Dérailleur Deore RD-M5100 11-vit SHD+ Top-Normal montage direct box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-rd-m5100-11-vit-shd-top-normal-montage-direct-box-noir' WHERE `virtuemart_product_id` = '1861365'
2023-10-13	12:54:30	1873	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78004_009_jpg.jpg
2023-10-13	12:54:30	1873	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:30	1873	[DEBUG]	Process image file
2023-10-13	12:54:30	1873	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:30	1873	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:30	1873	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78004_009_jpg.jpg
2023-10-13	12:54:30	1873	[DEBUG]	Full name target: bcprisme/60_78004_009_jpg.jpg
2023-10-13	12:54:31	1873	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:31	1873	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_78004_009_jpg.jpg'
2023-10-13	12:54:31	1873	[DEBUG]	Query for Media
2023-10-13	12:54:31	1873	[DEBUG]	Executed store
2023-10-13	12:54:31	1873	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_78004_009_jpg.jpg',`file_url_thumb`='bcprisme/60_78004_009_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '695755'
2023-10-13	12:54:31	1873	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:31	1873	[DEBUG]	Executed store
2023-10-13	12:54:31	1873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861365','695755','1')
2023-10-13	12:54:31	1873	[DEBUG]	Store product image relation
2023-10-13	12:54:31	1873	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:31	1873	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861365 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:31	1873	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:31	1873	[DEBUG]	Executed store
2023-10-13	12:54:31	1873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861365','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:31	1873	[DEBUG]	Checking manufacturer
2023-10-13	12:54:31	1873	[DEBUG]	Load a row
2023-10-13	12:54:31	1873	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:31	1873	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:31	1873	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:31	1873	[DEBUG]	Executed store
2023-10-13	12:54:31	1873	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:31	1873	[DEBUG]	Manufacturer exists
2023-10-13	12:54:31	1873	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:31	1873	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:31	1873	[DEBUG]	Executed store
2023-10-13	12:54:31	1873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861365','26')
2023-10-13	12:54:31	1873	[DEBUG]	Find the custom field ID
2023-10-13	12:54:31	1873	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:31	1873	[DEBUG]	No custom field ID found
2023-10-13	12:54:31	1873	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:31	1873	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:31	1873	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861365 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:31	1873	[DEBUG]	Store custom available field
2023-10-13	12:54:31	1873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861365,3,'0',1)
2023-10-13	12:54:31	1873	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:31	1873	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:31	1873	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861365 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:31	1873	[DEBUG]	Store custom available field
2023-10-13	12:54:31	1873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861365,6,'choisir la taille',3)
2023-10-13	12:54:31	1873	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:31	1873	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:31	1873	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:31	1873	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:31	1873	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861365 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:31	1873	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:31	1873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861365,8,1)
2023-10-13	12:54:31	1873	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:31	1873	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861365\":[1861365,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861365
2023-10-13	12:54:31	1873	[DEBUG]	Checking category
2023-10-13	12:54:31	1873	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:31	1873	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861365
2023-10-13	12:54:31	1873	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:31	1873	[DEBUG]	Executed store
2023-10-13	12:54:31	1873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861365','7312')
2023-10-13	12:54:31	1873	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:31	1873	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861365 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:31	1873	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:31	1873	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861365
2023-10-13	12:54:31	1874	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:31	1874	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:31	1874	[DEBUG]	Use field value for field taille
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:31	1874	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:31	1874	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:31	1874	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:31	1874	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:31	1874	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:31	1874	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:31	1874	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:31	1874	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:31	1874	[DEBUG]	Use field value for field published
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:31	1874	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field override
2023-10-13	12:54:31	1874	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:31	1874	[DEBUG]	Use field value for field slug
2023-10-13	12:54:31	1874	[DEBUG]	Process line 1874
2023-10-13	12:54:31	1874	[DEBUG]	Load a row
2023-10-13	12:54:31	1874	[DEBUG]	Processing item: 4550170618704
2023-10-13	12:54:31	1874	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:31	1874	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:31	1874	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8187_1'
2023-10-13	12:54:31	1874	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:31	1874	[DEBUG]	Processing product tax
2023-10-13	12:54:31	1874	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:31	1874	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:31	1874	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:31	1874	[DEBUG]	Query for Product
2023-10-13	12:54:31	1874	[DEBUG]	Executed store
2023-10-13	12:54:31	1874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861365','4550170618704','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:31	1874	[DEBUG]	No parent found
2023-10-13	12:54:31	1874	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861365 AND customfield_value = 'stockable'
2023-10-13	12:54:31	1874	[DEBUG]	Check product language entry
2023-10-13	12:54:31	1874	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861366
2023-10-13	12:54:31	1874	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:31	1874	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170618704' AND `virtuemart_product_id` != 1861366
2023-10-13	12:54:31	1874	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:31	1874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861366, '4550170618704')
2023-10-13	12:54:31	1874	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:31	1874	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-rd-m5100-11-vit-shd-top-normal-montage-direct-box-noir-unitaire' AND `virtuemart_product_id` != 1861366
2023-10-13	12:54:31	1874	[DEBUG]	Query for ProductLang
2023-10-13	12:54:31	1874	[DEBUG]	Executed store
2023-10-13	12:54:31	1874	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Deore RD-M5100 11-vit SHD+ Top-Normal montage direct box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-rd-m5100-11-vit-shd-top-normal-montage-direct-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861366'
2023-10-13	12:54:31	1874	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78004_009_jpg.jpg
2023-10-13	12:54:31	1874	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:31	1874	[DEBUG]	Process image file
2023-10-13	12:54:31	1874	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:31	1874	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:31	1874	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78004_009_jpg.jpg
2023-10-13	12:54:31	1874	[DEBUG]	Full name target: bcprisme/60_78004_009_jpg.jpg
2023-10-13	12:54:32	1874	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:32	1874	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_78004_009_jpg.jpg'
2023-10-13	12:54:32	1874	[DEBUG]	Query for Media
2023-10-13	12:54:32	1874	[DEBUG]	Executed store
2023-10-13	12:54:32	1874	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_78004_009_jpg.jpg',`file_url_thumb`='bcprisme/60_78004_009_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '695755'
2023-10-13	12:54:32	1874	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:32	1874	[DEBUG]	Executed store
2023-10-13	12:54:32	1874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861366','695755','1')
2023-10-13	12:54:32	1874	[DEBUG]	Store product image relation
2023-10-13	12:54:32	1874	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:32	1874	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861366 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:32	1874	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:32	1874	[DEBUG]	Executed store
2023-10-13	12:54:32	1874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861366','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:32	1874	[DEBUG]	Checking manufacturer
2023-10-13	12:54:32	1874	[DEBUG]	Load a row
2023-10-13	12:54:32	1874	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:32	1874	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:32	1874	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:32	1874	[DEBUG]	Executed store
2023-10-13	12:54:32	1874	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:32	1874	[DEBUG]	Manufacturer exists
2023-10-13	12:54:32	1874	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:32	1874	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:32	1874	[DEBUG]	Executed store
2023-10-13	12:54:32	1874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861366','26')
2023-10-13	12:54:32	1874	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:32	1874	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:32	1874	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861366 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:32	1874	[DEBUG]	Store custom available field
2023-10-13	12:54:32	1874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861366,3,'',1)
2023-10-13	12:54:32	1874	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:32	1874	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:32	1874	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861366 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:32	1874	[DEBUG]	Store custom available field
2023-10-13	12:54:32	1874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861366,6,'Unitaire',3)
2023-10-13	12:54:32	1874	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:32	1874	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:32	1874	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861365
2023-10-13	12:54:32	1874	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:32	1874	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861365\":[1861365,8,1,\"choisir la taille\"],\"1861366\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861365
2023-10-13	12:54:32	1874	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:32	1874	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861366
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:32	1875	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field taille
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:32	1875	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:32	1875	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:32	1875	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:32	1875	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:32	1875	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:32	1875	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field published
2023-10-13	12:54:32	1875	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:32	1875	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field override
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:32	1875	[DEBUG]	Use field value for field slug
2023-10-13	12:54:32	1875	[DEBUG]	Process line 1875
2023-10-13	12:54:32	1875	[DEBUG]	Load a row
2023-10-13	12:54:32	1875	[DEBUG]	Processing item: A_8197_208
2023-10-13	12:54:32	1875	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:32	1875	[DEBUG]	Processing product tax
2023-10-13	12:54:32	1875	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:32	1875	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:32	1875	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:32	1875	[DEBUG]	Query for Product
2023-10-13	12:54:32	1875	[DEBUG]	Executed store
2023-10-13	12:54:32	1875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8197_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:32	1875	[DEBUG]	Check product language entry
2023-10-13	12:54:32	1875	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861367
2023-10-13	12:54:32	1875	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:32	1875	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8197_208' AND `virtuemart_product_id` != 1861367
2023-10-13	12:54:32	1875	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:32	1875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861367, 'A_8197_208')
2023-10-13	12:54:32	1875	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:32	1875	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-unite-de-stabilisation-rd-rx812-aucune' AND `virtuemart_product_id` != 1861367
2023-10-13	12:54:32	1875	[DEBUG]	Query for ProductLang
2023-10-13	12:54:32	1875	[DEBUG]	Executed store
2023-10-13	12:54:32	1875	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.77106',`product_name`='SHIMANO unité de stabilisation RD-RX812 / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-unite-de-stabilisation-rd-rx812-aucune' WHERE `virtuemart_product_id` = '1861367'
2023-10-13	12:54:32	1875	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36775_unite_de_stabilisation_rd-rx812.jpg
2023-10-13	12:54:32	1875	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:32	1875	[DEBUG]	Process image file
2023-10-13	12:54:32	1875	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:32	1875	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:32	1875	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36775_unite_de_stabilisation_rd-rx812.jpg
2023-10-13	12:54:32	1875	[DEBUG]	Full name target: bcprisme/36775_unite_de_stabilisation_rd-rx812.jpg
2023-10-13	12:54:33	1875	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:33	1875	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36775_unite_de_stabilisation_rd-rx812.jpg'
2023-10-13	12:54:33	1875	[DEBUG]	Query for Media
2023-10-13	12:54:33	1875	[DEBUG]	Executed store
2023-10-13	12:54:33	1875	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36775_unite_de_stabilisation_rd-rx812.jpg',`file_url_thumb`='bcprisme/36775_unite_de_stabilisation_rd-rx812.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '705804'
2023-10-13	12:54:33	1875	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:33	1875	[DEBUG]	Executed store
2023-10-13	12:54:33	1875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861367','705804','1')
2023-10-13	12:54:33	1875	[DEBUG]	Store product image relation
2023-10-13	12:54:33	1875	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:33	1875	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861367 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:33	1875	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:33	1875	[DEBUG]	Executed store
2023-10-13	12:54:33	1875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861367','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:33	1875	[DEBUG]	Checking manufacturer
2023-10-13	12:54:33	1875	[DEBUG]	Load a row
2023-10-13	12:54:33	1875	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:33	1875	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:33	1875	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:33	1875	[DEBUG]	Executed store
2023-10-13	12:54:33	1875	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:33	1875	[DEBUG]	Manufacturer exists
2023-10-13	12:54:33	1875	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:33	1875	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:33	1875	[DEBUG]	Executed store
2023-10-13	12:54:33	1875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861367','26')
2023-10-13	12:54:33	1875	[DEBUG]	Find the custom field ID
2023-10-13	12:54:33	1875	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:33	1875	[DEBUG]	No custom field ID found
2023-10-13	12:54:33	1875	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:33	1875	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:33	1875	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861367 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:33	1875	[DEBUG]	Store custom available field
2023-10-13	12:54:33	1875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861367,3,'0',1)
2023-10-13	12:54:33	1875	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:33	1875	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:33	1875	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861367 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:33	1875	[DEBUG]	Store custom available field
2023-10-13	12:54:33	1875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861367,6,'choisir la taille',3)
2023-10-13	12:54:33	1875	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:33	1875	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:33	1875	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:33	1875	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:33	1875	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861367 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:33	1875	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:33	1875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861367,8,1)
2023-10-13	12:54:33	1875	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:33	1875	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861367\":[1861367,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861367
2023-10-13	12:54:33	1875	[DEBUG]	Checking category
2023-10-13	12:54:33	1875	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:33	1875	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861367
2023-10-13	12:54:33	1875	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:33	1875	[DEBUG]	Executed store
2023-10-13	12:54:33	1875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861367','7312')
2023-10-13	12:54:33	1875	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:33	1875	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861367 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:33	1875	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:33	1875	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861367
2023-10-13	12:54:33	1876	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:33	1876	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:33	1876	[DEBUG]	Use field value for field taille
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:33	1876	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:33	1876	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:33	1876	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:33	1876	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:33	1876	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:33	1876	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:33	1876	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:33	1876	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:33	1876	[DEBUG]	Use field value for field published
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:33	1876	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field override
2023-10-13	12:54:33	1876	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:33	1876	[DEBUG]	Use field value for field slug
2023-10-13	12:54:33	1876	[DEBUG]	Process line 1876
2023-10-13	12:54:33	1876	[DEBUG]	Load a row
2023-10-13	12:54:33	1876	[DEBUG]	Processing item: 4550170584771
2023-10-13	12:54:33	1876	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:33	1876	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:33	1876	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8197_208'
2023-10-13	12:54:33	1876	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:33	1876	[DEBUG]	Processing product tax
2023-10-13	12:54:33	1876	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:33	1876	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:33	1876	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:33	1876	[DEBUG]	Query for Product
2023-10-13	12:54:33	1876	[DEBUG]	Executed store
2023-10-13	12:54:33	1876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861367','4550170584771','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:33	1876	[DEBUG]	No parent found
2023-10-13	12:54:33	1876	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861367 AND customfield_value = 'stockable'
2023-10-13	12:54:33	1876	[DEBUG]	Check product language entry
2023-10-13	12:54:33	1876	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861368
2023-10-13	12:54:33	1876	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:33	1876	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170584771' AND `virtuemart_product_id` != 1861368
2023-10-13	12:54:33	1876	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:33	1876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861368, '4550170584771')
2023-10-13	12:54:33	1876	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:33	1876	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-unite-de-stabilisation-rd-rx812-aucune-unitaire' AND `virtuemart_product_id` != 1861368
2023-10-13	12:54:33	1876	[DEBUG]	Query for ProductLang
2023-10-13	12:54:33	1876	[DEBUG]	Executed store
2023-10-13	12:54:33	1876	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO unité de stabilisation RD-RX812 / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-unite-de-stabilisation-rd-rx812-aucune-unitaire' WHERE `virtuemart_product_id` = '1861368'
2023-10-13	12:54:33	1876	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36775_unite_de_stabilisation_rd-rx812.jpg
2023-10-13	12:54:33	1876	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:33	1876	[DEBUG]	Process image file
2023-10-13	12:54:33	1876	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:33	1876	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:33	1876	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36775_unite_de_stabilisation_rd-rx812.jpg
2023-10-13	12:54:33	1876	[DEBUG]	Full name target: bcprisme/36775_unite_de_stabilisation_rd-rx812.jpg
2023-10-13	12:54:34	1876	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:34	1876	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36775_unite_de_stabilisation_rd-rx812.jpg'
2023-10-13	12:54:34	1876	[DEBUG]	Query for Media
2023-10-13	12:54:34	1876	[DEBUG]	Executed store
2023-10-13	12:54:34	1876	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36775_unite_de_stabilisation_rd-rx812.jpg',`file_url_thumb`='bcprisme/36775_unite_de_stabilisation_rd-rx812.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '705804'
2023-10-13	12:54:34	1876	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:34	1876	[DEBUG]	Executed store
2023-10-13	12:54:34	1876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861368','705804','1')
2023-10-13	12:54:34	1876	[DEBUG]	Store product image relation
2023-10-13	12:54:34	1876	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:34	1876	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861368 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:34	1876	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:34	1876	[DEBUG]	Executed store
2023-10-13	12:54:34	1876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861368','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:34	1876	[DEBUG]	Checking manufacturer
2023-10-13	12:54:34	1876	[DEBUG]	Load a row
2023-10-13	12:54:34	1876	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:34	1876	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:34	1876	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:34	1876	[DEBUG]	Executed store
2023-10-13	12:54:34	1876	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:34	1876	[DEBUG]	Manufacturer exists
2023-10-13	12:54:34	1876	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:34	1876	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:34	1876	[DEBUG]	Executed store
2023-10-13	12:54:34	1876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861368','26')
2023-10-13	12:54:34	1876	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:34	1876	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:34	1876	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861368 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:34	1876	[DEBUG]	Store custom available field
2023-10-13	12:54:34	1876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861368,3,'',1)
2023-10-13	12:54:34	1876	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:34	1876	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:34	1876	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861368 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:34	1876	[DEBUG]	Store custom available field
2023-10-13	12:54:34	1876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861368,6,'Unitaire',3)
2023-10-13	12:54:34	1876	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:34	1876	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:34	1876	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861367
2023-10-13	12:54:34	1876	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:34	1876	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861367\":[1861367,8,1,\"choisir la taille\"],\"1861368\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861367
2023-10-13	12:54:34	1876	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:34	1876	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861368
2023-10-13	12:54:34	1877	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:34	1877	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:34	1877	[DEBUG]	Use field value for field taille
2023-10-13	12:54:34	1877	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:34	1877	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:34	1877	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:34	1877	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:34	1877	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:34	1877	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:34	1877	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:34	1877	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:34	1877	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:35	1877	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:35	1877	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:35	1877	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:35	1877	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:35	1877	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:35	1877	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:35	1877	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:35	1877	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:35	1877	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:35	1877	[DEBUG]	Use field value for field published
2023-10-13	12:54:35	1877	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:35	1877	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:35	1877	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:35	1877	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:35	1877	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:35	1877	[DEBUG]	Use field value for field override
2023-10-13	12:54:35	1877	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:35	1877	[DEBUG]	Use field value for field slug
2023-10-13	12:54:35	1877	[DEBUG]	Process line 1877
2023-10-13	12:54:35	1877	[DEBUG]	Load a row
2023-10-13	12:54:35	1877	[DEBUG]	Processing item: A_8347_1
2023-10-13	12:54:35	1877	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:35	1877	[DEBUG]	Processing product tax
2023-10-13	12:54:35	1877	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:35	1877	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:35	1877	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:35	1877	[DEBUG]	Query for Product
2023-10-13	12:54:35	1877	[DEBUG]	Executed store
2023-10-13	12:54:35	1877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8347_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:35	1877	[DEBUG]	Check product language entry
2023-10-13	12:54:35	1877	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861369
2023-10-13	12:54:35	1877	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:35	1877	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8347_1' AND `virtuemart_product_id` != 1861369
2023-10-13	12:54:35	1877	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:35	1877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861369, 'A_8347_1')
2023-10-13	12:54:35	1877	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:35	1877	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-rd-m8130-lg-11-vit-sgs-shadow-top-normal-direct-att-box-linkglide-noir' AND `virtuemart_product_id` != 1861369
2023-10-13	12:54:35	1877	[DEBUG]	Query for ProductLang
2023-10-13	12:54:35	1877	[DEBUG]	Executed store
2023-10-13	12:54:35	1877	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.80568',`product_name`='SHIMANO Dérailleur RD-M8130 LG 11-vit. SGS Shadow+ Top-Normal direct att. box Linkglide / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-rd-m8130-lg-11-vit-sgs-shadow-top-normal-direct-att-box-linkglide-noir' WHERE `virtuemart_product_id` = '1861369'
2023-10-13	12:54:35	1877	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_80568_01_jpg.jpg
2023-10-13	12:54:35	1877	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:35	1877	[DEBUG]	Process image file
2023-10-13	12:54:35	1877	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:35	1877	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:35	1877	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_80568_01_jpg.jpg
2023-10-13	12:54:35	1877	[DEBUG]	Full name target: bcprisme/60_80568_01_jpg.jpg
2023-10-13	12:54:36	1877	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:36	1877	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_80568_01_jpg.jpg'
2023-10-13	12:54:36	1877	[DEBUG]	Query for Media
2023-10-13	12:54:36	1877	[DEBUG]	Executed store
2023-10-13	12:54:36	1877	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_80568_01_jpg.jpg',`file_url_thumb`='bcprisme/60_80568_01_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '803332'
2023-10-13	12:54:36	1877	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:36	1877	[DEBUG]	Executed store
2023-10-13	12:54:36	1877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861369','803332','1')
2023-10-13	12:54:36	1877	[DEBUG]	Store product image relation
2023-10-13	12:54:36	1877	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:36	1877	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861369 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:36	1877	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:36	1877	[DEBUG]	Executed store
2023-10-13	12:54:36	1877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861369','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:36	1877	[DEBUG]	Checking manufacturer
2023-10-13	12:54:36	1877	[DEBUG]	Load a row
2023-10-13	12:54:36	1877	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:36	1877	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:36	1877	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:36	1877	[DEBUG]	Executed store
2023-10-13	12:54:36	1877	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:36	1877	[DEBUG]	Manufacturer exists
2023-10-13	12:54:36	1877	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:36	1877	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:36	1877	[DEBUG]	Executed store
2023-10-13	12:54:36	1877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861369','26')
2023-10-13	12:54:36	1877	[DEBUG]	Find the custom field ID
2023-10-13	12:54:36	1877	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:36	1877	[DEBUG]	No custom field ID found
2023-10-13	12:54:36	1877	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:36	1877	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:36	1877	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861369 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:36	1877	[DEBUG]	Store custom available field
2023-10-13	12:54:36	1877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861369,3,'0',1)
2023-10-13	12:54:36	1877	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:36	1877	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:36	1877	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861369 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:36	1877	[DEBUG]	Store custom available field
2023-10-13	12:54:36	1877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861369,6,'choisir la taille',3)
2023-10-13	12:54:36	1877	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:36	1877	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:36	1877	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:36	1877	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:36	1877	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861369 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:36	1877	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:36	1877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861369,8,1)
2023-10-13	12:54:36	1877	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:36	1877	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861369\":[1861369,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861369
2023-10-13	12:54:36	1877	[DEBUG]	Checking category
2023-10-13	12:54:36	1877	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:36	1877	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861369
2023-10-13	12:54:36	1877	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:36	1877	[DEBUG]	Executed store
2023-10-13	12:54:36	1877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861369','7312')
2023-10-13	12:54:36	1877	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:36	1877	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861369 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:36	1877	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:36	1877	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861369
2023-10-13	12:54:36	1878	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:36	1878	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:36	1878	[DEBUG]	Use field value for field taille
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:36	1878	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:36	1878	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:36	1878	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:36	1878	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:36	1878	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:36	1878	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:36	1878	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:36	1878	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:36	1878	[DEBUG]	Use field value for field published
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:36	1878	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field override
2023-10-13	12:54:36	1878	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:36	1878	[DEBUG]	Use field value for field slug
2023-10-13	12:54:36	1878	[DEBUG]	Process line 1878
2023-10-13	12:54:36	1878	[DEBUG]	Load a row
2023-10-13	12:54:36	1878	[DEBUG]	Processing item: 4550170897116
2023-10-13	12:54:36	1878	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:36	1878	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:36	1878	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8347_1'
2023-10-13	12:54:36	1878	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:36	1878	[DEBUG]	Processing product tax
2023-10-13	12:54:36	1878	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:36	1878	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:36	1878	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:36	1878	[DEBUG]	Query for Product
2023-10-13	12:54:36	1878	[DEBUG]	Executed store
2023-10-13	12:54:36	1878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861369','4550170897116','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:36	1878	[DEBUG]	No parent found
2023-10-13	12:54:36	1878	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861369 AND customfield_value = 'stockable'
2023-10-13	12:54:36	1878	[DEBUG]	Check product language entry
2023-10-13	12:54:36	1878	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861370
2023-10-13	12:54:36	1878	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:36	1878	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170897116' AND `virtuemart_product_id` != 1861370
2023-10-13	12:54:36	1878	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:36	1878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861370, '4550170897116')
2023-10-13	12:54:36	1878	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:36	1878	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-rd-m8130-lg-11-vit-sgs-shadow-top-normal-direct-att-box-linkglide-noir-unitaire' AND `virtuemart_product_id` != 1861370
2023-10-13	12:54:36	1878	[DEBUG]	Query for ProductLang
2023-10-13	12:54:36	1878	[DEBUG]	Executed store
2023-10-13	12:54:36	1878	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur RD-M8130 LG 11-vit. SGS Shadow+ Top-Normal direct att. box Linkglide / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-rd-m8130-lg-11-vit-sgs-shadow-top-normal-direct-att-box-linkglide-noir-unitaire' WHERE `virtuemart_product_id` = '1861370'
2023-10-13	12:54:36	1878	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_80568_01_jpg.jpg
2023-10-13	12:54:36	1878	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:36	1878	[DEBUG]	Process image file
2023-10-13	12:54:36	1878	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:36	1878	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:36	1878	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_80568_01_jpg.jpg
2023-10-13	12:54:36	1878	[DEBUG]	Full name target: bcprisme/60_80568_01_jpg.jpg
2023-10-13	12:54:37	1878	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:37	1878	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_80568_01_jpg.jpg'
2023-10-13	12:54:37	1878	[DEBUG]	Query for Media
2023-10-13	12:54:37	1878	[DEBUG]	Executed store
2023-10-13	12:54:37	1878	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_80568_01_jpg.jpg',`file_url_thumb`='bcprisme/60_80568_01_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '803332'
2023-10-13	12:54:37	1878	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:37	1878	[DEBUG]	Executed store
2023-10-13	12:54:37	1878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861370','803332','1')
2023-10-13	12:54:37	1878	[DEBUG]	Store product image relation
2023-10-13	12:54:37	1878	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:37	1878	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861370 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:37	1878	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:37	1878	[DEBUG]	Executed store
2023-10-13	12:54:37	1878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861370','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:37	1878	[DEBUG]	Checking manufacturer
2023-10-13	12:54:37	1878	[DEBUG]	Load a row
2023-10-13	12:54:37	1878	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:37	1878	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:37	1878	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:37	1878	[DEBUG]	Executed store
2023-10-13	12:54:37	1878	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:37	1878	[DEBUG]	Manufacturer exists
2023-10-13	12:54:37	1878	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:37	1878	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:37	1878	[DEBUG]	Executed store
2023-10-13	12:54:37	1878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861370','26')
2023-10-13	12:54:37	1878	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:37	1878	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:37	1878	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861370 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:37	1878	[DEBUG]	Store custom available field
2023-10-13	12:54:37	1878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861370,3,'',1)
2023-10-13	12:54:37	1878	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:37	1878	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:37	1878	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861370 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:37	1878	[DEBUG]	Store custom available field
2023-10-13	12:54:37	1878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861370,6,'Unitaire',3)
2023-10-13	12:54:37	1878	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:37	1878	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:37	1878	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861369
2023-10-13	12:54:37	1878	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:37	1878	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861369\":[1861369,8,1,\"choisir la taille\"],\"1861370\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861369
2023-10-13	12:54:37	1878	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:37	1878	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861370
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:37	1879	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field taille
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:37	1879	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:37	1879	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:37	1879	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:37	1879	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:37	1879	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:37	1879	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field published
2023-10-13	12:54:37	1879	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:37	1879	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field override
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:37	1879	[DEBUG]	Use field value for field slug
2023-10-13	12:54:37	1879	[DEBUG]	Process line 1879
2023-10-13	12:54:37	1879	[DEBUG]	Load a row
2023-10-13	12:54:37	1879	[DEBUG]	Processing item: A_8373_208
2023-10-13	12:54:37	1879	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:37	1879	[DEBUG]	Processing product tax
2023-10-13	12:54:37	1879	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:37	1879	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:37	1879	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:37	1879	[DEBUG]	Query for Product
2023-10-13	12:54:37	1879	[DEBUG]	Executed store
2023-10-13	12:54:37	1879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8373_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:37	1879	[DEBUG]	Check product language entry
2023-10-13	12:54:37	1879	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861371
2023-10-13	12:54:37	1879	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:37	1879	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8373_208' AND `virtuemart_product_id` != 1861371
2023-10-13	12:54:37	1879	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:37	1879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861371, 'A_8373_208')
2023-10-13	12:54:37	1879	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:37	1879	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquette-boite-rd-r8000-gs-11-vitesses-aucune' AND `virtuemart_product_id` != 1861371
2023-10-13	12:54:37	1879	[DEBUG]	Query for ProductLang
2023-10-13	12:54:37	1879	[DEBUG]	Executed store
2023-10-13	12:54:37	1879	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.71418',`product_name`='SHIMANO Plaquette Boîte RD-R8000 GS 11 vitesses / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquette-boite-rd-r8000-gs-11-vitesses-aucune' WHERE `virtuemart_product_id` = '1861371'
2023-10-13	12:54:37	1879	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_71418_g_jpg.jpg has not been found.
2023-10-13	12:54:37	1879	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:37	1879	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861371 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:37	1879	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:37	1879	[DEBUG]	Executed store
2023-10-13	12:54:37	1879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861371','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:37	1879	[DEBUG]	Checking manufacturer
2023-10-13	12:54:37	1879	[DEBUG]	Load a row
2023-10-13	12:54:37	1879	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:37	1879	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:37	1879	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:37	1879	[DEBUG]	Executed store
2023-10-13	12:54:37	1879	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:37	1879	[DEBUG]	Manufacturer exists
2023-10-13	12:54:37	1879	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:37	1879	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:37	1879	[DEBUG]	Executed store
2023-10-13	12:54:37	1879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861371','26')
2023-10-13	12:54:37	1879	[DEBUG]	Find the custom field ID
2023-10-13	12:54:37	1879	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:37	1879	[DEBUG]	No custom field ID found
2023-10-13	12:54:37	1879	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:37	1879	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:37	1879	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861371 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:37	1879	[DEBUG]	Store custom available field
2023-10-13	12:54:37	1879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861371,3,'0',1)
2023-10-13	12:54:37	1879	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:37	1879	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:37	1879	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861371 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:37	1879	[DEBUG]	Store custom available field
2023-10-13	12:54:37	1879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861371,6,'choisir la taille',3)
2023-10-13	12:54:37	1879	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:37	1879	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:37	1879	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:37	1879	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:37	1879	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861371 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:37	1879	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:37	1879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861371,8,1)
2023-10-13	12:54:37	1879	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:37	1879	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861371\":[1861371,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861371
2023-10-13	12:54:37	1879	[DEBUG]	Checking category
2023-10-13	12:54:37	1879	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:37	1879	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861371
2023-10-13	12:54:37	1879	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:37	1879	[DEBUG]	Executed store
2023-10-13	12:54:37	1879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861371','7312')
2023-10-13	12:54:37	1879	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:37	1879	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861371 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:37	1879	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:37	1879	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861371
2023-10-13	12:54:37	1880	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:37	1880	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:37	1880	[DEBUG]	Use field value for field taille
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:37	1880	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:37	1880	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:37	1880	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:37	1880	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:37	1880	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:37	1880	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:37	1880	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:37	1880	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:37	1880	[DEBUG]	Use field value for field published
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:37	1880	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field override
2023-10-13	12:54:37	1880	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:37	1880	[DEBUG]	Use field value for field slug
2023-10-13	12:54:37	1880	[DEBUG]	Process line 1880
2023-10-13	12:54:37	1880	[DEBUG]	Load a row
2023-10-13	12:54:37	1880	[DEBUG]	Processing item: 4524667634478
2023-10-13	12:54:37	1880	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:37	1880	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:37	1880	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8373_208'
2023-10-13	12:54:37	1880	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:37	1880	[DEBUG]	Processing product tax
2023-10-13	12:54:37	1880	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:37	1880	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:37	1880	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:37	1880	[DEBUG]	Query for Product
2023-10-13	12:54:37	1880	[DEBUG]	Executed store
2023-10-13	12:54:37	1880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861371','4524667634478','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:37	1880	[DEBUG]	No parent found
2023-10-13	12:54:37	1880	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861371 AND customfield_value = 'stockable'
2023-10-13	12:54:37	1880	[DEBUG]	Check product language entry
2023-10-13	12:54:37	1880	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861372
2023-10-13	12:54:37	1880	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:37	1880	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667634478' AND `virtuemart_product_id` != 1861372
2023-10-13	12:54:37	1880	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:37	1880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861372, '4524667634478')
2023-10-13	12:54:37	1880	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:37	1880	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquette-boite-rd-r8000-gs-11-vitesses-aucune-unitaire' AND `virtuemart_product_id` != 1861372
2023-10-13	12:54:37	1880	[DEBUG]	Query for ProductLang
2023-10-13	12:54:37	1880	[DEBUG]	Executed store
2023-10-13	12:54:37	1880	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquette Boîte RD-R8000 GS 11 vitesses / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquette-boite-rd-r8000-gs-11-vitesses-aucune-unitaire' WHERE `virtuemart_product_id` = '1861372'
2023-10-13	12:54:37	1880	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_71418_g_jpg.jpg has not been found.
2023-10-13	12:54:37	1880	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:37	1880	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861372 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:37	1880	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:37	1880	[DEBUG]	Executed store
2023-10-13	12:54:37	1880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861372','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:37	1880	[DEBUG]	Checking manufacturer
2023-10-13	12:54:37	1880	[DEBUG]	Load a row
2023-10-13	12:54:37	1880	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:37	1880	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:37	1880	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:37	1880	[DEBUG]	Executed store
2023-10-13	12:54:37	1880	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:37	1880	[DEBUG]	Manufacturer exists
2023-10-13	12:54:37	1880	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:37	1880	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:37	1880	[DEBUG]	Executed store
2023-10-13	12:54:37	1880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861372','26')
2023-10-13	12:54:37	1880	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:37	1880	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:37	1880	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861372 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:37	1880	[DEBUG]	Store custom available field
2023-10-13	12:54:37	1880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861372,3,'',1)
2023-10-13	12:54:37	1880	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:37	1880	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:37	1880	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861372 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:37	1880	[DEBUG]	Store custom available field
2023-10-13	12:54:37	1880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861372,6,'Unitaire',3)
2023-10-13	12:54:37	1880	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:37	1880	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:37	1880	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861371
2023-10-13	12:54:37	1880	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:37	1880	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861371\":[1861371,8,1,\"choisir la taille\"],\"1861372\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861371
2023-10-13	12:54:37	1880	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:37	1880	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861372
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:37	1881	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field taille
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:37	1881	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:37	1881	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:37	1881	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:37	1881	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:37	1881	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:37	1881	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field published
2023-10-13	12:54:37	1881	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:37	1881	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field override
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:37	1881	[DEBUG]	Use field value for field slug
2023-10-13	12:54:37	1881	[DEBUG]	Process line 1881
2023-10-13	12:54:37	1881	[DEBUG]	Load a row
2023-10-13	12:54:37	1881	[DEBUG]	Processing item: A_8511_1
2023-10-13	12:54:37	1881	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:37	1881	[DEBUG]	Processing product tax
2023-10-13	12:54:37	1881	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:37	1881	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:37	1881	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:37	1881	[DEBUG]	Query for Product
2023-10-13	12:54:37	1881	[DEBUG]	Executed store
2023-10-13	12:54:37	1881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8511_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:37	1881	[DEBUG]	Check product language entry
2023-10-13	12:54:37	1881	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861373
2023-10-13	12:54:37	1881	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:37	1881	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8511_1' AND `virtuemart_product_id` != 1861373
2023-10-13	12:54:37	1881	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:37	1881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861373, 'A_8511_1')
2023-10-13	12:54:37	1881	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:37	1881	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-grx-rd-rx810-11-vitesses-gs-mont--direct-max-34-dents-noir' AND `virtuemart_product_id` != 1861373
2023-10-13	12:54:37	1881	[DEBUG]	Query for ProductLang
2023-10-13	12:54:37	1881	[DEBUG]	Executed store
2023-10-13	12:54:37	1881	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.75410',`product_name`='SHIMANO Dérailleur GRX RD-RX810 11-vitesses GS mont.-direct max.34 dents / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-grx-rd-rx810-11-vitesses-gs-mont--direct-max-34-dents-noir' WHERE `virtuemart_product_id` = '1861373'
2023-10-13	12:54:37	1881	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_75410_jpg.jpg
2023-10-13	12:54:37	1881	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:37	1881	[DEBUG]	Process image file
2023-10-13	12:54:37	1881	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:37	1881	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:37	1881	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_75410_jpg.jpg
2023-10-13	12:54:37	1881	[DEBUG]	Full name target: bcprisme/60_75410_jpg.jpg
2023-10-13	12:54:38	1881	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:38	1881	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_75410_jpg.jpg'
2023-10-13	12:54:38	1881	[DEBUG]	Query for Media
2023-10-13	12:54:38	1881	[DEBUG]	Executed store
2023-10-13	12:54:38	1881	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_75410_jpg.jpg',`file_url_thumb`='bcprisme/60_75410_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '949648'
2023-10-13	12:54:38	1881	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:38	1881	[DEBUG]	Executed store
2023-10-13	12:54:38	1881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861373','949648','1')
2023-10-13	12:54:38	1881	[DEBUG]	Store product image relation
2023-10-13	12:54:38	1881	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:38	1881	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861373 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:38	1881	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:38	1881	[DEBUG]	Executed store
2023-10-13	12:54:38	1881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861373','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:38	1881	[DEBUG]	Checking manufacturer
2023-10-13	12:54:38	1881	[DEBUG]	Load a row
2023-10-13	12:54:38	1881	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:38	1881	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:38	1881	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:38	1881	[DEBUG]	Executed store
2023-10-13	12:54:38	1881	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:38	1881	[DEBUG]	Manufacturer exists
2023-10-13	12:54:38	1881	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:38	1881	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:38	1881	[DEBUG]	Executed store
2023-10-13	12:54:38	1881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861373','26')
2023-10-13	12:54:38	1881	[DEBUG]	Find the custom field ID
2023-10-13	12:54:38	1881	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:38	1881	[DEBUG]	No custom field ID found
2023-10-13	12:54:38	1881	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:38	1881	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:38	1881	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861373 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:38	1881	[DEBUG]	Store custom available field
2023-10-13	12:54:38	1881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861373,3,'0',1)
2023-10-13	12:54:38	1881	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:38	1881	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:38	1881	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861373 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:38	1881	[DEBUG]	Store custom available field
2023-10-13	12:54:38	1881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861373,6,'choisir la taille',3)
2023-10-13	12:54:38	1881	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:38	1881	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:38	1881	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:38	1881	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:38	1881	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861373 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:38	1881	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:38	1881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861373,8,1)
2023-10-13	12:54:38	1881	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:38	1881	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861373\":[1861373,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861373
2023-10-13	12:54:38	1881	[DEBUG]	Checking category
2023-10-13	12:54:38	1881	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:38	1881	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861373
2023-10-13	12:54:38	1881	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:38	1881	[DEBUG]	Executed store
2023-10-13	12:54:38	1881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861373','7312')
2023-10-13	12:54:38	1881	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:38	1881	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861373 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:38	1881	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:38	1881	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861373
2023-10-13	12:54:38	1882	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:38	1882	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:38	1882	[DEBUG]	Use field value for field taille
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:38	1882	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:38	1882	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:38	1882	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:38	1882	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:38	1882	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:38	1882	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:38	1882	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:38	1882	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:38	1882	[DEBUG]	Use field value for field published
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:38	1882	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field override
2023-10-13	12:54:38	1882	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:38	1882	[DEBUG]	Use field value for field slug
2023-10-13	12:54:38	1882	[DEBUG]	Process line 1882
2023-10-13	12:54:38	1882	[DEBUG]	Load a row
2023-10-13	12:54:38	1882	[DEBUG]	Processing item: 4550170448875
2023-10-13	12:54:38	1882	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:38	1882	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:38	1882	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8511_1'
2023-10-13	12:54:38	1882	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:38	1882	[DEBUG]	Processing product tax
2023-10-13	12:54:38	1882	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:38	1882	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:38	1882	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:38	1882	[DEBUG]	Query for Product
2023-10-13	12:54:38	1882	[DEBUG]	Executed store
2023-10-13	12:54:38	1882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861373','4550170448875','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:38	1882	[DEBUG]	No parent found
2023-10-13	12:54:38	1882	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861373 AND customfield_value = 'stockable'
2023-10-13	12:54:38	1882	[DEBUG]	Check product language entry
2023-10-13	12:54:38	1882	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861374
2023-10-13	12:54:38	1882	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:38	1882	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170448875' AND `virtuemart_product_id` != 1861374
2023-10-13	12:54:38	1882	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:38	1882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861374, '4550170448875')
2023-10-13	12:54:38	1882	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:38	1882	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-grx-rd-rx810-11-vitesses-gs-mont--direct-max-34-dents-noir-unitaire' AND `virtuemart_product_id` != 1861374
2023-10-13	12:54:38	1882	[DEBUG]	Query for ProductLang
2023-10-13	12:54:38	1882	[DEBUG]	Executed store
2023-10-13	12:54:38	1882	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur GRX RD-RX810 11-vitesses GS mont.-direct max.34 dents / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-grx-rd-rx810-11-vitesses-gs-mont--direct-max-34-dents-noir-unitaire' WHERE `virtuemart_product_id` = '1861374'
2023-10-13	12:54:38	1882	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_75410_jpg.jpg
2023-10-13	12:54:38	1882	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:38	1882	[DEBUG]	Process image file
2023-10-13	12:54:38	1882	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:38	1882	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:38	1882	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_75410_jpg.jpg
2023-10-13	12:54:38	1882	[DEBUG]	Full name target: bcprisme/60_75410_jpg.jpg
2023-10-13	12:54:39	1882	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:39	1882	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_75410_jpg.jpg'
2023-10-13	12:54:39	1882	[DEBUG]	Query for Media
2023-10-13	12:54:39	1882	[DEBUG]	Executed store
2023-10-13	12:54:39	1882	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_75410_jpg.jpg',`file_url_thumb`='bcprisme/60_75410_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '949648'
2023-10-13	12:54:39	1882	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:39	1882	[DEBUG]	Executed store
2023-10-13	12:54:39	1882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861374','949648','1')
2023-10-13	12:54:39	1882	[DEBUG]	Store product image relation
2023-10-13	12:54:39	1882	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:39	1882	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861374 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:39	1882	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:39	1882	[DEBUG]	Executed store
2023-10-13	12:54:39	1882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861374','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:39	1882	[DEBUG]	Checking manufacturer
2023-10-13	12:54:39	1882	[DEBUG]	Load a row
2023-10-13	12:54:39	1882	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:39	1882	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:39	1882	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:39	1882	[DEBUG]	Executed store
2023-10-13	12:54:39	1882	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:39	1882	[DEBUG]	Manufacturer exists
2023-10-13	12:54:39	1882	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:39	1882	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:39	1882	[DEBUG]	Executed store
2023-10-13	12:54:39	1882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861374','26')
2023-10-13	12:54:39	1882	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:39	1882	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:39	1882	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861374 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:39	1882	[DEBUG]	Store custom available field
2023-10-13	12:54:39	1882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861374,3,'',1)
2023-10-13	12:54:39	1882	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:39	1882	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:39	1882	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861374 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:39	1882	[DEBUG]	Store custom available field
2023-10-13	12:54:39	1882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861374,6,'Unitaire',3)
2023-10-13	12:54:39	1882	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:39	1882	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:39	1882	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861373
2023-10-13	12:54:39	1882	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:39	1882	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861373\":[1861373,8,1,\"choisir la taille\"],\"1861374\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861373
2023-10-13	12:54:39	1882	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:39	1882	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861374
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:39	1883	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field taille
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:39	1883	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:39	1883	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:39	1883	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:39	1883	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:39	1883	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:39	1883	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field published
2023-10-13	12:54:39	1883	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:39	1883	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field override
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:39	1883	[DEBUG]	Use field value for field slug
2023-10-13	12:54:39	1883	[DEBUG]	Process line 1883
2023-10-13	12:54:39	1883	[DEBUG]	Load a row
2023-10-13	12:54:39	1883	[DEBUG]	Processing item: A_8560_1
2023-10-13	12:54:39	1883	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:39	1883	[DEBUG]	Processing product tax
2023-10-13	12:54:39	1883	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:39	1883	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:39	1883	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:39	1883	[DEBUG]	Query for Product
2023-10-13	12:54:39	1883	[DEBUG]	Executed store
2023-10-13	12:54:39	1883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8560_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:39	1883	[DEBUG]	Check product language entry
2023-10-13	12:54:39	1883	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861375
2023-10-13	12:54:39	1883	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:39	1883	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8560_1' AND `virtuemart_product_id` != 1861375
2023-10-13	12:54:39	1883	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:39	1883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861375, 'A_8560_1')
2023-10-13	12:54:39	1883	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:39	1883	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-sram-x9-10-vitesses-medium-cage-noir' AND `virtuemart_product_id` != 1861375
2023-10-13	12:54:39	1883	[DEBUG]	Query for ProductLang
2023-10-13	12:54:39	1883	[DEBUG]	Executed store
2023-10-13	12:54:39	1883	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : SRAMX9',`product_name`='SRAM Dérailleur arrière Sram X9 10 vitesses medium cage   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-sram-x9-10-vitesses-medium-cage-noir' WHERE `virtuemart_product_id` = '1861375'
2023-10-13	12:54:39	1883	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37375_derailleur_arriere_sram_x9_10_vitesses_long_cage__.jpg
2023-10-13	12:54:39	1883	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:39	1883	[DEBUG]	Process image file
2023-10-13	12:54:39	1883	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:39	1883	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:39	1883	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37375_derailleur_arriere_sram_x9_10_vitesses_long_cage__.jpg
2023-10-13	12:54:39	1883	[DEBUG]	Full name target: bcprisme/37375_derailleur_arriere_sram_x9_10_vitesses_long_cage__.jpg
2023-10-13	12:54:40	1883	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:40	1883	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37375_derailleur_arriere_sram_x9_10_vitesses_long_cage__.jpg'
2023-10-13	12:54:40	1883	[DEBUG]	Query for Media
2023-10-13	12:54:40	1883	[DEBUG]	Executed store
2023-10-13	12:54:40	1883	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37375_derailleur_arriere_sram_x9_10_vitesses_long_cage__.jpg',`file_url_thumb`='bcprisme/37375_derailleur_arriere_sram_x9_10_vitesses_long_cage__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '996846'
2023-10-13	12:54:40	1883	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:40	1883	[DEBUG]	Executed store
2023-10-13	12:54:40	1883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861375','996846','1')
2023-10-13	12:54:40	1883	[DEBUG]	Store product image relation
2023-10-13	12:54:40	1883	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:40	1883	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861375 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:40	1883	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:40	1883	[DEBUG]	Executed store
2023-10-13	12:54:40	1883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861375','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:40	1883	[DEBUG]	Checking manufacturer
2023-10-13	12:54:40	1883	[DEBUG]	Load a row
2023-10-13	12:54:40	1883	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:40	1883	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:40	1883	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:40	1883	[DEBUG]	Executed store
2023-10-13	12:54:40	1883	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:40	1883	[DEBUG]	Manufacturer exists
2023-10-13	12:54:40	1883	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:40	1883	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:40	1883	[DEBUG]	Executed store
2023-10-13	12:54:40	1883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861375','35')
2023-10-13	12:54:40	1883	[DEBUG]	Find the custom field ID
2023-10-13	12:54:40	1883	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:40	1883	[DEBUG]	No custom field ID found
2023-10-13	12:54:40	1883	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:40	1883	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:40	1883	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861375 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:40	1883	[DEBUG]	Store custom available field
2023-10-13	12:54:40	1883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861375,3,'0',1)
2023-10-13	12:54:40	1883	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:40	1883	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:40	1883	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861375 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:40	1883	[DEBUG]	Store custom available field
2023-10-13	12:54:40	1883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861375,6,'choisir la taille',3)
2023-10-13	12:54:40	1883	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:40	1883	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:40	1883	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:40	1883	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:40	1883	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861375 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:40	1883	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:40	1883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861375,8,1)
2023-10-13	12:54:40	1883	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:40	1883	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861375\":[1861375,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861375
2023-10-13	12:54:40	1883	[DEBUG]	Checking category
2023-10-13	12:54:40	1883	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:40	1883	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861375
2023-10-13	12:54:40	1883	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:40	1883	[DEBUG]	Executed store
2023-10-13	12:54:40	1883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861375','7312')
2023-10-13	12:54:40	1883	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:40	1883	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861375 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:40	1883	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:40	1883	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861375
2023-10-13	12:54:40	1884	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:40	1884	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:40	1884	[DEBUG]	Use field value for field taille
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:40	1884	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:40	1884	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:40	1884	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:40	1884	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:40	1884	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:40	1884	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:40	1884	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:40	1884	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:40	1884	[DEBUG]	Use field value for field published
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:40	1884	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field override
2023-10-13	12:54:40	1884	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:40	1884	[DEBUG]	Use field value for field slug
2023-10-13	12:54:40	1884	[DEBUG]	Process line 1884
2023-10-13	12:54:40	1884	[DEBUG]	Load a row
2023-10-13	12:54:40	1884	[DEBUG]	Processing item: 1000000156324
2023-10-13	12:54:40	1884	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:40	1884	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:40	1884	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8560_1'
2023-10-13	12:54:40	1884	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:40	1884	[DEBUG]	Processing product tax
2023-10-13	12:54:40	1884	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:40	1884	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:40	1884	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:40	1884	[DEBUG]	Query for Product
2023-10-13	12:54:40	1884	[DEBUG]	Executed store
2023-10-13	12:54:40	1884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861375','1000000156324','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:40	1884	[DEBUG]	No parent found
2023-10-13	12:54:40	1884	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861375 AND customfield_value = 'stockable'
2023-10-13	12:54:40	1884	[DEBUG]	Check product language entry
2023-10-13	12:54:40	1884	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861376
2023-10-13	12:54:40	1884	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:40	1884	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000156324' AND `virtuemart_product_id` != 1861376
2023-10-13	12:54:40	1884	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:40	1884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861376, '1000000156324')
2023-10-13	12:54:40	1884	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:40	1884	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-sram-x9-10-vitesses-medium-cage-noir-unitaire' AND `virtuemart_product_id` != 1861376
2023-10-13	12:54:40	1884	[DEBUG]	Query for ProductLang
2023-10-13	12:54:40	1884	[DEBUG]	Executed store
2023-10-13	12:54:40	1884	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Dérailleur arrière Sram X9 10 vitesses medium cage   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-sram-x9-10-vitesses-medium-cage-noir-unitaire' WHERE `virtuemart_product_id` = '1861376'
2023-10-13	12:54:40	1884	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37375_derailleur_arriere_sram_x9_10_vitesses_long_cage__.jpg
2023-10-13	12:54:40	1884	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:40	1884	[DEBUG]	Process image file
2023-10-13	12:54:40	1884	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:40	1884	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:40	1884	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37375_derailleur_arriere_sram_x9_10_vitesses_long_cage__.jpg
2023-10-13	12:54:40	1884	[DEBUG]	Full name target: bcprisme/37375_derailleur_arriere_sram_x9_10_vitesses_long_cage__.jpg
2023-10-13	12:54:41	1884	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:41	1884	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37375_derailleur_arriere_sram_x9_10_vitesses_long_cage__.jpg'
2023-10-13	12:54:41	1884	[DEBUG]	Query for Media
2023-10-13	12:54:41	1884	[DEBUG]	Executed store
2023-10-13	12:54:41	1884	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37375_derailleur_arriere_sram_x9_10_vitesses_long_cage__.jpg',`file_url_thumb`='bcprisme/37375_derailleur_arriere_sram_x9_10_vitesses_long_cage__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '996846'
2023-10-13	12:54:41	1884	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:41	1884	[DEBUG]	Executed store
2023-10-13	12:54:41	1884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861376','996846','1')
2023-10-13	12:54:41	1884	[DEBUG]	Store product image relation
2023-10-13	12:54:41	1884	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:41	1884	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861376 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:41	1884	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:41	1884	[DEBUG]	Executed store
2023-10-13	12:54:41	1884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861376','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:41	1884	[DEBUG]	Checking manufacturer
2023-10-13	12:54:41	1884	[DEBUG]	Load a row
2023-10-13	12:54:41	1884	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:41	1884	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:41	1884	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:41	1884	[DEBUG]	Executed store
2023-10-13	12:54:41	1884	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:41	1884	[DEBUG]	Manufacturer exists
2023-10-13	12:54:41	1884	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:41	1884	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:41	1884	[DEBUG]	Executed store
2023-10-13	12:54:41	1884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861376','35')
2023-10-13	12:54:41	1884	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:41	1884	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:41	1884	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861376 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:41	1884	[DEBUG]	Store custom available field
2023-10-13	12:54:41	1884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861376,3,'',1)
2023-10-13	12:54:41	1884	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:41	1884	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:41	1884	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861376 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:41	1884	[DEBUG]	Store custom available field
2023-10-13	12:54:41	1884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861376,6,'Unitaire',3)
2023-10-13	12:54:41	1884	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:41	1884	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:41	1884	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861375
2023-10-13	12:54:41	1884	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:41	1884	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861375\":[1861375,8,1,\"choisir la taille\"],\"1861376\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861375
2023-10-13	12:54:41	1884	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:41	1884	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861376
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:41	1885	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field taille
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:41	1885	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:41	1885	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:41	1885	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:41	1885	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:41	1885	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:41	1885	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:41	1885	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field published
2023-10-13	12:54:41	1885	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:41	1885	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field override
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:41	1885	[DEBUG]	Use field value for field slug
2023-10-13	12:54:41	1885	[DEBUG]	Process line 1885
2023-10-13	12:54:41	1885	[DEBUG]	Load a row
2023-10-13	12:54:41	1885	[DEBUG]	Processing item: A_8561_208
2023-10-13	12:54:41	1885	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:41	1885	[DEBUG]	Processing product tax
2023-10-13	12:54:41	1885	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:41	1885	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:41	1885	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:41	1885	[DEBUG]	Query for Product
2023-10-13	12:54:41	1885	[DEBUG]	Executed store
2023-10-13	12:54:41	1885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8561_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:41	1885	[DEBUG]	Check product language entry
2023-10-13	12:54:41	1885	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861377
2023-10-13	12:54:41	1885	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:41	1885	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8561_208' AND `virtuemart_product_id` != 1861377
2023-10-13	12:54:41	1885	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:41	1885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861377, 'A_8561_208')
2023-10-13	12:54:41	1885	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:41	1885	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-xt-fd-m8025-to-sw-do-pull-lc-66-69-28-6-31-8-34-9-aucune' AND `virtuemart_product_id` != 1861377
2023-10-13	12:54:41	1885	[DEBUG]	Query for ProductLang
2023-10-13	12:54:41	1885	[DEBUG]	Executed store
2023-10-13	12:54:41	1885	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.63901',`product_name`='SHIMANO Dérailleur avant XT FD-M8025 To-Sw Do-Pull LC 66-69° 28.6/31.8/34.9 / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-xt-fd-m8025-to-sw-do-pull-lc-66-69-28-6-31-8-34-9-aucune' WHERE `virtuemart_product_id` = '1861377'
2023-10-13	12:54:41	1885	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_63900_001_jpg.jpg
2023-10-13	12:54:41	1885	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:41	1885	[DEBUG]	Process image file
2023-10-13	12:54:41	1885	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:41	1885	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:41	1885	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_63900_001_jpg.jpg
2023-10-13	12:54:41	1885	[DEBUG]	Full name target: bcprisme/61_63900_001_jpg.jpg
2023-10-13	12:54:42	1885	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:42	1885	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/61_63900_001_jpg.jpg'
2023-10-13	12:54:42	1885	[DEBUG]	Query for Media
2023-10-13	12:54:42	1885	[DEBUG]	Executed store
2023-10-13	12:54:42	1885	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/61_63900_001_jpg.jpg',`file_url_thumb`='bcprisme/61_63900_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990363'
2023-10-13	12:54:42	1885	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:42	1885	[DEBUG]	Executed store
2023-10-13	12:54:42	1885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861377','990363','1')
2023-10-13	12:54:42	1885	[DEBUG]	Store product image relation
2023-10-13	12:54:42	1885	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:42	1885	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861377 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:42	1885	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:42	1885	[DEBUG]	Executed store
2023-10-13	12:54:42	1885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861377','0','63.1383472609099','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:42	1885	[DEBUG]	Checking manufacturer
2023-10-13	12:54:42	1885	[DEBUG]	Load a row
2023-10-13	12:54:42	1885	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:42	1885	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:42	1885	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:42	1885	[DEBUG]	Executed store
2023-10-13	12:54:42	1885	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:42	1885	[DEBUG]	Manufacturer exists
2023-10-13	12:54:42	1885	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:42	1885	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:42	1885	[DEBUG]	Executed store
2023-10-13	12:54:42	1885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861377','26')
2023-10-13	12:54:42	1885	[DEBUG]	Find the custom field ID
2023-10-13	12:54:42	1885	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:42	1885	[DEBUG]	No custom field ID found
2023-10-13	12:54:42	1885	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:42	1885	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:42	1885	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861377 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:42	1885	[DEBUG]	Store custom available field
2023-10-13	12:54:42	1885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861377,3,'0',1)
2023-10-13	12:54:42	1885	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:42	1885	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:42	1885	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861377 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:42	1885	[DEBUG]	Store custom available field
2023-10-13	12:54:42	1885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861377,6,'choisir la taille',3)
2023-10-13	12:54:42	1885	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:42	1885	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:42	1885	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:42	1885	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:42	1885	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861377 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:42	1885	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:42	1885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861377,8,1)
2023-10-13	12:54:42	1885	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:42	1885	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861377\":[1861377,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861377
2023-10-13	12:54:42	1885	[DEBUG]	Checking category
2023-10-13	12:54:42	1885	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:42	1885	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861377
2023-10-13	12:54:42	1885	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:42	1885	[DEBUG]	Executed store
2023-10-13	12:54:42	1885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861377','7312')
2023-10-13	12:54:42	1885	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:42	1885	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861377 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:42	1885	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:42	1885	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861377
2023-10-13	12:54:42	1886	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:42	1886	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:42	1886	[DEBUG]	Use field value for field taille
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:42	1886	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:42	1886	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:42	1886	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:42	1886	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:42	1886	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:42	1886	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:42	1886	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:42	1886	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:42	1886	[DEBUG]	Use field value for field published
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:42	1886	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field override
2023-10-13	12:54:42	1886	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:42	1886	[DEBUG]	Use field value for field slug
2023-10-13	12:54:42	1886	[DEBUG]	Process line 1886
2023-10-13	12:54:42	1886	[DEBUG]	Load a row
2023-10-13	12:54:42	1886	[DEBUG]	Processing item: 4524667332992
2023-10-13	12:54:42	1886	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:42	1886	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:42	1886	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8561_208'
2023-10-13	12:54:42	1886	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:42	1886	[DEBUG]	Processing product tax
2023-10-13	12:54:42	1886	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:42	1886	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:42	1886	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:42	1886	[DEBUG]	Query for Product
2023-10-13	12:54:42	1886	[DEBUG]	Executed store
2023-10-13	12:54:42	1886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861377','4524667332992','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:42	1886	[DEBUG]	No parent found
2023-10-13	12:54:42	1886	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861377 AND customfield_value = 'stockable'
2023-10-13	12:54:42	1886	[DEBUG]	Check product language entry
2023-10-13	12:54:42	1886	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861378
2023-10-13	12:54:42	1886	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:42	1886	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667332992' AND `virtuemart_product_id` != 1861378
2023-10-13	12:54:42	1886	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:42	1886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861378, '4524667332992')
2023-10-13	12:54:42	1886	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:42	1886	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-xt-fd-m8025-to-sw-do-pull-lc-66-69-28-6-31-8-34-9-aucune-unitaire' AND `virtuemart_product_id` != 1861378
2023-10-13	12:54:42	1886	[DEBUG]	Query for ProductLang
2023-10-13	12:54:42	1886	[DEBUG]	Executed store
2023-10-13	12:54:42	1886	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant XT FD-M8025 To-Sw Do-Pull LC 66-69° 28.6/31.8/34.9 / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-xt-fd-m8025-to-sw-do-pull-lc-66-69-28-6-31-8-34-9-aucune-unitaire' WHERE `virtuemart_product_id` = '1861378'
2023-10-13	12:54:42	1886	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_63900_001_jpg.jpg
2023-10-13	12:54:42	1886	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:42	1886	[DEBUG]	Process image file
2023-10-13	12:54:42	1886	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:42	1886	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:42	1886	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_63900_001_jpg.jpg
2023-10-13	12:54:42	1886	[DEBUG]	Full name target: bcprisme/61_63900_001_jpg.jpg
2023-10-13	12:54:43	1886	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:43	1886	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/61_63900_001_jpg.jpg'
2023-10-13	12:54:43	1886	[DEBUG]	Query for Media
2023-10-13	12:54:43	1886	[DEBUG]	Executed store
2023-10-13	12:54:43	1886	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/61_63900_001_jpg.jpg',`file_url_thumb`='bcprisme/61_63900_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990363'
2023-10-13	12:54:43	1886	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:43	1886	[DEBUG]	Executed store
2023-10-13	12:54:43	1886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861378','990363','1')
2023-10-13	12:54:43	1886	[DEBUG]	Store product image relation
2023-10-13	12:54:43	1886	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:43	1886	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861378 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:43	1886	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:43	1886	[DEBUG]	Executed store
2023-10-13	12:54:43	1886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861378','0','63.1383472609099','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:43	1886	[DEBUG]	Checking manufacturer
2023-10-13	12:54:43	1886	[DEBUG]	Load a row
2023-10-13	12:54:43	1886	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:43	1886	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:43	1886	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:43	1886	[DEBUG]	Executed store
2023-10-13	12:54:43	1886	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:43	1886	[DEBUG]	Manufacturer exists
2023-10-13	12:54:43	1886	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:43	1886	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:43	1886	[DEBUG]	Executed store
2023-10-13	12:54:43	1886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861378','26')
2023-10-13	12:54:43	1886	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:43	1886	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:43	1886	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861378 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:43	1886	[DEBUG]	Store custom available field
2023-10-13	12:54:43	1886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861378,3,'',1)
2023-10-13	12:54:43	1886	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:43	1886	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:43	1886	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861378 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:43	1886	[DEBUG]	Store custom available field
2023-10-13	12:54:43	1886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861378,6,'Unitaire',3)
2023-10-13	12:54:43	1886	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:43	1886	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:43	1886	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861377
2023-10-13	12:54:43	1886	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:43	1886	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861377\":[1861377,8,1,\"choisir la taille\"],\"1861378\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861377
2023-10-13	12:54:43	1886	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:43	1886	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861378
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:43	1887	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field taille
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:43	1887	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:43	1887	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:43	1887	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:43	1887	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:43	1887	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:43	1887	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field published
2023-10-13	12:54:43	1887	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:43	1887	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field override
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:43	1887	[DEBUG]	Use field value for field slug
2023-10-13	12:54:43	1887	[DEBUG]	Process line 1887
2023-10-13	12:54:43	1887	[DEBUG]	Load a row
2023-10-13	12:54:43	1887	[DEBUG]	Processing item: A_8562_1
2023-10-13	12:54:43	1887	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:43	1887	[DEBUG]	Processing product tax
2023-10-13	12:54:43	1887	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:43	1887	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:43	1887	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:43	1887	[DEBUG]	Query for Product
2023-10-13	12:54:43	1887	[DEBUG]	Executed store
2023-10-13	12:54:43	1887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8562_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:43	1887	[DEBUG]	Check product language entry
2023-10-13	12:54:43	1887	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861379
2023-10-13	12:54:43	1887	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:43	1887	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8562_1' AND `virtuemart_product_id` != 1861379
2023-10-13	12:54:43	1887	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:43	1887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861379, 'A_8562_1')
2023-10-13	12:54:43	1887	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:43	1887	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-deore-xt-fd-m770-e-a-plaque-9-vitesses-noir' AND `virtuemart_product_id` != 1861379
2023-10-13	12:54:43	1887	[DEBUG]	Query for ProductLang
2023-10-13	12:54:43	1887	[DEBUG]	Executed store
2023-10-13	12:54:43	1887	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : FD-M770',`product_name`='SHIMANO Dérailleur avant Deore XT FD-M770-E à plaque 9 vitesses / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-deore-xt-fd-m770-e-a-plaque-9-vitesses-noir' WHERE `virtuemart_product_id` = '1861379'
2023-10-13	12:54:43	1887	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37377_shimano_derailleur_avant_deore_xt_fd-m770-e_à_plaque.jpg
2023-10-13	12:54:43	1887	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:43	1887	[DEBUG]	Process image file
2023-10-13	12:54:43	1887	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:43	1887	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:43	1887	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37377_shimano_derailleur_avant_deore_xt_fd-m770-e_à_plaque.jpg
2023-10-13	12:54:43	1887	[DEBUG]	Full name target: bcprisme/37377_shimano_derailleur_avant_deore_xt_fd-m770-e_à_plaque.jpg
2023-10-13	12:54:44	1887	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:44	1887	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37377_shimano_derailleur_avant_deore_xt_fd-m770-e_à_plaque.jpg'
2023-10-13	12:54:44	1887	[DEBUG]	Query for Media
2023-10-13	12:54:44	1887	[DEBUG]	Executed store
2023-10-13	12:54:44	1887	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37377_shimano_derailleur_avant_deore_xt_fd-m770-e_à_plaque.jpg',`file_url_thumb`='bcprisme/37377_shimano_derailleur_avant_deore_xt_fd-m770-e_à_plaque.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990365'
2023-10-13	12:54:44	1887	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:44	1887	[DEBUG]	Executed store
2023-10-13	12:54:44	1887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861379','990365','1')
2023-10-13	12:54:44	1887	[DEBUG]	Store product image relation
2023-10-13	12:54:44	1887	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:44	1887	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861379 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:44	1887	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:44	1887	[DEBUG]	Executed store
2023-10-13	12:54:44	1887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861379','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:44	1887	[DEBUG]	Checking manufacturer
2023-10-13	12:54:44	1887	[DEBUG]	Load a row
2023-10-13	12:54:44	1887	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:44	1887	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:44	1887	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:44	1887	[DEBUG]	Executed store
2023-10-13	12:54:44	1887	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:44	1887	[DEBUG]	Manufacturer exists
2023-10-13	12:54:44	1887	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:44	1887	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:44	1887	[DEBUG]	Executed store
2023-10-13	12:54:44	1887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861379','26')
2023-10-13	12:54:44	1887	[DEBUG]	Find the custom field ID
2023-10-13	12:54:44	1887	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:44	1887	[DEBUG]	No custom field ID found
2023-10-13	12:54:44	1887	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:44	1887	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:44	1887	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861379 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:44	1887	[DEBUG]	Store custom available field
2023-10-13	12:54:44	1887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861379,3,'0',1)
2023-10-13	12:54:44	1887	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:44	1887	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:44	1887	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861379 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:44	1887	[DEBUG]	Store custom available field
2023-10-13	12:54:44	1887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861379,6,'choisir la taille',3)
2023-10-13	12:54:44	1887	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:44	1887	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:44	1887	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:44	1887	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:44	1887	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861379 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:44	1887	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:44	1887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861379,8,1)
2023-10-13	12:54:44	1887	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:44	1887	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861379\":[1861379,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861379
2023-10-13	12:54:44	1887	[DEBUG]	Checking category
2023-10-13	12:54:44	1887	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:44	1887	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861379
2023-10-13	12:54:44	1887	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:44	1887	[DEBUG]	Executed store
2023-10-13	12:54:44	1887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861379','7312')
2023-10-13	12:54:44	1887	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:44	1887	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861379 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:44	1887	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:44	1887	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861379
2023-10-13	12:54:44	1888	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:44	1888	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:44	1888	[DEBUG]	Use field value for field taille
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:44	1888	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:44	1888	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:44	1888	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:44	1888	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:44	1888	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:44	1888	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:44	1888	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:44	1888	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:44	1888	[DEBUG]	Use field value for field published
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:44	1888	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field override
2023-10-13	12:54:44	1888	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:44	1888	[DEBUG]	Use field value for field slug
2023-10-13	12:54:44	1888	[DEBUG]	Process line 1888
2023-10-13	12:54:44	1888	[DEBUG]	Load a row
2023-10-13	12:54:44	1888	[DEBUG]	Processing item: 1000000156348
2023-10-13	12:54:44	1888	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:44	1888	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:44	1888	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8562_1'
2023-10-13	12:54:44	1888	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:44	1888	[DEBUG]	Processing product tax
2023-10-13	12:54:44	1888	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:44	1888	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:44	1888	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:44	1888	[DEBUG]	Query for Product
2023-10-13	12:54:44	1888	[DEBUG]	Executed store
2023-10-13	12:54:44	1888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861379','1000000156348','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:44	1888	[DEBUG]	No parent found
2023-10-13	12:54:44	1888	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861379 AND customfield_value = 'stockable'
2023-10-13	12:54:44	1888	[DEBUG]	Check product language entry
2023-10-13	12:54:44	1888	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861380
2023-10-13	12:54:44	1888	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:44	1888	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000156348' AND `virtuemart_product_id` != 1861380
2023-10-13	12:54:44	1888	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:44	1888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861380, '1000000156348')
2023-10-13	12:54:44	1888	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:44	1888	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-deore-xt-fd-m770-e-a-plaque-9-vitesses-noir-all' AND `virtuemart_product_id` != 1861380
2023-10-13	12:54:44	1888	[DEBUG]	Query for ProductLang
2023-10-13	12:54:44	1888	[DEBUG]	Executed store
2023-10-13	12:54:44	1888	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant Deore XT FD-M770-E à plaque 9 vitesses / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-deore-xt-fd-m770-e-a-plaque-9-vitesses-noir-all' WHERE `virtuemart_product_id` = '1861380'
2023-10-13	12:54:44	1888	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37377_shimano_derailleur_avant_deore_xt_fd-m770-e_à_plaque.jpg
2023-10-13	12:54:44	1888	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:44	1888	[DEBUG]	Process image file
2023-10-13	12:54:44	1888	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:54:44	1888	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:44	1888	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37377_shimano_derailleur_avant_deore_xt_fd-m770-e_à_plaque.jpg
2023-10-13	12:54:44	1888	[DEBUG]	Full name target: bcprisme/37377_shimano_derailleur_avant_deore_xt_fd-m770-e_à_plaque.jpg
2023-10-13	12:54:45	1888	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:45	1888	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37377_shimano_derailleur_avant_deore_xt_fd-m770-e_à_plaque.jpg'
2023-10-13	12:54:45	1888	[DEBUG]	Query for Media
2023-10-13	12:54:45	1888	[DEBUG]	Executed store
2023-10-13	12:54:45	1888	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37377_shimano_derailleur_avant_deore_xt_fd-m770-e_à_plaque.jpg',`file_url_thumb`='bcprisme/37377_shimano_derailleur_avant_deore_xt_fd-m770-e_à_plaque.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990365'
2023-10-13	12:54:45	1888	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:45	1888	[DEBUG]	Executed store
2023-10-13	12:54:45	1888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861380','990365','1')
2023-10-13	12:54:45	1888	[DEBUG]	Store product image relation
2023-10-13	12:54:45	1888	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:45	1888	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861380 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:45	1888	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:45	1888	[DEBUG]	Executed store
2023-10-13	12:54:45	1888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861380','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:45	1888	[DEBUG]	Checking manufacturer
2023-10-13	12:54:45	1888	[DEBUG]	Load a row
2023-10-13	12:54:45	1888	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:45	1888	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:45	1888	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:45	1888	[DEBUG]	Executed store
2023-10-13	12:54:45	1888	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:45	1888	[DEBUG]	Manufacturer exists
2023-10-13	12:54:45	1888	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:45	1888	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:45	1888	[DEBUG]	Executed store
2023-10-13	12:54:45	1888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861380','26')
2023-10-13	12:54:45	1888	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:45	1888	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:45	1888	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861380 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:45	1888	[DEBUG]	Store custom available field
2023-10-13	12:54:45	1888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861380,3,'',1)
2023-10-13	12:54:45	1888	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:45	1888	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:54:45	1888	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861380 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:45	1888	[DEBUG]	Store custom available field
2023-10-13	12:54:45	1888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861380,6,'All',3)
2023-10-13	12:54:45	1888	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:45	1888	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:45	1888	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861379
2023-10-13	12:54:45	1888	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:45	1888	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861379\":[1861379,8,1,\"choisir la taille\"],\"1861380\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861379
2023-10-13	12:54:45	1888	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:45	1888	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861380
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:45	1889	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field taille
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:45	1889	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:45	1889	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:45	1889	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:45	1889	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:45	1889	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:45	1889	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field published
2023-10-13	12:54:45	1889	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:45	1889	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field override
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:45	1889	[DEBUG]	Use field value for field slug
2023-10-13	12:54:45	1889	[DEBUG]	Process line 1889
2023-10-13	12:54:45	1889	[DEBUG]	Load a row
2023-10-13	12:54:45	1889	[DEBUG]	Processing item: A_8563_1
2023-10-13	12:54:45	1889	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:45	1889	[DEBUG]	Processing product tax
2023-10-13	12:54:45	1889	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:45	1889	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:45	1889	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:45	1889	[DEBUG]	Query for Product
2023-10-13	12:54:45	1889	[DEBUG]	Executed store
2023-10-13	12:54:45	1889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8563_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:45	1889	[DEBUG]	Check product language entry
2023-10-13	12:54:45	1889	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861381
2023-10-13	12:54:45	1889	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:45	1889	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8563_1' AND `virtuemart_product_id` != 1861381
2023-10-13	12:54:45	1889	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:45	1889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861381, 'A_8563_1')
2023-10-13	12:54:45	1889	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:45	1889	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-rival-22-11-vitesses-medium-cage-max-32-t-noir' AND `virtuemart_product_id` != 1861381
2023-10-13	12:54:45	1889	[DEBUG]	Query for ProductLang
2023-10-13	12:54:45	1889	[DEBUG]	Executed store
2023-10-13	12:54:45	1889	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7394Q',`product_name`='SRAM Dérailleur arrière Rival 22 11 vitesses médium cage, max 32 T / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-rival-22-11-vitesses-medium-cage-max-32-t-noir' WHERE `virtuemart_product_id` = '1861381'
2023-10-13	12:54:45	1889	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37378_derailleur_arriere_rival_22_11_vitesses_medium_cage,_max_32_t.jpg
2023-10-13	12:54:45	1889	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:45	1889	[DEBUG]	Process image file
2023-10-13	12:54:45	1889	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:45	1889	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:45	1889	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37378_derailleur_arriere_rival_22_11_vitesses_medium_cage,_max_32_t.jpg
2023-10-13	12:54:45	1889	[DEBUG]	Full name target: bcprisme/37378_derailleur_arriere_rival_22_11_vitesses_medium_cage,_max_32_t.jpg
2023-10-13	12:54:46	1889	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:46	1889	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37378_derailleur_arriere_rival_22_11_vitesses_medium_cage,_max_32_t.jpg'
2023-10-13	12:54:46	1889	[DEBUG]	Query for Media
2023-10-13	12:54:46	1889	[DEBUG]	Executed store
2023-10-13	12:54:46	1889	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37378_derailleur_arriere_rival_22_11_vitesses_medium_cage,_max_32_t.jpg',`file_url_thumb`='bcprisme/37378_derailleur_arriere_rival_22_11_vitesses_medium_cage,_max_32_t.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990367'
2023-10-13	12:54:46	1889	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:46	1889	[DEBUG]	Executed store
2023-10-13	12:54:46	1889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861381','990367','1')
2023-10-13	12:54:46	1889	[DEBUG]	Store product image relation
2023-10-13	12:54:46	1889	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:46	1889	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861381 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:46	1889	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:46	1889	[DEBUG]	Executed store
2023-10-13	12:54:46	1889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861381','0','88.1151346332405','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:46	1889	[DEBUG]	Checking manufacturer
2023-10-13	12:54:46	1889	[DEBUG]	Load a row
2023-10-13	12:54:46	1889	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:46	1889	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:46	1889	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:46	1889	[DEBUG]	Executed store
2023-10-13	12:54:46	1889	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:46	1889	[DEBUG]	Manufacturer exists
2023-10-13	12:54:46	1889	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:46	1889	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:46	1889	[DEBUG]	Executed store
2023-10-13	12:54:46	1889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861381','35')
2023-10-13	12:54:46	1889	[DEBUG]	Find the custom field ID
2023-10-13	12:54:46	1889	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:46	1889	[DEBUG]	No custom field ID found
2023-10-13	12:54:46	1889	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:46	1889	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:46	1889	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861381 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:46	1889	[DEBUG]	Store custom available field
2023-10-13	12:54:46	1889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861381,3,'0',1)
2023-10-13	12:54:46	1889	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:46	1889	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:46	1889	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861381 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:46	1889	[DEBUG]	Store custom available field
2023-10-13	12:54:46	1889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861381,6,'choisir la taille',3)
2023-10-13	12:54:46	1889	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:46	1889	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:46	1889	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:46	1889	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:46	1889	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861381 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:46	1889	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:46	1889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861381,8,1)
2023-10-13	12:54:46	1889	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:46	1889	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861381\":[1861381,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861381
2023-10-13	12:54:46	1889	[DEBUG]	Checking category
2023-10-13	12:54:46	1889	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:46	1889	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861381
2023-10-13	12:54:46	1889	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:46	1889	[DEBUG]	Executed store
2023-10-13	12:54:46	1889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861381','7312')
2023-10-13	12:54:46	1889	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:46	1889	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861381 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:46	1889	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:46	1889	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861381
2023-10-13	12:54:46	1890	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:46	1890	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:46	1890	[DEBUG]	Use field value for field taille
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:46	1890	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:46	1890	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:46	1890	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:46	1890	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:46	1890	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:46	1890	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:46	1890	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:46	1890	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:46	1890	[DEBUG]	Use field value for field published
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:46	1890	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field override
2023-10-13	12:54:46	1890	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:46	1890	[DEBUG]	Use field value for field slug
2023-10-13	12:54:46	1890	[DEBUG]	Process line 1890
2023-10-13	12:54:46	1890	[DEBUG]	Load a row
2023-10-13	12:54:46	1890	[DEBUG]	Processing item: 1000000156355
2023-10-13	12:54:46	1890	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:46	1890	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:46	1890	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8563_1'
2023-10-13	12:54:46	1890	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:46	1890	[DEBUG]	Processing product tax
2023-10-13	12:54:46	1890	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:46	1890	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:46	1890	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:46	1890	[DEBUG]	Query for Product
2023-10-13	12:54:46	1890	[DEBUG]	Executed store
2023-10-13	12:54:46	1890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861381','1000000156355','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:46	1890	[DEBUG]	No parent found
2023-10-13	12:54:46	1890	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861381 AND customfield_value = 'stockable'
2023-10-13	12:54:46	1890	[DEBUG]	Check product language entry
2023-10-13	12:54:46	1890	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861382
2023-10-13	12:54:46	1890	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:46	1890	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000156355' AND `virtuemart_product_id` != 1861382
2023-10-13	12:54:46	1890	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:46	1890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861382, '1000000156355')
2023-10-13	12:54:46	1890	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:46	1890	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-rival-22-11-vitesses-medium-cage-max-32-t-noir-unitaire' AND `virtuemart_product_id` != 1861382
2023-10-13	12:54:46	1890	[DEBUG]	Query for ProductLang
2023-10-13	12:54:46	1890	[DEBUG]	Executed store
2023-10-13	12:54:46	1890	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Dérailleur arrière Rival 22 11 vitesses médium cage, max 32 T / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-rival-22-11-vitesses-medium-cage-max-32-t-noir-unitaire' WHERE `virtuemart_product_id` = '1861382'
2023-10-13	12:54:46	1890	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37378_derailleur_arriere_rival_22_11_vitesses_medium_cage,_max_32_t.jpg
2023-10-13	12:54:46	1890	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:46	1890	[DEBUG]	Process image file
2023-10-13	12:54:46	1890	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:46	1890	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:46	1890	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37378_derailleur_arriere_rival_22_11_vitesses_medium_cage,_max_32_t.jpg
2023-10-13	12:54:46	1890	[DEBUG]	Full name target: bcprisme/37378_derailleur_arriere_rival_22_11_vitesses_medium_cage,_max_32_t.jpg
2023-10-13	12:54:47	1890	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:47	1890	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37378_derailleur_arriere_rival_22_11_vitesses_medium_cage,_max_32_t.jpg'
2023-10-13	12:54:47	1890	[DEBUG]	Query for Media
2023-10-13	12:54:47	1890	[DEBUG]	Executed store
2023-10-13	12:54:47	1890	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37378_derailleur_arriere_rival_22_11_vitesses_medium_cage,_max_32_t.jpg',`file_url_thumb`='bcprisme/37378_derailleur_arriere_rival_22_11_vitesses_medium_cage,_max_32_t.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990367'
2023-10-13	12:54:47	1890	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:47	1890	[DEBUG]	Executed store
2023-10-13	12:54:47	1890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861382','990367','1')
2023-10-13	12:54:47	1890	[DEBUG]	Store product image relation
2023-10-13	12:54:47	1890	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:47	1890	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861382 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:47	1890	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:47	1890	[DEBUG]	Executed store
2023-10-13	12:54:47	1890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861382','0','88.1151346332405','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:47	1890	[DEBUG]	Checking manufacturer
2023-10-13	12:54:47	1890	[DEBUG]	Load a row
2023-10-13	12:54:47	1890	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:47	1890	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:47	1890	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:47	1890	[DEBUG]	Executed store
2023-10-13	12:54:47	1890	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:47	1890	[DEBUG]	Manufacturer exists
2023-10-13	12:54:47	1890	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:47	1890	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:47	1890	[DEBUG]	Executed store
2023-10-13	12:54:47	1890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861382','35')
2023-10-13	12:54:47	1890	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:47	1890	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:47	1890	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861382 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:47	1890	[DEBUG]	Store custom available field
2023-10-13	12:54:47	1890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861382,3,'',1)
2023-10-13	12:54:47	1890	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:47	1890	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:47	1890	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861382 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:47	1890	[DEBUG]	Store custom available field
2023-10-13	12:54:47	1890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861382,6,'Unitaire',3)
2023-10-13	12:54:47	1890	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:47	1890	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:47	1890	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861381
2023-10-13	12:54:47	1890	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:47	1890	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861381\":[1861381,8,1,\"choisir la taille\"],\"1861382\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861381
2023-10-13	12:54:47	1890	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:47	1890	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861382
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:47	1891	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field taille
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:47	1891	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:47	1891	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:47	1891	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:47	1891	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:47	1891	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:47	1891	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field published
2023-10-13	12:54:47	1891	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:47	1891	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field override
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:47	1891	[DEBUG]	Use field value for field slug
2023-10-13	12:54:47	1891	[DEBUG]	Process line 1891
2023-10-13	12:54:47	1891	[DEBUG]	Load a row
2023-10-13	12:54:47	1891	[DEBUG]	Processing item: A_8564_1
2023-10-13	12:54:47	1891	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:47	1891	[DEBUG]	Processing product tax
2023-10-13	12:54:47	1891	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:47	1891	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:47	1891	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:47	1891	[DEBUG]	Query for Product
2023-10-13	12:54:47	1891	[DEBUG]	Executed store
2023-10-13	12:54:47	1891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8564_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:47	1891	[DEBUG]	Check product language entry
2023-10-13	12:54:47	1891	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861383
2023-10-13	12:54:47	1891	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:47	1891	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8564_1' AND `virtuemart_product_id` != 1861383
2023-10-13	12:54:47	1891	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:47	1891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861383, 'A_8564_1')
2023-10-13	12:54:47	1891	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:47	1891	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-deore-xt-fd-m780-triple-10-vitesses-pour-fixation-plaque-noir' AND `virtuemart_product_id` != 1861383
2023-10-13	12:54:47	1891	[DEBUG]	Query for ProductLang
2023-10-13	12:54:47	1891	[DEBUG]	Executed store
2023-10-13	12:54:47	1891	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : FD-M780',`product_name`='SHIMANO Dérailleur avant Deore XT FD-M780 triple 10 vitesses pour fixation plaque / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-deore-xt-fd-m780-triple-10-vitesses-pour-fixation-plaque-noir' WHERE `virtuemart_product_id` = '1861383'
2023-10-13	12:54:47	1891	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37380_shimano_derailleur_avant_deore_xt_fd-m80_triple_10_vitesses.jpg
2023-10-13	12:54:47	1891	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:47	1891	[DEBUG]	Process image file
2023-10-13	12:54:47	1891	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:47	1891	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:47	1891	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37380_shimano_derailleur_avant_deore_xt_fd-m80_triple_10_vitesses.jpg
2023-10-13	12:54:47	1891	[DEBUG]	Full name target: bcprisme/37380_shimano_derailleur_avant_deore_xt_fd-m80_triple_10_vitesses.jpg
2023-10-13	12:54:48	1891	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:48	1891	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37380_shimano_derailleur_avant_deore_xt_fd-m80_triple_10_vitesses.jpg'
2023-10-13	12:54:48	1891	[DEBUG]	Query for Media
2023-10-13	12:54:48	1891	[DEBUG]	Executed store
2023-10-13	12:54:48	1891	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37380_shimano_derailleur_avant_deore_xt_fd-m80_triple_10_vitesses.jpg',`file_url_thumb`='bcprisme/37380_shimano_derailleur_avant_deore_xt_fd-m80_triple_10_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990369'
2023-10-13	12:54:48	1891	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:48	1891	[DEBUG]	Executed store
2023-10-13	12:54:48	1891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861383','990369','1')
2023-10-13	12:54:48	1891	[DEBUG]	Store product image relation
2023-10-13	12:54:48	1891	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:48	1891	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861383 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:48	1891	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:48	1891	[DEBUG]	Executed store
2023-10-13	12:54:48	1891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861383','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:48	1891	[DEBUG]	Checking manufacturer
2023-10-13	12:54:48	1891	[DEBUG]	Load a row
2023-10-13	12:54:48	1891	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:48	1891	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:54:48	1891	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:48	1891	[DEBUG]	Executed store
2023-10-13	12:54:48	1891	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:54:48	1891	[DEBUG]	Manufacturer exists
2023-10-13	12:54:48	1891	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:54:48	1891	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:48	1891	[DEBUG]	Executed store
2023-10-13	12:54:48	1891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861383','123')
2023-10-13	12:54:48	1891	[DEBUG]	Find the custom field ID
2023-10-13	12:54:48	1891	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:48	1891	[DEBUG]	No custom field ID found
2023-10-13	12:54:48	1891	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:48	1891	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:48	1891	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861383 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:48	1891	[DEBUG]	Store custom available field
2023-10-13	12:54:48	1891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861383,3,'0',1)
2023-10-13	12:54:48	1891	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:48	1891	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:48	1891	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861383 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:48	1891	[DEBUG]	Store custom available field
2023-10-13	12:54:48	1891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861383,6,'choisir la taille',3)
2023-10-13	12:54:48	1891	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:48	1891	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:48	1891	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:48	1891	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:48	1891	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861383 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:48	1891	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:48	1891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861383,8,1)
2023-10-13	12:54:48	1891	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:48	1891	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861383\":[1861383,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861383
2023-10-13	12:54:48	1891	[DEBUG]	Checking category
2023-10-13	12:54:48	1891	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:48	1891	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861383
2023-10-13	12:54:48	1891	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:48	1891	[DEBUG]	Executed store
2023-10-13	12:54:48	1891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861383','7312')
2023-10-13	12:54:48	1891	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:48	1891	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861383 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:48	1891	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:48	1891	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861383
2023-10-13	12:54:48	1892	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:48	1892	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:48	1892	[DEBUG]	Use field value for field taille
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:48	1892	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:48	1892	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:48	1892	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:48	1892	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:48	1892	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:48	1892	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:48	1892	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:48	1892	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:48	1892	[DEBUG]	Use field value for field published
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:48	1892	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field override
2023-10-13	12:54:48	1892	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:48	1892	[DEBUG]	Use field value for field slug
2023-10-13	12:54:48	1892	[DEBUG]	Process line 1892
2023-10-13	12:54:48	1892	[DEBUG]	Load a row
2023-10-13	12:54:48	1892	[DEBUG]	Processing item: 1000000156362
2023-10-13	12:54:48	1892	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:48	1892	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:48	1892	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8564_1'
2023-10-13	12:54:48	1892	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:48	1892	[DEBUG]	Processing product tax
2023-10-13	12:54:48	1892	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:48	1892	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:48	1892	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:48	1892	[DEBUG]	Query for Product
2023-10-13	12:54:48	1892	[DEBUG]	Executed store
2023-10-13	12:54:48	1892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861383','1000000156362','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:48	1892	[DEBUG]	No parent found
2023-10-13	12:54:48	1892	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861383 AND customfield_value = 'stockable'
2023-10-13	12:54:48	1892	[DEBUG]	Check product language entry
2023-10-13	12:54:48	1892	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861384
2023-10-13	12:54:48	1892	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:48	1892	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000156362' AND `virtuemart_product_id` != 1861384
2023-10-13	12:54:48	1892	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:48	1892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861384, '1000000156362')
2023-10-13	12:54:48	1892	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:48	1892	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-deore-xt-fd-m780-triple-10-vitesses-pour-fixation-plaque-noir-all' AND `virtuemart_product_id` != 1861384
2023-10-13	12:54:48	1892	[DEBUG]	Query for ProductLang
2023-10-13	12:54:48	1892	[DEBUG]	Executed store
2023-10-13	12:54:48	1892	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant Deore XT FD-M780 triple 10 vitesses pour fixation plaque / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-deore-xt-fd-m780-triple-10-vitesses-pour-fixation-plaque-noir-all' WHERE `virtuemart_product_id` = '1861384'
2023-10-13	12:54:48	1892	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37380_shimano_derailleur_avant_deore_xt_fd-m80_triple_10_vitesses.jpg
2023-10-13	12:54:48	1892	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:48	1892	[DEBUG]	Process image file
2023-10-13	12:54:48	1892	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:48	1892	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:48	1892	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37380_shimano_derailleur_avant_deore_xt_fd-m80_triple_10_vitesses.jpg
2023-10-13	12:54:48	1892	[DEBUG]	Full name target: bcprisme/37380_shimano_derailleur_avant_deore_xt_fd-m80_triple_10_vitesses.jpg
2023-10-13	12:54:49	1892	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:49	1892	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37380_shimano_derailleur_avant_deore_xt_fd-m80_triple_10_vitesses.jpg'
2023-10-13	12:54:49	1892	[DEBUG]	Query for Media
2023-10-13	12:54:49	1892	[DEBUG]	Executed store
2023-10-13	12:54:49	1892	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37380_shimano_derailleur_avant_deore_xt_fd-m80_triple_10_vitesses.jpg',`file_url_thumb`='bcprisme/37380_shimano_derailleur_avant_deore_xt_fd-m80_triple_10_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990369'
2023-10-13	12:54:49	1892	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:49	1892	[DEBUG]	Executed store
2023-10-13	12:54:49	1892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861384','990369','1')
2023-10-13	12:54:49	1892	[DEBUG]	Store product image relation
2023-10-13	12:54:49	1892	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:49	1892	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861384 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:49	1892	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:49	1892	[DEBUG]	Executed store
2023-10-13	12:54:49	1892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861384','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:49	1892	[DEBUG]	Checking manufacturer
2023-10-13	12:54:49	1892	[DEBUG]	Load a row
2023-10-13	12:54:49	1892	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:49	1892	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:54:49	1892	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:49	1892	[DEBUG]	Executed store
2023-10-13	12:54:49	1892	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:54:49	1892	[DEBUG]	Manufacturer exists
2023-10-13	12:54:49	1892	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:54:49	1892	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:49	1892	[DEBUG]	Executed store
2023-10-13	12:54:49	1892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861384','123')
2023-10-13	12:54:49	1892	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:49	1892	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:49	1892	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861384 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:49	1892	[DEBUG]	Store custom available field
2023-10-13	12:54:49	1892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861384,3,'',1)
2023-10-13	12:54:49	1892	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:49	1892	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:54:49	1892	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861384 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:49	1892	[DEBUG]	Store custom available field
2023-10-13	12:54:49	1892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861384,6,'All',3)
2023-10-13	12:54:49	1892	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:49	1892	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:49	1892	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861383
2023-10-13	12:54:49	1892	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:49	1892	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861383\":[1861383,8,1,\"choisir la taille\"],\"1861384\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861383
2023-10-13	12:54:49	1892	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:49	1892	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861384
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:49	1893	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field taille
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:49	1893	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:49	1893	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:49	1893	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:49	1893	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:49	1893	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:49	1893	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field published
2023-10-13	12:54:49	1893	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:49	1893	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field override
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:49	1893	[DEBUG]	Use field value for field slug
2023-10-13	12:54:49	1893	[DEBUG]	Process line 1893
2023-10-13	12:54:49	1893	[DEBUG]	Load a row
2023-10-13	12:54:49	1893	[DEBUG]	Processing item: A_8565_1
2023-10-13	12:54:49	1893	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:49	1893	[DEBUG]	Processing product tax
2023-10-13	12:54:49	1893	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:49	1893	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:49	1893	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:49	1893	[DEBUG]	Query for Product
2023-10-13	12:54:49	1893	[DEBUG]	Executed store
2023-10-13	12:54:49	1893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8565_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:49	1893	[DEBUG]	Check product language entry
2023-10-13	12:54:49	1893	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861385
2023-10-13	12:54:49	1893	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:49	1893	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8565_1' AND `virtuemart_product_id` != 1861385
2023-10-13	12:54:49	1893	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:49	1893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861385, 'A_8565_1')
2023-10-13	12:54:49	1893	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:49	1893	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avantdeore-xt-fd-m781-triple-10-vitesses-noir' AND `virtuemart_product_id` != 1861385
2023-10-13	12:54:49	1893	[DEBUG]	Query for ProductLang
2023-10-13	12:54:49	1893	[DEBUG]	Executed store
2023-10-13	12:54:49	1893	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : FD-M781',`product_name`='SHIMANO Dérailleur avantDeore XT FD-M781 triple 10 vitesses  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avantdeore-xt-fd-m781-triple-10-vitesses-noir' WHERE `virtuemart_product_id` = '1861385'
2023-10-13	12:54:49	1893	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37381_shimano_derailleur_avantdeore_xt_fd-m781_triple_10_vitesses_.jpg
2023-10-13	12:54:49	1893	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:54:49	1893	[DEBUG]	Process image file
2023-10-13	12:54:49	1893	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:54:49	1893	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:49	1893	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37381_shimano_derailleur_avantdeore_xt_fd-m781_triple_10_vitesses_.jpg
2023-10-13	12:54:49	1893	[DEBUG]	Full name target: bcprisme/37381_shimano_derailleur_avantdeore_xt_fd-m781_triple_10_vitesses_.jpg
2023-10-13	12:54:50	1893	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:50	1893	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37381_shimano_derailleur_avantdeore_xt_fd-m781_triple_10_vitesses_.jpg'
2023-10-13	12:54:50	1893	[DEBUG]	Query for Media
2023-10-13	12:54:50	1893	[DEBUG]	Executed store
2023-10-13	12:54:50	1893	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37381_shimano_derailleur_avantdeore_xt_fd-m781_triple_10_vitesses_.jpg',`file_url_thumb`='bcprisme/37381_shimano_derailleur_avantdeore_xt_fd-m781_triple_10_vitesses_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990371'
2023-10-13	12:54:50	1893	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:50	1893	[DEBUG]	Executed store
2023-10-13	12:54:50	1893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861385','990371','1')
2023-10-13	12:54:50	1893	[DEBUG]	Store product image relation
2023-10-13	12:54:50	1893	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:50	1893	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861385 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:50	1893	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:50	1893	[DEBUG]	Executed store
2023-10-13	12:54:50	1893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861385','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:50	1893	[DEBUG]	Checking manufacturer
2023-10-13	12:54:50	1893	[DEBUG]	Load a row
2023-10-13	12:54:50	1893	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:50	1893	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:54:50	1893	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:50	1893	[DEBUG]	Executed store
2023-10-13	12:54:50	1893	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:54:50	1893	[DEBUG]	Manufacturer exists
2023-10-13	12:54:50	1893	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:54:50	1893	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:50	1893	[DEBUG]	Executed store
2023-10-13	12:54:50	1893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861385','123')
2023-10-13	12:54:50	1893	[DEBUG]	Find the custom field ID
2023-10-13	12:54:50	1893	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:50	1893	[DEBUG]	No custom field ID found
2023-10-13	12:54:50	1893	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:50	1893	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:50	1893	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861385 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:50	1893	[DEBUG]	Store custom available field
2023-10-13	12:54:50	1893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861385,3,'0',1)
2023-10-13	12:54:50	1893	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:50	1893	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:50	1893	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861385 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:50	1893	[DEBUG]	Store custom available field
2023-10-13	12:54:50	1893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861385,6,'choisir la taille',3)
2023-10-13	12:54:50	1893	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:50	1893	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:50	1893	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:50	1893	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:50	1893	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861385 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:50	1893	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:50	1893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861385,8,1)
2023-10-13	12:54:50	1893	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:50	1893	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861385\":[1861385,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861385
2023-10-13	12:54:50	1893	[DEBUG]	Checking category
2023-10-13	12:54:50	1893	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:50	1893	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861385
2023-10-13	12:54:50	1893	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:50	1893	[DEBUG]	Executed store
2023-10-13	12:54:50	1893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861385','7312')
2023-10-13	12:54:50	1893	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:50	1893	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861385 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:50	1893	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:50	1893	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861385
2023-10-13	12:54:50	1894	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:50	1894	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:50	1894	[DEBUG]	Use field value for field taille
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:50	1894	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:50	1894	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:50	1894	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:50	1894	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:50	1894	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:50	1894	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:50	1894	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:50	1894	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:50	1894	[DEBUG]	Use field value for field published
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:50	1894	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field override
2023-10-13	12:54:50	1894	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:50	1894	[DEBUG]	Use field value for field slug
2023-10-13	12:54:50	1894	[DEBUG]	Process line 1894
2023-10-13	12:54:50	1894	[DEBUG]	Load a row
2023-10-13	12:54:51	1894	[DEBUG]	Processing item: 1000000156379
2023-10-13	12:54:51	1894	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:51	1894	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:51	1894	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8565_1'
2023-10-13	12:54:51	1894	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:51	1894	[DEBUG]	Processing product tax
2023-10-13	12:54:51	1894	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:51	1894	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:51	1894	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:51	1894	[DEBUG]	Query for Product
2023-10-13	12:54:51	1894	[DEBUG]	Executed store
2023-10-13	12:54:51	1894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861385','1000000156379','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:51	1894	[DEBUG]	No parent found
2023-10-13	12:54:51	1894	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861385 AND customfield_value = 'stockable'
2023-10-13	12:54:51	1894	[DEBUG]	Check product language entry
2023-10-13	12:54:51	1894	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861386
2023-10-13	12:54:51	1894	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:51	1894	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000156379' AND `virtuemart_product_id` != 1861386
2023-10-13	12:54:51	1894	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:51	1894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861386, '1000000156379')
2023-10-13	12:54:51	1894	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:51	1894	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avantdeore-xt-fd-m781-triple-10-vitesses-noir-all' AND `virtuemart_product_id` != 1861386
2023-10-13	12:54:51	1894	[DEBUG]	Query for ProductLang
2023-10-13	12:54:51	1894	[DEBUG]	Executed store
2023-10-13	12:54:51	1894	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avantDeore XT FD-M781 triple 10 vitesses  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avantdeore-xt-fd-m781-triple-10-vitesses-noir-all' WHERE `virtuemart_product_id` = '1861386'
2023-10-13	12:54:51	1894	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37381_shimano_derailleur_avantdeore_xt_fd-m781_triple_10_vitesses_.jpg
2023-10-13	12:54:51	1894	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:54:51	1894	[DEBUG]	Process image file
2023-10-13	12:54:51	1894	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	12:54:51	1894	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:51	1894	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37381_shimano_derailleur_avantdeore_xt_fd-m781_triple_10_vitesses_.jpg
2023-10-13	12:54:51	1894	[DEBUG]	Full name target: bcprisme/37381_shimano_derailleur_avantdeore_xt_fd-m781_triple_10_vitesses_.jpg
2023-10-13	12:54:51	1894	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:51	1894	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37381_shimano_derailleur_avantdeore_xt_fd-m781_triple_10_vitesses_.jpg'
2023-10-13	12:54:51	1894	[DEBUG]	Query for Media
2023-10-13	12:54:51	1894	[DEBUG]	Executed store
2023-10-13	12:54:51	1894	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37381_shimano_derailleur_avantdeore_xt_fd-m781_triple_10_vitesses_.jpg',`file_url_thumb`='bcprisme/37381_shimano_derailleur_avantdeore_xt_fd-m781_triple_10_vitesses_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990371'
2023-10-13	12:54:51	1894	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:51	1894	[DEBUG]	Executed store
2023-10-13	12:54:51	1894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861386','990371','1')
2023-10-13	12:54:51	1894	[DEBUG]	Store product image relation
2023-10-13	12:54:51	1894	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:51	1894	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861386 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:51	1894	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:51	1894	[DEBUG]	Executed store
2023-10-13	12:54:51	1894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861386','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:51	1894	[DEBUG]	Checking manufacturer
2023-10-13	12:54:51	1894	[DEBUG]	Load a row
2023-10-13	12:54:51	1894	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:51	1894	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:54:51	1894	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:51	1894	[DEBUG]	Executed store
2023-10-13	12:54:51	1894	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:54:51	1894	[DEBUG]	Manufacturer exists
2023-10-13	12:54:51	1894	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:54:51	1894	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:51	1894	[DEBUG]	Executed store
2023-10-13	12:54:51	1894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861386','123')
2023-10-13	12:54:51	1894	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:51	1894	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:51	1894	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861386 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:51	1894	[DEBUG]	Store custom available field
2023-10-13	12:54:51	1894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861386,3,'',1)
2023-10-13	12:54:51	1894	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:51	1894	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:54:51	1894	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861386 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:51	1894	[DEBUG]	Store custom available field
2023-10-13	12:54:51	1894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861386,6,'All',3)
2023-10-13	12:54:51	1894	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:52	1894	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:52	1894	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861385
2023-10-13	12:54:52	1894	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:52	1894	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861385\":[1861385,8,1,\"choisir la taille\"],\"1861386\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861385
2023-10-13	12:54:52	1894	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:52	1894	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861386
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:52	1895	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field taille
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:52	1895	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:52	1895	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:52	1895	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:52	1895	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:52	1895	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:52	1895	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field published
2023-10-13	12:54:52	1895	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:52	1895	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field override
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:52	1895	[DEBUG]	Use field value for field slug
2023-10-13	12:54:52	1895	[DEBUG]	Process line 1895
2023-10-13	12:54:52	1895	[DEBUG]	Load a row
2023-10-13	12:54:52	1895	[DEBUG]	Processing item: A_8723_1
2023-10-13	12:54:52	1895	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:52	1895	[DEBUG]	Processing product tax
2023-10-13	12:54:52	1895	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:52	1895	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:52	1895	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:52	1895	[DEBUG]	Query for Product
2023-10-13	12:54:52	1895	[DEBUG]	Executed store
2023-10-13	12:54:52	1895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8723_1','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:52	1895	[DEBUG]	Check product language entry
2023-10-13	12:54:52	1895	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861387
2023-10-13	12:54:52	1895	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:52	1895	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8723_1' AND `virtuemart_product_id` != 1861387
2023-10-13	12:54:52	1895	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:52	1895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861387, 'A_8723_1')
2023-10-13	12:54:52	1895	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:52	1895	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-kit-derailleur-xo1-eagle-axs-upgrade-controller-batterie-chargeur-noir' AND `virtuemart_product_id` != 1861387
2023-10-13	12:54:52	1895	[DEBUG]	Query for ProductLang
2023-10-13	12:54:52	1895	[DEBUG]	Executed store
2023-10-13	12:54:52	1895	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7568W',`product_name`='SRAM Kit dérailleur XO1 Eagle AXS Upgrade Controller, Batterie, Chargeur  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-kit-derailleur-xo1-eagle-axs-upgrade-controller-batterie-chargeur-noir' WHERE `virtuemart_product_id` = '1861387'
2023-10-13	12:54:52	1895	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37684_kit_derailleur_xo1_eagle_axs_upgrade_controller,_batterie,_chargeur_.jpg
2023-10-13	12:54:52	1895	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:52	1895	[DEBUG]	Process image file
2023-10-13	12:54:52	1895	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:52	1895	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:52	1895	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37684_kit_derailleur_xo1_eagle_axs_upgrade_controller,_batterie,_chargeur_.jpg
2023-10-13	12:54:52	1895	[DEBUG]	Full name target: bcprisme/37684_kit_derailleur_xo1_eagle_axs_upgrade_controller,_batterie,_chargeur_.jpg
2023-10-13	12:54:53	1895	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:53	1895	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37684_kit_derailleur_xo1_eagle_axs_upgrade_controller,_batterie,_chargeur_.jpg'
2023-10-13	12:54:53	1895	[DEBUG]	Query for Media
2023-10-13	12:54:53	1895	[DEBUG]	Executed store
2023-10-13	12:54:53	1895	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37684_kit_derailleur_xo1_eagle_axs_upgrade_controller,_batterie,_chargeur_.jpg',`file_url_thumb`='bcprisme/37684_kit_derailleur_xo1_eagle_axs_upgrade_controller,_batterie,_chargeur_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1039560'
2023-10-13	12:54:53	1895	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:53	1895	[DEBUG]	Executed store
2023-10-13	12:54:53	1895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861387','1039560','1')
2023-10-13	12:54:53	1895	[DEBUG]	Store product image relation
2023-10-13	12:54:53	1895	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:53	1895	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861387 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:53	1895	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:53	1895	[DEBUG]	Executed store
2023-10-13	12:54:53	1895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861387','0','834.7260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:53	1895	[DEBUG]	Checking manufacturer
2023-10-13	12:54:53	1895	[DEBUG]	Load a row
2023-10-13	12:54:53	1895	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:53	1895	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:53	1895	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:53	1895	[DEBUG]	Executed store
2023-10-13	12:54:53	1895	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:53	1895	[DEBUG]	Manufacturer exists
2023-10-13	12:54:53	1895	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:53	1895	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:53	1895	[DEBUG]	Executed store
2023-10-13	12:54:53	1895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861387','35')
2023-10-13	12:54:53	1895	[DEBUG]	Find the custom field ID
2023-10-13	12:54:53	1895	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:53	1895	[DEBUG]	No custom field ID found
2023-10-13	12:54:53	1895	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:53	1895	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:53	1895	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861387 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:53	1895	[DEBUG]	Store custom available field
2023-10-13	12:54:53	1895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861387,3,'0',1)
2023-10-13	12:54:53	1895	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:53	1895	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:53	1895	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861387 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:53	1895	[DEBUG]	Store custom available field
2023-10-13	12:54:53	1895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861387,6,'choisir la taille',3)
2023-10-13	12:54:53	1895	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:53	1895	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:53	1895	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:53	1895	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:53	1895	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861387 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:53	1895	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:53	1895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861387,8,1)
2023-10-13	12:54:53	1895	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:53	1895	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861387\":[1861387,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861387
2023-10-13	12:54:53	1895	[DEBUG]	Checking category
2023-10-13	12:54:53	1895	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:53	1895	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861387
2023-10-13	12:54:53	1895	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:53	1895	[DEBUG]	Executed store
2023-10-13	12:54:53	1895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861387','7312')
2023-10-13	12:54:53	1895	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:53	1895	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861387 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:53	1895	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:53	1895	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861387
2023-10-13	12:54:53	1896	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:53	1896	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:53	1896	[DEBUG]	Use field value for field taille
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:53	1896	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:53	1896	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:53	1896	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:53	1896	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:53	1896	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:53	1896	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:53	1896	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:53	1896	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:53	1896	[DEBUG]	Use field value for field published
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:53	1896	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field override
2023-10-13	12:54:53	1896	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:53	1896	[DEBUG]	Use field value for field slug
2023-10-13	12:54:53	1896	[DEBUG]	Process line 1896
2023-10-13	12:54:53	1896	[DEBUG]	Load a row
2023-10-13	12:54:53	1896	[DEBUG]	Processing item: 1000000161953
2023-10-13	12:54:53	1896	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:53	1896	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:53	1896	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8723_1'
2023-10-13	12:54:53	1896	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:53	1896	[DEBUG]	Processing product tax
2023-10-13	12:54:53	1896	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:53	1896	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:53	1896	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:53	1896	[DEBUG]	Query for Product
2023-10-13	12:54:53	1896	[DEBUG]	Executed store
2023-10-13	12:54:53	1896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861387','1000000161953','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:53	1896	[DEBUG]	No parent found
2023-10-13	12:54:53	1896	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861387 AND customfield_value = 'stockable'
2023-10-13	12:54:53	1896	[DEBUG]	Check product language entry
2023-10-13	12:54:53	1896	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861388
2023-10-13	12:54:53	1896	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:53	1896	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000161953' AND `virtuemart_product_id` != 1861388
2023-10-13	12:54:53	1896	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:53	1896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861388, '1000000161953')
2023-10-13	12:54:53	1896	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:53	1896	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-kit-derailleur-xo1-eagle-axs-upgrade-controller-batterie-chargeur-noir-unitaire' AND `virtuemart_product_id` != 1861388
2023-10-13	12:54:53	1896	[DEBUG]	Query for ProductLang
2023-10-13	12:54:53	1896	[DEBUG]	Executed store
2023-10-13	12:54:53	1896	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Kit dérailleur XO1 Eagle AXS Upgrade Controller, Batterie, Chargeur  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-kit-derailleur-xo1-eagle-axs-upgrade-controller-batterie-chargeur-noir-unitaire' WHERE `virtuemart_product_id` = '1861388'
2023-10-13	12:54:53	1896	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37684_kit_derailleur_xo1_eagle_axs_upgrade_controller,_batterie,_chargeur_.jpg
2023-10-13	12:54:53	1896	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:53	1896	[DEBUG]	Process image file
2023-10-13	12:54:53	1896	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:53	1896	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:53	1896	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37684_kit_derailleur_xo1_eagle_axs_upgrade_controller,_batterie,_chargeur_.jpg
2023-10-13	12:54:53	1896	[DEBUG]	Full name target: bcprisme/37684_kit_derailleur_xo1_eagle_axs_upgrade_controller,_batterie,_chargeur_.jpg
2023-10-13	12:54:54	1896	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:54	1896	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37684_kit_derailleur_xo1_eagle_axs_upgrade_controller,_batterie,_chargeur_.jpg'
2023-10-13	12:54:54	1896	[DEBUG]	Query for Media
2023-10-13	12:54:54	1896	[DEBUG]	Executed store
2023-10-13	12:54:54	1896	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37684_kit_derailleur_xo1_eagle_axs_upgrade_controller,_batterie,_chargeur_.jpg',`file_url_thumb`='bcprisme/37684_kit_derailleur_xo1_eagle_axs_upgrade_controller,_batterie,_chargeur_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1039560'
2023-10-13	12:54:54	1896	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:54	1896	[DEBUG]	Executed store
2023-10-13	12:54:54	1896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861388','1039560','1')
2023-10-13	12:54:54	1896	[DEBUG]	Store product image relation
2023-10-13	12:54:54	1896	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:54	1896	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861388 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:54	1896	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:54	1896	[DEBUG]	Executed store
2023-10-13	12:54:54	1896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861388','0','834.7260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:54	1896	[DEBUG]	Checking manufacturer
2023-10-13	12:54:54	1896	[DEBUG]	Load a row
2023-10-13	12:54:54	1896	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:54	1896	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:54	1896	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:54	1896	[DEBUG]	Executed store
2023-10-13	12:54:54	1896	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:54	1896	[DEBUG]	Manufacturer exists
2023-10-13	12:54:54	1896	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:54	1896	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:54	1896	[DEBUG]	Executed store
2023-10-13	12:54:54	1896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861388','35')
2023-10-13	12:54:54	1896	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:54	1896	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:54	1896	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861388 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:54	1896	[DEBUG]	Store custom available field
2023-10-13	12:54:54	1896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861388,3,'',1)
2023-10-13	12:54:54	1896	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:54	1896	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:54	1896	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861388 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:54	1896	[DEBUG]	Store custom available field
2023-10-13	12:54:54	1896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861388,6,'Unitaire',3)
2023-10-13	12:54:54	1896	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:54	1896	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:54	1896	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861387
2023-10-13	12:54:54	1896	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:54	1896	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861387\":[1861387,8,1,\"choisir la taille\"],\"1861388\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861387
2023-10-13	12:54:54	1896	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:54	1896	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861388
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:54	1897	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field taille
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:54	1897	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:54	1897	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:54	1897	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:54	1897	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:54	1897	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:54	1897	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field published
2023-10-13	12:54:54	1897	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:54	1897	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field override
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:54	1897	[DEBUG]	Use field value for field slug
2023-10-13	12:54:54	1897	[DEBUG]	Process line 1897
2023-10-13	12:54:54	1897	[DEBUG]	Load a row
2023-10-13	12:54:54	1897	[DEBUG]	Processing item: A_8726_1
2023-10-13	12:54:54	1897	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:54	1897	[DEBUG]	Processing product tax
2023-10-13	12:54:54	1897	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:54	1897	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:54	1897	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:54	1897	[DEBUG]	Query for Product
2023-10-13	12:54:54	1897	[DEBUG]	Executed store
2023-10-13	12:54:54	1897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8726_1','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:54	1897	[DEBUG]	Check product language entry
2023-10-13	12:54:54	1897	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861389
2023-10-13	12:54:54	1897	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:54	1897	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8726_1' AND `virtuemart_product_id` != 1861389
2023-10-13	12:54:54	1897	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:54	1897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861389, 'A_8726_1')
2023-10-13	12:54:54	1897	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:54	1897	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-sram-force-xplr-e-tap-axs-max-44-t-12-vitesses-batterie-non-incluse-noir' AND `virtuemart_product_id` != 1861389
2023-10-13	12:54:54	1897	[DEBUG]	Query for ProductLang
2023-10-13	12:54:54	1897	[DEBUG]	Executed store
2023-10-13	12:54:54	1897	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7568J',`product_name`='SRAM Dérailleur Sram Force XPLR e Tap AXS Max 44 T 12 vitesses, batterie non incluse / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-sram-force-xplr-e-tap-axs-max-44-t-12-vitesses-batterie-non-incluse-noir' WHERE `virtuemart_product_id` = '1861389'
2023-10-13	12:54:54	1897	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37687_derailleur_sram_force_xplr_e_tap_axs_max_44_t_12_vitesses,_batterie_non_incluse.jpg
2023-10-13	12:54:54	1897	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:54	1897	[DEBUG]	Process image file
2023-10-13	12:54:54	1897	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:54	1897	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:54	1897	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37687_derailleur_sram_force_xplr_e_tap_axs_max_44_t_12_vitesses,_batterie_non_incluse.jpg
2023-10-13	12:54:54	1897	[DEBUG]	Full name target: bcprisme/37687_derailleur_sram_force_xplr_e_tap_axs_max_44_t_12_vitesses,_batterie_non_incluse.jpg
2023-10-13	12:54:55	1897	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:55	1897	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37687_derailleur_sram_force_xplr_e_tap_axs_max_44_t_12_vitesses,_batterie_non_incluse.jpg'
2023-10-13	12:54:55	1897	[DEBUG]	Query for Media
2023-10-13	12:54:55	1897	[DEBUG]	Executed store
2023-10-13	12:54:55	1897	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37687_derailleur_sram_force_xplr_e_tap_axs_max_44_t_12_vitesses,_batterie_non_incluse.jpg',`file_url_thumb`='bcprisme/37687_derailleur_sram_force_xplr_e_tap_axs_max_44_t_12_vitesses,_batterie_non_incluse.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1039562'
2023-10-13	12:54:55	1897	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:55	1897	[DEBUG]	Executed store
2023-10-13	12:54:55	1897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861389','1039562','1')
2023-10-13	12:54:55	1897	[DEBUG]	Store product image relation
2023-10-13	12:54:55	1897	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:55	1897	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861389 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:55	1897	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:55	1897	[DEBUG]	Executed store
2023-10-13	12:54:55	1897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861389','0','343.454038997214','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:55	1897	[DEBUG]	Checking manufacturer
2023-10-13	12:54:55	1897	[DEBUG]	Load a row
2023-10-13	12:54:55	1897	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:55	1897	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:55	1897	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:55	1897	[DEBUG]	Executed store
2023-10-13	12:54:55	1897	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:55	1897	[DEBUG]	Manufacturer exists
2023-10-13	12:54:55	1897	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:55	1897	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:55	1897	[DEBUG]	Executed store
2023-10-13	12:54:55	1897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861389','35')
2023-10-13	12:54:55	1897	[DEBUG]	Find the custom field ID
2023-10-13	12:54:55	1897	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:55	1897	[DEBUG]	No custom field ID found
2023-10-13	12:54:55	1897	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:55	1897	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:55	1897	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861389 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:55	1897	[DEBUG]	Store custom available field
2023-10-13	12:54:55	1897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861389,3,'0',1)
2023-10-13	12:54:55	1897	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:55	1897	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:55	1897	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861389 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:55	1897	[DEBUG]	Store custom available field
2023-10-13	12:54:55	1897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861389,6,'choisir la taille',3)
2023-10-13	12:54:55	1897	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:55	1897	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:55	1897	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:55	1897	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:55	1897	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861389 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:55	1897	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:55	1897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861389,8,1)
2023-10-13	12:54:55	1897	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:55	1897	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861389\":[1861389,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861389
2023-10-13	12:54:55	1897	[DEBUG]	Checking category
2023-10-13	12:54:55	1897	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:55	1897	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861389
2023-10-13	12:54:55	1897	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:55	1897	[DEBUG]	Executed store
2023-10-13	12:54:55	1897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861389','7312')
2023-10-13	12:54:55	1897	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:55	1897	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861389 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:55	1897	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:55	1897	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861389
2023-10-13	12:54:55	1898	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:55	1898	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:55	1898	[DEBUG]	Use field value for field taille
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:55	1898	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:55	1898	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:55	1898	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:55	1898	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:55	1898	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:55	1898	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:55	1898	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:55	1898	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:55	1898	[DEBUG]	Use field value for field published
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:55	1898	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field override
2023-10-13	12:54:55	1898	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:55	1898	[DEBUG]	Use field value for field slug
2023-10-13	12:54:55	1898	[DEBUG]	Process line 1898
2023-10-13	12:54:55	1898	[DEBUG]	Load a row
2023-10-13	12:54:55	1898	[DEBUG]	Processing item: 1000000161984
2023-10-13	12:54:55	1898	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:55	1898	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:55	1898	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8726_1'
2023-10-13	12:54:55	1898	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:55	1898	[DEBUG]	Processing product tax
2023-10-13	12:54:55	1898	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:55	1898	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:55	1898	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:55	1898	[DEBUG]	Query for Product
2023-10-13	12:54:55	1898	[DEBUG]	Executed store
2023-10-13	12:54:55	1898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861389','1000000161984','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:55	1898	[DEBUG]	No parent found
2023-10-13	12:54:55	1898	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861389 AND customfield_value = 'stockable'
2023-10-13	12:54:55	1898	[DEBUG]	Check product language entry
2023-10-13	12:54:55	1898	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861390
2023-10-13	12:54:55	1898	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:55	1898	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000161984' AND `virtuemart_product_id` != 1861390
2023-10-13	12:54:55	1898	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:55	1898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861390, '1000000161984')
2023-10-13	12:54:55	1898	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:55	1898	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-sram-force-xplr-e-tap-axs-max-44-t-12-vitesses-batterie-non-incluse-noir-unitaire' AND `virtuemart_product_id` != 1861390
2023-10-13	12:54:55	1898	[DEBUG]	Query for ProductLang
2023-10-13	12:54:55	1898	[DEBUG]	Executed store
2023-10-13	12:54:55	1898	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Dérailleur Sram Force XPLR e Tap AXS Max 44 T 12 vitesses, batterie non incluse / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-sram-force-xplr-e-tap-axs-max-44-t-12-vitesses-batterie-non-incluse-noir-unitaire' WHERE `virtuemart_product_id` = '1861390'
2023-10-13	12:54:55	1898	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37687_derailleur_sram_force_xplr_e_tap_axs_max_44_t_12_vitesses,_batterie_non_incluse.jpg
2023-10-13	12:54:55	1898	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:55	1898	[DEBUG]	Process image file
2023-10-13	12:54:55	1898	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:55	1898	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:55	1898	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37687_derailleur_sram_force_xplr_e_tap_axs_max_44_t_12_vitesses,_batterie_non_incluse.jpg
2023-10-13	12:54:55	1898	[DEBUG]	Full name target: bcprisme/37687_derailleur_sram_force_xplr_e_tap_axs_max_44_t_12_vitesses,_batterie_non_incluse.jpg
2023-10-13	12:54:56	1898	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:56	1898	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37687_derailleur_sram_force_xplr_e_tap_axs_max_44_t_12_vitesses,_batterie_non_incluse.jpg'
2023-10-13	12:54:56	1898	[DEBUG]	Query for Media
2023-10-13	12:54:56	1898	[DEBUG]	Executed store
2023-10-13	12:54:56	1898	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37687_derailleur_sram_force_xplr_e_tap_axs_max_44_t_12_vitesses,_batterie_non_incluse.jpg',`file_url_thumb`='bcprisme/37687_derailleur_sram_force_xplr_e_tap_axs_max_44_t_12_vitesses,_batterie_non_incluse.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1039562'
2023-10-13	12:54:56	1898	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:56	1898	[DEBUG]	Executed store
2023-10-13	12:54:56	1898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861390','1039562','1')
2023-10-13	12:54:56	1898	[DEBUG]	Store product image relation
2023-10-13	12:54:56	1898	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:56	1898	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861390 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:56	1898	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:56	1898	[DEBUG]	Executed store
2023-10-13	12:54:56	1898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861390','0','343.454038997214','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:56	1898	[DEBUG]	Checking manufacturer
2023-10-13	12:54:56	1898	[DEBUG]	Load a row
2023-10-13	12:54:56	1898	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:56	1898	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:56	1898	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:56	1898	[DEBUG]	Executed store
2023-10-13	12:54:56	1898	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:54:56	1898	[DEBUG]	Manufacturer exists
2023-10-13	12:54:56	1898	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:54:56	1898	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:56	1898	[DEBUG]	Executed store
2023-10-13	12:54:56	1898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861390','35')
2023-10-13	12:54:56	1898	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:56	1898	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:56	1898	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861390 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:56	1898	[DEBUG]	Store custom available field
2023-10-13	12:54:56	1898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861390,3,'',1)
2023-10-13	12:54:56	1898	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:56	1898	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:56	1898	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861390 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:56	1898	[DEBUG]	Store custom available field
2023-10-13	12:54:56	1898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861390,6,'Unitaire',3)
2023-10-13	12:54:56	1898	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:56	1898	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:56	1898	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861389
2023-10-13	12:54:56	1898	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:56	1898	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861389\":[1861389,8,1,\"choisir la taille\"],\"1861390\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861389
2023-10-13	12:54:56	1898	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:56	1898	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861390
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:56	1899	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field taille
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field category_path
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:56	1899	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:54:56	1899	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:56	1899	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field product_weight
2023-10-13	12:54:56	1899	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:56	1899	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:56	1899	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field published
2023-10-13	12:54:56	1899	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:56	1899	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field custom_title
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field custom_param
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field override
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field public_price
2023-10-13	12:54:56	1899	[DEBUG]	Use field value for field slug
2023-10-13	12:54:56	1899	[DEBUG]	Process line 1899
2023-10-13	12:54:56	1899	[DEBUG]	Load a row
2023-10-13	12:54:56	1899	[DEBUG]	Processing item: A_8830_1
2023-10-13	12:54:56	1899	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:56	1899	[DEBUG]	Processing product tax
2023-10-13	12:54:56	1899	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:56	1899	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:56	1899	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:56	1899	[DEBUG]	Query for Product
2023-10-13	12:54:56	1899	[DEBUG]	Executed store
2023-10-13	12:54:56	1899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8830_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:56	1899	[DEBUG]	Check product language entry
2023-10-13	12:54:56	1899	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861391
2023-10-13	12:54:56	1899	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:56	1899	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8830_1' AND `virtuemart_product_id` != 1861391
2023-10-13	12:54:56	1899	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:56	1899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861391, 'A_8830_1')
2023-10-13	12:54:56	1899	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:56	1899	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-rd-m5120-10-11--vit-sgs-shd-top-normal-montage-direct-noir' AND `virtuemart_product_id` != 1861391
2023-10-13	12:54:56	1899	[DEBUG]	Query for ProductLang
2023-10-13	12:54:56	1899	[DEBUG]	Executed store
2023-10-13	12:54:56	1899	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.78016',`product_name`='SHIMANO Dérailleur Deore RD-M5120 10/11- vit. SGS SHD+ Top-Normal montage direct / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-rd-m5120-10-11--vit-sgs-shd-top-normal-montage-direct-noir' WHERE `virtuemart_product_id` = '1861391'
2023-10-13	12:54:56	1899	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78016_009_jpg.jpg
2023-10-13	12:54:56	1899	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:56	1899	[DEBUG]	Process image file
2023-10-13	12:54:56	1899	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:56	1899	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:56	1899	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78016_009_jpg.jpg
2023-10-13	12:54:56	1899	[DEBUG]	Full name target: bcprisme/60_78016_009_jpg.jpg
2023-10-13	12:54:57	1899	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:57	1899	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_78016_009_jpg.jpg'
2023-10-13	12:54:57	1899	[DEBUG]	Query for Media
2023-10-13	12:54:57	1899	[DEBUG]	Executed store
2023-10-13	12:54:57	1899	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_78016_009_jpg.jpg',`file_url_thumb`='bcprisme/60_78016_009_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1100551'
2023-10-13	12:54:57	1899	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:57	1899	[DEBUG]	Executed store
2023-10-13	12:54:57	1899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861391','1100551','1')
2023-10-13	12:54:57	1899	[DEBUG]	Store product image relation
2023-10-13	12:54:57	1899	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:57	1899	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861391 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:57	1899	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:57	1899	[DEBUG]	Executed store
2023-10-13	12:54:57	1899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861391','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:57	1899	[DEBUG]	Checking manufacturer
2023-10-13	12:54:57	1899	[DEBUG]	Load a row
2023-10-13	12:54:57	1899	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:57	1899	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:57	1899	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:57	1899	[DEBUG]	Executed store
2023-10-13	12:54:57	1899	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:57	1899	[DEBUG]	Manufacturer exists
2023-10-13	12:54:57	1899	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:57	1899	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:57	1899	[DEBUG]	Executed store
2023-10-13	12:54:57	1899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861391','26')
2023-10-13	12:54:57	1899	[DEBUG]	Find the custom field ID
2023-10-13	12:54:57	1899	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:54:57	1899	[DEBUG]	No custom field ID found
2023-10-13	12:54:57	1899	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:57	1899	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:54:57	1899	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861391 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:57	1899	[DEBUG]	Store custom available field
2023-10-13	12:54:57	1899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861391,3,'0',1)
2023-10-13	12:54:57	1899	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:57	1899	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:54:57	1899	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861391 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:57	1899	[DEBUG]	Store custom available field
2023-10-13	12:54:57	1899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861391,6,'choisir la taille',3)
2023-10-13	12:54:57	1899	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:57	1899	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:54:57	1899	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:54:57	1899	[DEBUG]	Find the multi variant product entry
2023-10-13	12:54:57	1899	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861391 AND `virtuemart_custom_id` = 8
2023-10-13	12:54:57	1899	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:54:57	1899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861391,8,1)
2023-10-13	12:54:57	1899	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:57	1899	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861391\":[1861391,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861391
2023-10-13	12:54:57	1899	[DEBUG]	Checking category
2023-10-13	12:54:57	1899	[DEBUG]	Get the existing categories for the product
2023-10-13	12:54:57	1899	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861391
2023-10-13	12:54:57	1899	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:54:57	1899	[DEBUG]	Executed store
2023-10-13	12:54:57	1899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861391','7312')
2023-10-13	12:54:57	1899	[DEBUG]	Delete leftover product categories
2023-10-13	12:54:57	1899	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861391 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:54:57	1899	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:57	1899	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861391
2023-10-13	12:54:57	1900	[DEBUG]	Use field value for field product_sku
2023-10-13	12:54:57	1900	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:54:57	1900	[DEBUG]	Use field value for field taille
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:54:57	1900	[DEBUG]	Use field value for field product_name
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field category_path
2023-10-13	12:54:57	1900	[DEBUG]	Use field value for field product_price
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:54:57	1900	[DEBUG]	Use field value for field product_tax
2023-10-13	12:54:57	1900	[DEBUG]	Use field value for field file_url
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field product_desc
2023-10-13	12:54:57	1900	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:54:57	1900	[DEBUG]	Use field value for field product_availability
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field product_weight
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field product_unit
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field related_products
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field product_special
2023-10-13	12:54:57	1900	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:54:57	1900	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:54:57	1900	[DEBUG]	Use field value for field published
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field metadesc
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field metakey
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field custom_title
2023-10-13	12:54:57	1900	[DEBUG]	Use field value for field custom_value
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field custom_param
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field override
2023-10-13	12:54:57	1900	[DEBUG]	Use default value for field public_price
2023-10-13	12:54:57	1900	[DEBUG]	Use field value for field slug
2023-10-13	12:54:57	1900	[DEBUG]	Process line 1900
2023-10-13	12:54:57	1900	[DEBUG]	Load a row
2023-10-13	12:54:57	1900	[DEBUG]	Processing item: 4550170618544
2023-10-13	12:54:57	1900	[DEBUG]	Looking for parent SKU
2023-10-13	12:54:57	1900	[DEBUG]	Checking product parent SKU
2023-10-13	12:54:57	1900	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8830_1'
2023-10-13	12:54:57	1900	[DEBUG]	Product tax: 7.7
2023-10-13	12:54:57	1900	[DEBUG]	Processing product tax
2023-10-13	12:54:57	1900	[DEBUG]	Check if calculation rule exists
2023-10-13	12:54:57	1900	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:54:57	1900	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:54:57	1900	[DEBUG]	Query for Product
2023-10-13	12:54:57	1900	[DEBUG]	Executed store
2023-10-13	12:54:57	1900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861391','4550170618544','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0')
2023-10-13	12:54:57	1900	[DEBUG]	No parent found
2023-10-13	12:54:57	1900	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861391 AND customfield_value = 'stockable'
2023-10-13	12:54:57	1900	[DEBUG]	Check product language entry
2023-10-13	12:54:57	1900	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861392
2023-10-13	12:54:57	1900	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:57	1900	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170618544' AND `virtuemart_product_id` != 1861392
2023-10-13	12:54:57	1900	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:54:57	1900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861392, '4550170618544')
2023-10-13	12:54:57	1900	[DEBUG]	Check if the product slug exists
2023-10-13	12:54:57	1900	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-deore-rd-m5120-10-11--vit-sgs-shd-top-normal-montage-direct-noir-unitaire' AND `virtuemart_product_id` != 1861392
2023-10-13	12:54:57	1900	[DEBUG]	Query for ProductLang
2023-10-13	12:54:57	1900	[DEBUG]	Executed store
2023-10-13	12:54:57	1900	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Deore RD-M5120 10/11- vit. SGS SHD+ Top-Normal montage direct / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-deore-rd-m5120-10-11--vit-sgs-shd-top-normal-montage-direct-noir-unitaire' WHERE `virtuemart_product_id` = '1861392'
2023-10-13	12:54:57	1900	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78016_009_jpg.jpg
2023-10-13	12:54:57	1900	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:57	1900	[DEBUG]	Process image file
2023-10-13	12:54:57	1900	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:54:57	1900	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:54:57	1900	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_78016_009_jpg.jpg
2023-10-13	12:54:57	1900	[DEBUG]	Full name target: bcprisme/60_78016_009_jpg.jpg
2023-10-13	12:54:58	1900	[DEBUG]	Checking if the file_url exists
2023-10-13	12:54:58	1900	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_78016_009_jpg.jpg'
2023-10-13	12:54:58	1900	[DEBUG]	Query for Media
2023-10-13	12:54:58	1900	[DEBUG]	Executed store
2023-10-13	12:54:58	1900	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_78016_009_jpg.jpg',`file_url_thumb`='bcprisme/60_78016_009_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1100551'
2023-10-13	12:54:58	1900	[DEBUG]	Query for ProductMedia
2023-10-13	12:54:58	1900	[DEBUG]	Executed store
2023-10-13	12:54:58	1900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861392','1100551','1')
2023-10-13	12:54:58	1900	[DEBUG]	Store product image relation
2023-10-13	12:54:58	1900	[DEBUG]	Finding a product_price_id
2023-10-13	12:54:58	1900	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861392 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:54:58	1900	[DEBUG]	Query for ProductPrice
2023-10-13	12:54:58	1900	[DEBUG]	Executed store
2023-10-13	12:54:58	1900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861392','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:53:17','1593','2023-10-13 12:53:17','1593','0000-00-00 00:00:00','0')
2023-10-13	12:54:58	1900	[DEBUG]	Checking manufacturer
2023-10-13	12:54:58	1900	[DEBUG]	Load a row
2023-10-13	12:54:58	1900	[DEBUG]	Manufacturer already exists
2023-10-13	12:54:58	1900	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:58	1900	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:54:58	1900	[DEBUG]	Executed store
2023-10-13	12:54:58	1900	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:54:58	1900	[DEBUG]	Manufacturer exists
2023-10-13	12:54:58	1900	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:54:58	1900	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:54:58	1900	[DEBUG]	Executed store
2023-10-13	12:54:58	1900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861392','26')
2023-10-13	12:54:58	1900	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:54:58	1900	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:54:58	1900	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861392 AND `virtuemart_custom_id` = 3
2023-10-13	12:54:58	1900	[DEBUG]	Store custom available field
2023-10-13	12:54:58	1900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861392,3,'',1)
2023-10-13	12:54:58	1900	[DEBUG]	Processing custom available field: taille
2023-10-13	12:54:58	1900	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:54:58	1900	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861392 AND `virtuemart_custom_id` = 6
2023-10-13	12:54:58	1900	[DEBUG]	Store custom available field
2023-10-13	12:54:58	1900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861392,6,'Unitaire',3)
2023-10-13	12:54:58	1900	[DEBUG]	Process multi-variant fields
2023-10-13	12:54:58	1900	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:54:58	1900	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861391
2023-10-13	12:54:58	1900	[DEBUG]	Store the updated customfield_params
2023-10-13	12:54:58	1900	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861391\":[1861391,8,1,\"choisir la taille\"],\"1861392\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861391
2023-10-13	12:54:58	1900	[DEBUG]	Update has fields after all processing
2023-10-13	12:54:58	1900	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861392
2023-10-13	12:55:18	1900	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:55:18	1900	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:55:18	1900	[DEBUG]	Load the fields to process
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: product_sku
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: taille
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: product_name
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: category_path
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: product_price
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: product_override_price
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: product_tax
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: file_url
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: product_desc
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: product_availability
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: product_weight
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: product_unit
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: related_products
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: product_special
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: published
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: metadesc
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: metakey
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: custom_title
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: custom_value
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: custom_param
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: override
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: public_price
2023-10-13	12:55:18	1900	[DEBUG]	Setup field: slug
2023-10-13	12:55:18	1900	[DEBUG]	Use the file for configuration
2023-10-13	12:55:18	1900	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:55:18	1900	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:55:18	1900	[DEBUG]	Load the custom fields
2023-10-13	12:55:18	1900	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:55:18	1900	[DEBUG]	Load stockable custom fields
2023-10-13	12:55:18	1900	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:55:18	1900	[DEBUG]	Load custom fields for all
2023-10-13	12:55:18	1900	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:18	1901	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field taille
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:18	1901	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:18	1901	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:18	1901	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field product_weight
2023-10-13	12:55:18	1901	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:18	1901	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:18	1901	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field published
2023-10-13	12:55:18	1901	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:18	1901	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field override
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:18	1901	[DEBUG]	Use field value for field slug
2023-10-13	12:55:18	1901	[DEBUG]	Process line 1901
2023-10-13	12:55:18	1901	[DEBUG]	Check if the vendor exists
2023-10-13	12:55:18	1901	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8926_208'
2023-10-13	12:55:18	1901	[DEBUG]	Load a row
2023-10-13	12:55:18	1901	[DEBUG]	Processing item: A_8926_208
2023-10-13	12:55:18	1901	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:18	1901	[DEBUG]	Processing product tax
2023-10-13	12:55:18	1901	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:18	1901	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:18	1901	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:18	1901	[DEBUG]	Query for Product
2023-10-13	12:55:18	1901	[DEBUG]	Executed store
2023-10-13	12:55:18	1901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8926_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:18	1901	[DEBUG]	Check product language entry
2023-10-13	12:55:18	1901	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861393
2023-10-13	12:55:18	1901	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:18	1901	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8926_208' AND `virtuemart_product_id` != 1861393
2023-10-13	12:55:18	1901	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:18	1901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861393, 'A_8926_208')
2023-10-13	12:55:18	1901	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:18	1901	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-axe-de-patte-rd-m9000-11-vitesses-aucune' AND `virtuemart_product_id` != 1861393
2023-10-13	12:55:18	1901	[DEBUG]	Query for ProductLang
2023-10-13	12:55:18	1901	[DEBUG]	Executed store
2023-10-13	12:55:18	1901	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.61120',`product_name`='SHIMANO Axe de patte RD-M9000 11 vitesses / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-axe-de-patte-rd-m9000-11-vitesses-aucune' WHERE `virtuemart_product_id` = '1861393'
2023-10-13	12:55:18	1901	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_61120_g_jpg.jpg
2023-10-13	12:55:18	1901	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:18	1901	[DEBUG]	Process image file
2023-10-13	12:55:18	1901	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:18	1901	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:18	1901	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_61120_g_jpg.jpg
2023-10-13	12:55:18	1901	[DEBUG]	Full name target: bcprisme/60_61120_g_jpg.jpg
2023-10-13	12:55:19	1901	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:19	1901	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_61120_g_jpg.jpg'
2023-10-13	12:55:19	1901	[DEBUG]	Query for Media
2023-10-13	12:55:19	1901	[DEBUG]	Executed store
2023-10-13	12:55:19	1901	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_61120_g_jpg.jpg',`file_url_thumb`='bcprisme/60_61120_g_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1184498'
2023-10-13	12:55:19	1901	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:19	1901	[DEBUG]	Executed store
2023-10-13	12:55:19	1901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861393','1184498','1')
2023-10-13	12:55:19	1901	[DEBUG]	Store product image relation
2023-10-13	12:55:19	1901	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:19	1901	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861393 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:19	1901	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:19	1901	[DEBUG]	Executed store
2023-10-13	12:55:19	1901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861393','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:19	1901	[DEBUG]	Checking manufacturer
2023-10-13	12:55:19	1901	[DEBUG]	Load a row
2023-10-13	12:55:19	1901	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:19	1901	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:19	1901	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:19	1901	[DEBUG]	Executed store
2023-10-13	12:55:19	1901	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:19	1901	[DEBUG]	Manufacturer exists
2023-10-13	12:55:19	1901	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:19	1901	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:19	1901	[DEBUG]	Executed store
2023-10-13	12:55:19	1901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861393','26')
2023-10-13	12:55:19	1901	[DEBUG]	Find the custom field ID
2023-10-13	12:55:19	1901	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:19	1901	[DEBUG]	No custom field ID found
2023-10-13	12:55:19	1901	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:19	1901	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:19	1901	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861393 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:19	1901	[DEBUG]	Store custom available field
2023-10-13	12:55:19	1901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861393,3,'0',1)
2023-10-13	12:55:19	1901	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:19	1901	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:19	1901	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861393 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:19	1901	[DEBUG]	Store custom available field
2023-10-13	12:55:19	1901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861393,6,'choisir la taille',3)
2023-10-13	12:55:19	1901	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:19	1901	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:19	1901	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:19	1901	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:19	1901	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861393 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:19	1901	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:19	1901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861393,8,1)
2023-10-13	12:55:19	1901	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:19	1901	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861393\":[1861393,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861393
2023-10-13	12:55:19	1901	[DEBUG]	Checking category
2023-10-13	12:55:19	1901	[DEBUG]	Check if category path exists: DERAILLEUR 
2023-10-13	12:55:19	1901	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'DERAILLEUR ' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:55:19	1901	[DEBUG]	Check if category path exists: DERAILLEUR
2023-10-13	12:55:19	1901	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'DERAILLEUR' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7311
2023-10-13	12:55:19	1901	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:19	1901	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861393
2023-10-13	12:55:19	1901	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:19	1901	[DEBUG]	Executed store
2023-10-13	12:55:19	1901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861393','7312')
2023-10-13	12:55:19	1901	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:19	1901	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861393 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:19	1901	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:19	1901	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861393
2023-10-13	12:55:19	1902	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:19	1902	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:19	1902	[DEBUG]	Use field value for field taille
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:19	1902	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:19	1902	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:19	1902	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:19	1902	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:19	1902	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:19	1902	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:19	1902	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:19	1902	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:19	1902	[DEBUG]	Use field value for field published
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:19	1902	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field override
2023-10-13	12:55:19	1902	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:19	1902	[DEBUG]	Use field value for field slug
2023-10-13	12:55:19	1902	[DEBUG]	Process line 1902
2023-10-13	12:55:19	1902	[DEBUG]	Load a row
2023-10-13	12:55:19	1902	[DEBUG]	Processing item: 4524667887652
2023-10-13	12:55:19	1902	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:19	1902	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:19	1902	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8926_208'
2023-10-13	12:55:19	1902	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:19	1902	[DEBUG]	Processing product tax
2023-10-13	12:55:19	1902	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:19	1902	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:19	1902	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:19	1902	[DEBUG]	Query for Product
2023-10-13	12:55:19	1902	[DEBUG]	Executed store
2023-10-13	12:55:19	1902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861393','4524667887652','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:19	1902	[DEBUG]	No parent found
2023-10-13	12:55:19	1902	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861393 AND customfield_value = 'stockable'
2023-10-13	12:55:19	1902	[DEBUG]	Check product language entry
2023-10-13	12:55:19	1902	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861394
2023-10-13	12:55:19	1902	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:19	1902	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667887652' AND `virtuemart_product_id` != 1861394
2023-10-13	12:55:19	1902	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:19	1902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861394, '4524667887652')
2023-10-13	12:55:19	1902	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:19	1902	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-axe-de-patte-rd-m9000-11-vitesses-aucune-unitaire' AND `virtuemart_product_id` != 1861394
2023-10-13	12:55:19	1902	[DEBUG]	Query for ProductLang
2023-10-13	12:55:19	1902	[DEBUG]	Executed store
2023-10-13	12:55:19	1902	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Axe de patte RD-M9000 11 vitesses / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-axe-de-patte-rd-m9000-11-vitesses-aucune-unitaire' WHERE `virtuemart_product_id` = '1861394'
2023-10-13	12:55:19	1902	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_61120_g_jpg.jpg
2023-10-13	12:55:19	1902	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:19	1902	[DEBUG]	Process image file
2023-10-13	12:55:19	1902	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:19	1902	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:19	1902	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_61120_g_jpg.jpg
2023-10-13	12:55:19	1902	[DEBUG]	Full name target: bcprisme/60_61120_g_jpg.jpg
2023-10-13	12:55:20	1902	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:20	1902	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_61120_g_jpg.jpg'
2023-10-13	12:55:20	1902	[DEBUG]	Query for Media
2023-10-13	12:55:20	1902	[DEBUG]	Executed store
2023-10-13	12:55:20	1902	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_61120_g_jpg.jpg',`file_url_thumb`='bcprisme/60_61120_g_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1184498'
2023-10-13	12:55:20	1902	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:20	1902	[DEBUG]	Executed store
2023-10-13	12:55:20	1902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861394','1184498','1')
2023-10-13	12:55:20	1902	[DEBUG]	Store product image relation
2023-10-13	12:55:20	1902	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:20	1902	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861394 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:20	1902	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:20	1902	[DEBUG]	Executed store
2023-10-13	12:55:20	1902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861394','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:20	1902	[DEBUG]	Checking manufacturer
2023-10-13	12:55:20	1902	[DEBUG]	Load a row
2023-10-13	12:55:20	1902	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:20	1902	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:20	1902	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:20	1902	[DEBUG]	Executed store
2023-10-13	12:55:20	1902	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:20	1902	[DEBUG]	Manufacturer exists
2023-10-13	12:55:20	1902	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:20	1902	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:20	1902	[DEBUG]	Executed store
2023-10-13	12:55:20	1902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861394','26')
2023-10-13	12:55:20	1902	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:20	1902	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:20	1902	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861394 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:20	1902	[DEBUG]	Store custom available field
2023-10-13	12:55:20	1902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861394,3,'',1)
2023-10-13	12:55:20	1902	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:20	1902	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:20	1902	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861394 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:20	1902	[DEBUG]	Store custom available field
2023-10-13	12:55:20	1902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861394,6,'Unitaire',3)
2023-10-13	12:55:20	1902	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:20	1902	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:20	1902	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861393
2023-10-13	12:55:20	1902	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:20	1902	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861393\":[1861393,8,1,\"choisir la taille\"],\"1861394\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861393
2023-10-13	12:55:20	1902	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:20	1902	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861394
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:20	1903	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field taille
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:20	1903	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:20	1903	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:20	1903	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field product_weight
2023-10-13	12:55:20	1903	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:20	1903	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:20	1903	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field published
2023-10-13	12:55:20	1903	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:20	1903	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field override
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:20	1903	[DEBUG]	Use field value for field slug
2023-10-13	12:55:20	1903	[DEBUG]	Process line 1903
2023-10-13	12:55:20	1903	[DEBUG]	Load a row
2023-10-13	12:55:20	1903	[DEBUG]	Processing item: A_8959_208
2023-10-13	12:55:20	1903	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:20	1903	[DEBUG]	Processing product tax
2023-10-13	12:55:20	1903	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:20	1903	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:20	1903	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:20	1903	[DEBUG]	Query for Product
2023-10-13	12:55:20	1903	[DEBUG]	Executed store
2023-10-13	12:55:20	1903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8959_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:20	1903	[DEBUG]	Check product language entry
2023-10-13	12:55:20	1903	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861395
2023-10-13	12:55:20	1903	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:20	1903	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8959_208' AND `virtuemart_product_id` != 1861395
2023-10-13	12:55:20	1903	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:20	1903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861395, 'A_8959_208')
2023-10-13	12:55:20	1903	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:20	1903	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-rd-m5130-lg-10-vit-shd-top-normal-montage-direct-box-aucune' AND `virtuemart_product_id` != 1861395
2023-10-13	12:55:20	1903	[DEBUG]	Query for ProductLang
2023-10-13	12:55:20	1903	[DEBUG]	Executed store
2023-10-13	12:55:20	1903	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.80567',`product_name`='SHIMANO Dérailleur RD-M5130 LG 10-vit SHD+ Top-Normal montage direct box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-rd-m5130-lg-10-vit-shd-top-normal-montage-direct-box-aucune' WHERE `virtuemart_product_id` = '1861395'
2023-10-13	12:55:20	1903	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_80567_0.jpg
2023-10-13	12:55:20	1903	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:20	1903	[DEBUG]	Process image file
2023-10-13	12:55:20	1903	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:20	1903	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:20	1903	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_80567_0.jpg
2023-10-13	12:55:20	1903	[DEBUG]	Full name target: bcprisme/60_80567_0.jpg
2023-10-13	12:55:21	1903	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:21	1903	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_80567_0.jpg'
2023-10-13	12:55:21	1903	[DEBUG]	Query for Media
2023-10-13	12:55:21	1903	[DEBUG]	Executed store
2023-10-13	12:55:21	1903	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_80567_0.jpg',`file_url_thumb`='bcprisme/60_80567_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1184500'
2023-10-13	12:55:21	1903	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:21	1903	[DEBUG]	Executed store
2023-10-13	12:55:21	1903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861395','1184500','1')
2023-10-13	12:55:21	1903	[DEBUG]	Store product image relation
2023-10-13	12:55:21	1903	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:21	1903	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861395 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:21	1903	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:21	1903	[DEBUG]	Executed store
2023-10-13	12:55:21	1903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861395','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:21	1903	[DEBUG]	Checking manufacturer
2023-10-13	12:55:21	1903	[DEBUG]	Load a row
2023-10-13	12:55:21	1903	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:21	1903	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:21	1903	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:21	1903	[DEBUG]	Executed store
2023-10-13	12:55:21	1903	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:21	1903	[DEBUG]	Manufacturer exists
2023-10-13	12:55:21	1903	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:21	1903	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:21	1903	[DEBUG]	Executed store
2023-10-13	12:55:21	1903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861395','26')
2023-10-13	12:55:21	1903	[DEBUG]	Find the custom field ID
2023-10-13	12:55:21	1903	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:21	1903	[DEBUG]	No custom field ID found
2023-10-13	12:55:21	1903	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:21	1903	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:21	1903	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861395 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:21	1903	[DEBUG]	Store custom available field
2023-10-13	12:55:21	1903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861395,3,'0',1)
2023-10-13	12:55:21	1903	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:21	1903	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:21	1903	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861395 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:21	1903	[DEBUG]	Store custom available field
2023-10-13	12:55:21	1903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861395,6,'choisir la taille',3)
2023-10-13	12:55:21	1903	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:21	1903	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:21	1903	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:21	1903	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:21	1903	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861395 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:21	1903	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:21	1903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861395,8,1)
2023-10-13	12:55:21	1903	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:21	1903	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861395\":[1861395,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861395
2023-10-13	12:55:21	1903	[DEBUG]	Checking category
2023-10-13	12:55:21	1903	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:21	1903	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861395
2023-10-13	12:55:21	1903	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:21	1903	[DEBUG]	Executed store
2023-10-13	12:55:21	1903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861395','7312')
2023-10-13	12:55:21	1903	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:21	1903	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861395 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:21	1903	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:21	1903	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861395
2023-10-13	12:55:21	1904	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:21	1904	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:21	1904	[DEBUG]	Use field value for field taille
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:21	1904	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:21	1904	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:21	1904	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:21	1904	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:21	1904	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:21	1904	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:21	1904	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:21	1904	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:21	1904	[DEBUG]	Use field value for field published
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:21	1904	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field override
2023-10-13	12:55:21	1904	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:21	1904	[DEBUG]	Use field value for field slug
2023-10-13	12:55:21	1904	[DEBUG]	Process line 1904
2023-10-13	12:55:21	1904	[DEBUG]	Load a row
2023-10-13	12:55:21	1904	[DEBUG]	Processing item: 4550170897109
2023-10-13	12:55:21	1904	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:21	1904	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:21	1904	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8959_208'
2023-10-13	12:55:21	1904	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:21	1904	[DEBUG]	Processing product tax
2023-10-13	12:55:21	1904	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:21	1904	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:21	1904	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:21	1904	[DEBUG]	Query for Product
2023-10-13	12:55:21	1904	[DEBUG]	Executed store
2023-10-13	12:55:21	1904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861395','4550170897109','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:21	1904	[DEBUG]	No parent found
2023-10-13	12:55:21	1904	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861395 AND customfield_value = 'stockable'
2023-10-13	12:55:21	1904	[DEBUG]	Check product language entry
2023-10-13	12:55:21	1904	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861396
2023-10-13	12:55:21	1904	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:21	1904	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170897109' AND `virtuemart_product_id` != 1861396
2023-10-13	12:55:21	1904	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:21	1904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861396, '4550170897109')
2023-10-13	12:55:21	1904	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:21	1904	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-rd-m5130-lg-10-vit-shd-top-normal-montage-direct-box-aucune-unitaire' AND `virtuemart_product_id` != 1861396
2023-10-13	12:55:21	1904	[DEBUG]	Query for ProductLang
2023-10-13	12:55:21	1904	[DEBUG]	Executed store
2023-10-13	12:55:21	1904	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur RD-M5130 LG 10-vit SHD+ Top-Normal montage direct box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-rd-m5130-lg-10-vit-shd-top-normal-montage-direct-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861396'
2023-10-13	12:55:21	1904	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_80567_0.jpg
2023-10-13	12:55:21	1904	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:21	1904	[DEBUG]	Process image file
2023-10-13	12:55:21	1904	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:21	1904	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:21	1904	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_80567_0.jpg
2023-10-13	12:55:21	1904	[DEBUG]	Full name target: bcprisme/60_80567_0.jpg
2023-10-13	12:55:22	1904	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:22	1904	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_80567_0.jpg'
2023-10-13	12:55:22	1904	[DEBUG]	Query for Media
2023-10-13	12:55:22	1904	[DEBUG]	Executed store
2023-10-13	12:55:22	1904	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_80567_0.jpg',`file_url_thumb`='bcprisme/60_80567_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1184500'
2023-10-13	12:55:22	1904	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:22	1904	[DEBUG]	Executed store
2023-10-13	12:55:22	1904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861396','1184500','1')
2023-10-13	12:55:22	1904	[DEBUG]	Store product image relation
2023-10-13	12:55:22	1904	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:22	1904	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861396 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:22	1904	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:22	1904	[DEBUG]	Executed store
2023-10-13	12:55:22	1904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861396','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:22	1904	[DEBUG]	Checking manufacturer
2023-10-13	12:55:22	1904	[DEBUG]	Load a row
2023-10-13	12:55:22	1904	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:22	1904	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:22	1904	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:22	1904	[DEBUG]	Executed store
2023-10-13	12:55:22	1904	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:22	1904	[DEBUG]	Manufacturer exists
2023-10-13	12:55:22	1904	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:22	1904	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:22	1904	[DEBUG]	Executed store
2023-10-13	12:55:22	1904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861396','26')
2023-10-13	12:55:22	1904	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:22	1904	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:22	1904	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861396 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:22	1904	[DEBUG]	Store custom available field
2023-10-13	12:55:22	1904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861396,3,'',1)
2023-10-13	12:55:22	1904	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:22	1904	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:22	1904	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861396 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:22	1904	[DEBUG]	Store custom available field
2023-10-13	12:55:22	1904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861396,6,'Unitaire',3)
2023-10-13	12:55:22	1904	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:22	1904	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:22	1904	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861395
2023-10-13	12:55:22	1904	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:22	1904	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861395\":[1861395,8,1,\"choisir la taille\"],\"1861396\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861395
2023-10-13	12:55:22	1904	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:22	1904	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861396
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:22	1905	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field taille
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:22	1905	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:22	1905	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:22	1905	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field product_weight
2023-10-13	12:55:22	1905	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:22	1905	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:22	1905	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field published
2023-10-13	12:55:22	1905	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:22	1905	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field override
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:22	1905	[DEBUG]	Use field value for field slug
2023-10-13	12:55:22	1905	[DEBUG]	Process line 1905
2023-10-13	12:55:22	1905	[DEBUG]	Load a row
2023-10-13	12:55:22	1905	[DEBUG]	Processing item: A_9118_751
2023-10-13	12:55:22	1905	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:22	1905	[DEBUG]	Processing product tax
2023-10-13	12:55:22	1905	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:22	1905	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:22	1905	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:22	1905	[DEBUG]	Query for Product
2023-10-13	12:55:22	1905	[DEBUG]	Executed store
2023-10-13	12:55:22	1905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9118_751','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:22	1905	[DEBUG]	Check product language entry
2023-10-13	12:55:22	1905	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861397
2023-10-13	12:55:22	1905	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:22	1905	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9118_751' AND `virtuemart_product_id` != 1861397
2023-10-13	12:55:22	1905	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:22	1905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861397, 'A_9118_751')
2023-10-13	12:55:22	1905	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:22	1905	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rear-derailleur-gx-eagle-12sp-long-lunar-grey' AND `virtuemart_product_id` != 1861397
2023-10-13	12:55:22	1905	[DEBUG]	Query for ProductLang
2023-10-13	12:55:22	1905	[DEBUG]	Executed store
2023-10-13	12:55:22	1905	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7559T',`product_name`='SRAM Rear Derailleur GX Eagle 12SP Long / lunar grey',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rear-derailleur-gx-eagle-12sp-long-lunar-grey' WHERE `virtuemart_product_id` = '1861397'
2023-10-13	12:55:22	1905	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38165_rear_derailleur_gx_eagle_12sp_long.jpg
2023-10-13	12:55:22	1905	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:22	1905	[DEBUG]	Process image file
2023-10-13	12:55:22	1905	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:22	1905	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:22	1905	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38165_rear_derailleur_gx_eagle_12sp_long.jpg
2023-10-13	12:55:22	1905	[DEBUG]	Full name target: bcprisme/38165_rear_derailleur_gx_eagle_12sp_long.jpg
2023-10-13	12:55:23	1905	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:23	1905	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38165_rear_derailleur_gx_eagle_12sp_long.jpg'
2023-10-13	12:55:23	1905	[DEBUG]	Query for Media
2023-10-13	12:55:23	1905	[DEBUG]	Executed store
2023-10-13	12:55:23	1905	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38165_rear_derailleur_gx_eagle_12sp_long.jpg',`file_url_thumb`='bcprisme/38165_rear_derailleur_gx_eagle_12sp_long.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330704'
2023-10-13	12:55:23	1905	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:23	1905	[DEBUG]	Executed store
2023-10-13	12:55:23	1905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861397','1330704','1')
2023-10-13	12:55:23	1905	[DEBUG]	Store product image relation
2023-10-13	12:55:23	1905	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:23	1905	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861397 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:23	1905	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:23	1905	[DEBUG]	Executed store
2023-10-13	12:55:23	1905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861397','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:23	1905	[DEBUG]	Checking manufacturer
2023-10-13	12:55:23	1905	[DEBUG]	Load a row
2023-10-13	12:55:23	1905	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:23	1905	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:23	1905	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:23	1905	[DEBUG]	Executed store
2023-10-13	12:55:23	1905	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:23	1905	[DEBUG]	Manufacturer exists
2023-10-13	12:55:23	1905	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:23	1905	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:23	1905	[DEBUG]	Executed store
2023-10-13	12:55:23	1905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861397','35')
2023-10-13	12:55:23	1905	[DEBUG]	Find the custom field ID
2023-10-13	12:55:23	1905	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:23	1905	[DEBUG]	No custom field ID found
2023-10-13	12:55:23	1905	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:23	1905	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:23	1905	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861397 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:23	1905	[DEBUG]	Store custom available field
2023-10-13	12:55:23	1905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861397,3,'0',1)
2023-10-13	12:55:23	1905	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:23	1905	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:23	1905	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861397 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:23	1905	[DEBUG]	Store custom available field
2023-10-13	12:55:23	1905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861397,6,'choisir la taille',3)
2023-10-13	12:55:23	1905	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:23	1905	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:23	1905	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:23	1905	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:23	1905	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861397 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:23	1905	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:23	1905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861397,8,1)
2023-10-13	12:55:23	1905	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:23	1905	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861397\":[1861397,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861397
2023-10-13	12:55:23	1905	[DEBUG]	Checking category
2023-10-13	12:55:23	1905	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:23	1905	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861397
2023-10-13	12:55:23	1905	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:23	1905	[DEBUG]	Executed store
2023-10-13	12:55:23	1905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861397','7312')
2023-10-13	12:55:23	1905	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:23	1905	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861397 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:23	1905	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:23	1905	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861397
2023-10-13	12:55:23	1906	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:23	1906	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:23	1906	[DEBUG]	Use field value for field taille
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:23	1906	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:23	1906	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:23	1906	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:23	1906	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:23	1906	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:23	1906	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:23	1906	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:23	1906	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:23	1906	[DEBUG]	Use field value for field published
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:23	1906	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field override
2023-10-13	12:55:23	1906	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:23	1906	[DEBUG]	Use field value for field slug
2023-10-13	12:55:23	1906	[DEBUG]	Process line 1906
2023-10-13	12:55:23	1906	[DEBUG]	Load a row
2023-10-13	12:55:23	1906	[DEBUG]	Processing item: 710845853487
2023-10-13	12:55:23	1906	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:23	1906	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:23	1906	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9118_751'
2023-10-13	12:55:23	1906	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:23	1906	[DEBUG]	Processing product tax
2023-10-13	12:55:23	1906	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:23	1906	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:23	1906	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:23	1906	[DEBUG]	Query for Product
2023-10-13	12:55:23	1906	[DEBUG]	Executed store
2023-10-13	12:55:23	1906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861397','710845853487','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:23	1906	[DEBUG]	No parent found
2023-10-13	12:55:23	1906	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861397 AND customfield_value = 'stockable'
2023-10-13	12:55:23	1906	[DEBUG]	Check product language entry
2023-10-13	12:55:23	1906	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861398
2023-10-13	12:55:23	1906	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:23	1906	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845853487' AND `virtuemart_product_id` != 1861398
2023-10-13	12:55:23	1906	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:23	1906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861398, '710845853487')
2023-10-13	12:55:23	1906	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:23	1906	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rear-derailleur-gx-eagle-12sp-long-lunar-grey-unitaire' AND `virtuemart_product_id` != 1861398
2023-10-13	12:55:23	1906	[DEBUG]	Query for ProductLang
2023-10-13	12:55:23	1906	[DEBUG]	Executed store
2023-10-13	12:55:23	1906	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Rear Derailleur GX Eagle 12SP Long / lunar grey (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rear-derailleur-gx-eagle-12sp-long-lunar-grey-unitaire' WHERE `virtuemart_product_id` = '1861398'
2023-10-13	12:55:23	1906	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38165_rear_derailleur_gx_eagle_12sp_long.jpg
2023-10-13	12:55:23	1906	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:23	1906	[DEBUG]	Process image file
2023-10-13	12:55:23	1906	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:23	1906	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:23	1906	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38165_rear_derailleur_gx_eagle_12sp_long.jpg
2023-10-13	12:55:23	1906	[DEBUG]	Full name target: bcprisme/38165_rear_derailleur_gx_eagle_12sp_long.jpg
2023-10-13	12:55:24	1906	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:24	1906	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38165_rear_derailleur_gx_eagle_12sp_long.jpg'
2023-10-13	12:55:24	1906	[DEBUG]	Query for Media
2023-10-13	12:55:24	1906	[DEBUG]	Executed store
2023-10-13	12:55:24	1906	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38165_rear_derailleur_gx_eagle_12sp_long.jpg',`file_url_thumb`='bcprisme/38165_rear_derailleur_gx_eagle_12sp_long.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330704'
2023-10-13	12:55:24	1906	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:24	1906	[DEBUG]	Executed store
2023-10-13	12:55:24	1906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861398','1330704','1')
2023-10-13	12:55:24	1906	[DEBUG]	Store product image relation
2023-10-13	12:55:24	1906	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:24	1906	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861398 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:24	1906	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:24	1906	[DEBUG]	Executed store
2023-10-13	12:55:24	1906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861398','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:24	1906	[DEBUG]	Checking manufacturer
2023-10-13	12:55:24	1906	[DEBUG]	Load a row
2023-10-13	12:55:24	1906	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:24	1906	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:24	1906	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:24	1906	[DEBUG]	Executed store
2023-10-13	12:55:24	1906	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:24	1906	[DEBUG]	Manufacturer exists
2023-10-13	12:55:24	1906	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:24	1906	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:24	1906	[DEBUG]	Executed store
2023-10-13	12:55:24	1906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861398','35')
2023-10-13	12:55:24	1906	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:24	1906	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:24	1906	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861398 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:24	1906	[DEBUG]	Store custom available field
2023-10-13	12:55:24	1906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861398,3,'',1)
2023-10-13	12:55:24	1906	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:24	1906	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:24	1906	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861398 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:24	1906	[DEBUG]	Store custom available field
2023-10-13	12:55:24	1906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861398,6,'Unitaire',3)
2023-10-13	12:55:24	1906	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:24	1906	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:24	1906	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861397
2023-10-13	12:55:24	1906	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:24	1906	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861397\":[1861397,8,1,\"choisir la taille\"],\"1861398\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861397
2023-10-13	12:55:24	1906	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:24	1906	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861398
2023-10-13	12:55:24	1907	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:25	1907	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field taille
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:25	1907	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:25	1907	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:25	1907	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:25	1907	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:25	1907	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:25	1907	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:25	1907	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field published
2023-10-13	12:55:25	1907	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:25	1907	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field override
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:25	1907	[DEBUG]	Use field value for field slug
2023-10-13	12:55:25	1907	[DEBUG]	Process line 1907
2023-10-13	12:55:25	1907	[DEBUG]	Load a row
2023-10-13	12:55:25	1907	[DEBUG]	Processing item: A_9188_1
2023-10-13	12:55:25	1907	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:25	1907	[DEBUG]	Processing product tax
2023-10-13	12:55:25	1907	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:25	1907	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:25	1907	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:25	1907	[DEBUG]	Query for Product
2023-10-13	12:55:25	1907	[DEBUG]	Executed store
2023-10-13	12:55:25	1907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9188_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:25	1907	[DEBUG]	Check product language entry
2023-10-13	12:55:25	1907	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861399
2023-10-13	12:55:25	1907	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:25	1907	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9188_1' AND `virtuemart_product_id` != 1861399
2023-10-13	12:55:25	1907	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:25	1907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861399, 'A_9188_1')
2023-10-13	12:55:25	1907	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:25	1907	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-ultegra-di2-rd-r8150-12-vitesses-montage-direct-box-noir' AND `virtuemart_product_id` != 1861399
2023-10-13	12:55:25	1907	[DEBUG]	Query for ProductLang
2023-10-13	12:55:25	1907	[DEBUG]	Executed store
2023-10-13	12:55:25	1907	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.80748',`product_name`='SHIMANO Dérailleur Ultegra Di2 RD-R8150 12-vitesses montage-direct box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-ultegra-di2-rd-r8150-12-vitesses-montage-direct-box-noir' WHERE `virtuemart_product_id` = '1861399'
2023-10-13	12:55:25	1907	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_80748_0.jpg
2023-10-13	12:55:25	1907	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:25	1907	[DEBUG]	Process image file
2023-10-13	12:55:25	1907	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:25	1907	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:25	1907	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_80748_0.jpg
2023-10-13	12:55:25	1907	[DEBUG]	Full name target: bcprisme/60_80748_0.jpg
2023-10-13	12:55:26	1907	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:26	1907	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_80748_0.jpg'
2023-10-13	12:55:26	1907	[DEBUG]	Query for Media
2023-10-13	12:55:26	1907	[DEBUG]	Executed store
2023-10-13	12:55:26	1907	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_80748_0.jpg',`file_url_thumb`='bcprisme/60_80748_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330706'
2023-10-13	12:55:26	1907	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:26	1907	[DEBUG]	Executed store
2023-10-13	12:55:26	1907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861399','1330706','1')
2023-10-13	12:55:26	1907	[DEBUG]	Store product image relation
2023-10-13	12:55:26	1907	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:26	1907	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861399 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:26	1907	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:26	1907	[DEBUG]	Executed store
2023-10-13	12:55:26	1907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861399','0','370.473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:26	1907	[DEBUG]	Checking manufacturer
2023-10-13	12:55:26	1907	[DEBUG]	Load a row
2023-10-13	12:55:26	1907	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:26	1907	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:26	1907	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:26	1907	[DEBUG]	Executed store
2023-10-13	12:55:26	1907	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:26	1907	[DEBUG]	Manufacturer exists
2023-10-13	12:55:26	1907	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:26	1907	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:26	1907	[DEBUG]	Executed store
2023-10-13	12:55:26	1907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861399','26')
2023-10-13	12:55:26	1907	[DEBUG]	Find the custom field ID
2023-10-13	12:55:26	1907	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:26	1907	[DEBUG]	No custom field ID found
2023-10-13	12:55:26	1907	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:26	1907	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:26	1907	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861399 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:26	1907	[DEBUG]	Store custom available field
2023-10-13	12:55:26	1907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861399,3,'0',1)
2023-10-13	12:55:26	1907	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:26	1907	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:26	1907	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861399 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:26	1907	[DEBUG]	Store custom available field
2023-10-13	12:55:26	1907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861399,6,'choisir la taille',3)
2023-10-13	12:55:26	1907	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:26	1907	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:26	1907	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:26	1907	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:26	1907	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861399 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:26	1907	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:26	1907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861399,8,1)
2023-10-13	12:55:26	1907	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:26	1907	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861399\":[1861399,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861399
2023-10-13	12:55:26	1907	[DEBUG]	Checking category
2023-10-13	12:55:26	1907	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:26	1907	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861399
2023-10-13	12:55:26	1907	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:26	1907	[DEBUG]	Executed store
2023-10-13	12:55:26	1907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861399','7312')
2023-10-13	12:55:26	1907	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:26	1907	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861399 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:26	1907	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:26	1907	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861399
2023-10-13	12:55:26	1908	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:26	1908	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:26	1908	[DEBUG]	Use field value for field taille
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:26	1908	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:26	1908	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:26	1908	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:26	1908	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:26	1908	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:26	1908	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:26	1908	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:26	1908	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:26	1908	[DEBUG]	Use field value for field published
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:26	1908	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field override
2023-10-13	12:55:26	1908	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:26	1908	[DEBUG]	Use field value for field slug
2023-10-13	12:55:26	1908	[DEBUG]	Process line 1908
2023-10-13	12:55:26	1908	[DEBUG]	Load a row
2023-10-13	12:55:26	1908	[DEBUG]	Processing item: 4550170168520
2023-10-13	12:55:26	1908	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:26	1908	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:26	1908	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9188_1'
2023-10-13	12:55:26	1908	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:26	1908	[DEBUG]	Processing product tax
2023-10-13	12:55:26	1908	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:26	1908	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:26	1908	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:26	1908	[DEBUG]	Query for Product
2023-10-13	12:55:26	1908	[DEBUG]	Executed store
2023-10-13	12:55:26	1908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861399','4550170168520','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:26	1908	[DEBUG]	No parent found
2023-10-13	12:55:26	1908	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861399 AND customfield_value = 'stockable'
2023-10-13	12:55:26	1908	[DEBUG]	Check product language entry
2023-10-13	12:55:26	1908	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861400
2023-10-13	12:55:26	1908	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:26	1908	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170168520' AND `virtuemart_product_id` != 1861400
2023-10-13	12:55:26	1908	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:26	1908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861400, '4550170168520')
2023-10-13	12:55:26	1908	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:26	1908	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-ultegra-di2-rd-r8150-12-vitesses-montage-direct-box-noir-unitaire' AND `virtuemart_product_id` != 1861400
2023-10-13	12:55:26	1908	[DEBUG]	Query for ProductLang
2023-10-13	12:55:26	1908	[DEBUG]	Executed store
2023-10-13	12:55:26	1908	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur Ultegra Di2 RD-R8150 12-vitesses montage-direct box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-ultegra-di2-rd-r8150-12-vitesses-montage-direct-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861400'
2023-10-13	12:55:26	1908	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_80748_0.jpg
2023-10-13	12:55:26	1908	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:26	1908	[DEBUG]	Process image file
2023-10-13	12:55:26	1908	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:26	1908	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:26	1908	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_80748_0.jpg
2023-10-13	12:55:26	1908	[DEBUG]	Full name target: bcprisme/60_80748_0.jpg
2023-10-13	12:55:27	1908	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:27	1908	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_80748_0.jpg'
2023-10-13	12:55:27	1908	[DEBUG]	Query for Media
2023-10-13	12:55:27	1908	[DEBUG]	Executed store
2023-10-13	12:55:27	1908	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_80748_0.jpg',`file_url_thumb`='bcprisme/60_80748_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330706'
2023-10-13	12:55:27	1908	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:27	1908	[DEBUG]	Executed store
2023-10-13	12:55:27	1908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861400','1330706','1')
2023-10-13	12:55:27	1908	[DEBUG]	Store product image relation
2023-10-13	12:55:27	1908	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:27	1908	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861400 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:27	1908	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:27	1908	[DEBUG]	Executed store
2023-10-13	12:55:27	1908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861400','0','370.473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:27	1908	[DEBUG]	Checking manufacturer
2023-10-13	12:55:27	1908	[DEBUG]	Load a row
2023-10-13	12:55:27	1908	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:27	1908	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:27	1908	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:27	1908	[DEBUG]	Executed store
2023-10-13	12:55:27	1908	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:27	1908	[DEBUG]	Manufacturer exists
2023-10-13	12:55:27	1908	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:27	1908	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:27	1908	[DEBUG]	Executed store
2023-10-13	12:55:27	1908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861400','26')
2023-10-13	12:55:27	1908	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:27	1908	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:27	1908	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861400 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:27	1908	[DEBUG]	Store custom available field
2023-10-13	12:55:27	1908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861400,3,'',1)
2023-10-13	12:55:27	1908	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:27	1908	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:27	1908	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861400 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:27	1908	[DEBUG]	Store custom available field
2023-10-13	12:55:27	1908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861400,6,'Unitaire',3)
2023-10-13	12:55:27	1908	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:27	1908	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:27	1908	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861399
2023-10-13	12:55:27	1908	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:27	1908	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861399\":[1861399,8,1,\"choisir la taille\"],\"1861400\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861399
2023-10-13	12:55:27	1908	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:27	1908	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861400
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:27	1909	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field taille
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:27	1909	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:27	1909	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:27	1909	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:27	1909	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:27	1909	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:27	1909	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:27	1909	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field published
2023-10-13	12:55:27	1909	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:27	1909	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field override
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:27	1909	[DEBUG]	Use field value for field slug
2023-10-13	12:55:27	1909	[DEBUG]	Process line 1909
2023-10-13	12:55:27	1909	[DEBUG]	Load a row
2023-10-13	12:55:27	1909	[DEBUG]	Processing item: A_9205_1
2023-10-13	12:55:27	1909	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:27	1909	[DEBUG]	Processing product tax
2023-10-13	12:55:27	1909	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:27	1909	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:27	1909	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:27	1909	[DEBUG]	Query for Product
2023-10-13	12:55:27	1909	[DEBUG]	Executed store
2023-10-13	12:55:27	1909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9205_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:27	1909	[DEBUG]	Check product language entry
2023-10-13	12:55:27	1909	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861401
2023-10-13	12:55:27	1909	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:27	1909	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9205_1' AND `virtuemart_product_id` != 1861401
2023-10-13	12:55:27	1909	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:27	1909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861401, 'A_9205_1')
2023-10-13	12:55:27	1909	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:27	1909	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-105-fd-5700-down-swing-61-66-type-a-braser-noir-box-noir' AND `virtuemart_product_id` != 1861401
2023-10-13	12:55:27	1909	[DEBUG]	Query for ProductLang
2023-10-13	12:55:27	1909	[DEBUG]	Executed store
2023-10-13	12:55:27	1909	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.50399',`product_name`='SHIMANO Dérailleur avant 105 FD-5700 Down-Swing 61-66° type à braser noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-105-fd-5700-down-swing-61-66-type-a-braser-noir-box-noir' WHERE `virtuemart_product_id` = '1861401'
2023-10-13	12:55:27	1909	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_50395_fd570.jpg
2023-10-13	12:55:27	1909	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:27	1909	[DEBUG]	Process image file
2023-10-13	12:55:27	1909	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:27	1909	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:27	1909	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_50395_fd570.jpg
2023-10-13	12:55:27	1909	[DEBUG]	Full name target: bcprisme/61_50395_fd570.jpg
2023-10-13	12:55:28	1909	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:28	1909	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/61_50395_fd570.jpg'
2023-10-13	12:55:28	1909	[DEBUG]	Query for Media
2023-10-13	12:55:28	1909	[DEBUG]	Executed store
2023-10-13	12:55:28	1909	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/61_50395_fd570.jpg',`file_url_thumb`='bcprisme/61_50395_fd570.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330708'
2023-10-13	12:55:28	1909	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:28	1909	[DEBUG]	Executed store
2023-10-13	12:55:28	1909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861401','1330708','1')
2023-10-13	12:55:28	1909	[DEBUG]	Store product image relation
2023-10-13	12:55:28	1909	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:28	1909	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861401 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:28	1909	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:28	1909	[DEBUG]	Executed store
2023-10-13	12:55:28	1909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861401','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:28	1909	[DEBUG]	Checking manufacturer
2023-10-13	12:55:28	1909	[DEBUG]	Load a row
2023-10-13	12:55:28	1909	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:28	1909	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:28	1909	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:28	1909	[DEBUG]	Executed store
2023-10-13	12:55:28	1909	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:28	1909	[DEBUG]	Manufacturer exists
2023-10-13	12:55:28	1909	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:28	1909	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:28	1909	[DEBUG]	Executed store
2023-10-13	12:55:28	1909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861401','26')
2023-10-13	12:55:28	1909	[DEBUG]	Find the custom field ID
2023-10-13	12:55:28	1909	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:28	1909	[DEBUG]	No custom field ID found
2023-10-13	12:55:28	1909	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:28	1909	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:28	1909	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861401 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:28	1909	[DEBUG]	Store custom available field
2023-10-13	12:55:28	1909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861401,3,'0',1)
2023-10-13	12:55:28	1909	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:28	1909	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:28	1909	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861401 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:28	1909	[DEBUG]	Store custom available field
2023-10-13	12:55:28	1909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861401,6,'choisir la taille',3)
2023-10-13	12:55:28	1909	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:28	1909	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:28	1909	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:28	1909	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:28	1909	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861401 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:28	1909	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:28	1909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861401,8,1)
2023-10-13	12:55:28	1909	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:28	1909	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861401\":[1861401,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861401
2023-10-13	12:55:28	1909	[DEBUG]	Checking category
2023-10-13	12:55:28	1909	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:28	1909	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861401
2023-10-13	12:55:28	1909	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:28	1909	[DEBUG]	Executed store
2023-10-13	12:55:28	1909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861401','7312')
2023-10-13	12:55:28	1909	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:28	1909	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861401 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:28	1909	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:28	1909	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861401
2023-10-13	12:55:28	1910	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:28	1910	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:28	1910	[DEBUG]	Use field value for field taille
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:28	1910	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:28	1910	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:28	1910	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:28	1910	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:28	1910	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:28	1910	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:28	1910	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:28	1910	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:28	1910	[DEBUG]	Use field value for field published
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:28	1910	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field override
2023-10-13	12:55:28	1910	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:28	1910	[DEBUG]	Use field value for field slug
2023-10-13	12:55:28	1910	[DEBUG]	Process line 1910
2023-10-13	12:55:28	1910	[DEBUG]	Load a row
2023-10-13	12:55:28	1910	[DEBUG]	Processing item: 4524667423768
2023-10-13	12:55:28	1910	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:28	1910	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:28	1910	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9205_1'
2023-10-13	12:55:28	1910	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:28	1910	[DEBUG]	Processing product tax
2023-10-13	12:55:28	1910	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:28	1910	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:28	1910	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:28	1910	[DEBUG]	Query for Product
2023-10-13	12:55:28	1910	[DEBUG]	Executed store
2023-10-13	12:55:28	1910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861401','4524667423768','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:28	1910	[DEBUG]	No parent found
2023-10-13	12:55:28	1910	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861401 AND customfield_value = 'stockable'
2023-10-13	12:55:28	1910	[DEBUG]	Check product language entry
2023-10-13	12:55:28	1910	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861402
2023-10-13	12:55:28	1910	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:28	1910	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667423768' AND `virtuemart_product_id` != 1861402
2023-10-13	12:55:28	1910	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:28	1910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861402, '4524667423768')
2023-10-13	12:55:28	1910	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:28	1910	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-105-fd-5700-down-swing-61-66-type-a-braser-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1861402
2023-10-13	12:55:28	1910	[DEBUG]	Query for ProductLang
2023-10-13	12:55:28	1910	[DEBUG]	Executed store
2023-10-13	12:55:28	1910	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant 105 FD-5700 Down-Swing 61-66° type à braser noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-105-fd-5700-down-swing-61-66-type-a-braser-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861402'
2023-10-13	12:55:28	1910	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_50395_fd570.jpg
2023-10-13	12:55:28	1910	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:28	1910	[DEBUG]	Process image file
2023-10-13	12:55:28	1910	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:28	1910	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:28	1910	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_50395_fd570.jpg
2023-10-13	12:55:28	1910	[DEBUG]	Full name target: bcprisme/61_50395_fd570.jpg
2023-10-13	12:55:29	1910	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:29	1910	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/61_50395_fd570.jpg'
2023-10-13	12:55:29	1910	[DEBUG]	Query for Media
2023-10-13	12:55:29	1910	[DEBUG]	Executed store
2023-10-13	12:55:29	1910	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/61_50395_fd570.jpg',`file_url_thumb`='bcprisme/61_50395_fd570.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330708'
2023-10-13	12:55:29	1910	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:29	1910	[DEBUG]	Executed store
2023-10-13	12:55:29	1910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861402','1330708','1')
2023-10-13	12:55:29	1910	[DEBUG]	Store product image relation
2023-10-13	12:55:29	1910	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:29	1910	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861402 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:29	1910	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:29	1910	[DEBUG]	Executed store
2023-10-13	12:55:29	1910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861402','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:29	1910	[DEBUG]	Checking manufacturer
2023-10-13	12:55:29	1910	[DEBUG]	Load a row
2023-10-13	12:55:29	1910	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:29	1910	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:29	1910	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:29	1910	[DEBUG]	Executed store
2023-10-13	12:55:29	1910	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:29	1910	[DEBUG]	Manufacturer exists
2023-10-13	12:55:29	1910	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:29	1910	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:29	1910	[DEBUG]	Executed store
2023-10-13	12:55:29	1910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861402','26')
2023-10-13	12:55:29	1910	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:29	1910	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:29	1910	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861402 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:29	1910	[DEBUG]	Store custom available field
2023-10-13	12:55:29	1910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861402,3,'',1)
2023-10-13	12:55:29	1910	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:29	1910	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:29	1910	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861402 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:29	1910	[DEBUG]	Store custom available field
2023-10-13	12:55:29	1910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861402,6,'Unitaire',3)
2023-10-13	12:55:29	1910	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:29	1910	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:29	1910	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861401
2023-10-13	12:55:29	1910	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:29	1910	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861401\":[1861401,8,1,\"choisir la taille\"],\"1861402\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861401
2023-10-13	12:55:29	1910	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:29	1910	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861402
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:29	1911	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field taille
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:29	1911	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:29	1911	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:29	1911	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field product_weight
2023-10-13	12:55:29	1911	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:29	1911	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:29	1911	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field published
2023-10-13	12:55:29	1911	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:29	1911	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field override
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:29	1911	[DEBUG]	Use field value for field slug
2023-10-13	12:55:29	1911	[DEBUG]	Process line 1911
2023-10-13	12:55:29	1911	[DEBUG]	Load a row
2023-10-13	12:55:29	1911	[DEBUG]	Processing item: A_9206_1
2023-10-13	12:55:29	1911	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:29	1911	[DEBUG]	Processing product tax
2023-10-13	12:55:29	1911	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:29	1911	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:29	1911	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:29	1911	[DEBUG]	Query for Product
2023-10-13	12:55:29	1911	[DEBUG]	Executed store
2023-10-13	12:55:29	1911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9206_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:29	1911	[DEBUG]	Check product language entry
2023-10-13	12:55:29	1911	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861403
2023-10-13	12:55:29	1911	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:29	1911	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9206_1' AND `virtuemart_product_id` != 1861403
2023-10-13	12:55:29	1911	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:29	1911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861403, 'A_9206_1')
2023-10-13	12:55:29	1911	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:29	1911	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-105-rd-5701-10-vitesses-gs-montage-direct-noir-box-noir' AND `virtuemart_product_id` != 1861403
2023-10-13	12:55:29	1911	[DEBUG]	Query for ProductLang
2023-10-13	12:55:29	1911	[DEBUG]	Executed store
2023-10-13	12:55:29	1911	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.54544',`product_name`='SHIMANO Dérailleur 105 RD-5701 10-vitesses GS montage-direct noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-105-rd-5701-10-vitesses-gs-montage-direct-noir-box-noir' WHERE `virtuemart_product_id` = '1861403'
2023-10-13	12:55:29	1911	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_5454.jpg
2023-10-13	12:55:29	1911	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:29	1911	[DEBUG]	Process image file
2023-10-13	12:55:29	1911	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:29	1911	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:29	1911	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_5454.jpg
2023-10-13	12:55:29	1911	[DEBUG]	Full name target: bcprisme/60_5454.jpg
2023-10-13	12:55:30	1911	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:30	1911	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_5454.jpg'
2023-10-13	12:55:30	1911	[DEBUG]	Query for Media
2023-10-13	12:55:30	1911	[DEBUG]	Executed store
2023-10-13	12:55:30	1911	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_5454.jpg',`file_url_thumb`='bcprisme/60_5454.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330710'
2023-10-13	12:55:30	1911	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:30	1911	[DEBUG]	Executed store
2023-10-13	12:55:30	1911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861403','1330710','1')
2023-10-13	12:55:30	1911	[DEBUG]	Store product image relation
2023-10-13	12:55:30	1911	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:30	1911	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861403 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:30	1911	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:30	1911	[DEBUG]	Executed store
2023-10-13	12:55:30	1911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861403','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:30	1911	[DEBUG]	Checking manufacturer
2023-10-13	12:55:30	1911	[DEBUG]	Load a row
2023-10-13	12:55:30	1911	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:30	1911	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:30	1911	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:30	1911	[DEBUG]	Executed store
2023-10-13	12:55:30	1911	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:30	1911	[DEBUG]	Manufacturer exists
2023-10-13	12:55:30	1911	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:30	1911	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:30	1911	[DEBUG]	Executed store
2023-10-13	12:55:30	1911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861403','26')
2023-10-13	12:55:30	1911	[DEBUG]	Find the custom field ID
2023-10-13	12:55:30	1911	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:30	1911	[DEBUG]	No custom field ID found
2023-10-13	12:55:30	1911	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:30	1911	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:30	1911	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861403 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:30	1911	[DEBUG]	Store custom available field
2023-10-13	12:55:30	1911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861403,3,'0',1)
2023-10-13	12:55:30	1911	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:30	1911	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:30	1911	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861403 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:30	1911	[DEBUG]	Store custom available field
2023-10-13	12:55:30	1911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861403,6,'choisir la taille',3)
2023-10-13	12:55:30	1911	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:30	1911	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:30	1911	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:30	1911	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:30	1911	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861403 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:30	1911	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:30	1911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861403,8,1)
2023-10-13	12:55:30	1911	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:30	1911	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861403\":[1861403,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861403
2023-10-13	12:55:30	1911	[DEBUG]	Checking category
2023-10-13	12:55:30	1911	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:30	1911	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861403
2023-10-13	12:55:30	1911	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:30	1911	[DEBUG]	Executed store
2023-10-13	12:55:30	1911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861403','7312')
2023-10-13	12:55:30	1911	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:30	1911	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861403 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:30	1911	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:30	1911	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861403
2023-10-13	12:55:30	1912	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:30	1912	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:30	1912	[DEBUG]	Use field value for field taille
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:30	1912	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:30	1912	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:30	1912	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:30	1912	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:30	1912	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:30	1912	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:30	1912	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:30	1912	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:30	1912	[DEBUG]	Use field value for field published
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:30	1912	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field override
2023-10-13	12:55:30	1912	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:30	1912	[DEBUG]	Use field value for field slug
2023-10-13	12:55:30	1912	[DEBUG]	Process line 1912
2023-10-13	12:55:30	1912	[DEBUG]	Load a row
2023-10-13	12:55:30	1912	[DEBUG]	Processing item: 4524667311188
2023-10-13	12:55:30	1912	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:30	1912	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:30	1912	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9206_1'
2023-10-13	12:55:30	1912	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:30	1912	[DEBUG]	Processing product tax
2023-10-13	12:55:30	1912	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:30	1912	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:30	1912	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:30	1912	[DEBUG]	Query for Product
2023-10-13	12:55:30	1912	[DEBUG]	Executed store
2023-10-13	12:55:30	1912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861403','4524667311188','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:30	1912	[DEBUG]	No parent found
2023-10-13	12:55:30	1912	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861403 AND customfield_value = 'stockable'
2023-10-13	12:55:30	1912	[DEBUG]	Check product language entry
2023-10-13	12:55:30	1912	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861404
2023-10-13	12:55:30	1912	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:30	1912	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667311188' AND `virtuemart_product_id` != 1861404
2023-10-13	12:55:30	1912	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:30	1912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861404, '4524667311188')
2023-10-13	12:55:30	1912	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:30	1912	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-105-rd-5701-10-vitesses-gs-montage-direct-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1861404
2023-10-13	12:55:30	1912	[DEBUG]	Query for ProductLang
2023-10-13	12:55:30	1912	[DEBUG]	Executed store
2023-10-13	12:55:30	1912	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur 105 RD-5701 10-vitesses GS montage-direct noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-105-rd-5701-10-vitesses-gs-montage-direct-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861404'
2023-10-13	12:55:30	1912	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_5454.jpg
2023-10-13	12:55:30	1912	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:30	1912	[DEBUG]	Process image file
2023-10-13	12:55:30	1912	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:30	1912	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:30	1912	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_5454.jpg
2023-10-13	12:55:30	1912	[DEBUG]	Full name target: bcprisme/60_5454.jpg
2023-10-13	12:55:31	1912	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:31	1912	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_5454.jpg'
2023-10-13	12:55:31	1912	[DEBUG]	Query for Media
2023-10-13	12:55:31	1912	[DEBUG]	Executed store
2023-10-13	12:55:31	1912	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_5454.jpg',`file_url_thumb`='bcprisme/60_5454.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330710'
2023-10-13	12:55:31	1912	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:31	1912	[DEBUG]	Executed store
2023-10-13	12:55:31	1912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861404','1330710','1')
2023-10-13	12:55:31	1912	[DEBUG]	Store product image relation
2023-10-13	12:55:31	1912	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:31	1912	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861404 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:31	1912	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:31	1912	[DEBUG]	Executed store
2023-10-13	12:55:31	1912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861404','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:31	1912	[DEBUG]	Checking manufacturer
2023-10-13	12:55:31	1912	[DEBUG]	Load a row
2023-10-13	12:55:31	1912	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:31	1912	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:31	1912	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:31	1912	[DEBUG]	Executed store
2023-10-13	12:55:31	1912	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:31	1912	[DEBUG]	Manufacturer exists
2023-10-13	12:55:31	1912	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:31	1912	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:31	1912	[DEBUG]	Executed store
2023-10-13	12:55:31	1912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861404','26')
2023-10-13	12:55:31	1912	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:31	1912	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:31	1912	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861404 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:31	1912	[DEBUG]	Store custom available field
2023-10-13	12:55:31	1912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861404,3,'',1)
2023-10-13	12:55:31	1912	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:31	1912	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:31	1912	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861404 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:31	1912	[DEBUG]	Store custom available field
2023-10-13	12:55:31	1912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861404,6,'Unitaire',3)
2023-10-13	12:55:31	1912	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:31	1912	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:31	1912	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861403
2023-10-13	12:55:31	1912	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:31	1912	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861403\":[1861403,8,1,\"choisir la taille\"],\"1861404\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861403
2023-10-13	12:55:31	1912	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:31	1912	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861404
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:31	1913	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field taille
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:31	1913	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:31	1913	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:31	1913	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field product_weight
2023-10-13	12:55:31	1913	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:31	1913	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:31	1913	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field published
2023-10-13	12:55:31	1913	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:31	1913	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field override
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:31	1913	[DEBUG]	Use field value for field slug
2023-10-13	12:55:31	1913	[DEBUG]	Process line 1913
2023-10-13	12:55:31	1913	[DEBUG]	Load a row
2023-10-13	12:55:31	1913	[DEBUG]	Processing item: A_9221_1
2023-10-13	12:55:31	1913	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:31	1913	[DEBUG]	Processing product tax
2023-10-13	12:55:31	1913	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:31	1913	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:31	1913	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:31	1913	[DEBUG]	Query for Product
2023-10-13	12:55:31	1913	[DEBUG]	Executed store
2023-10-13	12:55:31	1913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9221_1','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:31	1913	[DEBUG]	Check product language entry
2023-10-13	12:55:31	1913	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861405
2023-10-13	12:55:31	1913	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:31	1913	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9221_1' AND `virtuemart_product_id` != 1861405
2023-10-13	12:55:31	1913	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:31	1913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861405, 'A_9221_1')
2023-10-13	12:55:31	1913	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:31	1913	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-105-di2-rd-r7150-12-vitesses-montage-direct-box-noir' AND `virtuemart_product_id` != 1861405
2023-10-13	12:55:31	1913	[DEBUG]	Query for ProductLang
2023-10-13	12:55:31	1913	[DEBUG]	Executed store
2023-10-13	12:55:31	1913	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.82607',`product_name`='SHIMANO Dérailleur 105 Di2 RD-R7150 12-vitesses montage-direct box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-105-di2-rd-r7150-12-vitesses-montage-direct-box-noir' WHERE `virtuemart_product_id` = '1861405'
2023-10-13	12:55:31	1913	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_82607_0.jpg
2023-10-13	12:55:31	1913	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:31	1913	[DEBUG]	Process image file
2023-10-13	12:55:31	1913	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:31	1913	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:31	1913	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_82607_0.jpg
2023-10-13	12:55:31	1913	[DEBUG]	Full name target: bcprisme/60_82607_0.jpg
2023-10-13	12:55:32	1913	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:32	1913	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_82607_0.jpg'
2023-10-13	12:55:32	1913	[DEBUG]	Query for Media
2023-10-13	12:55:32	1913	[DEBUG]	Executed store
2023-10-13	12:55:32	1913	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_82607_0.jpg',`file_url_thumb`='bcprisme/60_82607_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330712'
2023-10-13	12:55:32	1913	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:32	1913	[DEBUG]	Executed store
2023-10-13	12:55:32	1913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861405','1330712','1')
2023-10-13	12:55:32	1913	[DEBUG]	Store product image relation
2023-10-13	12:55:32	1913	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:32	1913	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861405 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:32	1913	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:32	1913	[DEBUG]	Executed store
2023-10-13	12:55:32	1913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861405','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:32	1913	[DEBUG]	Checking manufacturer
2023-10-13	12:55:32	1913	[DEBUG]	Load a row
2023-10-13	12:55:32	1913	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:32	1913	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:32	1913	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:32	1913	[DEBUG]	Executed store
2023-10-13	12:55:32	1913	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:32	1913	[DEBUG]	Manufacturer exists
2023-10-13	12:55:32	1913	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:32	1913	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:32	1913	[DEBUG]	Executed store
2023-10-13	12:55:32	1913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861405','26')
2023-10-13	12:55:32	1913	[DEBUG]	Find the custom field ID
2023-10-13	12:55:32	1913	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:32	1913	[DEBUG]	No custom field ID found
2023-10-13	12:55:32	1913	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:32	1913	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:32	1913	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861405 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:32	1913	[DEBUG]	Store custom available field
2023-10-13	12:55:32	1913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861405,3,'0',1)
2023-10-13	12:55:32	1913	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:32	1913	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:32	1913	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861405 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:32	1913	[DEBUG]	Store custom available field
2023-10-13	12:55:32	1913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861405,6,'choisir la taille',3)
2023-10-13	12:55:32	1913	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:32	1913	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:32	1913	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:32	1913	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:32	1913	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861405 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:32	1913	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:32	1913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861405,8,1)
2023-10-13	12:55:32	1913	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:32	1913	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861405\":[1861405,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861405
2023-10-13	12:55:32	1913	[DEBUG]	Checking category
2023-10-13	12:55:32	1913	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:32	1913	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861405
2023-10-13	12:55:32	1913	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:32	1913	[DEBUG]	Executed store
2023-10-13	12:55:32	1913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861405','7312')
2023-10-13	12:55:32	1913	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:32	1913	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861405 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:32	1913	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:32	1913	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861405
2023-10-13	12:55:32	1914	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:32	1914	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:32	1914	[DEBUG]	Use field value for field taille
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:32	1914	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:32	1914	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:32	1914	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:32	1914	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:32	1914	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:32	1914	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:32	1914	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:32	1914	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:32	1914	[DEBUG]	Use field value for field published
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:32	1914	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field override
2023-10-13	12:55:32	1914	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:32	1914	[DEBUG]	Use field value for field slug
2023-10-13	12:55:32	1914	[DEBUG]	Process line 1914
2023-10-13	12:55:32	1914	[DEBUG]	Load a row
2023-10-13	12:55:32	1914	[DEBUG]	Processing item: 4550170234232
2023-10-13	12:55:32	1914	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:32	1914	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:32	1914	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9221_1'
2023-10-13	12:55:32	1914	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:32	1914	[DEBUG]	Processing product tax
2023-10-13	12:55:32	1914	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:32	1914	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:32	1914	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:32	1914	[DEBUG]	Query for Product
2023-10-13	12:55:32	1914	[DEBUG]	Executed store
2023-10-13	12:55:32	1914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861405','4550170234232','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:32	1914	[DEBUG]	No parent found
2023-10-13	12:55:32	1914	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861405 AND customfield_value = 'stockable'
2023-10-13	12:55:32	1914	[DEBUG]	Check product language entry
2023-10-13	12:55:32	1914	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861406
2023-10-13	12:55:32	1914	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:32	1914	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170234232' AND `virtuemart_product_id` != 1861406
2023-10-13	12:55:32	1914	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:32	1914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861406, '4550170234232')
2023-10-13	12:55:32	1914	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:32	1914	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-105-di2-rd-r7150-12-vitesses-montage-direct-box-noir-unitaire' AND `virtuemart_product_id` != 1861406
2023-10-13	12:55:32	1914	[DEBUG]	Query for ProductLang
2023-10-13	12:55:32	1914	[DEBUG]	Executed store
2023-10-13	12:55:32	1914	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur 105 Di2 RD-R7150 12-vitesses montage-direct box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-105-di2-rd-r7150-12-vitesses-montage-direct-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861406'
2023-10-13	12:55:32	1914	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_82607_0.jpg
2023-10-13	12:55:32	1914	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:32	1914	[DEBUG]	Process image file
2023-10-13	12:55:32	1914	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:32	1914	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:32	1914	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_82607_0.jpg
2023-10-13	12:55:32	1914	[DEBUG]	Full name target: bcprisme/60_82607_0.jpg
2023-10-13	12:55:33	1914	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:33	1914	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_82607_0.jpg'
2023-10-13	12:55:33	1914	[DEBUG]	Query for Media
2023-10-13	12:55:33	1914	[DEBUG]	Executed store
2023-10-13	12:55:33	1914	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_82607_0.jpg',`file_url_thumb`='bcprisme/60_82607_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330712'
2023-10-13	12:55:33	1914	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:33	1914	[DEBUG]	Executed store
2023-10-13	12:55:33	1914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861406','1330712','1')
2023-10-13	12:55:33	1914	[DEBUG]	Store product image relation
2023-10-13	12:55:33	1914	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:33	1914	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861406 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:33	1914	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:33	1914	[DEBUG]	Executed store
2023-10-13	12:55:33	1914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861406','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:33	1914	[DEBUG]	Checking manufacturer
2023-10-13	12:55:33	1914	[DEBUG]	Load a row
2023-10-13	12:55:33	1914	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:33	1914	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:33	1914	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:33	1914	[DEBUG]	Executed store
2023-10-13	12:55:33	1914	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:33	1914	[DEBUG]	Manufacturer exists
2023-10-13	12:55:33	1914	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:33	1914	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:33	1914	[DEBUG]	Executed store
2023-10-13	12:55:33	1914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861406','26')
2023-10-13	12:55:33	1914	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:33	1914	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:33	1914	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861406 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:33	1914	[DEBUG]	Store custom available field
2023-10-13	12:55:33	1914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861406,3,'',1)
2023-10-13	12:55:33	1914	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:33	1914	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:33	1914	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861406 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:33	1914	[DEBUG]	Store custom available field
2023-10-13	12:55:33	1914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861406,6,'Unitaire',3)
2023-10-13	12:55:33	1914	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:33	1914	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:33	1914	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861405
2023-10-13	12:55:33	1914	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:33	1914	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861405\":[1861405,8,1,\"choisir la taille\"],\"1861406\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861405
2023-10-13	12:55:33	1914	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:33	1914	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861406
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:33	1915	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field taille
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:33	1915	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:33	1915	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:33	1915	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field product_weight
2023-10-13	12:55:33	1915	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:33	1915	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:33	1915	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field published
2023-10-13	12:55:33	1915	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:33	1915	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field override
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:33	1915	[DEBUG]	Use field value for field slug
2023-10-13	12:55:33	1915	[DEBUG]	Process line 1915
2023-10-13	12:55:33	1915	[DEBUG]	Load a row
2023-10-13	12:55:33	1915	[DEBUG]	Processing item: A_9223_1
2023-10-13	12:55:33	1915	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:33	1915	[DEBUG]	Processing product tax
2023-10-13	12:55:33	1915	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:33	1915	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:33	1915	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:33	1915	[DEBUG]	Query for Product
2023-10-13	12:55:33	1915	[DEBUG]	Executed store
2023-10-13	12:55:33	1915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9223_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:33	1915	[DEBUG]	Check product language entry
2023-10-13	12:55:33	1915	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861407
2023-10-13	12:55:33	1915	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:33	1915	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9223_1' AND `virtuemart_product_id` != 1861407
2023-10-13	12:55:33	1915	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:33	1915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861407, 'A_9223_1')
2023-10-13	12:55:33	1915	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:33	1915	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-di2-fd-r7150-2x12-vit-do-sw-61-66-type-a-braser-box-noir' AND `virtuemart_product_id` != 1861407
2023-10-13	12:55:33	1915	[DEBUG]	Query for ProductLang
2023-10-13	12:55:33	1915	[DEBUG]	Executed store
2023-10-13	12:55:33	1915	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 61.82604',`product_name`='SHIMANO Dérailleur avant Di2 FD-R7150 2x12-vit. Do-Sw 61-66° type à braser box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-di2-fd-r7150-2x12-vit-do-sw-61-66-type-a-braser-box-noir' WHERE `virtuemart_product_id` = '1861407'
2023-10-13	12:55:33	1915	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_82604_0.jpg
2023-10-13	12:55:33	1915	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:33	1915	[DEBUG]	Process image file
2023-10-13	12:55:33	1915	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:33	1915	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:33	1915	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_82604_0.jpg
2023-10-13	12:55:33	1915	[DEBUG]	Full name target: bcprisme/61_82604_0.jpg
2023-10-13	12:55:34	1915	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:34	1915	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/61_82604_0.jpg'
2023-10-13	12:55:34	1915	[DEBUG]	Query for Media
2023-10-13	12:55:34	1915	[DEBUG]	Executed store
2023-10-13	12:55:34	1915	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/61_82604_0.jpg',`file_url_thumb`='bcprisme/61_82604_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330714'
2023-10-13	12:55:34	1915	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:34	1915	[DEBUG]	Executed store
2023-10-13	12:55:34	1915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861407','1330714','1')
2023-10-13	12:55:34	1915	[DEBUG]	Store product image relation
2023-10-13	12:55:34	1915	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:34	1915	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861407 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:34	1915	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:34	1915	[DEBUG]	Executed store
2023-10-13	12:55:34	1915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861407','0','161.559888579387','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:34	1915	[DEBUG]	Checking manufacturer
2023-10-13	12:55:34	1915	[DEBUG]	Load a row
2023-10-13	12:55:34	1915	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:34	1915	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:34	1915	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:34	1915	[DEBUG]	Executed store
2023-10-13	12:55:34	1915	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:34	1915	[DEBUG]	Manufacturer exists
2023-10-13	12:55:34	1915	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:34	1915	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:34	1915	[DEBUG]	Executed store
2023-10-13	12:55:34	1915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861407','26')
2023-10-13	12:55:34	1915	[DEBUG]	Find the custom field ID
2023-10-13	12:55:34	1915	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:34	1915	[DEBUG]	No custom field ID found
2023-10-13	12:55:34	1915	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:34	1915	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:34	1915	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861407 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:34	1915	[DEBUG]	Store custom available field
2023-10-13	12:55:34	1915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861407,3,'0',1)
2023-10-13	12:55:34	1915	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:34	1915	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:34	1915	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861407 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:34	1915	[DEBUG]	Store custom available field
2023-10-13	12:55:34	1915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861407,6,'choisir la taille',3)
2023-10-13	12:55:34	1915	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:34	1915	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:34	1915	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:34	1915	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:34	1915	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861407 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:34	1915	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:34	1915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861407,8,1)
2023-10-13	12:55:34	1915	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:34	1915	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861407\":[1861407,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861407
2023-10-13	12:55:34	1915	[DEBUG]	Checking category
2023-10-13	12:55:34	1915	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:34	1915	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861407
2023-10-13	12:55:34	1915	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:34	1915	[DEBUG]	Executed store
2023-10-13	12:55:34	1915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861407','7312')
2023-10-13	12:55:34	1915	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:34	1915	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861407 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:34	1915	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:34	1915	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861407
2023-10-13	12:55:34	1916	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:34	1916	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:34	1916	[DEBUG]	Use field value for field taille
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:34	1916	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:34	1916	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:34	1916	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:34	1916	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:34	1916	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:34	1916	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:34	1916	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:34	1916	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:34	1916	[DEBUG]	Use field value for field published
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:34	1916	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field override
2023-10-13	12:55:34	1916	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:34	1916	[DEBUG]	Use field value for field slug
2023-10-13	12:55:34	1916	[DEBUG]	Process line 1916
2023-10-13	12:55:34	1916	[DEBUG]	Load a row
2023-10-13	12:55:34	1916	[DEBUG]	Processing item: 4550170234263
2023-10-13	12:55:34	1916	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:34	1916	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:34	1916	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9223_1'
2023-10-13	12:55:34	1916	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:34	1916	[DEBUG]	Processing product tax
2023-10-13	12:55:34	1916	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:34	1916	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:34	1916	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:34	1916	[DEBUG]	Query for Product
2023-10-13	12:55:34	1916	[DEBUG]	Executed store
2023-10-13	12:55:34	1916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861407','4550170234263','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:34	1916	[DEBUG]	No parent found
2023-10-13	12:55:34	1916	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861407 AND customfield_value = 'stockable'
2023-10-13	12:55:34	1916	[DEBUG]	Check product language entry
2023-10-13	12:55:34	1916	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861408
2023-10-13	12:55:34	1916	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:34	1916	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170234263' AND `virtuemart_product_id` != 1861408
2023-10-13	12:55:34	1916	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:34	1916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861408, '4550170234263')
2023-10-13	12:55:34	1916	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:34	1916	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-derailleur-avant-di2-fd-r7150-2x12-vit-do-sw-61-66-type-a-braser-box-noir-unitaire' AND `virtuemart_product_id` != 1861408
2023-10-13	12:55:34	1916	[DEBUG]	Query for ProductLang
2023-10-13	12:55:34	1916	[DEBUG]	Executed store
2023-10-13	12:55:34	1916	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Dérailleur avant Di2 FD-R7150 2x12-vit. Do-Sw 61-66° type à braser box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-derailleur-avant-di2-fd-r7150-2x12-vit-do-sw-61-66-type-a-braser-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861408'
2023-10-13	12:55:34	1916	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_82604_0.jpg
2023-10-13	12:55:34	1916	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:34	1916	[DEBUG]	Process image file
2023-10-13	12:55:34	1916	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:34	1916	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:34	1916	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/61_82604_0.jpg
2023-10-13	12:55:34	1916	[DEBUG]	Full name target: bcprisme/61_82604_0.jpg
2023-10-13	12:55:35	1916	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:35	1916	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/61_82604_0.jpg'
2023-10-13	12:55:35	1916	[DEBUG]	Query for Media
2023-10-13	12:55:35	1916	[DEBUG]	Executed store
2023-10-13	12:55:35	1916	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/61_82604_0.jpg',`file_url_thumb`='bcprisme/61_82604_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1330714'
2023-10-13	12:55:35	1916	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:35	1916	[DEBUG]	Executed store
2023-10-13	12:55:35	1916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861408','1330714','1')
2023-10-13	12:55:35	1916	[DEBUG]	Store product image relation
2023-10-13	12:55:35	1916	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:35	1916	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861408 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:35	1916	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:35	1916	[DEBUG]	Executed store
2023-10-13	12:55:35	1916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861408','0','161.559888579387','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:35	1916	[DEBUG]	Checking manufacturer
2023-10-13	12:55:35	1916	[DEBUG]	Load a row
2023-10-13	12:55:35	1916	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:35	1916	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:35	1916	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:35	1916	[DEBUG]	Executed store
2023-10-13	12:55:35	1916	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:35	1916	[DEBUG]	Manufacturer exists
2023-10-13	12:55:35	1916	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:35	1916	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:35	1916	[DEBUG]	Executed store
2023-10-13	12:55:35	1916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861408','26')
2023-10-13	12:55:35	1916	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:35	1916	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:35	1916	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861408 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:35	1916	[DEBUG]	Store custom available field
2023-10-13	12:55:35	1916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861408,3,'',1)
2023-10-13	12:55:35	1916	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:35	1916	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:35	1916	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861408 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:35	1916	[DEBUG]	Store custom available field
2023-10-13	12:55:35	1916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861408,6,'Unitaire',3)
2023-10-13	12:55:35	1916	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:35	1916	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:35	1916	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861407
2023-10-13	12:55:35	1916	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:35	1916	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861407\":[1861407,8,1,\"choisir la taille\"],\"1861408\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861407
2023-10-13	12:55:35	1916	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:35	1916	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861408
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:35	1917	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field taille
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:35	1917	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:35	1917	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:35	1917	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:35	1917	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:35	1917	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:35	1917	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:35	1917	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field published
2023-10-13	12:55:35	1917	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:35	1917	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field override
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:35	1917	[DEBUG]	Use field value for field slug
2023-10-13	12:55:35	1917	[DEBUG]	Process line 1917
2023-10-13	12:55:35	1917	[DEBUG]	Load a row
2023-10-13	12:55:35	1917	[DEBUG]	Processing item: A_9233_38
2023-10-13	12:55:35	1917	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:35	1917	[DEBUG]	Processing product tax
2023-10-13	12:55:35	1917	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:35	1917	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:35	1917	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:35	1917	[DEBUG]	Query for Product
2023-10-13	12:55:35	1917	[DEBUG]	Executed store
2023-10-13	12:55:35	1917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9233_38','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:35	1917	[DEBUG]	Check product language entry
2023-10-13	12:55:35	1917	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861409
2023-10-13	12:55:35	1917	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:35	1917	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9233_38' AND `virtuemart_product_id` != 1861409
2023-10-13	12:55:35	1917	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:35	1917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861409, 'A_9233_38')
2023-10-13	12:55:35	1917	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:35	1917	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-front-derailleur-force-etap-axs-wide-exkl-battery-n-a-silver' AND `virtuemart_product_id` != 1861409
2023-10-13	12:55:35	1917	[DEBUG]	Query for ProductLang
2023-10-13	12:55:35	1917	[DEBUG]	Executed store
2023-10-13	12:55:35	1917	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7558s',`product_name`='SRAM Front Derailleur Force eTap AXS Wide exkl. Battery N/A / Silver',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-front-derailleur-force-etap-axs-wide-exkl-battery-n-a-silver' WHERE `virtuemart_product_id` = '1861409'
2023-10-13	12:55:35	1917	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38311_front_derailleur_force_etap_axs_wide_exkl__battery_n-a.jpg
2023-10-13	12:55:35	1917	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:35	1917	[DEBUG]	Process image file
2023-10-13	12:55:35	1917	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:35	1917	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:35	1917	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38311_front_derailleur_force_etap_axs_wide_exkl__battery_n-a.jpg
2023-10-13	12:55:35	1917	[DEBUG]	Full name target: bcprisme/38311_front_derailleur_force_etap_axs_wide_exkl__battery_n-a.jpg
2023-10-13	12:55:36	1917	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:36	1917	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38311_front_derailleur_force_etap_axs_wide_exkl__battery_n-a.jpg'
2023-10-13	12:55:36	1917	[DEBUG]	Query for Media
2023-10-13	12:55:36	1917	[DEBUG]	Executed store
2023-10-13	12:55:36	1917	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38311_front_derailleur_force_etap_axs_wide_exkl__battery_n-a.jpg',`file_url_thumb`='bcprisme/38311_front_derailleur_force_etap_axs_wide_exkl__battery_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1341658'
2023-10-13	12:55:36	1917	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:36	1917	[DEBUG]	Executed store
2023-10-13	12:55:36	1917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861409','1341658','1')
2023-10-13	12:55:36	1917	[DEBUG]	Store product image relation
2023-10-13	12:55:36	1917	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:36	1917	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861409 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:36	1917	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:36	1917	[DEBUG]	Executed store
2023-10-13	12:55:36	1917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861409','0','222.748375116063','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:36	1917	[DEBUG]	Checking manufacturer
2023-10-13	12:55:36	1917	[DEBUG]	Load a row
2023-10-13	12:55:36	1917	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:36	1917	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:36	1917	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:36	1917	[DEBUG]	Executed store
2023-10-13	12:55:36	1917	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:36	1917	[DEBUG]	Manufacturer exists
2023-10-13	12:55:36	1917	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:36	1917	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:36	1917	[DEBUG]	Executed store
2023-10-13	12:55:36	1917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861409','35')
2023-10-13	12:55:36	1917	[DEBUG]	Find the custom field ID
2023-10-13	12:55:36	1917	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:36	1917	[DEBUG]	No custom field ID found
2023-10-13	12:55:36	1917	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:36	1917	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:36	1917	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861409 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:36	1917	[DEBUG]	Store custom available field
2023-10-13	12:55:36	1917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861409,3,'0',1)
2023-10-13	12:55:36	1917	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:36	1917	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:36	1917	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861409 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:36	1917	[DEBUG]	Store custom available field
2023-10-13	12:55:36	1917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861409,6,'choisir la taille',3)
2023-10-13	12:55:36	1917	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:36	1917	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:36	1917	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:36	1917	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:36	1917	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861409 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:36	1917	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:36	1917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861409,8,1)
2023-10-13	12:55:36	1917	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:36	1917	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861409\":[1861409,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861409
2023-10-13	12:55:36	1917	[DEBUG]	Checking category
2023-10-13	12:55:36	1917	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:36	1917	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861409
2023-10-13	12:55:36	1917	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:36	1917	[DEBUG]	Executed store
2023-10-13	12:55:36	1917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861409','7312')
2023-10-13	12:55:36	1917	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:36	1917	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861409 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:36	1917	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:36	1917	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861409
2023-10-13	12:55:36	1918	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:36	1918	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:36	1918	[DEBUG]	Use field value for field taille
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:36	1918	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:36	1918	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:36	1918	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:36	1918	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:36	1918	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:36	1918	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:36	1918	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:36	1918	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:36	1918	[DEBUG]	Use field value for field published
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:36	1918	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field override
2023-10-13	12:55:36	1918	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:36	1918	[DEBUG]	Use field value for field slug
2023-10-13	12:55:36	1918	[DEBUG]	Process line 1918
2023-10-13	12:55:36	1918	[DEBUG]	Load a row
2023-10-13	12:55:36	1918	[DEBUG]	Processing item: 710845854484
2023-10-13	12:55:36	1918	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:36	1918	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:36	1918	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9233_38'
2023-10-13	12:55:36	1918	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:36	1918	[DEBUG]	Processing product tax
2023-10-13	12:55:36	1918	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:36	1918	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:36	1918	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:36	1918	[DEBUG]	Query for Product
2023-10-13	12:55:36	1918	[DEBUG]	Executed store
2023-10-13	12:55:36	1918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861409','710845854484','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:36	1918	[DEBUG]	No parent found
2023-10-13	12:55:36	1918	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861409 AND customfield_value = 'stockable'
2023-10-13	12:55:36	1918	[DEBUG]	Check product language entry
2023-10-13	12:55:36	1918	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861410
2023-10-13	12:55:36	1918	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:36	1918	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845854484' AND `virtuemart_product_id` != 1861410
2023-10-13	12:55:36	1918	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:36	1918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861410, '710845854484')
2023-10-13	12:55:36	1918	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:36	1918	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-front-derailleur-force-etap-axs-wide-exkl-battery-n-a-silver-unitaire' AND `virtuemart_product_id` != 1861410
2023-10-13	12:55:36	1918	[DEBUG]	Query for ProductLang
2023-10-13	12:55:36	1918	[DEBUG]	Executed store
2023-10-13	12:55:36	1918	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Front Derailleur Force eTap AXS Wide exkl. Battery N/A / Silver (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-front-derailleur-force-etap-axs-wide-exkl-battery-n-a-silver-unitaire' WHERE `virtuemart_product_id` = '1861410'
2023-10-13	12:55:36	1918	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38311_front_derailleur_force_etap_axs_wide_exkl__battery_n-a.jpg
2023-10-13	12:55:36	1918	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:36	1918	[DEBUG]	Process image file
2023-10-13	12:55:36	1918	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:36	1918	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:36	1918	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38311_front_derailleur_force_etap_axs_wide_exkl__battery_n-a.jpg
2023-10-13	12:55:36	1918	[DEBUG]	Full name target: bcprisme/38311_front_derailleur_force_etap_axs_wide_exkl__battery_n-a.jpg
2023-10-13	12:55:37	1918	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:37	1918	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38311_front_derailleur_force_etap_axs_wide_exkl__battery_n-a.jpg'
2023-10-13	12:55:37	1918	[DEBUG]	Query for Media
2023-10-13	12:55:37	1918	[DEBUG]	Executed store
2023-10-13	12:55:37	1918	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38311_front_derailleur_force_etap_axs_wide_exkl__battery_n-a.jpg',`file_url_thumb`='bcprisme/38311_front_derailleur_force_etap_axs_wide_exkl__battery_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1341658'
2023-10-13	12:55:37	1918	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:37	1918	[DEBUG]	Executed store
2023-10-13	12:55:37	1918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861410','1341658','1')
2023-10-13	12:55:37	1918	[DEBUG]	Store product image relation
2023-10-13	12:55:37	1918	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:37	1918	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861410 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:37	1918	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:37	1918	[DEBUG]	Executed store
2023-10-13	12:55:37	1918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861410','0','222.748375116063','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:37	1918	[DEBUG]	Checking manufacturer
2023-10-13	12:55:37	1918	[DEBUG]	Load a row
2023-10-13	12:55:37	1918	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:37	1918	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:37	1918	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:37	1918	[DEBUG]	Executed store
2023-10-13	12:55:37	1918	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:37	1918	[DEBUG]	Manufacturer exists
2023-10-13	12:55:37	1918	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:37	1918	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:37	1918	[DEBUG]	Executed store
2023-10-13	12:55:37	1918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861410','35')
2023-10-13	12:55:37	1918	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:37	1918	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:37	1918	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861410 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:37	1918	[DEBUG]	Store custom available field
2023-10-13	12:55:37	1918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861410,3,'',1)
2023-10-13	12:55:37	1918	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:37	1918	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:37	1918	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861410 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:37	1918	[DEBUG]	Store custom available field
2023-10-13	12:55:37	1918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861410,6,'Unitaire',3)
2023-10-13	12:55:37	1918	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:37	1918	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:37	1918	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861409
2023-10-13	12:55:37	1918	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:37	1918	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861409\":[1861409,8,1,\"choisir la taille\"],\"1861410\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861409
2023-10-13	12:55:37	1918	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:37	1918	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861410
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:37	1919	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field taille
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:37	1919	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:37	1919	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:37	1919	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:37	1919	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:37	1919	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:37	1919	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:37	1919	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field published
2023-10-13	12:55:37	1919	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:37	1919	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field override
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:37	1919	[DEBUG]	Use field value for field slug
2023-10-13	12:55:37	1919	[DEBUG]	Process line 1919
2023-10-13	12:55:37	1919	[DEBUG]	Load a row
2023-10-13	12:55:37	1919	[DEBUG]	Processing item: A_9234_84
2023-10-13	12:55:37	1919	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:37	1919	[DEBUG]	Processing product tax
2023-10-13	12:55:37	1919	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:37	1919	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:37	1919	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:37	1919	[DEBUG]	Query for Product
2023-10-13	12:55:37	1919	[DEBUG]	Executed store
2023-10-13	12:55:37	1919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9234_84','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:37	1919	[DEBUG]	Check product language entry
2023-10-13	12:55:37	1919	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861411
2023-10-13	12:55:37	1919	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:37	1919	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9234_84' AND `virtuemart_product_id` != 1861411
2023-10-13	12:55:37	1919	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:37	1919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861411, 'A_9234_84')
2023-10-13	12:55:37	1919	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:37	1919	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rear-derailleur-xx1-eagle-axs-12sp-without-battery-n-a-black' AND `virtuemart_product_id` != 1861411
2023-10-13	12:55:37	1919	[DEBUG]	Query for ProductLang
2023-10-13	12:55:37	1919	[DEBUG]	Executed store
2023-10-13	12:55:37	1919	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7555r',`product_name`='SRAM Rear Derailleur XX1 Eagle AXS 12SP without Battery N/A / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rear-derailleur-xx1-eagle-axs-12sp-without-battery-n-a-black' WHERE `virtuemart_product_id` = '1861411'
2023-10-13	12:55:37	1919	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38312_rear_derailleur_xx1_eagle_axs_12sp_without_battery_n-a.jpg
2023-10-13	12:55:37	1919	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:37	1919	[DEBUG]	Process image file
2023-10-13	12:55:37	1919	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:37	1919	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:37	1919	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38312_rear_derailleur_xx1_eagle_axs_12sp_without_battery_n-a.jpg
2023-10-13	12:55:37	1919	[DEBUG]	Full name target: bcprisme/38312_rear_derailleur_xx1_eagle_axs_12sp_without_battery_n-a.jpg
2023-10-13	12:55:38	1919	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:38	1919	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38312_rear_derailleur_xx1_eagle_axs_12sp_without_battery_n-a.jpg'
2023-10-13	12:55:38	1919	[DEBUG]	Query for Media
2023-10-13	12:55:38	1919	[DEBUG]	Executed store
2023-10-13	12:55:38	1919	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38312_rear_derailleur_xx1_eagle_axs_12sp_without_battery_n-a.jpg',`file_url_thumb`='bcprisme/38312_rear_derailleur_xx1_eagle_axs_12sp_without_battery_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1341660'
2023-10-13	12:55:38	1919	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:38	1919	[DEBUG]	Executed store
2023-10-13	12:55:38	1919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861411','1341660','1')
2023-10-13	12:55:38	1919	[DEBUG]	Store product image relation
2023-10-13	12:55:38	1919	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:38	1919	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861411 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:38	1919	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:38	1919	[DEBUG]	Executed store
2023-10-13	12:55:38	1919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861411','0','812.441968430826','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:38	1919	[DEBUG]	Checking manufacturer
2023-10-13	12:55:38	1919	[DEBUG]	Load a row
2023-10-13	12:55:38	1919	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:38	1919	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:38	1919	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:38	1919	[DEBUG]	Executed store
2023-10-13	12:55:38	1919	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:38	1919	[DEBUG]	Manufacturer exists
2023-10-13	12:55:38	1919	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:38	1919	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:38	1919	[DEBUG]	Executed store
2023-10-13	12:55:38	1919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861411','35')
2023-10-13	12:55:38	1919	[DEBUG]	Find the custom field ID
2023-10-13	12:55:38	1919	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:38	1919	[DEBUG]	No custom field ID found
2023-10-13	12:55:38	1919	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:38	1919	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:38	1919	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861411 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:38	1919	[DEBUG]	Store custom available field
2023-10-13	12:55:38	1919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861411,3,'0',1)
2023-10-13	12:55:38	1919	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:38	1919	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:38	1919	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861411 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:38	1919	[DEBUG]	Store custom available field
2023-10-13	12:55:38	1919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861411,6,'choisir la taille',3)
2023-10-13	12:55:38	1919	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:38	1919	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:38	1919	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:38	1919	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:38	1919	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861411 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:38	1919	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:38	1919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861411,8,1)
2023-10-13	12:55:38	1919	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:38	1919	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861411\":[1861411,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861411
2023-10-13	12:55:38	1919	[DEBUG]	Checking category
2023-10-13	12:55:38	1919	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:38	1919	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861411
2023-10-13	12:55:38	1919	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:38	1919	[DEBUG]	Executed store
2023-10-13	12:55:38	1919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861411','7312')
2023-10-13	12:55:38	1919	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:38	1919	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861411 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:38	1919	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:38	1919	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861411
2023-10-13	12:55:38	1920	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:38	1920	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:38	1920	[DEBUG]	Use field value for field taille
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:38	1920	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:38	1920	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:38	1920	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:38	1920	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:38	1920	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:38	1920	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:38	1920	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:38	1920	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:38	1920	[DEBUG]	Use field value for field published
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:38	1920	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field override
2023-10-13	12:55:38	1920	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:38	1920	[DEBUG]	Use field value for field slug
2023-10-13	12:55:38	1920	[DEBUG]	Process line 1920
2023-10-13	12:55:38	1920	[DEBUG]	Load a row
2023-10-13	12:55:38	1920	[DEBUG]	Processing item: 710845824036
2023-10-13	12:55:38	1920	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:38	1920	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:38	1920	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9234_84'
2023-10-13	12:55:38	1920	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:38	1920	[DEBUG]	Processing product tax
2023-10-13	12:55:38	1920	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:38	1920	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:38	1920	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:38	1920	[DEBUG]	Query for Product
2023-10-13	12:55:38	1920	[DEBUG]	Executed store
2023-10-13	12:55:38	1920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861411','710845824036','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:38	1920	[DEBUG]	No parent found
2023-10-13	12:55:38	1920	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861411 AND customfield_value = 'stockable'
2023-10-13	12:55:38	1920	[DEBUG]	Check product language entry
2023-10-13	12:55:38	1920	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861412
2023-10-13	12:55:38	1920	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:38	1920	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845824036' AND `virtuemart_product_id` != 1861412
2023-10-13	12:55:38	1920	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:38	1920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861412, '710845824036')
2023-10-13	12:55:38	1920	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:38	1920	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rear-derailleur-xx1-eagle-axs-12sp-without-battery-n-a-black-unitaire' AND `virtuemart_product_id` != 1861412
2023-10-13	12:55:38	1920	[DEBUG]	Query for ProductLang
2023-10-13	12:55:38	1920	[DEBUG]	Executed store
2023-10-13	12:55:38	1920	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Rear Derailleur XX1 Eagle AXS 12SP without Battery N/A / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rear-derailleur-xx1-eagle-axs-12sp-without-battery-n-a-black-unitaire' WHERE `virtuemart_product_id` = '1861412'
2023-10-13	12:55:38	1920	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38312_rear_derailleur_xx1_eagle_axs_12sp_without_battery_n-a.jpg
2023-10-13	12:55:38	1920	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:38	1920	[DEBUG]	Process image file
2023-10-13	12:55:38	1920	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:38	1920	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:38	1920	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38312_rear_derailleur_xx1_eagle_axs_12sp_without_battery_n-a.jpg
2023-10-13	12:55:38	1920	[DEBUG]	Full name target: bcprisme/38312_rear_derailleur_xx1_eagle_axs_12sp_without_battery_n-a.jpg
2023-10-13	12:55:39	1920	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:39	1920	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38312_rear_derailleur_xx1_eagle_axs_12sp_without_battery_n-a.jpg'
2023-10-13	12:55:39	1920	[DEBUG]	Query for Media
2023-10-13	12:55:39	1920	[DEBUG]	Executed store
2023-10-13	12:55:39	1920	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38312_rear_derailleur_xx1_eagle_axs_12sp_without_battery_n-a.jpg',`file_url_thumb`='bcprisme/38312_rear_derailleur_xx1_eagle_axs_12sp_without_battery_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1341660'
2023-10-13	12:55:39	1920	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:39	1920	[DEBUG]	Executed store
2023-10-13	12:55:39	1920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861412','1341660','1')
2023-10-13	12:55:39	1920	[DEBUG]	Store product image relation
2023-10-13	12:55:39	1920	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:39	1920	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861412 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:39	1920	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:39	1920	[DEBUG]	Executed store
2023-10-13	12:55:39	1920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861412','0','812.441968430826','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:39	1920	[DEBUG]	Checking manufacturer
2023-10-13	12:55:39	1920	[DEBUG]	Load a row
2023-10-13	12:55:39	1920	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:39	1920	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:39	1920	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:39	1920	[DEBUG]	Executed store
2023-10-13	12:55:39	1920	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:39	1920	[DEBUG]	Manufacturer exists
2023-10-13	12:55:39	1920	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:39	1920	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:39	1920	[DEBUG]	Executed store
2023-10-13	12:55:39	1920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861412','35')
2023-10-13	12:55:39	1920	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:39	1920	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:39	1920	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861412 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:39	1920	[DEBUG]	Store custom available field
2023-10-13	12:55:39	1920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861412,3,'',1)
2023-10-13	12:55:39	1920	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:39	1920	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:39	1920	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861412 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:39	1920	[DEBUG]	Store custom available field
2023-10-13	12:55:39	1920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861412,6,'Unitaire',3)
2023-10-13	12:55:39	1920	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:39	1920	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:39	1920	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861411
2023-10-13	12:55:39	1920	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:39	1920	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861411\":[1861411,8,1,\"choisir la taille\"],\"1861412\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861411
2023-10-13	12:55:39	1920	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:39	1920	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861412
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:39	1921	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field taille
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:39	1921	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:39	1921	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:39	1921	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:39	1921	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:39	1921	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:39	1921	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:39	1921	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field published
2023-10-13	12:55:39	1921	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:39	1921	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field override
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:39	1921	[DEBUG]	Use field value for field slug
2023-10-13	12:55:39	1921	[DEBUG]	Process line 1921
2023-10-13	12:55:39	1921	[DEBUG]	Load a row
2023-10-13	12:55:39	1921	[DEBUG]	Processing item: A_9235_751
2023-10-13	12:55:39	1921	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:39	1921	[DEBUG]	Processing product tax
2023-10-13	12:55:39	1921	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:39	1921	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:39	1921	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:39	1921	[DEBUG]	Query for Product
2023-10-13	12:55:39	1921	[DEBUG]	Executed store
2023-10-13	12:55:39	1921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9235_751','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:39	1921	[DEBUG]	Check product language entry
2023-10-13	12:55:39	1921	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861413
2023-10-13	12:55:39	1921	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:39	1921	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9235_751' AND `virtuemart_product_id` != 1861413
2023-10-13	12:55:39	1921	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:39	1921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861413, 'A_9235_751')
2023-10-13	12:55:39	1921	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:39	1921	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rear-derailleur-gx-eagle-axs-without-battery-n-a-lunar-grey' AND `virtuemart_product_id` != 1861413
2023-10-13	12:55:39	1921	[DEBUG]	Query for ProductLang
2023-10-13	12:55:39	1921	[DEBUG]	Executed store
2023-10-13	12:55:39	1921	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7565B',`product_name`='SRAM Rear Derailleur GX Eagle AXS without Battery N/A / lunar grey',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rear-derailleur-gx-eagle-axs-without-battery-n-a-lunar-grey' WHERE `virtuemart_product_id` = '1861413'
2023-10-13	12:55:39	1921	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38313_rear_derailleur_gx_eagle_axs_without_battery_n-a.jpg
2023-10-13	12:55:39	1921	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:39	1921	[DEBUG]	Process image file
2023-10-13	12:55:39	1921	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:39	1921	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:39	1921	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38313_rear_derailleur_gx_eagle_axs_without_battery_n-a.jpg
2023-10-13	12:55:39	1921	[DEBUG]	Full name target: bcprisme/38313_rear_derailleur_gx_eagle_axs_without_battery_n-a.jpg
2023-10-13	12:55:40	1921	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:40	1921	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38313_rear_derailleur_gx_eagle_axs_without_battery_n-a.jpg'
2023-10-13	12:55:40	1921	[DEBUG]	Query for Media
2023-10-13	12:55:40	1921	[DEBUG]	Executed store
2023-10-13	12:55:40	1921	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38313_rear_derailleur_gx_eagle_axs_without_battery_n-a.jpg',`file_url_thumb`='bcprisme/38313_rear_derailleur_gx_eagle_axs_without_battery_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1341662'
2023-10-13	12:55:40	1921	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:40	1921	[DEBUG]	Executed store
2023-10-13	12:55:40	1921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861413','1341662','1')
2023-10-13	12:55:40	1921	[DEBUG]	Store product image relation
2023-10-13	12:55:40	1921	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:40	1921	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861413 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:40	1921	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:40	1921	[DEBUG]	Executed store
2023-10-13	12:55:40	1921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861413','0','403.899721448468','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:40	1921	[DEBUG]	Checking manufacturer
2023-10-13	12:55:40	1921	[DEBUG]	Load a row
2023-10-13	12:55:40	1921	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:40	1921	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:40	1921	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:40	1921	[DEBUG]	Executed store
2023-10-13	12:55:40	1921	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:40	1921	[DEBUG]	Manufacturer exists
2023-10-13	12:55:40	1921	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:40	1921	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:40	1921	[DEBUG]	Executed store
2023-10-13	12:55:40	1921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861413','35')
2023-10-13	12:55:40	1921	[DEBUG]	Find the custom field ID
2023-10-13	12:55:40	1921	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:40	1921	[DEBUG]	No custom field ID found
2023-10-13	12:55:40	1921	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:40	1921	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:40	1921	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861413 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:40	1921	[DEBUG]	Store custom available field
2023-10-13	12:55:40	1921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861413,3,'0',1)
2023-10-13	12:55:40	1921	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:40	1921	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:40	1921	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861413 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:40	1921	[DEBUG]	Store custom available field
2023-10-13	12:55:40	1921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861413,6,'choisir la taille',3)
2023-10-13	12:55:40	1921	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:40	1921	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:40	1921	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:40	1921	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:40	1921	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861413 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:40	1921	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:40	1921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861413,8,1)
2023-10-13	12:55:40	1921	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:40	1921	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861413\":[1861413,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861413
2023-10-13	12:55:40	1921	[DEBUG]	Checking category
2023-10-13	12:55:40	1921	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:40	1921	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861413
2023-10-13	12:55:40	1921	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:40	1921	[DEBUG]	Executed store
2023-10-13	12:55:40	1921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861413','7312')
2023-10-13	12:55:40	1921	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:40	1921	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861413 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:40	1921	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:40	1921	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861413
2023-10-13	12:55:40	1922	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:40	1922	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:40	1922	[DEBUG]	Use field value for field taille
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:40	1922	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:40	1922	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:40	1922	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:40	1922	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:40	1922	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:40	1922	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:40	1922	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:40	1922	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:40	1922	[DEBUG]	Use field value for field published
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:40	1922	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field override
2023-10-13	12:55:40	1922	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:40	1922	[DEBUG]	Use field value for field slug
2023-10-13	12:55:40	1922	[DEBUG]	Process line 1922
2023-10-13	12:55:40	1922	[DEBUG]	Load a row
2023-10-13	12:55:40	1922	[DEBUG]	Processing item: 710845864339
2023-10-13	12:55:40	1922	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:40	1922	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:40	1922	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9235_751'
2023-10-13	12:55:40	1922	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:40	1922	[DEBUG]	Processing product tax
2023-10-13	12:55:40	1922	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:40	1922	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:40	1922	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:40	1922	[DEBUG]	Query for Product
2023-10-13	12:55:40	1922	[DEBUG]	Executed store
2023-10-13	12:55:40	1922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861413','710845864339','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:40	1922	[DEBUG]	No parent found
2023-10-13	12:55:40	1922	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861413 AND customfield_value = 'stockable'
2023-10-13	12:55:40	1922	[DEBUG]	Check product language entry
2023-10-13	12:55:40	1922	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861414
2023-10-13	12:55:40	1922	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:40	1922	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845864339' AND `virtuemart_product_id` != 1861414
2023-10-13	12:55:40	1922	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:40	1922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861414, '710845864339')
2023-10-13	12:55:40	1922	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:40	1922	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rear-derailleur-gx-eagle-axs-without-battery-n-a-lunar-grey-unitaire' AND `virtuemart_product_id` != 1861414
2023-10-13	12:55:40	1922	[DEBUG]	Query for ProductLang
2023-10-13	12:55:40	1922	[DEBUG]	Executed store
2023-10-13	12:55:40	1922	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Rear Derailleur GX Eagle AXS without Battery N/A / lunar grey (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rear-derailleur-gx-eagle-axs-without-battery-n-a-lunar-grey-unitaire' WHERE `virtuemart_product_id` = '1861414'
2023-10-13	12:55:40	1922	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38313_rear_derailleur_gx_eagle_axs_without_battery_n-a.jpg
2023-10-13	12:55:40	1922	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:40	1922	[DEBUG]	Process image file
2023-10-13	12:55:40	1922	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:40	1922	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:40	1922	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38313_rear_derailleur_gx_eagle_axs_without_battery_n-a.jpg
2023-10-13	12:55:40	1922	[DEBUG]	Full name target: bcprisme/38313_rear_derailleur_gx_eagle_axs_without_battery_n-a.jpg
2023-10-13	12:55:41	1922	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:41	1922	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38313_rear_derailleur_gx_eagle_axs_without_battery_n-a.jpg'
2023-10-13	12:55:41	1922	[DEBUG]	Query for Media
2023-10-13	12:55:41	1922	[DEBUG]	Executed store
2023-10-13	12:55:41	1922	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38313_rear_derailleur_gx_eagle_axs_without_battery_n-a.jpg',`file_url_thumb`='bcprisme/38313_rear_derailleur_gx_eagle_axs_without_battery_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1341662'
2023-10-13	12:55:41	1922	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:41	1922	[DEBUG]	Executed store
2023-10-13	12:55:41	1922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861414','1341662','1')
2023-10-13	12:55:41	1922	[DEBUG]	Store product image relation
2023-10-13	12:55:41	1922	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:41	1922	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861414 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:41	1922	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:41	1922	[DEBUG]	Executed store
2023-10-13	12:55:41	1922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861414','0','403.899721448468','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:41	1922	[DEBUG]	Checking manufacturer
2023-10-13	12:55:41	1922	[DEBUG]	Load a row
2023-10-13	12:55:41	1922	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:41	1922	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:41	1922	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:41	1922	[DEBUG]	Executed store
2023-10-13	12:55:41	1922	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:41	1922	[DEBUG]	Manufacturer exists
2023-10-13	12:55:41	1922	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:41	1922	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:41	1922	[DEBUG]	Executed store
2023-10-13	12:55:41	1922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861414','35')
2023-10-13	12:55:41	1922	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:41	1922	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:41	1922	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861414 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:41	1922	[DEBUG]	Store custom available field
2023-10-13	12:55:41	1922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861414,3,'',1)
2023-10-13	12:55:41	1922	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:41	1922	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:41	1922	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861414 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:41	1922	[DEBUG]	Store custom available field
2023-10-13	12:55:41	1922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861414,6,'Unitaire',3)
2023-10-13	12:55:41	1922	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:41	1922	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:41	1922	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861413
2023-10-13	12:55:41	1922	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:41	1922	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861413\":[1861413,8,1,\"choisir la taille\"],\"1861414\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861413
2023-10-13	12:55:41	1922	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:41	1922	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861414
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:41	1923	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field taille
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:41	1923	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:41	1923	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:41	1923	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:41	1923	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:41	1923	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:41	1923	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:41	1923	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field published
2023-10-13	12:55:41	1923	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:41	1923	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field override
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:41	1923	[DEBUG]	Use field value for field slug
2023-10-13	12:55:41	1923	[DEBUG]	Process line 1923
2023-10-13	12:55:41	1923	[DEBUG]	Load a row
2023-10-13	12:55:41	1923	[DEBUG]	Processing item: A_9236_751
2023-10-13	12:55:41	1923	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:41	1923	[DEBUG]	Processing product tax
2023-10-13	12:55:41	1923	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:41	1923	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:41	1923	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:41	1923	[DEBUG]	Query for Product
2023-10-13	12:55:42	1923	[DEBUG]	Executed store
2023-10-13	12:55:42	1923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9236_751','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:42	1923	[DEBUG]	Check product language entry
2023-10-13	12:55:42	1923	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861415
2023-10-13	12:55:42	1923	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:42	1923	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9236_751' AND `virtuemart_product_id` != 1861415
2023-10-13	12:55:42	1923	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:42	1923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861415, 'A_9236_751')
2023-10-13	12:55:42	1923	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:42	1923	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-upgradekit-x01-eagle-axs-rocker-lunar-grey' AND `virtuemart_product_id` != 1861415
2023-10-13	12:55:42	1923	[DEBUG]	Query for ProductLang
2023-10-13	12:55:42	1923	[DEBUG]	Executed store
2023-10-13	12:55:42	1923	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7568W',`product_name`='SRAM UpgradeKit X01 Eagle AXS Rocker / lunar grey',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-upgradekit-x01-eagle-axs-rocker-lunar-grey' WHERE `virtuemart_product_id` = '1861415'
2023-10-13	12:55:42	1923	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38314_upgradekit_x01_eagle_axs_rocker.jpg
2023-10-13	12:55:42	1923	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:42	1923	[DEBUG]	Process image file
2023-10-13	12:55:42	1923	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:42	1923	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:42	1923	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38314_upgradekit_x01_eagle_axs_rocker.jpg
2023-10-13	12:55:42	1923	[DEBUG]	Full name target: bcprisme/38314_upgradekit_x01_eagle_axs_rocker.jpg
2023-10-13	12:55:43	1923	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:43	1923	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38314_upgradekit_x01_eagle_axs_rocker.jpg'
2023-10-13	12:55:43	1923	[DEBUG]	Query for Media
2023-10-13	12:55:43	1923	[DEBUG]	Executed store
2023-10-13	12:55:43	1923	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38314_upgradekit_x01_eagle_axs_rocker.jpg',`file_url_thumb`='bcprisme/38314_upgradekit_x01_eagle_axs_rocker.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1341664'
2023-10-13	12:55:43	1923	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:43	1923	[DEBUG]	Executed store
2023-10-13	12:55:43	1923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861415','1341664','1')
2023-10-13	12:55:43	1923	[DEBUG]	Store product image relation
2023-10-13	12:55:43	1923	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:43	1923	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861415 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:43	1923	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:43	1923	[DEBUG]	Executed store
2023-10-13	12:55:43	1923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861415','0','853.296193129062','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:43	1923	[DEBUG]	Checking manufacturer
2023-10-13	12:55:43	1923	[DEBUG]	Load a row
2023-10-13	12:55:43	1923	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:43	1923	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:43	1923	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:43	1923	[DEBUG]	Executed store
2023-10-13	12:55:43	1923	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:43	1923	[DEBUG]	Manufacturer exists
2023-10-13	12:55:43	1923	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:43	1923	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:43	1923	[DEBUG]	Executed store
2023-10-13	12:55:43	1923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861415','35')
2023-10-13	12:55:43	1923	[DEBUG]	Find the custom field ID
2023-10-13	12:55:43	1923	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:43	1923	[DEBUG]	No custom field ID found
2023-10-13	12:55:43	1923	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:43	1923	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:43	1923	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861415 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:43	1923	[DEBUG]	Store custom available field
2023-10-13	12:55:43	1923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861415,3,'0',1)
2023-10-13	12:55:43	1923	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:43	1923	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:43	1923	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861415 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:43	1923	[DEBUG]	Store custom available field
2023-10-13	12:55:43	1923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861415,6,'choisir la taille',3)
2023-10-13	12:55:43	1923	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:43	1923	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:43	1923	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:43	1923	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:43	1923	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861415 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:43	1923	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:43	1923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861415,8,1)
2023-10-13	12:55:43	1923	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:43	1923	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861415\":[1861415,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861415
2023-10-13	12:55:43	1923	[DEBUG]	Checking category
2023-10-13	12:55:43	1923	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:43	1923	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861415
2023-10-13	12:55:43	1923	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:43	1923	[DEBUG]	Executed store
2023-10-13	12:55:43	1923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861415','7312')
2023-10-13	12:55:43	1923	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:43	1923	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861415 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:43	1923	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:43	1923	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861415
2023-10-13	12:55:43	1924	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:43	1924	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:43	1924	[DEBUG]	Use field value for field taille
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:43	1924	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:43	1924	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:43	1924	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:43	1924	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:43	1924	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:43	1924	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:43	1924	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:43	1924	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:43	1924	[DEBUG]	Use field value for field published
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:43	1924	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field override
2023-10-13	12:55:43	1924	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:43	1924	[DEBUG]	Use field value for field slug
2023-10-13	12:55:43	1924	[DEBUG]	Process line 1924
2023-10-13	12:55:43	1924	[DEBUG]	Load a row
2023-10-13	12:55:43	1924	[DEBUG]	Processing item: 710845869426
2023-10-13	12:55:43	1924	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:43	1924	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:43	1924	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9236_751'
2023-10-13	12:55:43	1924	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:43	1924	[DEBUG]	Processing product tax
2023-10-13	12:55:43	1924	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:43	1924	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:43	1924	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:43	1924	[DEBUG]	Query for Product
2023-10-13	12:55:43	1924	[DEBUG]	Executed store
2023-10-13	12:55:43	1924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861415','710845869426','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:43	1924	[DEBUG]	No parent found
2023-10-13	12:55:43	1924	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861415 AND customfield_value = 'stockable'
2023-10-13	12:55:43	1924	[DEBUG]	Check product language entry
2023-10-13	12:55:43	1924	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861416
2023-10-13	12:55:43	1924	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:43	1924	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845869426' AND `virtuemart_product_id` != 1861416
2023-10-13	12:55:43	1924	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:43	1924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861416, '710845869426')
2023-10-13	12:55:43	1924	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:43	1924	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-upgradekit-x01-eagle-axs-rocker-lunar-grey-n-a' AND `virtuemart_product_id` != 1861416
2023-10-13	12:55:43	1924	[DEBUG]	Query for ProductLang
2023-10-13	12:55:43	1924	[DEBUG]	Executed store
2023-10-13	12:55:43	1924	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM UpgradeKit X01 Eagle AXS Rocker / lunar grey (N/A)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-upgradekit-x01-eagle-axs-rocker-lunar-grey-n-a' WHERE `virtuemart_product_id` = '1861416'
2023-10-13	12:55:43	1924	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38314_upgradekit_x01_eagle_axs_rocker.jpg
2023-10-13	12:55:43	1924	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:43	1924	[DEBUG]	Process image file
2023-10-13	12:55:43	1924	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:43	1924	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:43	1924	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38314_upgradekit_x01_eagle_axs_rocker.jpg
2023-10-13	12:55:43	1924	[DEBUG]	Full name target: bcprisme/38314_upgradekit_x01_eagle_axs_rocker.jpg
2023-10-13	12:55:44	1924	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:44	1924	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38314_upgradekit_x01_eagle_axs_rocker.jpg'
2023-10-13	12:55:44	1924	[DEBUG]	Query for Media
2023-10-13	12:55:44	1924	[DEBUG]	Executed store
2023-10-13	12:55:44	1924	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38314_upgradekit_x01_eagle_axs_rocker.jpg',`file_url_thumb`='bcprisme/38314_upgradekit_x01_eagle_axs_rocker.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1341664'
2023-10-13	12:55:44	1924	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:44	1924	[DEBUG]	Executed store
2023-10-13	12:55:44	1924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861416','1341664','1')
2023-10-13	12:55:44	1924	[DEBUG]	Store product image relation
2023-10-13	12:55:44	1924	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:44	1924	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861416 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:44	1924	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:44	1924	[DEBUG]	Executed store
2023-10-13	12:55:44	1924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861416','0','853.296193129062','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:44	1924	[DEBUG]	Checking manufacturer
2023-10-13	12:55:44	1924	[DEBUG]	Load a row
2023-10-13	12:55:44	1924	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:44	1924	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:44	1924	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:44	1924	[DEBUG]	Executed store
2023-10-13	12:55:44	1924	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:44	1924	[DEBUG]	Manufacturer exists
2023-10-13	12:55:44	1924	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:44	1924	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:44	1924	[DEBUG]	Executed store
2023-10-13	12:55:44	1924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861416','35')
2023-10-13	12:55:44	1924	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:44	1924	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:44	1924	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861416 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:44	1924	[DEBUG]	Store custom available field
2023-10-13	12:55:44	1924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861416,3,'',1)
2023-10-13	12:55:44	1924	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:44	1924	[DEBUG]	Get existing row with customfield value N/A
2023-10-13	12:55:44	1924	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861416 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:44	1924	[DEBUG]	Store custom available field
2023-10-13	12:55:44	1924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861416,6,'N/A',3)
2023-10-13	12:55:44	1924	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:44	1924	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:44	1924	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861415
2023-10-13	12:55:44	1924	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:44	1924	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nN\\/A\"}]|clabels=0|options={\"1861415\":[1861415,8,1,\"choisir la taille\"],\"1861416\":[\"N\\/A\"]}|' WHERE `virtuemart_product_id` = 1861415
2023-10-13	12:55:44	1924	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:44	1924	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861416
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:44	1925	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field taille
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:44	1925	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:44	1925	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:44	1925	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:44	1925	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:44	1925	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:44	1925	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:44	1925	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field published
2023-10-13	12:55:44	1925	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:44	1925	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field override
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:44	1925	[DEBUG]	Use field value for field slug
2023-10-13	12:55:44	1925	[DEBUG]	Process line 1925
2023-10-13	12:55:44	1925	[DEBUG]	Load a row
2023-10-13	12:55:44	1925	[DEBUG]	Processing item: A_9236_765
2023-10-13	12:55:44	1925	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:44	1925	[DEBUG]	Processing product tax
2023-10-13	12:55:44	1925	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:44	1925	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:44	1925	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:44	1925	[DEBUG]	Query for Product
2023-10-13	12:55:44	1925	[DEBUG]	Executed store
2023-10-13	12:55:44	1925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9236_765','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:44	1925	[DEBUG]	Check product language entry
2023-10-13	12:55:44	1925	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861417
2023-10-13	12:55:44	1925	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:44	1925	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9236_765' AND `virtuemart_product_id` != 1861417
2023-10-13	12:55:44	1925	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:44	1925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861417, 'A_9236_765')
2023-10-13	12:55:44	1925	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:44	1925	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-upgradekit-x01-eagle-axs-rocker-lunar-grey-red' AND `virtuemart_product_id` != 1861417
2023-10-13	12:55:44	1925	[DEBUG]	Query for ProductLang
2023-10-13	12:55:44	1925	[DEBUG]	Executed store
2023-10-13	12:55:44	1925	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7568W',`product_name`='SRAM UpgradeKit X01 Eagle AXS Rocker / lunar grey/red',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-upgradekit-x01-eagle-axs-rocker-lunar-grey-red' WHERE `virtuemart_product_id` = '1861417'
2023-10-13	12:55:44	1925	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/f4d748e1-c741-47e4-b99f-84151e7b8473.png has not been found.
2023-10-13	12:55:44	1925	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:44	1925	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861417 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:44	1925	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:44	1925	[DEBUG]	Executed store
2023-10-13	12:55:44	1925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861417','0','853.296193129062','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:44	1925	[DEBUG]	Checking manufacturer
2023-10-13	12:55:44	1925	[DEBUG]	Load a row
2023-10-13	12:55:44	1925	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:44	1925	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:44	1925	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:44	1925	[DEBUG]	Executed store
2023-10-13	12:55:44	1925	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:44	1925	[DEBUG]	Manufacturer exists
2023-10-13	12:55:44	1925	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:44	1925	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:44	1925	[DEBUG]	Executed store
2023-10-13	12:55:44	1925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861417','35')
2023-10-13	12:55:44	1925	[DEBUG]	Find the custom field ID
2023-10-13	12:55:44	1925	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:44	1925	[DEBUG]	No custom field ID found
2023-10-13	12:55:44	1925	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:44	1925	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:44	1925	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861417 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:44	1925	[DEBUG]	Store custom available field
2023-10-13	12:55:44	1925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861417,3,'0',1)
2023-10-13	12:55:44	1925	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:44	1925	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:44	1925	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861417 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:44	1925	[DEBUG]	Store custom available field
2023-10-13	12:55:44	1925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861417,6,'choisir la taille',3)
2023-10-13	12:55:44	1925	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:44	1925	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:44	1925	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:44	1925	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:44	1925	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861417 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:44	1925	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:44	1925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861417,8,1)
2023-10-13	12:55:44	1925	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:44	1925	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861417\":[1861417,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861417
2023-10-13	12:55:44	1925	[DEBUG]	Checking category
2023-10-13	12:55:44	1925	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:44	1925	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861417
2023-10-13	12:55:44	1925	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:44	1925	[DEBUG]	Executed store
2023-10-13	12:55:44	1925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861417','7312')
2023-10-13	12:55:44	1925	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:44	1925	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861417 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:44	1925	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:44	1925	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861417
2023-10-13	12:55:44	1926	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:44	1926	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:44	1926	[DEBUG]	Use field value for field taille
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:44	1926	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:44	1926	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:44	1926	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:44	1926	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:44	1926	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:44	1926	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:44	1926	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:44	1926	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:44	1926	[DEBUG]	Use field value for field published
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:44	1926	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field override
2023-10-13	12:55:44	1926	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:44	1926	[DEBUG]	Use field value for field slug
2023-10-13	12:55:44	1926	[DEBUG]	Process line 1926
2023-10-13	12:55:44	1926	[DEBUG]	Load a row
2023-10-13	12:55:44	1926	[DEBUG]	Processing item: 710845869433
2023-10-13	12:55:44	1926	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:44	1926	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:44	1926	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9236_765'
2023-10-13	12:55:44	1926	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:44	1926	[DEBUG]	Processing product tax
2023-10-13	12:55:44	1926	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:44	1926	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:44	1926	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:44	1926	[DEBUG]	Query for Product
2023-10-13	12:55:44	1926	[DEBUG]	Executed store
2023-10-13	12:55:44	1926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861417','710845869433','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:44	1926	[DEBUG]	No parent found
2023-10-13	12:55:44	1926	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861417 AND customfield_value = 'stockable'
2023-10-13	12:55:44	1926	[DEBUG]	Check product language entry
2023-10-13	12:55:44	1926	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861418
2023-10-13	12:55:44	1926	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:44	1926	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845869433' AND `virtuemart_product_id` != 1861418
2023-10-13	12:55:44	1926	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:44	1926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861418, '710845869433')
2023-10-13	12:55:44	1926	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:44	1926	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-upgradekit-x01-eagle-axs-rocker-lunar-grey-red-n-a' AND `virtuemart_product_id` != 1861418
2023-10-13	12:55:44	1926	[DEBUG]	Query for ProductLang
2023-10-13	12:55:44	1926	[DEBUG]	Executed store
2023-10-13	12:55:44	1926	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM UpgradeKit X01 Eagle AXS Rocker / lunar grey/red (N/A)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-upgradekit-x01-eagle-axs-rocker-lunar-grey-red-n-a' WHERE `virtuemart_product_id` = '1861418'
2023-10-13	12:55:44	1926	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/f4d748e1-c741-47e4-b99f-84151e7b8473.png has not been found.
2023-10-13	12:55:44	1926	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:44	1926	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861418 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:44	1926	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:44	1926	[DEBUG]	Executed store
2023-10-13	12:55:44	1926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861418','0','853.296193129062','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:44	1926	[DEBUG]	Checking manufacturer
2023-10-13	12:55:44	1926	[DEBUG]	Load a row
2023-10-13	12:55:44	1926	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:44	1926	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:44	1926	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:44	1926	[DEBUG]	Executed store
2023-10-13	12:55:44	1926	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:44	1926	[DEBUG]	Manufacturer exists
2023-10-13	12:55:44	1926	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:44	1926	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:44	1926	[DEBUG]	Executed store
2023-10-13	12:55:44	1926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861418','35')
2023-10-13	12:55:44	1926	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:44	1926	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:44	1926	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861418 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:44	1926	[DEBUG]	Store custom available field
2023-10-13	12:55:44	1926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861418,3,'',1)
2023-10-13	12:55:44	1926	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:44	1926	[DEBUG]	Get existing row with customfield value N/A
2023-10-13	12:55:44	1926	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861418 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:44	1926	[DEBUG]	Store custom available field
2023-10-13	12:55:44	1926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861418,6,'N/A',3)
2023-10-13	12:55:44	1926	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:44	1926	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:44	1926	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861417
2023-10-13	12:55:44	1926	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:44	1926	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nN\\/A\"}]|clabels=0|options={\"1861417\":[1861417,8,1,\"choisir la taille\"],\"1861418\":[\"N\\/A\"]}|' WHERE `virtuemart_product_id` = 1861417
2023-10-13	12:55:44	1926	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:44	1926	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861418
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:44	1927	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field taille
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:44	1927	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:44	1927	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:44	1927	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field product_weight
2023-10-13	12:55:44	1927	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:44	1927	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:44	1927	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field published
2023-10-13	12:55:44	1927	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:44	1927	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field override
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:44	1927	[DEBUG]	Use field value for field slug
2023-10-13	12:55:44	1927	[DEBUG]	Process line 1927
2023-10-13	12:55:44	1927	[DEBUG]	Load a row
2023-10-13	12:55:44	1927	[DEBUG]	Processing item: A_9335_1
2023-10-13	12:55:44	1927	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:44	1927	[DEBUG]	Processing product tax
2023-10-13	12:55:44	1927	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:44	1927	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:44	1927	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:44	1927	[DEBUG]	Query for Product
2023-10-13	12:55:44	1927	[DEBUG]	Executed store
2023-10-13	12:55:44	1927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9335_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:44	1927	[DEBUG]	Check product language entry
2023-10-13	12:55:44	1927	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861419
2023-10-13	12:55:44	1927	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:44	1927	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9335_1' AND `virtuemart_product_id` != 1861419
2023-10-13	12:55:44	1927	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:44	1927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861419, 'A_9335_1')
2023-10-13	12:55:44	1927	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:44	1927	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-rival-etap-axs-d1-medium-cage-12-vit-excl-batterie-max-36-t-noir' AND `virtuemart_product_id` != 1861419
2023-10-13	12:55:44	1927	[DEBUG]	Query for ProductLang
2023-10-13	12:55:44	1927	[DEBUG]	Executed store
2023-10-13	12:55:44	1927	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7566D',`product_name`='SRAM Dérailleur arrière Rival eTap AXS D1, Medium Cage, 12-vit, excl. Batterie, max 36 T / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-rival-etap-axs-d1-medium-cage-12-vit-excl-batterie-max-36-t-noir' WHERE `virtuemart_product_id` = '1861419'
2023-10-13	12:55:44	1927	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38423_.jpg
2023-10-13	12:55:44	1927	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:44	1927	[DEBUG]	Process image file
2023-10-13	12:55:44	1927	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:44	1927	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:44	1927	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38423_.jpg
2023-10-13	12:55:44	1927	[DEBUG]	Full name target: bcprisme/38423_.jpg
2023-10-13	12:55:45	1927	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:45	1927	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38423_.jpg'
2023-10-13	12:55:45	1927	[DEBUG]	Query for Media
2023-10-13	12:55:45	1927	[DEBUG]	Executed store
2023-10-13	12:55:45	1927	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38423_.jpg',`file_url_thumb`='bcprisme/38423_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1381316'
2023-10-13	12:55:45	1927	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:45	1927	[DEBUG]	Executed store
2023-10-13	12:55:45	1927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861419','1381316','1')
2023-10-13	12:55:45	1927	[DEBUG]	Store product image relation
2023-10-13	12:55:45	1927	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:45	1927	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861419 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:45	1927	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:45	1927	[DEBUG]	Executed store
2023-10-13	12:55:45	1927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861419','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:45	1927	[DEBUG]	Checking manufacturer
2023-10-13	12:55:45	1927	[DEBUG]	Load a row
2023-10-13	12:55:45	1927	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:45	1927	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:45	1927	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:45	1927	[DEBUG]	Executed store
2023-10-13	12:55:45	1927	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:45	1927	[DEBUG]	Manufacturer exists
2023-10-13	12:55:45	1927	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:45	1927	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:45	1927	[DEBUG]	Executed store
2023-10-13	12:55:45	1927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861419','35')
2023-10-13	12:55:45	1927	[DEBUG]	Find the custom field ID
2023-10-13	12:55:45	1927	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:45	1927	[DEBUG]	No custom field ID found
2023-10-13	12:55:45	1927	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:45	1927	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:45	1927	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861419 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:45	1927	[DEBUG]	Store custom available field
2023-10-13	12:55:45	1927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861419,3,'0',1)
2023-10-13	12:55:45	1927	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:45	1927	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:45	1927	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861419 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:45	1927	[DEBUG]	Store custom available field
2023-10-13	12:55:45	1927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861419,6,'choisir la taille',3)
2023-10-13	12:55:45	1927	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:45	1927	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:45	1927	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:45	1927	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:45	1927	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861419 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:45	1927	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:45	1927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861419,8,1)
2023-10-13	12:55:45	1927	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:45	1927	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861419\":[1861419,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861419
2023-10-13	12:55:45	1927	[DEBUG]	Checking category
2023-10-13	12:55:45	1927	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:45	1927	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861419
2023-10-13	12:55:45	1927	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:45	1927	[DEBUG]	Executed store
2023-10-13	12:55:45	1927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861419','7312')
2023-10-13	12:55:45	1927	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:45	1927	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861419 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:45	1927	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:45	1927	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861419
2023-10-13	12:55:45	1928	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:45	1928	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:45	1928	[DEBUG]	Use field value for field taille
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:45	1928	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:45	1928	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:45	1928	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:45	1928	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:45	1928	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:45	1928	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:45	1928	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:45	1928	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:45	1928	[DEBUG]	Use field value for field published
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:45	1928	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field override
2023-10-13	12:55:45	1928	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:45	1928	[DEBUG]	Use field value for field slug
2023-10-13	12:55:45	1928	[DEBUG]	Process line 1928
2023-10-13	12:55:45	1928	[DEBUG]	Load a row
2023-10-13	12:55:45	1928	[DEBUG]	Processing item: 1000000229851
2023-10-13	12:55:45	1928	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:45	1928	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:45	1928	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9335_1'
2023-10-13	12:55:45	1928	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:45	1928	[DEBUG]	Processing product tax
2023-10-13	12:55:45	1928	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:45	1928	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:45	1928	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:45	1928	[DEBUG]	Query for Product
2023-10-13	12:55:45	1928	[DEBUG]	Executed store
2023-10-13	12:55:45	1928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861419','1000000229851','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:45	1928	[DEBUG]	No parent found
2023-10-13	12:55:45	1928	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861419 AND customfield_value = 'stockable'
2023-10-13	12:55:45	1928	[DEBUG]	Check product language entry
2023-10-13	12:55:45	1928	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861420
2023-10-13	12:55:45	1928	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:45	1928	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000229851' AND `virtuemart_product_id` != 1861420
2023-10-13	12:55:45	1928	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:45	1928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861420, '1000000229851')
2023-10-13	12:55:45	1928	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:45	1928	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-arriere-rival-etap-axs-d1-medium-cage-12-vit-excl-batterie-max-36-t-noir-unitaire' AND `virtuemart_product_id` != 1861420
2023-10-13	12:55:45	1928	[DEBUG]	Query for ProductLang
2023-10-13	12:55:45	1928	[DEBUG]	Executed store
2023-10-13	12:55:45	1928	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Dérailleur arrière Rival eTap AXS D1, Medium Cage, 12-vit, excl. Batterie, max 36 T / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-arriere-rival-etap-axs-d1-medium-cage-12-vit-excl-batterie-max-36-t-noir-unitaire' WHERE `virtuemart_product_id` = '1861420'
2023-10-13	12:55:45	1928	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38423_.jpg
2023-10-13	12:55:45	1928	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:45	1928	[DEBUG]	Process image file
2023-10-13	12:55:45	1928	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:45	1928	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:45	1928	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38423_.jpg
2023-10-13	12:55:45	1928	[DEBUG]	Full name target: bcprisme/38423_.jpg
2023-10-13	12:55:46	1928	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:46	1928	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38423_.jpg'
2023-10-13	12:55:46	1928	[DEBUG]	Query for Media
2023-10-13	12:55:46	1928	[DEBUG]	Executed store
2023-10-13	12:55:46	1928	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38423_.jpg',`file_url_thumb`='bcprisme/38423_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1381316'
2023-10-13	12:55:46	1928	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:46	1928	[DEBUG]	Executed store
2023-10-13	12:55:46	1928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861420','1381316','1')
2023-10-13	12:55:46	1928	[DEBUG]	Store product image relation
2023-10-13	12:55:46	1928	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:46	1928	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861420 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:46	1928	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:46	1928	[DEBUG]	Executed store
2023-10-13	12:55:46	1928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861420','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:46	1928	[DEBUG]	Checking manufacturer
2023-10-13	12:55:46	1928	[DEBUG]	Load a row
2023-10-13	12:55:46	1928	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:46	1928	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:46	1928	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:46	1928	[DEBUG]	Executed store
2023-10-13	12:55:46	1928	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:46	1928	[DEBUG]	Manufacturer exists
2023-10-13	12:55:46	1928	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:46	1928	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:46	1928	[DEBUG]	Executed store
2023-10-13	12:55:46	1928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861420','35')
2023-10-13	12:55:46	1928	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:46	1928	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:46	1928	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861420 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:46	1928	[DEBUG]	Store custom available field
2023-10-13	12:55:46	1928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861420,3,'',1)
2023-10-13	12:55:46	1928	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:46	1928	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:46	1928	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861420 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:46	1928	[DEBUG]	Store custom available field
2023-10-13	12:55:46	1928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861420,6,'Unitaire',3)
2023-10-13	12:55:46	1928	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:46	1928	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:46	1928	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861419
2023-10-13	12:55:46	1928	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:46	1928	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861419\":[1861419,8,1,\"choisir la taille\"],\"1861420\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861419
2023-10-13	12:55:46	1928	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:46	1928	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861420
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:46	1929	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field taille
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:46	1929	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:46	1929	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:46	1929	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field product_weight
2023-10-13	12:55:46	1929	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:46	1929	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:46	1929	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field published
2023-10-13	12:55:46	1929	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:46	1929	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field override
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:46	1929	[DEBUG]	Use field value for field slug
2023-10-13	12:55:46	1929	[DEBUG]	Process line 1929
2023-10-13	12:55:46	1929	[DEBUG]	Load a row
2023-10-13	12:55:46	1929	[DEBUG]	Processing item: A_9338_1
2023-10-13	12:55:46	1929	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:46	1929	[DEBUG]	Processing product tax
2023-10-13	12:55:46	1929	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:46	1929	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:46	1929	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:46	1929	[DEBUG]	Query for Product
2023-10-13	12:55:46	1929	[DEBUG]	Executed store
2023-10-13	12:55:46	1929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9338_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:46	1929	[DEBUG]	Check product language entry
2023-10-13	12:55:46	1929	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861421
2023-10-13	12:55:46	1929	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:46	1929	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9338_1' AND `virtuemart_product_id` != 1861421
2023-10-13	12:55:46	1929	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:46	1929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861421, 'A_9338_1')
2023-10-13	12:55:46	1929	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:46	1929	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-avant-rival-etap-axs-braze-on-excl-batterie-noir' AND `virtuemart_product_id` != 1861421
2023-10-13	12:55:46	1929	[DEBUG]	Query for ProductLang
2023-10-13	12:55:46	1929	[DEBUG]	Executed store
2023-10-13	12:55:46	1929	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7566B',`product_name`='SRAM Dérailleur avant Rival eTap AXS Braze-on, excl. Batterie / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-avant-rival-etap-axs-braze-on-excl-batterie-noir' WHERE `virtuemart_product_id` = '1861421'
2023-10-13	12:55:46	1929	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38426_derailleur_avant_rival_etap_axs_braze-on,_excl__batterie.jpg
2023-10-13	12:55:46	1929	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:46	1929	[DEBUG]	Process image file
2023-10-13	12:55:46	1929	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:46	1929	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:46	1929	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38426_derailleur_avant_rival_etap_axs_braze-on,_excl__batterie.jpg
2023-10-13	12:55:46	1929	[DEBUG]	Full name target: bcprisme/38426_derailleur_avant_rival_etap_axs_braze-on,_excl__batterie.jpg
2023-10-13	12:55:47	1929	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:47	1929	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38426_derailleur_avant_rival_etap_axs_braze-on,_excl__batterie.jpg'
2023-10-13	12:55:47	1929	[DEBUG]	Query for Media
2023-10-13	12:55:47	1929	[DEBUG]	Executed store
2023-10-13	12:55:47	1929	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38426_derailleur_avant_rival_etap_axs_braze-on,_excl__batterie.jpg',`file_url_thumb`='bcprisme/38426_derailleur_avant_rival_etap_axs_braze-on,_excl__batterie.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1374585'
2023-10-13	12:55:47	1929	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:47	1929	[DEBUG]	Executed store
2023-10-13	12:55:47	1929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861421','1374585','1')
2023-10-13	12:55:47	1929	[DEBUG]	Store product image relation
2023-10-13	12:55:47	1929	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:47	1929	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861421 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:47	1929	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:47	1929	[DEBUG]	Executed store
2023-10-13	12:55:47	1929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861421','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:47	1929	[DEBUG]	Checking manufacturer
2023-10-13	12:55:47	1929	[DEBUG]	Load a row
2023-10-13	12:55:47	1929	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:47	1929	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:47	1929	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:47	1929	[DEBUG]	Executed store
2023-10-13	12:55:47	1929	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:47	1929	[DEBUG]	Manufacturer exists
2023-10-13	12:55:47	1929	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:47	1929	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:47	1929	[DEBUG]	Executed store
2023-10-13	12:55:47	1929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861421','35')
2023-10-13	12:55:47	1929	[DEBUG]	Find the custom field ID
2023-10-13	12:55:47	1929	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:47	1929	[DEBUG]	No custom field ID found
2023-10-13	12:55:47	1929	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:47	1929	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:47	1929	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861421 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:47	1929	[DEBUG]	Store custom available field
2023-10-13	12:55:47	1929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861421,3,'0',1)
2023-10-13	12:55:47	1929	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:47	1929	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:47	1929	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861421 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:47	1929	[DEBUG]	Store custom available field
2023-10-13	12:55:47	1929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861421,6,'choisir la taille',3)
2023-10-13	12:55:47	1929	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:47	1929	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:47	1929	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:47	1929	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:47	1929	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861421 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:47	1929	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:47	1929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861421,8,1)
2023-10-13	12:55:47	1929	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:47	1929	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861421\":[1861421,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861421
2023-10-13	12:55:47	1929	[DEBUG]	Checking category
2023-10-13	12:55:47	1929	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:47	1929	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861421
2023-10-13	12:55:47	1929	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:47	1929	[DEBUG]	Executed store
2023-10-13	12:55:47	1929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861421','7312')
2023-10-13	12:55:47	1929	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:47	1929	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861421 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:47	1929	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:47	1929	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861421
2023-10-13	12:55:47	1930	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:47	1930	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:47	1930	[DEBUG]	Use field value for field taille
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:47	1930	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:47	1930	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:47	1930	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:47	1930	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:47	1930	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:47	1930	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:47	1930	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:47	1930	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:47	1930	[DEBUG]	Use field value for field published
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:47	1930	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field override
2023-10-13	12:55:47	1930	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:47	1930	[DEBUG]	Use field value for field slug
2023-10-13	12:55:47	1930	[DEBUG]	Process line 1930
2023-10-13	12:55:47	1930	[DEBUG]	Load a row
2023-10-13	12:55:47	1930	[DEBUG]	Processing item: 1000000229882
2023-10-13	12:55:47	1930	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:47	1930	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:47	1930	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9338_1'
2023-10-13	12:55:47	1930	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:47	1930	[DEBUG]	Processing product tax
2023-10-13	12:55:47	1930	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:47	1930	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:47	1930	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:47	1930	[DEBUG]	Query for Product
2023-10-13	12:55:47	1930	[DEBUG]	Executed store
2023-10-13	12:55:47	1930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861421','1000000229882','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:47	1930	[DEBUG]	No parent found
2023-10-13	12:55:47	1930	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861421 AND customfield_value = 'stockable'
2023-10-13	12:55:47	1930	[DEBUG]	Check product language entry
2023-10-13	12:55:47	1930	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861422
2023-10-13	12:55:47	1930	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:47	1930	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000229882' AND `virtuemart_product_id` != 1861422
2023-10-13	12:55:47	1930	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:47	1930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861422, '1000000229882')
2023-10-13	12:55:47	1930	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:47	1930	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-derailleur-avant-rival-etap-axs-braze-on-excl-batterie-noir-unitaire' AND `virtuemart_product_id` != 1861422
2023-10-13	12:55:47	1930	[DEBUG]	Query for ProductLang
2023-10-13	12:55:47	1930	[DEBUG]	Executed store
2023-10-13	12:55:47	1930	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Dérailleur avant Rival eTap AXS Braze-on, excl. Batterie / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-derailleur-avant-rival-etap-axs-braze-on-excl-batterie-noir-unitaire' WHERE `virtuemart_product_id` = '1861422'
2023-10-13	12:55:47	1930	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38426_derailleur_avant_rival_etap_axs_braze-on,_excl__batterie.jpg
2023-10-13	12:55:47	1930	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:47	1930	[DEBUG]	Process image file
2023-10-13	12:55:47	1930	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:47	1930	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:47	1930	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38426_derailleur_avant_rival_etap_axs_braze-on,_excl__batterie.jpg
2023-10-13	12:55:47	1930	[DEBUG]	Full name target: bcprisme/38426_derailleur_avant_rival_etap_axs_braze-on,_excl__batterie.jpg
2023-10-13	12:55:48	1930	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:48	1930	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38426_derailleur_avant_rival_etap_axs_braze-on,_excl__batterie.jpg'
2023-10-13	12:55:48	1930	[DEBUG]	Query for Media
2023-10-13	12:55:48	1930	[DEBUG]	Executed store
2023-10-13	12:55:48	1930	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38426_derailleur_avant_rival_etap_axs_braze-on,_excl__batterie.jpg',`file_url_thumb`='bcprisme/38426_derailleur_avant_rival_etap_axs_braze-on,_excl__batterie.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1374585'
2023-10-13	12:55:48	1930	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:48	1930	[DEBUG]	Executed store
2023-10-13	12:55:48	1930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861422','1374585','1')
2023-10-13	12:55:48	1930	[DEBUG]	Store product image relation
2023-10-13	12:55:48	1930	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:48	1930	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861422 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:48	1930	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:48	1930	[DEBUG]	Executed store
2023-10-13	12:55:48	1930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861422','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:48	1930	[DEBUG]	Checking manufacturer
2023-10-13	12:55:48	1930	[DEBUG]	Load a row
2023-10-13	12:55:48	1930	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:48	1930	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:48	1930	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:48	1930	[DEBUG]	Executed store
2023-10-13	12:55:48	1930	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:55:48	1930	[DEBUG]	Manufacturer exists
2023-10-13	12:55:48	1930	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:55:48	1930	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:48	1930	[DEBUG]	Executed store
2023-10-13	12:55:48	1930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861422','35')
2023-10-13	12:55:48	1930	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:48	1930	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:48	1930	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861422 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:48	1930	[DEBUG]	Store custom available field
2023-10-13	12:55:48	1930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861422,3,'',1)
2023-10-13	12:55:48	1930	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:48	1930	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:48	1930	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861422 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:48	1930	[DEBUG]	Store custom available field
2023-10-13	12:55:48	1930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861422,6,'Unitaire',3)
2023-10-13	12:55:48	1930	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:48	1930	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:48	1930	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861421
2023-10-13	12:55:48	1930	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:48	1930	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861421\":[1861421,8,1,\"choisir la taille\"],\"1861422\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861421
2023-10-13	12:55:48	1930	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:48	1930	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861422
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:48	1931	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field taille
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:48	1931	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:48	1931	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:48	1931	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field product_weight
2023-10-13	12:55:48	1931	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:48	1931	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:48	1931	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field published
2023-10-13	12:55:48	1931	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:48	1931	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field override
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:48	1931	[DEBUG]	Use field value for field slug
2023-10-13	12:55:48	1931	[DEBUG]	Process line 1931
2023-10-13	12:55:48	1931	[DEBUG]	Load a row
2023-10-13	12:55:48	1931	[DEBUG]	Processing item: A_9363_208
2023-10-13	12:55:48	1931	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:48	1931	[DEBUG]	Processing product tax
2023-10-13	12:55:48	1931	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:48	1931	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:48	1931	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:48	1931	[DEBUG]	Query for Product
2023-10-13	12:55:48	1931	[DEBUG]	Executed store
2023-10-13	12:55:48	1931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9363_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:48	1931	[DEBUG]	Check product language entry
2023-10-13	12:55:48	1931	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861423
2023-10-13	12:55:48	1931	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:48	1931	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9363_208' AND `virtuemart_product_id` != 1861423
2023-10-13	12:55:48	1931	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:48	1931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861423, 'A_9363_208')
2023-10-13	12:55:48	1931	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:48	1931	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquette-exterieur-rd-m675-sgs-slx-10-viteses-aucune' AND `virtuemart_product_id` != 1861423
2023-10-13	12:55:48	1931	[DEBUG]	Query for ProductLang
2023-10-13	12:55:48	1931	[DEBUG]	Executed store
2023-10-13	12:55:48	1931	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.55724',`product_name`='SHIMANO Plaquette extérieur RD-M675-SGS SLX 10 viteses / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquette-exterieur-rd-m675-sgs-slx-10-viteses-aucune' WHERE `virtuemart_product_id` = '1861423'
2023-10-13	12:55:48	1931	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_55724_.jpg
2023-10-13	12:55:48	1931	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:48	1931	[DEBUG]	Process image file
2023-10-13	12:55:48	1931	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:48	1931	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:48	1931	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_55724_.jpg
2023-10-13	12:55:48	1931	[DEBUG]	Full name target: bcprisme/60_55724_.jpg
2023-10-13	12:55:49	1931	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:49	1931	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_55724_.jpg'
2023-10-13	12:55:49	1931	[DEBUG]	Query for Media
2023-10-13	12:55:49	1931	[DEBUG]	Executed store
2023-10-13	12:55:49	1931	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_55724_.jpg',`file_url_thumb`='bcprisme/60_55724_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1400161'
2023-10-13	12:55:49	1931	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:49	1931	[DEBUG]	Executed store
2023-10-13	12:55:49	1931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861423','1400161','1')
2023-10-13	12:55:49	1931	[DEBUG]	Store product image relation
2023-10-13	12:55:49	1931	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:49	1931	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861423 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:49	1931	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:49	1931	[DEBUG]	Executed store
2023-10-13	12:55:49	1931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861423','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:49	1931	[DEBUG]	Checking manufacturer
2023-10-13	12:55:49	1931	[DEBUG]	Load a row
2023-10-13	12:55:49	1931	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:49	1931	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:49	1931	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:49	1931	[DEBUG]	Executed store
2023-10-13	12:55:49	1931	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:49	1931	[DEBUG]	Manufacturer exists
2023-10-13	12:55:49	1931	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:49	1931	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:49	1931	[DEBUG]	Executed store
2023-10-13	12:55:49	1931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861423','26')
2023-10-13	12:55:49	1931	[DEBUG]	Find the custom field ID
2023-10-13	12:55:49	1931	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:49	1931	[DEBUG]	No custom field ID found
2023-10-13	12:55:49	1931	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:49	1931	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:49	1931	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861423 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:49	1931	[DEBUG]	Store custom available field
2023-10-13	12:55:49	1931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861423,3,'0',1)
2023-10-13	12:55:49	1931	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:49	1931	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:49	1931	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861423 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:49	1931	[DEBUG]	Store custom available field
2023-10-13	12:55:49	1931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861423,6,'choisir la taille',3)
2023-10-13	12:55:49	1931	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:49	1931	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:49	1931	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:49	1931	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:49	1931	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861423 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:49	1931	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:49	1931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861423,8,1)
2023-10-13	12:55:49	1931	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:49	1931	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861423\":[1861423,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861423
2023-10-13	12:55:49	1931	[DEBUG]	Checking category
2023-10-13	12:55:49	1931	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:49	1931	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861423
2023-10-13	12:55:49	1931	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:49	1931	[DEBUG]	Executed store
2023-10-13	12:55:49	1931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861423','7312')
2023-10-13	12:55:49	1931	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:49	1931	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861423 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:49	1931	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:49	1931	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861423
2023-10-13	12:55:49	1932	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:49	1932	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:49	1932	[DEBUG]	Use field value for field taille
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:49	1932	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:49	1932	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:49	1932	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:49	1932	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:49	1932	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:49	1932	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:49	1932	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:49	1932	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:49	1932	[DEBUG]	Use field value for field published
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:49	1932	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field override
2023-10-13	12:55:49	1932	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:49	1932	[DEBUG]	Use field value for field slug
2023-10-13	12:55:49	1932	[DEBUG]	Process line 1932
2023-10-13	12:55:49	1932	[DEBUG]	Load a row
2023-10-13	12:55:49	1932	[DEBUG]	Processing item: 4524667932031
2023-10-13	12:55:49	1932	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:49	1932	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:49	1932	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9363_208'
2023-10-13	12:55:49	1932	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:49	1932	[DEBUG]	Processing product tax
2023-10-13	12:55:49	1932	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:49	1932	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:49	1932	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:49	1932	[DEBUG]	Query for Product
2023-10-13	12:55:49	1932	[DEBUG]	Executed store
2023-10-13	12:55:49	1932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861423','4524667932031','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:49	1932	[DEBUG]	No parent found
2023-10-13	12:55:49	1932	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861423 AND customfield_value = 'stockable'
2023-10-13	12:55:49	1932	[DEBUG]	Check product language entry
2023-10-13	12:55:49	1932	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861424
2023-10-13	12:55:49	1932	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:49	1932	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667932031' AND `virtuemart_product_id` != 1861424
2023-10-13	12:55:49	1932	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:49	1932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861424, '4524667932031')
2023-10-13	12:55:49	1932	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:49	1932	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquette-exterieur-rd-m675-sgs-slx-10-viteses-aucune-unitaire' AND `virtuemart_product_id` != 1861424
2023-10-13	12:55:49	1932	[DEBUG]	Query for ProductLang
2023-10-13	12:55:49	1932	[DEBUG]	Executed store
2023-10-13	12:55:49	1932	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquette extérieur RD-M675-SGS SLX 10 viteses / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquette-exterieur-rd-m675-sgs-slx-10-viteses-aucune-unitaire' WHERE `virtuemart_product_id` = '1861424'
2023-10-13	12:55:49	1932	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_55724_.jpg
2023-10-13	12:55:49	1932	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:49	1932	[DEBUG]	Process image file
2023-10-13	12:55:49	1932	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:49	1932	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:49	1932	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_55724_.jpg
2023-10-13	12:55:49	1932	[DEBUG]	Full name target: bcprisme/60_55724_.jpg
2023-10-13	12:55:50	1932	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:50	1932	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_55724_.jpg'
2023-10-13	12:55:50	1932	[DEBUG]	Query for Media
2023-10-13	12:55:50	1932	[DEBUG]	Executed store
2023-10-13	12:55:50	1932	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_55724_.jpg',`file_url_thumb`='bcprisme/60_55724_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1400161'
2023-10-13	12:55:50	1932	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:50	1932	[DEBUG]	Executed store
2023-10-13	12:55:50	1932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861424','1400161','1')
2023-10-13	12:55:50	1932	[DEBUG]	Store product image relation
2023-10-13	12:55:50	1932	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:50	1932	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861424 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:50	1932	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:50	1932	[DEBUG]	Executed store
2023-10-13	12:55:50	1932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861424','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:50	1932	[DEBUG]	Checking manufacturer
2023-10-13	12:55:50	1932	[DEBUG]	Load a row
2023-10-13	12:55:50	1932	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:50	1932	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:50	1932	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:50	1932	[DEBUG]	Executed store
2023-10-13	12:55:50	1932	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:50	1932	[DEBUG]	Manufacturer exists
2023-10-13	12:55:50	1932	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:50	1932	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:50	1932	[DEBUG]	Executed store
2023-10-13	12:55:50	1932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861424','26')
2023-10-13	12:55:50	1932	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:50	1932	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:50	1932	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861424 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:50	1932	[DEBUG]	Store custom available field
2023-10-13	12:55:50	1932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861424,3,'',1)
2023-10-13	12:55:50	1932	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:50	1932	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:50	1932	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861424 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:50	1932	[DEBUG]	Store custom available field
2023-10-13	12:55:50	1932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861424,6,'Unitaire',3)
2023-10-13	12:55:50	1932	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:50	1932	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:50	1932	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861423
2023-10-13	12:55:50	1932	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:50	1932	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861423\":[1861423,8,1,\"choisir la taille\"],\"1861424\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861423
2023-10-13	12:55:50	1932	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:50	1932	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861424
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:50	1933	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field taille
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:50	1933	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:50	1933	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:50	1933	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field product_weight
2023-10-13	12:55:50	1933	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:50	1933	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:50	1933	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field published
2023-10-13	12:55:50	1933	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:50	1933	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field override
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:50	1933	[DEBUG]	Use field value for field slug
2023-10-13	12:55:50	1933	[DEBUG]	Process line 1933
2023-10-13	12:55:50	1933	[DEBUG]	Load a row
2023-10-13	12:55:50	1933	[DEBUG]	Processing item: A_9403_208
2023-10-13	12:55:50	1933	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:50	1933	[DEBUG]	Processing product tax
2023-10-13	12:55:50	1933	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:50	1933	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:50	1933	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:50	1933	[DEBUG]	Query for Product
2023-10-13	12:55:50	1933	[DEBUG]	Executed store
2023-10-13	12:55:50	1933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9403_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:50	1933	[DEBUG]	Check product language entry
2023-10-13	12:55:50	1933	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861425
2023-10-13	12:55:50	1933	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:50	1933	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9403_208' AND `virtuemart_product_id` != 1861425
2023-10-13	12:55:50	1933	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:50	1933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861425, 'A_9403_208')
2023-10-13	12:55:50	1933	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:50	1933	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquette-interieure-rd-r8000-gs-11-vitesses-aucune' AND `virtuemart_product_id` != 1861425
2023-10-13	12:55:50	1933	[DEBUG]	Query for ProductLang
2023-10-13	12:55:50	1933	[DEBUG]	Executed store
2023-10-13	12:55:50	1933	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60.71419',`product_name`='SHIMANO Plaquette intérieure RD-R8000 GS 11 vitesses / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquette-interieure-rd-r8000-gs-11-vitesses-aucune' WHERE `virtuemart_product_id` = '1861425'
2023-10-13	12:55:50	1933	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_71418_.jpg
2023-10-13	12:55:50	1933	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:50	1933	[DEBUG]	Process image file
2023-10-13	12:55:50	1933	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:50	1933	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:50	1933	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_71418_.jpg
2023-10-13	12:55:50	1933	[DEBUG]	Full name target: bcprisme/60_71418_.jpg
2023-10-13	12:55:51	1933	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:51	1933	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_71418_.jpg'
2023-10-13	12:55:51	1933	[DEBUG]	Query for Media
2023-10-13	12:55:51	1933	[DEBUG]	Executed store
2023-10-13	12:55:51	1933	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_71418_.jpg',`file_url_thumb`='bcprisme/60_71418_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1411122'
2023-10-13	12:55:51	1933	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:51	1933	[DEBUG]	Executed store
2023-10-13	12:55:51	1933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861425','1411122','1')
2023-10-13	12:55:51	1933	[DEBUG]	Store product image relation
2023-10-13	12:55:51	1933	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:51	1933	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861425 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:51	1933	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:51	1933	[DEBUG]	Executed store
2023-10-13	12:55:51	1933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861425','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:51	1933	[DEBUG]	Checking manufacturer
2023-10-13	12:55:51	1933	[DEBUG]	Load a row
2023-10-13	12:55:51	1933	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:51	1933	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:51	1933	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:51	1933	[DEBUG]	Executed store
2023-10-13	12:55:51	1933	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:51	1933	[DEBUG]	Manufacturer exists
2023-10-13	12:55:51	1933	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:51	1933	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:51	1933	[DEBUG]	Executed store
2023-10-13	12:55:51	1933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861425','26')
2023-10-13	12:55:51	1933	[DEBUG]	Find the custom field ID
2023-10-13	12:55:51	1933	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:51	1933	[DEBUG]	No custom field ID found
2023-10-13	12:55:51	1933	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:51	1933	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:51	1933	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861425 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:51	1933	[DEBUG]	Store custom available field
2023-10-13	12:55:51	1933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861425,3,'0',1)
2023-10-13	12:55:51	1933	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:51	1933	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:51	1933	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861425 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:51	1933	[DEBUG]	Store custom available field
2023-10-13	12:55:51	1933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861425,6,'choisir la taille',3)
2023-10-13	12:55:51	1933	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:51	1933	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:51	1933	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:51	1933	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:51	1933	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861425 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:51	1933	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:51	1933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861425,8,1)
2023-10-13	12:55:51	1933	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:51	1933	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861425\":[1861425,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861425
2023-10-13	12:55:51	1933	[DEBUG]	Checking category
2023-10-13	12:55:51	1933	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:51	1933	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861425
2023-10-13	12:55:51	1933	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:51	1933	[DEBUG]	Executed store
2023-10-13	12:55:51	1933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861425','7312')
2023-10-13	12:55:51	1933	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:51	1933	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861425 AND `virtuemart_category_id` NOT IN (7312)
2023-10-13	12:55:51	1933	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:51	1933	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861425
2023-10-13	12:55:51	1934	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:51	1934	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:51	1934	[DEBUG]	Use field value for field taille
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:51	1934	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:51	1934	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:51	1934	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:51	1934	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:51	1934	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:51	1934	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:51	1934	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:51	1934	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:51	1934	[DEBUG]	Use field value for field published
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:51	1934	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field override
2023-10-13	12:55:51	1934	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:51	1934	[DEBUG]	Use field value for field slug
2023-10-13	12:55:51	1934	[DEBUG]	Process line 1934
2023-10-13	12:55:51	1934	[DEBUG]	Load a row
2023-10-13	12:55:51	1934	[DEBUG]	Processing item: 4524667634492
2023-10-13	12:55:51	1934	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:51	1934	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:51	1934	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9403_208'
2023-10-13	12:55:51	1934	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:51	1934	[DEBUG]	Processing product tax
2023-10-13	12:55:51	1934	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:51	1934	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:51	1934	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:51	1934	[DEBUG]	Query for Product
2023-10-13	12:55:51	1934	[DEBUG]	Executed store
2023-10-13	12:55:51	1934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861425','4524667634492','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:51	1934	[DEBUG]	No parent found
2023-10-13	12:55:51	1934	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861425 AND customfield_value = 'stockable'
2023-10-13	12:55:51	1934	[DEBUG]	Check product language entry
2023-10-13	12:55:51	1934	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861426
2023-10-13	12:55:51	1934	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:51	1934	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667634492' AND `virtuemart_product_id` != 1861426
2023-10-13	12:55:51	1934	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:51	1934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861426, '4524667634492')
2023-10-13	12:55:51	1934	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:51	1934	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquette-interieure-rd-r8000-gs-11-vitesses-aucune-unitaire' AND `virtuemart_product_id` != 1861426
2023-10-13	12:55:51	1934	[DEBUG]	Query for ProductLang
2023-10-13	12:55:51	1934	[DEBUG]	Executed store
2023-10-13	12:55:51	1934	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquette intérieure RD-R8000 GS 11 vitesses / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquette-interieure-rd-r8000-gs-11-vitesses-aucune-unitaire' WHERE `virtuemart_product_id` = '1861426'
2023-10-13	12:55:51	1934	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_71418_.jpg
2023-10-13	12:55:51	1934	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:51	1934	[DEBUG]	Process image file
2023-10-13	12:55:51	1934	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:55:51	1934	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:51	1934	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/60_71418_.jpg
2023-10-13	12:55:51	1934	[DEBUG]	Full name target: bcprisme/60_71418_.jpg
2023-10-13	12:55:52	1934	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:52	1934	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/60_71418_.jpg'
2023-10-13	12:55:52	1934	[DEBUG]	Query for Media
2023-10-13	12:55:52	1934	[DEBUG]	Executed store
2023-10-13	12:55:52	1934	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/60_71418_.jpg',`file_url_thumb`='bcprisme/60_71418_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1411122'
2023-10-13	12:55:52	1934	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:52	1934	[DEBUG]	Executed store
2023-10-13	12:55:52	1934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861426','1411122','1')
2023-10-13	12:55:52	1934	[DEBUG]	Store product image relation
2023-10-13	12:55:52	1934	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:52	1934	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861426 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:52	1934	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:52	1934	[DEBUG]	Executed store
2023-10-13	12:55:52	1934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861426','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:52	1934	[DEBUG]	Checking manufacturer
2023-10-13	12:55:52	1934	[DEBUG]	Load a row
2023-10-13	12:55:52	1934	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:52	1934	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:52	1934	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:52	1934	[DEBUG]	Executed store
2023-10-13	12:55:52	1934	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:55:52	1934	[DEBUG]	Manufacturer exists
2023-10-13	12:55:52	1934	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:55:52	1934	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:52	1934	[DEBUG]	Executed store
2023-10-13	12:55:52	1934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861426','26')
2023-10-13	12:55:52	1934	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:52	1934	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:52	1934	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861426 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:52	1934	[DEBUG]	Store custom available field
2023-10-13	12:55:52	1934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861426,3,'',1)
2023-10-13	12:55:52	1934	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:52	1934	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:55:52	1934	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861426 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:52	1934	[DEBUG]	Store custom available field
2023-10-13	12:55:52	1934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861426,6,'Unitaire',3)
2023-10-13	12:55:52	1934	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:52	1934	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:52	1934	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861425
2023-10-13	12:55:52	1934	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:52	1934	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861425\":[1861425,8,1,\"choisir la taille\"],\"1861426\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861425
2023-10-13	12:55:52	1934	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:52	1934	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861426
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:52	1935	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field taille
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:52	1935	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:52	1935	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:52	1935	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field product_weight
2023-10-13	12:55:52	1935	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:52	1935	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:52	1935	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field published
2023-10-13	12:55:52	1935	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:52	1935	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field override
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:52	1935	[DEBUG]	Use field value for field slug
2023-10-13	12:55:52	1935	[DEBUG]	Process line 1935
2023-10-13	12:55:52	1935	[DEBUG]	Load a row
2023-10-13	12:55:52	1935	[DEBUG]	Processing item: A_5276_208
2023-10-13	12:55:52	1935	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:52	1935	[DEBUG]	Processing product tax
2023-10-13	12:55:52	1935	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:52	1935	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:52	1935	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:52	1935	[DEBUG]	Query for Product
2023-10-13	12:55:52	1935	[DEBUG]	Executed store
2023-10-13	12:55:52	1935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5276_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:52	1935	[DEBUG]	Check product language entry
2023-10-13	12:55:52	1935	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861427
2023-10-13	12:55:52	1935	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:52	1935	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5276_208' AND `virtuemart_product_id` != 1861427
2023-10-13	12:55:52	1935	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:52	1935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861427, 'A_5276_208')
2023-10-13	12:55:52	1935	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:52	1935	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-ecran-intuvia-performance-sans-support-aucune' AND `virtuemart_product_id` != 1861427
2023-10-13	12:55:52	1935	[DEBUG]	Query for ProductLang
2023-10-13	12:55:52	1935	[DEBUG]	Executed store
2023-10-13	12:55:52	1935	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.59526',`product_name`='Bosch Ecran Intuvia Performance (sans support) / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-ecran-intuvia-performance-sans-support-aucune' WHERE `virtuemart_product_id` = '1861427'
2023-10-13	12:55:52	1935	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_59526.jpg
2023-10-13	12:55:52	1935	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:55:52	1935	[DEBUG]	Process image file
2023-10-13	12:55:52	1935	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:55:52	1935	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:52	1935	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_59526.jpg
2023-10-13	12:55:52	1935	[DEBUG]	Full name target: bcprisme/56_59526.jpg
2023-10-13	12:55:53	1935	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:53	1935	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_59526.jpg'
2023-10-13	12:55:53	1935	[DEBUG]	Query for Media
2023-10-13	12:55:53	1935	[DEBUG]	Executed store
2023-10-13	12:55:53	1935	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_59526.jpg',`file_url_thumb`='bcprisme/56_59526.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436396'
2023-10-13	12:55:53	1935	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:53	1935	[DEBUG]	Executed store
2023-10-13	12:55:53	1935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861427','436396','1')
2023-10-13	12:55:53	1935	[DEBUG]	Store product image relation
2023-10-13	12:55:53	1935	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:53	1935	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861427 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:53	1935	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:53	1935	[DEBUG]	Executed store
2023-10-13	12:55:53	1935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861427','0','129.062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:53	1935	[DEBUG]	Checking manufacturer
2023-10-13	12:55:53	1935	[DEBUG]	Load a row
2023-10-13	12:55:53	1935	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:53	1935	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:55:53	1935	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:53	1935	[DEBUG]	Executed store
2023-10-13	12:55:53	1935	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:55:53	1935	[DEBUG]	Manufacturer exists
2023-10-13	12:55:53	1935	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:55:53	1935	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:53	1935	[DEBUG]	Executed store
2023-10-13	12:55:53	1935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861427','33')
2023-10-13	12:55:53	1935	[DEBUG]	Find the custom field ID
2023-10-13	12:55:53	1935	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:53	1935	[DEBUG]	No custom field ID found
2023-10-13	12:55:53	1935	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:53	1935	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:53	1935	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861427 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:53	1935	[DEBUG]	Store custom available field
2023-10-13	12:55:53	1935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861427,3,'0',1)
2023-10-13	12:55:53	1935	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:53	1935	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:53	1935	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861427 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:53	1935	[DEBUG]	Store custom available field
2023-10-13	12:55:53	1935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861427,6,'choisir la taille',3)
2023-10-13	12:55:53	1935	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:53	1935	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:53	1935	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:53	1935	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:53	1935	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861427 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:53	1935	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:53	1935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861427,8,1)
2023-10-13	12:55:53	1935	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:53	1935	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861427\":[1861427,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861427
2023-10-13	12:55:53	1935	[DEBUG]	Checking category
2023-10-13	12:55:53	1935	[DEBUG]	Check if category path exists: DISPLAY
2023-10-13	12:55:53	1935	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'DISPLAY' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:55:53	1935	[DEBUG]	Check if category path exists: DISPLAY
2023-10-13	12:55:53	1935	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'DISPLAY' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7320
2023-10-13	12:55:53	1935	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:53	1935	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861427
2023-10-13	12:55:53	1935	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:53	1935	[DEBUG]	Executed store
2023-10-13	12:55:53	1935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861427','7321')
2023-10-13	12:55:53	1935	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:53	1935	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861427 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:55:53	1935	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:53	1935	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861427
2023-10-13	12:55:53	1936	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:53	1936	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:53	1936	[DEBUG]	Use field value for field taille
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:53	1936	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:53	1936	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:53	1936	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:53	1936	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:53	1936	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:53	1936	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:53	1936	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:53	1936	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:53	1936	[DEBUG]	Use field value for field published
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:53	1936	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field override
2023-10-13	12:55:53	1936	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:53	1936	[DEBUG]	Use field value for field slug
2023-10-13	12:55:53	1936	[DEBUG]	Process line 1936
2023-10-13	12:55:53	1936	[DEBUG]	Load a row
2023-10-13	12:55:53	1936	[DEBUG]	Processing item: 4047025220293
2023-10-13	12:55:53	1936	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:53	1936	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:53	1936	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5276_208'
2023-10-13	12:55:53	1936	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:53	1936	[DEBUG]	Processing product tax
2023-10-13	12:55:53	1936	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:53	1936	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:53	1936	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:53	1936	[DEBUG]	Query for Product
2023-10-13	12:55:53	1936	[DEBUG]	Executed store
2023-10-13	12:55:53	1936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861427','4047025220293','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:53	1936	[DEBUG]	No parent found
2023-10-13	12:55:53	1936	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861427 AND customfield_value = 'stockable'
2023-10-13	12:55:53	1936	[DEBUG]	Check product language entry
2023-10-13	12:55:53	1936	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861428
2023-10-13	12:55:53	1936	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:53	1936	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047025220293' AND `virtuemart_product_id` != 1861428
2023-10-13	12:55:53	1936	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:53	1936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861428, '4047025220293')
2023-10-13	12:55:53	1936	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:53	1936	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-ecran-intuvia-performance-sans-support-aucune-all' AND `virtuemart_product_id` != 1861428
2023-10-13	12:55:53	1936	[DEBUG]	Query for ProductLang
2023-10-13	12:55:53	1936	[DEBUG]	Executed store
2023-10-13	12:55:53	1936	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Ecran Intuvia Performance (sans support) / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-ecran-intuvia-performance-sans-support-aucune-all' WHERE `virtuemart_product_id` = '1861428'
2023-10-13	12:55:53	1936	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_59526.jpg
2023-10-13	12:55:53	1936	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:55:53	1936	[DEBUG]	Process image file
2023-10-13	12:55:53	1936	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:55:53	1936	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:53	1936	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_59526.jpg
2023-10-13	12:55:53	1936	[DEBUG]	Full name target: bcprisme/56_59526.jpg
2023-10-13	12:55:54	1936	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:54	1936	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_59526.jpg'
2023-10-13	12:55:54	1936	[DEBUG]	Query for Media
2023-10-13	12:55:54	1936	[DEBUG]	Executed store
2023-10-13	12:55:54	1936	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_59526.jpg',`file_url_thumb`='bcprisme/56_59526.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436396'
2023-10-13	12:55:54	1936	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:54	1936	[DEBUG]	Executed store
2023-10-13	12:55:54	1936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861428','436396','1')
2023-10-13	12:55:54	1936	[DEBUG]	Store product image relation
2023-10-13	12:55:54	1936	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:54	1936	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861428 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:54	1936	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:54	1936	[DEBUG]	Executed store
2023-10-13	12:55:54	1936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861428','0','129.062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:54	1936	[DEBUG]	Checking manufacturer
2023-10-13	12:55:54	1936	[DEBUG]	Load a row
2023-10-13	12:55:54	1936	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:54	1936	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:55:54	1936	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:54	1936	[DEBUG]	Executed store
2023-10-13	12:55:54	1936	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:55:54	1936	[DEBUG]	Manufacturer exists
2023-10-13	12:55:54	1936	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:55:54	1936	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:54	1936	[DEBUG]	Executed store
2023-10-13	12:55:54	1936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861428','33')
2023-10-13	12:55:54	1936	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:54	1936	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:54	1936	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861428 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:54	1936	[DEBUG]	Store custom available field
2023-10-13	12:55:54	1936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861428,3,'',1)
2023-10-13	12:55:54	1936	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:54	1936	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:55:54	1936	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861428 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:54	1936	[DEBUG]	Store custom available field
2023-10-13	12:55:54	1936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861428,6,'All',3)
2023-10-13	12:55:54	1936	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:54	1936	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:54	1936	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861427
2023-10-13	12:55:54	1936	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:54	1936	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861427\":[1861427,8,1,\"choisir la taille\"],\"1861428\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861427
2023-10-13	12:55:54	1936	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:54	1936	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861428
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:54	1937	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field taille
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:54	1937	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:54	1937	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:54	1937	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field product_weight
2023-10-13	12:55:54	1937	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:54	1937	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:54	1937	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field published
2023-10-13	12:55:54	1937	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:54	1937	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field override
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:54	1937	[DEBUG]	Use field value for field slug
2023-10-13	12:55:54	1937	[DEBUG]	Process line 1937
2023-10-13	12:55:54	1937	[DEBUG]	Load a row
2023-10-13	12:55:54	1937	[DEBUG]	Processing item: A_5523_208
2023-10-13	12:55:54	1937	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:54	1937	[DEBUG]	Processing product tax
2023-10-13	12:55:54	1937	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:54	1937	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:54	1937	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:54	1937	[DEBUG]	Query for Product
2023-10-13	12:55:54	1937	[DEBUG]	Executed store
2023-10-13	12:55:54	1937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5523_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:54	1937	[DEBUG]	Check product language entry
2023-10-13	12:55:54	1937	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861429
2023-10-13	12:55:54	1937	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:54	1937	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5523_208' AND `virtuemart_product_id` != 1861429
2023-10-13	12:55:54	1937	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:54	1937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861429, 'A_5523_208')
2023-10-13	12:55:54	1937	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:54	1937	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-unite-de-commande-intuvia-digital-avec-cable-aucune' AND `virtuemart_product_id` != 1861429
2023-10-13	12:55:54	1937	[DEBUG]	Query for ProductLang
2023-10-13	12:55:54	1937	[DEBUG]	Executed store
2023-10-13	12:55:54	1937	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.67747',`product_name`='Bosch Unité de commande Intuvia  digital avec câble / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-unite-de-commande-intuvia-digital-avec-cable-aucune' WHERE `virtuemart_product_id` = '1861429'
2023-10-13	12:55:54	1937	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30025_bosch_unite_de_commande_intuvia__digital_avec_ceble.jpg
2023-10-13	12:55:54	1937	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:55:54	1937	[DEBUG]	Process image file
2023-10-13	12:55:54	1937	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:55:54	1937	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:54	1937	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30025_bosch_unite_de_commande_intuvia__digital_avec_ceble.jpg
2023-10-13	12:55:54	1937	[DEBUG]	Full name target: bcprisme/30025_bosch_unite_de_commande_intuvia__digital_avec_ceble.jpg
2023-10-13	12:55:55	1937	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:55	1937	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30025_bosch_unite_de_commande_intuvia__digital_avec_ceble.jpg'
2023-10-13	12:55:55	1937	[DEBUG]	Query for Media
2023-10-13	12:55:55	1937	[DEBUG]	Executed store
2023-10-13	12:55:55	1937	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30025_bosch_unite_de_commande_intuvia__digital_avec_ceble.jpg',`file_url_thumb`='bcprisme/30025_bosch_unite_de_commande_intuvia__digital_avec_ceble.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '65011'
2023-10-13	12:55:55	1937	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:55	1937	[DEBUG]	Executed store
2023-10-13	12:55:55	1937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861429','65011','1')
2023-10-13	12:55:55	1937	[DEBUG]	Store product image relation
2023-10-13	12:55:55	1937	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:55	1937	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861429 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:55	1937	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:55	1937	[DEBUG]	Executed store
2023-10-13	12:55:55	1937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861429','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:55	1937	[DEBUG]	Checking manufacturer
2023-10-13	12:55:55	1937	[DEBUG]	Load a row
2023-10-13	12:55:55	1937	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:55	1937	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:55:55	1937	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:55	1937	[DEBUG]	Executed store
2023-10-13	12:55:55	1937	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:55:55	1937	[DEBUG]	Manufacturer exists
2023-10-13	12:55:55	1937	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:55:55	1937	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:55	1937	[DEBUG]	Executed store
2023-10-13	12:55:55	1937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861429','33')
2023-10-13	12:55:55	1937	[DEBUG]	Find the custom field ID
2023-10-13	12:55:55	1937	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:55	1937	[DEBUG]	No custom field ID found
2023-10-13	12:55:55	1937	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:55	1937	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:55:55	1937	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861429 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:55	1937	[DEBUG]	Store custom available field
2023-10-13	12:55:55	1937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861429,3,'0',1)
2023-10-13	12:55:55	1937	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:55	1937	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:55	1937	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861429 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:55	1937	[DEBUG]	Store custom available field
2023-10-13	12:55:55	1937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861429,6,'choisir la taille',3)
2023-10-13	12:55:55	1937	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:55	1937	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:55	1937	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:55	1937	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:55	1937	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861429 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:55	1937	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:55	1937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861429,8,1)
2023-10-13	12:55:55	1937	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:55	1937	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861429\":[1861429,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861429
2023-10-13	12:55:55	1937	[DEBUG]	Checking category
2023-10-13	12:55:55	1937	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:55	1937	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861429
2023-10-13	12:55:55	1937	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:55	1937	[DEBUG]	Executed store
2023-10-13	12:55:55	1937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861429','7321')
2023-10-13	12:55:55	1937	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:55	1937	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861429 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:55:55	1937	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:55	1937	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861429
2023-10-13	12:55:55	1938	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:55	1938	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:55	1938	[DEBUG]	Use field value for field taille
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:55	1938	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:55	1938	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:55	1938	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:55	1938	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:55	1938	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:55	1938	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:55	1938	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:55	1938	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:55	1938	[DEBUG]	Use field value for field published
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:55	1938	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field override
2023-10-13	12:55:55	1938	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:55	1938	[DEBUG]	Use field value for field slug
2023-10-13	12:55:55	1938	[DEBUG]	Process line 1938
2023-10-13	12:55:55	1938	[DEBUG]	Load a row
2023-10-13	12:55:55	1938	[DEBUG]	Processing item: 4047025642972
2023-10-13	12:55:55	1938	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:55	1938	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:55	1938	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5523_208'
2023-10-13	12:55:55	1938	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:55	1938	[DEBUG]	Processing product tax
2023-10-13	12:55:55	1938	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:55	1938	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:55	1938	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:55	1938	[DEBUG]	Query for Product
2023-10-13	12:55:55	1938	[DEBUG]	Executed store
2023-10-13	12:55:55	1938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861429','4047025642972','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:55	1938	[DEBUG]	No parent found
2023-10-13	12:55:55	1938	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861429 AND customfield_value = 'stockable'
2023-10-13	12:55:55	1938	[DEBUG]	Check product language entry
2023-10-13	12:55:55	1938	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861430
2023-10-13	12:55:55	1938	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:55	1938	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047025642972' AND `virtuemart_product_id` != 1861430
2023-10-13	12:55:55	1938	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:55	1938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861430, '4047025642972')
2023-10-13	12:55:55	1938	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:55	1938	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-unite-de-commande-intuvia-digital-avec-cable-aucune-all' AND `virtuemart_product_id` != 1861430
2023-10-13	12:55:55	1938	[DEBUG]	Query for ProductLang
2023-10-13	12:55:55	1938	[DEBUG]	Executed store
2023-10-13	12:55:55	1938	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Unité de commande Intuvia  digital avec câble / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-unite-de-commande-intuvia-digital-avec-cable-aucune-all' WHERE `virtuemart_product_id` = '1861430'
2023-10-13	12:55:55	1938	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30025_bosch_unite_de_commande_intuvia__digital_avec_ceble.jpg
2023-10-13	12:55:55	1938	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:55:55	1938	[DEBUG]	Process image file
2023-10-13	12:55:55	1938	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:55:55	1938	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:55	1938	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30025_bosch_unite_de_commande_intuvia__digital_avec_ceble.jpg
2023-10-13	12:55:55	1938	[DEBUG]	Full name target: bcprisme/30025_bosch_unite_de_commande_intuvia__digital_avec_ceble.jpg
2023-10-13	12:55:56	1938	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:56	1938	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30025_bosch_unite_de_commande_intuvia__digital_avec_ceble.jpg'
2023-10-13	12:55:56	1938	[DEBUG]	Query for Media
2023-10-13	12:55:56	1938	[DEBUG]	Executed store
2023-10-13	12:55:56	1938	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30025_bosch_unite_de_commande_intuvia__digital_avec_ceble.jpg',`file_url_thumb`='bcprisme/30025_bosch_unite_de_commande_intuvia__digital_avec_ceble.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '65011'
2023-10-13	12:55:56	1938	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:56	1938	[DEBUG]	Executed store
2023-10-13	12:55:56	1938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861430','65011','1')
2023-10-13	12:55:56	1938	[DEBUG]	Store product image relation
2023-10-13	12:55:56	1938	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:56	1938	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861430 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:56	1938	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:56	1938	[DEBUG]	Executed store
2023-10-13	12:55:56	1938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861430','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:56	1938	[DEBUG]	Checking manufacturer
2023-10-13	12:55:56	1938	[DEBUG]	Load a row
2023-10-13	12:55:56	1938	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:56	1938	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:55:56	1938	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:56	1938	[DEBUG]	Executed store
2023-10-13	12:55:56	1938	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:55:56	1938	[DEBUG]	Manufacturer exists
2023-10-13	12:55:56	1938	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:55:56	1938	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:56	1938	[DEBUG]	Executed store
2023-10-13	12:55:56	1938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861430','33')
2023-10-13	12:55:56	1938	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:56	1938	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:56	1938	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861430 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:56	1938	[DEBUG]	Store custom available field
2023-10-13	12:55:56	1938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861430,3,'',1)
2023-10-13	12:55:56	1938	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:56	1938	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:55:56	1938	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861430 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:56	1938	[DEBUG]	Store custom available field
2023-10-13	12:55:56	1938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861430,6,'All',3)
2023-10-13	12:55:56	1938	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:56	1938	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:56	1938	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861429
2023-10-13	12:55:56	1938	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:56	1938	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861429\":[1861429,8,1,\"choisir la taille\"],\"1861430\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861429
2023-10-13	12:55:56	1938	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:56	1938	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861430
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:56	1939	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field taille
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:56	1939	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:56	1939	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:56	1939	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field product_weight
2023-10-13	12:55:56	1939	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:56	1939	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:56	1939	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field published
2023-10-13	12:55:56	1939	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:56	1939	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field override
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:56	1939	[DEBUG]	Use field value for field slug
2023-10-13	12:55:56	1939	[DEBUG]	Process line 1939
2023-10-13	12:55:56	1939	[DEBUG]	Load a row
2023-10-13	12:55:56	1939	[DEBUG]	Processing item: A_6567_1
2023-10-13	12:55:56	1939	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:56	1939	[DEBUG]	Processing product tax
2023-10-13	12:55:56	1939	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:56	1939	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:56	1939	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:56	1939	[DEBUG]	Query for Product
2023-10-13	12:55:56	1939	[DEBUG]	Executed store
2023-10-13	12:55:56	1939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6567_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:56	1939	[DEBUG]	Check product language entry
2023-10-13	12:55:56	1939	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861431
2023-10-13	12:55:56	1939	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:56	1939	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6567_1' AND `virtuemart_product_id` != 1861431
2023-10-13	12:55:56	1939	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:56	1939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861431, 'A_6567_1')
2023-10-13	12:55:56	1939	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:56	1939	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-ride-control-display-des-evo-my19-avec-commande-au-guidon-noir' AND `virtuemart_product_id` != 1861431
2023-10-13	12:55:56	1939	[DEBUG]	Query for ProductLang
2023-10-13	12:55:56	1939	[DEBUG]	Executed store
2023-10-13	12:55:56	1939	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Explore-E+ Fathom-E+ Trance-E+ Stance-E+ Amiti-E+ Vall-E+ Intrigue-E+ Embolden-E+<br>N° art fourn : 400.005.057',`product_name`='GIANT Ride Control display dès EVO MY19 avec commande au guidon / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-ride-control-display-des-evo-my19-avec-commande-au-guidon-noir' WHERE `virtuemart_product_id` = '1861431'
2023-10-13	12:55:56	1939	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32446_giant_ride_control_display_des_evo_my19_avec_commande_au_guidon.jpg
2023-10-13	12:55:56	1939	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:55:56	1939	[DEBUG]	Process image file
2023-10-13	12:55:56	1939	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:55:56	1939	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:56	1939	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32446_giant_ride_control_display_des_evo_my19_avec_commande_au_guidon.jpg
2023-10-13	12:55:56	1939	[DEBUG]	Full name target: bcprisme/32446_giant_ride_control_display_des_evo_my19_avec_commande_au_guidon.jpg
2023-10-13	12:55:57	1939	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:57	1939	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32446_giant_ride_control_display_des_evo_my19_avec_commande_au_guidon.jpg'
2023-10-13	12:55:57	1939	[DEBUG]	Query for Media
2023-10-13	12:55:57	1939	[DEBUG]	Executed store
2023-10-13	12:55:57	1939	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32446_giant_ride_control_display_des_evo_my19_avec_commande_au_guidon.jpg',`file_url_thumb`='bcprisme/32446_giant_ride_control_display_des_evo_my19_avec_commande_au_guidon.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990575'
2023-10-13	12:55:57	1939	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:57	1939	[DEBUG]	Executed store
2023-10-13	12:55:57	1939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861431','990575','1')
2023-10-13	12:55:57	1939	[DEBUG]	Store product image relation
2023-10-13	12:55:57	1939	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:57	1939	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861431 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:57	1939	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:57	1939	[DEBUG]	Executed store
2023-10-13	12:55:57	1939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861431','0','333.333333333333','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:57	1939	[DEBUG]	Checking manufacturer
2023-10-13	12:55:57	1939	[DEBUG]	Load a row
2023-10-13	12:55:57	1939	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:57	1939	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:55:57	1939	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:57	1939	[DEBUG]	Executed store
2023-10-13	12:55:57	1939	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:55:57	1939	[DEBUG]	Manufacturer exists
2023-10-13	12:55:57	1939	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:55:57	1939	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:57	1939	[DEBUG]	Executed store
2023-10-13	12:55:57	1939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861431','29')
2023-10-13	12:55:57	1939	[DEBUG]	Find the custom field ID
2023-10-13	12:55:57	1939	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:55:57	1939	[DEBUG]	No custom field ID found
2023-10-13	12:55:57	1939	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:57	1939	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:55:57	1939	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861431 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:57	1939	[DEBUG]	Store custom available field
2023-10-13	12:55:57	1939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861431,3,'12.8641666666667',1)
2023-10-13	12:55:57	1939	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:57	1939	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:55:57	1939	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861431 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:57	1939	[DEBUG]	Store custom available field
2023-10-13	12:55:57	1939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861431,6,'choisir la taille',3)
2023-10-13	12:55:57	1939	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:57	1939	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:55:57	1939	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:55:57	1939	[DEBUG]	Find the multi variant product entry
2023-10-13	12:55:57	1939	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861431 AND `virtuemart_custom_id` = 8
2023-10-13	12:55:57	1939	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:55:57	1939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861431,8,1)
2023-10-13	12:55:57	1939	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:57	1939	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861431\":[1861431,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861431
2023-10-13	12:55:57	1939	[DEBUG]	Checking category
2023-10-13	12:55:57	1939	[DEBUG]	Get the existing categories for the product
2023-10-13	12:55:57	1939	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861431
2023-10-13	12:55:57	1939	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:55:57	1939	[DEBUG]	Executed store
2023-10-13	12:55:57	1939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861431','7321')
2023-10-13	12:55:57	1939	[DEBUG]	Delete leftover product categories
2023-10-13	12:55:57	1939	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861431 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:55:57	1939	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:57	1939	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861431
2023-10-13	12:55:57	1940	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:57	1940	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:55:57	1940	[DEBUG]	Use field value for field taille
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:55:57	1940	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field category_path
2023-10-13	12:55:57	1940	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:57	1940	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:57	1940	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:57	1940	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:55:57	1940	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field product_weight
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:57	1940	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:57	1940	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:57	1940	[DEBUG]	Use field value for field published
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field custom_title
2023-10-13	12:55:57	1940	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field custom_param
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field override
2023-10-13	12:55:57	1940	[DEBUG]	Use default value for field public_price
2023-10-13	12:55:57	1940	[DEBUG]	Use field value for field slug
2023-10-13	12:55:57	1940	[DEBUG]	Process line 1940
2023-10-13	12:55:57	1940	[DEBUG]	Load a row
2023-10-13	12:55:57	1940	[DEBUG]	Processing item: 410000108
2023-10-13	12:55:57	1940	[DEBUG]	Looking for parent SKU
2023-10-13	12:55:57	1940	[DEBUG]	Checking product parent SKU
2023-10-13	12:55:57	1940	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6567_1'
2023-10-13	12:55:57	1940	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:57	1940	[DEBUG]	Processing product tax
2023-10-13	12:55:57	1940	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:57	1940	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:57	1940	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:57	1940	[DEBUG]	Query for Product
2023-10-13	12:55:57	1940	[DEBUG]	Executed store
2023-10-13	12:55:57	1940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861431','410000108','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:57	1940	[DEBUG]	No parent found
2023-10-13	12:55:57	1940	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861431 AND customfield_value = 'stockable'
2023-10-13	12:55:58	1940	[DEBUG]	Check product language entry
2023-10-13	12:55:58	1940	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861432
2023-10-13	12:55:58	1940	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:58	1940	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '410000108' AND `virtuemart_product_id` != 1861432
2023-10-13	12:55:58	1940	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:58	1940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861432, '410000108')
2023-10-13	12:55:58	1940	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:58	1940	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-ride-control-display-des-evo-my19-avec-commande-au-guidon-noir-set' AND `virtuemart_product_id` != 1861432
2023-10-13	12:55:58	1940	[DEBUG]	Query for ProductLang
2023-10-13	12:55:58	1940	[DEBUG]	Executed store
2023-10-13	12:55:58	1940	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Ride Control display dès EVO MY19 avec commande au guidon / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-ride-control-display-des-evo-my19-avec-commande-au-guidon-noir-set' WHERE `virtuemart_product_id` = '1861432'
2023-10-13	12:55:58	1940	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32446_giant_ride_control_display_des_evo_my19_avec_commande_au_guidon.jpg
2023-10-13	12:55:58	1940	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:55:58	1940	[DEBUG]	Process image file
2023-10-13	12:55:58	1940	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:55:58	1940	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:58	1940	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32446_giant_ride_control_display_des_evo_my19_avec_commande_au_guidon.jpg
2023-10-13	12:55:58	1940	[DEBUG]	Full name target: bcprisme/32446_giant_ride_control_display_des_evo_my19_avec_commande_au_guidon.jpg
2023-10-13	12:55:59	1940	[DEBUG]	Checking if the file_url exists
2023-10-13	12:55:59	1940	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32446_giant_ride_control_display_des_evo_my19_avec_commande_au_guidon.jpg'
2023-10-13	12:55:59	1940	[DEBUG]	Query for Media
2023-10-13	12:55:59	1940	[DEBUG]	Executed store
2023-10-13	12:55:59	1940	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32446_giant_ride_control_display_des_evo_my19_avec_commande_au_guidon.jpg',`file_url_thumb`='bcprisme/32446_giant_ride_control_display_des_evo_my19_avec_commande_au_guidon.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990575'
2023-10-13	12:55:59	1940	[DEBUG]	Query for ProductMedia
2023-10-13	12:55:59	1940	[DEBUG]	Executed store
2023-10-13	12:55:59	1940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861432','990575','1')
2023-10-13	12:55:59	1940	[DEBUG]	Store product image relation
2023-10-13	12:55:59	1940	[DEBUG]	Finding a product_price_id
2023-10-13	12:55:59	1940	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861432 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:55:59	1940	[DEBUG]	Query for ProductPrice
2023-10-13	12:55:59	1940	[DEBUG]	Executed store
2023-10-13	12:55:59	1940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861432','0','333.333333333333','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:55:59	1940	[DEBUG]	Checking manufacturer
2023-10-13	12:55:59	1940	[DEBUG]	Load a row
2023-10-13	12:55:59	1940	[DEBUG]	Manufacturer already exists
2023-10-13	12:55:59	1940	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:55:59	1940	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:55:59	1940	[DEBUG]	Executed store
2023-10-13	12:55:59	1940	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:55:59	1940	[DEBUG]	Manufacturer exists
2023-10-13	12:55:59	1940	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:55:59	1940	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:55:59	1940	[DEBUG]	Executed store
2023-10-13	12:55:59	1940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861432','29')
2023-10-13	12:55:59	1940	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:55:59	1940	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:55:59	1940	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861432 AND `virtuemart_custom_id` = 3
2023-10-13	12:55:59	1940	[DEBUG]	Store custom available field
2023-10-13	12:55:59	1940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861432,3,'',1)
2023-10-13	12:55:59	1940	[DEBUG]	Processing custom available field: taille
2023-10-13	12:55:59	1940	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:55:59	1940	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861432 AND `virtuemart_custom_id` = 6
2023-10-13	12:55:59	1940	[DEBUG]	Store custom available field
2023-10-13	12:55:59	1940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861432,6,'Set',3)
2023-10-13	12:55:59	1940	[DEBUG]	Process multi-variant fields
2023-10-13	12:55:59	1940	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:55:59	1940	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861431
2023-10-13	12:55:59	1940	[DEBUG]	Store the updated customfield_params
2023-10-13	12:55:59	1940	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861431\":[1861431,8,1,\"choisir la taille\"],\"1861432\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861431
2023-10-13	12:55:59	1940	[DEBUG]	Update has fields after all processing
2023-10-13	12:55:59	1940	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861432
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field product_sku
2023-10-13	12:55:59	1941	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field taille
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field product_name
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field category_path
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field product_price
2023-10-13	12:55:59	1941	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field product_tax
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field file_url
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:55:59	1941	[DEBUG]	Use default value for field product_desc
2023-10-13	12:55:59	1941	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field product_availability
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field product_weight
2023-10-13	12:55:59	1941	[DEBUG]	Use default value for field product_unit
2023-10-13	12:55:59	1941	[DEBUG]	Use default value for field related_products
2023-10-13	12:55:59	1941	[DEBUG]	Use default value for field product_special
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field published
2023-10-13	12:55:59	1941	[DEBUG]	Use default value for field metadesc
2023-10-13	12:55:59	1941	[DEBUG]	Use default value for field metakey
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field custom_title
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field custom_value
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field custom_param
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field override
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field public_price
2023-10-13	12:55:59	1941	[DEBUG]	Use field value for field slug
2023-10-13	12:55:59	1941	[DEBUG]	Process line 1941
2023-10-13	12:55:59	1941	[DEBUG]	Load a row
2023-10-13	12:55:59	1941	[DEBUG]	Processing item: A_6572_1
2023-10-13	12:55:59	1941	[DEBUG]	Product tax: 7.7
2023-10-13	12:55:59	1941	[DEBUG]	Processing product tax
2023-10-13	12:55:59	1941	[DEBUG]	Check if calculation rule exists
2023-10-13	12:55:59	1941	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:55:59	1941	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:55:59	1941	[DEBUG]	Query for Product
2023-10-13	12:55:59	1941	[DEBUG]	Executed store
2023-10-13	12:55:59	1941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6572_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:55:59	1941	[DEBUG]	Check product language entry
2023-10-13	12:55:59	1941	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861433
2023-10-13	12:55:59	1941	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:59	1941	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6572_1' AND `virtuemart_product_id` != 1861433
2023-10-13	12:55:59	1941	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:55:59	1941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861433, 'A_6572_1')
2023-10-13	12:55:59	1941	[DEBUG]	Check if the product slug exists
2023-10-13	12:55:59	1941	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-ride-control-one-ant-a-partir-de-2019-noir' AND `virtuemart_product_id` != 1861433
2023-10-13	12:55:59	1941	[DEBUG]	Query for ProductLang
2023-10-13	12:55:59	1941	[DEBUG]	Executed store
2023-10-13	12:55:59	1941	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.077',`product_name`='GIANT Ride Control One ANT+  à partir de 2019 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-ride-control-one-ant-a-partir-de-2019-noir' WHERE `virtuemart_product_id` = '1861433'
2023-10-13	12:55:59	1941	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32451_giant_ride_control_one_ant+__à_partir_de_2019.jpg
2023-10-13	12:55:59	1941	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:55:59	1941	[DEBUG]	Process image file
2023-10-13	12:55:59	1941	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:55:59	1941	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:55:59	1941	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32451_giant_ride_control_one_ant+__à_partir_de_2019.jpg
2023-10-13	12:55:59	1941	[DEBUG]	Full name target: bcprisme/32451_giant_ride_control_one_ant+__à_partir_de_2019.jpg
2023-10-13	12:56:00	1941	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:00	1941	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32451_giant_ride_control_one_ant+__à_partir_de_2019.jpg'
2023-10-13	12:56:00	1941	[DEBUG]	Query for Media
2023-10-13	12:56:00	1941	[DEBUG]	Executed store
2023-10-13	12:56:00	1941	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32451_giant_ride_control_one_ant+__à_partir_de_2019.jpg',`file_url_thumb`='bcprisme/32451_giant_ride_control_one_ant+__à_partir_de_2019.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '146205'
2023-10-13	12:56:00	1941	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:00	1941	[DEBUG]	Executed store
2023-10-13	12:56:00	1941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861433','146205','1')
2023-10-13	12:56:00	1941	[DEBUG]	Store product image relation
2023-10-13	12:56:00	1941	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:00	1941	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861433 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:00	1941	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:00	1941	[DEBUG]	Executed store
2023-10-13	12:56:00	1941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861433','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:00	1941	[DEBUG]	Checking manufacturer
2023-10-13	12:56:00	1941	[DEBUG]	Load a row
2023-10-13	12:56:00	1941	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:00	1941	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:00	1941	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:00	1941	[DEBUG]	Executed store
2023-10-13	12:56:00	1941	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:00	1941	[DEBUG]	Manufacturer exists
2023-10-13	12:56:00	1941	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:00	1941	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:00	1941	[DEBUG]	Executed store
2023-10-13	12:56:00	1941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861433','29')
2023-10-13	12:56:00	1941	[DEBUG]	Find the custom field ID
2023-10-13	12:56:00	1941	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:00	1941	[DEBUG]	No custom field ID found
2023-10-13	12:56:00	1941	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:00	1941	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:00	1941	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861433 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:00	1941	[DEBUG]	Store custom available field
2023-10-13	12:56:00	1941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861433,3,'12.8641666666667',1)
2023-10-13	12:56:00	1941	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:00	1941	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:00	1941	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861433 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:00	1941	[DEBUG]	Store custom available field
2023-10-13	12:56:00	1941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861433,6,'choisir la taille',3)
2023-10-13	12:56:00	1941	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:00	1941	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:00	1941	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:00	1941	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:00	1941	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861433 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:00	1941	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:00	1941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861433,8,1)
2023-10-13	12:56:00	1941	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:00	1941	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861433\":[1861433,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861433
2023-10-13	12:56:00	1941	[DEBUG]	Checking category
2023-10-13	12:56:00	1941	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:00	1941	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861433
2023-10-13	12:56:00	1941	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:00	1941	[DEBUG]	Executed store
2023-10-13	12:56:00	1941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861433','7321')
2023-10-13	12:56:00	1941	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:00	1941	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861433 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:00	1941	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:00	1941	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861433
2023-10-13	12:56:00	1942	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:00	1942	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:00	1942	[DEBUG]	Use field value for field taille
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:00	1942	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:00	1942	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:00	1942	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:00	1942	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:00	1942	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:00	1942	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:00	1942	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:00	1942	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:00	1942	[DEBUG]	Use field value for field published
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:00	1942	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field override
2023-10-13	12:56:00	1942	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:00	1942	[DEBUG]	Use field value for field slug
2023-10-13	12:56:00	1942	[DEBUG]	Process line 1942
2023-10-13	12:56:00	1942	[DEBUG]	Load a row
2023-10-13	12:56:00	1942	[DEBUG]	Processing item: 4713250012261
2023-10-13	12:56:00	1942	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:00	1942	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:00	1942	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6572_1'
2023-10-13	12:56:00	1942	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:00	1942	[DEBUG]	Processing product tax
2023-10-13	12:56:00	1942	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:00	1942	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:00	1942	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:00	1942	[DEBUG]	Query for Product
2023-10-13	12:56:00	1942	[DEBUG]	Executed store
2023-10-13	12:56:00	1942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861433','4713250012261','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:00	1942	[DEBUG]	No parent found
2023-10-13	12:56:00	1942	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861433 AND customfield_value = 'stockable'
2023-10-13	12:56:00	1942	[DEBUG]	Check product language entry
2023-10-13	12:56:00	1942	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861434
2023-10-13	12:56:00	1942	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:00	1942	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713250012261' AND `virtuemart_product_id` != 1861434
2023-10-13	12:56:00	1942	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:00	1942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861434, '4713250012261')
2023-10-13	12:56:00	1942	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:00	1942	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-ride-control-one-ant-a-partir-de-2019-noir-set' AND `virtuemart_product_id` != 1861434
2023-10-13	12:56:00	1942	[DEBUG]	Query for ProductLang
2023-10-13	12:56:00	1942	[DEBUG]	Executed store
2023-10-13	12:56:00	1942	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Ride Control One ANT+  à partir de 2019 / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-ride-control-one-ant-a-partir-de-2019-noir-set' WHERE `virtuemart_product_id` = '1861434'
2023-10-13	12:56:00	1942	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32451_giant_ride_control_one_ant+__à_partir_de_2019.jpg
2023-10-13	12:56:00	1942	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:00	1942	[DEBUG]	Process image file
2023-10-13	12:56:00	1942	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:00	1942	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:00	1942	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32451_giant_ride_control_one_ant+__à_partir_de_2019.jpg
2023-10-13	12:56:00	1942	[DEBUG]	Full name target: bcprisme/32451_giant_ride_control_one_ant+__à_partir_de_2019.jpg
2023-10-13	12:56:01	1942	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:01	1942	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32451_giant_ride_control_one_ant+__à_partir_de_2019.jpg'
2023-10-13	12:56:01	1942	[DEBUG]	Query for Media
2023-10-13	12:56:01	1942	[DEBUG]	Executed store
2023-10-13	12:56:01	1942	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32451_giant_ride_control_one_ant+__à_partir_de_2019.jpg',`file_url_thumb`='bcprisme/32451_giant_ride_control_one_ant+__à_partir_de_2019.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '146205'
2023-10-13	12:56:01	1942	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:01	1942	[DEBUG]	Executed store
2023-10-13	12:56:01	1942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861434','146205','1')
2023-10-13	12:56:01	1942	[DEBUG]	Store product image relation
2023-10-13	12:56:01	1942	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:01	1942	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861434 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:01	1942	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:01	1942	[DEBUG]	Executed store
2023-10-13	12:56:01	1942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861434','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:01	1942	[DEBUG]	Checking manufacturer
2023-10-13	12:56:01	1942	[DEBUG]	Load a row
2023-10-13	12:56:01	1942	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:01	1942	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:01	1942	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:01	1942	[DEBUG]	Executed store
2023-10-13	12:56:01	1942	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:01	1942	[DEBUG]	Manufacturer exists
2023-10-13	12:56:01	1942	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:01	1942	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:01	1942	[DEBUG]	Executed store
2023-10-13	12:56:01	1942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861434','29')
2023-10-13	12:56:01	1942	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:01	1942	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:01	1942	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861434 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:01	1942	[DEBUG]	Store custom available field
2023-10-13	12:56:01	1942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861434,3,'',1)
2023-10-13	12:56:01	1942	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:01	1942	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:01	1942	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861434 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:01	1942	[DEBUG]	Store custom available field
2023-10-13	12:56:01	1942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861434,6,'Set',3)
2023-10-13	12:56:01	1942	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:01	1942	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:01	1942	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861433
2023-10-13	12:56:01	1942	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:01	1942	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861433\":[1861433,8,1,\"choisir la taille\"],\"1861434\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861433
2023-10-13	12:56:01	1942	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:01	1942	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861434
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:01	1943	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field taille
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:01	1943	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:01	1943	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:01	1943	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:01	1943	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:01	1943	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:01	1943	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field published
2023-10-13	12:56:01	1943	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:01	1943	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field override
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:01	1943	[DEBUG]	Use field value for field slug
2023-10-13	12:56:01	1943	[DEBUG]	Process line 1943
2023-10-13	12:56:01	1943	[DEBUG]	Load a row
2023-10-13	12:56:01	1943	[DEBUG]	Processing item: A_6626_1
2023-10-13	12:56:01	1943	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:01	1943	[DEBUG]	Processing product tax
2023-10-13	12:56:01	1943	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:01	1943	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:01	1943	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:01	1943	[DEBUG]	Query for Product
2023-10-13	12:56:01	1943	[DEBUG]	Executed store
2023-10-13	12:56:01	1943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6626_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:01	1943	[DEBUG]	Check product language entry
2023-10-13	12:56:01	1943	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861435
2023-10-13	12:56:01	1943	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:01	1943	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6626_1' AND `virtuemart_product_id` != 1861435
2023-10-13	12:56:01	1943	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:01	1943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861435, 'A_6626_1')
2023-10-13	12:56:01	1943	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:01	1943	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-bouton-pour-unite-de-service-pour-tous-modeles-a-partir-de-2017-noir' AND `virtuemart_product_id` != 1861435
2023-10-13	12:56:01	1943	[DEBUG]	Query for ProductLang
2023-10-13	12:56:01	1943	[DEBUG]	Executed store
2023-10-13	12:56:01	1943	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.029',`product_name`='GIANT bouton pour unité de service pour tous modèles à partir de 2017 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-bouton-pour-unite-de-service-pour-tous-modeles-a-partir-de-2017-noir' WHERE `virtuemart_product_id` = '1861435'
2023-10-13	12:56:01	1943	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32510_giant_bouton_poue_unite_de_service_pour_tous_modeles_à_partir_de_2017.jpg
2023-10-13	12:56:01	1943	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:01	1943	[DEBUG]	Process image file
2023-10-13	12:56:01	1943	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:01	1943	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:01	1943	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32510_giant_bouton_poue_unite_de_service_pour_tous_modeles_à_partir_de_2017.jpg
2023-10-13	12:56:01	1943	[DEBUG]	Full name target: bcprisme/32510_giant_bouton_poue_unite_de_service_pour_tous_modeles_à_partir_de_2017.jpg
2023-10-13	12:56:02	1943	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:02	1943	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32510_giant_bouton_poue_unite_de_service_pour_tous_modeles_à_partir_de_2017.jpg'
2023-10-13	12:56:02	1943	[DEBUG]	Query for Media
2023-10-13	12:56:02	1943	[DEBUG]	Executed store
2023-10-13	12:56:02	1943	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32510_giant_bouton_poue_unite_de_service_pour_tous_modeles_à_partir_de_2017.jpg',`file_url_thumb`='bcprisme/32510_giant_bouton_poue_unite_de_service_pour_tous_modeles_à_partir_de_2017.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15280'
2023-10-13	12:56:02	1943	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:02	1943	[DEBUG]	Executed store
2023-10-13	12:56:02	1943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861435','15280','1')
2023-10-13	12:56:02	1943	[DEBUG]	Store product image relation
2023-10-13	12:56:02	1943	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:02	1943	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861435 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:02	1943	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:02	1943	[DEBUG]	Executed store
2023-10-13	12:56:02	1943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861435','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:02	1943	[DEBUG]	Checking manufacturer
2023-10-13	12:56:02	1943	[DEBUG]	Load a row
2023-10-13	12:56:02	1943	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:02	1943	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:02	1943	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:02	1943	[DEBUG]	Executed store
2023-10-13	12:56:02	1943	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:02	1943	[DEBUG]	Manufacturer exists
2023-10-13	12:56:02	1943	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:02	1943	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:02	1943	[DEBUG]	Executed store
2023-10-13	12:56:02	1943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861435','29')
2023-10-13	12:56:02	1943	[DEBUG]	Find the custom field ID
2023-10-13	12:56:02	1943	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:02	1943	[DEBUG]	No custom field ID found
2023-10-13	12:56:02	1943	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:02	1943	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:02	1943	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861435 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:02	1943	[DEBUG]	Store custom available field
2023-10-13	12:56:02	1943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861435,3,'12.8641666666667',1)
2023-10-13	12:56:02	1943	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:02	1943	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:02	1943	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861435 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:02	1943	[DEBUG]	Store custom available field
2023-10-13	12:56:02	1943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861435,6,'choisir la taille',3)
2023-10-13	12:56:02	1943	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:02	1943	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:02	1943	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:02	1943	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:02	1943	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861435 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:02	1943	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:02	1943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861435,8,1)
2023-10-13	12:56:02	1943	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:02	1943	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861435\":[1861435,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861435
2023-10-13	12:56:02	1943	[DEBUG]	Checking category
2023-10-13	12:56:02	1943	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:02	1943	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861435
2023-10-13	12:56:02	1943	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:02	1943	[DEBUG]	Executed store
2023-10-13	12:56:02	1943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861435','7321')
2023-10-13	12:56:02	1943	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:02	1943	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861435 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:02	1943	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:02	1943	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861435
2023-10-13	12:56:02	1944	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:02	1944	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:02	1944	[DEBUG]	Use field value for field taille
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:02	1944	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:02	1944	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:02	1944	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:02	1944	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:02	1944	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:02	1944	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:02	1944	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:02	1944	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:02	1944	[DEBUG]	Use field value for field published
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:02	1944	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field override
2023-10-13	12:56:02	1944	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:02	1944	[DEBUG]	Use field value for field slug
2023-10-13	12:56:02	1944	[DEBUG]	Process line 1944
2023-10-13	12:56:02	1944	[DEBUG]	Load a row
2023-10-13	12:56:02	1944	[DEBUG]	Processing item: 2417MFBTNXXÀ01
2023-10-13	12:56:02	1944	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:02	1944	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:02	1944	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6626_1'
2023-10-13	12:56:02	1944	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:02	1944	[DEBUG]	Processing product tax
2023-10-13	12:56:02	1944	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:02	1944	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:02	1944	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:02	1944	[DEBUG]	Query for Product
2023-10-13	12:56:02	1944	[DEBUG]	Executed store
2023-10-13	12:56:02	1944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861435','2417MFBTNXXÀ01','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:02	1944	[DEBUG]	No parent found
2023-10-13	12:56:02	1944	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861435 AND customfield_value = 'stockable'
2023-10-13	12:56:02	1944	[DEBUG]	Check product language entry
2023-10-13	12:56:02	1944	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861436
2023-10-13	12:56:02	1944	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:02	1944	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '2417MFBTNXXÀ01' AND `virtuemart_product_id` != 1861436
2023-10-13	12:56:02	1944	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:02	1944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861436, '2417MFBTNXXÀ01')
2023-10-13	12:56:02	1944	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:02	1944	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-bouton-pour-unite-de-service-pour-tous-modeles-a-partir-de-2017-noir-set' AND `virtuemart_product_id` != 1861436
2023-10-13	12:56:02	1944	[DEBUG]	Query for ProductLang
2023-10-13	12:56:02	1944	[DEBUG]	Executed store
2023-10-13	12:56:02	1944	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT bouton pour unité de service pour tous modèles à partir de 2017 / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-bouton-pour-unite-de-service-pour-tous-modeles-a-partir-de-2017-noir-set' WHERE `virtuemart_product_id` = '1861436'
2023-10-13	12:56:02	1944	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32510_giant_bouton_poue_unite_de_service_pour_tous_modeles_à_partir_de_2017.jpg
2023-10-13	12:56:02	1944	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:02	1944	[DEBUG]	Process image file
2023-10-13	12:56:02	1944	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:02	1944	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:02	1944	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32510_giant_bouton_poue_unite_de_service_pour_tous_modeles_à_partir_de_2017.jpg
2023-10-13	12:56:02	1944	[DEBUG]	Full name target: bcprisme/32510_giant_bouton_poue_unite_de_service_pour_tous_modeles_à_partir_de_2017.jpg
2023-10-13	12:56:03	1944	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:03	1944	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32510_giant_bouton_poue_unite_de_service_pour_tous_modeles_à_partir_de_2017.jpg'
2023-10-13	12:56:03	1944	[DEBUG]	Query for Media
2023-10-13	12:56:03	1944	[DEBUG]	Executed store
2023-10-13	12:56:03	1944	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32510_giant_bouton_poue_unite_de_service_pour_tous_modeles_à_partir_de_2017.jpg',`file_url_thumb`='bcprisme/32510_giant_bouton_poue_unite_de_service_pour_tous_modeles_à_partir_de_2017.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15280'
2023-10-13	12:56:03	1944	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:03	1944	[DEBUG]	Executed store
2023-10-13	12:56:03	1944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861436','15280','1')
2023-10-13	12:56:03	1944	[DEBUG]	Store product image relation
2023-10-13	12:56:03	1944	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:03	1944	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861436 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:03	1944	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:03	1944	[DEBUG]	Executed store
2023-10-13	12:56:03	1944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861436','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:03	1944	[DEBUG]	Checking manufacturer
2023-10-13	12:56:03	1944	[DEBUG]	Load a row
2023-10-13	12:56:03	1944	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:03	1944	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:03	1944	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:03	1944	[DEBUG]	Executed store
2023-10-13	12:56:03	1944	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:03	1944	[DEBUG]	Manufacturer exists
2023-10-13	12:56:03	1944	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:03	1944	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:03	1944	[DEBUG]	Executed store
2023-10-13	12:56:03	1944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861436','29')
2023-10-13	12:56:03	1944	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:03	1944	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:03	1944	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861436 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:03	1944	[DEBUG]	Store custom available field
2023-10-13	12:56:03	1944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861436,3,'',1)
2023-10-13	12:56:03	1944	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:03	1944	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:03	1944	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861436 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:03	1944	[DEBUG]	Store custom available field
2023-10-13	12:56:03	1944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861436,6,'Set',3)
2023-10-13	12:56:03	1944	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:03	1944	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:03	1944	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861435
2023-10-13	12:56:03	1944	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:03	1944	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861435\":[1861435,8,1,\"choisir la taille\"],\"1861436\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861435
2023-10-13	12:56:03	1944	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:03	1944	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861436
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:03	1945	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field taille
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:03	1945	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:03	1945	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:03	1945	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:03	1945	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:03	1945	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:03	1945	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field published
2023-10-13	12:56:03	1945	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:03	1945	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field override
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:03	1945	[DEBUG]	Use field value for field slug
2023-10-13	12:56:03	1945	[DEBUG]	Process line 1945
2023-10-13	12:56:03	1945	[DEBUG]	Load a row
2023-10-13	12:56:03	1945	[DEBUG]	Processing item: A_6631_1
2023-10-13	12:56:03	1945	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:03	1945	[DEBUG]	Processing product tax
2023-10-13	12:56:03	1945	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:03	1945	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:03	1945	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:03	1945	[DEBUG]	Query for Product
2023-10-13	12:56:03	1945	[DEBUG]	Executed store
2023-10-13	12:56:03	1945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6631_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:03	1945	[DEBUG]	Check product language entry
2023-10-13	12:56:03	1945	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861437
2023-10-13	12:56:03	1945	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:03	1945	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6631_1' AND `virtuemart_product_id` != 1861437
2023-10-13	12:56:03	1945	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:03	1945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861437, 'A_6631_1')
2023-10-13	12:56:03	1945	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:03	1945	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-commande-pour-ride-control-evo-my19-noir' AND `virtuemart_product_id` != 1861437
2023-10-13	12:56:03	1945	[DEBUG]	Query for ProductLang
2023-10-13	12:56:03	1945	[DEBUG]	Executed store
2023-10-13	12:56:03	1945	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.065',`product_name`='GIANT Commande pour Ride Control EVO MY19 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-commande-pour-ride-control-evo-my19-noir' WHERE `virtuemart_product_id` = '1861437'
2023-10-13	12:56:03	1945	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32515_giant_commande_pour_ride_control_evo_my19.jpg
2023-10-13	12:56:03	1945	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:03	1945	[DEBUG]	Process image file
2023-10-13	12:56:03	1945	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:03	1945	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:03	1945	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32515_giant_commande_pour_ride_control_evo_my19.jpg
2023-10-13	12:56:03	1945	[DEBUG]	Full name target: bcprisme/32515_giant_commande_pour_ride_control_evo_my19.jpg
2023-10-13	12:56:04	1945	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:04	1945	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32515_giant_commande_pour_ride_control_evo_my19.jpg'
2023-10-13	12:56:04	1945	[DEBUG]	Query for Media
2023-10-13	12:56:04	1945	[DEBUG]	Executed store
2023-10-13	12:56:04	1945	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32515_giant_commande_pour_ride_control_evo_my19.jpg',`file_url_thumb`='bcprisme/32515_giant_commande_pour_ride_control_evo_my19.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16554'
2023-10-13	12:56:04	1945	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:04	1945	[DEBUG]	Executed store
2023-10-13	12:56:04	1945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861437','16554','1')
2023-10-13	12:56:04	1945	[DEBUG]	Store product image relation
2023-10-13	12:56:04	1945	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:04	1945	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861437 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:04	1945	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:04	1945	[DEBUG]	Executed store
2023-10-13	12:56:04	1945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861437','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:04	1945	[DEBUG]	Checking manufacturer
2023-10-13	12:56:04	1945	[DEBUG]	Load a row
2023-10-13	12:56:04	1945	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:04	1945	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:04	1945	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:04	1945	[DEBUG]	Executed store
2023-10-13	12:56:04	1945	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:04	1945	[DEBUG]	Manufacturer exists
2023-10-13	12:56:04	1945	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:04	1945	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:04	1945	[DEBUG]	Executed store
2023-10-13	12:56:04	1945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861437','29')
2023-10-13	12:56:04	1945	[DEBUG]	Find the custom field ID
2023-10-13	12:56:04	1945	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:04	1945	[DEBUG]	No custom field ID found
2023-10-13	12:56:04	1945	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:04	1945	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:04	1945	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861437 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:04	1945	[DEBUG]	Store custom available field
2023-10-13	12:56:04	1945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861437,3,'12.8641666666667',1)
2023-10-13	12:56:04	1945	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:04	1945	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:04	1945	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861437 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:04	1945	[DEBUG]	Store custom available field
2023-10-13	12:56:04	1945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861437,6,'choisir la taille',3)
2023-10-13	12:56:04	1945	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:04	1945	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:04	1945	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:04	1945	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:04	1945	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861437 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:04	1945	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:04	1945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861437,8,1)
2023-10-13	12:56:04	1945	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:04	1945	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861437\":[1861437,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861437
2023-10-13	12:56:04	1945	[DEBUG]	Checking category
2023-10-13	12:56:04	1945	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:04	1945	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861437
2023-10-13	12:56:04	1945	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:04	1945	[DEBUG]	Executed store
2023-10-13	12:56:04	1945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861437','7321')
2023-10-13	12:56:04	1945	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:04	1945	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861437 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:04	1945	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:04	1945	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861437
2023-10-13	12:56:04	1946	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:04	1946	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:04	1946	[DEBUG]	Use field value for field taille
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:04	1946	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:04	1946	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:04	1946	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:04	1946	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:04	1946	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:04	1946	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:04	1946	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:04	1946	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:04	1946	[DEBUG]	Use field value for field published
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:04	1946	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field override
2023-10-13	12:56:04	1946	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:04	1946	[DEBUG]	Use field value for field slug
2023-10-13	12:56:04	1946	[DEBUG]	Process line 1946
2023-10-13	12:56:04	1946	[DEBUG]	Load a row
2023-10-13	12:56:04	1946	[DEBUG]	Processing item: 1000000107418
2023-10-13	12:56:04	1946	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:04	1946	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:04	1946	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6631_1'
2023-10-13	12:56:04	1946	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:04	1946	[DEBUG]	Processing product tax
2023-10-13	12:56:04	1946	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:04	1946	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:04	1946	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:04	1946	[DEBUG]	Query for Product
2023-10-13	12:56:04	1946	[DEBUG]	Executed store
2023-10-13	12:56:04	1946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861437','1000000107418','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:04	1946	[DEBUG]	No parent found
2023-10-13	12:56:04	1946	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861437 AND customfield_value = 'stockable'
2023-10-13	12:56:04	1946	[DEBUG]	Check product language entry
2023-10-13	12:56:04	1946	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861438
2023-10-13	12:56:04	1946	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:04	1946	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000107418' AND `virtuemart_product_id` != 1861438
2023-10-13	12:56:04	1946	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:04	1946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861438, '1000000107418')
2023-10-13	12:56:04	1946	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:04	1946	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-commande-pour-ride-control-evo-my19-noir-set' AND `virtuemart_product_id` != 1861438
2023-10-13	12:56:04	1946	[DEBUG]	Query for ProductLang
2023-10-13	12:56:04	1946	[DEBUG]	Executed store
2023-10-13	12:56:04	1946	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Commande pour Ride Control EVO MY19 / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-commande-pour-ride-control-evo-my19-noir-set' WHERE `virtuemart_product_id` = '1861438'
2023-10-13	12:56:04	1946	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32515_giant_commande_pour_ride_control_evo_my19.jpg
2023-10-13	12:56:04	1946	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:04	1946	[DEBUG]	Process image file
2023-10-13	12:56:04	1946	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:04	1946	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:04	1946	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32515_giant_commande_pour_ride_control_evo_my19.jpg
2023-10-13	12:56:04	1946	[DEBUG]	Full name target: bcprisme/32515_giant_commande_pour_ride_control_evo_my19.jpg
2023-10-13	12:56:05	1946	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:05	1946	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32515_giant_commande_pour_ride_control_evo_my19.jpg'
2023-10-13	12:56:05	1946	[DEBUG]	Query for Media
2023-10-13	12:56:05	1946	[DEBUG]	Executed store
2023-10-13	12:56:05	1946	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32515_giant_commande_pour_ride_control_evo_my19.jpg',`file_url_thumb`='bcprisme/32515_giant_commande_pour_ride_control_evo_my19.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16554'
2023-10-13	12:56:05	1946	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:05	1946	[DEBUG]	Executed store
2023-10-13	12:56:05	1946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861438','16554','1')
2023-10-13	12:56:05	1946	[DEBUG]	Store product image relation
2023-10-13	12:56:05	1946	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:05	1946	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861438 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:05	1946	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:05	1946	[DEBUG]	Executed store
2023-10-13	12:56:05	1946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861438','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:05	1946	[DEBUG]	Checking manufacturer
2023-10-13	12:56:05	1946	[DEBUG]	Load a row
2023-10-13	12:56:05	1946	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:05	1946	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:05	1946	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:05	1946	[DEBUG]	Executed store
2023-10-13	12:56:05	1946	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:05	1946	[DEBUG]	Manufacturer exists
2023-10-13	12:56:05	1946	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:05	1946	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:05	1946	[DEBUG]	Executed store
2023-10-13	12:56:05	1946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861438','29')
2023-10-13	12:56:05	1946	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:05	1946	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:05	1946	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861438 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:05	1946	[DEBUG]	Store custom available field
2023-10-13	12:56:05	1946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861438,3,'',1)
2023-10-13	12:56:05	1946	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:05	1946	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:05	1946	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861438 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:05	1946	[DEBUG]	Store custom available field
2023-10-13	12:56:05	1946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861438,6,'Set',3)
2023-10-13	12:56:05	1946	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:05	1946	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:05	1946	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861437
2023-10-13	12:56:05	1946	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:05	1946	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861437\":[1861437,8,1,\"choisir la taille\"],\"1861438\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861437
2023-10-13	12:56:05	1946	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:05	1946	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861438
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:05	1947	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field taille
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:05	1947	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:05	1947	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:05	1947	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:05	1947	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:05	1947	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:05	1947	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field published
2023-10-13	12:56:05	1947	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:05	1947	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field override
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:05	1947	[DEBUG]	Use field value for field slug
2023-10-13	12:56:05	1947	[DEBUG]	Process line 1947
2023-10-13	12:56:05	1947	[DEBUG]	Load a row
2023-10-13	12:56:05	1947	[DEBUG]	Processing item: A_6932_1
2023-10-13	12:56:05	1947	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:05	1947	[DEBUG]	Processing product tax
2023-10-13	12:56:05	1947	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:05	1947	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:05	1947	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:05	1947	[DEBUG]	Query for Product
2023-10-13	12:56:05	1947	[DEBUG]	Executed store
2023-10-13	12:56:05	1947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6932_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:05	1947	[DEBUG]	Check product language entry
2023-10-13	12:56:05	1947	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861439
2023-10-13	12:56:05	1947	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:05	1947	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6932_1' AND `virtuemart_product_id` != 1861439
2023-10-13	12:56:05	1947	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:05	1947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861439, 'A_6932_1')
2023-10-13	12:56:05	1947	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:05	1947	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-commande-pour-ride-control-ant-evo-my20-noir' AND `virtuemart_product_id` != 1861439
2023-10-13	12:56:05	1947	[DEBUG]	Query for ProductLang
2023-10-13	12:56:05	1947	[DEBUG]	Executed store
2023-10-13	12:56:05	1947	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.065_ANT',`product_name`='GIANT Commande pour Ride Control ANT+ EVO MY20 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-commande-pour-ride-control-ant-evo-my20-noir' WHERE `virtuemart_product_id` = '1861439'
2023-10-13	12:56:05	1947	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34067_giant_commande_pour_ride_control_ant+_evo_my20.jpg
2023-10-13	12:56:05	1947	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:05	1947	[DEBUG]	Process image file
2023-10-13	12:56:05	1947	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:05	1947	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:05	1947	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34067_giant_commande_pour_ride_control_ant+_evo_my20.jpg
2023-10-13	12:56:05	1947	[DEBUG]	Full name target: bcprisme/34067_giant_commande_pour_ride_control_ant+_evo_my20.jpg
2023-10-13	12:56:06	1947	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:06	1947	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34067_giant_commande_pour_ride_control_ant+_evo_my20.jpg'
2023-10-13	12:56:06	1947	[DEBUG]	Query for Media
2023-10-13	12:56:06	1947	[DEBUG]	Executed store
2023-10-13	12:56:06	1947	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34067_giant_commande_pour_ride_control_ant+_evo_my20.jpg',`file_url_thumb`='bcprisme/34067_giant_commande_pour_ride_control_ant+_evo_my20.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16555'
2023-10-13	12:56:06	1947	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:06	1947	[DEBUG]	Executed store
2023-10-13	12:56:06	1947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861439','16555','1')
2023-10-13	12:56:06	1947	[DEBUG]	Store product image relation
2023-10-13	12:56:06	1947	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:06	1947	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861439 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:06	1947	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:06	1947	[DEBUG]	Executed store
2023-10-13	12:56:06	1947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861439','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:06	1947	[DEBUG]	Checking manufacturer
2023-10-13	12:56:06	1947	[DEBUG]	Load a row
2023-10-13	12:56:06	1947	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:06	1947	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:06	1947	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:06	1947	[DEBUG]	Executed store
2023-10-13	12:56:06	1947	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:06	1947	[DEBUG]	Manufacturer exists
2023-10-13	12:56:06	1947	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:06	1947	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:06	1947	[DEBUG]	Executed store
2023-10-13	12:56:06	1947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861439','29')
2023-10-13	12:56:06	1947	[DEBUG]	Find the custom field ID
2023-10-13	12:56:06	1947	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:06	1947	[DEBUG]	No custom field ID found
2023-10-13	12:56:06	1947	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:06	1947	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:06	1947	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861439 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:06	1947	[DEBUG]	Store custom available field
2023-10-13	12:56:06	1947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861439,3,'12.8641666666667',1)
2023-10-13	12:56:06	1947	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:06	1947	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:06	1947	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861439 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:06	1947	[DEBUG]	Store custom available field
2023-10-13	12:56:06	1947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861439,6,'choisir la taille',3)
2023-10-13	12:56:06	1947	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:06	1947	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:06	1947	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:06	1947	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:06	1947	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861439 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:06	1947	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:06	1947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861439,8,1)
2023-10-13	12:56:06	1947	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:06	1947	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861439\":[1861439,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861439
2023-10-13	12:56:06	1947	[DEBUG]	Checking category
2023-10-13	12:56:06	1947	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:06	1947	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861439
2023-10-13	12:56:06	1947	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:06	1947	[DEBUG]	Executed store
2023-10-13	12:56:06	1947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861439','7321')
2023-10-13	12:56:06	1947	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:06	1947	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861439 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:06	1947	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:06	1947	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861439
2023-10-13	12:56:06	1948	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:06	1948	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:06	1948	[DEBUG]	Use field value for field taille
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:06	1948	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:06	1948	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:06	1948	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:06	1948	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:06	1948	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:06	1948	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:06	1948	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:06	1948	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:06	1948	[DEBUG]	Use field value for field published
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:06	1948	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field override
2023-10-13	12:56:06	1948	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:06	1948	[DEBUG]	Use field value for field slug
2023-10-13	12:56:06	1948	[DEBUG]	Process line 1948
2023-10-13	12:56:06	1948	[DEBUG]	Load a row
2023-10-13	12:56:06	1948	[DEBUG]	Processing item: 1000000114560
2023-10-13	12:56:06	1948	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:06	1948	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:06	1948	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6932_1'
2023-10-13	12:56:06	1948	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:06	1948	[DEBUG]	Processing product tax
2023-10-13	12:56:06	1948	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:06	1948	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:06	1948	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:06	1948	[DEBUG]	Query for Product
2023-10-13	12:56:06	1948	[DEBUG]	Executed store
2023-10-13	12:56:06	1948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861439','1000000114560','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:06	1948	[DEBUG]	No parent found
2023-10-13	12:56:06	1948	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861439 AND customfield_value = 'stockable'
2023-10-13	12:56:06	1948	[DEBUG]	Check product language entry
2023-10-13	12:56:06	1948	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861440
2023-10-13	12:56:06	1948	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:06	1948	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000114560' AND `virtuemart_product_id` != 1861440
2023-10-13	12:56:06	1948	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:06	1948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861440, '1000000114560')
2023-10-13	12:56:06	1948	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:06	1948	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-commande-pour-ride-control-ant-evo-my20-noir-set' AND `virtuemart_product_id` != 1861440
2023-10-13	12:56:06	1948	[DEBUG]	Query for ProductLang
2023-10-13	12:56:06	1948	[DEBUG]	Executed store
2023-10-13	12:56:06	1948	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Commande pour Ride Control ANT+ EVO MY20 / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-commande-pour-ride-control-ant-evo-my20-noir-set' WHERE `virtuemart_product_id` = '1861440'
2023-10-13	12:56:06	1948	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34067_giant_commande_pour_ride_control_ant+_evo_my20.jpg
2023-10-13	12:56:06	1948	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:06	1948	[DEBUG]	Process image file
2023-10-13	12:56:06	1948	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:06	1948	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:06	1948	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34067_giant_commande_pour_ride_control_ant+_evo_my20.jpg
2023-10-13	12:56:06	1948	[DEBUG]	Full name target: bcprisme/34067_giant_commande_pour_ride_control_ant+_evo_my20.jpg
2023-10-13	12:56:07	1948	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:07	1948	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34067_giant_commande_pour_ride_control_ant+_evo_my20.jpg'
2023-10-13	12:56:07	1948	[DEBUG]	Query for Media
2023-10-13	12:56:07	1948	[DEBUG]	Executed store
2023-10-13	12:56:07	1948	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34067_giant_commande_pour_ride_control_ant+_evo_my20.jpg',`file_url_thumb`='bcprisme/34067_giant_commande_pour_ride_control_ant+_evo_my20.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16555'
2023-10-13	12:56:07	1948	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:07	1948	[DEBUG]	Executed store
2023-10-13	12:56:07	1948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861440','16555','1')
2023-10-13	12:56:07	1948	[DEBUG]	Store product image relation
2023-10-13	12:56:07	1948	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:07	1948	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861440 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:07	1948	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:07	1948	[DEBUG]	Executed store
2023-10-13	12:56:07	1948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861440','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:07	1948	[DEBUG]	Checking manufacturer
2023-10-13	12:56:07	1948	[DEBUG]	Load a row
2023-10-13	12:56:07	1948	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:07	1948	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:07	1948	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:07	1948	[DEBUG]	Executed store
2023-10-13	12:56:07	1948	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:07	1948	[DEBUG]	Manufacturer exists
2023-10-13	12:56:07	1948	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:07	1948	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:07	1948	[DEBUG]	Executed store
2023-10-13	12:56:07	1948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861440','29')
2023-10-13	12:56:07	1948	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:07	1948	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:07	1948	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861440 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:07	1948	[DEBUG]	Store custom available field
2023-10-13	12:56:07	1948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861440,3,'',1)
2023-10-13	12:56:07	1948	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:07	1948	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:07	1948	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861440 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:07	1948	[DEBUG]	Store custom available field
2023-10-13	12:56:07	1948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861440,6,'Set',3)
2023-10-13	12:56:07	1948	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:07	1948	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:07	1948	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861439
2023-10-13	12:56:07	1948	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:07	1948	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861439\":[1861439,8,1,\"choisir la taille\"],\"1861440\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861439
2023-10-13	12:56:07	1948	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:07	1948	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861440
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:07	1949	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field taille
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:07	1949	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:07	1949	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:07	1949	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:07	1949	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:07	1949	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:07	1949	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field published
2023-10-13	12:56:07	1949	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:07	1949	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field override
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:07	1949	[DEBUG]	Use field value for field slug
2023-10-13	12:56:07	1949	[DEBUG]	Process line 1949
2023-10-13	12:56:07	1949	[DEBUG]	Load a row
2023-10-13	12:56:07	1949	[DEBUG]	Processing item: A_6940_208
2023-10-13	12:56:07	1949	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:07	1949	[DEBUG]	Processing product tax
2023-10-13	12:56:07	1949	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:07	1949	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:07	1949	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:07	1949	[DEBUG]	Query for Product
2023-10-13	12:56:07	1949	[DEBUG]	Executed store
2023-10-13	12:56:07	1949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6940_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:07	1949	[DEBUG]	Check product language entry
2023-10-13	12:56:07	1949	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861441
2023-10-13	12:56:07	1949	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:07	1949	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6940_208' AND `virtuemart_product_id` != 1861441
2023-10-13	12:56:07	1949	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:07	1949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861441, 'A_6940_208')
2023-10-13	12:56:07	1949	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:07	1949	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-ecran-purion-anthracite-avec-support-d-ecran-et-cable-aucune' AND `virtuemart_product_id` != 1861441
2023-10-13	12:56:07	1949	[DEBUG]	Query for ProductLang
2023-10-13	12:56:07	1949	[DEBUG]	Executed store
2023-10-13	12:56:07	1949	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.67742',`product_name`='Bosch Ecran Purion Anthracite avec support d\'écran et câble / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-ecran-purion-anthracite-avec-support-d-ecran-et-cable-aucune' WHERE `virtuemart_product_id` = '1861441'
2023-10-13	12:56:07	1949	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34075_bosch_ecran_purion_anthracite_avec_support_d_ecran_et_ceble.jpg
2023-10-13	12:56:07	1949	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:07	1949	[DEBUG]	Process image file
2023-10-13	12:56:07	1949	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:07	1949	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:07	1949	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34075_bosch_ecran_purion_anthracite_avec_support_d_ecran_et_ceble.jpg
2023-10-13	12:56:07	1949	[DEBUG]	Full name target: bcprisme/34075_bosch_ecran_purion_anthracite_avec_support_d_ecran_et_ceble.jpg
2023-10-13	12:56:08	1949	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:08	1949	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34075_bosch_ecran_purion_anthracite_avec_support_d_ecran_et_ceble.jpg'
2023-10-13	12:56:08	1949	[DEBUG]	Query for Media
2023-10-13	12:56:08	1949	[DEBUG]	Executed store
2023-10-13	12:56:08	1949	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34075_bosch_ecran_purion_anthracite_avec_support_d_ecran_et_ceble.jpg',`file_url_thumb`='bcprisme/34075_bosch_ecran_purion_anthracite_avec_support_d_ecran_et_ceble.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24868'
2023-10-13	12:56:08	1949	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:08	1949	[DEBUG]	Executed store
2023-10-13	12:56:08	1949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861441','24868','1')
2023-10-13	12:56:08	1949	[DEBUG]	Store product image relation
2023-10-13	12:56:08	1949	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:08	1949	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861441 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:08	1949	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:08	1949	[DEBUG]	Executed store
2023-10-13	12:56:08	1949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861441','0','115.970287836583','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:08	1949	[DEBUG]	Checking manufacturer
2023-10-13	12:56:08	1949	[DEBUG]	Load a row
2023-10-13	12:56:08	1949	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:08	1949	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:08	1949	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:08	1949	[DEBUG]	Executed store
2023-10-13	12:56:08	1949	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:08	1949	[DEBUG]	Manufacturer exists
2023-10-13	12:56:08	1949	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:08	1949	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:08	1949	[DEBUG]	Executed store
2023-10-13	12:56:08	1949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861441','33')
2023-10-13	12:56:08	1949	[DEBUG]	Find the custom field ID
2023-10-13	12:56:08	1949	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:08	1949	[DEBUG]	No custom field ID found
2023-10-13	12:56:08	1949	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:08	1949	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:56:08	1949	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861441 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:08	1949	[DEBUG]	Store custom available field
2023-10-13	12:56:08	1949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861441,3,'0',1)
2023-10-13	12:56:08	1949	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:08	1949	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:08	1949	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861441 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:08	1949	[DEBUG]	Store custom available field
2023-10-13	12:56:08	1949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861441,6,'choisir la taille',3)
2023-10-13	12:56:08	1949	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:08	1949	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:08	1949	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:08	1949	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:08	1949	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861441 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:08	1949	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:08	1949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861441,8,1)
2023-10-13	12:56:08	1949	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:08	1949	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861441\":[1861441,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861441
2023-10-13	12:56:08	1949	[DEBUG]	Checking category
2023-10-13	12:56:08	1949	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:08	1949	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861441
2023-10-13	12:56:08	1949	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:08	1949	[DEBUG]	Executed store
2023-10-13	12:56:08	1949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861441','7321')
2023-10-13	12:56:08	1949	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:08	1949	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861441 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:08	1949	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:08	1949	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861441
2023-10-13	12:56:08	1950	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:08	1950	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:08	1950	[DEBUG]	Use field value for field taille
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:08	1950	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:08	1950	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:08	1950	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:08	1950	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:08	1950	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:08	1950	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:08	1950	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:08	1950	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:08	1950	[DEBUG]	Use field value for field published
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:08	1950	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field override
2023-10-13	12:56:08	1950	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:08	1950	[DEBUG]	Use field value for field slug
2023-10-13	12:56:08	1950	[DEBUG]	Process line 1950
2023-10-13	12:56:08	1950	[DEBUG]	Load a row
2023-10-13	12:56:08	1950	[DEBUG]	Processing item: 4047025671354
2023-10-13	12:56:08	1950	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:08	1950	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:08	1950	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6940_208'
2023-10-13	12:56:08	1950	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:08	1950	[DEBUG]	Processing product tax
2023-10-13	12:56:08	1950	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:08	1950	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:08	1950	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:08	1950	[DEBUG]	Query for Product
2023-10-13	12:56:08	1950	[DEBUG]	Executed store
2023-10-13	12:56:08	1950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861441','4047025671354','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:08	1950	[DEBUG]	No parent found
2023-10-13	12:56:08	1950	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861441 AND customfield_value = 'stockable'
2023-10-13	12:56:08	1950	[DEBUG]	Check product language entry
2023-10-13	12:56:08	1950	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861442
2023-10-13	12:56:08	1950	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:08	1950	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047025671354' AND `virtuemart_product_id` != 1861442
2023-10-13	12:56:08	1950	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:08	1950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861442, '4047025671354')
2023-10-13	12:56:08	1950	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:08	1950	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-ecran-purion-anthracite-avec-support-d-ecran-et-cable-aucune-all' AND `virtuemart_product_id` != 1861442
2023-10-13	12:56:08	1950	[DEBUG]	Query for ProductLang
2023-10-13	12:56:08	1950	[DEBUG]	Executed store
2023-10-13	12:56:08	1950	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Ecran Purion Anthracite avec support d\'écran et câble / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-ecran-purion-anthracite-avec-support-d-ecran-et-cable-aucune-all' WHERE `virtuemart_product_id` = '1861442'
2023-10-13	12:56:08	1950	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34075_bosch_ecran_purion_anthracite_avec_support_d_ecran_et_ceble.jpg
2023-10-13	12:56:08	1950	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:08	1950	[DEBUG]	Process image file
2023-10-13	12:56:08	1950	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:08	1950	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:08	1950	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34075_bosch_ecran_purion_anthracite_avec_support_d_ecran_et_ceble.jpg
2023-10-13	12:56:08	1950	[DEBUG]	Full name target: bcprisme/34075_bosch_ecran_purion_anthracite_avec_support_d_ecran_et_ceble.jpg
2023-10-13	12:56:09	1950	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:09	1950	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34075_bosch_ecran_purion_anthracite_avec_support_d_ecran_et_ceble.jpg'
2023-10-13	12:56:09	1950	[DEBUG]	Query for Media
2023-10-13	12:56:09	1950	[DEBUG]	Executed store
2023-10-13	12:56:09	1950	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34075_bosch_ecran_purion_anthracite_avec_support_d_ecran_et_ceble.jpg',`file_url_thumb`='bcprisme/34075_bosch_ecran_purion_anthracite_avec_support_d_ecran_et_ceble.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24868'
2023-10-13	12:56:09	1950	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:09	1950	[DEBUG]	Executed store
2023-10-13	12:56:09	1950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861442','24868','1')
2023-10-13	12:56:09	1950	[DEBUG]	Store product image relation
2023-10-13	12:56:09	1950	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:09	1950	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861442 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:09	1950	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:09	1950	[DEBUG]	Executed store
2023-10-13	12:56:09	1950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861442','0','115.970287836583','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:09	1950	[DEBUG]	Checking manufacturer
2023-10-13	12:56:09	1950	[DEBUG]	Load a row
2023-10-13	12:56:09	1950	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:09	1950	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:09	1950	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:09	1950	[DEBUG]	Executed store
2023-10-13	12:56:09	1950	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:09	1950	[DEBUG]	Manufacturer exists
2023-10-13	12:56:09	1950	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:09	1950	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:09	1950	[DEBUG]	Executed store
2023-10-13	12:56:09	1950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861442','33')
2023-10-13	12:56:09	1950	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:09	1950	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:09	1950	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861442 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:09	1950	[DEBUG]	Store custom available field
2023-10-13	12:56:09	1950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861442,3,'',1)
2023-10-13	12:56:09	1950	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:09	1950	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:56:09	1950	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861442 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:09	1950	[DEBUG]	Store custom available field
2023-10-13	12:56:09	1950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861442,6,'All',3)
2023-10-13	12:56:09	1950	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:09	1950	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:09	1950	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861441
2023-10-13	12:56:09	1950	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:09	1950	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861441\":[1861441,8,1,\"choisir la taille\"],\"1861442\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861441
2023-10-13	12:56:09	1950	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:09	1950	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861442
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:09	1951	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field taille
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:09	1951	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:09	1951	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:09	1951	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:09	1951	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:09	1951	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:09	1951	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field published
2023-10-13	12:56:09	1951	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:09	1951	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field override
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:09	1951	[DEBUG]	Use field value for field slug
2023-10-13	12:56:09	1951	[DEBUG]	Process line 1951
2023-10-13	12:56:09	1951	[DEBUG]	Load a row
2023-10-13	12:56:09	1951	[DEBUG]	Processing item: A_7132_1
2023-10-13	12:56:09	1951	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:09	1951	[DEBUG]	Processing product tax
2023-10-13	12:56:09	1951	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:09	1951	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:09	1951	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:09	1951	[DEBUG]	Query for Product
2023-10-13	12:56:09	1951	[DEBUG]	Executed store
2023-10-13	12:56:09	1951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7132_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:09	1951	[DEBUG]	Check product language entry
2023-10-13	12:56:09	1951	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861443
2023-10-13	12:56:09	1951	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:09	1951	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7132_1' AND `virtuemart_product_id` != 1861443
2023-10-13	12:56:09	1951	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:09	1951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861443, 'A_7132_1')
2023-10-13	12:56:09	1951	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:09	1951	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-ride-control-plus-ant-pour-modele-hybride-a-partir-de-my20-noir' AND `virtuemart_product_id` != 1861443
2023-10-13	12:56:09	1951	[DEBUG]	Query for ProductLang
2023-10-13	12:56:09	1951	[DEBUG]	Executed store
2023-10-13	12:56:09	1951	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.076',`product_name`='GIANT Ride Control Plus ANT+ pour Modèle Hybride à partir de MY20 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-ride-control-plus-ant-pour-modele-hybride-a-partir-de-my20-noir' WHERE `virtuemart_product_id` = '1861443'
2023-10-13	12:56:09	1951	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34288_giant_ride_control_plus_ant+_pour_modele_hybride_ab_my20.jpg
2023-10-13	12:56:09	1951	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:09	1951	[DEBUG]	Process image file
2023-10-13	12:56:09	1951	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:09	1951	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:09	1951	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34288_giant_ride_control_plus_ant+_pour_modele_hybride_ab_my20.jpg
2023-10-13	12:56:09	1951	[DEBUG]	Full name target: bcprisme/34288_giant_ride_control_plus_ant+_pour_modele_hybride_ab_my20.jpg
2023-10-13	12:56:10	1951	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:10	1951	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34288_giant_ride_control_plus_ant+_pour_modele_hybride_ab_my20.jpg'
2023-10-13	12:56:10	1951	[DEBUG]	Query for Media
2023-10-13	12:56:10	1951	[DEBUG]	Executed store
2023-10-13	12:56:10	1951	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34288_giant_ride_control_plus_ant+_pour_modele_hybride_ab_my20.jpg',`file_url_thumb`='bcprisme/34288_giant_ride_control_plus_ant+_pour_modele_hybride_ab_my20.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '356817'
2023-10-13	12:56:10	1951	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:10	1951	[DEBUG]	Executed store
2023-10-13	12:56:10	1951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861443','356817','1')
2023-10-13	12:56:10	1951	[DEBUG]	Store product image relation
2023-10-13	12:56:10	1951	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:10	1951	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861443 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:10	1951	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:10	1951	[DEBUG]	Executed store
2023-10-13	12:56:10	1951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861443','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:10	1951	[DEBUG]	Checking manufacturer
2023-10-13	12:56:10	1951	[DEBUG]	Load a row
2023-10-13	12:56:10	1951	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:10	1951	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:10	1951	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:10	1951	[DEBUG]	Executed store
2023-10-13	12:56:10	1951	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:10	1951	[DEBUG]	Manufacturer exists
2023-10-13	12:56:10	1951	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:10	1951	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:10	1951	[DEBUG]	Executed store
2023-10-13	12:56:10	1951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861443','29')
2023-10-13	12:56:10	1951	[DEBUG]	Find the custom field ID
2023-10-13	12:56:10	1951	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:10	1951	[DEBUG]	No custom field ID found
2023-10-13	12:56:10	1951	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:10	1951	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:10	1951	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861443 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:10	1951	[DEBUG]	Store custom available field
2023-10-13	12:56:10	1951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861443,3,'12.8641666666667',1)
2023-10-13	12:56:10	1951	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:10	1951	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:10	1951	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861443 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:10	1951	[DEBUG]	Store custom available field
2023-10-13	12:56:10	1951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861443,6,'choisir la taille',3)
2023-10-13	12:56:10	1951	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:10	1951	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:10	1951	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:10	1951	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:10	1951	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861443 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:10	1951	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:10	1951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861443,8,1)
2023-10-13	12:56:10	1951	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:10	1951	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861443\":[1861443,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861443
2023-10-13	12:56:10	1951	[DEBUG]	Checking category
2023-10-13	12:56:10	1951	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:10	1951	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861443
2023-10-13	12:56:10	1951	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:10	1951	[DEBUG]	Executed store
2023-10-13	12:56:10	1951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861443','7321')
2023-10-13	12:56:10	1951	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:10	1951	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861443 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:10	1951	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:10	1951	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861443
2023-10-13	12:56:10	1952	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:10	1952	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:10	1952	[DEBUG]	Use field value for field taille
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:10	1952	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:10	1952	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:10	1952	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:10	1952	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:10	1952	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:10	1952	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:10	1952	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:10	1952	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:10	1952	[DEBUG]	Use field value for field published
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:10	1952	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field override
2023-10-13	12:56:10	1952	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:10	1952	[DEBUG]	Use field value for field slug
2023-10-13	12:56:10	1952	[DEBUG]	Process line 1952
2023-10-13	12:56:10	1952	[DEBUG]	Load a row
2023-10-13	12:56:10	1952	[DEBUG]	Processing item: 4713250001678
2023-10-13	12:56:10	1952	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:10	1952	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:10	1952	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7132_1'
2023-10-13	12:56:10	1952	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:10	1952	[DEBUG]	Processing product tax
2023-10-13	12:56:10	1952	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:10	1952	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:10	1952	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:10	1952	[DEBUG]	Query for Product
2023-10-13	12:56:10	1952	[DEBUG]	Executed store
2023-10-13	12:56:10	1952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861443','4713250001678','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:10	1952	[DEBUG]	No parent found
2023-10-13	12:56:10	1952	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861443 AND customfield_value = 'stockable'
2023-10-13	12:56:10	1952	[DEBUG]	Check product language entry
2023-10-13	12:56:10	1952	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861444
2023-10-13	12:56:10	1952	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:10	1952	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713250001678' AND `virtuemart_product_id` != 1861444
2023-10-13	12:56:10	1952	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:10	1952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861444, '4713250001678')
2023-10-13	12:56:10	1952	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:10	1952	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-ride-control-plus-ant-pour-modele-hybride-a-partir-de-my20-noir-set' AND `virtuemart_product_id` != 1861444
2023-10-13	12:56:10	1952	[DEBUG]	Query for ProductLang
2023-10-13	12:56:10	1952	[DEBUG]	Executed store
2023-10-13	12:56:10	1952	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Ride Control Plus ANT+ pour Modèle Hybride à partir de MY20 / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-ride-control-plus-ant-pour-modele-hybride-a-partir-de-my20-noir-set' WHERE `virtuemart_product_id` = '1861444'
2023-10-13	12:56:10	1952	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34288_giant_ride_control_plus_ant+_pour_modele_hybride_ab_my20.jpg
2023-10-13	12:56:10	1952	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:10	1952	[DEBUG]	Process image file
2023-10-13	12:56:10	1952	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:10	1952	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:10	1952	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34288_giant_ride_control_plus_ant+_pour_modele_hybride_ab_my20.jpg
2023-10-13	12:56:10	1952	[DEBUG]	Full name target: bcprisme/34288_giant_ride_control_plus_ant+_pour_modele_hybride_ab_my20.jpg
2023-10-13	12:56:11	1952	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:11	1952	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34288_giant_ride_control_plus_ant+_pour_modele_hybride_ab_my20.jpg'
2023-10-13	12:56:11	1952	[DEBUG]	Query for Media
2023-10-13	12:56:11	1952	[DEBUG]	Executed store
2023-10-13	12:56:11	1952	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34288_giant_ride_control_plus_ant+_pour_modele_hybride_ab_my20.jpg',`file_url_thumb`='bcprisme/34288_giant_ride_control_plus_ant+_pour_modele_hybride_ab_my20.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '356817'
2023-10-13	12:56:11	1952	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:11	1952	[DEBUG]	Executed store
2023-10-13	12:56:11	1952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861444','356817','1')
2023-10-13	12:56:11	1952	[DEBUG]	Store product image relation
2023-10-13	12:56:11	1952	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:11	1952	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861444 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:11	1952	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:11	1952	[DEBUG]	Executed store
2023-10-13	12:56:11	1952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861444','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:11	1952	[DEBUG]	Checking manufacturer
2023-10-13	12:56:11	1952	[DEBUG]	Load a row
2023-10-13	12:56:11	1952	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:11	1952	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:11	1952	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:11	1952	[DEBUG]	Executed store
2023-10-13	12:56:11	1952	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:11	1952	[DEBUG]	Manufacturer exists
2023-10-13	12:56:11	1952	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:11	1952	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:11	1952	[DEBUG]	Executed store
2023-10-13	12:56:11	1952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861444','29')
2023-10-13	12:56:11	1952	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:11	1952	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:11	1952	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861444 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:11	1952	[DEBUG]	Store custom available field
2023-10-13	12:56:11	1952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861444,3,'',1)
2023-10-13	12:56:11	1952	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:11	1952	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:11	1952	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861444 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:11	1952	[DEBUG]	Store custom available field
2023-10-13	12:56:11	1952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861444,6,'Set',3)
2023-10-13	12:56:11	1952	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:11	1952	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:11	1952	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861443
2023-10-13	12:56:11	1952	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:11	1952	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861443\":[1861443,8,1,\"choisir la taille\"],\"1861444\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861443
2023-10-13	12:56:11	1952	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:11	1952	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861444
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:11	1953	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field taille
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:11	1953	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:11	1953	[DEBUG]	Use default value for field file_url
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:11	1953	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:11	1953	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:11	1953	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:11	1953	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:11	1953	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field published
2023-10-13	12:56:11	1953	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:11	1953	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field override
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:11	1953	[DEBUG]	Use field value for field slug
2023-10-13	12:56:11	1953	[DEBUG]	Process line 1953
2023-10-13	12:56:11	1953	[DEBUG]	Load a row
2023-10-13	12:56:11	1953	[DEBUG]	Processing item: A_7226_1
2023-10-13	12:56:11	1953	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:11	1953	[DEBUG]	Processing product tax
2023-10-13	12:56:11	1953	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:11	1953	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:11	1953	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:11	1953	[DEBUG]	Query for Product
2023-10-13	12:56:11	1953	[DEBUG]	Executed store
2023-10-13	12:56:11	1953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7226_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:11	1953	[DEBUG]	Check product language entry
2023-10-13	12:56:11	1953	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861445
2023-10-13	12:56:11	1953	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:11	1953	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7226_1' AND `virtuemart_product_id` != 1861445
2023-10-13	12:56:11	1953	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:11	1953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861445, 'A_7226_1')
2023-10-13	12:56:11	1953	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:11	1953	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'yamaha-display-yamaha-noir' AND `virtuemart_product_id` != 1861445
2023-10-13	12:56:11	1953	[DEBUG]	Query for ProductLang
2023-10-13	12:56:11	1953	[DEBUG]	Executed store
2023-10-13	12:56:11	1953	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 346-007-83715-10',`product_name`='Yamaha Display Yamaha / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='yamaha-display-yamaha-noir' WHERE `virtuemart_product_id` = '1861445'
2023-10-13	12:56:12	1953	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:12	1953	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861445 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:12	1953	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:12	1953	[DEBUG]	Executed store
2023-10-13	12:56:12	1953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861445','0','70.4735376044568','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:12	1953	[DEBUG]	Checking manufacturer
2023-10-13	12:56:12	1953	[DEBUG]	Load a row
2023-10-13	12:56:12	1953	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:12	1953	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '230'
2023-10-13	12:56:12	1953	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:12	1953	[DEBUG]	Executed store
2023-10-13	12:56:12	1953	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='71',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='71' WHERE `virtuemart_manufacturer_id` = '230'
2023-10-13	12:56:12	1953	[DEBUG]	Manufacturer exists
2023-10-13	12:56:12	1953	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 230
2023-10-13	12:56:12	1953	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:12	1953	[DEBUG]	Executed store
2023-10-13	12:56:12	1953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861445','230')
2023-10-13	12:56:12	1953	[DEBUG]	Find the custom field ID
2023-10-13	12:56:12	1953	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:12	1953	[DEBUG]	No custom field ID found
2023-10-13	12:56:12	1953	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:12	1953	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:12	1953	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861445 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:12	1953	[DEBUG]	Store custom available field
2023-10-13	12:56:12	1953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861445,3,'12.8641666666667',1)
2023-10-13	12:56:12	1953	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:12	1953	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:12	1953	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861445 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:12	1953	[DEBUG]	Store custom available field
2023-10-13	12:56:12	1953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861445,6,'choisir la taille',3)
2023-10-13	12:56:12	1953	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:12	1953	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:12	1953	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:12	1953	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:12	1953	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861445 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:12	1953	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:12	1953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861445,8,1)
2023-10-13	12:56:12	1953	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:12	1953	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861445\":[1861445,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861445
2023-10-13	12:56:12	1953	[DEBUG]	Checking category
2023-10-13	12:56:12	1953	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:12	1953	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861445
2023-10-13	12:56:12	1953	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:12	1953	[DEBUG]	Executed store
2023-10-13	12:56:12	1953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861445','7321')
2023-10-13	12:56:12	1953	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:12	1953	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861445 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:12	1953	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:12	1953	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861445
2023-10-13	12:56:12	1954	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:12	1954	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:12	1954	[DEBUG]	Use field value for field taille
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:12	1954	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:12	1954	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:12	1954	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field file_url
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:12	1954	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:12	1954	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:12	1954	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:12	1954	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:12	1954	[DEBUG]	Use field value for field published
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:12	1954	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field override
2023-10-13	12:56:12	1954	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:12	1954	[DEBUG]	Use field value for field slug
2023-10-13	12:56:12	1954	[DEBUG]	Process line 1954
2023-10-13	12:56:12	1954	[DEBUG]	Load a row
2023-10-13	12:56:12	1954	[DEBUG]	Processing item: 7613019163289
2023-10-13	12:56:12	1954	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:12	1954	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:12	1954	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7226_1'
2023-10-13	12:56:12	1954	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:12	1954	[DEBUG]	Processing product tax
2023-10-13	12:56:12	1954	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:12	1954	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:12	1954	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:12	1954	[DEBUG]	Query for Product
2023-10-13	12:56:12	1954	[DEBUG]	Executed store
2023-10-13	12:56:12	1954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861445','7613019163289','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:12	1954	[DEBUG]	No parent found
2023-10-13	12:56:12	1954	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861445 AND customfield_value = 'stockable'
2023-10-13	12:56:12	1954	[DEBUG]	Check product language entry
2023-10-13	12:56:12	1954	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861446
2023-10-13	12:56:12	1954	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:12	1954	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7613019163289' AND `virtuemart_product_id` != 1861446
2023-10-13	12:56:12	1954	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:12	1954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861446, '7613019163289')
2023-10-13	12:56:12	1954	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:12	1954	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'yamaha-display-yamaha-noir-set' AND `virtuemart_product_id` != 1861446
2023-10-13	12:56:12	1954	[DEBUG]	Query for ProductLang
2023-10-13	12:56:12	1954	[DEBUG]	Executed store
2023-10-13	12:56:12	1954	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Yamaha Display Yamaha / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='yamaha-display-yamaha-noir-set' WHERE `virtuemart_product_id` = '1861446'
2023-10-13	12:56:12	1954	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:12	1954	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861446 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:12	1954	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:12	1954	[DEBUG]	Executed store
2023-10-13	12:56:12	1954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861446','0','70.4735376044568','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:12	1954	[DEBUG]	Checking manufacturer
2023-10-13	12:56:12	1954	[DEBUG]	Load a row
2023-10-13	12:56:12	1954	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:12	1954	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '230'
2023-10-13	12:56:12	1954	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:12	1954	[DEBUG]	Executed store
2023-10-13	12:56:12	1954	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='71',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='71' WHERE `virtuemart_manufacturer_id` = '230'
2023-10-13	12:56:12	1954	[DEBUG]	Manufacturer exists
2023-10-13	12:56:12	1954	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 230
2023-10-13	12:56:12	1954	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:12	1954	[DEBUG]	Executed store
2023-10-13	12:56:12	1954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861446','230')
2023-10-13	12:56:12	1954	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:12	1954	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:12	1954	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861446 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:12	1954	[DEBUG]	Store custom available field
2023-10-13	12:56:12	1954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861446,3,'',1)
2023-10-13	12:56:12	1954	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:12	1954	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:12	1954	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861446 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:12	1954	[DEBUG]	Store custom available field
2023-10-13	12:56:12	1954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861446,6,'Set',3)
2023-10-13	12:56:12	1954	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:12	1954	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:12	1954	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861445
2023-10-13	12:56:12	1954	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:12	1954	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861445\":[1861445,8,1,\"choisir la taille\"],\"1861446\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861445
2023-10-13	12:56:12	1954	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:12	1954	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861446
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:12	1955	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field taille
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:12	1955	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:12	1955	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:12	1955	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:12	1955	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:12	1955	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:12	1955	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field published
2023-10-13	12:56:12	1955	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:12	1955	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field override
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:12	1955	[DEBUG]	Use field value for field slug
2023-10-13	12:56:12	1955	[DEBUG]	Process line 1955
2023-10-13	12:56:12	1955	[DEBUG]	Load a row
2023-10-13	12:56:12	1955	[DEBUG]	Processing item: A_7309_1
2023-10-13	12:56:12	1955	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:12	1955	[DEBUG]	Processing product tax
2023-10-13	12:56:12	1955	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:12	1955	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:12	1955	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:12	1955	[DEBUG]	Query for Product
2023-10-13	12:56:12	1955	[DEBUG]	Executed store
2023-10-13	12:56:12	1955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7309_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:12	1955	[DEBUG]	Check product language entry
2023-10-13	12:56:12	1955	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861447
2023-10-13	12:56:12	1955	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:12	1955	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7309_1' AND `virtuemart_product_id` != 1861447
2023-10-13	12:56:12	1955	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:12	1955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861447, 'A_7309_1')
2023-10-13	12:56:12	1955	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:12	1955	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-carcasse-pour-unite-de-service-a-partir-de-my17-noir' AND `virtuemart_product_id` != 1861447
2023-10-13	12:56:12	1955	[DEBUG]	Query for ProductLang
2023-10-13	12:56:12	1955	[DEBUG]	Executed store
2023-10-13	12:56:12	1955	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.030',`product_name`='GIANT Carcasse pour unité de service à partir de MY17 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-carcasse-pour-unite-de-service-a-partir-de-my17-noir' WHERE `virtuemart_product_id` = '1861447'
2023-10-13	12:56:12	1955	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34522_giant_carcasse_pour_unite_de_service_à_partir_de_my17.jpg
2023-10-13	12:56:12	1955	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:12	1955	[DEBUG]	Process image file
2023-10-13	12:56:12	1955	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:12	1955	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:12	1955	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34522_giant_carcasse_pour_unite_de_service_à_partir_de_my17.jpg
2023-10-13	12:56:12	1955	[DEBUG]	Full name target: bcprisme/34522_giant_carcasse_pour_unite_de_service_à_partir_de_my17.jpg
2023-10-13	12:56:13	1955	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:13	1955	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34522_giant_carcasse_pour_unite_de_service_à_partir_de_my17.jpg'
2023-10-13	12:56:13	1955	[DEBUG]	Query for Media
2023-10-13	12:56:13	1955	[DEBUG]	Executed store
2023-10-13	12:56:13	1955	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34522_giant_carcasse_pour_unite_de_service_à_partir_de_my17.jpg',`file_url_thumb`='bcprisme/34522_giant_carcasse_pour_unite_de_service_à_partir_de_my17.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '158267'
2023-10-13	12:56:13	1955	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:13	1955	[DEBUG]	Executed store
2023-10-13	12:56:13	1955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861447','158267','1')
2023-10-13	12:56:13	1955	[DEBUG]	Store product image relation
2023-10-13	12:56:13	1955	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:13	1955	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861447 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:13	1955	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:13	1955	[DEBUG]	Executed store
2023-10-13	12:56:13	1955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861447','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:13	1955	[DEBUG]	Checking manufacturer
2023-10-13	12:56:13	1955	[DEBUG]	Load a row
2023-10-13	12:56:13	1955	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:13	1955	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:13	1955	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:13	1955	[DEBUG]	Executed store
2023-10-13	12:56:13	1955	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:13	1955	[DEBUG]	Manufacturer exists
2023-10-13	12:56:13	1955	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:13	1955	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:13	1955	[DEBUG]	Executed store
2023-10-13	12:56:13	1955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861447','29')
2023-10-13	12:56:13	1955	[DEBUG]	Find the custom field ID
2023-10-13	12:56:13	1955	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:13	1955	[DEBUG]	No custom field ID found
2023-10-13	12:56:13	1955	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:13	1955	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:13	1955	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861447 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:13	1955	[DEBUG]	Store custom available field
2023-10-13	12:56:13	1955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861447,3,'12.8641666666667',1)
2023-10-13	12:56:13	1955	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:13	1955	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:13	1955	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861447 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:13	1955	[DEBUG]	Store custom available field
2023-10-13	12:56:13	1955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861447,6,'choisir la taille',3)
2023-10-13	12:56:13	1955	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:13	1955	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:13	1955	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:13	1955	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:13	1955	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861447 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:13	1955	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:13	1955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861447,8,1)
2023-10-13	12:56:13	1955	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:13	1955	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861447\":[1861447,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861447
2023-10-13	12:56:13	1955	[DEBUG]	Checking category
2023-10-13	12:56:13	1955	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:13	1955	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861447
2023-10-13	12:56:13	1955	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:13	1955	[DEBUG]	Executed store
2023-10-13	12:56:13	1955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861447','7321')
2023-10-13	12:56:13	1955	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:13	1955	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861447 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:13	1955	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:13	1955	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861447
2023-10-13	12:56:13	1956	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:13	1956	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:13	1956	[DEBUG]	Use field value for field taille
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:13	1956	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:13	1956	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:13	1956	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:13	1956	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:13	1956	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:13	1956	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:13	1956	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:13	1956	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:13	1956	[DEBUG]	Use field value for field published
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:13	1956	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field override
2023-10-13	12:56:13	1956	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:13	1956	[DEBUG]	Use field value for field slug
2023-10-13	12:56:13	1956	[DEBUG]	Process line 1956
2023-10-13	12:56:13	1956	[DEBUG]	Load a row
2023-10-13	12:56:13	1956	[DEBUG]	Processing item: 245MREMOTE'03
2023-10-13	12:56:13	1956	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:13	1956	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:13	1956	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7309_1'
2023-10-13	12:56:13	1956	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:13	1956	[DEBUG]	Processing product tax
2023-10-13	12:56:13	1956	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:13	1956	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:13	1956	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:13	1956	[DEBUG]	Query for Product
2023-10-13	12:56:13	1956	[DEBUG]	Executed store
2023-10-13	12:56:13	1956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861447','245MREMOTE\'03','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:13	1956	[DEBUG]	No parent found
2023-10-13	12:56:13	1956	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861447 AND customfield_value = 'stockable'
2023-10-13	12:56:13	1956	[DEBUG]	Check product language entry
2023-10-13	12:56:13	1956	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861448
2023-10-13	12:56:13	1956	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:13	1956	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '245MREMOTE\'03' AND `virtuemart_product_id` != 1861448
2023-10-13	12:56:13	1956	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:13	1956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861448, '245MREMOTE\'03')
2023-10-13	12:56:13	1956	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:13	1956	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-carcasse-pour-unite-de-service-a-partir-de-my17-noir-set' AND `virtuemart_product_id` != 1861448
2023-10-13	12:56:13	1956	[DEBUG]	Query for ProductLang
2023-10-13	12:56:13	1956	[DEBUG]	Executed store
2023-10-13	12:56:13	1956	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Carcasse pour unité de service à partir de MY17 / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-carcasse-pour-unite-de-service-a-partir-de-my17-noir-set' WHERE `virtuemart_product_id` = '1861448'
2023-10-13	12:56:13	1956	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34522_giant_carcasse_pour_unite_de_service_à_partir_de_my17.jpg
2023-10-13	12:56:13	1956	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:13	1956	[DEBUG]	Process image file
2023-10-13	12:56:13	1956	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:13	1956	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:13	1956	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34522_giant_carcasse_pour_unite_de_service_à_partir_de_my17.jpg
2023-10-13	12:56:13	1956	[DEBUG]	Full name target: bcprisme/34522_giant_carcasse_pour_unite_de_service_à_partir_de_my17.jpg
2023-10-13	12:56:14	1956	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:14	1956	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34522_giant_carcasse_pour_unite_de_service_à_partir_de_my17.jpg'
2023-10-13	12:56:14	1956	[DEBUG]	Query for Media
2023-10-13	12:56:14	1956	[DEBUG]	Executed store
2023-10-13	12:56:14	1956	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34522_giant_carcasse_pour_unite_de_service_à_partir_de_my17.jpg',`file_url_thumb`='bcprisme/34522_giant_carcasse_pour_unite_de_service_à_partir_de_my17.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '158267'
2023-10-13	12:56:14	1956	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:14	1956	[DEBUG]	Executed store
2023-10-13	12:56:14	1956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861448','158267','1')
2023-10-13	12:56:14	1956	[DEBUG]	Store product image relation
2023-10-13	12:56:14	1956	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:14	1956	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861448 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:14	1956	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:14	1956	[DEBUG]	Executed store
2023-10-13	12:56:14	1956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861448','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:14	1956	[DEBUG]	Checking manufacturer
2023-10-13	12:56:14	1956	[DEBUG]	Load a row
2023-10-13	12:56:14	1956	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:14	1956	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:14	1956	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:14	1956	[DEBUG]	Executed store
2023-10-13	12:56:14	1956	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:14	1956	[DEBUG]	Manufacturer exists
2023-10-13	12:56:14	1956	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:14	1956	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:14	1956	[DEBUG]	Executed store
2023-10-13	12:56:14	1956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861448','29')
2023-10-13	12:56:14	1956	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:14	1956	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:14	1956	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861448 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:14	1956	[DEBUG]	Store custom available field
2023-10-13	12:56:14	1956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861448,3,'',1)
2023-10-13	12:56:14	1956	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:14	1956	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:14	1956	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861448 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:14	1956	[DEBUG]	Store custom available field
2023-10-13	12:56:14	1956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861448,6,'Set',3)
2023-10-13	12:56:14	1956	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:14	1956	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:14	1956	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861447
2023-10-13	12:56:14	1956	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:14	1956	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861447\":[1861447,8,1,\"choisir la taille\"],\"1861448\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861447
2023-10-13	12:56:14	1956	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:14	1956	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861448
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:14	1957	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field taille
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:14	1957	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:14	1957	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:14	1957	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:14	1957	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:14	1957	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:14	1957	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field published
2023-10-13	12:56:14	1957	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:14	1957	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field override
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:14	1957	[DEBUG]	Use field value for field slug
2023-10-13	12:56:14	1957	[DEBUG]	Process line 1957
2023-10-13	12:56:14	1957	[DEBUG]	Load a row
2023-10-13	12:56:14	1957	[DEBUG]	Processing item: A_7910_1
2023-10-13	12:56:14	1957	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:14	1957	[DEBUG]	Processing product tax
2023-10-13	12:56:14	1957	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:14	1957	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:14	1957	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:14	1957	[DEBUG]	Query for Product
2023-10-13	12:56:14	1957	[DEBUG]	Executed store
2023-10-13	12:56:14	1957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7910_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:14	1957	[DEBUG]	Check product language entry
2023-10-13	12:56:14	1957	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861449
2023-10-13	12:56:14	1957	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:14	1957	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7910_1' AND `virtuemart_product_id` != 1861449
2023-10-13	12:56:14	1957	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:14	1957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861449, 'A_7910_1')
2023-10-13	12:56:14	1957	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:14	1957	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-brides-de-35-mm-pour-evo-ride-control-noir' AND `virtuemart_product_id` != 1861449
2023-10-13	12:56:14	1957	[DEBUG]	Query for ProductLang
2023-10-13	12:56:14	1957	[DEBUG]	Executed store
2023-10-13	12:56:14	1957	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.121',`product_name`='GIANT brides de 35 mm pour Evo Ride Control  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-brides-de-35-mm-pour-evo-ride-control-noir' WHERE `virtuemart_product_id` = '1861449'
2023-10-13	12:56:14	1957	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36338_giant-brides_de_35_mm_pour_evo_ride_control_.jpg
2023-10-13	12:56:14	1957	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:14	1957	[DEBUG]	Process image file
2023-10-13	12:56:14	1957	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:14	1957	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:14	1957	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36338_giant-brides_de_35_mm_pour_evo_ride_control_.jpg
2023-10-13	12:56:14	1957	[DEBUG]	Full name target: bcprisme/36338_giant-brides_de_35_mm_pour_evo_ride_control_.jpg
2023-10-13	12:56:15	1957	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:15	1957	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36338_giant-brides_de_35_mm_pour_evo_ride_control_.jpg'
2023-10-13	12:56:15	1957	[DEBUG]	Query for Media
2023-10-13	12:56:15	1957	[DEBUG]	Executed store
2023-10-13	12:56:15	1957	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36338_giant-brides_de_35_mm_pour_evo_ride_control_.jpg',`file_url_thumb`='bcprisme/36338_giant-brides_de_35_mm_pour_evo_ride_control_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '557214'
2023-10-13	12:56:15	1957	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:15	1957	[DEBUG]	Executed store
2023-10-13	12:56:15	1957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861449','557214','1')
2023-10-13	12:56:15	1957	[DEBUG]	Store product image relation
2023-10-13	12:56:15	1957	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:15	1957	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861449 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:15	1957	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:15	1957	[DEBUG]	Executed store
2023-10-13	12:56:15	1957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861449','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:15	1957	[DEBUG]	Checking manufacturer
2023-10-13	12:56:15	1957	[DEBUG]	Load a row
2023-10-13	12:56:15	1957	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:15	1957	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:15	1957	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:15	1957	[DEBUG]	Executed store
2023-10-13	12:56:15	1957	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:15	1957	[DEBUG]	Manufacturer exists
2023-10-13	12:56:15	1957	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:15	1957	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:15	1957	[DEBUG]	Executed store
2023-10-13	12:56:15	1957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861449','29')
2023-10-13	12:56:15	1957	[DEBUG]	Find the custom field ID
2023-10-13	12:56:15	1957	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:15	1957	[DEBUG]	No custom field ID found
2023-10-13	12:56:15	1957	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:15	1957	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:15	1957	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861449 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:15	1957	[DEBUG]	Store custom available field
2023-10-13	12:56:15	1957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861449,3,'12.8641666666667',1)
2023-10-13	12:56:15	1957	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:15	1957	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:15	1957	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861449 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:15	1957	[DEBUG]	Store custom available field
2023-10-13	12:56:15	1957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861449,6,'choisir la taille',3)
2023-10-13	12:56:15	1957	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:15	1957	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:15	1957	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:15	1957	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:15	1957	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861449 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:15	1957	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:15	1957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861449,8,1)
2023-10-13	12:56:15	1957	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:15	1957	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861449\":[1861449,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861449
2023-10-13	12:56:15	1957	[DEBUG]	Checking category
2023-10-13	12:56:15	1957	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:15	1957	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861449
2023-10-13	12:56:15	1957	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:15	1957	[DEBUG]	Executed store
2023-10-13	12:56:15	1957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861449','7321')
2023-10-13	12:56:15	1957	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:15	1957	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861449 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:15	1957	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:15	1957	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861449
2023-10-13	12:56:15	1958	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:15	1958	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:15	1958	[DEBUG]	Use field value for field taille
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:15	1958	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:15	1958	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:15	1958	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:15	1958	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:15	1958	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:15	1958	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:15	1958	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:15	1958	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:15	1958	[DEBUG]	Use field value for field published
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:15	1958	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field override
2023-10-13	12:56:15	1958	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:15	1958	[DEBUG]	Use field value for field slug
2023-10-13	12:56:15	1958	[DEBUG]	Process line 1958
2023-10-13	12:56:15	1958	[DEBUG]	Load a row
2023-10-13	12:56:15	1958	[DEBUG]	Processing item: 4713250849096
2023-10-13	12:56:15	1958	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:15	1958	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:15	1958	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7910_1'
2023-10-13	12:56:15	1958	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:15	1958	[DEBUG]	Processing product tax
2023-10-13	12:56:15	1958	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:15	1958	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:15	1958	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:15	1958	[DEBUG]	Query for Product
2023-10-13	12:56:15	1958	[DEBUG]	Executed store
2023-10-13	12:56:15	1958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861449','4713250849096','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:15	1958	[DEBUG]	No parent found
2023-10-13	12:56:15	1958	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861449 AND customfield_value = 'stockable'
2023-10-13	12:56:15	1958	[DEBUG]	Check product language entry
2023-10-13	12:56:15	1958	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861450
2023-10-13	12:56:15	1958	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:15	1958	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713250849096' AND `virtuemart_product_id` != 1861450
2023-10-13	12:56:15	1958	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:15	1958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861450, '4713250849096')
2023-10-13	12:56:15	1958	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:15	1958	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-brides-de-35-mm-pour-evo-ride-control-noir-set' AND `virtuemart_product_id` != 1861450
2023-10-13	12:56:15	1958	[DEBUG]	Query for ProductLang
2023-10-13	12:56:15	1958	[DEBUG]	Executed store
2023-10-13	12:56:15	1958	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT brides de 35 mm pour Evo Ride Control  / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-brides-de-35-mm-pour-evo-ride-control-noir-set' WHERE `virtuemart_product_id` = '1861450'
2023-10-13	12:56:15	1958	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36338_giant-brides_de_35_mm_pour_evo_ride_control_.jpg
2023-10-13	12:56:15	1958	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:15	1958	[DEBUG]	Process image file
2023-10-13	12:56:15	1958	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:56:15	1958	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:15	1958	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36338_giant-brides_de_35_mm_pour_evo_ride_control_.jpg
2023-10-13	12:56:15	1958	[DEBUG]	Full name target: bcprisme/36338_giant-brides_de_35_mm_pour_evo_ride_control_.jpg
2023-10-13	12:56:16	1958	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:16	1958	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36338_giant-brides_de_35_mm_pour_evo_ride_control_.jpg'
2023-10-13	12:56:16	1958	[DEBUG]	Query for Media
2023-10-13	12:56:16	1958	[DEBUG]	Executed store
2023-10-13	12:56:16	1958	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36338_giant-brides_de_35_mm_pour_evo_ride_control_.jpg',`file_url_thumb`='bcprisme/36338_giant-brides_de_35_mm_pour_evo_ride_control_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '557214'
2023-10-13	12:56:16	1958	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:16	1958	[DEBUG]	Executed store
2023-10-13	12:56:16	1958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861450','557214','1')
2023-10-13	12:56:16	1958	[DEBUG]	Store product image relation
2023-10-13	12:56:16	1958	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:16	1958	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861450 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:16	1958	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:16	1958	[DEBUG]	Executed store
2023-10-13	12:56:16	1958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861450','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:16	1958	[DEBUG]	Checking manufacturer
2023-10-13	12:56:16	1958	[DEBUG]	Load a row
2023-10-13	12:56:16	1958	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:16	1958	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:16	1958	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:16	1958	[DEBUG]	Executed store
2023-10-13	12:56:16	1958	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:16	1958	[DEBUG]	Manufacturer exists
2023-10-13	12:56:16	1958	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:16	1958	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:16	1958	[DEBUG]	Executed store
2023-10-13	12:56:16	1958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861450','29')
2023-10-13	12:56:16	1958	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:16	1958	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:16	1958	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861450 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:16	1958	[DEBUG]	Store custom available field
2023-10-13	12:56:16	1958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861450,3,'',1)
2023-10-13	12:56:16	1958	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:16	1958	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:16	1958	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861450 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:16	1958	[DEBUG]	Store custom available field
2023-10-13	12:56:16	1958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861450,6,'Set',3)
2023-10-13	12:56:16	1958	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:16	1958	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:16	1958	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861449
2023-10-13	12:56:16	1958	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:16	1958	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861449\":[1861449,8,1,\"choisir la taille\"],\"1861450\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861449
2023-10-13	12:56:16	1958	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:16	1958	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861450
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:16	1959	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field taille
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:16	1959	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:16	1959	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:16	1959	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:16	1959	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:16	1959	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:16	1959	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field published
2023-10-13	12:56:16	1959	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:16	1959	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field override
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:16	1959	[DEBUG]	Use field value for field slug
2023-10-13	12:56:16	1959	[DEBUG]	Process line 1959
2023-10-13	12:56:16	1959	[DEBUG]	Load a row
2023-10-13	12:56:16	1959	[DEBUG]	Processing item: A_7954_1
2023-10-13	12:56:16	1959	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:16	1959	[DEBUG]	Processing product tax
2023-10-13	12:56:16	1959	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:16	1959	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:16	1959	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:16	1959	[DEBUG]	Query for Product
2023-10-13	12:56:16	1959	[DEBUG]	Executed store
2023-10-13	12:56:16	1959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7954_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:16	1959	[DEBUG]	Check product language entry
2023-10-13	12:56:16	1959	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861451
2023-10-13	12:56:16	1959	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:16	1959	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7954_1' AND `virtuemart_product_id` != 1861451
2023-10-13	12:56:16	1959	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:16	1959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861451, 'A_7954_1')
2023-10-13	12:56:16	1959	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:16	1959	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-commande-pour-ride-contgrol-ergo-sg-systeme-led-5v-cable-7-a-partir-de-my21-ant-noir' AND `virtuemart_product_id` != 1861451
2023-10-13	12:56:16	1959	[DEBUG]	Query for ProductLang
2023-10-13	12:56:16	1959	[DEBUG]	Executed store
2023-10-13	12:56:16	1959	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.122',`product_name`='GIANT Commande pour Ride Contgrol Ergo SG-Système (LED 5V Câble 7) à partir de MY21 ANT+ / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-commande-pour-ride-contgrol-ergo-sg-systeme-led-5v-cable-7-a-partir-de-my21-ant-noir' WHERE `virtuemart_product_id` = '1861451'
2023-10-13	12:56:16	1959	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36392_giant_commande_pour_ride_contgrol_ergo_sg-systeme_(led_5v_ceble_7)_à_partir_de_my21.jpg
2023-10-13	12:56:16	1959	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:16	1959	[DEBUG]	Process image file
2023-10-13	12:56:16	1959	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:16	1959	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:16	1959	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36392_giant_commande_pour_ride_contgrol_ergo_sg-systeme_(led_5v_ceble_7)_à_partir_de_my21.jpg
2023-10-13	12:56:16	1959	[DEBUG]	Full name target: bcprisme/36392_giant_commande_pour_ride_contgrol_ergo_sg-systeme_(led_5v_ceble_7)_à_partir_de_my21.jpg
2023-10-13	12:56:17	1959	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:17	1959	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36392_giant_commande_pour_ride_contgrol_ergo_sg-systeme_(led_5v_ceble_7)_à_partir_de_my21.jpg'
2023-10-13	12:56:17	1959	[DEBUG]	Query for Media
2023-10-13	12:56:17	1959	[DEBUG]	Executed store
2023-10-13	12:56:17	1959	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36392_giant_commande_pour_ride_contgrol_ergo_sg-systeme_(led_5v_ceble_7)_à_partir_de_my21.jpg',`file_url_thumb`='bcprisme/36392_giant_commande_pour_ride_contgrol_ergo_sg-systeme_(led_5v_ceble_7)_à_partir_de_my21.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '576772'
2023-10-13	12:56:17	1959	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:17	1959	[DEBUG]	Executed store
2023-10-13	12:56:17	1959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861451','576772','1')
2023-10-13	12:56:17	1959	[DEBUG]	Store product image relation
2023-10-13	12:56:17	1959	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:17	1959	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861451 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:17	1959	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:17	1959	[DEBUG]	Executed store
2023-10-13	12:56:17	1959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861451','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:17	1959	[DEBUG]	Checking manufacturer
2023-10-13	12:56:17	1959	[DEBUG]	Load a row
2023-10-13	12:56:17	1959	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:17	1959	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:17	1959	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:17	1959	[DEBUG]	Executed store
2023-10-13	12:56:17	1959	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:17	1959	[DEBUG]	Manufacturer exists
2023-10-13	12:56:17	1959	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:17	1959	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:17	1959	[DEBUG]	Executed store
2023-10-13	12:56:17	1959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861451','29')
2023-10-13	12:56:17	1959	[DEBUG]	Find the custom field ID
2023-10-13	12:56:17	1959	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:17	1959	[DEBUG]	No custom field ID found
2023-10-13	12:56:17	1959	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:17	1959	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:17	1959	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861451 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:17	1959	[DEBUG]	Store custom available field
2023-10-13	12:56:17	1959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861451,3,'12.8641666666667',1)
2023-10-13	12:56:17	1959	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:17	1959	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:17	1959	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861451 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:17	1959	[DEBUG]	Store custom available field
2023-10-13	12:56:17	1959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861451,6,'choisir la taille',3)
2023-10-13	12:56:17	1959	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:17	1959	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:17	1959	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:17	1959	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:17	1959	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861451 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:17	1959	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:17	1959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861451,8,1)
2023-10-13	12:56:17	1959	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:17	1959	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861451\":[1861451,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861451
2023-10-13	12:56:17	1959	[DEBUG]	Checking category
2023-10-13	12:56:17	1959	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:17	1959	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861451
2023-10-13	12:56:17	1959	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:17	1959	[DEBUG]	Executed store
2023-10-13	12:56:17	1959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861451','7321')
2023-10-13	12:56:17	1959	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:17	1959	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861451 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:17	1959	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:17	1959	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861451
2023-10-13	12:56:17	1960	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:17	1960	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:17	1960	[DEBUG]	Use field value for field taille
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:17	1960	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:17	1960	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:17	1960	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:17	1960	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:17	1960	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:17	1960	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:17	1960	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:17	1960	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:17	1960	[DEBUG]	Use field value for field published
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:17	1960	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field override
2023-10-13	12:56:17	1960	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:17	1960	[DEBUG]	Use field value for field slug
2023-10-13	12:56:17	1960	[DEBUG]	Process line 1960
2023-10-13	12:56:17	1960	[DEBUG]	Load a row
2023-10-13	12:56:17	1960	[DEBUG]	Processing item: 245'FLED28'10
2023-10-13	12:56:17	1960	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:17	1960	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:17	1960	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7954_1'
2023-10-13	12:56:17	1960	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:17	1960	[DEBUG]	Processing product tax
2023-10-13	12:56:17	1960	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:17	1960	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:17	1960	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:17	1960	[DEBUG]	Query for Product
2023-10-13	12:56:17	1960	[DEBUG]	Executed store
2023-10-13	12:56:17	1960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861451','245\'FLED28\'10','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:17	1960	[DEBUG]	No parent found
2023-10-13	12:56:17	1960	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861451 AND customfield_value = 'stockable'
2023-10-13	12:56:17	1960	[DEBUG]	Check product language entry
2023-10-13	12:56:17	1960	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861452
2023-10-13	12:56:17	1960	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:17	1960	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '245\'FLED28\'10' AND `virtuemart_product_id` != 1861452
2023-10-13	12:56:17	1960	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:17	1960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861452, '245\'FLED28\'10')
2023-10-13	12:56:17	1960	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:17	1960	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-commande-pour-ride-contgrol-ergo-sg-systeme-led-5v-cable-7-a-partir-de-my21-ant-noir-set' AND `virtuemart_product_id` != 1861452
2023-10-13	12:56:17	1960	[DEBUG]	Query for ProductLang
2023-10-13	12:56:17	1960	[DEBUG]	Executed store
2023-10-13	12:56:17	1960	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Commande pour Ride Contgrol Ergo SG-Système (LED 5V Câble 7) à partir de MY21 ANT+ / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-commande-pour-ride-contgrol-ergo-sg-systeme-led-5v-cable-7-a-partir-de-my21-ant-noir-set' WHERE `virtuemart_product_id` = '1861452'
2023-10-13	12:56:17	1960	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36392_giant_commande_pour_ride_contgrol_ergo_sg-systeme_(led_5v_ceble_7)_à_partir_de_my21.jpg
2023-10-13	12:56:17	1960	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:17	1960	[DEBUG]	Process image file
2023-10-13	12:56:17	1960	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:17	1960	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:17	1960	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36392_giant_commande_pour_ride_contgrol_ergo_sg-systeme_(led_5v_ceble_7)_à_partir_de_my21.jpg
2023-10-13	12:56:17	1960	[DEBUG]	Full name target: bcprisme/36392_giant_commande_pour_ride_contgrol_ergo_sg-systeme_(led_5v_ceble_7)_à_partir_de_my21.jpg
2023-10-13	12:56:18	1960	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:18	1960	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36392_giant_commande_pour_ride_contgrol_ergo_sg-systeme_(led_5v_ceble_7)_à_partir_de_my21.jpg'
2023-10-13	12:56:18	1960	[DEBUG]	Query for Media
2023-10-13	12:56:18	1960	[DEBUG]	Executed store
2023-10-13	12:56:18	1960	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36392_giant_commande_pour_ride_contgrol_ergo_sg-systeme_(led_5v_ceble_7)_à_partir_de_my21.jpg',`file_url_thumb`='bcprisme/36392_giant_commande_pour_ride_contgrol_ergo_sg-systeme_(led_5v_ceble_7)_à_partir_de_my21.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '576772'
2023-10-13	12:56:18	1960	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:18	1960	[DEBUG]	Executed store
2023-10-13	12:56:18	1960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861452','576772','1')
2023-10-13	12:56:18	1960	[DEBUG]	Store product image relation
2023-10-13	12:56:18	1960	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:18	1960	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861452 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:18	1960	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:18	1960	[DEBUG]	Executed store
2023-10-13	12:56:18	1960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861452','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:18	1960	[DEBUG]	Checking manufacturer
2023-10-13	12:56:18	1960	[DEBUG]	Load a row
2023-10-13	12:56:18	1960	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:18	1960	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:18	1960	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:18	1960	[DEBUG]	Executed store
2023-10-13	12:56:18	1960	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:18	1960	[DEBUG]	Manufacturer exists
2023-10-13	12:56:18	1960	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:18	1960	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:18	1960	[DEBUG]	Executed store
2023-10-13	12:56:18	1960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861452','29')
2023-10-13	12:56:18	1960	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:18	1960	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:18	1960	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861452 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:18	1960	[DEBUG]	Store custom available field
2023-10-13	12:56:18	1960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861452,3,'',1)
2023-10-13	12:56:18	1960	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:18	1960	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:18	1960	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861452 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:18	1960	[DEBUG]	Store custom available field
2023-10-13	12:56:18	1960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861452,6,'Set',3)
2023-10-13	12:56:18	1960	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:18	1960	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:18	1960	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861451
2023-10-13	12:56:18	1960	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:18	1960	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861451\":[1861451,8,1,\"choisir la taille\"],\"1861452\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861451
2023-10-13	12:56:18	1960	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:18	1960	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861452
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:18	1961	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field taille
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:18	1961	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:18	1961	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:18	1961	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:18	1961	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:18	1961	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:18	1961	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field published
2023-10-13	12:56:18	1961	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:18	1961	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field override
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:18	1961	[DEBUG]	Use field value for field slug
2023-10-13	12:56:18	1961	[DEBUG]	Process line 1961
2023-10-13	12:56:18	1961	[DEBUG]	Load a row
2023-10-13	12:56:18	1961	[DEBUG]	Processing item: A_8025_1
2023-10-13	12:56:18	1961	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:18	1961	[DEBUG]	Processing product tax
2023-10-13	12:56:18	1961	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:18	1961	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:18	1961	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:18	1961	[DEBUG]	Query for Product
2023-10-13	12:56:18	1961	[DEBUG]	Executed store
2023-10-13	12:56:18	1961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8025_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:18	1961	[DEBUG]	Check product language entry
2023-10-13	12:56:18	1961	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861453
2023-10-13	12:56:18	1961	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:18	1961	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8025_1' AND `virtuemart_product_id` != 1861453
2023-10-13	12:56:18	1961	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:18	1961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861453, 'A_8025_1')
2023-10-13	12:56:18	1961	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:18	1961	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-support-ride-dash-evo-noir' AND `virtuemart_product_id` != 1861453
2023-10-13	12:56:18	1961	[DEBUG]	Query for ProductLang
2023-10-13	12:56:18	1961	[DEBUG]	Executed store
2023-10-13	12:56:18	1961	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.107',`product_name`='GIANT Support RIDE DASH EVO  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-support-ride-dash-evo-noir' WHERE `virtuemart_product_id` = '1861453'
2023-10-13	12:56:18	1961	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36511_giant_support_ride_dash_evo_.jpg
2023-10-13	12:56:18	1961	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:18	1961	[DEBUG]	Process image file
2023-10-13	12:56:18	1961	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:18	1961	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:18	1961	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36511_giant_support_ride_dash_evo_.jpg
2023-10-13	12:56:18	1961	[DEBUG]	Full name target: bcprisme/36511_giant_support_ride_dash_evo_.jpg
2023-10-13	12:56:19	1961	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:19	1961	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36511_giant_support_ride_dash_evo_.jpg'
2023-10-13	12:56:19	1961	[DEBUG]	Query for Media
2023-10-13	12:56:19	1961	[DEBUG]	Executed store
2023-10-13	12:56:19	1961	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36511_giant_support_ride_dash_evo_.jpg',`file_url_thumb`='bcprisme/36511_giant_support_ride_dash_evo_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '626189'
2023-10-13	12:56:19	1961	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:19	1961	[DEBUG]	Executed store
2023-10-13	12:56:19	1961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861453','626189','1')
2023-10-13	12:56:19	1961	[DEBUG]	Store product image relation
2023-10-13	12:56:19	1961	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:19	1961	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861453 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:19	1961	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:19	1961	[DEBUG]	Executed store
2023-10-13	12:56:19	1961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861453','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:19	1961	[DEBUG]	Checking manufacturer
2023-10-13	12:56:19	1961	[DEBUG]	Load a row
2023-10-13	12:56:19	1961	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:19	1961	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:19	1961	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:19	1961	[DEBUG]	Executed store
2023-10-13	12:56:19	1961	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:19	1961	[DEBUG]	Manufacturer exists
2023-10-13	12:56:19	1961	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:19	1961	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:19	1961	[DEBUG]	Executed store
2023-10-13	12:56:19	1961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861453','29')
2023-10-13	12:56:19	1961	[DEBUG]	Find the custom field ID
2023-10-13	12:56:19	1961	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:19	1961	[DEBUG]	No custom field ID found
2023-10-13	12:56:19	1961	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:19	1961	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:19	1961	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861453 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:19	1961	[DEBUG]	Store custom available field
2023-10-13	12:56:19	1961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861453,3,'12.8641666666667',1)
2023-10-13	12:56:19	1961	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:19	1961	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:19	1961	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861453 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:19	1961	[DEBUG]	Store custom available field
2023-10-13	12:56:19	1961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861453,6,'choisir la taille',3)
2023-10-13	12:56:19	1961	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:19	1961	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:19	1961	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:19	1961	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:19	1961	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861453 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:19	1961	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:19	1961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861453,8,1)
2023-10-13	12:56:19	1961	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:19	1961	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861453\":[1861453,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861453
2023-10-13	12:56:19	1961	[DEBUG]	Checking category
2023-10-13	12:56:19	1961	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:19	1961	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861453
2023-10-13	12:56:19	1961	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:19	1961	[DEBUG]	Executed store
2023-10-13	12:56:19	1961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861453','7321')
2023-10-13	12:56:19	1961	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:19	1961	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861453 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:19	1961	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:19	1961	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861453
2023-10-13	12:56:19	1962	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:19	1962	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:19	1962	[DEBUG]	Use field value for field taille
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:19	1962	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:19	1962	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:19	1962	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:19	1962	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:19	1962	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:19	1962	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:19	1962	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:19	1962	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:19	1962	[DEBUG]	Use field value for field published
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:19	1962	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field override
2023-10-13	12:56:19	1962	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:19	1962	[DEBUG]	Use field value for field slug
2023-10-13	12:56:19	1962	[DEBUG]	Process line 1962
2023-10-13	12:56:19	1962	[DEBUG]	Load a row
2023-10-13	12:56:19	1962	[DEBUG]	Processing item: 4713250013305
2023-10-13	12:56:19	1962	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:19	1962	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:19	1962	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8025_1'
2023-10-13	12:56:19	1962	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:19	1962	[DEBUG]	Processing product tax
2023-10-13	12:56:19	1962	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:19	1962	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:19	1962	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:19	1962	[DEBUG]	Query for Product
2023-10-13	12:56:19	1962	[DEBUG]	Executed store
2023-10-13	12:56:19	1962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861453','4713250013305','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:19	1962	[DEBUG]	No parent found
2023-10-13	12:56:19	1962	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861453 AND customfield_value = 'stockable'
2023-10-13	12:56:19	1962	[DEBUG]	Check product language entry
2023-10-13	12:56:19	1962	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861454
2023-10-13	12:56:19	1962	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:19	1962	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713250013305' AND `virtuemart_product_id` != 1861454
2023-10-13	12:56:19	1962	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:19	1962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861454, '4713250013305')
2023-10-13	12:56:19	1962	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:19	1962	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-support-ride-dash-evo-noir-set' AND `virtuemart_product_id` != 1861454
2023-10-13	12:56:19	1962	[DEBUG]	Query for ProductLang
2023-10-13	12:56:19	1962	[DEBUG]	Executed store
2023-10-13	12:56:19	1962	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Support RIDE DASH EVO  / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-support-ride-dash-evo-noir-set' WHERE `virtuemart_product_id` = '1861454'
2023-10-13	12:56:19	1962	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36511_giant_support_ride_dash_evo_.jpg
2023-10-13	12:56:19	1962	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:19	1962	[DEBUG]	Process image file
2023-10-13	12:56:19	1962	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:19	1962	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:19	1962	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36511_giant_support_ride_dash_evo_.jpg
2023-10-13	12:56:19	1962	[DEBUG]	Full name target: bcprisme/36511_giant_support_ride_dash_evo_.jpg
2023-10-13	12:56:20	1962	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:20	1962	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36511_giant_support_ride_dash_evo_.jpg'
2023-10-13	12:56:20	1962	[DEBUG]	Query for Media
2023-10-13	12:56:20	1962	[DEBUG]	Executed store
2023-10-13	12:56:20	1962	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36511_giant_support_ride_dash_evo_.jpg',`file_url_thumb`='bcprisme/36511_giant_support_ride_dash_evo_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '626189'
2023-10-13	12:56:20	1962	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:20	1962	[DEBUG]	Executed store
2023-10-13	12:56:20	1962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861454','626189','1')
2023-10-13	12:56:20	1962	[DEBUG]	Store product image relation
2023-10-13	12:56:20	1962	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:20	1962	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861454 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:20	1962	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:20	1962	[DEBUG]	Executed store
2023-10-13	12:56:20	1962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861454','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:20	1962	[DEBUG]	Checking manufacturer
2023-10-13	12:56:20	1962	[DEBUG]	Load a row
2023-10-13	12:56:20	1962	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:20	1962	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:20	1962	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:20	1962	[DEBUG]	Executed store
2023-10-13	12:56:20	1962	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:20	1962	[DEBUG]	Manufacturer exists
2023-10-13	12:56:20	1962	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:20	1962	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:20	1962	[DEBUG]	Executed store
2023-10-13	12:56:20	1962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861454','29')
2023-10-13	12:56:20	1962	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:20	1962	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:20	1962	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861454 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:20	1962	[DEBUG]	Store custom available field
2023-10-13	12:56:20	1962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861454,3,'',1)
2023-10-13	12:56:20	1962	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:20	1962	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:20	1962	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861454 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:20	1962	[DEBUG]	Store custom available field
2023-10-13	12:56:20	1962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861454,6,'Set',3)
2023-10-13	12:56:20	1962	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:20	1962	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:20	1962	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861453
2023-10-13	12:56:20	1962	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:20	1962	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861453\":[1861453,8,1,\"choisir la taille\"],\"1861454\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861453
2023-10-13	12:56:20	1962	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:20	1962	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861454
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:20	1963	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field taille
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:20	1963	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:20	1963	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:20	1963	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:20	1963	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:20	1963	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:20	1963	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field published
2023-10-13	12:56:20	1963	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:20	1963	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field override
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:20	1963	[DEBUG]	Use field value for field slug
2023-10-13	12:56:20	1963	[DEBUG]	Process line 1963
2023-10-13	12:56:20	1963	[DEBUG]	Load a row
2023-10-13	12:56:20	1963	[DEBUG]	Processing item: A_8097_1
2023-10-13	12:56:20	1963	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:20	1963	[DEBUG]	Processing product tax
2023-10-13	12:56:20	1963	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:20	1963	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:20	1963	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:20	1963	[DEBUG]	Query for Product
2023-10-13	12:56:20	1963	[DEBUG]	Executed store
2023-10-13	12:56:20	1963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8097_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:20	1963	[DEBUG]	Check product language entry
2023-10-13	12:56:20	1963	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861455
2023-10-13	12:56:20	1963	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:20	1963	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8097_1' AND `virtuemart_product_id` != 1861455
2023-10-13	12:56:20	1963	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:20	1963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861455, 'A_8097_1')
2023-10-13	12:56:20	1963	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:20	1963	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-display-ride-dash-evo-des-my21-noir' AND `virtuemart_product_id` != 1861455
2023-10-13	12:56:20	1963	[DEBUG]	Query for ProductLang
2023-10-13	12:56:20	1963	[DEBUG]	Executed store
2023-10-13	12:56:20	1963	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.106',`product_name`='GIANT Display RIDE DASH EVO dès MY21 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-display-ride-dash-evo-des-my21-noir' WHERE `virtuemart_product_id` = '1861455'
2023-10-13	12:56:20	1963	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36619_giant_display_ride_dash_evo_des_my21.jpg
2023-10-13	12:56:20	1963	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:20	1963	[DEBUG]	Process image file
2023-10-13	12:56:20	1963	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:20	1963	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:20	1963	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36619_giant_display_ride_dash_evo_des_my21.jpg
2023-10-13	12:56:20	1963	[DEBUG]	Full name target: bcprisme/36619_giant_display_ride_dash_evo_des_my21.jpg
2023-10-13	12:56:21	1963	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:21	1963	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36619_giant_display_ride_dash_evo_des_my21.jpg'
2023-10-13	12:56:21	1963	[DEBUG]	Query for Media
2023-10-13	12:56:21	1963	[DEBUG]	Executed store
2023-10-13	12:56:21	1963	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36619_giant_display_ride_dash_evo_des_my21.jpg',`file_url_thumb`='bcprisme/36619_giant_display_ride_dash_evo_des_my21.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '665999'
2023-10-13	12:56:21	1963	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:21	1963	[DEBUG]	Executed store
2023-10-13	12:56:21	1963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861455','665999','1')
2023-10-13	12:56:21	1963	[DEBUG]	Store product image relation
2023-10-13	12:56:21	1963	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:21	1963	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861455 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:21	1963	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:21	1963	[DEBUG]	Executed store
2023-10-13	12:56:21	1963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861455','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:21	1963	[DEBUG]	Checking manufacturer
2023-10-13	12:56:21	1963	[DEBUG]	Load a row
2023-10-13	12:56:21	1963	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:21	1963	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:21	1963	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:21	1963	[DEBUG]	Executed store
2023-10-13	12:56:21	1963	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:21	1963	[DEBUG]	Manufacturer exists
2023-10-13	12:56:21	1963	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:21	1963	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:21	1963	[DEBUG]	Executed store
2023-10-13	12:56:21	1963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861455','29')
2023-10-13	12:56:21	1963	[DEBUG]	Find the custom field ID
2023-10-13	12:56:21	1963	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:21	1963	[DEBUG]	No custom field ID found
2023-10-13	12:56:21	1963	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:21	1963	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:21	1963	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861455 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:21	1963	[DEBUG]	Store custom available field
2023-10-13	12:56:21	1963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861455,3,'12.8641666666667',1)
2023-10-13	12:56:21	1963	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:21	1963	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:21	1963	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861455 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:21	1963	[DEBUG]	Store custom available field
2023-10-13	12:56:21	1963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861455,6,'choisir la taille',3)
2023-10-13	12:56:21	1963	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:21	1963	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:21	1963	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:21	1963	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:21	1963	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861455 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:21	1963	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:21	1963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861455,8,1)
2023-10-13	12:56:21	1963	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:21	1963	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861455\":[1861455,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861455
2023-10-13	12:56:21	1963	[DEBUG]	Checking category
2023-10-13	12:56:21	1963	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:21	1963	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861455
2023-10-13	12:56:21	1963	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:21	1963	[DEBUG]	Executed store
2023-10-13	12:56:21	1963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861455','7321')
2023-10-13	12:56:21	1963	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:21	1963	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861455 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:21	1963	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:21	1963	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861455
2023-10-13	12:56:21	1964	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:21	1964	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:21	1964	[DEBUG]	Use field value for field taille
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:21	1964	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:21	1964	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:21	1964	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:21	1964	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:21	1964	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:21	1964	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:21	1964	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:21	1964	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:21	1964	[DEBUG]	Use field value for field published
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:21	1964	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field override
2023-10-13	12:56:21	1964	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:21	1964	[DEBUG]	Use field value for field slug
2023-10-13	12:56:21	1964	[DEBUG]	Process line 1964
2023-10-13	12:56:21	1964	[DEBUG]	Load a row
2023-10-13	12:56:21	1964	[DEBUG]	Processing item: 410000136
2023-10-13	12:56:21	1964	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:21	1964	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:21	1964	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8097_1'
2023-10-13	12:56:21	1964	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:21	1964	[DEBUG]	Processing product tax
2023-10-13	12:56:21	1964	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:21	1964	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:21	1964	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:21	1964	[DEBUG]	Query for Product
2023-10-13	12:56:21	1964	[DEBUG]	Executed store
2023-10-13	12:56:21	1964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861455','410000136','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:21	1964	[DEBUG]	No parent found
2023-10-13	12:56:21	1964	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861455 AND customfield_value = 'stockable'
2023-10-13	12:56:21	1964	[DEBUG]	Check product language entry
2023-10-13	12:56:21	1964	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861456
2023-10-13	12:56:21	1964	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:21	1964	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '410000136' AND `virtuemart_product_id` != 1861456
2023-10-13	12:56:21	1964	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:21	1964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861456, '410000136')
2023-10-13	12:56:21	1964	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:21	1964	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-display-ride-dash-evo-des-my21-noir-set' AND `virtuemart_product_id` != 1861456
2023-10-13	12:56:21	1964	[DEBUG]	Query for ProductLang
2023-10-13	12:56:21	1964	[DEBUG]	Executed store
2023-10-13	12:56:21	1964	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Display RIDE DASH EVO dès MY21 / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-display-ride-dash-evo-des-my21-noir-set' WHERE `virtuemart_product_id` = '1861456'
2023-10-13	12:56:21	1964	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36619_giant_display_ride_dash_evo_des_my21.jpg
2023-10-13	12:56:21	1964	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:21	1964	[DEBUG]	Process image file
2023-10-13	12:56:21	1964	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:21	1964	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:21	1964	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36619_giant_display_ride_dash_evo_des_my21.jpg
2023-10-13	12:56:21	1964	[DEBUG]	Full name target: bcprisme/36619_giant_display_ride_dash_evo_des_my21.jpg
2023-10-13	12:56:22	1964	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:22	1964	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36619_giant_display_ride_dash_evo_des_my21.jpg'
2023-10-13	12:56:22	1964	[DEBUG]	Query for Media
2023-10-13	12:56:22	1964	[DEBUG]	Executed store
2023-10-13	12:56:22	1964	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36619_giant_display_ride_dash_evo_des_my21.jpg',`file_url_thumb`='bcprisme/36619_giant_display_ride_dash_evo_des_my21.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '665999'
2023-10-13	12:56:22	1964	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:22	1964	[DEBUG]	Executed store
2023-10-13	12:56:22	1964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861456','665999','1')
2023-10-13	12:56:22	1964	[DEBUG]	Store product image relation
2023-10-13	12:56:22	1964	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:22	1964	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861456 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:22	1964	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:22	1964	[DEBUG]	Executed store
2023-10-13	12:56:22	1964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861456','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:22	1964	[DEBUG]	Checking manufacturer
2023-10-13	12:56:22	1964	[DEBUG]	Load a row
2023-10-13	12:56:22	1964	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:22	1964	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:22	1964	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:22	1964	[DEBUG]	Executed store
2023-10-13	12:56:22	1964	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:22	1964	[DEBUG]	Manufacturer exists
2023-10-13	12:56:22	1964	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:22	1964	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:22	1964	[DEBUG]	Executed store
2023-10-13	12:56:22	1964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861456','29')
2023-10-13	12:56:22	1964	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:22	1964	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:22	1964	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861456 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:22	1964	[DEBUG]	Store custom available field
2023-10-13	12:56:22	1964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861456,3,'',1)
2023-10-13	12:56:22	1964	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:22	1964	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:22	1964	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861456 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:22	1964	[DEBUG]	Store custom available field
2023-10-13	12:56:22	1964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861456,6,'Set',3)
2023-10-13	12:56:22	1964	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:22	1964	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:22	1964	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861455
2023-10-13	12:56:22	1964	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:22	1964	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861455\":[1861455,8,1,\"choisir la taille\"],\"1861456\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861455
2023-10-13	12:56:22	1964	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:22	1964	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861456
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:22	1965	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field taille
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:22	1965	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:22	1965	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:22	1965	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:22	1965	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:22	1965	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:22	1965	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field published
2023-10-13	12:56:22	1965	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:22	1965	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field override
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:22	1965	[DEBUG]	Use field value for field slug
2023-10-13	12:56:22	1965	[DEBUG]	Process line 1965
2023-10-13	12:56:22	1965	[DEBUG]	Load a row
2023-10-13	12:56:22	1965	[DEBUG]	Processing item: A_8106_1
2023-10-13	12:56:22	1965	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:22	1965	[DEBUG]	Processing product tax
2023-10-13	12:56:22	1965	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:22	1965	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:22	1965	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:22	1965	[DEBUG]	Query for Product
2023-10-13	12:56:22	1965	[DEBUG]	Executed store
2023-10-13	12:56:22	1965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8106_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:22	1965	[DEBUG]	Check product language entry
2023-10-13	12:56:22	1965	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861457
2023-10-13	12:56:22	1965	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:22	1965	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8106_1' AND `virtuemart_product_id` != 1861457
2023-10-13	12:56:22	1965	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:22	1965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861457, 'A_8106_1')
2023-10-13	12:56:22	1965	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:22	1965	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-plug-in-caoutchouc-avec-2-trous-pour-display-ridedash-noir' AND `virtuemart_product_id` != 1861457
2023-10-13	12:56:22	1965	[DEBUG]	Query for ProductLang
2023-10-13	12:56:22	1965	[DEBUG]	Executed store
2023-10-13	12:56:22	1965	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.131',`product_name`='GIANT Plug-In caoutchouc avec 2 trous pour display Ridedash / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-plug-in-caoutchouc-avec-2-trous-pour-display-ridedash-noir' WHERE `virtuemart_product_id` = '1861457'
2023-10-13	12:56:22	1965	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36632_plug-in_caoutchouc_avec_2_trous_pour_display_ridedash.jpg
2023-10-13	12:56:22	1965	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:22	1965	[DEBUG]	Process image file
2023-10-13	12:56:22	1965	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:22	1965	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:22	1965	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36632_plug-in_caoutchouc_avec_2_trous_pour_display_ridedash.jpg
2023-10-13	12:56:22	1965	[DEBUG]	Full name target: bcprisme/36632_plug-in_caoutchouc_avec_2_trous_pour_display_ridedash.jpg
2023-10-13	12:56:24	1965	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:24	1965	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36632_plug-in_caoutchouc_avec_2_trous_pour_display_ridedash.jpg'
2023-10-13	12:56:24	1965	[DEBUG]	Query for Media
2023-10-13	12:56:24	1965	[DEBUG]	Executed store
2023-10-13	12:56:24	1965	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36632_plug-in_caoutchouc_avec_2_trous_pour_display_ridedash.jpg',`file_url_thumb`='bcprisme/36632_plug-in_caoutchouc_avec_2_trous_pour_display_ridedash.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '666001'
2023-10-13	12:56:24	1965	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:24	1965	[DEBUG]	Executed store
2023-10-13	12:56:24	1965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861457','666001','1')
2023-10-13	12:56:24	1965	[DEBUG]	Store product image relation
2023-10-13	12:56:24	1965	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:24	1965	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861457 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:24	1965	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:24	1965	[DEBUG]	Executed store
2023-10-13	12:56:24	1965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861457','0','1.1142061281337','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:24	1965	[DEBUG]	Checking manufacturer
2023-10-13	12:56:24	1965	[DEBUG]	Load a row
2023-10-13	12:56:24	1965	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:24	1965	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:24	1965	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:24	1965	[DEBUG]	Executed store
2023-10-13	12:56:24	1965	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:24	1965	[DEBUG]	Manufacturer exists
2023-10-13	12:56:24	1965	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:24	1965	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:24	1965	[DEBUG]	Executed store
2023-10-13	12:56:24	1965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861457','29')
2023-10-13	12:56:24	1965	[DEBUG]	Find the custom field ID
2023-10-13	12:56:24	1965	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:24	1965	[DEBUG]	No custom field ID found
2023-10-13	12:56:24	1965	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:24	1965	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:24	1965	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861457 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:24	1965	[DEBUG]	Store custom available field
2023-10-13	12:56:24	1965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861457,3,'12.8641666666667',1)
2023-10-13	12:56:24	1965	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:24	1965	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:24	1965	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861457 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:24	1965	[DEBUG]	Store custom available field
2023-10-13	12:56:24	1965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861457,6,'choisir la taille',3)
2023-10-13	12:56:24	1965	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:24	1965	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:24	1965	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:24	1965	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:24	1965	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861457 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:24	1965	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:24	1965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861457,8,1)
2023-10-13	12:56:24	1965	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:24	1965	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861457\":[1861457,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861457
2023-10-13	12:56:24	1965	[DEBUG]	Checking category
2023-10-13	12:56:24	1965	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:24	1965	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861457
2023-10-13	12:56:24	1965	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:24	1965	[DEBUG]	Executed store
2023-10-13	12:56:24	1965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861457','7321')
2023-10-13	12:56:24	1965	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:24	1965	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861457 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:24	1965	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:24	1965	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861457
2023-10-13	12:56:24	1966	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:24	1966	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:24	1966	[DEBUG]	Use field value for field taille
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:24	1966	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:24	1966	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:24	1966	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:24	1966	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:24	1966	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:24	1966	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:24	1966	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:24	1966	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:24	1966	[DEBUG]	Use field value for field published
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:24	1966	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field override
2023-10-13	12:56:24	1966	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:24	1966	[DEBUG]	Use field value for field slug
2023-10-13	12:56:24	1966	[DEBUG]	Process line 1966
2023-10-13	12:56:24	1966	[DEBUG]	Load a row
2023-10-13	12:56:24	1966	[DEBUG]	Processing item: 1000000144062
2023-10-13	12:56:24	1966	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:24	1966	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:24	1966	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8106_1'
2023-10-13	12:56:24	1966	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:24	1966	[DEBUG]	Processing product tax
2023-10-13	12:56:24	1966	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:24	1966	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:24	1966	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:24	1966	[DEBUG]	Query for Product
2023-10-13	12:56:24	1966	[DEBUG]	Executed store
2023-10-13	12:56:24	1966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861457','1000000144062','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:24	1966	[DEBUG]	No parent found
2023-10-13	12:56:24	1966	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861457 AND customfield_value = 'stockable'
2023-10-13	12:56:24	1966	[DEBUG]	Check product language entry
2023-10-13	12:56:24	1966	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861458
2023-10-13	12:56:24	1966	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:24	1966	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000144062' AND `virtuemart_product_id` != 1861458
2023-10-13	12:56:24	1966	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:24	1966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861458, '1000000144062')
2023-10-13	12:56:24	1966	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:24	1966	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-plug-in-caoutchouc-avec-2-trous-pour-display-ridedash-noir-set' AND `virtuemart_product_id` != 1861458
2023-10-13	12:56:24	1966	[DEBUG]	Query for ProductLang
2023-10-13	12:56:24	1966	[DEBUG]	Executed store
2023-10-13	12:56:24	1966	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Plug-In caoutchouc avec 2 trous pour display Ridedash / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-plug-in-caoutchouc-avec-2-trous-pour-display-ridedash-noir-set' WHERE `virtuemart_product_id` = '1861458'
2023-10-13	12:56:24	1966	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36632_plug-in_caoutchouc_avec_2_trous_pour_display_ridedash.jpg
2023-10-13	12:56:24	1966	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:24	1966	[DEBUG]	Process image file
2023-10-13	12:56:24	1966	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:24	1966	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:24	1966	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36632_plug-in_caoutchouc_avec_2_trous_pour_display_ridedash.jpg
2023-10-13	12:56:24	1966	[DEBUG]	Full name target: bcprisme/36632_plug-in_caoutchouc_avec_2_trous_pour_display_ridedash.jpg
2023-10-13	12:56:25	1966	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:25	1966	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36632_plug-in_caoutchouc_avec_2_trous_pour_display_ridedash.jpg'
2023-10-13	12:56:25	1966	[DEBUG]	Query for Media
2023-10-13	12:56:25	1966	[DEBUG]	Executed store
2023-10-13	12:56:25	1966	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36632_plug-in_caoutchouc_avec_2_trous_pour_display_ridedash.jpg',`file_url_thumb`='bcprisme/36632_plug-in_caoutchouc_avec_2_trous_pour_display_ridedash.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '666001'
2023-10-13	12:56:25	1966	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:25	1966	[DEBUG]	Executed store
2023-10-13	12:56:25	1966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861458','666001','1')
2023-10-13	12:56:25	1966	[DEBUG]	Store product image relation
2023-10-13	12:56:25	1966	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:25	1966	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861458 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:25	1966	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:25	1966	[DEBUG]	Executed store
2023-10-13	12:56:25	1966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861458','0','1.1142061281337','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:25	1966	[DEBUG]	Checking manufacturer
2023-10-13	12:56:25	1966	[DEBUG]	Load a row
2023-10-13	12:56:25	1966	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:25	1966	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:25	1966	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:25	1966	[DEBUG]	Executed store
2023-10-13	12:56:25	1966	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:25	1966	[DEBUG]	Manufacturer exists
2023-10-13	12:56:25	1966	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:25	1966	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:25	1966	[DEBUG]	Executed store
2023-10-13	12:56:25	1966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861458','29')
2023-10-13	12:56:25	1966	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:25	1966	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:25	1966	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861458 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:25	1966	[DEBUG]	Store custom available field
2023-10-13	12:56:25	1966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861458,3,'',1)
2023-10-13	12:56:25	1966	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:25	1966	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:25	1966	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861458 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:25	1966	[DEBUG]	Store custom available field
2023-10-13	12:56:25	1966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861458,6,'Set',3)
2023-10-13	12:56:25	1966	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:25	1966	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:25	1966	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861457
2023-10-13	12:56:25	1966	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:25	1966	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861457\":[1861457,8,1,\"choisir la taille\"],\"1861458\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861457
2023-10-13	12:56:25	1966	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:25	1966	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861458
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:25	1967	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field taille
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:25	1967	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:25	1967	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:25	1967	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:25	1967	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:25	1967	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:25	1967	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field published
2023-10-13	12:56:25	1967	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:25	1967	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field override
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:25	1967	[DEBUG]	Use field value for field slug
2023-10-13	12:56:25	1967	[DEBUG]	Process line 1967
2023-10-13	12:56:25	1967	[DEBUG]	Load a row
2023-10-13	12:56:25	1967	[DEBUG]	Processing item: A_8181_1
2023-10-13	12:56:25	1967	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:25	1967	[DEBUG]	Processing product tax
2023-10-13	12:56:25	1967	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:25	1967	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:25	1967	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:25	1967	[DEBUG]	Query for Product
2023-10-13	12:56:25	1967	[DEBUG]	Executed store
2023-10-13	12:56:25	1967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8181_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:25	1967	[DEBUG]	Check product language entry
2023-10-13	12:56:25	1967	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861459
2023-10-13	12:56:25	1967	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:25	1967	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8181_1' AND `virtuemart_product_id` != 1861459
2023-10-13	12:56:25	1967	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:25	1967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861459, 'A_8181_1')
2023-10-13	12:56:25	1967	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:25	1967	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-display-ride-dash-evo-des-my21-noir' AND `virtuemart_product_id` != 1861459
2023-10-13	12:56:25	1967	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:56:25	1967	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'giant-display-ride-dash-evo-des-my21-noir', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'giant-display-ride-dash-evo-des-my21-noir' OR `slug` LIKE 'giant-display-ride-dash-evo-des-my21-noir-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1861459 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:56:25	1967	[DEBUG]	Query for ProductLang
2023-10-13	12:56:25	1967	[DEBUG]	Executed store
2023-10-13	12:56:25	1967	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.134',`product_name`='GIANT Display RIDE DASH EVO dès MY21 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-display-ride-dash-evo-des-my21-noir-1' WHERE `virtuemart_product_id` = '1861459'
2023-10-13	12:56:25	1967	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36753_display_ride_dash_evo_des_my21_(copie).jpg
2023-10-13	12:56:25	1967	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:25	1967	[DEBUG]	Process image file
2023-10-13	12:56:25	1967	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:25	1967	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:25	1967	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36753_display_ride_dash_evo_des_my21_(copie).jpg
2023-10-13	12:56:25	1967	[DEBUG]	Full name target: bcprisme/36753_display_ride_dash_evo_des_my21_(copie).jpg
2023-10-13	12:56:26	1967	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:26	1967	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36753_display_ride_dash_evo_des_my21_(copie).jpg'
2023-10-13	12:56:26	1967	[DEBUG]	Query for Media
2023-10-13	12:56:26	1967	[DEBUG]	Executed store
2023-10-13	12:56:26	1967	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36753_display_ride_dash_evo_des_my21_(copie).jpg',`file_url_thumb`='bcprisme/36753_display_ride_dash_evo_des_my21_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '695981'
2023-10-13	12:56:26	1967	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:26	1967	[DEBUG]	Executed store
2023-10-13	12:56:26	1967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861459','695981','1')
2023-10-13	12:56:26	1967	[DEBUG]	Store product image relation
2023-10-13	12:56:26	1967	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:26	1967	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861459 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:26	1967	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:26	1967	[DEBUG]	Executed store
2023-10-13	12:56:26	1967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861459','0','185.60817084494','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:26	1967	[DEBUG]	Checking manufacturer
2023-10-13	12:56:26	1967	[DEBUG]	Load a row
2023-10-13	12:56:26	1967	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:26	1967	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:26	1967	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:26	1967	[DEBUG]	Executed store
2023-10-13	12:56:26	1967	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:26	1967	[DEBUG]	Manufacturer exists
2023-10-13	12:56:26	1967	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:26	1967	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:26	1967	[DEBUG]	Executed store
2023-10-13	12:56:26	1967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861459','29')
2023-10-13	12:56:26	1967	[DEBUG]	Find the custom field ID
2023-10-13	12:56:26	1967	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:26	1967	[DEBUG]	No custom field ID found
2023-10-13	12:56:26	1967	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:26	1967	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:26	1967	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861459 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:26	1967	[DEBUG]	Store custom available field
2023-10-13	12:56:26	1967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861459,3,'12.8641666666667',1)
2023-10-13	12:56:26	1967	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:26	1967	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:26	1967	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861459 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:26	1967	[DEBUG]	Store custom available field
2023-10-13	12:56:26	1967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861459,6,'choisir la taille',3)
2023-10-13	12:56:26	1967	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:26	1967	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:26	1967	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:26	1967	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:26	1967	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861459 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:26	1967	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:26	1967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861459,8,1)
2023-10-13	12:56:26	1967	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:26	1967	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861459\":[1861459,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861459
2023-10-13	12:56:26	1967	[DEBUG]	Checking category
2023-10-13	12:56:26	1967	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:26	1967	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861459
2023-10-13	12:56:26	1967	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:26	1967	[DEBUG]	Executed store
2023-10-13	12:56:26	1967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861459','7321')
2023-10-13	12:56:26	1967	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:26	1967	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861459 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:26	1967	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:26	1967	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861459
2023-10-13	12:56:26	1968	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:26	1968	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:26	1968	[DEBUG]	Use field value for field taille
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:26	1968	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:26	1968	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:26	1968	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:26	1968	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:26	1968	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:26	1968	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:26	1968	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:26	1968	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:26	1968	[DEBUG]	Use field value for field published
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:26	1968	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field override
2023-10-13	12:56:26	1968	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:26	1968	[DEBUG]	Use field value for field slug
2023-10-13	12:56:26	1968	[DEBUG]	Process line 1968
2023-10-13	12:56:26	1968	[DEBUG]	Load a row
2023-10-13	12:56:26	1968	[DEBUG]	Processing item: 410000145
2023-10-13	12:56:26	1968	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:26	1968	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:26	1968	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8181_1'
2023-10-13	12:56:26	1968	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:26	1968	[DEBUG]	Processing product tax
2023-10-13	12:56:26	1968	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:26	1968	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:26	1968	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:26	1968	[DEBUG]	Query for Product
2023-10-13	12:56:26	1968	[DEBUG]	Executed store
2023-10-13	12:56:26	1968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861459','410000145','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:26	1968	[DEBUG]	No parent found
2023-10-13	12:56:26	1968	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861459 AND customfield_value = 'stockable'
2023-10-13	12:56:26	1968	[DEBUG]	Check product language entry
2023-10-13	12:56:26	1968	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861460
2023-10-13	12:56:26	1968	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:26	1968	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '410000145' AND `virtuemart_product_id` != 1861460
2023-10-13	12:56:26	1968	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:26	1968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861460, '410000145')
2023-10-13	12:56:26	1968	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:26	1968	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-display-ride-dash-evo-des-my21-noir-set' AND `virtuemart_product_id` != 1861460
2023-10-13	12:56:26	1968	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	12:56:26	1968	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'giant-display-ride-dash-evo-des-my21-noir-set', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'giant-display-ride-dash-evo-des-my21-noir-set' OR `slug` LIKE 'giant-display-ride-dash-evo-des-my21-noir-set-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1861460 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	12:56:26	1968	[DEBUG]	Query for ProductLang
2023-10-13	12:56:26	1968	[DEBUG]	Executed store
2023-10-13	12:56:26	1968	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Display RIDE DASH EVO dès MY21 / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-display-ride-dash-evo-des-my21-noir-set-1' WHERE `virtuemart_product_id` = '1861460'
2023-10-13	12:56:26	1968	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36753_display_ride_dash_evo_des_my21_(copie).jpg
2023-10-13	12:56:26	1968	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:26	1968	[DEBUG]	Process image file
2023-10-13	12:56:26	1968	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:26	1968	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:26	1968	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36753_display_ride_dash_evo_des_my21_(copie).jpg
2023-10-13	12:56:26	1968	[DEBUG]	Full name target: bcprisme/36753_display_ride_dash_evo_des_my21_(copie).jpg
2023-10-13	12:56:27	1968	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:27	1968	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36753_display_ride_dash_evo_des_my21_(copie).jpg'
2023-10-13	12:56:27	1968	[DEBUG]	Query for Media
2023-10-13	12:56:27	1968	[DEBUG]	Executed store
2023-10-13	12:56:27	1968	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36753_display_ride_dash_evo_des_my21_(copie).jpg',`file_url_thumb`='bcprisme/36753_display_ride_dash_evo_des_my21_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '695981'
2023-10-13	12:56:27	1968	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:27	1968	[DEBUG]	Executed store
2023-10-13	12:56:27	1968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861460','695981','1')
2023-10-13	12:56:27	1968	[DEBUG]	Store product image relation
2023-10-13	12:56:27	1968	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:27	1968	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861460 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:27	1968	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:27	1968	[DEBUG]	Executed store
2023-10-13	12:56:27	1968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861460','0','185.60817084494','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:27	1968	[DEBUG]	Checking manufacturer
2023-10-13	12:56:27	1968	[DEBUG]	Load a row
2023-10-13	12:56:27	1968	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:27	1968	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:27	1968	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:27	1968	[DEBUG]	Executed store
2023-10-13	12:56:27	1968	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:27	1968	[DEBUG]	Manufacturer exists
2023-10-13	12:56:27	1968	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:27	1968	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:27	1968	[DEBUG]	Executed store
2023-10-13	12:56:27	1968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861460','29')
2023-10-13	12:56:27	1968	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:27	1968	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:27	1968	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861460 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:27	1968	[DEBUG]	Store custom available field
2023-10-13	12:56:27	1968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861460,3,'',1)
2023-10-13	12:56:27	1968	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:27	1968	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:27	1968	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861460 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:27	1968	[DEBUG]	Store custom available field
2023-10-13	12:56:27	1968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861460,6,'Set',3)
2023-10-13	12:56:27	1968	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:27	1968	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:27	1968	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861459
2023-10-13	12:56:27	1968	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:27	1968	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861459\":[1861459,8,1,\"choisir la taille\"],\"1861460\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861459
2023-10-13	12:56:27	1968	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:27	1968	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861460
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:27	1969	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field taille
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:27	1969	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:27	1969	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:27	1969	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:27	1969	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:27	1969	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:27	1969	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field published
2023-10-13	12:56:27	1969	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:27	1969	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field override
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:27	1969	[DEBUG]	Use field value for field slug
2023-10-13	12:56:27	1969	[DEBUG]	Process line 1969
2023-10-13	12:56:27	1969	[DEBUG]	Load a row
2023-10-13	12:56:27	1969	[DEBUG]	Processing item: A_8369_1
2023-10-13	12:56:27	1969	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:27	1969	[DEBUG]	Processing product tax
2023-10-13	12:56:27	1969	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:27	1969	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:27	1969	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:27	1969	[DEBUG]	Query for Product
2023-10-13	12:56:27	1969	[DEBUG]	Executed store
2023-10-13	12:56:27	1969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8369_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:27	1969	[DEBUG]	Check product language entry
2023-10-13	12:56:27	1969	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861461
2023-10-13	12:56:27	1969	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:27	1969	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8369_1' AND `virtuemart_product_id` != 1861461
2023-10-13	12:56:27	1969	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:27	1969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861461, 'A_8369_1')
2023-10-13	12:56:27	1969	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:27	1969	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-ride-control-display-evo-my20-noir' AND `virtuemart_product_id` != 1861461
2023-10-13	12:56:27	1969	[DEBUG]	Query for ProductLang
2023-10-13	12:56:27	1969	[DEBUG]	Executed store
2023-10-13	12:56:27	1969	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.078',`product_name`='GIANT Ride Control display EVO MY20 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-ride-control-display-evo-my20-noir' WHERE `virtuemart_product_id` = '1861461'
2023-10-13	12:56:27	1969	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37013_giant_ride_control_display_evo_my20.png
2023-10-13	12:56:27	1969	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000053e
2023-10-13	12:56:27	1969	[DEBUG]	Process image file
2023-10-13	12:56:27	1969	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000053e
2023-10-13	12:56:27	1969	[DEBUG]	Mime type found: image/png
2023-10-13	12:56:27	1969	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37013_giant_ride_control_display_evo_my20.png
2023-10-13	12:56:27	1969	[DEBUG]	Full name target: bcprisme/37013_giant_ride_control_display_evo_my20.png
2023-10-13	12:56:28	1969	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:28	1969	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37013_giant_ride_control_display_evo_my20.png'
2023-10-13	12:56:28	1969	[DEBUG]	Query for Media
2023-10-13	12:56:28	1969	[DEBUG]	Executed store
2023-10-13	12:56:28	1969	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37013_giant_ride_control_display_evo_my20.png',`file_url_thumb`='bcprisme/37013_giant_ride_control_display_evo_my20.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '807597'
2023-10-13	12:56:28	1969	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:28	1969	[DEBUG]	Executed store
2023-10-13	12:56:28	1969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861461','807597','1')
2023-10-13	12:56:28	1969	[DEBUG]	Store product image relation
2023-10-13	12:56:28	1969	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:28	1969	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861461 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:28	1969	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:28	1969	[DEBUG]	Executed store
2023-10-13	12:56:28	1969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861461','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:28	1969	[DEBUG]	Checking manufacturer
2023-10-13	12:56:28	1969	[DEBUG]	Load a row
2023-10-13	12:56:28	1969	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:28	1969	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:28	1969	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:28	1969	[DEBUG]	Executed store
2023-10-13	12:56:28	1969	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:28	1969	[DEBUG]	Manufacturer exists
2023-10-13	12:56:28	1969	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:28	1969	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:28	1969	[DEBUG]	Executed store
2023-10-13	12:56:28	1969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861461','29')
2023-10-13	12:56:28	1969	[DEBUG]	Find the custom field ID
2023-10-13	12:56:28	1969	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:28	1969	[DEBUG]	No custom field ID found
2023-10-13	12:56:28	1969	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:28	1969	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:28	1969	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861461 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:28	1969	[DEBUG]	Store custom available field
2023-10-13	12:56:28	1969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861461,3,'12.8641666666667',1)
2023-10-13	12:56:28	1969	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:28	1969	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:28	1969	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861461 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:28	1969	[DEBUG]	Store custom available field
2023-10-13	12:56:28	1969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861461,6,'choisir la taille',3)
2023-10-13	12:56:28	1969	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:28	1969	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:28	1969	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:28	1969	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:28	1969	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861461 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:28	1969	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:28	1969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861461,8,1)
2023-10-13	12:56:28	1969	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:28	1969	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861461\":[1861461,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861461
2023-10-13	12:56:28	1969	[DEBUG]	Checking category
2023-10-13	12:56:28	1969	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:28	1969	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861461
2023-10-13	12:56:28	1969	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:28	1969	[DEBUG]	Executed store
2023-10-13	12:56:28	1969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861461','7321')
2023-10-13	12:56:28	1969	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:28	1969	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861461 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:28	1969	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:28	1969	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861461
2023-10-13	12:56:28	1970	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:28	1970	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:28	1970	[DEBUG]	Use field value for field taille
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:28	1970	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:28	1970	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:28	1970	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:28	1970	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:28	1970	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:28	1970	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:28	1970	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:28	1970	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:28	1970	[DEBUG]	Use field value for field published
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:28	1970	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field override
2023-10-13	12:56:28	1970	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:28	1970	[DEBUG]	Use field value for field slug
2023-10-13	12:56:28	1970	[DEBUG]	Process line 1970
2023-10-13	12:56:28	1970	[DEBUG]	Load a row
2023-10-13	12:56:28	1970	[DEBUG]	Processing item: 410000132
2023-10-13	12:56:28	1970	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:28	1970	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:28	1970	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8369_1'
2023-10-13	12:56:28	1970	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:28	1970	[DEBUG]	Processing product tax
2023-10-13	12:56:28	1970	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:28	1970	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:28	1970	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:28	1970	[DEBUG]	Query for Product
2023-10-13	12:56:28	1970	[DEBUG]	Executed store
2023-10-13	12:56:28	1970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861461','410000132','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:28	1970	[DEBUG]	No parent found
2023-10-13	12:56:28	1970	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861461 AND customfield_value = 'stockable'
2023-10-13	12:56:28	1970	[DEBUG]	Check product language entry
2023-10-13	12:56:28	1970	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861462
2023-10-13	12:56:28	1970	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:28	1970	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '410000132' AND `virtuemart_product_id` != 1861462
2023-10-13	12:56:28	1970	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:28	1970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861462, '410000132')
2023-10-13	12:56:28	1970	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:28	1970	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-ride-control-display-evo-my20-noir-set' AND `virtuemart_product_id` != 1861462
2023-10-13	12:56:28	1970	[DEBUG]	Query for ProductLang
2023-10-13	12:56:28	1970	[DEBUG]	Executed store
2023-10-13	12:56:28	1970	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Ride Control display EVO MY20 / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-ride-control-display-evo-my20-noir-set' WHERE `virtuemart_product_id` = '1861462'
2023-10-13	12:56:28	1970	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37013_giant_ride_control_display_evo_my20.png
2023-10-13	12:56:28	1970	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000053e
2023-10-13	12:56:28	1970	[DEBUG]	Process image file
2023-10-13	12:56:28	1970	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000053e
2023-10-13	12:56:28	1970	[DEBUG]	Mime type found: image/png
2023-10-13	12:56:28	1970	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37013_giant_ride_control_display_evo_my20.png
2023-10-13	12:56:28	1970	[DEBUG]	Full name target: bcprisme/37013_giant_ride_control_display_evo_my20.png
2023-10-13	12:56:29	1970	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:29	1970	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37013_giant_ride_control_display_evo_my20.png'
2023-10-13	12:56:29	1970	[DEBUG]	Query for Media
2023-10-13	12:56:29	1970	[DEBUG]	Executed store
2023-10-13	12:56:29	1970	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37013_giant_ride_control_display_evo_my20.png',`file_url_thumb`='bcprisme/37013_giant_ride_control_display_evo_my20.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '807597'
2023-10-13	12:56:29	1970	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:29	1970	[DEBUG]	Executed store
2023-10-13	12:56:29	1970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861462','807597','1')
2023-10-13	12:56:29	1970	[DEBUG]	Store product image relation
2023-10-13	12:56:29	1970	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:29	1970	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861462 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:29	1970	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:29	1970	[DEBUG]	Executed store
2023-10-13	12:56:29	1970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861462','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:29	1970	[DEBUG]	Checking manufacturer
2023-10-13	12:56:29	1970	[DEBUG]	Load a row
2023-10-13	12:56:29	1970	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:29	1970	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:29	1970	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:29	1970	[DEBUG]	Executed store
2023-10-13	12:56:29	1970	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:29	1970	[DEBUG]	Manufacturer exists
2023-10-13	12:56:29	1970	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:29	1970	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:29	1970	[DEBUG]	Executed store
2023-10-13	12:56:29	1970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861462','29')
2023-10-13	12:56:29	1970	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:29	1970	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:29	1970	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861462 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:29	1970	[DEBUG]	Store custom available field
2023-10-13	12:56:29	1970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861462,3,'',1)
2023-10-13	12:56:29	1970	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:29	1970	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:29	1970	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861462 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:29	1970	[DEBUG]	Store custom available field
2023-10-13	12:56:29	1970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861462,6,'Set',3)
2023-10-13	12:56:29	1970	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:29	1970	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:29	1970	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861461
2023-10-13	12:56:29	1970	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:29	1970	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861461\":[1861461,8,1,\"choisir la taille\"],\"1861462\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861461
2023-10-13	12:56:29	1970	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:29	1970	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861462
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:29	1971	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field taille
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:29	1971	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:29	1971	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:29	1971	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:29	1971	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:29	1971	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:29	1971	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field published
2023-10-13	12:56:29	1971	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:29	1971	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field override
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:29	1971	[DEBUG]	Use field value for field slug
2023-10-13	12:56:29	1971	[DEBUG]	Process line 1971
2023-10-13	12:56:29	1971	[DEBUG]	Load a row
2023-10-13	12:56:29	1971	[DEBUG]	Processing item: A_8554_1
2023-10-13	12:56:29	1971	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:29	1971	[DEBUG]	Processing product tax
2023-10-13	12:56:29	1971	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:29	1971	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:29	1971	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:29	1971	[DEBUG]	Query for Product
2023-10-13	12:56:29	1971	[DEBUG]	Executed store
2023-10-13	12:56:29	1971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8554_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:29	1971	[DEBUG]	Check product language entry
2023-10-13	12:56:29	1971	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861463
2023-10-13	12:56:29	1971	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:29	1971	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8554_1' AND `virtuemart_product_id` != 1861463
2023-10-13	12:56:29	1971	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:29	1971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861463, 'A_8554_1')
2023-10-13	12:56:29	1971	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:29	1971	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-ride-control-display-evo-des-my19-noir' AND `virtuemart_product_id` != 1861463
2023-10-13	12:56:29	1971	[DEBUG]	Query for ProductLang
2023-10-13	12:56:29	1971	[DEBUG]	Executed store
2023-10-13	12:56:29	1971	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dirt E+ Pro<br>Explore-E+ 0 S5 GTS et S5 STA<br>Vall E+ 0 et 1 Pro<br>Route E+ 1 et 2<br>tous les modèles Trance E+<br>N° art fourn : 400.005.999',`product_name`='GIANT Ride Control display EVO dès MY19 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-ride-control-display-evo-des-my19-noir' WHERE `virtuemart_product_id` = '1861463'
2023-10-13	12:56:29	1971	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37359_giant_ride_control_display_des_evo_my19.jpg
2023-10-13	12:56:29	1971	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:29	1971	[DEBUG]	Process image file
2023-10-13	12:56:29	1971	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:29	1971	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:29	1971	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37359_giant_ride_control_display_des_evo_my19.jpg
2023-10-13	12:56:29	1971	[DEBUG]	Full name target: bcprisme/37359_giant_ride_control_display_des_evo_my19.jpg
2023-10-13	12:56:30	1971	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:30	1971	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37359_giant_ride_control_display_des_evo_my19.jpg'
2023-10-13	12:56:30	1971	[DEBUG]	Query for Media
2023-10-13	12:56:30	1971	[DEBUG]	Executed store
2023-10-13	12:56:30	1971	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37359_giant_ride_control_display_des_evo_my19.jpg',`file_url_thumb`='bcprisme/37359_giant_ride_control_display_des_evo_my19.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990603'
2023-10-13	12:56:30	1971	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:30	1971	[DEBUG]	Executed store
2023-10-13	12:56:30	1971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861463','990603','1')
2023-10-13	12:56:30	1971	[DEBUG]	Store product image relation
2023-10-13	12:56:30	1971	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:30	1971	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861463 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:30	1971	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:30	1971	[DEBUG]	Executed store
2023-10-13	12:56:30	1971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861463','0','212.627669452182','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:30	1971	[DEBUG]	Checking manufacturer
2023-10-13	12:56:30	1971	[DEBUG]	Load a row
2023-10-13	12:56:30	1971	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:30	1971	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:30	1971	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:30	1971	[DEBUG]	Executed store
2023-10-13	12:56:30	1971	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:30	1971	[DEBUG]	Manufacturer exists
2023-10-13	12:56:30	1971	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:30	1971	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:30	1971	[DEBUG]	Executed store
2023-10-13	12:56:30	1971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861463','29')
2023-10-13	12:56:30	1971	[DEBUG]	Find the custom field ID
2023-10-13	12:56:30	1971	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:30	1971	[DEBUG]	No custom field ID found
2023-10-13	12:56:30	1971	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:30	1971	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:30	1971	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861463 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:30	1971	[DEBUG]	Store custom available field
2023-10-13	12:56:30	1971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861463,3,'12.8641666666667',1)
2023-10-13	12:56:30	1971	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:30	1971	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:30	1971	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861463 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:30	1971	[DEBUG]	Store custom available field
2023-10-13	12:56:30	1971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861463,6,'choisir la taille',3)
2023-10-13	12:56:30	1971	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:30	1971	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:30	1971	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:30	1971	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:30	1971	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861463 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:30	1971	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:30	1971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861463,8,1)
2023-10-13	12:56:30	1971	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:30	1971	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861463\":[1861463,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861463
2023-10-13	12:56:30	1971	[DEBUG]	Checking category
2023-10-13	12:56:30	1971	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:30	1971	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861463
2023-10-13	12:56:30	1971	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:30	1971	[DEBUG]	Executed store
2023-10-13	12:56:30	1971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861463','7321')
2023-10-13	12:56:30	1971	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:30	1971	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861463 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:30	1971	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:30	1971	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861463
2023-10-13	12:56:30	1972	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:30	1972	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:30	1972	[DEBUG]	Use field value for field taille
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:30	1972	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:30	1972	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:30	1972	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:30	1972	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:30	1972	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:30	1972	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:30	1972	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:30	1972	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:30	1972	[DEBUG]	Use field value for field published
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:30	1972	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field override
2023-10-13	12:56:30	1972	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:30	1972	[DEBUG]	Use field value for field slug
2023-10-13	12:56:30	1972	[DEBUG]	Process line 1972
2023-10-13	12:56:30	1972	[DEBUG]	Load a row
2023-10-13	12:56:30	1972	[DEBUG]	Processing item: 245MFLCD28'53V
2023-10-13	12:56:30	1972	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:30	1972	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:30	1972	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8554_1'
2023-10-13	12:56:30	1972	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:30	1972	[DEBUG]	Processing product tax
2023-10-13	12:56:30	1972	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:30	1972	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:30	1972	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:30	1972	[DEBUG]	Query for Product
2023-10-13	12:56:30	1972	[DEBUG]	Executed store
2023-10-13	12:56:30	1972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861463','245MFLCD28\'53V','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:30	1972	[DEBUG]	No parent found
2023-10-13	12:56:30	1972	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861463 AND customfield_value = 'stockable'
2023-10-13	12:56:30	1972	[DEBUG]	Check product language entry
2023-10-13	12:56:30	1972	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861464
2023-10-13	12:56:30	1972	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:30	1972	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '245MFLCD28\'53V' AND `virtuemart_product_id` != 1861464
2023-10-13	12:56:30	1972	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:30	1972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861464, '245MFLCD28\'53V')
2023-10-13	12:56:30	1972	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:30	1972	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-ride-control-display-evo-des-my19-noir-set' AND `virtuemart_product_id` != 1861464
2023-10-13	12:56:30	1972	[DEBUG]	Query for ProductLang
2023-10-13	12:56:30	1972	[DEBUG]	Executed store
2023-10-13	12:56:30	1972	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Ride Control display EVO dès MY19 / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-ride-control-display-evo-des-my19-noir-set' WHERE `virtuemart_product_id` = '1861464'
2023-10-13	12:56:30	1972	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37359_giant_ride_control_display_des_evo_my19.jpg
2023-10-13	12:56:30	1972	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:30	1972	[DEBUG]	Process image file
2023-10-13	12:56:30	1972	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:30	1972	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:30	1972	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37359_giant_ride_control_display_des_evo_my19.jpg
2023-10-13	12:56:30	1972	[DEBUG]	Full name target: bcprisme/37359_giant_ride_control_display_des_evo_my19.jpg
2023-10-13	12:56:31	1972	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:31	1972	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37359_giant_ride_control_display_des_evo_my19.jpg'
2023-10-13	12:56:31	1972	[DEBUG]	Query for Media
2023-10-13	12:56:31	1972	[DEBUG]	Executed store
2023-10-13	12:56:31	1972	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37359_giant_ride_control_display_des_evo_my19.jpg',`file_url_thumb`='bcprisme/37359_giant_ride_control_display_des_evo_my19.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990603'
2023-10-13	12:56:31	1972	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:31	1972	[DEBUG]	Executed store
2023-10-13	12:56:31	1972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861464','990603','1')
2023-10-13	12:56:31	1972	[DEBUG]	Store product image relation
2023-10-13	12:56:31	1972	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:31	1972	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861464 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:31	1972	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:31	1972	[DEBUG]	Executed store
2023-10-13	12:56:31	1972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861464','0','212.627669452182','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:31	1972	[DEBUG]	Checking manufacturer
2023-10-13	12:56:31	1972	[DEBUG]	Load a row
2023-10-13	12:56:31	1972	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:31	1972	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:31	1972	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:31	1972	[DEBUG]	Executed store
2023-10-13	12:56:31	1972	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:31	1972	[DEBUG]	Manufacturer exists
2023-10-13	12:56:31	1972	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:31	1972	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:31	1972	[DEBUG]	Executed store
2023-10-13	12:56:31	1972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861464','29')
2023-10-13	12:56:31	1972	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:31	1972	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:31	1972	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861464 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:31	1972	[DEBUG]	Store custom available field
2023-10-13	12:56:31	1972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861464,3,'',1)
2023-10-13	12:56:31	1972	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:31	1972	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:31	1972	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861464 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:31	1972	[DEBUG]	Store custom available field
2023-10-13	12:56:31	1972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861464,6,'Set',3)
2023-10-13	12:56:31	1972	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:31	1972	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:31	1972	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861463
2023-10-13	12:56:31	1972	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:31	1972	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861463\":[1861463,8,1,\"choisir la taille\"],\"1861464\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861463
2023-10-13	12:56:31	1972	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:31	1972	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861464
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:31	1973	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field taille
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:31	1973	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:31	1973	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:31	1973	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:31	1973	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:31	1973	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:31	1973	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field published
2023-10-13	12:56:31	1973	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:31	1973	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field override
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:31	1973	[DEBUG]	Use field value for field slug
2023-10-13	12:56:31	1973	[DEBUG]	Process line 1973
2023-10-13	12:56:31	1973	[DEBUG]	Load a row
2023-10-13	12:56:31	1973	[DEBUG]	Processing item: A_8556_1
2023-10-13	12:56:31	1973	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:31	1973	[DEBUG]	Processing product tax
2023-10-13	12:56:31	1973	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:31	1973	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:31	1973	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:31	1973	[DEBUG]	Query for Product
2023-10-13	12:56:31	1973	[DEBUG]	Executed store
2023-10-13	12:56:31	1973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8556_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:31	1973	[DEBUG]	Check product language entry
2023-10-13	12:56:31	1973	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861465
2023-10-13	12:56:31	1973	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:31	1973	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8556_1' AND `virtuemart_product_id` != 1861465
2023-10-13	12:56:31	1973	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:31	1973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861465, 'A_8556_1')
2023-10-13	12:56:31	1973	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:31	1973	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-cableclip-pour-ride-control-des-my21-noir' AND `virtuemart_product_id` != 1861465
2023-10-13	12:56:31	1973	[DEBUG]	Query for ProductLang
2023-10-13	12:56:31	1973	[DEBUG]	Executed store
2023-10-13	12:56:31	1973	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 400.005.139',`product_name`='GIANT Cableclip pour Ride Control dès MY21 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-cableclip-pour-ride-control-des-my21-noir' WHERE `virtuemart_product_id` = '1861465'
2023-10-13	12:56:31	1973	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37361_giant_cableclip_pour_ride_control_des_my21.jpg
2023-10-13	12:56:31	1973	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:31	1973	[DEBUG]	Process image file
2023-10-13	12:56:31	1973	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:31	1973	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:31	1973	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37361_giant_cableclip_pour_ride_control_des_my21.jpg
2023-10-13	12:56:31	1973	[DEBUG]	Full name target: bcprisme/37361_giant_cableclip_pour_ride_control_des_my21.jpg
2023-10-13	12:56:32	1973	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:32	1973	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37361_giant_cableclip_pour_ride_control_des_my21.jpg'
2023-10-13	12:56:32	1973	[DEBUG]	Query for Media
2023-10-13	12:56:32	1973	[DEBUG]	Executed store
2023-10-13	12:56:32	1973	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37361_giant_cableclip_pour_ride_control_des_my21.jpg',`file_url_thumb`='bcprisme/37361_giant_cableclip_pour_ride_control_des_my21.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990605'
2023-10-13	12:56:32	1973	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:32	1973	[DEBUG]	Executed store
2023-10-13	12:56:32	1973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861465','990605','1')
2023-10-13	12:56:32	1973	[DEBUG]	Store product image relation
2023-10-13	12:56:32	1973	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:32	1973	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861465 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:32	1973	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:32	1973	[DEBUG]	Executed store
2023-10-13	12:56:32	1973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861465','0','1.1142061281337','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:32	1973	[DEBUG]	Checking manufacturer
2023-10-13	12:56:32	1973	[DEBUG]	Load a row
2023-10-13	12:56:32	1973	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:32	1973	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:32	1973	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:32	1973	[DEBUG]	Executed store
2023-10-13	12:56:32	1973	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:32	1973	[DEBUG]	Manufacturer exists
2023-10-13	12:56:32	1973	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:32	1973	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:32	1973	[DEBUG]	Executed store
2023-10-13	12:56:32	1973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861465','29')
2023-10-13	12:56:32	1973	[DEBUG]	Find the custom field ID
2023-10-13	12:56:32	1973	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:32	1973	[DEBUG]	No custom field ID found
2023-10-13	12:56:32	1973	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:32	1973	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:32	1973	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861465 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:32	1973	[DEBUG]	Store custom available field
2023-10-13	12:56:32	1973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861465,3,'12.8641666666667',1)
2023-10-13	12:56:32	1973	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:32	1973	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:32	1973	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861465 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:32	1973	[DEBUG]	Store custom available field
2023-10-13	12:56:32	1973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861465,6,'choisir la taille',3)
2023-10-13	12:56:32	1973	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:32	1973	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:32	1973	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:32	1973	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:32	1973	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861465 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:32	1973	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:32	1973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861465,8,1)
2023-10-13	12:56:32	1973	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:32	1973	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861465\":[1861465,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861465
2023-10-13	12:56:32	1973	[DEBUG]	Checking category
2023-10-13	12:56:32	1973	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:32	1973	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861465
2023-10-13	12:56:32	1973	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:32	1973	[DEBUG]	Executed store
2023-10-13	12:56:32	1973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861465','7321')
2023-10-13	12:56:32	1973	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:32	1973	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861465 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:32	1973	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:32	1973	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861465
2023-10-13	12:56:32	1974	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:32	1974	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:32	1974	[DEBUG]	Use field value for field taille
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:32	1974	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:32	1974	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:32	1974	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:32	1974	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:32	1974	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:32	1974	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:32	1974	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:32	1974	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:32	1974	[DEBUG]	Use field value for field published
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:32	1974	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field override
2023-10-13	12:56:32	1974	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:32	1974	[DEBUG]	Use field value for field slug
2023-10-13	12:56:32	1974	[DEBUG]	Process line 1974
2023-10-13	12:56:32	1974	[DEBUG]	Load a row
2023-10-13	12:56:32	1974	[DEBUG]	Processing item: 1000000156270
2023-10-13	12:56:32	1974	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:32	1974	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:32	1974	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8556_1'
2023-10-13	12:56:32	1974	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:32	1974	[DEBUG]	Processing product tax
2023-10-13	12:56:32	1974	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:32	1974	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:32	1974	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:32	1974	[DEBUG]	Query for Product
2023-10-13	12:56:32	1974	[DEBUG]	Executed store
2023-10-13	12:56:32	1974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861465','1000000156270','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:32	1974	[DEBUG]	No parent found
2023-10-13	12:56:32	1974	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861465 AND customfield_value = 'stockable'
2023-10-13	12:56:32	1974	[DEBUG]	Check product language entry
2023-10-13	12:56:32	1974	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861466
2023-10-13	12:56:32	1974	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:32	1974	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000156270' AND `virtuemart_product_id` != 1861466
2023-10-13	12:56:32	1974	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:32	1974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861466, '1000000156270')
2023-10-13	12:56:32	1974	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:32	1974	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-cableclip-pour-ride-control-des-my21-noir-set' AND `virtuemart_product_id` != 1861466
2023-10-13	12:56:32	1974	[DEBUG]	Query for ProductLang
2023-10-13	12:56:32	1974	[DEBUG]	Executed store
2023-10-13	12:56:32	1974	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Cableclip pour Ride Control dès MY21 / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-cableclip-pour-ride-control-des-my21-noir-set' WHERE `virtuemart_product_id` = '1861466'
2023-10-13	12:56:32	1974	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37361_giant_cableclip_pour_ride_control_des_my21.jpg
2023-10-13	12:56:32	1974	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:32	1974	[DEBUG]	Process image file
2023-10-13	12:56:32	1974	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:32	1974	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:32	1974	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37361_giant_cableclip_pour_ride_control_des_my21.jpg
2023-10-13	12:56:32	1974	[DEBUG]	Full name target: bcprisme/37361_giant_cableclip_pour_ride_control_des_my21.jpg
2023-10-13	12:56:33	1974	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:33	1974	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37361_giant_cableclip_pour_ride_control_des_my21.jpg'
2023-10-13	12:56:33	1974	[DEBUG]	Query for Media
2023-10-13	12:56:33	1974	[DEBUG]	Executed store
2023-10-13	12:56:33	1974	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37361_giant_cableclip_pour_ride_control_des_my21.jpg',`file_url_thumb`='bcprisme/37361_giant_cableclip_pour_ride_control_des_my21.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990605'
2023-10-13	12:56:33	1974	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:33	1974	[DEBUG]	Executed store
2023-10-13	12:56:33	1974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861466','990605','1')
2023-10-13	12:56:33	1974	[DEBUG]	Store product image relation
2023-10-13	12:56:33	1974	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:33	1974	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861466 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:33	1974	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:33	1974	[DEBUG]	Executed store
2023-10-13	12:56:33	1974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861466','0','1.1142061281337','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:33	1974	[DEBUG]	Checking manufacturer
2023-10-13	12:56:33	1974	[DEBUG]	Load a row
2023-10-13	12:56:33	1974	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:33	1974	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:33	1974	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:33	1974	[DEBUG]	Executed store
2023-10-13	12:56:33	1974	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:33	1974	[DEBUG]	Manufacturer exists
2023-10-13	12:56:33	1974	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:33	1974	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:33	1974	[DEBUG]	Executed store
2023-10-13	12:56:33	1974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861466','29')
2023-10-13	12:56:33	1974	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:33	1974	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:33	1974	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861466 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:33	1974	[DEBUG]	Store custom available field
2023-10-13	12:56:33	1974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861466,3,'',1)
2023-10-13	12:56:33	1974	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:33	1974	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:33	1974	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861466 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:33	1974	[DEBUG]	Store custom available field
2023-10-13	12:56:33	1974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861466,6,'Set',3)
2023-10-13	12:56:33	1974	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:33	1974	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:33	1974	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861465
2023-10-13	12:56:33	1974	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:33	1974	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861465\":[1861465,8,1,\"choisir la taille\"],\"1861466\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861465
2023-10-13	12:56:33	1974	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:33	1974	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861466
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:33	1975	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field taille
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:33	1975	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:33	1975	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:33	1975	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:33	1975	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:33	1975	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:33	1975	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field published
2023-10-13	12:56:33	1975	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:33	1975	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field override
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:33	1975	[DEBUG]	Use field value for field slug
2023-10-13	12:56:33	1975	[DEBUG]	Process line 1975
2023-10-13	12:56:33	1975	[DEBUG]	Load a row
2023-10-13	12:56:33	1975	[DEBUG]	Processing item: A_8557_1
2023-10-13	12:56:33	1975	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:33	1975	[DEBUG]	Processing product tax
2023-10-13	12:56:33	1975	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:33	1975	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:33	1975	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:33	1975	[DEBUG]	Query for Product
2023-10-13	12:56:33	1975	[DEBUG]	Executed store
2023-10-13	12:56:33	1975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8557_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:33	1975	[DEBUG]	Check product language entry
2023-10-13	12:56:33	1975	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861467
2023-10-13	12:56:33	1975	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:33	1975	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8557_1' AND `virtuemart_product_id` != 1861467
2023-10-13	12:56:33	1975	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:33	1975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861467, 'A_8557_1')
2023-10-13	12:56:33	1975	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:33	1975	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-support-d-ecran-d-intuvia-et-nyon-incl-cable-1300mm-noir' AND `virtuemart_product_id` != 1861467
2023-10-13	12:56:33	1975	[DEBUG]	Query for ProductLang
2023-10-13	12:56:33	1975	[DEBUG]	Executed store
2023-10-13	12:56:33	1975	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.70830',`product_name`='Bosch Support d\'écran d\'Intuvia et Nyon incl. câble 1300mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-support-d-ecran-d-intuvia-et-nyon-incl-cable-1300mm-noir' WHERE `virtuemart_product_id` = '1861467'
2023-10-13	12:56:33	1975	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_56947_jpg.jpg has not been found.
2023-10-13	12:56:33	1975	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:33	1975	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861467 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:33	1975	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:33	1975	[DEBUG]	Executed store
2023-10-13	12:56:33	1975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861467','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:33	1975	[DEBUG]	Checking manufacturer
2023-10-13	12:56:33	1975	[DEBUG]	Load a row
2023-10-13	12:56:33	1975	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:33	1975	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:33	1975	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:33	1975	[DEBUG]	Executed store
2023-10-13	12:56:33	1975	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:33	1975	[DEBUG]	Manufacturer exists
2023-10-13	12:56:33	1975	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:33	1975	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:33	1975	[DEBUG]	Executed store
2023-10-13	12:56:33	1975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861467','33')
2023-10-13	12:56:33	1975	[DEBUG]	Find the custom field ID
2023-10-13	12:56:33	1975	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:33	1975	[DEBUG]	No custom field ID found
2023-10-13	12:56:33	1975	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:33	1975	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:56:33	1975	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861467 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:33	1975	[DEBUG]	Store custom available field
2023-10-13	12:56:33	1975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861467,3,'0',1)
2023-10-13	12:56:33	1975	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:33	1975	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:33	1975	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861467 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:33	1975	[DEBUG]	Store custom available field
2023-10-13	12:56:33	1975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861467,6,'choisir la taille',3)
2023-10-13	12:56:33	1975	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:33	1975	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:33	1975	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:33	1975	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:33	1975	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861467 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:33	1975	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:33	1975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861467,8,1)
2023-10-13	12:56:33	1975	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:33	1975	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861467\":[1861467,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861467
2023-10-13	12:56:33	1975	[DEBUG]	Checking category
2023-10-13	12:56:33	1975	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:33	1975	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861467
2023-10-13	12:56:33	1975	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:33	1975	[DEBUG]	Executed store
2023-10-13	12:56:33	1975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861467','7321')
2023-10-13	12:56:33	1975	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:33	1975	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861467 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:33	1975	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:33	1975	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861467
2023-10-13	12:56:33	1976	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:33	1976	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:33	1976	[DEBUG]	Use field value for field taille
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:33	1976	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:33	1976	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:33	1976	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:33	1976	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:33	1976	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:33	1976	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:33	1976	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:33	1976	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:33	1976	[DEBUG]	Use field value for field published
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:33	1976	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field override
2023-10-13	12:56:33	1976	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:33	1976	[DEBUG]	Use field value for field slug
2023-10-13	12:56:33	1976	[DEBUG]	Process line 1976
2023-10-13	12:56:33	1976	[DEBUG]	Load a row
2023-10-13	12:56:33	1976	[DEBUG]	Processing item: 4047026050431
2023-10-13	12:56:33	1976	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:33	1976	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:33	1976	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8557_1'
2023-10-13	12:56:33	1976	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:33	1976	[DEBUG]	Processing product tax
2023-10-13	12:56:33	1976	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:33	1976	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:33	1976	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:33	1976	[DEBUG]	Query for Product
2023-10-13	12:56:33	1976	[DEBUG]	Executed store
2023-10-13	12:56:33	1976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861467','4047026050431','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:33	1976	[DEBUG]	No parent found
2023-10-13	12:56:33	1976	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861467 AND customfield_value = 'stockable'
2023-10-13	12:56:33	1976	[DEBUG]	Check product language entry
2023-10-13	12:56:33	1976	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861468
2023-10-13	12:56:33	1976	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:33	1976	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047026050431' AND `virtuemart_product_id` != 1861468
2023-10-13	12:56:33	1976	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:33	1976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861468, '4047026050431')
2023-10-13	12:56:33	1976	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:33	1976	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-support-d-ecran-d-intuvia-et-nyon-incl-cable-1300mm-noir-unitaire' AND `virtuemart_product_id` != 1861468
2023-10-13	12:56:33	1976	[DEBUG]	Query for ProductLang
2023-10-13	12:56:33	1976	[DEBUG]	Executed store
2023-10-13	12:56:33	1976	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Support d\'écran d\'Intuvia et Nyon incl. câble 1300mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-support-d-ecran-d-intuvia-et-nyon-incl-cable-1300mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861468'
2023-10-13	12:56:33	1976	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_56947_jpg.jpg has not been found.
2023-10-13	12:56:33	1976	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:33	1976	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861468 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:33	1976	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:33	1976	[DEBUG]	Executed store
2023-10-13	12:56:33	1976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861468','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:33	1976	[DEBUG]	Checking manufacturer
2023-10-13	12:56:33	1976	[DEBUG]	Load a row
2023-10-13	12:56:33	1976	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:33	1976	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:33	1976	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:33	1976	[DEBUG]	Executed store
2023-10-13	12:56:33	1976	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:33	1976	[DEBUG]	Manufacturer exists
2023-10-13	12:56:33	1976	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:33	1976	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:33	1976	[DEBUG]	Executed store
2023-10-13	12:56:33	1976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861468','33')
2023-10-13	12:56:33	1976	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:33	1976	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:33	1976	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861468 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:33	1976	[DEBUG]	Store custom available field
2023-10-13	12:56:33	1976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861468,3,'',1)
2023-10-13	12:56:33	1976	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:33	1976	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:56:33	1976	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861468 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:33	1976	[DEBUG]	Store custom available field
2023-10-13	12:56:33	1976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861468,6,'Unitaire',3)
2023-10-13	12:56:33	1976	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:33	1976	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:33	1976	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861467
2023-10-13	12:56:33	1976	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:33	1976	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861467\":[1861467,8,1,\"choisir la taille\"],\"1861468\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861467
2023-10-13	12:56:33	1976	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:33	1976	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861468
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:33	1977	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field taille
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:33	1977	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:33	1977	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:33	1977	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:33	1977	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:33	1977	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:33	1977	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field published
2023-10-13	12:56:33	1977	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:33	1977	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field override
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:33	1977	[DEBUG]	Use field value for field slug
2023-10-13	12:56:33	1977	[DEBUG]	Process line 1977
2023-10-13	12:56:33	1977	[DEBUG]	Load a row
2023-10-13	12:56:33	1977	[DEBUG]	Processing item: A_8558_321
2023-10-13	12:56:33	1977	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:33	1977	[DEBUG]	Processing product tax
2023-10-13	12:56:33	1977	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:33	1977	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:33	1977	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:33	1977	[DEBUG]	Query for Product
2023-10-13	12:56:33	1977	[DEBUG]	Executed store
2023-10-13	12:56:33	1977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8558_321','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:33	1977	[DEBUG]	Check product language entry
2023-10-13	12:56:33	1977	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861469
2023-10-13	12:56:33	1977	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:33	1977	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8558_321' AND `virtuemart_product_id` != 1861469
2023-10-13	12:56:33	1977	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:33	1977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861469, 'A_8558_321')
2023-10-13	12:56:33	1977	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:33	1977	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-intuvia-kit-de-remplacement-bui255-anthracite-anthracite' AND `virtuemart_product_id` != 1861469
2023-10-13	12:56:33	1977	[DEBUG]	Query for ProductLang
2023-10-13	12:56:33	1977	[DEBUG]	Executed store
2023-10-13	12:56:33	1977	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.67745',`product_name`='Bosch Intuvia kit de remplacement BUI255 anthracite / Anthracite',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-intuvia-kit-de-remplacement-bui255-anthracite-anthracite' WHERE `virtuemart_product_id` = '1861469'
2023-10-13	12:56:33	1977	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_67745_fr_jpg.jpg has not been found.
2023-10-13	12:56:33	1977	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:33	1977	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861469 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:33	1977	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:33	1977	[DEBUG]	Executed store
2023-10-13	12:56:33	1977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861469','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:33	1977	[DEBUG]	Checking manufacturer
2023-10-13	12:56:33	1977	[DEBUG]	Load a row
2023-10-13	12:56:33	1977	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:33	1977	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:33	1977	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:33	1977	[DEBUG]	Executed store
2023-10-13	12:56:33	1977	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:33	1977	[DEBUG]	Manufacturer exists
2023-10-13	12:56:33	1977	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:33	1977	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:33	1977	[DEBUG]	Executed store
2023-10-13	12:56:33	1977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861469','33')
2023-10-13	12:56:33	1977	[DEBUG]	Find the custom field ID
2023-10-13	12:56:33	1977	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:33	1977	[DEBUG]	No custom field ID found
2023-10-13	12:56:33	1977	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:33	1977	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:56:33	1977	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861469 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:33	1977	[DEBUG]	Store custom available field
2023-10-13	12:56:33	1977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861469,3,'0',1)
2023-10-13	12:56:33	1977	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:33	1977	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:33	1977	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861469 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:33	1977	[DEBUG]	Store custom available field
2023-10-13	12:56:33	1977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861469,6,'choisir la taille',3)
2023-10-13	12:56:33	1977	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:33	1977	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:33	1977	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:33	1977	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:33	1977	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861469 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:33	1977	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:33	1977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861469,8,1)
2023-10-13	12:56:33	1977	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:33	1977	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861469\":[1861469,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861469
2023-10-13	12:56:33	1977	[DEBUG]	Checking category
2023-10-13	12:56:33	1977	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:33	1977	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861469
2023-10-13	12:56:33	1977	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:33	1977	[DEBUG]	Executed store
2023-10-13	12:56:33	1977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861469','7321')
2023-10-13	12:56:33	1977	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:33	1977	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861469 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:33	1977	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:33	1977	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861469
2023-10-13	12:56:33	1978	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:33	1978	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:33	1978	[DEBUG]	Use field value for field taille
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:33	1978	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:33	1978	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:33	1978	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:33	1978	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:33	1978	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:33	1978	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:33	1978	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:33	1978	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:33	1978	[DEBUG]	Use field value for field published
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:33	1978	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field override
2023-10-13	12:56:33	1978	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:33	1978	[DEBUG]	Use field value for field slug
2023-10-13	12:56:33	1978	[DEBUG]	Process line 1978
2023-10-13	12:56:33	1978	[DEBUG]	Load a row
2023-10-13	12:56:33	1978	[DEBUG]	Processing item: 4047025522359
2023-10-13	12:56:33	1978	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:33	1978	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:33	1978	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8558_321'
2023-10-13	12:56:33	1978	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:33	1978	[DEBUG]	Processing product tax
2023-10-13	12:56:33	1978	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:33	1978	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:33	1978	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:33	1978	[DEBUG]	Query for Product
2023-10-13	12:56:33	1978	[DEBUG]	Executed store
2023-10-13	12:56:33	1978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861469','4047025522359','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:33	1978	[DEBUG]	No parent found
2023-10-13	12:56:33	1978	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861469 AND customfield_value = 'stockable'
2023-10-13	12:56:33	1978	[DEBUG]	Check product language entry
2023-10-13	12:56:33	1978	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861470
2023-10-13	12:56:33	1978	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:33	1978	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047025522359' AND `virtuemart_product_id` != 1861470
2023-10-13	12:56:33	1978	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:33	1978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861470, '4047025522359')
2023-10-13	12:56:33	1978	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:33	1978	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-intuvia-kit-de-remplacement-bui255-anthracite-anthracite-unitaire' AND `virtuemart_product_id` != 1861470
2023-10-13	12:56:33	1978	[DEBUG]	Query for ProductLang
2023-10-13	12:56:33	1978	[DEBUG]	Executed store
2023-10-13	12:56:33	1978	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Intuvia kit de remplacement BUI255 anthracite / Anthracite (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-intuvia-kit-de-remplacement-bui255-anthracite-anthracite-unitaire' WHERE `virtuemart_product_id` = '1861470'
2023-10-13	12:56:33	1978	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_67745_fr_jpg.jpg has not been found.
2023-10-13	12:56:33	1978	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:33	1978	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861470 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:33	1978	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:33	1978	[DEBUG]	Executed store
2023-10-13	12:56:33	1978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861470','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:33	1978	[DEBUG]	Checking manufacturer
2023-10-13	12:56:33	1978	[DEBUG]	Load a row
2023-10-13	12:56:33	1978	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:33	1978	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:33	1978	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:33	1978	[DEBUG]	Executed store
2023-10-13	12:56:33	1978	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:33	1978	[DEBUG]	Manufacturer exists
2023-10-13	12:56:33	1978	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:33	1978	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:33	1978	[DEBUG]	Executed store
2023-10-13	12:56:33	1978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861470','33')
2023-10-13	12:56:33	1978	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:33	1978	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:33	1978	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861470 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:33	1978	[DEBUG]	Store custom available field
2023-10-13	12:56:33	1978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861470,3,'',1)
2023-10-13	12:56:33	1978	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:33	1978	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:56:33	1978	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861470 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:33	1978	[DEBUG]	Store custom available field
2023-10-13	12:56:33	1978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861470,6,'Unitaire',3)
2023-10-13	12:56:33	1978	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:33	1978	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:33	1978	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861469
2023-10-13	12:56:33	1978	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:33	1978	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861469\":[1861469,8,1,\"choisir la taille\"],\"1861470\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861469
2023-10-13	12:56:33	1978	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:33	1978	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861470
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:33	1979	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field taille
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:33	1979	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:33	1979	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:33	1979	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:33	1979	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:33	1979	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:33	1979	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field published
2023-10-13	12:56:33	1979	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:33	1979	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field override
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:33	1979	[DEBUG]	Use field value for field slug
2023-10-13	12:56:33	1979	[DEBUG]	Process line 1979
2023-10-13	12:56:33	1979	[DEBUG]	Load a row
2023-10-13	12:56:33	1979	[DEBUG]	Processing item: A_8742_1
2023-10-13	12:56:33	1979	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:33	1979	[DEBUG]	Processing product tax
2023-10-13	12:56:33	1979	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:33	1979	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:33	1979	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:33	1979	[DEBUG]	Query for Product
2023-10-13	12:56:33	1979	[DEBUG]	Executed store
2023-10-13	12:56:33	1979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8742_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:33	1979	[DEBUG]	Check product language entry
2023-10-13	12:56:33	1979	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861471
2023-10-13	12:56:33	1979	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:33	1979	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8742_1' AND `virtuemart_product_id` != 1861471
2023-10-13	12:56:33	1979	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:33	1979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861471, 'A_8742_1')
2023-10-13	12:56:33	1979	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:33	1979	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-ride-dash-evo-braket-des-my21-avec-emplacement-pour-feu-avant-noir' AND `virtuemart_product_id` != 1861471
2023-10-13	12:56:33	1979	[DEBUG]	Query for ProductLang
2023-10-13	12:56:33	1979	[DEBUG]	Executed store
2023-10-13	12:56:33	1979	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le support Giant RideDash Evo avec emplacement pour feu avant permet de fixer aussi bien l\'écran RideDash Evo qu\'un feu avant sur le cintre.<br><br>Caractéristiques<br><br>Support adapté aux cintres de 35 et 31.8 mm de diamètre<br>Emplacement pour l\'écran Giant RideDash Evo<br>Emplacement pour un feu avant<br>Conception robuste pour une tenue maximale, même en tout-terrain<br>Inclus<br><br>Support Giant RideDash Evo avec emplacement pour feu avant<br>N° art fourn : 400.005.169',`product_name`='GIANT Ride Dash Evo / Braket dès MY21 avec emplacement pour feu avant / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-ride-dash-evo-braket-des-my21-avec-emplacement-pour-feu-avant-noir' WHERE `virtuemart_product_id` = '1861471'
2023-10-13	12:56:33	1979	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37706_giant_ride_dash_evo_-_braket_des_my21.jpg
2023-10-13	12:56:33	1979	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:33	1979	[DEBUG]	Process image file
2023-10-13	12:56:33	1979	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:33	1979	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:33	1979	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37706_giant_ride_dash_evo_-_braket_des_my21.jpg
2023-10-13	12:56:33	1979	[DEBUG]	Full name target: bcprisme/37706_giant_ride_dash_evo_-_braket_des_my21.jpg
2023-10-13	12:56:34	1979	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:34	1979	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37706_giant_ride_dash_evo_-_braket_des_my21.jpg'
2023-10-13	12:56:34	1979	[DEBUG]	Query for Media
2023-10-13	12:56:34	1979	[DEBUG]	Executed store
2023-10-13	12:56:34	1979	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37706_giant_ride_dash_evo_-_braket_des_my21.jpg',`file_url_thumb`='bcprisme/37706_giant_ride_dash_evo_-_braket_des_my21.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1060382'
2023-10-13	12:56:34	1979	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:34	1979	[DEBUG]	Executed store
2023-10-13	12:56:34	1979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861471','1060382','1')
2023-10-13	12:56:34	1979	[DEBUG]	Store product image relation
2023-10-13	12:56:34	1979	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:34	1979	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861471 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:34	1979	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:34	1979	[DEBUG]	Executed store
2023-10-13	12:56:34	1979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861471','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:34	1979	[DEBUG]	Checking manufacturer
2023-10-13	12:56:34	1979	[DEBUG]	Load a row
2023-10-13	12:56:34	1979	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:34	1979	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:34	1979	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:34	1979	[DEBUG]	Executed store
2023-10-13	12:56:34	1979	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:34	1979	[DEBUG]	Manufacturer exists
2023-10-13	12:56:34	1979	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:34	1979	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:34	1979	[DEBUG]	Executed store
2023-10-13	12:56:34	1979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861471','29')
2023-10-13	12:56:34	1979	[DEBUG]	Find the custom field ID
2023-10-13	12:56:34	1979	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:34	1979	[DEBUG]	No custom field ID found
2023-10-13	12:56:34	1979	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:34	1979	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:34	1979	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861471 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:34	1979	[DEBUG]	Store custom available field
2023-10-13	12:56:34	1979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861471,3,'12.8641666666667',1)
2023-10-13	12:56:34	1979	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:34	1979	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:34	1979	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861471 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:34	1979	[DEBUG]	Store custom available field
2023-10-13	12:56:34	1979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861471,6,'choisir la taille',3)
2023-10-13	12:56:34	1979	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:34	1979	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:34	1979	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:34	1979	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:34	1979	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861471 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:34	1979	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:34	1979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861471,8,1)
2023-10-13	12:56:34	1979	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:34	1979	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861471\":[1861471,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861471
2023-10-13	12:56:34	1979	[DEBUG]	Checking category
2023-10-13	12:56:34	1979	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:34	1979	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861471
2023-10-13	12:56:34	1979	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:34	1979	[DEBUG]	Executed store
2023-10-13	12:56:34	1979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861471','7321')
2023-10-13	12:56:34	1979	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:34	1979	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861471 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:34	1979	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:34	1979	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861471
2023-10-13	12:56:34	1980	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:34	1980	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:34	1980	[DEBUG]	Use field value for field taille
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:34	1980	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:34	1980	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:34	1980	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:34	1980	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:34	1980	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:34	1980	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:34	1980	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:34	1980	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:34	1980	[DEBUG]	Use field value for field published
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:34	1980	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field override
2023-10-13	12:56:34	1980	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:34	1980	[DEBUG]	Use field value for field slug
2023-10-13	12:56:34	1980	[DEBUG]	Process line 1980
2023-10-13	12:56:34	1980	[DEBUG]	Load a row
2023-10-13	12:56:34	1980	[DEBUG]	Processing item: 410000140
2023-10-13	12:56:34	1980	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:34	1980	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:34	1980	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8742_1'
2023-10-13	12:56:34	1980	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:35	1980	[DEBUG]	Processing product tax
2023-10-13	12:56:35	1980	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:35	1980	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:35	1980	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:35	1980	[DEBUG]	Query for Product
2023-10-13	12:56:35	1980	[DEBUG]	Executed store
2023-10-13	12:56:35	1980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861471','410000140','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:35	1980	[DEBUG]	No parent found
2023-10-13	12:56:35	1980	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861471 AND customfield_value = 'stockable'
2023-10-13	12:56:35	1980	[DEBUG]	Check product language entry
2023-10-13	12:56:35	1980	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861472
2023-10-13	12:56:35	1980	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:35	1980	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '410000140' AND `virtuemart_product_id` != 1861472
2023-10-13	12:56:35	1980	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:35	1980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861472, '410000140')
2023-10-13	12:56:35	1980	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:35	1980	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-ride-dash-evo-braket-des-my21-avec-emplacement-pour-feu-avant-noir-set' AND `virtuemart_product_id` != 1861472
2023-10-13	12:56:35	1980	[DEBUG]	Query for ProductLang
2023-10-13	12:56:35	1980	[DEBUG]	Executed store
2023-10-13	12:56:35	1980	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Ride Dash Evo / Braket dès MY21 avec emplacement pour feu avant / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-ride-dash-evo-braket-des-my21-avec-emplacement-pour-feu-avant-noir-set' WHERE `virtuemart_product_id` = '1861472'
2023-10-13	12:56:35	1980	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37706_giant_ride_dash_evo_-_braket_des_my21.jpg
2023-10-13	12:56:35	1980	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:35	1980	[DEBUG]	Process image file
2023-10-13	12:56:35	1980	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:35	1980	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:35	1980	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37706_giant_ride_dash_evo_-_braket_des_my21.jpg
2023-10-13	12:56:35	1980	[DEBUG]	Full name target: bcprisme/37706_giant_ride_dash_evo_-_braket_des_my21.jpg
2023-10-13	12:56:35	1980	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:35	1980	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37706_giant_ride_dash_evo_-_braket_des_my21.jpg'
2023-10-13	12:56:35	1980	[DEBUG]	Query for Media
2023-10-13	12:56:35	1980	[DEBUG]	Executed store
2023-10-13	12:56:35	1980	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37706_giant_ride_dash_evo_-_braket_des_my21.jpg',`file_url_thumb`='bcprisme/37706_giant_ride_dash_evo_-_braket_des_my21.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1060382'
2023-10-13	12:56:35	1980	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:35	1980	[DEBUG]	Executed store
2023-10-13	12:56:35	1980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861472','1060382','1')
2023-10-13	12:56:35	1980	[DEBUG]	Store product image relation
2023-10-13	12:56:35	1980	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:35	1980	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861472 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:35	1980	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:35	1980	[DEBUG]	Executed store
2023-10-13	12:56:35	1980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861472','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:35	1980	[DEBUG]	Checking manufacturer
2023-10-13	12:56:36	1980	[DEBUG]	Load a row
2023-10-13	12:56:36	1980	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:36	1980	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:36	1980	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:36	1980	[DEBUG]	Executed store
2023-10-13	12:56:36	1980	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:36	1980	[DEBUG]	Manufacturer exists
2023-10-13	12:56:36	1980	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:36	1980	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:36	1980	[DEBUG]	Executed store
2023-10-13	12:56:36	1980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861472','29')
2023-10-13	12:56:36	1980	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:36	1980	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:36	1980	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861472 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:36	1980	[DEBUG]	Store custom available field
2023-10-13	12:56:36	1980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861472,3,'',1)
2023-10-13	12:56:36	1980	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:36	1980	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:36	1980	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861472 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:36	1980	[DEBUG]	Store custom available field
2023-10-13	12:56:36	1980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861472,6,'Set',3)
2023-10-13	12:56:36	1980	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:36	1980	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:36	1980	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861471
2023-10-13	12:56:36	1980	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:36	1980	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861471\":[1861471,8,1,\"choisir la taille\"],\"1861472\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861471
2023-10-13	12:56:36	1980	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:36	1980	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861472
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:36	1981	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field taille
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:36	1981	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:36	1981	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:36	1981	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:36	1981	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:36	1981	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:36	1981	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field published
2023-10-13	12:56:36	1981	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:36	1981	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field override
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:36	1981	[DEBUG]	Use field value for field slug
2023-10-13	12:56:36	1981	[DEBUG]	Process line 1981
2023-10-13	12:56:36	1981	[DEBUG]	Load a row
2023-10-13	12:56:36	1981	[DEBUG]	Processing item: A_9251_1
2023-10-13	12:56:36	1981	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:36	1981	[DEBUG]	Processing product tax
2023-10-13	12:56:36	1981	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:36	1981	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:36	1981	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:36	1981	[DEBUG]	Query for Product
2023-10-13	12:56:36	1981	[DEBUG]	Executed store
2023-10-13	12:56:36	1981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9251_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:36	1981	[DEBUG]	Check product language entry
2023-10-13	12:56:36	1981	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861473
2023-10-13	12:56:36	1981	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:36	1981	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9251_1' AND `virtuemart_product_id` != 1861473
2023-10-13	12:56:36	1981	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:36	1981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861473, 'A_9251_1')
2023-10-13	12:56:36	1981	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:36	1981	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-commande-ride-control-ergo-3-a-partir-de-my2021-noir' AND `virtuemart_product_id` != 1861473
2023-10-13	12:56:36	1981	[DEBUG]	Query for ProductLang
2023-10-13	12:56:36	1981	[DEBUG]	Executed store
2023-10-13	12:56:36	1981	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.158',`product_name`='GIANT Commande Ride Control Ergo 3 à partir de MY2021 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-commande-ride-control-ergo-3-a-partir-de-my2021-noir' WHERE `virtuemart_product_id` = '1861473'
2023-10-13	12:56:36	1981	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38335_giant_commande_ride_control_ergo_3_à_partir_de_my2021.jpg
2023-10-13	12:56:36	1981	[DEBUG]	Identity string: ffd8ffe000104a46494600010101009600960000
2023-10-13	12:56:36	1981	[DEBUG]	Process image file
2023-10-13	12:56:36	1981	[DEBUG]	Identity string: ffd8ffe000104a46494600010101009600960000
2023-10-13	12:56:36	1981	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:36	1981	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38335_giant_commande_ride_control_ergo_3_à_partir_de_my2021.jpg
2023-10-13	12:56:36	1981	[DEBUG]	Full name target: bcprisme/38335_giant_commande_ride_control_ergo_3_à_partir_de_my2021.jpg
2023-10-13	12:56:36	1981	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:36	1981	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38335_giant_commande_ride_control_ergo_3_à_partir_de_my2021.jpg'
2023-10-13	12:56:36	1981	[DEBUG]	Query for Media
2023-10-13	12:56:36	1981	[DEBUG]	Executed store
2023-10-13	12:56:36	1981	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38335_giant_commande_ride_control_ergo_3_à_partir_de_my2021.jpg',`file_url_thumb`='bcprisme/38335_giant_commande_ride_control_ergo_3_à_partir_de_my2021.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1352867'
2023-10-13	12:56:36	1981	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:37	1981	[DEBUG]	Executed store
2023-10-13	12:56:37	1981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861473','1352867','1')
2023-10-13	12:56:37	1981	[DEBUG]	Store product image relation
2023-10-13	12:56:37	1981	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:37	1981	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861473 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:37	1981	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:37	1981	[DEBUG]	Executed store
2023-10-13	12:56:37	1981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861473','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:37	1981	[DEBUG]	Checking manufacturer
2023-10-13	12:56:37	1981	[DEBUG]	Load a row
2023-10-13	12:56:37	1981	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:37	1981	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:37	1981	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:37	1981	[DEBUG]	Executed store
2023-10-13	12:56:37	1981	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:37	1981	[DEBUG]	Manufacturer exists
2023-10-13	12:56:37	1981	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:37	1981	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:37	1981	[DEBUG]	Executed store
2023-10-13	12:56:37	1981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861473','29')
2023-10-13	12:56:37	1981	[DEBUG]	Find the custom field ID
2023-10-13	12:56:37	1981	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:37	1981	[DEBUG]	No custom field ID found
2023-10-13	12:56:37	1981	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:37	1981	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:37	1981	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861473 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:37	1981	[DEBUG]	Store custom available field
2023-10-13	12:56:37	1981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861473,3,'12.8641666666667',1)
2023-10-13	12:56:37	1981	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:37	1981	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:37	1981	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861473 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:37	1981	[DEBUG]	Store custom available field
2023-10-13	12:56:37	1981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861473,6,'choisir la taille',3)
2023-10-13	12:56:37	1981	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:37	1981	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:37	1981	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:37	1981	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:37	1981	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861473 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:37	1981	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:37	1981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861473,8,1)
2023-10-13	12:56:37	1981	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:37	1981	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861473\":[1861473,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861473
2023-10-13	12:56:37	1981	[DEBUG]	Checking category
2023-10-13	12:56:37	1981	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:37	1981	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861473
2023-10-13	12:56:37	1981	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:37	1981	[DEBUG]	Executed store
2023-10-13	12:56:37	1981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861473','7321')
2023-10-13	12:56:37	1981	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:37	1981	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861473 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:37	1981	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:37	1981	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861473
2023-10-13	12:56:37	1982	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:37	1982	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:37	1982	[DEBUG]	Use field value for field taille
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:37	1982	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:37	1982	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:37	1982	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:37	1982	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:37	1982	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:37	1982	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:37	1982	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:37	1982	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:37	1982	[DEBUG]	Use field value for field published
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:37	1982	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field override
2023-10-13	12:56:37	1982	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:37	1982	[DEBUG]	Use field value for field slug
2023-10-13	12:56:37	1982	[DEBUG]	Process line 1982
2023-10-13	12:56:37	1982	[DEBUG]	Load a row
2023-10-13	12:56:37	1982	[DEBUG]	Processing item: 4713250021980
2023-10-13	12:56:37	1982	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:37	1982	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:37	1982	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9251_1'
2023-10-13	12:56:37	1982	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:37	1982	[DEBUG]	Processing product tax
2023-10-13	12:56:37	1982	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:37	1982	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:37	1982	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:37	1982	[DEBUG]	Query for Product
2023-10-13	12:56:37	1982	[DEBUG]	Executed store
2023-10-13	12:56:37	1982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861473','4713250021980','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:37	1982	[DEBUG]	No parent found
2023-10-13	12:56:37	1982	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861473 AND customfield_value = 'stockable'
2023-10-13	12:56:37	1982	[DEBUG]	Check product language entry
2023-10-13	12:56:37	1982	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861474
2023-10-13	12:56:37	1982	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:37	1982	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713250021980' AND `virtuemart_product_id` != 1861474
2023-10-13	12:56:37	1982	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:37	1982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861474, '4713250021980')
2023-10-13	12:56:37	1982	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:37	1982	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-commande-ride-control-ergo-3-a-partir-de-my2021-noir-set' AND `virtuemart_product_id` != 1861474
2023-10-13	12:56:37	1982	[DEBUG]	Query for ProductLang
2023-10-13	12:56:37	1982	[DEBUG]	Executed store
2023-10-13	12:56:37	1982	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Commande Ride Control Ergo 3 à partir de MY2021 / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-commande-ride-control-ergo-3-a-partir-de-my2021-noir-set' WHERE `virtuemart_product_id` = '1861474'
2023-10-13	12:56:37	1982	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38335_giant_commande_ride_control_ergo_3_à_partir_de_my2021.jpg
2023-10-13	12:56:37	1982	[DEBUG]	Identity string: ffd8ffe000104a46494600010101009600960000
2023-10-13	12:56:37	1982	[DEBUG]	Process image file
2023-10-13	12:56:37	1982	[DEBUG]	Identity string: ffd8ffe000104a46494600010101009600960000
2023-10-13	12:56:37	1982	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:37	1982	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38335_giant_commande_ride_control_ergo_3_à_partir_de_my2021.jpg
2023-10-13	12:56:37	1982	[DEBUG]	Full name target: bcprisme/38335_giant_commande_ride_control_ergo_3_à_partir_de_my2021.jpg
2023-10-13	12:56:38	1982	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:38	1982	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38335_giant_commande_ride_control_ergo_3_à_partir_de_my2021.jpg'
2023-10-13	12:56:38	1982	[DEBUG]	Query for Media
2023-10-13	12:56:38	1982	[DEBUG]	Executed store
2023-10-13	12:56:38	1982	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38335_giant_commande_ride_control_ergo_3_à_partir_de_my2021.jpg',`file_url_thumb`='bcprisme/38335_giant_commande_ride_control_ergo_3_à_partir_de_my2021.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1352867'
2023-10-13	12:56:38	1982	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:38	1982	[DEBUG]	Executed store
2023-10-13	12:56:38	1982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861474','1352867','1')
2023-10-13	12:56:38	1982	[DEBUG]	Store product image relation
2023-10-13	12:56:38	1982	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:38	1982	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861474 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:38	1982	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:38	1982	[DEBUG]	Executed store
2023-10-13	12:56:38	1982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861474','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:38	1982	[DEBUG]	Checking manufacturer
2023-10-13	12:56:38	1982	[DEBUG]	Load a row
2023-10-13	12:56:38	1982	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:38	1982	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:38	1982	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:38	1982	[DEBUG]	Executed store
2023-10-13	12:56:38	1982	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:38	1982	[DEBUG]	Manufacturer exists
2023-10-13	12:56:38	1982	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:38	1982	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:38	1982	[DEBUG]	Executed store
2023-10-13	12:56:38	1982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861474','29')
2023-10-13	12:56:38	1982	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:38	1982	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:38	1982	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861474 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:38	1982	[DEBUG]	Store custom available field
2023-10-13	12:56:38	1982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861474,3,'',1)
2023-10-13	12:56:38	1982	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:38	1982	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:38	1982	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861474 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:38	1982	[DEBUG]	Store custom available field
2023-10-13	12:56:38	1982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861474,6,'Set',3)
2023-10-13	12:56:38	1982	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:38	1982	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:38	1982	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861473
2023-10-13	12:56:38	1982	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:38	1982	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861473\":[1861473,8,1,\"choisir la taille\"],\"1861474\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861473
2023-10-13	12:56:38	1982	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:38	1982	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861474
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:38	1983	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field taille
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:38	1983	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:38	1983	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:38	1983	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:38	1983	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:38	1983	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:38	1983	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:38	1983	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field published
2023-10-13	12:56:38	1983	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:38	1983	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field override
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:38	1983	[DEBUG]	Use field value for field slug
2023-10-13	12:56:38	1983	[DEBUG]	Process line 1983
2023-10-13	12:56:38	1983	[DEBUG]	Load a row
2023-10-13	12:56:38	1983	[DEBUG]	Processing item: A_9381_1
2023-10-13	12:56:38	1983	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:38	1983	[DEBUG]	Processing product tax
2023-10-13	12:56:38	1983	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:38	1983	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:38	1983	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:38	1983	[DEBUG]	Query for Product
2023-10-13	12:56:38	1983	[DEBUG]	Executed store
2023-10-13	12:56:38	1983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9381_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:38	1983	[DEBUG]	Check product language entry
2023-10-13	12:56:38	1983	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861475
2023-10-13	12:56:38	1983	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:38	1983	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9381_1' AND `virtuemart_product_id` != 1861475
2023-10-13	12:56:38	1983	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:38	1983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861475, 'A_9381_1')
2023-10-13	12:56:38	1983	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:38	1983	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'garmin-gps-brytron-rider-15-neo-noir' AND `virtuemart_product_id` != 1861475
2023-10-13	12:56:38	1983	[DEBUG]	Query for ProductLang
2023-10-13	12:56:38	1983	[DEBUG]	Executed store
2023-10-13	12:56:38	1983	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : BY15NEO_E',`product_name`='GARMIN GPS Brytron Rider 15 Neo / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='garmin-gps-brytron-rider-15-neo-noir' WHERE `virtuemart_product_id` = '1861475'
2023-10-13	12:56:38	1983	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38526_gps_brytron_rider_15_neo.jpg has not been found.
2023-10-13	12:56:38	1983	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:38	1983	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861475 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:38	1983	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:38	1983	[DEBUG]	Executed store
2023-10-13	12:56:38	1983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861475','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:38	1983	[DEBUG]	Checking manufacturer
2023-10-13	12:56:38	1983	[DEBUG]	Load a row
2023-10-13	12:56:38	1983	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:38	1983	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '282'
2023-10-13	12:56:38	1983	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:38	1983	[DEBUG]	Executed store
2023-10-13	12:56:38	1983	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='143',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='143' WHERE `virtuemart_manufacturer_id` = '282'
2023-10-13	12:56:38	1983	[DEBUG]	Manufacturer exists
2023-10-13	12:56:38	1983	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 282
2023-10-13	12:56:38	1983	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:38	1983	[DEBUG]	Executed store
2023-10-13	12:56:38	1983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861475','282')
2023-10-13	12:56:38	1983	[DEBUG]	Find the custom field ID
2023-10-13	12:56:38	1983	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:38	1983	[DEBUG]	No custom field ID found
2023-10-13	12:56:38	1983	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:38	1983	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:56:38	1983	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861475 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:38	1983	[DEBUG]	Store custom available field
2023-10-13	12:56:38	1983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861475,3,'0',1)
2023-10-13	12:56:38	1983	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:38	1983	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:38	1983	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861475 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:38	1983	[DEBUG]	Store custom available field
2023-10-13	12:56:38	1983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861475,6,'choisir la taille',3)
2023-10-13	12:56:38	1983	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:38	1983	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:38	1983	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:38	1983	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:38	1983	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861475 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:38	1983	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:38	1983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861475,8,1)
2023-10-13	12:56:38	1983	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:38	1983	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861475\":[1861475,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861475
2023-10-13	12:56:38	1983	[DEBUG]	Checking category
2023-10-13	12:56:38	1983	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:38	1983	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861475
2023-10-13	12:56:38	1983	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:38	1983	[DEBUG]	Executed store
2023-10-13	12:56:38	1983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861475','7321')
2023-10-13	12:56:38	1983	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:38	1983	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861475 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:38	1983	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:38	1983	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861475
2023-10-13	12:56:38	1984	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:38	1984	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:38	1984	[DEBUG]	Use field value for field taille
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:38	1984	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:38	1984	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:38	1984	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:38	1984	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:38	1984	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:38	1984	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:38	1984	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:38	1984	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:38	1984	[DEBUG]	Use field value for field published
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:38	1984	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field override
2023-10-13	12:56:38	1984	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:38	1984	[DEBUG]	Use field value for field slug
2023-10-13	12:56:38	1984	[DEBUG]	Process line 1984
2023-10-13	12:56:38	1984	[DEBUG]	Load a row
2023-10-13	12:56:38	1984	[DEBUG]	Processing item: 4718251592965
2023-10-13	12:56:38	1984	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:38	1984	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:38	1984	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9381_1'
2023-10-13	12:56:38	1984	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:38	1984	[DEBUG]	Processing product tax
2023-10-13	12:56:38	1984	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:38	1984	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:38	1984	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:38	1984	[DEBUG]	Query for Product
2023-10-13	12:56:38	1984	[DEBUG]	Executed store
2023-10-13	12:56:38	1984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861475','4718251592965','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:38	1984	[DEBUG]	No parent found
2023-10-13	12:56:38	1984	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861475 AND customfield_value = 'stockable'
2023-10-13	12:56:38	1984	[DEBUG]	Check product language entry
2023-10-13	12:56:38	1984	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861476
2023-10-13	12:56:38	1984	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:38	1984	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4718251592965' AND `virtuemart_product_id` != 1861476
2023-10-13	12:56:38	1984	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:38	1984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861476, '4718251592965')
2023-10-13	12:56:38	1984	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:38	1984	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'garmin-gps-brytron-rider-15-neo-noir-unitaire' AND `virtuemart_product_id` != 1861476
2023-10-13	12:56:38	1984	[DEBUG]	Query for ProductLang
2023-10-13	12:56:38	1984	[DEBUG]	Executed store
2023-10-13	12:56:38	1984	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GARMIN GPS Brytron Rider 15 Neo / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='garmin-gps-brytron-rider-15-neo-noir-unitaire' WHERE `virtuemart_product_id` = '1861476'
2023-10-13	12:56:38	1984	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38526_gps_brytron_rider_15_neo.jpg has not been found.
2023-10-13	12:56:38	1984	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:38	1984	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861476 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:38	1984	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:38	1984	[DEBUG]	Executed store
2023-10-13	12:56:38	1984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861476','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:38	1984	[DEBUG]	Checking manufacturer
2023-10-13	12:56:38	1984	[DEBUG]	Load a row
2023-10-13	12:56:38	1984	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:38	1984	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '282'
2023-10-13	12:56:38	1984	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:38	1984	[DEBUG]	Executed store
2023-10-13	12:56:38	1984	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='143',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='143' WHERE `virtuemart_manufacturer_id` = '282'
2023-10-13	12:56:38	1984	[DEBUG]	Manufacturer exists
2023-10-13	12:56:38	1984	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 282
2023-10-13	12:56:38	1984	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:38	1984	[DEBUG]	Executed store
2023-10-13	12:56:38	1984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861476','282')
2023-10-13	12:56:38	1984	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:38	1984	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:38	1984	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861476 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:38	1984	[DEBUG]	Store custom available field
2023-10-13	12:56:38	1984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861476,3,'',1)
2023-10-13	12:56:38	1984	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:38	1984	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:56:38	1984	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861476 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:38	1984	[DEBUG]	Store custom available field
2023-10-13	12:56:38	1984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861476,6,'Unitaire',3)
2023-10-13	12:56:38	1984	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:38	1984	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:38	1984	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861475
2023-10-13	12:56:38	1984	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:38	1984	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861475\":[1861475,8,1,\"choisir la taille\"],\"1861476\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861475
2023-10-13	12:56:38	1984	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:38	1984	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861476
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:38	1985	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field taille
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:38	1985	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:38	1985	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:38	1985	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:38	1985	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:38	1985	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:38	1985	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:38	1985	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field published
2023-10-13	12:56:38	1985	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:38	1985	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field override
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:38	1985	[DEBUG]	Use field value for field slug
2023-10-13	12:56:38	1985	[DEBUG]	Process line 1985
2023-10-13	12:56:38	1985	[DEBUG]	Load a row
2023-10-13	12:56:38	1985	[DEBUG]	Processing item: A_9551_1
2023-10-13	12:56:38	1985	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:38	1985	[DEBUG]	Processing product tax
2023-10-13	12:56:38	1985	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:38	1985	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:38	1985	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:38	1985	[DEBUG]	Query for Product
2023-10-13	12:56:38	1985	[DEBUG]	Executed store
2023-10-13	12:56:38	1985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9551_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:38	1985	[DEBUG]	Check product language entry
2023-10-13	12:56:38	1985	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861477
2023-10-13	12:56:38	1985	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:38	1985	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9551_1' AND `virtuemart_product_id` != 1861477
2023-10-13	12:56:38	1985	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:38	1985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861477, 'A_9551_1')
2023-10-13	12:56:38	1985	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:38	1985	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-entretoise-en-caoutchouc-pour-le-support-d-ecran-1-bras-35-0mm-noir' AND `virtuemart_product_id` != 1861477
2023-10-13	12:56:38	1985	[DEBUG]	Query for ProductLang
2023-10-13	12:56:38	1985	[DEBUG]	Executed store
2023-10-13	12:56:38	1985	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.83022',`product_name`='Bosch Entretoise en caoutchouc pour le support d\'écran 1-bras 35.0mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-entretoise-en-caoutchouc-pour-le-support-d-ecran-1-bras-35-0mm-noir' WHERE `virtuemart_product_id` = '1861477'
2023-10-13	12:56:38	1985	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8302.jpg
2023-10-13	12:56:38	1985	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:38	1985	[DEBUG]	Process image file
2023-10-13	12:56:38	1985	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:38	1985	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:38	1985	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8302.jpg
2023-10-13	12:56:38	1985	[DEBUG]	Full name target: bcprisme/56_8302.jpg
2023-10-13	12:56:39	1985	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:39	1985	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_8302.jpg'
2023-10-13	12:56:39	1985	[DEBUG]	Query for Media
2023-10-13	12:56:39	1985	[DEBUG]	Executed store
2023-10-13	12:56:39	1985	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_8302.jpg',`file_url_thumb`='bcprisme/56_8302.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1478036'
2023-10-13	12:56:39	1985	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:39	1985	[DEBUG]	Executed store
2023-10-13	12:56:39	1985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861477','1478036','1')
2023-10-13	12:56:39	1985	[DEBUG]	Store product image relation
2023-10-13	12:56:39	1985	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:39	1985	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861477 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:39	1985	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:39	1985	[DEBUG]	Executed store
2023-10-13	12:56:39	1985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861477','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:39	1985	[DEBUG]	Checking manufacturer
2023-10-13	12:56:39	1985	[DEBUG]	Load a row
2023-10-13	12:56:39	1985	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:39	1985	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:39	1985	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:39	1985	[DEBUG]	Executed store
2023-10-13	12:56:39	1985	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:39	1985	[DEBUG]	Manufacturer exists
2023-10-13	12:56:39	1985	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:39	1985	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:39	1985	[DEBUG]	Executed store
2023-10-13	12:56:39	1985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861477','33')
2023-10-13	12:56:39	1985	[DEBUG]	Find the custom field ID
2023-10-13	12:56:39	1985	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:39	1985	[DEBUG]	No custom field ID found
2023-10-13	12:56:39	1985	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:39	1985	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:56:39	1985	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861477 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:39	1985	[DEBUG]	Store custom available field
2023-10-13	12:56:39	1985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861477,3,'0',1)
2023-10-13	12:56:39	1985	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:39	1985	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:39	1985	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861477 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:39	1985	[DEBUG]	Store custom available field
2023-10-13	12:56:39	1985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861477,6,'choisir la taille',3)
2023-10-13	12:56:39	1985	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:39	1985	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:39	1985	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:39	1985	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:39	1985	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861477 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:39	1985	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:39	1985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861477,8,1)
2023-10-13	12:56:39	1985	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:39	1985	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861477\":[1861477,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861477
2023-10-13	12:56:39	1985	[DEBUG]	Checking category
2023-10-13	12:56:39	1985	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:39	1985	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861477
2023-10-13	12:56:39	1985	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:39	1985	[DEBUG]	Executed store
2023-10-13	12:56:39	1985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861477','7321')
2023-10-13	12:56:39	1985	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:39	1985	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861477 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:39	1985	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:39	1985	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861477
2023-10-13	12:56:39	1986	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:39	1986	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:39	1986	[DEBUG]	Use field value for field taille
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:39	1986	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:39	1986	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:39	1986	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:39	1986	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:39	1986	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:39	1986	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:39	1986	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:39	1986	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:39	1986	[DEBUG]	Use field value for field published
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:39	1986	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field override
2023-10-13	12:56:39	1986	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:39	1986	[DEBUG]	Use field value for field slug
2023-10-13	12:56:39	1986	[DEBUG]	Process line 1986
2023-10-13	12:56:39	1986	[DEBUG]	Load a row
2023-10-13	12:56:39	1986	[DEBUG]	Processing item: 4054289005597
2023-10-13	12:56:39	1986	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:39	1986	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:39	1986	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9551_1'
2023-10-13	12:56:39	1986	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:39	1986	[DEBUG]	Processing product tax
2023-10-13	12:56:39	1986	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:39	1986	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:39	1986	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:39	1986	[DEBUG]	Query for Product
2023-10-13	12:56:39	1986	[DEBUG]	Executed store
2023-10-13	12:56:39	1986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861477','4054289005597','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:39	1986	[DEBUG]	No parent found
2023-10-13	12:56:39	1986	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861477 AND customfield_value = 'stockable'
2023-10-13	12:56:39	1986	[DEBUG]	Check product language entry
2023-10-13	12:56:39	1986	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861478
2023-10-13	12:56:39	1986	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:39	1986	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4054289005597' AND `virtuemart_product_id` != 1861478
2023-10-13	12:56:39	1986	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:39	1986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861478, '4054289005597')
2023-10-13	12:56:39	1986	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:39	1986	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-entretoise-en-caoutchouc-pour-le-support-d-ecran-1-bras-35-0mm-noir-unitaire' AND `virtuemart_product_id` != 1861478
2023-10-13	12:56:39	1986	[DEBUG]	Query for ProductLang
2023-10-13	12:56:39	1986	[DEBUG]	Executed store
2023-10-13	12:56:39	1986	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Entretoise en caoutchouc pour le support d\'écran 1-bras 35.0mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-entretoise-en-caoutchouc-pour-le-support-d-ecran-1-bras-35-0mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861478'
2023-10-13	12:56:39	1986	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8302.jpg
2023-10-13	12:56:39	1986	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:39	1986	[DEBUG]	Process image file
2023-10-13	12:56:39	1986	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:39	1986	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:39	1986	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8302.jpg
2023-10-13	12:56:39	1986	[DEBUG]	Full name target: bcprisme/56_8302.jpg
2023-10-13	12:56:40	1986	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:40	1986	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_8302.jpg'
2023-10-13	12:56:40	1986	[DEBUG]	Query for Media
2023-10-13	12:56:40	1986	[DEBUG]	Executed store
2023-10-13	12:56:40	1986	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_8302.jpg',`file_url_thumb`='bcprisme/56_8302.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1478036'
2023-10-13	12:56:40	1986	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:40	1986	[DEBUG]	Executed store
2023-10-13	12:56:40	1986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861478','1478036','1')
2023-10-13	12:56:40	1986	[DEBUG]	Store product image relation
2023-10-13	12:56:40	1986	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:40	1986	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861478 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:40	1986	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:40	1986	[DEBUG]	Executed store
2023-10-13	12:56:40	1986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861478','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:40	1986	[DEBUG]	Checking manufacturer
2023-10-13	12:56:40	1986	[DEBUG]	Load a row
2023-10-13	12:56:40	1986	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:40	1986	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:40	1986	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:40	1986	[DEBUG]	Executed store
2023-10-13	12:56:40	1986	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:40	1986	[DEBUG]	Manufacturer exists
2023-10-13	12:56:40	1986	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:40	1986	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:40	1986	[DEBUG]	Executed store
2023-10-13	12:56:40	1986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861478','33')
2023-10-13	12:56:40	1986	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:40	1986	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:40	1986	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861478 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:40	1986	[DEBUG]	Store custom available field
2023-10-13	12:56:40	1986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861478,3,'',1)
2023-10-13	12:56:40	1986	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:40	1986	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:56:40	1986	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861478 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:40	1986	[DEBUG]	Store custom available field
2023-10-13	12:56:40	1986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861478,6,'Unitaire',3)
2023-10-13	12:56:40	1986	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:40	1986	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:40	1986	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861477
2023-10-13	12:56:40	1986	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:40	1986	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861477\":[1861477,8,1,\"choisir la taille\"],\"1861478\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861477
2023-10-13	12:56:40	1986	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:40	1986	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861478
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:40	1987	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field taille
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:40	1987	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:40	1987	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:40	1987	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:40	1987	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:40	1987	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:40	1987	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field published
2023-10-13	12:56:40	1987	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:40	1987	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field override
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:40	1987	[DEBUG]	Use field value for field slug
2023-10-13	12:56:40	1987	[DEBUG]	Process line 1987
2023-10-13	12:56:40	1987	[DEBUG]	Load a row
2023-10-13	12:56:40	1987	[DEBUG]	Processing item: A_9552_1
2023-10-13	12:56:40	1987	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:40	1987	[DEBUG]	Processing product tax
2023-10-13	12:56:40	1987	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:40	1987	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:40	1987	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:40	1987	[DEBUG]	Query for Product
2023-10-13	12:56:40	1987	[DEBUG]	Executed store
2023-10-13	12:56:40	1987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9552_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:40	1987	[DEBUG]	Check product language entry
2023-10-13	12:56:40	1987	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861479
2023-10-13	12:56:40	1987	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:40	1987	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9552_1' AND `virtuemart_product_id` != 1861479
2023-10-13	12:56:40	1987	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:40	1987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861479, 'A_9552_1')
2023-10-13	12:56:40	1987	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:40	1987	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-support-d-ecran-1-bras-35-0mm-bds3630-noir' AND `virtuemart_product_id` != 1861479
2023-10-13	12:56:40	1987	[DEBUG]	Query for ProductLang
2023-10-13	12:56:40	1987	[DEBUG]	Executed store
2023-10-13	12:56:40	1987	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.83020',`product_name`='Bosch Support d\'écran 1-bras 35.0mm BDS3630 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-support-d-ecran-1-bras-35-0mm-bds3630-noir' WHERE `virtuemart_product_id` = '1861479'
2023-10-13	12:56:40	1987	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:56:40	1987	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:40	1987	[DEBUG]	Process image file
2023-10-13	12:56:40	1987	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:40	1987	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:40	1987	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:56:40	1987	[DEBUG]	Full name target: bcprisme/56_8301.jpg
2023-10-13	12:56:41	1987	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:41	1987	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_8301.jpg'
2023-10-13	12:56:41	1987	[DEBUG]	Query for Media
2023-10-13	12:56:41	1987	[DEBUG]	Executed store
2023-10-13	12:56:41	1987	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_8301.jpg',`file_url_thumb`='bcprisme/56_8301.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1466839'
2023-10-13	12:56:41	1987	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:41	1987	[DEBUG]	Executed store
2023-10-13	12:56:41	1987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861479','1466839','1')
2023-10-13	12:56:41	1987	[DEBUG]	Store product image relation
2023-10-13	12:56:41	1987	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:41	1987	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861479 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:41	1987	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:41	1987	[DEBUG]	Executed store
2023-10-13	12:56:41	1987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861479','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:41	1987	[DEBUG]	Checking manufacturer
2023-10-13	12:56:41	1987	[DEBUG]	Load a row
2023-10-13	12:56:41	1987	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:41	1987	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:41	1987	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:41	1987	[DEBUG]	Executed store
2023-10-13	12:56:41	1987	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:41	1987	[DEBUG]	Manufacturer exists
2023-10-13	12:56:41	1987	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:41	1987	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:41	1987	[DEBUG]	Executed store
2023-10-13	12:56:41	1987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861479','33')
2023-10-13	12:56:41	1987	[DEBUG]	Find the custom field ID
2023-10-13	12:56:41	1987	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:41	1987	[DEBUG]	No custom field ID found
2023-10-13	12:56:41	1987	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:41	1987	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:56:41	1987	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861479 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:41	1987	[DEBUG]	Store custom available field
2023-10-13	12:56:41	1987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861479,3,'0',1)
2023-10-13	12:56:41	1987	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:41	1987	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:41	1987	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861479 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:41	1987	[DEBUG]	Store custom available field
2023-10-13	12:56:41	1987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861479,6,'choisir la taille',3)
2023-10-13	12:56:41	1987	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:41	1987	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:41	1987	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:41	1987	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:41	1987	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861479 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:41	1987	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:41	1987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861479,8,1)
2023-10-13	12:56:41	1987	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:41	1987	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861479\":[1861479,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861479
2023-10-13	12:56:41	1987	[DEBUG]	Checking category
2023-10-13	12:56:41	1987	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:41	1987	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861479
2023-10-13	12:56:41	1987	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:41	1987	[DEBUG]	Executed store
2023-10-13	12:56:41	1987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861479','7321')
2023-10-13	12:56:41	1987	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:41	1987	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861479 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:41	1987	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:41	1987	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861479
2023-10-13	12:56:41	1988	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:41	1988	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:41	1988	[DEBUG]	Use field value for field taille
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:41	1988	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:41	1988	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:41	1988	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:41	1988	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:41	1988	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:41	1988	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:41	1988	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:41	1988	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:41	1988	[DEBUG]	Use field value for field published
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:41	1988	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field override
2023-10-13	12:56:41	1988	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:41	1988	[DEBUG]	Use field value for field slug
2023-10-13	12:56:41	1988	[DEBUG]	Process line 1988
2023-10-13	12:56:41	1988	[DEBUG]	Load a row
2023-10-13	12:56:41	1988	[DEBUG]	Processing item: 4054289005559
2023-10-13	12:56:41	1988	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:41	1988	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:41	1988	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9552_1'
2023-10-13	12:56:41	1988	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:41	1988	[DEBUG]	Processing product tax
2023-10-13	12:56:41	1988	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:41	1988	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:41	1988	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:41	1988	[DEBUG]	Query for Product
2023-10-13	12:56:41	1988	[DEBUG]	Executed store
2023-10-13	12:56:41	1988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861479','4054289005559','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:41	1988	[DEBUG]	No parent found
2023-10-13	12:56:41	1988	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861479 AND customfield_value = 'stockable'
2023-10-13	12:56:41	1988	[DEBUG]	Check product language entry
2023-10-13	12:56:41	1988	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861480
2023-10-13	12:56:41	1988	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:41	1988	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4054289005559' AND `virtuemart_product_id` != 1861480
2023-10-13	12:56:41	1988	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:41	1988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861480, '4054289005559')
2023-10-13	12:56:41	1988	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:41	1988	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-support-d-ecran-1-bras-35-0mm-bds3630-noir-unitaire' AND `virtuemart_product_id` != 1861480
2023-10-13	12:56:41	1988	[DEBUG]	Query for ProductLang
2023-10-13	12:56:41	1988	[DEBUG]	Executed store
2023-10-13	12:56:41	1988	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Support d\'écran 1-bras 35.0mm BDS3630 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-support-d-ecran-1-bras-35-0mm-bds3630-noir-unitaire' WHERE `virtuemart_product_id` = '1861480'
2023-10-13	12:56:41	1988	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:56:41	1988	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:41	1988	[DEBUG]	Process image file
2023-10-13	12:56:41	1988	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:41	1988	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:41	1988	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:56:41	1988	[DEBUG]	Full name target: bcprisme/56_8301.jpg
2023-10-13	12:56:42	1988	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:42	1988	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_8301.jpg'
2023-10-13	12:56:42	1988	[DEBUG]	Query for Media
2023-10-13	12:56:42	1988	[DEBUG]	Executed store
2023-10-13	12:56:42	1988	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_8301.jpg',`file_url_thumb`='bcprisme/56_8301.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1466839'
2023-10-13	12:56:42	1988	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:42	1988	[DEBUG]	Executed store
2023-10-13	12:56:42	1988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861480','1466839','1')
2023-10-13	12:56:42	1988	[DEBUG]	Store product image relation
2023-10-13	12:56:42	1988	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:42	1988	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861480 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:42	1988	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:42	1988	[DEBUG]	Executed store
2023-10-13	12:56:42	1988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861480','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:42	1988	[DEBUG]	Checking manufacturer
2023-10-13	12:56:42	1988	[DEBUG]	Load a row
2023-10-13	12:56:42	1988	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:42	1988	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:42	1988	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:42	1988	[DEBUG]	Executed store
2023-10-13	12:56:42	1988	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:42	1988	[DEBUG]	Manufacturer exists
2023-10-13	12:56:42	1988	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:42	1988	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:42	1988	[DEBUG]	Executed store
2023-10-13	12:56:42	1988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861480','33')
2023-10-13	12:56:42	1988	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:42	1988	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:42	1988	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861480 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:42	1988	[DEBUG]	Store custom available field
2023-10-13	12:56:42	1988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861480,3,'',1)
2023-10-13	12:56:42	1988	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:42	1988	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:56:42	1988	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861480 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:42	1988	[DEBUG]	Store custom available field
2023-10-13	12:56:42	1988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861480,6,'Unitaire',3)
2023-10-13	12:56:42	1988	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:42	1988	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:42	1988	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861479
2023-10-13	12:56:42	1988	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:42	1988	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861479\":[1861479,8,1,\"choisir la taille\"],\"1861480\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861479
2023-10-13	12:56:42	1988	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:42	1988	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861480
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:42	1989	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field taille
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:42	1989	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:42	1989	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:42	1989	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:42	1989	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:42	1989	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:42	1989	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field published
2023-10-13	12:56:42	1989	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:42	1989	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field override
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:42	1989	[DEBUG]	Use field value for field slug
2023-10-13	12:56:42	1989	[DEBUG]	Process line 1989
2023-10-13	12:56:42	1989	[DEBUG]	Load a row
2023-10-13	12:56:42	1989	[DEBUG]	Processing item: A_9553_1
2023-10-13	12:56:42	1989	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:42	1989	[DEBUG]	Processing product tax
2023-10-13	12:56:42	1989	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:42	1989	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:42	1989	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:42	1989	[DEBUG]	Query for Product
2023-10-13	12:56:42	1989	[DEBUG]	Executed store
2023-10-13	12:56:42	1989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9553_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:42	1989	[DEBUG]	Check product language entry
2023-10-13	12:56:42	1989	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861481
2023-10-13	12:56:42	1989	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:42	1989	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9553_1' AND `virtuemart_product_id` != 1861481
2023-10-13	12:56:42	1989	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:42	1989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861481, 'A_9553_1')
2023-10-13	12:56:42	1989	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:42	1989	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-ecran-kiox-300-bhu3600-anthracite-noir' AND `virtuemart_product_id` != 1861481
2023-10-13	12:56:42	1989	[DEBUG]	Query for ProductLang
2023-10-13	12:56:42	1989	[DEBUG]	Executed store
2023-10-13	12:56:42	1989	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.83015',`product_name`='Bosch Ecran Kiox 300 BHU3600 anthracite / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-ecran-kiox-300-bhu3600-anthracite-noir' WHERE `virtuemart_product_id` = '1861481'
2023-10-13	12:56:42	1989	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:56:42	1989	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:42	1989	[DEBUG]	Process image file
2023-10-13	12:56:42	1989	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:42	1989	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:42	1989	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:56:42	1989	[DEBUG]	Full name target: bcprisme/56_8301.jpg
2023-10-13	12:56:43	1989	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:43	1989	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_8301.jpg'
2023-10-13	12:56:43	1989	[DEBUG]	Query for Media
2023-10-13	12:56:43	1989	[DEBUG]	Executed store
2023-10-13	12:56:43	1989	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_8301.jpg',`file_url_thumb`='bcprisme/56_8301.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1466839'
2023-10-13	12:56:43	1989	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:43	1989	[DEBUG]	Executed store
2023-10-13	12:56:43	1989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861481','1466839','1')
2023-10-13	12:56:43	1989	[DEBUG]	Store product image relation
2023-10-13	12:56:43	1989	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:43	1989	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861481 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:43	1989	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:43	1989	[DEBUG]	Executed store
2023-10-13	12:56:43	1989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861481','0','125.255338904364','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:43	1989	[DEBUG]	Checking manufacturer
2023-10-13	12:56:43	1989	[DEBUG]	Load a row
2023-10-13	12:56:43	1989	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:43	1989	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:43	1989	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:43	1989	[DEBUG]	Executed store
2023-10-13	12:56:43	1989	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:43	1989	[DEBUG]	Manufacturer exists
2023-10-13	12:56:43	1989	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:43	1989	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:43	1989	[DEBUG]	Executed store
2023-10-13	12:56:43	1989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861481','33')
2023-10-13	12:56:43	1989	[DEBUG]	Find the custom field ID
2023-10-13	12:56:43	1989	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:43	1989	[DEBUG]	No custom field ID found
2023-10-13	12:56:43	1989	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:43	1989	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:56:43	1989	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861481 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:43	1989	[DEBUG]	Store custom available field
2023-10-13	12:56:43	1989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861481,3,'0',1)
2023-10-13	12:56:43	1989	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:43	1989	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:43	1989	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861481 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:43	1989	[DEBUG]	Store custom available field
2023-10-13	12:56:43	1989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861481,6,'choisir la taille',3)
2023-10-13	12:56:43	1989	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:43	1989	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:43	1989	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:43	1989	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:43	1989	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861481 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:43	1989	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:43	1989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861481,8,1)
2023-10-13	12:56:43	1989	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:43	1989	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861481\":[1861481,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861481
2023-10-13	12:56:43	1989	[DEBUG]	Checking category
2023-10-13	12:56:43	1989	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:43	1989	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861481
2023-10-13	12:56:43	1989	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:43	1989	[DEBUG]	Executed store
2023-10-13	12:56:43	1989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861481','7321')
2023-10-13	12:56:43	1989	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:43	1989	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861481 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:43	1989	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:43	1989	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861481
2023-10-13	12:56:43	1990	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:43	1990	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:43	1990	[DEBUG]	Use field value for field taille
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:43	1990	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:43	1990	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:43	1990	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:43	1990	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:43	1990	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:43	1990	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:43	1990	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:43	1990	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:43	1990	[DEBUG]	Use field value for field published
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:43	1990	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field override
2023-10-13	12:56:43	1990	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:43	1990	[DEBUG]	Use field value for field slug
2023-10-13	12:56:43	1990	[DEBUG]	Process line 1990
2023-10-13	12:56:43	1990	[DEBUG]	Load a row
2023-10-13	12:56:43	1990	[DEBUG]	Processing item: 4054289005535
2023-10-13	12:56:43	1990	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:43	1990	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:43	1990	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9553_1'
2023-10-13	12:56:43	1990	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:43	1990	[DEBUG]	Processing product tax
2023-10-13	12:56:43	1990	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:43	1990	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:43	1990	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:43	1990	[DEBUG]	Query for Product
2023-10-13	12:56:43	1990	[DEBUG]	Executed store
2023-10-13	12:56:43	1990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861481','4054289005535','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:43	1990	[DEBUG]	No parent found
2023-10-13	12:56:43	1990	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861481 AND customfield_value = 'stockable'
2023-10-13	12:56:43	1990	[DEBUG]	Check product language entry
2023-10-13	12:56:43	1990	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861482
2023-10-13	12:56:43	1990	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:43	1990	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4054289005535' AND `virtuemart_product_id` != 1861482
2023-10-13	12:56:43	1990	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:43	1990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861482, '4054289005535')
2023-10-13	12:56:43	1990	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:43	1990	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-ecran-kiox-300-bhu3600-anthracite-noir-unitaire' AND `virtuemart_product_id` != 1861482
2023-10-13	12:56:43	1990	[DEBUG]	Query for ProductLang
2023-10-13	12:56:43	1990	[DEBUG]	Executed store
2023-10-13	12:56:43	1990	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Ecran Kiox 300 BHU3600 anthracite / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-ecran-kiox-300-bhu3600-anthracite-noir-unitaire' WHERE `virtuemart_product_id` = '1861482'
2023-10-13	12:56:43	1990	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:56:43	1990	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:43	1990	[DEBUG]	Process image file
2023-10-13	12:56:43	1990	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:43	1990	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:43	1990	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:56:43	1990	[DEBUG]	Full name target: bcprisme/56_8301.jpg
2023-10-13	12:56:44	1990	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:44	1990	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_8301.jpg'
2023-10-13	12:56:44	1990	[DEBUG]	Query for Media
2023-10-13	12:56:44	1990	[DEBUG]	Executed store
2023-10-13	12:56:44	1990	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_8301.jpg',`file_url_thumb`='bcprisme/56_8301.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1466839'
2023-10-13	12:56:44	1990	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:44	1990	[DEBUG]	Executed store
2023-10-13	12:56:44	1990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861482','1466839','1')
2023-10-13	12:56:44	1990	[DEBUG]	Store product image relation
2023-10-13	12:56:44	1990	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:44	1990	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861482 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:44	1990	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:44	1990	[DEBUG]	Executed store
2023-10-13	12:56:44	1990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861482','0','125.255338904364','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:44	1990	[DEBUG]	Checking manufacturer
2023-10-13	12:56:44	1990	[DEBUG]	Load a row
2023-10-13	12:56:44	1990	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:44	1990	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:44	1990	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:44	1990	[DEBUG]	Executed store
2023-10-13	12:56:44	1990	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:44	1990	[DEBUG]	Manufacturer exists
2023-10-13	12:56:44	1990	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:44	1990	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:44	1990	[DEBUG]	Executed store
2023-10-13	12:56:44	1990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861482','33')
2023-10-13	12:56:44	1990	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:44	1990	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:44	1990	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861482 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:44	1990	[DEBUG]	Store custom available field
2023-10-13	12:56:44	1990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861482,3,'',1)
2023-10-13	12:56:44	1990	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:44	1990	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:56:44	1990	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861482 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:44	1990	[DEBUG]	Store custom available field
2023-10-13	12:56:44	1990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861482,6,'Unitaire',3)
2023-10-13	12:56:44	1990	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:44	1990	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:44	1990	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861481
2023-10-13	12:56:44	1990	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:44	1990	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861481\":[1861481,8,1,\"choisir la taille\"],\"1861482\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861481
2023-10-13	12:56:44	1990	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:44	1990	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861482
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:44	1991	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field taille
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:44	1991	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:44	1991	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:44	1991	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:44	1991	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:44	1991	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:44	1991	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field published
2023-10-13	12:56:44	1991	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:44	1991	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field override
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:44	1991	[DEBUG]	Use field value for field slug
2023-10-13	12:56:44	1991	[DEBUG]	Process line 1991
2023-10-13	12:56:44	1991	[DEBUG]	Load a row
2023-10-13	12:56:44	1991	[DEBUG]	Processing item: A_9560_1
2023-10-13	12:56:44	1991	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:44	1991	[DEBUG]	Processing product tax
2023-10-13	12:56:44	1991	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:44	1991	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:44	1991	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:44	1991	[DEBUG]	Query for Product
2023-10-13	12:56:44	1991	[DEBUG]	Executed store
2023-10-13	12:56:44	1991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9560_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:44	1991	[DEBUG]	Check product language entry
2023-10-13	12:56:44	1991	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861483
2023-10-13	12:56:44	1991	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:44	1991	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9560_1' AND `virtuemart_product_id` != 1861483
2023-10-13	12:56:44	1991	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:44	1991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861483, 'A_9560_1')
2023-10-13	12:56:44	1991	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:44	1991	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-coque-d-adaptation-pour-le-support-d-ecran-1-bras-noir' AND `virtuemart_product_id` != 1861483
2023-10-13	12:56:44	1991	[DEBUG]	Query for ProductLang
2023-10-13	12:56:44	1991	[DEBUG]	Executed store
2023-10-13	12:56:44	1991	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.83018',`product_name`='Bosch Coque d\'adaptation pour le support d\'écran 1-bras / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-coque-d-adaptation-pour-le-support-d-ecran-1-bras-noir' WHERE `virtuemart_product_id` = '1861483'
2023-10-13	12:56:44	1991	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:56:44	1991	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:44	1991	[DEBUG]	Process image file
2023-10-13	12:56:44	1991	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:44	1991	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:44	1991	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:56:44	1991	[DEBUG]	Full name target: bcprisme/56_8301.jpg
2023-10-13	12:56:45	1991	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:45	1991	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_8301.jpg'
2023-10-13	12:56:45	1991	[DEBUG]	Query for Media
2023-10-13	12:56:45	1991	[DEBUG]	Executed store
2023-10-13	12:56:45	1991	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_8301.jpg',`file_url_thumb`='bcprisme/56_8301.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1466839'
2023-10-13	12:56:45	1991	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:45	1991	[DEBUG]	Executed store
2023-10-13	12:56:45	1991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861483','1466839','1')
2023-10-13	12:56:45	1991	[DEBUG]	Store product image relation
2023-10-13	12:56:45	1991	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:45	1991	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861483 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:45	1991	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:45	1991	[DEBUG]	Executed store
2023-10-13	12:56:45	1991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861483','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:45	1991	[DEBUG]	Checking manufacturer
2023-10-13	12:56:45	1991	[DEBUG]	Load a row
2023-10-13	12:56:45	1991	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:45	1991	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:45	1991	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:45	1991	[DEBUG]	Executed store
2023-10-13	12:56:45	1991	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:45	1991	[DEBUG]	Manufacturer exists
2023-10-13	12:56:45	1991	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:45	1991	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:45	1991	[DEBUG]	Executed store
2023-10-13	12:56:45	1991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861483','33')
2023-10-13	12:56:45	1991	[DEBUG]	Find the custom field ID
2023-10-13	12:56:45	1991	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:45	1991	[DEBUG]	No custom field ID found
2023-10-13	12:56:45	1991	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:45	1991	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:56:45	1991	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861483 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:45	1991	[DEBUG]	Store custom available field
2023-10-13	12:56:45	1991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861483,3,'0',1)
2023-10-13	12:56:45	1991	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:45	1991	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:45	1991	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861483 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:45	1991	[DEBUG]	Store custom available field
2023-10-13	12:56:45	1991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861483,6,'choisir la taille',3)
2023-10-13	12:56:45	1991	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:45	1991	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:45	1991	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:45	1991	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:45	1991	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861483 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:45	1991	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:45	1991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861483,8,1)
2023-10-13	12:56:45	1991	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:45	1991	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861483\":[1861483,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861483
2023-10-13	12:56:45	1991	[DEBUG]	Checking category
2023-10-13	12:56:45	1991	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:45	1991	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861483
2023-10-13	12:56:45	1991	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:45	1991	[DEBUG]	Executed store
2023-10-13	12:56:45	1991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861483','7321')
2023-10-13	12:56:45	1991	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:45	1991	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861483 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:45	1991	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:45	1991	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861483
2023-10-13	12:56:45	1992	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:45	1992	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:45	1992	[DEBUG]	Use field value for field taille
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:45	1992	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:45	1992	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:45	1992	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:45	1992	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:45	1992	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:45	1992	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:45	1992	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:45	1992	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:45	1992	[DEBUG]	Use field value for field published
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:45	1992	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field override
2023-10-13	12:56:45	1992	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:45	1992	[DEBUG]	Use field value for field slug
2023-10-13	12:56:45	1992	[DEBUG]	Process line 1992
2023-10-13	12:56:45	1992	[DEBUG]	Load a row
2023-10-13	12:56:45	1992	[DEBUG]	Processing item: 4054289005641
2023-10-13	12:56:45	1992	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:45	1992	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:45	1992	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9560_1'
2023-10-13	12:56:45	1992	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:45	1992	[DEBUG]	Processing product tax
2023-10-13	12:56:45	1992	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:45	1992	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:45	1992	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:45	1992	[DEBUG]	Query for Product
2023-10-13	12:56:45	1992	[DEBUG]	Executed store
2023-10-13	12:56:45	1992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861483','4054289005641','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:45	1992	[DEBUG]	No parent found
2023-10-13	12:56:45	1992	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861483 AND customfield_value = 'stockable'
2023-10-13	12:56:45	1992	[DEBUG]	Check product language entry
2023-10-13	12:56:45	1992	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861484
2023-10-13	12:56:45	1992	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:45	1992	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4054289005641' AND `virtuemart_product_id` != 1861484
2023-10-13	12:56:45	1992	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:45	1992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861484, '4054289005641')
2023-10-13	12:56:45	1992	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:45	1992	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-coque-d-adaptation-pour-le-support-d-ecran-1-bras-noir-unitaire' AND `virtuemart_product_id` != 1861484
2023-10-13	12:56:45	1992	[DEBUG]	Query for ProductLang
2023-10-13	12:56:45	1992	[DEBUG]	Executed store
2023-10-13	12:56:45	1992	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Coque d\'adaptation pour le support d\'écran 1-bras / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-coque-d-adaptation-pour-le-support-d-ecran-1-bras-noir-unitaire' WHERE `virtuemart_product_id` = '1861484'
2023-10-13	12:56:45	1992	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:56:45	1992	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:45	1992	[DEBUG]	Process image file
2023-10-13	12:56:45	1992	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:45	1992	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:45	1992	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8301.jpg
2023-10-13	12:56:45	1992	[DEBUG]	Full name target: bcprisme/56_8301.jpg
2023-10-13	12:56:46	1992	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:46	1992	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_8301.jpg'
2023-10-13	12:56:46	1992	[DEBUG]	Query for Media
2023-10-13	12:56:46	1992	[DEBUG]	Executed store
2023-10-13	12:56:46	1992	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_8301.jpg',`file_url_thumb`='bcprisme/56_8301.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1466839'
2023-10-13	12:56:46	1992	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:46	1992	[DEBUG]	Executed store
2023-10-13	12:56:46	1992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861484','1466839','1')
2023-10-13	12:56:46	1992	[DEBUG]	Store product image relation
2023-10-13	12:56:46	1992	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:46	1992	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861484 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:46	1992	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:46	1992	[DEBUG]	Executed store
2023-10-13	12:56:46	1992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861484','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:46	1992	[DEBUG]	Checking manufacturer
2023-10-13	12:56:46	1992	[DEBUG]	Load a row
2023-10-13	12:56:46	1992	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:46	1992	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:46	1992	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:46	1992	[DEBUG]	Executed store
2023-10-13	12:56:46	1992	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:46	1992	[DEBUG]	Manufacturer exists
2023-10-13	12:56:46	1992	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:46	1992	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:46	1992	[DEBUG]	Executed store
2023-10-13	12:56:46	1992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861484','33')
2023-10-13	12:56:46	1992	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:46	1992	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:46	1992	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861484 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:46	1992	[DEBUG]	Store custom available field
2023-10-13	12:56:46	1992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861484,3,'',1)
2023-10-13	12:56:46	1992	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:46	1992	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:56:46	1992	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861484 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:46	1992	[DEBUG]	Store custom available field
2023-10-13	12:56:46	1992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861484,6,'Unitaire',3)
2023-10-13	12:56:46	1992	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:46	1992	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:46	1992	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861483
2023-10-13	12:56:46	1992	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:46	1992	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861483\":[1861483,8,1,\"choisir la taille\"],\"1861484\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861483
2023-10-13	12:56:46	1992	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:46	1992	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861484
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:46	1993	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field taille
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:46	1993	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:46	1993	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:46	1993	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:46	1993	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:46	1993	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:46	1993	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field published
2023-10-13	12:56:46	1993	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:46	1993	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field override
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:46	1993	[DEBUG]	Use field value for field slug
2023-10-13	12:56:46	1993	[DEBUG]	Process line 1993
2023-10-13	12:56:46	1993	[DEBUG]	Load a row
2023-10-13	12:56:46	1993	[DEBUG]	Processing item: A_9561_1
2023-10-13	12:56:46	1993	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:46	1993	[DEBUG]	Processing product tax
2023-10-13	12:56:46	1993	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:46	1993	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:46	1993	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:46	1993	[DEBUG]	Query for Product
2023-10-13	12:56:46	1993	[DEBUG]	Executed store
2023-10-13	12:56:46	1993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9561_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:46	1993	[DEBUG]	Check product language entry
2023-10-13	12:56:46	1993	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861485
2023-10-13	12:56:46	1993	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:46	1993	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9561_1' AND `virtuemart_product_id` != 1861485
2023-10-13	12:56:46	1993	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:46	1993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861485, 'A_9561_1')
2023-10-13	12:56:46	1993	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:46	1993	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-cable-de-connexion-de-ecran-300mm-bch3611-noir' AND `virtuemart_product_id` != 1861485
2023-10-13	12:56:46	1993	[DEBUG]	Query for ProductLang
2023-10-13	12:56:46	1993	[DEBUG]	Executed store
2023-10-13	12:56:46	1993	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.83030',`product_name`='Bosch Câble de connexion de écran 300mm BCH3611 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-cable-de-connexion-de-ecran-300mm-bch3611-noir' WHERE `virtuemart_product_id` = '1861485'
2023-10-13	12:56:46	1993	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8302.jpg
2023-10-13	12:56:46	1993	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:46	1993	[DEBUG]	Process image file
2023-10-13	12:56:46	1993	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:46	1993	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:46	1993	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8302.jpg
2023-10-13	12:56:46	1993	[DEBUG]	Full name target: bcprisme/56_8302.jpg
2023-10-13	12:56:47	1993	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:47	1993	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_8302.jpg'
2023-10-13	12:56:47	1993	[DEBUG]	Query for Media
2023-10-13	12:56:47	1993	[DEBUG]	Executed store
2023-10-13	12:56:47	1993	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_8302.jpg',`file_url_thumb`='bcprisme/56_8302.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1478036'
2023-10-13	12:56:47	1993	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:47	1993	[DEBUG]	Executed store
2023-10-13	12:56:47	1993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861485','1478036','1')
2023-10-13	12:56:47	1993	[DEBUG]	Store product image relation
2023-10-13	12:56:47	1993	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:47	1993	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861485 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:47	1993	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:47	1993	[DEBUG]	Executed store
2023-10-13	12:56:47	1993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861485','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:47	1993	[DEBUG]	Checking manufacturer
2023-10-13	12:56:47	1993	[DEBUG]	Load a row
2023-10-13	12:56:47	1993	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:47	1993	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:47	1993	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:47	1993	[DEBUG]	Executed store
2023-10-13	12:56:47	1993	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:47	1993	[DEBUG]	Manufacturer exists
2023-10-13	12:56:47	1993	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:47	1993	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:47	1993	[DEBUG]	Executed store
2023-10-13	12:56:47	1993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861485','33')
2023-10-13	12:56:47	1993	[DEBUG]	Find the custom field ID
2023-10-13	12:56:47	1993	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:47	1993	[DEBUG]	No custom field ID found
2023-10-13	12:56:47	1993	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:47	1993	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:56:47	1993	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861485 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:47	1993	[DEBUG]	Store custom available field
2023-10-13	12:56:47	1993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861485,3,'0',1)
2023-10-13	12:56:47	1993	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:47	1993	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:47	1993	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861485 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:47	1993	[DEBUG]	Store custom available field
2023-10-13	12:56:47	1993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861485,6,'choisir la taille',3)
2023-10-13	12:56:47	1993	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:47	1993	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:47	1993	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:47	1993	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:47	1993	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861485 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:47	1993	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:47	1993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861485,8,1)
2023-10-13	12:56:47	1993	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:47	1993	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861485\":[1861485,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861485
2023-10-13	12:56:47	1993	[DEBUG]	Checking category
2023-10-13	12:56:47	1993	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:47	1993	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861485
2023-10-13	12:56:47	1993	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:47	1993	[DEBUG]	Executed store
2023-10-13	12:56:47	1993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861485','7321')
2023-10-13	12:56:47	1993	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:47	1993	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861485 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:47	1993	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:47	1993	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861485
2023-10-13	12:56:47	1994	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:47	1994	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:47	1994	[DEBUG]	Use field value for field taille
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:47	1994	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:47	1994	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:47	1994	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:47	1994	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:47	1994	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:47	1994	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:47	1994	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:47	1994	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:47	1994	[DEBUG]	Use field value for field published
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:47	1994	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field override
2023-10-13	12:56:47	1994	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:47	1994	[DEBUG]	Use field value for field slug
2023-10-13	12:56:47	1994	[DEBUG]	Process line 1994
2023-10-13	12:56:47	1994	[DEBUG]	Load a row
2023-10-13	12:56:47	1994	[DEBUG]	Processing item: 4054289005368
2023-10-13	12:56:47	1994	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:47	1994	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:47	1994	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9561_1'
2023-10-13	12:56:47	1994	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:47	1994	[DEBUG]	Processing product tax
2023-10-13	12:56:47	1994	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:47	1994	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:47	1994	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:47	1994	[DEBUG]	Query for Product
2023-10-13	12:56:47	1994	[DEBUG]	Executed store
2023-10-13	12:56:47	1994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861485','4054289005368','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:47	1994	[DEBUG]	No parent found
2023-10-13	12:56:47	1994	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861485 AND customfield_value = 'stockable'
2023-10-13	12:56:47	1994	[DEBUG]	Check product language entry
2023-10-13	12:56:47	1994	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861486
2023-10-13	12:56:47	1994	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:47	1994	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4054289005368' AND `virtuemart_product_id` != 1861486
2023-10-13	12:56:47	1994	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:47	1994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861486, '4054289005368')
2023-10-13	12:56:47	1994	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:47	1994	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-cable-de-connexion-de-ecran-300mm-bch3611-noir-unitaire' AND `virtuemart_product_id` != 1861486
2023-10-13	12:56:47	1994	[DEBUG]	Query for ProductLang
2023-10-13	12:56:47	1994	[DEBUG]	Executed store
2023-10-13	12:56:47	1994	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Câble de connexion de écran 300mm BCH3611 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-cable-de-connexion-de-ecran-300mm-bch3611-noir-unitaire' WHERE `virtuemart_product_id` = '1861486'
2023-10-13	12:56:47	1994	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8302.jpg
2023-10-13	12:56:47	1994	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:47	1994	[DEBUG]	Process image file
2023-10-13	12:56:47	1994	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:47	1994	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:47	1994	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_8302.jpg
2023-10-13	12:56:47	1994	[DEBUG]	Full name target: bcprisme/56_8302.jpg
2023-10-13	12:56:49	1994	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:49	1994	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_8302.jpg'
2023-10-13	12:56:49	1994	[DEBUG]	Query for Media
2023-10-13	12:56:49	1994	[DEBUG]	Executed store
2023-10-13	12:56:49	1994	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_8302.jpg',`file_url_thumb`='bcprisme/56_8302.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1478036'
2023-10-13	12:56:49	1994	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:49	1994	[DEBUG]	Executed store
2023-10-13	12:56:49	1994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861486','1478036','1')
2023-10-13	12:56:49	1994	[DEBUG]	Store product image relation
2023-10-13	12:56:49	1994	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:49	1994	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861486 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:49	1994	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:49	1994	[DEBUG]	Executed store
2023-10-13	12:56:49	1994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861486','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:49	1994	[DEBUG]	Checking manufacturer
2023-10-13	12:56:49	1994	[DEBUG]	Load a row
2023-10-13	12:56:49	1994	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:49	1994	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:49	1994	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:49	1994	[DEBUG]	Executed store
2023-10-13	12:56:49	1994	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:49	1994	[DEBUG]	Manufacturer exists
2023-10-13	12:56:49	1994	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:49	1994	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:49	1994	[DEBUG]	Executed store
2023-10-13	12:56:49	1994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861486','33')
2023-10-13	12:56:49	1994	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:49	1994	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:49	1994	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861486 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:49	1994	[DEBUG]	Store custom available field
2023-10-13	12:56:49	1994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861486,3,'',1)
2023-10-13	12:56:49	1994	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:49	1994	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:56:49	1994	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861486 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:49	1994	[DEBUG]	Store custom available field
2023-10-13	12:56:49	1994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861486,6,'Unitaire',3)
2023-10-13	12:56:49	1994	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:49	1994	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:49	1994	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861485
2023-10-13	12:56:49	1994	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:49	1994	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861485\":[1861485,8,1,\"choisir la taille\"],\"1861486\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861485
2023-10-13	12:56:49	1994	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:49	1994	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861486
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:49	1995	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field taille
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:49	1995	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:49	1995	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:49	1995	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:49	1995	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:49	1995	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:49	1995	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field published
2023-10-13	12:56:49	1995	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:49	1995	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field override
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:49	1995	[DEBUG]	Use field value for field slug
2023-10-13	12:56:49	1995	[DEBUG]	Process line 1995
2023-10-13	12:56:49	1995	[DEBUG]	Load a row
2023-10-13	12:56:49	1995	[DEBUG]	Processing item: A_9606_321
2023-10-13	12:56:49	1995	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:49	1995	[DEBUG]	Processing product tax
2023-10-13	12:56:49	1995	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:49	1995	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:49	1995	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:49	1995	[DEBUG]	Query for Product
2023-10-13	12:56:49	1995	[DEBUG]	Executed store
2023-10-13	12:56:49	1995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9606_321','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:49	1995	[DEBUG]	Check product language entry
2023-10-13	12:56:49	1995	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861487
2023-10-13	12:56:49	1995	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:49	1995	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9606_321' AND `virtuemart_product_id` != 1861487
2023-10-13	12:56:49	1995	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:49	1995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861487, 'A_9606_321')
2023-10-13	12:56:49	1995	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:49	1995	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-couvercle-pour-unite-de-commande-intivia-bui25x-noir-anthracite' AND `virtuemart_product_id` != 1861487
2023-10-13	12:56:49	1995	[DEBUG]	Query for ProductLang
2023-10-13	12:56:49	1995	[DEBUG]	Executed store
2023-10-13	12:56:49	1995	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.64694',`product_name`='Bosch Couvercle pour unité de commande Intivia BUI25x noir / Anthracite',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-couvercle-pour-unite-de-commande-intivia-bui25x-noir-anthracite' WHERE `virtuemart_product_id` = '1861487'
2023-10-13	12:56:49	1995	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_6469.jpg
2023-10-13	12:56:49	1995	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:49	1995	[DEBUG]	Process image file
2023-10-13	12:56:49	1995	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:49	1995	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:49	1995	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_6469.jpg
2023-10-13	12:56:49	1995	[DEBUG]	Full name target: bcprisme/56_6469.jpg
2023-10-13	12:56:50	1995	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:50	1995	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_6469.jpg'
2023-10-13	12:56:50	1995	[DEBUG]	Query for Media
2023-10-13	12:56:50	1995	[DEBUG]	Executed store
2023-10-13	12:56:50	1995	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_6469.jpg',`file_url_thumb`='bcprisme/56_6469.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1500467'
2023-10-13	12:56:50	1995	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:50	1995	[DEBUG]	Executed store
2023-10-13	12:56:50	1995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861487','1500467','1')
2023-10-13	12:56:50	1995	[DEBUG]	Store product image relation
2023-10-13	12:56:50	1995	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:50	1995	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861487 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:50	1995	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:50	1995	[DEBUG]	Executed store
2023-10-13	12:56:50	1995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861487','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:50	1995	[DEBUG]	Checking manufacturer
2023-10-13	12:56:50	1995	[DEBUG]	Load a row
2023-10-13	12:56:50	1995	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:50	1995	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:50	1995	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:50	1995	[DEBUG]	Executed store
2023-10-13	12:56:50	1995	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:50	1995	[DEBUG]	Manufacturer exists
2023-10-13	12:56:50	1995	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:50	1995	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:50	1995	[DEBUG]	Executed store
2023-10-13	12:56:50	1995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861487','33')
2023-10-13	12:56:50	1995	[DEBUG]	Find the custom field ID
2023-10-13	12:56:50	1995	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:50	1995	[DEBUG]	No custom field ID found
2023-10-13	12:56:50	1995	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:50	1995	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:56:50	1995	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861487 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:50	1995	[DEBUG]	Store custom available field
2023-10-13	12:56:50	1995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861487,3,'0',1)
2023-10-13	12:56:50	1995	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:50	1995	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:50	1995	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861487 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:50	1995	[DEBUG]	Store custom available field
2023-10-13	12:56:50	1995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861487,6,'choisir la taille',3)
2023-10-13	12:56:50	1995	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:50	1995	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:50	1995	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:50	1995	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:50	1995	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861487 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:50	1995	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:50	1995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861487,8,1)
2023-10-13	12:56:50	1995	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:50	1995	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861487\":[1861487,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861487
2023-10-13	12:56:50	1995	[DEBUG]	Checking category
2023-10-13	12:56:50	1995	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:50	1995	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861487
2023-10-13	12:56:50	1995	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:50	1995	[DEBUG]	Executed store
2023-10-13	12:56:50	1995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861487','7321')
2023-10-13	12:56:50	1995	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:50	1995	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861487 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:50	1995	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:50	1995	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861487
2023-10-13	12:56:50	1996	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:50	1996	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:50	1996	[DEBUG]	Use field value for field taille
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:50	1996	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:50	1996	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:50	1996	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:50	1996	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:50	1996	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:50	1996	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:50	1996	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:50	1996	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:50	1996	[DEBUG]	Use field value for field published
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:50	1996	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field override
2023-10-13	12:56:50	1996	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:50	1996	[DEBUG]	Use field value for field slug
2023-10-13	12:56:50	1996	[DEBUG]	Process line 1996
2023-10-13	12:56:50	1996	[DEBUG]	Load a row
2023-10-13	12:56:50	1996	[DEBUG]	Processing item: 4054289000172
2023-10-13	12:56:50	1996	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:50	1996	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:50	1996	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9606_321'
2023-10-13	12:56:50	1996	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:50	1996	[DEBUG]	Processing product tax
2023-10-13	12:56:50	1996	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:50	1996	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:50	1996	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:50	1996	[DEBUG]	Query for Product
2023-10-13	12:56:50	1996	[DEBUG]	Executed store
2023-10-13	12:56:50	1996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861487','4054289000172','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:50	1996	[DEBUG]	No parent found
2023-10-13	12:56:50	1996	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861487 AND customfield_value = 'stockable'
2023-10-13	12:56:50	1996	[DEBUG]	Check product language entry
2023-10-13	12:56:50	1996	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861488
2023-10-13	12:56:50	1996	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:50	1996	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4054289000172' AND `virtuemart_product_id` != 1861488
2023-10-13	12:56:50	1996	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:50	1996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861488, '4054289000172')
2023-10-13	12:56:50	1996	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:50	1996	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-couvercle-pour-unite-de-commande-intivia-bui25x-noir-anthracite-unitaire' AND `virtuemart_product_id` != 1861488
2023-10-13	12:56:50	1996	[DEBUG]	Query for ProductLang
2023-10-13	12:56:50	1996	[DEBUG]	Executed store
2023-10-13	12:56:50	1996	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Couvercle pour unité de commande Intivia BUI25x noir / Anthracite (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-couvercle-pour-unite-de-commande-intivia-bui25x-noir-anthracite-unitaire' WHERE `virtuemart_product_id` = '1861488'
2023-10-13	12:56:50	1996	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_6469.jpg
2023-10-13	12:56:50	1996	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:50	1996	[DEBUG]	Process image file
2023-10-13	12:56:50	1996	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:56:50	1996	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:50	1996	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_6469.jpg
2023-10-13	12:56:50	1996	[DEBUG]	Full name target: bcprisme/56_6469.jpg
2023-10-13	12:56:51	1996	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:51	1996	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/56_6469.jpg'
2023-10-13	12:56:51	1996	[DEBUG]	Query for Media
2023-10-13	12:56:51	1996	[DEBUG]	Executed store
2023-10-13	12:56:51	1996	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/56_6469.jpg',`file_url_thumb`='bcprisme/56_6469.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1500467'
2023-10-13	12:56:51	1996	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:51	1996	[DEBUG]	Executed store
2023-10-13	12:56:51	1996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861488','1500467','1')
2023-10-13	12:56:51	1996	[DEBUG]	Store product image relation
2023-10-13	12:56:51	1996	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:51	1996	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861488 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:51	1996	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:51	1996	[DEBUG]	Executed store
2023-10-13	12:56:51	1996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861488','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:51	1996	[DEBUG]	Checking manufacturer
2023-10-13	12:56:51	1996	[DEBUG]	Load a row
2023-10-13	12:56:51	1996	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:51	1996	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:51	1996	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:51	1996	[DEBUG]	Executed store
2023-10-13	12:56:51	1996	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:51	1996	[DEBUG]	Manufacturer exists
2023-10-13	12:56:51	1996	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:51	1996	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:51	1996	[DEBUG]	Executed store
2023-10-13	12:56:51	1996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861488','33')
2023-10-13	12:56:51	1996	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:51	1996	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:51	1996	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861488 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:51	1996	[DEBUG]	Store custom available field
2023-10-13	12:56:51	1996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861488,3,'',1)
2023-10-13	12:56:51	1996	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:51	1996	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:56:51	1996	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861488 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:51	1996	[DEBUG]	Store custom available field
2023-10-13	12:56:51	1996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861488,6,'Unitaire',3)
2023-10-13	12:56:51	1996	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:51	1996	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:51	1996	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861487
2023-10-13	12:56:51	1996	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:51	1996	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861487\":[1861487,8,1,\"choisir la taille\"],\"1861488\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861487
2023-10-13	12:56:51	1996	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:51	1996	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861488
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:51	1997	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field taille
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:51	1997	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:51	1997	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:51	1997	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field product_weight
2023-10-13	12:56:51	1997	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:51	1997	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:51	1997	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field published
2023-10-13	12:56:51	1997	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:51	1997	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field override
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:51	1997	[DEBUG]	Use field value for field slug
2023-10-13	12:56:51	1997	[DEBUG]	Process line 1997
2023-10-13	12:56:51	1997	[DEBUG]	Load a row
2023-10-13	12:56:51	1997	[DEBUG]	Processing item: A_9658_1
2023-10-13	12:56:51	1997	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:51	1997	[DEBUG]	Processing product tax
2023-10-13	12:56:51	1997	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:51	1997	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:51	1997	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:51	1997	[DEBUG]	Query for Product
2023-10-13	12:56:51	1997	[DEBUG]	Executed store
2023-10-13	12:56:51	1997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9658_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:51	1997	[DEBUG]	Check product language entry
2023-10-13	12:56:51	1997	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861489
2023-10-13	12:56:51	1997	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:51	1997	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9658_1' AND `virtuemart_product_id` != 1861489
2023-10-13	12:56:51	1997	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:51	1997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861489, 'A_9658_1')
2023-10-13	12:56:51	1997	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:51	1997	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-display-ride-dash-evo-plusdes-my21-noir' AND `virtuemart_product_id` != 1861489
2023-10-13	12:56:51	1997	[DEBUG]	Query for ProductLang
2023-10-13	12:56:51	1997	[DEBUG]	Executed store
2023-10-13	12:56:51	1997	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='22Ø/100MM/10º, aluminium, position ergonomique<br>N° art fourn : 400.005.219',`product_name`='GIANT Display RIDE DASH EVO PLUSdès MY21  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-display-ride-dash-evo-plusdes-my21-noir' WHERE `virtuemart_product_id` = '1861489'
2023-10-13	12:56:51	1997	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39057_display_ride_dash_evo_plusdes_my21_.jpg
2023-10-13	12:56:51	1997	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:51	1997	[DEBUG]	Process image file
2023-10-13	12:56:51	1997	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:51	1997	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:51	1997	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39057_display_ride_dash_evo_plusdes_my21_.jpg
2023-10-13	12:56:51	1997	[DEBUG]	Full name target: bcprisme/39057_display_ride_dash_evo_plusdes_my21_.jpg
2023-10-13	12:56:52	1997	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:52	1997	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39057_display_ride_dash_evo_plusdes_my21_.jpg'
2023-10-13	12:56:52	1997	[DEBUG]	Query for Media
2023-10-13	12:56:52	1997	[DEBUG]	Executed store
2023-10-13	12:56:52	1997	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39057_display_ride_dash_evo_plusdes_my21_.jpg',`file_url_thumb`='bcprisme/39057_display_ride_dash_evo_plusdes_my21_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1500469'
2023-10-13	12:56:52	1997	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:52	1997	[DEBUG]	Executed store
2023-10-13	12:56:52	1997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861489','1500469','1')
2023-10-13	12:56:52	1997	[DEBUG]	Store product image relation
2023-10-13	12:56:52	1997	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:52	1997	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861489 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:52	1997	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:52	1997	[DEBUG]	Executed store
2023-10-13	12:56:52	1997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861489','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:52	1997	[DEBUG]	Checking manufacturer
2023-10-13	12:56:52	1997	[DEBUG]	Load a row
2023-10-13	12:56:52	1997	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:52	1997	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:52	1997	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:52	1997	[DEBUG]	Executed store
2023-10-13	12:56:52	1997	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:52	1997	[DEBUG]	Manufacturer exists
2023-10-13	12:56:52	1997	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:52	1997	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:52	1997	[DEBUG]	Executed store
2023-10-13	12:56:52	1997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861489','29')
2023-10-13	12:56:52	1997	[DEBUG]	Find the custom field ID
2023-10-13	12:56:52	1997	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:52	1997	[DEBUG]	No custom field ID found
2023-10-13	12:56:52	1997	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:52	1997	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	12:56:52	1997	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861489 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:52	1997	[DEBUG]	Store custom available field
2023-10-13	12:56:52	1997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861489,3,'12.8641666666667',1)
2023-10-13	12:56:52	1997	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:52	1997	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:52	1997	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861489 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:52	1997	[DEBUG]	Store custom available field
2023-10-13	12:56:52	1997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861489,6,'choisir la taille',3)
2023-10-13	12:56:52	1997	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:52	1997	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:52	1997	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:52	1997	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:52	1997	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861489 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:52	1997	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:52	1997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861489,8,1)
2023-10-13	12:56:52	1997	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:52	1997	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861489\":[1861489,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861489
2023-10-13	12:56:52	1997	[DEBUG]	Checking category
2023-10-13	12:56:52	1997	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:52	1997	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861489
2023-10-13	12:56:52	1997	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:52	1997	[DEBUG]	Executed store
2023-10-13	12:56:52	1997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861489','7321')
2023-10-13	12:56:52	1997	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:52	1997	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861489 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:52	1997	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:52	1997	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861489
2023-10-13	12:56:52	1998	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:52	1998	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:52	1998	[DEBUG]	Use field value for field taille
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:52	1998	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:52	1998	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:52	1998	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:52	1998	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:52	1998	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:52	1998	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:52	1998	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:52	1998	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:52	1998	[DEBUG]	Use field value for field published
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:52	1998	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field override
2023-10-13	12:56:52	1998	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:52	1998	[DEBUG]	Use field value for field slug
2023-10-13	12:56:52	1998	[DEBUG]	Process line 1998
2023-10-13	12:56:52	1998	[DEBUG]	Load a row
2023-10-13	12:56:52	1998	[DEBUG]	Processing item: 4713250028323
2023-10-13	12:56:52	1998	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:52	1998	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:52	1998	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9658_1'
2023-10-13	12:56:52	1998	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:52	1998	[DEBUG]	Processing product tax
2023-10-13	12:56:52	1998	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:52	1998	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:52	1998	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:52	1998	[DEBUG]	Query for Product
2023-10-13	12:56:52	1998	[DEBUG]	Executed store
2023-10-13	12:56:52	1998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861489','4713250028323','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:52	1998	[DEBUG]	No parent found
2023-10-13	12:56:52	1998	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861489 AND customfield_value = 'stockable'
2023-10-13	12:56:52	1998	[DEBUG]	Check product language entry
2023-10-13	12:56:52	1998	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861490
2023-10-13	12:56:52	1998	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:52	1998	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713250028323' AND `virtuemart_product_id` != 1861490
2023-10-13	12:56:52	1998	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:52	1998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861490, '4713250028323')
2023-10-13	12:56:52	1998	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:52	1998	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-display-ride-dash-evo-plusdes-my21-noir-set' AND `virtuemart_product_id` != 1861490
2023-10-13	12:56:52	1998	[DEBUG]	Query for ProductLang
2023-10-13	12:56:52	1998	[DEBUG]	Executed store
2023-10-13	12:56:52	1998	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Display RIDE DASH EVO PLUSdès MY21  / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-display-ride-dash-evo-plusdes-my21-noir-set' WHERE `virtuemart_product_id` = '1861490'
2023-10-13	12:56:52	1998	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39057_display_ride_dash_evo_plusdes_my21_.jpg
2023-10-13	12:56:52	1998	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:52	1998	[DEBUG]	Process image file
2023-10-13	12:56:52	1998	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:56:52	1998	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:56:52	1998	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39057_display_ride_dash_evo_plusdes_my21_.jpg
2023-10-13	12:56:52	1998	[DEBUG]	Full name target: bcprisme/39057_display_ride_dash_evo_plusdes_my21_.jpg
2023-10-13	12:56:53	1998	[DEBUG]	Checking if the file_url exists
2023-10-13	12:56:53	1998	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39057_display_ride_dash_evo_plusdes_my21_.jpg'
2023-10-13	12:56:53	1998	[DEBUG]	Query for Media
2023-10-13	12:56:53	1998	[DEBUG]	Executed store
2023-10-13	12:56:53	1998	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39057_display_ride_dash_evo_plusdes_my21_.jpg',`file_url_thumb`='bcprisme/39057_display_ride_dash_evo_plusdes_my21_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1500469'
2023-10-13	12:56:53	1998	[DEBUG]	Query for ProductMedia
2023-10-13	12:56:53	1998	[DEBUG]	Executed store
2023-10-13	12:56:53	1998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861490','1500469','1')
2023-10-13	12:56:53	1998	[DEBUG]	Store product image relation
2023-10-13	12:56:53	1998	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:53	1998	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861490 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:53	1998	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:53	1998	[DEBUG]	Executed store
2023-10-13	12:56:53	1998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861490','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:53	1998	[DEBUG]	Checking manufacturer
2023-10-13	12:56:53	1998	[DEBUG]	Load a row
2023-10-13	12:56:53	1998	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:53	1998	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:53	1998	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:53	1998	[DEBUG]	Executed store
2023-10-13	12:56:53	1998	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	12:56:53	1998	[DEBUG]	Manufacturer exists
2023-10-13	12:56:53	1998	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	12:56:53	1998	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:53	1998	[DEBUG]	Executed store
2023-10-13	12:56:53	1998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861490','29')
2023-10-13	12:56:53	1998	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:53	1998	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:53	1998	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861490 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:53	1998	[DEBUG]	Store custom available field
2023-10-13	12:56:53	1998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861490,3,'',1)
2023-10-13	12:56:53	1998	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:53	1998	[DEBUG]	Get existing row with customfield value Set
2023-10-13	12:56:53	1998	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861490 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:53	1998	[DEBUG]	Store custom available field
2023-10-13	12:56:53	1998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861490,6,'Set',3)
2023-10-13	12:56:53	1998	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:53	1998	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:53	1998	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861489
2023-10-13	12:56:53	1998	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:53	1998	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861489\":[1861489,8,1,\"choisir la taille\"],\"1861490\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861489
2023-10-13	12:56:53	1998	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:53	1998	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861490
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:53	1999	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field taille
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field category_path
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:53	1999	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:56:53	1999	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:53	1999	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:53	1999	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:53	1999	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:53	1999	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:53	1999	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field published
2023-10-13	12:56:53	1999	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:53	1999	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field custom_title
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field custom_param
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field override
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field public_price
2023-10-13	12:56:53	1999	[DEBUG]	Use field value for field slug
2023-10-13	12:56:53	1999	[DEBUG]	Process line 1999
2023-10-13	12:56:53	1999	[DEBUG]	Load a row
2023-10-13	12:56:53	1999	[DEBUG]	Processing item: A_9676_321
2023-10-13	12:56:53	1999	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:53	1999	[DEBUG]	Processing product tax
2023-10-13	12:56:53	1999	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:53	1999	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:53	1999	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:53	1999	[DEBUG]	Query for Product
2023-10-13	12:56:53	1999	[DEBUG]	Executed store
2023-10-13	12:56:53	1999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9676_321','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:53	1999	[DEBUG]	Check product language entry
2023-10-13	12:56:53	1999	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861491
2023-10-13	12:56:53	1999	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:53	1999	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9676_321' AND `virtuemart_product_id` != 1861491
2023-10-13	12:56:53	1999	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:53	1999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861491, 'A_9676_321')
2023-10-13	12:56:53	1999	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:53	1999	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-ecran-purion-bui215-avec-support-et-cable-1300mm-noir-anthracite' AND `virtuemart_product_id` != 1861491
2023-10-13	12:56:53	1999	[DEBUG]	Query for ProductLang
2023-10-13	12:56:53	1999	[DEBUG]	Executed store
2023-10-13	12:56:53	1999	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.70831',`product_name`='Bosch Écran Purion BUI215 avec support et câble 1300mm noir / Anthracite',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-ecran-purion-bui215-avec-support-et-cable-1300mm-noir-anthracite' WHERE `virtuemart_product_id` = '1861491'
2023-10-13	12:56:53	1999	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_67742_f.jpg has not been found.
2023-10-13	12:56:53	1999	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:53	1999	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861491 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:53	1999	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:53	1999	[DEBUG]	Executed store
2023-10-13	12:56:53	1999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861491','0','110.492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:53	1999	[DEBUG]	Checking manufacturer
2023-10-13	12:56:53	1999	[DEBUG]	Load a row
2023-10-13	12:56:53	1999	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:53	1999	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:53	1999	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:53	1999	[DEBUG]	Executed store
2023-10-13	12:56:53	1999	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:53	1999	[DEBUG]	Manufacturer exists
2023-10-13	12:56:53	1999	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:53	1999	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:53	1999	[DEBUG]	Executed store
2023-10-13	12:56:53	1999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861491','33')
2023-10-13	12:56:53	1999	[DEBUG]	Find the custom field ID
2023-10-13	12:56:53	1999	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:56:53	1999	[DEBUG]	No custom field ID found
2023-10-13	12:56:53	1999	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:53	1999	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:56:53	1999	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861491 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:53	1999	[DEBUG]	Store custom available field
2023-10-13	12:56:53	1999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861491,3,'0',1)
2023-10-13	12:56:53	1999	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:53	1999	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:56:53	1999	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861491 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:53	1999	[DEBUG]	Store custom available field
2023-10-13	12:56:53	1999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861491,6,'choisir la taille',3)
2023-10-13	12:56:53	1999	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:53	1999	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:56:53	1999	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:56:53	1999	[DEBUG]	Find the multi variant product entry
2023-10-13	12:56:53	1999	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861491 AND `virtuemart_custom_id` = 8
2023-10-13	12:56:53	1999	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:56:53	1999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861491,8,1)
2023-10-13	12:56:53	1999	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:53	1999	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861491\":[1861491,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861491
2023-10-13	12:56:53	1999	[DEBUG]	Checking category
2023-10-13	12:56:53	1999	[DEBUG]	Get the existing categories for the product
2023-10-13	12:56:53	1999	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861491
2023-10-13	12:56:53	1999	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:56:53	1999	[DEBUG]	Executed store
2023-10-13	12:56:53	1999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861491','7321')
2023-10-13	12:56:53	1999	[DEBUG]	Delete leftover product categories
2023-10-13	12:56:53	1999	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861491 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:56:53	1999	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:53	1999	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861491
2023-10-13	12:56:53	2000	[DEBUG]	Use field value for field product_sku
2023-10-13	12:56:53	2000	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:56:53	2000	[DEBUG]	Use field value for field taille
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:56:53	2000	[DEBUG]	Use field value for field product_name
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field category_path
2023-10-13	12:56:53	2000	[DEBUG]	Use field value for field product_price
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:56:53	2000	[DEBUG]	Use field value for field product_tax
2023-10-13	12:56:53	2000	[DEBUG]	Use field value for field file_url
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field product_desc
2023-10-13	12:56:53	2000	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:56:53	2000	[DEBUG]	Use field value for field product_availability
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field product_weight
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field product_unit
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field related_products
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field product_special
2023-10-13	12:56:53	2000	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:56:53	2000	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:56:53	2000	[DEBUG]	Use field value for field published
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field metadesc
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field metakey
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field custom_title
2023-10-13	12:56:53	2000	[DEBUG]	Use field value for field custom_value
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field custom_param
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field override
2023-10-13	12:56:53	2000	[DEBUG]	Use default value for field public_price
2023-10-13	12:56:53	2000	[DEBUG]	Use field value for field slug
2023-10-13	12:56:53	2000	[DEBUG]	Process line 2000
2023-10-13	12:56:53	2000	[DEBUG]	Load a row
2023-10-13	12:56:53	2000	[DEBUG]	Processing item: 4047026050424
2023-10-13	12:56:53	2000	[DEBUG]	Looking for parent SKU
2023-10-13	12:56:53	2000	[DEBUG]	Checking product parent SKU
2023-10-13	12:56:53	2000	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9676_321'
2023-10-13	12:56:53	2000	[DEBUG]	Product tax: 7.7
2023-10-13	12:56:53	2000	[DEBUG]	Processing product tax
2023-10-13	12:56:53	2000	[DEBUG]	Check if calculation rule exists
2023-10-13	12:56:53	2000	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:56:53	2000	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:56:53	2000	[DEBUG]	Query for Product
2023-10-13	12:56:53	2000	[DEBUG]	Executed store
2023-10-13	12:56:53	2000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861491','4047026050424','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0')
2023-10-13	12:56:53	2000	[DEBUG]	No parent found
2023-10-13	12:56:53	2000	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861491 AND customfield_value = 'stockable'
2023-10-13	12:56:53	2000	[DEBUG]	Check product language entry
2023-10-13	12:56:53	2000	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861492
2023-10-13	12:56:53	2000	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:53	2000	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047026050424' AND `virtuemart_product_id` != 1861492
2023-10-13	12:56:53	2000	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:56:53	2000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861492, '4047026050424')
2023-10-13	12:56:53	2000	[DEBUG]	Check if the product slug exists
2023-10-13	12:56:53	2000	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-ecran-purion-bui215-avec-support-et-cable-1300mm-noir-anthracite-unitaire' AND `virtuemart_product_id` != 1861492
2023-10-13	12:56:53	2000	[DEBUG]	Query for ProductLang
2023-10-13	12:56:53	2000	[DEBUG]	Executed store
2023-10-13	12:56:53	2000	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Écran Purion BUI215 avec support et câble 1300mm noir / Anthracite (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-ecran-purion-bui215-avec-support-et-cable-1300mm-noir-anthracite-unitaire' WHERE `virtuemart_product_id` = '1861492'
2023-10-13	12:56:53	2000	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/56_67742_f.jpg has not been found.
2023-10-13	12:56:53	2000	[DEBUG]	Finding a product_price_id
2023-10-13	12:56:53	2000	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861492 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:56:53	2000	[DEBUG]	Query for ProductPrice
2023-10-13	12:56:53	2000	[DEBUG]	Executed store
2023-10-13	12:56:53	2000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861492','0','110.492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:55:18','1593','2023-10-13 12:55:18','1593','0000-00-00 00:00:00','0')
2023-10-13	12:56:53	2000	[DEBUG]	Checking manufacturer
2023-10-13	12:56:53	2000	[DEBUG]	Load a row
2023-10-13	12:56:53	2000	[DEBUG]	Manufacturer already exists
2023-10-13	12:56:53	2000	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:53	2000	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:56:53	2000	[DEBUG]	Executed store
2023-10-13	12:56:53	2000	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:56:53	2000	[DEBUG]	Manufacturer exists
2023-10-13	12:56:53	2000	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:56:53	2000	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:56:53	2000	[DEBUG]	Executed store
2023-10-13	12:56:53	2000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861492','33')
2023-10-13	12:56:53	2000	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:56:53	2000	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:56:53	2000	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861492 AND `virtuemart_custom_id` = 3
2023-10-13	12:56:53	2000	[DEBUG]	Store custom available field
2023-10-13	12:56:53	2000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861492,3,'',1)
2023-10-13	12:56:53	2000	[DEBUG]	Processing custom available field: taille
2023-10-13	12:56:53	2000	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:56:53	2000	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861492 AND `virtuemart_custom_id` = 6
2023-10-13	12:56:53	2000	[DEBUG]	Store custom available field
2023-10-13	12:56:53	2000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861492,6,'Unitaire',3)
2023-10-13	12:56:53	2000	[DEBUG]	Process multi-variant fields
2023-10-13	12:56:53	2000	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:56:53	2000	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861491
2023-10-13	12:56:53	2000	[DEBUG]	Store the updated customfield_params
2023-10-13	12:56:53	2000	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861491\":[1861491,8,1,\"choisir la taille\"],\"1861492\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861491
2023-10-13	12:56:53	2000	[DEBUG]	Update has fields after all processing
2023-10-13	12:56:53	2000	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861492
2023-10-13	12:57:13	2000	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:57:13	2000	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:57:13	2000	[DEBUG]	Load the fields to process
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: product_sku
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: taille
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: product_name
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: category_path
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: product_price
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: product_override_price
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: product_tax
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: file_url
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: product_desc
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: product_availability
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: product_weight
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: product_unit
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: related_products
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: product_special
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: published
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: metadesc
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: metakey
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: custom_title
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: custom_value
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: custom_param
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: override
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: public_price
2023-10-13	12:57:13	2000	[DEBUG]	Setup field: slug
2023-10-13	12:57:13	2000	[DEBUG]	Use the file for configuration
2023-10-13	12:57:13	2000	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:57:13	2000	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:57:13	2000	[DEBUG]	Load the custom fields
2023-10-13	12:57:13	2000	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:57:13	2000	[DEBUG]	Load stockable custom fields
2023-10-13	12:57:13	2000	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:57:13	2000	[DEBUG]	Load custom fields for all
2023-10-13	12:57:13	2000	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:13	2001	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field taille
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:13	2001	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:13	2001	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:13	2001	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:13	2001	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:13	2001	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:13	2001	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field published
2023-10-13	12:57:13	2001	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:13	2001	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field override
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:13	2001	[DEBUG]	Use field value for field slug
2023-10-13	12:57:13	2001	[DEBUG]	Process line 2001
2023-10-13	12:57:13	2001	[DEBUG]	Check if the vendor exists
2023-10-13	12:57:13	2001	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9733_1'
2023-10-13	12:57:13	2001	[DEBUG]	Load a row
2023-10-13	12:57:13	2001	[DEBUG]	Processing item: A_9733_1
2023-10-13	12:57:13	2001	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:13	2001	[DEBUG]	Processing product tax
2023-10-13	12:57:13	2001	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:13	2001	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:13	2001	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:13	2001	[DEBUG]	Query for Product
2023-10-13	12:57:13	2001	[DEBUG]	Executed store
2023-10-13	12:57:13	2001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9733_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:13	2001	[DEBUG]	Check product language entry
2023-10-13	12:57:13	2001	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861493
2023-10-13	12:57:13	2001	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:13	2001	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9733_1' AND `virtuemart_product_id` != 1861493
2023-10-13	12:57:13	2001	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:13	2001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861493, 'A_9733_1')
2023-10-13	12:57:13	2001	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:13	2001	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-support-d-ecran-intuvia-nyon-bui2xx-cable-1500mm-noir-noir' AND `virtuemart_product_id` != 1861493
2023-10-13	12:57:13	2001	[DEBUG]	Query for ProductLang
2023-10-13	12:57:13	2001	[DEBUG]	Executed store
2023-10-13	12:57:13	2001	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.56947',`product_name`='Bosch Support d\'écran Intuvia/Nyon BUI2xx câble 1500mm noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-support-d-ecran-intuvia-nyon-bui2xx-cable-1500mm-noir-noir' WHERE `virtuemart_product_id` = '1861493'
2023-10-13	12:57:13	2001	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39153_support_d_ecran_intuvia-nyon_bui2xx_cable_1500mm_noir.jpg has not been found.
2023-10-13	12:57:13	2001	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:13	2001	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861493 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:13	2001	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:13	2001	[DEBUG]	Executed store
2023-10-13	12:57:13	2001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861493','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:13	2001	[DEBUG]	Checking manufacturer
2023-10-13	12:57:13	2001	[DEBUG]	Load a row
2023-10-13	12:57:13	2001	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:13	2001	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:13	2001	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:13	2001	[DEBUG]	Executed store
2023-10-13	12:57:13	2001	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:13	2001	[DEBUG]	Manufacturer exists
2023-10-13	12:57:13	2001	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:57:13	2001	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:13	2001	[DEBUG]	Executed store
2023-10-13	12:57:13	2001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861493','33')
2023-10-13	12:57:13	2001	[DEBUG]	Find the custom field ID
2023-10-13	12:57:13	2001	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:13	2001	[DEBUG]	No custom field ID found
2023-10-13	12:57:13	2001	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:13	2001	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:13	2001	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861493 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:13	2001	[DEBUG]	Store custom available field
2023-10-13	12:57:13	2001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861493,3,'0',1)
2023-10-13	12:57:13	2001	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:13	2001	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:13	2001	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861493 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:13	2001	[DEBUG]	Store custom available field
2023-10-13	12:57:13	2001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861493,6,'choisir la taille',3)
2023-10-13	12:57:13	2001	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:13	2001	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:13	2001	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:13	2001	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:13	2001	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861493 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:13	2001	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:13	2001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861493,8,1)
2023-10-13	12:57:13	2001	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:13	2001	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861493\":[1861493,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861493
2023-10-13	12:57:13	2001	[DEBUG]	Checking category
2023-10-13	12:57:13	2001	[DEBUG]	Check if category path exists: DISPLAY
2023-10-13	12:57:13	2001	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'DISPLAY' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:57:13	2001	[DEBUG]	Check if category path exists: DISPLAY
2023-10-13	12:57:13	2001	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'DISPLAY' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7320
2023-10-13	12:57:13	2001	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:13	2001	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861493
2023-10-13	12:57:13	2001	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:13	2001	[DEBUG]	Executed store
2023-10-13	12:57:13	2001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861493','7321')
2023-10-13	12:57:13	2001	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:13	2001	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861493 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:57:13	2001	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:13	2001	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861493
2023-10-13	12:57:13	2002	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:13	2002	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:13	2002	[DEBUG]	Use field value for field taille
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:13	2002	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:13	2002	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:13	2002	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:13	2002	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:13	2002	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:13	2002	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:13	2002	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:13	2002	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:13	2002	[DEBUG]	Use field value for field published
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:13	2002	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field override
2023-10-13	12:57:13	2002	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:13	2002	[DEBUG]	Use field value for field slug
2023-10-13	12:57:13	2002	[DEBUG]	Process line 2002
2023-10-13	12:57:13	2002	[DEBUG]	Load a row
2023-10-13	12:57:13	2002	[DEBUG]	Processing item: 4047025220323
2023-10-13	12:57:13	2002	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:13	2002	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:13	2002	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9733_1'
2023-10-13	12:57:13	2002	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:13	2002	[DEBUG]	Processing product tax
2023-10-13	12:57:13	2002	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:13	2002	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:13	2002	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:13	2002	[DEBUG]	Query for Product
2023-10-13	12:57:13	2002	[DEBUG]	Executed store
2023-10-13	12:57:13	2002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861493','4047025220323','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:13	2002	[DEBUG]	No parent found
2023-10-13	12:57:13	2002	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861493 AND customfield_value = 'stockable'
2023-10-13	12:57:13	2002	[DEBUG]	Check product language entry
2023-10-13	12:57:13	2002	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861494
2023-10-13	12:57:13	2002	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:13	2002	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047025220323' AND `virtuemart_product_id` != 1861494
2023-10-13	12:57:13	2002	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:13	2002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861494, '4047025220323')
2023-10-13	12:57:13	2002	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:13	2002	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-support-d-ecran-intuvia-nyon-bui2xx-cable-1500mm-noir-noir-unitaire' AND `virtuemart_product_id` != 1861494
2023-10-13	12:57:13	2002	[DEBUG]	Query for ProductLang
2023-10-13	12:57:13	2002	[DEBUG]	Executed store
2023-10-13	12:57:13	2002	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Support d\'écran Intuvia/Nyon BUI2xx câble 1500mm noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-support-d-ecran-intuvia-nyon-bui2xx-cable-1500mm-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1861494'
2023-10-13	12:57:13	2002	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39153_support_d_ecran_intuvia-nyon_bui2xx_cable_1500mm_noir.jpg has not been found.
2023-10-13	12:57:13	2002	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:13	2002	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861494 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:13	2002	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:13	2002	[DEBUG]	Executed store
2023-10-13	12:57:13	2002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861494','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:13	2002	[DEBUG]	Checking manufacturer
2023-10-13	12:57:13	2002	[DEBUG]	Load a row
2023-10-13	12:57:13	2002	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:13	2002	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:13	2002	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:13	2002	[DEBUG]	Executed store
2023-10-13	12:57:13	2002	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:13	2002	[DEBUG]	Manufacturer exists
2023-10-13	12:57:13	2002	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:57:13	2002	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:13	2002	[DEBUG]	Executed store
2023-10-13	12:57:13	2002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861494','33')
2023-10-13	12:57:13	2002	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:13	2002	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:13	2002	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861494 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:13	2002	[DEBUG]	Store custom available field
2023-10-13	12:57:13	2002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861494,3,'',1)
2023-10-13	12:57:13	2002	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:13	2002	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:13	2002	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861494 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:13	2002	[DEBUG]	Store custom available field
2023-10-13	12:57:13	2002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861494,6,'Unitaire',3)
2023-10-13	12:57:13	2002	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:13	2002	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:13	2002	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861493
2023-10-13	12:57:13	2002	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:13	2002	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861493\":[1861493,8,1,\"choisir la taille\"],\"1861494\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861493
2023-10-13	12:57:13	2002	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:13	2002	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861494
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:13	2003	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field taille
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:13	2003	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:13	2003	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:13	2003	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:13	2003	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:13	2003	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:13	2003	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:13	2003	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field published
2023-10-13	12:57:13	2003	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:13	2003	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field override
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:13	2003	[DEBUG]	Use field value for field slug
2023-10-13	12:57:13	2003	[DEBUG]	Process line 2003
2023-10-13	12:57:13	2003	[DEBUG]	Load a row
2023-10-13	12:57:13	2003	[DEBUG]	Processing item: A_9734_1
2023-10-13	12:57:13	2003	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:13	2003	[DEBUG]	Processing product tax
2023-10-13	12:57:13	2003	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:13	2003	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:13	2003	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:13	2003	[DEBUG]	Query for Product
2023-10-13	12:57:13	2003	[DEBUG]	Executed store
2023-10-13	12:57:13	2003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9734_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:13	2003	[DEBUG]	Check product language entry
2023-10-13	12:57:13	2003	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861495
2023-10-13	12:57:13	2003	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:13	2003	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9734_1' AND `virtuemart_product_id` != 1861495
2023-10-13	12:57:13	2003	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:13	2003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861495, 'A_9734_1')
2023-10-13	12:57:13	2003	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:13	2003	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-unite-de-commande-mini-brc3300-22-2mm-ble-5-0-noir-noir' AND `virtuemart_product_id` != 1861495
2023-10-13	12:57:13	2003	[DEBUG]	Query for ProductLang
2023-10-13	12:57:13	2003	[DEBUG]	Executed store
2023-10-13	12:57:13	2003	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.85568',`product_name`='Bosch Unité de commande Mini BRC3300 22.2mm BLE 5.0 noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-unite-de-commande-mini-brc3300-22-2mm-ble-5-0-noir-noir' WHERE `virtuemart_product_id` = '1861495'
2023-10-13	12:57:13	2003	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39155_unite_de_commande_mini_brc3300_22_2mm_ble_5_0_noir.jpg has not been found.
2023-10-13	12:57:13	2003	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:13	2003	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861495 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:13	2003	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:13	2003	[DEBUG]	Executed store
2023-10-13	12:57:13	2003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861495','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:13	2003	[DEBUG]	Checking manufacturer
2023-10-13	12:57:13	2003	[DEBUG]	Load a row
2023-10-13	12:57:13	2003	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:13	2003	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:13	2003	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:13	2003	[DEBUG]	Executed store
2023-10-13	12:57:13	2003	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:13	2003	[DEBUG]	Manufacturer exists
2023-10-13	12:57:13	2003	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:57:13	2003	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:13	2003	[DEBUG]	Executed store
2023-10-13	12:57:13	2003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861495','33')
2023-10-13	12:57:13	2003	[DEBUG]	Find the custom field ID
2023-10-13	12:57:13	2003	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:13	2003	[DEBUG]	No custom field ID found
2023-10-13	12:57:13	2003	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:13	2003	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:13	2003	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861495 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:13	2003	[DEBUG]	Store custom available field
2023-10-13	12:57:13	2003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861495,3,'0',1)
2023-10-13	12:57:13	2003	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:13	2003	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:13	2003	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861495 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:13	2003	[DEBUG]	Store custom available field
2023-10-13	12:57:13	2003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861495,6,'choisir la taille',3)
2023-10-13	12:57:13	2003	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:13	2003	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:13	2003	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:13	2003	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:13	2003	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861495 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:13	2003	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:13	2003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861495,8,1)
2023-10-13	12:57:13	2003	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:13	2003	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861495\":[1861495,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861495
2023-10-13	12:57:13	2003	[DEBUG]	Checking category
2023-10-13	12:57:13	2003	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:13	2003	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861495
2023-10-13	12:57:13	2003	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:13	2003	[DEBUG]	Executed store
2023-10-13	12:57:13	2003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861495','7321')
2023-10-13	12:57:13	2003	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:13	2003	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861495 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:57:13	2003	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:13	2003	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861495
2023-10-13	12:57:13	2004	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:13	2004	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:13	2004	[DEBUG]	Use field value for field taille
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:13	2004	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:13	2004	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:13	2004	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:13	2004	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:13	2004	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:13	2004	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:13	2004	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:13	2004	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:13	2004	[DEBUG]	Use field value for field published
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:13	2004	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field override
2023-10-13	12:57:13	2004	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:13	2004	[DEBUG]	Use field value for field slug
2023-10-13	12:57:13	2004	[DEBUG]	Process line 2004
2023-10-13	12:57:13	2004	[DEBUG]	Load a row
2023-10-13	12:57:13	2004	[DEBUG]	Processing item: 4054289008994
2023-10-13	12:57:13	2004	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:13	2004	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:13	2004	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9734_1'
2023-10-13	12:57:13	2004	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:13	2004	[DEBUG]	Processing product tax
2023-10-13	12:57:13	2004	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:13	2004	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:13	2004	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:13	2004	[DEBUG]	Query for Product
2023-10-13	12:57:13	2004	[DEBUG]	Executed store
2023-10-13	12:57:13	2004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861495','4054289008994','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:13	2004	[DEBUG]	No parent found
2023-10-13	12:57:13	2004	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861495 AND customfield_value = 'stockable'
2023-10-13	12:57:13	2004	[DEBUG]	Check product language entry
2023-10-13	12:57:13	2004	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861496
2023-10-13	12:57:13	2004	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:13	2004	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4054289008994' AND `virtuemart_product_id` != 1861496
2023-10-13	12:57:13	2004	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:13	2004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861496, '4054289008994')
2023-10-13	12:57:13	2004	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:13	2004	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-unite-de-commande-mini-brc3300-22-2mm-ble-5-0-noir-noir-unitaire' AND `virtuemart_product_id` != 1861496
2023-10-13	12:57:13	2004	[DEBUG]	Query for ProductLang
2023-10-13	12:57:13	2004	[DEBUG]	Executed store
2023-10-13	12:57:13	2004	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Unité de commande Mini BRC3300 22.2mm BLE 5.0 noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-unite-de-commande-mini-brc3300-22-2mm-ble-5-0-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1861496'
2023-10-13	12:57:13	2004	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39155_unite_de_commande_mini_brc3300_22_2mm_ble_5_0_noir.jpg has not been found.
2023-10-13	12:57:13	2004	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:13	2004	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861496 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:13	2004	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:13	2004	[DEBUG]	Executed store
2023-10-13	12:57:13	2004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861496','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:13	2004	[DEBUG]	Checking manufacturer
2023-10-13	12:57:13	2004	[DEBUG]	Load a row
2023-10-13	12:57:13	2004	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:13	2004	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:13	2004	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:13	2004	[DEBUG]	Executed store
2023-10-13	12:57:13	2004	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:13	2004	[DEBUG]	Manufacturer exists
2023-10-13	12:57:13	2004	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:57:13	2004	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:13	2004	[DEBUG]	Executed store
2023-10-13	12:57:13	2004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861496','33')
2023-10-13	12:57:13	2004	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:13	2004	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:13	2004	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861496 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:13	2004	[DEBUG]	Store custom available field
2023-10-13	12:57:13	2004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861496,3,'',1)
2023-10-13	12:57:13	2004	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:13	2004	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:13	2004	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861496 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:13	2004	[DEBUG]	Store custom available field
2023-10-13	12:57:13	2004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861496,6,'Unitaire',3)
2023-10-13	12:57:13	2004	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:13	2004	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:13	2004	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861495
2023-10-13	12:57:14	2004	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:14	2004	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861495\":[1861495,8,1,\"choisir la taille\"],\"1861496\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861495
2023-10-13	12:57:14	2004	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:14	2004	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861496
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:14	2005	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field taille
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:14	2005	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:14	2005	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:14	2005	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:14	2005	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:14	2005	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:14	2005	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field published
2023-10-13	12:57:14	2005	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:14	2005	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field override
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:14	2005	[DEBUG]	Use field value for field slug
2023-10-13	12:57:14	2005	[DEBUG]	Process line 2005
2023-10-13	12:57:14	2005	[DEBUG]	Load a row
2023-10-13	12:57:14	2005	[DEBUG]	Processing item: A_9735_1
2023-10-13	12:57:14	2005	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:14	2005	[DEBUG]	Processing product tax
2023-10-13	12:57:14	2005	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:14	2005	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:14	2005	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:14	2005	[DEBUG]	Query for Product
2023-10-13	12:57:14	2005	[DEBUG]	Executed store
2023-10-13	12:57:14	2005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9735_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:14	2005	[DEBUG]	Check product language entry
2023-10-13	12:57:14	2005	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861497
2023-10-13	12:57:14	2005	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:14	2005	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9735_1' AND `virtuemart_product_id` != 1861497
2023-10-13	12:57:14	2005	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:14	2005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861497, 'A_9735_1')
2023-10-13	12:57:14	2005	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:14	2005	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-kit-de-post-equipement-intuvia-100-bhu3200-31-8mm-noir-noir' AND `virtuemart_product_id` != 1861497
2023-10-13	12:57:14	2005	[DEBUG]	Query for ProductLang
2023-10-13	12:57:14	2005	[DEBUG]	Executed store
2023-10-13	12:57:14	2005	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.85553',`product_name`='Bosch Kit de post équipement Intuvia 100 BHU3200 31.8mm noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-kit-de-post-equipement-intuvia-100-bhu3200-31-8mm-noir-noir' WHERE `virtuemart_product_id` = '1861497'
2023-10-13	12:57:14	2005	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39158_kit_de_post_equipement_intuvia_100_bhu3200_31_8mm_noir.jpg has not been found.
2023-10-13	12:57:14	2005	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:14	2005	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861497 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:14	2005	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:14	2005	[DEBUG]	Executed store
2023-10-13	12:57:14	2005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861497','0','82.6369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:14	2005	[DEBUG]	Checking manufacturer
2023-10-13	12:57:14	2005	[DEBUG]	Load a row
2023-10-13	12:57:14	2005	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:14	2005	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:14	2005	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:14	2005	[DEBUG]	Executed store
2023-10-13	12:57:14	2005	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:14	2005	[DEBUG]	Manufacturer exists
2023-10-13	12:57:14	2005	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:57:14	2005	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:14	2005	[DEBUG]	Executed store
2023-10-13	12:57:14	2005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861497','33')
2023-10-13	12:57:14	2005	[DEBUG]	Find the custom field ID
2023-10-13	12:57:14	2005	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:14	2005	[DEBUG]	No custom field ID found
2023-10-13	12:57:14	2005	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:14	2005	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:14	2005	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861497 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:14	2005	[DEBUG]	Store custom available field
2023-10-13	12:57:14	2005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861497,3,'0',1)
2023-10-13	12:57:14	2005	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:14	2005	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:14	2005	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861497 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:14	2005	[DEBUG]	Store custom available field
2023-10-13	12:57:14	2005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861497,6,'choisir la taille',3)
2023-10-13	12:57:14	2005	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:14	2005	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:14	2005	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:14	2005	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:14	2005	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861497 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:14	2005	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:14	2005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861497,8,1)
2023-10-13	12:57:14	2005	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:14	2005	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861497\":[1861497,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861497
2023-10-13	12:57:14	2005	[DEBUG]	Checking category
2023-10-13	12:57:14	2005	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:14	2005	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861497
2023-10-13	12:57:14	2005	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:14	2005	[DEBUG]	Executed store
2023-10-13	12:57:14	2005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861497','7321')
2023-10-13	12:57:14	2005	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:14	2005	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861497 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:57:14	2005	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:14	2005	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861497
2023-10-13	12:57:14	2006	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:14	2006	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:14	2006	[DEBUG]	Use field value for field taille
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:14	2006	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:14	2006	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:14	2006	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:14	2006	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:14	2006	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:14	2006	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:14	2006	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:14	2006	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:14	2006	[DEBUG]	Use field value for field published
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:14	2006	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field override
2023-10-13	12:57:14	2006	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:14	2006	[DEBUG]	Use field value for field slug
2023-10-13	12:57:14	2006	[DEBUG]	Process line 2006
2023-10-13	12:57:14	2006	[DEBUG]	Load a row
2023-10-13	12:57:14	2006	[DEBUG]	Processing item: 4054289008925
2023-10-13	12:57:14	2006	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:14	2006	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:14	2006	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9735_1'
2023-10-13	12:57:14	2006	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:14	2006	[DEBUG]	Processing product tax
2023-10-13	12:57:14	2006	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:14	2006	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:14	2006	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:14	2006	[DEBUG]	Query for Product
2023-10-13	12:57:14	2006	[DEBUG]	Executed store
2023-10-13	12:57:14	2006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861497','4054289008925','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:14	2006	[DEBUG]	No parent found
2023-10-13	12:57:14	2006	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861497 AND customfield_value = 'stockable'
2023-10-13	12:57:14	2006	[DEBUG]	Check product language entry
2023-10-13	12:57:14	2006	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861498
2023-10-13	12:57:14	2006	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:14	2006	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4054289008925' AND `virtuemart_product_id` != 1861498
2023-10-13	12:57:14	2006	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:14	2006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861498, '4054289008925')
2023-10-13	12:57:14	2006	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:14	2006	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-kit-de-post-equipement-intuvia-100-bhu3200-31-8mm-noir-noir-unitaire' AND `virtuemart_product_id` != 1861498
2023-10-13	12:57:14	2006	[DEBUG]	Query for ProductLang
2023-10-13	12:57:14	2006	[DEBUG]	Executed store
2023-10-13	12:57:14	2006	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Kit de post équipement Intuvia 100 BHU3200 31.8mm noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-kit-de-post-equipement-intuvia-100-bhu3200-31-8mm-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1861498'
2023-10-13	12:57:14	2006	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39158_kit_de_post_equipement_intuvia_100_bhu3200_31_8mm_noir.jpg has not been found.
2023-10-13	12:57:14	2006	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:14	2006	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861498 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:14	2006	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:14	2006	[DEBUG]	Executed store
2023-10-13	12:57:14	2006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861498','0','82.6369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:14	2006	[DEBUG]	Checking manufacturer
2023-10-13	12:57:14	2006	[DEBUG]	Load a row
2023-10-13	12:57:14	2006	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:14	2006	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:14	2006	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:14	2006	[DEBUG]	Executed store
2023-10-13	12:57:14	2006	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:14	2006	[DEBUG]	Manufacturer exists
2023-10-13	12:57:14	2006	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:57:14	2006	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:14	2006	[DEBUG]	Executed store
2023-10-13	12:57:14	2006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861498','33')
2023-10-13	12:57:14	2006	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:14	2006	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:14	2006	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861498 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:14	2006	[DEBUG]	Store custom available field
2023-10-13	12:57:14	2006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861498,3,'',1)
2023-10-13	12:57:14	2006	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:14	2006	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:14	2006	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861498 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:14	2006	[DEBUG]	Store custom available field
2023-10-13	12:57:14	2006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861498,6,'Unitaire',3)
2023-10-13	12:57:14	2006	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:14	2006	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:14	2006	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861497
2023-10-13	12:57:14	2006	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:14	2006	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861497\":[1861497,8,1,\"choisir la taille\"],\"1861498\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861497
2023-10-13	12:57:14	2006	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:14	2006	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861498
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:14	2007	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field taille
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:14	2007	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:14	2007	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:14	2007	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:14	2007	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:14	2007	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:14	2007	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field published
2023-10-13	12:57:14	2007	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:14	2007	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field override
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:14	2007	[DEBUG]	Use field value for field slug
2023-10-13	12:57:14	2007	[DEBUG]	Process line 2007
2023-10-13	12:57:14	2007	[DEBUG]	Load a row
2023-10-13	12:57:14	2007	[DEBUG]	Processing item: A_9736_1
2023-10-13	12:57:14	2007	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:14	2007	[DEBUG]	Processing product tax
2023-10-13	12:57:14	2007	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:14	2007	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:14	2007	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:14	2007	[DEBUG]	Query for Product
2023-10-13	12:57:14	2007	[DEBUG]	Executed store
2023-10-13	12:57:14	2007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9736_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:14	2007	[DEBUG]	Check product language entry
2023-10-13	12:57:14	2007	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861499
2023-10-13	12:57:14	2007	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:14	2007	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9736_1' AND `virtuemart_product_id` != 1861499
2023-10-13	12:57:14	2007	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:14	2007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861499, 'A_9736_1')
2023-10-13	12:57:14	2007	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:14	2007	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sp-connect-universal-phone-clamp-max-spc-noir-noir' AND `virtuemart_product_id` != 1861499
2023-10-13	12:57:14	2007	[DEBUG]	Query for ProductLang
2023-10-13	12:57:14	2007	[DEBUG]	Executed store
2023-10-13	12:57:14	2007	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.85800',`product_name`='SP Connect Universal Phone Clamp Max SPC+ noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sp-connect-universal-phone-clamp-max-spc-noir-noir' WHERE `virtuemart_product_id` = '1861499'
2023-10-13	12:57:14	2007	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39161_universal_phone_clamp_max_spc+_noir.jpg has not been found.
2023-10-13	12:57:14	2007	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:14	2007	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861499 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:14	2007	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:14	2007	[DEBUG]	Executed store
2023-10-13	12:57:14	2007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861499','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:14	2007	[DEBUG]	Checking manufacturer
2023-10-13	12:57:14	2007	[DEBUG]	Load a row
2023-10-13	12:57:14	2007	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:14	2007	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '83'
2023-10-13	12:57:14	2007	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:14	2007	[DEBUG]	Executed store
2023-10-13	12:57:14	2007	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52131819114' WHERE `virtuemart_manufacturer_id` = '83'
2023-10-13	12:57:14	2007	[DEBUG]	Manufacturer exists
2023-10-13	12:57:14	2007	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 83
2023-10-13	12:57:14	2007	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:14	2007	[DEBUG]	Executed store
2023-10-13	12:57:14	2007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861499','83')
2023-10-13	12:57:14	2007	[DEBUG]	Find the custom field ID
2023-10-13	12:57:14	2007	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:14	2007	[DEBUG]	No custom field ID found
2023-10-13	12:57:14	2007	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:14	2007	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:14	2007	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861499 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:14	2007	[DEBUG]	Store custom available field
2023-10-13	12:57:14	2007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861499,3,'0',1)
2023-10-13	12:57:14	2007	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:14	2007	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:14	2007	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861499 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:14	2007	[DEBUG]	Store custom available field
2023-10-13	12:57:14	2007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861499,6,'choisir la taille',3)
2023-10-13	12:57:14	2007	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:14	2007	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:14	2007	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:14	2007	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:14	2007	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861499 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:14	2007	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:14	2007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861499,8,1)
2023-10-13	12:57:14	2007	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:14	2007	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861499\":[1861499,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861499
2023-10-13	12:57:14	2007	[DEBUG]	Checking category
2023-10-13	12:57:14	2007	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:14	2007	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861499
2023-10-13	12:57:14	2007	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:14	2007	[DEBUG]	Executed store
2023-10-13	12:57:14	2007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861499','7321')
2023-10-13	12:57:14	2007	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:14	2007	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861499 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:57:14	2007	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:14	2007	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861499
2023-10-13	12:57:14	2008	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:14	2008	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:14	2008	[DEBUG]	Use field value for field taille
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:14	2008	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:14	2008	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:14	2008	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:14	2008	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:14	2008	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:14	2008	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:14	2008	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:14	2008	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:14	2008	[DEBUG]	Use field value for field published
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:14	2008	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field override
2023-10-13	12:57:14	2008	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:14	2008	[DEBUG]	Use field value for field slug
2023-10-13	12:57:14	2008	[DEBUG]	Process line 2008
2023-10-13	12:57:14	2008	[DEBUG]	Load a row
2023-10-13	12:57:14	2008	[DEBUG]	Processing item: 4028017526579
2023-10-13	12:57:14	2008	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:14	2008	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:14	2008	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9736_1'
2023-10-13	12:57:14	2008	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:14	2008	[DEBUG]	Processing product tax
2023-10-13	12:57:14	2008	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:14	2008	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:14	2008	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:14	2008	[DEBUG]	Query for Product
2023-10-13	12:57:14	2008	[DEBUG]	Executed store
2023-10-13	12:57:14	2008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861499','4028017526579','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:14	2008	[DEBUG]	No parent found
2023-10-13	12:57:14	2008	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861499 AND customfield_value = 'stockable'
2023-10-13	12:57:14	2008	[DEBUG]	Check product language entry
2023-10-13	12:57:14	2008	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861500
2023-10-13	12:57:14	2008	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:14	2008	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4028017526579' AND `virtuemart_product_id` != 1861500
2023-10-13	12:57:14	2008	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:14	2008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861500, '4028017526579')
2023-10-13	12:57:14	2008	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:14	2008	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sp-connect-universal-phone-clamp-max-spc-noir-noir-unitaire' AND `virtuemart_product_id` != 1861500
2023-10-13	12:57:14	2008	[DEBUG]	Query for ProductLang
2023-10-13	12:57:14	2008	[DEBUG]	Executed store
2023-10-13	12:57:14	2008	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SP Connect Universal Phone Clamp Max SPC+ noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sp-connect-universal-phone-clamp-max-spc-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1861500'
2023-10-13	12:57:14	2008	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39161_universal_phone_clamp_max_spc+_noir.jpg has not been found.
2023-10-13	12:57:14	2008	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:14	2008	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861500 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:14	2008	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:14	2008	[DEBUG]	Executed store
2023-10-13	12:57:14	2008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861500','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:14	2008	[DEBUG]	Checking manufacturer
2023-10-13	12:57:14	2008	[DEBUG]	Load a row
2023-10-13	12:57:14	2008	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:14	2008	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '83'
2023-10-13	12:57:14	2008	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:14	2008	[DEBUG]	Executed store
2023-10-13	12:57:14	2008	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52131819114' WHERE `virtuemart_manufacturer_id` = '83'
2023-10-13	12:57:14	2008	[DEBUG]	Manufacturer exists
2023-10-13	12:57:14	2008	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 83
2023-10-13	12:57:14	2008	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:14	2008	[DEBUG]	Executed store
2023-10-13	12:57:14	2008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861500','83')
2023-10-13	12:57:14	2008	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:14	2008	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:14	2008	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861500 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:14	2008	[DEBUG]	Store custom available field
2023-10-13	12:57:14	2008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861500,3,'',1)
2023-10-13	12:57:14	2008	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:14	2008	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:14	2008	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861500 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:14	2008	[DEBUG]	Store custom available field
2023-10-13	12:57:14	2008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861500,6,'Unitaire',3)
2023-10-13	12:57:14	2008	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:14	2008	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:14	2008	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861499
2023-10-13	12:57:14	2008	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:14	2008	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861499\":[1861499,8,1,\"choisir la taille\"],\"1861500\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861499
2023-10-13	12:57:14	2008	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:14	2008	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861500
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:14	2009	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field taille
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:14	2009	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:14	2009	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:14	2009	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:14	2009	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:14	2009	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:14	2009	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field published
2023-10-13	12:57:14	2009	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:14	2009	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field override
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:14	2009	[DEBUG]	Use field value for field slug
2023-10-13	12:57:14	2009	[DEBUG]	Process line 2009
2023-10-13	12:57:14	2009	[DEBUG]	Load a row
2023-10-13	12:57:14	2009	[DEBUG]	Processing item: A_9738_1
2023-10-13	12:57:14	2009	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:14	2009	[DEBUG]	Processing product tax
2023-10-13	12:57:14	2009	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:14	2009	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:14	2009	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:14	2009	[DEBUG]	Query for Product
2023-10-13	12:57:14	2009	[DEBUG]	Executed store
2023-10-13	12:57:14	2009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9738_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:14	2009	[DEBUG]	Check product language entry
2023-10-13	12:57:14	2009	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861501
2023-10-13	12:57:14	2009	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:14	2009	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9738_1' AND `virtuemart_product_id` != 1861501
2023-10-13	12:57:14	2009	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:14	2009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861501, 'A_9738_1')
2023-10-13	12:57:14	2009	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:14	2009	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-support-d-ecran-intuvia-100-35-0mm-bds3130-noir-noir' AND `virtuemart_product_id` != 1861501
2023-10-13	12:57:14	2009	[DEBUG]	Query for ProductLang
2023-10-13	12:57:14	2009	[DEBUG]	Executed store
2023-10-13	12:57:14	2009	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.85558',`product_name`='Bosch Support d\'écran Intuvia 100 35.0mm BDS3130 noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-support-d-ecran-intuvia-100-35-0mm-bds3130-noir-noir' WHERE `virtuemart_product_id` = '1861501'
2023-10-13	12:57:14	2009	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39165_support_d_ecran_intuvia_100_35_0mm_bds3130_noir.jpg has not been found.
2023-10-13	12:57:14	2009	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:14	2009	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861501 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:14	2009	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:14	2009	[DEBUG]	Executed store
2023-10-13	12:57:14	2009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861501','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:14	2009	[DEBUG]	Checking manufacturer
2023-10-13	12:57:14	2009	[DEBUG]	Load a row
2023-10-13	12:57:14	2009	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:14	2009	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:14	2009	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:14	2009	[DEBUG]	Executed store
2023-10-13	12:57:14	2009	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:14	2009	[DEBUG]	Manufacturer exists
2023-10-13	12:57:14	2009	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:57:14	2009	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:14	2009	[DEBUG]	Executed store
2023-10-13	12:57:14	2009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861501','33')
2023-10-13	12:57:14	2009	[DEBUG]	Find the custom field ID
2023-10-13	12:57:14	2009	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:14	2009	[DEBUG]	No custom field ID found
2023-10-13	12:57:14	2009	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:14	2009	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:14	2009	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861501 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:14	2009	[DEBUG]	Store custom available field
2023-10-13	12:57:14	2009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861501,3,'0',1)
2023-10-13	12:57:14	2009	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:14	2009	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:14	2009	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861501 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:14	2009	[DEBUG]	Store custom available field
2023-10-13	12:57:14	2009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861501,6,'choisir la taille',3)
2023-10-13	12:57:14	2009	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:14	2009	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:14	2009	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:14	2009	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:14	2009	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861501 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:14	2009	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:14	2009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861501,8,1)
2023-10-13	12:57:14	2009	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:14	2009	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861501\":[1861501,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861501
2023-10-13	12:57:14	2009	[DEBUG]	Checking category
2023-10-13	12:57:14	2009	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:14	2009	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861501
2023-10-13	12:57:14	2009	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:14	2009	[DEBUG]	Executed store
2023-10-13	12:57:14	2009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861501','7321')
2023-10-13	12:57:14	2009	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:14	2009	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861501 AND `virtuemart_category_id` NOT IN (7321)
2023-10-13	12:57:14	2009	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:14	2009	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861501
2023-10-13	12:57:14	2010	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:14	2010	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:14	2010	[DEBUG]	Use field value for field taille
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:14	2010	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:14	2010	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:14	2010	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:14	2010	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:14	2010	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:14	2010	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:14	2010	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:14	2010	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:14	2010	[DEBUG]	Use field value for field published
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:14	2010	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field override
2023-10-13	12:57:14	2010	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:14	2010	[DEBUG]	Use field value for field slug
2023-10-13	12:57:14	2010	[DEBUG]	Process line 2010
2023-10-13	12:57:14	2010	[DEBUG]	Load a row
2023-10-13	12:57:14	2010	[DEBUG]	Processing item: 4054289008819
2023-10-13	12:57:14	2010	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:14	2010	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:14	2010	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9738_1'
2023-10-13	12:57:14	2010	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:14	2010	[DEBUG]	Processing product tax
2023-10-13	12:57:14	2010	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:14	2010	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:14	2010	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:14	2010	[DEBUG]	Query for Product
2023-10-13	12:57:14	2010	[DEBUG]	Executed store
2023-10-13	12:57:14	2010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861501','4054289008819','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:14	2010	[DEBUG]	No parent found
2023-10-13	12:57:14	2010	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861501 AND customfield_value = 'stockable'
2023-10-13	12:57:14	2010	[DEBUG]	Check product language entry
2023-10-13	12:57:14	2010	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861502
2023-10-13	12:57:14	2010	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:14	2010	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4054289008819' AND `virtuemart_product_id` != 1861502
2023-10-13	12:57:14	2010	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:14	2010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861502, '4054289008819')
2023-10-13	12:57:14	2010	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:14	2010	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-support-d-ecran-intuvia-100-35-0mm-bds3130-noir-noir-unitaire' AND `virtuemart_product_id` != 1861502
2023-10-13	12:57:14	2010	[DEBUG]	Query for ProductLang
2023-10-13	12:57:14	2010	[DEBUG]	Executed store
2023-10-13	12:57:14	2010	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Support d\'écran Intuvia 100 35.0mm BDS3130 noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-support-d-ecran-intuvia-100-35-0mm-bds3130-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1861502'
2023-10-13	12:57:14	2010	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39165_support_d_ecran_intuvia_100_35_0mm_bds3130_noir.jpg has not been found.
2023-10-13	12:57:14	2010	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:14	2010	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861502 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:14	2010	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:14	2010	[DEBUG]	Executed store
2023-10-13	12:57:14	2010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861502','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:14	2010	[DEBUG]	Checking manufacturer
2023-10-13	12:57:14	2010	[DEBUG]	Load a row
2023-10-13	12:57:14	2010	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:14	2010	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:14	2010	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:14	2010	[DEBUG]	Executed store
2023-10-13	12:57:14	2010	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	12:57:14	2010	[DEBUG]	Manufacturer exists
2023-10-13	12:57:14	2010	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	12:57:14	2010	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:14	2010	[DEBUG]	Executed store
2023-10-13	12:57:14	2010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861502','33')
2023-10-13	12:57:14	2010	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:14	2010	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:14	2010	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861502 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:14	2010	[DEBUG]	Store custom available field
2023-10-13	12:57:14	2010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861502,3,'',1)
2023-10-13	12:57:14	2010	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:14	2010	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:14	2010	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861502 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:14	2010	[DEBUG]	Store custom available field
2023-10-13	12:57:14	2010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861502,6,'Unitaire',3)
2023-10-13	12:57:14	2010	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:14	2010	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:14	2010	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861501
2023-10-13	12:57:14	2010	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:14	2010	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861501\":[1861501,8,1,\"choisir la taille\"],\"1861502\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861501
2023-10-13	12:57:14	2010	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:14	2010	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861502
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:14	2011	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field taille
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:14	2011	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:14	2011	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:14	2011	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:14	2011	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:14	2011	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:14	2011	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field published
2023-10-13	12:57:14	2011	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:14	2011	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field override
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:14	2011	[DEBUG]	Use field value for field slug
2023-10-13	12:57:14	2011	[DEBUG]	Process line 2011
2023-10-13	12:57:14	2011	[DEBUG]	Load a row
2023-10-13	12:57:14	2011	[DEBUG]	Processing item: A_60_1
2023-10-13	12:57:14	2011	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:14	2011	[DEBUG]	Processing product tax
2023-10-13	12:57:14	2011	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:14	2011	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:14	2011	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:14	2011	[DEBUG]	Query for Product
2023-10-13	12:57:14	2011	[DEBUG]	Executed store
2023-10-13	12:57:14	2011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_60_1','0.033','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:14	2011	[DEBUG]	Check product language entry
2023-10-13	12:57:14	2011	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861503
2023-10-13	12:57:14	2011	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:14	2011	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_60_1' AND `virtuemart_product_id` != 1861503
2023-10-13	12:57:14	2011	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:14	2011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861503, 'A_60_1')
2023-10-13	12:57:14	2011	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:14	2011	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-adaptateur-pour-freins-a-disque-pour-boxxer-is-pm-noir' AND `virtuemart_product_id` != 1861503
2023-10-13	12:57:14	2011	[DEBUG]	Query for ProductLang
2023-10-13	12:57:14	2011	[DEBUG]	Executed store
2023-10-13	12:57:14	2011	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='203mm Avant<br>N° art fourn : 0437678',`product_name`='MSC Adaptateur pour freins à disque pour Boxxer. IS-PM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-adaptateur-pour-freins-a-disque-pour-boxxer-is-pm-noir' WHERE `virtuemart_product_id` = '1861503'
2023-10-13	12:57:14	2011	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_60.jpg
2023-10-13	12:57:14	2011	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:14	2011	[DEBUG]	Process image file
2023-10-13	12:57:14	2011	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:14	2011	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:14	2011	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_60.jpg
2023-10-13	12:57:14	2011	[DEBUG]	Full name target: bcprisme/image_60.jpg
2023-10-13	12:57:15	2011	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:15	2011	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_60.jpg'
2023-10-13	12:57:15	2011	[DEBUG]	Query for Media
2023-10-13	12:57:15	2011	[DEBUG]	Executed store
2023-10-13	12:57:15	2011	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_60.jpg',`file_url_thumb`='bcprisme/image_60.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990694'
2023-10-13	12:57:15	2011	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:15	2011	[DEBUG]	Executed store
2023-10-13	12:57:15	2011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861503','990694','1')
2023-10-13	12:57:15	2011	[DEBUG]	Store product image relation
2023-10-13	12:57:15	2011	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:15	2011	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861503 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:15	2011	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:15	2011	[DEBUG]	Executed store
2023-10-13	12:57:15	2011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861503','0','18.430826369545','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:15	2011	[DEBUG]	Checking manufacturer
2023-10-13	12:57:15	2011	[DEBUG]	Load a row
2023-10-13	12:57:15	2011	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:15	2011	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:57:15	2011	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:15	2011	[DEBUG]	Executed store
2023-10-13	12:57:15	2011	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:57:15	2011	[DEBUG]	Manufacturer exists
2023-10-13	12:57:15	2011	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:57:15	2011	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:15	2011	[DEBUG]	Executed store
2023-10-13	12:57:15	2011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861503','32')
2023-10-13	12:57:15	2011	[DEBUG]	Find the custom field ID
2023-10-13	12:57:15	2011	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:15	2011	[DEBUG]	No custom field ID found
2023-10-13	12:57:15	2011	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:15	2011	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	12:57:15	2011	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861503 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:15	2011	[DEBUG]	Store custom available field
2023-10-13	12:57:15	2011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861503,3,'19.8447222222222',1)
2023-10-13	12:57:15	2011	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:15	2011	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:15	2011	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861503 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:15	2011	[DEBUG]	Store custom available field
2023-10-13	12:57:15	2011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861503,6,'choisir la taille',3)
2023-10-13	12:57:15	2011	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:15	2011	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:15	2011	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:15	2011	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:15	2011	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861503 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:15	2011	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:15	2011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861503,8,1)
2023-10-13	12:57:15	2011	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:15	2011	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861503\":[1861503,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861503
2023-10-13	12:57:15	2011	[DEBUG]	Checking category
2023-10-13	12:57:15	2011	[DEBUG]	Check if category path exists: FREINS / ADAPTATEURS - BREMSE / ADAPTER
2023-10-13	12:57:15	2011	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / ADAPTATEURS - BREMSE / ADAPTER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:57:15	2011	[DEBUG]	Check if category path exists: FREINS / ADAPTATEURS - BREMSE / ADAPTER
2023-10-13	12:57:15	2011	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / ADAPTATEURS - BREMSE / ADAPTER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7332
2023-10-13	12:57:15	2011	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:15	2011	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861503
2023-10-13	12:57:15	2011	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:15	2011	[DEBUG]	Executed store
2023-10-13	12:57:15	2011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861503','7333')
2023-10-13	12:57:15	2011	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:15	2011	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861503 AND `virtuemart_category_id` NOT IN (7333)
2023-10-13	12:57:15	2011	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:15	2011	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861503
2023-10-13	12:57:15	2012	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:15	2012	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:15	2012	[DEBUG]	Use field value for field taille
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:15	2012	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:15	2012	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:15	2012	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:15	2012	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:15	2012	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:15	2012	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:15	2012	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:15	2012	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:15	2012	[DEBUG]	Use field value for field published
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:15	2012	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field override
2023-10-13	12:57:15	2012	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:15	2012	[DEBUG]	Use field value for field slug
2023-10-13	12:57:15	2012	[DEBUG]	Process line 2012
2023-10-13	12:57:15	2012	[DEBUG]	Load a row
2023-10-13	12:57:15	2012	[DEBUG]	Processing item: 1000000000603
2023-10-13	12:57:15	2012	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:15	2012	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:15	2012	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_60_1'
2023-10-13	12:57:15	2012	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:15	2012	[DEBUG]	Processing product tax
2023-10-13	12:57:15	2012	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:15	2012	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:15	2012	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:15	2012	[DEBUG]	Query for Product
2023-10-13	12:57:15	2012	[DEBUG]	Executed store
2023-10-13	12:57:15	2012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861503','1000000000603','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:15	2012	[DEBUG]	No parent found
2023-10-13	12:57:15	2012	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861503 AND customfield_value = 'stockable'
2023-10-13	12:57:15	2012	[DEBUG]	Check product language entry
2023-10-13	12:57:15	2012	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861504
2023-10-13	12:57:15	2012	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:15	2012	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000000603' AND `virtuemart_product_id` != 1861504
2023-10-13	12:57:15	2012	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:15	2012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861504, '1000000000603')
2023-10-13	12:57:15	2012	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:15	2012	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-adaptateur-pour-freins-a-disque-pour-boxxer-is-pm-noir-unitaire' AND `virtuemart_product_id` != 1861504
2023-10-13	12:57:15	2012	[DEBUG]	Query for ProductLang
2023-10-13	12:57:15	2012	[DEBUG]	Executed store
2023-10-13	12:57:15	2012	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Adaptateur pour freins à disque pour Boxxer. IS-PM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-adaptateur-pour-freins-a-disque-pour-boxxer-is-pm-noir-unitaire' WHERE `virtuemart_product_id` = '1861504'
2023-10-13	12:57:15	2012	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_60.jpg
2023-10-13	12:57:15	2012	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:15	2012	[DEBUG]	Process image file
2023-10-13	12:57:15	2012	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:15	2012	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:15	2012	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_60.jpg
2023-10-13	12:57:15	2012	[DEBUG]	Full name target: bcprisme/image_60.jpg
2023-10-13	12:57:16	2012	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:16	2012	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_60.jpg'
2023-10-13	12:57:16	2012	[DEBUG]	Query for Media
2023-10-13	12:57:16	2012	[DEBUG]	Executed store
2023-10-13	12:57:16	2012	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_60.jpg',`file_url_thumb`='bcprisme/image_60.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990694'
2023-10-13	12:57:16	2012	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:16	2012	[DEBUG]	Executed store
2023-10-13	12:57:16	2012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861504','990694','1')
2023-10-13	12:57:16	2012	[DEBUG]	Store product image relation
2023-10-13	12:57:16	2012	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:16	2012	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861504 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:16	2012	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:16	2012	[DEBUG]	Executed store
2023-10-13	12:57:16	2012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861504','0','18.430826369545','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:16	2012	[DEBUG]	Checking manufacturer
2023-10-13	12:57:16	2012	[DEBUG]	Load a row
2023-10-13	12:57:16	2012	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:16	2012	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:57:16	2012	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:16	2012	[DEBUG]	Executed store
2023-10-13	12:57:16	2012	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:57:16	2012	[DEBUG]	Manufacturer exists
2023-10-13	12:57:16	2012	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:57:16	2012	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:16	2012	[DEBUG]	Executed store
2023-10-13	12:57:16	2012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861504','32')
2023-10-13	12:57:16	2012	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:16	2012	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:16	2012	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861504 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:16	2012	[DEBUG]	Store custom available field
2023-10-13	12:57:16	2012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861504,3,'',1)
2023-10-13	12:57:16	2012	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:16	2012	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:16	2012	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861504 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:16	2012	[DEBUG]	Store custom available field
2023-10-13	12:57:16	2012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861504,6,'Unitaire',3)
2023-10-13	12:57:16	2012	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:16	2012	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:16	2012	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861503
2023-10-13	12:57:16	2012	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:16	2012	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861503\":[1861503,8,1,\"choisir la taille\"],\"1861504\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861503
2023-10-13	12:57:16	2012	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:16	2012	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861504
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:16	2013	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field taille
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:16	2013	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:16	2013	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:16	2013	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:16	2013	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:16	2013	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:16	2013	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field published
2023-10-13	12:57:16	2013	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:16	2013	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field override
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:16	2013	[DEBUG]	Use field value for field slug
2023-10-13	12:57:16	2013	[DEBUG]	Process line 2013
2023-10-13	12:57:16	2013	[DEBUG]	Load a row
2023-10-13	12:57:16	2013	[DEBUG]	Processing item: A_61_1
2023-10-13	12:57:16	2013	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:16	2013	[DEBUG]	Processing product tax
2023-10-13	12:57:16	2013	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:16	2013	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:16	2013	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:16	2013	[DEBUG]	Query for Product
2023-10-13	12:57:16	2013	[DEBUG]	Executed store
2023-10-13	12:57:16	2013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_61_1','0.016','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:16	2013	[DEBUG]	Check product language entry
2023-10-13	12:57:16	2013	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861505
2023-10-13	12:57:16	2013	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:16	2013	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_61_1' AND `virtuemart_product_id` != 1861505
2023-10-13	12:57:16	2013	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:16	2013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861505, 'A_61_1')
2023-10-13	12:57:16	2013	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:16	2013	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-adaptateur-pour-freins-a-disque-pm-is-180mm-avant-noir' AND `virtuemart_product_id` != 1861505
2023-10-13	12:57:16	2013	[DEBUG]	Query for ProductLang
2023-10-13	12:57:16	2013	[DEBUG]	Executed store
2023-10-13	12:57:16	2013	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Adaptateur de qualité réduisant le bruit lors de freinage<br>N° art fourn : 0551218',`product_name`='MSC Adaptateur pour freins à disque PM/IS 180mm avant / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-adaptateur-pour-freins-a-disque-pm-is-180mm-avant-noir' WHERE `virtuemart_product_id` = '1861505'
2023-10-13	12:57:16	2013	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_61.jpg
2023-10-13	12:57:16	2013	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:16	2013	[DEBUG]	Process image file
2023-10-13	12:57:16	2013	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:16	2013	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:16	2013	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_61.jpg
2023-10-13	12:57:16	2013	[DEBUG]	Full name target: bcprisme/image_61.jpg
2023-10-13	12:57:17	2013	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:17	2013	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_61.jpg'
2023-10-13	12:57:17	2013	[DEBUG]	Query for Media
2023-10-13	12:57:17	2013	[DEBUG]	Executed store
2023-10-13	12:57:17	2013	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_61.jpg',`file_url_thumb`='bcprisme/image_61.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990696'
2023-10-13	12:57:17	2013	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:17	2013	[DEBUG]	Executed store
2023-10-13	12:57:17	2013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861505','990696','1')
2023-10-13	12:57:17	2013	[DEBUG]	Store product image relation
2023-10-13	12:57:17	2013	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:17	2013	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861505 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:17	2013	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:17	2013	[DEBUG]	Executed store
2023-10-13	12:57:17	2013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861505','0','18.430826369545','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:17	2013	[DEBUG]	Checking manufacturer
2023-10-13	12:57:17	2013	[DEBUG]	Load a row
2023-10-13	12:57:17	2013	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:17	2013	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:57:17	2013	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:17	2013	[DEBUG]	Executed store
2023-10-13	12:57:17	2013	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:57:17	2013	[DEBUG]	Manufacturer exists
2023-10-13	12:57:17	2013	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:57:17	2013	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:17	2013	[DEBUG]	Executed store
2023-10-13	12:57:17	2013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861505','32')
2023-10-13	12:57:17	2013	[DEBUG]	Find the custom field ID
2023-10-13	12:57:17	2013	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:17	2013	[DEBUG]	No custom field ID found
2023-10-13	12:57:17	2013	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:17	2013	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	12:57:17	2013	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861505 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:17	2013	[DEBUG]	Store custom available field
2023-10-13	12:57:17	2013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861505,3,'19.8447222222222',1)
2023-10-13	12:57:17	2013	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:17	2013	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:17	2013	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861505 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:17	2013	[DEBUG]	Store custom available field
2023-10-13	12:57:17	2013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861505,6,'choisir la taille',3)
2023-10-13	12:57:17	2013	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:17	2013	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:17	2013	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:17	2013	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:17	2013	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861505 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:17	2013	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:17	2013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861505,8,1)
2023-10-13	12:57:17	2013	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:17	2013	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861505\":[1861505,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861505
2023-10-13	12:57:17	2013	[DEBUG]	Checking category
2023-10-13	12:57:17	2013	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:17	2013	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861505
2023-10-13	12:57:17	2013	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:17	2013	[DEBUG]	Executed store
2023-10-13	12:57:17	2013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861505','7333')
2023-10-13	12:57:17	2013	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:17	2013	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861505 AND `virtuemart_category_id` NOT IN (7333)
2023-10-13	12:57:17	2013	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:17	2013	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861505
2023-10-13	12:57:17	2014	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:17	2014	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:17	2014	[DEBUG]	Use field value for field taille
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:17	2014	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:17	2014	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:17	2014	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:17	2014	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:17	2014	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:17	2014	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:17	2014	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:17	2014	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:17	2014	[DEBUG]	Use field value for field published
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:17	2014	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field override
2023-10-13	12:57:17	2014	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:17	2014	[DEBUG]	Use field value for field slug
2023-10-13	12:57:17	2014	[DEBUG]	Process line 2014
2023-10-13	12:57:17	2014	[DEBUG]	Load a row
2023-10-13	12:57:17	2014	[DEBUG]	Processing item: 8436047357708
2023-10-13	12:57:17	2014	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:17	2014	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:17	2014	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_61_1'
2023-10-13	12:57:17	2014	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:17	2014	[DEBUG]	Processing product tax
2023-10-13	12:57:17	2014	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:17	2014	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:17	2014	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:17	2014	[DEBUG]	Query for Product
2023-10-13	12:57:17	2014	[DEBUG]	Executed store
2023-10-13	12:57:17	2014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861505','8436047357708','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:17	2014	[DEBUG]	No parent found
2023-10-13	12:57:17	2014	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861505 AND customfield_value = 'stockable'
2023-10-13	12:57:17	2014	[DEBUG]	Check product language entry
2023-10-13	12:57:17	2014	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861506
2023-10-13	12:57:17	2014	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:17	2014	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357708' AND `virtuemart_product_id` != 1861506
2023-10-13	12:57:17	2014	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:17	2014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861506, '8436047357708')
2023-10-13	12:57:17	2014	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:17	2014	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-adaptateur-pour-freins-a-disque-pm-is-180mm-avant-noir-unitaire' AND `virtuemart_product_id` != 1861506
2023-10-13	12:57:17	2014	[DEBUG]	Query for ProductLang
2023-10-13	12:57:17	2014	[DEBUG]	Executed store
2023-10-13	12:57:17	2014	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Adaptateur pour freins à disque PM/IS 180mm avant / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-adaptateur-pour-freins-a-disque-pm-is-180mm-avant-noir-unitaire' WHERE `virtuemart_product_id` = '1861506'
2023-10-13	12:57:17	2014	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_61.jpg
2023-10-13	12:57:17	2014	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:17	2014	[DEBUG]	Process image file
2023-10-13	12:57:17	2014	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:17	2014	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:17	2014	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_61.jpg
2023-10-13	12:57:17	2014	[DEBUG]	Full name target: bcprisme/image_61.jpg
2023-10-13	12:57:18	2014	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:18	2014	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_61.jpg'
2023-10-13	12:57:18	2014	[DEBUG]	Query for Media
2023-10-13	12:57:18	2014	[DEBUG]	Executed store
2023-10-13	12:57:18	2014	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_61.jpg',`file_url_thumb`='bcprisme/image_61.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '990696'
2023-10-13	12:57:18	2014	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:18	2014	[DEBUG]	Executed store
2023-10-13	12:57:18	2014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861506','990696','1')
2023-10-13	12:57:18	2014	[DEBUG]	Store product image relation
2023-10-13	12:57:18	2014	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:18	2014	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861506 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:18	2014	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:18	2014	[DEBUG]	Executed store
2023-10-13	12:57:18	2014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861506','0','18.430826369545','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:18	2014	[DEBUG]	Checking manufacturer
2023-10-13	12:57:18	2014	[DEBUG]	Load a row
2023-10-13	12:57:18	2014	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:18	2014	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:57:18	2014	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:18	2014	[DEBUG]	Executed store
2023-10-13	12:57:18	2014	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:57:18	2014	[DEBUG]	Manufacturer exists
2023-10-13	12:57:18	2014	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:57:18	2014	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:18	2014	[DEBUG]	Executed store
2023-10-13	12:57:18	2014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861506','32')
2023-10-13	12:57:18	2014	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:18	2014	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:18	2014	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861506 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:18	2014	[DEBUG]	Store custom available field
2023-10-13	12:57:18	2014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861506,3,'',1)
2023-10-13	12:57:18	2014	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:18	2014	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:18	2014	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861506 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:18	2014	[DEBUG]	Store custom available field
2023-10-13	12:57:18	2014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861506,6,'Unitaire',3)
2023-10-13	12:57:18	2014	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:18	2014	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:18	2014	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861505
2023-10-13	12:57:18	2014	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:18	2014	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861505\":[1861505,8,1,\"choisir la taille\"],\"1861506\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861505
2023-10-13	12:57:18	2014	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:18	2014	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861506
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:18	2015	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field taille
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:18	2015	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:18	2015	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:18	2015	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:18	2015	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:18	2015	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:18	2015	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field published
2023-10-13	12:57:18	2015	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:18	2015	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field override
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:18	2015	[DEBUG]	Use field value for field slug
2023-10-13	12:57:18	2015	[DEBUG]	Process line 2015
2023-10-13	12:57:18	2015	[DEBUG]	Load a row
2023-10-13	12:57:18	2015	[DEBUG]	Processing item: A_7793_1
2023-10-13	12:57:18	2015	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:18	2015	[DEBUG]	Processing product tax
2023-10-13	12:57:18	2015	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:18	2015	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:18	2015	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:18	2015	[DEBUG]	Query for Product
2023-10-13	12:57:18	2015	[DEBUG]	Executed store
2023-10-13	12:57:18	2015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7793_1','0.022','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:18	2015	[DEBUG]	Check product language entry
2023-10-13	12:57:18	2015	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861507
2023-10-13	12:57:18	2015	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:18	2015	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7793_1' AND `virtuemart_product_id` != 1861507
2023-10-13	12:57:18	2015	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:18	2015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861507, 'A_7793_1')
2023-10-13	12:57:18	2015	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:18	2015	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-adaptateur-pour-freins-a-disque-qm52-fm-160-180-160-noir' AND `virtuemart_product_id` != 1861507
2023-10-13	12:57:18	2015	[DEBUG]	Query for ProductLang
2023-10-13	12:57:18	2015	[DEBUG]	Executed store
2023-10-13	12:57:18	2015	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Adaptateur de qualité réduisant le bruit lors de freinage<br>N° art fourn : H8793X',`product_name`='MAGURA Adaptateur pour freins à disque QM52 FM-160/180/160 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-adaptateur-pour-freins-a-disque-qm52-fm-160-180-160-noir' WHERE `virtuemart_product_id` = '1861507'
2023-10-13	12:57:18	2015	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36167_adaptateur_pour_freins_à_disque_qm52_fm-160-180-160.jpg
2023-10-13	12:57:18	2015	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:57:18	2015	[DEBUG]	Process image file
2023-10-13	12:57:18	2015	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:57:18	2015	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:18	2015	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36167_adaptateur_pour_freins_à_disque_qm52_fm-160-180-160.jpg
2023-10-13	12:57:18	2015	[DEBUG]	Full name target: bcprisme/36167_adaptateur_pour_freins_à_disque_qm52_fm-160-180-160.jpg
2023-10-13	12:57:19	2015	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:19	2015	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36167_adaptateur_pour_freins_à_disque_qm52_fm-160-180-160.jpg'
2023-10-13	12:57:19	2015	[DEBUG]	Query for Media
2023-10-13	12:57:19	2015	[DEBUG]	Executed store
2023-10-13	12:57:19	2015	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36167_adaptateur_pour_freins_à_disque_qm52_fm-160-180-160.jpg',`file_url_thumb`='bcprisme/36167_adaptateur_pour_freins_à_disque_qm52_fm-160-180-160.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '480482'
2023-10-13	12:57:19	2015	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:19	2015	[DEBUG]	Executed store
2023-10-13	12:57:19	2015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861507','480482','1')
2023-10-13	12:57:19	2015	[DEBUG]	Store product image relation
2023-10-13	12:57:19	2015	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:19	2015	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861507 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:19	2015	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:19	2015	[DEBUG]	Executed store
2023-10-13	12:57:19	2015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861507','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:19	2015	[DEBUG]	Checking manufacturer
2023-10-13	12:57:19	2015	[DEBUG]	Load a row
2023-10-13	12:57:19	2015	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:19	2015	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:19	2015	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:19	2015	[DEBUG]	Executed store
2023-10-13	12:57:19	2015	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:19	2015	[DEBUG]	Manufacturer exists
2023-10-13	12:57:19	2015	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:57:19	2015	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:19	2015	[DEBUG]	Executed store
2023-10-13	12:57:19	2015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861507','38')
2023-10-13	12:57:19	2015	[DEBUG]	Find the custom field ID
2023-10-13	12:57:19	2015	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:19	2015	[DEBUG]	No custom field ID found
2023-10-13	12:57:19	2015	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:19	2015	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	12:57:19	2015	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861507 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:19	2015	[DEBUG]	Store custom available field
2023-10-13	12:57:19	2015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861507,3,'21.8391666666667',1)
2023-10-13	12:57:19	2015	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:19	2015	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:19	2015	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861507 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:19	2015	[DEBUG]	Store custom available field
2023-10-13	12:57:19	2015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861507,6,'choisir la taille',3)
2023-10-13	12:57:19	2015	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:19	2015	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:19	2015	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:19	2015	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:19	2015	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861507 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:19	2015	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:19	2015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861507,8,1)
2023-10-13	12:57:19	2015	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:19	2015	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861507\":[1861507,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861507
2023-10-13	12:57:19	2015	[DEBUG]	Checking category
2023-10-13	12:57:19	2015	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:19	2015	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861507
2023-10-13	12:57:19	2015	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:19	2015	[DEBUG]	Executed store
2023-10-13	12:57:19	2015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861507','7333')
2023-10-13	12:57:19	2015	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:19	2015	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861507 AND `virtuemart_category_id` NOT IN (7333)
2023-10-13	12:57:19	2015	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:19	2015	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861507
2023-10-13	12:57:19	2016	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:19	2016	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:19	2016	[DEBUG]	Use field value for field taille
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:19	2016	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:19	2016	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:19	2016	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:19	2016	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:19	2016	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:19	2016	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:19	2016	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:19	2016	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:19	2016	[DEBUG]	Use field value for field published
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:19	2016	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field override
2023-10-13	12:57:19	2016	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:19	2016	[DEBUG]	Use field value for field slug
2023-10-13	12:57:19	2016	[DEBUG]	Process line 2016
2023-10-13	12:57:19	2016	[DEBUG]	Load a row
2023-10-13	12:57:19	2016	[DEBUG]	Processing item: 4055184028773
2023-10-13	12:57:19	2016	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:19	2016	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:19	2016	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7793_1'
2023-10-13	12:57:19	2016	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:19	2016	[DEBUG]	Processing product tax
2023-10-13	12:57:19	2016	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:19	2016	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:19	2016	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:19	2016	[DEBUG]	Query for Product
2023-10-13	12:57:19	2016	[DEBUG]	Executed store
2023-10-13	12:57:19	2016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861507','4055184028773','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:19	2016	[DEBUG]	No parent found
2023-10-13	12:57:19	2016	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861507 AND customfield_value = 'stockable'
2023-10-13	12:57:19	2016	[DEBUG]	Check product language entry
2023-10-13	12:57:19	2016	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861508
2023-10-13	12:57:19	2016	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:19	2016	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184028773' AND `virtuemart_product_id` != 1861508
2023-10-13	12:57:19	2016	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:19	2016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861508, '4055184028773')
2023-10-13	12:57:19	2016	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:19	2016	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-adaptateur-pour-freins-a-disque-qm52-fm-160-180-160-noir-unitaire' AND `virtuemart_product_id` != 1861508
2023-10-13	12:57:19	2016	[DEBUG]	Query for ProductLang
2023-10-13	12:57:19	2016	[DEBUG]	Executed store
2023-10-13	12:57:19	2016	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Adaptateur pour freins à disque QM52 FM-160/180/160 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-adaptateur-pour-freins-a-disque-qm52-fm-160-180-160-noir-unitaire' WHERE `virtuemart_product_id` = '1861508'
2023-10-13	12:57:19	2016	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36167_adaptateur_pour_freins_à_disque_qm52_fm-160-180-160.jpg
2023-10-13	12:57:19	2016	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:57:19	2016	[DEBUG]	Process image file
2023-10-13	12:57:19	2016	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	12:57:19	2016	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:19	2016	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36167_adaptateur_pour_freins_à_disque_qm52_fm-160-180-160.jpg
2023-10-13	12:57:19	2016	[DEBUG]	Full name target: bcprisme/36167_adaptateur_pour_freins_à_disque_qm52_fm-160-180-160.jpg
2023-10-13	12:57:20	2016	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:20	2016	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36167_adaptateur_pour_freins_à_disque_qm52_fm-160-180-160.jpg'
2023-10-13	12:57:20	2016	[DEBUG]	Query for Media
2023-10-13	12:57:20	2016	[DEBUG]	Executed store
2023-10-13	12:57:20	2016	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36167_adaptateur_pour_freins_à_disque_qm52_fm-160-180-160.jpg',`file_url_thumb`='bcprisme/36167_adaptateur_pour_freins_à_disque_qm52_fm-160-180-160.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '480482'
2023-10-13	12:57:20	2016	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:20	2016	[DEBUG]	Executed store
2023-10-13	12:57:20	2016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861508','480482','1')
2023-10-13	12:57:20	2016	[DEBUG]	Store product image relation
2023-10-13	12:57:20	2016	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:20	2016	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861508 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:20	2016	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:20	2016	[DEBUG]	Executed store
2023-10-13	12:57:20	2016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861508','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:20	2016	[DEBUG]	Checking manufacturer
2023-10-13	12:57:20	2016	[DEBUG]	Load a row
2023-10-13	12:57:20	2016	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:20	2016	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:20	2016	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:20	2016	[DEBUG]	Executed store
2023-10-13	12:57:20	2016	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:20	2016	[DEBUG]	Manufacturer exists
2023-10-13	12:57:20	2016	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:57:20	2016	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:20	2016	[DEBUG]	Executed store
2023-10-13	12:57:20	2016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861508','38')
2023-10-13	12:57:20	2016	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:20	2016	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:20	2016	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861508 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:20	2016	[DEBUG]	Store custom available field
2023-10-13	12:57:20	2016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861508,3,'',1)
2023-10-13	12:57:20	2016	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:20	2016	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:20	2016	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861508 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:20	2016	[DEBUG]	Store custom available field
2023-10-13	12:57:20	2016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861508,6,'Unitaire',3)
2023-10-13	12:57:20	2016	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:20	2016	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:20	2016	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861507
2023-10-13	12:57:20	2016	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:20	2016	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861507\":[1861507,8,1,\"choisir la taille\"],\"1861508\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861507
2023-10-13	12:57:20	2016	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:20	2016	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861508
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:20	2017	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field taille
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:20	2017	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:20	2017	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:20	2017	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:20	2017	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:20	2017	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:20	2017	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field published
2023-10-13	12:57:20	2017	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:20	2017	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field override
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:20	2017	[DEBUG]	Use field value for field slug
2023-10-13	12:57:20	2017	[DEBUG]	Process line 2017
2023-10-13	12:57:20	2017	[DEBUG]	Load a row
2023-10-13	12:57:20	2017	[DEBUG]	Processing item: A_7794_1
2023-10-13	12:57:20	2017	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:20	2017	[DEBUG]	Processing product tax
2023-10-13	12:57:20	2017	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:20	2017	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:20	2017	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:20	2017	[DEBUG]	Query for Product
2023-10-13	12:57:20	2017	[DEBUG]	Executed store
2023-10-13	12:57:20	2017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7794_1','0.06','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:20	2017	[DEBUG]	Check product language entry
2023-10-13	12:57:20	2017	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861509
2023-10-13	12:57:20	2017	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:20	2017	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7794_1' AND `virtuemart_product_id` != 1861509
2023-10-13	12:57:20	2017	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:20	2017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861509, 'A_7794_1')
2023-10-13	12:57:20	2017	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:20	2017	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-lot-de-vis-flatmount-pour-roue-arriere-noir' AND `virtuemart_product_id` != 1861509
2023-10-13	12:57:20	2017	[DEBUG]	Query for ProductLang
2023-10-13	12:57:20	2017	[DEBUG]	Executed store
2023-10-13	12:57:20	2017	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='25x100 mm<br>N° art fourn : H8783Y',`product_name`='MAGURA Lot de vis Flatmount pour roue arrière / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-lot-de-vis-flatmount-pour-roue-arriere-noir' WHERE `virtuemart_product_id` = '1861509'
2023-10-13	12:57:20	2017	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36168_lot_de_vis_flatmount_pour_roue_arriere.jpg
2023-10-13	12:57:20	2017	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:20	2017	[DEBUG]	Process image file
2023-10-13	12:57:20	2017	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:20	2017	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:20	2017	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36168_lot_de_vis_flatmount_pour_roue_arriere.jpg
2023-10-13	12:57:20	2017	[DEBUG]	Full name target: bcprisme/36168_lot_de_vis_flatmount_pour_roue_arriere.jpg
2023-10-13	12:57:21	2017	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:21	2017	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36168_lot_de_vis_flatmount_pour_roue_arriere.jpg'
2023-10-13	12:57:21	2017	[DEBUG]	Query for Media
2023-10-13	12:57:21	2017	[DEBUG]	Executed store
2023-10-13	12:57:21	2017	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36168_lot_de_vis_flatmount_pour_roue_arriere.jpg',`file_url_thumb`='bcprisme/36168_lot_de_vis_flatmount_pour_roue_arriere.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '480484'
2023-10-13	12:57:21	2017	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:21	2017	[DEBUG]	Executed store
2023-10-13	12:57:21	2017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861509','480484','1')
2023-10-13	12:57:21	2017	[DEBUG]	Store product image relation
2023-10-13	12:57:21	2017	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:21	2017	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861509 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:21	2017	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:21	2017	[DEBUG]	Executed store
2023-10-13	12:57:21	2017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861509','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:21	2017	[DEBUG]	Checking manufacturer
2023-10-13	12:57:21	2017	[DEBUG]	Load a row
2023-10-13	12:57:21	2017	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:21	2017	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:21	2017	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:21	2017	[DEBUG]	Executed store
2023-10-13	12:57:21	2017	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:21	2017	[DEBUG]	Manufacturer exists
2023-10-13	12:57:21	2017	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:57:21	2017	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:21	2017	[DEBUG]	Executed store
2023-10-13	12:57:21	2017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861509','38')
2023-10-13	12:57:21	2017	[DEBUG]	Find the custom field ID
2023-10-13	12:57:21	2017	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:21	2017	[DEBUG]	No custom field ID found
2023-10-13	12:57:21	2017	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:21	2017	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	12:57:21	2017	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861509 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:21	2017	[DEBUG]	Store custom available field
2023-10-13	12:57:21	2017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861509,3,'21.8391666666667',1)
2023-10-13	12:57:21	2017	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:21	2017	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:21	2017	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861509 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:21	2017	[DEBUG]	Store custom available field
2023-10-13	12:57:21	2017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861509,6,'choisir la taille',3)
2023-10-13	12:57:21	2017	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:21	2017	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:21	2017	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:21	2017	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:21	2017	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861509 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:21	2017	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:21	2017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861509,8,1)
2023-10-13	12:57:21	2017	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:21	2017	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861509\":[1861509,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861509
2023-10-13	12:57:21	2017	[DEBUG]	Checking category
2023-10-13	12:57:21	2017	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:21	2017	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861509
2023-10-13	12:57:21	2017	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:21	2017	[DEBUG]	Executed store
2023-10-13	12:57:21	2017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861509','7333')
2023-10-13	12:57:21	2017	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:21	2017	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861509 AND `virtuemart_category_id` NOT IN (7333)
2023-10-13	12:57:21	2017	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:21	2017	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861509
2023-10-13	12:57:21	2018	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:21	2018	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:21	2018	[DEBUG]	Use field value for field taille
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:21	2018	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:21	2018	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:21	2018	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:21	2018	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:21	2018	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:21	2018	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:21	2018	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:21	2018	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:21	2018	[DEBUG]	Use field value for field published
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:21	2018	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field override
2023-10-13	12:57:21	2018	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:21	2018	[DEBUG]	Use field value for field slug
2023-10-13	12:57:21	2018	[DEBUG]	Process line 2018
2023-10-13	12:57:21	2018	[DEBUG]	Load a row
2023-10-13	12:57:21	2018	[DEBUG]	Processing item: 4055184022405
2023-10-13	12:57:21	2018	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:21	2018	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:21	2018	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7794_1'
2023-10-13	12:57:21	2018	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:21	2018	[DEBUG]	Processing product tax
2023-10-13	12:57:21	2018	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:21	2018	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:21	2018	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:21	2018	[DEBUG]	Query for Product
2023-10-13	12:57:21	2018	[DEBUG]	Executed store
2023-10-13	12:57:21	2018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861509','4055184022405','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:21	2018	[DEBUG]	No parent found
2023-10-13	12:57:21	2018	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861509 AND customfield_value = 'stockable'
2023-10-13	12:57:21	2018	[DEBUG]	Check product language entry
2023-10-13	12:57:21	2018	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861510
2023-10-13	12:57:21	2018	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:21	2018	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184022405' AND `virtuemart_product_id` != 1861510
2023-10-13	12:57:21	2018	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:21	2018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861510, '4055184022405')
2023-10-13	12:57:21	2018	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:21	2018	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-lot-de-vis-flatmount-pour-roue-arriere-noir-unitaire' AND `virtuemart_product_id` != 1861510
2023-10-13	12:57:21	2018	[DEBUG]	Query for ProductLang
2023-10-13	12:57:21	2018	[DEBUG]	Executed store
2023-10-13	12:57:21	2018	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Lot de vis Flatmount pour roue arrière / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-lot-de-vis-flatmount-pour-roue-arriere-noir-unitaire' WHERE `virtuemart_product_id` = '1861510'
2023-10-13	12:57:21	2018	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36168_lot_de_vis_flatmount_pour_roue_arriere.jpg
2023-10-13	12:57:21	2018	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:21	2018	[DEBUG]	Process image file
2023-10-13	12:57:21	2018	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:21	2018	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:21	2018	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36168_lot_de_vis_flatmount_pour_roue_arriere.jpg
2023-10-13	12:57:21	2018	[DEBUG]	Full name target: bcprisme/36168_lot_de_vis_flatmount_pour_roue_arriere.jpg
2023-10-13	12:57:22	2018	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:22	2018	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36168_lot_de_vis_flatmount_pour_roue_arriere.jpg'
2023-10-13	12:57:22	2018	[DEBUG]	Query for Media
2023-10-13	12:57:22	2018	[DEBUG]	Executed store
2023-10-13	12:57:22	2018	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36168_lot_de_vis_flatmount_pour_roue_arriere.jpg',`file_url_thumb`='bcprisme/36168_lot_de_vis_flatmount_pour_roue_arriere.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '480484'
2023-10-13	12:57:22	2018	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:22	2018	[DEBUG]	Executed store
2023-10-13	12:57:22	2018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861510','480484','1')
2023-10-13	12:57:22	2018	[DEBUG]	Store product image relation
2023-10-13	12:57:22	2018	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:22	2018	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861510 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:22	2018	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:22	2018	[DEBUG]	Executed store
2023-10-13	12:57:22	2018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861510','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:22	2018	[DEBUG]	Checking manufacturer
2023-10-13	12:57:22	2018	[DEBUG]	Load a row
2023-10-13	12:57:22	2018	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:22	2018	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:22	2018	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:22	2018	[DEBUG]	Executed store
2023-10-13	12:57:22	2018	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:22	2018	[DEBUG]	Manufacturer exists
2023-10-13	12:57:22	2018	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:57:22	2018	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:22	2018	[DEBUG]	Executed store
2023-10-13	12:57:22	2018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861510','38')
2023-10-13	12:57:22	2018	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:22	2018	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:22	2018	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861510 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:22	2018	[DEBUG]	Store custom available field
2023-10-13	12:57:22	2018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861510,3,'',1)
2023-10-13	12:57:22	2018	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:22	2018	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:22	2018	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861510 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:22	2018	[DEBUG]	Store custom available field
2023-10-13	12:57:22	2018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861510,6,'Unitaire',3)
2023-10-13	12:57:22	2018	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:22	2018	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:22	2018	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861509
2023-10-13	12:57:22	2018	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:22	2018	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861509\":[1861509,8,1,\"choisir la taille\"],\"1861510\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861509
2023-10-13	12:57:22	2018	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:22	2018	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861510
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:22	2019	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field taille
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:22	2019	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:22	2019	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:22	2019	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:22	2019	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:22	2019	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:22	2019	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field published
2023-10-13	12:57:22	2019	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:22	2019	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field override
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:22	2019	[DEBUG]	Use field value for field slug
2023-10-13	12:57:22	2019	[DEBUG]	Process line 2019
2023-10-13	12:57:22	2019	[DEBUG]	Load a row
2023-10-13	12:57:22	2019	[DEBUG]	Processing item: A_7853_1
2023-10-13	12:57:22	2019	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:22	2019	[DEBUG]	Processing product tax
2023-10-13	12:57:22	2019	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:22	2019	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:22	2019	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:22	2019	[DEBUG]	Query for Product
2023-10-13	12:57:22	2019	[DEBUG]	Executed store
2023-10-13	12:57:22	2019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7853_1','0.06','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:22	2019	[DEBUG]	Check product language entry
2023-10-13	12:57:22	2019	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861511
2023-10-13	12:57:22	2019	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:22	2019	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7853_1' AND `virtuemart_product_id` != 1861511
2023-10-13	12:57:22	2019	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:22	2019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861511, 'A_7853_1')
2023-10-13	12:57:22	2019	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:22	2019	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-adaptateur-flatmount-qm-51-r160mm-noir' AND `virtuemart_product_id` != 1861511
2023-10-13	12:57:22	2019	[DEBUG]	Query for ProductLang
2023-10-13	12:57:22	2019	[DEBUG]	Executed store
2023-10-13	12:57:22	2019	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='25x100 mm<br>N° art fourn : H8783X',`product_name`='MAGURA Adaptateur Flatmount QM 51 R160mm  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-adaptateur-flatmount-qm-51-r160mm-noir' WHERE `virtuemart_product_id` = '1861511'
2023-10-13	12:57:22	2019	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36252_adapteur_flatmount_qm_51_r160mm_.jpg
2023-10-13	12:57:22	2019	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:22	2019	[DEBUG]	Process image file
2023-10-13	12:57:22	2019	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:22	2019	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:22	2019	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36252_adapteur_flatmount_qm_51_r160mm_.jpg
2023-10-13	12:57:22	2019	[DEBUG]	Full name target: bcprisme/36252_adapteur_flatmount_qm_51_r160mm_.jpg
2023-10-13	12:57:23	2019	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:23	2019	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36252_adapteur_flatmount_qm_51_r160mm_.jpg'
2023-10-13	12:57:23	2019	[DEBUG]	Query for Media
2023-10-13	12:57:23	2019	[DEBUG]	Executed store
2023-10-13	12:57:23	2019	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36252_adapteur_flatmount_qm_51_r160mm_.jpg',`file_url_thumb`='bcprisme/36252_adapteur_flatmount_qm_51_r160mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '502940'
2023-10-13	12:57:23	2019	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:23	2019	[DEBUG]	Executed store
2023-10-13	12:57:23	2019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861511','502940','1')
2023-10-13	12:57:23	2019	[DEBUG]	Store product image relation
2023-10-13	12:57:23	2019	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:23	2019	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861511 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:23	2019	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:23	2019	[DEBUG]	Executed store
2023-10-13	12:57:23	2019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861511','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:23	2019	[DEBUG]	Checking manufacturer
2023-10-13	12:57:23	2019	[DEBUG]	Load a row
2023-10-13	12:57:23	2019	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:23	2019	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:23	2019	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:23	2019	[DEBUG]	Executed store
2023-10-13	12:57:23	2019	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:23	2019	[DEBUG]	Manufacturer exists
2023-10-13	12:57:23	2019	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:57:23	2019	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:23	2019	[DEBUG]	Executed store
2023-10-13	12:57:23	2019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861511','38')
2023-10-13	12:57:23	2019	[DEBUG]	Find the custom field ID
2023-10-13	12:57:23	2019	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:23	2019	[DEBUG]	No custom field ID found
2023-10-13	12:57:23	2019	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:23	2019	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	12:57:23	2019	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861511 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:23	2019	[DEBUG]	Store custom available field
2023-10-13	12:57:23	2019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861511,3,'21.8391666666667',1)
2023-10-13	12:57:23	2019	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:23	2019	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:23	2019	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861511 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:23	2019	[DEBUG]	Store custom available field
2023-10-13	12:57:23	2019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861511,6,'choisir la taille',3)
2023-10-13	12:57:23	2019	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:23	2019	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:23	2019	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:23	2019	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:23	2019	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861511 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:23	2019	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:23	2019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861511,8,1)
2023-10-13	12:57:23	2019	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:23	2019	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861511\":[1861511,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861511
2023-10-13	12:57:23	2019	[DEBUG]	Checking category
2023-10-13	12:57:23	2019	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:23	2019	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861511
2023-10-13	12:57:23	2019	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:23	2019	[DEBUG]	Executed store
2023-10-13	12:57:23	2019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861511','7333')
2023-10-13	12:57:23	2019	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:23	2019	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861511 AND `virtuemart_category_id` NOT IN (7333)
2023-10-13	12:57:23	2019	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:23	2019	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861511
2023-10-13	12:57:23	2020	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:23	2020	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:23	2020	[DEBUG]	Use field value for field taille
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:23	2020	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:23	2020	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:23	2020	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:23	2020	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:23	2020	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:23	2020	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:23	2020	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:23	2020	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:23	2020	[DEBUG]	Use field value for field published
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:23	2020	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field override
2023-10-13	12:57:23	2020	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:23	2020	[DEBUG]	Use field value for field slug
2023-10-13	12:57:23	2020	[DEBUG]	Process line 2020
2023-10-13	12:57:23	2020	[DEBUG]	Load a row
2023-10-13	12:57:23	2020	[DEBUG]	Processing item: 4055184022399
2023-10-13	12:57:23	2020	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:23	2020	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:23	2020	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7853_1'
2023-10-13	12:57:23	2020	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:23	2020	[DEBUG]	Processing product tax
2023-10-13	12:57:23	2020	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:23	2020	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:23	2020	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:23	2020	[DEBUG]	Query for Product
2023-10-13	12:57:23	2020	[DEBUG]	Executed store
2023-10-13	12:57:24	2020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861511','4055184022399','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:24	2020	[DEBUG]	No parent found
2023-10-13	12:57:24	2020	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861511 AND customfield_value = 'stockable'
2023-10-13	12:57:24	2020	[DEBUG]	Check product language entry
2023-10-13	12:57:24	2020	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861512
2023-10-13	12:57:24	2020	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:24	2020	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184022399' AND `virtuemart_product_id` != 1861512
2023-10-13	12:57:24	2020	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:24	2020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861512, '4055184022399')
2023-10-13	12:57:24	2020	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:24	2020	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-adaptateur-flatmount-qm-51-r160mm-noir-unitaire' AND `virtuemart_product_id` != 1861512
2023-10-13	12:57:24	2020	[DEBUG]	Query for ProductLang
2023-10-13	12:57:24	2020	[DEBUG]	Executed store
2023-10-13	12:57:24	2020	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Adaptateur Flatmount QM 51 R160mm  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-adaptateur-flatmount-qm-51-r160mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861512'
2023-10-13	12:57:24	2020	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36252_adapteur_flatmount_qm_51_r160mm_.jpg
2023-10-13	12:57:24	2020	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:24	2020	[DEBUG]	Process image file
2023-10-13	12:57:24	2020	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:24	2020	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:24	2020	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36252_adapteur_flatmount_qm_51_r160mm_.jpg
2023-10-13	12:57:24	2020	[DEBUG]	Full name target: bcprisme/36252_adapteur_flatmount_qm_51_r160mm_.jpg
2023-10-13	12:57:24	2020	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:24	2020	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36252_adapteur_flatmount_qm_51_r160mm_.jpg'
2023-10-13	12:57:24	2020	[DEBUG]	Query for Media
2023-10-13	12:57:24	2020	[DEBUG]	Executed store
2023-10-13	12:57:24	2020	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36252_adapteur_flatmount_qm_51_r160mm_.jpg',`file_url_thumb`='bcprisme/36252_adapteur_flatmount_qm_51_r160mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '502940'
2023-10-13	12:57:24	2020	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:25	2020	[DEBUG]	Executed store
2023-10-13	12:57:25	2020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861512','502940','1')
2023-10-13	12:57:25	2020	[DEBUG]	Store product image relation
2023-10-13	12:57:25	2020	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:25	2020	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861512 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:25	2020	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:25	2020	[DEBUG]	Executed store
2023-10-13	12:57:25	2020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861512','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:25	2020	[DEBUG]	Checking manufacturer
2023-10-13	12:57:25	2020	[DEBUG]	Load a row
2023-10-13	12:57:25	2020	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:25	2020	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:25	2020	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:25	2020	[DEBUG]	Executed store
2023-10-13	12:57:25	2020	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:25	2020	[DEBUG]	Manufacturer exists
2023-10-13	12:57:25	2020	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:57:25	2020	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:25	2020	[DEBUG]	Executed store
2023-10-13	12:57:25	2020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861512','38')
2023-10-13	12:57:25	2020	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:25	2020	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:25	2020	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861512 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:25	2020	[DEBUG]	Store custom available field
2023-10-13	12:57:25	2020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861512,3,'',1)
2023-10-13	12:57:25	2020	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:25	2020	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:25	2020	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861512 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:25	2020	[DEBUG]	Store custom available field
2023-10-13	12:57:25	2020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861512,6,'Unitaire',3)
2023-10-13	12:57:25	2020	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:25	2020	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:25	2020	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861511
2023-10-13	12:57:25	2020	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:25	2020	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861511\":[1861511,8,1,\"choisir la taille\"],\"1861512\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861511
2023-10-13	12:57:25	2020	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:25	2020	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861512
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:25	2021	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field taille
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:25	2021	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:25	2021	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:25	2021	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:25	2021	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:25	2021	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:25	2021	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field published
2023-10-13	12:57:25	2021	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:25	2021	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field override
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:25	2021	[DEBUG]	Use field value for field slug
2023-10-13	12:57:25	2021	[DEBUG]	Process line 2021
2023-10-13	12:57:25	2021	[DEBUG]	Load a row
2023-10-13	12:57:25	2021	[DEBUG]	Processing item: A_7926_1
2023-10-13	12:57:25	2021	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:25	2021	[DEBUG]	Processing product tax
2023-10-13	12:57:25	2021	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:25	2021	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:25	2021	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:25	2021	[DEBUG]	Query for Product
2023-10-13	12:57:25	2021	[DEBUG]	Executed store
2023-10-13	12:57:25	2021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7926_1','0.06','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:25	2021	[DEBUG]	Check product language entry
2023-10-13	12:57:25	2021	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861513
2023-10-13	12:57:25	2021	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:25	2021	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7926_1' AND `virtuemart_product_id` != 1861513
2023-10-13	12:57:25	2021	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:25	2021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861513, 'A_7926_1')
2023-10-13	12:57:25	2021	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:25	2021	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-adaptateur-flatmount-qm-50-f140-160-mm-vis-inclus-noir' AND `virtuemart_product_id` != 1861513
2023-10-13	12:57:25	2021	[DEBUG]	Query for ProductLang
2023-10-13	12:57:25	2021	[DEBUG]	Executed store
2023-10-13	12:57:25	2021	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='25x100 mm<br>N° art fourn : H8783W',`product_name`='MAGURA Adaptateur Flatmount QM 50 F140/160 mm vis inclus / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-adaptateur-flatmount-qm-50-f140-160-mm-vis-inclus-noir' WHERE `virtuemart_product_id` = '1861513'
2023-10-13	12:57:25	2021	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36361_adapteur_flatmount_qm_50_f140-160_mm_vis_inclus.jpg
2023-10-13	12:57:25	2021	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:25	2021	[DEBUG]	Process image file
2023-10-13	12:57:25	2021	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:25	2021	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:25	2021	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36361_adapteur_flatmount_qm_50_f140-160_mm_vis_inclus.jpg
2023-10-13	12:57:25	2021	[DEBUG]	Full name target: bcprisme/36361_adapteur_flatmount_qm_50_f140-160_mm_vis_inclus.jpg
2023-10-13	12:57:25	2021	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:25	2021	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36361_adapteur_flatmount_qm_50_f140-160_mm_vis_inclus.jpg'
2023-10-13	12:57:25	2021	[DEBUG]	Query for Media
2023-10-13	12:57:25	2021	[DEBUG]	Executed store
2023-10-13	12:57:25	2021	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36361_adapteur_flatmount_qm_50_f140-160_mm_vis_inclus.jpg',`file_url_thumb`='bcprisme/36361_adapteur_flatmount_qm_50_f140-160_mm_vis_inclus.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '557303'
2023-10-13	12:57:25	2021	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:25	2021	[DEBUG]	Executed store
2023-10-13	12:57:25	2021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861513','557303','1')
2023-10-13	12:57:25	2021	[DEBUG]	Store product image relation
2023-10-13	12:57:25	2021	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:25	2021	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861513 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:25	2021	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:25	2021	[DEBUG]	Executed store
2023-10-13	12:57:25	2021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861513','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:25	2021	[DEBUG]	Checking manufacturer
2023-10-13	12:57:25	2021	[DEBUG]	Load a row
2023-10-13	12:57:26	2021	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:26	2021	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:26	2021	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:26	2021	[DEBUG]	Executed store
2023-10-13	12:57:26	2021	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:26	2021	[DEBUG]	Manufacturer exists
2023-10-13	12:57:26	2021	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:57:26	2021	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:26	2021	[DEBUG]	Executed store
2023-10-13	12:57:26	2021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861513','38')
2023-10-13	12:57:26	2021	[DEBUG]	Find the custom field ID
2023-10-13	12:57:26	2021	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:26	2021	[DEBUG]	No custom field ID found
2023-10-13	12:57:26	2021	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:26	2021	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	12:57:26	2021	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861513 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:26	2021	[DEBUG]	Store custom available field
2023-10-13	12:57:26	2021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861513,3,'21.8391666666667',1)
2023-10-13	12:57:26	2021	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:26	2021	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:26	2021	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861513 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:26	2021	[DEBUG]	Store custom available field
2023-10-13	12:57:26	2021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861513,6,'choisir la taille',3)
2023-10-13	12:57:26	2021	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:26	2021	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:26	2021	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:26	2021	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:26	2021	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861513 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:26	2021	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:26	2021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861513,8,1)
2023-10-13	12:57:26	2021	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:26	2021	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861513\":[1861513,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861513
2023-10-13	12:57:26	2021	[DEBUG]	Checking category
2023-10-13	12:57:26	2021	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:26	2021	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861513
2023-10-13	12:57:26	2021	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:26	2021	[DEBUG]	Executed store
2023-10-13	12:57:26	2021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861513','7333')
2023-10-13	12:57:26	2021	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:26	2021	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861513 AND `virtuemart_category_id` NOT IN (7333)
2023-10-13	12:57:26	2021	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:26	2021	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861513
2023-10-13	12:57:26	2022	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:26	2022	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:26	2022	[DEBUG]	Use field value for field taille
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:26	2022	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:26	2022	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:26	2022	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:26	2022	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:26	2022	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:26	2022	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:26	2022	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:26	2022	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:26	2022	[DEBUG]	Use field value for field published
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:26	2022	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field override
2023-10-13	12:57:26	2022	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:26	2022	[DEBUG]	Use field value for field slug
2023-10-13	12:57:26	2022	[DEBUG]	Process line 2022
2023-10-13	12:57:26	2022	[DEBUG]	Load a row
2023-10-13	12:57:26	2022	[DEBUG]	Processing item: 4055184022382
2023-10-13	12:57:26	2022	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:26	2022	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:26	2022	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7926_1'
2023-10-13	12:57:26	2022	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:26	2022	[DEBUG]	Processing product tax
2023-10-13	12:57:26	2022	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:26	2022	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:26	2022	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:26	2022	[DEBUG]	Query for Product
2023-10-13	12:57:26	2022	[DEBUG]	Executed store
2023-10-13	12:57:26	2022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861513','4055184022382','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:26	2022	[DEBUG]	No parent found
2023-10-13	12:57:26	2022	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861513 AND customfield_value = 'stockable'
2023-10-13	12:57:26	2022	[DEBUG]	Check product language entry
2023-10-13	12:57:26	2022	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861514
2023-10-13	12:57:26	2022	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:26	2022	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184022382' AND `virtuemart_product_id` != 1861514
2023-10-13	12:57:26	2022	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:26	2022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861514, '4055184022382')
2023-10-13	12:57:26	2022	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:26	2022	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-adaptateur-flatmount-qm-50-f140-160-mm-vis-inclus-noir-unitaire' AND `virtuemart_product_id` != 1861514
2023-10-13	12:57:26	2022	[DEBUG]	Query for ProductLang
2023-10-13	12:57:26	2022	[DEBUG]	Executed store
2023-10-13	12:57:26	2022	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Adaptateur Flatmount QM 50 F140/160 mm vis inclus / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-adaptateur-flatmount-qm-50-f140-160-mm-vis-inclus-noir-unitaire' WHERE `virtuemart_product_id` = '1861514'
2023-10-13	12:57:26	2022	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36361_adapteur_flatmount_qm_50_f140-160_mm_vis_inclus.jpg
2023-10-13	12:57:26	2022	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:26	2022	[DEBUG]	Process image file
2023-10-13	12:57:26	2022	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:26	2022	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:26	2022	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36361_adapteur_flatmount_qm_50_f140-160_mm_vis_inclus.jpg
2023-10-13	12:57:26	2022	[DEBUG]	Full name target: bcprisme/36361_adapteur_flatmount_qm_50_f140-160_mm_vis_inclus.jpg
2023-10-13	12:57:27	2022	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:27	2022	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36361_adapteur_flatmount_qm_50_f140-160_mm_vis_inclus.jpg'
2023-10-13	12:57:27	2022	[DEBUG]	Query for Media
2023-10-13	12:57:27	2022	[DEBUG]	Executed store
2023-10-13	12:57:27	2022	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36361_adapteur_flatmount_qm_50_f140-160_mm_vis_inclus.jpg',`file_url_thumb`='bcprisme/36361_adapteur_flatmount_qm_50_f140-160_mm_vis_inclus.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '557303'
2023-10-13	12:57:27	2022	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:27	2022	[DEBUG]	Executed store
2023-10-13	12:57:27	2022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861514','557303','1')
2023-10-13	12:57:27	2022	[DEBUG]	Store product image relation
2023-10-13	12:57:27	2022	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:27	2022	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861514 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:27	2022	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:27	2022	[DEBUG]	Executed store
2023-10-13	12:57:27	2022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861514','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:27	2022	[DEBUG]	Checking manufacturer
2023-10-13	12:57:27	2022	[DEBUG]	Load a row
2023-10-13	12:57:27	2022	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:27	2022	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:27	2022	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:27	2022	[DEBUG]	Executed store
2023-10-13	12:57:27	2022	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:27	2022	[DEBUG]	Manufacturer exists
2023-10-13	12:57:27	2022	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:57:27	2022	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:27	2022	[DEBUG]	Executed store
2023-10-13	12:57:27	2022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861514','38')
2023-10-13	12:57:27	2022	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:27	2022	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:27	2022	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861514 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:27	2022	[DEBUG]	Store custom available field
2023-10-13	12:57:27	2022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861514,3,'',1)
2023-10-13	12:57:27	2022	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:27	2022	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:27	2022	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861514 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:27	2022	[DEBUG]	Store custom available field
2023-10-13	12:57:27	2022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861514,6,'Unitaire',3)
2023-10-13	12:57:27	2022	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:27	2022	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:27	2022	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861513
2023-10-13	12:57:27	2022	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:27	2022	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861513\":[1861513,8,1,\"choisir la taille\"],\"1861514\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861513
2023-10-13	12:57:27	2022	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:27	2022	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861514
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:27	2023	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field taille
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:27	2023	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:27	2023	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:27	2023	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:27	2023	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:27	2023	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:27	2023	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field published
2023-10-13	12:57:27	2023	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:27	2023	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field override
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:27	2023	[DEBUG]	Use field value for field slug
2023-10-13	12:57:27	2023	[DEBUG]	Process line 2023
2023-10-13	12:57:27	2023	[DEBUG]	Load a row
2023-10-13	12:57:27	2023	[DEBUG]	Processing item: A_8722_1
2023-10-13	12:57:27	2023	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:27	2023	[DEBUG]	Processing product tax
2023-10-13	12:57:27	2023	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:27	2023	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:27	2023	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:27	2023	[DEBUG]	Query for Product
2023-10-13	12:57:27	2023	[DEBUG]	Executed store
2023-10-13	12:57:27	2023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8722_1','0.022','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:27	2023	[DEBUG]	Check product language entry
2023-10-13	12:57:27	2023	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861515
2023-10-13	12:57:27	2023	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:27	2023	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8722_1' AND `virtuemart_product_id` != 1861515
2023-10-13	12:57:27	2023	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:27	2023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861515, 'A_8722_1')
2023-10-13	12:57:27	2023	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:27	2023	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-adaptateur-pour-freins-a-disque-qm46-pm-203-220-mm-noir' AND `virtuemart_product_id` != 1861515
2023-10-13	12:57:27	2023	[DEBUG]	Query for ProductLang
2023-10-13	12:57:27	2023	[DEBUG]	Executed store
2023-10-13	12:57:27	2023	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Adaptateur de qualité réduisant le bruit lors de freinage<br>N° art fourn : H8793W',`product_name`='MAGURA Adaptateur pour freins à disque QM46 PM 203/220 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-adaptateur-pour-freins-a-disque-qm46-pm-203-220-mm-noir' WHERE `virtuemart_product_id` = '1861515'
2023-10-13	12:57:27	2023	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37683_adaptateur_pour_freins_à_disque_qm46_pm_203-220_mm.jpg
2023-10-13	12:57:27	2023	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:27	2023	[DEBUG]	Process image file
2023-10-13	12:57:27	2023	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:27	2023	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:27	2023	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37683_adaptateur_pour_freins_à_disque_qm46_pm_203-220_mm.jpg
2023-10-13	12:57:27	2023	[DEBUG]	Full name target: bcprisme/37683_adaptateur_pour_freins_à_disque_qm46_pm_203-220_mm.jpg
2023-10-13	12:57:28	2023	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:28	2023	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37683_adaptateur_pour_freins_à_disque_qm46_pm_203-220_mm.jpg'
2023-10-13	12:57:28	2023	[DEBUG]	Query for Media
2023-10-13	12:57:28	2023	[DEBUG]	Executed store
2023-10-13	12:57:28	2023	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37683_adaptateur_pour_freins_à_disque_qm46_pm_203-220_mm.jpg',`file_url_thumb`='bcprisme/37683_adaptateur_pour_freins_à_disque_qm46_pm_203-220_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1039927'
2023-10-13	12:57:28	2023	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:28	2023	[DEBUG]	Executed store
2023-10-13	12:57:28	2023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861515','1039927','1')
2023-10-13	12:57:28	2023	[DEBUG]	Store product image relation
2023-10-13	12:57:28	2023	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:28	2023	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861515 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:28	2023	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:28	2023	[DEBUG]	Executed store
2023-10-13	12:57:28	2023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861515','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:28	2023	[DEBUG]	Checking manufacturer
2023-10-13	12:57:28	2023	[DEBUG]	Load a row
2023-10-13	12:57:28	2023	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:28	2023	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:28	2023	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:28	2023	[DEBUG]	Executed store
2023-10-13	12:57:28	2023	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:28	2023	[DEBUG]	Manufacturer exists
2023-10-13	12:57:28	2023	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:57:28	2023	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:28	2023	[DEBUG]	Executed store
2023-10-13	12:57:28	2023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861515','38')
2023-10-13	12:57:28	2023	[DEBUG]	Find the custom field ID
2023-10-13	12:57:28	2023	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:28	2023	[DEBUG]	No custom field ID found
2023-10-13	12:57:28	2023	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:28	2023	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	12:57:28	2023	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861515 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:28	2023	[DEBUG]	Store custom available field
2023-10-13	12:57:28	2023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861515,3,'21.8391666666667',1)
2023-10-13	12:57:28	2023	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:28	2023	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:28	2023	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861515 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:28	2023	[DEBUG]	Store custom available field
2023-10-13	12:57:28	2023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861515,6,'choisir la taille',3)
2023-10-13	12:57:28	2023	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:28	2023	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:28	2023	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:28	2023	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:28	2023	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861515 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:28	2023	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:28	2023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861515,8,1)
2023-10-13	12:57:28	2023	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:28	2023	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861515\":[1861515,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861515
2023-10-13	12:57:28	2023	[DEBUG]	Checking category
2023-10-13	12:57:28	2023	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:28	2023	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861515
2023-10-13	12:57:28	2023	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:28	2023	[DEBUG]	Executed store
2023-10-13	12:57:28	2023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861515','7333')
2023-10-13	12:57:28	2023	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:28	2023	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861515 AND `virtuemart_category_id` NOT IN (7333)
2023-10-13	12:57:28	2023	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:28	2023	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861515
2023-10-13	12:57:28	2024	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:28	2024	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:28	2024	[DEBUG]	Use field value for field taille
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:28	2024	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:28	2024	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:28	2024	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:28	2024	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:28	2024	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:28	2024	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:28	2024	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:28	2024	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:28	2024	[DEBUG]	Use field value for field published
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:28	2024	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field override
2023-10-13	12:57:28	2024	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:28	2024	[DEBUG]	Use field value for field slug
2023-10-13	12:57:28	2024	[DEBUG]	Process line 2024
2023-10-13	12:57:28	2024	[DEBUG]	Load a row
2023-10-13	12:57:28	2024	[DEBUG]	Processing item: 1000000161946
2023-10-13	12:57:28	2024	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:28	2024	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:28	2024	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8722_1'
2023-10-13	12:57:28	2024	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:28	2024	[DEBUG]	Processing product tax
2023-10-13	12:57:28	2024	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:28	2024	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:28	2024	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:28	2024	[DEBUG]	Query for Product
2023-10-13	12:57:28	2024	[DEBUG]	Executed store
2023-10-13	12:57:28	2024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861515','1000000161946','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:28	2024	[DEBUG]	No parent found
2023-10-13	12:57:28	2024	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861515 AND customfield_value = 'stockable'
2023-10-13	12:57:28	2024	[DEBUG]	Check product language entry
2023-10-13	12:57:28	2024	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861516
2023-10-13	12:57:28	2024	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:28	2024	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000161946' AND `virtuemart_product_id` != 1861516
2023-10-13	12:57:28	2024	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:28	2024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861516, '1000000161946')
2023-10-13	12:57:28	2024	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:28	2024	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-adaptateur-pour-freins-a-disque-qm46-pm-203-220-mm-noir-unitaire' AND `virtuemart_product_id` != 1861516
2023-10-13	12:57:28	2024	[DEBUG]	Query for ProductLang
2023-10-13	12:57:28	2024	[DEBUG]	Executed store
2023-10-13	12:57:28	2024	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Adaptateur pour freins à disque QM46 PM 203/220 mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-adaptateur-pour-freins-a-disque-qm46-pm-203-220-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861516'
2023-10-13	12:57:28	2024	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37683_adaptateur_pour_freins_à_disque_qm46_pm_203-220_mm.jpg
2023-10-13	12:57:28	2024	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:28	2024	[DEBUG]	Process image file
2023-10-13	12:57:28	2024	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:28	2024	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:28	2024	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37683_adaptateur_pour_freins_à_disque_qm46_pm_203-220_mm.jpg
2023-10-13	12:57:28	2024	[DEBUG]	Full name target: bcprisme/37683_adaptateur_pour_freins_à_disque_qm46_pm_203-220_mm.jpg
2023-10-13	12:57:29	2024	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:29	2024	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37683_adaptateur_pour_freins_à_disque_qm46_pm_203-220_mm.jpg'
2023-10-13	12:57:29	2024	[DEBUG]	Query for Media
2023-10-13	12:57:29	2024	[DEBUG]	Executed store
2023-10-13	12:57:29	2024	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37683_adaptateur_pour_freins_à_disque_qm46_pm_203-220_mm.jpg',`file_url_thumb`='bcprisme/37683_adaptateur_pour_freins_à_disque_qm46_pm_203-220_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1039927'
2023-10-13	12:57:29	2024	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:29	2024	[DEBUG]	Executed store
2023-10-13	12:57:29	2024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861516','1039927','1')
2023-10-13	12:57:29	2024	[DEBUG]	Store product image relation
2023-10-13	12:57:29	2024	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:29	2024	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861516 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:29	2024	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:29	2024	[DEBUG]	Executed store
2023-10-13	12:57:29	2024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861516','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:29	2024	[DEBUG]	Checking manufacturer
2023-10-13	12:57:29	2024	[DEBUG]	Load a row
2023-10-13	12:57:29	2024	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:29	2024	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:29	2024	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:29	2024	[DEBUG]	Executed store
2023-10-13	12:57:29	2024	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:57:29	2024	[DEBUG]	Manufacturer exists
2023-10-13	12:57:29	2024	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:57:29	2024	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:29	2024	[DEBUG]	Executed store
2023-10-13	12:57:29	2024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861516','38')
2023-10-13	12:57:29	2024	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:29	2024	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:29	2024	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861516 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:29	2024	[DEBUG]	Store custom available field
2023-10-13	12:57:29	2024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861516,3,'',1)
2023-10-13	12:57:29	2024	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:29	2024	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:29	2024	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861516 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:29	2024	[DEBUG]	Store custom available field
2023-10-13	12:57:29	2024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861516,6,'Unitaire',3)
2023-10-13	12:57:29	2024	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:29	2024	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:29	2024	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861515
2023-10-13	12:57:29	2024	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:29	2024	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861515\":[1861515,8,1,\"choisir la taille\"],\"1861516\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861515
2023-10-13	12:57:29	2024	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:29	2024	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861516
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:29	2025	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field taille
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:29	2025	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:29	2025	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:29	2025	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:29	2025	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:29	2025	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:29	2025	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field published
2023-10-13	12:57:29	2025	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:29	2025	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field override
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:29	2025	[DEBUG]	Use field value for field slug
2023-10-13	12:57:29	2025	[DEBUG]	Process line 2025
2023-10-13	12:57:29	2025	[DEBUG]	Load a row
2023-10-13	12:57:29	2025	[DEBUG]	Processing item: A_9148_208
2023-10-13	12:57:29	2025	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:29	2025	[DEBUG]	Processing product tax
2023-10-13	12:57:29	2025	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:29	2025	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:29	2025	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:29	2025	[DEBUG]	Query for Product
2023-10-13	12:57:29	2025	[DEBUG]	Executed store
2023-10-13	12:57:29	2025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9148_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:29	2025	[DEBUG]	Check product language entry
2023-10-13	12:57:29	2025	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861517
2023-10-13	12:57:29	2025	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:29	2025	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9148_208' AND `virtuemart_product_id` != 1861517
2023-10-13	12:57:29	2025	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:29	2025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861517, 'A_9148_208')
2023-10-13	12:57:29	2025	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:29	2025	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-sm-ma90-avant-postmount-180-postmount-203mm-a-vis-box-aucune' AND `virtuemart_product_id` != 1861517
2023-10-13	12:57:29	2025	[DEBUG]	Query for ProductLang
2023-10-13	12:57:29	2025	[DEBUG]	Executed store
2023-10-13	12:57:29	2025	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 71.63476',`product_name`='SHIMANO Adaptateur SM-MA90 avant Postmount 180> Postmount 203mm a.vis box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-sm-ma90-avant-postmount-180-postmount-203mm-a-vis-box-aucune' WHERE `virtuemart_product_id` = '1861517'
2023-10-13	12:57:29	2025	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_3611.jpg
2023-10-13	12:57:29	2025	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:29	2025	[DEBUG]	Process image file
2023-10-13	12:57:29	2025	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:29	2025	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:29	2025	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_3611.jpg
2023-10-13	12:57:29	2025	[DEBUG]	Full name target: bcprisme/71_3611.jpg
2023-10-13	12:57:30	2025	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:30	2025	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/71_3611.jpg'
2023-10-13	12:57:30	2025	[DEBUG]	Query for Media
2023-10-13	12:57:30	2025	[DEBUG]	Executed store
2023-10-13	12:57:30	2025	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/71_3611.jpg',`file_url_thumb`='bcprisme/71_3611.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185021'
2023-10-13	12:57:30	2025	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:30	2025	[DEBUG]	Executed store
2023-10-13	12:57:30	2025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861517','1185021','1')
2023-10-13	12:57:30	2025	[DEBUG]	Store product image relation
2023-10-13	12:57:30	2025	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:30	2025	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861517 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:30	2025	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:30	2025	[DEBUG]	Executed store
2023-10-13	12:57:30	2025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861517','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:30	2025	[DEBUG]	Checking manufacturer
2023-10-13	12:57:30	2025	[DEBUG]	Load a row
2023-10-13	12:57:30	2025	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:30	2025	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:57:30	2025	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:30	2025	[DEBUG]	Executed store
2023-10-13	12:57:30	2025	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:57:30	2025	[DEBUG]	Manufacturer exists
2023-10-13	12:57:30	2025	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:57:30	2025	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:30	2025	[DEBUG]	Executed store
2023-10-13	12:57:30	2025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861517','26')
2023-10-13	12:57:30	2025	[DEBUG]	Find the custom field ID
2023-10-13	12:57:30	2025	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:30	2025	[DEBUG]	No custom field ID found
2023-10-13	12:57:30	2025	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:30	2025	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:30	2025	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861517 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:30	2025	[DEBUG]	Store custom available field
2023-10-13	12:57:30	2025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861517,3,'0',1)
2023-10-13	12:57:30	2025	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:30	2025	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:30	2025	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861517 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:30	2025	[DEBUG]	Store custom available field
2023-10-13	12:57:30	2025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861517,6,'choisir la taille',3)
2023-10-13	12:57:30	2025	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:30	2025	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:30	2025	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:30	2025	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:30	2025	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861517 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:30	2025	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:30	2025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861517,8,1)
2023-10-13	12:57:30	2025	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:30	2025	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861517\":[1861517,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861517
2023-10-13	12:57:30	2025	[DEBUG]	Checking category
2023-10-13	12:57:30	2025	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:30	2025	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861517
2023-10-13	12:57:30	2025	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:30	2025	[DEBUG]	Executed store
2023-10-13	12:57:30	2025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861517','7333')
2023-10-13	12:57:30	2025	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:30	2025	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861517 AND `virtuemart_category_id` NOT IN (7333)
2023-10-13	12:57:30	2025	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:30	2025	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861517
2023-10-13	12:57:30	2026	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:30	2026	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:30	2026	[DEBUG]	Use field value for field taille
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:30	2026	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:30	2026	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:30	2026	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:30	2026	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:30	2026	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:30	2026	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:30	2026	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:30	2026	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:30	2026	[DEBUG]	Use field value for field published
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:30	2026	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field override
2023-10-13	12:57:30	2026	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:30	2026	[DEBUG]	Use field value for field slug
2023-10-13	12:57:30	2026	[DEBUG]	Process line 2026
2023-10-13	12:57:30	2026	[DEBUG]	Load a row
2023-10-13	12:57:30	2026	[DEBUG]	Processing item: 4524667887430
2023-10-13	12:57:30	2026	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:30	2026	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:30	2026	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9148_208'
2023-10-13	12:57:30	2026	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:30	2026	[DEBUG]	Processing product tax
2023-10-13	12:57:30	2026	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:30	2026	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:30	2026	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:30	2026	[DEBUG]	Query for Product
2023-10-13	12:57:30	2026	[DEBUG]	Executed store
2023-10-13	12:57:30	2026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861517','4524667887430','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:30	2026	[DEBUG]	No parent found
2023-10-13	12:57:30	2026	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861517 AND customfield_value = 'stockable'
2023-10-13	12:57:30	2026	[DEBUG]	Check product language entry
2023-10-13	12:57:30	2026	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861518
2023-10-13	12:57:30	2026	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:30	2026	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667887430' AND `virtuemart_product_id` != 1861518
2023-10-13	12:57:30	2026	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:30	2026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861518, '4524667887430')
2023-10-13	12:57:30	2026	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:30	2026	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-sm-ma90-avant-postmount-180-postmount-203mm-a-vis-box-aucune-unitaire' AND `virtuemart_product_id` != 1861518
2023-10-13	12:57:30	2026	[DEBUG]	Query for ProductLang
2023-10-13	12:57:30	2026	[DEBUG]	Executed store
2023-10-13	12:57:30	2026	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Adaptateur SM-MA90 avant Postmount 180> Postmount 203mm a.vis box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-sm-ma90-avant-postmount-180-postmount-203mm-a-vis-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861518'
2023-10-13	12:57:30	2026	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_3611.jpg
2023-10-13	12:57:30	2026	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:30	2026	[DEBUG]	Process image file
2023-10-13	12:57:30	2026	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:30	2026	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:30	2026	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_3611.jpg
2023-10-13	12:57:30	2026	[DEBUG]	Full name target: bcprisme/71_3611.jpg
2023-10-13	12:57:31	2026	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:31	2026	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/71_3611.jpg'
2023-10-13	12:57:31	2026	[DEBUG]	Query for Media
2023-10-13	12:57:31	2026	[DEBUG]	Executed store
2023-10-13	12:57:31	2026	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/71_3611.jpg',`file_url_thumb`='bcprisme/71_3611.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185021'
2023-10-13	12:57:31	2026	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:31	2026	[DEBUG]	Executed store
2023-10-13	12:57:31	2026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861518','1185021','1')
2023-10-13	12:57:31	2026	[DEBUG]	Store product image relation
2023-10-13	12:57:31	2026	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:31	2026	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861518 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:31	2026	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:31	2026	[DEBUG]	Executed store
2023-10-13	12:57:31	2026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861518','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:31	2026	[DEBUG]	Checking manufacturer
2023-10-13	12:57:31	2026	[DEBUG]	Load a row
2023-10-13	12:57:31	2026	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:31	2026	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:57:31	2026	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:31	2026	[DEBUG]	Executed store
2023-10-13	12:57:31	2026	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:57:31	2026	[DEBUG]	Manufacturer exists
2023-10-13	12:57:31	2026	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:57:31	2026	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:31	2026	[DEBUG]	Executed store
2023-10-13	12:57:31	2026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861518','26')
2023-10-13	12:57:31	2026	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:31	2026	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:31	2026	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861518 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:31	2026	[DEBUG]	Store custom available field
2023-10-13	12:57:31	2026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861518,3,'',1)
2023-10-13	12:57:31	2026	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:31	2026	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:31	2026	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861518 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:31	2026	[DEBUG]	Store custom available field
2023-10-13	12:57:31	2026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861518,6,'Unitaire',3)
2023-10-13	12:57:31	2026	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:31	2026	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:31	2026	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861517
2023-10-13	12:57:31	2026	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:31	2026	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861517\":[1861517,8,1,\"choisir la taille\"],\"1861518\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861517
2023-10-13	12:57:31	2026	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:31	2026	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861518
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:31	2027	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field taille
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:31	2027	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:31	2027	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:31	2027	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:31	2027	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:31	2027	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:31	2027	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field published
2023-10-13	12:57:31	2027	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:31	2027	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field override
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:31	2027	[DEBUG]	Use field value for field slug
2023-10-13	12:57:31	2027	[DEBUG]	Process line 2027
2023-10-13	12:57:31	2027	[DEBUG]	Load a row
2023-10-13	12:57:31	2027	[DEBUG]	Processing item: A_9526_208
2023-10-13	12:57:31	2027	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:31	2027	[DEBUG]	Processing product tax
2023-10-13	12:57:31	2027	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:31	2027	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:31	2027	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:31	2027	[DEBUG]	Query for Product
2023-10-13	12:57:31	2027	[DEBUG]	Executed store
2023-10-13	12:57:31	2027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9526_208','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:31	2027	[DEBUG]	Check product language entry
2023-10-13	12:57:31	2027	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861519
2023-10-13	12:57:31	2027	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:31	2027	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9526_208' AND `virtuemart_product_id` != 1861519
2023-10-13	12:57:31	2027	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:31	2027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861519, 'A_9526_208')
2023-10-13	12:57:31	2027	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:31	2027	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-sm-ma90-avant-postmount-180-postmount-203-avec-vis-fil-aucune' AND `virtuemart_product_id` != 1861519
2023-10-13	12:57:31	2027	[DEBUG]	Query for ProductLang
2023-10-13	12:57:31	2027	[DEBUG]	Executed store
2023-10-13	12:57:31	2027	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.61928',`product_name`='SHIMANO Adaptateur SM-MA90 avant Postmount 180>Postmount 203 avec vis/fil / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-sm-ma90-avant-postmount-180-postmount-203-avec-vis-fil-aucune' WHERE `virtuemart_product_id` = '1861519'
2023-10-13	12:57:31	2027	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_3611.jpg
2023-10-13	12:57:31	2027	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:31	2027	[DEBUG]	Process image file
2023-10-13	12:57:31	2027	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:31	2027	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:31	2027	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_3611.jpg
2023-10-13	12:57:31	2027	[DEBUG]	Full name target: bcprisme/71_3611.jpg
2023-10-13	12:57:32	2027	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:32	2027	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/71_3611.jpg'
2023-10-13	12:57:32	2027	[DEBUG]	Query for Media
2023-10-13	12:57:32	2027	[DEBUG]	Executed store
2023-10-13	12:57:32	2027	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/71_3611.jpg',`file_url_thumb`='bcprisme/71_3611.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185021'
2023-10-13	12:57:32	2027	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:32	2027	[DEBUG]	Executed store
2023-10-13	12:57:32	2027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861519','1185021','1')
2023-10-13	12:57:32	2027	[DEBUG]	Store product image relation
2023-10-13	12:57:32	2027	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:32	2027	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861519 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:32	2027	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:32	2027	[DEBUG]	Executed store
2023-10-13	12:57:32	2027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861519','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:32	2027	[DEBUG]	Checking manufacturer
2023-10-13	12:57:32	2027	[DEBUG]	Load a row
2023-10-13	12:57:32	2027	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:32	2027	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:57:32	2027	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:32	2027	[DEBUG]	Executed store
2023-10-13	12:57:32	2027	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:57:32	2027	[DEBUG]	Manufacturer exists
2023-10-13	12:57:32	2027	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:57:32	2027	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:32	2027	[DEBUG]	Executed store
2023-10-13	12:57:32	2027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861519','26')
2023-10-13	12:57:32	2027	[DEBUG]	Find the custom field ID
2023-10-13	12:57:32	2027	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:32	2027	[DEBUG]	No custom field ID found
2023-10-13	12:57:32	2027	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:32	2027	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:32	2027	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861519 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:32	2027	[DEBUG]	Store custom available field
2023-10-13	12:57:32	2027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861519,3,'0',1)
2023-10-13	12:57:32	2027	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:32	2027	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:32	2027	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861519 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:32	2027	[DEBUG]	Store custom available field
2023-10-13	12:57:32	2027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861519,6,'choisir la taille',3)
2023-10-13	12:57:32	2027	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:32	2027	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:32	2027	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:32	2027	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:32	2027	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861519 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:32	2027	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:32	2027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861519,8,1)
2023-10-13	12:57:32	2027	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:32	2027	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861519\":[1861519,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861519
2023-10-13	12:57:32	2027	[DEBUG]	Checking category
2023-10-13	12:57:32	2027	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:32	2027	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861519
2023-10-13	12:57:32	2027	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:32	2027	[DEBUG]	Executed store
2023-10-13	12:57:32	2027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861519','7333')
2023-10-13	12:57:32	2027	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:32	2027	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861519 AND `virtuemart_category_id` NOT IN (7333)
2023-10-13	12:57:32	2027	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:32	2027	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861519
2023-10-13	12:57:32	2028	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:32	2028	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:32	2028	[DEBUG]	Use field value for field taille
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:32	2028	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:32	2028	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:32	2028	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:32	2028	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:32	2028	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:32	2028	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:32	2028	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:32	2028	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:32	2028	[DEBUG]	Use field value for field published
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:32	2028	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field override
2023-10-13	12:57:32	2028	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:32	2028	[DEBUG]	Use field value for field slug
2023-10-13	12:57:32	2028	[DEBUG]	Process line 2028
2023-10-13	12:57:32	2028	[DEBUG]	Load a row
2023-10-13	12:57:32	2028	[DEBUG]	Processing item: 4550170506117
2023-10-13	12:57:32	2028	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:32	2028	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:32	2028	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9526_208'
2023-10-13	12:57:32	2028	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:32	2028	[DEBUG]	Processing product tax
2023-10-13	12:57:32	2028	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:32	2028	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:32	2028	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:32	2028	[DEBUG]	Query for Product
2023-10-13	12:57:32	2028	[DEBUG]	Executed store
2023-10-13	12:57:32	2028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861519','4550170506117','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:32	2028	[DEBUG]	No parent found
2023-10-13	12:57:32	2028	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861519 AND customfield_value = 'stockable'
2023-10-13	12:57:32	2028	[DEBUG]	Check product language entry
2023-10-13	12:57:32	2028	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861520
2023-10-13	12:57:32	2028	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:32	2028	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170506117' AND `virtuemart_product_id` != 1861520
2023-10-13	12:57:32	2028	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:32	2028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861520, '4550170506117')
2023-10-13	12:57:32	2028	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:32	2028	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-sm-ma90-avant-postmount-180-postmount-203-avec-vis-fil-aucune-unitaire' AND `virtuemart_product_id` != 1861520
2023-10-13	12:57:32	2028	[DEBUG]	Query for ProductLang
2023-10-13	12:57:32	2028	[DEBUG]	Executed store
2023-10-13	12:57:32	2028	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Adaptateur SM-MA90 avant Postmount 180>Postmount 203 avec vis/fil / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-sm-ma90-avant-postmount-180-postmount-203-avec-vis-fil-aucune-unitaire' WHERE `virtuemart_product_id` = '1861520'
2023-10-13	12:57:32	2028	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_3611.jpg
2023-10-13	12:57:32	2028	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:32	2028	[DEBUG]	Process image file
2023-10-13	12:57:32	2028	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:32	2028	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:32	2028	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_3611.jpg
2023-10-13	12:57:32	2028	[DEBUG]	Full name target: bcprisme/71_3611.jpg
2023-10-13	12:57:33	2028	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:33	2028	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/71_3611.jpg'
2023-10-13	12:57:33	2028	[DEBUG]	Query for Media
2023-10-13	12:57:33	2028	[DEBUG]	Executed store
2023-10-13	12:57:33	2028	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/71_3611.jpg',`file_url_thumb`='bcprisme/71_3611.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185021'
2023-10-13	12:57:33	2028	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:33	2028	[DEBUG]	Executed store
2023-10-13	12:57:33	2028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861520','1185021','1')
2023-10-13	12:57:33	2028	[DEBUG]	Store product image relation
2023-10-13	12:57:33	2028	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:33	2028	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861520 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:33	2028	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:33	2028	[DEBUG]	Executed store
2023-10-13	12:57:33	2028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861520','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:33	2028	[DEBUG]	Checking manufacturer
2023-10-13	12:57:33	2028	[DEBUG]	Load a row
2023-10-13	12:57:33	2028	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:33	2028	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:57:33	2028	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:33	2028	[DEBUG]	Executed store
2023-10-13	12:57:33	2028	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:57:33	2028	[DEBUG]	Manufacturer exists
2023-10-13	12:57:33	2028	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:57:33	2028	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:33	2028	[DEBUG]	Executed store
2023-10-13	12:57:33	2028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861520','26')
2023-10-13	12:57:33	2028	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:33	2028	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:33	2028	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861520 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:33	2028	[DEBUG]	Store custom available field
2023-10-13	12:57:33	2028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861520,3,'',1)
2023-10-13	12:57:33	2028	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:33	2028	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:33	2028	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861520 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:33	2028	[DEBUG]	Store custom available field
2023-10-13	12:57:33	2028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861520,6,'Unitaire',3)
2023-10-13	12:57:33	2028	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:33	2028	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:33	2028	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861519
2023-10-13	12:57:33	2028	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:33	2028	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861519\":[1861519,8,1,\"choisir la taille\"],\"1861520\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861519
2023-10-13	12:57:33	2028	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:33	2028	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861520
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:33	2029	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field taille
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:33	2029	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:33	2029	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:33	2029	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:33	2029	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:33	2029	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:33	2029	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field published
2023-10-13	12:57:33	2029	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:33	2029	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field override
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:33	2029	[DEBUG]	Use field value for field slug
2023-10-13	12:57:33	2029	[DEBUG]	Process line 2029
2023-10-13	12:57:33	2029	[DEBUG]	Load a row
2023-10-13	12:57:33	2029	[DEBUG]	Processing item: A_6363_208
2023-10-13	12:57:33	2029	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:33	2029	[DEBUG]	Processing product tax
2023-10-13	12:57:33	2029	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:33	2029	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:33	2029	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:33	2029	[DEBUG]	Query for Product
2023-10-13	12:57:33	2029	[DEBUG]	Executed store
2023-10-13	12:57:33	2029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6363_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:33	2029	[DEBUG]	Check product language entry
2023-10-13	12:57:33	2029	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861521
2023-10-13	12:57:33	2029	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:33	2029	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6363_208' AND `virtuemart_product_id` != 1861521
2023-10-13	12:57:33	2029	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:33	2029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861521, 'A_6363_208')
2023-10-13	12:57:33	2029	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:33	2029	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-disque-de-frein-6-trous-disque---moyeu-center-lock-box-aucune' AND `virtuemart_product_id` != 1861521
2023-10-13	12:57:33	2029	[DEBUG]	Query for ProductLang
2023-10-13	12:57:33	2029	[DEBUG]	Executed store
2023-10-13	12:57:33	2029	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.55054',`product_name`='SHIMANO Adaptateur disque de frein 6-trous disque -> moyeu Center-Lock Box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-disque-de-frein-6-trous-disque---moyeu-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861521'
2023-10-13	12:57:33	2029	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32249_shimano_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box.jpg
2023-10-13	12:57:33	2029	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:33	2029	[DEBUG]	Process image file
2023-10-13	12:57:33	2029	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:33	2029	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:33	2029	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32249_shimano_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box.jpg
2023-10-13	12:57:33	2029	[DEBUG]	Full name target: bcprisme/32249_shimano_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box.jpg
2023-10-13	12:57:34	2029	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:34	2029	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32249_shimano_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box.jpg'
2023-10-13	12:57:34	2029	[DEBUG]	Query for Media
2023-10-13	12:57:34	2029	[DEBUG]	Executed store
2023-10-13	12:57:34	2029	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32249_shimano_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box.jpg',`file_url_thumb`='bcprisme/32249_shimano_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15263'
2023-10-13	12:57:34	2029	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:34	2029	[DEBUG]	Executed store
2023-10-13	12:57:34	2029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861521','15263','1')
2023-10-13	12:57:34	2029	[DEBUG]	Store product image relation
2023-10-13	12:57:34	2029	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:34	2029	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861521 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:34	2029	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:34	2029	[DEBUG]	Executed store
2023-10-13	12:57:34	2029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861521','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:34	2029	[DEBUG]	Checking manufacturer
2023-10-13	12:57:34	2029	[DEBUG]	Load a row
2023-10-13	12:57:34	2029	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:34	2029	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:34	2029	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:34	2029	[DEBUG]	Executed store
2023-10-13	12:57:34	2029	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:34	2029	[DEBUG]	Manufacturer exists
2023-10-13	12:57:34	2029	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:57:34	2029	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:34	2029	[DEBUG]	Executed store
2023-10-13	12:57:34	2029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861521','123')
2023-10-13	12:57:34	2029	[DEBUG]	Find the custom field ID
2023-10-13	12:57:34	2029	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:34	2029	[DEBUG]	No custom field ID found
2023-10-13	12:57:34	2029	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:34	2029	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:34	2029	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861521 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:34	2029	[DEBUG]	Store custom available field
2023-10-13	12:57:34	2029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861521,3,'0',1)
2023-10-13	12:57:34	2029	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:34	2029	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:34	2029	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861521 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:34	2029	[DEBUG]	Store custom available field
2023-10-13	12:57:34	2029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861521,6,'choisir la taille',3)
2023-10-13	12:57:34	2029	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:34	2029	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:34	2029	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:34	2029	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:34	2029	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861521 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:34	2029	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:34	2029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861521,8,1)
2023-10-13	12:57:34	2029	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:34	2029	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861521\":[1861521,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861521
2023-10-13	12:57:34	2029	[DEBUG]	Checking category
2023-10-13	12:57:34	2029	[DEBUG]	Check if category path exists: FREINS / ADAPTATEURS DISQUES - BREMSE / DISC ADAPTER
2023-10-13	12:57:34	2029	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / ADAPTATEURS DISQUES - BREMSE / DISC ADAPTER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:57:34	2029	[DEBUG]	Check if category path exists: ACCESSOIRES FREINS - BREMSEZUBEHÖRTEILE
2023-10-13	12:57:34	2029	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'ACCESSOIRES FREINS - BREMSEZUBEHÖRTEILE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7334
2023-10-13	12:57:34	2029	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:34	2029	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861521
2023-10-13	12:57:34	2029	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:34	2029	[DEBUG]	Executed store
2023-10-13	12:57:34	2029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861521','7335')
2023-10-13	12:57:34	2029	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:34	2029	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861521 AND `virtuemart_category_id` NOT IN (7335)
2023-10-13	12:57:34	2029	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:34	2029	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861521
2023-10-13	12:57:34	2030	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:34	2030	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:34	2030	[DEBUG]	Use field value for field taille
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:34	2030	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:34	2030	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:34	2030	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:34	2030	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:34	2030	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:34	2030	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:34	2030	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:34	2030	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:34	2030	[DEBUG]	Use field value for field published
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:34	2030	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field override
2023-10-13	12:57:34	2030	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:34	2030	[DEBUG]	Use field value for field slug
2023-10-13	12:57:34	2030	[DEBUG]	Process line 2030
2023-10-13	12:57:34	2030	[DEBUG]	Load a row
2023-10-13	12:57:34	2030	[DEBUG]	Processing item: 4524667354673
2023-10-13	12:57:34	2030	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:34	2030	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:34	2030	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6363_208'
2023-10-13	12:57:34	2030	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:34	2030	[DEBUG]	Processing product tax
2023-10-13	12:57:34	2030	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:34	2030	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:34	2030	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:34	2030	[DEBUG]	Query for Product
2023-10-13	12:57:34	2030	[DEBUG]	Executed store
2023-10-13	12:57:34	2030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861521','4524667354673','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:34	2030	[DEBUG]	No parent found
2023-10-13	12:57:34	2030	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861521 AND customfield_value = 'stockable'
2023-10-13	12:57:34	2030	[DEBUG]	Check product language entry
2023-10-13	12:57:34	2030	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861522
2023-10-13	12:57:34	2030	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:34	2030	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667354673' AND `virtuemart_product_id` != 1861522
2023-10-13	12:57:34	2030	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:34	2030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861522, '4524667354673')
2023-10-13	12:57:34	2030	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:34	2030	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-disque-de-frein-6-trous-disque---moyeu-center-lock-box-aucune-all' AND `virtuemart_product_id` != 1861522
2023-10-13	12:57:34	2030	[DEBUG]	Query for ProductLang
2023-10-13	12:57:34	2030	[DEBUG]	Executed store
2023-10-13	12:57:34	2030	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Adaptateur disque de frein 6-trous disque -> moyeu Center-Lock Box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-disque-de-frein-6-trous-disque---moyeu-center-lock-box-aucune-all' WHERE `virtuemart_product_id` = '1861522'
2023-10-13	12:57:34	2030	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32249_shimano_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box.jpg
2023-10-13	12:57:34	2030	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:34	2030	[DEBUG]	Process image file
2023-10-13	12:57:34	2030	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:34	2030	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:34	2030	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32249_shimano_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box.jpg
2023-10-13	12:57:34	2030	[DEBUG]	Full name target: bcprisme/32249_shimano_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box.jpg
2023-10-13	12:57:35	2030	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:35	2030	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32249_shimano_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box.jpg'
2023-10-13	12:57:35	2030	[DEBUG]	Query for Media
2023-10-13	12:57:35	2030	[DEBUG]	Executed store
2023-10-13	12:57:35	2030	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32249_shimano_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box.jpg',`file_url_thumb`='bcprisme/32249_shimano_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15263'
2023-10-13	12:57:35	2030	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:35	2030	[DEBUG]	Executed store
2023-10-13	12:57:35	2030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861522','15263','1')
2023-10-13	12:57:35	2030	[DEBUG]	Store product image relation
2023-10-13	12:57:35	2030	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:35	2030	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861522 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:35	2030	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:35	2030	[DEBUG]	Executed store
2023-10-13	12:57:35	2030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861522','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:35	2030	[DEBUG]	Checking manufacturer
2023-10-13	12:57:35	2030	[DEBUG]	Load a row
2023-10-13	12:57:35	2030	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:35	2030	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:35	2030	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:35	2030	[DEBUG]	Executed store
2023-10-13	12:57:35	2030	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:35	2030	[DEBUG]	Manufacturer exists
2023-10-13	12:57:35	2030	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:57:35	2030	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:35	2030	[DEBUG]	Executed store
2023-10-13	12:57:35	2030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861522','123')
2023-10-13	12:57:35	2030	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:35	2030	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:35	2030	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861522 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:35	2030	[DEBUG]	Store custom available field
2023-10-13	12:57:35	2030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861522,3,'',1)
2023-10-13	12:57:35	2030	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:35	2030	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:57:35	2030	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861522 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:35	2030	[DEBUG]	Store custom available field
2023-10-13	12:57:35	2030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861522,6,'All',3)
2023-10-13	12:57:35	2030	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:35	2030	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:35	2030	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861521
2023-10-13	12:57:35	2030	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:35	2030	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861521\":[1861521,8,1,\"choisir la taille\"],\"1861522\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861521
2023-10-13	12:57:35	2030	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:35	2030	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861522
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:35	2031	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field taille
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:35	2031	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:35	2031	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:35	2031	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:35	2031	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:35	2031	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:35	2031	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field published
2023-10-13	12:57:35	2031	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:35	2031	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field override
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:35	2031	[DEBUG]	Use field value for field slug
2023-10-13	12:57:35	2031	[DEBUG]	Process line 2031
2023-10-13	12:57:35	2031	[DEBUG]	Load a row
2023-10-13	12:57:35	2031	[DEBUG]	Processing item: A_6522_208
2023-10-13	12:57:35	2031	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:35	2031	[DEBUG]	Processing product tax
2023-10-13	12:57:35	2031	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:35	2031	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:35	2031	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:35	2031	[DEBUG]	Query for Product
2023-10-13	12:57:35	2031	[DEBUG]	Executed store
2023-10-13	12:57:35	2031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6522_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:35	2031	[DEBUG]	Check product language entry
2023-10-13	12:57:35	2031	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861523
2023-10-13	12:57:35	2031	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:35	2031	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6522_208' AND `virtuemart_product_id` != 1861523
2023-10-13	12:57:35	2031	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:35	2031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861523, 'A_6522_208')
2023-10-13	12:57:35	2031	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:35	2031	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-sm-ma-avant-postmount-postmount-180-mm-avec-vis-box-aucune' AND `virtuemart_product_id` != 1861523
2023-10-13	12:57:35	2031	[DEBUG]	Query for ProductLang
2023-10-13	12:57:35	2031	[DEBUG]	Executed store
2023-10-13	12:57:35	2031	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.49694',`product_name`='SHIMANO Adaptateur SM-MA avant Postmount Postmount 180 mm avec vis box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-sm-ma-avant-postmount-postmount-180-mm-avec-vis-box-aucune' WHERE `virtuemart_product_id` = '1861523'
2023-10-13	12:57:35	2031	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32402_shimano_adaptateur_sm-ma_avant_postmount_postmount_180_mm_avec_vis_box.jpg
2023-10-13	12:57:35	2031	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:35	2031	[DEBUG]	Process image file
2023-10-13	12:57:35	2031	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:35	2031	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:35	2031	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32402_shimano_adaptateur_sm-ma_avant_postmount_postmount_180_mm_avec_vis_box.jpg
2023-10-13	12:57:35	2031	[DEBUG]	Full name target: bcprisme/32402_shimano_adaptateur_sm-ma_avant_postmount_postmount_180_mm_avec_vis_box.jpg
2023-10-13	12:57:36	2031	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:36	2031	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32402_shimano_adaptateur_sm-ma_avant_postmount_postmount_180_mm_avec_vis_box.jpg'
2023-10-13	12:57:36	2031	[DEBUG]	Query for Media
2023-10-13	12:57:36	2031	[DEBUG]	Executed store
2023-10-13	12:57:36	2031	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32402_shimano_adaptateur_sm-ma_avant_postmount_postmount_180_mm_avec_vis_box.jpg',`file_url_thumb`='bcprisme/32402_shimano_adaptateur_sm-ma_avant_postmount_postmount_180_mm_avec_vis_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12758'
2023-10-13	12:57:36	2031	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:36	2031	[DEBUG]	Executed store
2023-10-13	12:57:36	2031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861523','12758','1')
2023-10-13	12:57:36	2031	[DEBUG]	Store product image relation
2023-10-13	12:57:36	2031	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:36	2031	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861523 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:36	2031	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:36	2031	[DEBUG]	Executed store
2023-10-13	12:57:36	2031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861523','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:36	2031	[DEBUG]	Checking manufacturer
2023-10-13	12:57:36	2031	[DEBUG]	Load a row
2023-10-13	12:57:36	2031	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:36	2031	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:36	2031	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:36	2031	[DEBUG]	Executed store
2023-10-13	12:57:36	2031	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:36	2031	[DEBUG]	Manufacturer exists
2023-10-13	12:57:36	2031	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:57:36	2031	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:36	2031	[DEBUG]	Executed store
2023-10-13	12:57:36	2031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861523','123')
2023-10-13	12:57:36	2031	[DEBUG]	Find the custom field ID
2023-10-13	12:57:36	2031	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:36	2031	[DEBUG]	No custom field ID found
2023-10-13	12:57:36	2031	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:36	2031	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:36	2031	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861523 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:36	2031	[DEBUG]	Store custom available field
2023-10-13	12:57:36	2031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861523,3,'0',1)
2023-10-13	12:57:36	2031	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:36	2031	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:36	2031	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861523 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:36	2031	[DEBUG]	Store custom available field
2023-10-13	12:57:36	2031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861523,6,'choisir la taille',3)
2023-10-13	12:57:36	2031	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:36	2031	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:36	2031	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:36	2031	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:36	2031	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861523 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:36	2031	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:36	2031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861523,8,1)
2023-10-13	12:57:36	2031	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:36	2031	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861523\":[1861523,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861523
2023-10-13	12:57:36	2031	[DEBUG]	Checking category
2023-10-13	12:57:36	2031	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:36	2031	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861523
2023-10-13	12:57:36	2031	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:36	2031	[DEBUG]	Executed store
2023-10-13	12:57:36	2031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861523','7335')
2023-10-13	12:57:36	2031	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:36	2031	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861523 AND `virtuemart_category_id` NOT IN (7335)
2023-10-13	12:57:36	2031	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:36	2031	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861523
2023-10-13	12:57:36	2032	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:36	2032	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:36	2032	[DEBUG]	Use field value for field taille
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:36	2032	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:36	2032	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:36	2032	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:36	2032	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:36	2032	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:36	2032	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:36	2032	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:36	2032	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:36	2032	[DEBUG]	Use field value for field published
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:36	2032	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field override
2023-10-13	12:57:36	2032	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:36	2032	[DEBUG]	Use field value for field slug
2023-10-13	12:57:36	2032	[DEBUG]	Process line 2032
2023-10-13	12:57:36	2032	[DEBUG]	Load a row
2023-10-13	12:57:36	2032	[DEBUG]	Processing item: 4550170506124
2023-10-13	12:57:36	2032	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:36	2032	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:36	2032	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6522_208'
2023-10-13	12:57:36	2032	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:36	2032	[DEBUG]	Processing product tax
2023-10-13	12:57:36	2032	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:36	2032	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:36	2032	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:36	2032	[DEBUG]	Query for Product
2023-10-13	12:57:36	2032	[DEBUG]	Executed store
2023-10-13	12:57:36	2032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861523','4550170506124','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:36	2032	[DEBUG]	No parent found
2023-10-13	12:57:36	2032	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861523 AND customfield_value = 'stockable'
2023-10-13	12:57:36	2032	[DEBUG]	Check product language entry
2023-10-13	12:57:36	2032	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861524
2023-10-13	12:57:36	2032	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:36	2032	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170506124' AND `virtuemart_product_id` != 1861524
2023-10-13	12:57:36	2032	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:36	2032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861524, '4550170506124')
2023-10-13	12:57:36	2032	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:36	2032	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-sm-ma-avant-postmount-postmount-180-mm-avec-vis-box-aucune-all' AND `virtuemart_product_id` != 1861524
2023-10-13	12:57:36	2032	[DEBUG]	Query for ProductLang
2023-10-13	12:57:36	2032	[DEBUG]	Executed store
2023-10-13	12:57:36	2032	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Adaptateur SM-MA avant Postmount Postmount 180 mm avec vis box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-sm-ma-avant-postmount-postmount-180-mm-avec-vis-box-aucune-all' WHERE `virtuemart_product_id` = '1861524'
2023-10-13	12:57:36	2032	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32402_shimano_adaptateur_sm-ma_avant_postmount_postmount_180_mm_avec_vis_box.jpg
2023-10-13	12:57:36	2032	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:36	2032	[DEBUG]	Process image file
2023-10-13	12:57:36	2032	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:36	2032	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:36	2032	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32402_shimano_adaptateur_sm-ma_avant_postmount_postmount_180_mm_avec_vis_box.jpg
2023-10-13	12:57:36	2032	[DEBUG]	Full name target: bcprisme/32402_shimano_adaptateur_sm-ma_avant_postmount_postmount_180_mm_avec_vis_box.jpg
2023-10-13	12:57:37	2032	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:37	2032	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32402_shimano_adaptateur_sm-ma_avant_postmount_postmount_180_mm_avec_vis_box.jpg'
2023-10-13	12:57:37	2032	[DEBUG]	Query for Media
2023-10-13	12:57:37	2032	[DEBUG]	Executed store
2023-10-13	12:57:37	2032	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32402_shimano_adaptateur_sm-ma_avant_postmount_postmount_180_mm_avec_vis_box.jpg',`file_url_thumb`='bcprisme/32402_shimano_adaptateur_sm-ma_avant_postmount_postmount_180_mm_avec_vis_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12758'
2023-10-13	12:57:37	2032	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:37	2032	[DEBUG]	Executed store
2023-10-13	12:57:37	2032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861524','12758','1')
2023-10-13	12:57:37	2032	[DEBUG]	Store product image relation
2023-10-13	12:57:37	2032	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:37	2032	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861524 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:37	2032	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:37	2032	[DEBUG]	Executed store
2023-10-13	12:57:37	2032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861524','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:37	2032	[DEBUG]	Checking manufacturer
2023-10-13	12:57:37	2032	[DEBUG]	Load a row
2023-10-13	12:57:37	2032	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:37	2032	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:37	2032	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:37	2032	[DEBUG]	Executed store
2023-10-13	12:57:37	2032	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:37	2032	[DEBUG]	Manufacturer exists
2023-10-13	12:57:37	2032	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:57:37	2032	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:37	2032	[DEBUG]	Executed store
2023-10-13	12:57:37	2032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861524','123')
2023-10-13	12:57:37	2032	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:37	2032	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:37	2032	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861524 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:37	2032	[DEBUG]	Store custom available field
2023-10-13	12:57:37	2032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861524,3,'',1)
2023-10-13	12:57:37	2032	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:37	2032	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:57:37	2032	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861524 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:37	2032	[DEBUG]	Store custom available field
2023-10-13	12:57:37	2032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861524,6,'All',3)
2023-10-13	12:57:37	2032	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:37	2032	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:37	2032	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861523
2023-10-13	12:57:37	2032	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:37	2032	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861523\":[1861523,8,1,\"choisir la taille\"],\"1861524\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861523
2023-10-13	12:57:37	2032	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:37	2032	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861524
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:37	2033	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field taille
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:37	2033	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:37	2033	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:37	2033	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:37	2033	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:37	2033	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:37	2033	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field published
2023-10-13	12:57:37	2033	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:37	2033	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field override
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:37	2033	[DEBUG]	Use field value for field slug
2023-10-13	12:57:37	2033	[DEBUG]	Process line 2033
2023-10-13	12:57:37	2033	[DEBUG]	Load a row
2023-10-13	12:57:37	2033	[DEBUG]	Processing item: A_6523_208
2023-10-13	12:57:37	2033	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:37	2033	[DEBUG]	Processing product tax
2023-10-13	12:57:37	2033	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:37	2033	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:37	2033	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:37	2033	[DEBUG]	Query for Product
2023-10-13	12:57:37	2033	[DEBUG]	Executed store
2023-10-13	12:57:37	2033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6523_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:37	2033	[DEBUG]	Check product language entry
2023-10-13	12:57:37	2033	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861525
2023-10-13	12:57:37	2033	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:37	2033	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6523_208' AND `virtuemart_product_id` != 1861525
2023-10-13	12:57:37	2033	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:37	2033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861525, 'A_6523_208')
2023-10-13	12:57:37	2033	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:37	2033	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-sm-ma-avant-postmount-postmount-203-mm-avec-vis-box-aucune' AND `virtuemart_product_id` != 1861525
2023-10-13	12:57:37	2033	[DEBUG]	Query for ProductLang
2023-10-13	12:57:37	2033	[DEBUG]	Executed store
2023-10-13	12:57:37	2033	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 71.34185',`product_name`='SHIMANO Adaptateur SM-MA avant Postmount Postmount 203 mm avec vis box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-sm-ma-avant-postmount-postmount-203-mm-avec-vis-box-aucune' WHERE `virtuemart_product_id` = '1861525'
2023-10-13	12:57:37	2033	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32403_shimano_adaptateur_sm-ma_avant_postmount_postmount_203_mm_avec_vis_box.jpg
2023-10-13	12:57:37	2033	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:37	2033	[DEBUG]	Process image file
2023-10-13	12:57:37	2033	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:37	2033	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:37	2033	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32403_shimano_adaptateur_sm-ma_avant_postmount_postmount_203_mm_avec_vis_box.jpg
2023-10-13	12:57:37	2033	[DEBUG]	Full name target: bcprisme/32403_shimano_adaptateur_sm-ma_avant_postmount_postmount_203_mm_avec_vis_box.jpg
2023-10-13	12:57:38	2033	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:38	2033	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32403_shimano_adaptateur_sm-ma_avant_postmount_postmount_203_mm_avec_vis_box.jpg'
2023-10-13	12:57:38	2033	[DEBUG]	Query for Media
2023-10-13	12:57:38	2033	[DEBUG]	Executed store
2023-10-13	12:57:38	2033	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32403_shimano_adaptateur_sm-ma_avant_postmount_postmount_203_mm_avec_vis_box.jpg',`file_url_thumb`='bcprisme/32403_shimano_adaptateur_sm-ma_avant_postmount_postmount_203_mm_avec_vis_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12759'
2023-10-13	12:57:38	2033	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:38	2033	[DEBUG]	Executed store
2023-10-13	12:57:38	2033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861525','12759','1')
2023-10-13	12:57:38	2033	[DEBUG]	Store product image relation
2023-10-13	12:57:38	2033	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:38	2033	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861525 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:38	2033	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:38	2033	[DEBUG]	Executed store
2023-10-13	12:57:38	2033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861525','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:38	2033	[DEBUG]	Checking manufacturer
2023-10-13	12:57:38	2033	[DEBUG]	Load a row
2023-10-13	12:57:38	2033	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:38	2033	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:38	2033	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:38	2033	[DEBUG]	Executed store
2023-10-13	12:57:38	2033	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:38	2033	[DEBUG]	Manufacturer exists
2023-10-13	12:57:38	2033	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:57:38	2033	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:38	2033	[DEBUG]	Executed store
2023-10-13	12:57:38	2033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861525','123')
2023-10-13	12:57:38	2033	[DEBUG]	Find the custom field ID
2023-10-13	12:57:38	2033	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:38	2033	[DEBUG]	No custom field ID found
2023-10-13	12:57:38	2033	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:38	2033	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:38	2033	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861525 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:38	2033	[DEBUG]	Store custom available field
2023-10-13	12:57:38	2033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861525,3,'0',1)
2023-10-13	12:57:38	2033	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:38	2033	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:38	2033	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861525 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:38	2033	[DEBUG]	Store custom available field
2023-10-13	12:57:38	2033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861525,6,'choisir la taille',3)
2023-10-13	12:57:38	2033	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:38	2033	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:38	2033	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:38	2033	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:38	2033	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861525 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:38	2033	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:38	2033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861525,8,1)
2023-10-13	12:57:38	2033	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:38	2033	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861525\":[1861525,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861525
2023-10-13	12:57:38	2033	[DEBUG]	Checking category
2023-10-13	12:57:38	2033	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:38	2033	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861525
2023-10-13	12:57:38	2033	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:38	2033	[DEBUG]	Executed store
2023-10-13	12:57:38	2033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861525','7335')
2023-10-13	12:57:38	2033	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:38	2033	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861525 AND `virtuemart_category_id` NOT IN (7335)
2023-10-13	12:57:38	2033	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:38	2033	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861525
2023-10-13	12:57:38	2034	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:38	2034	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:38	2034	[DEBUG]	Use field value for field taille
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:38	2034	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:38	2034	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:38	2034	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:38	2034	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:38	2034	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:38	2034	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:38	2034	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:38	2034	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:38	2034	[DEBUG]	Use field value for field published
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:38	2034	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field override
2023-10-13	12:57:38	2034	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:38	2034	[DEBUG]	Use field value for field slug
2023-10-13	12:57:38	2034	[DEBUG]	Process line 2034
2023-10-13	12:57:38	2034	[DEBUG]	Load a row
2023-10-13	12:57:38	2034	[DEBUG]	Processing item: 4524667108115
2023-10-13	12:57:38	2034	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:38	2034	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:38	2034	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6523_208'
2023-10-13	12:57:38	2034	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:38	2034	[DEBUG]	Processing product tax
2023-10-13	12:57:38	2034	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:38	2034	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:38	2034	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:38	2034	[DEBUG]	Query for Product
2023-10-13	12:57:38	2034	[DEBUG]	Executed store
2023-10-13	12:57:38	2034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861525','4524667108115','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:38	2034	[DEBUG]	No parent found
2023-10-13	12:57:38	2034	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861525 AND customfield_value = 'stockable'
2023-10-13	12:57:38	2034	[DEBUG]	Check product language entry
2023-10-13	12:57:38	2034	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861526
2023-10-13	12:57:38	2034	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:38	2034	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667108115' AND `virtuemart_product_id` != 1861526
2023-10-13	12:57:38	2034	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:38	2034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861526, '4524667108115')
2023-10-13	12:57:38	2034	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:38	2034	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-sm-ma-avant-postmount-postmount-203-mm-avec-vis-box-aucune-all' AND `virtuemart_product_id` != 1861526
2023-10-13	12:57:38	2034	[DEBUG]	Query for ProductLang
2023-10-13	12:57:38	2034	[DEBUG]	Executed store
2023-10-13	12:57:38	2034	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Adaptateur SM-MA avant Postmount Postmount 203 mm avec vis box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-sm-ma-avant-postmount-postmount-203-mm-avec-vis-box-aucune-all' WHERE `virtuemart_product_id` = '1861526'
2023-10-13	12:57:38	2034	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32403_shimano_adaptateur_sm-ma_avant_postmount_postmount_203_mm_avec_vis_box.jpg
2023-10-13	12:57:38	2034	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:38	2034	[DEBUG]	Process image file
2023-10-13	12:57:38	2034	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:38	2034	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:38	2034	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32403_shimano_adaptateur_sm-ma_avant_postmount_postmount_203_mm_avec_vis_box.jpg
2023-10-13	12:57:38	2034	[DEBUG]	Full name target: bcprisme/32403_shimano_adaptateur_sm-ma_avant_postmount_postmount_203_mm_avec_vis_box.jpg
2023-10-13	12:57:39	2034	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:39	2034	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32403_shimano_adaptateur_sm-ma_avant_postmount_postmount_203_mm_avec_vis_box.jpg'
2023-10-13	12:57:39	2034	[DEBUG]	Query for Media
2023-10-13	12:57:39	2034	[DEBUG]	Executed store
2023-10-13	12:57:39	2034	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32403_shimano_adaptateur_sm-ma_avant_postmount_postmount_203_mm_avec_vis_box.jpg',`file_url_thumb`='bcprisme/32403_shimano_adaptateur_sm-ma_avant_postmount_postmount_203_mm_avec_vis_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12759'
2023-10-13	12:57:39	2034	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:39	2034	[DEBUG]	Executed store
2023-10-13	12:57:39	2034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861526','12759','1')
2023-10-13	12:57:39	2034	[DEBUG]	Store product image relation
2023-10-13	12:57:39	2034	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:39	2034	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861526 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:39	2034	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:39	2034	[DEBUG]	Executed store
2023-10-13	12:57:39	2034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861526','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:39	2034	[DEBUG]	Checking manufacturer
2023-10-13	12:57:39	2034	[DEBUG]	Load a row
2023-10-13	12:57:39	2034	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:39	2034	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:39	2034	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:39	2034	[DEBUG]	Executed store
2023-10-13	12:57:39	2034	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:39	2034	[DEBUG]	Manufacturer exists
2023-10-13	12:57:39	2034	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:57:39	2034	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:39	2034	[DEBUG]	Executed store
2023-10-13	12:57:39	2034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861526','123')
2023-10-13	12:57:39	2034	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:39	2034	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:39	2034	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861526 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:39	2034	[DEBUG]	Store custom available field
2023-10-13	12:57:39	2034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861526,3,'',1)
2023-10-13	12:57:39	2034	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:39	2034	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:57:39	2034	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861526 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:39	2034	[DEBUG]	Store custom available field
2023-10-13	12:57:39	2034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861526,6,'All',3)
2023-10-13	12:57:39	2034	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:39	2034	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:39	2034	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861525
2023-10-13	12:57:39	2034	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:39	2034	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861525\":[1861525,8,1,\"choisir la taille\"],\"1861526\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861525
2023-10-13	12:57:39	2034	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:39	2034	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861526
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:39	2035	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field taille
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:39	2035	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:39	2035	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:39	2035	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:39	2035	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:39	2035	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:39	2035	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field published
2023-10-13	12:57:39	2035	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:39	2035	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field override
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:39	2035	[DEBUG]	Use field value for field slug
2023-10-13	12:57:39	2035	[DEBUG]	Process line 2035
2023-10-13	12:57:39	2035	[DEBUG]	Load a row
2023-10-13	12:57:39	2035	[DEBUG]	Processing item: A_7507_1
2023-10-13	12:57:39	2035	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:39	2035	[DEBUG]	Processing product tax
2023-10-13	12:57:39	2035	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:39	2035	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:39	2035	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:39	2035	[DEBUG]	Query for Product
2023-10-13	12:57:39	2035	[DEBUG]	Executed store
2023-10-13	12:57:39	2035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7507_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:39	2035	[DEBUG]	Check product language entry
2023-10-13	12:57:39	2035	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861527
2023-10-13	12:57:39	2035	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:39	2035	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7507_1' AND `virtuemart_product_id` != 1861527
2023-10-13	12:57:39	2035	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:39	2035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861527, 'A_7507_1')
2023-10-13	12:57:39	2035	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:39	2035	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-kit-fixation-adaptateur-et-etrier-frein-flat-mount-0f-20f-front-140-noir' AND `virtuemart_product_id` != 1861527
2023-10-13	12:57:39	2035	[DEBUG]	Query for ProductLang
2023-10-13	12:57:39	2035	[DEBUG]	Executed store
2023-10-13	12:57:39	2035	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7523A',`product_name`='SRAM Kit fixation adaptateur et étrier frein Flat Mount 0F/20F Front 140 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-kit-fixation-adaptateur-et-etrier-frein-flat-mount-0f-20f-front-140-noir' WHERE `virtuemart_product_id` = '1861527'
2023-10-13	12:57:39	2035	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34902_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_arriere_160.jpg
2023-10-13	12:57:39	2035	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:39	2035	[DEBUG]	Process image file
2023-10-13	12:57:39	2035	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:39	2035	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:39	2035	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34902_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_arriere_160.jpg
2023-10-13	12:57:39	2035	[DEBUG]	Full name target: bcprisme/34902_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_arriere_160.jpg
2023-10-13	12:57:40	2035	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:40	2035	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34902_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_arriere_160.jpg'
2023-10-13	12:57:40	2035	[DEBUG]	Query for Media
2023-10-13	12:57:40	2035	[DEBUG]	Executed store
2023-10-13	12:57:40	2035	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34902_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_arriere_160.jpg',`file_url_thumb`='bcprisme/34902_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_arriere_160.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265540'
2023-10-13	12:57:40	2035	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:40	2035	[DEBUG]	Executed store
2023-10-13	12:57:40	2035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861527','265540','1')
2023-10-13	12:57:40	2035	[DEBUG]	Store product image relation
2023-10-13	12:57:40	2035	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:40	2035	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861527 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:40	2035	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:40	2035	[DEBUG]	Executed store
2023-10-13	12:57:40	2035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861527','0','17.6415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:40	2035	[DEBUG]	Checking manufacturer
2023-10-13	12:57:40	2035	[DEBUG]	Load a row
2023-10-13	12:57:40	2035	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:40	2035	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:57:40	2035	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:40	2035	[DEBUG]	Executed store
2023-10-13	12:57:40	2035	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:57:40	2035	[DEBUG]	Manufacturer exists
2023-10-13	12:57:40	2035	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:57:40	2035	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:40	2035	[DEBUG]	Executed store
2023-10-13	12:57:40	2035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861527','35')
2023-10-13	12:57:40	2035	[DEBUG]	Find the custom field ID
2023-10-13	12:57:40	2035	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:40	2035	[DEBUG]	No custom field ID found
2023-10-13	12:57:40	2035	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:40	2035	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:40	2035	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861527 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:40	2035	[DEBUG]	Store custom available field
2023-10-13	12:57:40	2035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861527,3,'0',1)
2023-10-13	12:57:40	2035	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:40	2035	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:40	2035	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861527 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:40	2035	[DEBUG]	Store custom available field
2023-10-13	12:57:40	2035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861527,6,'choisir la taille',3)
2023-10-13	12:57:40	2035	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:40	2035	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:40	2035	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:40	2035	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:40	2035	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861527 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:40	2035	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:40	2035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861527,8,1)
2023-10-13	12:57:40	2035	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:40	2035	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861527\":[1861527,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861527
2023-10-13	12:57:40	2035	[DEBUG]	Checking category
2023-10-13	12:57:40	2035	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:40	2035	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861527
2023-10-13	12:57:40	2035	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:40	2035	[DEBUG]	Executed store
2023-10-13	12:57:40	2035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861527','7335')
2023-10-13	12:57:40	2035	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:40	2035	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861527 AND `virtuemart_category_id` NOT IN (7335)
2023-10-13	12:57:40	2035	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:40	2035	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861527
2023-10-13	12:57:40	2036	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:40	2036	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:40	2036	[DEBUG]	Use field value for field taille
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:40	2036	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:40	2036	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:40	2036	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:40	2036	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:40	2036	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:40	2036	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:40	2036	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:40	2036	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:40	2036	[DEBUG]	Use field value for field published
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:40	2036	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field override
2023-10-13	12:57:40	2036	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:40	2036	[DEBUG]	Use field value for field slug
2023-10-13	12:57:40	2036	[DEBUG]	Process line 2036
2023-10-13	12:57:40	2036	[DEBUG]	Load a row
2023-10-13	12:57:40	2036	[DEBUG]	Processing item: 710845780622
2023-10-13	12:57:40	2036	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:40	2036	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:40	2036	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7507_1'
2023-10-13	12:57:40	2036	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:40	2036	[DEBUG]	Processing product tax
2023-10-13	12:57:40	2036	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:40	2036	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:40	2036	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:40	2036	[DEBUG]	Query for Product
2023-10-13	12:57:40	2036	[DEBUG]	Executed store
2023-10-13	12:57:40	2036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861527','710845780622','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:40	2036	[DEBUG]	No parent found
2023-10-13	12:57:40	2036	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861527 AND customfield_value = 'stockable'
2023-10-13	12:57:40	2036	[DEBUG]	Check product language entry
2023-10-13	12:57:40	2036	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861528
2023-10-13	12:57:40	2036	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:40	2036	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845780622' AND `virtuemart_product_id` != 1861528
2023-10-13	12:57:40	2036	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:40	2036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861528, '710845780622')
2023-10-13	12:57:40	2036	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:40	2036	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-kit-fixation-adaptateur-et-etrier-frein-flat-mount-0f-20f-front-140-noir-unitaire' AND `virtuemart_product_id` != 1861528
2023-10-13	12:57:40	2036	[DEBUG]	Query for ProductLang
2023-10-13	12:57:40	2036	[DEBUG]	Executed store
2023-10-13	12:57:40	2036	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Kit fixation adaptateur et étrier frein Flat Mount 0F/20F Front 140 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-kit-fixation-adaptateur-et-etrier-frein-flat-mount-0f-20f-front-140-noir-unitaire' WHERE `virtuemart_product_id` = '1861528'
2023-10-13	12:57:40	2036	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34902_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_arriere_160.jpg
2023-10-13	12:57:40	2036	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:40	2036	[DEBUG]	Process image file
2023-10-13	12:57:40	2036	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:40	2036	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:40	2036	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34902_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_arriere_160.jpg
2023-10-13	12:57:40	2036	[DEBUG]	Full name target: bcprisme/34902_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_arriere_160.jpg
2023-10-13	12:57:41	2036	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:41	2036	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34902_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_arriere_160.jpg'
2023-10-13	12:57:41	2036	[DEBUG]	Query for Media
2023-10-13	12:57:41	2036	[DEBUG]	Executed store
2023-10-13	12:57:41	2036	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34902_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_arriere_160.jpg',`file_url_thumb`='bcprisme/34902_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_arriere_160.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265540'
2023-10-13	12:57:41	2036	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:41	2036	[DEBUG]	Executed store
2023-10-13	12:57:41	2036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861528','265540','1')
2023-10-13	12:57:41	2036	[DEBUG]	Store product image relation
2023-10-13	12:57:41	2036	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:41	2036	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861528 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:41	2036	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:41	2036	[DEBUG]	Executed store
2023-10-13	12:57:41	2036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861528','0','17.6415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:41	2036	[DEBUG]	Checking manufacturer
2023-10-13	12:57:41	2036	[DEBUG]	Load a row
2023-10-13	12:57:41	2036	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:41	2036	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:57:41	2036	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:41	2036	[DEBUG]	Executed store
2023-10-13	12:57:41	2036	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:57:41	2036	[DEBUG]	Manufacturer exists
2023-10-13	12:57:41	2036	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:57:41	2036	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:41	2036	[DEBUG]	Executed store
2023-10-13	12:57:41	2036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861528','35')
2023-10-13	12:57:41	2036	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:41	2036	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:41	2036	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861528 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:41	2036	[DEBUG]	Store custom available field
2023-10-13	12:57:41	2036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861528,3,'',1)
2023-10-13	12:57:41	2036	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:41	2036	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:41	2036	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861528 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:41	2036	[DEBUG]	Store custom available field
2023-10-13	12:57:41	2036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861528,6,'Unitaire',3)
2023-10-13	12:57:41	2036	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:41	2036	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:41	2036	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861527
2023-10-13	12:57:41	2036	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:41	2036	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861527\":[1861527,8,1,\"choisir la taille\"],\"1861528\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861527
2023-10-13	12:57:41	2036	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:41	2036	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861528
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:41	2037	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field taille
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:41	2037	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:41	2037	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:41	2037	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:41	2037	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:41	2037	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:41	2037	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field published
2023-10-13	12:57:41	2037	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:41	2037	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field override
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:41	2037	[DEBUG]	Use field value for field slug
2023-10-13	12:57:41	2037	[DEBUG]	Process line 2037
2023-10-13	12:57:41	2037	[DEBUG]	Load a row
2023-10-13	12:57:41	2037	[DEBUG]	Processing item: A_7508_1
2023-10-13	12:57:41	2037	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:41	2037	[DEBUG]	Processing product tax
2023-10-13	12:57:41	2037	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:41	2037	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:41	2037	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:41	2037	[DEBUG]	Query for Product
2023-10-13	12:57:41	2037	[DEBUG]	Executed store
2023-10-13	12:57:41	2037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7508_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:41	2037	[DEBUG]	Check product language entry
2023-10-13	12:57:41	2037	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861529
2023-10-13	12:57:41	2037	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:41	2037	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7508_1' AND `virtuemart_product_id` != 1861529
2023-10-13	12:57:41	2037	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:41	2037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861529, 'A_7508_1')
2023-10-13	12:57:41	2037	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:41	2037	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-kit-fixation-adaptateur-et-etrier-frein-flat-mount-20f-front-160-arriere-noir' AND `virtuemart_product_id` != 1861529
2023-10-13	12:57:41	2037	[DEBUG]	Query for ProductLang
2023-10-13	12:57:41	2037	[DEBUG]	Executed store
2023-10-13	12:57:41	2037	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7523B',`product_name`='SRAM Kit fixation adaptateur et étrier frein Flat Mount 20F Front 160 arrière / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-kit-fixation-adaptateur-et-etrier-frein-flat-mount-20f-front-160-arriere-noir' WHERE `virtuemart_product_id` = '1861529'
2023-10-13	12:57:41	2037	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34903_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_front_160_arriere.jpg
2023-10-13	12:57:41	2037	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:41	2037	[DEBUG]	Process image file
2023-10-13	12:57:41	2037	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:41	2037	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:41	2037	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34903_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_front_160_arriere.jpg
2023-10-13	12:57:41	2037	[DEBUG]	Full name target: bcprisme/34903_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_front_160_arriere.jpg
2023-10-13	12:57:42	2037	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:42	2037	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34903_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_front_160_arriere.jpg'
2023-10-13	12:57:42	2037	[DEBUG]	Query for Media
2023-10-13	12:57:42	2037	[DEBUG]	Executed store
2023-10-13	12:57:42	2037	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34903_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_front_160_arriere.jpg',`file_url_thumb`='bcprisme/34903_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_front_160_arriere.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265542'
2023-10-13	12:57:42	2037	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:42	2037	[DEBUG]	Executed store
2023-10-13	12:57:42	2037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861529','265542','1')
2023-10-13	12:57:42	2037	[DEBUG]	Store product image relation
2023-10-13	12:57:42	2037	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:42	2037	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861529 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:42	2037	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:42	2037	[DEBUG]	Executed store
2023-10-13	12:57:42	2037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861529','0','21.355617455896','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:42	2037	[DEBUG]	Checking manufacturer
2023-10-13	12:57:42	2037	[DEBUG]	Load a row
2023-10-13	12:57:42	2037	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:42	2037	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:57:42	2037	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:42	2037	[DEBUG]	Executed store
2023-10-13	12:57:42	2037	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:57:42	2037	[DEBUG]	Manufacturer exists
2023-10-13	12:57:42	2037	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:57:42	2037	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:42	2037	[DEBUG]	Executed store
2023-10-13	12:57:42	2037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861529','35')
2023-10-13	12:57:42	2037	[DEBUG]	Find the custom field ID
2023-10-13	12:57:42	2037	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:42	2037	[DEBUG]	No custom field ID found
2023-10-13	12:57:42	2037	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:42	2037	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:42	2037	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861529 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:42	2037	[DEBUG]	Store custom available field
2023-10-13	12:57:42	2037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861529,3,'0',1)
2023-10-13	12:57:42	2037	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:42	2037	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:42	2037	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861529 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:42	2037	[DEBUG]	Store custom available field
2023-10-13	12:57:42	2037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861529,6,'choisir la taille',3)
2023-10-13	12:57:42	2037	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:42	2037	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:42	2037	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:42	2037	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:42	2037	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861529 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:42	2037	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:42	2037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861529,8,1)
2023-10-13	12:57:42	2037	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:42	2037	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861529\":[1861529,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861529
2023-10-13	12:57:42	2037	[DEBUG]	Checking category
2023-10-13	12:57:42	2037	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:42	2037	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861529
2023-10-13	12:57:42	2037	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:42	2037	[DEBUG]	Executed store
2023-10-13	12:57:42	2037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861529','7335')
2023-10-13	12:57:42	2037	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:42	2037	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861529 AND `virtuemart_category_id` NOT IN (7335)
2023-10-13	12:57:42	2037	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:42	2037	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861529
2023-10-13	12:57:42	2038	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:42	2038	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:42	2038	[DEBUG]	Use field value for field taille
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:42	2038	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:42	2038	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:42	2038	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:42	2038	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:42	2038	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:42	2038	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:42	2038	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:42	2038	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:42	2038	[DEBUG]	Use field value for field published
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:42	2038	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field override
2023-10-13	12:57:42	2038	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:42	2038	[DEBUG]	Use field value for field slug
2023-10-13	12:57:42	2038	[DEBUG]	Process line 2038
2023-10-13	12:57:42	2038	[DEBUG]	Load a row
2023-10-13	12:57:42	2038	[DEBUG]	Processing item: 710845780646
2023-10-13	12:57:42	2038	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:42	2038	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:42	2038	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7508_1'
2023-10-13	12:57:42	2038	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:42	2038	[DEBUG]	Processing product tax
2023-10-13	12:57:42	2038	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:42	2038	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:42	2038	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:42	2038	[DEBUG]	Query for Product
2023-10-13	12:57:42	2038	[DEBUG]	Executed store
2023-10-13	12:57:42	2038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861529','710845780646','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:42	2038	[DEBUG]	No parent found
2023-10-13	12:57:42	2038	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861529 AND customfield_value = 'stockable'
2023-10-13	12:57:42	2038	[DEBUG]	Check product language entry
2023-10-13	12:57:42	2038	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861530
2023-10-13	12:57:42	2038	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:42	2038	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845780646' AND `virtuemart_product_id` != 1861530
2023-10-13	12:57:42	2038	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:42	2038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861530, '710845780646')
2023-10-13	12:57:42	2038	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:42	2038	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-kit-fixation-adaptateur-et-etrier-frein-flat-mount-20f-front-160-arriere-noir-unitaire' AND `virtuemart_product_id` != 1861530
2023-10-13	12:57:42	2038	[DEBUG]	Query for ProductLang
2023-10-13	12:57:42	2038	[DEBUG]	Executed store
2023-10-13	12:57:42	2038	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Kit fixation adaptateur et étrier frein Flat Mount 20F Front 160 arrière / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-kit-fixation-adaptateur-et-etrier-frein-flat-mount-20f-front-160-arriere-noir-unitaire' WHERE `virtuemart_product_id` = '1861530'
2023-10-13	12:57:42	2038	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34903_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_front_160_arriere.jpg
2023-10-13	12:57:42	2038	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:42	2038	[DEBUG]	Process image file
2023-10-13	12:57:42	2038	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:42	2038	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:42	2038	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34903_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_front_160_arriere.jpg
2023-10-13	12:57:42	2038	[DEBUG]	Full name target: bcprisme/34903_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_front_160_arriere.jpg
2023-10-13	12:57:43	2038	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:43	2038	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34903_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_front_160_arriere.jpg'
2023-10-13	12:57:43	2038	[DEBUG]	Query for Media
2023-10-13	12:57:43	2038	[DEBUG]	Executed store
2023-10-13	12:57:43	2038	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34903_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_front_160_arriere.jpg',`file_url_thumb`='bcprisme/34903_kit_fixation_adaptateur_et_etrier_frein_flat_mount_20f_front_160_arriere.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265542'
2023-10-13	12:57:43	2038	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:43	2038	[DEBUG]	Executed store
2023-10-13	12:57:43	2038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861530','265542','1')
2023-10-13	12:57:43	2038	[DEBUG]	Store product image relation
2023-10-13	12:57:43	2038	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:43	2038	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861530 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:43	2038	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:43	2038	[DEBUG]	Executed store
2023-10-13	12:57:43	2038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861530','0','21.355617455896','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:43	2038	[DEBUG]	Checking manufacturer
2023-10-13	12:57:43	2038	[DEBUG]	Load a row
2023-10-13	12:57:43	2038	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:43	2038	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:57:43	2038	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:43	2038	[DEBUG]	Executed store
2023-10-13	12:57:43	2038	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:57:43	2038	[DEBUG]	Manufacturer exists
2023-10-13	12:57:43	2038	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:57:43	2038	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:43	2038	[DEBUG]	Executed store
2023-10-13	12:57:43	2038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861530','35')
2023-10-13	12:57:43	2038	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:43	2038	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:43	2038	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861530 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:43	2038	[DEBUG]	Store custom available field
2023-10-13	12:57:43	2038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861530,3,'',1)
2023-10-13	12:57:43	2038	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:43	2038	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:43	2038	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861530 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:43	2038	[DEBUG]	Store custom available field
2023-10-13	12:57:43	2038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861530,6,'Unitaire',3)
2023-10-13	12:57:43	2038	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:43	2038	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:43	2038	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861529
2023-10-13	12:57:43	2038	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:43	2038	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861529\":[1861529,8,1,\"choisir la taille\"],\"1861530\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861529
2023-10-13	12:57:43	2038	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:43	2038	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861530
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:43	2039	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field taille
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:43	2039	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:43	2039	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:43	2039	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:43	2039	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:43	2039	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:43	2039	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field published
2023-10-13	12:57:43	2039	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:43	2039	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field override
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:43	2039	[DEBUG]	Use field value for field slug
2023-10-13	12:57:43	2039	[DEBUG]	Process line 2039
2023-10-13	12:57:43	2039	[DEBUG]	Load a row
2023-10-13	12:57:43	2039	[DEBUG]	Processing item: A_8944_208
2023-10-13	12:57:43	2039	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:43	2039	[DEBUG]	Processing product tax
2023-10-13	12:57:43	2039	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:43	2039	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:43	2039	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:43	2039	[DEBUG]	Query for Product
2023-10-13	12:57:43	2039	[DEBUG]	Executed store
2023-10-13	12:57:43	2039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8944_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:43	2039	[DEBUG]	Check product language entry
2023-10-13	12:57:43	2039	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861531
2023-10-13	12:57:43	2039	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:43	2039	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8944_208' AND `virtuemart_product_id` != 1861531
2023-10-13	12:57:43	2039	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:43	2039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861531, 'A_8944_208')
2023-10-13	12:57:43	2039	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:43	2039	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-sm-ma-avant-arriere-postmount-203--postmount-220-box-aucune' AND `virtuemart_product_id` != 1861531
2023-10-13	12:57:43	2039	[DEBUG]	Query for ProductLang
2023-10-13	12:57:43	2039	[DEBUG]	Executed store
2023-10-13	12:57:43	2039	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.80615',`product_name`='SHIMANO Adaptateur SM-MA avant/arrière Postmount 203->Postmount 220 box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-sm-ma-avant-arriere-postmount-203--postmount-220-box-aucune' WHERE `virtuemart_product_id` = '1861531'
2023-10-13	12:57:43	2039	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_36116_jpg.jpg
2023-10-13	12:57:43	2039	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:43	2039	[DEBUG]	Process image file
2023-10-13	12:57:43	2039	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:43	2039	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:43	2039	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_36116_jpg.jpg
2023-10-13	12:57:43	2039	[DEBUG]	Full name target: bcprisme/71_36116_jpg.jpg
2023-10-13	12:57:44	2039	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:44	2039	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/71_36116_jpg.jpg'
2023-10-13	12:57:44	2039	[DEBUG]	Query for Media
2023-10-13	12:57:44	2039	[DEBUG]	Executed store
2023-10-13	12:57:44	2039	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/71_36116_jpg.jpg',`file_url_thumb`='bcprisme/71_36116_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1184889'
2023-10-13	12:57:44	2039	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:44	2039	[DEBUG]	Executed store
2023-10-13	12:57:44	2039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861531','1184889','1')
2023-10-13	12:57:44	2039	[DEBUG]	Store product image relation
2023-10-13	12:57:44	2039	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:44	2039	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861531 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:44	2039	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:44	2039	[DEBUG]	Executed store
2023-10-13	12:57:44	2039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861531','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:44	2039	[DEBUG]	Checking manufacturer
2023-10-13	12:57:44	2039	[DEBUG]	Load a row
2023-10-13	12:57:44	2039	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:44	2039	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:57:44	2039	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:44	2039	[DEBUG]	Executed store
2023-10-13	12:57:44	2039	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:57:44	2039	[DEBUG]	Manufacturer exists
2023-10-13	12:57:44	2039	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:57:44	2039	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:44	2039	[DEBUG]	Executed store
2023-10-13	12:57:44	2039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861531','26')
2023-10-13	12:57:44	2039	[DEBUG]	Find the custom field ID
2023-10-13	12:57:44	2039	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:44	2039	[DEBUG]	No custom field ID found
2023-10-13	12:57:44	2039	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:44	2039	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:44	2039	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861531 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:44	2039	[DEBUG]	Store custom available field
2023-10-13	12:57:44	2039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861531,3,'0',1)
2023-10-13	12:57:44	2039	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:44	2039	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:44	2039	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861531 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:44	2039	[DEBUG]	Store custom available field
2023-10-13	12:57:44	2039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861531,6,'choisir la taille',3)
2023-10-13	12:57:44	2039	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:44	2039	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:44	2039	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:44	2039	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:44	2039	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861531 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:44	2039	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:44	2039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861531,8,1)
2023-10-13	12:57:44	2039	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:44	2039	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861531\":[1861531,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861531
2023-10-13	12:57:44	2039	[DEBUG]	Checking category
2023-10-13	12:57:44	2039	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:44	2039	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861531
2023-10-13	12:57:44	2039	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:44	2039	[DEBUG]	Executed store
2023-10-13	12:57:44	2039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861531','7335')
2023-10-13	12:57:44	2039	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:44	2039	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861531 AND `virtuemart_category_id` NOT IN (7335)
2023-10-13	12:57:44	2039	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:44	2039	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861531
2023-10-13	12:57:44	2040	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:44	2040	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:44	2040	[DEBUG]	Use field value for field taille
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:44	2040	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:44	2040	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:44	2040	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:44	2040	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:44	2040	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:44	2040	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:44	2040	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:44	2040	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:44	2040	[DEBUG]	Use field value for field published
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:44	2040	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field override
2023-10-13	12:57:44	2040	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:44	2040	[DEBUG]	Use field value for field slug
2023-10-13	12:57:44	2040	[DEBUG]	Process line 2040
2023-10-13	12:57:44	2040	[DEBUG]	Load a row
2023-10-13	12:57:44	2040	[DEBUG]	Processing item: 4550170897789
2023-10-13	12:57:44	2040	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:44	2040	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:44	2040	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8944_208'
2023-10-13	12:57:44	2040	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:44	2040	[DEBUG]	Processing product tax
2023-10-13	12:57:44	2040	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:44	2040	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:44	2040	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:44	2040	[DEBUG]	Query for Product
2023-10-13	12:57:44	2040	[DEBUG]	Executed store
2023-10-13	12:57:44	2040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861531','4550170897789','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:44	2040	[DEBUG]	No parent found
2023-10-13	12:57:44	2040	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861531 AND customfield_value = 'stockable'
2023-10-13	12:57:44	2040	[DEBUG]	Check product language entry
2023-10-13	12:57:44	2040	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861532
2023-10-13	12:57:44	2040	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:44	2040	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170897789' AND `virtuemart_product_id` != 1861532
2023-10-13	12:57:44	2040	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:44	2040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861532, '4550170897789')
2023-10-13	12:57:44	2040	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:44	2040	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-sm-ma-avant-arriere-postmount-203--postmount-220-box-aucune-unitaire' AND `virtuemart_product_id` != 1861532
2023-10-13	12:57:44	2040	[DEBUG]	Query for ProductLang
2023-10-13	12:57:44	2040	[DEBUG]	Executed store
2023-10-13	12:57:44	2040	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Adaptateur SM-MA avant/arrière Postmount 203->Postmount 220 box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-sm-ma-avant-arriere-postmount-203--postmount-220-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861532'
2023-10-13	12:57:44	2040	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_36116_jpg.jpg
2023-10-13	12:57:44	2040	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:44	2040	[DEBUG]	Process image file
2023-10-13	12:57:44	2040	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:44	2040	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:44	2040	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_36116_jpg.jpg
2023-10-13	12:57:44	2040	[DEBUG]	Full name target: bcprisme/71_36116_jpg.jpg
2023-10-13	12:57:45	2040	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:45	2040	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/71_36116_jpg.jpg'
2023-10-13	12:57:45	2040	[DEBUG]	Query for Media
2023-10-13	12:57:45	2040	[DEBUG]	Executed store
2023-10-13	12:57:45	2040	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/71_36116_jpg.jpg',`file_url_thumb`='bcprisme/71_36116_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1184889'
2023-10-13	12:57:45	2040	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:45	2040	[DEBUG]	Executed store
2023-10-13	12:57:45	2040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861532','1184889','1')
2023-10-13	12:57:45	2040	[DEBUG]	Store product image relation
2023-10-13	12:57:45	2040	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:45	2040	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861532 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:45	2040	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:45	2040	[DEBUG]	Executed store
2023-10-13	12:57:45	2040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861532','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:45	2040	[DEBUG]	Checking manufacturer
2023-10-13	12:57:45	2040	[DEBUG]	Load a row
2023-10-13	12:57:45	2040	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:45	2040	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:57:45	2040	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:45	2040	[DEBUG]	Executed store
2023-10-13	12:57:45	2040	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:57:45	2040	[DEBUG]	Manufacturer exists
2023-10-13	12:57:45	2040	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:57:45	2040	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:45	2040	[DEBUG]	Executed store
2023-10-13	12:57:45	2040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861532','26')
2023-10-13	12:57:45	2040	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:45	2040	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:45	2040	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861532 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:45	2040	[DEBUG]	Store custom available field
2023-10-13	12:57:45	2040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861532,3,'',1)
2023-10-13	12:57:45	2040	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:45	2040	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:45	2040	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861532 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:45	2040	[DEBUG]	Store custom available field
2023-10-13	12:57:45	2040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861532,6,'Unitaire',3)
2023-10-13	12:57:45	2040	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:45	2040	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:45	2040	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861531
2023-10-13	12:57:45	2040	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:45	2040	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861531\":[1861531,8,1,\"choisir la taille\"],\"1861532\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861531
2023-10-13	12:57:45	2040	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:45	2040	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861532
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:45	2041	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field taille
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:45	2041	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:45	2041	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:45	2041	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:45	2041	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:45	2041	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:45	2041	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field published
2023-10-13	12:57:45	2041	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:45	2041	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field override
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:45	2041	[DEBUG]	Use field value for field slug
2023-10-13	12:57:45	2041	[DEBUG]	Process line 2041
2023-10-13	12:57:45	2041	[DEBUG]	Load a row
2023-10-13	12:57:45	2041	[DEBUG]	Processing item: A_9128_1
2023-10-13	12:57:45	2041	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:45	2041	[DEBUG]	Processing product tax
2023-10-13	12:57:45	2041	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:45	2041	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:45	2041	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:45	2041	[DEBUG]	Query for Product
2023-10-13	12:57:45	2041	[DEBUG]	Executed store
2023-10-13	12:57:45	2041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9128_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:45	2041	[DEBUG]	Check product language entry
2023-10-13	12:57:45	2041	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861533
2023-10-13	12:57:45	2041	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:45	2041	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9128_1' AND `virtuemart_product_id` != 1861533
2023-10-13	12:57:45	2041	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:45	2041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861533, 'A_9128_1')
2023-10-13	12:57:45	2041	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:45	2041	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-adaptateur-qm46-noir' AND `virtuemart_product_id` != 1861533
2023-10-13	12:57:45	2041	[DEBUG]	Query for ProductLang
2023-10-13	12:57:45	2041	[DEBUG]	Executed store
2023-10-13	12:57:45	2041	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8793W',`product_name`='SRAM Adaptateur QM46 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-adaptateur-qm46-noir' WHERE `virtuemart_product_id` = '1861533'
2023-10-13	12:57:45	2041	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38189_adaptateur_qm46.jpg
2023-10-13	12:57:45	2041	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:45	2041	[DEBUG]	Process image file
2023-10-13	12:57:45	2041	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:45	2041	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:45	2041	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38189_adaptateur_qm46.jpg
2023-10-13	12:57:45	2041	[DEBUG]	Full name target: bcprisme/38189_adaptateur_qm46.jpg
2023-10-13	12:57:46	2041	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:46	2041	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38189_adaptateur_qm46.jpg'
2023-10-13	12:57:46	2041	[DEBUG]	Query for Media
2023-10-13	12:57:46	2041	[DEBUG]	Executed store
2023-10-13	12:57:46	2041	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38189_adaptateur_qm46.jpg',`file_url_thumb`='bcprisme/38189_adaptateur_qm46.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1276461'
2023-10-13	12:57:46	2041	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:46	2041	[DEBUG]	Executed store
2023-10-13	12:57:46	2041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861533','1276461','1')
2023-10-13	12:57:46	2041	[DEBUG]	Store product image relation
2023-10-13	12:57:46	2041	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:46	2041	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861533 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:46	2041	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:46	2041	[DEBUG]	Executed store
2023-10-13	12:57:46	2041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861533','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:46	2041	[DEBUG]	Checking manufacturer
2023-10-13	12:57:46	2041	[DEBUG]	Load a row
2023-10-13	12:57:46	2041	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:46	2041	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:57:46	2041	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:46	2041	[DEBUG]	Executed store
2023-10-13	12:57:46	2041	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:57:46	2041	[DEBUG]	Manufacturer exists
2023-10-13	12:57:46	2041	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:57:46	2041	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:46	2041	[DEBUG]	Executed store
2023-10-13	12:57:46	2041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861533','35')
2023-10-13	12:57:46	2041	[DEBUG]	Find the custom field ID
2023-10-13	12:57:46	2041	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:46	2041	[DEBUG]	No custom field ID found
2023-10-13	12:57:46	2041	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:46	2041	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:46	2041	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861533 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:46	2041	[DEBUG]	Store custom available field
2023-10-13	12:57:46	2041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861533,3,'0',1)
2023-10-13	12:57:46	2041	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:46	2041	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:46	2041	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861533 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:46	2041	[DEBUG]	Store custom available field
2023-10-13	12:57:46	2041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861533,6,'choisir la taille',3)
2023-10-13	12:57:46	2041	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:46	2041	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:46	2041	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:46	2041	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:46	2041	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861533 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:46	2041	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:46	2041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861533,8,1)
2023-10-13	12:57:46	2041	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:46	2041	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861533\":[1861533,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861533
2023-10-13	12:57:46	2041	[DEBUG]	Checking category
2023-10-13	12:57:46	2041	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:46	2041	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861533
2023-10-13	12:57:46	2041	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:46	2041	[DEBUG]	Executed store
2023-10-13	12:57:46	2041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861533','7335')
2023-10-13	12:57:46	2041	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:46	2041	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861533 AND `virtuemart_category_id` NOT IN (7335)
2023-10-13	12:57:46	2041	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:46	2041	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861533
2023-10-13	12:57:46	2042	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:46	2042	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:46	2042	[DEBUG]	Use field value for field taille
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:46	2042	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:46	2042	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:46	2042	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:46	2042	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:46	2042	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:46	2042	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:46	2042	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:46	2042	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:46	2042	[DEBUG]	Use field value for field published
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:46	2042	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field override
2023-10-13	12:57:46	2042	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:46	2042	[DEBUG]	Use field value for field slug
2023-10-13	12:57:46	2042	[DEBUG]	Process line 2042
2023-10-13	12:57:46	2042	[DEBUG]	Load a row
2023-10-13	12:57:46	2042	[DEBUG]	Processing item: 1000000190564
2023-10-13	12:57:46	2042	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:46	2042	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:46	2042	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9128_1'
2023-10-13	12:57:46	2042	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:46	2042	[DEBUG]	Processing product tax
2023-10-13	12:57:46	2042	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:46	2042	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:46	2042	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:46	2042	[DEBUG]	Query for Product
2023-10-13	12:57:46	2042	[DEBUG]	Executed store
2023-10-13	12:57:46	2042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861533','1000000190564','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:46	2042	[DEBUG]	No parent found
2023-10-13	12:57:46	2042	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861533 AND customfield_value = 'stockable'
2023-10-13	12:57:46	2042	[DEBUG]	Check product language entry
2023-10-13	12:57:46	2042	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861534
2023-10-13	12:57:46	2042	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:46	2042	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000190564' AND `virtuemart_product_id` != 1861534
2023-10-13	12:57:46	2042	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:46	2042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861534, '1000000190564')
2023-10-13	12:57:46	2042	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:46	2042	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-adaptateur-qm46-noir-unitaire' AND `virtuemart_product_id` != 1861534
2023-10-13	12:57:46	2042	[DEBUG]	Query for ProductLang
2023-10-13	12:57:46	2042	[DEBUG]	Executed store
2023-10-13	12:57:46	2042	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Adaptateur QM46 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-adaptateur-qm46-noir-unitaire' WHERE `virtuemart_product_id` = '1861534'
2023-10-13	12:57:46	2042	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38189_adaptateur_qm46.jpg
2023-10-13	12:57:46	2042	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:46	2042	[DEBUG]	Process image file
2023-10-13	12:57:46	2042	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:57:46	2042	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:46	2042	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38189_adaptateur_qm46.jpg
2023-10-13	12:57:46	2042	[DEBUG]	Full name target: bcprisme/38189_adaptateur_qm46.jpg
2023-10-13	12:57:47	2042	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:47	2042	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38189_adaptateur_qm46.jpg'
2023-10-13	12:57:47	2042	[DEBUG]	Query for Media
2023-10-13	12:57:47	2042	[DEBUG]	Executed store
2023-10-13	12:57:47	2042	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38189_adaptateur_qm46.jpg',`file_url_thumb`='bcprisme/38189_adaptateur_qm46.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1276461'
2023-10-13	12:57:47	2042	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:47	2042	[DEBUG]	Executed store
2023-10-13	12:57:47	2042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861534','1276461','1')
2023-10-13	12:57:47	2042	[DEBUG]	Store product image relation
2023-10-13	12:57:47	2042	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:47	2042	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861534 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:47	2042	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:47	2042	[DEBUG]	Executed store
2023-10-13	12:57:47	2042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861534','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:47	2042	[DEBUG]	Checking manufacturer
2023-10-13	12:57:47	2042	[DEBUG]	Load a row
2023-10-13	12:57:47	2042	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:47	2042	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:57:47	2042	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:47	2042	[DEBUG]	Executed store
2023-10-13	12:57:47	2042	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:57:47	2042	[DEBUG]	Manufacturer exists
2023-10-13	12:57:47	2042	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:57:47	2042	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:47	2042	[DEBUG]	Executed store
2023-10-13	12:57:47	2042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861534','35')
2023-10-13	12:57:47	2042	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:47	2042	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:47	2042	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861534 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:47	2042	[DEBUG]	Store custom available field
2023-10-13	12:57:47	2042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861534,3,'',1)
2023-10-13	12:57:47	2042	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:47	2042	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:47	2042	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861534 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:47	2042	[DEBUG]	Store custom available field
2023-10-13	12:57:47	2042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861534,6,'Unitaire',3)
2023-10-13	12:57:47	2042	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:47	2042	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:47	2042	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861533
2023-10-13	12:57:47	2042	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:47	2042	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861533\":[1861533,8,1,\"choisir la taille\"],\"1861534\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861533
2023-10-13	12:57:47	2042	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:47	2042	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861534
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:47	2043	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field taille
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:47	2043	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:47	2043	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:47	2043	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:47	2043	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:47	2043	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:47	2043	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field published
2023-10-13	12:57:47	2043	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:47	2043	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field override
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:47	2043	[DEBUG]	Use field value for field slug
2023-10-13	12:57:47	2043	[DEBUG]	Process line 2043
2023-10-13	12:57:47	2043	[DEBUG]	Load a row
2023-10-13	12:57:47	2043	[DEBUG]	Processing item: A_9536_1
2023-10-13	12:57:47	2043	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:47	2043	[DEBUG]	Processing product tax
2023-10-13	12:57:47	2043	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:47	2043	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:47	2043	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:47	2043	[DEBUG]	Query for Product
2023-10-13	12:57:47	2043	[DEBUG]	Executed store
2023-10-13	12:57:47	2043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9536_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:47	2043	[DEBUG]	Check product language entry
2023-10-13	12:57:47	2043	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861535
2023-10-13	12:57:47	2043	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:47	2043	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9536_1' AND `virtuemart_product_id` != 1861535
2023-10-13	12:57:47	2043	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:47	2043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861535, 'A_9536_1')
2023-10-13	12:57:47	2043	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:47	2043	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-dt-swiss-disque-de-frein-6-trous-disque---moyeu-center-lock-box-noir' AND `virtuemart_product_id` != 1861535
2023-10-13	12:57:47	2043	[DEBUG]	Query for ProductLang
2023-10-13	12:57:47	2043	[DEBUG]	Executed store
2023-10-13	12:57:47	2043	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : DT_ADAPTATEUR',`product_name`='SHIMANO Adaptateur DT Swiss disque de frein 6-trous disque -> moyeu Center-Lock Box  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-dt-swiss-disque-de-frein-6-trous-disque---moyeu-center-lock-box-noir' WHERE `virtuemart_product_id` = '1861535'
2023-10-13	12:57:47	2043	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38905_dt_swiss_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box_.jpg
2023-10-13	12:57:47	2043	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:47	2043	[DEBUG]	Process image file
2023-10-13	12:57:47	2043	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:47	2043	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:47	2043	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38905_dt_swiss_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box_.jpg
2023-10-13	12:57:47	2043	[DEBUG]	Full name target: bcprisme/38905_dt_swiss_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box_.jpg
2023-10-13	12:57:48	2043	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:48	2043	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38905_dt_swiss_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box_.jpg'
2023-10-13	12:57:48	2043	[DEBUG]	Query for Media
2023-10-13	12:57:48	2043	[DEBUG]	Executed store
2023-10-13	12:57:48	2043	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38905_dt_swiss_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box_.jpg',`file_url_thumb`='bcprisme/38905_dt_swiss_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1455848'
2023-10-13	12:57:48	2043	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:48	2043	[DEBUG]	Executed store
2023-10-13	12:57:48	2043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861535','1455848','1')
2023-10-13	12:57:48	2043	[DEBUG]	Store product image relation
2023-10-13	12:57:48	2043	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:48	2043	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861535 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:48	2043	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:48	2043	[DEBUG]	Executed store
2023-10-13	12:57:48	2043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861535','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:48	2043	[DEBUG]	Checking manufacturer
2023-10-13	12:57:48	2043	[DEBUG]	Load a row
2023-10-13	12:57:48	2043	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:48	2043	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:48	2043	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:48	2043	[DEBUG]	Executed store
2023-10-13	12:57:48	2043	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:48	2043	[DEBUG]	Manufacturer exists
2023-10-13	12:57:48	2043	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:57:48	2043	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:48	2043	[DEBUG]	Executed store
2023-10-13	12:57:48	2043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861535','123')
2023-10-13	12:57:48	2043	[DEBUG]	Find the custom field ID
2023-10-13	12:57:48	2043	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:48	2043	[DEBUG]	No custom field ID found
2023-10-13	12:57:48	2043	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:48	2043	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:57:48	2043	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861535 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:48	2043	[DEBUG]	Store custom available field
2023-10-13	12:57:48	2043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861535,3,'0',1)
2023-10-13	12:57:48	2043	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:48	2043	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:48	2043	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861535 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:48	2043	[DEBUG]	Store custom available field
2023-10-13	12:57:48	2043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861535,6,'choisir la taille',3)
2023-10-13	12:57:48	2043	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:48	2043	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:48	2043	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:48	2043	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:48	2043	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861535 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:48	2043	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:48	2043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861535,8,1)
2023-10-13	12:57:48	2043	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:48	2043	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861535\":[1861535,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861535
2023-10-13	12:57:48	2043	[DEBUG]	Checking category
2023-10-13	12:57:48	2043	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:48	2043	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861535
2023-10-13	12:57:48	2043	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:48	2043	[DEBUG]	Executed store
2023-10-13	12:57:48	2043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861535','7335')
2023-10-13	12:57:48	2043	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:48	2043	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861535 AND `virtuemart_category_id` NOT IN (7335)
2023-10-13	12:57:48	2043	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:48	2043	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861535
2023-10-13	12:57:48	2044	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:48	2044	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:48	2044	[DEBUG]	Use field value for field taille
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:48	2044	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:48	2044	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:48	2044	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:48	2044	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:48	2044	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:48	2044	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:48	2044	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:48	2044	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:48	2044	[DEBUG]	Use field value for field published
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:48	2044	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field override
2023-10-13	12:57:48	2044	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:48	2044	[DEBUG]	Use field value for field slug
2023-10-13	12:57:48	2044	[DEBUG]	Process line 2044
2023-10-13	12:57:48	2044	[DEBUG]	Load a row
2023-10-13	12:57:48	2044	[DEBUG]	Processing item: 7613052217192
2023-10-13	12:57:48	2044	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:48	2044	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:48	2044	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9536_1'
2023-10-13	12:57:48	2044	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:48	2044	[DEBUG]	Processing product tax
2023-10-13	12:57:48	2044	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:48	2044	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:48	2044	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:48	2044	[DEBUG]	Query for Product
2023-10-13	12:57:48	2044	[DEBUG]	Executed store
2023-10-13	12:57:48	2044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861535','7613052217192','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:48	2044	[DEBUG]	No parent found
2023-10-13	12:57:48	2044	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861535 AND customfield_value = 'stockable'
2023-10-13	12:57:48	2044	[DEBUG]	Check product language entry
2023-10-13	12:57:48	2044	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861536
2023-10-13	12:57:48	2044	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:48	2044	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7613052217192' AND `virtuemart_product_id` != 1861536
2023-10-13	12:57:48	2044	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:48	2044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861536, '7613052217192')
2023-10-13	12:57:48	2044	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:48	2044	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-dt-swiss-disque-de-frein-6-trous-disque---moyeu-center-lock-box-noir-all' AND `virtuemart_product_id` != 1861536
2023-10-13	12:57:48	2044	[DEBUG]	Query for ProductLang
2023-10-13	12:57:48	2044	[DEBUG]	Executed store
2023-10-13	12:57:48	2044	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Adaptateur DT Swiss disque de frein 6-trous disque -> moyeu Center-Lock Box  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-dt-swiss-disque-de-frein-6-trous-disque---moyeu-center-lock-box-noir-all' WHERE `virtuemart_product_id` = '1861536'
2023-10-13	12:57:48	2044	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38905_dt_swiss_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box_.jpg
2023-10-13	12:57:48	2044	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:48	2044	[DEBUG]	Process image file
2023-10-13	12:57:48	2044	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:48	2044	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:48	2044	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38905_dt_swiss_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box_.jpg
2023-10-13	12:57:48	2044	[DEBUG]	Full name target: bcprisme/38905_dt_swiss_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box_.jpg
2023-10-13	12:57:49	2044	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:49	2044	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38905_dt_swiss_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box_.jpg'
2023-10-13	12:57:49	2044	[DEBUG]	Query for Media
2023-10-13	12:57:49	2044	[DEBUG]	Executed store
2023-10-13	12:57:49	2044	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38905_dt_swiss_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box_.jpg',`file_url_thumb`='bcprisme/38905_dt_swiss_adaptateur_disque_de_frein_6-trous_disque_-__moyeu_center-lock_box_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1455848'
2023-10-13	12:57:49	2044	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:49	2044	[DEBUG]	Executed store
2023-10-13	12:57:49	2044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861536','1455848','1')
2023-10-13	12:57:49	2044	[DEBUG]	Store product image relation
2023-10-13	12:57:49	2044	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:49	2044	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861536 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:49	2044	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:49	2044	[DEBUG]	Executed store
2023-10-13	12:57:49	2044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861536','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:49	2044	[DEBUG]	Checking manufacturer
2023-10-13	12:57:49	2044	[DEBUG]	Load a row
2023-10-13	12:57:49	2044	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:49	2044	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:49	2044	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:49	2044	[DEBUG]	Executed store
2023-10-13	12:57:49	2044	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:57:49	2044	[DEBUG]	Manufacturer exists
2023-10-13	12:57:49	2044	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:57:49	2044	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:49	2044	[DEBUG]	Executed store
2023-10-13	12:57:49	2044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861536','123')
2023-10-13	12:57:49	2044	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:49	2044	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:49	2044	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861536 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:49	2044	[DEBUG]	Store custom available field
2023-10-13	12:57:49	2044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861536,3,'',1)
2023-10-13	12:57:49	2044	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:49	2044	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:57:49	2044	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861536 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:49	2044	[DEBUG]	Store custom available field
2023-10-13	12:57:49	2044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861536,6,'All',3)
2023-10-13	12:57:49	2044	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:49	2044	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:49	2044	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861535
2023-10-13	12:57:49	2044	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:49	2044	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861535\":[1861535,8,1,\"choisir la taille\"],\"1861536\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861535
2023-10-13	12:57:49	2044	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:49	2044	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861536
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:49	2045	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field taille
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:49	2045	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:49	2045	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:49	2045	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:49	2045	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:49	2045	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:49	2045	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field published
2023-10-13	12:57:49	2045	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:49	2045	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field override
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:49	2045	[DEBUG]	Use field value for field slug
2023-10-13	12:57:49	2045	[DEBUG]	Process line 2045
2023-10-13	12:57:49	2045	[DEBUG]	Load a row
2023-10-13	12:57:49	2045	[DEBUG]	Processing item: A_600_4
2023-10-13	12:57:49	2045	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:49	2045	[DEBUG]	Processing product tax
2023-10-13	12:57:49	2045	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:49	2045	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:49	2045	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:49	2045	[DEBUG]	Query for Product
2023-10-13	12:57:49	2045	[DEBUG]	Executed store
2023-10-13	12:57:49	2045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_600_4','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:49	2045	[DEBUG]	Check product language entry
2023-10-13	12:57:49	2045	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861537
2023-10-13	12:57:49	2045	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:49	2045	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_600_4' AND `virtuemart_product_id` != 1861537
2023-10-13	12:57:49	2045	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:49	2045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861537, 'A_600_4')
2023-10-13	12:57:49	2045	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:49	2045	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-disque-frein-msc-ultralight-acier-140mm-1-8mm-epaisseur-acier' AND `virtuemart_product_id` != 1861537
2023-10-13	12:57:49	2045	[DEBUG]	Query for ProductLang
2023-10-13	12:57:49	2045	[DEBUG]	Executed store
2023-10-13	12:57:49	2045	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessin exclusif pour réduire les vibrations et réduire le poids au maximum.Système standadr avec 6 vis.67gr<br>N° art fourn : HJ1523140',`product_name`='MLV-Bike Disque frein MSC Ultralight. Acier 140mm. 1.8mm épaisseur / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-disque-frein-msc-ultralight-acier-140mm-1-8mm-epaisseur-acier' WHERE `virtuemart_product_id` = '1861537'
2023-10-13	12:57:49	2045	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_723.jpg
2023-10-13	12:57:49	2045	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:49	2045	[DEBUG]	Process image file
2023-10-13	12:57:49	2045	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:49	2045	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:49	2045	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_723.jpg
2023-10-13	12:57:49	2045	[DEBUG]	Full name target: bcprisme/image_723.jpg
2023-10-13	12:57:50	2045	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:50	2045	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_723.jpg'
2023-10-13	12:57:50	2045	[DEBUG]	Query for Media
2023-10-13	12:57:50	2045	[DEBUG]	Executed store
2023-10-13	12:57:50	2045	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_723.jpg',`file_url_thumb`='bcprisme/image_723.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12725'
2023-10-13	12:57:50	2045	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:50	2045	[DEBUG]	Executed store
2023-10-13	12:57:50	2045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861537','12725','1')
2023-10-13	12:57:50	2045	[DEBUG]	Store product image relation
2023-10-13	12:57:50	2045	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:50	2045	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861537 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:50	2045	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:50	2045	[DEBUG]	Executed store
2023-10-13	12:57:50	2045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861537','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:50	2045	[DEBUG]	Checking manufacturer
2023-10-13	12:57:50	2045	[DEBUG]	Load a row
2023-10-13	12:57:50	2045	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:50	2045	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:50	2045	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:50	2045	[DEBUG]	Executed store
2023-10-13	12:57:50	2045	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:50	2045	[DEBUG]	Manufacturer exists
2023-10-13	12:57:50	2045	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:57:50	2045	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:50	2045	[DEBUG]	Executed store
2023-10-13	12:57:50	2045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861537','2')
2023-10-13	12:57:50	2045	[DEBUG]	Find the custom field ID
2023-10-13	12:57:50	2045	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:50	2045	[DEBUG]	No custom field ID found
2023-10-13	12:57:50	2045	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:50	2045	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	12:57:50	2045	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861537 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:50	2045	[DEBUG]	Store custom available field
2023-10-13	12:57:50	2045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861537,3,'29.8169444444444',1)
2023-10-13	12:57:50	2045	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:50	2045	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:50	2045	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861537 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:50	2045	[DEBUG]	Store custom available field
2023-10-13	12:57:50	2045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861537,6,'choisir la taille',3)
2023-10-13	12:57:50	2045	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:50	2045	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:50	2045	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:50	2045	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:50	2045	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861537 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:50	2045	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:50	2045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861537,8,1)
2023-10-13	12:57:50	2045	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:50	2045	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861537\":[1861537,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861537
2023-10-13	12:57:50	2045	[DEBUG]	Checking category
2023-10-13	12:57:50	2045	[DEBUG]	Check if category path exists: FREINS / DISQUES - BREMSE / BREMSCHEIBE
2023-10-13	12:57:50	2045	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / DISQUES - BREMSE / BREMSCHEIBE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:57:50	2045	[DEBUG]	Check if category path exists: DISQUES - BREMSCHEIBE
2023-10-13	12:57:50	2045	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'DISQUES - BREMSCHEIBE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7336
2023-10-13	12:57:50	2045	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:50	2045	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861537
2023-10-13	12:57:50	2045	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:50	2045	[DEBUG]	Executed store
2023-10-13	12:57:50	2045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861537','7337')
2023-10-13	12:57:50	2045	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:50	2045	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861537 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:57:50	2045	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:50	2045	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861537
2023-10-13	12:57:50	2046	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:50	2046	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:50	2046	[DEBUG]	Use field value for field taille
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:50	2046	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:50	2046	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:50	2046	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:50	2046	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:50	2046	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:50	2046	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:50	2046	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:50	2046	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:50	2046	[DEBUG]	Use field value for field published
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:50	2046	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field override
2023-10-13	12:57:50	2046	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:50	2046	[DEBUG]	Use field value for field slug
2023-10-13	12:57:50	2046	[DEBUG]	Process line 2046
2023-10-13	12:57:50	2046	[DEBUG]	Load a row
2023-10-13	12:57:50	2046	[DEBUG]	Processing item: 8436047355209
2023-10-13	12:57:50	2046	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:50	2046	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:50	2046	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_600_4'
2023-10-13	12:57:50	2046	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:50	2046	[DEBUG]	Processing product tax
2023-10-13	12:57:50	2046	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:50	2046	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:50	2046	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:50	2046	[DEBUG]	Query for Product
2023-10-13	12:57:50	2046	[DEBUG]	Executed store
2023-10-13	12:57:50	2046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861537','8436047355209','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:50	2046	[DEBUG]	No parent found
2023-10-13	12:57:50	2046	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861537 AND customfield_value = 'stockable'
2023-10-13	12:57:50	2046	[DEBUG]	Check product language entry
2023-10-13	12:57:50	2046	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861538
2023-10-13	12:57:50	2046	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:50	2046	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047355209' AND `virtuemart_product_id` != 1861538
2023-10-13	12:57:50	2046	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:50	2046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861538, '8436047355209')
2023-10-13	12:57:50	2046	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:50	2046	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-disque-frein-msc-ultralight-acier-140mm-1-8mm-epaisseur-acier-unitaire' AND `virtuemart_product_id` != 1861538
2023-10-13	12:57:50	2046	[DEBUG]	Query for ProductLang
2023-10-13	12:57:50	2046	[DEBUG]	Executed store
2023-10-13	12:57:50	2046	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Disque frein MSC Ultralight. Acier 140mm. 1.8mm épaisseur / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-disque-frein-msc-ultralight-acier-140mm-1-8mm-epaisseur-acier-unitaire' WHERE `virtuemart_product_id` = '1861538'
2023-10-13	12:57:50	2046	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_723.jpg
2023-10-13	12:57:50	2046	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:50	2046	[DEBUG]	Process image file
2023-10-13	12:57:50	2046	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:50	2046	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:50	2046	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_723.jpg
2023-10-13	12:57:50	2046	[DEBUG]	Full name target: bcprisme/image_723.jpg
2023-10-13	12:57:51	2046	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:51	2046	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_723.jpg'
2023-10-13	12:57:51	2046	[DEBUG]	Query for Media
2023-10-13	12:57:51	2046	[DEBUG]	Executed store
2023-10-13	12:57:51	2046	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_723.jpg',`file_url_thumb`='bcprisme/image_723.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12725'
2023-10-13	12:57:51	2046	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:51	2046	[DEBUG]	Executed store
2023-10-13	12:57:51	2046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861538','12725','1')
2023-10-13	12:57:51	2046	[DEBUG]	Store product image relation
2023-10-13	12:57:51	2046	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:51	2046	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861538 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:51	2046	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:51	2046	[DEBUG]	Executed store
2023-10-13	12:57:51	2046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861538','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:51	2046	[DEBUG]	Checking manufacturer
2023-10-13	12:57:51	2046	[DEBUG]	Load a row
2023-10-13	12:57:51	2046	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:51	2046	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:51	2046	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:51	2046	[DEBUG]	Executed store
2023-10-13	12:57:51	2046	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:51	2046	[DEBUG]	Manufacturer exists
2023-10-13	12:57:51	2046	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:57:51	2046	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:51	2046	[DEBUG]	Executed store
2023-10-13	12:57:51	2046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861538','2')
2023-10-13	12:57:51	2046	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:51	2046	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:51	2046	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861538 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:51	2046	[DEBUG]	Store custom available field
2023-10-13	12:57:51	2046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861538,3,'',1)
2023-10-13	12:57:51	2046	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:51	2046	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:51	2046	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861538 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:51	2046	[DEBUG]	Store custom available field
2023-10-13	12:57:51	2046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861538,6,'Unitaire',3)
2023-10-13	12:57:51	2046	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:51	2046	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:51	2046	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861537
2023-10-13	12:57:51	2046	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:51	2046	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861537\":[1861537,8,1,\"choisir la taille\"],\"1861538\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861537
2023-10-13	12:57:51	2046	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:51	2046	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861538
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:51	2047	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field taille
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:51	2047	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:51	2047	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:51	2047	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:51	2047	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:51	2047	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:51	2047	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field published
2023-10-13	12:57:51	2047	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:51	2047	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field override
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:51	2047	[DEBUG]	Use field value for field slug
2023-10-13	12:57:51	2047	[DEBUG]	Process line 2047
2023-10-13	12:57:51	2047	[DEBUG]	Load a row
2023-10-13	12:57:51	2047	[DEBUG]	Processing item: A_601_4
2023-10-13	12:57:51	2047	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:51	2047	[DEBUG]	Processing product tax
2023-10-13	12:57:51	2047	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:51	2047	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:51	2047	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:51	2047	[DEBUG]	Query for Product
2023-10-13	12:57:51	2047	[DEBUG]	Executed store
2023-10-13	12:57:51	2047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_601_4','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:51	2047	[DEBUG]	Check product language entry
2023-10-13	12:57:51	2047	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861539
2023-10-13	12:57:51	2047	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:51	2047	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_601_4' AND `virtuemart_product_id` != 1861539
2023-10-13	12:57:51	2047	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:51	2047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861539, 'A_601_4')
2023-10-13	12:57:51	2047	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:51	2047	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-acier' AND `virtuemart_product_id` != 1861539
2023-10-13	12:57:51	2047	[DEBUG]	Query for ProductLang
2023-10-13	12:57:51	2047	[DEBUG]	Executed store
2023-10-13	12:57:51	2047	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessin exclusif pour réduire les vibrations et réduire le poids au maximum. Système standard avec 6 vis. 80gr<br>N° art fourn : HJ1523160',`product_name`='MLV-Bike Disque frein MSC Ultralight. Acier 160mm. 1.8mm épaisseur / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-acier' WHERE `virtuemart_product_id` = '1861539'
2023-10-13	12:57:51	2047	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_724.jpg
2023-10-13	12:57:51	2047	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:51	2047	[DEBUG]	Process image file
2023-10-13	12:57:51	2047	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:51	2047	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:51	2047	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_724.jpg
2023-10-13	12:57:51	2047	[DEBUG]	Full name target: bcprisme/image_724.jpg
2023-10-13	12:57:52	2047	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:52	2047	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_724.jpg'
2023-10-13	12:57:52	2047	[DEBUG]	Query for Media
2023-10-13	12:57:52	2047	[DEBUG]	Executed store
2023-10-13	12:57:52	2047	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_724.jpg',`file_url_thumb`='bcprisme/image_724.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12726'
2023-10-13	12:57:52	2047	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:52	2047	[DEBUG]	Executed store
2023-10-13	12:57:52	2047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861539','12726','1')
2023-10-13	12:57:52	2047	[DEBUG]	Store product image relation
2023-10-13	12:57:52	2047	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:52	2047	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861539 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:52	2047	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:52	2047	[DEBUG]	Executed store
2023-10-13	12:57:52	2047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861539','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:52	2047	[DEBUG]	Checking manufacturer
2023-10-13	12:57:52	2047	[DEBUG]	Load a row
2023-10-13	12:57:52	2047	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:52	2047	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:52	2047	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:52	2047	[DEBUG]	Executed store
2023-10-13	12:57:52	2047	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:52	2047	[DEBUG]	Manufacturer exists
2023-10-13	12:57:52	2047	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:57:52	2047	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:52	2047	[DEBUG]	Executed store
2023-10-13	12:57:52	2047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861539','2')
2023-10-13	12:57:52	2047	[DEBUG]	Find the custom field ID
2023-10-13	12:57:52	2047	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:52	2047	[DEBUG]	No custom field ID found
2023-10-13	12:57:52	2047	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:52	2047	[DEBUG]	Get existing row with customfield value 44.7752777777778
2023-10-13	12:57:52	2047	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861539 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:52	2047	[DEBUG]	Store custom available field
2023-10-13	12:57:52	2047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861539,3,'44.7752777777778',1)
2023-10-13	12:57:52	2047	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:52	2047	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:52	2047	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861539 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:52	2047	[DEBUG]	Store custom available field
2023-10-13	12:57:52	2047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861539,6,'choisir la taille',3)
2023-10-13	12:57:52	2047	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:52	2047	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:52	2047	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:52	2047	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:52	2047	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861539 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:52	2047	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:52	2047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861539,8,1)
2023-10-13	12:57:52	2047	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:52	2047	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861539\":[1861539,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861539
2023-10-13	12:57:52	2047	[DEBUG]	Checking category
2023-10-13	12:57:52	2047	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:52	2047	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861539
2023-10-13	12:57:52	2047	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:52	2047	[DEBUG]	Executed store
2023-10-13	12:57:52	2047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861539','7337')
2023-10-13	12:57:52	2047	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:52	2047	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861539 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:57:52	2047	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:52	2047	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861539
2023-10-13	12:57:52	2048	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:52	2048	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:52	2048	[DEBUG]	Use field value for field taille
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:52	2048	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:52	2048	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:52	2048	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:52	2048	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:52	2048	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:52	2048	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:52	2048	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:52	2048	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:52	2048	[DEBUG]	Use field value for field published
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:52	2048	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field override
2023-10-13	12:57:52	2048	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:52	2048	[DEBUG]	Use field value for field slug
2023-10-13	12:57:52	2048	[DEBUG]	Process line 2048
2023-10-13	12:57:52	2048	[DEBUG]	Load a row
2023-10-13	12:57:52	2048	[DEBUG]	Processing item: 8436047355193
2023-10-13	12:57:52	2048	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:52	2048	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:52	2048	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_601_4'
2023-10-13	12:57:52	2048	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:52	2048	[DEBUG]	Processing product tax
2023-10-13	12:57:52	2048	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:52	2048	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:52	2048	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:52	2048	[DEBUG]	Query for Product
2023-10-13	12:57:52	2048	[DEBUG]	Executed store
2023-10-13	12:57:52	2048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861539','8436047355193','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:52	2048	[DEBUG]	No parent found
2023-10-13	12:57:52	2048	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861539 AND customfield_value = 'stockable'
2023-10-13	12:57:52	2048	[DEBUG]	Check product language entry
2023-10-13	12:57:52	2048	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861540
2023-10-13	12:57:52	2048	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:52	2048	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047355193' AND `virtuemart_product_id` != 1861540
2023-10-13	12:57:52	2048	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:52	2048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861540, '8436047355193')
2023-10-13	12:57:52	2048	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:52	2048	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-acier-unitaire' AND `virtuemart_product_id` != 1861540
2023-10-13	12:57:52	2048	[DEBUG]	Query for ProductLang
2023-10-13	12:57:52	2048	[DEBUG]	Executed store
2023-10-13	12:57:52	2048	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Disque frein MSC Ultralight. Acier 160mm. 1.8mm épaisseur / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-acier-unitaire' WHERE `virtuemart_product_id` = '1861540'
2023-10-13	12:57:52	2048	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_724.jpg
2023-10-13	12:57:52	2048	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:52	2048	[DEBUG]	Process image file
2023-10-13	12:57:52	2048	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:57:52	2048	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:52	2048	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_724.jpg
2023-10-13	12:57:52	2048	[DEBUG]	Full name target: bcprisme/image_724.jpg
2023-10-13	12:57:53	2048	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:53	2048	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_724.jpg'
2023-10-13	12:57:53	2048	[DEBUG]	Query for Media
2023-10-13	12:57:53	2048	[DEBUG]	Executed store
2023-10-13	12:57:53	2048	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_724.jpg',`file_url_thumb`='bcprisme/image_724.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12726'
2023-10-13	12:57:53	2048	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:53	2048	[DEBUG]	Executed store
2023-10-13	12:57:53	2048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861540','12726','1')
2023-10-13	12:57:53	2048	[DEBUG]	Store product image relation
2023-10-13	12:57:53	2048	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:53	2048	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861540 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:53	2048	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:53	2048	[DEBUG]	Executed store
2023-10-13	12:57:53	2048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861540','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:53	2048	[DEBUG]	Checking manufacturer
2023-10-13	12:57:53	2048	[DEBUG]	Load a row
2023-10-13	12:57:53	2048	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:53	2048	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:53	2048	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:53	2048	[DEBUG]	Executed store
2023-10-13	12:57:53	2048	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:53	2048	[DEBUG]	Manufacturer exists
2023-10-13	12:57:53	2048	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:57:53	2048	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:53	2048	[DEBUG]	Executed store
2023-10-13	12:57:53	2048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861540','2')
2023-10-13	12:57:53	2048	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:53	2048	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:53	2048	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861540 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:53	2048	[DEBUG]	Store custom available field
2023-10-13	12:57:53	2048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861540,3,'',1)
2023-10-13	12:57:53	2048	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:53	2048	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:53	2048	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861540 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:53	2048	[DEBUG]	Store custom available field
2023-10-13	12:57:53	2048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861540,6,'Unitaire',3)
2023-10-13	12:57:53	2048	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:53	2048	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:53	2048	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861539
2023-10-13	12:57:53	2048	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:53	2048	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861539\":[1861539,8,1,\"choisir la taille\"],\"1861540\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861539
2023-10-13	12:57:53	2048	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:53	2048	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861540
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:53	2049	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field taille
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:53	2049	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:53	2049	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:53	2049	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:53	2049	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:53	2049	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:53	2049	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field published
2023-10-13	12:57:53	2049	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:53	2049	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field override
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:53	2049	[DEBUG]	Use field value for field slug
2023-10-13	12:57:54	2049	[DEBUG]	Process line 2049
2023-10-13	12:57:54	2049	[DEBUG]	Load a row
2023-10-13	12:57:54	2049	[DEBUG]	Processing item: A_601_5
2023-10-13	12:57:54	2049	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:54	2049	[DEBUG]	Processing product tax
2023-10-13	12:57:54	2049	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:54	2049	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:54	2049	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:54	2049	[DEBUG]	Query for Product
2023-10-13	12:57:54	2049	[DEBUG]	Executed store
2023-10-13	12:57:54	2049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_601_5','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:54	2049	[DEBUG]	Check product language entry
2023-10-13	12:57:54	2049	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861541
2023-10-13	12:57:54	2049	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:54	2049	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_601_5' AND `virtuemart_product_id` != 1861541
2023-10-13	12:57:54	2049	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:54	2049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861541, 'A_601_5')
2023-10-13	12:57:54	2049	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:54	2049	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-or' AND `virtuemart_product_id` != 1861541
2023-10-13	12:57:54	2049	[DEBUG]	Query for ProductLang
2023-10-13	12:57:54	2049	[DEBUG]	Executed store
2023-10-13	12:57:54	2049	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessin exclusif pour réduire les vibrations et réduire le poids au maximum. Système standard avec 6 vis. 80gr<br>N° art fourn : HJ1523160',`product_name`='MLV-Bike Disque frein MSC Ultralight. Acier 160mm. 1.8mm épaisseur / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-or' WHERE `virtuemart_product_id` = '1861541'
2023-10-13	12:57:54	2049	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5797.jpg
2023-10-13	12:57:54	2049	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:57:54	2049	[DEBUG]	Process image file
2023-10-13	12:57:54	2049	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:57:54	2049	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:54	2049	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5797.jpg
2023-10-13	12:57:54	2049	[DEBUG]	Full name target: bcprisme/image_5797.jpg
2023-10-13	12:57:55	2049	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:55	2049	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5797.jpg'
2023-10-13	12:57:55	2049	[DEBUG]	Query for Media
2023-10-13	12:57:55	2049	[DEBUG]	Executed store
2023-10-13	12:57:55	2049	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5797.jpg',`file_url_thumb`='bcprisme/image_5797.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12727'
2023-10-13	12:57:55	2049	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:55	2049	[DEBUG]	Executed store
2023-10-13	12:57:55	2049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861541','12727','1')
2023-10-13	12:57:55	2049	[DEBUG]	Store product image relation
2023-10-13	12:57:55	2049	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:55	2049	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861541 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:55	2049	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:55	2049	[DEBUG]	Executed store
2023-10-13	12:57:55	2049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861541','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:55	2049	[DEBUG]	Checking manufacturer
2023-10-13	12:57:55	2049	[DEBUG]	Load a row
2023-10-13	12:57:55	2049	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:55	2049	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:55	2049	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:55	2049	[DEBUG]	Executed store
2023-10-13	12:57:55	2049	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:55	2049	[DEBUG]	Manufacturer exists
2023-10-13	12:57:55	2049	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:57:55	2049	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:55	2049	[DEBUG]	Executed store
2023-10-13	12:57:55	2049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861541','2')
2023-10-13	12:57:55	2049	[DEBUG]	Find the custom field ID
2023-10-13	12:57:55	2049	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:55	2049	[DEBUG]	No custom field ID found
2023-10-13	12:57:55	2049	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:55	2049	[DEBUG]	Get existing row with customfield value 44.7752777777778
2023-10-13	12:57:55	2049	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861541 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:55	2049	[DEBUG]	Store custom available field
2023-10-13	12:57:55	2049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861541,3,'44.7752777777778',1)
2023-10-13	12:57:55	2049	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:55	2049	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:55	2049	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861541 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:55	2049	[DEBUG]	Store custom available field
2023-10-13	12:57:55	2049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861541,6,'choisir la taille',3)
2023-10-13	12:57:55	2049	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:55	2049	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:55	2049	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:55	2049	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:55	2049	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861541 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:55	2049	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:55	2049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861541,8,1)
2023-10-13	12:57:55	2049	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:55	2049	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861541\":[1861541,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861541
2023-10-13	12:57:55	2049	[DEBUG]	Checking category
2023-10-13	12:57:55	2049	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:55	2049	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861541
2023-10-13	12:57:55	2049	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:55	2049	[DEBUG]	Executed store
2023-10-13	12:57:55	2049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861541','7337')
2023-10-13	12:57:55	2049	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:55	2049	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861541 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:57:55	2049	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:55	2049	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861541
2023-10-13	12:57:55	2050	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:55	2050	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:55	2050	[DEBUG]	Use field value for field taille
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:55	2050	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:55	2050	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:55	2050	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:55	2050	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:55	2050	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:55	2050	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:55	2050	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:55	2050	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:55	2050	[DEBUG]	Use field value for field published
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:55	2050	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field override
2023-10-13	12:57:55	2050	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:55	2050	[DEBUG]	Use field value for field slug
2023-10-13	12:57:55	2050	[DEBUG]	Process line 2050
2023-10-13	12:57:55	2050	[DEBUG]	Load a row
2023-10-13	12:57:55	2050	[DEBUG]	Processing item: 8436041139737
2023-10-13	12:57:55	2050	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:55	2050	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:55	2050	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_601_5'
2023-10-13	12:57:55	2050	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:55	2050	[DEBUG]	Processing product tax
2023-10-13	12:57:55	2050	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:55	2050	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:55	2050	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:55	2050	[DEBUG]	Query for Product
2023-10-13	12:57:55	2050	[DEBUG]	Executed store
2023-10-13	12:57:55	2050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861541','8436041139737','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:55	2050	[DEBUG]	No parent found
2023-10-13	12:57:55	2050	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861541 AND customfield_value = 'stockable'
2023-10-13	12:57:55	2050	[DEBUG]	Check product language entry
2023-10-13	12:57:55	2050	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861542
2023-10-13	12:57:55	2050	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:55	2050	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041139737' AND `virtuemart_product_id` != 1861542
2023-10-13	12:57:55	2050	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:55	2050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861542, '8436041139737')
2023-10-13	12:57:55	2050	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:55	2050	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-or-unitaire' AND `virtuemart_product_id` != 1861542
2023-10-13	12:57:55	2050	[DEBUG]	Query for ProductLang
2023-10-13	12:57:55	2050	[DEBUG]	Executed store
2023-10-13	12:57:55	2050	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Disque frein MSC Ultralight. Acier 160mm. 1.8mm épaisseur / Or (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-or-unitaire' WHERE `virtuemart_product_id` = '1861542'
2023-10-13	12:57:55	2050	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5797.jpg
2023-10-13	12:57:55	2050	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:57:55	2050	[DEBUG]	Process image file
2023-10-13	12:57:55	2050	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:57:55	2050	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:55	2050	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5797.jpg
2023-10-13	12:57:55	2050	[DEBUG]	Full name target: bcprisme/image_5797.jpg
2023-10-13	12:57:56	2050	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:56	2050	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5797.jpg'
2023-10-13	12:57:56	2050	[DEBUG]	Query for Media
2023-10-13	12:57:56	2050	[DEBUG]	Executed store
2023-10-13	12:57:56	2050	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5797.jpg',`file_url_thumb`='bcprisme/image_5797.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12727'
2023-10-13	12:57:56	2050	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:56	2050	[DEBUG]	Executed store
2023-10-13	12:57:56	2050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861542','12727','1')
2023-10-13	12:57:56	2050	[DEBUG]	Store product image relation
2023-10-13	12:57:56	2050	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:56	2050	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861542 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:56	2050	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:56	2050	[DEBUG]	Executed store
2023-10-13	12:57:56	2050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861542','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:56	2050	[DEBUG]	Checking manufacturer
2023-10-13	12:57:56	2050	[DEBUG]	Load a row
2023-10-13	12:57:56	2050	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:56	2050	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:56	2050	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:56	2050	[DEBUG]	Executed store
2023-10-13	12:57:56	2050	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:56	2050	[DEBUG]	Manufacturer exists
2023-10-13	12:57:56	2050	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:57:56	2050	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:56	2050	[DEBUG]	Executed store
2023-10-13	12:57:56	2050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861542','2')
2023-10-13	12:57:56	2050	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:56	2050	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:56	2050	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861542 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:56	2050	[DEBUG]	Store custom available field
2023-10-13	12:57:56	2050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861542,3,'',1)
2023-10-13	12:57:56	2050	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:56	2050	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:56	2050	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861542 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:56	2050	[DEBUG]	Store custom available field
2023-10-13	12:57:56	2050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861542,6,'Unitaire',3)
2023-10-13	12:57:56	2050	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:56	2050	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:56	2050	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861541
2023-10-13	12:57:56	2050	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:56	2050	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861541\":[1861541,8,1,\"choisir la taille\"],\"1861542\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861541
2023-10-13	12:57:56	2050	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:56	2050	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861542
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:56	2051	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field taille
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:56	2051	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:56	2051	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:56	2051	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:56	2051	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:56	2051	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:56	2051	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field published
2023-10-13	12:57:56	2051	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:56	2051	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field override
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:56	2051	[DEBUG]	Use field value for field slug
2023-10-13	12:57:56	2051	[DEBUG]	Process line 2051
2023-10-13	12:57:56	2051	[DEBUG]	Load a row
2023-10-13	12:57:56	2051	[DEBUG]	Processing item: A_601_7
2023-10-13	12:57:56	2051	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:56	2051	[DEBUG]	Processing product tax
2023-10-13	12:57:56	2051	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:56	2051	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:56	2051	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:56	2051	[DEBUG]	Query for Product
2023-10-13	12:57:56	2051	[DEBUG]	Executed store
2023-10-13	12:57:56	2051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_601_7','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:56	2051	[DEBUG]	Check product language entry
2023-10-13	12:57:56	2051	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861543
2023-10-13	12:57:56	2051	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:56	2051	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_601_7' AND `virtuemart_product_id` != 1861543
2023-10-13	12:57:56	2051	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:56	2051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861543, 'A_601_7')
2023-10-13	12:57:56	2051	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:56	2051	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-rouge' AND `virtuemart_product_id` != 1861543
2023-10-13	12:57:56	2051	[DEBUG]	Query for ProductLang
2023-10-13	12:57:56	2051	[DEBUG]	Executed store
2023-10-13	12:57:56	2051	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessin exclusif pour réduire les vibrations et réduire le poids au maximum. Système standard avec 6 vis. 80gr<br>N° art fourn : HJ1523160',`product_name`='MLV-Bike Disque frein MSC Ultralight. Acier 160mm. 1.8mm épaisseur / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-rouge' WHERE `virtuemart_product_id` = '1861543'
2023-10-13	12:57:56	2051	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5798.jpg
2023-10-13	12:57:56	2051	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:57:56	2051	[DEBUG]	Process image file
2023-10-13	12:57:56	2051	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:57:56	2051	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:56	2051	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5798.jpg
2023-10-13	12:57:56	2051	[DEBUG]	Full name target: bcprisme/image_5798.jpg
2023-10-13	12:57:57	2051	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:57	2051	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5798.jpg'
2023-10-13	12:57:57	2051	[DEBUG]	Query for Media
2023-10-13	12:57:57	2051	[DEBUG]	Executed store
2023-10-13	12:57:57	2051	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5798.jpg',`file_url_thumb`='bcprisme/image_5798.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12728'
2023-10-13	12:57:57	2051	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:57	2051	[DEBUG]	Executed store
2023-10-13	12:57:57	2051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861543','12728','1')
2023-10-13	12:57:57	2051	[DEBUG]	Store product image relation
2023-10-13	12:57:57	2051	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:57	2051	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861543 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:57	2051	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:57	2051	[DEBUG]	Executed store
2023-10-13	12:57:57	2051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861543','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:57	2051	[DEBUG]	Checking manufacturer
2023-10-13	12:57:57	2051	[DEBUG]	Load a row
2023-10-13	12:57:57	2051	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:57	2051	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:57	2051	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:57	2051	[DEBUG]	Executed store
2023-10-13	12:57:57	2051	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:57	2051	[DEBUG]	Manufacturer exists
2023-10-13	12:57:57	2051	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:57:57	2051	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:57	2051	[DEBUG]	Executed store
2023-10-13	12:57:57	2051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861543','2')
2023-10-13	12:57:57	2051	[DEBUG]	Find the custom field ID
2023-10-13	12:57:57	2051	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:57	2051	[DEBUG]	No custom field ID found
2023-10-13	12:57:57	2051	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:57	2051	[DEBUG]	Get existing row with customfield value 44.7752777777778
2023-10-13	12:57:57	2051	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861543 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:57	2051	[DEBUG]	Store custom available field
2023-10-13	12:57:57	2051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861543,3,'44.7752777777778',1)
2023-10-13	12:57:57	2051	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:57	2051	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:57	2051	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861543 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:57	2051	[DEBUG]	Store custom available field
2023-10-13	12:57:57	2051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861543,6,'choisir la taille',3)
2023-10-13	12:57:57	2051	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:57	2051	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:57	2051	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:57	2051	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:57	2051	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861543 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:57	2051	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:57	2051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861543,8,1)
2023-10-13	12:57:57	2051	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:57	2051	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861543\":[1861543,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861543
2023-10-13	12:57:57	2051	[DEBUG]	Checking category
2023-10-13	12:57:57	2051	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:57	2051	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861543
2023-10-13	12:57:57	2051	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:57	2051	[DEBUG]	Executed store
2023-10-13	12:57:57	2051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861543','7337')
2023-10-13	12:57:57	2051	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:57	2051	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861543 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:57:57	2051	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:57	2051	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861543
2023-10-13	12:57:57	2052	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:57	2052	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:57	2052	[DEBUG]	Use field value for field taille
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:57	2052	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:57	2052	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:57	2052	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:57	2052	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:57	2052	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:57	2052	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:57	2052	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:57	2052	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:57	2052	[DEBUG]	Use field value for field published
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:57	2052	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field override
2023-10-13	12:57:57	2052	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:57	2052	[DEBUG]	Use field value for field slug
2023-10-13	12:57:57	2052	[DEBUG]	Process line 2052
2023-10-13	12:57:57	2052	[DEBUG]	Load a row
2023-10-13	12:57:57	2052	[DEBUG]	Processing item: 8436041139867
2023-10-13	12:57:57	2052	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:57	2052	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:57	2052	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_601_7'
2023-10-13	12:57:57	2052	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:57	2052	[DEBUG]	Processing product tax
2023-10-13	12:57:57	2052	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:57	2052	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:57	2052	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:57	2052	[DEBUG]	Query for Product
2023-10-13	12:57:57	2052	[DEBUG]	Executed store
2023-10-13	12:57:57	2052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861543','8436041139867','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:57	2052	[DEBUG]	No parent found
2023-10-13	12:57:57	2052	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861543 AND customfield_value = 'stockable'
2023-10-13	12:57:57	2052	[DEBUG]	Check product language entry
2023-10-13	12:57:57	2052	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861544
2023-10-13	12:57:57	2052	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:57	2052	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041139867' AND `virtuemart_product_id` != 1861544
2023-10-13	12:57:57	2052	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:57	2052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861544, '8436041139867')
2023-10-13	12:57:57	2052	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:57	2052	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-rouge-unitaire' AND `virtuemart_product_id` != 1861544
2023-10-13	12:57:57	2052	[DEBUG]	Query for ProductLang
2023-10-13	12:57:57	2052	[DEBUG]	Executed store
2023-10-13	12:57:57	2052	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Disque frein MSC Ultralight. Acier 160mm. 1.8mm épaisseur / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-rouge-unitaire' WHERE `virtuemart_product_id` = '1861544'
2023-10-13	12:57:57	2052	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5798.jpg
2023-10-13	12:57:57	2052	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:57:57	2052	[DEBUG]	Process image file
2023-10-13	12:57:57	2052	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:57:57	2052	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:57	2052	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5798.jpg
2023-10-13	12:57:57	2052	[DEBUG]	Full name target: bcprisme/image_5798.jpg
2023-10-13	12:57:58	2052	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:58	2052	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5798.jpg'
2023-10-13	12:57:58	2052	[DEBUG]	Query for Media
2023-10-13	12:57:58	2052	[DEBUG]	Executed store
2023-10-13	12:57:58	2052	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5798.jpg',`file_url_thumb`='bcprisme/image_5798.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12728'
2023-10-13	12:57:58	2052	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:58	2052	[DEBUG]	Executed store
2023-10-13	12:57:58	2052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861544','12728','1')
2023-10-13	12:57:58	2052	[DEBUG]	Store product image relation
2023-10-13	12:57:58	2052	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:58	2052	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861544 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:58	2052	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:58	2052	[DEBUG]	Executed store
2023-10-13	12:57:58	2052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861544','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:58	2052	[DEBUG]	Checking manufacturer
2023-10-13	12:57:58	2052	[DEBUG]	Load a row
2023-10-13	12:57:58	2052	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:58	2052	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:58	2052	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:58	2052	[DEBUG]	Executed store
2023-10-13	12:57:58	2052	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:58	2052	[DEBUG]	Manufacturer exists
2023-10-13	12:57:58	2052	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:57:58	2052	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:58	2052	[DEBUG]	Executed store
2023-10-13	12:57:58	2052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861544','2')
2023-10-13	12:57:58	2052	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:58	2052	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:57:58	2052	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861544 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:58	2052	[DEBUG]	Store custom available field
2023-10-13	12:57:58	2052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861544,3,'',1)
2023-10-13	12:57:58	2052	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:58	2052	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:57:58	2052	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861544 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:58	2052	[DEBUG]	Store custom available field
2023-10-13	12:57:58	2052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861544,6,'Unitaire',3)
2023-10-13	12:57:58	2052	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:58	2052	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:57:58	2052	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861543
2023-10-13	12:57:58	2052	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:58	2052	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861543\":[1861543,8,1,\"choisir la taille\"],\"1861544\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861543
2023-10-13	12:57:58	2052	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:58	2052	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861544
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:58	2053	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field taille
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field category_path
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:58	2053	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:57:58	2053	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:58	2053	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field product_weight
2023-10-13	12:57:58	2053	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:58	2053	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:58	2053	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field published
2023-10-13	12:57:58	2053	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:58	2053	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field custom_title
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field custom_param
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field override
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field public_price
2023-10-13	12:57:58	2053	[DEBUG]	Use field value for field slug
2023-10-13	12:57:58	2053	[DEBUG]	Process line 2053
2023-10-13	12:57:58	2053	[DEBUG]	Load a row
2023-10-13	12:57:58	2053	[DEBUG]	Processing item: A_601_8
2023-10-13	12:57:58	2053	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:58	2053	[DEBUG]	Processing product tax
2023-10-13	12:57:58	2053	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:58	2053	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:58	2053	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:58	2053	[DEBUG]	Query for Product
2023-10-13	12:57:58	2053	[DEBUG]	Executed store
2023-10-13	12:57:58	2053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_601_8','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:58	2053	[DEBUG]	Check product language entry
2023-10-13	12:57:58	2053	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861545
2023-10-13	12:57:58	2053	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:58	2053	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_601_8' AND `virtuemart_product_id` != 1861545
2023-10-13	12:57:58	2053	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:58	2053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861545, 'A_601_8')
2023-10-13	12:57:58	2053	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:58	2053	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-chrome' AND `virtuemart_product_id` != 1861545
2023-10-13	12:57:58	2053	[DEBUG]	Query for ProductLang
2023-10-13	12:57:58	2053	[DEBUG]	Executed store
2023-10-13	12:57:58	2053	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessin exclusif pour réduire les vibrations et réduire le poids au maximum. Système standard avec 6 vis. 80gr<br>N° art fourn : HJ1523160',`product_name`='MLV-Bike Disque frein MSC Ultralight. Acier 160mm. 1.8mm épaisseur / chromé',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-chrome' WHERE `virtuemart_product_id` = '1861545'
2023-10-13	12:57:58	2053	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9401.jpg
2023-10-13	12:57:58	2053	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:58	2053	[DEBUG]	Process image file
2023-10-13	12:57:58	2053	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:58	2053	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:58	2053	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9401.jpg
2023-10-13	12:57:58	2053	[DEBUG]	Full name target: bcprisme/image_9401.jpg
2023-10-13	12:57:59	2053	[DEBUG]	Checking if the file_url exists
2023-10-13	12:57:59	2053	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_9401.jpg'
2023-10-13	12:57:59	2053	[DEBUG]	Query for Media
2023-10-13	12:57:59	2053	[DEBUG]	Executed store
2023-10-13	12:57:59	2053	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_9401.jpg',`file_url_thumb`='bcprisme/image_9401.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12729'
2023-10-13	12:57:59	2053	[DEBUG]	Query for ProductMedia
2023-10-13	12:57:59	2053	[DEBUG]	Executed store
2023-10-13	12:57:59	2053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861545','12729','1')
2023-10-13	12:57:59	2053	[DEBUG]	Store product image relation
2023-10-13	12:57:59	2053	[DEBUG]	Finding a product_price_id
2023-10-13	12:57:59	2053	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861545 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:57:59	2053	[DEBUG]	Query for ProductPrice
2023-10-13	12:57:59	2053	[DEBUG]	Executed store
2023-10-13	12:57:59	2053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861545','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:57:59	2053	[DEBUG]	Checking manufacturer
2023-10-13	12:57:59	2053	[DEBUG]	Load a row
2023-10-13	12:57:59	2053	[DEBUG]	Manufacturer already exists
2023-10-13	12:57:59	2053	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:59	2053	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:57:59	2053	[DEBUG]	Executed store
2023-10-13	12:57:59	2053	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:57:59	2053	[DEBUG]	Manufacturer exists
2023-10-13	12:57:59	2053	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:57:59	2053	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:57:59	2053	[DEBUG]	Executed store
2023-10-13	12:57:59	2053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861545','2')
2023-10-13	12:57:59	2053	[DEBUG]	Find the custom field ID
2023-10-13	12:57:59	2053	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:57:59	2053	[DEBUG]	No custom field ID found
2023-10-13	12:57:59	2053	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:57:59	2053	[DEBUG]	Get existing row with customfield value 44.7752777777778
2023-10-13	12:57:59	2053	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861545 AND `virtuemart_custom_id` = 3
2023-10-13	12:57:59	2053	[DEBUG]	Store custom available field
2023-10-13	12:57:59	2053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861545,3,'44.7752777777778',1)
2023-10-13	12:57:59	2053	[DEBUG]	Processing custom available field: taille
2023-10-13	12:57:59	2053	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:57:59	2053	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861545 AND `virtuemart_custom_id` = 6
2023-10-13	12:57:59	2053	[DEBUG]	Store custom available field
2023-10-13	12:57:59	2053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861545,6,'choisir la taille',3)
2023-10-13	12:57:59	2053	[DEBUG]	Process multi-variant fields
2023-10-13	12:57:59	2053	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:57:59	2053	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:57:59	2053	[DEBUG]	Find the multi variant product entry
2023-10-13	12:57:59	2053	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861545 AND `virtuemart_custom_id` = 8
2023-10-13	12:57:59	2053	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:57:59	2053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861545,8,1)
2023-10-13	12:57:59	2053	[DEBUG]	Store the updated customfield_params
2023-10-13	12:57:59	2053	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861545\":[1861545,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861545
2023-10-13	12:57:59	2053	[DEBUG]	Checking category
2023-10-13	12:57:59	2053	[DEBUG]	Get the existing categories for the product
2023-10-13	12:57:59	2053	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861545
2023-10-13	12:57:59	2053	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:57:59	2053	[DEBUG]	Executed store
2023-10-13	12:57:59	2053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861545','7337')
2023-10-13	12:57:59	2053	[DEBUG]	Delete leftover product categories
2023-10-13	12:57:59	2053	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861545 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:57:59	2053	[DEBUG]	Update has fields after all processing
2023-10-13	12:57:59	2053	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861545
2023-10-13	12:57:59	2054	[DEBUG]	Use field value for field product_sku
2023-10-13	12:57:59	2054	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:57:59	2054	[DEBUG]	Use field value for field taille
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:57:59	2054	[DEBUG]	Use field value for field product_name
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field category_path
2023-10-13	12:57:59	2054	[DEBUG]	Use field value for field product_price
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:57:59	2054	[DEBUG]	Use field value for field product_tax
2023-10-13	12:57:59	2054	[DEBUG]	Use field value for field file_url
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field product_desc
2023-10-13	12:57:59	2054	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:57:59	2054	[DEBUG]	Use field value for field product_availability
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field product_weight
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field product_unit
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field related_products
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field product_special
2023-10-13	12:57:59	2054	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:57:59	2054	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:57:59	2054	[DEBUG]	Use field value for field published
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field metadesc
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field metakey
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field custom_title
2023-10-13	12:57:59	2054	[DEBUG]	Use field value for field custom_value
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field custom_param
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field override
2023-10-13	12:57:59	2054	[DEBUG]	Use default value for field public_price
2023-10-13	12:57:59	2054	[DEBUG]	Use field value for field slug
2023-10-13	12:57:59	2054	[DEBUG]	Process line 2054
2023-10-13	12:57:59	2054	[DEBUG]	Load a row
2023-10-13	12:57:59	2054	[DEBUG]	Processing item: 1000000042092
2023-10-13	12:57:59	2054	[DEBUG]	Looking for parent SKU
2023-10-13	12:57:59	2054	[DEBUG]	Checking product parent SKU
2023-10-13	12:57:59	2054	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_601_8'
2023-10-13	12:57:59	2054	[DEBUG]	Product tax: 7.7
2023-10-13	12:57:59	2054	[DEBUG]	Processing product tax
2023-10-13	12:57:59	2054	[DEBUG]	Check if calculation rule exists
2023-10-13	12:57:59	2054	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:57:59	2054	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:57:59	2054	[DEBUG]	Query for Product
2023-10-13	12:57:59	2054	[DEBUG]	Executed store
2023-10-13	12:57:59	2054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861545','1000000042092','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:57:59	2054	[DEBUG]	No parent found
2023-10-13	12:57:59	2054	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861545 AND customfield_value = 'stockable'
2023-10-13	12:57:59	2054	[DEBUG]	Check product language entry
2023-10-13	12:57:59	2054	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861546
2023-10-13	12:57:59	2054	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:59	2054	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000042092' AND `virtuemart_product_id` != 1861546
2023-10-13	12:57:59	2054	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:57:59	2054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861546, '1000000042092')
2023-10-13	12:57:59	2054	[DEBUG]	Check if the product slug exists
2023-10-13	12:57:59	2054	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-chrome-unitaire' AND `virtuemart_product_id` != 1861546
2023-10-13	12:57:59	2054	[DEBUG]	Query for ProductLang
2023-10-13	12:57:59	2054	[DEBUG]	Executed store
2023-10-13	12:57:59	2054	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Disque frein MSC Ultralight. Acier 160mm. 1.8mm épaisseur / chromé (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-chrome-unitaire' WHERE `virtuemart_product_id` = '1861546'
2023-10-13	12:57:59	2054	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9401.jpg
2023-10-13	12:57:59	2054	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:59	2054	[DEBUG]	Process image file
2023-10-13	12:57:59	2054	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:57:59	2054	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:57:59	2054	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9401.jpg
2023-10-13	12:57:59	2054	[DEBUG]	Full name target: bcprisme/image_9401.jpg
2023-10-13	12:58:00	2054	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:00	2054	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_9401.jpg'
2023-10-13	12:58:00	2054	[DEBUG]	Query for Media
2023-10-13	12:58:00	2054	[DEBUG]	Executed store
2023-10-13	12:58:00	2054	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_9401.jpg',`file_url_thumb`='bcprisme/image_9401.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12729'
2023-10-13	12:58:00	2054	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:00	2054	[DEBUG]	Executed store
2023-10-13	12:58:00	2054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861546','12729','1')
2023-10-13	12:58:00	2054	[DEBUG]	Store product image relation
2023-10-13	12:58:00	2054	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:00	2054	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861546 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:00	2054	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:00	2054	[DEBUG]	Executed store
2023-10-13	12:58:00	2054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861546','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:00	2054	[DEBUG]	Checking manufacturer
2023-10-13	12:58:00	2054	[DEBUG]	Load a row
2023-10-13	12:58:00	2054	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:00	2054	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:58:00	2054	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:00	2054	[DEBUG]	Executed store
2023-10-13	12:58:00	2054	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:58:00	2054	[DEBUG]	Manufacturer exists
2023-10-13	12:58:00	2054	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:58:00	2054	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:00	2054	[DEBUG]	Executed store
2023-10-13	12:58:00	2054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861546','2')
2023-10-13	12:58:00	2054	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:00	2054	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:00	2054	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861546 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:00	2054	[DEBUG]	Store custom available field
2023-10-13	12:58:00	2054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861546,3,'',1)
2023-10-13	12:58:00	2054	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:00	2054	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:00	2054	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861546 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:00	2054	[DEBUG]	Store custom available field
2023-10-13	12:58:00	2054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861546,6,'Unitaire',3)
2023-10-13	12:58:00	2054	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:00	2054	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:00	2054	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861545
2023-10-13	12:58:00	2054	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:00	2054	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861545\":[1861545,8,1,\"choisir la taille\"],\"1861546\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861545
2023-10-13	12:58:00	2054	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:00	2054	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861546
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:00	2055	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field taille
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:00	2055	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:00	2055	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:00	2055	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:00	2055	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:00	2055	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:00	2055	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field published
2023-10-13	12:58:00	2055	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:00	2055	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field override
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:00	2055	[DEBUG]	Use field value for field slug
2023-10-13	12:58:00	2055	[DEBUG]	Process line 2055
2023-10-13	12:58:00	2055	[DEBUG]	Load a row
2023-10-13	12:58:00	2055	[DEBUG]	Processing item: A_601_22
2023-10-13	12:58:00	2055	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:00	2055	[DEBUG]	Processing product tax
2023-10-13	12:58:00	2055	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:00	2055	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:00	2055	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:00	2055	[DEBUG]	Query for Product
2023-10-13	12:58:00	2055	[DEBUG]	Executed store
2023-10-13	12:58:00	2055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_601_22','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:00	2055	[DEBUG]	Check product language entry
2023-10-13	12:58:00	2055	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861547
2023-10-13	12:58:00	2055	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:00	2055	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_601_22' AND `virtuemart_product_id` != 1861547
2023-10-13	12:58:00	2055	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:00	2055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861547, 'A_601_22')
2023-10-13	12:58:00	2055	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:00	2055	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-bleu' AND `virtuemart_product_id` != 1861547
2023-10-13	12:58:00	2055	[DEBUG]	Query for ProductLang
2023-10-13	12:58:00	2055	[DEBUG]	Executed store
2023-10-13	12:58:00	2055	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessin exclusif pour réduire les vibrations et réduire le poids au maximum. Système standard avec 6 vis. 80gr<br>N° art fourn : HJ1523160',`product_name`='MLV-Bike Disque frein MSC Ultralight. Acier 160mm. 1.8mm épaisseur / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-bleu' WHERE `virtuemart_product_id` = '1861547'
2023-10-13	12:58:00	2055	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5800.jpg
2023-10-13	12:58:00	2055	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:00	2055	[DEBUG]	Process image file
2023-10-13	12:58:00	2055	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:00	2055	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:00	2055	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5800.jpg
2023-10-13	12:58:00	2055	[DEBUG]	Full name target: bcprisme/image_5800.jpg
2023-10-13	12:58:02	2055	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:02	2055	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5800.jpg'
2023-10-13	12:58:02	2055	[DEBUG]	Query for Media
2023-10-13	12:58:02	2055	[DEBUG]	Executed store
2023-10-13	12:58:02	2055	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5800.jpg',`file_url_thumb`='bcprisme/image_5800.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12731'
2023-10-13	12:58:02	2055	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:03	2055	[DEBUG]	Executed store
2023-10-13	12:58:03	2055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861547','12731','1')
2023-10-13	12:58:03	2055	[DEBUG]	Store product image relation
2023-10-13	12:58:03	2055	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:03	2055	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861547 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:03	2055	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:03	2055	[DEBUG]	Executed store
2023-10-13	12:58:03	2055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861547','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:03	2055	[DEBUG]	Checking manufacturer
2023-10-13	12:58:03	2055	[DEBUG]	Load a row
2023-10-13	12:58:03	2055	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:03	2055	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:58:03	2055	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:03	2055	[DEBUG]	Executed store
2023-10-13	12:58:03	2055	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:58:03	2055	[DEBUG]	Manufacturer exists
2023-10-13	12:58:03	2055	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:58:03	2055	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:03	2055	[DEBUG]	Executed store
2023-10-13	12:58:03	2055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861547','2')
2023-10-13	12:58:03	2055	[DEBUG]	Find the custom field ID
2023-10-13	12:58:03	2055	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:03	2055	[DEBUG]	No custom field ID found
2023-10-13	12:58:03	2055	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:03	2055	[DEBUG]	Get existing row with customfield value 44.7752777777778
2023-10-13	12:58:03	2055	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861547 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:03	2055	[DEBUG]	Store custom available field
2023-10-13	12:58:03	2055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861547,3,'44.7752777777778',1)
2023-10-13	12:58:03	2055	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:03	2055	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:03	2055	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861547 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:03	2055	[DEBUG]	Store custom available field
2023-10-13	12:58:03	2055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861547,6,'choisir la taille',3)
2023-10-13	12:58:03	2055	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:03	2055	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:03	2055	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:03	2055	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:03	2055	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861547 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:03	2055	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:03	2055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861547,8,1)
2023-10-13	12:58:03	2055	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:03	2055	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861547\":[1861547,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861547
2023-10-13	12:58:03	2055	[DEBUG]	Checking category
2023-10-13	12:58:03	2055	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:03	2055	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861547
2023-10-13	12:58:03	2055	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:03	2055	[DEBUG]	Executed store
2023-10-13	12:58:03	2055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861547','7337')
2023-10-13	12:58:03	2055	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:03	2055	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861547 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:03	2055	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:03	2055	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861547
2023-10-13	12:58:03	2056	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:03	2056	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:03	2056	[DEBUG]	Use field value for field taille
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:03	2056	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:03	2056	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:03	2056	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:03	2056	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:03	2056	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:03	2056	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:03	2056	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:03	2056	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:03	2056	[DEBUG]	Use field value for field published
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:03	2056	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field override
2023-10-13	12:58:03	2056	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:03	2056	[DEBUG]	Use field value for field slug
2023-10-13	12:58:03	2056	[DEBUG]	Process line 2056
2023-10-13	12:58:03	2056	[DEBUG]	Load a row
2023-10-13	12:58:03	2056	[DEBUG]	Processing item: 1000000030297
2023-10-13	12:58:03	2056	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:03	2056	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:03	2056	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_601_22'
2023-10-13	12:58:03	2056	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:03	2056	[DEBUG]	Processing product tax
2023-10-13	12:58:03	2056	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:03	2056	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:03	2056	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:03	2056	[DEBUG]	Query for Product
2023-10-13	12:58:03	2056	[DEBUG]	Executed store
2023-10-13	12:58:03	2056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861547','1000000030297','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:03	2056	[DEBUG]	No parent found
2023-10-13	12:58:03	2056	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861547 AND customfield_value = 'stockable'
2023-10-13	12:58:03	2056	[DEBUG]	Check product language entry
2023-10-13	12:58:03	2056	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861548
2023-10-13	12:58:03	2056	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:03	2056	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000030297' AND `virtuemart_product_id` != 1861548
2023-10-13	12:58:03	2056	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:03	2056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861548, '1000000030297')
2023-10-13	12:58:03	2056	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:03	2056	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-bleu-unitaire' AND `virtuemart_product_id` != 1861548
2023-10-13	12:58:03	2056	[DEBUG]	Query for ProductLang
2023-10-13	12:58:03	2056	[DEBUG]	Executed store
2023-10-13	12:58:03	2056	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Disque frein MSC Ultralight. Acier 160mm. 1.8mm épaisseur / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-disque-frein-msc-ultralight-acier-160mm-1-8mm-epaisseur-bleu-unitaire' WHERE `virtuemart_product_id` = '1861548'
2023-10-13	12:58:03	2056	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5800.jpg
2023-10-13	12:58:03	2056	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:03	2056	[DEBUG]	Process image file
2023-10-13	12:58:03	2056	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:03	2056	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:03	2056	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5800.jpg
2023-10-13	12:58:03	2056	[DEBUG]	Full name target: bcprisme/image_5800.jpg
2023-10-13	12:58:04	2056	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:04	2056	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5800.jpg'
2023-10-13	12:58:04	2056	[DEBUG]	Query for Media
2023-10-13	12:58:04	2056	[DEBUG]	Executed store
2023-10-13	12:58:04	2056	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5800.jpg',`file_url_thumb`='bcprisme/image_5800.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12731'
2023-10-13	12:58:04	2056	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:04	2056	[DEBUG]	Executed store
2023-10-13	12:58:04	2056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861548','12731','1')
2023-10-13	12:58:04	2056	[DEBUG]	Store product image relation
2023-10-13	12:58:04	2056	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:04	2056	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861548 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:04	2056	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:04	2056	[DEBUG]	Executed store
2023-10-13	12:58:04	2056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861548','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:04	2056	[DEBUG]	Checking manufacturer
2023-10-13	12:58:04	2056	[DEBUG]	Load a row
2023-10-13	12:58:04	2056	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:04	2056	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:58:04	2056	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:04	2056	[DEBUG]	Executed store
2023-10-13	12:58:04	2056	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	12:58:04	2056	[DEBUG]	Manufacturer exists
2023-10-13	12:58:04	2056	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	12:58:04	2056	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:04	2056	[DEBUG]	Executed store
2023-10-13	12:58:04	2056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861548','2')
2023-10-13	12:58:04	2056	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:04	2056	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:04	2056	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861548 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:04	2056	[DEBUG]	Store custom available field
2023-10-13	12:58:04	2056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861548,3,'',1)
2023-10-13	12:58:04	2056	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:04	2056	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:04	2056	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861548 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:04	2056	[DEBUG]	Store custom available field
2023-10-13	12:58:04	2056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861548,6,'Unitaire',3)
2023-10-13	12:58:04	2056	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:04	2056	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:04	2056	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861547
2023-10-13	12:58:04	2056	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:04	2056	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861547\":[1861547,8,1,\"choisir la taille\"],\"1861548\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861547
2023-10-13	12:58:04	2056	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:04	2056	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861548
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:04	2057	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field taille
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:04	2057	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:04	2057	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:04	2057	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:04	2057	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:04	2057	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:04	2057	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field published
2023-10-13	12:58:04	2057	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:04	2057	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field override
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:04	2057	[DEBUG]	Use field value for field slug
2023-10-13	12:58:04	2057	[DEBUG]	Process line 2057
2023-10-13	12:58:04	2057	[DEBUG]	Load a row
2023-10-13	12:58:04	2057	[DEBUG]	Processing item: A_1099_4
2023-10-13	12:58:04	2057	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:04	2057	[DEBUG]	Processing product tax
2023-10-13	12:58:04	2057	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:04	2057	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:04	2057	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:04	2057	[DEBUG]	Query for Product
2023-10-13	12:58:04	2057	[DEBUG]	Executed store
2023-10-13	12:58:04	2057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1099_4','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:04	2057	[DEBUG]	Check product language entry
2023-10-13	12:58:04	2057	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861549
2023-10-13	12:58:04	2057	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:04	2057	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1099_4' AND `virtuemart_product_id` != 1861549
2023-10-13	12:58:04	2057	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:04	2057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861549, 'A_1099_4')
2023-10-13	12:58:04	2057	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:04	2057	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-acier-140mm-1-8mm-epaisseur-acier' AND `virtuemart_product_id` != 1861549
2023-10-13	12:58:04	2057	[DEBUG]	Query for ProductLang
2023-10-13	12:58:04	2057	[DEBUG]	Executed store
2023-10-13	12:58:04	2057	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessin pour réduire les vibrations et dissipation de la chaleur, 114gr<br>N° art fourn : WR140',`product_name`='MSC Disque frein. Acier 140mm. 1.8mm épaisseur / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-acier-140mm-1-8mm-epaisseur-acier' WHERE `virtuemart_product_id` = '1861549'
2023-10-13	12:58:04	2057	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1410.jpg
2023-10-13	12:58:04	2057	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:04	2057	[DEBUG]	Process image file
2023-10-13	12:58:04	2057	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:04	2057	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:04	2057	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1410.jpg
2023-10-13	12:58:04	2057	[DEBUG]	Full name target: bcprisme/image_1410.jpg
2023-10-13	12:58:06	2057	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:06	2057	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1410.jpg'
2023-10-13	12:58:06	2057	[DEBUG]	Query for Media
2023-10-13	12:58:06	2057	[DEBUG]	Executed store
2023-10-13	12:58:06	2057	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1410.jpg',`file_url_thumb`='bcprisme/image_1410.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12734'
2023-10-13	12:58:06	2057	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:06	2057	[DEBUG]	Executed store
2023-10-13	12:58:06	2057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861549','12734','1')
2023-10-13	12:58:06	2057	[DEBUG]	Store product image relation
2023-10-13	12:58:06	2057	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:06	2057	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861549 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:06	2057	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:06	2057	[DEBUG]	Executed store
2023-10-13	12:58:06	2057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861549','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:06	2057	[DEBUG]	Checking manufacturer
2023-10-13	12:58:06	2057	[DEBUG]	Load a row
2023-10-13	12:58:06	2057	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:06	2057	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:06	2057	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:06	2057	[DEBUG]	Executed store
2023-10-13	12:58:06	2057	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:06	2057	[DEBUG]	Manufacturer exists
2023-10-13	12:58:06	2057	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:06	2057	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:06	2057	[DEBUG]	Executed store
2023-10-13	12:58:06	2057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861549','32')
2023-10-13	12:58:06	2057	[DEBUG]	Find the custom field ID
2023-10-13	12:58:06	2057	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:06	2057	[DEBUG]	No custom field ID found
2023-10-13	12:58:06	2057	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:06	2057	[DEBUG]	Get existing row with customfield value 18.8475
2023-10-13	12:58:06	2057	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861549 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:06	2057	[DEBUG]	Store custom available field
2023-10-13	12:58:06	2057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861549,3,'18.8475',1)
2023-10-13	12:58:06	2057	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:06	2057	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:06	2057	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861549 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:06	2057	[DEBUG]	Store custom available field
2023-10-13	12:58:06	2057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861549,6,'choisir la taille',3)
2023-10-13	12:58:06	2057	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:06	2057	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:06	2057	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:06	2057	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:06	2057	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861549 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:06	2057	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:06	2057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861549,8,1)
2023-10-13	12:58:06	2057	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:06	2057	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861549\":[1861549,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861549
2023-10-13	12:58:06	2057	[DEBUG]	Checking category
2023-10-13	12:58:06	2057	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:06	2057	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861549
2023-10-13	12:58:06	2057	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:06	2057	[DEBUG]	Executed store
2023-10-13	12:58:06	2057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861549','7337')
2023-10-13	12:58:06	2057	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:06	2057	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861549 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:06	2057	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:06	2057	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861549
2023-10-13	12:58:06	2058	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:06	2058	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:06	2058	[DEBUG]	Use field value for field taille
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:06	2058	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:06	2058	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:06	2058	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:06	2058	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:06	2058	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:06	2058	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:06	2058	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:06	2058	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:06	2058	[DEBUG]	Use field value for field published
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:06	2058	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field override
2023-10-13	12:58:06	2058	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:06	2058	[DEBUG]	Use field value for field slug
2023-10-13	12:58:06	2058	[DEBUG]	Process line 2058
2023-10-13	12:58:06	2058	[DEBUG]	Load a row
2023-10-13	12:58:06	2058	[DEBUG]	Processing item: 8436041524991
2023-10-13	12:58:06	2058	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:06	2058	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:06	2058	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1099_4'
2023-10-13	12:58:06	2058	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:06	2058	[DEBUG]	Processing product tax
2023-10-13	12:58:06	2058	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:06	2058	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:06	2058	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:06	2058	[DEBUG]	Query for Product
2023-10-13	12:58:06	2058	[DEBUG]	Executed store
2023-10-13	12:58:06	2058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861549','8436041524991','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:06	2058	[DEBUG]	No parent found
2023-10-13	12:58:06	2058	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861549 AND customfield_value = 'stockable'
2023-10-13	12:58:06	2058	[DEBUG]	Check product language entry
2023-10-13	12:58:06	2058	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861550
2023-10-13	12:58:06	2058	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:06	2058	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041524991' AND `virtuemart_product_id` != 1861550
2023-10-13	12:58:06	2058	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:06	2058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861550, '8436041524991')
2023-10-13	12:58:06	2058	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:06	2058	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-acier-140mm-1-8mm-epaisseur-acier-unitaire' AND `virtuemart_product_id` != 1861550
2023-10-13	12:58:06	2058	[DEBUG]	Query for ProductLang
2023-10-13	12:58:06	2058	[DEBUG]	Executed store
2023-10-13	12:58:06	2058	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Disque frein. Acier 140mm. 1.8mm épaisseur / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-acier-140mm-1-8mm-epaisseur-acier-unitaire' WHERE `virtuemart_product_id` = '1861550'
2023-10-13	12:58:06	2058	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1410.jpg
2023-10-13	12:58:06	2058	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:06	2058	[DEBUG]	Process image file
2023-10-13	12:58:06	2058	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:06	2058	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:06	2058	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1410.jpg
2023-10-13	12:58:06	2058	[DEBUG]	Full name target: bcprisme/image_1410.jpg
2023-10-13	12:58:07	2058	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:07	2058	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1410.jpg'
2023-10-13	12:58:07	2058	[DEBUG]	Query for Media
2023-10-13	12:58:07	2058	[DEBUG]	Executed store
2023-10-13	12:58:07	2058	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1410.jpg',`file_url_thumb`='bcprisme/image_1410.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12734'
2023-10-13	12:58:07	2058	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:07	2058	[DEBUG]	Executed store
2023-10-13	12:58:07	2058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861550','12734','1')
2023-10-13	12:58:07	2058	[DEBUG]	Store product image relation
2023-10-13	12:58:07	2058	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:07	2058	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861550 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:07	2058	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:07	2058	[DEBUG]	Executed store
2023-10-13	12:58:07	2058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861550','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:07	2058	[DEBUG]	Checking manufacturer
2023-10-13	12:58:07	2058	[DEBUG]	Load a row
2023-10-13	12:58:07	2058	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:07	2058	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:07	2058	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:07	2058	[DEBUG]	Executed store
2023-10-13	12:58:07	2058	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:07	2058	[DEBUG]	Manufacturer exists
2023-10-13	12:58:07	2058	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:07	2058	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:07	2058	[DEBUG]	Executed store
2023-10-13	12:58:07	2058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861550','32')
2023-10-13	12:58:07	2058	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:07	2058	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:07	2058	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861550 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:07	2058	[DEBUG]	Store custom available field
2023-10-13	12:58:07	2058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861550,3,'',1)
2023-10-13	12:58:07	2058	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:07	2058	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:07	2058	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861550 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:07	2058	[DEBUG]	Store custom available field
2023-10-13	12:58:07	2058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861550,6,'Unitaire',3)
2023-10-13	12:58:07	2058	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:07	2058	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:07	2058	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861549
2023-10-13	12:58:07	2058	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:07	2058	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861549\":[1861549,8,1,\"choisir la taille\"],\"1861550\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861549
2023-10-13	12:58:07	2058	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:07	2058	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861550
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:07	2059	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field taille
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:07	2059	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:07	2059	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:07	2059	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:07	2059	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:07	2059	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:07	2059	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field published
2023-10-13	12:58:07	2059	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:07	2059	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field override
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:07	2059	[DEBUG]	Use field value for field slug
2023-10-13	12:58:07	2059	[DEBUG]	Process line 2059
2023-10-13	12:58:07	2059	[DEBUG]	Load a row
2023-10-13	12:58:07	2059	[DEBUG]	Processing item: A_1100_4
2023-10-13	12:58:07	2059	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:07	2059	[DEBUG]	Processing product tax
2023-10-13	12:58:07	2059	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:07	2059	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:07	2059	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:07	2059	[DEBUG]	Query for Product
2023-10-13	12:58:07	2059	[DEBUG]	Executed store
2023-10-13	12:58:07	2059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1100_4','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:07	2059	[DEBUG]	Check product language entry
2023-10-13	12:58:07	2059	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861551
2023-10-13	12:58:07	2059	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:07	2059	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1100_4' AND `virtuemart_product_id` != 1861551
2023-10-13	12:58:07	2059	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:07	2059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861551, 'A_1100_4')
2023-10-13	12:58:07	2059	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:07	2059	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-acier-160mm-1-8mm-epaisseur-acier' AND `virtuemart_product_id` != 1861551
2023-10-13	12:58:07	2059	[DEBUG]	Query for ProductLang
2023-10-13	12:58:07	2059	[DEBUG]	Executed store
2023-10-13	12:58:07	2059	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessin pour réduire les vibrations et dissipation de la chaleur 146gr<br>N° art fourn : WR160',`product_name`='MSC Disque frein. Acier 160mm. 1.8mm  épaisseur / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-acier-160mm-1-8mm-epaisseur-acier' WHERE `virtuemart_product_id` = '1861551'
2023-10-13	12:58:07	2059	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1411.jpg
2023-10-13	12:58:07	2059	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:07	2059	[DEBUG]	Process image file
2023-10-13	12:58:07	2059	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:07	2059	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:07	2059	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1411.jpg
2023-10-13	12:58:07	2059	[DEBUG]	Full name target: bcprisme/image_1411.jpg
2023-10-13	12:58:08	2059	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:08	2059	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1411.jpg'
2023-10-13	12:58:08	2059	[DEBUG]	Query for Media
2023-10-13	12:58:08	2059	[DEBUG]	Executed store
2023-10-13	12:58:08	2059	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1411.jpg',`file_url_thumb`='bcprisme/image_1411.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12735'
2023-10-13	12:58:08	2059	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:08	2059	[DEBUG]	Executed store
2023-10-13	12:58:08	2059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861551','12735','1')
2023-10-13	12:58:08	2059	[DEBUG]	Store product image relation
2023-10-13	12:58:08	2059	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:08	2059	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861551 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:08	2059	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:08	2059	[DEBUG]	Executed store
2023-10-13	12:58:08	2059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861551','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:08	2059	[DEBUG]	Checking manufacturer
2023-10-13	12:58:08	2059	[DEBUG]	Load a row
2023-10-13	12:58:08	2059	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:08	2059	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:08	2059	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:08	2059	[DEBUG]	Executed store
2023-10-13	12:58:08	2059	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:08	2059	[DEBUG]	Manufacturer exists
2023-10-13	12:58:08	2059	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:08	2059	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:08	2059	[DEBUG]	Executed store
2023-10-13	12:58:08	2059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861551','32')
2023-10-13	12:58:08	2059	[DEBUG]	Find the custom field ID
2023-10-13	12:58:08	2059	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:08	2059	[DEBUG]	No custom field ID found
2023-10-13	12:58:08	2059	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:08	2059	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	12:58:08	2059	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861551 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:08	2059	[DEBUG]	Store custom available field
2023-10-13	12:58:08	2059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861551,3,'19.8447222222222',1)
2023-10-13	12:58:08	2059	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:08	2059	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:08	2059	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861551 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:08	2059	[DEBUG]	Store custom available field
2023-10-13	12:58:08	2059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861551,6,'choisir la taille',3)
2023-10-13	12:58:08	2059	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:08	2059	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:08	2059	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:08	2059	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:08	2059	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861551 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:08	2059	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:08	2059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861551,8,1)
2023-10-13	12:58:08	2059	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:08	2059	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861551\":[1861551,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861551
2023-10-13	12:58:08	2059	[DEBUG]	Checking category
2023-10-13	12:58:08	2059	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:08	2059	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861551
2023-10-13	12:58:08	2059	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:08	2059	[DEBUG]	Executed store
2023-10-13	12:58:08	2059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861551','7337')
2023-10-13	12:58:08	2059	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:08	2059	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861551 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:08	2059	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:08	2059	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861551
2023-10-13	12:58:08	2060	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:08	2060	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:08	2060	[DEBUG]	Use field value for field taille
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:08	2060	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:08	2060	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:08	2060	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:08	2060	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:08	2060	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:08	2060	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:08	2060	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:08	2060	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:08	2060	[DEBUG]	Use field value for field published
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:08	2060	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field override
2023-10-13	12:58:08	2060	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:08	2060	[DEBUG]	Use field value for field slug
2023-10-13	12:58:08	2060	[DEBUG]	Process line 2060
2023-10-13	12:58:08	2060	[DEBUG]	Load a row
2023-10-13	12:58:08	2060	[DEBUG]	Processing item: 8436041525004
2023-10-13	12:58:08	2060	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:08	2060	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:08	2060	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1100_4'
2023-10-13	12:58:08	2060	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:08	2060	[DEBUG]	Processing product tax
2023-10-13	12:58:08	2060	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:08	2060	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:08	2060	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:08	2060	[DEBUG]	Query for Product
2023-10-13	12:58:08	2060	[DEBUG]	Executed store
2023-10-13	12:58:08	2060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861551','8436041525004','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:08	2060	[DEBUG]	No parent found
2023-10-13	12:58:08	2060	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861551 AND customfield_value = 'stockable'
2023-10-13	12:58:08	2060	[DEBUG]	Check product language entry
2023-10-13	12:58:08	2060	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861552
2023-10-13	12:58:08	2060	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:08	2060	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041525004' AND `virtuemart_product_id` != 1861552
2023-10-13	12:58:08	2060	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:08	2060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861552, '8436041525004')
2023-10-13	12:58:08	2060	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:08	2060	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-acier-160mm-1-8mm-epaisseur-acier-unitaire' AND `virtuemart_product_id` != 1861552
2023-10-13	12:58:08	2060	[DEBUG]	Query for ProductLang
2023-10-13	12:58:08	2060	[DEBUG]	Executed store
2023-10-13	12:58:08	2060	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Disque frein. Acier 160mm. 1.8mm  épaisseur / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-acier-160mm-1-8mm-epaisseur-acier-unitaire' WHERE `virtuemart_product_id` = '1861552'
2023-10-13	12:58:08	2060	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1411.jpg
2023-10-13	12:58:08	2060	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:08	2060	[DEBUG]	Process image file
2023-10-13	12:58:08	2060	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:08	2060	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:08	2060	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1411.jpg
2023-10-13	12:58:08	2060	[DEBUG]	Full name target: bcprisme/image_1411.jpg
2023-10-13	12:58:09	2060	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:09	2060	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1411.jpg'
2023-10-13	12:58:09	2060	[DEBUG]	Query for Media
2023-10-13	12:58:09	2060	[DEBUG]	Executed store
2023-10-13	12:58:09	2060	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1411.jpg',`file_url_thumb`='bcprisme/image_1411.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12735'
2023-10-13	12:58:09	2060	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:09	2060	[DEBUG]	Executed store
2023-10-13	12:58:09	2060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861552','12735','1')
2023-10-13	12:58:09	2060	[DEBUG]	Store product image relation
2023-10-13	12:58:09	2060	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:09	2060	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861552 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:09	2060	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:09	2060	[DEBUG]	Executed store
2023-10-13	12:58:09	2060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861552','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:09	2060	[DEBUG]	Checking manufacturer
2023-10-13	12:58:09	2060	[DEBUG]	Load a row
2023-10-13	12:58:09	2060	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:09	2060	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:09	2060	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:09	2060	[DEBUG]	Executed store
2023-10-13	12:58:09	2060	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:09	2060	[DEBUG]	Manufacturer exists
2023-10-13	12:58:09	2060	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:09	2060	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:09	2060	[DEBUG]	Executed store
2023-10-13	12:58:09	2060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861552','32')
2023-10-13	12:58:09	2060	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:09	2060	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:09	2060	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861552 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:09	2060	[DEBUG]	Store custom available field
2023-10-13	12:58:09	2060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861552,3,'',1)
2023-10-13	12:58:09	2060	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:09	2060	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:09	2060	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861552 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:09	2060	[DEBUG]	Store custom available field
2023-10-13	12:58:09	2060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861552,6,'Unitaire',3)
2023-10-13	12:58:09	2060	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:09	2060	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:09	2060	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861551
2023-10-13	12:58:09	2060	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:09	2060	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861551\":[1861551,8,1,\"choisir la taille\"],\"1861552\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861551
2023-10-13	12:58:09	2060	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:09	2060	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861552
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:09	2061	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field taille
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:09	2061	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:09	2061	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:09	2061	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:09	2061	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:09	2061	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:09	2061	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field published
2023-10-13	12:58:09	2061	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:09	2061	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field override
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:09	2061	[DEBUG]	Use field value for field slug
2023-10-13	12:58:09	2061	[DEBUG]	Process line 2061
2023-10-13	12:58:09	2061	[DEBUG]	Load a row
2023-10-13	12:58:09	2061	[DEBUG]	Processing item: A_1101_4
2023-10-13	12:58:09	2061	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:09	2061	[DEBUG]	Processing product tax
2023-10-13	12:58:09	2061	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:09	2061	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:09	2061	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:09	2061	[DEBUG]	Query for Product
2023-10-13	12:58:09	2061	[DEBUG]	Executed store
2023-10-13	12:58:09	2061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1101_4','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:09	2061	[DEBUG]	Check product language entry
2023-10-13	12:58:09	2061	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861553
2023-10-13	12:58:09	2061	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:09	2061	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1101_4' AND `virtuemart_product_id` != 1861553
2023-10-13	12:58:09	2061	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:09	2061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861553, 'A_1101_4')
2023-10-13	12:58:09	2061	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:09	2061	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-acier-180mm-1-8mm-epaisseur-acier' AND `virtuemart_product_id` != 1861553
2023-10-13	12:58:09	2061	[DEBUG]	Query for ProductLang
2023-10-13	12:58:09	2061	[DEBUG]	Executed store
2023-10-13	12:58:09	2061	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessin pour réduire les vibrations et dissipation de la chaleur, 172gr<br>N° art fourn : WR180',`product_name`='MSC Disque frein. Acier 180mm. 1.8mm  épaisseur / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-acier-180mm-1-8mm-epaisseur-acier' WHERE `virtuemart_product_id` = '1861553'
2023-10-13	12:58:09	2061	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1412.jpg
2023-10-13	12:58:09	2061	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:09	2061	[DEBUG]	Process image file
2023-10-13	12:58:09	2061	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:09	2061	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:09	2061	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1412.jpg
2023-10-13	12:58:09	2061	[DEBUG]	Full name target: bcprisme/image_1412.jpg
2023-10-13	12:58:10	2061	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:10	2061	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1412.jpg'
2023-10-13	12:58:10	2061	[DEBUG]	Query for Media
2023-10-13	12:58:10	2061	[DEBUG]	Executed store
2023-10-13	12:58:10	2061	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1412.jpg',`file_url_thumb`='bcprisme/image_1412.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12736'
2023-10-13	12:58:10	2061	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:10	2061	[DEBUG]	Executed store
2023-10-13	12:58:10	2061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861553','12736','1')
2023-10-13	12:58:10	2061	[DEBUG]	Store product image relation
2023-10-13	12:58:10	2061	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:10	2061	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861553 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:10	2061	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:10	2061	[DEBUG]	Executed store
2023-10-13	12:58:10	2061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861553','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:10	2061	[DEBUG]	Checking manufacturer
2023-10-13	12:58:10	2061	[DEBUG]	Load a row
2023-10-13	12:58:10	2061	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:10	2061	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:10	2061	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:10	2061	[DEBUG]	Executed store
2023-10-13	12:58:10	2061	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:10	2061	[DEBUG]	Manufacturer exists
2023-10-13	12:58:10	2061	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:10	2061	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:10	2061	[DEBUG]	Executed store
2023-10-13	12:58:10	2061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861553','32')
2023-10-13	12:58:10	2061	[DEBUG]	Find the custom field ID
2023-10-13	12:58:10	2061	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:10	2061	[DEBUG]	No custom field ID found
2023-10-13	12:58:10	2061	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:10	2061	[DEBUG]	Get existing row with customfield value 22.8363888888889
2023-10-13	12:58:10	2061	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861553 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:10	2061	[DEBUG]	Store custom available field
2023-10-13	12:58:10	2061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861553,3,'22.8363888888889',1)
2023-10-13	12:58:10	2061	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:10	2061	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:10	2061	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861553 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:10	2061	[DEBUG]	Store custom available field
2023-10-13	12:58:10	2061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861553,6,'choisir la taille',3)
2023-10-13	12:58:10	2061	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:10	2061	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:10	2061	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:10	2061	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:10	2061	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861553 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:10	2061	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:10	2061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861553,8,1)
2023-10-13	12:58:10	2061	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:10	2061	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861553\":[1861553,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861553
2023-10-13	12:58:10	2061	[DEBUG]	Checking category
2023-10-13	12:58:10	2061	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:10	2061	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861553
2023-10-13	12:58:10	2061	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:10	2061	[DEBUG]	Executed store
2023-10-13	12:58:10	2061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861553','7337')
2023-10-13	12:58:10	2061	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:10	2061	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861553 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:10	2061	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:10	2061	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861553
2023-10-13	12:58:10	2062	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:10	2062	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:10	2062	[DEBUG]	Use field value for field taille
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:10	2062	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:10	2062	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:10	2062	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:10	2062	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:10	2062	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:10	2062	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:10	2062	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:10	2062	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:10	2062	[DEBUG]	Use field value for field published
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:10	2062	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field override
2023-10-13	12:58:10	2062	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:10	2062	[DEBUG]	Use field value for field slug
2023-10-13	12:58:10	2062	[DEBUG]	Process line 2062
2023-10-13	12:58:10	2062	[DEBUG]	Load a row
2023-10-13	12:58:10	2062	[DEBUG]	Processing item: 8436041525011
2023-10-13	12:58:10	2062	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:10	2062	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:10	2062	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1101_4'
2023-10-13	12:58:10	2062	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:10	2062	[DEBUG]	Processing product tax
2023-10-13	12:58:10	2062	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:10	2062	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:10	2062	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:10	2062	[DEBUG]	Query for Product
2023-10-13	12:58:10	2062	[DEBUG]	Executed store
2023-10-13	12:58:10	2062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861553','8436041525011','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:10	2062	[DEBUG]	No parent found
2023-10-13	12:58:10	2062	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861553 AND customfield_value = 'stockable'
2023-10-13	12:58:10	2062	[DEBUG]	Check product language entry
2023-10-13	12:58:10	2062	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861554
2023-10-13	12:58:10	2062	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:10	2062	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041525011' AND `virtuemart_product_id` != 1861554
2023-10-13	12:58:10	2062	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:10	2062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861554, '8436041525011')
2023-10-13	12:58:10	2062	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:10	2062	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-acier-180mm-1-8mm-epaisseur-acier-unitaire' AND `virtuemart_product_id` != 1861554
2023-10-13	12:58:10	2062	[DEBUG]	Query for ProductLang
2023-10-13	12:58:10	2062	[DEBUG]	Executed store
2023-10-13	12:58:10	2062	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Disque frein. Acier 180mm. 1.8mm  épaisseur / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-acier-180mm-1-8mm-epaisseur-acier-unitaire' WHERE `virtuemart_product_id` = '1861554'
2023-10-13	12:58:10	2062	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1412.jpg
2023-10-13	12:58:10	2062	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:10	2062	[DEBUG]	Process image file
2023-10-13	12:58:10	2062	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:10	2062	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:10	2062	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1412.jpg
2023-10-13	12:58:10	2062	[DEBUG]	Full name target: bcprisme/image_1412.jpg
2023-10-13	12:58:11	2062	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:11	2062	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1412.jpg'
2023-10-13	12:58:11	2062	[DEBUG]	Query for Media
2023-10-13	12:58:11	2062	[DEBUG]	Executed store
2023-10-13	12:58:11	2062	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1412.jpg',`file_url_thumb`='bcprisme/image_1412.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12736'
2023-10-13	12:58:11	2062	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:11	2062	[DEBUG]	Executed store
2023-10-13	12:58:11	2062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861554','12736','1')
2023-10-13	12:58:11	2062	[DEBUG]	Store product image relation
2023-10-13	12:58:11	2062	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:11	2062	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861554 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:11	2062	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:11	2062	[DEBUG]	Executed store
2023-10-13	12:58:11	2062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861554','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:11	2062	[DEBUG]	Checking manufacturer
2023-10-13	12:58:11	2062	[DEBUG]	Load a row
2023-10-13	12:58:11	2062	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:11	2062	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:11	2062	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:11	2062	[DEBUG]	Executed store
2023-10-13	12:58:11	2062	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:11	2062	[DEBUG]	Manufacturer exists
2023-10-13	12:58:11	2062	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:11	2062	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:11	2062	[DEBUG]	Executed store
2023-10-13	12:58:11	2062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861554','32')
2023-10-13	12:58:11	2062	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:11	2062	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:11	2062	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861554 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:11	2062	[DEBUG]	Store custom available field
2023-10-13	12:58:11	2062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861554,3,'',1)
2023-10-13	12:58:11	2062	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:11	2062	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:11	2062	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861554 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:11	2062	[DEBUG]	Store custom available field
2023-10-13	12:58:11	2062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861554,6,'Unitaire',3)
2023-10-13	12:58:11	2062	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:11	2062	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:11	2062	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861553
2023-10-13	12:58:11	2062	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:11	2062	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861553\":[1861553,8,1,\"choisir la taille\"],\"1861554\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861553
2023-10-13	12:58:11	2062	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:11	2062	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861554
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:11	2063	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field taille
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:11	2063	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:11	2063	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:11	2063	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:11	2063	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:11	2063	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:11	2063	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field published
2023-10-13	12:58:11	2063	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:11	2063	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field override
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:11	2063	[DEBUG]	Use field value for field slug
2023-10-13	12:58:11	2063	[DEBUG]	Process line 2063
2023-10-13	12:58:11	2063	[DEBUG]	Load a row
2023-10-13	12:58:11	2063	[DEBUG]	Processing item: A_1102_4
2023-10-13	12:58:11	2063	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:11	2063	[DEBUG]	Processing product tax
2023-10-13	12:58:11	2063	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:11	2063	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:11	2063	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:11	2063	[DEBUG]	Query for Product
2023-10-13	12:58:11	2063	[DEBUG]	Executed store
2023-10-13	12:58:11	2063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1102_4','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:11	2063	[DEBUG]	Check product language entry
2023-10-13	12:58:11	2063	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861555
2023-10-13	12:58:11	2063	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:11	2063	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1102_4' AND `virtuemart_product_id` != 1861555
2023-10-13	12:58:11	2063	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:11	2063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861555, 'A_1102_4')
2023-10-13	12:58:11	2063	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:11	2063	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-acier-203-mm-1-8-mm-d-epaisseur-acier' AND `virtuemart_product_id` != 1861555
2023-10-13	12:58:11	2063	[DEBUG]	Query for ProductLang
2023-10-13	12:58:11	2063	[DEBUG]	Executed store
2023-10-13	12:58:11	2063	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessin pour réduire les vibrations et dissipation de la chaleur, 190gr<br>N° art fourn : WR203',`product_name`='MSC Disque frein. Acier 203 mm. 1.8 mm d\'épaisseur / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-acier-203-mm-1-8-mm-d-epaisseur-acier' WHERE `virtuemart_product_id` = '1861555'
2023-10-13	12:58:11	2063	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1413.jpg
2023-10-13	12:58:11	2063	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:11	2063	[DEBUG]	Process image file
2023-10-13	12:58:11	2063	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:11	2063	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:11	2063	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1413.jpg
2023-10-13	12:58:11	2063	[DEBUG]	Full name target: bcprisme/image_1413.jpg
2023-10-13	12:58:12	2063	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:12	2063	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1413.jpg'
2023-10-13	12:58:12	2063	[DEBUG]	Query for Media
2023-10-13	12:58:12	2063	[DEBUG]	Executed store
2023-10-13	12:58:12	2063	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1413.jpg',`file_url_thumb`='bcprisme/image_1413.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12737'
2023-10-13	12:58:12	2063	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:12	2063	[DEBUG]	Executed store
2023-10-13	12:58:12	2063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861555','12737','1')
2023-10-13	12:58:12	2063	[DEBUG]	Store product image relation
2023-10-13	12:58:12	2063	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:12	2063	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861555 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:12	2063	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:12	2063	[DEBUG]	Executed store
2023-10-13	12:58:12	2063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861555','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:12	2063	[DEBUG]	Checking manufacturer
2023-10-13	12:58:12	2063	[DEBUG]	Load a row
2023-10-13	12:58:12	2063	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:12	2063	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:12	2063	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:12	2063	[DEBUG]	Executed store
2023-10-13	12:58:12	2063	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:12	2063	[DEBUG]	Manufacturer exists
2023-10-13	12:58:12	2063	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:12	2063	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:12	2063	[DEBUG]	Executed store
2023-10-13	12:58:12	2063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861555','32')
2023-10-13	12:58:12	2063	[DEBUG]	Find the custom field ID
2023-10-13	12:58:12	2063	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:12	2063	[DEBUG]	No custom field ID found
2023-10-13	12:58:12	2063	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:12	2063	[DEBUG]	Get existing row with customfield value 32.8086111111111
2023-10-13	12:58:12	2063	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861555 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:12	2063	[DEBUG]	Store custom available field
2023-10-13	12:58:12	2063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861555,3,'32.8086111111111',1)
2023-10-13	12:58:12	2063	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:12	2063	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:12	2063	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861555 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:12	2063	[DEBUG]	Store custom available field
2023-10-13	12:58:12	2063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861555,6,'choisir la taille',3)
2023-10-13	12:58:12	2063	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:12	2063	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:12	2063	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:12	2063	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:12	2063	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861555 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:12	2063	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:12	2063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861555,8,1)
2023-10-13	12:58:12	2063	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:12	2063	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861555\":[1861555,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861555
2023-10-13	12:58:12	2063	[DEBUG]	Checking category
2023-10-13	12:58:12	2063	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:12	2063	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861555
2023-10-13	12:58:12	2063	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:12	2063	[DEBUG]	Executed store
2023-10-13	12:58:12	2063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861555','7337')
2023-10-13	12:58:12	2063	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:12	2063	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861555 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:12	2063	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:12	2063	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861555
2023-10-13	12:58:12	2064	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:12	2064	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:12	2064	[DEBUG]	Use field value for field taille
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:12	2064	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:12	2064	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:12	2064	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:12	2064	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:12	2064	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:12	2064	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:12	2064	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:12	2064	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:12	2064	[DEBUG]	Use field value for field published
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:12	2064	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field override
2023-10-13	12:58:12	2064	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:12	2064	[DEBUG]	Use field value for field slug
2023-10-13	12:58:12	2064	[DEBUG]	Process line 2064
2023-10-13	12:58:12	2064	[DEBUG]	Load a row
2023-10-13	12:58:12	2064	[DEBUG]	Processing item: 8436041525028
2023-10-13	12:58:12	2064	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:12	2064	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:12	2064	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1102_4'
2023-10-13	12:58:12	2064	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:12	2064	[DEBUG]	Processing product tax
2023-10-13	12:58:12	2064	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:12	2064	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:12	2064	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:12	2064	[DEBUG]	Query for Product
2023-10-13	12:58:12	2064	[DEBUG]	Executed store
2023-10-13	12:58:12	2064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861555','8436041525028','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:12	2064	[DEBUG]	No parent found
2023-10-13	12:58:12	2064	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861555 AND customfield_value = 'stockable'
2023-10-13	12:58:12	2064	[DEBUG]	Check product language entry
2023-10-13	12:58:12	2064	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861556
2023-10-13	12:58:12	2064	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:12	2064	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041525028' AND `virtuemart_product_id` != 1861556
2023-10-13	12:58:12	2064	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:12	2064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861556, '8436041525028')
2023-10-13	12:58:12	2064	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:12	2064	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-acier-203-mm-1-8-mm-d-epaisseur-acier-unitaire' AND `virtuemart_product_id` != 1861556
2023-10-13	12:58:12	2064	[DEBUG]	Query for ProductLang
2023-10-13	12:58:12	2064	[DEBUG]	Executed store
2023-10-13	12:58:12	2064	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Disque frein. Acier 203 mm. 1.8 mm d\'épaisseur / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-acier-203-mm-1-8-mm-d-epaisseur-acier-unitaire' WHERE `virtuemart_product_id` = '1861556'
2023-10-13	12:58:12	2064	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1413.jpg
2023-10-13	12:58:12	2064	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:12	2064	[DEBUG]	Process image file
2023-10-13	12:58:12	2064	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	12:58:12	2064	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:12	2064	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1413.jpg
2023-10-13	12:58:12	2064	[DEBUG]	Full name target: bcprisme/image_1413.jpg
2023-10-13	12:58:13	2064	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:13	2064	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1413.jpg'
2023-10-13	12:58:13	2064	[DEBUG]	Query for Media
2023-10-13	12:58:13	2064	[DEBUG]	Executed store
2023-10-13	12:58:13	2064	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1413.jpg',`file_url_thumb`='bcprisme/image_1413.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12737'
2023-10-13	12:58:13	2064	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:13	2064	[DEBUG]	Executed store
2023-10-13	12:58:13	2064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861556','12737','1')
2023-10-13	12:58:13	2064	[DEBUG]	Store product image relation
2023-10-13	12:58:13	2064	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:13	2064	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861556 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:13	2064	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:13	2064	[DEBUG]	Executed store
2023-10-13	12:58:13	2064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861556','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:13	2064	[DEBUG]	Checking manufacturer
2023-10-13	12:58:13	2064	[DEBUG]	Load a row
2023-10-13	12:58:13	2064	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:13	2064	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:13	2064	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:13	2064	[DEBUG]	Executed store
2023-10-13	12:58:13	2064	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:13	2064	[DEBUG]	Manufacturer exists
2023-10-13	12:58:13	2064	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:13	2064	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:13	2064	[DEBUG]	Executed store
2023-10-13	12:58:13	2064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861556','32')
2023-10-13	12:58:13	2064	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:13	2064	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:13	2064	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861556 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:13	2064	[DEBUG]	Store custom available field
2023-10-13	12:58:13	2064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861556,3,'',1)
2023-10-13	12:58:13	2064	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:13	2064	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:13	2064	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861556 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:13	2064	[DEBUG]	Store custom available field
2023-10-13	12:58:13	2064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861556,6,'Unitaire',3)
2023-10-13	12:58:13	2064	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:13	2064	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:13	2064	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861555
2023-10-13	12:58:13	2064	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:13	2064	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861555\":[1861555,8,1,\"choisir la taille\"],\"1861556\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861555
2023-10-13	12:58:13	2064	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:13	2064	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861556
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:13	2065	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field taille
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:13	2065	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:13	2065	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:13	2065	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:13	2065	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:13	2065	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:13	2065	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field published
2023-10-13	12:58:13	2065	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:13	2065	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field override
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:13	2065	[DEBUG]	Use field value for field slug
2023-10-13	12:58:13	2065	[DEBUG]	Process line 2065
2023-10-13	12:58:13	2065	[DEBUG]	Load a row
2023-10-13	12:58:13	2065	[DEBUG]	Processing item: A_1522_1
2023-10-13	12:58:13	2065	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:13	2065	[DEBUG]	Processing product tax
2023-10-13	12:58:13	2065	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:13	2065	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:13	2065	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:13	2065	[DEBUG]	Query for Product
2023-10-13	12:58:13	2065	[DEBUG]	Executed store
2023-10-13	12:58:13	2065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1522_1','0.087','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:13	2065	[DEBUG]	Check product language entry
2023-10-13	12:58:13	2065	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861557
2023-10-13	12:58:13	2065	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:13	2065	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1522_1' AND `virtuemart_product_id` != 1861557
2023-10-13	12:58:13	2065	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:13	2065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861557, 'A_1522_1')
2023-10-13	12:58:13	2065	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:13	2065	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-noir' AND `virtuemart_product_id` != 1861557
2023-10-13	12:58:13	2065	[DEBUG]	Query for ProductLang
2023-10-13	12:58:13	2065	[DEBUG]	Executed store
2023-10-13	12:58:13	2065	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessign exclusif pour réduire les vibrations et reduire le poids au maximum. <br>Système standard avec 6 vis. <br>1.8mm épaisseur<br>180mm <br>87gr <br>N° art fourn : HJ1523180',`product_name`='MSC Disque frein MSC Ultrlalight Acier 180 mm. 1.8mm  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-noir' WHERE `virtuemart_product_id` = '1861557'
2023-10-13	12:58:13	2065	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5802.jpg
2023-10-13	12:58:13	2065	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:13	2065	[DEBUG]	Process image file
2023-10-13	12:58:13	2065	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:13	2065	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:13	2065	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5802.jpg
2023-10-13	12:58:13	2065	[DEBUG]	Full name target: bcprisme/image_5802.jpg
2023-10-13	12:58:14	2065	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:14	2065	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5802.jpg'
2023-10-13	12:58:14	2065	[DEBUG]	Query for Media
2023-10-13	12:58:14	2065	[DEBUG]	Executed store
2023-10-13	12:58:14	2065	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5802.jpg',`file_url_thumb`='bcprisme/image_5802.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12738'
2023-10-13	12:58:14	2065	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:14	2065	[DEBUG]	Executed store
2023-10-13	12:58:14	2065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861557','12738','1')
2023-10-13	12:58:14	2065	[DEBUG]	Store product image relation
2023-10-13	12:58:14	2065	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:14	2065	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861557 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:14	2065	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:14	2065	[DEBUG]	Executed store
2023-10-13	12:58:14	2065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861557','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:14	2065	[DEBUG]	Checking manufacturer
2023-10-13	12:58:14	2065	[DEBUG]	Load a row
2023-10-13	12:58:14	2065	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:14	2065	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:14	2065	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:14	2065	[DEBUG]	Executed store
2023-10-13	12:58:14	2065	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:14	2065	[DEBUG]	Manufacturer exists
2023-10-13	12:58:14	2065	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:14	2065	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:14	2065	[DEBUG]	Executed store
2023-10-13	12:58:14	2065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861557','32')
2023-10-13	12:58:14	2065	[DEBUG]	Find the custom field ID
2023-10-13	12:58:14	2065	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:14	2065	[DEBUG]	No custom field ID found
2023-10-13	12:58:14	2065	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:14	2065	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:58:14	2065	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861557 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:14	2065	[DEBUG]	Store custom available field
2023-10-13	12:58:14	2065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861557,3,'49.7613888888889',1)
2023-10-13	12:58:14	2065	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:14	2065	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:14	2065	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861557 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:14	2065	[DEBUG]	Store custom available field
2023-10-13	12:58:14	2065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861557,6,'choisir la taille',3)
2023-10-13	12:58:14	2065	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:14	2065	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:14	2065	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:14	2065	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:14	2065	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861557 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:14	2065	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:14	2065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861557,8,1)
2023-10-13	12:58:14	2065	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:14	2065	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861557\":[1861557,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861557
2023-10-13	12:58:14	2065	[DEBUG]	Checking category
2023-10-13	12:58:14	2065	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:14	2065	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861557
2023-10-13	12:58:14	2065	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:14	2065	[DEBUG]	Executed store
2023-10-13	12:58:14	2065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861557','7337')
2023-10-13	12:58:14	2065	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:14	2065	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861557 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:14	2065	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:14	2065	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861557
2023-10-13	12:58:14	2066	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:14	2066	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:14	2066	[DEBUG]	Use field value for field taille
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:14	2066	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:14	2066	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:14	2066	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:14	2066	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:14	2066	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:14	2066	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:14	2066	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:14	2066	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:14	2066	[DEBUG]	Use field value for field published
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:14	2066	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field override
2023-10-13	12:58:14	2066	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:14	2066	[DEBUG]	Use field value for field slug
2023-10-13	12:58:14	2066	[DEBUG]	Process line 2066
2023-10-13	12:58:14	2066	[DEBUG]	Load a row
2023-10-13	12:58:14	2066	[DEBUG]	Processing item: 1000000030310
2023-10-13	12:58:14	2066	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:14	2066	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:14	2066	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1522_1'
2023-10-13	12:58:14	2066	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:14	2066	[DEBUG]	Processing product tax
2023-10-13	12:58:14	2066	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:14	2066	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:14	2066	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:14	2066	[DEBUG]	Query for Product
2023-10-13	12:58:14	2066	[DEBUG]	Executed store
2023-10-13	12:58:14	2066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861557','1000000030310','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:14	2066	[DEBUG]	No parent found
2023-10-13	12:58:14	2066	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861557 AND customfield_value = 'stockable'
2023-10-13	12:58:14	2066	[DEBUG]	Check product language entry
2023-10-13	12:58:14	2066	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861558
2023-10-13	12:58:14	2066	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:14	2066	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000030310' AND `virtuemart_product_id` != 1861558
2023-10-13	12:58:14	2066	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:14	2066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861558, '1000000030310')
2023-10-13	12:58:14	2066	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:14	2066	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-noir-unitaire' AND `virtuemart_product_id` != 1861558
2023-10-13	12:58:14	2066	[DEBUG]	Query for ProductLang
2023-10-13	12:58:14	2066	[DEBUG]	Executed store
2023-10-13	12:58:14	2066	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Disque frein MSC Ultrlalight Acier 180 mm. 1.8mm  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861558'
2023-10-13	12:58:14	2066	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5802.jpg
2023-10-13	12:58:14	2066	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:14	2066	[DEBUG]	Process image file
2023-10-13	12:58:14	2066	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:14	2066	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:14	2066	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5802.jpg
2023-10-13	12:58:14	2066	[DEBUG]	Full name target: bcprisme/image_5802.jpg
2023-10-13	12:58:15	2066	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:15	2066	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5802.jpg'
2023-10-13	12:58:15	2066	[DEBUG]	Query for Media
2023-10-13	12:58:15	2066	[DEBUG]	Executed store
2023-10-13	12:58:15	2066	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5802.jpg',`file_url_thumb`='bcprisme/image_5802.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12738'
2023-10-13	12:58:15	2066	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:15	2066	[DEBUG]	Executed store
2023-10-13	12:58:15	2066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861558','12738','1')
2023-10-13	12:58:15	2066	[DEBUG]	Store product image relation
2023-10-13	12:58:15	2066	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:15	2066	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861558 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:15	2066	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:15	2066	[DEBUG]	Executed store
2023-10-13	12:58:15	2066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861558','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:15	2066	[DEBUG]	Checking manufacturer
2023-10-13	12:58:15	2066	[DEBUG]	Load a row
2023-10-13	12:58:15	2066	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:15	2066	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:15	2066	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:15	2066	[DEBUG]	Executed store
2023-10-13	12:58:15	2066	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:15	2066	[DEBUG]	Manufacturer exists
2023-10-13	12:58:15	2066	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:15	2066	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:15	2066	[DEBUG]	Executed store
2023-10-13	12:58:15	2066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861558','32')
2023-10-13	12:58:15	2066	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:15	2066	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:15	2066	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861558 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:15	2066	[DEBUG]	Store custom available field
2023-10-13	12:58:15	2066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861558,3,'',1)
2023-10-13	12:58:15	2066	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:15	2066	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:15	2066	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861558 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:15	2066	[DEBUG]	Store custom available field
2023-10-13	12:58:15	2066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861558,6,'Unitaire',3)
2023-10-13	12:58:15	2066	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:15	2066	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:15	2066	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861557
2023-10-13	12:58:15	2066	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:15	2066	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861557\":[1861557,8,1,\"choisir la taille\"],\"1861558\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861557
2023-10-13	12:58:15	2066	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:15	2066	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861558
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:15	2067	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field taille
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:15	2067	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:15	2067	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:15	2067	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:15	2067	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:15	2067	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:15	2067	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field published
2023-10-13	12:58:15	2067	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:15	2067	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field override
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:15	2067	[DEBUG]	Use field value for field slug
2023-10-13	12:58:15	2067	[DEBUG]	Process line 2067
2023-10-13	12:58:15	2067	[DEBUG]	Load a row
2023-10-13	12:58:15	2067	[DEBUG]	Processing item: A_1522_4
2023-10-13	12:58:15	2067	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:15	2067	[DEBUG]	Processing product tax
2023-10-13	12:58:15	2067	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:15	2067	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:15	2067	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:15	2067	[DEBUG]	Query for Product
2023-10-13	12:58:15	2067	[DEBUG]	Executed store
2023-10-13	12:58:15	2067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1522_4','0.087','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:15	2067	[DEBUG]	Check product language entry
2023-10-13	12:58:15	2067	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861559
2023-10-13	12:58:15	2067	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:15	2067	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1522_4' AND `virtuemart_product_id` != 1861559
2023-10-13	12:58:15	2067	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:15	2067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861559, 'A_1522_4')
2023-10-13	12:58:15	2067	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:15	2067	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-acier' AND `virtuemart_product_id` != 1861559
2023-10-13	12:58:15	2067	[DEBUG]	Query for ProductLang
2023-10-13	12:58:15	2067	[DEBUG]	Executed store
2023-10-13	12:58:15	2067	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessign exclusif pour réduire les vibrations et reduire le poids au maximum. <br>Système standard avec 6 vis. <br>1.8mm épaisseur<br>180mm <br>87gr <br>N° art fourn : HJ1523180',`product_name`='MSC Disque frein MSC Ultrlalight Acier 180 mm. 1.8mm  / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-acier' WHERE `virtuemart_product_id` = '1861559'
2023-10-13	12:58:15	2067	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3657.jpg
2023-10-13	12:58:15	2067	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:15	2067	[DEBUG]	Process image file
2023-10-13	12:58:15	2067	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:15	2067	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:15	2067	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3657.jpg
2023-10-13	12:58:15	2067	[DEBUG]	Full name target: bcprisme/image_3657.jpg
2023-10-13	12:58:16	2067	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:16	2067	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3657.jpg'
2023-10-13	12:58:16	2067	[DEBUG]	Query for Media
2023-10-13	12:58:16	2067	[DEBUG]	Executed store
2023-10-13	12:58:16	2067	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3657.jpg',`file_url_thumb`='bcprisme/image_3657.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12739'
2023-10-13	12:58:16	2067	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:16	2067	[DEBUG]	Executed store
2023-10-13	12:58:16	2067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861559','12739','1')
2023-10-13	12:58:16	2067	[DEBUG]	Store product image relation
2023-10-13	12:58:16	2067	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:16	2067	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861559 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:16	2067	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:16	2067	[DEBUG]	Executed store
2023-10-13	12:58:16	2067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861559','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:16	2067	[DEBUG]	Checking manufacturer
2023-10-13	12:58:16	2067	[DEBUG]	Load a row
2023-10-13	12:58:16	2067	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:16	2067	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:16	2067	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:16	2067	[DEBUG]	Executed store
2023-10-13	12:58:16	2067	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:16	2067	[DEBUG]	Manufacturer exists
2023-10-13	12:58:16	2067	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:16	2067	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:16	2067	[DEBUG]	Executed store
2023-10-13	12:58:16	2067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861559','32')
2023-10-13	12:58:16	2067	[DEBUG]	Find the custom field ID
2023-10-13	12:58:16	2067	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:16	2067	[DEBUG]	No custom field ID found
2023-10-13	12:58:16	2067	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:16	2067	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:58:16	2067	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861559 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:16	2067	[DEBUG]	Store custom available field
2023-10-13	12:58:16	2067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861559,3,'49.7613888888889',1)
2023-10-13	12:58:16	2067	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:16	2067	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:16	2067	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861559 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:16	2067	[DEBUG]	Store custom available field
2023-10-13	12:58:16	2067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861559,6,'choisir la taille',3)
2023-10-13	12:58:16	2067	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:16	2067	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:16	2067	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:16	2067	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:16	2067	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861559 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:16	2067	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:16	2067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861559,8,1)
2023-10-13	12:58:16	2067	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:16	2067	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861559\":[1861559,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861559
2023-10-13	12:58:16	2067	[DEBUG]	Checking category
2023-10-13	12:58:16	2067	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:16	2067	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861559
2023-10-13	12:58:16	2067	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:16	2067	[DEBUG]	Executed store
2023-10-13	12:58:16	2067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861559','7337')
2023-10-13	12:58:16	2067	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:16	2067	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861559 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:16	2067	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:16	2067	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861559
2023-10-13	12:58:16	2068	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:16	2068	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:16	2068	[DEBUG]	Use field value for field taille
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:16	2068	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:16	2068	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:16	2068	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:16	2068	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:16	2068	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:16	2068	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:16	2068	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:16	2068	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:16	2068	[DEBUG]	Use field value for field published
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:16	2068	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field override
2023-10-13	12:58:16	2068	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:16	2068	[DEBUG]	Use field value for field slug
2023-10-13	12:58:16	2068	[DEBUG]	Process line 2068
2023-10-13	12:58:16	2068	[DEBUG]	Load a row
2023-10-13	12:58:16	2068	[DEBUG]	Processing item: 8436047357777
2023-10-13	12:58:16	2068	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:16	2068	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:16	2068	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1522_4'
2023-10-13	12:58:16	2068	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:16	2068	[DEBUG]	Processing product tax
2023-10-13	12:58:16	2068	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:16	2068	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:16	2068	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:16	2068	[DEBUG]	Query for Product
2023-10-13	12:58:16	2068	[DEBUG]	Executed store
2023-10-13	12:58:16	2068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861559','8436047357777','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:16	2068	[DEBUG]	No parent found
2023-10-13	12:58:16	2068	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861559 AND customfield_value = 'stockable'
2023-10-13	12:58:16	2068	[DEBUG]	Check product language entry
2023-10-13	12:58:16	2068	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861560
2023-10-13	12:58:16	2068	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:16	2068	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357777' AND `virtuemart_product_id` != 1861560
2023-10-13	12:58:16	2068	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:16	2068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861560, '8436047357777')
2023-10-13	12:58:16	2068	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:16	2068	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-acier-unitaire' AND `virtuemart_product_id` != 1861560
2023-10-13	12:58:16	2068	[DEBUG]	Query for ProductLang
2023-10-13	12:58:16	2068	[DEBUG]	Executed store
2023-10-13	12:58:16	2068	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Disque frein MSC Ultrlalight Acier 180 mm. 1.8mm  / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-acier-unitaire' WHERE `virtuemart_product_id` = '1861560'
2023-10-13	12:58:16	2068	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3657.jpg
2023-10-13	12:58:16	2068	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:16	2068	[DEBUG]	Process image file
2023-10-13	12:58:16	2068	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:16	2068	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:16	2068	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3657.jpg
2023-10-13	12:58:16	2068	[DEBUG]	Full name target: bcprisme/image_3657.jpg
2023-10-13	12:58:17	2068	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:17	2068	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3657.jpg'
2023-10-13	12:58:17	2068	[DEBUG]	Query for Media
2023-10-13	12:58:17	2068	[DEBUG]	Executed store
2023-10-13	12:58:17	2068	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3657.jpg',`file_url_thumb`='bcprisme/image_3657.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12739'
2023-10-13	12:58:17	2068	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:17	2068	[DEBUG]	Executed store
2023-10-13	12:58:17	2068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861560','12739','1')
2023-10-13	12:58:17	2068	[DEBUG]	Store product image relation
2023-10-13	12:58:17	2068	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:17	2068	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861560 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:17	2068	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:17	2068	[DEBUG]	Executed store
2023-10-13	12:58:17	2068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861560','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:17	2068	[DEBUG]	Checking manufacturer
2023-10-13	12:58:17	2068	[DEBUG]	Load a row
2023-10-13	12:58:17	2068	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:17	2068	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:17	2068	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:17	2068	[DEBUG]	Executed store
2023-10-13	12:58:17	2068	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:17	2068	[DEBUG]	Manufacturer exists
2023-10-13	12:58:17	2068	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:17	2068	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:17	2068	[DEBUG]	Executed store
2023-10-13	12:58:17	2068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861560','32')
2023-10-13	12:58:17	2068	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:17	2068	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:17	2068	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861560 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:17	2068	[DEBUG]	Store custom available field
2023-10-13	12:58:17	2068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861560,3,'',1)
2023-10-13	12:58:17	2068	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:17	2068	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:17	2068	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861560 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:17	2068	[DEBUG]	Store custom available field
2023-10-13	12:58:17	2068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861560,6,'Unitaire',3)
2023-10-13	12:58:17	2068	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:17	2068	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:17	2068	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861559
2023-10-13	12:58:17	2068	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:17	2068	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861559\":[1861559,8,1,\"choisir la taille\"],\"1861560\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861559
2023-10-13	12:58:17	2068	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:17	2068	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861560
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:17	2069	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field taille
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:17	2069	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:17	2069	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:17	2069	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:17	2069	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:17	2069	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:17	2069	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field published
2023-10-13	12:58:17	2069	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:17	2069	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field override
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:17	2069	[DEBUG]	Use field value for field slug
2023-10-13	12:58:17	2069	[DEBUG]	Process line 2069
2023-10-13	12:58:17	2069	[DEBUG]	Load a row
2023-10-13	12:58:17	2069	[DEBUG]	Processing item: A_1522_5
2023-10-13	12:58:17	2069	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:17	2069	[DEBUG]	Processing product tax
2023-10-13	12:58:17	2069	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:17	2069	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:17	2069	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:17	2069	[DEBUG]	Query for Product
2023-10-13	12:58:17	2069	[DEBUG]	Executed store
2023-10-13	12:58:17	2069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1522_5','0.087','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:17	2069	[DEBUG]	Check product language entry
2023-10-13	12:58:17	2069	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861561
2023-10-13	12:58:17	2069	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:17	2069	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1522_5' AND `virtuemart_product_id` != 1861561
2023-10-13	12:58:17	2069	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:17	2069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861561, 'A_1522_5')
2023-10-13	12:58:17	2069	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:17	2069	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-or' AND `virtuemart_product_id` != 1861561
2023-10-13	12:58:17	2069	[DEBUG]	Query for ProductLang
2023-10-13	12:58:17	2069	[DEBUG]	Executed store
2023-10-13	12:58:17	2069	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessign exclusif pour réduire les vibrations et reduire le poids au maximum. <br>Système standard avec 6 vis. <br>1.8mm épaisseur<br>180mm <br>87gr <br>N° art fourn : HJ1523180',`product_name`='MSC Disque frein MSC Ultrlalight Acier 180 mm. 1.8mm  / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-or' WHERE `virtuemart_product_id` = '1861561'
2023-10-13	12:58:17	2069	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5803.jpg
2023-10-13	12:58:17	2069	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:17	2069	[DEBUG]	Process image file
2023-10-13	12:58:17	2069	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:17	2069	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:17	2069	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5803.jpg
2023-10-13	12:58:17	2069	[DEBUG]	Full name target: bcprisme/image_5803.jpg
2023-10-13	12:58:18	2069	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:18	2069	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5803.jpg'
2023-10-13	12:58:18	2069	[DEBUG]	Query for Media
2023-10-13	12:58:18	2069	[DEBUG]	Executed store
2023-10-13	12:58:18	2069	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5803.jpg',`file_url_thumb`='bcprisme/image_5803.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12740'
2023-10-13	12:58:18	2069	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:18	2069	[DEBUG]	Executed store
2023-10-13	12:58:18	2069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861561','12740','1')
2023-10-13	12:58:18	2069	[DEBUG]	Store product image relation
2023-10-13	12:58:18	2069	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:18	2069	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861561 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:18	2069	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:18	2069	[DEBUG]	Executed store
2023-10-13	12:58:18	2069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861561','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:18	2069	[DEBUG]	Checking manufacturer
2023-10-13	12:58:18	2069	[DEBUG]	Load a row
2023-10-13	12:58:18	2069	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:18	2069	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:18	2069	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:18	2069	[DEBUG]	Executed store
2023-10-13	12:58:18	2069	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:18	2069	[DEBUG]	Manufacturer exists
2023-10-13	12:58:18	2069	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:18	2069	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:18	2069	[DEBUG]	Executed store
2023-10-13	12:58:18	2069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861561','32')
2023-10-13	12:58:18	2069	[DEBUG]	Find the custom field ID
2023-10-13	12:58:18	2069	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:18	2069	[DEBUG]	No custom field ID found
2023-10-13	12:58:18	2069	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:18	2069	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:58:18	2069	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861561 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:18	2069	[DEBUG]	Store custom available field
2023-10-13	12:58:18	2069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861561,3,'49.7613888888889',1)
2023-10-13	12:58:18	2069	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:18	2069	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:18	2069	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861561 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:18	2069	[DEBUG]	Store custom available field
2023-10-13	12:58:18	2069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861561,6,'choisir la taille',3)
2023-10-13	12:58:18	2069	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:18	2069	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:18	2069	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:18	2069	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:18	2069	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861561 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:18	2069	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:18	2069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861561,8,1)
2023-10-13	12:58:18	2069	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:18	2069	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861561\":[1861561,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861561
2023-10-13	12:58:18	2069	[DEBUG]	Checking category
2023-10-13	12:58:18	2069	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:18	2069	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861561
2023-10-13	12:58:18	2069	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:18	2069	[DEBUG]	Executed store
2023-10-13	12:58:18	2069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861561','7337')
2023-10-13	12:58:18	2069	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:18	2069	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861561 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:18	2069	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:18	2069	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861561
2023-10-13	12:58:18	2070	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:18	2070	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:18	2070	[DEBUG]	Use field value for field taille
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:18	2070	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:18	2070	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:18	2070	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:18	2070	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:18	2070	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:18	2070	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:18	2070	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:18	2070	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:18	2070	[DEBUG]	Use field value for field published
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:18	2070	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field override
2023-10-13	12:58:18	2070	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:18	2070	[DEBUG]	Use field value for field slug
2023-10-13	12:58:18	2070	[DEBUG]	Process line 2070
2023-10-13	12:58:18	2070	[DEBUG]	Load a row
2023-10-13	12:58:18	2070	[DEBUG]	Processing item: 8436041139904
2023-10-13	12:58:18	2070	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:18	2070	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:18	2070	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1522_5'
2023-10-13	12:58:18	2070	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:18	2070	[DEBUG]	Processing product tax
2023-10-13	12:58:18	2070	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:18	2070	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:18	2070	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:18	2070	[DEBUG]	Query for Product
2023-10-13	12:58:18	2070	[DEBUG]	Executed store
2023-10-13	12:58:18	2070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861561','8436041139904','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:18	2070	[DEBUG]	No parent found
2023-10-13	12:58:18	2070	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861561 AND customfield_value = 'stockable'
2023-10-13	12:58:18	2070	[DEBUG]	Check product language entry
2023-10-13	12:58:18	2070	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861562
2023-10-13	12:58:18	2070	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:18	2070	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041139904' AND `virtuemart_product_id` != 1861562
2023-10-13	12:58:18	2070	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:18	2070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861562, '8436041139904')
2023-10-13	12:58:18	2070	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:18	2070	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-or-unitaire' AND `virtuemart_product_id` != 1861562
2023-10-13	12:58:18	2070	[DEBUG]	Query for ProductLang
2023-10-13	12:58:19	2070	[DEBUG]	Executed store
2023-10-13	12:58:19	2070	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Disque frein MSC Ultrlalight Acier 180 mm. 1.8mm  / Or (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-or-unitaire' WHERE `virtuemart_product_id` = '1861562'
2023-10-13	12:58:19	2070	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5803.jpg
2023-10-13	12:58:19	2070	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:19	2070	[DEBUG]	Process image file
2023-10-13	12:58:19	2070	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:19	2070	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:19	2070	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5803.jpg
2023-10-13	12:58:19	2070	[DEBUG]	Full name target: bcprisme/image_5803.jpg
2023-10-13	12:58:20	2070	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:20	2070	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5803.jpg'
2023-10-13	12:58:20	2070	[DEBUG]	Query for Media
2023-10-13	12:58:20	2070	[DEBUG]	Executed store
2023-10-13	12:58:20	2070	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5803.jpg',`file_url_thumb`='bcprisme/image_5803.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12740'
2023-10-13	12:58:20	2070	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:20	2070	[DEBUG]	Executed store
2023-10-13	12:58:20	2070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861562','12740','1')
2023-10-13	12:58:20	2070	[DEBUG]	Store product image relation
2023-10-13	12:58:20	2070	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:20	2070	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861562 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:20	2070	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:20	2070	[DEBUG]	Executed store
2023-10-13	12:58:20	2070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861562','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:20	2070	[DEBUG]	Checking manufacturer
2023-10-13	12:58:20	2070	[DEBUG]	Load a row
2023-10-13	12:58:20	2070	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:20	2070	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:20	2070	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:20	2070	[DEBUG]	Executed store
2023-10-13	12:58:20	2070	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:20	2070	[DEBUG]	Manufacturer exists
2023-10-13	12:58:20	2070	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:20	2070	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:20	2070	[DEBUG]	Executed store
2023-10-13	12:58:20	2070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861562','32')
2023-10-13	12:58:20	2070	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:20	2070	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:20	2070	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861562 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:20	2070	[DEBUG]	Store custom available field
2023-10-13	12:58:20	2070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861562,3,'',1)
2023-10-13	12:58:20	2070	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:20	2070	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:20	2070	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861562 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:20	2070	[DEBUG]	Store custom available field
2023-10-13	12:58:20	2070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861562,6,'Unitaire',3)
2023-10-13	12:58:20	2070	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:20	2070	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:20	2070	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861561
2023-10-13	12:58:20	2070	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:20	2070	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861561\":[1861561,8,1,\"choisir la taille\"],\"1861562\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861561
2023-10-13	12:58:20	2070	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:20	2070	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861562
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:20	2071	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field taille
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:20	2071	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:20	2071	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:20	2071	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:20	2071	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:20	2071	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:20	2071	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field published
2023-10-13	12:58:20	2071	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:20	2071	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field override
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:20	2071	[DEBUG]	Use field value for field slug
2023-10-13	12:58:20	2071	[DEBUG]	Process line 2071
2023-10-13	12:58:20	2071	[DEBUG]	Load a row
2023-10-13	12:58:20	2071	[DEBUG]	Processing item: A_1522_12
2023-10-13	12:58:20	2071	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:20	2071	[DEBUG]	Processing product tax
2023-10-13	12:58:20	2071	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:20	2071	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:20	2071	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:20	2071	[DEBUG]	Query for Product
2023-10-13	12:58:20	2071	[DEBUG]	Executed store
2023-10-13	12:58:20	2071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1522_12','0.087','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:20	2071	[DEBUG]	Check product language entry
2023-10-13	12:58:20	2071	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861563
2023-10-13	12:58:20	2071	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:20	2071	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1522_12' AND `virtuemart_product_id` != 1861563
2023-10-13	12:58:20	2071	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:20	2071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861563, 'A_1522_12')
2023-10-13	12:58:20	2071	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:20	2071	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-blanc' AND `virtuemart_product_id` != 1861563
2023-10-13	12:58:20	2071	[DEBUG]	Query for ProductLang
2023-10-13	12:58:20	2071	[DEBUG]	Executed store
2023-10-13	12:58:20	2071	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessign exclusif pour réduire les vibrations et reduire le poids au maximum. <br>Système standard avec 6 vis. <br>1.8mm épaisseur<br>180mm <br>87gr <br>N° art fourn : HJ1523180',`product_name`='MSC Disque frein MSC Ultrlalight Acier 180 mm. 1.8mm  / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-blanc' WHERE `virtuemart_product_id` = '1861563'
2023-10-13	12:58:20	2071	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5805.jpg
2023-10-13	12:58:20	2071	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:20	2071	[DEBUG]	Process image file
2023-10-13	12:58:20	2071	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:20	2071	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:20	2071	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5805.jpg
2023-10-13	12:58:20	2071	[DEBUG]	Full name target: bcprisme/image_5805.jpg
2023-10-13	12:58:21	2071	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:21	2071	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5805.jpg'
2023-10-13	12:58:21	2071	[DEBUG]	Query for Media
2023-10-13	12:58:21	2071	[DEBUG]	Executed store
2023-10-13	12:58:21	2071	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5805.jpg',`file_url_thumb`='bcprisme/image_5805.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12742'
2023-10-13	12:58:21	2071	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:21	2071	[DEBUG]	Executed store
2023-10-13	12:58:21	2071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861563','12742','1')
2023-10-13	12:58:21	2071	[DEBUG]	Store product image relation
2023-10-13	12:58:21	2071	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:21	2071	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861563 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:21	2071	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:21	2071	[DEBUG]	Executed store
2023-10-13	12:58:21	2071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861563','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:21	2071	[DEBUG]	Checking manufacturer
2023-10-13	12:58:21	2071	[DEBUG]	Load a row
2023-10-13	12:58:21	2071	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:21	2071	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:21	2071	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:21	2071	[DEBUG]	Executed store
2023-10-13	12:58:21	2071	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:21	2071	[DEBUG]	Manufacturer exists
2023-10-13	12:58:21	2071	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:21	2071	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:21	2071	[DEBUG]	Executed store
2023-10-13	12:58:21	2071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861563','32')
2023-10-13	12:58:21	2071	[DEBUG]	Find the custom field ID
2023-10-13	12:58:21	2071	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:21	2071	[DEBUG]	No custom field ID found
2023-10-13	12:58:21	2071	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:21	2071	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:58:21	2071	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861563 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:21	2071	[DEBUG]	Store custom available field
2023-10-13	12:58:21	2071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861563,3,'49.7613888888889',1)
2023-10-13	12:58:21	2071	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:21	2071	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:21	2071	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861563 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:21	2071	[DEBUG]	Store custom available field
2023-10-13	12:58:21	2071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861563,6,'choisir la taille',3)
2023-10-13	12:58:21	2071	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:21	2071	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:21	2071	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:21	2071	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:21	2071	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861563 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:21	2071	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:21	2071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861563,8,1)
2023-10-13	12:58:21	2071	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:21	2071	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861563\":[1861563,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861563
2023-10-13	12:58:21	2071	[DEBUG]	Checking category
2023-10-13	12:58:21	2071	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:21	2071	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861563
2023-10-13	12:58:21	2071	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:21	2071	[DEBUG]	Executed store
2023-10-13	12:58:21	2071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861563','7337')
2023-10-13	12:58:21	2071	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:21	2071	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861563 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:21	2071	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:21	2071	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861563
2023-10-13	12:58:21	2072	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:21	2072	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:21	2072	[DEBUG]	Use field value for field taille
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:21	2072	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:21	2072	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:21	2072	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:21	2072	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:21	2072	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:21	2072	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:21	2072	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:21	2072	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:21	2072	[DEBUG]	Use field value for field published
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:21	2072	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field override
2023-10-13	12:58:21	2072	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:21	2072	[DEBUG]	Use field value for field slug
2023-10-13	12:58:21	2072	[DEBUG]	Process line 2072
2023-10-13	12:58:21	2072	[DEBUG]	Load a row
2023-10-13	12:58:21	2072	[DEBUG]	Processing item: 8436041139928
2023-10-13	12:58:21	2072	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:21	2072	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:21	2072	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1522_12'
2023-10-13	12:58:21	2072	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:21	2072	[DEBUG]	Processing product tax
2023-10-13	12:58:21	2072	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:21	2072	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:21	2072	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:21	2072	[DEBUG]	Query for Product
2023-10-13	12:58:21	2072	[DEBUG]	Executed store
2023-10-13	12:58:21	2072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861563','8436041139928','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:21	2072	[DEBUG]	No parent found
2023-10-13	12:58:21	2072	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861563 AND customfield_value = 'stockable'
2023-10-13	12:58:21	2072	[DEBUG]	Check product language entry
2023-10-13	12:58:21	2072	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861564
2023-10-13	12:58:21	2072	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:21	2072	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041139928' AND `virtuemart_product_id` != 1861564
2023-10-13	12:58:21	2072	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:21	2072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861564, '8436041139928')
2023-10-13	12:58:21	2072	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:21	2072	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-blanc-unitaire' AND `virtuemart_product_id` != 1861564
2023-10-13	12:58:21	2072	[DEBUG]	Query for ProductLang
2023-10-13	12:58:21	2072	[DEBUG]	Executed store
2023-10-13	12:58:21	2072	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Disque frein MSC Ultrlalight Acier 180 mm. 1.8mm  / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-blanc-unitaire' WHERE `virtuemart_product_id` = '1861564'
2023-10-13	12:58:21	2072	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5805.jpg
2023-10-13	12:58:21	2072	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:21	2072	[DEBUG]	Process image file
2023-10-13	12:58:21	2072	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:21	2072	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:21	2072	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5805.jpg
2023-10-13	12:58:21	2072	[DEBUG]	Full name target: bcprisme/image_5805.jpg
2023-10-13	12:58:22	2072	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:22	2072	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5805.jpg'
2023-10-13	12:58:22	2072	[DEBUG]	Query for Media
2023-10-13	12:58:22	2072	[DEBUG]	Executed store
2023-10-13	12:58:22	2072	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5805.jpg',`file_url_thumb`='bcprisme/image_5805.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12742'
2023-10-13	12:58:22	2072	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:22	2072	[DEBUG]	Executed store
2023-10-13	12:58:22	2072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861564','12742','1')
2023-10-13	12:58:22	2072	[DEBUG]	Store product image relation
2023-10-13	12:58:22	2072	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:22	2072	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861564 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:22	2072	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:22	2072	[DEBUG]	Executed store
2023-10-13	12:58:22	2072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861564','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:22	2072	[DEBUG]	Checking manufacturer
2023-10-13	12:58:22	2072	[DEBUG]	Load a row
2023-10-13	12:58:22	2072	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:22	2072	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:22	2072	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:22	2072	[DEBUG]	Executed store
2023-10-13	12:58:22	2072	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:22	2072	[DEBUG]	Manufacturer exists
2023-10-13	12:58:22	2072	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:22	2072	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:22	2072	[DEBUG]	Executed store
2023-10-13	12:58:22	2072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861564','32')
2023-10-13	12:58:22	2072	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:22	2072	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:22	2072	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861564 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:22	2072	[DEBUG]	Store custom available field
2023-10-13	12:58:22	2072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861564,3,'',1)
2023-10-13	12:58:22	2072	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:22	2072	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:22	2072	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861564 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:22	2072	[DEBUG]	Store custom available field
2023-10-13	12:58:22	2072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861564,6,'Unitaire',3)
2023-10-13	12:58:22	2072	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:22	2072	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:22	2072	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861563
2023-10-13	12:58:22	2072	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:22	2072	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861563\":[1861563,8,1,\"choisir la taille\"],\"1861564\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861563
2023-10-13	12:58:22	2072	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:22	2072	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861564
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:22	2073	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field taille
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:22	2073	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:22	2073	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:22	2073	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:22	2073	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:22	2073	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:22	2073	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field published
2023-10-13	12:58:22	2073	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:22	2073	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field override
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:22	2073	[DEBUG]	Use field value for field slug
2023-10-13	12:58:22	2073	[DEBUG]	Process line 2073
2023-10-13	12:58:22	2073	[DEBUG]	Load a row
2023-10-13	12:58:22	2073	[DEBUG]	Processing item: A_1522_22
2023-10-13	12:58:22	2073	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:22	2073	[DEBUG]	Processing product tax
2023-10-13	12:58:22	2073	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:22	2073	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:22	2073	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:22	2073	[DEBUG]	Query for Product
2023-10-13	12:58:22	2073	[DEBUG]	Executed store
2023-10-13	12:58:22	2073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1522_22','0.087','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:22	2073	[DEBUG]	Check product language entry
2023-10-13	12:58:22	2073	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861565
2023-10-13	12:58:22	2073	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:22	2073	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1522_22' AND `virtuemart_product_id` != 1861565
2023-10-13	12:58:22	2073	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:22	2073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861565, 'A_1522_22')
2023-10-13	12:58:22	2073	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:22	2073	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-bleu' AND `virtuemart_product_id` != 1861565
2023-10-13	12:58:22	2073	[DEBUG]	Query for ProductLang
2023-10-13	12:58:22	2073	[DEBUG]	Executed store
2023-10-13	12:58:22	2073	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessign exclusif pour réduire les vibrations et reduire le poids au maximum. <br>Système standard avec 6 vis. <br>1.8mm épaisseur<br>180mm <br>87gr <br>N° art fourn : HJ1523180',`product_name`='MSC Disque frein MSC Ultrlalight Acier 180 mm. 1.8mm  / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-bleu' WHERE `virtuemart_product_id` = '1861565'
2023-10-13	12:58:22	2073	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5806.jpg
2023-10-13	12:58:22	2073	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:22	2073	[DEBUG]	Process image file
2023-10-13	12:58:22	2073	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:22	2073	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:22	2073	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5806.jpg
2023-10-13	12:58:22	2073	[DEBUG]	Full name target: bcprisme/image_5806.jpg
2023-10-13	12:58:23	2073	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:23	2073	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5806.jpg'
2023-10-13	12:58:23	2073	[DEBUG]	Query for Media
2023-10-13	12:58:23	2073	[DEBUG]	Executed store
2023-10-13	12:58:23	2073	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5806.jpg',`file_url_thumb`='bcprisme/image_5806.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12743'
2023-10-13	12:58:23	2073	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:23	2073	[DEBUG]	Executed store
2023-10-13	12:58:23	2073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861565','12743','1')
2023-10-13	12:58:23	2073	[DEBUG]	Store product image relation
2023-10-13	12:58:23	2073	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:23	2073	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861565 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:23	2073	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:23	2073	[DEBUG]	Executed store
2023-10-13	12:58:23	2073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861565','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:23	2073	[DEBUG]	Checking manufacturer
2023-10-13	12:58:23	2073	[DEBUG]	Load a row
2023-10-13	12:58:23	2073	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:23	2073	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:23	2073	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:23	2073	[DEBUG]	Executed store
2023-10-13	12:58:23	2073	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:23	2073	[DEBUG]	Manufacturer exists
2023-10-13	12:58:23	2073	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:23	2073	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:23	2073	[DEBUG]	Executed store
2023-10-13	12:58:23	2073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861565','32')
2023-10-13	12:58:23	2073	[DEBUG]	Find the custom field ID
2023-10-13	12:58:23	2073	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:23	2073	[DEBUG]	No custom field ID found
2023-10-13	12:58:23	2073	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:23	2073	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:58:23	2073	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861565 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:23	2073	[DEBUG]	Store custom available field
2023-10-13	12:58:23	2073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861565,3,'49.7613888888889',1)
2023-10-13	12:58:23	2073	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:23	2073	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:23	2073	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861565 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:23	2073	[DEBUG]	Store custom available field
2023-10-13	12:58:23	2073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861565,6,'choisir la taille',3)
2023-10-13	12:58:23	2073	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:23	2073	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:23	2073	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:23	2073	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:23	2073	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861565 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:23	2073	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:23	2073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861565,8,1)
2023-10-13	12:58:23	2073	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:23	2073	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861565\":[1861565,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861565
2023-10-13	12:58:23	2073	[DEBUG]	Checking category
2023-10-13	12:58:23	2073	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:23	2073	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861565
2023-10-13	12:58:23	2073	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:23	2073	[DEBUG]	Executed store
2023-10-13	12:58:23	2073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861565','7337')
2023-10-13	12:58:23	2073	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:23	2073	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861565 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:23	2073	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:23	2073	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861565
2023-10-13	12:58:23	2074	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:23	2074	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:23	2074	[DEBUG]	Use field value for field taille
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:23	2074	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:23	2074	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:23	2074	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:23	2074	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:23	2074	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:23	2074	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:23	2074	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:23	2074	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:23	2074	[DEBUG]	Use field value for field published
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:23	2074	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field override
2023-10-13	12:58:23	2074	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:23	2074	[DEBUG]	Use field value for field slug
2023-10-13	12:58:23	2074	[DEBUG]	Process line 2074
2023-10-13	12:58:23	2074	[DEBUG]	Load a row
2023-10-13	12:58:23	2074	[DEBUG]	Processing item: 1000000030358
2023-10-13	12:58:23	2074	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:23	2074	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:23	2074	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1522_22'
2023-10-13	12:58:23	2074	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:23	2074	[DEBUG]	Processing product tax
2023-10-13	12:58:23	2074	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:23	2074	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:23	2074	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:23	2074	[DEBUG]	Query for Product
2023-10-13	12:58:23	2074	[DEBUG]	Executed store
2023-10-13	12:58:23	2074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861565','1000000030358','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:23	2074	[DEBUG]	No parent found
2023-10-13	12:58:23	2074	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861565 AND customfield_value = 'stockable'
2023-10-13	12:58:23	2074	[DEBUG]	Check product language entry
2023-10-13	12:58:23	2074	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861566
2023-10-13	12:58:23	2074	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:23	2074	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000030358' AND `virtuemart_product_id` != 1861566
2023-10-13	12:58:23	2074	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:23	2074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861566, '1000000030358')
2023-10-13	12:58:23	2074	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:23	2074	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-bleu-unitaire' AND `virtuemart_product_id` != 1861566
2023-10-13	12:58:23	2074	[DEBUG]	Query for ProductLang
2023-10-13	12:58:23	2074	[DEBUG]	Executed store
2023-10-13	12:58:23	2074	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Disque frein MSC Ultrlalight Acier 180 mm. 1.8mm  / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-bleu-unitaire' WHERE `virtuemart_product_id` = '1861566'
2023-10-13	12:58:23	2074	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5806.jpg
2023-10-13	12:58:23	2074	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:23	2074	[DEBUG]	Process image file
2023-10-13	12:58:23	2074	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:23	2074	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:23	2074	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5806.jpg
2023-10-13	12:58:23	2074	[DEBUG]	Full name target: bcprisme/image_5806.jpg
2023-10-13	12:58:24	2074	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:24	2074	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5806.jpg'
2023-10-13	12:58:24	2074	[DEBUG]	Query for Media
2023-10-13	12:58:24	2074	[DEBUG]	Executed store
2023-10-13	12:58:24	2074	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5806.jpg',`file_url_thumb`='bcprisme/image_5806.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12743'
2023-10-13	12:58:24	2074	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:24	2074	[DEBUG]	Executed store
2023-10-13	12:58:24	2074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861566','12743','1')
2023-10-13	12:58:24	2074	[DEBUG]	Store product image relation
2023-10-13	12:58:24	2074	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:24	2074	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861566 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:24	2074	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:24	2074	[DEBUG]	Executed store
2023-10-13	12:58:24	2074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861566','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:24	2074	[DEBUG]	Checking manufacturer
2023-10-13	12:58:24	2074	[DEBUG]	Load a row
2023-10-13	12:58:24	2074	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:24	2074	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:24	2074	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:24	2074	[DEBUG]	Executed store
2023-10-13	12:58:24	2074	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:24	2074	[DEBUG]	Manufacturer exists
2023-10-13	12:58:24	2074	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:24	2074	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:24	2074	[DEBUG]	Executed store
2023-10-13	12:58:24	2074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861566','32')
2023-10-13	12:58:24	2074	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:24	2074	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:24	2074	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861566 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:24	2074	[DEBUG]	Store custom available field
2023-10-13	12:58:24	2074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861566,3,'',1)
2023-10-13	12:58:24	2074	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:24	2074	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:24	2074	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861566 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:24	2074	[DEBUG]	Store custom available field
2023-10-13	12:58:24	2074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861566,6,'Unitaire',3)
2023-10-13	12:58:24	2074	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:24	2074	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:24	2074	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861565
2023-10-13	12:58:24	2074	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:24	2074	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861565\":[1861565,8,1,\"choisir la taille\"],\"1861566\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861565
2023-10-13	12:58:24	2074	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:24	2074	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861566
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:24	2075	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field taille
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:24	2075	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:24	2075	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:24	2075	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:24	2075	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:24	2075	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:24	2075	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field published
2023-10-13	12:58:24	2075	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:24	2075	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field override
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:24	2075	[DEBUG]	Use field value for field slug
2023-10-13	12:58:24	2075	[DEBUG]	Process line 2075
2023-10-13	12:58:24	2075	[DEBUG]	Load a row
2023-10-13	12:58:24	2075	[DEBUG]	Processing item: A_1522_40
2023-10-13	12:58:24	2075	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:24	2075	[DEBUG]	Processing product tax
2023-10-13	12:58:24	2075	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:24	2075	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:24	2075	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:24	2075	[DEBUG]	Query for Product
2023-10-13	12:58:24	2075	[DEBUG]	Executed store
2023-10-13	12:58:24	2075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1522_40','0.087','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:24	2075	[DEBUG]	Check product language entry
2023-10-13	12:58:24	2075	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861567
2023-10-13	12:58:24	2075	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:24	2075	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1522_40' AND `virtuemart_product_id` != 1861567
2023-10-13	12:58:24	2075	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:24	2075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861567, 'A_1522_40')
2023-10-13	12:58:24	2075	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:24	2075	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-vert' AND `virtuemart_product_id` != 1861567
2023-10-13	12:58:24	2075	[DEBUG]	Query for ProductLang
2023-10-13	12:58:24	2075	[DEBUG]	Executed store
2023-10-13	12:58:24	2075	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Dessign exclusif pour réduire les vibrations et reduire le poids au maximum. <br>Système standard avec 6 vis. <br>1.8mm épaisseur<br>180mm <br>87gr <br>N° art fourn : HJ1523180',`product_name`='MSC Disque frein MSC Ultrlalight Acier 180 mm. 1.8mm  / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-vert' WHERE `virtuemart_product_id` = '1861567'
2023-10-13	12:58:24	2075	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_8964.jpg
2023-10-13	12:58:24	2075	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:24	2075	[DEBUG]	Process image file
2023-10-13	12:58:24	2075	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:24	2075	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:24	2075	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_8964.jpg
2023-10-13	12:58:24	2075	[DEBUG]	Full name target: bcprisme/image_8964.jpg
2023-10-13	12:58:25	2075	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:25	2075	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_8964.jpg'
2023-10-13	12:58:25	2075	[DEBUG]	Query for Media
2023-10-13	12:58:25	2075	[DEBUG]	Executed store
2023-10-13	12:58:25	2075	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_8964.jpg',`file_url_thumb`='bcprisme/image_8964.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12744'
2023-10-13	12:58:25	2075	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:25	2075	[DEBUG]	Executed store
2023-10-13	12:58:25	2075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861567','12744','1')
2023-10-13	12:58:25	2075	[DEBUG]	Store product image relation
2023-10-13	12:58:25	2075	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:25	2075	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861567 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:25	2075	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:25	2075	[DEBUG]	Executed store
2023-10-13	12:58:25	2075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861567','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:25	2075	[DEBUG]	Checking manufacturer
2023-10-13	12:58:25	2075	[DEBUG]	Load a row
2023-10-13	12:58:25	2075	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:25	2075	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:25	2075	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:25	2075	[DEBUG]	Executed store
2023-10-13	12:58:25	2075	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:25	2075	[DEBUG]	Manufacturer exists
2023-10-13	12:58:25	2075	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:25	2075	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:25	2075	[DEBUG]	Executed store
2023-10-13	12:58:25	2075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861567','32')
2023-10-13	12:58:25	2075	[DEBUG]	Find the custom field ID
2023-10-13	12:58:25	2075	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:25	2075	[DEBUG]	No custom field ID found
2023-10-13	12:58:25	2075	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:25	2075	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	12:58:25	2075	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861567 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:25	2075	[DEBUG]	Store custom available field
2023-10-13	12:58:25	2075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861567,3,'49.7613888888889',1)
2023-10-13	12:58:25	2075	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:25	2075	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:25	2075	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861567 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:25	2075	[DEBUG]	Store custom available field
2023-10-13	12:58:25	2075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861567,6,'choisir la taille',3)
2023-10-13	12:58:25	2075	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:25	2075	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:25	2075	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:25	2075	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:25	2075	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861567 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:25	2075	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:25	2075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861567,8,1)
2023-10-13	12:58:25	2075	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:25	2075	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861567\":[1861567,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861567
2023-10-13	12:58:25	2075	[DEBUG]	Checking category
2023-10-13	12:58:25	2075	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:25	2075	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861567
2023-10-13	12:58:25	2075	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:25	2075	[DEBUG]	Executed store
2023-10-13	12:58:25	2075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861567','7337')
2023-10-13	12:58:25	2075	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:25	2075	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861567 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:25	2075	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:25	2075	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861567
2023-10-13	12:58:25	2076	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:25	2076	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:25	2076	[DEBUG]	Use field value for field taille
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:25	2076	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:25	2076	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:25	2076	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:25	2076	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:25	2076	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:25	2076	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:25	2076	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:25	2076	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:25	2076	[DEBUG]	Use field value for field published
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:25	2076	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field override
2023-10-13	12:58:25	2076	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:25	2076	[DEBUG]	Use field value for field slug
2023-10-13	12:58:25	2076	[DEBUG]	Process line 2076
2023-10-13	12:58:25	2076	[DEBUG]	Load a row
2023-10-13	12:58:25	2076	[DEBUG]	Processing item: 1000000039528
2023-10-13	12:58:25	2076	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:25	2076	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:25	2076	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1522_40'
2023-10-13	12:58:25	2076	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:25	2076	[DEBUG]	Processing product tax
2023-10-13	12:58:25	2076	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:25	2076	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:25	2076	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:25	2076	[DEBUG]	Query for Product
2023-10-13	12:58:25	2076	[DEBUG]	Executed store
2023-10-13	12:58:25	2076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861567','1000000039528','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:25	2076	[DEBUG]	No parent found
2023-10-13	12:58:25	2076	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861567 AND customfield_value = 'stockable'
2023-10-13	12:58:25	2076	[DEBUG]	Check product language entry
2023-10-13	12:58:25	2076	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861568
2023-10-13	12:58:25	2076	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:25	2076	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000039528' AND `virtuemart_product_id` != 1861568
2023-10-13	12:58:25	2076	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:25	2076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861568, '1000000039528')
2023-10-13	12:58:25	2076	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:25	2076	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-vert-unitaire' AND `virtuemart_product_id` != 1861568
2023-10-13	12:58:25	2076	[DEBUG]	Query for ProductLang
2023-10-13	12:58:25	2076	[DEBUG]	Executed store
2023-10-13	12:58:25	2076	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Disque frein MSC Ultrlalight Acier 180 mm. 1.8mm  / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-frein-msc-ultrlalight-acier-180-mm-1-8mm-vert-unitaire' WHERE `virtuemart_product_id` = '1861568'
2023-10-13	12:58:25	2076	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_8964.jpg
2023-10-13	12:58:25	2076	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:25	2076	[DEBUG]	Process image file
2023-10-13	12:58:25	2076	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	12:58:25	2076	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:25	2076	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_8964.jpg
2023-10-13	12:58:25	2076	[DEBUG]	Full name target: bcprisme/image_8964.jpg
2023-10-13	12:58:26	2076	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:26	2076	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_8964.jpg'
2023-10-13	12:58:26	2076	[DEBUG]	Query for Media
2023-10-13	12:58:26	2076	[DEBUG]	Executed store
2023-10-13	12:58:26	2076	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_8964.jpg',`file_url_thumb`='bcprisme/image_8964.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12744'
2023-10-13	12:58:26	2076	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:26	2076	[DEBUG]	Executed store
2023-10-13	12:58:26	2076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861568','12744','1')
2023-10-13	12:58:26	2076	[DEBUG]	Store product image relation
2023-10-13	12:58:26	2076	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:26	2076	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861568 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:26	2076	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:26	2076	[DEBUG]	Executed store
2023-10-13	12:58:26	2076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861568','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:26	2076	[DEBUG]	Checking manufacturer
2023-10-13	12:58:26	2076	[DEBUG]	Load a row
2023-10-13	12:58:26	2076	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:26	2076	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:26	2076	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:26	2076	[DEBUG]	Executed store
2023-10-13	12:58:26	2076	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:26	2076	[DEBUG]	Manufacturer exists
2023-10-13	12:58:26	2076	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:26	2076	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:26	2076	[DEBUG]	Executed store
2023-10-13	12:58:26	2076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861568','32')
2023-10-13	12:58:26	2076	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:26	2076	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:26	2076	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861568 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:26	2076	[DEBUG]	Store custom available field
2023-10-13	12:58:26	2076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861568,3,'',1)
2023-10-13	12:58:26	2076	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:26	2076	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:26	2076	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861568 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:26	2076	[DEBUG]	Store custom available field
2023-10-13	12:58:26	2076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861568,6,'Unitaire',3)
2023-10-13	12:58:26	2076	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:26	2076	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:26	2076	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861567
2023-10-13	12:58:26	2076	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:26	2076	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861567\":[1861567,8,1,\"choisir la taille\"],\"1861568\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861567
2023-10-13	12:58:26	2076	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:26	2076	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861568
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:26	2077	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field taille
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:26	2077	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:26	2077	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:26	2077	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:26	2077	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:26	2077	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:26	2077	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field published
2023-10-13	12:58:26	2077	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:26	2077	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field override
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:26	2077	[DEBUG]	Use field value for field slug
2023-10-13	12:58:26	2077	[DEBUG]	Process line 2077
2023-10-13	12:58:26	2077	[DEBUG]	Load a row
2023-10-13	12:58:26	2077	[DEBUG]	Processing item: A_4777_1
2023-10-13	12:58:26	2077	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:26	2077	[DEBUG]	Processing product tax
2023-10-13	12:58:26	2077	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:26	2077	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:26	2077	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:26	2077	[DEBUG]	Query for Product
2023-10-13	12:58:26	2077	[DEBUG]	Executed store
2023-10-13	12:58:26	2077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4777_1','0.0855','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:26	2077	[DEBUG]	Check product language entry
2023-10-13	12:58:26	2077	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861569
2023-10-13	12:58:26	2077	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:26	2077	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4777_1' AND `virtuemart_product_id` != 1861569
2023-10-13	12:58:26	2077	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:26	2077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861569, 'A_4777_1')
2023-10-13	12:58:26	2077	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:26	2077	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-de-freins-msc-mao-ceramiquesflottant-160-mm-noir' AND `virtuemart_product_id` != 1861569
2023-10-13	12:58:26	2077	[DEBUG]	Query for ProductLang
2023-10-13	12:58:26	2077	[DEBUG]	Executed store
2023-10-13	12:58:26	2077	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Aluminium 7075, ATTENTION !!! compatible uniquement avec plaquettes organiques, traitement MAO (céramique), 80 gr. disque flottant, très longue durée de vie, très endurant<br>Freinage bruyant<br>N° art fourn : CEFLOATINGBK160',`product_name`='MSC DISQUE DE FREINS MSC MAO CERAMIQUESFLOTTANT 160 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-de-freins-msc-mao-ceramiquesflottant-160-mm-noir' WHERE `virtuemart_product_id` = '1861569'
2023-10-13	12:58:26	2077	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28129_disque_de_freins_msc_mao_flottant_160_mm.jpg
2023-10-13	12:58:26	2077	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:26	2077	[DEBUG]	Process image file
2023-10-13	12:58:26	2077	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:26	2077	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:26	2077	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28129_disque_de_freins_msc_mao_flottant_160_mm.jpg
2023-10-13	12:58:26	2077	[DEBUG]	Full name target: bcprisme/28129_disque_de_freins_msc_mao_flottant_160_mm.jpg
2023-10-13	12:58:27	2077	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:27	2077	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28129_disque_de_freins_msc_mao_flottant_160_mm.jpg'
2023-10-13	12:58:27	2077	[DEBUG]	Query for Media
2023-10-13	12:58:27	2077	[DEBUG]	Executed store
2023-10-13	12:58:27	2077	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28129_disque_de_freins_msc_mao_flottant_160_mm.jpg',`file_url_thumb`='bcprisme/28129_disque_de_freins_msc_mao_flottant_160_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12745'
2023-10-13	12:58:27	2077	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:27	2077	[DEBUG]	Executed store
2023-10-13	12:58:27	2077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861569','12745','1')
2023-10-13	12:58:27	2077	[DEBUG]	Store product image relation
2023-10-13	12:58:27	2077	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:27	2077	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861569 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:27	2077	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:27	2077	[DEBUG]	Executed store
2023-10-13	12:58:27	2077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861569','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:27	2077	[DEBUG]	Checking manufacturer
2023-10-13	12:58:27	2077	[DEBUG]	Load a row
2023-10-13	12:58:27	2077	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:27	2077	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:27	2077	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:27	2077	[DEBUG]	Executed store
2023-10-13	12:58:27	2077	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:27	2077	[DEBUG]	Manufacturer exists
2023-10-13	12:58:27	2077	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:27	2077	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:27	2077	[DEBUG]	Executed store
2023-10-13	12:58:27	2077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861569','32')
2023-10-13	12:58:27	2077	[DEBUG]	Find the custom field ID
2023-10-13	12:58:27	2077	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:27	2077	[DEBUG]	No custom field ID found
2023-10-13	12:58:27	2077	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:27	2077	[DEBUG]	Get existing row with customfield value 89.9
2023-10-13	12:58:27	2077	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861569 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:27	2077	[DEBUG]	Store custom available field
2023-10-13	12:58:27	2077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861569,3,'89.9',1)
2023-10-13	12:58:27	2077	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:27	2077	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:27	2077	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861569 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:27	2077	[DEBUG]	Store custom available field
2023-10-13	12:58:27	2077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861569,6,'choisir la taille',3)
2023-10-13	12:58:27	2077	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:27	2077	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:27	2077	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:27	2077	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:27	2077	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861569 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:27	2077	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:27	2077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861569,8,1)
2023-10-13	12:58:27	2077	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:27	2077	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861569\":[1861569,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861569
2023-10-13	12:58:27	2077	[DEBUG]	Checking category
2023-10-13	12:58:27	2077	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:27	2077	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861569
2023-10-13	12:58:27	2077	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:27	2077	[DEBUG]	Executed store
2023-10-13	12:58:27	2077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861569','7337')
2023-10-13	12:58:27	2077	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:27	2077	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861569 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:27	2077	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:27	2077	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861569
2023-10-13	12:58:27	2078	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:27	2078	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:27	2078	[DEBUG]	Use field value for field taille
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:27	2078	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:27	2078	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:27	2078	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:27	2078	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:27	2078	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:27	2078	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:27	2078	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:27	2078	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:27	2078	[DEBUG]	Use field value for field published
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:27	2078	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field override
2023-10-13	12:58:27	2078	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:27	2078	[DEBUG]	Use field value for field slug
2023-10-13	12:58:27	2078	[DEBUG]	Process line 2078
2023-10-13	12:58:27	2078	[DEBUG]	Load a row
2023-10-13	12:58:27	2078	[DEBUG]	Processing item: 8435466213411
2023-10-13	12:58:27	2078	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:27	2078	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:27	2078	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4777_1'
2023-10-13	12:58:27	2078	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:27	2078	[DEBUG]	Processing product tax
2023-10-13	12:58:27	2078	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:27	2078	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:27	2078	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:27	2078	[DEBUG]	Query for Product
2023-10-13	12:58:27	2078	[DEBUG]	Executed store
2023-10-13	12:58:27	2078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861569','8435466213411','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:27	2078	[DEBUG]	No parent found
2023-10-13	12:58:27	2078	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861569 AND customfield_value = 'stockable'
2023-10-13	12:58:27	2078	[DEBUG]	Check product language entry
2023-10-13	12:58:27	2078	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861570
2023-10-13	12:58:27	2078	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:27	2078	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213411' AND `virtuemart_product_id` != 1861570
2023-10-13	12:58:27	2078	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:27	2078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861570, '8435466213411')
2023-10-13	12:58:27	2078	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:27	2078	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-de-freins-msc-mao-ceramiquesflottant-160-mm-noir-unitaire' AND `virtuemart_product_id` != 1861570
2023-10-13	12:58:27	2078	[DEBUG]	Query for ProductLang
2023-10-13	12:58:27	2078	[DEBUG]	Executed store
2023-10-13	12:58:27	2078	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC DISQUE DE FREINS MSC MAO CERAMIQUESFLOTTANT 160 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-de-freins-msc-mao-ceramiquesflottant-160-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861570'
2023-10-13	12:58:27	2078	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28129_disque_de_freins_msc_mao_flottant_160_mm.jpg
2023-10-13	12:58:27	2078	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:27	2078	[DEBUG]	Process image file
2023-10-13	12:58:27	2078	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:27	2078	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:27	2078	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28129_disque_de_freins_msc_mao_flottant_160_mm.jpg
2023-10-13	12:58:27	2078	[DEBUG]	Full name target: bcprisme/28129_disque_de_freins_msc_mao_flottant_160_mm.jpg
2023-10-13	12:58:28	2078	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:28	2078	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28129_disque_de_freins_msc_mao_flottant_160_mm.jpg'
2023-10-13	12:58:28	2078	[DEBUG]	Query for Media
2023-10-13	12:58:28	2078	[DEBUG]	Executed store
2023-10-13	12:58:28	2078	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28129_disque_de_freins_msc_mao_flottant_160_mm.jpg',`file_url_thumb`='bcprisme/28129_disque_de_freins_msc_mao_flottant_160_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12745'
2023-10-13	12:58:28	2078	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:28	2078	[DEBUG]	Executed store
2023-10-13	12:58:28	2078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861570','12745','1')
2023-10-13	12:58:28	2078	[DEBUG]	Store product image relation
2023-10-13	12:58:28	2078	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:28	2078	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861570 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:28	2078	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:28	2078	[DEBUG]	Executed store
2023-10-13	12:58:28	2078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861570','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:28	2078	[DEBUG]	Checking manufacturer
2023-10-13	12:58:28	2078	[DEBUG]	Load a row
2023-10-13	12:58:28	2078	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:28	2078	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:28	2078	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:28	2078	[DEBUG]	Executed store
2023-10-13	12:58:28	2078	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:28	2078	[DEBUG]	Manufacturer exists
2023-10-13	12:58:28	2078	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:28	2078	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:28	2078	[DEBUG]	Executed store
2023-10-13	12:58:28	2078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861570','32')
2023-10-13	12:58:28	2078	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:28	2078	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:28	2078	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861570 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:28	2078	[DEBUG]	Store custom available field
2023-10-13	12:58:28	2078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861570,3,'',1)
2023-10-13	12:58:28	2078	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:28	2078	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:28	2078	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861570 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:28	2078	[DEBUG]	Store custom available field
2023-10-13	12:58:28	2078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861570,6,'Unitaire',3)
2023-10-13	12:58:28	2078	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:28	2078	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:28	2078	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861569
2023-10-13	12:58:28	2078	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:28	2078	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861569\":[1861569,8,1,\"choisir la taille\"],\"1861570\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861569
2023-10-13	12:58:28	2078	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:28	2078	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861570
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:28	2079	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field taille
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:28	2079	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:28	2079	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:28	2079	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:28	2079	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:28	2079	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:28	2079	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field published
2023-10-13	12:58:28	2079	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:28	2079	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field override
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:28	2079	[DEBUG]	Use field value for field slug
2023-10-13	12:58:28	2079	[DEBUG]	Process line 2079
2023-10-13	12:58:28	2079	[DEBUG]	Load a row
2023-10-13	12:58:28	2079	[DEBUG]	Processing item: A_4778_1
2023-10-13	12:58:28	2079	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:28	2079	[DEBUG]	Processing product tax
2023-10-13	12:58:28	2079	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:28	2079	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:28	2079	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:28	2079	[DEBUG]	Query for Product
2023-10-13	12:58:28	2079	[DEBUG]	Executed store
2023-10-13	12:58:28	2079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4778_1','0.0855','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:28	2079	[DEBUG]	Check product language entry
2023-10-13	12:58:28	2079	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861571
2023-10-13	12:58:28	2079	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:28	2079	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4778_1' AND `virtuemart_product_id` != 1861571
2023-10-13	12:58:28	2079	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:28	2079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861571, 'A_4778_1')
2023-10-13	12:58:28	2079	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:28	2079	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-de-freins-msc-flottant-160-mm-noir' AND `virtuemart_product_id` != 1861571
2023-10-13	12:58:28	2079	[DEBUG]	Query for ProductLang
2023-10-13	12:58:28	2079	[DEBUG]	Executed store
2023-10-13	12:58:28	2079	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Aluminium 7075, compatible avec plaquettes organique,  disque flottant<br>N° art fourn : FLOATINGBK160',`product_name`='MSC DISQUE DE FREINS MSC FLOTTANT 160 MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-de-freins-msc-flottant-160-mm-noir' WHERE `virtuemart_product_id` = '1861571'
2023-10-13	12:58:28	2079	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28130_disque_de_freins_msc_flottant_160_mm.jpg
2023-10-13	12:58:28	2079	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:28	2079	[DEBUG]	Process image file
2023-10-13	12:58:28	2079	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:28	2079	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:28	2079	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28130_disque_de_freins_msc_flottant_160_mm.jpg
2023-10-13	12:58:28	2079	[DEBUG]	Full name target: bcprisme/28130_disque_de_freins_msc_flottant_160_mm.jpg
2023-10-13	12:58:29	2079	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:29	2079	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28130_disque_de_freins_msc_flottant_160_mm.jpg'
2023-10-13	12:58:29	2079	[DEBUG]	Query for Media
2023-10-13	12:58:29	2079	[DEBUG]	Executed store
2023-10-13	12:58:29	2079	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28130_disque_de_freins_msc_flottant_160_mm.jpg',`file_url_thumb`='bcprisme/28130_disque_de_freins_msc_flottant_160_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12746'
2023-10-13	12:58:29	2079	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:29	2079	[DEBUG]	Executed store
2023-10-13	12:58:29	2079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861571','12746','1')
2023-10-13	12:58:29	2079	[DEBUG]	Store product image relation
2023-10-13	12:58:29	2079	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:29	2079	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861571 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:29	2079	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:29	2079	[DEBUG]	Executed store
2023-10-13	12:58:29	2079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861571','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:29	2079	[DEBUG]	Checking manufacturer
2023-10-13	12:58:29	2079	[DEBUG]	Load a row
2023-10-13	12:58:29	2079	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:29	2079	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:29	2079	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:29	2079	[DEBUG]	Executed store
2023-10-13	12:58:29	2079	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:29	2079	[DEBUG]	Manufacturer exists
2023-10-13	12:58:29	2079	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:29	2079	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:29	2079	[DEBUG]	Executed store
2023-10-13	12:58:29	2079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861571','32')
2023-10-13	12:58:29	2079	[DEBUG]	Find the custom field ID
2023-10-13	12:58:29	2079	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:29	2079	[DEBUG]	No custom field ID found
2023-10-13	12:58:29	2079	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:29	2079	[DEBUG]	Get existing row with customfield value 59.9
2023-10-13	12:58:29	2079	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861571 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:29	2079	[DEBUG]	Store custom available field
2023-10-13	12:58:29	2079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861571,3,'59.9',1)
2023-10-13	12:58:29	2079	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:29	2079	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:29	2079	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861571 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:29	2079	[DEBUG]	Store custom available field
2023-10-13	12:58:29	2079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861571,6,'choisir la taille',3)
2023-10-13	12:58:29	2079	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:29	2079	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:29	2079	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:29	2079	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:29	2079	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861571 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:29	2079	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:29	2079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861571,8,1)
2023-10-13	12:58:29	2079	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:29	2079	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861571\":[1861571,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861571
2023-10-13	12:58:29	2079	[DEBUG]	Checking category
2023-10-13	12:58:29	2079	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:29	2079	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861571
2023-10-13	12:58:29	2079	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:29	2079	[DEBUG]	Executed store
2023-10-13	12:58:29	2079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861571','7337')
2023-10-13	12:58:29	2079	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:29	2079	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861571 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:29	2079	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:29	2079	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861571
2023-10-13	12:58:29	2080	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:29	2080	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:29	2080	[DEBUG]	Use field value for field taille
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:29	2080	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:29	2080	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:29	2080	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:29	2080	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:29	2080	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:29	2080	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:29	2080	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:29	2080	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:29	2080	[DEBUG]	Use field value for field published
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:29	2080	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field override
2023-10-13	12:58:29	2080	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:29	2080	[DEBUG]	Use field value for field slug
2023-10-13	12:58:29	2080	[DEBUG]	Process line 2080
2023-10-13	12:58:29	2080	[DEBUG]	Load a row
2023-10-13	12:58:29	2080	[DEBUG]	Processing item: 8435466213428
2023-10-13	12:58:29	2080	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:29	2080	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:29	2080	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4778_1'
2023-10-13	12:58:29	2080	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:29	2080	[DEBUG]	Processing product tax
2023-10-13	12:58:29	2080	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:29	2080	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:29	2080	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:29	2080	[DEBUG]	Query for Product
2023-10-13	12:58:29	2080	[DEBUG]	Executed store
2023-10-13	12:58:29	2080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861571','8435466213428','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:29	2080	[DEBUG]	No parent found
2023-10-13	12:58:29	2080	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861571 AND customfield_value = 'stockable'
2023-10-13	12:58:29	2080	[DEBUG]	Check product language entry
2023-10-13	12:58:29	2080	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861572
2023-10-13	12:58:29	2080	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:29	2080	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213428' AND `virtuemart_product_id` != 1861572
2023-10-13	12:58:29	2080	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:29	2080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861572, '8435466213428')
2023-10-13	12:58:29	2080	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:29	2080	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-de-freins-msc-flottant-160-mm-noir-unitaire' AND `virtuemart_product_id` != 1861572
2023-10-13	12:58:29	2080	[DEBUG]	Query for ProductLang
2023-10-13	12:58:29	2080	[DEBUG]	Executed store
2023-10-13	12:58:29	2080	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC DISQUE DE FREINS MSC FLOTTANT 160 MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-de-freins-msc-flottant-160-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861572'
2023-10-13	12:58:29	2080	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28130_disque_de_freins_msc_flottant_160_mm.jpg
2023-10-13	12:58:29	2080	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:29	2080	[DEBUG]	Process image file
2023-10-13	12:58:29	2080	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:29	2080	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:29	2080	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28130_disque_de_freins_msc_flottant_160_mm.jpg
2023-10-13	12:58:29	2080	[DEBUG]	Full name target: bcprisme/28130_disque_de_freins_msc_flottant_160_mm.jpg
2023-10-13	12:58:30	2080	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:30	2080	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28130_disque_de_freins_msc_flottant_160_mm.jpg'
2023-10-13	12:58:30	2080	[DEBUG]	Query for Media
2023-10-13	12:58:30	2080	[DEBUG]	Executed store
2023-10-13	12:58:30	2080	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28130_disque_de_freins_msc_flottant_160_mm.jpg',`file_url_thumb`='bcprisme/28130_disque_de_freins_msc_flottant_160_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12746'
2023-10-13	12:58:30	2080	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:30	2080	[DEBUG]	Executed store
2023-10-13	12:58:30	2080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861572','12746','1')
2023-10-13	12:58:30	2080	[DEBUG]	Store product image relation
2023-10-13	12:58:30	2080	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:30	2080	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861572 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:30	2080	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:30	2080	[DEBUG]	Executed store
2023-10-13	12:58:30	2080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861572','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:30	2080	[DEBUG]	Checking manufacturer
2023-10-13	12:58:30	2080	[DEBUG]	Load a row
2023-10-13	12:58:30	2080	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:30	2080	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:30	2080	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:30	2080	[DEBUG]	Executed store
2023-10-13	12:58:30	2080	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:30	2080	[DEBUG]	Manufacturer exists
2023-10-13	12:58:30	2080	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:30	2080	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:30	2080	[DEBUG]	Executed store
2023-10-13	12:58:30	2080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861572','32')
2023-10-13	12:58:30	2080	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:30	2080	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:30	2080	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861572 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:30	2080	[DEBUG]	Store custom available field
2023-10-13	12:58:30	2080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861572,3,'',1)
2023-10-13	12:58:30	2080	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:30	2080	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:30	2080	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861572 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:30	2080	[DEBUG]	Store custom available field
2023-10-13	12:58:30	2080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861572,6,'Unitaire',3)
2023-10-13	12:58:30	2080	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:30	2080	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:30	2080	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861571
2023-10-13	12:58:30	2080	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:30	2080	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861571\":[1861571,8,1,\"choisir la taille\"],\"1861572\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861571
2023-10-13	12:58:30	2080	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:30	2080	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861572
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:30	2081	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field taille
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:30	2081	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:30	2081	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:30	2081	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:30	2081	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:30	2081	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:30	2081	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field published
2023-10-13	12:58:30	2081	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:30	2081	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field override
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:30	2081	[DEBUG]	Use field value for field slug
2023-10-13	12:58:30	2081	[DEBUG]	Process line 2081
2023-10-13	12:58:30	2081	[DEBUG]	Load a row
2023-10-13	12:58:30	2081	[DEBUG]	Processing item: A_4779_1
2023-10-13	12:58:30	2081	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:30	2081	[DEBUG]	Processing product tax
2023-10-13	12:58:30	2081	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:30	2081	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:30	2081	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:30	2081	[DEBUG]	Query for Product
2023-10-13	12:58:30	2081	[DEBUG]	Executed store
2023-10-13	12:58:30	2081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4779_1','0.0855','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:30	2081	[DEBUG]	Check product language entry
2023-10-13	12:58:30	2081	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861573
2023-10-13	12:58:30	2081	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:30	2081	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4779_1' AND `virtuemart_product_id` != 1861573
2023-10-13	12:58:30	2081	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:30	2081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861573, 'A_4779_1')
2023-10-13	12:58:30	2081	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:30	2081	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-de-freins-msc-flottant-180-mm-noir' AND `virtuemart_product_id` != 1861573
2023-10-13	12:58:30	2081	[DEBUG]	Query for ProductLang
2023-10-13	12:58:30	2081	[DEBUG]	Executed store
2023-10-13	12:58:30	2081	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Aluminium 7075, compatible avec plaquettes organique,  disque flottant<br>N° art fourn : FLOATINGBK180',`product_name`='MSC DISQUE DE FREINS MSC FLOTTANT 180 MM  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-de-freins-msc-flottant-180-mm-noir' WHERE `virtuemart_product_id` = '1861573'
2023-10-13	12:58:30	2081	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28131_disque_de_freins_msc_flottant_180_mm_.jpg
2023-10-13	12:58:30	2081	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:30	2081	[DEBUG]	Process image file
2023-10-13	12:58:30	2081	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:30	2081	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:30	2081	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28131_disque_de_freins_msc_flottant_180_mm_.jpg
2023-10-13	12:58:30	2081	[DEBUG]	Full name target: bcprisme/28131_disque_de_freins_msc_flottant_180_mm_.jpg
2023-10-13	12:58:31	2081	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:31	2081	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28131_disque_de_freins_msc_flottant_180_mm_.jpg'
2023-10-13	12:58:31	2081	[DEBUG]	Query for Media
2023-10-13	12:58:31	2081	[DEBUG]	Executed store
2023-10-13	12:58:31	2081	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28131_disque_de_freins_msc_flottant_180_mm_.jpg',`file_url_thumb`='bcprisme/28131_disque_de_freins_msc_flottant_180_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12747'
2023-10-13	12:58:31	2081	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:31	2081	[DEBUG]	Executed store
2023-10-13	12:58:31	2081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861573','12747','1')
2023-10-13	12:58:31	2081	[DEBUG]	Store product image relation
2023-10-13	12:58:31	2081	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:31	2081	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861573 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:31	2081	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:31	2081	[DEBUG]	Executed store
2023-10-13	12:58:31	2081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861573','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:31	2081	[DEBUG]	Checking manufacturer
2023-10-13	12:58:31	2081	[DEBUG]	Load a row
2023-10-13	12:58:31	2081	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:31	2081	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:31	2081	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:31	2081	[DEBUG]	Executed store
2023-10-13	12:58:31	2081	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:31	2081	[DEBUG]	Manufacturer exists
2023-10-13	12:58:31	2081	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:31	2081	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:31	2081	[DEBUG]	Executed store
2023-10-13	12:58:31	2081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861573','32')
2023-10-13	12:58:31	2081	[DEBUG]	Find the custom field ID
2023-10-13	12:58:31	2081	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:31	2081	[DEBUG]	No custom field ID found
2023-10-13	12:58:31	2081	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:31	2081	[DEBUG]	Get existing row with customfield value 79.9
2023-10-13	12:58:31	2081	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861573 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:31	2081	[DEBUG]	Store custom available field
2023-10-13	12:58:31	2081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861573,3,'79.9',1)
2023-10-13	12:58:31	2081	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:31	2081	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:31	2081	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861573 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:31	2081	[DEBUG]	Store custom available field
2023-10-13	12:58:31	2081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861573,6,'choisir la taille',3)
2023-10-13	12:58:31	2081	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:31	2081	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:31	2081	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:31	2081	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:31	2081	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861573 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:31	2081	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:31	2081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861573,8,1)
2023-10-13	12:58:31	2081	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:31	2081	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861573\":[1861573,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861573
2023-10-13	12:58:31	2081	[DEBUG]	Checking category
2023-10-13	12:58:31	2081	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:31	2081	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861573
2023-10-13	12:58:31	2081	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:31	2081	[DEBUG]	Executed store
2023-10-13	12:58:31	2081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861573','7337')
2023-10-13	12:58:31	2081	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:31	2081	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861573 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:31	2081	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:31	2081	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861573
2023-10-13	12:58:31	2082	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:31	2082	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:31	2082	[DEBUG]	Use field value for field taille
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:31	2082	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:31	2082	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:31	2082	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:31	2082	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:31	2082	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:31	2082	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:31	2082	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:31	2082	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:31	2082	[DEBUG]	Use field value for field published
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:31	2082	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field override
2023-10-13	12:58:31	2082	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:31	2082	[DEBUG]	Use field value for field slug
2023-10-13	12:58:31	2082	[DEBUG]	Process line 2082
2023-10-13	12:58:31	2082	[DEBUG]	Load a row
2023-10-13	12:58:31	2082	[DEBUG]	Processing item: 8435466213473
2023-10-13	12:58:31	2082	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:31	2082	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:31	2082	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4779_1'
2023-10-13	12:58:31	2082	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:31	2082	[DEBUG]	Processing product tax
2023-10-13	12:58:31	2082	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:31	2082	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:31	2082	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:31	2082	[DEBUG]	Query for Product
2023-10-13	12:58:31	2082	[DEBUG]	Executed store
2023-10-13	12:58:31	2082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861573','8435466213473','0','KG','M','','17','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:31	2082	[DEBUG]	No parent found
2023-10-13	12:58:31	2082	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861573 AND customfield_value = 'stockable'
2023-10-13	12:58:31	2082	[DEBUG]	Check product language entry
2023-10-13	12:58:31	2082	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861574
2023-10-13	12:58:31	2082	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:31	2082	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213473' AND `virtuemart_product_id` != 1861574
2023-10-13	12:58:31	2082	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:31	2082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861574, '8435466213473')
2023-10-13	12:58:31	2082	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:31	2082	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-de-freins-msc-flottant-180-mm-noir-unitaire' AND `virtuemart_product_id` != 1861574
2023-10-13	12:58:31	2082	[DEBUG]	Query for ProductLang
2023-10-13	12:58:31	2082	[DEBUG]	Executed store
2023-10-13	12:58:31	2082	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC DISQUE DE FREINS MSC FLOTTANT 180 MM  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-de-freins-msc-flottant-180-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861574'
2023-10-13	12:58:31	2082	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28131_disque_de_freins_msc_flottant_180_mm_.jpg
2023-10-13	12:58:31	2082	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:31	2082	[DEBUG]	Process image file
2023-10-13	12:58:31	2082	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:31	2082	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:31	2082	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28131_disque_de_freins_msc_flottant_180_mm_.jpg
2023-10-13	12:58:31	2082	[DEBUG]	Full name target: bcprisme/28131_disque_de_freins_msc_flottant_180_mm_.jpg
2023-10-13	12:58:32	2082	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:32	2082	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28131_disque_de_freins_msc_flottant_180_mm_.jpg'
2023-10-13	12:58:32	2082	[DEBUG]	Query for Media
2023-10-13	12:58:32	2082	[DEBUG]	Executed store
2023-10-13	12:58:32	2082	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28131_disque_de_freins_msc_flottant_180_mm_.jpg',`file_url_thumb`='bcprisme/28131_disque_de_freins_msc_flottant_180_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12747'
2023-10-13	12:58:32	2082	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:32	2082	[DEBUG]	Executed store
2023-10-13	12:58:32	2082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861574','12747','1')
2023-10-13	12:58:32	2082	[DEBUG]	Store product image relation
2023-10-13	12:58:32	2082	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:32	2082	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861574 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:32	2082	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:32	2082	[DEBUG]	Executed store
2023-10-13	12:58:32	2082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861574','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:32	2082	[DEBUG]	Checking manufacturer
2023-10-13	12:58:32	2082	[DEBUG]	Load a row
2023-10-13	12:58:32	2082	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:32	2082	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:32	2082	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:32	2082	[DEBUG]	Executed store
2023-10-13	12:58:32	2082	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:32	2082	[DEBUG]	Manufacturer exists
2023-10-13	12:58:32	2082	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:32	2082	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:32	2082	[DEBUG]	Executed store
2023-10-13	12:58:32	2082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861574','32')
2023-10-13	12:58:32	2082	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:32	2082	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:32	2082	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861574 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:32	2082	[DEBUG]	Store custom available field
2023-10-13	12:58:32	2082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861574,3,'',1)
2023-10-13	12:58:32	2082	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:32	2082	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:32	2082	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861574 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:32	2082	[DEBUG]	Store custom available field
2023-10-13	12:58:32	2082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861574,6,'Unitaire',3)
2023-10-13	12:58:32	2082	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:32	2082	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:32	2082	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861573
2023-10-13	12:58:32	2082	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:32	2082	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861573\":[1861573,8,1,\"choisir la taille\"],\"1861574\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861573
2023-10-13	12:58:32	2082	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:32	2082	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861574
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:32	2083	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field taille
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:32	2083	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:32	2083	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:32	2083	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:32	2083	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:32	2083	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:32	2083	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field published
2023-10-13	12:58:32	2083	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:32	2083	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field override
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:32	2083	[DEBUG]	Use field value for field slug
2023-10-13	12:58:32	2083	[DEBUG]	Process line 2083
2023-10-13	12:58:32	2083	[DEBUG]	Load a row
2023-10-13	12:58:32	2083	[DEBUG]	Processing item: A_4780_1
2023-10-13	12:58:32	2083	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:32	2083	[DEBUG]	Processing product tax
2023-10-13	12:58:32	2083	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:32	2083	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:32	2083	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:32	2083	[DEBUG]	Query for Product
2023-10-13	12:58:32	2083	[DEBUG]	Executed store
2023-10-13	12:58:32	2083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4780_1','0.0855','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:32	2083	[DEBUG]	Check product language entry
2023-10-13	12:58:32	2083	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861575
2023-10-13	12:58:32	2083	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:32	2083	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4780_1' AND `virtuemart_product_id` != 1861575
2023-10-13	12:58:32	2083	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:32	2083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861575, 'A_4780_1')
2023-10-13	12:58:32	2083	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:32	2083	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-de-freins-msc-flottant-203-mm-noir' AND `virtuemart_product_id` != 1861575
2023-10-13	12:58:32	2083	[DEBUG]	Query for ProductLang
2023-10-13	12:58:32	2083	[DEBUG]	Executed store
2023-10-13	12:58:32	2083	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Aluminium 7075, compatible avec plaquettes organique,  disque flottant<br>N° art fourn : FLOATINGBK203',`product_name`='MSC DISQUE DE FREINS MSC FLOTTANT 203 MM   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-de-freins-msc-flottant-203-mm-noir' WHERE `virtuemart_product_id` = '1861575'
2023-10-13	12:58:32	2083	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28132_disque_de_freins_msc_flottant_203_mm__.jpg
2023-10-13	12:58:32	2083	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:32	2083	[DEBUG]	Process image file
2023-10-13	12:58:32	2083	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:32	2083	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:32	2083	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28132_disque_de_freins_msc_flottant_203_mm__.jpg
2023-10-13	12:58:32	2083	[DEBUG]	Full name target: bcprisme/28132_disque_de_freins_msc_flottant_203_mm__.jpg
2023-10-13	12:58:33	2083	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:33	2083	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28132_disque_de_freins_msc_flottant_203_mm__.jpg'
2023-10-13	12:58:33	2083	[DEBUG]	Query for Media
2023-10-13	12:58:33	2083	[DEBUG]	Executed store
2023-10-13	12:58:33	2083	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28132_disque_de_freins_msc_flottant_203_mm__.jpg',`file_url_thumb`='bcprisme/28132_disque_de_freins_msc_flottant_203_mm__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12748'
2023-10-13	12:58:33	2083	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:33	2083	[DEBUG]	Executed store
2023-10-13	12:58:33	2083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861575','12748','1')
2023-10-13	12:58:33	2083	[DEBUG]	Store product image relation
2023-10-13	12:58:33	2083	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:33	2083	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861575 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:33	2083	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:33	2083	[DEBUG]	Executed store
2023-10-13	12:58:33	2083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861575','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:33	2083	[DEBUG]	Checking manufacturer
2023-10-13	12:58:33	2083	[DEBUG]	Load a row
2023-10-13	12:58:33	2083	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:33	2083	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:33	2083	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:33	2083	[DEBUG]	Executed store
2023-10-13	12:58:33	2083	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:33	2083	[DEBUG]	Manufacturer exists
2023-10-13	12:58:33	2083	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:33	2083	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:33	2083	[DEBUG]	Executed store
2023-10-13	12:58:33	2083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861575','32')
2023-10-13	12:58:33	2083	[DEBUG]	Find the custom field ID
2023-10-13	12:58:33	2083	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:33	2083	[DEBUG]	No custom field ID found
2023-10-13	12:58:33	2083	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:33	2083	[DEBUG]	Get existing row with customfield value 89.9
2023-10-13	12:58:33	2083	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861575 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:33	2083	[DEBUG]	Store custom available field
2023-10-13	12:58:33	2083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861575,3,'89.9',1)
2023-10-13	12:58:33	2083	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:33	2083	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:33	2083	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861575 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:33	2083	[DEBUG]	Store custom available field
2023-10-13	12:58:33	2083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861575,6,'choisir la taille',3)
2023-10-13	12:58:33	2083	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:33	2083	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:33	2083	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:33	2083	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:33	2083	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861575 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:33	2083	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:33	2083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861575,8,1)
2023-10-13	12:58:33	2083	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:33	2083	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861575\":[1861575,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861575
2023-10-13	12:58:33	2083	[DEBUG]	Checking category
2023-10-13	12:58:33	2083	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:33	2083	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861575
2023-10-13	12:58:33	2083	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:34	2083	[DEBUG]	Executed store
2023-10-13	12:58:34	2083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861575','7337')
2023-10-13	12:58:34	2083	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:34	2083	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861575 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:34	2083	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:34	2083	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861575
2023-10-13	12:58:34	2084	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:34	2084	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:34	2084	[DEBUG]	Use field value for field taille
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:34	2084	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:34	2084	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:34	2084	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:34	2084	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:34	2084	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:34	2084	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:34	2084	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:34	2084	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:34	2084	[DEBUG]	Use field value for field published
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:34	2084	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field override
2023-10-13	12:58:34	2084	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:34	2084	[DEBUG]	Use field value for field slug
2023-10-13	12:58:34	2084	[DEBUG]	Process line 2084
2023-10-13	12:58:34	2084	[DEBUG]	Load a row
2023-10-13	12:58:34	2084	[DEBUG]	Processing item: 8435466213527
2023-10-13	12:58:34	2084	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:34	2084	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:34	2084	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4780_1'
2023-10-13	12:58:34	2084	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:34	2084	[DEBUG]	Processing product tax
2023-10-13	12:58:34	2084	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:34	2084	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:34	2084	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:34	2084	[DEBUG]	Query for Product
2023-10-13	12:58:34	2084	[DEBUG]	Executed store
2023-10-13	12:58:34	2084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861575','8435466213527','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:34	2084	[DEBUG]	No parent found
2023-10-13	12:58:34	2084	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861575 AND customfield_value = 'stockable'
2023-10-13	12:58:34	2084	[DEBUG]	Check product language entry
2023-10-13	12:58:34	2084	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861576
2023-10-13	12:58:34	2084	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:34	2084	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213527' AND `virtuemart_product_id` != 1861576
2023-10-13	12:58:34	2084	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:34	2084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861576, '8435466213527')
2023-10-13	12:58:34	2084	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:34	2084	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-disque-de-freins-msc-flottant-203-mm-noir-unitaire' AND `virtuemart_product_id` != 1861576
2023-10-13	12:58:34	2084	[DEBUG]	Query for ProductLang
2023-10-13	12:58:34	2084	[DEBUG]	Executed store
2023-10-13	12:58:34	2084	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC DISQUE DE FREINS MSC FLOTTANT 203 MM   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-disque-de-freins-msc-flottant-203-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861576'
2023-10-13	12:58:34	2084	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28132_disque_de_freins_msc_flottant_203_mm__.jpg
2023-10-13	12:58:34	2084	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:34	2084	[DEBUG]	Process image file
2023-10-13	12:58:34	2084	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:34	2084	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:34	2084	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28132_disque_de_freins_msc_flottant_203_mm__.jpg
2023-10-13	12:58:34	2084	[DEBUG]	Full name target: bcprisme/28132_disque_de_freins_msc_flottant_203_mm__.jpg
2023-10-13	12:58:35	2084	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:35	2084	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28132_disque_de_freins_msc_flottant_203_mm__.jpg'
2023-10-13	12:58:35	2084	[DEBUG]	Query for Media
2023-10-13	12:58:35	2084	[DEBUG]	Executed store
2023-10-13	12:58:35	2084	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28132_disque_de_freins_msc_flottant_203_mm__.jpg',`file_url_thumb`='bcprisme/28132_disque_de_freins_msc_flottant_203_mm__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12748'
2023-10-13	12:58:35	2084	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:35	2084	[DEBUG]	Executed store
2023-10-13	12:58:35	2084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861576','12748','1')
2023-10-13	12:58:35	2084	[DEBUG]	Store product image relation
2023-10-13	12:58:35	2084	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:35	2084	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861576 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:35	2084	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:35	2084	[DEBUG]	Executed store
2023-10-13	12:58:35	2084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861576','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:35	2084	[DEBUG]	Checking manufacturer
2023-10-13	12:58:35	2084	[DEBUG]	Load a row
2023-10-13	12:58:35	2084	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:35	2084	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:35	2084	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:35	2084	[DEBUG]	Executed store
2023-10-13	12:58:35	2084	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	12:58:35	2084	[DEBUG]	Manufacturer exists
2023-10-13	12:58:35	2084	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	12:58:35	2084	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:35	2084	[DEBUG]	Executed store
2023-10-13	12:58:35	2084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861576','32')
2023-10-13	12:58:35	2084	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:35	2084	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:35	2084	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861576 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:35	2084	[DEBUG]	Store custom available field
2023-10-13	12:58:35	2084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861576,3,'',1)
2023-10-13	12:58:35	2084	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:35	2084	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:58:35	2084	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861576 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:35	2084	[DEBUG]	Store custom available field
2023-10-13	12:58:35	2084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861576,6,'Unitaire',3)
2023-10-13	12:58:35	2084	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:35	2084	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:35	2084	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861575
2023-10-13	12:58:35	2084	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:35	2084	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861575\":[1861575,8,1,\"choisir la taille\"],\"1861576\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861575
2023-10-13	12:58:35	2084	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:35	2084	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861576
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:35	2085	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field taille
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:35	2085	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:35	2085	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:35	2085	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:35	2085	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:35	2085	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:35	2085	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field published
2023-10-13	12:58:35	2085	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:35	2085	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field override
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:35	2085	[DEBUG]	Use field value for field slug
2023-10-13	12:58:35	2085	[DEBUG]	Process line 2085
2023-10-13	12:58:35	2085	[DEBUG]	Load a row
2023-10-13	12:58:35	2085	[DEBUG]	Processing item: A_5037_208
2023-10-13	12:58:35	2085	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:35	2085	[DEBUG]	Processing product tax
2023-10-13	12:58:35	2085	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:35	2085	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:35	2085	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:35	2085	[DEBUG]	Query for Product
2023-10-13	12:58:35	2085	[DEBUG]	Executed store
2023-10-13	12:58:35	2085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5037_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:35	2085	[DEBUG]	Check product language entry
2023-10-13	12:58:35	2085	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861577
2023-10-13	12:58:35	2085	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:35	2085	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5037_208' AND `virtuemart_product_id` != 1861577
2023-10-13	12:58:35	2085	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:35	2085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861577, 'A_5037_208')
2023-10-13	12:58:35	2085	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:35	2085	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-sm-rt64-160-mm-center-lock-box-aucune' AND `virtuemart_product_id` != 1861577
2023-10-13	12:58:35	2085	[DEBUG]	Query for ProductLang
2023-10-13	12:58:35	2085	[DEBUG]	Executed store
2023-10-13	12:58:35	2085	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.46342',`product_name`='SHIMANO Disque Deore SM-RT64 160 mm Center Lock  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-sm-rt64-160-mm-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861577'
2023-10-13	12:58:35	2085	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29493_shimano_disque_deore_sm-rt64_160_mm_center_lock__box.jpg
2023-10-13	12:58:35	2085	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:35	2085	[DEBUG]	Process image file
2023-10-13	12:58:35	2085	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:35	2085	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:35	2085	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29493_shimano_disque_deore_sm-rt64_160_mm_center_lock__box.jpg
2023-10-13	12:58:35	2085	[DEBUG]	Full name target: bcprisme/29493_shimano_disque_deore_sm-rt64_160_mm_center_lock__box.jpg
2023-10-13	12:58:36	2085	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:36	2085	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29493_shimano_disque_deore_sm-rt64_160_mm_center_lock__box.jpg'
2023-10-13	12:58:36	2085	[DEBUG]	Query for Media
2023-10-13	12:58:36	2085	[DEBUG]	Executed store
2023-10-13	12:58:36	2085	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29493_shimano_disque_deore_sm-rt64_160_mm_center_lock__box.jpg',`file_url_thumb`='bcprisme/29493_shimano_disque_deore_sm-rt64_160_mm_center_lock__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12749'
2023-10-13	12:58:36	2085	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:36	2085	[DEBUG]	Executed store
2023-10-13	12:58:36	2085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861577','12749','1')
2023-10-13	12:58:36	2085	[DEBUG]	Store product image relation
2023-10-13	12:58:36	2085	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:36	2085	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861577 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:36	2085	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:36	2085	[DEBUG]	Executed store
2023-10-13	12:58:36	2085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861577','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:36	2085	[DEBUG]	Checking manufacturer
2023-10-13	12:58:36	2085	[DEBUG]	Load a row
2023-10-13	12:58:36	2085	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:36	2085	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:36	2085	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:36	2085	[DEBUG]	Executed store
2023-10-13	12:58:36	2085	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:36	2085	[DEBUG]	Manufacturer exists
2023-10-13	12:58:36	2085	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:36	2085	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:36	2085	[DEBUG]	Executed store
2023-10-13	12:58:36	2085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861577','26')
2023-10-13	12:58:36	2085	[DEBUG]	Find the custom field ID
2023-10-13	12:58:36	2085	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:36	2085	[DEBUG]	No custom field ID found
2023-10-13	12:58:36	2085	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:36	2085	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:58:36	2085	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861577 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:36	2085	[DEBUG]	Store custom available field
2023-10-13	12:58:36	2085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861577,3,'0',1)
2023-10-13	12:58:36	2085	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:36	2085	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:36	2085	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861577 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:36	2085	[DEBUG]	Store custom available field
2023-10-13	12:58:36	2085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861577,6,'choisir la taille',3)
2023-10-13	12:58:36	2085	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:36	2085	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:36	2085	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:36	2085	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:36	2085	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861577 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:36	2085	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:36	2085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861577,8,1)
2023-10-13	12:58:36	2085	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:36	2085	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861577\":[1861577,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861577
2023-10-13	12:58:36	2085	[DEBUG]	Checking category
2023-10-13	12:58:36	2085	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:36	2085	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861577
2023-10-13	12:58:36	2085	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:36	2085	[DEBUG]	Executed store
2023-10-13	12:58:36	2085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861577','7337')
2023-10-13	12:58:36	2085	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:36	2085	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861577 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:36	2085	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:36	2085	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861577
2023-10-13	12:58:36	2086	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:36	2086	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:36	2086	[DEBUG]	Use field value for field taille
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:36	2086	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:36	2086	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:36	2086	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:36	2086	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:36	2086	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:36	2086	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:36	2086	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:36	2086	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:36	2086	[DEBUG]	Use field value for field published
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:36	2086	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field override
2023-10-13	12:58:36	2086	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:36	2086	[DEBUG]	Use field value for field slug
2023-10-13	12:58:36	2086	[DEBUG]	Process line 2086
2023-10-13	12:58:36	2086	[DEBUG]	Load a row
2023-10-13	12:58:36	2086	[DEBUG]	Processing item: 4550170451974
2023-10-13	12:58:36	2086	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:36	2086	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:36	2086	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5037_208'
2023-10-13	12:58:36	2086	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:36	2086	[DEBUG]	Processing product tax
2023-10-13	12:58:36	2086	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:36	2086	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:36	2086	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:36	2086	[DEBUG]	Query for Product
2023-10-13	12:58:36	2086	[DEBUG]	Executed store
2023-10-13	12:58:36	2086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861577','4550170451974','0','KG','M','','11','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:36	2086	[DEBUG]	No parent found
2023-10-13	12:58:36	2086	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861577 AND customfield_value = 'stockable'
2023-10-13	12:58:36	2086	[DEBUG]	Check product language entry
2023-10-13	12:58:36	2086	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861578
2023-10-13	12:58:36	2086	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:36	2086	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170451974' AND `virtuemart_product_id` != 1861578
2023-10-13	12:58:36	2086	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:36	2086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861578, '4550170451974')
2023-10-13	12:58:36	2086	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:36	2086	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-sm-rt64-160-mm-center-lock-box-aucune-all' AND `virtuemart_product_id` != 1861578
2023-10-13	12:58:36	2086	[DEBUG]	Query for ProductLang
2023-10-13	12:58:36	2086	[DEBUG]	Executed store
2023-10-13	12:58:36	2086	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore SM-RT64 160 mm Center Lock  box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-sm-rt64-160-mm-center-lock-box-aucune-all' WHERE `virtuemart_product_id` = '1861578'
2023-10-13	12:58:36	2086	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29493_shimano_disque_deore_sm-rt64_160_mm_center_lock__box.jpg
2023-10-13	12:58:36	2086	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:36	2086	[DEBUG]	Process image file
2023-10-13	12:58:36	2086	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:36	2086	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:36	2086	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29493_shimano_disque_deore_sm-rt64_160_mm_center_lock__box.jpg
2023-10-13	12:58:36	2086	[DEBUG]	Full name target: bcprisme/29493_shimano_disque_deore_sm-rt64_160_mm_center_lock__box.jpg
2023-10-13	12:58:37	2086	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:37	2086	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29493_shimano_disque_deore_sm-rt64_160_mm_center_lock__box.jpg'
2023-10-13	12:58:37	2086	[DEBUG]	Query for Media
2023-10-13	12:58:37	2086	[DEBUG]	Executed store
2023-10-13	12:58:37	2086	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29493_shimano_disque_deore_sm-rt64_160_mm_center_lock__box.jpg',`file_url_thumb`='bcprisme/29493_shimano_disque_deore_sm-rt64_160_mm_center_lock__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12749'
2023-10-13	12:58:37	2086	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:37	2086	[DEBUG]	Executed store
2023-10-13	12:58:37	2086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861578','12749','1')
2023-10-13	12:58:37	2086	[DEBUG]	Store product image relation
2023-10-13	12:58:37	2086	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:37	2086	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861578 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:37	2086	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:37	2086	[DEBUG]	Executed store
2023-10-13	12:58:37	2086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861578','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:37	2086	[DEBUG]	Checking manufacturer
2023-10-13	12:58:37	2086	[DEBUG]	Load a row
2023-10-13	12:58:37	2086	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:37	2086	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:37	2086	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:37	2086	[DEBUG]	Executed store
2023-10-13	12:58:37	2086	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:37	2086	[DEBUG]	Manufacturer exists
2023-10-13	12:58:37	2086	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:37	2086	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:37	2086	[DEBUG]	Executed store
2023-10-13	12:58:37	2086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861578','26')
2023-10-13	12:58:37	2086	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:37	2086	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:37	2086	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861578 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:37	2086	[DEBUG]	Store custom available field
2023-10-13	12:58:37	2086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861578,3,'',1)
2023-10-13	12:58:37	2086	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:37	2086	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:58:37	2086	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861578 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:37	2086	[DEBUG]	Store custom available field
2023-10-13	12:58:37	2086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861578,6,'All',3)
2023-10-13	12:58:37	2086	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:37	2086	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:37	2086	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861577
2023-10-13	12:58:37	2086	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:37	2086	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861577\":[1861577,8,1,\"choisir la taille\"],\"1861578\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861577
2023-10-13	12:58:37	2086	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:37	2086	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861578
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:37	2087	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field taille
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:37	2087	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:37	2087	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:37	2087	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:37	2087	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:37	2087	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:37	2087	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field published
2023-10-13	12:58:37	2087	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:37	2087	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field override
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:37	2087	[DEBUG]	Use field value for field slug
2023-10-13	12:58:37	2087	[DEBUG]	Process line 2087
2023-10-13	12:58:37	2087	[DEBUG]	Load a row
2023-10-13	12:58:37	2087	[DEBUG]	Processing item: A_5038_208
2023-10-13	12:58:37	2087	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:37	2087	[DEBUG]	Processing product tax
2023-10-13	12:58:37	2087	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:37	2087	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:37	2087	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:37	2087	[DEBUG]	Query for Product
2023-10-13	12:58:37	2087	[DEBUG]	Executed store
2023-10-13	12:58:37	2087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5038_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:37	2087	[DEBUG]	Check product language entry
2023-10-13	12:58:37	2087	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861579
2023-10-13	12:58:37	2087	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:37	2087	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5038_208' AND `virtuemart_product_id` != 1861579
2023-10-13	12:58:37	2087	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:37	2087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861579, 'A_5038_208')
2023-10-13	12:58:37	2087	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:37	2087	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-sm-rt64-180-mm-center-lock-box-aucune' AND `virtuemart_product_id` != 1861579
2023-10-13	12:58:37	2087	[DEBUG]	Query for ProductLang
2023-10-13	12:58:37	2087	[DEBUG]	Executed store
2023-10-13	12:58:37	2087	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.46343',`product_name`='SHIMANO Disque Deore SM-RT64 180 mm Center Lock  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-sm-rt64-180-mm-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861579'
2023-10-13	12:58:37	2087	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29494_shimano_disque_deroe_sm-rt64_180_mm_center_lock__box.jpg
2023-10-13	12:58:37	2087	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:37	2087	[DEBUG]	Process image file
2023-10-13	12:58:37	2087	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:37	2087	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:37	2087	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29494_shimano_disque_deroe_sm-rt64_180_mm_center_lock__box.jpg
2023-10-13	12:58:37	2087	[DEBUG]	Full name target: bcprisme/29494_shimano_disque_deroe_sm-rt64_180_mm_center_lock__box.jpg
2023-10-13	12:58:38	2087	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:38	2087	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29494_shimano_disque_deroe_sm-rt64_180_mm_center_lock__box.jpg'
2023-10-13	12:58:38	2087	[DEBUG]	Query for Media
2023-10-13	12:58:38	2087	[DEBUG]	Executed store
2023-10-13	12:58:38	2087	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29494_shimano_disque_deroe_sm-rt64_180_mm_center_lock__box.jpg',`file_url_thumb`='bcprisme/29494_shimano_disque_deroe_sm-rt64_180_mm_center_lock__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12750'
2023-10-13	12:58:38	2087	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:38	2087	[DEBUG]	Executed store
2023-10-13	12:58:38	2087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861579','12750','1')
2023-10-13	12:58:38	2087	[DEBUG]	Store product image relation
2023-10-13	12:58:38	2087	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:38	2087	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861579 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:38	2087	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:38	2087	[DEBUG]	Executed store
2023-10-13	12:58:38	2087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861579','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:38	2087	[DEBUG]	Checking manufacturer
2023-10-13	12:58:38	2087	[DEBUG]	Load a row
2023-10-13	12:58:38	2087	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:38	2087	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:38	2087	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:38	2087	[DEBUG]	Executed store
2023-10-13	12:58:38	2087	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:38	2087	[DEBUG]	Manufacturer exists
2023-10-13	12:58:38	2087	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:38	2087	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:38	2087	[DEBUG]	Executed store
2023-10-13	12:58:38	2087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861579','26')
2023-10-13	12:58:38	2087	[DEBUG]	Find the custom field ID
2023-10-13	12:58:38	2087	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:38	2087	[DEBUG]	No custom field ID found
2023-10-13	12:58:38	2087	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:38	2087	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:58:38	2087	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861579 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:38	2087	[DEBUG]	Store custom available field
2023-10-13	12:58:38	2087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861579,3,'0',1)
2023-10-13	12:58:38	2087	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:38	2087	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:38	2087	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861579 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:38	2087	[DEBUG]	Store custom available field
2023-10-13	12:58:38	2087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861579,6,'choisir la taille',3)
2023-10-13	12:58:38	2087	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:38	2087	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:38	2087	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:38	2087	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:38	2087	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861579 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:38	2087	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:38	2087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861579,8,1)
2023-10-13	12:58:38	2087	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:38	2087	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861579\":[1861579,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861579
2023-10-13	12:58:38	2087	[DEBUG]	Checking category
2023-10-13	12:58:38	2087	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:38	2087	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861579
2023-10-13	12:58:38	2087	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:38	2087	[DEBUG]	Executed store
2023-10-13	12:58:38	2087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861579','7337')
2023-10-13	12:58:38	2087	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:38	2087	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861579 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:38	2087	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:38	2087	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861579
2023-10-13	12:58:38	2088	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:38	2088	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:38	2088	[DEBUG]	Use field value for field taille
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:38	2088	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:38	2088	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:38	2088	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:38	2088	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:38	2088	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:38	2088	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:38	2088	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:38	2088	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:38	2088	[DEBUG]	Use field value for field published
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:38	2088	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field override
2023-10-13	12:58:38	2088	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:38	2088	[DEBUG]	Use field value for field slug
2023-10-13	12:58:38	2088	[DEBUG]	Process line 2088
2023-10-13	12:58:38	2088	[DEBUG]	Load a row
2023-10-13	12:58:38	2088	[DEBUG]	Processing item: 4550170451967
2023-10-13	12:58:38	2088	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:38	2088	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:38	2088	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5038_208'
2023-10-13	12:58:38	2088	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:38	2088	[DEBUG]	Processing product tax
2023-10-13	12:58:38	2088	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:38	2088	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:38	2088	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:38	2088	[DEBUG]	Query for Product
2023-10-13	12:58:38	2088	[DEBUG]	Executed store
2023-10-13	12:58:38	2088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861579','4550170451967','0','KG','M','','13','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:38	2088	[DEBUG]	No parent found
2023-10-13	12:58:38	2088	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861579 AND customfield_value = 'stockable'
2023-10-13	12:58:38	2088	[DEBUG]	Check product language entry
2023-10-13	12:58:38	2088	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861580
2023-10-13	12:58:38	2088	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:38	2088	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170451967' AND `virtuemart_product_id` != 1861580
2023-10-13	12:58:38	2088	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:38	2088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861580, '4550170451967')
2023-10-13	12:58:38	2088	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:38	2088	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-sm-rt64-180-mm-center-lock-box-aucune-all' AND `virtuemart_product_id` != 1861580
2023-10-13	12:58:38	2088	[DEBUG]	Query for ProductLang
2023-10-13	12:58:38	2088	[DEBUG]	Executed store
2023-10-13	12:58:38	2088	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore SM-RT64 180 mm Center Lock  box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-sm-rt64-180-mm-center-lock-box-aucune-all' WHERE `virtuemart_product_id` = '1861580'
2023-10-13	12:58:38	2088	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29494_shimano_disque_deroe_sm-rt64_180_mm_center_lock__box.jpg
2023-10-13	12:58:38	2088	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:38	2088	[DEBUG]	Process image file
2023-10-13	12:58:38	2088	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:38	2088	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:38	2088	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29494_shimano_disque_deroe_sm-rt64_180_mm_center_lock__box.jpg
2023-10-13	12:58:38	2088	[DEBUG]	Full name target: bcprisme/29494_shimano_disque_deroe_sm-rt64_180_mm_center_lock__box.jpg
2023-10-13	12:58:39	2088	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:39	2088	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29494_shimano_disque_deroe_sm-rt64_180_mm_center_lock__box.jpg'
2023-10-13	12:58:39	2088	[DEBUG]	Query for Media
2023-10-13	12:58:39	2088	[DEBUG]	Executed store
2023-10-13	12:58:39	2088	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29494_shimano_disque_deroe_sm-rt64_180_mm_center_lock__box.jpg',`file_url_thumb`='bcprisme/29494_shimano_disque_deroe_sm-rt64_180_mm_center_lock__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12750'
2023-10-13	12:58:39	2088	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:39	2088	[DEBUG]	Executed store
2023-10-13	12:58:39	2088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861580','12750','1')
2023-10-13	12:58:39	2088	[DEBUG]	Store product image relation
2023-10-13	12:58:39	2088	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:39	2088	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861580 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:39	2088	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:39	2088	[DEBUG]	Executed store
2023-10-13	12:58:39	2088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861580','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:39	2088	[DEBUG]	Checking manufacturer
2023-10-13	12:58:39	2088	[DEBUG]	Load a row
2023-10-13	12:58:39	2088	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:39	2088	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:39	2088	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:39	2088	[DEBUG]	Executed store
2023-10-13	12:58:39	2088	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:39	2088	[DEBUG]	Manufacturer exists
2023-10-13	12:58:39	2088	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:39	2088	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:39	2088	[DEBUG]	Executed store
2023-10-13	12:58:39	2088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861580','26')
2023-10-13	12:58:39	2088	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:39	2088	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:39	2088	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861580 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:39	2088	[DEBUG]	Store custom available field
2023-10-13	12:58:39	2088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861580,3,'',1)
2023-10-13	12:58:39	2088	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:39	2088	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:58:39	2088	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861580 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:39	2088	[DEBUG]	Store custom available field
2023-10-13	12:58:39	2088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861580,6,'All',3)
2023-10-13	12:58:39	2088	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:39	2088	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:39	2088	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861579
2023-10-13	12:58:39	2088	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:39	2088	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861579\":[1861579,8,1,\"choisir la taille\"],\"1861580\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861579
2023-10-13	12:58:39	2088	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:39	2088	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861580
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:39	2089	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field taille
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:39	2089	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:39	2089	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:39	2089	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:39	2089	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:39	2089	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:39	2089	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field published
2023-10-13	12:58:39	2089	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:39	2089	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field override
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:39	2089	[DEBUG]	Use field value for field slug
2023-10-13	12:58:39	2089	[DEBUG]	Process line 2089
2023-10-13	12:58:39	2089	[DEBUG]	Load a row
2023-10-13	12:58:39	2089	[DEBUG]	Processing item: A_5039_208
2023-10-13	12:58:39	2089	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:39	2089	[DEBUG]	Processing product tax
2023-10-13	12:58:39	2089	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:39	2089	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:39	2089	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:39	2089	[DEBUG]	Query for Product
2023-10-13	12:58:39	2089	[DEBUG]	Executed store
2023-10-13	12:58:39	2089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5039_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:39	2089	[DEBUG]	Check product language entry
2023-10-13	12:58:39	2089	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861581
2023-10-13	12:58:39	2089	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:39	2089	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5039_208' AND `virtuemart_product_id` != 1861581
2023-10-13	12:58:39	2089	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:39	2089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861581, 'A_5039_208')
2023-10-13	12:58:39	2089	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:39	2089	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt81-180-mm-center-lock-box-aucune' AND `virtuemart_product_id` != 1861581
2023-10-13	12:58:39	2089	[DEBUG]	Query for ProductLang
2023-10-13	12:58:39	2089	[DEBUG]	Executed store
2023-10-13	12:58:39	2089	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.52891',`product_name`='SHIMANO Disque Deore XT SM-RT81 180 mm Center-Lock box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt81-180-mm-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861581'
2023-10-13	12:58:39	2089	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29495_shimano_disque_deore_xt_sm-rt81_180_mm_center-lock_box.jpg
2023-10-13	12:58:39	2089	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:39	2089	[DEBUG]	Process image file
2023-10-13	12:58:39	2089	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:39	2089	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:39	2089	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29495_shimano_disque_deore_xt_sm-rt81_180_mm_center-lock_box.jpg
2023-10-13	12:58:39	2089	[DEBUG]	Full name target: bcprisme/29495_shimano_disque_deore_xt_sm-rt81_180_mm_center-lock_box.jpg
2023-10-13	12:58:40	2089	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:40	2089	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29495_shimano_disque_deore_xt_sm-rt81_180_mm_center-lock_box.jpg'
2023-10-13	12:58:40	2089	[DEBUG]	Query for Media
2023-10-13	12:58:40	2089	[DEBUG]	Executed store
2023-10-13	12:58:40	2089	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29495_shimano_disque_deore_xt_sm-rt81_180_mm_center-lock_box.jpg',`file_url_thumb`='bcprisme/29495_shimano_disque_deore_xt_sm-rt81_180_mm_center-lock_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12751'
2023-10-13	12:58:40	2089	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:40	2089	[DEBUG]	Executed store
2023-10-13	12:58:40	2089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861581','12751','1')
2023-10-13	12:58:40	2089	[DEBUG]	Store product image relation
2023-10-13	12:58:40	2089	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:40	2089	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861581 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:40	2089	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:40	2089	[DEBUG]	Executed store
2023-10-13	12:58:40	2089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861581','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:40	2089	[DEBUG]	Checking manufacturer
2023-10-13	12:58:40	2089	[DEBUG]	Load a row
2023-10-13	12:58:40	2089	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:40	2089	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:40	2089	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:40	2089	[DEBUG]	Executed store
2023-10-13	12:58:40	2089	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:40	2089	[DEBUG]	Manufacturer exists
2023-10-13	12:58:40	2089	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:40	2089	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:40	2089	[DEBUG]	Executed store
2023-10-13	12:58:40	2089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861581','26')
2023-10-13	12:58:40	2089	[DEBUG]	Find the custom field ID
2023-10-13	12:58:40	2089	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:40	2089	[DEBUG]	No custom field ID found
2023-10-13	12:58:40	2089	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:40	2089	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:58:40	2089	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861581 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:40	2089	[DEBUG]	Store custom available field
2023-10-13	12:58:40	2089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861581,3,'0',1)
2023-10-13	12:58:40	2089	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:40	2089	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:40	2089	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861581 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:40	2089	[DEBUG]	Store custom available field
2023-10-13	12:58:40	2089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861581,6,'choisir la taille',3)
2023-10-13	12:58:40	2089	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:40	2089	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:40	2089	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:40	2089	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:40	2089	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861581 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:40	2089	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:40	2089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861581,8,1)
2023-10-13	12:58:40	2089	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:40	2089	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861581\":[1861581,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861581
2023-10-13	12:58:40	2089	[DEBUG]	Checking category
2023-10-13	12:58:40	2089	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:40	2089	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861581
2023-10-13	12:58:40	2089	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:40	2089	[DEBUG]	Executed store
2023-10-13	12:58:40	2089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861581','7337')
2023-10-13	12:58:40	2089	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:40	2089	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861581 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:40	2089	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:40	2089	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861581
2023-10-13	12:58:40	2090	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:40	2090	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:40	2090	[DEBUG]	Use field value for field taille
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:40	2090	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:40	2090	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:40	2090	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:40	2090	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:40	2090	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:40	2090	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:40	2090	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:40	2090	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:40	2090	[DEBUG]	Use field value for field published
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:40	2090	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field override
2023-10-13	12:58:40	2090	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:40	2090	[DEBUG]	Use field value for field slug
2023-10-13	12:58:40	2090	[DEBUG]	Process line 2090
2023-10-13	12:58:40	2090	[DEBUG]	Load a row
2023-10-13	12:58:40	2090	[DEBUG]	Processing item: 4524667680673
2023-10-13	12:58:40	2090	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:40	2090	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:40	2090	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5039_208'
2023-10-13	12:58:40	2090	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:40	2090	[DEBUG]	Processing product tax
2023-10-13	12:58:40	2090	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:40	2090	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:40	2090	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:40	2090	[DEBUG]	Query for Product
2023-10-13	12:58:40	2090	[DEBUG]	Executed store
2023-10-13	12:58:40	2090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861581','4524667680673','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:40	2090	[DEBUG]	No parent found
2023-10-13	12:58:40	2090	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861581 AND customfield_value = 'stockable'
2023-10-13	12:58:40	2090	[DEBUG]	Check product language entry
2023-10-13	12:58:40	2090	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861582
2023-10-13	12:58:40	2090	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:40	2090	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667680673' AND `virtuemart_product_id` != 1861582
2023-10-13	12:58:40	2090	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:40	2090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861582, '4524667680673')
2023-10-13	12:58:40	2090	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:40	2090	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt81-180-mm-center-lock-box-aucune-all' AND `virtuemart_product_id` != 1861582
2023-10-13	12:58:40	2090	[DEBUG]	Query for ProductLang
2023-10-13	12:58:40	2090	[DEBUG]	Executed store
2023-10-13	12:58:40	2090	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore XT SM-RT81 180 mm Center-Lock box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt81-180-mm-center-lock-box-aucune-all' WHERE `virtuemart_product_id` = '1861582'
2023-10-13	12:58:40	2090	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29495_shimano_disque_deore_xt_sm-rt81_180_mm_center-lock_box.jpg
2023-10-13	12:58:40	2090	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:40	2090	[DEBUG]	Process image file
2023-10-13	12:58:40	2090	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:40	2090	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:40	2090	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29495_shimano_disque_deore_xt_sm-rt81_180_mm_center-lock_box.jpg
2023-10-13	12:58:40	2090	[DEBUG]	Full name target: bcprisme/29495_shimano_disque_deore_xt_sm-rt81_180_mm_center-lock_box.jpg
2023-10-13	12:58:41	2090	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:41	2090	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29495_shimano_disque_deore_xt_sm-rt81_180_mm_center-lock_box.jpg'
2023-10-13	12:58:41	2090	[DEBUG]	Query for Media
2023-10-13	12:58:41	2090	[DEBUG]	Executed store
2023-10-13	12:58:41	2090	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29495_shimano_disque_deore_xt_sm-rt81_180_mm_center-lock_box.jpg',`file_url_thumb`='bcprisme/29495_shimano_disque_deore_xt_sm-rt81_180_mm_center-lock_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12751'
2023-10-13	12:58:41	2090	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:41	2090	[DEBUG]	Executed store
2023-10-13	12:58:41	2090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861582','12751','1')
2023-10-13	12:58:41	2090	[DEBUG]	Store product image relation
2023-10-13	12:58:41	2090	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:41	2090	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861582 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:41	2090	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:41	2090	[DEBUG]	Executed store
2023-10-13	12:58:41	2090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861582','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:41	2090	[DEBUG]	Checking manufacturer
2023-10-13	12:58:41	2090	[DEBUG]	Load a row
2023-10-13	12:58:41	2090	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:41	2090	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:41	2090	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:41	2090	[DEBUG]	Executed store
2023-10-13	12:58:41	2090	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:41	2090	[DEBUG]	Manufacturer exists
2023-10-13	12:58:41	2090	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:41	2090	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:41	2090	[DEBUG]	Executed store
2023-10-13	12:58:41	2090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861582','26')
2023-10-13	12:58:41	2090	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:41	2090	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:41	2090	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861582 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:41	2090	[DEBUG]	Store custom available field
2023-10-13	12:58:41	2090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861582,3,'',1)
2023-10-13	12:58:41	2090	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:41	2090	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:58:41	2090	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861582 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:41	2090	[DEBUG]	Store custom available field
2023-10-13	12:58:41	2090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861582,6,'All',3)
2023-10-13	12:58:41	2090	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:41	2090	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:41	2090	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861581
2023-10-13	12:58:41	2090	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:41	2090	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861581\":[1861581,8,1,\"choisir la taille\"],\"1861582\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861581
2023-10-13	12:58:41	2090	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:41	2090	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861582
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:41	2091	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field taille
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:41	2091	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:41	2091	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:41	2091	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:41	2091	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:41	2091	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:41	2091	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field published
2023-10-13	12:58:41	2091	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:41	2091	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field override
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:41	2091	[DEBUG]	Use field value for field slug
2023-10-13	12:58:41	2091	[DEBUG]	Process line 2091
2023-10-13	12:58:41	2091	[DEBUG]	Load a row
2023-10-13	12:58:41	2091	[DEBUG]	Processing item: A_5040_208
2023-10-13	12:58:41	2091	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:41	2091	[DEBUG]	Processing product tax
2023-10-13	12:58:41	2091	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:41	2091	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:41	2091	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:41	2091	[DEBUG]	Query for Product
2023-10-13	12:58:41	2091	[DEBUG]	Executed store
2023-10-13	12:58:41	2091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5040_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:41	2091	[DEBUG]	Check product language entry
2023-10-13	12:58:41	2091	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861583
2023-10-13	12:58:41	2091	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:41	2091	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5040_208' AND `virtuemart_product_id` != 1861583
2023-10-13	12:58:41	2091	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:41	2091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861583, 'A_5040_208')
2023-10-13	12:58:41	2091	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:41	2091	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-slx-sm-rt66-160-mm-6-trous-aucune' AND `virtuemart_product_id` != 1861583
2023-10-13	12:58:41	2091	[DEBUG]	Query for ProductLang
2023-10-13	12:58:41	2091	[DEBUG]	Executed store
2023-10-13	12:58:41	2091	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.54655',`product_name`='SHIMANO Disque SLX SM-RT66 160 mm 6-trous  / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-slx-sm-rt66-160-mm-6-trous-aucune' WHERE `virtuemart_product_id` = '1861583'
2023-10-13	12:58:41	2091	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29496_shimano_disque_slx_sm-rt66_160_mm_6-trous_box.jpg
2023-10-13	12:58:41	2091	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:41	2091	[DEBUG]	Process image file
2023-10-13	12:58:41	2091	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:41	2091	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:41	2091	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29496_shimano_disque_slx_sm-rt66_160_mm_6-trous_box.jpg
2023-10-13	12:58:41	2091	[DEBUG]	Full name target: bcprisme/29496_shimano_disque_slx_sm-rt66_160_mm_6-trous_box.jpg
2023-10-13	12:58:42	2091	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:42	2091	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29496_shimano_disque_slx_sm-rt66_160_mm_6-trous_box.jpg'
2023-10-13	12:58:42	2091	[DEBUG]	Query for Media
2023-10-13	12:58:42	2091	[DEBUG]	Executed store
2023-10-13	12:58:42	2091	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29496_shimano_disque_slx_sm-rt66_160_mm_6-trous_box.jpg',`file_url_thumb`='bcprisme/29496_shimano_disque_slx_sm-rt66_160_mm_6-trous_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12752'
2023-10-13	12:58:42	2091	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:42	2091	[DEBUG]	Executed store
2023-10-13	12:58:42	2091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861583','12752','1')
2023-10-13	12:58:42	2091	[DEBUG]	Store product image relation
2023-10-13	12:58:42	2091	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:42	2091	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861583 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:42	2091	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:42	2091	[DEBUG]	Executed store
2023-10-13	12:58:42	2091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861583','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:42	2091	[DEBUG]	Checking manufacturer
2023-10-13	12:58:42	2091	[DEBUG]	Load a row
2023-10-13	12:58:42	2091	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:42	2091	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:42	2091	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:42	2091	[DEBUG]	Executed store
2023-10-13	12:58:42	2091	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:42	2091	[DEBUG]	Manufacturer exists
2023-10-13	12:58:42	2091	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:42	2091	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:42	2091	[DEBUG]	Executed store
2023-10-13	12:58:42	2091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861583','26')
2023-10-13	12:58:42	2091	[DEBUG]	Find the custom field ID
2023-10-13	12:58:42	2091	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:42	2091	[DEBUG]	No custom field ID found
2023-10-13	12:58:42	2091	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:42	2091	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:58:42	2091	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861583 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:42	2091	[DEBUG]	Store custom available field
2023-10-13	12:58:42	2091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861583,3,'0',1)
2023-10-13	12:58:42	2091	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:42	2091	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:42	2091	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861583 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:42	2091	[DEBUG]	Store custom available field
2023-10-13	12:58:42	2091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861583,6,'choisir la taille',3)
2023-10-13	12:58:42	2091	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:42	2091	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:42	2091	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:42	2091	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:42	2091	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861583 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:42	2091	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:42	2091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861583,8,1)
2023-10-13	12:58:42	2091	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:42	2091	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861583\":[1861583,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861583
2023-10-13	12:58:42	2091	[DEBUG]	Checking category
2023-10-13	12:58:42	2091	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:42	2091	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861583
2023-10-13	12:58:42	2091	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:42	2091	[DEBUG]	Executed store
2023-10-13	12:58:42	2091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861583','7337')
2023-10-13	12:58:42	2091	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:42	2091	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861583 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:42	2091	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:42	2091	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861583
2023-10-13	12:58:42	2092	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:42	2092	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:42	2092	[DEBUG]	Use field value for field taille
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:42	2092	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:42	2092	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:42	2092	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:42	2092	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:42	2092	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:42	2092	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:42	2092	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:42	2092	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:42	2092	[DEBUG]	Use field value for field published
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:42	2092	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field override
2023-10-13	12:58:42	2092	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:42	2092	[DEBUG]	Use field value for field slug
2023-10-13	12:58:42	2092	[DEBUG]	Process line 2092
2023-10-13	12:58:42	2092	[DEBUG]	Load a row
2023-10-13	12:58:42	2092	[DEBUG]	Processing item: 4550170598334
2023-10-13	12:58:42	2092	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:42	2092	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:42	2092	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5040_208'
2023-10-13	12:58:42	2092	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:42	2092	[DEBUG]	Processing product tax
2023-10-13	12:58:42	2092	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:42	2092	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:42	2092	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:42	2092	[DEBUG]	Query for Product
2023-10-13	12:58:42	2092	[DEBUG]	Executed store
2023-10-13	12:58:42	2092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861583','4550170598334','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:42	2092	[DEBUG]	No parent found
2023-10-13	12:58:42	2092	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861583 AND customfield_value = 'stockable'
2023-10-13	12:58:42	2092	[DEBUG]	Check product language entry
2023-10-13	12:58:42	2092	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861584
2023-10-13	12:58:42	2092	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:42	2092	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170598334' AND `virtuemart_product_id` != 1861584
2023-10-13	12:58:42	2092	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:42	2092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861584, '4550170598334')
2023-10-13	12:58:42	2092	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:42	2092	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-slx-sm-rt66-160-mm-6-trous-aucune-all' AND `virtuemart_product_id` != 1861584
2023-10-13	12:58:42	2092	[DEBUG]	Query for ProductLang
2023-10-13	12:58:42	2092	[DEBUG]	Executed store
2023-10-13	12:58:42	2092	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque SLX SM-RT66 160 mm 6-trous  / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-slx-sm-rt66-160-mm-6-trous-aucune-all' WHERE `virtuemart_product_id` = '1861584'
2023-10-13	12:58:42	2092	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29496_shimano_disque_slx_sm-rt66_160_mm_6-trous_box.jpg
2023-10-13	12:58:42	2092	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:42	2092	[DEBUG]	Process image file
2023-10-13	12:58:42	2092	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:42	2092	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:42	2092	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29496_shimano_disque_slx_sm-rt66_160_mm_6-trous_box.jpg
2023-10-13	12:58:42	2092	[DEBUG]	Full name target: bcprisme/29496_shimano_disque_slx_sm-rt66_160_mm_6-trous_box.jpg
2023-10-13	12:58:43	2092	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:43	2092	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29496_shimano_disque_slx_sm-rt66_160_mm_6-trous_box.jpg'
2023-10-13	12:58:43	2092	[DEBUG]	Query for Media
2023-10-13	12:58:43	2092	[DEBUG]	Executed store
2023-10-13	12:58:43	2092	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29496_shimano_disque_slx_sm-rt66_160_mm_6-trous_box.jpg',`file_url_thumb`='bcprisme/29496_shimano_disque_slx_sm-rt66_160_mm_6-trous_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12752'
2023-10-13	12:58:43	2092	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:43	2092	[DEBUG]	Executed store
2023-10-13	12:58:43	2092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861584','12752','1')
2023-10-13	12:58:43	2092	[DEBUG]	Store product image relation
2023-10-13	12:58:43	2092	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:43	2092	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861584 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:43	2092	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:43	2092	[DEBUG]	Executed store
2023-10-13	12:58:43	2092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861584','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:43	2092	[DEBUG]	Checking manufacturer
2023-10-13	12:58:43	2092	[DEBUG]	Load a row
2023-10-13	12:58:43	2092	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:43	2092	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:43	2092	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:43	2092	[DEBUG]	Executed store
2023-10-13	12:58:43	2092	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:43	2092	[DEBUG]	Manufacturer exists
2023-10-13	12:58:43	2092	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:43	2092	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:43	2092	[DEBUG]	Executed store
2023-10-13	12:58:43	2092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861584','26')
2023-10-13	12:58:43	2092	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:43	2092	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:43	2092	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861584 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:43	2092	[DEBUG]	Store custom available field
2023-10-13	12:58:43	2092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861584,3,'',1)
2023-10-13	12:58:43	2092	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:43	2092	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:58:43	2092	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861584 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:43	2092	[DEBUG]	Store custom available field
2023-10-13	12:58:43	2092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861584,6,'All',3)
2023-10-13	12:58:43	2092	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:43	2092	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:43	2092	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861583
2023-10-13	12:58:43	2092	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:43	2092	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861583\":[1861583,8,1,\"choisir la taille\"],\"1861584\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861583
2023-10-13	12:58:43	2092	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:43	2092	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861584
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:43	2093	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field taille
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:43	2093	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:43	2093	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:43	2093	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:43	2093	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:43	2093	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:43	2093	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field published
2023-10-13	12:58:43	2093	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:43	2093	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field override
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:43	2093	[DEBUG]	Use field value for field slug
2023-10-13	12:58:43	2093	[DEBUG]	Process line 2093
2023-10-13	12:58:43	2093	[DEBUG]	Load a row
2023-10-13	12:58:43	2093	[DEBUG]	Processing item: A_5041_208
2023-10-13	12:58:43	2093	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:43	2093	[DEBUG]	Processing product tax
2023-10-13	12:58:43	2093	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:43	2093	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:43	2093	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:43	2093	[DEBUG]	Query for Product
2023-10-13	12:58:43	2093	[DEBUG]	Executed store
2023-10-13	12:58:43	2093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5041_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:43	2093	[DEBUG]	Check product language entry
2023-10-13	12:58:43	2093	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861585
2023-10-13	12:58:43	2093	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:43	2093	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5041_208' AND `virtuemart_product_id` != 1861585
2023-10-13	12:58:43	2093	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:43	2093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861585, 'A_5041_208')
2023-10-13	12:58:43	2093	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:43	2093	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-slx-sm-rt66-180-mm-6-trous-aucune' AND `virtuemart_product_id` != 1861585
2023-10-13	12:58:43	2093	[DEBUG]	Query for ProductLang
2023-10-13	12:58:43	2093	[DEBUG]	Executed store
2023-10-13	12:58:43	2093	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.54654',`product_name`='SHIMANO Disque SLX SM-RT66 180 mm 6-trous  / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-slx-sm-rt66-180-mm-6-trous-aucune' WHERE `virtuemart_product_id` = '1861585'
2023-10-13	12:58:43	2093	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29497_shimano_disque_slx_sm-rt66_180_mm_6-trous_box.jpg
2023-10-13	12:58:43	2093	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:43	2093	[DEBUG]	Process image file
2023-10-13	12:58:43	2093	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:43	2093	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:43	2093	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29497_shimano_disque_slx_sm-rt66_180_mm_6-trous_box.jpg
2023-10-13	12:58:43	2093	[DEBUG]	Full name target: bcprisme/29497_shimano_disque_slx_sm-rt66_180_mm_6-trous_box.jpg
2023-10-13	12:58:44	2093	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:44	2093	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29497_shimano_disque_slx_sm-rt66_180_mm_6-trous_box.jpg'
2023-10-13	12:58:44	2093	[DEBUG]	Query for Media
2023-10-13	12:58:44	2093	[DEBUG]	Executed store
2023-10-13	12:58:44	2093	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29497_shimano_disque_slx_sm-rt66_180_mm_6-trous_box.jpg',`file_url_thumb`='bcprisme/29497_shimano_disque_slx_sm-rt66_180_mm_6-trous_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12753'
2023-10-13	12:58:44	2093	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:44	2093	[DEBUG]	Executed store
2023-10-13	12:58:44	2093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861585','12753','1')
2023-10-13	12:58:44	2093	[DEBUG]	Store product image relation
2023-10-13	12:58:44	2093	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:44	2093	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861585 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:44	2093	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:44	2093	[DEBUG]	Executed store
2023-10-13	12:58:44	2093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861585','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:44	2093	[DEBUG]	Checking manufacturer
2023-10-13	12:58:44	2093	[DEBUG]	Load a row
2023-10-13	12:58:44	2093	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:44	2093	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:44	2093	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:44	2093	[DEBUG]	Executed store
2023-10-13	12:58:44	2093	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:44	2093	[DEBUG]	Manufacturer exists
2023-10-13	12:58:44	2093	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:44	2093	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:44	2093	[DEBUG]	Executed store
2023-10-13	12:58:44	2093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861585','26')
2023-10-13	12:58:44	2093	[DEBUG]	Find the custom field ID
2023-10-13	12:58:44	2093	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:44	2093	[DEBUG]	No custom field ID found
2023-10-13	12:58:44	2093	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:44	2093	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:58:44	2093	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861585 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:44	2093	[DEBUG]	Store custom available field
2023-10-13	12:58:44	2093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861585,3,'0',1)
2023-10-13	12:58:44	2093	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:44	2093	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:44	2093	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861585 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:44	2093	[DEBUG]	Store custom available field
2023-10-13	12:58:44	2093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861585,6,'choisir la taille',3)
2023-10-13	12:58:44	2093	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:44	2093	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:44	2093	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:44	2093	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:44	2093	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861585 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:44	2093	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:44	2093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861585,8,1)
2023-10-13	12:58:44	2093	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:44	2093	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861585\":[1861585,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861585
2023-10-13	12:58:44	2093	[DEBUG]	Checking category
2023-10-13	12:58:44	2093	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:44	2093	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861585
2023-10-13	12:58:44	2093	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:44	2093	[DEBUG]	Executed store
2023-10-13	12:58:44	2093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861585','7337')
2023-10-13	12:58:44	2093	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:44	2093	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861585 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:44	2093	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:44	2093	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861585
2023-10-13	12:58:44	2094	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:44	2094	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:44	2094	[DEBUG]	Use field value for field taille
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:44	2094	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:44	2094	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:44	2094	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:44	2094	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:44	2094	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:44	2094	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:44	2094	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:44	2094	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:44	2094	[DEBUG]	Use field value for field published
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:44	2094	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field override
2023-10-13	12:58:44	2094	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:44	2094	[DEBUG]	Use field value for field slug
2023-10-13	12:58:44	2094	[DEBUG]	Process line 2094
2023-10-13	12:58:44	2094	[DEBUG]	Load a row
2023-10-13	12:58:44	2094	[DEBUG]	Processing item: 4550170598327
2023-10-13	12:58:44	2094	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:44	2094	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:44	2094	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5041_208'
2023-10-13	12:58:44	2094	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:44	2094	[DEBUG]	Processing product tax
2023-10-13	12:58:44	2094	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:44	2094	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:44	2094	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:44	2094	[DEBUG]	Query for Product
2023-10-13	12:58:44	2094	[DEBUG]	Executed store
2023-10-13	12:58:44	2094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861585','4550170598327','0','KG','M','','15','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:44	2094	[DEBUG]	No parent found
2023-10-13	12:58:44	2094	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861585 AND customfield_value = 'stockable'
2023-10-13	12:58:44	2094	[DEBUG]	Check product language entry
2023-10-13	12:58:44	2094	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861586
2023-10-13	12:58:44	2094	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:44	2094	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170598327' AND `virtuemart_product_id` != 1861586
2023-10-13	12:58:44	2094	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:44	2094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861586, '4550170598327')
2023-10-13	12:58:44	2094	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:44	2094	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-slx-sm-rt66-180-mm-6-trous-aucune-all' AND `virtuemart_product_id` != 1861586
2023-10-13	12:58:44	2094	[DEBUG]	Query for ProductLang
2023-10-13	12:58:44	2094	[DEBUG]	Executed store
2023-10-13	12:58:44	2094	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque SLX SM-RT66 180 mm 6-trous  / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-slx-sm-rt66-180-mm-6-trous-aucune-all' WHERE `virtuemart_product_id` = '1861586'
2023-10-13	12:58:44	2094	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29497_shimano_disque_slx_sm-rt66_180_mm_6-trous_box.jpg
2023-10-13	12:58:44	2094	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:44	2094	[DEBUG]	Process image file
2023-10-13	12:58:44	2094	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:44	2094	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:44	2094	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29497_shimano_disque_slx_sm-rt66_180_mm_6-trous_box.jpg
2023-10-13	12:58:44	2094	[DEBUG]	Full name target: bcprisme/29497_shimano_disque_slx_sm-rt66_180_mm_6-trous_box.jpg
2023-10-13	12:58:45	2094	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:45	2094	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29497_shimano_disque_slx_sm-rt66_180_mm_6-trous_box.jpg'
2023-10-13	12:58:45	2094	[DEBUG]	Query for Media
2023-10-13	12:58:45	2094	[DEBUG]	Executed store
2023-10-13	12:58:45	2094	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29497_shimano_disque_slx_sm-rt66_180_mm_6-trous_box.jpg',`file_url_thumb`='bcprisme/29497_shimano_disque_slx_sm-rt66_180_mm_6-trous_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12753'
2023-10-13	12:58:45	2094	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:45	2094	[DEBUG]	Executed store
2023-10-13	12:58:45	2094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861586','12753','1')
2023-10-13	12:58:45	2094	[DEBUG]	Store product image relation
2023-10-13	12:58:45	2094	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:45	2094	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861586 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:45	2094	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:45	2094	[DEBUG]	Executed store
2023-10-13	12:58:45	2094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861586','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:45	2094	[DEBUG]	Checking manufacturer
2023-10-13	12:58:45	2094	[DEBUG]	Load a row
2023-10-13	12:58:45	2094	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:45	2094	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:45	2094	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:45	2094	[DEBUG]	Executed store
2023-10-13	12:58:45	2094	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:45	2094	[DEBUG]	Manufacturer exists
2023-10-13	12:58:45	2094	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:45	2094	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:45	2094	[DEBUG]	Executed store
2023-10-13	12:58:45	2094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861586','26')
2023-10-13	12:58:45	2094	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:45	2094	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:45	2094	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861586 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:45	2094	[DEBUG]	Store custom available field
2023-10-13	12:58:45	2094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861586,3,'',1)
2023-10-13	12:58:45	2094	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:45	2094	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:58:45	2094	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861586 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:45	2094	[DEBUG]	Store custom available field
2023-10-13	12:58:45	2094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861586,6,'All',3)
2023-10-13	12:58:45	2094	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:45	2094	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:45	2094	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861585
2023-10-13	12:58:45	2094	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:45	2094	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861585\":[1861585,8,1,\"choisir la taille\"],\"1861586\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861585
2023-10-13	12:58:45	2094	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:45	2094	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861586
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:45	2095	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field taille
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:45	2095	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:45	2095	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:45	2095	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:45	2095	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:45	2095	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:45	2095	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field published
2023-10-13	12:58:45	2095	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:45	2095	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field override
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:45	2095	[DEBUG]	Use field value for field slug
2023-10-13	12:58:45	2095	[DEBUG]	Process line 2095
2023-10-13	12:58:45	2095	[DEBUG]	Load a row
2023-10-13	12:58:45	2095	[DEBUG]	Processing item: A_5043_208
2023-10-13	12:58:45	2095	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:45	2095	[DEBUG]	Processing product tax
2023-10-13	12:58:45	2095	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:45	2095	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:45	2095	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:45	2095	[DEBUG]	Query for Product
2023-10-13	12:58:45	2095	[DEBUG]	Executed store
2023-10-13	12:58:45	2095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5043_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:45	2095	[DEBUG]	Check product language entry
2023-10-13	12:58:45	2095	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861587
2023-10-13	12:58:45	2095	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:45	2095	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5043_208' AND `virtuemart_product_id` != 1861587
2023-10-13	12:58:45	2095	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:45	2095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861587, 'A_5043_208')
2023-10-13	12:58:45	2095	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:45	2095	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-de-frein-shimano-sm-rt76-180-mm-aucune' AND `virtuemart_product_id` != 1861587
2023-10-13	12:58:45	2095	[DEBUG]	Query for ProductLang
2023-10-13	12:58:45	2095	[DEBUG]	Executed store
2023-10-13	12:58:45	2095	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.48758',`product_name`='SHIMANO Disque de frein Shimano SM-RT76 180 mm / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-de-frein-shimano-sm-rt76-180-mm-aucune' WHERE `virtuemart_product_id` = '1861587'
2023-10-13	12:58:45	2095	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29498_shimano_disque_deore_xt_sm-rt76_180_mm_6-trous__box.jpg
2023-10-13	12:58:45	2095	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:45	2095	[DEBUG]	Process image file
2023-10-13	12:58:45	2095	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:45	2095	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:45	2095	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29498_shimano_disque_deore_xt_sm-rt76_180_mm_6-trous__box.jpg
2023-10-13	12:58:45	2095	[DEBUG]	Full name target: bcprisme/29498_shimano_disque_deore_xt_sm-rt76_180_mm_6-trous__box.jpg
2023-10-13	12:58:46	2095	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:46	2095	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29498_shimano_disque_deore_xt_sm-rt76_180_mm_6-trous__box.jpg'
2023-10-13	12:58:46	2095	[DEBUG]	Query for Media
2023-10-13	12:58:46	2095	[DEBUG]	Executed store
2023-10-13	12:58:46	2095	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29498_shimano_disque_deore_xt_sm-rt76_180_mm_6-trous__box.jpg',`file_url_thumb`='bcprisme/29498_shimano_disque_deore_xt_sm-rt76_180_mm_6-trous__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12754'
2023-10-13	12:58:46	2095	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:46	2095	[DEBUG]	Executed store
2023-10-13	12:58:46	2095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861587','12754','1')
2023-10-13	12:58:46	2095	[DEBUG]	Store product image relation
2023-10-13	12:58:46	2095	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:46	2095	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861587 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:46	2095	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:46	2095	[DEBUG]	Executed store
2023-10-13	12:58:46	2095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861587','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:46	2095	[DEBUG]	Checking manufacturer
2023-10-13	12:58:46	2095	[DEBUG]	Load a row
2023-10-13	12:58:46	2095	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:46	2095	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:46	2095	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:46	2095	[DEBUG]	Executed store
2023-10-13	12:58:46	2095	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:46	2095	[DEBUG]	Manufacturer exists
2023-10-13	12:58:46	2095	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:46	2095	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:46	2095	[DEBUG]	Executed store
2023-10-13	12:58:46	2095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861587','26')
2023-10-13	12:58:46	2095	[DEBUG]	Find the custom field ID
2023-10-13	12:58:46	2095	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:46	2095	[DEBUG]	No custom field ID found
2023-10-13	12:58:46	2095	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:46	2095	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:58:46	2095	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861587 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:46	2095	[DEBUG]	Store custom available field
2023-10-13	12:58:46	2095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861587,3,'0',1)
2023-10-13	12:58:46	2095	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:46	2095	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:46	2095	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861587 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:46	2095	[DEBUG]	Store custom available field
2023-10-13	12:58:46	2095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861587,6,'choisir la taille',3)
2023-10-13	12:58:46	2095	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:46	2095	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:46	2095	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:46	2095	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:46	2095	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861587 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:46	2095	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:46	2095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861587,8,1)
2023-10-13	12:58:46	2095	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:46	2095	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861587\":[1861587,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861587
2023-10-13	12:58:46	2095	[DEBUG]	Checking category
2023-10-13	12:58:46	2095	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:46	2095	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861587
2023-10-13	12:58:46	2095	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:46	2095	[DEBUG]	Executed store
2023-10-13	12:58:46	2095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861587','7337')
2023-10-13	12:58:46	2095	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:46	2095	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861587 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:46	2095	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:46	2095	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861587
2023-10-13	12:58:46	2096	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:46	2096	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:46	2096	[DEBUG]	Use field value for field taille
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:46	2096	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:46	2096	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:46	2096	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:46	2096	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:46	2096	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:46	2096	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:46	2096	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:46	2096	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:46	2096	[DEBUG]	Use field value for field published
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:46	2096	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field override
2023-10-13	12:58:46	2096	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:46	2096	[DEBUG]	Use field value for field slug
2023-10-13	12:58:46	2096	[DEBUG]	Process line 2096
2023-10-13	12:58:46	2096	[DEBUG]	Load a row
2023-10-13	12:58:46	2096	[DEBUG]	Processing item: 4550170598402
2023-10-13	12:58:46	2096	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:46	2096	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:46	2096	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5043_208'
2023-10-13	12:58:46	2096	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:46	2096	[DEBUG]	Processing product tax
2023-10-13	12:58:46	2096	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:46	2096	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:46	2096	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:46	2096	[DEBUG]	Query for Product
2023-10-13	12:58:46	2096	[DEBUG]	Executed store
2023-10-13	12:58:46	2096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861587','4550170598402','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:46	2096	[DEBUG]	No parent found
2023-10-13	12:58:46	2096	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861587 AND customfield_value = 'stockable'
2023-10-13	12:58:46	2096	[DEBUG]	Check product language entry
2023-10-13	12:58:46	2096	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861588
2023-10-13	12:58:46	2096	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:46	2096	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170598402' AND `virtuemart_product_id` != 1861588
2023-10-13	12:58:46	2096	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:46	2096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861588, '4550170598402')
2023-10-13	12:58:46	2096	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:46	2096	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-de-frein-shimano-sm-rt76-180-mm-aucune-all' AND `virtuemart_product_id` != 1861588
2023-10-13	12:58:46	2096	[DEBUG]	Query for ProductLang
2023-10-13	12:58:46	2096	[DEBUG]	Executed store
2023-10-13	12:58:46	2096	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque de frein Shimano SM-RT76 180 mm / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-de-frein-shimano-sm-rt76-180-mm-aucune-all' WHERE `virtuemart_product_id` = '1861588'
2023-10-13	12:58:46	2096	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29498_shimano_disque_deore_xt_sm-rt76_180_mm_6-trous__box.jpg
2023-10-13	12:58:46	2096	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:46	2096	[DEBUG]	Process image file
2023-10-13	12:58:46	2096	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:46	2096	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:46	2096	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29498_shimano_disque_deore_xt_sm-rt76_180_mm_6-trous__box.jpg
2023-10-13	12:58:46	2096	[DEBUG]	Full name target: bcprisme/29498_shimano_disque_deore_xt_sm-rt76_180_mm_6-trous__box.jpg
2023-10-13	12:58:47	2096	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:47	2096	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29498_shimano_disque_deore_xt_sm-rt76_180_mm_6-trous__box.jpg'
2023-10-13	12:58:47	2096	[DEBUG]	Query for Media
2023-10-13	12:58:47	2096	[DEBUG]	Executed store
2023-10-13	12:58:47	2096	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29498_shimano_disque_deore_xt_sm-rt76_180_mm_6-trous__box.jpg',`file_url_thumb`='bcprisme/29498_shimano_disque_deore_xt_sm-rt76_180_mm_6-trous__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12754'
2023-10-13	12:58:47	2096	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:47	2096	[DEBUG]	Executed store
2023-10-13	12:58:47	2096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861588','12754','1')
2023-10-13	12:58:47	2096	[DEBUG]	Store product image relation
2023-10-13	12:58:47	2096	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:47	2096	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861588 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:47	2096	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:47	2096	[DEBUG]	Executed store
2023-10-13	12:58:47	2096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861588','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:47	2096	[DEBUG]	Checking manufacturer
2023-10-13	12:58:47	2096	[DEBUG]	Load a row
2023-10-13	12:58:47	2096	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:47	2096	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:47	2096	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:47	2096	[DEBUG]	Executed store
2023-10-13	12:58:47	2096	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:47	2096	[DEBUG]	Manufacturer exists
2023-10-13	12:58:47	2096	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:47	2096	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:47	2096	[DEBUG]	Executed store
2023-10-13	12:58:47	2096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861588','26')
2023-10-13	12:58:47	2096	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:47	2096	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:47	2096	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861588 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:47	2096	[DEBUG]	Store custom available field
2023-10-13	12:58:47	2096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861588,3,'',1)
2023-10-13	12:58:47	2096	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:47	2096	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:58:47	2096	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861588 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:47	2096	[DEBUG]	Store custom available field
2023-10-13	12:58:47	2096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861588,6,'All',3)
2023-10-13	12:58:47	2096	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:47	2096	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:47	2096	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861587
2023-10-13	12:58:47	2096	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:47	2096	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861587\":[1861587,8,1,\"choisir la taille\"],\"1861588\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861587
2023-10-13	12:58:47	2096	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:47	2096	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861588
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:47	2097	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field taille
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:47	2097	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:47	2097	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:47	2097	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:47	2097	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:47	2097	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:47	2097	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field published
2023-10-13	12:58:47	2097	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:47	2097	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field override
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:47	2097	[DEBUG]	Use field value for field slug
2023-10-13	12:58:47	2097	[DEBUG]	Process line 2097
2023-10-13	12:58:47	2097	[DEBUG]	Load a row
2023-10-13	12:58:47	2097	[DEBUG]	Processing item: A_5045_208
2023-10-13	12:58:47	2097	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:47	2097	[DEBUG]	Processing product tax
2023-10-13	12:58:47	2097	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:47	2097	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:47	2097	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:47	2097	[DEBUG]	Query for Product
2023-10-13	12:58:47	2097	[DEBUG]	Executed store
2023-10-13	12:58:47	2097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5045_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:47	2097	[DEBUG]	Check product language entry
2023-10-13	12:58:47	2097	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861589
2023-10-13	12:58:47	2097	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:47	2097	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5045_208' AND `virtuemart_product_id` != 1861589
2023-10-13	12:58:47	2097	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:47	2097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861589, 'A_5045_208')
2023-10-13	12:58:47	2097	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:47	2097	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt86-203-mm-6-trous-box-aucune' AND `virtuemart_product_id` != 1861589
2023-10-13	12:58:47	2097	[DEBUG]	Query for ProductLang
2023-10-13	12:58:47	2097	[DEBUG]	Executed store
2023-10-13	12:58:47	2097	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.53006',`product_name`='SHIMANO Disque Deore XT SM-RT86 203 mm 6-trous box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt86-203-mm-6-trous-box-aucune' WHERE `virtuemart_product_id` = '1861589'
2023-10-13	12:58:47	2097	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29499_shimano_disque_deore_xt_sm-rt86_203_mm_6-trous_box.jpg
2023-10-13	12:58:47	2097	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:47	2097	[DEBUG]	Process image file
2023-10-13	12:58:47	2097	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:47	2097	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:47	2097	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29499_shimano_disque_deore_xt_sm-rt86_203_mm_6-trous_box.jpg
2023-10-13	12:58:47	2097	[DEBUG]	Full name target: bcprisme/29499_shimano_disque_deore_xt_sm-rt86_203_mm_6-trous_box.jpg
2023-10-13	12:58:48	2097	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:48	2097	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29499_shimano_disque_deore_xt_sm-rt86_203_mm_6-trous_box.jpg'
2023-10-13	12:58:48	2097	[DEBUG]	Query for Media
2023-10-13	12:58:48	2097	[DEBUG]	Executed store
2023-10-13	12:58:48	2097	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29499_shimano_disque_deore_xt_sm-rt86_203_mm_6-trous_box.jpg',`file_url_thumb`='bcprisme/29499_shimano_disque_deore_xt_sm-rt86_203_mm_6-trous_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12755'
2023-10-13	12:58:48	2097	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:48	2097	[DEBUG]	Executed store
2023-10-13	12:58:48	2097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861589','12755','1')
2023-10-13	12:58:48	2097	[DEBUG]	Store product image relation
2023-10-13	12:58:48	2097	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:48	2097	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861589 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:48	2097	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:48	2097	[DEBUG]	Executed store
2023-10-13	12:58:48	2097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861589','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:48	2097	[DEBUG]	Checking manufacturer
2023-10-13	12:58:48	2097	[DEBUG]	Load a row
2023-10-13	12:58:48	2097	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:48	2097	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:48	2097	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:48	2097	[DEBUG]	Executed store
2023-10-13	12:58:48	2097	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:48	2097	[DEBUG]	Manufacturer exists
2023-10-13	12:58:48	2097	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:48	2097	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:48	2097	[DEBUG]	Executed store
2023-10-13	12:58:48	2097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861589','26')
2023-10-13	12:58:48	2097	[DEBUG]	Find the custom field ID
2023-10-13	12:58:48	2097	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:48	2097	[DEBUG]	No custom field ID found
2023-10-13	12:58:48	2097	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:48	2097	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:58:48	2097	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861589 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:48	2097	[DEBUG]	Store custom available field
2023-10-13	12:58:48	2097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861589,3,'0',1)
2023-10-13	12:58:48	2097	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:48	2097	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:48	2097	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861589 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:48	2097	[DEBUG]	Store custom available field
2023-10-13	12:58:48	2097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861589,6,'choisir la taille',3)
2023-10-13	12:58:48	2097	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:48	2097	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:48	2097	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:48	2097	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:48	2097	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861589 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:48	2097	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:48	2097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861589,8,1)
2023-10-13	12:58:48	2097	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:48	2097	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861589\":[1861589,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861589
2023-10-13	12:58:48	2097	[DEBUG]	Checking category
2023-10-13	12:58:48	2097	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:48	2097	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861589
2023-10-13	12:58:48	2097	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:48	2097	[DEBUG]	Executed store
2023-10-13	12:58:48	2097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861589','7337')
2023-10-13	12:58:48	2097	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:48	2097	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861589 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:48	2097	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:48	2097	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861589
2023-10-13	12:58:48	2098	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:48	2098	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:48	2098	[DEBUG]	Use field value for field taille
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:48	2098	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:48	2098	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:48	2098	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:48	2098	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:48	2098	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:48	2098	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:48	2098	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:48	2098	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:48	2098	[DEBUG]	Use field value for field published
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:48	2098	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field override
2023-10-13	12:58:48	2098	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:48	2098	[DEBUG]	Use field value for field slug
2023-10-13	12:58:48	2098	[DEBUG]	Process line 2098
2023-10-13	12:58:48	2098	[DEBUG]	Load a row
2023-10-13	12:58:48	2098	[DEBUG]	Processing item: 4524667744689
2023-10-13	12:58:48	2098	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:48	2098	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:48	2098	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5045_208'
2023-10-13	12:58:48	2098	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:48	2098	[DEBUG]	Processing product tax
2023-10-13	12:58:48	2098	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:48	2098	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:48	2098	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:48	2098	[DEBUG]	Query for Product
2023-10-13	12:58:48	2098	[DEBUG]	Executed store
2023-10-13	12:58:48	2098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861589','4524667744689','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:48	2098	[DEBUG]	No parent found
2023-10-13	12:58:48	2098	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861589 AND customfield_value = 'stockable'
2023-10-13	12:58:48	2098	[DEBUG]	Check product language entry
2023-10-13	12:58:48	2098	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861590
2023-10-13	12:58:48	2098	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:48	2098	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667744689' AND `virtuemart_product_id` != 1861590
2023-10-13	12:58:48	2098	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:48	2098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861590, '4524667744689')
2023-10-13	12:58:48	2098	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:48	2098	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt86-203-mm-6-trous-box-aucune-all' AND `virtuemart_product_id` != 1861590
2023-10-13	12:58:48	2098	[DEBUG]	Query for ProductLang
2023-10-13	12:58:48	2098	[DEBUG]	Executed store
2023-10-13	12:58:48	2098	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore XT SM-RT86 203 mm 6-trous box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt86-203-mm-6-trous-box-aucune-all' WHERE `virtuemart_product_id` = '1861590'
2023-10-13	12:58:48	2098	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29499_shimano_disque_deore_xt_sm-rt86_203_mm_6-trous_box.jpg
2023-10-13	12:58:48	2098	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:48	2098	[DEBUG]	Process image file
2023-10-13	12:58:48	2098	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:48	2098	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:48	2098	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29499_shimano_disque_deore_xt_sm-rt86_203_mm_6-trous_box.jpg
2023-10-13	12:58:48	2098	[DEBUG]	Full name target: bcprisme/29499_shimano_disque_deore_xt_sm-rt86_203_mm_6-trous_box.jpg
2023-10-13	12:58:49	2098	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:49	2098	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29499_shimano_disque_deore_xt_sm-rt86_203_mm_6-trous_box.jpg'
2023-10-13	12:58:49	2098	[DEBUG]	Query for Media
2023-10-13	12:58:49	2098	[DEBUG]	Executed store
2023-10-13	12:58:49	2098	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29499_shimano_disque_deore_xt_sm-rt86_203_mm_6-trous_box.jpg',`file_url_thumb`='bcprisme/29499_shimano_disque_deore_xt_sm-rt86_203_mm_6-trous_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12755'
2023-10-13	12:58:49	2098	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:49	2098	[DEBUG]	Executed store
2023-10-13	12:58:49	2098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861590','12755','1')
2023-10-13	12:58:49	2098	[DEBUG]	Store product image relation
2023-10-13	12:58:49	2098	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:49	2098	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861590 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:49	2098	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:49	2098	[DEBUG]	Executed store
2023-10-13	12:58:49	2098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861590','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:49	2098	[DEBUG]	Checking manufacturer
2023-10-13	12:58:49	2098	[DEBUG]	Load a row
2023-10-13	12:58:49	2098	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:49	2098	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:49	2098	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:49	2098	[DEBUG]	Executed store
2023-10-13	12:58:49	2098	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:49	2098	[DEBUG]	Manufacturer exists
2023-10-13	12:58:49	2098	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:49	2098	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:49	2098	[DEBUG]	Executed store
2023-10-13	12:58:49	2098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861590','26')
2023-10-13	12:58:49	2098	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:49	2098	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:49	2098	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861590 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:49	2098	[DEBUG]	Store custom available field
2023-10-13	12:58:49	2098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861590,3,'',1)
2023-10-13	12:58:49	2098	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:49	2098	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:58:49	2098	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861590 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:49	2098	[DEBUG]	Store custom available field
2023-10-13	12:58:49	2098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861590,6,'All',3)
2023-10-13	12:58:49	2098	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:49	2098	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:49	2098	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861589
2023-10-13	12:58:49	2098	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:49	2098	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861589\":[1861589,8,1,\"choisir la taille\"],\"1861590\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861589
2023-10-13	12:58:49	2098	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:49	2098	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861590
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:49	2099	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field taille
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field category_path
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:49	2099	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:58:49	2099	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:49	2099	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field product_weight
2023-10-13	12:58:49	2099	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:49	2099	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:49	2099	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field published
2023-10-13	12:58:49	2099	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:49	2099	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field custom_title
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field custom_param
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field override
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field public_price
2023-10-13	12:58:49	2099	[DEBUG]	Use field value for field slug
2023-10-13	12:58:49	2099	[DEBUG]	Process line 2099
2023-10-13	12:58:49	2099	[DEBUG]	Load a row
2023-10-13	12:58:49	2099	[DEBUG]	Processing item: A_5046_208
2023-10-13	12:58:49	2099	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:49	2099	[DEBUG]	Processing product tax
2023-10-13	12:58:49	2099	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:49	2099	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:49	2099	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:49	2099	[DEBUG]	Query for Product
2023-10-13	12:58:49	2099	[DEBUG]	Executed store
2023-10-13	12:58:49	2099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5046_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:49	2099	[DEBUG]	Check product language entry
2023-10-13	12:58:49	2099	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861591
2023-10-13	12:58:49	2099	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:49	2099	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5046_208' AND `virtuemart_product_id` != 1861591
2023-10-13	12:58:49	2099	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:49	2099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861591, 'A_5046_208')
2023-10-13	12:58:49	2099	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:49	2099	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt76-160-mm-6-trous-box-aucune' AND `virtuemart_product_id` != 1861591
2023-10-13	12:58:49	2099	[DEBUG]	Query for ProductLang
2023-10-13	12:58:49	2099	[DEBUG]	Executed store
2023-10-13	12:58:49	2099	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.48757',`product_name`='SHIMANO Disque Deore XT SM-RT76 160 mm 6-trous  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt76-160-mm-6-trous-box-aucune' WHERE `virtuemart_product_id` = '1861591'
2023-10-13	12:58:49	2099	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29500_shimano_disque_deore_xt_sm-rt76_160_mm_6-trous__box.jpg
2023-10-13	12:58:49	2099	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:49	2099	[DEBUG]	Process image file
2023-10-13	12:58:49	2099	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:49	2099	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:49	2099	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29500_shimano_disque_deore_xt_sm-rt76_160_mm_6-trous__box.jpg
2023-10-13	12:58:49	2099	[DEBUG]	Full name target: bcprisme/29500_shimano_disque_deore_xt_sm-rt76_160_mm_6-trous__box.jpg
2023-10-13	12:58:50	2099	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:50	2099	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29500_shimano_disque_deore_xt_sm-rt76_160_mm_6-trous__box.jpg'
2023-10-13	12:58:50	2099	[DEBUG]	Query for Media
2023-10-13	12:58:50	2099	[DEBUG]	Executed store
2023-10-13	12:58:50	2099	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29500_shimano_disque_deore_xt_sm-rt76_160_mm_6-trous__box.jpg',`file_url_thumb`='bcprisme/29500_shimano_disque_deore_xt_sm-rt76_160_mm_6-trous__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12756'
2023-10-13	12:58:50	2099	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:50	2099	[DEBUG]	Executed store
2023-10-13	12:58:50	2099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861591','12756','1')
2023-10-13	12:58:50	2099	[DEBUG]	Store product image relation
2023-10-13	12:58:50	2099	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:50	2099	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861591 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:50	2099	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:50	2099	[DEBUG]	Executed store
2023-10-13	12:58:50	2099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861591','0','45.4038997214485','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:50	2099	[DEBUG]	Checking manufacturer
2023-10-13	12:58:50	2099	[DEBUG]	Load a row
2023-10-13	12:58:50	2099	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:50	2099	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:50	2099	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:50	2099	[DEBUG]	Executed store
2023-10-13	12:58:50	2099	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:50	2099	[DEBUG]	Manufacturer exists
2023-10-13	12:58:50	2099	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:50	2099	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:50	2099	[DEBUG]	Executed store
2023-10-13	12:58:50	2099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861591','26')
2023-10-13	12:58:50	2099	[DEBUG]	Find the custom field ID
2023-10-13	12:58:50	2099	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:58:50	2099	[DEBUG]	No custom field ID found
2023-10-13	12:58:50	2099	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:50	2099	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:58:50	2099	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861591 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:50	2099	[DEBUG]	Store custom available field
2023-10-13	12:58:50	2099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861591,3,'0',1)
2023-10-13	12:58:50	2099	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:50	2099	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:58:50	2099	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861591 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:50	2099	[DEBUG]	Store custom available field
2023-10-13	12:58:50	2099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861591,6,'choisir la taille',3)
2023-10-13	12:58:50	2099	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:50	2099	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:58:50	2099	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:58:50	2099	[DEBUG]	Find the multi variant product entry
2023-10-13	12:58:50	2099	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861591 AND `virtuemart_custom_id` = 8
2023-10-13	12:58:50	2099	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:58:50	2099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861591,8,1)
2023-10-13	12:58:50	2099	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:50	2099	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861591\":[1861591,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861591
2023-10-13	12:58:50	2099	[DEBUG]	Checking category
2023-10-13	12:58:50	2099	[DEBUG]	Get the existing categories for the product
2023-10-13	12:58:50	2099	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861591
2023-10-13	12:58:50	2099	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:58:50	2099	[DEBUG]	Executed store
2023-10-13	12:58:50	2099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861591','7337')
2023-10-13	12:58:50	2099	[DEBUG]	Delete leftover product categories
2023-10-13	12:58:50	2099	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861591 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:58:50	2099	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:50	2099	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861591
2023-10-13	12:58:50	2100	[DEBUG]	Use field value for field product_sku
2023-10-13	12:58:50	2100	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:58:50	2100	[DEBUG]	Use field value for field taille
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:58:50	2100	[DEBUG]	Use field value for field product_name
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field category_path
2023-10-13	12:58:50	2100	[DEBUG]	Use field value for field product_price
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:58:50	2100	[DEBUG]	Use field value for field product_tax
2023-10-13	12:58:50	2100	[DEBUG]	Use field value for field file_url
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field product_desc
2023-10-13	12:58:50	2100	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:58:50	2100	[DEBUG]	Use field value for field product_availability
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field product_weight
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field product_unit
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field related_products
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field product_special
2023-10-13	12:58:50	2100	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:58:50	2100	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:58:50	2100	[DEBUG]	Use field value for field published
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field metadesc
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field metakey
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field custom_title
2023-10-13	12:58:50	2100	[DEBUG]	Use field value for field custom_value
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field custom_param
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field override
2023-10-13	12:58:50	2100	[DEBUG]	Use default value for field public_price
2023-10-13	12:58:50	2100	[DEBUG]	Use field value for field slug
2023-10-13	12:58:50	2100	[DEBUG]	Process line 2100
2023-10-13	12:58:50	2100	[DEBUG]	Load a row
2023-10-13	12:58:50	2100	[DEBUG]	Processing item: 4550170598396
2023-10-13	12:58:50	2100	[DEBUG]	Looking for parent SKU
2023-10-13	12:58:50	2100	[DEBUG]	Checking product parent SKU
2023-10-13	12:58:50	2100	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5046_208'
2023-10-13	12:58:50	2100	[DEBUG]	Product tax: 7.7
2023-10-13	12:58:50	2100	[DEBUG]	Processing product tax
2023-10-13	12:58:50	2100	[DEBUG]	Check if calculation rule exists
2023-10-13	12:58:50	2100	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:58:50	2100	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:58:50	2100	[DEBUG]	Query for Product
2023-10-13	12:58:50	2100	[DEBUG]	Executed store
2023-10-13	12:58:50	2100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861591','4550170598396','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0')
2023-10-13	12:58:50	2100	[DEBUG]	No parent found
2023-10-13	12:58:50	2100	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861591 AND customfield_value = 'stockable'
2023-10-13	12:58:50	2100	[DEBUG]	Check product language entry
2023-10-13	12:58:50	2100	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861592
2023-10-13	12:58:50	2100	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:50	2100	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170598396' AND `virtuemart_product_id` != 1861592
2023-10-13	12:58:50	2100	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:58:50	2100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861592, '4550170598396')
2023-10-13	12:58:50	2100	[DEBUG]	Check if the product slug exists
2023-10-13	12:58:50	2100	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt76-160-mm-6-trous-box-aucune-all' AND `virtuemart_product_id` != 1861592
2023-10-13	12:58:50	2100	[DEBUG]	Query for ProductLang
2023-10-13	12:58:50	2100	[DEBUG]	Executed store
2023-10-13	12:58:50	2100	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore XT SM-RT76 160 mm 6-trous  box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt76-160-mm-6-trous-box-aucune-all' WHERE `virtuemart_product_id` = '1861592'
2023-10-13	12:58:50	2100	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29500_shimano_disque_deore_xt_sm-rt76_160_mm_6-trous__box.jpg
2023-10-13	12:58:50	2100	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:50	2100	[DEBUG]	Process image file
2023-10-13	12:58:50	2100	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:58:50	2100	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:58:50	2100	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29500_shimano_disque_deore_xt_sm-rt76_160_mm_6-trous__box.jpg
2023-10-13	12:58:50	2100	[DEBUG]	Full name target: bcprisme/29500_shimano_disque_deore_xt_sm-rt76_160_mm_6-trous__box.jpg
2023-10-13	12:58:51	2100	[DEBUG]	Checking if the file_url exists
2023-10-13	12:58:51	2100	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29500_shimano_disque_deore_xt_sm-rt76_160_mm_6-trous__box.jpg'
2023-10-13	12:58:51	2100	[DEBUG]	Query for Media
2023-10-13	12:58:51	2100	[DEBUG]	Executed store
2023-10-13	12:58:51	2100	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29500_shimano_disque_deore_xt_sm-rt76_160_mm_6-trous__box.jpg',`file_url_thumb`='bcprisme/29500_shimano_disque_deore_xt_sm-rt76_160_mm_6-trous__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12756'
2023-10-13	12:58:51	2100	[DEBUG]	Query for ProductMedia
2023-10-13	12:58:51	2100	[DEBUG]	Executed store
2023-10-13	12:58:51	2100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861592','12756','1')
2023-10-13	12:58:51	2100	[DEBUG]	Store product image relation
2023-10-13	12:58:51	2100	[DEBUG]	Finding a product_price_id
2023-10-13	12:58:51	2100	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861592 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:58:51	2100	[DEBUG]	Query for ProductPrice
2023-10-13	12:58:51	2100	[DEBUG]	Executed store
2023-10-13	12:58:51	2100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861592','0','45.4038997214485','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:57:13','1593','2023-10-13 12:57:13','1593','0000-00-00 00:00:00','0')
2023-10-13	12:58:51	2100	[DEBUG]	Checking manufacturer
2023-10-13	12:58:51	2100	[DEBUG]	Load a row
2023-10-13	12:58:51	2100	[DEBUG]	Manufacturer already exists
2023-10-13	12:58:51	2100	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:51	2100	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:58:51	2100	[DEBUG]	Executed store
2023-10-13	12:58:51	2100	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:58:51	2100	[DEBUG]	Manufacturer exists
2023-10-13	12:58:51	2100	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:58:51	2100	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:58:51	2100	[DEBUG]	Executed store
2023-10-13	12:58:51	2100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861592','26')
2023-10-13	12:58:51	2100	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:58:51	2100	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:58:51	2100	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861592 AND `virtuemart_custom_id` = 3
2023-10-13	12:58:51	2100	[DEBUG]	Store custom available field
2023-10-13	12:58:51	2100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861592,3,'',1)
2023-10-13	12:58:51	2100	[DEBUG]	Processing custom available field: taille
2023-10-13	12:58:51	2100	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:58:51	2100	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861592 AND `virtuemart_custom_id` = 6
2023-10-13	12:58:51	2100	[DEBUG]	Store custom available field
2023-10-13	12:58:51	2100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861592,6,'All',3)
2023-10-13	12:58:51	2100	[DEBUG]	Process multi-variant fields
2023-10-13	12:58:51	2100	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:58:51	2100	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861591
2023-10-13	12:58:51	2100	[DEBUG]	Store the updated customfield_params
2023-10-13	12:58:51	2100	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861591\":[1861591,8,1,\"choisir la taille\"],\"1861592\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861591
2023-10-13	12:58:51	2100	[DEBUG]	Update has fields after all processing
2023-10-13	12:58:51	2100	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861592
2023-10-13	12:59:11	2100	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	12:59:11	2100	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	12:59:11	2100	[DEBUG]	Load the fields to process
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: product_sku
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: product_parent_sku
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: taille
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: multi_variant_title
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: product_name
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: category_path
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: product_price
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: product_override_price
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: product_tax
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: file_url
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: product_s_desc
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: product_desc
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: product_in_stock
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: product_availability
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: product_weight
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: product_unit
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: related_products
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: product_special
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: manufacturer_name
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: manufacturer_id
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: published
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: metadesc
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: metakey
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: custom_title
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: custom_value
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: custom_param
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: override
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: public_price
2023-10-13	12:59:11	2100	[DEBUG]	Setup field: slug
2023-10-13	12:59:11	2100	[DEBUG]	Use the file for configuration
2023-10-13	12:59:11	2100	[DEBUG]	Get all CF4All custom field title
2023-10-13	12:59:11	2100	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:59:11	2100	[DEBUG]	Load the custom fields
2023-10-13	12:59:11	2100	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	12:59:11	2100	[DEBUG]	Load stockable custom fields
2023-10-13	12:59:11	2100	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	12:59:11	2100	[DEBUG]	Load custom fields for all
2023-10-13	12:59:11	2100	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:11	2101	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field taille
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:11	2101	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:11	2101	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:11	2101	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:11	2101	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:11	2101	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:11	2101	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field published
2023-10-13	12:59:11	2101	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:11	2101	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field override
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:11	2101	[DEBUG]	Use field value for field slug
2023-10-13	12:59:11	2101	[DEBUG]	Process line 2101
2023-10-13	12:59:11	2101	[DEBUG]	Check if the vendor exists
2023-10-13	12:59:11	2101	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5566_4'
2023-10-13	12:59:11	2101	[DEBUG]	Load a row
2023-10-13	12:59:11	2101	[DEBUG]	Processing item: A_5566_4
2023-10-13	12:59:11	2101	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:11	2101	[DEBUG]	Processing product tax
2023-10-13	12:59:11	2101	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:11	2101	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:11	2101	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:11	2101	[DEBUG]	Query for Product
2023-10-13	12:59:11	2101	[DEBUG]	Executed store
2023-10-13	12:59:11	2101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5566_4','0.1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:11	2101	[DEBUG]	Check product language entry
2023-10-13	12:59:11	2101	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861593
2023-10-13	12:59:11	2101	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:11	2101	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5566_4' AND `virtuemart_product_id` != 1861593
2023-10-13	12:59:11	2101	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:11	2101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861593, 'A_5566_4')
2023-10-13	12:59:11	2101	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:11	2101	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt81-160-mm-center-lock-box-acier' AND `virtuemart_product_id` != 1861593
2023-10-13	12:59:11	2101	[DEBUG]	Query for ProductLang
2023-10-13	12:59:11	2101	[DEBUG]	Executed store
2023-10-13	12:59:11	2101	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.52893',`product_name`='SHIMANO Disque Deore XT SM-RT81 160 mm Center-Lock box  / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt81-160-mm-center-lock-box-acier' WHERE `virtuemart_product_id` = '1861593'
2023-10-13	12:59:11	2101	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30065_shimano_disque_deore_xt_sm-rt81_160_mm_center-lock_box_(copie).jpg
2023-10-13	12:59:11	2101	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:11	2101	[DEBUG]	Process image file
2023-10-13	12:59:11	2101	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:11	2101	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:11	2101	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30065_shimano_disque_deore_xt_sm-rt81_160_mm_center-lock_box_(copie).jpg
2023-10-13	12:59:11	2101	[DEBUG]	Full name target: bcprisme/30065_shimano_disque_deore_xt_sm-rt81_160_mm_center-lock_box_(copie).jpg
2023-10-13	12:59:12	2101	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:12	2101	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30065_shimano_disque_deore_xt_sm-rt81_160_mm_center-lock_box_(copie).jpg'
2023-10-13	12:59:12	2101	[DEBUG]	Query for Media
2023-10-13	12:59:12	2101	[DEBUG]	Executed store
2023-10-13	12:59:12	2101	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30065_shimano_disque_deore_xt_sm-rt81_160_mm_center-lock_box_(copie).jpg',`file_url_thumb`='bcprisme/30065_shimano_disque_deore_xt_sm-rt81_160_mm_center-lock_box_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12757'
2023-10-13	12:59:12	2101	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:12	2101	[DEBUG]	Executed store
2023-10-13	12:59:12	2101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861593','12757','1')
2023-10-13	12:59:12	2101	[DEBUG]	Store product image relation
2023-10-13	12:59:12	2101	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:12	2101	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861593 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:12	2101	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:12	2101	[DEBUG]	Executed store
2023-10-13	12:59:12	2101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861593','0','49.1179201485608','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:12	2101	[DEBUG]	Checking manufacturer
2023-10-13	12:59:12	2101	[DEBUG]	Load a row
2023-10-13	12:59:12	2101	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:12	2101	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:12	2101	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:12	2101	[DEBUG]	Executed store
2023-10-13	12:59:12	2101	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:12	2101	[DEBUG]	Manufacturer exists
2023-10-13	12:59:12	2101	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:12	2101	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:12	2101	[DEBUG]	Executed store
2023-10-13	12:59:12	2101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861593','26')
2023-10-13	12:59:12	2101	[DEBUG]	Find the custom field ID
2023-10-13	12:59:12	2101	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:12	2101	[DEBUG]	No custom field ID found
2023-10-13	12:59:12	2101	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:12	2101	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:12	2101	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861593 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:12	2101	[DEBUG]	Store custom available field
2023-10-13	12:59:12	2101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861593,3,'0',1)
2023-10-13	12:59:12	2101	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:12	2101	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:12	2101	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861593 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:12	2101	[DEBUG]	Store custom available field
2023-10-13	12:59:12	2101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861593,6,'choisir la taille',3)
2023-10-13	12:59:12	2101	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:12	2101	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:12	2101	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:12	2101	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:12	2101	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861593 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:12	2101	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:12	2101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861593,8,1)
2023-10-13	12:59:12	2101	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:12	2101	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861593\":[1861593,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861593
2023-10-13	12:59:12	2101	[DEBUG]	Checking category
2023-10-13	12:59:12	2101	[DEBUG]	Check if category path exists: FREINS / DISQUES - BREMSE / BREMSCHEIBE
2023-10-13	12:59:12	2101	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / DISQUES - BREMSE / BREMSCHEIBE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	12:59:12	2101	[DEBUG]	Check if category path exists: DISQUES - BREMSCHEIBE
2023-10-13	12:59:12	2101	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'DISQUES - BREMSCHEIBE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7336
2023-10-13	12:59:12	2101	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:12	2101	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861593
2023-10-13	12:59:12	2101	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:12	2101	[DEBUG]	Executed store
2023-10-13	12:59:12	2101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861593','7337')
2023-10-13	12:59:13	2101	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:13	2101	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861593 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:13	2101	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:13	2101	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861593
2023-10-13	12:59:13	2102	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:13	2102	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:13	2102	[DEBUG]	Use field value for field taille
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:13	2102	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:13	2102	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:13	2102	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:13	2102	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:13	2102	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:13	2102	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:13	2102	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:13	2102	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:13	2102	[DEBUG]	Use field value for field published
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:13	2102	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field override
2023-10-13	12:59:13	2102	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:13	2102	[DEBUG]	Use field value for field slug
2023-10-13	12:59:13	2102	[DEBUG]	Process line 2102
2023-10-13	12:59:13	2102	[DEBUG]	Load a row
2023-10-13	12:59:13	2102	[DEBUG]	Processing item: 4524667388944
2023-10-13	12:59:13	2102	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:13	2102	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:13	2102	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5566_4'
2023-10-13	12:59:13	2102	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:13	2102	[DEBUG]	Processing product tax
2023-10-13	12:59:13	2102	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:13	2102	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:13	2102	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:13	2102	[DEBUG]	Query for Product
2023-10-13	12:59:13	2102	[DEBUG]	Executed store
2023-10-13	12:59:13	2102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861593','4524667388944','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:13	2102	[DEBUG]	No parent found
2023-10-13	12:59:13	2102	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861593 AND customfield_value = 'stockable'
2023-10-13	12:59:13	2102	[DEBUG]	Check product language entry
2023-10-13	12:59:13	2102	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861594
2023-10-13	12:59:13	2102	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:13	2102	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667388944' AND `virtuemart_product_id` != 1861594
2023-10-13	12:59:13	2102	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:13	2102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861594, '4524667388944')
2023-10-13	12:59:13	2102	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:13	2102	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt81-160-mm-center-lock-box-acier-all' AND `virtuemart_product_id` != 1861594
2023-10-13	12:59:13	2102	[DEBUG]	Query for ProductLang
2023-10-13	12:59:13	2102	[DEBUG]	Executed store
2023-10-13	12:59:13	2102	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore XT SM-RT81 160 mm Center-Lock box  / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt81-160-mm-center-lock-box-acier-all' WHERE `virtuemart_product_id` = '1861594'
2023-10-13	12:59:13	2102	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30065_shimano_disque_deore_xt_sm-rt81_160_mm_center-lock_box_(copie).jpg
2023-10-13	12:59:13	2102	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:13	2102	[DEBUG]	Process image file
2023-10-13	12:59:13	2102	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:13	2102	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:13	2102	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30065_shimano_disque_deore_xt_sm-rt81_160_mm_center-lock_box_(copie).jpg
2023-10-13	12:59:13	2102	[DEBUG]	Full name target: bcprisme/30065_shimano_disque_deore_xt_sm-rt81_160_mm_center-lock_box_(copie).jpg
2023-10-13	12:59:14	2102	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:14	2102	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30065_shimano_disque_deore_xt_sm-rt81_160_mm_center-lock_box_(copie).jpg'
2023-10-13	12:59:14	2102	[DEBUG]	Query for Media
2023-10-13	12:59:14	2102	[DEBUG]	Executed store
2023-10-13	12:59:14	2102	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30065_shimano_disque_deore_xt_sm-rt81_160_mm_center-lock_box_(copie).jpg',`file_url_thumb`='bcprisme/30065_shimano_disque_deore_xt_sm-rt81_160_mm_center-lock_box_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12757'
2023-10-13	12:59:14	2102	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:14	2102	[DEBUG]	Executed store
2023-10-13	12:59:14	2102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861594','12757','1')
2023-10-13	12:59:14	2102	[DEBUG]	Store product image relation
2023-10-13	12:59:14	2102	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:14	2102	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861594 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:14	2102	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:14	2102	[DEBUG]	Executed store
2023-10-13	12:59:14	2102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861594','0','49.1179201485608','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:14	2102	[DEBUG]	Checking manufacturer
2023-10-13	12:59:14	2102	[DEBUG]	Load a row
2023-10-13	12:59:14	2102	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:14	2102	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:14	2102	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:14	2102	[DEBUG]	Executed store
2023-10-13	12:59:14	2102	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:14	2102	[DEBUG]	Manufacturer exists
2023-10-13	12:59:14	2102	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:14	2102	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:14	2102	[DEBUG]	Executed store
2023-10-13	12:59:14	2102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861594','26')
2023-10-13	12:59:14	2102	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:14	2102	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:14	2102	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861594 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:14	2102	[DEBUG]	Store custom available field
2023-10-13	12:59:14	2102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861594,3,'',1)
2023-10-13	12:59:14	2102	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:14	2102	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:59:14	2102	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861594 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:14	2102	[DEBUG]	Store custom available field
2023-10-13	12:59:14	2102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861594,6,'All',3)
2023-10-13	12:59:14	2102	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:14	2102	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:14	2102	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861593
2023-10-13	12:59:14	2102	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:14	2102	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861593\":[1861593,8,1,\"choisir la taille\"],\"1861594\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861593
2023-10-13	12:59:14	2102	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:14	2102	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861594
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:14	2103	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field taille
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:14	2103	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:14	2103	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:14	2103	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:14	2103	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:14	2103	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:14	2103	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field published
2023-10-13	12:59:14	2103	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:14	2103	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field override
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:14	2103	[DEBUG]	Use field value for field slug
2023-10-13	12:59:14	2103	[DEBUG]	Process line 2103
2023-10-13	12:59:14	2103	[DEBUG]	Load a row
2023-10-13	12:59:14	2103	[DEBUG]	Processing item: A_5743_4
2023-10-13	12:59:14	2103	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:14	2103	[DEBUG]	Processing product tax
2023-10-13	12:59:14	2103	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:14	2103	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:14	2103	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:14	2103	[DEBUG]	Query for Product
2023-10-13	12:59:14	2103	[DEBUG]	Executed store
2023-10-13	12:59:14	2103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5743_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:14	2103	[DEBUG]	Check product language entry
2023-10-13	12:59:14	2103	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861595
2023-10-13	12:59:14	2103	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:14	2103	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5743_4' AND `virtuemart_product_id` != 1861595
2023-10-13	12:59:14	2103	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:14	2103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861595, 'A_5743_4')
2023-10-13	12:59:14	2103	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:14	2103	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt76-203-mm-6-trous-box-acier' AND `virtuemart_product_id` != 1861595
2023-10-13	12:59:14	2103	[DEBUG]	Query for ProductLang
2023-10-13	12:59:14	2103	[DEBUG]	Executed store
2023-10-13	12:59:14	2103	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.48759',`product_name`='SHIMANO Disque Deore XT SM-RT76 203 mm 6-trous  box / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt76-203-mm-6-trous-box-acier' WHERE `virtuemart_product_id` = '1861595'
2023-10-13	12:59:14	2103	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34748_shimano_disque_deore_xt_sm-rt76_203_mm_6-trous__box.jpg
2023-10-13	12:59:14	2103	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:14	2103	[DEBUG]	Process image file
2023-10-13	12:59:14	2103	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:14	2103	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:14	2103	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34748_shimano_disque_deore_xt_sm-rt76_203_mm_6-trous__box.jpg
2023-10-13	12:59:14	2103	[DEBUG]	Full name target: bcprisme/34748_shimano_disque_deore_xt_sm-rt76_203_mm_6-trous__box.jpg
2023-10-13	12:59:15	2103	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:15	2103	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34748_shimano_disque_deore_xt_sm-rt76_203_mm_6-trous__box.jpg'
2023-10-13	12:59:15	2103	[DEBUG]	Query for Media
2023-10-13	12:59:15	2103	[DEBUG]	Executed store
2023-10-13	12:59:15	2103	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34748_shimano_disque_deore_xt_sm-rt76_203_mm_6-trous__box.jpg',`file_url_thumb`='bcprisme/34748_shimano_disque_deore_xt_sm-rt76_203_mm_6-trous__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366567'
2023-10-13	12:59:15	2103	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:15	2103	[DEBUG]	Executed store
2023-10-13	12:59:15	2103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861595','366567','1')
2023-10-13	12:59:15	2103	[DEBUG]	Store product image relation
2023-10-13	12:59:15	2103	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:15	2103	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861595 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:15	2103	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:15	2103	[DEBUG]	Executed store
2023-10-13	12:59:15	2103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861595','0','52.8319405756732','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:15	2103	[DEBUG]	Checking manufacturer
2023-10-13	12:59:15	2103	[DEBUG]	Load a row
2023-10-13	12:59:15	2103	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:15	2103	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:59:15	2103	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:15	2103	[DEBUG]	Executed store
2023-10-13	12:59:15	2103	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:59:15	2103	[DEBUG]	Manufacturer exists
2023-10-13	12:59:15	2103	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:59:15	2103	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:15	2103	[DEBUG]	Executed store
2023-10-13	12:59:15	2103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861595','123')
2023-10-13	12:59:15	2103	[DEBUG]	Find the custom field ID
2023-10-13	12:59:15	2103	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:15	2103	[DEBUG]	No custom field ID found
2023-10-13	12:59:15	2103	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:15	2103	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:15	2103	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861595 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:15	2103	[DEBUG]	Store custom available field
2023-10-13	12:59:15	2103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861595,3,'0',1)
2023-10-13	12:59:15	2103	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:15	2103	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:15	2103	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861595 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:15	2103	[DEBUG]	Store custom available field
2023-10-13	12:59:15	2103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861595,6,'choisir la taille',3)
2023-10-13	12:59:15	2103	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:15	2103	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:15	2103	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:15	2103	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:15	2103	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861595 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:15	2103	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:15	2103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861595,8,1)
2023-10-13	12:59:15	2103	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:15	2103	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861595\":[1861595,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861595
2023-10-13	12:59:15	2103	[DEBUG]	Checking category
2023-10-13	12:59:15	2103	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:15	2103	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861595
2023-10-13	12:59:15	2103	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:15	2103	[DEBUG]	Executed store
2023-10-13	12:59:15	2103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861595','7337')
2023-10-13	12:59:15	2103	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:15	2103	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861595 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:15	2103	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:15	2103	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861595
2023-10-13	12:59:15	2104	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:15	2104	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:15	2104	[DEBUG]	Use field value for field taille
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:15	2104	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:15	2104	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:15	2104	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:15	2104	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:15	2104	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:15	2104	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:15	2104	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:15	2104	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:15	2104	[DEBUG]	Use field value for field published
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:15	2104	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field override
2023-10-13	12:59:15	2104	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:15	2104	[DEBUG]	Use field value for field slug
2023-10-13	12:59:15	2104	[DEBUG]	Process line 2104
2023-10-13	12:59:15	2104	[DEBUG]	Load a row
2023-10-13	12:59:15	2104	[DEBUG]	Processing item: 1000000123777
2023-10-13	12:59:15	2104	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:15	2104	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:15	2104	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5743_4'
2023-10-13	12:59:15	2104	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:15	2104	[DEBUG]	Processing product tax
2023-10-13	12:59:15	2104	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:15	2104	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:15	2104	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:15	2104	[DEBUG]	Query for Product
2023-10-13	12:59:15	2104	[DEBUG]	Executed store
2023-10-13	12:59:15	2104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861595','1000000123777','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:15	2104	[DEBUG]	No parent found
2023-10-13	12:59:15	2104	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861595 AND customfield_value = 'stockable'
2023-10-13	12:59:15	2104	[DEBUG]	Check product language entry
2023-10-13	12:59:15	2104	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861596
2023-10-13	12:59:15	2104	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:15	2104	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000123777' AND `virtuemart_product_id` != 1861596
2023-10-13	12:59:15	2104	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:15	2104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861596, '1000000123777')
2023-10-13	12:59:15	2104	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:15	2104	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt76-203-mm-6-trous-box-acier-all' AND `virtuemart_product_id` != 1861596
2023-10-13	12:59:15	2104	[DEBUG]	Query for ProductLang
2023-10-13	12:59:15	2104	[DEBUG]	Executed store
2023-10-13	12:59:15	2104	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore XT SM-RT76 203 mm 6-trous  box / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt76-203-mm-6-trous-box-acier-all' WHERE `virtuemart_product_id` = '1861596'
2023-10-13	12:59:15	2104	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34748_shimano_disque_deore_xt_sm-rt76_203_mm_6-trous__box.jpg
2023-10-13	12:59:15	2104	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:15	2104	[DEBUG]	Process image file
2023-10-13	12:59:15	2104	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:15	2104	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:15	2104	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34748_shimano_disque_deore_xt_sm-rt76_203_mm_6-trous__box.jpg
2023-10-13	12:59:15	2104	[DEBUG]	Full name target: bcprisme/34748_shimano_disque_deore_xt_sm-rt76_203_mm_6-trous__box.jpg
2023-10-13	12:59:16	2104	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:16	2104	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34748_shimano_disque_deore_xt_sm-rt76_203_mm_6-trous__box.jpg'
2023-10-13	12:59:16	2104	[DEBUG]	Query for Media
2023-10-13	12:59:16	2104	[DEBUG]	Executed store
2023-10-13	12:59:16	2104	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34748_shimano_disque_deore_xt_sm-rt76_203_mm_6-trous__box.jpg',`file_url_thumb`='bcprisme/34748_shimano_disque_deore_xt_sm-rt76_203_mm_6-trous__box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366567'
2023-10-13	12:59:16	2104	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:16	2104	[DEBUG]	Executed store
2023-10-13	12:59:16	2104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861596','366567','1')
2023-10-13	12:59:16	2104	[DEBUG]	Store product image relation
2023-10-13	12:59:16	2104	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:16	2104	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861596 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:16	2104	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:16	2104	[DEBUG]	Executed store
2023-10-13	12:59:16	2104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861596','0','52.8319405756732','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:16	2104	[DEBUG]	Checking manufacturer
2023-10-13	12:59:16	2104	[DEBUG]	Load a row
2023-10-13	12:59:16	2104	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:16	2104	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:59:16	2104	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:16	2104	[DEBUG]	Executed store
2023-10-13	12:59:16	2104	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:59:16	2104	[DEBUG]	Manufacturer exists
2023-10-13	12:59:16	2104	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:59:16	2104	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:16	2104	[DEBUG]	Executed store
2023-10-13	12:59:16	2104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861596','123')
2023-10-13	12:59:16	2104	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:16	2104	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:16	2104	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861596 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:16	2104	[DEBUG]	Store custom available field
2023-10-13	12:59:16	2104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861596,3,'',1)
2023-10-13	12:59:16	2104	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:16	2104	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:59:16	2104	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861596 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:16	2104	[DEBUG]	Store custom available field
2023-10-13	12:59:16	2104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861596,6,'All',3)
2023-10-13	12:59:16	2104	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:16	2104	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:16	2104	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861595
2023-10-13	12:59:16	2104	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:16	2104	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861595\":[1861595,8,1,\"choisir la taille\"],\"1861596\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861595
2023-10-13	12:59:16	2104	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:16	2104	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861596
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:16	2105	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field taille
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:16	2105	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:16	2105	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:16	2105	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:16	2105	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:16	2105	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:16	2105	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:16	2105	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field published
2023-10-13	12:59:16	2105	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:16	2105	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field override
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:16	2105	[DEBUG]	Use field value for field slug
2023-10-13	12:59:16	2105	[DEBUG]	Process line 2105
2023-10-13	12:59:16	2105	[DEBUG]	Load a row
2023-10-13	12:59:16	2105	[DEBUG]	Processing item: A_6065_1
2023-10-13	12:59:16	2105	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:16	2105	[DEBUG]	Processing product tax
2023-10-13	12:59:16	2105	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:16	2105	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:16	2105	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:16	2105	[DEBUG]	Query for Product
2023-10-13	12:59:16	2105	[DEBUG]	Executed store
2023-10-13	12:59:16	2105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6065_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:16	2105	[DEBUG]	Check product language entry
2023-10-13	12:59:16	2105	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861597
2023-10-13	12:59:16	2105	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:16	2105	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6065_1' AND `virtuemart_product_id` != 1861597
2023-10-13	12:59:16	2105	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:16	2105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861597, 'A_6065_1')
2023-10-13	12:59:16	2105	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:16	2105	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt800-140-mm-center-lock-box-noir' AND `virtuemart_product_id` != 1861597
2023-10-13	12:59:16	2105	[DEBUG]	Query for ProductLang
2023-10-13	12:59:16	2105	[DEBUG]	Executed store
2023-10-13	12:59:16	2105	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.69300',`product_name`='SHIMANO Disque Deore XT SM-RT800 140 mm Center-Lock box  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt800-140-mm-center-lock-box-noir' WHERE `virtuemart_product_id` = '1861597'
2023-10-13	12:59:16	2105	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31757_shimano_disque_deore_xt_sm-rt800_140_mm_center-lock_box_.jpg
2023-10-13	12:59:16	2105	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:16	2105	[DEBUG]	Process image file
2023-10-13	12:59:16	2105	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:16	2105	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:16	2105	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31757_shimano_disque_deore_xt_sm-rt800_140_mm_center-lock_box_.jpg
2023-10-13	12:59:16	2105	[DEBUG]	Full name target: bcprisme/31757_shimano_disque_deore_xt_sm-rt800_140_mm_center-lock_box_.jpg
2023-10-13	12:59:17	2105	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:17	2105	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31757_shimano_disque_deore_xt_sm-rt800_140_mm_center-lock_box_.jpg'
2023-10-13	12:59:17	2105	[DEBUG]	Query for Media
2023-10-13	12:59:17	2105	[DEBUG]	Executed store
2023-10-13	12:59:17	2105	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31757_shimano_disque_deore_xt_sm-rt800_140_mm_center-lock_box_.jpg',`file_url_thumb`='bcprisme/31757_shimano_disque_deore_xt_sm-rt800_140_mm_center-lock_box_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16557'
2023-10-13	12:59:17	2105	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:17	2105	[DEBUG]	Executed store
2023-10-13	12:59:17	2105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861597','16557','1')
2023-10-13	12:59:17	2105	[DEBUG]	Store product image relation
2023-10-13	12:59:17	2105	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:17	2105	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861597 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:17	2105	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:17	2105	[DEBUG]	Executed store
2023-10-13	12:59:17	2105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861597','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:17	2105	[DEBUG]	Checking manufacturer
2023-10-13	12:59:17	2105	[DEBUG]	Load a row
2023-10-13	12:59:17	2105	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:17	2105	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:17	2105	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:17	2105	[DEBUG]	Executed store
2023-10-13	12:59:17	2105	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:17	2105	[DEBUG]	Manufacturer exists
2023-10-13	12:59:17	2105	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:17	2105	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:17	2105	[DEBUG]	Executed store
2023-10-13	12:59:17	2105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861597','26')
2023-10-13	12:59:17	2105	[DEBUG]	Find the custom field ID
2023-10-13	12:59:17	2105	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:17	2105	[DEBUG]	No custom field ID found
2023-10-13	12:59:17	2105	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:17	2105	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:17	2105	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861597 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:17	2105	[DEBUG]	Store custom available field
2023-10-13	12:59:17	2105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861597,3,'0',1)
2023-10-13	12:59:17	2105	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:17	2105	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:17	2105	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861597 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:17	2105	[DEBUG]	Store custom available field
2023-10-13	12:59:17	2105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861597,6,'choisir la taille',3)
2023-10-13	12:59:17	2105	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:17	2105	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:17	2105	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:17	2105	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:17	2105	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861597 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:17	2105	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:17	2105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861597,8,1)
2023-10-13	12:59:17	2105	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:17	2105	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861597\":[1861597,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861597
2023-10-13	12:59:17	2105	[DEBUG]	Checking category
2023-10-13	12:59:17	2105	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:17	2105	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861597
2023-10-13	12:59:17	2105	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:17	2105	[DEBUG]	Executed store
2023-10-13	12:59:17	2105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861597','7337')
2023-10-13	12:59:17	2105	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:17	2105	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861597 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:17	2105	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:17	2105	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861597
2023-10-13	12:59:17	2106	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:17	2106	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:17	2106	[DEBUG]	Use field value for field taille
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:17	2106	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:17	2106	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:17	2106	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:17	2106	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:17	2106	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:17	2106	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:17	2106	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:17	2106	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:17	2106	[DEBUG]	Use field value for field published
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:17	2106	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field override
2023-10-13	12:59:17	2106	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:17	2106	[DEBUG]	Use field value for field slug
2023-10-13	12:59:17	2106	[DEBUG]	Process line 2106
2023-10-13	12:59:17	2106	[DEBUG]	Load a row
2023-10-13	12:59:17	2106	[DEBUG]	Processing item: 4524667728771
2023-10-13	12:59:17	2106	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:17	2106	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:17	2106	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6065_1'
2023-10-13	12:59:17	2106	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:17	2106	[DEBUG]	Processing product tax
2023-10-13	12:59:17	2106	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:17	2106	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:17	2106	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:17	2106	[DEBUG]	Query for Product
2023-10-13	12:59:17	2106	[DEBUG]	Executed store
2023-10-13	12:59:17	2106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861597','4524667728771','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:17	2106	[DEBUG]	No parent found
2023-10-13	12:59:17	2106	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861597 AND customfield_value = 'stockable'
2023-10-13	12:59:17	2106	[DEBUG]	Check product language entry
2023-10-13	12:59:17	2106	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861598
2023-10-13	12:59:17	2106	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:17	2106	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667728771' AND `virtuemart_product_id` != 1861598
2023-10-13	12:59:17	2106	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:17	2106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861598, '4524667728771')
2023-10-13	12:59:17	2106	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:17	2106	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt800-140-mm-center-lock-box-noir-all' AND `virtuemart_product_id` != 1861598
2023-10-13	12:59:17	2106	[DEBUG]	Query for ProductLang
2023-10-13	12:59:17	2106	[DEBUG]	Executed store
2023-10-13	12:59:17	2106	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore XT SM-RT800 140 mm Center-Lock box  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt800-140-mm-center-lock-box-noir-all' WHERE `virtuemart_product_id` = '1861598'
2023-10-13	12:59:17	2106	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31757_shimano_disque_deore_xt_sm-rt800_140_mm_center-lock_box_.jpg
2023-10-13	12:59:17	2106	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:17	2106	[DEBUG]	Process image file
2023-10-13	12:59:17	2106	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:17	2106	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:17	2106	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31757_shimano_disque_deore_xt_sm-rt800_140_mm_center-lock_box_.jpg
2023-10-13	12:59:17	2106	[DEBUG]	Full name target: bcprisme/31757_shimano_disque_deore_xt_sm-rt800_140_mm_center-lock_box_.jpg
2023-10-13	12:59:18	2106	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:18	2106	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31757_shimano_disque_deore_xt_sm-rt800_140_mm_center-lock_box_.jpg'
2023-10-13	12:59:18	2106	[DEBUG]	Query for Media
2023-10-13	12:59:18	2106	[DEBUG]	Executed store
2023-10-13	12:59:18	2106	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31757_shimano_disque_deore_xt_sm-rt800_140_mm_center-lock_box_.jpg',`file_url_thumb`='bcprisme/31757_shimano_disque_deore_xt_sm-rt800_140_mm_center-lock_box_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16557'
2023-10-13	12:59:18	2106	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:18	2106	[DEBUG]	Executed store
2023-10-13	12:59:18	2106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861598','16557','1')
2023-10-13	12:59:18	2106	[DEBUG]	Store product image relation
2023-10-13	12:59:18	2106	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:18	2106	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861598 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:18	2106	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:18	2106	[DEBUG]	Executed store
2023-10-13	12:59:18	2106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861598','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:18	2106	[DEBUG]	Checking manufacturer
2023-10-13	12:59:18	2106	[DEBUG]	Load a row
2023-10-13	12:59:18	2106	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:18	2106	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:18	2106	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:18	2106	[DEBUG]	Executed store
2023-10-13	12:59:18	2106	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:18	2106	[DEBUG]	Manufacturer exists
2023-10-13	12:59:18	2106	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:18	2106	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:18	2106	[DEBUG]	Executed store
2023-10-13	12:59:18	2106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861598','26')
2023-10-13	12:59:18	2106	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:18	2106	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:18	2106	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861598 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:18	2106	[DEBUG]	Store custom available field
2023-10-13	12:59:18	2106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861598,3,'',1)
2023-10-13	12:59:18	2106	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:18	2106	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:59:18	2106	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861598 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:18	2106	[DEBUG]	Store custom available field
2023-10-13	12:59:18	2106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861598,6,'All',3)
2023-10-13	12:59:18	2106	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:18	2106	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:18	2106	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861597
2023-10-13	12:59:18	2106	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:18	2106	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861597\":[1861597,8,1,\"choisir la taille\"],\"1861598\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861597
2023-10-13	12:59:18	2106	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:18	2106	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861598
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:18	2107	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field taille
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:18	2107	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:18	2107	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:18	2107	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:18	2107	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:18	2107	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:18	2107	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field published
2023-10-13	12:59:18	2107	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:18	2107	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field override
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:18	2107	[DEBUG]	Use field value for field slug
2023-10-13	12:59:18	2107	[DEBUG]	Process line 2107
2023-10-13	12:59:18	2107	[DEBUG]	Load a row
2023-10-13	12:59:18	2107	[DEBUG]	Processing item: A_6446_4
2023-10-13	12:59:18	2107	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:18	2107	[DEBUG]	Processing product tax
2023-10-13	12:59:18	2107	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:18	2107	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:18	2107	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:18	2107	[DEBUG]	Query for Product
2023-10-13	12:59:18	2107	[DEBUG]	Executed store
2023-10-13	12:59:18	2107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6446_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:18	2107	[DEBUG]	Check product language entry
2023-10-13	12:59:18	2107	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861599
2023-10-13	12:59:18	2107	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:18	2107	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6446_4' AND `virtuemart_product_id` != 1861599
2023-10-13	12:59:18	2107	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:18	2107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861599, 'A_6446_4')
2023-10-13	12:59:18	2107	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:18	2107	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-centerline-x-140mm-centerlock-acier' AND `virtuemart_product_id` != 1861599
2023-10-13	12:59:18	2107	[DEBUG]	Query for ProductLang
2023-10-13	12:59:18	2107	[DEBUG]	Executed store
2023-10-13	12:59:18	2107	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7538V',`product_name`='SRAM Rotor Centerline X 140mm CenterLock / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-centerline-x-140mm-centerlock-acier' WHERE `virtuemart_product_id` = '1861599'
2023-10-13	12:59:18	2107	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32330_rotor_centerline_x_140mm_centerlock.jpg
2023-10-13	12:59:18	2107	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:18	2107	[DEBUG]	Process image file
2023-10-13	12:59:18	2107	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:18	2107	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:18	2107	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32330_rotor_centerline_x_140mm_centerlock.jpg
2023-10-13	12:59:18	2107	[DEBUG]	Full name target: bcprisme/32330_rotor_centerline_x_140mm_centerlock.jpg
2023-10-13	12:59:19	2107	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:19	2107	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32330_rotor_centerline_x_140mm_centerlock.jpg'
2023-10-13	12:59:19	2107	[DEBUG]	Query for Media
2023-10-13	12:59:19	2107	[DEBUG]	Executed store
2023-10-13	12:59:19	2107	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32330_rotor_centerline_x_140mm_centerlock.jpg',`file_url_thumb`='bcprisme/32330_rotor_centerline_x_140mm_centerlock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16558'
2023-10-13	12:59:19	2107	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:19	2107	[DEBUG]	Executed store
2023-10-13	12:59:19	2107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861599','16558','1')
2023-10-13	12:59:19	2107	[DEBUG]	Store product image relation
2023-10-13	12:59:19	2107	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:19	2107	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861599 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:19	2107	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:19	2107	[DEBUG]	Executed store
2023-10-13	12:59:19	2107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861599','0','80.7799442896936','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:19	2107	[DEBUG]	Checking manufacturer
2023-10-13	12:59:19	2107	[DEBUG]	Load a row
2023-10-13	12:59:19	2107	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:19	2107	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:59:19	2107	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:19	2107	[DEBUG]	Executed store
2023-10-13	12:59:19	2107	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:59:19	2107	[DEBUG]	Manufacturer exists
2023-10-13	12:59:19	2107	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:59:19	2107	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:19	2107	[DEBUG]	Executed store
2023-10-13	12:59:19	2107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861599','35')
2023-10-13	12:59:19	2107	[DEBUG]	Find the custom field ID
2023-10-13	12:59:19	2107	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:19	2107	[DEBUG]	No custom field ID found
2023-10-13	12:59:19	2107	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:19	2107	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:19	2107	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861599 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:19	2107	[DEBUG]	Store custom available field
2023-10-13	12:59:19	2107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861599,3,'0',1)
2023-10-13	12:59:19	2107	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:19	2107	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:19	2107	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861599 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:19	2107	[DEBUG]	Store custom available field
2023-10-13	12:59:19	2107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861599,6,'choisir la taille',3)
2023-10-13	12:59:19	2107	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:19	2107	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:19	2107	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:19	2107	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:19	2107	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861599 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:19	2107	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:19	2107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861599,8,1)
2023-10-13	12:59:19	2107	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:19	2107	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861599\":[1861599,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861599
2023-10-13	12:59:19	2107	[DEBUG]	Checking category
2023-10-13	12:59:19	2107	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:19	2107	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861599
2023-10-13	12:59:19	2107	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:19	2107	[DEBUG]	Executed store
2023-10-13	12:59:19	2107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861599','7337')
2023-10-13	12:59:19	2107	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:19	2107	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861599 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:19	2107	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:19	2107	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861599
2023-10-13	12:59:19	2108	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:19	2108	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:19	2108	[DEBUG]	Use field value for field taille
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:19	2108	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:19	2108	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:19	2108	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:19	2108	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:19	2108	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:19	2108	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:19	2108	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:19	2108	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:19	2108	[DEBUG]	Use field value for field published
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:19	2108	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field override
2023-10-13	12:59:19	2108	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:19	2108	[DEBUG]	Use field value for field slug
2023-10-13	12:59:19	2108	[DEBUG]	Process line 2108
2023-10-13	12:59:19	2108	[DEBUG]	Load a row
2023-10-13	12:59:19	2108	[DEBUG]	Processing item: 710845805608
2023-10-13	12:59:19	2108	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:19	2108	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:19	2108	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6446_4'
2023-10-13	12:59:19	2108	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:19	2108	[DEBUG]	Processing product tax
2023-10-13	12:59:19	2108	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:19	2108	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:19	2108	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:19	2108	[DEBUG]	Query for Product
2023-10-13	12:59:19	2108	[DEBUG]	Executed store
2023-10-13	12:59:19	2108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861599','710845805608','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:19	2108	[DEBUG]	No parent found
2023-10-13	12:59:19	2108	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861599 AND customfield_value = 'stockable'
2023-10-13	12:59:19	2108	[DEBUG]	Check product language entry
2023-10-13	12:59:19	2108	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861600
2023-10-13	12:59:19	2108	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:19	2108	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845805608' AND `virtuemart_product_id` != 1861600
2023-10-13	12:59:19	2108	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:19	2108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861600, '710845805608')
2023-10-13	12:59:19	2108	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:19	2108	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-centerline-x-140mm-centerlock-acier-all' AND `virtuemart_product_id` != 1861600
2023-10-13	12:59:19	2108	[DEBUG]	Query for ProductLang
2023-10-13	12:59:19	2108	[DEBUG]	Executed store
2023-10-13	12:59:19	2108	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Rotor Centerline X 140mm CenterLock / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-centerline-x-140mm-centerlock-acier-all' WHERE `virtuemart_product_id` = '1861600'
2023-10-13	12:59:19	2108	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32330_rotor_centerline_x_140mm_centerlock.jpg
2023-10-13	12:59:19	2108	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:19	2108	[DEBUG]	Process image file
2023-10-13	12:59:19	2108	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:19	2108	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:19	2108	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32330_rotor_centerline_x_140mm_centerlock.jpg
2023-10-13	12:59:19	2108	[DEBUG]	Full name target: bcprisme/32330_rotor_centerline_x_140mm_centerlock.jpg
2023-10-13	12:59:20	2108	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:20	2108	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32330_rotor_centerline_x_140mm_centerlock.jpg'
2023-10-13	12:59:20	2108	[DEBUG]	Query for Media
2023-10-13	12:59:20	2108	[DEBUG]	Executed store
2023-10-13	12:59:20	2108	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32330_rotor_centerline_x_140mm_centerlock.jpg',`file_url_thumb`='bcprisme/32330_rotor_centerline_x_140mm_centerlock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16558'
2023-10-13	12:59:20	2108	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:20	2108	[DEBUG]	Executed store
2023-10-13	12:59:20	2108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861600','16558','1')
2023-10-13	12:59:20	2108	[DEBUG]	Store product image relation
2023-10-13	12:59:20	2108	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:20	2108	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861600 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:20	2108	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:20	2108	[DEBUG]	Executed store
2023-10-13	12:59:20	2108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861600','0','80.7799442896936','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:20	2108	[DEBUG]	Checking manufacturer
2023-10-13	12:59:20	2108	[DEBUG]	Load a row
2023-10-13	12:59:20	2108	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:20	2108	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:59:20	2108	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:20	2108	[DEBUG]	Executed store
2023-10-13	12:59:20	2108	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:59:20	2108	[DEBUG]	Manufacturer exists
2023-10-13	12:59:20	2108	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:59:20	2108	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:20	2108	[DEBUG]	Executed store
2023-10-13	12:59:20	2108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861600','35')
2023-10-13	12:59:20	2108	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:20	2108	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:20	2108	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861600 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:20	2108	[DEBUG]	Store custom available field
2023-10-13	12:59:20	2108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861600,3,'',1)
2023-10-13	12:59:20	2108	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:20	2108	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:59:20	2108	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861600 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:20	2108	[DEBUG]	Store custom available field
2023-10-13	12:59:20	2108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861600,6,'All',3)
2023-10-13	12:59:20	2108	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:20	2108	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:20	2108	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861599
2023-10-13	12:59:20	2108	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:20	2108	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861599\":[1861599,8,1,\"choisir la taille\"],\"1861600\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861599
2023-10-13	12:59:20	2108	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:20	2108	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861600
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:20	2109	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field taille
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:20	2109	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:20	2109	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:20	2109	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:20	2109	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:20	2109	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:20	2109	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field published
2023-10-13	12:59:20	2109	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:20	2109	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field override
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:20	2109	[DEBUG]	Use field value for field slug
2023-10-13	12:59:20	2109	[DEBUG]	Process line 2109
2023-10-13	12:59:20	2109	[DEBUG]	Load a row
2023-10-13	12:59:20	2109	[DEBUG]	Processing item: A_6746_208
2023-10-13	12:59:20	2109	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:20	2109	[DEBUG]	Processing product tax
2023-10-13	12:59:20	2109	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:20	2109	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:20	2109	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:20	2109	[DEBUG]	Query for Product
2023-10-13	12:59:20	2109	[DEBUG]	Executed store
2023-10-13	12:59:20	2109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6746_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:20	2109	[DEBUG]	Check product language entry
2023-10-13	12:59:20	2109	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861601
2023-10-13	12:59:20	2109	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:20	2109	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6746_208' AND `virtuemart_product_id` != 1861601
2023-10-13	12:59:20	2109	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:20	2109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861601, 'A_6746_208')
2023-10-13	12:59:20	2109	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:20	2109	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-saint-sm-rt900-140-mm-center-lock-box-aucune' AND `virtuemart_product_id` != 1861601
2023-10-13	12:59:20	2109	[DEBUG]	Query for ProductLang
2023-10-13	12:59:20	2109	[DEBUG]	Executed store
2023-10-13	12:59:20	2109	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.67024',`product_name`='SHIMANO Disque Saint SM-RT900 140 mm Center-Lock box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-saint-sm-rt900-140-mm-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861601'
2023-10-13	12:59:20	2109	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32892_shimano_disque_saint_sm-rt900_140_mm_center-lock_box.jpg
2023-10-13	12:59:20	2109	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:20	2109	[DEBUG]	Process image file
2023-10-13	12:59:20	2109	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:20	2109	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:20	2109	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32892_shimano_disque_saint_sm-rt900_140_mm_center-lock_box.jpg
2023-10-13	12:59:20	2109	[DEBUG]	Full name target: bcprisme/32892_shimano_disque_saint_sm-rt900_140_mm_center-lock_box.jpg
2023-10-13	12:59:21	2109	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:21	2109	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32892_shimano_disque_saint_sm-rt900_140_mm_center-lock_box.jpg'
2023-10-13	12:59:21	2109	[DEBUG]	Query for Media
2023-10-13	12:59:21	2109	[DEBUG]	Executed store
2023-10-13	12:59:21	2109	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32892_shimano_disque_saint_sm-rt900_140_mm_center-lock_box.jpg',`file_url_thumb`='bcprisme/32892_shimano_disque_saint_sm-rt900_140_mm_center-lock_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15286'
2023-10-13	12:59:21	2109	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:21	2109	[DEBUG]	Executed store
2023-10-13	12:59:21	2109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861601','15286','1')
2023-10-13	12:59:21	2109	[DEBUG]	Store product image relation
2023-10-13	12:59:21	2109	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:21	2109	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861601 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:21	2109	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:21	2109	[DEBUG]	Executed store
2023-10-13	12:59:21	2109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861601','0','90.9935004642526','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:21	2109	[DEBUG]	Checking manufacturer
2023-10-13	12:59:21	2109	[DEBUG]	Load a row
2023-10-13	12:59:21	2109	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:21	2109	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:59:21	2109	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:21	2109	[DEBUG]	Executed store
2023-10-13	12:59:21	2109	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:59:21	2109	[DEBUG]	Manufacturer exists
2023-10-13	12:59:21	2109	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:59:21	2109	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:21	2109	[DEBUG]	Executed store
2023-10-13	12:59:21	2109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861601','123')
2023-10-13	12:59:21	2109	[DEBUG]	Find the custom field ID
2023-10-13	12:59:21	2109	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:21	2109	[DEBUG]	No custom field ID found
2023-10-13	12:59:21	2109	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:21	2109	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:21	2109	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861601 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:21	2109	[DEBUG]	Store custom available field
2023-10-13	12:59:21	2109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861601,3,'0',1)
2023-10-13	12:59:21	2109	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:21	2109	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:21	2109	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861601 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:21	2109	[DEBUG]	Store custom available field
2023-10-13	12:59:21	2109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861601,6,'choisir la taille',3)
2023-10-13	12:59:21	2109	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:21	2109	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:21	2109	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:21	2109	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:21	2109	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861601 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:21	2109	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:21	2109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861601,8,1)
2023-10-13	12:59:21	2109	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:21	2109	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861601\":[1861601,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861601
2023-10-13	12:59:21	2109	[DEBUG]	Checking category
2023-10-13	12:59:21	2109	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:21	2109	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861601
2023-10-13	12:59:21	2109	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:21	2109	[DEBUG]	Executed store
2023-10-13	12:59:21	2109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861601','7337')
2023-10-13	12:59:21	2109	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:21	2109	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861601 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:21	2109	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:21	2109	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861601
2023-10-13	12:59:21	2110	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:21	2110	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:21	2110	[DEBUG]	Use field value for field taille
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:21	2110	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:21	2110	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:21	2110	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:21	2110	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:21	2110	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:21	2110	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:21	2110	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:21	2110	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:21	2110	[DEBUG]	Use field value for field published
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:21	2110	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field override
2023-10-13	12:59:21	2110	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:21	2110	[DEBUG]	Use field value for field slug
2023-10-13	12:59:21	2110	[DEBUG]	Process line 2110
2023-10-13	12:59:21	2110	[DEBUG]	Load a row
2023-10-13	12:59:21	2110	[DEBUG]	Processing item: 4524667746379
2023-10-13	12:59:21	2110	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:21	2110	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:21	2110	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6746_208'
2023-10-13	12:59:21	2110	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:21	2110	[DEBUG]	Processing product tax
2023-10-13	12:59:21	2110	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:21	2110	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:21	2110	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:21	2110	[DEBUG]	Query for Product
2023-10-13	12:59:21	2110	[DEBUG]	Executed store
2023-10-13	12:59:21	2110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861601','4524667746379','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:21	2110	[DEBUG]	No parent found
2023-10-13	12:59:21	2110	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861601 AND customfield_value = 'stockable'
2023-10-13	12:59:21	2110	[DEBUG]	Check product language entry
2023-10-13	12:59:21	2110	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861602
2023-10-13	12:59:21	2110	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:21	2110	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667746379' AND `virtuemart_product_id` != 1861602
2023-10-13	12:59:21	2110	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:21	2110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861602, '4524667746379')
2023-10-13	12:59:21	2110	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:21	2110	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-saint-sm-rt900-140-mm-center-lock-box-aucune-all' AND `virtuemart_product_id` != 1861602
2023-10-13	12:59:21	2110	[DEBUG]	Query for ProductLang
2023-10-13	12:59:21	2110	[DEBUG]	Executed store
2023-10-13	12:59:21	2110	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Saint SM-RT900 140 mm Center-Lock box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-saint-sm-rt900-140-mm-center-lock-box-aucune-all' WHERE `virtuemart_product_id` = '1861602'
2023-10-13	12:59:21	2110	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32892_shimano_disque_saint_sm-rt900_140_mm_center-lock_box.jpg
2023-10-13	12:59:21	2110	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:21	2110	[DEBUG]	Process image file
2023-10-13	12:59:21	2110	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:21	2110	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:21	2110	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32892_shimano_disque_saint_sm-rt900_140_mm_center-lock_box.jpg
2023-10-13	12:59:21	2110	[DEBUG]	Full name target: bcprisme/32892_shimano_disque_saint_sm-rt900_140_mm_center-lock_box.jpg
2023-10-13	12:59:22	2110	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:22	2110	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32892_shimano_disque_saint_sm-rt900_140_mm_center-lock_box.jpg'
2023-10-13	12:59:22	2110	[DEBUG]	Query for Media
2023-10-13	12:59:22	2110	[DEBUG]	Executed store
2023-10-13	12:59:22	2110	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32892_shimano_disque_saint_sm-rt900_140_mm_center-lock_box.jpg',`file_url_thumb`='bcprisme/32892_shimano_disque_saint_sm-rt900_140_mm_center-lock_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15286'
2023-10-13	12:59:22	2110	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:22	2110	[DEBUG]	Executed store
2023-10-13	12:59:22	2110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861602','15286','1')
2023-10-13	12:59:22	2110	[DEBUG]	Store product image relation
2023-10-13	12:59:22	2110	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:22	2110	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861602 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:22	2110	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:22	2110	[DEBUG]	Executed store
2023-10-13	12:59:22	2110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861602','0','90.9935004642526','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:22	2110	[DEBUG]	Checking manufacturer
2023-10-13	12:59:22	2110	[DEBUG]	Load a row
2023-10-13	12:59:22	2110	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:22	2110	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:59:22	2110	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:22	2110	[DEBUG]	Executed store
2023-10-13	12:59:22	2110	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	12:59:22	2110	[DEBUG]	Manufacturer exists
2023-10-13	12:59:22	2110	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	12:59:22	2110	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:22	2110	[DEBUG]	Executed store
2023-10-13	12:59:22	2110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861602','123')
2023-10-13	12:59:22	2110	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:22	2110	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:22	2110	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861602 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:22	2110	[DEBUG]	Store custom available field
2023-10-13	12:59:22	2110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861602,3,'',1)
2023-10-13	12:59:22	2110	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:22	2110	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:59:22	2110	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861602 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:22	2110	[DEBUG]	Store custom available field
2023-10-13	12:59:22	2110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861602,6,'All',3)
2023-10-13	12:59:22	2110	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:22	2110	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:22	2110	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861601
2023-10-13	12:59:22	2110	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:22	2110	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861601\":[1861601,8,1,\"choisir la taille\"],\"1861602\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861601
2023-10-13	12:59:22	2110	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:22	2110	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861602
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:22	2111	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field taille
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:22	2111	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:22	2111	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:22	2111	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:22	2111	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:22	2111	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:22	2111	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field published
2023-10-13	12:59:22	2111	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:22	2111	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field override
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:22	2111	[DEBUG]	Use field value for field slug
2023-10-13	12:59:22	2111	[DEBUG]	Process line 2111
2023-10-13	12:59:22	2111	[DEBUG]	Load a row
2023-10-13	12:59:22	2111	[DEBUG]	Processing item: A_6757_4
2023-10-13	12:59:22	2111	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:22	2111	[DEBUG]	Processing product tax
2023-10-13	12:59:22	2111	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:22	2111	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:22	2111	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:22	2111	[DEBUG]	Query for Product
2023-10-13	12:59:22	2111	[DEBUG]	Executed store
2023-10-13	12:59:22	2111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6757_4','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:22	2111	[DEBUG]	Check product language entry
2023-10-13	12:59:22	2111	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861603
2023-10-13	12:59:22	2111	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:22	2111	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6757_4' AND `virtuemart_product_id` != 1861603
2023-10-13	12:59:22	2111	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:22	2111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861603, 'A_6757_4')
2023-10-13	12:59:22	2111	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:22	2111	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-de-frein-magura-storm-hc-180-mm-acier' AND `virtuemart_product_id` != 1861603
2023-10-13	12:59:22	2111	[DEBUG]	Query for ProductLang
2023-10-13	12:59:22	2111	[DEBUG]	Executed store
2023-10-13	12:59:22	2111	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8774N',`product_name`='MAGURA Disque de frein Magura Storm HC 180 mm / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-de-frein-magura-storm-hc-180-mm-acier' WHERE `virtuemart_product_id` = '1861603'
2023-10-13	12:59:22	2111	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32983_disque_de_frein_magura_storm_hc_180_mm.jpg
2023-10-13	12:59:22	2111	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:22	2111	[DEBUG]	Process image file
2023-10-13	12:59:22	2111	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:22	2111	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:22	2111	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32983_disque_de_frein_magura_storm_hc_180_mm.jpg
2023-10-13	12:59:22	2111	[DEBUG]	Full name target: bcprisme/32983_disque_de_frein_magura_storm_hc_180_mm.jpg
2023-10-13	12:59:23	2111	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:23	2111	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32983_disque_de_frein_magura_storm_hc_180_mm.jpg'
2023-10-13	12:59:23	2111	[DEBUG]	Query for Media
2023-10-13	12:59:23	2111	[DEBUG]	Executed store
2023-10-13	12:59:23	2111	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32983_disque_de_frein_magura_storm_hc_180_mm.jpg',`file_url_thumb`='bcprisme/32983_disque_de_frein_magura_storm_hc_180_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15287'
2023-10-13	12:59:23	2111	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:23	2111	[DEBUG]	Executed store
2023-10-13	12:59:23	2111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861603','15287','1')
2023-10-13	12:59:23	2111	[DEBUG]	Store product image relation
2023-10-13	12:59:23	2111	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:23	2111	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861603 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:23	2111	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:23	2111	[DEBUG]	Executed store
2023-10-13	12:59:23	2111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861603','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:23	2111	[DEBUG]	Checking manufacturer
2023-10-13	12:59:23	2111	[DEBUG]	Load a row
2023-10-13	12:59:23	2111	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:23	2111	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:23	2111	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:23	2111	[DEBUG]	Executed store
2023-10-13	12:59:23	2111	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:23	2111	[DEBUG]	Manufacturer exists
2023-10-13	12:59:23	2111	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:59:23	2111	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:23	2111	[DEBUG]	Executed store
2023-10-13	12:59:23	2111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861603','38')
2023-10-13	12:59:23	2111	[DEBUG]	Find the custom field ID
2023-10-13	12:59:23	2111	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:23	2111	[DEBUG]	No custom field ID found
2023-10-13	12:59:23	2111	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:23	2111	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:23	2111	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861603 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:23	2111	[DEBUG]	Store custom available field
2023-10-13	12:59:23	2111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861603,3,'0',1)
2023-10-13	12:59:23	2111	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:23	2111	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:23	2111	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861603 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:23	2111	[DEBUG]	Store custom available field
2023-10-13	12:59:23	2111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861603,6,'choisir la taille',3)
2023-10-13	12:59:23	2111	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:23	2111	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:23	2111	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:23	2111	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:23	2111	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861603 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:23	2111	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:23	2111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861603,8,1)
2023-10-13	12:59:23	2111	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:23	2111	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861603\":[1861603,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861603
2023-10-13	12:59:23	2111	[DEBUG]	Checking category
2023-10-13	12:59:23	2111	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:23	2111	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861603
2023-10-13	12:59:23	2111	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:23	2111	[DEBUG]	Executed store
2023-10-13	12:59:23	2111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861603','7337')
2023-10-13	12:59:23	2111	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:23	2111	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861603 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:23	2111	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:23	2111	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861603
2023-10-13	12:59:23	2112	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:23	2112	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:23	2112	[DEBUG]	Use field value for field taille
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:23	2112	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:23	2112	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:23	2112	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:23	2112	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:23	2112	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:23	2112	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:23	2112	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:23	2112	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:23	2112	[DEBUG]	Use field value for field published
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:23	2112	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field override
2023-10-13	12:59:23	2112	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:23	2112	[DEBUG]	Use field value for field slug
2023-10-13	12:59:23	2112	[DEBUG]	Process line 2112
2023-10-13	12:59:23	2112	[DEBUG]	Load a row
2023-10-13	12:59:23	2112	[DEBUG]	Processing item: 4055184022030
2023-10-13	12:59:23	2112	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:23	2112	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:23	2112	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6757_4'
2023-10-13	12:59:23	2112	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:23	2112	[DEBUG]	Processing product tax
2023-10-13	12:59:23	2112	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:23	2112	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:23	2112	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:23	2112	[DEBUG]	Query for Product
2023-10-13	12:59:23	2112	[DEBUG]	Executed store
2023-10-13	12:59:23	2112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861603','4055184022030','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:23	2112	[DEBUG]	No parent found
2023-10-13	12:59:23	2112	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861603 AND customfield_value = 'stockable'
2023-10-13	12:59:23	2112	[DEBUG]	Check product language entry
2023-10-13	12:59:23	2112	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861604
2023-10-13	12:59:23	2112	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:23	2112	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184022030' AND `virtuemart_product_id` != 1861604
2023-10-13	12:59:23	2112	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:23	2112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861604, '4055184022030')
2023-10-13	12:59:23	2112	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:23	2112	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-de-frein-magura-storm-hc-180-mm-acier-unitaire' AND `virtuemart_product_id` != 1861604
2023-10-13	12:59:23	2112	[DEBUG]	Query for ProductLang
2023-10-13	12:59:23	2112	[DEBUG]	Executed store
2023-10-13	12:59:23	2112	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Disque de frein Magura Storm HC 180 mm / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-de-frein-magura-storm-hc-180-mm-acier-unitaire' WHERE `virtuemart_product_id` = '1861604'
2023-10-13	12:59:23	2112	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32983_disque_de_frein_magura_storm_hc_180_mm.jpg
2023-10-13	12:59:23	2112	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:23	2112	[DEBUG]	Process image file
2023-10-13	12:59:23	2112	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:23	2112	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:23	2112	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32983_disque_de_frein_magura_storm_hc_180_mm.jpg
2023-10-13	12:59:23	2112	[DEBUG]	Full name target: bcprisme/32983_disque_de_frein_magura_storm_hc_180_mm.jpg
2023-10-13	12:59:24	2112	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:24	2112	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32983_disque_de_frein_magura_storm_hc_180_mm.jpg'
2023-10-13	12:59:24	2112	[DEBUG]	Query for Media
2023-10-13	12:59:24	2112	[DEBUG]	Executed store
2023-10-13	12:59:24	2112	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32983_disque_de_frein_magura_storm_hc_180_mm.jpg',`file_url_thumb`='bcprisme/32983_disque_de_frein_magura_storm_hc_180_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15287'
2023-10-13	12:59:24	2112	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:24	2112	[DEBUG]	Executed store
2023-10-13	12:59:24	2112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861604','15287','1')
2023-10-13	12:59:24	2112	[DEBUG]	Store product image relation
2023-10-13	12:59:24	2112	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:24	2112	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861604 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:24	2112	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:24	2112	[DEBUG]	Executed store
2023-10-13	12:59:24	2112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861604','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:24	2112	[DEBUG]	Checking manufacturer
2023-10-13	12:59:24	2112	[DEBUG]	Load a row
2023-10-13	12:59:24	2112	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:24	2112	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:24	2112	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:24	2112	[DEBUG]	Executed store
2023-10-13	12:59:24	2112	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:24	2112	[DEBUG]	Manufacturer exists
2023-10-13	12:59:24	2112	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:59:24	2112	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:24	2112	[DEBUG]	Executed store
2023-10-13	12:59:24	2112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861604','38')
2023-10-13	12:59:24	2112	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:24	2112	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:24	2112	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861604 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:24	2112	[DEBUG]	Store custom available field
2023-10-13	12:59:24	2112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861604,3,'',1)
2023-10-13	12:59:24	2112	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:24	2112	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:59:24	2112	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861604 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:24	2112	[DEBUG]	Store custom available field
2023-10-13	12:59:24	2112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861604,6,'Unitaire',3)
2023-10-13	12:59:24	2112	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:24	2112	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:24	2112	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861603
2023-10-13	12:59:24	2112	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:24	2112	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861603\":[1861603,8,1,\"choisir la taille\"],\"1861604\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861603
2023-10-13	12:59:24	2112	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:24	2112	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861604
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:24	2113	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field taille
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:24	2113	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:24	2113	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:24	2113	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:24	2113	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:24	2113	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:24	2113	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field published
2023-10-13	12:59:24	2113	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:24	2113	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field override
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:24	2113	[DEBUG]	Use field value for field slug
2023-10-13	12:59:24	2113	[DEBUG]	Process line 2113
2023-10-13	12:59:24	2113	[DEBUG]	Load a row
2023-10-13	12:59:24	2113	[DEBUG]	Processing item: A_6758_4
2023-10-13	12:59:24	2113	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:24	2113	[DEBUG]	Processing product tax
2023-10-13	12:59:24	2113	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:24	2113	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:24	2113	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:24	2113	[DEBUG]	Query for Product
2023-10-13	12:59:24	2113	[DEBUG]	Executed store
2023-10-13	12:59:24	2113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6758_4','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:24	2113	[DEBUG]	Check product language entry
2023-10-13	12:59:24	2113	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861605
2023-10-13	12:59:24	2113	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:24	2113	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6758_4' AND `virtuemart_product_id` != 1861605
2023-10-13	12:59:24	2113	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:24	2113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861605, 'A_6758_4')
2023-10-13	12:59:24	2113	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:24	2113	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-de-frein-magura-strom-hc-160-mm-acier' AND `virtuemart_product_id` != 1861605
2023-10-13	12:59:24	2113	[DEBUG]	Query for ProductLang
2023-10-13	12:59:24	2113	[DEBUG]	Executed store
2023-10-13	12:59:24	2113	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8774M',`product_name`='MAGURA Disque de frein Magura Strom HC 160 mm  / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-de-frein-magura-strom-hc-160-mm-acier' WHERE `virtuemart_product_id` = '1861605'
2023-10-13	12:59:24	2113	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32984_disque_de_frein_magura_storm_hc_160_mm_.jpg
2023-10-13	12:59:24	2113	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:24	2113	[DEBUG]	Process image file
2023-10-13	12:59:24	2113	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:24	2113	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:24	2113	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32984_disque_de_frein_magura_storm_hc_160_mm_.jpg
2023-10-13	12:59:24	2113	[DEBUG]	Full name target: bcprisme/32984_disque_de_frein_magura_storm_hc_160_mm_.jpg
2023-10-13	12:59:25	2113	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:25	2113	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32984_disque_de_frein_magura_storm_hc_160_mm_.jpg'
2023-10-13	12:59:25	2113	[DEBUG]	Query for Media
2023-10-13	12:59:25	2113	[DEBUG]	Executed store
2023-10-13	12:59:25	2113	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32984_disque_de_frein_magura_storm_hc_160_mm_.jpg',`file_url_thumb`='bcprisme/32984_disque_de_frein_magura_storm_hc_160_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15288'
2023-10-13	12:59:25	2113	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:25	2113	[DEBUG]	Executed store
2023-10-13	12:59:25	2113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861605','15288','1')
2023-10-13	12:59:25	2113	[DEBUG]	Store product image relation
2023-10-13	12:59:25	2113	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:25	2113	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861605 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:25	2113	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:25	2113	[DEBUG]	Executed store
2023-10-13	12:59:25	2113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861605','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:25	2113	[DEBUG]	Checking manufacturer
2023-10-13	12:59:25	2113	[DEBUG]	Load a row
2023-10-13	12:59:25	2113	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:25	2113	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:25	2113	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:25	2113	[DEBUG]	Executed store
2023-10-13	12:59:25	2113	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:25	2113	[DEBUG]	Manufacturer exists
2023-10-13	12:59:25	2113	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:59:25	2113	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:25	2113	[DEBUG]	Executed store
2023-10-13	12:59:25	2113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861605','38')
2023-10-13	12:59:25	2113	[DEBUG]	Find the custom field ID
2023-10-13	12:59:25	2113	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:25	2113	[DEBUG]	No custom field ID found
2023-10-13	12:59:25	2113	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:25	2113	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:25	2113	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861605 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:25	2113	[DEBUG]	Store custom available field
2023-10-13	12:59:25	2113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861605,3,'0',1)
2023-10-13	12:59:25	2113	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:25	2113	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:25	2113	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861605 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:25	2113	[DEBUG]	Store custom available field
2023-10-13	12:59:25	2113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861605,6,'choisir la taille',3)
2023-10-13	12:59:25	2113	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:25	2113	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:25	2113	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:25	2113	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:25	2113	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861605 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:25	2113	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:25	2113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861605,8,1)
2023-10-13	12:59:25	2113	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:25	2113	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861605\":[1861605,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861605
2023-10-13	12:59:25	2113	[DEBUG]	Checking category
2023-10-13	12:59:25	2113	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:25	2113	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861605
2023-10-13	12:59:25	2113	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:25	2113	[DEBUG]	Executed store
2023-10-13	12:59:25	2113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861605','7337')
2023-10-13	12:59:25	2113	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:25	2113	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861605 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:25	2113	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:25	2113	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861605
2023-10-13	12:59:25	2114	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:25	2114	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:25	2114	[DEBUG]	Use field value for field taille
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:25	2114	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:25	2114	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:25	2114	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:25	2114	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:25	2114	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:25	2114	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:25	2114	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:25	2114	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:25	2114	[DEBUG]	Use field value for field published
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:25	2114	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field override
2023-10-13	12:59:25	2114	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:25	2114	[DEBUG]	Use field value for field slug
2023-10-13	12:59:25	2114	[DEBUG]	Process line 2114
2023-10-13	12:59:25	2114	[DEBUG]	Load a row
2023-10-13	12:59:25	2114	[DEBUG]	Processing item: 4055184021996
2023-10-13	12:59:25	2114	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:25	2114	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:25	2114	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6758_4'
2023-10-13	12:59:25	2114	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:25	2114	[DEBUG]	Processing product tax
2023-10-13	12:59:25	2114	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:25	2114	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:25	2114	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:25	2114	[DEBUG]	Query for Product
2023-10-13	12:59:25	2114	[DEBUG]	Executed store
2023-10-13	12:59:25	2114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861605','4055184021996','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:25	2114	[DEBUG]	No parent found
2023-10-13	12:59:25	2114	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861605 AND customfield_value = 'stockable'
2023-10-13	12:59:25	2114	[DEBUG]	Check product language entry
2023-10-13	12:59:25	2114	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861606
2023-10-13	12:59:25	2114	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:25	2114	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184021996' AND `virtuemart_product_id` != 1861606
2023-10-13	12:59:25	2114	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:25	2114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861606, '4055184021996')
2023-10-13	12:59:25	2114	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:25	2114	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-de-frein-magura-strom-hc-160-mm-acier-unitaire' AND `virtuemart_product_id` != 1861606
2023-10-13	12:59:25	2114	[DEBUG]	Query for ProductLang
2023-10-13	12:59:25	2114	[DEBUG]	Executed store
2023-10-13	12:59:25	2114	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Disque de frein Magura Strom HC 160 mm  / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-de-frein-magura-strom-hc-160-mm-acier-unitaire' WHERE `virtuemart_product_id` = '1861606'
2023-10-13	12:59:25	2114	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32984_disque_de_frein_magura_storm_hc_160_mm_.jpg
2023-10-13	12:59:25	2114	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:25	2114	[DEBUG]	Process image file
2023-10-13	12:59:25	2114	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:25	2114	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:25	2114	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32984_disque_de_frein_magura_storm_hc_160_mm_.jpg
2023-10-13	12:59:25	2114	[DEBUG]	Full name target: bcprisme/32984_disque_de_frein_magura_storm_hc_160_mm_.jpg
2023-10-13	12:59:26	2114	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:26	2114	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32984_disque_de_frein_magura_storm_hc_160_mm_.jpg'
2023-10-13	12:59:26	2114	[DEBUG]	Query for Media
2023-10-13	12:59:26	2114	[DEBUG]	Executed store
2023-10-13	12:59:26	2114	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32984_disque_de_frein_magura_storm_hc_160_mm_.jpg',`file_url_thumb`='bcprisme/32984_disque_de_frein_magura_storm_hc_160_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15288'
2023-10-13	12:59:26	2114	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:26	2114	[DEBUG]	Executed store
2023-10-13	12:59:26	2114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861606','15288','1')
2023-10-13	12:59:26	2114	[DEBUG]	Store product image relation
2023-10-13	12:59:26	2114	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:26	2114	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861606 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:26	2114	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:26	2114	[DEBUG]	Executed store
2023-10-13	12:59:26	2114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861606','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:26	2114	[DEBUG]	Checking manufacturer
2023-10-13	12:59:26	2114	[DEBUG]	Load a row
2023-10-13	12:59:26	2114	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:26	2114	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:26	2114	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:26	2114	[DEBUG]	Executed store
2023-10-13	12:59:26	2114	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:26	2114	[DEBUG]	Manufacturer exists
2023-10-13	12:59:26	2114	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:59:26	2114	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:26	2114	[DEBUG]	Executed store
2023-10-13	12:59:26	2114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861606','38')
2023-10-13	12:59:26	2114	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:26	2114	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:26	2114	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861606 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:26	2114	[DEBUG]	Store custom available field
2023-10-13	12:59:26	2114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861606,3,'',1)
2023-10-13	12:59:26	2114	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:26	2114	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:59:26	2114	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861606 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:26	2114	[DEBUG]	Store custom available field
2023-10-13	12:59:26	2114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861606,6,'Unitaire',3)
2023-10-13	12:59:26	2114	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:26	2114	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:26	2114	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861605
2023-10-13	12:59:26	2114	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:26	2114	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861605\":[1861605,8,1,\"choisir la taille\"],\"1861606\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861605
2023-10-13	12:59:26	2114	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:26	2114	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861606
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:26	2115	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field taille
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:26	2115	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:26	2115	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:26	2115	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:26	2115	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:26	2115	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:26	2115	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field published
2023-10-13	12:59:26	2115	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:26	2115	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field override
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:26	2115	[DEBUG]	Use field value for field slug
2023-10-13	12:59:26	2115	[DEBUG]	Process line 2115
2023-10-13	12:59:26	2115	[DEBUG]	Load a row
2023-10-13	12:59:26	2115	[DEBUG]	Processing item: A_6770_1
2023-10-13	12:59:26	2115	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:26	2115	[DEBUG]	Processing product tax
2023-10-13	12:59:26	2115	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:26	2115	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:26	2115	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:26	2115	[DEBUG]	Query for Product
2023-10-13	12:59:26	2115	[DEBUG]	Executed store
2023-10-13	12:59:26	2115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6770_1','0.1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:26	2115	[DEBUG]	Check product language entry
2023-10-13	12:59:26	2115	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861607
2023-10-13	12:59:26	2115	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:26	2115	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6770_1' AND `virtuemart_product_id` != 1861607
2023-10-13	12:59:26	2115	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:26	2115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861607, 'A_6770_1')
2023-10-13	12:59:26	2115	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:26	2115	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-rt-mt800-180mm-noir' AND `virtuemart_product_id` != 1861607
2023-10-13	12:59:26	2115	[DEBUG]	Query for ProductLang
2023-10-13	12:59:26	2115	[DEBUG]	Executed store
2023-10-13	12:59:26	2115	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75132',`product_name`='SHIMANO Disque Deore XT RT-MT800 180mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-rt-mt800-180mm-noir' WHERE `virtuemart_product_id` = '1861607'
2023-10-13	12:59:26	2115	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32996_shimano_disque_deore_xt_rt-mt800.jpg
2023-10-13	12:59:26	2115	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:26	2115	[DEBUG]	Process image file
2023-10-13	12:59:26	2115	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:26	2115	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:26	2115	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32996_shimano_disque_deore_xt_rt-mt800.jpg
2023-10-13	12:59:26	2115	[DEBUG]	Full name target: bcprisme/32996_shimano_disque_deore_xt_rt-mt800.jpg
2023-10-13	12:59:27	2115	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:27	2115	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32996_shimano_disque_deore_xt_rt-mt800.jpg'
2023-10-13	12:59:27	2115	[DEBUG]	Query for Media
2023-10-13	12:59:27	2115	[DEBUG]	Executed store
2023-10-13	12:59:27	2115	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32996_shimano_disque_deore_xt_rt-mt800.jpg',`file_url_thumb`='bcprisme/32996_shimano_disque_deore_xt_rt-mt800.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12760'
2023-10-13	12:59:27	2115	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:27	2115	[DEBUG]	Executed store
2023-10-13	12:59:27	2115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861607','12760','1')
2023-10-13	12:59:27	2115	[DEBUG]	Store product image relation
2023-10-13	12:59:27	2115	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:27	2115	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861607 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:27	2115	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:27	2115	[DEBUG]	Executed store
2023-10-13	12:59:27	2115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861607','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:27	2115	[DEBUG]	Checking manufacturer
2023-10-13	12:59:27	2115	[DEBUG]	Load a row
2023-10-13	12:59:27	2115	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:27	2115	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:27	2115	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:27	2115	[DEBUG]	Executed store
2023-10-13	12:59:27	2115	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:27	2115	[DEBUG]	Manufacturer exists
2023-10-13	12:59:27	2115	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:27	2115	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:27	2115	[DEBUG]	Executed store
2023-10-13	12:59:27	2115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861607','26')
2023-10-13	12:59:27	2115	[DEBUG]	Find the custom field ID
2023-10-13	12:59:27	2115	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:27	2115	[DEBUG]	No custom field ID found
2023-10-13	12:59:27	2115	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:27	2115	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:27	2115	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861607 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:27	2115	[DEBUG]	Store custom available field
2023-10-13	12:59:27	2115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861607,3,'0',1)
2023-10-13	12:59:27	2115	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:27	2115	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:27	2115	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861607 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:27	2115	[DEBUG]	Store custom available field
2023-10-13	12:59:27	2115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861607,6,'choisir la taille',3)
2023-10-13	12:59:27	2115	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:27	2115	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:27	2115	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:27	2115	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:27	2115	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861607 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:27	2115	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:27	2115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861607,8,1)
2023-10-13	12:59:27	2115	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:27	2115	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861607\":[1861607,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861607
2023-10-13	12:59:27	2115	[DEBUG]	Checking category
2023-10-13	12:59:27	2115	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:27	2115	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861607
2023-10-13	12:59:27	2115	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:27	2115	[DEBUG]	Executed store
2023-10-13	12:59:27	2115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861607','7337')
2023-10-13	12:59:27	2115	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:27	2115	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861607 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:27	2115	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:27	2115	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861607
2023-10-13	12:59:27	2116	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:27	2116	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:27	2116	[DEBUG]	Use field value for field taille
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:27	2116	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:27	2116	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:27	2116	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:27	2116	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:27	2116	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:27	2116	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:27	2116	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:27	2116	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:27	2116	[DEBUG]	Use field value for field published
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:27	2116	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field override
2023-10-13	12:59:27	2116	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:27	2116	[DEBUG]	Use field value for field slug
2023-10-13	12:59:27	2116	[DEBUG]	Process line 2116
2023-10-13	12:59:27	2116	[DEBUG]	Load a row
2023-10-13	12:59:27	2116	[DEBUG]	Processing item: 4550170442187
2023-10-13	12:59:27	2116	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:27	2116	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:27	2116	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6770_1'
2023-10-13	12:59:27	2116	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:27	2116	[DEBUG]	Processing product tax
2023-10-13	12:59:27	2116	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:27	2116	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:27	2116	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:27	2116	[DEBUG]	Query for Product
2023-10-13	12:59:27	2116	[DEBUG]	Executed store
2023-10-13	12:59:27	2116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861607','4550170442187','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:27	2116	[DEBUG]	No parent found
2023-10-13	12:59:27	2116	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861607 AND customfield_value = 'stockable'
2023-10-13	12:59:27	2116	[DEBUG]	Check product language entry
2023-10-13	12:59:27	2116	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861608
2023-10-13	12:59:27	2116	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:27	2116	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170442187' AND `virtuemart_product_id` != 1861608
2023-10-13	12:59:27	2116	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:27	2116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861608, '4550170442187')
2023-10-13	12:59:27	2116	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:27	2116	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-rt-mt800-180mm-noir-all' AND `virtuemart_product_id` != 1861608
2023-10-13	12:59:27	2116	[DEBUG]	Query for ProductLang
2023-10-13	12:59:27	2116	[DEBUG]	Executed store
2023-10-13	12:59:27	2116	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore XT RT-MT800 180mm / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-rt-mt800-180mm-noir-all' WHERE `virtuemart_product_id` = '1861608'
2023-10-13	12:59:27	2116	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32996_shimano_disque_deore_xt_rt-mt800.jpg
2023-10-13	12:59:27	2116	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:27	2116	[DEBUG]	Process image file
2023-10-13	12:59:27	2116	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:27	2116	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:27	2116	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32996_shimano_disque_deore_xt_rt-mt800.jpg
2023-10-13	12:59:27	2116	[DEBUG]	Full name target: bcprisme/32996_shimano_disque_deore_xt_rt-mt800.jpg
2023-10-13	12:59:28	2116	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:28	2116	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32996_shimano_disque_deore_xt_rt-mt800.jpg'
2023-10-13	12:59:28	2116	[DEBUG]	Query for Media
2023-10-13	12:59:28	2116	[DEBUG]	Executed store
2023-10-13	12:59:28	2116	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32996_shimano_disque_deore_xt_rt-mt800.jpg',`file_url_thumb`='bcprisme/32996_shimano_disque_deore_xt_rt-mt800.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12760'
2023-10-13	12:59:28	2116	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:28	2116	[DEBUG]	Executed store
2023-10-13	12:59:28	2116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861608','12760','1')
2023-10-13	12:59:28	2116	[DEBUG]	Store product image relation
2023-10-13	12:59:28	2116	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:28	2116	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861608 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:28	2116	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:28	2116	[DEBUG]	Executed store
2023-10-13	12:59:28	2116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861608','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:28	2116	[DEBUG]	Checking manufacturer
2023-10-13	12:59:28	2116	[DEBUG]	Load a row
2023-10-13	12:59:28	2116	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:28	2116	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:28	2116	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:28	2116	[DEBUG]	Executed store
2023-10-13	12:59:28	2116	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:28	2116	[DEBUG]	Manufacturer exists
2023-10-13	12:59:28	2116	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:28	2116	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:28	2116	[DEBUG]	Executed store
2023-10-13	12:59:28	2116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861608','26')
2023-10-13	12:59:28	2116	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:28	2116	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:28	2116	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861608 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:28	2116	[DEBUG]	Store custom available field
2023-10-13	12:59:28	2116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861608,3,'',1)
2023-10-13	12:59:28	2116	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:28	2116	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:59:28	2116	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861608 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:28	2116	[DEBUG]	Store custom available field
2023-10-13	12:59:28	2116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861608,6,'All',3)
2023-10-13	12:59:28	2116	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:28	2116	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:28	2116	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861607
2023-10-13	12:59:28	2116	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:28	2116	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861607\":[1861607,8,1,\"choisir la taille\"],\"1861608\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861607
2023-10-13	12:59:28	2116	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:28	2116	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861608
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:28	2117	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field taille
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:28	2117	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:28	2117	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:28	2117	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:28	2117	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:28	2117	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:28	2117	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field published
2023-10-13	12:59:28	2117	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:28	2117	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field override
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:28	2117	[DEBUG]	Use field value for field slug
2023-10-13	12:59:28	2117	[DEBUG]	Process line 2117
2023-10-13	12:59:28	2117	[DEBUG]	Load a row
2023-10-13	12:59:28	2117	[DEBUG]	Processing item: A_7047_4
2023-10-13	12:59:28	2117	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:28	2117	[DEBUG]	Processing product tax
2023-10-13	12:59:28	2117	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:28	2117	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:28	2117	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:28	2117	[DEBUG]	Query for Product
2023-10-13	12:59:28	2117	[DEBUG]	Executed store
2023-10-13	12:59:28	2117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7047_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:28	2117	[DEBUG]	Check product language entry
2023-10-13	12:59:28	2117	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861609
2023-10-13	12:59:28	2117	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:28	2117	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7047_4' AND `virtuemart_product_id` != 1861609
2023-10-13	12:59:28	2117	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:28	2117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861609, 'A_7047_4')
2023-10-13	12:59:28	2117	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:28	2117	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-slx-sm-rt70-203mm-acier' AND `virtuemart_product_id` != 1861609
2023-10-13	12:59:28	2117	[DEBUG]	Query for ProductLang
2023-10-13	12:59:28	2117	[DEBUG]	Executed store
2023-10-13	12:59:28	2117	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.66391',`product_name`='SHIMANO Disque SLX SM-RT70 203mm / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-slx-sm-rt70-203mm-acier' WHERE `virtuemart_product_id` = '1861609'
2023-10-13	12:59:28	2117	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34195_shimano_disque_slx_sm-rt70_203mm.jpg
2023-10-13	12:59:28	2117	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:28	2117	[DEBUG]	Process image file
2023-10-13	12:59:28	2117	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:28	2117	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:28	2117	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34195_shimano_disque_slx_sm-rt70_203mm.jpg
2023-10-13	12:59:28	2117	[DEBUG]	Full name target: bcprisme/34195_shimano_disque_slx_sm-rt70_203mm.jpg
2023-10-13	12:59:29	2117	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:29	2117	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34195_shimano_disque_slx_sm-rt70_203mm.jpg'
2023-10-13	12:59:29	2117	[DEBUG]	Query for Media
2023-10-13	12:59:29	2117	[DEBUG]	Executed store
2023-10-13	12:59:29	2117	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34195_shimano_disque_slx_sm-rt70_203mm.jpg',`file_url_thumb`='bcprisme/34195_shimano_disque_slx_sm-rt70_203mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24960'
2023-10-13	12:59:29	2117	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:29	2117	[DEBUG]	Executed store
2023-10-13	12:59:29	2117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861609','24960','1')
2023-10-13	12:59:29	2117	[DEBUG]	Store product image relation
2023-10-13	12:59:29	2117	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:29	2117	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861609 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:29	2117	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:29	2117	[DEBUG]	Executed store
2023-10-13	12:59:29	2117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861609','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:29	2117	[DEBUG]	Checking manufacturer
2023-10-13	12:59:29	2117	[DEBUG]	Load a row
2023-10-13	12:59:29	2117	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:29	2117	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:29	2117	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:29	2117	[DEBUG]	Executed store
2023-10-13	12:59:29	2117	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:29	2117	[DEBUG]	Manufacturer exists
2023-10-13	12:59:29	2117	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:29	2117	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:29	2117	[DEBUG]	Executed store
2023-10-13	12:59:29	2117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861609','26')
2023-10-13	12:59:29	2117	[DEBUG]	Find the custom field ID
2023-10-13	12:59:29	2117	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:29	2117	[DEBUG]	No custom field ID found
2023-10-13	12:59:29	2117	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:29	2117	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:29	2117	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861609 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:29	2117	[DEBUG]	Store custom available field
2023-10-13	12:59:29	2117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861609,3,'0',1)
2023-10-13	12:59:29	2117	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:29	2117	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:29	2117	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861609 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:29	2117	[DEBUG]	Store custom available field
2023-10-13	12:59:29	2117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861609,6,'choisir la taille',3)
2023-10-13	12:59:29	2117	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:29	2117	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:29	2117	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:29	2117	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:29	2117	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861609 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:29	2117	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:29	2117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861609,8,1)
2023-10-13	12:59:29	2117	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:29	2117	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861609\":[1861609,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861609
2023-10-13	12:59:29	2117	[DEBUG]	Checking category
2023-10-13	12:59:29	2117	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:29	2117	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861609
2023-10-13	12:59:29	2117	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:29	2117	[DEBUG]	Executed store
2023-10-13	12:59:29	2117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861609','7337')
2023-10-13	12:59:29	2117	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:29	2117	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861609 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:29	2117	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:29	2117	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861609
2023-10-13	12:59:29	2118	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:29	2118	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:29	2118	[DEBUG]	Use field value for field taille
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:29	2118	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:29	2118	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:29	2118	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:29	2118	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:29	2118	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:29	2118	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:29	2118	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:29	2118	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:29	2118	[DEBUG]	Use field value for field published
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:29	2118	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field override
2023-10-13	12:59:29	2118	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:29	2118	[DEBUG]	Use field value for field slug
2023-10-13	12:59:29	2118	[DEBUG]	Process line 2118
2023-10-13	12:59:29	2118	[DEBUG]	Load a row
2023-10-13	12:59:29	2118	[DEBUG]	Processing item: 4550170504861
2023-10-13	12:59:29	2118	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:29	2118	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:29	2118	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7047_4'
2023-10-13	12:59:29	2118	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:29	2118	[DEBUG]	Processing product tax
2023-10-13	12:59:29	2118	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:29	2118	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:29	2118	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:29	2118	[DEBUG]	Query for Product
2023-10-13	12:59:29	2118	[DEBUG]	Executed store
2023-10-13	12:59:29	2118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861609','4550170504861','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:29	2118	[DEBUG]	No parent found
2023-10-13	12:59:29	2118	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861609 AND customfield_value = 'stockable'
2023-10-13	12:59:29	2118	[DEBUG]	Check product language entry
2023-10-13	12:59:29	2118	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861610
2023-10-13	12:59:29	2118	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:29	2118	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170504861' AND `virtuemart_product_id` != 1861610
2023-10-13	12:59:29	2118	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:29	2118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861610, '4550170504861')
2023-10-13	12:59:29	2118	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:29	2118	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-slx-sm-rt70-203mm-acier-all' AND `virtuemart_product_id` != 1861610
2023-10-13	12:59:29	2118	[DEBUG]	Query for ProductLang
2023-10-13	12:59:29	2118	[DEBUG]	Executed store
2023-10-13	12:59:29	2118	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque SLX SM-RT70 203mm / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-slx-sm-rt70-203mm-acier-all' WHERE `virtuemart_product_id` = '1861610'
2023-10-13	12:59:29	2118	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34195_shimano_disque_slx_sm-rt70_203mm.jpg
2023-10-13	12:59:29	2118	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:29	2118	[DEBUG]	Process image file
2023-10-13	12:59:29	2118	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:29	2118	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:29	2118	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34195_shimano_disque_slx_sm-rt70_203mm.jpg
2023-10-13	12:59:29	2118	[DEBUG]	Full name target: bcprisme/34195_shimano_disque_slx_sm-rt70_203mm.jpg
2023-10-13	12:59:30	2118	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:30	2118	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34195_shimano_disque_slx_sm-rt70_203mm.jpg'
2023-10-13	12:59:30	2118	[DEBUG]	Query for Media
2023-10-13	12:59:30	2118	[DEBUG]	Executed store
2023-10-13	12:59:30	2118	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34195_shimano_disque_slx_sm-rt70_203mm.jpg',`file_url_thumb`='bcprisme/34195_shimano_disque_slx_sm-rt70_203mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24960'
2023-10-13	12:59:30	2118	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:30	2118	[DEBUG]	Executed store
2023-10-13	12:59:30	2118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861610','24960','1')
2023-10-13	12:59:30	2118	[DEBUG]	Store product image relation
2023-10-13	12:59:30	2118	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:30	2118	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861610 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:30	2118	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:30	2118	[DEBUG]	Executed store
2023-10-13	12:59:30	2118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861610','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:30	2118	[DEBUG]	Checking manufacturer
2023-10-13	12:59:30	2118	[DEBUG]	Load a row
2023-10-13	12:59:30	2118	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:30	2118	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:30	2118	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:30	2118	[DEBUG]	Executed store
2023-10-13	12:59:30	2118	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:30	2118	[DEBUG]	Manufacturer exists
2023-10-13	12:59:30	2118	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:30	2118	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:30	2118	[DEBUG]	Executed store
2023-10-13	12:59:30	2118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861610','26')
2023-10-13	12:59:30	2118	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:30	2118	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:30	2118	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861610 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:30	2118	[DEBUG]	Store custom available field
2023-10-13	12:59:30	2118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861610,3,'',1)
2023-10-13	12:59:30	2118	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:30	2118	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:59:30	2118	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861610 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:30	2118	[DEBUG]	Store custom available field
2023-10-13	12:59:30	2118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861610,6,'All',3)
2023-10-13	12:59:30	2118	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:30	2118	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:30	2118	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861609
2023-10-13	12:59:30	2118	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:30	2118	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861609\":[1861609,8,1,\"choisir la taille\"],\"1861610\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861609
2023-10-13	12:59:30	2118	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:30	2118	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861610
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:30	2119	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field taille
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:30	2119	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:30	2119	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:30	2119	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:30	2119	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:30	2119	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:30	2119	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field published
2023-10-13	12:59:30	2119	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:30	2119	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field override
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:30	2119	[DEBUG]	Use field value for field slug
2023-10-13	12:59:30	2119	[DEBUG]	Process line 2119
2023-10-13	12:59:30	2119	[DEBUG]	Load a row
2023-10-13	12:59:30	2119	[DEBUG]	Processing item: A_7048_4
2023-10-13	12:59:30	2119	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:30	2119	[DEBUG]	Processing product tax
2023-10-13	12:59:30	2119	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:30	2119	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:30	2119	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:30	2119	[DEBUG]	Query for Product
2023-10-13	12:59:30	2119	[DEBUG]	Executed store
2023-10-13	12:59:30	2119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7048_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:30	2119	[DEBUG]	Check product language entry
2023-10-13	12:59:30	2119	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861611
2023-10-13	12:59:30	2119	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:30	2119	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7048_4' AND `virtuemart_product_id` != 1861611
2023-10-13	12:59:30	2119	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:30	2119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861611, 'A_7048_4')
2023-10-13	12:59:30	2119	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:30	2119	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-slx-sm-rt70-160mm-acier' AND `virtuemart_product_id` != 1861611
2023-10-13	12:59:30	2119	[DEBUG]	Query for ProductLang
2023-10-13	12:59:30	2119	[DEBUG]	Executed store
2023-10-13	12:59:30	2119	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.66389',`product_name`='SHIMANO Disque SLX SM-RT70 160mm / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-slx-sm-rt70-160mm-acier' WHERE `virtuemart_product_id` = '1861611'
2023-10-13	12:59:30	2119	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34196_shimano_disque_slx_sm-rt70_160mm.jpg
2023-10-13	12:59:30	2119	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:30	2119	[DEBUG]	Process image file
2023-10-13	12:59:30	2119	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:30	2119	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:30	2119	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34196_shimano_disque_slx_sm-rt70_160mm.jpg
2023-10-13	12:59:30	2119	[DEBUG]	Full name target: bcprisme/34196_shimano_disque_slx_sm-rt70_160mm.jpg
2023-10-13	12:59:31	2119	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:31	2119	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34196_shimano_disque_slx_sm-rt70_160mm.jpg'
2023-10-13	12:59:31	2119	[DEBUG]	Query for Media
2023-10-13	12:59:31	2119	[DEBUG]	Executed store
2023-10-13	12:59:31	2119	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34196_shimano_disque_slx_sm-rt70_160mm.jpg',`file_url_thumb`='bcprisme/34196_shimano_disque_slx_sm-rt70_160mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24962'
2023-10-13	12:59:31	2119	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:31	2119	[DEBUG]	Executed store
2023-10-13	12:59:31	2119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861611','24962','1')
2023-10-13	12:59:31	2119	[DEBUG]	Store product image relation
2023-10-13	12:59:31	2119	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:31	2119	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861611 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:31	2119	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:31	2119	[DEBUG]	Executed store
2023-10-13	12:59:31	2119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861611','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:31	2119	[DEBUG]	Checking manufacturer
2023-10-13	12:59:31	2119	[DEBUG]	Load a row
2023-10-13	12:59:31	2119	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:31	2119	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:31	2119	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:31	2119	[DEBUG]	Executed store
2023-10-13	12:59:31	2119	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:31	2119	[DEBUG]	Manufacturer exists
2023-10-13	12:59:31	2119	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:31	2119	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:31	2119	[DEBUG]	Executed store
2023-10-13	12:59:31	2119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861611','26')
2023-10-13	12:59:31	2119	[DEBUG]	Find the custom field ID
2023-10-13	12:59:31	2119	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:31	2119	[DEBUG]	No custom field ID found
2023-10-13	12:59:32	2119	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:32	2119	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:32	2119	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861611 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:32	2119	[DEBUG]	Store custom available field
2023-10-13	12:59:32	2119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861611,3,'0',1)
2023-10-13	12:59:32	2119	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:32	2119	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:32	2119	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861611 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:32	2119	[DEBUG]	Store custom available field
2023-10-13	12:59:32	2119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861611,6,'choisir la taille',3)
2023-10-13	12:59:32	2119	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:32	2119	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:32	2119	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:32	2119	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:32	2119	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861611 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:32	2119	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:32	2119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861611,8,1)
2023-10-13	12:59:32	2119	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:32	2119	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861611\":[1861611,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861611
2023-10-13	12:59:32	2119	[DEBUG]	Checking category
2023-10-13	12:59:32	2119	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:32	2119	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861611
2023-10-13	12:59:32	2119	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:32	2119	[DEBUG]	Executed store
2023-10-13	12:59:32	2119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861611','7337')
2023-10-13	12:59:32	2119	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:32	2119	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861611 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:32	2119	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:32	2119	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861611
2023-10-13	12:59:32	2120	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:32	2120	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:32	2120	[DEBUG]	Use field value for field taille
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:32	2120	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:32	2120	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:32	2120	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:32	2120	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:32	2120	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:32	2120	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:32	2120	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:32	2120	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:32	2120	[DEBUG]	Use field value for field published
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:32	2120	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field override
2023-10-13	12:59:32	2120	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:32	2120	[DEBUG]	Use field value for field slug
2023-10-13	12:59:32	2120	[DEBUG]	Process line 2120
2023-10-13	12:59:32	2120	[DEBUG]	Load a row
2023-10-13	12:59:32	2120	[DEBUG]	Processing item: 4550170504809
2023-10-13	12:59:32	2120	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:32	2120	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:32	2120	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7048_4'
2023-10-13	12:59:32	2120	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:32	2120	[DEBUG]	Processing product tax
2023-10-13	12:59:32	2120	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:32	2120	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:32	2120	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:32	2120	[DEBUG]	Query for Product
2023-10-13	12:59:32	2120	[DEBUG]	Executed store
2023-10-13	12:59:32	2120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861611','4550170504809','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:32	2120	[DEBUG]	No parent found
2023-10-13	12:59:32	2120	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861611 AND customfield_value = 'stockable'
2023-10-13	12:59:32	2120	[DEBUG]	Check product language entry
2023-10-13	12:59:32	2120	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861612
2023-10-13	12:59:32	2120	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:32	2120	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170504809' AND `virtuemart_product_id` != 1861612
2023-10-13	12:59:32	2120	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:32	2120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861612, '4550170504809')
2023-10-13	12:59:32	2120	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:32	2120	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-slx-sm-rt70-160mm-acier-all' AND `virtuemart_product_id` != 1861612
2023-10-13	12:59:32	2120	[DEBUG]	Query for ProductLang
2023-10-13	12:59:32	2120	[DEBUG]	Executed store
2023-10-13	12:59:32	2120	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque SLX SM-RT70 160mm / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-slx-sm-rt70-160mm-acier-all' WHERE `virtuemart_product_id` = '1861612'
2023-10-13	12:59:32	2120	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34196_shimano_disque_slx_sm-rt70_160mm.jpg
2023-10-13	12:59:32	2120	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:32	2120	[DEBUG]	Process image file
2023-10-13	12:59:32	2120	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:32	2120	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:32	2120	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34196_shimano_disque_slx_sm-rt70_160mm.jpg
2023-10-13	12:59:32	2120	[DEBUG]	Full name target: bcprisme/34196_shimano_disque_slx_sm-rt70_160mm.jpg
2023-10-13	12:59:32	2120	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:32	2120	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34196_shimano_disque_slx_sm-rt70_160mm.jpg'
2023-10-13	12:59:32	2120	[DEBUG]	Query for Media
2023-10-13	12:59:32	2120	[DEBUG]	Executed store
2023-10-13	12:59:32	2120	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34196_shimano_disque_slx_sm-rt70_160mm.jpg',`file_url_thumb`='bcprisme/34196_shimano_disque_slx_sm-rt70_160mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24962'
2023-10-13	12:59:33	2120	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:33	2120	[DEBUG]	Executed store
2023-10-13	12:59:33	2120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861612','24962','1')
2023-10-13	12:59:33	2120	[DEBUG]	Store product image relation
2023-10-13	12:59:33	2120	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:33	2120	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861612 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:33	2120	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:33	2120	[DEBUG]	Executed store
2023-10-13	12:59:33	2120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861612','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:33	2120	[DEBUG]	Checking manufacturer
2023-10-13	12:59:33	2120	[DEBUG]	Load a row
2023-10-13	12:59:33	2120	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:33	2120	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:33	2120	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:33	2120	[DEBUG]	Executed store
2023-10-13	12:59:33	2120	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:33	2120	[DEBUG]	Manufacturer exists
2023-10-13	12:59:33	2120	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:33	2120	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:33	2120	[DEBUG]	Executed store
2023-10-13	12:59:33	2120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861612','26')
2023-10-13	12:59:33	2120	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:33	2120	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:33	2120	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861612 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:33	2120	[DEBUG]	Store custom available field
2023-10-13	12:59:33	2120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861612,3,'',1)
2023-10-13	12:59:33	2120	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:33	2120	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:59:33	2120	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861612 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:33	2120	[DEBUG]	Store custom available field
2023-10-13	12:59:33	2120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861612,6,'All',3)
2023-10-13	12:59:33	2120	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:33	2120	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:33	2120	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861611
2023-10-13	12:59:33	2120	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:33	2120	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861611\":[1861611,8,1,\"choisir la taille\"],\"1861612\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861611
2023-10-13	12:59:33	2120	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:33	2120	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861612
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:33	2121	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field taille
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:33	2121	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:33	2121	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:33	2121	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:33	2121	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:33	2121	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:33	2121	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field published
2023-10-13	12:59:33	2121	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:33	2121	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field override
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:33	2121	[DEBUG]	Use field value for field slug
2023-10-13	12:59:33	2121	[DEBUG]	Process line 2121
2023-10-13	12:59:33	2121	[DEBUG]	Load a row
2023-10-13	12:59:33	2121	[DEBUG]	Processing item: A_7049_4
2023-10-13	12:59:33	2121	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:33	2121	[DEBUG]	Processing product tax
2023-10-13	12:59:33	2121	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:33	2121	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:33	2121	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:33	2121	[DEBUG]	Query for Product
2023-10-13	12:59:33	2121	[DEBUG]	Executed store
2023-10-13	12:59:33	2121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7049_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:33	2121	[DEBUG]	Check product language entry
2023-10-13	12:59:33	2121	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861613
2023-10-13	12:59:33	2121	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:33	2121	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7049_4' AND `virtuemart_product_id` != 1861613
2023-10-13	12:59:33	2121	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:33	2121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861613, 'A_7049_4')
2023-10-13	12:59:33	2121	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:33	2121	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-slx-sm-rt70-180mm-acier' AND `virtuemart_product_id` != 1861613
2023-10-13	12:59:33	2121	[DEBUG]	Query for ProductLang
2023-10-13	12:59:33	2121	[DEBUG]	Executed store
2023-10-13	12:59:33	2121	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.66390',`product_name`='SHIMANO Disque SLX SM-RT70  180mm / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-slx-sm-rt70-180mm-acier' WHERE `virtuemart_product_id` = '1861613'
2023-10-13	12:59:33	2121	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34197_shimano_disque_slx_sm-rt70__180mm.jpg
2023-10-13	12:59:33	2121	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:33	2121	[DEBUG]	Process image file
2023-10-13	12:59:33	2121	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:33	2121	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:33	2121	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34197_shimano_disque_slx_sm-rt70__180mm.jpg
2023-10-13	12:59:33	2121	[DEBUG]	Full name target: bcprisme/34197_shimano_disque_slx_sm-rt70__180mm.jpg
2023-10-13	12:59:34	2121	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:34	2121	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34197_shimano_disque_slx_sm-rt70__180mm.jpg'
2023-10-13	12:59:34	2121	[DEBUG]	Query for Media
2023-10-13	12:59:34	2121	[DEBUG]	Executed store
2023-10-13	12:59:34	2121	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34197_shimano_disque_slx_sm-rt70__180mm.jpg',`file_url_thumb`='bcprisme/34197_shimano_disque_slx_sm-rt70__180mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24964'
2023-10-13	12:59:34	2121	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:34	2121	[DEBUG]	Executed store
2023-10-13	12:59:34	2121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861613','24964','1')
2023-10-13	12:59:34	2121	[DEBUG]	Store product image relation
2023-10-13	12:59:34	2121	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:34	2121	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861613 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:34	2121	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:34	2121	[DEBUG]	Executed store
2023-10-13	12:59:34	2121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861613','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:34	2121	[DEBUG]	Checking manufacturer
2023-10-13	12:59:34	2121	[DEBUG]	Load a row
2023-10-13	12:59:34	2121	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:34	2121	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:34	2121	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:34	2121	[DEBUG]	Executed store
2023-10-13	12:59:34	2121	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:34	2121	[DEBUG]	Manufacturer exists
2023-10-13	12:59:34	2121	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:34	2121	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:34	2121	[DEBUG]	Executed store
2023-10-13	12:59:34	2121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861613','26')
2023-10-13	12:59:34	2121	[DEBUG]	Find the custom field ID
2023-10-13	12:59:34	2121	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:34	2121	[DEBUG]	No custom field ID found
2023-10-13	12:59:34	2121	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:34	2121	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:34	2121	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861613 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:34	2121	[DEBUG]	Store custom available field
2023-10-13	12:59:34	2121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861613,3,'0',1)
2023-10-13	12:59:34	2121	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:34	2121	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:34	2121	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861613 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:34	2121	[DEBUG]	Store custom available field
2023-10-13	12:59:34	2121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861613,6,'choisir la taille',3)
2023-10-13	12:59:34	2121	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:34	2121	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:34	2121	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:34	2121	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:34	2121	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861613 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:34	2121	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:34	2121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861613,8,1)
2023-10-13	12:59:34	2121	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:34	2121	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861613\":[1861613,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861613
2023-10-13	12:59:34	2121	[DEBUG]	Checking category
2023-10-13	12:59:34	2121	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:34	2121	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861613
2023-10-13	12:59:34	2121	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:34	2121	[DEBUG]	Executed store
2023-10-13	12:59:34	2121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861613','7337')
2023-10-13	12:59:34	2121	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:34	2121	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861613 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:34	2121	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:34	2121	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861613
2023-10-13	12:59:34	2122	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:34	2122	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:34	2122	[DEBUG]	Use field value for field taille
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:34	2122	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:34	2122	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:34	2122	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:34	2122	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:34	2122	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:34	2122	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:34	2122	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:34	2122	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:34	2122	[DEBUG]	Use field value for field published
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:34	2122	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field override
2023-10-13	12:59:34	2122	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:34	2122	[DEBUG]	Use field value for field slug
2023-10-13	12:59:34	2122	[DEBUG]	Process line 2122
2023-10-13	12:59:34	2122	[DEBUG]	Load a row
2023-10-13	12:59:34	2122	[DEBUG]	Processing item: 4550170504816
2023-10-13	12:59:34	2122	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:34	2122	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:34	2122	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7049_4'
2023-10-13	12:59:34	2122	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:34	2122	[DEBUG]	Processing product tax
2023-10-13	12:59:34	2122	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:34	2122	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:34	2122	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:34	2122	[DEBUG]	Query for Product
2023-10-13	12:59:34	2122	[DEBUG]	Executed store
2023-10-13	12:59:34	2122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861613','4550170504816','0','KG','M','','14','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:34	2122	[DEBUG]	No parent found
2023-10-13	12:59:34	2122	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861613 AND customfield_value = 'stockable'
2023-10-13	12:59:34	2122	[DEBUG]	Check product language entry
2023-10-13	12:59:34	2122	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861614
2023-10-13	12:59:34	2122	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:34	2122	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170504816' AND `virtuemart_product_id` != 1861614
2023-10-13	12:59:34	2122	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:34	2122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861614, '4550170504816')
2023-10-13	12:59:34	2122	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:34	2122	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-slx-sm-rt70-180mm-acier-all' AND `virtuemart_product_id` != 1861614
2023-10-13	12:59:34	2122	[DEBUG]	Query for ProductLang
2023-10-13	12:59:34	2122	[DEBUG]	Executed store
2023-10-13	12:59:34	2122	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque SLX SM-RT70  180mm / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-slx-sm-rt70-180mm-acier-all' WHERE `virtuemart_product_id` = '1861614'
2023-10-13	12:59:34	2122	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34197_shimano_disque_slx_sm-rt70__180mm.jpg
2023-10-13	12:59:34	2122	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:34	2122	[DEBUG]	Process image file
2023-10-13	12:59:34	2122	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:34	2122	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:34	2122	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34197_shimano_disque_slx_sm-rt70__180mm.jpg
2023-10-13	12:59:34	2122	[DEBUG]	Full name target: bcprisme/34197_shimano_disque_slx_sm-rt70__180mm.jpg
2023-10-13	12:59:35	2122	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:35	2122	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34197_shimano_disque_slx_sm-rt70__180mm.jpg'
2023-10-13	12:59:35	2122	[DEBUG]	Query for Media
2023-10-13	12:59:35	2122	[DEBUG]	Executed store
2023-10-13	12:59:35	2122	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34197_shimano_disque_slx_sm-rt70__180mm.jpg',`file_url_thumb`='bcprisme/34197_shimano_disque_slx_sm-rt70__180mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24964'
2023-10-13	12:59:35	2122	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:35	2122	[DEBUG]	Executed store
2023-10-13	12:59:35	2122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861614','24964','1')
2023-10-13	12:59:35	2122	[DEBUG]	Store product image relation
2023-10-13	12:59:35	2122	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:35	2122	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861614 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:35	2122	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:35	2122	[DEBUG]	Executed store
2023-10-13	12:59:35	2122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861614','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:35	2122	[DEBUG]	Checking manufacturer
2023-10-13	12:59:35	2122	[DEBUG]	Load a row
2023-10-13	12:59:35	2122	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:35	2122	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:35	2122	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:35	2122	[DEBUG]	Executed store
2023-10-13	12:59:35	2122	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:35	2122	[DEBUG]	Manufacturer exists
2023-10-13	12:59:35	2122	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:35	2122	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:35	2122	[DEBUG]	Executed store
2023-10-13	12:59:35	2122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861614','26')
2023-10-13	12:59:35	2122	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:35	2122	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:35	2122	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861614 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:35	2122	[DEBUG]	Store custom available field
2023-10-13	12:59:35	2122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861614,3,'',1)
2023-10-13	12:59:35	2122	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:35	2122	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:59:35	2122	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861614 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:35	2122	[DEBUG]	Store custom available field
2023-10-13	12:59:35	2122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861614,6,'All',3)
2023-10-13	12:59:35	2122	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:35	2122	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:35	2122	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861613
2023-10-13	12:59:35	2122	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:35	2122	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861613\":[1861613,8,1,\"choisir la taille\"],\"1861614\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861613
2023-10-13	12:59:35	2122	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:35	2122	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861614
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:35	2123	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field taille
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:35	2123	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:35	2123	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:35	2123	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:35	2123	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:35	2123	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:35	2123	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field published
2023-10-13	12:59:35	2123	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:35	2123	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field override
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:35	2123	[DEBUG]	Use field value for field slug
2023-10-13	12:59:35	2123	[DEBUG]	Process line 2123
2023-10-13	12:59:35	2123	[DEBUG]	Load a row
2023-10-13	12:59:35	2123	[DEBUG]	Processing item: A_7050_4
2023-10-13	12:59:35	2123	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:35	2123	[DEBUG]	Processing product tax
2023-10-13	12:59:35	2123	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:35	2123	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:35	2123	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:35	2123	[DEBUG]	Query for Product
2023-10-13	12:59:35	2123	[DEBUG]	Executed store
2023-10-13	12:59:35	2123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7050_4','0.1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:35	2123	[DEBUG]	Check product language entry
2023-10-13	12:59:35	2123	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861615
2023-10-13	12:59:35	2123	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:35	2123	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7050_4' AND `virtuemart_product_id` != 1861615
2023-10-13	12:59:35	2123	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:35	2123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861615, 'A_7050_4')
2023-10-13	12:59:35	2123	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:35	2123	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-rt-mt800-160mm-acier' AND `virtuemart_product_id` != 1861615
2023-10-13	12:59:35	2123	[DEBUG]	Query for ProductLang
2023-10-13	12:59:35	2123	[DEBUG]	Executed store
2023-10-13	12:59:35	2123	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75130',`product_name`='SHIMANO Disque Deore XT RT-MT800 160mm / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-rt-mt800-160mm-acier' WHERE `virtuemart_product_id` = '1861615'
2023-10-13	12:59:35	2123	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34198_shimano_disque_deore_xt_rt-mt800_160mm.jpg
2023-10-13	12:59:35	2123	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:35	2123	[DEBUG]	Process image file
2023-10-13	12:59:35	2123	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:35	2123	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:35	2123	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34198_shimano_disque_deore_xt_rt-mt800_160mm.jpg
2023-10-13	12:59:35	2123	[DEBUG]	Full name target: bcprisme/34198_shimano_disque_deore_xt_rt-mt800_160mm.jpg
2023-10-13	12:59:36	2123	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:36	2123	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34198_shimano_disque_deore_xt_rt-mt800_160mm.jpg'
2023-10-13	12:59:36	2123	[DEBUG]	Query for Media
2023-10-13	12:59:36	2123	[DEBUG]	Executed store
2023-10-13	12:59:36	2123	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34198_shimano_disque_deore_xt_rt-mt800_160mm.jpg',`file_url_thumb`='bcprisme/34198_shimano_disque_deore_xt_rt-mt800_160mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24966'
2023-10-13	12:59:36	2123	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:36	2123	[DEBUG]	Executed store
2023-10-13	12:59:36	2123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861615','24966','1')
2023-10-13	12:59:36	2123	[DEBUG]	Store product image relation
2023-10-13	12:59:36	2123	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:36	2123	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861615 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:36	2123	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:36	2123	[DEBUG]	Executed store
2023-10-13	12:59:36	2123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861615','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:36	2123	[DEBUG]	Checking manufacturer
2023-10-13	12:59:36	2123	[DEBUG]	Load a row
2023-10-13	12:59:36	2123	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:36	2123	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:36	2123	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:36	2123	[DEBUG]	Executed store
2023-10-13	12:59:36	2123	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:36	2123	[DEBUG]	Manufacturer exists
2023-10-13	12:59:36	2123	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:36	2123	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:36	2123	[DEBUG]	Executed store
2023-10-13	12:59:36	2123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861615','26')
2023-10-13	12:59:36	2123	[DEBUG]	Find the custom field ID
2023-10-13	12:59:36	2123	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:36	2123	[DEBUG]	No custom field ID found
2023-10-13	12:59:36	2123	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:36	2123	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:36	2123	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861615 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:36	2123	[DEBUG]	Store custom available field
2023-10-13	12:59:36	2123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861615,3,'0',1)
2023-10-13	12:59:36	2123	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:36	2123	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:36	2123	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861615 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:36	2123	[DEBUG]	Store custom available field
2023-10-13	12:59:36	2123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861615,6,'choisir la taille',3)
2023-10-13	12:59:36	2123	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:36	2123	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:36	2123	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:36	2123	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:36	2123	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861615 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:36	2123	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:36	2123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861615,8,1)
2023-10-13	12:59:36	2123	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:36	2123	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861615\":[1861615,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861615
2023-10-13	12:59:36	2123	[DEBUG]	Checking category
2023-10-13	12:59:36	2123	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:36	2123	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861615
2023-10-13	12:59:36	2123	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:36	2123	[DEBUG]	Executed store
2023-10-13	12:59:36	2123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861615','7337')
2023-10-13	12:59:36	2123	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:36	2123	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861615 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:36	2123	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:36	2123	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861615
2023-10-13	12:59:36	2124	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:36	2124	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:36	2124	[DEBUG]	Use field value for field taille
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:36	2124	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:36	2124	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:36	2124	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:36	2124	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:36	2124	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:36	2124	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:36	2124	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:36	2124	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:36	2124	[DEBUG]	Use field value for field published
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:36	2124	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field override
2023-10-13	12:59:36	2124	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:36	2124	[DEBUG]	Use field value for field slug
2023-10-13	12:59:36	2124	[DEBUG]	Process line 2124
2023-10-13	12:59:36	2124	[DEBUG]	Load a row
2023-10-13	12:59:36	2124	[DEBUG]	Processing item: 4550170442231
2023-10-13	12:59:36	2124	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:36	2124	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:36	2124	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7050_4'
2023-10-13	12:59:36	2124	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:36	2124	[DEBUG]	Processing product tax
2023-10-13	12:59:36	2124	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:36	2124	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:36	2124	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:36	2124	[DEBUG]	Query for Product
2023-10-13	12:59:36	2124	[DEBUG]	Executed store
2023-10-13	12:59:36	2124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861615','4550170442231','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:36	2124	[DEBUG]	No parent found
2023-10-13	12:59:36	2124	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861615 AND customfield_value = 'stockable'
2023-10-13	12:59:36	2124	[DEBUG]	Check product language entry
2023-10-13	12:59:36	2124	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861616
2023-10-13	12:59:36	2124	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:36	2124	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170442231' AND `virtuemart_product_id` != 1861616
2023-10-13	12:59:36	2124	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:36	2124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861616, '4550170442231')
2023-10-13	12:59:36	2124	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:36	2124	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-rt-mt800-160mm-acier-all' AND `virtuemart_product_id` != 1861616
2023-10-13	12:59:36	2124	[DEBUG]	Query for ProductLang
2023-10-13	12:59:36	2124	[DEBUG]	Executed store
2023-10-13	12:59:36	2124	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore XT RT-MT800 160mm / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-rt-mt800-160mm-acier-all' WHERE `virtuemart_product_id` = '1861616'
2023-10-13	12:59:36	2124	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34198_shimano_disque_deore_xt_rt-mt800_160mm.jpg
2023-10-13	12:59:36	2124	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:36	2124	[DEBUG]	Process image file
2023-10-13	12:59:36	2124	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:36	2124	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:36	2124	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34198_shimano_disque_deore_xt_rt-mt800_160mm.jpg
2023-10-13	12:59:36	2124	[DEBUG]	Full name target: bcprisme/34198_shimano_disque_deore_xt_rt-mt800_160mm.jpg
2023-10-13	12:59:37	2124	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:37	2124	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34198_shimano_disque_deore_xt_rt-mt800_160mm.jpg'
2023-10-13	12:59:37	2124	[DEBUG]	Query for Media
2023-10-13	12:59:37	2124	[DEBUG]	Executed store
2023-10-13	12:59:37	2124	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34198_shimano_disque_deore_xt_rt-mt800_160mm.jpg',`file_url_thumb`='bcprisme/34198_shimano_disque_deore_xt_rt-mt800_160mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '24966'
2023-10-13	12:59:37	2124	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:37	2124	[DEBUG]	Executed store
2023-10-13	12:59:37	2124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861616','24966','1')
2023-10-13	12:59:37	2124	[DEBUG]	Store product image relation
2023-10-13	12:59:37	2124	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:37	2124	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861616 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:37	2124	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:37	2124	[DEBUG]	Executed store
2023-10-13	12:59:37	2124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861616','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:37	2124	[DEBUG]	Checking manufacturer
2023-10-13	12:59:37	2124	[DEBUG]	Load a row
2023-10-13	12:59:37	2124	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:37	2124	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:37	2124	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:37	2124	[DEBUG]	Executed store
2023-10-13	12:59:37	2124	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:37	2124	[DEBUG]	Manufacturer exists
2023-10-13	12:59:37	2124	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:37	2124	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:37	2124	[DEBUG]	Executed store
2023-10-13	12:59:37	2124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861616','26')
2023-10-13	12:59:37	2124	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:37	2124	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:37	2124	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861616 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:37	2124	[DEBUG]	Store custom available field
2023-10-13	12:59:37	2124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861616,3,'',1)
2023-10-13	12:59:37	2124	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:37	2124	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:59:37	2124	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861616 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:37	2124	[DEBUG]	Store custom available field
2023-10-13	12:59:37	2124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861616,6,'All',3)
2023-10-13	12:59:37	2124	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:37	2124	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:37	2124	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861615
2023-10-13	12:59:37	2124	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:37	2124	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861615\":[1861615,8,1,\"choisir la taille\"],\"1861616\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861615
2023-10-13	12:59:37	2124	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:37	2124	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861616
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:37	2125	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field taille
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:37	2125	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:37	2125	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:37	2125	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:37	2125	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:37	2125	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:37	2125	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field published
2023-10-13	12:59:37	2125	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:37	2125	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field override
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:37	2125	[DEBUG]	Use field value for field slug
2023-10-13	12:59:37	2125	[DEBUG]	Process line 2125
2023-10-13	12:59:37	2125	[DEBUG]	Load a row
2023-10-13	12:59:37	2125	[DEBUG]	Processing item: A_7362_4
2023-10-13	12:59:37	2125	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:37	2125	[DEBUG]	Processing product tax
2023-10-13	12:59:37	2125	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:37	2125	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:37	2125	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:37	2125	[DEBUG]	Query for Product
2023-10-13	12:59:37	2125	[DEBUG]	Executed store
2023-10-13	12:59:37	2125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7362_4','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:37	2125	[DEBUG]	Check product language entry
2023-10-13	12:59:37	2125	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861617
2023-10-13	12:59:37	2125	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:37	2125	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7362_4' AND `virtuemart_product_id` != 1861617
2023-10-13	12:59:37	2125	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:37	2125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861617, 'A_7362_4')
2023-10-13	12:59:37	2125	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:37	2125	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-mdr-c-o-180-mm-6-trous-6-vis-acier-inclus-acier' AND `virtuemart_product_id` != 1861617
2023-10-13	12:59:37	2125	[DEBUG]	Query for ProductLang
2023-10-13	12:59:37	2125	[DEBUG]	Executed store
2023-10-13	12:59:37	2125	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8791B',`product_name`='MAGURA DISQUE MDR-C, Ø 180 MM, 6 TROUS, 6 VIS ACIER INCLUS / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-mdr-c-o-180-mm-6-trous-6-vis-acier-inclus-acier' WHERE `virtuemart_product_id` = '1861617'
2023-10-13	12:59:37	2125	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34602_disque_mdr-c,_Ø_180_mm,_6_trous,_6_vis_acier_inclus.jpg
2023-10-13	12:59:37	2125	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:37	2125	[DEBUG]	Process image file
2023-10-13	12:59:37	2125	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:37	2125	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:37	2125	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34602_disque_mdr-c,_Ø_180_mm,_6_trous,_6_vis_acier_inclus.jpg
2023-10-13	12:59:37	2125	[DEBUG]	Full name target: bcprisme/34602_disque_mdr-c,_Ø_180_mm,_6_trous,_6_vis_acier_inclus.jpg
2023-10-13	12:59:38	2125	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:38	2125	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34602_disque_mdr-c,_Ø_180_mm,_6_trous,_6_vis_acier_inclus.jpg'
2023-10-13	12:59:38	2125	[DEBUG]	Query for Media
2023-10-13	12:59:38	2125	[DEBUG]	Executed store
2023-10-13	12:59:38	2125	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34602_disque_mdr-c,_Ø_180_mm,_6_trous,_6_vis_acier_inclus.jpg',`file_url_thumb`='bcprisme/34602_disque_mdr-c,_Ø_180_mm,_6_trous,_6_vis_acier_inclus.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '170705'
2023-10-13	12:59:38	2125	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:38	2125	[DEBUG]	Executed store
2023-10-13	12:59:38	2125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861617','170705','1')
2023-10-13	12:59:38	2125	[DEBUG]	Store product image relation
2023-10-13	12:59:38	2125	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:38	2125	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861617 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:38	2125	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:38	2125	[DEBUG]	Executed store
2023-10-13	12:59:38	2125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861617','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:38	2125	[DEBUG]	Checking manufacturer
2023-10-13	12:59:38	2125	[DEBUG]	Load a row
2023-10-13	12:59:38	2125	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:38	2125	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:38	2125	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:38	2125	[DEBUG]	Executed store
2023-10-13	12:59:38	2125	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:38	2125	[DEBUG]	Manufacturer exists
2023-10-13	12:59:38	2125	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:59:38	2125	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:38	2125	[DEBUG]	Executed store
2023-10-13	12:59:38	2125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861617','38')
2023-10-13	12:59:38	2125	[DEBUG]	Find the custom field ID
2023-10-13	12:59:38	2125	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:38	2125	[DEBUG]	No custom field ID found
2023-10-13	12:59:38	2125	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:38	2125	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:38	2125	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861617 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:38	2125	[DEBUG]	Store custom available field
2023-10-13	12:59:38	2125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861617,3,'0',1)
2023-10-13	12:59:38	2125	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:38	2125	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:38	2125	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861617 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:38	2125	[DEBUG]	Store custom available field
2023-10-13	12:59:38	2125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861617,6,'choisir la taille',3)
2023-10-13	12:59:38	2125	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:38	2125	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:38	2125	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:38	2125	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:38	2125	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861617 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:38	2125	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:38	2125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861617,8,1)
2023-10-13	12:59:38	2125	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:38	2125	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861617\":[1861617,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861617
2023-10-13	12:59:38	2125	[DEBUG]	Checking category
2023-10-13	12:59:38	2125	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:38	2125	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861617
2023-10-13	12:59:38	2125	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:38	2125	[DEBUG]	Executed store
2023-10-13	12:59:38	2125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861617','7337')
2023-10-13	12:59:38	2125	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:38	2125	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861617 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:38	2125	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:38	2125	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861617
2023-10-13	12:59:38	2126	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:38	2126	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:38	2126	[DEBUG]	Use field value for field taille
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:38	2126	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:38	2126	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:38	2126	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:38	2126	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:38	2126	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:38	2126	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:38	2126	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:38	2126	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:38	2126	[DEBUG]	Use field value for field published
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:38	2126	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field override
2023-10-13	12:59:38	2126	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:38	2126	[DEBUG]	Use field value for field slug
2023-10-13	12:59:38	2126	[DEBUG]	Process line 2126
2023-10-13	12:59:38	2126	[DEBUG]	Load a row
2023-10-13	12:59:38	2126	[DEBUG]	Processing item: 1000000121346
2023-10-13	12:59:38	2126	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:38	2126	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:38	2126	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7362_4'
2023-10-13	12:59:38	2126	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:38	2126	[DEBUG]	Processing product tax
2023-10-13	12:59:38	2126	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:38	2126	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:38	2126	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:38	2126	[DEBUG]	Query for Product
2023-10-13	12:59:38	2126	[DEBUG]	Executed store
2023-10-13	12:59:38	2126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861617','1000000121346','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:38	2126	[DEBUG]	No parent found
2023-10-13	12:59:38	2126	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861617 AND customfield_value = 'stockable'
2023-10-13	12:59:38	2126	[DEBUG]	Check product language entry
2023-10-13	12:59:38	2126	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861618
2023-10-13	12:59:38	2126	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:38	2126	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000121346' AND `virtuemart_product_id` != 1861618
2023-10-13	12:59:38	2126	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:38	2126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861618, '1000000121346')
2023-10-13	12:59:38	2126	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:38	2126	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-mdr-c-o-180-mm-6-trous-6-vis-acier-inclus-acier-unitaire' AND `virtuemart_product_id` != 1861618
2023-10-13	12:59:38	2126	[DEBUG]	Query for ProductLang
2023-10-13	12:59:38	2126	[DEBUG]	Executed store
2023-10-13	12:59:38	2126	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA DISQUE MDR-C, Ø 180 MM, 6 TROUS, 6 VIS ACIER INCLUS / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-mdr-c-o-180-mm-6-trous-6-vis-acier-inclus-acier-unitaire' WHERE `virtuemart_product_id` = '1861618'
2023-10-13	12:59:38	2126	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34602_disque_mdr-c,_Ø_180_mm,_6_trous,_6_vis_acier_inclus.jpg
2023-10-13	12:59:38	2126	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:38	2126	[DEBUG]	Process image file
2023-10-13	12:59:38	2126	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:38	2126	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:38	2126	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34602_disque_mdr-c,_Ø_180_mm,_6_trous,_6_vis_acier_inclus.jpg
2023-10-13	12:59:38	2126	[DEBUG]	Full name target: bcprisme/34602_disque_mdr-c,_Ø_180_mm,_6_trous,_6_vis_acier_inclus.jpg
2023-10-13	12:59:39	2126	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:39	2126	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34602_disque_mdr-c,_Ø_180_mm,_6_trous,_6_vis_acier_inclus.jpg'
2023-10-13	12:59:39	2126	[DEBUG]	Query for Media
2023-10-13	12:59:39	2126	[DEBUG]	Executed store
2023-10-13	12:59:39	2126	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34602_disque_mdr-c,_Ø_180_mm,_6_trous,_6_vis_acier_inclus.jpg',`file_url_thumb`='bcprisme/34602_disque_mdr-c,_Ø_180_mm,_6_trous,_6_vis_acier_inclus.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '170705'
2023-10-13	12:59:39	2126	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:39	2126	[DEBUG]	Executed store
2023-10-13	12:59:39	2126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861618','170705','1')
2023-10-13	12:59:39	2126	[DEBUG]	Store product image relation
2023-10-13	12:59:39	2126	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:39	2126	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861618 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:39	2126	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:39	2126	[DEBUG]	Executed store
2023-10-13	12:59:39	2126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861618','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:39	2126	[DEBUG]	Checking manufacturer
2023-10-13	12:59:39	2126	[DEBUG]	Load a row
2023-10-13	12:59:39	2126	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:39	2126	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:39	2126	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:39	2126	[DEBUG]	Executed store
2023-10-13	12:59:39	2126	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:39	2126	[DEBUG]	Manufacturer exists
2023-10-13	12:59:39	2126	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:59:39	2126	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:39	2126	[DEBUG]	Executed store
2023-10-13	12:59:39	2126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861618','38')
2023-10-13	12:59:39	2126	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:39	2126	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:39	2126	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861618 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:39	2126	[DEBUG]	Store custom available field
2023-10-13	12:59:39	2126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861618,3,'',1)
2023-10-13	12:59:39	2126	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:39	2126	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:59:39	2126	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861618 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:39	2126	[DEBUG]	Store custom available field
2023-10-13	12:59:39	2126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861618,6,'Unitaire',3)
2023-10-13	12:59:39	2126	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:39	2126	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:39	2126	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861617
2023-10-13	12:59:39	2126	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:39	2126	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861617\":[1861617,8,1,\"choisir la taille\"],\"1861618\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861617
2023-10-13	12:59:39	2126	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:39	2126	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861618
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:39	2127	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field taille
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:39	2127	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:39	2127	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:39	2127	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:39	2127	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:39	2127	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:39	2127	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field published
2023-10-13	12:59:39	2127	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:39	2127	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field override
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:39	2127	[DEBUG]	Use field value for field slug
2023-10-13	12:59:39	2127	[DEBUG]	Process line 2127
2023-10-13	12:59:39	2127	[DEBUG]	Load a row
2023-10-13	12:59:39	2127	[DEBUG]	Processing item: A_7363_63
2023-10-13	12:59:39	2127	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:39	2127	[DEBUG]	Processing product tax
2023-10-13	12:59:39	2127	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:39	2127	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:39	2127	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:39	2127	[DEBUG]	Query for Product
2023-10-13	12:59:39	2127	[DEBUG]	Executed store
2023-10-13	12:59:39	2127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7363_63','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:39	2127	[DEBUG]	Check product language entry
2023-10-13	12:59:39	2127	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861619
2023-10-13	12:59:39	2127	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:39	2127	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7363_63' AND `virtuemart_product_id` != 1861619
2023-10-13	12:59:39	2127	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:39	2127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861619, 'A_7363_63')
2023-10-13	12:59:39	2127	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:39	2127	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-mdr-p-o-203-mm-6-trous-6-vis-acier-inclus-ue-1-pc-avertissement-n-utilisez-pas-avec-l-adaptateur-centerlock-acier-noir' AND `virtuemart_product_id` != 1861619
2023-10-13	12:59:39	2127	[DEBUG]	Query for ProductLang
2023-10-13	12:59:39	2127	[DEBUG]	Executed store
2023-10-13	12:59:39	2127	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8791D',`product_name`='MAGURA DISQUE MDR-P, Ø 203 MM, 6 TROUS, 6 VIS ACIER INCLUS (UE = 1 PC) AVERTISSEMENT : N’UTILISEZ PAS AVEC L’ADAPTATEUR CENTERLOCK! / Acier-noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-mdr-p-o-203-mm-6-trous-6-vis-acier-inclus-ue-1-pc-avertissement-n-utilisez-pas-avec-l-adaptateur-centerlock-acier-noir' WHERE `virtuemart_product_id` = '1861619'
2023-10-13	12:59:39	2127	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34603_disque_mdr-p,_Ø_203_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!.jpg
2023-10-13	12:59:39	2127	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:39	2127	[DEBUG]	Process image file
2023-10-13	12:59:39	2127	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:39	2127	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:39	2127	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34603_disque_mdr-p,_Ø_203_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!.jpg
2023-10-13	12:59:39	2127	[DEBUG]	Full name target: bcprisme/34603_disque_mdr-p,_Ø_203_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!.jpg
2023-10-13	12:59:40	2127	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:40	2127	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34603_disque_mdr-p,_Ø_203_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!.jpg'
2023-10-13	12:59:40	2127	[DEBUG]	Query for Media
2023-10-13	12:59:40	2127	[DEBUG]	Executed store
2023-10-13	12:59:40	2127	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34603_disque_mdr-p,_Ø_203_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!.jpg',`file_url_thumb`='bcprisme/34603_disque_mdr-p,_Ø_203_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '170707'
2023-10-13	12:59:40	2127	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:40	2127	[DEBUG]	Executed store
2023-10-13	12:59:40	2127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861619','170707','1')
2023-10-13	12:59:40	2127	[DEBUG]	Store product image relation
2023-10-13	12:59:40	2127	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:40	2127	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861619 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:40	2127	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:40	2127	[DEBUG]	Executed store
2023-10-13	12:59:40	2127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861619','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:40	2127	[DEBUG]	Checking manufacturer
2023-10-13	12:59:40	2127	[DEBUG]	Load a row
2023-10-13	12:59:40	2127	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:40	2127	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:40	2127	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:40	2127	[DEBUG]	Executed store
2023-10-13	12:59:40	2127	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:40	2127	[DEBUG]	Manufacturer exists
2023-10-13	12:59:40	2127	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:59:40	2127	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:40	2127	[DEBUG]	Executed store
2023-10-13	12:59:40	2127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861619','38')
2023-10-13	12:59:40	2127	[DEBUG]	Find the custom field ID
2023-10-13	12:59:40	2127	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:40	2127	[DEBUG]	No custom field ID found
2023-10-13	12:59:40	2127	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:40	2127	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:40	2127	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861619 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:40	2127	[DEBUG]	Store custom available field
2023-10-13	12:59:40	2127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861619,3,'0',1)
2023-10-13	12:59:40	2127	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:40	2127	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:40	2127	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861619 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:40	2127	[DEBUG]	Store custom available field
2023-10-13	12:59:40	2127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861619,6,'choisir la taille',3)
2023-10-13	12:59:40	2127	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:40	2127	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:40	2127	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:40	2127	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:40	2127	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861619 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:40	2127	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:40	2127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861619,8,1)
2023-10-13	12:59:40	2127	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:40	2127	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861619\":[1861619,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861619
2023-10-13	12:59:40	2127	[DEBUG]	Checking category
2023-10-13	12:59:40	2127	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:40	2127	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861619
2023-10-13	12:59:40	2127	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:40	2127	[DEBUG]	Executed store
2023-10-13	12:59:40	2127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861619','7337')
2023-10-13	12:59:40	2127	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:40	2127	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861619 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:40	2127	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:40	2127	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861619
2023-10-13	12:59:40	2128	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:40	2128	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:40	2128	[DEBUG]	Use field value for field taille
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:40	2128	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:40	2128	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:40	2128	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:40	2128	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:40	2128	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:40	2128	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:40	2128	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:40	2128	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:40	2128	[DEBUG]	Use field value for field published
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:40	2128	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field override
2023-10-13	12:59:40	2128	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:40	2128	[DEBUG]	Use field value for field slug
2023-10-13	12:59:40	2128	[DEBUG]	Process line 2128
2023-10-13	12:59:40	2128	[DEBUG]	Load a row
2023-10-13	12:59:40	2128	[DEBUG]	Processing item: 4055184025796
2023-10-13	12:59:40	2128	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:40	2128	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:40	2128	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7363_63'
2023-10-13	12:59:40	2128	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:40	2128	[DEBUG]	Processing product tax
2023-10-13	12:59:40	2128	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:40	2128	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:40	2128	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:40	2128	[DEBUG]	Query for Product
2023-10-13	12:59:40	2128	[DEBUG]	Executed store
2023-10-13	12:59:40	2128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861619','4055184025796','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:40	2128	[DEBUG]	No parent found
2023-10-13	12:59:40	2128	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861619 AND customfield_value = 'stockable'
2023-10-13	12:59:40	2128	[DEBUG]	Check product language entry
2023-10-13	12:59:40	2128	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861620
2023-10-13	12:59:40	2128	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:40	2128	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184025796' AND `virtuemart_product_id` != 1861620
2023-10-13	12:59:40	2128	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:40	2128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861620, '4055184025796')
2023-10-13	12:59:40	2128	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:40	2128	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-mdr-p-o-203-mm-6-trous-6-vis-acier-inclus-ue-1-pc-avertissement-n-utilisez-pas-avec-l-adaptateur-centerlock-acier-noir-unitaire' AND `virtuemart_product_id` != 1861620
2023-10-13	12:59:40	2128	[DEBUG]	Query for ProductLang
2023-10-13	12:59:40	2128	[DEBUG]	Executed store
2023-10-13	12:59:40	2128	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA DISQUE MDR-P, Ø 203 MM, 6 TROUS, 6 VIS ACIER INCLUS (UE = 1 PC) AVERTISSEMENT : N’UTILISEZ PAS AVEC L’ADAPTATEUR CENTERLOCK! / Acier-noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-mdr-p-o-203-mm-6-trous-6-vis-acier-inclus-ue-1-pc-avertissement-n-utilisez-pas-avec-l-adaptateur-centerlock-acier-noir-unitaire' WHERE `virtuemart_product_id` = '1861620'
2023-10-13	12:59:40	2128	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34603_disque_mdr-p,_Ø_203_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!.jpg
2023-10-13	12:59:40	2128	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:40	2128	[DEBUG]	Process image file
2023-10-13	12:59:40	2128	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:40	2128	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:40	2128	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34603_disque_mdr-p,_Ø_203_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!.jpg
2023-10-13	12:59:40	2128	[DEBUG]	Full name target: bcprisme/34603_disque_mdr-p,_Ø_203_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!.jpg
2023-10-13	12:59:41	2128	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:41	2128	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34603_disque_mdr-p,_Ø_203_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!.jpg'
2023-10-13	12:59:41	2128	[DEBUG]	Query for Media
2023-10-13	12:59:41	2128	[DEBUG]	Executed store
2023-10-13	12:59:41	2128	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34603_disque_mdr-p,_Ø_203_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!.jpg',`file_url_thumb`='bcprisme/34603_disque_mdr-p,_Ø_203_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '170707'
2023-10-13	12:59:41	2128	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:41	2128	[DEBUG]	Executed store
2023-10-13	12:59:41	2128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861620','170707','1')
2023-10-13	12:59:41	2128	[DEBUG]	Store product image relation
2023-10-13	12:59:41	2128	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:41	2128	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861620 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:41	2128	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:41	2128	[DEBUG]	Executed store
2023-10-13	12:59:41	2128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861620','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:41	2128	[DEBUG]	Checking manufacturer
2023-10-13	12:59:41	2128	[DEBUG]	Load a row
2023-10-13	12:59:41	2128	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:41	2128	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:41	2128	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:41	2128	[DEBUG]	Executed store
2023-10-13	12:59:41	2128	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:41	2128	[DEBUG]	Manufacturer exists
2023-10-13	12:59:41	2128	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:59:41	2128	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:41	2128	[DEBUG]	Executed store
2023-10-13	12:59:41	2128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861620','38')
2023-10-13	12:59:41	2128	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:41	2128	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:41	2128	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861620 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:41	2128	[DEBUG]	Store custom available field
2023-10-13	12:59:41	2128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861620,3,'',1)
2023-10-13	12:59:41	2128	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:41	2128	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:59:41	2128	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861620 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:41	2128	[DEBUG]	Store custom available field
2023-10-13	12:59:41	2128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861620,6,'Unitaire',3)
2023-10-13	12:59:41	2128	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:41	2128	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:41	2128	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861619
2023-10-13	12:59:41	2128	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:41	2128	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861619\":[1861619,8,1,\"choisir la taille\"],\"1861620\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861619
2023-10-13	12:59:41	2128	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:41	2128	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861620
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:41	2129	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field taille
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:41	2129	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:41	2129	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:41	2129	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:41	2129	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:41	2129	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:41	2129	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field published
2023-10-13	12:59:41	2129	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:41	2129	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field override
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:41	2129	[DEBUG]	Use field value for field slug
2023-10-13	12:59:41	2129	[DEBUG]	Process line 2129
2023-10-13	12:59:41	2129	[DEBUG]	Load a row
2023-10-13	12:59:41	2129	[DEBUG]	Processing item: A_7451_208
2023-10-13	12:59:41	2129	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:41	2129	[DEBUG]	Processing product tax
2023-10-13	12:59:41	2129	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:41	2129	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:41	2129	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:41	2129	[DEBUG]	Query for Product
2023-10-13	12:59:41	2129	[DEBUG]	Executed store
2023-10-13	12:59:41	2129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7451_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:41	2129	[DEBUG]	Check product language entry
2023-10-13	12:59:41	2129	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861621
2023-10-13	12:59:41	2129	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:41	2129	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7451_208' AND `virtuemart_product_id` != 1861621
2023-10-13	12:59:41	2129	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:41	2129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861621, 'A_7451_208')
2023-10-13	12:59:41	2129	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:41	2129	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-xt-rt-mt800-203-mm-center-lock-crante-a-lexterieur-box-aucune' AND `virtuemart_product_id` != 1861621
2023-10-13	12:59:41	2129	[DEBUG]	Query for ProductLang
2023-10-13	12:59:41	2129	[DEBUG]	Executed store
2023-10-13	12:59:41	2129	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75134',`product_name`='SHIMANO Disque XT RT-MT800 203 mm Center-Lock cranté à lextérieur box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-xt-rt-mt800-203-mm-center-lock-crante-a-lexterieur-box-aucune' WHERE `virtuemart_product_id` = '1861621'
2023-10-13	12:59:41	2129	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75132_01.jpg
2023-10-13	12:59:41	2129	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:41	2129	[DEBUG]	Process image file
2023-10-13	12:59:41	2129	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:41	2129	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:41	2129	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75132_01.jpg
2023-10-13	12:59:41	2129	[DEBUG]	Full name target: bcprisme/73_75132_01.jpg
2023-10-13	12:59:42	2129	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:42	2129	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75132_01.jpg'
2023-10-13	12:59:42	2129	[DEBUG]	Query for Media
2023-10-13	12:59:42	2129	[DEBUG]	Executed store
2023-10-13	12:59:42	2129	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75132_01.jpg',`file_url_thumb`='bcprisme/73_75132_01.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436589'
2023-10-13	12:59:42	2129	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:42	2129	[DEBUG]	Executed store
2023-10-13	12:59:42	2129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861621','436589','1')
2023-10-13	12:59:42	2129	[DEBUG]	Store product image relation
2023-10-13	12:59:42	2129	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:42	2129	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861621 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:42	2129	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:42	2129	[DEBUG]	Executed store
2023-10-13	12:59:42	2129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861621','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:42	2129	[DEBUG]	Checking manufacturer
2023-10-13	12:59:42	2129	[DEBUG]	Load a row
2023-10-13	12:59:42	2129	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:42	2129	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:42	2129	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:42	2129	[DEBUG]	Executed store
2023-10-13	12:59:42	2129	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:42	2129	[DEBUG]	Manufacturer exists
2023-10-13	12:59:42	2129	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:42	2129	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:42	2129	[DEBUG]	Executed store
2023-10-13	12:59:42	2129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861621','26')
2023-10-13	12:59:42	2129	[DEBUG]	Find the custom field ID
2023-10-13	12:59:42	2129	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:42	2129	[DEBUG]	No custom field ID found
2023-10-13	12:59:42	2129	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:42	2129	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:42	2129	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861621 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:42	2129	[DEBUG]	Store custom available field
2023-10-13	12:59:42	2129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861621,3,'0',1)
2023-10-13	12:59:42	2129	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:42	2129	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:42	2129	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861621 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:42	2129	[DEBUG]	Store custom available field
2023-10-13	12:59:42	2129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861621,6,'choisir la taille',3)
2023-10-13	12:59:42	2129	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:42	2129	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:42	2129	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:42	2129	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:42	2129	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861621 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:42	2129	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:42	2129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861621,8,1)
2023-10-13	12:59:42	2129	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:42	2129	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861621\":[1861621,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861621
2023-10-13	12:59:42	2129	[DEBUG]	Checking category
2023-10-13	12:59:42	2129	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:42	2129	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861621
2023-10-13	12:59:42	2129	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:42	2129	[DEBUG]	Executed store
2023-10-13	12:59:42	2129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861621','7337')
2023-10-13	12:59:42	2129	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:42	2129	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861621 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:42	2129	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:42	2129	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861621
2023-10-13	12:59:42	2130	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:42	2130	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:42	2130	[DEBUG]	Use field value for field taille
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:42	2130	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:42	2130	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:42	2130	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:42	2130	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:42	2130	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:42	2130	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:42	2130	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:42	2130	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:42	2130	[DEBUG]	Use field value for field published
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:42	2130	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field override
2023-10-13	12:59:42	2130	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:42	2130	[DEBUG]	Use field value for field slug
2023-10-13	12:59:42	2130	[DEBUG]	Process line 2130
2023-10-13	12:59:42	2130	[DEBUG]	Load a row
2023-10-13	12:59:42	2130	[DEBUG]	Processing item: 4550170442248
2023-10-13	12:59:42	2130	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:42	2130	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:42	2130	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7451_208'
2023-10-13	12:59:42	2130	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:42	2130	[DEBUG]	Processing product tax
2023-10-13	12:59:42	2130	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:42	2130	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:42	2130	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:42	2130	[DEBUG]	Query for Product
2023-10-13	12:59:42	2130	[DEBUG]	Executed store
2023-10-13	12:59:42	2130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861621','4550170442248','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:42	2130	[DEBUG]	No parent found
2023-10-13	12:59:42	2130	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861621 AND customfield_value = 'stockable'
2023-10-13	12:59:42	2130	[DEBUG]	Check product language entry
2023-10-13	12:59:42	2130	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861622
2023-10-13	12:59:42	2130	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:42	2130	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170442248' AND `virtuemart_product_id` != 1861622
2023-10-13	12:59:42	2130	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:42	2130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861622, '4550170442248')
2023-10-13	12:59:42	2130	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:42	2130	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-xt-rt-mt800-203-mm-center-lock-crante-a-lexterieur-box-aucune-unitaire' AND `virtuemart_product_id` != 1861622
2023-10-13	12:59:42	2130	[DEBUG]	Query for ProductLang
2023-10-13	12:59:42	2130	[DEBUG]	Executed store
2023-10-13	12:59:42	2130	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque XT RT-MT800 203 mm Center-Lock cranté à lextérieur box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-xt-rt-mt800-203-mm-center-lock-crante-a-lexterieur-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861622'
2023-10-13	12:59:42	2130	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75132_01.jpg
2023-10-13	12:59:42	2130	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:42	2130	[DEBUG]	Process image file
2023-10-13	12:59:42	2130	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:42	2130	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:42	2130	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75132_01.jpg
2023-10-13	12:59:42	2130	[DEBUG]	Full name target: bcprisme/73_75132_01.jpg
2023-10-13	12:59:43	2130	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:43	2130	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75132_01.jpg'
2023-10-13	12:59:43	2130	[DEBUG]	Query for Media
2023-10-13	12:59:43	2130	[DEBUG]	Executed store
2023-10-13	12:59:43	2130	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75132_01.jpg',`file_url_thumb`='bcprisme/73_75132_01.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436589'
2023-10-13	12:59:43	2130	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:43	2130	[DEBUG]	Executed store
2023-10-13	12:59:43	2130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861622','436589','1')
2023-10-13	12:59:43	2130	[DEBUG]	Store product image relation
2023-10-13	12:59:43	2130	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:43	2130	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861622 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:43	2130	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:43	2130	[DEBUG]	Executed store
2023-10-13	12:59:43	2130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861622','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:43	2130	[DEBUG]	Checking manufacturer
2023-10-13	12:59:43	2130	[DEBUG]	Load a row
2023-10-13	12:59:43	2130	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:43	2130	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:43	2130	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:43	2130	[DEBUG]	Executed store
2023-10-13	12:59:43	2130	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:43	2130	[DEBUG]	Manufacturer exists
2023-10-13	12:59:43	2130	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:43	2130	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:43	2130	[DEBUG]	Executed store
2023-10-13	12:59:43	2130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861622','26')
2023-10-13	12:59:43	2130	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:43	2130	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:43	2130	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861622 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:43	2130	[DEBUG]	Store custom available field
2023-10-13	12:59:43	2130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861622,3,'',1)
2023-10-13	12:59:43	2130	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:43	2130	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:59:43	2130	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861622 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:43	2130	[DEBUG]	Store custom available field
2023-10-13	12:59:43	2130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861622,6,'Unitaire',3)
2023-10-13	12:59:43	2130	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:43	2130	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:43	2130	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861621
2023-10-13	12:59:43	2130	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:43	2130	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861621\":[1861621,8,1,\"choisir la taille\"],\"1861622\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861621
2023-10-13	12:59:43	2130	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:43	2130	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861622
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:43	2131	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field taille
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:43	2131	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:43	2131	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:43	2131	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:43	2131	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:43	2131	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:43	2131	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field published
2023-10-13	12:59:43	2131	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:43	2131	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field override
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:43	2131	[DEBUG]	Use field value for field slug
2023-10-13	12:59:43	2131	[DEBUG]	Process line 2131
2023-10-13	12:59:43	2131	[DEBUG]	Load a row
2023-10-13	12:59:43	2131	[DEBUG]	Processing item: A_7643_0
2023-10-13	12:59:43	2131	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:43	2131	[DEBUG]	Processing product tax
2023-10-13	12:59:43	2131	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:43	2131	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:43	2131	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:43	2131	[DEBUG]	Query for Product
2023-10-13	12:59:43	2131	[DEBUG]	Executed store
2023-10-13	12:59:43	2131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7643_0','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:43	2131	[DEBUG]	Check product language entry
2023-10-13	12:59:43	2131	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861623
2023-10-13	12:59:43	2131	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:43	2131	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7643_0' AND `virtuemart_product_id` != 1861623
2023-10-13	12:59:43	2131	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:43	2131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861623, 'A_7643_0')
2023-10-13	12:59:43	2131	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:43	2131	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-mdr-c-o-160-mm-center-lock-unique' AND `virtuemart_product_id` != 1861623
2023-10-13	12:59:43	2131	[DEBUG]	Query for ProductLang
2023-10-13	12:59:43	2131	[DEBUG]	Executed store
2023-10-13	12:59:43	2131	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8793D',`product_name`='MAGURA DISQUE MDR-C, Ø 160 MM, Center-Lock / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-mdr-c-o-160-mm-center-lock-unique' WHERE `virtuemart_product_id` = '1861623'
2023-10-13	12:59:43	2131	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35123_disque_mdr-c,_Ø_160_mm,_6_trous,_6_vis_acier_inclus_.jpg
2023-10-13	12:59:43	2131	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:43	2131	[DEBUG]	Process image file
2023-10-13	12:59:43	2131	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:43	2131	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:43	2131	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35123_disque_mdr-c,_Ø_160_mm,_6_trous,_6_vis_acier_inclus_.jpg
2023-10-13	12:59:43	2131	[DEBUG]	Full name target: bcprisme/35123_disque_mdr-c,_Ø_160_mm,_6_trous,_6_vis_acier_inclus_.jpg
2023-10-13	12:59:44	2131	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:44	2131	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35123_disque_mdr-c,_Ø_160_mm,_6_trous,_6_vis_acier_inclus_.jpg'
2023-10-13	12:59:44	2131	[DEBUG]	Query for Media
2023-10-13	12:59:44	2131	[DEBUG]	Executed store
2023-10-13	12:59:44	2131	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35123_disque_mdr-c,_Ø_160_mm,_6_trous,_6_vis_acier_inclus_.jpg',`file_url_thumb`='bcprisme/35123_disque_mdr-c,_Ø_160_mm,_6_trous,_6_vis_acier_inclus_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '350319'
2023-10-13	12:59:44	2131	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:44	2131	[DEBUG]	Executed store
2023-10-13	12:59:44	2131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861623','350319','1')
2023-10-13	12:59:44	2131	[DEBUG]	Store product image relation
2023-10-13	12:59:44	2131	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:44	2131	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861623 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:44	2131	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:44	2131	[DEBUG]	Executed store
2023-10-13	12:59:44	2131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861623','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:44	2131	[DEBUG]	Checking manufacturer
2023-10-13	12:59:44	2131	[DEBUG]	Load a row
2023-10-13	12:59:44	2131	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:44	2131	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:44	2131	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:44	2131	[DEBUG]	Executed store
2023-10-13	12:59:44	2131	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:44	2131	[DEBUG]	Manufacturer exists
2023-10-13	12:59:44	2131	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:59:44	2131	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:44	2131	[DEBUG]	Executed store
2023-10-13	12:59:44	2131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861623','38')
2023-10-13	12:59:44	2131	[DEBUG]	Find the custom field ID
2023-10-13	12:59:44	2131	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:44	2131	[DEBUG]	No custom field ID found
2023-10-13	12:59:44	2131	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:44	2131	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:44	2131	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861623 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:44	2131	[DEBUG]	Store custom available field
2023-10-13	12:59:44	2131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861623,3,'0',1)
2023-10-13	12:59:44	2131	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:44	2131	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:44	2131	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861623 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:44	2131	[DEBUG]	Store custom available field
2023-10-13	12:59:44	2131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861623,6,'choisir la taille',3)
2023-10-13	12:59:44	2131	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:44	2131	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:44	2131	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:44	2131	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:44	2131	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861623 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:44	2131	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:44	2131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861623,8,1)
2023-10-13	12:59:44	2131	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:44	2131	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861623\":[1861623,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861623
2023-10-13	12:59:44	2131	[DEBUG]	Checking category
2023-10-13	12:59:44	2131	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:44	2131	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861623
2023-10-13	12:59:44	2131	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:44	2131	[DEBUG]	Executed store
2023-10-13	12:59:44	2131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861623','7337')
2023-10-13	12:59:44	2131	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:44	2131	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861623 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:44	2131	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:44	2131	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861623
2023-10-13	12:59:44	2132	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:44	2132	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:44	2132	[DEBUG]	Use field value for field taille
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:44	2132	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:44	2132	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:44	2132	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:44	2132	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:44	2132	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:44	2132	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:44	2132	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:44	2132	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:44	2132	[DEBUG]	Use field value for field published
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:44	2132	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field override
2023-10-13	12:59:44	2132	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:44	2132	[DEBUG]	Use field value for field slug
2023-10-13	12:59:44	2132	[DEBUG]	Process line 2132
2023-10-13	12:59:44	2132	[DEBUG]	Load a row
2023-10-13	12:59:44	2132	[DEBUG]	Processing item: 4055184028803
2023-10-13	12:59:44	2132	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:44	2132	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:44	2132	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7643_0'
2023-10-13	12:59:44	2132	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:44	2132	[DEBUG]	Processing product tax
2023-10-13	12:59:44	2132	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:44	2132	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:44	2132	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:44	2132	[DEBUG]	Query for Product
2023-10-13	12:59:44	2132	[DEBUG]	Executed store
2023-10-13	12:59:44	2132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861623','4055184028803','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:44	2132	[DEBUG]	No parent found
2023-10-13	12:59:44	2132	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861623 AND customfield_value = 'stockable'
2023-10-13	12:59:44	2132	[DEBUG]	Check product language entry
2023-10-13	12:59:44	2132	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861624
2023-10-13	12:59:44	2132	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:44	2132	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184028803' AND `virtuemart_product_id` != 1861624
2023-10-13	12:59:44	2132	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:44	2132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861624, '4055184028803')
2023-10-13	12:59:44	2132	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:44	2132	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-mdr-c-o-160-mm-center-lock-unique-unitaire' AND `virtuemart_product_id` != 1861624
2023-10-13	12:59:44	2132	[DEBUG]	Query for ProductLang
2023-10-13	12:59:44	2132	[DEBUG]	Executed store
2023-10-13	12:59:44	2132	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA DISQUE MDR-C, Ø 160 MM, Center-Lock / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-mdr-c-o-160-mm-center-lock-unique-unitaire' WHERE `virtuemart_product_id` = '1861624'
2023-10-13	12:59:44	2132	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35123_disque_mdr-c,_Ø_160_mm,_6_trous,_6_vis_acier_inclus_.jpg
2023-10-13	12:59:44	2132	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:44	2132	[DEBUG]	Process image file
2023-10-13	12:59:44	2132	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	12:59:44	2132	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:44	2132	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35123_disque_mdr-c,_Ø_160_mm,_6_trous,_6_vis_acier_inclus_.jpg
2023-10-13	12:59:44	2132	[DEBUG]	Full name target: bcprisme/35123_disque_mdr-c,_Ø_160_mm,_6_trous,_6_vis_acier_inclus_.jpg
2023-10-13	12:59:45	2132	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:45	2132	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35123_disque_mdr-c,_Ø_160_mm,_6_trous,_6_vis_acier_inclus_.jpg'
2023-10-13	12:59:45	2132	[DEBUG]	Query for Media
2023-10-13	12:59:45	2132	[DEBUG]	Executed store
2023-10-13	12:59:45	2132	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35123_disque_mdr-c,_Ø_160_mm,_6_trous,_6_vis_acier_inclus_.jpg',`file_url_thumb`='bcprisme/35123_disque_mdr-c,_Ø_160_mm,_6_trous,_6_vis_acier_inclus_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '350319'
2023-10-13	12:59:45	2132	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:45	2132	[DEBUG]	Executed store
2023-10-13	12:59:45	2132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861624','350319','1')
2023-10-13	12:59:45	2132	[DEBUG]	Store product image relation
2023-10-13	12:59:45	2132	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:45	2132	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861624 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:45	2132	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:45	2132	[DEBUG]	Executed store
2023-10-13	12:59:45	2132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861624','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:45	2132	[DEBUG]	Checking manufacturer
2023-10-13	12:59:45	2132	[DEBUG]	Load a row
2023-10-13	12:59:45	2132	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:45	2132	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:45	2132	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:45	2132	[DEBUG]	Executed store
2023-10-13	12:59:45	2132	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:45	2132	[DEBUG]	Manufacturer exists
2023-10-13	12:59:45	2132	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:59:45	2132	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:45	2132	[DEBUG]	Executed store
2023-10-13	12:59:45	2132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861624','38')
2023-10-13	12:59:45	2132	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:45	2132	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:45	2132	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861624 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:45	2132	[DEBUG]	Store custom available field
2023-10-13	12:59:45	2132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861624,3,'',1)
2023-10-13	12:59:45	2132	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:45	2132	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:59:45	2132	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861624 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:45	2132	[DEBUG]	Store custom available field
2023-10-13	12:59:45	2132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861624,6,'Unitaire',3)
2023-10-13	12:59:45	2132	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:45	2132	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:45	2132	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861623
2023-10-13	12:59:45	2132	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:45	2132	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861623\":[1861623,8,1,\"choisir la taille\"],\"1861624\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861623
2023-10-13	12:59:45	2132	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:45	2132	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861624
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:45	2133	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field taille
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:45	2133	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:45	2133	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:45	2133	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:45	2133	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:45	2133	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:45	2133	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field published
2023-10-13	12:59:45	2133	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:45	2133	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field override
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:45	2133	[DEBUG]	Use field value for field slug
2023-10-13	12:59:45	2133	[DEBUG]	Process line 2133
2023-10-13	12:59:45	2133	[DEBUG]	Load a row
2023-10-13	12:59:45	2133	[DEBUG]	Processing item: A_7914_208
2023-10-13	12:59:45	2133	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:45	2133	[DEBUG]	Processing product tax
2023-10-13	12:59:45	2133	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:45	2133	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:45	2133	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:45	2133	[DEBUG]	Query for Product
2023-10-13	12:59:45	2133	[DEBUG]	Executed store
2023-10-13	12:59:45	2133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7914_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:45	2133	[DEBUG]	Check product language entry
2023-10-13	12:59:45	2133	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861625
2023-10-13	12:59:45	2133	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:45	2133	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7914_208' AND `virtuemart_product_id` != 1861625
2023-10-13	12:59:45	2133	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:45	2133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861625, 'A_7914_208')
2023-10-13	12:59:45	2133	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:45	2133	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-ultegra-sm-rt800-160mm-center-lock-box-aucune' AND `virtuemart_product_id` != 1861625
2023-10-13	12:59:45	2133	[DEBUG]	Query for ProductLang
2023-10-13	12:59:45	2133	[DEBUG]	Executed store
2023-10-13	12:59:45	2133	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.69299',`product_name`='SHIMANO Disque Ultegra SM-RT800 160mm Center-Lock box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-ultegra-sm-rt800-160mm-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861625'
2023-10-13	12:59:45	2133	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_69299_jpg.jpg has not been found.
2023-10-13	12:59:45	2133	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:45	2133	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861625 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:45	2133	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:45	2133	[DEBUG]	Executed store
2023-10-13	12:59:45	2133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861625','0','64.066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:45	2133	[DEBUG]	Checking manufacturer
2023-10-13	12:59:45	2133	[DEBUG]	Load a row
2023-10-13	12:59:45	2133	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:45	2133	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:45	2133	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:45	2133	[DEBUG]	Executed store
2023-10-13	12:59:45	2133	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:45	2133	[DEBUG]	Manufacturer exists
2023-10-13	12:59:45	2133	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:45	2133	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:45	2133	[DEBUG]	Executed store
2023-10-13	12:59:45	2133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861625','26')
2023-10-13	12:59:45	2133	[DEBUG]	Find the custom field ID
2023-10-13	12:59:45	2133	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:45	2133	[DEBUG]	No custom field ID found
2023-10-13	12:59:45	2133	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:45	2133	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:45	2133	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861625 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:45	2133	[DEBUG]	Store custom available field
2023-10-13	12:59:45	2133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861625,3,'0',1)
2023-10-13	12:59:45	2133	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:45	2133	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:45	2133	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861625 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:45	2133	[DEBUG]	Store custom available field
2023-10-13	12:59:45	2133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861625,6,'choisir la taille',3)
2023-10-13	12:59:45	2133	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:45	2133	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:45	2133	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:45	2133	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:45	2133	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861625 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:45	2133	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:45	2133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861625,8,1)
2023-10-13	12:59:45	2133	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:45	2133	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861625\":[1861625,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861625
2023-10-13	12:59:45	2133	[DEBUG]	Checking category
2023-10-13	12:59:45	2133	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:45	2133	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861625
2023-10-13	12:59:45	2133	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:45	2133	[DEBUG]	Executed store
2023-10-13	12:59:45	2133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861625','7337')
2023-10-13	12:59:45	2133	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:45	2133	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861625 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:45	2133	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:45	2133	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861625
2023-10-13	12:59:45	2134	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:45	2134	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:45	2134	[DEBUG]	Use field value for field taille
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:45	2134	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:45	2134	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:45	2134	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:45	2134	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:45	2134	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:45	2134	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:45	2134	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:45	2134	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:45	2134	[DEBUG]	Use field value for field published
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:45	2134	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field override
2023-10-13	12:59:45	2134	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:45	2134	[DEBUG]	Use field value for field slug
2023-10-13	12:59:45	2134	[DEBUG]	Process line 2134
2023-10-13	12:59:45	2134	[DEBUG]	Load a row
2023-10-13	12:59:45	2134	[DEBUG]	Processing item: 4524667728757
2023-10-13	12:59:45	2134	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:45	2134	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:45	2134	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7914_208'
2023-10-13	12:59:45	2134	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:45	2134	[DEBUG]	Processing product tax
2023-10-13	12:59:45	2134	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:45	2134	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:45	2134	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:45	2134	[DEBUG]	Query for Product
2023-10-13	12:59:45	2134	[DEBUG]	Executed store
2023-10-13	12:59:45	2134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861625','4524667728757','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:45	2134	[DEBUG]	No parent found
2023-10-13	12:59:45	2134	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861625 AND customfield_value = 'stockable'
2023-10-13	12:59:45	2134	[DEBUG]	Check product language entry
2023-10-13	12:59:45	2134	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861626
2023-10-13	12:59:45	2134	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:45	2134	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667728757' AND `virtuemart_product_id` != 1861626
2023-10-13	12:59:45	2134	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:45	2134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861626, '4524667728757')
2023-10-13	12:59:45	2134	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:45	2134	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-ultegra-sm-rt800-160mm-center-lock-box-aucune-unitaire' AND `virtuemart_product_id` != 1861626
2023-10-13	12:59:45	2134	[DEBUG]	Query for ProductLang
2023-10-13	12:59:45	2134	[DEBUG]	Executed store
2023-10-13	12:59:45	2134	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Ultegra SM-RT800 160mm Center-Lock box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-ultegra-sm-rt800-160mm-center-lock-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861626'
2023-10-13	12:59:45	2134	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_69299_jpg.jpg has not been found.
2023-10-13	12:59:45	2134	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:45	2134	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861626 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:45	2134	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:45	2134	[DEBUG]	Executed store
2023-10-13	12:59:45	2134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861626','0','64.066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:45	2134	[DEBUG]	Checking manufacturer
2023-10-13	12:59:45	2134	[DEBUG]	Load a row
2023-10-13	12:59:45	2134	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:45	2134	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:45	2134	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:45	2134	[DEBUG]	Executed store
2023-10-13	12:59:45	2134	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:45	2134	[DEBUG]	Manufacturer exists
2023-10-13	12:59:45	2134	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:45	2134	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:45	2134	[DEBUG]	Executed store
2023-10-13	12:59:45	2134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861626','26')
2023-10-13	12:59:45	2134	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:45	2134	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:45	2134	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861626 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:45	2134	[DEBUG]	Store custom available field
2023-10-13	12:59:45	2134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861626,3,'',1)
2023-10-13	12:59:45	2134	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:45	2134	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:59:45	2134	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861626 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:45	2134	[DEBUG]	Store custom available field
2023-10-13	12:59:45	2134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861626,6,'Unitaire',3)
2023-10-13	12:59:45	2134	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:45	2134	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:45	2134	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861625
2023-10-13	12:59:45	2134	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:45	2134	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861625\":[1861625,8,1,\"choisir la taille\"],\"1861626\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861625
2023-10-13	12:59:45	2134	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:45	2134	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861626
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:45	2135	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field taille
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:45	2135	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:45	2135	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:45	2135	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:45	2135	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:45	2135	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:45	2135	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field published
2023-10-13	12:59:45	2135	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:45	2135	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field override
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:45	2135	[DEBUG]	Use field value for field slug
2023-10-13	12:59:45	2135	[DEBUG]	Process line 2135
2023-10-13	12:59:45	2135	[DEBUG]	Load a row
2023-10-13	12:59:45	2135	[DEBUG]	Processing item: A_8026_208
2023-10-13	12:59:45	2135	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:45	2135	[DEBUG]	Processing product tax
2023-10-13	12:59:45	2135	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:45	2135	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:45	2135	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:45	2135	[DEBUG]	Query for Product
2023-10-13	12:59:45	2135	[DEBUG]	Executed store
2023-10-13	12:59:45	2135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8026_208','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:45	2135	[DEBUG]	Check product language entry
2023-10-13	12:59:45	2135	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861627
2023-10-13	12:59:45	2135	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:45	2135	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8026_208' AND `virtuemart_product_id` != 1861627
2023-10-13	12:59:45	2135	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:45	2135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861627, 'A_8026_208')
2023-10-13	12:59:45	2135	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:45	2135	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt76-203-mm-6-trous-box-aucune' AND `virtuemart_product_id` != 1861627
2023-10-13	12:59:45	2135	[DEBUG]	Query for ProductLang
2023-10-13	12:59:45	2135	[DEBUG]	Executed store
2023-10-13	12:59:45	2135	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.48759',`product_name`='SHIMANO Disque Deore XT SM-RT76 203 mm 6-trous  box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt76-203-mm-6-trous-box-aucune' WHERE `virtuemart_product_id` = '1861627'
2023-10-13	12:59:45	2135	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_48757_jpg.jpg
2023-10-13	12:59:45	2135	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:45	2135	[DEBUG]	Process image file
2023-10-13	12:59:45	2135	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:45	2135	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:45	2135	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_48757_jpg.jpg
2023-10-13	12:59:45	2135	[DEBUG]	Full name target: bcprisme/73_48757_jpg.jpg
2023-10-13	12:59:46	2135	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:46	2135	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_48757_jpg.jpg'
2023-10-13	12:59:46	2135	[DEBUG]	Query for Media
2023-10-13	12:59:46	2135	[DEBUG]	Executed store
2023-10-13	12:59:46	2135	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_48757_jpg.jpg',`file_url_thumb`='bcprisme/73_48757_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '626384'
2023-10-13	12:59:46	2135	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:46	2135	[DEBUG]	Executed store
2023-10-13	12:59:46	2135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861627','626384','1')
2023-10-13	12:59:46	2135	[DEBUG]	Store product image relation
2023-10-13	12:59:46	2135	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:46	2135	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861627 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:46	2135	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:46	2135	[DEBUG]	Executed store
2023-10-13	12:59:46	2135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861627','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:46	2135	[DEBUG]	Checking manufacturer
2023-10-13	12:59:46	2135	[DEBUG]	Load a row
2023-10-13	12:59:46	2135	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:46	2135	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:46	2135	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:46	2135	[DEBUG]	Executed store
2023-10-13	12:59:46	2135	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:46	2135	[DEBUG]	Manufacturer exists
2023-10-13	12:59:46	2135	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:46	2135	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:46	2135	[DEBUG]	Executed store
2023-10-13	12:59:46	2135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861627','26')
2023-10-13	12:59:46	2135	[DEBUG]	Find the custom field ID
2023-10-13	12:59:46	2135	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:46	2135	[DEBUG]	No custom field ID found
2023-10-13	12:59:46	2135	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:46	2135	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:46	2135	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861627 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:46	2135	[DEBUG]	Store custom available field
2023-10-13	12:59:46	2135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861627,3,'0',1)
2023-10-13	12:59:46	2135	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:46	2135	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:46	2135	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861627 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:46	2135	[DEBUG]	Store custom available field
2023-10-13	12:59:46	2135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861627,6,'choisir la taille',3)
2023-10-13	12:59:46	2135	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:46	2135	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:46	2135	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:46	2135	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:46	2135	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861627 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:46	2135	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:46	2135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861627,8,1)
2023-10-13	12:59:46	2135	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:46	2135	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861627\":[1861627,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861627
2023-10-13	12:59:46	2135	[DEBUG]	Checking category
2023-10-13	12:59:46	2135	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:46	2135	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861627
2023-10-13	12:59:46	2135	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:46	2135	[DEBUG]	Executed store
2023-10-13	12:59:46	2135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861627','7337')
2023-10-13	12:59:46	2135	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:46	2135	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861627 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:46	2135	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:46	2135	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861627
2023-10-13	12:59:46	2136	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:46	2136	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:46	2136	[DEBUG]	Use field value for field taille
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:46	2136	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:46	2136	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:46	2136	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:46	2136	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:46	2136	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:46	2136	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:46	2136	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:46	2136	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:46	2136	[DEBUG]	Use field value for field published
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:46	2136	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field override
2023-10-13	12:59:46	2136	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:46	2136	[DEBUG]	Use field value for field slug
2023-10-13	12:59:46	2136	[DEBUG]	Process line 2136
2023-10-13	12:59:46	2136	[DEBUG]	Load a row
2023-10-13	12:59:46	2136	[DEBUG]	Processing item: 4550170598389
2023-10-13	12:59:46	2136	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:46	2136	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:46	2136	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8026_208'
2023-10-13	12:59:46	2136	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:46	2136	[DEBUG]	Processing product tax
2023-10-13	12:59:46	2136	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:46	2136	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:46	2136	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:46	2136	[DEBUG]	Query for Product
2023-10-13	12:59:46	2136	[DEBUG]	Executed store
2023-10-13	12:59:46	2136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861627','4550170598389','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:46	2136	[DEBUG]	No parent found
2023-10-13	12:59:46	2136	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861627 AND customfield_value = 'stockable'
2023-10-13	12:59:46	2136	[DEBUG]	Check product language entry
2023-10-13	12:59:46	2136	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861628
2023-10-13	12:59:46	2136	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:46	2136	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170598389' AND `virtuemart_product_id` != 1861628
2023-10-13	12:59:46	2136	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:46	2136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861628, '4550170598389')
2023-10-13	12:59:46	2136	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:46	2136	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt76-203-mm-6-trous-box-aucune-unitaire' AND `virtuemart_product_id` != 1861628
2023-10-13	12:59:46	2136	[DEBUG]	Query for ProductLang
2023-10-13	12:59:46	2136	[DEBUG]	Executed store
2023-10-13	12:59:46	2136	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore XT SM-RT76 203 mm 6-trous  box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt76-203-mm-6-trous-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861628'
2023-10-13	12:59:46	2136	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_48757_jpg.jpg
2023-10-13	12:59:46	2136	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:46	2136	[DEBUG]	Process image file
2023-10-13	12:59:46	2136	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:46	2136	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:46	2136	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_48757_jpg.jpg
2023-10-13	12:59:46	2136	[DEBUG]	Full name target: bcprisme/73_48757_jpg.jpg
2023-10-13	12:59:47	2136	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:47	2136	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_48757_jpg.jpg'
2023-10-13	12:59:47	2136	[DEBUG]	Query for Media
2023-10-13	12:59:47	2136	[DEBUG]	Executed store
2023-10-13	12:59:47	2136	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_48757_jpg.jpg',`file_url_thumb`='bcprisme/73_48757_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '626384'
2023-10-13	12:59:47	2136	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:47	2136	[DEBUG]	Executed store
2023-10-13	12:59:47	2136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861628','626384','1')
2023-10-13	12:59:47	2136	[DEBUG]	Store product image relation
2023-10-13	12:59:47	2136	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:47	2136	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861628 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:47	2136	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:47	2136	[DEBUG]	Executed store
2023-10-13	12:59:47	2136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861628','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:47	2136	[DEBUG]	Checking manufacturer
2023-10-13	12:59:47	2136	[DEBUG]	Load a row
2023-10-13	12:59:47	2136	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:47	2136	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:47	2136	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:47	2136	[DEBUG]	Executed store
2023-10-13	12:59:47	2136	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:47	2136	[DEBUG]	Manufacturer exists
2023-10-13	12:59:47	2136	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:47	2136	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:47	2136	[DEBUG]	Executed store
2023-10-13	12:59:47	2136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861628','26')
2023-10-13	12:59:47	2136	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:47	2136	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:47	2136	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861628 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:47	2136	[DEBUG]	Store custom available field
2023-10-13	12:59:47	2136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861628,3,'',1)
2023-10-13	12:59:47	2136	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:47	2136	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:59:47	2136	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861628 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:47	2136	[DEBUG]	Store custom available field
2023-10-13	12:59:47	2136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861628,6,'Unitaire',3)
2023-10-13	12:59:47	2136	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:47	2136	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:47	2136	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861627
2023-10-13	12:59:47	2136	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:47	2136	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861627\":[1861627,8,1,\"choisir la taille\"],\"1861628\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861627
2023-10-13	12:59:47	2136	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:47	2136	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861628
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:47	2137	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field taille
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:47	2137	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:47	2137	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:47	2137	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:47	2137	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:47	2137	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:47	2137	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field published
2023-10-13	12:59:47	2137	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:47	2137	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field override
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:47	2137	[DEBUG]	Use field value for field slug
2023-10-13	12:59:47	2137	[DEBUG]	Process line 2137
2023-10-13	12:59:47	2137	[DEBUG]	Load a row
2023-10-13	12:59:47	2137	[DEBUG]	Processing item: A_8160_208
2023-10-13	12:59:47	2137	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:47	2137	[DEBUG]	Processing product tax
2023-10-13	12:59:47	2137	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:47	2137	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:47	2137	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:47	2137	[DEBUG]	Query for Product
2023-10-13	12:59:47	2137	[DEBUG]	Executed store
2023-10-13	12:59:47	2137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8160_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:47	2137	[DEBUG]	Check product language entry
2023-10-13	12:59:47	2137	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861629
2023-10-13	12:59:47	2137	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:47	2137	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8160_208' AND `virtuemart_product_id` != 1861629
2023-10-13	12:59:47	2137	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:47	2137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861629, 'A_8160_208')
2023-10-13	12:59:47	2137	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:47	2137	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt86-180-mm-6-trous-box-aucune' AND `virtuemart_product_id` != 1861629
2023-10-13	12:59:47	2137	[DEBUG]	Query for ProductLang
2023-10-13	12:59:47	2137	[DEBUG]	Executed store
2023-10-13	12:59:47	2137	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.53007',`product_name`='SHIMANO Disque Deore XT SM-RT86 180 mm 6-trous box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt86-180-mm-6-trous-box-aucune' WHERE `virtuemart_product_id` = '1861629'
2023-10-13	12:59:47	2137	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53008_jpg.jpg
2023-10-13	12:59:47	2137	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:47	2137	[DEBUG]	Process image file
2023-10-13	12:59:47	2137	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:47	2137	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:47	2137	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53008_jpg.jpg
2023-10-13	12:59:47	2137	[DEBUG]	Full name target: bcprisme/73_53008_jpg.jpg
2023-10-13	12:59:48	2137	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:48	2137	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_53008_jpg.jpg'
2023-10-13	12:59:48	2137	[DEBUG]	Query for Media
2023-10-13	12:59:48	2137	[DEBUG]	Executed store
2023-10-13	12:59:48	2137	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_53008_jpg.jpg',`file_url_thumb`='bcprisme/73_53008_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '686166'
2023-10-13	12:59:48	2137	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:48	2137	[DEBUG]	Executed store
2023-10-13	12:59:48	2137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861629','686166','1')
2023-10-13	12:59:48	2137	[DEBUG]	Store product image relation
2023-10-13	12:59:48	2137	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:48	2137	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861629 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:48	2137	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:48	2137	[DEBUG]	Executed store
2023-10-13	12:59:48	2137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861629','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:48	2137	[DEBUG]	Checking manufacturer
2023-10-13	12:59:48	2137	[DEBUG]	Load a row
2023-10-13	12:59:48	2137	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:48	2137	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:48	2137	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:48	2137	[DEBUG]	Executed store
2023-10-13	12:59:48	2137	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:48	2137	[DEBUG]	Manufacturer exists
2023-10-13	12:59:48	2137	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:48	2137	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:48	2137	[DEBUG]	Executed store
2023-10-13	12:59:48	2137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861629','26')
2023-10-13	12:59:48	2137	[DEBUG]	Find the custom field ID
2023-10-13	12:59:48	2137	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:48	2137	[DEBUG]	No custom field ID found
2023-10-13	12:59:48	2137	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:48	2137	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:48	2137	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861629 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:48	2137	[DEBUG]	Store custom available field
2023-10-13	12:59:48	2137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861629,3,'0',1)
2023-10-13	12:59:48	2137	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:48	2137	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:48	2137	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861629 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:48	2137	[DEBUG]	Store custom available field
2023-10-13	12:59:48	2137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861629,6,'choisir la taille',3)
2023-10-13	12:59:48	2137	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:48	2137	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:48	2137	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:48	2137	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:48	2137	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861629 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:48	2137	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:48	2137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861629,8,1)
2023-10-13	12:59:48	2137	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:48	2137	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861629\":[1861629,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861629
2023-10-13	12:59:48	2137	[DEBUG]	Checking category
2023-10-13	12:59:48	2137	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:48	2137	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861629
2023-10-13	12:59:48	2137	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:48	2137	[DEBUG]	Executed store
2023-10-13	12:59:48	2137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861629','7337')
2023-10-13	12:59:48	2137	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:48	2137	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861629 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:48	2137	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:48	2137	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861629
2023-10-13	12:59:48	2138	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:48	2138	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:48	2138	[DEBUG]	Use field value for field taille
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:48	2138	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:48	2138	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:48	2138	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:48	2138	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:48	2138	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:48	2138	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:48	2138	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:48	2138	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:48	2138	[DEBUG]	Use field value for field published
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:48	2138	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field override
2023-10-13	12:59:48	2138	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:48	2138	[DEBUG]	Use field value for field slug
2023-10-13	12:59:48	2138	[DEBUG]	Process line 2138
2023-10-13	12:59:48	2138	[DEBUG]	Load a row
2023-10-13	12:59:48	2138	[DEBUG]	Processing item: 4524667744702
2023-10-13	12:59:48	2138	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:48	2138	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:48	2138	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8160_208'
2023-10-13	12:59:48	2138	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:48	2138	[DEBUG]	Processing product tax
2023-10-13	12:59:48	2138	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:48	2138	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:48	2138	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:48	2138	[DEBUG]	Query for Product
2023-10-13	12:59:48	2138	[DEBUG]	Executed store
2023-10-13	12:59:48	2138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861629','4524667744702','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:48	2138	[DEBUG]	No parent found
2023-10-13	12:59:48	2138	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861629 AND customfield_value = 'stockable'
2023-10-13	12:59:48	2138	[DEBUG]	Check product language entry
2023-10-13	12:59:48	2138	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861630
2023-10-13	12:59:48	2138	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:48	2138	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667744702' AND `virtuemart_product_id` != 1861630
2023-10-13	12:59:48	2138	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:49	2138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861630, '4524667744702')
2023-10-13	12:59:49	2138	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:49	2138	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt86-180-mm-6-trous-box-aucune-unitaire' AND `virtuemart_product_id` != 1861630
2023-10-13	12:59:49	2138	[DEBUG]	Query for ProductLang
2023-10-13	12:59:49	2138	[DEBUG]	Executed store
2023-10-13	12:59:49	2138	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore XT SM-RT86 180 mm 6-trous box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt86-180-mm-6-trous-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861630'
2023-10-13	12:59:49	2138	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53008_jpg.jpg
2023-10-13	12:59:49	2138	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:49	2138	[DEBUG]	Process image file
2023-10-13	12:59:49	2138	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:49	2138	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:49	2138	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53008_jpg.jpg
2023-10-13	12:59:49	2138	[DEBUG]	Full name target: bcprisme/73_53008_jpg.jpg
2023-10-13	12:59:49	2138	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:49	2138	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_53008_jpg.jpg'
2023-10-13	12:59:49	2138	[DEBUG]	Query for Media
2023-10-13	12:59:49	2138	[DEBUG]	Executed store
2023-10-13	12:59:49	2138	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_53008_jpg.jpg',`file_url_thumb`='bcprisme/73_53008_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '686166'
2023-10-13	12:59:50	2138	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:50	2138	[DEBUG]	Executed store
2023-10-13	12:59:50	2138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861630','686166','1')
2023-10-13	12:59:50	2138	[DEBUG]	Store product image relation
2023-10-13	12:59:50	2138	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:50	2138	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861630 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:50	2138	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:50	2138	[DEBUG]	Executed store
2023-10-13	12:59:50	2138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861630','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:50	2138	[DEBUG]	Checking manufacturer
2023-10-13	12:59:50	2138	[DEBUG]	Load a row
2023-10-13	12:59:50	2138	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:50	2138	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:50	2138	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:50	2138	[DEBUG]	Executed store
2023-10-13	12:59:50	2138	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:50	2138	[DEBUG]	Manufacturer exists
2023-10-13	12:59:50	2138	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:50	2138	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:50	2138	[DEBUG]	Executed store
2023-10-13	12:59:50	2138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861630','26')
2023-10-13	12:59:50	2138	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:50	2138	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:50	2138	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861630 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:50	2138	[DEBUG]	Store custom available field
2023-10-13	12:59:50	2138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861630,3,'',1)
2023-10-13	12:59:50	2138	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:50	2138	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:59:50	2138	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861630 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:50	2138	[DEBUG]	Store custom available field
2023-10-13	12:59:50	2138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861630,6,'Unitaire',3)
2023-10-13	12:59:50	2138	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:50	2138	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:50	2138	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861629
2023-10-13	12:59:50	2138	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:50	2138	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861629\":[1861629,8,1,\"choisir la taille\"],\"1861630\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861629
2023-10-13	12:59:50	2138	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:50	2138	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861630
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:50	2139	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field taille
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:50	2139	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:50	2139	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:50	2139	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:50	2139	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:50	2139	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:50	2139	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field published
2023-10-13	12:59:50	2139	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:50	2139	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field override
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:50	2139	[DEBUG]	Use field value for field slug
2023-10-13	12:59:50	2139	[DEBUG]	Process line 2139
2023-10-13	12:59:50	2139	[DEBUG]	Load a row
2023-10-13	12:59:50	2139	[DEBUG]	Processing item: A_8231_4
2023-10-13	12:59:50	2139	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:50	2139	[DEBUG]	Processing product tax
2023-10-13	12:59:50	2139	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:50	2139	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:50	2139	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:50	2139	[DEBUG]	Query for Product
2023-10-13	12:59:50	2139	[DEBUG]	Executed store
2023-10-13	12:59:50	2139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8231_4','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:50	2139	[DEBUG]	Check product language entry
2023-10-13	12:59:50	2139	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861631
2023-10-13	12:59:50	2139	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:50	2139	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8231_4' AND `virtuemart_product_id` != 1861631
2023-10-13	12:59:50	2139	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:50	2139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861631, 'A_8231_4')
2023-10-13	12:59:50	2139	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:50	2139	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-mdr-c-o-203-mm-center-lock-acier' AND `virtuemart_product_id` != 1861631
2023-10-13	12:59:50	2139	[DEBUG]	Query for ProductLang
2023-10-13	12:59:50	2139	[DEBUG]	Executed store
2023-10-13	12:59:50	2139	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8793H',`product_name`='MAGURA DISQUE MDR-C, Ø 203 MM, Center-Lock  / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-mdr-c-o-203-mm-center-lock-acier' WHERE `virtuemart_product_id` = '1861631'
2023-10-13	12:59:50	2139	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36821_disque_mdr-c,_Ø_203_mm,_center-lock_.jpg
2023-10-13	12:59:50	2139	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:50	2139	[DEBUG]	Process image file
2023-10-13	12:59:50	2139	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:50	2139	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:50	2139	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36821_disque_mdr-c,_Ø_203_mm,_center-lock_.jpg
2023-10-13	12:59:50	2139	[DEBUG]	Full name target: bcprisme/36821_disque_mdr-c,_Ø_203_mm,_center-lock_.jpg
2023-10-13	12:59:51	2139	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:51	2139	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36821_disque_mdr-c,_Ø_203_mm,_center-lock_.jpg'
2023-10-13	12:59:51	2139	[DEBUG]	Query for Media
2023-10-13	12:59:51	2139	[DEBUG]	Executed store
2023-10-13	12:59:51	2139	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36821_disque_mdr-c,_Ø_203_mm,_center-lock_.jpg',`file_url_thumb`='bcprisme/36821_disque_mdr-c,_Ø_203_mm,_center-lock_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '716273'
2023-10-13	12:59:51	2139	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:51	2139	[DEBUG]	Executed store
2023-10-13	12:59:51	2139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861631','716273','1')
2023-10-13	12:59:51	2139	[DEBUG]	Store product image relation
2023-10-13	12:59:51	2139	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:51	2139	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861631 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:51	2139	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:51	2139	[DEBUG]	Executed store
2023-10-13	12:59:51	2139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861631','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:51	2139	[DEBUG]	Checking manufacturer
2023-10-13	12:59:51	2139	[DEBUG]	Load a row
2023-10-13	12:59:51	2139	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:51	2139	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:51	2139	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:51	2139	[DEBUG]	Executed store
2023-10-13	12:59:51	2139	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:51	2139	[DEBUG]	Manufacturer exists
2023-10-13	12:59:51	2139	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:59:51	2139	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:51	2139	[DEBUG]	Executed store
2023-10-13	12:59:51	2139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861631','38')
2023-10-13	12:59:51	2139	[DEBUG]	Find the custom field ID
2023-10-13	12:59:51	2139	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:51	2139	[DEBUG]	No custom field ID found
2023-10-13	12:59:51	2139	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:51	2139	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:51	2139	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861631 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:51	2139	[DEBUG]	Store custom available field
2023-10-13	12:59:51	2139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861631,3,'0',1)
2023-10-13	12:59:51	2139	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:51	2139	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:51	2139	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861631 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:51	2139	[DEBUG]	Store custom available field
2023-10-13	12:59:51	2139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861631,6,'choisir la taille',3)
2023-10-13	12:59:51	2139	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:51	2139	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:51	2139	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:51	2139	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:51	2139	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861631 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:51	2139	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:51	2139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861631,8,1)
2023-10-13	12:59:51	2139	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:51	2139	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861631\":[1861631,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861631
2023-10-13	12:59:51	2139	[DEBUG]	Checking category
2023-10-13	12:59:51	2139	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:51	2139	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861631
2023-10-13	12:59:51	2139	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:51	2139	[DEBUG]	Executed store
2023-10-13	12:59:51	2139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861631','7337')
2023-10-13	12:59:51	2139	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:51	2139	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861631 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:51	2139	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:51	2139	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861631
2023-10-13	12:59:51	2140	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:51	2140	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:51	2140	[DEBUG]	Use field value for field taille
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:51	2140	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:51	2140	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:51	2140	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:51	2140	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:51	2140	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:51	2140	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:51	2140	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:51	2140	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:51	2140	[DEBUG]	Use field value for field published
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:51	2140	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field override
2023-10-13	12:59:51	2140	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:51	2140	[DEBUG]	Use field value for field slug
2023-10-13	12:59:51	2140	[DEBUG]	Process line 2140
2023-10-13	12:59:51	2140	[DEBUG]	Load a row
2023-10-13	12:59:51	2140	[DEBUG]	Processing item: 4055184028841
2023-10-13	12:59:51	2140	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:51	2140	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:51	2140	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8231_4'
2023-10-13	12:59:51	2140	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:51	2140	[DEBUG]	Processing product tax
2023-10-13	12:59:51	2140	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:51	2140	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:51	2140	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:51	2140	[DEBUG]	Query for Product
2023-10-13	12:59:51	2140	[DEBUG]	Executed store
2023-10-13	12:59:51	2140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861631','4055184028841','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:51	2140	[DEBUG]	No parent found
2023-10-13	12:59:51	2140	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861631 AND customfield_value = 'stockable'
2023-10-13	12:59:51	2140	[DEBUG]	Check product language entry
2023-10-13	12:59:51	2140	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861632
2023-10-13	12:59:51	2140	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:51	2140	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184028841' AND `virtuemart_product_id` != 1861632
2023-10-13	12:59:51	2140	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:51	2140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861632, '4055184028841')
2023-10-13	12:59:51	2140	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:51	2140	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-mdr-c-o-203-mm-center-lock-acier-unitaire' AND `virtuemart_product_id` != 1861632
2023-10-13	12:59:51	2140	[DEBUG]	Query for ProductLang
2023-10-13	12:59:51	2140	[DEBUG]	Executed store
2023-10-13	12:59:51	2140	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA DISQUE MDR-C, Ø 203 MM, Center-Lock  / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-mdr-c-o-203-mm-center-lock-acier-unitaire' WHERE `virtuemart_product_id` = '1861632'
2023-10-13	12:59:51	2140	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36821_disque_mdr-c,_Ø_203_mm,_center-lock_.jpg
2023-10-13	12:59:51	2140	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:51	2140	[DEBUG]	Process image file
2023-10-13	12:59:51	2140	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:51	2140	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:51	2140	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36821_disque_mdr-c,_Ø_203_mm,_center-lock_.jpg
2023-10-13	12:59:51	2140	[DEBUG]	Full name target: bcprisme/36821_disque_mdr-c,_Ø_203_mm,_center-lock_.jpg
2023-10-13	12:59:52	2140	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:52	2140	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36821_disque_mdr-c,_Ø_203_mm,_center-lock_.jpg'
2023-10-13	12:59:52	2140	[DEBUG]	Query for Media
2023-10-13	12:59:52	2140	[DEBUG]	Executed store
2023-10-13	12:59:52	2140	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36821_disque_mdr-c,_Ø_203_mm,_center-lock_.jpg',`file_url_thumb`='bcprisme/36821_disque_mdr-c,_Ø_203_mm,_center-lock_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '716273'
2023-10-13	12:59:52	2140	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:52	2140	[DEBUG]	Executed store
2023-10-13	12:59:52	2140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861632','716273','1')
2023-10-13	12:59:52	2140	[DEBUG]	Store product image relation
2023-10-13	12:59:52	2140	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:52	2140	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861632 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:52	2140	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:52	2140	[DEBUG]	Executed store
2023-10-13	12:59:52	2140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861632','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:52	2140	[DEBUG]	Checking manufacturer
2023-10-13	12:59:52	2140	[DEBUG]	Load a row
2023-10-13	12:59:52	2140	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:52	2140	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:52	2140	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:52	2140	[DEBUG]	Executed store
2023-10-13	12:59:52	2140	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:52	2140	[DEBUG]	Manufacturer exists
2023-10-13	12:59:52	2140	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:59:52	2140	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:52	2140	[DEBUG]	Executed store
2023-10-13	12:59:52	2140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861632','38')
2023-10-13	12:59:52	2140	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:52	2140	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:52	2140	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861632 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:52	2140	[DEBUG]	Store custom available field
2023-10-13	12:59:52	2140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861632,3,'',1)
2023-10-13	12:59:52	2140	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:52	2140	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:59:52	2140	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861632 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:52	2140	[DEBUG]	Store custom available field
2023-10-13	12:59:52	2140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861632,6,'Unitaire',3)
2023-10-13	12:59:52	2140	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:52	2140	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:52	2140	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861631
2023-10-13	12:59:52	2140	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:52	2140	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861631\":[1861631,8,1,\"choisir la taille\"],\"1861632\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861631
2023-10-13	12:59:52	2140	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:52	2140	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861632
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:52	2141	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field taille
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:52	2141	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:52	2141	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:52	2141	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:52	2141	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:52	2141	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:52	2141	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:52	2141	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field published
2023-10-13	12:59:52	2141	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:52	2141	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field override
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:52	2141	[DEBUG]	Use field value for field slug
2023-10-13	12:59:52	2141	[DEBUG]	Process line 2141
2023-10-13	12:59:52	2141	[DEBUG]	Load a row
2023-10-13	12:59:52	2141	[DEBUG]	Processing item: A_8337_1
2023-10-13	12:59:52	2141	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:52	2141	[DEBUG]	Processing product tax
2023-10-13	12:59:52	2141	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:52	2141	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:52	2141	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:52	2141	[DEBUG]	Query for Product
2023-10-13	12:59:52	2141	[DEBUG]	Executed store
2023-10-13	12:59:52	2141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8337_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:52	2141	[DEBUG]	Check product language entry
2023-10-13	12:59:52	2141	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861633
2023-10-13	12:59:52	2141	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:52	2141	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8337_1' AND `virtuemart_product_id` != 1861633
2023-10-13	12:59:52	2141	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:52	2141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861633, 'A_8337_1')
2023-10-13	12:59:52	2141	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:52	2141	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-centerline-x-road-2p-160mm-centerlock-noir' AND `virtuemart_product_id` != 1861633
2023-10-13	12:59:52	2141	[DEBUG]	Query for ProductLang
2023-10-13	12:59:52	2141	[DEBUG]	Executed store
2023-10-13	12:59:52	2141	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7548R',`product_name`='SRAM Rotor Centerline X Road 2P 160mm CenterLock / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-centerline-x-road-2p-160mm-centerlock-noir' WHERE `virtuemart_product_id` = '1861633'
2023-10-13	12:59:52	2141	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36973_rotor_centerline_x_road_2p_160mm_centerlock.jpg
2023-10-13	12:59:52	2141	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:52	2141	[DEBUG]	Process image file
2023-10-13	12:59:52	2141	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:52	2141	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:52	2141	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36973_rotor_centerline_x_road_2p_160mm_centerlock.jpg
2023-10-13	12:59:52	2141	[DEBUG]	Full name target: bcprisme/36973_rotor_centerline_x_road_2p_160mm_centerlock.jpg
2023-10-13	12:59:53	2141	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:53	2141	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36973_rotor_centerline_x_road_2p_160mm_centerlock.jpg'
2023-10-13	12:59:53	2141	[DEBUG]	Query for Media
2023-10-13	12:59:53	2141	[DEBUG]	Executed store
2023-10-13	12:59:53	2141	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36973_rotor_centerline_x_road_2p_160mm_centerlock.jpg',`file_url_thumb`='bcprisme/36973_rotor_centerline_x_road_2p_160mm_centerlock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '797618'
2023-10-13	12:59:53	2141	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:53	2141	[DEBUG]	Executed store
2023-10-13	12:59:53	2141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861633','797618','1')
2023-10-13	12:59:53	2141	[DEBUG]	Store product image relation
2023-10-13	12:59:53	2141	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:53	2141	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861633 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:53	2141	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:53	2141	[DEBUG]	Executed store
2023-10-13	12:59:53	2141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861633','0','106.77808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:53	2141	[DEBUG]	Checking manufacturer
2023-10-13	12:59:53	2141	[DEBUG]	Load a row
2023-10-13	12:59:53	2141	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:53	2141	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:59:53	2141	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:53	2141	[DEBUG]	Executed store
2023-10-13	12:59:53	2141	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:59:53	2141	[DEBUG]	Manufacturer exists
2023-10-13	12:59:53	2141	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:59:53	2141	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:53	2141	[DEBUG]	Executed store
2023-10-13	12:59:53	2141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861633','35')
2023-10-13	12:59:53	2141	[DEBUG]	Find the custom field ID
2023-10-13	12:59:53	2141	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:53	2141	[DEBUG]	No custom field ID found
2023-10-13	12:59:53	2141	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:53	2141	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:53	2141	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861633 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:53	2141	[DEBUG]	Store custom available field
2023-10-13	12:59:53	2141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861633,3,'0',1)
2023-10-13	12:59:53	2141	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:53	2141	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:53	2141	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861633 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:53	2141	[DEBUG]	Store custom available field
2023-10-13	12:59:53	2141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861633,6,'choisir la taille',3)
2023-10-13	12:59:53	2141	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:53	2141	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:53	2141	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:53	2141	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:53	2141	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861633 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:53	2141	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:53	2141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861633,8,1)
2023-10-13	12:59:53	2141	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:53	2141	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861633\":[1861633,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861633
2023-10-13	12:59:53	2141	[DEBUG]	Checking category
2023-10-13	12:59:53	2141	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:53	2141	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861633
2023-10-13	12:59:53	2141	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:53	2141	[DEBUG]	Executed store
2023-10-13	12:59:53	2141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861633','7337')
2023-10-13	12:59:53	2141	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:53	2141	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861633 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:53	2141	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:53	2141	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861633
2023-10-13	12:59:53	2142	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:53	2142	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:53	2142	[DEBUG]	Use field value for field taille
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:53	2142	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:53	2142	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:53	2142	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:53	2142	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:53	2142	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:53	2142	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:53	2142	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:53	2142	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:53	2142	[DEBUG]	Use field value for field published
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:53	2142	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field override
2023-10-13	12:59:53	2142	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:53	2142	[DEBUG]	Use field value for field slug
2023-10-13	12:59:53	2142	[DEBUG]	Process line 2142
2023-10-13	12:59:53	2142	[DEBUG]	Load a row
2023-10-13	12:59:53	2142	[DEBUG]	Processing item: 710845826740
2023-10-13	12:59:53	2142	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:53	2142	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:53	2142	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8337_1'
2023-10-13	12:59:53	2142	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:53	2142	[DEBUG]	Processing product tax
2023-10-13	12:59:53	2142	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:53	2142	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:53	2142	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:53	2142	[DEBUG]	Query for Product
2023-10-13	12:59:53	2142	[DEBUG]	Executed store
2023-10-13	12:59:53	2142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861633','710845826740','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:53	2142	[DEBUG]	No parent found
2023-10-13	12:59:53	2142	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861633 AND customfield_value = 'stockable'
2023-10-13	12:59:53	2142	[DEBUG]	Check product language entry
2023-10-13	12:59:53	2142	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861634
2023-10-13	12:59:53	2142	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:53	2142	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845826740' AND `virtuemart_product_id` != 1861634
2023-10-13	12:59:53	2142	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:53	2142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861634, '710845826740')
2023-10-13	12:59:53	2142	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:53	2142	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-centerline-x-road-2p-160mm-centerlock-noir-all' AND `virtuemart_product_id` != 1861634
2023-10-13	12:59:53	2142	[DEBUG]	Query for ProductLang
2023-10-13	12:59:53	2142	[DEBUG]	Executed store
2023-10-13	12:59:53	2142	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Rotor Centerline X Road 2P 160mm CenterLock / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-centerline-x-road-2p-160mm-centerlock-noir-all' WHERE `virtuemart_product_id` = '1861634'
2023-10-13	12:59:53	2142	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36973_rotor_centerline_x_road_2p_160mm_centerlock.jpg
2023-10-13	12:59:53	2142	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:53	2142	[DEBUG]	Process image file
2023-10-13	12:59:53	2142	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:53	2142	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:53	2142	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36973_rotor_centerline_x_road_2p_160mm_centerlock.jpg
2023-10-13	12:59:53	2142	[DEBUG]	Full name target: bcprisme/36973_rotor_centerline_x_road_2p_160mm_centerlock.jpg
2023-10-13	12:59:54	2142	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:54	2142	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36973_rotor_centerline_x_road_2p_160mm_centerlock.jpg'
2023-10-13	12:59:54	2142	[DEBUG]	Query for Media
2023-10-13	12:59:54	2142	[DEBUG]	Executed store
2023-10-13	12:59:54	2142	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36973_rotor_centerline_x_road_2p_160mm_centerlock.jpg',`file_url_thumb`='bcprisme/36973_rotor_centerline_x_road_2p_160mm_centerlock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '797618'
2023-10-13	12:59:54	2142	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:54	2142	[DEBUG]	Executed store
2023-10-13	12:59:54	2142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861634','797618','1')
2023-10-13	12:59:54	2142	[DEBUG]	Store product image relation
2023-10-13	12:59:54	2142	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:54	2142	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861634 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:54	2142	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:54	2142	[DEBUG]	Executed store
2023-10-13	12:59:54	2142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861634','0','106.77808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:54	2142	[DEBUG]	Checking manufacturer
2023-10-13	12:59:54	2142	[DEBUG]	Load a row
2023-10-13	12:59:54	2142	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:54	2142	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:59:54	2142	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:54	2142	[DEBUG]	Executed store
2023-10-13	12:59:54	2142	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:59:54	2142	[DEBUG]	Manufacturer exists
2023-10-13	12:59:54	2142	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:59:54	2142	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:54	2142	[DEBUG]	Executed store
2023-10-13	12:59:54	2142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861634','35')
2023-10-13	12:59:54	2142	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:54	2142	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:54	2142	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861634 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:54	2142	[DEBUG]	Store custom available field
2023-10-13	12:59:54	2142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861634,3,'',1)
2023-10-13	12:59:54	2142	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:54	2142	[DEBUG]	Get existing row with customfield value All
2023-10-13	12:59:54	2142	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861634 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:54	2142	[DEBUG]	Store custom available field
2023-10-13	12:59:54	2142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861634,6,'All',3)
2023-10-13	12:59:54	2142	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:54	2142	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:54	2142	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861633
2023-10-13	12:59:54	2142	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:54	2142	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861633\":[1861633,8,1,\"choisir la taille\"],\"1861634\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861633
2023-10-13	12:59:54	2142	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:54	2142	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861634
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:54	2143	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field taille
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:54	2143	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:54	2143	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:54	2143	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:54	2143	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:54	2143	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:54	2143	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field published
2023-10-13	12:59:54	2143	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:54	2143	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field override
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:54	2143	[DEBUG]	Use field value for field slug
2023-10-13	12:59:54	2143	[DEBUG]	Process line 2143
2023-10-13	12:59:54	2143	[DEBUG]	Load a row
2023-10-13	12:59:54	2143	[DEBUG]	Processing item: A_8350_208
2023-10-13	12:59:54	2143	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:54	2143	[DEBUG]	Processing product tax
2023-10-13	12:59:54	2143	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:54	2143	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:54	2143	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:54	2143	[DEBUG]	Query for Product
2023-10-13	12:59:54	2143	[DEBUG]	Executed store
2023-10-13	12:59:54	2143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8350_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:54	2143	[DEBUG]	Check product language entry
2023-10-13	12:59:54	2143	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861635
2023-10-13	12:59:54	2143	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:54	2143	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8350_208' AND `virtuemart_product_id` != 1861635
2023-10-13	12:59:54	2143	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:54	2143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861635, 'A_8350_208')
2023-10-13	12:59:54	2143	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:54	2143	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt86-160-mm-6-trous-box-aucune' AND `virtuemart_product_id` != 1861635
2023-10-13	12:59:54	2143	[DEBUG]	Query for ProductLang
2023-10-13	12:59:54	2143	[DEBUG]	Executed store
2023-10-13	12:59:54	2143	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.53008',`product_name`='SHIMANO Disque Deore XT SM-RT86 160 mm 6-trous box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt86-160-mm-6-trous-box-aucune' WHERE `virtuemart_product_id` = '1861635'
2023-10-13	12:59:54	2143	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53008_jpg.jpg
2023-10-13	12:59:54	2143	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:54	2143	[DEBUG]	Process image file
2023-10-13	12:59:54	2143	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:54	2143	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:54	2143	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53008_jpg.jpg
2023-10-13	12:59:54	2143	[DEBUG]	Full name target: bcprisme/73_53008_jpg.jpg
2023-10-13	12:59:55	2143	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:55	2143	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_53008_jpg.jpg'
2023-10-13	12:59:55	2143	[DEBUG]	Query for Media
2023-10-13	12:59:55	2143	[DEBUG]	Executed store
2023-10-13	12:59:55	2143	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_53008_jpg.jpg',`file_url_thumb`='bcprisme/73_53008_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '686166'
2023-10-13	12:59:55	2143	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:55	2143	[DEBUG]	Executed store
2023-10-13	12:59:55	2143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861635','686166','1')
2023-10-13	12:59:55	2143	[DEBUG]	Store product image relation
2023-10-13	12:59:55	2143	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:55	2143	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861635 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:55	2143	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:55	2143	[DEBUG]	Executed store
2023-10-13	12:59:55	2143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861635','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:55	2143	[DEBUG]	Checking manufacturer
2023-10-13	12:59:55	2143	[DEBUG]	Load a row
2023-10-13	12:59:55	2143	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:55	2143	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:55	2143	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:55	2143	[DEBUG]	Executed store
2023-10-13	12:59:55	2143	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:55	2143	[DEBUG]	Manufacturer exists
2023-10-13	12:59:55	2143	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:55	2143	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:55	2143	[DEBUG]	Executed store
2023-10-13	12:59:55	2143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861635','26')
2023-10-13	12:59:55	2143	[DEBUG]	Find the custom field ID
2023-10-13	12:59:55	2143	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:55	2143	[DEBUG]	No custom field ID found
2023-10-13	12:59:55	2143	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:55	2143	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:55	2143	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861635 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:55	2143	[DEBUG]	Store custom available field
2023-10-13	12:59:55	2143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861635,3,'0',1)
2023-10-13	12:59:55	2143	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:55	2143	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:55	2143	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861635 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:55	2143	[DEBUG]	Store custom available field
2023-10-13	12:59:55	2143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861635,6,'choisir la taille',3)
2023-10-13	12:59:55	2143	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:55	2143	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:55	2143	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:55	2143	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:55	2143	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861635 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:55	2143	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:55	2143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861635,8,1)
2023-10-13	12:59:55	2143	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:55	2143	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861635\":[1861635,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861635
2023-10-13	12:59:55	2143	[DEBUG]	Checking category
2023-10-13	12:59:55	2143	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:55	2143	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861635
2023-10-13	12:59:55	2143	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:55	2143	[DEBUG]	Executed store
2023-10-13	12:59:55	2143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861635','7337')
2023-10-13	12:59:55	2143	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:55	2143	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861635 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:55	2143	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:55	2143	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861635
2023-10-13	12:59:55	2144	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:55	2144	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:55	2144	[DEBUG]	Use field value for field taille
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:55	2144	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:55	2144	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:55	2144	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:55	2144	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:55	2144	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:55	2144	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:55	2144	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:55	2144	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:55	2144	[DEBUG]	Use field value for field published
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:55	2144	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field override
2023-10-13	12:59:55	2144	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:55	2144	[DEBUG]	Use field value for field slug
2023-10-13	12:59:55	2144	[DEBUG]	Process line 2144
2023-10-13	12:59:55	2144	[DEBUG]	Load a row
2023-10-13	12:59:55	2144	[DEBUG]	Processing item: 4524667744672
2023-10-13	12:59:55	2144	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:55	2144	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:55	2144	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8350_208'
2023-10-13	12:59:55	2144	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:55	2144	[DEBUG]	Processing product tax
2023-10-13	12:59:55	2144	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:55	2144	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:55	2144	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:55	2144	[DEBUG]	Query for Product
2023-10-13	12:59:55	2144	[DEBUG]	Executed store
2023-10-13	12:59:55	2144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861635','4524667744672','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:55	2144	[DEBUG]	No parent found
2023-10-13	12:59:55	2144	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861635 AND customfield_value = 'stockable'
2023-10-13	12:59:55	2144	[DEBUG]	Check product language entry
2023-10-13	12:59:55	2144	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861636
2023-10-13	12:59:55	2144	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:55	2144	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667744672' AND `virtuemart_product_id` != 1861636
2023-10-13	12:59:55	2144	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:55	2144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861636, '4524667744672')
2023-10-13	12:59:55	2144	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:55	2144	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-xt-sm-rt86-160-mm-6-trous-box-aucune-unitaire' AND `virtuemart_product_id` != 1861636
2023-10-13	12:59:55	2144	[DEBUG]	Query for ProductLang
2023-10-13	12:59:55	2144	[DEBUG]	Executed store
2023-10-13	12:59:55	2144	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore XT SM-RT86 160 mm 6-trous box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-xt-sm-rt86-160-mm-6-trous-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861636'
2023-10-13	12:59:55	2144	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53008_jpg.jpg
2023-10-13	12:59:55	2144	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:55	2144	[DEBUG]	Process image file
2023-10-13	12:59:55	2144	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:55	2144	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:55	2144	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53008_jpg.jpg
2023-10-13	12:59:55	2144	[DEBUG]	Full name target: bcprisme/73_53008_jpg.jpg
2023-10-13	12:59:56	2144	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:56	2144	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_53008_jpg.jpg'
2023-10-13	12:59:56	2144	[DEBUG]	Query for Media
2023-10-13	12:59:56	2144	[DEBUG]	Executed store
2023-10-13	12:59:56	2144	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_53008_jpg.jpg',`file_url_thumb`='bcprisme/73_53008_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '686166'
2023-10-13	12:59:56	2144	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:56	2144	[DEBUG]	Executed store
2023-10-13	12:59:56	2144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861636','686166','1')
2023-10-13	12:59:56	2144	[DEBUG]	Store product image relation
2023-10-13	12:59:56	2144	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:56	2144	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861636 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:56	2144	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:56	2144	[DEBUG]	Executed store
2023-10-13	12:59:56	2144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861636','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:56	2144	[DEBUG]	Checking manufacturer
2023-10-13	12:59:56	2144	[DEBUG]	Load a row
2023-10-13	12:59:56	2144	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:56	2144	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:56	2144	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:56	2144	[DEBUG]	Executed store
2023-10-13	12:59:56	2144	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	12:59:56	2144	[DEBUG]	Manufacturer exists
2023-10-13	12:59:56	2144	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	12:59:56	2144	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:56	2144	[DEBUG]	Executed store
2023-10-13	12:59:56	2144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861636','26')
2023-10-13	12:59:56	2144	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:56	2144	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:56	2144	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861636 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:56	2144	[DEBUG]	Store custom available field
2023-10-13	12:59:56	2144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861636,3,'',1)
2023-10-13	12:59:56	2144	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:56	2144	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:59:56	2144	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861636 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:56	2144	[DEBUG]	Store custom available field
2023-10-13	12:59:56	2144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861636,6,'Unitaire',3)
2023-10-13	12:59:56	2144	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:56	2144	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:56	2144	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861635
2023-10-13	12:59:56	2144	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:56	2144	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861635\":[1861635,8,1,\"choisir la taille\"],\"1861636\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861635
2023-10-13	12:59:56	2144	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:56	2144	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861636
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:56	2145	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field taille
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:56	2145	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:56	2145	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:56	2145	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:56	2145	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:56	2145	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:56	2145	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field published
2023-10-13	12:59:56	2145	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:56	2145	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field override
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:56	2145	[DEBUG]	Use field value for field slug
2023-10-13	12:59:56	2145	[DEBUG]	Process line 2145
2023-10-13	12:59:56	2145	[DEBUG]	Load a row
2023-10-13	12:59:56	2145	[DEBUG]	Processing item: A_8531_4
2023-10-13	12:59:56	2145	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:56	2145	[DEBUG]	Processing product tax
2023-10-13	12:59:56	2145	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:56	2145	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:56	2145	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:56	2145	[DEBUG]	Query for Product
2023-10-13	12:59:56	2145	[DEBUG]	Executed store
2023-10-13	12:59:56	2145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8531_4','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:56	2145	[DEBUG]	Check product language entry
2023-10-13	12:59:56	2145	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861637
2023-10-13	12:59:56	2145	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:56	2145	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8531_4' AND `virtuemart_product_id` != 1861637
2023-10-13	12:59:56	2145	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:56	2145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861637, 'A_8531_4')
2023-10-13	12:59:56	2145	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:56	2145	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-mdr-p-o-180-mm-6-trous-6-vis-acier-inclus-ue-1-pc-avertissement-n-utilisez-pas-avec-l-adaptateur-centerlock-copie-acier' AND `virtuemart_product_id` != 1861637
2023-10-13	12:59:56	2145	[DEBUG]	Query for ProductLang
2023-10-13	12:59:56	2145	[DEBUG]	Executed store
2023-10-13	12:59:56	2145	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description    Disque MDR-P, Ø 180 mm, 6 trous 6 vis acier inclus (UE = 1 pc)<br>DISQUE MDR-P 180 MM<br>- Performances de freinage constantes même en cas de sollicitation continue grâce à la denture spéciale brevetée des bagues extérieure et intérieure (technologie Dovetail Interlink)<br>- Résistance élevée à la chaleur et une grande solidité<br>- E-Bike optimized<br>- disque : 6 trous<br>- 6 vis de fixation sont incluses<br>- Compatible avec : famille MT complète<br>- AVERTISSEMENT : N\'utilisez pas le disque de frein avec l\'adaptateur centerlock !<br>Diamètre :180mm<br>Poids :200 g<br>Livraison : 1 disque incl. 6 vis de fixation<br>VEUILLEZ UTILISER UNIQUEMENT LES PIÈCES DE RECHANGE ORIGINALES MAGURA : PLAQUETTES, DISQUES DE FREIN ET ROYAL BLOOD. LES DEMANDES DE GARANTIE SERONT ACCEPTÉES UNIQUEMENT SI LES PIÈCES DE RECHANGE ORIGINALES ONT ÉTÉ UTILISÉS.<br><br>N° art fourn : H8793I',`product_name`='MAGURA DISQUE MDR-P, Ø 180 MM, 6 TROUS, 6 VIS ACIER INCLUS (UE = 1 PC) AVERTISSEMENT : N’UTILISEZ PAS AVEC L’ADAPTATEUR CENTERLOCK! (copie) / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-mdr-p-o-180-mm-6-trous-6-vis-acier-inclus-ue-1-pc-avertissement-n-utilisez-pas-avec-l-adaptateur-centerlock-copie-acier' WHERE `virtuemart_product_id` = '1861637'
2023-10-13	12:59:56	2145	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37323_disque_mdr-p,_Ø_180_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!_(copie).jpg
2023-10-13	12:59:56	2145	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:56	2145	[DEBUG]	Process image file
2023-10-13	12:59:56	2145	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:56	2145	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:56	2145	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37323_disque_mdr-p,_Ø_180_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!_(copie).jpg
2023-10-13	12:59:56	2145	[DEBUG]	Full name target: bcprisme/37323_disque_mdr-p,_Ø_180_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!_(copie).jpg
2023-10-13	12:59:57	2145	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:57	2145	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37323_disque_mdr-p,_Ø_180_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!_(copie).jpg'
2023-10-13	12:59:57	2145	[DEBUG]	Query for Media
2023-10-13	12:59:57	2145	[DEBUG]	Executed store
2023-10-13	12:59:57	2145	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37323_disque_mdr-p,_Ø_180_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!_(copie).jpg',`file_url_thumb`='bcprisme/37323_disque_mdr-p,_Ø_180_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '980614'
2023-10-13	12:59:57	2145	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:57	2145	[DEBUG]	Executed store
2023-10-13	12:59:57	2145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861637','980614','1')
2023-10-13	12:59:57	2145	[DEBUG]	Store product image relation
2023-10-13	12:59:57	2145	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:57	2145	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861637 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:57	2145	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:57	2145	[DEBUG]	Executed store
2023-10-13	12:59:57	2145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861637','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:57	2145	[DEBUG]	Checking manufacturer
2023-10-13	12:59:57	2145	[DEBUG]	Load a row
2023-10-13	12:59:57	2145	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:57	2145	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:57	2145	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:57	2145	[DEBUG]	Executed store
2023-10-13	12:59:57	2145	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:57	2145	[DEBUG]	Manufacturer exists
2023-10-13	12:59:57	2145	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:59:57	2145	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:57	2145	[DEBUG]	Executed store
2023-10-13	12:59:57	2145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861637','38')
2023-10-13	12:59:57	2145	[DEBUG]	Find the custom field ID
2023-10-13	12:59:57	2145	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:57	2145	[DEBUG]	No custom field ID found
2023-10-13	12:59:57	2145	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:57	2145	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:57	2145	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861637 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:57	2145	[DEBUG]	Store custom available field
2023-10-13	12:59:57	2145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861637,3,'0',1)
2023-10-13	12:59:57	2145	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:57	2145	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:57	2145	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861637 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:57	2145	[DEBUG]	Store custom available field
2023-10-13	12:59:57	2145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861637,6,'choisir la taille',3)
2023-10-13	12:59:57	2145	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:57	2145	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:57	2145	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:57	2145	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:57	2145	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861637 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:57	2145	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:57	2145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861637,8,1)
2023-10-13	12:59:57	2145	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:57	2145	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861637\":[1861637,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861637
2023-10-13	12:59:57	2145	[DEBUG]	Checking category
2023-10-13	12:59:57	2145	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:57	2145	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861637
2023-10-13	12:59:57	2145	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:57	2145	[DEBUG]	Executed store
2023-10-13	12:59:57	2145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861637','7337')
2023-10-13	12:59:57	2145	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:57	2145	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861637 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:57	2145	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:57	2145	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861637
2023-10-13	12:59:57	2146	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:57	2146	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:57	2146	[DEBUG]	Use field value for field taille
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:57	2146	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:57	2146	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:57	2146	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:57	2146	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:57	2146	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:57	2146	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:57	2146	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:57	2146	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:57	2146	[DEBUG]	Use field value for field published
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:57	2146	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field override
2023-10-13	12:59:57	2146	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:57	2146	[DEBUG]	Use field value for field slug
2023-10-13	12:59:57	2146	[DEBUG]	Process line 2146
2023-10-13	12:59:57	2146	[DEBUG]	Load a row
2023-10-13	12:59:57	2146	[DEBUG]	Processing item: 4055184025789
2023-10-13	12:59:57	2146	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:57	2146	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:57	2146	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8531_4'
2023-10-13	12:59:57	2146	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:57	2146	[DEBUG]	Processing product tax
2023-10-13	12:59:57	2146	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:57	2146	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:57	2146	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:57	2146	[DEBUG]	Query for Product
2023-10-13	12:59:57	2146	[DEBUG]	Executed store
2023-10-13	12:59:57	2146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861637','4055184025789','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:57	2146	[DEBUG]	No parent found
2023-10-13	12:59:57	2146	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861637 AND customfield_value = 'stockable'
2023-10-13	12:59:57	2146	[DEBUG]	Check product language entry
2023-10-13	12:59:57	2146	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861638
2023-10-13	12:59:57	2146	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:57	2146	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184025789' AND `virtuemart_product_id` != 1861638
2023-10-13	12:59:57	2146	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:57	2146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861638, '4055184025789')
2023-10-13	12:59:57	2146	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:57	2146	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-mdr-p-o-180-mm-6-trous-6-vis-acier-inclus-ue-1-pc-avertissement-n-utilisez-pas-avec-l-adaptateur-centerlock-copie-acier-unitaire' AND `virtuemart_product_id` != 1861638
2023-10-13	12:59:57	2146	[DEBUG]	Query for ProductLang
2023-10-13	12:59:57	2146	[DEBUG]	Executed store
2023-10-13	12:59:57	2146	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA DISQUE MDR-P, Ø 180 MM, 6 TROUS, 6 VIS ACIER INCLUS (UE = 1 PC) AVERTISSEMENT : N’UTILISEZ PAS AVEC L’ADAPTATEUR CENTERLOCK! (copie) / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-mdr-p-o-180-mm-6-trous-6-vis-acier-inclus-ue-1-pc-avertissement-n-utilisez-pas-avec-l-adaptateur-centerlock-copie-acier-unitaire' WHERE `virtuemart_product_id` = '1861638'
2023-10-13	12:59:57	2146	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37323_disque_mdr-p,_Ø_180_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!_(copie).jpg
2023-10-13	12:59:57	2146	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:57	2146	[DEBUG]	Process image file
2023-10-13	12:59:57	2146	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:57	2146	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:57	2146	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37323_disque_mdr-p,_Ø_180_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!_(copie).jpg
2023-10-13	12:59:57	2146	[DEBUG]	Full name target: bcprisme/37323_disque_mdr-p,_Ø_180_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!_(copie).jpg
2023-10-13	12:59:58	2146	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:58	2146	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37323_disque_mdr-p,_Ø_180_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!_(copie).jpg'
2023-10-13	12:59:58	2146	[DEBUG]	Query for Media
2023-10-13	12:59:58	2146	[DEBUG]	Executed store
2023-10-13	12:59:58	2146	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37323_disque_mdr-p,_Ø_180_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!_(copie).jpg',`file_url_thumb`='bcprisme/37323_disque_mdr-p,_Ø_180_mm,_6_trous,_6_vis_acier_inclus_(ue_=_1_pc)_avertissement___n’utilisez_pas_avec_l’adaptateur_centerlock!_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '980614'
2023-10-13	12:59:58	2146	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:58	2146	[DEBUG]	Executed store
2023-10-13	12:59:58	2146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861638','980614','1')
2023-10-13	12:59:58	2146	[DEBUG]	Store product image relation
2023-10-13	12:59:58	2146	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:58	2146	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861638 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:58	2146	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:58	2146	[DEBUG]	Executed store
2023-10-13	12:59:58	2146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861638','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:58	2146	[DEBUG]	Checking manufacturer
2023-10-13	12:59:58	2146	[DEBUG]	Load a row
2023-10-13	12:59:58	2146	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:58	2146	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:58	2146	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:58	2146	[DEBUG]	Executed store
2023-10-13	12:59:58	2146	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	12:59:58	2146	[DEBUG]	Manufacturer exists
2023-10-13	12:59:58	2146	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	12:59:58	2146	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:58	2146	[DEBUG]	Executed store
2023-10-13	12:59:58	2146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861638','38')
2023-10-13	12:59:58	2146	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:58	2146	[DEBUG]	Get existing row with customfield value 
2023-10-13	12:59:58	2146	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861638 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:58	2146	[DEBUG]	Store custom available field
2023-10-13	12:59:58	2146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861638,3,'',1)
2023-10-13	12:59:58	2146	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:58	2146	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	12:59:58	2146	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861638 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:58	2146	[DEBUG]	Store custom available field
2023-10-13	12:59:58	2146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861638,6,'Unitaire',3)
2023-10-13	12:59:58	2146	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:58	2146	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	12:59:58	2146	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861637
2023-10-13	12:59:58	2146	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:58	2146	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861637\":[1861637,8,1,\"choisir la taille\"],\"1861638\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861637
2023-10-13	12:59:58	2146	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:58	2146	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861638
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:58	2147	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field taille
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field category_path
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:58	2147	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field product_s_desc
2023-10-13	12:59:58	2147	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:58	2147	[DEBUG]	Use default value for field product_in_stock
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field product_weight
2023-10-13	12:59:58	2147	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:58	2147	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:58	2147	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field published
2023-10-13	12:59:58	2147	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:58	2147	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field custom_title
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field custom_param
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field override
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field public_price
2023-10-13	12:59:58	2147	[DEBUG]	Use field value for field slug
2023-10-13	12:59:58	2147	[DEBUG]	Process line 2147
2023-10-13	12:59:58	2147	[DEBUG]	Load a row
2023-10-13	12:59:58	2147	[DEBUG]	Processing item: A_8651_0
2023-10-13	12:59:58	2147	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:58	2147	[DEBUG]	Processing product tax
2023-10-13	12:59:58	2147	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:58	2147	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:58	2147	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:58	2147	[DEBUG]	Query for Product
2023-10-13	12:59:58	2147	[DEBUG]	Executed store
2023-10-13	12:59:58	2147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8651_0','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:58	2147	[DEBUG]	Check product language entry
2023-10-13	12:59:58	2147	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861639
2023-10-13	12:59:58	2147	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:58	2147	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8651_0' AND `virtuemart_product_id` != 1861639
2023-10-13	12:59:58	2147	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:58	2147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861639, 'A_8651_0')
2023-10-13	12:59:58	2147	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:58	2147	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disque-de-frein-sram-paceline-center-lock-140-mm-arrondi-unique' AND `virtuemart_product_id` != 1861639
2023-10-13	12:59:58	2147	[DEBUG]	Query for ProductLang
2023-10-13	12:59:58	2147	[DEBUG]	Executed store
2023-10-13	12:59:58	2147	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7558W',`product_name`='SRAM Disque de frein Sram Paceline Center-Lock 140 mm arrondi / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disque-de-frein-sram-paceline-center-lock-140-mm-arrondi-unique' WHERE `virtuemart_product_id` = '1861639'
2023-10-13	12:59:58	2147	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37605_disque_de_frein_sram_paceline_center-lock_140_mm_arrondi.jpg
2023-10-13	12:59:58	2147	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:58	2147	[DEBUG]	Process image file
2023-10-13	12:59:58	2147	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:58	2147	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:58	2147	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37605_disque_de_frein_sram_paceline_center-lock_140_mm_arrondi.jpg
2023-10-13	12:59:58	2147	[DEBUG]	Full name target: bcprisme/37605_disque_de_frein_sram_paceline_center-lock_140_mm_arrondi.jpg
2023-10-13	12:59:59	2147	[DEBUG]	Checking if the file_url exists
2023-10-13	12:59:59	2147	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37605_disque_de_frein_sram_paceline_center-lock_140_mm_arrondi.jpg'
2023-10-13	12:59:59	2147	[DEBUG]	Query for Media
2023-10-13	12:59:59	2147	[DEBUG]	Executed store
2023-10-13	12:59:59	2147	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37605_disque_de_frein_sram_paceline_center-lock_140_mm_arrondi.jpg',`file_url_thumb`='bcprisme/37605_disque_de_frein_sram_paceline_center-lock_140_mm_arrondi.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1021399'
2023-10-13	12:59:59	2147	[DEBUG]	Query for ProductMedia
2023-10-13	12:59:59	2147	[DEBUG]	Executed store
2023-10-13	12:59:59	2147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861639','1021399','1')
2023-10-13	12:59:59	2147	[DEBUG]	Store product image relation
2023-10-13	12:59:59	2147	[DEBUG]	Finding a product_price_id
2023-10-13	12:59:59	2147	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861639 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	12:59:59	2147	[DEBUG]	Query for ProductPrice
2023-10-13	12:59:59	2147	[DEBUG]	Executed store
2023-10-13	12:59:59	2147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861639','0','62.116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	12:59:59	2147	[DEBUG]	Checking manufacturer
2023-10-13	12:59:59	2147	[DEBUG]	Load a row
2023-10-13	12:59:59	2147	[DEBUG]	Manufacturer already exists
2023-10-13	12:59:59	2147	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:59:59	2147	[DEBUG]	Query for ManufacturerLang
2023-10-13	12:59:59	2147	[DEBUG]	Executed store
2023-10-13	12:59:59	2147	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	12:59:59	2147	[DEBUG]	Manufacturer exists
2023-10-13	12:59:59	2147	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	12:59:59	2147	[DEBUG]	Query for ProductManufacturer
2023-10-13	12:59:59	2147	[DEBUG]	Executed store
2023-10-13	12:59:59	2147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861639','35')
2023-10-13	12:59:59	2147	[DEBUG]	Find the custom field ID
2023-10-13	12:59:59	2147	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	12:59:59	2147	[DEBUG]	No custom field ID found
2023-10-13	12:59:59	2147	[DEBUG]	Processing custom available field: public_price
2023-10-13	12:59:59	2147	[DEBUG]	Get existing row with customfield value 0
2023-10-13	12:59:59	2147	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861639 AND `virtuemart_custom_id` = 3
2023-10-13	12:59:59	2147	[DEBUG]	Store custom available field
2023-10-13	12:59:59	2147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861639,3,'0',1)
2023-10-13	12:59:59	2147	[DEBUG]	Processing custom available field: taille
2023-10-13	12:59:59	2147	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	12:59:59	2147	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861639 AND `virtuemart_custom_id` = 6
2023-10-13	12:59:59	2147	[DEBUG]	Store custom available field
2023-10-13	12:59:59	2147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861639,6,'choisir la taille',3)
2023-10-13	12:59:59	2147	[DEBUG]	Process multi-variant fields
2023-10-13	12:59:59	2147	[DEBUG]	Find the multi variant custom field entry
2023-10-13	12:59:59	2147	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	12:59:59	2147	[DEBUG]	Find the multi variant product entry
2023-10-13	12:59:59	2147	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861639 AND `virtuemart_custom_id` = 8
2023-10-13	12:59:59	2147	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	12:59:59	2147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861639,8,1)
2023-10-13	12:59:59	2147	[DEBUG]	Store the updated customfield_params
2023-10-13	12:59:59	2147	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861639\":[1861639,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861639
2023-10-13	12:59:59	2147	[DEBUG]	Checking category
2023-10-13	12:59:59	2147	[DEBUG]	Get the existing categories for the product
2023-10-13	12:59:59	2147	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861639
2023-10-13	12:59:59	2147	[DEBUG]	Query for Productcategoryxref
2023-10-13	12:59:59	2147	[DEBUG]	Executed store
2023-10-13	12:59:59	2147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861639','7337')
2023-10-13	12:59:59	2147	[DEBUG]	Delete leftover product categories
2023-10-13	12:59:59	2147	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861639 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	12:59:59	2147	[DEBUG]	Update has fields after all processing
2023-10-13	12:59:59	2147	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861639
2023-10-13	12:59:59	2148	[DEBUG]	Use field value for field product_sku
2023-10-13	12:59:59	2148	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	12:59:59	2148	[DEBUG]	Use field value for field taille
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	12:59:59	2148	[DEBUG]	Use field value for field product_name
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field category_path
2023-10-13	12:59:59	2148	[DEBUG]	Use field value for field product_price
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field product_override_price
2023-10-13	12:59:59	2148	[DEBUG]	Use field value for field product_tax
2023-10-13	12:59:59	2148	[DEBUG]	Use field value for field file_url
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field product_s_desc
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field product_desc
2023-10-13	12:59:59	2148	[DEBUG]	Use field value for field product_in_stock
2023-10-13	12:59:59	2148	[DEBUG]	Use field value for field product_availability
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field product_weight
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field product_unit
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field related_products
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field product_special
2023-10-13	12:59:59	2148	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	12:59:59	2148	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	12:59:59	2148	[DEBUG]	Use field value for field published
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field metadesc
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field metakey
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field custom_title
2023-10-13	12:59:59	2148	[DEBUG]	Use field value for field custom_value
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field custom_param
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field override
2023-10-13	12:59:59	2148	[DEBUG]	Use default value for field public_price
2023-10-13	12:59:59	2148	[DEBUG]	Use field value for field slug
2023-10-13	12:59:59	2148	[DEBUG]	Process line 2148
2023-10-13	12:59:59	2148	[DEBUG]	Load a row
2023-10-13	12:59:59	2148	[DEBUG]	Processing item: 710845851568
2023-10-13	12:59:59	2148	[DEBUG]	Looking for parent SKU
2023-10-13	12:59:59	2148	[DEBUG]	Checking product parent SKU
2023-10-13	12:59:59	2148	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8651_0'
2023-10-13	12:59:59	2148	[DEBUG]	Product tax: 7.7
2023-10-13	12:59:59	2148	[DEBUG]	Processing product tax
2023-10-13	12:59:59	2148	[DEBUG]	Check if calculation rule exists
2023-10-13	12:59:59	2148	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	12:59:59	2148	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	12:59:59	2148	[DEBUG]	Query for Product
2023-10-13	12:59:59	2148	[DEBUG]	Executed store
2023-10-13	12:59:59	2148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861639','710845851568','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	12:59:59	2148	[DEBUG]	No parent found
2023-10-13	12:59:59	2148	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861639 AND customfield_value = 'stockable'
2023-10-13	12:59:59	2148	[DEBUG]	Check product language entry
2023-10-13	12:59:59	2148	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861640
2023-10-13	12:59:59	2148	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:59	2148	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845851568' AND `virtuemart_product_id` != 1861640
2023-10-13	12:59:59	2148	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	12:59:59	2148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861640, '710845851568')
2023-10-13	12:59:59	2148	[DEBUG]	Check if the product slug exists
2023-10-13	12:59:59	2148	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disque-de-frein-sram-paceline-center-lock-140-mm-arrondi-unique-unitaire' AND `virtuemart_product_id` != 1861640
2023-10-13	12:59:59	2148	[DEBUG]	Query for ProductLang
2023-10-13	12:59:59	2148	[DEBUG]	Executed store
2023-10-13	12:59:59	2148	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Disque de frein Sram Paceline Center-Lock 140 mm arrondi / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disque-de-frein-sram-paceline-center-lock-140-mm-arrondi-unique-unitaire' WHERE `virtuemart_product_id` = '1861640'
2023-10-13	12:59:59	2148	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37605_disque_de_frein_sram_paceline_center-lock_140_mm_arrondi.jpg
2023-10-13	12:59:59	2148	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:59	2148	[DEBUG]	Process image file
2023-10-13	12:59:59	2148	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	12:59:59	2148	[DEBUG]	Mime type found: image/jpeg
2023-10-13	12:59:59	2148	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37605_disque_de_frein_sram_paceline_center-lock_140_mm_arrondi.jpg
2023-10-13	12:59:59	2148	[DEBUG]	Full name target: bcprisme/37605_disque_de_frein_sram_paceline_center-lock_140_mm_arrondi.jpg
2023-10-13	13:00:00	2148	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:00	2148	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37605_disque_de_frein_sram_paceline_center-lock_140_mm_arrondi.jpg'
2023-10-13	13:00:00	2148	[DEBUG]	Query for Media
2023-10-13	13:00:00	2148	[DEBUG]	Executed store
2023-10-13	13:00:00	2148	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37605_disque_de_frein_sram_paceline_center-lock_140_mm_arrondi.jpg',`file_url_thumb`='bcprisme/37605_disque_de_frein_sram_paceline_center-lock_140_mm_arrondi.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1021399'
2023-10-13	13:00:00	2148	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:00	2148	[DEBUG]	Executed store
2023-10-13	13:00:00	2148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861640','1021399','1')
2023-10-13	13:00:00	2148	[DEBUG]	Store product image relation
2023-10-13	13:00:00	2148	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:00	2148	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861640 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:00	2148	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:00	2148	[DEBUG]	Executed store
2023-10-13	13:00:00	2148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861640','0','62.116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:00	2148	[DEBUG]	Checking manufacturer
2023-10-13	13:00:00	2148	[DEBUG]	Load a row
2023-10-13	13:00:00	2148	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:00	2148	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:00	2148	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:00	2148	[DEBUG]	Executed store
2023-10-13	13:00:00	2148	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:00	2148	[DEBUG]	Manufacturer exists
2023-10-13	13:00:00	2148	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:00	2148	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:00	2148	[DEBUG]	Executed store
2023-10-13	13:00:00	2148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861640','35')
2023-10-13	13:00:00	2148	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:00	2148	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:00	2148	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861640 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:00	2148	[DEBUG]	Store custom available field
2023-10-13	13:00:00	2148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861640,3,'',1)
2023-10-13	13:00:00	2148	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:00	2148	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:00	2148	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861640 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:00	2148	[DEBUG]	Store custom available field
2023-10-13	13:00:00	2148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861640,6,'Unitaire',3)
2023-10-13	13:00:00	2148	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:00	2148	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:00	2148	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861639
2023-10-13	13:00:00	2148	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:00	2148	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861639\":[1861639,8,1,\"choisir la taille\"],\"1861640\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861639
2023-10-13	13:00:00	2148	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:00	2148	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861640
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:00	2149	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field taille
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:00	2149	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:00	2149	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:00	2149	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:00	2149	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:00	2149	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:00	2149	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field published
2023-10-13	13:00:00	2149	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:00	2149	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field override
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:00	2149	[DEBUG]	Use field value for field slug
2023-10-13	13:00:00	2149	[DEBUG]	Process line 2149
2023-10-13	13:00:00	2149	[DEBUG]	Load a row
2023-10-13	13:00:00	2149	[DEBUG]	Processing item: A_8665_208
2023-10-13	13:00:00	2149	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:00	2149	[DEBUG]	Processing product tax
2023-10-13	13:00:00	2149	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:00	2149	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:00	2149	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:00	2149	[DEBUG]	Query for Product
2023-10-13	13:00:00	2149	[DEBUG]	Executed store
2023-10-13	13:00:00	2149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8665_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:00	2149	[DEBUG]	Check product language entry
2023-10-13	13:00:00	2149	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861641
2023-10-13	13:00:00	2149	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:00	2149	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8665_208' AND `virtuemart_product_id` != 1861641
2023-10-13	13:00:00	2149	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:00	2149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861641, 'A_8665_208')
2023-10-13	13:00:00	2149	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:00	2149	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-slx-sm-rt66-220-mm-6-trous-aucune' AND `virtuemart_product_id` != 1861641
2023-10-13	13:00:00	2149	[DEBUG]	Query for ProductLang
2023-10-13	13:00:00	2149	[DEBUG]	Executed store
2023-10-13	13:00:00	2149	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.80671',`product_name`='SHIMANO Disque SLX SM-RT66 220 mm 6-trous / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-slx-sm-rt66-220-mm-6-trous-aucune' WHERE `virtuemart_product_id` = '1861641'
2023-10-13	13:00:00	2149	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_54655_2_jpg.jpg
2023-10-13	13:00:00	2149	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:00	2149	[DEBUG]	Process image file
2023-10-13	13:00:00	2149	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:00	2149	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:00	2149	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_54655_2_jpg.jpg
2023-10-13	13:00:00	2149	[DEBUG]	Full name target: bcprisme/73_54655_2_jpg.jpg
2023-10-13	13:00:01	2149	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:01	2149	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_54655_2_jpg.jpg'
2023-10-13	13:00:01	2149	[DEBUG]	Query for Media
2023-10-13	13:00:01	2149	[DEBUG]	Executed store
2023-10-13	13:00:01	2149	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_54655_2_jpg.jpg',`file_url_thumb`='bcprisme/73_54655_2_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040043'
2023-10-13	13:00:01	2149	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:01	2149	[DEBUG]	Executed store
2023-10-13	13:00:01	2149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861641','1040043','1')
2023-10-13	13:00:01	2149	[DEBUG]	Store product image relation
2023-10-13	13:00:01	2149	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:01	2149	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861641 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:01	2149	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:01	2149	[DEBUG]	Executed store
2023-10-13	13:00:01	2149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861641','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:01	2149	[DEBUG]	Checking manufacturer
2023-10-13	13:00:01	2149	[DEBUG]	Load a row
2023-10-13	13:00:01	2149	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:01	2149	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:01	2149	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:01	2149	[DEBUG]	Executed store
2023-10-13	13:00:01	2149	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:01	2149	[DEBUG]	Manufacturer exists
2023-10-13	13:00:01	2149	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:01	2149	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:01	2149	[DEBUG]	Executed store
2023-10-13	13:00:01	2149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861641','26')
2023-10-13	13:00:01	2149	[DEBUG]	Find the custom field ID
2023-10-13	13:00:01	2149	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:01	2149	[DEBUG]	No custom field ID found
2023-10-13	13:00:01	2149	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:01	2149	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:01	2149	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861641 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:01	2149	[DEBUG]	Store custom available field
2023-10-13	13:00:01	2149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861641,3,'0',1)
2023-10-13	13:00:01	2149	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:01	2149	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:01	2149	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861641 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:01	2149	[DEBUG]	Store custom available field
2023-10-13	13:00:01	2149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861641,6,'choisir la taille',3)
2023-10-13	13:00:01	2149	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:01	2149	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:01	2149	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:01	2149	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:01	2149	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861641 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:01	2149	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:01	2149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861641,8,1)
2023-10-13	13:00:01	2149	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:01	2149	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861641\":[1861641,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861641
2023-10-13	13:00:01	2149	[DEBUG]	Checking category
2023-10-13	13:00:01	2149	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:01	2149	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861641
2023-10-13	13:00:01	2149	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:01	2149	[DEBUG]	Executed store
2023-10-13	13:00:01	2149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861641','7337')
2023-10-13	13:00:01	2149	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:01	2149	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861641 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:01	2149	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:01	2149	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861641
2023-10-13	13:00:01	2150	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:01	2150	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:01	2150	[DEBUG]	Use field value for field taille
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:01	2150	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:01	2150	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:01	2150	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:01	2150	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:01	2150	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:01	2150	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:01	2150	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:01	2150	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:01	2150	[DEBUG]	Use field value for field published
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:01	2150	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field override
2023-10-13	13:00:01	2150	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:01	2150	[DEBUG]	Use field value for field slug
2023-10-13	13:00:01	2150	[DEBUG]	Process line 2150
2023-10-13	13:00:01	2150	[DEBUG]	Load a row
2023-10-13	13:00:01	2150	[DEBUG]	Processing item: 4550170888305
2023-10-13	13:00:01	2150	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:01	2150	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:01	2150	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8665_208'
2023-10-13	13:00:01	2150	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:01	2150	[DEBUG]	Processing product tax
2023-10-13	13:00:01	2150	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:01	2150	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:01	2150	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:01	2150	[DEBUG]	Query for Product
2023-10-13	13:00:01	2150	[DEBUG]	Executed store
2023-10-13	13:00:01	2150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861641','4550170888305','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:01	2150	[DEBUG]	No parent found
2023-10-13	13:00:01	2150	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861641 AND customfield_value = 'stockable'
2023-10-13	13:00:01	2150	[DEBUG]	Check product language entry
2023-10-13	13:00:01	2150	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861642
2023-10-13	13:00:01	2150	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:01	2150	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170888305' AND `virtuemart_product_id` != 1861642
2023-10-13	13:00:01	2150	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:01	2150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861642, '4550170888305')
2023-10-13	13:00:01	2150	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:01	2150	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-slx-sm-rt66-220-mm-6-trous-aucune-unitaire' AND `virtuemart_product_id` != 1861642
2023-10-13	13:00:01	2150	[DEBUG]	Query for ProductLang
2023-10-13	13:00:01	2150	[DEBUG]	Executed store
2023-10-13	13:00:01	2150	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque SLX SM-RT66 220 mm 6-trous / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-slx-sm-rt66-220-mm-6-trous-aucune-unitaire' WHERE `virtuemart_product_id` = '1861642'
2023-10-13	13:00:01	2150	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_54655_2_jpg.jpg
2023-10-13	13:00:01	2150	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:01	2150	[DEBUG]	Process image file
2023-10-13	13:00:01	2150	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:01	2150	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:01	2150	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_54655_2_jpg.jpg
2023-10-13	13:00:01	2150	[DEBUG]	Full name target: bcprisme/73_54655_2_jpg.jpg
2023-10-13	13:00:02	2150	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:02	2150	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_54655_2_jpg.jpg'
2023-10-13	13:00:02	2150	[DEBUG]	Query for Media
2023-10-13	13:00:02	2150	[DEBUG]	Executed store
2023-10-13	13:00:02	2150	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_54655_2_jpg.jpg',`file_url_thumb`='bcprisme/73_54655_2_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040043'
2023-10-13	13:00:02	2150	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:02	2150	[DEBUG]	Executed store
2023-10-13	13:00:02	2150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861642','1040043','1')
2023-10-13	13:00:02	2150	[DEBUG]	Store product image relation
2023-10-13	13:00:02	2150	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:02	2150	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861642 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:02	2150	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:02	2150	[DEBUG]	Executed store
2023-10-13	13:00:02	2150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861642','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:02	2150	[DEBUG]	Checking manufacturer
2023-10-13	13:00:02	2150	[DEBUG]	Load a row
2023-10-13	13:00:02	2150	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:02	2150	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:02	2150	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:02	2150	[DEBUG]	Executed store
2023-10-13	13:00:02	2150	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:02	2150	[DEBUG]	Manufacturer exists
2023-10-13	13:00:02	2150	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:02	2150	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:02	2150	[DEBUG]	Executed store
2023-10-13	13:00:02	2150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861642','26')
2023-10-13	13:00:02	2150	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:02	2150	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:02	2150	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861642 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:02	2150	[DEBUG]	Store custom available field
2023-10-13	13:00:02	2150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861642,3,'',1)
2023-10-13	13:00:02	2150	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:02	2150	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:02	2150	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861642 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:02	2150	[DEBUG]	Store custom available field
2023-10-13	13:00:02	2150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861642,6,'Unitaire',3)
2023-10-13	13:00:02	2150	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:02	2150	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:02	2150	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861641
2023-10-13	13:00:02	2150	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:02	2150	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861641\":[1861641,8,1,\"choisir la taille\"],\"1861642\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861641
2023-10-13	13:00:02	2150	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:02	2150	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861642
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:02	2151	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field taille
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:02	2151	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:02	2151	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:02	2151	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:02	2151	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:02	2151	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:02	2151	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field published
2023-10-13	13:00:02	2151	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:02	2151	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field override
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:02	2151	[DEBUG]	Use field value for field slug
2023-10-13	13:00:02	2151	[DEBUG]	Process line 2151
2023-10-13	13:00:02	2151	[DEBUG]	Load a row
2023-10-13	13:00:02	2151	[DEBUG]	Processing item: A_8714_1
2023-10-13	13:00:02	2151	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:02	2151	[DEBUG]	Processing product tax
2023-10-13	13:00:02	2151	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:02	2151	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:02	2151	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:02	2151	[DEBUG]	Query for Product
2023-10-13	13:00:02	2151	[DEBUG]	Executed store
2023-10-13	13:00:02	2151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8714_1','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:02	2151	[DEBUG]	Check product language entry
2023-10-13	13:00:02	2151	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861643
2023-10-13	13:00:02	2151	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:02	2151	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8714_1' AND `virtuemart_product_id` != 1861643
2023-10-13	13:00:02	2151	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:02	2151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861643, 'A_8714_1')
2023-10-13	13:00:02	2151	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:02	2151	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disque-de-frein-sram-paceline-center-lock-160-mm-arrondi-noir' AND `virtuemart_product_id` != 1861643
2023-10-13	13:00:02	2151	[DEBUG]	Query for ProductLang
2023-10-13	13:00:02	2151	[DEBUG]	Executed store
2023-10-13	13:00:02	2151	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7558V',`product_name`='SRAM Disque de frein Sram Paceline Center-Lock 160 mm arrondi  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disque-de-frein-sram-paceline-center-lock-160-mm-arrondi-noir' WHERE `virtuemart_product_id` = '1861643'
2023-10-13	13:00:02	2151	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37676_disque_de_frein_sram_paceline_center-lock_160_mm_arrondi_.jpg
2023-10-13	13:00:02	2151	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:02	2151	[DEBUG]	Process image file
2023-10-13	13:00:02	2151	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:02	2151	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:02	2151	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37676_disque_de_frein_sram_paceline_center-lock_160_mm_arrondi_.jpg
2023-10-13	13:00:02	2151	[DEBUG]	Full name target: bcprisme/37676_disque_de_frein_sram_paceline_center-lock_160_mm_arrondi_.jpg
2023-10-13	13:00:03	2151	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:03	2151	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37676_disque_de_frein_sram_paceline_center-lock_160_mm_arrondi_.jpg'
2023-10-13	13:00:03	2151	[DEBUG]	Query for Media
2023-10-13	13:00:03	2151	[DEBUG]	Executed store
2023-10-13	13:00:03	2151	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37676_disque_de_frein_sram_paceline_center-lock_160_mm_arrondi_.jpg',`file_url_thumb`='bcprisme/37676_disque_de_frein_sram_paceline_center-lock_160_mm_arrondi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040045'
2023-10-13	13:00:03	2151	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:03	2151	[DEBUG]	Executed store
2023-10-13	13:00:03	2151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861643','1040045','1')
2023-10-13	13:00:03	2151	[DEBUG]	Store product image relation
2023-10-13	13:00:03	2151	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:03	2151	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861643 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:03	2151	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:03	2151	[DEBUG]	Executed store
2023-10-13	13:00:03	2151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861643','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:03	2151	[DEBUG]	Checking manufacturer
2023-10-13	13:00:03	2151	[DEBUG]	Load a row
2023-10-13	13:00:03	2151	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:03	2151	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:03	2151	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:03	2151	[DEBUG]	Executed store
2023-10-13	13:00:03	2151	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:03	2151	[DEBUG]	Manufacturer exists
2023-10-13	13:00:03	2151	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:03	2151	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:03	2151	[DEBUG]	Executed store
2023-10-13	13:00:03	2151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861643','35')
2023-10-13	13:00:03	2151	[DEBUG]	Find the custom field ID
2023-10-13	13:00:03	2151	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:03	2151	[DEBUG]	No custom field ID found
2023-10-13	13:00:03	2151	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:03	2151	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:03	2151	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861643 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:03	2151	[DEBUG]	Store custom available field
2023-10-13	13:00:03	2151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861643,3,'0',1)
2023-10-13	13:00:03	2151	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:03	2151	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:03	2151	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861643 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:03	2151	[DEBUG]	Store custom available field
2023-10-13	13:00:03	2151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861643,6,'choisir la taille',3)
2023-10-13	13:00:03	2151	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:03	2151	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:03	2151	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:03	2151	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:03	2151	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861643 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:03	2151	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:03	2151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861643,8,1)
2023-10-13	13:00:03	2151	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:03	2151	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861643\":[1861643,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861643
2023-10-13	13:00:03	2151	[DEBUG]	Checking category
2023-10-13	13:00:03	2151	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:03	2151	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861643
2023-10-13	13:00:03	2151	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:03	2151	[DEBUG]	Executed store
2023-10-13	13:00:03	2151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861643','7337')
2023-10-13	13:00:03	2151	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:03	2151	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861643 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:03	2151	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:03	2151	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861643
2023-10-13	13:00:03	2152	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:03	2152	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:03	2152	[DEBUG]	Use field value for field taille
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:03	2152	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:03	2152	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:03	2152	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:03	2152	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:03	2152	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:03	2152	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:03	2152	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:03	2152	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:03	2152	[DEBUG]	Use field value for field published
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:03	2152	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field override
2023-10-13	13:00:03	2152	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:03	2152	[DEBUG]	Use field value for field slug
2023-10-13	13:00:03	2152	[DEBUG]	Process line 2152
2023-10-13	13:00:03	2152	[DEBUG]	Load a row
2023-10-13	13:00:03	2152	[DEBUG]	Processing item: 710845854507
2023-10-13	13:00:03	2152	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:03	2152	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:03	2152	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8714_1'
2023-10-13	13:00:03	2152	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:03	2152	[DEBUG]	Processing product tax
2023-10-13	13:00:03	2152	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:03	2152	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:03	2152	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:03	2152	[DEBUG]	Query for Product
2023-10-13	13:00:03	2152	[DEBUG]	Executed store
2023-10-13	13:00:03	2152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861643','710845854507','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:03	2152	[DEBUG]	No parent found
2023-10-13	13:00:03	2152	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861643 AND customfield_value = 'stockable'
2023-10-13	13:00:03	2152	[DEBUG]	Check product language entry
2023-10-13	13:00:03	2152	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861644
2023-10-13	13:00:03	2152	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:03	2152	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845854507' AND `virtuemart_product_id` != 1861644
2023-10-13	13:00:03	2152	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:03	2152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861644, '710845854507')
2023-10-13	13:00:03	2152	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:03	2152	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disque-de-frein-sram-paceline-center-lock-160-mm-arrondi-noir-unitaire' AND `virtuemart_product_id` != 1861644
2023-10-13	13:00:03	2152	[DEBUG]	Query for ProductLang
2023-10-13	13:00:03	2152	[DEBUG]	Executed store
2023-10-13	13:00:03	2152	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Disque de frein Sram Paceline Center-Lock 160 mm arrondi  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disque-de-frein-sram-paceline-center-lock-160-mm-arrondi-noir-unitaire' WHERE `virtuemart_product_id` = '1861644'
2023-10-13	13:00:03	2152	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37676_disque_de_frein_sram_paceline_center-lock_160_mm_arrondi_.jpg
2023-10-13	13:00:03	2152	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:03	2152	[DEBUG]	Process image file
2023-10-13	13:00:03	2152	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:03	2152	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:03	2152	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37676_disque_de_frein_sram_paceline_center-lock_160_mm_arrondi_.jpg
2023-10-13	13:00:03	2152	[DEBUG]	Full name target: bcprisme/37676_disque_de_frein_sram_paceline_center-lock_160_mm_arrondi_.jpg
2023-10-13	13:00:04	2152	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:04	2152	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37676_disque_de_frein_sram_paceline_center-lock_160_mm_arrondi_.jpg'
2023-10-13	13:00:04	2152	[DEBUG]	Query for Media
2023-10-13	13:00:04	2152	[DEBUG]	Executed store
2023-10-13	13:00:04	2152	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37676_disque_de_frein_sram_paceline_center-lock_160_mm_arrondi_.jpg',`file_url_thumb`='bcprisme/37676_disque_de_frein_sram_paceline_center-lock_160_mm_arrondi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040045'
2023-10-13	13:00:04	2152	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:04	2152	[DEBUG]	Executed store
2023-10-13	13:00:04	2152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861644','1040045','1')
2023-10-13	13:00:04	2152	[DEBUG]	Store product image relation
2023-10-13	13:00:04	2152	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:04	2152	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861644 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:04	2152	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:04	2152	[DEBUG]	Executed store
2023-10-13	13:00:04	2152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861644','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:04	2152	[DEBUG]	Checking manufacturer
2023-10-13	13:00:04	2152	[DEBUG]	Load a row
2023-10-13	13:00:04	2152	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:04	2152	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:04	2152	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:04	2152	[DEBUG]	Executed store
2023-10-13	13:00:04	2152	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:04	2152	[DEBUG]	Manufacturer exists
2023-10-13	13:00:04	2152	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:04	2152	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:04	2152	[DEBUG]	Executed store
2023-10-13	13:00:04	2152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861644','35')
2023-10-13	13:00:04	2152	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:04	2152	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:04	2152	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861644 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:04	2152	[DEBUG]	Store custom available field
2023-10-13	13:00:04	2152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861644,3,'',1)
2023-10-13	13:00:04	2152	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:04	2152	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:04	2152	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861644 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:04	2152	[DEBUG]	Store custom available field
2023-10-13	13:00:04	2152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861644,6,'Unitaire',3)
2023-10-13	13:00:04	2152	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:04	2152	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:04	2152	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861643
2023-10-13	13:00:04	2152	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:04	2152	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861643\":[1861643,8,1,\"choisir la taille\"],\"1861644\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861643
2023-10-13	13:00:04	2152	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:04	2152	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861644
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:04	2153	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field taille
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:04	2153	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:04	2153	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:04	2153	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:04	2153	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:04	2153	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:04	2153	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field published
2023-10-13	13:00:04	2153	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:04	2153	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field override
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:04	2153	[DEBUG]	Use field value for field slug
2023-10-13	13:00:04	2153	[DEBUG]	Process line 2153
2023-10-13	13:00:04	2153	[DEBUG]	Load a row
2023-10-13	13:00:04	2153	[DEBUG]	Processing item: A_8715_1
2023-10-13	13:00:04	2153	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:04	2153	[DEBUG]	Processing product tax
2023-10-13	13:00:04	2153	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:04	2153	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:04	2153	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:04	2153	[DEBUG]	Query for Product
2023-10-13	13:00:04	2153	[DEBUG]	Executed store
2023-10-13	13:00:04	2153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8715_1','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:04	2153	[DEBUG]	Check product language entry
2023-10-13	13:00:04	2153	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861645
2023-10-13	13:00:04	2153	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:04	2153	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8715_1' AND `virtuemart_product_id` != 1861645
2023-10-13	13:00:04	2153	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:04	2153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861645, 'A_8715_1')
2023-10-13	13:00:04	2153	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:04	2153	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-mdr-c-o-220-mm-6-trous-6-vis-acier-inclus-noir' AND `virtuemart_product_id` != 1861645
2023-10-13	13:00:04	2153	[DEBUG]	Query for ProductLang
2023-10-13	13:00:04	2153	[DEBUG]	Executed store
2023-10-13	13:00:04	2153	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8791E',`product_name`='MAGURA DISQUE MDR-C, Ø 220 MM, 6 TROUS, 6 VIS ACIER INCLUS  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-mdr-c-o-220-mm-6-trous-6-vis-acier-inclus-noir' WHERE `virtuemart_product_id` = '1861645'
2023-10-13	13:00:04	2153	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37677_disque_mdr-c,_Ø_220_mm,_6_trous,_6_vis_acier_inclus_.jpg
2023-10-13	13:00:04	2153	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:04	2153	[DEBUG]	Process image file
2023-10-13	13:00:04	2153	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:04	2153	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:04	2153	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37677_disque_mdr-c,_Ø_220_mm,_6_trous,_6_vis_acier_inclus_.jpg
2023-10-13	13:00:04	2153	[DEBUG]	Full name target: bcprisme/37677_disque_mdr-c,_Ø_220_mm,_6_trous,_6_vis_acier_inclus_.jpg
2023-10-13	13:00:05	2153	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:05	2153	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37677_disque_mdr-c,_Ø_220_mm,_6_trous,_6_vis_acier_inclus_.jpg'
2023-10-13	13:00:05	2153	[DEBUG]	Query for Media
2023-10-13	13:00:05	2153	[DEBUG]	Executed store
2023-10-13	13:00:05	2153	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37677_disque_mdr-c,_Ø_220_mm,_6_trous,_6_vis_acier_inclus_.jpg',`file_url_thumb`='bcprisme/37677_disque_mdr-c,_Ø_220_mm,_6_trous,_6_vis_acier_inclus_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040047'
2023-10-13	13:00:05	2153	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:05	2153	[DEBUG]	Executed store
2023-10-13	13:00:05	2153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861645','1040047','1')
2023-10-13	13:00:05	2153	[DEBUG]	Store product image relation
2023-10-13	13:00:05	2153	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:05	2153	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861645 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:05	2153	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:05	2153	[DEBUG]	Executed store
2023-10-13	13:00:05	2153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861645','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:05	2153	[DEBUG]	Checking manufacturer
2023-10-13	13:00:05	2153	[DEBUG]	Load a row
2023-10-13	13:00:05	2153	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:05	2153	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:00:05	2153	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:05	2153	[DEBUG]	Executed store
2023-10-13	13:00:05	2153	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:00:05	2153	[DEBUG]	Manufacturer exists
2023-10-13	13:00:05	2153	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:00:05	2153	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:05	2153	[DEBUG]	Executed store
2023-10-13	13:00:05	2153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861645','38')
2023-10-13	13:00:05	2153	[DEBUG]	Find the custom field ID
2023-10-13	13:00:05	2153	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:05	2153	[DEBUG]	No custom field ID found
2023-10-13	13:00:05	2153	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:05	2153	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:05	2153	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861645 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:05	2153	[DEBUG]	Store custom available field
2023-10-13	13:00:05	2153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861645,3,'0',1)
2023-10-13	13:00:05	2153	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:05	2153	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:05	2153	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861645 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:05	2153	[DEBUG]	Store custom available field
2023-10-13	13:00:05	2153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861645,6,'choisir la taille',3)
2023-10-13	13:00:05	2153	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:05	2153	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:05	2153	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:05	2153	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:05	2153	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861645 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:05	2153	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:05	2153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861645,8,1)
2023-10-13	13:00:05	2153	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:05	2153	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861645\":[1861645,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861645
2023-10-13	13:00:05	2153	[DEBUG]	Checking category
2023-10-13	13:00:05	2153	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:05	2153	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861645
2023-10-13	13:00:05	2153	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:05	2153	[DEBUG]	Executed store
2023-10-13	13:00:05	2153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861645','7337')
2023-10-13	13:00:05	2153	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:05	2153	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861645 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:05	2153	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:05	2153	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861645
2023-10-13	13:00:05	2154	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:05	2154	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:05	2154	[DEBUG]	Use field value for field taille
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:05	2154	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:05	2154	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:05	2154	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:05	2154	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:05	2154	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:05	2154	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:05	2154	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:05	2154	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:05	2154	[DEBUG]	Use field value for field published
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:05	2154	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field override
2023-10-13	13:00:05	2154	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:05	2154	[DEBUG]	Use field value for field slug
2023-10-13	13:00:05	2154	[DEBUG]	Process line 2154
2023-10-13	13:00:05	2154	[DEBUG]	Load a row
2023-10-13	13:00:05	2154	[DEBUG]	Processing item: 1000000161885
2023-10-13	13:00:05	2154	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:05	2154	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:05	2154	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8715_1'
2023-10-13	13:00:05	2154	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:05	2154	[DEBUG]	Processing product tax
2023-10-13	13:00:05	2154	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:05	2154	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:05	2154	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:05	2154	[DEBUG]	Query for Product
2023-10-13	13:00:05	2154	[DEBUG]	Executed store
2023-10-13	13:00:05	2154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861645','1000000161885','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:05	2154	[DEBUG]	No parent found
2023-10-13	13:00:05	2154	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861645 AND customfield_value = 'stockable'
2023-10-13	13:00:05	2154	[DEBUG]	Check product language entry
2023-10-13	13:00:05	2154	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861646
2023-10-13	13:00:05	2154	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:05	2154	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000161885' AND `virtuemart_product_id` != 1861646
2023-10-13	13:00:05	2154	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:05	2154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861646, '1000000161885')
2023-10-13	13:00:05	2154	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:05	2154	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-disque-mdr-c-o-220-mm-6-trous-6-vis-acier-inclus-noir-unitaire' AND `virtuemart_product_id` != 1861646
2023-10-13	13:00:05	2154	[DEBUG]	Query for ProductLang
2023-10-13	13:00:05	2154	[DEBUG]	Executed store
2023-10-13	13:00:05	2154	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA DISQUE MDR-C, Ø 220 MM, 6 TROUS, 6 VIS ACIER INCLUS  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-disque-mdr-c-o-220-mm-6-trous-6-vis-acier-inclus-noir-unitaire' WHERE `virtuemart_product_id` = '1861646'
2023-10-13	13:00:05	2154	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37677_disque_mdr-c,_Ø_220_mm,_6_trous,_6_vis_acier_inclus_.jpg
2023-10-13	13:00:05	2154	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:05	2154	[DEBUG]	Process image file
2023-10-13	13:00:05	2154	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:05	2154	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:05	2154	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37677_disque_mdr-c,_Ø_220_mm,_6_trous,_6_vis_acier_inclus_.jpg
2023-10-13	13:00:05	2154	[DEBUG]	Full name target: bcprisme/37677_disque_mdr-c,_Ø_220_mm,_6_trous,_6_vis_acier_inclus_.jpg
2023-10-13	13:00:06	2154	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:06	2154	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37677_disque_mdr-c,_Ø_220_mm,_6_trous,_6_vis_acier_inclus_.jpg'
2023-10-13	13:00:06	2154	[DEBUG]	Query for Media
2023-10-13	13:00:06	2154	[DEBUG]	Executed store
2023-10-13	13:00:06	2154	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37677_disque_mdr-c,_Ø_220_mm,_6_trous,_6_vis_acier_inclus_.jpg',`file_url_thumb`='bcprisme/37677_disque_mdr-c,_Ø_220_mm,_6_trous,_6_vis_acier_inclus_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040047'
2023-10-13	13:00:06	2154	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:06	2154	[DEBUG]	Executed store
2023-10-13	13:00:06	2154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861646','1040047','1')
2023-10-13	13:00:06	2154	[DEBUG]	Store product image relation
2023-10-13	13:00:06	2154	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:06	2154	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861646 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:06	2154	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:06	2154	[DEBUG]	Executed store
2023-10-13	13:00:06	2154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861646','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:06	2154	[DEBUG]	Checking manufacturer
2023-10-13	13:00:06	2154	[DEBUG]	Load a row
2023-10-13	13:00:06	2154	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:06	2154	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:00:06	2154	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:06	2154	[DEBUG]	Executed store
2023-10-13	13:00:06	2154	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:00:06	2154	[DEBUG]	Manufacturer exists
2023-10-13	13:00:06	2154	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:00:06	2154	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:06	2154	[DEBUG]	Executed store
2023-10-13	13:00:06	2154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861646','38')
2023-10-13	13:00:06	2154	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:06	2154	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:06	2154	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861646 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:06	2154	[DEBUG]	Store custom available field
2023-10-13	13:00:06	2154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861646,3,'',1)
2023-10-13	13:00:06	2154	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:06	2154	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:06	2154	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861646 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:06	2154	[DEBUG]	Store custom available field
2023-10-13	13:00:06	2154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861646,6,'Unitaire',3)
2023-10-13	13:00:06	2154	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:06	2154	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:06	2154	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861645
2023-10-13	13:00:06	2154	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:06	2154	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861645\":[1861645,8,1,\"choisir la taille\"],\"1861646\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861645
2023-10-13	13:00:06	2154	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:06	2154	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861646
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:06	2155	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field taille
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:06	2155	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:06	2155	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:06	2155	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:06	2155	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:06	2155	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:06	2155	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field published
2023-10-13	13:00:06	2155	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:06	2155	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field override
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:06	2155	[DEBUG]	Use field value for field slug
2023-10-13	13:00:06	2155	[DEBUG]	Process line 2155
2023-10-13	13:00:06	2155	[DEBUG]	Load a row
2023-10-13	13:00:07	2155	[DEBUG]	Processing item: A_8795_208
2023-10-13	13:00:07	2155	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:07	2155	[DEBUG]	Processing product tax
2023-10-13	13:00:07	2155	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:07	2155	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:07	2155	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:07	2155	[DEBUG]	Query for Product
2023-10-13	13:00:07	2155	[DEBUG]	Executed store
2023-10-13	13:00:07	2155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8795_208','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:07	2155	[DEBUG]	Check product language entry
2023-10-13	13:00:07	2155	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861647
2023-10-13	13:00:07	2155	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:07	2155	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8795_208' AND `virtuemart_product_id` != 1861647
2023-10-13	13:00:07	2155	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:07	2155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861647, 'A_8795_208')
2023-10-13	13:00:07	2155	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:07	2155	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-steps-rt-em600-203mm-center-lock-box-aucune' AND `virtuemart_product_id` != 1861647
2023-10-13	13:00:07	2155	[DEBUG]	Query for ProductLang
2023-10-13	13:00:07	2155	[DEBUG]	Executed store
2023-10-13	13:00:07	2155	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.73476',`product_name`='SHIMANO Disque STEPS RT-EM600 203mm Center-Lock box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-steps-rt-em600-203mm-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861647'
2023-10-13	13:00:07	2155	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_73474_jpg.jpg
2023-10-13	13:00:07	2155	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:07	2155	[DEBUG]	Process image file
2023-10-13	13:00:07	2155	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:07	2155	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:07	2155	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_73474_jpg.jpg
2023-10-13	13:00:07	2155	[DEBUG]	Full name target: bcprisme/73_73474_jpg.jpg
2023-10-13	13:00:07	2155	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:07	2155	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_73474_jpg.jpg'
2023-10-13	13:00:07	2155	[DEBUG]	Query for Media
2023-10-13	13:00:07	2155	[DEBUG]	Executed store
2023-10-13	13:00:07	2155	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_73474_jpg.jpg',`file_url_thumb`='bcprisme/73_73474_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1090555'
2023-10-13	13:00:07	2155	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:07	2155	[DEBUG]	Executed store
2023-10-13	13:00:07	2155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861647','1090555','1')
2023-10-13	13:00:07	2155	[DEBUG]	Store product image relation
2023-10-13	13:00:07	2155	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:07	2155	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861647 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:07	2155	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:07	2155	[DEBUG]	Executed store
2023-10-13	13:00:07	2155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861647','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:07	2155	[DEBUG]	Checking manufacturer
2023-10-13	13:00:07	2155	[DEBUG]	Load a row
2023-10-13	13:00:07	2155	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:07	2155	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:07	2155	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:07	2155	[DEBUG]	Executed store
2023-10-13	13:00:07	2155	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:07	2155	[DEBUG]	Manufacturer exists
2023-10-13	13:00:07	2155	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:07	2155	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:07	2155	[DEBUG]	Executed store
2023-10-13	13:00:07	2155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861647','26')
2023-10-13	13:00:07	2155	[DEBUG]	Find the custom field ID
2023-10-13	13:00:07	2155	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:07	2155	[DEBUG]	No custom field ID found
2023-10-13	13:00:07	2155	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:08	2155	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:08	2155	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861647 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:08	2155	[DEBUG]	Store custom available field
2023-10-13	13:00:08	2155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861647,3,'0',1)
2023-10-13	13:00:08	2155	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:08	2155	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:08	2155	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861647 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:08	2155	[DEBUG]	Store custom available field
2023-10-13	13:00:08	2155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861647,6,'choisir la taille',3)
2023-10-13	13:00:08	2155	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:08	2155	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:08	2155	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:08	2155	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:08	2155	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861647 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:08	2155	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:08	2155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861647,8,1)
2023-10-13	13:00:08	2155	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:08	2155	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861647\":[1861647,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861647
2023-10-13	13:00:08	2155	[DEBUG]	Checking category
2023-10-13	13:00:08	2155	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:08	2155	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861647
2023-10-13	13:00:08	2155	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:08	2155	[DEBUG]	Executed store
2023-10-13	13:00:08	2155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861647','7337')
2023-10-13	13:00:08	2155	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:08	2155	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861647 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:08	2155	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:08	2155	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861647
2023-10-13	13:00:08	2156	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:08	2156	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:08	2156	[DEBUG]	Use field value for field taille
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:08	2156	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:08	2156	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:08	2156	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:08	2156	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:08	2156	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:08	2156	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:08	2156	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:08	2156	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:08	2156	[DEBUG]	Use field value for field published
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:08	2156	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field override
2023-10-13	13:00:08	2156	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:08	2156	[DEBUG]	Use field value for field slug
2023-10-13	13:00:08	2156	[DEBUG]	Process line 2156
2023-10-13	13:00:08	2156	[DEBUG]	Load a row
2023-10-13	13:00:08	2156	[DEBUG]	Processing item: 4550170504748
2023-10-13	13:00:08	2156	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:08	2156	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:08	2156	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8795_208'
2023-10-13	13:00:08	2156	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:08	2156	[DEBUG]	Processing product tax
2023-10-13	13:00:08	2156	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:08	2156	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:08	2156	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:08	2156	[DEBUG]	Query for Product
2023-10-13	13:00:08	2156	[DEBUG]	Executed store
2023-10-13	13:00:08	2156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861647','4550170504748','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:08	2156	[DEBUG]	No parent found
2023-10-13	13:00:08	2156	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861647 AND customfield_value = 'stockable'
2023-10-13	13:00:08	2156	[DEBUG]	Check product language entry
2023-10-13	13:00:08	2156	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861648
2023-10-13	13:00:08	2156	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:08	2156	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170504748' AND `virtuemart_product_id` != 1861648
2023-10-13	13:00:08	2156	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:08	2156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861648, '4550170504748')
2023-10-13	13:00:08	2156	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:08	2156	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-steps-rt-em600-203mm-center-lock-box-aucune-unitaire' AND `virtuemart_product_id` != 1861648
2023-10-13	13:00:08	2156	[DEBUG]	Query for ProductLang
2023-10-13	13:00:08	2156	[DEBUG]	Executed store
2023-10-13	13:00:08	2156	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque STEPS RT-EM600 203mm Center-Lock box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-steps-rt-em600-203mm-center-lock-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861648'
2023-10-13	13:00:08	2156	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_73474_jpg.jpg
2023-10-13	13:00:08	2156	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:08	2156	[DEBUG]	Process image file
2023-10-13	13:00:08	2156	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:08	2156	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:08	2156	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_73474_jpg.jpg
2023-10-13	13:00:08	2156	[DEBUG]	Full name target: bcprisme/73_73474_jpg.jpg
2023-10-13	13:00:09	2156	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:09	2156	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_73474_jpg.jpg'
2023-10-13	13:00:09	2156	[DEBUG]	Query for Media
2023-10-13	13:00:09	2156	[DEBUG]	Executed store
2023-10-13	13:00:09	2156	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_73474_jpg.jpg',`file_url_thumb`='bcprisme/73_73474_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1090555'
2023-10-13	13:00:09	2156	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:09	2156	[DEBUG]	Executed store
2023-10-13	13:00:09	2156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861648','1090555','1')
2023-10-13	13:00:09	2156	[DEBUG]	Store product image relation
2023-10-13	13:00:09	2156	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:09	2156	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861648 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:09	2156	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:09	2156	[DEBUG]	Executed store
2023-10-13	13:00:09	2156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861648','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:09	2156	[DEBUG]	Checking manufacturer
2023-10-13	13:00:09	2156	[DEBUG]	Load a row
2023-10-13	13:00:09	2156	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:09	2156	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:09	2156	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:09	2156	[DEBUG]	Executed store
2023-10-13	13:00:09	2156	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:09	2156	[DEBUG]	Manufacturer exists
2023-10-13	13:00:09	2156	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:09	2156	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:09	2156	[DEBUG]	Executed store
2023-10-13	13:00:09	2156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861648','26')
2023-10-13	13:00:09	2156	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:09	2156	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:09	2156	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861648 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:09	2156	[DEBUG]	Store custom available field
2023-10-13	13:00:09	2156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861648,3,'',1)
2023-10-13	13:00:09	2156	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:09	2156	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:09	2156	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861648 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:09	2156	[DEBUG]	Store custom available field
2023-10-13	13:00:09	2156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861648,6,'Unitaire',3)
2023-10-13	13:00:09	2156	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:09	2156	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:09	2156	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861647
2023-10-13	13:00:09	2156	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:09	2156	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861647\":[1861647,8,1,\"choisir la taille\"],\"1861648\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861647
2023-10-13	13:00:09	2156	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:09	2156	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861648
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:09	2157	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field taille
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:09	2157	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:09	2157	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:09	2157	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:09	2157	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:09	2157	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:09	2157	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field published
2023-10-13	13:00:09	2157	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:09	2157	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field override
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:09	2157	[DEBUG]	Use field value for field slug
2023-10-13	13:00:09	2157	[DEBUG]	Process line 2157
2023-10-13	13:00:09	2157	[DEBUG]	Load a row
2023-10-13	13:00:09	2157	[DEBUG]	Processing item: A_8796_208
2023-10-13	13:00:09	2157	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:09	2157	[DEBUG]	Processing product tax
2023-10-13	13:00:09	2157	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:09	2157	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:09	2157	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:09	2157	[DEBUG]	Query for Product
2023-10-13	13:00:09	2157	[DEBUG]	Executed store
2023-10-13	13:00:09	2157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8796_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:09	2157	[DEBUG]	Check product language entry
2023-10-13	13:00:09	2157	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861649
2023-10-13	13:00:09	2157	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:09	2157	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8796_208' AND `virtuemart_product_id` != 1861649
2023-10-13	13:00:09	2157	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:09	2157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861649, 'A_8796_208')
2023-10-13	13:00:09	2157	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:09	2157	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-steps-rt-em600-180mm-center-lock-box-aucune' AND `virtuemart_product_id` != 1861649
2023-10-13	13:00:09	2157	[DEBUG]	Query for ProductLang
2023-10-13	13:00:09	2157	[DEBUG]	Executed store
2023-10-13	13:00:09	2157	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.73475',`product_name`='SHIMANO Disque STEPS RT-EM600 180mm Center-Lock box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-steps-rt-em600-180mm-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861649'
2023-10-13	13:00:09	2157	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_73474_jpg.jpg
2023-10-13	13:00:09	2157	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:09	2157	[DEBUG]	Process image file
2023-10-13	13:00:09	2157	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:09	2157	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:09	2157	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_73474_jpg.jpg
2023-10-13	13:00:09	2157	[DEBUG]	Full name target: bcprisme/73_73474_jpg.jpg
2023-10-13	13:00:10	2157	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:10	2157	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_73474_jpg.jpg'
2023-10-13	13:00:10	2157	[DEBUG]	Query for Media
2023-10-13	13:00:10	2157	[DEBUG]	Executed store
2023-10-13	13:00:10	2157	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_73474_jpg.jpg',`file_url_thumb`='bcprisme/73_73474_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1090555'
2023-10-13	13:00:10	2157	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:10	2157	[DEBUG]	Executed store
2023-10-13	13:00:10	2157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861649','1090555','1')
2023-10-13	13:00:10	2157	[DEBUG]	Store product image relation
2023-10-13	13:00:10	2157	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:10	2157	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861649 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:10	2157	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:10	2157	[DEBUG]	Executed store
2023-10-13	13:00:10	2157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861649','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:10	2157	[DEBUG]	Checking manufacturer
2023-10-13	13:00:10	2157	[DEBUG]	Load a row
2023-10-13	13:00:10	2157	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:10	2157	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:10	2157	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:10	2157	[DEBUG]	Executed store
2023-10-13	13:00:10	2157	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:10	2157	[DEBUG]	Manufacturer exists
2023-10-13	13:00:10	2157	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:10	2157	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:10	2157	[DEBUG]	Executed store
2023-10-13	13:00:10	2157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861649','26')
2023-10-13	13:00:10	2157	[DEBUG]	Find the custom field ID
2023-10-13	13:00:10	2157	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:10	2157	[DEBUG]	No custom field ID found
2023-10-13	13:00:10	2157	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:10	2157	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:10	2157	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861649 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:10	2157	[DEBUG]	Store custom available field
2023-10-13	13:00:10	2157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861649,3,'0',1)
2023-10-13	13:00:10	2157	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:10	2157	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:10	2157	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861649 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:10	2157	[DEBUG]	Store custom available field
2023-10-13	13:00:10	2157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861649,6,'choisir la taille',3)
2023-10-13	13:00:10	2157	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:10	2157	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:10	2157	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:10	2157	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:10	2157	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861649 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:10	2157	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:10	2157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861649,8,1)
2023-10-13	13:00:10	2157	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:10	2157	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861649\":[1861649,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861649
2023-10-13	13:00:10	2157	[DEBUG]	Checking category
2023-10-13	13:00:10	2157	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:10	2157	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861649
2023-10-13	13:00:10	2157	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:10	2157	[DEBUG]	Executed store
2023-10-13	13:00:10	2157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861649','7337')
2023-10-13	13:00:10	2157	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:10	2157	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861649 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:10	2157	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:10	2157	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861649
2023-10-13	13:00:10	2158	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:10	2158	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:10	2158	[DEBUG]	Use field value for field taille
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:10	2158	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:10	2158	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:10	2158	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:10	2158	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:10	2158	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:10	2158	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:10	2158	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:10	2158	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:10	2158	[DEBUG]	Use field value for field published
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:10	2158	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field override
2023-10-13	13:00:10	2158	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:10	2158	[DEBUG]	Use field value for field slug
2023-10-13	13:00:10	2158	[DEBUG]	Process line 2158
2023-10-13	13:00:10	2158	[DEBUG]	Load a row
2023-10-13	13:00:10	2158	[DEBUG]	Processing item: 4550170504755
2023-10-13	13:00:10	2158	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:10	2158	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:10	2158	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8796_208'
2023-10-13	13:00:10	2158	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:10	2158	[DEBUG]	Processing product tax
2023-10-13	13:00:10	2158	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:10	2158	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:10	2158	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:10	2158	[DEBUG]	Query for Product
2023-10-13	13:00:10	2158	[DEBUG]	Executed store
2023-10-13	13:00:10	2158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861649','4550170504755','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:10	2158	[DEBUG]	No parent found
2023-10-13	13:00:10	2158	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861649 AND customfield_value = 'stockable'
2023-10-13	13:00:10	2158	[DEBUG]	Check product language entry
2023-10-13	13:00:10	2158	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861650
2023-10-13	13:00:10	2158	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:10	2158	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170504755' AND `virtuemart_product_id` != 1861650
2023-10-13	13:00:10	2158	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:10	2158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861650, '4550170504755')
2023-10-13	13:00:10	2158	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:10	2158	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-steps-rt-em600-180mm-center-lock-box-aucune-unitaire' AND `virtuemart_product_id` != 1861650
2023-10-13	13:00:10	2158	[DEBUG]	Query for ProductLang
2023-10-13	13:00:10	2158	[DEBUG]	Executed store
2023-10-13	13:00:10	2158	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque STEPS RT-EM600 180mm Center-Lock box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-steps-rt-em600-180mm-center-lock-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861650'
2023-10-13	13:00:10	2158	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_73474_jpg.jpg
2023-10-13	13:00:10	2158	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:10	2158	[DEBUG]	Process image file
2023-10-13	13:00:10	2158	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:10	2158	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:10	2158	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_73474_jpg.jpg
2023-10-13	13:00:10	2158	[DEBUG]	Full name target: bcprisme/73_73474_jpg.jpg
2023-10-13	13:00:11	2158	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:11	2158	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_73474_jpg.jpg'
2023-10-13	13:00:11	2158	[DEBUG]	Query for Media
2023-10-13	13:00:11	2158	[DEBUG]	Executed store
2023-10-13	13:00:11	2158	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_73474_jpg.jpg',`file_url_thumb`='bcprisme/73_73474_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1090555'
2023-10-13	13:00:11	2158	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:11	2158	[DEBUG]	Executed store
2023-10-13	13:00:11	2158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861650','1090555','1')
2023-10-13	13:00:11	2158	[DEBUG]	Store product image relation
2023-10-13	13:00:11	2158	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:11	2158	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861650 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:11	2158	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:11	2158	[DEBUG]	Executed store
2023-10-13	13:00:11	2158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861650','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:11	2158	[DEBUG]	Checking manufacturer
2023-10-13	13:00:11	2158	[DEBUG]	Load a row
2023-10-13	13:00:11	2158	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:11	2158	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:11	2158	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:11	2158	[DEBUG]	Executed store
2023-10-13	13:00:11	2158	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:11	2158	[DEBUG]	Manufacturer exists
2023-10-13	13:00:11	2158	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:11	2158	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:11	2158	[DEBUG]	Executed store
2023-10-13	13:00:11	2158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861650','26')
2023-10-13	13:00:11	2158	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:11	2158	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:11	2158	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861650 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:11	2158	[DEBUG]	Store custom available field
2023-10-13	13:00:11	2158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861650,3,'',1)
2023-10-13	13:00:11	2158	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:11	2158	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:11	2158	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861650 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:11	2158	[DEBUG]	Store custom available field
2023-10-13	13:00:11	2158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861650,6,'Unitaire',3)
2023-10-13	13:00:11	2158	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:11	2158	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:11	2158	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861649
2023-10-13	13:00:11	2158	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:11	2158	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861649\":[1861649,8,1,\"choisir la taille\"],\"1861650\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861649
2023-10-13	13:00:11	2158	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:11	2158	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861650
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:11	2159	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field taille
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:11	2159	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:11	2159	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:11	2159	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:11	2159	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:11	2159	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:11	2159	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field published
2023-10-13	13:00:11	2159	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:11	2159	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field override
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:11	2159	[DEBUG]	Use field value for field slug
2023-10-13	13:00:11	2159	[DEBUG]	Process line 2159
2023-10-13	13:00:11	2159	[DEBUG]	Load a row
2023-10-13	13:00:11	2159	[DEBUG]	Processing item: A_8828_208
2023-10-13	13:00:11	2159	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:11	2159	[DEBUG]	Processing product tax
2023-10-13	13:00:11	2159	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:11	2159	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:11	2159	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:11	2159	[DEBUG]	Query for Product
2023-10-13	13:00:11	2159	[DEBUG]	Executed store
2023-10-13	13:00:11	2159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8828_208','3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:11	2159	[DEBUG]	Check product language entry
2023-10-13	13:00:11	2159	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861651
2023-10-13	13:00:11	2159	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:11	2159	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8828_208' AND `virtuemart_product_id` != 1861651
2023-10-13	13:00:11	2159	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:11	2159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861651, 'A_8828_208')
2023-10-13	13:00:11	2159	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:11	2159	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-slx-sm-rt66-203-mm-6-trous-aucune' AND `virtuemart_product_id` != 1861651
2023-10-13	13:00:11	2159	[DEBUG]	Query for ProductLang
2023-10-13	13:00:11	2159	[DEBUG]	Executed store
2023-10-13	13:00:11	2159	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.54653',`product_name`='SHIMANO Disque SLX SM-RT66 203 mm 6-trous  / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-slx-sm-rt66-203-mm-6-trous-aucune' WHERE `virtuemart_product_id` = '1861651'
2023-10-13	13:00:11	2159	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_54655_2_jpg.jpg
2023-10-13	13:00:11	2159	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:11	2159	[DEBUG]	Process image file
2023-10-13	13:00:11	2159	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:11	2159	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:11	2159	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_54655_2_jpg.jpg
2023-10-13	13:00:11	2159	[DEBUG]	Full name target: bcprisme/73_54655_2_jpg.jpg
2023-10-13	13:00:12	2159	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:12	2159	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_54655_2_jpg.jpg'
2023-10-13	13:00:12	2159	[DEBUG]	Query for Media
2023-10-13	13:00:12	2159	[DEBUG]	Executed store
2023-10-13	13:00:12	2159	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_54655_2_jpg.jpg',`file_url_thumb`='bcprisme/73_54655_2_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040043'
2023-10-13	13:00:12	2159	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:12	2159	[DEBUG]	Executed store
2023-10-13	13:00:12	2159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861651','1040043','1')
2023-10-13	13:00:12	2159	[DEBUG]	Store product image relation
2023-10-13	13:00:12	2159	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:12	2159	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861651 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:12	2159	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:12	2159	[DEBUG]	Executed store
2023-10-13	13:00:12	2159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861651','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:12	2159	[DEBUG]	Checking manufacturer
2023-10-13	13:00:12	2159	[DEBUG]	Load a row
2023-10-13	13:00:12	2159	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:12	2159	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:12	2159	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:12	2159	[DEBUG]	Executed store
2023-10-13	13:00:12	2159	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:12	2159	[DEBUG]	Manufacturer exists
2023-10-13	13:00:12	2159	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:12	2159	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:12	2159	[DEBUG]	Executed store
2023-10-13	13:00:12	2159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861651','26')
2023-10-13	13:00:12	2159	[DEBUG]	Find the custom field ID
2023-10-13	13:00:12	2159	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:12	2159	[DEBUG]	No custom field ID found
2023-10-13	13:00:12	2159	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:12	2159	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:12	2159	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861651 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:12	2159	[DEBUG]	Store custom available field
2023-10-13	13:00:12	2159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861651,3,'0',1)
2023-10-13	13:00:12	2159	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:12	2159	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:12	2159	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861651 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:12	2159	[DEBUG]	Store custom available field
2023-10-13	13:00:12	2159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861651,6,'choisir la taille',3)
2023-10-13	13:00:12	2159	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:12	2159	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:12	2159	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:12	2159	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:12	2159	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861651 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:12	2159	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:12	2159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861651,8,1)
2023-10-13	13:00:12	2159	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:12	2159	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861651\":[1861651,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861651
2023-10-13	13:00:12	2159	[DEBUG]	Checking category
2023-10-13	13:00:12	2159	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:12	2159	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861651
2023-10-13	13:00:12	2159	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:12	2159	[DEBUG]	Executed store
2023-10-13	13:00:12	2159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861651','7337')
2023-10-13	13:00:12	2159	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:12	2159	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861651 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:12	2159	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:12	2159	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861651
2023-10-13	13:00:12	2160	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:12	2160	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:12	2160	[DEBUG]	Use field value for field taille
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:12	2160	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:12	2160	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:12	2160	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:12	2160	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:12	2160	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:12	2160	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:12	2160	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:12	2160	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:12	2160	[DEBUG]	Use field value for field published
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:12	2160	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field override
2023-10-13	13:00:12	2160	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:12	2160	[DEBUG]	Use field value for field slug
2023-10-13	13:00:12	2160	[DEBUG]	Process line 2160
2023-10-13	13:00:12	2160	[DEBUG]	Load a row
2023-10-13	13:00:12	2160	[DEBUG]	Processing item: 4550170598341
2023-10-13	13:00:12	2160	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:12	2160	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:12	2160	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8828_208'
2023-10-13	13:00:12	2160	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:12	2160	[DEBUG]	Processing product tax
2023-10-13	13:00:12	2160	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:12	2160	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:12	2160	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:12	2160	[DEBUG]	Query for Product
2023-10-13	13:00:12	2160	[DEBUG]	Executed store
2023-10-13	13:00:12	2160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861651','4550170598341','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:12	2160	[DEBUG]	No parent found
2023-10-13	13:00:12	2160	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861651 AND customfield_value = 'stockable'
2023-10-13	13:00:12	2160	[DEBUG]	Check product language entry
2023-10-13	13:00:12	2160	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861652
2023-10-13	13:00:12	2160	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:12	2160	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170598341' AND `virtuemart_product_id` != 1861652
2023-10-13	13:00:12	2160	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:12	2160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861652, '4550170598341')
2023-10-13	13:00:12	2160	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:12	2160	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-slx-sm-rt66-203-mm-6-trous-aucune-unitaire' AND `virtuemart_product_id` != 1861652
2023-10-13	13:00:12	2160	[DEBUG]	Query for ProductLang
2023-10-13	13:00:12	2160	[DEBUG]	Executed store
2023-10-13	13:00:12	2160	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque SLX SM-RT66 203 mm 6-trous  / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-slx-sm-rt66-203-mm-6-trous-aucune-unitaire' WHERE `virtuemart_product_id` = '1861652'
2023-10-13	13:00:12	2160	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_54655_2_jpg.jpg
2023-10-13	13:00:12	2160	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:12	2160	[DEBUG]	Process image file
2023-10-13	13:00:12	2160	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:12	2160	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:12	2160	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_54655_2_jpg.jpg
2023-10-13	13:00:12	2160	[DEBUG]	Full name target: bcprisme/73_54655_2_jpg.jpg
2023-10-13	13:00:13	2160	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:13	2160	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_54655_2_jpg.jpg'
2023-10-13	13:00:13	2160	[DEBUG]	Query for Media
2023-10-13	13:00:13	2160	[DEBUG]	Executed store
2023-10-13	13:00:13	2160	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_54655_2_jpg.jpg',`file_url_thumb`='bcprisme/73_54655_2_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040043'
2023-10-13	13:00:13	2160	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:13	2160	[DEBUG]	Executed store
2023-10-13	13:00:13	2160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861652','1040043','1')
2023-10-13	13:00:13	2160	[DEBUG]	Store product image relation
2023-10-13	13:00:13	2160	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:13	2160	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861652 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:13	2160	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:13	2160	[DEBUG]	Executed store
2023-10-13	13:00:13	2160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861652','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:13	2160	[DEBUG]	Checking manufacturer
2023-10-13	13:00:13	2160	[DEBUG]	Load a row
2023-10-13	13:00:13	2160	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:13	2160	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:13	2160	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:13	2160	[DEBUG]	Executed store
2023-10-13	13:00:13	2160	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:13	2160	[DEBUG]	Manufacturer exists
2023-10-13	13:00:13	2160	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:13	2160	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:13	2160	[DEBUG]	Executed store
2023-10-13	13:00:13	2160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861652','26')
2023-10-13	13:00:13	2160	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:13	2160	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:13	2160	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861652 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:13	2160	[DEBUG]	Store custom available field
2023-10-13	13:00:13	2160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861652,3,'',1)
2023-10-13	13:00:13	2160	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:13	2160	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:13	2160	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861652 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:13	2160	[DEBUG]	Store custom available field
2023-10-13	13:00:13	2160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861652,6,'Unitaire',3)
2023-10-13	13:00:13	2160	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:13	2160	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:13	2160	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861651
2023-10-13	13:00:13	2160	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:13	2160	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861651\":[1861651,8,1,\"choisir la taille\"],\"1861652\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861651
2023-10-13	13:00:13	2160	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:13	2160	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861652
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:13	2161	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field taille
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:13	2161	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:13	2161	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:13	2161	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:13	2161	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:13	2161	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:13	2161	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field published
2023-10-13	13:00:13	2161	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:13	2161	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field override
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:13	2161	[DEBUG]	Use field value for field slug
2023-10-13	13:00:13	2161	[DEBUG]	Process line 2161
2023-10-13	13:00:13	2161	[DEBUG]	Load a row
2023-10-13	13:00:13	2161	[DEBUG]	Processing item: A_8829_208
2023-10-13	13:00:13	2161	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:13	2161	[DEBUG]	Processing product tax
2023-10-13	13:00:13	2161	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:13	2161	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:13	2161	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:13	2161	[DEBUG]	Query for Product
2023-10-13	13:00:13	2161	[DEBUG]	Executed store
2023-10-13	13:00:13	2161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8829_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:13	2161	[DEBUG]	Check product language entry
2023-10-13	13:00:13	2161	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861653
2023-10-13	13:00:13	2161	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:13	2161	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8829_208' AND `virtuemart_product_id` != 1861653
2023-10-13	13:00:13	2161	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:13	2161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861653, 'A_8829_208')
2023-10-13	13:00:13	2161	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:13	2161	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-sm-rt64-203-mm-center-lock-box-aucune' AND `virtuemart_product_id` != 1861653
2023-10-13	13:00:13	2161	[DEBUG]	Query for ProductLang
2023-10-13	13:00:13	2161	[DEBUG]	Executed store
2023-10-13	13:00:13	2161	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.46344',`product_name`='SHIMANO Disque Deore SM-RT64 203 mm Center Lock box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-sm-rt64-203-mm-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861653'
2023-10-13	13:00:13	2161	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_46342_001_jpg.jpg
2023-10-13	13:00:13	2161	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:13	2161	[DEBUG]	Process image file
2023-10-13	13:00:13	2161	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:13	2161	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:13	2161	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_46342_001_jpg.jpg
2023-10-13	13:00:13	2161	[DEBUG]	Full name target: bcprisme/73_46342_001_jpg.jpg
2023-10-13	13:00:14	2161	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:14	2161	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_46342_001_jpg.jpg'
2023-10-13	13:00:14	2161	[DEBUG]	Query for Media
2023-10-13	13:00:14	2161	[DEBUG]	Executed store
2023-10-13	13:00:14	2161	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_46342_001_jpg.jpg',`file_url_thumb`='bcprisme/73_46342_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1101044'
2023-10-13	13:00:14	2161	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:14	2161	[DEBUG]	Executed store
2023-10-13	13:00:14	2161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861653','1101044','1')
2023-10-13	13:00:14	2161	[DEBUG]	Store product image relation
2023-10-13	13:00:14	2161	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:14	2161	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861653 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:14	2161	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:14	2161	[DEBUG]	Executed store
2023-10-13	13:00:14	2161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861653','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:14	2161	[DEBUG]	Checking manufacturer
2023-10-13	13:00:14	2161	[DEBUG]	Load a row
2023-10-13	13:00:14	2161	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:14	2161	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:14	2161	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:14	2161	[DEBUG]	Executed store
2023-10-13	13:00:14	2161	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:14	2161	[DEBUG]	Manufacturer exists
2023-10-13	13:00:14	2161	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:14	2161	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:14	2161	[DEBUG]	Executed store
2023-10-13	13:00:14	2161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861653','26')
2023-10-13	13:00:14	2161	[DEBUG]	Find the custom field ID
2023-10-13	13:00:14	2161	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:14	2161	[DEBUG]	No custom field ID found
2023-10-13	13:00:14	2161	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:14	2161	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:14	2161	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861653 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:14	2161	[DEBUG]	Store custom available field
2023-10-13	13:00:14	2161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861653,3,'0',1)
2023-10-13	13:00:14	2161	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:14	2161	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:14	2161	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861653 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:14	2161	[DEBUG]	Store custom available field
2023-10-13	13:00:14	2161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861653,6,'choisir la taille',3)
2023-10-13	13:00:14	2161	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:14	2161	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:14	2161	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:14	2161	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:14	2161	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861653 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:14	2161	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:14	2161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861653,8,1)
2023-10-13	13:00:14	2161	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:14	2161	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861653\":[1861653,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861653
2023-10-13	13:00:14	2161	[DEBUG]	Checking category
2023-10-13	13:00:14	2161	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:14	2161	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861653
2023-10-13	13:00:14	2161	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:14	2161	[DEBUG]	Executed store
2023-10-13	13:00:14	2161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861653','7337')
2023-10-13	13:00:14	2161	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:14	2161	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861653 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:14	2161	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:14	2161	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861653
2023-10-13	13:00:14	2162	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:14	2162	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:14	2162	[DEBUG]	Use field value for field taille
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:14	2162	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:14	2162	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:14	2162	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:14	2162	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:14	2162	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:14	2162	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:14	2162	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:14	2162	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:14	2162	[DEBUG]	Use field value for field published
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:14	2162	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field override
2023-10-13	13:00:14	2162	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:14	2162	[DEBUG]	Use field value for field slug
2023-10-13	13:00:14	2162	[DEBUG]	Process line 2162
2023-10-13	13:00:14	2162	[DEBUG]	Load a row
2023-10-13	13:00:14	2162	[DEBUG]	Processing item: 4550170451950
2023-10-13	13:00:14	2162	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:14	2162	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:14	2162	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8829_208'
2023-10-13	13:00:14	2162	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:14	2162	[DEBUG]	Processing product tax
2023-10-13	13:00:14	2162	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:14	2162	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:14	2162	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:14	2162	[DEBUG]	Query for Product
2023-10-13	13:00:14	2162	[DEBUG]	Executed store
2023-10-13	13:00:14	2162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861653','4550170451950','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:14	2162	[DEBUG]	No parent found
2023-10-13	13:00:14	2162	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861653 AND customfield_value = 'stockable'
2023-10-13	13:00:14	2162	[DEBUG]	Check product language entry
2023-10-13	13:00:14	2162	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861654
2023-10-13	13:00:14	2162	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:14	2162	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170451950' AND `virtuemart_product_id` != 1861654
2023-10-13	13:00:14	2162	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:14	2162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861654, '4550170451950')
2023-10-13	13:00:14	2162	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:14	2162	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-sm-rt64-203-mm-center-lock-box-aucune-unitaire' AND `virtuemart_product_id` != 1861654
2023-10-13	13:00:14	2162	[DEBUG]	Query for ProductLang
2023-10-13	13:00:14	2162	[DEBUG]	Executed store
2023-10-13	13:00:14	2162	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore SM-RT64 203 mm Center Lock box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-sm-rt64-203-mm-center-lock-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861654'
2023-10-13	13:00:14	2162	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_46342_001_jpg.jpg
2023-10-13	13:00:14	2162	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:14	2162	[DEBUG]	Process image file
2023-10-13	13:00:14	2162	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:14	2162	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:14	2162	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_46342_001_jpg.jpg
2023-10-13	13:00:14	2162	[DEBUG]	Full name target: bcprisme/73_46342_001_jpg.jpg
2023-10-13	13:00:15	2162	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:15	2162	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_46342_001_jpg.jpg'
2023-10-13	13:00:15	2162	[DEBUG]	Query for Media
2023-10-13	13:00:15	2162	[DEBUG]	Executed store
2023-10-13	13:00:15	2162	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_46342_001_jpg.jpg',`file_url_thumb`='bcprisme/73_46342_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1101044'
2023-10-13	13:00:15	2162	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:15	2162	[DEBUG]	Executed store
2023-10-13	13:00:15	2162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861654','1101044','1')
2023-10-13	13:00:15	2162	[DEBUG]	Store product image relation
2023-10-13	13:00:15	2162	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:15	2162	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861654 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:15	2162	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:15	2162	[DEBUG]	Executed store
2023-10-13	13:00:15	2162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861654','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:15	2162	[DEBUG]	Checking manufacturer
2023-10-13	13:00:15	2162	[DEBUG]	Load a row
2023-10-13	13:00:15	2162	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:15	2162	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:15	2162	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:15	2162	[DEBUG]	Executed store
2023-10-13	13:00:15	2162	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:15	2162	[DEBUG]	Manufacturer exists
2023-10-13	13:00:15	2162	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:15	2162	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:15	2162	[DEBUG]	Executed store
2023-10-13	13:00:15	2162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861654','26')
2023-10-13	13:00:15	2162	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:15	2162	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:15	2162	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861654 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:15	2162	[DEBUG]	Store custom available field
2023-10-13	13:00:15	2162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861654,3,'',1)
2023-10-13	13:00:15	2162	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:15	2162	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:15	2162	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861654 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:15	2162	[DEBUG]	Store custom available field
2023-10-13	13:00:15	2162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861654,6,'Unitaire',3)
2023-10-13	13:00:15	2162	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:15	2162	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:15	2162	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861653
2023-10-13	13:00:15	2162	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:15	2162	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861653\":[1861653,8,1,\"choisir la taille\"],\"1861654\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861653
2023-10-13	13:00:15	2162	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:15	2162	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861654
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:15	2163	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field taille
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:15	2163	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:15	2163	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:15	2163	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:15	2163	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:15	2163	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:15	2163	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field published
2023-10-13	13:00:15	2163	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:15	2163	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field override
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:15	2163	[DEBUG]	Use field value for field slug
2023-10-13	13:00:15	2163	[DEBUG]	Process line 2163
2023-10-13	13:00:15	2163	[DEBUG]	Load a row
2023-10-13	13:00:15	2163	[DEBUG]	Processing item: A_8898_208
2023-10-13	13:00:15	2163	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:15	2163	[DEBUG]	Processing product tax
2023-10-13	13:00:15	2163	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:15	2163	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:15	2163	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:15	2163	[DEBUG]	Query for Product
2023-10-13	13:00:15	2163	[DEBUG]	Executed store
2023-10-13	13:00:15	2163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8898_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:15	2163	[DEBUG]	Check product language entry
2023-10-13	13:00:15	2163	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861655
2023-10-13	13:00:15	2163	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:15	2163	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8898_208' AND `virtuemart_product_id` != 1861655
2023-10-13	13:00:15	2163	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:15	2163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861655, 'A_8898_208')
2023-10-13	13:00:15	2163	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:15	2163	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-steps-rt-em810-180mm-crante-a-lexterieur-center-lock-box-aucune' AND `virtuemart_product_id` != 1861655
2023-10-13	13:00:15	2163	[DEBUG]	Query for ProductLang
2023-10-13	13:00:15	2163	[DEBUG]	Executed store
2023-10-13	13:00:15	2163	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75354',`product_name`='SHIMANO Disque STEPS RT-EM810 180mm cranté à lextérieur Center-Lock box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-steps-rt-em810-180mm-crante-a-lexterieur-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861655'
2023-10-13	13:00:15	2163	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75353_005_jpg.jpg
2023-10-13	13:00:15	2163	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:15	2163	[DEBUG]	Process image file
2023-10-13	13:00:15	2163	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:15	2163	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:15	2163	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75353_005_jpg.jpg
2023-10-13	13:00:15	2163	[DEBUG]	Full name target: bcprisme/73_75353_005_jpg.jpg
2023-10-13	13:00:16	2163	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:16	2163	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75353_005_jpg.jpg'
2023-10-13	13:00:16	2163	[DEBUG]	Query for Media
2023-10-13	13:00:16	2163	[DEBUG]	Executed store
2023-10-13	13:00:16	2163	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75353_005_jpg.jpg',`file_url_thumb`='bcprisme/73_75353_005_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1153376'
2023-10-13	13:00:16	2163	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:16	2163	[DEBUG]	Executed store
2023-10-13	13:00:16	2163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861655','1153376','1')
2023-10-13	13:00:16	2163	[DEBUG]	Store product image relation
2023-10-13	13:00:16	2163	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:16	2163	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861655 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:16	2163	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:16	2163	[DEBUG]	Executed store
2023-10-13	13:00:16	2163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861655','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:16	2163	[DEBUG]	Checking manufacturer
2023-10-13	13:00:16	2163	[DEBUG]	Load a row
2023-10-13	13:00:16	2163	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:16	2163	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:16	2163	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:16	2163	[DEBUG]	Executed store
2023-10-13	13:00:16	2163	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:16	2163	[DEBUG]	Manufacturer exists
2023-10-13	13:00:16	2163	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:16	2163	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:16	2163	[DEBUG]	Executed store
2023-10-13	13:00:16	2163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861655','26')
2023-10-13	13:00:16	2163	[DEBUG]	Find the custom field ID
2023-10-13	13:00:16	2163	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:16	2163	[DEBUG]	No custom field ID found
2023-10-13	13:00:16	2163	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:16	2163	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:16	2163	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861655 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:16	2163	[DEBUG]	Store custom available field
2023-10-13	13:00:16	2163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861655,3,'0',1)
2023-10-13	13:00:16	2163	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:16	2163	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:16	2163	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861655 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:16	2163	[DEBUG]	Store custom available field
2023-10-13	13:00:16	2163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861655,6,'choisir la taille',3)
2023-10-13	13:00:16	2163	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:16	2163	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:16	2163	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:16	2163	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:16	2163	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861655 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:16	2163	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:16	2163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861655,8,1)
2023-10-13	13:00:16	2163	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:16	2163	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861655\":[1861655,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861655
2023-10-13	13:00:16	2163	[DEBUG]	Checking category
2023-10-13	13:00:16	2163	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:16	2163	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861655
2023-10-13	13:00:16	2163	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:16	2163	[DEBUG]	Executed store
2023-10-13	13:00:16	2163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861655','7337')
2023-10-13	13:00:16	2163	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:16	2163	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861655 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:16	2163	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:16	2163	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861655
2023-10-13	13:00:16	2164	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:16	2164	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:16	2164	[DEBUG]	Use field value for field taille
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:16	2164	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:16	2164	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:16	2164	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:16	2164	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:16	2164	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:16	2164	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:16	2164	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:16	2164	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:16	2164	[DEBUG]	Use field value for field published
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:16	2164	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field override
2023-10-13	13:00:16	2164	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:16	2164	[DEBUG]	Use field value for field slug
2023-10-13	13:00:16	2164	[DEBUG]	Process line 2164
2023-10-13	13:00:16	2164	[DEBUG]	Load a row
2023-10-13	13:00:16	2164	[DEBUG]	Processing item: 4550170445416
2023-10-13	13:00:16	2164	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:16	2164	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:16	2164	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8898_208'
2023-10-13	13:00:16	2164	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:16	2164	[DEBUG]	Processing product tax
2023-10-13	13:00:16	2164	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:16	2164	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:16	2164	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:16	2164	[DEBUG]	Query for Product
2023-10-13	13:00:16	2164	[DEBUG]	Executed store
2023-10-13	13:00:16	2164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861655','4550170445416','0','KG','M','','12','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:16	2164	[DEBUG]	No parent found
2023-10-13	13:00:16	2164	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861655 AND customfield_value = 'stockable'
2023-10-13	13:00:16	2164	[DEBUG]	Check product language entry
2023-10-13	13:00:16	2164	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861656
2023-10-13	13:00:16	2164	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:16	2164	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170445416' AND `virtuemart_product_id` != 1861656
2023-10-13	13:00:16	2164	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:16	2164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861656, '4550170445416')
2023-10-13	13:00:16	2164	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:16	2164	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-steps-rt-em810-180mm-crante-a-lexterieur-center-lock-box-aucune-unitaire' AND `virtuemart_product_id` != 1861656
2023-10-13	13:00:16	2164	[DEBUG]	Query for ProductLang
2023-10-13	13:00:16	2164	[DEBUG]	Executed store
2023-10-13	13:00:16	2164	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque STEPS RT-EM810 180mm cranté à lextérieur Center-Lock box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-steps-rt-em810-180mm-crante-a-lexterieur-center-lock-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861656'
2023-10-13	13:00:16	2164	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75353_005_jpg.jpg
2023-10-13	13:00:16	2164	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:16	2164	[DEBUG]	Process image file
2023-10-13	13:00:16	2164	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:16	2164	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:16	2164	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75353_005_jpg.jpg
2023-10-13	13:00:16	2164	[DEBUG]	Full name target: bcprisme/73_75353_005_jpg.jpg
2023-10-13	13:00:17	2164	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:17	2164	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75353_005_jpg.jpg'
2023-10-13	13:00:17	2164	[DEBUG]	Query for Media
2023-10-13	13:00:17	2164	[DEBUG]	Executed store
2023-10-13	13:00:17	2164	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75353_005_jpg.jpg',`file_url_thumb`='bcprisme/73_75353_005_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1153376'
2023-10-13	13:00:17	2164	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:17	2164	[DEBUG]	Executed store
2023-10-13	13:00:17	2164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861656','1153376','1')
2023-10-13	13:00:17	2164	[DEBUG]	Store product image relation
2023-10-13	13:00:17	2164	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:17	2164	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861656 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:17	2164	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:17	2164	[DEBUG]	Executed store
2023-10-13	13:00:17	2164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861656','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:17	2164	[DEBUG]	Checking manufacturer
2023-10-13	13:00:17	2164	[DEBUG]	Load a row
2023-10-13	13:00:17	2164	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:17	2164	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:17	2164	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:17	2164	[DEBUG]	Executed store
2023-10-13	13:00:17	2164	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:17	2164	[DEBUG]	Manufacturer exists
2023-10-13	13:00:17	2164	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:17	2164	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:17	2164	[DEBUG]	Executed store
2023-10-13	13:00:17	2164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861656','26')
2023-10-13	13:00:17	2164	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:17	2164	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:17	2164	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861656 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:17	2164	[DEBUG]	Store custom available field
2023-10-13	13:00:17	2164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861656,3,'',1)
2023-10-13	13:00:17	2164	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:17	2164	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:17	2164	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861656 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:17	2164	[DEBUG]	Store custom available field
2023-10-13	13:00:17	2164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861656,6,'Unitaire',3)
2023-10-13	13:00:17	2164	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:17	2164	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:17	2164	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861655
2023-10-13	13:00:17	2164	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:17	2164	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861655\":[1861655,8,1,\"choisir la taille\"],\"1861656\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861655
2023-10-13	13:00:17	2164	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:17	2164	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861656
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:17	2165	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field taille
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:17	2165	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:17	2165	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:17	2165	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:17	2165	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:17	2165	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:17	2165	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field published
2023-10-13	13:00:17	2165	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:17	2165	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field override
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:17	2165	[DEBUG]	Use field value for field slug
2023-10-13	13:00:17	2165	[DEBUG]	Process line 2165
2023-10-13	13:00:17	2165	[DEBUG]	Load a row
2023-10-13	13:00:17	2165	[DEBUG]	Processing item: A_8899_208
2023-10-13	13:00:17	2165	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:17	2165	[DEBUG]	Processing product tax
2023-10-13	13:00:17	2165	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:17	2165	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:17	2165	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:17	2165	[DEBUG]	Query for Product
2023-10-13	13:00:17	2165	[DEBUG]	Executed store
2023-10-13	13:00:17	2165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8899_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:17	2165	[DEBUG]	Check product language entry
2023-10-13	13:00:17	2165	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861657
2023-10-13	13:00:17	2165	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:17	2165	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8899_208' AND `virtuemart_product_id` != 1861657
2023-10-13	13:00:17	2165	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:17	2165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861657, 'A_8899_208')
2023-10-13	13:00:17	2165	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:17	2165	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-xt-rt-mt800-140-mm-center-lock-crante-a-l-interieur-box-aucune' AND `virtuemart_product_id` != 1861657
2023-10-13	13:00:17	2165	[DEBUG]	Query for ProductLang
2023-10-13	13:00:17	2165	[DEBUG]	Executed store
2023-10-13	13:00:17	2165	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75125',`product_name`='SHIMANO Disque XT RT-MT800 140 mm Center-Lock cranté à l\'intérieur box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-xt-rt-mt800-140-mm-center-lock-crante-a-l-interieur-box-aucune' WHERE `virtuemart_product_id` = '1861657'
2023-10-13	13:00:17	2165	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75132_01_jpg.jpg
2023-10-13	13:00:17	2165	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:17	2165	[DEBUG]	Process image file
2023-10-13	13:00:17	2165	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:17	2165	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:17	2165	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75132_01_jpg.jpg
2023-10-13	13:00:17	2165	[DEBUG]	Full name target: bcprisme/73_75132_01_jpg.jpg
2023-10-13	13:00:18	2165	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:18	2165	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75132_01_jpg.jpg'
2023-10-13	13:00:18	2165	[DEBUG]	Query for Media
2023-10-13	13:00:18	2165	[DEBUG]	Executed store
2023-10-13	13:00:18	2165	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75132_01_jpg.jpg',`file_url_thumb`='bcprisme/73_75132_01_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1153378'
2023-10-13	13:00:18	2165	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:18	2165	[DEBUG]	Executed store
2023-10-13	13:00:18	2165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861657','1153378','1')
2023-10-13	13:00:18	2165	[DEBUG]	Store product image relation
2023-10-13	13:00:18	2165	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:18	2165	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861657 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:18	2165	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:18	2165	[DEBUG]	Executed store
2023-10-13	13:00:18	2165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861657','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:18	2165	[DEBUG]	Checking manufacturer
2023-10-13	13:00:18	2165	[DEBUG]	Load a row
2023-10-13	13:00:18	2165	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:18	2165	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:18	2165	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:18	2165	[DEBUG]	Executed store
2023-10-13	13:00:18	2165	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:18	2165	[DEBUG]	Manufacturer exists
2023-10-13	13:00:18	2165	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:18	2165	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:18	2165	[DEBUG]	Executed store
2023-10-13	13:00:18	2165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861657','26')
2023-10-13	13:00:18	2165	[DEBUG]	Find the custom field ID
2023-10-13	13:00:18	2165	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:18	2165	[DEBUG]	No custom field ID found
2023-10-13	13:00:18	2165	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:18	2165	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:18	2165	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861657 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:18	2165	[DEBUG]	Store custom available field
2023-10-13	13:00:18	2165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861657,3,'0',1)
2023-10-13	13:00:18	2165	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:18	2165	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:18	2165	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861657 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:18	2165	[DEBUG]	Store custom available field
2023-10-13	13:00:18	2165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861657,6,'choisir la taille',3)
2023-10-13	13:00:18	2165	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:18	2165	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:18	2165	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:18	2165	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:18	2165	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861657 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:18	2165	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:18	2165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861657,8,1)
2023-10-13	13:00:18	2165	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:18	2165	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861657\":[1861657,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861657
2023-10-13	13:00:18	2165	[DEBUG]	Checking category
2023-10-13	13:00:18	2165	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:18	2165	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861657
2023-10-13	13:00:18	2165	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:18	2165	[DEBUG]	Executed store
2023-10-13	13:00:18	2165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861657','7337')
2023-10-13	13:00:18	2165	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:18	2165	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861657 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:18	2165	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:18	2165	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861657
2023-10-13	13:00:18	2166	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:18	2166	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:18	2166	[DEBUG]	Use field value for field taille
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:18	2166	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:18	2166	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:18	2166	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:18	2166	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:18	2166	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:18	2166	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:18	2166	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:18	2166	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:18	2166	[DEBUG]	Use field value for field published
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:18	2166	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field override
2023-10-13	13:00:18	2166	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:18	2166	[DEBUG]	Use field value for field slug
2023-10-13	13:00:18	2166	[DEBUG]	Process line 2166
2023-10-13	13:00:18	2166	[DEBUG]	Load a row
2023-10-13	13:00:18	2166	[DEBUG]	Processing item: 4550170442255
2023-10-13	13:00:18	2166	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:18	2166	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:18	2166	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8899_208'
2023-10-13	13:00:18	2166	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:18	2166	[DEBUG]	Processing product tax
2023-10-13	13:00:18	2166	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:18	2166	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:18	2166	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:18	2166	[DEBUG]	Query for Product
2023-10-13	13:00:18	2166	[DEBUG]	Executed store
2023-10-13	13:00:18	2166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861657','4550170442255','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:18	2166	[DEBUG]	No parent found
2023-10-13	13:00:18	2166	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861657 AND customfield_value = 'stockable'
2023-10-13	13:00:18	2166	[DEBUG]	Check product language entry
2023-10-13	13:00:18	2166	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861658
2023-10-13	13:00:18	2166	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:18	2166	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170442255' AND `virtuemart_product_id` != 1861658
2023-10-13	13:00:18	2166	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:18	2166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861658, '4550170442255')
2023-10-13	13:00:18	2166	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:18	2166	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-xt-rt-mt800-140-mm-center-lock-crante-a-l-interieur-box-aucune-unitaire' AND `virtuemart_product_id` != 1861658
2023-10-13	13:00:18	2166	[DEBUG]	Query for ProductLang
2023-10-13	13:00:18	2166	[DEBUG]	Executed store
2023-10-13	13:00:18	2166	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque XT RT-MT800 140 mm Center-Lock cranté à l\'intérieur box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-xt-rt-mt800-140-mm-center-lock-crante-a-l-interieur-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861658'
2023-10-13	13:00:18	2166	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75132_01_jpg.jpg
2023-10-13	13:00:18	2166	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:18	2166	[DEBUG]	Process image file
2023-10-13	13:00:18	2166	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:18	2166	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:18	2166	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75132_01_jpg.jpg
2023-10-13	13:00:18	2166	[DEBUG]	Full name target: bcprisme/73_75132_01_jpg.jpg
2023-10-13	13:00:19	2166	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:19	2166	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75132_01_jpg.jpg'
2023-10-13	13:00:19	2166	[DEBUG]	Query for Media
2023-10-13	13:00:19	2166	[DEBUG]	Executed store
2023-10-13	13:00:19	2166	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75132_01_jpg.jpg',`file_url_thumb`='bcprisme/73_75132_01_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1153378'
2023-10-13	13:00:19	2166	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:19	2166	[DEBUG]	Executed store
2023-10-13	13:00:19	2166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861658','1153378','1')
2023-10-13	13:00:19	2166	[DEBUG]	Store product image relation
2023-10-13	13:00:19	2166	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:19	2166	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861658 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:19	2166	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:19	2166	[DEBUG]	Executed store
2023-10-13	13:00:19	2166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861658','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:19	2166	[DEBUG]	Checking manufacturer
2023-10-13	13:00:19	2166	[DEBUG]	Load a row
2023-10-13	13:00:19	2166	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:19	2166	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:19	2166	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:19	2166	[DEBUG]	Executed store
2023-10-13	13:00:19	2166	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:19	2166	[DEBUG]	Manufacturer exists
2023-10-13	13:00:19	2166	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:19	2166	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:19	2166	[DEBUG]	Executed store
2023-10-13	13:00:19	2166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861658','26')
2023-10-13	13:00:19	2166	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:19	2166	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:19	2166	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861658 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:19	2166	[DEBUG]	Store custom available field
2023-10-13	13:00:19	2166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861658,3,'',1)
2023-10-13	13:00:19	2166	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:19	2166	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:19	2166	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861658 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:19	2166	[DEBUG]	Store custom available field
2023-10-13	13:00:19	2166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861658,6,'Unitaire',3)
2023-10-13	13:00:19	2166	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:19	2166	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:19	2166	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861657
2023-10-13	13:00:19	2166	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:19	2166	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861657\":[1861657,8,1,\"choisir la taille\"],\"1861658\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861657
2023-10-13	13:00:19	2166	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:19	2166	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861658
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:19	2167	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field taille
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:19	2167	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:19	2167	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:19	2167	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:19	2167	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:19	2167	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:19	2167	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field published
2023-10-13	13:00:19	2167	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:19	2167	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field override
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:19	2167	[DEBUG]	Use field value for field slug
2023-10-13	13:00:19	2167	[DEBUG]	Process line 2167
2023-10-13	13:00:19	2167	[DEBUG]	Load a row
2023-10-13	13:00:19	2167	[DEBUG]	Processing item: A_8911_1
2023-10-13	13:00:19	2167	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:19	2167	[DEBUG]	Processing product tax
2023-10-13	13:00:19	2167	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:19	2167	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:19	2167	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:19	2167	[DEBUG]	Query for Product
2023-10-13	13:00:19	2167	[DEBUG]	Executed store
2023-10-13	13:00:19	2167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8911_1','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:19	2167	[DEBUG]	Check product language entry
2023-10-13	13:00:19	2167	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861659
2023-10-13	13:00:19	2167	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:19	2167	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8911_1' AND `virtuemart_product_id` != 1861659
2023-10-13	13:00:19	2167	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:19	2167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861659, 'A_8911_1')
2023-10-13	13:00:19	2167	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:19	2167	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disque-de-frein-sram-rotor-hs2-220mm-6-bolt-arrondi-noir' AND `virtuemart_product_id` != 1861659
2023-10-13	13:00:19	2167	[DEBUG]	Query for ProductLang
2023-10-13	13:00:19	2167	[DEBUG]	Executed store
2023-10-13	13:00:19	2167	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn :     D7569Q',`product_name`='SRAM Disque de frein Sram ROTOR HS2 220MM 6-BOLT ARRONDI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disque-de-frein-sram-rotor-hs2-220mm-6-bolt-arrondi-noir' WHERE `virtuemart_product_id` = '1861659'
2023-10-13	13:00:19	2167	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37899_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi.jpg
2023-10-13	13:00:19	2167	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:19	2167	[DEBUG]	Process image file
2023-10-13	13:00:19	2167	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:19	2167	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:19	2167	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37899_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi.jpg
2023-10-13	13:00:19	2167	[DEBUG]	Full name target: bcprisme/37899_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi.jpg
2023-10-13	13:00:20	2167	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:20	2167	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37899_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi.jpg'
2023-10-13	13:00:20	2167	[DEBUG]	Query for Media
2023-10-13	13:00:20	2167	[DEBUG]	Executed store
2023-10-13	13:00:20	2167	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37899_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi.jpg',`file_url_thumb`='bcprisme/37899_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185011'
2023-10-13	13:00:20	2167	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:20	2167	[DEBUG]	Executed store
2023-10-13	13:00:20	2167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861659','1185011','1')
2023-10-13	13:00:20	2167	[DEBUG]	Store product image relation
2023-10-13	13:00:20	2167	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:20	2167	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861659 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:20	2167	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:20	2167	[DEBUG]	Executed store
2023-10-13	13:00:20	2167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861659','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:20	2167	[DEBUG]	Checking manufacturer
2023-10-13	13:00:20	2167	[DEBUG]	Load a row
2023-10-13	13:00:20	2167	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:20	2167	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:20	2167	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:20	2167	[DEBUG]	Executed store
2023-10-13	13:00:20	2167	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:20	2167	[DEBUG]	Manufacturer exists
2023-10-13	13:00:20	2167	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:20	2167	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:20	2167	[DEBUG]	Executed store
2023-10-13	13:00:20	2167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861659','35')
2023-10-13	13:00:20	2167	[DEBUG]	Find the custom field ID
2023-10-13	13:00:20	2167	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:20	2167	[DEBUG]	No custom field ID found
2023-10-13	13:00:20	2167	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:20	2167	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:20	2167	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861659 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:20	2167	[DEBUG]	Store custom available field
2023-10-13	13:00:20	2167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861659,3,'0',1)
2023-10-13	13:00:20	2167	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:20	2167	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:20	2167	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861659 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:20	2167	[DEBUG]	Store custom available field
2023-10-13	13:00:20	2167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861659,6,'choisir la taille',3)
2023-10-13	13:00:20	2167	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:20	2167	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:20	2167	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:20	2167	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:20	2167	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861659 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:20	2167	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:20	2167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861659,8,1)
2023-10-13	13:00:20	2167	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:20	2167	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861659\":[1861659,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861659
2023-10-13	13:00:20	2167	[DEBUG]	Checking category
2023-10-13	13:00:20	2167	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:20	2167	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861659
2023-10-13	13:00:20	2167	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:20	2167	[DEBUG]	Executed store
2023-10-13	13:00:20	2167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861659','7337')
2023-10-13	13:00:20	2167	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:20	2167	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861659 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:20	2167	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:20	2167	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861659
2023-10-13	13:00:20	2168	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:20	2168	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:20	2168	[DEBUG]	Use field value for field taille
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:20	2168	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:20	2168	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:20	2168	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:20	2168	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:20	2168	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:20	2168	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:20	2168	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:20	2168	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:20	2168	[DEBUG]	Use field value for field published
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:20	2168	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field override
2023-10-13	13:00:20	2168	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:20	2168	[DEBUG]	Use field value for field slug
2023-10-13	13:00:20	2168	[DEBUG]	Process line 2168
2023-10-13	13:00:20	2168	[DEBUG]	Load a row
2023-10-13	13:00:20	2168	[DEBUG]	Processing item: 710845862359
2023-10-13	13:00:20	2168	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:20	2168	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:20	2168	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8911_1'
2023-10-13	13:00:20	2168	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:20	2168	[DEBUG]	Processing product tax
2023-10-13	13:00:20	2168	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:20	2168	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:20	2168	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:20	2168	[DEBUG]	Query for Product
2023-10-13	13:00:20	2168	[DEBUG]	Executed store
2023-10-13	13:00:20	2168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861659','710845862359','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:20	2168	[DEBUG]	No parent found
2023-10-13	13:00:20	2168	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861659 AND customfield_value = 'stockable'
2023-10-13	13:00:20	2168	[DEBUG]	Check product language entry
2023-10-13	13:00:20	2168	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861660
2023-10-13	13:00:20	2168	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:20	2168	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845862359' AND `virtuemart_product_id` != 1861660
2023-10-13	13:00:20	2168	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:20	2168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861660, '710845862359')
2023-10-13	13:00:20	2168	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:20	2168	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disque-de-frein-sram-rotor-hs2-220mm-6-bolt-arrondi-noir-unitaire' AND `virtuemart_product_id` != 1861660
2023-10-13	13:00:20	2168	[DEBUG]	Query for ProductLang
2023-10-13	13:00:20	2168	[DEBUG]	Executed store
2023-10-13	13:00:20	2168	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Disque de frein Sram ROTOR HS2 220MM 6-BOLT ARRONDI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disque-de-frein-sram-rotor-hs2-220mm-6-bolt-arrondi-noir-unitaire' WHERE `virtuemart_product_id` = '1861660'
2023-10-13	13:00:20	2168	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37899_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi.jpg
2023-10-13	13:00:20	2168	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:20	2168	[DEBUG]	Process image file
2023-10-13	13:00:20	2168	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:20	2168	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:20	2168	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37899_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi.jpg
2023-10-13	13:00:20	2168	[DEBUG]	Full name target: bcprisme/37899_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi.jpg
2023-10-13	13:00:21	2168	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:21	2168	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37899_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi.jpg'
2023-10-13	13:00:21	2168	[DEBUG]	Query for Media
2023-10-13	13:00:21	2168	[DEBUG]	Executed store
2023-10-13	13:00:21	2168	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37899_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi.jpg',`file_url_thumb`='bcprisme/37899_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185011'
2023-10-13	13:00:21	2168	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:21	2168	[DEBUG]	Executed store
2023-10-13	13:00:21	2168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861660','1185011','1')
2023-10-13	13:00:21	2168	[DEBUG]	Store product image relation
2023-10-13	13:00:21	2168	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:21	2168	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861660 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:21	2168	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:21	2168	[DEBUG]	Executed store
2023-10-13	13:00:21	2168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861660','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:21	2168	[DEBUG]	Checking manufacturer
2023-10-13	13:00:21	2168	[DEBUG]	Load a row
2023-10-13	13:00:21	2168	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:21	2168	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:21	2168	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:21	2168	[DEBUG]	Executed store
2023-10-13	13:00:21	2168	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:21	2168	[DEBUG]	Manufacturer exists
2023-10-13	13:00:21	2168	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:21	2168	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:21	2168	[DEBUG]	Executed store
2023-10-13	13:00:21	2168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861660','35')
2023-10-13	13:00:21	2168	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:21	2168	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:21	2168	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861660 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:21	2168	[DEBUG]	Store custom available field
2023-10-13	13:00:21	2168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861660,3,'',1)
2023-10-13	13:00:21	2168	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:21	2168	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:21	2168	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861660 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:21	2168	[DEBUG]	Store custom available field
2023-10-13	13:00:21	2168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861660,6,'Unitaire',3)
2023-10-13	13:00:21	2168	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:21	2168	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:21	2168	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861659
2023-10-13	13:00:21	2168	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:21	2168	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861659\":[1861659,8,1,\"choisir la taille\"],\"1861660\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861659
2023-10-13	13:00:21	2168	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:21	2168	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861660
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:21	2169	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field taille
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:21	2169	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:21	2169	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:21	2169	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:21	2169	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:21	2169	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:21	2169	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field published
2023-10-13	13:00:21	2169	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:21	2169	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field override
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:21	2169	[DEBUG]	Use field value for field slug
2023-10-13	13:00:21	2169	[DEBUG]	Process line 2169
2023-10-13	13:00:21	2169	[DEBUG]	Load a row
2023-10-13	13:00:21	2169	[DEBUG]	Processing item: A_8912_1
2023-10-13	13:00:21	2169	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:21	2169	[DEBUG]	Processing product tax
2023-10-13	13:00:21	2169	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:21	2169	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:21	2169	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:21	2169	[DEBUG]	Query for Product
2023-10-13	13:00:21	2169	[DEBUG]	Executed store
2023-10-13	13:00:21	2169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8912_1','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:21	2169	[DEBUG]	Check product language entry
2023-10-13	13:00:21	2169	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861661
2023-10-13	13:00:21	2169	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:21	2169	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8912_1' AND `virtuemart_product_id` != 1861661
2023-10-13	13:00:21	2169	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:21	2169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861661, 'A_8912_1')
2023-10-13	13:00:21	2169	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:21	2169	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disque-de-frein-sram-rotor-hs2-220mm-center-lock-arrondi-noir' AND `virtuemart_product_id` != 1861661
2023-10-13	13:00:21	2169	[DEBUG]	Query for ProductLang
2023-10-13	13:00:21	2169	[DEBUG]	Executed store
2023-10-13	13:00:21	2169	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7569U',`product_name`='SRAM Disque de frein Sram ROTOR HS2 220MM CENTER LOCK, ARRONDI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disque-de-frein-sram-rotor-hs2-220mm-center-lock-arrondi-noir' WHERE `virtuemart_product_id` = '1861661'
2023-10-13	13:00:21	2169	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37900_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi_(copie).jpg
2023-10-13	13:00:21	2169	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:21	2169	[DEBUG]	Process image file
2023-10-13	13:00:21	2169	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:21	2169	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:21	2169	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37900_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi_(copie).jpg
2023-10-13	13:00:21	2169	[DEBUG]	Full name target: bcprisme/37900_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi_(copie).jpg
2023-10-13	13:00:22	2169	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:22	2169	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37900_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi_(copie).jpg'
2023-10-13	13:00:22	2169	[DEBUG]	Query for Media
2023-10-13	13:00:22	2169	[DEBUG]	Executed store
2023-10-13	13:00:22	2169	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37900_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi_(copie).jpg',`file_url_thumb`='bcprisme/37900_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185013'
2023-10-13	13:00:22	2169	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:22	2169	[DEBUG]	Executed store
2023-10-13	13:00:22	2169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861661','1185013','1')
2023-10-13	13:00:22	2169	[DEBUG]	Store product image relation
2023-10-13	13:00:22	2169	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:22	2169	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861661 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:22	2169	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:22	2169	[DEBUG]	Executed store
2023-10-13	13:00:22	2169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861661','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:22	2169	[DEBUG]	Checking manufacturer
2023-10-13	13:00:22	2169	[DEBUG]	Load a row
2023-10-13	13:00:22	2169	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:22	2169	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:22	2169	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:22	2169	[DEBUG]	Executed store
2023-10-13	13:00:22	2169	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:22	2169	[DEBUG]	Manufacturer exists
2023-10-13	13:00:22	2169	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:22	2169	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:22	2169	[DEBUG]	Executed store
2023-10-13	13:00:22	2169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861661','35')
2023-10-13	13:00:22	2169	[DEBUG]	Find the custom field ID
2023-10-13	13:00:22	2169	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:22	2169	[DEBUG]	No custom field ID found
2023-10-13	13:00:22	2169	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:22	2169	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:22	2169	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861661 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:22	2169	[DEBUG]	Store custom available field
2023-10-13	13:00:22	2169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861661,3,'0',1)
2023-10-13	13:00:22	2169	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:22	2169	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:22	2169	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861661 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:22	2169	[DEBUG]	Store custom available field
2023-10-13	13:00:22	2169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861661,6,'choisir la taille',3)
2023-10-13	13:00:22	2169	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:22	2169	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:22	2169	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:22	2169	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:22	2169	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861661 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:22	2169	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:22	2169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861661,8,1)
2023-10-13	13:00:22	2169	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:22	2169	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861661\":[1861661,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861661
2023-10-13	13:00:22	2169	[DEBUG]	Checking category
2023-10-13	13:00:22	2169	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:22	2169	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861661
2023-10-13	13:00:22	2169	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:22	2169	[DEBUG]	Executed store
2023-10-13	13:00:22	2169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861661','7337')
2023-10-13	13:00:22	2169	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:22	2169	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861661 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:22	2169	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:22	2169	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861661
2023-10-13	13:00:22	2170	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:22	2170	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:22	2170	[DEBUG]	Use field value for field taille
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:22	2170	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:22	2170	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:22	2170	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:22	2170	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:22	2170	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:22	2170	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:22	2170	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:22	2170	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:22	2170	[DEBUG]	Use field value for field published
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:22	2170	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field override
2023-10-13	13:00:22	2170	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:22	2170	[DEBUG]	Use field value for field slug
2023-10-13	13:00:22	2170	[DEBUG]	Process line 2170
2023-10-13	13:00:22	2170	[DEBUG]	Load a row
2023-10-13	13:00:22	2170	[DEBUG]	Processing item: 1000000171839
2023-10-13	13:00:22	2170	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:22	2170	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:22	2170	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8912_1'
2023-10-13	13:00:22	2170	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:22	2170	[DEBUG]	Processing product tax
2023-10-13	13:00:22	2170	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:22	2170	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:22	2170	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:22	2170	[DEBUG]	Query for Product
2023-10-13	13:00:22	2170	[DEBUG]	Executed store
2023-10-13	13:00:22	2170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861661','1000000171839','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:22	2170	[DEBUG]	No parent found
2023-10-13	13:00:22	2170	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861661 AND customfield_value = 'stockable'
2023-10-13	13:00:22	2170	[DEBUG]	Check product language entry
2023-10-13	13:00:22	2170	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861662
2023-10-13	13:00:22	2170	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:22	2170	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000171839' AND `virtuemart_product_id` != 1861662
2023-10-13	13:00:22	2170	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:22	2170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861662, '1000000171839')
2023-10-13	13:00:22	2170	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:22	2170	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disque-de-frein-sram-rotor-hs2-220mm-center-lock-arrondi-noir-unitaire' AND `virtuemart_product_id` != 1861662
2023-10-13	13:00:22	2170	[DEBUG]	Query for ProductLang
2023-10-13	13:00:22	2170	[DEBUG]	Executed store
2023-10-13	13:00:22	2170	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Disque de frein Sram ROTOR HS2 220MM CENTER LOCK, ARRONDI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disque-de-frein-sram-rotor-hs2-220mm-center-lock-arrondi-noir-unitaire' WHERE `virtuemart_product_id` = '1861662'
2023-10-13	13:00:22	2170	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37900_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi_(copie).jpg
2023-10-13	13:00:22	2170	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:22	2170	[DEBUG]	Process image file
2023-10-13	13:00:22	2170	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:22	2170	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:22	2170	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37900_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi_(copie).jpg
2023-10-13	13:00:22	2170	[DEBUG]	Full name target: bcprisme/37900_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi_(copie).jpg
2023-10-13	13:00:23	2170	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:23	2170	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37900_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi_(copie).jpg'
2023-10-13	13:00:23	2170	[DEBUG]	Query for Media
2023-10-13	13:00:23	2170	[DEBUG]	Executed store
2023-10-13	13:00:23	2170	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37900_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi_(copie).jpg',`file_url_thumb`='bcprisme/37900_disque_de_frein_sram_rotor_hs2_220mm_6-bolt_arrondi_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185013'
2023-10-13	13:00:23	2170	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:23	2170	[DEBUG]	Executed store
2023-10-13	13:00:23	2170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861662','1185013','1')
2023-10-13	13:00:23	2170	[DEBUG]	Store product image relation
2023-10-13	13:00:23	2170	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:23	2170	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861662 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:23	2170	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:23	2170	[DEBUG]	Executed store
2023-10-13	13:00:23	2170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861662','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:23	2170	[DEBUG]	Checking manufacturer
2023-10-13	13:00:23	2170	[DEBUG]	Load a row
2023-10-13	13:00:23	2170	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:23	2170	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:23	2170	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:23	2170	[DEBUG]	Executed store
2023-10-13	13:00:23	2170	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:23	2170	[DEBUG]	Manufacturer exists
2023-10-13	13:00:23	2170	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:23	2170	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:23	2170	[DEBUG]	Executed store
2023-10-13	13:00:23	2170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861662','35')
2023-10-13	13:00:23	2170	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:23	2170	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:23	2170	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861662 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:23	2170	[DEBUG]	Store custom available field
2023-10-13	13:00:23	2170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861662,3,'',1)
2023-10-13	13:00:23	2170	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:23	2170	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:23	2170	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861662 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:23	2170	[DEBUG]	Store custom available field
2023-10-13	13:00:23	2170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861662,6,'Unitaire',3)
2023-10-13	13:00:23	2170	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:23	2170	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:23	2170	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861661
2023-10-13	13:00:23	2170	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:23	2170	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861661\":[1861661,8,1,\"choisir la taille\"],\"1861662\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861661
2023-10-13	13:00:23	2170	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:23	2170	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861662
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:23	2171	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field taille
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:23	2171	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:23	2171	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:23	2171	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:23	2171	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:23	2171	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:23	2171	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field published
2023-10-13	13:00:23	2171	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:23	2171	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field override
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:23	2171	[DEBUG]	Use field value for field slug
2023-10-13	13:00:23	2171	[DEBUG]	Process line 2171
2023-10-13	13:00:23	2171	[DEBUG]	Load a row
2023-10-13	13:00:23	2171	[DEBUG]	Processing item: A_8919_208
2023-10-13	13:00:23	2171	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:23	2171	[DEBUG]	Processing product tax
2023-10-13	13:00:23	2171	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:23	2171	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:23	2171	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:23	2171	[DEBUG]	Query for Product
2023-10-13	13:00:23	2171	[DEBUG]	Executed store
2023-10-13	13:00:23	2171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8919_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:23	2171	[DEBUG]	Check product language entry
2023-10-13	13:00:23	2171	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861663
2023-10-13	13:00:23	2171	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:23	2171	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8919_208' AND `virtuemart_product_id` != 1861663
2023-10-13	13:00:23	2171	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:23	2171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861663, 'A_8919_208')
2023-10-13	13:00:23	2171	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:23	2171	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-steps-rt-em810-203mm-crante-a-lexterieur-center-lock-box-aucune' AND `virtuemart_product_id` != 1861663
2023-10-13	13:00:23	2171	[DEBUG]	Query for ProductLang
2023-10-13	13:00:23	2171	[DEBUG]	Executed store
2023-10-13	13:00:23	2171	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75355',`product_name`='SHIMANO Disque STEPS RT-EM810 203mm cranté à lextérieur Center-Lock box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-steps-rt-em810-203mm-crante-a-lexterieur-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861663'
2023-10-13	13:00:23	2171	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75353_005_jpg.jpg
2023-10-13	13:00:23	2171	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:23	2171	[DEBUG]	Process image file
2023-10-13	13:00:23	2171	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:23	2171	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:23	2171	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75353_005_jpg.jpg
2023-10-13	13:00:23	2171	[DEBUG]	Full name target: bcprisme/73_75353_005_jpg.jpg
2023-10-13	13:00:24	2171	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:24	2171	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75353_005_jpg.jpg'
2023-10-13	13:00:24	2171	[DEBUG]	Query for Media
2023-10-13	13:00:24	2171	[DEBUG]	Executed store
2023-10-13	13:00:24	2171	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75353_005_jpg.jpg',`file_url_thumb`='bcprisme/73_75353_005_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1153376'
2023-10-13	13:00:24	2171	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:24	2171	[DEBUG]	Executed store
2023-10-13	13:00:24	2171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861663','1153376','1')
2023-10-13	13:00:24	2171	[DEBUG]	Store product image relation
2023-10-13	13:00:24	2171	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:24	2171	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861663 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:24	2171	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:24	2171	[DEBUG]	Executed store
2023-10-13	13:00:24	2171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861663','0','80.6870937790158','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:24	2171	[DEBUG]	Checking manufacturer
2023-10-13	13:00:24	2171	[DEBUG]	Load a row
2023-10-13	13:00:24	2171	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:24	2171	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:24	2171	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:24	2171	[DEBUG]	Executed store
2023-10-13	13:00:24	2171	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:24	2171	[DEBUG]	Manufacturer exists
2023-10-13	13:00:24	2171	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:24	2171	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:24	2171	[DEBUG]	Executed store
2023-10-13	13:00:24	2171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861663','26')
2023-10-13	13:00:24	2171	[DEBUG]	Find the custom field ID
2023-10-13	13:00:24	2171	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:24	2171	[DEBUG]	No custom field ID found
2023-10-13	13:00:24	2171	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:24	2171	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:24	2171	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861663 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:24	2171	[DEBUG]	Store custom available field
2023-10-13	13:00:24	2171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861663,3,'0',1)
2023-10-13	13:00:24	2171	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:24	2171	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:24	2171	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861663 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:24	2171	[DEBUG]	Store custom available field
2023-10-13	13:00:24	2171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861663,6,'choisir la taille',3)
2023-10-13	13:00:24	2171	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:24	2171	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:24	2171	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:24	2171	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:24	2171	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861663 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:24	2171	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:24	2171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861663,8,1)
2023-10-13	13:00:24	2171	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:24	2171	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861663\":[1861663,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861663
2023-10-13	13:00:24	2171	[DEBUG]	Checking category
2023-10-13	13:00:24	2171	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:24	2171	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861663
2023-10-13	13:00:24	2171	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:24	2171	[DEBUG]	Executed store
2023-10-13	13:00:24	2171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861663','7337')
2023-10-13	13:00:24	2171	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:24	2171	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861663 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:24	2171	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:24	2171	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861663
2023-10-13	13:00:24	2172	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:24	2172	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:24	2172	[DEBUG]	Use field value for field taille
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:24	2172	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:24	2172	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:24	2172	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:24	2172	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:24	2172	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:24	2172	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:24	2172	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:24	2172	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:24	2172	[DEBUG]	Use field value for field published
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:24	2172	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field override
2023-10-13	13:00:24	2172	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:24	2172	[DEBUG]	Use field value for field slug
2023-10-13	13:00:24	2172	[DEBUG]	Process line 2172
2023-10-13	13:00:24	2172	[DEBUG]	Load a row
2023-10-13	13:00:24	2172	[DEBUG]	Processing item: 4550170445423
2023-10-13	13:00:24	2172	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:24	2172	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:24	2172	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8919_208'
2023-10-13	13:00:24	2172	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:24	2172	[DEBUG]	Processing product tax
2023-10-13	13:00:24	2172	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:24	2172	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:24	2172	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:24	2172	[DEBUG]	Query for Product
2023-10-13	13:00:24	2172	[DEBUG]	Executed store
2023-10-13	13:00:24	2172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861663','4550170445423','0','KG','M','','12','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:24	2172	[DEBUG]	No parent found
2023-10-13	13:00:24	2172	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861663 AND customfield_value = 'stockable'
2023-10-13	13:00:24	2172	[DEBUG]	Check product language entry
2023-10-13	13:00:24	2172	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861664
2023-10-13	13:00:24	2172	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:24	2172	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170445423' AND `virtuemart_product_id` != 1861664
2023-10-13	13:00:24	2172	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:24	2172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861664, '4550170445423')
2023-10-13	13:00:24	2172	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:24	2172	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-steps-rt-em810-203mm-crante-a-lexterieur-center-lock-box-aucune-unitaire' AND `virtuemart_product_id` != 1861664
2023-10-13	13:00:24	2172	[DEBUG]	Query for ProductLang
2023-10-13	13:00:24	2172	[DEBUG]	Executed store
2023-10-13	13:00:24	2172	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque STEPS RT-EM810 203mm cranté à lextérieur Center-Lock box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-steps-rt-em810-203mm-crante-a-lexterieur-center-lock-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861664'
2023-10-13	13:00:24	2172	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75353_005_jpg.jpg
2023-10-13	13:00:24	2172	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:24	2172	[DEBUG]	Process image file
2023-10-13	13:00:24	2172	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:24	2172	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:24	2172	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75353_005_jpg.jpg
2023-10-13	13:00:24	2172	[DEBUG]	Full name target: bcprisme/73_75353_005_jpg.jpg
2023-10-13	13:00:25	2172	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:25	2172	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75353_005_jpg.jpg'
2023-10-13	13:00:25	2172	[DEBUG]	Query for Media
2023-10-13	13:00:25	2172	[DEBUG]	Executed store
2023-10-13	13:00:25	2172	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75353_005_jpg.jpg',`file_url_thumb`='bcprisme/73_75353_005_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1153376'
2023-10-13	13:00:25	2172	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:25	2172	[DEBUG]	Executed store
2023-10-13	13:00:25	2172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861664','1153376','1')
2023-10-13	13:00:25	2172	[DEBUG]	Store product image relation
2023-10-13	13:00:25	2172	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:25	2172	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861664 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:25	2172	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:25	2172	[DEBUG]	Executed store
2023-10-13	13:00:25	2172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861664','0','80.6870937790158','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:25	2172	[DEBUG]	Checking manufacturer
2023-10-13	13:00:25	2172	[DEBUG]	Load a row
2023-10-13	13:00:25	2172	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:25	2172	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:25	2172	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:25	2172	[DEBUG]	Executed store
2023-10-13	13:00:25	2172	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:25	2172	[DEBUG]	Manufacturer exists
2023-10-13	13:00:25	2172	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:25	2172	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:25	2172	[DEBUG]	Executed store
2023-10-13	13:00:25	2172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861664','26')
2023-10-13	13:00:25	2172	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:25	2172	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:25	2172	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861664 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:25	2172	[DEBUG]	Store custom available field
2023-10-13	13:00:25	2172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861664,3,'',1)
2023-10-13	13:00:25	2172	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:25	2172	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:25	2172	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861664 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:25	2172	[DEBUG]	Store custom available field
2023-10-13	13:00:25	2172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861664,6,'Unitaire',3)
2023-10-13	13:00:25	2172	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:25	2172	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:25	2172	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861663
2023-10-13	13:00:25	2172	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:25	2172	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861663\":[1861663,8,1,\"choisir la taille\"],\"1861664\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861663
2023-10-13	13:00:25	2172	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:25	2172	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861664
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:25	2173	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field taille
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:25	2173	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:25	2173	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:25	2173	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:25	2173	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:25	2173	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:25	2173	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field published
2023-10-13	13:00:25	2173	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:25	2173	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field override
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:25	2173	[DEBUG]	Use field value for field slug
2023-10-13	13:00:25	2173	[DEBUG]	Process line 2173
2023-10-13	13:00:25	2173	[DEBUG]	Load a row
2023-10-13	13:00:25	2173	[DEBUG]	Processing item: A_8939_13
2023-10-13	13:00:25	2173	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:25	2173	[DEBUG]	Processing product tax
2023-10-13	13:00:25	2173	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:25	2173	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:25	2173	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:25	2173	[DEBUG]	Query for Product
2023-10-13	13:00:25	2173	[DEBUG]	Executed store
2023-10-13	13:00:25	2173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8939_13','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:25	2173	[DEBUG]	Check product language entry
2023-10-13	13:00:25	2173	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861665
2023-10-13	13:00:25	2173	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:25	2173	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8939_13' AND `virtuemart_product_id` != 1861665
2023-10-13	13:00:25	2173	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:25	2173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861665, 'A_8939_13')
2023-10-13	13:00:25	2173	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:25	2173	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disque-de-frein-sram-centerline-220-argent' AND `virtuemart_product_id` != 1861665
2023-10-13	13:00:25	2173	[DEBUG]	Query for ProductLang
2023-10-13	13:00:25	2173	[DEBUG]	Executed store
2023-10-13	13:00:25	2173	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7556G',`product_name`='SRAM Disque de frein Sram Centerline 220 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disque-de-frein-sram-centerline-220-argent' WHERE `virtuemart_product_id` = '1861665'
2023-10-13	13:00:25	2173	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37927_disque_de_frein_sram_centerline_220.jpg
2023-10-13	13:00:25	2173	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:25	2173	[DEBUG]	Process image file
2023-10-13	13:00:25	2173	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:25	2173	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:25	2173	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37927_disque_de_frein_sram_centerline_220.jpg
2023-10-13	13:00:25	2173	[DEBUG]	Full name target: bcprisme/37927_disque_de_frein_sram_centerline_220.jpg
2023-10-13	13:00:26	2173	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:26	2173	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37927_disque_de_frein_sram_centerline_220.jpg'
2023-10-13	13:00:26	2173	[DEBUG]	Query for Media
2023-10-13	13:00:26	2173	[DEBUG]	Executed store
2023-10-13	13:00:26	2173	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37927_disque_de_frein_sram_centerline_220.jpg',`file_url_thumb`='bcprisme/37927_disque_de_frein_sram_centerline_220.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185017'
2023-10-13	13:00:26	2173	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:26	2173	[DEBUG]	Executed store
2023-10-13	13:00:26	2173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861665','1185017','1')
2023-10-13	13:00:26	2173	[DEBUG]	Store product image relation
2023-10-13	13:00:26	2173	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:26	2173	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861665 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:26	2173	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:26	2173	[DEBUG]	Executed store
2023-10-13	13:00:26	2173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861665','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:26	2173	[DEBUG]	Checking manufacturer
2023-10-13	13:00:26	2173	[DEBUG]	Load a row
2023-10-13	13:00:26	2173	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:26	2173	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:26	2173	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:26	2173	[DEBUG]	Executed store
2023-10-13	13:00:26	2173	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:26	2173	[DEBUG]	Manufacturer exists
2023-10-13	13:00:26	2173	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:26	2173	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:26	2173	[DEBUG]	Executed store
2023-10-13	13:00:26	2173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861665','35')
2023-10-13	13:00:26	2173	[DEBUG]	Find the custom field ID
2023-10-13	13:00:26	2173	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:26	2173	[DEBUG]	No custom field ID found
2023-10-13	13:00:26	2173	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:26	2173	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:26	2173	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861665 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:26	2173	[DEBUG]	Store custom available field
2023-10-13	13:00:26	2173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861665,3,'0',1)
2023-10-13	13:00:26	2173	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:26	2173	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:26	2173	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861665 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:26	2173	[DEBUG]	Store custom available field
2023-10-13	13:00:26	2173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861665,6,'choisir la taille',3)
2023-10-13	13:00:26	2173	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:26	2173	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:26	2173	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:26	2173	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:26	2173	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861665 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:26	2173	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:26	2173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861665,8,1)
2023-10-13	13:00:26	2173	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:26	2173	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861665\":[1861665,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861665
2023-10-13	13:00:26	2173	[DEBUG]	Checking category
2023-10-13	13:00:26	2173	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:26	2173	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861665
2023-10-13	13:00:26	2173	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:26	2173	[DEBUG]	Executed store
2023-10-13	13:00:26	2173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861665','7337')
2023-10-13	13:00:26	2173	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:26	2173	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861665 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:26	2173	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:26	2173	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861665
2023-10-13	13:00:26	2174	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:26	2174	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:26	2174	[DEBUG]	Use field value for field taille
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:26	2174	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:26	2174	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:26	2174	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:26	2174	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:26	2174	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:26	2174	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:26	2174	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:26	2174	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:26	2174	[DEBUG]	Use field value for field published
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:26	2174	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field override
2023-10-13	13:00:26	2174	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:26	2174	[DEBUG]	Use field value for field slug
2023-10-13	13:00:26	2174	[DEBUG]	Process line 2174
2023-10-13	13:00:26	2174	[DEBUG]	Load a row
2023-10-13	13:00:26	2174	[DEBUG]	Processing item: 1000000173604
2023-10-13	13:00:26	2174	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:26	2174	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:26	2174	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8939_13'
2023-10-13	13:00:26	2174	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:26	2174	[DEBUG]	Processing product tax
2023-10-13	13:00:26	2174	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:26	2174	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:26	2174	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:26	2174	[DEBUG]	Query for Product
2023-10-13	13:00:26	2174	[DEBUG]	Executed store
2023-10-13	13:00:26	2174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861665','1000000173604','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:26	2174	[DEBUG]	No parent found
2023-10-13	13:00:26	2174	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861665 AND customfield_value = 'stockable'
2023-10-13	13:00:26	2174	[DEBUG]	Check product language entry
2023-10-13	13:00:26	2174	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861666
2023-10-13	13:00:26	2174	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:26	2174	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000173604' AND `virtuemart_product_id` != 1861666
2023-10-13	13:00:26	2174	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:26	2174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861666, '1000000173604')
2023-10-13	13:00:26	2174	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:26	2174	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disque-de-frein-sram-centerline-220-argent-unitaire' AND `virtuemart_product_id` != 1861666
2023-10-13	13:00:26	2174	[DEBUG]	Query for ProductLang
2023-10-13	13:00:26	2174	[DEBUG]	Executed store
2023-10-13	13:00:26	2174	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Disque de frein Sram Centerline 220 / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disque-de-frein-sram-centerline-220-argent-unitaire' WHERE `virtuemart_product_id` = '1861666'
2023-10-13	13:00:26	2174	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37927_disque_de_frein_sram_centerline_220.jpg
2023-10-13	13:00:26	2174	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:26	2174	[DEBUG]	Process image file
2023-10-13	13:00:26	2174	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:26	2174	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:26	2174	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37927_disque_de_frein_sram_centerline_220.jpg
2023-10-13	13:00:26	2174	[DEBUG]	Full name target: bcprisme/37927_disque_de_frein_sram_centerline_220.jpg
2023-10-13	13:00:27	2174	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:27	2174	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37927_disque_de_frein_sram_centerline_220.jpg'
2023-10-13	13:00:27	2174	[DEBUG]	Query for Media
2023-10-13	13:00:27	2174	[DEBUG]	Executed store
2023-10-13	13:00:27	2174	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37927_disque_de_frein_sram_centerline_220.jpg',`file_url_thumb`='bcprisme/37927_disque_de_frein_sram_centerline_220.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185017'
2023-10-13	13:00:27	2174	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:27	2174	[DEBUG]	Executed store
2023-10-13	13:00:27	2174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861666','1185017','1')
2023-10-13	13:00:27	2174	[DEBUG]	Store product image relation
2023-10-13	13:00:27	2174	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:27	2174	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861666 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:27	2174	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:27	2174	[DEBUG]	Executed store
2023-10-13	13:00:27	2174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861666','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:27	2174	[DEBUG]	Checking manufacturer
2023-10-13	13:00:27	2174	[DEBUG]	Load a row
2023-10-13	13:00:27	2174	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:27	2174	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:27	2174	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:27	2174	[DEBUG]	Executed store
2023-10-13	13:00:27	2174	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:27	2174	[DEBUG]	Manufacturer exists
2023-10-13	13:00:27	2174	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:27	2174	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:27	2174	[DEBUG]	Executed store
2023-10-13	13:00:27	2174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861666','35')
2023-10-13	13:00:27	2174	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:27	2174	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:27	2174	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861666 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:27	2174	[DEBUG]	Store custom available field
2023-10-13	13:00:27	2174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861666,3,'',1)
2023-10-13	13:00:27	2174	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:27	2174	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:27	2174	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861666 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:27	2174	[DEBUG]	Store custom available field
2023-10-13	13:00:27	2174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861666,6,'Unitaire',3)
2023-10-13	13:00:27	2174	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:27	2174	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:27	2174	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861665
2023-10-13	13:00:27	2174	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:27	2174	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861665\":[1861665,8,1,\"choisir la taille\"],\"1861666\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861665
2023-10-13	13:00:27	2174	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:27	2174	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861666
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:27	2175	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field taille
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:27	2175	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:27	2175	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:27	2175	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:27	2175	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:27	2175	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:27	2175	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field published
2023-10-13	13:00:27	2175	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:27	2175	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field override
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:27	2175	[DEBUG]	Use field value for field slug
2023-10-13	13:00:27	2175	[DEBUG]	Process line 2175
2023-10-13	13:00:27	2175	[DEBUG]	Load a row
2023-10-13	13:00:27	2175	[DEBUG]	Processing item: A_8940_13
2023-10-13	13:00:27	2175	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:27	2175	[DEBUG]	Processing product tax
2023-10-13	13:00:27	2175	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:27	2175	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:27	2175	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:27	2175	[DEBUG]	Query for Product
2023-10-13	13:00:27	2175	[DEBUG]	Executed store
2023-10-13	13:00:27	2175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8940_13','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:27	2175	[DEBUG]	Check product language entry
2023-10-13	13:00:27	2175	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861667
2023-10-13	13:00:27	2175	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:27	2175	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8940_13' AND `virtuemart_product_id` != 1861667
2023-10-13	13:00:27	2175	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:27	2175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861667, 'A_8940_13')
2023-10-13	13:00:27	2175	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:27	2175	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disque-de-frein-sram-centerline-200-argent' AND `virtuemart_product_id` != 1861667
2023-10-13	13:00:27	2175	[DEBUG]	Query for ProductLang
2023-10-13	13:00:27	2175	[DEBUG]	Executed store
2023-10-13	13:00:27	2175	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7538R',`product_name`='SRAM Disque de frein Sram Centerline 200 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disque-de-frein-sram-centerline-200-argent' WHERE `virtuemart_product_id` = '1861667'
2023-10-13	13:00:27	2175	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37928_disque_de_frein_sram_centerline_200.jpg
2023-10-13	13:00:27	2175	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:27	2175	[DEBUG]	Process image file
2023-10-13	13:00:27	2175	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:27	2175	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:27	2175	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37928_disque_de_frein_sram_centerline_200.jpg
2023-10-13	13:00:27	2175	[DEBUG]	Full name target: bcprisme/37928_disque_de_frein_sram_centerline_200.jpg
2023-10-13	13:00:28	2175	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:28	2175	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37928_disque_de_frein_sram_centerline_200.jpg'
2023-10-13	13:00:28	2175	[DEBUG]	Query for Media
2023-10-13	13:00:28	2175	[DEBUG]	Executed store
2023-10-13	13:00:28	2175	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37928_disque_de_frein_sram_centerline_200.jpg',`file_url_thumb`='bcprisme/37928_disque_de_frein_sram_centerline_200.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185019'
2023-10-13	13:00:28	2175	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:28	2175	[DEBUG]	Executed store
2023-10-13	13:00:28	2175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861667','1185019','1')
2023-10-13	13:00:28	2175	[DEBUG]	Store product image relation
2023-10-13	13:00:28	2175	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:28	2175	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861667 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:28	2175	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:28	2175	[DEBUG]	Executed store
2023-10-13	13:00:28	2175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861667','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:28	2175	[DEBUG]	Checking manufacturer
2023-10-13	13:00:28	2175	[DEBUG]	Load a row
2023-10-13	13:00:28	2175	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:28	2175	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:28	2175	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:28	2175	[DEBUG]	Executed store
2023-10-13	13:00:28	2175	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:28	2175	[DEBUG]	Manufacturer exists
2023-10-13	13:00:28	2175	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:28	2175	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:28	2175	[DEBUG]	Executed store
2023-10-13	13:00:28	2175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861667','35')
2023-10-13	13:00:28	2175	[DEBUG]	Find the custom field ID
2023-10-13	13:00:28	2175	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:28	2175	[DEBUG]	No custom field ID found
2023-10-13	13:00:28	2175	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:28	2175	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:28	2175	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861667 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:28	2175	[DEBUG]	Store custom available field
2023-10-13	13:00:28	2175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861667,3,'0',1)
2023-10-13	13:00:28	2175	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:28	2175	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:28	2175	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861667 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:28	2175	[DEBUG]	Store custom available field
2023-10-13	13:00:28	2175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861667,6,'choisir la taille',3)
2023-10-13	13:00:28	2175	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:28	2175	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:28	2175	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:28	2175	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:28	2175	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861667 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:28	2175	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:28	2175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861667,8,1)
2023-10-13	13:00:28	2175	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:28	2175	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861667\":[1861667,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861667
2023-10-13	13:00:28	2175	[DEBUG]	Checking category
2023-10-13	13:00:28	2175	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:28	2175	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861667
2023-10-13	13:00:28	2175	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:28	2175	[DEBUG]	Executed store
2023-10-13	13:00:28	2175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861667','7337')
2023-10-13	13:00:28	2175	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:28	2175	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861667 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:28	2175	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:28	2175	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861667
2023-10-13	13:00:28	2176	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:28	2176	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:28	2176	[DEBUG]	Use field value for field taille
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:28	2176	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:28	2176	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:28	2176	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:28	2176	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:28	2176	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:28	2176	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:28	2176	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:28	2176	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:28	2176	[DEBUG]	Use field value for field published
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:28	2176	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field override
2023-10-13	13:00:28	2176	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:28	2176	[DEBUG]	Use field value for field slug
2023-10-13	13:00:28	2176	[DEBUG]	Process line 2176
2023-10-13	13:00:28	2176	[DEBUG]	Load a row
2023-10-13	13:00:28	2176	[DEBUG]	Processing item: 1000000173611
2023-10-13	13:00:28	2176	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:28	2176	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:28	2176	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8940_13'
2023-10-13	13:00:28	2176	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:28	2176	[DEBUG]	Processing product tax
2023-10-13	13:00:28	2176	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:28	2176	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:28	2176	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:28	2176	[DEBUG]	Query for Product
2023-10-13	13:00:28	2176	[DEBUG]	Executed store
2023-10-13	13:00:28	2176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861667','1000000173611','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:28	2176	[DEBUG]	No parent found
2023-10-13	13:00:28	2176	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861667 AND customfield_value = 'stockable'
2023-10-13	13:00:28	2176	[DEBUG]	Check product language entry
2023-10-13	13:00:28	2176	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861668
2023-10-13	13:00:28	2176	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:28	2176	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000173611' AND `virtuemart_product_id` != 1861668
2023-10-13	13:00:28	2176	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:28	2176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861668, '1000000173611')
2023-10-13	13:00:28	2176	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:28	2176	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disque-de-frein-sram-centerline-200-argent-unitaire' AND `virtuemart_product_id` != 1861668
2023-10-13	13:00:28	2176	[DEBUG]	Query for ProductLang
2023-10-13	13:00:28	2176	[DEBUG]	Executed store
2023-10-13	13:00:28	2176	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Disque de frein Sram Centerline 200 / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disque-de-frein-sram-centerline-200-argent-unitaire' WHERE `virtuemart_product_id` = '1861668'
2023-10-13	13:00:28	2176	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37928_disque_de_frein_sram_centerline_200.jpg
2023-10-13	13:00:28	2176	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:28	2176	[DEBUG]	Process image file
2023-10-13	13:00:28	2176	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:28	2176	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:28	2176	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37928_disque_de_frein_sram_centerline_200.jpg
2023-10-13	13:00:28	2176	[DEBUG]	Full name target: bcprisme/37928_disque_de_frein_sram_centerline_200.jpg
2023-10-13	13:00:29	2176	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:29	2176	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37928_disque_de_frein_sram_centerline_200.jpg'
2023-10-13	13:00:29	2176	[DEBUG]	Query for Media
2023-10-13	13:00:29	2176	[DEBUG]	Executed store
2023-10-13	13:00:29	2176	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37928_disque_de_frein_sram_centerline_200.jpg',`file_url_thumb`='bcprisme/37928_disque_de_frein_sram_centerline_200.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185019'
2023-10-13	13:00:29	2176	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:29	2176	[DEBUG]	Executed store
2023-10-13	13:00:29	2176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861668','1185019','1')
2023-10-13	13:00:29	2176	[DEBUG]	Store product image relation
2023-10-13	13:00:29	2176	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:29	2176	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861668 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:29	2176	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:29	2176	[DEBUG]	Executed store
2023-10-13	13:00:29	2176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861668','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:29	2176	[DEBUG]	Checking manufacturer
2023-10-13	13:00:29	2176	[DEBUG]	Load a row
2023-10-13	13:00:29	2176	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:29	2176	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:29	2176	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:29	2176	[DEBUG]	Executed store
2023-10-13	13:00:29	2176	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:29	2176	[DEBUG]	Manufacturer exists
2023-10-13	13:00:29	2176	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:29	2176	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:29	2176	[DEBUG]	Executed store
2023-10-13	13:00:29	2176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861668','35')
2023-10-13	13:00:29	2176	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:29	2176	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:29	2176	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861668 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:29	2176	[DEBUG]	Store custom available field
2023-10-13	13:00:29	2176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861668,3,'',1)
2023-10-13	13:00:29	2176	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:29	2176	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:29	2176	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861668 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:29	2176	[DEBUG]	Store custom available field
2023-10-13	13:00:29	2176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861668,6,'Unitaire',3)
2023-10-13	13:00:29	2176	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:29	2176	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:29	2176	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861667
2023-10-13	13:00:29	2176	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:29	2176	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861667\":[1861667,8,1,\"choisir la taille\"],\"1861668\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861667
2023-10-13	13:00:29	2176	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:29	2176	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861668
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:29	2177	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field taille
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:29	2177	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:29	2177	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:29	2177	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:29	2177	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:29	2177	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:29	2177	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field published
2023-10-13	13:00:29	2177	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:29	2177	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field override
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:29	2177	[DEBUG]	Use field value for field slug
2023-10-13	13:00:29	2177	[DEBUG]	Process line 2177
2023-10-13	13:00:29	2177	[DEBUG]	Load a row
2023-10-13	13:00:29	2177	[DEBUG]	Processing item: A_8960_208
2023-10-13	13:00:29	2177	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:29	2177	[DEBUG]	Processing product tax
2023-10-13	13:00:29	2177	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:29	2177	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:29	2177	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:29	2177	[DEBUG]	Query for Product
2023-10-13	13:00:29	2177	[DEBUG]	Executed store
2023-10-13	13:00:29	2177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8960_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:29	2177	[DEBUG]	Check product language entry
2023-10-13	13:00:29	2177	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861669
2023-10-13	13:00:29	2177	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:29	2177	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8960_208' AND `virtuemart_product_id` != 1861669
2023-10-13	13:00:29	2177	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:29	2177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861669, 'A_8960_208')
2023-10-13	13:00:29	2177	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:29	2177	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-sm-ma-avant-arriere-postmount-200--postmount-220-box-aucune' AND `virtuemart_product_id` != 1861669
2023-10-13	13:00:29	2177	[DEBUG]	Query for ProductLang
2023-10-13	13:00:29	2177	[DEBUG]	Executed store
2023-10-13	13:00:29	2177	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.80616',`product_name`='SHIMANO Adaptateur SM-MA avant/arrière Postmount 200->Postmount 220 box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-sm-ma-avant-arriere-postmount-200--postmount-220-box-aucune' WHERE `virtuemart_product_id` = '1861669'
2023-10-13	13:00:29	2177	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_3611.jpg
2023-10-13	13:00:29	2177	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:29	2177	[DEBUG]	Process image file
2023-10-13	13:00:29	2177	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:29	2177	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:29	2177	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_3611.jpg
2023-10-13	13:00:29	2177	[DEBUG]	Full name target: bcprisme/71_3611.jpg
2023-10-13	13:00:30	2177	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:30	2177	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/71_3611.jpg'
2023-10-13	13:00:30	2177	[DEBUG]	Query for Media
2023-10-13	13:00:30	2177	[DEBUG]	Executed store
2023-10-13	13:00:30	2177	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/71_3611.jpg',`file_url_thumb`='bcprisme/71_3611.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185021'
2023-10-13	13:00:30	2177	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:30	2177	[DEBUG]	Executed store
2023-10-13	13:00:30	2177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861669','1185021','1')
2023-10-13	13:00:30	2177	[DEBUG]	Store product image relation
2023-10-13	13:00:30	2177	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:30	2177	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861669 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:30	2177	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:30	2177	[DEBUG]	Executed store
2023-10-13	13:00:30	2177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861669','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:30	2177	[DEBUG]	Checking manufacturer
2023-10-13	13:00:30	2177	[DEBUG]	Load a row
2023-10-13	13:00:30	2177	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:30	2177	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:30	2177	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:30	2177	[DEBUG]	Executed store
2023-10-13	13:00:30	2177	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:30	2177	[DEBUG]	Manufacturer exists
2023-10-13	13:00:30	2177	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:30	2177	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:30	2177	[DEBUG]	Executed store
2023-10-13	13:00:30	2177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861669','26')
2023-10-13	13:00:30	2177	[DEBUG]	Find the custom field ID
2023-10-13	13:00:30	2177	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:30	2177	[DEBUG]	No custom field ID found
2023-10-13	13:00:30	2177	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:30	2177	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:30	2177	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861669 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:30	2177	[DEBUG]	Store custom available field
2023-10-13	13:00:30	2177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861669,3,'0',1)
2023-10-13	13:00:30	2177	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:30	2177	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:30	2177	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861669 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:30	2177	[DEBUG]	Store custom available field
2023-10-13	13:00:30	2177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861669,6,'choisir la taille',3)
2023-10-13	13:00:30	2177	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:30	2177	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:30	2177	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:30	2177	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:30	2177	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861669 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:30	2177	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:30	2177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861669,8,1)
2023-10-13	13:00:30	2177	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:30	2177	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861669\":[1861669,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861669
2023-10-13	13:00:30	2177	[DEBUG]	Checking category
2023-10-13	13:00:30	2177	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:30	2177	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861669
2023-10-13	13:00:30	2177	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:30	2177	[DEBUG]	Executed store
2023-10-13	13:00:30	2177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861669','7337')
2023-10-13	13:00:30	2177	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:30	2177	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861669 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:30	2177	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:30	2177	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861669
2023-10-13	13:00:30	2178	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:30	2178	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:30	2178	[DEBUG]	Use field value for field taille
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:30	2178	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:30	2178	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:30	2178	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:30	2178	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:30	2178	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:30	2178	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:30	2178	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:30	2178	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:30	2178	[DEBUG]	Use field value for field published
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:30	2178	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field override
2023-10-13	13:00:30	2178	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:30	2178	[DEBUG]	Use field value for field slug
2023-10-13	13:00:30	2178	[DEBUG]	Process line 2178
2023-10-13	13:00:30	2178	[DEBUG]	Load a row
2023-10-13	13:00:30	2178	[DEBUG]	Processing item: 4550170897819
2023-10-13	13:00:30	2178	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:30	2178	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:30	2178	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8960_208'
2023-10-13	13:00:30	2178	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:30	2178	[DEBUG]	Processing product tax
2023-10-13	13:00:30	2178	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:30	2178	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:30	2178	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:30	2178	[DEBUG]	Query for Product
2023-10-13	13:00:30	2178	[DEBUG]	Executed store
2023-10-13	13:00:30	2178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861669','4550170897819','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:30	2178	[DEBUG]	No parent found
2023-10-13	13:00:30	2178	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861669 AND customfield_value = 'stockable'
2023-10-13	13:00:30	2178	[DEBUG]	Check product language entry
2023-10-13	13:00:30	2178	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861670
2023-10-13	13:00:30	2178	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:30	2178	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170897819' AND `virtuemart_product_id` != 1861670
2023-10-13	13:00:30	2178	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:30	2178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861670, '4550170897819')
2023-10-13	13:00:30	2178	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:30	2178	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-adaptateur-sm-ma-avant-arriere-postmount-200--postmount-220-box-aucune-unitaire' AND `virtuemart_product_id` != 1861670
2023-10-13	13:00:30	2178	[DEBUG]	Query for ProductLang
2023-10-13	13:00:31	2178	[DEBUG]	Executed store
2023-10-13	13:00:31	2178	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Adaptateur SM-MA avant/arrière Postmount 200->Postmount 220 box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-adaptateur-sm-ma-avant-arriere-postmount-200--postmount-220-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861670'
2023-10-13	13:00:31	2178	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_3611.jpg
2023-10-13	13:00:31	2178	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:31	2178	[DEBUG]	Process image file
2023-10-13	13:00:31	2178	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:31	2178	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:31	2178	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_3611.jpg
2023-10-13	13:00:31	2178	[DEBUG]	Full name target: bcprisme/71_3611.jpg
2023-10-13	13:00:31	2178	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:31	2178	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/71_3611.jpg'
2023-10-13	13:00:31	2178	[DEBUG]	Query for Media
2023-10-13	13:00:31	2178	[DEBUG]	Executed store
2023-10-13	13:00:31	2178	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/71_3611.jpg',`file_url_thumb`='bcprisme/71_3611.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185021'
2023-10-13	13:00:31	2178	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:31	2178	[DEBUG]	Executed store
2023-10-13	13:00:31	2178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861670','1185021','1')
2023-10-13	13:00:31	2178	[DEBUG]	Store product image relation
2023-10-13	13:00:31	2178	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:31	2178	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861670 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:31	2178	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:31	2178	[DEBUG]	Executed store
2023-10-13	13:00:31	2178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861670','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:31	2178	[DEBUG]	Checking manufacturer
2023-10-13	13:00:31	2178	[DEBUG]	Load a row
2023-10-13	13:00:31	2178	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:31	2178	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:31	2178	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:31	2178	[DEBUG]	Executed store
2023-10-13	13:00:31	2178	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:31	2178	[DEBUG]	Manufacturer exists
2023-10-13	13:00:31	2178	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:31	2178	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:31	2178	[DEBUG]	Executed store
2023-10-13	13:00:31	2178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861670','26')
2023-10-13	13:00:31	2178	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:31	2178	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:31	2178	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861670 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:31	2178	[DEBUG]	Store custom available field
2023-10-13	13:00:31	2178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861670,3,'',1)
2023-10-13	13:00:31	2178	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:31	2178	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:31	2178	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861670 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:31	2178	[DEBUG]	Store custom available field
2023-10-13	13:00:31	2178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861670,6,'Unitaire',3)
2023-10-13	13:00:31	2178	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:31	2178	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:31	2178	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861669
2023-10-13	13:00:31	2178	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:31	2178	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861669\":[1861669,8,1,\"choisir la taille\"],\"1861670\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861669
2023-10-13	13:00:31	2178	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:31	2178	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861670
2023-10-13	13:00:31	2179	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:31	2179	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:31	2179	[DEBUG]	Use field value for field taille
2023-10-13	13:00:31	2179	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:31	2179	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:31	2179	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:31	2179	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:31	2179	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:31	2179	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:31	2179	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:31	2179	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:31	2179	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:31	2179	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:31	2179	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:31	2179	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:31	2179	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:31	2179	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:31	2179	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:31	2179	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:32	2179	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:32	2179	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:32	2179	[DEBUG]	Use field value for field published
2023-10-13	13:00:32	2179	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:32	2179	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:32	2179	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:32	2179	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:32	2179	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:32	2179	[DEBUG]	Use field value for field override
2023-10-13	13:00:32	2179	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:32	2179	[DEBUG]	Use field value for field slug
2023-10-13	13:00:32	2179	[DEBUG]	Process line 2179
2023-10-13	13:00:32	2179	[DEBUG]	Load a row
2023-10-13	13:00:32	2179	[DEBUG]	Processing item: A_8971_731
2023-10-13	13:00:32	2179	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:32	2179	[DEBUG]	Processing product tax
2023-10-13	13:00:32	2179	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:32	2179	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:32	2179	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:32	2179	[DEBUG]	Query for Product
2023-10-13	13:00:32	2179	[DEBUG]	Executed store
2023-10-13	13:00:32	2179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8971_731','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:32	2179	[DEBUG]	Check product language entry
2023-10-13	13:00:32	2179	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861671
2023-10-13	13:00:32	2179	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:32	2179	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8971_731' AND `virtuemart_product_id` != 1861671
2023-10-13	13:00:32	2179	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:32	2179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861671, 'A_8971_731')
2023-10-13	13:00:32	2179	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:32	2179	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-paceline-rounded-6-bolt-n-a' AND `virtuemart_product_id` != 1861671
2023-10-13	13:00:32	2179	[DEBUG]	Query for ProductLang
2023-10-13	13:00:32	2179	[DEBUG]	Executed store
2023-10-13	13:00:32	2179	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7558U',`product_name`='SRAM Rotor Paceline Rounded 6-Bolt / N/A',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-paceline-rounded-6-bolt-n-a' WHERE `virtuemart_product_id` = '1861671'
2023-10-13	13:00:32	2179	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37968_rotor_paceline_rounded_6-bolt.jpg
2023-10-13	13:00:32	2179	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:32	2179	[DEBUG]	Process image file
2023-10-13	13:00:32	2179	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:32	2179	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:32	2179	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37968_rotor_paceline_rounded_6-bolt.jpg
2023-10-13	13:00:32	2179	[DEBUG]	Full name target: bcprisme/37968_rotor_paceline_rounded_6-bolt.jpg
2023-10-13	13:00:32	2179	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:32	2179	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37968_rotor_paceline_rounded_6-bolt.jpg'
2023-10-13	13:00:32	2179	[DEBUG]	Query for Media
2023-10-13	13:00:32	2179	[DEBUG]	Executed store
2023-10-13	13:00:32	2179	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37968_rotor_paceline_rounded_6-bolt.jpg',`file_url_thumb`='bcprisme/37968_rotor_paceline_rounded_6-bolt.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1195673'
2023-10-13	13:00:32	2179	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:32	2179	[DEBUG]	Executed store
2023-10-13	13:00:32	2179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861671','1195673','1')
2023-10-13	13:00:32	2179	[DEBUG]	Store product image relation
2023-10-13	13:00:32	2179	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:32	2179	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861671 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:32	2179	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:32	2179	[DEBUG]	Executed store
2023-10-13	13:00:32	2179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861671','0','52.8319405756732','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:33	2179	[DEBUG]	Checking manufacturer
2023-10-13	13:00:33	2179	[DEBUG]	Load a row
2023-10-13	13:00:33	2179	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:33	2179	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:33	2179	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:33	2179	[DEBUG]	Executed store
2023-10-13	13:00:33	2179	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:33	2179	[DEBUG]	Manufacturer exists
2023-10-13	13:00:33	2179	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:33	2179	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:33	2179	[DEBUG]	Executed store
2023-10-13	13:00:33	2179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861671','35')
2023-10-13	13:00:33	2179	[DEBUG]	Find the custom field ID
2023-10-13	13:00:33	2179	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:33	2179	[DEBUG]	No custom field ID found
2023-10-13	13:00:33	2179	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:33	2179	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:33	2179	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861671 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:33	2179	[DEBUG]	Store custom available field
2023-10-13	13:00:33	2179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861671,3,'0',1)
2023-10-13	13:00:33	2179	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:33	2179	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:33	2179	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861671 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:33	2179	[DEBUG]	Store custom available field
2023-10-13	13:00:33	2179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861671,6,'choisir la taille',3)
2023-10-13	13:00:33	2179	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:33	2179	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:33	2179	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:33	2179	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:33	2179	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861671 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:33	2179	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:33	2179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861671,8,1)
2023-10-13	13:00:33	2179	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:33	2179	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861671\":[1861671,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861671
2023-10-13	13:00:33	2179	[DEBUG]	Checking category
2023-10-13	13:00:33	2179	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:33	2179	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861671
2023-10-13	13:00:33	2179	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:33	2179	[DEBUG]	Executed store
2023-10-13	13:00:33	2179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861671','7337')
2023-10-13	13:00:33	2179	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:33	2179	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861671 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:33	2179	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:33	2179	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861671
2023-10-13	13:00:33	2180	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:33	2180	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:33	2180	[DEBUG]	Use field value for field taille
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:33	2180	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:33	2180	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:33	2180	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:33	2180	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:33	2180	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:33	2180	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:33	2180	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:33	2180	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:33	2180	[DEBUG]	Use field value for field published
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:33	2180	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field override
2023-10-13	13:00:33	2180	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:33	2180	[DEBUG]	Use field value for field slug
2023-10-13	13:00:33	2180	[DEBUG]	Process line 2180
2023-10-13	13:00:33	2180	[DEBUG]	Load a row
2023-10-13	13:00:33	2180	[DEBUG]	Processing item: 710845851544
2023-10-13	13:00:33	2180	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:33	2180	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:33	2180	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8971_731'
2023-10-13	13:00:33	2180	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:33	2180	[DEBUG]	Processing product tax
2023-10-13	13:00:33	2180	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:33	2180	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:33	2180	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:33	2180	[DEBUG]	Query for Product
2023-10-13	13:00:33	2180	[DEBUG]	Executed store
2023-10-13	13:00:33	2180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861671','710845851544','0','KG','M','','14','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:33	2180	[DEBUG]	No parent found
2023-10-13	13:00:33	2180	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861671 AND customfield_value = 'stockable'
2023-10-13	13:00:33	2180	[DEBUG]	Check product language entry
2023-10-13	13:00:33	2180	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861672
2023-10-13	13:00:33	2180	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:33	2180	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845851544' AND `virtuemart_product_id` != 1861672
2023-10-13	13:00:33	2180	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:33	2180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861672, '710845851544')
2023-10-13	13:00:33	2180	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:33	2180	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-paceline-rounded-6-bolt-n-a-140mm' AND `virtuemart_product_id` != 1861672
2023-10-13	13:00:33	2180	[DEBUG]	Query for ProductLang
2023-10-13	13:00:33	2180	[DEBUG]	Executed store
2023-10-13	13:00:33	2180	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Rotor Paceline Rounded 6-Bolt / N/A (140mm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-paceline-rounded-6-bolt-n-a-140mm' WHERE `virtuemart_product_id` = '1861672'
2023-10-13	13:00:33	2180	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37968_rotor_paceline_rounded_6-bolt.jpg
2023-10-13	13:00:33	2180	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:33	2180	[DEBUG]	Process image file
2023-10-13	13:00:33	2180	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:33	2180	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:33	2180	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37968_rotor_paceline_rounded_6-bolt.jpg
2023-10-13	13:00:33	2180	[DEBUG]	Full name target: bcprisme/37968_rotor_paceline_rounded_6-bolt.jpg
2023-10-13	13:00:34	2180	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:34	2180	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37968_rotor_paceline_rounded_6-bolt.jpg'
2023-10-13	13:00:34	2180	[DEBUG]	Query for Media
2023-10-13	13:00:34	2180	[DEBUG]	Executed store
2023-10-13	13:00:34	2180	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37968_rotor_paceline_rounded_6-bolt.jpg',`file_url_thumb`='bcprisme/37968_rotor_paceline_rounded_6-bolt.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1195673'
2023-10-13	13:00:34	2180	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:34	2180	[DEBUG]	Executed store
2023-10-13	13:00:34	2180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861672','1195673','1')
2023-10-13	13:00:34	2180	[DEBUG]	Store product image relation
2023-10-13	13:00:34	2180	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:34	2180	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861672 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:34	2180	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:34	2180	[DEBUG]	Executed store
2023-10-13	13:00:34	2180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861672','0','52.8319405756732','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:34	2180	[DEBUG]	Checking manufacturer
2023-10-13	13:00:34	2180	[DEBUG]	Load a row
2023-10-13	13:00:34	2180	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:34	2180	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:34	2180	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:34	2180	[DEBUG]	Executed store
2023-10-13	13:00:34	2180	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:34	2180	[DEBUG]	Manufacturer exists
2023-10-13	13:00:34	2180	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:34	2180	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:34	2180	[DEBUG]	Executed store
2023-10-13	13:00:34	2180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861672','35')
2023-10-13	13:00:34	2180	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:34	2180	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:34	2180	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861672 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:34	2180	[DEBUG]	Store custom available field
2023-10-13	13:00:34	2180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861672,3,'',1)
2023-10-13	13:00:34	2180	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:34	2180	[DEBUG]	Get existing row with customfield value 140mm
2023-10-13	13:00:34	2180	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861672 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:34	2180	[DEBUG]	Store custom available field
2023-10-13	13:00:34	2180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861672,6,'140mm',3)
2023-10-13	13:00:34	2180	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:34	2180	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:34	2180	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861671
2023-10-13	13:00:34	2180	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:34	2180	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n140mm\"}]|clabels=0|options={\"1861671\":[1861671,8,1,\"choisir la taille\"],\"1861672\":[\"140mm\"]}|' WHERE `virtuemart_product_id` = 1861671
2023-10-13	13:00:34	2180	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:34	2180	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861672
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:34	2181	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field taille
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:34	2181	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:34	2181	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:34	2181	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:34	2181	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:34	2181	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:34	2181	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field published
2023-10-13	13:00:34	2181	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:34	2181	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field override
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:34	2181	[DEBUG]	Use field value for field slug
2023-10-13	13:00:34	2181	[DEBUG]	Process line 2181
2023-10-13	13:00:34	2181	[DEBUG]	Load a row
2023-10-13	13:00:34	2181	[DEBUG]	Processing item: A_8972_731
2023-10-13	13:00:34	2181	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:34	2181	[DEBUG]	Processing product tax
2023-10-13	13:00:34	2181	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:34	2181	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:34	2181	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:34	2181	[DEBUG]	Query for Product
2023-10-13	13:00:34	2181	[DEBUG]	Executed store
2023-10-13	13:00:34	2181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8972_731','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:34	2181	[DEBUG]	Check product language entry
2023-10-13	13:00:34	2181	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861673
2023-10-13	13:00:34	2181	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:34	2181	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8972_731' AND `virtuemart_product_id` != 1861673
2023-10-13	13:00:34	2181	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:34	2181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861673, 'A_8972_731')
2023-10-13	13:00:34	2181	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:34	2181	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-paceline-rounded-centerlock-n-a' AND `virtuemart_product_id` != 1861673
2023-10-13	13:00:34	2181	[DEBUG]	Query for ProductLang
2023-10-13	13:00:34	2181	[DEBUG]	Executed store
2023-10-13	13:00:34	2181	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : d7558x',`product_name`='SRAM Rotor Paceline Rounded CenterLock / N/A',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-paceline-rounded-centerlock-n-a' WHERE `virtuemart_product_id` = '1861673'
2023-10-13	13:00:34	2181	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37969_rotor_paceline_rounded_centerlock.jpg
2023-10-13	13:00:34	2181	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:34	2181	[DEBUG]	Process image file
2023-10-13	13:00:34	2181	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:34	2181	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:34	2181	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37969_rotor_paceline_rounded_centerlock.jpg
2023-10-13	13:00:34	2181	[DEBUG]	Full name target: bcprisme/37969_rotor_paceline_rounded_centerlock.jpg
2023-10-13	13:00:35	2181	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:35	2181	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37969_rotor_paceline_rounded_centerlock.jpg'
2023-10-13	13:00:35	2181	[DEBUG]	Query for Media
2023-10-13	13:00:35	2181	[DEBUG]	Executed store
2023-10-13	13:00:35	2181	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37969_rotor_paceline_rounded_centerlock.jpg',`file_url_thumb`='bcprisme/37969_rotor_paceline_rounded_centerlock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1195675'
2023-10-13	13:00:35	2181	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:35	2181	[DEBUG]	Executed store
2023-10-13	13:00:35	2181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861673','1195675','1')
2023-10-13	13:00:35	2181	[DEBUG]	Store product image relation
2023-10-13	13:00:35	2181	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:35	2181	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861673 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:35	2181	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:35	2181	[DEBUG]	Executed store
2023-10-13	13:00:35	2181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861673','0','62.116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:35	2181	[DEBUG]	Checking manufacturer
2023-10-13	13:00:35	2181	[DEBUG]	Load a row
2023-10-13	13:00:35	2181	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:35	2181	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:35	2181	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:35	2181	[DEBUG]	Executed store
2023-10-13	13:00:35	2181	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:35	2181	[DEBUG]	Manufacturer exists
2023-10-13	13:00:35	2181	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:35	2181	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:35	2181	[DEBUG]	Executed store
2023-10-13	13:00:35	2181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861673','35')
2023-10-13	13:00:35	2181	[DEBUG]	Find the custom field ID
2023-10-13	13:00:35	2181	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:35	2181	[DEBUG]	No custom field ID found
2023-10-13	13:00:35	2181	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:35	2181	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:35	2181	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861673 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:35	2181	[DEBUG]	Store custom available field
2023-10-13	13:00:35	2181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861673,3,'0',1)
2023-10-13	13:00:35	2181	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:35	2181	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:35	2181	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861673 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:35	2181	[DEBUG]	Store custom available field
2023-10-13	13:00:35	2181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861673,6,'choisir la taille',3)
2023-10-13	13:00:35	2181	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:35	2181	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:35	2181	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:35	2181	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:35	2181	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861673 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:35	2181	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:35	2181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861673,8,1)
2023-10-13	13:00:35	2181	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:35	2181	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861673\":[1861673,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861673
2023-10-13	13:00:35	2181	[DEBUG]	Checking category
2023-10-13	13:00:35	2181	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:35	2181	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861673
2023-10-13	13:00:35	2181	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:35	2181	[DEBUG]	Executed store
2023-10-13	13:00:35	2181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861673','7337')
2023-10-13	13:00:35	2181	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:35	2181	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861673 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:35	2181	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:35	2181	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861673
2023-10-13	13:00:35	2182	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:35	2182	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:35	2182	[DEBUG]	Use field value for field taille
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:35	2182	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:35	2182	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:35	2182	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:35	2182	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:35	2182	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:35	2182	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:35	2182	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:35	2182	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:35	2182	[DEBUG]	Use field value for field published
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:35	2182	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field override
2023-10-13	13:00:35	2182	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:35	2182	[DEBUG]	Use field value for field slug
2023-10-13	13:00:35	2182	[DEBUG]	Process line 2182
2023-10-13	13:00:35	2182	[DEBUG]	Load a row
2023-10-13	13:00:35	2182	[DEBUG]	Processing item: 710845851575
2023-10-13	13:00:35	2182	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:35	2182	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:35	2182	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8972_731'
2023-10-13	13:00:35	2182	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:35	2182	[DEBUG]	Processing product tax
2023-10-13	13:00:35	2182	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:35	2182	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:35	2182	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:35	2182	[DEBUG]	Query for Product
2023-10-13	13:00:35	2182	[DEBUG]	Executed store
2023-10-13	13:00:35	2182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861673','710845851575','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:35	2182	[DEBUG]	No parent found
2023-10-13	13:00:35	2182	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861673 AND customfield_value = 'stockable'
2023-10-13	13:00:35	2182	[DEBUG]	Check product language entry
2023-10-13	13:00:35	2182	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861674
2023-10-13	13:00:35	2182	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:35	2182	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845851575' AND `virtuemart_product_id` != 1861674
2023-10-13	13:00:35	2182	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:35	2182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861674, '710845851575')
2023-10-13	13:00:35	2182	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:35	2182	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-paceline-rounded-centerlock-n-a-160mm' AND `virtuemart_product_id` != 1861674
2023-10-13	13:00:35	2182	[DEBUG]	Query for ProductLang
2023-10-13	13:00:35	2182	[DEBUG]	Executed store
2023-10-13	13:00:35	2182	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Rotor Paceline Rounded CenterLock / N/A (160mm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-paceline-rounded-centerlock-n-a-160mm' WHERE `virtuemart_product_id` = '1861674'
2023-10-13	13:00:35	2182	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37969_rotor_paceline_rounded_centerlock.jpg
2023-10-13	13:00:35	2182	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:35	2182	[DEBUG]	Process image file
2023-10-13	13:00:35	2182	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:35	2182	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:35	2182	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37969_rotor_paceline_rounded_centerlock.jpg
2023-10-13	13:00:35	2182	[DEBUG]	Full name target: bcprisme/37969_rotor_paceline_rounded_centerlock.jpg
2023-10-13	13:00:36	2182	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:36	2182	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37969_rotor_paceline_rounded_centerlock.jpg'
2023-10-13	13:00:36	2182	[DEBUG]	Query for Media
2023-10-13	13:00:36	2182	[DEBUG]	Executed store
2023-10-13	13:00:36	2182	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37969_rotor_paceline_rounded_centerlock.jpg',`file_url_thumb`='bcprisme/37969_rotor_paceline_rounded_centerlock.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1195675'
2023-10-13	13:00:36	2182	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:36	2182	[DEBUG]	Executed store
2023-10-13	13:00:36	2182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861674','1195675','1')
2023-10-13	13:00:36	2182	[DEBUG]	Store product image relation
2023-10-13	13:00:36	2182	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:36	2182	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861674 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:36	2182	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:36	2182	[DEBUG]	Executed store
2023-10-13	13:00:36	2182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861674','0','62.116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:36	2182	[DEBUG]	Checking manufacturer
2023-10-13	13:00:36	2182	[DEBUG]	Load a row
2023-10-13	13:00:36	2182	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:36	2182	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:36	2182	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:36	2182	[DEBUG]	Executed store
2023-10-13	13:00:36	2182	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:36	2182	[DEBUG]	Manufacturer exists
2023-10-13	13:00:36	2182	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:36	2182	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:36	2182	[DEBUG]	Executed store
2023-10-13	13:00:36	2182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861674','35')
2023-10-13	13:00:36	2182	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:36	2182	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:36	2182	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861674 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:36	2182	[DEBUG]	Store custom available field
2023-10-13	13:00:36	2182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861674,3,'',1)
2023-10-13	13:00:36	2182	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:36	2182	[DEBUG]	Get existing row with customfield value 160mm
2023-10-13	13:00:36	2182	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861674 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:36	2182	[DEBUG]	Store custom available field
2023-10-13	13:00:36	2182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861674,6,'160mm',3)
2023-10-13	13:00:36	2182	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:36	2182	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:36	2182	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861673
2023-10-13	13:00:36	2182	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:36	2182	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n160mm\"}]|clabels=0|options={\"1861673\":[1861673,8,1,\"choisir la taille\"],\"1861674\":[\"160mm\"]}|' WHERE `virtuemart_product_id` = 1861673
2023-10-13	13:00:36	2182	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:36	2182	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861674
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:36	2183	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field taille
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:36	2183	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:36	2183	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:36	2183	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:36	2183	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:36	2183	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:36	2183	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field published
2023-10-13	13:00:36	2183	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:36	2183	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field override
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:36	2183	[DEBUG]	Use field value for field slug
2023-10-13	13:00:36	2183	[DEBUG]	Process line 2183
2023-10-13	13:00:36	2183	[DEBUG]	Load a row
2023-10-13	13:00:36	2183	[DEBUG]	Processing item: A_8985_208
2023-10-13	13:00:36	2183	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:36	2183	[DEBUG]	Processing product tax
2023-10-13	13:00:36	2183	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:36	2183	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:36	2183	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:36	2183	[DEBUG]	Query for Product
2023-10-13	13:00:36	2183	[DEBUG]	Executed store
2023-10-13	13:00:36	2183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8985_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:36	2183	[DEBUG]	Check product language entry
2023-10-13	13:00:36	2183	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861675
2023-10-13	13:00:36	2183	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:36	2183	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8985_208' AND `virtuemart_product_id` != 1861675
2023-10-13	13:00:36	2183	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:36	2183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861675, 'A_8985_208')
2023-10-13	13:00:36	2183	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:36	2183	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-steps-rt-em810-160mm-crante-a-lexterieur-center-lock-box-aucune' AND `virtuemart_product_id` != 1861675
2023-10-13	13:00:36	2183	[DEBUG]	Query for ProductLang
2023-10-13	13:00:36	2183	[DEBUG]	Executed store
2023-10-13	13:00:36	2183	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75353',`product_name`='SHIMANO Disque STEPS RT-EM810 160mm cranté à lextérieur Center-Lock box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-steps-rt-em810-160mm-crante-a-lexterieur-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861675'
2023-10-13	13:00:36	2183	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75353_00.jpg
2023-10-13	13:00:36	2183	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:36	2183	[DEBUG]	Process image file
2023-10-13	13:00:36	2183	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:36	2183	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:36	2183	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75353_00.jpg
2023-10-13	13:00:36	2183	[DEBUG]	Full name target: bcprisme/73_75353_00.jpg
2023-10-13	13:00:37	2183	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:37	2183	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75353_00.jpg'
2023-10-13	13:00:37	2183	[DEBUG]	Query for Media
2023-10-13	13:00:37	2183	[DEBUG]	Executed store
2023-10-13	13:00:37	2183	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75353_00.jpg',`file_url_thumb`='bcprisme/73_75353_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1195677'
2023-10-13	13:00:37	2183	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:37	2183	[DEBUG]	Executed store
2023-10-13	13:00:37	2183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861675','1195677','1')
2023-10-13	13:00:37	2183	[DEBUG]	Store product image relation
2023-10-13	13:00:37	2183	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:37	2183	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861675 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:37	2183	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:37	2183	[DEBUG]	Executed store
2023-10-13	13:00:37	2183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861675','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:37	2183	[DEBUG]	Checking manufacturer
2023-10-13	13:00:37	2183	[DEBUG]	Load a row
2023-10-13	13:00:37	2183	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:37	2183	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:37	2183	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:37	2183	[DEBUG]	Executed store
2023-10-13	13:00:37	2183	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:37	2183	[DEBUG]	Manufacturer exists
2023-10-13	13:00:37	2183	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:37	2183	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:37	2183	[DEBUG]	Executed store
2023-10-13	13:00:37	2183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861675','26')
2023-10-13	13:00:37	2183	[DEBUG]	Find the custom field ID
2023-10-13	13:00:37	2183	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:37	2183	[DEBUG]	No custom field ID found
2023-10-13	13:00:37	2183	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:37	2183	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:37	2183	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861675 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:37	2183	[DEBUG]	Store custom available field
2023-10-13	13:00:37	2183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861675,3,'0',1)
2023-10-13	13:00:37	2183	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:37	2183	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:37	2183	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861675 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:37	2183	[DEBUG]	Store custom available field
2023-10-13	13:00:37	2183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861675,6,'choisir la taille',3)
2023-10-13	13:00:37	2183	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:37	2183	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:37	2183	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:37	2183	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:37	2183	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861675 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:37	2183	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:37	2183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861675,8,1)
2023-10-13	13:00:37	2183	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:37	2183	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861675\":[1861675,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861675
2023-10-13	13:00:37	2183	[DEBUG]	Checking category
2023-10-13	13:00:37	2183	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:37	2183	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861675
2023-10-13	13:00:37	2183	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:37	2183	[DEBUG]	Executed store
2023-10-13	13:00:37	2183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861675','7337')
2023-10-13	13:00:37	2183	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:37	2183	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861675 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:37	2183	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:37	2183	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861675
2023-10-13	13:00:37	2184	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:37	2184	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:37	2184	[DEBUG]	Use field value for field taille
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:37	2184	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:37	2184	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:37	2184	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:37	2184	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:37	2184	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:37	2184	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:37	2184	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:37	2184	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:37	2184	[DEBUG]	Use field value for field published
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:37	2184	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field override
2023-10-13	13:00:37	2184	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:37	2184	[DEBUG]	Use field value for field slug
2023-10-13	13:00:37	2184	[DEBUG]	Process line 2184
2023-10-13	13:00:37	2184	[DEBUG]	Load a row
2023-10-13	13:00:37	2184	[DEBUG]	Processing item: 4550170445409
2023-10-13	13:00:37	2184	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:37	2184	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:37	2184	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8985_208'
2023-10-13	13:00:37	2184	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:37	2184	[DEBUG]	Processing product tax
2023-10-13	13:00:37	2184	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:37	2184	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:37	2184	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:37	2184	[DEBUG]	Query for Product
2023-10-13	13:00:37	2184	[DEBUG]	Executed store
2023-10-13	13:00:37	2184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861675','4550170445409','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:37	2184	[DEBUG]	No parent found
2023-10-13	13:00:37	2184	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861675 AND customfield_value = 'stockable'
2023-10-13	13:00:37	2184	[DEBUG]	Check product language entry
2023-10-13	13:00:37	2184	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861676
2023-10-13	13:00:37	2184	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:37	2184	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170445409' AND `virtuemart_product_id` != 1861676
2023-10-13	13:00:37	2184	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:37	2184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861676, '4550170445409')
2023-10-13	13:00:37	2184	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:37	2184	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-steps-rt-em810-160mm-crante-a-lexterieur-center-lock-box-aucune-unitaire' AND `virtuemart_product_id` != 1861676
2023-10-13	13:00:37	2184	[DEBUG]	Query for ProductLang
2023-10-13	13:00:37	2184	[DEBUG]	Executed store
2023-10-13	13:00:37	2184	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque STEPS RT-EM810 160mm cranté à lextérieur Center-Lock box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-steps-rt-em810-160mm-crante-a-lexterieur-center-lock-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861676'
2023-10-13	13:00:37	2184	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75353_00.jpg
2023-10-13	13:00:37	2184	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:37	2184	[DEBUG]	Process image file
2023-10-13	13:00:37	2184	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:37	2184	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:37	2184	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75353_00.jpg
2023-10-13	13:00:37	2184	[DEBUG]	Full name target: bcprisme/73_75353_00.jpg
2023-10-13	13:00:38	2184	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:38	2184	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75353_00.jpg'
2023-10-13	13:00:38	2184	[DEBUG]	Query for Media
2023-10-13	13:00:38	2184	[DEBUG]	Executed store
2023-10-13	13:00:38	2184	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75353_00.jpg',`file_url_thumb`='bcprisme/73_75353_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1195677'
2023-10-13	13:00:38	2184	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:38	2184	[DEBUG]	Executed store
2023-10-13	13:00:38	2184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861676','1195677','1')
2023-10-13	13:00:38	2184	[DEBUG]	Store product image relation
2023-10-13	13:00:38	2184	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:38	2184	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861676 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:38	2184	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:38	2184	[DEBUG]	Executed store
2023-10-13	13:00:38	2184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861676','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:38	2184	[DEBUG]	Checking manufacturer
2023-10-13	13:00:38	2184	[DEBUG]	Load a row
2023-10-13	13:00:38	2184	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:38	2184	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:38	2184	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:38	2184	[DEBUG]	Executed store
2023-10-13	13:00:38	2184	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:38	2184	[DEBUG]	Manufacturer exists
2023-10-13	13:00:38	2184	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:38	2184	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:38	2184	[DEBUG]	Executed store
2023-10-13	13:00:38	2184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861676','26')
2023-10-13	13:00:38	2184	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:38	2184	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:38	2184	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861676 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:38	2184	[DEBUG]	Store custom available field
2023-10-13	13:00:38	2184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861676,3,'',1)
2023-10-13	13:00:38	2184	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:38	2184	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:38	2184	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861676 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:38	2184	[DEBUG]	Store custom available field
2023-10-13	13:00:38	2184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861676,6,'Unitaire',3)
2023-10-13	13:00:38	2184	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:38	2184	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:38	2184	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861675
2023-10-13	13:00:38	2184	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:38	2184	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861675\":[1861675,8,1,\"choisir la taille\"],\"1861676\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861675
2023-10-13	13:00:38	2184	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:38	2184	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861676
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:38	2185	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field taille
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:38	2185	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:38	2185	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:38	2185	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:38	2185	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:38	2185	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:38	2185	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field published
2023-10-13	13:00:38	2185	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:38	2185	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field override
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:38	2185	[DEBUG]	Use field value for field slug
2023-10-13	13:00:38	2185	[DEBUG]	Process line 2185
2023-10-13	13:00:38	2185	[DEBUG]	Load a row
2023-10-13	13:00:38	2185	[DEBUG]	Processing item: A_9158_208
2023-10-13	13:00:38	2185	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:38	2185	[DEBUG]	Processing product tax
2023-10-13	13:00:38	2185	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:38	2185	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:38	2185	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:38	2185	[DEBUG]	Query for Product
2023-10-13	13:00:38	2185	[DEBUG]	Executed store
2023-10-13	13:00:38	2185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9158_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:38	2185	[DEBUG]	Check product language entry
2023-10-13	13:00:38	2185	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861677
2023-10-13	13:00:38	2185	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:38	2185	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9158_208' AND `virtuemart_product_id` != 1861677
2023-10-13	13:00:38	2185	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:38	2185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861677, 'A_9158_208')
2023-10-13	13:00:38	2185	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:38	2185	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-sm-rt64-160-mm-center-lock-aucune' AND `virtuemart_product_id` != 1861677
2023-10-13	13:00:38	2185	[DEBUG]	Query for ProductLang
2023-10-13	13:00:38	2185	[DEBUG]	Executed store
2023-10-13	13:00:38	2185	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.80479',`product_name`='SHIMANO Disque Deore SM-RT64 160 mm Center Lock / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-sm-rt64-160-mm-center-lock-aucune' WHERE `virtuemart_product_id` = '1861677'
2023-10-13	13:00:38	2185	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_46342_00.jpg
2023-10-13	13:00:38	2185	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:38	2185	[DEBUG]	Process image file
2023-10-13	13:00:38	2185	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:38	2185	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:38	2185	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_46342_00.jpg
2023-10-13	13:00:38	2185	[DEBUG]	Full name target: bcprisme/73_46342_00.jpg
2023-10-13	13:00:39	2185	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:39	2185	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_46342_00.jpg'
2023-10-13	13:00:39	2185	[DEBUG]	Query for Media
2023-10-13	13:00:39	2185	[DEBUG]	Executed store
2023-10-13	13:00:39	2185	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_46342_00.jpg',`file_url_thumb`='bcprisme/73_46342_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1287475'
2023-10-13	13:00:39	2185	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:39	2185	[DEBUG]	Executed store
2023-10-13	13:00:39	2185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861677','1287475','1')
2023-10-13	13:00:39	2185	[DEBUG]	Store product image relation
2023-10-13	13:00:39	2185	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:39	2185	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861677 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:39	2185	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:39	2185	[DEBUG]	Executed store
2023-10-13	13:00:39	2185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861677','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:39	2185	[DEBUG]	Checking manufacturer
2023-10-13	13:00:39	2185	[DEBUG]	Load a row
2023-10-13	13:00:39	2185	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:39	2185	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:39	2185	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:39	2185	[DEBUG]	Executed store
2023-10-13	13:00:39	2185	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:39	2185	[DEBUG]	Manufacturer exists
2023-10-13	13:00:39	2185	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:39	2185	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:39	2185	[DEBUG]	Executed store
2023-10-13	13:00:39	2185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861677','26')
2023-10-13	13:00:39	2185	[DEBUG]	Find the custom field ID
2023-10-13	13:00:39	2185	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:39	2185	[DEBUG]	No custom field ID found
2023-10-13	13:00:39	2185	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:39	2185	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:39	2185	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861677 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:39	2185	[DEBUG]	Store custom available field
2023-10-13	13:00:39	2185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861677,3,'0',1)
2023-10-13	13:00:39	2185	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:39	2185	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:39	2185	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861677 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:39	2185	[DEBUG]	Store custom available field
2023-10-13	13:00:39	2185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861677,6,'choisir la taille',3)
2023-10-13	13:00:39	2185	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:39	2185	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:39	2185	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:39	2185	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:39	2185	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861677 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:39	2185	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:39	2185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861677,8,1)
2023-10-13	13:00:39	2185	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:39	2185	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861677\":[1861677,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861677
2023-10-13	13:00:39	2185	[DEBUG]	Checking category
2023-10-13	13:00:39	2185	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:39	2185	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861677
2023-10-13	13:00:39	2185	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:39	2185	[DEBUG]	Executed store
2023-10-13	13:00:39	2185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861677','7337')
2023-10-13	13:00:39	2185	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:39	2185	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861677 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:39	2185	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:39	2185	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861677
2023-10-13	13:00:39	2186	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:39	2186	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:39	2186	[DEBUG]	Use field value for field taille
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:39	2186	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:39	2186	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:39	2186	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:39	2186	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:39	2186	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:39	2186	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:39	2186	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:39	2186	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:39	2186	[DEBUG]	Use field value for field published
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:39	2186	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field override
2023-10-13	13:00:39	2186	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:39	2186	[DEBUG]	Use field value for field slug
2023-10-13	13:00:39	2186	[DEBUG]	Process line 2186
2023-10-13	13:00:39	2186	[DEBUG]	Load a row
2023-10-13	13:00:39	2186	[DEBUG]	Processing item: 4550170897833
2023-10-13	13:00:39	2186	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:39	2186	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:39	2186	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9158_208'
2023-10-13	13:00:39	2186	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:39	2186	[DEBUG]	Processing product tax
2023-10-13	13:00:39	2186	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:39	2186	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:39	2186	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:39	2186	[DEBUG]	Query for Product
2023-10-13	13:00:39	2186	[DEBUG]	Executed store
2023-10-13	13:00:39	2186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861677','4550170897833','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:39	2186	[DEBUG]	No parent found
2023-10-13	13:00:39	2186	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861677 AND customfield_value = 'stockable'
2023-10-13	13:00:39	2186	[DEBUG]	Check product language entry
2023-10-13	13:00:39	2186	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861678
2023-10-13	13:00:39	2186	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:39	2186	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170897833' AND `virtuemart_product_id` != 1861678
2023-10-13	13:00:39	2186	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:39	2186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861678, '4550170897833')
2023-10-13	13:00:39	2186	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:39	2186	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-sm-rt64-160-mm-center-lock-aucune-unitaire' AND `virtuemart_product_id` != 1861678
2023-10-13	13:00:39	2186	[DEBUG]	Query for ProductLang
2023-10-13	13:00:39	2186	[DEBUG]	Executed store
2023-10-13	13:00:39	2186	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore SM-RT64 160 mm Center Lock / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-sm-rt64-160-mm-center-lock-aucune-unitaire' WHERE `virtuemart_product_id` = '1861678'
2023-10-13	13:00:39	2186	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_46342_00.jpg
2023-10-13	13:00:39	2186	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:39	2186	[DEBUG]	Process image file
2023-10-13	13:00:39	2186	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:39	2186	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:39	2186	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_46342_00.jpg
2023-10-13	13:00:39	2186	[DEBUG]	Full name target: bcprisme/73_46342_00.jpg
2023-10-13	13:00:40	2186	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:40	2186	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_46342_00.jpg'
2023-10-13	13:00:40	2186	[DEBUG]	Query for Media
2023-10-13	13:00:40	2186	[DEBUG]	Executed store
2023-10-13	13:00:40	2186	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_46342_00.jpg',`file_url_thumb`='bcprisme/73_46342_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1287475'
2023-10-13	13:00:40	2186	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:40	2186	[DEBUG]	Executed store
2023-10-13	13:00:40	2186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861678','1287475','1')
2023-10-13	13:00:40	2186	[DEBUG]	Store product image relation
2023-10-13	13:00:40	2186	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:40	2186	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861678 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:40	2186	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:40	2186	[DEBUG]	Executed store
2023-10-13	13:00:40	2186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861678','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:40	2186	[DEBUG]	Checking manufacturer
2023-10-13	13:00:40	2186	[DEBUG]	Load a row
2023-10-13	13:00:40	2186	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:40	2186	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:40	2186	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:40	2186	[DEBUG]	Executed store
2023-10-13	13:00:40	2186	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:40	2186	[DEBUG]	Manufacturer exists
2023-10-13	13:00:40	2186	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:40	2186	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:40	2186	[DEBUG]	Executed store
2023-10-13	13:00:40	2186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861678','26')
2023-10-13	13:00:40	2186	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:40	2186	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:40	2186	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861678 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:40	2186	[DEBUG]	Store custom available field
2023-10-13	13:00:40	2186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861678,3,'',1)
2023-10-13	13:00:40	2186	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:40	2186	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:40	2186	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861678 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:40	2186	[DEBUG]	Store custom available field
2023-10-13	13:00:40	2186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861678,6,'Unitaire',3)
2023-10-13	13:00:40	2186	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:40	2186	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:40	2186	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861677
2023-10-13	13:00:40	2186	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:40	2186	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861677\":[1861677,8,1,\"choisir la taille\"],\"1861678\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861677
2023-10-13	13:00:40	2186	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:40	2186	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861678
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:40	2187	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field taille
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:40	2187	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:40	2187	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:40	2187	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:40	2187	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:40	2187	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:40	2187	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field published
2023-10-13	13:00:40	2187	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:40	2187	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field override
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:40	2187	[DEBUG]	Use field value for field slug
2023-10-13	13:00:40	2187	[DEBUG]	Process line 2187
2023-10-13	13:00:40	2187	[DEBUG]	Load a row
2023-10-13	13:00:40	2187	[DEBUG]	Processing item: A_9159_208
2023-10-13	13:00:40	2187	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:40	2187	[DEBUG]	Processing product tax
2023-10-13	13:00:40	2187	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:40	2187	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:40	2187	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:40	2187	[DEBUG]	Query for Product
2023-10-13	13:00:40	2187	[DEBUG]	Executed store
2023-10-13	13:00:40	2187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9159_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:40	2187	[DEBUG]	Check product language entry
2023-10-13	13:00:40	2187	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861679
2023-10-13	13:00:40	2187	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:40	2187	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9159_208' AND `virtuemart_product_id` != 1861679
2023-10-13	13:00:40	2187	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:40	2187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861679, 'A_9159_208')
2023-10-13	13:00:40	2187	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:40	2187	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-sm-rt64-180-mm-center-lock-aucune' AND `virtuemart_product_id` != 1861679
2023-10-13	13:00:40	2187	[DEBUG]	Query for ProductLang
2023-10-13	13:00:40	2187	[DEBUG]	Executed store
2023-10-13	13:00:40	2187	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.80482',`product_name`='SHIMANO Disque Deore SM-RT64 180 mm Center Lock  / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-sm-rt64-180-mm-center-lock-aucune' WHERE `virtuemart_product_id` = '1861679'
2023-10-13	13:00:40	2187	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_46342_00.jpg
2023-10-13	13:00:40	2187	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:40	2187	[DEBUG]	Process image file
2023-10-13	13:00:40	2187	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:40	2187	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:40	2187	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_46342_00.jpg
2023-10-13	13:00:40	2187	[DEBUG]	Full name target: bcprisme/73_46342_00.jpg
2023-10-13	13:00:41	2187	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:41	2187	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_46342_00.jpg'
2023-10-13	13:00:41	2187	[DEBUG]	Query for Media
2023-10-13	13:00:41	2187	[DEBUG]	Executed store
2023-10-13	13:00:41	2187	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_46342_00.jpg',`file_url_thumb`='bcprisme/73_46342_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1287475'
2023-10-13	13:00:41	2187	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:41	2187	[DEBUG]	Executed store
2023-10-13	13:00:41	2187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861679','1287475','1')
2023-10-13	13:00:41	2187	[DEBUG]	Store product image relation
2023-10-13	13:00:41	2187	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:41	2187	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861679 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:41	2187	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:41	2187	[DEBUG]	Executed store
2023-10-13	13:00:41	2187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861679','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:41	2187	[DEBUG]	Checking manufacturer
2023-10-13	13:00:41	2187	[DEBUG]	Load a row
2023-10-13	13:00:41	2187	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:41	2187	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:41	2187	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:41	2187	[DEBUG]	Executed store
2023-10-13	13:00:41	2187	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:41	2187	[DEBUG]	Manufacturer exists
2023-10-13	13:00:41	2187	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:41	2187	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:41	2187	[DEBUG]	Executed store
2023-10-13	13:00:41	2187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861679','26')
2023-10-13	13:00:41	2187	[DEBUG]	Find the custom field ID
2023-10-13	13:00:41	2187	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:41	2187	[DEBUG]	No custom field ID found
2023-10-13	13:00:41	2187	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:41	2187	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:41	2187	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861679 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:41	2187	[DEBUG]	Store custom available field
2023-10-13	13:00:41	2187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861679,3,'0',1)
2023-10-13	13:00:41	2187	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:41	2187	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:41	2187	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861679 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:41	2187	[DEBUG]	Store custom available field
2023-10-13	13:00:41	2187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861679,6,'choisir la taille',3)
2023-10-13	13:00:41	2187	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:41	2187	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:41	2187	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:41	2187	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:41	2187	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861679 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:41	2187	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:41	2187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861679,8,1)
2023-10-13	13:00:41	2187	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:41	2187	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861679\":[1861679,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861679
2023-10-13	13:00:41	2187	[DEBUG]	Checking category
2023-10-13	13:00:41	2187	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:41	2187	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861679
2023-10-13	13:00:41	2187	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:41	2187	[DEBUG]	Executed store
2023-10-13	13:00:41	2187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861679','7337')
2023-10-13	13:00:41	2187	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:41	2187	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861679 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:41	2187	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:41	2187	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861679
2023-10-13	13:00:41	2188	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:41	2188	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:41	2188	[DEBUG]	Use field value for field taille
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:41	2188	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:41	2188	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:41	2188	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:41	2188	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:41	2188	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:41	2188	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:41	2188	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:41	2188	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:41	2188	[DEBUG]	Use field value for field published
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:41	2188	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field override
2023-10-13	13:00:41	2188	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:41	2188	[DEBUG]	Use field value for field slug
2023-10-13	13:00:41	2188	[DEBUG]	Process line 2188
2023-10-13	13:00:41	2188	[DEBUG]	Load a row
2023-10-13	13:00:41	2188	[DEBUG]	Processing item: 4550170897826
2023-10-13	13:00:41	2188	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:41	2188	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:41	2188	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9159_208'
2023-10-13	13:00:41	2188	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:41	2188	[DEBUG]	Processing product tax
2023-10-13	13:00:41	2188	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:41	2188	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:41	2188	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:41	2188	[DEBUG]	Query for Product
2023-10-13	13:00:41	2188	[DEBUG]	Executed store
2023-10-13	13:00:41	2188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861679','4550170897826','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:41	2188	[DEBUG]	No parent found
2023-10-13	13:00:41	2188	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861679 AND customfield_value = 'stockable'
2023-10-13	13:00:41	2188	[DEBUG]	Check product language entry
2023-10-13	13:00:41	2188	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861680
2023-10-13	13:00:41	2188	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:41	2188	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170897826' AND `virtuemart_product_id` != 1861680
2023-10-13	13:00:41	2188	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:41	2188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861680, '4550170897826')
2023-10-13	13:00:41	2188	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:41	2188	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-deore-sm-rt64-180-mm-center-lock-aucune-unitaire' AND `virtuemart_product_id` != 1861680
2023-10-13	13:00:41	2188	[DEBUG]	Query for ProductLang
2023-10-13	13:00:41	2188	[DEBUG]	Executed store
2023-10-13	13:00:41	2188	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque Deore SM-RT64 180 mm Center Lock  / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-deore-sm-rt64-180-mm-center-lock-aucune-unitaire' WHERE `virtuemart_product_id` = '1861680'
2023-10-13	13:00:41	2188	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_46342_00.jpg
2023-10-13	13:00:41	2188	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:41	2188	[DEBUG]	Process image file
2023-10-13	13:00:41	2188	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:41	2188	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:41	2188	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_46342_00.jpg
2023-10-13	13:00:41	2188	[DEBUG]	Full name target: bcprisme/73_46342_00.jpg
2023-10-13	13:00:42	2188	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:42	2188	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_46342_00.jpg'
2023-10-13	13:00:42	2188	[DEBUG]	Query for Media
2023-10-13	13:00:42	2188	[DEBUG]	Executed store
2023-10-13	13:00:42	2188	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_46342_00.jpg',`file_url_thumb`='bcprisme/73_46342_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1287475'
2023-10-13	13:00:42	2188	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:42	2188	[DEBUG]	Executed store
2023-10-13	13:00:42	2188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861680','1287475','1')
2023-10-13	13:00:42	2188	[DEBUG]	Store product image relation
2023-10-13	13:00:42	2188	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:42	2188	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861680 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:42	2188	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:42	2188	[DEBUG]	Executed store
2023-10-13	13:00:42	2188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861680','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:42	2188	[DEBUG]	Checking manufacturer
2023-10-13	13:00:42	2188	[DEBUG]	Load a row
2023-10-13	13:00:42	2188	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:42	2188	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:42	2188	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:42	2188	[DEBUG]	Executed store
2023-10-13	13:00:42	2188	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:42	2188	[DEBUG]	Manufacturer exists
2023-10-13	13:00:42	2188	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:42	2188	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:42	2188	[DEBUG]	Executed store
2023-10-13	13:00:42	2188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861680','26')
2023-10-13	13:00:42	2188	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:42	2188	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:42	2188	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861680 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:42	2188	[DEBUG]	Store custom available field
2023-10-13	13:00:42	2188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861680,3,'',1)
2023-10-13	13:00:42	2188	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:42	2188	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:42	2188	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861680 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:42	2188	[DEBUG]	Store custom available field
2023-10-13	13:00:42	2188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861680,6,'Unitaire',3)
2023-10-13	13:00:42	2188	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:42	2188	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:42	2188	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861679
2023-10-13	13:00:42	2188	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:42	2188	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861679\":[1861679,8,1,\"choisir la taille\"],\"1861680\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861679
2023-10-13	13:00:42	2188	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:42	2188	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861680
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:42	2189	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field taille
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:42	2189	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:42	2189	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:42	2189	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:42	2189	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:42	2189	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:42	2189	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:42	2189	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field published
2023-10-13	13:00:42	2189	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:42	2189	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field override
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:42	2189	[DEBUG]	Use field value for field slug
2023-10-13	13:00:42	2189	[DEBUG]	Process line 2189
2023-10-13	13:00:42	2189	[DEBUG]	Load a row
2023-10-13	13:00:42	2189	[DEBUG]	Processing item: A_9170_208
2023-10-13	13:00:42	2189	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:42	2189	[DEBUG]	Processing product tax
2023-10-13	13:00:42	2189	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:42	2189	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:42	2189	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:42	2189	[DEBUG]	Query for Product
2023-10-13	13:00:42	2189	[DEBUG]	Executed store
2023-10-13	13:00:42	2189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9170_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:42	2189	[DEBUG]	Check product language entry
2023-10-13	13:00:42	2189	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861681
2023-10-13	13:00:42	2189	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:42	2189	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9170_208' AND `virtuemart_product_id` != 1861681
2023-10-13	13:00:42	2189	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:42	2189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861681, 'A_9170_208')
2023-10-13	13:00:42	2189	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:42	2189	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-rt-cl800-160mm-center-lock-box-aucune' AND `virtuemart_product_id` != 1861681
2023-10-13	13:00:42	2189	[DEBUG]	Query for ProductLang
2023-10-13	13:00:42	2189	[DEBUG]	Executed store
2023-10-13	13:00:42	2189	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.82622',`product_name`='SHIMANO Disque RT-CL800 160mm Center-Lock box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-rt-cl800-160mm-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861681'
2023-10-13	13:00:42	2189	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_82622_0.jpg
2023-10-13	13:00:42	2189	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:42	2189	[DEBUG]	Process image file
2023-10-13	13:00:42	2189	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:42	2189	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:42	2189	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_82622_0.jpg
2023-10-13	13:00:42	2189	[DEBUG]	Full name target: bcprisme/73_82622_0.jpg
2023-10-13	13:00:43	2189	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:43	2189	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_82622_0.jpg'
2023-10-13	13:00:43	2189	[DEBUG]	Query for Media
2023-10-13	13:00:43	2189	[DEBUG]	Executed store
2023-10-13	13:00:43	2189	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_82622_0.jpg',`file_url_thumb`='bcprisme/73_82622_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1320300'
2023-10-13	13:00:43	2189	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:43	2189	[DEBUG]	Executed store
2023-10-13	13:00:43	2189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861681','1320300','1')
2023-10-13	13:00:43	2189	[DEBUG]	Store product image relation
2023-10-13	13:00:43	2189	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:43	2189	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861681 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:43	2189	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:43	2189	[DEBUG]	Executed store
2023-10-13	13:00:43	2189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861681','0','69.6378830083565','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:43	2189	[DEBUG]	Checking manufacturer
2023-10-13	13:00:43	2189	[DEBUG]	Load a row
2023-10-13	13:00:43	2189	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:43	2189	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:43	2189	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:43	2189	[DEBUG]	Executed store
2023-10-13	13:00:43	2189	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:43	2189	[DEBUG]	Manufacturer exists
2023-10-13	13:00:43	2189	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:43	2189	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:43	2189	[DEBUG]	Executed store
2023-10-13	13:00:43	2189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861681','26')
2023-10-13	13:00:43	2189	[DEBUG]	Find the custom field ID
2023-10-13	13:00:43	2189	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:43	2189	[DEBUG]	No custom field ID found
2023-10-13	13:00:43	2189	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:43	2189	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:43	2189	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861681 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:43	2189	[DEBUG]	Store custom available field
2023-10-13	13:00:43	2189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861681,3,'0',1)
2023-10-13	13:00:43	2189	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:43	2189	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:43	2189	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861681 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:43	2189	[DEBUG]	Store custom available field
2023-10-13	13:00:43	2189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861681,6,'choisir la taille',3)
2023-10-13	13:00:43	2189	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:43	2189	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:43	2189	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:43	2189	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:43	2189	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861681 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:43	2189	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:43	2189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861681,8,1)
2023-10-13	13:00:43	2189	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:43	2189	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861681\":[1861681,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861681
2023-10-13	13:00:43	2189	[DEBUG]	Checking category
2023-10-13	13:00:43	2189	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:43	2189	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861681
2023-10-13	13:00:43	2189	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:43	2189	[DEBUG]	Executed store
2023-10-13	13:00:43	2189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861681','7337')
2023-10-13	13:00:43	2189	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:43	2189	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861681 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:43	2189	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:43	2189	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861681
2023-10-13	13:00:43	2190	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:43	2190	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:43	2190	[DEBUG]	Use field value for field taille
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:43	2190	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:43	2190	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:43	2190	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:43	2190	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:43	2190	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:43	2190	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:43	2190	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:43	2190	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:43	2190	[DEBUG]	Use field value for field published
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:43	2190	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field override
2023-10-13	13:00:43	2190	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:43	2190	[DEBUG]	Use field value for field slug
2023-10-13	13:00:43	2190	[DEBUG]	Process line 2190
2023-10-13	13:00:43	2190	[DEBUG]	Load a row
2023-10-13	13:00:43	2190	[DEBUG]	Processing item: 4550170232719
2023-10-13	13:00:43	2190	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:43	2190	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:43	2190	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9170_208'
2023-10-13	13:00:43	2190	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:43	2190	[DEBUG]	Processing product tax
2023-10-13	13:00:43	2190	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:43	2190	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:43	2190	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:43	2190	[DEBUG]	Query for Product
2023-10-13	13:00:43	2190	[DEBUG]	Executed store
2023-10-13	13:00:43	2190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861681','4550170232719','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:43	2190	[DEBUG]	No parent found
2023-10-13	13:00:43	2190	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861681 AND customfield_value = 'stockable'
2023-10-13	13:00:43	2190	[DEBUG]	Check product language entry
2023-10-13	13:00:43	2190	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861682
2023-10-13	13:00:43	2190	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:43	2190	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170232719' AND `virtuemart_product_id` != 1861682
2023-10-13	13:00:43	2190	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:43	2190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861682, '4550170232719')
2023-10-13	13:00:43	2190	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:43	2190	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-rt-cl800-160mm-center-lock-box-aucune-unitaire' AND `virtuemart_product_id` != 1861682
2023-10-13	13:00:43	2190	[DEBUG]	Query for ProductLang
2023-10-13	13:00:43	2190	[DEBUG]	Executed store
2023-10-13	13:00:43	2190	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque RT-CL800 160mm Center-Lock box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-rt-cl800-160mm-center-lock-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861682'
2023-10-13	13:00:43	2190	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_82622_0.jpg
2023-10-13	13:00:43	2190	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:43	2190	[DEBUG]	Process image file
2023-10-13	13:00:43	2190	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:43	2190	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:43	2190	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_82622_0.jpg
2023-10-13	13:00:43	2190	[DEBUG]	Full name target: bcprisme/73_82622_0.jpg
2023-10-13	13:00:44	2190	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:44	2190	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_82622_0.jpg'
2023-10-13	13:00:44	2190	[DEBUG]	Query for Media
2023-10-13	13:00:44	2190	[DEBUG]	Executed store
2023-10-13	13:00:44	2190	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_82622_0.jpg',`file_url_thumb`='bcprisme/73_82622_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1320300'
2023-10-13	13:00:44	2190	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:44	2190	[DEBUG]	Executed store
2023-10-13	13:00:44	2190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861682','1320300','1')
2023-10-13	13:00:44	2190	[DEBUG]	Store product image relation
2023-10-13	13:00:44	2190	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:44	2190	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861682 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:44	2190	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:44	2190	[DEBUG]	Executed store
2023-10-13	13:00:44	2190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861682','0','69.6378830083565','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:44	2190	[DEBUG]	Checking manufacturer
2023-10-13	13:00:44	2190	[DEBUG]	Load a row
2023-10-13	13:00:44	2190	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:44	2190	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:44	2190	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:44	2190	[DEBUG]	Executed store
2023-10-13	13:00:44	2190	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:44	2190	[DEBUG]	Manufacturer exists
2023-10-13	13:00:44	2190	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:44	2190	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:44	2190	[DEBUG]	Executed store
2023-10-13	13:00:44	2190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861682','26')
2023-10-13	13:00:44	2190	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:44	2190	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:44	2190	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861682 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:44	2190	[DEBUG]	Store custom available field
2023-10-13	13:00:44	2190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861682,3,'',1)
2023-10-13	13:00:44	2190	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:44	2190	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:44	2190	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861682 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:44	2190	[DEBUG]	Store custom available field
2023-10-13	13:00:44	2190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861682,6,'Unitaire',3)
2023-10-13	13:00:44	2190	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:44	2190	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:44	2190	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861681
2023-10-13	13:00:44	2190	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:44	2190	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861681\":[1861681,8,1,\"choisir la taille\"],\"1861682\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861681
2023-10-13	13:00:44	2190	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:44	2190	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861682
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:44	2191	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field taille
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:44	2191	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:44	2191	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:44	2191	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:44	2191	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:44	2191	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:44	2191	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:44	2191	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field published
2023-10-13	13:00:44	2191	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:44	2191	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field override
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:44	2191	[DEBUG]	Use field value for field slug
2023-10-13	13:00:44	2191	[DEBUG]	Process line 2191
2023-10-13	13:00:44	2191	[DEBUG]	Load a row
2023-10-13	13:00:44	2191	[DEBUG]	Processing item: A_9255_208
2023-10-13	13:00:44	2191	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:44	2191	[DEBUG]	Processing product tax
2023-10-13	13:00:44	2191	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:44	2191	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:44	2191	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:44	2191	[DEBUG]	Query for Product
2023-10-13	13:00:44	2191	[DEBUG]	Executed store
2023-10-13	13:00:44	2191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9255_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:44	2191	[DEBUG]	Check product language entry
2023-10-13	13:00:44	2191	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861683
2023-10-13	13:00:44	2191	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:44	2191	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9255_208' AND `virtuemart_product_id` != 1861683
2023-10-13	13:00:44	2191	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:44	2191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861683, 'A_9255_208')
2023-10-13	13:00:44	2191	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:44	2191	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-rollerbrake-nexus-br-c3010-r-arriere-a-ecrous-aucune' AND `virtuemart_product_id` != 1861683
2023-10-13	13:00:44	2191	[DEBUG]	Query for ProductLang
2023-10-13	13:00:44	2191	[DEBUG]	Executed store
2023-10-13	13:00:44	2191	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.65097',`product_name`='SHIMANO Rollerbrake Nexus BR-C3010-R arrière a/écrous / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-rollerbrake-nexus-br-c3010-r-arriere-a-ecrous-aucune' WHERE `virtuemart_product_id` = '1861683'
2023-10-13	13:00:44	2191	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_65096_00.jpg has not been found.
2023-10-13	13:00:44	2191	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:44	2191	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861683 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:44	2191	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:44	2191	[DEBUG]	Executed store
2023-10-13	13:00:44	2191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861683','0','40.761374187558','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:44	2191	[DEBUG]	Checking manufacturer
2023-10-13	13:00:44	2191	[DEBUG]	Load a row
2023-10-13	13:00:44	2191	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:44	2191	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:44	2191	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:44	2191	[DEBUG]	Executed store
2023-10-13	13:00:44	2191	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:44	2191	[DEBUG]	Manufacturer exists
2023-10-13	13:00:44	2191	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:44	2191	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:44	2191	[DEBUG]	Executed store
2023-10-13	13:00:44	2191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861683','26')
2023-10-13	13:00:44	2191	[DEBUG]	Find the custom field ID
2023-10-13	13:00:44	2191	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:44	2191	[DEBUG]	No custom field ID found
2023-10-13	13:00:44	2191	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:44	2191	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:44	2191	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861683 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:44	2191	[DEBUG]	Store custom available field
2023-10-13	13:00:44	2191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861683,3,'0',1)
2023-10-13	13:00:44	2191	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:44	2191	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:44	2191	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861683 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:44	2191	[DEBUG]	Store custom available field
2023-10-13	13:00:44	2191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861683,6,'choisir la taille',3)
2023-10-13	13:00:44	2191	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:44	2191	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:44	2191	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:44	2191	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:44	2191	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861683 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:44	2191	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:44	2191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861683,8,1)
2023-10-13	13:00:44	2191	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:44	2191	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861683\":[1861683,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861683
2023-10-13	13:00:44	2191	[DEBUG]	Checking category
2023-10-13	13:00:44	2191	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:44	2191	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861683
2023-10-13	13:00:44	2191	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:44	2191	[DEBUG]	Executed store
2023-10-13	13:00:44	2191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861683','7337')
2023-10-13	13:00:44	2191	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:44	2191	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861683 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:44	2191	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:44	2191	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861683
2023-10-13	13:00:44	2192	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:44	2192	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:44	2192	[DEBUG]	Use field value for field taille
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:44	2192	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:44	2192	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:44	2192	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:44	2192	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:44	2192	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:44	2192	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:44	2192	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:44	2192	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:44	2192	[DEBUG]	Use field value for field published
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:44	2192	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field override
2023-10-13	13:00:44	2192	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:44	2192	[DEBUG]	Use field value for field slug
2023-10-13	13:00:44	2192	[DEBUG]	Process line 2192
2023-10-13	13:00:44	2192	[DEBUG]	Load a row
2023-10-13	13:00:44	2192	[DEBUG]	Processing item: 4550170598617
2023-10-13	13:00:44	2192	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:44	2192	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:44	2192	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9255_208'
2023-10-13	13:00:44	2192	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:44	2192	[DEBUG]	Processing product tax
2023-10-13	13:00:44	2192	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:44	2192	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:44	2192	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:44	2192	[DEBUG]	Query for Product
2023-10-13	13:00:44	2192	[DEBUG]	Executed store
2023-10-13	13:00:44	2192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861683','4550170598617','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:44	2192	[DEBUG]	No parent found
2023-10-13	13:00:44	2192	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861683 AND customfield_value = 'stockable'
2023-10-13	13:00:44	2192	[DEBUG]	Check product language entry
2023-10-13	13:00:44	2192	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861684
2023-10-13	13:00:44	2192	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:44	2192	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170598617' AND `virtuemart_product_id` != 1861684
2023-10-13	13:00:44	2192	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:44	2192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861684, '4550170598617')
2023-10-13	13:00:44	2192	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:44	2192	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-rollerbrake-nexus-br-c3010-r-arriere-a-ecrous-aucune-unitaire' AND `virtuemart_product_id` != 1861684
2023-10-13	13:00:44	2192	[DEBUG]	Query for ProductLang
2023-10-13	13:00:44	2192	[DEBUG]	Executed store
2023-10-13	13:00:44	2192	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Rollerbrake Nexus BR-C3010-R arrière a/écrous / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-rollerbrake-nexus-br-c3010-r-arriere-a-ecrous-aucune-unitaire' WHERE `virtuemart_product_id` = '1861684'
2023-10-13	13:00:44	2192	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_65096_00.jpg has not been found.
2023-10-13	13:00:44	2192	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:44	2192	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861684 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:44	2192	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:44	2192	[DEBUG]	Executed store
2023-10-13	13:00:44	2192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861684','0','40.761374187558','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:44	2192	[DEBUG]	Checking manufacturer
2023-10-13	13:00:44	2192	[DEBUG]	Load a row
2023-10-13	13:00:44	2192	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:44	2192	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:44	2192	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:44	2192	[DEBUG]	Executed store
2023-10-13	13:00:44	2192	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:00:44	2192	[DEBUG]	Manufacturer exists
2023-10-13	13:00:44	2192	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:00:44	2192	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:44	2192	[DEBUG]	Executed store
2023-10-13	13:00:44	2192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861684','26')
2023-10-13	13:00:44	2192	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:44	2192	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:44	2192	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861684 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:44	2192	[DEBUG]	Store custom available field
2023-10-13	13:00:44	2192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861684,3,'',1)
2023-10-13	13:00:44	2192	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:44	2192	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:44	2192	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861684 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:44	2192	[DEBUG]	Store custom available field
2023-10-13	13:00:44	2192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861684,6,'Unitaire',3)
2023-10-13	13:00:44	2192	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:44	2192	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:44	2192	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861683
2023-10-13	13:00:44	2192	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:44	2192	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861683\":[1861683,8,1,\"choisir la taille\"],\"1861684\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861683
2023-10-13	13:00:44	2192	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:44	2192	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861684
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:44	2193	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field taille
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:44	2193	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:44	2193	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:44	2193	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:44	2193	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:44	2193	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:44	2193	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field published
2023-10-13	13:00:44	2193	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:44	2193	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field override
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:44	2193	[DEBUG]	Use field value for field slug
2023-10-13	13:00:44	2193	[DEBUG]	Process line 2193
2023-10-13	13:00:44	2193	[DEBUG]	Load a row
2023-10-13	13:00:44	2193	[DEBUG]	Processing item: A_9355_774
2023-10-13	13:00:44	2193	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:44	2193	[DEBUG]	Processing product tax
2023-10-13	13:00:44	2193	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:44	2193	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:44	2193	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:44	2193	[DEBUG]	Query for Product
2023-10-13	13:00:44	2193	[DEBUG]	Executed store
2023-10-13	13:00:44	2193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9355_774','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:44	2193	[DEBUG]	Check product language entry
2023-10-13	13:00:44	2193	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861685
2023-10-13	13:00:44	2193	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:44	2193	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9355_774' AND `virtuemart_product_id` != 1861685
2023-10-13	13:00:44	2193	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:44	2193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861685, 'A_9355_774')
2023-10-13	13:00:44	2193	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:44	2193	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disc-brake---g2-re-gloss-black' AND `virtuemart_product_id` != 1861685
2023-10-13	13:00:44	2193	[DEBUG]	Query for ProductLang
2023-10-13	13:00:44	2193	[DEBUG]	Executed store
2023-10-13	13:00:44	2193	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820600021300221800',`product_name`='SRAM Disc Brake - G2 RE / gloss black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disc-brake---g2-re-gloss-black' WHERE `virtuemart_product_id` = '1861685'
2023-10-13	13:00:44	2193	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38447_disc_brake_-_g2_re.jpg
2023-10-13	13:00:44	2193	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:44	2193	[DEBUG]	Process image file
2023-10-13	13:00:44	2193	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:44	2193	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:44	2193	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38447_disc_brake_-_g2_re.jpg
2023-10-13	13:00:44	2193	[DEBUG]	Full name target: bcprisme/38447_disc_brake_-_g2_re.jpg
2023-10-13	13:00:45	2193	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:45	2193	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38447_disc_brake_-_g2_re.jpg'
2023-10-13	13:00:45	2193	[DEBUG]	Query for Media
2023-10-13	13:00:45	2193	[DEBUG]	Executed store
2023-10-13	13:00:45	2193	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38447_disc_brake_-_g2_re.jpg',`file_url_thumb`='bcprisme/38447_disc_brake_-_g2_re.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1400705'
2023-10-13	13:00:45	2193	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:45	2193	[DEBUG]	Executed store
2023-10-13	13:00:45	2193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861685','1400705','1')
2023-10-13	13:00:45	2193	[DEBUG]	Store product image relation
2023-10-13	13:00:45	2193	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:45	2193	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861685 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:45	2193	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:45	2193	[DEBUG]	Executed store
2023-10-13	13:00:45	2193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861685','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:45	2193	[DEBUG]	Checking manufacturer
2023-10-13	13:00:45	2193	[DEBUG]	Load a row
2023-10-13	13:00:45	2193	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:45	2193	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:45	2193	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:45	2193	[DEBUG]	Executed store
2023-10-13	13:00:45	2193	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:45	2193	[DEBUG]	Manufacturer exists
2023-10-13	13:00:45	2193	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:45	2193	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:45	2193	[DEBUG]	Executed store
2023-10-13	13:00:45	2193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861685','35')
2023-10-13	13:00:45	2193	[DEBUG]	Find the custom field ID
2023-10-13	13:00:45	2193	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:45	2193	[DEBUG]	No custom field ID found
2023-10-13	13:00:45	2193	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:45	2193	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:45	2193	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861685 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:45	2193	[DEBUG]	Store custom available field
2023-10-13	13:00:45	2193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861685,3,'0',1)
2023-10-13	13:00:45	2193	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:45	2193	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:45	2193	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861685 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:45	2193	[DEBUG]	Store custom available field
2023-10-13	13:00:45	2193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861685,6,'choisir la taille',3)
2023-10-13	13:00:45	2193	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:45	2193	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:45	2193	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:45	2193	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:45	2193	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861685 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:45	2193	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:45	2193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861685,8,1)
2023-10-13	13:00:45	2193	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:45	2193	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861685\":[1861685,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861685
2023-10-13	13:00:45	2193	[DEBUG]	Checking category
2023-10-13	13:00:45	2193	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:45	2193	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861685
2023-10-13	13:00:45	2193	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:45	2193	[DEBUG]	Executed store
2023-10-13	13:00:45	2193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861685','7337')
2023-10-13	13:00:45	2193	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:45	2193	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861685 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:45	2193	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:45	2193	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861685
2023-10-13	13:00:45	2194	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:45	2194	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:45	2194	[DEBUG]	Use field value for field taille
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:45	2194	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:45	2194	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:45	2194	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:45	2194	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:45	2194	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:45	2194	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:45	2194	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:45	2194	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:45	2194	[DEBUG]	Use field value for field published
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:45	2194	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field override
2023-10-13	13:00:45	2194	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:45	2194	[DEBUG]	Use field value for field slug
2023-10-13	13:00:45	2194	[DEBUG]	Process line 2194
2023-10-13	13:00:45	2194	[DEBUG]	Load a row
2023-10-13	13:00:45	2194	[DEBUG]	Processing item: 710845879661
2023-10-13	13:00:45	2194	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:45	2194	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:45	2194	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9355_774'
2023-10-13	13:00:45	2194	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:45	2194	[DEBUG]	Processing product tax
2023-10-13	13:00:45	2194	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:45	2194	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:45	2194	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:45	2194	[DEBUG]	Query for Product
2023-10-13	13:00:45	2194	[DEBUG]	Executed store
2023-10-13	13:00:45	2194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861685','710845879661','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:45	2194	[DEBUG]	No parent found
2023-10-13	13:00:45	2194	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861685 AND customfield_value = 'stockable'
2023-10-13	13:00:45	2194	[DEBUG]	Check product language entry
2023-10-13	13:00:45	2194	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861686
2023-10-13	13:00:45	2194	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:45	2194	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845879661' AND `virtuemart_product_id` != 1861686
2023-10-13	13:00:45	2194	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:45	2194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861686, '710845879661')
2023-10-13	13:00:45	2194	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:45	2194	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disc-brake---g2-re-gloss-black-1800mm' AND `virtuemart_product_id` != 1861686
2023-10-13	13:00:45	2194	[DEBUG]	Query for ProductLang
2023-10-13	13:00:45	2194	[DEBUG]	Executed store
2023-10-13	13:00:45	2194	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Disc Brake - G2 RE / gloss black (1800mm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disc-brake---g2-re-gloss-black-1800mm' WHERE `virtuemart_product_id` = '1861686'
2023-10-13	13:00:45	2194	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38447_disc_brake_-_g2_re.jpg
2023-10-13	13:00:45	2194	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:45	2194	[DEBUG]	Process image file
2023-10-13	13:00:45	2194	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:45	2194	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:45	2194	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38447_disc_brake_-_g2_re.jpg
2023-10-13	13:00:45	2194	[DEBUG]	Full name target: bcprisme/38447_disc_brake_-_g2_re.jpg
2023-10-13	13:00:46	2194	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:46	2194	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38447_disc_brake_-_g2_re.jpg'
2023-10-13	13:00:46	2194	[DEBUG]	Query for Media
2023-10-13	13:00:46	2194	[DEBUG]	Executed store
2023-10-13	13:00:46	2194	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38447_disc_brake_-_g2_re.jpg',`file_url_thumb`='bcprisme/38447_disc_brake_-_g2_re.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1400705'
2023-10-13	13:00:46	2194	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:46	2194	[DEBUG]	Executed store
2023-10-13	13:00:46	2194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861686','1400705','1')
2023-10-13	13:00:46	2194	[DEBUG]	Store product image relation
2023-10-13	13:00:46	2194	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:46	2194	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861686 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:46	2194	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:46	2194	[DEBUG]	Executed store
2023-10-13	13:00:46	2194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861686','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:46	2194	[DEBUG]	Checking manufacturer
2023-10-13	13:00:46	2194	[DEBUG]	Load a row
2023-10-13	13:00:46	2194	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:46	2194	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:46	2194	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:46	2194	[DEBUG]	Executed store
2023-10-13	13:00:46	2194	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:46	2194	[DEBUG]	Manufacturer exists
2023-10-13	13:00:46	2194	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:46	2194	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:46	2194	[DEBUG]	Executed store
2023-10-13	13:00:46	2194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861686','35')
2023-10-13	13:00:46	2194	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:46	2194	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:46	2194	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861686 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:46	2194	[DEBUG]	Store custom available field
2023-10-13	13:00:46	2194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861686,3,'',1)
2023-10-13	13:00:46	2194	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:46	2194	[DEBUG]	Get existing row with customfield value 1800mm
2023-10-13	13:00:46	2194	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861686 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:46	2194	[DEBUG]	Store custom available field
2023-10-13	13:00:46	2194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861686,6,'1800mm',3)
2023-10-13	13:00:46	2194	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:46	2194	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:46	2194	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861685
2023-10-13	13:00:46	2194	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:46	2194	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n1800mm\"}]|clabels=0|options={\"1861685\":[1861685,8,1,\"choisir la taille\"],\"1861686\":[\"1800mm\"]}|' WHERE `virtuemart_product_id` = 1861685
2023-10-13	13:00:46	2194	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:46	2194	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861686
2023-10-13	13:00:46	2195	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:46	2195	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:46	2195	[DEBUG]	Use field value for field taille
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:46	2195	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:46	2195	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:46	2195	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:46	2195	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:46	2195	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:46	2195	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:46	2195	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:46	2195	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:46	2195	[DEBUG]	Use field value for field published
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:46	2195	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field override
2023-10-13	13:00:46	2195	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:46	2195	[DEBUG]	Use field value for field slug
2023-10-13	13:00:46	2195	[DEBUG]	Process line 2195
2023-10-13	13:00:46	2195	[DEBUG]	Load a row
2023-10-13	13:00:46	2195	[DEBUG]	Processing item: 710845879654
2023-10-13	13:00:46	2195	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:46	2195	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:46	2195	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9355_774'
2023-10-13	13:00:46	2195	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:46	2195	[DEBUG]	Processing product tax
2023-10-13	13:00:46	2195	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:46	2195	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:46	2195	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:46	2195	[DEBUG]	Query for Product
2023-10-13	13:00:46	2195	[DEBUG]	Executed store
2023-10-13	13:00:46	2195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861685','710845879654','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:46	2195	[DEBUG]	No parent found
2023-10-13	13:00:46	2195	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861685 AND customfield_value = 'stockable'
2023-10-13	13:00:46	2195	[DEBUG]	Check product language entry
2023-10-13	13:00:46	2195	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861687
2023-10-13	13:00:46	2195	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:46	2195	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845879654' AND `virtuemart_product_id` != 1861687
2023-10-13	13:00:46	2195	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:46	2195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861687, '710845879654')
2023-10-13	13:00:46	2195	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:46	2195	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disc-brake---g2-re-gloss-black-950mm' AND `virtuemart_product_id` != 1861687
2023-10-13	13:00:46	2195	[DEBUG]	Query for ProductLang
2023-10-13	13:00:46	2195	[DEBUG]	Executed store
2023-10-13	13:00:46	2195	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Disc Brake - G2 RE / gloss black (950mm)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disc-brake---g2-re-gloss-black-950mm' WHERE `virtuemart_product_id` = '1861687'
2023-10-13	13:00:46	2195	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38447_disc_brake_-_g2_re.jpg
2023-10-13	13:00:46	2195	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:46	2195	[DEBUG]	Process image file
2023-10-13	13:00:46	2195	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:46	2195	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:46	2195	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38447_disc_brake_-_g2_re.jpg
2023-10-13	13:00:46	2195	[DEBUG]	Full name target: bcprisme/38447_disc_brake_-_g2_re.jpg
2023-10-13	13:00:47	2195	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:47	2195	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38447_disc_brake_-_g2_re.jpg'
2023-10-13	13:00:47	2195	[DEBUG]	Query for Media
2023-10-13	13:00:47	2195	[DEBUG]	Executed store
2023-10-13	13:00:47	2195	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38447_disc_brake_-_g2_re.jpg',`file_url_thumb`='bcprisme/38447_disc_brake_-_g2_re.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1400705'
2023-10-13	13:00:47	2195	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:47	2195	[DEBUG]	Executed store
2023-10-13	13:00:47	2195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861687','1400705','1')
2023-10-13	13:00:47	2195	[DEBUG]	Store product image relation
2023-10-13	13:00:47	2195	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:47	2195	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861687 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:47	2195	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:47	2195	[DEBUG]	Executed store
2023-10-13	13:00:47	2195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861687','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:47	2195	[DEBUG]	Checking manufacturer
2023-10-13	13:00:47	2195	[DEBUG]	Load a row
2023-10-13	13:00:47	2195	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:47	2195	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:47	2195	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:47	2195	[DEBUG]	Executed store
2023-10-13	13:00:47	2195	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:47	2195	[DEBUG]	Manufacturer exists
2023-10-13	13:00:47	2195	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:47	2195	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:47	2195	[DEBUG]	Executed store
2023-10-13	13:00:47	2195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861687','35')
2023-10-13	13:00:47	2195	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:47	2195	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:47	2195	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861687 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:47	2195	[DEBUG]	Store custom available field
2023-10-13	13:00:47	2195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861687,3,'',1)
2023-10-13	13:00:47	2195	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:47	2195	[DEBUG]	Get existing row with customfield value 950mm
2023-10-13	13:00:47	2195	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861687 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:47	2195	[DEBUG]	Store custom available field
2023-10-13	13:00:47	2195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861687,6,'950mm',3)
2023-10-13	13:00:47	2195	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:47	2195	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:47	2195	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861685
2023-10-13	13:00:47	2195	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:47	2195	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\n1800mm\\r\\n950mm\"}]|clabels=0|options={\"1861685\":[1861685,8,1,\"choisir la taille\"],\"1861686\":[\"1800mm\"],\"1861687\":[\"950mm\"]}|' WHERE `virtuemart_product_id` = 1861685
2023-10-13	13:00:47	2195	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:47	2195	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861687
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:47	2196	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field taille
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:47	2196	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:47	2196	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:47	2196	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:47	2196	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:47	2196	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:47	2196	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field published
2023-10-13	13:00:47	2196	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:47	2196	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field override
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:47	2196	[DEBUG]	Use field value for field slug
2023-10-13	13:00:47	2196	[DEBUG]	Process line 2196
2023-10-13	13:00:47	2196	[DEBUG]	Load a row
2023-10-13	13:00:47	2196	[DEBUG]	Processing item: A_9422_731
2023-10-13	13:00:47	2196	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:47	2196	[DEBUG]	Processing product tax
2023-10-13	13:00:47	2196	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:47	2196	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:47	2196	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:47	2196	[DEBUG]	Query for Product
2023-10-13	13:00:47	2196	[DEBUG]	Executed store
2023-10-13	13:00:47	2196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9422_731','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:47	2196	[DEBUG]	Check product language entry
2023-10-13	13:00:47	2196	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861688
2023-10-13	13:00:47	2196	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:47	2196	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9422_731' AND `virtuemart_product_id` != 1861688
2023-10-13	13:00:47	2196	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:47	2196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861688, 'A_9422_731')
2023-10-13	13:00:47	2196	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:47	2196	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-hs2-rounded-centerlock-160mm-160mm-n-a' AND `virtuemart_product_id` != 1861688
2023-10-13	13:00:47	2196	[DEBUG]	Query for ProductLang
2023-10-13	13:00:47	2196	[DEBUG]	Executed store
2023-10-13	13:00:47	2196	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820700002200000160',`product_name`='SRAM Rotor HS2 Rounded CenterLock 160mm 160mm / N/A',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-hs2-rounded-centerlock-160mm-160mm-n-a' WHERE `virtuemart_product_id` = '1861688'
2023-10-13	13:00:47	2196	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38626_rotor_hs2_rounded_centerlock_160mm_160mm.jpg
2023-10-13	13:00:47	2196	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:47	2196	[DEBUG]	Process image file
2023-10-13	13:00:47	2196	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:47	2196	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:47	2196	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38626_rotor_hs2_rounded_centerlock_160mm_160mm.jpg
2023-10-13	13:00:47	2196	[DEBUG]	Full name target: bcprisme/38626_rotor_hs2_rounded_centerlock_160mm_160mm.jpg
2023-10-13	13:00:48	2196	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:48	2196	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38626_rotor_hs2_rounded_centerlock_160mm_160mm.jpg'
2023-10-13	13:00:48	2196	[DEBUG]	Query for Media
2023-10-13	13:00:48	2196	[DEBUG]	Executed store
2023-10-13	13:00:48	2196	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38626_rotor_hs2_rounded_centerlock_160mm_160mm.jpg',`file_url_thumb`='bcprisme/38626_rotor_hs2_rounded_centerlock_160mm_160mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1411671'
2023-10-13	13:00:48	2196	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:48	2196	[DEBUG]	Executed store
2023-10-13	13:00:48	2196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861688','1411671','1')
2023-10-13	13:00:48	2196	[DEBUG]	Store product image relation
2023-10-13	13:00:48	2196	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:48	2196	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861688 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:48	2196	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:48	2196	[DEBUG]	Executed store
2023-10-13	13:00:48	2196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861688','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:48	2196	[DEBUG]	Checking manufacturer
2023-10-13	13:00:48	2196	[DEBUG]	Load a row
2023-10-13	13:00:48	2196	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:48	2196	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:48	2196	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:48	2196	[DEBUG]	Executed store
2023-10-13	13:00:48	2196	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:48	2196	[DEBUG]	Manufacturer exists
2023-10-13	13:00:48	2196	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:48	2196	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:48	2196	[DEBUG]	Executed store
2023-10-13	13:00:48	2196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861688','35')
2023-10-13	13:00:48	2196	[DEBUG]	Find the custom field ID
2023-10-13	13:00:48	2196	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:48	2196	[DEBUG]	No custom field ID found
2023-10-13	13:00:48	2196	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:48	2196	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:48	2196	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861688 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:48	2196	[DEBUG]	Store custom available field
2023-10-13	13:00:48	2196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861688,3,'0',1)
2023-10-13	13:00:48	2196	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:48	2196	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:48	2196	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861688 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:48	2196	[DEBUG]	Store custom available field
2023-10-13	13:00:48	2196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861688,6,'choisir la taille',3)
2023-10-13	13:00:48	2196	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:48	2196	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:48	2196	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:48	2196	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:48	2196	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861688 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:48	2196	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:48	2196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861688,8,1)
2023-10-13	13:00:48	2196	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:48	2196	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861688\":[1861688,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861688
2023-10-13	13:00:48	2196	[DEBUG]	Checking category
2023-10-13	13:00:48	2196	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:48	2196	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861688
2023-10-13	13:00:48	2196	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:48	2196	[DEBUG]	Executed store
2023-10-13	13:00:48	2196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861688','7337')
2023-10-13	13:00:48	2196	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:48	2196	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861688 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:48	2196	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:48	2196	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861688
2023-10-13	13:00:48	2197	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:48	2197	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:48	2197	[DEBUG]	Use field value for field taille
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:48	2197	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:48	2197	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:48	2197	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:48	2197	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:48	2197	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:48	2197	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:48	2197	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:48	2197	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:48	2197	[DEBUG]	Use field value for field published
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:48	2197	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field override
2023-10-13	13:00:48	2197	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:48	2197	[DEBUG]	Use field value for field slug
2023-10-13	13:00:48	2197	[DEBUG]	Process line 2197
2023-10-13	13:00:48	2197	[DEBUG]	Load a row
2023-10-13	13:00:48	2197	[DEBUG]	Processing item: 710845862366
2023-10-13	13:00:48	2197	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:48	2197	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:48	2197	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9422_731'
2023-10-13	13:00:48	2197	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:48	2197	[DEBUG]	Processing product tax
2023-10-13	13:00:48	2197	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:48	2197	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:48	2197	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:48	2197	[DEBUG]	Query for Product
2023-10-13	13:00:48	2197	[DEBUG]	Executed store
2023-10-13	13:00:48	2197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861688','710845862366','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:48	2197	[DEBUG]	No parent found
2023-10-13	13:00:48	2197	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861688 AND customfield_value = 'stockable'
2023-10-13	13:00:48	2197	[DEBUG]	Check product language entry
2023-10-13	13:00:48	2197	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861689
2023-10-13	13:00:48	2197	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:48	2197	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845862366' AND `virtuemart_product_id` != 1861689
2023-10-13	13:00:48	2197	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:48	2197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861689, '710845862366')
2023-10-13	13:00:48	2197	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:48	2197	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-hs2-rounded-centerlock-160mm-160mm-n-a-unitaire' AND `virtuemart_product_id` != 1861689
2023-10-13	13:00:48	2197	[DEBUG]	Query for ProductLang
2023-10-13	13:00:48	2197	[DEBUG]	Executed store
2023-10-13	13:00:48	2197	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Rotor HS2 Rounded CenterLock 160mm 160mm / N/A (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-hs2-rounded-centerlock-160mm-160mm-n-a-unitaire' WHERE `virtuemart_product_id` = '1861689'
2023-10-13	13:00:48	2197	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38626_rotor_hs2_rounded_centerlock_160mm_160mm.jpg
2023-10-13	13:00:48	2197	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:48	2197	[DEBUG]	Process image file
2023-10-13	13:00:48	2197	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:48	2197	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:48	2197	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38626_rotor_hs2_rounded_centerlock_160mm_160mm.jpg
2023-10-13	13:00:48	2197	[DEBUG]	Full name target: bcprisme/38626_rotor_hs2_rounded_centerlock_160mm_160mm.jpg
2023-10-13	13:00:49	2197	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:49	2197	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38626_rotor_hs2_rounded_centerlock_160mm_160mm.jpg'
2023-10-13	13:00:49	2197	[DEBUG]	Query for Media
2023-10-13	13:00:49	2197	[DEBUG]	Executed store
2023-10-13	13:00:49	2197	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38626_rotor_hs2_rounded_centerlock_160mm_160mm.jpg',`file_url_thumb`='bcprisme/38626_rotor_hs2_rounded_centerlock_160mm_160mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1411671'
2023-10-13	13:00:49	2197	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:49	2197	[DEBUG]	Executed store
2023-10-13	13:00:49	2197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861689','1411671','1')
2023-10-13	13:00:49	2197	[DEBUG]	Store product image relation
2023-10-13	13:00:49	2197	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:49	2197	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861689 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:49	2197	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:49	2197	[DEBUG]	Executed store
2023-10-13	13:00:49	2197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861689','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:49	2197	[DEBUG]	Checking manufacturer
2023-10-13	13:00:49	2197	[DEBUG]	Load a row
2023-10-13	13:00:49	2197	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:49	2197	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:49	2197	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:49	2197	[DEBUG]	Executed store
2023-10-13	13:00:49	2197	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:49	2197	[DEBUG]	Manufacturer exists
2023-10-13	13:00:49	2197	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:49	2197	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:49	2197	[DEBUG]	Executed store
2023-10-13	13:00:49	2197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861689','35')
2023-10-13	13:00:49	2197	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:49	2197	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:49	2197	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861689 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:49	2197	[DEBUG]	Store custom available field
2023-10-13	13:00:49	2197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861689,3,'',1)
2023-10-13	13:00:49	2197	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:49	2197	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:49	2197	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861689 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:49	2197	[DEBUG]	Store custom available field
2023-10-13	13:00:49	2197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861689,6,'Unitaire',3)
2023-10-13	13:00:49	2197	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:49	2197	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:49	2197	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861688
2023-10-13	13:00:49	2197	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:49	2197	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861688\":[1861688,8,1,\"choisir la taille\"],\"1861689\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861688
2023-10-13	13:00:49	2197	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:49	2197	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861689
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:49	2198	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field taille
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:49	2198	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:49	2198	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:49	2198	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:49	2198	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:49	2198	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:49	2198	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field published
2023-10-13	13:00:49	2198	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:49	2198	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field override
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:49	2198	[DEBUG]	Use field value for field slug
2023-10-13	13:00:49	2198	[DEBUG]	Process line 2198
2023-10-13	13:00:49	2198	[DEBUG]	Load a row
2023-10-13	13:00:49	2198	[DEBUG]	Processing item: A_9423_731
2023-10-13	13:00:49	2198	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:49	2198	[DEBUG]	Processing product tax
2023-10-13	13:00:49	2198	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:49	2198	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:49	2198	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:49	2198	[DEBUG]	Query for Product
2023-10-13	13:00:49	2198	[DEBUG]	Executed store
2023-10-13	13:00:49	2198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9423_731','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:49	2198	[DEBUG]	Check product language entry
2023-10-13	13:00:49	2198	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861690
2023-10-13	13:00:49	2198	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:49	2198	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9423_731' AND `virtuemart_product_id` != 1861690
2023-10-13	13:00:49	2198	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:49	2198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861690, 'A_9423_731')
2023-10-13	13:00:49	2198	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:49	2198	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-hs2-rounded-6-bolt-160mm-160mm-n-a' AND `virtuemart_product_id` != 1861690
2023-10-13	13:00:49	2198	[DEBUG]	Query for ProductLang
2023-10-13	13:00:49	2198	[DEBUG]	Executed store
2023-10-13	13:00:49	2198	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820700001800000160',`product_name`='SRAM Rotor HS2 Rounded 6-bolt 160mm 160mm / N/A',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-hs2-rounded-6-bolt-160mm-160mm-n-a' WHERE `virtuemart_product_id` = '1861690'
2023-10-13	13:00:49	2198	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38627_rotor_hs2_rounded_6-bolt_160mm_160mm.jpg
2023-10-13	13:00:49	2198	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:49	2198	[DEBUG]	Process image file
2023-10-13	13:00:49	2198	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:49	2198	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:49	2198	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38627_rotor_hs2_rounded_6-bolt_160mm_160mm.jpg
2023-10-13	13:00:49	2198	[DEBUG]	Full name target: bcprisme/38627_rotor_hs2_rounded_6-bolt_160mm_160mm.jpg
2023-10-13	13:00:50	2198	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:50	2198	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38627_rotor_hs2_rounded_6-bolt_160mm_160mm.jpg'
2023-10-13	13:00:50	2198	[DEBUG]	Query for Media
2023-10-13	13:00:50	2198	[DEBUG]	Executed store
2023-10-13	13:00:50	2198	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38627_rotor_hs2_rounded_6-bolt_160mm_160mm.jpg',`file_url_thumb`='bcprisme/38627_rotor_hs2_rounded_6-bolt_160mm_160mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1411673'
2023-10-13	13:00:50	2198	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:50	2198	[DEBUG]	Executed store
2023-10-13	13:00:50	2198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861690','1411673','1')
2023-10-13	13:00:50	2198	[DEBUG]	Store product image relation
2023-10-13	13:00:50	2198	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:50	2198	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861690 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:50	2198	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:50	2198	[DEBUG]	Executed store
2023-10-13	13:00:50	2198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861690','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:50	2198	[DEBUG]	Checking manufacturer
2023-10-13	13:00:50	2198	[DEBUG]	Load a row
2023-10-13	13:00:50	2198	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:50	2198	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:50	2198	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:50	2198	[DEBUG]	Executed store
2023-10-13	13:00:50	2198	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:50	2198	[DEBUG]	Manufacturer exists
2023-10-13	13:00:50	2198	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:50	2198	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:50	2198	[DEBUG]	Executed store
2023-10-13	13:00:50	2198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861690','35')
2023-10-13	13:00:50	2198	[DEBUG]	Find the custom field ID
2023-10-13	13:00:50	2198	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:50	2198	[DEBUG]	No custom field ID found
2023-10-13	13:00:50	2198	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:50	2198	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:50	2198	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861690 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:50	2198	[DEBUG]	Store custom available field
2023-10-13	13:00:50	2198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861690,3,'0',1)
2023-10-13	13:00:50	2198	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:50	2198	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:50	2198	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861690 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:50	2198	[DEBUG]	Store custom available field
2023-10-13	13:00:50	2198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861690,6,'choisir la taille',3)
2023-10-13	13:00:50	2198	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:50	2198	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:50	2198	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:50	2198	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:50	2198	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861690 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:50	2198	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:50	2198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861690,8,1)
2023-10-13	13:00:50	2198	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:50	2198	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861690\":[1861690,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861690
2023-10-13	13:00:50	2198	[DEBUG]	Checking category
2023-10-13	13:00:50	2198	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:50	2198	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861690
2023-10-13	13:00:50	2198	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:50	2198	[DEBUG]	Executed store
2023-10-13	13:00:50	2198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861690','7337')
2023-10-13	13:00:50	2198	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:50	2198	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861690 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:50	2198	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:50	2198	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861690
2023-10-13	13:00:50	2199	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:50	2199	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:00:50	2199	[DEBUG]	Use field value for field taille
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:00:50	2199	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field category_path
2023-10-13	13:00:50	2199	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:50	2199	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:50	2199	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:50	2199	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:00:50	2199	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field product_weight
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:50	2199	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:50	2199	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:50	2199	[DEBUG]	Use field value for field published
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field custom_title
2023-10-13	13:00:50	2199	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field custom_param
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field override
2023-10-13	13:00:50	2199	[DEBUG]	Use default value for field public_price
2023-10-13	13:00:50	2199	[DEBUG]	Use field value for field slug
2023-10-13	13:00:50	2199	[DEBUG]	Process line 2199
2023-10-13	13:00:50	2199	[DEBUG]	Load a row
2023-10-13	13:00:50	2199	[DEBUG]	Processing item: 710845862328
2023-10-13	13:00:50	2199	[DEBUG]	Looking for parent SKU
2023-10-13	13:00:50	2199	[DEBUG]	Checking product parent SKU
2023-10-13	13:00:50	2199	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9423_731'
2023-10-13	13:00:50	2199	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:50	2199	[DEBUG]	Processing product tax
2023-10-13	13:00:50	2199	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:50	2199	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:50	2199	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:50	2199	[DEBUG]	Query for Product
2023-10-13	13:00:50	2199	[DEBUG]	Executed store
2023-10-13	13:00:50	2199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861690','710845862328','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:50	2199	[DEBUG]	No parent found
2023-10-13	13:00:50	2199	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861690 AND customfield_value = 'stockable'
2023-10-13	13:00:50	2199	[DEBUG]	Check product language entry
2023-10-13	13:00:50	2199	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861691
2023-10-13	13:00:50	2199	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:50	2199	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845862328' AND `virtuemart_product_id` != 1861691
2023-10-13	13:00:50	2199	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:50	2199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861691, '710845862328')
2023-10-13	13:00:50	2199	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:50	2199	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-hs2-rounded-6-bolt-160mm-160mm-n-a-unitaire' AND `virtuemart_product_id` != 1861691
2023-10-13	13:00:50	2199	[DEBUG]	Query for ProductLang
2023-10-13	13:00:50	2199	[DEBUG]	Executed store
2023-10-13	13:00:50	2199	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Rotor HS2 Rounded 6-bolt 160mm 160mm / N/A (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-hs2-rounded-6-bolt-160mm-160mm-n-a-unitaire' WHERE `virtuemart_product_id` = '1861691'
2023-10-13	13:00:50	2199	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38627_rotor_hs2_rounded_6-bolt_160mm_160mm.jpg
2023-10-13	13:00:50	2199	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:50	2199	[DEBUG]	Process image file
2023-10-13	13:00:50	2199	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:50	2199	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:50	2199	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38627_rotor_hs2_rounded_6-bolt_160mm_160mm.jpg
2023-10-13	13:00:50	2199	[DEBUG]	Full name target: bcprisme/38627_rotor_hs2_rounded_6-bolt_160mm_160mm.jpg
2023-10-13	13:00:51	2199	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:51	2199	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38627_rotor_hs2_rounded_6-bolt_160mm_160mm.jpg'
2023-10-13	13:00:51	2199	[DEBUG]	Query for Media
2023-10-13	13:00:51	2199	[DEBUG]	Executed store
2023-10-13	13:00:51	2199	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38627_rotor_hs2_rounded_6-bolt_160mm_160mm.jpg',`file_url_thumb`='bcprisme/38627_rotor_hs2_rounded_6-bolt_160mm_160mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1411673'
2023-10-13	13:00:51	2199	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:51	2199	[DEBUG]	Executed store
2023-10-13	13:00:51	2199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861691','1411673','1')
2023-10-13	13:00:51	2199	[DEBUG]	Store product image relation
2023-10-13	13:00:51	2199	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:51	2199	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861691 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:51	2199	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:51	2199	[DEBUG]	Executed store
2023-10-13	13:00:51	2199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861691','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:51	2199	[DEBUG]	Checking manufacturer
2023-10-13	13:00:51	2199	[DEBUG]	Load a row
2023-10-13	13:00:51	2199	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:51	2199	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:51	2199	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:51	2199	[DEBUG]	Executed store
2023-10-13	13:00:51	2199	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:51	2199	[DEBUG]	Manufacturer exists
2023-10-13	13:00:51	2199	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:51	2199	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:51	2199	[DEBUG]	Executed store
2023-10-13	13:00:51	2199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861691','35')
2023-10-13	13:00:51	2199	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:51	2199	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:00:51	2199	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861691 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:51	2199	[DEBUG]	Store custom available field
2023-10-13	13:00:51	2199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861691,3,'',1)
2023-10-13	13:00:51	2199	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:51	2199	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:00:51	2199	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861691 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:51	2199	[DEBUG]	Store custom available field
2023-10-13	13:00:51	2199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861691,6,'Unitaire',3)
2023-10-13	13:00:51	2199	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:51	2199	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:00:51	2199	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861690
2023-10-13	13:00:51	2199	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:51	2199	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861690\":[1861690,8,1,\"choisir la taille\"],\"1861691\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861690
2023-10-13	13:00:51	2199	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:51	2199	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861691
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field product_sku
2023-10-13	13:00:51	2200	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field taille
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field product_name
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field category_path
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field product_price
2023-10-13	13:00:51	2200	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field product_tax
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field file_url
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:00:51	2200	[DEBUG]	Use default value for field product_desc
2023-10-13	13:00:51	2200	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field product_availability
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field product_weight
2023-10-13	13:00:51	2200	[DEBUG]	Use default value for field product_unit
2023-10-13	13:00:51	2200	[DEBUG]	Use default value for field related_products
2023-10-13	13:00:51	2200	[DEBUG]	Use default value for field product_special
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field published
2023-10-13	13:00:51	2200	[DEBUG]	Use default value for field metadesc
2023-10-13	13:00:51	2200	[DEBUG]	Use default value for field metakey
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field custom_title
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field custom_value
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field custom_param
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field override
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field public_price
2023-10-13	13:00:51	2200	[DEBUG]	Use field value for field slug
2023-10-13	13:00:51	2200	[DEBUG]	Process line 2200
2023-10-13	13:00:51	2200	[DEBUG]	Load a row
2023-10-13	13:00:51	2200	[DEBUG]	Processing item: A_9424_731
2023-10-13	13:00:51	2200	[DEBUG]	Product tax: 7.7
2023-10-13	13:00:51	2200	[DEBUG]	Processing product tax
2023-10-13	13:00:51	2200	[DEBUG]	Check if calculation rule exists
2023-10-13	13:00:51	2200	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:00:51	2200	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:00:51	2200	[DEBUG]	Query for Product
2023-10-13	13:00:51	2200	[DEBUG]	Executed store
2023-10-13	13:00:51	2200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9424_731','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0')
2023-10-13	13:00:51	2200	[DEBUG]	Check product language entry
2023-10-13	13:00:51	2200	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861692
2023-10-13	13:00:51	2200	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:51	2200	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9424_731' AND `virtuemart_product_id` != 1861692
2023-10-13	13:00:51	2200	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:00:51	2200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861692, 'A_9424_731')
2023-10-13	13:00:51	2200	[DEBUG]	Check if the product slug exists
2023-10-13	13:00:51	2200	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-hs2-rounded-6-bolt-180mm-180mm-n-a' AND `virtuemart_product_id` != 1861692
2023-10-13	13:00:51	2200	[DEBUG]	Query for ProductLang
2023-10-13	13:00:51	2200	[DEBUG]	Executed store
2023-10-13	13:00:51	2200	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820700001900000180',`product_name`='SRAM Rotor HS2 Rounded 6-bolt 180mm 180mm / N/A',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-hs2-rounded-6-bolt-180mm-180mm-n-a' WHERE `virtuemart_product_id` = '1861692'
2023-10-13	13:00:51	2200	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38628_rotor_hs2_rounded_6-bolt_180mm_180mm.jpg
2023-10-13	13:00:51	2200	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:51	2200	[DEBUG]	Process image file
2023-10-13	13:00:51	2200	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:00:51	2200	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:00:51	2200	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38628_rotor_hs2_rounded_6-bolt_180mm_180mm.jpg
2023-10-13	13:00:51	2200	[DEBUG]	Full name target: bcprisme/38628_rotor_hs2_rounded_6-bolt_180mm_180mm.jpg
2023-10-13	13:00:52	2200	[DEBUG]	Checking if the file_url exists
2023-10-13	13:00:52	2200	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38628_rotor_hs2_rounded_6-bolt_180mm_180mm.jpg'
2023-10-13	13:00:52	2200	[DEBUG]	Query for Media
2023-10-13	13:00:52	2200	[DEBUG]	Executed store
2023-10-13	13:00:52	2200	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38628_rotor_hs2_rounded_6-bolt_180mm_180mm.jpg',`file_url_thumb`='bcprisme/38628_rotor_hs2_rounded_6-bolt_180mm_180mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1411675'
2023-10-13	13:00:52	2200	[DEBUG]	Query for ProductMedia
2023-10-13	13:00:52	2200	[DEBUG]	Executed store
2023-10-13	13:00:52	2200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861692','1411675','1')
2023-10-13	13:00:52	2200	[DEBUG]	Store product image relation
2023-10-13	13:00:52	2200	[DEBUG]	Finding a product_price_id
2023-10-13	13:00:52	2200	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861692 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:00:52	2200	[DEBUG]	Query for ProductPrice
2023-10-13	13:00:52	2200	[DEBUG]	Executed store
2023-10-13	13:00:52	2200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861692','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 12:59:11','1593','2023-10-13 12:59:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:00:52	2200	[DEBUG]	Checking manufacturer
2023-10-13	13:00:52	2200	[DEBUG]	Load a row
2023-10-13	13:00:52	2200	[DEBUG]	Manufacturer already exists
2023-10-13	13:00:52	2200	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:52	2200	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:00:52	2200	[DEBUG]	Executed store
2023-10-13	13:00:52	2200	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:00:52	2200	[DEBUG]	Manufacturer exists
2023-10-13	13:00:52	2200	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:00:52	2200	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:00:52	2200	[DEBUG]	Executed store
2023-10-13	13:00:52	2200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861692','35')
2023-10-13	13:00:52	2200	[DEBUG]	Find the custom field ID
2023-10-13	13:00:52	2200	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:00:52	2200	[DEBUG]	No custom field ID found
2023-10-13	13:00:52	2200	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:00:52	2200	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:00:52	2200	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861692 AND `virtuemart_custom_id` = 3
2023-10-13	13:00:52	2200	[DEBUG]	Store custom available field
2023-10-13	13:00:52	2200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861692,3,'0',1)
2023-10-13	13:00:52	2200	[DEBUG]	Processing custom available field: taille
2023-10-13	13:00:52	2200	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:00:52	2200	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861692 AND `virtuemart_custom_id` = 6
2023-10-13	13:00:52	2200	[DEBUG]	Store custom available field
2023-10-13	13:00:52	2200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861692,6,'choisir la taille',3)
2023-10-13	13:00:52	2200	[DEBUG]	Process multi-variant fields
2023-10-13	13:00:52	2200	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:00:52	2200	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:00:52	2200	[DEBUG]	Find the multi variant product entry
2023-10-13	13:00:52	2200	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861692 AND `virtuemart_custom_id` = 8
2023-10-13	13:00:52	2200	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:00:52	2200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861692,8,1)
2023-10-13	13:00:52	2200	[DEBUG]	Store the updated customfield_params
2023-10-13	13:00:52	2200	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861692\":[1861692,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861692
2023-10-13	13:00:52	2200	[DEBUG]	Checking category
2023-10-13	13:00:52	2200	[DEBUG]	Get the existing categories for the product
2023-10-13	13:00:52	2200	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861692
2023-10-13	13:00:52	2200	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:00:52	2200	[DEBUG]	Executed store
2023-10-13	13:00:52	2200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861692','7337')
2023-10-13	13:00:52	2200	[DEBUG]	Delete leftover product categories
2023-10-13	13:00:52	2200	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861692 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:00:52	2200	[DEBUG]	Update has fields after all processing
2023-10-13	13:00:52	2200	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861692
2023-10-13	13:01:12	2200	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:01:12	2200	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:01:12	2200	[DEBUG]	Load the fields to process
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: product_sku
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: taille
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: product_name
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: category_path
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: product_price
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: product_override_price
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: product_tax
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: file_url
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: product_desc
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: product_availability
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: product_weight
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: product_unit
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: related_products
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: product_special
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: published
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: metadesc
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: metakey
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: custom_title
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: custom_value
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: custom_param
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: override
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: public_price
2023-10-13	13:01:12	2200	[DEBUG]	Setup field: slug
2023-10-13	13:01:12	2200	[DEBUG]	Use the file for configuration
2023-10-13	13:01:12	2200	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:01:12	2200	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:01:12	2200	[DEBUG]	Load the custom fields
2023-10-13	13:01:12	2200	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:01:12	2200	[DEBUG]	Load stockable custom fields
2023-10-13	13:01:12	2200	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:01:12	2200	[DEBUG]	Load custom fields for all
2023-10-13	13:01:12	2200	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:01:12	2201	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:12	2201	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:12	2201	[DEBUG]	Use field value for field taille
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:12	2201	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:12	2201	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:12	2201	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:12	2201	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:12	2201	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:12	2201	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:12	2201	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:12	2201	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:12	2201	[DEBUG]	Use field value for field published
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:12	2201	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field override
2023-10-13	13:01:12	2201	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:12	2201	[DEBUG]	Use field value for field slug
2023-10-13	13:01:12	2201	[DEBUG]	Process line 2201
2023-10-13	13:01:12	2201	[DEBUG]	Check if the vendor exists
2023-10-13	13:01:12	2201	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '710845862335'
2023-10-13	13:01:12	2201	[DEBUG]	Load a row
2023-10-13	13:01:12	2201	[DEBUG]	Processing item: 710845862335
2023-10-13	13:01:12	2201	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:12	2201	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:12	2201	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9424_731'
2023-10-13	13:01:12	2201	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:12	2201	[DEBUG]	Processing product tax
2023-10-13	13:01:12	2201	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:12	2201	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:12	2201	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:12	2201	[DEBUG]	Query for Product
2023-10-13	13:01:13	2201	[DEBUG]	Executed store
2023-10-13	13:01:13	2201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861692','710845862335','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:13	2201	[DEBUG]	No parent found
2023-10-13	13:01:13	2201	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861692 AND customfield_value = 'stockable'
2023-10-13	13:01:13	2201	[DEBUG]	Check product language entry
2023-10-13	13:01:13	2201	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861693
2023-10-13	13:01:13	2201	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:13	2201	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845862335' AND `virtuemart_product_id` != 1861693
2023-10-13	13:01:13	2201	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:13	2201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861693, '710845862335')
2023-10-13	13:01:13	2201	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:13	2201	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-hs2-rounded-6-bolt-180mm-180mm-n-a-unitaire' AND `virtuemart_product_id` != 1861693
2023-10-13	13:01:13	2201	[DEBUG]	Query for ProductLang
2023-10-13	13:01:13	2201	[DEBUG]	Executed store
2023-10-13	13:01:13	2201	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Rotor HS2 Rounded 6-bolt 180mm 180mm / N/A (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-hs2-rounded-6-bolt-180mm-180mm-n-a-unitaire' WHERE `virtuemart_product_id` = '1861693'
2023-10-13	13:01:13	2201	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38628_rotor_hs2_rounded_6-bolt_180mm_180mm.jpg
2023-10-13	13:01:13	2201	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:13	2201	[DEBUG]	Process image file
2023-10-13	13:01:13	2201	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:13	2201	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:13	2201	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38628_rotor_hs2_rounded_6-bolt_180mm_180mm.jpg
2023-10-13	13:01:13	2201	[DEBUG]	Full name target: bcprisme/38628_rotor_hs2_rounded_6-bolt_180mm_180mm.jpg
2023-10-13	13:01:13	2201	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:13	2201	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38628_rotor_hs2_rounded_6-bolt_180mm_180mm.jpg'
2023-10-13	13:01:13	2201	[DEBUG]	Query for Media
2023-10-13	13:01:14	2201	[DEBUG]	Executed store
2023-10-13	13:01:14	2201	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38628_rotor_hs2_rounded_6-bolt_180mm_180mm.jpg',`file_url_thumb`='bcprisme/38628_rotor_hs2_rounded_6-bolt_180mm_180mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1411675'
2023-10-13	13:01:14	2201	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:14	2201	[DEBUG]	Executed store
2023-10-13	13:01:14	2201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861693','1411675','1')
2023-10-13	13:01:14	2201	[DEBUG]	Store product image relation
2023-10-13	13:01:14	2201	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:14	2201	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861693 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:14	2201	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:14	2201	[DEBUG]	Executed store
2023-10-13	13:01:14	2201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861693','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:14	2201	[DEBUG]	Checking manufacturer
2023-10-13	13:01:14	2201	[DEBUG]	Load a row
2023-10-13	13:01:14	2201	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:14	2201	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:01:14	2201	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:14	2201	[DEBUG]	Executed store
2023-10-13	13:01:14	2201	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:01:14	2201	[DEBUG]	Manufacturer exists
2023-10-13	13:01:14	2201	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:01:14	2201	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:14	2201	[DEBUG]	Executed store
2023-10-13	13:01:14	2201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861693','35')
2023-10-13	13:01:14	2201	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:14	2201	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:14	2201	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861693 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:14	2201	[DEBUG]	Store custom available field
2023-10-13	13:01:14	2201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861693,3,'',1)
2023-10-13	13:01:14	2201	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:14	2201	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:14	2201	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861693 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:14	2201	[DEBUG]	Store custom available field
2023-10-13	13:01:14	2201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861693,6,'Unitaire',3)
2023-10-13	13:01:14	2201	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:14	2201	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:14	2201	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861692
2023-10-13	13:01:14	2201	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:14	2201	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861692\":[1861692,8,1,\"choisir la taille\"],\"1861693\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861692
2023-10-13	13:01:14	2201	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:14	2201	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861693
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:14	2202	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field taille
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:14	2202	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:14	2202	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:14	2202	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:14	2202	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:14	2202	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:14	2202	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field published
2023-10-13	13:01:14	2202	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:14	2202	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field override
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:14	2202	[DEBUG]	Use field value for field slug
2023-10-13	13:01:14	2202	[DEBUG]	Process line 2202
2023-10-13	13:01:14	2202	[DEBUG]	Load a row
2023-10-13	13:01:14	2202	[DEBUG]	Processing item: A_9425_731
2023-10-13	13:01:14	2202	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:14	2202	[DEBUG]	Processing product tax
2023-10-13	13:01:14	2202	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:14	2202	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:14	2202	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:14	2202	[DEBUG]	Query for Product
2023-10-13	13:01:14	2202	[DEBUG]	Executed store
2023-10-13	13:01:14	2202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9425_731','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:14	2202	[DEBUG]	Check product language entry
2023-10-13	13:01:14	2202	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861694
2023-10-13	13:01:14	2202	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:14	2202	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9425_731' AND `virtuemart_product_id` != 1861694
2023-10-13	13:01:14	2202	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:14	2202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861694, 'A_9425_731')
2023-10-13	13:01:14	2202	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:14	2202	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-hs2-rounded-centerlock-220mm-220mm-n-a' AND `virtuemart_product_id` != 1861694
2023-10-13	13:01:14	2202	[DEBUG]	Query for ProductLang
2023-10-13	13:01:14	2202	[DEBUG]	Executed store
2023-10-13	13:01:14	2202	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820700002500000220',`product_name`='SRAM Rotor HS2 Rounded CenterLock 220mm 220mm / N/A',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-hs2-rounded-centerlock-220mm-220mm-n-a' WHERE `virtuemart_product_id` = '1861694'
2023-10-13	13:01:14	2202	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38629_rotor_hs2_rounded_centerlock_220mm_220mm.jpg
2023-10-13	13:01:14	2202	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:14	2202	[DEBUG]	Process image file
2023-10-13	13:01:14	2202	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:14	2202	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:14	2202	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38629_rotor_hs2_rounded_centerlock_220mm_220mm.jpg
2023-10-13	13:01:14	2202	[DEBUG]	Full name target: bcprisme/38629_rotor_hs2_rounded_centerlock_220mm_220mm.jpg
2023-10-13	13:01:15	2202	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:15	2202	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38629_rotor_hs2_rounded_centerlock_220mm_220mm.jpg'
2023-10-13	13:01:15	2202	[DEBUG]	Query for Media
2023-10-13	13:01:15	2202	[DEBUG]	Executed store
2023-10-13	13:01:15	2202	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38629_rotor_hs2_rounded_centerlock_220mm_220mm.jpg',`file_url_thumb`='bcprisme/38629_rotor_hs2_rounded_centerlock_220mm_220mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1411677'
2023-10-13	13:01:15	2202	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:15	2202	[DEBUG]	Executed store
2023-10-13	13:01:15	2202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861694','1411677','1')
2023-10-13	13:01:15	2202	[DEBUG]	Store product image relation
2023-10-13	13:01:15	2202	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:15	2202	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861694 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:15	2202	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:15	2202	[DEBUG]	Executed store
2023-10-13	13:01:15	2202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861694','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:15	2202	[DEBUG]	Checking manufacturer
2023-10-13	13:01:15	2202	[DEBUG]	Load a row
2023-10-13	13:01:15	2202	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:15	2202	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:01:15	2202	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:15	2202	[DEBUG]	Executed store
2023-10-13	13:01:15	2202	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:01:15	2202	[DEBUG]	Manufacturer exists
2023-10-13	13:01:15	2202	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:01:15	2202	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:15	2202	[DEBUG]	Executed store
2023-10-13	13:01:15	2202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861694','35')
2023-10-13	13:01:15	2202	[DEBUG]	Find the custom field ID
2023-10-13	13:01:15	2202	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:15	2202	[DEBUG]	No custom field ID found
2023-10-13	13:01:15	2202	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:15	2202	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:15	2202	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861694 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:15	2202	[DEBUG]	Store custom available field
2023-10-13	13:01:15	2202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861694,3,'0',1)
2023-10-13	13:01:15	2202	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:15	2202	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:15	2202	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861694 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:15	2202	[DEBUG]	Store custom available field
2023-10-13	13:01:15	2202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861694,6,'choisir la taille',3)
2023-10-13	13:01:15	2202	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:15	2202	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:15	2202	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:15	2202	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:15	2202	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861694 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:15	2202	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:15	2202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861694,8,1)
2023-10-13	13:01:15	2202	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:15	2202	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861694\":[1861694,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861694
2023-10-13	13:01:15	2202	[DEBUG]	Checking category
2023-10-13	13:01:15	2202	[DEBUG]	Check if category path exists: FREINS / DISQUES - BREMSE / BREMSCHEIBE
2023-10-13	13:01:15	2202	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / DISQUES - BREMSE / BREMSCHEIBE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:01:15	2202	[DEBUG]	Check if category path exists: DISQUES - BREMSCHEIBE
2023-10-13	13:01:15	2202	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'DISQUES - BREMSCHEIBE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7336
2023-10-13	13:01:15	2202	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:15	2202	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861694
2023-10-13	13:01:15	2202	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:15	2202	[DEBUG]	Executed store
2023-10-13	13:01:15	2202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861694','7337')
2023-10-13	13:01:15	2202	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:15	2202	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861694 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:01:15	2202	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:15	2202	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861694
2023-10-13	13:01:15	2203	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:15	2203	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:15	2203	[DEBUG]	Use field value for field taille
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:15	2203	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:15	2203	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:15	2203	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:15	2203	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:15	2203	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:15	2203	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:15	2203	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:15	2203	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:15	2203	[DEBUG]	Use field value for field published
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:15	2203	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field override
2023-10-13	13:01:15	2203	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:15	2203	[DEBUG]	Use field value for field slug
2023-10-13	13:01:15	2203	[DEBUG]	Process line 2203
2023-10-13	13:01:15	2203	[DEBUG]	Load a row
2023-10-13	13:01:15	2203	[DEBUG]	Processing item: 710845862397
2023-10-13	13:01:15	2203	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:15	2203	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:15	2203	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9425_731'
2023-10-13	13:01:15	2203	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:15	2203	[DEBUG]	Processing product tax
2023-10-13	13:01:15	2203	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:15	2203	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:15	2203	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:15	2203	[DEBUG]	Query for Product
2023-10-13	13:01:15	2203	[DEBUG]	Executed store
2023-10-13	13:01:15	2203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861694','710845862397','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:15	2203	[DEBUG]	No parent found
2023-10-13	13:01:15	2203	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861694 AND customfield_value = 'stockable'
2023-10-13	13:01:15	2203	[DEBUG]	Check product language entry
2023-10-13	13:01:15	2203	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861695
2023-10-13	13:01:15	2203	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:15	2203	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845862397' AND `virtuemart_product_id` != 1861695
2023-10-13	13:01:15	2203	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:15	2203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861695, '710845862397')
2023-10-13	13:01:15	2203	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:15	2203	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-hs2-rounded-centerlock-220mm-220mm-n-a-unitaire' AND `virtuemart_product_id` != 1861695
2023-10-13	13:01:15	2203	[DEBUG]	Query for ProductLang
2023-10-13	13:01:15	2203	[DEBUG]	Executed store
2023-10-13	13:01:15	2203	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Rotor HS2 Rounded CenterLock 220mm 220mm / N/A (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-hs2-rounded-centerlock-220mm-220mm-n-a-unitaire' WHERE `virtuemart_product_id` = '1861695'
2023-10-13	13:01:15	2203	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38629_rotor_hs2_rounded_centerlock_220mm_220mm.jpg
2023-10-13	13:01:15	2203	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:15	2203	[DEBUG]	Process image file
2023-10-13	13:01:15	2203	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:15	2203	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:15	2203	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38629_rotor_hs2_rounded_centerlock_220mm_220mm.jpg
2023-10-13	13:01:15	2203	[DEBUG]	Full name target: bcprisme/38629_rotor_hs2_rounded_centerlock_220mm_220mm.jpg
2023-10-13	13:01:16	2203	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:16	2203	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38629_rotor_hs2_rounded_centerlock_220mm_220mm.jpg'
2023-10-13	13:01:16	2203	[DEBUG]	Query for Media
2023-10-13	13:01:16	2203	[DEBUG]	Executed store
2023-10-13	13:01:16	2203	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38629_rotor_hs2_rounded_centerlock_220mm_220mm.jpg',`file_url_thumb`='bcprisme/38629_rotor_hs2_rounded_centerlock_220mm_220mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1411677'
2023-10-13	13:01:16	2203	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:16	2203	[DEBUG]	Executed store
2023-10-13	13:01:16	2203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861695','1411677','1')
2023-10-13	13:01:16	2203	[DEBUG]	Store product image relation
2023-10-13	13:01:16	2203	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:16	2203	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861695 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:16	2203	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:16	2203	[DEBUG]	Executed store
2023-10-13	13:01:16	2203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861695','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:16	2203	[DEBUG]	Checking manufacturer
2023-10-13	13:01:16	2203	[DEBUG]	Load a row
2023-10-13	13:01:16	2203	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:16	2203	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:01:16	2203	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:16	2203	[DEBUG]	Executed store
2023-10-13	13:01:16	2203	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:01:16	2203	[DEBUG]	Manufacturer exists
2023-10-13	13:01:16	2203	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:01:16	2203	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:16	2203	[DEBUG]	Executed store
2023-10-13	13:01:16	2203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861695','35')
2023-10-13	13:01:16	2203	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:16	2203	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:16	2203	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861695 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:16	2203	[DEBUG]	Store custom available field
2023-10-13	13:01:16	2203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861695,3,'',1)
2023-10-13	13:01:16	2203	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:16	2203	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:16	2203	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861695 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:16	2203	[DEBUG]	Store custom available field
2023-10-13	13:01:16	2203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861695,6,'Unitaire',3)
2023-10-13	13:01:16	2203	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:16	2203	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:16	2203	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861694
2023-10-13	13:01:16	2203	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:16	2203	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861694\":[1861694,8,1,\"choisir la taille\"],\"1861695\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861694
2023-10-13	13:01:16	2203	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:16	2203	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861695
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:16	2204	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field taille
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:16	2204	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:16	2204	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:16	2204	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:16	2204	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:16	2204	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:16	2204	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field published
2023-10-13	13:01:16	2204	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:16	2204	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field override
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:16	2204	[DEBUG]	Use field value for field slug
2023-10-13	13:01:16	2204	[DEBUG]	Process line 2204
2023-10-13	13:01:16	2204	[DEBUG]	Load a row
2023-10-13	13:01:16	2204	[DEBUG]	Processing item: A_9426_731
2023-10-13	13:01:16	2204	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:16	2204	[DEBUG]	Processing product tax
2023-10-13	13:01:16	2204	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:16	2204	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:16	2204	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:16	2204	[DEBUG]	Query for Product
2023-10-13	13:01:16	2204	[DEBUG]	Executed store
2023-10-13	13:01:16	2204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9426_731','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:16	2204	[DEBUG]	Check product language entry
2023-10-13	13:01:16	2204	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861696
2023-10-13	13:01:16	2204	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:16	2204	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9426_731' AND `virtuemart_product_id` != 1861696
2023-10-13	13:01:16	2204	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:16	2204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861696, 'A_9426_731')
2023-10-13	13:01:16	2204	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:16	2204	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-hs2-rounded-centerlock-180mm-180mm-n-a' AND `virtuemart_product_id` != 1861696
2023-10-13	13:01:16	2204	[DEBUG]	Query for ProductLang
2023-10-13	13:01:16	2204	[DEBUG]	Executed store
2023-10-13	13:01:16	2204	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820700002300000180',`product_name`='SRAM Rotor HS2 Rounded CenterLock 180mm 180mm / N/A',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-hs2-rounded-centerlock-180mm-180mm-n-a' WHERE `virtuemart_product_id` = '1861696'
2023-10-13	13:01:16	2204	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38630_rotor_hs2_rounded_centerlock_180mm_180mm.jpg
2023-10-13	13:01:16	2204	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:16	2204	[DEBUG]	Process image file
2023-10-13	13:01:16	2204	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:16	2204	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:16	2204	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38630_rotor_hs2_rounded_centerlock_180mm_180mm.jpg
2023-10-13	13:01:16	2204	[DEBUG]	Full name target: bcprisme/38630_rotor_hs2_rounded_centerlock_180mm_180mm.jpg
2023-10-13	13:01:17	2204	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:17	2204	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38630_rotor_hs2_rounded_centerlock_180mm_180mm.jpg'
2023-10-13	13:01:17	2204	[DEBUG]	Query for Media
2023-10-13	13:01:17	2204	[DEBUG]	Executed store
2023-10-13	13:01:17	2204	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38630_rotor_hs2_rounded_centerlock_180mm_180mm.jpg',`file_url_thumb`='bcprisme/38630_rotor_hs2_rounded_centerlock_180mm_180mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1411679'
2023-10-13	13:01:17	2204	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:17	2204	[DEBUG]	Executed store
2023-10-13	13:01:17	2204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861696','1411679','1')
2023-10-13	13:01:17	2204	[DEBUG]	Store product image relation
2023-10-13	13:01:17	2204	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:17	2204	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861696 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:17	2204	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:17	2204	[DEBUG]	Executed store
2023-10-13	13:01:17	2204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861696','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:17	2204	[DEBUG]	Checking manufacturer
2023-10-13	13:01:17	2204	[DEBUG]	Load a row
2023-10-13	13:01:17	2204	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:17	2204	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:01:17	2204	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:17	2204	[DEBUG]	Executed store
2023-10-13	13:01:17	2204	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:01:17	2204	[DEBUG]	Manufacturer exists
2023-10-13	13:01:17	2204	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:01:17	2204	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:17	2204	[DEBUG]	Executed store
2023-10-13	13:01:17	2204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861696','35')
2023-10-13	13:01:17	2204	[DEBUG]	Find the custom field ID
2023-10-13	13:01:17	2204	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:17	2204	[DEBUG]	No custom field ID found
2023-10-13	13:01:17	2204	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:17	2204	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:17	2204	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861696 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:17	2204	[DEBUG]	Store custom available field
2023-10-13	13:01:17	2204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861696,3,'0',1)
2023-10-13	13:01:17	2204	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:17	2204	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:17	2204	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861696 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:17	2204	[DEBUG]	Store custom available field
2023-10-13	13:01:17	2204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861696,6,'choisir la taille',3)
2023-10-13	13:01:17	2204	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:17	2204	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:17	2204	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:17	2204	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:17	2204	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861696 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:17	2204	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:17	2204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861696,8,1)
2023-10-13	13:01:17	2204	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:17	2204	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861696\":[1861696,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861696
2023-10-13	13:01:17	2204	[DEBUG]	Checking category
2023-10-13	13:01:17	2204	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:17	2204	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861696
2023-10-13	13:01:17	2204	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:17	2204	[DEBUG]	Executed store
2023-10-13	13:01:17	2204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861696','7337')
2023-10-13	13:01:17	2204	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:17	2204	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861696 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:01:17	2204	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:17	2204	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861696
2023-10-13	13:01:17	2205	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:17	2205	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:17	2205	[DEBUG]	Use field value for field taille
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:17	2205	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:17	2205	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:17	2205	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:17	2205	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:17	2205	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:17	2205	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:17	2205	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:17	2205	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:17	2205	[DEBUG]	Use field value for field published
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:17	2205	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field override
2023-10-13	13:01:17	2205	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:17	2205	[DEBUG]	Use field value for field slug
2023-10-13	13:01:17	2205	[DEBUG]	Process line 2205
2023-10-13	13:01:17	2205	[DEBUG]	Load a row
2023-10-13	13:01:17	2205	[DEBUG]	Processing item: 710845862373
2023-10-13	13:01:17	2205	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:17	2205	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:17	2205	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9426_731'
2023-10-13	13:01:17	2205	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:17	2205	[DEBUG]	Processing product tax
2023-10-13	13:01:17	2205	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:17	2205	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:17	2205	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:17	2205	[DEBUG]	Query for Product
2023-10-13	13:01:17	2205	[DEBUG]	Executed store
2023-10-13	13:01:17	2205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861696','710845862373','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:17	2205	[DEBUG]	No parent found
2023-10-13	13:01:17	2205	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861696 AND customfield_value = 'stockable'
2023-10-13	13:01:17	2205	[DEBUG]	Check product language entry
2023-10-13	13:01:17	2205	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861697
2023-10-13	13:01:17	2205	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:17	2205	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845862373' AND `virtuemart_product_id` != 1861697
2023-10-13	13:01:17	2205	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:17	2205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861697, '710845862373')
2023-10-13	13:01:17	2205	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:17	2205	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-rotor-hs2-rounded-centerlock-180mm-180mm-n-a-unitaire' AND `virtuemart_product_id` != 1861697
2023-10-13	13:01:17	2205	[DEBUG]	Query for ProductLang
2023-10-13	13:01:17	2205	[DEBUG]	Executed store
2023-10-13	13:01:17	2205	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Rotor HS2 Rounded CenterLock 180mm 180mm / N/A (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-rotor-hs2-rounded-centerlock-180mm-180mm-n-a-unitaire' WHERE `virtuemart_product_id` = '1861697'
2023-10-13	13:01:17	2205	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38630_rotor_hs2_rounded_centerlock_180mm_180mm.jpg
2023-10-13	13:01:17	2205	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:17	2205	[DEBUG]	Process image file
2023-10-13	13:01:17	2205	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:17	2205	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:17	2205	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38630_rotor_hs2_rounded_centerlock_180mm_180mm.jpg
2023-10-13	13:01:17	2205	[DEBUG]	Full name target: bcprisme/38630_rotor_hs2_rounded_centerlock_180mm_180mm.jpg
2023-10-13	13:01:18	2205	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:18	2205	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38630_rotor_hs2_rounded_centerlock_180mm_180mm.jpg'
2023-10-13	13:01:18	2205	[DEBUG]	Query for Media
2023-10-13	13:01:18	2205	[DEBUG]	Executed store
2023-10-13	13:01:18	2205	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38630_rotor_hs2_rounded_centerlock_180mm_180mm.jpg',`file_url_thumb`='bcprisme/38630_rotor_hs2_rounded_centerlock_180mm_180mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1411679'
2023-10-13	13:01:18	2205	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:18	2205	[DEBUG]	Executed store
2023-10-13	13:01:18	2205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861697','1411679','1')
2023-10-13	13:01:18	2205	[DEBUG]	Store product image relation
2023-10-13	13:01:18	2205	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:18	2205	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861697 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:18	2205	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:18	2205	[DEBUG]	Executed store
2023-10-13	13:01:18	2205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861697','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:18	2205	[DEBUG]	Checking manufacturer
2023-10-13	13:01:18	2205	[DEBUG]	Load a row
2023-10-13	13:01:18	2205	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:18	2205	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:01:18	2205	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:18	2205	[DEBUG]	Executed store
2023-10-13	13:01:18	2205	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:01:18	2205	[DEBUG]	Manufacturer exists
2023-10-13	13:01:18	2205	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:01:18	2205	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:18	2205	[DEBUG]	Executed store
2023-10-13	13:01:18	2205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861697','35')
2023-10-13	13:01:18	2205	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:18	2205	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:18	2205	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861697 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:18	2205	[DEBUG]	Store custom available field
2023-10-13	13:01:18	2205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861697,3,'',1)
2023-10-13	13:01:18	2205	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:18	2205	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:18	2205	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861697 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:18	2205	[DEBUG]	Store custom available field
2023-10-13	13:01:18	2205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861697,6,'Unitaire',3)
2023-10-13	13:01:18	2205	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:18	2205	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:18	2205	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861696
2023-10-13	13:01:18	2205	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:18	2205	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861696\":[1861696,8,1,\"choisir la taille\"],\"1861697\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861696
2023-10-13	13:01:18	2205	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:18	2205	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861697
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:18	2206	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field taille
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:18	2206	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:18	2206	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:18	2206	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:18	2206	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:18	2206	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:18	2206	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field published
2023-10-13	13:01:18	2206	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:18	2206	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field override
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:18	2206	[DEBUG]	Use field value for field slug
2023-10-13	13:01:18	2206	[DEBUG]	Process line 2206
2023-10-13	13:01:18	2206	[DEBUG]	Load a row
2023-10-13	13:01:18	2206	[DEBUG]	Processing item: A_9468_208
2023-10-13	13:01:18	2206	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:18	2206	[DEBUG]	Processing product tax
2023-10-13	13:01:18	2206	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:18	2206	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:18	2206	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:18	2206	[DEBUG]	Query for Product
2023-10-13	13:01:18	2206	[DEBUG]	Executed store
2023-10-13	13:01:18	2206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9468_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:18	2206	[DEBUG]	Check product language entry
2023-10-13	13:01:18	2206	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861698
2023-10-13	13:01:18	2206	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:18	2206	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9468_208' AND `virtuemart_product_id` != 1861698
2023-10-13	13:01:18	2206	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:18	2206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861698, 'A_9468_208')
2023-10-13	13:01:18	2206	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:18	2206	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-xtr-rt-mt900-140-mm-center-lock-box-aucune' AND `virtuemart_product_id` != 1861698
2023-10-13	13:01:18	2206	[DEBUG]	Query for ProductLang
2023-10-13	13:01:18	2206	[DEBUG]	Executed store
2023-10-13	13:01:18	2206	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.72584',`product_name`='SHIMANO Disque XTR RT-MT900 140 mm Center-Lock box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-xtr-rt-mt900-140-mm-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861698'
2023-10-13	13:01:18	2206	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7258.jpg
2023-10-13	13:01:18	2206	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:18	2206	[DEBUG]	Process image file
2023-10-13	13:01:18	2206	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:18	2206	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:18	2206	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7258.jpg
2023-10-13	13:01:18	2206	[DEBUG]	Full name target: bcprisme/73_7258.jpg
2023-10-13	13:01:19	2206	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:19	2206	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_7258.jpg'
2023-10-13	13:01:19	2206	[DEBUG]	Query for Media
2023-10-13	13:01:19	2206	[DEBUG]	Executed store
2023-10-13	13:01:19	2206	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_7258.jpg',`file_url_thumb`='bcprisme/73_7258.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1422741'
2023-10-13	13:01:19	2206	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:19	2206	[DEBUG]	Executed store
2023-10-13	13:01:19	2206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861698','1422741','1')
2023-10-13	13:01:19	2206	[DEBUG]	Store product image relation
2023-10-13	13:01:19	2206	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:19	2206	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861698 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:19	2206	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:19	2206	[DEBUG]	Executed store
2023-10-13	13:01:19	2206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861698','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:19	2206	[DEBUG]	Checking manufacturer
2023-10-13	13:01:19	2206	[DEBUG]	Load a row
2023-10-13	13:01:19	2206	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:19	2206	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:19	2206	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:19	2206	[DEBUG]	Executed store
2023-10-13	13:01:19	2206	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:19	2206	[DEBUG]	Manufacturer exists
2023-10-13	13:01:19	2206	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:19	2206	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:19	2206	[DEBUG]	Executed store
2023-10-13	13:01:19	2206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861698','26')
2023-10-13	13:01:19	2206	[DEBUG]	Find the custom field ID
2023-10-13	13:01:19	2206	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:19	2206	[DEBUG]	No custom field ID found
2023-10-13	13:01:19	2206	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:19	2206	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:19	2206	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861698 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:19	2206	[DEBUG]	Store custom available field
2023-10-13	13:01:19	2206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861698,3,'0',1)
2023-10-13	13:01:19	2206	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:19	2206	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:19	2206	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861698 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:19	2206	[DEBUG]	Store custom available field
2023-10-13	13:01:19	2206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861698,6,'choisir la taille',3)
2023-10-13	13:01:19	2206	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:19	2206	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:19	2206	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:19	2206	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:19	2206	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861698 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:19	2206	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:19	2206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861698,8,1)
2023-10-13	13:01:19	2206	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:19	2206	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861698\":[1861698,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861698
2023-10-13	13:01:19	2206	[DEBUG]	Checking category
2023-10-13	13:01:19	2206	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:19	2206	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861698
2023-10-13	13:01:19	2206	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:19	2206	[DEBUG]	Executed store
2023-10-13	13:01:19	2206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861698','7337')
2023-10-13	13:01:19	2206	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:19	2206	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861698 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:01:19	2206	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:19	2206	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861698
2023-10-13	13:01:19	2207	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:19	2207	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:19	2207	[DEBUG]	Use field value for field taille
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:19	2207	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:19	2207	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:19	2207	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:19	2207	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:19	2207	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:19	2207	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:19	2207	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:19	2207	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:19	2207	[DEBUG]	Use field value for field published
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:19	2207	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field override
2023-10-13	13:01:19	2207	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:19	2207	[DEBUG]	Use field value for field slug
2023-10-13	13:01:19	2207	[DEBUG]	Process line 2207
2023-10-13	13:01:19	2207	[DEBUG]	Load a row
2023-10-13	13:01:19	2207	[DEBUG]	Processing item: 4550170530778
2023-10-13	13:01:19	2207	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:19	2207	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:19	2207	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9468_208'
2023-10-13	13:01:19	2207	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:19	2207	[DEBUG]	Processing product tax
2023-10-13	13:01:19	2207	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:19	2207	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:19	2207	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:19	2207	[DEBUG]	Query for Product
2023-10-13	13:01:19	2207	[DEBUG]	Executed store
2023-10-13	13:01:19	2207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861698','4550170530778','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:19	2207	[DEBUG]	No parent found
2023-10-13	13:01:19	2207	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861698 AND customfield_value = 'stockable'
2023-10-13	13:01:19	2207	[DEBUG]	Check product language entry
2023-10-13	13:01:19	2207	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861699
2023-10-13	13:01:19	2207	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:19	2207	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170530778' AND `virtuemart_product_id` != 1861699
2023-10-13	13:01:19	2207	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:19	2207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861699, '4550170530778')
2023-10-13	13:01:19	2207	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:19	2207	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-xtr-rt-mt900-140-mm-center-lock-box-aucune-unitaire' AND `virtuemart_product_id` != 1861699
2023-10-13	13:01:19	2207	[DEBUG]	Query for ProductLang
2023-10-13	13:01:19	2207	[DEBUG]	Executed store
2023-10-13	13:01:19	2207	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque XTR RT-MT900 140 mm Center-Lock box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-xtr-rt-mt900-140-mm-center-lock-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861699'
2023-10-13	13:01:19	2207	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7258.jpg
2023-10-13	13:01:19	2207	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:19	2207	[DEBUG]	Process image file
2023-10-13	13:01:19	2207	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:19	2207	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:19	2207	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7258.jpg
2023-10-13	13:01:19	2207	[DEBUG]	Full name target: bcprisme/73_7258.jpg
2023-10-13	13:01:20	2207	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:20	2207	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_7258.jpg'
2023-10-13	13:01:20	2207	[DEBUG]	Query for Media
2023-10-13	13:01:20	2207	[DEBUG]	Executed store
2023-10-13	13:01:20	2207	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_7258.jpg',`file_url_thumb`='bcprisme/73_7258.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1422741'
2023-10-13	13:01:20	2207	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:20	2207	[DEBUG]	Executed store
2023-10-13	13:01:20	2207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861699','1422741','1')
2023-10-13	13:01:20	2207	[DEBUG]	Store product image relation
2023-10-13	13:01:20	2207	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:20	2207	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861699 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:20	2207	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:20	2207	[DEBUG]	Executed store
2023-10-13	13:01:20	2207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861699','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:20	2207	[DEBUG]	Checking manufacturer
2023-10-13	13:01:20	2207	[DEBUG]	Load a row
2023-10-13	13:01:20	2207	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:20	2207	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:20	2207	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:20	2207	[DEBUG]	Executed store
2023-10-13	13:01:20	2207	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:20	2207	[DEBUG]	Manufacturer exists
2023-10-13	13:01:20	2207	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:20	2207	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:20	2207	[DEBUG]	Executed store
2023-10-13	13:01:20	2207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861699','26')
2023-10-13	13:01:20	2207	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:20	2207	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:20	2207	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861699 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:20	2207	[DEBUG]	Store custom available field
2023-10-13	13:01:20	2207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861699,3,'',1)
2023-10-13	13:01:20	2207	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:20	2207	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:20	2207	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861699 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:20	2207	[DEBUG]	Store custom available field
2023-10-13	13:01:20	2207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861699,6,'Unitaire',3)
2023-10-13	13:01:20	2207	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:20	2207	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:20	2207	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861698
2023-10-13	13:01:20	2207	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:20	2207	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861698\":[1861698,8,1,\"choisir la taille\"],\"1861699\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861698
2023-10-13	13:01:20	2207	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:20	2207	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861699
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:20	2208	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field taille
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:20	2208	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:20	2208	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:20	2208	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:20	2208	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:20	2208	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:20	2208	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field published
2023-10-13	13:01:20	2208	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:20	2208	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field override
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:20	2208	[DEBUG]	Use field value for field slug
2023-10-13	13:01:20	2208	[DEBUG]	Process line 2208
2023-10-13	13:01:20	2208	[DEBUG]	Load a row
2023-10-13	13:01:20	2208	[DEBUG]	Processing item: A_9469_208
2023-10-13	13:01:20	2208	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:20	2208	[DEBUG]	Processing product tax
2023-10-13	13:01:20	2208	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:20	2208	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:20	2208	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:20	2208	[DEBUG]	Query for Product
2023-10-13	13:01:20	2208	[DEBUG]	Executed store
2023-10-13	13:01:20	2208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9469_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:20	2208	[DEBUG]	Check product language entry
2023-10-13	13:01:20	2208	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861700
2023-10-13	13:01:20	2208	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:20	2208	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9469_208' AND `virtuemart_product_id` != 1861700
2023-10-13	13:01:20	2208	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:20	2208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861700, 'A_9469_208')
2023-10-13	13:01:20	2208	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:20	2208	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-xtr-rt-mt900-160-mm-center-lock-box-aucune' AND `virtuemart_product_id` != 1861700
2023-10-13	13:01:20	2208	[DEBUG]	Query for ProductLang
2023-10-13	13:01:20	2208	[DEBUG]	Executed store
2023-10-13	13:01:20	2208	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.72583',`product_name`='SHIMANO Disque XTR RT-MT900 160 mm Center-Lock box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-xtr-rt-mt900-160-mm-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861700'
2023-10-13	13:01:20	2208	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7258.jpg
2023-10-13	13:01:20	2208	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:20	2208	[DEBUG]	Process image file
2023-10-13	13:01:20	2208	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:20	2208	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:20	2208	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7258.jpg
2023-10-13	13:01:20	2208	[DEBUG]	Full name target: bcprisme/73_7258.jpg
2023-10-13	13:01:21	2208	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:21	2208	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_7258.jpg'
2023-10-13	13:01:21	2208	[DEBUG]	Query for Media
2023-10-13	13:01:21	2208	[DEBUG]	Executed store
2023-10-13	13:01:21	2208	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_7258.jpg',`file_url_thumb`='bcprisme/73_7258.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1422741'
2023-10-13	13:01:21	2208	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:21	2208	[DEBUG]	Executed store
2023-10-13	13:01:21	2208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861700','1422741','1')
2023-10-13	13:01:21	2208	[DEBUG]	Store product image relation
2023-10-13	13:01:21	2208	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:21	2208	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861700 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:21	2208	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:21	2208	[DEBUG]	Executed store
2023-10-13	13:01:21	2208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861700','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:21	2208	[DEBUG]	Checking manufacturer
2023-10-13	13:01:21	2208	[DEBUG]	Load a row
2023-10-13	13:01:21	2208	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:21	2208	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:21	2208	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:21	2208	[DEBUG]	Executed store
2023-10-13	13:01:21	2208	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:21	2208	[DEBUG]	Manufacturer exists
2023-10-13	13:01:21	2208	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:21	2208	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:21	2208	[DEBUG]	Executed store
2023-10-13	13:01:21	2208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861700','26')
2023-10-13	13:01:21	2208	[DEBUG]	Find the custom field ID
2023-10-13	13:01:21	2208	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:21	2208	[DEBUG]	No custom field ID found
2023-10-13	13:01:21	2208	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:21	2208	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:21	2208	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861700 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:21	2208	[DEBUG]	Store custom available field
2023-10-13	13:01:21	2208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861700,3,'0',1)
2023-10-13	13:01:21	2208	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:21	2208	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:21	2208	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861700 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:21	2208	[DEBUG]	Store custom available field
2023-10-13	13:01:21	2208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861700,6,'choisir la taille',3)
2023-10-13	13:01:21	2208	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:21	2208	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:21	2208	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:21	2208	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:21	2208	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861700 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:21	2208	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:21	2208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861700,8,1)
2023-10-13	13:01:21	2208	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:21	2208	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861700\":[1861700,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861700
2023-10-13	13:01:21	2208	[DEBUG]	Checking category
2023-10-13	13:01:21	2208	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:21	2208	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861700
2023-10-13	13:01:21	2208	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:21	2208	[DEBUG]	Executed store
2023-10-13	13:01:21	2208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861700','7337')
2023-10-13	13:01:21	2208	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:21	2208	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861700 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:01:21	2208	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:21	2208	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861700
2023-10-13	13:01:21	2209	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:21	2209	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:21	2209	[DEBUG]	Use field value for field taille
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:21	2209	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:21	2209	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:21	2209	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:21	2209	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:21	2209	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:21	2209	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:21	2209	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:21	2209	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:21	2209	[DEBUG]	Use field value for field published
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:21	2209	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field override
2023-10-13	13:01:21	2209	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:21	2209	[DEBUG]	Use field value for field slug
2023-10-13	13:01:21	2209	[DEBUG]	Process line 2209
2023-10-13	13:01:21	2209	[DEBUG]	Load a row
2023-10-13	13:01:21	2209	[DEBUG]	Processing item: 4550170504830
2023-10-13	13:01:21	2209	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:21	2209	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:21	2209	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9469_208'
2023-10-13	13:01:21	2209	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:21	2209	[DEBUG]	Processing product tax
2023-10-13	13:01:21	2209	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:21	2209	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:21	2209	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:21	2209	[DEBUG]	Query for Product
2023-10-13	13:01:21	2209	[DEBUG]	Executed store
2023-10-13	13:01:21	2209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861700','4550170504830','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:21	2209	[DEBUG]	No parent found
2023-10-13	13:01:21	2209	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861700 AND customfield_value = 'stockable'
2023-10-13	13:01:21	2209	[DEBUG]	Check product language entry
2023-10-13	13:01:21	2209	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861701
2023-10-13	13:01:21	2209	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:21	2209	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170504830' AND `virtuemart_product_id` != 1861701
2023-10-13	13:01:21	2209	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:21	2209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861701, '4550170504830')
2023-10-13	13:01:21	2209	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:21	2209	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-xtr-rt-mt900-160-mm-center-lock-box-aucune-unitaire' AND `virtuemart_product_id` != 1861701
2023-10-13	13:01:21	2209	[DEBUG]	Query for ProductLang
2023-10-13	13:01:21	2209	[DEBUG]	Executed store
2023-10-13	13:01:21	2209	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque XTR RT-MT900 160 mm Center-Lock box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-xtr-rt-mt900-160-mm-center-lock-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861701'
2023-10-13	13:01:21	2209	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7258.jpg
2023-10-13	13:01:21	2209	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:21	2209	[DEBUG]	Process image file
2023-10-13	13:01:21	2209	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:21	2209	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:21	2209	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7258.jpg
2023-10-13	13:01:21	2209	[DEBUG]	Full name target: bcprisme/73_7258.jpg
2023-10-13	13:01:22	2209	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:22	2209	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_7258.jpg'
2023-10-13	13:01:22	2209	[DEBUG]	Query for Media
2023-10-13	13:01:22	2209	[DEBUG]	Executed store
2023-10-13	13:01:22	2209	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_7258.jpg',`file_url_thumb`='bcprisme/73_7258.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1422741'
2023-10-13	13:01:22	2209	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:22	2209	[DEBUG]	Executed store
2023-10-13	13:01:22	2209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861701','1422741','1')
2023-10-13	13:01:22	2209	[DEBUG]	Store product image relation
2023-10-13	13:01:22	2209	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:22	2209	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861701 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:22	2209	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:22	2209	[DEBUG]	Executed store
2023-10-13	13:01:22	2209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861701','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:22	2209	[DEBUG]	Checking manufacturer
2023-10-13	13:01:22	2209	[DEBUG]	Load a row
2023-10-13	13:01:22	2209	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:22	2209	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:22	2209	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:22	2209	[DEBUG]	Executed store
2023-10-13	13:01:22	2209	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:22	2209	[DEBUG]	Manufacturer exists
2023-10-13	13:01:22	2209	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:22	2209	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:22	2209	[DEBUG]	Executed store
2023-10-13	13:01:22	2209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861701','26')
2023-10-13	13:01:22	2209	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:22	2209	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:22	2209	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861701 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:22	2209	[DEBUG]	Store custom available field
2023-10-13	13:01:22	2209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861701,3,'',1)
2023-10-13	13:01:22	2209	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:22	2209	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:22	2209	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861701 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:22	2209	[DEBUG]	Store custom available field
2023-10-13	13:01:22	2209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861701,6,'Unitaire',3)
2023-10-13	13:01:22	2209	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:22	2209	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:22	2209	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861700
2023-10-13	13:01:22	2209	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:22	2209	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861700\":[1861700,8,1,\"choisir la taille\"],\"1861701\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861700
2023-10-13	13:01:22	2209	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:22	2209	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861701
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:22	2210	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field taille
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:22	2210	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:22	2210	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:22	2210	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:22	2210	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:22	2210	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:22	2210	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field published
2023-10-13	13:01:22	2210	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:22	2210	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field override
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:22	2210	[DEBUG]	Use field value for field slug
2023-10-13	13:01:22	2210	[DEBUG]	Process line 2210
2023-10-13	13:01:22	2210	[DEBUG]	Load a row
2023-10-13	13:01:22	2210	[DEBUG]	Processing item: A_9470_208
2023-10-13	13:01:22	2210	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:22	2210	[DEBUG]	Processing product tax
2023-10-13	13:01:22	2210	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:22	2210	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:22	2210	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:22	2210	[DEBUG]	Query for Product
2023-10-13	13:01:22	2210	[DEBUG]	Executed store
2023-10-13	13:01:22	2210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9470_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:22	2210	[DEBUG]	Check product language entry
2023-10-13	13:01:22	2210	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861702
2023-10-13	13:01:22	2210	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:22	2210	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9470_208' AND `virtuemart_product_id` != 1861702
2023-10-13	13:01:22	2210	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:22	2210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861702, 'A_9470_208')
2023-10-13	13:01:22	2210	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:22	2210	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-xtr-rt-mt900-180-mm-center-lock-box-aucune' AND `virtuemart_product_id` != 1861702
2023-10-13	13:01:22	2210	[DEBUG]	Query for ProductLang
2023-10-13	13:01:22	2210	[DEBUG]	Executed store
2023-10-13	13:01:22	2210	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.72581',`product_name`='SHIMANO Disque XTR RT-MT900 180 mm Center-Lock box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-xtr-rt-mt900-180-mm-center-lock-box-aucune' WHERE `virtuemart_product_id` = '1861702'
2023-10-13	13:01:22	2210	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7258.jpg
2023-10-13	13:01:22	2210	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:22	2210	[DEBUG]	Process image file
2023-10-13	13:01:22	2210	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:22	2210	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:22	2210	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7258.jpg
2023-10-13	13:01:22	2210	[DEBUG]	Full name target: bcprisme/73_7258.jpg
2023-10-13	13:01:23	2210	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:23	2210	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_7258.jpg'
2023-10-13	13:01:23	2210	[DEBUG]	Query for Media
2023-10-13	13:01:23	2210	[DEBUG]	Executed store
2023-10-13	13:01:23	2210	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_7258.jpg',`file_url_thumb`='bcprisme/73_7258.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1422741'
2023-10-13	13:01:23	2210	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:23	2210	[DEBUG]	Executed store
2023-10-13	13:01:23	2210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861702','1422741','1')
2023-10-13	13:01:23	2210	[DEBUG]	Store product image relation
2023-10-13	13:01:23	2210	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:23	2210	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861702 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:23	2210	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:23	2210	[DEBUG]	Executed store
2023-10-13	13:01:23	2210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861702','0','89.9721448467967','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:23	2210	[DEBUG]	Checking manufacturer
2023-10-13	13:01:23	2210	[DEBUG]	Load a row
2023-10-13	13:01:23	2210	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:23	2210	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:23	2210	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:23	2210	[DEBUG]	Executed store
2023-10-13	13:01:23	2210	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:23	2210	[DEBUG]	Manufacturer exists
2023-10-13	13:01:23	2210	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:23	2210	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:23	2210	[DEBUG]	Executed store
2023-10-13	13:01:23	2210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861702','26')
2023-10-13	13:01:23	2210	[DEBUG]	Find the custom field ID
2023-10-13	13:01:23	2210	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:23	2210	[DEBUG]	No custom field ID found
2023-10-13	13:01:23	2210	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:23	2210	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:23	2210	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861702 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:23	2210	[DEBUG]	Store custom available field
2023-10-13	13:01:23	2210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861702,3,'0',1)
2023-10-13	13:01:23	2210	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:23	2210	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:23	2210	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861702 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:23	2210	[DEBUG]	Store custom available field
2023-10-13	13:01:23	2210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861702,6,'choisir la taille',3)
2023-10-13	13:01:23	2210	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:23	2210	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:23	2210	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:23	2210	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:23	2210	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861702 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:23	2210	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:23	2210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861702,8,1)
2023-10-13	13:01:23	2210	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:23	2210	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861702\":[1861702,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861702
2023-10-13	13:01:23	2210	[DEBUG]	Checking category
2023-10-13	13:01:23	2210	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:23	2210	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861702
2023-10-13	13:01:23	2210	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:23	2210	[DEBUG]	Executed store
2023-10-13	13:01:23	2210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861702','7337')
2023-10-13	13:01:23	2210	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:23	2210	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861702 AND `virtuemart_category_id` NOT IN (7337)
2023-10-13	13:01:23	2210	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:23	2210	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861702
2023-10-13	13:01:23	2211	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:23	2211	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:23	2211	[DEBUG]	Use field value for field taille
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:23	2211	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:23	2211	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:23	2211	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:23	2211	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:23	2211	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:23	2211	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:23	2211	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:23	2211	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:23	2211	[DEBUG]	Use field value for field published
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:23	2211	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field override
2023-10-13	13:01:23	2211	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:23	2211	[DEBUG]	Use field value for field slug
2023-10-13	13:01:23	2211	[DEBUG]	Process line 2211
2023-10-13	13:01:23	2211	[DEBUG]	Load a row
2023-10-13	13:01:23	2211	[DEBUG]	Processing item: 4550170504854
2023-10-13	13:01:23	2211	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:23	2211	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:23	2211	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9470_208'
2023-10-13	13:01:23	2211	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:23	2211	[DEBUG]	Processing product tax
2023-10-13	13:01:23	2211	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:23	2211	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:23	2211	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:23	2211	[DEBUG]	Query for Product
2023-10-13	13:01:23	2211	[DEBUG]	Executed store
2023-10-13	13:01:23	2211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861702','4550170504854','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:23	2211	[DEBUG]	No parent found
2023-10-13	13:01:23	2211	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861702 AND customfield_value = 'stockable'
2023-10-13	13:01:23	2211	[DEBUG]	Check product language entry
2023-10-13	13:01:23	2211	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861703
2023-10-13	13:01:23	2211	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:23	2211	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170504854' AND `virtuemart_product_id` != 1861703
2023-10-13	13:01:23	2211	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:23	2211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861703, '4550170504854')
2023-10-13	13:01:23	2211	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:23	2211	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-disque-xtr-rt-mt900-180-mm-center-lock-box-aucune-unitaire' AND `virtuemart_product_id` != 1861703
2023-10-13	13:01:23	2211	[DEBUG]	Query for ProductLang
2023-10-13	13:01:23	2211	[DEBUG]	Executed store
2023-10-13	13:01:23	2211	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Disque XTR RT-MT900 180 mm Center-Lock box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-disque-xtr-rt-mt900-180-mm-center-lock-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861703'
2023-10-13	13:01:23	2211	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7258.jpg
2023-10-13	13:01:23	2211	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:23	2211	[DEBUG]	Process image file
2023-10-13	13:01:23	2211	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:23	2211	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:23	2211	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7258.jpg
2023-10-13	13:01:23	2211	[DEBUG]	Full name target: bcprisme/73_7258.jpg
2023-10-13	13:01:24	2211	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:24	2211	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_7258.jpg'
2023-10-13	13:01:24	2211	[DEBUG]	Query for Media
2023-10-13	13:01:24	2211	[DEBUG]	Executed store
2023-10-13	13:01:24	2211	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_7258.jpg',`file_url_thumb`='bcprisme/73_7258.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1422741'
2023-10-13	13:01:24	2211	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:24	2211	[DEBUG]	Executed store
2023-10-13	13:01:24	2211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861703','1422741','1')
2023-10-13	13:01:24	2211	[DEBUG]	Store product image relation
2023-10-13	13:01:24	2211	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:24	2211	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861703 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:24	2211	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:24	2211	[DEBUG]	Executed store
2023-10-13	13:01:24	2211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861703','0','89.9721448467967','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:24	2211	[DEBUG]	Checking manufacturer
2023-10-13	13:01:24	2211	[DEBUG]	Load a row
2023-10-13	13:01:24	2211	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:24	2211	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:24	2211	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:24	2211	[DEBUG]	Executed store
2023-10-13	13:01:24	2211	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:24	2211	[DEBUG]	Manufacturer exists
2023-10-13	13:01:24	2211	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:24	2211	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:24	2211	[DEBUG]	Executed store
2023-10-13	13:01:24	2211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861703','26')
2023-10-13	13:01:24	2211	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:24	2211	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:24	2211	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861703 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:24	2211	[DEBUG]	Store custom available field
2023-10-13	13:01:24	2211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861703,3,'',1)
2023-10-13	13:01:24	2211	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:24	2211	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:24	2211	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861703 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:24	2211	[DEBUG]	Store custom available field
2023-10-13	13:01:24	2211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861703,6,'Unitaire',3)
2023-10-13	13:01:24	2211	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:24	2211	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:24	2211	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861702
2023-10-13	13:01:24	2211	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:24	2211	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861702\":[1861702,8,1,\"choisir la taille\"],\"1861703\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861702
2023-10-13	13:01:24	2211	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:24	2211	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861703
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:24	2212	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field taille
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:24	2212	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:24	2212	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:24	2212	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:24	2212	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:24	2212	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:24	2212	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field published
2023-10-13	13:01:24	2212	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:24	2212	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field override
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:24	2212	[DEBUG]	Use field value for field slug
2023-10-13	13:01:24	2212	[DEBUG]	Process line 2212
2023-10-13	13:01:24	2212	[DEBUG]	Load a row
2023-10-13	13:01:24	2212	[DEBUG]	Processing item: A_5103_3
2023-10-13	13:01:24	2212	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:24	2212	[DEBUG]	Processing product tax
2023-10-13	13:01:24	2212	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:24	2212	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:24	2212	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:24	2212	[DEBUG]	Query for Product
2023-10-13	13:01:24	2212	[DEBUG]	Executed store
2023-10-13	13:01:24	2212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5103_3','0.25','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:24	2212	[DEBUG]	Check product language entry
2023-10-13	13:01:24	2212	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861704
2023-10-13	13:01:24	2212	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:24	2212	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5103_3' AND `virtuemart_product_id` != 1861704
2023-10-13	13:01:24	2212	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:24	2212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861704, 'A_5103_3')
2023-10-13	13:01:24	2212	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:24	2212	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-freins-disc-hydraulic-shimano-deore-bl-m6000-1000mm-none' AND `virtuemart_product_id` != 1861704
2023-10-13	13:01:24	2212	[DEBUG]	Query for ProductLang
2023-10-13	13:01:24	2212	[DEBUG]	Executed store
2023-10-13	13:01:24	2212	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.69342',`product_name`='SHIMANO Freins Disc Hydraulic SHIMANO DEORE BL-M6000 1000mm / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-freins-disc-hydraulic-shimano-deore-bl-m6000-1000mm-none' WHERE `virtuemart_product_id` = '1861704'
2023-10-13	13:01:24	2212	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29565_freins_disc_hydraulic_shimano_deore_bl-m6000_1000mm.jpg
2023-10-13	13:01:24	2212	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:24	2212	[DEBUG]	Process image file
2023-10-13	13:01:24	2212	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:24	2212	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:24	2212	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29565_freins_disc_hydraulic_shimano_deore_bl-m6000_1000mm.jpg
2023-10-13	13:01:24	2212	[DEBUG]	Full name target: bcprisme/29565_freins_disc_hydraulic_shimano_deore_bl-m6000_1000mm.jpg
2023-10-13	13:01:25	2212	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:25	2212	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29565_freins_disc_hydraulic_shimano_deore_bl-m6000_1000mm.jpg'
2023-10-13	13:01:25	2212	[DEBUG]	Query for Media
2023-10-13	13:01:25	2212	[DEBUG]	Executed store
2023-10-13	13:01:25	2212	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29565_freins_disc_hydraulic_shimano_deore_bl-m6000_1000mm.jpg',`file_url_thumb`='bcprisme/29565_freins_disc_hydraulic_shimano_deore_bl-m6000_1000mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366699'
2023-10-13	13:01:25	2212	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:25	2212	[DEBUG]	Executed store
2023-10-13	13:01:25	2212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861704','366699','1')
2023-10-13	13:01:25	2212	[DEBUG]	Store product image relation
2023-10-13	13:01:25	2212	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:25	2212	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861704 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:25	2212	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:25	2212	[DEBUG]	Executed store
2023-10-13	13:01:25	2212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861704','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:25	2212	[DEBUG]	Checking manufacturer
2023-10-13	13:01:25	2212	[DEBUG]	Load a row
2023-10-13	13:01:25	2212	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:25	2212	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:25	2212	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:25	2212	[DEBUG]	Executed store
2023-10-13	13:01:25	2212	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:25	2212	[DEBUG]	Manufacturer exists
2023-10-13	13:01:25	2212	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:25	2212	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:25	2212	[DEBUG]	Executed store
2023-10-13	13:01:25	2212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861704','26')
2023-10-13	13:01:25	2212	[DEBUG]	Find the custom field ID
2023-10-13	13:01:25	2212	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:25	2212	[DEBUG]	No custom field ID found
2023-10-13	13:01:25	2212	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:25	2212	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:25	2212	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861704 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:25	2212	[DEBUG]	Store custom available field
2023-10-13	13:01:25	2212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861704,3,'0',1)
2023-10-13	13:01:25	2212	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:25	2212	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:25	2212	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861704 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:25	2212	[DEBUG]	Store custom available field
2023-10-13	13:01:25	2212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861704,6,'choisir la taille',3)
2023-10-13	13:01:25	2212	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:25	2212	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:25	2212	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:25	2212	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:25	2212	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861704 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:25	2212	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:25	2212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861704,8,1)
2023-10-13	13:01:25	2212	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:25	2212	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861704\":[1861704,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861704
2023-10-13	13:01:25	2212	[DEBUG]	Checking category
2023-10-13	13:01:25	2212	[DEBUG]	Check if category path exists: FREINS / HYDRAULIQUES - BREMSE / HYDRAULISCHE
2023-10-13	13:01:25	2212	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / HYDRAULIQUES - BREMSE / HYDRAULISCHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:01:25	2212	[DEBUG]	Check if category path exists: ACCESSOIRES FREINS HYDRAULIQUE - HYDRAULISCHE BREMSE ZUBEHÖR
2023-10-13	13:01:25	2212	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'ACCESSOIRES FREINS HYDRAULIQUE - HYDRAULISCHE BREMSE ZUBEHÖR' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7338
2023-10-13	13:01:25	2212	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:25	2212	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861704
2023-10-13	13:01:25	2212	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:25	2212	[DEBUG]	Executed store
2023-10-13	13:01:25	2212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861704','7339')
2023-10-13	13:01:25	2212	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:25	2212	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861704 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:25	2212	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:25	2212	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861704
2023-10-13	13:01:25	2213	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:25	2213	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:25	2213	[DEBUG]	Use field value for field taille
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:25	2213	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:25	2213	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:25	2213	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:25	2213	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:25	2213	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:25	2213	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:25	2213	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:25	2213	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:25	2213	[DEBUG]	Use field value for field published
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:25	2213	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field override
2023-10-13	13:01:25	2213	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:25	2213	[DEBUG]	Use field value for field slug
2023-10-13	13:01:25	2213	[DEBUG]	Process line 2213
2023-10-13	13:01:25	2213	[DEBUG]	Load a row
2023-10-13	13:01:25	2213	[DEBUG]	Processing item: 4524667413844
2023-10-13	13:01:25	2213	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:25	2213	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:25	2213	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5103_3'
2023-10-13	13:01:25	2213	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:25	2213	[DEBUG]	Processing product tax
2023-10-13	13:01:25	2213	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:25	2213	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:25	2213	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:25	2213	[DEBUG]	Query for Product
2023-10-13	13:01:25	2213	[DEBUG]	Executed store
2023-10-13	13:01:25	2213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861704','4524667413844','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:25	2213	[DEBUG]	No parent found
2023-10-13	13:01:25	2213	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861704 AND customfield_value = 'stockable'
2023-10-13	13:01:25	2213	[DEBUG]	Check product language entry
2023-10-13	13:01:25	2213	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861705
2023-10-13	13:01:25	2213	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:25	2213	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667413844' AND `virtuemart_product_id` != 1861705
2023-10-13	13:01:25	2213	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:25	2213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861705, '4524667413844')
2023-10-13	13:01:25	2213	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:25	2213	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-freins-disc-hydraulic-shimano-deore-bl-m6000-1000mm-none-unitaire' AND `virtuemart_product_id` != 1861705
2023-10-13	13:01:25	2213	[DEBUG]	Query for ProductLang
2023-10-13	13:01:25	2213	[DEBUG]	Executed store
2023-10-13	13:01:25	2213	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Freins Disc Hydraulic SHIMANO DEORE BL-M6000 1000mm / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-freins-disc-hydraulic-shimano-deore-bl-m6000-1000mm-none-unitaire' WHERE `virtuemart_product_id` = '1861705'
2023-10-13	13:01:25	2213	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29565_freins_disc_hydraulic_shimano_deore_bl-m6000_1000mm.jpg
2023-10-13	13:01:25	2213	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:25	2213	[DEBUG]	Process image file
2023-10-13	13:01:25	2213	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:25	2213	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:25	2213	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29565_freins_disc_hydraulic_shimano_deore_bl-m6000_1000mm.jpg
2023-10-13	13:01:25	2213	[DEBUG]	Full name target: bcprisme/29565_freins_disc_hydraulic_shimano_deore_bl-m6000_1000mm.jpg
2023-10-13	13:01:26	2213	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:26	2213	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29565_freins_disc_hydraulic_shimano_deore_bl-m6000_1000mm.jpg'
2023-10-13	13:01:26	2213	[DEBUG]	Query for Media
2023-10-13	13:01:26	2213	[DEBUG]	Executed store
2023-10-13	13:01:26	2213	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29565_freins_disc_hydraulic_shimano_deore_bl-m6000_1000mm.jpg',`file_url_thumb`='bcprisme/29565_freins_disc_hydraulic_shimano_deore_bl-m6000_1000mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366699'
2023-10-13	13:01:26	2213	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:26	2213	[DEBUG]	Executed store
2023-10-13	13:01:26	2213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861705','366699','1')
2023-10-13	13:01:26	2213	[DEBUG]	Store product image relation
2023-10-13	13:01:26	2213	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:26	2213	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861705 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:26	2213	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:26	2213	[DEBUG]	Executed store
2023-10-13	13:01:26	2213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861705','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:26	2213	[DEBUG]	Checking manufacturer
2023-10-13	13:01:26	2213	[DEBUG]	Load a row
2023-10-13	13:01:26	2213	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:26	2213	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:26	2213	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:26	2213	[DEBUG]	Executed store
2023-10-13	13:01:26	2213	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:26	2213	[DEBUG]	Manufacturer exists
2023-10-13	13:01:26	2213	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:26	2213	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:26	2213	[DEBUG]	Executed store
2023-10-13	13:01:26	2213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861705','26')
2023-10-13	13:01:26	2213	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:26	2213	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:26	2213	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861705 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:26	2213	[DEBUG]	Store custom available field
2023-10-13	13:01:26	2213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861705,3,'',1)
2023-10-13	13:01:26	2213	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:26	2213	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:26	2213	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861705 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:26	2213	[DEBUG]	Store custom available field
2023-10-13	13:01:26	2213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861705,6,'Unitaire',3)
2023-10-13	13:01:26	2213	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:26	2213	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:26	2213	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861704
2023-10-13	13:01:26	2213	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:26	2213	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861704\":[1861704,8,1,\"choisir la taille\"],\"1861705\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861704
2023-10-13	13:01:26	2213	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:26	2213	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861705
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:26	2214	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field taille
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:26	2214	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:26	2214	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:26	2214	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:26	2214	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:26	2214	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:26	2214	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field published
2023-10-13	13:01:26	2214	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:26	2214	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field override
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:26	2214	[DEBUG]	Use field value for field slug
2023-10-13	13:01:26	2214	[DEBUG]	Process line 2214
2023-10-13	13:01:26	2214	[DEBUG]	Load a row
2023-10-13	13:01:26	2214	[DEBUG]	Processing item: A_5104_3
2023-10-13	13:01:26	2214	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:26	2214	[DEBUG]	Processing product tax
2023-10-13	13:01:26	2214	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:26	2214	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:26	2214	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:26	2214	[DEBUG]	Query for Product
2023-10-13	13:01:26	2214	[DEBUG]	Executed store
2023-10-13	13:01:26	2214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5104_3','0.25','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:26	2214	[DEBUG]	Check product language entry
2023-10-13	13:01:26	2214	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861706
2023-10-13	13:01:26	2214	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:26	2214	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5104_3' AND `virtuemart_product_id` != 1861706
2023-10-13	13:01:26	2214	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:26	2214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861706, 'A_5104_3')
2023-10-13	13:01:26	2214	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:26	2214	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-freins-disc-hydraulic-shimano-deore-bl-m6000-1700mm-none' AND `virtuemart_product_id` != 1861706
2023-10-13	13:01:26	2214	[DEBUG]	Query for ProductLang
2023-10-13	13:01:26	2214	[DEBUG]	Executed store
2023-10-13	13:01:26	2214	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.69343',`product_name`='SHIMANO Freins Disc Hydraulic SHIMANO DEORE BL-M6000 1700mm / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-freins-disc-hydraulic-shimano-deore-bl-m6000-1700mm-none' WHERE `virtuemart_product_id` = '1861706'
2023-10-13	13:01:26	2214	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29566_freins_disc_hydraulic_shimano_deore_bl-m6000_1700mm.jpg
2023-10-13	13:01:26	2214	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:26	2214	[DEBUG]	Process image file
2023-10-13	13:01:26	2214	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:26	2214	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:26	2214	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29566_freins_disc_hydraulic_shimano_deore_bl-m6000_1700mm.jpg
2023-10-13	13:01:26	2214	[DEBUG]	Full name target: bcprisme/29566_freins_disc_hydraulic_shimano_deore_bl-m6000_1700mm.jpg
2023-10-13	13:01:27	2214	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:27	2214	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29566_freins_disc_hydraulic_shimano_deore_bl-m6000_1700mm.jpg'
2023-10-13	13:01:27	2214	[DEBUG]	Query for Media
2023-10-13	13:01:27	2214	[DEBUG]	Executed store
2023-10-13	13:01:27	2214	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29566_freins_disc_hydraulic_shimano_deore_bl-m6000_1700mm.jpg',`file_url_thumb`='bcprisme/29566_freins_disc_hydraulic_shimano_deore_bl-m6000_1700mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366701'
2023-10-13	13:01:27	2214	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:27	2214	[DEBUG]	Executed store
2023-10-13	13:01:27	2214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861706','366701','1')
2023-10-13	13:01:27	2214	[DEBUG]	Store product image relation
2023-10-13	13:01:27	2214	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:27	2214	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861706 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:27	2214	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:27	2214	[DEBUG]	Executed store
2023-10-13	13:01:27	2214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861706','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:27	2214	[DEBUG]	Checking manufacturer
2023-10-13	13:01:27	2214	[DEBUG]	Load a row
2023-10-13	13:01:27	2214	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:27	2214	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:27	2214	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:27	2214	[DEBUG]	Executed store
2023-10-13	13:01:27	2214	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:27	2214	[DEBUG]	Manufacturer exists
2023-10-13	13:01:27	2214	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:27	2214	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:27	2214	[DEBUG]	Executed store
2023-10-13	13:01:27	2214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861706','26')
2023-10-13	13:01:27	2214	[DEBUG]	Find the custom field ID
2023-10-13	13:01:27	2214	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:27	2214	[DEBUG]	No custom field ID found
2023-10-13	13:01:27	2214	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:27	2214	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:27	2214	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861706 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:27	2214	[DEBUG]	Store custom available field
2023-10-13	13:01:27	2214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861706,3,'0',1)
2023-10-13	13:01:27	2214	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:27	2214	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:27	2214	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861706 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:27	2214	[DEBUG]	Store custom available field
2023-10-13	13:01:27	2214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861706,6,'choisir la taille',3)
2023-10-13	13:01:27	2214	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:27	2214	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:27	2214	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:27	2214	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:27	2214	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861706 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:27	2214	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:27	2214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861706,8,1)
2023-10-13	13:01:27	2214	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:27	2214	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861706\":[1861706,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861706
2023-10-13	13:01:27	2214	[DEBUG]	Checking category
2023-10-13	13:01:27	2214	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:27	2214	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861706
2023-10-13	13:01:27	2214	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:27	2214	[DEBUG]	Executed store
2023-10-13	13:01:27	2214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861706','7339')
2023-10-13	13:01:27	2214	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:27	2214	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861706 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:27	2214	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:27	2214	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861706
2023-10-13	13:01:27	2215	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:27	2215	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:27	2215	[DEBUG]	Use field value for field taille
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:27	2215	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:27	2215	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:27	2215	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:27	2215	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:27	2215	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:27	2215	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:27	2215	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:27	2215	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:27	2215	[DEBUG]	Use field value for field published
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:27	2215	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field override
2023-10-13	13:01:27	2215	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:27	2215	[DEBUG]	Use field value for field slug
2023-10-13	13:01:27	2215	[DEBUG]	Process line 2215
2023-10-13	13:01:27	2215	[DEBUG]	Load a row
2023-10-13	13:01:27	2215	[DEBUG]	Processing item: 4524667413929
2023-10-13	13:01:27	2215	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:27	2215	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:27	2215	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5104_3'
2023-10-13	13:01:27	2215	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:27	2215	[DEBUG]	Processing product tax
2023-10-13	13:01:27	2215	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:27	2215	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:27	2215	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:27	2215	[DEBUG]	Query for Product
2023-10-13	13:01:27	2215	[DEBUG]	Executed store
2023-10-13	13:01:27	2215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861706','4524667413929','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:27	2215	[DEBUG]	No parent found
2023-10-13	13:01:27	2215	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861706 AND customfield_value = 'stockable'
2023-10-13	13:01:27	2215	[DEBUG]	Check product language entry
2023-10-13	13:01:27	2215	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861707
2023-10-13	13:01:27	2215	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:27	2215	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667413929' AND `virtuemart_product_id` != 1861707
2023-10-13	13:01:27	2215	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:27	2215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861707, '4524667413929')
2023-10-13	13:01:27	2215	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:27	2215	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-freins-disc-hydraulic-shimano-deore-bl-m6000-1700mm-none-unitaire' AND `virtuemart_product_id` != 1861707
2023-10-13	13:01:27	2215	[DEBUG]	Query for ProductLang
2023-10-13	13:01:27	2215	[DEBUG]	Executed store
2023-10-13	13:01:27	2215	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Freins Disc Hydraulic SHIMANO DEORE BL-M6000 1700mm / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-freins-disc-hydraulic-shimano-deore-bl-m6000-1700mm-none-unitaire' WHERE `virtuemart_product_id` = '1861707'
2023-10-13	13:01:27	2215	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29566_freins_disc_hydraulic_shimano_deore_bl-m6000_1700mm.jpg
2023-10-13	13:01:27	2215	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:27	2215	[DEBUG]	Process image file
2023-10-13	13:01:27	2215	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:27	2215	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:27	2215	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29566_freins_disc_hydraulic_shimano_deore_bl-m6000_1700mm.jpg
2023-10-13	13:01:27	2215	[DEBUG]	Full name target: bcprisme/29566_freins_disc_hydraulic_shimano_deore_bl-m6000_1700mm.jpg
2023-10-13	13:01:28	2215	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:28	2215	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29566_freins_disc_hydraulic_shimano_deore_bl-m6000_1700mm.jpg'
2023-10-13	13:01:28	2215	[DEBUG]	Query for Media
2023-10-13	13:01:28	2215	[DEBUG]	Executed store
2023-10-13	13:01:28	2215	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29566_freins_disc_hydraulic_shimano_deore_bl-m6000_1700mm.jpg',`file_url_thumb`='bcprisme/29566_freins_disc_hydraulic_shimano_deore_bl-m6000_1700mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366701'
2023-10-13	13:01:28	2215	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:28	2215	[DEBUG]	Executed store
2023-10-13	13:01:28	2215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861707','366701','1')
2023-10-13	13:01:28	2215	[DEBUG]	Store product image relation
2023-10-13	13:01:28	2215	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:28	2215	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861707 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:28	2215	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:28	2215	[DEBUG]	Executed store
2023-10-13	13:01:28	2215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861707','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:28	2215	[DEBUG]	Checking manufacturer
2023-10-13	13:01:28	2215	[DEBUG]	Load a row
2023-10-13	13:01:28	2215	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:28	2215	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:28	2215	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:28	2215	[DEBUG]	Executed store
2023-10-13	13:01:28	2215	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:28	2215	[DEBUG]	Manufacturer exists
2023-10-13	13:01:28	2215	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:28	2215	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:28	2215	[DEBUG]	Executed store
2023-10-13	13:01:28	2215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861707','26')
2023-10-13	13:01:28	2215	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:28	2215	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:28	2215	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861707 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:28	2215	[DEBUG]	Store custom available field
2023-10-13	13:01:28	2215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861707,3,'',1)
2023-10-13	13:01:28	2215	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:28	2215	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:28	2215	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861707 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:28	2215	[DEBUG]	Store custom available field
2023-10-13	13:01:28	2215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861707,6,'Unitaire',3)
2023-10-13	13:01:28	2215	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:28	2215	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:28	2215	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861706
2023-10-13	13:01:28	2215	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:28	2215	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861706\":[1861706,8,1,\"choisir la taille\"],\"1861707\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861706
2023-10-13	13:01:28	2215	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:28	2215	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861707
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:28	2216	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field taille
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:28	2216	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:28	2216	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:28	2216	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:28	2216	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:28	2216	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:28	2216	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:28	2216	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field published
2023-10-13	13:01:28	2216	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:28	2216	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field override
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:28	2216	[DEBUG]	Use field value for field slug
2023-10-13	13:01:28	2216	[DEBUG]	Process line 2216
2023-10-13	13:01:28	2216	[DEBUG]	Load a row
2023-10-13	13:01:28	2216	[DEBUG]	Processing item: A_5747_1
2023-10-13	13:01:28	2216	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:28	2216	[DEBUG]	Processing product tax
2023-10-13	13:01:28	2216	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:28	2216	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:28	2216	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:28	2216	[DEBUG]	Query for Product
2023-10-13	13:01:28	2216	[DEBUG]	Executed store
2023-10-13	13:01:28	2216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5747_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:28	2216	[DEBUG]	Check product language entry
2023-10-13	13:01:28	2216	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861708
2023-10-13	13:01:28	2216	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:28	2216	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5747_1' AND `virtuemart_product_id` != 1861708
2023-10-13	13:01:28	2216	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:28	2216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861708, 'A_5747_1')
2023-10-13	13:01:28	2216	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:28	2216	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-freins-a-disque-mt7-hc-levier-1-doigt-g-d-durite-2-2m-noir' AND `virtuemart_product_id` != 1861708
2023-10-13	13:01:28	2216	[DEBUG]	Query for ProductLang
2023-10-13	13:01:28	2216	[DEBUG]	Executed store
2023-10-13	13:01:28	2216	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8780B',`product_name`='MAGURA Freins à Disque MT7 HC Levier 1-doigt G/D, durite 2.2m / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-freins-a-disque-mt7-hc-levier-1-doigt-g-d-durite-2-2m-noir' WHERE `virtuemart_product_id` = '1861708'
2023-10-13	13:01:28	2216	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30255_freins_à_disque_mt7_hc_levier_1-doigt_g-d,_durite_2_2m.png
2023-10-13	13:01:28	2216	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000190
2023-10-13	13:01:28	2216	[DEBUG]	Process image file
2023-10-13	13:01:28	2216	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000190
2023-10-13	13:01:28	2216	[DEBUG]	Mime type found: image/png
2023-10-13	13:01:28	2216	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30255_freins_à_disque_mt7_hc_levier_1-doigt_g-d,_durite_2_2m.png
2023-10-13	13:01:28	2216	[DEBUG]	Full name target: bcprisme/30255_freins_à_disque_mt7_hc_levier_1-doigt_g-d,_durite_2_2m.png
2023-10-13	13:01:29	2216	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:29	2216	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30255_freins_à_disque_mt7_hc_levier_1-doigt_g-d,_durite_2_2m.png'
2023-10-13	13:01:29	2216	[DEBUG]	Query for Media
2023-10-13	13:01:29	2216	[DEBUG]	Executed store
2023-10-13	13:01:29	2216	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/30255_freins_à_disque_mt7_hc_levier_1-doigt_g-d,_durite_2_2m.png',`file_url_thumb`='bcprisme/30255_freins_à_disque_mt7_hc_levier_1-doigt_g-d,_durite_2_2m.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366703'
2023-10-13	13:01:29	2216	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:29	2216	[DEBUG]	Executed store
2023-10-13	13:01:29	2216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861708','366703','1')
2023-10-13	13:01:29	2216	[DEBUG]	Store product image relation
2023-10-13	13:01:29	2216	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:29	2216	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861708 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:29	2216	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:29	2216	[DEBUG]	Executed store
2023-10-13	13:01:29	2216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861708','0','232.033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:29	2216	[DEBUG]	Checking manufacturer
2023-10-13	13:01:29	2216	[DEBUG]	Load a row
2023-10-13	13:01:29	2216	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:29	2216	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:01:29	2216	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:29	2216	[DEBUG]	Executed store
2023-10-13	13:01:29	2216	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:01:29	2216	[DEBUG]	Manufacturer exists
2023-10-13	13:01:29	2216	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:01:29	2216	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:29	2216	[DEBUG]	Executed store
2023-10-13	13:01:29	2216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861708','38')
2023-10-13	13:01:29	2216	[DEBUG]	Find the custom field ID
2023-10-13	13:01:29	2216	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:29	2216	[DEBUG]	No custom field ID found
2023-10-13	13:01:29	2216	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:29	2216	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:29	2216	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861708 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:29	2216	[DEBUG]	Store custom available field
2023-10-13	13:01:29	2216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861708,3,'0',1)
2023-10-13	13:01:29	2216	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:29	2216	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:29	2216	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861708 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:29	2216	[DEBUG]	Store custom available field
2023-10-13	13:01:29	2216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861708,6,'choisir la taille',3)
2023-10-13	13:01:29	2216	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:29	2216	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:29	2216	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:29	2216	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:29	2216	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861708 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:29	2216	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:29	2216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861708,8,1)
2023-10-13	13:01:29	2216	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:29	2216	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861708\":[1861708,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861708
2023-10-13	13:01:29	2216	[DEBUG]	Checking category
2023-10-13	13:01:29	2216	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:29	2216	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861708
2023-10-13	13:01:29	2216	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:29	2216	[DEBUG]	Executed store
2023-10-13	13:01:29	2216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861708','7339')
2023-10-13	13:01:29	2216	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:29	2216	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861708 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:29	2216	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:29	2216	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861708
2023-10-13	13:01:29	2217	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:29	2217	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:29	2217	[DEBUG]	Use field value for field taille
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:29	2217	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:29	2217	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:29	2217	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:29	2217	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:29	2217	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:29	2217	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:29	2217	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:29	2217	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:29	2217	[DEBUG]	Use field value for field published
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:29	2217	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field override
2023-10-13	13:01:29	2217	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:29	2217	[DEBUG]	Use field value for field slug
2023-10-13	13:01:29	2217	[DEBUG]	Process line 2217
2023-10-13	13:01:29	2217	[DEBUG]	Load a row
2023-10-13	13:01:29	2217	[DEBUG]	Processing item: 4055184019757
2023-10-13	13:01:29	2217	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:29	2217	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:29	2217	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5747_1'
2023-10-13	13:01:29	2217	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:29	2217	[DEBUG]	Processing product tax
2023-10-13	13:01:29	2217	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:29	2217	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:29	2217	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:29	2217	[DEBUG]	Query for Product
2023-10-13	13:01:29	2217	[DEBUG]	Executed store
2023-10-13	13:01:29	2217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861708','4055184019757','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:29	2217	[DEBUG]	No parent found
2023-10-13	13:01:29	2217	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861708 AND customfield_value = 'stockable'
2023-10-13	13:01:29	2217	[DEBUG]	Check product language entry
2023-10-13	13:01:29	2217	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861709
2023-10-13	13:01:29	2217	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:29	2217	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184019757' AND `virtuemart_product_id` != 1861709
2023-10-13	13:01:29	2217	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:29	2217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861709, '4055184019757')
2023-10-13	13:01:29	2217	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:29	2217	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-freins-a-disque-mt7-hc-levier-1-doigt-g-d-durite-2-2m-noir-unitaire' AND `virtuemart_product_id` != 1861709
2023-10-13	13:01:29	2217	[DEBUG]	Query for ProductLang
2023-10-13	13:01:29	2217	[DEBUG]	Executed store
2023-10-13	13:01:29	2217	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Freins à Disque MT7 HC Levier 1-doigt G/D, durite 2.2m / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-freins-a-disque-mt7-hc-levier-1-doigt-g-d-durite-2-2m-noir-unitaire' WHERE `virtuemart_product_id` = '1861709'
2023-10-13	13:01:29	2217	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30255_freins_à_disque_mt7_hc_levier_1-doigt_g-d,_durite_2_2m.png
2023-10-13	13:01:29	2217	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000190
2023-10-13	13:01:29	2217	[DEBUG]	Process image file
2023-10-13	13:01:29	2217	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000190
2023-10-13	13:01:29	2217	[DEBUG]	Mime type found: image/png
2023-10-13	13:01:29	2217	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30255_freins_à_disque_mt7_hc_levier_1-doigt_g-d,_durite_2_2m.png
2023-10-13	13:01:29	2217	[DEBUG]	Full name target: bcprisme/30255_freins_à_disque_mt7_hc_levier_1-doigt_g-d,_durite_2_2m.png
2023-10-13	13:01:30	2217	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:30	2217	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30255_freins_à_disque_mt7_hc_levier_1-doigt_g-d,_durite_2_2m.png'
2023-10-13	13:01:30	2217	[DEBUG]	Query for Media
2023-10-13	13:01:30	2217	[DEBUG]	Executed store
2023-10-13	13:01:30	2217	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/30255_freins_à_disque_mt7_hc_levier_1-doigt_g-d,_durite_2_2m.png',`file_url_thumb`='bcprisme/30255_freins_à_disque_mt7_hc_levier_1-doigt_g-d,_durite_2_2m.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366703'
2023-10-13	13:01:30	2217	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:30	2217	[DEBUG]	Executed store
2023-10-13	13:01:30	2217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861709','366703','1')
2023-10-13	13:01:30	2217	[DEBUG]	Store product image relation
2023-10-13	13:01:30	2217	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:30	2217	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861709 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:30	2217	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:30	2217	[DEBUG]	Executed store
2023-10-13	13:01:30	2217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861709','0','232.033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:30	2217	[DEBUG]	Checking manufacturer
2023-10-13	13:01:30	2217	[DEBUG]	Load a row
2023-10-13	13:01:30	2217	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:30	2217	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:01:30	2217	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:30	2217	[DEBUG]	Executed store
2023-10-13	13:01:30	2217	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:01:30	2217	[DEBUG]	Manufacturer exists
2023-10-13	13:01:30	2217	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:01:30	2217	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:30	2217	[DEBUG]	Executed store
2023-10-13	13:01:30	2217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861709','38')
2023-10-13	13:01:30	2217	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:30	2217	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:30	2217	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861709 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:30	2217	[DEBUG]	Store custom available field
2023-10-13	13:01:30	2217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861709,3,'',1)
2023-10-13	13:01:30	2217	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:30	2217	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:30	2217	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861709 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:30	2217	[DEBUG]	Store custom available field
2023-10-13	13:01:30	2217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861709,6,'Unitaire',3)
2023-10-13	13:01:30	2217	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:30	2217	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:30	2217	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861708
2023-10-13	13:01:30	2217	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:30	2217	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861708\":[1861708,8,1,\"choisir la taille\"],\"1861709\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861708
2023-10-13	13:01:30	2217	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:30	2217	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861709
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:30	2218	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field taille
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:30	2218	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:30	2218	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:30	2218	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:30	2218	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:30	2218	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:30	2218	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field published
2023-10-13	13:01:30	2218	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:30	2218	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field override
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:30	2218	[DEBUG]	Use field value for field slug
2023-10-13	13:01:30	2218	[DEBUG]	Process line 2218
2023-10-13	13:01:30	2218	[DEBUG]	Load a row
2023-10-13	13:01:30	2218	[DEBUG]	Processing item: A_5953_1
2023-10-13	13:01:30	2218	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:30	2218	[DEBUG]	Processing product tax
2023-10-13	13:01:30	2218	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:30	2218	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:30	2218	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:30	2218	[DEBUG]	Query for Product
2023-10-13	13:01:30	2218	[DEBUG]	Executed store
2023-10-13	13:01:30	2218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5953_1','0.005','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:30	2218	[DEBUG]	Check product language entry
2023-10-13	13:01:30	2218	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861710
2023-10-13	13:01:30	2218	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:30	2218	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5953_1' AND `virtuemart_product_id` != 1861710
2023-10-13	13:01:30	2218	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:30	2218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861710, 'A_5953_1')
2023-10-13	13:01:30	2218	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:30	2218	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-vis-de-banjo-shimano-sm-bh63-96-noir' AND `virtuemart_product_id` != 1861710
2023-10-13	13:01:30	2218	[DEBUG]	Query for ProductLang
2023-10-13	13:01:30	2218	[DEBUG]	Executed store
2023-10-13	13:01:30	2218	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Aiguille pour freins Shimano, 10 unités, 5 gr/set<br>N° art fourn : 73.34506',`product_name`='MLV-Bike Vis de Banjo Shimano SM-BH63/96 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-vis-de-banjo-shimano-sm-bh63-96-noir' WHERE `virtuemart_product_id` = '1861710'
2023-10-13	13:01:30	2218	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31552_vis_de_banjo_shimano_sm-bh63-96.jpg
2023-10-13	13:01:30	2218	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:30	2218	[DEBUG]	Process image file
2023-10-13	13:01:30	2218	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:30	2218	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:30	2218	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31552_vis_de_banjo_shimano_sm-bh63-96.jpg
2023-10-13	13:01:30	2218	[DEBUG]	Full name target: bcprisme/31552_vis_de_banjo_shimano_sm-bh63-96.jpg
2023-10-13	13:01:32	2218	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:32	2218	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31552_vis_de_banjo_shimano_sm-bh63-96.jpg'
2023-10-13	13:01:32	2218	[DEBUG]	Query for Media
2023-10-13	13:01:32	2218	[DEBUG]	Executed store
2023-10-13	13:01:32	2218	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31552_vis_de_banjo_shimano_sm-bh63-96.jpg',`file_url_thumb`='bcprisme/31552_vis_de_banjo_shimano_sm-bh63-96.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436701'
2023-10-13	13:01:32	2218	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:32	2218	[DEBUG]	Executed store
2023-10-13	13:01:32	2218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861710','436701','1')
2023-10-13	13:01:32	2218	[DEBUG]	Store product image relation
2023-10-13	13:01:32	2218	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:32	2218	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861710 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:32	2218	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:32	2218	[DEBUG]	Executed store
2023-10-13	13:01:32	2218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861710','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:32	2218	[DEBUG]	Checking manufacturer
2023-10-13	13:01:32	2218	[DEBUG]	Load a row
2023-10-13	13:01:32	2218	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:32	2218	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:01:32	2218	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:32	2218	[DEBUG]	Executed store
2023-10-13	13:01:32	2218	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:01:32	2218	[DEBUG]	Manufacturer exists
2023-10-13	13:01:32	2218	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:01:32	2218	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:32	2218	[DEBUG]	Executed store
2023-10-13	13:01:32	2218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861710','2')
2023-10-13	13:01:32	2218	[DEBUG]	Find the custom field ID
2023-10-13	13:01:32	2218	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:32	2218	[DEBUG]	No custom field ID found
2023-10-13	13:01:32	2218	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:32	2218	[DEBUG]	Get existing row with customfield value 28.8197222222222
2023-10-13	13:01:32	2218	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861710 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:32	2218	[DEBUG]	Store custom available field
2023-10-13	13:01:32	2218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861710,3,'28.8197222222222',1)
2023-10-13	13:01:32	2218	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:32	2218	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:32	2218	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861710 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:32	2218	[DEBUG]	Store custom available field
2023-10-13	13:01:32	2218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861710,6,'choisir la taille',3)
2023-10-13	13:01:32	2218	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:32	2218	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:32	2218	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:32	2218	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:32	2218	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861710 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:32	2218	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:32	2218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861710,8,1)
2023-10-13	13:01:32	2218	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:32	2218	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861710\":[1861710,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861710
2023-10-13	13:01:32	2218	[DEBUG]	Checking category
2023-10-13	13:01:32	2218	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:32	2218	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861710
2023-10-13	13:01:32	2218	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:32	2218	[DEBUG]	Executed store
2023-10-13	13:01:32	2218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861710','7339')
2023-10-13	13:01:32	2218	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:32	2218	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861710 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:32	2218	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:32	2218	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861710
2023-10-13	13:01:32	2219	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:32	2219	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:32	2219	[DEBUG]	Use field value for field taille
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:32	2219	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:32	2219	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:32	2219	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:32	2219	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:32	2219	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:32	2219	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:32	2219	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:32	2219	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:32	2219	[DEBUG]	Use field value for field published
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:32	2219	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field override
2023-10-13	13:01:32	2219	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:32	2219	[DEBUG]	Use field value for field slug
2023-10-13	13:01:32	2219	[DEBUG]	Process line 2219
2023-10-13	13:01:32	2219	[DEBUG]	Load a row
2023-10-13	13:01:32	2219	[DEBUG]	Processing item: 4524667217121
2023-10-13	13:01:32	2219	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:32	2219	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:32	2219	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5953_1'
2023-10-13	13:01:32	2219	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:32	2219	[DEBUG]	Processing product tax
2023-10-13	13:01:32	2219	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:32	2219	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:32	2219	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:32	2219	[DEBUG]	Query for Product
2023-10-13	13:01:32	2219	[DEBUG]	Executed store
2023-10-13	13:01:32	2219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861710','4524667217121','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:32	2219	[DEBUG]	No parent found
2023-10-13	13:01:32	2219	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861710 AND customfield_value = 'stockable'
2023-10-13	13:01:32	2219	[DEBUG]	Check product language entry
2023-10-13	13:01:32	2219	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861711
2023-10-13	13:01:32	2219	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:32	2219	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667217121' AND `virtuemart_product_id` != 1861711
2023-10-13	13:01:32	2219	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:32	2219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861711, '4524667217121')
2023-10-13	13:01:32	2219	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:32	2219	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-vis-de-banjo-shimano-sm-bh63-96-noir-unitaire' AND `virtuemart_product_id` != 1861711
2023-10-13	13:01:32	2219	[DEBUG]	Query for ProductLang
2023-10-13	13:01:32	2219	[DEBUG]	Executed store
2023-10-13	13:01:32	2219	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Vis de Banjo Shimano SM-BH63/96 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-vis-de-banjo-shimano-sm-bh63-96-noir-unitaire' WHERE `virtuemart_product_id` = '1861711'
2023-10-13	13:01:32	2219	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31552_vis_de_banjo_shimano_sm-bh63-96.jpg
2023-10-13	13:01:32	2219	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:32	2219	[DEBUG]	Process image file
2023-10-13	13:01:32	2219	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:32	2219	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:32	2219	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31552_vis_de_banjo_shimano_sm-bh63-96.jpg
2023-10-13	13:01:32	2219	[DEBUG]	Full name target: bcprisme/31552_vis_de_banjo_shimano_sm-bh63-96.jpg
2023-10-13	13:01:33	2219	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:33	2219	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31552_vis_de_banjo_shimano_sm-bh63-96.jpg'
2023-10-13	13:01:33	2219	[DEBUG]	Query for Media
2023-10-13	13:01:33	2219	[DEBUG]	Executed store
2023-10-13	13:01:33	2219	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31552_vis_de_banjo_shimano_sm-bh63-96.jpg',`file_url_thumb`='bcprisme/31552_vis_de_banjo_shimano_sm-bh63-96.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436701'
2023-10-13	13:01:33	2219	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:33	2219	[DEBUG]	Executed store
2023-10-13	13:01:33	2219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861711','436701','1')
2023-10-13	13:01:33	2219	[DEBUG]	Store product image relation
2023-10-13	13:01:33	2219	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:33	2219	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861711 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:33	2219	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:33	2219	[DEBUG]	Executed store
2023-10-13	13:01:33	2219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861711','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:33	2219	[DEBUG]	Checking manufacturer
2023-10-13	13:01:33	2219	[DEBUG]	Load a row
2023-10-13	13:01:33	2219	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:33	2219	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:01:33	2219	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:33	2219	[DEBUG]	Executed store
2023-10-13	13:01:33	2219	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:01:33	2219	[DEBUG]	Manufacturer exists
2023-10-13	13:01:33	2219	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:01:33	2219	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:33	2219	[DEBUG]	Executed store
2023-10-13	13:01:33	2219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861711','2')
2023-10-13	13:01:33	2219	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:33	2219	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:33	2219	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861711 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:33	2219	[DEBUG]	Store custom available field
2023-10-13	13:01:33	2219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861711,3,'',1)
2023-10-13	13:01:33	2219	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:33	2219	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:33	2219	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861711 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:33	2219	[DEBUG]	Store custom available field
2023-10-13	13:01:33	2219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861711,6,'Unitaire',3)
2023-10-13	13:01:33	2219	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:33	2219	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:33	2219	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861710
2023-10-13	13:01:33	2219	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:33	2219	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861710\":[1861710,8,1,\"choisir la taille\"],\"1861711\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861710
2023-10-13	13:01:33	2219	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:33	2219	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861711
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:33	2220	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field taille
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:33	2220	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:33	2220	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:33	2220	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:33	2220	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:33	2220	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:33	2220	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field published
2023-10-13	13:01:33	2220	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:33	2220	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field override
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:33	2220	[DEBUG]	Use field value for field slug
2023-10-13	13:01:33	2220	[DEBUG]	Process line 2220
2023-10-13	13:01:33	2220	[DEBUG]	Load a row
2023-10-13	13:01:33	2220	[DEBUG]	Processing item: A_5990_53
2023-10-13	13:01:33	2220	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:33	2220	[DEBUG]	Processing product tax
2023-10-13	13:01:33	2220	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:33	2220	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:33	2220	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:33	2220	[DEBUG]	Query for Product
2023-10-13	13:01:33	2220	[DEBUG]	Executed store
2023-10-13	13:01:33	2220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5990_53','0.006','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:33	2220	[DEBUG]	Check product language entry
2023-10-13	13:01:33	2220	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861712
2023-10-13	13:01:33	2220	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:33	2220	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5990_53' AND `virtuemart_product_id` != 1861712
2023-10-13	13:01:33	2220	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:33	2220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861712, 'A_5990_53')
2023-10-13	13:01:33	2220	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:33	2220	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-pointeau-et-olive-sram-avid-rouge-noir' AND `virtuemart_product_id` != 1861712
2023-10-13	13:01:33	2220	[DEBUG]	Query for ProductLang
2023-10-13	13:01:33	2220	[DEBUG]	Executed store
2023-10-13	13:01:33	2220	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pointeau pour frein hydraulique Magura, 10 pièces, 6gr./set<br>N° art fourn : D7531J',`product_name`='MLV-Bike Pointeau et olive Sram / Avid  / Rouge-noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-pointeau-et-olive-sram-avid-rouge-noir' WHERE `virtuemart_product_id` = '1861712'
2023-10-13	13:01:33	2220	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31591_pointeau_et_olive_sram_-_avid_.jpg
2023-10-13	13:01:33	2220	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:33	2220	[DEBUG]	Process image file
2023-10-13	13:01:33	2220	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:33	2220	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:33	2220	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31591_pointeau_et_olive_sram_-_avid_.jpg
2023-10-13	13:01:33	2220	[DEBUG]	Full name target: bcprisme/31591_pointeau_et_olive_sram_-_avid_.jpg
2023-10-13	13:01:34	2220	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:34	2220	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31591_pointeau_et_olive_sram_-_avid_.jpg'
2023-10-13	13:01:34	2220	[DEBUG]	Query for Media
2023-10-13	13:01:34	2220	[DEBUG]	Executed store
2023-10-13	13:01:34	2220	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31591_pointeau_et_olive_sram_-_avid_.jpg',`file_url_thumb`='bcprisme/31591_pointeau_et_olive_sram_-_avid_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436703'
2023-10-13	13:01:34	2220	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:34	2220	[DEBUG]	Executed store
2023-10-13	13:01:34	2220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861712','436703','1')
2023-10-13	13:01:34	2220	[DEBUG]	Store product image relation
2023-10-13	13:01:34	2220	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:34	2220	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861712 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:34	2220	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:34	2220	[DEBUG]	Executed store
2023-10-13	13:01:34	2220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861712','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:34	2220	[DEBUG]	Checking manufacturer
2023-10-13	13:01:34	2220	[DEBUG]	Load a row
2023-10-13	13:01:34	2220	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:34	2220	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:01:34	2220	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:34	2220	[DEBUG]	Executed store
2023-10-13	13:01:34	2220	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:01:34	2220	[DEBUG]	Manufacturer exists
2023-10-13	13:01:34	2220	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:01:34	2220	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:34	2220	[DEBUG]	Executed store
2023-10-13	13:01:34	2220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861712','2')
2023-10-13	13:01:34	2220	[DEBUG]	Find the custom field ID
2023-10-13	13:01:34	2220	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:34	2220	[DEBUG]	No custom field ID found
2023-10-13	13:01:34	2220	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:34	2220	[DEBUG]	Get existing row with customfield value 25.9277777777778
2023-10-13	13:01:34	2220	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861712 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:34	2220	[DEBUG]	Store custom available field
2023-10-13	13:01:34	2220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861712,3,'25.9277777777778',1)
2023-10-13	13:01:34	2220	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:34	2220	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:34	2220	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861712 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:34	2220	[DEBUG]	Store custom available field
2023-10-13	13:01:34	2220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861712,6,'choisir la taille',3)
2023-10-13	13:01:34	2220	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:34	2220	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:34	2220	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:34	2220	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:34	2220	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861712 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:34	2220	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:34	2220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861712,8,1)
2023-10-13	13:01:34	2220	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:34	2220	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861712\":[1861712,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861712
2023-10-13	13:01:34	2220	[DEBUG]	Checking category
2023-10-13	13:01:34	2220	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:34	2220	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861712
2023-10-13	13:01:34	2220	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:34	2220	[DEBUG]	Executed store
2023-10-13	13:01:34	2220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861712','7339')
2023-10-13	13:01:34	2220	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:34	2220	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861712 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:34	2220	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:34	2220	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861712
2023-10-13	13:01:34	2221	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:34	2221	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:34	2221	[DEBUG]	Use field value for field taille
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:34	2221	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:34	2221	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:34	2221	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:34	2221	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:34	2221	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:34	2221	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:34	2221	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:34	2221	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:34	2221	[DEBUG]	Use field value for field published
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:34	2221	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field override
2023-10-13	13:01:34	2221	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:34	2221	[DEBUG]	Use field value for field slug
2023-10-13	13:01:34	2221	[DEBUG]	Process line 2221
2023-10-13	13:01:34	2221	[DEBUG]	Load a row
2023-10-13	13:01:34	2221	[DEBUG]	Processing item: 710845785276
2023-10-13	13:01:34	2221	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:34	2221	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:34	2221	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5990_53'
2023-10-13	13:01:34	2221	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:34	2221	[DEBUG]	Processing product tax
2023-10-13	13:01:34	2221	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:34	2221	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:34	2221	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:34	2221	[DEBUG]	Query for Product
2023-10-13	13:01:34	2221	[DEBUG]	Executed store
2023-10-13	13:01:34	2221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861712','710845785276','0','KG','M','','50','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:34	2221	[DEBUG]	No parent found
2023-10-13	13:01:34	2221	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861712 AND customfield_value = 'stockable'
2023-10-13	13:01:34	2221	[DEBUG]	Check product language entry
2023-10-13	13:01:34	2221	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861713
2023-10-13	13:01:34	2221	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:34	2221	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845785276' AND `virtuemart_product_id` != 1861713
2023-10-13	13:01:34	2221	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:34	2221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861713, '710845785276')
2023-10-13	13:01:34	2221	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:34	2221	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-pointeau-et-olive-sram-avid-rouge-noir-unitaire' AND `virtuemart_product_id` != 1861713
2023-10-13	13:01:34	2221	[DEBUG]	Query for ProductLang
2023-10-13	13:01:34	2221	[DEBUG]	Executed store
2023-10-13	13:01:34	2221	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Pointeau et olive Sram / Avid  / Rouge-noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-pointeau-et-olive-sram-avid-rouge-noir-unitaire' WHERE `virtuemart_product_id` = '1861713'
2023-10-13	13:01:34	2221	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31591_pointeau_et_olive_sram_-_avid_.jpg
2023-10-13	13:01:34	2221	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:34	2221	[DEBUG]	Process image file
2023-10-13	13:01:34	2221	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:34	2221	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:34	2221	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31591_pointeau_et_olive_sram_-_avid_.jpg
2023-10-13	13:01:34	2221	[DEBUG]	Full name target: bcprisme/31591_pointeau_et_olive_sram_-_avid_.jpg
2023-10-13	13:01:35	2221	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:35	2221	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31591_pointeau_et_olive_sram_-_avid_.jpg'
2023-10-13	13:01:35	2221	[DEBUG]	Query for Media
2023-10-13	13:01:35	2221	[DEBUG]	Executed store
2023-10-13	13:01:35	2221	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31591_pointeau_et_olive_sram_-_avid_.jpg',`file_url_thumb`='bcprisme/31591_pointeau_et_olive_sram_-_avid_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436703'
2023-10-13	13:01:35	2221	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:35	2221	[DEBUG]	Executed store
2023-10-13	13:01:35	2221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861713','436703','1')
2023-10-13	13:01:35	2221	[DEBUG]	Store product image relation
2023-10-13	13:01:35	2221	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:35	2221	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861713 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:35	2221	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:35	2221	[DEBUG]	Executed store
2023-10-13	13:01:35	2221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861713','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:35	2221	[DEBUG]	Checking manufacturer
2023-10-13	13:01:35	2221	[DEBUG]	Load a row
2023-10-13	13:01:35	2221	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:35	2221	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:01:35	2221	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:35	2221	[DEBUG]	Executed store
2023-10-13	13:01:35	2221	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:01:35	2221	[DEBUG]	Manufacturer exists
2023-10-13	13:01:35	2221	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:01:35	2221	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:35	2221	[DEBUG]	Executed store
2023-10-13	13:01:35	2221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861713','2')
2023-10-13	13:01:35	2221	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:35	2221	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:35	2221	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861713 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:35	2221	[DEBUG]	Store custom available field
2023-10-13	13:01:35	2221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861713,3,'',1)
2023-10-13	13:01:35	2221	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:35	2221	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:35	2221	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861713 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:35	2221	[DEBUG]	Store custom available field
2023-10-13	13:01:35	2221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861713,6,'Unitaire',3)
2023-10-13	13:01:35	2221	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:35	2221	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:35	2221	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861712
2023-10-13	13:01:35	2221	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:35	2221	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861712\":[1861712,8,1,\"choisir la taille\"],\"1861713\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861712
2023-10-13	13:01:35	2221	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:35	2221	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861713
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:35	2222	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field taille
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:35	2222	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:35	2222	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:35	2222	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:35	2222	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:35	2222	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:35	2222	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field published
2023-10-13	13:01:35	2222	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:35	2222	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field override
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:35	2222	[DEBUG]	Use field value for field slug
2023-10-13	13:01:35	2222	[DEBUG]	Process line 2222
2023-10-13	13:01:35	2222	[DEBUG]	Load a row
2023-10-13	13:01:35	2222	[DEBUG]	Processing item: A_6093_1
2023-10-13	13:01:35	2222	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:35	2222	[DEBUG]	Processing product tax
2023-10-13	13:01:35	2222	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:35	2222	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:35	2222	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:35	2222	[DEBUG]	Query for Product
2023-10-13	13:01:35	2222	[DEBUG]	Executed store
2023-10-13	13:01:35	2222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6093_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:35	2222	[DEBUG]	Check product language entry
2023-10-13	13:01:35	2222	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861714
2023-10-13	13:01:35	2222	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:35	2222	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6093_1' AND `virtuemart_product_id` != 1861714
2023-10-13	13:01:35	2222	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:35	2222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861714, 'A_6093_1')
2023-10-13	13:01:35	2222	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:35	2222	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disque-mt200-avant-a-bl-mt200-pm-resine-1000-mm-noir' AND `virtuemart_product_id` != 1861714
2023-10-13	13:01:35	2222	[DEBUG]	Query for ProductLang
2023-10-13	13:01:35	2222	[DEBUG]	Executed store
2023-10-13	13:01:35	2222	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.72290',`product_name`='SHIMANO Set frein à disque MT200 avant a/BL-MT200 PM résine 1000 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disque-mt200-avant-a-bl-mt200-pm-resine-1000-mm-noir' WHERE `virtuemart_product_id` = '1861714'
2023-10-13	13:01:35	2222	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31784_shimano_set_frein_à_disquemt200_avant_a-bl-mt200_pm_resine_1000_mm.jpg
2023-10-13	13:01:35	2222	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:35	2222	[DEBUG]	Process image file
2023-10-13	13:01:35	2222	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:35	2222	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:35	2222	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31784_shimano_set_frein_à_disquemt200_avant_a-bl-mt200_pm_resine_1000_mm.jpg
2023-10-13	13:01:35	2222	[DEBUG]	Full name target: bcprisme/31784_shimano_set_frein_à_disquemt200_avant_a-bl-mt200_pm_resine_1000_mm.jpg
2023-10-13	13:01:36	2222	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:36	2222	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31784_shimano_set_frein_à_disquemt200_avant_a-bl-mt200_pm_resine_1000_mm.jpg'
2023-10-13	13:01:36	2222	[DEBUG]	Query for Media
2023-10-13	13:01:36	2222	[DEBUG]	Executed store
2023-10-13	13:01:36	2222	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31784_shimano_set_frein_à_disquemt200_avant_a-bl-mt200_pm_resine_1000_mm.jpg',`file_url_thumb`='bcprisme/31784_shimano_set_frein_à_disquemt200_avant_a-bl-mt200_pm_resine_1000_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '111280'
2023-10-13	13:01:36	2222	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:36	2222	[DEBUG]	Executed store
2023-10-13	13:01:36	2222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861714','111280','1')
2023-10-13	13:01:36	2222	[DEBUG]	Store product image relation
2023-10-13	13:01:36	2222	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:36	2222	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861714 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:36	2222	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:36	2222	[DEBUG]	Executed store
2023-10-13	13:01:36	2222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861714','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:36	2222	[DEBUG]	Checking manufacturer
2023-10-13	13:01:36	2222	[DEBUG]	Load a row
2023-10-13	13:01:36	2222	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:36	2222	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:36	2222	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:36	2222	[DEBUG]	Executed store
2023-10-13	13:01:36	2222	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:36	2222	[DEBUG]	Manufacturer exists
2023-10-13	13:01:36	2222	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:36	2222	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:36	2222	[DEBUG]	Executed store
2023-10-13	13:01:36	2222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861714','26')
2023-10-13	13:01:36	2222	[DEBUG]	Find the custom field ID
2023-10-13	13:01:36	2222	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:36	2222	[DEBUG]	No custom field ID found
2023-10-13	13:01:36	2222	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:36	2222	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:36	2222	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861714 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:36	2222	[DEBUG]	Store custom available field
2023-10-13	13:01:36	2222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861714,3,'0',1)
2023-10-13	13:01:36	2222	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:36	2222	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:36	2222	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861714 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:36	2222	[DEBUG]	Store custom available field
2023-10-13	13:01:36	2222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861714,6,'choisir la taille',3)
2023-10-13	13:01:36	2222	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:36	2222	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:36	2222	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:36	2222	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:36	2222	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861714 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:36	2222	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:36	2222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861714,8,1)
2023-10-13	13:01:36	2222	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:36	2222	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861714\":[1861714,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861714
2023-10-13	13:01:36	2222	[DEBUG]	Checking category
2023-10-13	13:01:36	2222	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:36	2222	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861714
2023-10-13	13:01:36	2222	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:36	2222	[DEBUG]	Executed store
2023-10-13	13:01:36	2222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861714','7339')
2023-10-13	13:01:36	2222	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:36	2222	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861714 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:36	2222	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:36	2222	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861714
2023-10-13	13:01:36	2223	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:36	2223	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:36	2223	[DEBUG]	Use field value for field taille
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:36	2223	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:36	2223	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:36	2223	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:36	2223	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:36	2223	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:36	2223	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:36	2223	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:36	2223	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:36	2223	[DEBUG]	Use field value for field published
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:36	2223	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field override
2023-10-13	13:01:36	2223	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:36	2223	[DEBUG]	Use field value for field slug
2023-10-13	13:01:36	2223	[DEBUG]	Process line 2223
2023-10-13	13:01:36	2223	[DEBUG]	Load a row
2023-10-13	13:01:36	2223	[DEBUG]	Processing item: 4524667881483
2023-10-13	13:01:36	2223	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:36	2223	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:36	2223	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6093_1'
2023-10-13	13:01:36	2223	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:36	2223	[DEBUG]	Processing product tax
2023-10-13	13:01:36	2223	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:36	2223	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:36	2223	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:36	2223	[DEBUG]	Query for Product
2023-10-13	13:01:36	2223	[DEBUG]	Executed store
2023-10-13	13:01:36	2223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861714','4524667881483','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:36	2223	[DEBUG]	No parent found
2023-10-13	13:01:36	2223	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861714 AND customfield_value = 'stockable'
2023-10-13	13:01:36	2223	[DEBUG]	Check product language entry
2023-10-13	13:01:36	2223	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861715
2023-10-13	13:01:36	2223	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:36	2223	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667881483' AND `virtuemart_product_id` != 1861715
2023-10-13	13:01:36	2223	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:36	2223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861715, '4524667881483')
2023-10-13	13:01:36	2223	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:36	2223	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disque-mt200-avant-a-bl-mt200-pm-resine-1000-mm-noir-unitaire' AND `virtuemart_product_id` != 1861715
2023-10-13	13:01:36	2223	[DEBUG]	Query for ProductLang
2023-10-13	13:01:36	2223	[DEBUG]	Executed store
2023-10-13	13:01:36	2223	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set frein à disque MT200 avant a/BL-MT200 PM résine 1000 mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disque-mt200-avant-a-bl-mt200-pm-resine-1000-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861715'
2023-10-13	13:01:36	2223	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31784_shimano_set_frein_à_disquemt200_avant_a-bl-mt200_pm_resine_1000_mm.jpg
2023-10-13	13:01:36	2223	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:36	2223	[DEBUG]	Process image file
2023-10-13	13:01:36	2223	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:36	2223	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:36	2223	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31784_shimano_set_frein_à_disquemt200_avant_a-bl-mt200_pm_resine_1000_mm.jpg
2023-10-13	13:01:36	2223	[DEBUG]	Full name target: bcprisme/31784_shimano_set_frein_à_disquemt200_avant_a-bl-mt200_pm_resine_1000_mm.jpg
2023-10-13	13:01:37	2223	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:37	2223	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31784_shimano_set_frein_à_disquemt200_avant_a-bl-mt200_pm_resine_1000_mm.jpg'
2023-10-13	13:01:37	2223	[DEBUG]	Query for Media
2023-10-13	13:01:37	2223	[DEBUG]	Executed store
2023-10-13	13:01:37	2223	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31784_shimano_set_frein_à_disquemt200_avant_a-bl-mt200_pm_resine_1000_mm.jpg',`file_url_thumb`='bcprisme/31784_shimano_set_frein_à_disquemt200_avant_a-bl-mt200_pm_resine_1000_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '111280'
2023-10-13	13:01:37	2223	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:37	2223	[DEBUG]	Executed store
2023-10-13	13:01:37	2223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861715','111280','1')
2023-10-13	13:01:37	2223	[DEBUG]	Store product image relation
2023-10-13	13:01:37	2223	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:37	2223	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861715 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:37	2223	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:37	2223	[DEBUG]	Executed store
2023-10-13	13:01:37	2223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861715','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:37	2223	[DEBUG]	Checking manufacturer
2023-10-13	13:01:37	2223	[DEBUG]	Load a row
2023-10-13	13:01:37	2223	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:37	2223	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:37	2223	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:37	2223	[DEBUG]	Executed store
2023-10-13	13:01:37	2223	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:37	2223	[DEBUG]	Manufacturer exists
2023-10-13	13:01:37	2223	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:37	2223	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:37	2223	[DEBUG]	Executed store
2023-10-13	13:01:37	2223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861715','26')
2023-10-13	13:01:37	2223	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:37	2223	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:37	2223	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861715 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:37	2223	[DEBUG]	Store custom available field
2023-10-13	13:01:37	2223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861715,3,'',1)
2023-10-13	13:01:37	2223	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:37	2223	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:37	2223	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861715 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:37	2223	[DEBUG]	Store custom available field
2023-10-13	13:01:37	2223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861715,6,'Unitaire',3)
2023-10-13	13:01:37	2223	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:37	2223	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:37	2223	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861714
2023-10-13	13:01:37	2223	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:37	2223	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861714\":[1861714,8,1,\"choisir la taille\"],\"1861715\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861714
2023-10-13	13:01:37	2223	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:37	2223	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861715
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:37	2224	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field taille
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:37	2224	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:37	2224	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:37	2224	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:37	2224	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:37	2224	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:37	2224	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field published
2023-10-13	13:01:37	2224	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:37	2224	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field override
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:37	2224	[DEBUG]	Use field value for field slug
2023-10-13	13:01:37	2224	[DEBUG]	Process line 2224
2023-10-13	13:01:37	2224	[DEBUG]	Load a row
2023-10-13	13:01:37	2224	[DEBUG]	Processing item: A_6094_1
2023-10-13	13:01:37	2224	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:37	2224	[DEBUG]	Processing product tax
2023-10-13	13:01:37	2224	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:37	2224	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:37	2224	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:37	2224	[DEBUG]	Query for Product
2023-10-13	13:01:37	2224	[DEBUG]	Executed store
2023-10-13	13:01:37	2224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6094_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:37	2224	[DEBUG]	Check product language entry
2023-10-13	13:01:37	2224	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861716
2023-10-13	13:01:37	2224	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:37	2224	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6094_1' AND `virtuemart_product_id` != 1861716
2023-10-13	13:01:37	2224	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:37	2224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861716, 'A_6094_1')
2023-10-13	13:01:37	2224	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:37	2224	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disquemt200-arriere-a-bl-mt200-pm-resine-1700-mm-noir' AND `virtuemart_product_id` != 1861716
2023-10-13	13:01:37	2224	[DEBUG]	Query for ProductLang
2023-10-13	13:01:37	2224	[DEBUG]	Executed store
2023-10-13	13:01:37	2224	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.72291',`product_name`='SHIMANO Set frein à disqueMT200 arrière a/BL-MT200 PM résine 1700 mm  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disquemt200-arriere-a-bl-mt200-pm-resine-1700-mm-noir' WHERE `virtuemart_product_id` = '1861716'
2023-10-13	13:01:37	2224	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31785_shimano_set_frein_à_disquemt200_arriere_a-bl-mt200_pm_resine_1700_mm_.jpg
2023-10-13	13:01:37	2224	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:37	2224	[DEBUG]	Process image file
2023-10-13	13:01:37	2224	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:37	2224	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:37	2224	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31785_shimano_set_frein_à_disquemt200_arriere_a-bl-mt200_pm_resine_1700_mm_.jpg
2023-10-13	13:01:37	2224	[DEBUG]	Full name target: bcprisme/31785_shimano_set_frein_à_disquemt200_arriere_a-bl-mt200_pm_resine_1700_mm_.jpg
2023-10-13	13:01:38	2224	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:38	2224	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31785_shimano_set_frein_à_disquemt200_arriere_a-bl-mt200_pm_resine_1700_mm_.jpg'
2023-10-13	13:01:38	2224	[DEBUG]	Query for Media
2023-10-13	13:01:38	2224	[DEBUG]	Executed store
2023-10-13	13:01:38	2224	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31785_shimano_set_frein_à_disquemt200_arriere_a-bl-mt200_pm_resine_1700_mm_.jpg',`file_url_thumb`='bcprisme/31785_shimano_set_frein_à_disquemt200_arriere_a-bl-mt200_pm_resine_1700_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '111282'
2023-10-13	13:01:38	2224	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:38	2224	[DEBUG]	Executed store
2023-10-13	13:01:38	2224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861716','111282','1')
2023-10-13	13:01:38	2224	[DEBUG]	Store product image relation
2023-10-13	13:01:38	2224	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:38	2224	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861716 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:38	2224	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:38	2224	[DEBUG]	Executed store
2023-10-13	13:01:38	2224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861716','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:38	2224	[DEBUG]	Checking manufacturer
2023-10-13	13:01:38	2224	[DEBUG]	Load a row
2023-10-13	13:01:38	2224	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:38	2224	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:38	2224	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:38	2224	[DEBUG]	Executed store
2023-10-13	13:01:38	2224	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:38	2224	[DEBUG]	Manufacturer exists
2023-10-13	13:01:38	2224	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:38	2224	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:38	2224	[DEBUG]	Executed store
2023-10-13	13:01:38	2224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861716','26')
2023-10-13	13:01:38	2224	[DEBUG]	Find the custom field ID
2023-10-13	13:01:38	2224	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:38	2224	[DEBUG]	No custom field ID found
2023-10-13	13:01:38	2224	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:38	2224	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:38	2224	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861716 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:38	2224	[DEBUG]	Store custom available field
2023-10-13	13:01:38	2224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861716,3,'0',1)
2023-10-13	13:01:38	2224	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:38	2224	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:38	2224	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861716 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:38	2224	[DEBUG]	Store custom available field
2023-10-13	13:01:38	2224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861716,6,'choisir la taille',3)
2023-10-13	13:01:38	2224	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:38	2224	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:38	2224	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:38	2224	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:38	2224	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861716 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:38	2224	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:38	2224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861716,8,1)
2023-10-13	13:01:38	2224	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:38	2224	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861716\":[1861716,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861716
2023-10-13	13:01:38	2224	[DEBUG]	Checking category
2023-10-13	13:01:38	2224	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:38	2224	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861716
2023-10-13	13:01:38	2224	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:38	2224	[DEBUG]	Executed store
2023-10-13	13:01:38	2224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861716','7339')
2023-10-13	13:01:38	2224	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:38	2224	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861716 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:38	2224	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:38	2224	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861716
2023-10-13	13:01:38	2225	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:38	2225	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:38	2225	[DEBUG]	Use field value for field taille
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:38	2225	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:38	2225	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:38	2225	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:38	2225	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:38	2225	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:38	2225	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:38	2225	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:38	2225	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:38	2225	[DEBUG]	Use field value for field published
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:38	2225	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field override
2023-10-13	13:01:38	2225	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:38	2225	[DEBUG]	Use field value for field slug
2023-10-13	13:01:38	2225	[DEBUG]	Process line 2225
2023-10-13	13:01:38	2225	[DEBUG]	Load a row
2023-10-13	13:01:38	2225	[DEBUG]	Processing item: 4524667881490
2023-10-13	13:01:38	2225	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:38	2225	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:38	2225	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6094_1'
2023-10-13	13:01:38	2225	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:38	2225	[DEBUG]	Processing product tax
2023-10-13	13:01:38	2225	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:38	2225	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:38	2225	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:38	2225	[DEBUG]	Query for Product
2023-10-13	13:01:38	2225	[DEBUG]	Executed store
2023-10-13	13:01:38	2225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861716','4524667881490','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:38	2225	[DEBUG]	No parent found
2023-10-13	13:01:38	2225	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861716 AND customfield_value = 'stockable'
2023-10-13	13:01:38	2225	[DEBUG]	Check product language entry
2023-10-13	13:01:38	2225	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861717
2023-10-13	13:01:38	2225	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:38	2225	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667881490' AND `virtuemart_product_id` != 1861717
2023-10-13	13:01:38	2225	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:38	2225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861717, '4524667881490')
2023-10-13	13:01:38	2225	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:38	2225	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disquemt200-arriere-a-bl-mt200-pm-resine-1700-mm-noir-unitaire' AND `virtuemart_product_id` != 1861717
2023-10-13	13:01:38	2225	[DEBUG]	Query for ProductLang
2023-10-13	13:01:38	2225	[DEBUG]	Executed store
2023-10-13	13:01:38	2225	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set frein à disqueMT200 arrière a/BL-MT200 PM résine 1700 mm  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disquemt200-arriere-a-bl-mt200-pm-resine-1700-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861717'
2023-10-13	13:01:39	2225	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31785_shimano_set_frein_à_disquemt200_arriere_a-bl-mt200_pm_resine_1700_mm_.jpg
2023-10-13	13:01:39	2225	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:39	2225	[DEBUG]	Process image file
2023-10-13	13:01:39	2225	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:39	2225	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:39	2225	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31785_shimano_set_frein_à_disquemt200_arriere_a-bl-mt200_pm_resine_1700_mm_.jpg
2023-10-13	13:01:39	2225	[DEBUG]	Full name target: bcprisme/31785_shimano_set_frein_à_disquemt200_arriere_a-bl-mt200_pm_resine_1700_mm_.jpg
2023-10-13	13:01:40	2225	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:40	2225	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31785_shimano_set_frein_à_disquemt200_arriere_a-bl-mt200_pm_resine_1700_mm_.jpg'
2023-10-13	13:01:40	2225	[DEBUG]	Query for Media
2023-10-13	13:01:40	2225	[DEBUG]	Executed store
2023-10-13	13:01:40	2225	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31785_shimano_set_frein_à_disquemt200_arriere_a-bl-mt200_pm_resine_1700_mm_.jpg',`file_url_thumb`='bcprisme/31785_shimano_set_frein_à_disquemt200_arriere_a-bl-mt200_pm_resine_1700_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '111282'
2023-10-13	13:01:40	2225	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:40	2225	[DEBUG]	Executed store
2023-10-13	13:01:40	2225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861717','111282','1')
2023-10-13	13:01:40	2225	[DEBUG]	Store product image relation
2023-10-13	13:01:40	2225	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:40	2225	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861717 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:40	2225	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:40	2225	[DEBUG]	Executed store
2023-10-13	13:01:40	2225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861717','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:40	2225	[DEBUG]	Checking manufacturer
2023-10-13	13:01:40	2225	[DEBUG]	Load a row
2023-10-13	13:01:40	2225	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:40	2225	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:40	2225	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:40	2225	[DEBUG]	Executed store
2023-10-13	13:01:40	2225	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:40	2225	[DEBUG]	Manufacturer exists
2023-10-13	13:01:40	2225	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:40	2225	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:40	2225	[DEBUG]	Executed store
2023-10-13	13:01:40	2225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861717','26')
2023-10-13	13:01:40	2225	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:40	2225	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:40	2225	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861717 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:40	2225	[DEBUG]	Store custom available field
2023-10-13	13:01:40	2225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861717,3,'',1)
2023-10-13	13:01:40	2225	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:40	2225	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:40	2225	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861717 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:40	2225	[DEBUG]	Store custom available field
2023-10-13	13:01:40	2225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861717,6,'Unitaire',3)
2023-10-13	13:01:40	2225	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:40	2225	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:40	2225	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861716
2023-10-13	13:01:40	2225	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:40	2225	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861716\":[1861716,8,1,\"choisir la taille\"],\"1861717\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861716
2023-10-13	13:01:40	2225	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:40	2225	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861717
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:40	2226	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field taille
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:40	2226	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:40	2226	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:40	2226	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:40	2226	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:40	2226	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:40	2226	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field published
2023-10-13	13:01:40	2226	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:40	2226	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field override
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:40	2226	[DEBUG]	Use field value for field slug
2023-10-13	13:01:40	2226	[DEBUG]	Process line 2226
2023-10-13	13:01:40	2226	[DEBUG]	Load a row
2023-10-13	13:01:40	2226	[DEBUG]	Processing item: A_6395_208
2023-10-13	13:01:40	2226	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:40	2226	[DEBUG]	Processing product tax
2023-10-13	13:01:40	2226	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:40	2226	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:40	2226	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:40	2226	[DEBUG]	Query for Product
2023-10-13	13:01:40	2226	[DEBUG]	Executed store
2023-10-13	13:01:40	2226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6395_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:40	2226	[DEBUG]	Check product language entry
2023-10-13	13:01:40	2226	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861718
2023-10-13	13:01:40	2226	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:40	2226	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6395_208' AND `virtuemart_product_id` != 1861718
2023-10-13	13:01:40	2226	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:40	2226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861718, 'A_6395_208')
2023-10-13	13:01:40	2226	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:40	2226	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-frein-a-disque-xt-br-m8000-postmount-plaquettes-resin-box-aucune' AND `virtuemart_product_id` != 1861718
2023-10-13	13:01:40	2226	[DEBUG]	Query for ProductLang
2023-10-13	13:01:40	2226	[DEBUG]	Executed store
2023-10-13	13:01:40	2226	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.63835',`product_name`='SHIMANO Frein à disque XT BR-M8000 postmount plaquettes resin box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-frein-a-disque-xt-br-m8000-postmount-plaquettes-resin-box-aucune' WHERE `virtuemart_product_id` = '1861718'
2023-10-13	13:01:40	2226	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32280_shimano_frein_à_disque_xt_br-m8000_postmount_plaquettes_resin_box.jpg
2023-10-13	13:01:40	2226	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:40	2226	[DEBUG]	Process image file
2023-10-13	13:01:40	2226	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:40	2226	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:40	2226	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32280_shimano_frein_à_disque_xt_br-m8000_postmount_plaquettes_resin_box.jpg
2023-10-13	13:01:40	2226	[DEBUG]	Full name target: bcprisme/32280_shimano_frein_à_disque_xt_br-m8000_postmount_plaquettes_resin_box.jpg
2023-10-13	13:01:41	2226	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:41	2226	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32280_shimano_frein_à_disque_xt_br-m8000_postmount_plaquettes_resin_box.jpg'
2023-10-13	13:01:41	2226	[DEBUG]	Query for Media
2023-10-13	13:01:41	2226	[DEBUG]	Executed store
2023-10-13	13:01:41	2226	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32280_shimano_frein_à_disque_xt_br-m8000_postmount_plaquettes_resin_box.jpg',`file_url_thumb`='bcprisme/32280_shimano_frein_à_disque_xt_br-m8000_postmount_plaquettes_resin_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15264'
2023-10-13	13:01:41	2226	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:41	2226	[DEBUG]	Executed store
2023-10-13	13:01:41	2226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861718','15264','1')
2023-10-13	13:01:41	2226	[DEBUG]	Store product image relation
2023-10-13	13:01:41	2226	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:41	2226	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861718 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:41	2226	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:41	2226	[DEBUG]	Executed store
2023-10-13	13:01:41	2226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861718','0','64.066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:41	2226	[DEBUG]	Checking manufacturer
2023-10-13	13:01:41	2226	[DEBUG]	Load a row
2023-10-13	13:01:41	2226	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:41	2226	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:01:41	2226	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:41	2226	[DEBUG]	Executed store
2023-10-13	13:01:41	2226	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:01:41	2226	[DEBUG]	Manufacturer exists
2023-10-13	13:01:41	2226	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:01:41	2226	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:41	2226	[DEBUG]	Executed store
2023-10-13	13:01:41	2226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861718','123')
2023-10-13	13:01:41	2226	[DEBUG]	Find the custom field ID
2023-10-13	13:01:41	2226	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:41	2226	[DEBUG]	No custom field ID found
2023-10-13	13:01:41	2226	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:41	2226	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:41	2226	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861718 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:41	2226	[DEBUG]	Store custom available field
2023-10-13	13:01:41	2226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861718,3,'0',1)
2023-10-13	13:01:41	2226	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:41	2226	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:41	2226	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861718 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:41	2226	[DEBUG]	Store custom available field
2023-10-13	13:01:41	2226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861718,6,'choisir la taille',3)
2023-10-13	13:01:41	2226	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:41	2226	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:41	2226	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:41	2226	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:41	2226	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861718 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:41	2226	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:41	2226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861718,8,1)
2023-10-13	13:01:41	2226	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:41	2226	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861718\":[1861718,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861718
2023-10-13	13:01:41	2226	[DEBUG]	Checking category
2023-10-13	13:01:41	2226	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:41	2226	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861718
2023-10-13	13:01:41	2226	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:41	2226	[DEBUG]	Executed store
2023-10-13	13:01:41	2226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861718','7339')
2023-10-13	13:01:41	2226	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:41	2226	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861718 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:41	2226	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:41	2226	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861718
2023-10-13	13:01:41	2227	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:41	2227	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:41	2227	[DEBUG]	Use field value for field taille
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:41	2227	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:41	2227	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:41	2227	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:41	2227	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:41	2227	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:41	2227	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:41	2227	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:41	2227	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:41	2227	[DEBUG]	Use field value for field published
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:41	2227	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field override
2023-10-13	13:01:41	2227	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:41	2227	[DEBUG]	Use field value for field slug
2023-10-13	13:01:41	2227	[DEBUG]	Process line 2227
2023-10-13	13:01:41	2227	[DEBUG]	Load a row
2023-10-13	13:01:41	2227	[DEBUG]	Processing item: 4524667322368
2023-10-13	13:01:41	2227	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:41	2227	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:41	2227	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6395_208'
2023-10-13	13:01:41	2227	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:41	2227	[DEBUG]	Processing product tax
2023-10-13	13:01:41	2227	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:41	2227	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:41	2227	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:41	2227	[DEBUG]	Query for Product
2023-10-13	13:01:41	2227	[DEBUG]	Executed store
2023-10-13	13:01:41	2227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861718','4524667322368','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:41	2227	[DEBUG]	No parent found
2023-10-13	13:01:41	2227	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861718 AND customfield_value = 'stockable'
2023-10-13	13:01:41	2227	[DEBUG]	Check product language entry
2023-10-13	13:01:41	2227	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861719
2023-10-13	13:01:41	2227	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:41	2227	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667322368' AND `virtuemart_product_id` != 1861719
2023-10-13	13:01:41	2227	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:41	2227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861719, '4524667322368')
2023-10-13	13:01:41	2227	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:41	2227	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-frein-a-disque-xt-br-m8000-postmount-plaquettes-resin-box-aucune-all' AND `virtuemart_product_id` != 1861719
2023-10-13	13:01:41	2227	[DEBUG]	Query for ProductLang
2023-10-13	13:01:41	2227	[DEBUG]	Executed store
2023-10-13	13:01:41	2227	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Frein à disque XT BR-M8000 postmount plaquettes resin box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-frein-a-disque-xt-br-m8000-postmount-plaquettes-resin-box-aucune-all' WHERE `virtuemart_product_id` = '1861719'
2023-10-13	13:01:41	2227	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32280_shimano_frein_à_disque_xt_br-m8000_postmount_plaquettes_resin_box.jpg
2023-10-13	13:01:41	2227	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:41	2227	[DEBUG]	Process image file
2023-10-13	13:01:41	2227	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:41	2227	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:41	2227	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32280_shimano_frein_à_disque_xt_br-m8000_postmount_plaquettes_resin_box.jpg
2023-10-13	13:01:41	2227	[DEBUG]	Full name target: bcprisme/32280_shimano_frein_à_disque_xt_br-m8000_postmount_plaquettes_resin_box.jpg
2023-10-13	13:01:42	2227	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:42	2227	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32280_shimano_frein_à_disque_xt_br-m8000_postmount_plaquettes_resin_box.jpg'
2023-10-13	13:01:42	2227	[DEBUG]	Query for Media
2023-10-13	13:01:42	2227	[DEBUG]	Executed store
2023-10-13	13:01:42	2227	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32280_shimano_frein_à_disque_xt_br-m8000_postmount_plaquettes_resin_box.jpg',`file_url_thumb`='bcprisme/32280_shimano_frein_à_disque_xt_br-m8000_postmount_plaquettes_resin_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15264'
2023-10-13	13:01:42	2227	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:42	2227	[DEBUG]	Executed store
2023-10-13	13:01:42	2227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861719','15264','1')
2023-10-13	13:01:42	2227	[DEBUG]	Store product image relation
2023-10-13	13:01:42	2227	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:42	2227	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861719 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:42	2227	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:42	2227	[DEBUG]	Executed store
2023-10-13	13:01:42	2227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861719','0','64.066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:42	2227	[DEBUG]	Checking manufacturer
2023-10-13	13:01:42	2227	[DEBUG]	Load a row
2023-10-13	13:01:42	2227	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:42	2227	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:01:42	2227	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:42	2227	[DEBUG]	Executed store
2023-10-13	13:01:42	2227	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:01:42	2227	[DEBUG]	Manufacturer exists
2023-10-13	13:01:42	2227	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:01:42	2227	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:42	2227	[DEBUG]	Executed store
2023-10-13	13:01:42	2227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861719','123')
2023-10-13	13:01:42	2227	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:42	2227	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:42	2227	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861719 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:42	2227	[DEBUG]	Store custom available field
2023-10-13	13:01:42	2227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861719,3,'',1)
2023-10-13	13:01:42	2227	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:42	2227	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:01:42	2227	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861719 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:42	2227	[DEBUG]	Store custom available field
2023-10-13	13:01:42	2227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861719,6,'All',3)
2023-10-13	13:01:42	2227	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:42	2227	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:42	2227	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861718
2023-10-13	13:01:42	2227	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:42	2227	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861718\":[1861718,8,1,\"choisir la taille\"],\"1861719\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861718
2023-10-13	13:01:42	2227	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:42	2227	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861719
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:42	2228	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field taille
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:42	2228	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:42	2228	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:42	2228	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:42	2228	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:42	2228	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:42	2228	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field published
2023-10-13	13:01:42	2228	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:42	2228	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field override
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:42	2228	[DEBUG]	Use field value for field slug
2023-10-13	13:01:42	2228	[DEBUG]	Process line 2228
2023-10-13	13:01:42	2228	[DEBUG]	Load a row
2023-10-13	13:01:42	2228	[DEBUG]	Processing item: A_7444_1
2023-10-13	13:01:42	2228	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:42	2228	[DEBUG]	Processing product tax
2023-10-13	13:01:42	2228	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:42	2228	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:42	2228	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:42	2228	[DEBUG]	Query for Product
2023-10-13	13:01:42	2228	[DEBUG]	Executed store
2023-10-13	13:01:42	2228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7444_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:42	2228	[DEBUG]	Check product language entry
2023-10-13	13:01:42	2228	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861720
2023-10-13	13:01:42	2228	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:42	2228	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7444_1' AND `virtuemart_product_id` != 1861720
2023-10-13	13:01:42	2228	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:42	2228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861720, 'A_7444_1')
2023-10-13	13:01:42	2228	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:42	2228	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-mt401-arriere-a-bl-mt401-pm-pla-de-frein-re-noir-box-noir' AND `virtuemart_product_id` != 1861720
2023-10-13	13:01:42	2228	[DEBUG]	Query for ProductLang
2023-10-13	13:01:42	2228	[DEBUG]	Executed store
2023-10-13	13:01:42	2228	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.76230',`product_name`='SHIMANO Set fr. à dis. MT401 arrière a/BL-MT401 PM pla. de frein ré. noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-mt401-arriere-a-bl-mt401-pm-pla-de-frein-re-noir-box-noir' WHERE `virtuemart_product_id` = '1861720'
2023-10-13	13:01:42	2228	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_72281.jpg
2023-10-13	13:01:42	2228	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:42	2228	[DEBUG]	Process image file
2023-10-13	13:01:42	2228	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:42	2228	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:42	2228	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_72281.jpg
2023-10-13	13:01:42	2228	[DEBUG]	Full name target: bcprisme/73_72281.jpg
2023-10-13	13:01:43	2228	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:43	2228	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_72281.jpg'
2023-10-13	13:01:43	2228	[DEBUG]	Query for Media
2023-10-13	13:01:43	2228	[DEBUG]	Executed store
2023-10-13	13:01:43	2228	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_72281.jpg',`file_url_thumb`='bcprisme/73_72281.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '215410'
2023-10-13	13:01:43	2228	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:43	2228	[DEBUG]	Executed store
2023-10-13	13:01:43	2228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861720','215410','1')
2023-10-13	13:01:43	2228	[DEBUG]	Store product image relation
2023-10-13	13:01:43	2228	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:43	2228	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861720 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:43	2228	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:43	2228	[DEBUG]	Executed store
2023-10-13	13:01:43	2228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861720','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:43	2228	[DEBUG]	Checking manufacturer
2023-10-13	13:01:43	2228	[DEBUG]	Load a row
2023-10-13	13:01:43	2228	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:43	2228	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:43	2228	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:43	2228	[DEBUG]	Executed store
2023-10-13	13:01:43	2228	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:43	2228	[DEBUG]	Manufacturer exists
2023-10-13	13:01:43	2228	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:43	2228	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:43	2228	[DEBUG]	Executed store
2023-10-13	13:01:43	2228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861720','26')
2023-10-13	13:01:43	2228	[DEBUG]	Find the custom field ID
2023-10-13	13:01:43	2228	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:43	2228	[DEBUG]	No custom field ID found
2023-10-13	13:01:43	2228	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:43	2228	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:43	2228	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861720 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:43	2228	[DEBUG]	Store custom available field
2023-10-13	13:01:43	2228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861720,3,'0',1)
2023-10-13	13:01:43	2228	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:43	2228	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:43	2228	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861720 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:43	2228	[DEBUG]	Store custom available field
2023-10-13	13:01:43	2228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861720,6,'choisir la taille',3)
2023-10-13	13:01:43	2228	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:43	2228	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:43	2228	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:43	2228	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:43	2228	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861720 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:43	2228	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:43	2228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861720,8,1)
2023-10-13	13:01:43	2228	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:43	2228	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861720\":[1861720,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861720
2023-10-13	13:01:43	2228	[DEBUG]	Checking category
2023-10-13	13:01:43	2228	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:43	2228	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861720
2023-10-13	13:01:43	2228	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:43	2228	[DEBUG]	Executed store
2023-10-13	13:01:43	2228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861720','7339')
2023-10-13	13:01:43	2228	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:43	2228	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861720 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:43	2228	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:43	2228	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861720
2023-10-13	13:01:43	2229	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:43	2229	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:43	2229	[DEBUG]	Use field value for field taille
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:43	2229	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:43	2229	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:43	2229	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:43	2229	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:43	2229	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:43	2229	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:43	2229	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:43	2229	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:43	2229	[DEBUG]	Use field value for field published
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:43	2229	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field override
2023-10-13	13:01:43	2229	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:43	2229	[DEBUG]	Use field value for field slug
2023-10-13	13:01:43	2229	[DEBUG]	Process line 2229
2023-10-13	13:01:43	2229	[DEBUG]	Load a row
2023-10-13	13:01:43	2229	[DEBUG]	Processing item: 4550170451332
2023-10-13	13:01:43	2229	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:43	2229	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:43	2229	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7444_1'
2023-10-13	13:01:43	2229	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:43	2229	[DEBUG]	Processing product tax
2023-10-13	13:01:43	2229	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:43	2229	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:43	2229	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:43	2229	[DEBUG]	Query for Product
2023-10-13	13:01:43	2229	[DEBUG]	Executed store
2023-10-13	13:01:43	2229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861720','4550170451332','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:43	2229	[DEBUG]	No parent found
2023-10-13	13:01:43	2229	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861720 AND customfield_value = 'stockable'
2023-10-13	13:01:43	2229	[DEBUG]	Check product language entry
2023-10-13	13:01:43	2229	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861721
2023-10-13	13:01:43	2229	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:43	2229	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170451332' AND `virtuemart_product_id` != 1861721
2023-10-13	13:01:43	2229	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:43	2229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861721, '4550170451332')
2023-10-13	13:01:43	2229	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:43	2229	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-mt401-arriere-a-bl-mt401-pm-pla-de-frein-re-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1861721
2023-10-13	13:01:43	2229	[DEBUG]	Query for ProductLang
2023-10-13	13:01:43	2229	[DEBUG]	Executed store
2023-10-13	13:01:43	2229	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. MT401 arrière a/BL-MT401 PM pla. de frein ré. noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-mt401-arriere-a-bl-mt401-pm-pla-de-frein-re-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861721'
2023-10-13	13:01:43	2229	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_72281.jpg
2023-10-13	13:01:43	2229	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:43	2229	[DEBUG]	Process image file
2023-10-13	13:01:43	2229	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:43	2229	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:43	2229	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_72281.jpg
2023-10-13	13:01:43	2229	[DEBUG]	Full name target: bcprisme/73_72281.jpg
2023-10-13	13:01:44	2229	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:44	2229	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_72281.jpg'
2023-10-13	13:01:44	2229	[DEBUG]	Query for Media
2023-10-13	13:01:44	2229	[DEBUG]	Executed store
2023-10-13	13:01:44	2229	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_72281.jpg',`file_url_thumb`='bcprisme/73_72281.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '215410'
2023-10-13	13:01:44	2229	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:44	2229	[DEBUG]	Executed store
2023-10-13	13:01:44	2229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861721','215410','1')
2023-10-13	13:01:44	2229	[DEBUG]	Store product image relation
2023-10-13	13:01:44	2229	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:44	2229	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861721 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:44	2229	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:44	2229	[DEBUG]	Executed store
2023-10-13	13:01:44	2229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861721','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:44	2229	[DEBUG]	Checking manufacturer
2023-10-13	13:01:44	2229	[DEBUG]	Load a row
2023-10-13	13:01:44	2229	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:44	2229	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:44	2229	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:44	2229	[DEBUG]	Executed store
2023-10-13	13:01:44	2229	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:44	2229	[DEBUG]	Manufacturer exists
2023-10-13	13:01:44	2229	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:44	2229	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:44	2229	[DEBUG]	Executed store
2023-10-13	13:01:44	2229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861721','26')
2023-10-13	13:01:44	2229	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:44	2229	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:44	2229	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861721 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:44	2229	[DEBUG]	Store custom available field
2023-10-13	13:01:44	2229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861721,3,'',1)
2023-10-13	13:01:44	2229	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:44	2229	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:44	2229	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861721 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:44	2229	[DEBUG]	Store custom available field
2023-10-13	13:01:44	2229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861721,6,'Unitaire',3)
2023-10-13	13:01:44	2229	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:44	2229	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:44	2229	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861720
2023-10-13	13:01:44	2229	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:44	2229	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861720\":[1861720,8,1,\"choisir la taille\"],\"1861721\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861720
2023-10-13	13:01:44	2229	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:44	2229	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861721
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:44	2230	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field taille
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:44	2230	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:44	2230	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:44	2230	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:44	2230	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:44	2230	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:44	2230	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field published
2023-10-13	13:01:44	2230	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:44	2230	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field override
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:44	2230	[DEBUG]	Use field value for field slug
2023-10-13	13:01:44	2230	[DEBUG]	Process line 2230
2023-10-13	13:01:44	2230	[DEBUG]	Load a row
2023-10-13	13:01:44	2230	[DEBUG]	Processing item: A_7445_1
2023-10-13	13:01:44	2230	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:44	2230	[DEBUG]	Processing product tax
2023-10-13	13:01:44	2230	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:44	2230	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:44	2230	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:44	2230	[DEBUG]	Query for Product
2023-10-13	13:01:44	2230	[DEBUG]	Executed store
2023-10-13	13:01:44	2230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7445_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:44	2230	[DEBUG]	Check product language entry
2023-10-13	13:01:44	2230	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861722
2023-10-13	13:01:44	2230	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:44	2230	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7445_1' AND `virtuemart_product_id` != 1861722
2023-10-13	13:01:44	2230	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:44	2230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861722, 'A_7445_1')
2023-10-13	13:01:44	2230	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:44	2230	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-mt401-avant-bl-mt401-pm-plaq-d-frein-re-noir-box-noir' AND `virtuemart_product_id` != 1861722
2023-10-13	13:01:44	2230	[DEBUG]	Query for ProductLang
2023-10-13	13:01:44	2230	[DEBUG]	Executed store
2023-10-13	13:01:44	2230	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.76229',`product_name`='SHIMANO Set fr. à dis. MT401 avant BL-MT401 PM plaq. d. frein ré. noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-mt401-avant-bl-mt401-pm-plaq-d-frein-re-noir-box-noir' WHERE `virtuemart_product_id` = '1861722'
2023-10-13	13:01:44	2230	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_72281.jpg
2023-10-13	13:01:44	2230	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:44	2230	[DEBUG]	Process image file
2023-10-13	13:01:44	2230	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:44	2230	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:44	2230	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_72281.jpg
2023-10-13	13:01:44	2230	[DEBUG]	Full name target: bcprisme/73_72281.jpg
2023-10-13	13:01:45	2230	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:45	2230	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_72281.jpg'
2023-10-13	13:01:45	2230	[DEBUG]	Query for Media
2023-10-13	13:01:45	2230	[DEBUG]	Executed store
2023-10-13	13:01:45	2230	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_72281.jpg',`file_url_thumb`='bcprisme/73_72281.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '215410'
2023-10-13	13:01:45	2230	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:45	2230	[DEBUG]	Executed store
2023-10-13	13:01:45	2230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861722','215410','1')
2023-10-13	13:01:45	2230	[DEBUG]	Store product image relation
2023-10-13	13:01:45	2230	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:45	2230	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861722 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:45	2230	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:45	2230	[DEBUG]	Executed store
2023-10-13	13:01:45	2230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861722','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:45	2230	[DEBUG]	Checking manufacturer
2023-10-13	13:01:45	2230	[DEBUG]	Load a row
2023-10-13	13:01:45	2230	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:45	2230	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:45	2230	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:45	2230	[DEBUG]	Executed store
2023-10-13	13:01:45	2230	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:45	2230	[DEBUG]	Manufacturer exists
2023-10-13	13:01:45	2230	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:45	2230	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:45	2230	[DEBUG]	Executed store
2023-10-13	13:01:45	2230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861722','26')
2023-10-13	13:01:45	2230	[DEBUG]	Find the custom field ID
2023-10-13	13:01:45	2230	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:45	2230	[DEBUG]	No custom field ID found
2023-10-13	13:01:45	2230	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:45	2230	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:45	2230	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861722 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:45	2230	[DEBUG]	Store custom available field
2023-10-13	13:01:45	2230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861722,3,'0',1)
2023-10-13	13:01:45	2230	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:45	2230	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:45	2230	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861722 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:45	2230	[DEBUG]	Store custom available field
2023-10-13	13:01:45	2230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861722,6,'choisir la taille',3)
2023-10-13	13:01:45	2230	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:45	2230	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:45	2230	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:45	2230	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:45	2230	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861722 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:45	2230	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:45	2230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861722,8,1)
2023-10-13	13:01:45	2230	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:45	2230	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861722\":[1861722,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861722
2023-10-13	13:01:45	2230	[DEBUG]	Checking category
2023-10-13	13:01:45	2230	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:45	2230	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861722
2023-10-13	13:01:45	2230	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:45	2230	[DEBUG]	Executed store
2023-10-13	13:01:45	2230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861722','7339')
2023-10-13	13:01:45	2230	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:45	2230	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861722 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:45	2230	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:45	2230	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861722
2023-10-13	13:01:45	2231	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:45	2231	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:45	2231	[DEBUG]	Use field value for field taille
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:45	2231	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:45	2231	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:45	2231	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:45	2231	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:45	2231	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:45	2231	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:45	2231	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:45	2231	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:45	2231	[DEBUG]	Use field value for field published
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:45	2231	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field override
2023-10-13	13:01:45	2231	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:45	2231	[DEBUG]	Use field value for field slug
2023-10-13	13:01:45	2231	[DEBUG]	Process line 2231
2023-10-13	13:01:45	2231	[DEBUG]	Load a row
2023-10-13	13:01:45	2231	[DEBUG]	Processing item: 4550170451271
2023-10-13	13:01:45	2231	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:45	2231	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:45	2231	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7445_1'
2023-10-13	13:01:45	2231	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:45	2231	[DEBUG]	Processing product tax
2023-10-13	13:01:45	2231	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:45	2231	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:45	2231	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:45	2231	[DEBUG]	Query for Product
2023-10-13	13:01:45	2231	[DEBUG]	Executed store
2023-10-13	13:01:45	2231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861722','4550170451271','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:45	2231	[DEBUG]	No parent found
2023-10-13	13:01:45	2231	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861722 AND customfield_value = 'stockable'
2023-10-13	13:01:45	2231	[DEBUG]	Check product language entry
2023-10-13	13:01:45	2231	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861723
2023-10-13	13:01:45	2231	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:45	2231	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170451271' AND `virtuemart_product_id` != 1861723
2023-10-13	13:01:45	2231	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:45	2231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861723, '4550170451271')
2023-10-13	13:01:45	2231	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:45	2231	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-mt401-avant-bl-mt401-pm-plaq-d-frein-re-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1861723
2023-10-13	13:01:45	2231	[DEBUG]	Query for ProductLang
2023-10-13	13:01:45	2231	[DEBUG]	Executed store
2023-10-13	13:01:45	2231	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. MT401 avant BL-MT401 PM plaq. d. frein ré. noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-mt401-avant-bl-mt401-pm-plaq-d-frein-re-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861723'
2023-10-13	13:01:45	2231	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_72281.jpg
2023-10-13	13:01:45	2231	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:45	2231	[DEBUG]	Process image file
2023-10-13	13:01:45	2231	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:45	2231	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:45	2231	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_72281.jpg
2023-10-13	13:01:45	2231	[DEBUG]	Full name target: bcprisme/73_72281.jpg
2023-10-13	13:01:46	2231	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:46	2231	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_72281.jpg'
2023-10-13	13:01:46	2231	[DEBUG]	Query for Media
2023-10-13	13:01:46	2231	[DEBUG]	Executed store
2023-10-13	13:01:46	2231	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_72281.jpg',`file_url_thumb`='bcprisme/73_72281.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '215410'
2023-10-13	13:01:46	2231	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:46	2231	[DEBUG]	Executed store
2023-10-13	13:01:46	2231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861723','215410','1')
2023-10-13	13:01:46	2231	[DEBUG]	Store product image relation
2023-10-13	13:01:46	2231	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:46	2231	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861723 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:46	2231	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:46	2231	[DEBUG]	Executed store
2023-10-13	13:01:46	2231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861723','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:46	2231	[DEBUG]	Checking manufacturer
2023-10-13	13:01:46	2231	[DEBUG]	Load a row
2023-10-13	13:01:46	2231	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:46	2231	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:46	2231	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:46	2231	[DEBUG]	Executed store
2023-10-13	13:01:46	2231	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:46	2231	[DEBUG]	Manufacturer exists
2023-10-13	13:01:46	2231	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:46	2231	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:46	2231	[DEBUG]	Executed store
2023-10-13	13:01:46	2231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861723','26')
2023-10-13	13:01:46	2231	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:46	2231	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:46	2231	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861723 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:46	2231	[DEBUG]	Store custom available field
2023-10-13	13:01:46	2231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861723,3,'',1)
2023-10-13	13:01:46	2231	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:46	2231	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:46	2231	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861723 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:46	2231	[DEBUG]	Store custom available field
2023-10-13	13:01:46	2231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861723,6,'Unitaire',3)
2023-10-13	13:01:46	2231	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:46	2231	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:46	2231	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861722
2023-10-13	13:01:46	2231	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:46	2231	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861722\":[1861722,8,1,\"choisir la taille\"],\"1861723\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861722
2023-10-13	13:01:46	2231	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:46	2231	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861723
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:46	2232	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field taille
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:46	2232	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:46	2232	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:46	2232	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:46	2232	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:46	2232	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:46	2232	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field published
2023-10-13	13:01:46	2232	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:46	2232	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field override
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:46	2232	[DEBUG]	Use field value for field slug
2023-10-13	13:01:46	2232	[DEBUG]	Process line 2232
2023-10-13	13:01:46	2232	[DEBUG]	Load a row
2023-10-13	13:01:46	2232	[DEBUG]	Processing item: A_7558_1
2023-10-13	13:01:46	2232	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:46	2232	[DEBUG]	Processing product tax
2023-10-13	13:01:46	2232	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:46	2232	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:46	2232	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:46	2232	[DEBUG]	Query for Product
2023-10-13	13:01:46	2232	[DEBUG]	Executed store
2023-10-13	13:01:46	2232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7558_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:46	2232	[DEBUG]	Check product language entry
2023-10-13	13:01:46	2232	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861724
2023-10-13	13:01:46	2232	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:46	2232	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7558_1' AND `virtuemart_product_id` != 1861724
2023-10-13	13:01:46	2232	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:46	2232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861724, 'A_7558_1')
2023-10-13	13:01:46	2232	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:46	2232	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-deore-bl-m6000-disque-gauche-2-doigts-box-noir' AND `virtuemart_product_id` != 1861724
2023-10-13	13:01:46	2232	[DEBUG]	Query for ProductLang
2023-10-13	13:01:46	2232	[DEBUG]	Executed store
2023-10-13	13:01:46	2232	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 74.69352',`product_name`='SHIMANO Levier de frein Deore BL-M6000 disque gauche 2-doigts box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-deore-bl-m6000-disque-gauche-2-doigts-box-noir' WHERE `virtuemart_product_id` = '1861724'
2023-10-13	13:01:46	2232	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_69352.jpg
2023-10-13	13:01:46	2232	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:46	2232	[DEBUG]	Process image file
2023-10-13	13:01:46	2232	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:46	2232	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:46	2232	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_69352.jpg
2023-10-13	13:01:46	2232	[DEBUG]	Full name target: bcprisme/74_69352.jpg
2023-10-13	13:01:47	2232	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:47	2232	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/74_69352.jpg'
2023-10-13	13:01:47	2232	[DEBUG]	Query for Media
2023-10-13	13:01:47	2232	[DEBUG]	Executed store
2023-10-13	13:01:47	2232	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/74_69352.jpg',`file_url_thumb`='bcprisme/74_69352.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436719'
2023-10-13	13:01:47	2232	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:47	2232	[DEBUG]	Executed store
2023-10-13	13:01:47	2232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861724','436719','1')
2023-10-13	13:01:47	2232	[DEBUG]	Store product image relation
2023-10-13	13:01:47	2232	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:47	2232	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861724 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:47	2232	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:47	2232	[DEBUG]	Executed store
2023-10-13	13:01:47	2232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861724','0','38.9043639740019','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:47	2232	[DEBUG]	Checking manufacturer
2023-10-13	13:01:47	2232	[DEBUG]	Load a row
2023-10-13	13:01:47	2232	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:47	2232	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:47	2232	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:47	2232	[DEBUG]	Executed store
2023-10-13	13:01:47	2232	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:47	2232	[DEBUG]	Manufacturer exists
2023-10-13	13:01:47	2232	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:47	2232	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:47	2232	[DEBUG]	Executed store
2023-10-13	13:01:47	2232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861724','26')
2023-10-13	13:01:47	2232	[DEBUG]	Find the custom field ID
2023-10-13	13:01:47	2232	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:47	2232	[DEBUG]	No custom field ID found
2023-10-13	13:01:47	2232	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:47	2232	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:47	2232	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861724 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:47	2232	[DEBUG]	Store custom available field
2023-10-13	13:01:47	2232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861724,3,'0',1)
2023-10-13	13:01:47	2232	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:47	2232	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:47	2232	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861724 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:47	2232	[DEBUG]	Store custom available field
2023-10-13	13:01:47	2232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861724,6,'choisir la taille',3)
2023-10-13	13:01:47	2232	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:47	2232	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:47	2232	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:47	2232	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:47	2232	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861724 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:47	2232	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:47	2232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861724,8,1)
2023-10-13	13:01:47	2232	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:47	2232	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861724\":[1861724,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861724
2023-10-13	13:01:47	2232	[DEBUG]	Checking category
2023-10-13	13:01:47	2232	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:47	2232	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861724
2023-10-13	13:01:47	2232	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:47	2232	[DEBUG]	Executed store
2023-10-13	13:01:47	2232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861724','7339')
2023-10-13	13:01:47	2232	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:47	2232	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861724 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:47	2232	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:47	2232	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861724
2023-10-13	13:01:47	2233	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:47	2233	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:47	2233	[DEBUG]	Use field value for field taille
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:47	2233	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:47	2233	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:47	2233	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:47	2233	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:47	2233	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:47	2233	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:47	2233	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:47	2233	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:47	2233	[DEBUG]	Use field value for field published
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:47	2233	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field override
2023-10-13	13:01:47	2233	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:47	2233	[DEBUG]	Use field value for field slug
2023-10-13	13:01:47	2233	[DEBUG]	Process line 2233
2023-10-13	13:01:47	2233	[DEBUG]	Load a row
2023-10-13	13:01:47	2233	[DEBUG]	Processing item: 4524667413455
2023-10-13	13:01:47	2233	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:47	2233	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:47	2233	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7558_1'
2023-10-13	13:01:47	2233	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:47	2233	[DEBUG]	Processing product tax
2023-10-13	13:01:47	2233	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:47	2233	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:47	2233	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:47	2233	[DEBUG]	Query for Product
2023-10-13	13:01:47	2233	[DEBUG]	Executed store
2023-10-13	13:01:47	2233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861724','4524667413455','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:47	2233	[DEBUG]	No parent found
2023-10-13	13:01:47	2233	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861724 AND customfield_value = 'stockable'
2023-10-13	13:01:47	2233	[DEBUG]	Check product language entry
2023-10-13	13:01:47	2233	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861725
2023-10-13	13:01:47	2233	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:47	2233	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667413455' AND `virtuemart_product_id` != 1861725
2023-10-13	13:01:47	2233	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:47	2233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861725, '4524667413455')
2023-10-13	13:01:47	2233	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:47	2233	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-deore-bl-m6000-disque-gauche-2-doigts-box-noir-unitaire' AND `virtuemart_product_id` != 1861725
2023-10-13	13:01:47	2233	[DEBUG]	Query for ProductLang
2023-10-13	13:01:47	2233	[DEBUG]	Executed store
2023-10-13	13:01:47	2233	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier de frein Deore BL-M6000 disque gauche 2-doigts box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-deore-bl-m6000-disque-gauche-2-doigts-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861725'
2023-10-13	13:01:47	2233	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_69352.jpg
2023-10-13	13:01:47	2233	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:47	2233	[DEBUG]	Process image file
2023-10-13	13:01:47	2233	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:47	2233	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:47	2233	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_69352.jpg
2023-10-13	13:01:47	2233	[DEBUG]	Full name target: bcprisme/74_69352.jpg
2023-10-13	13:01:48	2233	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:48	2233	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/74_69352.jpg'
2023-10-13	13:01:48	2233	[DEBUG]	Query for Media
2023-10-13	13:01:48	2233	[DEBUG]	Executed store
2023-10-13	13:01:48	2233	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/74_69352.jpg',`file_url_thumb`='bcprisme/74_69352.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436719'
2023-10-13	13:01:48	2233	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:48	2233	[DEBUG]	Executed store
2023-10-13	13:01:48	2233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861725','436719','1')
2023-10-13	13:01:48	2233	[DEBUG]	Store product image relation
2023-10-13	13:01:48	2233	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:48	2233	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861725 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:48	2233	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:48	2233	[DEBUG]	Executed store
2023-10-13	13:01:48	2233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861725','0','38.9043639740019','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:48	2233	[DEBUG]	Checking manufacturer
2023-10-13	13:01:48	2233	[DEBUG]	Load a row
2023-10-13	13:01:48	2233	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:48	2233	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:48	2233	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:48	2233	[DEBUG]	Executed store
2023-10-13	13:01:48	2233	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:48	2233	[DEBUG]	Manufacturer exists
2023-10-13	13:01:48	2233	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:48	2233	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:48	2233	[DEBUG]	Executed store
2023-10-13	13:01:48	2233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861725','26')
2023-10-13	13:01:48	2233	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:48	2233	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:48	2233	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861725 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:48	2233	[DEBUG]	Store custom available field
2023-10-13	13:01:48	2233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861725,3,'',1)
2023-10-13	13:01:48	2233	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:48	2233	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:48	2233	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861725 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:48	2233	[DEBUG]	Store custom available field
2023-10-13	13:01:48	2233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861725,6,'Unitaire',3)
2023-10-13	13:01:48	2233	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:48	2233	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:48	2233	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861724
2023-10-13	13:01:48	2233	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:48	2233	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861724\":[1861724,8,1,\"choisir la taille\"],\"1861725\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861724
2023-10-13	13:01:48	2233	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:48	2233	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861725
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:48	2234	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field taille
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:48	2234	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:48	2234	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:48	2234	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:48	2234	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:48	2234	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:48	2234	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field published
2023-10-13	13:01:48	2234	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:48	2234	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field override
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:48	2234	[DEBUG]	Use field value for field slug
2023-10-13	13:01:48	2234	[DEBUG]	Process line 2234
2023-10-13	13:01:48	2234	[DEBUG]	Load a row
2023-10-13	13:01:48	2234	[DEBUG]	Processing item: A_7560_1
2023-10-13	13:01:48	2234	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:48	2234	[DEBUG]	Processing product tax
2023-10-13	13:01:48	2234	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:48	2234	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:48	2234	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:48	2234	[DEBUG]	Query for Product
2023-10-13	13:01:48	2234	[DEBUG]	Executed store
2023-10-13	13:01:48	2234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7560_1','0.25','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:48	2234	[DEBUG]	Check product language entry
2023-10-13	13:01:48	2234	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861726
2023-10-13	13:01:48	2234	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:48	2234	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7560_1' AND `virtuemart_product_id` != 1861726
2023-10-13	13:01:48	2234	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:48	2234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861726, 'A_7560_1')
2023-10-13	13:01:48	2234	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:48	2234	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-freins-disc-hydraulic-shimano-saint-m-820-avant-noir' AND `virtuemart_product_id` != 1861726
2023-10-13	13:01:48	2234	[DEBUG]	Query for ProductLang
2023-10-13	13:01:48	2234	[DEBUG]	Executed store
2023-10-13	13:01:48	2234	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.54594',`product_name`='SHIMANO Freins Disc Hydraulic SHIMANO Saint M-820 avant / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-freins-disc-hydraulic-shimano-saint-m-820-avant-noir' WHERE `virtuemart_product_id` = '1861726'
2023-10-13	13:01:48	2234	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34970_freins_disc_hydraulic_shimano_saint_m-820_avant.jpg
2023-10-13	13:01:48	2234	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000100010000
2023-10-13	13:01:48	2234	[DEBUG]	Process image file
2023-10-13	13:01:48	2234	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000100010000
2023-10-13	13:01:48	2234	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:48	2234	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34970_freins_disc_hydraulic_shimano_saint_m-820_avant.jpg
2023-10-13	13:01:48	2234	[DEBUG]	Full name target: bcprisme/34970_freins_disc_hydraulic_shimano_saint_m-820_avant.jpg
2023-10-13	13:01:49	2234	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:49	2234	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34970_freins_disc_hydraulic_shimano_saint_m-820_avant.jpg'
2023-10-13	13:01:49	2234	[DEBUG]	Query for Media
2023-10-13	13:01:49	2234	[DEBUG]	Executed store
2023-10-13	13:01:49	2234	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34970_freins_disc_hydraulic_shimano_saint_m-820_avant.jpg',`file_url_thumb`='bcprisme/34970_freins_disc_hydraulic_shimano_saint_m-820_avant.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366715'
2023-10-13	13:01:49	2234	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:49	2234	[DEBUG]	Executed store
2023-10-13	13:01:49	2234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861726','366715','1')
2023-10-13	13:01:49	2234	[DEBUG]	Store product image relation
2023-10-13	13:01:49	2234	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:49	2234	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861726 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:49	2234	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:49	2234	[DEBUG]	Executed store
2023-10-13	13:01:49	2234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861726','0','232.126276694522','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:49	2234	[DEBUG]	Checking manufacturer
2023-10-13	13:01:49	2234	[DEBUG]	Load a row
2023-10-13	13:01:49	2234	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:49	2234	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:49	2234	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:49	2234	[DEBUG]	Executed store
2023-10-13	13:01:49	2234	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:49	2234	[DEBUG]	Manufacturer exists
2023-10-13	13:01:49	2234	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:49	2234	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:49	2234	[DEBUG]	Executed store
2023-10-13	13:01:49	2234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861726','26')
2023-10-13	13:01:49	2234	[DEBUG]	Find the custom field ID
2023-10-13	13:01:49	2234	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:49	2234	[DEBUG]	No custom field ID found
2023-10-13	13:01:49	2234	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:49	2234	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:49	2234	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861726 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:49	2234	[DEBUG]	Store custom available field
2023-10-13	13:01:49	2234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861726,3,'0',1)
2023-10-13	13:01:49	2234	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:49	2234	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:49	2234	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861726 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:49	2234	[DEBUG]	Store custom available field
2023-10-13	13:01:49	2234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861726,6,'choisir la taille',3)
2023-10-13	13:01:49	2234	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:49	2234	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:49	2234	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:49	2234	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:49	2234	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861726 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:49	2234	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:49	2234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861726,8,1)
2023-10-13	13:01:49	2234	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:49	2234	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861726\":[1861726,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861726
2023-10-13	13:01:49	2234	[DEBUG]	Checking category
2023-10-13	13:01:49	2234	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:49	2234	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861726
2023-10-13	13:01:49	2234	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:49	2234	[DEBUG]	Executed store
2023-10-13	13:01:49	2234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861726','7339')
2023-10-13	13:01:49	2234	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:49	2234	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861726 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:49	2234	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:49	2234	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861726
2023-10-13	13:01:49	2235	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:49	2235	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:49	2235	[DEBUG]	Use field value for field taille
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:49	2235	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:49	2235	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:49	2235	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:49	2235	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:49	2235	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:49	2235	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:49	2235	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:49	2235	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:49	2235	[DEBUG]	Use field value for field published
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:49	2235	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field override
2023-10-13	13:01:49	2235	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:49	2235	[DEBUG]	Use field value for field slug
2023-10-13	13:01:49	2235	[DEBUG]	Process line 2235
2023-10-13	13:01:49	2235	[DEBUG]	Load a row
2023-10-13	13:01:49	2235	[DEBUG]	Processing item: 4550170506605
2023-10-13	13:01:49	2235	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:49	2235	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:49	2235	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7560_1'
2023-10-13	13:01:49	2235	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:49	2235	[DEBUG]	Processing product tax
2023-10-13	13:01:49	2235	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:49	2235	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:49	2235	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:49	2235	[DEBUG]	Query for Product
2023-10-13	13:01:49	2235	[DEBUG]	Executed store
2023-10-13	13:01:49	2235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861726','4550170506605','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:49	2235	[DEBUG]	No parent found
2023-10-13	13:01:49	2235	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861726 AND customfield_value = 'stockable'
2023-10-13	13:01:49	2235	[DEBUG]	Check product language entry
2023-10-13	13:01:49	2235	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861727
2023-10-13	13:01:49	2235	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:49	2235	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170506605' AND `virtuemart_product_id` != 1861727
2023-10-13	13:01:49	2235	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:49	2235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861727, '4550170506605')
2023-10-13	13:01:49	2235	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:49	2235	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-freins-disc-hydraulic-shimano-saint-m-820-avant-noir-unitaire' AND `virtuemart_product_id` != 1861727
2023-10-13	13:01:49	2235	[DEBUG]	Query for ProductLang
2023-10-13	13:01:49	2235	[DEBUG]	Executed store
2023-10-13	13:01:49	2235	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Freins Disc Hydraulic SHIMANO Saint M-820 avant / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-freins-disc-hydraulic-shimano-saint-m-820-avant-noir-unitaire' WHERE `virtuemart_product_id` = '1861727'
2023-10-13	13:01:49	2235	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34970_freins_disc_hydraulic_shimano_saint_m-820_avant.jpg
2023-10-13	13:01:49	2235	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000100010000
2023-10-13	13:01:49	2235	[DEBUG]	Process image file
2023-10-13	13:01:49	2235	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000100010000
2023-10-13	13:01:49	2235	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:49	2235	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34970_freins_disc_hydraulic_shimano_saint_m-820_avant.jpg
2023-10-13	13:01:49	2235	[DEBUG]	Full name target: bcprisme/34970_freins_disc_hydraulic_shimano_saint_m-820_avant.jpg
2023-10-13	13:01:50	2235	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:50	2235	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34970_freins_disc_hydraulic_shimano_saint_m-820_avant.jpg'
2023-10-13	13:01:50	2235	[DEBUG]	Query for Media
2023-10-13	13:01:50	2235	[DEBUG]	Executed store
2023-10-13	13:01:50	2235	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34970_freins_disc_hydraulic_shimano_saint_m-820_avant.jpg',`file_url_thumb`='bcprisme/34970_freins_disc_hydraulic_shimano_saint_m-820_avant.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366715'
2023-10-13	13:01:50	2235	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:50	2235	[DEBUG]	Executed store
2023-10-13	13:01:50	2235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861727','366715','1')
2023-10-13	13:01:50	2235	[DEBUG]	Store product image relation
2023-10-13	13:01:50	2235	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:50	2235	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861727 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:50	2235	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:50	2235	[DEBUG]	Executed store
2023-10-13	13:01:50	2235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861727','0','232.126276694522','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:50	2235	[DEBUG]	Checking manufacturer
2023-10-13	13:01:50	2235	[DEBUG]	Load a row
2023-10-13	13:01:50	2235	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:50	2235	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:50	2235	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:50	2235	[DEBUG]	Executed store
2023-10-13	13:01:50	2235	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:50	2235	[DEBUG]	Manufacturer exists
2023-10-13	13:01:50	2235	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:50	2235	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:50	2235	[DEBUG]	Executed store
2023-10-13	13:01:50	2235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861727','26')
2023-10-13	13:01:50	2235	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:50	2235	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:50	2235	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861727 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:50	2235	[DEBUG]	Store custom available field
2023-10-13	13:01:50	2235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861727,3,'',1)
2023-10-13	13:01:50	2235	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:50	2235	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:50	2235	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861727 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:50	2235	[DEBUG]	Store custom available field
2023-10-13	13:01:50	2235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861727,6,'Unitaire',3)
2023-10-13	13:01:50	2235	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:50	2235	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:50	2235	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861726
2023-10-13	13:01:50	2235	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:50	2235	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861726\":[1861726,8,1,\"choisir la taille\"],\"1861727\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861726
2023-10-13	13:01:50	2235	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:50	2235	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861727
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:50	2236	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field taille
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:50	2236	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:50	2236	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:50	2236	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:50	2236	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:50	2236	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:50	2236	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field published
2023-10-13	13:01:50	2236	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:50	2236	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field override
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:50	2236	[DEBUG]	Use field value for field slug
2023-10-13	13:01:50	2236	[DEBUG]	Process line 2236
2023-10-13	13:01:50	2236	[DEBUG]	Load a row
2023-10-13	13:01:50	2236	[DEBUG]	Processing item: A_7561_1
2023-10-13	13:01:50	2236	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:50	2236	[DEBUG]	Processing product tax
2023-10-13	13:01:50	2236	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:50	2236	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:50	2236	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:50	2236	[DEBUG]	Query for Product
2023-10-13	13:01:50	2236	[DEBUG]	Executed store
2023-10-13	13:01:50	2236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7561_1','0.25','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:50	2236	[DEBUG]	Check product language entry
2023-10-13	13:01:50	2236	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861728
2023-10-13	13:01:50	2236	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:50	2236	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7561_1' AND `virtuemart_product_id` != 1861728
2023-10-13	13:01:50	2236	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:50	2236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861728, 'A_7561_1')
2023-10-13	13:01:50	2236	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:50	2236	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-freins-disc-hydraulic-shimano-saint-m-820-arriere-noir' AND `virtuemart_product_id` != 1861728
2023-10-13	13:01:50	2236	[DEBUG]	Query for ProductLang
2023-10-13	13:01:50	2236	[DEBUG]	Executed store
2023-10-13	13:01:50	2236	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.54595',`product_name`='SHIMANO Freins Disc Hydraulic SHIMANO Saint M-820 arrière / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-freins-disc-hydraulic-shimano-saint-m-820-arriere-noir' WHERE `virtuemart_product_id` = '1861728'
2023-10-13	13:01:50	2236	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34972_freins_disc_hydraulic_shimano_saint_m-820_arriere.jpg
2023-10-13	13:01:50	2236	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000100010000
2023-10-13	13:01:50	2236	[DEBUG]	Process image file
2023-10-13	13:01:50	2236	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000100010000
2023-10-13	13:01:50	2236	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:50	2236	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34972_freins_disc_hydraulic_shimano_saint_m-820_arriere.jpg
2023-10-13	13:01:50	2236	[DEBUG]	Full name target: bcprisme/34972_freins_disc_hydraulic_shimano_saint_m-820_arriere.jpg
2023-10-13	13:01:51	2236	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:51	2236	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34972_freins_disc_hydraulic_shimano_saint_m-820_arriere.jpg'
2023-10-13	13:01:51	2236	[DEBUG]	Query for Media
2023-10-13	13:01:51	2236	[DEBUG]	Executed store
2023-10-13	13:01:51	2236	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34972_freins_disc_hydraulic_shimano_saint_m-820_arriere.jpg',`file_url_thumb`='bcprisme/34972_freins_disc_hydraulic_shimano_saint_m-820_arriere.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366717'
2023-10-13	13:01:51	2236	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:51	2236	[DEBUG]	Executed store
2023-10-13	13:01:51	2236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861728','366717','1')
2023-10-13	13:01:51	2236	[DEBUG]	Store product image relation
2023-10-13	13:01:51	2236	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:51	2236	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861728 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:51	2236	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:51	2236	[DEBUG]	Executed store
2023-10-13	13:01:51	2236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861728','0','235.840297121634','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:51	2236	[DEBUG]	Checking manufacturer
2023-10-13	13:01:51	2236	[DEBUG]	Load a row
2023-10-13	13:01:51	2236	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:51	2236	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:51	2236	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:51	2236	[DEBUG]	Executed store
2023-10-13	13:01:51	2236	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:51	2236	[DEBUG]	Manufacturer exists
2023-10-13	13:01:51	2236	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:51	2236	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:51	2236	[DEBUG]	Executed store
2023-10-13	13:01:51	2236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861728','26')
2023-10-13	13:01:51	2236	[DEBUG]	Find the custom field ID
2023-10-13	13:01:51	2236	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:51	2236	[DEBUG]	No custom field ID found
2023-10-13	13:01:51	2236	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:51	2236	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:51	2236	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861728 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:51	2236	[DEBUG]	Store custom available field
2023-10-13	13:01:51	2236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861728,3,'0',1)
2023-10-13	13:01:51	2236	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:51	2236	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:51	2236	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861728 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:51	2236	[DEBUG]	Store custom available field
2023-10-13	13:01:51	2236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861728,6,'choisir la taille',3)
2023-10-13	13:01:51	2236	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:51	2236	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:51	2236	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:51	2236	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:51	2236	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861728 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:51	2236	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:51	2236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861728,8,1)
2023-10-13	13:01:51	2236	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:51	2236	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861728\":[1861728,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861728
2023-10-13	13:01:51	2236	[DEBUG]	Checking category
2023-10-13	13:01:51	2236	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:51	2236	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861728
2023-10-13	13:01:51	2236	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:51	2236	[DEBUG]	Executed store
2023-10-13	13:01:51	2236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861728','7339')
2023-10-13	13:01:51	2236	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:51	2236	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861728 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:51	2236	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:51	2236	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861728
2023-10-13	13:01:51	2237	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:51	2237	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:51	2237	[DEBUG]	Use field value for field taille
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:51	2237	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:51	2237	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:51	2237	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:51	2237	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:51	2237	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:51	2237	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:51	2237	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:51	2237	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:51	2237	[DEBUG]	Use field value for field published
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:51	2237	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field override
2023-10-13	13:01:51	2237	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:51	2237	[DEBUG]	Use field value for field slug
2023-10-13	13:01:51	2237	[DEBUG]	Process line 2237
2023-10-13	13:01:51	2237	[DEBUG]	Load a row
2023-10-13	13:01:51	2237	[DEBUG]	Processing item: 4550170506599
2023-10-13	13:01:51	2237	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:51	2237	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:51	2237	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7561_1'
2023-10-13	13:01:51	2237	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:51	2237	[DEBUG]	Processing product tax
2023-10-13	13:01:51	2237	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:51	2237	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:51	2237	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:51	2237	[DEBUG]	Query for Product
2023-10-13	13:01:51	2237	[DEBUG]	Executed store
2023-10-13	13:01:51	2237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861728','4550170506599','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:51	2237	[DEBUG]	No parent found
2023-10-13	13:01:51	2237	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861728 AND customfield_value = 'stockable'
2023-10-13	13:01:51	2237	[DEBUG]	Check product language entry
2023-10-13	13:01:51	2237	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861729
2023-10-13	13:01:51	2237	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:51	2237	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170506599' AND `virtuemart_product_id` != 1861729
2023-10-13	13:01:51	2237	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:51	2237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861729, '4550170506599')
2023-10-13	13:01:51	2237	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:51	2237	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-freins-disc-hydraulic-shimano-saint-m-820-arriere-noir-unitaire' AND `virtuemart_product_id` != 1861729
2023-10-13	13:01:51	2237	[DEBUG]	Query for ProductLang
2023-10-13	13:01:51	2237	[DEBUG]	Executed store
2023-10-13	13:01:51	2237	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Freins Disc Hydraulic SHIMANO Saint M-820 arrière / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-freins-disc-hydraulic-shimano-saint-m-820-arriere-noir-unitaire' WHERE `virtuemart_product_id` = '1861729'
2023-10-13	13:01:51	2237	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34972_freins_disc_hydraulic_shimano_saint_m-820_arriere.jpg
2023-10-13	13:01:51	2237	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000100010000
2023-10-13	13:01:51	2237	[DEBUG]	Process image file
2023-10-13	13:01:51	2237	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000100010000
2023-10-13	13:01:51	2237	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:51	2237	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34972_freins_disc_hydraulic_shimano_saint_m-820_arriere.jpg
2023-10-13	13:01:51	2237	[DEBUG]	Full name target: bcprisme/34972_freins_disc_hydraulic_shimano_saint_m-820_arriere.jpg
2023-10-13	13:01:52	2237	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:52	2237	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34972_freins_disc_hydraulic_shimano_saint_m-820_arriere.jpg'
2023-10-13	13:01:52	2237	[DEBUG]	Query for Media
2023-10-13	13:01:52	2237	[DEBUG]	Executed store
2023-10-13	13:01:52	2237	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34972_freins_disc_hydraulic_shimano_saint_m-820_arriere.jpg',`file_url_thumb`='bcprisme/34972_freins_disc_hydraulic_shimano_saint_m-820_arriere.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366717'
2023-10-13	13:01:52	2237	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:52	2237	[DEBUG]	Executed store
2023-10-13	13:01:52	2237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861729','366717','1')
2023-10-13	13:01:52	2237	[DEBUG]	Store product image relation
2023-10-13	13:01:52	2237	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:52	2237	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861729 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:52	2237	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:52	2237	[DEBUG]	Executed store
2023-10-13	13:01:52	2237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861729','0','235.840297121634','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:52	2237	[DEBUG]	Checking manufacturer
2023-10-13	13:01:52	2237	[DEBUG]	Load a row
2023-10-13	13:01:52	2237	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:52	2237	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:52	2237	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:52	2237	[DEBUG]	Executed store
2023-10-13	13:01:52	2237	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:52	2237	[DEBUG]	Manufacturer exists
2023-10-13	13:01:52	2237	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:52	2237	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:52	2237	[DEBUG]	Executed store
2023-10-13	13:01:52	2237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861729','26')
2023-10-13	13:01:52	2237	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:52	2237	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:52	2237	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861729 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:52	2237	[DEBUG]	Store custom available field
2023-10-13	13:01:52	2237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861729,3,'',1)
2023-10-13	13:01:52	2237	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:52	2237	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:52	2237	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861729 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:52	2237	[DEBUG]	Store custom available field
2023-10-13	13:01:52	2237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861729,6,'Unitaire',3)
2023-10-13	13:01:52	2237	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:52	2237	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:52	2237	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861728
2023-10-13	13:01:52	2237	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:52	2237	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861728\":[1861728,8,1,\"choisir la taille\"],\"1861729\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861728
2023-10-13	13:01:52	2237	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:52	2237	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861729
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:52	2238	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field taille
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:52	2238	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:52	2238	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:52	2238	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:52	2238	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:52	2238	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:52	2238	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:52	2238	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field published
2023-10-13	13:01:52	2238	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:52	2238	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field override
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:52	2238	[DEBUG]	Use field value for field slug
2023-10-13	13:01:52	2238	[DEBUG]	Process line 2238
2023-10-13	13:01:52	2238	[DEBUG]	Load a row
2023-10-13	13:01:52	2238	[DEBUG]	Processing item: A_7693_10
2023-10-13	13:01:52	2238	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:52	2238	[DEBUG]	Processing product tax
2023-10-13	13:01:52	2238	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:52	2238	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:52	2238	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:52	2238	[DEBUG]	Query for Product
2023-10-13	13:01:52	2238	[DEBUG]	Executed store
2023-10-13	13:01:52	2238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7693_10','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:52	2238	[DEBUG]	Check product language entry
2023-10-13	13:01:52	2238	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861730
2023-10-13	13:01:52	2238	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:52	2238	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7693_10' AND `virtuemart_product_id` != 1861730
2023-10-13	13:01:52	2238	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:52	2238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861730, 'A_7693_10')
2023-10-13	13:01:52	2238	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:52	2238	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-set-frein-a-disque-shimano-xtr-m9100-avant-noir-argent' AND `virtuemart_product_id` != 1861730
2023-10-13	13:01:52	2238	[DEBUG]	Query for ProductLang
2023-10-13	13:01:52	2238	[DEBUG]	Executed store
2023-10-13	13:01:52	2238	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : IM9100JLFPRA100',`product_name`='MAGURA SET FREIN A DISQUE SHIMANO XTR M9100 (AVANT) / Noir-argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-set-frein-a-disque-shimano-xtr-m9100-avant-noir-argent' WHERE `virtuemart_product_id` = '1861730'
2023-10-13	13:01:52	2238	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35460_set_frein_a_disque_shimano_xtr_m9100_(avant).jpg
2023-10-13	13:01:52	2238	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:52	2238	[DEBUG]	Process image file
2023-10-13	13:01:52	2238	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:52	2238	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:52	2238	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35460_set_frein_a_disque_shimano_xtr_m9100_(avant).jpg
2023-10-13	13:01:52	2238	[DEBUG]	Full name target: bcprisme/35460_set_frein_a_disque_shimano_xtr_m9100_(avant).jpg
2023-10-13	13:01:53	2238	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:53	2238	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35460_set_frein_a_disque_shimano_xtr_m9100_(avant).jpg'
2023-10-13	13:01:53	2238	[DEBUG]	Query for Media
2023-10-13	13:01:53	2238	[DEBUG]	Executed store
2023-10-13	13:01:53	2238	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35460_set_frein_a_disque_shimano_xtr_m9100_(avant).jpg',`file_url_thumb`='bcprisme/35460_set_frein_a_disque_shimano_xtr_m9100_(avant).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '380462'
2023-10-13	13:01:53	2238	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:53	2238	[DEBUG]	Executed store
2023-10-13	13:01:53	2238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861730','380462','1')
2023-10-13	13:01:53	2238	[DEBUG]	Store product image relation
2023-10-13	13:01:53	2238	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:53	2238	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861730 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:53	2238	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:53	2238	[DEBUG]	Executed store
2023-10-13	13:01:53	2238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861730','0','262.766945218199','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:53	2238	[DEBUG]	Checking manufacturer
2023-10-13	13:01:53	2238	[DEBUG]	Load a row
2023-10-13	13:01:53	2238	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:53	2238	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:01:53	2238	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:53	2238	[DEBUG]	Executed store
2023-10-13	13:01:53	2238	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:01:53	2238	[DEBUG]	Manufacturer exists
2023-10-13	13:01:53	2238	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:01:53	2238	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:53	2238	[DEBUG]	Executed store
2023-10-13	13:01:53	2238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861730','38')
2023-10-13	13:01:53	2238	[DEBUG]	Find the custom field ID
2023-10-13	13:01:53	2238	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:53	2238	[DEBUG]	No custom field ID found
2023-10-13	13:01:53	2238	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:53	2238	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:53	2238	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861730 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:53	2238	[DEBUG]	Store custom available field
2023-10-13	13:01:53	2238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861730,3,'0',1)
2023-10-13	13:01:53	2238	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:53	2238	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:53	2238	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861730 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:53	2238	[DEBUG]	Store custom available field
2023-10-13	13:01:53	2238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861730,6,'choisir la taille',3)
2023-10-13	13:01:53	2238	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:53	2238	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:53	2238	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:53	2238	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:53	2238	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861730 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:53	2238	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:53	2238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861730,8,1)
2023-10-13	13:01:53	2238	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:53	2238	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861730\":[1861730,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861730
2023-10-13	13:01:53	2238	[DEBUG]	Checking category
2023-10-13	13:01:53	2238	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:53	2238	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861730
2023-10-13	13:01:53	2238	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:53	2238	[DEBUG]	Executed store
2023-10-13	13:01:53	2238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861730','7339')
2023-10-13	13:01:53	2238	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:53	2238	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861730 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:53	2238	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:53	2238	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861730
2023-10-13	13:01:53	2239	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:53	2239	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:53	2239	[DEBUG]	Use field value for field taille
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:53	2239	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:53	2239	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:53	2239	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:53	2239	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:53	2239	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:53	2239	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:53	2239	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:53	2239	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:53	2239	[DEBUG]	Use field value for field published
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:53	2239	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field override
2023-10-13	13:01:53	2239	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:53	2239	[DEBUG]	Use field value for field slug
2023-10-13	13:01:53	2239	[DEBUG]	Process line 2239
2023-10-13	13:01:53	2239	[DEBUG]	Load a row
2023-10-13	13:01:53	2239	[DEBUG]	Processing item: 1000000134223
2023-10-13	13:01:53	2239	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:53	2239	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:53	2239	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7693_10'
2023-10-13	13:01:53	2239	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:53	2239	[DEBUG]	Processing product tax
2023-10-13	13:01:53	2239	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:53	2239	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:53	2239	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:53	2239	[DEBUG]	Query for Product
2023-10-13	13:01:53	2239	[DEBUG]	Executed store
2023-10-13	13:01:53	2239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861730','1000000134223','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:53	2239	[DEBUG]	No parent found
2023-10-13	13:01:53	2239	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861730 AND customfield_value = 'stockable'
2023-10-13	13:01:53	2239	[DEBUG]	Check product language entry
2023-10-13	13:01:53	2239	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861731
2023-10-13	13:01:53	2239	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:53	2239	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000134223' AND `virtuemart_product_id` != 1861731
2023-10-13	13:01:53	2239	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:53	2239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861731, '1000000134223')
2023-10-13	13:01:53	2239	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:53	2239	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-set-frein-a-disque-shimano-xtr-m9100-avant-noir-argent-unitaire' AND `virtuemart_product_id` != 1861731
2023-10-13	13:01:53	2239	[DEBUG]	Query for ProductLang
2023-10-13	13:01:53	2239	[DEBUG]	Executed store
2023-10-13	13:01:53	2239	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA SET FREIN A DISQUE SHIMANO XTR M9100 (AVANT) / Noir-argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-set-frein-a-disque-shimano-xtr-m9100-avant-noir-argent-unitaire' WHERE `virtuemart_product_id` = '1861731'
2023-10-13	13:01:53	2239	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35460_set_frein_a_disque_shimano_xtr_m9100_(avant).jpg
2023-10-13	13:01:53	2239	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:53	2239	[DEBUG]	Process image file
2023-10-13	13:01:53	2239	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:53	2239	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:53	2239	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35460_set_frein_a_disque_shimano_xtr_m9100_(avant).jpg
2023-10-13	13:01:53	2239	[DEBUG]	Full name target: bcprisme/35460_set_frein_a_disque_shimano_xtr_m9100_(avant).jpg
2023-10-13	13:01:54	2239	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:54	2239	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35460_set_frein_a_disque_shimano_xtr_m9100_(avant).jpg'
2023-10-13	13:01:54	2239	[DEBUG]	Query for Media
2023-10-13	13:01:54	2239	[DEBUG]	Executed store
2023-10-13	13:01:54	2239	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35460_set_frein_a_disque_shimano_xtr_m9100_(avant).jpg',`file_url_thumb`='bcprisme/35460_set_frein_a_disque_shimano_xtr_m9100_(avant).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '380462'
2023-10-13	13:01:54	2239	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:54	2239	[DEBUG]	Executed store
2023-10-13	13:01:54	2239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861731','380462','1')
2023-10-13	13:01:54	2239	[DEBUG]	Store product image relation
2023-10-13	13:01:54	2239	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:54	2239	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861731 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:54	2239	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:54	2239	[DEBUG]	Executed store
2023-10-13	13:01:54	2239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861731','0','262.766945218199','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:54	2239	[DEBUG]	Checking manufacturer
2023-10-13	13:01:54	2239	[DEBUG]	Load a row
2023-10-13	13:01:54	2239	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:54	2239	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:01:54	2239	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:54	2239	[DEBUG]	Executed store
2023-10-13	13:01:54	2239	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:01:54	2239	[DEBUG]	Manufacturer exists
2023-10-13	13:01:54	2239	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:01:54	2239	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:54	2239	[DEBUG]	Executed store
2023-10-13	13:01:54	2239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861731','38')
2023-10-13	13:01:54	2239	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:54	2239	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:54	2239	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861731 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:54	2239	[DEBUG]	Store custom available field
2023-10-13	13:01:54	2239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861731,3,'',1)
2023-10-13	13:01:54	2239	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:54	2239	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:54	2239	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861731 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:54	2239	[DEBUG]	Store custom available field
2023-10-13	13:01:54	2239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861731,6,'Unitaire',3)
2023-10-13	13:01:54	2239	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:54	2239	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:54	2239	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861730
2023-10-13	13:01:54	2239	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:54	2239	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861730\":[1861730,8,1,\"choisir la taille\"],\"1861731\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861730
2023-10-13	13:01:54	2239	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:54	2239	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861731
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:54	2240	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field taille
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:54	2240	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:54	2240	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:54	2240	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:54	2240	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:54	2240	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:54	2240	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:54	2240	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field published
2023-10-13	13:01:54	2240	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:54	2240	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field override
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:54	2240	[DEBUG]	Use field value for field slug
2023-10-13	13:01:54	2240	[DEBUG]	Process line 2240
2023-10-13	13:01:54	2240	[DEBUG]	Load a row
2023-10-13	13:01:54	2240	[DEBUG]	Processing item: A_7694_10
2023-10-13	13:01:54	2240	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:54	2240	[DEBUG]	Processing product tax
2023-10-13	13:01:54	2240	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:54	2240	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:54	2240	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:54	2240	[DEBUG]	Query for Product
2023-10-13	13:01:54	2240	[DEBUG]	Executed store
2023-10-13	13:01:54	2240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7694_10','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:54	2240	[DEBUG]	Check product language entry
2023-10-13	13:01:54	2240	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861732
2023-10-13	13:01:54	2240	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:54	2240	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7694_10' AND `virtuemart_product_id` != 1861732
2023-10-13	13:01:54	2240	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:54	2240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861732, 'A_7694_10')
2023-10-13	13:01:54	2240	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:54	2240	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-set-frein-a-disque-shimano-xtr-m9100-arriere-noir-argent' AND `virtuemart_product_id` != 1861732
2023-10-13	13:01:54	2240	[DEBUG]	Query for ProductLang
2023-10-13	13:01:54	2240	[DEBUG]	Executed store
2023-10-13	13:01:54	2240	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : IM9100JRRXRA170',`product_name`='MAGURA SET FREIN A DISQUE SHIMANO XTR M9100 (ARRIERE)  / Noir-argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-set-frein-a-disque-shimano-xtr-m9100-arriere-noir-argent' WHERE `virtuemart_product_id` = '1861732'
2023-10-13	13:01:54	2240	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35472_set_frein_a_disque_shimano_xtr_m9100_(arriere)_.jpg
2023-10-13	13:01:54	2240	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:54	2240	[DEBUG]	Process image file
2023-10-13	13:01:54	2240	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:54	2240	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:54	2240	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35472_set_frein_a_disque_shimano_xtr_m9100_(arriere)_.jpg
2023-10-13	13:01:54	2240	[DEBUG]	Full name target: bcprisme/35472_set_frein_a_disque_shimano_xtr_m9100_(arriere)_.jpg
2023-10-13	13:01:55	2240	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:55	2240	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35472_set_frein_a_disque_shimano_xtr_m9100_(arriere)_.jpg'
2023-10-13	13:01:55	2240	[DEBUG]	Query for Media
2023-10-13	13:01:55	2240	[DEBUG]	Executed store
2023-10-13	13:01:55	2240	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35472_set_frein_a_disque_shimano_xtr_m9100_(arriere)_.jpg',`file_url_thumb`='bcprisme/35472_set_frein_a_disque_shimano_xtr_m9100_(arriere)_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '380464'
2023-10-13	13:01:55	2240	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:55	2240	[DEBUG]	Executed store
2023-10-13	13:01:55	2240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861732','380464','1')
2023-10-13	13:01:55	2240	[DEBUG]	Store product image relation
2023-10-13	13:01:55	2240	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:55	2240	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861732 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:55	2240	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:55	2240	[DEBUG]	Executed store
2023-10-13	13:01:55	2240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861732','0','268.337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:55	2240	[DEBUG]	Checking manufacturer
2023-10-13	13:01:55	2240	[DEBUG]	Load a row
2023-10-13	13:01:55	2240	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:55	2240	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:01:55	2240	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:55	2240	[DEBUG]	Executed store
2023-10-13	13:01:55	2240	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:01:55	2240	[DEBUG]	Manufacturer exists
2023-10-13	13:01:55	2240	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:01:55	2240	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:55	2240	[DEBUG]	Executed store
2023-10-13	13:01:55	2240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861732','38')
2023-10-13	13:01:55	2240	[DEBUG]	Find the custom field ID
2023-10-13	13:01:55	2240	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:55	2240	[DEBUG]	No custom field ID found
2023-10-13	13:01:55	2240	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:55	2240	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:55	2240	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861732 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:55	2240	[DEBUG]	Store custom available field
2023-10-13	13:01:55	2240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861732,3,'0',1)
2023-10-13	13:01:55	2240	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:55	2240	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:55	2240	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861732 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:55	2240	[DEBUG]	Store custom available field
2023-10-13	13:01:55	2240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861732,6,'choisir la taille',3)
2023-10-13	13:01:55	2240	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:55	2240	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:55	2240	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:55	2240	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:55	2240	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861732 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:55	2240	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:55	2240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861732,8,1)
2023-10-13	13:01:55	2240	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:55	2240	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861732\":[1861732,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861732
2023-10-13	13:01:55	2240	[DEBUG]	Checking category
2023-10-13	13:01:55	2240	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:55	2240	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861732
2023-10-13	13:01:55	2240	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:55	2240	[DEBUG]	Executed store
2023-10-13	13:01:55	2240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861732','7339')
2023-10-13	13:01:55	2240	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:55	2240	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861732 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:55	2240	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:55	2240	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861732
2023-10-13	13:01:55	2241	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:55	2241	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:55	2241	[DEBUG]	Use field value for field taille
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:55	2241	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:55	2241	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:55	2241	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:55	2241	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:55	2241	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:55	2241	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:55	2241	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:55	2241	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:55	2241	[DEBUG]	Use field value for field published
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:55	2241	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field override
2023-10-13	13:01:55	2241	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:55	2241	[DEBUG]	Use field value for field slug
2023-10-13	13:01:55	2241	[DEBUG]	Process line 2241
2023-10-13	13:01:55	2241	[DEBUG]	Load a row
2023-10-13	13:01:55	2241	[DEBUG]	Processing item: 1000000134230
2023-10-13	13:01:55	2241	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:55	2241	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:55	2241	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7694_10'
2023-10-13	13:01:55	2241	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:55	2241	[DEBUG]	Processing product tax
2023-10-13	13:01:55	2241	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:55	2241	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:55	2241	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:55	2241	[DEBUG]	Query for Product
2023-10-13	13:01:55	2241	[DEBUG]	Executed store
2023-10-13	13:01:55	2241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861732','1000000134230','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:55	2241	[DEBUG]	No parent found
2023-10-13	13:01:55	2241	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861732 AND customfield_value = 'stockable'
2023-10-13	13:01:55	2241	[DEBUG]	Check product language entry
2023-10-13	13:01:55	2241	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861733
2023-10-13	13:01:55	2241	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:55	2241	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000134230' AND `virtuemart_product_id` != 1861733
2023-10-13	13:01:55	2241	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:55	2241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861733, '1000000134230')
2023-10-13	13:01:55	2241	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:55	2241	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-set-frein-a-disque-shimano-xtr-m9100-arriere-noir-argent-unitaire' AND `virtuemart_product_id` != 1861733
2023-10-13	13:01:55	2241	[DEBUG]	Query for ProductLang
2023-10-13	13:01:55	2241	[DEBUG]	Executed store
2023-10-13	13:01:55	2241	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA SET FREIN A DISQUE SHIMANO XTR M9100 (ARRIERE)  / Noir-argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-set-frein-a-disque-shimano-xtr-m9100-arriere-noir-argent-unitaire' WHERE `virtuemart_product_id` = '1861733'
2023-10-13	13:01:55	2241	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35472_set_frein_a_disque_shimano_xtr_m9100_(arriere)_.jpg
2023-10-13	13:01:55	2241	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:55	2241	[DEBUG]	Process image file
2023-10-13	13:01:55	2241	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:01:55	2241	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:55	2241	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35472_set_frein_a_disque_shimano_xtr_m9100_(arriere)_.jpg
2023-10-13	13:01:55	2241	[DEBUG]	Full name target: bcprisme/35472_set_frein_a_disque_shimano_xtr_m9100_(arriere)_.jpg
2023-10-13	13:01:56	2241	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:56	2241	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35472_set_frein_a_disque_shimano_xtr_m9100_(arriere)_.jpg'
2023-10-13	13:01:56	2241	[DEBUG]	Query for Media
2023-10-13	13:01:56	2241	[DEBUG]	Executed store
2023-10-13	13:01:56	2241	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35472_set_frein_a_disque_shimano_xtr_m9100_(arriere)_.jpg',`file_url_thumb`='bcprisme/35472_set_frein_a_disque_shimano_xtr_m9100_(arriere)_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '380464'
2023-10-13	13:01:56	2241	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:56	2241	[DEBUG]	Executed store
2023-10-13	13:01:56	2241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861733','380464','1')
2023-10-13	13:01:56	2241	[DEBUG]	Store product image relation
2023-10-13	13:01:56	2241	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:56	2241	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861733 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:56	2241	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:56	2241	[DEBUG]	Executed store
2023-10-13	13:01:56	2241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861733','0','268.337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:56	2241	[DEBUG]	Checking manufacturer
2023-10-13	13:01:56	2241	[DEBUG]	Load a row
2023-10-13	13:01:56	2241	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:56	2241	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:01:56	2241	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:56	2241	[DEBUG]	Executed store
2023-10-13	13:01:56	2241	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:01:56	2241	[DEBUG]	Manufacturer exists
2023-10-13	13:01:56	2241	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:01:56	2241	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:56	2241	[DEBUG]	Executed store
2023-10-13	13:01:56	2241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861733','38')
2023-10-13	13:01:56	2241	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:56	2241	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:56	2241	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861733 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:56	2241	[DEBUG]	Store custom available field
2023-10-13	13:01:56	2241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861733,3,'',1)
2023-10-13	13:01:56	2241	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:56	2241	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:56	2241	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861733 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:56	2241	[DEBUG]	Store custom available field
2023-10-13	13:01:56	2241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861733,6,'Unitaire',3)
2023-10-13	13:01:56	2241	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:56	2241	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:56	2241	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861732
2023-10-13	13:01:56	2241	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:56	2241	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861732\":[1861732,8,1,\"choisir la taille\"],\"1861733\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861732
2023-10-13	13:01:56	2241	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:56	2241	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861733
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:56	2242	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field taille
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:56	2242	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:56	2242	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:56	2242	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:56	2242	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:56	2242	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:56	2242	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field published
2023-10-13	13:01:56	2242	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:56	2242	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field override
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:56	2242	[DEBUG]	Use field value for field slug
2023-10-13	13:01:56	2242	[DEBUG]	Process line 2242
2023-10-13	13:01:56	2242	[DEBUG]	Load a row
2023-10-13	13:01:56	2242	[DEBUG]	Processing item: A_7865_1
2023-10-13	13:01:56	2242	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:56	2242	[DEBUG]	Processing product tax
2023-10-13	13:01:56	2242	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:56	2242	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:56	2242	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:56	2242	[DEBUG]	Query for Product
2023-10-13	13:01:56	2242	[DEBUG]	Executed store
2023-10-13	13:01:56	2242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7865_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:56	2242	[DEBUG]	Check product language entry
2023-10-13	13:01:56	2242	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861734
2023-10-13	13:01:56	2242	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:56	2242	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7865_1' AND `virtuemart_product_id` != 1861734
2023-10-13	13:01:56	2242	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:56	2242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861734, 'A_7865_1')
2023-10-13	13:01:56	2242	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:56	2242	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-deo-m6120-arriere-a-bl-m6100-pm-1700mm-plaque-resin-box-noir' AND `virtuemart_product_id` != 1861734
2023-10-13	13:01:56	2242	[DEBUG]	Query for ProductLang
2023-10-13	13:01:56	2242	[DEBUG]	Executed store
2023-10-13	13:01:56	2242	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.77877',`product_name`='SHIMANO Set fr. à dis. DEO M6120 arriere a/BL-M6100 PM 1700mm plaque resin box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-deo-m6120-arriere-a-bl-m6100-pm-1700mm-plaque-resin-box-noir' WHERE `virtuemart_product_id` = '1861734'
2023-10-13	13:01:56	2242	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77877_001_jpg.jpg
2023-10-13	13:01:56	2242	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:56	2242	[DEBUG]	Process image file
2023-10-13	13:01:56	2242	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:56	2242	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:56	2242	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77877_001_jpg.jpg
2023-10-13	13:01:56	2242	[DEBUG]	Full name target: bcprisme/73_77877_001_jpg.jpg
2023-10-13	13:01:57	2242	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:57	2242	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77877_001_jpg.jpg'
2023-10-13	13:01:57	2242	[DEBUG]	Query for Media
2023-10-13	13:01:57	2242	[DEBUG]	Executed store
2023-10-13	13:01:57	2242	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77877_001_jpg.jpg',`file_url_thumb`='bcprisme/73_77877_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '503180'
2023-10-13	13:01:57	2242	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:57	2242	[DEBUG]	Executed store
2023-10-13	13:01:57	2242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861734','503180','1')
2023-10-13	13:01:57	2242	[DEBUG]	Store product image relation
2023-10-13	13:01:57	2242	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:57	2242	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861734 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:57	2242	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:57	2242	[DEBUG]	Executed store
2023-10-13	13:01:57	2242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861734','0','129.990714948932','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:57	2242	[DEBUG]	Checking manufacturer
2023-10-13	13:01:57	2242	[DEBUG]	Load a row
2023-10-13	13:01:57	2242	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:57	2242	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:57	2242	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:57	2242	[DEBUG]	Executed store
2023-10-13	13:01:57	2242	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:57	2242	[DEBUG]	Manufacturer exists
2023-10-13	13:01:57	2242	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:57	2242	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:57	2242	[DEBUG]	Executed store
2023-10-13	13:01:57	2242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861734','26')
2023-10-13	13:01:57	2242	[DEBUG]	Find the custom field ID
2023-10-13	13:01:57	2242	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:57	2242	[DEBUG]	No custom field ID found
2023-10-13	13:01:57	2242	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:57	2242	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:57	2242	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861734 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:57	2242	[DEBUG]	Store custom available field
2023-10-13	13:01:57	2242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861734,3,'0',1)
2023-10-13	13:01:57	2242	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:57	2242	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:57	2242	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861734 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:57	2242	[DEBUG]	Store custom available field
2023-10-13	13:01:57	2242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861734,6,'choisir la taille',3)
2023-10-13	13:01:57	2242	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:57	2242	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:57	2242	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:57	2242	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:57	2242	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861734 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:57	2242	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:57	2242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861734,8,1)
2023-10-13	13:01:57	2242	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:57	2242	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861734\":[1861734,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861734
2023-10-13	13:01:57	2242	[DEBUG]	Checking category
2023-10-13	13:01:57	2242	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:57	2242	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861734
2023-10-13	13:01:57	2242	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:57	2242	[DEBUG]	Executed store
2023-10-13	13:01:57	2242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861734','7339')
2023-10-13	13:01:57	2242	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:57	2242	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861734 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:57	2242	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:57	2242	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861734
2023-10-13	13:01:57	2243	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:57	2243	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:57	2243	[DEBUG]	Use field value for field taille
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:57	2243	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:57	2243	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:57	2243	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:57	2243	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:57	2243	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:57	2243	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:57	2243	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:57	2243	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:57	2243	[DEBUG]	Use field value for field published
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:57	2243	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field override
2023-10-13	13:01:57	2243	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:57	2243	[DEBUG]	Use field value for field slug
2023-10-13	13:01:57	2243	[DEBUG]	Process line 2243
2023-10-13	13:01:57	2243	[DEBUG]	Load a row
2023-10-13	13:01:57	2243	[DEBUG]	Processing item: 4550170687168
2023-10-13	13:01:57	2243	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:57	2243	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:57	2243	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7865_1'
2023-10-13	13:01:57	2243	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:57	2243	[DEBUG]	Processing product tax
2023-10-13	13:01:57	2243	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:57	2243	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:57	2243	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:57	2243	[DEBUG]	Query for Product
2023-10-13	13:01:57	2243	[DEBUG]	Executed store
2023-10-13	13:01:57	2243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861734','4550170687168','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:57	2243	[DEBUG]	No parent found
2023-10-13	13:01:57	2243	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861734 AND customfield_value = 'stockable'
2023-10-13	13:01:57	2243	[DEBUG]	Check product language entry
2023-10-13	13:01:57	2243	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861735
2023-10-13	13:01:57	2243	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:57	2243	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170687168' AND `virtuemart_product_id` != 1861735
2023-10-13	13:01:57	2243	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:57	2243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861735, '4550170687168')
2023-10-13	13:01:57	2243	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:57	2243	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-deo-m6120-arriere-a-bl-m6100-pm-1700mm-plaque-resin-box-noir-unitaire' AND `virtuemart_product_id` != 1861735
2023-10-13	13:01:57	2243	[DEBUG]	Query for ProductLang
2023-10-13	13:01:57	2243	[DEBUG]	Executed store
2023-10-13	13:01:57	2243	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. DEO M6120 arriere a/BL-M6100 PM 1700mm plaque resin box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-deo-m6120-arriere-a-bl-m6100-pm-1700mm-plaque-resin-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861735'
2023-10-13	13:01:57	2243	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77877_001_jpg.jpg
2023-10-13	13:01:57	2243	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:57	2243	[DEBUG]	Process image file
2023-10-13	13:01:57	2243	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:57	2243	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:57	2243	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77877_001_jpg.jpg
2023-10-13	13:01:57	2243	[DEBUG]	Full name target: bcprisme/73_77877_001_jpg.jpg
2023-10-13	13:01:58	2243	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:58	2243	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77877_001_jpg.jpg'
2023-10-13	13:01:58	2243	[DEBUG]	Query for Media
2023-10-13	13:01:58	2243	[DEBUG]	Executed store
2023-10-13	13:01:58	2243	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77877_001_jpg.jpg',`file_url_thumb`='bcprisme/73_77877_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '503180'
2023-10-13	13:01:58	2243	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:58	2243	[DEBUG]	Executed store
2023-10-13	13:01:58	2243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861735','503180','1')
2023-10-13	13:01:58	2243	[DEBUG]	Store product image relation
2023-10-13	13:01:58	2243	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:58	2243	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861735 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:58	2243	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:58	2243	[DEBUG]	Executed store
2023-10-13	13:01:58	2243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861735','0','129.990714948932','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:58	2243	[DEBUG]	Checking manufacturer
2023-10-13	13:01:58	2243	[DEBUG]	Load a row
2023-10-13	13:01:58	2243	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:58	2243	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:58	2243	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:58	2243	[DEBUG]	Executed store
2023-10-13	13:01:58	2243	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:58	2243	[DEBUG]	Manufacturer exists
2023-10-13	13:01:58	2243	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:58	2243	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:58	2243	[DEBUG]	Executed store
2023-10-13	13:01:58	2243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861735','26')
2023-10-13	13:01:58	2243	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:58	2243	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:01:58	2243	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861735 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:58	2243	[DEBUG]	Store custom available field
2023-10-13	13:01:58	2243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861735,3,'',1)
2023-10-13	13:01:58	2243	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:58	2243	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:01:58	2243	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861735 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:58	2243	[DEBUG]	Store custom available field
2023-10-13	13:01:58	2243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861735,6,'Unitaire',3)
2023-10-13	13:01:58	2243	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:58	2243	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:01:58	2243	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861734
2023-10-13	13:01:58	2243	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:58	2243	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861734\":[1861734,8,1,\"choisir la taille\"],\"1861735\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861734
2023-10-13	13:01:58	2243	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:58	2243	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861735
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:58	2244	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field taille
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field category_path
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:58	2244	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:01:58	2244	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:58	2244	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field product_weight
2023-10-13	13:01:58	2244	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:58	2244	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:58	2244	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field published
2023-10-13	13:01:58	2244	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:58	2244	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field custom_title
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field custom_param
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field override
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field public_price
2023-10-13	13:01:58	2244	[DEBUG]	Use field value for field slug
2023-10-13	13:01:58	2244	[DEBUG]	Process line 2244
2023-10-13	13:01:58	2244	[DEBUG]	Load a row
2023-10-13	13:01:58	2244	[DEBUG]	Processing item: A_7866_1
2023-10-13	13:01:58	2244	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:58	2244	[DEBUG]	Processing product tax
2023-10-13	13:01:58	2244	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:58	2244	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:58	2244	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:58	2244	[DEBUG]	Query for Product
2023-10-13	13:01:58	2244	[DEBUG]	Executed store
2023-10-13	13:01:58	2244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7866_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:58	2244	[DEBUG]	Check product language entry
2023-10-13	13:01:58	2244	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861736
2023-10-13	13:01:58	2244	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:58	2244	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7866_1' AND `virtuemart_product_id` != 1861736
2023-10-13	13:01:58	2244	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:58	2244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861736, 'A_7866_1')
2023-10-13	13:01:58	2244	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:58	2244	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-noir' AND `virtuemart_product_id` != 1861736
2023-10-13	13:01:58	2244	[DEBUG]	Query for ProductLang
2023-10-13	13:01:58	2244	[DEBUG]	Executed store
2023-10-13	13:01:58	2244	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.77876',`product_name`='SHIMANO   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-noir' WHERE `virtuemart_product_id` = '1861736'
2023-10-13	13:01:58	2244	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77877_001_jpg.jpg
2023-10-13	13:01:58	2244	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:58	2244	[DEBUG]	Process image file
2023-10-13	13:01:58	2244	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:58	2244	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:58	2244	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77877_001_jpg.jpg
2023-10-13	13:01:58	2244	[DEBUG]	Full name target: bcprisme/73_77877_001_jpg.jpg
2023-10-13	13:01:59	2244	[DEBUG]	Checking if the file_url exists
2023-10-13	13:01:59	2244	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77877_001_jpg.jpg'
2023-10-13	13:01:59	2244	[DEBUG]	Query for Media
2023-10-13	13:01:59	2244	[DEBUG]	Executed store
2023-10-13	13:01:59	2244	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77877_001_jpg.jpg',`file_url_thumb`='bcprisme/73_77877_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '503180'
2023-10-13	13:01:59	2244	[DEBUG]	Query for ProductMedia
2023-10-13	13:01:59	2244	[DEBUG]	Executed store
2023-10-13	13:01:59	2244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861736','503180','1')
2023-10-13	13:01:59	2244	[DEBUG]	Store product image relation
2023-10-13	13:01:59	2244	[DEBUG]	Finding a product_price_id
2023-10-13	13:01:59	2244	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861736 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:01:59	2244	[DEBUG]	Query for ProductPrice
2023-10-13	13:01:59	2244	[DEBUG]	Executed store
2023-10-13	13:01:59	2244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861736','0','125.348189415042','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:01:59	2244	[DEBUG]	Checking manufacturer
2023-10-13	13:01:59	2244	[DEBUG]	Load a row
2023-10-13	13:01:59	2244	[DEBUG]	Manufacturer already exists
2023-10-13	13:01:59	2244	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:59	2244	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:01:59	2244	[DEBUG]	Executed store
2023-10-13	13:01:59	2244	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:01:59	2244	[DEBUG]	Manufacturer exists
2023-10-13	13:01:59	2244	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:01:59	2244	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:01:59	2244	[DEBUG]	Executed store
2023-10-13	13:01:59	2244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861736','26')
2023-10-13	13:01:59	2244	[DEBUG]	Find the custom field ID
2023-10-13	13:01:59	2244	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:01:59	2244	[DEBUG]	No custom field ID found
2023-10-13	13:01:59	2244	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:01:59	2244	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:01:59	2244	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861736 AND `virtuemart_custom_id` = 3
2023-10-13	13:01:59	2244	[DEBUG]	Store custom available field
2023-10-13	13:01:59	2244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861736,3,'0',1)
2023-10-13	13:01:59	2244	[DEBUG]	Processing custom available field: taille
2023-10-13	13:01:59	2244	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:01:59	2244	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861736 AND `virtuemart_custom_id` = 6
2023-10-13	13:01:59	2244	[DEBUG]	Store custom available field
2023-10-13	13:01:59	2244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861736,6,'choisir la taille',3)
2023-10-13	13:01:59	2244	[DEBUG]	Process multi-variant fields
2023-10-13	13:01:59	2244	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:01:59	2244	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:01:59	2244	[DEBUG]	Find the multi variant product entry
2023-10-13	13:01:59	2244	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861736 AND `virtuemart_custom_id` = 8
2023-10-13	13:01:59	2244	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:01:59	2244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861736,8,1)
2023-10-13	13:01:59	2244	[DEBUG]	Store the updated customfield_params
2023-10-13	13:01:59	2244	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861736\":[1861736,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861736
2023-10-13	13:01:59	2244	[DEBUG]	Checking category
2023-10-13	13:01:59	2244	[DEBUG]	Get the existing categories for the product
2023-10-13	13:01:59	2244	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861736
2023-10-13	13:01:59	2244	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:01:59	2244	[DEBUG]	Executed store
2023-10-13	13:01:59	2244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861736','7339')
2023-10-13	13:01:59	2244	[DEBUG]	Delete leftover product categories
2023-10-13	13:01:59	2244	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861736 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:01:59	2244	[DEBUG]	Update has fields after all processing
2023-10-13	13:01:59	2244	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861736
2023-10-13	13:01:59	2245	[DEBUG]	Use field value for field product_sku
2023-10-13	13:01:59	2245	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:01:59	2245	[DEBUG]	Use field value for field taille
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:01:59	2245	[DEBUG]	Use field value for field product_name
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field category_path
2023-10-13	13:01:59	2245	[DEBUG]	Use field value for field product_price
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:01:59	2245	[DEBUG]	Use field value for field product_tax
2023-10-13	13:01:59	2245	[DEBUG]	Use field value for field file_url
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field product_desc
2023-10-13	13:01:59	2245	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:01:59	2245	[DEBUG]	Use field value for field product_availability
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field product_weight
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field product_unit
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field related_products
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field product_special
2023-10-13	13:01:59	2245	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:01:59	2245	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:01:59	2245	[DEBUG]	Use field value for field published
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field metadesc
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field metakey
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field custom_title
2023-10-13	13:01:59	2245	[DEBUG]	Use field value for field custom_value
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field custom_param
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field override
2023-10-13	13:01:59	2245	[DEBUG]	Use default value for field public_price
2023-10-13	13:01:59	2245	[DEBUG]	Use field value for field slug
2023-10-13	13:01:59	2245	[DEBUG]	Process line 2245
2023-10-13	13:01:59	2245	[DEBUG]	Load a row
2023-10-13	13:01:59	2245	[DEBUG]	Processing item: 4550170687205
2023-10-13	13:01:59	2245	[DEBUG]	Looking for parent SKU
2023-10-13	13:01:59	2245	[DEBUG]	Checking product parent SKU
2023-10-13	13:01:59	2245	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7866_1'
2023-10-13	13:01:59	2245	[DEBUG]	Product tax: 7.7
2023-10-13	13:01:59	2245	[DEBUG]	Processing product tax
2023-10-13	13:01:59	2245	[DEBUG]	Check if calculation rule exists
2023-10-13	13:01:59	2245	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:01:59	2245	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:01:59	2245	[DEBUG]	Query for Product
2023-10-13	13:01:59	2245	[DEBUG]	Executed store
2023-10-13	13:01:59	2245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861736','4550170687205','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:01:59	2245	[DEBUG]	No parent found
2023-10-13	13:01:59	2245	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861736 AND customfield_value = 'stockable'
2023-10-13	13:01:59	2245	[DEBUG]	Check product language entry
2023-10-13	13:01:59	2245	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861737
2023-10-13	13:01:59	2245	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:59	2245	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170687205' AND `virtuemart_product_id` != 1861737
2023-10-13	13:01:59	2245	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:01:59	2245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861737, '4550170687205')
2023-10-13	13:01:59	2245	[DEBUG]	Check if the product slug exists
2023-10-13	13:01:59	2245	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-noir-unitaire' AND `virtuemart_product_id` != 1861737
2023-10-13	13:01:59	2245	[DEBUG]	Query for ProductLang
2023-10-13	13:01:59	2245	[DEBUG]	Executed store
2023-10-13	13:01:59	2245	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-noir-unitaire' WHERE `virtuemart_product_id` = '1861737'
2023-10-13	13:01:59	2245	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77877_001_jpg.jpg
2023-10-13	13:01:59	2245	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:59	2245	[DEBUG]	Process image file
2023-10-13	13:01:59	2245	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:01:59	2245	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:01:59	2245	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77877_001_jpg.jpg
2023-10-13	13:01:59	2245	[DEBUG]	Full name target: bcprisme/73_77877_001_jpg.jpg
2023-10-13	13:02:00	2245	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:00	2245	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77877_001_jpg.jpg'
2023-10-13	13:02:00	2245	[DEBUG]	Query for Media
2023-10-13	13:02:00	2245	[DEBUG]	Executed store
2023-10-13	13:02:00	2245	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77877_001_jpg.jpg',`file_url_thumb`='bcprisme/73_77877_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '503180'
2023-10-13	13:02:00	2245	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:00	2245	[DEBUG]	Executed store
2023-10-13	13:02:00	2245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861737','503180','1')
2023-10-13	13:02:00	2245	[DEBUG]	Store product image relation
2023-10-13	13:02:00	2245	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:00	2245	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861737 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:00	2245	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:00	2245	[DEBUG]	Executed store
2023-10-13	13:02:00	2245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861737','0','125.348189415042','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:00	2245	[DEBUG]	Checking manufacturer
2023-10-13	13:02:00	2245	[DEBUG]	Load a row
2023-10-13	13:02:00	2245	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:00	2245	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:00	2245	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:00	2245	[DEBUG]	Executed store
2023-10-13	13:02:00	2245	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:00	2245	[DEBUG]	Manufacturer exists
2023-10-13	13:02:00	2245	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:00	2245	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:00	2245	[DEBUG]	Executed store
2023-10-13	13:02:00	2245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861737','26')
2023-10-13	13:02:00	2245	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:00	2245	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:00	2245	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861737 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:00	2245	[DEBUG]	Store custom available field
2023-10-13	13:02:00	2245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861737,3,'',1)
2023-10-13	13:02:00	2245	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:00	2245	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:00	2245	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861737 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:00	2245	[DEBUG]	Store custom available field
2023-10-13	13:02:00	2245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861737,6,'Unitaire',3)
2023-10-13	13:02:00	2245	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:00	2245	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:00	2245	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861736
2023-10-13	13:02:00	2245	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:00	2245	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861736\":[1861736,8,1,\"choisir la taille\"],\"1861737\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861736
2023-10-13	13:02:00	2245	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:00	2245	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861737
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:00	2246	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field taille
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:00	2246	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:00	2246	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:00	2246	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:00	2246	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:00	2246	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:00	2246	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field published
2023-10-13	13:02:00	2246	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:00	2246	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field override
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:00	2246	[DEBUG]	Use field value for field slug
2023-10-13	13:02:00	2246	[DEBUG]	Process line 2246
2023-10-13	13:02:00	2246	[DEBUG]	Load a row
2023-10-13	13:02:00	2246	[DEBUG]	Processing item: A_7993_1
2023-10-13	13:02:00	2246	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:00	2246	[DEBUG]	Processing product tax
2023-10-13	13:02:00	2246	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:00	2246	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:00	2246	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:00	2246	[DEBUG]	Query for Product
2023-10-13	13:02:00	2246	[DEBUG]	Executed store
2023-10-13	13:02:00	2246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7993_1','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:00	2246	[DEBUG]	Check product language entry
2023-10-13	13:02:00	2246	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861738
2023-10-13	13:02:00	2246	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:00	2246	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7993_1' AND `virtuemart_product_id` != 1861738
2023-10-13	13:02:00	2246	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:00	2246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861738, 'A_7993_1')
2023-10-13	13:02:00	2246	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:00	2246	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-mt401-avant-bl-mt401-pm-plaq-d-frein-re-noir-box-noir' AND `virtuemart_product_id` != 1861738
2023-10-13	13:02:00	2246	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:02:00	2246	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'shimano-set-fr-a-dis-mt401-avant-bl-mt401-pm-plaq-d-frein-re-noir-box-noir', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'shimano-set-fr-a-dis-mt401-avant-bl-mt401-pm-plaq-d-frein-re-noir-box-noir' OR `slug` LIKE 'shimano-set-fr-a-dis-mt401-avant-bl-mt401-pm-plaq-d-frein-re-noir-box-noir-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1861738 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:02:00	2246	[DEBUG]	Query for ProductLang
2023-10-13	13:02:00	2246	[DEBUG]	Executed store
2023-10-13	13:02:00	2246	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.79337',`product_name`='SHIMANO Set fr. à dis. MT401 avant BL-MT401 PM plaq. d. frein ré. noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-mt401-avant-bl-mt401-pm-plaq-d-frein-re-noir-box-noir-1' WHERE `virtuemart_product_id` = '1861738'
2023-10-13	13:02:00	2246	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_79337_002_jpg.jpg
2023-10-13	13:02:00	2246	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:00	2246	[DEBUG]	Process image file
2023-10-13	13:02:00	2246	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:00	2246	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:00	2246	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_79337_002_jpg.jpg
2023-10-13	13:02:00	2246	[DEBUG]	Full name target: bcprisme/73_79337_002_jpg.jpg
2023-10-13	13:02:01	2246	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:01	2246	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_79337_002_jpg.jpg'
2023-10-13	13:02:01	2246	[DEBUG]	Query for Media
2023-10-13	13:02:01	2246	[DEBUG]	Executed store
2023-10-13	13:02:01	2246	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_79337_002_jpg.jpg',`file_url_thumb`='bcprisme/73_79337_002_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '676317'
2023-10-13	13:02:01	2246	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:01	2246	[DEBUG]	Executed store
2023-10-13	13:02:01	2246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861738','676317','1')
2023-10-13	13:02:01	2246	[DEBUG]	Store product image relation
2023-10-13	13:02:01	2246	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:01	2246	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861738 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:01	2246	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:01	2246	[DEBUG]	Executed store
2023-10-13	13:02:01	2246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861738','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:01	2246	[DEBUG]	Checking manufacturer
2023-10-13	13:02:01	2246	[DEBUG]	Load a row
2023-10-13	13:02:01	2246	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:01	2246	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:01	2246	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:01	2246	[DEBUG]	Executed store
2023-10-13	13:02:01	2246	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:01	2246	[DEBUG]	Manufacturer exists
2023-10-13	13:02:01	2246	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:01	2246	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:01	2246	[DEBUG]	Executed store
2023-10-13	13:02:01	2246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861738','26')
2023-10-13	13:02:01	2246	[DEBUG]	Find the custom field ID
2023-10-13	13:02:01	2246	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:01	2246	[DEBUG]	No custom field ID found
2023-10-13	13:02:01	2246	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:01	2246	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:01	2246	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861738 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:01	2246	[DEBUG]	Store custom available field
2023-10-13	13:02:01	2246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861738,3,'0',1)
2023-10-13	13:02:01	2246	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:01	2246	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:01	2246	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861738 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:01	2246	[DEBUG]	Store custom available field
2023-10-13	13:02:01	2246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861738,6,'choisir la taille',3)
2023-10-13	13:02:01	2246	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:01	2246	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:01	2246	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:01	2246	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:01	2246	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861738 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:01	2246	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:01	2246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861738,8,1)
2023-10-13	13:02:01	2246	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:01	2246	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861738\":[1861738,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861738
2023-10-13	13:02:01	2246	[DEBUG]	Checking category
2023-10-13	13:02:01	2246	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:01	2246	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861738
2023-10-13	13:02:01	2246	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:01	2246	[DEBUG]	Executed store
2023-10-13	13:02:01	2246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861738','7339')
2023-10-13	13:02:01	2246	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:01	2246	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861738 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:01	2246	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:01	2246	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861738
2023-10-13	13:02:01	2247	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:01	2247	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:01	2247	[DEBUG]	Use field value for field taille
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:01	2247	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:01	2247	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:01	2247	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:01	2247	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:01	2247	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:01	2247	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:01	2247	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:01	2247	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:01	2247	[DEBUG]	Use field value for field published
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:01	2247	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field override
2023-10-13	13:02:01	2247	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:01	2247	[DEBUG]	Use field value for field slug
2023-10-13	13:02:01	2247	[DEBUG]	Process line 2247
2023-10-13	13:02:01	2247	[DEBUG]	Load a row
2023-10-13	13:02:01	2247	[DEBUG]	Processing item: 4550170621612
2023-10-13	13:02:01	2247	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:01	2247	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:01	2247	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7993_1'
2023-10-13	13:02:01	2247	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:01	2247	[DEBUG]	Processing product tax
2023-10-13	13:02:01	2247	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:01	2247	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:01	2247	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:01	2247	[DEBUG]	Query for Product
2023-10-13	13:02:01	2247	[DEBUG]	Executed store
2023-10-13	13:02:01	2247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861738','4550170621612','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:01	2247	[DEBUG]	No parent found
2023-10-13	13:02:01	2247	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861738 AND customfield_value = 'stockable'
2023-10-13	13:02:01	2247	[DEBUG]	Check product language entry
2023-10-13	13:02:01	2247	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861739
2023-10-13	13:02:01	2247	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:01	2247	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170621612' AND `virtuemart_product_id` != 1861739
2023-10-13	13:02:01	2247	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:01	2247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861739, '4550170621612')
2023-10-13	13:02:01	2247	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:01	2247	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-mt401-avant-bl-mt401-pm-plaq-d-frein-re-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1861739
2023-10-13	13:02:01	2247	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:02:01	2247	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'shimano-set-fr-a-dis-mt401-avant-bl-mt401-pm-plaq-d-frein-re-noir-box-noir-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'shimano-set-fr-a-dis-mt401-avant-bl-mt401-pm-plaq-d-frein-re-noir-box-noir-unitaire' OR `slug` LIKE 'shimano-set-fr-a-dis-mt401-avant-bl-mt401-pm-plaq-d-frein-re-noir-box-noir-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1861739 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:02:01	2247	[DEBUG]	Query for ProductLang
2023-10-13	13:02:01	2247	[DEBUG]	Executed store
2023-10-13	13:02:01	2247	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. MT401 avant BL-MT401 PM plaq. d. frein ré. noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-mt401-avant-bl-mt401-pm-plaq-d-frein-re-noir-box-noir-unitaire-1' WHERE `virtuemart_product_id` = '1861739'
2023-10-13	13:02:01	2247	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_79337_002_jpg.jpg
2023-10-13	13:02:01	2247	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:01	2247	[DEBUG]	Process image file
2023-10-13	13:02:01	2247	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:01	2247	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:01	2247	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_79337_002_jpg.jpg
2023-10-13	13:02:01	2247	[DEBUG]	Full name target: bcprisme/73_79337_002_jpg.jpg
2023-10-13	13:02:02	2247	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:02	2247	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_79337_002_jpg.jpg'
2023-10-13	13:02:02	2247	[DEBUG]	Query for Media
2023-10-13	13:02:02	2247	[DEBUG]	Executed store
2023-10-13	13:02:02	2247	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_79337_002_jpg.jpg',`file_url_thumb`='bcprisme/73_79337_002_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '676317'
2023-10-13	13:02:02	2247	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:02	2247	[DEBUG]	Executed store
2023-10-13	13:02:02	2247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861739','676317','1')
2023-10-13	13:02:02	2247	[DEBUG]	Store product image relation
2023-10-13	13:02:02	2247	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:02	2247	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861739 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:02	2247	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:02	2247	[DEBUG]	Executed store
2023-10-13	13:02:02	2247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861739','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:02	2247	[DEBUG]	Checking manufacturer
2023-10-13	13:02:02	2247	[DEBUG]	Load a row
2023-10-13	13:02:02	2247	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:02	2247	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:02	2247	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:02	2247	[DEBUG]	Executed store
2023-10-13	13:02:02	2247	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:02	2247	[DEBUG]	Manufacturer exists
2023-10-13	13:02:02	2247	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:02	2247	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:02	2247	[DEBUG]	Executed store
2023-10-13	13:02:02	2247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861739','26')
2023-10-13	13:02:02	2247	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:02	2247	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:02	2247	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861739 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:02	2247	[DEBUG]	Store custom available field
2023-10-13	13:02:02	2247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861739,3,'',1)
2023-10-13	13:02:02	2247	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:02	2247	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:02	2247	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861739 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:02	2247	[DEBUG]	Store custom available field
2023-10-13	13:02:02	2247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861739,6,'Unitaire',3)
2023-10-13	13:02:02	2247	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:02	2247	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:02	2247	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861738
2023-10-13	13:02:02	2247	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:02	2247	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861738\":[1861738,8,1,\"choisir la taille\"],\"1861739\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861738
2023-10-13	13:02:02	2247	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:02	2247	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861739
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:02	2248	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field taille
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:02	2248	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:02	2248	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:02	2248	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:02	2248	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:02	2248	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:02	2248	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field published
2023-10-13	13:02:02	2248	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:02	2248	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field override
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:02	2248	[DEBUG]	Use field value for field slug
2023-10-13	13:02:02	2248	[DEBUG]	Process line 2248
2023-10-13	13:02:02	2248	[DEBUG]	Load a row
2023-10-13	13:02:02	2248	[DEBUG]	Processing item: A_8259_1
2023-10-13	13:02:02	2248	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:02	2248	[DEBUG]	Processing product tax
2023-10-13	13:02:02	2248	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:02	2248	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:02	2248	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:02	2248	[DEBUG]	Query for Product
2023-10-13	13:02:02	2248	[DEBUG]	Executed store
2023-10-13	13:02:02	2248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8259_1','3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:02	2248	[DEBUG]	Check product language entry
2023-10-13	13:02:02	2248	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861740
2023-10-13	13:02:02	2248	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:02	2248	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8259_1' AND `virtuemart_product_id` != 1861740
2023-10-13	13:02:02	2248	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:02	2248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861740, 'A_8259_1')
2023-10-13	13:02:02	2248	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:02	2248	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-hydrolic-hose-kit-reverb-cj-2000mm-noir' AND `virtuemart_product_id` != 1861740
2023-10-13	13:02:02	2248	[DEBUG]	Query for ProductLang
2023-10-13	13:02:02	2248	[DEBUG]	Executed store
2023-10-13	13:02:02	2248	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Cables de dérailleurs 100unit 1.2 x 2100mm<br>N° art fourn : CCP',`product_name`='MSC HYDROLIC HOSE KIT REVERB CJ 2000MM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-hydrolic-hose-kit-reverb-cj-2000mm-noir' WHERE `virtuemart_product_id` = '1861740'
2023-10-13	13:02:02	2248	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36863_hydrolic_hose_kit_reverb_cj_2000mm.jpg
2023-10-13	13:02:02	2248	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:02	2248	[DEBUG]	Process image file
2023-10-13	13:02:02	2248	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:02	2248	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:02	2248	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36863_hydrolic_hose_kit_reverb_cj_2000mm.jpg
2023-10-13	13:02:02	2248	[DEBUG]	Full name target: bcprisme/36863_hydrolic_hose_kit_reverb_cj_2000mm.jpg
2023-10-13	13:02:03	2248	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:03	2248	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36863_hydrolic_hose_kit_reverb_cj_2000mm.jpg'
2023-10-13	13:02:03	2248	[DEBUG]	Query for Media
2023-10-13	13:02:03	2248	[DEBUG]	Executed store
2023-10-13	13:02:03	2248	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36863_hydrolic_hose_kit_reverb_cj_2000mm.jpg',`file_url_thumb`='bcprisme/36863_hydrolic_hose_kit_reverb_cj_2000mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '726556'
2023-10-13	13:02:03	2248	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:03	2248	[DEBUG]	Executed store
2023-10-13	13:02:03	2248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861740','726556','1')
2023-10-13	13:02:03	2248	[DEBUG]	Store product image relation
2023-10-13	13:02:03	2248	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:03	2248	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861740 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:03	2248	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:03	2248	[DEBUG]	Executed store
2023-10-13	13:02:03	2248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861740','0','29.2479108635097','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:03	2248	[DEBUG]	Checking manufacturer
2023-10-13	13:02:03	2248	[DEBUG]	Load a row
2023-10-13	13:02:03	2248	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:03	2248	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:02:03	2248	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:03	2248	[DEBUG]	Executed store
2023-10-13	13:02:03	2248	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:02:03	2248	[DEBUG]	Manufacturer exists
2023-10-13	13:02:03	2248	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:02:03	2248	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:03	2248	[DEBUG]	Executed store
2023-10-13	13:02:03	2248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861740','32')
2023-10-13	13:02:03	2248	[DEBUG]	Find the custom field ID
2023-10-13	13:02:03	2248	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:03	2248	[DEBUG]	No custom field ID found
2023-10-13	13:02:03	2248	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:03	2248	[DEBUG]	Get existing row with customfield value 79.6780555555556
2023-10-13	13:02:03	2248	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861740 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:03	2248	[DEBUG]	Store custom available field
2023-10-13	13:02:03	2248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861740,3,'79.6780555555556',1)
2023-10-13	13:02:03	2248	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:03	2248	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:03	2248	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861740 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:03	2248	[DEBUG]	Store custom available field
2023-10-13	13:02:03	2248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861740,6,'choisir la taille',3)
2023-10-13	13:02:03	2248	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:03	2248	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:03	2248	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:03	2248	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:03	2248	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861740 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:03	2248	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:03	2248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861740,8,1)
2023-10-13	13:02:03	2248	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:03	2248	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861740\":[1861740,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861740
2023-10-13	13:02:03	2248	[DEBUG]	Checking category
2023-10-13	13:02:03	2248	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:03	2248	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861740
2023-10-13	13:02:03	2248	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:03	2248	[DEBUG]	Executed store
2023-10-13	13:02:03	2248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861740','7339')
2023-10-13	13:02:03	2248	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:03	2248	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861740 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:03	2248	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:03	2248	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861740
2023-10-13	13:02:03	2249	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:03	2249	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:03	2249	[DEBUG]	Use field value for field taille
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:03	2249	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:03	2249	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:03	2249	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:03	2249	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:03	2249	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:03	2249	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:03	2249	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:03	2249	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:03	2249	[DEBUG]	Use field value for field published
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:03	2249	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field override
2023-10-13	13:02:03	2249	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:03	2249	[DEBUG]	Use field value for field slug
2023-10-13	13:02:03	2249	[DEBUG]	Process line 2249
2023-10-13	13:02:03	2249	[DEBUG]	Load a row
2023-10-13	13:02:03	2249	[DEBUG]	Processing item: 1000000147377
2023-10-13	13:02:04	2249	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:04	2249	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:04	2249	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8259_1'
2023-10-13	13:02:04	2249	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:04	2249	[DEBUG]	Processing product tax
2023-10-13	13:02:04	2249	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:04	2249	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:04	2249	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:04	2249	[DEBUG]	Query for Product
2023-10-13	13:02:04	2249	[DEBUG]	Executed store
2023-10-13	13:02:04	2249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861740','1000000147377','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:04	2249	[DEBUG]	No parent found
2023-10-13	13:02:04	2249	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861740 AND customfield_value = 'stockable'
2023-10-13	13:02:04	2249	[DEBUG]	Check product language entry
2023-10-13	13:02:04	2249	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861741
2023-10-13	13:02:04	2249	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:04	2249	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000147377' AND `virtuemart_product_id` != 1861741
2023-10-13	13:02:04	2249	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:04	2249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861741, '1000000147377')
2023-10-13	13:02:04	2249	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:04	2249	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-hydrolic-hose-kit-reverb-cj-2000mm-noir-unitaire' AND `virtuemart_product_id` != 1861741
2023-10-13	13:02:04	2249	[DEBUG]	Query for ProductLang
2023-10-13	13:02:04	2249	[DEBUG]	Executed store
2023-10-13	13:02:04	2249	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC HYDROLIC HOSE KIT REVERB CJ 2000MM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-hydrolic-hose-kit-reverb-cj-2000mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861741'
2023-10-13	13:02:04	2249	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36863_hydrolic_hose_kit_reverb_cj_2000mm.jpg
2023-10-13	13:02:04	2249	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:04	2249	[DEBUG]	Process image file
2023-10-13	13:02:04	2249	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:04	2249	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:04	2249	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36863_hydrolic_hose_kit_reverb_cj_2000mm.jpg
2023-10-13	13:02:04	2249	[DEBUG]	Full name target: bcprisme/36863_hydrolic_hose_kit_reverb_cj_2000mm.jpg
2023-10-13	13:02:04	2249	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:04	2249	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36863_hydrolic_hose_kit_reverb_cj_2000mm.jpg'
2023-10-13	13:02:04	2249	[DEBUG]	Query for Media
2023-10-13	13:02:04	2249	[DEBUG]	Executed store
2023-10-13	13:02:04	2249	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36863_hydrolic_hose_kit_reverb_cj_2000mm.jpg',`file_url_thumb`='bcprisme/36863_hydrolic_hose_kit_reverb_cj_2000mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '726556'
2023-10-13	13:02:04	2249	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:04	2249	[DEBUG]	Executed store
2023-10-13	13:02:04	2249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861741','726556','1')
2023-10-13	13:02:04	2249	[DEBUG]	Store product image relation
2023-10-13	13:02:04	2249	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:04	2249	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861741 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:04	2249	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:04	2249	[DEBUG]	Executed store
2023-10-13	13:02:04	2249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861741','0','29.2479108635097','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:04	2249	[DEBUG]	Checking manufacturer
2023-10-13	13:02:04	2249	[DEBUG]	Load a row
2023-10-13	13:02:04	2249	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:04	2249	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:02:04	2249	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:04	2249	[DEBUG]	Executed store
2023-10-13	13:02:04	2249	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:02:04	2249	[DEBUG]	Manufacturer exists
2023-10-13	13:02:04	2249	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:02:04	2249	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:04	2249	[DEBUG]	Executed store
2023-10-13	13:02:04	2249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861741','32')
2023-10-13	13:02:04	2249	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:04	2249	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:04	2249	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861741 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:04	2249	[DEBUG]	Store custom available field
2023-10-13	13:02:04	2249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861741,3,'',1)
2023-10-13	13:02:04	2249	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:04	2249	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:04	2249	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861741 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:05	2249	[DEBUG]	Store custom available field
2023-10-13	13:02:05	2249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861741,6,'Unitaire',3)
2023-10-13	13:02:05	2249	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:05	2249	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:05	2249	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861740
2023-10-13	13:02:05	2249	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:05	2249	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861740\":[1861740,8,1,\"choisir la taille\"],\"1861741\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861740
2023-10-13	13:02:05	2249	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:05	2249	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861741
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:05	2250	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field taille
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:05	2250	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:05	2250	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:05	2250	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:05	2250	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:05	2250	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:05	2250	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field published
2023-10-13	13:02:05	2250	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:05	2250	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field override
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:05	2250	[DEBUG]	Use field value for field slug
2023-10-13	13:02:05	2250	[DEBUG]	Process line 2250
2023-10-13	13:02:05	2250	[DEBUG]	Load a row
2023-10-13	13:02:05	2250	[DEBUG]	Processing item: A_8448_1
2023-10-13	13:02:05	2250	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:05	2250	[DEBUG]	Processing product tax
2023-10-13	13:02:05	2250	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:05	2250	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:05	2250	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:05	2250	[DEBUG]	Query for Product
2023-10-13	13:02:05	2250	[DEBUG]	Executed store
2023-10-13	13:02:05	2250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8448_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:05	2250	[DEBUG]	Check product language entry
2023-10-13	13:02:05	2250	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861742
2023-10-13	13:02:05	2250	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:05	2250	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8448_1' AND `virtuemart_product_id` != 1861742
2023-10-13	13:02:05	2250	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:05	2250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861742, 'A_8448_1')
2023-10-13	13:02:05	2250	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:05	2250	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-frein-a-disque-br-mt520-avant-arriere-postmount-plaque-resines-noir' AND `virtuemart_product_id` != 1861742
2023-10-13	13:02:05	2250	[DEBUG]	Query for ProductLang
2023-10-13	13:02:05	2250	[DEBUG]	Executed store
2023-10-13	13:02:05	2250	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.72586',`product_name`='SHIMANO Frein à disque BR-MT520 avant/arrière postmount plaque résines / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-frein-a-disque-br-mt520-avant-arriere-postmount-plaque-resines-noir' WHERE `virtuemart_product_id` = '1861742'
2023-10-13	13:02:05	2250	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_72586_jpg.jpg has not been found.
2023-10-13	13:02:05	2250	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:05	2250	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861742 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:05	2250	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:05	2250	[DEBUG]	Executed store
2023-10-13	13:02:05	2250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861742','0','72.4233983286908','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:05	2250	[DEBUG]	Checking manufacturer
2023-10-13	13:02:05	2250	[DEBUG]	Load a row
2023-10-13	13:02:05	2250	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:05	2250	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:05	2250	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:05	2250	[DEBUG]	Executed store
2023-10-13	13:02:05	2250	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:05	2250	[DEBUG]	Manufacturer exists
2023-10-13	13:02:05	2250	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:05	2250	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:05	2250	[DEBUG]	Executed store
2023-10-13	13:02:05	2250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861742','26')
2023-10-13	13:02:05	2250	[DEBUG]	Find the custom field ID
2023-10-13	13:02:05	2250	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:05	2250	[DEBUG]	No custom field ID found
2023-10-13	13:02:05	2250	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:05	2250	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:05	2250	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861742 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:05	2250	[DEBUG]	Store custom available field
2023-10-13	13:02:05	2250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861742,3,'0',1)
2023-10-13	13:02:05	2250	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:05	2250	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:05	2250	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861742 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:05	2250	[DEBUG]	Store custom available field
2023-10-13	13:02:05	2250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861742,6,'choisir la taille',3)
2023-10-13	13:02:05	2250	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:05	2250	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:05	2250	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:05	2250	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:05	2250	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861742 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:05	2250	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:05	2250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861742,8,1)
2023-10-13	13:02:05	2250	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:05	2250	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861742\":[1861742,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861742
2023-10-13	13:02:05	2250	[DEBUG]	Checking category
2023-10-13	13:02:05	2250	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:05	2250	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861742
2023-10-13	13:02:05	2250	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:05	2250	[DEBUG]	Executed store
2023-10-13	13:02:05	2250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861742','7339')
2023-10-13	13:02:05	2250	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:05	2250	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861742 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:05	2250	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:05	2250	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861742
2023-10-13	13:02:05	2251	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:05	2251	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:05	2251	[DEBUG]	Use field value for field taille
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:05	2251	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:05	2251	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:05	2251	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:05	2251	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:05	2251	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:05	2251	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:05	2251	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:05	2251	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:05	2251	[DEBUG]	Use field value for field published
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:05	2251	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field override
2023-10-13	13:02:05	2251	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:05	2251	[DEBUG]	Use field value for field slug
2023-10-13	13:02:05	2251	[DEBUG]	Process line 2251
2023-10-13	13:02:05	2251	[DEBUG]	Load a row
2023-10-13	13:02:05	2251	[DEBUG]	Processing item: 4524667686576
2023-10-13	13:02:05	2251	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:05	2251	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:05	2251	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8448_1'
2023-10-13	13:02:05	2251	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:05	2251	[DEBUG]	Processing product tax
2023-10-13	13:02:05	2251	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:05	2251	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:05	2251	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:05	2251	[DEBUG]	Query for Product
2023-10-13	13:02:05	2251	[DEBUG]	Executed store
2023-10-13	13:02:05	2251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861742','4524667686576','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:05	2251	[DEBUG]	No parent found
2023-10-13	13:02:05	2251	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861742 AND customfield_value = 'stockable'
2023-10-13	13:02:05	2251	[DEBUG]	Check product language entry
2023-10-13	13:02:05	2251	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861743
2023-10-13	13:02:05	2251	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:05	2251	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667686576' AND `virtuemart_product_id` != 1861743
2023-10-13	13:02:05	2251	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:05	2251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861743, '4524667686576')
2023-10-13	13:02:05	2251	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:05	2251	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-frein-a-disque-br-mt520-avant-arriere-postmount-plaque-resines-noir-unitaire' AND `virtuemart_product_id` != 1861743
2023-10-13	13:02:05	2251	[DEBUG]	Query for ProductLang
2023-10-13	13:02:05	2251	[DEBUG]	Executed store
2023-10-13	13:02:05	2251	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Frein à disque BR-MT520 avant/arrière postmount plaque résines / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-frein-a-disque-br-mt520-avant-arriere-postmount-plaque-resines-noir-unitaire' WHERE `virtuemart_product_id` = '1861743'
2023-10-13	13:02:05	2251	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_72586_jpg.jpg has not been found.
2023-10-13	13:02:05	2251	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:05	2251	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861743 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:05	2251	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:05	2251	[DEBUG]	Executed store
2023-10-13	13:02:05	2251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861743','0','72.4233983286908','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:05	2251	[DEBUG]	Checking manufacturer
2023-10-13	13:02:05	2251	[DEBUG]	Load a row
2023-10-13	13:02:05	2251	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:05	2251	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:05	2251	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:05	2251	[DEBUG]	Executed store
2023-10-13	13:02:05	2251	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:05	2251	[DEBUG]	Manufacturer exists
2023-10-13	13:02:05	2251	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:05	2251	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:05	2251	[DEBUG]	Executed store
2023-10-13	13:02:05	2251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861743','26')
2023-10-13	13:02:05	2251	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:05	2251	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:05	2251	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861743 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:05	2251	[DEBUG]	Store custom available field
2023-10-13	13:02:05	2251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861743,3,'',1)
2023-10-13	13:02:05	2251	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:05	2251	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:05	2251	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861743 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:05	2251	[DEBUG]	Store custom available field
2023-10-13	13:02:05	2251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861743,6,'Unitaire',3)
2023-10-13	13:02:05	2251	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:05	2251	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:05	2251	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861742
2023-10-13	13:02:05	2251	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:05	2251	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861742\":[1861742,8,1,\"choisir la taille\"],\"1861743\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861742
2023-10-13	13:02:05	2251	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:05	2251	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861743
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:05	2252	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field taille
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:05	2252	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:05	2252	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:05	2252	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:05	2252	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:05	2252	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:05	2252	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field published
2023-10-13	13:02:05	2252	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:05	2252	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field override
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:05	2252	[DEBUG]	Use field value for field slug
2023-10-13	13:02:05	2252	[DEBUG]	Process line 2252
2023-10-13	13:02:05	2252	[DEBUG]	Load a row
2023-10-13	13:02:05	2252	[DEBUG]	Processing item: A_8515_1
2023-10-13	13:02:05	2252	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:05	2252	[DEBUG]	Processing product tax
2023-10-13	13:02:05	2252	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:05	2252	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:05	2252	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:05	2252	[DEBUG]	Query for Product
2023-10-13	13:02:05	2252	[DEBUG]	Executed store
2023-10-13	13:02:05	2252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8515_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:05	2252	[DEBUG]	Check product language entry
2023-10-13	13:02:05	2252	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861744
2023-10-13	13:02:05	2252	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:05	2252	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8515_1' AND `virtuemart_product_id` != 1861744
2023-10-13	13:02:05	2252	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:05	2252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861744, 'A_8515_1')
2023-10-13	13:02:05	2252	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:05	2252	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-xt-bl-m8100-disque-droite-2-doigts-noir-box-noir' AND `virtuemart_product_id` != 1861744
2023-10-13	13:02:05	2252	[DEBUG]	Query for ProductLang
2023-10-13	13:02:05	2252	[DEBUG]	Executed store
2023-10-13	13:02:05	2252	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 74.75167',`product_name`='SHIMANO Levier de frein XT  BL-M8100 disque droite 2-doigts noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-xt-bl-m8100-disque-droite-2-doigts-noir-box-noir' WHERE `virtuemart_product_id` = '1861744'
2023-10-13	13:02:05	2252	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_75168_jpg.jpg
2023-10-13	13:02:05	2252	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:05	2252	[DEBUG]	Process image file
2023-10-13	13:02:05	2252	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:05	2252	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:05	2252	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_75168_jpg.jpg
2023-10-13	13:02:05	2252	[DEBUG]	Full name target: bcprisme/74_75168_jpg.jpg
2023-10-13	13:02:06	2252	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:06	2252	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/74_75168_jpg.jpg'
2023-10-13	13:02:06	2252	[DEBUG]	Query for Media
2023-10-13	13:02:06	2252	[DEBUG]	Executed store
2023-10-13	13:02:06	2252	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/74_75168_jpg.jpg',`file_url_thumb`='bcprisme/74_75168_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '950229'
2023-10-13	13:02:06	2252	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:06	2252	[DEBUG]	Executed store
2023-10-13	13:02:06	2252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861744','950229','1')
2023-10-13	13:02:06	2252	[DEBUG]	Store product image relation
2023-10-13	13:02:06	2252	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:06	2252	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861744 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:06	2252	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:06	2252	[DEBUG]	Executed store
2023-10-13	13:02:06	2252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861744','0','64.066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:06	2252	[DEBUG]	Checking manufacturer
2023-10-13	13:02:06	2252	[DEBUG]	Load a row
2023-10-13	13:02:06	2252	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:06	2252	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:06	2252	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:06	2252	[DEBUG]	Executed store
2023-10-13	13:02:06	2252	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:06	2252	[DEBUG]	Manufacturer exists
2023-10-13	13:02:06	2252	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:06	2252	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:06	2252	[DEBUG]	Executed store
2023-10-13	13:02:06	2252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861744','26')
2023-10-13	13:02:06	2252	[DEBUG]	Find the custom field ID
2023-10-13	13:02:06	2252	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:06	2252	[DEBUG]	No custom field ID found
2023-10-13	13:02:06	2252	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:06	2252	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:06	2252	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861744 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:06	2252	[DEBUG]	Store custom available field
2023-10-13	13:02:06	2252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861744,3,'0',1)
2023-10-13	13:02:06	2252	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:06	2252	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:06	2252	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861744 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:06	2252	[DEBUG]	Store custom available field
2023-10-13	13:02:06	2252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861744,6,'choisir la taille',3)
2023-10-13	13:02:06	2252	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:06	2252	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:06	2252	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:06	2252	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:06	2252	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861744 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:06	2252	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:06	2252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861744,8,1)
2023-10-13	13:02:06	2252	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:06	2252	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861744\":[1861744,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861744
2023-10-13	13:02:06	2252	[DEBUG]	Checking category
2023-10-13	13:02:06	2252	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:06	2252	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861744
2023-10-13	13:02:06	2252	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:06	2252	[DEBUG]	Executed store
2023-10-13	13:02:06	2252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861744','7339')
2023-10-13	13:02:06	2252	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:06	2252	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861744 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:06	2252	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:06	2252	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861744
2023-10-13	13:02:06	2253	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:06	2253	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:06	2253	[DEBUG]	Use field value for field taille
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:06	2253	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:06	2253	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:06	2253	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:06	2253	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:06	2253	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:06	2253	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:06	2253	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:06	2253	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:06	2253	[DEBUG]	Use field value for field published
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:06	2253	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field override
2023-10-13	13:02:06	2253	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:06	2253	[DEBUG]	Use field value for field slug
2023-10-13	13:02:06	2253	[DEBUG]	Process line 2253
2023-10-13	13:02:06	2253	[DEBUG]	Load a row
2023-10-13	13:02:06	2253	[DEBUG]	Processing item: 4550170445034
2023-10-13	13:02:06	2253	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:06	2253	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:06	2253	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8515_1'
2023-10-13	13:02:06	2253	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:06	2253	[DEBUG]	Processing product tax
2023-10-13	13:02:06	2253	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:06	2253	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:06	2253	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:06	2253	[DEBUG]	Query for Product
2023-10-13	13:02:06	2253	[DEBUG]	Executed store
2023-10-13	13:02:06	2253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861744','4550170445034','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:06	2253	[DEBUG]	No parent found
2023-10-13	13:02:06	2253	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861744 AND customfield_value = 'stockable'
2023-10-13	13:02:06	2253	[DEBUG]	Check product language entry
2023-10-13	13:02:06	2253	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861745
2023-10-13	13:02:06	2253	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:06	2253	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170445034' AND `virtuemart_product_id` != 1861745
2023-10-13	13:02:06	2253	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:06	2253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861745, '4550170445034')
2023-10-13	13:02:06	2253	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:06	2253	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-xt-bl-m8100-disque-droite-2-doigts-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1861745
2023-10-13	13:02:06	2253	[DEBUG]	Query for ProductLang
2023-10-13	13:02:06	2253	[DEBUG]	Executed store
2023-10-13	13:02:06	2253	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier de frein XT  BL-M8100 disque droite 2-doigts noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-xt-bl-m8100-disque-droite-2-doigts-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861745'
2023-10-13	13:02:06	2253	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_75168_jpg.jpg
2023-10-13	13:02:06	2253	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:06	2253	[DEBUG]	Process image file
2023-10-13	13:02:06	2253	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:06	2253	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:06	2253	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_75168_jpg.jpg
2023-10-13	13:02:06	2253	[DEBUG]	Full name target: bcprisme/74_75168_jpg.jpg
2023-10-13	13:02:07	2253	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:07	2253	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/74_75168_jpg.jpg'
2023-10-13	13:02:07	2253	[DEBUG]	Query for Media
2023-10-13	13:02:07	2253	[DEBUG]	Executed store
2023-10-13	13:02:07	2253	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/74_75168_jpg.jpg',`file_url_thumb`='bcprisme/74_75168_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '950229'
2023-10-13	13:02:07	2253	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:07	2253	[DEBUG]	Executed store
2023-10-13	13:02:07	2253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861745','950229','1')
2023-10-13	13:02:07	2253	[DEBUG]	Store product image relation
2023-10-13	13:02:07	2253	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:07	2253	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861745 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:07	2253	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:07	2253	[DEBUG]	Executed store
2023-10-13	13:02:07	2253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861745','0','64.066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:07	2253	[DEBUG]	Checking manufacturer
2023-10-13	13:02:07	2253	[DEBUG]	Load a row
2023-10-13	13:02:07	2253	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:07	2253	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:07	2253	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:07	2253	[DEBUG]	Executed store
2023-10-13	13:02:07	2253	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:07	2253	[DEBUG]	Manufacturer exists
2023-10-13	13:02:07	2253	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:07	2253	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:07	2253	[DEBUG]	Executed store
2023-10-13	13:02:07	2253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861745','26')
2023-10-13	13:02:07	2253	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:07	2253	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:07	2253	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861745 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:07	2253	[DEBUG]	Store custom available field
2023-10-13	13:02:07	2253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861745,3,'',1)
2023-10-13	13:02:07	2253	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:07	2253	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:07	2253	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861745 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:07	2253	[DEBUG]	Store custom available field
2023-10-13	13:02:07	2253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861745,6,'Unitaire',3)
2023-10-13	13:02:07	2253	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:07	2253	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:07	2253	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861744
2023-10-13	13:02:07	2253	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:07	2253	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861744\":[1861744,8,1,\"choisir la taille\"],\"1861745\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861744
2023-10-13	13:02:07	2253	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:07	2253	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861745
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:07	2254	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field taille
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:07	2254	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:07	2254	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:07	2254	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:07	2254	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:07	2254	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:07	2254	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field published
2023-10-13	13:02:07	2254	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:07	2254	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field override
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:07	2254	[DEBUG]	Use field value for field slug
2023-10-13	13:02:07	2254	[DEBUG]	Process line 2254
2023-10-13	13:02:07	2254	[DEBUG]	Load a row
2023-10-13	13:02:07	2254	[DEBUG]	Processing item: A_8612_1
2023-10-13	13:02:07	2254	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:07	2254	[DEBUG]	Processing product tax
2023-10-13	13:02:07	2254	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:07	2254	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:07	2254	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:07	2254	[DEBUG]	Query for Product
2023-10-13	13:02:07	2254	[DEBUG]	Executed store
2023-10-13	13:02:07	2254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8612_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:07	2254	[DEBUG]	Check product language entry
2023-10-13	13:02:07	2254	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861746
2023-10-13	13:02:07	2254	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:07	2254	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8612_1' AND `virtuemart_product_id` != 1861746
2023-10-13	13:02:07	2254	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:07	2254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861746, 'A_8612_1')
2023-10-13	13:02:07	2254	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:07	2254	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-bl-mt401-disque-gauche-2-doigts-noir-box-noir' AND `virtuemart_product_id` != 1861746
2023-10-13	13:02:07	2254	[DEBUG]	Query for ProductLang
2023-10-13	13:02:07	2254	[DEBUG]	Executed store
2023-10-13	13:02:07	2254	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 74.75285',`product_name`='SHIMANO Levier de frein BL-MT401 disque gauche 2-doigts noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-bl-mt401-disque-gauche-2-doigts-noir-box-noir' WHERE `virtuemart_product_id` = '1861746'
2023-10-13	13:02:07	2254	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_75285_p_jpg.jpg
2023-10-13	13:02:07	2254	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:07	2254	[DEBUG]	Process image file
2023-10-13	13:02:07	2254	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:07	2254	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:07	2254	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_75285_p_jpg.jpg
2023-10-13	13:02:07	2254	[DEBUG]	Full name target: bcprisme/74_75285_p_jpg.jpg
2023-10-13	13:02:08	2254	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:08	2254	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/74_75285_p_jpg.jpg'
2023-10-13	13:02:08	2254	[DEBUG]	Query for Media
2023-10-13	13:02:08	2254	[DEBUG]	Executed store
2023-10-13	13:02:08	2254	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/74_75285_p_jpg.jpg',`file_url_thumb`='bcprisme/74_75285_p_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1001139'
2023-10-13	13:02:08	2254	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:08	2254	[DEBUG]	Executed store
2023-10-13	13:02:08	2254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861746','1001139','1')
2023-10-13	13:02:08	2254	[DEBUG]	Store product image relation
2023-10-13	13:02:08	2254	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:08	2254	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861746 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:08	2254	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:08	2254	[DEBUG]	Executed store
2023-10-13	13:02:08	2254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861746','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:08	2254	[DEBUG]	Checking manufacturer
2023-10-13	13:02:08	2254	[DEBUG]	Load a row
2023-10-13	13:02:08	2254	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:08	2254	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:08	2254	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:08	2254	[DEBUG]	Executed store
2023-10-13	13:02:08	2254	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:08	2254	[DEBUG]	Manufacturer exists
2023-10-13	13:02:08	2254	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:08	2254	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:08	2254	[DEBUG]	Executed store
2023-10-13	13:02:08	2254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861746','26')
2023-10-13	13:02:08	2254	[DEBUG]	Find the custom field ID
2023-10-13	13:02:08	2254	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:08	2254	[DEBUG]	No custom field ID found
2023-10-13	13:02:08	2254	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:08	2254	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:08	2254	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861746 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:08	2254	[DEBUG]	Store custom available field
2023-10-13	13:02:08	2254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861746,3,'0',1)
2023-10-13	13:02:08	2254	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:08	2254	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:08	2254	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861746 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:08	2254	[DEBUG]	Store custom available field
2023-10-13	13:02:08	2254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861746,6,'choisir la taille',3)
2023-10-13	13:02:08	2254	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:08	2254	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:08	2254	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:08	2254	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:08	2254	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861746 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:08	2254	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:08	2254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861746,8,1)
2023-10-13	13:02:08	2254	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:08	2254	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861746\":[1861746,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861746
2023-10-13	13:02:08	2254	[DEBUG]	Checking category
2023-10-13	13:02:08	2254	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:08	2254	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861746
2023-10-13	13:02:08	2254	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:08	2254	[DEBUG]	Executed store
2023-10-13	13:02:08	2254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861746','7339')
2023-10-13	13:02:08	2254	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:08	2254	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861746 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:08	2254	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:08	2254	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861746
2023-10-13	13:02:08	2255	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:08	2255	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:08	2255	[DEBUG]	Use field value for field taille
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:08	2255	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:08	2255	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:08	2255	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:08	2255	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:08	2255	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:08	2255	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:08	2255	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:08	2255	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:08	2255	[DEBUG]	Use field value for field published
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:08	2255	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field override
2023-10-13	13:02:08	2255	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:08	2255	[DEBUG]	Use field value for field slug
2023-10-13	13:02:08	2255	[DEBUG]	Process line 2255
2023-10-13	13:02:08	2255	[DEBUG]	Load a row
2023-10-13	13:02:08	2255	[DEBUG]	Processing item: 4550170443504
2023-10-13	13:02:08	2255	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:08	2255	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:08	2255	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8612_1'
2023-10-13	13:02:08	2255	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:08	2255	[DEBUG]	Processing product tax
2023-10-13	13:02:08	2255	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:08	2255	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:08	2255	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:08	2255	[DEBUG]	Query for Product
2023-10-13	13:02:08	2255	[DEBUG]	Executed store
2023-10-13	13:02:08	2255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861746','4550170443504','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:08	2255	[DEBUG]	No parent found
2023-10-13	13:02:08	2255	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861746 AND customfield_value = 'stockable'
2023-10-13	13:02:08	2255	[DEBUG]	Check product language entry
2023-10-13	13:02:08	2255	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861747
2023-10-13	13:02:08	2255	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:08	2255	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170443504' AND `virtuemart_product_id` != 1861747
2023-10-13	13:02:08	2255	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:08	2255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861747, '4550170443504')
2023-10-13	13:02:08	2255	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:08	2255	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-bl-mt401-disque-gauche-2-doigts-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1861747
2023-10-13	13:02:08	2255	[DEBUG]	Query for ProductLang
2023-10-13	13:02:08	2255	[DEBUG]	Executed store
2023-10-13	13:02:08	2255	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier de frein BL-MT401 disque gauche 2-doigts noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-bl-mt401-disque-gauche-2-doigts-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861747'
2023-10-13	13:02:08	2255	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_75285_p_jpg.jpg
2023-10-13	13:02:08	2255	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:08	2255	[DEBUG]	Process image file
2023-10-13	13:02:08	2255	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:08	2255	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:08	2255	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_75285_p_jpg.jpg
2023-10-13	13:02:08	2255	[DEBUG]	Full name target: bcprisme/74_75285_p_jpg.jpg
2023-10-13	13:02:09	2255	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:09	2255	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/74_75285_p_jpg.jpg'
2023-10-13	13:02:09	2255	[DEBUG]	Query for Media
2023-10-13	13:02:09	2255	[DEBUG]	Executed store
2023-10-13	13:02:09	2255	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/74_75285_p_jpg.jpg',`file_url_thumb`='bcprisme/74_75285_p_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1001139'
2023-10-13	13:02:09	2255	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:09	2255	[DEBUG]	Executed store
2023-10-13	13:02:09	2255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861747','1001139','1')
2023-10-13	13:02:09	2255	[DEBUG]	Store product image relation
2023-10-13	13:02:09	2255	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:09	2255	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861747 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:09	2255	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:09	2255	[DEBUG]	Executed store
2023-10-13	13:02:09	2255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861747','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:09	2255	[DEBUG]	Checking manufacturer
2023-10-13	13:02:09	2255	[DEBUG]	Load a row
2023-10-13	13:02:09	2255	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:09	2255	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:09	2255	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:09	2255	[DEBUG]	Executed store
2023-10-13	13:02:09	2255	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:09	2255	[DEBUG]	Manufacturer exists
2023-10-13	13:02:09	2255	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:09	2255	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:09	2255	[DEBUG]	Executed store
2023-10-13	13:02:09	2255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861747','26')
2023-10-13	13:02:09	2255	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:09	2255	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:09	2255	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861747 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:09	2255	[DEBUG]	Store custom available field
2023-10-13	13:02:09	2255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861747,3,'',1)
2023-10-13	13:02:09	2255	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:09	2255	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:09	2255	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861747 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:09	2255	[DEBUG]	Store custom available field
2023-10-13	13:02:09	2255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861747,6,'Unitaire',3)
2023-10-13	13:02:09	2255	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:09	2255	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:09	2255	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861746
2023-10-13	13:02:09	2255	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:09	2255	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861746\":[1861746,8,1,\"choisir la taille\"],\"1861747\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861746
2023-10-13	13:02:09	2255	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:09	2255	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861747
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:09	2256	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field taille
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:09	2256	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:09	2256	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:09	2256	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:09	2256	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:09	2256	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:09	2256	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field published
2023-10-13	13:02:09	2256	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:09	2256	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field override
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:09	2256	[DEBUG]	Use field value for field slug
2023-10-13	13:02:09	2256	[DEBUG]	Process line 2256
2023-10-13	13:02:09	2256	[DEBUG]	Load a row
2023-10-13	13:02:09	2256	[DEBUG]	Processing item: A_8666_1
2023-10-13	13:02:09	2256	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:09	2256	[DEBUG]	Processing product tax
2023-10-13	13:02:09	2256	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:09	2256	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:09	2256	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:09	2256	[DEBUG]	Query for Product
2023-10-13	13:02:09	2256	[DEBUG]	Executed store
2023-10-13	13:02:09	2256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8666_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:09	2256	[DEBUG]	Check product language entry
2023-10-13	13:02:09	2256	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861748
2023-10-13	13:02:09	2256	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:09	2256	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8666_1' AND `virtuemart_product_id` != 1861748
2023-10-13	13:02:09	2256	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:09	2256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861748, 'A_8666_1')
2023-10-13	13:02:09	2256	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:09	2256	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-shi-mt420-avant-a-bl-m4100-pm-1000mm-plaque-resin-box-noir' AND `virtuemart_product_id` != 1861748
2023-10-13	13:02:09	2256	[DEBUG]	Query for ProductLang
2023-10-13	13:02:09	2256	[DEBUG]	Executed store
2023-10-13	13:02:09	2256	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.77880',`product_name`='SHIMANO Set fr. à dis. SHI MT420 avant a/BL-M4100 PM 1000mm plaque resin box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-shi-mt420-avant-a-bl-m4100-pm-1000mm-plaque-resin-box-noir' WHERE `virtuemart_product_id` = '1861748'
2023-10-13	13:02:09	2256	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77880_001_jpg.jpg
2023-10-13	13:02:09	2256	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:09	2256	[DEBUG]	Process image file
2023-10-13	13:02:09	2256	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:09	2256	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:09	2256	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77880_001_jpg.jpg
2023-10-13	13:02:09	2256	[DEBUG]	Full name target: bcprisme/73_77880_001_jpg.jpg
2023-10-13	13:02:10	2256	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:10	2256	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77880_001_jpg.jpg'
2023-10-13	13:02:10	2256	[DEBUG]	Query for Media
2023-10-13	13:02:10	2256	[DEBUG]	Executed store
2023-10-13	13:02:10	2256	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77880_001_jpg.jpg',`file_url_thumb`='bcprisme/73_77880_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040199'
2023-10-13	13:02:10	2256	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:10	2256	[DEBUG]	Executed store
2023-10-13	13:02:10	2256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861748','1040199','1')
2023-10-13	13:02:10	2256	[DEBUG]	Store product image relation
2023-10-13	13:02:10	2256	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:10	2256	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861748 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:10	2256	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:10	2256	[DEBUG]	Executed store
2023-10-13	13:02:10	2256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861748','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:10	2256	[DEBUG]	Checking manufacturer
2023-10-13	13:02:10	2256	[DEBUG]	Load a row
2023-10-13	13:02:10	2256	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:10	2256	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:10	2256	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:10	2256	[DEBUG]	Executed store
2023-10-13	13:02:10	2256	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:10	2256	[DEBUG]	Manufacturer exists
2023-10-13	13:02:10	2256	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:10	2256	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:10	2256	[DEBUG]	Executed store
2023-10-13	13:02:10	2256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861748','26')
2023-10-13	13:02:10	2256	[DEBUG]	Find the custom field ID
2023-10-13	13:02:10	2256	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:10	2256	[DEBUG]	No custom field ID found
2023-10-13	13:02:10	2256	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:10	2256	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:10	2256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861748 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:10	2256	[DEBUG]	Store custom available field
2023-10-13	13:02:10	2256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861748,3,'0',1)
2023-10-13	13:02:10	2256	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:10	2256	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:10	2256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861748 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:10	2256	[DEBUG]	Store custom available field
2023-10-13	13:02:10	2256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861748,6,'choisir la taille',3)
2023-10-13	13:02:10	2256	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:10	2256	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:10	2256	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:10	2256	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:10	2256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861748 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:10	2256	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:10	2256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861748,8,1)
2023-10-13	13:02:10	2256	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:10	2256	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861748\":[1861748,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861748
2023-10-13	13:02:10	2256	[DEBUG]	Checking category
2023-10-13	13:02:10	2256	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:10	2256	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861748
2023-10-13	13:02:10	2256	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:10	2256	[DEBUG]	Executed store
2023-10-13	13:02:10	2256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861748','7339')
2023-10-13	13:02:10	2256	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:10	2256	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861748 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:10	2256	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:10	2256	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861748
2023-10-13	13:02:10	2257	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:10	2257	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:10	2257	[DEBUG]	Use field value for field taille
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:10	2257	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:10	2257	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:10	2257	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:10	2257	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:10	2257	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:10	2257	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:10	2257	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:10	2257	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:10	2257	[DEBUG]	Use field value for field published
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:10	2257	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field override
2023-10-13	13:02:10	2257	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:10	2257	[DEBUG]	Use field value for field slug
2023-10-13	13:02:10	2257	[DEBUG]	Process line 2257
2023-10-13	13:02:10	2257	[DEBUG]	Load a row
2023-10-13	13:02:10	2257	[DEBUG]	Processing item: 4550170621384
2023-10-13	13:02:10	2257	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:10	2257	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:10	2257	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8666_1'
2023-10-13	13:02:10	2257	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:10	2257	[DEBUG]	Processing product tax
2023-10-13	13:02:10	2257	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:10	2257	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:10	2257	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:10	2257	[DEBUG]	Query for Product
2023-10-13	13:02:10	2257	[DEBUG]	Executed store
2023-10-13	13:02:10	2257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861748','4550170621384','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:10	2257	[DEBUG]	No parent found
2023-10-13	13:02:10	2257	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861748 AND customfield_value = 'stockable'
2023-10-13	13:02:10	2257	[DEBUG]	Check product language entry
2023-10-13	13:02:10	2257	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861749
2023-10-13	13:02:10	2257	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:10	2257	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170621384' AND `virtuemart_product_id` != 1861749
2023-10-13	13:02:10	2257	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:10	2257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861749, '4550170621384')
2023-10-13	13:02:10	2257	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:10	2257	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-shi-mt420-avant-a-bl-m4100-pm-1000mm-plaque-resin-box-noir-unitaire' AND `virtuemart_product_id` != 1861749
2023-10-13	13:02:10	2257	[DEBUG]	Query for ProductLang
2023-10-13	13:02:10	2257	[DEBUG]	Executed store
2023-10-13	13:02:10	2257	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. SHI MT420 avant a/BL-M4100 PM 1000mm plaque resin box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-shi-mt420-avant-a-bl-m4100-pm-1000mm-plaque-resin-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861749'
2023-10-13	13:02:10	2257	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77880_001_jpg.jpg
2023-10-13	13:02:10	2257	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:10	2257	[DEBUG]	Process image file
2023-10-13	13:02:10	2257	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:10	2257	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:10	2257	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77880_001_jpg.jpg
2023-10-13	13:02:10	2257	[DEBUG]	Full name target: bcprisme/73_77880_001_jpg.jpg
2023-10-13	13:02:11	2257	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:11	2257	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77880_001_jpg.jpg'
2023-10-13	13:02:11	2257	[DEBUG]	Query for Media
2023-10-13	13:02:11	2257	[DEBUG]	Executed store
2023-10-13	13:02:11	2257	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77880_001_jpg.jpg',`file_url_thumb`='bcprisme/73_77880_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040199'
2023-10-13	13:02:11	2257	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:11	2257	[DEBUG]	Executed store
2023-10-13	13:02:11	2257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861749','1040199','1')
2023-10-13	13:02:11	2257	[DEBUG]	Store product image relation
2023-10-13	13:02:11	2257	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:11	2257	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861749 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:11	2257	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:11	2257	[DEBUG]	Executed store
2023-10-13	13:02:11	2257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861749','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:11	2257	[DEBUG]	Checking manufacturer
2023-10-13	13:02:11	2257	[DEBUG]	Load a row
2023-10-13	13:02:11	2257	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:11	2257	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:11	2257	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:11	2257	[DEBUG]	Executed store
2023-10-13	13:02:11	2257	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:11	2257	[DEBUG]	Manufacturer exists
2023-10-13	13:02:11	2257	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:11	2257	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:11	2257	[DEBUG]	Executed store
2023-10-13	13:02:11	2257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861749','26')
2023-10-13	13:02:11	2257	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:11	2257	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:11	2257	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861749 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:11	2257	[DEBUG]	Store custom available field
2023-10-13	13:02:11	2257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861749,3,'',1)
2023-10-13	13:02:11	2257	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:11	2257	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:11	2257	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861749 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:11	2257	[DEBUG]	Store custom available field
2023-10-13	13:02:11	2257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861749,6,'Unitaire',3)
2023-10-13	13:02:11	2257	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:11	2257	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:11	2257	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861748
2023-10-13	13:02:11	2257	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:11	2257	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861748\":[1861748,8,1,\"choisir la taille\"],\"1861749\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861748
2023-10-13	13:02:11	2257	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:11	2257	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861749
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:11	2258	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field taille
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:11	2258	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:11	2258	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:11	2258	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:11	2258	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:11	2258	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:11	2258	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field published
2023-10-13	13:02:11	2258	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:11	2258	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field override
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:11	2258	[DEBUG]	Use field value for field slug
2023-10-13	13:02:11	2258	[DEBUG]	Process line 2258
2023-10-13	13:02:11	2258	[DEBUG]	Load a row
2023-10-13	13:02:11	2258	[DEBUG]	Processing item: A_8667_1
2023-10-13	13:02:11	2258	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:11	2258	[DEBUG]	Processing product tax
2023-10-13	13:02:11	2258	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:11	2258	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:11	2258	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:11	2258	[DEBUG]	Query for Product
2023-10-13	13:02:11	2258	[DEBUG]	Executed store
2023-10-13	13:02:11	2258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8667_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:11	2258	[DEBUG]	Check product language entry
2023-10-13	13:02:11	2258	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861750
2023-10-13	13:02:11	2258	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:11	2258	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8667_1' AND `virtuemart_product_id` != 1861750
2023-10-13	13:02:11	2258	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:11	2258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861750, 'A_8667_1')
2023-10-13	13:02:11	2258	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:11	2258	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-shi-mt420-arriere-a-bl-m4100-pm-1700mm-plaque-resin-box-noir' AND `virtuemart_product_id` != 1861750
2023-10-13	13:02:11	2258	[DEBUG]	Query for ProductLang
2023-10-13	13:02:11	2258	[DEBUG]	Executed store
2023-10-13	13:02:11	2258	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.77881',`product_name`='SHIMANO Set fr. à dis. SHI MT420 arriere a/BL-M4100 PM 1700mm plaque resin box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-shi-mt420-arriere-a-bl-m4100-pm-1700mm-plaque-resin-box-noir' WHERE `virtuemart_product_id` = '1861750'
2023-10-13	13:02:11	2258	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77880_001_jpg.jpg
2023-10-13	13:02:11	2258	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:11	2258	[DEBUG]	Process image file
2023-10-13	13:02:11	2258	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:11	2258	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:11	2258	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77880_001_jpg.jpg
2023-10-13	13:02:11	2258	[DEBUG]	Full name target: bcprisme/73_77880_001_jpg.jpg
2023-10-13	13:02:12	2258	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:12	2258	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77880_001_jpg.jpg'
2023-10-13	13:02:12	2258	[DEBUG]	Query for Media
2023-10-13	13:02:12	2258	[DEBUG]	Executed store
2023-10-13	13:02:12	2258	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77880_001_jpg.jpg',`file_url_thumb`='bcprisme/73_77880_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040199'
2023-10-13	13:02:12	2258	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:12	2258	[DEBUG]	Executed store
2023-10-13	13:02:12	2258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861750','1040199','1')
2023-10-13	13:02:12	2258	[DEBUG]	Store product image relation
2023-10-13	13:02:12	2258	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:12	2258	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861750 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:12	2258	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:12	2258	[DEBUG]	Executed store
2023-10-13	13:02:12	2258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861750','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:12	2258	[DEBUG]	Checking manufacturer
2023-10-13	13:02:12	2258	[DEBUG]	Load a row
2023-10-13	13:02:12	2258	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:12	2258	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:12	2258	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:12	2258	[DEBUG]	Executed store
2023-10-13	13:02:12	2258	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:12	2258	[DEBUG]	Manufacturer exists
2023-10-13	13:02:12	2258	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:12	2258	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:12	2258	[DEBUG]	Executed store
2023-10-13	13:02:12	2258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861750','26')
2023-10-13	13:02:12	2258	[DEBUG]	Find the custom field ID
2023-10-13	13:02:12	2258	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:12	2258	[DEBUG]	No custom field ID found
2023-10-13	13:02:12	2258	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:12	2258	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:12	2258	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861750 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:12	2258	[DEBUG]	Store custom available field
2023-10-13	13:02:12	2258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861750,3,'0',1)
2023-10-13	13:02:12	2258	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:12	2258	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:12	2258	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861750 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:12	2258	[DEBUG]	Store custom available field
2023-10-13	13:02:12	2258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861750,6,'choisir la taille',3)
2023-10-13	13:02:12	2258	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:12	2258	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:12	2258	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:12	2258	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:12	2258	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861750 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:12	2258	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:12	2258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861750,8,1)
2023-10-13	13:02:12	2258	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:12	2258	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861750\":[1861750,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861750
2023-10-13	13:02:12	2258	[DEBUG]	Checking category
2023-10-13	13:02:12	2258	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:12	2258	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861750
2023-10-13	13:02:12	2258	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:12	2258	[DEBUG]	Executed store
2023-10-13	13:02:12	2258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861750','7339')
2023-10-13	13:02:12	2258	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:12	2258	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861750 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:12	2258	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:12	2258	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861750
2023-10-13	13:02:12	2259	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:12	2259	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:12	2259	[DEBUG]	Use field value for field taille
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:12	2259	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:12	2259	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:12	2259	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:12	2259	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:12	2259	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:12	2259	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:12	2259	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:12	2259	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:12	2259	[DEBUG]	Use field value for field published
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:12	2259	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field override
2023-10-13	13:02:12	2259	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:12	2259	[DEBUG]	Use field value for field slug
2023-10-13	13:02:12	2259	[DEBUG]	Process line 2259
2023-10-13	13:02:12	2259	[DEBUG]	Load a row
2023-10-13	13:02:12	2259	[DEBUG]	Processing item: 4550170621438
2023-10-13	13:02:12	2259	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:12	2259	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:12	2259	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8667_1'
2023-10-13	13:02:12	2259	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:12	2259	[DEBUG]	Processing product tax
2023-10-13	13:02:12	2259	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:12	2259	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:12	2259	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:12	2259	[DEBUG]	Query for Product
2023-10-13	13:02:12	2259	[DEBUG]	Executed store
2023-10-13	13:02:12	2259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861750','4550170621438','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:12	2259	[DEBUG]	No parent found
2023-10-13	13:02:12	2259	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861750 AND customfield_value = 'stockable'
2023-10-13	13:02:12	2259	[DEBUG]	Check product language entry
2023-10-13	13:02:12	2259	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861751
2023-10-13	13:02:12	2259	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:12	2259	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170621438' AND `virtuemart_product_id` != 1861751
2023-10-13	13:02:12	2259	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:12	2259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861751, '4550170621438')
2023-10-13	13:02:12	2259	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:12	2259	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-shi-mt420-arriere-a-bl-m4100-pm-1700mm-plaque-resin-box-noir-unitaire' AND `virtuemart_product_id` != 1861751
2023-10-13	13:02:12	2259	[DEBUG]	Query for ProductLang
2023-10-13	13:02:12	2259	[DEBUG]	Executed store
2023-10-13	13:02:12	2259	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. SHI MT420 arriere a/BL-M4100 PM 1700mm plaque resin box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-shi-mt420-arriere-a-bl-m4100-pm-1700mm-plaque-resin-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861751'
2023-10-13	13:02:12	2259	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77880_001_jpg.jpg
2023-10-13	13:02:12	2259	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:12	2259	[DEBUG]	Process image file
2023-10-13	13:02:12	2259	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:12	2259	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:12	2259	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77880_001_jpg.jpg
2023-10-13	13:02:12	2259	[DEBUG]	Full name target: bcprisme/73_77880_001_jpg.jpg
2023-10-13	13:02:13	2259	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:13	2259	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77880_001_jpg.jpg'
2023-10-13	13:02:13	2259	[DEBUG]	Query for Media
2023-10-13	13:02:13	2259	[DEBUG]	Executed store
2023-10-13	13:02:13	2259	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77880_001_jpg.jpg',`file_url_thumb`='bcprisme/73_77880_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040199'
2023-10-13	13:02:13	2259	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:13	2259	[DEBUG]	Executed store
2023-10-13	13:02:13	2259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861751','1040199','1')
2023-10-13	13:02:13	2259	[DEBUG]	Store product image relation
2023-10-13	13:02:13	2259	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:13	2259	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861751 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:13	2259	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:13	2259	[DEBUG]	Executed store
2023-10-13	13:02:13	2259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861751','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:13	2259	[DEBUG]	Checking manufacturer
2023-10-13	13:02:13	2259	[DEBUG]	Load a row
2023-10-13	13:02:13	2259	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:13	2259	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:13	2259	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:13	2259	[DEBUG]	Executed store
2023-10-13	13:02:13	2259	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:13	2259	[DEBUG]	Manufacturer exists
2023-10-13	13:02:13	2259	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:13	2259	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:13	2259	[DEBUG]	Executed store
2023-10-13	13:02:13	2259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861751','26')
2023-10-13	13:02:13	2259	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:13	2259	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:13	2259	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861751 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:13	2259	[DEBUG]	Store custom available field
2023-10-13	13:02:13	2259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861751,3,'',1)
2023-10-13	13:02:13	2259	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:13	2259	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:13	2259	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861751 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:13	2259	[DEBUG]	Store custom available field
2023-10-13	13:02:13	2259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861751,6,'Unitaire',3)
2023-10-13	13:02:13	2259	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:13	2259	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:13	2259	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861750
2023-10-13	13:02:13	2259	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:13	2259	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861750\":[1861750,8,1,\"choisir la taille\"],\"1861751\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861750
2023-10-13	13:02:13	2259	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:13	2259	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861751
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:13	2260	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field taille
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:13	2260	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:13	2260	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:13	2260	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:13	2260	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:13	2260	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:13	2260	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field published
2023-10-13	13:02:13	2260	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:13	2260	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field override
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:13	2260	[DEBUG]	Use field value for field slug
2023-10-13	13:02:13	2260	[DEBUG]	Process line 2260
2023-10-13	13:02:13	2260	[DEBUG]	Load a row
2023-10-13	13:02:13	2260	[DEBUG]	Processing item: A_8770_1
2023-10-13	13:02:13	2260	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:13	2260	[DEBUG]	Processing product tax
2023-10-13	13:02:13	2260	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:13	2260	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:13	2260	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:13	2260	[DEBUG]	Query for Product
2023-10-13	13:02:13	2260	[DEBUG]	Executed store
2023-10-13	13:02:13	2260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8770_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:13	2260	[DEBUG]	Check product language entry
2023-10-13	13:02:13	2260	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861752
2023-10-13	13:02:13	2260	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:13	2260	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8770_1' AND `virtuemart_product_id` != 1861752
2023-10-13	13:02:13	2260	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:13	2260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861752, 'A_8770_1')
2023-10-13	13:02:13	2260	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:13	2260	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-tuyau-hydraulique-sm-bh59-jk-ss-1000-mm-noir-box-noir' AND `virtuemart_product_id` != 1861752
2023-10-13	13:02:13	2260	[DEBUG]	Query for ProductLang
2023-10-13	13:02:13	2260	[DEBUG]	Executed store
2023-10-13	13:02:13	2260	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 71.60852',`product_name`='SHIMANO Tuyau hydraulique SM-BH59-JK-SS 1000 mm noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-tuyau-hydraulique-sm-bh59-jk-ss-1000-mm-noir-box-noir' WHERE `virtuemart_product_id` = '1861752'
2023-10-13	13:02:13	2260	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_60852_jpg.jpg
2023-10-13	13:02:13	2260	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:13	2260	[DEBUG]	Process image file
2023-10-13	13:02:13	2260	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:13	2260	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:13	2260	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_60852_jpg.jpg
2023-10-13	13:02:13	2260	[DEBUG]	Full name target: bcprisme/71_60852_jpg.jpg
2023-10-13	13:02:14	2260	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:14	2260	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/71_60852_jpg.jpg'
2023-10-13	13:02:14	2260	[DEBUG]	Query for Media
2023-10-13	13:02:14	2260	[DEBUG]	Executed store
2023-10-13	13:02:14	2260	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/71_60852_jpg.jpg',`file_url_thumb`='bcprisme/71_60852_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1090711'
2023-10-13	13:02:14	2260	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:14	2260	[DEBUG]	Executed store
2023-10-13	13:02:14	2260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861752','1090711','1')
2023-10-13	13:02:14	2260	[DEBUG]	Store product image relation
2023-10-13	13:02:14	2260	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:14	2260	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861752 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:14	2260	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:14	2260	[DEBUG]	Executed store
2023-10-13	13:02:14	2260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861752','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:14	2260	[DEBUG]	Checking manufacturer
2023-10-13	13:02:14	2260	[DEBUG]	Load a row
2023-10-13	13:02:14	2260	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:14	2260	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:14	2260	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:14	2260	[DEBUG]	Executed store
2023-10-13	13:02:14	2260	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:14	2260	[DEBUG]	Manufacturer exists
2023-10-13	13:02:14	2260	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:14	2260	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:14	2260	[DEBUG]	Executed store
2023-10-13	13:02:14	2260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861752','26')
2023-10-13	13:02:14	2260	[DEBUG]	Find the custom field ID
2023-10-13	13:02:14	2260	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:14	2260	[DEBUG]	No custom field ID found
2023-10-13	13:02:14	2260	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:14	2260	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:14	2260	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861752 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:14	2260	[DEBUG]	Store custom available field
2023-10-13	13:02:14	2260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861752,3,'0',1)
2023-10-13	13:02:14	2260	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:14	2260	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:14	2260	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861752 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:14	2260	[DEBUG]	Store custom available field
2023-10-13	13:02:14	2260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861752,6,'choisir la taille',3)
2023-10-13	13:02:14	2260	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:14	2260	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:14	2260	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:14	2260	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:14	2260	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861752 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:14	2260	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:14	2260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861752,8,1)
2023-10-13	13:02:14	2260	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:14	2260	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861752\":[1861752,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861752
2023-10-13	13:02:14	2260	[DEBUG]	Checking category
2023-10-13	13:02:14	2260	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:14	2260	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861752
2023-10-13	13:02:14	2260	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:14	2260	[DEBUG]	Executed store
2023-10-13	13:02:14	2260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861752','7339')
2023-10-13	13:02:14	2260	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:14	2260	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861752 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:14	2260	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:14	2260	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861752
2023-10-13	13:02:14	2261	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:14	2261	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:14	2261	[DEBUG]	Use field value for field taille
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:14	2261	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:14	2261	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:14	2261	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:14	2261	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:14	2261	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:14	2261	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:14	2261	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:14	2261	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:14	2261	[DEBUG]	Use field value for field published
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:14	2261	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field override
2023-10-13	13:02:14	2261	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:14	2261	[DEBUG]	Use field value for field slug
2023-10-13	13:02:14	2261	[DEBUG]	Process line 2261
2023-10-13	13:02:14	2261	[DEBUG]	Load a row
2023-10-13	13:02:14	2261	[DEBUG]	Processing item: 4524667848202
2023-10-13	13:02:14	2261	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:14	2261	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:14	2261	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8770_1'
2023-10-13	13:02:14	2261	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:14	2261	[DEBUG]	Processing product tax
2023-10-13	13:02:14	2261	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:14	2261	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:14	2261	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:14	2261	[DEBUG]	Query for Product
2023-10-13	13:02:14	2261	[DEBUG]	Executed store
2023-10-13	13:02:14	2261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861752','4524667848202','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:14	2261	[DEBUG]	No parent found
2023-10-13	13:02:14	2261	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861752 AND customfield_value = 'stockable'
2023-10-13	13:02:14	2261	[DEBUG]	Check product language entry
2023-10-13	13:02:14	2261	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861753
2023-10-13	13:02:14	2261	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:14	2261	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667848202' AND `virtuemart_product_id` != 1861753
2023-10-13	13:02:14	2261	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:14	2261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861753, '4524667848202')
2023-10-13	13:02:14	2261	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:14	2261	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-tuyau-hydraulique-sm-bh59-jk-ss-1000-mm-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1861753
2023-10-13	13:02:14	2261	[DEBUG]	Query for ProductLang
2023-10-13	13:02:14	2261	[DEBUG]	Executed store
2023-10-13	13:02:14	2261	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Tuyau hydraulique SM-BH59-JK-SS 1000 mm noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-tuyau-hydraulique-sm-bh59-jk-ss-1000-mm-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861753'
2023-10-13	13:02:14	2261	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_60852_jpg.jpg
2023-10-13	13:02:14	2261	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:14	2261	[DEBUG]	Process image file
2023-10-13	13:02:14	2261	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:14	2261	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:14	2261	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/71_60852_jpg.jpg
2023-10-13	13:02:14	2261	[DEBUG]	Full name target: bcprisme/71_60852_jpg.jpg
2023-10-13	13:02:15	2261	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:15	2261	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/71_60852_jpg.jpg'
2023-10-13	13:02:15	2261	[DEBUG]	Query for Media
2023-10-13	13:02:15	2261	[DEBUG]	Executed store
2023-10-13	13:02:15	2261	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/71_60852_jpg.jpg',`file_url_thumb`='bcprisme/71_60852_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1090711'
2023-10-13	13:02:15	2261	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:15	2261	[DEBUG]	Executed store
2023-10-13	13:02:15	2261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861753','1090711','1')
2023-10-13	13:02:15	2261	[DEBUG]	Store product image relation
2023-10-13	13:02:15	2261	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:15	2261	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861753 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:15	2261	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:15	2261	[DEBUG]	Executed store
2023-10-13	13:02:15	2261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861753','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:15	2261	[DEBUG]	Checking manufacturer
2023-10-13	13:02:15	2261	[DEBUG]	Load a row
2023-10-13	13:02:15	2261	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:15	2261	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:15	2261	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:15	2261	[DEBUG]	Executed store
2023-10-13	13:02:15	2261	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:15	2261	[DEBUG]	Manufacturer exists
2023-10-13	13:02:15	2261	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:15	2261	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:15	2261	[DEBUG]	Executed store
2023-10-13	13:02:15	2261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861753','26')
2023-10-13	13:02:15	2261	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:15	2261	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:15	2261	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861753 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:15	2261	[DEBUG]	Store custom available field
2023-10-13	13:02:15	2261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861753,3,'',1)
2023-10-13	13:02:15	2261	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:15	2261	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:15	2261	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861753 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:15	2261	[DEBUG]	Store custom available field
2023-10-13	13:02:15	2261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861753,6,'Unitaire',3)
2023-10-13	13:02:15	2261	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:15	2261	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:15	2261	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861752
2023-10-13	13:02:15	2261	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:15	2261	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861752\":[1861752,8,1,\"choisir la taille\"],\"1861753\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861752
2023-10-13	13:02:15	2261	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:15	2261	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861753
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:15	2262	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field taille
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:15	2262	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:15	2262	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:15	2262	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:15	2262	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:15	2262	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:15	2262	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field published
2023-10-13	13:02:15	2262	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:15	2262	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field override
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:15	2262	[DEBUG]	Use field value for field slug
2023-10-13	13:02:15	2262	[DEBUG]	Process line 2262
2023-10-13	13:02:15	2262	[DEBUG]	Load a row
2023-10-13	13:02:15	2262	[DEBUG]	Processing item: A_8913_1
2023-10-13	13:02:15	2262	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:15	2262	[DEBUG]	Processing product tax
2023-10-13	13:02:15	2262	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:15	2262	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:15	2262	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:15	2262	[DEBUG]	Query for Product
2023-10-13	13:02:15	2262	[DEBUG]	Executed store
2023-10-13	13:02:15	2262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8913_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:15	2262	[DEBUG]	Check product language entry
2023-10-13	13:02:15	2262	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861754
2023-10-13	13:02:15	2262	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:15	2262	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8913_1' AND `virtuemart_product_id` != 1861754
2023-10-13	13:02:15	2262	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:15	2262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861754, 'A_8913_1')
2023-10-13	13:02:15	2262	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:15	2262	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-frein-a-disque-sram-db8-avant-diffusion-black-950-mm-huile-minerale-noir' AND `virtuemart_product_id` != 1861754
2023-10-13	13:02:15	2262	[DEBUG]	Query for ProductLang
2023-10-13	13:02:15	2262	[DEBUG]	Executed store
2023-10-13	13:02:15	2262	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7572L',`product_name`='MAGURA Frein à disque Sram DB8 avant diffusion Black, 950 mm huile minérale / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-frein-a-disque-sram-db8-avant-diffusion-black-950-mm-huile-minerale-noir' WHERE `virtuemart_product_id` = '1861754'
2023-10-13	13:02:15	2262	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37901_frein_à_disque_sram_db8_avant_diffusion_black,_950_mm_hile_minerale.jpg
2023-10-13	13:02:15	2262	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:15	2262	[DEBUG]	Process image file
2023-10-13	13:02:15	2262	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:15	2262	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:15	2262	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37901_frein_à_disque_sram_db8_avant_diffusion_black,_950_mm_hile_minerale.jpg
2023-10-13	13:02:15	2262	[DEBUG]	Full name target: bcprisme/37901_frein_à_disque_sram_db8_avant_diffusion_black,_950_mm_hile_minerale.jpg
2023-10-13	13:02:16	2262	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:16	2262	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37901_frein_à_disque_sram_db8_avant_diffusion_black,_950_mm_hile_minerale.jpg'
2023-10-13	13:02:16	2262	[DEBUG]	Query for Media
2023-10-13	13:02:16	2262	[DEBUG]	Executed store
2023-10-13	13:02:16	2262	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37901_frein_à_disque_sram_db8_avant_diffusion_black,_950_mm_hile_minerale.jpg',`file_url_thumb`='bcprisme/37901_frein_à_disque_sram_db8_avant_diffusion_black,_950_mm_hile_minerale.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185179'
2023-10-13	13:02:16	2262	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:16	2262	[DEBUG]	Executed store
2023-10-13	13:02:16	2262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861754','1185179','1')
2023-10-13	13:02:16	2262	[DEBUG]	Store product image relation
2023-10-13	13:02:16	2262	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:16	2262	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861754 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:16	2262	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:16	2262	[DEBUG]	Executed store
2023-10-13	13:02:16	2262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861754','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:16	2262	[DEBUG]	Checking manufacturer
2023-10-13	13:02:16	2262	[DEBUG]	Load a row
2023-10-13	13:02:16	2262	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:16	2262	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:02:16	2262	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:16	2262	[DEBUG]	Executed store
2023-10-13	13:02:16	2262	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:02:16	2262	[DEBUG]	Manufacturer exists
2023-10-13	13:02:16	2262	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:02:16	2262	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:16	2262	[DEBUG]	Executed store
2023-10-13	13:02:16	2262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861754','38')
2023-10-13	13:02:16	2262	[DEBUG]	Find the custom field ID
2023-10-13	13:02:16	2262	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:16	2262	[DEBUG]	No custom field ID found
2023-10-13	13:02:16	2262	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:16	2262	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:16	2262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861754 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:16	2262	[DEBUG]	Store custom available field
2023-10-13	13:02:16	2262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861754,3,'0',1)
2023-10-13	13:02:16	2262	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:16	2262	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:16	2262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861754 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:16	2262	[DEBUG]	Store custom available field
2023-10-13	13:02:16	2262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861754,6,'choisir la taille',3)
2023-10-13	13:02:16	2262	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:16	2262	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:16	2262	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:16	2262	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:16	2262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861754 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:16	2262	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:16	2262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861754,8,1)
2023-10-13	13:02:16	2262	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:16	2262	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861754\":[1861754,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861754
2023-10-13	13:02:16	2262	[DEBUG]	Checking category
2023-10-13	13:02:16	2262	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:16	2262	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861754
2023-10-13	13:02:16	2262	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:16	2262	[DEBUG]	Executed store
2023-10-13	13:02:16	2262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861754','7339')
2023-10-13	13:02:16	2262	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:16	2262	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861754 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:16	2262	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:16	2262	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861754
2023-10-13	13:02:16	2263	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:16	2263	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:16	2263	[DEBUG]	Use field value for field taille
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:16	2263	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:16	2263	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:16	2263	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:16	2263	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:16	2263	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:16	2263	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:16	2263	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:16	2263	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:16	2263	[DEBUG]	Use field value for field published
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:16	2263	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field override
2023-10-13	13:02:16	2263	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:16	2263	[DEBUG]	Use field value for field slug
2023-10-13	13:02:16	2263	[DEBUG]	Process line 2263
2023-10-13	13:02:16	2263	[DEBUG]	Load a row
2023-10-13	13:02:16	2263	[DEBUG]	Processing item: 710845872266
2023-10-13	13:02:16	2263	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:16	2263	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:16	2263	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8913_1'
2023-10-13	13:02:16	2263	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:16	2263	[DEBUG]	Processing product tax
2023-10-13	13:02:16	2263	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:16	2263	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:16	2263	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:16	2263	[DEBUG]	Query for Product
2023-10-13	13:02:16	2263	[DEBUG]	Executed store
2023-10-13	13:02:16	2263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861754','710845872266','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:16	2263	[DEBUG]	No parent found
2023-10-13	13:02:16	2263	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861754 AND customfield_value = 'stockable'
2023-10-13	13:02:16	2263	[DEBUG]	Check product language entry
2023-10-13	13:02:16	2263	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861755
2023-10-13	13:02:16	2263	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:16	2263	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845872266' AND `virtuemart_product_id` != 1861755
2023-10-13	13:02:16	2263	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:16	2263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861755, '710845872266')
2023-10-13	13:02:16	2263	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:16	2263	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-frein-a-disque-sram-db8-avant-diffusion-black-950-mm-huile-minerale-noir-unitaire' AND `virtuemart_product_id` != 1861755
2023-10-13	13:02:16	2263	[DEBUG]	Query for ProductLang
2023-10-13	13:02:16	2263	[DEBUG]	Executed store
2023-10-13	13:02:16	2263	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Frein à disque Sram DB8 avant diffusion Black, 950 mm huile minérale / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-frein-a-disque-sram-db8-avant-diffusion-black-950-mm-huile-minerale-noir-unitaire' WHERE `virtuemart_product_id` = '1861755'
2023-10-13	13:02:16	2263	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37901_frein_à_disque_sram_db8_avant_diffusion_black,_950_mm_hile_minerale.jpg
2023-10-13	13:02:16	2263	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:16	2263	[DEBUG]	Process image file
2023-10-13	13:02:16	2263	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:16	2263	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:16	2263	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37901_frein_à_disque_sram_db8_avant_diffusion_black,_950_mm_hile_minerale.jpg
2023-10-13	13:02:16	2263	[DEBUG]	Full name target: bcprisme/37901_frein_à_disque_sram_db8_avant_diffusion_black,_950_mm_hile_minerale.jpg
2023-10-13	13:02:17	2263	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:17	2263	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37901_frein_à_disque_sram_db8_avant_diffusion_black,_950_mm_hile_minerale.jpg'
2023-10-13	13:02:17	2263	[DEBUG]	Query for Media
2023-10-13	13:02:17	2263	[DEBUG]	Executed store
2023-10-13	13:02:17	2263	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37901_frein_à_disque_sram_db8_avant_diffusion_black,_950_mm_hile_minerale.jpg',`file_url_thumb`='bcprisme/37901_frein_à_disque_sram_db8_avant_diffusion_black,_950_mm_hile_minerale.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185179'
2023-10-13	13:02:17	2263	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:17	2263	[DEBUG]	Executed store
2023-10-13	13:02:17	2263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861755','1185179','1')
2023-10-13	13:02:17	2263	[DEBUG]	Store product image relation
2023-10-13	13:02:17	2263	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:17	2263	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861755 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:17	2263	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:17	2263	[DEBUG]	Executed store
2023-10-13	13:02:17	2263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861755','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:17	2263	[DEBUG]	Checking manufacturer
2023-10-13	13:02:17	2263	[DEBUG]	Load a row
2023-10-13	13:02:17	2263	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:17	2263	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:02:17	2263	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:17	2263	[DEBUG]	Executed store
2023-10-13	13:02:17	2263	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:02:17	2263	[DEBUG]	Manufacturer exists
2023-10-13	13:02:17	2263	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:02:17	2263	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:17	2263	[DEBUG]	Executed store
2023-10-13	13:02:17	2263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861755','38')
2023-10-13	13:02:17	2263	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:17	2263	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:17	2263	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861755 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:17	2263	[DEBUG]	Store custom available field
2023-10-13	13:02:17	2263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861755,3,'',1)
2023-10-13	13:02:17	2263	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:17	2263	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:17	2263	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861755 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:17	2263	[DEBUG]	Store custom available field
2023-10-13	13:02:17	2263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861755,6,'Unitaire',3)
2023-10-13	13:02:17	2263	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:17	2263	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:17	2263	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861754
2023-10-13	13:02:17	2263	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:17	2263	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861754\":[1861754,8,1,\"choisir la taille\"],\"1861755\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861754
2023-10-13	13:02:17	2263	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:17	2263	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861755
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:17	2264	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field taille
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:17	2264	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:17	2264	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:17	2264	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:17	2264	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:17	2264	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:17	2264	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field published
2023-10-13	13:02:17	2264	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:17	2264	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field override
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:17	2264	[DEBUG]	Use field value for field slug
2023-10-13	13:02:17	2264	[DEBUG]	Process line 2264
2023-10-13	13:02:17	2264	[DEBUG]	Load a row
2023-10-13	13:02:17	2264	[DEBUG]	Processing item: A_8914_1
2023-10-13	13:02:17	2264	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:17	2264	[DEBUG]	Processing product tax
2023-10-13	13:02:17	2264	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:17	2264	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:17	2264	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:17	2264	[DEBUG]	Query for Product
2023-10-13	13:02:17	2264	[DEBUG]	Executed store
2023-10-13	13:02:17	2264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8914_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:17	2264	[DEBUG]	Check product language entry
2023-10-13	13:02:17	2264	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861756
2023-10-13	13:02:17	2264	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:17	2264	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8914_1' AND `virtuemart_product_id` != 1861756
2023-10-13	13:02:17	2264	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:17	2264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861756, 'A_8914_1')
2023-10-13	13:02:17	2264	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:17	2264	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-frein-a-disque-sram-db8-arriere-diffusion-black-950-mm-huile-minerale-noir' AND `virtuemart_product_id` != 1861756
2023-10-13	13:02:17	2264	[DEBUG]	Query for ProductLang
2023-10-13	13:02:17	2264	[DEBUG]	Executed store
2023-10-13	13:02:17	2264	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7572M',`product_name`='MAGURA Frein à disque Sram DB8 ARRIèRE diffusion Black, 950 mm huile minérale  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-frein-a-disque-sram-db8-arriere-diffusion-black-950-mm-huile-minerale-noir' WHERE `virtuemart_product_id` = '1861756'
2023-10-13	13:02:17	2264	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37902_frein_à_disque_sram_db8_arriere_diffusion_black,_950_mm_huile_minerale_.jpg
2023-10-13	13:02:17	2264	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:17	2264	[DEBUG]	Process image file
2023-10-13	13:02:17	2264	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:17	2264	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:17	2264	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37902_frein_à_disque_sram_db8_arriere_diffusion_black,_950_mm_huile_minerale_.jpg
2023-10-13	13:02:17	2264	[DEBUG]	Full name target: bcprisme/37902_frein_à_disque_sram_db8_arriere_diffusion_black,_950_mm_huile_minerale_.jpg
2023-10-13	13:02:18	2264	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:18	2264	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37902_frein_à_disque_sram_db8_arriere_diffusion_black,_950_mm_huile_minerale_.jpg'
2023-10-13	13:02:18	2264	[DEBUG]	Query for Media
2023-10-13	13:02:18	2264	[DEBUG]	Executed store
2023-10-13	13:02:18	2264	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37902_frein_à_disque_sram_db8_arriere_diffusion_black,_950_mm_huile_minerale_.jpg',`file_url_thumb`='bcprisme/37902_frein_à_disque_sram_db8_arriere_diffusion_black,_950_mm_huile_minerale_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185181'
2023-10-13	13:02:18	2264	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:18	2264	[DEBUG]	Executed store
2023-10-13	13:02:18	2264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861756','1185181','1')
2023-10-13	13:02:18	2264	[DEBUG]	Store product image relation
2023-10-13	13:02:18	2264	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:18	2264	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861756 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:18	2264	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:18	2264	[DEBUG]	Executed store
2023-10-13	13:02:18	2264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861756','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:18	2264	[DEBUG]	Checking manufacturer
2023-10-13	13:02:18	2264	[DEBUG]	Load a row
2023-10-13	13:02:18	2264	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:18	2264	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:02:18	2264	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:18	2264	[DEBUG]	Executed store
2023-10-13	13:02:18	2264	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:02:18	2264	[DEBUG]	Manufacturer exists
2023-10-13	13:02:18	2264	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:02:18	2264	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:18	2264	[DEBUG]	Executed store
2023-10-13	13:02:18	2264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861756','38')
2023-10-13	13:02:18	2264	[DEBUG]	Find the custom field ID
2023-10-13	13:02:18	2264	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:18	2264	[DEBUG]	No custom field ID found
2023-10-13	13:02:18	2264	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:18	2264	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:18	2264	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861756 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:18	2264	[DEBUG]	Store custom available field
2023-10-13	13:02:18	2264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861756,3,'0',1)
2023-10-13	13:02:18	2264	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:18	2264	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:18	2264	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861756 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:18	2264	[DEBUG]	Store custom available field
2023-10-13	13:02:18	2264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861756,6,'choisir la taille',3)
2023-10-13	13:02:18	2264	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:18	2264	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:18	2264	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:18	2264	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:18	2264	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861756 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:18	2264	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:18	2264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861756,8,1)
2023-10-13	13:02:18	2264	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:18	2264	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861756\":[1861756,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861756
2023-10-13	13:02:18	2264	[DEBUG]	Checking category
2023-10-13	13:02:18	2264	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:18	2264	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861756
2023-10-13	13:02:18	2264	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:18	2264	[DEBUG]	Executed store
2023-10-13	13:02:18	2264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861756','7339')
2023-10-13	13:02:18	2264	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:18	2264	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861756 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:18	2264	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:18	2264	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861756
2023-10-13	13:02:18	2265	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:18	2265	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:18	2265	[DEBUG]	Use field value for field taille
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:18	2265	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:18	2265	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:18	2265	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:18	2265	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:18	2265	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:18	2265	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:18	2265	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:18	2265	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:18	2265	[DEBUG]	Use field value for field published
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:18	2265	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field override
2023-10-13	13:02:18	2265	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:18	2265	[DEBUG]	Use field value for field slug
2023-10-13	13:02:18	2265	[DEBUG]	Process line 2265
2023-10-13	13:02:18	2265	[DEBUG]	Load a row
2023-10-13	13:02:18	2265	[DEBUG]	Processing item: 1000000171853
2023-10-13	13:02:18	2265	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:18	2265	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:18	2265	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8914_1'
2023-10-13	13:02:18	2265	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:18	2265	[DEBUG]	Processing product tax
2023-10-13	13:02:18	2265	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:18	2265	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:18	2265	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:18	2265	[DEBUG]	Query for Product
2023-10-13	13:02:18	2265	[DEBUG]	Executed store
2023-10-13	13:02:18	2265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861756','1000000171853','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:18	2265	[DEBUG]	No parent found
2023-10-13	13:02:18	2265	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861756 AND customfield_value = 'stockable'
2023-10-13	13:02:18	2265	[DEBUG]	Check product language entry
2023-10-13	13:02:18	2265	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861757
2023-10-13	13:02:18	2265	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:18	2265	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000171853' AND `virtuemart_product_id` != 1861757
2023-10-13	13:02:18	2265	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:18	2265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861757, '1000000171853')
2023-10-13	13:02:18	2265	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:18	2265	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-frein-a-disque-sram-db8-arriere-diffusion-black-950-mm-huile-minerale-noir-unitaire' AND `virtuemart_product_id` != 1861757
2023-10-13	13:02:18	2265	[DEBUG]	Query for ProductLang
2023-10-13	13:02:18	2265	[DEBUG]	Executed store
2023-10-13	13:02:18	2265	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Frein à disque Sram DB8 ARRIèRE diffusion Black, 950 mm huile minérale  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-frein-a-disque-sram-db8-arriere-diffusion-black-950-mm-huile-minerale-noir-unitaire' WHERE `virtuemart_product_id` = '1861757'
2023-10-13	13:02:18	2265	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37902_frein_à_disque_sram_db8_arriere_diffusion_black,_950_mm_huile_minerale_.jpg
2023-10-13	13:02:18	2265	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:18	2265	[DEBUG]	Process image file
2023-10-13	13:02:18	2265	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:18	2265	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:18	2265	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37902_frein_à_disque_sram_db8_arriere_diffusion_black,_950_mm_huile_minerale_.jpg
2023-10-13	13:02:18	2265	[DEBUG]	Full name target: bcprisme/37902_frein_à_disque_sram_db8_arriere_diffusion_black,_950_mm_huile_minerale_.jpg
2023-10-13	13:02:19	2265	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:19	2265	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37902_frein_à_disque_sram_db8_arriere_diffusion_black,_950_mm_huile_minerale_.jpg'
2023-10-13	13:02:19	2265	[DEBUG]	Query for Media
2023-10-13	13:02:19	2265	[DEBUG]	Executed store
2023-10-13	13:02:19	2265	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37902_frein_à_disque_sram_db8_arriere_diffusion_black,_950_mm_huile_minerale_.jpg',`file_url_thumb`='bcprisme/37902_frein_à_disque_sram_db8_arriere_diffusion_black,_950_mm_huile_minerale_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185181'
2023-10-13	13:02:19	2265	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:19	2265	[DEBUG]	Executed store
2023-10-13	13:02:19	2265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861757','1185181','1')
2023-10-13	13:02:19	2265	[DEBUG]	Store product image relation
2023-10-13	13:02:19	2265	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:19	2265	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861757 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:19	2265	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:19	2265	[DEBUG]	Executed store
2023-10-13	13:02:19	2265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861757','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:19	2265	[DEBUG]	Checking manufacturer
2023-10-13	13:02:19	2265	[DEBUG]	Load a row
2023-10-13	13:02:19	2265	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:19	2265	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:02:19	2265	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:19	2265	[DEBUG]	Executed store
2023-10-13	13:02:19	2265	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:02:19	2265	[DEBUG]	Manufacturer exists
2023-10-13	13:02:19	2265	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:02:19	2265	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:19	2265	[DEBUG]	Executed store
2023-10-13	13:02:19	2265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861757','38')
2023-10-13	13:02:19	2265	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:19	2265	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:19	2265	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861757 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:19	2265	[DEBUG]	Store custom available field
2023-10-13	13:02:19	2265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861757,3,'',1)
2023-10-13	13:02:19	2265	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:19	2265	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:19	2265	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861757 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:19	2265	[DEBUG]	Store custom available field
2023-10-13	13:02:19	2265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861757,6,'Unitaire',3)
2023-10-13	13:02:19	2265	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:19	2265	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:19	2265	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861756
2023-10-13	13:02:19	2265	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:19	2265	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861756\":[1861756,8,1,\"choisir la taille\"],\"1861757\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861756
2023-10-13	13:02:19	2265	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:19	2265	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861757
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:19	2266	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field taille
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:19	2266	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:19	2266	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:19	2266	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:19	2266	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:19	2266	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:19	2266	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field published
2023-10-13	13:02:19	2266	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:19	2266	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field override
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:19	2266	[DEBUG]	Use field value for field slug
2023-10-13	13:02:19	2266	[DEBUG]	Process line 2266
2023-10-13	13:02:19	2266	[DEBUG]	Load a row
2023-10-13	13:02:19	2266	[DEBUG]	Processing item: A_8927_1
2023-10-13	13:02:19	2266	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:19	2266	[DEBUG]	Processing product tax
2023-10-13	13:02:19	2266	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:19	2266	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:19	2266	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:19	2266	[DEBUG]	Query for Product
2023-10-13	13:02:19	2266	[DEBUG]	Executed store
2023-10-13	13:02:19	2266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8927_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:19	2266	[DEBUG]	Check product language entry
2023-10-13	13:02:19	2266	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861758
2023-10-13	13:02:19	2266	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:19	2266	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8927_1' AND `virtuemart_product_id` != 1861758
2023-10-13	13:02:19	2266	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:19	2266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861758, 'A_8927_1')
2023-10-13	13:02:19	2266	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:19	2266	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-mt501-arriere-a-br-mt520-pm-1700mm-plaque-resines-box-noir' AND `virtuemart_product_id` != 1861758
2023-10-13	13:02:19	2266	[DEBUG]	Query for ProductLang
2023-10-13	13:02:19	2266	[DEBUG]	Executed store
2023-10-13	13:02:19	2266	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.72642',`product_name`='SHIMANO Set fr. à dis. MT501 arrière a/BR-MT520 PM 1700mm plaque résines box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-mt501-arriere-a-br-mt520-pm-1700mm-plaque-resines-box-noir' WHERE `virtuemart_product_id` = '1861758'
2023-10-13	13:02:19	2266	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_72641_jpg.jpg
2023-10-13	13:02:19	2266	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:19	2266	[DEBUG]	Process image file
2023-10-13	13:02:19	2266	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:19	2266	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:19	2266	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_72641_jpg.jpg
2023-10-13	13:02:19	2266	[DEBUG]	Full name target: bcprisme/73_72641_jpg.jpg
2023-10-13	13:02:20	2266	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:20	2266	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_72641_jpg.jpg'
2023-10-13	13:02:20	2266	[DEBUG]	Query for Media
2023-10-13	13:02:20	2266	[DEBUG]	Executed store
2023-10-13	13:02:20	2266	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_72641_jpg.jpg',`file_url_thumb`='bcprisme/73_72641_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185183'
2023-10-13	13:02:20	2266	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:20	2266	[DEBUG]	Executed store
2023-10-13	13:02:20	2266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861758','1185183','1')
2023-10-13	13:02:20	2266	[DEBUG]	Store product image relation
2023-10-13	13:02:20	2266	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:20	2266	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861758 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:20	2266	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:20	2266	[DEBUG]	Executed store
2023-10-13	13:02:20	2266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861758','0','135.561745589601','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:20	2266	[DEBUG]	Checking manufacturer
2023-10-13	13:02:20	2266	[DEBUG]	Load a row
2023-10-13	13:02:20	2266	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:20	2266	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:20	2266	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:20	2266	[DEBUG]	Executed store
2023-10-13	13:02:20	2266	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:20	2266	[DEBUG]	Manufacturer exists
2023-10-13	13:02:20	2266	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:20	2266	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:20	2266	[DEBUG]	Executed store
2023-10-13	13:02:20	2266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861758','26')
2023-10-13	13:02:20	2266	[DEBUG]	Find the custom field ID
2023-10-13	13:02:20	2266	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:20	2266	[DEBUG]	No custom field ID found
2023-10-13	13:02:20	2266	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:20	2266	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:20	2266	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861758 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:20	2266	[DEBUG]	Store custom available field
2023-10-13	13:02:20	2266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861758,3,'0',1)
2023-10-13	13:02:20	2266	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:20	2266	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:20	2266	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861758 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:20	2266	[DEBUG]	Store custom available field
2023-10-13	13:02:20	2266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861758,6,'choisir la taille',3)
2023-10-13	13:02:20	2266	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:20	2266	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:20	2266	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:20	2266	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:20	2266	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861758 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:20	2266	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:20	2266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861758,8,1)
2023-10-13	13:02:20	2266	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:20	2266	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861758\":[1861758,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861758
2023-10-13	13:02:20	2266	[DEBUG]	Checking category
2023-10-13	13:02:20	2266	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:20	2266	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861758
2023-10-13	13:02:20	2266	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:20	2266	[DEBUG]	Executed store
2023-10-13	13:02:20	2266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861758','7339')
2023-10-13	13:02:20	2266	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:20	2266	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861758 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:20	2266	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:20	2266	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861758
2023-10-13	13:02:20	2267	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:20	2267	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:20	2267	[DEBUG]	Use field value for field taille
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:20	2267	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:20	2267	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:20	2267	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:20	2267	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:20	2267	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:20	2267	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:20	2267	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:20	2267	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:20	2267	[DEBUG]	Use field value for field published
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:20	2267	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field override
2023-10-13	13:02:20	2267	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:20	2267	[DEBUG]	Use field value for field slug
2023-10-13	13:02:20	2267	[DEBUG]	Process line 2267
2023-10-13	13:02:20	2267	[DEBUG]	Load a row
2023-10-13	13:02:20	2267	[DEBUG]	Processing item: 4550170447243
2023-10-13	13:02:20	2267	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:20	2267	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:20	2267	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8927_1'
2023-10-13	13:02:20	2267	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:20	2267	[DEBUG]	Processing product tax
2023-10-13	13:02:20	2267	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:20	2267	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:20	2267	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:20	2267	[DEBUG]	Query for Product
2023-10-13	13:02:20	2267	[DEBUG]	Executed store
2023-10-13	13:02:20	2267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861758','4550170447243','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:20	2267	[DEBUG]	No parent found
2023-10-13	13:02:20	2267	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861758 AND customfield_value = 'stockable'
2023-10-13	13:02:20	2267	[DEBUG]	Check product language entry
2023-10-13	13:02:20	2267	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861759
2023-10-13	13:02:20	2267	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:20	2267	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170447243' AND `virtuemart_product_id` != 1861759
2023-10-13	13:02:20	2267	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:20	2267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861759, '4550170447243')
2023-10-13	13:02:20	2267	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:20	2267	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-mt501-arriere-a-br-mt520-pm-1700mm-plaque-resines-box-noir-unitaire' AND `virtuemart_product_id` != 1861759
2023-10-13	13:02:20	2267	[DEBUG]	Query for ProductLang
2023-10-13	13:02:20	2267	[DEBUG]	Executed store
2023-10-13	13:02:20	2267	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. MT501 arrière a/BR-MT520 PM 1700mm plaque résines box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-mt501-arriere-a-br-mt520-pm-1700mm-plaque-resines-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861759'
2023-10-13	13:02:20	2267	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_72641_jpg.jpg
2023-10-13	13:02:20	2267	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:20	2267	[DEBUG]	Process image file
2023-10-13	13:02:20	2267	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:20	2267	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:20	2267	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_72641_jpg.jpg
2023-10-13	13:02:20	2267	[DEBUG]	Full name target: bcprisme/73_72641_jpg.jpg
2023-10-13	13:02:21	2267	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:21	2267	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_72641_jpg.jpg'
2023-10-13	13:02:21	2267	[DEBUG]	Query for Media
2023-10-13	13:02:21	2267	[DEBUG]	Executed store
2023-10-13	13:02:21	2267	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_72641_jpg.jpg',`file_url_thumb`='bcprisme/73_72641_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1185183'
2023-10-13	13:02:21	2267	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:21	2267	[DEBUG]	Executed store
2023-10-13	13:02:21	2267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861759','1185183','1')
2023-10-13	13:02:21	2267	[DEBUG]	Store product image relation
2023-10-13	13:02:21	2267	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:21	2267	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861759 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:21	2267	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:21	2267	[DEBUG]	Executed store
2023-10-13	13:02:21	2267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861759','0','135.561745589601','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:21	2267	[DEBUG]	Checking manufacturer
2023-10-13	13:02:21	2267	[DEBUG]	Load a row
2023-10-13	13:02:21	2267	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:21	2267	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:21	2267	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:21	2267	[DEBUG]	Executed store
2023-10-13	13:02:21	2267	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:21	2267	[DEBUG]	Manufacturer exists
2023-10-13	13:02:21	2267	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:21	2267	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:21	2267	[DEBUG]	Executed store
2023-10-13	13:02:21	2267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861759','26')
2023-10-13	13:02:21	2267	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:21	2267	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:21	2267	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861759 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:21	2267	[DEBUG]	Store custom available field
2023-10-13	13:02:21	2267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861759,3,'',1)
2023-10-13	13:02:21	2267	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:21	2267	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:21	2267	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861759 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:21	2267	[DEBUG]	Store custom available field
2023-10-13	13:02:21	2267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861759,6,'Unitaire',3)
2023-10-13	13:02:21	2267	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:21	2267	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:21	2267	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861758
2023-10-13	13:02:21	2267	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:21	2267	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861758\":[1861758,8,1,\"choisir la taille\"],\"1861759\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861758
2023-10-13	13:02:21	2267	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:21	2267	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861759
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:21	2268	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field taille
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:21	2268	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:21	2268	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:21	2268	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:21	2268	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:21	2268	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:21	2268	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field published
2023-10-13	13:02:21	2268	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:21	2268	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field override
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:21	2268	[DEBUG]	Use field value for field slug
2023-10-13	13:02:21	2268	[DEBUG]	Process line 2268
2023-10-13	13:02:21	2268	[DEBUG]	Load a row
2023-10-13	13:02:21	2268	[DEBUG]	Processing item: A_8997_1
2023-10-13	13:02:21	2268	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:21	2268	[DEBUG]	Processing product tax
2023-10-13	13:02:21	2268	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:21	2268	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:21	2268	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:21	2268	[DEBUG]	Query for Product
2023-10-13	13:02:21	2268	[DEBUG]	Executed store
2023-10-13	13:02:21	2268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8997_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:21	2268	[DEBUG]	Check product language entry
2023-10-13	13:02:21	2268	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861760
2023-10-13	13:02:21	2268	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:21	2268	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8997_1' AND `virtuemart_product_id` != 1861760
2023-10-13	13:02:21	2268	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:21	2268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861760, 'A_8997_1')
2023-10-13	13:02:21	2268	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:21	2268	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-xtr-m9100-arriere-a-bl-m9100-pm-1700mm-plaque-resin-box-noir' AND `virtuemart_product_id` != 1861760
2023-10-13	13:02:21	2268	[DEBUG]	Query for ProductLang
2023-10-13	13:02:21	2268	[DEBUG]	Executed store
2023-10-13	13:02:21	2268	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.72619',`product_name`='SHIMANO Set fr. à dis. XTR M9100 arrière a/BL-M9100 PM 1700mm plaque resin box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-xtr-m9100-arriere-a-bl-m9100-pm-1700mm-plaque-resin-box-noir' WHERE `virtuemart_product_id` = '1861760'
2023-10-13	13:02:21	2268	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7261.jpg
2023-10-13	13:02:21	2268	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:21	2268	[DEBUG]	Process image file
2023-10-13	13:02:21	2268	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:21	2268	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:21	2268	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7261.jpg
2023-10-13	13:02:21	2268	[DEBUG]	Full name target: bcprisme/73_7261.jpg
2023-10-13	13:02:22	2268	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:22	2268	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_7261.jpg'
2023-10-13	13:02:22	2268	[DEBUG]	Query for Media
2023-10-13	13:02:22	2268	[DEBUG]	Executed store
2023-10-13	13:02:22	2268	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_7261.jpg',`file_url_thumb`='bcprisme/73_7261.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1422907'
2023-10-13	13:02:22	2268	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:22	2268	[DEBUG]	Executed store
2023-10-13	13:02:22	2268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861760','1422907','1')
2023-10-13	13:02:22	2268	[DEBUG]	Store product image relation
2023-10-13	13:02:22	2268	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:22	2268	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861760 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:22	2268	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:22	2268	[DEBUG]	Executed store
2023-10-13	13:02:22	2268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861760','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:22	2268	[DEBUG]	Checking manufacturer
2023-10-13	13:02:22	2268	[DEBUG]	Load a row
2023-10-13	13:02:22	2268	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:22	2268	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:22	2268	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:22	2268	[DEBUG]	Executed store
2023-10-13	13:02:22	2268	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:22	2268	[DEBUG]	Manufacturer exists
2023-10-13	13:02:22	2268	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:22	2268	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:22	2268	[DEBUG]	Executed store
2023-10-13	13:02:22	2268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861760','26')
2023-10-13	13:02:22	2268	[DEBUG]	Find the custom field ID
2023-10-13	13:02:22	2268	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:22	2268	[DEBUG]	No custom field ID found
2023-10-13	13:02:22	2268	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:22	2268	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:22	2268	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861760 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:22	2268	[DEBUG]	Store custom available field
2023-10-13	13:02:22	2268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861760,3,'0',1)
2023-10-13	13:02:22	2268	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:22	2268	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:22	2268	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861760 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:22	2268	[DEBUG]	Store custom available field
2023-10-13	13:02:22	2268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861760,6,'choisir la taille',3)
2023-10-13	13:02:22	2268	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:22	2268	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:22	2268	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:22	2268	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:22	2268	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861760 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:22	2268	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:22	2268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861760,8,1)
2023-10-13	13:02:22	2268	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:22	2268	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861760\":[1861760,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861760
2023-10-13	13:02:22	2268	[DEBUG]	Checking category
2023-10-13	13:02:22	2268	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:22	2268	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861760
2023-10-13	13:02:22	2268	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:22	2268	[DEBUG]	Executed store
2023-10-13	13:02:22	2268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861760','7339')
2023-10-13	13:02:22	2268	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:22	2268	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861760 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:22	2268	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:22	2268	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861760
2023-10-13	13:02:22	2269	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:22	2269	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:22	2269	[DEBUG]	Use field value for field taille
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:22	2269	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:22	2269	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:22	2269	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:22	2269	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:22	2269	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:22	2269	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:22	2269	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:22	2269	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:22	2269	[DEBUG]	Use field value for field published
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:22	2269	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field override
2023-10-13	13:02:22	2269	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:22	2269	[DEBUG]	Use field value for field slug
2023-10-13	13:02:22	2269	[DEBUG]	Process line 2269
2023-10-13	13:02:22	2269	[DEBUG]	Load a row
2023-10-13	13:02:22	2269	[DEBUG]	Processing item: 4550170442996
2023-10-13	13:02:22	2269	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:22	2269	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:22	2269	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8997_1'
2023-10-13	13:02:22	2269	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:22	2269	[DEBUG]	Processing product tax
2023-10-13	13:02:22	2269	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:22	2269	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:22	2269	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:22	2269	[DEBUG]	Query for Product
2023-10-13	13:02:22	2269	[DEBUG]	Executed store
2023-10-13	13:02:22	2269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861760','4550170442996','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:22	2269	[DEBUG]	No parent found
2023-10-13	13:02:22	2269	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861760 AND customfield_value = 'stockable'
2023-10-13	13:02:22	2269	[DEBUG]	Check product language entry
2023-10-13	13:02:22	2269	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861761
2023-10-13	13:02:22	2269	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:22	2269	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170442996' AND `virtuemart_product_id` != 1861761
2023-10-13	13:02:22	2269	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:22	2269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861761, '4550170442996')
2023-10-13	13:02:22	2269	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:22	2269	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-xtr-m9100-arriere-a-bl-m9100-pm-1700mm-plaque-resin-box-noir-unitaire' AND `virtuemart_product_id` != 1861761
2023-10-13	13:02:22	2269	[DEBUG]	Query for ProductLang
2023-10-13	13:02:22	2269	[DEBUG]	Executed store
2023-10-13	13:02:22	2269	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. XTR M9100 arrière a/BL-M9100 PM 1700mm plaque resin box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-xtr-m9100-arriere-a-bl-m9100-pm-1700mm-plaque-resin-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861761'
2023-10-13	13:02:22	2269	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7261.jpg
2023-10-13	13:02:22	2269	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:22	2269	[DEBUG]	Process image file
2023-10-13	13:02:22	2269	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:22	2269	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:22	2269	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7261.jpg
2023-10-13	13:02:22	2269	[DEBUG]	Full name target: bcprisme/73_7261.jpg
2023-10-13	13:02:23	2269	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:23	2269	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_7261.jpg'
2023-10-13	13:02:23	2269	[DEBUG]	Query for Media
2023-10-13	13:02:23	2269	[DEBUG]	Executed store
2023-10-13	13:02:23	2269	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_7261.jpg',`file_url_thumb`='bcprisme/73_7261.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1422907'
2023-10-13	13:02:23	2269	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:23	2269	[DEBUG]	Executed store
2023-10-13	13:02:23	2269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861761','1422907','1')
2023-10-13	13:02:23	2269	[DEBUG]	Store product image relation
2023-10-13	13:02:23	2269	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:23	2269	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861761 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:23	2269	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:23	2269	[DEBUG]	Executed store
2023-10-13	13:02:23	2269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861761','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:23	2269	[DEBUG]	Checking manufacturer
2023-10-13	13:02:23	2269	[DEBUG]	Load a row
2023-10-13	13:02:23	2269	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:23	2269	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:23	2269	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:23	2269	[DEBUG]	Executed store
2023-10-13	13:02:23	2269	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:23	2269	[DEBUG]	Manufacturer exists
2023-10-13	13:02:23	2269	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:23	2269	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:23	2269	[DEBUG]	Executed store
2023-10-13	13:02:23	2269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861761','26')
2023-10-13	13:02:23	2269	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:23	2269	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:23	2269	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861761 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:23	2269	[DEBUG]	Store custom available field
2023-10-13	13:02:23	2269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861761,3,'',1)
2023-10-13	13:02:23	2269	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:23	2269	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:23	2269	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861761 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:23	2269	[DEBUG]	Store custom available field
2023-10-13	13:02:23	2269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861761,6,'Unitaire',3)
2023-10-13	13:02:23	2269	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:23	2269	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:23	2269	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861760
2023-10-13	13:02:23	2269	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:23	2269	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861760\":[1861760,8,1,\"choisir la taille\"],\"1861761\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861760
2023-10-13	13:02:23	2269	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:23	2269	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861761
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:23	2270	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field taille
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:23	2270	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:23	2270	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:23	2270	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:23	2270	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:23	2270	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:23	2270	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field published
2023-10-13	13:02:23	2270	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:23	2270	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field override
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:23	2270	[DEBUG]	Use field value for field slug
2023-10-13	13:02:23	2270	[DEBUG]	Process line 2270
2023-10-13	13:02:23	2270	[DEBUG]	Load a row
2023-10-13	13:02:23	2270	[DEBUG]	Processing item: A_9072_208
2023-10-13	13:02:23	2270	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:23	2270	[DEBUG]	Processing product tax
2023-10-13	13:02:23	2270	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:23	2270	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:23	2270	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:23	2270	[DEBUG]	Query for Product
2023-10-13	13:02:23	2270	[DEBUG]	Executed store
2023-10-13	13:02:23	2270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9072_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:23	2270	[DEBUG]	Check product language entry
2023-10-13	13:02:23	2270	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861762
2023-10-13	13:02:23	2270	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:23	2270	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9072_208' AND `virtuemart_product_id` != 1861762
2023-10-13	13:02:23	2270	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:23	2270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861762, 'A_9072_208')
2023-10-13	13:02:23	2270	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:23	2270	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-kit-pour-purger-tl-br003-m5-pour-bl-aucune' AND `virtuemart_product_id` != 1861762
2023-10-13	13:02:23	2270	[DEBUG]	Query for ProductLang
2023-10-13	13:02:23	2270	[DEBUG]	Executed store
2023-10-13	13:02:23	2270	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 90.79784',`product_name`='SHIMANO Kit pour purger TL-BR003 M5 pour BL / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-kit-pour-purger-tl-br003-m5-pour-bl-aucune' WHERE `virtuemart_product_id` = '1861762'
2023-10-13	13:02:23	2270	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/90_79783_1.jpg
2023-10-13	13:02:23	2270	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:23	2270	[DEBUG]	Process image file
2023-10-13	13:02:23	2270	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:23	2270	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:23	2270	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/90_79783_1.jpg
2023-10-13	13:02:23	2270	[DEBUG]	Full name target: bcprisme/90_79783_1.jpg
2023-10-13	13:02:24	2270	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:24	2270	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/90_79783_1.jpg'
2023-10-13	13:02:24	2270	[DEBUG]	Query for Media
2023-10-13	13:02:24	2270	[DEBUG]	Executed store
2023-10-13	13:02:24	2270	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/90_79783_1.jpg',`file_url_thumb`='bcprisme/90_79783_1.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1255225'
2023-10-13	13:02:24	2270	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:24	2270	[DEBUG]	Executed store
2023-10-13	13:02:24	2270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861762','1255225','1')
2023-10-13	13:02:24	2270	[DEBUG]	Store product image relation
2023-10-13	13:02:24	2270	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:24	2270	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861762 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:24	2270	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:24	2270	[DEBUG]	Executed store
2023-10-13	13:02:24	2270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861762','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:24	2270	[DEBUG]	Checking manufacturer
2023-10-13	13:02:24	2270	[DEBUG]	Load a row
2023-10-13	13:02:24	2270	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:24	2270	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:24	2270	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:24	2270	[DEBUG]	Executed store
2023-10-13	13:02:24	2270	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:24	2270	[DEBUG]	Manufacturer exists
2023-10-13	13:02:24	2270	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:24	2270	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:24	2270	[DEBUG]	Executed store
2023-10-13	13:02:24	2270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861762','26')
2023-10-13	13:02:24	2270	[DEBUG]	Find the custom field ID
2023-10-13	13:02:24	2270	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:24	2270	[DEBUG]	No custom field ID found
2023-10-13	13:02:24	2270	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:24	2270	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:24	2270	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861762 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:24	2270	[DEBUG]	Store custom available field
2023-10-13	13:02:24	2270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861762,3,'0',1)
2023-10-13	13:02:24	2270	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:24	2270	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:24	2270	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861762 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:24	2270	[DEBUG]	Store custom available field
2023-10-13	13:02:24	2270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861762,6,'choisir la taille',3)
2023-10-13	13:02:24	2270	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:24	2270	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:24	2270	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:24	2270	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:24	2270	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861762 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:24	2270	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:24	2270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861762,8,1)
2023-10-13	13:02:24	2270	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:24	2270	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861762\":[1861762,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861762
2023-10-13	13:02:24	2270	[DEBUG]	Checking category
2023-10-13	13:02:24	2270	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:24	2270	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861762
2023-10-13	13:02:24	2270	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:24	2270	[DEBUG]	Executed store
2023-10-13	13:02:24	2270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861762','7339')
2023-10-13	13:02:24	2270	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:24	2270	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861762 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:24	2270	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:24	2270	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861762
2023-10-13	13:02:24	2271	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:24	2271	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:24	2271	[DEBUG]	Use field value for field taille
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:24	2271	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:24	2271	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:24	2271	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:24	2271	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:24	2271	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:24	2271	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:24	2271	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:24	2271	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:24	2271	[DEBUG]	Use field value for field published
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:24	2271	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field override
2023-10-13	13:02:24	2271	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:24	2271	[DEBUG]	Use field value for field slug
2023-10-13	13:02:24	2271	[DEBUG]	Process line 2271
2023-10-13	13:02:24	2271	[DEBUG]	Load a row
2023-10-13	13:02:24	2271	[DEBUG]	Processing item: 4550170887858
2023-10-13	13:02:24	2271	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:24	2271	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:24	2271	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9072_208'
2023-10-13	13:02:24	2271	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:24	2271	[DEBUG]	Processing product tax
2023-10-13	13:02:24	2271	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:24	2271	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:24	2271	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:24	2271	[DEBUG]	Query for Product
2023-10-13	13:02:24	2271	[DEBUG]	Executed store
2023-10-13	13:02:24	2271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861762','4550170887858','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:24	2271	[DEBUG]	No parent found
2023-10-13	13:02:24	2271	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861762 AND customfield_value = 'stockable'
2023-10-13	13:02:24	2271	[DEBUG]	Check product language entry
2023-10-13	13:02:24	2271	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861763
2023-10-13	13:02:24	2271	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:24	2271	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170887858' AND `virtuemart_product_id` != 1861763
2023-10-13	13:02:24	2271	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:24	2271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861763, '4550170887858')
2023-10-13	13:02:24	2271	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:24	2271	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-kit-pour-purger-tl-br003-m5-pour-bl-aucune-unitaire' AND `virtuemart_product_id` != 1861763
2023-10-13	13:02:24	2271	[DEBUG]	Query for ProductLang
2023-10-13	13:02:24	2271	[DEBUG]	Executed store
2023-10-13	13:02:24	2271	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Kit pour purger TL-BR003 M5 pour BL / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-kit-pour-purger-tl-br003-m5-pour-bl-aucune-unitaire' WHERE `virtuemart_product_id` = '1861763'
2023-10-13	13:02:24	2271	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/90_79783_1.jpg
2023-10-13	13:02:24	2271	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:24	2271	[DEBUG]	Process image file
2023-10-13	13:02:24	2271	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:24	2271	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:24	2271	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/90_79783_1.jpg
2023-10-13	13:02:24	2271	[DEBUG]	Full name target: bcprisme/90_79783_1.jpg
2023-10-13	13:02:25	2271	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:25	2271	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/90_79783_1.jpg'
2023-10-13	13:02:25	2271	[DEBUG]	Query for Media
2023-10-13	13:02:25	2271	[DEBUG]	Executed store
2023-10-13	13:02:25	2271	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/90_79783_1.jpg',`file_url_thumb`='bcprisme/90_79783_1.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1255225'
2023-10-13	13:02:25	2271	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:25	2271	[DEBUG]	Executed store
2023-10-13	13:02:25	2271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861763','1255225','1')
2023-10-13	13:02:25	2271	[DEBUG]	Store product image relation
2023-10-13	13:02:25	2271	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:25	2271	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861763 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:25	2271	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:25	2271	[DEBUG]	Executed store
2023-10-13	13:02:25	2271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861763','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:25	2271	[DEBUG]	Checking manufacturer
2023-10-13	13:02:25	2271	[DEBUG]	Load a row
2023-10-13	13:02:25	2271	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:25	2271	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:25	2271	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:25	2271	[DEBUG]	Executed store
2023-10-13	13:02:25	2271	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:25	2271	[DEBUG]	Manufacturer exists
2023-10-13	13:02:25	2271	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:25	2271	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:25	2271	[DEBUG]	Executed store
2023-10-13	13:02:25	2271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861763','26')
2023-10-13	13:02:25	2271	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:25	2271	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:25	2271	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861763 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:25	2271	[DEBUG]	Store custom available field
2023-10-13	13:02:25	2271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861763,3,'',1)
2023-10-13	13:02:25	2271	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:25	2271	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:25	2271	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861763 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:25	2271	[DEBUG]	Store custom available field
2023-10-13	13:02:25	2271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861763,6,'Unitaire',3)
2023-10-13	13:02:25	2271	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:25	2271	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:25	2271	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861762
2023-10-13	13:02:25	2271	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:25	2271	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861762\":[1861762,8,1,\"choisir la taille\"],\"1861763\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861762
2023-10-13	13:02:25	2271	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:25	2271	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861763
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:25	2272	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field taille
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:25	2272	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:25	2272	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:25	2272	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:25	2272	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:25	2272	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:25	2272	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field published
2023-10-13	13:02:25	2272	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:25	2272	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field override
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:25	2272	[DEBUG]	Use field value for field slug
2023-10-13	13:02:25	2272	[DEBUG]	Process line 2272
2023-10-13	13:02:25	2272	[DEBUG]	Load a row
2023-10-13	13:02:25	2272	[DEBUG]	Processing item: A_9094_1
2023-10-13	13:02:25	2272	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:25	2272	[DEBUG]	Processing product tax
2023-10-13	13:02:25	2272	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:25	2272	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:25	2272	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:25	2272	[DEBUG]	Query for Product
2023-10-13	13:02:25	2272	[DEBUG]	Executed store
2023-10-13	13:02:25	2272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9094_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:25	2272	[DEBUG]	Check product language entry
2023-10-13	13:02:25	2272	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861764
2023-10-13	13:02:25	2272	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:25	2272	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9094_1' AND `virtuemart_product_id` != 1861764
2023-10-13	13:02:26	2272	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:26	2272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861764, 'A_9094_1')
2023-10-13	13:02:26	2272	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:26	2272	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-frein-a-disque-deo-br-m6120-postmount-plaquettes-resin-box-noir' AND `virtuemart_product_id` != 1861764
2023-10-13	13:02:26	2272	[DEBUG]	Query for ProductLang
2023-10-13	13:02:26	2272	[DEBUG]	Executed store
2023-10-13	13:02:26	2272	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.77863',`product_name`='SHIMANO Frein à disque DEO BR-M6120 postmount plaquettes resin box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-frein-a-disque-deo-br-m6120-postmount-plaquettes-resin-box-noir' WHERE `virtuemart_product_id` = '1861764'
2023-10-13	13:02:26	2272	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77863_00.jpg
2023-10-13	13:02:26	2272	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:26	2272	[DEBUG]	Process image file
2023-10-13	13:02:26	2272	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:26	2272	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:26	2272	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77863_00.jpg
2023-10-13	13:02:26	2272	[DEBUG]	Full name target: bcprisme/73_77863_00.jpg
2023-10-13	13:02:27	2272	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:27	2272	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77863_00.jpg'
2023-10-13	13:02:27	2272	[DEBUG]	Query for Media
2023-10-13	13:02:27	2272	[DEBUG]	Executed store
2023-10-13	13:02:27	2272	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77863_00.jpg',`file_url_thumb`='bcprisme/73_77863_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1255227'
2023-10-13	13:02:27	2272	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:27	2272	[DEBUG]	Executed store
2023-10-13	13:02:27	2272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861764','1255227','1')
2023-10-13	13:02:27	2272	[DEBUG]	Store product image relation
2023-10-13	13:02:27	2272	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:27	2272	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861764 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:27	2272	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:27	2272	[DEBUG]	Executed store
2023-10-13	13:02:27	2272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861764','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:27	2272	[DEBUG]	Checking manufacturer
2023-10-13	13:02:27	2272	[DEBUG]	Load a row
2023-10-13	13:02:27	2272	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:27	2272	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:27	2272	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:27	2272	[DEBUG]	Executed store
2023-10-13	13:02:27	2272	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:27	2272	[DEBUG]	Manufacturer exists
2023-10-13	13:02:27	2272	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:27	2272	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:27	2272	[DEBUG]	Executed store
2023-10-13	13:02:27	2272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861764','26')
2023-10-13	13:02:27	2272	[DEBUG]	Find the custom field ID
2023-10-13	13:02:27	2272	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:27	2272	[DEBUG]	No custom field ID found
2023-10-13	13:02:27	2272	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:27	2272	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:27	2272	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861764 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:27	2272	[DEBUG]	Store custom available field
2023-10-13	13:02:27	2272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861764,3,'0',1)
2023-10-13	13:02:27	2272	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:27	2272	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:27	2272	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861764 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:27	2272	[DEBUG]	Store custom available field
2023-10-13	13:02:27	2272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861764,6,'choisir la taille',3)
2023-10-13	13:02:27	2272	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:27	2272	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:27	2272	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:27	2272	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:27	2272	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861764 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:27	2272	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:27	2272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861764,8,1)
2023-10-13	13:02:27	2272	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:27	2272	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861764\":[1861764,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861764
2023-10-13	13:02:27	2272	[DEBUG]	Checking category
2023-10-13	13:02:27	2272	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:27	2272	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861764
2023-10-13	13:02:27	2272	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:27	2272	[DEBUG]	Executed store
2023-10-13	13:02:27	2272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861764','7339')
2023-10-13	13:02:27	2272	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:27	2272	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861764 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:27	2272	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:27	2272	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861764
2023-10-13	13:02:27	2273	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:27	2273	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:27	2273	[DEBUG]	Use field value for field taille
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:27	2273	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:27	2273	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:27	2273	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:27	2273	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:27	2273	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:27	2273	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:27	2273	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:27	2273	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:27	2273	[DEBUG]	Use field value for field published
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:27	2273	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field override
2023-10-13	13:02:27	2273	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:27	2273	[DEBUG]	Use field value for field slug
2023-10-13	13:02:27	2273	[DEBUG]	Process line 2273
2023-10-13	13:02:27	2273	[DEBUG]	Load a row
2023-10-13	13:02:27	2273	[DEBUG]	Processing item: 4550170615734
2023-10-13	13:02:27	2273	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:27	2273	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:27	2273	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9094_1'
2023-10-13	13:02:27	2273	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:27	2273	[DEBUG]	Processing product tax
2023-10-13	13:02:27	2273	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:27	2273	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:27	2273	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:27	2273	[DEBUG]	Query for Product
2023-10-13	13:02:27	2273	[DEBUG]	Executed store
2023-10-13	13:02:27	2273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861764','4550170615734','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:27	2273	[DEBUG]	No parent found
2023-10-13	13:02:27	2273	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861764 AND customfield_value = 'stockable'
2023-10-13	13:02:27	2273	[DEBUG]	Check product language entry
2023-10-13	13:02:27	2273	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861765
2023-10-13	13:02:27	2273	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:27	2273	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170615734' AND `virtuemart_product_id` != 1861765
2023-10-13	13:02:27	2273	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:27	2273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861765, '4550170615734')
2023-10-13	13:02:27	2273	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:27	2273	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-frein-a-disque-deo-br-m6120-postmount-plaquettes-resin-box-noir-unitaire' AND `virtuemart_product_id` != 1861765
2023-10-13	13:02:27	2273	[DEBUG]	Query for ProductLang
2023-10-13	13:02:27	2273	[DEBUG]	Executed store
2023-10-13	13:02:27	2273	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Frein à disque DEO BR-M6120 postmount plaquettes resin box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-frein-a-disque-deo-br-m6120-postmount-plaquettes-resin-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861765'
2023-10-13	13:02:27	2273	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77863_00.jpg
2023-10-13	13:02:27	2273	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:27	2273	[DEBUG]	Process image file
2023-10-13	13:02:27	2273	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:27	2273	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:27	2273	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77863_00.jpg
2023-10-13	13:02:27	2273	[DEBUG]	Full name target: bcprisme/73_77863_00.jpg
2023-10-13	13:02:28	2273	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:28	2273	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77863_00.jpg'
2023-10-13	13:02:28	2273	[DEBUG]	Query for Media
2023-10-13	13:02:28	2273	[DEBUG]	Executed store
2023-10-13	13:02:28	2273	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77863_00.jpg',`file_url_thumb`='bcprisme/73_77863_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1255227'
2023-10-13	13:02:28	2273	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:28	2273	[DEBUG]	Executed store
2023-10-13	13:02:28	2273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861765','1255227','1')
2023-10-13	13:02:28	2273	[DEBUG]	Store product image relation
2023-10-13	13:02:28	2273	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:28	2273	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861765 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:28	2273	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:28	2273	[DEBUG]	Executed store
2023-10-13	13:02:28	2273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861765','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:28	2273	[DEBUG]	Checking manufacturer
2023-10-13	13:02:28	2273	[DEBUG]	Load a row
2023-10-13	13:02:28	2273	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:28	2273	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:28	2273	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:28	2273	[DEBUG]	Executed store
2023-10-13	13:02:28	2273	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:28	2273	[DEBUG]	Manufacturer exists
2023-10-13	13:02:28	2273	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:28	2273	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:28	2273	[DEBUG]	Executed store
2023-10-13	13:02:28	2273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861765','26')
2023-10-13	13:02:28	2273	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:28	2273	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:28	2273	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861765 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:28	2273	[DEBUG]	Store custom available field
2023-10-13	13:02:28	2273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861765,3,'',1)
2023-10-13	13:02:28	2273	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:28	2273	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:28	2273	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861765 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:28	2273	[DEBUG]	Store custom available field
2023-10-13	13:02:28	2273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861765,6,'Unitaire',3)
2023-10-13	13:02:28	2273	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:28	2273	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:28	2273	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861764
2023-10-13	13:02:28	2273	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:28	2273	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861764\":[1861764,8,1,\"choisir la taille\"],\"1861765\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861764
2023-10-13	13:02:28	2273	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:28	2273	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861765
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:28	2274	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field taille
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:28	2274	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:28	2274	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:28	2274	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:28	2274	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:28	2274	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:28	2274	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field published
2023-10-13	13:02:28	2274	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:28	2274	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field override
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:28	2274	[DEBUG]	Use field value for field slug
2023-10-13	13:02:28	2274	[DEBUG]	Process line 2274
2023-10-13	13:02:28	2274	[DEBUG]	Load a row
2023-10-13	13:02:28	2274	[DEBUG]	Processing item: A_9450_731
2023-10-13	13:02:28	2274	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:28	2274	[DEBUG]	Processing product tax
2023-10-13	13:02:28	2274	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:28	2274	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:28	2274	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:28	2274	[DEBUG]	Query for Product
2023-10-13	13:02:28	2274	[DEBUG]	Executed store
2023-10-13	13:02:28	2274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9450_731','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:28	2274	[DEBUG]	Check product language entry
2023-10-13	13:02:28	2274	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861766
2023-10-13	13:02:28	2274	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:28	2274	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9450_731' AND `virtuemart_product_id` != 1861766
2023-10-13	13:02:28	2274	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:28	2274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861766, 'A_9450_731')
2023-10-13	13:02:28	2274	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:28	2274	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-dot-grease-for-dot-brakes-n-a-n-a' AND `virtuemart_product_id` != 1861766
2023-10-13	13:02:28	2274	[DEBUG]	Query for ProductLang
2023-10-13	13:02:28	2274	[DEBUG]	Executed store
2023-10-13	13:02:28	2274	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820666001100000000',`product_name`='SRAM Dot Grease for Dot Brakes N/A / N/A',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-dot-grease-for-dot-brakes-n-a-n-a' WHERE `virtuemart_product_id` = '1861766'
2023-10-13	13:02:28	2274	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38661_dot_grease_for_dot_brakes_n-a.jpg
2023-10-13	13:02:28	2274	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:28	2274	[DEBUG]	Process image file
2023-10-13	13:02:28	2274	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:28	2274	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:28	2274	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38661_dot_grease_for_dot_brakes_n-a.jpg
2023-10-13	13:02:28	2274	[DEBUG]	Full name target: bcprisme/38661_dot_grease_for_dot_brakes_n-a.jpg
2023-10-13	13:02:29	2274	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:29	2274	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38661_dot_grease_for_dot_brakes_n-a.jpg'
2023-10-13	13:02:29	2274	[DEBUG]	Query for Media
2023-10-13	13:02:29	2274	[DEBUG]	Executed store
2023-10-13	13:02:29	2274	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38661_dot_grease_for_dot_brakes_n-a.jpg',`file_url_thumb`='bcprisme/38661_dot_grease_for_dot_brakes_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1411847'
2023-10-13	13:02:29	2274	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:29	2274	[DEBUG]	Executed store
2023-10-13	13:02:29	2274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861766','1411847','1')
2023-10-13	13:02:29	2274	[DEBUG]	Store product image relation
2023-10-13	13:02:29	2274	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:29	2274	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861766 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:29	2274	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:29	2274	[DEBUG]	Executed store
2023-10-13	13:02:29	2274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861766','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:29	2274	[DEBUG]	Checking manufacturer
2023-10-13	13:02:29	2274	[DEBUG]	Load a row
2023-10-13	13:02:29	2274	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:29	2274	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:29	2274	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:29	2274	[DEBUG]	Executed store
2023-10-13	13:02:29	2274	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:29	2274	[DEBUG]	Manufacturer exists
2023-10-13	13:02:29	2274	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:02:29	2274	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:29	2274	[DEBUG]	Executed store
2023-10-13	13:02:29	2274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861766','35')
2023-10-13	13:02:29	2274	[DEBUG]	Find the custom field ID
2023-10-13	13:02:29	2274	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:29	2274	[DEBUG]	No custom field ID found
2023-10-13	13:02:29	2274	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:29	2274	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:29	2274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861766 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:29	2274	[DEBUG]	Store custom available field
2023-10-13	13:02:29	2274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861766,3,'0',1)
2023-10-13	13:02:29	2274	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:29	2274	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:29	2274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861766 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:29	2274	[DEBUG]	Store custom available field
2023-10-13	13:02:29	2274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861766,6,'choisir la taille',3)
2023-10-13	13:02:29	2274	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:29	2274	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:29	2274	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:29	2274	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:29	2274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861766 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:29	2274	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:29	2274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861766,8,1)
2023-10-13	13:02:29	2274	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:29	2274	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861766\":[1861766,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861766
2023-10-13	13:02:29	2274	[DEBUG]	Checking category
2023-10-13	13:02:29	2274	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:29	2274	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861766
2023-10-13	13:02:29	2274	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:29	2274	[DEBUG]	Executed store
2023-10-13	13:02:29	2274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861766','7339')
2023-10-13	13:02:29	2274	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:29	2274	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861766 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:29	2274	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:29	2274	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861766
2023-10-13	13:02:29	2275	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:29	2275	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:29	2275	[DEBUG]	Use field value for field taille
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:29	2275	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:29	2275	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:29	2275	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:29	2275	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:29	2275	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:29	2275	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:29	2275	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:29	2275	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:29	2275	[DEBUG]	Use field value for field published
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:29	2275	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field override
2023-10-13	13:02:29	2275	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:29	2275	[DEBUG]	Use field value for field slug
2023-10-13	13:02:29	2275	[DEBUG]	Process line 2275
2023-10-13	13:02:29	2275	[DEBUG]	Load a row
2023-10-13	13:02:29	2275	[DEBUG]	Processing item: 710845616181
2023-10-13	13:02:29	2275	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:29	2275	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:29	2275	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9450_731'
2023-10-13	13:02:29	2275	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:29	2275	[DEBUG]	Processing product tax
2023-10-13	13:02:29	2275	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:29	2275	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:29	2275	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:29	2275	[DEBUG]	Query for Product
2023-10-13	13:02:29	2275	[DEBUG]	Executed store
2023-10-13	13:02:29	2275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861766','710845616181','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:29	2275	[DEBUG]	No parent found
2023-10-13	13:02:29	2275	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861766 AND customfield_value = 'stockable'
2023-10-13	13:02:29	2275	[DEBUG]	Check product language entry
2023-10-13	13:02:29	2275	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861767
2023-10-13	13:02:29	2275	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:29	2275	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845616181' AND `virtuemart_product_id` != 1861767
2023-10-13	13:02:29	2275	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:29	2275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861767, '710845616181')
2023-10-13	13:02:29	2275	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:29	2275	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-dot-grease-for-dot-brakes-n-a-n-a-unitaire' AND `virtuemart_product_id` != 1861767
2023-10-13	13:02:29	2275	[DEBUG]	Query for ProductLang
2023-10-13	13:02:29	2275	[DEBUG]	Executed store
2023-10-13	13:02:29	2275	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Dot Grease for Dot Brakes N/A / N/A (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-dot-grease-for-dot-brakes-n-a-n-a-unitaire' WHERE `virtuemart_product_id` = '1861767'
2023-10-13	13:02:29	2275	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38661_dot_grease_for_dot_brakes_n-a.jpg
2023-10-13	13:02:29	2275	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:29	2275	[DEBUG]	Process image file
2023-10-13	13:02:29	2275	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:29	2275	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:29	2275	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38661_dot_grease_for_dot_brakes_n-a.jpg
2023-10-13	13:02:29	2275	[DEBUG]	Full name target: bcprisme/38661_dot_grease_for_dot_brakes_n-a.jpg
2023-10-13	13:02:30	2275	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:30	2275	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38661_dot_grease_for_dot_brakes_n-a.jpg'
2023-10-13	13:02:30	2275	[DEBUG]	Query for Media
2023-10-13	13:02:30	2275	[DEBUG]	Executed store
2023-10-13	13:02:30	2275	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38661_dot_grease_for_dot_brakes_n-a.jpg',`file_url_thumb`='bcprisme/38661_dot_grease_for_dot_brakes_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1411847'
2023-10-13	13:02:30	2275	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:30	2275	[DEBUG]	Executed store
2023-10-13	13:02:30	2275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861767','1411847','1')
2023-10-13	13:02:30	2275	[DEBUG]	Store product image relation
2023-10-13	13:02:30	2275	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:30	2275	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861767 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:30	2275	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:30	2275	[DEBUG]	Executed store
2023-10-13	13:02:30	2275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861767','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:30	2275	[DEBUG]	Checking manufacturer
2023-10-13	13:02:30	2275	[DEBUG]	Load a row
2023-10-13	13:02:30	2275	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:30	2275	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:30	2275	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:30	2275	[DEBUG]	Executed store
2023-10-13	13:02:30	2275	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:30	2275	[DEBUG]	Manufacturer exists
2023-10-13	13:02:30	2275	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:02:30	2275	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:30	2275	[DEBUG]	Executed store
2023-10-13	13:02:30	2275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861767','35')
2023-10-13	13:02:30	2275	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:30	2275	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:30	2275	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861767 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:30	2275	[DEBUG]	Store custom available field
2023-10-13	13:02:30	2275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861767,3,'',1)
2023-10-13	13:02:30	2275	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:30	2275	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:30	2275	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861767 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:30	2275	[DEBUG]	Store custom available field
2023-10-13	13:02:30	2275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861767,6,'Unitaire',3)
2023-10-13	13:02:30	2275	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:30	2275	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:30	2275	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861766
2023-10-13	13:02:30	2275	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:30	2275	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861766\":[1861766,8,1,\"choisir la taille\"],\"1861767\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861766
2023-10-13	13:02:30	2275	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:30	2275	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861767
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:30	2276	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field taille
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:30	2276	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:30	2276	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:30	2276	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:30	2276	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:30	2276	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:30	2276	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field published
2023-10-13	13:02:30	2276	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:30	2276	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field override
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:30	2276	[DEBUG]	Use field value for field slug
2023-10-13	13:02:30	2276	[DEBUG]	Process line 2276
2023-10-13	13:02:30	2276	[DEBUG]	Load a row
2023-10-13	13:02:30	2276	[DEBUG]	Processing item: A_9457_208
2023-10-13	13:02:30	2276	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:30	2276	[DEBUG]	Processing product tax
2023-10-13	13:02:30	2276	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:30	2276	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:30	2276	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:30	2276	[DEBUG]	Query for Product
2023-10-13	13:02:30	2276	[DEBUG]	Executed store
2023-10-13	13:02:30	2276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9457_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:30	2276	[DEBUG]	Check product language entry
2023-10-13	13:02:30	2276	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861768
2023-10-13	13:02:30	2276	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:30	2276	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9457_208' AND `virtuemart_product_id` != 1861768
2023-10-13	13:02:30	2276	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:30	2276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861768, 'A_9457_208')
2023-10-13	13:02:30	2276	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:30	2276	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-frein-a-disque-xtr-br-m9110-flatmount-arriere-plaquettes-resin-box-aucune' AND `virtuemart_product_id` != 1861768
2023-10-13	13:02:30	2276	[DEBUG]	Query for ProductLang
2023-10-13	13:02:30	2276	[DEBUG]	Executed store
2023-10-13	13:02:30	2276	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.77867',`product_name`='SHIMANO Frein à disque XTR BR-M9110 flatmount arrière plaquettes resin box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-frein-a-disque-xtr-br-m9110-flatmount-arriere-plaquettes-resin-box-aucune' WHERE `virtuemart_product_id` = '1861768'
2023-10-13	13:02:30	2276	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77867_00.jpg
2023-10-13	13:02:30	2276	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:30	2276	[DEBUG]	Process image file
2023-10-13	13:02:30	2276	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:30	2276	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:30	2276	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77867_00.jpg
2023-10-13	13:02:30	2276	[DEBUG]	Full name target: bcprisme/73_77867_00.jpg
2023-10-13	13:02:31	2276	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:31	2276	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77867_00.jpg'
2023-10-13	13:02:31	2276	[DEBUG]	Query for Media
2023-10-13	13:02:31	2276	[DEBUG]	Executed store
2023-10-13	13:02:31	2276	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77867_00.jpg',`file_url_thumb`='bcprisme/73_77867_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1422917'
2023-10-13	13:02:31	2276	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:31	2276	[DEBUG]	Executed store
2023-10-13	13:02:31	2276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861768','1422917','1')
2023-10-13	13:02:31	2276	[DEBUG]	Store product image relation
2023-10-13	13:02:31	2276	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:31	2276	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861768 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:31	2276	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:31	2276	[DEBUG]	Executed store
2023-10-13	13:02:31	2276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861768','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:31	2276	[DEBUG]	Checking manufacturer
2023-10-13	13:02:31	2276	[DEBUG]	Load a row
2023-10-13	13:02:31	2276	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:31	2276	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:31	2276	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:31	2276	[DEBUG]	Executed store
2023-10-13	13:02:31	2276	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:31	2276	[DEBUG]	Manufacturer exists
2023-10-13	13:02:31	2276	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:31	2276	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:31	2276	[DEBUG]	Executed store
2023-10-13	13:02:31	2276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861768','26')
2023-10-13	13:02:31	2276	[DEBUG]	Find the custom field ID
2023-10-13	13:02:31	2276	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:31	2276	[DEBUG]	No custom field ID found
2023-10-13	13:02:31	2276	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:31	2276	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:31	2276	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861768 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:31	2276	[DEBUG]	Store custom available field
2023-10-13	13:02:31	2276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861768,3,'0',1)
2023-10-13	13:02:31	2276	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:31	2276	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:31	2276	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861768 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:31	2276	[DEBUG]	Store custom available field
2023-10-13	13:02:31	2276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861768,6,'choisir la taille',3)
2023-10-13	13:02:31	2276	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:31	2276	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:31	2276	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:31	2276	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:31	2276	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861768 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:31	2276	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:31	2276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861768,8,1)
2023-10-13	13:02:31	2276	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:31	2276	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861768\":[1861768,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861768
2023-10-13	13:02:31	2276	[DEBUG]	Checking category
2023-10-13	13:02:31	2276	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:31	2276	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861768
2023-10-13	13:02:31	2276	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:31	2276	[DEBUG]	Executed store
2023-10-13	13:02:31	2276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861768','7339')
2023-10-13	13:02:31	2276	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:31	2276	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861768 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:31	2276	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:31	2276	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861768
2023-10-13	13:02:31	2277	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:31	2277	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:31	2277	[DEBUG]	Use field value for field taille
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:31	2277	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:31	2277	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:31	2277	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:31	2277	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:31	2277	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:31	2277	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:31	2277	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:31	2277	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:31	2277	[DEBUG]	Use field value for field published
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:31	2277	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field override
2023-10-13	13:02:31	2277	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:31	2277	[DEBUG]	Use field value for field slug
2023-10-13	13:02:31	2277	[DEBUG]	Process line 2277
2023-10-13	13:02:31	2277	[DEBUG]	Load a row
2023-10-13	13:02:31	2277	[DEBUG]	Processing item: 4550170615949
2023-10-13	13:02:31	2277	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:31	2277	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:31	2277	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9457_208'
2023-10-13	13:02:31	2277	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:31	2277	[DEBUG]	Processing product tax
2023-10-13	13:02:31	2277	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:31	2277	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:31	2277	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:31	2277	[DEBUG]	Query for Product
2023-10-13	13:02:31	2277	[DEBUG]	Executed store
2023-10-13	13:02:31	2277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861768','4550170615949','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:31	2277	[DEBUG]	No parent found
2023-10-13	13:02:31	2277	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861768 AND customfield_value = 'stockable'
2023-10-13	13:02:31	2277	[DEBUG]	Check product language entry
2023-10-13	13:02:31	2277	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861769
2023-10-13	13:02:31	2277	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:31	2277	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170615949' AND `virtuemart_product_id` != 1861769
2023-10-13	13:02:31	2277	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:31	2277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861769, '4550170615949')
2023-10-13	13:02:31	2277	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:31	2277	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-frein-a-disque-xtr-br-m9110-flatmount-arriere-plaquettes-resin-box-aucune-unitaire' AND `virtuemart_product_id` != 1861769
2023-10-13	13:02:31	2277	[DEBUG]	Query for ProductLang
2023-10-13	13:02:31	2277	[DEBUG]	Executed store
2023-10-13	13:02:31	2277	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Frein à disque XTR BR-M9110 flatmount arrière plaquettes resin box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-frein-a-disque-xtr-br-m9110-flatmount-arriere-plaquettes-resin-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1861769'
2023-10-13	13:02:31	2277	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77867_00.jpg
2023-10-13	13:02:31	2277	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:31	2277	[DEBUG]	Process image file
2023-10-13	13:02:31	2277	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:31	2277	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:31	2277	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77867_00.jpg
2023-10-13	13:02:31	2277	[DEBUG]	Full name target: bcprisme/73_77867_00.jpg
2023-10-13	13:02:32	2277	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:32	2277	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77867_00.jpg'
2023-10-13	13:02:32	2277	[DEBUG]	Query for Media
2023-10-13	13:02:32	2277	[DEBUG]	Executed store
2023-10-13	13:02:32	2277	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77867_00.jpg',`file_url_thumb`='bcprisme/73_77867_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1422917'
2023-10-13	13:02:32	2277	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:32	2277	[DEBUG]	Executed store
2023-10-13	13:02:32	2277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861769','1422917','1')
2023-10-13	13:02:32	2277	[DEBUG]	Store product image relation
2023-10-13	13:02:32	2277	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:32	2277	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861769 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:32	2277	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:32	2277	[DEBUG]	Executed store
2023-10-13	13:02:32	2277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861769','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:32	2277	[DEBUG]	Checking manufacturer
2023-10-13	13:02:32	2277	[DEBUG]	Load a row
2023-10-13	13:02:32	2277	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:32	2277	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:32	2277	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:32	2277	[DEBUG]	Executed store
2023-10-13	13:02:32	2277	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:32	2277	[DEBUG]	Manufacturer exists
2023-10-13	13:02:32	2277	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:32	2277	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:32	2277	[DEBUG]	Executed store
2023-10-13	13:02:32	2277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861769','26')
2023-10-13	13:02:32	2277	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:32	2277	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:32	2277	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861769 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:32	2277	[DEBUG]	Store custom available field
2023-10-13	13:02:32	2277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861769,3,'',1)
2023-10-13	13:02:32	2277	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:32	2277	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:32	2277	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861769 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:32	2277	[DEBUG]	Store custom available field
2023-10-13	13:02:32	2277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861769,6,'Unitaire',3)
2023-10-13	13:02:32	2277	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:32	2277	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:32	2277	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861768
2023-10-13	13:02:32	2277	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:32	2277	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861768\":[1861768,8,1,\"choisir la taille\"],\"1861769\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861768
2023-10-13	13:02:32	2277	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:32	2277	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861769
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:32	2278	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field taille
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:32	2278	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:32	2278	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:32	2278	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:32	2278	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:32	2278	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:32	2278	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field published
2023-10-13	13:02:32	2278	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:32	2278	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field override
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:32	2278	[DEBUG]	Use field value for field slug
2023-10-13	13:02:32	2278	[DEBUG]	Process line 2278
2023-10-13	13:02:32	2278	[DEBUG]	Load a row
2023-10-13	13:02:32	2278	[DEBUG]	Processing item: A_9458_1
2023-10-13	13:02:32	2278	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:32	2278	[DEBUG]	Processing product tax
2023-10-13	13:02:32	2278	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:32	2278	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:32	2278	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:32	2278	[DEBUG]	Query for Product
2023-10-13	13:02:32	2278	[DEBUG]	Executed store
2023-10-13	13:02:32	2278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9458_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:32	2278	[DEBUG]	Check product language entry
2023-10-13	13:02:32	2278	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861770
2023-10-13	13:02:32	2278	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:32	2278	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9458_1' AND `virtuemart_product_id` != 1861770
2023-10-13	13:02:32	2278	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:32	2278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861770, 'A_9458_1')
2023-10-13	13:02:32	2278	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:32	2278	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-xtr-m9100-avant-a-bl-m9100-pm-1000mm-plaque-resin-box-noir' AND `virtuemart_product_id` != 1861770
2023-10-13	13:02:32	2278	[DEBUG]	Query for ProductLang
2023-10-13	13:02:32	2278	[DEBUG]	Executed store
2023-10-13	13:02:32	2278	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.72618',`product_name`='SHIMANO Set fr. à dis. XTR M9100 avant a/BL-M9100 PM 1000mm plaque resin box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-xtr-m9100-avant-a-bl-m9100-pm-1000mm-plaque-resin-box-noir' WHERE `virtuemart_product_id` = '1861770'
2023-10-13	13:02:32	2278	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7261.jpg
2023-10-13	13:02:32	2278	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:32	2278	[DEBUG]	Process image file
2023-10-13	13:02:32	2278	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:32	2278	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:32	2278	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7261.jpg
2023-10-13	13:02:32	2278	[DEBUG]	Full name target: bcprisme/73_7261.jpg
2023-10-13	13:02:33	2278	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:33	2278	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_7261.jpg'
2023-10-13	13:02:33	2278	[DEBUG]	Query for Media
2023-10-13	13:02:33	2278	[DEBUG]	Executed store
2023-10-13	13:02:33	2278	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_7261.jpg',`file_url_thumb`='bcprisme/73_7261.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1422907'
2023-10-13	13:02:33	2278	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:33	2278	[DEBUG]	Executed store
2023-10-13	13:02:33	2278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861770','1422907','1')
2023-10-13	13:02:33	2278	[DEBUG]	Store product image relation
2023-10-13	13:02:33	2278	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:33	2278	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861770 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:33	2278	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:33	2278	[DEBUG]	Executed store
2023-10-13	13:02:33	2278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861770','0','269.173630454967','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:33	2278	[DEBUG]	Checking manufacturer
2023-10-13	13:02:33	2278	[DEBUG]	Load a row
2023-10-13	13:02:33	2278	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:33	2278	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:33	2278	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:33	2278	[DEBUG]	Executed store
2023-10-13	13:02:33	2278	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:33	2278	[DEBUG]	Manufacturer exists
2023-10-13	13:02:33	2278	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:33	2278	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:33	2278	[DEBUG]	Executed store
2023-10-13	13:02:33	2278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861770','26')
2023-10-13	13:02:33	2278	[DEBUG]	Find the custom field ID
2023-10-13	13:02:33	2278	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:33	2278	[DEBUG]	No custom field ID found
2023-10-13	13:02:33	2278	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:33	2278	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:33	2278	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861770 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:33	2278	[DEBUG]	Store custom available field
2023-10-13	13:02:33	2278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861770,3,'0',1)
2023-10-13	13:02:33	2278	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:33	2278	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:33	2278	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861770 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:33	2278	[DEBUG]	Store custom available field
2023-10-13	13:02:33	2278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861770,6,'choisir la taille',3)
2023-10-13	13:02:33	2278	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:33	2278	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:33	2278	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:33	2278	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:33	2278	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861770 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:33	2278	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:33	2278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861770,8,1)
2023-10-13	13:02:33	2278	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:33	2278	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861770\":[1861770,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861770
2023-10-13	13:02:33	2278	[DEBUG]	Checking category
2023-10-13	13:02:33	2278	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:33	2278	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861770
2023-10-13	13:02:33	2278	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:33	2278	[DEBUG]	Executed store
2023-10-13	13:02:33	2278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861770','7339')
2023-10-13	13:02:33	2278	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:33	2278	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861770 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:33	2278	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:33	2278	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861770
2023-10-13	13:02:33	2279	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:33	2279	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:33	2279	[DEBUG]	Use field value for field taille
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:33	2279	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:33	2279	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:33	2279	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:33	2279	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:33	2279	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:33	2279	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:33	2279	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:33	2279	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:33	2279	[DEBUG]	Use field value for field published
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:33	2279	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field override
2023-10-13	13:02:33	2279	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:33	2279	[DEBUG]	Use field value for field slug
2023-10-13	13:02:33	2279	[DEBUG]	Process line 2279
2023-10-13	13:02:33	2279	[DEBUG]	Load a row
2023-10-13	13:02:33	2279	[DEBUG]	Processing item: 4550170442965
2023-10-13	13:02:33	2279	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:33	2279	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:33	2279	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9458_1'
2023-10-13	13:02:33	2279	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:33	2279	[DEBUG]	Processing product tax
2023-10-13	13:02:33	2279	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:33	2279	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:33	2279	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:33	2279	[DEBUG]	Query for Product
2023-10-13	13:02:33	2279	[DEBUG]	Executed store
2023-10-13	13:02:33	2279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861770','4550170442965','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:33	2279	[DEBUG]	No parent found
2023-10-13	13:02:33	2279	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861770 AND customfield_value = 'stockable'
2023-10-13	13:02:33	2279	[DEBUG]	Check product language entry
2023-10-13	13:02:33	2279	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861771
2023-10-13	13:02:33	2279	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:33	2279	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170442965' AND `virtuemart_product_id` != 1861771
2023-10-13	13:02:33	2279	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:33	2279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861771, '4550170442965')
2023-10-13	13:02:33	2279	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:33	2279	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-xtr-m9100-avant-a-bl-m9100-pm-1000mm-plaque-resin-box-noir-unitaire' AND `virtuemart_product_id` != 1861771
2023-10-13	13:02:33	2279	[DEBUG]	Query for ProductLang
2023-10-13	13:02:33	2279	[DEBUG]	Executed store
2023-10-13	13:02:33	2279	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. XTR M9100 avant a/BL-M9100 PM 1000mm plaque resin box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-xtr-m9100-avant-a-bl-m9100-pm-1000mm-plaque-resin-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861771'
2023-10-13	13:02:33	2279	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7261.jpg
2023-10-13	13:02:33	2279	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:33	2279	[DEBUG]	Process image file
2023-10-13	13:02:33	2279	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:33	2279	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:33	2279	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_7261.jpg
2023-10-13	13:02:33	2279	[DEBUG]	Full name target: bcprisme/73_7261.jpg
2023-10-13	13:02:34	2279	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:34	2279	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_7261.jpg'
2023-10-13	13:02:34	2279	[DEBUG]	Query for Media
2023-10-13	13:02:34	2279	[DEBUG]	Executed store
2023-10-13	13:02:34	2279	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_7261.jpg',`file_url_thumb`='bcprisme/73_7261.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1422907'
2023-10-13	13:02:34	2279	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:34	2279	[DEBUG]	Executed store
2023-10-13	13:02:34	2279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861771','1422907','1')
2023-10-13	13:02:34	2279	[DEBUG]	Store product image relation
2023-10-13	13:02:34	2279	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:34	2279	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861771 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:34	2279	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:34	2279	[DEBUG]	Executed store
2023-10-13	13:02:34	2279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861771','0','269.173630454967','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:34	2279	[DEBUG]	Checking manufacturer
2023-10-13	13:02:34	2279	[DEBUG]	Load a row
2023-10-13	13:02:34	2279	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:34	2279	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:34	2279	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:34	2279	[DEBUG]	Executed store
2023-10-13	13:02:34	2279	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:34	2279	[DEBUG]	Manufacturer exists
2023-10-13	13:02:34	2279	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:34	2279	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:34	2279	[DEBUG]	Executed store
2023-10-13	13:02:34	2279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861771','26')
2023-10-13	13:02:34	2279	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:34	2279	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:34	2279	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861771 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:34	2279	[DEBUG]	Store custom available field
2023-10-13	13:02:34	2279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861771,3,'',1)
2023-10-13	13:02:34	2279	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:34	2279	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:34	2279	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861771 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:34	2279	[DEBUG]	Store custom available field
2023-10-13	13:02:34	2279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861771,6,'Unitaire',3)
2023-10-13	13:02:34	2279	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:34	2279	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:34	2279	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861770
2023-10-13	13:02:34	2279	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:34	2279	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861770\":[1861770,8,1,\"choisir la taille\"],\"1861771\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861770
2023-10-13	13:02:34	2279	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:34	2279	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861771
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:34	2280	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field taille
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:34	2280	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:34	2280	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:34	2280	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:34	2280	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:34	2280	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:34	2280	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field published
2023-10-13	13:02:34	2280	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:34	2280	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field override
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:34	2280	[DEBUG]	Use field value for field slug
2023-10-13	13:02:34	2280	[DEBUG]	Process line 2280
2023-10-13	13:02:34	2280	[DEBUG]	Load a row
2023-10-13	13:02:34	2280	[DEBUG]	Processing item: A_9492_84
2023-10-13	13:02:34	2280	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:34	2280	[DEBUG]	Processing product tax
2023-10-13	13:02:34	2280	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:34	2280	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:34	2280	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:34	2280	[DEBUG]	Query for Product
2023-10-13	13:02:34	2280	[DEBUG]	Executed store
2023-10-13	13:02:34	2280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9492_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:34	2280	[DEBUG]	Check product language entry
2023-10-13	13:02:34	2280	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861772
2023-10-13	13:02:34	2280	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:34	2280	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9492_84' AND `virtuemart_product_id` != 1861772
2023-10-13	13:02:34	2280	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:34	2280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861772, 'A_9492_84')
2023-10-13	13:02:34	2280	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:34	2280	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-discrete-clamp-controller-eagle-reverb-axs-n-a-black' AND `virtuemart_product_id` != 1861772
2023-10-13	13:02:34	2280	[DEBUG]	Query for ProductLang
2023-10-13	13:02:34	2280	[DEBUG]	Executed store
2023-10-13	13:02:34	2280	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820666021700010000',`product_name`='SRAM Discrete Clamp Controller Eagle / Reverb AXS N/A / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-discrete-clamp-controller-eagle-reverb-axs-n-a-black' WHERE `virtuemart_product_id` = '1861772'
2023-10-13	13:02:34	2280	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38715_discrete_clamp_controller_eagle_-_reverb_axs_n-a.jpg
2023-10-13	13:02:34	2280	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:02:34	2280	[DEBUG]	Process image file
2023-10-13	13:02:34	2280	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:02:34	2280	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:34	2280	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38715_discrete_clamp_controller_eagle_-_reverb_axs_n-a.jpg
2023-10-13	13:02:34	2280	[DEBUG]	Full name target: bcprisme/38715_discrete_clamp_controller_eagle_-_reverb_axs_n-a.jpg
2023-10-13	13:02:35	2280	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:35	2280	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38715_discrete_clamp_controller_eagle_-_reverb_axs_n-a.jpg'
2023-10-13	13:02:35	2280	[DEBUG]	Query for Media
2023-10-13	13:02:35	2280	[DEBUG]	Executed store
2023-10-13	13:02:35	2280	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38715_discrete_clamp_controller_eagle_-_reverb_axs_n-a.jpg',`file_url_thumb`='bcprisme/38715_discrete_clamp_controller_eagle_-_reverb_axs_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1434003'
2023-10-13	13:02:35	2280	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:35	2280	[DEBUG]	Executed store
2023-10-13	13:02:35	2280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861772','1434003','1')
2023-10-13	13:02:35	2280	[DEBUG]	Store product image relation
2023-10-13	13:02:35	2280	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:35	2280	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861772 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:35	2280	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:35	2280	[DEBUG]	Executed store
2023-10-13	13:02:35	2280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861772','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:35	2280	[DEBUG]	Checking manufacturer
2023-10-13	13:02:35	2280	[DEBUG]	Load a row
2023-10-13	13:02:35	2280	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:35	2280	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:35	2280	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:35	2280	[DEBUG]	Executed store
2023-10-13	13:02:35	2280	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:35	2280	[DEBUG]	Manufacturer exists
2023-10-13	13:02:35	2280	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:02:35	2280	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:35	2280	[DEBUG]	Executed store
2023-10-13	13:02:35	2280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861772','35')
2023-10-13	13:02:35	2280	[DEBUG]	Find the custom field ID
2023-10-13	13:02:35	2280	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:35	2280	[DEBUG]	No custom field ID found
2023-10-13	13:02:35	2280	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:35	2280	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:35	2280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861772 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:35	2280	[DEBUG]	Store custom available field
2023-10-13	13:02:35	2280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861772,3,'0',1)
2023-10-13	13:02:35	2280	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:35	2280	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:35	2280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861772 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:35	2280	[DEBUG]	Store custom available field
2023-10-13	13:02:35	2280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861772,6,'choisir la taille',3)
2023-10-13	13:02:35	2280	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:35	2280	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:35	2280	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:35	2280	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:35	2280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861772 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:35	2280	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:35	2280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861772,8,1)
2023-10-13	13:02:35	2280	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:35	2280	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861772\":[1861772,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861772
2023-10-13	13:02:35	2280	[DEBUG]	Checking category
2023-10-13	13:02:35	2280	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:35	2280	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861772
2023-10-13	13:02:35	2280	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:35	2280	[DEBUG]	Executed store
2023-10-13	13:02:35	2280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861772','7339')
2023-10-13	13:02:35	2280	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:35	2280	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861772 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:35	2280	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:35	2280	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861772
2023-10-13	13:02:35	2281	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:35	2281	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:35	2281	[DEBUG]	Use field value for field taille
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:35	2281	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:35	2281	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:35	2281	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:35	2281	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:35	2281	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:35	2281	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:35	2281	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:35	2281	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:35	2281	[DEBUG]	Use field value for field published
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:35	2281	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field override
2023-10-13	13:02:35	2281	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:35	2281	[DEBUG]	Use field value for field slug
2023-10-13	13:02:35	2281	[DEBUG]	Process line 2281
2023-10-13	13:02:35	2281	[DEBUG]	Load a row
2023-10-13	13:02:35	2281	[DEBUG]	Processing item: 710845825910
2023-10-13	13:02:35	2281	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:35	2281	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:35	2281	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9492_84'
2023-10-13	13:02:35	2281	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:35	2281	[DEBUG]	Processing product tax
2023-10-13	13:02:35	2281	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:35	2281	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:35	2281	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:35	2281	[DEBUG]	Query for Product
2023-10-13	13:02:35	2281	[DEBUG]	Executed store
2023-10-13	13:02:35	2281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861772','710845825910','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:35	2281	[DEBUG]	No parent found
2023-10-13	13:02:35	2281	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861772 AND customfield_value = 'stockable'
2023-10-13	13:02:35	2281	[DEBUG]	Check product language entry
2023-10-13	13:02:35	2281	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861773
2023-10-13	13:02:35	2281	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:35	2281	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845825910' AND `virtuemart_product_id` != 1861773
2023-10-13	13:02:35	2281	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:35	2281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861773, '710845825910')
2023-10-13	13:02:35	2281	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:35	2281	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-discrete-clamp-controller-eagle-reverb-axs-n-a-black-unitaire' AND `virtuemart_product_id` != 1861773
2023-10-13	13:02:35	2281	[DEBUG]	Query for ProductLang
2023-10-13	13:02:35	2281	[DEBUG]	Executed store
2023-10-13	13:02:35	2281	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Discrete Clamp Controller Eagle / Reverb AXS N/A / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-discrete-clamp-controller-eagle-reverb-axs-n-a-black-unitaire' WHERE `virtuemart_product_id` = '1861773'
2023-10-13	13:02:35	2281	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38715_discrete_clamp_controller_eagle_-_reverb_axs_n-a.jpg
2023-10-13	13:02:35	2281	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:02:35	2281	[DEBUG]	Process image file
2023-10-13	13:02:35	2281	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:02:35	2281	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:35	2281	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38715_discrete_clamp_controller_eagle_-_reverb_axs_n-a.jpg
2023-10-13	13:02:35	2281	[DEBUG]	Full name target: bcprisme/38715_discrete_clamp_controller_eagle_-_reverb_axs_n-a.jpg
2023-10-13	13:02:36	2281	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:36	2281	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38715_discrete_clamp_controller_eagle_-_reverb_axs_n-a.jpg'
2023-10-13	13:02:36	2281	[DEBUG]	Query for Media
2023-10-13	13:02:36	2281	[DEBUG]	Executed store
2023-10-13	13:02:36	2281	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38715_discrete_clamp_controller_eagle_-_reverb_axs_n-a.jpg',`file_url_thumb`='bcprisme/38715_discrete_clamp_controller_eagle_-_reverb_axs_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1434003'
2023-10-13	13:02:36	2281	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:36	2281	[DEBUG]	Executed store
2023-10-13	13:02:36	2281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861773','1434003','1')
2023-10-13	13:02:36	2281	[DEBUG]	Store product image relation
2023-10-13	13:02:36	2281	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:36	2281	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861773 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:36	2281	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:36	2281	[DEBUG]	Executed store
2023-10-13	13:02:36	2281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861773','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:36	2281	[DEBUG]	Checking manufacturer
2023-10-13	13:02:36	2281	[DEBUG]	Load a row
2023-10-13	13:02:36	2281	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:36	2281	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:36	2281	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:36	2281	[DEBUG]	Executed store
2023-10-13	13:02:36	2281	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:36	2281	[DEBUG]	Manufacturer exists
2023-10-13	13:02:36	2281	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:02:36	2281	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:36	2281	[DEBUG]	Executed store
2023-10-13	13:02:36	2281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861773','35')
2023-10-13	13:02:36	2281	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:36	2281	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:36	2281	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861773 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:36	2281	[DEBUG]	Store custom available field
2023-10-13	13:02:36	2281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861773,3,'',1)
2023-10-13	13:02:36	2281	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:36	2281	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:36	2281	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861773 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:36	2281	[DEBUG]	Store custom available field
2023-10-13	13:02:36	2281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861773,6,'Unitaire',3)
2023-10-13	13:02:36	2281	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:36	2281	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:36	2281	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861772
2023-10-13	13:02:36	2281	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:36	2281	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861772\":[1861772,8,1,\"choisir la taille\"],\"1861773\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861772
2023-10-13	13:02:36	2281	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:36	2281	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861773
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:36	2282	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field taille
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:36	2282	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:36	2282	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:36	2282	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:36	2282	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:36	2282	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:36	2282	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field published
2023-10-13	13:02:36	2282	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:36	2282	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field override
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:36	2282	[DEBUG]	Use field value for field slug
2023-10-13	13:02:36	2282	[DEBUG]	Process line 2282
2023-10-13	13:02:36	2282	[DEBUG]	Load a row
2023-10-13	13:02:36	2282	[DEBUG]	Processing item: A_9577_1
2023-10-13	13:02:36	2282	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:36	2282	[DEBUG]	Processing product tax
2023-10-13	13:02:36	2282	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:36	2282	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:36	2282	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:36	2282	[DEBUG]	Query for Product
2023-10-13	13:02:36	2282	[DEBUG]	Executed store
2023-10-13	13:02:36	2282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9577_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:36	2282	[DEBUG]	Check product language entry
2023-10-13	13:02:36	2282	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861774
2023-10-13	13:02:36	2282	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:36	2282	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9577_1' AND `virtuemart_product_id` != 1861774
2023-10-13	13:02:36	2282	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:36	2282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861774, 'A_9577_1')
2023-10-13	13:02:36	2282	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:36	2282	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-frein-a-disque-br-mt420-avant-arriere-pm-plaquettes-resine-noir-box-noir' AND `virtuemart_product_id` != 1861774
2023-10-13	13:02:36	2282	[DEBUG]	Query for ProductLang
2023-10-13	13:02:36	2282	[DEBUG]	Executed store
2023-10-13	13:02:36	2282	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75289',`product_name`='SHIMANO Frein à disque BR-MT420 avant /arrière PM plaquettes résine noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-frein-a-disque-br-mt420-avant-arriere-pm-plaquettes-resine-noir-box-noir' WHERE `virtuemart_product_id` = '1861774'
2023-10-13	13:02:36	2282	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75289_.jpg
2023-10-13	13:02:36	2282	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:36	2282	[DEBUG]	Process image file
2023-10-13	13:02:36	2282	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:36	2282	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:36	2282	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75289_.jpg
2023-10-13	13:02:36	2282	[DEBUG]	Full name target: bcprisme/73_75289_.jpg
2023-10-13	13:02:37	2282	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:37	2282	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75289_.jpg'
2023-10-13	13:02:37	2282	[DEBUG]	Query for Media
2023-10-13	13:02:37	2282	[DEBUG]	Executed store
2023-10-13	13:02:37	2282	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75289_.jpg',`file_url_thumb`='bcprisme/73_75289_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1478561'
2023-10-13	13:02:37	2282	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:37	2282	[DEBUG]	Executed store
2023-10-13	13:02:37	2282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861774','1478561','1')
2023-10-13	13:02:37	2282	[DEBUG]	Store product image relation
2023-10-13	13:02:37	2282	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:37	2282	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861774 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:37	2282	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:37	2282	[DEBUG]	Executed store
2023-10-13	13:02:37	2282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861774','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:37	2282	[DEBUG]	Checking manufacturer
2023-10-13	13:02:37	2282	[DEBUG]	Load a row
2023-10-13	13:02:37	2282	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:37	2282	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:37	2282	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:37	2282	[DEBUG]	Executed store
2023-10-13	13:02:37	2282	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:37	2282	[DEBUG]	Manufacturer exists
2023-10-13	13:02:37	2282	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:37	2282	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:37	2282	[DEBUG]	Executed store
2023-10-13	13:02:37	2282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861774','26')
2023-10-13	13:02:37	2282	[DEBUG]	Find the custom field ID
2023-10-13	13:02:37	2282	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:37	2282	[DEBUG]	No custom field ID found
2023-10-13	13:02:37	2282	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:37	2282	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:37	2282	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861774 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:37	2282	[DEBUG]	Store custom available field
2023-10-13	13:02:37	2282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861774,3,'0',1)
2023-10-13	13:02:37	2282	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:37	2282	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:37	2282	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861774 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:37	2282	[DEBUG]	Store custom available field
2023-10-13	13:02:37	2282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861774,6,'choisir la taille',3)
2023-10-13	13:02:37	2282	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:37	2282	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:37	2282	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:37	2282	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:37	2282	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861774 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:37	2282	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:37	2282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861774,8,1)
2023-10-13	13:02:37	2282	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:37	2282	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861774\":[1861774,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861774
2023-10-13	13:02:37	2282	[DEBUG]	Checking category
2023-10-13	13:02:37	2282	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:37	2282	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861774
2023-10-13	13:02:37	2282	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:37	2282	[DEBUG]	Executed store
2023-10-13	13:02:37	2282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861774','7339')
2023-10-13	13:02:37	2282	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:37	2282	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861774 AND `virtuemart_category_id` NOT IN (7339)
2023-10-13	13:02:37	2282	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:37	2282	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861774
2023-10-13	13:02:37	2283	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:37	2283	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:37	2283	[DEBUG]	Use field value for field taille
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:37	2283	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:37	2283	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:37	2283	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:37	2283	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:37	2283	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:37	2283	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:37	2283	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:37	2283	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:37	2283	[DEBUG]	Use field value for field published
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:37	2283	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field override
2023-10-13	13:02:37	2283	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:37	2283	[DEBUG]	Use field value for field slug
2023-10-13	13:02:37	2283	[DEBUG]	Process line 2283
2023-10-13	13:02:37	2283	[DEBUG]	Load a row
2023-10-13	13:02:37	2283	[DEBUG]	Processing item: 4550170443450
2023-10-13	13:02:37	2283	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:37	2283	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:37	2283	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9577_1'
2023-10-13	13:02:37	2283	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:37	2283	[DEBUG]	Processing product tax
2023-10-13	13:02:37	2283	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:37	2283	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:37	2283	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:37	2283	[DEBUG]	Query for Product
2023-10-13	13:02:37	2283	[DEBUG]	Executed store
2023-10-13	13:02:37	2283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861774','4550170443450','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:37	2283	[DEBUG]	No parent found
2023-10-13	13:02:37	2283	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861774 AND customfield_value = 'stockable'
2023-10-13	13:02:37	2283	[DEBUG]	Check product language entry
2023-10-13	13:02:37	2283	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861775
2023-10-13	13:02:37	2283	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:37	2283	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170443450' AND `virtuemart_product_id` != 1861775
2023-10-13	13:02:37	2283	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:37	2283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861775, '4550170443450')
2023-10-13	13:02:37	2283	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:37	2283	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-frein-a-disque-br-mt420-avant-arriere-pm-plaquettes-resine-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1861775
2023-10-13	13:02:37	2283	[DEBUG]	Query for ProductLang
2023-10-13	13:02:37	2283	[DEBUG]	Executed store
2023-10-13	13:02:37	2283	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Frein à disque BR-MT420 avant /arrière PM plaquettes résine noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-frein-a-disque-br-mt420-avant-arriere-pm-plaquettes-resine-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861775'
2023-10-13	13:02:37	2283	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75289_.jpg
2023-10-13	13:02:37	2283	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:37	2283	[DEBUG]	Process image file
2023-10-13	13:02:37	2283	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:02:37	2283	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:37	2283	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75289_.jpg
2023-10-13	13:02:37	2283	[DEBUG]	Full name target: bcprisme/73_75289_.jpg
2023-10-13	13:02:38	2283	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:38	2283	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75289_.jpg'
2023-10-13	13:02:38	2283	[DEBUG]	Query for Media
2023-10-13	13:02:38	2283	[DEBUG]	Executed store
2023-10-13	13:02:38	2283	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75289_.jpg',`file_url_thumb`='bcprisme/73_75289_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1478561'
2023-10-13	13:02:38	2283	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:38	2283	[DEBUG]	Executed store
2023-10-13	13:02:38	2283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861775','1478561','1')
2023-10-13	13:02:38	2283	[DEBUG]	Store product image relation
2023-10-13	13:02:38	2283	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:38	2283	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861775 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:38	2283	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:38	2283	[DEBUG]	Executed store
2023-10-13	13:02:38	2283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861775','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:38	2283	[DEBUG]	Checking manufacturer
2023-10-13	13:02:38	2283	[DEBUG]	Load a row
2023-10-13	13:02:38	2283	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:38	2283	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:38	2283	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:38	2283	[DEBUG]	Executed store
2023-10-13	13:02:38	2283	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:38	2283	[DEBUG]	Manufacturer exists
2023-10-13	13:02:38	2283	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:38	2283	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:38	2283	[DEBUG]	Executed store
2023-10-13	13:02:38	2283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861775','26')
2023-10-13	13:02:38	2283	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:38	2283	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:38	2283	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861775 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:38	2283	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861775,3,'',1)
2023-10-13	13:02:38	2283	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:38	2283	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:38	2283	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861775 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:38	2283	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861775,6,'Unitaire',3)
2023-10-13	13:02:38	2283	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:38	2283	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:38	2283	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861774
2023-10-13	13:02:38	2283	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:38	2283	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861774\":[1861774,8,1,\"choisir la taille\"],\"1861775\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861774
2023-10-13	13:02:38	2283	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:38	2283	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861775
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:38	2284	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field taille
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:38	2284	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:38	2284	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:38	2284	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:38	2284	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:38	2284	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:38	2284	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field published
2023-10-13	13:02:38	2284	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:38	2284	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field override
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:38	2284	[DEBUG]	Use field value for field slug
2023-10-13	13:02:38	2284	[DEBUG]	Process line 2284
2023-10-13	13:02:38	2284	[DEBUG]	Load a row
2023-10-13	13:02:38	2284	[DEBUG]	Processing item: A_720_1
2023-10-13	13:02:38	2284	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:38	2284	[DEBUG]	Processing product tax
2023-10-13	13:02:38	2284	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:38	2284	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:38	2284	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:38	2284	[DEBUG]	Query for Product
2023-10-13	13:02:38	2284	[DEBUG]	Executed store
2023-10-13	13:02:38	2284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_720_1','0.18','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:38	2284	[DEBUG]	Check product language entry
2023-10-13	13:02:38	2284	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861776
2023-10-13	13:02:38	2284	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2284	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_720_1' AND `virtuemart_product_id` != 1861776
2023-10-13	13:02:38	2284	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:38	2284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861776, 'A_720_1')
2023-10-13	13:02:38	2284	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2284	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-paire-de-leviers-freins-tektro-mt40-haut-de-gamme-noir' AND `virtuemart_product_id` != 1861776
2023-10-13	13:02:38	2284	[DEBUG]	Query for ProductLang
2023-10-13	13:02:38	2284	[DEBUG]	Executed store
2023-10-13	13:02:38	2284	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Levier ajustable. Dessin e-clip. Usage avec disques ou freins traditionnels. Levier en aluminium forgé. Usage avec Rapidfire shifters. Dessin pour 2 doigts. Ressort de détente.<br>N° art fourn : MT40',`product_name`='MLV-Bike Paire de  leviers freins TEKTRO MT40 haut de gamme / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-paire-de-leviers-freins-tektro-mt40-haut-de-gamme-noir' WHERE `virtuemart_product_id` = '1861776'
2023-10-13	13:02:38	2284	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_980.jpg has not been found.
2023-10-13	13:02:38	2284	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:38	2284	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861776 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:38	2284	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:38	2284	[DEBUG]	Executed store
2023-10-13	13:02:38	2284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861776','0','30.4549675023213','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:38	2284	[DEBUG]	Checking manufacturer
2023-10-13	13:02:38	2284	[DEBUG]	Load a row
2023-10-13	13:02:38	2284	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:38	2284	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:02:38	2284	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:38	2284	[DEBUG]	Executed store
2023-10-13	13:02:38	2284	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:02:38	2284	[DEBUG]	Manufacturer exists
2023-10-13	13:02:38	2284	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:02:38	2284	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:38	2284	[DEBUG]	Executed store
2023-10-13	13:02:38	2284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861776','2')
2023-10-13	13:02:38	2284	[DEBUG]	Find the custom field ID
2023-10-13	13:02:38	2284	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:38	2284	[DEBUG]	No custom field ID found
2023-10-13	13:02:38	2284	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:38	2284	[DEBUG]	Get existing row with customfield value 32.8086111111111
2023-10-13	13:02:38	2284	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861776 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:38	2284	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861776,3,'32.8086111111111',1)
2023-10-13	13:02:38	2284	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:38	2284	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:38	2284	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861776 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:38	2284	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861776,6,'choisir la taille',3)
2023-10-13	13:02:38	2284	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:38	2284	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:38	2284	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:38	2284	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:38	2284	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861776 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:38	2284	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:38	2284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861776,8,1)
2023-10-13	13:02:38	2284	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:38	2284	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861776\":[1861776,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861776
2023-10-13	13:02:38	2284	[DEBUG]	Checking category
2023-10-13	13:02:38	2284	[DEBUG]	Check if category path exists: FREINS / LEVIERS DE FREINS - BREMSE / BREMSHEBEL
2023-10-13	13:02:38	2284	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / LEVIERS DE FREINS - BREMSE / BREMSHEBEL' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:02:38	2284	[DEBUG]	Check if category path exists: LEVIERS DE FREINS - BREMSE / BREMSHEBEL
2023-10-13	13:02:38	2284	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'LEVIERS DE FREINS - BREMSE / BREMSHEBEL' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7340
2023-10-13	13:02:38	2284	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:38	2284	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861776
2023-10-13	13:02:38	2284	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:38	2284	[DEBUG]	Executed store
2023-10-13	13:02:38	2284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861776','7341')
2023-10-13	13:02:38	2284	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:38	2284	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861776 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:02:38	2284	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:38	2284	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861776
2023-10-13	13:02:38	2285	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:38	2285	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:38	2285	[DEBUG]	Use field value for field taille
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:38	2285	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:38	2285	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:38	2285	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:38	2285	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:38	2285	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:38	2285	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:38	2285	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:38	2285	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:38	2285	[DEBUG]	Use field value for field published
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:38	2285	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field override
2023-10-13	13:02:38	2285	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:38	2285	[DEBUG]	Use field value for field slug
2023-10-13	13:02:38	2285	[DEBUG]	Process line 2285
2023-10-13	13:02:38	2285	[DEBUG]	Load a row
2023-10-13	13:02:38	2285	[DEBUG]	Processing item: 1000000010688
2023-10-13	13:02:38	2285	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:38	2285	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:38	2285	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_720_1'
2023-10-13	13:02:38	2285	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:38	2285	[DEBUG]	Processing product tax
2023-10-13	13:02:38	2285	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:38	2285	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:38	2285	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:38	2285	[DEBUG]	Query for Product
2023-10-13	13:02:38	2285	[DEBUG]	Executed store
2023-10-13	13:02:38	2285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861776','1000000010688','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:38	2285	[DEBUG]	No parent found
2023-10-13	13:02:38	2285	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861776 AND customfield_value = 'stockable'
2023-10-13	13:02:38	2285	[DEBUG]	Check product language entry
2023-10-13	13:02:38	2285	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861777
2023-10-13	13:02:38	2285	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2285	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000010688' AND `virtuemart_product_id` != 1861777
2023-10-13	13:02:38	2285	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:38	2285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861777, '1000000010688')
2023-10-13	13:02:38	2285	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2285	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-paire-de-leviers-freins-tektro-mt40-haut-de-gamme-noir-set' AND `virtuemart_product_id` != 1861777
2023-10-13	13:02:38	2285	[DEBUG]	Query for ProductLang
2023-10-13	13:02:38	2285	[DEBUG]	Executed store
2023-10-13	13:02:38	2285	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Paire de  leviers freins TEKTRO MT40 haut de gamme / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-paire-de-leviers-freins-tektro-mt40-haut-de-gamme-noir-set' WHERE `virtuemart_product_id` = '1861777'
2023-10-13	13:02:38	2285	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_980.jpg has not been found.
2023-10-13	13:02:38	2285	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:38	2285	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861777 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:38	2285	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:38	2285	[DEBUG]	Executed store
2023-10-13	13:02:38	2285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861777','0','30.4549675023213','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:38	2285	[DEBUG]	Checking manufacturer
2023-10-13	13:02:38	2285	[DEBUG]	Load a row
2023-10-13	13:02:38	2285	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:38	2285	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:02:38	2285	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:38	2285	[DEBUG]	Executed store
2023-10-13	13:02:38	2285	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:02:38	2285	[DEBUG]	Manufacturer exists
2023-10-13	13:02:38	2285	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:02:38	2285	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:38	2285	[DEBUG]	Executed store
2023-10-13	13:02:38	2285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861777','2')
2023-10-13	13:02:38	2285	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:38	2285	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:38	2285	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861777 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:38	2285	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861777,3,'',1)
2023-10-13	13:02:38	2285	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:38	2285	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:02:38	2285	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861777 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:38	2285	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861777,6,'Set',3)
2023-10-13	13:02:38	2285	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:38	2285	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:38	2285	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861776
2023-10-13	13:02:38	2285	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:38	2285	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861776\":[1861776,8,1,\"choisir la taille\"],\"1861777\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861776
2023-10-13	13:02:38	2285	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:38	2285	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861777
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:38	2286	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field taille
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:38	2286	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:38	2286	[DEBUG]	Use default value for field file_url
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:38	2286	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:38	2286	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:38	2286	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:38	2286	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:38	2286	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field published
2023-10-13	13:02:38	2286	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:38	2286	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field override
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:38	2286	[DEBUG]	Use field value for field slug
2023-10-13	13:02:38	2286	[DEBUG]	Process line 2286
2023-10-13	13:02:38	2286	[DEBUG]	Load a row
2023-10-13	13:02:38	2286	[DEBUG]	Processing item: A_1311_1
2023-10-13	13:02:38	2286	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:38	2286	[DEBUG]	Processing product tax
2023-10-13	13:02:38	2286	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:38	2286	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:38	2286	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:38	2286	[DEBUG]	Query for Product
2023-10-13	13:02:38	2286	[DEBUG]	Executed store
2023-10-13	13:02:38	2286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1311_1','0.18','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:38	2286	[DEBUG]	Check product language entry
2023-10-13	13:02:38	2286	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861778
2023-10-13	13:02:38	2286	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2286	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1311_1' AND `virtuemart_product_id` != 1861778
2023-10-13	13:02:38	2286	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:38	2286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861778, 'A_1311_1')
2023-10-13	13:02:38	2286	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2286	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-paire-de-levier-de-freins-avid-noir' AND `virtuemart_product_id` != 1861778
2023-10-13	13:02:38	2286	[DEBUG]	Query for ProductLang
2023-10-13	13:02:38	2286	[DEBUG]	Executed store
2023-10-13	13:02:38	2286	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Paire de levier Tektro pour V-Brake ou Disque avec ressort de retour. 180 gr.<br>N° art fourn : D1502V',`product_name`='SRAM Paire de levier de freins AVID / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-paire-de-levier-de-freins-avid-noir' WHERE `virtuemart_product_id` = '1861778'
2023-10-13	13:02:38	2286	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:38	2286	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861778 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:38	2286	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:38	2286	[DEBUG]	Executed store
2023-10-13	13:02:38	2286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861778','0','45.4967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:38	2286	[DEBUG]	Checking manufacturer
2023-10-13	13:02:38	2286	[DEBUG]	Load a row
2023-10-13	13:02:38	2286	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:38	2286	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:38	2286	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:38	2286	[DEBUG]	Executed store
2023-10-13	13:02:38	2286	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:38	2286	[DEBUG]	Manufacturer exists
2023-10-13	13:02:38	2286	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:02:38	2286	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:38	2286	[DEBUG]	Executed store
2023-10-13	13:02:38	2286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861778','35')
2023-10-13	13:02:38	2286	[DEBUG]	Find the custom field ID
2023-10-13	13:02:38	2286	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:38	2286	[DEBUG]	No custom field ID found
2023-10-13	13:02:38	2286	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:38	2286	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:02:38	2286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861778 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:38	2286	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861778,3,'29.8169444444444',1)
2023-10-13	13:02:38	2286	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:38	2286	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:38	2286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861778 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:38	2286	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861778,6,'choisir la taille',3)
2023-10-13	13:02:38	2286	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:38	2286	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:38	2286	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:38	2286	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:38	2286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861778 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:38	2286	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:38	2286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861778,8,1)
2023-10-13	13:02:38	2286	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:38	2286	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861778\":[1861778,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861778
2023-10-13	13:02:38	2286	[DEBUG]	Checking category
2023-10-13	13:02:38	2286	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:38	2286	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861778
2023-10-13	13:02:38	2286	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:38	2286	[DEBUG]	Executed store
2023-10-13	13:02:38	2286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861778','7341')
2023-10-13	13:02:38	2286	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:38	2286	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861778 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:02:38	2286	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:38	2286	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861778
2023-10-13	13:02:38	2287	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:38	2287	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:38	2287	[DEBUG]	Use field value for field taille
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:38	2287	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:38	2287	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:38	2287	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field file_url
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:38	2287	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:38	2287	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:38	2287	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:38	2287	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:38	2287	[DEBUG]	Use field value for field published
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:38	2287	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field override
2023-10-13	13:02:38	2287	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:38	2287	[DEBUG]	Use field value for field slug
2023-10-13	13:02:38	2287	[DEBUG]	Process line 2287
2023-10-13	13:02:38	2287	[DEBUG]	Load a row
2023-10-13	13:02:38	2287	[DEBUG]	Processing item: 765250002517
2023-10-13	13:02:38	2287	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:38	2287	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:38	2287	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1311_1'
2023-10-13	13:02:38	2287	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:38	2287	[DEBUG]	Processing product tax
2023-10-13	13:02:38	2287	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:38	2287	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:38	2287	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:38	2287	[DEBUG]	Query for Product
2023-10-13	13:02:38	2287	[DEBUG]	Executed store
2023-10-13	13:02:38	2287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861778','765250002517','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:38	2287	[DEBUG]	No parent found
2023-10-13	13:02:38	2287	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861778 AND customfield_value = 'stockable'
2023-10-13	13:02:38	2287	[DEBUG]	Check product language entry
2023-10-13	13:02:38	2287	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861779
2023-10-13	13:02:38	2287	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2287	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '765250002517' AND `virtuemart_product_id` != 1861779
2023-10-13	13:02:38	2287	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:38	2287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861779, '765250002517')
2023-10-13	13:02:38	2287	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2287	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-paire-de-levier-de-freins-avid-noir-unitaire' AND `virtuemart_product_id` != 1861779
2023-10-13	13:02:38	2287	[DEBUG]	Query for ProductLang
2023-10-13	13:02:38	2287	[DEBUG]	Executed store
2023-10-13	13:02:38	2287	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Paire de levier de freins AVID / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-paire-de-levier-de-freins-avid-noir-unitaire' WHERE `virtuemart_product_id` = '1861779'
2023-10-13	13:02:38	2287	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:38	2287	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861779 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:38	2287	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:38	2287	[DEBUG]	Executed store
2023-10-13	13:02:38	2287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861779','0','45.4967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:38	2287	[DEBUG]	Checking manufacturer
2023-10-13	13:02:38	2287	[DEBUG]	Load a row
2023-10-13	13:02:38	2287	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:38	2287	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:38	2287	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:38	2287	[DEBUG]	Executed store
2023-10-13	13:02:38	2287	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:38	2287	[DEBUG]	Manufacturer exists
2023-10-13	13:02:38	2287	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:02:38	2287	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:38	2287	[DEBUG]	Executed store
2023-10-13	13:02:38	2287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861779','35')
2023-10-13	13:02:38	2287	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:38	2287	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:38	2287	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861779 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:38	2287	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861779,3,'',1)
2023-10-13	13:02:38	2287	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:38	2287	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:38	2287	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861779 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:38	2287	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861779,6,'Unitaire',3)
2023-10-13	13:02:38	2287	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:38	2287	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:38	2287	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861778
2023-10-13	13:02:38	2287	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:38	2287	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861778\":[1861778,8,1,\"choisir la taille\"],\"1861779\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861778
2023-10-13	13:02:38	2287	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:38	2287	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861779
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:38	2288	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field taille
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:38	2288	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:38	2288	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:38	2288	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:38	2288	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:38	2288	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:38	2288	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field published
2023-10-13	13:02:38	2288	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:38	2288	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field override
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:38	2288	[DEBUG]	Use field value for field slug
2023-10-13	13:02:38	2288	[DEBUG]	Process line 2288
2023-10-13	13:02:38	2288	[DEBUG]	Load a row
2023-10-13	13:02:38	2288	[DEBUG]	Processing item: A_1311_10
2023-10-13	13:02:38	2288	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:38	2288	[DEBUG]	Processing product tax
2023-10-13	13:02:38	2288	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:38	2288	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:38	2288	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:38	2288	[DEBUG]	Query for Product
2023-10-13	13:02:38	2288	[DEBUG]	Executed store
2023-10-13	13:02:38	2288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1311_10','0.18','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:38	2288	[DEBUG]	Check product language entry
2023-10-13	13:02:38	2288	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861780
2023-10-13	13:02:38	2288	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2288	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1311_10' AND `virtuemart_product_id` != 1861780
2023-10-13	13:02:38	2288	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:38	2288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861780, 'A_1311_10')
2023-10-13	13:02:38	2288	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2288	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-paire-de-levier-de-freins-avid-noir-argent' AND `virtuemart_product_id` != 1861780
2023-10-13	13:02:38	2288	[DEBUG]	Query for ProductLang
2023-10-13	13:02:38	2288	[DEBUG]	Executed store
2023-10-13	13:02:38	2288	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Paire de levier Tektro pour V-Brake ou Disque avec ressort de retour. 180 gr.<br>N° art fourn : D1502V',`product_name`='SRAM Paire de levier de freins AVID / Noir-argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-paire-de-levier-de-freins-avid-noir-argent' WHERE `virtuemart_product_id` = '1861780'
2023-10-13	13:02:38	2288	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2940.jpg has not been found.
2023-10-13	13:02:38	2288	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:38	2288	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861780 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:38	2288	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:38	2288	[DEBUG]	Executed store
2023-10-13	13:02:38	2288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861780','0','45.4967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:38	2288	[DEBUG]	Checking manufacturer
2023-10-13	13:02:38	2288	[DEBUG]	Load a row
2023-10-13	13:02:38	2288	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:38	2288	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:38	2288	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:38	2288	[DEBUG]	Executed store
2023-10-13	13:02:38	2288	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:38	2288	[DEBUG]	Manufacturer exists
2023-10-13	13:02:38	2288	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:02:38	2288	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:38	2288	[DEBUG]	Executed store
2023-10-13	13:02:38	2288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861780','35')
2023-10-13	13:02:38	2288	[DEBUG]	Find the custom field ID
2023-10-13	13:02:38	2288	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:38	2288	[DEBUG]	No custom field ID found
2023-10-13	13:02:38	2288	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:38	2288	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:02:38	2288	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861780 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:38	2288	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861780,3,'29.8169444444444',1)
2023-10-13	13:02:38	2288	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:38	2288	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:38	2288	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861780 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:38	2288	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861780,6,'choisir la taille',3)
2023-10-13	13:02:38	2288	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:38	2288	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:38	2288	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:38	2288	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:38	2288	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861780 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:38	2288	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:38	2288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861780,8,1)
2023-10-13	13:02:38	2288	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:38	2288	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861780\":[1861780,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861780
2023-10-13	13:02:38	2288	[DEBUG]	Checking category
2023-10-13	13:02:38	2288	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:38	2288	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861780
2023-10-13	13:02:38	2288	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:38	2288	[DEBUG]	Executed store
2023-10-13	13:02:38	2288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861780','7341')
2023-10-13	13:02:38	2288	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:38	2288	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861780 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:02:38	2288	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:38	2288	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861780
2023-10-13	13:02:38	2289	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:38	2289	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:38	2289	[DEBUG]	Use field value for field taille
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:38	2289	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:38	2289	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:38	2289	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:38	2289	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:38	2289	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:38	2289	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:38	2289	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:38	2289	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:38	2289	[DEBUG]	Use field value for field published
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:38	2289	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field override
2023-10-13	13:02:38	2289	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:38	2289	[DEBUG]	Use field value for field slug
2023-10-13	13:02:38	2289	[DEBUG]	Process line 2289
2023-10-13	13:02:38	2289	[DEBUG]	Load a row
2023-10-13	13:02:38	2289	[DEBUG]	Processing item: 1000000023572
2023-10-13	13:02:38	2289	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:38	2289	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:38	2289	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1311_10'
2023-10-13	13:02:38	2289	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:38	2289	[DEBUG]	Processing product tax
2023-10-13	13:02:38	2289	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:38	2289	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:38	2289	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:38	2289	[DEBUG]	Query for Product
2023-10-13	13:02:38	2289	[DEBUG]	Executed store
2023-10-13	13:02:38	2289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861780','1000000023572','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:38	2289	[DEBUG]	No parent found
2023-10-13	13:02:38	2289	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861780 AND customfield_value = 'stockable'
2023-10-13	13:02:38	2289	[DEBUG]	Check product language entry
2023-10-13	13:02:38	2289	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861781
2023-10-13	13:02:38	2289	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2289	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000023572' AND `virtuemart_product_id` != 1861781
2023-10-13	13:02:38	2289	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:38	2289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861781, '1000000023572')
2023-10-13	13:02:38	2289	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2289	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-paire-de-levier-de-freins-avid-noir-argent-unitaire' AND `virtuemart_product_id` != 1861781
2023-10-13	13:02:38	2289	[DEBUG]	Query for ProductLang
2023-10-13	13:02:38	2289	[DEBUG]	Executed store
2023-10-13	13:02:38	2289	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Paire de levier de freins AVID / Noir-argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-paire-de-levier-de-freins-avid-noir-argent-unitaire' WHERE `virtuemart_product_id` = '1861781'
2023-10-13	13:02:38	2289	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2940.jpg has not been found.
2023-10-13	13:02:38	2289	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:38	2289	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861781 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:38	2289	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:38	2289	[DEBUG]	Executed store
2023-10-13	13:02:38	2289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861781','0','45.4967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:38	2289	[DEBUG]	Checking manufacturer
2023-10-13	13:02:38	2289	[DEBUG]	Load a row
2023-10-13	13:02:38	2289	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:38	2289	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:38	2289	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:38	2289	[DEBUG]	Executed store
2023-10-13	13:02:38	2289	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:38	2289	[DEBUG]	Manufacturer exists
2023-10-13	13:02:38	2289	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:02:38	2289	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:38	2289	[DEBUG]	Executed store
2023-10-13	13:02:38	2289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861781','35')
2023-10-13	13:02:38	2289	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:38	2289	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:38	2289	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861781 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:38	2289	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861781,3,'',1)
2023-10-13	13:02:38	2289	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:38	2289	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:38	2289	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861781 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:38	2289	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861781,6,'Unitaire',3)
2023-10-13	13:02:38	2289	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:38	2289	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:38	2289	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861780
2023-10-13	13:02:38	2289	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:38	2289	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861780\":[1861780,8,1,\"choisir la taille\"],\"1861781\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861780
2023-10-13	13:02:38	2289	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:38	2289	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861781
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:38	2290	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field taille
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:38	2290	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:38	2290	[DEBUG]	Use default value for field file_url
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:38	2290	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:38	2290	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:38	2290	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:38	2290	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:38	2290	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field published
2023-10-13	13:02:38	2290	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:38	2290	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field override
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:38	2290	[DEBUG]	Use field value for field slug
2023-10-13	13:02:38	2290	[DEBUG]	Process line 2290
2023-10-13	13:02:38	2290	[DEBUG]	Load a row
2023-10-13	13:02:38	2290	[DEBUG]	Processing item: A_5210_208
2023-10-13	13:02:38	2290	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:38	2290	[DEBUG]	Processing product tax
2023-10-13	13:02:38	2290	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:38	2290	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:38	2290	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:38	2290	[DEBUG]	Query for Product
2023-10-13	13:02:38	2290	[DEBUG]	Executed store
2023-10-13	13:02:38	2290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5210_208','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:38	2290	[DEBUG]	Check product language entry
2023-10-13	13:02:38	2290	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861782
2023-10-13	13:02:38	2290	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2290	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5210_208' AND `virtuemart_product_id` != 1861782
2023-10-13	13:02:38	2290	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:38	2290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861782, 'A_5210_208')
2023-10-13	13:02:38	2290	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2290	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-manette-st-ef51-gauche-3-v-ez-fire-v-brake-2-d-argent-box-aucune' AND `virtuemart_product_id` != 1861782
2023-10-13	13:02:38	2290	[DEBUG]	Query for ProductLang
2023-10-13	13:02:38	2290	[DEBUG]	Executed store
2023-10-13	13:02:38	2290	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 69.58275',`product_name`='SHIMANO Levier/manette ST-EF51 gauche 3-v EZ-Fire V-Brake 2-d argent box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-manette-st-ef51-gauche-3-v-ez-fire-v-brake-2-d-argent-box-aucune' WHERE `virtuemart_product_id` = '1861782'
2023-10-13	13:02:38	2290	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:38	2290	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861782 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:38	2290	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:38	2290	[DEBUG]	Executed store
2023-10-13	13:02:38	2290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861782','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:38	2290	[DEBUG]	Checking manufacturer
2023-10-13	13:02:38	2290	[DEBUG]	Load a row
2023-10-13	13:02:38	2290	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:38	2290	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:02:38	2290	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:38	2290	[DEBUG]	Executed store
2023-10-13	13:02:38	2290	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:02:38	2290	[DEBUG]	Manufacturer exists
2023-10-13	13:02:38	2290	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:02:38	2290	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:38	2290	[DEBUG]	Executed store
2023-10-13	13:02:38	2290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861782','123')
2023-10-13	13:02:38	2290	[DEBUG]	Find the custom field ID
2023-10-13	13:02:38	2290	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:38	2290	[DEBUG]	No custom field ID found
2023-10-13	13:02:38	2290	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:38	2290	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:38	2290	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861782 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:38	2290	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861782,3,'0',1)
2023-10-13	13:02:38	2290	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:38	2290	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:38	2290	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861782 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:38	2290	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861782,6,'choisir la taille',3)
2023-10-13	13:02:38	2290	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:38	2290	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:38	2290	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:38	2290	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:38	2290	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861782 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:38	2290	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:38	2290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861782,8,1)
2023-10-13	13:02:38	2290	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:38	2290	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861782\":[1861782,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861782
2023-10-13	13:02:38	2290	[DEBUG]	Checking category
2023-10-13	13:02:38	2290	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:38	2290	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861782
2023-10-13	13:02:38	2290	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:38	2290	[DEBUG]	Executed store
2023-10-13	13:02:38	2290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861782','7341')
2023-10-13	13:02:38	2290	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:38	2290	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861782 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:02:38	2290	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:38	2290	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861782
2023-10-13	13:02:38	2291	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:38	2291	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:38	2291	[DEBUG]	Use field value for field taille
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:38	2291	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:38	2291	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:38	2291	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field file_url
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:38	2291	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:38	2291	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:38	2291	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:38	2291	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:38	2291	[DEBUG]	Use field value for field published
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:38	2291	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field override
2023-10-13	13:02:38	2291	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:38	2291	[DEBUG]	Use field value for field slug
2023-10-13	13:02:38	2291	[DEBUG]	Process line 2291
2023-10-13	13:02:38	2291	[DEBUG]	Load a row
2023-10-13	13:02:38	2291	[DEBUG]	Processing item: 4524667360094
2023-10-13	13:02:38	2291	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:38	2291	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:38	2291	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5210_208'
2023-10-13	13:02:38	2291	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:38	2291	[DEBUG]	Processing product tax
2023-10-13	13:02:38	2291	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:38	2291	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:38	2291	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:38	2291	[DEBUG]	Query for Product
2023-10-13	13:02:38	2291	[DEBUG]	Executed store
2023-10-13	13:02:38	2291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861782','4524667360094','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:38	2291	[DEBUG]	No parent found
2023-10-13	13:02:38	2291	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861782 AND customfield_value = 'stockable'
2023-10-13	13:02:38	2291	[DEBUG]	Check product language entry
2023-10-13	13:02:38	2291	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861783
2023-10-13	13:02:38	2291	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2291	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667360094' AND `virtuemart_product_id` != 1861783
2023-10-13	13:02:38	2291	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:38	2291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861783, '4524667360094')
2023-10-13	13:02:38	2291	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2291	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-manette-st-ef51-gauche-3-v-ez-fire-v-brake-2-d-argent-box-aucune-all' AND `virtuemart_product_id` != 1861783
2023-10-13	13:02:38	2291	[DEBUG]	Query for ProductLang
2023-10-13	13:02:38	2291	[DEBUG]	Executed store
2023-10-13	13:02:38	2291	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier/manette ST-EF51 gauche 3-v EZ-Fire V-Brake 2-d argent box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-manette-st-ef51-gauche-3-v-ez-fire-v-brake-2-d-argent-box-aucune-all' WHERE `virtuemart_product_id` = '1861783'
2023-10-13	13:02:38	2291	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:38	2291	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861783 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:38	2291	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:38	2291	[DEBUG]	Executed store
2023-10-13	13:02:38	2291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861783','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:38	2291	[DEBUG]	Checking manufacturer
2023-10-13	13:02:38	2291	[DEBUG]	Load a row
2023-10-13	13:02:38	2291	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:38	2291	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:02:38	2291	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:38	2291	[DEBUG]	Executed store
2023-10-13	13:02:38	2291	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:02:38	2291	[DEBUG]	Manufacturer exists
2023-10-13	13:02:38	2291	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:02:38	2291	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:38	2291	[DEBUG]	Executed store
2023-10-13	13:02:38	2291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861783','123')
2023-10-13	13:02:38	2291	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:38	2291	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:38	2291	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861783 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:38	2291	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861783,3,'',1)
2023-10-13	13:02:38	2291	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:38	2291	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:02:38	2291	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861783 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:38	2291	[DEBUG]	Store custom available field
2023-10-13	13:02:38	2291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861783,6,'All',3)
2023-10-13	13:02:38	2291	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:38	2291	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:38	2291	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861782
2023-10-13	13:02:38	2291	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:38	2291	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861782\":[1861782,8,1,\"choisir la taille\"],\"1861783\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861782
2023-10-13	13:02:38	2291	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:38	2291	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861783
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:38	2292	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field taille
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:38	2292	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:38	2292	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:38	2292	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:38	2292	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:38	2292	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:38	2292	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field published
2023-10-13	13:02:38	2292	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:38	2292	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field override
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:38	2292	[DEBUG]	Use field value for field slug
2023-10-13	13:02:38	2292	[DEBUG]	Process line 2292
2023-10-13	13:02:38	2292	[DEBUG]	Load a row
2023-10-13	13:02:38	2292	[DEBUG]	Processing item: A_5254_1
2023-10-13	13:02:38	2292	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:38	2292	[DEBUG]	Processing product tax
2023-10-13	13:02:38	2292	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:38	2292	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:38	2292	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:38	2292	[DEBUG]	Query for Product
2023-10-13	13:02:38	2292	[DEBUG]	Executed store
2023-10-13	13:02:38	2292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5254_1','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:38	2292	[DEBUG]	Check product language entry
2023-10-13	13:02:38	2292	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861784
2023-10-13	13:02:38	2292	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2292	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5254_1' AND `virtuemart_product_id` != 1861784
2023-10-13	13:02:38	2292	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:38	2292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861784, 'A_5254_1')
2023-10-13	13:02:38	2292	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:38	2292	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-freins-deore-bl-m6000-disque-droite-noir' AND `virtuemart_product_id` != 1861784
2023-10-13	13:02:38	2292	[DEBUG]	Query for ProductLang
2023-10-13	13:02:38	2292	[DEBUG]	Executed store
2023-10-13	13:02:38	2292	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 74.69353',`product_name`='SHIMANO LEVIER DE FREINS DEORE BL-M6000 disque droite / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-freins-deore-bl-m6000-disque-droite-noir' WHERE `virtuemart_product_id` = '1861784'
2023-10-13	13:02:38	2292	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_69352.jpg
2023-10-13	13:02:38	2292	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:02:38	2292	[DEBUG]	Process image file
2023-10-13	13:02:38	2292	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:02:38	2292	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:38	2292	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_69352.jpg
2023-10-13	13:02:38	2292	[DEBUG]	Full name target: bcprisme/74_69352.jpg
2023-10-13	13:02:39	2292	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:39	2292	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/74_69352.jpg'
2023-10-13	13:02:39	2292	[DEBUG]	Query for Media
2023-10-13	13:02:39	2292	[DEBUG]	Executed store
2023-10-13	13:02:39	2292	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/74_69352.jpg',`file_url_thumb`='bcprisme/74_69352.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436719'
2023-10-13	13:02:39	2292	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:39	2292	[DEBUG]	Executed store
2023-10-13	13:02:39	2292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861784','436719','1')
2023-10-13	13:02:39	2292	[DEBUG]	Store product image relation
2023-10-13	13:02:39	2292	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:39	2292	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861784 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:39	2292	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:39	2292	[DEBUG]	Executed store
2023-10-13	13:02:39	2292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861784','0','37.9758588672238','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:39	2292	[DEBUG]	Checking manufacturer
2023-10-13	13:02:39	2292	[DEBUG]	Load a row
2023-10-13	13:02:39	2292	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:39	2292	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:39	2292	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:39	2292	[DEBUG]	Executed store
2023-10-13	13:02:39	2292	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:39	2292	[DEBUG]	Manufacturer exists
2023-10-13	13:02:39	2292	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:39	2292	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:39	2292	[DEBUG]	Executed store
2023-10-13	13:02:39	2292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861784','26')
2023-10-13	13:02:39	2292	[DEBUG]	Find the custom field ID
2023-10-13	13:02:39	2292	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:39	2292	[DEBUG]	No custom field ID found
2023-10-13	13:02:39	2292	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:39	2292	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:39	2292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861784 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:39	2292	[DEBUG]	Store custom available field
2023-10-13	13:02:39	2292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861784,3,'0',1)
2023-10-13	13:02:39	2292	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:39	2292	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:39	2292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861784 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:39	2292	[DEBUG]	Store custom available field
2023-10-13	13:02:39	2292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861784,6,'choisir la taille',3)
2023-10-13	13:02:39	2292	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:39	2292	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:39	2292	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:39	2292	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:39	2292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861784 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:39	2292	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:39	2292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861784,8,1)
2023-10-13	13:02:39	2292	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:39	2292	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861784\":[1861784,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861784
2023-10-13	13:02:39	2292	[DEBUG]	Checking category
2023-10-13	13:02:39	2292	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:39	2292	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861784
2023-10-13	13:02:39	2292	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:39	2292	[DEBUG]	Executed store
2023-10-13	13:02:39	2292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861784','7341')
2023-10-13	13:02:39	2292	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:39	2292	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861784 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:02:39	2292	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:39	2292	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861784
2023-10-13	13:02:39	2293	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:39	2293	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:39	2293	[DEBUG]	Use field value for field taille
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:39	2293	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:39	2293	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:39	2293	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:39	2293	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:39	2293	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:39	2293	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:39	2293	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:39	2293	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:39	2293	[DEBUG]	Use field value for field published
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:39	2293	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field override
2023-10-13	13:02:39	2293	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:39	2293	[DEBUG]	Use field value for field slug
2023-10-13	13:02:39	2293	[DEBUG]	Process line 2293
2023-10-13	13:02:39	2293	[DEBUG]	Load a row
2023-10-13	13:02:39	2293	[DEBUG]	Processing item: 4524667413448
2023-10-13	13:02:39	2293	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:39	2293	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:39	2293	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5254_1'
2023-10-13	13:02:39	2293	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:39	2293	[DEBUG]	Processing product tax
2023-10-13	13:02:39	2293	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:39	2293	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:39	2293	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:39	2293	[DEBUG]	Query for Product
2023-10-13	13:02:39	2293	[DEBUG]	Executed store
2023-10-13	13:02:39	2293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861784','4524667413448','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:39	2293	[DEBUG]	No parent found
2023-10-13	13:02:39	2293	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861784 AND customfield_value = 'stockable'
2023-10-13	13:02:39	2293	[DEBUG]	Check product language entry
2023-10-13	13:02:39	2293	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861785
2023-10-13	13:02:39	2293	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:39	2293	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667413448' AND `virtuemart_product_id` != 1861785
2023-10-13	13:02:39	2293	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:39	2293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861785, '4524667413448')
2023-10-13	13:02:39	2293	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:39	2293	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-freins-deore-bl-m6000-disque-droite-noir-unitaire' AND `virtuemart_product_id` != 1861785
2023-10-13	13:02:39	2293	[DEBUG]	Query for ProductLang
2023-10-13	13:02:39	2293	[DEBUG]	Executed store
2023-10-13	13:02:39	2293	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO LEVIER DE FREINS DEORE BL-M6000 disque droite / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-freins-deore-bl-m6000-disque-droite-noir-unitaire' WHERE `virtuemart_product_id` = '1861785'
2023-10-13	13:02:39	2293	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_69352.jpg
2023-10-13	13:02:39	2293	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:02:39	2293	[DEBUG]	Process image file
2023-10-13	13:02:39	2293	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:02:39	2293	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:39	2293	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_69352.jpg
2023-10-13	13:02:39	2293	[DEBUG]	Full name target: bcprisme/74_69352.jpg
2023-10-13	13:02:40	2293	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:40	2293	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/74_69352.jpg'
2023-10-13	13:02:40	2293	[DEBUG]	Query for Media
2023-10-13	13:02:40	2293	[DEBUG]	Executed store
2023-10-13	13:02:40	2293	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/74_69352.jpg',`file_url_thumb`='bcprisme/74_69352.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436719'
2023-10-13	13:02:40	2293	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:40	2293	[DEBUG]	Executed store
2023-10-13	13:02:40	2293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861785','436719','1')
2023-10-13	13:02:40	2293	[DEBUG]	Store product image relation
2023-10-13	13:02:40	2293	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:40	2293	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861785 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:40	2293	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:40	2293	[DEBUG]	Executed store
2023-10-13	13:02:40	2293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861785','0','37.9758588672238','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:40	2293	[DEBUG]	Checking manufacturer
2023-10-13	13:02:40	2293	[DEBUG]	Load a row
2023-10-13	13:02:40	2293	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:40	2293	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:40	2293	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:40	2293	[DEBUG]	Executed store
2023-10-13	13:02:40	2293	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:40	2293	[DEBUG]	Manufacturer exists
2023-10-13	13:02:40	2293	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:40	2293	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:40	2293	[DEBUG]	Executed store
2023-10-13	13:02:40	2293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861785','26')
2023-10-13	13:02:40	2293	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:40	2293	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:40	2293	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861785 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:40	2293	[DEBUG]	Store custom available field
2023-10-13	13:02:40	2293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861785,3,'',1)
2023-10-13	13:02:40	2293	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:40	2293	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:40	2293	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861785 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:40	2293	[DEBUG]	Store custom available field
2023-10-13	13:02:40	2293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861785,6,'Unitaire',3)
2023-10-13	13:02:40	2293	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:40	2293	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:40	2293	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861784
2023-10-13	13:02:40	2293	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:40	2293	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861784\":[1861784,8,1,\"choisir la taille\"],\"1861785\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861784
2023-10-13	13:02:40	2293	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:40	2293	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861785
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:40	2294	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field taille
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:40	2294	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:40	2294	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:40	2294	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:40	2294	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:40	2294	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:40	2294	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field published
2023-10-13	13:02:40	2294	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:40	2294	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field override
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:40	2294	[DEBUG]	Use field value for field slug
2023-10-13	13:02:40	2294	[DEBUG]	Process line 2294
2023-10-13	13:02:40	2294	[DEBUG]	Load a row
2023-10-13	13:02:40	2294	[DEBUG]	Processing item: A_5266_1
2023-10-13	13:02:40	2294	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:40	2294	[DEBUG]	Processing product tax
2023-10-13	13:02:40	2294	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:40	2294	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:40	2294	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:40	2294	[DEBUG]	Query for Product
2023-10-13	13:02:40	2294	[DEBUG]	Executed store
2023-10-13	13:02:40	2294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5266_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:40	2294	[DEBUG]	Check product language entry
2023-10-13	13:02:40	2294	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861786
2023-10-13	13:02:40	2294	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:40	2294	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5266_1' AND `virtuemart_product_id` != 1861786
2023-10-13	13:02:40	2294	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:40	2294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861786, 'A_5266_1')
2023-10-13	13:02:40	2294	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:40	2294	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-level-tlm-rear-180mm-levier-alu-monoblock-noir-mat-noir' AND `virtuemart_product_id` != 1861786
2023-10-13	13:02:40	2294	[DEBUG]	Query for ProductLang
2023-10-13	13:02:40	2294	[DEBUG]	Executed store
2023-10-13	13:02:40	2294	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7538B',`product_name`='SRAM Level TLM Rear 180mm, Levier Alu Monoblock noir mat / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-level-tlm-rear-180mm-levier-alu-monoblock-noir-mat-noir' WHERE `virtuemart_product_id` = '1861786'
2023-10-13	13:02:40	2294	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29739_level_tlm_rear_180mm,_levier_alu_monoblock_noir_mat.jpg
2023-10-13	13:02:40	2294	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:02:40	2294	[DEBUG]	Process image file
2023-10-13	13:02:40	2294	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:02:40	2294	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:40	2294	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29739_level_tlm_rear_180mm,_levier_alu_monoblock_noir_mat.jpg
2023-10-13	13:02:40	2294	[DEBUG]	Full name target: bcprisme/29739_level_tlm_rear_180mm,_levier_alu_monoblock_noir_mat.jpg
2023-10-13	13:02:41	2294	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:41	2294	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29739_level_tlm_rear_180mm,_levier_alu_monoblock_noir_mat.jpg'
2023-10-13	13:02:41	2294	[DEBUG]	Query for Media
2023-10-13	13:02:41	2294	[DEBUG]	Executed store
2023-10-13	13:02:41	2294	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29739_level_tlm_rear_180mm,_levier_alu_monoblock_noir_mat.jpg',`file_url_thumb`='bcprisme/29739_level_tlm_rear_180mm,_levier_alu_monoblock_noir_mat.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627230'
2023-10-13	13:02:41	2294	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:41	2294	[DEBUG]	Executed store
2023-10-13	13:02:41	2294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861786','1627230','1')
2023-10-13	13:02:41	2294	[DEBUG]	Store product image relation
2023-10-13	13:02:41	2294	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:41	2294	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861786 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:41	2294	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:41	2294	[DEBUG]	Executed store
2023-10-13	13:02:41	2294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861786','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:41	2294	[DEBUG]	Checking manufacturer
2023-10-13	13:02:41	2294	[DEBUG]	Load a row
2023-10-13	13:02:41	2294	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:41	2294	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:41	2294	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:41	2294	[DEBUG]	Executed store
2023-10-13	13:02:41	2294	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:41	2294	[DEBUG]	Manufacturer exists
2023-10-13	13:02:41	2294	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:02:41	2294	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:41	2294	[DEBUG]	Executed store
2023-10-13	13:02:41	2294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861786','35')
2023-10-13	13:02:41	2294	[DEBUG]	Find the custom field ID
2023-10-13	13:02:41	2294	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:41	2294	[DEBUG]	No custom field ID found
2023-10-13	13:02:41	2294	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:41	2294	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:41	2294	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861786 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:41	2294	[DEBUG]	Store custom available field
2023-10-13	13:02:41	2294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861786,3,'0',1)
2023-10-13	13:02:41	2294	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:41	2294	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:41	2294	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861786 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:41	2294	[DEBUG]	Store custom available field
2023-10-13	13:02:41	2294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861786,6,'choisir la taille',3)
2023-10-13	13:02:41	2294	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:41	2294	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:41	2294	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:41	2294	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:41	2294	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861786 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:41	2294	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:41	2294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861786,8,1)
2023-10-13	13:02:41	2294	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:41	2294	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861786\":[1861786,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861786
2023-10-13	13:02:41	2294	[DEBUG]	Checking category
2023-10-13	13:02:41	2294	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:41	2294	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861786
2023-10-13	13:02:41	2294	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:41	2294	[DEBUG]	Executed store
2023-10-13	13:02:41	2294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861786','7341')
2023-10-13	13:02:41	2294	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:41	2294	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861786 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:02:41	2294	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:41	2294	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861786
2023-10-13	13:02:41	2295	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:41	2295	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:41	2295	[DEBUG]	Use field value for field taille
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:41	2295	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:41	2295	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:41	2295	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:41	2295	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:41	2295	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:41	2295	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:41	2295	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:41	2295	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:41	2295	[DEBUG]	Use field value for field published
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:41	2295	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field override
2023-10-13	13:02:41	2295	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:41	2295	[DEBUG]	Use field value for field slug
2023-10-13	13:02:41	2295	[DEBUG]	Process line 2295
2023-10-13	13:02:41	2295	[DEBUG]	Load a row
2023-10-13	13:02:41	2295	[DEBUG]	Processing item: 710845799105
2023-10-13	13:02:41	2295	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:41	2295	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:41	2295	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5266_1'
2023-10-13	13:02:41	2295	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:41	2295	[DEBUG]	Processing product tax
2023-10-13	13:02:41	2295	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:41	2295	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:41	2295	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:41	2295	[DEBUG]	Query for Product
2023-10-13	13:02:41	2295	[DEBUG]	Executed store
2023-10-13	13:02:41	2295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861786','710845799105','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:41	2295	[DEBUG]	No parent found
2023-10-13	13:02:41	2295	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861786 AND customfield_value = 'stockable'
2023-10-13	13:02:41	2295	[DEBUG]	Check product language entry
2023-10-13	13:02:41	2295	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861787
2023-10-13	13:02:41	2295	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:41	2295	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845799105' AND `virtuemart_product_id` != 1861787
2023-10-13	13:02:41	2295	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:41	2295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861787, '710845799105')
2023-10-13	13:02:41	2295	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:41	2295	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-level-tlm-rear-180mm-levier-alu-monoblock-noir-mat-noir-unitaire' AND `virtuemart_product_id` != 1861787
2023-10-13	13:02:41	2295	[DEBUG]	Query for ProductLang
2023-10-13	13:02:41	2295	[DEBUG]	Executed store
2023-10-13	13:02:41	2295	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Level TLM Rear 180mm, Levier Alu Monoblock noir mat / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-level-tlm-rear-180mm-levier-alu-monoblock-noir-mat-noir-unitaire' WHERE `virtuemart_product_id` = '1861787'
2023-10-13	13:02:41	2295	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29739_level_tlm_rear_180mm,_levier_alu_monoblock_noir_mat.jpg
2023-10-13	13:02:41	2295	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:02:41	2295	[DEBUG]	Process image file
2023-10-13	13:02:41	2295	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:02:41	2295	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:41	2295	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29739_level_tlm_rear_180mm,_levier_alu_monoblock_noir_mat.jpg
2023-10-13	13:02:41	2295	[DEBUG]	Full name target: bcprisme/29739_level_tlm_rear_180mm,_levier_alu_monoblock_noir_mat.jpg
2023-10-13	13:02:42	2295	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:42	2295	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29739_level_tlm_rear_180mm,_levier_alu_monoblock_noir_mat.jpg'
2023-10-13	13:02:42	2295	[DEBUG]	Query for Media
2023-10-13	13:02:42	2295	[DEBUG]	Executed store
2023-10-13	13:02:42	2295	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29739_level_tlm_rear_180mm,_levier_alu_monoblock_noir_mat.jpg',`file_url_thumb`='bcprisme/29739_level_tlm_rear_180mm,_levier_alu_monoblock_noir_mat.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627230'
2023-10-13	13:02:42	2295	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:42	2295	[DEBUG]	Executed store
2023-10-13	13:02:42	2295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861787','1627230','1')
2023-10-13	13:02:42	2295	[DEBUG]	Store product image relation
2023-10-13	13:02:42	2295	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:42	2295	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861787 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:42	2295	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:42	2295	[DEBUG]	Executed store
2023-10-13	13:02:42	2295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861787','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:42	2295	[DEBUG]	Checking manufacturer
2023-10-13	13:02:42	2295	[DEBUG]	Load a row
2023-10-13	13:02:42	2295	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:42	2295	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:42	2295	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:42	2295	[DEBUG]	Executed store
2023-10-13	13:02:42	2295	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:42	2295	[DEBUG]	Manufacturer exists
2023-10-13	13:02:42	2295	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:02:42	2295	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:42	2295	[DEBUG]	Executed store
2023-10-13	13:02:42	2295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861787','35')
2023-10-13	13:02:42	2295	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:42	2295	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:42	2295	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861787 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:42	2295	[DEBUG]	Store custom available field
2023-10-13	13:02:42	2295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861787,3,'',1)
2023-10-13	13:02:42	2295	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:42	2295	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:42	2295	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861787 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:42	2295	[DEBUG]	Store custom available field
2023-10-13	13:02:42	2295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861787,6,'Unitaire',3)
2023-10-13	13:02:42	2295	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:42	2295	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:42	2295	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861786
2023-10-13	13:02:42	2295	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:42	2295	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861786\":[1861786,8,1,\"choisir la taille\"],\"1861787\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861786
2023-10-13	13:02:42	2295	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:42	2295	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861787
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:42	2296	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field taille
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:42	2296	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:42	2296	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:42	2296	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:42	2296	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:42	2296	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:42	2296	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:42	2296	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field published
2023-10-13	13:02:42	2296	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:42	2296	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field override
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:42	2296	[DEBUG]	Use field value for field slug
2023-10-13	13:02:42	2296	[DEBUG]	Process line 2296
2023-10-13	13:02:42	2296	[DEBUG]	Load a row
2023-10-13	13:02:43	2296	[DEBUG]	Processing item: A_5267_1
2023-10-13	13:02:43	2296	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:43	2296	[DEBUG]	Processing product tax
2023-10-13	13:02:43	2296	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:43	2296	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:43	2296	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:43	2296	[DEBUG]	Query for Product
2023-10-13	13:02:43	2296	[DEBUG]	Executed store
2023-10-13	13:02:43	2296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5267_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:43	2296	[DEBUG]	Check product language entry
2023-10-13	13:02:43	2296	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861788
2023-10-13	13:02:43	2296	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:43	2296	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5267_1' AND `virtuemart_product_id` != 1861788
2023-10-13	13:02:43	2296	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:43	2296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861788, 'A_5267_1')
2023-10-13	13:02:43	2296	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:43	2296	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-level-tlm-front-950mm-levier-alu-monoblock-noir-mat-noir' AND `virtuemart_product_id` != 1861788
2023-10-13	13:02:43	2296	[DEBUG]	Query for ProductLang
2023-10-13	13:02:43	2296	[DEBUG]	Executed store
2023-10-13	13:02:43	2296	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7538A',`product_name`='SRAM Level TLM Front 950mm, Levier Alu Monoblock noir mat / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-level-tlm-front-950mm-levier-alu-monoblock-noir-mat-noir' WHERE `virtuemart_product_id` = '1861788'
2023-10-13	13:02:43	2296	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29740_level_tlm_front_950mm,_levier_alu_monoblock_noir_mat.jpg has not been found.
2023-10-13	13:02:43	2296	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:43	2296	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861788 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:43	2296	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:43	2296	[DEBUG]	Executed store
2023-10-13	13:02:43	2296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861788','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:43	2296	[DEBUG]	Checking manufacturer
2023-10-13	13:02:43	2296	[DEBUG]	Load a row
2023-10-13	13:02:43	2296	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:43	2296	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:43	2296	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:43	2296	[DEBUG]	Executed store
2023-10-13	13:02:43	2296	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:43	2296	[DEBUG]	Manufacturer exists
2023-10-13	13:02:43	2296	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:02:43	2296	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:43	2296	[DEBUG]	Executed store
2023-10-13	13:02:43	2296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861788','35')
2023-10-13	13:02:43	2296	[DEBUG]	Find the custom field ID
2023-10-13	13:02:43	2296	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:43	2296	[DEBUG]	No custom field ID found
2023-10-13	13:02:43	2296	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:43	2296	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:43	2296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861788 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:43	2296	[DEBUG]	Store custom available field
2023-10-13	13:02:43	2296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861788,3,'0',1)
2023-10-13	13:02:43	2296	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:43	2296	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:43	2296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861788 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:43	2296	[DEBUG]	Store custom available field
2023-10-13	13:02:43	2296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861788,6,'choisir la taille',3)
2023-10-13	13:02:43	2296	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:43	2296	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:43	2296	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:43	2296	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:43	2296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861788 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:43	2296	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:43	2296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861788,8,1)
2023-10-13	13:02:43	2296	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:43	2296	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861788\":[1861788,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861788
2023-10-13	13:02:43	2296	[DEBUG]	Checking category
2023-10-13	13:02:43	2296	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:43	2296	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861788
2023-10-13	13:02:43	2296	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:43	2296	[DEBUG]	Executed store
2023-10-13	13:02:43	2296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861788','7341')
2023-10-13	13:02:43	2296	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:43	2296	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861788 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:02:43	2296	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:43	2296	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861788
2023-10-13	13:02:43	2297	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:43	2297	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:43	2297	[DEBUG]	Use field value for field taille
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:43	2297	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:43	2297	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:43	2297	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:43	2297	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:43	2297	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:43	2297	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:43	2297	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:43	2297	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:43	2297	[DEBUG]	Use field value for field published
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:43	2297	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field override
2023-10-13	13:02:43	2297	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:43	2297	[DEBUG]	Use field value for field slug
2023-10-13	13:02:43	2297	[DEBUG]	Process line 2297
2023-10-13	13:02:43	2297	[DEBUG]	Load a row
2023-10-13	13:02:43	2297	[DEBUG]	Processing item: 710845799099
2023-10-13	13:02:43	2297	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:43	2297	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:43	2297	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5267_1'
2023-10-13	13:02:43	2297	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:43	2297	[DEBUG]	Processing product tax
2023-10-13	13:02:43	2297	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:43	2297	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:43	2297	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:43	2297	[DEBUG]	Query for Product
2023-10-13	13:02:43	2297	[DEBUG]	Executed store
2023-10-13	13:02:43	2297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861788','710845799099','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:43	2297	[DEBUG]	No parent found
2023-10-13	13:02:43	2297	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861788 AND customfield_value = 'stockable'
2023-10-13	13:02:43	2297	[DEBUG]	Check product language entry
2023-10-13	13:02:43	2297	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861789
2023-10-13	13:02:43	2297	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:43	2297	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845799099' AND `virtuemart_product_id` != 1861789
2023-10-13	13:02:43	2297	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:43	2297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861789, '710845799099')
2023-10-13	13:02:43	2297	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:43	2297	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-level-tlm-front-950mm-levier-alu-monoblock-noir-mat-noir-unitaire' AND `virtuemart_product_id` != 1861789
2023-10-13	13:02:43	2297	[DEBUG]	Query for ProductLang
2023-10-13	13:02:43	2297	[DEBUG]	Executed store
2023-10-13	13:02:43	2297	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Level TLM Front 950mm, Levier Alu Monoblock noir mat / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-level-tlm-front-950mm-levier-alu-monoblock-noir-mat-noir-unitaire' WHERE `virtuemart_product_id` = '1861789'
2023-10-13	13:02:43	2297	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29740_level_tlm_front_950mm,_levier_alu_monoblock_noir_mat.jpg has not been found.
2023-10-13	13:02:43	2297	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:43	2297	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861789 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:43	2297	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:43	2297	[DEBUG]	Executed store
2023-10-13	13:02:43	2297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861789','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:43	2297	[DEBUG]	Checking manufacturer
2023-10-13	13:02:43	2297	[DEBUG]	Load a row
2023-10-13	13:02:43	2297	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:43	2297	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:43	2297	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:43	2297	[DEBUG]	Executed store
2023-10-13	13:02:43	2297	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:02:43	2297	[DEBUG]	Manufacturer exists
2023-10-13	13:02:43	2297	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:02:43	2297	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:43	2297	[DEBUG]	Executed store
2023-10-13	13:02:43	2297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861789','35')
2023-10-13	13:02:43	2297	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:43	2297	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:43	2297	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861789 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:43	2297	[DEBUG]	Store custom available field
2023-10-13	13:02:43	2297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861789,3,'',1)
2023-10-13	13:02:43	2297	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:43	2297	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:02:43	2297	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861789 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:43	2297	[DEBUG]	Store custom available field
2023-10-13	13:02:43	2297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861789,6,'Unitaire',3)
2023-10-13	13:02:43	2297	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:43	2297	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:43	2297	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861788
2023-10-13	13:02:43	2297	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:43	2297	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861788\":[1861788,8,1,\"choisir la taille\"],\"1861789\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861788
2023-10-13	13:02:43	2297	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:43	2297	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861789
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:43	2298	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field taille
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:43	2298	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:43	2298	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:43	2298	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:43	2298	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:43	2298	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:43	2298	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field published
2023-10-13	13:02:43	2298	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:43	2298	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field override
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:43	2298	[DEBUG]	Use field value for field slug
2023-10-13	13:02:43	2298	[DEBUG]	Process line 2298
2023-10-13	13:02:43	2298	[DEBUG]	Load a row
2023-10-13	13:02:43	2298	[DEBUG]	Processing item: A_5429_208
2023-10-13	13:02:43	2298	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:43	2298	[DEBUG]	Processing product tax
2023-10-13	13:02:43	2298	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:43	2298	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:43	2298	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:43	2298	[DEBUG]	Query for Product
2023-10-13	13:02:43	2298	[DEBUG]	Executed store
2023-10-13	13:02:43	2298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5429_208','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:43	2298	[DEBUG]	Check product language entry
2023-10-13	13:02:43	2298	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861790
2023-10-13	13:02:43	2298	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:43	2298	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5429_208' AND `virtuemart_product_id` != 1861790
2023-10-13	13:02:43	2298	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:43	2298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861790, 'A_5429_208')
2023-10-13	13:02:43	2298	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:43	2298	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-manette-st-m370-gauche-3-v-rf-fire-v-brake-2-d-argent-box-aucune' AND `virtuemart_product_id` != 1861790
2023-10-13	13:02:43	2298	[DEBUG]	Query for ProductLang
2023-10-13	13:02:43	2298	[DEBUG]	Executed store
2023-10-13	13:02:43	2298	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 69.58277',`product_name`='SHIMANO Levier/manette ST-M370 gauche 3-v RF-Fire V-Brake 2-d argent box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-manette-st-m370-gauche-3-v-rf-fire-v-brake-2-d-argent-box-aucune' WHERE `virtuemart_product_id` = '1861790'
2023-10-13	13:02:43	2298	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29917_shimano_levier-manette_st-m370_gauche_3-v_rf-fire_v-brake_2-d_argent_box.jpg has not been found.
2023-10-13	13:02:43	2298	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:43	2298	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861790 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:43	2298	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:43	2298	[DEBUG]	Executed store
2023-10-13	13:02:43	2298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861790','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:43	2298	[DEBUG]	Checking manufacturer
2023-10-13	13:02:43	2298	[DEBUG]	Load a row
2023-10-13	13:02:43	2298	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:43	2298	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:43	2298	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:43	2298	[DEBUG]	Executed store
2023-10-13	13:02:43	2298	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:43	2298	[DEBUG]	Manufacturer exists
2023-10-13	13:02:43	2298	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:43	2298	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:43	2298	[DEBUG]	Executed store
2023-10-13	13:02:43	2298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861790','26')
2023-10-13	13:02:43	2298	[DEBUG]	Find the custom field ID
2023-10-13	13:02:43	2298	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:43	2298	[DEBUG]	No custom field ID found
2023-10-13	13:02:43	2298	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:43	2298	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:43	2298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861790 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:43	2298	[DEBUG]	Store custom available field
2023-10-13	13:02:43	2298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861790,3,'0',1)
2023-10-13	13:02:43	2298	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:43	2298	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:43	2298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861790 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:43	2298	[DEBUG]	Store custom available field
2023-10-13	13:02:43	2298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861790,6,'choisir la taille',3)
2023-10-13	13:02:43	2298	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:43	2298	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:43	2298	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:43	2298	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:43	2298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861790 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:43	2298	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:43	2298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861790,8,1)
2023-10-13	13:02:43	2298	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:43	2298	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861790\":[1861790,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861790
2023-10-13	13:02:43	2298	[DEBUG]	Checking category
2023-10-13	13:02:43	2298	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:43	2298	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861790
2023-10-13	13:02:43	2298	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:43	2298	[DEBUG]	Executed store
2023-10-13	13:02:43	2298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861790','7341')
2023-10-13	13:02:43	2298	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:43	2298	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861790 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:02:43	2298	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:43	2298	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861790
2023-10-13	13:02:43	2299	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:43	2299	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:02:43	2299	[DEBUG]	Use field value for field taille
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:02:43	2299	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field category_path
2023-10-13	13:02:43	2299	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:43	2299	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:43	2299	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:43	2299	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:02:43	2299	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field product_weight
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:43	2299	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:43	2299	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:43	2299	[DEBUG]	Use field value for field published
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field custom_title
2023-10-13	13:02:43	2299	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field custom_param
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field override
2023-10-13	13:02:43	2299	[DEBUG]	Use default value for field public_price
2023-10-13	13:02:43	2299	[DEBUG]	Use field value for field slug
2023-10-13	13:02:43	2299	[DEBUG]	Process line 2299
2023-10-13	13:02:43	2299	[DEBUG]	Load a row
2023-10-13	13:02:43	2299	[DEBUG]	Processing item: 4524667337683
2023-10-13	13:02:43	2299	[DEBUG]	Looking for parent SKU
2023-10-13	13:02:43	2299	[DEBUG]	Checking product parent SKU
2023-10-13	13:02:43	2299	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5429_208'
2023-10-13	13:02:43	2299	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:43	2299	[DEBUG]	Processing product tax
2023-10-13	13:02:43	2299	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:43	2299	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:43	2299	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:43	2299	[DEBUG]	Query for Product
2023-10-13	13:02:43	2299	[DEBUG]	Executed store
2023-10-13	13:02:43	2299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861790','4524667337683','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:43	2299	[DEBUG]	No parent found
2023-10-13	13:02:43	2299	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861790 AND customfield_value = 'stockable'
2023-10-13	13:02:43	2299	[DEBUG]	Check product language entry
2023-10-13	13:02:43	2299	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861791
2023-10-13	13:02:43	2299	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:43	2299	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667337683' AND `virtuemart_product_id` != 1861791
2023-10-13	13:02:43	2299	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:43	2299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861791, '4524667337683')
2023-10-13	13:02:43	2299	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:43	2299	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-manette-st-m370-gauche-3-v-rf-fire-v-brake-2-d-argent-box-aucune-all' AND `virtuemart_product_id` != 1861791
2023-10-13	13:02:43	2299	[DEBUG]	Query for ProductLang
2023-10-13	13:02:43	2299	[DEBUG]	Executed store
2023-10-13	13:02:43	2299	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier/manette ST-M370 gauche 3-v RF-Fire V-Brake 2-d argent box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-manette-st-m370-gauche-3-v-rf-fire-v-brake-2-d-argent-box-aucune-all' WHERE `virtuemart_product_id` = '1861791'
2023-10-13	13:02:43	2299	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29917_shimano_levier-manette_st-m370_gauche_3-v_rf-fire_v-brake_2-d_argent_box.jpg has not been found.
2023-10-13	13:02:43	2299	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:43	2299	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861791 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:43	2299	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:43	2299	[DEBUG]	Executed store
2023-10-13	13:02:43	2299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861791','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:43	2299	[DEBUG]	Checking manufacturer
2023-10-13	13:02:43	2299	[DEBUG]	Load a row
2023-10-13	13:02:43	2299	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:43	2299	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:43	2299	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:43	2299	[DEBUG]	Executed store
2023-10-13	13:02:43	2299	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:43	2299	[DEBUG]	Manufacturer exists
2023-10-13	13:02:43	2299	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:43	2299	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:43	2299	[DEBUG]	Executed store
2023-10-13	13:02:43	2299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861791','26')
2023-10-13	13:02:43	2299	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:43	2299	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:02:43	2299	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861791 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:43	2299	[DEBUG]	Store custom available field
2023-10-13	13:02:43	2299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861791,3,'',1)
2023-10-13	13:02:43	2299	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:43	2299	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:02:43	2299	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861791 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:43	2299	[DEBUG]	Store custom available field
2023-10-13	13:02:43	2299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861791,6,'All',3)
2023-10-13	13:02:43	2299	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:43	2299	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:02:43	2299	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861790
2023-10-13	13:02:43	2299	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:43	2299	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861790\":[1861790,8,1,\"choisir la taille\"],\"1861791\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861790
2023-10-13	13:02:43	2299	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:43	2299	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861791
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field product_sku
2023-10-13	13:02:43	2300	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field taille
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field product_name
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field category_path
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field product_price
2023-10-13	13:02:43	2300	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field product_tax
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field file_url
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:02:43	2300	[DEBUG]	Use default value for field product_desc
2023-10-13	13:02:43	2300	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field product_availability
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field product_weight
2023-10-13	13:02:43	2300	[DEBUG]	Use default value for field product_unit
2023-10-13	13:02:43	2300	[DEBUG]	Use default value for field related_products
2023-10-13	13:02:43	2300	[DEBUG]	Use default value for field product_special
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field published
2023-10-13	13:02:43	2300	[DEBUG]	Use default value for field metadesc
2023-10-13	13:02:43	2300	[DEBUG]	Use default value for field metakey
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field custom_title
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field custom_value
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field custom_param
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field override
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field public_price
2023-10-13	13:02:43	2300	[DEBUG]	Use field value for field slug
2023-10-13	13:02:43	2300	[DEBUG]	Process line 2300
2023-10-13	13:02:43	2300	[DEBUG]	Load a row
2023-10-13	13:02:43	2300	[DEBUG]	Processing item: A_5430_4
2023-10-13	13:02:43	2300	[DEBUG]	Product tax: 7.7
2023-10-13	13:02:43	2300	[DEBUG]	Processing product tax
2023-10-13	13:02:43	2300	[DEBUG]	Check if calculation rule exists
2023-10-13	13:02:43	2300	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:02:43	2300	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:02:43	2300	[DEBUG]	Query for Product
2023-10-13	13:02:43	2300	[DEBUG]	Executed store
2023-10-13	13:02:43	2300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5430_4','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0')
2023-10-13	13:02:43	2300	[DEBUG]	Check product language entry
2023-10-13	13:02:43	2300	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861792
2023-10-13	13:02:43	2300	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:43	2300	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5430_4' AND `virtuemart_product_id` != 1861792
2023-10-13	13:02:43	2300	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:02:43	2300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861792, 'A_5430_4')
2023-10-13	13:02:43	2300	[DEBUG]	Check if the product slug exists
2023-10-13	13:02:43	2300	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-manette-st-m370-droite-9-v-rf-fire-v-brake-2-d-argent-box-acier' AND `virtuemart_product_id` != 1861792
2023-10-13	13:02:43	2300	[DEBUG]	Query for ProductLang
2023-10-13	13:02:43	2300	[DEBUG]	Executed store
2023-10-13	13:02:43	2300	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 69.58279',`product_name`='SHIMANO Levier/manette ST-M370 droite 9-v RF-Fire V-Brake 2-d argent box  / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-manette-st-m370-droite-9-v-rf-fire-v-brake-2-d-argent-box-acier' WHERE `virtuemart_product_id` = '1861792'
2023-10-13	13:02:43	2300	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29918_shimano_levier-manette_st-m370_droite_9-v_rf-fire_v-brake_2-d_argent_box_.jpg
2023-10-13	13:02:43	2300	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:02:43	2300	[DEBUG]	Process image file
2023-10-13	13:02:43	2300	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:02:43	2300	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:02:43	2300	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29918_shimano_levier-manette_st-m370_droite_9-v_rf-fire_v-brake_2-d_argent_box_.jpg
2023-10-13	13:02:43	2300	[DEBUG]	Full name target: bcprisme/29918_shimano_levier-manette_st-m370_droite_9-v_rf-fire_v-brake_2-d_argent_box_.jpg
2023-10-13	13:02:44	2300	[DEBUG]	Checking if the file_url exists
2023-10-13	13:02:44	2300	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29918_shimano_levier-manette_st-m370_droite_9-v_rf-fire_v-brake_2-d_argent_box_.jpg'
2023-10-13	13:02:44	2300	[DEBUG]	Query for Media
2023-10-13	13:02:44	2300	[DEBUG]	Executed store
2023-10-13	13:02:44	2300	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29918_shimano_levier-manette_st-m370_droite_9-v_rf-fire_v-brake_2-d_argent_box_.jpg',`file_url_thumb`='bcprisme/29918_shimano_levier-manette_st-m370_droite_9-v_rf-fire_v-brake_2-d_argent_box_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627231'
2023-10-13	13:02:44	2300	[DEBUG]	Query for ProductMedia
2023-10-13	13:02:44	2300	[DEBUG]	Executed store
2023-10-13	13:02:44	2300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861792','1627231','1')
2023-10-13	13:02:44	2300	[DEBUG]	Store product image relation
2023-10-13	13:02:44	2300	[DEBUG]	Finding a product_price_id
2023-10-13	13:02:44	2300	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861792 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:02:44	2300	[DEBUG]	Query for ProductPrice
2023-10-13	13:02:44	2300	[DEBUG]	Executed store
2023-10-13	13:02:44	2300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861792','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:01:12','1593','2023-10-13 13:01:12','1593','0000-00-00 00:00:00','0')
2023-10-13	13:02:44	2300	[DEBUG]	Checking manufacturer
2023-10-13	13:02:44	2300	[DEBUG]	Load a row
2023-10-13	13:02:44	2300	[DEBUG]	Manufacturer already exists
2023-10-13	13:02:44	2300	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:44	2300	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:02:44	2300	[DEBUG]	Executed store
2023-10-13	13:02:44	2300	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:02:44	2300	[DEBUG]	Manufacturer exists
2023-10-13	13:02:44	2300	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:02:44	2300	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:02:44	2300	[DEBUG]	Executed store
2023-10-13	13:02:44	2300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861792','26')
2023-10-13	13:02:44	2300	[DEBUG]	Find the custom field ID
2023-10-13	13:02:44	2300	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:02:44	2300	[DEBUG]	No custom field ID found
2023-10-13	13:02:44	2300	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:02:44	2300	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:02:44	2300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861792 AND `virtuemart_custom_id` = 3
2023-10-13	13:02:44	2300	[DEBUG]	Store custom available field
2023-10-13	13:02:44	2300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861792,3,'0',1)
2023-10-13	13:02:44	2300	[DEBUG]	Processing custom available field: taille
2023-10-13	13:02:44	2300	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:02:44	2300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861792 AND `virtuemart_custom_id` = 6
2023-10-13	13:02:44	2300	[DEBUG]	Store custom available field
2023-10-13	13:02:44	2300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861792,6,'choisir la taille',3)
2023-10-13	13:02:44	2300	[DEBUG]	Process multi-variant fields
2023-10-13	13:02:44	2300	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:02:44	2300	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:02:44	2300	[DEBUG]	Find the multi variant product entry
2023-10-13	13:02:44	2300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861792 AND `virtuemart_custom_id` = 8
2023-10-13	13:02:44	2300	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:02:44	2300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861792,8,1)
2023-10-13	13:02:44	2300	[DEBUG]	Store the updated customfield_params
2023-10-13	13:02:44	2300	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861792\":[1861792,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861792
2023-10-13	13:02:44	2300	[DEBUG]	Checking category
2023-10-13	13:02:44	2300	[DEBUG]	Get the existing categories for the product
2023-10-13	13:02:44	2300	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861792
2023-10-13	13:02:44	2300	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:02:44	2300	[DEBUG]	Executed store
2023-10-13	13:02:44	2300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861792','7341')
2023-10-13	13:02:44	2300	[DEBUG]	Delete leftover product categories
2023-10-13	13:02:44	2300	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861792 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:02:44	2300	[DEBUG]	Update has fields after all processing
2023-10-13	13:02:44	2300	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861792
2023-10-13	13:03:04	2300	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:03:04	2300	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:03:04	2300	[DEBUG]	Load the fields to process
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: product_sku
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: taille
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: product_name
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: category_path
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: product_price
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: product_override_price
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: product_tax
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: file_url
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: product_desc
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: product_availability
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: product_weight
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: product_unit
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: related_products
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: product_special
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: published
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: metadesc
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: metakey
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: custom_title
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: custom_value
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: custom_param
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: override
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: public_price
2023-10-13	13:03:04	2300	[DEBUG]	Setup field: slug
2023-10-13	13:03:04	2300	[DEBUG]	Use the file for configuration
2023-10-13	13:03:04	2300	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:03:04	2300	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:03:04	2300	[DEBUG]	Load the custom fields
2023-10-13	13:03:04	2300	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:03:04	2300	[DEBUG]	Load stockable custom fields
2023-10-13	13:03:04	2300	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:03:04	2300	[DEBUG]	Load custom fields for all
2023-10-13	13:03:04	2300	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:03:04	2301	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:04	2301	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:04	2301	[DEBUG]	Use field value for field taille
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:04	2301	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:04	2301	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:04	2301	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:04	2301	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:04	2301	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:04	2301	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:04	2301	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:04	2301	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:04	2301	[DEBUG]	Use field value for field published
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:04	2301	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field override
2023-10-13	13:03:04	2301	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:04	2301	[DEBUG]	Use field value for field slug
2023-10-13	13:03:04	2301	[DEBUG]	Process line 2301
2023-10-13	13:03:04	2301	[DEBUG]	Check if the vendor exists
2023-10-13	13:03:04	2301	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '4524667338116'
2023-10-13	13:03:04	2301	[DEBUG]	Load a row
2023-10-13	13:03:04	2301	[DEBUG]	Processing item: 4524667338116
2023-10-13	13:03:04	2301	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:04	2301	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:04	2301	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5430_4'
2023-10-13	13:03:04	2301	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:04	2301	[DEBUG]	Processing product tax
2023-10-13	13:03:04	2301	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:04	2301	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:04	2301	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:04	2301	[DEBUG]	Query for Product
2023-10-13	13:03:04	2301	[DEBUG]	Executed store
2023-10-13	13:03:04	2301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861792','4524667338116','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:04	2301	[DEBUG]	No parent found
2023-10-13	13:03:04	2301	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861792 AND customfield_value = 'stockable'
2023-10-13	13:03:04	2301	[DEBUG]	Check product language entry
2023-10-13	13:03:04	2301	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861793
2023-10-13	13:03:04	2301	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:04	2301	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667338116' AND `virtuemart_product_id` != 1861793
2023-10-13	13:03:04	2301	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:04	2301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861793, '4524667338116')
2023-10-13	13:03:04	2301	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:04	2301	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-manette-st-m370-droite-9-v-rf-fire-v-brake-2-d-argent-box-acier-all' AND `virtuemart_product_id` != 1861793
2023-10-13	13:03:04	2301	[DEBUG]	Query for ProductLang
2023-10-13	13:03:04	2301	[DEBUG]	Executed store
2023-10-13	13:03:04	2301	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier/manette ST-M370 droite 9-v RF-Fire V-Brake 2-d argent box  / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-manette-st-m370-droite-9-v-rf-fire-v-brake-2-d-argent-box-acier-all' WHERE `virtuemart_product_id` = '1861793'
2023-10-13	13:03:04	2301	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29918_shimano_levier-manette_st-m370_droite_9-v_rf-fire_v-brake_2-d_argent_box_.jpg
2023-10-13	13:03:04	2301	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:04	2301	[DEBUG]	Process image file
2023-10-13	13:03:04	2301	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:04	2301	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:04	2301	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29918_shimano_levier-manette_st-m370_droite_9-v_rf-fire_v-brake_2-d_argent_box_.jpg
2023-10-13	13:03:04	2301	[DEBUG]	Full name target: bcprisme/29918_shimano_levier-manette_st-m370_droite_9-v_rf-fire_v-brake_2-d_argent_box_.jpg
2023-10-13	13:03:05	2301	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:05	2301	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29918_shimano_levier-manette_st-m370_droite_9-v_rf-fire_v-brake_2-d_argent_box_.jpg'
2023-10-13	13:03:05	2301	[DEBUG]	Query for Media
2023-10-13	13:03:05	2301	[DEBUG]	Executed store
2023-10-13	13:03:05	2301	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29918_shimano_levier-manette_st-m370_droite_9-v_rf-fire_v-brake_2-d_argent_box_.jpg',`file_url_thumb`='bcprisme/29918_shimano_levier-manette_st-m370_droite_9-v_rf-fire_v-brake_2-d_argent_box_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627231'
2023-10-13	13:03:05	2301	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:05	2301	[DEBUG]	Executed store
2023-10-13	13:03:05	2301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861793','1627231','1')
2023-10-13	13:03:05	2301	[DEBUG]	Store product image relation
2023-10-13	13:03:05	2301	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:05	2301	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861793 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:05	2301	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:05	2301	[DEBUG]	Executed store
2023-10-13	13:03:05	2301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861793','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:05	2301	[DEBUG]	Checking manufacturer
2023-10-13	13:03:05	2301	[DEBUG]	Load a row
2023-10-13	13:03:05	2301	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:05	2301	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:05	2301	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:05	2301	[DEBUG]	Executed store
2023-10-13	13:03:05	2301	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:05	2301	[DEBUG]	Manufacturer exists
2023-10-13	13:03:05	2301	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:05	2301	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:05	2301	[DEBUG]	Executed store
2023-10-13	13:03:05	2301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861793','26')
2023-10-13	13:03:05	2301	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:05	2301	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:05	2301	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861793 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:05	2301	[DEBUG]	Store custom available field
2023-10-13	13:03:05	2301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861793,3,'',1)
2023-10-13	13:03:05	2301	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:05	2301	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:03:05	2301	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861793 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:05	2301	[DEBUG]	Store custom available field
2023-10-13	13:03:05	2301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861793,6,'All',3)
2023-10-13	13:03:05	2301	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:05	2301	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:05	2301	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861792
2023-10-13	13:03:05	2301	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:05	2301	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861792\":[1861792,8,1,\"choisir la taille\"],\"1861793\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861792
2023-10-13	13:03:05	2301	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:05	2301	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861793
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:05	2302	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field taille
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:05	2302	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:05	2302	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:05	2302	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:05	2302	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:05	2302	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:05	2302	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field published
2023-10-13	13:03:05	2302	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:05	2302	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field override
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:05	2302	[DEBUG]	Use field value for field slug
2023-10-13	13:03:05	2302	[DEBUG]	Process line 2302
2023-10-13	13:03:05	2302	[DEBUG]	Load a row
2023-10-13	13:03:05	2302	[DEBUG]	Processing item: A_5521_4
2023-10-13	13:03:05	2302	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:05	2302	[DEBUG]	Processing product tax
2023-10-13	13:03:05	2302	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:05	2302	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:05	2302	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:05	2302	[DEBUG]	Query for Product
2023-10-13	13:03:05	2302	[DEBUG]	Executed store
2023-10-13	13:03:05	2302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5521_4','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:05	2302	[DEBUG]	Check product language entry
2023-10-13	13:03:05	2302	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861794
2023-10-13	13:03:05	2302	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:05	2302	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5521_4' AND `virtuemart_product_id` != 1861794
2023-10-13	13:03:05	2302	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:05	2302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861794, 'A_5521_4')
2023-10-13	13:03:05	2302	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:05	2302	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disque-deore-xt-m8000-avec-bl-m8000-1000mm-acier' AND `virtuemart_product_id` != 1861794
2023-10-13	13:03:05	2302	[DEBUG]	Query for ProductLang
2023-10-13	13:03:05	2302	[DEBUG]	Executed store
2023-10-13	13:03:05	2302	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.64350',`product_name`='SHIMANO Set frein à disque Deore XT M8000 avec BL-M8000 1000mm / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disque-deore-xt-m8000-avec-bl-m8000-1000mm-acier' WHERE `virtuemart_product_id` = '1861794'
2023-10-13	13:03:05	2302	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30023_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1000mm.jpg
2023-10-13	13:03:05	2302	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:05	2302	[DEBUG]	Process image file
2023-10-13	13:03:05	2302	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:05	2302	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:05	2302	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30023_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1000mm.jpg
2023-10-13	13:03:05	2302	[DEBUG]	Full name target: bcprisme/30023_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1000mm.jpg
2023-10-13	13:03:06	2302	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:06	2302	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30023_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1000mm.jpg'
2023-10-13	13:03:06	2302	[DEBUG]	Query for Media
2023-10-13	13:03:06	2302	[DEBUG]	Executed store
2023-10-13	13:03:06	2302	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30023_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1000mm.jpg',`file_url_thumb`='bcprisme/30023_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1000mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627232'
2023-10-13	13:03:06	2302	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:06	2302	[DEBUG]	Executed store
2023-10-13	13:03:06	2302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861794','1627232','1')
2023-10-13	13:03:06	2302	[DEBUG]	Store product image relation
2023-10-13	13:03:06	2302	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:06	2302	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861794 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:06	2302	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:06	2302	[DEBUG]	Executed store
2023-10-13	13:03:06	2302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861794','0','141.132776230269','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:06	2302	[DEBUG]	Checking manufacturer
2023-10-13	13:03:06	2302	[DEBUG]	Load a row
2023-10-13	13:03:06	2302	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:06	2302	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:06	2302	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:06	2302	[DEBUG]	Executed store
2023-10-13	13:03:06	2302	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:06	2302	[DEBUG]	Manufacturer exists
2023-10-13	13:03:06	2302	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:06	2302	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:06	2302	[DEBUG]	Executed store
2023-10-13	13:03:06	2302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861794','26')
2023-10-13	13:03:06	2302	[DEBUG]	Find the custom field ID
2023-10-13	13:03:06	2302	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:06	2302	[DEBUG]	No custom field ID found
2023-10-13	13:03:06	2302	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:06	2302	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:06	2302	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861794 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:06	2302	[DEBUG]	Store custom available field
2023-10-13	13:03:06	2302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861794,3,'0',1)
2023-10-13	13:03:06	2302	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:06	2302	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:06	2302	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861794 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:06	2302	[DEBUG]	Store custom available field
2023-10-13	13:03:06	2302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861794,6,'choisir la taille',3)
2023-10-13	13:03:06	2302	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:06	2302	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:06	2302	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:06	2302	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:06	2302	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861794 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:06	2302	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:06	2302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861794,8,1)
2023-10-13	13:03:06	2302	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:06	2302	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861794\":[1861794,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861794
2023-10-13	13:03:06	2302	[DEBUG]	Checking category
2023-10-13	13:03:06	2302	[DEBUG]	Check if category path exists: FREINS / LEVIERS DE FREINS - BREMSE / BREMSHEBEL
2023-10-13	13:03:06	2302	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / LEVIERS DE FREINS - BREMSE / BREMSHEBEL' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:03:06	2302	[DEBUG]	Check if category path exists: LEVIERS DE FREINS - BREMSE / BREMSHEBEL
2023-10-13	13:03:06	2302	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'LEVIERS DE FREINS - BREMSE / BREMSHEBEL' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7340
2023-10-13	13:03:06	2302	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:06	2302	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861794
2023-10-13	13:03:06	2302	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:06	2302	[DEBUG]	Executed store
2023-10-13	13:03:06	2302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861794','7341')
2023-10-13	13:03:06	2302	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:06	2302	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861794 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:06	2302	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:06	2302	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861794
2023-10-13	13:03:06	2303	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:06	2303	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:06	2303	[DEBUG]	Use field value for field taille
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:06	2303	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:06	2303	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:06	2303	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:06	2303	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:06	2303	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:06	2303	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:06	2303	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:06	2303	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:06	2303	[DEBUG]	Use field value for field published
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:06	2303	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field override
2023-10-13	13:03:06	2303	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:06	2303	[DEBUG]	Use field value for field slug
2023-10-13	13:03:06	2303	[DEBUG]	Process line 2303
2023-10-13	13:03:06	2303	[DEBUG]	Load a row
2023-10-13	13:03:06	2303	[DEBUG]	Processing item: 4524667380115
2023-10-13	13:03:06	2303	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:06	2303	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:06	2303	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5521_4'
2023-10-13	13:03:06	2303	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:06	2303	[DEBUG]	Processing product tax
2023-10-13	13:03:06	2303	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:06	2303	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:06	2303	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:06	2303	[DEBUG]	Query for Product
2023-10-13	13:03:06	2303	[DEBUG]	Executed store
2023-10-13	13:03:06	2303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861794','4524667380115','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:06	2303	[DEBUG]	No parent found
2023-10-13	13:03:06	2303	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861794 AND customfield_value = 'stockable'
2023-10-13	13:03:06	2303	[DEBUG]	Check product language entry
2023-10-13	13:03:06	2303	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861795
2023-10-13	13:03:06	2303	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:06	2303	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667380115' AND `virtuemart_product_id` != 1861795
2023-10-13	13:03:06	2303	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:06	2303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861795, '4524667380115')
2023-10-13	13:03:06	2303	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:06	2303	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disque-deore-xt-m8000-avec-bl-m8000-1000mm-acier-unitaire' AND `virtuemart_product_id` != 1861795
2023-10-13	13:03:06	2303	[DEBUG]	Query for ProductLang
2023-10-13	13:03:06	2303	[DEBUG]	Executed store
2023-10-13	13:03:06	2303	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set frein à disque Deore XT M8000 avec BL-M8000 1000mm / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disque-deore-xt-m8000-avec-bl-m8000-1000mm-acier-unitaire' WHERE `virtuemart_product_id` = '1861795'
2023-10-13	13:03:06	2303	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30023_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1000mm.jpg
2023-10-13	13:03:06	2303	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:06	2303	[DEBUG]	Process image file
2023-10-13	13:03:06	2303	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:06	2303	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:06	2303	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30023_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1000mm.jpg
2023-10-13	13:03:06	2303	[DEBUG]	Full name target: bcprisme/30023_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1000mm.jpg
2023-10-13	13:03:07	2303	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:07	2303	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30023_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1000mm.jpg'
2023-10-13	13:03:07	2303	[DEBUG]	Query for Media
2023-10-13	13:03:07	2303	[DEBUG]	Executed store
2023-10-13	13:03:07	2303	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30023_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1000mm.jpg',`file_url_thumb`='bcprisme/30023_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1000mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627232'
2023-10-13	13:03:07	2303	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:07	2303	[DEBUG]	Executed store
2023-10-13	13:03:07	2303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861795','1627232','1')
2023-10-13	13:03:07	2303	[DEBUG]	Store product image relation
2023-10-13	13:03:07	2303	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:07	2303	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861795 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:07	2303	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:07	2303	[DEBUG]	Executed store
2023-10-13	13:03:07	2303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861795','0','141.132776230269','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:07	2303	[DEBUG]	Checking manufacturer
2023-10-13	13:03:07	2303	[DEBUG]	Load a row
2023-10-13	13:03:07	2303	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:07	2303	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:07	2303	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:07	2303	[DEBUG]	Executed store
2023-10-13	13:03:07	2303	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:07	2303	[DEBUG]	Manufacturer exists
2023-10-13	13:03:07	2303	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:07	2303	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:07	2303	[DEBUG]	Executed store
2023-10-13	13:03:07	2303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861795','26')
2023-10-13	13:03:07	2303	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:07	2303	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:07	2303	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861795 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:07	2303	[DEBUG]	Store custom available field
2023-10-13	13:03:07	2303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861795,3,'',1)
2023-10-13	13:03:07	2303	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:07	2303	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:07	2303	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861795 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:07	2303	[DEBUG]	Store custom available field
2023-10-13	13:03:07	2303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861795,6,'Unitaire',3)
2023-10-13	13:03:07	2303	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:07	2303	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:07	2303	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861794
2023-10-13	13:03:07	2303	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:07	2303	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861794\":[1861794,8,1,\"choisir la taille\"],\"1861795\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861794
2023-10-13	13:03:07	2303	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:07	2303	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861795
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:07	2304	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field taille
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:07	2304	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:07	2304	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:07	2304	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:07	2304	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:07	2304	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:07	2304	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field published
2023-10-13	13:03:07	2304	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:07	2304	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field override
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:07	2304	[DEBUG]	Use field value for field slug
2023-10-13	13:03:07	2304	[DEBUG]	Process line 2304
2023-10-13	13:03:07	2304	[DEBUG]	Load a row
2023-10-13	13:03:07	2304	[DEBUG]	Processing item: A_5522_1
2023-10-13	13:03:07	2304	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:07	2304	[DEBUG]	Processing product tax
2023-10-13	13:03:07	2304	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:07	2304	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:07	2304	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:07	2304	[DEBUG]	Query for Product
2023-10-13	13:03:07	2304	[DEBUG]	Executed store
2023-10-13	13:03:07	2304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5522_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:07	2304	[DEBUG]	Check product language entry
2023-10-13	13:03:07	2304	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861796
2023-10-13	13:03:07	2304	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:07	2304	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5522_1' AND `virtuemart_product_id` != 1861796
2023-10-13	13:03:07	2304	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:07	2304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861796, 'A_5522_1')
2023-10-13	13:03:07	2304	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:07	2304	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disque-deore-xt-m8000-avec-bl-m8000-1700mm-noir' AND `virtuemart_product_id` != 1861796
2023-10-13	13:03:07	2304	[DEBUG]	Query for ProductLang
2023-10-13	13:03:07	2304	[DEBUG]	Executed store
2023-10-13	13:03:07	2304	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.64351',`product_name`='SHIMANO Set frein à disque Deore XT M8000 avec BL-M8000 1700mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disque-deore-xt-m8000-avec-bl-m8000-1700mm-noir' WHERE `virtuemart_product_id` = '1861796'
2023-10-13	13:03:07	2304	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30024_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1700mm.jpg
2023-10-13	13:03:07	2304	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:07	2304	[DEBUG]	Process image file
2023-10-13	13:03:07	2304	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:07	2304	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:07	2304	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30024_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1700mm.jpg
2023-10-13	13:03:07	2304	[DEBUG]	Full name target: bcprisme/30024_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1700mm.jpg
2023-10-13	13:03:08	2304	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:08	2304	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30024_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1700mm.jpg'
2023-10-13	13:03:08	2304	[DEBUG]	Query for Media
2023-10-13	13:03:08	2304	[DEBUG]	Executed store
2023-10-13	13:03:08	2304	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30024_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1700mm.jpg',`file_url_thumb`='bcprisme/30024_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1700mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627233'
2023-10-13	13:03:08	2304	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:08	2304	[DEBUG]	Executed store
2023-10-13	13:03:08	2304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861796','1627233','1')
2023-10-13	13:03:08	2304	[DEBUG]	Store product image relation
2023-10-13	13:03:08	2304	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:08	2304	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861796 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:08	2304	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:08	2304	[DEBUG]	Executed store
2023-10-13	13:03:08	2304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861796','0','145.77530176416','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:08	2304	[DEBUG]	Checking manufacturer
2023-10-13	13:03:08	2304	[DEBUG]	Load a row
2023-10-13	13:03:08	2304	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:08	2304	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:08	2304	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:08	2304	[DEBUG]	Executed store
2023-10-13	13:03:08	2304	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:08	2304	[DEBUG]	Manufacturer exists
2023-10-13	13:03:08	2304	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:08	2304	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:08	2304	[DEBUG]	Executed store
2023-10-13	13:03:08	2304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861796','26')
2023-10-13	13:03:08	2304	[DEBUG]	Find the custom field ID
2023-10-13	13:03:08	2304	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:08	2304	[DEBUG]	No custom field ID found
2023-10-13	13:03:08	2304	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:08	2304	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:08	2304	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861796 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:08	2304	[DEBUG]	Store custom available field
2023-10-13	13:03:08	2304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861796,3,'0',1)
2023-10-13	13:03:08	2304	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:08	2304	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:08	2304	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861796 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:08	2304	[DEBUG]	Store custom available field
2023-10-13	13:03:08	2304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861796,6,'choisir la taille',3)
2023-10-13	13:03:08	2304	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:08	2304	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:08	2304	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:08	2304	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:08	2304	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861796 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:08	2304	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:08	2304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861796,8,1)
2023-10-13	13:03:08	2304	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:08	2304	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861796\":[1861796,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861796
2023-10-13	13:03:08	2304	[DEBUG]	Checking category
2023-10-13	13:03:08	2304	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:08	2304	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861796
2023-10-13	13:03:08	2304	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:08	2304	[DEBUG]	Executed store
2023-10-13	13:03:08	2304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861796','7341')
2023-10-13	13:03:08	2304	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:08	2304	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861796 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:08	2304	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:08	2304	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861796
2023-10-13	13:03:08	2305	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:08	2305	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:08	2305	[DEBUG]	Use field value for field taille
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:08	2305	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:08	2305	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:08	2305	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:08	2305	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:08	2305	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:08	2305	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:08	2305	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:08	2305	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:08	2305	[DEBUG]	Use field value for field published
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:08	2305	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field override
2023-10-13	13:03:08	2305	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:08	2305	[DEBUG]	Use field value for field slug
2023-10-13	13:03:08	2305	[DEBUG]	Process line 2305
2023-10-13	13:03:08	2305	[DEBUG]	Load a row
2023-10-13	13:03:08	2305	[DEBUG]	Processing item: 4524667380108
2023-10-13	13:03:08	2305	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:08	2305	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:08	2305	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5522_1'
2023-10-13	13:03:08	2305	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:08	2305	[DEBUG]	Processing product tax
2023-10-13	13:03:08	2305	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:08	2305	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:08	2305	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:08	2305	[DEBUG]	Query for Product
2023-10-13	13:03:08	2305	[DEBUG]	Executed store
2023-10-13	13:03:08	2305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861796','4524667380108','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:08	2305	[DEBUG]	No parent found
2023-10-13	13:03:08	2305	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861796 AND customfield_value = 'stockable'
2023-10-13	13:03:08	2305	[DEBUG]	Check product language entry
2023-10-13	13:03:08	2305	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861797
2023-10-13	13:03:08	2305	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:08	2305	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667380108' AND `virtuemart_product_id` != 1861797
2023-10-13	13:03:08	2305	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:08	2305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861797, '4524667380108')
2023-10-13	13:03:08	2305	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:08	2305	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disque-deore-xt-m8000-avec-bl-m8000-1700mm-noir-unitaire' AND `virtuemart_product_id` != 1861797
2023-10-13	13:03:08	2305	[DEBUG]	Query for ProductLang
2023-10-13	13:03:08	2305	[DEBUG]	Executed store
2023-10-13	13:03:08	2305	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set frein à disque Deore XT M8000 avec BL-M8000 1700mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disque-deore-xt-m8000-avec-bl-m8000-1700mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861797'
2023-10-13	13:03:08	2305	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30024_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1700mm.jpg
2023-10-13	13:03:08	2305	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:08	2305	[DEBUG]	Process image file
2023-10-13	13:03:08	2305	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:08	2305	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:08	2305	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30024_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1700mm.jpg
2023-10-13	13:03:08	2305	[DEBUG]	Full name target: bcprisme/30024_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1700mm.jpg
2023-10-13	13:03:09	2305	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:09	2305	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30024_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1700mm.jpg'
2023-10-13	13:03:09	2305	[DEBUG]	Query for Media
2023-10-13	13:03:09	2305	[DEBUG]	Executed store
2023-10-13	13:03:09	2305	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30024_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1700mm.jpg',`file_url_thumb`='bcprisme/30024_shimano_set_frein_à_disque_deore_xt_m8000_avec_bl-m8000_1700mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627233'
2023-10-13	13:03:09	2305	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:09	2305	[DEBUG]	Executed store
2023-10-13	13:03:09	2305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861797','1627233','1')
2023-10-13	13:03:09	2305	[DEBUG]	Store product image relation
2023-10-13	13:03:09	2305	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:09	2305	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861797 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:09	2305	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:09	2305	[DEBUG]	Executed store
2023-10-13	13:03:09	2305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861797','0','145.77530176416','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:09	2305	[DEBUG]	Checking manufacturer
2023-10-13	13:03:09	2305	[DEBUG]	Load a row
2023-10-13	13:03:09	2305	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:09	2305	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:09	2305	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:09	2305	[DEBUG]	Executed store
2023-10-13	13:03:09	2305	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:09	2305	[DEBUG]	Manufacturer exists
2023-10-13	13:03:09	2305	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:09	2305	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:09	2305	[DEBUG]	Executed store
2023-10-13	13:03:09	2305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861797','26')
2023-10-13	13:03:09	2305	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:09	2305	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:09	2305	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861797 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:09	2305	[DEBUG]	Store custom available field
2023-10-13	13:03:09	2305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861797,3,'',1)
2023-10-13	13:03:09	2305	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:09	2305	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:09	2305	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861797 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:09	2305	[DEBUG]	Store custom available field
2023-10-13	13:03:09	2305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861797,6,'Unitaire',3)
2023-10-13	13:03:09	2305	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:09	2305	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:09	2305	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861796
2023-10-13	13:03:09	2305	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:09	2305	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861796\":[1861796,8,1,\"choisir la taille\"],\"1861797\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861796
2023-10-13	13:03:09	2305	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:09	2305	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861797
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:09	2306	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field taille
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:09	2306	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:09	2306	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:09	2306	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:09	2306	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:09	2306	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:09	2306	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field published
2023-10-13	13:03:09	2306	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:09	2306	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field override
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:09	2306	[DEBUG]	Use field value for field slug
2023-10-13	13:03:09	2306	[DEBUG]	Process line 2306
2023-10-13	13:03:09	2306	[DEBUG]	Load a row
2023-10-13	13:03:09	2306	[DEBUG]	Processing item: A_5642_208
2023-10-13	13:03:09	2306	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:09	2306	[DEBUG]	Processing product tax
2023-10-13	13:03:09	2306	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:09	2306	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:09	2306	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:09	2306	[DEBUG]	Query for Product
2023-10-13	13:03:09	2306	[DEBUG]	Executed store
2023-10-13	13:03:09	2306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5642_208','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:09	2306	[DEBUG]	Check product language entry
2023-10-13	13:03:09	2306	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861798
2023-10-13	13:03:09	2306	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:09	2306	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5642_208' AND `virtuemart_product_id` != 1861798
2023-10-13	13:03:09	2306	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:09	2306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861798, 'A_5642_208')
2023-10-13	13:03:09	2306	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:09	2306	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-alivio-bl-t4000-v-brake-droite-2-doigts-argent-box-aucune' AND `virtuemart_product_id` != 1861798
2023-10-13	13:03:09	2306	[DEBUG]	Query for ProductLang
2023-10-13	13:03:09	2306	[DEBUG]	Executed store
2023-10-13	13:03:09	2306	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 74.59998',`product_name`='SHIMANO Levier de frein Alivio BL-T4000 V-Brake droite 2-doigts argent box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-alivio-bl-t4000-v-brake-droite-2-doigts-argent-box-aucune' WHERE `virtuemart_product_id` = '1861798'
2023-10-13	13:03:09	2306	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30143_shimano_levier_de_frein_alivio_bl-t4000_v-brake_droite_2-doigts_argent_box.jpg
2023-10-13	13:03:09	2306	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:09	2306	[DEBUG]	Process image file
2023-10-13	13:03:09	2306	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:09	2306	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:09	2306	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30143_shimano_levier_de_frein_alivio_bl-t4000_v-brake_droite_2-doigts_argent_box.jpg
2023-10-13	13:03:09	2306	[DEBUG]	Full name target: bcprisme/30143_shimano_levier_de_frein_alivio_bl-t4000_v-brake_droite_2-doigts_argent_box.jpg
2023-10-13	13:03:10	2306	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:10	2306	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30143_shimano_levier_de_frein_alivio_bl-t4000_v-brake_droite_2-doigts_argent_box.jpg'
2023-10-13	13:03:10	2306	[DEBUG]	Query for Media
2023-10-13	13:03:10	2306	[DEBUG]	Executed store
2023-10-13	13:03:10	2306	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30143_shimano_levier_de_frein_alivio_bl-t4000_v-brake_droite_2-doigts_argent_box.jpg',`file_url_thumb`='bcprisme/30143_shimano_levier_de_frein_alivio_bl-t4000_v-brake_droite_2-doigts_argent_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627234'
2023-10-13	13:03:10	2306	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:10	2306	[DEBUG]	Executed store
2023-10-13	13:03:10	2306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861798','1627234','1')
2023-10-13	13:03:10	2306	[DEBUG]	Store product image relation
2023-10-13	13:03:10	2306	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:10	2306	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861798 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:10	2306	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:10	2306	[DEBUG]	Executed store
2023-10-13	13:03:10	2306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861798','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:10	2306	[DEBUG]	Checking manufacturer
2023-10-13	13:03:10	2306	[DEBUG]	Load a row
2023-10-13	13:03:10	2306	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:10	2306	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:10	2306	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:10	2306	[DEBUG]	Executed store
2023-10-13	13:03:10	2306	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:10	2306	[DEBUG]	Manufacturer exists
2023-10-13	13:03:10	2306	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:03:10	2306	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:10	2306	[DEBUG]	Executed store
2023-10-13	13:03:10	2306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861798','123')
2023-10-13	13:03:10	2306	[DEBUG]	Find the custom field ID
2023-10-13	13:03:10	2306	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:10	2306	[DEBUG]	No custom field ID found
2023-10-13	13:03:10	2306	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:10	2306	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:10	2306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861798 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:10	2306	[DEBUG]	Store custom available field
2023-10-13	13:03:10	2306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861798,3,'0',1)
2023-10-13	13:03:10	2306	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:10	2306	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:10	2306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861798 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:10	2306	[DEBUG]	Store custom available field
2023-10-13	13:03:10	2306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861798,6,'choisir la taille',3)
2023-10-13	13:03:10	2306	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:10	2306	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:10	2306	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:10	2306	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:10	2306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861798 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:10	2306	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:10	2306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861798,8,1)
2023-10-13	13:03:10	2306	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:10	2306	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861798\":[1861798,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861798
2023-10-13	13:03:10	2306	[DEBUG]	Checking category
2023-10-13	13:03:10	2306	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:10	2306	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861798
2023-10-13	13:03:10	2306	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:10	2306	[DEBUG]	Executed store
2023-10-13	13:03:10	2306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861798','7341')
2023-10-13	13:03:10	2306	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:10	2306	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861798 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:10	2306	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:10	2306	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861798
2023-10-13	13:03:10	2307	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:10	2307	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:10	2307	[DEBUG]	Use field value for field taille
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:10	2307	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:10	2307	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:10	2307	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:10	2307	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:10	2307	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:10	2307	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:10	2307	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:10	2307	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:10	2307	[DEBUG]	Use field value for field published
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:10	2307	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field override
2023-10-13	13:03:10	2307	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:10	2307	[DEBUG]	Use field value for field slug
2023-10-13	13:03:10	2307	[DEBUG]	Process line 2307
2023-10-13	13:03:10	2307	[DEBUG]	Load a row
2023-10-13	13:03:10	2307	[DEBUG]	Processing item: 4524667601944
2023-10-13	13:03:10	2307	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:10	2307	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:10	2307	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5642_208'
2023-10-13	13:03:10	2307	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:10	2307	[DEBUG]	Processing product tax
2023-10-13	13:03:10	2307	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:10	2307	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:10	2307	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:10	2307	[DEBUG]	Query for Product
2023-10-13	13:03:10	2307	[DEBUG]	Executed store
2023-10-13	13:03:10	2307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861798','4524667601944','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:10	2307	[DEBUG]	No parent found
2023-10-13	13:03:10	2307	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861798 AND customfield_value = 'stockable'
2023-10-13	13:03:10	2307	[DEBUG]	Check product language entry
2023-10-13	13:03:10	2307	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861799
2023-10-13	13:03:10	2307	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:10	2307	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667601944' AND `virtuemart_product_id` != 1861799
2023-10-13	13:03:10	2307	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:10	2307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861799, '4524667601944')
2023-10-13	13:03:10	2307	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:10	2307	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-alivio-bl-t4000-v-brake-droite-2-doigts-argent-box-aucune-all' AND `virtuemart_product_id` != 1861799
2023-10-13	13:03:10	2307	[DEBUG]	Query for ProductLang
2023-10-13	13:03:10	2307	[DEBUG]	Executed store
2023-10-13	13:03:10	2307	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier de frein Alivio BL-T4000 V-Brake droite 2-doigts argent box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-alivio-bl-t4000-v-brake-droite-2-doigts-argent-box-aucune-all' WHERE `virtuemart_product_id` = '1861799'
2023-10-13	13:03:10	2307	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30143_shimano_levier_de_frein_alivio_bl-t4000_v-brake_droite_2-doigts_argent_box.jpg
2023-10-13	13:03:10	2307	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:10	2307	[DEBUG]	Process image file
2023-10-13	13:03:10	2307	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:10	2307	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:10	2307	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30143_shimano_levier_de_frein_alivio_bl-t4000_v-brake_droite_2-doigts_argent_box.jpg
2023-10-13	13:03:10	2307	[DEBUG]	Full name target: bcprisme/30143_shimano_levier_de_frein_alivio_bl-t4000_v-brake_droite_2-doigts_argent_box.jpg
2023-10-13	13:03:11	2307	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:11	2307	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30143_shimano_levier_de_frein_alivio_bl-t4000_v-brake_droite_2-doigts_argent_box.jpg'
2023-10-13	13:03:11	2307	[DEBUG]	Query for Media
2023-10-13	13:03:11	2307	[DEBUG]	Executed store
2023-10-13	13:03:11	2307	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30143_shimano_levier_de_frein_alivio_bl-t4000_v-brake_droite_2-doigts_argent_box.jpg',`file_url_thumb`='bcprisme/30143_shimano_levier_de_frein_alivio_bl-t4000_v-brake_droite_2-doigts_argent_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627234'
2023-10-13	13:03:11	2307	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:11	2307	[DEBUG]	Executed store
2023-10-13	13:03:11	2307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861799','1627234','1')
2023-10-13	13:03:11	2307	[DEBUG]	Store product image relation
2023-10-13	13:03:11	2307	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:11	2307	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861799 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:11	2307	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:11	2307	[DEBUG]	Executed store
2023-10-13	13:03:11	2307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861799','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:11	2307	[DEBUG]	Checking manufacturer
2023-10-13	13:03:11	2307	[DEBUG]	Load a row
2023-10-13	13:03:11	2307	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:11	2307	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:11	2307	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:11	2307	[DEBUG]	Executed store
2023-10-13	13:03:11	2307	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:11	2307	[DEBUG]	Manufacturer exists
2023-10-13	13:03:11	2307	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:03:11	2307	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:11	2307	[DEBUG]	Executed store
2023-10-13	13:03:11	2307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861799','123')
2023-10-13	13:03:11	2307	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:11	2307	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:11	2307	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861799 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:11	2307	[DEBUG]	Store custom available field
2023-10-13	13:03:11	2307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861799,3,'',1)
2023-10-13	13:03:11	2307	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:11	2307	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:03:11	2307	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861799 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:11	2307	[DEBUG]	Store custom available field
2023-10-13	13:03:11	2307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861799,6,'All',3)
2023-10-13	13:03:11	2307	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:11	2307	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:11	2307	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861798
2023-10-13	13:03:11	2307	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:11	2307	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861798\":[1861798,8,1,\"choisir la taille\"],\"1861799\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861798
2023-10-13	13:03:11	2307	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:11	2307	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861799
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:11	2308	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field taille
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:11	2308	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:11	2308	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:11	2308	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:11	2308	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:11	2308	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:11	2308	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field published
2023-10-13	13:03:11	2308	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:11	2308	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field override
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:11	2308	[DEBUG]	Use field value for field slug
2023-10-13	13:03:11	2308	[DEBUG]	Process line 2308
2023-10-13	13:03:11	2308	[DEBUG]	Load a row
2023-10-13	13:03:11	2308	[DEBUG]	Processing item: A_5643_208
2023-10-13	13:03:11	2308	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:11	2308	[DEBUG]	Processing product tax
2023-10-13	13:03:11	2308	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:11	2308	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:11	2308	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:11	2308	[DEBUG]	Query for Product
2023-10-13	13:03:11	2308	[DEBUG]	Executed store
2023-10-13	13:03:11	2308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5643_208','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:11	2308	[DEBUG]	Check product language entry
2023-10-13	13:03:11	2308	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861800
2023-10-13	13:03:11	2308	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:11	2308	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5643_208' AND `virtuemart_product_id` != 1861800
2023-10-13	13:03:11	2308	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:11	2308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861800, 'A_5643_208')
2023-10-13	13:03:11	2308	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:11	2308	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-alivio-bl-t4010-v-brake-gauche-3-doigts-argent-box-aucune' AND `virtuemart_product_id` != 1861800
2023-10-13	13:03:11	2308	[DEBUG]	Query for ProductLang
2023-10-13	13:03:11	2308	[DEBUG]	Executed store
2023-10-13	13:03:11	2308	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 74.60000',`product_name`='SHIMANO Levier de frein Alivio BL-T4010 V-Brake gauche 3-doigts argent box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-alivio-bl-t4010-v-brake-gauche-3-doigts-argent-box-aucune' WHERE `virtuemart_product_id` = '1861800'
2023-10-13	13:03:11	2308	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30144_shimano_levier_de_frein_alivio_bl-t4010_v-brake_gauche_3-doigts_argent_box.jpg
2023-10-13	13:03:11	2308	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:11	2308	[DEBUG]	Process image file
2023-10-13	13:03:11	2308	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:11	2308	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:11	2308	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30144_shimano_levier_de_frein_alivio_bl-t4010_v-brake_gauche_3-doigts_argent_box.jpg
2023-10-13	13:03:11	2308	[DEBUG]	Full name target: bcprisme/30144_shimano_levier_de_frein_alivio_bl-t4010_v-brake_gauche_3-doigts_argent_box.jpg
2023-10-13	13:03:12	2308	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:12	2308	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30144_shimano_levier_de_frein_alivio_bl-t4010_v-brake_gauche_3-doigts_argent_box.jpg'
2023-10-13	13:03:12	2308	[DEBUG]	Query for Media
2023-10-13	13:03:12	2308	[DEBUG]	Executed store
2023-10-13	13:03:12	2308	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30144_shimano_levier_de_frein_alivio_bl-t4010_v-brake_gauche_3-doigts_argent_box.jpg',`file_url_thumb`='bcprisme/30144_shimano_levier_de_frein_alivio_bl-t4010_v-brake_gauche_3-doigts_argent_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627235'
2023-10-13	13:03:12	2308	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:12	2308	[DEBUG]	Executed store
2023-10-13	13:03:12	2308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861800','1627235','1')
2023-10-13	13:03:12	2308	[DEBUG]	Store product image relation
2023-10-13	13:03:12	2308	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:12	2308	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861800 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:12	2308	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:12	2308	[DEBUG]	Executed store
2023-10-13	13:03:12	2308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861800','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:12	2308	[DEBUG]	Checking manufacturer
2023-10-13	13:03:12	2308	[DEBUG]	Load a row
2023-10-13	13:03:12	2308	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:12	2308	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:12	2308	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:12	2308	[DEBUG]	Executed store
2023-10-13	13:03:12	2308	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:12	2308	[DEBUG]	Manufacturer exists
2023-10-13	13:03:12	2308	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:03:12	2308	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:12	2308	[DEBUG]	Executed store
2023-10-13	13:03:12	2308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861800','123')
2023-10-13	13:03:12	2308	[DEBUG]	Find the custom field ID
2023-10-13	13:03:12	2308	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:12	2308	[DEBUG]	No custom field ID found
2023-10-13	13:03:12	2308	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:12	2308	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:12	2308	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861800 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:12	2308	[DEBUG]	Store custom available field
2023-10-13	13:03:12	2308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861800,3,'0',1)
2023-10-13	13:03:12	2308	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:12	2308	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:12	2308	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861800 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:12	2308	[DEBUG]	Store custom available field
2023-10-13	13:03:12	2308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861800,6,'choisir la taille',3)
2023-10-13	13:03:12	2308	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:12	2308	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:12	2308	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:12	2308	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:12	2308	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861800 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:12	2308	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:12	2308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861800,8,1)
2023-10-13	13:03:12	2308	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:12	2308	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861800\":[1861800,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861800
2023-10-13	13:03:12	2308	[DEBUG]	Checking category
2023-10-13	13:03:12	2308	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:12	2308	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861800
2023-10-13	13:03:12	2308	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:12	2308	[DEBUG]	Executed store
2023-10-13	13:03:12	2308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861800','7341')
2023-10-13	13:03:12	2308	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:12	2308	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861800 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:12	2308	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:12	2308	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861800
2023-10-13	13:03:12	2309	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:12	2309	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:12	2309	[DEBUG]	Use field value for field taille
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:12	2309	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:12	2309	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:12	2309	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:12	2309	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:12	2309	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:12	2309	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:12	2309	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:12	2309	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:12	2309	[DEBUG]	Use field value for field published
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:12	2309	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field override
2023-10-13	13:03:12	2309	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:12	2309	[DEBUG]	Use field value for field slug
2023-10-13	13:03:12	2309	[DEBUG]	Process line 2309
2023-10-13	13:03:12	2309	[DEBUG]	Load a row
2023-10-13	13:03:12	2309	[DEBUG]	Processing item: 4524667602033
2023-10-13	13:03:12	2309	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:12	2309	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:12	2309	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5643_208'
2023-10-13	13:03:12	2309	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:12	2309	[DEBUG]	Processing product tax
2023-10-13	13:03:12	2309	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:12	2309	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:12	2309	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:12	2309	[DEBUG]	Query for Product
2023-10-13	13:03:12	2309	[DEBUG]	Executed store
2023-10-13	13:03:12	2309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861800','4524667602033','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:12	2309	[DEBUG]	No parent found
2023-10-13	13:03:12	2309	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861800 AND customfield_value = 'stockable'
2023-10-13	13:03:12	2309	[DEBUG]	Check product language entry
2023-10-13	13:03:12	2309	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861801
2023-10-13	13:03:12	2309	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:12	2309	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667602033' AND `virtuemart_product_id` != 1861801
2023-10-13	13:03:12	2309	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:12	2309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861801, '4524667602033')
2023-10-13	13:03:12	2309	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:12	2309	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-alivio-bl-t4010-v-brake-gauche-3-doigts-argent-box-aucune-all' AND `virtuemart_product_id` != 1861801
2023-10-13	13:03:12	2309	[DEBUG]	Query for ProductLang
2023-10-13	13:03:12	2309	[DEBUG]	Executed store
2023-10-13	13:03:12	2309	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier de frein Alivio BL-T4010 V-Brake gauche 3-doigts argent box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-alivio-bl-t4010-v-brake-gauche-3-doigts-argent-box-aucune-all' WHERE `virtuemart_product_id` = '1861801'
2023-10-13	13:03:12	2309	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30144_shimano_levier_de_frein_alivio_bl-t4010_v-brake_gauche_3-doigts_argent_box.jpg
2023-10-13	13:03:12	2309	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:12	2309	[DEBUG]	Process image file
2023-10-13	13:03:12	2309	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:12	2309	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:12	2309	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30144_shimano_levier_de_frein_alivio_bl-t4010_v-brake_gauche_3-doigts_argent_box.jpg
2023-10-13	13:03:12	2309	[DEBUG]	Full name target: bcprisme/30144_shimano_levier_de_frein_alivio_bl-t4010_v-brake_gauche_3-doigts_argent_box.jpg
2023-10-13	13:03:13	2309	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:13	2309	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30144_shimano_levier_de_frein_alivio_bl-t4010_v-brake_gauche_3-doigts_argent_box.jpg'
2023-10-13	13:03:13	2309	[DEBUG]	Query for Media
2023-10-13	13:03:13	2309	[DEBUG]	Executed store
2023-10-13	13:03:13	2309	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30144_shimano_levier_de_frein_alivio_bl-t4010_v-brake_gauche_3-doigts_argent_box.jpg',`file_url_thumb`='bcprisme/30144_shimano_levier_de_frein_alivio_bl-t4010_v-brake_gauche_3-doigts_argent_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627235'
2023-10-13	13:03:13	2309	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:13	2309	[DEBUG]	Executed store
2023-10-13	13:03:13	2309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861801','1627235','1')
2023-10-13	13:03:13	2309	[DEBUG]	Store product image relation
2023-10-13	13:03:13	2309	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:13	2309	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861801 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:13	2309	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:13	2309	[DEBUG]	Executed store
2023-10-13	13:03:13	2309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861801','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:13	2309	[DEBUG]	Checking manufacturer
2023-10-13	13:03:13	2309	[DEBUG]	Load a row
2023-10-13	13:03:13	2309	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:13	2309	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:13	2309	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:13	2309	[DEBUG]	Executed store
2023-10-13	13:03:13	2309	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:13	2309	[DEBUG]	Manufacturer exists
2023-10-13	13:03:13	2309	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:03:13	2309	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:13	2309	[DEBUG]	Executed store
2023-10-13	13:03:13	2309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861801','123')
2023-10-13	13:03:13	2309	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:13	2309	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:13	2309	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861801 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:13	2309	[DEBUG]	Store custom available field
2023-10-13	13:03:13	2309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861801,3,'',1)
2023-10-13	13:03:13	2309	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:13	2309	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:03:13	2309	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861801 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:13	2309	[DEBUG]	Store custom available field
2023-10-13	13:03:13	2309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861801,6,'All',3)
2023-10-13	13:03:13	2309	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:13	2309	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:13	2309	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861800
2023-10-13	13:03:13	2309	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:13	2309	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861800\":[1861800,8,1,\"choisir la taille\"],\"1861801\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861800
2023-10-13	13:03:13	2309	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:13	2309	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861801
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:13	2310	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field taille
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:13	2310	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:13	2310	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:13	2310	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:13	2310	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:13	2310	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:13	2310	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field published
2023-10-13	13:03:13	2310	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:13	2310	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field override
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:13	2310	[DEBUG]	Use field value for field slug
2023-10-13	13:03:13	2310	[DEBUG]	Process line 2310
2023-10-13	13:03:13	2310	[DEBUG]	Load a row
2023-10-13	13:03:13	2310	[DEBUG]	Processing item: A_5644_208
2023-10-13	13:03:13	2310	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:13	2310	[DEBUG]	Processing product tax
2023-10-13	13:03:13	2310	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:13	2310	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:13	2310	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:13	2310	[DEBUG]	Query for Product
2023-10-13	13:03:13	2310	[DEBUG]	Executed store
2023-10-13	13:03:13	2310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5644_208','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:13	2310	[DEBUG]	Check product language entry
2023-10-13	13:03:13	2310	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861802
2023-10-13	13:03:13	2310	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:13	2310	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5644_208' AND `virtuemart_product_id` != 1861802
2023-10-13	13:03:13	2310	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:13	2310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861802, 'A_5644_208')
2023-10-13	13:03:13	2310	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:13	2310	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-alivio-bl-t4010-v-brake-droite-3-doigts-argent-box-aucune' AND `virtuemart_product_id` != 1861802
2023-10-13	13:03:13	2310	[DEBUG]	Query for ProductLang
2023-10-13	13:03:13	2310	[DEBUG]	Executed store
2023-10-13	13:03:13	2310	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 74.60002',`product_name`='SHIMANO Levier de frein Alivio BL-T4010 V-Brake droite 3-doigts argent box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-alivio-bl-t4010-v-brake-droite-3-doigts-argent-box-aucune' WHERE `virtuemart_product_id` = '1861802'
2023-10-13	13:03:13	2310	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30145_shimano_levier_de_frein_alivio_bl-t4010_v-brake_droite_3-doigts_argent_box.jpg
2023-10-13	13:03:13	2310	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:13	2310	[DEBUG]	Process image file
2023-10-13	13:03:13	2310	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:13	2310	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:13	2310	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30145_shimano_levier_de_frein_alivio_bl-t4010_v-brake_droite_3-doigts_argent_box.jpg
2023-10-13	13:03:13	2310	[DEBUG]	Full name target: bcprisme/30145_shimano_levier_de_frein_alivio_bl-t4010_v-brake_droite_3-doigts_argent_box.jpg
2023-10-13	13:03:14	2310	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:14	2310	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30145_shimano_levier_de_frein_alivio_bl-t4010_v-brake_droite_3-doigts_argent_box.jpg'
2023-10-13	13:03:14	2310	[DEBUG]	Query for Media
2023-10-13	13:03:14	2310	[DEBUG]	Executed store
2023-10-13	13:03:14	2310	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30145_shimano_levier_de_frein_alivio_bl-t4010_v-brake_droite_3-doigts_argent_box.jpg',`file_url_thumb`='bcprisme/30145_shimano_levier_de_frein_alivio_bl-t4010_v-brake_droite_3-doigts_argent_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627236'
2023-10-13	13:03:14	2310	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:14	2310	[DEBUG]	Executed store
2023-10-13	13:03:14	2310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861802','1627236','1')
2023-10-13	13:03:14	2310	[DEBUG]	Store product image relation
2023-10-13	13:03:14	2310	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:14	2310	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861802 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:14	2310	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:14	2310	[DEBUG]	Executed store
2023-10-13	13:03:14	2310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861802','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:14	2310	[DEBUG]	Checking manufacturer
2023-10-13	13:03:14	2310	[DEBUG]	Load a row
2023-10-13	13:03:14	2310	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:14	2310	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:14	2310	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:14	2310	[DEBUG]	Executed store
2023-10-13	13:03:14	2310	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:14	2310	[DEBUG]	Manufacturer exists
2023-10-13	13:03:14	2310	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:03:14	2310	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:14	2310	[DEBUG]	Executed store
2023-10-13	13:03:14	2310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861802','123')
2023-10-13	13:03:14	2310	[DEBUG]	Find the custom field ID
2023-10-13	13:03:14	2310	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:14	2310	[DEBUG]	No custom field ID found
2023-10-13	13:03:14	2310	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:14	2310	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:14	2310	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861802 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:14	2310	[DEBUG]	Store custom available field
2023-10-13	13:03:14	2310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861802,3,'0',1)
2023-10-13	13:03:14	2310	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:14	2310	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:14	2310	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861802 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:14	2310	[DEBUG]	Store custom available field
2023-10-13	13:03:14	2310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861802,6,'choisir la taille',3)
2023-10-13	13:03:14	2310	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:14	2310	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:14	2310	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:14	2310	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:14	2310	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861802 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:14	2310	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:14	2310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861802,8,1)
2023-10-13	13:03:14	2310	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:14	2310	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861802\":[1861802,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861802
2023-10-13	13:03:14	2310	[DEBUG]	Checking category
2023-10-13	13:03:14	2310	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:14	2310	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861802
2023-10-13	13:03:14	2310	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:14	2310	[DEBUG]	Executed store
2023-10-13	13:03:14	2310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861802','7341')
2023-10-13	13:03:14	2310	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:14	2310	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861802 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:14	2310	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:14	2310	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861802
2023-10-13	13:03:14	2311	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:14	2311	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:14	2311	[DEBUG]	Use field value for field taille
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:14	2311	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:14	2311	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:14	2311	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:14	2311	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:14	2311	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:14	2311	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:14	2311	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:14	2311	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:14	2311	[DEBUG]	Use field value for field published
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:14	2311	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field override
2023-10-13	13:03:14	2311	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:14	2311	[DEBUG]	Use field value for field slug
2023-10-13	13:03:14	2311	[DEBUG]	Process line 2311
2023-10-13	13:03:14	2311	[DEBUG]	Load a row
2023-10-13	13:03:14	2311	[DEBUG]	Processing item: 4524667602026
2023-10-13	13:03:14	2311	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:14	2311	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:14	2311	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5644_208'
2023-10-13	13:03:14	2311	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:14	2311	[DEBUG]	Processing product tax
2023-10-13	13:03:14	2311	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:14	2311	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:14	2311	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:14	2311	[DEBUG]	Query for Product
2023-10-13	13:03:14	2311	[DEBUG]	Executed store
2023-10-13	13:03:14	2311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861802','4524667602026','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:14	2311	[DEBUG]	No parent found
2023-10-13	13:03:14	2311	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861802 AND customfield_value = 'stockable'
2023-10-13	13:03:14	2311	[DEBUG]	Check product language entry
2023-10-13	13:03:14	2311	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861803
2023-10-13	13:03:14	2311	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:14	2311	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667602026' AND `virtuemart_product_id` != 1861803
2023-10-13	13:03:14	2311	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:14	2311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861803, '4524667602026')
2023-10-13	13:03:14	2311	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:14	2311	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-alivio-bl-t4010-v-brake-droite-3-doigts-argent-box-aucune-all' AND `virtuemart_product_id` != 1861803
2023-10-13	13:03:14	2311	[DEBUG]	Query for ProductLang
2023-10-13	13:03:14	2311	[DEBUG]	Executed store
2023-10-13	13:03:14	2311	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier de frein Alivio BL-T4010 V-Brake droite 3-doigts argent box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-alivio-bl-t4010-v-brake-droite-3-doigts-argent-box-aucune-all' WHERE `virtuemart_product_id` = '1861803'
2023-10-13	13:03:14	2311	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30145_shimano_levier_de_frein_alivio_bl-t4010_v-brake_droite_3-doigts_argent_box.jpg
2023-10-13	13:03:14	2311	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:14	2311	[DEBUG]	Process image file
2023-10-13	13:03:14	2311	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:14	2311	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:14	2311	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30145_shimano_levier_de_frein_alivio_bl-t4010_v-brake_droite_3-doigts_argent_box.jpg
2023-10-13	13:03:14	2311	[DEBUG]	Full name target: bcprisme/30145_shimano_levier_de_frein_alivio_bl-t4010_v-brake_droite_3-doigts_argent_box.jpg
2023-10-13	13:03:15	2311	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:15	2311	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30145_shimano_levier_de_frein_alivio_bl-t4010_v-brake_droite_3-doigts_argent_box.jpg'
2023-10-13	13:03:15	2311	[DEBUG]	Query for Media
2023-10-13	13:03:15	2311	[DEBUG]	Executed store
2023-10-13	13:03:15	2311	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30145_shimano_levier_de_frein_alivio_bl-t4010_v-brake_droite_3-doigts_argent_box.jpg',`file_url_thumb`='bcprisme/30145_shimano_levier_de_frein_alivio_bl-t4010_v-brake_droite_3-doigts_argent_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627236'
2023-10-13	13:03:15	2311	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:15	2311	[DEBUG]	Executed store
2023-10-13	13:03:15	2311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861803','1627236','1')
2023-10-13	13:03:15	2311	[DEBUG]	Store product image relation
2023-10-13	13:03:15	2311	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:15	2311	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861803 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:15	2311	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:15	2311	[DEBUG]	Executed store
2023-10-13	13:03:15	2311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861803','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:15	2311	[DEBUG]	Checking manufacturer
2023-10-13	13:03:15	2311	[DEBUG]	Load a row
2023-10-13	13:03:15	2311	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:15	2311	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:15	2311	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:15	2311	[DEBUG]	Executed store
2023-10-13	13:03:15	2311	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:15	2311	[DEBUG]	Manufacturer exists
2023-10-13	13:03:15	2311	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:03:15	2311	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:15	2311	[DEBUG]	Executed store
2023-10-13	13:03:15	2311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861803','123')
2023-10-13	13:03:15	2311	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:15	2311	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:15	2311	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861803 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:15	2311	[DEBUG]	Store custom available field
2023-10-13	13:03:15	2311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861803,3,'',1)
2023-10-13	13:03:15	2311	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:15	2311	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:03:15	2311	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861803 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:15	2311	[DEBUG]	Store custom available field
2023-10-13	13:03:15	2311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861803,6,'All',3)
2023-10-13	13:03:15	2311	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:15	2311	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:15	2311	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861802
2023-10-13	13:03:15	2311	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:15	2311	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861802\":[1861802,8,1,\"choisir la taille\"],\"1861803\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861802
2023-10-13	13:03:15	2311	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:15	2311	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861803
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:15	2312	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field taille
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:15	2312	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:15	2312	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:15	2312	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:15	2312	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:15	2312	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:15	2312	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field published
2023-10-13	13:03:15	2312	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:15	2312	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field override
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:15	2312	[DEBUG]	Use field value for field slug
2023-10-13	13:03:15	2312	[DEBUG]	Process line 2312
2023-10-13	13:03:15	2312	[DEBUG]	Load a row
2023-10-13	13:03:15	2312	[DEBUG]	Processing item: A_5645_208
2023-10-13	13:03:15	2312	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:15	2312	[DEBUG]	Processing product tax
2023-10-13	13:03:15	2312	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:15	2312	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:15	2312	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:15	2312	[DEBUG]	Query for Product
2023-10-13	13:03:15	2312	[DEBUG]	Executed store
2023-10-13	13:03:15	2312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5645_208','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:15	2312	[DEBUG]	Check product language entry
2023-10-13	13:03:15	2312	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861804
2023-10-13	13:03:15	2312	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:15	2312	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5645_208' AND `virtuemart_product_id` != 1861804
2023-10-13	13:03:15	2312	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:15	2312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861804, 'A_5645_208')
2023-10-13	13:03:15	2312	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:15	2312	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-alivio-bl-t4000-v-brake-gauche-2-doigts-argent-box-aucune' AND `virtuemart_product_id` != 1861804
2023-10-13	13:03:15	2312	[DEBUG]	Query for ProductLang
2023-10-13	13:03:15	2312	[DEBUG]	Executed store
2023-10-13	13:03:15	2312	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 74.59996',`product_name`='SHIMANO Levier de frein Alivio BL-T4000 V-Brake gauche 2-doigts argent box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-alivio-bl-t4000-v-brake-gauche-2-doigts-argent-box-aucune' WHERE `virtuemart_product_id` = '1861804'
2023-10-13	13:03:15	2312	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30146_shimano_levier_de_frein_alivio_bl-t4000_v-brake_gauche_2-doigts_argent_box.jpg
2023-10-13	13:03:15	2312	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:15	2312	[DEBUG]	Process image file
2023-10-13	13:03:15	2312	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:15	2312	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:15	2312	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30146_shimano_levier_de_frein_alivio_bl-t4000_v-brake_gauche_2-doigts_argent_box.jpg
2023-10-13	13:03:15	2312	[DEBUG]	Full name target: bcprisme/30146_shimano_levier_de_frein_alivio_bl-t4000_v-brake_gauche_2-doigts_argent_box.jpg
2023-10-13	13:03:16	2312	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:16	2312	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30146_shimano_levier_de_frein_alivio_bl-t4000_v-brake_gauche_2-doigts_argent_box.jpg'
2023-10-13	13:03:16	2312	[DEBUG]	Query for Media
2023-10-13	13:03:16	2312	[DEBUG]	Executed store
2023-10-13	13:03:16	2312	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30146_shimano_levier_de_frein_alivio_bl-t4000_v-brake_gauche_2-doigts_argent_box.jpg',`file_url_thumb`='bcprisme/30146_shimano_levier_de_frein_alivio_bl-t4000_v-brake_gauche_2-doigts_argent_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627237'
2023-10-13	13:03:16	2312	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:16	2312	[DEBUG]	Executed store
2023-10-13	13:03:16	2312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861804','1627237','1')
2023-10-13	13:03:16	2312	[DEBUG]	Store product image relation
2023-10-13	13:03:16	2312	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:16	2312	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861804 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:16	2312	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:16	2312	[DEBUG]	Executed store
2023-10-13	13:03:16	2312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861804','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:16	2312	[DEBUG]	Checking manufacturer
2023-10-13	13:03:16	2312	[DEBUG]	Load a row
2023-10-13	13:03:16	2312	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:16	2312	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:16	2312	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:16	2312	[DEBUG]	Executed store
2023-10-13	13:03:16	2312	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:16	2312	[DEBUG]	Manufacturer exists
2023-10-13	13:03:16	2312	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:03:16	2312	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:16	2312	[DEBUG]	Executed store
2023-10-13	13:03:16	2312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861804','123')
2023-10-13	13:03:16	2312	[DEBUG]	Find the custom field ID
2023-10-13	13:03:16	2312	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:16	2312	[DEBUG]	No custom field ID found
2023-10-13	13:03:16	2312	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:16	2312	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:16	2312	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861804 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:16	2312	[DEBUG]	Store custom available field
2023-10-13	13:03:16	2312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861804,3,'0',1)
2023-10-13	13:03:16	2312	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:16	2312	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:16	2312	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861804 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:16	2312	[DEBUG]	Store custom available field
2023-10-13	13:03:16	2312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861804,6,'choisir la taille',3)
2023-10-13	13:03:16	2312	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:16	2312	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:16	2312	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:16	2312	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:16	2312	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861804 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:16	2312	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:16	2312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861804,8,1)
2023-10-13	13:03:16	2312	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:16	2312	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861804\":[1861804,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861804
2023-10-13	13:03:16	2312	[DEBUG]	Checking category
2023-10-13	13:03:16	2312	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:16	2312	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861804
2023-10-13	13:03:16	2312	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:16	2312	[DEBUG]	Executed store
2023-10-13	13:03:16	2312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861804','7341')
2023-10-13	13:03:16	2312	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:16	2312	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861804 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:16	2312	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:16	2312	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861804
2023-10-13	13:03:16	2313	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:16	2313	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:16	2313	[DEBUG]	Use field value for field taille
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:16	2313	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:16	2313	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:16	2313	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:16	2313	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:16	2313	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:16	2313	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:16	2313	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:16	2313	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:16	2313	[DEBUG]	Use field value for field published
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:16	2313	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field override
2023-10-13	13:03:16	2313	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:16	2313	[DEBUG]	Use field value for field slug
2023-10-13	13:03:16	2313	[DEBUG]	Process line 2313
2023-10-13	13:03:16	2313	[DEBUG]	Load a row
2023-10-13	13:03:16	2313	[DEBUG]	Processing item: 4524667601937
2023-10-13	13:03:16	2313	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:16	2313	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:16	2313	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5645_208'
2023-10-13	13:03:16	2313	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:16	2313	[DEBUG]	Processing product tax
2023-10-13	13:03:16	2313	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:16	2313	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:16	2313	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:16	2313	[DEBUG]	Query for Product
2023-10-13	13:03:16	2313	[DEBUG]	Executed store
2023-10-13	13:03:16	2313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861804','4524667601937','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:16	2313	[DEBUG]	No parent found
2023-10-13	13:03:16	2313	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861804 AND customfield_value = 'stockable'
2023-10-13	13:03:16	2313	[DEBUG]	Check product language entry
2023-10-13	13:03:16	2313	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861805
2023-10-13	13:03:16	2313	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:16	2313	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667601937' AND `virtuemart_product_id` != 1861805
2023-10-13	13:03:16	2313	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:16	2313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861805, '4524667601937')
2023-10-13	13:03:16	2313	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:16	2313	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-alivio-bl-t4000-v-brake-gauche-2-doigts-argent-box-aucune-all' AND `virtuemart_product_id` != 1861805
2023-10-13	13:03:16	2313	[DEBUG]	Query for ProductLang
2023-10-13	13:03:16	2313	[DEBUG]	Executed store
2023-10-13	13:03:16	2313	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier de frein Alivio BL-T4000 V-Brake gauche 2-doigts argent box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-alivio-bl-t4000-v-brake-gauche-2-doigts-argent-box-aucune-all' WHERE `virtuemart_product_id` = '1861805'
2023-10-13	13:03:16	2313	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30146_shimano_levier_de_frein_alivio_bl-t4000_v-brake_gauche_2-doigts_argent_box.jpg
2023-10-13	13:03:16	2313	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:16	2313	[DEBUG]	Process image file
2023-10-13	13:03:16	2313	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:16	2313	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:16	2313	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30146_shimano_levier_de_frein_alivio_bl-t4000_v-brake_gauche_2-doigts_argent_box.jpg
2023-10-13	13:03:16	2313	[DEBUG]	Full name target: bcprisme/30146_shimano_levier_de_frein_alivio_bl-t4000_v-brake_gauche_2-doigts_argent_box.jpg
2023-10-13	13:03:17	2313	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:17	2313	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30146_shimano_levier_de_frein_alivio_bl-t4000_v-brake_gauche_2-doigts_argent_box.jpg'
2023-10-13	13:03:17	2313	[DEBUG]	Query for Media
2023-10-13	13:03:17	2313	[DEBUG]	Executed store
2023-10-13	13:03:17	2313	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30146_shimano_levier_de_frein_alivio_bl-t4000_v-brake_gauche_2-doigts_argent_box.jpg',`file_url_thumb`='bcprisme/30146_shimano_levier_de_frein_alivio_bl-t4000_v-brake_gauche_2-doigts_argent_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627237'
2023-10-13	13:03:17	2313	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:17	2313	[DEBUG]	Executed store
2023-10-13	13:03:17	2313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861805','1627237','1')
2023-10-13	13:03:17	2313	[DEBUG]	Store product image relation
2023-10-13	13:03:17	2313	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:17	2313	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861805 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:17	2313	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:17	2313	[DEBUG]	Executed store
2023-10-13	13:03:17	2313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861805','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:17	2313	[DEBUG]	Checking manufacturer
2023-10-13	13:03:17	2313	[DEBUG]	Load a row
2023-10-13	13:03:17	2313	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:17	2313	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:17	2313	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:17	2313	[DEBUG]	Executed store
2023-10-13	13:03:17	2313	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:03:17	2313	[DEBUG]	Manufacturer exists
2023-10-13	13:03:17	2313	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:03:17	2313	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:17	2313	[DEBUG]	Executed store
2023-10-13	13:03:17	2313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861805','123')
2023-10-13	13:03:17	2313	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:17	2313	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:17	2313	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861805 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:17	2313	[DEBUG]	Store custom available field
2023-10-13	13:03:17	2313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861805,3,'',1)
2023-10-13	13:03:17	2313	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:17	2313	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:03:17	2313	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861805 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:17	2313	[DEBUG]	Store custom available field
2023-10-13	13:03:17	2313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861805,6,'All',3)
2023-10-13	13:03:17	2313	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:17	2313	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:17	2313	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861804
2023-10-13	13:03:17	2313	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:17	2313	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861804\":[1861804,8,1,\"choisir la taille\"],\"1861805\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861804
2023-10-13	13:03:17	2313	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:17	2313	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861805
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:17	2314	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field taille
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:17	2314	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:17	2314	[DEBUG]	Use default value for field file_url
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:17	2314	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:17	2314	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:17	2314	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:17	2314	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:17	2314	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:17	2314	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field published
2023-10-13	13:03:17	2314	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:17	2314	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field override
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:17	2314	[DEBUG]	Use field value for field slug
2023-10-13	13:03:17	2314	[DEBUG]	Process line 2314
2023-10-13	13:03:17	2314	[DEBUG]	Load a row
2023-10-13	13:03:17	2314	[DEBUG]	Processing item: A_5844_1
2023-10-13	13:03:17	2314	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:17	2314	[DEBUG]	Processing product tax
2023-10-13	13:03:17	2314	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:17	2314	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:17	2314	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:17	2314	[DEBUG]	Query for Product
2023-10-13	13:03:17	2314	[DEBUG]	Executed store
2023-10-13	13:03:17	2314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5844_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:17	2314	[DEBUG]	Check product language entry
2023-10-13	13:03:17	2314	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861806
2023-10-13	13:03:17	2314	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:17	2314	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5844_1' AND `virtuemart_product_id` != 1861806
2023-10-13	13:03:17	2314	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:17	2314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861806, 'A_5844_1')
2023-10-13	13:03:17	2314	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:17	2314	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-guide-rsc-front-950mm-noir-alu-s4-caliper-noir' AND `virtuemart_product_id` != 1861806
2023-10-13	13:03:17	2314	[DEBUG]	Query for ProductLang
2023-10-13	13:03:17	2314	[DEBUG]	Executed store
2023-10-13	13:03:17	2314	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7525N',`product_name`='SRAM Guide RSC Front 950mm noir alu S4 Caliper / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-guide-rsc-front-950mm-noir-alu-s4-caliper-noir' WHERE `virtuemart_product_id` = '1861806'
2023-10-13	13:03:17	2314	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:17	2314	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861806 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:17	2314	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:17	2314	[DEBUG]	Executed store
2023-10-13	13:03:17	2314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861806','0','236.768802228412','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:17	2314	[DEBUG]	Checking manufacturer
2023-10-13	13:03:17	2314	[DEBUG]	Load a row
2023-10-13	13:03:17	2314	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:17	2314	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:03:17	2314	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:18	2314	[DEBUG]	Executed store
2023-10-13	13:03:18	2314	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:03:18	2314	[DEBUG]	Manufacturer exists
2023-10-13	13:03:18	2314	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:03:18	2314	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:18	2314	[DEBUG]	Executed store
2023-10-13	13:03:18	2314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861806','35')
2023-10-13	13:03:18	2314	[DEBUG]	Find the custom field ID
2023-10-13	13:03:18	2314	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:18	2314	[DEBUG]	No custom field ID found
2023-10-13	13:03:18	2314	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:18	2314	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:18	2314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861806 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:18	2314	[DEBUG]	Store custom available field
2023-10-13	13:03:18	2314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861806,3,'0',1)
2023-10-13	13:03:18	2314	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:18	2314	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:18	2314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861806 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:18	2314	[DEBUG]	Store custom available field
2023-10-13	13:03:18	2314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861806,6,'choisir la taille',3)
2023-10-13	13:03:18	2314	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:18	2314	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:18	2314	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:18	2314	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:18	2314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861806 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:18	2314	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:18	2314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861806,8,1)
2023-10-13	13:03:18	2314	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:18	2314	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861806\":[1861806,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861806
2023-10-13	13:03:18	2314	[DEBUG]	Checking category
2023-10-13	13:03:18	2314	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:18	2314	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861806
2023-10-13	13:03:18	2314	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:18	2314	[DEBUG]	Executed store
2023-10-13	13:03:18	2314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861806','7341')
2023-10-13	13:03:18	2314	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:18	2314	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861806 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:18	2314	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:18	2314	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861806
2023-10-13	13:03:18	2315	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:18	2315	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:18	2315	[DEBUG]	Use field value for field taille
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:18	2315	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:18	2315	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:18	2315	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field file_url
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:18	2315	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:18	2315	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:18	2315	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:18	2315	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:18	2315	[DEBUG]	Use field value for field published
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:18	2315	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field override
2023-10-13	13:03:18	2315	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:18	2315	[DEBUG]	Use field value for field slug
2023-10-13	13:03:18	2315	[DEBUG]	Process line 2315
2023-10-13	13:03:18	2315	[DEBUG]	Load a row
2023-10-13	13:03:18	2315	[DEBUG]	Processing item: 710845783593
2023-10-13	13:03:18	2315	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:18	2315	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:18	2315	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5844_1'
2023-10-13	13:03:18	2315	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:18	2315	[DEBUG]	Processing product tax
2023-10-13	13:03:18	2315	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:18	2315	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:18	2315	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:18	2315	[DEBUG]	Query for Product
2023-10-13	13:03:18	2315	[DEBUG]	Executed store
2023-10-13	13:03:18	2315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861806','710845783593','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:18	2315	[DEBUG]	No parent found
2023-10-13	13:03:18	2315	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861806 AND customfield_value = 'stockable'
2023-10-13	13:03:18	2315	[DEBUG]	Check product language entry
2023-10-13	13:03:18	2315	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861807
2023-10-13	13:03:18	2315	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:18	2315	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845783593' AND `virtuemart_product_id` != 1861807
2023-10-13	13:03:18	2315	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:18	2315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861807, '710845783593')
2023-10-13	13:03:18	2315	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:18	2315	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-guide-rsc-front-950mm-noir-alu-s4-caliper-noir-unitaire' AND `virtuemart_product_id` != 1861807
2023-10-13	13:03:18	2315	[DEBUG]	Query for ProductLang
2023-10-13	13:03:18	2315	[DEBUG]	Executed store
2023-10-13	13:03:18	2315	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Guide RSC Front 950mm noir alu S4 Caliper / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-guide-rsc-front-950mm-noir-alu-s4-caliper-noir-unitaire' WHERE `virtuemart_product_id` = '1861807'
2023-10-13	13:03:18	2315	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:18	2315	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861807 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:18	2315	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:18	2315	[DEBUG]	Executed store
2023-10-13	13:03:18	2315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861807','0','236.768802228412','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:18	2315	[DEBUG]	Checking manufacturer
2023-10-13	13:03:18	2315	[DEBUG]	Load a row
2023-10-13	13:03:18	2315	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:18	2315	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:03:18	2315	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:18	2315	[DEBUG]	Executed store
2023-10-13	13:03:18	2315	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:03:18	2315	[DEBUG]	Manufacturer exists
2023-10-13	13:03:18	2315	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:03:18	2315	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:18	2315	[DEBUG]	Executed store
2023-10-13	13:03:18	2315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861807','35')
2023-10-13	13:03:18	2315	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:18	2315	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:18	2315	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861807 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:18	2315	[DEBUG]	Store custom available field
2023-10-13	13:03:18	2315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861807,3,'',1)
2023-10-13	13:03:18	2315	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:18	2315	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:18	2315	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861807 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:18	2315	[DEBUG]	Store custom available field
2023-10-13	13:03:18	2315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861807,6,'Unitaire',3)
2023-10-13	13:03:18	2315	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:18	2315	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:18	2315	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861806
2023-10-13	13:03:18	2315	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:18	2315	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861806\":[1861806,8,1,\"choisir la taille\"],\"1861807\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861806
2023-10-13	13:03:18	2315	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:18	2315	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861807
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:18	2316	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field taille
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:18	2316	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:18	2316	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:18	2316	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:18	2316	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:18	2316	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:18	2316	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field published
2023-10-13	13:03:18	2316	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:18	2316	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field override
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:18	2316	[DEBUG]	Use field value for field slug
2023-10-13	13:03:18	2316	[DEBUG]	Process line 2316
2023-10-13	13:03:18	2316	[DEBUG]	Load a row
2023-10-13	13:03:18	2316	[DEBUG]	Processing item: A_6087_1
2023-10-13	13:03:18	2316	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:18	2316	[DEBUG]	Processing product tax
2023-10-13	13:03:18	2316	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:18	2316	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:18	2316	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:18	2316	[DEBUG]	Query for Product
2023-10-13	13:03:18	2316	[DEBUG]	Executed store
2023-10-13	13:03:18	2316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6087_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:18	2316	[DEBUG]	Check product language entry
2023-10-13	13:03:18	2316	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861808
2023-10-13	13:03:18	2316	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:18	2316	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6087_1' AND `virtuemart_product_id` != 1861808
2023-10-13	13:03:18	2316	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:18	2316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861808, 'A_6087_1')
2023-10-13	13:03:18	2316	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:18	2316	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-level-tl-front-noir' AND `virtuemart_product_id` != 1861808
2023-10-13	13:03:18	2316	[DEBUG]	Query for ProductLang
2023-10-13	13:03:18	2316	[DEBUG]	Executed store
2023-10-13	13:03:18	2316	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7526B',`product_name`='SRAM Level TL  Front  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-level-tl-front-noir' WHERE `virtuemart_product_id` = '1861808'
2023-10-13	13:03:18	2316	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31778_level_tl__front_.jpg
2023-10-13	13:03:18	2316	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:18	2316	[DEBUG]	Process image file
2023-10-13	13:03:18	2316	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:18	2316	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:18	2316	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31778_level_tl__front_.jpg
2023-10-13	13:03:18	2316	[DEBUG]	Full name target: bcprisme/31778_level_tl__front_.jpg
2023-10-13	13:03:19	2316	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:19	2316	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31778_level_tl__front_.jpg'
2023-10-13	13:03:19	2316	[DEBUG]	Query for Media
2023-10-13	13:03:19	2316	[DEBUG]	Executed store
2023-10-13	13:03:19	2316	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31778_level_tl__front_.jpg',`file_url_thumb`='bcprisme/31778_level_tl__front_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627238'
2023-10-13	13:03:19	2316	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:19	2316	[DEBUG]	Executed store
2023-10-13	13:03:19	2316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861808','1627238','1')
2023-10-13	13:03:19	2316	[DEBUG]	Store product image relation
2023-10-13	13:03:19	2316	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:19	2316	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861808 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:19	2316	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:19	2316	[DEBUG]	Executed store
2023-10-13	13:03:19	2316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861808','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:19	2316	[DEBUG]	Checking manufacturer
2023-10-13	13:03:19	2316	[DEBUG]	Load a row
2023-10-13	13:03:19	2316	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:19	2316	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:03:19	2316	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:19	2316	[DEBUG]	Executed store
2023-10-13	13:03:19	2316	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:03:19	2316	[DEBUG]	Manufacturer exists
2023-10-13	13:03:19	2316	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:03:19	2316	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:19	2316	[DEBUG]	Executed store
2023-10-13	13:03:19	2316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861808','35')
2023-10-13	13:03:19	2316	[DEBUG]	Find the custom field ID
2023-10-13	13:03:19	2316	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:19	2316	[DEBUG]	No custom field ID found
2023-10-13	13:03:19	2316	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:19	2316	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:19	2316	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861808 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:19	2316	[DEBUG]	Store custom available field
2023-10-13	13:03:19	2316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861808,3,'0',1)
2023-10-13	13:03:19	2316	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:19	2316	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:19	2316	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861808 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:19	2316	[DEBUG]	Store custom available field
2023-10-13	13:03:19	2316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861808,6,'choisir la taille',3)
2023-10-13	13:03:19	2316	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:19	2316	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:19	2316	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:19	2316	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:19	2316	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861808 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:19	2316	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:19	2316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861808,8,1)
2023-10-13	13:03:19	2316	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:19	2316	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861808\":[1861808,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861808
2023-10-13	13:03:19	2316	[DEBUG]	Checking category
2023-10-13	13:03:19	2316	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:19	2316	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861808
2023-10-13	13:03:19	2316	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:19	2316	[DEBUG]	Executed store
2023-10-13	13:03:19	2316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861808','7341')
2023-10-13	13:03:19	2316	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:19	2316	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861808 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:19	2316	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:19	2316	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861808
2023-10-13	13:03:19	2317	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:19	2317	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:19	2317	[DEBUG]	Use field value for field taille
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:19	2317	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:19	2317	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:19	2317	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:19	2317	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:19	2317	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:19	2317	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:19	2317	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:19	2317	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:19	2317	[DEBUG]	Use field value for field published
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:19	2317	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field override
2023-10-13	13:03:19	2317	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:19	2317	[DEBUG]	Use field value for field slug
2023-10-13	13:03:19	2317	[DEBUG]	Process line 2317
2023-10-13	13:03:19	2317	[DEBUG]	Load a row
2023-10-13	13:03:19	2317	[DEBUG]	Processing item: 1000000101089
2023-10-13	13:03:19	2317	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:19	2317	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:19	2317	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6087_1'
2023-10-13	13:03:19	2317	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:19	2317	[DEBUG]	Processing product tax
2023-10-13	13:03:19	2317	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:19	2317	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:19	2317	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:19	2317	[DEBUG]	Query for Product
2023-10-13	13:03:19	2317	[DEBUG]	Executed store
2023-10-13	13:03:19	2317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861808','1000000101089','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:19	2317	[DEBUG]	No parent found
2023-10-13	13:03:19	2317	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861808 AND customfield_value = 'stockable'
2023-10-13	13:03:19	2317	[DEBUG]	Check product language entry
2023-10-13	13:03:19	2317	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861809
2023-10-13	13:03:19	2317	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:19	2317	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000101089' AND `virtuemart_product_id` != 1861809
2023-10-13	13:03:19	2317	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:19	2317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861809, '1000000101089')
2023-10-13	13:03:19	2317	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:19	2317	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-level-tl-front-noir-unitaire' AND `virtuemart_product_id` != 1861809
2023-10-13	13:03:19	2317	[DEBUG]	Query for ProductLang
2023-10-13	13:03:19	2317	[DEBUG]	Executed store
2023-10-13	13:03:19	2317	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Level TL  Front  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-level-tl-front-noir-unitaire' WHERE `virtuemart_product_id` = '1861809'
2023-10-13	13:03:19	2317	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31778_level_tl__front_.jpg
2023-10-13	13:03:19	2317	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:19	2317	[DEBUG]	Process image file
2023-10-13	13:03:19	2317	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:19	2317	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:19	2317	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31778_level_tl__front_.jpg
2023-10-13	13:03:19	2317	[DEBUG]	Full name target: bcprisme/31778_level_tl__front_.jpg
2023-10-13	13:03:20	2317	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:20	2317	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31778_level_tl__front_.jpg'
2023-10-13	13:03:20	2317	[DEBUG]	Query for Media
2023-10-13	13:03:20	2317	[DEBUG]	Executed store
2023-10-13	13:03:20	2317	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31778_level_tl__front_.jpg',`file_url_thumb`='bcprisme/31778_level_tl__front_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627238'
2023-10-13	13:03:20	2317	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:20	2317	[DEBUG]	Executed store
2023-10-13	13:03:20	2317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861809','1627238','1')
2023-10-13	13:03:20	2317	[DEBUG]	Store product image relation
2023-10-13	13:03:20	2317	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:20	2317	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861809 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:20	2317	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:20	2317	[DEBUG]	Executed store
2023-10-13	13:03:20	2317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861809','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:20	2317	[DEBUG]	Checking manufacturer
2023-10-13	13:03:20	2317	[DEBUG]	Load a row
2023-10-13	13:03:20	2317	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:20	2317	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:03:20	2317	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:20	2317	[DEBUG]	Executed store
2023-10-13	13:03:20	2317	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:03:20	2317	[DEBUG]	Manufacturer exists
2023-10-13	13:03:20	2317	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:03:20	2317	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:20	2317	[DEBUG]	Executed store
2023-10-13	13:03:20	2317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861809','35')
2023-10-13	13:03:20	2317	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:20	2317	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:20	2317	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861809 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:20	2317	[DEBUG]	Store custom available field
2023-10-13	13:03:20	2317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861809,3,'',1)
2023-10-13	13:03:20	2317	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:20	2317	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:20	2317	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861809 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:20	2317	[DEBUG]	Store custom available field
2023-10-13	13:03:20	2317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861809,6,'Unitaire',3)
2023-10-13	13:03:20	2317	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:20	2317	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:20	2317	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861808
2023-10-13	13:03:20	2317	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:20	2317	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861808\":[1861808,8,1,\"choisir la taille\"],\"1861809\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861808
2023-10-13	13:03:20	2317	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:20	2317	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861809
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:20	2318	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field taille
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:20	2318	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:20	2318	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:20	2318	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:20	2318	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:20	2318	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:20	2318	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field published
2023-10-13	13:03:20	2318	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:20	2318	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field override
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:20	2318	[DEBUG]	Use field value for field slug
2023-10-13	13:03:20	2318	[DEBUG]	Process line 2318
2023-10-13	13:03:20	2318	[DEBUG]	Load a row
2023-10-13	13:03:20	2318	[DEBUG]	Processing item: A_6088_1
2023-10-13	13:03:20	2318	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:20	2318	[DEBUG]	Processing product tax
2023-10-13	13:03:20	2318	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:20	2318	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:20	2318	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:20	2318	[DEBUG]	Query for Product
2023-10-13	13:03:20	2318	[DEBUG]	Executed store
2023-10-13	13:03:20	2318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6088_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:20	2318	[DEBUG]	Check product language entry
2023-10-13	13:03:20	2318	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861810
2023-10-13	13:03:20	2318	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:20	2318	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6088_1' AND `virtuemart_product_id` != 1861810
2023-10-13	13:03:20	2318	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:20	2318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861810, 'A_6088_1')
2023-10-13	13:03:20	2318	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:20	2318	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-level-tl-rear-noir' AND `virtuemart_product_id` != 1861810
2023-10-13	13:03:20	2318	[DEBUG]	Query for ProductLang
2023-10-13	13:03:20	2318	[DEBUG]	Executed store
2023-10-13	13:03:20	2318	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7526C',`product_name`='SRAM Level TL  Rear / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-level-tl-rear-noir' WHERE `virtuemart_product_id` = '1861810'
2023-10-13	13:03:20	2318	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31779_level_tl__rear.jpg
2023-10-13	13:03:20	2318	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:20	2318	[DEBUG]	Process image file
2023-10-13	13:03:20	2318	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:20	2318	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:20	2318	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31779_level_tl__rear.jpg
2023-10-13	13:03:20	2318	[DEBUG]	Full name target: bcprisme/31779_level_tl__rear.jpg
2023-10-13	13:03:21	2318	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:21	2318	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31779_level_tl__rear.jpg'
2023-10-13	13:03:21	2318	[DEBUG]	Query for Media
2023-10-13	13:03:21	2318	[DEBUG]	Executed store
2023-10-13	13:03:21	2318	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31779_level_tl__rear.jpg',`file_url_thumb`='bcprisme/31779_level_tl__rear.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627239'
2023-10-13	13:03:21	2318	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:21	2318	[DEBUG]	Executed store
2023-10-13	13:03:21	2318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861810','1627239','1')
2023-10-13	13:03:21	2318	[DEBUG]	Store product image relation
2023-10-13	13:03:21	2318	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:21	2318	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861810 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:21	2318	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:21	2318	[DEBUG]	Executed store
2023-10-13	13:03:21	2318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861810','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:21	2318	[DEBUG]	Checking manufacturer
2023-10-13	13:03:21	2318	[DEBUG]	Load a row
2023-10-13	13:03:21	2318	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:21	2318	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:03:21	2318	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:21	2318	[DEBUG]	Executed store
2023-10-13	13:03:21	2318	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:03:21	2318	[DEBUG]	Manufacturer exists
2023-10-13	13:03:21	2318	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:03:21	2318	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:21	2318	[DEBUG]	Executed store
2023-10-13	13:03:21	2318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861810','35')
2023-10-13	13:03:21	2318	[DEBUG]	Find the custom field ID
2023-10-13	13:03:21	2318	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:21	2318	[DEBUG]	No custom field ID found
2023-10-13	13:03:21	2318	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:21	2318	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:21	2318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861810 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:21	2318	[DEBUG]	Store custom available field
2023-10-13	13:03:21	2318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861810,3,'0',1)
2023-10-13	13:03:21	2318	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:21	2318	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:21	2318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861810 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:21	2318	[DEBUG]	Store custom available field
2023-10-13	13:03:21	2318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861810,6,'choisir la taille',3)
2023-10-13	13:03:21	2318	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:21	2318	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:21	2318	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:21	2318	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:21	2318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861810 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:21	2318	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:21	2318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861810,8,1)
2023-10-13	13:03:21	2318	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:21	2318	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861810\":[1861810,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861810
2023-10-13	13:03:21	2318	[DEBUG]	Checking category
2023-10-13	13:03:21	2318	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:21	2318	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861810
2023-10-13	13:03:21	2318	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:21	2318	[DEBUG]	Executed store
2023-10-13	13:03:21	2318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861810','7341')
2023-10-13	13:03:21	2318	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:21	2318	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861810 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:21	2318	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:21	2318	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861810
2023-10-13	13:03:21	2319	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:21	2319	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:21	2319	[DEBUG]	Use field value for field taille
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:21	2319	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:21	2319	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:21	2319	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:21	2319	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:21	2319	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:21	2319	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:21	2319	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:21	2319	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:21	2319	[DEBUG]	Use field value for field published
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:21	2319	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field override
2023-10-13	13:03:21	2319	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:21	2319	[DEBUG]	Use field value for field slug
2023-10-13	13:03:21	2319	[DEBUG]	Process line 2319
2023-10-13	13:03:21	2319	[DEBUG]	Load a row
2023-10-13	13:03:21	2319	[DEBUG]	Processing item: 1000000101096
2023-10-13	13:03:21	2319	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:21	2319	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:21	2319	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6088_1'
2023-10-13	13:03:21	2319	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:21	2319	[DEBUG]	Processing product tax
2023-10-13	13:03:21	2319	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:21	2319	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:21	2319	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:21	2319	[DEBUG]	Query for Product
2023-10-13	13:03:21	2319	[DEBUG]	Executed store
2023-10-13	13:03:21	2319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861810','1000000101096','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:21	2319	[DEBUG]	No parent found
2023-10-13	13:03:21	2319	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861810 AND customfield_value = 'stockable'
2023-10-13	13:03:21	2319	[DEBUG]	Check product language entry
2023-10-13	13:03:21	2319	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861811
2023-10-13	13:03:21	2319	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:21	2319	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000101096' AND `virtuemart_product_id` != 1861811
2023-10-13	13:03:21	2319	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:21	2319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861811, '1000000101096')
2023-10-13	13:03:21	2319	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:21	2319	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-level-tl-rear-noir-unitaire' AND `virtuemart_product_id` != 1861811
2023-10-13	13:03:21	2319	[DEBUG]	Query for ProductLang
2023-10-13	13:03:21	2319	[DEBUG]	Executed store
2023-10-13	13:03:21	2319	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Level TL  Rear / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-level-tl-rear-noir-unitaire' WHERE `virtuemart_product_id` = '1861811'
2023-10-13	13:03:21	2319	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31779_level_tl__rear.jpg
2023-10-13	13:03:21	2319	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:21	2319	[DEBUG]	Process image file
2023-10-13	13:03:21	2319	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:21	2319	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:21	2319	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31779_level_tl__rear.jpg
2023-10-13	13:03:21	2319	[DEBUG]	Full name target: bcprisme/31779_level_tl__rear.jpg
2023-10-13	13:03:22	2319	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:22	2319	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31779_level_tl__rear.jpg'
2023-10-13	13:03:22	2319	[DEBUG]	Query for Media
2023-10-13	13:03:22	2319	[DEBUG]	Executed store
2023-10-13	13:03:22	2319	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31779_level_tl__rear.jpg',`file_url_thumb`='bcprisme/31779_level_tl__rear.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627239'
2023-10-13	13:03:22	2319	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:22	2319	[DEBUG]	Executed store
2023-10-13	13:03:22	2319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861811','1627239','1')
2023-10-13	13:03:22	2319	[DEBUG]	Store product image relation
2023-10-13	13:03:22	2319	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:22	2319	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861811 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:22	2319	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:22	2319	[DEBUG]	Executed store
2023-10-13	13:03:22	2319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861811','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:22	2319	[DEBUG]	Checking manufacturer
2023-10-13	13:03:22	2319	[DEBUG]	Load a row
2023-10-13	13:03:22	2319	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:22	2319	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:03:22	2319	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:22	2319	[DEBUG]	Executed store
2023-10-13	13:03:22	2319	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:03:22	2319	[DEBUG]	Manufacturer exists
2023-10-13	13:03:22	2319	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:03:22	2319	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:22	2319	[DEBUG]	Executed store
2023-10-13	13:03:22	2319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861811','35')
2023-10-13	13:03:22	2319	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:22	2319	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:22	2319	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861811 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:22	2319	[DEBUG]	Store custom available field
2023-10-13	13:03:22	2319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861811,3,'',1)
2023-10-13	13:03:22	2319	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:22	2319	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:22	2319	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861811 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:22	2319	[DEBUG]	Store custom available field
2023-10-13	13:03:22	2319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861811,6,'Unitaire',3)
2023-10-13	13:03:22	2319	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:22	2319	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:22	2319	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861810
2023-10-13	13:03:22	2319	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:22	2319	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861810\":[1861810,8,1,\"choisir la taille\"],\"1861811\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861810
2023-10-13	13:03:22	2319	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:22	2319	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861811
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:22	2320	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field taille
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:22	2320	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:22	2320	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:22	2320	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:22	2320	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:22	2320	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:22	2320	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field published
2023-10-13	13:03:22	2320	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:22	2320	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field override
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:22	2320	[DEBUG]	Use field value for field slug
2023-10-13	13:03:22	2320	[DEBUG]	Process line 2320
2023-10-13	13:03:22	2320	[DEBUG]	Load a row
2023-10-13	13:03:22	2320	[DEBUG]	Processing item: A_6091_1
2023-10-13	13:03:22	2320	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:22	2320	[DEBUG]	Processing product tax
2023-10-13	13:03:22	2320	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:22	2320	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:22	2320	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:22	2320	[DEBUG]	Query for Product
2023-10-13	13:03:22	2320	[DEBUG]	Executed store
2023-10-13	13:03:22	2320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6091_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:22	2320	[DEBUG]	Check product language entry
2023-10-13	13:03:22	2320	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861812
2023-10-13	13:03:22	2320	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:22	2320	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6091_1' AND `virtuemart_product_id` != 1861812
2023-10-13	13:03:22	2320	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:22	2320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861812, 'A_6091_1')
2023-10-13	13:03:22	2320	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:22	2320	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disque-deore-xt-m8000-avant-a-br-m8020-pm-resine-1000-mm-noir' AND `virtuemart_product_id` != 1861812
2023-10-13	13:03:22	2320	[DEBUG]	Query for ProductLang
2023-10-13	13:03:22	2320	[DEBUG]	Executed store
2023-10-13	13:03:22	2320	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.70979',`product_name`='SHIMANO Set frein à disque Deore XT M8000 avant a/BR-M8020 PM résine 1000 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disque-deore-xt-m8000-avant-a-br-m8020-pm-resine-1000-mm-noir' WHERE `virtuemart_product_id` = '1861812'
2023-10-13	13:03:22	2320	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31782_shimano_set_frein_à_disque_deore_xt_m8000_avant_a-br-m8020_pm_resine_1000_mm.jpg
2023-10-13	13:03:22	2320	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:22	2320	[DEBUG]	Process image file
2023-10-13	13:03:22	2320	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:22	2320	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:22	2320	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31782_shimano_set_frein_à_disque_deore_xt_m8000_avant_a-br-m8020_pm_resine_1000_mm.jpg
2023-10-13	13:03:22	2320	[DEBUG]	Full name target: bcprisme/31782_shimano_set_frein_à_disque_deore_xt_m8000_avant_a-br-m8020_pm_resine_1000_mm.jpg
2023-10-13	13:03:23	2320	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:23	2320	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31782_shimano_set_frein_à_disque_deore_xt_m8000_avant_a-br-m8020_pm_resine_1000_mm.jpg'
2023-10-13	13:03:23	2320	[DEBUG]	Query for Media
2023-10-13	13:03:23	2320	[DEBUG]	Executed store
2023-10-13	13:03:23	2320	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31782_shimano_set_frein_à_disque_deore_xt_m8000_avant_a-br-m8020_pm_resine_1000_mm.jpg',`file_url_thumb`='bcprisme/31782_shimano_set_frein_à_disque_deore_xt_m8000_avant_a-br-m8020_pm_resine_1000_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627240'
2023-10-13	13:03:23	2320	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:23	2320	[DEBUG]	Executed store
2023-10-13	13:03:23	2320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861812','1627240','1')
2023-10-13	13:03:23	2320	[DEBUG]	Store product image relation
2023-10-13	13:03:23	2320	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:23	2320	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861812 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:23	2320	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:23	2320	[DEBUG]	Executed store
2023-10-13	13:03:23	2320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861812','0','199.628597957289','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:23	2320	[DEBUG]	Checking manufacturer
2023-10-13	13:03:23	2320	[DEBUG]	Load a row
2023-10-13	13:03:23	2320	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:23	2320	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:23	2320	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:23	2320	[DEBUG]	Executed store
2023-10-13	13:03:23	2320	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:23	2320	[DEBUG]	Manufacturer exists
2023-10-13	13:03:23	2320	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:23	2320	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:23	2320	[DEBUG]	Executed store
2023-10-13	13:03:23	2320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861812','26')
2023-10-13	13:03:23	2320	[DEBUG]	Find the custom field ID
2023-10-13	13:03:23	2320	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:23	2320	[DEBUG]	No custom field ID found
2023-10-13	13:03:23	2320	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:23	2320	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:23	2320	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861812 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:23	2320	[DEBUG]	Store custom available field
2023-10-13	13:03:23	2320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861812,3,'0',1)
2023-10-13	13:03:23	2320	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:23	2320	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:23	2320	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861812 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:23	2320	[DEBUG]	Store custom available field
2023-10-13	13:03:23	2320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861812,6,'choisir la taille',3)
2023-10-13	13:03:23	2320	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:23	2320	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:23	2320	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:23	2320	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:23	2320	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861812 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:23	2320	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:23	2320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861812,8,1)
2023-10-13	13:03:23	2320	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:23	2320	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861812\":[1861812,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861812
2023-10-13	13:03:23	2320	[DEBUG]	Checking category
2023-10-13	13:03:23	2320	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:23	2320	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861812
2023-10-13	13:03:23	2320	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:23	2320	[DEBUG]	Executed store
2023-10-13	13:03:23	2320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861812','7341')
2023-10-13	13:03:23	2320	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:23	2320	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861812 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:23	2320	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:23	2320	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861812
2023-10-13	13:03:23	2321	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:23	2321	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:23	2321	[DEBUG]	Use field value for field taille
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:23	2321	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:23	2321	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:23	2321	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:23	2321	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:23	2321	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:23	2321	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:23	2321	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:23	2321	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:23	2321	[DEBUG]	Use field value for field published
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:23	2321	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field override
2023-10-13	13:03:23	2321	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:23	2321	[DEBUG]	Use field value for field slug
2023-10-13	13:03:23	2321	[DEBUG]	Process line 2321
2023-10-13	13:03:23	2321	[DEBUG]	Load a row
2023-10-13	13:03:23	2321	[DEBUG]	Processing item: 4524667646181
2023-10-13	13:03:23	2321	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:23	2321	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:23	2321	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6091_1'
2023-10-13	13:03:23	2321	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:23	2321	[DEBUG]	Processing product tax
2023-10-13	13:03:23	2321	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:23	2321	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:23	2321	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:23	2321	[DEBUG]	Query for Product
2023-10-13	13:03:23	2321	[DEBUG]	Executed store
2023-10-13	13:03:23	2321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861812','4524667646181','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:23	2321	[DEBUG]	No parent found
2023-10-13	13:03:23	2321	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861812 AND customfield_value = 'stockable'
2023-10-13	13:03:23	2321	[DEBUG]	Check product language entry
2023-10-13	13:03:23	2321	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861813
2023-10-13	13:03:23	2321	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:23	2321	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667646181' AND `virtuemart_product_id` != 1861813
2023-10-13	13:03:23	2321	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:23	2321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861813, '4524667646181')
2023-10-13	13:03:23	2321	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:23	2321	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disque-deore-xt-m8000-avant-a-br-m8020-pm-resine-1000-mm-noir-unitaire' AND `virtuemart_product_id` != 1861813
2023-10-13	13:03:23	2321	[DEBUG]	Query for ProductLang
2023-10-13	13:03:23	2321	[DEBUG]	Executed store
2023-10-13	13:03:23	2321	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set frein à disque Deore XT M8000 avant a/BR-M8020 PM résine 1000 mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disque-deore-xt-m8000-avant-a-br-m8020-pm-resine-1000-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861813'
2023-10-13	13:03:23	2321	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31782_shimano_set_frein_à_disque_deore_xt_m8000_avant_a-br-m8020_pm_resine_1000_mm.jpg
2023-10-13	13:03:23	2321	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:23	2321	[DEBUG]	Process image file
2023-10-13	13:03:23	2321	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:23	2321	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:23	2321	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31782_shimano_set_frein_à_disque_deore_xt_m8000_avant_a-br-m8020_pm_resine_1000_mm.jpg
2023-10-13	13:03:23	2321	[DEBUG]	Full name target: bcprisme/31782_shimano_set_frein_à_disque_deore_xt_m8000_avant_a-br-m8020_pm_resine_1000_mm.jpg
2023-10-13	13:03:24	2321	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:24	2321	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31782_shimano_set_frein_à_disque_deore_xt_m8000_avant_a-br-m8020_pm_resine_1000_mm.jpg'
2023-10-13	13:03:24	2321	[DEBUG]	Query for Media
2023-10-13	13:03:24	2321	[DEBUG]	Executed store
2023-10-13	13:03:24	2321	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31782_shimano_set_frein_à_disque_deore_xt_m8000_avant_a-br-m8020_pm_resine_1000_mm.jpg',`file_url_thumb`='bcprisme/31782_shimano_set_frein_à_disque_deore_xt_m8000_avant_a-br-m8020_pm_resine_1000_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627240'
2023-10-13	13:03:24	2321	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:24	2321	[DEBUG]	Executed store
2023-10-13	13:03:24	2321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861813','1627240','1')
2023-10-13	13:03:24	2321	[DEBUG]	Store product image relation
2023-10-13	13:03:24	2321	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:24	2321	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861813 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:24	2321	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:24	2321	[DEBUG]	Executed store
2023-10-13	13:03:24	2321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861813','0','199.628597957289','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:24	2321	[DEBUG]	Checking manufacturer
2023-10-13	13:03:24	2321	[DEBUG]	Load a row
2023-10-13	13:03:24	2321	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:24	2321	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:24	2321	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:24	2321	[DEBUG]	Executed store
2023-10-13	13:03:24	2321	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:24	2321	[DEBUG]	Manufacturer exists
2023-10-13	13:03:24	2321	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:24	2321	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:24	2321	[DEBUG]	Executed store
2023-10-13	13:03:24	2321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861813','26')
2023-10-13	13:03:24	2321	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:24	2321	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:24	2321	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861813 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:24	2321	[DEBUG]	Store custom available field
2023-10-13	13:03:24	2321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861813,3,'',1)
2023-10-13	13:03:24	2321	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:24	2321	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:24	2321	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861813 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:24	2321	[DEBUG]	Store custom available field
2023-10-13	13:03:24	2321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861813,6,'Unitaire',3)
2023-10-13	13:03:24	2321	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:24	2321	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:24	2321	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861812
2023-10-13	13:03:24	2321	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:24	2321	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861812\":[1861812,8,1,\"choisir la taille\"],\"1861813\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861812
2023-10-13	13:03:24	2321	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:24	2321	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861813
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:24	2322	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field taille
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:24	2322	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:24	2322	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:24	2322	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:24	2322	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:24	2322	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:24	2322	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field published
2023-10-13	13:03:24	2322	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:24	2322	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field override
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:24	2322	[DEBUG]	Use field value for field slug
2023-10-13	13:03:24	2322	[DEBUG]	Process line 2322
2023-10-13	13:03:24	2322	[DEBUG]	Load a row
2023-10-13	13:03:24	2322	[DEBUG]	Processing item: A_6092_1
2023-10-13	13:03:24	2322	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:24	2322	[DEBUG]	Processing product tax
2023-10-13	13:03:24	2322	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:24	2322	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:24	2322	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:24	2322	[DEBUG]	Query for Product
2023-10-13	13:03:24	2322	[DEBUG]	Executed store
2023-10-13	13:03:24	2322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6092_1','3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:24	2322	[DEBUG]	Check product language entry
2023-10-13	13:03:24	2322	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861814
2023-10-13	13:03:24	2322	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:24	2322	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6092_1' AND `virtuemart_product_id` != 1861814
2023-10-13	13:03:24	2322	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:24	2322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861814, 'A_6092_1')
2023-10-13	13:03:24	2322	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:24	2322	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disque-deore-xt-m8000-arriere-a-br-m8020-pm-resine-1700-mm-noir' AND `virtuemart_product_id` != 1861814
2023-10-13	13:03:24	2322	[DEBUG]	Query for ProductLang
2023-10-13	13:03:24	2322	[DEBUG]	Executed store
2023-10-13	13:03:24	2322	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.70980',`product_name`='SHIMANO Set frein à disque Deore XT M8000 arrière a/BR-M8020 PM résine 1700 mm  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disque-deore-xt-m8000-arriere-a-br-m8020-pm-resine-1700-mm-noir' WHERE `virtuemart_product_id` = '1861814'
2023-10-13	13:03:24	2322	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31783_shimano_set_frein_à_disque_deore_xt_m8000_arriere_a-br-m8020_pm_resine_1700_mm_.jpg
2023-10-13	13:03:24	2322	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:24	2322	[DEBUG]	Process image file
2023-10-13	13:03:24	2322	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:24	2322	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:24	2322	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31783_shimano_set_frein_à_disque_deore_xt_m8000_arriere_a-br-m8020_pm_resine_1700_mm_.jpg
2023-10-13	13:03:24	2322	[DEBUG]	Full name target: bcprisme/31783_shimano_set_frein_à_disque_deore_xt_m8000_arriere_a-br-m8020_pm_resine_1700_mm_.jpg
2023-10-13	13:03:25	2322	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:25	2322	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31783_shimano_set_frein_à_disque_deore_xt_m8000_arriere_a-br-m8020_pm_resine_1700_mm_.jpg'
2023-10-13	13:03:25	2322	[DEBUG]	Query for Media
2023-10-13	13:03:25	2322	[DEBUG]	Executed store
2023-10-13	13:03:25	2322	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31783_shimano_set_frein_à_disque_deore_xt_m8000_arriere_a-br-m8020_pm_resine_1700_mm_.jpg',`file_url_thumb`='bcprisme/31783_shimano_set_frein_à_disque_deore_xt_m8000_arriere_a-br-m8020_pm_resine_1700_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627241'
2023-10-13	13:03:25	2322	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:25	2322	[DEBUG]	Executed store
2023-10-13	13:03:25	2322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861814','1627241','1')
2023-10-13	13:03:25	2322	[DEBUG]	Store product image relation
2023-10-13	13:03:25	2322	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:25	2322	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861814 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:25	2322	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:25	2322	[DEBUG]	Executed store
2023-10-13	13:03:25	2322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861814','0','199.628597957289','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:25	2322	[DEBUG]	Checking manufacturer
2023-10-13	13:03:25	2322	[DEBUG]	Load a row
2023-10-13	13:03:25	2322	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:25	2322	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:25	2322	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:25	2322	[DEBUG]	Executed store
2023-10-13	13:03:25	2322	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:25	2322	[DEBUG]	Manufacturer exists
2023-10-13	13:03:25	2322	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:25	2322	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:25	2322	[DEBUG]	Executed store
2023-10-13	13:03:25	2322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861814','26')
2023-10-13	13:03:25	2322	[DEBUG]	Find the custom field ID
2023-10-13	13:03:25	2322	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:25	2322	[DEBUG]	No custom field ID found
2023-10-13	13:03:25	2322	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:25	2322	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:25	2322	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861814 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:25	2322	[DEBUG]	Store custom available field
2023-10-13	13:03:25	2322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861814,3,'0',1)
2023-10-13	13:03:25	2322	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:25	2322	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:25	2322	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861814 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:25	2322	[DEBUG]	Store custom available field
2023-10-13	13:03:25	2322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861814,6,'choisir la taille',3)
2023-10-13	13:03:25	2322	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:25	2322	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:25	2322	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:25	2322	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:25	2322	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861814 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:25	2322	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:25	2322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861814,8,1)
2023-10-13	13:03:25	2322	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:25	2322	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861814\":[1861814,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861814
2023-10-13	13:03:25	2322	[DEBUG]	Checking category
2023-10-13	13:03:25	2322	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:25	2322	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861814
2023-10-13	13:03:25	2322	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:25	2322	[DEBUG]	Executed store
2023-10-13	13:03:25	2322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861814','7341')
2023-10-13	13:03:25	2322	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:25	2322	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861814 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:25	2322	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:25	2322	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861814
2023-10-13	13:03:25	2323	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:25	2323	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:25	2323	[DEBUG]	Use field value for field taille
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:25	2323	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:25	2323	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:25	2323	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:25	2323	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:25	2323	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:25	2323	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:25	2323	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:25	2323	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:25	2323	[DEBUG]	Use field value for field published
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:25	2323	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field override
2023-10-13	13:03:25	2323	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:25	2323	[DEBUG]	Use field value for field slug
2023-10-13	13:03:25	2323	[DEBUG]	Process line 2323
2023-10-13	13:03:25	2323	[DEBUG]	Load a row
2023-10-13	13:03:25	2323	[DEBUG]	Processing item: 4524667646235
2023-10-13	13:03:25	2323	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:25	2323	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:25	2323	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6092_1'
2023-10-13	13:03:25	2323	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:25	2323	[DEBUG]	Processing product tax
2023-10-13	13:03:25	2323	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:25	2323	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:25	2323	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:25	2323	[DEBUG]	Query for Product
2023-10-13	13:03:25	2323	[DEBUG]	Executed store
2023-10-13	13:03:25	2323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861814','4524667646235','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:25	2323	[DEBUG]	No parent found
2023-10-13	13:03:25	2323	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861814 AND customfield_value = 'stockable'
2023-10-13	13:03:25	2323	[DEBUG]	Check product language entry
2023-10-13	13:03:25	2323	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861815
2023-10-13	13:03:25	2323	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:25	2323	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667646235' AND `virtuemart_product_id` != 1861815
2023-10-13	13:03:25	2323	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:25	2323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861815, '4524667646235')
2023-10-13	13:03:25	2323	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:25	2323	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disque-deore-xt-m8000-arriere-a-br-m8020-pm-resine-1700-mm-noir-unitaire' AND `virtuemart_product_id` != 1861815
2023-10-13	13:03:25	2323	[DEBUG]	Query for ProductLang
2023-10-13	13:03:25	2323	[DEBUG]	Executed store
2023-10-13	13:03:25	2323	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set frein à disque Deore XT M8000 arrière a/BR-M8020 PM résine 1700 mm  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disque-deore-xt-m8000-arriere-a-br-m8020-pm-resine-1700-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1861815'
2023-10-13	13:03:25	2323	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31783_shimano_set_frein_à_disque_deore_xt_m8000_arriere_a-br-m8020_pm_resine_1700_mm_.jpg
2023-10-13	13:03:25	2323	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:25	2323	[DEBUG]	Process image file
2023-10-13	13:03:25	2323	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:25	2323	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:25	2323	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31783_shimano_set_frein_à_disque_deore_xt_m8000_arriere_a-br-m8020_pm_resine_1700_mm_.jpg
2023-10-13	13:03:25	2323	[DEBUG]	Full name target: bcprisme/31783_shimano_set_frein_à_disque_deore_xt_m8000_arriere_a-br-m8020_pm_resine_1700_mm_.jpg
2023-10-13	13:03:26	2323	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:26	2323	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31783_shimano_set_frein_à_disque_deore_xt_m8000_arriere_a-br-m8020_pm_resine_1700_mm_.jpg'
2023-10-13	13:03:26	2323	[DEBUG]	Query for Media
2023-10-13	13:03:26	2323	[DEBUG]	Executed store
2023-10-13	13:03:26	2323	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31783_shimano_set_frein_à_disque_deore_xt_m8000_arriere_a-br-m8020_pm_resine_1700_mm_.jpg',`file_url_thumb`='bcprisme/31783_shimano_set_frein_à_disque_deore_xt_m8000_arriere_a-br-m8020_pm_resine_1700_mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627241'
2023-10-13	13:03:26	2323	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:26	2323	[DEBUG]	Executed store
2023-10-13	13:03:26	2323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861815','1627241','1')
2023-10-13	13:03:26	2323	[DEBUG]	Store product image relation
2023-10-13	13:03:26	2323	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:26	2323	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861815 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:26	2323	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:26	2323	[DEBUG]	Executed store
2023-10-13	13:03:26	2323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861815','0','199.628597957289','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:26	2323	[DEBUG]	Checking manufacturer
2023-10-13	13:03:26	2323	[DEBUG]	Load a row
2023-10-13	13:03:26	2323	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:26	2323	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:26	2323	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:26	2323	[DEBUG]	Executed store
2023-10-13	13:03:26	2323	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:26	2323	[DEBUG]	Manufacturer exists
2023-10-13	13:03:26	2323	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:26	2323	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:26	2323	[DEBUG]	Executed store
2023-10-13	13:03:26	2323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861815','26')
2023-10-13	13:03:26	2323	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:26	2323	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:26	2323	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861815 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:26	2323	[DEBUG]	Store custom available field
2023-10-13	13:03:26	2323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861815,3,'',1)
2023-10-13	13:03:26	2323	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:26	2323	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:26	2323	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861815 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:26	2323	[DEBUG]	Store custom available field
2023-10-13	13:03:26	2323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861815,6,'Unitaire',3)
2023-10-13	13:03:26	2323	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:26	2323	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:26	2323	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861814
2023-10-13	13:03:26	2323	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:26	2323	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861814\":[1861814,8,1,\"choisir la taille\"],\"1861815\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861814
2023-10-13	13:03:26	2323	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:26	2323	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861815
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:26	2324	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field taille
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:26	2324	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:26	2324	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:26	2324	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:26	2324	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:26	2324	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:26	2324	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field published
2023-10-13	13:03:26	2324	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:26	2324	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field override
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:26	2324	[DEBUG]	Use field value for field slug
2023-10-13	13:03:26	2324	[DEBUG]	Process line 2324
2023-10-13	13:03:26	2324	[DEBUG]	Load a row
2023-10-13	13:03:26	2324	[DEBUG]	Processing item: A_6138_1
2023-10-13	13:03:26	2324	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:26	2324	[DEBUG]	Processing product tax
2023-10-13	13:03:26	2324	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:26	2324	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:26	2324	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:26	2324	[DEBUG]	Query for Product
2023-10-13	13:03:26	2324	[DEBUG]	Executed store
2023-10-13	13:03:26	2324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6138_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:26	2324	[DEBUG]	Check product language entry
2023-10-13	13:03:26	2324	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861816
2023-10-13	13:03:26	2324	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:26	2324	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6138_1' AND `virtuemart_product_id` != 1861816
2023-10-13	13:03:26	2324	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:26	2324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861816, 'A_6138_1')
2023-10-13	13:03:26	2324	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:26	2324	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disque-deore-t6000-avant-resine-noir-noir' AND `virtuemart_product_id` != 1861816
2023-10-13	13:03:26	2324	[DEBUG]	Query for ProductLang
2023-10-13	13:03:26	2324	[DEBUG]	Executed store
2023-10-13	13:03:26	2324	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.69344',`product_name`='SHIMANO Set frein à disque Deore T6000 avant résine noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disque-deore-t6000-avant-resine-noir-noir' WHERE `virtuemart_product_id` = '1861816'
2023-10-13	13:03:26	2324	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31832_shimano_set_frein_à_disque_deore_t6000_avant_resine_noir.jpg
2023-10-13	13:03:26	2324	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:26	2324	[DEBUG]	Process image file
2023-10-13	13:03:26	2324	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:26	2324	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:26	2324	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31832_shimano_set_frein_à_disque_deore_t6000_avant_resine_noir.jpg
2023-10-13	13:03:26	2324	[DEBUG]	Full name target: bcprisme/31832_shimano_set_frein_à_disque_deore_t6000_avant_resine_noir.jpg
2023-10-13	13:03:27	2324	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:27	2324	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31832_shimano_set_frein_à_disque_deore_t6000_avant_resine_noir.jpg'
2023-10-13	13:03:27	2324	[DEBUG]	Query for Media
2023-10-13	13:03:27	2324	[DEBUG]	Executed store
2023-10-13	13:03:27	2324	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31832_shimano_set_frein_à_disque_deore_t6000_avant_resine_noir.jpg',`file_url_thumb`='bcprisme/31832_shimano_set_frein_à_disque_deore_t6000_avant_resine_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1001159'
2023-10-13	13:03:27	2324	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:27	2324	[DEBUG]	Executed store
2023-10-13	13:03:27	2324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861816','1001159','1')
2023-10-13	13:03:27	2324	[DEBUG]	Store product image relation
2023-10-13	13:03:27	2324	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:27	2324	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861816 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:27	2324	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:27	2324	[DEBUG]	Executed store
2023-10-13	13:03:27	2324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861816','0','87.2794800371402','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:27	2324	[DEBUG]	Checking manufacturer
2023-10-13	13:03:27	2324	[DEBUG]	Load a row
2023-10-13	13:03:27	2324	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:27	2324	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:27	2324	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:27	2324	[DEBUG]	Executed store
2023-10-13	13:03:27	2324	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:27	2324	[DEBUG]	Manufacturer exists
2023-10-13	13:03:27	2324	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:27	2324	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:27	2324	[DEBUG]	Executed store
2023-10-13	13:03:27	2324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861816','26')
2023-10-13	13:03:27	2324	[DEBUG]	Find the custom field ID
2023-10-13	13:03:27	2324	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:27	2324	[DEBUG]	No custom field ID found
2023-10-13	13:03:27	2324	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:27	2324	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:27	2324	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861816 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:27	2324	[DEBUG]	Store custom available field
2023-10-13	13:03:27	2324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861816,3,'0',1)
2023-10-13	13:03:27	2324	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:27	2324	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:27	2324	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861816 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:27	2324	[DEBUG]	Store custom available field
2023-10-13	13:03:27	2324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861816,6,'choisir la taille',3)
2023-10-13	13:03:27	2324	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:27	2324	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:27	2324	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:27	2324	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:27	2324	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861816 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:27	2324	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:27	2324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861816,8,1)
2023-10-13	13:03:27	2324	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:27	2324	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861816\":[1861816,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861816
2023-10-13	13:03:27	2324	[DEBUG]	Checking category
2023-10-13	13:03:27	2324	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:27	2324	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861816
2023-10-13	13:03:27	2324	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:27	2324	[DEBUG]	Executed store
2023-10-13	13:03:27	2324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861816','7341')
2023-10-13	13:03:27	2324	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:27	2324	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861816 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:27	2324	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:27	2324	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861816
2023-10-13	13:03:27	2325	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:27	2325	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:27	2325	[DEBUG]	Use field value for field taille
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:27	2325	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:27	2325	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:27	2325	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:27	2325	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:27	2325	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:27	2325	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:27	2325	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:27	2325	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:27	2325	[DEBUG]	Use field value for field published
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:27	2325	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field override
2023-10-13	13:03:27	2325	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:27	2325	[DEBUG]	Use field value for field slug
2023-10-13	13:03:27	2325	[DEBUG]	Process line 2325
2023-10-13	13:03:27	2325	[DEBUG]	Load a row
2023-10-13	13:03:27	2325	[DEBUG]	Processing item: 4550170447168
2023-10-13	13:03:27	2325	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:27	2325	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:27	2325	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6138_1'
2023-10-13	13:03:27	2325	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:27	2325	[DEBUG]	Processing product tax
2023-10-13	13:03:27	2325	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:27	2325	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:27	2325	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:27	2325	[DEBUG]	Query for Product
2023-10-13	13:03:27	2325	[DEBUG]	Executed store
2023-10-13	13:03:27	2325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861816','4550170447168','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:27	2325	[DEBUG]	No parent found
2023-10-13	13:03:27	2325	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861816 AND customfield_value = 'stockable'
2023-10-13	13:03:27	2325	[DEBUG]	Check product language entry
2023-10-13	13:03:27	2325	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861817
2023-10-13	13:03:27	2325	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:27	2325	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170447168' AND `virtuemart_product_id` != 1861817
2023-10-13	13:03:27	2325	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:27	2325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861817, '4550170447168')
2023-10-13	13:03:27	2325	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:27	2325	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disque-deore-t6000-avant-resine-noir-noir-unitaire' AND `virtuemart_product_id` != 1861817
2023-10-13	13:03:27	2325	[DEBUG]	Query for ProductLang
2023-10-13	13:03:27	2325	[DEBUG]	Executed store
2023-10-13	13:03:27	2325	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set frein à disque Deore T6000 avant résine noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disque-deore-t6000-avant-resine-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1861817'
2023-10-13	13:03:27	2325	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31832_shimano_set_frein_à_disque_deore_t6000_avant_resine_noir.jpg
2023-10-13	13:03:27	2325	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:27	2325	[DEBUG]	Process image file
2023-10-13	13:03:27	2325	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:27	2325	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:27	2325	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31832_shimano_set_frein_à_disque_deore_t6000_avant_resine_noir.jpg
2023-10-13	13:03:27	2325	[DEBUG]	Full name target: bcprisme/31832_shimano_set_frein_à_disque_deore_t6000_avant_resine_noir.jpg
2023-10-13	13:03:28	2325	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:28	2325	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31832_shimano_set_frein_à_disque_deore_t6000_avant_resine_noir.jpg'
2023-10-13	13:03:28	2325	[DEBUG]	Query for Media
2023-10-13	13:03:28	2325	[DEBUG]	Executed store
2023-10-13	13:03:28	2325	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31832_shimano_set_frein_à_disque_deore_t6000_avant_resine_noir.jpg',`file_url_thumb`='bcprisme/31832_shimano_set_frein_à_disque_deore_t6000_avant_resine_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1001159'
2023-10-13	13:03:28	2325	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:28	2325	[DEBUG]	Executed store
2023-10-13	13:03:28	2325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861817','1001159','1')
2023-10-13	13:03:28	2325	[DEBUG]	Store product image relation
2023-10-13	13:03:28	2325	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:28	2325	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861817 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:28	2325	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:28	2325	[DEBUG]	Executed store
2023-10-13	13:03:28	2325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861817','0','87.2794800371402','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:28	2325	[DEBUG]	Checking manufacturer
2023-10-13	13:03:28	2325	[DEBUG]	Load a row
2023-10-13	13:03:28	2325	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:28	2325	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:28	2325	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:28	2325	[DEBUG]	Executed store
2023-10-13	13:03:28	2325	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:28	2325	[DEBUG]	Manufacturer exists
2023-10-13	13:03:28	2325	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:28	2325	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:28	2325	[DEBUG]	Executed store
2023-10-13	13:03:28	2325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861817','26')
2023-10-13	13:03:28	2325	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:28	2325	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:28	2325	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861817 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:28	2325	[DEBUG]	Store custom available field
2023-10-13	13:03:28	2325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861817,3,'',1)
2023-10-13	13:03:28	2325	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:28	2325	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:28	2325	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861817 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:28	2325	[DEBUG]	Store custom available field
2023-10-13	13:03:28	2325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861817,6,'Unitaire',3)
2023-10-13	13:03:28	2325	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:28	2325	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:28	2325	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861816
2023-10-13	13:03:28	2325	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:28	2325	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861816\":[1861816,8,1,\"choisir la taille\"],\"1861817\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861816
2023-10-13	13:03:28	2325	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:28	2325	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861817
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:28	2326	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field taille
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:28	2326	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:28	2326	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:28	2326	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:28	2326	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:28	2326	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:28	2326	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field published
2023-10-13	13:03:28	2326	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:28	2326	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field override
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:28	2326	[DEBUG]	Use field value for field slug
2023-10-13	13:03:28	2326	[DEBUG]	Process line 2326
2023-10-13	13:03:28	2326	[DEBUG]	Load a row
2023-10-13	13:03:28	2326	[DEBUG]	Processing item: A_6139_1
2023-10-13	13:03:28	2326	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:28	2326	[DEBUG]	Processing product tax
2023-10-13	13:03:28	2326	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:28	2326	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:28	2326	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:28	2326	[DEBUG]	Query for Product
2023-10-13	13:03:28	2326	[DEBUG]	Executed store
2023-10-13	13:03:28	2326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6139_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:28	2326	[DEBUG]	Check product language entry
2023-10-13	13:03:28	2326	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861818
2023-10-13	13:03:28	2326	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:28	2326	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6139_1' AND `virtuemart_product_id` != 1861818
2023-10-13	13:03:28	2326	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:28	2326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861818, 'A_6139_1')
2023-10-13	13:03:28	2326	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:28	2326	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disque-deore-t6000-arriere-resine-noir-noir' AND `virtuemart_product_id` != 1861818
2023-10-13	13:03:28	2326	[DEBUG]	Query for ProductLang
2023-10-13	13:03:28	2326	[DEBUG]	Executed store
2023-10-13	13:03:28	2326	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.69346',`product_name`='SHIMANO Set frein à disque Deore T6000 arrière résine noir  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disque-deore-t6000-arriere-resine-noir-noir' WHERE `virtuemart_product_id` = '1861818'
2023-10-13	13:03:28	2326	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31833_shimano_set_frein_à_disque_deore_t6000_arriere_resine_noir_.jpg
2023-10-13	13:03:28	2326	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:28	2326	[DEBUG]	Process image file
2023-10-13	13:03:28	2326	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:28	2326	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:28	2326	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31833_shimano_set_frein_à_disque_deore_t6000_arriere_resine_noir_.jpg
2023-10-13	13:03:28	2326	[DEBUG]	Full name target: bcprisme/31833_shimano_set_frein_à_disque_deore_t6000_arriere_resine_noir_.jpg
2023-10-13	13:03:29	2326	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:29	2326	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31833_shimano_set_frein_à_disque_deore_t6000_arriere_resine_noir_.jpg'
2023-10-13	13:03:29	2326	[DEBUG]	Query for Media
2023-10-13	13:03:29	2326	[DEBUG]	Executed store
2023-10-13	13:03:29	2326	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31833_shimano_set_frein_à_disque_deore_t6000_arriere_resine_noir_.jpg',`file_url_thumb`='bcprisme/31833_shimano_set_frein_à_disque_deore_t6000_arriere_resine_noir_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1001161'
2023-10-13	13:03:29	2326	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:29	2326	[DEBUG]	Executed store
2023-10-13	13:03:29	2326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861818','1001161','1')
2023-10-13	13:03:29	2326	[DEBUG]	Store product image relation
2023-10-13	13:03:29	2326	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:29	2326	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861818 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:29	2326	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:29	2326	[DEBUG]	Executed store
2023-10-13	13:03:29	2326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861818','0','88.1151346332405','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:29	2326	[DEBUG]	Checking manufacturer
2023-10-13	13:03:29	2326	[DEBUG]	Load a row
2023-10-13	13:03:29	2326	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:29	2326	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:29	2326	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:29	2326	[DEBUG]	Executed store
2023-10-13	13:03:29	2326	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:29	2326	[DEBUG]	Manufacturer exists
2023-10-13	13:03:29	2326	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:29	2326	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:29	2326	[DEBUG]	Executed store
2023-10-13	13:03:29	2326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861818','26')
2023-10-13	13:03:29	2326	[DEBUG]	Find the custom field ID
2023-10-13	13:03:29	2326	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:29	2326	[DEBUG]	No custom field ID found
2023-10-13	13:03:29	2326	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:29	2326	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:29	2326	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861818 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:29	2326	[DEBUG]	Store custom available field
2023-10-13	13:03:29	2326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861818,3,'0',1)
2023-10-13	13:03:29	2326	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:29	2326	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:29	2326	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861818 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:29	2326	[DEBUG]	Store custom available field
2023-10-13	13:03:29	2326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861818,6,'choisir la taille',3)
2023-10-13	13:03:29	2326	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:29	2326	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:29	2326	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:29	2326	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:29	2326	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861818 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:29	2326	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:29	2326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861818,8,1)
2023-10-13	13:03:29	2326	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:29	2326	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861818\":[1861818,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861818
2023-10-13	13:03:29	2326	[DEBUG]	Checking category
2023-10-13	13:03:29	2326	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:29	2326	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861818
2023-10-13	13:03:29	2326	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:29	2326	[DEBUG]	Executed store
2023-10-13	13:03:29	2326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861818','7341')
2023-10-13	13:03:29	2326	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:29	2326	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861818 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:29	2326	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:29	2326	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861818
2023-10-13	13:03:29	2327	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:29	2327	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:29	2327	[DEBUG]	Use field value for field taille
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:29	2327	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:29	2327	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:29	2327	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:29	2327	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:29	2327	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:29	2327	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:29	2327	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:29	2327	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:29	2327	[DEBUG]	Use field value for field published
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:29	2327	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field override
2023-10-13	13:03:29	2327	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:29	2327	[DEBUG]	Use field value for field slug
2023-10-13	13:03:29	2327	[DEBUG]	Process line 2327
2023-10-13	13:03:29	2327	[DEBUG]	Load a row
2023-10-13	13:03:29	2327	[DEBUG]	Processing item: 4550170447151
2023-10-13	13:03:29	2327	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:29	2327	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:29	2327	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6139_1'
2023-10-13	13:03:29	2327	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:29	2327	[DEBUG]	Processing product tax
2023-10-13	13:03:29	2327	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:29	2327	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:29	2327	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:29	2327	[DEBUG]	Query for Product
2023-10-13	13:03:29	2327	[DEBUG]	Executed store
2023-10-13	13:03:29	2327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861818','4550170447151','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:29	2327	[DEBUG]	No parent found
2023-10-13	13:03:29	2327	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861818 AND customfield_value = 'stockable'
2023-10-13	13:03:29	2327	[DEBUG]	Check product language entry
2023-10-13	13:03:29	2327	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861819
2023-10-13	13:03:29	2327	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:29	2327	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170447151' AND `virtuemart_product_id` != 1861819
2023-10-13	13:03:29	2327	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:29	2327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861819, '4550170447151')
2023-10-13	13:03:29	2327	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:29	2327	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-frein-a-disque-deore-t6000-arriere-resine-noir-noir-unitaire' AND `virtuemart_product_id` != 1861819
2023-10-13	13:03:29	2327	[DEBUG]	Query for ProductLang
2023-10-13	13:03:29	2327	[DEBUG]	Executed store
2023-10-13	13:03:29	2327	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set frein à disque Deore T6000 arrière résine noir  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-frein-a-disque-deore-t6000-arriere-resine-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1861819'
2023-10-13	13:03:29	2327	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31833_shimano_set_frein_à_disque_deore_t6000_arriere_resine_noir_.jpg
2023-10-13	13:03:29	2327	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:29	2327	[DEBUG]	Process image file
2023-10-13	13:03:29	2327	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:29	2327	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:29	2327	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31833_shimano_set_frein_à_disque_deore_t6000_arriere_resine_noir_.jpg
2023-10-13	13:03:29	2327	[DEBUG]	Full name target: bcprisme/31833_shimano_set_frein_à_disque_deore_t6000_arriere_resine_noir_.jpg
2023-10-13	13:03:30	2327	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:30	2327	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31833_shimano_set_frein_à_disque_deore_t6000_arriere_resine_noir_.jpg'
2023-10-13	13:03:30	2327	[DEBUG]	Query for Media
2023-10-13	13:03:30	2327	[DEBUG]	Executed store
2023-10-13	13:03:30	2327	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31833_shimano_set_frein_à_disque_deore_t6000_arriere_resine_noir_.jpg',`file_url_thumb`='bcprisme/31833_shimano_set_frein_à_disque_deore_t6000_arriere_resine_noir_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1001161'
2023-10-13	13:03:30	2327	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:30	2327	[DEBUG]	Executed store
2023-10-13	13:03:30	2327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861819','1001161','1')
2023-10-13	13:03:30	2327	[DEBUG]	Store product image relation
2023-10-13	13:03:30	2327	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:30	2327	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861819 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:30	2327	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:30	2327	[DEBUG]	Executed store
2023-10-13	13:03:30	2327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861819','0','88.1151346332405','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:30	2327	[DEBUG]	Checking manufacturer
2023-10-13	13:03:30	2327	[DEBUG]	Load a row
2023-10-13	13:03:30	2327	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:30	2327	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:30	2327	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:30	2327	[DEBUG]	Executed store
2023-10-13	13:03:30	2327	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:30	2327	[DEBUG]	Manufacturer exists
2023-10-13	13:03:30	2327	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:30	2327	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:30	2327	[DEBUG]	Executed store
2023-10-13	13:03:30	2327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861819','26')
2023-10-13	13:03:30	2327	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:30	2327	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:30	2327	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861819 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:30	2327	[DEBUG]	Store custom available field
2023-10-13	13:03:30	2327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861819,3,'',1)
2023-10-13	13:03:30	2327	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:30	2327	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:30	2327	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861819 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:30	2327	[DEBUG]	Store custom available field
2023-10-13	13:03:30	2327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861819,6,'Unitaire',3)
2023-10-13	13:03:30	2327	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:30	2327	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:30	2327	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861818
2023-10-13	13:03:30	2327	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:30	2327	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861818\":[1861818,8,1,\"choisir la taille\"],\"1861819\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861818
2023-10-13	13:03:30	2327	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:30	2327	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861819
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:30	2328	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field taille
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:30	2328	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:30	2328	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:30	2328	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:30	2328	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:30	2328	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:30	2328	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field published
2023-10-13	13:03:30	2328	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:30	2328	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field override
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:30	2328	[DEBUG]	Use field value for field slug
2023-10-13	13:03:30	2328	[DEBUG]	Process line 2328
2023-10-13	13:03:30	2328	[DEBUG]	Load a row
2023-10-13	13:03:30	2328	[DEBUG]	Processing item: A_6282_1
2023-10-13	13:03:30	2328	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:30	2328	[DEBUG]	Processing product tax
2023-10-13	13:03:30	2328	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:30	2328	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:30	2328	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:30	2328	[DEBUG]	Query for Product
2023-10-13	13:03:30	2328	[DEBUG]	Executed store
2023-10-13	13:03:30	2328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6282_1','0.18','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:30	2328	[DEBUG]	Check product language entry
2023-10-13	13:03:30	2328	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861820
2023-10-13	13:03:30	2328	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:30	2328	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6282_1' AND `virtuemart_product_id` != 1861820
2023-10-13	13:03:30	2328	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:30	2328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861820, 'A_6282_1')
2023-10-13	13:03:30	2328	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:30	2328	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-paire-de-levier-de-freins-promax-kinder-noir' AND `virtuemart_product_id` != 1861820
2023-10-13	13:03:30	2328	[DEBUG]	Query for ProductLang
2023-10-13	13:03:30	2328	[DEBUG]	Executed store
2023-10-13	13:03:30	2328	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Paire de levier Tektro pour V-Brake ou Disque avec ressort de retour. 180 gr.<br>N° art fourn : 24287',`product_name`='<Null> Paire de levier de freins Promax Kinder  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-paire-de-levier-de-freins-promax-kinder-noir' WHERE `virtuemart_product_id` = '1861820'
2023-10-13	13:03:30	2328	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32132_paire_de_levier_de_freins_promax_kinder_.jpg
2023-10-13	13:03:30	2328	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:30	2328	[DEBUG]	Process image file
2023-10-13	13:03:30	2328	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:30	2328	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:30	2328	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32132_paire_de_levier_de_freins_promax_kinder_.jpg
2023-10-13	13:03:30	2328	[DEBUG]	Full name target: bcprisme/32132_paire_de_levier_de_freins_promax_kinder_.jpg
2023-10-13	13:03:31	2328	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:31	2328	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32132_paire_de_levier_de_freins_promax_kinder_.jpg'
2023-10-13	13:03:31	2328	[DEBUG]	Query for Media
2023-10-13	13:03:31	2328	[DEBUG]	Executed store
2023-10-13	13:03:31	2328	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32132_paire_de_levier_de_freins_promax_kinder_.jpg',`file_url_thumb`='bcprisme/32132_paire_de_levier_de_freins_promax_kinder_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436739'
2023-10-13	13:03:31	2328	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:31	2328	[DEBUG]	Executed store
2023-10-13	13:03:31	2328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861820','436739','1')
2023-10-13	13:03:31	2328	[DEBUG]	Store product image relation
2023-10-13	13:03:31	2328	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:31	2328	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861820 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:31	2328	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:31	2328	[DEBUG]	Executed store
2023-10-13	13:03:31	2328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861820','0','9.09935004642526','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:31	2328	[DEBUG]	Checking manufacturer
2023-10-13	13:03:31	2328	[DEBUG]	Manufacturer exists
2023-10-13	13:03:31	2328	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	13:03:31	2328	[DEBUG]	Load a row
2023-10-13	13:03:31	2328	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:31	2328	[DEBUG]	Executed store
2023-10-13	13:03:31	2328	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:03:31	2328	[DEBUG]	Manufacturer exists
2023-10-13	13:03:31	2328	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:03:31	2328	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:31	2328	[DEBUG]	Executed store
2023-10-13	13:03:31	2328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861820','20')
2023-10-13	13:03:31	2328	[DEBUG]	Find the custom field ID
2023-10-13	13:03:31	2328	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:31	2328	[DEBUG]	No custom field ID found
2023-10-13	13:03:31	2328	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:31	2328	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:03:31	2328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861820 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:31	2328	[DEBUG]	Store custom available field
2023-10-13	13:03:31	2328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861820,3,'29.8169444444444',1)
2023-10-13	13:03:31	2328	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:31	2328	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:31	2328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861820 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:31	2328	[DEBUG]	Store custom available field
2023-10-13	13:03:31	2328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861820,6,'choisir la taille',3)
2023-10-13	13:03:31	2328	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:31	2328	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:31	2328	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:31	2328	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:31	2328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861820 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:31	2328	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:31	2328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861820,8,1)
2023-10-13	13:03:31	2328	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:31	2328	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861820\":[1861820,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861820
2023-10-13	13:03:31	2328	[DEBUG]	Checking category
2023-10-13	13:03:31	2328	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:31	2328	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861820
2023-10-13	13:03:31	2328	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:31	2328	[DEBUG]	Executed store
2023-10-13	13:03:31	2328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861820','7341')
2023-10-13	13:03:31	2328	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:31	2328	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861820 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:31	2328	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:31	2328	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861820
2023-10-13	13:03:31	2329	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:31	2329	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:31	2329	[DEBUG]	Use field value for field taille
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:31	2329	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:31	2329	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:31	2329	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:31	2329	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:31	2329	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:31	2329	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:31	2329	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:31	2329	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:31	2329	[DEBUG]	Use field value for field published
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:31	2329	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field override
2023-10-13	13:03:31	2329	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:31	2329	[DEBUG]	Use field value for field slug
2023-10-13	13:03:31	2329	[DEBUG]	Process line 2329
2023-10-13	13:03:31	2329	[DEBUG]	Load a row
2023-10-13	13:03:31	2329	[DEBUG]	Processing item: 1000000103618
2023-10-13	13:03:31	2329	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:31	2329	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:31	2329	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6282_1'
2023-10-13	13:03:31	2329	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:31	2329	[DEBUG]	Processing product tax
2023-10-13	13:03:31	2329	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:31	2329	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:31	2329	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:31	2329	[DEBUG]	Query for Product
2023-10-13	13:03:31	2329	[DEBUG]	Executed store
2023-10-13	13:03:31	2329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861820','1000000103618','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:31	2329	[DEBUG]	No parent found
2023-10-13	13:03:31	2329	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861820 AND customfield_value = 'stockable'
2023-10-13	13:03:31	2329	[DEBUG]	Check product language entry
2023-10-13	13:03:31	2329	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861821
2023-10-13	13:03:31	2329	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:31	2329	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000103618' AND `virtuemart_product_id` != 1861821
2023-10-13	13:03:31	2329	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:31	2329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861821, '1000000103618')
2023-10-13	13:03:31	2329	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:31	2329	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-paire-de-levier-de-freins-promax-kinder-noir-unitaire' AND `virtuemart_product_id` != 1861821
2023-10-13	13:03:31	2329	[DEBUG]	Query for ProductLang
2023-10-13	13:03:31	2329	[DEBUG]	Executed store
2023-10-13	13:03:31	2329	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='<Null> Paire de levier de freins Promax Kinder  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-paire-de-levier-de-freins-promax-kinder-noir-unitaire' WHERE `virtuemart_product_id` = '1861821'
2023-10-13	13:03:31	2329	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32132_paire_de_levier_de_freins_promax_kinder_.jpg
2023-10-13	13:03:31	2329	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:31	2329	[DEBUG]	Process image file
2023-10-13	13:03:31	2329	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:31	2329	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:31	2329	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32132_paire_de_levier_de_freins_promax_kinder_.jpg
2023-10-13	13:03:31	2329	[DEBUG]	Full name target: bcprisme/32132_paire_de_levier_de_freins_promax_kinder_.jpg
2023-10-13	13:03:32	2329	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:32	2329	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32132_paire_de_levier_de_freins_promax_kinder_.jpg'
2023-10-13	13:03:32	2329	[DEBUG]	Query for Media
2023-10-13	13:03:32	2329	[DEBUG]	Executed store
2023-10-13	13:03:32	2329	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32132_paire_de_levier_de_freins_promax_kinder_.jpg',`file_url_thumb`='bcprisme/32132_paire_de_levier_de_freins_promax_kinder_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436739'
2023-10-13	13:03:32	2329	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:32	2329	[DEBUG]	Executed store
2023-10-13	13:03:32	2329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861821','436739','1')
2023-10-13	13:03:32	2329	[DEBUG]	Store product image relation
2023-10-13	13:03:32	2329	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:32	2329	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861821 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:32	2329	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:32	2329	[DEBUG]	Executed store
2023-10-13	13:03:32	2329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861821','0','9.09935004642526','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:32	2329	[DEBUG]	Checking manufacturer
2023-10-13	13:03:32	2329	[DEBUG]	Manufacturer exists
2023-10-13	13:03:32	2329	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	13:03:32	2329	[DEBUG]	Load a row
2023-10-13	13:03:32	2329	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:32	2329	[DEBUG]	Executed store
2023-10-13	13:03:32	2329	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:03:32	2329	[DEBUG]	Manufacturer exists
2023-10-13	13:03:32	2329	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:03:32	2329	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:32	2329	[DEBUG]	Executed store
2023-10-13	13:03:32	2329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861821','20')
2023-10-13	13:03:32	2329	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:32	2329	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:32	2329	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861821 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:32	2329	[DEBUG]	Store custom available field
2023-10-13	13:03:32	2329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861821,3,'',1)
2023-10-13	13:03:32	2329	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:32	2329	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:32	2329	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861821 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:32	2329	[DEBUG]	Store custom available field
2023-10-13	13:03:32	2329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861821,6,'Unitaire',3)
2023-10-13	13:03:32	2329	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:32	2329	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:32	2329	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861820
2023-10-13	13:03:32	2329	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:32	2329	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861820\":[1861820,8,1,\"choisir la taille\"],\"1861821\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861820
2023-10-13	13:03:32	2329	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:32	2329	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861821
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:32	2330	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field taille
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:32	2330	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:32	2330	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:32	2330	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:32	2330	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:32	2330	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:32	2330	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field published
2023-10-13	13:03:32	2330	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:32	2330	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field override
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:32	2330	[DEBUG]	Use field value for field slug
2023-10-13	13:03:32	2330	[DEBUG]	Process line 2330
2023-10-13	13:03:32	2330	[DEBUG]	Load a row
2023-10-13	13:03:32	2330	[DEBUG]	Processing item: A_6479_3
2023-10-13	13:03:32	2330	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:32	2330	[DEBUG]	Processing product tax
2023-10-13	13:03:32	2330	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:32	2330	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:32	2330	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:32	2330	[DEBUG]	Query for Product
2023-10-13	13:03:32	2330	[DEBUG]	Executed store
2023-10-13	13:03:32	2330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6479_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:32	2330	[DEBUG]	Check product language entry
2023-10-13	13:03:32	2330	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861822
2023-10-13	13:03:32	2330	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:32	2330	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6479_3' AND `virtuemart_product_id` != 1861822
2023-10-13	13:03:32	2330	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:32	2330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861822, 'A_6479_3')
2023-10-13	13:03:32	2330	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:32	2330	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-ebt-vis-magura-none' AND `virtuemart_product_id` != 1861822
2023-10-13	13:03:32	2330	[DEBUG]	Query for ProductLang
2023-10-13	13:03:32	2330	[DEBUG]	Executed store
2023-10-13	13:03:32	2330	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8773T',`product_name`='MAGURA EBT-vis Magura / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-ebt-vis-magura-none' WHERE `virtuemart_product_id` = '1861822'
2023-10-13	13:03:32	2330	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32360_ebt-vis_avec_joint_de_purge_ebt.jpg
2023-10-13	13:03:32	2330	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:32	2330	[DEBUG]	Process image file
2023-10-13	13:03:32	2330	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:32	2330	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:32	2330	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32360_ebt-vis_avec_joint_de_purge_ebt.jpg
2023-10-13	13:03:32	2330	[DEBUG]	Full name target: bcprisme/32360_ebt-vis_avec_joint_de_purge_ebt.jpg
2023-10-13	13:03:33	2330	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:33	2330	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32360_ebt-vis_avec_joint_de_purge_ebt.jpg'
2023-10-13	13:03:33	2330	[DEBUG]	Query for Media
2023-10-13	13:03:33	2330	[DEBUG]	Executed store
2023-10-13	13:03:33	2330	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32360_ebt-vis_avec_joint_de_purge_ebt.jpg',`file_url_thumb`='bcprisme/32360_ebt-vis_avec_joint_de_purge_ebt.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '480736'
2023-10-13	13:03:33	2330	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:33	2330	[DEBUG]	Executed store
2023-10-13	13:03:33	2330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861822','480736','1')
2023-10-13	13:03:33	2330	[DEBUG]	Store product image relation
2023-10-13	13:03:33	2330	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:33	2330	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861822 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:33	2330	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:33	2330	[DEBUG]	Executed store
2023-10-13	13:03:33	2330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861822','0','10.213556174559','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:33	2330	[DEBUG]	Checking manufacturer
2023-10-13	13:03:33	2330	[DEBUG]	Load a row
2023-10-13	13:03:33	2330	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:33	2330	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:03:33	2330	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:33	2330	[DEBUG]	Executed store
2023-10-13	13:03:33	2330	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:03:33	2330	[DEBUG]	Manufacturer exists
2023-10-13	13:03:33	2330	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:03:33	2330	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:33	2330	[DEBUG]	Executed store
2023-10-13	13:03:33	2330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861822','38')
2023-10-13	13:03:33	2330	[DEBUG]	Find the custom field ID
2023-10-13	13:03:33	2330	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:33	2330	[DEBUG]	No custom field ID found
2023-10-13	13:03:33	2330	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:33	2330	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:33	2330	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861822 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:33	2330	[DEBUG]	Store custom available field
2023-10-13	13:03:33	2330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861822,3,'0',1)
2023-10-13	13:03:33	2330	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:33	2330	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:33	2330	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861822 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:33	2330	[DEBUG]	Store custom available field
2023-10-13	13:03:33	2330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861822,6,'choisir la taille',3)
2023-10-13	13:03:33	2330	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:33	2330	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:33	2330	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:33	2330	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:33	2330	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861822 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:33	2330	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:33	2330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861822,8,1)
2023-10-13	13:03:33	2330	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:33	2330	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861822\":[1861822,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861822
2023-10-13	13:03:33	2330	[DEBUG]	Checking category
2023-10-13	13:03:33	2330	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:33	2330	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861822
2023-10-13	13:03:33	2330	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:33	2330	[DEBUG]	Executed store
2023-10-13	13:03:33	2330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861822','7341')
2023-10-13	13:03:33	2330	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:33	2330	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861822 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:33	2330	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:33	2330	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861822
2023-10-13	13:03:33	2331	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:33	2331	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:33	2331	[DEBUG]	Use field value for field taille
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:33	2331	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:33	2331	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:33	2331	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:33	2331	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:33	2331	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:33	2331	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:33	2331	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:33	2331	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:33	2331	[DEBUG]	Use field value for field published
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:33	2331	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field override
2023-10-13	13:03:33	2331	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:33	2331	[DEBUG]	Use field value for field slug
2023-10-13	13:03:33	2331	[DEBUG]	Process line 2331
2023-10-13	13:03:33	2331	[DEBUG]	Load a row
2023-10-13	13:03:33	2331	[DEBUG]	Processing item: 4055184010242
2023-10-13	13:03:33	2331	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:33	2331	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:33	2331	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6479_3'
2023-10-13	13:03:33	2331	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:33	2331	[DEBUG]	Processing product tax
2023-10-13	13:03:33	2331	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:33	2331	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:33	2331	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:33	2331	[DEBUG]	Query for Product
2023-10-13	13:03:33	2331	[DEBUG]	Executed store
2023-10-13	13:03:33	2331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861822','4055184010242','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:33	2331	[DEBUG]	No parent found
2023-10-13	13:03:33	2331	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861822 AND customfield_value = 'stockable'
2023-10-13	13:03:33	2331	[DEBUG]	Check product language entry
2023-10-13	13:03:33	2331	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861823
2023-10-13	13:03:33	2331	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:33	2331	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184010242' AND `virtuemart_product_id` != 1861823
2023-10-13	13:03:33	2331	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:33	2331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861823, '4055184010242')
2023-10-13	13:03:33	2331	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:33	2331	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-ebt-vis-magura-none-unitaire' AND `virtuemart_product_id` != 1861823
2023-10-13	13:03:33	2331	[DEBUG]	Query for ProductLang
2023-10-13	13:03:33	2331	[DEBUG]	Executed store
2023-10-13	13:03:33	2331	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA EBT-vis Magura / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-ebt-vis-magura-none-unitaire' WHERE `virtuemart_product_id` = '1861823'
2023-10-13	13:03:33	2331	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32360_ebt-vis_avec_joint_de_purge_ebt.jpg
2023-10-13	13:03:33	2331	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:33	2331	[DEBUG]	Process image file
2023-10-13	13:03:33	2331	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:33	2331	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:33	2331	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32360_ebt-vis_avec_joint_de_purge_ebt.jpg
2023-10-13	13:03:33	2331	[DEBUG]	Full name target: bcprisme/32360_ebt-vis_avec_joint_de_purge_ebt.jpg
2023-10-13	13:03:34	2331	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:34	2331	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32360_ebt-vis_avec_joint_de_purge_ebt.jpg'
2023-10-13	13:03:34	2331	[DEBUG]	Query for Media
2023-10-13	13:03:34	2331	[DEBUG]	Executed store
2023-10-13	13:03:34	2331	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32360_ebt-vis_avec_joint_de_purge_ebt.jpg',`file_url_thumb`='bcprisme/32360_ebt-vis_avec_joint_de_purge_ebt.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '480736'
2023-10-13	13:03:34	2331	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:34	2331	[DEBUG]	Executed store
2023-10-13	13:03:34	2331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861823','480736','1')
2023-10-13	13:03:34	2331	[DEBUG]	Store product image relation
2023-10-13	13:03:34	2331	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:34	2331	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861823 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:34	2331	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:34	2331	[DEBUG]	Executed store
2023-10-13	13:03:34	2331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861823','0','10.213556174559','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:34	2331	[DEBUG]	Checking manufacturer
2023-10-13	13:03:34	2331	[DEBUG]	Load a row
2023-10-13	13:03:34	2331	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:34	2331	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:03:34	2331	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:34	2331	[DEBUG]	Executed store
2023-10-13	13:03:34	2331	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:03:34	2331	[DEBUG]	Manufacturer exists
2023-10-13	13:03:34	2331	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:03:34	2331	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:34	2331	[DEBUG]	Executed store
2023-10-13	13:03:34	2331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861823','38')
2023-10-13	13:03:34	2331	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:34	2331	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:34	2331	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861823 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:34	2331	[DEBUG]	Store custom available field
2023-10-13	13:03:34	2331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861823,3,'',1)
2023-10-13	13:03:34	2331	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:34	2331	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:34	2331	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861823 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:34	2331	[DEBUG]	Store custom available field
2023-10-13	13:03:34	2331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861823,6,'Unitaire',3)
2023-10-13	13:03:34	2331	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:34	2331	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:34	2331	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861822
2023-10-13	13:03:34	2331	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:34	2331	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861822\":[1861822,8,1,\"choisir la taille\"],\"1861823\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861822
2023-10-13	13:03:34	2331	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:34	2331	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861823
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:34	2332	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field taille
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:34	2332	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:34	2332	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:34	2332	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:34	2332	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:34	2332	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:34	2332	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field published
2023-10-13	13:03:34	2332	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:34	2332	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field override
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:34	2332	[DEBUG]	Use field value for field slug
2023-10-13	13:03:34	2332	[DEBUG]	Process line 2332
2023-10-13	13:03:34	2332	[DEBUG]	Load a row
2023-10-13	13:03:34	2332	[DEBUG]	Processing item: A_6486_4
2023-10-13	13:03:34	2332	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:34	2332	[DEBUG]	Processing product tax
2023-10-13	13:03:34	2332	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:34	2332	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:34	2332	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:34	2332	[DEBUG]	Query for Product
2023-10-13	13:03:34	2332	[DEBUG]	Executed store
2023-10-13	13:03:34	2332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6486_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:34	2332	[DEBUG]	Check product language entry
2023-10-13	13:03:34	2332	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861824
2023-10-13	13:03:34	2332	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:34	2332	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6486_4' AND `virtuemart_product_id` != 1861824
2023-10-13	13:03:34	2332	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:34	2332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861824, 'A_6486_4')
2023-10-13	13:03:34	2332	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:34	2332	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-mt-sport-durite-de-2-2m-levier-2-doigts-en-carbotecture-acier' AND `virtuemart_product_id` != 1861824
2023-10-13	13:03:34	2332	[DEBUG]	Query for ProductLang
2023-10-13	13:03:34	2332	[DEBUG]	Executed store
2023-10-13	13:03:34	2332	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8785Z',`product_name`='MAGURA MT SPORT durite de 2.2m levier 2 doigts en Carbotecture / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-mt-sport-durite-de-2-2m-levier-2-doigts-en-carbotecture-acier' WHERE `virtuemart_product_id` = '1861824'
2023-10-13	13:03:34	2332	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32368_mt_sport_durite_de_2_2m_levier_2_doigts_en_carbotecture.jpg
2023-10-13	13:03:34	2332	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:34	2332	[DEBUG]	Process image file
2023-10-13	13:03:34	2332	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:34	2332	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:34	2332	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32368_mt_sport_durite_de_2_2m_levier_2_doigts_en_carbotecture.jpg
2023-10-13	13:03:34	2332	[DEBUG]	Full name target: bcprisme/32368_mt_sport_durite_de_2_2m_levier_2_doigts_en_carbotecture.jpg
2023-10-13	13:03:35	2332	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:35	2332	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32368_mt_sport_durite_de_2_2m_levier_2_doigts_en_carbotecture.jpg'
2023-10-13	13:03:35	2332	[DEBUG]	Query for Media
2023-10-13	13:03:35	2332	[DEBUG]	Executed store
2023-10-13	13:03:35	2332	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32368_mt_sport_durite_de_2_2m_levier_2_doigts_en_carbotecture.jpg',`file_url_thumb`='bcprisme/32368_mt_sport_durite_de_2_2m_levier_2_doigts_en_carbotecture.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627242'
2023-10-13	13:03:35	2332	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:35	2332	[DEBUG]	Executed store
2023-10-13	13:03:35	2332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861824','1627242','1')
2023-10-13	13:03:35	2332	[DEBUG]	Store product image relation
2023-10-13	13:03:35	2332	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:35	2332	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861824 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:35	2332	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:35	2332	[DEBUG]	Executed store
2023-10-13	13:03:35	2332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861824','0','61.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:35	2332	[DEBUG]	Checking manufacturer
2023-10-13	13:03:35	2332	[DEBUG]	Load a row
2023-10-13	13:03:35	2332	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:35	2332	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:03:35	2332	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:35	2332	[DEBUG]	Executed store
2023-10-13	13:03:35	2332	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:03:35	2332	[DEBUG]	Manufacturer exists
2023-10-13	13:03:35	2332	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:03:35	2332	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:35	2332	[DEBUG]	Executed store
2023-10-13	13:03:35	2332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861824','38')
2023-10-13	13:03:35	2332	[DEBUG]	Find the custom field ID
2023-10-13	13:03:35	2332	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:35	2332	[DEBUG]	No custom field ID found
2023-10-13	13:03:35	2332	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:35	2332	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:35	2332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861824 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:35	2332	[DEBUG]	Store custom available field
2023-10-13	13:03:35	2332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861824,3,'0',1)
2023-10-13	13:03:35	2332	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:35	2332	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:35	2332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861824 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:35	2332	[DEBUG]	Store custom available field
2023-10-13	13:03:35	2332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861824,6,'choisir la taille',3)
2023-10-13	13:03:35	2332	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:35	2332	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:35	2332	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:35	2332	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:35	2332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861824 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:35	2332	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:35	2332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861824,8,1)
2023-10-13	13:03:35	2332	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:35	2332	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861824\":[1861824,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861824
2023-10-13	13:03:35	2332	[DEBUG]	Checking category
2023-10-13	13:03:35	2332	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:35	2332	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861824
2023-10-13	13:03:35	2332	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:35	2332	[DEBUG]	Executed store
2023-10-13	13:03:35	2332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861824','7341')
2023-10-13	13:03:35	2332	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:35	2332	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861824 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:35	2332	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:35	2332	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861824
2023-10-13	13:03:35	2333	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:35	2333	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:35	2333	[DEBUG]	Use field value for field taille
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:35	2333	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:35	2333	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:35	2333	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:35	2333	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:35	2333	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:35	2333	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:35	2333	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:35	2333	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:35	2333	[DEBUG]	Use field value for field published
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:35	2333	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field override
2023-10-13	13:03:35	2333	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:35	2333	[DEBUG]	Use field value for field slug
2023-10-13	13:03:35	2333	[DEBUG]	Process line 2333
2023-10-13	13:03:35	2333	[DEBUG]	Load a row
2023-10-13	13:03:35	2333	[DEBUG]	Processing item: 4055184021989
2023-10-13	13:03:35	2333	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:35	2333	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:35	2333	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6486_4'
2023-10-13	13:03:35	2333	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:35	2333	[DEBUG]	Processing product tax
2023-10-13	13:03:35	2333	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:35	2333	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:35	2333	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:35	2333	[DEBUG]	Query for Product
2023-10-13	13:03:35	2333	[DEBUG]	Executed store
2023-10-13	13:03:35	2333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861824','4055184021989','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:35	2333	[DEBUG]	No parent found
2023-10-13	13:03:35	2333	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861824 AND customfield_value = 'stockable'
2023-10-13	13:03:35	2333	[DEBUG]	Check product language entry
2023-10-13	13:03:35	2333	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861825
2023-10-13	13:03:35	2333	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:35	2333	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184021989' AND `virtuemart_product_id` != 1861825
2023-10-13	13:03:35	2333	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:35	2333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861825, '4055184021989')
2023-10-13	13:03:35	2333	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:35	2333	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-mt-sport-durite-de-2-2m-levier-2-doigts-en-carbotecture-acier-unitaire' AND `virtuemart_product_id` != 1861825
2023-10-13	13:03:35	2333	[DEBUG]	Query for ProductLang
2023-10-13	13:03:35	2333	[DEBUG]	Executed store
2023-10-13	13:03:35	2333	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA MT SPORT durite de 2.2m levier 2 doigts en Carbotecture / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-mt-sport-durite-de-2-2m-levier-2-doigts-en-carbotecture-acier-unitaire' WHERE `virtuemart_product_id` = '1861825'
2023-10-13	13:03:35	2333	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32368_mt_sport_durite_de_2_2m_levier_2_doigts_en_carbotecture.jpg
2023-10-13	13:03:35	2333	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:35	2333	[DEBUG]	Process image file
2023-10-13	13:03:35	2333	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:35	2333	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:35	2333	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32368_mt_sport_durite_de_2_2m_levier_2_doigts_en_carbotecture.jpg
2023-10-13	13:03:35	2333	[DEBUG]	Full name target: bcprisme/32368_mt_sport_durite_de_2_2m_levier_2_doigts_en_carbotecture.jpg
2023-10-13	13:03:36	2333	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:36	2333	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32368_mt_sport_durite_de_2_2m_levier_2_doigts_en_carbotecture.jpg'
2023-10-13	13:03:36	2333	[DEBUG]	Query for Media
2023-10-13	13:03:36	2333	[DEBUG]	Executed store
2023-10-13	13:03:36	2333	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32368_mt_sport_durite_de_2_2m_levier_2_doigts_en_carbotecture.jpg',`file_url_thumb`='bcprisme/32368_mt_sport_durite_de_2_2m_levier_2_doigts_en_carbotecture.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1627242'
2023-10-13	13:03:36	2333	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:36	2333	[DEBUG]	Executed store
2023-10-13	13:03:36	2333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861825','1627242','1')
2023-10-13	13:03:36	2333	[DEBUG]	Store product image relation
2023-10-13	13:03:36	2333	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:36	2333	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861825 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:36	2333	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:36	2333	[DEBUG]	Executed store
2023-10-13	13:03:36	2333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861825','0','61.188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:36	2333	[DEBUG]	Checking manufacturer
2023-10-13	13:03:36	2333	[DEBUG]	Load a row
2023-10-13	13:03:36	2333	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:36	2333	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:03:36	2333	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:36	2333	[DEBUG]	Executed store
2023-10-13	13:03:36	2333	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:03:36	2333	[DEBUG]	Manufacturer exists
2023-10-13	13:03:36	2333	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:03:36	2333	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:36	2333	[DEBUG]	Executed store
2023-10-13	13:03:36	2333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861825','38')
2023-10-13	13:03:36	2333	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:36	2333	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:36	2333	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861825 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:36	2333	[DEBUG]	Store custom available field
2023-10-13	13:03:36	2333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861825,3,'',1)
2023-10-13	13:03:36	2333	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:36	2333	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:36	2333	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861825 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:36	2333	[DEBUG]	Store custom available field
2023-10-13	13:03:36	2333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861825,6,'Unitaire',3)
2023-10-13	13:03:36	2333	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:36	2333	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:36	2333	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861824
2023-10-13	13:03:36	2333	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:36	2333	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861824\":[1861824,8,1,\"choisir la taille\"],\"1861825\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861824
2023-10-13	13:03:36	2333	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:36	2333	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861825
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:36	2334	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field taille
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:36	2334	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:36	2334	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:36	2334	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:36	2334	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:36	2334	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:36	2334	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field published
2023-10-13	13:03:36	2334	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:36	2334	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field override
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:36	2334	[DEBUG]	Use field value for field slug
2023-10-13	13:03:36	2334	[DEBUG]	Process line 2334
2023-10-13	13:03:36	2334	[DEBUG]	Load a row
2023-10-13	13:03:36	2334	[DEBUG]	Processing item: A_7282_1
2023-10-13	13:03:36	2334	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:36	2334	[DEBUG]	Processing product tax
2023-10-13	13:03:36	2334	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:36	2334	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:36	2334	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:36	2334	[DEBUG]	Query for Product
2023-10-13	13:03:36	2334	[DEBUG]	Executed store
2023-10-13	13:03:36	2334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7282_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:36	2334	[DEBUG]	Check product language entry
2023-10-13	13:03:36	2334	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861826
2023-10-13	13:03:36	2334	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:36	2334	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7282_1' AND `virtuemart_product_id` != 1861826
2023-10-13	13:03:36	2334	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:36	2334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861826, 'A_7282_1')
2023-10-13	13:03:36	2334	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:36	2334	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-deo-m6100-arriere-a-bl-m6100-pm-1700mm-plaque-resin-box-noir' AND `virtuemart_product_id` != 1861826
2023-10-13	13:03:36	2334	[DEBUG]	Query for ProductLang
2023-10-13	13:03:36	2334	[DEBUG]	Executed store
2023-10-13	13:03:36	2334	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.77875',`product_name`='SHIMANO Set fr. à dis. DEO M6100 arriere a/BL-M6100 PM 1700mm plaque resin box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-deo-m6100-arriere-a-bl-m6100-pm-1700mm-plaque-resin-box-noir' WHERE `virtuemart_product_id` = '1861826'
2023-10-13	13:03:36	2334	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77875_001.jpg
2023-10-13	13:03:36	2334	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:36	2334	[DEBUG]	Process image file
2023-10-13	13:03:36	2334	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:36	2334	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:36	2334	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77875_001.jpg
2023-10-13	13:03:36	2334	[DEBUG]	Full name target: bcprisme/73_77875_001.jpg
2023-10-13	13:03:37	2334	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:37	2334	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77875_001.jpg'
2023-10-13	13:03:37	2334	[DEBUG]	Query for Media
2023-10-13	13:03:37	2334	[DEBUG]	Executed store
2023-10-13	13:03:37	2334	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77875_001.jpg',`file_url_thumb`='bcprisme/73_77875_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436711'
2023-10-13	13:03:37	2334	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:37	2334	[DEBUG]	Executed store
2023-10-13	13:03:37	2334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861826','436711','1')
2023-10-13	13:03:37	2334	[DEBUG]	Store product image relation
2023-10-13	13:03:37	2334	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:37	2334	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861826 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:37	2334	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:37	2334	[DEBUG]	Executed store
2023-10-13	13:03:37	2334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861826','0','106.685236768802','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:37	2334	[DEBUG]	Checking manufacturer
2023-10-13	13:03:37	2334	[DEBUG]	Load a row
2023-10-13	13:03:37	2334	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:37	2334	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:37	2334	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:37	2334	[DEBUG]	Executed store
2023-10-13	13:03:37	2334	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:37	2334	[DEBUG]	Manufacturer exists
2023-10-13	13:03:37	2334	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:37	2334	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:37	2334	[DEBUG]	Executed store
2023-10-13	13:03:37	2334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861826','26')
2023-10-13	13:03:37	2334	[DEBUG]	Find the custom field ID
2023-10-13	13:03:37	2334	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:37	2334	[DEBUG]	No custom field ID found
2023-10-13	13:03:37	2334	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:37	2334	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:37	2334	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861826 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:37	2334	[DEBUG]	Store custom available field
2023-10-13	13:03:37	2334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861826,3,'0',1)
2023-10-13	13:03:37	2334	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:37	2334	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:37	2334	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861826 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:37	2334	[DEBUG]	Store custom available field
2023-10-13	13:03:37	2334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861826,6,'choisir la taille',3)
2023-10-13	13:03:37	2334	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:37	2334	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:37	2334	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:37	2334	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:37	2334	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861826 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:37	2334	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:37	2334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861826,8,1)
2023-10-13	13:03:37	2334	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:37	2334	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861826\":[1861826,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861826
2023-10-13	13:03:37	2334	[DEBUG]	Checking category
2023-10-13	13:03:37	2334	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:37	2334	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861826
2023-10-13	13:03:37	2334	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:37	2334	[DEBUG]	Executed store
2023-10-13	13:03:37	2334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861826','7341')
2023-10-13	13:03:37	2334	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:37	2334	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861826 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:37	2334	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:37	2334	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861826
2023-10-13	13:03:37	2335	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:37	2335	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:37	2335	[DEBUG]	Use field value for field taille
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:37	2335	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:37	2335	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:37	2335	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:37	2335	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:37	2335	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:37	2335	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:37	2335	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:37	2335	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:37	2335	[DEBUG]	Use field value for field published
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:37	2335	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field override
2023-10-13	13:03:37	2335	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:37	2335	[DEBUG]	Use field value for field slug
2023-10-13	13:03:37	2335	[DEBUG]	Process line 2335
2023-10-13	13:03:37	2335	[DEBUG]	Load a row
2023-10-13	13:03:37	2335	[DEBUG]	Processing item: 4550170687038
2023-10-13	13:03:37	2335	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:37	2335	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:37	2335	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7282_1'
2023-10-13	13:03:37	2335	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:37	2335	[DEBUG]	Processing product tax
2023-10-13	13:03:37	2335	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:37	2335	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:37	2335	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:37	2335	[DEBUG]	Query for Product
2023-10-13	13:03:37	2335	[DEBUG]	Executed store
2023-10-13	13:03:37	2335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861826','4550170687038','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:37	2335	[DEBUG]	No parent found
2023-10-13	13:03:37	2335	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861826 AND customfield_value = 'stockable'
2023-10-13	13:03:37	2335	[DEBUG]	Check product language entry
2023-10-13	13:03:37	2335	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861827
2023-10-13	13:03:37	2335	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:37	2335	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170687038' AND `virtuemart_product_id` != 1861827
2023-10-13	13:03:37	2335	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:37	2335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861827, '4550170687038')
2023-10-13	13:03:37	2335	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:37	2335	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-deo-m6100-arriere-a-bl-m6100-pm-1700mm-plaque-resin-box-noir-unitaire' AND `virtuemart_product_id` != 1861827
2023-10-13	13:03:37	2335	[DEBUG]	Query for ProductLang
2023-10-13	13:03:37	2335	[DEBUG]	Executed store
2023-10-13	13:03:37	2335	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. DEO M6100 arriere a/BL-M6100 PM 1700mm plaque resin box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-deo-m6100-arriere-a-bl-m6100-pm-1700mm-plaque-resin-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861827'
2023-10-13	13:03:37	2335	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77875_001.jpg
2023-10-13	13:03:37	2335	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:37	2335	[DEBUG]	Process image file
2023-10-13	13:03:37	2335	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:37	2335	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:37	2335	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77875_001.jpg
2023-10-13	13:03:37	2335	[DEBUG]	Full name target: bcprisme/73_77875_001.jpg
2023-10-13	13:03:38	2335	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:38	2335	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77875_001.jpg'
2023-10-13	13:03:38	2335	[DEBUG]	Query for Media
2023-10-13	13:03:38	2335	[DEBUG]	Executed store
2023-10-13	13:03:38	2335	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77875_001.jpg',`file_url_thumb`='bcprisme/73_77875_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436711'
2023-10-13	13:03:38	2335	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:38	2335	[DEBUG]	Executed store
2023-10-13	13:03:38	2335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861827','436711','1')
2023-10-13	13:03:38	2335	[DEBUG]	Store product image relation
2023-10-13	13:03:38	2335	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:38	2335	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861827 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:38	2335	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:38	2335	[DEBUG]	Executed store
2023-10-13	13:03:38	2335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861827','0','106.685236768802','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:38	2335	[DEBUG]	Checking manufacturer
2023-10-13	13:03:38	2335	[DEBUG]	Load a row
2023-10-13	13:03:38	2335	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:38	2335	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:38	2335	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:38	2335	[DEBUG]	Executed store
2023-10-13	13:03:38	2335	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:38	2335	[DEBUG]	Manufacturer exists
2023-10-13	13:03:38	2335	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:38	2335	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:38	2335	[DEBUG]	Executed store
2023-10-13	13:03:38	2335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861827','26')
2023-10-13	13:03:38	2335	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:38	2335	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:38	2335	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861827 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:38	2335	[DEBUG]	Store custom available field
2023-10-13	13:03:38	2335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861827,3,'',1)
2023-10-13	13:03:38	2335	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:38	2335	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:38	2335	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861827 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:38	2335	[DEBUG]	Store custom available field
2023-10-13	13:03:38	2335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861827,6,'Unitaire',3)
2023-10-13	13:03:38	2335	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:38	2335	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:38	2335	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861826
2023-10-13	13:03:38	2335	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:38	2335	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861826\":[1861826,8,1,\"choisir la taille\"],\"1861827\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861826
2023-10-13	13:03:38	2335	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:38	2335	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861827
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:38	2336	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field taille
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:38	2336	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:38	2336	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:38	2336	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:38	2336	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:38	2336	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:38	2336	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field published
2023-10-13	13:03:38	2336	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:38	2336	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field override
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:38	2336	[DEBUG]	Use field value for field slug
2023-10-13	13:03:38	2336	[DEBUG]	Process line 2336
2023-10-13	13:03:38	2336	[DEBUG]	Load a row
2023-10-13	13:03:38	2336	[DEBUG]	Processing item: A_7283_1
2023-10-13	13:03:38	2336	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:38	2336	[DEBUG]	Processing product tax
2023-10-13	13:03:38	2336	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:38	2336	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:38	2336	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:39	2336	[DEBUG]	Query for Product
2023-10-13	13:03:39	2336	[DEBUG]	Executed store
2023-10-13	13:03:39	2336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7283_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:39	2336	[DEBUG]	Check product language entry
2023-10-13	13:03:39	2336	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861828
2023-10-13	13:03:39	2336	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:39	2336	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7283_1' AND `virtuemart_product_id` != 1861828
2023-10-13	13:03:39	2336	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:39	2336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861828, 'A_7283_1')
2023-10-13	13:03:39	2336	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:39	2336	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-deo-m6100-avant-a-bl-m6100-pm-1000mm-plaque-resin-box-noir' AND `virtuemart_product_id` != 1861828
2023-10-13	13:03:39	2336	[DEBUG]	Query for ProductLang
2023-10-13	13:03:39	2336	[DEBUG]	Executed store
2023-10-13	13:03:39	2336	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.77874',`product_name`='SHIMANO Set fr. à dis. DEO M6100 avant a/BL-M6100 PM 1000mm plaque resin box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-deo-m6100-avant-a-bl-m6100-pm-1000mm-plaque-resin-box-noir' WHERE `virtuemart_product_id` = '1861828'
2023-10-13	13:03:39	2336	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77875_001.jpg
2023-10-13	13:03:39	2336	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:39	2336	[DEBUG]	Process image file
2023-10-13	13:03:39	2336	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:39	2336	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:39	2336	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77875_001.jpg
2023-10-13	13:03:39	2336	[DEBUG]	Full name target: bcprisme/73_77875_001.jpg
2023-10-13	13:03:39	2336	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:39	2336	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77875_001.jpg'
2023-10-13	13:03:39	2336	[DEBUG]	Query for Media
2023-10-13	13:03:39	2336	[DEBUG]	Executed store
2023-10-13	13:03:39	2336	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77875_001.jpg',`file_url_thumb`='bcprisme/73_77875_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436711'
2023-10-13	13:03:39	2336	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:39	2336	[DEBUG]	Executed store
2023-10-13	13:03:39	2336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861828','436711','1')
2023-10-13	13:03:39	2336	[DEBUG]	Store product image relation
2023-10-13	13:03:39	2336	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:39	2336	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861828 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:39	2336	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:39	2336	[DEBUG]	Executed store
2023-10-13	13:03:39	2336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861828','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:39	2336	[DEBUG]	Checking manufacturer
2023-10-13	13:03:39	2336	[DEBUG]	Load a row
2023-10-13	13:03:39	2336	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:39	2336	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:40	2336	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:40	2336	[DEBUG]	Executed store
2023-10-13	13:03:40	2336	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:40	2336	[DEBUG]	Manufacturer exists
2023-10-13	13:03:40	2336	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:40	2336	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:40	2336	[DEBUG]	Executed store
2023-10-13	13:03:40	2336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861828','26')
2023-10-13	13:03:40	2336	[DEBUG]	Find the custom field ID
2023-10-13	13:03:40	2336	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:40	2336	[DEBUG]	No custom field ID found
2023-10-13	13:03:40	2336	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:40	2336	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:40	2336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861828 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:40	2336	[DEBUG]	Store custom available field
2023-10-13	13:03:40	2336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861828,3,'0',1)
2023-10-13	13:03:40	2336	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:40	2336	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:40	2336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861828 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:40	2336	[DEBUG]	Store custom available field
2023-10-13	13:03:40	2336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861828,6,'choisir la taille',3)
2023-10-13	13:03:40	2336	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:40	2336	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:40	2336	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:40	2336	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:40	2336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861828 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:40	2336	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:40	2336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861828,8,1)
2023-10-13	13:03:40	2336	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:40	2336	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861828\":[1861828,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861828
2023-10-13	13:03:40	2336	[DEBUG]	Checking category
2023-10-13	13:03:40	2336	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:40	2336	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861828
2023-10-13	13:03:40	2336	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:40	2336	[DEBUG]	Executed store
2023-10-13	13:03:40	2336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861828','7341')
2023-10-13	13:03:40	2336	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:40	2336	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861828 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:40	2336	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:40	2336	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861828
2023-10-13	13:03:40	2337	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:40	2337	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:40	2337	[DEBUG]	Use field value for field taille
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:40	2337	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:40	2337	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:40	2337	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:40	2337	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:40	2337	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:40	2337	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:40	2337	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:40	2337	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:40	2337	[DEBUG]	Use field value for field published
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:40	2337	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field override
2023-10-13	13:03:40	2337	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:40	2337	[DEBUG]	Use field value for field slug
2023-10-13	13:03:40	2337	[DEBUG]	Process line 2337
2023-10-13	13:03:40	2337	[DEBUG]	Load a row
2023-10-13	13:03:40	2337	[DEBUG]	Processing item: 4550170686987
2023-10-13	13:03:40	2337	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:40	2337	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:40	2337	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7283_1'
2023-10-13	13:03:40	2337	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:40	2337	[DEBUG]	Processing product tax
2023-10-13	13:03:40	2337	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:40	2337	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:40	2337	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:40	2337	[DEBUG]	Query for Product
2023-10-13	13:03:40	2337	[DEBUG]	Executed store
2023-10-13	13:03:40	2337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861828','4550170686987','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:40	2337	[DEBUG]	No parent found
2023-10-13	13:03:40	2337	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861828 AND customfield_value = 'stockable'
2023-10-13	13:03:40	2337	[DEBUG]	Check product language entry
2023-10-13	13:03:40	2337	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861829
2023-10-13	13:03:40	2337	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:40	2337	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170686987' AND `virtuemart_product_id` != 1861829
2023-10-13	13:03:40	2337	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:40	2337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861829, '4550170686987')
2023-10-13	13:03:40	2337	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:40	2337	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-deo-m6100-avant-a-bl-m6100-pm-1000mm-plaque-resin-box-noir-unitaire' AND `virtuemart_product_id` != 1861829
2023-10-13	13:03:40	2337	[DEBUG]	Query for ProductLang
2023-10-13	13:03:40	2337	[DEBUG]	Executed store
2023-10-13	13:03:40	2337	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. DEO M6100 avant a/BL-M6100 PM 1000mm plaque resin box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-deo-m6100-avant-a-bl-m6100-pm-1000mm-plaque-resin-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861829'
2023-10-13	13:03:40	2337	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77875_001.jpg
2023-10-13	13:03:40	2337	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:40	2337	[DEBUG]	Process image file
2023-10-13	13:03:40	2337	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:40	2337	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:40	2337	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77875_001.jpg
2023-10-13	13:03:40	2337	[DEBUG]	Full name target: bcprisme/73_77875_001.jpg
2023-10-13	13:03:41	2337	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:41	2337	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_77875_001.jpg'
2023-10-13	13:03:41	2337	[DEBUG]	Query for Media
2023-10-13	13:03:41	2337	[DEBUG]	Executed store
2023-10-13	13:03:41	2337	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_77875_001.jpg',`file_url_thumb`='bcprisme/73_77875_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436711'
2023-10-13	13:03:41	2337	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:41	2337	[DEBUG]	Executed store
2023-10-13	13:03:41	2337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861829','436711','1')
2023-10-13	13:03:41	2337	[DEBUG]	Store product image relation
2023-10-13	13:03:41	2337	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:41	2337	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861829 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:41	2337	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:41	2337	[DEBUG]	Executed store
2023-10-13	13:03:41	2337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861829','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:41	2337	[DEBUG]	Checking manufacturer
2023-10-13	13:03:41	2337	[DEBUG]	Load a row
2023-10-13	13:03:41	2337	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:41	2337	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:41	2337	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:41	2337	[DEBUG]	Executed store
2023-10-13	13:03:41	2337	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:41	2337	[DEBUG]	Manufacturer exists
2023-10-13	13:03:41	2337	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:41	2337	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:41	2337	[DEBUG]	Executed store
2023-10-13	13:03:41	2337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861829','26')
2023-10-13	13:03:41	2337	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:41	2337	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:41	2337	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861829 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:41	2337	[DEBUG]	Store custom available field
2023-10-13	13:03:41	2337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861829,3,'',1)
2023-10-13	13:03:41	2337	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:41	2337	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:41	2337	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861829 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:41	2337	[DEBUG]	Store custom available field
2023-10-13	13:03:41	2337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861829,6,'Unitaire',3)
2023-10-13	13:03:41	2337	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:41	2337	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:41	2337	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861828
2023-10-13	13:03:41	2337	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:41	2337	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861828\":[1861828,8,1,\"choisir la taille\"],\"1861829\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861828
2023-10-13	13:03:41	2337	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:41	2337	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861829
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:41	2338	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field taille
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:41	2338	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:41	2338	[DEBUG]	Use default value for field file_url
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:41	2338	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:41	2338	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:41	2338	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:41	2338	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:41	2338	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field published
2023-10-13	13:03:41	2338	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:41	2338	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field override
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:41	2338	[DEBUG]	Use field value for field slug
2023-10-13	13:03:41	2338	[DEBUG]	Process line 2338
2023-10-13	13:03:41	2338	[DEBUG]	Load a row
2023-10-13	13:03:41	2338	[DEBUG]	Processing item: A_7875_1
2023-10-13	13:03:41	2338	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:41	2338	[DEBUG]	Processing product tax
2023-10-13	13:03:41	2338	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:41	2338	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:41	2338	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:41	2338	[DEBUG]	Query for Product
2023-10-13	13:03:41	2338	[DEBUG]	Executed store
2023-10-13	13:03:41	2338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7875_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:41	2338	[DEBUG]	Check product language entry
2023-10-13	13:03:41	2338	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861830
2023-10-13	13:03:41	2338	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:41	2338	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7875_1' AND `virtuemart_product_id` != 1861830
2023-10-13	13:03:41	2338	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:41	2338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861830, 'A_7875_1')
2023-10-13	13:03:41	2338	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:41	2338	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tektro-set-de-freins-a-disque-av-auriga-sans-disque-ni-adaptateur-hd-m290-noir' AND `virtuemart_product_id` != 1861830
2023-10-13	13:03:41	2338	[DEBUG]	Query for ProductLang
2023-10-13	13:03:41	2338	[DEBUG]	Executed store
2023-10-13	13:03:41	2338	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 125614',`product_name`='Tektro Set de freins à disque AV AURIGA sans disque ni adaptateur/HD-M290 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tektro-set-de-freins-a-disque-av-auriga-sans-disque-ni-adaptateur-hd-m290-noir' WHERE `virtuemart_product_id` = '1861830'
2023-10-13	13:03:41	2338	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:41	2338	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861830 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:41	2338	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:41	2338	[DEBUG]	Executed store
2023-10-13	13:03:41	2338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861830','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:41	2338	[DEBUG]	Checking manufacturer
2023-10-13	13:03:41	2338	[DEBUG]	Load a row
2023-10-13	13:03:41	2338	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:41	2338	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:41	2338	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:41	2338	[DEBUG]	Executed store
2023-10-13	13:03:41	2338	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='81',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='81' WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:41	2338	[DEBUG]	Manufacturer exists
2023-10-13	13:03:41	2338	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 249
2023-10-13	13:03:41	2338	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:41	2338	[DEBUG]	Executed store
2023-10-13	13:03:41	2338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861830','249')
2023-10-13	13:03:41	2338	[DEBUG]	Find the custom field ID
2023-10-13	13:03:41	2338	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:41	2338	[DEBUG]	No custom field ID found
2023-10-13	13:03:41	2338	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:41	2338	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:41	2338	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861830 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:41	2338	[DEBUG]	Store custom available field
2023-10-13	13:03:41	2338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861830,3,'0',1)
2023-10-13	13:03:41	2338	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:41	2338	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:41	2338	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861830 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:41	2338	[DEBUG]	Store custom available field
2023-10-13	13:03:41	2338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861830,6,'choisir la taille',3)
2023-10-13	13:03:41	2338	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:41	2338	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:41	2338	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:41	2338	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:41	2338	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861830 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:41	2338	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:41	2338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861830,8,1)
2023-10-13	13:03:41	2338	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:41	2338	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861830\":[1861830,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861830
2023-10-13	13:03:41	2338	[DEBUG]	Checking category
2023-10-13	13:03:41	2338	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:41	2338	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861830
2023-10-13	13:03:41	2338	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:41	2338	[DEBUG]	Executed store
2023-10-13	13:03:41	2338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861830','7341')
2023-10-13	13:03:41	2338	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:41	2338	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861830 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:41	2338	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:41	2338	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861830
2023-10-13	13:03:41	2339	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:41	2339	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:41	2339	[DEBUG]	Use field value for field taille
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:41	2339	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:41	2339	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:41	2339	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field file_url
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:41	2339	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:41	2339	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:41	2339	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:41	2339	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:41	2339	[DEBUG]	Use field value for field published
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:41	2339	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field override
2023-10-13	13:03:41	2339	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:41	2339	[DEBUG]	Use field value for field slug
2023-10-13	13:03:41	2339	[DEBUG]	Process line 2339
2023-10-13	13:03:41	2339	[DEBUG]	Load a row
2023-10-13	13:03:41	2339	[DEBUG]	Processing item: 4717592030297
2023-10-13	13:03:41	2339	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:41	2339	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:41	2339	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7875_1'
2023-10-13	13:03:41	2339	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:41	2339	[DEBUG]	Processing product tax
2023-10-13	13:03:41	2339	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:41	2339	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:41	2339	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:41	2339	[DEBUG]	Query for Product
2023-10-13	13:03:41	2339	[DEBUG]	Executed store
2023-10-13	13:03:41	2339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861830','4717592030297','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:41	2339	[DEBUG]	No parent found
2023-10-13	13:03:41	2339	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861830 AND customfield_value = 'stockable'
2023-10-13	13:03:41	2339	[DEBUG]	Check product language entry
2023-10-13	13:03:41	2339	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861831
2023-10-13	13:03:41	2339	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:41	2339	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4717592030297' AND `virtuemart_product_id` != 1861831
2023-10-13	13:03:41	2339	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:41	2339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861831, '4717592030297')
2023-10-13	13:03:41	2339	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:41	2339	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tektro-set-de-freins-a-disque-av-auriga-sans-disque-ni-adaptateur-hd-m290-noir-unitaire' AND `virtuemart_product_id` != 1861831
2023-10-13	13:03:41	2339	[DEBUG]	Query for ProductLang
2023-10-13	13:03:41	2339	[DEBUG]	Executed store
2023-10-13	13:03:41	2339	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Tektro Set de freins à disque AV AURIGA sans disque ni adaptateur/HD-M290 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tektro-set-de-freins-a-disque-av-auriga-sans-disque-ni-adaptateur-hd-m290-noir-unitaire' WHERE `virtuemart_product_id` = '1861831'
2023-10-13	13:03:41	2339	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:41	2339	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861831 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:41	2339	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:41	2339	[DEBUG]	Executed store
2023-10-13	13:03:41	2339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861831','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:41	2339	[DEBUG]	Checking manufacturer
2023-10-13	13:03:41	2339	[DEBUG]	Load a row
2023-10-13	13:03:41	2339	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:41	2339	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:41	2339	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:41	2339	[DEBUG]	Executed store
2023-10-13	13:03:41	2339	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='81',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='81' WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:41	2339	[DEBUG]	Manufacturer exists
2023-10-13	13:03:41	2339	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 249
2023-10-13	13:03:41	2339	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:41	2339	[DEBUG]	Executed store
2023-10-13	13:03:41	2339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861831','249')
2023-10-13	13:03:41	2339	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:41	2339	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:41	2339	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861831 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:41	2339	[DEBUG]	Store custom available field
2023-10-13	13:03:41	2339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861831,3,'',1)
2023-10-13	13:03:41	2339	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:41	2339	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:41	2339	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861831 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:41	2339	[DEBUG]	Store custom available field
2023-10-13	13:03:41	2339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861831,6,'Unitaire',3)
2023-10-13	13:03:41	2339	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:41	2339	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:41	2339	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861830
2023-10-13	13:03:41	2339	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:41	2339	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861830\":[1861830,8,1,\"choisir la taille\"],\"1861831\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861830
2023-10-13	13:03:41	2339	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:41	2339	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861831
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:41	2340	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field taille
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:41	2340	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:41	2340	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:41	2340	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:41	2340	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:41	2340	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:41	2340	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field published
2023-10-13	13:03:41	2340	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:41	2340	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field override
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:41	2340	[DEBUG]	Use field value for field slug
2023-10-13	13:03:41	2340	[DEBUG]	Process line 2340
2023-10-13	13:03:41	2340	[DEBUG]	Load a row
2023-10-13	13:03:41	2340	[DEBUG]	Processing item: A_7879_1
2023-10-13	13:03:41	2340	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:41	2340	[DEBUG]	Processing product tax
2023-10-13	13:03:41	2340	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:41	2340	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:41	2340	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:41	2340	[DEBUG]	Query for Product
2023-10-13	13:03:41	2340	[DEBUG]	Executed store
2023-10-13	13:03:41	2340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7879_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:41	2340	[DEBUG]	Check product language entry
2023-10-13	13:03:41	2340	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861832
2023-10-13	13:03:41	2340	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:41	2340	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7879_1' AND `virtuemart_product_id` != 1861832
2023-10-13	13:03:41	2340	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:41	2340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861832, 'A_7879_1')
2023-10-13	13:03:41	2340	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:41	2340	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tektro-set-de-freins-a-disque-av-orion-4p-2-3mm-sans-disque-ni-adaptateur-hd-m750-noir' AND `virtuemart_product_id` != 1861832
2023-10-13	13:03:41	2340	[DEBUG]	Query for ProductLang
2023-10-13	13:03:41	2340	[DEBUG]	Executed store
2023-10-13	13:03:41	2340	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 125652',`product_name`='Tektro Set de freins à disque AV ORION 4P 2.3mm sans disque ni adaptateur/HD-M750 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tektro-set-de-freins-a-disque-av-orion-4p-2-3mm-sans-disque-ni-adaptateur-hd-m750-noir' WHERE `virtuemart_product_id` = '1861832'
2023-10-13	13:03:41	2340	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36293_set_de_freins_à_disque_av_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750.jpg
2023-10-13	13:03:41	2340	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:03:41	2340	[DEBUG]	Process image file
2023-10-13	13:03:41	2340	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:03:41	2340	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:41	2340	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36293_set_de_freins_à_disque_av_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750.jpg
2023-10-13	13:03:41	2340	[DEBUG]	Full name target: bcprisme/36293_set_de_freins_à_disque_av_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750.jpg
2023-10-13	13:03:42	2340	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:42	2340	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36293_set_de_freins_à_disque_av_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750.jpg'
2023-10-13	13:03:42	2340	[DEBUG]	Query for Media
2023-10-13	13:03:42	2340	[DEBUG]	Executed store
2023-10-13	13:03:42	2340	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36293_set_de_freins_à_disque_av_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750.jpg',`file_url_thumb`='bcprisme/36293_set_de_freins_à_disque_av_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1001171'
2023-10-13	13:03:42	2340	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:42	2340	[DEBUG]	Executed store
2023-10-13	13:03:42	2340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861832','1001171','1')
2023-10-13	13:03:42	2340	[DEBUG]	Store product image relation
2023-10-13	13:03:42	2340	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:42	2340	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861832 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:42	2340	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:42	2340	[DEBUG]	Executed store
2023-10-13	13:03:42	2340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861832','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:42	2340	[DEBUG]	Checking manufacturer
2023-10-13	13:03:42	2340	[DEBUG]	Load a row
2023-10-13	13:03:42	2340	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:42	2340	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:42	2340	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:42	2340	[DEBUG]	Executed store
2023-10-13	13:03:42	2340	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='81',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='81' WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:42	2340	[DEBUG]	Manufacturer exists
2023-10-13	13:03:42	2340	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 249
2023-10-13	13:03:42	2340	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:42	2340	[DEBUG]	Executed store
2023-10-13	13:03:42	2340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861832','249')
2023-10-13	13:03:42	2340	[DEBUG]	Find the custom field ID
2023-10-13	13:03:42	2340	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:42	2340	[DEBUG]	No custom field ID found
2023-10-13	13:03:42	2340	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:42	2340	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:42	2340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861832 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:42	2340	[DEBUG]	Store custom available field
2023-10-13	13:03:42	2340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861832,3,'0',1)
2023-10-13	13:03:42	2340	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:42	2340	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:42	2340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861832 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:42	2340	[DEBUG]	Store custom available field
2023-10-13	13:03:42	2340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861832,6,'choisir la taille',3)
2023-10-13	13:03:42	2340	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:42	2340	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:42	2340	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:42	2340	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:42	2340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861832 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:42	2340	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:42	2340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861832,8,1)
2023-10-13	13:03:42	2340	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:42	2340	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861832\":[1861832,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861832
2023-10-13	13:03:42	2340	[DEBUG]	Checking category
2023-10-13	13:03:42	2340	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:42	2340	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861832
2023-10-13	13:03:42	2340	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:42	2340	[DEBUG]	Executed store
2023-10-13	13:03:42	2340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861832','7341')
2023-10-13	13:03:42	2340	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:42	2340	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861832 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:42	2340	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:42	2340	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861832
2023-10-13	13:03:42	2341	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:42	2341	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:42	2341	[DEBUG]	Use field value for field taille
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:42	2341	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:42	2341	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:42	2341	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:42	2341	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:42	2341	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:42	2341	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:42	2341	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:42	2341	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:42	2341	[DEBUG]	Use field value for field published
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:42	2341	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field override
2023-10-13	13:03:42	2341	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:42	2341	[DEBUG]	Use field value for field slug
2023-10-13	13:03:42	2341	[DEBUG]	Process line 2341
2023-10-13	13:03:42	2341	[DEBUG]	Load a row
2023-10-13	13:03:42	2341	[DEBUG]	Processing item: 4717592030235
2023-10-13	13:03:42	2341	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:42	2341	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:42	2341	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7879_1'
2023-10-13	13:03:42	2341	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:42	2341	[DEBUG]	Processing product tax
2023-10-13	13:03:42	2341	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:42	2341	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:42	2341	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:42	2341	[DEBUG]	Query for Product
2023-10-13	13:03:42	2341	[DEBUG]	Executed store
2023-10-13	13:03:42	2341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861832','4717592030235','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:42	2341	[DEBUG]	No parent found
2023-10-13	13:03:42	2341	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861832 AND customfield_value = 'stockable'
2023-10-13	13:03:42	2341	[DEBUG]	Check product language entry
2023-10-13	13:03:42	2341	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861833
2023-10-13	13:03:42	2341	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:42	2341	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4717592030235' AND `virtuemart_product_id` != 1861833
2023-10-13	13:03:42	2341	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:42	2341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861833, '4717592030235')
2023-10-13	13:03:42	2341	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:42	2341	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tektro-set-de-freins-a-disque-av-orion-4p-2-3mm-sans-disque-ni-adaptateur-hd-m750-noir-unitaire' AND `virtuemart_product_id` != 1861833
2023-10-13	13:03:42	2341	[DEBUG]	Query for ProductLang
2023-10-13	13:03:42	2341	[DEBUG]	Executed store
2023-10-13	13:03:42	2341	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Tektro Set de freins à disque AV ORION 4P 2.3mm sans disque ni adaptateur/HD-M750 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tektro-set-de-freins-a-disque-av-orion-4p-2-3mm-sans-disque-ni-adaptateur-hd-m750-noir-unitaire' WHERE `virtuemart_product_id` = '1861833'
2023-10-13	13:03:42	2341	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36293_set_de_freins_à_disque_av_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750.jpg
2023-10-13	13:03:42	2341	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:03:42	2341	[DEBUG]	Process image file
2023-10-13	13:03:42	2341	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:03:42	2341	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:42	2341	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36293_set_de_freins_à_disque_av_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750.jpg
2023-10-13	13:03:42	2341	[DEBUG]	Full name target: bcprisme/36293_set_de_freins_à_disque_av_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750.jpg
2023-10-13	13:03:43	2341	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:43	2341	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36293_set_de_freins_à_disque_av_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750.jpg'
2023-10-13	13:03:43	2341	[DEBUG]	Query for Media
2023-10-13	13:03:43	2341	[DEBUG]	Executed store
2023-10-13	13:03:43	2341	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36293_set_de_freins_à_disque_av_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750.jpg',`file_url_thumb`='bcprisme/36293_set_de_freins_à_disque_av_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1001171'
2023-10-13	13:03:43	2341	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:43	2341	[DEBUG]	Executed store
2023-10-13	13:03:43	2341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861833','1001171','1')
2023-10-13	13:03:43	2341	[DEBUG]	Store product image relation
2023-10-13	13:03:43	2341	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:43	2341	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861833 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:43	2341	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:43	2341	[DEBUG]	Executed store
2023-10-13	13:03:43	2341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861833','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:43	2341	[DEBUG]	Checking manufacturer
2023-10-13	13:03:43	2341	[DEBUG]	Load a row
2023-10-13	13:03:43	2341	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:43	2341	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:43	2341	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:43	2341	[DEBUG]	Executed store
2023-10-13	13:03:43	2341	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='81',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='81' WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:43	2341	[DEBUG]	Manufacturer exists
2023-10-13	13:03:43	2341	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 249
2023-10-13	13:03:43	2341	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:43	2341	[DEBUG]	Executed store
2023-10-13	13:03:43	2341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861833','249')
2023-10-13	13:03:43	2341	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:43	2341	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:43	2341	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861833 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:43	2341	[DEBUG]	Store custom available field
2023-10-13	13:03:43	2341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861833,3,'',1)
2023-10-13	13:03:43	2341	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:43	2341	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:43	2341	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861833 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:43	2341	[DEBUG]	Store custom available field
2023-10-13	13:03:43	2341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861833,6,'Unitaire',3)
2023-10-13	13:03:43	2341	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:43	2341	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:43	2341	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861832
2023-10-13	13:03:43	2341	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:43	2341	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861832\":[1861832,8,1,\"choisir la taille\"],\"1861833\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861832
2023-10-13	13:03:43	2341	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:43	2341	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861833
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:43	2342	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field taille
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:43	2342	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:43	2342	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:43	2342	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:43	2342	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:43	2342	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:43	2342	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field published
2023-10-13	13:03:43	2342	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:43	2342	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field override
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:43	2342	[DEBUG]	Use field value for field slug
2023-10-13	13:03:43	2342	[DEBUG]	Process line 2342
2023-10-13	13:03:43	2342	[DEBUG]	Load a row
2023-10-13	13:03:43	2342	[DEBUG]	Processing item: A_7880_1
2023-10-13	13:03:43	2342	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:43	2342	[DEBUG]	Processing product tax
2023-10-13	13:03:43	2342	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:43	2342	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:43	2342	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:43	2342	[DEBUG]	Query for Product
2023-10-13	13:03:43	2342	[DEBUG]	Executed store
2023-10-13	13:03:43	2342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7880_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:43	2342	[DEBUG]	Check product language entry
2023-10-13	13:03:43	2342	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861834
2023-10-13	13:03:43	2342	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:43	2342	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7880_1' AND `virtuemart_product_id` != 1861834
2023-10-13	13:03:43	2342	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:43	2342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861834, 'A_7880_1')
2023-10-13	13:03:43	2342	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:43	2342	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tektro-set-de-freins-a-disque-ar-orion-4p-2-3mm-sans-disque-ni-adaptateur-hd-m750-copie-noir' AND `virtuemart_product_id` != 1861834
2023-10-13	13:03:43	2342	[DEBUG]	Query for ProductLang
2023-10-13	13:03:43	2342	[DEBUG]	Executed store
2023-10-13	13:03:43	2342	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 125653',`product_name`='Tektro Set de freins à disque AR ORION 4P 2.3mm sans disque ni adaptateur/HD-M750 (copie) / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tektro-set-de-freins-a-disque-ar-orion-4p-2-3mm-sans-disque-ni-adaptateur-hd-m750-copie-noir' WHERE `virtuemart_product_id` = '1861834'
2023-10-13	13:03:43	2342	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36294_set_de_freins_à_disque_ar_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750_(copie).jpg
2023-10-13	13:03:43	2342	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:03:43	2342	[DEBUG]	Process image file
2023-10-13	13:03:43	2342	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:03:43	2342	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:43	2342	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36294_set_de_freins_à_disque_ar_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750_(copie).jpg
2023-10-13	13:03:43	2342	[DEBUG]	Full name target: bcprisme/36294_set_de_freins_à_disque_ar_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750_(copie).jpg
2023-10-13	13:03:44	2342	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:44	2342	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36294_set_de_freins_à_disque_ar_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750_(copie).jpg'
2023-10-13	13:03:44	2342	[DEBUG]	Query for Media
2023-10-13	13:03:44	2342	[DEBUG]	Executed store
2023-10-13	13:03:44	2342	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36294_set_de_freins_à_disque_ar_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750_(copie).jpg',`file_url_thumb`='bcprisme/36294_set_de_freins_à_disque_ar_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1001173'
2023-10-13	13:03:44	2342	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:44	2342	[DEBUG]	Executed store
2023-10-13	13:03:44	2342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861834','1001173','1')
2023-10-13	13:03:44	2342	[DEBUG]	Store product image relation
2023-10-13	13:03:44	2342	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:44	2342	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861834 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:44	2342	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:44	2342	[DEBUG]	Executed store
2023-10-13	13:03:44	2342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861834','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:44	2342	[DEBUG]	Checking manufacturer
2023-10-13	13:03:44	2342	[DEBUG]	Load a row
2023-10-13	13:03:44	2342	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:44	2342	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:44	2342	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:44	2342	[DEBUG]	Executed store
2023-10-13	13:03:44	2342	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='81',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='81' WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:44	2342	[DEBUG]	Manufacturer exists
2023-10-13	13:03:44	2342	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 249
2023-10-13	13:03:44	2342	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:44	2342	[DEBUG]	Executed store
2023-10-13	13:03:44	2342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861834','249')
2023-10-13	13:03:44	2342	[DEBUG]	Find the custom field ID
2023-10-13	13:03:44	2342	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:44	2342	[DEBUG]	No custom field ID found
2023-10-13	13:03:44	2342	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:44	2342	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:44	2342	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861834 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:44	2342	[DEBUG]	Store custom available field
2023-10-13	13:03:44	2342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861834,3,'0',1)
2023-10-13	13:03:44	2342	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:44	2342	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:44	2342	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861834 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:44	2342	[DEBUG]	Store custom available field
2023-10-13	13:03:44	2342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861834,6,'choisir la taille',3)
2023-10-13	13:03:44	2342	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:44	2342	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:44	2342	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:44	2342	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:44	2342	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861834 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:44	2342	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:44	2342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861834,8,1)
2023-10-13	13:03:44	2342	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:44	2342	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861834\":[1861834,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861834
2023-10-13	13:03:44	2342	[DEBUG]	Checking category
2023-10-13	13:03:44	2342	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:44	2342	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861834
2023-10-13	13:03:44	2342	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:44	2342	[DEBUG]	Executed store
2023-10-13	13:03:44	2342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861834','7341')
2023-10-13	13:03:44	2342	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:44	2342	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861834 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:44	2342	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:44	2342	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861834
2023-10-13	13:03:44	2343	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:44	2343	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:44	2343	[DEBUG]	Use field value for field taille
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:44	2343	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:44	2343	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:44	2343	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:44	2343	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:44	2343	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:44	2343	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:44	2343	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:44	2343	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:44	2343	[DEBUG]	Use field value for field published
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:44	2343	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field override
2023-10-13	13:03:44	2343	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:44	2343	[DEBUG]	Use field value for field slug
2023-10-13	13:03:44	2343	[DEBUG]	Process line 2343
2023-10-13	13:03:44	2343	[DEBUG]	Load a row
2023-10-13	13:03:44	2343	[DEBUG]	Processing item: 4717592030242
2023-10-13	13:03:44	2343	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:44	2343	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:44	2343	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7880_1'
2023-10-13	13:03:44	2343	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:44	2343	[DEBUG]	Processing product tax
2023-10-13	13:03:44	2343	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:44	2343	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:44	2343	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:44	2343	[DEBUG]	Query for Product
2023-10-13	13:03:44	2343	[DEBUG]	Executed store
2023-10-13	13:03:44	2343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861834','4717592030242','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:44	2343	[DEBUG]	No parent found
2023-10-13	13:03:44	2343	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861834 AND customfield_value = 'stockable'
2023-10-13	13:03:44	2343	[DEBUG]	Check product language entry
2023-10-13	13:03:44	2343	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861835
2023-10-13	13:03:44	2343	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:44	2343	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4717592030242' AND `virtuemart_product_id` != 1861835
2023-10-13	13:03:44	2343	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:44	2343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861835, '4717592030242')
2023-10-13	13:03:44	2343	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:44	2343	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tektro-set-de-freins-a-disque-ar-orion-4p-2-3mm-sans-disque-ni-adaptateur-hd-m750-copie-noir-unitaire' AND `virtuemart_product_id` != 1861835
2023-10-13	13:03:44	2343	[DEBUG]	Query for ProductLang
2023-10-13	13:03:44	2343	[DEBUG]	Executed store
2023-10-13	13:03:44	2343	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Tektro Set de freins à disque AR ORION 4P 2.3mm sans disque ni adaptateur/HD-M750 (copie) / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tektro-set-de-freins-a-disque-ar-orion-4p-2-3mm-sans-disque-ni-adaptateur-hd-m750-copie-noir-unitaire' WHERE `virtuemart_product_id` = '1861835'
2023-10-13	13:03:44	2343	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36294_set_de_freins_à_disque_ar_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750_(copie).jpg
2023-10-13	13:03:44	2343	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:03:44	2343	[DEBUG]	Process image file
2023-10-13	13:03:44	2343	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:03:44	2343	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:44	2343	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36294_set_de_freins_à_disque_ar_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750_(copie).jpg
2023-10-13	13:03:44	2343	[DEBUG]	Full name target: bcprisme/36294_set_de_freins_à_disque_ar_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750_(copie).jpg
2023-10-13	13:03:45	2343	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:45	2343	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36294_set_de_freins_à_disque_ar_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750_(copie).jpg'
2023-10-13	13:03:45	2343	[DEBUG]	Query for Media
2023-10-13	13:03:45	2343	[DEBUG]	Executed store
2023-10-13	13:03:45	2343	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36294_set_de_freins_à_disque_ar_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750_(copie).jpg',`file_url_thumb`='bcprisme/36294_set_de_freins_à_disque_ar_orion_4p_2_3mm_sans_disque_ni_adaptateur-hd-m750_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1001173'
2023-10-13	13:03:45	2343	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:45	2343	[DEBUG]	Executed store
2023-10-13	13:03:45	2343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861835','1001173','1')
2023-10-13	13:03:45	2343	[DEBUG]	Store product image relation
2023-10-13	13:03:45	2343	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:45	2343	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861835 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:45	2343	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:45	2343	[DEBUG]	Executed store
2023-10-13	13:03:45	2343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861835','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:45	2343	[DEBUG]	Checking manufacturer
2023-10-13	13:03:45	2343	[DEBUG]	Load a row
2023-10-13	13:03:45	2343	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:45	2343	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:45	2343	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:45	2343	[DEBUG]	Executed store
2023-10-13	13:03:45	2343	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='81',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='81' WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:45	2343	[DEBUG]	Manufacturer exists
2023-10-13	13:03:45	2343	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 249
2023-10-13	13:03:45	2343	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:45	2343	[DEBUG]	Executed store
2023-10-13	13:03:45	2343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861835','249')
2023-10-13	13:03:45	2343	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:45	2343	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:45	2343	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861835 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:45	2343	[DEBUG]	Store custom available field
2023-10-13	13:03:45	2343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861835,3,'',1)
2023-10-13	13:03:45	2343	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:45	2343	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:45	2343	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861835 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:45	2343	[DEBUG]	Store custom available field
2023-10-13	13:03:45	2343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861835,6,'Unitaire',3)
2023-10-13	13:03:45	2343	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:45	2343	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:45	2343	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861834
2023-10-13	13:03:45	2343	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:45	2343	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861834\":[1861834,8,1,\"choisir la taille\"],\"1861835\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861834
2023-10-13	13:03:45	2343	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:45	2343	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861835
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:45	2344	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field taille
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:45	2344	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:45	2344	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:45	2344	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:45	2344	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:45	2344	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:45	2344	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field published
2023-10-13	13:03:45	2344	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:45	2344	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field override
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:45	2344	[DEBUG]	Use field value for field slug
2023-10-13	13:03:45	2344	[DEBUG]	Process line 2344
2023-10-13	13:03:45	2344	[DEBUG]	Load a row
2023-10-13	13:03:45	2344	[DEBUG]	Processing item: A_8110_1
2023-10-13	13:03:45	2344	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:45	2344	[DEBUG]	Processing product tax
2023-10-13	13:03:45	2344	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:45	2344	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:45	2344	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:45	2344	[DEBUG]	Query for Product
2023-10-13	13:03:45	2344	[DEBUG]	Executed store
2023-10-13	13:03:45	2344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8110_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:45	2344	[DEBUG]	Check product language entry
2023-10-13	13:03:45	2344	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861836
2023-10-13	13:03:45	2344	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:45	2344	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8110_1' AND `virtuemart_product_id` != 1861836
2023-10-13	13:03:45	2344	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:45	2344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861836, 'A_8110_1')
2023-10-13	13:03:45	2344	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:45	2344	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-mt401-arriere-a-bl-mt401-pm-pla-de-frein-re-noir-box-noir' AND `virtuemart_product_id` != 1861836
2023-10-13	13:03:45	2344	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:03:45	2344	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'shimano-set-fr-a-dis-mt401-arriere-a-bl-mt401-pm-pla-de-frein-re-noir-box-noir', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'shimano-set-fr-a-dis-mt401-arriere-a-bl-mt401-pm-pla-de-frein-re-noir-box-noir' OR `slug` LIKE 'shimano-set-fr-a-dis-mt401-arriere-a-bl-mt401-pm-pla-de-frein-re-noir-box-noir-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1861836 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:03:45	2344	[DEBUG]	Query for ProductLang
2023-10-13	13:03:45	2344	[DEBUG]	Executed store
2023-10-13	13:03:45	2344	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.79338',`product_name`='SHIMANO Set fr. à dis. MT401 arrière a/BL-MT401 PM pla. de frein ré. noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-mt401-arriere-a-bl-mt401-pm-pla-de-frein-re-noir-box-noir-1' WHERE `virtuemart_product_id` = '1861836'
2023-10-13	13:03:45	2344	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_79337_002_jpg.jpg
2023-10-13	13:03:45	2344	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:03:45	2344	[DEBUG]	Process image file
2023-10-13	13:03:45	2344	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:03:45	2344	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:45	2344	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_79337_002_jpg.jpg
2023-10-13	13:03:45	2344	[DEBUG]	Full name target: bcprisme/73_79337_002_jpg.jpg
2023-10-13	13:03:46	2344	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:46	2344	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_79337_002_jpg.jpg'
2023-10-13	13:03:46	2344	[DEBUG]	Query for Media
2023-10-13	13:03:46	2344	[DEBUG]	Executed store
2023-10-13	13:03:46	2344	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_79337_002_jpg.jpg',`file_url_thumb`='bcprisme/73_79337_002_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '676317'
2023-10-13	13:03:46	2344	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:46	2344	[DEBUG]	Executed store
2023-10-13	13:03:46	2344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861836','676317','1')
2023-10-13	13:03:46	2344	[DEBUG]	Store product image relation
2023-10-13	13:03:46	2344	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:46	2344	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861836 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:46	2344	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:46	2344	[DEBUG]	Executed store
2023-10-13	13:03:46	2344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861836','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:46	2344	[DEBUG]	Checking manufacturer
2023-10-13	13:03:46	2344	[DEBUG]	Load a row
2023-10-13	13:03:46	2344	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:46	2344	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:46	2344	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:46	2344	[DEBUG]	Executed store
2023-10-13	13:03:46	2344	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:46	2344	[DEBUG]	Manufacturer exists
2023-10-13	13:03:46	2344	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:46	2344	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:46	2344	[DEBUG]	Executed store
2023-10-13	13:03:46	2344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861836','26')
2023-10-13	13:03:46	2344	[DEBUG]	Find the custom field ID
2023-10-13	13:03:46	2344	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:46	2344	[DEBUG]	No custom field ID found
2023-10-13	13:03:46	2344	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:46	2344	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:46	2344	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861836 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:46	2344	[DEBUG]	Store custom available field
2023-10-13	13:03:46	2344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861836,3,'0',1)
2023-10-13	13:03:46	2344	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:46	2344	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:46	2344	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861836 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:46	2344	[DEBUG]	Store custom available field
2023-10-13	13:03:46	2344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861836,6,'choisir la taille',3)
2023-10-13	13:03:46	2344	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:46	2344	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:46	2344	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:46	2344	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:46	2344	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861836 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:46	2344	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:46	2344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861836,8,1)
2023-10-13	13:03:46	2344	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:46	2344	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861836\":[1861836,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861836
2023-10-13	13:03:46	2344	[DEBUG]	Checking category
2023-10-13	13:03:46	2344	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:46	2344	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861836
2023-10-13	13:03:46	2344	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:46	2344	[DEBUG]	Executed store
2023-10-13	13:03:46	2344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861836','7341')
2023-10-13	13:03:46	2344	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:46	2344	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861836 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:46	2344	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:46	2344	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861836
2023-10-13	13:03:46	2345	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:46	2345	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:46	2345	[DEBUG]	Use field value for field taille
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:46	2345	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:46	2345	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:46	2345	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:46	2345	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:46	2345	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:46	2345	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:46	2345	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:46	2345	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:46	2345	[DEBUG]	Use field value for field published
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:46	2345	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field override
2023-10-13	13:03:46	2345	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:46	2345	[DEBUG]	Use field value for field slug
2023-10-13	13:03:46	2345	[DEBUG]	Process line 2345
2023-10-13	13:03:46	2345	[DEBUG]	Load a row
2023-10-13	13:03:46	2345	[DEBUG]	Processing item: 4550170621575
2023-10-13	13:03:46	2345	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:46	2345	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:46	2345	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8110_1'
2023-10-13	13:03:46	2345	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:46	2345	[DEBUG]	Processing product tax
2023-10-13	13:03:46	2345	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:46	2345	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:46	2345	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:46	2345	[DEBUG]	Query for Product
2023-10-13	13:03:46	2345	[DEBUG]	Executed store
2023-10-13	13:03:46	2345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861836','4550170621575','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:46	2345	[DEBUG]	No parent found
2023-10-13	13:03:46	2345	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861836 AND customfield_value = 'stockable'
2023-10-13	13:03:46	2345	[DEBUG]	Check product language entry
2023-10-13	13:03:46	2345	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861837
2023-10-13	13:03:46	2345	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:46	2345	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170621575' AND `virtuemart_product_id` != 1861837
2023-10-13	13:03:46	2345	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:46	2345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861837, '4550170621575')
2023-10-13	13:03:46	2345	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:46	2345	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-mt401-arriere-a-bl-mt401-pm-pla-de-frein-re-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1861837
2023-10-13	13:03:46	2345	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:03:46	2345	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'shimano-set-fr-a-dis-mt401-arriere-a-bl-mt401-pm-pla-de-frein-re-noir-box-noir-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'shimano-set-fr-a-dis-mt401-arriere-a-bl-mt401-pm-pla-de-frein-re-noir-box-noir-unitaire' OR `slug` LIKE 'shimano-set-fr-a-dis-mt401-arriere-a-bl-mt401-pm-pla-de-frein-re-noir-box-noir-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1861837 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:03:46	2345	[DEBUG]	Query for ProductLang
2023-10-13	13:03:46	2345	[DEBUG]	Executed store
2023-10-13	13:03:46	2345	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. MT401 arrière a/BL-MT401 PM pla. de frein ré. noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-mt401-arriere-a-bl-mt401-pm-pla-de-frein-re-noir-box-noir-unitaire-1' WHERE `virtuemart_product_id` = '1861837'
2023-10-13	13:03:46	2345	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_79337_002_jpg.jpg
2023-10-13	13:03:46	2345	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:03:46	2345	[DEBUG]	Process image file
2023-10-13	13:03:46	2345	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:03:46	2345	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:46	2345	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_79337_002_jpg.jpg
2023-10-13	13:03:46	2345	[DEBUG]	Full name target: bcprisme/73_79337_002_jpg.jpg
2023-10-13	13:03:47	2345	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:47	2345	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_79337_002_jpg.jpg'
2023-10-13	13:03:47	2345	[DEBUG]	Query for Media
2023-10-13	13:03:47	2345	[DEBUG]	Executed store
2023-10-13	13:03:47	2345	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_79337_002_jpg.jpg',`file_url_thumb`='bcprisme/73_79337_002_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '676317'
2023-10-13	13:03:47	2345	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:47	2345	[DEBUG]	Executed store
2023-10-13	13:03:47	2345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861837','676317','1')
2023-10-13	13:03:47	2345	[DEBUG]	Store product image relation
2023-10-13	13:03:47	2345	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:47	2345	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861837 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:47	2345	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:47	2345	[DEBUG]	Executed store
2023-10-13	13:03:47	2345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861837','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:47	2345	[DEBUG]	Checking manufacturer
2023-10-13	13:03:47	2345	[DEBUG]	Load a row
2023-10-13	13:03:47	2345	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:47	2345	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:47	2345	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:47	2345	[DEBUG]	Executed store
2023-10-13	13:03:47	2345	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:47	2345	[DEBUG]	Manufacturer exists
2023-10-13	13:03:47	2345	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:47	2345	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:47	2345	[DEBUG]	Executed store
2023-10-13	13:03:47	2345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861837','26')
2023-10-13	13:03:47	2345	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:47	2345	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:47	2345	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861837 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:47	2345	[DEBUG]	Store custom available field
2023-10-13	13:03:47	2345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861837,3,'',1)
2023-10-13	13:03:47	2345	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:47	2345	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:47	2345	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861837 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:47	2345	[DEBUG]	Store custom available field
2023-10-13	13:03:47	2345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861837,6,'Unitaire',3)
2023-10-13	13:03:47	2345	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:47	2345	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:47	2345	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861836
2023-10-13	13:03:47	2345	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:47	2345	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861836\":[1861836,8,1,\"choisir la taille\"],\"1861837\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861836
2023-10-13	13:03:47	2345	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:47	2345	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861837
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:47	2346	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field taille
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:47	2346	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:47	2346	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:47	2346	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:47	2346	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:47	2346	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:47	2346	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field published
2023-10-13	13:03:47	2346	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:47	2346	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field override
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:47	2346	[DEBUG]	Use field value for field slug
2023-10-13	13:03:47	2346	[DEBUG]	Process line 2346
2023-10-13	13:03:47	2346	[DEBUG]	Load a row
2023-10-13	13:03:47	2346	[DEBUG]	Processing item: A_8319_1
2023-10-13	13:03:47	2346	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:47	2346	[DEBUG]	Processing product tax
2023-10-13	13:03:47	2346	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:47	2346	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:47	2346	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:47	2346	[DEBUG]	Query for Product
2023-10-13	13:03:47	2346	[DEBUG]	Executed store
2023-10-13	13:03:47	2346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8319_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:47	2346	[DEBUG]	Check product language entry
2023-10-13	13:03:47	2346	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861838
2023-10-13	13:03:47	2346	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:47	2346	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8319_1' AND `virtuemart_product_id` != 1861838
2023-10-13	13:03:47	2346	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:47	2346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861838, 'A_8319_1')
2023-10-13	13:03:47	2346	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:47	2346	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-xt-m8100-arriere-a-bl-m8100-pm-1700mm-plaque-resin-box-noir' AND `virtuemart_product_id` != 1861838
2023-10-13	13:03:47	2346	[DEBUG]	Query for ProductLang
2023-10-13	13:03:47	2346	[DEBUG]	Executed store
2023-10-13	13:03:47	2346	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75139',`product_name`='SHIMANO Set fr. à dis. XT M8100 arriere a/BL-M8100 PM 1700mm plaque resin box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-xt-m8100-arriere-a-bl-m8100-pm-1700mm-plaque-resin-box-noir' WHERE `virtuemart_product_id` = '1861838'
2023-10-13	13:03:47	2346	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75140_jpg.jpg has not been found.
2023-10-13	13:03:47	2346	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:47	2346	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861838 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:47	2346	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:47	2346	[DEBUG]	Executed store
2023-10-13	13:03:47	2346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861838','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:47	2346	[DEBUG]	Checking manufacturer
2023-10-13	13:03:47	2346	[DEBUG]	Load a row
2023-10-13	13:03:47	2346	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:47	2346	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:47	2346	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:47	2346	[DEBUG]	Executed store
2023-10-13	13:03:47	2346	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:47	2346	[DEBUG]	Manufacturer exists
2023-10-13	13:03:47	2346	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:47	2346	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:47	2346	[DEBUG]	Executed store
2023-10-13	13:03:47	2346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861838','26')
2023-10-13	13:03:47	2346	[DEBUG]	Find the custom field ID
2023-10-13	13:03:47	2346	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:47	2346	[DEBUG]	No custom field ID found
2023-10-13	13:03:47	2346	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:47	2346	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:47	2346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861838 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:47	2346	[DEBUG]	Store custom available field
2023-10-13	13:03:47	2346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861838,3,'0',1)
2023-10-13	13:03:47	2346	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:47	2346	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:47	2346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861838 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:47	2346	[DEBUG]	Store custom available field
2023-10-13	13:03:47	2346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861838,6,'choisir la taille',3)
2023-10-13	13:03:47	2346	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:47	2346	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:47	2346	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:47	2346	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:47	2346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861838 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:47	2346	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:47	2346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861838,8,1)
2023-10-13	13:03:47	2346	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:47	2346	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861838\":[1861838,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861838
2023-10-13	13:03:47	2346	[DEBUG]	Checking category
2023-10-13	13:03:47	2346	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:47	2346	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861838
2023-10-13	13:03:47	2346	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:47	2346	[DEBUG]	Executed store
2023-10-13	13:03:47	2346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861838','7341')
2023-10-13	13:03:47	2346	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:47	2346	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861838 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:47	2346	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:47	2346	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861838
2023-10-13	13:03:47	2347	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:47	2347	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:47	2347	[DEBUG]	Use field value for field taille
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:47	2347	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:47	2347	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:47	2347	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:47	2347	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:47	2347	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:47	2347	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:47	2347	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:47	2347	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:47	2347	[DEBUG]	Use field value for field published
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:47	2347	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field override
2023-10-13	13:03:47	2347	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:47	2347	[DEBUG]	Use field value for field slug
2023-10-13	13:03:47	2347	[DEBUG]	Process line 2347
2023-10-13	13:03:47	2347	[DEBUG]	Load a row
2023-10-13	13:03:47	2347	[DEBUG]	Processing item: 4550170445904
2023-10-13	13:03:47	2347	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:47	2347	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:47	2347	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8319_1'
2023-10-13	13:03:47	2347	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:47	2347	[DEBUG]	Processing product tax
2023-10-13	13:03:47	2347	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:47	2347	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:47	2347	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:47	2347	[DEBUG]	Query for Product
2023-10-13	13:03:47	2347	[DEBUG]	Executed store
2023-10-13	13:03:47	2347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861838','4550170445904','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:47	2347	[DEBUG]	No parent found
2023-10-13	13:03:47	2347	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861838 AND customfield_value = 'stockable'
2023-10-13	13:03:47	2347	[DEBUG]	Check product language entry
2023-10-13	13:03:47	2347	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861839
2023-10-13	13:03:47	2347	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:47	2347	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170445904' AND `virtuemart_product_id` != 1861839
2023-10-13	13:03:47	2347	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:47	2347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861839, '4550170445904')
2023-10-13	13:03:47	2347	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:47	2347	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-xt-m8100-arriere-a-bl-m8100-pm-1700mm-plaque-resin-box-noir-unitaire' AND `virtuemart_product_id` != 1861839
2023-10-13	13:03:47	2347	[DEBUG]	Query for ProductLang
2023-10-13	13:03:47	2347	[DEBUG]	Executed store
2023-10-13	13:03:47	2347	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. XT M8100 arriere a/BL-M8100 PM 1700mm plaque resin box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-xt-m8100-arriere-a-bl-m8100-pm-1700mm-plaque-resin-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861839'
2023-10-13	13:03:47	2347	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75140_jpg.jpg has not been found.
2023-10-13	13:03:47	2347	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:47	2347	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861839 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:47	2347	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:47	2347	[DEBUG]	Executed store
2023-10-13	13:03:47	2347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861839','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:47	2347	[DEBUG]	Checking manufacturer
2023-10-13	13:03:47	2347	[DEBUG]	Load a row
2023-10-13	13:03:47	2347	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:47	2347	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:47	2347	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:47	2347	[DEBUG]	Executed store
2023-10-13	13:03:47	2347	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:47	2347	[DEBUG]	Manufacturer exists
2023-10-13	13:03:47	2347	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:47	2347	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:47	2347	[DEBUG]	Executed store
2023-10-13	13:03:47	2347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861839','26')
2023-10-13	13:03:47	2347	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:47	2347	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:47	2347	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861839 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:47	2347	[DEBUG]	Store custom available field
2023-10-13	13:03:47	2347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861839,3,'',1)
2023-10-13	13:03:47	2347	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:47	2347	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:47	2347	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861839 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:47	2347	[DEBUG]	Store custom available field
2023-10-13	13:03:47	2347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861839,6,'Unitaire',3)
2023-10-13	13:03:47	2347	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:47	2347	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:47	2347	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861838
2023-10-13	13:03:47	2347	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:47	2347	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861838\":[1861838,8,1,\"choisir la taille\"],\"1861839\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861838
2023-10-13	13:03:47	2347	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:47	2347	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861839
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:47	2348	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field taille
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:47	2348	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:47	2348	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:47	2348	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:47	2348	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:47	2348	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:47	2348	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field published
2023-10-13	13:03:47	2348	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:47	2348	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field override
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:47	2348	[DEBUG]	Use field value for field slug
2023-10-13	13:03:47	2348	[DEBUG]	Process line 2348
2023-10-13	13:03:47	2348	[DEBUG]	Load a row
2023-10-13	13:03:47	2348	[DEBUG]	Processing item: A_8320_1
2023-10-13	13:03:47	2348	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:47	2348	[DEBUG]	Processing product tax
2023-10-13	13:03:47	2348	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:47	2348	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:47	2348	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:47	2348	[DEBUG]	Query for Product
2023-10-13	13:03:47	2348	[DEBUG]	Executed store
2023-10-13	13:03:47	2348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8320_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:47	2348	[DEBUG]	Check product language entry
2023-10-13	13:03:47	2348	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861840
2023-10-13	13:03:47	2348	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:47	2348	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8320_1' AND `virtuemart_product_id` != 1861840
2023-10-13	13:03:47	2348	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:47	2348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861840, 'A_8320_1')
2023-10-13	13:03:47	2348	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:47	2348	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-xt-m8100-avant-a-bl-m8100-pm-1000mm-plaque-resin-box-noir' AND `virtuemart_product_id` != 1861840
2023-10-13	13:03:47	2348	[DEBUG]	Query for ProductLang
2023-10-13	13:03:47	2348	[DEBUG]	Executed store
2023-10-13	13:03:47	2348	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75140',`product_name`='SHIMANO Set fr. à dis. XT M8100 avant a/BL-M8100 PM 1000mm plaque resin box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-xt-m8100-avant-a-bl-m8100-pm-1000mm-plaque-resin-box-noir' WHERE `virtuemart_product_id` = '1861840'
2023-10-13	13:03:47	2348	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75140_jpg.jpg has not been found.
2023-10-13	13:03:47	2348	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:47	2348	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861840 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:47	2348	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:47	2348	[DEBUG]	Executed store
2023-10-13	13:03:47	2348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861840','0','143.918291550604','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:47	2348	[DEBUG]	Checking manufacturer
2023-10-13	13:03:47	2348	[DEBUG]	Load a row
2023-10-13	13:03:47	2348	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:47	2348	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:47	2348	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:47	2348	[DEBUG]	Executed store
2023-10-13	13:03:47	2348	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:47	2348	[DEBUG]	Manufacturer exists
2023-10-13	13:03:47	2348	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:47	2348	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:47	2348	[DEBUG]	Executed store
2023-10-13	13:03:47	2348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861840','26')
2023-10-13	13:03:47	2348	[DEBUG]	Find the custom field ID
2023-10-13	13:03:47	2348	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:47	2348	[DEBUG]	No custom field ID found
2023-10-13	13:03:47	2348	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:47	2348	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:47	2348	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861840 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:47	2348	[DEBUG]	Store custom available field
2023-10-13	13:03:47	2348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861840,3,'0',1)
2023-10-13	13:03:47	2348	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:47	2348	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:47	2348	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861840 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:47	2348	[DEBUG]	Store custom available field
2023-10-13	13:03:47	2348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861840,6,'choisir la taille',3)
2023-10-13	13:03:47	2348	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:47	2348	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:47	2348	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:47	2348	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:47	2348	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861840 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:47	2348	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:47	2348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861840,8,1)
2023-10-13	13:03:47	2348	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:47	2348	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861840\":[1861840,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861840
2023-10-13	13:03:47	2348	[DEBUG]	Checking category
2023-10-13	13:03:47	2348	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:47	2348	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861840
2023-10-13	13:03:47	2348	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:47	2348	[DEBUG]	Executed store
2023-10-13	13:03:47	2348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861840','7341')
2023-10-13	13:03:47	2348	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:47	2348	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861840 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:47	2348	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:47	2348	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861840
2023-10-13	13:03:47	2349	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:47	2349	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:47	2349	[DEBUG]	Use field value for field taille
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:47	2349	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:47	2349	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:47	2349	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:47	2349	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:47	2349	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:47	2349	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:47	2349	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:47	2349	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:47	2349	[DEBUG]	Use field value for field published
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:47	2349	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field override
2023-10-13	13:03:47	2349	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:47	2349	[DEBUG]	Use field value for field slug
2023-10-13	13:03:47	2349	[DEBUG]	Process line 2349
2023-10-13	13:03:47	2349	[DEBUG]	Load a row
2023-10-13	13:03:47	2349	[DEBUG]	Processing item: 4550170445881
2023-10-13	13:03:47	2349	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:47	2349	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:47	2349	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8320_1'
2023-10-13	13:03:47	2349	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:47	2349	[DEBUG]	Processing product tax
2023-10-13	13:03:47	2349	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:47	2349	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:47	2349	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:47	2349	[DEBUG]	Query for Product
2023-10-13	13:03:47	2349	[DEBUG]	Executed store
2023-10-13	13:03:47	2349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861840','4550170445881','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:47	2349	[DEBUG]	No parent found
2023-10-13	13:03:47	2349	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861840 AND customfield_value = 'stockable'
2023-10-13	13:03:47	2349	[DEBUG]	Check product language entry
2023-10-13	13:03:47	2349	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861841
2023-10-13	13:03:47	2349	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:47	2349	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170445881' AND `virtuemart_product_id` != 1861841
2023-10-13	13:03:47	2349	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:47	2349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861841, '4550170445881')
2023-10-13	13:03:47	2349	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:47	2349	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-xt-m8100-avant-a-bl-m8100-pm-1000mm-plaque-resin-box-noir-unitaire' AND `virtuemart_product_id` != 1861841
2023-10-13	13:03:47	2349	[DEBUG]	Query for ProductLang
2023-10-13	13:03:47	2349	[DEBUG]	Executed store
2023-10-13	13:03:47	2349	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. XT M8100 avant a/BL-M8100 PM 1000mm plaque resin box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-xt-m8100-avant-a-bl-m8100-pm-1000mm-plaque-resin-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861841'
2023-10-13	13:03:47	2349	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75140_jpg.jpg has not been found.
2023-10-13	13:03:47	2349	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:47	2349	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861841 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:47	2349	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:47	2349	[DEBUG]	Executed store
2023-10-13	13:03:47	2349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861841','0','143.918291550604','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:47	2349	[DEBUG]	Checking manufacturer
2023-10-13	13:03:47	2349	[DEBUG]	Load a row
2023-10-13	13:03:47	2349	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:47	2349	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:47	2349	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:47	2349	[DEBUG]	Executed store
2023-10-13	13:03:47	2349	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:47	2349	[DEBUG]	Manufacturer exists
2023-10-13	13:03:47	2349	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:47	2349	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:47	2349	[DEBUG]	Executed store
2023-10-13	13:03:47	2349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861841','26')
2023-10-13	13:03:47	2349	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:47	2349	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:47	2349	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861841 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:47	2349	[DEBUG]	Store custom available field
2023-10-13	13:03:47	2349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861841,3,'',1)
2023-10-13	13:03:47	2349	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:47	2349	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:47	2349	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861841 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:47	2349	[DEBUG]	Store custom available field
2023-10-13	13:03:47	2349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861841,6,'Unitaire',3)
2023-10-13	13:03:47	2349	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:47	2349	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:47	2349	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861840
2023-10-13	13:03:47	2349	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:47	2349	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861840\":[1861840,8,1,\"choisir la taille\"],\"1861841\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861840
2023-10-13	13:03:47	2349	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:47	2349	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861841
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:47	2350	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field taille
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:47	2350	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:47	2350	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:47	2350	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:47	2350	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:47	2350	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:47	2350	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field published
2023-10-13	13:03:47	2350	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:47	2350	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field override
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:47	2350	[DEBUG]	Use field value for field slug
2023-10-13	13:03:47	2350	[DEBUG]	Process line 2350
2023-10-13	13:03:47	2350	[DEBUG]	Load a row
2023-10-13	13:03:47	2350	[DEBUG]	Processing item: A_8478_1
2023-10-13	13:03:47	2350	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:47	2350	[DEBUG]	Processing product tax
2023-10-13	13:03:47	2350	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:47	2350	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:47	2350	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:47	2350	[DEBUG]	Query for Product
2023-10-13	13:03:47	2350	[DEBUG]	Executed store
2023-10-13	13:03:47	2350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8478_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:47	2350	[DEBUG]	Check product language entry
2023-10-13	13:03:47	2350	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861842
2023-10-13	13:03:47	2350	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:47	2350	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8478_1' AND `virtuemart_product_id` != 1861842
2023-10-13	13:03:47	2350	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:47	2350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861842, 'A_8478_1')
2023-10-13	13:03:47	2350	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:47	2350	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tektro-set-de-freins-a-disque-av-m275-sans-disque-ni-adaptateur-noir' AND `virtuemart_product_id` != 1861842
2023-10-13	13:03:47	2350	[DEBUG]	Query for ProductLang
2023-10-13	13:03:47	2350	[DEBUG]	Executed store
2023-10-13	13:03:47	2350	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 125664',`product_name`='Tektro Set de freins à disque AV M275 sans disque ni adaptateur / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tektro-set-de-freins-a-disque-av-m275-sans-disque-ni-adaptateur-noir' WHERE `virtuemart_product_id` = '1861842'
2023-10-13	13:03:47	2350	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37243_set_de_freins_à_disque_av_m275_sans_disque_ni_adaptateur.jpg
2023-10-13	13:03:47	2350	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:47	2350	[DEBUG]	Process image file
2023-10-13	13:03:47	2350	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:47	2350	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:47	2350	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37243_set_de_freins_à_disque_av_m275_sans_disque_ni_adaptateur.jpg
2023-10-13	13:03:47	2350	[DEBUG]	Full name target: bcprisme/37243_set_de_freins_à_disque_av_m275_sans_disque_ni_adaptateur.jpg
2023-10-13	13:03:48	2350	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:48	2350	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37243_set_de_freins_à_disque_av_m275_sans_disque_ni_adaptateur.jpg'
2023-10-13	13:03:48	2350	[DEBUG]	Query for Media
2023-10-13	13:03:48	2350	[DEBUG]	Executed store
2023-10-13	13:03:48	2350	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37243_set_de_freins_à_disque_av_m275_sans_disque_ni_adaptateur.jpg',`file_url_thumb`='bcprisme/37243_set_de_freins_à_disque_av_m275_sans_disque_ni_adaptateur.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '900092'
2023-10-13	13:03:48	2350	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:48	2350	[DEBUG]	Executed store
2023-10-13	13:03:48	2350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861842','900092','1')
2023-10-13	13:03:48	2350	[DEBUG]	Store product image relation
2023-10-13	13:03:48	2350	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:48	2350	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861842 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:48	2350	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:48	2350	[DEBUG]	Executed store
2023-10-13	13:03:48	2350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861842','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:48	2350	[DEBUG]	Checking manufacturer
2023-10-13	13:03:48	2350	[DEBUG]	Load a row
2023-10-13	13:03:48	2350	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:48	2350	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:48	2350	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:48	2350	[DEBUG]	Executed store
2023-10-13	13:03:48	2350	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='81',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='81' WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:48	2350	[DEBUG]	Manufacturer exists
2023-10-13	13:03:48	2350	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 249
2023-10-13	13:03:48	2350	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:48	2350	[DEBUG]	Executed store
2023-10-13	13:03:48	2350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861842','249')
2023-10-13	13:03:48	2350	[DEBUG]	Find the custom field ID
2023-10-13	13:03:48	2350	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:48	2350	[DEBUG]	No custom field ID found
2023-10-13	13:03:48	2350	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:48	2350	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:48	2350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861842 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:48	2350	[DEBUG]	Store custom available field
2023-10-13	13:03:48	2350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861842,3,'0',1)
2023-10-13	13:03:48	2350	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:48	2350	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:48	2350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861842 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:48	2350	[DEBUG]	Store custom available field
2023-10-13	13:03:48	2350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861842,6,'choisir la taille',3)
2023-10-13	13:03:48	2350	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:48	2350	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:48	2350	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:48	2350	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:48	2350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861842 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:48	2350	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:48	2350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861842,8,1)
2023-10-13	13:03:48	2350	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:48	2350	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861842\":[1861842,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861842
2023-10-13	13:03:48	2350	[DEBUG]	Checking category
2023-10-13	13:03:48	2350	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:48	2350	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861842
2023-10-13	13:03:48	2350	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:48	2350	[DEBUG]	Executed store
2023-10-13	13:03:48	2350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861842','7341')
2023-10-13	13:03:48	2350	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:48	2350	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861842 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:48	2350	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:48	2350	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861842
2023-10-13	13:03:48	2351	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:48	2351	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:48	2351	[DEBUG]	Use field value for field taille
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:48	2351	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:48	2351	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:48	2351	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:48	2351	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:48	2351	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:48	2351	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:48	2351	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:48	2351	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:48	2351	[DEBUG]	Use field value for field published
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:48	2351	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field override
2023-10-13	13:03:48	2351	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:48	2351	[DEBUG]	Use field value for field slug
2023-10-13	13:03:48	2351	[DEBUG]	Process line 2351
2023-10-13	13:03:48	2351	[DEBUG]	Load a row
2023-10-13	13:03:48	2351	[DEBUG]	Processing item: 1000000153484
2023-10-13	13:03:48	2351	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:48	2351	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:48	2351	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8478_1'
2023-10-13	13:03:48	2351	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:48	2351	[DEBUG]	Processing product tax
2023-10-13	13:03:48	2351	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:48	2351	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:48	2351	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:48	2351	[DEBUG]	Query for Product
2023-10-13	13:03:48	2351	[DEBUG]	Executed store
2023-10-13	13:03:48	2351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861842','1000000153484','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:48	2351	[DEBUG]	No parent found
2023-10-13	13:03:48	2351	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861842 AND customfield_value = 'stockable'
2023-10-13	13:03:48	2351	[DEBUG]	Check product language entry
2023-10-13	13:03:48	2351	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861843
2023-10-13	13:03:48	2351	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:48	2351	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000153484' AND `virtuemart_product_id` != 1861843
2023-10-13	13:03:48	2351	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:48	2351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861843, '1000000153484')
2023-10-13	13:03:48	2351	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:48	2351	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tektro-set-de-freins-a-disque-av-m275-sans-disque-ni-adaptateur-noir-unitaire' AND `virtuemart_product_id` != 1861843
2023-10-13	13:03:48	2351	[DEBUG]	Query for ProductLang
2023-10-13	13:03:48	2351	[DEBUG]	Executed store
2023-10-13	13:03:48	2351	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Tektro Set de freins à disque AV M275 sans disque ni adaptateur / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tektro-set-de-freins-a-disque-av-m275-sans-disque-ni-adaptateur-noir-unitaire' WHERE `virtuemart_product_id` = '1861843'
2023-10-13	13:03:48	2351	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37243_set_de_freins_à_disque_av_m275_sans_disque_ni_adaptateur.jpg
2023-10-13	13:03:48	2351	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:48	2351	[DEBUG]	Process image file
2023-10-13	13:03:48	2351	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:48	2351	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:48	2351	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37243_set_de_freins_à_disque_av_m275_sans_disque_ni_adaptateur.jpg
2023-10-13	13:03:48	2351	[DEBUG]	Full name target: bcprisme/37243_set_de_freins_à_disque_av_m275_sans_disque_ni_adaptateur.jpg
2023-10-13	13:03:49	2351	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:49	2351	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37243_set_de_freins_à_disque_av_m275_sans_disque_ni_adaptateur.jpg'
2023-10-13	13:03:49	2351	[DEBUG]	Query for Media
2023-10-13	13:03:49	2351	[DEBUG]	Executed store
2023-10-13	13:03:49	2351	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37243_set_de_freins_à_disque_av_m275_sans_disque_ni_adaptateur.jpg',`file_url_thumb`='bcprisme/37243_set_de_freins_à_disque_av_m275_sans_disque_ni_adaptateur.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '900092'
2023-10-13	13:03:49	2351	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:49	2351	[DEBUG]	Executed store
2023-10-13	13:03:49	2351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861843','900092','1')
2023-10-13	13:03:49	2351	[DEBUG]	Store product image relation
2023-10-13	13:03:49	2351	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:49	2351	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861843 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:49	2351	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:49	2351	[DEBUG]	Executed store
2023-10-13	13:03:49	2351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861843','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:49	2351	[DEBUG]	Checking manufacturer
2023-10-13	13:03:49	2351	[DEBUG]	Load a row
2023-10-13	13:03:49	2351	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:49	2351	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:49	2351	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:49	2351	[DEBUG]	Executed store
2023-10-13	13:03:49	2351	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='81',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='81' WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:49	2351	[DEBUG]	Manufacturer exists
2023-10-13	13:03:49	2351	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 249
2023-10-13	13:03:49	2351	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:49	2351	[DEBUG]	Executed store
2023-10-13	13:03:49	2351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861843','249')
2023-10-13	13:03:49	2351	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:49	2351	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:49	2351	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861843 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:49	2351	[DEBUG]	Store custom available field
2023-10-13	13:03:49	2351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861843,3,'',1)
2023-10-13	13:03:49	2351	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:49	2351	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:49	2351	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861843 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:49	2351	[DEBUG]	Store custom available field
2023-10-13	13:03:49	2351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861843,6,'Unitaire',3)
2023-10-13	13:03:49	2351	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:49	2351	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:49	2351	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861842
2023-10-13	13:03:49	2351	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:49	2351	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861842\":[1861842,8,1,\"choisir la taille\"],\"1861843\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861842
2023-10-13	13:03:49	2351	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:49	2351	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861843
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:49	2352	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field taille
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:49	2352	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:49	2352	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:49	2352	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:49	2352	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:49	2352	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:49	2352	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field published
2023-10-13	13:03:49	2352	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:49	2352	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field override
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:49	2352	[DEBUG]	Use field value for field slug
2023-10-13	13:03:49	2352	[DEBUG]	Process line 2352
2023-10-13	13:03:49	2352	[DEBUG]	Load a row
2023-10-13	13:03:49	2352	[DEBUG]	Processing item: A_8479_1
2023-10-13	13:03:49	2352	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:49	2352	[DEBUG]	Processing product tax
2023-10-13	13:03:49	2352	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:49	2352	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:49	2352	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:49	2352	[DEBUG]	Query for Product
2023-10-13	13:03:49	2352	[DEBUG]	Executed store
2023-10-13	13:03:49	2352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8479_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:49	2352	[DEBUG]	Check product language entry
2023-10-13	13:03:49	2352	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861844
2023-10-13	13:03:49	2352	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:49	2352	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8479_1' AND `virtuemart_product_id` != 1861844
2023-10-13	13:03:49	2352	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:49	2352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861844, 'A_8479_1')
2023-10-13	13:03:49	2352	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:49	2352	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tektro-set-de-freins-a-disque-arr-m275-sans-disques-ni-adaptateur-noir' AND `virtuemart_product_id` != 1861844
2023-10-13	13:03:49	2352	[DEBUG]	Query for ProductLang
2023-10-13	13:03:49	2352	[DEBUG]	Executed store
2023-10-13	13:03:49	2352	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 125665',`product_name`='Tektro Set de freins à disque ARR M275 sans disques ni adaptateur / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tektro-set-de-freins-a-disque-arr-m275-sans-disques-ni-adaptateur-noir' WHERE `virtuemart_product_id` = '1861844'
2023-10-13	13:03:49	2352	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37244_set_de_freins_à_disque_arr_m275_sans_disques_ni_adaptateur.jpg
2023-10-13	13:03:49	2352	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:49	2352	[DEBUG]	Process image file
2023-10-13	13:03:49	2352	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:49	2352	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:49	2352	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37244_set_de_freins_à_disque_arr_m275_sans_disques_ni_adaptateur.jpg
2023-10-13	13:03:49	2352	[DEBUG]	Full name target: bcprisme/37244_set_de_freins_à_disque_arr_m275_sans_disques_ni_adaptateur.jpg
2023-10-13	13:03:50	2352	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:50	2352	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37244_set_de_freins_à_disque_arr_m275_sans_disques_ni_adaptateur.jpg'
2023-10-13	13:03:50	2352	[DEBUG]	Query for Media
2023-10-13	13:03:50	2352	[DEBUG]	Executed store
2023-10-13	13:03:50	2352	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37244_set_de_freins_à_disque_arr_m275_sans_disques_ni_adaptateur.jpg',`file_url_thumb`='bcprisme/37244_set_de_freins_à_disque_arr_m275_sans_disques_ni_adaptateur.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '900094'
2023-10-13	13:03:50	2352	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:50	2352	[DEBUG]	Executed store
2023-10-13	13:03:50	2352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861844','900094','1')
2023-10-13	13:03:50	2352	[DEBUG]	Store product image relation
2023-10-13	13:03:50	2352	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:50	2352	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861844 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:50	2352	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:50	2352	[DEBUG]	Executed store
2023-10-13	13:03:50	2352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861844','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:50	2352	[DEBUG]	Checking manufacturer
2023-10-13	13:03:50	2352	[DEBUG]	Load a row
2023-10-13	13:03:50	2352	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:50	2352	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:50	2352	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:50	2352	[DEBUG]	Executed store
2023-10-13	13:03:50	2352	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='81',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='81' WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:50	2352	[DEBUG]	Manufacturer exists
2023-10-13	13:03:50	2352	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 249
2023-10-13	13:03:50	2352	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:50	2352	[DEBUG]	Executed store
2023-10-13	13:03:50	2352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861844','249')
2023-10-13	13:03:50	2352	[DEBUG]	Find the custom field ID
2023-10-13	13:03:50	2352	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:50	2352	[DEBUG]	No custom field ID found
2023-10-13	13:03:50	2352	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:50	2352	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:50	2352	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861844 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:50	2352	[DEBUG]	Store custom available field
2023-10-13	13:03:50	2352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861844,3,'0',1)
2023-10-13	13:03:50	2352	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:50	2352	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:50	2352	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861844 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:50	2352	[DEBUG]	Store custom available field
2023-10-13	13:03:50	2352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861844,6,'choisir la taille',3)
2023-10-13	13:03:50	2352	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:50	2352	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:50	2352	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:50	2352	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:50	2352	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861844 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:50	2352	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:50	2352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861844,8,1)
2023-10-13	13:03:50	2352	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:50	2352	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861844\":[1861844,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861844
2023-10-13	13:03:50	2352	[DEBUG]	Checking category
2023-10-13	13:03:50	2352	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:50	2352	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861844
2023-10-13	13:03:50	2352	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:50	2352	[DEBUG]	Executed store
2023-10-13	13:03:50	2352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861844','7341')
2023-10-13	13:03:50	2352	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:50	2352	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861844 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:50	2352	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:50	2352	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861844
2023-10-13	13:03:50	2353	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:50	2353	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:50	2353	[DEBUG]	Use field value for field taille
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:50	2353	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:50	2353	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:50	2353	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:50	2353	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:50	2353	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:50	2353	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:50	2353	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:50	2353	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:50	2353	[DEBUG]	Use field value for field published
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:50	2353	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field override
2023-10-13	13:03:50	2353	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:50	2353	[DEBUG]	Use field value for field slug
2023-10-13	13:03:50	2353	[DEBUG]	Process line 2353
2023-10-13	13:03:50	2353	[DEBUG]	Load a row
2023-10-13	13:03:50	2353	[DEBUG]	Processing item: 1000000153491
2023-10-13	13:03:50	2353	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:50	2353	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:50	2353	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8479_1'
2023-10-13	13:03:50	2353	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:50	2353	[DEBUG]	Processing product tax
2023-10-13	13:03:50	2353	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:50	2353	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:50	2353	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:50	2353	[DEBUG]	Query for Product
2023-10-13	13:03:50	2353	[DEBUG]	Executed store
2023-10-13	13:03:50	2353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861844','1000000153491','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:50	2353	[DEBUG]	No parent found
2023-10-13	13:03:50	2353	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861844 AND customfield_value = 'stockable'
2023-10-13	13:03:50	2353	[DEBUG]	Check product language entry
2023-10-13	13:03:50	2353	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861845
2023-10-13	13:03:50	2353	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:50	2353	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000153491' AND `virtuemart_product_id` != 1861845
2023-10-13	13:03:50	2353	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:50	2353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861845, '1000000153491')
2023-10-13	13:03:50	2353	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:50	2353	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tektro-set-de-freins-a-disque-arr-m275-sans-disques-ni-adaptateur-noir-unitaire' AND `virtuemart_product_id` != 1861845
2023-10-13	13:03:50	2353	[DEBUG]	Query for ProductLang
2023-10-13	13:03:50	2353	[DEBUG]	Executed store
2023-10-13	13:03:50	2353	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Tektro Set de freins à disque ARR M275 sans disques ni adaptateur / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tektro-set-de-freins-a-disque-arr-m275-sans-disques-ni-adaptateur-noir-unitaire' WHERE `virtuemart_product_id` = '1861845'
2023-10-13	13:03:50	2353	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37244_set_de_freins_à_disque_arr_m275_sans_disques_ni_adaptateur.jpg
2023-10-13	13:03:50	2353	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:50	2353	[DEBUG]	Process image file
2023-10-13	13:03:50	2353	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:50	2353	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:50	2353	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37244_set_de_freins_à_disque_arr_m275_sans_disques_ni_adaptateur.jpg
2023-10-13	13:03:50	2353	[DEBUG]	Full name target: bcprisme/37244_set_de_freins_à_disque_arr_m275_sans_disques_ni_adaptateur.jpg
2023-10-13	13:03:51	2353	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:51	2353	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37244_set_de_freins_à_disque_arr_m275_sans_disques_ni_adaptateur.jpg'
2023-10-13	13:03:51	2353	[DEBUG]	Query for Media
2023-10-13	13:03:51	2353	[DEBUG]	Executed store
2023-10-13	13:03:51	2353	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37244_set_de_freins_à_disque_arr_m275_sans_disques_ni_adaptateur.jpg',`file_url_thumb`='bcprisme/37244_set_de_freins_à_disque_arr_m275_sans_disques_ni_adaptateur.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '900094'
2023-10-13	13:03:51	2353	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:51	2353	[DEBUG]	Executed store
2023-10-13	13:03:51	2353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861845','900094','1')
2023-10-13	13:03:51	2353	[DEBUG]	Store product image relation
2023-10-13	13:03:51	2353	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:51	2353	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861845 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:51	2353	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:51	2353	[DEBUG]	Executed store
2023-10-13	13:03:51	2353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861845','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:51	2353	[DEBUG]	Checking manufacturer
2023-10-13	13:03:51	2353	[DEBUG]	Load a row
2023-10-13	13:03:51	2353	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:51	2353	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:51	2353	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:51	2353	[DEBUG]	Executed store
2023-10-13	13:03:51	2353	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='81',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='81' WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:03:51	2353	[DEBUG]	Manufacturer exists
2023-10-13	13:03:51	2353	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 249
2023-10-13	13:03:51	2353	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:51	2353	[DEBUG]	Executed store
2023-10-13	13:03:51	2353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861845','249')
2023-10-13	13:03:51	2353	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:51	2353	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:51	2353	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861845 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:51	2353	[DEBUG]	Store custom available field
2023-10-13	13:03:51	2353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861845,3,'',1)
2023-10-13	13:03:51	2353	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:51	2353	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:51	2353	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861845 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:51	2353	[DEBUG]	Store custom available field
2023-10-13	13:03:51	2353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861845,6,'Unitaire',3)
2023-10-13	13:03:51	2353	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:51	2353	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:51	2353	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861844
2023-10-13	13:03:51	2353	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:51	2353	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861844\":[1861844,8,1,\"choisir la taille\"],\"1861845\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861844
2023-10-13	13:03:51	2353	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:51	2353	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861845
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:51	2354	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field taille
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:51	2354	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:51	2354	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:51	2354	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:51	2354	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:51	2354	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:51	2354	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:51	2354	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field published
2023-10-13	13:03:51	2354	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:51	2354	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field override
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:51	2354	[DEBUG]	Use field value for field slug
2023-10-13	13:03:51	2354	[DEBUG]	Process line 2354
2023-10-13	13:03:51	2354	[DEBUG]	Load a row
2023-10-13	13:03:51	2354	[DEBUG]	Processing item: A_9157_1
2023-10-13	13:03:51	2354	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:51	2354	[DEBUG]	Processing product tax
2023-10-13	13:03:51	2354	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:51	2354	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:51	2354	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:51	2354	[DEBUG]	Query for Product
2023-10-13	13:03:51	2354	[DEBUG]	Executed store
2023-10-13	13:03:51	2354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9157_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:51	2354	[DEBUG]	Check product language entry
2023-10-13	13:03:51	2354	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861846
2023-10-13	13:03:51	2354	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:51	2354	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9157_1' AND `virtuemart_product_id` != 1861846
2023-10-13	13:03:51	2354	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:51	2354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861846, 'A_9157_1')
2023-10-13	13:03:51	2354	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:51	2354	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-shi-mt410-arriere-a-bl-m4100-pm-1700mm-plaque-resin-box-noir' AND `virtuemart_product_id` != 1861846
2023-10-13	13:03:51	2354	[DEBUG]	Query for ProductLang
2023-10-13	13:03:51	2354	[DEBUG]	Executed store
2023-10-13	13:03:51	2354	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.77879',`product_name`='SHIMANO Set fr. à dis. SHI MT410 arriere a/BL-M4100 PM 1700mm plaque resin box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-shi-mt410-arriere-a-bl-m4100-pm-1700mm-plaque-resin-box-noir' WHERE `virtuemart_product_id` = '1861846'
2023-10-13	13:03:51	2354	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77878_00.jpg has not been found.
2023-10-13	13:03:51	2354	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:51	2354	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861846 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:51	2354	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:51	2354	[DEBUG]	Executed store
2023-10-13	13:03:51	2354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861846','0','68.7093779015785','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:51	2354	[DEBUG]	Checking manufacturer
2023-10-13	13:03:51	2354	[DEBUG]	Load a row
2023-10-13	13:03:51	2354	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:51	2354	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:51	2354	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:51	2354	[DEBUG]	Executed store
2023-10-13	13:03:51	2354	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:51	2354	[DEBUG]	Manufacturer exists
2023-10-13	13:03:51	2354	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:51	2354	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:51	2354	[DEBUG]	Executed store
2023-10-13	13:03:51	2354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861846','26')
2023-10-13	13:03:51	2354	[DEBUG]	Find the custom field ID
2023-10-13	13:03:51	2354	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:51	2354	[DEBUG]	No custom field ID found
2023-10-13	13:03:51	2354	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:51	2354	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:51	2354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861846 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:51	2354	[DEBUG]	Store custom available field
2023-10-13	13:03:51	2354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861846,3,'0',1)
2023-10-13	13:03:51	2354	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:51	2354	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:51	2354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861846 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:51	2354	[DEBUG]	Store custom available field
2023-10-13	13:03:51	2354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861846,6,'choisir la taille',3)
2023-10-13	13:03:51	2354	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:51	2354	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:51	2354	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:51	2354	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:51	2354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861846 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:51	2354	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:51	2354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861846,8,1)
2023-10-13	13:03:51	2354	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:51	2354	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861846\":[1861846,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861846
2023-10-13	13:03:51	2354	[DEBUG]	Checking category
2023-10-13	13:03:51	2354	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:51	2354	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861846
2023-10-13	13:03:51	2354	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:51	2354	[DEBUG]	Executed store
2023-10-13	13:03:51	2354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861846','7341')
2023-10-13	13:03:51	2354	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:51	2354	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861846 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:51	2354	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:51	2354	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861846
2023-10-13	13:03:51	2355	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:51	2355	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:51	2355	[DEBUG]	Use field value for field taille
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:51	2355	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:51	2355	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:51	2355	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:51	2355	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:51	2355	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:51	2355	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:51	2355	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:51	2355	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:51	2355	[DEBUG]	Use field value for field published
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:51	2355	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field override
2023-10-13	13:03:51	2355	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:51	2355	[DEBUG]	Use field value for field slug
2023-10-13	13:03:51	2355	[DEBUG]	Process line 2355
2023-10-13	13:03:51	2355	[DEBUG]	Load a row
2023-10-13	13:03:51	2355	[DEBUG]	Processing item: 4550170621285
2023-10-13	13:03:51	2355	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:51	2355	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:51	2355	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9157_1'
2023-10-13	13:03:51	2355	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:51	2355	[DEBUG]	Processing product tax
2023-10-13	13:03:51	2355	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:51	2355	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:51	2355	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:51	2355	[DEBUG]	Query for Product
2023-10-13	13:03:51	2355	[DEBUG]	Executed store
2023-10-13	13:03:51	2355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861846','4550170621285','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:51	2355	[DEBUG]	No parent found
2023-10-13	13:03:51	2355	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861846 AND customfield_value = 'stockable'
2023-10-13	13:03:51	2355	[DEBUG]	Check product language entry
2023-10-13	13:03:51	2355	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861847
2023-10-13	13:03:51	2355	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:51	2355	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170621285' AND `virtuemart_product_id` != 1861847
2023-10-13	13:03:51	2355	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:51	2355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861847, '4550170621285')
2023-10-13	13:03:51	2355	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:51	2355	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-shi-mt410-arriere-a-bl-m4100-pm-1700mm-plaque-resin-box-noir-unitaire' AND `virtuemart_product_id` != 1861847
2023-10-13	13:03:51	2355	[DEBUG]	Query for ProductLang
2023-10-13	13:03:51	2355	[DEBUG]	Executed store
2023-10-13	13:03:51	2355	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. SHI MT410 arriere a/BL-M4100 PM 1700mm plaque resin box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-shi-mt410-arriere-a-bl-m4100-pm-1700mm-plaque-resin-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861847'
2023-10-13	13:03:51	2355	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_77878_00.jpg has not been found.
2023-10-13	13:03:51	2355	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:51	2355	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861847 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:51	2355	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:51	2355	[DEBUG]	Executed store
2023-10-13	13:03:51	2355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861847','0','68.7093779015785','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:51	2355	[DEBUG]	Checking manufacturer
2023-10-13	13:03:51	2355	[DEBUG]	Load a row
2023-10-13	13:03:51	2355	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:51	2355	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:51	2355	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:51	2355	[DEBUG]	Executed store
2023-10-13	13:03:51	2355	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:51	2355	[DEBUG]	Manufacturer exists
2023-10-13	13:03:51	2355	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:51	2355	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:51	2355	[DEBUG]	Executed store
2023-10-13	13:03:51	2355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861847','26')
2023-10-13	13:03:51	2355	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:51	2355	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:51	2355	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861847 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:51	2355	[DEBUG]	Store custom available field
2023-10-13	13:03:51	2355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861847,3,'',1)
2023-10-13	13:03:51	2355	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:51	2355	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:51	2355	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861847 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:51	2355	[DEBUG]	Store custom available field
2023-10-13	13:03:51	2355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861847,6,'Unitaire',3)
2023-10-13	13:03:51	2355	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:51	2355	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:51	2355	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861846
2023-10-13	13:03:51	2355	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:51	2355	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861846\":[1861846,8,1,\"choisir la taille\"],\"1861847\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861846
2023-10-13	13:03:51	2355	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:51	2355	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861847
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:51	2356	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field taille
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:51	2356	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:51	2356	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:51	2356	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:51	2356	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:51	2356	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:51	2356	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:51	2356	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field published
2023-10-13	13:03:51	2356	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:51	2356	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field override
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:51	2356	[DEBUG]	Use field value for field slug
2023-10-13	13:03:51	2356	[DEBUG]	Process line 2356
2023-10-13	13:03:51	2356	[DEBUG]	Load a row
2023-10-13	13:03:51	2356	[DEBUG]	Processing item: A_9746_1
2023-10-13	13:03:51	2356	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:51	2356	[DEBUG]	Processing product tax
2023-10-13	13:03:51	2356	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:51	2356	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:51	2356	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:51	2356	[DEBUG]	Query for Product
2023-10-13	13:03:52	2356	[DEBUG]	Executed store
2023-10-13	13:03:52	2356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9746_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:52	2356	[DEBUG]	Check product language entry
2023-10-13	13:03:52	2356	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861848
2023-10-13	13:03:52	2356	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:52	2356	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9746_1' AND `virtuemart_product_id` != 1861848
2023-10-13	13:03:52	2356	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:52	2356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861848, 'A_9746_1')
2023-10-13	13:03:52	2356	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:52	2356	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-alivio-bl-t4000-v-brake-droite-2-doigts-noir-box-noir' AND `virtuemart_product_id` != 1861848
2023-10-13	13:03:52	2356	[DEBUG]	Query for ProductLang
2023-10-13	13:03:52	2356	[DEBUG]	Executed store
2023-10-13	13:03:52	2356	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 74.59997',`product_name`='SHIMANO Levier de frein Alivio BL-T4000 V-Brake droite 2-doigts noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-alivio-bl-t4000-v-brake-droite-2-doigts-noir-box-noir' WHERE `virtuemart_product_id` = '1861848'
2023-10-13	13:03:52	2356	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_59997_00.jpg has not been found.
2023-10-13	13:03:52	2356	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:52	2356	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861848 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:52	2356	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:52	2356	[DEBUG]	Executed store
2023-10-13	13:03:52	2356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861848','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:52	2356	[DEBUG]	Checking manufacturer
2023-10-13	13:03:52	2356	[DEBUG]	Load a row
2023-10-13	13:03:52	2356	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:52	2356	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:52	2356	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:52	2356	[DEBUG]	Executed store
2023-10-13	13:03:52	2356	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:52	2356	[DEBUG]	Manufacturer exists
2023-10-13	13:03:52	2356	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:52	2356	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:52	2356	[DEBUG]	Executed store
2023-10-13	13:03:52	2356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861848','26')
2023-10-13	13:03:52	2356	[DEBUG]	Find the custom field ID
2023-10-13	13:03:52	2356	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:52	2356	[DEBUG]	No custom field ID found
2023-10-13	13:03:52	2356	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:52	2356	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:52	2356	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861848 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:52	2356	[DEBUG]	Store custom available field
2023-10-13	13:03:52	2356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861848,3,'0',1)
2023-10-13	13:03:52	2356	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:52	2356	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:52	2356	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861848 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:52	2356	[DEBUG]	Store custom available field
2023-10-13	13:03:52	2356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861848,6,'choisir la taille',3)
2023-10-13	13:03:52	2356	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:52	2356	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:52	2356	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:52	2356	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:52	2356	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861848 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:52	2356	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:52	2356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861848,8,1)
2023-10-13	13:03:52	2356	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:52	2356	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861848\":[1861848,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861848
2023-10-13	13:03:52	2356	[DEBUG]	Checking category
2023-10-13	13:03:52	2356	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:52	2356	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861848
2023-10-13	13:03:52	2356	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:52	2356	[DEBUG]	Executed store
2023-10-13	13:03:52	2356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861848','7341')
2023-10-13	13:03:52	2356	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:52	2356	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861848 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:52	2356	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:52	2356	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861848
2023-10-13	13:03:52	2357	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:52	2357	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:52	2357	[DEBUG]	Use field value for field taille
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:52	2357	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:52	2357	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:52	2357	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:52	2357	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:52	2357	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:52	2357	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:52	2357	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:52	2357	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:52	2357	[DEBUG]	Use field value for field published
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:52	2357	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field override
2023-10-13	13:03:52	2357	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:52	2357	[DEBUG]	Use field value for field slug
2023-10-13	13:03:52	2357	[DEBUG]	Process line 2357
2023-10-13	13:03:52	2357	[DEBUG]	Load a row
2023-10-13	13:03:52	2357	[DEBUG]	Processing item: 4524667601968
2023-10-13	13:03:52	2357	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:52	2357	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:52	2357	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9746_1'
2023-10-13	13:03:52	2357	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:52	2357	[DEBUG]	Processing product tax
2023-10-13	13:03:52	2357	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:52	2357	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:52	2357	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:52	2357	[DEBUG]	Query for Product
2023-10-13	13:03:52	2357	[DEBUG]	Executed store
2023-10-13	13:03:52	2357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861848','4524667601968','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:52	2357	[DEBUG]	No parent found
2023-10-13	13:03:52	2357	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861848 AND customfield_value = 'stockable'
2023-10-13	13:03:52	2357	[DEBUG]	Check product language entry
2023-10-13	13:03:52	2357	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861849
2023-10-13	13:03:52	2357	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:52	2357	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667601968' AND `virtuemart_product_id` != 1861849
2023-10-13	13:03:52	2357	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:52	2357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861849, '4524667601968')
2023-10-13	13:03:52	2357	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:52	2357	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-alivio-bl-t4000-v-brake-droite-2-doigts-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1861849
2023-10-13	13:03:52	2357	[DEBUG]	Query for ProductLang
2023-10-13	13:03:52	2357	[DEBUG]	Executed store
2023-10-13	13:03:52	2357	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier de frein Alivio BL-T4000 V-Brake droite 2-doigts noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-alivio-bl-t4000-v-brake-droite-2-doigts-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861849'
2023-10-13	13:03:52	2357	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_59997_00.jpg has not been found.
2023-10-13	13:03:52	2357	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:52	2357	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861849 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:52	2357	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:52	2357	[DEBUG]	Executed store
2023-10-13	13:03:52	2357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861849','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:52	2357	[DEBUG]	Checking manufacturer
2023-10-13	13:03:52	2357	[DEBUG]	Load a row
2023-10-13	13:03:52	2357	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:52	2357	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:52	2357	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:52	2357	[DEBUG]	Executed store
2023-10-13	13:03:52	2357	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:52	2357	[DEBUG]	Manufacturer exists
2023-10-13	13:03:52	2357	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:52	2357	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:52	2357	[DEBUG]	Executed store
2023-10-13	13:03:52	2357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861849','26')
2023-10-13	13:03:52	2357	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:52	2357	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:52	2357	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861849 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:52	2357	[DEBUG]	Store custom available field
2023-10-13	13:03:52	2357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861849,3,'',1)
2023-10-13	13:03:52	2357	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:52	2357	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:52	2357	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861849 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:52	2357	[DEBUG]	Store custom available field
2023-10-13	13:03:52	2357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861849,6,'Unitaire',3)
2023-10-13	13:03:52	2357	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:52	2357	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:52	2357	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861848
2023-10-13	13:03:52	2357	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:52	2357	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861848\":[1861848,8,1,\"choisir la taille\"],\"1861849\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861848
2023-10-13	13:03:52	2357	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:52	2357	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861849
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:52	2358	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field taille
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:52	2358	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:52	2358	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:52	2358	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:52	2358	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:52	2358	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:52	2358	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field published
2023-10-13	13:03:52	2358	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:52	2358	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field override
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:52	2358	[DEBUG]	Use field value for field slug
2023-10-13	13:03:52	2358	[DEBUG]	Process line 2358
2023-10-13	13:03:52	2358	[DEBUG]	Load a row
2023-10-13	13:03:52	2358	[DEBUG]	Processing item: A_9799_1
2023-10-13	13:03:52	2358	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:52	2358	[DEBUG]	Processing product tax
2023-10-13	13:03:52	2358	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:52	2358	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:52	2358	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:52	2358	[DEBUG]	Query for Product
2023-10-13	13:03:52	2358	[DEBUG]	Executed store
2023-10-13	13:03:52	2358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9799_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:52	2358	[DEBUG]	Check product language entry
2023-10-13	13:03:52	2358	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861850
2023-10-13	13:03:52	2358	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:52	2358	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9799_1' AND `virtuemart_product_id` != 1861850
2023-10-13	13:03:52	2358	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:52	2358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861850, 'A_9799_1')
2023-10-13	13:03:52	2358	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:52	2358	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-bl-mt200-disque-droite-3-doigts-noir-box-noir' AND `virtuemart_product_id` != 1861850
2023-10-13	13:03:52	2358	[DEBUG]	Query for ProductLang
2023-10-13	13:03:52	2358	[DEBUG]	Executed store
2023-10-13	13:03:52	2358	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 74.72292',`product_name`='SHIMANO Levier de frein BL-MT200 disque droite 3-doigts noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-bl-mt200-disque-droite-3-doigts-noir-box-noir' WHERE `virtuemart_product_id` = '1861850'
2023-10-13	13:03:52	2358	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39261_levier_de_frein_bl-mt200_disque_droite_3-doigts_noir_box.jpg has not been found.
2023-10-13	13:03:52	2358	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:52	2358	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861850 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:52	2358	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:52	2358	[DEBUG]	Executed store
2023-10-13	13:03:52	2358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861850','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:52	2358	[DEBUG]	Checking manufacturer
2023-10-13	13:03:52	2358	[DEBUG]	Load a row
2023-10-13	13:03:52	2358	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:52	2358	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:52	2358	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:52	2358	[DEBUG]	Executed store
2023-10-13	13:03:52	2358	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:52	2358	[DEBUG]	Manufacturer exists
2023-10-13	13:03:52	2358	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:52	2358	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:52	2358	[DEBUG]	Executed store
2023-10-13	13:03:52	2358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861850','26')
2023-10-13	13:03:52	2358	[DEBUG]	Find the custom field ID
2023-10-13	13:03:52	2358	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:52	2358	[DEBUG]	No custom field ID found
2023-10-13	13:03:52	2358	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:52	2358	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:52	2358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861850 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:52	2358	[DEBUG]	Store custom available field
2023-10-13	13:03:52	2358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861850,3,'0',1)
2023-10-13	13:03:52	2358	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:52	2358	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:52	2358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861850 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:52	2358	[DEBUG]	Store custom available field
2023-10-13	13:03:52	2358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861850,6,'choisir la taille',3)
2023-10-13	13:03:52	2358	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:52	2358	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:52	2358	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:52	2358	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:52	2358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861850 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:52	2358	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:52	2358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861850,8,1)
2023-10-13	13:03:52	2358	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:52	2358	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861850\":[1861850,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861850
2023-10-13	13:03:52	2358	[DEBUG]	Checking category
2023-10-13	13:03:52	2358	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:52	2358	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861850
2023-10-13	13:03:52	2358	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:52	2358	[DEBUG]	Executed store
2023-10-13	13:03:52	2358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861850','7341')
2023-10-13	13:03:52	2358	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:52	2358	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861850 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:52	2358	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:52	2358	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861850
2023-10-13	13:03:52	2359	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:52	2359	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:52	2359	[DEBUG]	Use field value for field taille
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:52	2359	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:52	2359	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:52	2359	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:52	2359	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:52	2359	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:52	2359	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:52	2359	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:52	2359	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:52	2359	[DEBUG]	Use field value for field published
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:52	2359	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field override
2023-10-13	13:03:52	2359	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:52	2359	[DEBUG]	Use field value for field slug
2023-10-13	13:03:52	2359	[DEBUG]	Process line 2359
2023-10-13	13:03:52	2359	[DEBUG]	Load a row
2023-10-13	13:03:52	2359	[DEBUG]	Processing item: 4524667879459
2023-10-13	13:03:52	2359	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:52	2359	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:52	2359	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9799_1'
2023-10-13	13:03:52	2359	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:52	2359	[DEBUG]	Processing product tax
2023-10-13	13:03:52	2359	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:52	2359	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:52	2359	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:52	2359	[DEBUG]	Query for Product
2023-10-13	13:03:52	2359	[DEBUG]	Executed store
2023-10-13	13:03:52	2359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861850','4524667879459','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:52	2359	[DEBUG]	No parent found
2023-10-13	13:03:52	2359	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861850 AND customfield_value = 'stockable'
2023-10-13	13:03:52	2359	[DEBUG]	Check product language entry
2023-10-13	13:03:52	2359	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861851
2023-10-13	13:03:52	2359	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:52	2359	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667879459' AND `virtuemart_product_id` != 1861851
2023-10-13	13:03:52	2359	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:52	2359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861851, '4524667879459')
2023-10-13	13:03:52	2359	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:52	2359	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-bl-mt200-disque-droite-3-doigts-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1861851
2023-10-13	13:03:52	2359	[DEBUG]	Query for ProductLang
2023-10-13	13:03:52	2359	[DEBUG]	Executed store
2023-10-13	13:03:52	2359	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier de frein BL-MT200 disque droite 3-doigts noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-bl-mt200-disque-droite-3-doigts-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861851'
2023-10-13	13:03:52	2359	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39261_levier_de_frein_bl-mt200_disque_droite_3-doigts_noir_box.jpg has not been found.
2023-10-13	13:03:52	2359	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:52	2359	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861851 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:52	2359	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:52	2359	[DEBUG]	Executed store
2023-10-13	13:03:52	2359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861851','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:52	2359	[DEBUG]	Checking manufacturer
2023-10-13	13:03:52	2359	[DEBUG]	Load a row
2023-10-13	13:03:52	2359	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:52	2359	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:52	2359	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:52	2359	[DEBUG]	Executed store
2023-10-13	13:03:52	2359	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:52	2359	[DEBUG]	Manufacturer exists
2023-10-13	13:03:52	2359	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:52	2359	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:52	2359	[DEBUG]	Executed store
2023-10-13	13:03:52	2359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861851','26')
2023-10-13	13:03:52	2359	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:52	2359	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:52	2359	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861851 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:52	2359	[DEBUG]	Store custom available field
2023-10-13	13:03:52	2359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861851,3,'',1)
2023-10-13	13:03:52	2359	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:52	2359	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:52	2359	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861851 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:52	2359	[DEBUG]	Store custom available field
2023-10-13	13:03:52	2359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861851,6,'Unitaire',3)
2023-10-13	13:03:52	2359	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:52	2359	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:52	2359	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861850
2023-10-13	13:03:52	2359	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:52	2359	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861850\":[1861850,8,1,\"choisir la taille\"],\"1861851\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861850
2023-10-13	13:03:52	2359	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:52	2359	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861851
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:52	2360	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field taille
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:52	2360	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:52	2360	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:52	2360	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:52	2360	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:52	2360	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:52	2360	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field published
2023-10-13	13:03:52	2360	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:52	2360	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field override
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:52	2360	[DEBUG]	Use field value for field slug
2023-10-13	13:03:52	2360	[DEBUG]	Process line 2360
2023-10-13	13:03:52	2360	[DEBUG]	Load a row
2023-10-13	13:03:52	2360	[DEBUG]	Processing item: A_9800_1
2023-10-13	13:03:52	2360	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:52	2360	[DEBUG]	Processing product tax
2023-10-13	13:03:52	2360	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:52	2360	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:52	2360	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:52	2360	[DEBUG]	Query for Product
2023-10-13	13:03:52	2360	[DEBUG]	Executed store
2023-10-13	13:03:52	2360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9800_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:52	2360	[DEBUG]	Check product language entry
2023-10-13	13:03:52	2360	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861852
2023-10-13	13:03:52	2360	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:52	2360	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9800_1' AND `virtuemart_product_id` != 1861852
2023-10-13	13:03:52	2360	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:52	2360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861852, 'A_9800_1')
2023-10-13	13:03:52	2360	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:52	2360	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-bl-mt200-disque-gauche-3-doigts-noir-box-noir' AND `virtuemart_product_id` != 1861852
2023-10-13	13:03:52	2360	[DEBUG]	Query for ProductLang
2023-10-13	13:03:52	2360	[DEBUG]	Executed store
2023-10-13	13:03:52	2360	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 74.72293',`product_name`='SHIMANO Levier de frein BL-MT200 disque gauche 3-doigts noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-bl-mt200-disque-gauche-3-doigts-noir-box-noir' WHERE `virtuemart_product_id` = '1861852'
2023-10-13	13:03:52	2360	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_7229.jpg has not been found.
2023-10-13	13:03:52	2360	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:52	2360	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861852 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:52	2360	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:52	2360	[DEBUG]	Executed store
2023-10-13	13:03:52	2360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861852','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:52	2360	[DEBUG]	Checking manufacturer
2023-10-13	13:03:52	2360	[DEBUG]	Load a row
2023-10-13	13:03:52	2360	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:52	2360	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:52	2360	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:52	2360	[DEBUG]	Executed store
2023-10-13	13:03:52	2360	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:52	2360	[DEBUG]	Manufacturer exists
2023-10-13	13:03:52	2360	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:52	2360	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:52	2360	[DEBUG]	Executed store
2023-10-13	13:03:52	2360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861852','26')
2023-10-13	13:03:52	2360	[DEBUG]	Find the custom field ID
2023-10-13	13:03:52	2360	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:52	2360	[DEBUG]	No custom field ID found
2023-10-13	13:03:52	2360	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:52	2360	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:03:52	2360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861852 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:52	2360	[DEBUG]	Store custom available field
2023-10-13	13:03:52	2360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861852,3,'0',1)
2023-10-13	13:03:52	2360	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:52	2360	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:52	2360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861852 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:52	2360	[DEBUG]	Store custom available field
2023-10-13	13:03:52	2360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861852,6,'choisir la taille',3)
2023-10-13	13:03:52	2360	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:52	2360	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:52	2360	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:52	2360	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:52	2360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861852 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:52	2360	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:52	2360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861852,8,1)
2023-10-13	13:03:52	2360	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:52	2360	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861852\":[1861852,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861852
2023-10-13	13:03:52	2360	[DEBUG]	Checking category
2023-10-13	13:03:52	2360	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:52	2360	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861852
2023-10-13	13:03:52	2360	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:52	2360	[DEBUG]	Executed store
2023-10-13	13:03:52	2360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861852','7341')
2023-10-13	13:03:52	2360	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:52	2360	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861852 AND `virtuemart_category_id` NOT IN (7341)
2023-10-13	13:03:52	2360	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:52	2360	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861852
2023-10-13	13:03:52	2361	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:52	2361	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:52	2361	[DEBUG]	Use field value for field taille
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:52	2361	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:52	2361	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:52	2361	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:52	2361	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:52	2361	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:52	2361	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:52	2361	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:52	2361	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:52	2361	[DEBUG]	Use field value for field published
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:52	2361	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field override
2023-10-13	13:03:52	2361	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:52	2361	[DEBUG]	Use field value for field slug
2023-10-13	13:03:52	2361	[DEBUG]	Process line 2361
2023-10-13	13:03:52	2361	[DEBUG]	Load a row
2023-10-13	13:03:52	2361	[DEBUG]	Processing item: 4524667879442
2023-10-13	13:03:52	2361	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:52	2361	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:52	2361	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9800_1'
2023-10-13	13:03:52	2361	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:52	2361	[DEBUG]	Processing product tax
2023-10-13	13:03:52	2361	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:52	2361	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:52	2361	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:52	2361	[DEBUG]	Query for Product
2023-10-13	13:03:52	2361	[DEBUG]	Executed store
2023-10-13	13:03:52	2361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861852','4524667879442','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:52	2361	[DEBUG]	No parent found
2023-10-13	13:03:52	2361	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861852 AND customfield_value = 'stockable'
2023-10-13	13:03:52	2361	[DEBUG]	Check product language entry
2023-10-13	13:03:52	2361	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861853
2023-10-13	13:03:52	2361	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:52	2361	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667879442' AND `virtuemart_product_id` != 1861853
2023-10-13	13:03:52	2361	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:52	2361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861853, '4524667879442')
2023-10-13	13:03:52	2361	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:52	2361	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-de-frein-bl-mt200-disque-gauche-3-doigts-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1861853
2023-10-13	13:03:52	2361	[DEBUG]	Query for ProductLang
2023-10-13	13:03:52	2361	[DEBUG]	Executed store
2023-10-13	13:03:52	2361	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier de frein BL-MT200 disque gauche 3-doigts noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-de-frein-bl-mt200-disque-gauche-3-doigts-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1861853'
2023-10-13	13:03:52	2361	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/74_7229.jpg has not been found.
2023-10-13	13:03:52	2361	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:52	2361	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861853 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:52	2361	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:52	2361	[DEBUG]	Executed store
2023-10-13	13:03:52	2361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861853','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:52	2361	[DEBUG]	Checking manufacturer
2023-10-13	13:03:52	2361	[DEBUG]	Load a row
2023-10-13	13:03:52	2361	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:52	2361	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:52	2361	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:52	2361	[DEBUG]	Executed store
2023-10-13	13:03:52	2361	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:52	2361	[DEBUG]	Manufacturer exists
2023-10-13	13:03:52	2361	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:52	2361	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:52	2361	[DEBUG]	Executed store
2023-10-13	13:03:52	2361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861853','26')
2023-10-13	13:03:52	2361	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:52	2361	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:52	2361	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861853 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:52	2361	[DEBUG]	Store custom available field
2023-10-13	13:03:52	2361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861853,3,'',1)
2023-10-13	13:03:52	2361	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:52	2361	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:52	2361	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861853 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:52	2361	[DEBUG]	Store custom available field
2023-10-13	13:03:52	2361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861853,6,'Unitaire',3)
2023-10-13	13:03:52	2361	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:52	2361	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:52	2361	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861852
2023-10-13	13:03:52	2361	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:52	2361	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861852\":[1861852,8,1,\"choisir la taille\"],\"1861853\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861852
2023-10-13	13:03:52	2361	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:52	2361	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861853
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:52	2362	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field taille
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:52	2362	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:52	2362	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:52	2362	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:52	2362	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:52	2362	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:52	2362	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field published
2023-10-13	13:03:52	2362	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:52	2362	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field override
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:52	2362	[DEBUG]	Use field value for field slug
2023-10-13	13:03:52	2362	[DEBUG]	Process line 2362
2023-10-13	13:03:52	2362	[DEBUG]	Load a row
2023-10-13	13:03:52	2362	[DEBUG]	Processing item: A_1293_1
2023-10-13	13:03:52	2362	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:52	2362	[DEBUG]	Processing product tax
2023-10-13	13:03:52	2362	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:52	2362	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:52	2362	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:52	2362	[DEBUG]	Query for Product
2023-10-13	13:03:52	2362	[DEBUG]	Executed store
2023-10-13	13:03:52	2362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1293_1','0.064','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:52	2362	[DEBUG]	Check product language entry
2023-10-13	13:03:52	2362	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861854
2023-10-13	13:03:52	2362	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:52	2362	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1293_1' AND `virtuemart_product_id` != 1861854
2023-10-13	13:03:52	2362	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:52	2362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861854, 'A_1293_1')
2023-10-13	13:03:52	2362	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:52	2362	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-patins-de-freins-hj739-13t3-a-visser-oem-noir' AND `virtuemart_product_id` != 1861854
2023-10-13	13:03:52	2362	[DEBUG]	Query for ProductLang
2023-10-13	13:03:52	2362	[DEBUG]	Executed store
2023-10-13	13:03:52	2362	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Patins de feins V-Brake à tasseaux symétriques 50 mm qualité Taiwann<br>N° art fourn : 26.52063',`product_name`='SHIMANO Patins de freins HJ739 13T3 à visser OEM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-patins-de-freins-hj739-13t3-a-visser-oem-noir' WHERE `virtuemart_product_id` = '1861854'
2023-10-13	13:03:52	2362	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2873.jpg
2023-10-13	13:03:52	2362	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:52	2362	[DEBUG]	Process image file
2023-10-13	13:03:52	2362	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:52	2362	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:52	2362	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2873.jpg
2023-10-13	13:03:52	2362	[DEBUG]	Full name target: bcprisme/image_2873.jpg
2023-10-13	13:03:53	2362	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:53	2362	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2873.jpg'
2023-10-13	13:03:53	2362	[DEBUG]	Query for Media
2023-10-13	13:03:53	2362	[DEBUG]	Executed store
2023-10-13	13:03:53	2362	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2873.jpg',`file_url_thumb`='bcprisme/image_2873.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12802'
2023-10-13	13:03:53	2362	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:53	2362	[DEBUG]	Executed store
2023-10-13	13:03:53	2362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861854','12802','1')
2023-10-13	13:03:53	2362	[DEBUG]	Store product image relation
2023-10-13	13:03:53	2362	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:53	2362	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861854 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:53	2362	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:53	2362	[DEBUG]	Executed store
2023-10-13	13:03:53	2362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861854','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:53	2362	[DEBUG]	Checking manufacturer
2023-10-13	13:03:53	2362	[DEBUG]	Load a row
2023-10-13	13:03:53	2362	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:53	2362	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:53	2362	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:53	2362	[DEBUG]	Executed store
2023-10-13	13:03:53	2362	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:53	2362	[DEBUG]	Manufacturer exists
2023-10-13	13:03:53	2362	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:53	2362	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:53	2362	[DEBUG]	Executed store
2023-10-13	13:03:53	2362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861854','26')
2023-10-13	13:03:53	2362	[DEBUG]	Find the custom field ID
2023-10-13	13:03:53	2362	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:53	2362	[DEBUG]	No custom field ID found
2023-10-13	13:03:53	2362	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:53	2362	[DEBUG]	Get existing row with customfield value 4.18833333333333
2023-10-13	13:03:53	2362	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861854 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:53	2362	[DEBUG]	Store custom available field
2023-10-13	13:03:53	2362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861854,3,'4.18833333333333',1)
2023-10-13	13:03:53	2362	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:53	2362	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:53	2362	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861854 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:53	2362	[DEBUG]	Store custom available field
2023-10-13	13:03:53	2362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861854,6,'choisir la taille',3)
2023-10-13	13:03:53	2362	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:53	2362	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:53	2362	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:53	2362	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:53	2362	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861854 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:53	2362	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:53	2362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861854,8,1)
2023-10-13	13:03:53	2362	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:53	2362	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861854\":[1861854,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861854
2023-10-13	13:03:53	2362	[DEBUG]	Checking category
2023-10-13	13:03:53	2362	[DEBUG]	Check if category path exists: FREINS / PATINS DE FREINS - BREMSE / BREMSGUMMI
2023-10-13	13:03:53	2362	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / PATINS DE FREINS - BREMSE / BREMSGUMMI' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:03:53	2362	[DEBUG]	Check if category path exists: PATINS DE FREINS - BREMSGUMMI
2023-10-13	13:03:53	2362	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PATINS DE FREINS - BREMSGUMMI' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7342
2023-10-13	13:03:53	2362	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:53	2362	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861854
2023-10-13	13:03:53	2362	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:53	2362	[DEBUG]	Executed store
2023-10-13	13:03:53	2362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861854','7343')
2023-10-13	13:03:53	2362	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:53	2362	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861854 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:03:53	2362	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:53	2362	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861854
2023-10-13	13:03:53	2363	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:53	2363	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:53	2363	[DEBUG]	Use field value for field taille
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:53	2363	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:53	2363	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:53	2363	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:53	2363	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:53	2363	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:53	2363	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:53	2363	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:53	2363	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:53	2363	[DEBUG]	Use field value for field published
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:53	2363	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field override
2023-10-13	13:03:53	2363	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:53	2363	[DEBUG]	Use field value for field slug
2023-10-13	13:03:53	2363	[DEBUG]	Process line 2363
2023-10-13	13:03:53	2363	[DEBUG]	Load a row
2023-10-13	13:03:53	2363	[DEBUG]	Processing item: 1000000022469
2023-10-13	13:03:53	2363	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:53	2363	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:53	2363	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1293_1'
2023-10-13	13:03:53	2363	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:53	2363	[DEBUG]	Processing product tax
2023-10-13	13:03:53	2363	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:53	2363	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:53	2363	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:53	2363	[DEBUG]	Query for Product
2023-10-13	13:03:53	2363	[DEBUG]	Executed store
2023-10-13	13:03:53	2363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861854','1000000022469','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:53	2363	[DEBUG]	No parent found
2023-10-13	13:03:53	2363	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861854 AND customfield_value = 'stockable'
2023-10-13	13:03:53	2363	[DEBUG]	Check product language entry
2023-10-13	13:03:53	2363	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861855
2023-10-13	13:03:53	2363	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:53	2363	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000022469' AND `virtuemart_product_id` != 1861855
2023-10-13	13:03:53	2363	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:53	2363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861855, '1000000022469')
2023-10-13	13:03:53	2363	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:53	2363	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-patins-de-freins-hj739-13t3-a-visser-oem-noir-unitaire' AND `virtuemart_product_id` != 1861855
2023-10-13	13:03:53	2363	[DEBUG]	Query for ProductLang
2023-10-13	13:03:53	2363	[DEBUG]	Executed store
2023-10-13	13:03:53	2363	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Patins de freins HJ739 13T3 à visser OEM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-patins-de-freins-hj739-13t3-a-visser-oem-noir-unitaire' WHERE `virtuemart_product_id` = '1861855'
2023-10-13	13:03:53	2363	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2873.jpg
2023-10-13	13:03:53	2363	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:53	2363	[DEBUG]	Process image file
2023-10-13	13:03:53	2363	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:03:53	2363	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:53	2363	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2873.jpg
2023-10-13	13:03:53	2363	[DEBUG]	Full name target: bcprisme/image_2873.jpg
2023-10-13	13:03:54	2363	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:54	2363	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2873.jpg'
2023-10-13	13:03:54	2363	[DEBUG]	Query for Media
2023-10-13	13:03:54	2363	[DEBUG]	Executed store
2023-10-13	13:03:54	2363	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2873.jpg',`file_url_thumb`='bcprisme/image_2873.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12802'
2023-10-13	13:03:54	2363	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:54	2363	[DEBUG]	Executed store
2023-10-13	13:03:54	2363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861855','12802','1')
2023-10-13	13:03:54	2363	[DEBUG]	Store product image relation
2023-10-13	13:03:54	2363	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:54	2363	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861855 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:54	2363	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:54	2363	[DEBUG]	Executed store
2023-10-13	13:03:54	2363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861855','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:54	2363	[DEBUG]	Checking manufacturer
2023-10-13	13:03:54	2363	[DEBUG]	Load a row
2023-10-13	13:03:54	2363	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:54	2363	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:54	2363	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:54	2363	[DEBUG]	Executed store
2023-10-13	13:03:54	2363	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:03:54	2363	[DEBUG]	Manufacturer exists
2023-10-13	13:03:54	2363	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:03:54	2363	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:54	2363	[DEBUG]	Executed store
2023-10-13	13:03:54	2363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861855','26')
2023-10-13	13:03:54	2363	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:54	2363	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:54	2363	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861855 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:54	2363	[DEBUG]	Store custom available field
2023-10-13	13:03:54	2363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861855,3,'',1)
2023-10-13	13:03:54	2363	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:54	2363	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:54	2363	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861855 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:54	2363	[DEBUG]	Store custom available field
2023-10-13	13:03:54	2363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861855,6,'Unitaire',3)
2023-10-13	13:03:54	2363	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:54	2363	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:54	2363	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861854
2023-10-13	13:03:54	2363	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:54	2363	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861854\":[1861854,8,1,\"choisir la taille\"],\"1861855\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861854
2023-10-13	13:03:54	2363	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:54	2363	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861855
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:54	2364	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field taille
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:54	2364	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:54	2364	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:54	2364	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:54	2364	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:54	2364	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:54	2364	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field published
2023-10-13	13:03:54	2364	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:54	2364	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field override
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:54	2364	[DEBUG]	Use field value for field slug
2023-10-13	13:03:54	2364	[DEBUG]	Process line 2364
2023-10-13	13:03:54	2364	[DEBUG]	Load a row
2023-10-13	13:03:54	2364	[DEBUG]	Processing item: A_1309_24
2023-10-13	13:03:54	2364	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:54	2364	[DEBUG]	Processing product tax
2023-10-13	13:03:54	2364	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:54	2364	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:54	2364	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:54	2364	[DEBUG]	Query for Product
2023-10-13	13:03:54	2364	[DEBUG]	Executed store
2023-10-13	13:03:54	2364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1309_24','0.056','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:54	2364	[DEBUG]	Check product language entry
2023-10-13	13:03:54	2364	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861856
2023-10-13	13:03:54	2364	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:54	2364	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1309_24' AND `virtuemart_product_id` != 1861856
2023-10-13	13:03:54	2364	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:54	2364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861856, 'A_1309_24')
2023-10-13	13:03:54	2364	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:54	2364	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-patins-de-freins-v-brake-a-cartouche-chrome-noir' AND `virtuemart_product_id` != 1861856
2023-10-13	13:03:54	2364	[DEBUG]	Query for ProductLang
2023-10-13	13:03:54	2364	[DEBUG]	Executed store
2023-10-13	13:03:54	2364	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Patins de freins V-Brake à cartouche compatible avec Shimano, 56 gr<br>N° art fourn : ZAP1',`product_name`='MSC Patins de freins V-Brake à cartouche / Chromé-noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-patins-de-freins-v-brake-a-cartouche-chrome-noir' WHERE `virtuemart_product_id` = '1861856'
2023-10-13	13:03:54	2364	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2936.jpg
2023-10-13	13:03:54	2364	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:03:54	2364	[DEBUG]	Process image file
2023-10-13	13:03:54	2364	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:03:54	2364	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:54	2364	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2936.jpg
2023-10-13	13:03:54	2364	[DEBUG]	Full name target: bcprisme/image_2936.jpg
2023-10-13	13:03:55	2364	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:55	2364	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2936.jpg'
2023-10-13	13:03:55	2364	[DEBUG]	Query for Media
2023-10-13	13:03:55	2364	[DEBUG]	Executed store
2023-10-13	13:03:55	2364	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2936.jpg',`file_url_thumb`='bcprisme/image_2936.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12804'
2023-10-13	13:03:55	2364	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:55	2364	[DEBUG]	Executed store
2023-10-13	13:03:55	2364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861856','12804','1')
2023-10-13	13:03:55	2364	[DEBUG]	Store product image relation
2023-10-13	13:03:55	2364	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:55	2364	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861856 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:55	2364	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:55	2364	[DEBUG]	Executed store
2023-10-13	13:03:55	2364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861856','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:55	2364	[DEBUG]	Checking manufacturer
2023-10-13	13:03:55	2364	[DEBUG]	Load a row
2023-10-13	13:03:55	2364	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:55	2364	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:03:55	2364	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:55	2364	[DEBUG]	Executed store
2023-10-13	13:03:55	2364	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:03:55	2364	[DEBUG]	Manufacturer exists
2023-10-13	13:03:55	2364	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:03:55	2364	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:55	2364	[DEBUG]	Executed store
2023-10-13	13:03:55	2364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861856','32')
2023-10-13	13:03:55	2364	[DEBUG]	Find the custom field ID
2023-10-13	13:03:55	2364	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:55	2364	[DEBUG]	No custom field ID found
2023-10-13	13:03:55	2364	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:55	2364	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:03:55	2364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861856 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:55	2364	[DEBUG]	Store custom available field
2023-10-13	13:03:55	2364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861856,3,'14.8586111111111',1)
2023-10-13	13:03:55	2364	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:55	2364	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:55	2364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861856 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:55	2364	[DEBUG]	Store custom available field
2023-10-13	13:03:55	2364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861856,6,'choisir la taille',3)
2023-10-13	13:03:55	2364	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:55	2364	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:55	2364	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:55	2364	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:55	2364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861856 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:55	2364	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:55	2364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861856,8,1)
2023-10-13	13:03:55	2364	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:55	2364	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861856\":[1861856,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861856
2023-10-13	13:03:55	2364	[DEBUG]	Checking category
2023-10-13	13:03:55	2364	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:55	2364	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861856
2023-10-13	13:03:55	2364	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:55	2364	[DEBUG]	Executed store
2023-10-13	13:03:55	2364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861856','7343')
2023-10-13	13:03:55	2364	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:55	2364	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861856 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:03:55	2364	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:55	2364	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861856
2023-10-13	13:03:55	2365	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:55	2365	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:55	2365	[DEBUG]	Use field value for field taille
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:55	2365	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:55	2365	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:55	2365	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:55	2365	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:55	2365	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:55	2365	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:55	2365	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:55	2365	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:55	2365	[DEBUG]	Use field value for field published
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:55	2365	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field override
2023-10-13	13:03:55	2365	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:55	2365	[DEBUG]	Use field value for field slug
2023-10-13	13:03:55	2365	[DEBUG]	Process line 2365
2023-10-13	13:03:55	2365	[DEBUG]	Load a row
2023-10-13	13:03:55	2365	[DEBUG]	Processing item: 8436041133186
2023-10-13	13:03:55	2365	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:55	2365	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:55	2365	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1309_24'
2023-10-13	13:03:55	2365	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:55	2365	[DEBUG]	Processing product tax
2023-10-13	13:03:55	2365	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:55	2365	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:55	2365	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:55	2365	[DEBUG]	Query for Product
2023-10-13	13:03:55	2365	[DEBUG]	Executed store
2023-10-13	13:03:55	2365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861856','8436041133186','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:55	2365	[DEBUG]	No parent found
2023-10-13	13:03:55	2365	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861856 AND customfield_value = 'stockable'
2023-10-13	13:03:55	2365	[DEBUG]	Check product language entry
2023-10-13	13:03:55	2365	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861857
2023-10-13	13:03:55	2365	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:55	2365	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041133186' AND `virtuemart_product_id` != 1861857
2023-10-13	13:03:55	2365	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:55	2365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861857, '8436041133186')
2023-10-13	13:03:55	2365	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:55	2365	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-patins-de-freins-v-brake-a-cartouche-chrome-noir-unitaire' AND `virtuemart_product_id` != 1861857
2023-10-13	13:03:55	2365	[DEBUG]	Query for ProductLang
2023-10-13	13:03:55	2365	[DEBUG]	Executed store
2023-10-13	13:03:55	2365	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Patins de freins V-Brake à cartouche / Chromé-noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-patins-de-freins-v-brake-a-cartouche-chrome-noir-unitaire' WHERE `virtuemart_product_id` = '1861857'
2023-10-13	13:03:55	2365	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2936.jpg
2023-10-13	13:03:55	2365	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:03:55	2365	[DEBUG]	Process image file
2023-10-13	13:03:55	2365	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:03:55	2365	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:55	2365	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2936.jpg
2023-10-13	13:03:55	2365	[DEBUG]	Full name target: bcprisme/image_2936.jpg
2023-10-13	13:03:56	2365	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:56	2365	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2936.jpg'
2023-10-13	13:03:56	2365	[DEBUG]	Query for Media
2023-10-13	13:03:56	2365	[DEBUG]	Executed store
2023-10-13	13:03:56	2365	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2936.jpg',`file_url_thumb`='bcprisme/image_2936.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12804'
2023-10-13	13:03:56	2365	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:56	2365	[DEBUG]	Executed store
2023-10-13	13:03:56	2365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861857','12804','1')
2023-10-13	13:03:56	2365	[DEBUG]	Store product image relation
2023-10-13	13:03:56	2365	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:56	2365	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861857 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:56	2365	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:56	2365	[DEBUG]	Executed store
2023-10-13	13:03:56	2365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861857','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:56	2365	[DEBUG]	Checking manufacturer
2023-10-13	13:03:56	2365	[DEBUG]	Load a row
2023-10-13	13:03:56	2365	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:56	2365	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:03:56	2365	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:56	2365	[DEBUG]	Executed store
2023-10-13	13:03:56	2365	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:03:56	2365	[DEBUG]	Manufacturer exists
2023-10-13	13:03:56	2365	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:03:56	2365	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:56	2365	[DEBUG]	Executed store
2023-10-13	13:03:56	2365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861857','32')
2023-10-13	13:03:56	2365	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:56	2365	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:56	2365	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861857 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:56	2365	[DEBUG]	Store custom available field
2023-10-13	13:03:56	2365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861857,3,'',1)
2023-10-13	13:03:56	2365	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:56	2365	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:56	2365	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861857 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:56	2365	[DEBUG]	Store custom available field
2023-10-13	13:03:56	2365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861857,6,'Unitaire',3)
2023-10-13	13:03:56	2365	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:56	2365	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:56	2365	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861856
2023-10-13	13:03:56	2365	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:56	2365	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861856\":[1861856,8,1,\"choisir la taille\"],\"1861857\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861856
2023-10-13	13:03:56	2365	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:56	2365	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861857
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:56	2366	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field taille
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:56	2366	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:56	2366	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:56	2366	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:56	2366	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:56	2366	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:56	2366	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field published
2023-10-13	13:03:56	2366	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:56	2366	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field override
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:56	2366	[DEBUG]	Use field value for field slug
2023-10-13	13:03:56	2366	[DEBUG]	Process line 2366
2023-10-13	13:03:56	2366	[DEBUG]	Load a row
2023-10-13	13:03:56	2366	[DEBUG]	Processing item: A_1310_1
2023-10-13	13:03:56	2366	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:56	2366	[DEBUG]	Processing product tax
2023-10-13	13:03:56	2366	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:56	2366	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:56	2366	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:56	2366	[DEBUG]	Query for Product
2023-10-13	13:03:56	2366	[DEBUG]	Executed store
2023-10-13	13:03:56	2366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1310_1','0.018','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:56	2366	[DEBUG]	Check product language entry
2023-10-13	13:03:56	2366	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861858
2023-10-13	13:03:56	2366	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:56	2366	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1310_1' AND `virtuemart_product_id` != 1861858
2023-10-13	13:03:56	2366	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:56	2366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861858, 'A_1310_1')
2023-10-13	13:03:56	2366	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:56	2366	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-gomme-de-rechange-ressorts-compatible-shimano-noir' AND `virtuemart_product_id` != 1861858
2023-10-13	13:03:56	2366	[DEBUG]	Query for ProductLang
2023-10-13	13:03:56	2366	[DEBUG]	Executed store
2023-10-13	13:03:56	2366	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Gommes de rechange pour porte-patins ZAP 1, livré avec ressort<br>N° art fourn : ZAP1R',`product_name`='MSC Gomme de rechange + ressorts compatible Shimano / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-gomme-de-rechange-ressorts-compatible-shimano-noir' WHERE `virtuemart_product_id` = '1861858'
2023-10-13	13:03:56	2366	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2938.jpg
2023-10-13	13:03:56	2366	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:03:56	2366	[DEBUG]	Process image file
2023-10-13	13:03:56	2366	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:03:56	2366	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:56	2366	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2938.jpg
2023-10-13	13:03:56	2366	[DEBUG]	Full name target: bcprisme/image_2938.jpg
2023-10-13	13:03:57	2366	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:57	2366	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2938.jpg'
2023-10-13	13:03:57	2366	[DEBUG]	Query for Media
2023-10-13	13:03:57	2366	[DEBUG]	Executed store
2023-10-13	13:03:57	2366	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2938.jpg',`file_url_thumb`='bcprisme/image_2938.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12805'
2023-10-13	13:03:57	2366	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:57	2366	[DEBUG]	Executed store
2023-10-13	13:03:57	2366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861858','12805','1')
2023-10-13	13:03:57	2366	[DEBUG]	Store product image relation
2023-10-13	13:03:57	2366	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:57	2366	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861858 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:57	2366	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:57	2366	[DEBUG]	Executed store
2023-10-13	13:03:57	2366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861858','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:57	2366	[DEBUG]	Checking manufacturer
2023-10-13	13:03:57	2366	[DEBUG]	Load a row
2023-10-13	13:03:57	2366	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:57	2366	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:03:57	2366	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:57	2366	[DEBUG]	Executed store
2023-10-13	13:03:57	2366	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:03:57	2366	[DEBUG]	Manufacturer exists
2023-10-13	13:03:57	2366	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:03:57	2366	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:57	2366	[DEBUG]	Executed store
2023-10-13	13:03:57	2366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861858','32')
2023-10-13	13:03:57	2366	[DEBUG]	Find the custom field ID
2023-10-13	13:03:57	2366	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:57	2366	[DEBUG]	No custom field ID found
2023-10-13	13:03:57	2366	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:57	2366	[DEBUG]	Get existing row with customfield value 5.88361111111111
2023-10-13	13:03:57	2366	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861858 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:57	2366	[DEBUG]	Store custom available field
2023-10-13	13:03:57	2366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861858,3,'5.88361111111111',1)
2023-10-13	13:03:57	2366	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:57	2366	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:57	2366	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861858 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:57	2366	[DEBUG]	Store custom available field
2023-10-13	13:03:57	2366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861858,6,'choisir la taille',3)
2023-10-13	13:03:57	2366	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:57	2366	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:57	2366	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:57	2366	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:57	2366	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861858 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:57	2366	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:57	2366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861858,8,1)
2023-10-13	13:03:57	2366	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:57	2366	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861858\":[1861858,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861858
2023-10-13	13:03:57	2366	[DEBUG]	Checking category
2023-10-13	13:03:57	2366	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:57	2366	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861858
2023-10-13	13:03:57	2366	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:57	2366	[DEBUG]	Executed store
2023-10-13	13:03:57	2366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861858','7343')
2023-10-13	13:03:57	2366	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:57	2366	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861858 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:03:57	2366	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:57	2366	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861858
2023-10-13	13:03:57	2367	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:57	2367	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:57	2367	[DEBUG]	Use field value for field taille
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:57	2367	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:57	2367	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:57	2367	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:57	2367	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:57	2367	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:57	2367	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:57	2367	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:57	2367	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:57	2367	[DEBUG]	Use field value for field published
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:57	2367	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field override
2023-10-13	13:03:57	2367	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:57	2367	[DEBUG]	Use field value for field slug
2023-10-13	13:03:57	2367	[DEBUG]	Process line 2367
2023-10-13	13:03:57	2367	[DEBUG]	Load a row
2023-10-13	13:03:57	2367	[DEBUG]	Processing item: 8436041133179
2023-10-13	13:03:57	2367	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:57	2367	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:57	2367	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1310_1'
2023-10-13	13:03:57	2367	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:57	2367	[DEBUG]	Processing product tax
2023-10-13	13:03:57	2367	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:57	2367	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:57	2367	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:57	2367	[DEBUG]	Query for Product
2023-10-13	13:03:57	2367	[DEBUG]	Executed store
2023-10-13	13:03:57	2367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861858','8436041133179','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:57	2367	[DEBUG]	No parent found
2023-10-13	13:03:57	2367	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861858 AND customfield_value = 'stockable'
2023-10-13	13:03:57	2367	[DEBUG]	Check product language entry
2023-10-13	13:03:57	2367	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861859
2023-10-13	13:03:57	2367	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:57	2367	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041133179' AND `virtuemart_product_id` != 1861859
2023-10-13	13:03:57	2367	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:57	2367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861859, '8436041133179')
2023-10-13	13:03:57	2367	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:57	2367	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-gomme-de-rechange-ressorts-compatible-shimano-noir-unitaire' AND `virtuemart_product_id` != 1861859
2023-10-13	13:03:57	2367	[DEBUG]	Query for ProductLang
2023-10-13	13:03:57	2367	[DEBUG]	Executed store
2023-10-13	13:03:57	2367	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Gomme de rechange + ressorts compatible Shimano / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-gomme-de-rechange-ressorts-compatible-shimano-noir-unitaire' WHERE `virtuemart_product_id` = '1861859'
2023-10-13	13:03:57	2367	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2938.jpg
2023-10-13	13:03:57	2367	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:03:57	2367	[DEBUG]	Process image file
2023-10-13	13:03:57	2367	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:03:57	2367	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:57	2367	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2938.jpg
2023-10-13	13:03:57	2367	[DEBUG]	Full name target: bcprisme/image_2938.jpg
2023-10-13	13:03:58	2367	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:58	2367	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2938.jpg'
2023-10-13	13:03:58	2367	[DEBUG]	Query for Media
2023-10-13	13:03:58	2367	[DEBUG]	Executed store
2023-10-13	13:03:58	2367	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2938.jpg',`file_url_thumb`='bcprisme/image_2938.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12805'
2023-10-13	13:03:58	2367	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:58	2367	[DEBUG]	Executed store
2023-10-13	13:03:58	2367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861859','12805','1')
2023-10-13	13:03:58	2367	[DEBUG]	Store product image relation
2023-10-13	13:03:58	2367	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:58	2367	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861859 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:58	2367	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:58	2367	[DEBUG]	Executed store
2023-10-13	13:03:58	2367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861859','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:58	2367	[DEBUG]	Checking manufacturer
2023-10-13	13:03:58	2367	[DEBUG]	Load a row
2023-10-13	13:03:58	2367	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:58	2367	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:03:58	2367	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:58	2367	[DEBUG]	Executed store
2023-10-13	13:03:58	2367	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:03:58	2367	[DEBUG]	Manufacturer exists
2023-10-13	13:03:58	2367	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:03:58	2367	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:58	2367	[DEBUG]	Executed store
2023-10-13	13:03:58	2367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861859','32')
2023-10-13	13:03:58	2367	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:58	2367	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:03:58	2367	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861859 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:58	2367	[DEBUG]	Store custom available field
2023-10-13	13:03:58	2367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861859,3,'',1)
2023-10-13	13:03:58	2367	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:58	2367	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:03:58	2367	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861859 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:58	2367	[DEBUG]	Store custom available field
2023-10-13	13:03:58	2367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861859,6,'Unitaire',3)
2023-10-13	13:03:58	2367	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:58	2367	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:03:58	2367	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861858
2023-10-13	13:03:58	2367	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:58	2367	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861858\":[1861858,8,1,\"choisir la taille\"],\"1861859\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861858
2023-10-13	13:03:58	2367	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:58	2367	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861859
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:58	2368	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field taille
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field category_path
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:58	2368	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:03:58	2368	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:58	2368	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field product_weight
2023-10-13	13:03:58	2368	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:58	2368	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:58	2368	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field published
2023-10-13	13:03:58	2368	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:58	2368	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field custom_title
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field custom_param
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field override
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field public_price
2023-10-13	13:03:58	2368	[DEBUG]	Use field value for field slug
2023-10-13	13:03:58	2368	[DEBUG]	Process line 2368
2023-10-13	13:03:58	2368	[DEBUG]	Load a row
2023-10-13	13:03:58	2368	[DEBUG]	Processing item: A_1531_50
2023-10-13	13:03:58	2368	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:58	2368	[DEBUG]	Processing product tax
2023-10-13	13:03:58	2368	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:58	2368	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:58	2368	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:58	2368	[DEBUG]	Query for Product
2023-10-13	13:03:58	2368	[DEBUG]	Executed store
2023-10-13	13:03:58	2368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1531_50','0.024','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:58	2368	[DEBUG]	Check product language entry
2023-10-13	13:03:58	2368	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861860
2023-10-13	13:03:58	2368	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:58	2368	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1531_50' AND `virtuemart_product_id` != 1861860
2023-10-13	13:03:58	2368	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:58	2368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861860, 'A_1531_50')
2023-10-13	13:03:58	2368	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:58	2368	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-patins-de-frein-pour-route-cantilever-pour-jante-aluminium-noir-bleu' AND `virtuemart_product_id` != 1861860
2023-10-13	13:03:58	2368	[DEBUG]	Query for ProductLang
2023-10-13	13:03:58	2368	[DEBUG]	Executed store
2023-10-13	13:03:58	2368	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Patins de frein pour route/cantilever pour jante Aluminium<br>N° art fourn : 500C',`product_name`='MSC Patins de frein pour route/cantilever pour jante Aluminium / Noir-bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-patins-de-frein-pour-route-cantilever-pour-jante-aluminium-noir-bleu' WHERE `virtuemart_product_id` = '1861860'
2023-10-13	13:03:58	2368	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3676.jpg
2023-10-13	13:03:58	2368	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:03:58	2368	[DEBUG]	Process image file
2023-10-13	13:03:58	2368	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:03:58	2368	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:58	2368	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3676.jpg
2023-10-13	13:03:58	2368	[DEBUG]	Full name target: bcprisme/image_3676.jpg
2023-10-13	13:03:59	2368	[DEBUG]	Checking if the file_url exists
2023-10-13	13:03:59	2368	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3676.jpg'
2023-10-13	13:03:59	2368	[DEBUG]	Query for Media
2023-10-13	13:03:59	2368	[DEBUG]	Executed store
2023-10-13	13:03:59	2368	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3676.jpg',`file_url_thumb`='bcprisme/image_3676.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12806'
2023-10-13	13:03:59	2368	[DEBUG]	Query for ProductMedia
2023-10-13	13:03:59	2368	[DEBUG]	Executed store
2023-10-13	13:03:59	2368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861860','12806','1')
2023-10-13	13:03:59	2368	[DEBUG]	Store product image relation
2023-10-13	13:03:59	2368	[DEBUG]	Finding a product_price_id
2023-10-13	13:03:59	2368	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861860 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:03:59	2368	[DEBUG]	Query for ProductPrice
2023-10-13	13:03:59	2368	[DEBUG]	Executed store
2023-10-13	13:03:59	2368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861860','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:03:59	2368	[DEBUG]	Checking manufacturer
2023-10-13	13:03:59	2368	[DEBUG]	Load a row
2023-10-13	13:03:59	2368	[DEBUG]	Manufacturer already exists
2023-10-13	13:03:59	2368	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:03:59	2368	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:03:59	2368	[DEBUG]	Executed store
2023-10-13	13:03:59	2368	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:03:59	2368	[DEBUG]	Manufacturer exists
2023-10-13	13:03:59	2368	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:03:59	2368	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:03:59	2368	[DEBUG]	Executed store
2023-10-13	13:03:59	2368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861860','32')
2023-10-13	13:03:59	2368	[DEBUG]	Find the custom field ID
2023-10-13	13:03:59	2368	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:03:59	2368	[DEBUG]	No custom field ID found
2023-10-13	13:03:59	2368	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:03:59	2368	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:03:59	2368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861860 AND `virtuemart_custom_id` = 3
2023-10-13	13:03:59	2368	[DEBUG]	Store custom available field
2023-10-13	13:03:59	2368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861860,3,'21.8391666666667',1)
2023-10-13	13:03:59	2368	[DEBUG]	Processing custom available field: taille
2023-10-13	13:03:59	2368	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:03:59	2368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861860 AND `virtuemart_custom_id` = 6
2023-10-13	13:03:59	2368	[DEBUG]	Store custom available field
2023-10-13	13:03:59	2368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861860,6,'choisir la taille',3)
2023-10-13	13:03:59	2368	[DEBUG]	Process multi-variant fields
2023-10-13	13:03:59	2368	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:03:59	2368	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:03:59	2368	[DEBUG]	Find the multi variant product entry
2023-10-13	13:03:59	2368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861860 AND `virtuemart_custom_id` = 8
2023-10-13	13:03:59	2368	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:03:59	2368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861860,8,1)
2023-10-13	13:03:59	2368	[DEBUG]	Store the updated customfield_params
2023-10-13	13:03:59	2368	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861860\":[1861860,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861860
2023-10-13	13:03:59	2368	[DEBUG]	Checking category
2023-10-13	13:03:59	2368	[DEBUG]	Get the existing categories for the product
2023-10-13	13:03:59	2368	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861860
2023-10-13	13:03:59	2368	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:03:59	2368	[DEBUG]	Executed store
2023-10-13	13:03:59	2368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861860','7343')
2023-10-13	13:03:59	2368	[DEBUG]	Delete leftover product categories
2023-10-13	13:03:59	2368	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861860 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:03:59	2368	[DEBUG]	Update has fields after all processing
2023-10-13	13:03:59	2368	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861860
2023-10-13	13:03:59	2369	[DEBUG]	Use field value for field product_sku
2023-10-13	13:03:59	2369	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:03:59	2369	[DEBUG]	Use field value for field taille
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:03:59	2369	[DEBUG]	Use field value for field product_name
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field category_path
2023-10-13	13:03:59	2369	[DEBUG]	Use field value for field product_price
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:03:59	2369	[DEBUG]	Use field value for field product_tax
2023-10-13	13:03:59	2369	[DEBUG]	Use field value for field file_url
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field product_desc
2023-10-13	13:03:59	2369	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:03:59	2369	[DEBUG]	Use field value for field product_availability
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field product_weight
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field product_unit
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field related_products
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field product_special
2023-10-13	13:03:59	2369	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:03:59	2369	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:03:59	2369	[DEBUG]	Use field value for field published
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field metadesc
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field metakey
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field custom_title
2023-10-13	13:03:59	2369	[DEBUG]	Use field value for field custom_value
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field custom_param
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field override
2023-10-13	13:03:59	2369	[DEBUG]	Use default value for field public_price
2023-10-13	13:03:59	2369	[DEBUG]	Use field value for field slug
2023-10-13	13:03:59	2369	[DEBUG]	Process line 2369
2023-10-13	13:03:59	2369	[DEBUG]	Load a row
2023-10-13	13:03:59	2369	[DEBUG]	Processing item: 8436041558590
2023-10-13	13:03:59	2369	[DEBUG]	Looking for parent SKU
2023-10-13	13:03:59	2369	[DEBUG]	Checking product parent SKU
2023-10-13	13:03:59	2369	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1531_50'
2023-10-13	13:03:59	2369	[DEBUG]	Product tax: 7.7
2023-10-13	13:03:59	2369	[DEBUG]	Processing product tax
2023-10-13	13:03:59	2369	[DEBUG]	Check if calculation rule exists
2023-10-13	13:03:59	2369	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:03:59	2369	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:03:59	2369	[DEBUG]	Query for Product
2023-10-13	13:03:59	2369	[DEBUG]	Executed store
2023-10-13	13:03:59	2369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861860','8436041558590','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:03:59	2369	[DEBUG]	No parent found
2023-10-13	13:03:59	2369	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861860 AND customfield_value = 'stockable'
2023-10-13	13:03:59	2369	[DEBUG]	Check product language entry
2023-10-13	13:03:59	2369	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861861
2023-10-13	13:03:59	2369	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:59	2369	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041558590' AND `virtuemart_product_id` != 1861861
2023-10-13	13:03:59	2369	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:03:59	2369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861861, '8436041558590')
2023-10-13	13:03:59	2369	[DEBUG]	Check if the product slug exists
2023-10-13	13:03:59	2369	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-patins-de-frein-pour-route-cantilever-pour-jante-aluminium-noir-bleu-unitaire' AND `virtuemart_product_id` != 1861861
2023-10-13	13:03:59	2369	[DEBUG]	Query for ProductLang
2023-10-13	13:03:59	2369	[DEBUG]	Executed store
2023-10-13	13:03:59	2369	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Patins de frein pour route/cantilever pour jante Aluminium / Noir-bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-patins-de-frein-pour-route-cantilever-pour-jante-aluminium-noir-bleu-unitaire' WHERE `virtuemart_product_id` = '1861861'
2023-10-13	13:03:59	2369	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3676.jpg
2023-10-13	13:03:59	2369	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:03:59	2369	[DEBUG]	Process image file
2023-10-13	13:03:59	2369	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:03:59	2369	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:03:59	2369	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3676.jpg
2023-10-13	13:03:59	2369	[DEBUG]	Full name target: bcprisme/image_3676.jpg
2023-10-13	13:04:00	2369	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:00	2369	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3676.jpg'
2023-10-13	13:04:00	2369	[DEBUG]	Query for Media
2023-10-13	13:04:00	2369	[DEBUG]	Executed store
2023-10-13	13:04:00	2369	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3676.jpg',`file_url_thumb`='bcprisme/image_3676.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12806'
2023-10-13	13:04:00	2369	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:00	2369	[DEBUG]	Executed store
2023-10-13	13:04:00	2369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861861','12806','1')
2023-10-13	13:04:00	2369	[DEBUG]	Store product image relation
2023-10-13	13:04:00	2369	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:00	2369	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861861 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:00	2369	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:00	2369	[DEBUG]	Executed store
2023-10-13	13:04:00	2369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861861','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:00	2369	[DEBUG]	Checking manufacturer
2023-10-13	13:04:00	2369	[DEBUG]	Load a row
2023-10-13	13:04:00	2369	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:00	2369	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:00	2369	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:00	2369	[DEBUG]	Executed store
2023-10-13	13:04:00	2369	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:00	2369	[DEBUG]	Manufacturer exists
2023-10-13	13:04:00	2369	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:04:00	2369	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:00	2369	[DEBUG]	Executed store
2023-10-13	13:04:00	2369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861861','32')
2023-10-13	13:04:00	2369	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:00	2369	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:00	2369	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861861 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:00	2369	[DEBUG]	Store custom available field
2023-10-13	13:04:00	2369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861861,3,'',1)
2023-10-13	13:04:00	2369	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:00	2369	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:00	2369	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861861 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:00	2369	[DEBUG]	Store custom available field
2023-10-13	13:04:00	2369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861861,6,'Unitaire',3)
2023-10-13	13:04:00	2369	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:00	2369	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:00	2369	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861860
2023-10-13	13:04:00	2369	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:00	2369	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861860\":[1861860,8,1,\"choisir la taille\"],\"1861861\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861860
2023-10-13	13:04:00	2369	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:00	2369	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861861
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:00	2370	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field taille
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:00	2370	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:00	2370	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:00	2370	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:00	2370	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:00	2370	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:00	2370	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field published
2023-10-13	13:04:00	2370	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:00	2370	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field override
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:00	2370	[DEBUG]	Use field value for field slug
2023-10-13	13:04:00	2370	[DEBUG]	Process line 2370
2023-10-13	13:04:00	2370	[DEBUG]	Load a row
2023-10-13	13:04:00	2370	[DEBUG]	Processing item: A_1532_50
2023-10-13	13:04:00	2370	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:00	2370	[DEBUG]	Processing product tax
2023-10-13	13:04:00	2370	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:00	2370	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:00	2370	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:00	2370	[DEBUG]	Query for Product
2023-10-13	13:04:00	2370	[DEBUG]	Executed store
2023-10-13	13:04:00	2370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1532_50','0.024','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:00	2370	[DEBUG]	Check product language entry
2023-10-13	13:04:00	2370	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861862
2023-10-13	13:04:00	2370	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:00	2370	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1532_50' AND `virtuemart_product_id` != 1861862
2023-10-13	13:04:00	2370	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:00	2370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861862, 'A_1532_50')
2023-10-13	13:04:00	2370	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:00	2370	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-patins-de-frein-pour-route-cantilever-pour-jante-carbone-noir-bleu' AND `virtuemart_product_id` != 1861862
2023-10-13	13:04:00	2370	[DEBUG]	Query for ProductLang
2023-10-13	13:04:00	2370	[DEBUG]	Executed store
2023-10-13	13:04:00	2370	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Patins de frein pour route/cantilever pour jante Carbone<br>N° art fourn : 500CC',`product_name`='MSC Patins de frein pour route/cantilever pour jante Carbone / Noir-bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-patins-de-frein-pour-route-cantilever-pour-jante-carbone-noir-bleu' WHERE `virtuemart_product_id` = '1861862'
2023-10-13	13:04:00	2370	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3678.jpg
2023-10-13	13:04:00	2370	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:04:00	2370	[DEBUG]	Process image file
2023-10-13	13:04:00	2370	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:04:00	2370	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:00	2370	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3678.jpg
2023-10-13	13:04:00	2370	[DEBUG]	Full name target: bcprisme/image_3678.jpg
2023-10-13	13:04:01	2370	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:01	2370	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3678.jpg'
2023-10-13	13:04:01	2370	[DEBUG]	Query for Media
2023-10-13	13:04:01	2370	[DEBUG]	Executed store
2023-10-13	13:04:01	2370	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3678.jpg',`file_url_thumb`='bcprisme/image_3678.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12807'
2023-10-13	13:04:01	2370	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:01	2370	[DEBUG]	Executed store
2023-10-13	13:04:01	2370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861862','12807','1')
2023-10-13	13:04:01	2370	[DEBUG]	Store product image relation
2023-10-13	13:04:01	2370	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:01	2370	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861862 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:01	2370	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:01	2370	[DEBUG]	Executed store
2023-10-13	13:04:01	2370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861862','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:01	2370	[DEBUG]	Checking manufacturer
2023-10-13	13:04:01	2370	[DEBUG]	Load a row
2023-10-13	13:04:01	2370	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:01	2370	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:01	2370	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:01	2370	[DEBUG]	Executed store
2023-10-13	13:04:01	2370	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:01	2370	[DEBUG]	Manufacturer exists
2023-10-13	13:04:01	2370	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:04:01	2370	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:01	2370	[DEBUG]	Executed store
2023-10-13	13:04:01	2370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861862','32')
2023-10-13	13:04:01	2370	[DEBUG]	Find the custom field ID
2023-10-13	13:04:01	2370	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:01	2370	[DEBUG]	No custom field ID found
2023-10-13	13:04:01	2370	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:01	2370	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:04:01	2370	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861862 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:01	2370	[DEBUG]	Store custom available field
2023-10-13	13:04:01	2370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861862,3,'29.8169444444444',1)
2023-10-13	13:04:01	2370	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:01	2370	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:01	2370	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861862 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:01	2370	[DEBUG]	Store custom available field
2023-10-13	13:04:01	2370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861862,6,'choisir la taille',3)
2023-10-13	13:04:01	2370	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:01	2370	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:01	2370	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:01	2370	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:01	2370	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861862 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:01	2370	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:01	2370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861862,8,1)
2023-10-13	13:04:01	2370	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:01	2370	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861862\":[1861862,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861862
2023-10-13	13:04:01	2370	[DEBUG]	Checking category
2023-10-13	13:04:01	2370	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:01	2370	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861862
2023-10-13	13:04:01	2370	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:01	2370	[DEBUG]	Executed store
2023-10-13	13:04:01	2370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861862','7343')
2023-10-13	13:04:01	2370	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:01	2370	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861862 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:01	2370	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:01	2370	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861862
2023-10-13	13:04:01	2371	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:01	2371	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:01	2371	[DEBUG]	Use field value for field taille
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:01	2371	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:01	2371	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:01	2371	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:01	2371	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:01	2371	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:01	2371	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:01	2371	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:01	2371	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:01	2371	[DEBUG]	Use field value for field published
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:01	2371	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field override
2023-10-13	13:04:01	2371	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:01	2371	[DEBUG]	Use field value for field slug
2023-10-13	13:04:01	2371	[DEBUG]	Process line 2371
2023-10-13	13:04:01	2371	[DEBUG]	Load a row
2023-10-13	13:04:01	2371	[DEBUG]	Processing item: 8436041558866
2023-10-13	13:04:01	2371	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:01	2371	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:01	2371	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1532_50'
2023-10-13	13:04:01	2371	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:01	2371	[DEBUG]	Processing product tax
2023-10-13	13:04:01	2371	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:01	2371	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:01	2371	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:01	2371	[DEBUG]	Query for Product
2023-10-13	13:04:01	2371	[DEBUG]	Executed store
2023-10-13	13:04:01	2371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861862','8436041558866','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:01	2371	[DEBUG]	No parent found
2023-10-13	13:04:01	2371	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861862 AND customfield_value = 'stockable'
2023-10-13	13:04:01	2371	[DEBUG]	Check product language entry
2023-10-13	13:04:01	2371	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861863
2023-10-13	13:04:02	2371	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:02	2371	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041558866' AND `virtuemart_product_id` != 1861863
2023-10-13	13:04:02	2371	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:02	2371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861863, '8436041558866')
2023-10-13	13:04:02	2371	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:02	2371	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-patins-de-frein-pour-route-cantilever-pour-jante-carbone-noir-bleu-unitaire' AND `virtuemart_product_id` != 1861863
2023-10-13	13:04:02	2371	[DEBUG]	Query for ProductLang
2023-10-13	13:04:02	2371	[DEBUG]	Executed store
2023-10-13	13:04:02	2371	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Patins de frein pour route/cantilever pour jante Carbone / Noir-bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-patins-de-frein-pour-route-cantilever-pour-jante-carbone-noir-bleu-unitaire' WHERE `virtuemart_product_id` = '1861863'
2023-10-13	13:04:02	2371	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3678.jpg
2023-10-13	13:04:02	2371	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:04:02	2371	[DEBUG]	Process image file
2023-10-13	13:04:02	2371	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:04:02	2371	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:02	2371	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3678.jpg
2023-10-13	13:04:02	2371	[DEBUG]	Full name target: bcprisme/image_3678.jpg
2023-10-13	13:04:02	2371	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:02	2371	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3678.jpg'
2023-10-13	13:04:02	2371	[DEBUG]	Query for Media
2023-10-13	13:04:02	2371	[DEBUG]	Executed store
2023-10-13	13:04:02	2371	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3678.jpg',`file_url_thumb`='bcprisme/image_3678.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12807'
2023-10-13	13:04:02	2371	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:02	2371	[DEBUG]	Executed store
2023-10-13	13:04:02	2371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861863','12807','1')
2023-10-13	13:04:02	2371	[DEBUG]	Store product image relation
2023-10-13	13:04:02	2371	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:02	2371	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861863 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:02	2371	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:02	2371	[DEBUG]	Executed store
2023-10-13	13:04:02	2371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861863','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:02	2371	[DEBUG]	Checking manufacturer
2023-10-13	13:04:02	2371	[DEBUG]	Load a row
2023-10-13	13:04:02	2371	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:02	2371	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:02	2371	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:02	2371	[DEBUG]	Executed store
2023-10-13	13:04:03	2371	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:03	2371	[DEBUG]	Manufacturer exists
2023-10-13	13:04:03	2371	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:04:03	2371	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:03	2371	[DEBUG]	Executed store
2023-10-13	13:04:03	2371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861863','32')
2023-10-13	13:04:03	2371	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:03	2371	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:03	2371	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861863 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:03	2371	[DEBUG]	Store custom available field
2023-10-13	13:04:03	2371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861863,3,'',1)
2023-10-13	13:04:03	2371	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:03	2371	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:03	2371	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861863 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:03	2371	[DEBUG]	Store custom available field
2023-10-13	13:04:03	2371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861863,6,'Unitaire',3)
2023-10-13	13:04:03	2371	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:03	2371	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:03	2371	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861862
2023-10-13	13:04:03	2371	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:03	2371	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861862\":[1861862,8,1,\"choisir la taille\"],\"1861863\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861862
2023-10-13	13:04:03	2371	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:03	2371	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861863
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:03	2372	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field taille
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:03	2372	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:03	2372	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:03	2372	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:03	2372	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:03	2372	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:03	2372	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field published
2023-10-13	13:04:03	2372	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:03	2372	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field override
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:03	2372	[DEBUG]	Use field value for field slug
2023-10-13	13:04:03	2372	[DEBUG]	Process line 2372
2023-10-13	13:04:03	2372	[DEBUG]	Load a row
2023-10-13	13:04:03	2372	[DEBUG]	Processing item: A_1639_0
2023-10-13	13:04:03	2372	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:03	2372	[DEBUG]	Processing product tax
2023-10-13	13:04:03	2372	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:03	2372	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:03	2372	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:03	2372	[DEBUG]	Query for Product
2023-10-13	13:04:03	2372	[DEBUG]	Executed store
2023-10-13	13:04:03	2372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1639_0','0.0023','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:03	2372	[DEBUG]	Check product language entry
2023-10-13	13:04:03	2372	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861864
2023-10-13	13:04:03	2372	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:03	2372	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1639_0' AND `virtuemart_product_id` != 1861864
2023-10-13	13:04:03	2372	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:03	2372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861864, 'A_1639_0')
2023-10-13	13:04:03	2372	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:03	2372	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-gommes-de-rechange-pour-jante-en-carbone-shimano-compatible-unique' AND `virtuemart_product_id` != 1861864
2023-10-13	13:04:03	2372	[DEBUG]	Query for ProductLang
2023-10-13	13:04:03	2372	[DEBUG]	Executed store
2023-10-13	13:04:03	2372	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Gommes de rechange pour jante en carbone, Shimano compatible<br>N° art fourn : DK426',`product_name`='MSC Gommes de rechange pour jante en carbone, Shimano compatible / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-gommes-de-rechange-pour-jante-en-carbone-shimano-compatible-unique' WHERE `virtuemart_product_id` = '1861864'
2023-10-13	13:04:03	2372	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5668.jpg
2023-10-13	13:04:03	2372	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:04:03	2372	[DEBUG]	Process image file
2023-10-13	13:04:03	2372	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:04:03	2372	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:03	2372	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5668.jpg
2023-10-13	13:04:03	2372	[DEBUG]	Full name target: bcprisme/image_5668.jpg
2023-10-13	13:04:04	2372	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:04	2372	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5668.jpg'
2023-10-13	13:04:04	2372	[DEBUG]	Query for Media
2023-10-13	13:04:04	2372	[DEBUG]	Executed store
2023-10-13	13:04:04	2372	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5668.jpg',`file_url_thumb`='bcprisme/image_5668.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12808'
2023-10-13	13:04:04	2372	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:04	2372	[DEBUG]	Executed store
2023-10-13	13:04:04	2372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861864','12808','1')
2023-10-13	13:04:04	2372	[DEBUG]	Store product image relation
2023-10-13	13:04:04	2372	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:04	2372	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861864 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:04	2372	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:04	2372	[DEBUG]	Executed store
2023-10-13	13:04:04	2372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861864','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:04	2372	[DEBUG]	Checking manufacturer
2023-10-13	13:04:04	2372	[DEBUG]	Load a row
2023-10-13	13:04:04	2372	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:04	2372	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:04	2372	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:04	2372	[DEBUG]	Executed store
2023-10-13	13:04:04	2372	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:04	2372	[DEBUG]	Manufacturer exists
2023-10-13	13:04:04	2372	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:04:04	2372	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:04	2372	[DEBUG]	Executed store
2023-10-13	13:04:04	2372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861864','32')
2023-10-13	13:04:04	2372	[DEBUG]	Find the custom field ID
2023-10-13	13:04:04	2372	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:04	2372	[DEBUG]	No custom field ID found
2023-10-13	13:04:04	2372	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:04	2372	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:04:04	2372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861864 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:04	2372	[DEBUG]	Store custom available field
2023-10-13	13:04:04	2372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861864,3,'8.87527777777778',1)
2023-10-13	13:04:04	2372	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:04	2372	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:04	2372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861864 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:04	2372	[DEBUG]	Store custom available field
2023-10-13	13:04:04	2372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861864,6,'choisir la taille',3)
2023-10-13	13:04:04	2372	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:04	2372	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:04	2372	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:04	2372	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:04	2372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861864 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:04	2372	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:04	2372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861864,8,1)
2023-10-13	13:04:04	2372	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:04	2372	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861864\":[1861864,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861864
2023-10-13	13:04:04	2372	[DEBUG]	Checking category
2023-10-13	13:04:04	2372	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:04	2372	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861864
2023-10-13	13:04:04	2372	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:04	2372	[DEBUG]	Executed store
2023-10-13	13:04:04	2372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861864','7343')
2023-10-13	13:04:04	2372	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:04	2372	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861864 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:04	2372	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:04	2372	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861864
2023-10-13	13:04:04	2373	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:04	2373	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:04	2373	[DEBUG]	Use field value for field taille
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:04	2373	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:04	2373	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:04	2373	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:04	2373	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:04	2373	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:04	2373	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:04	2373	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:04	2373	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:04	2373	[DEBUG]	Use field value for field published
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:04	2373	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field override
2023-10-13	13:04:04	2373	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:04	2373	[DEBUG]	Use field value for field slug
2023-10-13	13:04:04	2373	[DEBUG]	Process line 2373
2023-10-13	13:04:04	2373	[DEBUG]	Load a row
2023-10-13	13:04:04	2373	[DEBUG]	Processing item: 8436041134879
2023-10-13	13:04:04	2373	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:04	2373	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:04	2373	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1639_0'
2023-10-13	13:04:04	2373	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:04	2373	[DEBUG]	Processing product tax
2023-10-13	13:04:04	2373	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:04	2373	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:04	2373	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:04	2373	[DEBUG]	Query for Product
2023-10-13	13:04:04	2373	[DEBUG]	Executed store
2023-10-13	13:04:04	2373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861864','8436041134879','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:04	2373	[DEBUG]	No parent found
2023-10-13	13:04:04	2373	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861864 AND customfield_value = 'stockable'
2023-10-13	13:04:04	2373	[DEBUG]	Check product language entry
2023-10-13	13:04:04	2373	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861865
2023-10-13	13:04:04	2373	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:04	2373	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041134879' AND `virtuemart_product_id` != 1861865
2023-10-13	13:04:04	2373	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:04	2373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861865, '8436041134879')
2023-10-13	13:04:04	2373	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:04	2373	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-gommes-de-rechange-pour-jante-en-carbone-shimano-compatible-unique-unitaire' AND `virtuemart_product_id` != 1861865
2023-10-13	13:04:04	2373	[DEBUG]	Query for ProductLang
2023-10-13	13:04:04	2373	[DEBUG]	Executed store
2023-10-13	13:04:04	2373	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Gommes de rechange pour jante en carbone, Shimano compatible / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-gommes-de-rechange-pour-jante-en-carbone-shimano-compatible-unique-unitaire' WHERE `virtuemart_product_id` = '1861865'
2023-10-13	13:04:04	2373	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5668.jpg
2023-10-13	13:04:04	2373	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:04:04	2373	[DEBUG]	Process image file
2023-10-13	13:04:04	2373	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:04:04	2373	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:04	2373	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5668.jpg
2023-10-13	13:04:04	2373	[DEBUG]	Full name target: bcprisme/image_5668.jpg
2023-10-13	13:04:05	2373	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:05	2373	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5668.jpg'
2023-10-13	13:04:05	2373	[DEBUG]	Query for Media
2023-10-13	13:04:05	2373	[DEBUG]	Executed store
2023-10-13	13:04:05	2373	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5668.jpg',`file_url_thumb`='bcprisme/image_5668.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12808'
2023-10-13	13:04:05	2373	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:05	2373	[DEBUG]	Executed store
2023-10-13	13:04:05	2373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861865','12808','1')
2023-10-13	13:04:05	2373	[DEBUG]	Store product image relation
2023-10-13	13:04:05	2373	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:05	2373	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861865 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:05	2373	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:05	2373	[DEBUG]	Executed store
2023-10-13	13:04:05	2373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861865','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:05	2373	[DEBUG]	Checking manufacturer
2023-10-13	13:04:05	2373	[DEBUG]	Load a row
2023-10-13	13:04:05	2373	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:05	2373	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:05	2373	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:05	2373	[DEBUG]	Executed store
2023-10-13	13:04:05	2373	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:05	2373	[DEBUG]	Manufacturer exists
2023-10-13	13:04:05	2373	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:04:05	2373	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:05	2373	[DEBUG]	Executed store
2023-10-13	13:04:05	2373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861865','32')
2023-10-13	13:04:05	2373	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:05	2373	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:05	2373	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861865 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:05	2373	[DEBUG]	Store custom available field
2023-10-13	13:04:05	2373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861865,3,'',1)
2023-10-13	13:04:05	2373	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:05	2373	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:05	2373	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861865 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:05	2373	[DEBUG]	Store custom available field
2023-10-13	13:04:05	2373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861865,6,'Unitaire',3)
2023-10-13	13:04:05	2373	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:05	2373	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:05	2373	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861864
2023-10-13	13:04:05	2373	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:05	2373	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861864\":[1861864,8,1,\"choisir la taille\"],\"1861865\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861864
2023-10-13	13:04:05	2373	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:05	2373	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861865
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:05	2374	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field taille
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:05	2374	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:05	2374	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:05	2374	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:05	2374	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:05	2374	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:05	2374	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field published
2023-10-13	13:04:05	2374	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:05	2374	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field override
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:05	2374	[DEBUG]	Use field value for field slug
2023-10-13	13:04:05	2374	[DEBUG]	Process line 2374
2023-10-13	13:04:05	2374	[DEBUG]	Load a row
2023-10-13	13:04:05	2374	[DEBUG]	Processing item: A_2964_1
2023-10-13	13:04:05	2374	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:05	2374	[DEBUG]	Processing product tax
2023-10-13	13:04:05	2374	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:05	2374	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:05	2374	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:05	2374	[DEBUG]	Query for Product
2023-10-13	13:04:05	2374	[DEBUG]	Executed store
2023-10-13	13:04:05	2374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2964_1','0.025','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:05	2374	[DEBUG]	Check product language entry
2023-10-13	13:04:05	2374	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861866
2023-10-13	13:04:05	2374	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:05	2374	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2964_1' AND `virtuemart_product_id` != 1861866
2023-10-13	13:04:05	2374	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:05	2374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861866, 'A_2964_1')
2023-10-13	13:04:05	2374	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:05	2374	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-8436041558590-noir' AND `virtuemart_product_id` != 1861866
2023-10-13	13:04:05	2374	[DEBUG]	Query for ProductLang
2023-10-13	13:04:05	2374	[DEBUG]	Executed store
2023-10-13	13:04:05	2374	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Patins de frein ultralight pour V-Brake 55mm - Alu Pour jantes en aluminium et en carbone Dessin ultralight Dessin pour une dissipation supérieure de la chaleur Fournit un freinage stable Compatible avec tous les freins cantilever, compatible Shimano<br>N° art fourn : BR467CLA',`product_name`='MSC 8436041558590 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-8436041558590-noir' WHERE `virtuemart_product_id` = '1861866'
2023-10-13	13:04:05	2374	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12356.jpg
2023-10-13	13:04:05	2374	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:05	2374	[DEBUG]	Process image file
2023-10-13	13:04:05	2374	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:05	2374	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:05	2374	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12356.jpg
2023-10-13	13:04:05	2374	[DEBUG]	Full name target: bcprisme/image_12356.jpg
2023-10-13	13:04:06	2374	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:06	2374	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12356.jpg'
2023-10-13	13:04:06	2374	[DEBUG]	Query for Media
2023-10-13	13:04:06	2374	[DEBUG]	Executed store
2023-10-13	13:04:06	2374	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12356.jpg',`file_url_thumb`='bcprisme/image_12356.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12811'
2023-10-13	13:04:06	2374	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:06	2374	[DEBUG]	Executed store
2023-10-13	13:04:06	2374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861866','12811','1')
2023-10-13	13:04:06	2374	[DEBUG]	Store product image relation
2023-10-13	13:04:06	2374	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:06	2374	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861866 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:06	2374	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:06	2374	[DEBUG]	Executed store
2023-10-13	13:04:06	2374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861866','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:06	2374	[DEBUG]	Checking manufacturer
2023-10-13	13:04:06	2374	[DEBUG]	Load a row
2023-10-13	13:04:06	2374	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:06	2374	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:06	2374	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:06	2374	[DEBUG]	Executed store
2023-10-13	13:04:06	2374	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:06	2374	[DEBUG]	Manufacturer exists
2023-10-13	13:04:06	2374	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:04:06	2374	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:06	2374	[DEBUG]	Executed store
2023-10-13	13:04:06	2374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861866','32')
2023-10-13	13:04:06	2374	[DEBUG]	Find the custom field ID
2023-10-13	13:04:06	2374	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:06	2374	[DEBUG]	No custom field ID found
2023-10-13	13:04:06	2374	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:06	2374	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:04:06	2374	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861866 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:06	2374	[DEBUG]	Store custom available field
2023-10-13	13:04:06	2374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861866,3,'29.8169444444444',1)
2023-10-13	13:04:06	2374	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:06	2374	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:06	2374	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861866 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:06	2374	[DEBUG]	Store custom available field
2023-10-13	13:04:06	2374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861866,6,'choisir la taille',3)
2023-10-13	13:04:06	2374	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:06	2374	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:06	2374	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:06	2374	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:06	2374	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861866 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:06	2374	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:06	2374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861866,8,1)
2023-10-13	13:04:06	2374	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:06	2374	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861866\":[1861866,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861866
2023-10-13	13:04:06	2374	[DEBUG]	Checking category
2023-10-13	13:04:06	2374	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:06	2374	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861866
2023-10-13	13:04:06	2374	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:06	2374	[DEBUG]	Executed store
2023-10-13	13:04:06	2374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861866','7343')
2023-10-13	13:04:06	2374	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:06	2374	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861866 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:06	2374	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:06	2374	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861866
2023-10-13	13:04:06	2375	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:06	2375	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:06	2375	[DEBUG]	Use field value for field taille
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:06	2375	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:06	2375	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:06	2375	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:06	2375	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:06	2375	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:06	2375	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:06	2375	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:06	2375	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:06	2375	[DEBUG]	Use field value for field published
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:06	2375	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field override
2023-10-13	13:04:06	2375	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:06	2375	[DEBUG]	Use field value for field slug
2023-10-13	13:04:06	2375	[DEBUG]	Process line 2375
2023-10-13	13:04:06	2375	[DEBUG]	Load a row
2023-10-13	13:04:06	2375	[DEBUG]	Processing item: 8436550192445
2023-10-13	13:04:06	2375	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:06	2375	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:06	2375	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2964_1'
2023-10-13	13:04:06	2375	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:06	2375	[DEBUG]	Processing product tax
2023-10-13	13:04:06	2375	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:06	2375	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:06	2375	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:06	2375	[DEBUG]	Query for Product
2023-10-13	13:04:06	2375	[DEBUG]	Executed store
2023-10-13	13:04:06	2375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861866','8436550192445','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:06	2375	[DEBUG]	No parent found
2023-10-13	13:04:06	2375	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861866 AND customfield_value = 'stockable'
2023-10-13	13:04:06	2375	[DEBUG]	Check product language entry
2023-10-13	13:04:06	2375	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861867
2023-10-13	13:04:06	2375	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:06	2375	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550192445' AND `virtuemart_product_id` != 1861867
2023-10-13	13:04:06	2375	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:06	2375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861867, '8436550192445')
2023-10-13	13:04:06	2375	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:06	2375	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-8436041558590-noir-unitaire' AND `virtuemart_product_id` != 1861867
2023-10-13	13:04:06	2375	[DEBUG]	Query for ProductLang
2023-10-13	13:04:06	2375	[DEBUG]	Executed store
2023-10-13	13:04:06	2375	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC 8436041558590 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-8436041558590-noir-unitaire' WHERE `virtuemart_product_id` = '1861867'
2023-10-13	13:04:06	2375	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12356.jpg
2023-10-13	13:04:06	2375	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:06	2375	[DEBUG]	Process image file
2023-10-13	13:04:06	2375	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:06	2375	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:06	2375	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12356.jpg
2023-10-13	13:04:06	2375	[DEBUG]	Full name target: bcprisme/image_12356.jpg
2023-10-13	13:04:07	2375	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:07	2375	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12356.jpg'
2023-10-13	13:04:07	2375	[DEBUG]	Query for Media
2023-10-13	13:04:07	2375	[DEBUG]	Executed store
2023-10-13	13:04:07	2375	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12356.jpg',`file_url_thumb`='bcprisme/image_12356.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12811'
2023-10-13	13:04:07	2375	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:07	2375	[DEBUG]	Executed store
2023-10-13	13:04:07	2375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861867','12811','1')
2023-10-13	13:04:07	2375	[DEBUG]	Store product image relation
2023-10-13	13:04:07	2375	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:07	2375	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861867 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:07	2375	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:07	2375	[DEBUG]	Executed store
2023-10-13	13:04:07	2375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861867','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:07	2375	[DEBUG]	Checking manufacturer
2023-10-13	13:04:07	2375	[DEBUG]	Load a row
2023-10-13	13:04:07	2375	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:07	2375	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:07	2375	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:07	2375	[DEBUG]	Executed store
2023-10-13	13:04:07	2375	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:07	2375	[DEBUG]	Manufacturer exists
2023-10-13	13:04:07	2375	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:04:07	2375	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:07	2375	[DEBUG]	Executed store
2023-10-13	13:04:07	2375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861867','32')
2023-10-13	13:04:07	2375	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:07	2375	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:07	2375	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861867 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:07	2375	[DEBUG]	Store custom available field
2023-10-13	13:04:07	2375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861867,3,'',1)
2023-10-13	13:04:07	2375	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:07	2375	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:07	2375	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861867 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:07	2375	[DEBUG]	Store custom available field
2023-10-13	13:04:07	2375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861867,6,'Unitaire',3)
2023-10-13	13:04:07	2375	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:07	2375	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:07	2375	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861866
2023-10-13	13:04:07	2375	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:07	2375	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861866\":[1861866,8,1,\"choisir la taille\"],\"1861867\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861866
2023-10-13	13:04:07	2375	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:07	2375	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861867
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:07	2376	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field taille
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:07	2376	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:07	2376	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:07	2376	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:07	2376	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:07	2376	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:07	2376	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field published
2023-10-13	13:04:07	2376	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:07	2376	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field override
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:07	2376	[DEBUG]	Use field value for field slug
2023-10-13	13:04:07	2376	[DEBUG]	Process line 2376
2023-10-13	13:04:07	2376	[DEBUG]	Load a row
2023-10-13	13:04:07	2376	[DEBUG]	Processing item: A_2966_42
2023-10-13	13:04:07	2376	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:07	2376	[DEBUG]	Processing product tax
2023-10-13	13:04:07	2376	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:07	2376	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:07	2376	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:07	2376	[DEBUG]	Query for Product
2023-10-13	13:04:07	2376	[DEBUG]	Executed store
2023-10-13	13:04:07	2376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2966_42','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:07	2376	[DEBUG]	Check product language entry
2023-10-13	13:04:07	2376	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861868
2023-10-13	13:04:07	2376	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:07	2376	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2966_42' AND `virtuemart_product_id` != 1861868
2023-10-13	13:04:07	2376	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:07	2376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861868, 'A_2966_42')
2023-10-13	13:04:07	2376	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:07	2376	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-rechange-patins-de-frein-ultralight-cantilever-55mm-brun' AND `virtuemart_product_id` != 1861868
2023-10-13	13:04:07	2376	[DEBUG]	Query for ProductLang
2023-10-13	13:04:07	2376	[DEBUG]	Executed store
2023-10-13	13:04:07	2376	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Rechange patins de frein ultralight Cantilever 55mm. Pour jantes d\'aluminium et carbone Dessin ultralight Dessin pour une dissipation de la chaleur supérieur Apporte un freinage stable Compatible avec tous des freins cantilever <br>N° art fourn : BR467',`product_name`='MSC Rechange patins de frein ultralight Cantilever 55mm / Brun',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-rechange-patins-de-frein-ultralight-cantilever-55mm-brun' WHERE `virtuemart_product_id` = '1861868'
2023-10-13	13:04:07	2376	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12363.jpg
2023-10-13	13:04:07	2376	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:07	2376	[DEBUG]	Process image file
2023-10-13	13:04:07	2376	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:07	2376	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:07	2376	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12363.jpg
2023-10-13	13:04:07	2376	[DEBUG]	Full name target: bcprisme/image_12363.jpg
2023-10-13	13:04:08	2376	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:08	2376	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12363.jpg'
2023-10-13	13:04:08	2376	[DEBUG]	Query for Media
2023-10-13	13:04:08	2376	[DEBUG]	Executed store
2023-10-13	13:04:08	2376	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12363.jpg',`file_url_thumb`='bcprisme/image_12363.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12812'
2023-10-13	13:04:08	2376	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:08	2376	[DEBUG]	Executed store
2023-10-13	13:04:08	2376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861868','12812','1')
2023-10-13	13:04:08	2376	[DEBUG]	Store product image relation
2023-10-13	13:04:08	2376	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:08	2376	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861868 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:08	2376	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:08	2376	[DEBUG]	Executed store
2023-10-13	13:04:08	2376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861868','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:08	2376	[DEBUG]	Checking manufacturer
2023-10-13	13:04:08	2376	[DEBUG]	Load a row
2023-10-13	13:04:08	2376	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:08	2376	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:08	2376	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:08	2376	[DEBUG]	Executed store
2023-10-13	13:04:08	2376	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:08	2376	[DEBUG]	Manufacturer exists
2023-10-13	13:04:08	2376	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:04:08	2376	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:08	2376	[DEBUG]	Executed store
2023-10-13	13:04:08	2376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861868','32')
2023-10-13	13:04:08	2376	[DEBUG]	Find the custom field ID
2023-10-13	13:04:08	2376	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:08	2376	[DEBUG]	No custom field ID found
2023-10-13	13:04:08	2376	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:08	2376	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:04:08	2376	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861868 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:08	2376	[DEBUG]	Store custom available field
2023-10-13	13:04:08	2376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861868,3,'14.8586111111111',1)
2023-10-13	13:04:08	2376	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:08	2376	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:08	2376	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861868 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:08	2376	[DEBUG]	Store custom available field
2023-10-13	13:04:08	2376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861868,6,'choisir la taille',3)
2023-10-13	13:04:08	2376	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:08	2376	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:08	2376	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:08	2376	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:08	2376	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861868 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:08	2376	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:08	2376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861868,8,1)
2023-10-13	13:04:08	2376	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:08	2376	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861868\":[1861868,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861868
2023-10-13	13:04:08	2376	[DEBUG]	Checking category
2023-10-13	13:04:08	2376	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:08	2376	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861868
2023-10-13	13:04:08	2376	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:08	2376	[DEBUG]	Executed store
2023-10-13	13:04:08	2376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861868','7343')
2023-10-13	13:04:08	2376	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:08	2376	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861868 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:08	2376	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:08	2376	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861868
2023-10-13	13:04:08	2377	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:08	2377	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:08	2377	[DEBUG]	Use field value for field taille
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:08	2377	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:08	2377	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:08	2377	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:08	2377	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:08	2377	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:08	2377	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:08	2377	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:08	2377	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:08	2377	[DEBUG]	Use field value for field published
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:08	2377	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field override
2023-10-13	13:04:08	2377	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:08	2377	[DEBUG]	Use field value for field slug
2023-10-13	13:04:08	2377	[DEBUG]	Process line 2377
2023-10-13	13:04:08	2377	[DEBUG]	Load a row
2023-10-13	13:04:08	2377	[DEBUG]	Processing item: 8436550192452
2023-10-13	13:04:08	2377	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:08	2377	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:08	2377	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2966_42'
2023-10-13	13:04:08	2377	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:08	2377	[DEBUG]	Processing product tax
2023-10-13	13:04:08	2377	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:08	2377	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:08	2377	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:08	2377	[DEBUG]	Query for Product
2023-10-13	13:04:08	2377	[DEBUG]	Executed store
2023-10-13	13:04:08	2377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861868','8436550192452','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:08	2377	[DEBUG]	No parent found
2023-10-13	13:04:08	2377	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861868 AND customfield_value = 'stockable'
2023-10-13	13:04:08	2377	[DEBUG]	Check product language entry
2023-10-13	13:04:08	2377	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861869
2023-10-13	13:04:08	2377	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:08	2377	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550192452' AND `virtuemart_product_id` != 1861869
2023-10-13	13:04:08	2377	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:08	2377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861869, '8436550192452')
2023-10-13	13:04:08	2377	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:08	2377	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-rechange-patins-de-frein-ultralight-cantilever-55mm-brun-unitaire' AND `virtuemart_product_id` != 1861869
2023-10-13	13:04:08	2377	[DEBUG]	Query for ProductLang
2023-10-13	13:04:08	2377	[DEBUG]	Executed store
2023-10-13	13:04:08	2377	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Rechange patins de frein ultralight Cantilever 55mm / Brun (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-rechange-patins-de-frein-ultralight-cantilever-55mm-brun-unitaire' WHERE `virtuemart_product_id` = '1861869'
2023-10-13	13:04:08	2377	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12363.jpg
2023-10-13	13:04:08	2377	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:08	2377	[DEBUG]	Process image file
2023-10-13	13:04:08	2377	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:08	2377	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:08	2377	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12363.jpg
2023-10-13	13:04:08	2377	[DEBUG]	Full name target: bcprisme/image_12363.jpg
2023-10-13	13:04:09	2377	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:09	2377	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12363.jpg'
2023-10-13	13:04:09	2377	[DEBUG]	Query for Media
2023-10-13	13:04:09	2377	[DEBUG]	Executed store
2023-10-13	13:04:09	2377	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12363.jpg',`file_url_thumb`='bcprisme/image_12363.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12812'
2023-10-13	13:04:09	2377	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:09	2377	[DEBUG]	Executed store
2023-10-13	13:04:09	2377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861869','12812','1')
2023-10-13	13:04:09	2377	[DEBUG]	Store product image relation
2023-10-13	13:04:09	2377	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:09	2377	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861869 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:09	2377	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:09	2377	[DEBUG]	Executed store
2023-10-13	13:04:09	2377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861869','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:09	2377	[DEBUG]	Checking manufacturer
2023-10-13	13:04:09	2377	[DEBUG]	Load a row
2023-10-13	13:04:09	2377	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:09	2377	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:09	2377	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:09	2377	[DEBUG]	Executed store
2023-10-13	13:04:09	2377	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:09	2377	[DEBUG]	Manufacturer exists
2023-10-13	13:04:09	2377	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:04:09	2377	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:09	2377	[DEBUG]	Executed store
2023-10-13	13:04:09	2377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861869','32')
2023-10-13	13:04:09	2377	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:09	2377	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:09	2377	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861869 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:09	2377	[DEBUG]	Store custom available field
2023-10-13	13:04:09	2377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861869,3,'',1)
2023-10-13	13:04:09	2377	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:09	2377	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:09	2377	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861869 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:09	2377	[DEBUG]	Store custom available field
2023-10-13	13:04:09	2377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861869,6,'Unitaire',3)
2023-10-13	13:04:09	2377	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:09	2377	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:09	2377	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861868
2023-10-13	13:04:09	2377	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:09	2377	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861868\":[1861868,8,1,\"choisir la taille\"],\"1861869\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861868
2023-10-13	13:04:09	2377	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:09	2377	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861869
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:09	2378	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field taille
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:09	2378	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:09	2378	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:09	2378	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:09	2378	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:09	2378	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:09	2378	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field published
2023-10-13	13:04:09	2378	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:09	2378	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field override
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:09	2378	[DEBUG]	Use field value for field slug
2023-10-13	13:04:09	2378	[DEBUG]	Process line 2378
2023-10-13	13:04:09	2378	[DEBUG]	Load a row
2023-10-13	13:04:09	2378	[DEBUG]	Processing item: A_2967_26
2023-10-13	13:04:09	2378	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:09	2378	[DEBUG]	Processing product tax
2023-10-13	13:04:09	2378	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:09	2378	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:09	2378	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:09	2378	[DEBUG]	Query for Product
2023-10-13	13:04:09	2378	[DEBUG]	Executed store
2023-10-13	13:04:09	2378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2967_26','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:09	2378	[DEBUG]	Check product language entry
2023-10-13	13:04:09	2378	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861870
2023-10-13	13:04:09	2378	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:09	2378	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2967_26' AND `virtuemart_product_id` != 1861870
2023-10-13	13:04:09	2378	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:09	2378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861870, 'A_2967_26')
2023-10-13	13:04:09	2378	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:09	2378	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-patins-de-frein-magura-60-mm-triple-compound-multi' AND `virtuemart_product_id` != 1861870
2023-10-13	13:04:09	2378	[DEBUG]	Query for ProductLang
2023-10-13	13:04:09	2378	[DEBUG]	Executed store
2023-10-13	13:04:09	2378	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Patins de frein triple couleur Magura 60 mm Compatible avec des freins hydrauliques Magura Composé de gomme de haute friction Triple compound<br><br>N° art fourn : BRMTB950T',`product_name`='MSC Patins de frein Magura 60 mm triple compound / Multi',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-patins-de-frein-magura-60-mm-triple-compound-multi' WHERE `virtuemart_product_id` = '1861870'
2023-10-13	13:04:09	2378	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12364.jpg
2023-10-13	13:04:09	2378	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:09	2378	[DEBUG]	Process image file
2023-10-13	13:04:09	2378	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:09	2378	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:09	2378	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12364.jpg
2023-10-13	13:04:09	2378	[DEBUG]	Full name target: bcprisme/image_12364.jpg
2023-10-13	13:04:10	2378	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:10	2378	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12364.jpg'
2023-10-13	13:04:10	2378	[DEBUG]	Query for Media
2023-10-13	13:04:10	2378	[DEBUG]	Executed store
2023-10-13	13:04:10	2378	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12364.jpg',`file_url_thumb`='bcprisme/image_12364.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12813'
2023-10-13	13:04:10	2378	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:10	2378	[DEBUG]	Executed store
2023-10-13	13:04:10	2378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861870','12813','1')
2023-10-13	13:04:10	2378	[DEBUG]	Store product image relation
2023-10-13	13:04:10	2378	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:10	2378	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861870 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:10	2378	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:10	2378	[DEBUG]	Executed store
2023-10-13	13:04:10	2378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861870','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:10	2378	[DEBUG]	Checking manufacturer
2023-10-13	13:04:10	2378	[DEBUG]	Load a row
2023-10-13	13:04:10	2378	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:10	2378	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:10	2378	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:10	2378	[DEBUG]	Executed store
2023-10-13	13:04:10	2378	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:10	2378	[DEBUG]	Manufacturer exists
2023-10-13	13:04:10	2378	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:04:10	2378	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:10	2378	[DEBUG]	Executed store
2023-10-13	13:04:10	2378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861870','32')
2023-10-13	13:04:10	2378	[DEBUG]	Find the custom field ID
2023-10-13	13:04:10	2378	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:10	2378	[DEBUG]	No custom field ID found
2023-10-13	13:04:10	2378	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:10	2378	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:04:10	2378	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861870 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:10	2378	[DEBUG]	Store custom available field
2023-10-13	13:04:10	2378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861870,3,'12.8641666666667',1)
2023-10-13	13:04:10	2378	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:10	2378	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:10	2378	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861870 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:10	2378	[DEBUG]	Store custom available field
2023-10-13	13:04:10	2378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861870,6,'choisir la taille',3)
2023-10-13	13:04:10	2378	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:10	2378	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:10	2378	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:10	2378	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:10	2378	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861870 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:10	2378	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:10	2378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861870,8,1)
2023-10-13	13:04:10	2378	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:10	2378	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861870\":[1861870,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861870
2023-10-13	13:04:10	2378	[DEBUG]	Checking category
2023-10-13	13:04:10	2378	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:10	2378	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861870
2023-10-13	13:04:10	2378	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:10	2378	[DEBUG]	Executed store
2023-10-13	13:04:10	2378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861870','7343')
2023-10-13	13:04:10	2378	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:10	2378	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861870 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:10	2378	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:10	2378	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861870
2023-10-13	13:04:10	2379	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:10	2379	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:10	2379	[DEBUG]	Use field value for field taille
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:10	2379	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:10	2379	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:10	2379	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:10	2379	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:10	2379	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:10	2379	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:10	2379	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:10	2379	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:10	2379	[DEBUG]	Use field value for field published
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:10	2379	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field override
2023-10-13	13:04:10	2379	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:10	2379	[DEBUG]	Use field value for field slug
2023-10-13	13:04:10	2379	[DEBUG]	Process line 2379
2023-10-13	13:04:10	2379	[DEBUG]	Load a row
2023-10-13	13:04:10	2379	[DEBUG]	Processing item: 8436550192438
2023-10-13	13:04:10	2379	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:10	2379	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:10	2379	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2967_26'
2023-10-13	13:04:10	2379	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:10	2379	[DEBUG]	Processing product tax
2023-10-13	13:04:10	2379	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:10	2379	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:10	2379	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:10	2379	[DEBUG]	Query for Product
2023-10-13	13:04:10	2379	[DEBUG]	Executed store
2023-10-13	13:04:10	2379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861870','8436550192438','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:10	2379	[DEBUG]	No parent found
2023-10-13	13:04:10	2379	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861870 AND customfield_value = 'stockable'
2023-10-13	13:04:10	2379	[DEBUG]	Check product language entry
2023-10-13	13:04:10	2379	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861871
2023-10-13	13:04:10	2379	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:10	2379	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550192438' AND `virtuemart_product_id` != 1861871
2023-10-13	13:04:10	2379	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:10	2379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861871, '8436550192438')
2023-10-13	13:04:10	2379	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:10	2379	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-patins-de-frein-magura-60-mm-triple-compound-multi-unitaire' AND `virtuemart_product_id` != 1861871
2023-10-13	13:04:10	2379	[DEBUG]	Query for ProductLang
2023-10-13	13:04:10	2379	[DEBUG]	Executed store
2023-10-13	13:04:10	2379	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Patins de frein Magura 60 mm triple compound / Multi (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-patins-de-frein-magura-60-mm-triple-compound-multi-unitaire' WHERE `virtuemart_product_id` = '1861871'
2023-10-13	13:04:10	2379	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12364.jpg
2023-10-13	13:04:10	2379	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:10	2379	[DEBUG]	Process image file
2023-10-13	13:04:10	2379	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:10	2379	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:10	2379	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12364.jpg
2023-10-13	13:04:10	2379	[DEBUG]	Full name target: bcprisme/image_12364.jpg
2023-10-13	13:04:11	2379	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:11	2379	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12364.jpg'
2023-10-13	13:04:11	2379	[DEBUG]	Query for Media
2023-10-13	13:04:11	2379	[DEBUG]	Executed store
2023-10-13	13:04:11	2379	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12364.jpg',`file_url_thumb`='bcprisme/image_12364.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12813'
2023-10-13	13:04:11	2379	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:11	2379	[DEBUG]	Executed store
2023-10-13	13:04:11	2379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861871','12813','1')
2023-10-13	13:04:11	2379	[DEBUG]	Store product image relation
2023-10-13	13:04:11	2379	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:11	2379	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861871 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:11	2379	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:11	2379	[DEBUG]	Executed store
2023-10-13	13:04:11	2379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861871','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:11	2379	[DEBUG]	Checking manufacturer
2023-10-13	13:04:11	2379	[DEBUG]	Load a row
2023-10-13	13:04:11	2379	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:11	2379	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:11	2379	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:11	2379	[DEBUG]	Executed store
2023-10-13	13:04:11	2379	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:11	2379	[DEBUG]	Manufacturer exists
2023-10-13	13:04:11	2379	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:04:11	2379	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:11	2379	[DEBUG]	Executed store
2023-10-13	13:04:11	2379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861871','32')
2023-10-13	13:04:11	2379	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:11	2379	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:11	2379	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861871 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:11	2379	[DEBUG]	Store custom available field
2023-10-13	13:04:11	2379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861871,3,'',1)
2023-10-13	13:04:11	2379	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:11	2379	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:11	2379	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861871 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:11	2379	[DEBUG]	Store custom available field
2023-10-13	13:04:11	2379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861871,6,'Unitaire',3)
2023-10-13	13:04:11	2379	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:11	2379	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:11	2379	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861870
2023-10-13	13:04:11	2379	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:11	2379	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861870\":[1861870,8,1,\"choisir la taille\"],\"1861871\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861870
2023-10-13	13:04:11	2379	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:11	2379	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861871
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:11	2380	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field taille
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:11	2380	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:11	2380	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:11	2380	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:11	2380	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:11	2380	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:11	2380	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field published
2023-10-13	13:04:11	2380	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:11	2380	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field override
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:11	2380	[DEBUG]	Use field value for field slug
2023-10-13	13:04:11	2380	[DEBUG]	Process line 2380
2023-10-13	13:04:11	2380	[DEBUG]	Load a row
2023-10-13	13:04:11	2380	[DEBUG]	Processing item: A_3112_1
2023-10-13	13:04:11	2380	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:11	2380	[DEBUG]	Processing product tax
2023-10-13	13:04:11	2380	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:11	2380	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:11	2380	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:11	2380	[DEBUG]	Query for Product
2023-10-13	13:04:11	2380	[DEBUG]	Executed store
2023-10-13	13:04:11	2380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3112_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:11	2380	[DEBUG]	Check product language entry
2023-10-13	13:04:11	2380	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861872
2023-10-13	13:04:11	2380	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:11	2380	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3112_1' AND `virtuemart_product_id` != 1861872
2023-10-13	13:04:11	2380	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:11	2380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861872, 'A_3112_1')
2023-10-13	13:04:11	2380	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:11	2380	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-patins-de-frein-pour-v-brake-70mm-haute-qualite-symetrique-noir' AND `virtuemart_product_id` != 1861872
2023-10-13	13:04:11	2380	[DEBUG]	Query for ProductLang
2023-10-13	13:04:11	2380	[DEBUG]	Executed store
2023-10-13	13:04:11	2380	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Patins de frein pour V-Brake 70mm Ancrage aluminium / acier durci <br>N° art fourn : BR947/AP35-P-AL',`product_name`='MSC Patins de frein pour V-Brake 70mm haute qualité symétrique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-patins-de-frein-pour-v-brake-70mm-haute-qualite-symetrique-noir' WHERE `virtuemart_product_id` = '1861872'
2023-10-13	13:04:11	2380	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14525.jpg
2023-10-13	13:04:11	2380	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:11	2380	[DEBUG]	Process image file
2023-10-13	13:04:11	2380	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:11	2380	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:11	2380	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14525.jpg
2023-10-13	13:04:11	2380	[DEBUG]	Full name target: bcprisme/image_14525.jpg
2023-10-13	13:04:12	2380	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:12	2380	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_14525.jpg'
2023-10-13	13:04:12	2380	[DEBUG]	Query for Media
2023-10-13	13:04:12	2380	[DEBUG]	Executed store
2023-10-13	13:04:12	2380	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_14525.jpg',`file_url_thumb`='bcprisme/image_14525.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12814'
2023-10-13	13:04:12	2380	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:12	2380	[DEBUG]	Executed store
2023-10-13	13:04:12	2380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861872','12814','1')
2023-10-13	13:04:12	2380	[DEBUG]	Store product image relation
2023-10-13	13:04:12	2380	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:12	2380	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861872 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:12	2380	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:12	2380	[DEBUG]	Executed store
2023-10-13	13:04:12	2380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861872','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:12	2380	[DEBUG]	Checking manufacturer
2023-10-13	13:04:12	2380	[DEBUG]	Load a row
2023-10-13	13:04:12	2380	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:12	2380	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:12	2380	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:12	2380	[DEBUG]	Executed store
2023-10-13	13:04:12	2380	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:12	2380	[DEBUG]	Manufacturer exists
2023-10-13	13:04:12	2380	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:04:12	2380	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:12	2380	[DEBUG]	Executed store
2023-10-13	13:04:12	2380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861872','32')
2023-10-13	13:04:12	2380	[DEBUG]	Find the custom field ID
2023-10-13	13:04:12	2380	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:12	2380	[DEBUG]	No custom field ID found
2023-10-13	13:04:12	2380	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:12	2380	[DEBUG]	Get existing row with customfield value 7.87805555555556
2023-10-13	13:04:12	2380	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861872 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:12	2380	[DEBUG]	Store custom available field
2023-10-13	13:04:12	2380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861872,3,'7.87805555555556',1)
2023-10-13	13:04:12	2380	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:12	2380	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:12	2380	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861872 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:12	2380	[DEBUG]	Store custom available field
2023-10-13	13:04:12	2380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861872,6,'choisir la taille',3)
2023-10-13	13:04:12	2380	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:12	2380	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:12	2380	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:12	2380	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:12	2380	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861872 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:12	2380	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:12	2380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861872,8,1)
2023-10-13	13:04:12	2380	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:12	2380	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861872\":[1861872,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861872
2023-10-13	13:04:12	2380	[DEBUG]	Checking category
2023-10-13	13:04:12	2380	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:12	2380	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861872
2023-10-13	13:04:12	2380	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:12	2380	[DEBUG]	Executed store
2023-10-13	13:04:12	2380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861872','7343')
2023-10-13	13:04:12	2380	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:12	2380	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861872 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:12	2380	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:12	2380	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861872
2023-10-13	13:04:12	2381	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:12	2381	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:12	2381	[DEBUG]	Use field value for field taille
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:12	2381	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:12	2381	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:12	2381	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:12	2381	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:12	2381	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:12	2381	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:12	2381	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:12	2381	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:12	2381	[DEBUG]	Use field value for field published
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:12	2381	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field override
2023-10-13	13:04:12	2381	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:12	2381	[DEBUG]	Use field value for field slug
2023-10-13	13:04:12	2381	[DEBUG]	Process line 2381
2023-10-13	13:04:12	2381	[DEBUG]	Load a row
2023-10-13	13:04:12	2381	[DEBUG]	Processing item: 8436550192469
2023-10-13	13:04:12	2381	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:12	2381	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:12	2381	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3112_1'
2023-10-13	13:04:12	2381	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:12	2381	[DEBUG]	Processing product tax
2023-10-13	13:04:12	2381	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:12	2381	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:12	2381	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:12	2381	[DEBUG]	Query for Product
2023-10-13	13:04:12	2381	[DEBUG]	Executed store
2023-10-13	13:04:12	2381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861872','8436550192469','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:12	2381	[DEBUG]	No parent found
2023-10-13	13:04:12	2381	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861872 AND customfield_value = 'stockable'
2023-10-13	13:04:12	2381	[DEBUG]	Check product language entry
2023-10-13	13:04:12	2381	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861873
2023-10-13	13:04:12	2381	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:12	2381	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550192469' AND `virtuemart_product_id` != 1861873
2023-10-13	13:04:12	2381	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:12	2381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861873, '8436550192469')
2023-10-13	13:04:12	2381	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:12	2381	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-patins-de-frein-pour-v-brake-70mm-haute-qualite-symetrique-noir-unitaire' AND `virtuemart_product_id` != 1861873
2023-10-13	13:04:12	2381	[DEBUG]	Query for ProductLang
2023-10-13	13:04:12	2381	[DEBUG]	Executed store
2023-10-13	13:04:12	2381	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Patins de frein pour V-Brake 70mm haute qualité symétrique / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-patins-de-frein-pour-v-brake-70mm-haute-qualite-symetrique-noir-unitaire' WHERE `virtuemart_product_id` = '1861873'
2023-10-13	13:04:12	2381	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14525.jpg
2023-10-13	13:04:12	2381	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:12	2381	[DEBUG]	Process image file
2023-10-13	13:04:12	2381	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:12	2381	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:12	2381	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14525.jpg
2023-10-13	13:04:12	2381	[DEBUG]	Full name target: bcprisme/image_14525.jpg
2023-10-13	13:04:13	2381	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:13	2381	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_14525.jpg'
2023-10-13	13:04:13	2381	[DEBUG]	Query for Media
2023-10-13	13:04:13	2381	[DEBUG]	Executed store
2023-10-13	13:04:13	2381	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_14525.jpg',`file_url_thumb`='bcprisme/image_14525.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12814'
2023-10-13	13:04:13	2381	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:13	2381	[DEBUG]	Executed store
2023-10-13	13:04:13	2381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861873','12814','1')
2023-10-13	13:04:13	2381	[DEBUG]	Store product image relation
2023-10-13	13:04:13	2381	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:13	2381	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861873 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:13	2381	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:13	2381	[DEBUG]	Executed store
2023-10-13	13:04:13	2381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861873','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:13	2381	[DEBUG]	Checking manufacturer
2023-10-13	13:04:13	2381	[DEBUG]	Load a row
2023-10-13	13:04:13	2381	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:13	2381	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:13	2381	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:13	2381	[DEBUG]	Executed store
2023-10-13	13:04:13	2381	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:04:13	2381	[DEBUG]	Manufacturer exists
2023-10-13	13:04:13	2381	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:04:13	2381	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:13	2381	[DEBUG]	Executed store
2023-10-13	13:04:13	2381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861873','32')
2023-10-13	13:04:13	2381	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:13	2381	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:13	2381	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861873 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:13	2381	[DEBUG]	Store custom available field
2023-10-13	13:04:13	2381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861873,3,'',1)
2023-10-13	13:04:13	2381	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:13	2381	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:13	2381	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861873 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:13	2381	[DEBUG]	Store custom available field
2023-10-13	13:04:13	2381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861873,6,'Unitaire',3)
2023-10-13	13:04:13	2381	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:13	2381	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:13	2381	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861872
2023-10-13	13:04:13	2381	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:13	2381	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861872\":[1861872,8,1,\"choisir la taille\"],\"1861873\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861872
2023-10-13	13:04:13	2381	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:13	2381	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861873
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:13	2382	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field taille
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:13	2382	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:13	2382	[DEBUG]	Use default value for field file_url
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:13	2382	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:13	2382	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:13	2382	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:13	2382	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:13	2382	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field published
2023-10-13	13:04:13	2382	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:13	2382	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field override
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:13	2382	[DEBUG]	Use field value for field slug
2023-10-13	13:04:13	2382	[DEBUG]	Process line 2382
2023-10-13	13:04:13	2382	[DEBUG]	Load a row
2023-10-13	13:04:13	2382	[DEBUG]	Processing item: A_5466_1
2023-10-13	13:04:13	2382	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:13	2382	[DEBUG]	Processing product tax
2023-10-13	13:04:13	2382	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:13	2382	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:13	2382	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:13	2382	[DEBUG]	Query for Product
2023-10-13	13:04:13	2382	[DEBUG]	Executed store
2023-10-13	13:04:13	2382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5466_1','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:13	2382	[DEBUG]	Check product language entry
2023-10-13	13:04:13	2382	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861874
2023-10-13	13:04:13	2382	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:13	2382	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5466_1' AND `virtuemart_product_id` != 1861874
2023-10-13	13:04:13	2382	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:13	2382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861874, 'A_5466_1')
2023-10-13	13:04:13	2382	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:13	2382	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-patins-freins-set-2-exalith-rim-pads-2016-hg-s-noir' AND `virtuemart_product_id` != 1861874
2023-10-13	13:04:13	2382	[DEBUG]	Query for ProductLang
2023-10-13	13:04:13	2382	[DEBUG]	Executed store
2023-10-13	13:04:13	2382	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Rechange patins de frein ultralight Cantilever 55mm. Pour jantes d\'aluminium et carbone Dessin ultralight Dessin pour une dissipation de la chaleur supérieur Apporte un freinage stable Compatible avec tous des freins cantilever <br>N° art fourn : V2470301',`product_name`='MLV-Bike Patins freins Set 2 Exalith Rim Pads 2016 HG/S / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-patins-freins-set-2-exalith-rim-pads-2016-hg-s-noir' WHERE `virtuemart_product_id` = '1861874'
2023-10-13	13:04:13	2382	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:13	2382	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861874 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:13	2382	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:13	2382	[DEBUG]	Executed store
2023-10-13	13:04:13	2382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861874','0','9.98142989786444','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:13	2382	[DEBUG]	Checking manufacturer
2023-10-13	13:04:13	2382	[DEBUG]	Load a row
2023-10-13	13:04:13	2382	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:13	2382	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:13	2382	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:13	2382	[DEBUG]	Executed store
2023-10-13	13:04:13	2382	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:13	2382	[DEBUG]	Manufacturer exists
2023-10-13	13:04:13	2382	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:04:13	2382	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:13	2382	[DEBUG]	Executed store
2023-10-13	13:04:13	2382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861874','2')
2023-10-13	13:04:13	2382	[DEBUG]	Find the custom field ID
2023-10-13	13:04:13	2382	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:13	2382	[DEBUG]	No custom field ID found
2023-10-13	13:04:13	2382	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:13	2382	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:04:13	2382	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861874 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:13	2382	[DEBUG]	Store custom available field
2023-10-13	13:04:13	2382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861874,3,'14.8586111111111',1)
2023-10-13	13:04:13	2382	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:13	2382	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:13	2382	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861874 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:13	2382	[DEBUG]	Store custom available field
2023-10-13	13:04:13	2382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861874,6,'choisir la taille',3)
2023-10-13	13:04:13	2382	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:13	2382	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:13	2382	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:13	2382	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:13	2382	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861874 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:13	2382	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:13	2382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861874,8,1)
2023-10-13	13:04:13	2382	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:13	2382	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861874\":[1861874,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861874
2023-10-13	13:04:13	2382	[DEBUG]	Checking category
2023-10-13	13:04:13	2382	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:13	2382	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861874
2023-10-13	13:04:13	2382	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:13	2382	[DEBUG]	Executed store
2023-10-13	13:04:13	2382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861874','7343')
2023-10-13	13:04:13	2382	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:13	2382	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861874 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:13	2382	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:13	2382	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861874
2023-10-13	13:04:13	2383	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:13	2383	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:13	2383	[DEBUG]	Use field value for field taille
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:13	2383	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:13	2383	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:13	2383	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field file_url
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:13	2383	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:13	2383	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:13	2383	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:13	2383	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:13	2383	[DEBUG]	Use field value for field published
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:13	2383	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field override
2023-10-13	13:04:13	2383	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:13	2383	[DEBUG]	Use field value for field slug
2023-10-13	13:04:13	2383	[DEBUG]	Process line 2383
2023-10-13	13:04:13	2383	[DEBUG]	Load a row
2023-10-13	13:04:13	2383	[DEBUG]	Processing item: 887850732905
2023-10-13	13:04:13	2383	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:13	2383	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:13	2383	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5466_1'
2023-10-13	13:04:13	2383	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:13	2383	[DEBUG]	Processing product tax
2023-10-13	13:04:13	2383	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:13	2383	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:13	2383	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:13	2383	[DEBUG]	Query for Product
2023-10-13	13:04:13	2383	[DEBUG]	Executed store
2023-10-13	13:04:13	2383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861874','887850732905','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:13	2383	[DEBUG]	No parent found
2023-10-13	13:04:13	2383	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861874 AND customfield_value = 'stockable'
2023-10-13	13:04:13	2383	[DEBUG]	Check product language entry
2023-10-13	13:04:13	2383	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861875
2023-10-13	13:04:13	2383	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:13	2383	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '887850732905' AND `virtuemart_product_id` != 1861875
2023-10-13	13:04:13	2383	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:13	2383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861875, '887850732905')
2023-10-13	13:04:13	2383	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:13	2383	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-patins-freins-set-2-exalith-rim-pads-2016-hg-s-noir-unitaire' AND `virtuemart_product_id` != 1861875
2023-10-13	13:04:13	2383	[DEBUG]	Query for ProductLang
2023-10-13	13:04:13	2383	[DEBUG]	Executed store
2023-10-13	13:04:13	2383	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Patins freins Set 2 Exalith Rim Pads 2016 HG/S / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-patins-freins-set-2-exalith-rim-pads-2016-hg-s-noir-unitaire' WHERE `virtuemart_product_id` = '1861875'
2023-10-13	13:04:13	2383	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:13	2383	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861875 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:13	2383	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:13	2383	[DEBUG]	Executed store
2023-10-13	13:04:13	2383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861875','0','9.98142989786444','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:13	2383	[DEBUG]	Checking manufacturer
2023-10-13	13:04:13	2383	[DEBUG]	Load a row
2023-10-13	13:04:13	2383	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:13	2383	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:13	2383	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:13	2383	[DEBUG]	Executed store
2023-10-13	13:04:13	2383	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:13	2383	[DEBUG]	Manufacturer exists
2023-10-13	13:04:13	2383	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:04:13	2383	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:13	2383	[DEBUG]	Executed store
2023-10-13	13:04:13	2383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861875','2')
2023-10-13	13:04:13	2383	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:13	2383	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:13	2383	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861875 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:13	2383	[DEBUG]	Store custom available field
2023-10-13	13:04:13	2383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861875,3,'',1)
2023-10-13	13:04:13	2383	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:13	2383	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:13	2383	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861875 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:13	2383	[DEBUG]	Store custom available field
2023-10-13	13:04:13	2383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861875,6,'Unitaire',3)
2023-10-13	13:04:13	2383	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:13	2383	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:13	2383	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861874
2023-10-13	13:04:13	2383	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:13	2383	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861874\":[1861874,8,1,\"choisir la taille\"],\"1861875\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861874
2023-10-13	13:04:13	2383	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:13	2383	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861875
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:13	2384	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field taille
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:13	2384	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:13	2384	[DEBUG]	Use default value for field file_url
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:13	2384	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:13	2384	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:13	2384	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:13	2384	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:13	2384	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field published
2023-10-13	13:04:13	2384	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:13	2384	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field override
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:13	2384	[DEBUG]	Use field value for field slug
2023-10-13	13:04:13	2384	[DEBUG]	Process line 2384
2023-10-13	13:04:13	2384	[DEBUG]	Load a row
2023-10-13	13:04:13	2384	[DEBUG]	Processing item: A_5467_65
2023-10-13	13:04:13	2384	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:13	2384	[DEBUG]	Processing product tax
2023-10-13	13:04:13	2384	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:13	2384	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:13	2384	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:13	2384	[DEBUG]	Query for Product
2023-10-13	13:04:13	2384	[DEBUG]	Executed store
2023-10-13	13:04:13	2384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5467_65','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:13	2384	[DEBUG]	Check product language entry
2023-10-13	13:04:13	2384	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861876
2023-10-13	13:04:13	2384	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:13	2384	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5467_65' AND `virtuemart_product_id` != 1861876
2023-10-13	13:04:13	2384	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:13	2384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861876, 'A_5467_65')
2023-10-13	13:04:13	2384	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:13	2384	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-patins-freins-set-carbon-rim-pads-2016-hg-s-jaune' AND `virtuemart_product_id` != 1861876
2023-10-13	13:04:13	2384	[DEBUG]	Query for ProductLang
2023-10-13	13:04:13	2384	[DEBUG]	Executed store
2023-10-13	13:04:13	2384	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Rechange patins de frein ultralight Cantilever 55mm. Pour jantes d\'aluminium et carbone Dessin ultralight Dessin pour une dissipation de la chaleur supérieur Apporte un freinage stable Compatible avec tous des freins cantilever <br>N° art fourn : V2460301',`product_name`='MLV-Bike Patins freins Set Carbon Rim Pads 2016 HG/S  / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-patins-freins-set-carbon-rim-pads-2016-hg-s-jaune' WHERE `virtuemart_product_id` = '1861876'
2023-10-13	13:04:13	2384	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:13	2384	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861876 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:13	2384	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:13	2384	[DEBUG]	Executed store
2023-10-13	13:04:13	2384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861876','0','9.98142989786444','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:13	2384	[DEBUG]	Checking manufacturer
2023-10-13	13:04:13	2384	[DEBUG]	Load a row
2023-10-13	13:04:13	2384	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:13	2384	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:13	2384	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:13	2384	[DEBUG]	Executed store
2023-10-13	13:04:13	2384	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:13	2384	[DEBUG]	Manufacturer exists
2023-10-13	13:04:13	2384	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:04:13	2384	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:13	2384	[DEBUG]	Executed store
2023-10-13	13:04:13	2384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861876','2')
2023-10-13	13:04:13	2384	[DEBUG]	Find the custom field ID
2023-10-13	13:04:13	2384	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:13	2384	[DEBUG]	No custom field ID found
2023-10-13	13:04:13	2384	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:13	2384	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:04:13	2384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861876 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:13	2384	[DEBUG]	Store custom available field
2023-10-13	13:04:13	2384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861876,3,'14.8586111111111',1)
2023-10-13	13:04:13	2384	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:13	2384	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:13	2384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861876 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:13	2384	[DEBUG]	Store custom available field
2023-10-13	13:04:13	2384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861876,6,'choisir la taille',3)
2023-10-13	13:04:13	2384	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:13	2384	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:13	2384	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:13	2384	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:13	2384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861876 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:13	2384	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:13	2384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861876,8,1)
2023-10-13	13:04:13	2384	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:13	2384	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861876\":[1861876,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861876
2023-10-13	13:04:13	2384	[DEBUG]	Checking category
2023-10-13	13:04:13	2384	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:13	2384	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861876
2023-10-13	13:04:13	2384	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:13	2384	[DEBUG]	Executed store
2023-10-13	13:04:13	2384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861876','7343')
2023-10-13	13:04:13	2384	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:13	2384	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861876 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:13	2384	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:13	2384	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861876
2023-10-13	13:04:13	2385	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:13	2385	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:13	2385	[DEBUG]	Use field value for field taille
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:13	2385	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:13	2385	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:13	2385	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field file_url
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:13	2385	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:13	2385	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:13	2385	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:13	2385	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:13	2385	[DEBUG]	Use field value for field published
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:13	2385	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field override
2023-10-13	13:04:13	2385	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:13	2385	[DEBUG]	Use field value for field slug
2023-10-13	13:04:13	2385	[DEBUG]	Process line 2385
2023-10-13	13:04:13	2385	[DEBUG]	Load a row
2023-10-13	13:04:13	2385	[DEBUG]	Processing item: 887850732899
2023-10-13	13:04:13	2385	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:13	2385	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:13	2385	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5467_65'
2023-10-13	13:04:13	2385	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:13	2385	[DEBUG]	Processing product tax
2023-10-13	13:04:13	2385	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:13	2385	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:13	2385	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:13	2385	[DEBUG]	Query for Product
2023-10-13	13:04:13	2385	[DEBUG]	Executed store
2023-10-13	13:04:13	2385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861876','887850732899','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:13	2385	[DEBUG]	No parent found
2023-10-13	13:04:13	2385	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861876 AND customfield_value = 'stockable'
2023-10-13	13:04:13	2385	[DEBUG]	Check product language entry
2023-10-13	13:04:13	2385	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861877
2023-10-13	13:04:13	2385	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:13	2385	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '887850732899' AND `virtuemart_product_id` != 1861877
2023-10-13	13:04:13	2385	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:13	2385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861877, '887850732899')
2023-10-13	13:04:13	2385	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:13	2385	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-patins-freins-set-carbon-rim-pads-2016-hg-s-jaune-unitaire' AND `virtuemart_product_id` != 1861877
2023-10-13	13:04:13	2385	[DEBUG]	Query for ProductLang
2023-10-13	13:04:13	2385	[DEBUG]	Executed store
2023-10-13	13:04:13	2385	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Patins freins Set Carbon Rim Pads 2016 HG/S  / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-patins-freins-set-carbon-rim-pads-2016-hg-s-jaune-unitaire' WHERE `virtuemart_product_id` = '1861877'
2023-10-13	13:04:13	2385	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:13	2385	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861877 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:13	2385	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:13	2385	[DEBUG]	Executed store
2023-10-13	13:04:13	2385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861877','0','9.98142989786444','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:13	2385	[DEBUG]	Checking manufacturer
2023-10-13	13:04:13	2385	[DEBUG]	Load a row
2023-10-13	13:04:13	2385	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:13	2385	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:13	2385	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:13	2385	[DEBUG]	Executed store
2023-10-13	13:04:13	2385	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:13	2385	[DEBUG]	Manufacturer exists
2023-10-13	13:04:13	2385	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:04:13	2385	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:13	2385	[DEBUG]	Executed store
2023-10-13	13:04:13	2385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861877','2')
2023-10-13	13:04:13	2385	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:13	2385	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:13	2385	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861877 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:13	2385	[DEBUG]	Store custom available field
2023-10-13	13:04:13	2385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861877,3,'',1)
2023-10-13	13:04:13	2385	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:13	2385	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:13	2385	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861877 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:13	2385	[DEBUG]	Store custom available field
2023-10-13	13:04:13	2385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861877,6,'Unitaire',3)
2023-10-13	13:04:13	2385	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:13	2385	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:13	2385	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861876
2023-10-13	13:04:13	2385	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:13	2385	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861876\":[1861876,8,1,\"choisir la taille\"],\"1861877\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861876
2023-10-13	13:04:13	2385	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:13	2385	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861877
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:13	2386	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field taille
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:13	2386	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:13	2386	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:13	2386	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:13	2386	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:13	2386	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:13	2386	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field published
2023-10-13	13:04:13	2386	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:13	2386	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field override
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:13	2386	[DEBUG]	Use field value for field slug
2023-10-13	13:04:13	2386	[DEBUG]	Process line 2386
2023-10-13	13:04:13	2386	[DEBUG]	Load a row
2023-10-13	13:04:13	2386	[DEBUG]	Processing item: A_5468_1
2023-10-13	13:04:13	2386	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:13	2386	[DEBUG]	Processing product tax
2023-10-13	13:04:13	2386	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:13	2386	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:13	2386	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:13	2386	[DEBUG]	Query for Product
2023-10-13	13:04:13	2386	[DEBUG]	Executed store
2023-10-13	13:04:13	2386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5468_1','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:13	2386	[DEBUG]	Check product language entry
2023-10-13	13:04:13	2386	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861878
2023-10-13	13:04:13	2386	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:13	2386	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5468_1' AND `virtuemart_product_id` != 1861878
2023-10-13	13:04:13	2386	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:13	2386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861878, 'A_5468_1')
2023-10-13	13:04:13	2386	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:13	2386	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-patins-freins-set-2-exalith-crx-rim-pads-hg-s-noir' AND `virtuemart_product_id` != 1861878
2023-10-13	13:04:13	2386	[DEBUG]	Query for ProductLang
2023-10-13	13:04:13	2386	[DEBUG]	Executed store
2023-10-13	13:04:13	2386	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Rechange patins de frein ultralight Cantilever 55mm. Pour jantes d\'aluminium et carbone Dessin ultralight Dessin pour une dissipation de la chaleur supérieur Apporte un freinage stable Compatible avec tous des freins cantilever <br>N° art fourn : V2470101',`product_name`='MLV-Bike Patins freins Set 2 Exalith CRX Rim Pads HG/S  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-patins-freins-set-2-exalith-crx-rim-pads-hg-s-noir' WHERE `virtuemart_product_id` = '1861878'
2023-10-13	13:04:13	2386	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29955_patins_freins_set_2_exalith_crx_rim_pads_hg-s_.jpg
2023-10-13	13:04:13	2386	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:13	2386	[DEBUG]	Process image file
2023-10-13	13:04:13	2386	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:13	2386	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:13	2386	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29955_patins_freins_set_2_exalith_crx_rim_pads_hg-s_.jpg
2023-10-13	13:04:13	2386	[DEBUG]	Full name target: bcprisme/29955_patins_freins_set_2_exalith_crx_rim_pads_hg-s_.jpg
2023-10-13	13:04:14	2386	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:14	2386	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29955_patins_freins_set_2_exalith_crx_rim_pads_hg-s_.jpg'
2023-10-13	13:04:14	2386	[DEBUG]	Query for Media
2023-10-13	13:04:14	2386	[DEBUG]	Executed store
2023-10-13	13:04:14	2386	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29955_patins_freins_set_2_exalith_crx_rim_pads_hg-s_.jpg',`file_url_thumb`='bcprisme/29955_patins_freins_set_2_exalith_crx_rim_pads_hg-s_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436765'
2023-10-13	13:04:14	2386	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:14	2386	[DEBUG]	Executed store
2023-10-13	13:04:14	2386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861878','436765','1')
2023-10-13	13:04:14	2386	[DEBUG]	Store product image relation
2023-10-13	13:04:14	2386	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:14	2386	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861878 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:14	2386	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:14	2386	[DEBUG]	Executed store
2023-10-13	13:04:15	2386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861878','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:15	2386	[DEBUG]	Checking manufacturer
2023-10-13	13:04:15	2386	[DEBUG]	Load a row
2023-10-13	13:04:15	2386	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:15	2386	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:15	2386	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:15	2386	[DEBUG]	Executed store
2023-10-13	13:04:15	2386	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:15	2386	[DEBUG]	Manufacturer exists
2023-10-13	13:04:15	2386	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:04:15	2386	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:15	2386	[DEBUG]	Executed store
2023-10-13	13:04:15	2386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861878','2')
2023-10-13	13:04:15	2386	[DEBUG]	Find the custom field ID
2023-10-13	13:04:15	2386	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:15	2386	[DEBUG]	No custom field ID found
2023-10-13	13:04:15	2386	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:15	2386	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:04:15	2386	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861878 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:15	2386	[DEBUG]	Store custom available field
2023-10-13	13:04:15	2386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861878,3,'14.8586111111111',1)
2023-10-13	13:04:15	2386	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:15	2386	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:15	2386	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861878 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:15	2386	[DEBUG]	Store custom available field
2023-10-13	13:04:15	2386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861878,6,'choisir la taille',3)
2023-10-13	13:04:15	2386	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:15	2386	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:15	2386	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:15	2386	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:15	2386	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861878 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:15	2386	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:15	2386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861878,8,1)
2023-10-13	13:04:15	2386	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:15	2386	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861878\":[1861878,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861878
2023-10-13	13:04:15	2386	[DEBUG]	Checking category
2023-10-13	13:04:15	2386	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:15	2386	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861878
2023-10-13	13:04:15	2386	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:15	2386	[DEBUG]	Executed store
2023-10-13	13:04:15	2386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861878','7343')
2023-10-13	13:04:15	2386	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:15	2386	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861878 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:15	2386	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:15	2386	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861878
2023-10-13	13:04:15	2387	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:15	2387	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:15	2387	[DEBUG]	Use field value for field taille
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:15	2387	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:15	2387	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:15	2387	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:15	2387	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:15	2387	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:15	2387	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:15	2387	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:15	2387	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:15	2387	[DEBUG]	Use field value for field published
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:15	2387	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field override
2023-10-13	13:04:15	2387	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:15	2387	[DEBUG]	Use field value for field slug
2023-10-13	13:04:15	2387	[DEBUG]	Process line 2387
2023-10-13	13:04:15	2387	[DEBUG]	Load a row
2023-10-13	13:04:15	2387	[DEBUG]	Processing item: 887850732837
2023-10-13	13:04:15	2387	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:15	2387	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:15	2387	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5468_1'
2023-10-13	13:04:15	2387	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:15	2387	[DEBUG]	Processing product tax
2023-10-13	13:04:15	2387	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:15	2387	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:15	2387	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:15	2387	[DEBUG]	Query for Product
2023-10-13	13:04:15	2387	[DEBUG]	Executed store
2023-10-13	13:04:15	2387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861878','887850732837','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:15	2387	[DEBUG]	No parent found
2023-10-13	13:04:15	2387	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861878 AND customfield_value = 'stockable'
2023-10-13	13:04:15	2387	[DEBUG]	Check product language entry
2023-10-13	13:04:15	2387	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861879
2023-10-13	13:04:15	2387	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:15	2387	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '887850732837' AND `virtuemart_product_id` != 1861879
2023-10-13	13:04:15	2387	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:15	2387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861879, '887850732837')
2023-10-13	13:04:15	2387	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:15	2387	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-patins-freins-set-2-exalith-crx-rim-pads-hg-s-noir-unitaire' AND `virtuemart_product_id` != 1861879
2023-10-13	13:04:15	2387	[DEBUG]	Query for ProductLang
2023-10-13	13:04:15	2387	[DEBUG]	Executed store
2023-10-13	13:04:15	2387	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Patins freins Set 2 Exalith CRX Rim Pads HG/S  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-patins-freins-set-2-exalith-crx-rim-pads-hg-s-noir-unitaire' WHERE `virtuemart_product_id` = '1861879'
2023-10-13	13:04:15	2387	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29955_patins_freins_set_2_exalith_crx_rim_pads_hg-s_.jpg
2023-10-13	13:04:15	2387	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:15	2387	[DEBUG]	Process image file
2023-10-13	13:04:15	2387	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:15	2387	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:15	2387	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29955_patins_freins_set_2_exalith_crx_rim_pads_hg-s_.jpg
2023-10-13	13:04:15	2387	[DEBUG]	Full name target: bcprisme/29955_patins_freins_set_2_exalith_crx_rim_pads_hg-s_.jpg
2023-10-13	13:04:16	2387	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:16	2387	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29955_patins_freins_set_2_exalith_crx_rim_pads_hg-s_.jpg'
2023-10-13	13:04:16	2387	[DEBUG]	Query for Media
2023-10-13	13:04:16	2387	[DEBUG]	Executed store
2023-10-13	13:04:16	2387	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29955_patins_freins_set_2_exalith_crx_rim_pads_hg-s_.jpg',`file_url_thumb`='bcprisme/29955_patins_freins_set_2_exalith_crx_rim_pads_hg-s_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436765'
2023-10-13	13:04:16	2387	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:16	2387	[DEBUG]	Executed store
2023-10-13	13:04:16	2387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861879','436765','1')
2023-10-13	13:04:16	2387	[DEBUG]	Store product image relation
2023-10-13	13:04:16	2387	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:16	2387	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861879 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:16	2387	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:16	2387	[DEBUG]	Executed store
2023-10-13	13:04:16	2387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861879','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:16	2387	[DEBUG]	Checking manufacturer
2023-10-13	13:04:16	2387	[DEBUG]	Load a row
2023-10-13	13:04:16	2387	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:16	2387	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:16	2387	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:16	2387	[DEBUG]	Executed store
2023-10-13	13:04:16	2387	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:16	2387	[DEBUG]	Manufacturer exists
2023-10-13	13:04:16	2387	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:04:16	2387	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:16	2387	[DEBUG]	Executed store
2023-10-13	13:04:16	2387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861879','2')
2023-10-13	13:04:16	2387	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:16	2387	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:16	2387	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861879 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:16	2387	[DEBUG]	Store custom available field
2023-10-13	13:04:16	2387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861879,3,'',1)
2023-10-13	13:04:16	2387	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:16	2387	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:16	2387	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861879 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:16	2387	[DEBUG]	Store custom available field
2023-10-13	13:04:16	2387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861879,6,'Unitaire',3)
2023-10-13	13:04:16	2387	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:16	2387	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:16	2387	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861878
2023-10-13	13:04:16	2387	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:16	2387	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861878\":[1861878,8,1,\"choisir la taille\"],\"1861879\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861878
2023-10-13	13:04:16	2387	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:16	2387	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861879
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:16	2388	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field taille
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:16	2388	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:16	2388	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:16	2388	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:16	2388	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:16	2388	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:16	2388	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field published
2023-10-13	13:04:16	2388	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:16	2388	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field override
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:16	2388	[DEBUG]	Use field value for field slug
2023-10-13	13:04:16	2388	[DEBUG]	Process line 2388
2023-10-13	13:04:16	2388	[DEBUG]	Load a row
2023-10-13	13:04:16	2388	[DEBUG]	Processing item: A_5546_1
2023-10-13	13:04:16	2388	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:16	2388	[DEBUG]	Processing product tax
2023-10-13	13:04:16	2388	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:16	2388	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:16	2388	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:16	2388	[DEBUG]	Query for Product
2023-10-13	13:04:16	2388	[DEBUG]	Executed store
2023-10-13	13:04:16	2388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5546_1','0.018','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:16	2388	[DEBUG]	Check product language entry
2023-10-13	13:04:16	2388	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861880
2023-10-13	13:04:16	2388	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:16	2388	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5546_1' AND `virtuemart_product_id` != 1861880
2023-10-13	13:04:16	2388	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:16	2388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861880, 'A_5546_1')
2023-10-13	13:04:16	2388	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:16	2388	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-gomme-de-frein-shimano-r55c-1mm-avec-vis-fixation-paires-blister-noir' AND `virtuemart_product_id` != 1861880
2023-10-13	13:04:16	2388	[DEBUG]	Query for ProductLang
2023-10-13	13:04:16	2388	[DEBUG]	Executed store
2023-10-13	13:04:16	2388	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Gommes de rechange pour porte-patins ZAP 1, livré avec ressort<br>N° art fourn : 73.34429',`product_name`='MLV-Bike Gomme de frein Shimano R55C + 1mm avec vis fixation paires blister / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-gomme-de-frein-shimano-r55c-1mm-avec-vis-fixation-paires-blister-noir' WHERE `virtuemart_product_id` = '1861880'
2023-10-13	13:04:16	2388	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30045_gomme_de_frein_shimano_r55c_+_1mm_avec_vis_fixation_paires_blister.jpg
2023-10-13	13:04:16	2388	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:16	2388	[DEBUG]	Process image file
2023-10-13	13:04:16	2388	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:16	2388	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:16	2388	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30045_gomme_de_frein_shimano_r55c_+_1mm_avec_vis_fixation_paires_blister.jpg
2023-10-13	13:04:16	2388	[DEBUG]	Full name target: bcprisme/30045_gomme_de_frein_shimano_r55c_+_1mm_avec_vis_fixation_paires_blister.jpg
2023-10-13	13:04:17	2388	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:17	2388	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30045_gomme_de_frein_shimano_r55c_+_1mm_avec_vis_fixation_paires_blister.jpg'
2023-10-13	13:04:17	2388	[DEBUG]	Query for Media
2023-10-13	13:04:17	2388	[DEBUG]	Executed store
2023-10-13	13:04:17	2388	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30045_gomme_de_frein_shimano_r55c_+_1mm_avec_vis_fixation_paires_blister.jpg',`file_url_thumb`='bcprisme/30045_gomme_de_frein_shimano_r55c_+_1mm_avec_vis_fixation_paires_blister.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '336957'
2023-10-13	13:04:17	2388	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:17	2388	[DEBUG]	Executed store
2023-10-13	13:04:17	2388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861880','336957','1')
2023-10-13	13:04:17	2388	[DEBUG]	Store product image relation
2023-10-13	13:04:17	2388	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:17	2388	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861880 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:17	2388	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:17	2388	[DEBUG]	Executed store
2023-10-13	13:04:17	2388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861880','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:17	2388	[DEBUG]	Checking manufacturer
2023-10-13	13:04:17	2388	[DEBUG]	Load a row
2023-10-13	13:04:17	2388	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:17	2388	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:17	2388	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:17	2388	[DEBUG]	Executed store
2023-10-13	13:04:17	2388	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:17	2388	[DEBUG]	Manufacturer exists
2023-10-13	13:04:17	2388	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:04:17	2388	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:17	2388	[DEBUG]	Executed store
2023-10-13	13:04:17	2388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861880','2')
2023-10-13	13:04:17	2388	[DEBUG]	Find the custom field ID
2023-10-13	13:04:17	2388	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:17	2388	[DEBUG]	No custom field ID found
2023-10-13	13:04:17	2388	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:17	2388	[DEBUG]	Get existing row with customfield value 5.88361111111111
2023-10-13	13:04:17	2388	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861880 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:17	2388	[DEBUG]	Store custom available field
2023-10-13	13:04:17	2388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861880,3,'5.88361111111111',1)
2023-10-13	13:04:17	2388	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:17	2388	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:17	2388	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861880 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:17	2388	[DEBUG]	Store custom available field
2023-10-13	13:04:17	2388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861880,6,'choisir la taille',3)
2023-10-13	13:04:17	2388	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:17	2388	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:17	2388	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:17	2388	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:17	2388	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861880 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:17	2388	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:17	2388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861880,8,1)
2023-10-13	13:04:17	2388	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:17	2388	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861880\":[1861880,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861880
2023-10-13	13:04:17	2388	[DEBUG]	Checking category
2023-10-13	13:04:17	2388	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:17	2388	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861880
2023-10-13	13:04:17	2388	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:17	2388	[DEBUG]	Executed store
2023-10-13	13:04:17	2388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861880','7343')
2023-10-13	13:04:17	2388	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:17	2388	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861880 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:17	2388	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:17	2388	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861880
2023-10-13	13:04:17	2389	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:17	2389	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:17	2389	[DEBUG]	Use field value for field taille
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:17	2389	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:17	2389	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:17	2389	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:17	2389	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:17	2389	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:17	2389	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:17	2389	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:17	2389	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:17	2389	[DEBUG]	Use field value for field published
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:17	2389	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field override
2023-10-13	13:04:17	2389	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:17	2389	[DEBUG]	Use field value for field slug
2023-10-13	13:04:17	2389	[DEBUG]	Process line 2389
2023-10-13	13:04:17	2389	[DEBUG]	Load a row
2023-10-13	13:04:17	2389	[DEBUG]	Processing item: 4524667033899
2023-10-13	13:04:17	2389	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:17	2389	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:17	2389	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5546_1'
2023-10-13	13:04:17	2389	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:17	2389	[DEBUG]	Processing product tax
2023-10-13	13:04:17	2389	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:17	2389	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:17	2389	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:17	2389	[DEBUG]	Query for Product
2023-10-13	13:04:17	2389	[DEBUG]	Executed store
2023-10-13	13:04:17	2389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861880','4524667033899','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:17	2389	[DEBUG]	No parent found
2023-10-13	13:04:17	2389	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861880 AND customfield_value = 'stockable'
2023-10-13	13:04:17	2389	[DEBUG]	Check product language entry
2023-10-13	13:04:17	2389	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861881
2023-10-13	13:04:17	2389	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:17	2389	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667033899' AND `virtuemart_product_id` != 1861881
2023-10-13	13:04:17	2389	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:17	2389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861881, '4524667033899')
2023-10-13	13:04:17	2389	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:17	2389	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-gomme-de-frein-shimano-r55c-1mm-avec-vis-fixation-paires-blister-noir-unitaire' AND `virtuemart_product_id` != 1861881
2023-10-13	13:04:17	2389	[DEBUG]	Query for ProductLang
2023-10-13	13:04:17	2389	[DEBUG]	Executed store
2023-10-13	13:04:17	2389	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Gomme de frein Shimano R55C + 1mm avec vis fixation paires blister / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-gomme-de-frein-shimano-r55c-1mm-avec-vis-fixation-paires-blister-noir-unitaire' WHERE `virtuemart_product_id` = '1861881'
2023-10-13	13:04:17	2389	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30045_gomme_de_frein_shimano_r55c_+_1mm_avec_vis_fixation_paires_blister.jpg
2023-10-13	13:04:17	2389	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:17	2389	[DEBUG]	Process image file
2023-10-13	13:04:17	2389	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:17	2389	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:17	2389	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30045_gomme_de_frein_shimano_r55c_+_1mm_avec_vis_fixation_paires_blister.jpg
2023-10-13	13:04:17	2389	[DEBUG]	Full name target: bcprisme/30045_gomme_de_frein_shimano_r55c_+_1mm_avec_vis_fixation_paires_blister.jpg
2023-10-13	13:04:18	2389	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:18	2389	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30045_gomme_de_frein_shimano_r55c_+_1mm_avec_vis_fixation_paires_blister.jpg'
2023-10-13	13:04:18	2389	[DEBUG]	Query for Media
2023-10-13	13:04:18	2389	[DEBUG]	Executed store
2023-10-13	13:04:18	2389	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30045_gomme_de_frein_shimano_r55c_+_1mm_avec_vis_fixation_paires_blister.jpg',`file_url_thumb`='bcprisme/30045_gomme_de_frein_shimano_r55c_+_1mm_avec_vis_fixation_paires_blister.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '336957'
2023-10-13	13:04:18	2389	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:18	2389	[DEBUG]	Executed store
2023-10-13	13:04:18	2389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861881','336957','1')
2023-10-13	13:04:18	2389	[DEBUG]	Store product image relation
2023-10-13	13:04:18	2389	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:18	2389	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861881 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:18	2389	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:18	2389	[DEBUG]	Executed store
2023-10-13	13:04:18	2389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861881','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:18	2389	[DEBUG]	Checking manufacturer
2023-10-13	13:04:18	2389	[DEBUG]	Load a row
2023-10-13	13:04:18	2389	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:18	2389	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:18	2389	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:18	2389	[DEBUG]	Executed store
2023-10-13	13:04:18	2389	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:04:18	2389	[DEBUG]	Manufacturer exists
2023-10-13	13:04:18	2389	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:04:18	2389	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:18	2389	[DEBUG]	Executed store
2023-10-13	13:04:18	2389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861881','2')
2023-10-13	13:04:18	2389	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:18	2389	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:18	2389	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861881 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:18	2389	[DEBUG]	Store custom available field
2023-10-13	13:04:18	2389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861881,3,'',1)
2023-10-13	13:04:18	2389	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:18	2389	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:18	2389	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861881 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:18	2389	[DEBUG]	Store custom available field
2023-10-13	13:04:18	2389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861881,6,'Unitaire',3)
2023-10-13	13:04:18	2389	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:18	2389	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:18	2389	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861880
2023-10-13	13:04:18	2389	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:18	2389	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861880\":[1861880,8,1,\"choisir la taille\"],\"1861881\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861880
2023-10-13	13:04:18	2389	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:18	2389	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861881
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:18	2390	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field taille
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:18	2390	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:18	2390	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:18	2390	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:18	2390	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:18	2390	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:18	2390	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field published
2023-10-13	13:04:18	2390	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:18	2390	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field override
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:18	2390	[DEBUG]	Use field value for field slug
2023-10-13	13:04:18	2390	[DEBUG]	Process line 2390
2023-10-13	13:04:18	2390	[DEBUG]	Load a row
2023-10-13	13:04:18	2390	[DEBUG]	Processing item: A_5702_208
2023-10-13	13:04:18	2390	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:18	2390	[DEBUG]	Processing product tax
2023-10-13	13:04:18	2390	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:18	2390	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:18	2390	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:18	2390	[DEBUG]	Query for Product
2023-10-13	13:04:18	2390	[DEBUG]	Executed store
2023-10-13	13:04:18	2390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5702_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:18	2390	[DEBUG]	Check product language entry
2023-10-13	13:04:18	2390	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861882
2023-10-13	13:04:18	2390	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:18	2390	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5702_208' AND `virtuemart_product_id` != 1861882
2023-10-13	13:04:18	2390	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:18	2390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861882, 'A_5702_208')
2023-10-13	13:04:18	2390	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:18	2390	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bike-attitude-patins-de-frein-hc203-a-visser-aucune' AND `virtuemart_product_id` != 1861882
2023-10-13	13:04:18	2390	[DEBUG]	Query for ProductLang
2023-10-13	13:04:18	2390	[DEBUG]	Executed store
2023-10-13	13:04:18	2390	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 26.40288',`product_name`='Bike Attitude Bike Attitude Patins de frein HC203 à visser / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-bike-attitude-patins-de-frein-hc203-a-visser-aucune' WHERE `virtuemart_product_id` = '1861882'
2023-10-13	13:04:18	2390	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30207_bike_attitude_patins_de_frein_hc203_à_visser.jpg
2023-10-13	13:04:18	2390	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:18	2390	[DEBUG]	Process image file
2023-10-13	13:04:18	2390	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:18	2390	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:18	2390	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30207_bike_attitude_patins_de_frein_hc203_à_visser.jpg
2023-10-13	13:04:18	2390	[DEBUG]	Full name target: bcprisme/30207_bike_attitude_patins_de_frein_hc203_à_visser.jpg
2023-10-13	13:04:19	2390	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:19	2390	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30207_bike_attitude_patins_de_frein_hc203_à_visser.jpg'
2023-10-13	13:04:19	2390	[DEBUG]	Query for Media
2023-10-13	13:04:19	2390	[DEBUG]	Executed store
2023-10-13	13:04:19	2390	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30207_bike_attitude_patins_de_frein_hc203_à_visser.jpg',`file_url_thumb`='bcprisme/30207_bike_attitude_patins_de_frein_hc203_à_visser.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436769'
2023-10-13	13:04:19	2390	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:19	2390	[DEBUG]	Executed store
2023-10-13	13:04:19	2390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861882','436769','1')
2023-10-13	13:04:19	2390	[DEBUG]	Store product image relation
2023-10-13	13:04:19	2390	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:19	2390	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861882 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:19	2390	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:19	2390	[DEBUG]	Executed store
2023-10-13	13:04:19	2390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861882','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:19	2390	[DEBUG]	Checking manufacturer
2023-10-13	13:04:19	2390	[DEBUG]	Load a row
2023-10-13	13:04:19	2390	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:19	2390	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:04:19	2390	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:19	2390	[DEBUG]	Executed store
2023-10-13	13:04:19	2390	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:04:19	2390	[DEBUG]	Manufacturer exists
2023-10-13	13:04:19	2390	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2023-10-13	13:04:19	2390	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:19	2390	[DEBUG]	Executed store
2023-10-13	13:04:19	2390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861882','48')
2023-10-13	13:04:19	2390	[DEBUG]	Find the custom field ID
2023-10-13	13:04:19	2390	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:19	2390	[DEBUG]	No custom field ID found
2023-10-13	13:04:19	2390	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:19	2390	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:04:19	2390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861882 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:19	2390	[DEBUG]	Store custom available field
2023-10-13	13:04:19	2390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861882,3,'0',1)
2023-10-13	13:04:19	2390	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:19	2390	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:19	2390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861882 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:19	2390	[DEBUG]	Store custom available field
2023-10-13	13:04:19	2390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861882,6,'choisir la taille',3)
2023-10-13	13:04:19	2390	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:19	2390	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:19	2390	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:19	2390	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:19	2390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861882 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:19	2390	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:19	2390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861882,8,1)
2023-10-13	13:04:19	2390	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:19	2390	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861882\":[1861882,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861882
2023-10-13	13:04:19	2390	[DEBUG]	Checking category
2023-10-13	13:04:19	2390	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:19	2390	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861882
2023-10-13	13:04:19	2390	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:19	2390	[DEBUG]	Executed store
2023-10-13	13:04:19	2390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861882','7343')
2023-10-13	13:04:19	2390	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:19	2390	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861882 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:19	2390	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:19	2390	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861882
2023-10-13	13:04:19	2391	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:19	2391	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:19	2391	[DEBUG]	Use field value for field taille
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:19	2391	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:19	2391	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:19	2391	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:19	2391	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:19	2391	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:19	2391	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:19	2391	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:19	2391	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:19	2391	[DEBUG]	Use field value for field published
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:19	2391	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field override
2023-10-13	13:04:19	2391	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:19	2391	[DEBUG]	Use field value for field slug
2023-10-13	13:04:19	2391	[DEBUG]	Process line 2391
2023-10-13	13:04:19	2391	[DEBUG]	Load a row
2023-10-13	13:04:19	2391	[DEBUG]	Processing item: 4714150542384
2023-10-13	13:04:19	2391	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:19	2391	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:19	2391	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5702_208'
2023-10-13	13:04:19	2391	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:19	2391	[DEBUG]	Processing product tax
2023-10-13	13:04:19	2391	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:19	2391	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:19	2391	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:19	2391	[DEBUG]	Query for Product
2023-10-13	13:04:19	2391	[DEBUG]	Executed store
2023-10-13	13:04:19	2391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861882','4714150542384','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:19	2391	[DEBUG]	No parent found
2023-10-13	13:04:19	2391	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861882 AND customfield_value = 'stockable'
2023-10-13	13:04:19	2391	[DEBUG]	Check product language entry
2023-10-13	13:04:19	2391	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861883
2023-10-13	13:04:19	2391	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:19	2391	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4714150542384' AND `virtuemart_product_id` != 1861883
2023-10-13	13:04:19	2391	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:19	2391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861883, '4714150542384')
2023-10-13	13:04:19	2391	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:19	2391	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bike-attitude-patins-de-frein-hc203-a-visser-aucune-all' AND `virtuemart_product_id` != 1861883
2023-10-13	13:04:19	2391	[DEBUG]	Query for ProductLang
2023-10-13	13:04:19	2391	[DEBUG]	Executed store
2023-10-13	13:04:19	2391	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bike Attitude Bike Attitude Patins de frein HC203 à visser / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-bike-attitude-patins-de-frein-hc203-a-visser-aucune-all' WHERE `virtuemart_product_id` = '1861883'
2023-10-13	13:04:19	2391	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30207_bike_attitude_patins_de_frein_hc203_à_visser.jpg
2023-10-13	13:04:19	2391	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:19	2391	[DEBUG]	Process image file
2023-10-13	13:04:19	2391	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:19	2391	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:19	2391	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30207_bike_attitude_patins_de_frein_hc203_à_visser.jpg
2023-10-13	13:04:19	2391	[DEBUG]	Full name target: bcprisme/30207_bike_attitude_patins_de_frein_hc203_à_visser.jpg
2023-10-13	13:04:20	2391	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:20	2391	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30207_bike_attitude_patins_de_frein_hc203_à_visser.jpg'
2023-10-13	13:04:20	2391	[DEBUG]	Query for Media
2023-10-13	13:04:20	2391	[DEBUG]	Executed store
2023-10-13	13:04:20	2391	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30207_bike_attitude_patins_de_frein_hc203_à_visser.jpg',`file_url_thumb`='bcprisme/30207_bike_attitude_patins_de_frein_hc203_à_visser.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436769'
2023-10-13	13:04:20	2391	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:20	2391	[DEBUG]	Executed store
2023-10-13	13:04:20	2391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861883','436769','1')
2023-10-13	13:04:20	2391	[DEBUG]	Store product image relation
2023-10-13	13:04:20	2391	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:20	2391	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861883 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:20	2391	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:20	2391	[DEBUG]	Executed store
2023-10-13	13:04:20	2391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861883','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:20	2391	[DEBUG]	Checking manufacturer
2023-10-13	13:04:20	2391	[DEBUG]	Load a row
2023-10-13	13:04:20	2391	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:20	2391	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:04:20	2391	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:20	2391	[DEBUG]	Executed store
2023-10-13	13:04:20	2391	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:04:20	2391	[DEBUG]	Manufacturer exists
2023-10-13	13:04:20	2391	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2023-10-13	13:04:20	2391	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:20	2391	[DEBUG]	Executed store
2023-10-13	13:04:20	2391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861883','48')
2023-10-13	13:04:20	2391	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:20	2391	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:20	2391	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861883 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:20	2391	[DEBUG]	Store custom available field
2023-10-13	13:04:20	2391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861883,3,'',1)
2023-10-13	13:04:20	2391	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:20	2391	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:04:20	2391	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861883 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:20	2391	[DEBUG]	Store custom available field
2023-10-13	13:04:20	2391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861883,6,'All',3)
2023-10-13	13:04:20	2391	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:20	2391	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:20	2391	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861882
2023-10-13	13:04:20	2391	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:20	2391	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861882\":[1861882,8,1,\"choisir la taille\"],\"1861883\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861882
2023-10-13	13:04:20	2391	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:20	2391	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861883
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:20	2392	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field taille
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:20	2392	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:20	2392	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:20	2392	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:20	2392	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:20	2392	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:20	2392	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field published
2023-10-13	13:04:20	2392	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:20	2392	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field override
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:20	2392	[DEBUG]	Use field value for field slug
2023-10-13	13:04:20	2392	[DEBUG]	Process line 2392
2023-10-13	13:04:20	2392	[DEBUG]	Load a row
2023-10-13	13:04:20	2392	[DEBUG]	Processing item: A_6168_208
2023-10-13	13:04:20	2392	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:20	2392	[DEBUG]	Processing product tax
2023-10-13	13:04:20	2392	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:20	2392	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:20	2392	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:20	2392	[DEBUG]	Query for Product
2023-10-13	13:04:20	2392	[DEBUG]	Executed store
2023-10-13	13:04:20	2392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6168_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:20	2392	[DEBUG]	Check product language entry
2023-10-13	13:04:20	2392	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861884
2023-10-13	13:04:20	2392	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:20	2392	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6168_208' AND `virtuemart_product_id` != 1861884
2023-10-13	13:04:20	2392	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:20	2392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861884, 'A_6168_208')
2023-10-13	13:04:20	2392	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:20	2392	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-patins-de-frein-m70t4-avec-ecrous-de-fixation-paires-blister-aucune' AND `virtuemart_product_id` != 1861884
2023-10-13	13:04:20	2392	[DEBUG]	Query for ProductLang
2023-10-13	13:04:20	2392	[DEBUG]	Executed store
2023-10-13	13:04:20	2392	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.40312',`product_name`='SHIMANO Patins de frein M70T4 avec écrous de fixation paires blister / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-patins-de-frein-m70t4-avec-ecrous-de-fixation-paires-blister-aucune' WHERE `virtuemart_product_id` = '1861884'
2023-10-13	13:04:20	2392	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31865_shimano_patins_de_frein_m70t4_avec_ecrous_de_fixation_paires_blister.jpg
2023-10-13	13:04:20	2392	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:20	2392	[DEBUG]	Process image file
2023-10-13	13:04:20	2392	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:20	2392	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:20	2392	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31865_shimano_patins_de_frein_m70t4_avec_ecrous_de_fixation_paires_blister.jpg
2023-10-13	13:04:20	2392	[DEBUG]	Full name target: bcprisme/31865_shimano_patins_de_frein_m70t4_avec_ecrous_de_fixation_paires_blister.jpg
2023-10-13	13:04:21	2392	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:21	2392	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31865_shimano_patins_de_frein_m70t4_avec_ecrous_de_fixation_paires_blister.jpg'
2023-10-13	13:04:21	2392	[DEBUG]	Query for Media
2023-10-13	13:04:21	2392	[DEBUG]	Executed store
2023-10-13	13:04:21	2392	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31865_shimano_patins_de_frein_m70t4_avec_ecrous_de_fixation_paires_blister.jpg',`file_url_thumb`='bcprisme/31865_shimano_patins_de_frein_m70t4_avec_ecrous_de_fixation_paires_blister.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366755'
2023-10-13	13:04:21	2392	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:21	2392	[DEBUG]	Executed store
2023-10-13	13:04:21	2392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861884','366755','1')
2023-10-13	13:04:21	2392	[DEBUG]	Store product image relation
2023-10-13	13:04:21	2392	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:21	2392	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861884 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:21	2392	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:21	2392	[DEBUG]	Executed store
2023-10-13	13:04:21	2392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861884','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:21	2392	[DEBUG]	Checking manufacturer
2023-10-13	13:04:21	2392	[DEBUG]	Load a row
2023-10-13	13:04:21	2392	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:21	2392	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:04:21	2392	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:21	2392	[DEBUG]	Executed store
2023-10-13	13:04:21	2392	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:04:21	2392	[DEBUG]	Manufacturer exists
2023-10-13	13:04:21	2392	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:04:21	2392	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:21	2392	[DEBUG]	Executed store
2023-10-13	13:04:21	2392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861884','123')
2023-10-13	13:04:21	2392	[DEBUG]	Find the custom field ID
2023-10-13	13:04:21	2392	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:21	2392	[DEBUG]	No custom field ID found
2023-10-13	13:04:21	2392	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:21	2392	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:04:21	2392	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861884 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:21	2392	[DEBUG]	Store custom available field
2023-10-13	13:04:21	2392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861884,3,'0',1)
2023-10-13	13:04:21	2392	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:21	2392	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:21	2392	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861884 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:21	2392	[DEBUG]	Store custom available field
2023-10-13	13:04:21	2392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861884,6,'choisir la taille',3)
2023-10-13	13:04:21	2392	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:21	2392	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:21	2392	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:21	2392	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:21	2392	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861884 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:21	2392	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:21	2392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861884,8,1)
2023-10-13	13:04:21	2392	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:21	2392	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861884\":[1861884,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861884
2023-10-13	13:04:21	2392	[DEBUG]	Checking category
2023-10-13	13:04:21	2392	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:21	2392	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861884
2023-10-13	13:04:21	2392	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:21	2392	[DEBUG]	Executed store
2023-10-13	13:04:21	2392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861884','7343')
2023-10-13	13:04:21	2392	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:21	2392	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861884 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:21	2392	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:21	2392	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861884
2023-10-13	13:04:21	2393	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:21	2393	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:21	2393	[DEBUG]	Use field value for field taille
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:21	2393	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:21	2393	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:21	2393	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:21	2393	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:21	2393	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:21	2393	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:21	2393	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:21	2393	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:21	2393	[DEBUG]	Use field value for field published
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:21	2393	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field override
2023-10-13	13:04:21	2393	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:21	2393	[DEBUG]	Use field value for field slug
2023-10-13	13:04:21	2393	[DEBUG]	Process line 2393
2023-10-13	13:04:21	2393	[DEBUG]	Load a row
2023-10-13	13:04:21	2393	[DEBUG]	Processing item: 4524667096542
2023-10-13	13:04:21	2393	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:21	2393	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:21	2393	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6168_208'
2023-10-13	13:04:21	2393	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:21	2393	[DEBUG]	Processing product tax
2023-10-13	13:04:21	2393	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:21	2393	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:21	2393	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:21	2393	[DEBUG]	Query for Product
2023-10-13	13:04:21	2393	[DEBUG]	Executed store
2023-10-13	13:04:21	2393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861884','4524667096542','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:21	2393	[DEBUG]	No parent found
2023-10-13	13:04:21	2393	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861884 AND customfield_value = 'stockable'
2023-10-13	13:04:21	2393	[DEBUG]	Check product language entry
2023-10-13	13:04:21	2393	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861885
2023-10-13	13:04:21	2393	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:21	2393	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667096542' AND `virtuemart_product_id` != 1861885
2023-10-13	13:04:21	2393	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:21	2393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861885, '4524667096542')
2023-10-13	13:04:21	2393	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:21	2393	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-patins-de-frein-m70t4-avec-ecrous-de-fixation-paires-blister-aucune-all' AND `virtuemart_product_id` != 1861885
2023-10-13	13:04:21	2393	[DEBUG]	Query for ProductLang
2023-10-13	13:04:21	2393	[DEBUG]	Executed store
2023-10-13	13:04:21	2393	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Patins de frein M70T4 avec écrous de fixation paires blister / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-patins-de-frein-m70t4-avec-ecrous-de-fixation-paires-blister-aucune-all' WHERE `virtuemart_product_id` = '1861885'
2023-10-13	13:04:21	2393	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31865_shimano_patins_de_frein_m70t4_avec_ecrous_de_fixation_paires_blister.jpg
2023-10-13	13:04:21	2393	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:21	2393	[DEBUG]	Process image file
2023-10-13	13:04:21	2393	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:21	2393	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:21	2393	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31865_shimano_patins_de_frein_m70t4_avec_ecrous_de_fixation_paires_blister.jpg
2023-10-13	13:04:21	2393	[DEBUG]	Full name target: bcprisme/31865_shimano_patins_de_frein_m70t4_avec_ecrous_de_fixation_paires_blister.jpg
2023-10-13	13:04:22	2393	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:22	2393	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31865_shimano_patins_de_frein_m70t4_avec_ecrous_de_fixation_paires_blister.jpg'
2023-10-13	13:04:22	2393	[DEBUG]	Query for Media
2023-10-13	13:04:22	2393	[DEBUG]	Executed store
2023-10-13	13:04:22	2393	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31865_shimano_patins_de_frein_m70t4_avec_ecrous_de_fixation_paires_blister.jpg',`file_url_thumb`='bcprisme/31865_shimano_patins_de_frein_m70t4_avec_ecrous_de_fixation_paires_blister.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366755'
2023-10-13	13:04:22	2393	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:22	2393	[DEBUG]	Executed store
2023-10-13	13:04:22	2393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861885','366755','1')
2023-10-13	13:04:22	2393	[DEBUG]	Store product image relation
2023-10-13	13:04:22	2393	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:22	2393	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861885 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:22	2393	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:22	2393	[DEBUG]	Executed store
2023-10-13	13:04:22	2393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861885','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:22	2393	[DEBUG]	Checking manufacturer
2023-10-13	13:04:22	2393	[DEBUG]	Load a row
2023-10-13	13:04:22	2393	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:22	2393	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:04:22	2393	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:22	2393	[DEBUG]	Executed store
2023-10-13	13:04:22	2393	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:04:22	2393	[DEBUG]	Manufacturer exists
2023-10-13	13:04:22	2393	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:04:22	2393	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:22	2393	[DEBUG]	Executed store
2023-10-13	13:04:22	2393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861885','123')
2023-10-13	13:04:22	2393	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:22	2393	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:22	2393	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861885 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:22	2393	[DEBUG]	Store custom available field
2023-10-13	13:04:22	2393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861885,3,'',1)
2023-10-13	13:04:22	2393	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:22	2393	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:04:22	2393	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861885 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:22	2393	[DEBUG]	Store custom available field
2023-10-13	13:04:22	2393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861885,6,'All',3)
2023-10-13	13:04:22	2393	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:22	2393	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:22	2393	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861884
2023-10-13	13:04:22	2393	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:22	2393	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861884\":[1861884,8,1,\"choisir la taille\"],\"1861885\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861884
2023-10-13	13:04:22	2393	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:22	2393	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861885
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:22	2394	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field taille
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:22	2394	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:22	2394	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:22	2394	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:22	2394	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:22	2394	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:22	2394	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:22	2394	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field published
2023-10-13	13:04:22	2394	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:22	2394	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field override
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:22	2394	[DEBUG]	Use field value for field slug
2023-10-13	13:04:22	2394	[DEBUG]	Process line 2394
2023-10-13	13:04:22	2394	[DEBUG]	Load a row
2023-10-13	13:04:22	2394	[DEBUG]	Processing item: A_6279_208
2023-10-13	13:04:22	2394	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:22	2394	[DEBUG]	Processing product tax
2023-10-13	13:04:22	2394	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:22	2394	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:22	2394	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:22	2394	[DEBUG]	Query for Product
2023-10-13	13:04:22	2394	[DEBUG]	Executed store
2023-10-13	13:04:22	2394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6279_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:22	2394	[DEBUG]	Check product language entry
2023-10-13	13:04:22	2394	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861886
2023-10-13	13:04:22	2394	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:22	2394	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6279_208' AND `virtuemart_product_id` != 1861886
2023-10-13	13:04:22	2394	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:22	2394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861886, 'A_6279_208')
2023-10-13	13:04:22	2394	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:22	2394	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-patins-de-frein-r55c4-cartridge-paires-blister-aucune' AND `virtuemart_product_id` != 1861886
2023-10-13	13:04:22	2394	[DEBUG]	Query for ProductLang
2023-10-13	13:04:22	2394	[DEBUG]	Executed store
2023-10-13	13:04:22	2394	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.59825',`product_name`='SHIMANO Patins de frein R55C4 Cartridge paires blister / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-patins-de-frein-r55c4-cartridge-paires-blister-aucune' WHERE `virtuemart_product_id` = '1861886'
2023-10-13	13:04:22	2394	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32129_shimano_patins_de_frein_r55c4_cartridge_paires_blister.jpg
2023-10-13	13:04:22	2394	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:22	2394	[DEBUG]	Process image file
2023-10-13	13:04:22	2394	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:22	2394	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:22	2394	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32129_shimano_patins_de_frein_r55c4_cartridge_paires_blister.jpg
2023-10-13	13:04:22	2394	[DEBUG]	Full name target: bcprisme/32129_shimano_patins_de_frein_r55c4_cartridge_paires_blister.jpg
2023-10-13	13:04:23	2394	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:23	2394	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32129_shimano_patins_de_frein_r55c4_cartridge_paires_blister.jpg'
2023-10-13	13:04:23	2394	[DEBUG]	Query for Media
2023-10-13	13:04:23	2394	[DEBUG]	Executed store
2023-10-13	13:04:23	2394	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32129_shimano_patins_de_frein_r55c4_cartridge_paires_blister.jpg',`file_url_thumb`='bcprisme/32129_shimano_patins_de_frein_r55c4_cartridge_paires_blister.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366757'
2023-10-13	13:04:23	2394	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:23	2394	[DEBUG]	Executed store
2023-10-13	13:04:23	2394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861886','366757','1')
2023-10-13	13:04:23	2394	[DEBUG]	Store product image relation
2023-10-13	13:04:23	2394	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:23	2394	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861886 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:23	2394	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:23	2394	[DEBUG]	Executed store
2023-10-13	13:04:23	2394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861886','0','24.0482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:23	2394	[DEBUG]	Checking manufacturer
2023-10-13	13:04:23	2394	[DEBUG]	Load a row
2023-10-13	13:04:23	2394	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:23	2394	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:04:23	2394	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:23	2394	[DEBUG]	Executed store
2023-10-13	13:04:23	2394	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:04:23	2394	[DEBUG]	Manufacturer exists
2023-10-13	13:04:23	2394	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:04:23	2394	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:23	2394	[DEBUG]	Executed store
2023-10-13	13:04:23	2394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861886','123')
2023-10-13	13:04:23	2394	[DEBUG]	Find the custom field ID
2023-10-13	13:04:23	2394	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:23	2394	[DEBUG]	No custom field ID found
2023-10-13	13:04:23	2394	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:23	2394	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:04:23	2394	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861886 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:23	2394	[DEBUG]	Store custom available field
2023-10-13	13:04:23	2394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861886,3,'0',1)
2023-10-13	13:04:23	2394	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:23	2394	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:23	2394	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861886 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:23	2394	[DEBUG]	Store custom available field
2023-10-13	13:04:23	2394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861886,6,'choisir la taille',3)
2023-10-13	13:04:23	2394	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:23	2394	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:23	2394	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:23	2394	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:23	2394	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861886 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:23	2394	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:23	2394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861886,8,1)
2023-10-13	13:04:23	2394	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:23	2394	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861886\":[1861886,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861886
2023-10-13	13:04:23	2394	[DEBUG]	Checking category
2023-10-13	13:04:23	2394	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:23	2394	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861886
2023-10-13	13:04:23	2394	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:23	2394	[DEBUG]	Executed store
2023-10-13	13:04:23	2394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861886','7343')
2023-10-13	13:04:23	2394	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:23	2394	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861886 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:23	2394	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:23	2394	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861886
2023-10-13	13:04:23	2395	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:23	2395	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:23	2395	[DEBUG]	Use field value for field taille
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:23	2395	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:23	2395	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:23	2395	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:23	2395	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:23	2395	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:23	2395	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:23	2395	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:23	2395	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:23	2395	[DEBUG]	Use field value for field published
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:23	2395	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field override
2023-10-13	13:04:23	2395	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:23	2395	[DEBUG]	Use field value for field slug
2023-10-13	13:04:23	2395	[DEBUG]	Process line 2395
2023-10-13	13:04:23	2395	[DEBUG]	Load a row
2023-10-13	13:04:23	2395	[DEBUG]	Processing item: 4524667129912
2023-10-13	13:04:23	2395	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:23	2395	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:23	2395	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6279_208'
2023-10-13	13:04:23	2395	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:23	2395	[DEBUG]	Processing product tax
2023-10-13	13:04:23	2395	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:23	2395	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:23	2395	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:23	2395	[DEBUG]	Query for Product
2023-10-13	13:04:23	2395	[DEBUG]	Executed store
2023-10-13	13:04:23	2395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861886','4524667129912','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:23	2395	[DEBUG]	No parent found
2023-10-13	13:04:23	2395	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861886 AND customfield_value = 'stockable'
2023-10-13	13:04:23	2395	[DEBUG]	Check product language entry
2023-10-13	13:04:23	2395	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861887
2023-10-13	13:04:23	2395	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:23	2395	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667129912' AND `virtuemart_product_id` != 1861887
2023-10-13	13:04:23	2395	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:23	2395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861887, '4524667129912')
2023-10-13	13:04:23	2395	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:23	2395	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-patins-de-frein-r55c4-cartridge-paires-blister-aucune-all' AND `virtuemart_product_id` != 1861887
2023-10-13	13:04:23	2395	[DEBUG]	Query for ProductLang
2023-10-13	13:04:23	2395	[DEBUG]	Executed store
2023-10-13	13:04:23	2395	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Patins de frein R55C4 Cartridge paires blister / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-patins-de-frein-r55c4-cartridge-paires-blister-aucune-all' WHERE `virtuemart_product_id` = '1861887'
2023-10-13	13:04:23	2395	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32129_shimano_patins_de_frein_r55c4_cartridge_paires_blister.jpg
2023-10-13	13:04:23	2395	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:23	2395	[DEBUG]	Process image file
2023-10-13	13:04:23	2395	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:23	2395	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:23	2395	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32129_shimano_patins_de_frein_r55c4_cartridge_paires_blister.jpg
2023-10-13	13:04:23	2395	[DEBUG]	Full name target: bcprisme/32129_shimano_patins_de_frein_r55c4_cartridge_paires_blister.jpg
2023-10-13	13:04:24	2395	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:24	2395	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32129_shimano_patins_de_frein_r55c4_cartridge_paires_blister.jpg'
2023-10-13	13:04:24	2395	[DEBUG]	Query for Media
2023-10-13	13:04:24	2395	[DEBUG]	Executed store
2023-10-13	13:04:24	2395	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32129_shimano_patins_de_frein_r55c4_cartridge_paires_blister.jpg',`file_url_thumb`='bcprisme/32129_shimano_patins_de_frein_r55c4_cartridge_paires_blister.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366757'
2023-10-13	13:04:24	2395	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:24	2395	[DEBUG]	Executed store
2023-10-13	13:04:24	2395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861887','366757','1')
2023-10-13	13:04:24	2395	[DEBUG]	Store product image relation
2023-10-13	13:04:24	2395	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:24	2395	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861887 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:24	2395	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:24	2395	[DEBUG]	Executed store
2023-10-13	13:04:24	2395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861887','0','24.0482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:24	2395	[DEBUG]	Checking manufacturer
2023-10-13	13:04:24	2395	[DEBUG]	Load a row
2023-10-13	13:04:24	2395	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:24	2395	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:04:24	2395	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:24	2395	[DEBUG]	Executed store
2023-10-13	13:04:24	2395	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:04:24	2395	[DEBUG]	Manufacturer exists
2023-10-13	13:04:24	2395	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:04:24	2395	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:24	2395	[DEBUG]	Executed store
2023-10-13	13:04:24	2395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861887','123')
2023-10-13	13:04:24	2395	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:24	2395	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:24	2395	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861887 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:24	2395	[DEBUG]	Store custom available field
2023-10-13	13:04:24	2395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861887,3,'',1)
2023-10-13	13:04:24	2395	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:24	2395	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:04:24	2395	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861887 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:24	2395	[DEBUG]	Store custom available field
2023-10-13	13:04:24	2395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861887,6,'All',3)
2023-10-13	13:04:24	2395	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:24	2395	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:24	2395	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861886
2023-10-13	13:04:24	2395	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:24	2395	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861886\":[1861886,8,1,\"choisir la taille\"],\"1861887\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861886
2023-10-13	13:04:24	2395	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:24	2395	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861887
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:24	2396	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field taille
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:24	2396	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:24	2396	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:24	2396	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:24	2396	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:24	2396	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:24	2396	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field published
2023-10-13	13:04:24	2396	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:24	2396	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field override
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:24	2396	[DEBUG]	Use field value for field slug
2023-10-13	13:04:24	2396	[DEBUG]	Process line 2396
2023-10-13	13:04:24	2396	[DEBUG]	Load a row
2023-10-13	13:04:24	2396	[DEBUG]	Processing item: A_7024_1
2023-10-13	13:04:24	2396	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:24	2396	[DEBUG]	Processing product tax
2023-10-13	13:04:24	2396	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:24	2396	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:24	2396	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:24	2396	[DEBUG]	Query for Product
2023-10-13	13:04:24	2396	[DEBUG]	Executed store
2023-10-13	13:04:24	2396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7024_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:24	2396	[DEBUG]	Check product language entry
2023-10-13	13:04:24	2396	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861888
2023-10-13	13:04:24	2396	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:24	2396	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7024_1' AND `virtuemart_product_id` != 1861888
2023-10-13	13:04:24	2396	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:24	2396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861888, 'A_7024_1')
2023-10-13	13:04:24	2396	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:24	2396	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-patins-de-frein-magura-standard-4-unites-noir' AND `virtuemart_product_id` != 1861888
2023-10-13	13:04:24	2396	[DEBUG]	Query for ProductLang
2023-10-13	13:04:24	2396	[DEBUG]	Executed store
2023-10-13	13:04:24	2396	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Patins de frein triple couleur Magura 60 mm Compatible avec des freins hydrauliques Magura Composé de gomme de haute friction Triple compound<br><br>N° art fourn : H8783K',`product_name`='MAGURA Patins de frein Magura standard, 4 unités / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-patins-de-frein-magura-standard-4-unites-noir' WHERE `virtuemart_product_id` = '1861888'
2023-10-13	13:04:24	2396	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34162_patins_de_frein_magura_standard,_4_unites.jpg
2023-10-13	13:04:24	2396	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:24	2396	[DEBUG]	Process image file
2023-10-13	13:04:24	2396	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:24	2396	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:24	2396	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34162_patins_de_frein_magura_standard,_4_unites.jpg
2023-10-13	13:04:24	2396	[DEBUG]	Full name target: bcprisme/34162_patins_de_frein_magura_standard,_4_unites.jpg
2023-10-13	13:04:25	2396	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:25	2396	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34162_patins_de_frein_magura_standard,_4_unites.jpg'
2023-10-13	13:04:25	2396	[DEBUG]	Query for Media
2023-10-13	13:04:25	2396	[DEBUG]	Executed store
2023-10-13	13:04:25	2396	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34162_patins_de_frein_magura_standard,_4_unites.jpg',`file_url_thumb`='bcprisme/34162_patins_de_frein_magura_standard,_4_unites.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17621'
2023-10-13	13:04:25	2396	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:25	2396	[DEBUG]	Executed store
2023-10-13	13:04:25	2396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861888','17621','1')
2023-10-13	13:04:25	2396	[DEBUG]	Store product image relation
2023-10-13	13:04:25	2396	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:25	2396	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861888 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:25	2396	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:25	2396	[DEBUG]	Executed store
2023-10-13	13:04:25	2396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861888','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:25	2396	[DEBUG]	Checking manufacturer
2023-10-13	13:04:25	2396	[DEBUG]	Load a row
2023-10-13	13:04:25	2396	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:25	2396	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:04:25	2396	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:25	2396	[DEBUG]	Executed store
2023-10-13	13:04:25	2396	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:04:25	2396	[DEBUG]	Manufacturer exists
2023-10-13	13:04:25	2396	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:04:25	2396	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:25	2396	[DEBUG]	Executed store
2023-10-13	13:04:25	2396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861888','38')
2023-10-13	13:04:25	2396	[DEBUG]	Find the custom field ID
2023-10-13	13:04:25	2396	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:25	2396	[DEBUG]	No custom field ID found
2023-10-13	13:04:25	2396	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:25	2396	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:04:25	2396	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861888 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:25	2396	[DEBUG]	Store custom available field
2023-10-13	13:04:25	2396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861888,3,'12.8641666666667',1)
2023-10-13	13:04:25	2396	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:25	2396	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:25	2396	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861888 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:25	2396	[DEBUG]	Store custom available field
2023-10-13	13:04:25	2396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861888,6,'choisir la taille',3)
2023-10-13	13:04:25	2396	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:25	2396	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:25	2396	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:25	2396	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:25	2396	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861888 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:25	2396	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:25	2396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861888,8,1)
2023-10-13	13:04:25	2396	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:25	2396	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861888\":[1861888,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861888
2023-10-13	13:04:25	2396	[DEBUG]	Checking category
2023-10-13	13:04:25	2396	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:25	2396	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861888
2023-10-13	13:04:25	2396	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:25	2396	[DEBUG]	Executed store
2023-10-13	13:04:25	2396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861888','7343')
2023-10-13	13:04:25	2396	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:25	2396	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861888 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:25	2396	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:25	2396	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861888
2023-10-13	13:04:25	2397	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:25	2397	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:25	2397	[DEBUG]	Use field value for field taille
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:25	2397	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:25	2397	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:25	2397	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:25	2397	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:25	2397	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:25	2397	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:25	2397	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:25	2397	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:25	2397	[DEBUG]	Use field value for field published
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:25	2397	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field override
2023-10-13	13:04:25	2397	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:25	2397	[DEBUG]	Use field value for field slug
2023-10-13	13:04:25	2397	[DEBUG]	Process line 2397
2023-10-13	13:04:25	2397	[DEBUG]	Load a row
2023-10-13	13:04:25	2397	[DEBUG]	Processing item: 4055184020722
2023-10-13	13:04:25	2397	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:25	2397	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:25	2397	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7024_1'
2023-10-13	13:04:25	2397	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:25	2397	[DEBUG]	Processing product tax
2023-10-13	13:04:25	2397	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:25	2397	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:25	2397	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:25	2397	[DEBUG]	Query for Product
2023-10-13	13:04:25	2397	[DEBUG]	Executed store
2023-10-13	13:04:25	2397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861888','4055184020722','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:25	2397	[DEBUG]	No parent found
2023-10-13	13:04:25	2397	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861888 AND customfield_value = 'stockable'
2023-10-13	13:04:25	2397	[DEBUG]	Check product language entry
2023-10-13	13:04:25	2397	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861889
2023-10-13	13:04:25	2397	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:25	2397	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184020722' AND `virtuemart_product_id` != 1861889
2023-10-13	13:04:25	2397	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:25	2397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861889, '4055184020722')
2023-10-13	13:04:25	2397	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:25	2397	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-patins-de-frein-magura-standard-4-unites-noir-unitaire' AND `virtuemart_product_id` != 1861889
2023-10-13	13:04:25	2397	[DEBUG]	Query for ProductLang
2023-10-13	13:04:25	2397	[DEBUG]	Executed store
2023-10-13	13:04:25	2397	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Patins de frein Magura standard, 4 unités / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-patins-de-frein-magura-standard-4-unites-noir-unitaire' WHERE `virtuemart_product_id` = '1861889'
2023-10-13	13:04:25	2397	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34162_patins_de_frein_magura_standard,_4_unites.jpg
2023-10-13	13:04:25	2397	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:25	2397	[DEBUG]	Process image file
2023-10-13	13:04:25	2397	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:25	2397	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:25	2397	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34162_patins_de_frein_magura_standard,_4_unites.jpg
2023-10-13	13:04:25	2397	[DEBUG]	Full name target: bcprisme/34162_patins_de_frein_magura_standard,_4_unites.jpg
2023-10-13	13:04:26	2397	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:26	2397	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34162_patins_de_frein_magura_standard,_4_unites.jpg'
2023-10-13	13:04:26	2397	[DEBUG]	Query for Media
2023-10-13	13:04:26	2397	[DEBUG]	Executed store
2023-10-13	13:04:26	2397	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34162_patins_de_frein_magura_standard,_4_unites.jpg',`file_url_thumb`='bcprisme/34162_patins_de_frein_magura_standard,_4_unites.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17621'
2023-10-13	13:04:26	2397	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:26	2397	[DEBUG]	Executed store
2023-10-13	13:04:26	2397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861889','17621','1')
2023-10-13	13:04:26	2397	[DEBUG]	Store product image relation
2023-10-13	13:04:26	2397	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:26	2397	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861889 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:26	2397	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:26	2397	[DEBUG]	Executed store
2023-10-13	13:04:26	2397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861889','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:26	2397	[DEBUG]	Checking manufacturer
2023-10-13	13:04:26	2397	[DEBUG]	Load a row
2023-10-13	13:04:26	2397	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:26	2397	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:04:26	2397	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:26	2397	[DEBUG]	Executed store
2023-10-13	13:04:26	2397	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:04:26	2397	[DEBUG]	Manufacturer exists
2023-10-13	13:04:26	2397	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:04:26	2397	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:26	2397	[DEBUG]	Executed store
2023-10-13	13:04:26	2397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861889','38')
2023-10-13	13:04:26	2397	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:26	2397	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:26	2397	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861889 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:26	2397	[DEBUG]	Store custom available field
2023-10-13	13:04:26	2397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861889,3,'',1)
2023-10-13	13:04:26	2397	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:26	2397	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:26	2397	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861889 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:26	2397	[DEBUG]	Store custom available field
2023-10-13	13:04:26	2397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861889,6,'Unitaire',3)
2023-10-13	13:04:26	2397	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:26	2397	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:26	2397	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861888
2023-10-13	13:04:26	2397	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:26	2397	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861888\":[1861888,8,1,\"choisir la taille\"],\"1861889\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861888
2023-10-13	13:04:26	2397	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:26	2397	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861889
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:26	2398	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field taille
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:26	2398	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:26	2398	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:26	2398	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:26	2398	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:26	2398	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:26	2398	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field published
2023-10-13	13:04:26	2398	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:26	2398	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field override
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:26	2398	[DEBUG]	Use field value for field slug
2023-10-13	13:04:26	2398	[DEBUG]	Process line 2398
2023-10-13	13:04:26	2398	[DEBUG]	Load a row
2023-10-13	13:04:26	2398	[DEBUG]	Processing item: A_7054_1
2023-10-13	13:04:26	2398	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:26	2398	[DEBUG]	Processing product tax
2023-10-13	13:04:26	2398	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:26	2398	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:26	2398	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:26	2398	[DEBUG]	Query for Product
2023-10-13	13:04:26	2398	[DEBUG]	Executed store
2023-10-13	13:04:26	2398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7054_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:26	2398	[DEBUG]	Check product language entry
2023-10-13	13:04:26	2398	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861890
2023-10-13	13:04:26	2398	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:26	2398	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7054_1' AND `virtuemart_product_id` != 1861890
2023-10-13	13:04:26	2398	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:26	2398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861890, 'A_7054_1')
2023-10-13	13:04:26	2398	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:26	2398	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-patins-de-frein-s65t-avec-ecrous-de-fixation-paires-blister-noir' AND `virtuemart_product_id` != 1861890
2023-10-13	13:04:26	2398	[DEBUG]	Query for ProductLang
2023-10-13	13:04:26	2398	[DEBUG]	Executed store
2023-10-13	13:04:26	2398	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 72.40328',`product_name`='SHIMANO Patins de frein S65T avec écrous de fixation paires blister  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-patins-de-frein-s65t-avec-ecrous-de-fixation-paires-blister-noir' WHERE `virtuemart_product_id` = '1861890'
2023-10-13	13:04:26	2398	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34202_shimano_patins_de_frein_s65t_avec_ecrous_de_fixation_paires_blister_.jpg
2023-10-13	13:04:26	2398	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:26	2398	[DEBUG]	Process image file
2023-10-13	13:04:26	2398	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:26	2398	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:26	2398	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34202_shimano_patins_de_frein_s65t_avec_ecrous_de_fixation_paires_blister_.jpg
2023-10-13	13:04:26	2398	[DEBUG]	Full name target: bcprisme/34202_shimano_patins_de_frein_s65t_avec_ecrous_de_fixation_paires_blister_.jpg
2023-10-13	13:04:27	2398	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:27	2398	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34202_shimano_patins_de_frein_s65t_avec_ecrous_de_fixation_paires_blister_.jpg'
2023-10-13	13:04:27	2398	[DEBUG]	Query for Media
2023-10-13	13:04:27	2398	[DEBUG]	Executed store
2023-10-13	13:04:27	2398	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34202_shimano_patins_de_frein_s65t_avec_ecrous_de_fixation_paires_blister_.jpg',`file_url_thumb`='bcprisme/34202_shimano_patins_de_frein_s65t_avec_ecrous_de_fixation_paires_blister_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '25110'
2023-10-13	13:04:27	2398	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:27	2398	[DEBUG]	Executed store
2023-10-13	13:04:27	2398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861890','25110','1')
2023-10-13	13:04:27	2398	[DEBUG]	Store product image relation
2023-10-13	13:04:27	2398	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:27	2398	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861890 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:27	2398	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:27	2398	[DEBUG]	Executed store
2023-10-13	13:04:27	2398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861890','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:27	2398	[DEBUG]	Checking manufacturer
2023-10-13	13:04:27	2398	[DEBUG]	Load a row
2023-10-13	13:04:27	2398	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:27	2398	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:04:27	2398	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:27	2398	[DEBUG]	Executed store
2023-10-13	13:04:27	2398	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:04:27	2398	[DEBUG]	Manufacturer exists
2023-10-13	13:04:27	2398	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:04:27	2398	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:27	2398	[DEBUG]	Executed store
2023-10-13	13:04:27	2398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861890','123')
2023-10-13	13:04:27	2398	[DEBUG]	Find the custom field ID
2023-10-13	13:04:27	2398	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:27	2398	[DEBUG]	No custom field ID found
2023-10-13	13:04:27	2398	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:27	2398	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:04:27	2398	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861890 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:27	2398	[DEBUG]	Store custom available field
2023-10-13	13:04:27	2398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861890,3,'0',1)
2023-10-13	13:04:27	2398	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:27	2398	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:27	2398	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861890 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:27	2398	[DEBUG]	Store custom available field
2023-10-13	13:04:27	2398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861890,6,'choisir la taille',3)
2023-10-13	13:04:27	2398	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:27	2398	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:27	2398	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:27	2398	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:27	2398	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861890 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:27	2398	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:27	2398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861890,8,1)
2023-10-13	13:04:27	2398	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:27	2398	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861890\":[1861890,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861890
2023-10-13	13:04:27	2398	[DEBUG]	Checking category
2023-10-13	13:04:27	2398	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:27	2398	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861890
2023-10-13	13:04:27	2398	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:27	2398	[DEBUG]	Executed store
2023-10-13	13:04:27	2398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861890','7343')
2023-10-13	13:04:27	2398	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:27	2398	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861890 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:27	2398	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:27	2398	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861890
2023-10-13	13:04:27	2399	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:27	2399	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:27	2399	[DEBUG]	Use field value for field taille
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:27	2399	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:27	2399	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:27	2399	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:27	2399	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:27	2399	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:27	2399	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:27	2399	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:27	2399	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:27	2399	[DEBUG]	Use field value for field published
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:27	2399	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field override
2023-10-13	13:04:27	2399	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:27	2399	[DEBUG]	Use field value for field slug
2023-10-13	13:04:27	2399	[DEBUG]	Process line 2399
2023-10-13	13:04:27	2399	[DEBUG]	Load a row
2023-10-13	13:04:27	2399	[DEBUG]	Processing item: 4524667098867
2023-10-13	13:04:27	2399	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:27	2399	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:27	2399	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7054_1'
2023-10-13	13:04:27	2399	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:27	2399	[DEBUG]	Processing product tax
2023-10-13	13:04:27	2399	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:27	2399	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:27	2399	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:27	2399	[DEBUG]	Query for Product
2023-10-13	13:04:27	2399	[DEBUG]	Executed store
2023-10-13	13:04:27	2399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861890','4524667098867','0','KG','M','','13','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:27	2399	[DEBUG]	No parent found
2023-10-13	13:04:27	2399	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861890 AND customfield_value = 'stockable'
2023-10-13	13:04:27	2399	[DEBUG]	Check product language entry
2023-10-13	13:04:27	2399	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861891
2023-10-13	13:04:27	2399	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:27	2399	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667098867' AND `virtuemart_product_id` != 1861891
2023-10-13	13:04:27	2399	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:27	2399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861891, '4524667098867')
2023-10-13	13:04:27	2399	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:27	2399	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-patins-de-frein-s65t-avec-ecrous-de-fixation-paires-blister-noir-all' AND `virtuemart_product_id` != 1861891
2023-10-13	13:04:27	2399	[DEBUG]	Query for ProductLang
2023-10-13	13:04:27	2399	[DEBUG]	Executed store
2023-10-13	13:04:27	2399	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Patins de frein S65T avec écrous de fixation paires blister  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-patins-de-frein-s65t-avec-ecrous-de-fixation-paires-blister-noir-all' WHERE `virtuemart_product_id` = '1861891'
2023-10-13	13:04:27	2399	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34202_shimano_patins_de_frein_s65t_avec_ecrous_de_fixation_paires_blister_.jpg
2023-10-13	13:04:27	2399	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:27	2399	[DEBUG]	Process image file
2023-10-13	13:04:27	2399	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:04:27	2399	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:27	2399	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34202_shimano_patins_de_frein_s65t_avec_ecrous_de_fixation_paires_blister_.jpg
2023-10-13	13:04:27	2399	[DEBUG]	Full name target: bcprisme/34202_shimano_patins_de_frein_s65t_avec_ecrous_de_fixation_paires_blister_.jpg
2023-10-13	13:04:28	2399	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:28	2399	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34202_shimano_patins_de_frein_s65t_avec_ecrous_de_fixation_paires_blister_.jpg'
2023-10-13	13:04:28	2399	[DEBUG]	Query for Media
2023-10-13	13:04:28	2399	[DEBUG]	Executed store
2023-10-13	13:04:28	2399	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34202_shimano_patins_de_frein_s65t_avec_ecrous_de_fixation_paires_blister_.jpg',`file_url_thumb`='bcprisme/34202_shimano_patins_de_frein_s65t_avec_ecrous_de_fixation_paires_blister_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '25110'
2023-10-13	13:04:28	2399	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:28	2399	[DEBUG]	Executed store
2023-10-13	13:04:28	2399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861891','25110','1')
2023-10-13	13:04:28	2399	[DEBUG]	Store product image relation
2023-10-13	13:04:28	2399	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:28	2399	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861891 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:28	2399	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:28	2399	[DEBUG]	Executed store
2023-10-13	13:04:28	2399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861891','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:28	2399	[DEBUG]	Checking manufacturer
2023-10-13	13:04:28	2399	[DEBUG]	Load a row
2023-10-13	13:04:28	2399	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:28	2399	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:04:28	2399	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:28	2399	[DEBUG]	Executed store
2023-10-13	13:04:28	2399	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:04:28	2399	[DEBUG]	Manufacturer exists
2023-10-13	13:04:28	2399	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:04:28	2399	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:28	2399	[DEBUG]	Executed store
2023-10-13	13:04:28	2399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861891','123')
2023-10-13	13:04:28	2399	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:28	2399	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:28	2399	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861891 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:28	2399	[DEBUG]	Store custom available field
2023-10-13	13:04:28	2399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861891,3,'',1)
2023-10-13	13:04:28	2399	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:28	2399	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:04:28	2399	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861891 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:28	2399	[DEBUG]	Store custom available field
2023-10-13	13:04:28	2399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861891,6,'All',3)
2023-10-13	13:04:28	2399	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:28	2399	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:28	2399	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861890
2023-10-13	13:04:28	2399	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:28	2399	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1861890\":[1861890,8,1,\"choisir la taille\"],\"1861891\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1861890
2023-10-13	13:04:28	2399	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:28	2399	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861891
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:28	2400	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field taille
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:28	2400	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:28	2400	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:28	2400	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:28	2400	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:28	2400	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:28	2400	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field published
2023-10-13	13:04:28	2400	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:28	2400	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field override
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:28	2400	[DEBUG]	Use field value for field slug
2023-10-13	13:04:28	2400	[DEBUG]	Process line 2400
2023-10-13	13:04:28	2400	[DEBUG]	Load a row
2023-10-13	13:04:28	2400	[DEBUG]	Processing item: A_8103_208
2023-10-13	13:04:28	2400	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:28	2400	[DEBUG]	Processing product tax
2023-10-13	13:04:28	2400	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:28	2400	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:28	2400	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:28	2400	[DEBUG]	Query for Product
2023-10-13	13:04:28	2400	[DEBUG]	Executed store
2023-10-13	13:04:28	2400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8103_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0')
2023-10-13	13:04:28	2400	[DEBUG]	Check product language entry
2023-10-13	13:04:28	2400	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861892
2023-10-13	13:04:28	2400	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:28	2400	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8103_208' AND `virtuemart_product_id` != 1861892
2023-10-13	13:04:28	2400	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:28	2400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861892, 'A_8103_208')
2023-10-13	13:04:28	2400	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:28	2400	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-gommes-de-frein-r55c-avec-vis-fixation-paires-blister-aucune' AND `virtuemart_product_id` != 1861892
2023-10-13	13:04:28	2400	[DEBUG]	Query for ProductLang
2023-10-13	13:04:28	2400	[DEBUG]	Executed store
2023-10-13	13:04:28	2400	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.34278',`product_name`='SHIMANO Gommes de frein R55C avec vis fixation paires blister / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-gommes-de-frein-r55c-avec-vis-fixation-paires-blister-aucune' WHERE `virtuemart_product_id` = '1861892'
2023-10-13	13:04:28	2400	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_34278_jpg.jpg has not been found.
2023-10-13	13:04:28	2400	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:28	2400	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861892 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:28	2400	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:28	2400	[DEBUG]	Executed store
2023-10-13	13:04:28	2400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861892','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:03:04','1593','2023-10-13 13:03:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:28	2400	[DEBUG]	Checking manufacturer
2023-10-13	13:04:28	2400	[DEBUG]	Load a row
2023-10-13	13:04:28	2400	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:28	2400	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:28	2400	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:28	2400	[DEBUG]	Executed store
2023-10-13	13:04:28	2400	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:28	2400	[DEBUG]	Manufacturer exists
2023-10-13	13:04:28	2400	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:04:28	2400	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:28	2400	[DEBUG]	Executed store
2023-10-13	13:04:28	2400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861892','26')
2023-10-13	13:04:28	2400	[DEBUG]	Find the custom field ID
2023-10-13	13:04:28	2400	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:28	2400	[DEBUG]	No custom field ID found
2023-10-13	13:04:28	2400	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:28	2400	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:04:28	2400	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861892 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:28	2400	[DEBUG]	Store custom available field
2023-10-13	13:04:28	2400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861892,3,'0',1)
2023-10-13	13:04:28	2400	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:28	2400	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:28	2400	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861892 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:28	2400	[DEBUG]	Store custom available field
2023-10-13	13:04:28	2400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861892,6,'choisir la taille',3)
2023-10-13	13:04:28	2400	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:28	2400	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:28	2400	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:28	2400	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:28	2400	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861892 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:28	2400	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:28	2400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861892,8,1)
2023-10-13	13:04:28	2400	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:28	2400	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861892\":[1861892,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861892
2023-10-13	13:04:28	2400	[DEBUG]	Checking category
2023-10-13	13:04:28	2400	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:28	2400	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861892
2023-10-13	13:04:28	2400	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:28	2400	[DEBUG]	Executed store
2023-10-13	13:04:28	2400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861892','7343')
2023-10-13	13:04:28	2400	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:28	2400	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861892 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:28	2400	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:28	2400	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861892
2023-10-13	13:04:48	2400	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:04:48	2400	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:04:48	2400	[DEBUG]	Load the fields to process
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: product_sku
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: taille
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: product_name
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: category_path
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: product_price
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: product_override_price
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: product_tax
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: file_url
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: product_desc
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: product_availability
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: product_weight
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: product_unit
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: related_products
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: product_special
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: published
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: metadesc
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: metakey
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: custom_title
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: custom_value
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: custom_param
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: override
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: public_price
2023-10-13	13:04:48	2400	[DEBUG]	Setup field: slug
2023-10-13	13:04:48	2400	[DEBUG]	Use the file for configuration
2023-10-13	13:04:48	2400	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:04:48	2400	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:04:48	2400	[DEBUG]	Load the custom fields
2023-10-13	13:04:48	2400	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:04:48	2400	[DEBUG]	Load stockable custom fields
2023-10-13	13:04:48	2400	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:04:48	2400	[DEBUG]	Load custom fields for all
2023-10-13	13:04:48	2400	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:04:48	2401	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:48	2401	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:48	2401	[DEBUG]	Use field value for field taille
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:48	2401	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:48	2401	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:48	2401	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:48	2401	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:48	2401	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:48	2401	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:48	2401	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:48	2401	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:48	2401	[DEBUG]	Use field value for field published
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:48	2401	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field override
2023-10-13	13:04:48	2401	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:48	2401	[DEBUG]	Use field value for field slug
2023-10-13	13:04:48	2401	[DEBUG]	Process line 2401
2023-10-13	13:04:48	2401	[DEBUG]	Check if the vendor exists
2023-10-13	13:04:48	2401	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '4524667073796'
2023-10-13	13:04:48	2401	[DEBUG]	Load a row
2023-10-13	13:04:48	2401	[DEBUG]	Processing item: 4524667073796
2023-10-13	13:04:48	2401	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:48	2401	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:48	2401	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8103_208'
2023-10-13	13:04:48	2401	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:48	2401	[DEBUG]	Processing product tax
2023-10-13	13:04:48	2401	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:48	2401	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:48	2401	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:48	2401	[DEBUG]	Query for Product
2023-10-13	13:04:48	2401	[DEBUG]	Executed store
2023-10-13	13:04:48	2401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861892','4524667073796','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:04:48	2401	[DEBUG]	No parent found
2023-10-13	13:04:48	2401	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861892 AND customfield_value = 'stockable'
2023-10-13	13:04:48	2401	[DEBUG]	Check product language entry
2023-10-13	13:04:48	2401	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861893
2023-10-13	13:04:48	2401	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:48	2401	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667073796' AND `virtuemart_product_id` != 1861893
2023-10-13	13:04:48	2401	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:48	2401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861893, '4524667073796')
2023-10-13	13:04:48	2401	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:48	2401	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-gommes-de-frein-r55c-avec-vis-fixation-paires-blister-aucune-unitaire' AND `virtuemart_product_id` != 1861893
2023-10-13	13:04:48	2401	[DEBUG]	Query for ProductLang
2023-10-13	13:04:48	2401	[DEBUG]	Executed store
2023-10-13	13:04:48	2401	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Gommes de frein R55C avec vis fixation paires blister / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-gommes-de-frein-r55c-avec-vis-fixation-paires-blister-aucune-unitaire' WHERE `virtuemart_product_id` = '1861893'
2023-10-13	13:04:48	2401	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_34278_jpg.jpg has not been found.
2023-10-13	13:04:48	2401	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:48	2401	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861893 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:48	2401	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:48	2401	[DEBUG]	Executed store
2023-10-13	13:04:48	2401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861893','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:48	2401	[DEBUG]	Checking manufacturer
2023-10-13	13:04:48	2401	[DEBUG]	Load a row
2023-10-13	13:04:48	2401	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:48	2401	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:48	2401	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:48	2401	[DEBUG]	Executed store
2023-10-13	13:04:48	2401	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:48	2401	[DEBUG]	Manufacturer exists
2023-10-13	13:04:48	2401	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:04:48	2401	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:48	2401	[DEBUG]	Executed store
2023-10-13	13:04:48	2401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861893','26')
2023-10-13	13:04:48	2401	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:48	2401	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:48	2401	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861893 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:48	2401	[DEBUG]	Store custom available field
2023-10-13	13:04:48	2401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861893,3,'',1)
2023-10-13	13:04:48	2401	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:48	2401	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:48	2401	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861893 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:48	2401	[DEBUG]	Store custom available field
2023-10-13	13:04:48	2401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861893,6,'Unitaire',3)
2023-10-13	13:04:48	2401	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:48	2401	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:48	2401	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861892
2023-10-13	13:04:48	2401	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:48	2401	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861892\":[1861892,8,1,\"choisir la taille\"],\"1861893\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861892
2023-10-13	13:04:48	2401	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:48	2401	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861893
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:48	2402	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field taille
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:48	2402	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:48	2402	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:48	2402	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:48	2402	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:48	2402	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:48	2402	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field published
2023-10-13	13:04:48	2402	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:48	2402	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field override
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:48	2402	[DEBUG]	Use field value for field slug
2023-10-13	13:04:48	2402	[DEBUG]	Process line 2402
2023-10-13	13:04:48	2402	[DEBUG]	Load a row
2023-10-13	13:04:48	2402	[DEBUG]	Processing item: A_8104_208
2023-10-13	13:04:48	2402	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:48	2402	[DEBUG]	Processing product tax
2023-10-13	13:04:48	2402	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:48	2402	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:48	2402	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:48	2402	[DEBUG]	Query for Product
2023-10-13	13:04:48	2402	[DEBUG]	Executed store
2023-10-13	13:04:48	2402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8104_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:04:48	2402	[DEBUG]	Check product language entry
2023-10-13	13:04:48	2402	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861894
2023-10-13	13:04:48	2402	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:48	2402	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8104_208' AND `virtuemart_product_id` != 1861894
2023-10-13	13:04:48	2402	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:48	2402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861894, 'A_8104_208')
2023-10-13	13:04:48	2402	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:48	2402	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-gommes-de-frein-r55c3-pour-jante-carbone-avec-vis-fixation-paires-bliste-aucune' AND `virtuemart_product_id` != 1861894
2023-10-13	13:04:48	2402	[DEBUG]	Query for ProductLang
2023-10-13	13:04:48	2402	[DEBUG]	Executed store
2023-10-13	13:04:48	2402	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.53024',`product_name`='SHIMANO Gommes de frein R55C3 pour jante carbone avec vis fixation paires bliste / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-gommes-de-frein-r55c3-pour-jante-carbone-avec-vis-fixation-paires-bliste-aucune' WHERE `virtuemart_product_id` = '1861894'
2023-10-13	13:04:48	2402	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53024_jpg.jpg
2023-10-13	13:04:48	2402	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:48	2402	[DEBUG]	Process image file
2023-10-13	13:04:48	2402	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:48	2402	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:48	2402	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53024_jpg.jpg
2023-10-13	13:04:48	2402	[DEBUG]	Full name target: bcprisme/73_53024_jpg.jpg
2023-10-13	13:04:49	2402	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:49	2402	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_53024_jpg.jpg'
2023-10-13	13:04:49	2402	[DEBUG]	Query for Media
2023-10-13	13:04:49	2402	[DEBUG]	Executed store
2023-10-13	13:04:49	2402	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_53024_jpg.jpg',`file_url_thumb`='bcprisme/73_53024_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1021625'
2023-10-13	13:04:49	2402	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:49	2402	[DEBUG]	Executed store
2023-10-13	13:04:49	2402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861894','1021625','1')
2023-10-13	13:04:49	2402	[DEBUG]	Store product image relation
2023-10-13	13:04:49	2402	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:49	2402	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861894 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:49	2402	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:49	2402	[DEBUG]	Executed store
2023-10-13	13:04:49	2402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861894','0','25.9052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:49	2402	[DEBUG]	Checking manufacturer
2023-10-13	13:04:49	2402	[DEBUG]	Load a row
2023-10-13	13:04:49	2402	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:49	2402	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:49	2402	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:49	2402	[DEBUG]	Executed store
2023-10-13	13:04:49	2402	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:49	2402	[DEBUG]	Manufacturer exists
2023-10-13	13:04:49	2402	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:04:49	2402	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:49	2402	[DEBUG]	Executed store
2023-10-13	13:04:49	2402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861894','26')
2023-10-13	13:04:49	2402	[DEBUG]	Find the custom field ID
2023-10-13	13:04:49	2402	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:49	2402	[DEBUG]	No custom field ID found
2023-10-13	13:04:49	2402	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:49	2402	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:04:49	2402	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861894 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:49	2402	[DEBUG]	Store custom available field
2023-10-13	13:04:49	2402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861894,3,'0',1)
2023-10-13	13:04:49	2402	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:49	2402	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:49	2402	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861894 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:49	2402	[DEBUG]	Store custom available field
2023-10-13	13:04:49	2402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861894,6,'choisir la taille',3)
2023-10-13	13:04:49	2402	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:49	2402	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:49	2402	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:49	2402	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:49	2402	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861894 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:49	2402	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:49	2402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861894,8,1)
2023-10-13	13:04:49	2402	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:49	2402	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861894\":[1861894,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861894
2023-10-13	13:04:49	2402	[DEBUG]	Checking category
2023-10-13	13:04:49	2402	[DEBUG]	Check if category path exists: FREINS / PATINS DE FREINS - BREMSE / BREMSGUMMI
2023-10-13	13:04:49	2402	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / PATINS DE FREINS - BREMSE / BREMSGUMMI' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:04:49	2402	[DEBUG]	Check if category path exists: PATINS DE FREINS - BREMSGUMMI
2023-10-13	13:04:49	2402	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PATINS DE FREINS - BREMSGUMMI' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7342
2023-10-13	13:04:49	2402	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:49	2402	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861894
2023-10-13	13:04:49	2402	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:49	2402	[DEBUG]	Executed store
2023-10-13	13:04:49	2402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861894','7343')
2023-10-13	13:04:49	2402	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:49	2402	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861894 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:49	2402	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:49	2402	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861894
2023-10-13	13:04:49	2403	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:49	2403	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:49	2403	[DEBUG]	Use field value for field taille
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:49	2403	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:49	2403	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:49	2403	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:49	2403	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:49	2403	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:49	2403	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:49	2403	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:49	2403	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:49	2403	[DEBUG]	Use field value for field published
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:49	2403	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field override
2023-10-13	13:04:49	2403	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:49	2403	[DEBUG]	Use field value for field slug
2023-10-13	13:04:49	2403	[DEBUG]	Process line 2403
2023-10-13	13:04:49	2403	[DEBUG]	Load a row
2023-10-13	13:04:49	2403	[DEBUG]	Processing item: 4524667722212
2023-10-13	13:04:49	2403	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:49	2403	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:49	2403	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8104_208'
2023-10-13	13:04:49	2403	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:49	2403	[DEBUG]	Processing product tax
2023-10-13	13:04:49	2403	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:49	2403	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:49	2403	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:49	2403	[DEBUG]	Query for Product
2023-10-13	13:04:49	2403	[DEBUG]	Executed store
2023-10-13	13:04:49	2403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861894','4524667722212','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:04:49	2403	[DEBUG]	No parent found
2023-10-13	13:04:49	2403	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861894 AND customfield_value = 'stockable'
2023-10-13	13:04:49	2403	[DEBUG]	Check product language entry
2023-10-13	13:04:49	2403	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861895
2023-10-13	13:04:49	2403	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:49	2403	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667722212' AND `virtuemart_product_id` != 1861895
2023-10-13	13:04:49	2403	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:49	2403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861895, '4524667722212')
2023-10-13	13:04:49	2403	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:49	2403	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-gommes-de-frein-r55c3-pour-jante-carbone-avec-vis-fixation-paires-bliste-aucune-unitaire' AND `virtuemart_product_id` != 1861895
2023-10-13	13:04:49	2403	[DEBUG]	Query for ProductLang
2023-10-13	13:04:49	2403	[DEBUG]	Executed store
2023-10-13	13:04:49	2403	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Gommes de frein R55C3 pour jante carbone avec vis fixation paires bliste / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-gommes-de-frein-r55c3-pour-jante-carbone-avec-vis-fixation-paires-bliste-aucune-unitaire' WHERE `virtuemart_product_id` = '1861895'
2023-10-13	13:04:49	2403	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53024_jpg.jpg
2023-10-13	13:04:49	2403	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:49	2403	[DEBUG]	Process image file
2023-10-13	13:04:49	2403	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:49	2403	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:49	2403	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53024_jpg.jpg
2023-10-13	13:04:49	2403	[DEBUG]	Full name target: bcprisme/73_53024_jpg.jpg
2023-10-13	13:04:50	2403	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:50	2403	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_53024_jpg.jpg'
2023-10-13	13:04:50	2403	[DEBUG]	Query for Media
2023-10-13	13:04:50	2403	[DEBUG]	Executed store
2023-10-13	13:04:50	2403	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_53024_jpg.jpg',`file_url_thumb`='bcprisme/73_53024_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1021625'
2023-10-13	13:04:50	2403	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:50	2403	[DEBUG]	Executed store
2023-10-13	13:04:50	2403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861895','1021625','1')
2023-10-13	13:04:50	2403	[DEBUG]	Store product image relation
2023-10-13	13:04:50	2403	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:50	2403	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861895 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:50	2403	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:50	2403	[DEBUG]	Executed store
2023-10-13	13:04:50	2403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861895','0','25.9052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:50	2403	[DEBUG]	Checking manufacturer
2023-10-13	13:04:50	2403	[DEBUG]	Load a row
2023-10-13	13:04:50	2403	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:50	2403	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:50	2403	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:50	2403	[DEBUG]	Executed store
2023-10-13	13:04:50	2403	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:50	2403	[DEBUG]	Manufacturer exists
2023-10-13	13:04:50	2403	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:04:50	2403	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:50	2403	[DEBUG]	Executed store
2023-10-13	13:04:50	2403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861895','26')
2023-10-13	13:04:50	2403	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:50	2403	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:50	2403	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861895 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:50	2403	[DEBUG]	Store custom available field
2023-10-13	13:04:50	2403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861895,3,'',1)
2023-10-13	13:04:50	2403	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:50	2403	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:50	2403	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861895 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:50	2403	[DEBUG]	Store custom available field
2023-10-13	13:04:50	2403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861895,6,'Unitaire',3)
2023-10-13	13:04:50	2403	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:50	2403	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:50	2403	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861894
2023-10-13	13:04:50	2403	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:50	2403	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861894\":[1861894,8,1,\"choisir la taille\"],\"1861895\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861894
2023-10-13	13:04:50	2403	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:50	2403	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861895
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:50	2404	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field taille
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:50	2404	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:50	2404	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:50	2404	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:50	2404	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:50	2404	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:50	2404	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field published
2023-10-13	13:04:50	2404	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:50	2404	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field override
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:50	2404	[DEBUG]	Use field value for field slug
2023-10-13	13:04:50	2404	[DEBUG]	Process line 2404
2023-10-13	13:04:50	2404	[DEBUG]	Load a row
2023-10-13	13:04:50	2404	[DEBUG]	Processing item: A_8652_1
2023-10-13	13:04:50	2404	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:50	2404	[DEBUG]	Processing product tax
2023-10-13	13:04:50	2404	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:50	2404	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:50	2404	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:50	2404	[DEBUG]	Query for Product
2023-10-13	13:04:50	2404	[DEBUG]	Executed store
2023-10-13	13:04:50	2404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8652_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:04:50	2404	[DEBUG]	Check product language entry
2023-10-13	13:04:50	2404	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861896
2023-10-13	13:04:50	2404	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:50	2404	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8652_1' AND `virtuemart_product_id` != 1861896
2023-10-13	13:04:50	2404	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:50	2404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861896, 'A_8652_1')
2023-10-13	13:04:50	2404	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:50	2404	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-gommes-de-frein-r55c4-avec-vis-fixation-paires-blister-noir' AND `virtuemart_product_id` != 1861896
2023-10-13	13:04:50	2404	[DEBUG]	Query for ProductLang
2023-10-13	13:04:50	2404	[DEBUG]	Executed store
2023-10-13	13:04:50	2404	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.56901',`product_name`='SHIMANO Gommes de frein R55C4 avec vis fixation paires blister / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-gommes-de-frein-r55c4-avec-vis-fixation-paires-blister-noir' WHERE `virtuemart_product_id` = '1861896'
2023-10-13	13:04:50	2404	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53024_jpg.jpg
2023-10-13	13:04:50	2404	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:50	2404	[DEBUG]	Process image file
2023-10-13	13:04:50	2404	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:50	2404	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:50	2404	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53024_jpg.jpg
2023-10-13	13:04:50	2404	[DEBUG]	Full name target: bcprisme/73_53024_jpg.jpg
2023-10-13	13:04:51	2404	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:51	2404	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_53024_jpg.jpg'
2023-10-13	13:04:51	2404	[DEBUG]	Query for Media
2023-10-13	13:04:51	2404	[DEBUG]	Executed store
2023-10-13	13:04:51	2404	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_53024_jpg.jpg',`file_url_thumb`='bcprisme/73_53024_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1021625'
2023-10-13	13:04:51	2404	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:51	2404	[DEBUG]	Executed store
2023-10-13	13:04:51	2404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861896','1021625','1')
2023-10-13	13:04:51	2404	[DEBUG]	Store product image relation
2023-10-13	13:04:51	2404	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:51	2404	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861896 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:51	2404	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:51	2404	[DEBUG]	Executed store
2023-10-13	13:04:51	2404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861896','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:51	2404	[DEBUG]	Checking manufacturer
2023-10-13	13:04:51	2404	[DEBUG]	Load a row
2023-10-13	13:04:51	2404	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:51	2404	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:51	2404	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:51	2404	[DEBUG]	Executed store
2023-10-13	13:04:51	2404	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:51	2404	[DEBUG]	Manufacturer exists
2023-10-13	13:04:51	2404	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:04:51	2404	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:51	2404	[DEBUG]	Executed store
2023-10-13	13:04:51	2404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861896','26')
2023-10-13	13:04:51	2404	[DEBUG]	Find the custom field ID
2023-10-13	13:04:51	2404	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:51	2404	[DEBUG]	No custom field ID found
2023-10-13	13:04:51	2404	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:51	2404	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:04:51	2404	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861896 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:51	2404	[DEBUG]	Store custom available field
2023-10-13	13:04:51	2404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861896,3,'0',1)
2023-10-13	13:04:51	2404	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:51	2404	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:51	2404	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861896 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:51	2404	[DEBUG]	Store custom available field
2023-10-13	13:04:51	2404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861896,6,'choisir la taille',3)
2023-10-13	13:04:51	2404	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:51	2404	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:51	2404	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:51	2404	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:51	2404	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861896 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:51	2404	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:51	2404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861896,8,1)
2023-10-13	13:04:51	2404	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:51	2404	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861896\":[1861896,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861896
2023-10-13	13:04:51	2404	[DEBUG]	Checking category
2023-10-13	13:04:51	2404	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:51	2404	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861896
2023-10-13	13:04:51	2404	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:51	2404	[DEBUG]	Executed store
2023-10-13	13:04:51	2404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861896','7343')
2023-10-13	13:04:51	2404	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:51	2404	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861896 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:51	2404	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:51	2404	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861896
2023-10-13	13:04:51	2405	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:51	2405	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:51	2405	[DEBUG]	Use field value for field taille
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:51	2405	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:51	2405	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:51	2405	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:51	2405	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:51	2405	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:51	2405	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:51	2405	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:51	2405	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:51	2405	[DEBUG]	Use field value for field published
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:51	2405	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field override
2023-10-13	13:04:51	2405	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:51	2405	[DEBUG]	Use field value for field slug
2023-10-13	13:04:51	2405	[DEBUG]	Process line 2405
2023-10-13	13:04:51	2405	[DEBUG]	Load a row
2023-10-13	13:04:51	2405	[DEBUG]	Processing item: 4524667994565
2023-10-13	13:04:51	2405	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:51	2405	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:51	2405	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8652_1'
2023-10-13	13:04:51	2405	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:51	2405	[DEBUG]	Processing product tax
2023-10-13	13:04:51	2405	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:51	2405	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:51	2405	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:51	2405	[DEBUG]	Query for Product
2023-10-13	13:04:51	2405	[DEBUG]	Executed store
2023-10-13	13:04:51	2405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861896','4524667994565','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:04:51	2405	[DEBUG]	No parent found
2023-10-13	13:04:51	2405	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861896 AND customfield_value = 'stockable'
2023-10-13	13:04:51	2405	[DEBUG]	Check product language entry
2023-10-13	13:04:51	2405	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861897
2023-10-13	13:04:51	2405	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:51	2405	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667994565' AND `virtuemart_product_id` != 1861897
2023-10-13	13:04:51	2405	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:51	2405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861897, '4524667994565')
2023-10-13	13:04:51	2405	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:51	2405	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-gommes-de-frein-r55c4-avec-vis-fixation-paires-blister-noir-unitaire' AND `virtuemart_product_id` != 1861897
2023-10-13	13:04:51	2405	[DEBUG]	Query for ProductLang
2023-10-13	13:04:51	2405	[DEBUG]	Executed store
2023-10-13	13:04:51	2405	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Gommes de frein R55C4 avec vis fixation paires blister / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-gommes-de-frein-r55c4-avec-vis-fixation-paires-blister-noir-unitaire' WHERE `virtuemart_product_id` = '1861897'
2023-10-13	13:04:51	2405	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53024_jpg.jpg
2023-10-13	13:04:51	2405	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:51	2405	[DEBUG]	Process image file
2023-10-13	13:04:51	2405	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:51	2405	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:51	2405	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_53024_jpg.jpg
2023-10-13	13:04:51	2405	[DEBUG]	Full name target: bcprisme/73_53024_jpg.jpg
2023-10-13	13:04:52	2405	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:52	2405	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_53024_jpg.jpg'
2023-10-13	13:04:52	2405	[DEBUG]	Query for Media
2023-10-13	13:04:52	2405	[DEBUG]	Executed store
2023-10-13	13:04:52	2405	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_53024_jpg.jpg',`file_url_thumb`='bcprisme/73_53024_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1021625'
2023-10-13	13:04:52	2405	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:52	2405	[DEBUG]	Executed store
2023-10-13	13:04:52	2405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861897','1021625','1')
2023-10-13	13:04:52	2405	[DEBUG]	Store product image relation
2023-10-13	13:04:52	2405	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:52	2405	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861897 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:52	2405	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:52	2405	[DEBUG]	Executed store
2023-10-13	13:04:52	2405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861897','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:52	2405	[DEBUG]	Checking manufacturer
2023-10-13	13:04:52	2405	[DEBUG]	Load a row
2023-10-13	13:04:52	2405	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:52	2405	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:52	2405	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:52	2405	[DEBUG]	Executed store
2023-10-13	13:04:52	2405	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:52	2405	[DEBUG]	Manufacturer exists
2023-10-13	13:04:52	2405	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:04:52	2405	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:52	2405	[DEBUG]	Executed store
2023-10-13	13:04:52	2405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861897','26')
2023-10-13	13:04:52	2405	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:52	2405	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:52	2405	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861897 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:52	2405	[DEBUG]	Store custom available field
2023-10-13	13:04:52	2405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861897,3,'',1)
2023-10-13	13:04:52	2405	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:52	2405	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:52	2405	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861897 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:52	2405	[DEBUG]	Store custom available field
2023-10-13	13:04:52	2405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861897,6,'Unitaire',3)
2023-10-13	13:04:52	2405	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:52	2405	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:52	2405	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861896
2023-10-13	13:04:52	2405	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:52	2405	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861896\":[1861896,8,1,\"choisir la taille\"],\"1861897\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861896
2023-10-13	13:04:52	2405	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:52	2405	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861897
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:52	2406	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field taille
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:52	2406	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:52	2406	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:52	2406	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:52	2406	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:52	2406	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:52	2406	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:52	2406	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field published
2023-10-13	13:04:52	2406	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:52	2406	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field override
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:52	2406	[DEBUG]	Use field value for field slug
2023-10-13	13:04:52	2406	[DEBUG]	Process line 2406
2023-10-13	13:04:52	2406	[DEBUG]	Load a row
2023-10-13	13:04:52	2406	[DEBUG]	Processing item: A_8815_208
2023-10-13	13:04:52	2406	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:52	2406	[DEBUG]	Processing product tax
2023-10-13	13:04:52	2406	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:52	2406	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:52	2406	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:52	2406	[DEBUG]	Query for Product
2023-10-13	13:04:52	2406	[DEBUG]	Executed store
2023-10-13	13:04:52	2406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8815_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:04:53	2406	[DEBUG]	Check product language entry
2023-10-13	13:04:53	2406	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861898
2023-10-13	13:04:53	2406	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:53	2406	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8815_208' AND `virtuemart_product_id` != 1861898
2023-10-13	13:04:53	2406	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:53	2406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861898, 'A_8815_208')
2023-10-13	13:04:53	2406	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:53	2406	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-patins-de-frein-m70t3-1-paire-aucune' AND `virtuemart_product_id` != 1861898
2023-10-13	13:04:53	2406	[DEBUG]	Query for ProductLang
2023-10-13	13:04:53	2406	[DEBUG]	Executed store
2023-10-13	13:04:53	2406	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.51697',`product_name`='SHIMANO Patins de frein M70T3 1 paire  / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-patins-de-frein-m70t3-1-paire-aucune' WHERE `virtuemart_product_id` = '1861898'
2023-10-13	13:04:53	2406	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_51697_jpg.jpg
2023-10-13	13:04:53	2406	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:53	2406	[DEBUG]	Process image file
2023-10-13	13:04:53	2406	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:53	2406	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:53	2406	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_51697_jpg.jpg
2023-10-13	13:04:53	2406	[DEBUG]	Full name target: bcprisme/73_51697_jpg.jpg
2023-10-13	13:04:53	2406	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:53	2406	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_51697_jpg.jpg'
2023-10-13	13:04:53	2406	[DEBUG]	Query for Media
2023-10-13	13:04:53	2406	[DEBUG]	Executed store
2023-10-13	13:04:53	2406	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_51697_jpg.jpg',`file_url_thumb`='bcprisme/73_51697_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1090793'
2023-10-13	13:04:53	2406	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:53	2406	[DEBUG]	Executed store
2023-10-13	13:04:53	2406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861898','1090793','1')
2023-10-13	13:04:53	2406	[DEBUG]	Store product image relation
2023-10-13	13:04:53	2406	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:53	2406	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861898 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:53	2406	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:53	2406	[DEBUG]	Executed store
2023-10-13	13:04:53	2406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861898','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:53	2406	[DEBUG]	Checking manufacturer
2023-10-13	13:04:53	2406	[DEBUG]	Load a row
2023-10-13	13:04:53	2406	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:53	2406	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:53	2406	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:53	2406	[DEBUG]	Executed store
2023-10-13	13:04:53	2406	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:54	2406	[DEBUG]	Manufacturer exists
2023-10-13	13:04:54	2406	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:04:54	2406	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:54	2406	[DEBUG]	Executed store
2023-10-13	13:04:54	2406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861898','26')
2023-10-13	13:04:54	2406	[DEBUG]	Find the custom field ID
2023-10-13	13:04:54	2406	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:54	2406	[DEBUG]	No custom field ID found
2023-10-13	13:04:54	2406	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:54	2406	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:04:54	2406	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861898 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:54	2406	[DEBUG]	Store custom available field
2023-10-13	13:04:54	2406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861898,3,'0',1)
2023-10-13	13:04:54	2406	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:54	2406	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:54	2406	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861898 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:54	2406	[DEBUG]	Store custom available field
2023-10-13	13:04:54	2406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861898,6,'choisir la taille',3)
2023-10-13	13:04:54	2406	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:54	2406	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:54	2406	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:54	2406	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:54	2406	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861898 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:54	2406	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:54	2406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861898,8,1)
2023-10-13	13:04:54	2406	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:54	2406	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861898\":[1861898,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861898
2023-10-13	13:04:54	2406	[DEBUG]	Checking category
2023-10-13	13:04:54	2406	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:54	2406	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861898
2023-10-13	13:04:54	2406	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:54	2406	[DEBUG]	Executed store
2023-10-13	13:04:54	2406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861898','7343')
2023-10-13	13:04:54	2406	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:54	2406	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861898 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:54	2406	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:54	2406	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861898
2023-10-13	13:04:54	2407	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:54	2407	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:54	2407	[DEBUG]	Use field value for field taille
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:54	2407	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:54	2407	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:54	2407	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:54	2407	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:54	2407	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:54	2407	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:54	2407	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:54	2407	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:54	2407	[DEBUG]	Use field value for field published
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:54	2407	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field override
2023-10-13	13:04:54	2407	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:54	2407	[DEBUG]	Use field value for field slug
2023-10-13	13:04:54	2407	[DEBUG]	Process line 2407
2023-10-13	13:04:54	2407	[DEBUG]	Load a row
2023-10-13	13:04:54	2407	[DEBUG]	Processing item: 4524667215523
2023-10-13	13:04:54	2407	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:54	2407	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:54	2407	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8815_208'
2023-10-13	13:04:54	2407	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:54	2407	[DEBUG]	Processing product tax
2023-10-13	13:04:54	2407	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:54	2407	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:54	2407	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:54	2407	[DEBUG]	Query for Product
2023-10-13	13:04:54	2407	[DEBUG]	Executed store
2023-10-13	13:04:54	2407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861898','4524667215523','0','KG','M','','28','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:04:54	2407	[DEBUG]	No parent found
2023-10-13	13:04:54	2407	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861898 AND customfield_value = 'stockable'
2023-10-13	13:04:54	2407	[DEBUG]	Check product language entry
2023-10-13	13:04:54	2407	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861899
2023-10-13	13:04:54	2407	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:54	2407	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667215523' AND `virtuemart_product_id` != 1861899
2023-10-13	13:04:54	2407	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:54	2407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861899, '4524667215523')
2023-10-13	13:04:54	2407	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:54	2407	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-patins-de-frein-m70t3-1-paire-aucune-unitaire' AND `virtuemart_product_id` != 1861899
2023-10-13	13:04:54	2407	[DEBUG]	Query for ProductLang
2023-10-13	13:04:54	2407	[DEBUG]	Executed store
2023-10-13	13:04:54	2407	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Patins de frein M70T3 1 paire  / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-patins-de-frein-m70t3-1-paire-aucune-unitaire' WHERE `virtuemart_product_id` = '1861899'
2023-10-13	13:04:54	2407	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_51697_jpg.jpg
2023-10-13	13:04:54	2407	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:54	2407	[DEBUG]	Process image file
2023-10-13	13:04:54	2407	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:54	2407	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:54	2407	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_51697_jpg.jpg
2023-10-13	13:04:54	2407	[DEBUG]	Full name target: bcprisme/73_51697_jpg.jpg
2023-10-13	13:04:55	2407	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:55	2407	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_51697_jpg.jpg'
2023-10-13	13:04:55	2407	[DEBUG]	Query for Media
2023-10-13	13:04:55	2407	[DEBUG]	Executed store
2023-10-13	13:04:55	2407	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_51697_jpg.jpg',`file_url_thumb`='bcprisme/73_51697_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1090793'
2023-10-13	13:04:55	2407	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:55	2407	[DEBUG]	Executed store
2023-10-13	13:04:55	2407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861899','1090793','1')
2023-10-13	13:04:55	2407	[DEBUG]	Store product image relation
2023-10-13	13:04:55	2407	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:55	2407	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861899 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:55	2407	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:55	2407	[DEBUG]	Executed store
2023-10-13	13:04:55	2407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861899','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:55	2407	[DEBUG]	Checking manufacturer
2023-10-13	13:04:55	2407	[DEBUG]	Load a row
2023-10-13	13:04:55	2407	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:55	2407	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:55	2407	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:55	2407	[DEBUG]	Executed store
2023-10-13	13:04:55	2407	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:55	2407	[DEBUG]	Manufacturer exists
2023-10-13	13:04:55	2407	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:04:55	2407	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:55	2407	[DEBUG]	Executed store
2023-10-13	13:04:55	2407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861899','26')
2023-10-13	13:04:55	2407	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:55	2407	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:55	2407	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861899 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:55	2407	[DEBUG]	Store custom available field
2023-10-13	13:04:55	2407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861899,3,'',1)
2023-10-13	13:04:55	2407	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:55	2407	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:55	2407	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861899 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:55	2407	[DEBUG]	Store custom available field
2023-10-13	13:04:55	2407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861899,6,'Unitaire',3)
2023-10-13	13:04:55	2407	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:55	2407	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:55	2407	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861898
2023-10-13	13:04:55	2407	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:55	2407	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861898\":[1861898,8,1,\"choisir la taille\"],\"1861899\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861898
2023-10-13	13:04:55	2407	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:55	2407	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861899
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:55	2408	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field taille
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:55	2408	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:55	2408	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:55	2408	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:55	2408	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:55	2408	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:55	2408	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field published
2023-10-13	13:04:55	2408	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:55	2408	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field override
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:55	2408	[DEBUG]	Use field value for field slug
2023-10-13	13:04:55	2408	[DEBUG]	Process line 2408
2023-10-13	13:04:55	2408	[DEBUG]	Load a row
2023-10-13	13:04:55	2408	[DEBUG]	Processing item: A_8858_208
2023-10-13	13:04:55	2408	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:55	2408	[DEBUG]	Processing product tax
2023-10-13	13:04:55	2408	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:55	2408	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:55	2408	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:55	2408	[DEBUG]	Query for Product
2023-10-13	13:04:55	2408	[DEBUG]	Executed store
2023-10-13	13:04:55	2408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8858_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:04:55	2408	[DEBUG]	Check product language entry
2023-10-13	13:04:55	2408	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861900
2023-10-13	13:04:55	2408	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:55	2408	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8858_208' AND `virtuemart_product_id` != 1861900
2023-10-13	13:04:55	2408	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:55	2408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861900, 'A_8858_208')
2023-10-13	13:04:55	2408	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:55	2408	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fuchs-movesa-patins-de-frein-1748-2-standart-a-visser-aucune' AND `virtuemart_product_id` != 1861900
2023-10-13	13:04:55	2408	[DEBUG]	Query for ProductLang
2023-10-13	13:04:55	2408	[DEBUG]	Executed store
2023-10-13	13:04:55	2408	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 26.19225',`product_name`='Fuchs-Movesa Patins de frein 1748-2 Standart à visser / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fuchs-movesa-patins-de-frein-1748-2-standart-a-visser-aucune' WHERE `virtuemart_product_id` = '1861900'
2023-10-13	13:04:55	2408	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26_19225_jpg.jpg
2023-10-13	13:04:55	2408	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:55	2408	[DEBUG]	Process image file
2023-10-13	13:04:55	2408	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:55	2408	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:55	2408	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26_19225_jpg.jpg
2023-10-13	13:04:55	2408	[DEBUG]	Full name target: bcprisme/26_19225_jpg.jpg
2023-10-13	13:04:56	2408	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:56	2408	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26_19225_jpg.jpg'
2023-10-13	13:04:56	2408	[DEBUG]	Query for Media
2023-10-13	13:04:56	2408	[DEBUG]	Executed store
2023-10-13	13:04:56	2408	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26_19225_jpg.jpg',`file_url_thumb`='bcprisme/26_19225_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1132616'
2023-10-13	13:04:56	2408	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:56	2408	[DEBUG]	Executed store
2023-10-13	13:04:56	2408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861900','1132616','1')
2023-10-13	13:04:56	2408	[DEBUG]	Store product image relation
2023-10-13	13:04:56	2408	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:56	2408	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861900 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:56	2408	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:56	2408	[DEBUG]	Executed store
2023-10-13	13:04:56	2408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861900','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:56	2408	[DEBUG]	Checking manufacturer
2023-10-13	13:04:56	2408	[DEBUG]	Load a row
2023-10-13	13:04:56	2408	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:56	2408	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '248'
2023-10-13	13:04:56	2408	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:56	2408	[DEBUG]	Executed store
2023-10-13	13:04:56	2408	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='8',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='8' WHERE `virtuemart_manufacturer_id` = '248'
2023-10-13	13:04:56	2408	[DEBUG]	Manufacturer exists
2023-10-13	13:04:56	2408	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 248
2023-10-13	13:04:56	2408	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:56	2408	[DEBUG]	Executed store
2023-10-13	13:04:56	2408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861900','248')
2023-10-13	13:04:56	2408	[DEBUG]	Find the custom field ID
2023-10-13	13:04:56	2408	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:56	2408	[DEBUG]	No custom field ID found
2023-10-13	13:04:56	2408	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:56	2408	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:04:56	2408	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861900 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:56	2408	[DEBUG]	Store custom available field
2023-10-13	13:04:56	2408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861900,3,'0',1)
2023-10-13	13:04:56	2408	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:56	2408	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:56	2408	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861900 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:56	2408	[DEBUG]	Store custom available field
2023-10-13	13:04:56	2408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861900,6,'choisir la taille',3)
2023-10-13	13:04:56	2408	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:56	2408	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:56	2408	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:56	2408	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:56	2408	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861900 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:56	2408	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:56	2408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861900,8,1)
2023-10-13	13:04:56	2408	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:56	2408	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861900\":[1861900,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861900
2023-10-13	13:04:56	2408	[DEBUG]	Checking category
2023-10-13	13:04:56	2408	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:56	2408	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861900
2023-10-13	13:04:56	2408	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:56	2408	[DEBUG]	Executed store
2023-10-13	13:04:56	2408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861900','7343')
2023-10-13	13:04:56	2408	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:56	2408	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861900 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:56	2408	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:56	2408	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861900
2023-10-13	13:04:56	2409	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:56	2409	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:56	2409	[DEBUG]	Use field value for field taille
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:56	2409	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:56	2409	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:56	2409	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:56	2409	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:56	2409	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:56	2409	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:56	2409	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:56	2409	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:56	2409	[DEBUG]	Use field value for field published
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:56	2409	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field override
2023-10-13	13:04:56	2409	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:56	2409	[DEBUG]	Use field value for field slug
2023-10-13	13:04:56	2409	[DEBUG]	Process line 2409
2023-10-13	13:04:56	2409	[DEBUG]	Load a row
2023-10-13	13:04:56	2409	[DEBUG]	Processing item: 7630017821508
2023-10-13	13:04:56	2409	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:56	2409	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:56	2409	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8858_208'
2023-10-13	13:04:56	2409	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:56	2409	[DEBUG]	Processing product tax
2023-10-13	13:04:56	2409	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:56	2409	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:56	2409	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:56	2409	[DEBUG]	Query for Product
2023-10-13	13:04:56	2409	[DEBUG]	Executed store
2023-10-13	13:04:56	2409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861900','7630017821508','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:04:56	2409	[DEBUG]	No parent found
2023-10-13	13:04:56	2409	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861900 AND customfield_value = 'stockable'
2023-10-13	13:04:56	2409	[DEBUG]	Check product language entry
2023-10-13	13:04:56	2409	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861901
2023-10-13	13:04:56	2409	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:56	2409	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7630017821508' AND `virtuemart_product_id` != 1861901
2023-10-13	13:04:56	2409	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:56	2409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861901, '7630017821508')
2023-10-13	13:04:56	2409	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:56	2409	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fuchs-movesa-patins-de-frein-1748-2-standart-a-visser-aucune-unitaire' AND `virtuemart_product_id` != 1861901
2023-10-13	13:04:56	2409	[DEBUG]	Query for ProductLang
2023-10-13	13:04:56	2409	[DEBUG]	Executed store
2023-10-13	13:04:56	2409	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fuchs-Movesa Patins de frein 1748-2 Standart à visser / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fuchs-movesa-patins-de-frein-1748-2-standart-a-visser-aucune-unitaire' WHERE `virtuemart_product_id` = '1861901'
2023-10-13	13:04:56	2409	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26_19225_jpg.jpg
2023-10-13	13:04:56	2409	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:56	2409	[DEBUG]	Process image file
2023-10-13	13:04:56	2409	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:56	2409	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:56	2409	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26_19225_jpg.jpg
2023-10-13	13:04:56	2409	[DEBUG]	Full name target: bcprisme/26_19225_jpg.jpg
2023-10-13	13:04:57	2409	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:57	2409	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26_19225_jpg.jpg'
2023-10-13	13:04:57	2409	[DEBUG]	Query for Media
2023-10-13	13:04:57	2409	[DEBUG]	Executed store
2023-10-13	13:04:57	2409	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26_19225_jpg.jpg',`file_url_thumb`='bcprisme/26_19225_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1132616'
2023-10-13	13:04:57	2409	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:57	2409	[DEBUG]	Executed store
2023-10-13	13:04:57	2409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861901','1132616','1')
2023-10-13	13:04:57	2409	[DEBUG]	Store product image relation
2023-10-13	13:04:57	2409	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:57	2409	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861901 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:57	2409	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:57	2409	[DEBUG]	Executed store
2023-10-13	13:04:57	2409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861901','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:57	2409	[DEBUG]	Checking manufacturer
2023-10-13	13:04:57	2409	[DEBUG]	Load a row
2023-10-13	13:04:57	2409	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:57	2409	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '248'
2023-10-13	13:04:57	2409	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:57	2409	[DEBUG]	Executed store
2023-10-13	13:04:57	2409	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='8',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='8' WHERE `virtuemart_manufacturer_id` = '248'
2023-10-13	13:04:57	2409	[DEBUG]	Manufacturer exists
2023-10-13	13:04:57	2409	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 248
2023-10-13	13:04:57	2409	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:57	2409	[DEBUG]	Executed store
2023-10-13	13:04:57	2409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861901','248')
2023-10-13	13:04:57	2409	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:57	2409	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:57	2409	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861901 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:57	2409	[DEBUG]	Store custom available field
2023-10-13	13:04:57	2409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861901,3,'',1)
2023-10-13	13:04:57	2409	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:57	2409	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:57	2409	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861901 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:57	2409	[DEBUG]	Store custom available field
2023-10-13	13:04:57	2409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861901,6,'Unitaire',3)
2023-10-13	13:04:57	2409	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:57	2409	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:57	2409	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861900
2023-10-13	13:04:57	2409	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:57	2409	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861900\":[1861900,8,1,\"choisir la taille\"],\"1861901\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861900
2023-10-13	13:04:57	2409	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:57	2409	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861901
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:57	2410	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field taille
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:57	2410	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:57	2410	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:57	2410	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:57	2410	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:57	2410	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:57	2410	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:57	2410	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field published
2023-10-13	13:04:57	2410	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:57	2410	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field override
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:57	2410	[DEBUG]	Use field value for field slug
2023-10-13	13:04:57	2410	[DEBUG]	Process line 2410
2023-10-13	13:04:57	2410	[DEBUG]	Load a row
2023-10-13	13:04:57	2410	[DEBUG]	Processing item: A_9438_1
2023-10-13	13:04:57	2410	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:57	2410	[DEBUG]	Processing product tax
2023-10-13	13:04:57	2410	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:57	2410	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:57	2410	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:57	2410	[DEBUG]	Query for Product
2023-10-13	13:04:57	2410	[DEBUG]	Executed store
2023-10-13	13:04:57	2410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9438_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:04:57	2410	[DEBUG]	Check product language entry
2023-10-13	13:04:57	2410	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861902
2023-10-13	13:04:57	2410	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:57	2410	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9438_1' AND `virtuemart_product_id` != 1861902
2023-10-13	13:04:57	2410	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:57	2410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861902, 'A_9438_1')
2023-10-13	13:04:57	2410	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:57	2410	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-gommes-de-frein-br-m950-pour-jante-ceramique-paires-blister-noir' AND `virtuemart_product_id` != 1861902
2023-10-13	13:04:57	2410	[DEBUG]	Query for ProductLang
2023-10-13	13:04:57	2410	[DEBUG]	Executed store
2023-10-13	13:04:57	2410	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.20826',`product_name`='SHIMANO Gommes de frein BR-M950 pour jante céramique paires blister / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-gommes-de-frein-br-m950-pour-jante-ceramique-paires-blister-noir' WHERE `virtuemart_product_id` = '1861902'
2023-10-13	13:04:57	2410	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_2082.jpg has not been found.
2023-10-13	13:04:57	2410	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:57	2410	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861902 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:57	2410	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:57	2410	[DEBUG]	Executed store
2023-10-13	13:04:57	2410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861902','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:57	2410	[DEBUG]	Checking manufacturer
2023-10-13	13:04:57	2410	[DEBUG]	Load a row
2023-10-13	13:04:57	2410	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:57	2410	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:57	2410	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:57	2410	[DEBUG]	Executed store
2023-10-13	13:04:57	2410	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:57	2410	[DEBUG]	Manufacturer exists
2023-10-13	13:04:57	2410	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:04:57	2410	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:57	2410	[DEBUG]	Executed store
2023-10-13	13:04:57	2410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861902','26')
2023-10-13	13:04:57	2410	[DEBUG]	Find the custom field ID
2023-10-13	13:04:57	2410	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:57	2410	[DEBUG]	No custom field ID found
2023-10-13	13:04:57	2410	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:57	2410	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:04:57	2410	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861902 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:57	2410	[DEBUG]	Store custom available field
2023-10-13	13:04:57	2410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861902,3,'0',1)
2023-10-13	13:04:57	2410	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:57	2410	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:57	2410	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861902 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:57	2410	[DEBUG]	Store custom available field
2023-10-13	13:04:57	2410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861902,6,'choisir la taille',3)
2023-10-13	13:04:57	2410	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:57	2410	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:57	2410	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:57	2410	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:57	2410	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861902 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:57	2410	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:57	2410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861902,8,1)
2023-10-13	13:04:57	2410	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:57	2410	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861902\":[1861902,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861902
2023-10-13	13:04:57	2410	[DEBUG]	Checking category
2023-10-13	13:04:57	2410	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:57	2410	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861902
2023-10-13	13:04:57	2410	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:57	2410	[DEBUG]	Executed store
2023-10-13	13:04:57	2410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861902','7343')
2023-10-13	13:04:57	2410	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:57	2410	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861902 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:57	2410	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:57	2410	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861902
2023-10-13	13:04:57	2411	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:57	2411	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:57	2411	[DEBUG]	Use field value for field taille
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:57	2411	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:57	2411	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:57	2411	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:57	2411	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:57	2411	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:57	2411	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:57	2411	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:57	2411	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:57	2411	[DEBUG]	Use field value for field published
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:57	2411	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field override
2023-10-13	13:04:57	2411	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:57	2411	[DEBUG]	Use field value for field slug
2023-10-13	13:04:57	2411	[DEBUG]	Process line 2411
2023-10-13	13:04:57	2411	[DEBUG]	Load a row
2023-10-13	13:04:57	2411	[DEBUG]	Processing item: 4524667000228
2023-10-13	13:04:57	2411	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:57	2411	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:57	2411	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9438_1'
2023-10-13	13:04:57	2411	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:57	2411	[DEBUG]	Processing product tax
2023-10-13	13:04:57	2411	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:57	2411	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:57	2411	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:57	2411	[DEBUG]	Query for Product
2023-10-13	13:04:57	2411	[DEBUG]	Executed store
2023-10-13	13:04:57	2411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861902','4524667000228','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:04:57	2411	[DEBUG]	No parent found
2023-10-13	13:04:57	2411	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861902 AND customfield_value = 'stockable'
2023-10-13	13:04:57	2411	[DEBUG]	Check product language entry
2023-10-13	13:04:57	2411	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861903
2023-10-13	13:04:57	2411	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:57	2411	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667000228' AND `virtuemart_product_id` != 1861903
2023-10-13	13:04:57	2411	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:57	2411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861903, '4524667000228')
2023-10-13	13:04:57	2411	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:57	2411	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-gommes-de-frein-br-m950-pour-jante-ceramique-paires-blister-noir-unitaire' AND `virtuemart_product_id` != 1861903
2023-10-13	13:04:57	2411	[DEBUG]	Query for ProductLang
2023-10-13	13:04:57	2411	[DEBUG]	Executed store
2023-10-13	13:04:57	2411	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Gommes de frein BR-M950 pour jante céramique paires blister / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-gommes-de-frein-br-m950-pour-jante-ceramique-paires-blister-noir-unitaire' WHERE `virtuemart_product_id` = '1861903'
2023-10-13	13:04:57	2411	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_2082.jpg has not been found.
2023-10-13	13:04:57	2411	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:57	2411	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861903 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:57	2411	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:57	2411	[DEBUG]	Executed store
2023-10-13	13:04:57	2411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861903','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:57	2411	[DEBUG]	Checking manufacturer
2023-10-13	13:04:57	2411	[DEBUG]	Load a row
2023-10-13	13:04:57	2411	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:57	2411	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:57	2411	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:57	2411	[DEBUG]	Executed store
2023-10-13	13:04:57	2411	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:57	2411	[DEBUG]	Manufacturer exists
2023-10-13	13:04:57	2411	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:04:57	2411	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:57	2411	[DEBUG]	Executed store
2023-10-13	13:04:57	2411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861903','26')
2023-10-13	13:04:57	2411	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:57	2411	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:57	2411	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861903 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:57	2411	[DEBUG]	Store custom available field
2023-10-13	13:04:57	2411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861903,3,'',1)
2023-10-13	13:04:57	2411	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:57	2411	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:57	2411	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861903 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:57	2411	[DEBUG]	Store custom available field
2023-10-13	13:04:57	2411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861903,6,'Unitaire',3)
2023-10-13	13:04:57	2411	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:57	2411	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:57	2411	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861902
2023-10-13	13:04:57	2411	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:57	2411	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861902\":[1861902,8,1,\"choisir la taille\"],\"1861903\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861902
2023-10-13	13:04:57	2411	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:57	2411	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861903
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:57	2412	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field taille
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:57	2412	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:57	2412	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:57	2412	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:57	2412	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:57	2412	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:57	2412	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field published
2023-10-13	13:04:57	2412	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:57	2412	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field override
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:57	2412	[DEBUG]	Use field value for field slug
2023-10-13	13:04:57	2412	[DEBUG]	Process line 2412
2023-10-13	13:04:57	2412	[DEBUG]	Load a row
2023-10-13	13:04:57	2412	[DEBUG]	Processing item: A_9708_208
2023-10-13	13:04:57	2412	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:57	2412	[DEBUG]	Processing product tax
2023-10-13	13:04:57	2412	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:57	2412	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:57	2412	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:57	2412	[DEBUG]	Query for Product
2023-10-13	13:04:57	2412	[DEBUG]	Executed store
2023-10-13	13:04:57	2412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9708_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:04:57	2412	[DEBUG]	Check product language entry
2023-10-13	13:04:57	2412	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861904
2023-10-13	13:04:57	2412	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:57	2412	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9708_208' AND `virtuemart_product_id` != 1861904
2023-10-13	13:04:57	2412	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:57	2412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861904, 'A_9708_208')
2023-10-13	13:04:57	2412	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:57	2412	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-gommes-de-frein-r55c4-pour-jante-carbone-avec-vis-fixation-paires-bliste-aucune' AND `virtuemart_product_id` != 1861904
2023-10-13	13:04:57	2412	[DEBUG]	Query for ProductLang
2023-10-13	13:04:57	2412	[DEBUG]	Executed store
2023-10-13	13:04:57	2412	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.56902',`product_name`='SHIMANO Gommes de frein R55C4 pour jante carbone avec vis fixation paires bliste / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-gommes-de-frein-r55c4-pour-jante-carbone-avec-vis-fixation-paires-bliste-aucune' WHERE `virtuemart_product_id` = '1861904'
2023-10-13	13:04:57	2412	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_3427.jpg
2023-10-13	13:04:57	2412	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:57	2412	[DEBUG]	Process image file
2023-10-13	13:04:57	2412	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:57	2412	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:57	2412	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_3427.jpg
2023-10-13	13:04:57	2412	[DEBUG]	Full name target: bcprisme/73_3427.jpg
2023-10-13	13:04:58	2412	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:58	2412	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_3427.jpg'
2023-10-13	13:04:58	2412	[DEBUG]	Query for Media
2023-10-13	13:04:58	2412	[DEBUG]	Executed store
2023-10-13	13:04:58	2412	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_3427.jpg',`file_url_thumb`='bcprisme/73_3427.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1530552'
2023-10-13	13:04:58	2412	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:58	2412	[DEBUG]	Executed store
2023-10-13	13:04:58	2412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861904','1530552','1')
2023-10-13	13:04:58	2412	[DEBUG]	Store product image relation
2023-10-13	13:04:58	2412	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:58	2412	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861904 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:58	2412	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:58	2412	[DEBUG]	Executed store
2023-10-13	13:04:58	2412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861904','0','25.9052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:58	2412	[DEBUG]	Checking manufacturer
2023-10-13	13:04:58	2412	[DEBUG]	Load a row
2023-10-13	13:04:58	2412	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:58	2412	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:58	2412	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:58	2412	[DEBUG]	Executed store
2023-10-13	13:04:58	2412	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:58	2412	[DEBUG]	Manufacturer exists
2023-10-13	13:04:58	2412	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:04:58	2412	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:58	2412	[DEBUG]	Executed store
2023-10-13	13:04:58	2412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861904','26')
2023-10-13	13:04:58	2412	[DEBUG]	Find the custom field ID
2023-10-13	13:04:58	2412	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:04:58	2412	[DEBUG]	No custom field ID found
2023-10-13	13:04:58	2412	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:58	2412	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:04:58	2412	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861904 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:58	2412	[DEBUG]	Store custom available field
2023-10-13	13:04:58	2412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861904,3,'0',1)
2023-10-13	13:04:58	2412	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:58	2412	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:04:58	2412	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861904 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:58	2412	[DEBUG]	Store custom available field
2023-10-13	13:04:58	2412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861904,6,'choisir la taille',3)
2023-10-13	13:04:58	2412	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:58	2412	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:04:58	2412	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:04:58	2412	[DEBUG]	Find the multi variant product entry
2023-10-13	13:04:58	2412	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861904 AND `virtuemart_custom_id` = 8
2023-10-13	13:04:58	2412	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:04:58	2412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861904,8,1)
2023-10-13	13:04:58	2412	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:58	2412	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861904\":[1861904,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861904
2023-10-13	13:04:58	2412	[DEBUG]	Checking category
2023-10-13	13:04:58	2412	[DEBUG]	Get the existing categories for the product
2023-10-13	13:04:58	2412	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861904
2023-10-13	13:04:58	2412	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:04:58	2412	[DEBUG]	Executed store
2023-10-13	13:04:58	2412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861904','7343')
2023-10-13	13:04:58	2412	[DEBUG]	Delete leftover product categories
2023-10-13	13:04:58	2412	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861904 AND `virtuemart_category_id` NOT IN (7343)
2023-10-13	13:04:58	2412	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:58	2412	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861904
2023-10-13	13:04:58	2413	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:58	2413	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:04:58	2413	[DEBUG]	Use field value for field taille
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:04:58	2413	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field category_path
2023-10-13	13:04:58	2413	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:58	2413	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:58	2413	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:58	2413	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:04:58	2413	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field product_weight
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:58	2413	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:58	2413	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:58	2413	[DEBUG]	Use field value for field published
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field custom_title
2023-10-13	13:04:58	2413	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field custom_param
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field override
2023-10-13	13:04:58	2413	[DEBUG]	Use default value for field public_price
2023-10-13	13:04:58	2413	[DEBUG]	Use field value for field slug
2023-10-13	13:04:58	2413	[DEBUG]	Process line 2413
2023-10-13	13:04:58	2413	[DEBUG]	Load a row
2023-10-13	13:04:58	2413	[DEBUG]	Processing item: 4524667994602
2023-10-13	13:04:58	2413	[DEBUG]	Looking for parent SKU
2023-10-13	13:04:58	2413	[DEBUG]	Checking product parent SKU
2023-10-13	13:04:58	2413	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9708_208'
2023-10-13	13:04:58	2413	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:58	2413	[DEBUG]	Processing product tax
2023-10-13	13:04:58	2413	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:58	2413	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:58	2413	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:58	2413	[DEBUG]	Query for Product
2023-10-13	13:04:58	2413	[DEBUG]	Executed store
2023-10-13	13:04:58	2413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861904','4524667994602','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:04:58	2413	[DEBUG]	No parent found
2023-10-13	13:04:58	2413	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861904 AND customfield_value = 'stockable'
2023-10-13	13:04:58	2413	[DEBUG]	Check product language entry
2023-10-13	13:04:58	2413	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861905
2023-10-13	13:04:58	2413	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:58	2413	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667994602' AND `virtuemart_product_id` != 1861905
2023-10-13	13:04:58	2413	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:58	2413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861905, '4524667994602')
2023-10-13	13:04:58	2413	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:58	2413	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-gommes-de-frein-r55c4-pour-jante-carbone-avec-vis-fixation-paires-bliste-aucune-unitaire' AND `virtuemart_product_id` != 1861905
2023-10-13	13:04:58	2413	[DEBUG]	Query for ProductLang
2023-10-13	13:04:58	2413	[DEBUG]	Executed store
2023-10-13	13:04:58	2413	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Gommes de frein R55C4 pour jante carbone avec vis fixation paires bliste / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-gommes-de-frein-r55c4-pour-jante-carbone-avec-vis-fixation-paires-bliste-aucune-unitaire' WHERE `virtuemart_product_id` = '1861905'
2023-10-13	13:04:58	2413	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_3427.jpg
2023-10-13	13:04:58	2413	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:58	2413	[DEBUG]	Process image file
2023-10-13	13:04:58	2413	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:04:58	2413	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:58	2413	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_3427.jpg
2023-10-13	13:04:58	2413	[DEBUG]	Full name target: bcprisme/73_3427.jpg
2023-10-13	13:04:59	2413	[DEBUG]	Checking if the file_url exists
2023-10-13	13:04:59	2413	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_3427.jpg'
2023-10-13	13:04:59	2413	[DEBUG]	Query for Media
2023-10-13	13:04:59	2413	[DEBUG]	Executed store
2023-10-13	13:04:59	2413	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_3427.jpg',`file_url_thumb`='bcprisme/73_3427.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1530552'
2023-10-13	13:04:59	2413	[DEBUG]	Query for ProductMedia
2023-10-13	13:04:59	2413	[DEBUG]	Executed store
2023-10-13	13:04:59	2413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861905','1530552','1')
2023-10-13	13:04:59	2413	[DEBUG]	Store product image relation
2023-10-13	13:04:59	2413	[DEBUG]	Finding a product_price_id
2023-10-13	13:04:59	2413	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861905 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:04:59	2413	[DEBUG]	Query for ProductPrice
2023-10-13	13:04:59	2413	[DEBUG]	Executed store
2023-10-13	13:04:59	2413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861905','0','25.9052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:04:59	2413	[DEBUG]	Checking manufacturer
2023-10-13	13:04:59	2413	[DEBUG]	Load a row
2023-10-13	13:04:59	2413	[DEBUG]	Manufacturer already exists
2023-10-13	13:04:59	2413	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:59	2413	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:04:59	2413	[DEBUG]	Executed store
2023-10-13	13:04:59	2413	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:04:59	2413	[DEBUG]	Manufacturer exists
2023-10-13	13:04:59	2413	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:04:59	2413	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:04:59	2413	[DEBUG]	Executed store
2023-10-13	13:04:59	2413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861905','26')
2023-10-13	13:04:59	2413	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:04:59	2413	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:04:59	2413	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861905 AND `virtuemart_custom_id` = 3
2023-10-13	13:04:59	2413	[DEBUG]	Store custom available field
2023-10-13	13:04:59	2413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861905,3,'',1)
2023-10-13	13:04:59	2413	[DEBUG]	Processing custom available field: taille
2023-10-13	13:04:59	2413	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:04:59	2413	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861905 AND `virtuemart_custom_id` = 6
2023-10-13	13:04:59	2413	[DEBUG]	Store custom available field
2023-10-13	13:04:59	2413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861905,6,'Unitaire',3)
2023-10-13	13:04:59	2413	[DEBUG]	Process multi-variant fields
2023-10-13	13:04:59	2413	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:04:59	2413	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861904
2023-10-13	13:04:59	2413	[DEBUG]	Store the updated customfield_params
2023-10-13	13:04:59	2413	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861904\":[1861904,8,1,\"choisir la taille\"],\"1861905\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861904
2023-10-13	13:04:59	2413	[DEBUG]	Update has fields after all processing
2023-10-13	13:04:59	2413	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861905
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field product_sku
2023-10-13	13:04:59	2414	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field taille
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field product_name
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field category_path
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field product_price
2023-10-13	13:04:59	2414	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field product_tax
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field file_url
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:04:59	2414	[DEBUG]	Use default value for field product_desc
2023-10-13	13:04:59	2414	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field product_availability
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field product_weight
2023-10-13	13:04:59	2414	[DEBUG]	Use default value for field product_unit
2023-10-13	13:04:59	2414	[DEBUG]	Use default value for field related_products
2023-10-13	13:04:59	2414	[DEBUG]	Use default value for field product_special
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field published
2023-10-13	13:04:59	2414	[DEBUG]	Use default value for field metadesc
2023-10-13	13:04:59	2414	[DEBUG]	Use default value for field metakey
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field custom_title
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field custom_value
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field custom_param
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field override
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field public_price
2023-10-13	13:04:59	2414	[DEBUG]	Use field value for field slug
2023-10-13	13:04:59	2414	[DEBUG]	Process line 2414
2023-10-13	13:04:59	2414	[DEBUG]	Load a row
2023-10-13	13:04:59	2414	[DEBUG]	Processing item: A_462_1
2023-10-13	13:04:59	2414	[DEBUG]	Product tax: 7.7
2023-10-13	13:04:59	2414	[DEBUG]	Processing product tax
2023-10-13	13:04:59	2414	[DEBUG]	Check if calculation rule exists
2023-10-13	13:04:59	2414	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:04:59	2414	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:04:59	2414	[DEBUG]	Query for Product
2023-10-13	13:04:59	2414	[DEBUG]	Executed store
2023-10-13	13:04:59	2414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_462_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:04:59	2414	[DEBUG]	Check product language entry
2023-10-13	13:04:59	2414	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861906
2023-10-13	13:04:59	2414	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:59	2414	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_462_1' AND `virtuemart_product_id` != 1861906
2023-10-13	13:04:59	2414	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:04:59	2414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861906, 'A_462_1')
2023-10-13	13:04:59	2414	[DEBUG]	Check if the product slug exists
2023-10-13	13:04:59	2414	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-magura-louise-semi-metalliques-noir' AND `virtuemart_product_id` != 1861906
2023-10-13	13:04:59	2414	[DEBUG]	Query for ProductLang
2023-10-13	13:04:59	2414	[DEBUG]	Executed store
2023-10-13	13:04:59	2414	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. <br>N° art fourn : DK11',`product_name`='MSC Plaquettes de freins Magura Louise semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-magura-louise-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861906'
2023-10-13	13:04:59	2414	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_529.jpg
2023-10-13	13:04:59	2414	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:04:59	2414	[DEBUG]	Process image file
2023-10-13	13:04:59	2414	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:04:59	2414	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:04:59	2414	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_529.jpg
2023-10-13	13:04:59	2414	[DEBUG]	Full name target: bcprisme/image_529.jpg
2023-10-13	13:05:00	2414	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:00	2414	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_529.jpg'
2023-10-13	13:05:00	2414	[DEBUG]	Query for Media
2023-10-13	13:05:00	2414	[DEBUG]	Executed store
2023-10-13	13:05:00	2414	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_529.jpg',`file_url_thumb`='bcprisme/image_529.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12815'
2023-10-13	13:05:00	2414	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:00	2414	[DEBUG]	Executed store
2023-10-13	13:05:00	2414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861906','12815','1')
2023-10-13	13:05:00	2414	[DEBUG]	Store product image relation
2023-10-13	13:05:00	2414	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:00	2414	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861906 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:00	2414	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:00	2414	[DEBUG]	Executed store
2023-10-13	13:05:00	2414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861906','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:00	2414	[DEBUG]	Checking manufacturer
2023-10-13	13:05:00	2414	[DEBUG]	Load a row
2023-10-13	13:05:00	2414	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:00	2414	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:00	2414	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:00	2414	[DEBUG]	Executed store
2023-10-13	13:05:00	2414	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:00	2414	[DEBUG]	Manufacturer exists
2023-10-13	13:05:00	2414	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:00	2414	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:00	2414	[DEBUG]	Executed store
2023-10-13	13:05:00	2414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861906','32')
2023-10-13	13:05:00	2414	[DEBUG]	Find the custom field ID
2023-10-13	13:05:00	2414	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:00	2414	[DEBUG]	No custom field ID found
2023-10-13	13:05:00	2414	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:00	2414	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:05:00	2414	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861906 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:00	2414	[DEBUG]	Store custom available field
2023-10-13	13:05:00	2414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861906,3,'16.8530555555556',1)
2023-10-13	13:05:00	2414	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:00	2414	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:00	2414	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861906 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:00	2414	[DEBUG]	Store custom available field
2023-10-13	13:05:00	2414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861906,6,'choisir la taille',3)
2023-10-13	13:05:00	2414	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:00	2414	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:00	2414	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:00	2414	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:00	2414	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861906 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:00	2414	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:00	2414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861906,8,1)
2023-10-13	13:05:00	2414	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:00	2414	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861906\":[1861906,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861906
2023-10-13	13:05:00	2414	[DEBUG]	Checking category
2023-10-13	13:05:00	2414	[DEBUG]	Check if category path exists: FREINS / PLAQUETTES DE FREINS - BREMSE / SCHEIBENBREMSBELÄGE
2023-10-13	13:05:00	2414	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / PLAQUETTES DE FREINS - BREMSE / SCHEIBENBREMSBELÄGE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:05:00	2414	[DEBUG]	Check if category path exists: PLAQUETTES DE FREINS - SCHEIBENBREMSBELÄGE
2023-10-13	13:05:00	2414	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PLAQUETTES DE FREINS - SCHEIBENBREMSBELÄGE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7344
2023-10-13	13:05:00	2414	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:00	2414	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861906
2023-10-13	13:05:00	2414	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:00	2414	[DEBUG]	Executed store
2023-10-13	13:05:00	2414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861906','7345')
2023-10-13	13:05:00	2414	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:00	2414	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861906 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:00	2414	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:00	2414	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861906
2023-10-13	13:05:00	2415	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:00	2415	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:00	2415	[DEBUG]	Use field value for field taille
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:00	2415	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:00	2415	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:00	2415	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:00	2415	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:00	2415	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:00	2415	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:00	2415	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:00	2415	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:00	2415	[DEBUG]	Use field value for field published
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:00	2415	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field override
2023-10-13	13:05:00	2415	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:00	2415	[DEBUG]	Use field value for field slug
2023-10-13	13:05:00	2415	[DEBUG]	Process line 2415
2023-10-13	13:05:00	2415	[DEBUG]	Load a row
2023-10-13	13:05:00	2415	[DEBUG]	Processing item: 8436041559764
2023-10-13	13:05:00	2415	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:00	2415	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:00	2415	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_462_1'
2023-10-13	13:05:00	2415	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:00	2415	[DEBUG]	Processing product tax
2023-10-13	13:05:00	2415	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:00	2415	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:00	2415	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:00	2415	[DEBUG]	Query for Product
2023-10-13	13:05:00	2415	[DEBUG]	Executed store
2023-10-13	13:05:00	2415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861906','8436041559764','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:00	2415	[DEBUG]	No parent found
2023-10-13	13:05:00	2415	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861906 AND customfield_value = 'stockable'
2023-10-13	13:05:00	2415	[DEBUG]	Check product language entry
2023-10-13	13:05:00	2415	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861907
2023-10-13	13:05:00	2415	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:00	2415	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559764' AND `virtuemart_product_id` != 1861907
2023-10-13	13:05:00	2415	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:00	2415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861907, '8436041559764')
2023-10-13	13:05:00	2415	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:00	2415	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-magura-louise-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861907
2023-10-13	13:05:00	2415	[DEBUG]	Query for ProductLang
2023-10-13	13:05:00	2415	[DEBUG]	Executed store
2023-10-13	13:05:00	2415	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Magura Louise semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-magura-louise-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861907'
2023-10-13	13:05:00	2415	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_529.jpg
2023-10-13	13:05:00	2415	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:00	2415	[DEBUG]	Process image file
2023-10-13	13:05:00	2415	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:00	2415	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:00	2415	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_529.jpg
2023-10-13	13:05:00	2415	[DEBUG]	Full name target: bcprisme/image_529.jpg
2023-10-13	13:05:01	2415	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:01	2415	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_529.jpg'
2023-10-13	13:05:01	2415	[DEBUG]	Query for Media
2023-10-13	13:05:01	2415	[DEBUG]	Executed store
2023-10-13	13:05:01	2415	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_529.jpg',`file_url_thumb`='bcprisme/image_529.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12815'
2023-10-13	13:05:01	2415	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:01	2415	[DEBUG]	Executed store
2023-10-13	13:05:01	2415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861907','12815','1')
2023-10-13	13:05:01	2415	[DEBUG]	Store product image relation
2023-10-13	13:05:01	2415	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:01	2415	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861907 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:01	2415	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:01	2415	[DEBUG]	Executed store
2023-10-13	13:05:01	2415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861907','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:01	2415	[DEBUG]	Checking manufacturer
2023-10-13	13:05:01	2415	[DEBUG]	Load a row
2023-10-13	13:05:01	2415	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:01	2415	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:01	2415	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:01	2415	[DEBUG]	Executed store
2023-10-13	13:05:01	2415	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:01	2415	[DEBUG]	Manufacturer exists
2023-10-13	13:05:01	2415	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:01	2415	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:01	2415	[DEBUG]	Executed store
2023-10-13	13:05:01	2415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861907','32')
2023-10-13	13:05:01	2415	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:01	2415	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:01	2415	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861907 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:01	2415	[DEBUG]	Store custom available field
2023-10-13	13:05:01	2415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861907,3,'',1)
2023-10-13	13:05:01	2415	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:01	2415	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:01	2415	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861907 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:01	2415	[DEBUG]	Store custom available field
2023-10-13	13:05:01	2415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861907,6,'Set',3)
2023-10-13	13:05:01	2415	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:01	2415	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:01	2415	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861906
2023-10-13	13:05:01	2415	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:01	2415	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861906\":[1861906,8,1,\"choisir la taille\"],\"1861907\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861906
2023-10-13	13:05:01	2415	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:01	2415	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861907
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:01	2416	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field taille
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:01	2416	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:01	2416	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:01	2416	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:01	2416	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:01	2416	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:01	2416	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field published
2023-10-13	13:05:01	2416	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:01	2416	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field override
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:01	2416	[DEBUG]	Use field value for field slug
2023-10-13	13:05:01	2416	[DEBUG]	Process line 2416
2023-10-13	13:05:01	2416	[DEBUG]	Load a row
2023-10-13	13:05:01	2416	[DEBUG]	Processing item: A_463_1
2023-10-13	13:05:01	2416	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:01	2416	[DEBUG]	Processing product tax
2023-10-13	13:05:01	2416	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:01	2416	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:01	2416	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:01	2416	[DEBUG]	Query for Product
2023-10-13	13:05:01	2416	[DEBUG]	Executed store
2023-10-13	13:05:01	2416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_463_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:01	2416	[DEBUG]	Check product language entry
2023-10-13	13:05:01	2416	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861908
2023-10-13	13:05:01	2416	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:01	2416	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_463_1' AND `virtuemart_product_id` != 1861908
2023-10-13	13:05:01	2416	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:01	2416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861908, 'A_463_1')
2023-10-13	13:05:01	2416	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:01	2416	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-magura-julie-semi-metalliques-noir' AND `virtuemart_product_id` != 1861908
2023-10-13	13:05:01	2416	[DEBUG]	Query for ProductLang
2023-10-13	13:05:01	2416	[DEBUG]	Executed store
2023-10-13	13:05:01	2416	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. <br>N° art fourn : DK13',`product_name`='MSC Plaquettes de freins. Magura Julie semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-magura-julie-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861908'
2023-10-13	13:05:01	2416	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_530.jpg
2023-10-13	13:05:01	2416	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:05:01	2416	[DEBUG]	Process image file
2023-10-13	13:05:01	2416	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:05:01	2416	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:01	2416	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_530.jpg
2023-10-13	13:05:01	2416	[DEBUG]	Full name target: bcprisme/image_530.jpg
2023-10-13	13:05:02	2416	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:02	2416	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_530.jpg'
2023-10-13	13:05:02	2416	[DEBUG]	Query for Media
2023-10-13	13:05:02	2416	[DEBUG]	Executed store
2023-10-13	13:05:02	2416	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_530.jpg',`file_url_thumb`='bcprisme/image_530.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12816'
2023-10-13	13:05:02	2416	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:02	2416	[DEBUG]	Executed store
2023-10-13	13:05:02	2416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861908','12816','1')
2023-10-13	13:05:02	2416	[DEBUG]	Store product image relation
2023-10-13	13:05:02	2416	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:02	2416	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861908 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:02	2416	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:02	2416	[DEBUG]	Executed store
2023-10-13	13:05:02	2416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861908','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:02	2416	[DEBUG]	Checking manufacturer
2023-10-13	13:05:02	2416	[DEBUG]	Load a row
2023-10-13	13:05:02	2416	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:02	2416	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:02	2416	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:02	2416	[DEBUG]	Executed store
2023-10-13	13:05:02	2416	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:02	2416	[DEBUG]	Manufacturer exists
2023-10-13	13:05:02	2416	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:02	2416	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:02	2416	[DEBUG]	Executed store
2023-10-13	13:05:02	2416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861908','32')
2023-10-13	13:05:02	2416	[DEBUG]	Find the custom field ID
2023-10-13	13:05:02	2416	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:02	2416	[DEBUG]	No custom field ID found
2023-10-13	13:05:02	2416	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:02	2416	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:05:02	2416	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861908 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:02	2416	[DEBUG]	Store custom available field
2023-10-13	13:05:02	2416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861908,3,'16.8530555555556',1)
2023-10-13	13:05:02	2416	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:02	2416	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:02	2416	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861908 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:02	2416	[DEBUG]	Store custom available field
2023-10-13	13:05:02	2416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861908,6,'choisir la taille',3)
2023-10-13	13:05:02	2416	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:02	2416	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:02	2416	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:02	2416	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:02	2416	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861908 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:02	2416	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:02	2416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861908,8,1)
2023-10-13	13:05:02	2416	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:02	2416	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861908\":[1861908,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861908
2023-10-13	13:05:02	2416	[DEBUG]	Checking category
2023-10-13	13:05:02	2416	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:02	2416	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861908
2023-10-13	13:05:02	2416	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:02	2416	[DEBUG]	Executed store
2023-10-13	13:05:02	2416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861908','7345')
2023-10-13	13:05:02	2416	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:02	2416	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861908 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:02	2416	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:02	2416	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861908
2023-10-13	13:05:02	2417	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:02	2417	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:02	2417	[DEBUG]	Use field value for field taille
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:02	2417	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:02	2417	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:02	2417	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:02	2417	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:02	2417	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:02	2417	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:02	2417	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:02	2417	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:02	2417	[DEBUG]	Use field value for field published
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:02	2417	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field override
2023-10-13	13:05:02	2417	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:02	2417	[DEBUG]	Use field value for field slug
2023-10-13	13:05:02	2417	[DEBUG]	Process line 2417
2023-10-13	13:05:02	2417	[DEBUG]	Load a row
2023-10-13	13:05:02	2417	[DEBUG]	Processing item: 8436041526049
2023-10-13	13:05:02	2417	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:02	2417	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:02	2417	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_463_1'
2023-10-13	13:05:02	2417	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:02	2417	[DEBUG]	Processing product tax
2023-10-13	13:05:02	2417	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:02	2417	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:02	2417	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:02	2417	[DEBUG]	Query for Product
2023-10-13	13:05:02	2417	[DEBUG]	Executed store
2023-10-13	13:05:02	2417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861908','8436041526049','0','KG','M','','19','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:02	2417	[DEBUG]	No parent found
2023-10-13	13:05:02	2417	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861908 AND customfield_value = 'stockable'
2023-10-13	13:05:02	2417	[DEBUG]	Check product language entry
2023-10-13	13:05:02	2417	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861909
2023-10-13	13:05:02	2417	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:02	2417	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526049' AND `virtuemart_product_id` != 1861909
2023-10-13	13:05:02	2417	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:02	2417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861909, '8436041526049')
2023-10-13	13:05:02	2417	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:02	2417	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-magura-julie-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861909
2023-10-13	13:05:02	2417	[DEBUG]	Query for ProductLang
2023-10-13	13:05:02	2417	[DEBUG]	Executed store
2023-10-13	13:05:02	2417	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins. Magura Julie semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-magura-julie-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861909'
2023-10-13	13:05:02	2417	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_530.jpg
2023-10-13	13:05:02	2417	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:05:02	2417	[DEBUG]	Process image file
2023-10-13	13:05:02	2417	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:05:02	2417	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:02	2417	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_530.jpg
2023-10-13	13:05:02	2417	[DEBUG]	Full name target: bcprisme/image_530.jpg
2023-10-13	13:05:03	2417	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:03	2417	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_530.jpg'
2023-10-13	13:05:03	2417	[DEBUG]	Query for Media
2023-10-13	13:05:03	2417	[DEBUG]	Executed store
2023-10-13	13:05:03	2417	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_530.jpg',`file_url_thumb`='bcprisme/image_530.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12816'
2023-10-13	13:05:03	2417	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:03	2417	[DEBUG]	Executed store
2023-10-13	13:05:03	2417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861909','12816','1')
2023-10-13	13:05:03	2417	[DEBUG]	Store product image relation
2023-10-13	13:05:03	2417	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:03	2417	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861909 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:03	2417	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:03	2417	[DEBUG]	Executed store
2023-10-13	13:05:03	2417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861909','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:03	2417	[DEBUG]	Checking manufacturer
2023-10-13	13:05:03	2417	[DEBUG]	Load a row
2023-10-13	13:05:03	2417	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:03	2417	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:03	2417	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:03	2417	[DEBUG]	Executed store
2023-10-13	13:05:03	2417	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:03	2417	[DEBUG]	Manufacturer exists
2023-10-13	13:05:03	2417	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:03	2417	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:03	2417	[DEBUG]	Executed store
2023-10-13	13:05:03	2417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861909','32')
2023-10-13	13:05:03	2417	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:03	2417	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:03	2417	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861909 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:03	2417	[DEBUG]	Store custom available field
2023-10-13	13:05:03	2417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861909,3,'',1)
2023-10-13	13:05:03	2417	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:03	2417	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:03	2417	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861909 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:03	2417	[DEBUG]	Store custom available field
2023-10-13	13:05:03	2417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861909,6,'Set',3)
2023-10-13	13:05:03	2417	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:03	2417	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:03	2417	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861908
2023-10-13	13:05:03	2417	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:03	2417	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861908\":[1861908,8,1,\"choisir la taille\"],\"1861909\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861908
2023-10-13	13:05:03	2417	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:03	2417	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861909
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:03	2418	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field taille
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:03	2418	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:03	2418	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:03	2418	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:03	2418	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:03	2418	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:03	2418	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field published
2023-10-13	13:05:03	2418	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:03	2418	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field override
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:03	2418	[DEBUG]	Use field value for field slug
2023-10-13	13:05:03	2418	[DEBUG]	Process line 2418
2023-10-13	13:05:03	2418	[DEBUG]	Load a row
2023-10-13	13:05:03	2418	[DEBUG]	Processing item: A_464_1
2023-10-13	13:05:03	2418	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:03	2418	[DEBUG]	Processing product tax
2023-10-13	13:05:03	2418	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:03	2418	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:03	2418	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:03	2418	[DEBUG]	Query for Product
2023-10-13	13:05:03	2418	[DEBUG]	Executed store
2023-10-13	13:05:03	2418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_464_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:03	2418	[DEBUG]	Check product language entry
2023-10-13	13:05:03	2418	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861910
2023-10-13	13:05:03	2418	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:03	2418	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_464_1' AND `virtuemart_product_id` != 1861910
2023-10-13	13:05:03	2418	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:03	2418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861910, 'A_464_1')
2023-10-13	13:05:03	2418	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:03	2418	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-magura-julie-fr-semi-metallique-noir' AND `virtuemart_product_id` != 1861910
2023-10-13	13:05:03	2418	[DEBUG]	Query for ProductLang
2023-10-13	13:05:03	2418	[DEBUG]	Executed store
2023-10-13	13:05:03	2418	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. 30gr<br>N° art fourn : DK14',`product_name`='MSC Plaquettes de frein. Magura Julie FR semi-métallique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-magura-julie-fr-semi-metallique-noir' WHERE `virtuemart_product_id` = '1861910'
2023-10-13	13:05:03	2418	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_531.jpg
2023-10-13	13:05:03	2418	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:03	2418	[DEBUG]	Process image file
2023-10-13	13:05:03	2418	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:03	2418	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:03	2418	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_531.jpg
2023-10-13	13:05:03	2418	[DEBUG]	Full name target: bcprisme/image_531.jpg
2023-10-13	13:05:05	2418	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:05	2418	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_531.jpg'
2023-10-13	13:05:05	2418	[DEBUG]	Query for Media
2023-10-13	13:05:05	2418	[DEBUG]	Executed store
2023-10-13	13:05:05	2418	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_531.jpg',`file_url_thumb`='bcprisme/image_531.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12817'
2023-10-13	13:05:05	2418	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:05	2418	[DEBUG]	Executed store
2023-10-13	13:05:05	2418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861910','12817','1')
2023-10-13	13:05:05	2418	[DEBUG]	Store product image relation
2023-10-13	13:05:05	2418	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:05	2418	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861910 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:05	2418	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:05	2418	[DEBUG]	Executed store
2023-10-13	13:05:05	2418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861910','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:05	2418	[DEBUG]	Checking manufacturer
2023-10-13	13:05:05	2418	[DEBUG]	Load a row
2023-10-13	13:05:05	2418	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:05	2418	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:05	2418	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:05	2418	[DEBUG]	Executed store
2023-10-13	13:05:05	2418	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:05	2418	[DEBUG]	Manufacturer exists
2023-10-13	13:05:05	2418	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:05	2418	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:05	2418	[DEBUG]	Executed store
2023-10-13	13:05:05	2418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861910','32')
2023-10-13	13:05:05	2418	[DEBUG]	Find the custom field ID
2023-10-13	13:05:05	2418	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:05	2418	[DEBUG]	No custom field ID found
2023-10-13	13:05:05	2418	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:05	2418	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:05:05	2418	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861910 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:05	2418	[DEBUG]	Store custom available field
2023-10-13	13:05:05	2418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861910,3,'16.8530555555556',1)
2023-10-13	13:05:05	2418	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:05	2418	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:05	2418	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861910 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:05	2418	[DEBUG]	Store custom available field
2023-10-13	13:05:05	2418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861910,6,'choisir la taille',3)
2023-10-13	13:05:05	2418	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:05	2418	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:05	2418	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:05	2418	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:05	2418	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861910 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:05	2418	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:05	2418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861910,8,1)
2023-10-13	13:05:05	2418	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:05	2418	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861910\":[1861910,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861910
2023-10-13	13:05:05	2418	[DEBUG]	Checking category
2023-10-13	13:05:05	2418	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:05	2418	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861910
2023-10-13	13:05:05	2418	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:05	2418	[DEBUG]	Executed store
2023-10-13	13:05:05	2418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861910','7345')
2023-10-13	13:05:05	2418	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:05	2418	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861910 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:05	2418	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:05	2418	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861910
2023-10-13	13:05:05	2419	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:05	2419	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:05	2419	[DEBUG]	Use field value for field taille
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:05	2419	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:05	2419	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:05	2419	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:05	2419	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:05	2419	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:05	2419	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:05	2419	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:05	2419	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:05	2419	[DEBUG]	Use field value for field published
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:05	2419	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field override
2023-10-13	13:05:05	2419	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:05	2419	[DEBUG]	Use field value for field slug
2023-10-13	13:05:05	2419	[DEBUG]	Process line 2419
2023-10-13	13:05:05	2419	[DEBUG]	Load a row
2023-10-13	13:05:05	2419	[DEBUG]	Processing item: 8436041526056
2023-10-13	13:05:05	2419	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:05	2419	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:05	2419	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_464_1'
2023-10-13	13:05:05	2419	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:05	2419	[DEBUG]	Processing product tax
2023-10-13	13:05:05	2419	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:05	2419	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:05	2419	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:05	2419	[DEBUG]	Query for Product
2023-10-13	13:05:05	2419	[DEBUG]	Executed store
2023-10-13	13:05:05	2419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861910','8436041526056','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:05	2419	[DEBUG]	No parent found
2023-10-13	13:05:05	2419	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861910 AND customfield_value = 'stockable'
2023-10-13	13:05:05	2419	[DEBUG]	Check product language entry
2023-10-13	13:05:05	2419	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861911
2023-10-13	13:05:05	2419	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:05	2419	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526056' AND `virtuemart_product_id` != 1861911
2023-10-13	13:05:05	2419	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:05	2419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861911, '8436041526056')
2023-10-13	13:05:05	2419	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:05	2419	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-magura-julie-fr-semi-metallique-noir-set' AND `virtuemart_product_id` != 1861911
2023-10-13	13:05:05	2419	[DEBUG]	Query for ProductLang
2023-10-13	13:05:05	2419	[DEBUG]	Executed store
2023-10-13	13:05:05	2419	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de frein. Magura Julie FR semi-métallique / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-magura-julie-fr-semi-metallique-noir-set' WHERE `virtuemart_product_id` = '1861911'
2023-10-13	13:05:05	2419	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_531.jpg
2023-10-13	13:05:05	2419	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:05	2419	[DEBUG]	Process image file
2023-10-13	13:05:05	2419	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:05	2419	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:05	2419	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_531.jpg
2023-10-13	13:05:05	2419	[DEBUG]	Full name target: bcprisme/image_531.jpg
2023-10-13	13:05:06	2419	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:06	2419	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_531.jpg'
2023-10-13	13:05:06	2419	[DEBUG]	Query for Media
2023-10-13	13:05:06	2419	[DEBUG]	Executed store
2023-10-13	13:05:06	2419	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_531.jpg',`file_url_thumb`='bcprisme/image_531.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12817'
2023-10-13	13:05:06	2419	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:06	2419	[DEBUG]	Executed store
2023-10-13	13:05:06	2419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861911','12817','1')
2023-10-13	13:05:06	2419	[DEBUG]	Store product image relation
2023-10-13	13:05:06	2419	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:06	2419	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861911 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:06	2419	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:06	2419	[DEBUG]	Executed store
2023-10-13	13:05:06	2419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861911','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:06	2419	[DEBUG]	Checking manufacturer
2023-10-13	13:05:06	2419	[DEBUG]	Load a row
2023-10-13	13:05:06	2419	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:06	2419	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:06	2419	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:06	2419	[DEBUG]	Executed store
2023-10-13	13:05:06	2419	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:06	2419	[DEBUG]	Manufacturer exists
2023-10-13	13:05:06	2419	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:06	2419	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:06	2419	[DEBUG]	Executed store
2023-10-13	13:05:06	2419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861911','32')
2023-10-13	13:05:06	2419	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:06	2419	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:06	2419	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861911 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:06	2419	[DEBUG]	Store custom available field
2023-10-13	13:05:06	2419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861911,3,'',1)
2023-10-13	13:05:06	2419	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:06	2419	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:06	2419	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861911 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:06	2419	[DEBUG]	Store custom available field
2023-10-13	13:05:06	2419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861911,6,'Set',3)
2023-10-13	13:05:06	2419	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:06	2419	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:06	2419	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861910
2023-10-13	13:05:06	2419	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:06	2419	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861910\":[1861910,8,1,\"choisir la taille\"],\"1861911\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861910
2023-10-13	13:05:06	2419	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:06	2419	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861911
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:06	2420	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field taille
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:06	2420	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:06	2420	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:06	2420	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:06	2420	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:06	2420	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:06	2420	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field published
2023-10-13	13:05:06	2420	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:06	2420	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field override
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:06	2420	[DEBUG]	Use field value for field slug
2023-10-13	13:05:06	2420	[DEBUG]	Process line 2420
2023-10-13	13:05:06	2420	[DEBUG]	Load a row
2023-10-13	13:05:06	2420	[DEBUG]	Processing item: A_465_1
2023-10-13	13:05:06	2420	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:06	2420	[DEBUG]	Processing product tax
2023-10-13	13:05:06	2420	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:06	2420	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:06	2420	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:06	2420	[DEBUG]	Query for Product
2023-10-13	13:05:06	2420	[DEBUG]	Executed store
2023-10-13	13:05:06	2420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_465_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:06	2420	[DEBUG]	Check product language entry
2023-10-13	13:05:06	2420	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861912
2023-10-13	13:05:06	2420	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:06	2420	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_465_1' AND `virtuemart_product_id` != 1861912
2023-10-13	13:05:06	2420	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:06	2420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861912, 'A_465_1')
2023-10-13	13:05:06	2420	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:06	2420	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-magura-marta-semi-metalliques-noir' AND `virtuemart_product_id` != 1861912
2023-10-13	13:05:06	2420	[DEBUG]	Query for ProductLang
2023-10-13	13:05:06	2420	[DEBUG]	Executed store
2023-10-13	13:05:06	2420	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. <br>N° art fourn : DK15',`product_name`='MSC Plaquettes de freins. Magura Marta semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-magura-marta-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861912'
2023-10-13	13:05:06	2420	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_532.jpg
2023-10-13	13:05:06	2420	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:06	2420	[DEBUG]	Process image file
2023-10-13	13:05:06	2420	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:06	2420	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:06	2420	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_532.jpg
2023-10-13	13:05:06	2420	[DEBUG]	Full name target: bcprisme/image_532.jpg
2023-10-13	13:05:07	2420	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:07	2420	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_532.jpg'
2023-10-13	13:05:07	2420	[DEBUG]	Query for Media
2023-10-13	13:05:07	2420	[DEBUG]	Executed store
2023-10-13	13:05:07	2420	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_532.jpg',`file_url_thumb`='bcprisme/image_532.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12818'
2023-10-13	13:05:07	2420	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:07	2420	[DEBUG]	Executed store
2023-10-13	13:05:07	2420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861912','12818','1')
2023-10-13	13:05:07	2420	[DEBUG]	Store product image relation
2023-10-13	13:05:07	2420	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:07	2420	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861912 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:07	2420	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:07	2420	[DEBUG]	Executed store
2023-10-13	13:05:07	2420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861912','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:07	2420	[DEBUG]	Checking manufacturer
2023-10-13	13:05:07	2420	[DEBUG]	Load a row
2023-10-13	13:05:07	2420	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:07	2420	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:07	2420	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:07	2420	[DEBUG]	Executed store
2023-10-13	13:05:07	2420	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:07	2420	[DEBUG]	Manufacturer exists
2023-10-13	13:05:07	2420	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:07	2420	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:07	2420	[DEBUG]	Executed store
2023-10-13	13:05:07	2420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861912','32')
2023-10-13	13:05:07	2420	[DEBUG]	Find the custom field ID
2023-10-13	13:05:07	2420	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:07	2420	[DEBUG]	No custom field ID found
2023-10-13	13:05:07	2420	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:07	2420	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:07	2420	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861912 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:07	2420	[DEBUG]	Store custom available field
2023-10-13	13:05:07	2420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861912,3,'12.8641666666667',1)
2023-10-13	13:05:07	2420	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:07	2420	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:07	2420	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861912 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:07	2420	[DEBUG]	Store custom available field
2023-10-13	13:05:07	2420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861912,6,'choisir la taille',3)
2023-10-13	13:05:07	2420	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:07	2420	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:07	2420	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:07	2420	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:07	2420	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861912 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:07	2420	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:07	2420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861912,8,1)
2023-10-13	13:05:07	2420	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:07	2420	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861912\":[1861912,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861912
2023-10-13	13:05:07	2420	[DEBUG]	Checking category
2023-10-13	13:05:07	2420	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:07	2420	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861912
2023-10-13	13:05:07	2420	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:07	2420	[DEBUG]	Executed store
2023-10-13	13:05:07	2420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861912','7345')
2023-10-13	13:05:07	2420	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:07	2420	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861912 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:07	2420	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:07	2420	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861912
2023-10-13	13:05:07	2421	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:07	2421	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:07	2421	[DEBUG]	Use field value for field taille
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:07	2421	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:07	2421	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:07	2421	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:07	2421	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:07	2421	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:07	2421	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:07	2421	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:07	2421	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:07	2421	[DEBUG]	Use field value for field published
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:07	2421	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field override
2023-10-13	13:05:07	2421	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:07	2421	[DEBUG]	Use field value for field slug
2023-10-13	13:05:07	2421	[DEBUG]	Process line 2421
2023-10-13	13:05:07	2421	[DEBUG]	Load a row
2023-10-13	13:05:07	2421	[DEBUG]	Processing item: 8436041559771
2023-10-13	13:05:07	2421	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:07	2421	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:07	2421	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_465_1'
2023-10-13	13:05:07	2421	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:07	2421	[DEBUG]	Processing product tax
2023-10-13	13:05:07	2421	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:07	2421	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:07	2421	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:07	2421	[DEBUG]	Query for Product
2023-10-13	13:05:07	2421	[DEBUG]	Executed store
2023-10-13	13:05:07	2421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861912','8436041559771','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:07	2421	[DEBUG]	No parent found
2023-10-13	13:05:07	2421	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861912 AND customfield_value = 'stockable'
2023-10-13	13:05:07	2421	[DEBUG]	Check product language entry
2023-10-13	13:05:07	2421	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861913
2023-10-13	13:05:07	2421	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:07	2421	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559771' AND `virtuemart_product_id` != 1861913
2023-10-13	13:05:07	2421	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:07	2421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861913, '8436041559771')
2023-10-13	13:05:07	2421	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:07	2421	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-magura-marta-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861913
2023-10-13	13:05:07	2421	[DEBUG]	Query for ProductLang
2023-10-13	13:05:07	2421	[DEBUG]	Executed store
2023-10-13	13:05:07	2421	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins. Magura Marta semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-magura-marta-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861913'
2023-10-13	13:05:07	2421	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_532.jpg
2023-10-13	13:05:07	2421	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:07	2421	[DEBUG]	Process image file
2023-10-13	13:05:07	2421	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:07	2421	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:07	2421	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_532.jpg
2023-10-13	13:05:07	2421	[DEBUG]	Full name target: bcprisme/image_532.jpg
2023-10-13	13:05:08	2421	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:08	2421	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_532.jpg'
2023-10-13	13:05:08	2421	[DEBUG]	Query for Media
2023-10-13	13:05:08	2421	[DEBUG]	Executed store
2023-10-13	13:05:08	2421	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_532.jpg',`file_url_thumb`='bcprisme/image_532.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12818'
2023-10-13	13:05:08	2421	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:08	2421	[DEBUG]	Executed store
2023-10-13	13:05:08	2421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861913','12818','1')
2023-10-13	13:05:08	2421	[DEBUG]	Store product image relation
2023-10-13	13:05:08	2421	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:08	2421	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861913 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:08	2421	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:08	2421	[DEBUG]	Executed store
2023-10-13	13:05:08	2421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861913','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:08	2421	[DEBUG]	Checking manufacturer
2023-10-13	13:05:08	2421	[DEBUG]	Load a row
2023-10-13	13:05:08	2421	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:08	2421	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:08	2421	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:08	2421	[DEBUG]	Executed store
2023-10-13	13:05:08	2421	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:08	2421	[DEBUG]	Manufacturer exists
2023-10-13	13:05:08	2421	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:08	2421	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:08	2421	[DEBUG]	Executed store
2023-10-13	13:05:08	2421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861913','32')
2023-10-13	13:05:08	2421	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:08	2421	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:08	2421	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861913 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:08	2421	[DEBUG]	Store custom available field
2023-10-13	13:05:08	2421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861913,3,'',1)
2023-10-13	13:05:08	2421	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:08	2421	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:08	2421	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861913 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:08	2421	[DEBUG]	Store custom available field
2023-10-13	13:05:08	2421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861913,6,'Set',3)
2023-10-13	13:05:08	2421	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:08	2421	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:08	2421	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861912
2023-10-13	13:05:08	2421	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:08	2421	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861912\":[1861912,8,1,\"choisir la taille\"],\"1861913\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861912
2023-10-13	13:05:08	2421	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:08	2421	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861913
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:08	2422	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field taille
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:08	2422	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:08	2422	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:08	2422	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:08	2422	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:08	2422	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:08	2422	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field published
2023-10-13	13:05:08	2422	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:08	2422	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field override
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:08	2422	[DEBUG]	Use field value for field slug
2023-10-13	13:05:08	2422	[DEBUG]	Process line 2422
2023-10-13	13:05:08	2422	[DEBUG]	Load a row
2023-10-13	13:05:08	2422	[DEBUG]	Processing item: A_466_1
2023-10-13	13:05:08	2422	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:08	2422	[DEBUG]	Processing product tax
2023-10-13	13:05:08	2422	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:08	2422	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:08	2422	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:08	2422	[DEBUG]	Query for Product
2023-10-13	13:05:08	2422	[DEBUG]	Executed store
2023-10-13	13:05:08	2422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_466_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:08	2422	[DEBUG]	Check product language entry
2023-10-13	13:05:08	2422	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861914
2023-10-13	13:05:08	2422	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:08	2422	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_466_1' AND `virtuemart_product_id` != 1861914
2023-10-13	13:05:08	2422	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:08	2422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861914, 'A_466_1')
2023-10-13	13:05:08	2422	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:08	2422	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-magura-louise-clara-2007-semi-metallique-noir' AND `virtuemart_product_id` != 1861914
2023-10-13	13:05:08	2422	[DEBUG]	Query for ProductLang
2023-10-13	13:05:08	2422	[DEBUG]	Executed store
2023-10-13	13:05:08	2422	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. <br>N° art fourn : DK16',`product_name`='MSC Plaquettes de freins. Magura Louise / Clara 2007 semi-métallique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-magura-louise-clara-2007-semi-metallique-noir' WHERE `virtuemart_product_id` = '1861914'
2023-10-13	13:05:08	2422	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_533.jpg
2023-10-13	13:05:08	2422	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:08	2422	[DEBUG]	Process image file
2023-10-13	13:05:08	2422	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:08	2422	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:08	2422	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_533.jpg
2023-10-13	13:05:08	2422	[DEBUG]	Full name target: bcprisme/image_533.jpg
2023-10-13	13:05:09	2422	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:09	2422	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_533.jpg'
2023-10-13	13:05:09	2422	[DEBUG]	Query for Media
2023-10-13	13:05:09	2422	[DEBUG]	Executed store
2023-10-13	13:05:09	2422	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_533.jpg',`file_url_thumb`='bcprisme/image_533.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12819'
2023-10-13	13:05:09	2422	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:09	2422	[DEBUG]	Executed store
2023-10-13	13:05:09	2422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861914','12819','1')
2023-10-13	13:05:09	2422	[DEBUG]	Store product image relation
2023-10-13	13:05:09	2422	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:09	2422	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861914 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:09	2422	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:09	2422	[DEBUG]	Executed store
2023-10-13	13:05:09	2422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861914','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:09	2422	[DEBUG]	Checking manufacturer
2023-10-13	13:05:09	2422	[DEBUG]	Load a row
2023-10-13	13:05:09	2422	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:09	2422	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:09	2422	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:09	2422	[DEBUG]	Executed store
2023-10-13	13:05:09	2422	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:09	2422	[DEBUG]	Manufacturer exists
2023-10-13	13:05:09	2422	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:09	2422	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:09	2422	[DEBUG]	Executed store
2023-10-13	13:05:09	2422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861914','32')
2023-10-13	13:05:09	2422	[DEBUG]	Find the custom field ID
2023-10-13	13:05:09	2422	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:09	2422	[DEBUG]	No custom field ID found
2023-10-13	13:05:09	2422	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:09	2422	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:05:09	2422	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861914 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:09	2422	[DEBUG]	Store custom available field
2023-10-13	13:05:09	2422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861914,3,'16.8530555555556',1)
2023-10-13	13:05:09	2422	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:09	2422	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:09	2422	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861914 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:09	2422	[DEBUG]	Store custom available field
2023-10-13	13:05:09	2422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861914,6,'choisir la taille',3)
2023-10-13	13:05:09	2422	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:09	2422	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:09	2422	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:09	2422	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:09	2422	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861914 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:09	2422	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:09	2422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861914,8,1)
2023-10-13	13:05:09	2422	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:09	2422	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861914\":[1861914,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861914
2023-10-13	13:05:09	2422	[DEBUG]	Checking category
2023-10-13	13:05:09	2422	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:09	2422	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861914
2023-10-13	13:05:09	2422	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:09	2422	[DEBUG]	Executed store
2023-10-13	13:05:09	2422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861914','7345')
2023-10-13	13:05:09	2422	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:09	2422	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861914 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:09	2422	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:09	2422	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861914
2023-10-13	13:05:09	2423	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:09	2423	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:09	2423	[DEBUG]	Use field value for field taille
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:09	2423	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:09	2423	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:09	2423	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:09	2423	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:09	2423	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:09	2423	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:09	2423	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:09	2423	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:09	2423	[DEBUG]	Use field value for field published
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:09	2423	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field override
2023-10-13	13:05:09	2423	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:09	2423	[DEBUG]	Use field value for field slug
2023-10-13	13:05:09	2423	[DEBUG]	Process line 2423
2023-10-13	13:05:09	2423	[DEBUG]	Load a row
2023-10-13	13:05:09	2423	[DEBUG]	Processing item: 8436041559788
2023-10-13	13:05:09	2423	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:09	2423	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:09	2423	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_466_1'
2023-10-13	13:05:09	2423	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:09	2423	[DEBUG]	Processing product tax
2023-10-13	13:05:09	2423	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:09	2423	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:09	2423	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:09	2423	[DEBUG]	Query for Product
2023-10-13	13:05:09	2423	[DEBUG]	Executed store
2023-10-13	13:05:09	2423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861914','8436041559788','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:09	2423	[DEBUG]	No parent found
2023-10-13	13:05:09	2423	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861914 AND customfield_value = 'stockable'
2023-10-13	13:05:09	2423	[DEBUG]	Check product language entry
2023-10-13	13:05:09	2423	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861915
2023-10-13	13:05:09	2423	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:09	2423	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559788' AND `virtuemart_product_id` != 1861915
2023-10-13	13:05:09	2423	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:09	2423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861915, '8436041559788')
2023-10-13	13:05:09	2423	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:09	2423	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-magura-louise-clara-2007-semi-metallique-noir-set' AND `virtuemart_product_id` != 1861915
2023-10-13	13:05:09	2423	[DEBUG]	Query for ProductLang
2023-10-13	13:05:09	2423	[DEBUG]	Executed store
2023-10-13	13:05:09	2423	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins. Magura Louise / Clara 2007 semi-métallique / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-magura-louise-clara-2007-semi-metallique-noir-set' WHERE `virtuemart_product_id` = '1861915'
2023-10-13	13:05:09	2423	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_533.jpg
2023-10-13	13:05:09	2423	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:09	2423	[DEBUG]	Process image file
2023-10-13	13:05:09	2423	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:09	2423	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:09	2423	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_533.jpg
2023-10-13	13:05:09	2423	[DEBUG]	Full name target: bcprisme/image_533.jpg
2023-10-13	13:05:10	2423	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:10	2423	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_533.jpg'
2023-10-13	13:05:10	2423	[DEBUG]	Query for Media
2023-10-13	13:05:10	2423	[DEBUG]	Executed store
2023-10-13	13:05:10	2423	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_533.jpg',`file_url_thumb`='bcprisme/image_533.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12819'
2023-10-13	13:05:10	2423	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:10	2423	[DEBUG]	Executed store
2023-10-13	13:05:10	2423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861915','12819','1')
2023-10-13	13:05:10	2423	[DEBUG]	Store product image relation
2023-10-13	13:05:10	2423	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:10	2423	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861915 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:10	2423	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:10	2423	[DEBUG]	Executed store
2023-10-13	13:05:10	2423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861915','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:10	2423	[DEBUG]	Checking manufacturer
2023-10-13	13:05:10	2423	[DEBUG]	Load a row
2023-10-13	13:05:10	2423	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:10	2423	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:10	2423	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:10	2423	[DEBUG]	Executed store
2023-10-13	13:05:10	2423	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:10	2423	[DEBUG]	Manufacturer exists
2023-10-13	13:05:10	2423	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:10	2423	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:10	2423	[DEBUG]	Executed store
2023-10-13	13:05:10	2423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861915','32')
2023-10-13	13:05:10	2423	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:10	2423	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:10	2423	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861915 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:10	2423	[DEBUG]	Store custom available field
2023-10-13	13:05:10	2423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861915,3,'',1)
2023-10-13	13:05:10	2423	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:10	2423	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:10	2423	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861915 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:10	2423	[DEBUG]	Store custom available field
2023-10-13	13:05:10	2423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861915,6,'Set',3)
2023-10-13	13:05:10	2423	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:10	2423	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:10	2423	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861914
2023-10-13	13:05:10	2423	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:10	2423	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861914\":[1861914,8,1,\"choisir la taille\"],\"1861915\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861914
2023-10-13	13:05:10	2423	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:10	2423	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861915
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:10	2424	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field taille
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:10	2424	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:10	2424	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:10	2424	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:10	2424	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:10	2424	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:10	2424	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field published
2023-10-13	13:05:10	2424	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:10	2424	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field override
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:10	2424	[DEBUG]	Use field value for field slug
2023-10-13	13:05:10	2424	[DEBUG]	Process line 2424
2023-10-13	13:05:10	2424	[DEBUG]	Load a row
2023-10-13	13:05:10	2424	[DEBUG]	Processing item: A_467_1
2023-10-13	13:05:10	2424	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:10	2424	[DEBUG]	Processing product tax
2023-10-13	13:05:10	2424	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:10	2424	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:10	2424	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:10	2424	[DEBUG]	Query for Product
2023-10-13	13:05:10	2424	[DEBUG]	Executed store
2023-10-13	13:05:10	2424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_467_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:10	2424	[DEBUG]	Check product language entry
2023-10-13	13:05:10	2424	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861916
2023-10-13	13:05:10	2424	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:10	2424	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_467_1' AND `virtuemart_product_id` != 1861916
2023-10-13	13:05:10	2424	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:10	2424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861916, 'A_467_1')
2023-10-13	13:05:10	2424	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:10	2424	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-shimano-xt-semi-metallique-noir' AND `virtuemart_product_id` != 1861916
2023-10-13	13:05:10	2424	[DEBUG]	Query for ProductLang
2023-10-13	13:05:10	2424	[DEBUG]	Executed store
2023-10-13	13:05:10	2424	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée.  30gr<br>N° art fourn : DK21',`product_name`='MSC Plaquettes de frein. Shimano XT semi-métallique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-shimano-xt-semi-metallique-noir' WHERE `virtuemart_product_id` = '1861916'
2023-10-13	13:05:10	2424	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_534.jpg
2023-10-13	13:05:10	2424	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:10	2424	[DEBUG]	Process image file
2023-10-13	13:05:10	2424	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:10	2424	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:10	2424	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_534.jpg
2023-10-13	13:05:10	2424	[DEBUG]	Full name target: bcprisme/image_534.jpg
2023-10-13	13:05:11	2424	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:11	2424	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_534.jpg'
2023-10-13	13:05:11	2424	[DEBUG]	Query for Media
2023-10-13	13:05:11	2424	[DEBUG]	Executed store
2023-10-13	13:05:11	2424	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_534.jpg',`file_url_thumb`='bcprisme/image_534.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12820'
2023-10-13	13:05:11	2424	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:11	2424	[DEBUG]	Executed store
2023-10-13	13:05:11	2424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861916','12820','1')
2023-10-13	13:05:11	2424	[DEBUG]	Store product image relation
2023-10-13	13:05:11	2424	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:11	2424	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861916 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:11	2424	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:11	2424	[DEBUG]	Executed store
2023-10-13	13:05:11	2424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861916','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:11	2424	[DEBUG]	Checking manufacturer
2023-10-13	13:05:11	2424	[DEBUG]	Load a row
2023-10-13	13:05:11	2424	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:11	2424	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:11	2424	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:11	2424	[DEBUG]	Executed store
2023-10-13	13:05:11	2424	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:11	2424	[DEBUG]	Manufacturer exists
2023-10-13	13:05:11	2424	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:11	2424	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:11	2424	[DEBUG]	Executed store
2023-10-13	13:05:11	2424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861916','32')
2023-10-13	13:05:11	2424	[DEBUG]	Find the custom field ID
2023-10-13	13:05:11	2424	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:11	2424	[DEBUG]	No custom field ID found
2023-10-13	13:05:11	2424	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:11	2424	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:11	2424	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861916 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:11	2424	[DEBUG]	Store custom available field
2023-10-13	13:05:11	2424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861916,3,'12.8641666666667',1)
2023-10-13	13:05:11	2424	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:11	2424	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:11	2424	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861916 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:11	2424	[DEBUG]	Store custom available field
2023-10-13	13:05:11	2424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861916,6,'choisir la taille',3)
2023-10-13	13:05:11	2424	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:11	2424	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:11	2424	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:11	2424	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:11	2424	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861916 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:11	2424	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:11	2424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861916,8,1)
2023-10-13	13:05:11	2424	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:11	2424	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861916\":[1861916,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861916
2023-10-13	13:05:11	2424	[DEBUG]	Checking category
2023-10-13	13:05:11	2424	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:11	2424	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861916
2023-10-13	13:05:11	2424	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:11	2424	[DEBUG]	Executed store
2023-10-13	13:05:11	2424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861916','7345')
2023-10-13	13:05:11	2424	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:11	2424	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861916 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:11	2424	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:11	2424	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861916
2023-10-13	13:05:11	2425	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:11	2425	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:11	2425	[DEBUG]	Use field value for field taille
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:11	2425	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:11	2425	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:11	2425	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:11	2425	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:11	2425	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:11	2425	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:11	2425	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:11	2425	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:11	2425	[DEBUG]	Use field value for field published
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:11	2425	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field override
2023-10-13	13:05:11	2425	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:11	2425	[DEBUG]	Use field value for field slug
2023-10-13	13:05:11	2425	[DEBUG]	Process line 2425
2023-10-13	13:05:11	2425	[DEBUG]	Load a row
2023-10-13	13:05:11	2425	[DEBUG]	Processing item: 8436041526063
2023-10-13	13:05:11	2425	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:11	2425	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:11	2425	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_467_1'
2023-10-13	13:05:11	2425	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:11	2425	[DEBUG]	Processing product tax
2023-10-13	13:05:11	2425	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:11	2425	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:11	2425	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:11	2425	[DEBUG]	Query for Product
2023-10-13	13:05:11	2425	[DEBUG]	Executed store
2023-10-13	13:05:11	2425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861916','8436041526063','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:11	2425	[DEBUG]	No parent found
2023-10-13	13:05:11	2425	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861916 AND customfield_value = 'stockable'
2023-10-13	13:05:11	2425	[DEBUG]	Check product language entry
2023-10-13	13:05:11	2425	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861917
2023-10-13	13:05:11	2425	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:11	2425	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526063' AND `virtuemart_product_id` != 1861917
2023-10-13	13:05:11	2425	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:11	2425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861917, '8436041526063')
2023-10-13	13:05:11	2425	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:11	2425	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-shimano-xt-semi-metallique-noir-set' AND `virtuemart_product_id` != 1861917
2023-10-13	13:05:11	2425	[DEBUG]	Query for ProductLang
2023-10-13	13:05:11	2425	[DEBUG]	Executed store
2023-10-13	13:05:11	2425	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de frein. Shimano XT semi-métallique / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-shimano-xt-semi-metallique-noir-set' WHERE `virtuemart_product_id` = '1861917'
2023-10-13	13:05:11	2425	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_534.jpg
2023-10-13	13:05:11	2425	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:11	2425	[DEBUG]	Process image file
2023-10-13	13:05:11	2425	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:11	2425	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:11	2425	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_534.jpg
2023-10-13	13:05:11	2425	[DEBUG]	Full name target: bcprisme/image_534.jpg
2023-10-13	13:05:12	2425	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:12	2425	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_534.jpg'
2023-10-13	13:05:12	2425	[DEBUG]	Query for Media
2023-10-13	13:05:12	2425	[DEBUG]	Executed store
2023-10-13	13:05:12	2425	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_534.jpg',`file_url_thumb`='bcprisme/image_534.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12820'
2023-10-13	13:05:12	2425	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:12	2425	[DEBUG]	Executed store
2023-10-13	13:05:12	2425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861917','12820','1')
2023-10-13	13:05:12	2425	[DEBUG]	Store product image relation
2023-10-13	13:05:12	2425	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:12	2425	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861917 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:12	2425	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:12	2425	[DEBUG]	Executed store
2023-10-13	13:05:12	2425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861917','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:12	2425	[DEBUG]	Checking manufacturer
2023-10-13	13:05:12	2425	[DEBUG]	Load a row
2023-10-13	13:05:12	2425	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:12	2425	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:12	2425	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:12	2425	[DEBUG]	Executed store
2023-10-13	13:05:12	2425	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:12	2425	[DEBUG]	Manufacturer exists
2023-10-13	13:05:12	2425	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:12	2425	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:12	2425	[DEBUG]	Executed store
2023-10-13	13:05:12	2425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861917','32')
2023-10-13	13:05:12	2425	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:12	2425	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:12	2425	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861917 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:12	2425	[DEBUG]	Store custom available field
2023-10-13	13:05:12	2425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861917,3,'',1)
2023-10-13	13:05:12	2425	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:12	2425	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:12	2425	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861917 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:12	2425	[DEBUG]	Store custom available field
2023-10-13	13:05:12	2425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861917,6,'Set',3)
2023-10-13	13:05:12	2425	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:12	2425	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:12	2425	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861916
2023-10-13	13:05:12	2425	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:12	2425	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861916\":[1861916,8,1,\"choisir la taille\"],\"1861917\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861916
2023-10-13	13:05:12	2425	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:12	2425	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861917
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:12	2426	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field taille
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:12	2426	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:12	2426	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:12	2426	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:12	2426	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:12	2426	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:12	2426	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field published
2023-10-13	13:05:12	2426	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:12	2426	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field override
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:12	2426	[DEBUG]	Use field value for field slug
2023-10-13	13:05:12	2426	[DEBUG]	Process line 2426
2023-10-13	13:05:12	2426	[DEBUG]	Load a row
2023-10-13	13:05:12	2426	[DEBUG]	Processing item: A_468_1
2023-10-13	13:05:12	2426	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:12	2426	[DEBUG]	Processing product tax
2023-10-13	13:05:12	2426	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:12	2426	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:12	2426	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:12	2426	[DEBUG]	Query for Product
2023-10-13	13:05:12	2426	[DEBUG]	Executed store
2023-10-13	13:05:12	2426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_468_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:12	2426	[DEBUG]	Check product language entry
2023-10-13	13:05:12	2426	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861918
2023-10-13	13:05:12	2426	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:12	2426	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_468_1' AND `virtuemart_product_id` != 1861918
2023-10-13	13:05:12	2426	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:12	2426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861918, 'A_468_1')
2023-10-13	13:05:12	2426	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:12	2426	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-shimano-deore-m555-semi-metallique-noir' AND `virtuemart_product_id` != 1861918
2023-10-13	13:05:12	2426	[DEBUG]	Query for ProductLang
2023-10-13	13:05:12	2426	[DEBUG]	Executed store
2023-10-13	13:05:12	2426	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. 30gr<br>N° art fourn : DK22',`product_name`='MSC Plaquettes de freins Shimano Deore M555 semi-métallique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-shimano-deore-m555-semi-metallique-noir' WHERE `virtuemart_product_id` = '1861918'
2023-10-13	13:05:12	2426	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_535.jpg
2023-10-13	13:05:12	2426	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:12	2426	[DEBUG]	Process image file
2023-10-13	13:05:12	2426	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:12	2426	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:12	2426	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_535.jpg
2023-10-13	13:05:12	2426	[DEBUG]	Full name target: bcprisme/image_535.jpg
2023-10-13	13:05:13	2426	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:13	2426	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_535.jpg'
2023-10-13	13:05:13	2426	[DEBUG]	Query for Media
2023-10-13	13:05:13	2426	[DEBUG]	Executed store
2023-10-13	13:05:13	2426	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_535.jpg',`file_url_thumb`='bcprisme/image_535.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12821'
2023-10-13	13:05:13	2426	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:13	2426	[DEBUG]	Executed store
2023-10-13	13:05:13	2426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861918','12821','1')
2023-10-13	13:05:13	2426	[DEBUG]	Store product image relation
2023-10-13	13:05:13	2426	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:13	2426	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861918 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:13	2426	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:13	2426	[DEBUG]	Executed store
2023-10-13	13:05:13	2426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861918','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:13	2426	[DEBUG]	Checking manufacturer
2023-10-13	13:05:13	2426	[DEBUG]	Load a row
2023-10-13	13:05:13	2426	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:13	2426	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:13	2426	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:13	2426	[DEBUG]	Executed store
2023-10-13	13:05:13	2426	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:13	2426	[DEBUG]	Manufacturer exists
2023-10-13	13:05:13	2426	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:13	2426	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:13	2426	[DEBUG]	Executed store
2023-10-13	13:05:13	2426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861918','32')
2023-10-13	13:05:13	2426	[DEBUG]	Find the custom field ID
2023-10-13	13:05:13	2426	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:13	2426	[DEBUG]	No custom field ID found
2023-10-13	13:05:13	2426	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:13	2426	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:13	2426	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861918 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:13	2426	[DEBUG]	Store custom available field
2023-10-13	13:05:13	2426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861918,3,'12.8641666666667',1)
2023-10-13	13:05:13	2426	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:13	2426	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:13	2426	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861918 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:13	2426	[DEBUG]	Store custom available field
2023-10-13	13:05:13	2426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861918,6,'choisir la taille',3)
2023-10-13	13:05:13	2426	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:13	2426	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:13	2426	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:13	2426	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:13	2426	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861918 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:13	2426	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:13	2426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861918,8,1)
2023-10-13	13:05:13	2426	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:13	2426	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861918\":[1861918,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861918
2023-10-13	13:05:13	2426	[DEBUG]	Checking category
2023-10-13	13:05:13	2426	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:13	2426	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861918
2023-10-13	13:05:13	2426	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:13	2426	[DEBUG]	Executed store
2023-10-13	13:05:13	2426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861918','7345')
2023-10-13	13:05:13	2426	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:13	2426	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861918 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:13	2426	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:13	2426	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861918
2023-10-13	13:05:13	2427	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:13	2427	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:13	2427	[DEBUG]	Use field value for field taille
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:13	2427	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:13	2427	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:13	2427	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:13	2427	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:13	2427	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:13	2427	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:13	2427	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:13	2427	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:13	2427	[DEBUG]	Use field value for field published
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:13	2427	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field override
2023-10-13	13:05:13	2427	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:13	2427	[DEBUG]	Use field value for field slug
2023-10-13	13:05:13	2427	[DEBUG]	Process line 2427
2023-10-13	13:05:13	2427	[DEBUG]	Load a row
2023-10-13	13:05:13	2427	[DEBUG]	Processing item: 8436041526070
2023-10-13	13:05:13	2427	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:13	2427	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:13	2427	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_468_1'
2023-10-13	13:05:13	2427	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:13	2427	[DEBUG]	Processing product tax
2023-10-13	13:05:13	2427	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:13	2427	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:13	2427	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:13	2427	[DEBUG]	Query for Product
2023-10-13	13:05:13	2427	[DEBUG]	Executed store
2023-10-13	13:05:13	2427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861918','8436041526070','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:13	2427	[DEBUG]	No parent found
2023-10-13	13:05:13	2427	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861918 AND customfield_value = 'stockable'
2023-10-13	13:05:13	2427	[DEBUG]	Check product language entry
2023-10-13	13:05:13	2427	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861919
2023-10-13	13:05:13	2427	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:13	2427	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526070' AND `virtuemart_product_id` != 1861919
2023-10-13	13:05:13	2427	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:13	2427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861919, '8436041526070')
2023-10-13	13:05:13	2427	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:13	2427	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-shimano-deore-m555-semi-metallique-noir-set' AND `virtuemart_product_id` != 1861919
2023-10-13	13:05:13	2427	[DEBUG]	Query for ProductLang
2023-10-13	13:05:13	2427	[DEBUG]	Executed store
2023-10-13	13:05:13	2427	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Shimano Deore M555 semi-métallique / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-shimano-deore-m555-semi-metallique-noir-set' WHERE `virtuemart_product_id` = '1861919'
2023-10-13	13:05:13	2427	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_535.jpg
2023-10-13	13:05:13	2427	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:13	2427	[DEBUG]	Process image file
2023-10-13	13:05:13	2427	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:13	2427	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:13	2427	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_535.jpg
2023-10-13	13:05:13	2427	[DEBUG]	Full name target: bcprisme/image_535.jpg
2023-10-13	13:05:14	2427	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:14	2427	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_535.jpg'
2023-10-13	13:05:14	2427	[DEBUG]	Query for Media
2023-10-13	13:05:14	2427	[DEBUG]	Executed store
2023-10-13	13:05:14	2427	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_535.jpg',`file_url_thumb`='bcprisme/image_535.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12821'
2023-10-13	13:05:14	2427	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:14	2427	[DEBUG]	Executed store
2023-10-13	13:05:14	2427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861919','12821','1')
2023-10-13	13:05:14	2427	[DEBUG]	Store product image relation
2023-10-13	13:05:14	2427	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:14	2427	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861919 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:14	2427	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:14	2427	[DEBUG]	Executed store
2023-10-13	13:05:14	2427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861919','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:14	2427	[DEBUG]	Checking manufacturer
2023-10-13	13:05:14	2427	[DEBUG]	Load a row
2023-10-13	13:05:14	2427	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:14	2427	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:14	2427	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:14	2427	[DEBUG]	Executed store
2023-10-13	13:05:14	2427	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:14	2427	[DEBUG]	Manufacturer exists
2023-10-13	13:05:14	2427	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:14	2427	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:14	2427	[DEBUG]	Executed store
2023-10-13	13:05:14	2427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861919','32')
2023-10-13	13:05:14	2427	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:14	2427	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:14	2427	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861919 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:14	2427	[DEBUG]	Store custom available field
2023-10-13	13:05:14	2427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861919,3,'',1)
2023-10-13	13:05:14	2427	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:14	2427	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:14	2427	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861919 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:14	2427	[DEBUG]	Store custom available field
2023-10-13	13:05:14	2427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861919,6,'Set',3)
2023-10-13	13:05:14	2427	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:14	2427	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:14	2427	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861918
2023-10-13	13:05:14	2427	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:14	2427	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861918\":[1861918,8,1,\"choisir la taille\"],\"1861919\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861918
2023-10-13	13:05:14	2427	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:14	2427	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861919
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:14	2428	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field taille
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:14	2428	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:14	2428	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:14	2428	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:14	2428	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:14	2428	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:14	2428	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field published
2023-10-13	13:05:14	2428	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:14	2428	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field override
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:14	2428	[DEBUG]	Use field value for field slug
2023-10-13	13:05:14	2428	[DEBUG]	Process line 2428
2023-10-13	13:05:14	2428	[DEBUG]	Load a row
2023-10-13	13:05:14	2428	[DEBUG]	Processing item: A_469_1
2023-10-13	13:05:14	2428	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:14	2428	[DEBUG]	Processing product tax
2023-10-13	13:05:14	2428	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:14	2428	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:14	2428	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:14	2428	[DEBUG]	Query for Product
2023-10-13	13:05:14	2428	[DEBUG]	Executed store
2023-10-13	13:05:14	2428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_469_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:14	2428	[DEBUG]	Check product language entry
2023-10-13	13:05:14	2428	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861920
2023-10-13	13:05:14	2428	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:14	2428	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_469_1' AND `virtuemart_product_id` != 1861920
2023-10-13	13:05:14	2428	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:14	2428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861920, 'A_469_1')
2023-10-13	13:05:14	2428	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:14	2428	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-shimano-deore-m515-tektro-semi-metallique-noir' AND `virtuemart_product_id` != 1861920
2023-10-13	13:05:14	2428	[DEBUG]	Query for ProductLang
2023-10-13	13:05:14	2428	[DEBUG]	Executed store
2023-10-13	13:05:14	2428	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. Sans ressort. Compatible Shimano et Tektro<br>N° art fourn : DK23',`product_name`='MSC Plaquettes de freins. Shimano Deore M515, Tektro semi-métallique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-shimano-deore-m515-tektro-semi-metallique-noir' WHERE `virtuemart_product_id` = '1861920'
2023-10-13	13:05:14	2428	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_536.jpg
2023-10-13	13:05:14	2428	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:14	2428	[DEBUG]	Process image file
2023-10-13	13:05:14	2428	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:14	2428	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:14	2428	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_536.jpg
2023-10-13	13:05:14	2428	[DEBUG]	Full name target: bcprisme/image_536.jpg
2023-10-13	13:05:15	2428	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:15	2428	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_536.jpg'
2023-10-13	13:05:15	2428	[DEBUG]	Query for Media
2023-10-13	13:05:15	2428	[DEBUG]	Executed store
2023-10-13	13:05:15	2428	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_536.jpg',`file_url_thumb`='bcprisme/image_536.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12822'
2023-10-13	13:05:15	2428	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:15	2428	[DEBUG]	Executed store
2023-10-13	13:05:15	2428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861920','12822','1')
2023-10-13	13:05:15	2428	[DEBUG]	Store product image relation
2023-10-13	13:05:15	2428	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:15	2428	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861920 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:15	2428	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:15	2428	[DEBUG]	Executed store
2023-10-13	13:05:15	2428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861920','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:15	2428	[DEBUG]	Checking manufacturer
2023-10-13	13:05:15	2428	[DEBUG]	Load a row
2023-10-13	13:05:15	2428	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:15	2428	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:15	2428	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:15	2428	[DEBUG]	Executed store
2023-10-13	13:05:15	2428	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:15	2428	[DEBUG]	Manufacturer exists
2023-10-13	13:05:15	2428	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:15	2428	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:15	2428	[DEBUG]	Executed store
2023-10-13	13:05:15	2428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861920','32')
2023-10-13	13:05:15	2428	[DEBUG]	Find the custom field ID
2023-10-13	13:05:15	2428	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:15	2428	[DEBUG]	No custom field ID found
2023-10-13	13:05:15	2428	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:15	2428	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:15	2428	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861920 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:15	2428	[DEBUG]	Store custom available field
2023-10-13	13:05:15	2428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861920,3,'12.8641666666667',1)
2023-10-13	13:05:15	2428	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:15	2428	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:15	2428	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861920 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:15	2428	[DEBUG]	Store custom available field
2023-10-13	13:05:15	2428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861920,6,'choisir la taille',3)
2023-10-13	13:05:15	2428	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:15	2428	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:15	2428	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:15	2428	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:15	2428	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861920 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:15	2428	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:15	2428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861920,8,1)
2023-10-13	13:05:15	2428	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:15	2428	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861920\":[1861920,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861920
2023-10-13	13:05:15	2428	[DEBUG]	Checking category
2023-10-13	13:05:15	2428	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:15	2428	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861920
2023-10-13	13:05:15	2428	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:15	2428	[DEBUG]	Executed store
2023-10-13	13:05:15	2428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861920','7345')
2023-10-13	13:05:15	2428	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:15	2428	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861920 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:15	2428	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:15	2428	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861920
2023-10-13	13:05:15	2429	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:15	2429	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:15	2429	[DEBUG]	Use field value for field taille
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:15	2429	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:15	2429	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:15	2429	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:15	2429	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:15	2429	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:15	2429	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:15	2429	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:15	2429	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:15	2429	[DEBUG]	Use field value for field published
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:15	2429	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field override
2023-10-13	13:05:15	2429	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:15	2429	[DEBUG]	Use field value for field slug
2023-10-13	13:05:15	2429	[DEBUG]	Process line 2429
2023-10-13	13:05:15	2429	[DEBUG]	Load a row
2023-10-13	13:05:15	2429	[DEBUG]	Processing item: 8436041559795
2023-10-13	13:05:15	2429	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:15	2429	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:15	2429	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_469_1'
2023-10-13	13:05:15	2429	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:15	2429	[DEBUG]	Processing product tax
2023-10-13	13:05:15	2429	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:15	2429	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:15	2429	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:15	2429	[DEBUG]	Query for Product
2023-10-13	13:05:15	2429	[DEBUG]	Executed store
2023-10-13	13:05:15	2429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861920','8436041559795','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:15	2429	[DEBUG]	No parent found
2023-10-13	13:05:15	2429	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861920 AND customfield_value = 'stockable'
2023-10-13	13:05:15	2429	[DEBUG]	Check product language entry
2023-10-13	13:05:15	2429	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861921
2023-10-13	13:05:15	2429	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:15	2429	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559795' AND `virtuemart_product_id` != 1861921
2023-10-13	13:05:15	2429	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:15	2429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861921, '8436041559795')
2023-10-13	13:05:15	2429	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:15	2429	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-shimano-deore-m515-tektro-semi-metallique-noir-set' AND `virtuemart_product_id` != 1861921
2023-10-13	13:05:15	2429	[DEBUG]	Query for ProductLang
2023-10-13	13:05:15	2429	[DEBUG]	Executed store
2023-10-13	13:05:15	2429	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins. Shimano Deore M515, Tektro semi-métallique / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-shimano-deore-m515-tektro-semi-metallique-noir-set' WHERE `virtuemart_product_id` = '1861921'
2023-10-13	13:05:15	2429	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_536.jpg
2023-10-13	13:05:15	2429	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:15	2429	[DEBUG]	Process image file
2023-10-13	13:05:15	2429	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:15	2429	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:15	2429	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_536.jpg
2023-10-13	13:05:15	2429	[DEBUG]	Full name target: bcprisme/image_536.jpg
2023-10-13	13:05:16	2429	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:16	2429	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_536.jpg'
2023-10-13	13:05:16	2429	[DEBUG]	Query for Media
2023-10-13	13:05:16	2429	[DEBUG]	Executed store
2023-10-13	13:05:16	2429	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_536.jpg',`file_url_thumb`='bcprisme/image_536.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12822'
2023-10-13	13:05:16	2429	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:16	2429	[DEBUG]	Executed store
2023-10-13	13:05:16	2429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861921','12822','1')
2023-10-13	13:05:16	2429	[DEBUG]	Store product image relation
2023-10-13	13:05:16	2429	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:16	2429	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861921 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:16	2429	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:16	2429	[DEBUG]	Executed store
2023-10-13	13:05:16	2429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861921','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:16	2429	[DEBUG]	Checking manufacturer
2023-10-13	13:05:16	2429	[DEBUG]	Load a row
2023-10-13	13:05:16	2429	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:16	2429	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:16	2429	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:16	2429	[DEBUG]	Executed store
2023-10-13	13:05:16	2429	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:16	2429	[DEBUG]	Manufacturer exists
2023-10-13	13:05:16	2429	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:16	2429	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:16	2429	[DEBUG]	Executed store
2023-10-13	13:05:16	2429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861921','32')
2023-10-13	13:05:16	2429	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:16	2429	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:16	2429	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861921 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:16	2429	[DEBUG]	Store custom available field
2023-10-13	13:05:16	2429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861921,3,'',1)
2023-10-13	13:05:16	2429	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:16	2429	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:16	2429	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861921 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:16	2429	[DEBUG]	Store custom available field
2023-10-13	13:05:16	2429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861921,6,'Set',3)
2023-10-13	13:05:16	2429	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:16	2429	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:16	2429	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861920
2023-10-13	13:05:16	2429	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:16	2429	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861920\":[1861920,8,1,\"choisir la taille\"],\"1861921\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861920
2023-10-13	13:05:16	2429	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:16	2429	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861921
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:16	2430	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field taille
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:16	2430	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:16	2430	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:16	2430	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:16	2430	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:16	2430	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:16	2430	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field published
2023-10-13	13:05:16	2430	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:16	2430	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field override
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:16	2430	[DEBUG]	Use field value for field slug
2023-10-13	13:05:16	2430	[DEBUG]	Process line 2430
2023-10-13	13:05:16	2430	[DEBUG]	Load a row
2023-10-13	13:05:16	2430	[DEBUG]	Processing item: A_470_1
2023-10-13	13:05:16	2430	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:16	2430	[DEBUG]	Processing product tax
2023-10-13	13:05:16	2430	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:16	2430	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:16	2430	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:16	2430	[DEBUG]	Query for Product
2023-10-13	13:05:16	2430	[DEBUG]	Executed store
2023-10-13	13:05:16	2430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_470_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:16	2430	[DEBUG]	Check product language entry
2023-10-13	13:05:16	2430	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861922
2023-10-13	13:05:16	2430	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:16	2430	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_470_1' AND `virtuemart_product_id` != 1861922
2023-10-13	13:05:16	2430	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:16	2430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861922, 'A_470_1')
2023-10-13	13:05:16	2430	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:16	2430	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-shimano-xtr-semi-metallique-noir' AND `virtuemart_product_id` != 1861922
2023-10-13	13:05:16	2430	[DEBUG]	Query for ProductLang
2023-10-13	13:05:16	2430	[DEBUG]	Executed store
2023-10-13	13:05:16	2430	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. 20gr<br>N° art fourn : DK24',`product_name`='MSC Plaquettes de freins. Shimano XTR semi-métallique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-shimano-xtr-semi-metallique-noir' WHERE `virtuemart_product_id` = '1861922'
2023-10-13	13:05:16	2430	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_537.jpg
2023-10-13	13:05:16	2430	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:16	2430	[DEBUG]	Process image file
2023-10-13	13:05:16	2430	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:16	2430	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:16	2430	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_537.jpg
2023-10-13	13:05:16	2430	[DEBUG]	Full name target: bcprisme/image_537.jpg
2023-10-13	13:05:17	2430	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:17	2430	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_537.jpg'
2023-10-13	13:05:17	2430	[DEBUG]	Query for Media
2023-10-13	13:05:17	2430	[DEBUG]	Executed store
2023-10-13	13:05:17	2430	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_537.jpg',`file_url_thumb`='bcprisme/image_537.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12823'
2023-10-13	13:05:17	2430	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:17	2430	[DEBUG]	Executed store
2023-10-13	13:05:17	2430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861922','12823','1')
2023-10-13	13:05:17	2430	[DEBUG]	Store product image relation
2023-10-13	13:05:17	2430	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:17	2430	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861922 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:17	2430	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:17	2430	[DEBUG]	Executed store
2023-10-13	13:05:17	2430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861922','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:17	2430	[DEBUG]	Checking manufacturer
2023-10-13	13:05:17	2430	[DEBUG]	Load a row
2023-10-13	13:05:17	2430	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:17	2430	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:17	2430	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:17	2430	[DEBUG]	Executed store
2023-10-13	13:05:17	2430	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:17	2430	[DEBUG]	Manufacturer exists
2023-10-13	13:05:17	2430	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:17	2430	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:17	2430	[DEBUG]	Executed store
2023-10-13	13:05:17	2430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861922','32')
2023-10-13	13:05:17	2430	[DEBUG]	Find the custom field ID
2023-10-13	13:05:17	2430	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:17	2430	[DEBUG]	No custom field ID found
2023-10-13	13:05:17	2430	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:17	2430	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:17	2430	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861922 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:17	2430	[DEBUG]	Store custom available field
2023-10-13	13:05:17	2430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861922,3,'12.8641666666667',1)
2023-10-13	13:05:17	2430	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:17	2430	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:17	2430	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861922 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:17	2430	[DEBUG]	Store custom available field
2023-10-13	13:05:17	2430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861922,6,'choisir la taille',3)
2023-10-13	13:05:17	2430	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:17	2430	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:17	2430	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:17	2430	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:17	2430	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861922 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:17	2430	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:17	2430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861922,8,1)
2023-10-13	13:05:17	2430	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:17	2430	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861922\":[1861922,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861922
2023-10-13	13:05:17	2430	[DEBUG]	Checking category
2023-10-13	13:05:17	2430	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:17	2430	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861922
2023-10-13	13:05:17	2430	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:17	2430	[DEBUG]	Executed store
2023-10-13	13:05:17	2430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861922','7345')
2023-10-13	13:05:17	2430	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:17	2430	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861922 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:17	2430	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:17	2430	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861922
2023-10-13	13:05:17	2431	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:17	2431	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:17	2431	[DEBUG]	Use field value for field taille
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:17	2431	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:17	2431	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:17	2431	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:17	2431	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:17	2431	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:17	2431	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:17	2431	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:17	2431	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:17	2431	[DEBUG]	Use field value for field published
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:17	2431	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field override
2023-10-13	13:05:17	2431	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:17	2431	[DEBUG]	Use field value for field slug
2023-10-13	13:05:17	2431	[DEBUG]	Process line 2431
2023-10-13	13:05:17	2431	[DEBUG]	Load a row
2023-10-13	13:05:17	2431	[DEBUG]	Processing item: 8436041526087
2023-10-13	13:05:17	2431	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:17	2431	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:17	2431	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_470_1'
2023-10-13	13:05:17	2431	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:17	2431	[DEBUG]	Processing product tax
2023-10-13	13:05:17	2431	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:17	2431	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:17	2431	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:17	2431	[DEBUG]	Query for Product
2023-10-13	13:05:17	2431	[DEBUG]	Executed store
2023-10-13	13:05:17	2431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861922','8436041526087','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:17	2431	[DEBUG]	No parent found
2023-10-13	13:05:17	2431	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861922 AND customfield_value = 'stockable'
2023-10-13	13:05:17	2431	[DEBUG]	Check product language entry
2023-10-13	13:05:17	2431	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861923
2023-10-13	13:05:17	2431	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:17	2431	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526087' AND `virtuemart_product_id` != 1861923
2023-10-13	13:05:17	2431	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:17	2431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861923, '8436041526087')
2023-10-13	13:05:17	2431	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:17	2431	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-shimano-xtr-semi-metallique-noir-set' AND `virtuemart_product_id` != 1861923
2023-10-13	13:05:17	2431	[DEBUG]	Query for ProductLang
2023-10-13	13:05:17	2431	[DEBUG]	Executed store
2023-10-13	13:05:17	2431	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins. Shimano XTR semi-métallique / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-shimano-xtr-semi-metallique-noir-set' WHERE `virtuemart_product_id` = '1861923'
2023-10-13	13:05:17	2431	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_537.jpg
2023-10-13	13:05:17	2431	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:17	2431	[DEBUG]	Process image file
2023-10-13	13:05:17	2431	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:17	2431	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:17	2431	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_537.jpg
2023-10-13	13:05:17	2431	[DEBUG]	Full name target: bcprisme/image_537.jpg
2023-10-13	13:05:18	2431	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:18	2431	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_537.jpg'
2023-10-13	13:05:18	2431	[DEBUG]	Query for Media
2023-10-13	13:05:18	2431	[DEBUG]	Executed store
2023-10-13	13:05:18	2431	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_537.jpg',`file_url_thumb`='bcprisme/image_537.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12823'
2023-10-13	13:05:18	2431	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:18	2431	[DEBUG]	Executed store
2023-10-13	13:05:18	2431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861923','12823','1')
2023-10-13	13:05:18	2431	[DEBUG]	Store product image relation
2023-10-13	13:05:18	2431	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:18	2431	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861923 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:18	2431	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:18	2431	[DEBUG]	Executed store
2023-10-13	13:05:18	2431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861923','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:18	2431	[DEBUG]	Checking manufacturer
2023-10-13	13:05:18	2431	[DEBUG]	Load a row
2023-10-13	13:05:18	2431	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:18	2431	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:18	2431	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:18	2431	[DEBUG]	Executed store
2023-10-13	13:05:18	2431	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:18	2431	[DEBUG]	Manufacturer exists
2023-10-13	13:05:18	2431	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:18	2431	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:18	2431	[DEBUG]	Executed store
2023-10-13	13:05:18	2431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861923','32')
2023-10-13	13:05:18	2431	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:18	2431	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:18	2431	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861923 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:18	2431	[DEBUG]	Store custom available field
2023-10-13	13:05:18	2431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861923,3,'',1)
2023-10-13	13:05:18	2431	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:18	2431	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:18	2431	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861923 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:18	2431	[DEBUG]	Store custom available field
2023-10-13	13:05:18	2431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861923,6,'Set',3)
2023-10-13	13:05:18	2431	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:18	2431	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:18	2431	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861922
2023-10-13	13:05:18	2431	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:18	2431	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861922\":[1861922,8,1,\"choisir la taille\"],\"1861923\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861922
2023-10-13	13:05:18	2431	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:18	2431	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861923
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:18	2432	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field taille
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:18	2432	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:18	2432	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:18	2432	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:18	2432	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:18	2432	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:18	2432	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field published
2023-10-13	13:05:18	2432	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:18	2432	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field override
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:18	2432	[DEBUG]	Use field value for field slug
2023-10-13	13:05:18	2432	[DEBUG]	Process line 2432
2023-10-13	13:05:18	2432	[DEBUG]	Load a row
2023-10-13	13:05:18	2432	[DEBUG]	Processing item: A_471_1
2023-10-13	13:05:18	2432	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:18	2432	[DEBUG]	Processing product tax
2023-10-13	13:05:18	2432	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:18	2432	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:18	2432	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:18	2432	[DEBUG]	Query for Product
2023-10-13	13:05:18	2432	[DEBUG]	Executed store
2023-10-13	13:05:18	2432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_471_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:18	2432	[DEBUG]	Check product language entry
2023-10-13	13:05:18	2432	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861924
2023-10-13	13:05:18	2432	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:18	2432	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_471_1' AND `virtuemart_product_id` != 1861924
2023-10-13	13:05:18	2432	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:18	2432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861924, 'A_471_1')
2023-10-13	13:05:18	2432	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:18	2432	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-mini-semi-metalliques-noir' AND `virtuemart_product_id` != 1861924
2023-10-13	13:05:18	2432	[DEBUG]	Query for ProductLang
2023-10-13	13:05:18	2432	[DEBUG]	Executed store
2023-10-13	13:05:18	2432	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. Sans ressort, 40gr<br>N° art fourn : DK31',`product_name`='MSC Plaquettes de freins Hope Mini semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-mini-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861924'
2023-10-13	13:05:18	2432	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_538.jpg
2023-10-13	13:05:18	2432	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:18	2432	[DEBUG]	Process image file
2023-10-13	13:05:18	2432	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:18	2432	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:18	2432	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_538.jpg
2023-10-13	13:05:18	2432	[DEBUG]	Full name target: bcprisme/image_538.jpg
2023-10-13	13:05:19	2432	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:19	2432	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_538.jpg'
2023-10-13	13:05:19	2432	[DEBUG]	Query for Media
2023-10-13	13:05:19	2432	[DEBUG]	Executed store
2023-10-13	13:05:19	2432	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_538.jpg',`file_url_thumb`='bcprisme/image_538.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12824'
2023-10-13	13:05:19	2432	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:19	2432	[DEBUG]	Executed store
2023-10-13	13:05:19	2432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861924','12824','1')
2023-10-13	13:05:19	2432	[DEBUG]	Store product image relation
2023-10-13	13:05:19	2432	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:19	2432	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861924 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:19	2432	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:19	2432	[DEBUG]	Executed store
2023-10-13	13:05:19	2432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861924','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:19	2432	[DEBUG]	Checking manufacturer
2023-10-13	13:05:19	2432	[DEBUG]	Load a row
2023-10-13	13:05:19	2432	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:19	2432	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:19	2432	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:19	2432	[DEBUG]	Executed store
2023-10-13	13:05:19	2432	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:19	2432	[DEBUG]	Manufacturer exists
2023-10-13	13:05:19	2432	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:19	2432	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:19	2432	[DEBUG]	Executed store
2023-10-13	13:05:19	2432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861924','32')
2023-10-13	13:05:19	2432	[DEBUG]	Find the custom field ID
2023-10-13	13:05:19	2432	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:19	2432	[DEBUG]	No custom field ID found
2023-10-13	13:05:19	2432	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:19	2432	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:19	2432	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861924 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:19	2432	[DEBUG]	Store custom available field
2023-10-13	13:05:19	2432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861924,3,'12.8641666666667',1)
2023-10-13	13:05:19	2432	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:19	2432	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:19	2432	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861924 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:19	2432	[DEBUG]	Store custom available field
2023-10-13	13:05:19	2432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861924,6,'choisir la taille',3)
2023-10-13	13:05:19	2432	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:19	2432	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:19	2432	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:19	2432	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:19	2432	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861924 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:19	2432	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:19	2432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861924,8,1)
2023-10-13	13:05:19	2432	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:19	2432	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861924\":[1861924,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861924
2023-10-13	13:05:19	2432	[DEBUG]	Checking category
2023-10-13	13:05:19	2432	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:19	2432	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861924
2023-10-13	13:05:19	2432	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:19	2432	[DEBUG]	Executed store
2023-10-13	13:05:19	2432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861924','7345')
2023-10-13	13:05:19	2432	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:19	2432	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861924 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:19	2432	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:19	2432	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861924
2023-10-13	13:05:19	2433	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:19	2433	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:19	2433	[DEBUG]	Use field value for field taille
2023-10-13	13:05:19	2433	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:19	2433	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:19	2433	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:19	2433	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:19	2433	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:19	2433	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:19	2433	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:20	2433	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:20	2433	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:20	2433	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:20	2433	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:20	2433	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:20	2433	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:20	2433	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:20	2433	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:20	2433	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:20	2433	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:20	2433	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:20	2433	[DEBUG]	Use field value for field published
2023-10-13	13:05:20	2433	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:20	2433	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:20	2433	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:20	2433	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:20	2433	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:20	2433	[DEBUG]	Use default value for field override
2023-10-13	13:05:20	2433	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:20	2433	[DEBUG]	Use field value for field slug
2023-10-13	13:05:20	2433	[DEBUG]	Process line 2433
2023-10-13	13:05:20	2433	[DEBUG]	Load a row
2023-10-13	13:05:20	2433	[DEBUG]	Processing item: 8436041559801
2023-10-13	13:05:20	2433	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:20	2433	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:20	2433	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_471_1'
2023-10-13	13:05:20	2433	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:20	2433	[DEBUG]	Processing product tax
2023-10-13	13:05:20	2433	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:20	2433	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:20	2433	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:20	2433	[DEBUG]	Query for Product
2023-10-13	13:05:20	2433	[DEBUG]	Executed store
2023-10-13	13:05:20	2433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861924','8436041559801','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:20	2433	[DEBUG]	No parent found
2023-10-13	13:05:20	2433	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861924 AND customfield_value = 'stockable'
2023-10-13	13:05:20	2433	[DEBUG]	Check product language entry
2023-10-13	13:05:20	2433	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861925
2023-10-13	13:05:20	2433	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:20	2433	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559801' AND `virtuemart_product_id` != 1861925
2023-10-13	13:05:20	2433	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:20	2433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861925, '8436041559801')
2023-10-13	13:05:20	2433	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:20	2433	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-mini-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861925
2023-10-13	13:05:20	2433	[DEBUG]	Query for ProductLang
2023-10-13	13:05:20	2433	[DEBUG]	Executed store
2023-10-13	13:05:20	2433	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Hope Mini semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-mini-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861925'
2023-10-13	13:05:20	2433	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_538.jpg
2023-10-13	13:05:20	2433	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:20	2433	[DEBUG]	Process image file
2023-10-13	13:05:20	2433	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:20	2433	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:20	2433	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_538.jpg
2023-10-13	13:05:20	2433	[DEBUG]	Full name target: bcprisme/image_538.jpg
2023-10-13	13:05:21	2433	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:21	2433	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_538.jpg'
2023-10-13	13:05:21	2433	[DEBUG]	Query for Media
2023-10-13	13:05:21	2433	[DEBUG]	Executed store
2023-10-13	13:05:21	2433	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_538.jpg',`file_url_thumb`='bcprisme/image_538.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12824'
2023-10-13	13:05:21	2433	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:21	2433	[DEBUG]	Executed store
2023-10-13	13:05:21	2433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861925','12824','1')
2023-10-13	13:05:21	2433	[DEBUG]	Store product image relation
2023-10-13	13:05:21	2433	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:21	2433	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861925 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:21	2433	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:21	2433	[DEBUG]	Executed store
2023-10-13	13:05:21	2433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861925','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:21	2433	[DEBUG]	Checking manufacturer
2023-10-13	13:05:21	2433	[DEBUG]	Load a row
2023-10-13	13:05:21	2433	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:21	2433	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:21	2433	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:21	2433	[DEBUG]	Executed store
2023-10-13	13:05:21	2433	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:21	2433	[DEBUG]	Manufacturer exists
2023-10-13	13:05:21	2433	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:21	2433	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:21	2433	[DEBUG]	Executed store
2023-10-13	13:05:21	2433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861925','32')
2023-10-13	13:05:21	2433	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:21	2433	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:21	2433	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861925 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:21	2433	[DEBUG]	Store custom available field
2023-10-13	13:05:21	2433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861925,3,'',1)
2023-10-13	13:05:21	2433	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:21	2433	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:21	2433	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861925 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:21	2433	[DEBUG]	Store custom available field
2023-10-13	13:05:21	2433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861925,6,'Set',3)
2023-10-13	13:05:21	2433	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:21	2433	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:21	2433	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861924
2023-10-13	13:05:21	2433	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:21	2433	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861924\":[1861924,8,1,\"choisir la taille\"],\"1861925\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861924
2023-10-13	13:05:21	2433	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:21	2433	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861925
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:21	2434	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field taille
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:21	2434	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:21	2434	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:21	2434	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:21	2434	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:21	2434	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:21	2434	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field published
2023-10-13	13:05:21	2434	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:21	2434	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field override
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:21	2434	[DEBUG]	Use field value for field slug
2023-10-13	13:05:21	2434	[DEBUG]	Process line 2434
2023-10-13	13:05:21	2434	[DEBUG]	Load a row
2023-10-13	13:05:21	2434	[DEBUG]	Processing item: A_472_1
2023-10-13	13:05:21	2434	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:21	2434	[DEBUG]	Processing product tax
2023-10-13	13:05:21	2434	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:21	2434	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:21	2434	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:21	2434	[DEBUG]	Query for Product
2023-10-13	13:05:21	2434	[DEBUG]	Executed store
2023-10-13	13:05:21	2434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_472_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:21	2434	[DEBUG]	Check product language entry
2023-10-13	13:05:21	2434	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861926
2023-10-13	13:05:21	2434	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:21	2434	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_472_1' AND `virtuemart_product_id` != 1861926
2023-10-13	13:05:21	2434	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:21	2434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861926, 'A_472_1')
2023-10-13	13:05:21	2434	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:21	2434	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-c2-semi-metalliques-noir' AND `virtuemart_product_id` != 1861926
2023-10-13	13:05:21	2434	[DEBUG]	Query for ProductLang
2023-10-13	13:05:21	2434	[DEBUG]	Executed store
2023-10-13	13:05:21	2434	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée.  30gr<br>N° art fourn : DK34',`product_name`='MSC Plaquettes de freins. Hope C2 semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-c2-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861926'
2023-10-13	13:05:21	2434	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_539.jpg
2023-10-13	13:05:21	2434	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:21	2434	[DEBUG]	Process image file
2023-10-13	13:05:21	2434	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:21	2434	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:21	2434	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_539.jpg
2023-10-13	13:05:21	2434	[DEBUG]	Full name target: bcprisme/image_539.jpg
2023-10-13	13:05:22	2434	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:22	2434	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_539.jpg'
2023-10-13	13:05:22	2434	[DEBUG]	Query for Media
2023-10-13	13:05:22	2434	[DEBUG]	Executed store
2023-10-13	13:05:22	2434	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_539.jpg',`file_url_thumb`='bcprisme/image_539.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12825'
2023-10-13	13:05:22	2434	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:22	2434	[DEBUG]	Executed store
2023-10-13	13:05:22	2434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861926','12825','1')
2023-10-13	13:05:22	2434	[DEBUG]	Store product image relation
2023-10-13	13:05:22	2434	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:22	2434	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861926 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:22	2434	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:22	2434	[DEBUG]	Executed store
2023-10-13	13:05:22	2434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861926','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:22	2434	[DEBUG]	Checking manufacturer
2023-10-13	13:05:22	2434	[DEBUG]	Load a row
2023-10-13	13:05:22	2434	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:22	2434	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:22	2434	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:22	2434	[DEBUG]	Executed store
2023-10-13	13:05:22	2434	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:22	2434	[DEBUG]	Manufacturer exists
2023-10-13	13:05:22	2434	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:22	2434	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:22	2434	[DEBUG]	Executed store
2023-10-13	13:05:22	2434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861926','32')
2023-10-13	13:05:22	2434	[DEBUG]	Find the custom field ID
2023-10-13	13:05:22	2434	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:22	2434	[DEBUG]	No custom field ID found
2023-10-13	13:05:22	2434	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:22	2434	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:05:22	2434	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861926 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:22	2434	[DEBUG]	Store custom available field
2023-10-13	13:05:22	2434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861926,3,'16.8530555555556',1)
2023-10-13	13:05:22	2434	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:22	2434	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:22	2434	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861926 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:22	2434	[DEBUG]	Store custom available field
2023-10-13	13:05:22	2434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861926,6,'choisir la taille',3)
2023-10-13	13:05:22	2434	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:22	2434	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:22	2434	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:22	2434	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:22	2434	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861926 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:22	2434	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:22	2434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861926,8,1)
2023-10-13	13:05:22	2434	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:22	2434	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861926\":[1861926,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861926
2023-10-13	13:05:22	2434	[DEBUG]	Checking category
2023-10-13	13:05:22	2434	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:22	2434	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861926
2023-10-13	13:05:22	2434	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:22	2434	[DEBUG]	Executed store
2023-10-13	13:05:22	2434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861926','7345')
2023-10-13	13:05:22	2434	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:22	2434	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861926 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:22	2434	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:22	2434	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861926
2023-10-13	13:05:22	2435	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:22	2435	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:22	2435	[DEBUG]	Use field value for field taille
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:22	2435	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:22	2435	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:22	2435	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:22	2435	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:22	2435	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:22	2435	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:22	2435	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:22	2435	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:22	2435	[DEBUG]	Use field value for field published
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:22	2435	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field override
2023-10-13	13:05:22	2435	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:22	2435	[DEBUG]	Use field value for field slug
2023-10-13	13:05:22	2435	[DEBUG]	Process line 2435
2023-10-13	13:05:22	2435	[DEBUG]	Load a row
2023-10-13	13:05:22	2435	[DEBUG]	Processing item: 8436041559818
2023-10-13	13:05:22	2435	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:22	2435	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:22	2435	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_472_1'
2023-10-13	13:05:22	2435	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:22	2435	[DEBUG]	Processing product tax
2023-10-13	13:05:22	2435	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:22	2435	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:22	2435	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:22	2435	[DEBUG]	Query for Product
2023-10-13	13:05:22	2435	[DEBUG]	Executed store
2023-10-13	13:05:22	2435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861926','8436041559818','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:22	2435	[DEBUG]	No parent found
2023-10-13	13:05:22	2435	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861926 AND customfield_value = 'stockable'
2023-10-13	13:05:22	2435	[DEBUG]	Check product language entry
2023-10-13	13:05:22	2435	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861927
2023-10-13	13:05:22	2435	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:22	2435	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559818' AND `virtuemart_product_id` != 1861927
2023-10-13	13:05:22	2435	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:22	2435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861927, '8436041559818')
2023-10-13	13:05:22	2435	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:22	2435	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-c2-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861927
2023-10-13	13:05:22	2435	[DEBUG]	Query for ProductLang
2023-10-13	13:05:22	2435	[DEBUG]	Executed store
2023-10-13	13:05:22	2435	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins. Hope C2 semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-c2-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861927'
2023-10-13	13:05:22	2435	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_539.jpg
2023-10-13	13:05:22	2435	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:22	2435	[DEBUG]	Process image file
2023-10-13	13:05:22	2435	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:22	2435	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:22	2435	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_539.jpg
2023-10-13	13:05:22	2435	[DEBUG]	Full name target: bcprisme/image_539.jpg
2023-10-13	13:05:23	2435	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:23	2435	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_539.jpg'
2023-10-13	13:05:23	2435	[DEBUG]	Query for Media
2023-10-13	13:05:23	2435	[DEBUG]	Executed store
2023-10-13	13:05:23	2435	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_539.jpg',`file_url_thumb`='bcprisme/image_539.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12825'
2023-10-13	13:05:23	2435	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:23	2435	[DEBUG]	Executed store
2023-10-13	13:05:23	2435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861927','12825','1')
2023-10-13	13:05:23	2435	[DEBUG]	Store product image relation
2023-10-13	13:05:23	2435	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:23	2435	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861927 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:23	2435	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:23	2435	[DEBUG]	Executed store
2023-10-13	13:05:23	2435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861927','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:23	2435	[DEBUG]	Checking manufacturer
2023-10-13	13:05:23	2435	[DEBUG]	Load a row
2023-10-13	13:05:23	2435	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:23	2435	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:23	2435	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:23	2435	[DEBUG]	Executed store
2023-10-13	13:05:23	2435	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:23	2435	[DEBUG]	Manufacturer exists
2023-10-13	13:05:23	2435	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:23	2435	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:23	2435	[DEBUG]	Executed store
2023-10-13	13:05:23	2435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861927','32')
2023-10-13	13:05:23	2435	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:23	2435	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:23	2435	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861927 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:23	2435	[DEBUG]	Store custom available field
2023-10-13	13:05:23	2435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861927,3,'',1)
2023-10-13	13:05:23	2435	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:23	2435	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:23	2435	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861927 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:23	2435	[DEBUG]	Store custom available field
2023-10-13	13:05:23	2435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861927,6,'Set',3)
2023-10-13	13:05:23	2435	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:23	2435	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:23	2435	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861926
2023-10-13	13:05:23	2435	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:23	2435	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861926\":[1861926,8,1,\"choisir la taille\"],\"1861927\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861926
2023-10-13	13:05:23	2435	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:23	2435	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861927
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:23	2436	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field taille
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:23	2436	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:23	2436	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:23	2436	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:23	2436	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:23	2436	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:23	2436	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field published
2023-10-13	13:05:23	2436	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:23	2436	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field override
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:23	2436	[DEBUG]	Use field value for field slug
2023-10-13	13:05:23	2436	[DEBUG]	Process line 2436
2023-10-13	13:05:23	2436	[DEBUG]	Load a row
2023-10-13	13:05:23	2436	[DEBUG]	Processing item: A_473_1
2023-10-13	13:05:23	2436	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:23	2436	[DEBUG]	Processing product tax
2023-10-13	13:05:23	2436	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:23	2436	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:23	2436	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:23	2436	[DEBUG]	Query for Product
2023-10-13	13:05:23	2436	[DEBUG]	Executed store
2023-10-13	13:05:23	2436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_473_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:23	2436	[DEBUG]	Check product language entry
2023-10-13	13:05:23	2436	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861928
2023-10-13	13:05:23	2436	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:23	2436	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_473_1' AND `virtuemart_product_id` != 1861928
2023-10-13	13:05:23	2436	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:23	2436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861928, 'A_473_1')
2023-10-13	13:05:23	2436	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:23	2436	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-mono-6-semi-metalliques-noir' AND `virtuemart_product_id` != 1861928
2023-10-13	13:05:23	2436	[DEBUG]	Query for ProductLang
2023-10-13	13:05:23	2436	[DEBUG]	Executed store
2023-10-13	13:05:23	2436	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée.  40gr<br>N° art fourn : DK35',`product_name`='MSC Plaquettes de freins. Hope Mono 6 semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-mono-6-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861928'
2023-10-13	13:05:23	2436	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_540.jpg
2023-10-13	13:05:23	2436	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:05:23	2436	[DEBUG]	Process image file
2023-10-13	13:05:23	2436	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:05:23	2436	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:23	2436	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_540.jpg
2023-10-13	13:05:23	2436	[DEBUG]	Full name target: bcprisme/image_540.jpg
2023-10-13	13:05:24	2436	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:24	2436	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_540.jpg'
2023-10-13	13:05:24	2436	[DEBUG]	Query for Media
2023-10-13	13:05:24	2436	[DEBUG]	Executed store
2023-10-13	13:05:24	2436	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_540.jpg',`file_url_thumb`='bcprisme/image_540.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12826'
2023-10-13	13:05:24	2436	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:24	2436	[DEBUG]	Executed store
2023-10-13	13:05:24	2436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861928','12826','1')
2023-10-13	13:05:24	2436	[DEBUG]	Store product image relation
2023-10-13	13:05:24	2436	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:24	2436	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861928 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:24	2436	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:24	2436	[DEBUG]	Executed store
2023-10-13	13:05:24	2436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861928','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:24	2436	[DEBUG]	Checking manufacturer
2023-10-13	13:05:24	2436	[DEBUG]	Load a row
2023-10-13	13:05:24	2436	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:24	2436	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:24	2436	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:24	2436	[DEBUG]	Executed store
2023-10-13	13:05:24	2436	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:24	2436	[DEBUG]	Manufacturer exists
2023-10-13	13:05:24	2436	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:24	2436	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:24	2436	[DEBUG]	Executed store
2023-10-13	13:05:24	2436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861928','32')
2023-10-13	13:05:24	2436	[DEBUG]	Find the custom field ID
2023-10-13	13:05:24	2436	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:24	2436	[DEBUG]	No custom field ID found
2023-10-13	13:05:24	2436	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:24	2436	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:05:24	2436	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861928 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:24	2436	[DEBUG]	Store custom available field
2023-10-13	13:05:24	2436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861928,3,'16.8530555555556',1)
2023-10-13	13:05:24	2436	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:24	2436	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:24	2436	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861928 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:24	2436	[DEBUG]	Store custom available field
2023-10-13	13:05:24	2436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861928,6,'choisir la taille',3)
2023-10-13	13:05:24	2436	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:24	2436	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:24	2436	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:24	2436	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:24	2436	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861928 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:24	2436	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:24	2436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861928,8,1)
2023-10-13	13:05:24	2436	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:24	2436	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861928\":[1861928,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861928
2023-10-13	13:05:24	2436	[DEBUG]	Checking category
2023-10-13	13:05:24	2436	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:24	2436	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861928
2023-10-13	13:05:24	2436	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:24	2436	[DEBUG]	Executed store
2023-10-13	13:05:24	2436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861928','7345')
2023-10-13	13:05:24	2436	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:24	2436	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861928 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:24	2436	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:24	2436	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861928
2023-10-13	13:05:24	2437	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:24	2437	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:24	2437	[DEBUG]	Use field value for field taille
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:24	2437	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:24	2437	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:24	2437	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:24	2437	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:24	2437	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:24	2437	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:24	2437	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:24	2437	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:24	2437	[DEBUG]	Use field value for field published
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:24	2437	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field override
2023-10-13	13:05:24	2437	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:24	2437	[DEBUG]	Use field value for field slug
2023-10-13	13:05:24	2437	[DEBUG]	Process line 2437
2023-10-13	13:05:24	2437	[DEBUG]	Load a row
2023-10-13	13:05:24	2437	[DEBUG]	Processing item: 1000000005769
2023-10-13	13:05:24	2437	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:24	2437	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:24	2437	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_473_1'
2023-10-13	13:05:24	2437	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:24	2437	[DEBUG]	Processing product tax
2023-10-13	13:05:24	2437	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:24	2437	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:24	2437	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:24	2437	[DEBUG]	Query for Product
2023-10-13	13:05:24	2437	[DEBUG]	Executed store
2023-10-13	13:05:24	2437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861928','1000000005769','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:24	2437	[DEBUG]	No parent found
2023-10-13	13:05:24	2437	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861928 AND customfield_value = 'stockable'
2023-10-13	13:05:24	2437	[DEBUG]	Check product language entry
2023-10-13	13:05:24	2437	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861929
2023-10-13	13:05:24	2437	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:24	2437	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000005769' AND `virtuemart_product_id` != 1861929
2023-10-13	13:05:24	2437	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:24	2437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861929, '1000000005769')
2023-10-13	13:05:24	2437	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:24	2437	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-mono-6-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861929
2023-10-13	13:05:24	2437	[DEBUG]	Query for ProductLang
2023-10-13	13:05:24	2437	[DEBUG]	Executed store
2023-10-13	13:05:24	2437	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins. Hope Mono 6 semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-mono-6-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861929'
2023-10-13	13:05:24	2437	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_540.jpg
2023-10-13	13:05:24	2437	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:05:24	2437	[DEBUG]	Process image file
2023-10-13	13:05:24	2437	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:05:24	2437	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:24	2437	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_540.jpg
2023-10-13	13:05:24	2437	[DEBUG]	Full name target: bcprisme/image_540.jpg
2023-10-13	13:05:25	2437	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:25	2437	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_540.jpg'
2023-10-13	13:05:25	2437	[DEBUG]	Query for Media
2023-10-13	13:05:25	2437	[DEBUG]	Executed store
2023-10-13	13:05:25	2437	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_540.jpg',`file_url_thumb`='bcprisme/image_540.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12826'
2023-10-13	13:05:25	2437	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:25	2437	[DEBUG]	Executed store
2023-10-13	13:05:25	2437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861929','12826','1')
2023-10-13	13:05:25	2437	[DEBUG]	Store product image relation
2023-10-13	13:05:25	2437	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:25	2437	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861929 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:25	2437	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:25	2437	[DEBUG]	Executed store
2023-10-13	13:05:25	2437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861929','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:25	2437	[DEBUG]	Checking manufacturer
2023-10-13	13:05:25	2437	[DEBUG]	Load a row
2023-10-13	13:05:25	2437	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:25	2437	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:25	2437	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:25	2437	[DEBUG]	Executed store
2023-10-13	13:05:25	2437	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:25	2437	[DEBUG]	Manufacturer exists
2023-10-13	13:05:25	2437	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:25	2437	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:25	2437	[DEBUG]	Executed store
2023-10-13	13:05:25	2437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861929','32')
2023-10-13	13:05:25	2437	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:25	2437	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:25	2437	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861929 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:25	2437	[DEBUG]	Store custom available field
2023-10-13	13:05:25	2437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861929,3,'',1)
2023-10-13	13:05:25	2437	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:25	2437	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:25	2437	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861929 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:25	2437	[DEBUG]	Store custom available field
2023-10-13	13:05:25	2437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861929,6,'Set',3)
2023-10-13	13:05:25	2437	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:25	2437	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:25	2437	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861928
2023-10-13	13:05:25	2437	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:25	2437	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861928\":[1861928,8,1,\"choisir la taille\"],\"1861929\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861928
2023-10-13	13:05:25	2437	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:25	2437	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861929
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:25	2438	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field taille
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:25	2438	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:25	2438	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:25	2438	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:25	2438	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:25	2438	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:25	2438	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field published
2023-10-13	13:05:25	2438	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:25	2438	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field override
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:25	2438	[DEBUG]	Use field value for field slug
2023-10-13	13:05:25	2438	[DEBUG]	Process line 2438
2023-10-13	13:05:25	2438	[DEBUG]	Load a row
2023-10-13	13:05:25	2438	[DEBUG]	Processing item: A_474_1
2023-10-13	13:05:25	2438	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:25	2438	[DEBUG]	Processing product tax
2023-10-13	13:05:25	2438	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:25	2438	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:25	2438	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:25	2438	[DEBUG]	Query for Product
2023-10-13	13:05:25	2438	[DEBUG]	Executed store
2023-10-13	13:05:25	2438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_474_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:25	2438	[DEBUG]	Check product language entry
2023-10-13	13:05:25	2438	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861930
2023-10-13	13:05:25	2438	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:25	2438	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_474_1' AND `virtuemart_product_id` != 1861930
2023-10-13	13:05:25	2438	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:25	2438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861930, 'A_474_1')
2023-10-13	13:05:25	2438	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:25	2438	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-mono-mini-semi-metalliques-noir' AND `virtuemart_product_id` != 1861930
2023-10-13	13:05:25	2438	[DEBUG]	Query for ProductLang
2023-10-13	13:05:25	2438	[DEBUG]	Executed store
2023-10-13	13:05:25	2438	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. <br>N° art fourn : DS20',`product_name`='MSC Plaquettes de freins. Hope Mono Mini semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-mono-mini-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861930'
2023-10-13	13:05:25	2438	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_541.jpg
2023-10-13	13:05:25	2438	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:25	2438	[DEBUG]	Process image file
2023-10-13	13:05:25	2438	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:25	2438	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:25	2438	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_541.jpg
2023-10-13	13:05:25	2438	[DEBUG]	Full name target: bcprisme/image_541.jpg
2023-10-13	13:05:26	2438	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:26	2438	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_541.jpg'
2023-10-13	13:05:26	2438	[DEBUG]	Query for Media
2023-10-13	13:05:26	2438	[DEBUG]	Executed store
2023-10-13	13:05:26	2438	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_541.jpg',`file_url_thumb`='bcprisme/image_541.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12827'
2023-10-13	13:05:26	2438	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:26	2438	[DEBUG]	Executed store
2023-10-13	13:05:26	2438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861930','12827','1')
2023-10-13	13:05:26	2438	[DEBUG]	Store product image relation
2023-10-13	13:05:26	2438	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:26	2438	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861930 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:26	2438	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:26	2438	[DEBUG]	Executed store
2023-10-13	13:05:26	2438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861930','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:26	2438	[DEBUG]	Checking manufacturer
2023-10-13	13:05:26	2438	[DEBUG]	Load a row
2023-10-13	13:05:26	2438	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:26	2438	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:26	2438	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:26	2438	[DEBUG]	Executed store
2023-10-13	13:05:26	2438	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:26	2438	[DEBUG]	Manufacturer exists
2023-10-13	13:05:26	2438	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:26	2438	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:26	2438	[DEBUG]	Executed store
2023-10-13	13:05:26	2438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861930','32')
2023-10-13	13:05:26	2438	[DEBUG]	Find the custom field ID
2023-10-13	13:05:26	2438	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:26	2438	[DEBUG]	No custom field ID found
2023-10-13	13:05:26	2438	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:26	2438	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:05:26	2438	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861930 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:26	2438	[DEBUG]	Store custom available field
2023-10-13	13:05:26	2438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861930,3,'16.8530555555556',1)
2023-10-13	13:05:26	2438	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:26	2438	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:26	2438	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861930 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:26	2438	[DEBUG]	Store custom available field
2023-10-13	13:05:26	2438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861930,6,'choisir la taille',3)
2023-10-13	13:05:26	2438	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:26	2438	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:26	2438	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:26	2438	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:26	2438	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861930 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:26	2438	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:26	2438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861930,8,1)
2023-10-13	13:05:26	2438	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:26	2438	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861930\":[1861930,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861930
2023-10-13	13:05:26	2438	[DEBUG]	Checking category
2023-10-13	13:05:26	2438	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:26	2438	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861930
2023-10-13	13:05:26	2438	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:26	2438	[DEBUG]	Executed store
2023-10-13	13:05:26	2438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861930','7345')
2023-10-13	13:05:26	2438	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:26	2438	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861930 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:26	2438	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:26	2438	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861930
2023-10-13	13:05:26	2439	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:26	2439	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:26	2439	[DEBUG]	Use field value for field taille
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:26	2439	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:26	2439	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:26	2439	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:26	2439	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:26	2439	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:26	2439	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:26	2439	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:26	2439	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:26	2439	[DEBUG]	Use field value for field published
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:26	2439	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field override
2023-10-13	13:05:26	2439	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:26	2439	[DEBUG]	Use field value for field slug
2023-10-13	13:05:26	2439	[DEBUG]	Process line 2439
2023-10-13	13:05:26	2439	[DEBUG]	Load a row
2023-10-13	13:05:26	2439	[DEBUG]	Processing item: 8436041526179
2023-10-13	13:05:26	2439	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:26	2439	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:26	2439	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_474_1'
2023-10-13	13:05:26	2439	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:26	2439	[DEBUG]	Processing product tax
2023-10-13	13:05:26	2439	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:26	2439	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:26	2439	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:26	2439	[DEBUG]	Query for Product
2023-10-13	13:05:26	2439	[DEBUG]	Executed store
2023-10-13	13:05:26	2439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861930','8436041526179','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:26	2439	[DEBUG]	No parent found
2023-10-13	13:05:26	2439	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861930 AND customfield_value = 'stockable'
2023-10-13	13:05:26	2439	[DEBUG]	Check product language entry
2023-10-13	13:05:26	2439	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861931
2023-10-13	13:05:26	2439	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:26	2439	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526179' AND `virtuemart_product_id` != 1861931
2023-10-13	13:05:26	2439	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:26	2439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861931, '8436041526179')
2023-10-13	13:05:26	2439	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:26	2439	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-mono-mini-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861931
2023-10-13	13:05:26	2439	[DEBUG]	Query for ProductLang
2023-10-13	13:05:26	2439	[DEBUG]	Executed store
2023-10-13	13:05:26	2439	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins. Hope Mono Mini semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-mono-mini-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861931'
2023-10-13	13:05:26	2439	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_541.jpg
2023-10-13	13:05:26	2439	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:26	2439	[DEBUG]	Process image file
2023-10-13	13:05:26	2439	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:26	2439	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:26	2439	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_541.jpg
2023-10-13	13:05:26	2439	[DEBUG]	Full name target: bcprisme/image_541.jpg
2023-10-13	13:05:27	2439	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:27	2439	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_541.jpg'
2023-10-13	13:05:27	2439	[DEBUG]	Query for Media
2023-10-13	13:05:27	2439	[DEBUG]	Executed store
2023-10-13	13:05:27	2439	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_541.jpg',`file_url_thumb`='bcprisme/image_541.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12827'
2023-10-13	13:05:27	2439	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:27	2439	[DEBUG]	Executed store
2023-10-13	13:05:27	2439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861931','12827','1')
2023-10-13	13:05:27	2439	[DEBUG]	Store product image relation
2023-10-13	13:05:27	2439	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:27	2439	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861931 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:27	2439	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:27	2439	[DEBUG]	Executed store
2023-10-13	13:05:27	2439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861931','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:27	2439	[DEBUG]	Checking manufacturer
2023-10-13	13:05:27	2439	[DEBUG]	Load a row
2023-10-13	13:05:27	2439	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:27	2439	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:27	2439	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:27	2439	[DEBUG]	Executed store
2023-10-13	13:05:27	2439	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:27	2439	[DEBUG]	Manufacturer exists
2023-10-13	13:05:27	2439	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:27	2439	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:27	2439	[DEBUG]	Executed store
2023-10-13	13:05:27	2439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861931','32')
2023-10-13	13:05:27	2439	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:27	2439	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:27	2439	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861931 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:27	2439	[DEBUG]	Store custom available field
2023-10-13	13:05:27	2439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861931,3,'',1)
2023-10-13	13:05:27	2439	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:27	2439	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:27	2439	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861931 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:27	2439	[DEBUG]	Store custom available field
2023-10-13	13:05:27	2439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861931,6,'Set',3)
2023-10-13	13:05:27	2439	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:27	2439	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:27	2439	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861930
2023-10-13	13:05:27	2439	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:27	2439	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861930\":[1861930,8,1,\"choisir la taille\"],\"1861931\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861930
2023-10-13	13:05:27	2439	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:27	2439	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861931
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:27	2440	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field taille
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:27	2440	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:27	2440	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:27	2440	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:27	2440	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:27	2440	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:27	2440	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field published
2023-10-13	13:05:27	2440	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:27	2440	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field override
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:27	2440	[DEBUG]	Use field value for field slug
2023-10-13	13:05:27	2440	[DEBUG]	Process line 2440
2023-10-13	13:05:27	2440	[DEBUG]	Load a row
2023-10-13	13:05:27	2440	[DEBUG]	Processing item: A_475_1
2023-10-13	13:05:27	2440	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:27	2440	[DEBUG]	Processing product tax
2023-10-13	13:05:27	2440	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:27	2440	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:27	2440	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:27	2440	[DEBUG]	Query for Product
2023-10-13	13:05:27	2440	[DEBUG]	Executed store
2023-10-13	13:05:27	2440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_475_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:27	2440	[DEBUG]	Check product language entry
2023-10-13	13:05:27	2440	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861932
2023-10-13	13:05:27	2440	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:27	2440	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_475_1' AND `virtuemart_product_id` != 1861932
2023-10-13	13:05:27	2440	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:27	2440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861932, 'A_475_1')
2023-10-13	13:05:27	2440	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:27	2440	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-moto-v2-semi-metalliques-noir' AND `virtuemart_product_id` != 1861932
2023-10-13	13:05:27	2440	[DEBUG]	Query for ProductLang
2023-10-13	13:05:27	2440	[DEBUG]	Executed store
2023-10-13	13:05:27	2440	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. <br>N° art fourn : DK37',`product_name`='MSC Plaquettes de freins. Hope Moto V2 semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-moto-v2-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861932'
2023-10-13	13:05:27	2440	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_542.jpg
2023-10-13	13:05:27	2440	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:27	2440	[DEBUG]	Process image file
2023-10-13	13:05:27	2440	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:27	2440	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:27	2440	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_542.jpg
2023-10-13	13:05:27	2440	[DEBUG]	Full name target: bcprisme/image_542.jpg
2023-10-13	13:05:28	2440	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:28	2440	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_542.jpg'
2023-10-13	13:05:28	2440	[DEBUG]	Query for Media
2023-10-13	13:05:28	2440	[DEBUG]	Executed store
2023-10-13	13:05:28	2440	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_542.jpg',`file_url_thumb`='bcprisme/image_542.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12828'
2023-10-13	13:05:28	2440	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:28	2440	[DEBUG]	Executed store
2023-10-13	13:05:28	2440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861932','12828','1')
2023-10-13	13:05:28	2440	[DEBUG]	Store product image relation
2023-10-13	13:05:28	2440	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:28	2440	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861932 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:28	2440	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:28	2440	[DEBUG]	Executed store
2023-10-13	13:05:28	2440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861932','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:28	2440	[DEBUG]	Checking manufacturer
2023-10-13	13:05:28	2440	[DEBUG]	Load a row
2023-10-13	13:05:28	2440	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:28	2440	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:28	2440	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:28	2440	[DEBUG]	Executed store
2023-10-13	13:05:28	2440	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:28	2440	[DEBUG]	Manufacturer exists
2023-10-13	13:05:28	2440	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:28	2440	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:28	2440	[DEBUG]	Executed store
2023-10-13	13:05:28	2440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861932','32')
2023-10-13	13:05:28	2440	[DEBUG]	Find the custom field ID
2023-10-13	13:05:28	2440	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:28	2440	[DEBUG]	No custom field ID found
2023-10-13	13:05:28	2440	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:28	2440	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:28	2440	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861932 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:28	2440	[DEBUG]	Store custom available field
2023-10-13	13:05:28	2440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861932,3,'12.8641666666667',1)
2023-10-13	13:05:28	2440	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:28	2440	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:28	2440	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861932 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:28	2440	[DEBUG]	Store custom available field
2023-10-13	13:05:28	2440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861932,6,'choisir la taille',3)
2023-10-13	13:05:28	2440	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:28	2440	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:28	2440	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:28	2440	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:28	2440	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861932 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:28	2440	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:28	2440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861932,8,1)
2023-10-13	13:05:28	2440	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:28	2440	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861932\":[1861932,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861932
2023-10-13	13:05:28	2440	[DEBUG]	Checking category
2023-10-13	13:05:28	2440	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:28	2440	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861932
2023-10-13	13:05:28	2440	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:28	2440	[DEBUG]	Executed store
2023-10-13	13:05:28	2440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861932','7345')
2023-10-13	13:05:28	2440	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:28	2440	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861932 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:28	2440	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:28	2440	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861932
2023-10-13	13:05:28	2441	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:28	2441	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:28	2441	[DEBUG]	Use field value for field taille
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:28	2441	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:28	2441	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:28	2441	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:28	2441	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:28	2441	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:28	2441	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:28	2441	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:28	2441	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:28	2441	[DEBUG]	Use field value for field published
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:28	2441	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field override
2023-10-13	13:05:28	2441	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:28	2441	[DEBUG]	Use field value for field slug
2023-10-13	13:05:28	2441	[DEBUG]	Process line 2441
2023-10-13	13:05:28	2441	[DEBUG]	Load a row
2023-10-13	13:05:28	2441	[DEBUG]	Processing item: 8436041559849
2023-10-13	13:05:28	2441	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:28	2441	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:28	2441	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_475_1'
2023-10-13	13:05:28	2441	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:28	2441	[DEBUG]	Processing product tax
2023-10-13	13:05:28	2441	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:28	2441	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:28	2441	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:28	2441	[DEBUG]	Query for Product
2023-10-13	13:05:28	2441	[DEBUG]	Executed store
2023-10-13	13:05:28	2441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861932','8436041559849','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:28	2441	[DEBUG]	No parent found
2023-10-13	13:05:28	2441	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861932 AND customfield_value = 'stockable'
2023-10-13	13:05:28	2441	[DEBUG]	Check product language entry
2023-10-13	13:05:28	2441	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861933
2023-10-13	13:05:28	2441	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:28	2441	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559849' AND `virtuemart_product_id` != 1861933
2023-10-13	13:05:28	2441	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:28	2441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861933, '8436041559849')
2023-10-13	13:05:28	2441	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:28	2441	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-moto-v2-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861933
2023-10-13	13:05:28	2441	[DEBUG]	Query for ProductLang
2023-10-13	13:05:28	2441	[DEBUG]	Executed store
2023-10-13	13:05:28	2441	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins. Hope Moto V2 semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-moto-v2-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861933'
2023-10-13	13:05:28	2441	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_542.jpg
2023-10-13	13:05:28	2441	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:28	2441	[DEBUG]	Process image file
2023-10-13	13:05:28	2441	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:28	2441	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:28	2441	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_542.jpg
2023-10-13	13:05:28	2441	[DEBUG]	Full name target: bcprisme/image_542.jpg
2023-10-13	13:05:29	2441	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:29	2441	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_542.jpg'
2023-10-13	13:05:29	2441	[DEBUG]	Query for Media
2023-10-13	13:05:29	2441	[DEBUG]	Executed store
2023-10-13	13:05:29	2441	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_542.jpg',`file_url_thumb`='bcprisme/image_542.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12828'
2023-10-13	13:05:29	2441	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:29	2441	[DEBUG]	Executed store
2023-10-13	13:05:29	2441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861933','12828','1')
2023-10-13	13:05:29	2441	[DEBUG]	Store product image relation
2023-10-13	13:05:29	2441	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:29	2441	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861933 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:29	2441	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:29	2441	[DEBUG]	Executed store
2023-10-13	13:05:29	2441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861933','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:29	2441	[DEBUG]	Checking manufacturer
2023-10-13	13:05:29	2441	[DEBUG]	Load a row
2023-10-13	13:05:29	2441	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:29	2441	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:29	2441	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:29	2441	[DEBUG]	Executed store
2023-10-13	13:05:29	2441	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:29	2441	[DEBUG]	Manufacturer exists
2023-10-13	13:05:29	2441	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:29	2441	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:29	2441	[DEBUG]	Executed store
2023-10-13	13:05:29	2441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861933','32')
2023-10-13	13:05:29	2441	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:29	2441	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:29	2441	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861933 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:29	2441	[DEBUG]	Store custom available field
2023-10-13	13:05:29	2441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861933,3,'',1)
2023-10-13	13:05:29	2441	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:29	2441	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:29	2441	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861933 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:29	2441	[DEBUG]	Store custom available field
2023-10-13	13:05:29	2441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861933,6,'Set',3)
2023-10-13	13:05:29	2441	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:29	2441	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:29	2441	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861932
2023-10-13	13:05:29	2441	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:29	2441	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861932\":[1861932,8,1,\"choisir la taille\"],\"1861933\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861932
2023-10-13	13:05:29	2441	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:29	2441	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861933
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:29	2442	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field taille
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:29	2442	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:29	2442	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:29	2442	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:29	2442	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:29	2442	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:29	2442	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field published
2023-10-13	13:05:29	2442	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:29	2442	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field override
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:29	2442	[DEBUG]	Use field value for field slug
2023-10-13	13:05:29	2442	[DEBUG]	Process line 2442
2023-10-13	13:05:29	2442	[DEBUG]	Load a row
2023-10-13	13:05:29	2442	[DEBUG]	Processing item: A_476_1
2023-10-13	13:05:29	2442	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:29	2442	[DEBUG]	Processing product tax
2023-10-13	13:05:29	2442	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:29	2442	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:29	2442	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:29	2442	[DEBUG]	Query for Product
2023-10-13	13:05:29	2442	[DEBUG]	Executed store
2023-10-13	13:05:29	2442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_476_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:29	2442	[DEBUG]	Check product language entry
2023-10-13	13:05:29	2442	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861934
2023-10-13	13:05:29	2442	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:29	2442	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_476_1' AND `virtuemart_product_id` != 1861934
2023-10-13	13:05:29	2442	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:29	2442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861934, 'A_476_1')
2023-10-13	13:05:29	2442	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:29	2442	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hayes-hfx-9-et-hfx-1-semi-metalliques-noir' AND `virtuemart_product_id` != 1861934
2023-10-13	13:05:29	2442	[DEBUG]	Query for ProductLang
2023-10-13	13:05:29	2442	[DEBUG]	Executed store
2023-10-13	13:05:29	2442	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée.  30gr HFX.9 et HFX-1<br>N° art fourn : DK41',`product_name`='MSC Plaquettes de freins Hayes HFX.9 et HFX-1 semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hayes-hfx-9-et-hfx-1-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861934'
2023-10-13	13:05:29	2442	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_543.jpg
2023-10-13	13:05:29	2442	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:29	2442	[DEBUG]	Process image file
2023-10-13	13:05:29	2442	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:29	2442	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:29	2442	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_543.jpg
2023-10-13	13:05:29	2442	[DEBUG]	Full name target: bcprisme/image_543.jpg
2023-10-13	13:05:30	2442	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:30	2442	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_543.jpg'
2023-10-13	13:05:30	2442	[DEBUG]	Query for Media
2023-10-13	13:05:30	2442	[DEBUG]	Executed store
2023-10-13	13:05:30	2442	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_543.jpg',`file_url_thumb`='bcprisme/image_543.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12829'
2023-10-13	13:05:30	2442	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:30	2442	[DEBUG]	Executed store
2023-10-13	13:05:30	2442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861934','12829','1')
2023-10-13	13:05:30	2442	[DEBUG]	Store product image relation
2023-10-13	13:05:30	2442	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:30	2442	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861934 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:30	2442	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:30	2442	[DEBUG]	Executed store
2023-10-13	13:05:30	2442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861934','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:30	2442	[DEBUG]	Checking manufacturer
2023-10-13	13:05:30	2442	[DEBUG]	Load a row
2023-10-13	13:05:30	2442	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:30	2442	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:30	2442	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:30	2442	[DEBUG]	Executed store
2023-10-13	13:05:30	2442	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:30	2442	[DEBUG]	Manufacturer exists
2023-10-13	13:05:30	2442	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:30	2442	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:30	2442	[DEBUG]	Executed store
2023-10-13	13:05:30	2442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861934','32')
2023-10-13	13:05:30	2442	[DEBUG]	Find the custom field ID
2023-10-13	13:05:30	2442	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:30	2442	[DEBUG]	No custom field ID found
2023-10-13	13:05:30	2442	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:30	2442	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:30	2442	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861934 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:30	2442	[DEBUG]	Store custom available field
2023-10-13	13:05:30	2442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861934,3,'12.8641666666667',1)
2023-10-13	13:05:30	2442	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:30	2442	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:30	2442	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861934 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:30	2442	[DEBUG]	Store custom available field
2023-10-13	13:05:30	2442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861934,6,'choisir la taille',3)
2023-10-13	13:05:30	2442	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:30	2442	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:30	2442	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:30	2442	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:30	2442	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861934 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:30	2442	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:30	2442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861934,8,1)
2023-10-13	13:05:30	2442	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:30	2442	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861934\":[1861934,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861934
2023-10-13	13:05:30	2442	[DEBUG]	Checking category
2023-10-13	13:05:30	2442	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:30	2442	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861934
2023-10-13	13:05:30	2442	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:30	2442	[DEBUG]	Executed store
2023-10-13	13:05:30	2442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861934','7345')
2023-10-13	13:05:30	2442	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:30	2442	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861934 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:30	2442	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:30	2442	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861934
2023-10-13	13:05:30	2443	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:30	2443	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:30	2443	[DEBUG]	Use field value for field taille
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:30	2443	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:30	2443	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:30	2443	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:30	2443	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:30	2443	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:30	2443	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:30	2443	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:30	2443	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:30	2443	[DEBUG]	Use field value for field published
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:30	2443	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field override
2023-10-13	13:05:30	2443	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:30	2443	[DEBUG]	Use field value for field slug
2023-10-13	13:05:30	2443	[DEBUG]	Process line 2443
2023-10-13	13:05:30	2443	[DEBUG]	Load a row
2023-10-13	13:05:30	2443	[DEBUG]	Processing item: 8436041526094
2023-10-13	13:05:30	2443	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:30	2443	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:30	2443	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_476_1'
2023-10-13	13:05:30	2443	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:30	2443	[DEBUG]	Processing product tax
2023-10-13	13:05:30	2443	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:30	2443	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:30	2443	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:30	2443	[DEBUG]	Query for Product
2023-10-13	13:05:30	2443	[DEBUG]	Executed store
2023-10-13	13:05:30	2443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861934','8436041526094','0','KG','M','','11','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:30	2443	[DEBUG]	No parent found
2023-10-13	13:05:30	2443	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861934 AND customfield_value = 'stockable'
2023-10-13	13:05:30	2443	[DEBUG]	Check product language entry
2023-10-13	13:05:30	2443	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861935
2023-10-13	13:05:30	2443	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:30	2443	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526094' AND `virtuemart_product_id` != 1861935
2023-10-13	13:05:30	2443	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:30	2443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861935, '8436041526094')
2023-10-13	13:05:30	2443	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:30	2443	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hayes-hfx-9-et-hfx-1-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861935
2023-10-13	13:05:30	2443	[DEBUG]	Query for ProductLang
2023-10-13	13:05:30	2443	[DEBUG]	Executed store
2023-10-13	13:05:30	2443	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Hayes HFX.9 et HFX-1 semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hayes-hfx-9-et-hfx-1-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861935'
2023-10-13	13:05:30	2443	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_543.jpg
2023-10-13	13:05:30	2443	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:30	2443	[DEBUG]	Process image file
2023-10-13	13:05:30	2443	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:30	2443	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:30	2443	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_543.jpg
2023-10-13	13:05:30	2443	[DEBUG]	Full name target: bcprisme/image_543.jpg
2023-10-13	13:05:31	2443	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:31	2443	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_543.jpg'
2023-10-13	13:05:31	2443	[DEBUG]	Query for Media
2023-10-13	13:05:31	2443	[DEBUG]	Executed store
2023-10-13	13:05:31	2443	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_543.jpg',`file_url_thumb`='bcprisme/image_543.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12829'
2023-10-13	13:05:31	2443	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:31	2443	[DEBUG]	Executed store
2023-10-13	13:05:31	2443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861935','12829','1')
2023-10-13	13:05:31	2443	[DEBUG]	Store product image relation
2023-10-13	13:05:31	2443	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:31	2443	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861935 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:31	2443	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:31	2443	[DEBUG]	Executed store
2023-10-13	13:05:31	2443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861935','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:31	2443	[DEBUG]	Checking manufacturer
2023-10-13	13:05:31	2443	[DEBUG]	Load a row
2023-10-13	13:05:31	2443	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:31	2443	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:31	2443	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:31	2443	[DEBUG]	Executed store
2023-10-13	13:05:31	2443	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:31	2443	[DEBUG]	Manufacturer exists
2023-10-13	13:05:31	2443	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:31	2443	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:31	2443	[DEBUG]	Executed store
2023-10-13	13:05:31	2443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861935','32')
2023-10-13	13:05:31	2443	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:31	2443	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:31	2443	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861935 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:31	2443	[DEBUG]	Store custom available field
2023-10-13	13:05:31	2443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861935,3,'',1)
2023-10-13	13:05:31	2443	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:31	2443	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:31	2443	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861935 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:31	2443	[DEBUG]	Store custom available field
2023-10-13	13:05:31	2443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861935,6,'Set',3)
2023-10-13	13:05:31	2443	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:31	2443	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:31	2443	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861934
2023-10-13	13:05:31	2443	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:31	2443	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861934\":[1861934,8,1,\"choisir la taille\"],\"1861935\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861934
2023-10-13	13:05:31	2443	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:31	2443	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861935
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:31	2444	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field taille
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:31	2444	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:31	2444	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:31	2444	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:31	2444	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:31	2444	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:31	2444	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field published
2023-10-13	13:05:31	2444	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:31	2444	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field override
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:31	2444	[DEBUG]	Use field value for field slug
2023-10-13	13:05:31	2444	[DEBUG]	Process line 2444
2023-10-13	13:05:31	2444	[DEBUG]	Load a row
2023-10-13	13:05:31	2444	[DEBUG]	Processing item: A_477_1
2023-10-13	13:05:31	2444	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:31	2444	[DEBUG]	Processing product tax
2023-10-13	13:05:31	2444	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:31	2444	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:31	2444	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:31	2444	[DEBUG]	Query for Product
2023-10-13	13:05:31	2444	[DEBUG]	Executed store
2023-10-13	13:05:31	2444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_477_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:31	2444	[DEBUG]	Check product language entry
2023-10-13	13:05:31	2444	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861936
2023-10-13	13:05:31	2444	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:31	2444	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_477_1' AND `virtuemart_product_id` != 1861936
2023-10-13	13:05:31	2444	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:31	2444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861936, 'A_477_1')
2023-10-13	13:05:31	2444	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:31	2444	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hayes-sole-semi-metalliques-noir' AND `virtuemart_product_id` != 1861936
2023-10-13	13:05:31	2444	[DEBUG]	Query for ProductLang
2023-10-13	13:05:31	2444	[DEBUG]	Executed store
2023-10-13	13:05:31	2444	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. 30gr<br>N° art fourn : DK42',`product_name`='MSC Plaquettes de freins. Hayes Sole semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hayes-sole-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861936'
2023-10-13	13:05:31	2444	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_544.jpg
2023-10-13	13:05:31	2444	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:31	2444	[DEBUG]	Process image file
2023-10-13	13:05:31	2444	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:31	2444	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:31	2444	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_544.jpg
2023-10-13	13:05:31	2444	[DEBUG]	Full name target: bcprisme/image_544.jpg
2023-10-13	13:05:32	2444	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:32	2444	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_544.jpg'
2023-10-13	13:05:32	2444	[DEBUG]	Query for Media
2023-10-13	13:05:32	2444	[DEBUG]	Executed store
2023-10-13	13:05:32	2444	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_544.jpg',`file_url_thumb`='bcprisme/image_544.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12830'
2023-10-13	13:05:32	2444	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:32	2444	[DEBUG]	Executed store
2023-10-13	13:05:32	2444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861936','12830','1')
2023-10-13	13:05:32	2444	[DEBUG]	Store product image relation
2023-10-13	13:05:32	2444	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:32	2444	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861936 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:32	2444	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:32	2444	[DEBUG]	Executed store
2023-10-13	13:05:32	2444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861936','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:32	2444	[DEBUG]	Checking manufacturer
2023-10-13	13:05:32	2444	[DEBUG]	Load a row
2023-10-13	13:05:32	2444	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:32	2444	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:32	2444	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:32	2444	[DEBUG]	Executed store
2023-10-13	13:05:32	2444	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:32	2444	[DEBUG]	Manufacturer exists
2023-10-13	13:05:32	2444	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:32	2444	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:32	2444	[DEBUG]	Executed store
2023-10-13	13:05:32	2444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861936','32')
2023-10-13	13:05:32	2444	[DEBUG]	Find the custom field ID
2023-10-13	13:05:32	2444	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:32	2444	[DEBUG]	No custom field ID found
2023-10-13	13:05:32	2444	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:32	2444	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:05:32	2444	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861936 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:32	2444	[DEBUG]	Store custom available field
2023-10-13	13:05:32	2444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861936,3,'16.8530555555556',1)
2023-10-13	13:05:32	2444	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:32	2444	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:32	2444	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861936 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:32	2444	[DEBUG]	Store custom available field
2023-10-13	13:05:32	2444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861936,6,'choisir la taille',3)
2023-10-13	13:05:32	2444	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:32	2444	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:32	2444	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:32	2444	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:32	2444	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861936 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:32	2444	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:32	2444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861936,8,1)
2023-10-13	13:05:32	2444	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:32	2444	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861936\":[1861936,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861936
2023-10-13	13:05:32	2444	[DEBUG]	Checking category
2023-10-13	13:05:32	2444	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:32	2444	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861936
2023-10-13	13:05:32	2444	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:32	2444	[DEBUG]	Executed store
2023-10-13	13:05:32	2444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861936','7345')
2023-10-13	13:05:32	2444	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:32	2444	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861936 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:32	2444	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:32	2444	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861936
2023-10-13	13:05:32	2445	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:32	2445	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:32	2445	[DEBUG]	Use field value for field taille
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:32	2445	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:32	2445	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:32	2445	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:32	2445	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:32	2445	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:32	2445	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:32	2445	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:32	2445	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:32	2445	[DEBUG]	Use field value for field published
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:32	2445	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field override
2023-10-13	13:05:32	2445	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:32	2445	[DEBUG]	Use field value for field slug
2023-10-13	13:05:33	2445	[DEBUG]	Process line 2445
2023-10-13	13:05:33	2445	[DEBUG]	Load a row
2023-10-13	13:05:33	2445	[DEBUG]	Processing item: 8436041559856
2023-10-13	13:05:33	2445	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:33	2445	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:33	2445	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_477_1'
2023-10-13	13:05:33	2445	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:33	2445	[DEBUG]	Processing product tax
2023-10-13	13:05:33	2445	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:33	2445	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:33	2445	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:33	2445	[DEBUG]	Query for Product
2023-10-13	13:05:33	2445	[DEBUG]	Executed store
2023-10-13	13:05:33	2445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861936','8436041559856','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:33	2445	[DEBUG]	No parent found
2023-10-13	13:05:33	2445	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861936 AND customfield_value = 'stockable'
2023-10-13	13:05:33	2445	[DEBUG]	Check product language entry
2023-10-13	13:05:33	2445	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861937
2023-10-13	13:05:33	2445	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:33	2445	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559856' AND `virtuemart_product_id` != 1861937
2023-10-13	13:05:33	2445	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:33	2445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861937, '8436041559856')
2023-10-13	13:05:33	2445	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:33	2445	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hayes-sole-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861937
2023-10-13	13:05:33	2445	[DEBUG]	Query for ProductLang
2023-10-13	13:05:33	2445	[DEBUG]	Executed store
2023-10-13	13:05:33	2445	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins. Hayes Sole semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hayes-sole-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861937'
2023-10-13	13:05:33	2445	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_544.jpg
2023-10-13	13:05:33	2445	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:33	2445	[DEBUG]	Process image file
2023-10-13	13:05:33	2445	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:33	2445	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:33	2445	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_544.jpg
2023-10-13	13:05:33	2445	[DEBUG]	Full name target: bcprisme/image_544.jpg
2023-10-13	13:05:34	2445	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:34	2445	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_544.jpg'
2023-10-13	13:05:34	2445	[DEBUG]	Query for Media
2023-10-13	13:05:34	2445	[DEBUG]	Executed store
2023-10-13	13:05:34	2445	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_544.jpg',`file_url_thumb`='bcprisme/image_544.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12830'
2023-10-13	13:05:34	2445	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:34	2445	[DEBUG]	Executed store
2023-10-13	13:05:34	2445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861937','12830','1')
2023-10-13	13:05:34	2445	[DEBUG]	Store product image relation
2023-10-13	13:05:34	2445	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:34	2445	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861937 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:34	2445	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:34	2445	[DEBUG]	Executed store
2023-10-13	13:05:34	2445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861937','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:34	2445	[DEBUG]	Checking manufacturer
2023-10-13	13:05:34	2445	[DEBUG]	Load a row
2023-10-13	13:05:34	2445	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:34	2445	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:34	2445	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:34	2445	[DEBUG]	Executed store
2023-10-13	13:05:34	2445	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:34	2445	[DEBUG]	Manufacturer exists
2023-10-13	13:05:34	2445	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:34	2445	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:34	2445	[DEBUG]	Executed store
2023-10-13	13:05:34	2445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861937','32')
2023-10-13	13:05:34	2445	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:34	2445	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:34	2445	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861937 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:34	2445	[DEBUG]	Store custom available field
2023-10-13	13:05:34	2445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861937,3,'',1)
2023-10-13	13:05:34	2445	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:34	2445	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:34	2445	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861937 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:34	2445	[DEBUG]	Store custom available field
2023-10-13	13:05:34	2445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861937,6,'Set',3)
2023-10-13	13:05:34	2445	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:34	2445	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:34	2445	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861936
2023-10-13	13:05:34	2445	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:34	2445	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861936\":[1861936,8,1,\"choisir la taille\"],\"1861937\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861936
2023-10-13	13:05:34	2445	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:34	2445	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861937
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:34	2446	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field taille
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:34	2446	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:34	2446	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:34	2446	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:34	2446	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:34	2446	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:34	2446	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field published
2023-10-13	13:05:34	2446	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:34	2446	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field override
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:34	2446	[DEBUG]	Use field value for field slug
2023-10-13	13:05:34	2446	[DEBUG]	Process line 2446
2023-10-13	13:05:34	2446	[DEBUG]	Load a row
2023-10-13	13:05:34	2446	[DEBUG]	Processing item: A_478_1
2023-10-13	13:05:34	2446	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:34	2446	[DEBUG]	Processing product tax
2023-10-13	13:05:34	2446	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:34	2446	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:34	2446	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:34	2446	[DEBUG]	Query for Product
2023-10-13	13:05:34	2446	[DEBUG]	Executed store
2023-10-13	13:05:34	2446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_478_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:34	2446	[DEBUG]	Check product language entry
2023-10-13	13:05:34	2446	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861938
2023-10-13	13:05:34	2446	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:34	2446	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_478_1' AND `virtuemart_product_id` != 1861938
2023-10-13	13:05:34	2446	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:34	2446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861938, 'A_478_1')
2023-10-13	13:05:34	2446	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:34	2446	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hayes-el-camino-semi-metalliques-noir' AND `virtuemart_product_id` != 1861938
2023-10-13	13:05:34	2446	[DEBUG]	Query for ProductLang
2023-10-13	13:05:34	2446	[DEBUG]	Executed store
2023-10-13	13:05:34	2446	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée.  30gr<br>N° art fourn : DK43',`product_name`='MSC Plaquettes de freins. Hayes El Camino semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hayes-el-camino-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861938'
2023-10-13	13:05:34	2446	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_545.jpg
2023-10-13	13:05:34	2446	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:34	2446	[DEBUG]	Process image file
2023-10-13	13:05:34	2446	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:34	2446	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:34	2446	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_545.jpg
2023-10-13	13:05:34	2446	[DEBUG]	Full name target: bcprisme/image_545.jpg
2023-10-13	13:05:35	2446	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:35	2446	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_545.jpg'
2023-10-13	13:05:35	2446	[DEBUG]	Query for Media
2023-10-13	13:05:35	2446	[DEBUG]	Executed store
2023-10-13	13:05:35	2446	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_545.jpg',`file_url_thumb`='bcprisme/image_545.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12831'
2023-10-13	13:05:35	2446	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:35	2446	[DEBUG]	Executed store
2023-10-13	13:05:35	2446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861938','12831','1')
2023-10-13	13:05:35	2446	[DEBUG]	Store product image relation
2023-10-13	13:05:35	2446	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:35	2446	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861938 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:35	2446	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:35	2446	[DEBUG]	Executed store
2023-10-13	13:05:35	2446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861938','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:35	2446	[DEBUG]	Checking manufacturer
2023-10-13	13:05:35	2446	[DEBUG]	Load a row
2023-10-13	13:05:35	2446	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:35	2446	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:35	2446	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:35	2446	[DEBUG]	Executed store
2023-10-13	13:05:35	2446	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:35	2446	[DEBUG]	Manufacturer exists
2023-10-13	13:05:35	2446	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:35	2446	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:35	2446	[DEBUG]	Executed store
2023-10-13	13:05:35	2446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861938','32')
2023-10-13	13:05:35	2446	[DEBUG]	Find the custom field ID
2023-10-13	13:05:35	2446	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:35	2446	[DEBUG]	No custom field ID found
2023-10-13	13:05:35	2446	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:35	2446	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:05:35	2446	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861938 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:35	2446	[DEBUG]	Store custom available field
2023-10-13	13:05:35	2446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861938,3,'16.8530555555556',1)
2023-10-13	13:05:35	2446	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:35	2446	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:35	2446	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861938 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:35	2446	[DEBUG]	Store custom available field
2023-10-13	13:05:35	2446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861938,6,'choisir la taille',3)
2023-10-13	13:05:35	2446	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:35	2446	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:35	2446	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:35	2446	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:35	2446	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861938 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:35	2446	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:35	2446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861938,8,1)
2023-10-13	13:05:35	2446	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:35	2446	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861938\":[1861938,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861938
2023-10-13	13:05:35	2446	[DEBUG]	Checking category
2023-10-13	13:05:35	2446	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:35	2446	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861938
2023-10-13	13:05:35	2446	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:35	2446	[DEBUG]	Executed store
2023-10-13	13:05:35	2446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861938','7345')
2023-10-13	13:05:35	2446	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:35	2446	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861938 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:35	2446	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:35	2446	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861938
2023-10-13	13:05:35	2447	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:35	2447	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:35	2447	[DEBUG]	Use field value for field taille
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:35	2447	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:35	2447	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:35	2447	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:35	2447	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:35	2447	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:35	2447	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:35	2447	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:35	2447	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:35	2447	[DEBUG]	Use field value for field published
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:35	2447	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field override
2023-10-13	13:05:35	2447	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:35	2447	[DEBUG]	Use field value for field slug
2023-10-13	13:05:35	2447	[DEBUG]	Process line 2447
2023-10-13	13:05:35	2447	[DEBUG]	Load a row
2023-10-13	13:05:35	2447	[DEBUG]	Processing item: 8436041559863
2023-10-13	13:05:35	2447	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:35	2447	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:35	2447	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_478_1'
2023-10-13	13:05:35	2447	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:35	2447	[DEBUG]	Processing product tax
2023-10-13	13:05:35	2447	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:35	2447	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:35	2447	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:35	2447	[DEBUG]	Query for Product
2023-10-13	13:05:35	2447	[DEBUG]	Executed store
2023-10-13	13:05:35	2447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861938','8436041559863','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:35	2447	[DEBUG]	No parent found
2023-10-13	13:05:35	2447	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861938 AND customfield_value = 'stockable'
2023-10-13	13:05:35	2447	[DEBUG]	Check product language entry
2023-10-13	13:05:35	2447	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861939
2023-10-13	13:05:35	2447	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:35	2447	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559863' AND `virtuemart_product_id` != 1861939
2023-10-13	13:05:35	2447	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:35	2447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861939, '8436041559863')
2023-10-13	13:05:35	2447	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:35	2447	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hayes-el-camino-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861939
2023-10-13	13:05:35	2447	[DEBUG]	Query for ProductLang
2023-10-13	13:05:35	2447	[DEBUG]	Executed store
2023-10-13	13:05:35	2447	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins. Hayes El Camino semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hayes-el-camino-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861939'
2023-10-13	13:05:35	2447	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_545.jpg
2023-10-13	13:05:35	2447	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:35	2447	[DEBUG]	Process image file
2023-10-13	13:05:35	2447	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:35	2447	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:35	2447	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_545.jpg
2023-10-13	13:05:35	2447	[DEBUG]	Full name target: bcprisme/image_545.jpg
2023-10-13	13:05:36	2447	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:36	2447	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_545.jpg'
2023-10-13	13:05:36	2447	[DEBUG]	Query for Media
2023-10-13	13:05:36	2447	[DEBUG]	Executed store
2023-10-13	13:05:36	2447	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_545.jpg',`file_url_thumb`='bcprisme/image_545.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12831'
2023-10-13	13:05:36	2447	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:36	2447	[DEBUG]	Executed store
2023-10-13	13:05:36	2447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861939','12831','1')
2023-10-13	13:05:36	2447	[DEBUG]	Store product image relation
2023-10-13	13:05:36	2447	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:36	2447	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861939 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:36	2447	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:36	2447	[DEBUG]	Executed store
2023-10-13	13:05:36	2447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861939','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:36	2447	[DEBUG]	Checking manufacturer
2023-10-13	13:05:36	2447	[DEBUG]	Load a row
2023-10-13	13:05:36	2447	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:36	2447	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:36	2447	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:36	2447	[DEBUG]	Executed store
2023-10-13	13:05:36	2447	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:36	2447	[DEBUG]	Manufacturer exists
2023-10-13	13:05:36	2447	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:36	2447	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:36	2447	[DEBUG]	Executed store
2023-10-13	13:05:36	2447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861939','32')
2023-10-13	13:05:36	2447	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:36	2447	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:36	2447	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861939 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:36	2447	[DEBUG]	Store custom available field
2023-10-13	13:05:36	2447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861939,3,'',1)
2023-10-13	13:05:36	2447	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:36	2447	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:36	2447	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861939 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:36	2447	[DEBUG]	Store custom available field
2023-10-13	13:05:36	2447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861939,6,'Set',3)
2023-10-13	13:05:36	2447	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:36	2447	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:36	2447	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861938
2023-10-13	13:05:36	2447	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:36	2447	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861938\":[1861938,8,1,\"choisir la taille\"],\"1861939\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861938
2023-10-13	13:05:36	2447	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:36	2447	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861939
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:36	2448	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field taille
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:36	2448	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:36	2448	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:36	2448	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:36	2448	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:36	2448	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:36	2448	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field published
2023-10-13	13:05:36	2448	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:36	2448	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field override
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:36	2448	[DEBUG]	Use field value for field slug
2023-10-13	13:05:36	2448	[DEBUG]	Process line 2448
2023-10-13	13:05:36	2448	[DEBUG]	Load a row
2023-10-13	13:05:36	2448	[DEBUG]	Processing item: A_479_1
2023-10-13	13:05:36	2448	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:36	2448	[DEBUG]	Processing product tax
2023-10-13	13:05:36	2448	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:36	2448	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:36	2448	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:36	2448	[DEBUG]	Query for Product
2023-10-13	13:05:36	2448	[DEBUG]	Executed store
2023-10-13	13:05:36	2448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_479_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:36	2448	[DEBUG]	Check product language entry
2023-10-13	13:05:36	2448	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861940
2023-10-13	13:05:36	2448	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:36	2448	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_479_1' AND `virtuemart_product_id` != 1861940
2023-10-13	13:05:36	2448	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:36	2448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861940, 'A_479_1')
2023-10-13	13:05:36	2448	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:36	2448	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-formula-b4-semi-metallique-noir' AND `virtuemart_product_id` != 1861940
2023-10-13	13:05:36	2448	[DEBUG]	Query for ProductLang
2023-10-13	13:05:36	2448	[DEBUG]	Executed store
2023-10-13	13:05:36	2448	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée.  30gr<br>N° art fourn : DK51',`product_name`='MSC Plaquettes de frein Formula B4 semi-métallique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-formula-b4-semi-metallique-noir' WHERE `virtuemart_product_id` = '1861940'
2023-10-13	13:05:36	2448	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_546.jpg
2023-10-13	13:05:36	2448	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:36	2448	[DEBUG]	Process image file
2023-10-13	13:05:36	2448	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:36	2448	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:36	2448	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_546.jpg
2023-10-13	13:05:36	2448	[DEBUG]	Full name target: bcprisme/image_546.jpg
2023-10-13	13:05:37	2448	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:37	2448	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_546.jpg'
2023-10-13	13:05:37	2448	[DEBUG]	Query for Media
2023-10-13	13:05:37	2448	[DEBUG]	Executed store
2023-10-13	13:05:37	2448	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_546.jpg',`file_url_thumb`='bcprisme/image_546.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12832'
2023-10-13	13:05:37	2448	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:37	2448	[DEBUG]	Executed store
2023-10-13	13:05:37	2448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861940','12832','1')
2023-10-13	13:05:37	2448	[DEBUG]	Store product image relation
2023-10-13	13:05:37	2448	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:37	2448	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861940 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:37	2448	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:37	2448	[DEBUG]	Executed store
2023-10-13	13:05:37	2448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861940','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:37	2448	[DEBUG]	Checking manufacturer
2023-10-13	13:05:37	2448	[DEBUG]	Load a row
2023-10-13	13:05:37	2448	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:37	2448	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:37	2448	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:37	2448	[DEBUG]	Executed store
2023-10-13	13:05:37	2448	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:37	2448	[DEBUG]	Manufacturer exists
2023-10-13	13:05:37	2448	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:37	2448	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:37	2448	[DEBUG]	Executed store
2023-10-13	13:05:37	2448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861940','32')
2023-10-13	13:05:37	2448	[DEBUG]	Find the custom field ID
2023-10-13	13:05:37	2448	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:37	2448	[DEBUG]	No custom field ID found
2023-10-13	13:05:37	2448	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:37	2448	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:37	2448	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861940 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:37	2448	[DEBUG]	Store custom available field
2023-10-13	13:05:37	2448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861940,3,'12.8641666666667',1)
2023-10-13	13:05:37	2448	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:37	2448	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:37	2448	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861940 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:37	2448	[DEBUG]	Store custom available field
2023-10-13	13:05:37	2448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861940,6,'choisir la taille',3)
2023-10-13	13:05:37	2448	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:37	2448	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:37	2448	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:37	2448	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:37	2448	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861940 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:37	2448	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:37	2448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861940,8,1)
2023-10-13	13:05:37	2448	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:37	2448	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861940\":[1861940,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861940
2023-10-13	13:05:37	2448	[DEBUG]	Checking category
2023-10-13	13:05:37	2448	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:37	2448	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861940
2023-10-13	13:05:37	2448	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:37	2448	[DEBUG]	Executed store
2023-10-13	13:05:37	2448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861940','7345')
2023-10-13	13:05:37	2448	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:37	2448	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861940 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:37	2448	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:37	2448	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861940
2023-10-13	13:05:37	2449	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:37	2449	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:37	2449	[DEBUG]	Use field value for field taille
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:37	2449	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:37	2449	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:37	2449	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:37	2449	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:37	2449	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:37	2449	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:37	2449	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:37	2449	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:37	2449	[DEBUG]	Use field value for field published
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:37	2449	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field override
2023-10-13	13:05:37	2449	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:37	2449	[DEBUG]	Use field value for field slug
2023-10-13	13:05:37	2449	[DEBUG]	Process line 2449
2023-10-13	13:05:37	2449	[DEBUG]	Load a row
2023-10-13	13:05:37	2449	[DEBUG]	Processing item: 8436041526100
2023-10-13	13:05:37	2449	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:37	2449	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:37	2449	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_479_1'
2023-10-13	13:05:37	2449	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:37	2449	[DEBUG]	Processing product tax
2023-10-13	13:05:37	2449	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:37	2449	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:37	2449	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:37	2449	[DEBUG]	Query for Product
2023-10-13	13:05:37	2449	[DEBUG]	Executed store
2023-10-13	13:05:37	2449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861940','8436041526100','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:37	2449	[DEBUG]	No parent found
2023-10-13	13:05:37	2449	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861940 AND customfield_value = 'stockable'
2023-10-13	13:05:37	2449	[DEBUG]	Check product language entry
2023-10-13	13:05:37	2449	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861941
2023-10-13	13:05:37	2449	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:37	2449	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526100' AND `virtuemart_product_id` != 1861941
2023-10-13	13:05:37	2449	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:37	2449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861941, '8436041526100')
2023-10-13	13:05:37	2449	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:37	2449	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-formula-b4-semi-metallique-noir-set' AND `virtuemart_product_id` != 1861941
2023-10-13	13:05:37	2449	[DEBUG]	Query for ProductLang
2023-10-13	13:05:37	2449	[DEBUG]	Executed store
2023-10-13	13:05:37	2449	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de frein Formula B4 semi-métallique / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-formula-b4-semi-metallique-noir-set' WHERE `virtuemart_product_id` = '1861941'
2023-10-13	13:05:37	2449	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_546.jpg
2023-10-13	13:05:37	2449	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:37	2449	[DEBUG]	Process image file
2023-10-13	13:05:37	2449	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:37	2449	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:37	2449	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_546.jpg
2023-10-13	13:05:37	2449	[DEBUG]	Full name target: bcprisme/image_546.jpg
2023-10-13	13:05:38	2449	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:38	2449	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_546.jpg'
2023-10-13	13:05:38	2449	[DEBUG]	Query for Media
2023-10-13	13:05:38	2449	[DEBUG]	Executed store
2023-10-13	13:05:38	2449	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_546.jpg',`file_url_thumb`='bcprisme/image_546.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12832'
2023-10-13	13:05:38	2449	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:38	2449	[DEBUG]	Executed store
2023-10-13	13:05:38	2449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861941','12832','1')
2023-10-13	13:05:38	2449	[DEBUG]	Store product image relation
2023-10-13	13:05:38	2449	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:38	2449	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861941 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:38	2449	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:38	2449	[DEBUG]	Executed store
2023-10-13	13:05:38	2449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861941','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:38	2449	[DEBUG]	Checking manufacturer
2023-10-13	13:05:38	2449	[DEBUG]	Load a row
2023-10-13	13:05:38	2449	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:38	2449	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:38	2449	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:38	2449	[DEBUG]	Executed store
2023-10-13	13:05:38	2449	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:38	2449	[DEBUG]	Manufacturer exists
2023-10-13	13:05:38	2449	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:38	2449	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:38	2449	[DEBUG]	Executed store
2023-10-13	13:05:38	2449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861941','32')
2023-10-13	13:05:38	2449	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:38	2449	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:38	2449	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861941 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:38	2449	[DEBUG]	Store custom available field
2023-10-13	13:05:38	2449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861941,3,'',1)
2023-10-13	13:05:38	2449	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:38	2449	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:38	2449	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861941 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:38	2449	[DEBUG]	Store custom available field
2023-10-13	13:05:38	2449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861941,6,'Set',3)
2023-10-13	13:05:38	2449	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:38	2449	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:38	2449	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861940
2023-10-13	13:05:38	2449	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:38	2449	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861940\":[1861940,8,1,\"choisir la taille\"],\"1861941\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861940
2023-10-13	13:05:38	2449	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:38	2449	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861941
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:38	2450	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field taille
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:38	2450	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:38	2450	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:38	2450	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:38	2450	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:38	2450	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:38	2450	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field published
2023-10-13	13:05:38	2450	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:38	2450	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field override
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:38	2450	[DEBUG]	Use field value for field slug
2023-10-13	13:05:38	2450	[DEBUG]	Process line 2450
2023-10-13	13:05:38	2450	[DEBUG]	Load a row
2023-10-13	13:05:38	2450	[DEBUG]	Processing item: A_480_1
2023-10-13	13:05:38	2450	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:38	2450	[DEBUG]	Processing product tax
2023-10-13	13:05:38	2450	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:38	2450	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:38	2450	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:38	2450	[DEBUG]	Query for Product
2023-10-13	13:05:38	2450	[DEBUG]	Executed store
2023-10-13	13:05:38	2450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_480_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:38	2450	[DEBUG]	Check product language entry
2023-10-13	13:05:38	2450	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861942
2023-10-13	13:05:38	2450	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:38	2450	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_480_1' AND `virtuemart_product_id` != 1861942
2023-10-13	13:05:38	2450	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:38	2450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861942, 'A_480_1')
2023-10-13	13:05:38	2450	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:38	2450	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-formula-oro-semi-metallique-noir' AND `virtuemart_product_id` != 1861942
2023-10-13	13:05:38	2450	[DEBUG]	Query for ProductLang
2023-10-13	13:05:38	2450	[DEBUG]	Executed store
2023-10-13	13:05:38	2450	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée.  30gr<br>N° art fourn : DK52',`product_name`='MSC Plaquettes de freins. Formula Oro semi-métallique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-formula-oro-semi-metallique-noir' WHERE `virtuemart_product_id` = '1861942'
2023-10-13	13:05:38	2450	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_547.jpg
2023-10-13	13:05:38	2450	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:38	2450	[DEBUG]	Process image file
2023-10-13	13:05:38	2450	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:38	2450	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:38	2450	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_547.jpg
2023-10-13	13:05:38	2450	[DEBUG]	Full name target: bcprisme/image_547.jpg
2023-10-13	13:05:39	2450	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:39	2450	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_547.jpg'
2023-10-13	13:05:39	2450	[DEBUG]	Query for Media
2023-10-13	13:05:39	2450	[DEBUG]	Executed store
2023-10-13	13:05:39	2450	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_547.jpg',`file_url_thumb`='bcprisme/image_547.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12833'
2023-10-13	13:05:39	2450	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:39	2450	[DEBUG]	Executed store
2023-10-13	13:05:39	2450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861942','12833','1')
2023-10-13	13:05:39	2450	[DEBUG]	Store product image relation
2023-10-13	13:05:39	2450	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:39	2450	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861942 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:39	2450	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:39	2450	[DEBUG]	Executed store
2023-10-13	13:05:39	2450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861942','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:39	2450	[DEBUG]	Checking manufacturer
2023-10-13	13:05:39	2450	[DEBUG]	Load a row
2023-10-13	13:05:39	2450	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:39	2450	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:39	2450	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:39	2450	[DEBUG]	Executed store
2023-10-13	13:05:39	2450	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:39	2450	[DEBUG]	Manufacturer exists
2023-10-13	13:05:39	2450	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:39	2450	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:39	2450	[DEBUG]	Executed store
2023-10-13	13:05:39	2450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861942','32')
2023-10-13	13:05:39	2450	[DEBUG]	Find the custom field ID
2023-10-13	13:05:39	2450	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:39	2450	[DEBUG]	No custom field ID found
2023-10-13	13:05:39	2450	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:39	2450	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:39	2450	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861942 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:39	2450	[DEBUG]	Store custom available field
2023-10-13	13:05:39	2450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861942,3,'12.8641666666667',1)
2023-10-13	13:05:39	2450	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:39	2450	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:39	2450	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861942 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:39	2450	[DEBUG]	Store custom available field
2023-10-13	13:05:39	2450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861942,6,'choisir la taille',3)
2023-10-13	13:05:39	2450	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:39	2450	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:39	2450	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:39	2450	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:39	2450	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861942 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:39	2450	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:39	2450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861942,8,1)
2023-10-13	13:05:39	2450	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:39	2450	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861942\":[1861942,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861942
2023-10-13	13:05:39	2450	[DEBUG]	Checking category
2023-10-13	13:05:39	2450	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:39	2450	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861942
2023-10-13	13:05:39	2450	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:39	2450	[DEBUG]	Executed store
2023-10-13	13:05:39	2450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861942','7345')
2023-10-13	13:05:39	2450	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:39	2450	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861942 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:39	2450	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:39	2450	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861942
2023-10-13	13:05:39	2451	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:39	2451	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:39	2451	[DEBUG]	Use field value for field taille
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:39	2451	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:39	2451	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:39	2451	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:39	2451	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:39	2451	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:39	2451	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:39	2451	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:39	2451	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:39	2451	[DEBUG]	Use field value for field published
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:39	2451	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field override
2023-10-13	13:05:39	2451	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:39	2451	[DEBUG]	Use field value for field slug
2023-10-13	13:05:39	2451	[DEBUG]	Process line 2451
2023-10-13	13:05:39	2451	[DEBUG]	Load a row
2023-10-13	13:05:39	2451	[DEBUG]	Processing item: 8436041559870
2023-10-13	13:05:39	2451	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:39	2451	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:39	2451	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_480_1'
2023-10-13	13:05:39	2451	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:39	2451	[DEBUG]	Processing product tax
2023-10-13	13:05:39	2451	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:39	2451	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:39	2451	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:39	2451	[DEBUG]	Query for Product
2023-10-13	13:05:39	2451	[DEBUG]	Executed store
2023-10-13	13:05:39	2451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861942','8436041559870','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:39	2451	[DEBUG]	No parent found
2023-10-13	13:05:39	2451	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861942 AND customfield_value = 'stockable'
2023-10-13	13:05:39	2451	[DEBUG]	Check product language entry
2023-10-13	13:05:39	2451	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861943
2023-10-13	13:05:39	2451	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:39	2451	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559870' AND `virtuemart_product_id` != 1861943
2023-10-13	13:05:39	2451	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:39	2451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861943, '8436041559870')
2023-10-13	13:05:39	2451	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:39	2451	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-formula-oro-semi-metallique-noir-set' AND `virtuemart_product_id` != 1861943
2023-10-13	13:05:39	2451	[DEBUG]	Query for ProductLang
2023-10-13	13:05:39	2451	[DEBUG]	Executed store
2023-10-13	13:05:39	2451	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins. Formula Oro semi-métallique / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-formula-oro-semi-metallique-noir-set' WHERE `virtuemart_product_id` = '1861943'
2023-10-13	13:05:39	2451	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_547.jpg
2023-10-13	13:05:39	2451	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:39	2451	[DEBUG]	Process image file
2023-10-13	13:05:39	2451	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:39	2451	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:39	2451	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_547.jpg
2023-10-13	13:05:39	2451	[DEBUG]	Full name target: bcprisme/image_547.jpg
2023-10-13	13:05:40	2451	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:40	2451	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_547.jpg'
2023-10-13	13:05:40	2451	[DEBUG]	Query for Media
2023-10-13	13:05:40	2451	[DEBUG]	Executed store
2023-10-13	13:05:40	2451	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_547.jpg',`file_url_thumb`='bcprisme/image_547.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12833'
2023-10-13	13:05:40	2451	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:40	2451	[DEBUG]	Executed store
2023-10-13	13:05:40	2451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861943','12833','1')
2023-10-13	13:05:40	2451	[DEBUG]	Store product image relation
2023-10-13	13:05:40	2451	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:40	2451	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861943 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:40	2451	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:40	2451	[DEBUG]	Executed store
2023-10-13	13:05:40	2451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861943','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:40	2451	[DEBUG]	Checking manufacturer
2023-10-13	13:05:40	2451	[DEBUG]	Load a row
2023-10-13	13:05:40	2451	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:40	2451	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:40	2451	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:40	2451	[DEBUG]	Executed store
2023-10-13	13:05:40	2451	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:40	2451	[DEBUG]	Manufacturer exists
2023-10-13	13:05:40	2451	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:40	2451	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:40	2451	[DEBUG]	Executed store
2023-10-13	13:05:40	2451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861943','32')
2023-10-13	13:05:40	2451	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:40	2451	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:40	2451	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861943 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:40	2451	[DEBUG]	Store custom available field
2023-10-13	13:05:40	2451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861943,3,'',1)
2023-10-13	13:05:40	2451	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:40	2451	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:40	2451	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861943 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:40	2451	[DEBUG]	Store custom available field
2023-10-13	13:05:40	2451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861943,6,'Set',3)
2023-10-13	13:05:40	2451	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:40	2451	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:40	2451	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861942
2023-10-13	13:05:40	2451	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:40	2451	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861942\":[1861942,8,1,\"choisir la taille\"],\"1861943\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861942
2023-10-13	13:05:40	2451	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:40	2451	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861943
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:40	2452	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field taille
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:40	2452	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:40	2452	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:40	2452	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:40	2452	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:40	2452	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:40	2452	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field published
2023-10-13	13:05:40	2452	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:40	2452	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field override
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:40	2452	[DEBUG]	Use field value for field slug
2023-10-13	13:05:40	2452	[DEBUG]	Process line 2452
2023-10-13	13:05:40	2452	[DEBUG]	Load a row
2023-10-13	13:05:40	2452	[DEBUG]	Processing item: A_481_1
2023-10-13	13:05:40	2452	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:40	2452	[DEBUG]	Processing product tax
2023-10-13	13:05:40	2452	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:40	2452	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:40	2452	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:40	2452	[DEBUG]	Query for Product
2023-10-13	13:05:40	2452	[DEBUG]	Executed store
2023-10-13	13:05:40	2452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_481_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:40	2452	[DEBUG]	Check product language entry
2023-10-13	13:05:40	2452	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861944
2023-10-13	13:05:40	2452	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:40	2452	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_481_1' AND `virtuemart_product_id` != 1861944
2023-10-13	13:05:40	2452	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:40	2452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861944, 'A_481_1')
2023-10-13	13:05:40	2452	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:40	2452	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-avid-bb7-et-juicys-semi-metallique-noir' AND `virtuemart_product_id` != 1861944
2023-10-13	13:05:40	2452	[DEBUG]	Query for ProductLang
2023-10-13	13:05:40	2452	[DEBUG]	Executed store
2023-10-13	13:05:40	2452	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. 40gr<br>N° art fourn : DK61',`product_name`='MSC Plaquettes de freins Avid BB7 et Juicys semi-métallique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-avid-bb7-et-juicys-semi-metallique-noir' WHERE `virtuemart_product_id` = '1861944'
2023-10-13	13:05:40	2452	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_548.jpg
2023-10-13	13:05:40	2452	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:40	2452	[DEBUG]	Process image file
2023-10-13	13:05:40	2452	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:40	2452	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:40	2452	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_548.jpg
2023-10-13	13:05:40	2452	[DEBUG]	Full name target: bcprisme/image_548.jpg
2023-10-13	13:05:41	2452	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:41	2452	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_548.jpg'
2023-10-13	13:05:41	2452	[DEBUG]	Query for Media
2023-10-13	13:05:41	2452	[DEBUG]	Executed store
2023-10-13	13:05:41	2452	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_548.jpg',`file_url_thumb`='bcprisme/image_548.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12834'
2023-10-13	13:05:41	2452	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:41	2452	[DEBUG]	Executed store
2023-10-13	13:05:41	2452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861944','12834','1')
2023-10-13	13:05:41	2452	[DEBUG]	Store product image relation
2023-10-13	13:05:41	2452	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:41	2452	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861944 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:41	2452	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:41	2452	[DEBUG]	Executed store
2023-10-13	13:05:41	2452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861944','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:41	2452	[DEBUG]	Checking manufacturer
2023-10-13	13:05:41	2452	[DEBUG]	Load a row
2023-10-13	13:05:41	2452	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:41	2452	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:41	2452	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:41	2452	[DEBUG]	Executed store
2023-10-13	13:05:41	2452	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:41	2452	[DEBUG]	Manufacturer exists
2023-10-13	13:05:41	2452	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:41	2452	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:41	2452	[DEBUG]	Executed store
2023-10-13	13:05:41	2452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861944','32')
2023-10-13	13:05:41	2452	[DEBUG]	Find the custom field ID
2023-10-13	13:05:41	2452	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:41	2452	[DEBUG]	No custom field ID found
2023-10-13	13:05:41	2452	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:41	2452	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:05:41	2452	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861944 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:41	2452	[DEBUG]	Store custom available field
2023-10-13	13:05:41	2452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861944,3,'14.8586111111111',1)
2023-10-13	13:05:41	2452	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:41	2452	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:41	2452	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861944 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:41	2452	[DEBUG]	Store custom available field
2023-10-13	13:05:41	2452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861944,6,'choisir la taille',3)
2023-10-13	13:05:41	2452	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:41	2452	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:41	2452	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:41	2452	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:41	2452	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861944 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:41	2452	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:41	2452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861944,8,1)
2023-10-13	13:05:41	2452	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:41	2452	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861944\":[1861944,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861944
2023-10-13	13:05:41	2452	[DEBUG]	Checking category
2023-10-13	13:05:41	2452	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:41	2452	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861944
2023-10-13	13:05:41	2452	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:41	2452	[DEBUG]	Executed store
2023-10-13	13:05:41	2452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861944','7345')
2023-10-13	13:05:41	2452	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:41	2452	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861944 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:41	2452	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:41	2452	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861944
2023-10-13	13:05:41	2453	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:41	2453	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:41	2453	[DEBUG]	Use field value for field taille
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:41	2453	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:41	2453	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:41	2453	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:41	2453	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:41	2453	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:41	2453	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:41	2453	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:41	2453	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:41	2453	[DEBUG]	Use field value for field published
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:41	2453	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field override
2023-10-13	13:05:41	2453	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:41	2453	[DEBUG]	Use field value for field slug
2023-10-13	13:05:41	2453	[DEBUG]	Process line 2453
2023-10-13	13:05:41	2453	[DEBUG]	Load a row
2023-10-13	13:05:41	2453	[DEBUG]	Processing item: 8436041526117
2023-10-13	13:05:41	2453	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:41	2453	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:41	2453	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_481_1'
2023-10-13	13:05:41	2453	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:41	2453	[DEBUG]	Processing product tax
2023-10-13	13:05:41	2453	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:41	2453	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:41	2453	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:41	2453	[DEBUG]	Query for Product
2023-10-13	13:05:41	2453	[DEBUG]	Executed store
2023-10-13	13:05:41	2453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861944','8436041526117','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:41	2453	[DEBUG]	No parent found
2023-10-13	13:05:41	2453	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861944 AND customfield_value = 'stockable'
2023-10-13	13:05:41	2453	[DEBUG]	Check product language entry
2023-10-13	13:05:41	2453	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861945
2023-10-13	13:05:41	2453	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:41	2453	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526117' AND `virtuemart_product_id` != 1861945
2023-10-13	13:05:41	2453	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:41	2453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861945, '8436041526117')
2023-10-13	13:05:41	2453	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:41	2453	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-avid-bb7-et-juicys-semi-metallique-noir-set' AND `virtuemart_product_id` != 1861945
2023-10-13	13:05:41	2453	[DEBUG]	Query for ProductLang
2023-10-13	13:05:41	2453	[DEBUG]	Executed store
2023-10-13	13:05:41	2453	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Avid BB7 et Juicys semi-métallique / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-avid-bb7-et-juicys-semi-metallique-noir-set' WHERE `virtuemart_product_id` = '1861945'
2023-10-13	13:05:41	2453	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_548.jpg
2023-10-13	13:05:41	2453	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:41	2453	[DEBUG]	Process image file
2023-10-13	13:05:41	2453	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:41	2453	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:41	2453	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_548.jpg
2023-10-13	13:05:41	2453	[DEBUG]	Full name target: bcprisme/image_548.jpg
2023-10-13	13:05:42	2453	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:42	2453	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_548.jpg'
2023-10-13	13:05:42	2453	[DEBUG]	Query for Media
2023-10-13	13:05:42	2453	[DEBUG]	Executed store
2023-10-13	13:05:42	2453	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_548.jpg',`file_url_thumb`='bcprisme/image_548.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12834'
2023-10-13	13:05:42	2453	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:42	2453	[DEBUG]	Executed store
2023-10-13	13:05:42	2453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861945','12834','1')
2023-10-13	13:05:42	2453	[DEBUG]	Store product image relation
2023-10-13	13:05:42	2453	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:42	2453	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861945 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:42	2453	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:42	2453	[DEBUG]	Executed store
2023-10-13	13:05:42	2453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861945','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:42	2453	[DEBUG]	Checking manufacturer
2023-10-13	13:05:42	2453	[DEBUG]	Load a row
2023-10-13	13:05:42	2453	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:42	2453	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:42	2453	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:42	2453	[DEBUG]	Executed store
2023-10-13	13:05:42	2453	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:42	2453	[DEBUG]	Manufacturer exists
2023-10-13	13:05:42	2453	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:42	2453	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:42	2453	[DEBUG]	Executed store
2023-10-13	13:05:42	2453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861945','32')
2023-10-13	13:05:42	2453	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:42	2453	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:42	2453	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861945 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:42	2453	[DEBUG]	Store custom available field
2023-10-13	13:05:42	2453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861945,3,'',1)
2023-10-13	13:05:42	2453	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:42	2453	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:42	2453	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861945 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:42	2453	[DEBUG]	Store custom available field
2023-10-13	13:05:42	2453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861945,6,'Set',3)
2023-10-13	13:05:42	2453	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:42	2453	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:42	2453	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861944
2023-10-13	13:05:42	2453	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:42	2453	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861944\":[1861944,8,1,\"choisir la taille\"],\"1861945\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861944
2023-10-13	13:05:42	2453	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:42	2453	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861945
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:42	2454	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field taille
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:42	2454	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:42	2454	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:42	2454	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:42	2454	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:42	2454	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:42	2454	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field published
2023-10-13	13:05:42	2454	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:42	2454	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field override
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:42	2454	[DEBUG]	Use field value for field slug
2023-10-13	13:05:42	2454	[DEBUG]	Process line 2454
2023-10-13	13:05:42	2454	[DEBUG]	Load a row
2023-10-13	13:05:42	2454	[DEBUG]	Processing item: A_482_1
2023-10-13	13:05:42	2454	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:42	2454	[DEBUG]	Processing product tax
2023-10-13	13:05:42	2454	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:42	2454	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:42	2454	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:42	2454	[DEBUG]	Query for Product
2023-10-13	13:05:42	2454	[DEBUG]	Executed store
2023-10-13	13:05:42	2454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_482_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:42	2454	[DEBUG]	Check product language entry
2023-10-13	13:05:42	2454	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861946
2023-10-13	13:05:42	2454	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:42	2454	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_482_1' AND `virtuemart_product_id` != 1861946
2023-10-13	13:05:42	2454	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:42	2454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861946, 'A_482_1')
2023-10-13	13:05:42	2454	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:42	2454	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-avid-bb5-semi-metallique-noir' AND `virtuemart_product_id` != 1861946
2023-10-13	13:05:42	2454	[DEBUG]	Query for ProductLang
2023-10-13	13:05:42	2454	[DEBUG]	Executed store
2023-10-13	13:05:42	2454	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée.  30gr<br>N° art fourn : DK62',`product_name`='MSC Plaquettes de freins Avid BB5 semi-métallique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-avid-bb5-semi-metallique-noir' WHERE `virtuemart_product_id` = '1861946'
2023-10-13	13:05:42	2454	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_549.jpg
2023-10-13	13:05:42	2454	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:42	2454	[DEBUG]	Process image file
2023-10-13	13:05:42	2454	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:42	2454	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:42	2454	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_549.jpg
2023-10-13	13:05:42	2454	[DEBUG]	Full name target: bcprisme/image_549.jpg
2023-10-13	13:05:43	2454	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:43	2454	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_549.jpg'
2023-10-13	13:05:43	2454	[DEBUG]	Query for Media
2023-10-13	13:05:43	2454	[DEBUG]	Executed store
2023-10-13	13:05:43	2454	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_549.jpg',`file_url_thumb`='bcprisme/image_549.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12835'
2023-10-13	13:05:43	2454	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:43	2454	[DEBUG]	Executed store
2023-10-13	13:05:43	2454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861946','12835','1')
2023-10-13	13:05:43	2454	[DEBUG]	Store product image relation
2023-10-13	13:05:43	2454	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:43	2454	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861946 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:43	2454	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:43	2454	[DEBUG]	Executed store
2023-10-13	13:05:43	2454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861946','0','15.6453110492108','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:43	2454	[DEBUG]	Checking manufacturer
2023-10-13	13:05:43	2454	[DEBUG]	Load a row
2023-10-13	13:05:43	2454	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:43	2454	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:43	2454	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:43	2454	[DEBUG]	Executed store
2023-10-13	13:05:43	2454	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:43	2454	[DEBUG]	Manufacturer exists
2023-10-13	13:05:43	2454	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:43	2454	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:43	2454	[DEBUG]	Executed store
2023-10-13	13:05:43	2454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861946','32')
2023-10-13	13:05:43	2454	[DEBUG]	Find the custom field ID
2023-10-13	13:05:43	2454	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:43	2454	[DEBUG]	No custom field ID found
2023-10-13	13:05:43	2454	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:43	2454	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:05:43	2454	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861946 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:43	2454	[DEBUG]	Store custom available field
2023-10-13	13:05:43	2454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861946,3,'16.8530555555556',1)
2023-10-13	13:05:43	2454	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:43	2454	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:43	2454	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861946 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:43	2454	[DEBUG]	Store custom available field
2023-10-13	13:05:43	2454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861946,6,'choisir la taille',3)
2023-10-13	13:05:43	2454	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:43	2454	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:43	2454	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:43	2454	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:43	2454	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861946 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:43	2454	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:43	2454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861946,8,1)
2023-10-13	13:05:43	2454	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:43	2454	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861946\":[1861946,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861946
2023-10-13	13:05:43	2454	[DEBUG]	Checking category
2023-10-13	13:05:43	2454	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:43	2454	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861946
2023-10-13	13:05:43	2454	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:43	2454	[DEBUG]	Executed store
2023-10-13	13:05:43	2454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861946','7345')
2023-10-13	13:05:43	2454	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:43	2454	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861946 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:43	2454	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:43	2454	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861946
2023-10-13	13:05:43	2455	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:43	2455	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:43	2455	[DEBUG]	Use field value for field taille
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:43	2455	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:43	2455	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:43	2455	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:43	2455	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:43	2455	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:43	2455	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:43	2455	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:43	2455	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:43	2455	[DEBUG]	Use field value for field published
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:43	2455	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field override
2023-10-13	13:05:43	2455	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:43	2455	[DEBUG]	Use field value for field slug
2023-10-13	13:05:43	2455	[DEBUG]	Process line 2455
2023-10-13	13:05:43	2455	[DEBUG]	Load a row
2023-10-13	13:05:43	2455	[DEBUG]	Processing item: 1000000005851
2023-10-13	13:05:43	2455	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:43	2455	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:43	2455	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_482_1'
2023-10-13	13:05:43	2455	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:43	2455	[DEBUG]	Processing product tax
2023-10-13	13:05:43	2455	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:43	2455	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:43	2455	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:43	2455	[DEBUG]	Query for Product
2023-10-13	13:05:43	2455	[DEBUG]	Executed store
2023-10-13	13:05:43	2455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861946','1000000005851','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:43	2455	[DEBUG]	No parent found
2023-10-13	13:05:43	2455	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861946 AND customfield_value = 'stockable'
2023-10-13	13:05:43	2455	[DEBUG]	Check product language entry
2023-10-13	13:05:43	2455	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861947
2023-10-13	13:05:43	2455	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:43	2455	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000005851' AND `virtuemart_product_id` != 1861947
2023-10-13	13:05:43	2455	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:43	2455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861947, '1000000005851')
2023-10-13	13:05:43	2455	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:43	2455	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-avid-bb5-semi-metallique-noir-set' AND `virtuemart_product_id` != 1861947
2023-10-13	13:05:43	2455	[DEBUG]	Query for ProductLang
2023-10-13	13:05:43	2455	[DEBUG]	Executed store
2023-10-13	13:05:43	2455	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Avid BB5 semi-métallique / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-avid-bb5-semi-metallique-noir-set' WHERE `virtuemart_product_id` = '1861947'
2023-10-13	13:05:43	2455	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_549.jpg
2023-10-13	13:05:43	2455	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:43	2455	[DEBUG]	Process image file
2023-10-13	13:05:43	2455	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:43	2455	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:43	2455	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_549.jpg
2023-10-13	13:05:43	2455	[DEBUG]	Full name target: bcprisme/image_549.jpg
2023-10-13	13:05:44	2455	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:44	2455	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_549.jpg'
2023-10-13	13:05:44	2455	[DEBUG]	Query for Media
2023-10-13	13:05:44	2455	[DEBUG]	Executed store
2023-10-13	13:05:44	2455	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_549.jpg',`file_url_thumb`='bcprisme/image_549.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12835'
2023-10-13	13:05:44	2455	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:44	2455	[DEBUG]	Executed store
2023-10-13	13:05:44	2455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861947','12835','1')
2023-10-13	13:05:44	2455	[DEBUG]	Store product image relation
2023-10-13	13:05:44	2455	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:44	2455	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861947 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:44	2455	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:44	2455	[DEBUG]	Executed store
2023-10-13	13:05:44	2455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861947','0','15.6453110492108','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:44	2455	[DEBUG]	Checking manufacturer
2023-10-13	13:05:44	2455	[DEBUG]	Load a row
2023-10-13	13:05:44	2455	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:44	2455	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:44	2455	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:44	2455	[DEBUG]	Executed store
2023-10-13	13:05:44	2455	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:44	2455	[DEBUG]	Manufacturer exists
2023-10-13	13:05:44	2455	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:44	2455	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:44	2455	[DEBUG]	Executed store
2023-10-13	13:05:44	2455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861947','32')
2023-10-13	13:05:44	2455	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:44	2455	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:44	2455	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861947 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:44	2455	[DEBUG]	Store custom available field
2023-10-13	13:05:44	2455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861947,3,'',1)
2023-10-13	13:05:44	2455	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:44	2455	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:44	2455	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861947 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:44	2455	[DEBUG]	Store custom available field
2023-10-13	13:05:44	2455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861947,6,'Set',3)
2023-10-13	13:05:44	2455	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:44	2455	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:44	2455	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861946
2023-10-13	13:05:44	2455	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:44	2455	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861946\":[1861946,8,1,\"choisir la taille\"],\"1861947\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861946
2023-10-13	13:05:44	2455	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:44	2455	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861947
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:44	2456	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field taille
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:44	2456	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:44	2456	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:44	2456	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:44	2456	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:44	2456	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:44	2456	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field published
2023-10-13	13:05:44	2456	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:44	2456	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field override
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:44	2456	[DEBUG]	Use field value for field slug
2023-10-13	13:05:44	2456	[DEBUG]	Process line 2456
2023-10-13	13:05:44	2456	[DEBUG]	Load a row
2023-10-13	13:05:44	2456	[DEBUG]	Processing item: A_483_1
2023-10-13	13:05:44	2456	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:44	2456	[DEBUG]	Processing product tax
2023-10-13	13:05:44	2456	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:44	2456	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:44	2456	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:44	2456	[DEBUG]	Query for Product
2023-10-13	13:05:44	2456	[DEBUG]	Executed store
2023-10-13	13:05:44	2456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_483_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:44	2456	[DEBUG]	Check product language entry
2023-10-13	13:05:44	2456	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861948
2023-10-13	13:05:44	2456	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:44	2456	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_483_1' AND `virtuemart_product_id` != 1861948
2023-10-13	13:05:44	2456	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:44	2456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861948, 'A_483_1')
2023-10-13	13:05:44	2456	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:44	2456	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-avid-code-semi-metallique-noir' AND `virtuemart_product_id` != 1861948
2023-10-13	13:05:44	2456	[DEBUG]	Query for ProductLang
2023-10-13	13:05:44	2456	[DEBUG]	Executed store
2023-10-13	13:05:44	2456	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. 40gr<br>N° art fourn : DK63',`product_name`='MSC Plaquettes de freins Avid Code semi-métallique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-avid-code-semi-metallique-noir' WHERE `virtuemart_product_id` = '1861948'
2023-10-13	13:05:44	2456	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_550.jpg
2023-10-13	13:05:44	2456	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:44	2456	[DEBUG]	Process image file
2023-10-13	13:05:44	2456	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:44	2456	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:44	2456	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_550.jpg
2023-10-13	13:05:44	2456	[DEBUG]	Full name target: bcprisme/image_550.jpg
2023-10-13	13:05:45	2456	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:45	2456	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_550.jpg'
2023-10-13	13:05:45	2456	[DEBUG]	Query for Media
2023-10-13	13:05:45	2456	[DEBUG]	Executed store
2023-10-13	13:05:45	2456	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_550.jpg',`file_url_thumb`='bcprisme/image_550.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12836'
2023-10-13	13:05:45	2456	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:45	2456	[DEBUG]	Executed store
2023-10-13	13:05:45	2456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861948','12836','1')
2023-10-13	13:05:45	2456	[DEBUG]	Store product image relation
2023-10-13	13:05:45	2456	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:45	2456	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861948 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:45	2456	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:45	2456	[DEBUG]	Executed store
2023-10-13	13:05:45	2456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861948','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:45	2456	[DEBUG]	Checking manufacturer
2023-10-13	13:05:45	2456	[DEBUG]	Load a row
2023-10-13	13:05:45	2456	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:45	2456	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:45	2456	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:45	2456	[DEBUG]	Executed store
2023-10-13	13:05:45	2456	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:45	2456	[DEBUG]	Manufacturer exists
2023-10-13	13:05:45	2456	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:45	2456	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:45	2456	[DEBUG]	Executed store
2023-10-13	13:05:45	2456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861948','32')
2023-10-13	13:05:45	2456	[DEBUG]	Find the custom field ID
2023-10-13	13:05:45	2456	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:45	2456	[DEBUG]	No custom field ID found
2023-10-13	13:05:45	2456	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:45	2456	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:05:45	2456	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861948 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:45	2456	[DEBUG]	Store custom available field
2023-10-13	13:05:45	2456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861948,3,'16.8530555555556',1)
2023-10-13	13:05:45	2456	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:45	2456	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:45	2456	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861948 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:45	2456	[DEBUG]	Store custom available field
2023-10-13	13:05:45	2456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861948,6,'choisir la taille',3)
2023-10-13	13:05:45	2456	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:45	2456	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:45	2456	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:45	2456	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:45	2456	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861948 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:45	2456	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:45	2456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861948,8,1)
2023-10-13	13:05:45	2456	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:45	2456	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861948\":[1861948,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861948
2023-10-13	13:05:45	2456	[DEBUG]	Checking category
2023-10-13	13:05:45	2456	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:45	2456	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861948
2023-10-13	13:05:45	2456	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:45	2456	[DEBUG]	Executed store
2023-10-13	13:05:45	2456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861948','7345')
2023-10-13	13:05:45	2456	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:45	2456	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861948 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:45	2456	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:45	2456	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861948
2023-10-13	13:05:45	2457	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:45	2457	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:45	2457	[DEBUG]	Use field value for field taille
2023-10-13	13:05:45	2457	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:45	2457	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:45	2457	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:45	2457	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:45	2457	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:45	2457	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:45	2457	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:45	2457	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:45	2457	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:46	2457	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:46	2457	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:46	2457	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:46	2457	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:46	2457	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:46	2457	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:46	2457	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:46	2457	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:46	2457	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:46	2457	[DEBUG]	Use field value for field published
2023-10-13	13:05:46	2457	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:46	2457	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:46	2457	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:46	2457	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:46	2457	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:46	2457	[DEBUG]	Use default value for field override
2023-10-13	13:05:46	2457	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:46	2457	[DEBUG]	Use field value for field slug
2023-10-13	13:05:46	2457	[DEBUG]	Process line 2457
2023-10-13	13:05:46	2457	[DEBUG]	Load a row
2023-10-13	13:05:46	2457	[DEBUG]	Processing item: 8436041559894
2023-10-13	13:05:46	2457	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:46	2457	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:46	2457	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_483_1'
2023-10-13	13:05:46	2457	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:46	2457	[DEBUG]	Processing product tax
2023-10-13	13:05:46	2457	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:46	2457	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:46	2457	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:46	2457	[DEBUG]	Query for Product
2023-10-13	13:05:46	2457	[DEBUG]	Executed store
2023-10-13	13:05:46	2457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861948','8436041559894','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:46	2457	[DEBUG]	No parent found
2023-10-13	13:05:46	2457	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861948 AND customfield_value = 'stockable'
2023-10-13	13:05:46	2457	[DEBUG]	Check product language entry
2023-10-13	13:05:46	2457	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861949
2023-10-13	13:05:46	2457	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:46	2457	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559894' AND `virtuemart_product_id` != 1861949
2023-10-13	13:05:46	2457	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:46	2457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861949, '8436041559894')
2023-10-13	13:05:46	2457	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:46	2457	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-avid-code-semi-metallique-noir-set' AND `virtuemart_product_id` != 1861949
2023-10-13	13:05:46	2457	[DEBUG]	Query for ProductLang
2023-10-13	13:05:46	2457	[DEBUG]	Executed store
2023-10-13	13:05:46	2457	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Avid Code semi-métallique / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-avid-code-semi-metallique-noir-set' WHERE `virtuemart_product_id` = '1861949'
2023-10-13	13:05:46	2457	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_550.jpg
2023-10-13	13:05:46	2457	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:46	2457	[DEBUG]	Process image file
2023-10-13	13:05:46	2457	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:05:46	2457	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:46	2457	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_550.jpg
2023-10-13	13:05:46	2457	[DEBUG]	Full name target: bcprisme/image_550.jpg
2023-10-13	13:05:47	2457	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:47	2457	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_550.jpg'
2023-10-13	13:05:47	2457	[DEBUG]	Query for Media
2023-10-13	13:05:47	2457	[DEBUG]	Executed store
2023-10-13	13:05:47	2457	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_550.jpg',`file_url_thumb`='bcprisme/image_550.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12836'
2023-10-13	13:05:47	2457	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:47	2457	[DEBUG]	Executed store
2023-10-13	13:05:47	2457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861949','12836','1')
2023-10-13	13:05:47	2457	[DEBUG]	Store product image relation
2023-10-13	13:05:47	2457	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:47	2457	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861949 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:47	2457	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:47	2457	[DEBUG]	Executed store
2023-10-13	13:05:47	2457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861949','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:47	2457	[DEBUG]	Checking manufacturer
2023-10-13	13:05:47	2457	[DEBUG]	Load a row
2023-10-13	13:05:47	2457	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:47	2457	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:47	2457	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:47	2457	[DEBUG]	Executed store
2023-10-13	13:05:47	2457	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:47	2457	[DEBUG]	Manufacturer exists
2023-10-13	13:05:47	2457	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:47	2457	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:47	2457	[DEBUG]	Executed store
2023-10-13	13:05:47	2457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861949','32')
2023-10-13	13:05:47	2457	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:47	2457	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:47	2457	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861949 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:47	2457	[DEBUG]	Store custom available field
2023-10-13	13:05:47	2457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861949,3,'',1)
2023-10-13	13:05:47	2457	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:47	2457	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:47	2457	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861949 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:47	2457	[DEBUG]	Store custom available field
2023-10-13	13:05:47	2457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861949,6,'Set',3)
2023-10-13	13:05:47	2457	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:47	2457	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:47	2457	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861948
2023-10-13	13:05:47	2457	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:47	2457	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861948\":[1861948,8,1,\"choisir la taille\"],\"1861949\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861948
2023-10-13	13:05:47	2457	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:47	2457	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861949
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:47	2458	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field taille
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:47	2458	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:47	2458	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:47	2458	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:47	2458	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:47	2458	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:47	2458	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field published
2023-10-13	13:05:47	2458	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:47	2458	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field override
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:47	2458	[DEBUG]	Use field value for field slug
2023-10-13	13:05:47	2458	[DEBUG]	Process line 2458
2023-10-13	13:05:47	2458	[DEBUG]	Load a row
2023-10-13	13:05:47	2458	[DEBUG]	Processing item: A_484_1
2023-10-13	13:05:47	2458	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:47	2458	[DEBUG]	Processing product tax
2023-10-13	13:05:47	2458	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:47	2458	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:47	2458	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:47	2458	[DEBUG]	Query for Product
2023-10-13	13:05:47	2458	[DEBUG]	Executed store
2023-10-13	13:05:47	2458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_484_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:47	2458	[DEBUG]	Check product language entry
2023-10-13	13:05:47	2458	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861950
2023-10-13	13:05:47	2458	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:47	2458	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_484_1' AND `virtuemart_product_id` != 1861950
2023-10-13	13:05:47	2458	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:47	2458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861950, 'A_484_1')
2023-10-13	13:05:47	2458	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:47	2458	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-avid-elixir-xx-semi-metallique-noir' AND `virtuemart_product_id` != 1861950
2023-10-13	13:05:47	2458	[DEBUG]	Query for ProductLang
2023-10-13	13:05:47	2458	[DEBUG]	Executed store
2023-10-13	13:05:47	2458	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée.  19gr<br>N° art fourn : DK65',`product_name`='MSC Plaquettes de freins Avid Elixir / XX semi-métallique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-avid-elixir-xx-semi-metallique-noir' WHERE `virtuemart_product_id` = '1861950'
2023-10-13	13:05:47	2458	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_551.jpg
2023-10-13	13:05:47	2458	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:05:47	2458	[DEBUG]	Process image file
2023-10-13	13:05:47	2458	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:05:47	2458	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:47	2458	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_551.jpg
2023-10-13	13:05:47	2458	[DEBUG]	Full name target: bcprisme/image_551.jpg
2023-10-13	13:05:48	2458	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:48	2458	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_551.jpg'
2023-10-13	13:05:48	2458	[DEBUG]	Query for Media
2023-10-13	13:05:48	2458	[DEBUG]	Executed store
2023-10-13	13:05:48	2458	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_551.jpg',`file_url_thumb`='bcprisme/image_551.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12837'
2023-10-13	13:05:48	2458	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:48	2458	[DEBUG]	Executed store
2023-10-13	13:05:48	2458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861950','12837','1')
2023-10-13	13:05:48	2458	[DEBUG]	Store product image relation
2023-10-13	13:05:48	2458	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:48	2458	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861950 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:48	2458	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:48	2458	[DEBUG]	Executed store
2023-10-13	13:05:48	2458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861950','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:48	2458	[DEBUG]	Checking manufacturer
2023-10-13	13:05:48	2458	[DEBUG]	Load a row
2023-10-13	13:05:48	2458	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:48	2458	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:48	2458	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:48	2458	[DEBUG]	Executed store
2023-10-13	13:05:48	2458	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:48	2458	[DEBUG]	Manufacturer exists
2023-10-13	13:05:48	2458	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:48	2458	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:48	2458	[DEBUG]	Executed store
2023-10-13	13:05:48	2458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861950','32')
2023-10-13	13:05:48	2458	[DEBUG]	Find the custom field ID
2023-10-13	13:05:48	2458	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:48	2458	[DEBUG]	No custom field ID found
2023-10-13	13:05:48	2458	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:48	2458	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:48	2458	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861950 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:48	2458	[DEBUG]	Store custom available field
2023-10-13	13:05:48	2458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861950,3,'12.8641666666667',1)
2023-10-13	13:05:48	2458	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:48	2458	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:48	2458	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861950 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:48	2458	[DEBUG]	Store custom available field
2023-10-13	13:05:48	2458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861950,6,'choisir la taille',3)
2023-10-13	13:05:48	2458	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:48	2458	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:48	2458	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:48	2458	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:48	2458	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861950 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:48	2458	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:48	2458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861950,8,1)
2023-10-13	13:05:48	2458	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:48	2458	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861950\":[1861950,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861950
2023-10-13	13:05:48	2458	[DEBUG]	Checking category
2023-10-13	13:05:48	2458	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:48	2458	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861950
2023-10-13	13:05:48	2458	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:48	2458	[DEBUG]	Executed store
2023-10-13	13:05:48	2458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861950','7345')
2023-10-13	13:05:48	2458	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:48	2458	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861950 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:48	2458	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:48	2458	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861950
2023-10-13	13:05:48	2459	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:48	2459	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:48	2459	[DEBUG]	Use field value for field taille
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:48	2459	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:48	2459	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:48	2459	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:48	2459	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:48	2459	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:48	2459	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:48	2459	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:48	2459	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:48	2459	[DEBUG]	Use field value for field published
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:48	2459	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field override
2023-10-13	13:05:48	2459	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:48	2459	[DEBUG]	Use field value for field slug
2023-10-13	13:05:48	2459	[DEBUG]	Process line 2459
2023-10-13	13:05:48	2459	[DEBUG]	Load a row
2023-10-13	13:05:48	2459	[DEBUG]	Processing item: 8436047354059
2023-10-13	13:05:48	2459	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:48	2459	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:48	2459	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_484_1'
2023-10-13	13:05:48	2459	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:48	2459	[DEBUG]	Processing product tax
2023-10-13	13:05:48	2459	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:48	2459	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:48	2459	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:48	2459	[DEBUG]	Query for Product
2023-10-13	13:05:48	2459	[DEBUG]	Executed store
2023-10-13	13:05:48	2459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861950','8436047354059','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:48	2459	[DEBUG]	No parent found
2023-10-13	13:05:48	2459	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861950 AND customfield_value = 'stockable'
2023-10-13	13:05:48	2459	[DEBUG]	Check product language entry
2023-10-13	13:05:48	2459	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861951
2023-10-13	13:05:48	2459	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:48	2459	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047354059' AND `virtuemart_product_id` != 1861951
2023-10-13	13:05:48	2459	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:48	2459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861951, '8436047354059')
2023-10-13	13:05:48	2459	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:48	2459	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-avid-elixir-xx-semi-metallique-noir-set' AND `virtuemart_product_id` != 1861951
2023-10-13	13:05:48	2459	[DEBUG]	Query for ProductLang
2023-10-13	13:05:48	2459	[DEBUG]	Executed store
2023-10-13	13:05:48	2459	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Avid Elixir / XX semi-métallique / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-avid-elixir-xx-semi-metallique-noir-set' WHERE `virtuemart_product_id` = '1861951'
2023-10-13	13:05:48	2459	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_551.jpg
2023-10-13	13:05:48	2459	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:05:48	2459	[DEBUG]	Process image file
2023-10-13	13:05:48	2459	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:05:48	2459	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:48	2459	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_551.jpg
2023-10-13	13:05:48	2459	[DEBUG]	Full name target: bcprisme/image_551.jpg
2023-10-13	13:05:49	2459	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:49	2459	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_551.jpg'
2023-10-13	13:05:49	2459	[DEBUG]	Query for Media
2023-10-13	13:05:49	2459	[DEBUG]	Executed store
2023-10-13	13:05:49	2459	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_551.jpg',`file_url_thumb`='bcprisme/image_551.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12837'
2023-10-13	13:05:49	2459	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:49	2459	[DEBUG]	Executed store
2023-10-13	13:05:49	2459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861951','12837','1')
2023-10-13	13:05:49	2459	[DEBUG]	Store product image relation
2023-10-13	13:05:49	2459	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:49	2459	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861951 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:49	2459	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:49	2459	[DEBUG]	Executed store
2023-10-13	13:05:49	2459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861951','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:49	2459	[DEBUG]	Checking manufacturer
2023-10-13	13:05:49	2459	[DEBUG]	Load a row
2023-10-13	13:05:49	2459	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:49	2459	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:49	2459	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:49	2459	[DEBUG]	Executed store
2023-10-13	13:05:49	2459	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:49	2459	[DEBUG]	Manufacturer exists
2023-10-13	13:05:49	2459	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:49	2459	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:49	2459	[DEBUG]	Executed store
2023-10-13	13:05:49	2459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861951','32')
2023-10-13	13:05:49	2459	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:49	2459	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:49	2459	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861951 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:49	2459	[DEBUG]	Store custom available field
2023-10-13	13:05:49	2459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861951,3,'',1)
2023-10-13	13:05:49	2459	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:49	2459	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:49	2459	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861951 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:49	2459	[DEBUG]	Store custom available field
2023-10-13	13:05:49	2459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861951,6,'Set',3)
2023-10-13	13:05:49	2459	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:49	2459	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:49	2459	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861950
2023-10-13	13:05:49	2459	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:49	2459	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861950\":[1861950,8,1,\"choisir la taille\"],\"1861951\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861950
2023-10-13	13:05:49	2459	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:49	2459	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861951
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:49	2460	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field taille
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:49	2460	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:49	2460	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:49	2460	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:49	2460	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:49	2460	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:49	2460	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field published
2023-10-13	13:05:49	2460	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:49	2460	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field override
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:49	2460	[DEBUG]	Use field value for field slug
2023-10-13	13:05:49	2460	[DEBUG]	Process line 2460
2023-10-13	13:05:49	2460	[DEBUG]	Load a row
2023-10-13	13:05:49	2460	[DEBUG]	Processing item: A_485_1
2023-10-13	13:05:49	2460	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:49	2460	[DEBUG]	Processing product tax
2023-10-13	13:05:49	2460	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:49	2460	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:49	2460	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:49	2460	[DEBUG]	Query for Product
2023-10-13	13:05:49	2460	[DEBUG]	Executed store
2023-10-13	13:05:49	2460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_485_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:49	2460	[DEBUG]	Check product language entry
2023-10-13	13:05:49	2460	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861952
2023-10-13	13:05:49	2460	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:49	2460	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_485_1' AND `virtuemart_product_id` != 1861952
2023-10-13	13:05:49	2460	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:49	2460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861952, 'A_485_1')
2023-10-13	13:05:49	2460	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:49	2460	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hayes-nine-metalliques-noir' AND `virtuemart_product_id` != 1861952
2023-10-13	13:05:49	2460	[DEBUG]	Query for ProductLang
2023-10-13	13:05:49	2460	[DEBUG]	Executed store
2023-10-13	13:05:49	2460	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée.  23gr<br>N° art fourn : DK6',`product_name`='MSC Plaquettes de freins Hayes Nine métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hayes-nine-metalliques-noir' WHERE `virtuemart_product_id` = '1861952'
2023-10-13	13:05:49	2460	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_552.jpg
2023-10-13	13:05:49	2460	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:05:49	2460	[DEBUG]	Process image file
2023-10-13	13:05:49	2460	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:05:49	2460	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:49	2460	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_552.jpg
2023-10-13	13:05:49	2460	[DEBUG]	Full name target: bcprisme/image_552.jpg
2023-10-13	13:05:50	2460	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:50	2460	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_552.jpg'
2023-10-13	13:05:50	2460	[DEBUG]	Query for Media
2023-10-13	13:05:50	2460	[DEBUG]	Executed store
2023-10-13	13:05:50	2460	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_552.jpg',`file_url_thumb`='bcprisme/image_552.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12838'
2023-10-13	13:05:50	2460	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:50	2460	[DEBUG]	Executed store
2023-10-13	13:05:50	2460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861952','12838','1')
2023-10-13	13:05:50	2460	[DEBUG]	Store product image relation
2023-10-13	13:05:50	2460	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:50	2460	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861952 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:50	2460	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:50	2460	[DEBUG]	Executed store
2023-10-13	13:05:50	2460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861952','0','11.9312906220984','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:50	2460	[DEBUG]	Checking manufacturer
2023-10-13	13:05:50	2460	[DEBUG]	Load a row
2023-10-13	13:05:50	2460	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:50	2460	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:50	2460	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:50	2460	[DEBUG]	Executed store
2023-10-13	13:05:50	2460	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:50	2460	[DEBUG]	Manufacturer exists
2023-10-13	13:05:50	2460	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:50	2460	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:50	2460	[DEBUG]	Executed store
2023-10-13	13:05:50	2460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861952','32')
2023-10-13	13:05:50	2460	[DEBUG]	Find the custom field ID
2023-10-13	13:05:50	2460	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:50	2460	[DEBUG]	No custom field ID found
2023-10-13	13:05:50	2460	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:50	2460	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:50	2460	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861952 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:50	2460	[DEBUG]	Store custom available field
2023-10-13	13:05:50	2460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861952,3,'12.8641666666667',1)
2023-10-13	13:05:50	2460	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:50	2460	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:50	2460	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861952 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:50	2460	[DEBUG]	Store custom available field
2023-10-13	13:05:50	2460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861952,6,'choisir la taille',3)
2023-10-13	13:05:50	2460	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:50	2460	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:50	2460	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:50	2460	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:50	2460	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861952 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:50	2460	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:50	2460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861952,8,1)
2023-10-13	13:05:50	2460	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:50	2460	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861952\":[1861952,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861952
2023-10-13	13:05:50	2460	[DEBUG]	Checking category
2023-10-13	13:05:50	2460	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:50	2460	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861952
2023-10-13	13:05:50	2460	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:50	2460	[DEBUG]	Executed store
2023-10-13	13:05:50	2460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861952','7345')
2023-10-13	13:05:50	2460	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:50	2460	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861952 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:50	2460	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:50	2460	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861952
2023-10-13	13:05:50	2461	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:50	2461	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:50	2461	[DEBUG]	Use field value for field taille
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:50	2461	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:50	2461	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:50	2461	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:50	2461	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:50	2461	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:50	2461	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:50	2461	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:50	2461	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:50	2461	[DEBUG]	Use field value for field published
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:50	2461	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field override
2023-10-13	13:05:50	2461	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:50	2461	[DEBUG]	Use field value for field slug
2023-10-13	13:05:50	2461	[DEBUG]	Process line 2461
2023-10-13	13:05:50	2461	[DEBUG]	Load a row
2023-10-13	13:05:50	2461	[DEBUG]	Processing item: 1000000005882
2023-10-13	13:05:50	2461	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:50	2461	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:50	2461	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_485_1'
2023-10-13	13:05:50	2461	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:50	2461	[DEBUG]	Processing product tax
2023-10-13	13:05:50	2461	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:50	2461	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:50	2461	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:50	2461	[DEBUG]	Query for Product
2023-10-13	13:05:50	2461	[DEBUG]	Executed store
2023-10-13	13:05:50	2461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861952','1000000005882','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:50	2461	[DEBUG]	No parent found
2023-10-13	13:05:50	2461	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861952 AND customfield_value = 'stockable'
2023-10-13	13:05:50	2461	[DEBUG]	Check product language entry
2023-10-13	13:05:50	2461	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861953
2023-10-13	13:05:50	2461	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:50	2461	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000005882' AND `virtuemart_product_id` != 1861953
2023-10-13	13:05:50	2461	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:50	2461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861953, '1000000005882')
2023-10-13	13:05:50	2461	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:50	2461	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hayes-nine-metalliques-noir-set' AND `virtuemart_product_id` != 1861953
2023-10-13	13:05:50	2461	[DEBUG]	Query for ProductLang
2023-10-13	13:05:50	2461	[DEBUG]	Executed store
2023-10-13	13:05:50	2461	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Hayes Nine métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hayes-nine-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861953'
2023-10-13	13:05:50	2461	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_552.jpg
2023-10-13	13:05:50	2461	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:05:50	2461	[DEBUG]	Process image file
2023-10-13	13:05:50	2461	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:05:50	2461	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:50	2461	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_552.jpg
2023-10-13	13:05:50	2461	[DEBUG]	Full name target: bcprisme/image_552.jpg
2023-10-13	13:05:51	2461	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:51	2461	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_552.jpg'
2023-10-13	13:05:51	2461	[DEBUG]	Query for Media
2023-10-13	13:05:51	2461	[DEBUG]	Executed store
2023-10-13	13:05:51	2461	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_552.jpg',`file_url_thumb`='bcprisme/image_552.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12838'
2023-10-13	13:05:51	2461	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:51	2461	[DEBUG]	Executed store
2023-10-13	13:05:51	2461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861953','12838','1')
2023-10-13	13:05:51	2461	[DEBUG]	Store product image relation
2023-10-13	13:05:51	2461	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:51	2461	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861953 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:51	2461	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:51	2461	[DEBUG]	Executed store
2023-10-13	13:05:51	2461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861953','0','11.9312906220984','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:51	2461	[DEBUG]	Checking manufacturer
2023-10-13	13:05:51	2461	[DEBUG]	Load a row
2023-10-13	13:05:51	2461	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:51	2461	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:51	2461	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:51	2461	[DEBUG]	Executed store
2023-10-13	13:05:51	2461	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:51	2461	[DEBUG]	Manufacturer exists
2023-10-13	13:05:51	2461	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:51	2461	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:51	2461	[DEBUG]	Executed store
2023-10-13	13:05:51	2461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861953','32')
2023-10-13	13:05:51	2461	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:51	2461	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:51	2461	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861953 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:51	2461	[DEBUG]	Store custom available field
2023-10-13	13:05:51	2461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861953,3,'',1)
2023-10-13	13:05:51	2461	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:51	2461	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:51	2461	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861953 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:51	2461	[DEBUG]	Store custom available field
2023-10-13	13:05:51	2461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861953,6,'Set',3)
2023-10-13	13:05:51	2461	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:51	2461	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:51	2461	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861952
2023-10-13	13:05:51	2461	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:51	2461	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861952\":[1861952,8,1,\"choisir la taille\"],\"1861953\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861952
2023-10-13	13:05:51	2461	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:51	2461	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861953
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:51	2462	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field taille
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:51	2462	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:51	2462	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:51	2462	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:51	2462	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:51	2462	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:51	2462	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field published
2023-10-13	13:05:51	2462	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:51	2462	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field override
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:51	2462	[DEBUG]	Use field value for field slug
2023-10-13	13:05:51	2462	[DEBUG]	Process line 2462
2023-10-13	13:05:51	2462	[DEBUG]	Load a row
2023-10-13	13:05:51	2462	[DEBUG]	Processing item: A_486_1
2023-10-13	13:05:51	2462	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:51	2462	[DEBUG]	Processing product tax
2023-10-13	13:05:51	2462	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:51	2462	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:51	2462	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:51	2462	[DEBUG]	Query for Product
2023-10-13	13:05:51	2462	[DEBUG]	Executed store
2023-10-13	13:05:51	2462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_486_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:51	2462	[DEBUG]	Check product language entry
2023-10-13	13:05:51	2462	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861954
2023-10-13	13:05:51	2462	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:51	2462	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_486_1' AND `virtuemart_product_id` != 1861954
2023-10-13	13:05:51	2462	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:51	2462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861954, 'A_486_1')
2023-10-13	13:05:51	2462	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:51	2462	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquette-de-freins-avid-trail-guide-4-pistons-semi-metalliques-noir' AND `virtuemart_product_id` != 1861954
2023-10-13	13:05:51	2462	[DEBUG]	Query for ProductLang
2023-10-13	13:05:51	2462	[DEBUG]	Executed store
2023-10-13	13:05:51	2462	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquette de freins Avid Trail / Guide 4 pistons. Longue durée de vie, élimine le bruit, 22 gr.<br>N° art fourn : DK67',`product_name`='MSC Plaquette de freins Avid Trail / Guide 4 pistons semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquette-de-freins-avid-trail-guide-4-pistons-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861954'
2023-10-13	13:05:51	2462	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_553.jpg
2023-10-13	13:05:51	2462	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:05:51	2462	[DEBUG]	Process image file
2023-10-13	13:05:51	2462	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:05:51	2462	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:51	2462	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_553.jpg
2023-10-13	13:05:51	2462	[DEBUG]	Full name target: bcprisme/image_553.jpg
2023-10-13	13:05:52	2462	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:52	2462	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_553.jpg'
2023-10-13	13:05:52	2462	[DEBUG]	Query for Media
2023-10-13	13:05:52	2462	[DEBUG]	Executed store
2023-10-13	13:05:52	2462	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_553.jpg',`file_url_thumb`='bcprisme/image_553.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12839'
2023-10-13	13:05:52	2462	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:52	2462	[DEBUG]	Executed store
2023-10-13	13:05:52	2462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861954','12839','1')
2023-10-13	13:05:52	2462	[DEBUG]	Store product image relation
2023-10-13	13:05:52	2462	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:52	2462	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861954 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:52	2462	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:52	2462	[DEBUG]	Executed store
2023-10-13	13:05:52	2462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861954','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:52	2462	[DEBUG]	Checking manufacturer
2023-10-13	13:05:52	2462	[DEBUG]	Load a row
2023-10-13	13:05:52	2462	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:52	2462	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:52	2462	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:52	2462	[DEBUG]	Executed store
2023-10-13	13:05:52	2462	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:52	2462	[DEBUG]	Manufacturer exists
2023-10-13	13:05:52	2462	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:52	2462	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:52	2462	[DEBUG]	Executed store
2023-10-13	13:05:52	2462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861954','32')
2023-10-13	13:05:52	2462	[DEBUG]	Find the custom field ID
2023-10-13	13:05:52	2462	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:52	2462	[DEBUG]	No custom field ID found
2023-10-13	13:05:52	2462	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:52	2462	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:52	2462	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861954 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:52	2462	[DEBUG]	Store custom available field
2023-10-13	13:05:52	2462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861954,3,'12.8641666666667',1)
2023-10-13	13:05:52	2462	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:52	2462	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:52	2462	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861954 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:52	2462	[DEBUG]	Store custom available field
2023-10-13	13:05:52	2462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861954,6,'choisir la taille',3)
2023-10-13	13:05:52	2462	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:52	2462	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:52	2462	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:52	2462	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:52	2462	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861954 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:52	2462	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:52	2462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861954,8,1)
2023-10-13	13:05:52	2462	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:52	2462	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861954\":[1861954,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861954
2023-10-13	13:05:52	2462	[DEBUG]	Checking category
2023-10-13	13:05:52	2462	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:52	2462	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861954
2023-10-13	13:05:52	2462	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:52	2462	[DEBUG]	Executed store
2023-10-13	13:05:52	2462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861954','7345')
2023-10-13	13:05:52	2462	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:52	2462	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861954 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:52	2462	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:52	2462	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861954
2023-10-13	13:05:52	2463	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:52	2463	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:52	2463	[DEBUG]	Use field value for field taille
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:52	2463	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:52	2463	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:52	2463	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:52	2463	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:52	2463	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:52	2463	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:52	2463	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:52	2463	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:52	2463	[DEBUG]	Use field value for field published
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:52	2463	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field override
2023-10-13	13:05:52	2463	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:52	2463	[DEBUG]	Use field value for field slug
2023-10-13	13:05:52	2463	[DEBUG]	Process line 2463
2023-10-13	13:05:52	2463	[DEBUG]	Load a row
2023-10-13	13:05:52	2463	[DEBUG]	Processing item: 8436047355766
2023-10-13	13:05:52	2463	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:52	2463	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:52	2463	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_486_1'
2023-10-13	13:05:52	2463	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:52	2463	[DEBUG]	Processing product tax
2023-10-13	13:05:52	2463	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:52	2463	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:52	2463	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:52	2463	[DEBUG]	Query for Product
2023-10-13	13:05:52	2463	[DEBUG]	Executed store
2023-10-13	13:05:52	2463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861954','8436047355766','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:52	2463	[DEBUG]	No parent found
2023-10-13	13:05:52	2463	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861954 AND customfield_value = 'stockable'
2023-10-13	13:05:52	2463	[DEBUG]	Check product language entry
2023-10-13	13:05:52	2463	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861955
2023-10-13	13:05:52	2463	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:52	2463	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047355766' AND `virtuemart_product_id` != 1861955
2023-10-13	13:05:52	2463	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:52	2463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861955, '8436047355766')
2023-10-13	13:05:52	2463	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:52	2463	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquette-de-freins-avid-trail-guide-4-pistons-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861955
2023-10-13	13:05:52	2463	[DEBUG]	Query for ProductLang
2023-10-13	13:05:52	2463	[DEBUG]	Executed store
2023-10-13	13:05:52	2463	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquette de freins Avid Trail / Guide 4 pistons semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquette-de-freins-avid-trail-guide-4-pistons-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861955'
2023-10-13	13:05:52	2463	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_553.jpg
2023-10-13	13:05:52	2463	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:05:52	2463	[DEBUG]	Process image file
2023-10-13	13:05:52	2463	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:05:52	2463	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:52	2463	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_553.jpg
2023-10-13	13:05:52	2463	[DEBUG]	Full name target: bcprisme/image_553.jpg
2023-10-13	13:05:53	2463	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:53	2463	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_553.jpg'
2023-10-13	13:05:53	2463	[DEBUG]	Query for Media
2023-10-13	13:05:53	2463	[DEBUG]	Executed store
2023-10-13	13:05:53	2463	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_553.jpg',`file_url_thumb`='bcprisme/image_553.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12839'
2023-10-13	13:05:53	2463	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:53	2463	[DEBUG]	Executed store
2023-10-13	13:05:53	2463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861955','12839','1')
2023-10-13	13:05:53	2463	[DEBUG]	Store product image relation
2023-10-13	13:05:53	2463	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:53	2463	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861955 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:53	2463	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:53	2463	[DEBUG]	Executed store
2023-10-13	13:05:53	2463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861955','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:53	2463	[DEBUG]	Checking manufacturer
2023-10-13	13:05:53	2463	[DEBUG]	Load a row
2023-10-13	13:05:53	2463	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:53	2463	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:53	2463	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:53	2463	[DEBUG]	Executed store
2023-10-13	13:05:53	2463	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:53	2463	[DEBUG]	Manufacturer exists
2023-10-13	13:05:53	2463	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:53	2463	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:53	2463	[DEBUG]	Executed store
2023-10-13	13:05:53	2463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861955','32')
2023-10-13	13:05:53	2463	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:53	2463	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:53	2463	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861955 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:53	2463	[DEBUG]	Store custom available field
2023-10-13	13:05:53	2463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861955,3,'',1)
2023-10-13	13:05:53	2463	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:53	2463	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:53	2463	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861955 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:53	2463	[DEBUG]	Store custom available field
2023-10-13	13:05:53	2463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861955,6,'Set',3)
2023-10-13	13:05:53	2463	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:53	2463	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:53	2463	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861954
2023-10-13	13:05:53	2463	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:53	2463	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861954\":[1861954,8,1,\"choisir la taille\"],\"1861955\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861954
2023-10-13	13:05:53	2463	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:53	2463	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861955
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:53	2464	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field taille
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:53	2464	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:53	2464	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:53	2464	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:53	2464	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:53	2464	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:53	2464	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field published
2023-10-13	13:05:53	2464	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:53	2464	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field override
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:53	2464	[DEBUG]	Use field value for field slug
2023-10-13	13:05:53	2464	[DEBUG]	Process line 2464
2023-10-13	13:05:53	2464	[DEBUG]	Load a row
2023-10-13	13:05:53	2464	[DEBUG]	Processing item: A_487_1
2023-10-13	13:05:53	2464	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:53	2464	[DEBUG]	Processing product tax
2023-10-13	13:05:53	2464	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:53	2464	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:53	2464	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:53	2464	[DEBUG]	Query for Product
2023-10-13	13:05:53	2464	[DEBUG]	Executed store
2023-10-13	13:05:53	2464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_487_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:53	2464	[DEBUG]	Check product language entry
2023-10-13	13:05:53	2464	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861956
2023-10-13	13:05:53	2464	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:53	2464	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_487_1' AND `virtuemart_product_id` != 1861956
2023-10-13	13:05:53	2464	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:53	2464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861956, 'A_487_1')
2023-10-13	13:05:53	2464	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:53	2464	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-tektro-semi-metalliques-noir' AND `virtuemart_product_id` != 1861956
2023-10-13	13:05:53	2464	[DEBUG]	Query for ProductLang
2023-10-13	13:05:53	2464	[DEBUG]	Executed store
2023-10-13	13:05:53	2464	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. 30gr<br>N° art fourn : DK81',`product_name`='MSC Plaquettes de freins. Tektro semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-tektro-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861956'
2023-10-13	13:05:53	2464	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_554.jpg
2023-10-13	13:05:53	2464	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:53	2464	[DEBUG]	Process image file
2023-10-13	13:05:53	2464	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:53	2464	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:53	2464	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_554.jpg
2023-10-13	13:05:53	2464	[DEBUG]	Full name target: bcprisme/image_554.jpg
2023-10-13	13:05:54	2464	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:54	2464	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_554.jpg'
2023-10-13	13:05:54	2464	[DEBUG]	Query for Media
2023-10-13	13:05:54	2464	[DEBUG]	Executed store
2023-10-13	13:05:54	2464	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_554.jpg',`file_url_thumb`='bcprisme/image_554.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12840'
2023-10-13	13:05:54	2464	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:54	2464	[DEBUG]	Executed store
2023-10-13	13:05:54	2464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861956','12840','1')
2023-10-13	13:05:54	2464	[DEBUG]	Store product image relation
2023-10-13	13:05:54	2464	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:54	2464	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861956 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:54	2464	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:54	2464	[DEBUG]	Executed store
2023-10-13	13:05:54	2464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861956','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:54	2464	[DEBUG]	Checking manufacturer
2023-10-13	13:05:54	2464	[DEBUG]	Load a row
2023-10-13	13:05:54	2464	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:54	2464	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:54	2464	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:54	2464	[DEBUG]	Executed store
2023-10-13	13:05:54	2464	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:54	2464	[DEBUG]	Manufacturer exists
2023-10-13	13:05:54	2464	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:54	2464	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:54	2464	[DEBUG]	Executed store
2023-10-13	13:05:54	2464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861956','32')
2023-10-13	13:05:54	2464	[DEBUG]	Find the custom field ID
2023-10-13	13:05:54	2464	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:54	2464	[DEBUG]	No custom field ID found
2023-10-13	13:05:54	2464	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:54	2464	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:54	2464	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861956 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:54	2464	[DEBUG]	Store custom available field
2023-10-13	13:05:54	2464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861956,3,'12.8641666666667',1)
2023-10-13	13:05:54	2464	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:54	2464	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:54	2464	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861956 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:54	2464	[DEBUG]	Store custom available field
2023-10-13	13:05:54	2464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861956,6,'choisir la taille',3)
2023-10-13	13:05:54	2464	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:54	2464	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:54	2464	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:54	2464	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:54	2464	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861956 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:54	2464	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:54	2464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861956,8,1)
2023-10-13	13:05:54	2464	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:54	2464	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861956\":[1861956,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861956
2023-10-13	13:05:54	2464	[DEBUG]	Checking category
2023-10-13	13:05:54	2464	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:54	2464	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861956
2023-10-13	13:05:54	2464	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:54	2464	[DEBUG]	Executed store
2023-10-13	13:05:54	2464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861956','7345')
2023-10-13	13:05:54	2464	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:54	2464	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861956 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:54	2464	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:54	2464	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861956
2023-10-13	13:05:54	2465	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:54	2465	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:54	2465	[DEBUG]	Use field value for field taille
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:54	2465	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:54	2465	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:54	2465	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:54	2465	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:54	2465	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:54	2465	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:54	2465	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:54	2465	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:54	2465	[DEBUG]	Use field value for field published
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:54	2465	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field override
2023-10-13	13:05:54	2465	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:54	2465	[DEBUG]	Use field value for field slug
2023-10-13	13:05:54	2465	[DEBUG]	Process line 2465
2023-10-13	13:05:54	2465	[DEBUG]	Load a row
2023-10-13	13:05:54	2465	[DEBUG]	Processing item: 8436041526124
2023-10-13	13:05:54	2465	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:54	2465	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:54	2465	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_487_1'
2023-10-13	13:05:54	2465	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:54	2465	[DEBUG]	Processing product tax
2023-10-13	13:05:54	2465	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:54	2465	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:54	2465	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:54	2465	[DEBUG]	Query for Product
2023-10-13	13:05:54	2465	[DEBUG]	Executed store
2023-10-13	13:05:54	2465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861956','8436041526124','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:54	2465	[DEBUG]	No parent found
2023-10-13	13:05:54	2465	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861956 AND customfield_value = 'stockable'
2023-10-13	13:05:54	2465	[DEBUG]	Check product language entry
2023-10-13	13:05:54	2465	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861957
2023-10-13	13:05:54	2465	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:54	2465	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526124' AND `virtuemart_product_id` != 1861957
2023-10-13	13:05:54	2465	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:54	2465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861957, '8436041526124')
2023-10-13	13:05:54	2465	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:54	2465	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-tektro-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861957
2023-10-13	13:05:54	2465	[DEBUG]	Query for ProductLang
2023-10-13	13:05:54	2465	[DEBUG]	Executed store
2023-10-13	13:05:54	2465	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins. Tektro semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-tektro-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861957'
2023-10-13	13:05:54	2465	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_554.jpg
2023-10-13	13:05:54	2465	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:54	2465	[DEBUG]	Process image file
2023-10-13	13:05:54	2465	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:05:54	2465	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:54	2465	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_554.jpg
2023-10-13	13:05:54	2465	[DEBUG]	Full name target: bcprisme/image_554.jpg
2023-10-13	13:05:55	2465	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:55	2465	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_554.jpg'
2023-10-13	13:05:55	2465	[DEBUG]	Query for Media
2023-10-13	13:05:55	2465	[DEBUG]	Executed store
2023-10-13	13:05:55	2465	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_554.jpg',`file_url_thumb`='bcprisme/image_554.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12840'
2023-10-13	13:05:55	2465	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:55	2465	[DEBUG]	Executed store
2023-10-13	13:05:55	2465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861957','12840','1')
2023-10-13	13:05:55	2465	[DEBUG]	Store product image relation
2023-10-13	13:05:55	2465	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:55	2465	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861957 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:55	2465	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:55	2465	[DEBUG]	Executed store
2023-10-13	13:05:55	2465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861957','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:55	2465	[DEBUG]	Checking manufacturer
2023-10-13	13:05:55	2465	[DEBUG]	Load a row
2023-10-13	13:05:55	2465	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:55	2465	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:55	2465	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:55	2465	[DEBUG]	Executed store
2023-10-13	13:05:55	2465	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:55	2465	[DEBUG]	Manufacturer exists
2023-10-13	13:05:55	2465	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:55	2465	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:55	2465	[DEBUG]	Executed store
2023-10-13	13:05:55	2465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861957','32')
2023-10-13	13:05:55	2465	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:55	2465	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:55	2465	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861957 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:55	2465	[DEBUG]	Store custom available field
2023-10-13	13:05:55	2465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861957,3,'',1)
2023-10-13	13:05:55	2465	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:55	2465	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:55	2465	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861957 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:55	2465	[DEBUG]	Store custom available field
2023-10-13	13:05:55	2465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861957,6,'Set',3)
2023-10-13	13:05:55	2465	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:55	2465	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:55	2465	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861956
2023-10-13	13:05:55	2465	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:55	2465	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861956\":[1861956,8,1,\"choisir la taille\"],\"1861957\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861956
2023-10-13	13:05:55	2465	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:55	2465	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861957
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:55	2466	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field taille
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:55	2466	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:55	2466	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:55	2466	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:55	2466	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:55	2466	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:55	2466	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field published
2023-10-13	13:05:55	2466	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:55	2466	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field override
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:55	2466	[DEBUG]	Use field value for field slug
2023-10-13	13:05:55	2466	[DEBUG]	Process line 2466
2023-10-13	13:05:55	2466	[DEBUG]	Load a row
2023-10-13	13:05:55	2466	[DEBUG]	Processing item: A_488_1
2023-10-13	13:05:55	2466	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:55	2466	[DEBUG]	Processing product tax
2023-10-13	13:05:55	2466	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:55	2466	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:55	2466	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:55	2466	[DEBUG]	Query for Product
2023-10-13	13:05:55	2466	[DEBUG]	Executed store
2023-10-13	13:05:55	2466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_488_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:55	2466	[DEBUG]	Check product language entry
2023-10-13	13:05:55	2466	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861958
2023-10-13	13:05:55	2466	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:55	2466	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_488_1' AND `virtuemart_product_id` != 1861958
2023-10-13	13:05:55	2466	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:55	2466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861958, 'A_488_1')
2023-10-13	13:05:55	2466	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:55	2466	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hayes-stroker-trail-semi-metalliques-noir' AND `virtuemart_product_id` != 1861958
2023-10-13	13:05:55	2466	[DEBUG]	Query for ProductLang
2023-10-13	13:05:55	2466	[DEBUG]	Executed store
2023-10-13	13:05:55	2466	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. <br>N° art fourn : DK82',`product_name`='MSC Plaquettes de freins Hayes Stroker Trail semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hayes-stroker-trail-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861958'
2023-10-13	13:05:55	2466	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_555.jpg
2023-10-13	13:05:55	2466	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:05:55	2466	[DEBUG]	Process image file
2023-10-13	13:05:55	2466	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:05:55	2466	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:55	2466	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_555.jpg
2023-10-13	13:05:55	2466	[DEBUG]	Full name target: bcprisme/image_555.jpg
2023-10-13	13:05:56	2466	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:56	2466	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_555.jpg'
2023-10-13	13:05:56	2466	[DEBUG]	Query for Media
2023-10-13	13:05:56	2466	[DEBUG]	Executed store
2023-10-13	13:05:56	2466	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_555.jpg',`file_url_thumb`='bcprisme/image_555.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12841'
2023-10-13	13:05:56	2466	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:56	2466	[DEBUG]	Executed store
2023-10-13	13:05:56	2466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861958','12841','1')
2023-10-13	13:05:56	2466	[DEBUG]	Store product image relation
2023-10-13	13:05:56	2466	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:56	2466	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861958 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:56	2466	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:56	2466	[DEBUG]	Executed store
2023-10-13	13:05:56	2466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861958','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:56	2466	[DEBUG]	Checking manufacturer
2023-10-13	13:05:56	2466	[DEBUG]	Load a row
2023-10-13	13:05:56	2466	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:56	2466	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:56	2466	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:56	2466	[DEBUG]	Executed store
2023-10-13	13:05:56	2466	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:56	2466	[DEBUG]	Manufacturer exists
2023-10-13	13:05:56	2466	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:56	2466	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:56	2466	[DEBUG]	Executed store
2023-10-13	13:05:56	2466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861958','32')
2023-10-13	13:05:56	2466	[DEBUG]	Find the custom field ID
2023-10-13	13:05:56	2466	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:56	2466	[DEBUG]	No custom field ID found
2023-10-13	13:05:56	2466	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:56	2466	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:05:56	2466	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861958 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:56	2466	[DEBUG]	Store custom available field
2023-10-13	13:05:56	2466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861958,3,'16.8530555555556',1)
2023-10-13	13:05:56	2466	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:56	2466	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:56	2466	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861958 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:56	2466	[DEBUG]	Store custom available field
2023-10-13	13:05:56	2466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861958,6,'choisir la taille',3)
2023-10-13	13:05:56	2466	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:56	2466	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:56	2466	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:56	2466	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:56	2466	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861958 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:56	2466	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:56	2466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861958,8,1)
2023-10-13	13:05:56	2466	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:56	2466	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861958\":[1861958,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861958
2023-10-13	13:05:56	2466	[DEBUG]	Checking category
2023-10-13	13:05:56	2466	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:56	2466	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861958
2023-10-13	13:05:56	2466	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:56	2466	[DEBUG]	Executed store
2023-10-13	13:05:56	2466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861958','7345')
2023-10-13	13:05:56	2466	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:56	2466	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861958 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:56	2466	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:56	2466	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861958
2023-10-13	13:05:56	2467	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:56	2467	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:56	2467	[DEBUG]	Use field value for field taille
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:56	2467	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:56	2467	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:56	2467	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:56	2467	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:56	2467	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:56	2467	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:56	2467	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:56	2467	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:56	2467	[DEBUG]	Use field value for field published
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:56	2467	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field override
2023-10-13	13:05:56	2467	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:56	2467	[DEBUG]	Use field value for field slug
2023-10-13	13:05:56	2467	[DEBUG]	Process line 2467
2023-10-13	13:05:56	2467	[DEBUG]	Load a row
2023-10-13	13:05:56	2467	[DEBUG]	Processing item: 8436041556749
2023-10-13	13:05:56	2467	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:56	2467	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:56	2467	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_488_1'
2023-10-13	13:05:56	2467	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:56	2467	[DEBUG]	Processing product tax
2023-10-13	13:05:56	2467	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:56	2467	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:56	2467	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:56	2467	[DEBUG]	Query for Product
2023-10-13	13:05:56	2467	[DEBUG]	Executed store
2023-10-13	13:05:56	2467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861958','8436041556749','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:56	2467	[DEBUG]	No parent found
2023-10-13	13:05:56	2467	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861958 AND customfield_value = 'stockable'
2023-10-13	13:05:56	2467	[DEBUG]	Check product language entry
2023-10-13	13:05:56	2467	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861959
2023-10-13	13:05:56	2467	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:56	2467	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041556749' AND `virtuemart_product_id` != 1861959
2023-10-13	13:05:56	2467	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:56	2467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861959, '8436041556749')
2023-10-13	13:05:56	2467	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:56	2467	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hayes-stroker-trail-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861959
2023-10-13	13:05:56	2467	[DEBUG]	Query for ProductLang
2023-10-13	13:05:56	2467	[DEBUG]	Executed store
2023-10-13	13:05:56	2467	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Hayes Stroker Trail semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hayes-stroker-trail-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861959'
2023-10-13	13:05:56	2467	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_555.jpg
2023-10-13	13:05:56	2467	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:05:56	2467	[DEBUG]	Process image file
2023-10-13	13:05:56	2467	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:05:56	2467	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:56	2467	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_555.jpg
2023-10-13	13:05:56	2467	[DEBUG]	Full name target: bcprisme/image_555.jpg
2023-10-13	13:05:57	2467	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:57	2467	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_555.jpg'
2023-10-13	13:05:57	2467	[DEBUG]	Query for Media
2023-10-13	13:05:57	2467	[DEBUG]	Executed store
2023-10-13	13:05:57	2467	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_555.jpg',`file_url_thumb`='bcprisme/image_555.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12841'
2023-10-13	13:05:57	2467	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:57	2467	[DEBUG]	Executed store
2023-10-13	13:05:57	2467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861959','12841','1')
2023-10-13	13:05:57	2467	[DEBUG]	Store product image relation
2023-10-13	13:05:57	2467	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:57	2467	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861959 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:57	2467	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:57	2467	[DEBUG]	Executed store
2023-10-13	13:05:57	2467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861959','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:57	2467	[DEBUG]	Checking manufacturer
2023-10-13	13:05:57	2467	[DEBUG]	Load a row
2023-10-13	13:05:57	2467	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:57	2467	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:57	2467	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:57	2467	[DEBUG]	Executed store
2023-10-13	13:05:57	2467	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:57	2467	[DEBUG]	Manufacturer exists
2023-10-13	13:05:57	2467	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:57	2467	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:57	2467	[DEBUG]	Executed store
2023-10-13	13:05:57	2467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861959','32')
2023-10-13	13:05:57	2467	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:57	2467	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:57	2467	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861959 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:57	2467	[DEBUG]	Store custom available field
2023-10-13	13:05:57	2467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861959,3,'',1)
2023-10-13	13:05:57	2467	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:57	2467	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:57	2467	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861959 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:57	2467	[DEBUG]	Store custom available field
2023-10-13	13:05:57	2467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861959,6,'Set',3)
2023-10-13	13:05:57	2467	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:57	2467	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:57	2467	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861958
2023-10-13	13:05:57	2467	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:57	2467	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861958\":[1861958,8,1,\"choisir la taille\"],\"1861959\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861958
2023-10-13	13:05:57	2467	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:57	2467	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861959
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:57	2468	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field taille
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:57	2468	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:57	2468	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:57	2468	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:57	2468	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:57	2468	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:57	2468	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field published
2023-10-13	13:05:57	2468	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:57	2468	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field override
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:57	2468	[DEBUG]	Use field value for field slug
2023-10-13	13:05:57	2468	[DEBUG]	Process line 2468
2023-10-13	13:05:57	2468	[DEBUG]	Load a row
2023-10-13	13:05:57	2468	[DEBUG]	Processing item: A_489_1
2023-10-13	13:05:57	2468	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:57	2468	[DEBUG]	Processing product tax
2023-10-13	13:05:57	2468	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:57	2468	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:57	2468	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:57	2468	[DEBUG]	Query for Product
2023-10-13	13:05:57	2468	[DEBUG]	Executed store
2023-10-13	13:05:57	2468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_489_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:57	2468	[DEBUG]	Check product language entry
2023-10-13	13:05:57	2468	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861960
2023-10-13	13:05:57	2468	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:57	2468	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_489_1' AND `virtuemart_product_id` != 1861960
2023-10-13	13:05:57	2468	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:57	2468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861960, 'A_489_1')
2023-10-13	13:05:57	2468	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:57	2468	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hayes-stroker-ryde-semi-metalliques-noir' AND `virtuemart_product_id` != 1861960
2023-10-13	13:05:57	2468	[DEBUG]	Query for ProductLang
2023-10-13	13:05:57	2468	[DEBUG]	Executed store
2023-10-13	13:05:57	2468	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. 20gr<br>N° art fourn : DK83',`product_name`='MSC Plaquettes de freins Hayes Stroker Ryde semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hayes-stroker-ryde-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861960'
2023-10-13	13:05:57	2468	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_556.jpg
2023-10-13	13:05:57	2468	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:05:57	2468	[DEBUG]	Process image file
2023-10-13	13:05:57	2468	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:05:57	2468	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:57	2468	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_556.jpg
2023-10-13	13:05:57	2468	[DEBUG]	Full name target: bcprisme/image_556.jpg
2023-10-13	13:05:58	2468	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:58	2468	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_556.jpg'
2023-10-13	13:05:58	2468	[DEBUG]	Query for Media
2023-10-13	13:05:58	2468	[DEBUG]	Executed store
2023-10-13	13:05:58	2468	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_556.jpg',`file_url_thumb`='bcprisme/image_556.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12842'
2023-10-13	13:05:58	2468	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:58	2468	[DEBUG]	Executed store
2023-10-13	13:05:58	2468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861960','12842','1')
2023-10-13	13:05:58	2468	[DEBUG]	Store product image relation
2023-10-13	13:05:58	2468	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:58	2468	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861960 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:58	2468	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:58	2468	[DEBUG]	Executed store
2023-10-13	13:05:58	2468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861960','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:58	2468	[DEBUG]	Checking manufacturer
2023-10-13	13:05:58	2468	[DEBUG]	Load a row
2023-10-13	13:05:58	2468	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:58	2468	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:58	2468	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:58	2468	[DEBUG]	Executed store
2023-10-13	13:05:58	2468	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:58	2468	[DEBUG]	Manufacturer exists
2023-10-13	13:05:58	2468	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:58	2468	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:58	2468	[DEBUG]	Executed store
2023-10-13	13:05:58	2468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861960','32')
2023-10-13	13:05:58	2468	[DEBUG]	Find the custom field ID
2023-10-13	13:05:58	2468	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:05:58	2468	[DEBUG]	No custom field ID found
2023-10-13	13:05:58	2468	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:58	2468	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:05:58	2468	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861960 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:58	2468	[DEBUG]	Store custom available field
2023-10-13	13:05:58	2468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861960,3,'12.8641666666667',1)
2023-10-13	13:05:58	2468	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:58	2468	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:05:58	2468	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861960 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:58	2468	[DEBUG]	Store custom available field
2023-10-13	13:05:58	2468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861960,6,'choisir la taille',3)
2023-10-13	13:05:58	2468	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:58	2468	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:05:58	2468	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:05:58	2468	[DEBUG]	Find the multi variant product entry
2023-10-13	13:05:58	2468	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861960 AND `virtuemart_custom_id` = 8
2023-10-13	13:05:58	2468	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:05:58	2468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861960,8,1)
2023-10-13	13:05:58	2468	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:58	2468	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861960\":[1861960,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861960
2023-10-13	13:05:58	2468	[DEBUG]	Checking category
2023-10-13	13:05:58	2468	[DEBUG]	Get the existing categories for the product
2023-10-13	13:05:58	2468	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861960
2023-10-13	13:05:58	2468	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:05:58	2468	[DEBUG]	Executed store
2023-10-13	13:05:58	2468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861960','7345')
2023-10-13	13:05:58	2468	[DEBUG]	Delete leftover product categories
2023-10-13	13:05:58	2468	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861960 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:05:58	2468	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:58	2468	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861960
2023-10-13	13:05:58	2469	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:58	2469	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:05:58	2469	[DEBUG]	Use field value for field taille
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:05:58	2469	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field category_path
2023-10-13	13:05:58	2469	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:58	2469	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:58	2469	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:58	2469	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:05:58	2469	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field product_weight
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:58	2469	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:58	2469	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:58	2469	[DEBUG]	Use field value for field published
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field custom_title
2023-10-13	13:05:58	2469	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field custom_param
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field override
2023-10-13	13:05:58	2469	[DEBUG]	Use default value for field public_price
2023-10-13	13:05:58	2469	[DEBUG]	Use field value for field slug
2023-10-13	13:05:58	2469	[DEBUG]	Process line 2469
2023-10-13	13:05:58	2469	[DEBUG]	Load a row
2023-10-13	13:05:58	2469	[DEBUG]	Processing item: 8436041556756
2023-10-13	13:05:58	2469	[DEBUG]	Looking for parent SKU
2023-10-13	13:05:58	2469	[DEBUG]	Checking product parent SKU
2023-10-13	13:05:58	2469	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_489_1'
2023-10-13	13:05:58	2469	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:58	2469	[DEBUG]	Processing product tax
2023-10-13	13:05:58	2469	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:58	2469	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:58	2469	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:58	2469	[DEBUG]	Query for Product
2023-10-13	13:05:58	2469	[DEBUG]	Executed store
2023-10-13	13:05:58	2469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861960','8436041556756','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:58	2469	[DEBUG]	No parent found
2023-10-13	13:05:58	2469	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861960 AND customfield_value = 'stockable'
2023-10-13	13:05:58	2469	[DEBUG]	Check product language entry
2023-10-13	13:05:58	2469	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861961
2023-10-13	13:05:58	2469	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:58	2469	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041556756' AND `virtuemart_product_id` != 1861961
2023-10-13	13:05:58	2469	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:05:58	2469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861961, '8436041556756')
2023-10-13	13:05:58	2469	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:58	2469	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hayes-stroker-ryde-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861961
2023-10-13	13:05:58	2469	[DEBUG]	Query for ProductLang
2023-10-13	13:05:58	2469	[DEBUG]	Executed store
2023-10-13	13:05:58	2469	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Hayes Stroker Ryde semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hayes-stroker-ryde-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861961'
2023-10-13	13:05:58	2469	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_556.jpg
2023-10-13	13:05:58	2469	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:05:58	2469	[DEBUG]	Process image file
2023-10-13	13:05:58	2469	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:05:58	2469	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:05:58	2469	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_556.jpg
2023-10-13	13:05:58	2469	[DEBUG]	Full name target: bcprisme/image_556.jpg
2023-10-13	13:05:59	2469	[DEBUG]	Checking if the file_url exists
2023-10-13	13:05:59	2469	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_556.jpg'
2023-10-13	13:05:59	2469	[DEBUG]	Query for Media
2023-10-13	13:05:59	2469	[DEBUG]	Executed store
2023-10-13	13:05:59	2469	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_556.jpg',`file_url_thumb`='bcprisme/image_556.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12842'
2023-10-13	13:05:59	2469	[DEBUG]	Query for ProductMedia
2023-10-13	13:05:59	2469	[DEBUG]	Executed store
2023-10-13	13:05:59	2469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861961','12842','1')
2023-10-13	13:05:59	2469	[DEBUG]	Store product image relation
2023-10-13	13:05:59	2469	[DEBUG]	Finding a product_price_id
2023-10-13	13:05:59	2469	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861961 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:05:59	2469	[DEBUG]	Query for ProductPrice
2023-10-13	13:05:59	2469	[DEBUG]	Executed store
2023-10-13	13:05:59	2469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861961','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:05:59	2469	[DEBUG]	Checking manufacturer
2023-10-13	13:05:59	2469	[DEBUG]	Load a row
2023-10-13	13:05:59	2469	[DEBUG]	Manufacturer already exists
2023-10-13	13:05:59	2469	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:59	2469	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:05:59	2469	[DEBUG]	Executed store
2023-10-13	13:05:59	2469	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:05:59	2469	[DEBUG]	Manufacturer exists
2023-10-13	13:05:59	2469	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:05:59	2469	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:05:59	2469	[DEBUG]	Executed store
2023-10-13	13:05:59	2469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861961','32')
2023-10-13	13:05:59	2469	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:05:59	2469	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:05:59	2469	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861961 AND `virtuemart_custom_id` = 3
2023-10-13	13:05:59	2469	[DEBUG]	Store custom available field
2023-10-13	13:05:59	2469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861961,3,'',1)
2023-10-13	13:05:59	2469	[DEBUG]	Processing custom available field: taille
2023-10-13	13:05:59	2469	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:05:59	2469	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861961 AND `virtuemart_custom_id` = 6
2023-10-13	13:05:59	2469	[DEBUG]	Store custom available field
2023-10-13	13:05:59	2469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861961,6,'Set',3)
2023-10-13	13:05:59	2469	[DEBUG]	Process multi-variant fields
2023-10-13	13:05:59	2469	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:05:59	2469	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861960
2023-10-13	13:05:59	2469	[DEBUG]	Store the updated customfield_params
2023-10-13	13:05:59	2469	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861960\":[1861960,8,1,\"choisir la taille\"],\"1861961\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861960
2023-10-13	13:05:59	2469	[DEBUG]	Update has fields after all processing
2023-10-13	13:05:59	2469	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861961
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field product_sku
2023-10-13	13:05:59	2470	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field taille
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field product_name
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field category_path
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field product_price
2023-10-13	13:05:59	2470	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field product_tax
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field file_url
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:05:59	2470	[DEBUG]	Use default value for field product_desc
2023-10-13	13:05:59	2470	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field product_availability
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field product_weight
2023-10-13	13:05:59	2470	[DEBUG]	Use default value for field product_unit
2023-10-13	13:05:59	2470	[DEBUG]	Use default value for field related_products
2023-10-13	13:05:59	2470	[DEBUG]	Use default value for field product_special
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field published
2023-10-13	13:05:59	2470	[DEBUG]	Use default value for field metadesc
2023-10-13	13:05:59	2470	[DEBUG]	Use default value for field metakey
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field custom_title
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field custom_value
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field custom_param
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field override
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field public_price
2023-10-13	13:05:59	2470	[DEBUG]	Use field value for field slug
2023-10-13	13:05:59	2470	[DEBUG]	Process line 2470
2023-10-13	13:05:59	2470	[DEBUG]	Load a row
2023-10-13	13:05:59	2470	[DEBUG]	Processing item: A_497_1
2023-10-13	13:05:59	2470	[DEBUG]	Product tax: 7.7
2023-10-13	13:05:59	2470	[DEBUG]	Processing product tax
2023-10-13	13:05:59	2470	[DEBUG]	Check if calculation rule exists
2023-10-13	13:05:59	2470	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:05:59	2470	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:05:59	2470	[DEBUG]	Query for Product
2023-10-13	13:05:59	2470	[DEBUG]	Executed store
2023-10-13	13:05:59	2470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_497_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:05:59	2470	[DEBUG]	Check product language entry
2023-10-13	13:05:59	2470	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861962
2023-10-13	13:05:59	2470	[DEBUG]	Check if the product slug exists
2023-10-13	13:05:59	2470	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_497_1' AND `virtuemart_product_id` != 1861962
2023-10-13	13:06:00	2470	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:00	2470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861962, 'A_497_1')
2023-10-13	13:06:00	2470	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:00	2470	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-semi-metalliques-noir' AND `virtuemart_product_id` != 1861962
2023-10-13	13:06:00	2470	[DEBUG]	Query for ProductLang
2023-10-13	13:06:00	2470	[DEBUG]	Executed store
2023-10-13	13:06:00	2470	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. <br>N° art fourn : DS05',`product_name`='MSC Plaquettes de freins Hope semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861962'
2023-10-13	13:06:00	2470	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_564.jpg
2023-10-13	13:06:00	2470	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:06:00	2470	[DEBUG]	Process image file
2023-10-13	13:06:00	2470	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:06:00	2470	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:00	2470	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_564.jpg
2023-10-13	13:06:00	2470	[DEBUG]	Full name target: bcprisme/image_564.jpg
2023-10-13	13:06:00	2470	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:00	2470	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_564.jpg'
2023-10-13	13:06:00	2470	[DEBUG]	Query for Media
2023-10-13	13:06:00	2470	[DEBUG]	Executed store
2023-10-13	13:06:00	2470	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_564.jpg',`file_url_thumb`='bcprisme/image_564.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12843'
2023-10-13	13:06:00	2470	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:00	2470	[DEBUG]	Executed store
2023-10-13	13:06:00	2470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861962','12843','1')
2023-10-13	13:06:00	2470	[DEBUG]	Store product image relation
2023-10-13	13:06:00	2470	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:00	2470	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861962 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:00	2470	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:00	2470	[DEBUG]	Executed store
2023-10-13	13:06:00	2470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861962','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:00	2470	[DEBUG]	Checking manufacturer
2023-10-13	13:06:00	2470	[DEBUG]	Load a row
2023-10-13	13:06:00	2470	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:00	2470	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:00	2470	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:00	2470	[DEBUG]	Executed store
2023-10-13	13:06:00	2470	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:01	2470	[DEBUG]	Manufacturer exists
2023-10-13	13:06:01	2470	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:01	2470	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:01	2470	[DEBUG]	Executed store
2023-10-13	13:06:01	2470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861962','32')
2023-10-13	13:06:01	2470	[DEBUG]	Find the custom field ID
2023-10-13	13:06:01	2470	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:01	2470	[DEBUG]	No custom field ID found
2023-10-13	13:06:01	2470	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:01	2470	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:06:01	2470	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861962 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:01	2470	[DEBUG]	Store custom available field
2023-10-13	13:06:01	2470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861962,3,'16.8530555555556',1)
2023-10-13	13:06:01	2470	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:01	2470	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:01	2470	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861962 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:01	2470	[DEBUG]	Store custom available field
2023-10-13	13:06:01	2470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861962,6,'choisir la taille',3)
2023-10-13	13:06:01	2470	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:01	2470	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:01	2470	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:01	2470	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:01	2470	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861962 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:01	2470	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:01	2470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861962,8,1)
2023-10-13	13:06:01	2470	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:01	2470	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861962\":[1861962,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861962
2023-10-13	13:06:01	2470	[DEBUG]	Checking category
2023-10-13	13:06:01	2470	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:01	2470	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861962
2023-10-13	13:06:01	2470	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:01	2470	[DEBUG]	Executed store
2023-10-13	13:06:01	2470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861962','7345')
2023-10-13	13:06:01	2470	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:01	2470	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861962 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:01	2470	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:01	2470	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861962
2023-10-13	13:06:01	2471	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:01	2471	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:01	2471	[DEBUG]	Use field value for field taille
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:01	2471	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:01	2471	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:01	2471	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:01	2471	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:01	2471	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:01	2471	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:01	2471	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:01	2471	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:01	2471	[DEBUG]	Use field value for field published
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:01	2471	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field override
2023-10-13	13:06:01	2471	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:01	2471	[DEBUG]	Use field value for field slug
2023-10-13	13:06:01	2471	[DEBUG]	Process line 2471
2023-10-13	13:06:01	2471	[DEBUG]	Load a row
2023-10-13	13:06:01	2471	[DEBUG]	Processing item: 8436041526148
2023-10-13	13:06:01	2471	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:01	2471	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:01	2471	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_497_1'
2023-10-13	13:06:01	2471	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:01	2471	[DEBUG]	Processing product tax
2023-10-13	13:06:01	2471	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:01	2471	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:01	2471	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:01	2471	[DEBUG]	Query for Product
2023-10-13	13:06:01	2471	[DEBUG]	Executed store
2023-10-13	13:06:01	2471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861962','8436041526148','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:01	2471	[DEBUG]	No parent found
2023-10-13	13:06:01	2471	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861962 AND customfield_value = 'stockable'
2023-10-13	13:06:01	2471	[DEBUG]	Check product language entry
2023-10-13	13:06:01	2471	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861963
2023-10-13	13:06:01	2471	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:01	2471	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526148' AND `virtuemart_product_id` != 1861963
2023-10-13	13:06:01	2471	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:01	2471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861963, '8436041526148')
2023-10-13	13:06:01	2471	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:01	2471	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861963
2023-10-13	13:06:01	2471	[DEBUG]	Query for ProductLang
2023-10-13	13:06:01	2471	[DEBUG]	Executed store
2023-10-13	13:06:01	2471	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Hope semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861963'
2023-10-13	13:06:01	2471	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_564.jpg
2023-10-13	13:06:01	2471	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:06:01	2471	[DEBUG]	Process image file
2023-10-13	13:06:01	2471	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:06:01	2471	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:01	2471	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_564.jpg
2023-10-13	13:06:01	2471	[DEBUG]	Full name target: bcprisme/image_564.jpg
2023-10-13	13:06:02	2471	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:02	2471	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_564.jpg'
2023-10-13	13:06:02	2471	[DEBUG]	Query for Media
2023-10-13	13:06:02	2471	[DEBUG]	Executed store
2023-10-13	13:06:02	2471	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_564.jpg',`file_url_thumb`='bcprisme/image_564.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12843'
2023-10-13	13:06:02	2471	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:02	2471	[DEBUG]	Executed store
2023-10-13	13:06:02	2471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861963','12843','1')
2023-10-13	13:06:02	2471	[DEBUG]	Store product image relation
2023-10-13	13:06:02	2471	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:02	2471	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861963 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:02	2471	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:02	2471	[DEBUG]	Executed store
2023-10-13	13:06:02	2471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861963','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:02	2471	[DEBUG]	Checking manufacturer
2023-10-13	13:06:02	2471	[DEBUG]	Load a row
2023-10-13	13:06:02	2471	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:02	2471	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:02	2471	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:02	2471	[DEBUG]	Executed store
2023-10-13	13:06:02	2471	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:02	2471	[DEBUG]	Manufacturer exists
2023-10-13	13:06:02	2471	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:02	2471	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:02	2471	[DEBUG]	Executed store
2023-10-13	13:06:02	2471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861963','32')
2023-10-13	13:06:02	2471	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:02	2471	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:02	2471	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861963 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:02	2471	[DEBUG]	Store custom available field
2023-10-13	13:06:02	2471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861963,3,'',1)
2023-10-13	13:06:02	2471	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:02	2471	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:06:02	2471	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861963 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:02	2471	[DEBUG]	Store custom available field
2023-10-13	13:06:02	2471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861963,6,'Set',3)
2023-10-13	13:06:02	2471	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:02	2471	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:02	2471	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861962
2023-10-13	13:06:02	2471	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:02	2471	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861962\":[1861962,8,1,\"choisir la taille\"],\"1861963\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861962
2023-10-13	13:06:02	2471	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:02	2471	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861963
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:02	2472	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field taille
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:02	2472	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:02	2472	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:02	2472	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:02	2472	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:02	2472	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:02	2472	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field published
2023-10-13	13:06:02	2472	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:02	2472	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field override
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:02	2472	[DEBUG]	Use field value for field slug
2023-10-13	13:06:02	2472	[DEBUG]	Process line 2472
2023-10-13	13:06:02	2472	[DEBUG]	Load a row
2023-10-13	13:06:02	2472	[DEBUG]	Processing item: A_498_1
2023-10-13	13:06:02	2472	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:02	2472	[DEBUG]	Processing product tax
2023-10-13	13:06:02	2472	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:02	2472	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:02	2472	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:02	2472	[DEBUG]	Query for Product
2023-10-13	13:06:02	2472	[DEBUG]	Executed store
2023-10-13	13:06:02	2472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_498_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:02	2472	[DEBUG]	Check product language entry
2023-10-13	13:06:02	2472	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861964
2023-10-13	13:06:02	2472	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:02	2472	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_498_1' AND `virtuemart_product_id` != 1861964
2023-10-13	13:06:02	2472	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:02	2472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861964, 'A_498_1')
2023-10-13	13:06:02	2472	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:02	2472	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-magura-gustav-semi-metallique-noir' AND `virtuemart_product_id` != 1861964
2023-10-13	13:06:02	2472	[DEBUG]	Query for ProductLang
2023-10-13	13:06:02	2472	[DEBUG]	Executed store
2023-10-13	13:06:02	2472	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. <br>N° art fourn : DS18',`product_name`='MSC Plaquettes de freins Magura Gustav semi-métallique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-magura-gustav-semi-metallique-noir' WHERE `virtuemart_product_id` = '1861964'
2023-10-13	13:06:02	2472	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_565.jpg
2023-10-13	13:06:02	2472	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:06:02	2472	[DEBUG]	Process image file
2023-10-13	13:06:02	2472	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:06:02	2472	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:02	2472	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_565.jpg
2023-10-13	13:06:02	2472	[DEBUG]	Full name target: bcprisme/image_565.jpg
2023-10-13	13:06:03	2472	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:03	2472	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_565.jpg'
2023-10-13	13:06:03	2472	[DEBUG]	Query for Media
2023-10-13	13:06:03	2472	[DEBUG]	Executed store
2023-10-13	13:06:03	2472	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_565.jpg',`file_url_thumb`='bcprisme/image_565.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12844'
2023-10-13	13:06:03	2472	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:03	2472	[DEBUG]	Executed store
2023-10-13	13:06:03	2472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861964','12844','1')
2023-10-13	13:06:03	2472	[DEBUG]	Store product image relation
2023-10-13	13:06:03	2472	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:03	2472	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861964 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:03	2472	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:03	2472	[DEBUG]	Executed store
2023-10-13	13:06:03	2472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861964','0','15.6453110492108','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:03	2472	[DEBUG]	Checking manufacturer
2023-10-13	13:06:03	2472	[DEBUG]	Load a row
2023-10-13	13:06:03	2472	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:03	2472	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:03	2472	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:03	2472	[DEBUG]	Executed store
2023-10-13	13:06:03	2472	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:03	2472	[DEBUG]	Manufacturer exists
2023-10-13	13:06:03	2472	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:03	2472	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:03	2472	[DEBUG]	Executed store
2023-10-13	13:06:03	2472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861964','32')
2023-10-13	13:06:03	2472	[DEBUG]	Find the custom field ID
2023-10-13	13:06:03	2472	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:03	2472	[DEBUG]	No custom field ID found
2023-10-13	13:06:03	2472	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:03	2472	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:06:03	2472	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861964 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:03	2472	[DEBUG]	Store custom available field
2023-10-13	13:06:03	2472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861964,3,'16.8530555555556',1)
2023-10-13	13:06:03	2472	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:03	2472	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:03	2472	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861964 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:03	2472	[DEBUG]	Store custom available field
2023-10-13	13:06:03	2472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861964,6,'choisir la taille',3)
2023-10-13	13:06:03	2472	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:03	2472	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:03	2472	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:03	2472	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:03	2472	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861964 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:03	2472	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:03	2472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861964,8,1)
2023-10-13	13:06:03	2472	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:03	2472	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861964\":[1861964,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861964
2023-10-13	13:06:03	2472	[DEBUG]	Checking category
2023-10-13	13:06:03	2472	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:03	2472	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861964
2023-10-13	13:06:03	2472	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:03	2472	[DEBUG]	Executed store
2023-10-13	13:06:03	2472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861964','7345')
2023-10-13	13:06:03	2472	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:03	2472	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861964 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:03	2472	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:03	2472	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861964
2023-10-13	13:06:03	2473	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:03	2473	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:03	2473	[DEBUG]	Use field value for field taille
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:03	2473	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:03	2473	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:03	2473	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:03	2473	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:03	2473	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:03	2473	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:03	2473	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:03	2473	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:03	2473	[DEBUG]	Use field value for field published
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:03	2473	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field override
2023-10-13	13:06:03	2473	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:03	2473	[DEBUG]	Use field value for field slug
2023-10-13	13:06:03	2473	[DEBUG]	Process line 2473
2023-10-13	13:06:03	2473	[DEBUG]	Load a row
2023-10-13	13:06:03	2473	[DEBUG]	Processing item: 1000000006018
2023-10-13	13:06:03	2473	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:03	2473	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:03	2473	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_498_1'
2023-10-13	13:06:03	2473	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:03	2473	[DEBUG]	Processing product tax
2023-10-13	13:06:03	2473	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:03	2473	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:03	2473	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:03	2473	[DEBUG]	Query for Product
2023-10-13	13:06:03	2473	[DEBUG]	Executed store
2023-10-13	13:06:03	2473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861964','1000000006018','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:03	2473	[DEBUG]	No parent found
2023-10-13	13:06:03	2473	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861964 AND customfield_value = 'stockable'
2023-10-13	13:06:03	2473	[DEBUG]	Check product language entry
2023-10-13	13:06:03	2473	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861965
2023-10-13	13:06:03	2473	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:03	2473	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000006018' AND `virtuemart_product_id` != 1861965
2023-10-13	13:06:03	2473	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:03	2473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861965, '1000000006018')
2023-10-13	13:06:03	2473	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:03	2473	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-magura-gustav-semi-metallique-noir-set' AND `virtuemart_product_id` != 1861965
2023-10-13	13:06:03	2473	[DEBUG]	Query for ProductLang
2023-10-13	13:06:03	2473	[DEBUG]	Executed store
2023-10-13	13:06:03	2473	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Magura Gustav semi-métallique / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-magura-gustav-semi-metallique-noir-set' WHERE `virtuemart_product_id` = '1861965'
2023-10-13	13:06:03	2473	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_565.jpg
2023-10-13	13:06:03	2473	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:06:03	2473	[DEBUG]	Process image file
2023-10-13	13:06:03	2473	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:06:03	2473	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:03	2473	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_565.jpg
2023-10-13	13:06:03	2473	[DEBUG]	Full name target: bcprisme/image_565.jpg
2023-10-13	13:06:04	2473	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:04	2473	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_565.jpg'
2023-10-13	13:06:04	2473	[DEBUG]	Query for Media
2023-10-13	13:06:04	2473	[DEBUG]	Executed store
2023-10-13	13:06:04	2473	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_565.jpg',`file_url_thumb`='bcprisme/image_565.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12844'
2023-10-13	13:06:04	2473	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:04	2473	[DEBUG]	Executed store
2023-10-13	13:06:04	2473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861965','12844','1')
2023-10-13	13:06:04	2473	[DEBUG]	Store product image relation
2023-10-13	13:06:04	2473	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:04	2473	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861965 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:04	2473	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:04	2473	[DEBUG]	Executed store
2023-10-13	13:06:04	2473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861965','0','15.6453110492108','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:04	2473	[DEBUG]	Checking manufacturer
2023-10-13	13:06:04	2473	[DEBUG]	Load a row
2023-10-13	13:06:04	2473	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:04	2473	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:04	2473	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:04	2473	[DEBUG]	Executed store
2023-10-13	13:06:04	2473	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:04	2473	[DEBUG]	Manufacturer exists
2023-10-13	13:06:04	2473	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:04	2473	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:04	2473	[DEBUG]	Executed store
2023-10-13	13:06:04	2473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861965','32')
2023-10-13	13:06:04	2473	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:04	2473	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:04	2473	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861965 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:04	2473	[DEBUG]	Store custom available field
2023-10-13	13:06:04	2473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861965,3,'',1)
2023-10-13	13:06:04	2473	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:04	2473	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:06:04	2473	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861965 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:04	2473	[DEBUG]	Store custom available field
2023-10-13	13:06:04	2473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861965,6,'Set',3)
2023-10-13	13:06:04	2473	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:04	2473	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:04	2473	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861964
2023-10-13	13:06:04	2473	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:04	2473	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861964\":[1861964,8,1,\"choisir la taille\"],\"1861965\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861964
2023-10-13	13:06:04	2473	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:04	2473	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861965
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:04	2474	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field taille
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:04	2474	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:04	2474	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:04	2474	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:04	2474	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:04	2474	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:04	2474	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field published
2023-10-13	13:06:04	2474	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:04	2474	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field override
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:04	2474	[DEBUG]	Use field value for field slug
2023-10-13	13:06:04	2474	[DEBUG]	Process line 2474
2023-10-13	13:06:04	2474	[DEBUG]	Load a row
2023-10-13	13:06:04	2474	[DEBUG]	Processing item: A_499_1
2023-10-13	13:06:04	2474	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:04	2474	[DEBUG]	Processing product tax
2023-10-13	13:06:04	2474	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:04	2474	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:04	2474	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:04	2474	[DEBUG]	Query for Product
2023-10-13	13:06:04	2474	[DEBUG]	Executed store
2023-10-13	13:06:04	2474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_499_1','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:04	2474	[DEBUG]	Check product language entry
2023-10-13	13:06:04	2474	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861966
2023-10-13	13:06:04	2474	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:04	2474	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_499_1' AND `virtuemart_product_id` != 1861966
2023-10-13	13:06:04	2474	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:04	2474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861966, 'A_499_1')
2023-10-13	13:06:04	2474	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:04	2474	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-m4-semi-metalliques-noir' AND `virtuemart_product_id` != 1861966
2023-10-13	13:06:04	2474	[DEBUG]	Query for ProductLang
2023-10-13	13:06:04	2474	[DEBUG]	Executed store
2023-10-13	13:06:04	2474	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. <br>N° art fourn : DS22',`product_name`='MSC Plaquettes de freins Hope M4 semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-m4-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861966'
2023-10-13	13:06:04	2474	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_566.jpg
2023-10-13	13:06:04	2474	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:06:04	2474	[DEBUG]	Process image file
2023-10-13	13:06:04	2474	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:06:04	2474	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:04	2474	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_566.jpg
2023-10-13	13:06:04	2474	[DEBUG]	Full name target: bcprisme/image_566.jpg
2023-10-13	13:06:05	2474	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:05	2474	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_566.jpg'
2023-10-13	13:06:05	2474	[DEBUG]	Query for Media
2023-10-13	13:06:05	2474	[DEBUG]	Executed store
2023-10-13	13:06:05	2474	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_566.jpg',`file_url_thumb`='bcprisme/image_566.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12845'
2023-10-13	13:06:05	2474	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:05	2474	[DEBUG]	Executed store
2023-10-13	13:06:05	2474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861966','12845','1')
2023-10-13	13:06:05	2474	[DEBUG]	Store product image relation
2023-10-13	13:06:05	2474	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:05	2474	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861966 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:05	2474	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:05	2474	[DEBUG]	Executed store
2023-10-13	13:06:05	2474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861966','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:05	2474	[DEBUG]	Checking manufacturer
2023-10-13	13:06:05	2474	[DEBUG]	Load a row
2023-10-13	13:06:05	2474	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:05	2474	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:05	2474	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:05	2474	[DEBUG]	Executed store
2023-10-13	13:06:05	2474	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:05	2474	[DEBUG]	Manufacturer exists
2023-10-13	13:06:05	2474	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:05	2474	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:05	2474	[DEBUG]	Executed store
2023-10-13	13:06:05	2474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861966','32')
2023-10-13	13:06:05	2474	[DEBUG]	Find the custom field ID
2023-10-13	13:06:05	2474	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:05	2474	[DEBUG]	No custom field ID found
2023-10-13	13:06:05	2474	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:05	2474	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:06:05	2474	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861966 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:05	2474	[DEBUG]	Store custom available field
2023-10-13	13:06:05	2474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861966,3,'16.8530555555556',1)
2023-10-13	13:06:05	2474	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:05	2474	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:05	2474	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861966 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:05	2474	[DEBUG]	Store custom available field
2023-10-13	13:06:05	2474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861966,6,'choisir la taille',3)
2023-10-13	13:06:05	2474	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:05	2474	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:05	2474	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:05	2474	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:05	2474	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861966 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:05	2474	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:05	2474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861966,8,1)
2023-10-13	13:06:05	2474	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:05	2474	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861966\":[1861966,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861966
2023-10-13	13:06:05	2474	[DEBUG]	Checking category
2023-10-13	13:06:05	2474	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:05	2474	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861966
2023-10-13	13:06:05	2474	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:05	2474	[DEBUG]	Executed store
2023-10-13	13:06:05	2474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861966','7345')
2023-10-13	13:06:05	2474	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:05	2474	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861966 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:05	2474	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:05	2474	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861966
2023-10-13	13:06:05	2475	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:05	2475	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:05	2475	[DEBUG]	Use field value for field taille
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:05	2475	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:05	2475	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:05	2475	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:05	2475	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:05	2475	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:05	2475	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:05	2475	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:05	2475	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:05	2475	[DEBUG]	Use field value for field published
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:05	2475	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field override
2023-10-13	13:06:05	2475	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:05	2475	[DEBUG]	Use field value for field slug
2023-10-13	13:06:05	2475	[DEBUG]	Process line 2475
2023-10-13	13:06:05	2475	[DEBUG]	Load a row
2023-10-13	13:06:05	2475	[DEBUG]	Processing item: 8436041526186
2023-10-13	13:06:05	2475	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:05	2475	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:05	2475	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_499_1'
2023-10-13	13:06:05	2475	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:05	2475	[DEBUG]	Processing product tax
2023-10-13	13:06:05	2475	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:05	2475	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:05	2475	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:05	2475	[DEBUG]	Query for Product
2023-10-13	13:06:05	2475	[DEBUG]	Executed store
2023-10-13	13:06:05	2475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861966','8436041526186','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:05	2475	[DEBUG]	No parent found
2023-10-13	13:06:05	2475	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861966 AND customfield_value = 'stockable'
2023-10-13	13:06:05	2475	[DEBUG]	Check product language entry
2023-10-13	13:06:05	2475	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861967
2023-10-13	13:06:05	2475	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:05	2475	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526186' AND `virtuemart_product_id` != 1861967
2023-10-13	13:06:05	2475	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:05	2475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861967, '8436041526186')
2023-10-13	13:06:05	2475	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:05	2475	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-m4-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861967
2023-10-13	13:06:05	2475	[DEBUG]	Query for ProductLang
2023-10-13	13:06:05	2475	[DEBUG]	Executed store
2023-10-13	13:06:05	2475	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Hope M4 semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-m4-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861967'
2023-10-13	13:06:05	2475	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_566.jpg
2023-10-13	13:06:05	2475	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:06:05	2475	[DEBUG]	Process image file
2023-10-13	13:06:05	2475	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:06:05	2475	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:05	2475	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_566.jpg
2023-10-13	13:06:05	2475	[DEBUG]	Full name target: bcprisme/image_566.jpg
2023-10-13	13:06:06	2475	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:06	2475	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_566.jpg'
2023-10-13	13:06:06	2475	[DEBUG]	Query for Media
2023-10-13	13:06:06	2475	[DEBUG]	Executed store
2023-10-13	13:06:06	2475	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_566.jpg',`file_url_thumb`='bcprisme/image_566.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12845'
2023-10-13	13:06:06	2475	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:06	2475	[DEBUG]	Executed store
2023-10-13	13:06:06	2475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861967','12845','1')
2023-10-13	13:06:06	2475	[DEBUG]	Store product image relation
2023-10-13	13:06:06	2475	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:06	2475	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861967 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:06	2475	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:06	2475	[DEBUG]	Executed store
2023-10-13	13:06:06	2475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861967','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:06	2475	[DEBUG]	Checking manufacturer
2023-10-13	13:06:06	2475	[DEBUG]	Load a row
2023-10-13	13:06:06	2475	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:06	2475	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:06	2475	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:06	2475	[DEBUG]	Executed store
2023-10-13	13:06:06	2475	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:06	2475	[DEBUG]	Manufacturer exists
2023-10-13	13:06:06	2475	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:06	2475	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:06	2475	[DEBUG]	Executed store
2023-10-13	13:06:06	2475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861967','32')
2023-10-13	13:06:06	2475	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:06	2475	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:06	2475	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861967 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:06	2475	[DEBUG]	Store custom available field
2023-10-13	13:06:06	2475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861967,3,'',1)
2023-10-13	13:06:06	2475	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:06	2475	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:06:06	2475	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861967 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:06	2475	[DEBUG]	Store custom available field
2023-10-13	13:06:06	2475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861967,6,'Set',3)
2023-10-13	13:06:06	2475	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:06	2475	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:06	2475	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861966
2023-10-13	13:06:06	2475	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:06	2475	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861966\":[1861966,8,1,\"choisir la taille\"],\"1861967\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861966
2023-10-13	13:06:06	2475	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:06	2475	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861967
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:06	2476	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field taille
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:06	2476	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:06	2476	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:06	2476	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:06	2476	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:06	2476	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:06	2476	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field published
2023-10-13	13:06:06	2476	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:06	2476	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field override
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:06	2476	[DEBUG]	Use field value for field slug
2023-10-13	13:06:06	2476	[DEBUG]	Process line 2476
2023-10-13	13:06:06	2476	[DEBUG]	Load a row
2023-10-13	13:06:06	2476	[DEBUG]	Processing item: A_500_1
2023-10-13	13:06:06	2476	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:06	2476	[DEBUG]	Processing product tax
2023-10-13	13:06:06	2476	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:06	2476	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:06	2476	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:06	2476	[DEBUG]	Query for Product
2023-10-13	13:06:06	2476	[DEBUG]	Executed store
2023-10-13	13:06:06	2476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_500_1','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:06	2476	[DEBUG]	Check product language entry
2023-10-13	13:06:06	2476	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861968
2023-10-13	13:06:06	2476	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:06	2476	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_500_1' AND `virtuemart_product_id` != 1861968
2023-10-13	13:06:06	2476	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:06	2476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861968, 'A_500_1')
2023-10-13	13:06:06	2476	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:06	2476	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-mono-4-semi-metalliques-noir' AND `virtuemart_product_id` != 1861968
2023-10-13	13:06:06	2476	[DEBUG]	Query for ProductLang
2023-10-13	13:06:06	2476	[DEBUG]	Executed store
2023-10-13	13:06:06	2476	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. <br>N° art fourn : DS24',`product_name`='MSC Plaquettes de freins Hope Mono 4 semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-mono-4-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861968'
2023-10-13	13:06:06	2476	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_567.jpg
2023-10-13	13:06:06	2476	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:06:06	2476	[DEBUG]	Process image file
2023-10-13	13:06:06	2476	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:06:06	2476	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:06	2476	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_567.jpg
2023-10-13	13:06:06	2476	[DEBUG]	Full name target: bcprisme/image_567.jpg
2023-10-13	13:06:07	2476	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:07	2476	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_567.jpg'
2023-10-13	13:06:07	2476	[DEBUG]	Query for Media
2023-10-13	13:06:07	2476	[DEBUG]	Executed store
2023-10-13	13:06:07	2476	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_567.jpg',`file_url_thumb`='bcprisme/image_567.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12846'
2023-10-13	13:06:07	2476	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:07	2476	[DEBUG]	Executed store
2023-10-13	13:06:07	2476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861968','12846','1')
2023-10-13	13:06:07	2476	[DEBUG]	Store product image relation
2023-10-13	13:06:07	2476	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:07	2476	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861968 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:07	2476	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:07	2476	[DEBUG]	Executed store
2023-10-13	13:06:07	2476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861968','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:07	2476	[DEBUG]	Checking manufacturer
2023-10-13	13:06:07	2476	[DEBUG]	Load a row
2023-10-13	13:06:07	2476	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:07	2476	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:07	2476	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:07	2476	[DEBUG]	Executed store
2023-10-13	13:06:07	2476	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:07	2476	[DEBUG]	Manufacturer exists
2023-10-13	13:06:07	2476	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:07	2476	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:07	2476	[DEBUG]	Executed store
2023-10-13	13:06:07	2476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861968','32')
2023-10-13	13:06:07	2476	[DEBUG]	Find the custom field ID
2023-10-13	13:06:07	2476	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:07	2476	[DEBUG]	No custom field ID found
2023-10-13	13:06:07	2476	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:07	2476	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:06:07	2476	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861968 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:07	2476	[DEBUG]	Store custom available field
2023-10-13	13:06:07	2476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861968,3,'16.8530555555556',1)
2023-10-13	13:06:07	2476	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:07	2476	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:07	2476	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861968 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:07	2476	[DEBUG]	Store custom available field
2023-10-13	13:06:07	2476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861968,6,'choisir la taille',3)
2023-10-13	13:06:07	2476	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:07	2476	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:07	2476	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:07	2476	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:07	2476	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861968 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:07	2476	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:07	2476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861968,8,1)
2023-10-13	13:06:07	2476	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:07	2476	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861968\":[1861968,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861968
2023-10-13	13:06:07	2476	[DEBUG]	Checking category
2023-10-13	13:06:07	2476	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:07	2476	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861968
2023-10-13	13:06:07	2476	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:07	2476	[DEBUG]	Executed store
2023-10-13	13:06:07	2476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861968','7345')
2023-10-13	13:06:07	2476	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:07	2476	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861968 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:07	2476	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:07	2476	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861968
2023-10-13	13:06:07	2477	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:07	2477	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:07	2477	[DEBUG]	Use field value for field taille
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:07	2477	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:07	2477	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:07	2477	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:07	2477	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:07	2477	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:07	2477	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:07	2477	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:07	2477	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:07	2477	[DEBUG]	Use field value for field published
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:07	2477	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field override
2023-10-13	13:06:07	2477	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:07	2477	[DEBUG]	Use field value for field slug
2023-10-13	13:06:07	2477	[DEBUG]	Process line 2477
2023-10-13	13:06:07	2477	[DEBUG]	Load a row
2023-10-13	13:06:07	2477	[DEBUG]	Processing item: 8436041526193
2023-10-13	13:06:07	2477	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:07	2477	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:07	2477	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_500_1'
2023-10-13	13:06:07	2477	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:07	2477	[DEBUG]	Processing product tax
2023-10-13	13:06:07	2477	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:07	2477	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:07	2477	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:07	2477	[DEBUG]	Query for Product
2023-10-13	13:06:07	2477	[DEBUG]	Executed store
2023-10-13	13:06:07	2477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861968','8436041526193','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:07	2477	[DEBUG]	No parent found
2023-10-13	13:06:07	2477	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861968 AND customfield_value = 'stockable'
2023-10-13	13:06:07	2477	[DEBUG]	Check product language entry
2023-10-13	13:06:07	2477	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861969
2023-10-13	13:06:07	2477	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:07	2477	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526193' AND `virtuemart_product_id` != 1861969
2023-10-13	13:06:07	2477	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:07	2477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861969, '8436041526193')
2023-10-13	13:06:07	2477	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:07	2477	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-mono-4-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1861969
2023-10-13	13:06:07	2477	[DEBUG]	Query for ProductLang
2023-10-13	13:06:07	2477	[DEBUG]	Executed store
2023-10-13	13:06:07	2477	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Hope Mono 4 semi-métalliques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-mono-4-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1861969'
2023-10-13	13:06:07	2477	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_567.jpg
2023-10-13	13:06:07	2477	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:06:07	2477	[DEBUG]	Process image file
2023-10-13	13:06:07	2477	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:06:07	2477	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:07	2477	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_567.jpg
2023-10-13	13:06:07	2477	[DEBUG]	Full name target: bcprisme/image_567.jpg
2023-10-13	13:06:08	2477	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:08	2477	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_567.jpg'
2023-10-13	13:06:08	2477	[DEBUG]	Query for Media
2023-10-13	13:06:08	2477	[DEBUG]	Executed store
2023-10-13	13:06:08	2477	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_567.jpg',`file_url_thumb`='bcprisme/image_567.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12846'
2023-10-13	13:06:08	2477	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:08	2477	[DEBUG]	Executed store
2023-10-13	13:06:08	2477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861969','12846','1')
2023-10-13	13:06:08	2477	[DEBUG]	Store product image relation
2023-10-13	13:06:08	2477	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:08	2477	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861969 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:08	2477	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:08	2477	[DEBUG]	Executed store
2023-10-13	13:06:08	2477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861969','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:08	2477	[DEBUG]	Checking manufacturer
2023-10-13	13:06:08	2477	[DEBUG]	Load a row
2023-10-13	13:06:08	2477	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:08	2477	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:08	2477	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:08	2477	[DEBUG]	Executed store
2023-10-13	13:06:08	2477	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:08	2477	[DEBUG]	Manufacturer exists
2023-10-13	13:06:08	2477	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:08	2477	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:08	2477	[DEBUG]	Executed store
2023-10-13	13:06:08	2477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861969','32')
2023-10-13	13:06:08	2477	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:08	2477	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:08	2477	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861969 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:08	2477	[DEBUG]	Store custom available field
2023-10-13	13:06:08	2477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861969,3,'',1)
2023-10-13	13:06:08	2477	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:08	2477	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:06:08	2477	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861969 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:08	2477	[DEBUG]	Store custom available field
2023-10-13	13:06:08	2477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861969,6,'Set',3)
2023-10-13	13:06:08	2477	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:08	2477	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:08	2477	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861968
2023-10-13	13:06:08	2477	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:08	2477	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1861968\":[1861968,8,1,\"choisir la taille\"],\"1861969\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1861968
2023-10-13	13:06:08	2477	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:08	2477	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861969
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:08	2478	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field taille
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:08	2478	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:08	2478	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:08	2478	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:08	2478	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:08	2478	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:08	2478	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field published
2023-10-13	13:06:08	2478	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:08	2478	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field override
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:08	2478	[DEBUG]	Use field value for field slug
2023-10-13	13:06:08	2478	[DEBUG]	Process line 2478
2023-10-13	13:06:08	2478	[DEBUG]	Load a row
2023-10-13	13:06:08	2478	[DEBUG]	Processing item: A_1279_1
2023-10-13	13:06:08	2478	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:08	2478	[DEBUG]	Processing product tax
2023-10-13	13:06:08	2478	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:08	2478	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:08	2478	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:08	2478	[DEBUG]	Query for Product
2023-10-13	13:06:08	2478	[DEBUG]	Executed store
2023-10-13	13:06:08	2478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1279_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:08	2478	[DEBUG]	Check product language entry
2023-10-13	13:06:08	2478	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861970
2023-10-13	13:06:08	2478	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:08	2478	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1279_1' AND `virtuemart_product_id` != 1861970
2023-10-13	13:06:08	2478	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:08	2478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861970, 'A_1279_1')
2023-10-13	13:06:08	2478	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:08	2478	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquette-de-freins-hope-mono-mini-semi-metalliques-noir' AND `virtuemart_product_id` != 1861970
2023-10-13	13:06:08	2478	[DEBUG]	Query for ProductLang
2023-10-13	13:06:08	2478	[DEBUG]	Executed store
2023-10-13	13:06:08	2478	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Longue durée de vie, élimine le bruit, 40gr<br>N° art fourn : DK36',`product_name`='MSC Plaquette de freins Hope Mono Mini semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquette-de-freins-hope-mono-mini-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861970'
2023-10-13	13:06:08	2478	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2411.jpg
2023-10-13	13:06:08	2478	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:06:08	2478	[DEBUG]	Process image file
2023-10-13	13:06:08	2478	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:06:08	2478	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:08	2478	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2411.jpg
2023-10-13	13:06:08	2478	[DEBUG]	Full name target: bcprisme/image_2411.jpg
2023-10-13	13:06:09	2478	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:09	2478	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2411.jpg'
2023-10-13	13:06:09	2478	[DEBUG]	Query for Media
2023-10-13	13:06:09	2478	[DEBUG]	Executed store
2023-10-13	13:06:09	2478	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2411.jpg',`file_url_thumb`='bcprisme/image_2411.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12847'
2023-10-13	13:06:09	2478	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:09	2478	[DEBUG]	Executed store
2023-10-13	13:06:09	2478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861970','12847','1')
2023-10-13	13:06:09	2478	[DEBUG]	Store product image relation
2023-10-13	13:06:09	2478	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:09	2478	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861970 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:09	2478	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:09	2478	[DEBUG]	Executed store
2023-10-13	13:06:09	2478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861970','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:09	2478	[DEBUG]	Checking manufacturer
2023-10-13	13:06:09	2478	[DEBUG]	Load a row
2023-10-13	13:06:09	2478	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:09	2478	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:09	2478	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:09	2478	[DEBUG]	Executed store
2023-10-13	13:06:09	2478	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:09	2478	[DEBUG]	Manufacturer exists
2023-10-13	13:06:09	2478	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:09	2478	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:09	2478	[DEBUG]	Executed store
2023-10-13	13:06:09	2478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861970','32')
2023-10-13	13:06:09	2478	[DEBUG]	Find the custom field ID
2023-10-13	13:06:09	2478	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:09	2478	[DEBUG]	No custom field ID found
2023-10-13	13:06:09	2478	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:09	2478	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:06:09	2478	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861970 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:09	2478	[DEBUG]	Store custom available field
2023-10-13	13:06:09	2478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861970,3,'16.8530555555556',1)
2023-10-13	13:06:09	2478	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:09	2478	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:09	2478	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861970 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:09	2478	[DEBUG]	Store custom available field
2023-10-13	13:06:09	2478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861970,6,'choisir la taille',3)
2023-10-13	13:06:09	2478	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:09	2478	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:09	2478	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:09	2478	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:09	2478	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861970 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:09	2478	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:09	2478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861970,8,1)
2023-10-13	13:06:09	2478	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:09	2478	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861970\":[1861970,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861970
2023-10-13	13:06:09	2478	[DEBUG]	Checking category
2023-10-13	13:06:09	2478	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:09	2478	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861970
2023-10-13	13:06:09	2478	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:09	2478	[DEBUG]	Executed store
2023-10-13	13:06:09	2478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861970','7345')
2023-10-13	13:06:09	2478	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:09	2478	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861970 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:09	2478	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:09	2478	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861970
2023-10-13	13:06:09	2479	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:09	2479	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:09	2479	[DEBUG]	Use field value for field taille
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:09	2479	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:09	2479	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:09	2479	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:09	2479	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:09	2479	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:09	2479	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:09	2479	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:09	2479	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:09	2479	[DEBUG]	Use field value for field published
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:09	2479	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field override
2023-10-13	13:06:09	2479	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:09	2479	[DEBUG]	Use field value for field slug
2023-10-13	13:06:09	2479	[DEBUG]	Process line 2479
2023-10-13	13:06:09	2479	[DEBUG]	Load a row
2023-10-13	13:06:09	2479	[DEBUG]	Processing item: 8436041559832
2023-10-13	13:06:09	2479	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:09	2479	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:09	2479	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1279_1'
2023-10-13	13:06:09	2479	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:09	2479	[DEBUG]	Processing product tax
2023-10-13	13:06:09	2479	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:09	2479	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:09	2479	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:09	2479	[DEBUG]	Query for Product
2023-10-13	13:06:09	2479	[DEBUG]	Executed store
2023-10-13	13:06:09	2479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861970','8436041559832','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:09	2479	[DEBUG]	No parent found
2023-10-13	13:06:09	2479	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861970 AND customfield_value = 'stockable'
2023-10-13	13:06:09	2479	[DEBUG]	Check product language entry
2023-10-13	13:06:09	2479	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861971
2023-10-13	13:06:09	2479	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:09	2479	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559832' AND `virtuemart_product_id` != 1861971
2023-10-13	13:06:09	2479	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:09	2479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861971, '8436041559832')
2023-10-13	13:06:09	2479	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:09	2479	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquette-de-freins-hope-mono-mini-semi-metalliques-noir-unitaire' AND `virtuemart_product_id` != 1861971
2023-10-13	13:06:09	2479	[DEBUG]	Query for ProductLang
2023-10-13	13:06:09	2479	[DEBUG]	Executed store
2023-10-13	13:06:09	2479	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquette de freins Hope Mono Mini semi-métalliques / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquette-de-freins-hope-mono-mini-semi-metalliques-noir-unitaire' WHERE `virtuemart_product_id` = '1861971'
2023-10-13	13:06:09	2479	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2411.jpg
2023-10-13	13:06:09	2479	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:06:09	2479	[DEBUG]	Process image file
2023-10-13	13:06:09	2479	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:06:09	2479	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:09	2479	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2411.jpg
2023-10-13	13:06:09	2479	[DEBUG]	Full name target: bcprisme/image_2411.jpg
2023-10-13	13:06:10	2479	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:10	2479	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2411.jpg'
2023-10-13	13:06:10	2479	[DEBUG]	Query for Media
2023-10-13	13:06:10	2479	[DEBUG]	Executed store
2023-10-13	13:06:10	2479	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2411.jpg',`file_url_thumb`='bcprisme/image_2411.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12847'
2023-10-13	13:06:10	2479	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:10	2479	[DEBUG]	Executed store
2023-10-13	13:06:10	2479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861971','12847','1')
2023-10-13	13:06:10	2479	[DEBUG]	Store product image relation
2023-10-13	13:06:10	2479	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:10	2479	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861971 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:10	2479	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:10	2479	[DEBUG]	Executed store
2023-10-13	13:06:10	2479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861971','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:10	2479	[DEBUG]	Checking manufacturer
2023-10-13	13:06:10	2479	[DEBUG]	Load a row
2023-10-13	13:06:10	2479	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:10	2479	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:10	2479	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:10	2479	[DEBUG]	Executed store
2023-10-13	13:06:10	2479	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:10	2479	[DEBUG]	Manufacturer exists
2023-10-13	13:06:10	2479	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:10	2479	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:10	2479	[DEBUG]	Executed store
2023-10-13	13:06:10	2479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861971','32')
2023-10-13	13:06:10	2479	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:10	2479	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:10	2479	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861971 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:10	2479	[DEBUG]	Store custom available field
2023-10-13	13:06:10	2479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861971,3,'',1)
2023-10-13	13:06:10	2479	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:10	2479	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:06:10	2479	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861971 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:10	2479	[DEBUG]	Store custom available field
2023-10-13	13:06:10	2479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861971,6,'Unitaire',3)
2023-10-13	13:06:10	2479	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:10	2479	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:10	2479	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861970
2023-10-13	13:06:10	2479	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:10	2479	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861970\":[1861970,8,1,\"choisir la taille\"],\"1861971\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861970
2023-10-13	13:06:10	2479	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:10	2479	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861971
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:10	2480	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field taille
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:10	2480	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:10	2480	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:10	2480	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:10	2480	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:10	2480	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:10	2480	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field published
2023-10-13	13:06:10	2480	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:10	2480	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field override
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:10	2480	[DEBUG]	Use field value for field slug
2023-10-13	13:06:10	2480	[DEBUG]	Process line 2480
2023-10-13	13:06:10	2480	[DEBUG]	Load a row
2023-10-13	13:06:10	2480	[DEBUG]	Processing item: A_1312_0
2023-10-13	13:06:10	2480	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:10	2480	[DEBUG]	Processing product tax
2023-10-13	13:06:10	2480	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:10	2480	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:10	2480	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:10	2480	[DEBUG]	Query for Product
2023-10-13	13:06:10	2480	[DEBUG]	Executed store
2023-10-13	13:06:10	2480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1312_0','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:10	2480	[DEBUG]	Check product language entry
2023-10-13	13:06:10	2480	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861972
2023-10-13	13:06:10	2480	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:10	2480	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1312_0' AND `virtuemart_product_id` != 1861972
2023-10-13	13:06:10	2480	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:10	2480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861972, 'A_1312_0')
2023-10-13	13:06:10	2480	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:10	2480	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-formula-mega-the-one-r1-rx-semi-metalliques-unique' AND `virtuemart_product_id` != 1861972
2023-10-13	13:06:10	2480	[DEBUG]	Query for ProductLang
2023-10-13	13:06:10	2480	[DEBUG]	Executed store
2023-10-13	13:06:10	2480	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de freins Formula Mega, The One, R1, RX<br>N° art fourn : DK84',`product_name`='MSC Plaquettes de freins Formula Mega, The One, R1, RX semi-métalliques / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-formula-mega-the-one-r1-rx-semi-metalliques-unique' WHERE `virtuemart_product_id` = '1861972'
2023-10-13	13:06:10	2480	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2942.jpg
2023-10-13	13:06:10	2480	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:06:10	2480	[DEBUG]	Process image file
2023-10-13	13:06:10	2480	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:06:10	2480	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:10	2480	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2942.jpg
2023-10-13	13:06:10	2480	[DEBUG]	Full name target: bcprisme/image_2942.jpg
2023-10-13	13:06:11	2480	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:11	2480	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2942.jpg'
2023-10-13	13:06:11	2480	[DEBUG]	Query for Media
2023-10-13	13:06:11	2480	[DEBUG]	Executed store
2023-10-13	13:06:11	2480	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2942.jpg',`file_url_thumb`='bcprisme/image_2942.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12848'
2023-10-13	13:06:11	2480	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:11	2480	[DEBUG]	Executed store
2023-10-13	13:06:11	2480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861972','12848','1')
2023-10-13	13:06:11	2480	[DEBUG]	Store product image relation
2023-10-13	13:06:11	2480	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:11	2480	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861972 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:11	2480	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:11	2480	[DEBUG]	Executed store
2023-10-13	13:06:11	2480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861972','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:11	2480	[DEBUG]	Checking manufacturer
2023-10-13	13:06:11	2480	[DEBUG]	Load a row
2023-10-13	13:06:11	2480	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:11	2480	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:11	2480	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:11	2480	[DEBUG]	Executed store
2023-10-13	13:06:11	2480	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:11	2480	[DEBUG]	Manufacturer exists
2023-10-13	13:06:11	2480	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:11	2480	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:11	2480	[DEBUG]	Executed store
2023-10-13	13:06:11	2480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861972','32')
2023-10-13	13:06:11	2480	[DEBUG]	Find the custom field ID
2023-10-13	13:06:11	2480	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:11	2480	[DEBUG]	No custom field ID found
2023-10-13	13:06:11	2480	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:11	2480	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:06:11	2480	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861972 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:11	2480	[DEBUG]	Store custom available field
2023-10-13	13:06:11	2480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861972,3,'12.8641666666667',1)
2023-10-13	13:06:11	2480	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:11	2480	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:11	2480	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861972 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:11	2480	[DEBUG]	Store custom available field
2023-10-13	13:06:11	2480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861972,6,'choisir la taille',3)
2023-10-13	13:06:11	2480	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:11	2480	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:11	2480	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:11	2480	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:11	2480	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861972 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:11	2480	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:11	2480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861972,8,1)
2023-10-13	13:06:11	2480	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:11	2480	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861972\":[1861972,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861972
2023-10-13	13:06:11	2480	[DEBUG]	Checking category
2023-10-13	13:06:11	2480	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:11	2480	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861972
2023-10-13	13:06:11	2480	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:11	2480	[DEBUG]	Executed store
2023-10-13	13:06:11	2480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861972','7345')
2023-10-13	13:06:11	2480	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:11	2480	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861972 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:11	2480	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:11	2480	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861972
2023-10-13	13:06:11	2481	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:11	2481	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:11	2481	[DEBUG]	Use field value for field taille
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:11	2481	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:11	2481	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:11	2481	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:11	2481	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:11	2481	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:11	2481	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:11	2481	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:11	2481	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:11	2481	[DEBUG]	Use field value for field published
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:11	2481	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field override
2023-10-13	13:06:11	2481	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:11	2481	[DEBUG]	Use field value for field slug
2023-10-13	13:06:11	2481	[DEBUG]	Process line 2481
2023-10-13	13:06:11	2481	[DEBUG]	Load a row
2023-10-13	13:06:11	2481	[DEBUG]	Processing item: 8436047351348
2023-10-13	13:06:11	2481	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:11	2481	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:11	2481	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1312_0'
2023-10-13	13:06:11	2481	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:11	2481	[DEBUG]	Processing product tax
2023-10-13	13:06:11	2481	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:11	2481	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:11	2481	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:11	2481	[DEBUG]	Query for Product
2023-10-13	13:06:11	2481	[DEBUG]	Executed store
2023-10-13	13:06:11	2481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861972','8436047351348','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:11	2481	[DEBUG]	No parent found
2023-10-13	13:06:11	2481	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861972 AND customfield_value = 'stockable'
2023-10-13	13:06:11	2481	[DEBUG]	Check product language entry
2023-10-13	13:06:11	2481	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861973
2023-10-13	13:06:11	2481	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:11	2481	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047351348' AND `virtuemart_product_id` != 1861973
2023-10-13	13:06:11	2481	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:11	2481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861973, '8436047351348')
2023-10-13	13:06:11	2481	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:11	2481	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-formula-mega-the-one-r1-rx-semi-metalliques-unique-unitaire' AND `virtuemart_product_id` != 1861973
2023-10-13	13:06:11	2481	[DEBUG]	Query for ProductLang
2023-10-13	13:06:11	2481	[DEBUG]	Executed store
2023-10-13	13:06:11	2481	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Formula Mega, The One, R1, RX semi-métalliques / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-formula-mega-the-one-r1-rx-semi-metalliques-unique-unitaire' WHERE `virtuemart_product_id` = '1861973'
2023-10-13	13:06:11	2481	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2942.jpg
2023-10-13	13:06:11	2481	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:06:11	2481	[DEBUG]	Process image file
2023-10-13	13:06:11	2481	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:06:11	2481	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:11	2481	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2942.jpg
2023-10-13	13:06:11	2481	[DEBUG]	Full name target: bcprisme/image_2942.jpg
2023-10-13	13:06:12	2481	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:12	2481	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2942.jpg'
2023-10-13	13:06:12	2481	[DEBUG]	Query for Media
2023-10-13	13:06:12	2481	[DEBUG]	Executed store
2023-10-13	13:06:12	2481	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2942.jpg',`file_url_thumb`='bcprisme/image_2942.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12848'
2023-10-13	13:06:12	2481	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:12	2481	[DEBUG]	Executed store
2023-10-13	13:06:12	2481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861973','12848','1')
2023-10-13	13:06:12	2481	[DEBUG]	Store product image relation
2023-10-13	13:06:12	2481	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:12	2481	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861973 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:12	2481	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:12	2481	[DEBUG]	Executed store
2023-10-13	13:06:12	2481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861973','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:12	2481	[DEBUG]	Checking manufacturer
2023-10-13	13:06:12	2481	[DEBUG]	Load a row
2023-10-13	13:06:12	2481	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:12	2481	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:12	2481	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:12	2481	[DEBUG]	Executed store
2023-10-13	13:06:12	2481	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:12	2481	[DEBUG]	Manufacturer exists
2023-10-13	13:06:12	2481	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:12	2481	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:12	2481	[DEBUG]	Executed store
2023-10-13	13:06:12	2481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861973','32')
2023-10-13	13:06:12	2481	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:12	2481	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:12	2481	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861973 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:12	2481	[DEBUG]	Store custom available field
2023-10-13	13:06:12	2481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861973,3,'',1)
2023-10-13	13:06:12	2481	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:12	2481	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:06:12	2481	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861973 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:12	2481	[DEBUG]	Store custom available field
2023-10-13	13:06:12	2481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861973,6,'Unitaire',3)
2023-10-13	13:06:12	2481	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:12	2481	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:12	2481	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861972
2023-10-13	13:06:12	2481	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:12	2481	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861972\":[1861972,8,1,\"choisir la taille\"],\"1861973\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861972
2023-10-13	13:06:12	2481	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:12	2481	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861973
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:12	2482	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field taille
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:12	2482	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:12	2482	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:12	2482	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:12	2482	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:12	2482	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:12	2482	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field published
2023-10-13	13:06:12	2482	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:12	2482	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field override
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:12	2482	[DEBUG]	Use field value for field slug
2023-10-13	13:06:12	2482	[DEBUG]	Process line 2482
2023-10-13	13:06:12	2482	[DEBUG]	Load a row
2023-10-13	13:06:12	2482	[DEBUG]	Processing item: A_1313_0
2023-10-13	13:06:12	2482	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:12	2482	[DEBUG]	Processing product tax
2023-10-13	13:06:12	2482	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:12	2482	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:12	2482	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:12	2482	[DEBUG]	Query for Product
2023-10-13	13:06:12	2482	[DEBUG]	Executed store
2023-10-13	13:06:12	2482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1313_0','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:12	2482	[DEBUG]	Check product language entry
2023-10-13	13:06:12	2482	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861974
2023-10-13	13:06:12	2482	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:12	2482	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1313_0' AND `virtuemart_product_id` != 1861974
2023-10-13	13:06:12	2482	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:12	2482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861974, 'A_1313_0')
2023-10-13	13:06:12	2482	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:12	2482	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-shimano-xtr-2011-semi-metallique-unique' AND `virtuemart_product_id` != 1861974
2023-10-13	13:06:12	2482	[DEBUG]	Query for ProductLang
2023-10-13	13:06:12	2482	[DEBUG]	Executed store
2023-10-13	13:06:12	2482	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de freins Shimano XTR 2011, éliminie le bruit, grande durée de vie<br>N° art fourn : DK85',`product_name`='MSC Plaquettes de freins Shimano XTR 2011 semi-métallique / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-shimano-xtr-2011-semi-metallique-unique' WHERE `virtuemart_product_id` = '1861974'
2023-10-13	13:06:12	2482	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2943.jpg
2023-10-13	13:06:12	2482	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:06:12	2482	[DEBUG]	Process image file
2023-10-13	13:06:12	2482	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:06:12	2482	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:12	2482	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2943.jpg
2023-10-13	13:06:12	2482	[DEBUG]	Full name target: bcprisme/image_2943.jpg
2023-10-13	13:06:13	2482	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:13	2482	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2943.jpg'
2023-10-13	13:06:13	2482	[DEBUG]	Query for Media
2023-10-13	13:06:13	2482	[DEBUG]	Executed store
2023-10-13	13:06:13	2482	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2943.jpg',`file_url_thumb`='bcprisme/image_2943.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12849'
2023-10-13	13:06:14	2482	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:14	2482	[DEBUG]	Executed store
2023-10-13	13:06:14	2482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861974','12849','1')
2023-10-13	13:06:14	2482	[DEBUG]	Store product image relation
2023-10-13	13:06:14	2482	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:14	2482	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861974 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:14	2482	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:14	2482	[DEBUG]	Executed store
2023-10-13	13:06:14	2482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861974','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:14	2482	[DEBUG]	Checking manufacturer
2023-10-13	13:06:14	2482	[DEBUG]	Load a row
2023-10-13	13:06:14	2482	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:14	2482	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:14	2482	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:14	2482	[DEBUG]	Executed store
2023-10-13	13:06:14	2482	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:14	2482	[DEBUG]	Manufacturer exists
2023-10-13	13:06:14	2482	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:14	2482	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:14	2482	[DEBUG]	Executed store
2023-10-13	13:06:14	2482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861974','32')
2023-10-13	13:06:14	2482	[DEBUG]	Find the custom field ID
2023-10-13	13:06:14	2482	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:14	2482	[DEBUG]	No custom field ID found
2023-10-13	13:06:14	2482	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:14	2482	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:06:14	2482	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861974 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:14	2482	[DEBUG]	Store custom available field
2023-10-13	13:06:14	2482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861974,3,'16.8530555555556',1)
2023-10-13	13:06:14	2482	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:14	2482	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:14	2482	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861974 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:14	2482	[DEBUG]	Store custom available field
2023-10-13	13:06:14	2482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861974,6,'choisir la taille',3)
2023-10-13	13:06:14	2482	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:14	2482	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:14	2482	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:14	2482	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:14	2482	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861974 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:14	2482	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:14	2482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861974,8,1)
2023-10-13	13:06:14	2482	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:14	2482	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861974\":[1861974,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861974
2023-10-13	13:06:14	2482	[DEBUG]	Checking category
2023-10-13	13:06:14	2482	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:14	2482	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861974
2023-10-13	13:06:14	2482	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:14	2482	[DEBUG]	Executed store
2023-10-13	13:06:14	2482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861974','7345')
2023-10-13	13:06:14	2482	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:14	2482	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861974 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:14	2482	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:14	2482	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861974
2023-10-13	13:06:14	2483	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:14	2483	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:14	2483	[DEBUG]	Use field value for field taille
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:14	2483	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:14	2483	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:14	2483	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:14	2483	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:14	2483	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:14	2483	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:14	2483	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:14	2483	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:14	2483	[DEBUG]	Use field value for field published
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:14	2483	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field override
2023-10-13	13:06:14	2483	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:14	2483	[DEBUG]	Use field value for field slug
2023-10-13	13:06:14	2483	[DEBUG]	Process line 2483
2023-10-13	13:06:14	2483	[DEBUG]	Load a row
2023-10-13	13:06:14	2483	[DEBUG]	Processing item: 8436047351430
2023-10-13	13:06:14	2483	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:14	2483	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:14	2483	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1313_0'
2023-10-13	13:06:14	2483	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:14	2483	[DEBUG]	Processing product tax
2023-10-13	13:06:14	2483	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:14	2483	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:14	2483	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:14	2483	[DEBUG]	Query for Product
2023-10-13	13:06:14	2483	[DEBUG]	Executed store
2023-10-13	13:06:14	2483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861974','8436047351430','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:14	2483	[DEBUG]	No parent found
2023-10-13	13:06:14	2483	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861974 AND customfield_value = 'stockable'
2023-10-13	13:06:14	2483	[DEBUG]	Check product language entry
2023-10-13	13:06:14	2483	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861975
2023-10-13	13:06:14	2483	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:14	2483	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047351430' AND `virtuemart_product_id` != 1861975
2023-10-13	13:06:14	2483	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:14	2483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861975, '8436047351430')
2023-10-13	13:06:14	2483	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:14	2483	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-shimano-xtr-2011-semi-metallique-unique-unitaire' AND `virtuemart_product_id` != 1861975
2023-10-13	13:06:14	2483	[DEBUG]	Query for ProductLang
2023-10-13	13:06:14	2483	[DEBUG]	Executed store
2023-10-13	13:06:14	2483	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Shimano XTR 2011 semi-métallique / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-shimano-xtr-2011-semi-metallique-unique-unitaire' WHERE `virtuemart_product_id` = '1861975'
2023-10-13	13:06:14	2483	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2943.jpg
2023-10-13	13:06:14	2483	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:06:14	2483	[DEBUG]	Process image file
2023-10-13	13:06:14	2483	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:06:14	2483	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:14	2483	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2943.jpg
2023-10-13	13:06:14	2483	[DEBUG]	Full name target: bcprisme/image_2943.jpg
2023-10-13	13:06:15	2483	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:15	2483	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2943.jpg'
2023-10-13	13:06:15	2483	[DEBUG]	Query for Media
2023-10-13	13:06:15	2483	[DEBUG]	Executed store
2023-10-13	13:06:15	2483	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2943.jpg',`file_url_thumb`='bcprisme/image_2943.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12849'
2023-10-13	13:06:15	2483	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:15	2483	[DEBUG]	Executed store
2023-10-13	13:06:15	2483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861975','12849','1')
2023-10-13	13:06:15	2483	[DEBUG]	Store product image relation
2023-10-13	13:06:15	2483	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:15	2483	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861975 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:15	2483	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:15	2483	[DEBUG]	Executed store
2023-10-13	13:06:15	2483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861975','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:15	2483	[DEBUG]	Checking manufacturer
2023-10-13	13:06:15	2483	[DEBUG]	Load a row
2023-10-13	13:06:15	2483	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:15	2483	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:15	2483	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:15	2483	[DEBUG]	Executed store
2023-10-13	13:06:15	2483	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:15	2483	[DEBUG]	Manufacturer exists
2023-10-13	13:06:15	2483	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:15	2483	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:15	2483	[DEBUG]	Executed store
2023-10-13	13:06:15	2483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861975','32')
2023-10-13	13:06:15	2483	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:15	2483	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:15	2483	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861975 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:15	2483	[DEBUG]	Store custom available field
2023-10-13	13:06:15	2483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861975,3,'',1)
2023-10-13	13:06:15	2483	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:15	2483	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:06:15	2483	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861975 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:15	2483	[DEBUG]	Store custom available field
2023-10-13	13:06:15	2483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861975,6,'Unitaire',3)
2023-10-13	13:06:15	2483	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:15	2483	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:15	2483	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861974
2023-10-13	13:06:15	2483	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:15	2483	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861974\":[1861974,8,1,\"choisir la taille\"],\"1861975\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861974
2023-10-13	13:06:15	2483	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:15	2483	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861975
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:15	2484	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field taille
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:15	2484	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:15	2484	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:15	2484	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:15	2484	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:15	2484	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:15	2484	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field published
2023-10-13	13:06:15	2484	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:15	2484	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field override
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:15	2484	[DEBUG]	Use field value for field slug
2023-10-13	13:06:15	2484	[DEBUG]	Process line 2484
2023-10-13	13:06:15	2484	[DEBUG]	Load a row
2023-10-13	13:06:15	2484	[DEBUG]	Processing item: A_1556_0
2023-10-13	13:06:15	2484	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:15	2484	[DEBUG]	Processing product tax
2023-10-13	13:06:15	2484	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:15	2484	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:15	2484	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:15	2484	[DEBUG]	Query for Product
2023-10-13	13:06:15	2484	[DEBUG]	Executed store
2023-10-13	13:06:15	2484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1556_0','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:15	2484	[DEBUG]	Check product language entry
2023-10-13	13:06:15	2484	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861976
2023-10-13	13:06:15	2484	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:15	2484	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1556_0' AND `virtuemart_product_id` != 1861976
2023-10-13	13:06:15	2484	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:15	2484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861976, 'A_1556_0')
2023-10-13	13:06:15	2484	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:15	2484	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-shimano-xt-slx-2012-semi-metallique-unique' AND `virtuemart_product_id` != 1861976
2023-10-13	13:06:15	2484	[DEBUG]	Query for ProductLang
2023-10-13	13:06:15	2484	[DEBUG]	Executed store
2023-10-13	13:06:15	2484	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. Shimano XT/SLX 2012<br>N° art fourn : DK26',`product_name`='MSC Plaquettes Shimano XT/SLX 2012 semi-métallique / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-shimano-xt-slx-2012-semi-metallique-unique' WHERE `virtuemart_product_id` = '1861976'
2023-10-13	13:06:15	2484	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3865.jpg
2023-10-13	13:06:15	2484	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:15	2484	[DEBUG]	Process image file
2023-10-13	13:06:15	2484	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:15	2484	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:15	2484	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3865.jpg
2023-10-13	13:06:15	2484	[DEBUG]	Full name target: bcprisme/image_3865.jpg
2023-10-13	13:06:16	2484	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:16	2484	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3865.jpg'
2023-10-13	13:06:16	2484	[DEBUG]	Query for Media
2023-10-13	13:06:16	2484	[DEBUG]	Executed store
2023-10-13	13:06:16	2484	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3865.jpg',`file_url_thumb`='bcprisme/image_3865.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12850'
2023-10-13	13:06:16	2484	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:16	2484	[DEBUG]	Executed store
2023-10-13	13:06:16	2484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861976','12850','1')
2023-10-13	13:06:16	2484	[DEBUG]	Store product image relation
2023-10-13	13:06:16	2484	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:16	2484	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861976 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:16	2484	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:16	2484	[DEBUG]	Executed store
2023-10-13	13:06:16	2484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861976','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:16	2484	[DEBUG]	Checking manufacturer
2023-10-13	13:06:16	2484	[DEBUG]	Load a row
2023-10-13	13:06:16	2484	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:16	2484	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:16	2484	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:16	2484	[DEBUG]	Executed store
2023-10-13	13:06:16	2484	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:16	2484	[DEBUG]	Manufacturer exists
2023-10-13	13:06:16	2484	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:16	2484	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:16	2484	[DEBUG]	Executed store
2023-10-13	13:06:16	2484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861976','32')
2023-10-13	13:06:16	2484	[DEBUG]	Find the custom field ID
2023-10-13	13:06:16	2484	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:16	2484	[DEBUG]	No custom field ID found
2023-10-13	13:06:16	2484	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:16	2484	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:06:16	2484	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861976 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:16	2484	[DEBUG]	Store custom available field
2023-10-13	13:06:16	2484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861976,3,'12.8641666666667',1)
2023-10-13	13:06:16	2484	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:16	2484	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:16	2484	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861976 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:16	2484	[DEBUG]	Store custom available field
2023-10-13	13:06:16	2484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861976,6,'choisir la taille',3)
2023-10-13	13:06:16	2484	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:16	2484	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:16	2484	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:16	2484	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:16	2484	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861976 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:16	2484	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:16	2484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861976,8,1)
2023-10-13	13:06:16	2484	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:16	2484	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861976\":[1861976,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861976
2023-10-13	13:06:16	2484	[DEBUG]	Checking category
2023-10-13	13:06:16	2484	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:16	2484	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861976
2023-10-13	13:06:16	2484	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:16	2484	[DEBUG]	Executed store
2023-10-13	13:06:16	2484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861976','7345')
2023-10-13	13:06:16	2484	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:16	2484	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861976 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:16	2484	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:16	2484	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861976
2023-10-13	13:06:16	2485	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:16	2485	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:16	2485	[DEBUG]	Use field value for field taille
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:16	2485	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:16	2485	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:16	2485	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:16	2485	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:16	2485	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:16	2485	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:16	2485	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:16	2485	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:16	2485	[DEBUG]	Use field value for field published
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:16	2485	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field override
2023-10-13	13:06:16	2485	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:16	2485	[DEBUG]	Use field value for field slug
2023-10-13	13:06:16	2485	[DEBUG]	Process line 2485
2023-10-13	13:06:16	2485	[DEBUG]	Load a row
2023-10-13	13:06:16	2485	[DEBUG]	Processing item: 8436041558798
2023-10-13	13:06:16	2485	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:16	2485	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:16	2485	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1556_0'
2023-10-13	13:06:16	2485	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:16	2485	[DEBUG]	Processing product tax
2023-10-13	13:06:16	2485	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:16	2485	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:16	2485	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:16	2485	[DEBUG]	Query for Product
2023-10-13	13:06:16	2485	[DEBUG]	Executed store
2023-10-13	13:06:16	2485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861976','8436041558798','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:16	2485	[DEBUG]	No parent found
2023-10-13	13:06:16	2485	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861976 AND customfield_value = 'stockable'
2023-10-13	13:06:16	2485	[DEBUG]	Check product language entry
2023-10-13	13:06:16	2485	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861977
2023-10-13	13:06:16	2485	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:16	2485	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041558798' AND `virtuemart_product_id` != 1861977
2023-10-13	13:06:16	2485	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:16	2485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861977, '8436041558798')
2023-10-13	13:06:16	2485	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:16	2485	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-shimano-xt-slx-2012-semi-metallique-unique-unitaire' AND `virtuemart_product_id` != 1861977
2023-10-13	13:06:16	2485	[DEBUG]	Query for ProductLang
2023-10-13	13:06:16	2485	[DEBUG]	Executed store
2023-10-13	13:06:16	2485	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes Shimano XT/SLX 2012 semi-métallique / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-shimano-xt-slx-2012-semi-metallique-unique-unitaire' WHERE `virtuemart_product_id` = '1861977'
2023-10-13	13:06:16	2485	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3865.jpg
2023-10-13	13:06:16	2485	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:16	2485	[DEBUG]	Process image file
2023-10-13	13:06:16	2485	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:16	2485	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:16	2485	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3865.jpg
2023-10-13	13:06:16	2485	[DEBUG]	Full name target: bcprisme/image_3865.jpg
2023-10-13	13:06:17	2485	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:17	2485	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3865.jpg'
2023-10-13	13:06:17	2485	[DEBUG]	Query for Media
2023-10-13	13:06:17	2485	[DEBUG]	Executed store
2023-10-13	13:06:17	2485	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3865.jpg',`file_url_thumb`='bcprisme/image_3865.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12850'
2023-10-13	13:06:17	2485	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:17	2485	[DEBUG]	Executed store
2023-10-13	13:06:17	2485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861977','12850','1')
2023-10-13	13:06:17	2485	[DEBUG]	Store product image relation
2023-10-13	13:06:17	2485	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:17	2485	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861977 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:17	2485	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:17	2485	[DEBUG]	Executed store
2023-10-13	13:06:17	2485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861977','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:17	2485	[DEBUG]	Checking manufacturer
2023-10-13	13:06:17	2485	[DEBUG]	Load a row
2023-10-13	13:06:17	2485	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:17	2485	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:17	2485	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:17	2485	[DEBUG]	Executed store
2023-10-13	13:06:17	2485	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:17	2485	[DEBUG]	Manufacturer exists
2023-10-13	13:06:17	2485	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:17	2485	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:17	2485	[DEBUG]	Executed store
2023-10-13	13:06:17	2485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861977','32')
2023-10-13	13:06:17	2485	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:17	2485	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:17	2485	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861977 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:17	2485	[DEBUG]	Store custom available field
2023-10-13	13:06:17	2485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861977,3,'',1)
2023-10-13	13:06:17	2485	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:17	2485	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:06:17	2485	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861977 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:17	2485	[DEBUG]	Store custom available field
2023-10-13	13:06:17	2485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861977,6,'Unitaire',3)
2023-10-13	13:06:17	2485	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:17	2485	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:17	2485	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861976
2023-10-13	13:06:17	2485	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:17	2485	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861976\":[1861976,8,1,\"choisir la taille\"],\"1861977\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861976
2023-10-13	13:06:17	2485	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:17	2485	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861977
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:17	2486	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field taille
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:17	2486	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:17	2486	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:17	2486	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:17	2486	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:17	2486	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:17	2486	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field published
2023-10-13	13:06:17	2486	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:17	2486	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field override
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:17	2486	[DEBUG]	Use field value for field slug
2023-10-13	13:06:17	2486	[DEBUG]	Process line 2486
2023-10-13	13:06:17	2486	[DEBUG]	Load a row
2023-10-13	13:06:17	2486	[DEBUG]	Processing item: A_1655_0
2023-10-13	13:06:17	2486	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:17	2486	[DEBUG]	Processing product tax
2023-10-13	13:06:17	2486	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:17	2486	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:17	2486	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:17	2486	[DEBUG]	Query for Product
2023-10-13	13:06:17	2486	[DEBUG]	Executed store
2023-10-13	13:06:17	2486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1655_0','0.002','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:17	2486	[DEBUG]	Check product language entry
2023-10-13	13:06:17	2486	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861978
2023-10-13	13:06:17	2486	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:17	2486	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1655_0' AND `virtuemart_product_id` != 1861978
2023-10-13	13:06:17	2486	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:17	2486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861978, 'A_1655_0')
2023-10-13	13:06:17	2486	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:17	2486	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-zoom-et-alonga-semi-metalliques-unique' AND `virtuemart_product_id` != 1861978
2023-10-13	13:06:17	2486	[DEBUG]	Query for ProductLang
2023-10-13	13:06:17	2486	[DEBUG]	Executed store
2023-10-13	13:06:17	2486	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de freins semi-métalliques pour Zoom et Aonga SNG. Élimine le bruit. Longue durée. <br><br>N° art fourn : DK89',`product_name`='MSC Plaquettes de freins Zoom et Alonga semi-métalliques / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-zoom-et-alonga-semi-metalliques-unique' WHERE `virtuemart_product_id` = '1861978'
2023-10-13	13:06:17	2486	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5720.jpg
2023-10-13	13:06:17	2486	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:06:17	2486	[DEBUG]	Process image file
2023-10-13	13:06:17	2486	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:06:17	2486	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:17	2486	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5720.jpg
2023-10-13	13:06:17	2486	[DEBUG]	Full name target: bcprisme/image_5720.jpg
2023-10-13	13:06:18	2486	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:18	2486	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5720.jpg'
2023-10-13	13:06:18	2486	[DEBUG]	Query for Media
2023-10-13	13:06:18	2486	[DEBUG]	Executed store
2023-10-13	13:06:18	2486	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5720.jpg',`file_url_thumb`='bcprisme/image_5720.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12851'
2023-10-13	13:06:18	2486	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:18	2486	[DEBUG]	Executed store
2023-10-13	13:06:18	2486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861978','12851','1')
2023-10-13	13:06:18	2486	[DEBUG]	Store product image relation
2023-10-13	13:06:18	2486	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:18	2486	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861978 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:18	2486	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:18	2486	[DEBUG]	Executed store
2023-10-13	13:06:18	2486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861978','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:18	2486	[DEBUG]	Checking manufacturer
2023-10-13	13:06:18	2486	[DEBUG]	Load a row
2023-10-13	13:06:18	2486	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:18	2486	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:18	2486	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:18	2486	[DEBUG]	Executed store
2023-10-13	13:06:18	2486	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:18	2486	[DEBUG]	Manufacturer exists
2023-10-13	13:06:18	2486	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:18	2486	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:18	2486	[DEBUG]	Executed store
2023-10-13	13:06:18	2486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861978','32')
2023-10-13	13:06:18	2486	[DEBUG]	Find the custom field ID
2023-10-13	13:06:18	2486	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:18	2486	[DEBUG]	No custom field ID found
2023-10-13	13:06:18	2486	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:18	2486	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:06:18	2486	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861978 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:18	2486	[DEBUG]	Store custom available field
2023-10-13	13:06:18	2486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861978,3,'12.8641666666667',1)
2023-10-13	13:06:18	2486	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:18	2486	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:18	2486	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861978 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:18	2486	[DEBUG]	Store custom available field
2023-10-13	13:06:18	2486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861978,6,'choisir la taille',3)
2023-10-13	13:06:18	2486	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:18	2486	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:18	2486	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:18	2486	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:18	2486	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861978 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:18	2486	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:18	2486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861978,8,1)
2023-10-13	13:06:18	2486	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:18	2486	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861978\":[1861978,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861978
2023-10-13	13:06:18	2486	[DEBUG]	Checking category
2023-10-13	13:06:18	2486	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:18	2486	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861978
2023-10-13	13:06:18	2486	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:18	2486	[DEBUG]	Executed store
2023-10-13	13:06:18	2486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861978','7345')
2023-10-13	13:06:18	2486	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:18	2486	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861978 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:18	2486	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:18	2486	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861978
2023-10-13	13:06:18	2487	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:18	2487	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:18	2487	[DEBUG]	Use field value for field taille
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:18	2487	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:18	2487	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:18	2487	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:18	2487	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:18	2487	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:18	2487	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:18	2487	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:18	2487	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:18	2487	[DEBUG]	Use field value for field published
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:18	2487	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field override
2023-10-13	13:06:18	2487	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:18	2487	[DEBUG]	Use field value for field slug
2023-10-13	13:06:18	2487	[DEBUG]	Process line 2487
2023-10-13	13:06:18	2487	[DEBUG]	Load a row
2023-10-13	13:06:18	2487	[DEBUG]	Processing item: 8436041559634
2023-10-13	13:06:18	2487	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:18	2487	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:18	2487	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1655_0'
2023-10-13	13:06:18	2487	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:18	2487	[DEBUG]	Processing product tax
2023-10-13	13:06:18	2487	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:18	2487	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:18	2487	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:18	2487	[DEBUG]	Query for Product
2023-10-13	13:06:18	2487	[DEBUG]	Executed store
2023-10-13	13:06:18	2487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861978','8436041559634','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:18	2487	[DEBUG]	No parent found
2023-10-13	13:06:18	2487	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861978 AND customfield_value = 'stockable'
2023-10-13	13:06:18	2487	[DEBUG]	Check product language entry
2023-10-13	13:06:18	2487	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861979
2023-10-13	13:06:18	2487	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:18	2487	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559634' AND `virtuemart_product_id` != 1861979
2023-10-13	13:06:18	2487	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:18	2487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861979, '8436041559634')
2023-10-13	13:06:18	2487	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:18	2487	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-zoom-et-alonga-semi-metalliques-unique-unitaire' AND `virtuemart_product_id` != 1861979
2023-10-13	13:06:18	2487	[DEBUG]	Query for ProductLang
2023-10-13	13:06:18	2487	[DEBUG]	Executed store
2023-10-13	13:06:18	2487	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Zoom et Alonga semi-métalliques / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-zoom-et-alonga-semi-metalliques-unique-unitaire' WHERE `virtuemart_product_id` = '1861979'
2023-10-13	13:06:18	2487	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5720.jpg
2023-10-13	13:06:18	2487	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:06:18	2487	[DEBUG]	Process image file
2023-10-13	13:06:18	2487	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:06:18	2487	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:18	2487	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5720.jpg
2023-10-13	13:06:18	2487	[DEBUG]	Full name target: bcprisme/image_5720.jpg
2023-10-13	13:06:19	2487	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:19	2487	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5720.jpg'
2023-10-13	13:06:19	2487	[DEBUG]	Query for Media
2023-10-13	13:06:19	2487	[DEBUG]	Executed store
2023-10-13	13:06:19	2487	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5720.jpg',`file_url_thumb`='bcprisme/image_5720.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12851'
2023-10-13	13:06:19	2487	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:19	2487	[DEBUG]	Executed store
2023-10-13	13:06:19	2487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861979','12851','1')
2023-10-13	13:06:19	2487	[DEBUG]	Store product image relation
2023-10-13	13:06:19	2487	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:19	2487	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861979 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:19	2487	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:19	2487	[DEBUG]	Executed store
2023-10-13	13:06:19	2487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861979','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:19	2487	[DEBUG]	Checking manufacturer
2023-10-13	13:06:19	2487	[DEBUG]	Load a row
2023-10-13	13:06:19	2487	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:19	2487	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:19	2487	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:19	2487	[DEBUG]	Executed store
2023-10-13	13:06:19	2487	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:19	2487	[DEBUG]	Manufacturer exists
2023-10-13	13:06:19	2487	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:19	2487	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:19	2487	[DEBUG]	Executed store
2023-10-13	13:06:19	2487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861979','32')
2023-10-13	13:06:19	2487	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:19	2487	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:19	2487	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861979 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:19	2487	[DEBUG]	Store custom available field
2023-10-13	13:06:19	2487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861979,3,'',1)
2023-10-13	13:06:19	2487	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:19	2487	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:06:19	2487	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861979 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:19	2487	[DEBUG]	Store custom available field
2023-10-13	13:06:19	2487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861979,6,'Unitaire',3)
2023-10-13	13:06:19	2487	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:19	2487	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:19	2487	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861978
2023-10-13	13:06:19	2487	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:19	2487	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861978\":[1861978,8,1,\"choisir la taille\"],\"1861979\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861978
2023-10-13	13:06:19	2487	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:19	2487	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861979
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:19	2488	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field taille
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:19	2488	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:19	2488	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:19	2488	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:19	2488	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:19	2488	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:19	2488	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field published
2023-10-13	13:06:19	2488	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:19	2488	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field override
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:19	2488	[DEBUG]	Use field value for field slug
2023-10-13	13:06:19	2488	[DEBUG]	Process line 2488
2023-10-13	13:06:19	2488	[DEBUG]	Load a row
2023-10-13	13:06:19	2488	[DEBUG]	Processing item: A_1734_0
2023-10-13	13:06:19	2488	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:19	2488	[DEBUG]	Processing product tax
2023-10-13	13:06:19	2488	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:19	2488	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:19	2488	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:19	2488	[DEBUG]	Query for Product
2023-10-13	13:06:19	2488	[DEBUG]	Executed store
2023-10-13	13:06:19	2488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1734_0','0.004','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:19	2488	[DEBUG]	Check product language entry
2023-10-13	13:06:19	2488	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861980
2023-10-13	13:06:19	2488	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:19	2488	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1734_0' AND `virtuemart_product_id` != 1861980
2023-10-13	13:06:19	2488	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:19	2488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861980, 'A_1734_0')
2023-10-13	13:06:19	2488	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:19	2488	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-semi-metalliques-magura-mt-2-4-6-8-unique' AND `virtuemart_product_id` != 1861980
2023-10-13	13:06:19	2488	[DEBUG]	Query for ProductLang
2023-10-13	13:06:19	2488	[DEBUG]	Executed store
2023-10-13	13:06:19	2488	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. semi-métalliques,  Magura MT 2,4,6,8<br>N° art fourn : DK17',`product_name`='MSC Plaquettes de frein semi-métalliques Magura MT 2,4,6,8 / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-semi-metalliques-magura-mt-2-4-6-8-unique' WHERE `virtuemart_product_id` = '1861980'
2023-10-13	13:06:19	2488	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5877.jpg
2023-10-13	13:06:19	2488	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:06:19	2488	[DEBUG]	Process image file
2023-10-13	13:06:19	2488	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:06:19	2488	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:19	2488	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5877.jpg
2023-10-13	13:06:19	2488	[DEBUG]	Full name target: bcprisme/image_5877.jpg
2023-10-13	13:06:20	2488	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:20	2488	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5877.jpg'
2023-10-13	13:06:20	2488	[DEBUG]	Query for Media
2023-10-13	13:06:20	2488	[DEBUG]	Executed store
2023-10-13	13:06:20	2488	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5877.jpg',`file_url_thumb`='bcprisme/image_5877.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12852'
2023-10-13	13:06:20	2488	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:20	2488	[DEBUG]	Executed store
2023-10-13	13:06:20	2488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861980','12852','1')
2023-10-13	13:06:20	2488	[DEBUG]	Store product image relation
2023-10-13	13:06:20	2488	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:20	2488	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861980 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:20	2488	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:20	2488	[DEBUG]	Executed store
2023-10-13	13:06:20	2488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861980','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:20	2488	[DEBUG]	Checking manufacturer
2023-10-13	13:06:20	2488	[DEBUG]	Load a row
2023-10-13	13:06:20	2488	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:20	2488	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:20	2488	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:20	2488	[DEBUG]	Executed store
2023-10-13	13:06:20	2488	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:20	2488	[DEBUG]	Manufacturer exists
2023-10-13	13:06:20	2488	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:20	2488	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:20	2488	[DEBUG]	Executed store
2023-10-13	13:06:20	2488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861980','32')
2023-10-13	13:06:20	2488	[DEBUG]	Find the custom field ID
2023-10-13	13:06:20	2488	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:20	2488	[DEBUG]	No custom field ID found
2023-10-13	13:06:20	2488	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:20	2488	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:06:20	2488	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861980 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:20	2488	[DEBUG]	Store custom available field
2023-10-13	13:06:20	2488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861980,3,'16.8530555555556',1)
2023-10-13	13:06:20	2488	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:20	2488	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:20	2488	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861980 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:20	2488	[DEBUG]	Store custom available field
2023-10-13	13:06:20	2488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861980,6,'choisir la taille',3)
2023-10-13	13:06:20	2488	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:20	2488	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:20	2488	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:20	2488	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:20	2488	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861980 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:20	2488	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:20	2488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861980,8,1)
2023-10-13	13:06:20	2488	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:20	2488	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861980\":[1861980,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861980
2023-10-13	13:06:20	2488	[DEBUG]	Checking category
2023-10-13	13:06:20	2488	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:20	2488	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861980
2023-10-13	13:06:20	2488	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:20	2488	[DEBUG]	Executed store
2023-10-13	13:06:20	2488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861980','7345')
2023-10-13	13:06:20	2488	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:20	2488	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861980 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:20	2488	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:20	2488	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861980
2023-10-13	13:06:20	2489	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:20	2489	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:20	2489	[DEBUG]	Use field value for field taille
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:20	2489	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:20	2489	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:20	2489	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:20	2489	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:20	2489	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:20	2489	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:20	2489	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:20	2489	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:20	2489	[DEBUG]	Use field value for field published
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:20	2489	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field override
2023-10-13	13:06:20	2489	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:20	2489	[DEBUG]	Use field value for field slug
2023-10-13	13:06:20	2489	[DEBUG]	Process line 2489
2023-10-13	13:06:20	2489	[DEBUG]	Load a row
2023-10-13	13:06:20	2489	[DEBUG]	Processing item: 8436041522553
2023-10-13	13:06:20	2489	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:20	2489	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:20	2489	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1734_0'
2023-10-13	13:06:20	2489	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:20	2489	[DEBUG]	Processing product tax
2023-10-13	13:06:20	2489	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:20	2489	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:20	2489	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:20	2489	[DEBUG]	Query for Product
2023-10-13	13:06:20	2489	[DEBUG]	Executed store
2023-10-13	13:06:20	2489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861980','8436041522553','0','KG','M','','12','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:20	2489	[DEBUG]	No parent found
2023-10-13	13:06:20	2489	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861980 AND customfield_value = 'stockable'
2023-10-13	13:06:20	2489	[DEBUG]	Check product language entry
2023-10-13	13:06:20	2489	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861981
2023-10-13	13:06:20	2489	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:20	2489	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041522553' AND `virtuemart_product_id` != 1861981
2023-10-13	13:06:20	2489	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:20	2489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861981, '8436041522553')
2023-10-13	13:06:20	2489	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:20	2489	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-semi-metalliques-magura-mt-2-4-6-8-unique-unitaire' AND `virtuemart_product_id` != 1861981
2023-10-13	13:06:20	2489	[DEBUG]	Query for ProductLang
2023-10-13	13:06:20	2489	[DEBUG]	Executed store
2023-10-13	13:06:20	2489	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de frein semi-métalliques Magura MT 2,4,6,8 / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-semi-metalliques-magura-mt-2-4-6-8-unique-unitaire' WHERE `virtuemart_product_id` = '1861981'
2023-10-13	13:06:20	2489	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5877.jpg
2023-10-13	13:06:20	2489	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:06:20	2489	[DEBUG]	Process image file
2023-10-13	13:06:20	2489	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:06:20	2489	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:20	2489	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5877.jpg
2023-10-13	13:06:20	2489	[DEBUG]	Full name target: bcprisme/image_5877.jpg
2023-10-13	13:06:21	2489	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:21	2489	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5877.jpg'
2023-10-13	13:06:21	2489	[DEBUG]	Query for Media
2023-10-13	13:06:21	2489	[DEBUG]	Executed store
2023-10-13	13:06:21	2489	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5877.jpg',`file_url_thumb`='bcprisme/image_5877.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12852'
2023-10-13	13:06:21	2489	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:21	2489	[DEBUG]	Executed store
2023-10-13	13:06:21	2489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861981','12852','1')
2023-10-13	13:06:21	2489	[DEBUG]	Store product image relation
2023-10-13	13:06:21	2489	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:21	2489	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861981 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:21	2489	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:21	2489	[DEBUG]	Executed store
2023-10-13	13:06:21	2489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861981','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:21	2489	[DEBUG]	Checking manufacturer
2023-10-13	13:06:21	2489	[DEBUG]	Load a row
2023-10-13	13:06:21	2489	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:21	2489	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:21	2489	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:21	2489	[DEBUG]	Executed store
2023-10-13	13:06:21	2489	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:21	2489	[DEBUG]	Manufacturer exists
2023-10-13	13:06:21	2489	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:21	2489	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:21	2489	[DEBUG]	Executed store
2023-10-13	13:06:21	2489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861981','32')
2023-10-13	13:06:21	2489	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:21	2489	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:21	2489	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861981 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:21	2489	[DEBUG]	Store custom available field
2023-10-13	13:06:21	2489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861981,3,'',1)
2023-10-13	13:06:21	2489	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:21	2489	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:06:21	2489	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861981 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:21	2489	[DEBUG]	Store custom available field
2023-10-13	13:06:21	2489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861981,6,'Unitaire',3)
2023-10-13	13:06:21	2489	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:21	2489	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:21	2489	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861980
2023-10-13	13:06:21	2489	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:21	2489	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861980\":[1861980,8,1,\"choisir la taille\"],\"1861981\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861980
2023-10-13	13:06:21	2489	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:21	2489	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861981
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:21	2490	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field taille
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:21	2490	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:21	2490	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:21	2490	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:21	2490	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:21	2490	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:21	2490	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field published
2023-10-13	13:06:21	2490	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:21	2490	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field override
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:21	2490	[DEBUG]	Use field value for field slug
2023-10-13	13:06:21	2490	[DEBUG]	Process line 2490
2023-10-13	13:06:21	2490	[DEBUG]	Load a row
2023-10-13	13:06:21	2490	[DEBUG]	Processing item: A_2712_1
2023-10-13	13:06:21	2490	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:21	2490	[DEBUG]	Processing product tax
2023-10-13	13:06:21	2490	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:21	2490	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:21	2490	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:21	2490	[DEBUG]	Query for Product
2023-10-13	13:06:21	2490	[DEBUG]	Executed store
2023-10-13	13:06:21	2490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2712_1','0.004','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:21	2490	[DEBUG]	Check product language entry
2023-10-13	13:06:21	2490	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861982
2023-10-13	13:06:21	2490	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:21	2490	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2712_1' AND `virtuemart_product_id` != 1861982
2023-10-13	13:06:21	2490	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:21	2490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861982, 'A_2712_1')
2023-10-13	13:06:21	2490	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:21	2490	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-disques-promax-dsk-xnine-semi-metalliques-noir' AND `virtuemart_product_id` != 1861982
2023-10-13	13:06:21	2490	[DEBUG]	Query for ProductLang
2023-10-13	13:06:21	2490	[DEBUG]	Executed store
2023-10-13	13:06:21	2490	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. PROMAX DSK / XNINE<br>Eliminie le bruit, longue durée de vie<br>N° art fourn : DK87',`product_name`='MSC Plaquettes de frein disques PROMAX DSK / XNINE semi-métalliques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-disques-promax-dsk-xnine-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1861982'
2023-10-13	13:06:21	2490	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11277.jpg
2023-10-13	13:06:21	2490	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:21	2490	[DEBUG]	Process image file
2023-10-13	13:06:21	2490	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:21	2490	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:21	2490	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11277.jpg
2023-10-13	13:06:21	2490	[DEBUG]	Full name target: bcprisme/image_11277.jpg
2023-10-13	13:06:22	2490	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:22	2490	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11277.jpg'
2023-10-13	13:06:22	2490	[DEBUG]	Query for Media
2023-10-13	13:06:22	2490	[DEBUG]	Executed store
2023-10-13	13:06:22	2490	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11277.jpg',`file_url_thumb`='bcprisme/image_11277.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12853'
2023-10-13	13:06:22	2490	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:22	2490	[DEBUG]	Executed store
2023-10-13	13:06:22	2490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861982','12853','1')
2023-10-13	13:06:22	2490	[DEBUG]	Store product image relation
2023-10-13	13:06:22	2490	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:22	2490	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861982 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:22	2490	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:22	2490	[DEBUG]	Executed store
2023-10-13	13:06:22	2490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861982','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:22	2490	[DEBUG]	Checking manufacturer
2023-10-13	13:06:22	2490	[DEBUG]	Load a row
2023-10-13	13:06:22	2490	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:22	2490	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:22	2490	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:22	2490	[DEBUG]	Executed store
2023-10-13	13:06:22	2490	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:22	2490	[DEBUG]	Manufacturer exists
2023-10-13	13:06:22	2490	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:22	2490	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:22	2490	[DEBUG]	Executed store
2023-10-13	13:06:22	2490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861982','32')
2023-10-13	13:06:22	2490	[DEBUG]	Find the custom field ID
2023-10-13	13:06:22	2490	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:22	2490	[DEBUG]	No custom field ID found
2023-10-13	13:06:22	2490	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:22	2490	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:06:22	2490	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861982 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:22	2490	[DEBUG]	Store custom available field
2023-10-13	13:06:22	2490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861982,3,'16.8530555555556',1)
2023-10-13	13:06:22	2490	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:22	2490	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:22	2490	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861982 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:22	2490	[DEBUG]	Store custom available field
2023-10-13	13:06:22	2490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861982,6,'choisir la taille',3)
2023-10-13	13:06:22	2490	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:22	2490	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:22	2490	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:22	2490	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:22	2490	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861982 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:22	2490	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:22	2490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861982,8,1)
2023-10-13	13:06:22	2490	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:22	2490	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861982\":[1861982,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861982
2023-10-13	13:06:22	2490	[DEBUG]	Checking category
2023-10-13	13:06:22	2490	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:22	2490	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861982
2023-10-13	13:06:22	2490	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:22	2490	[DEBUG]	Executed store
2023-10-13	13:06:22	2490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861982','7345')
2023-10-13	13:06:22	2490	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:22	2490	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861982 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:22	2490	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:22	2490	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861982
2023-10-13	13:06:22	2491	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:22	2491	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:22	2491	[DEBUG]	Use field value for field taille
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:22	2491	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:22	2491	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:22	2491	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:22	2491	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:22	2491	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:22	2491	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:22	2491	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:22	2491	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:22	2491	[DEBUG]	Use field value for field published
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:22	2491	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field override
2023-10-13	13:06:22	2491	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:22	2491	[DEBUG]	Use field value for field slug
2023-10-13	13:06:22	2491	[DEBUG]	Process line 2491
2023-10-13	13:06:22	2491	[DEBUG]	Load a row
2023-10-13	13:06:22	2491	[DEBUG]	Processing item: 8436550190809
2023-10-13	13:06:22	2491	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:22	2491	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:22	2491	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2712_1'
2023-10-13	13:06:22	2491	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:22	2491	[DEBUG]	Processing product tax
2023-10-13	13:06:22	2491	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:22	2491	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:22	2491	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:22	2491	[DEBUG]	Query for Product
2023-10-13	13:06:22	2491	[DEBUG]	Executed store
2023-10-13	13:06:22	2491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861982','8436550190809','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:22	2491	[DEBUG]	No parent found
2023-10-13	13:06:22	2491	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861982 AND customfield_value = 'stockable'
2023-10-13	13:06:22	2491	[DEBUG]	Check product language entry
2023-10-13	13:06:22	2491	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861983
2023-10-13	13:06:22	2491	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:22	2491	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550190809' AND `virtuemart_product_id` != 1861983
2023-10-13	13:06:22	2491	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:22	2491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861983, '8436550190809')
2023-10-13	13:06:22	2491	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:22	2491	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-disques-promax-dsk-xnine-semi-metalliques-noir-unitaire' AND `virtuemart_product_id` != 1861983
2023-10-13	13:06:22	2491	[DEBUG]	Query for ProductLang
2023-10-13	13:06:22	2491	[DEBUG]	Executed store
2023-10-13	13:06:22	2491	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de frein disques PROMAX DSK / XNINE semi-métalliques / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-disques-promax-dsk-xnine-semi-metalliques-noir-unitaire' WHERE `virtuemart_product_id` = '1861983'
2023-10-13	13:06:22	2491	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11277.jpg
2023-10-13	13:06:22	2491	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:22	2491	[DEBUG]	Process image file
2023-10-13	13:06:22	2491	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:22	2491	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:22	2491	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11277.jpg
2023-10-13	13:06:22	2491	[DEBUG]	Full name target: bcprisme/image_11277.jpg
2023-10-13	13:06:23	2491	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:23	2491	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11277.jpg'
2023-10-13	13:06:23	2491	[DEBUG]	Query for Media
2023-10-13	13:06:23	2491	[DEBUG]	Executed store
2023-10-13	13:06:23	2491	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11277.jpg',`file_url_thumb`='bcprisme/image_11277.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12853'
2023-10-13	13:06:23	2491	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:23	2491	[DEBUG]	Executed store
2023-10-13	13:06:23	2491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861983','12853','1')
2023-10-13	13:06:23	2491	[DEBUG]	Store product image relation
2023-10-13	13:06:23	2491	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:23	2491	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861983 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:23	2491	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:23	2491	[DEBUG]	Executed store
2023-10-13	13:06:23	2491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861983','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:23	2491	[DEBUG]	Checking manufacturer
2023-10-13	13:06:23	2491	[DEBUG]	Load a row
2023-10-13	13:06:23	2491	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:23	2491	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:23	2491	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:23	2491	[DEBUG]	Executed store
2023-10-13	13:06:23	2491	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:23	2491	[DEBUG]	Manufacturer exists
2023-10-13	13:06:23	2491	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:23	2491	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:23	2491	[DEBUG]	Executed store
2023-10-13	13:06:23	2491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861983','32')
2023-10-13	13:06:23	2491	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:23	2491	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:23	2491	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861983 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:23	2491	[DEBUG]	Store custom available field
2023-10-13	13:06:23	2491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861983,3,'',1)
2023-10-13	13:06:23	2491	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:23	2491	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:06:23	2491	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861983 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:23	2491	[DEBUG]	Store custom available field
2023-10-13	13:06:23	2491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861983,6,'Unitaire',3)
2023-10-13	13:06:23	2491	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:23	2491	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:23	2491	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861982
2023-10-13	13:06:23	2491	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:23	2491	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861982\":[1861982,8,1,\"choisir la taille\"],\"1861983\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861982
2023-10-13	13:06:23	2491	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:23	2491	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861983
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:23	2492	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field taille
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:23	2492	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:23	2492	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:23	2492	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:23	2492	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:23	2492	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:23	2492	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field published
2023-10-13	13:06:23	2492	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:23	2492	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field override
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:23	2492	[DEBUG]	Use field value for field slug
2023-10-13	13:06:23	2492	[DEBUG]	Process line 2492
2023-10-13	13:06:23	2492	[DEBUG]	Load a row
2023-10-13	13:06:23	2492	[DEBUG]	Processing item: A_3048_1
2023-10-13	13:06:23	2492	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:23	2492	[DEBUG]	Processing product tax
2023-10-13	13:06:23	2492	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:23	2492	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:23	2492	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:23	2492	[DEBUG]	Query for Product
2023-10-13	13:06:23	2492	[DEBUG]	Executed store
2023-10-13	13:06:23	2492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3048_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:23	2492	[DEBUG]	Check product language entry
2023-10-13	13:06:23	2492	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861984
2023-10-13	13:06:23	2492	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:23	2492	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3048_1' AND `virtuemart_product_id` != 1861984
2023-10-13	13:06:23	2492	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:23	2492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861984, 'A_3048_1')
2023-10-13	13:06:23	2492	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:23	2492	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-avid-elixir-noir' AND `virtuemart_product_id` != 1861984
2023-10-13	13:06:23	2492	[DEBUG]	Query for ProductLang
2023-10-13	13:06:23	2492	[DEBUG]	Executed store
2023-10-13	13:06:23	2492	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. Avid Elixir<br>N° art fourn : DKCPA01BK',`product_name`='MSC Plaquettes de freins Avid Elixir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-avid-elixir-noir' WHERE `virtuemart_product_id` = '1861984'
2023-10-13	13:06:23	2492	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13953.jpg
2023-10-13	13:06:23	2492	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:23	2492	[DEBUG]	Process image file
2023-10-13	13:06:23	2492	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:23	2492	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:23	2492	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13953.jpg
2023-10-13	13:06:23	2492	[DEBUG]	Full name target: bcprisme/image_13953.jpg
2023-10-13	13:06:24	2492	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:24	2492	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13953.jpg'
2023-10-13	13:06:24	2492	[DEBUG]	Query for Media
2023-10-13	13:06:24	2492	[DEBUG]	Executed store
2023-10-13	13:06:24	2492	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13953.jpg',`file_url_thumb`='bcprisme/image_13953.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12854'
2023-10-13	13:06:24	2492	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:24	2492	[DEBUG]	Executed store
2023-10-13	13:06:24	2492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861984','12854','1')
2023-10-13	13:06:24	2492	[DEBUG]	Store product image relation
2023-10-13	13:06:24	2492	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:24	2492	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861984 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:24	2492	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:24	2492	[DEBUG]	Executed store
2023-10-13	13:06:24	2492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861984','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:24	2492	[DEBUG]	Checking manufacturer
2023-10-13	13:06:24	2492	[DEBUG]	Load a row
2023-10-13	13:06:24	2492	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:24	2492	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:24	2492	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:24	2492	[DEBUG]	Executed store
2023-10-13	13:06:24	2492	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:24	2492	[DEBUG]	Manufacturer exists
2023-10-13	13:06:24	2492	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:24	2492	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:24	2492	[DEBUG]	Executed store
2023-10-13	13:06:24	2492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861984','32')
2023-10-13	13:06:24	2492	[DEBUG]	Find the custom field ID
2023-10-13	13:06:24	2492	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:24	2492	[DEBUG]	No custom field ID found
2023-10-13	13:06:24	2492	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:24	2492	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:06:24	2492	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861984 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:24	2492	[DEBUG]	Store custom available field
2023-10-13	13:06:24	2492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861984,3,'39.7891666666667',1)
2023-10-13	13:06:24	2492	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:24	2492	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:24	2492	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861984 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:24	2492	[DEBUG]	Store custom available field
2023-10-13	13:06:24	2492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861984,6,'choisir la taille',3)
2023-10-13	13:06:24	2492	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:24	2492	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:24	2492	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:24	2492	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:24	2492	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861984 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:24	2492	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:24	2492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861984,8,1)
2023-10-13	13:06:24	2492	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:24	2492	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861984\":[1861984,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861984
2023-10-13	13:06:24	2492	[DEBUG]	Checking category
2023-10-13	13:06:24	2492	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:24	2492	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861984
2023-10-13	13:06:24	2492	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:24	2492	[DEBUG]	Executed store
2023-10-13	13:06:24	2492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861984','7345')
2023-10-13	13:06:24	2492	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:24	2492	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861984 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:24	2492	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:24	2492	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861984
2023-10-13	13:06:24	2493	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:24	2493	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:24	2493	[DEBUG]	Use field value for field taille
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:24	2493	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:24	2493	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:24	2493	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:24	2493	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:24	2493	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:24	2493	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:24	2493	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:24	2493	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:24	2493	[DEBUG]	Use field value for field published
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:24	2493	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field override
2023-10-13	13:06:24	2493	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:24	2493	[DEBUG]	Use field value for field slug
2023-10-13	13:06:24	2493	[DEBUG]	Process line 2493
2023-10-13	13:06:24	2493	[DEBUG]	Load a row
2023-10-13	13:06:24	2493	[DEBUG]	Processing item: 8436550193862
2023-10-13	13:06:24	2493	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:24	2493	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:24	2493	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3048_1'
2023-10-13	13:06:24	2493	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:24	2493	[DEBUG]	Processing product tax
2023-10-13	13:06:24	2493	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:24	2493	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:24	2493	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:24	2493	[DEBUG]	Query for Product
2023-10-13	13:06:24	2493	[DEBUG]	Executed store
2023-10-13	13:06:24	2493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861984','8436550193862','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:24	2493	[DEBUG]	No parent found
2023-10-13	13:06:24	2493	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861984 AND customfield_value = 'stockable'
2023-10-13	13:06:24	2493	[DEBUG]	Check product language entry
2023-10-13	13:06:24	2493	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861985
2023-10-13	13:06:24	2493	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:24	2493	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550193862' AND `virtuemart_product_id` != 1861985
2023-10-13	13:06:24	2493	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:24	2493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861985, '8436550193862')
2023-10-13	13:06:24	2493	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:24	2493	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-avid-elixir-noir-unitaire' AND `virtuemart_product_id` != 1861985
2023-10-13	13:06:24	2493	[DEBUG]	Query for ProductLang
2023-10-13	13:06:24	2493	[DEBUG]	Executed store
2023-10-13	13:06:24	2493	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Avid Elixir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-avid-elixir-noir-unitaire' WHERE `virtuemart_product_id` = '1861985'
2023-10-13	13:06:24	2493	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13953.jpg
2023-10-13	13:06:24	2493	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:24	2493	[DEBUG]	Process image file
2023-10-13	13:06:24	2493	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:24	2493	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:24	2493	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13953.jpg
2023-10-13	13:06:24	2493	[DEBUG]	Full name target: bcprisme/image_13953.jpg
2023-10-13	13:06:25	2493	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:25	2493	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13953.jpg'
2023-10-13	13:06:25	2493	[DEBUG]	Query for Media
2023-10-13	13:06:25	2493	[DEBUG]	Executed store
2023-10-13	13:06:25	2493	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13953.jpg',`file_url_thumb`='bcprisme/image_13953.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12854'
2023-10-13	13:06:25	2493	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:25	2493	[DEBUG]	Executed store
2023-10-13	13:06:25	2493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861985','12854','1')
2023-10-13	13:06:25	2493	[DEBUG]	Store product image relation
2023-10-13	13:06:25	2493	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:25	2493	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861985 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:25	2493	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:25	2493	[DEBUG]	Executed store
2023-10-13	13:06:25	2493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861985','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:25	2493	[DEBUG]	Checking manufacturer
2023-10-13	13:06:25	2493	[DEBUG]	Load a row
2023-10-13	13:06:25	2493	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:25	2493	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:25	2493	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:25	2493	[DEBUG]	Executed store
2023-10-13	13:06:25	2493	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:25	2493	[DEBUG]	Manufacturer exists
2023-10-13	13:06:25	2493	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:25	2493	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:25	2493	[DEBUG]	Executed store
2023-10-13	13:06:25	2493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861985','32')
2023-10-13	13:06:25	2493	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:25	2493	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:25	2493	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861985 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:25	2493	[DEBUG]	Store custom available field
2023-10-13	13:06:25	2493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861985,3,'',1)
2023-10-13	13:06:25	2493	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:25	2493	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:06:25	2493	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861985 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:25	2493	[DEBUG]	Store custom available field
2023-10-13	13:06:25	2493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861985,6,'Unitaire',3)
2023-10-13	13:06:25	2493	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:25	2493	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:25	2493	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861984
2023-10-13	13:06:25	2493	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:25	2493	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861984\":[1861984,8,1,\"choisir la taille\"],\"1861985\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861984
2023-10-13	13:06:25	2493	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:25	2493	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861985
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:25	2494	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field taille
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:25	2494	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:25	2494	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:25	2494	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:25	2494	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:25	2494	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:25	2494	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field published
2023-10-13	13:06:25	2494	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:25	2494	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field override
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:25	2494	[DEBUG]	Use field value for field slug
2023-10-13	13:06:25	2494	[DEBUG]	Process line 2494
2023-10-13	13:06:25	2494	[DEBUG]	Load a row
2023-10-13	13:06:25	2494	[DEBUG]	Processing item: A_3049_1
2023-10-13	13:06:25	2494	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:25	2494	[DEBUG]	Processing product tax
2023-10-13	13:06:25	2494	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:25	2494	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:25	2494	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:25	2494	[DEBUG]	Query for Product
2023-10-13	13:06:25	2494	[DEBUG]	Executed store
2023-10-13	13:06:25	2494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3049_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:25	2494	[DEBUG]	Check product language entry
2023-10-13	13:06:25	2494	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861986
2023-10-13	13:06:25	2494	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:25	2494	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3049_1' AND `virtuemart_product_id` != 1861986
2023-10-13	13:06:25	2494	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:25	2494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861986, 'A_3049_1')
2023-10-13	13:06:26	2494	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:26	2494	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-disques-formula-r1-semi-metallique-noir' AND `virtuemart_product_id` != 1861986
2023-10-13	13:06:26	2494	[DEBUG]	Query for ProductLang
2023-10-13	13:06:26	2494	[DEBUG]	Executed store
2023-10-13	13:06:26	2494	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. Formula R1<br>N° art fourn : DKCPF01BK',`product_name`='MSC Plaquettes de frein disques. Formula R1 Semi-métallique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-disques-formula-r1-semi-metallique-noir' WHERE `virtuemart_product_id` = '1861986'
2023-10-13	13:06:26	2494	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13954.jpg
2023-10-13	13:06:26	2494	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:26	2494	[DEBUG]	Process image file
2023-10-13	13:06:26	2494	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:26	2494	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:26	2494	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13954.jpg
2023-10-13	13:06:26	2494	[DEBUG]	Full name target: bcprisme/image_13954.jpg
2023-10-13	13:06:27	2494	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:27	2494	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13954.jpg'
2023-10-13	13:06:27	2494	[DEBUG]	Query for Media
2023-10-13	13:06:27	2494	[DEBUG]	Executed store
2023-10-13	13:06:27	2494	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13954.jpg',`file_url_thumb`='bcprisme/image_13954.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12855'
2023-10-13	13:06:27	2494	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:27	2494	[DEBUG]	Executed store
2023-10-13	13:06:27	2494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861986','12855','1')
2023-10-13	13:06:27	2494	[DEBUG]	Store product image relation
2023-10-13	13:06:27	2494	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:27	2494	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861986 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:27	2494	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:27	2494	[DEBUG]	Executed store
2023-10-13	13:06:27	2494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861986','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:27	2494	[DEBUG]	Checking manufacturer
2023-10-13	13:06:27	2494	[DEBUG]	Load a row
2023-10-13	13:06:27	2494	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:27	2494	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:27	2494	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:27	2494	[DEBUG]	Executed store
2023-10-13	13:06:27	2494	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:27	2494	[DEBUG]	Manufacturer exists
2023-10-13	13:06:27	2494	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:27	2494	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:27	2494	[DEBUG]	Executed store
2023-10-13	13:06:27	2494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861986','32')
2023-10-13	13:06:27	2494	[DEBUG]	Find the custom field ID
2023-10-13	13:06:27	2494	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:27	2494	[DEBUG]	No custom field ID found
2023-10-13	13:06:27	2494	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:27	2494	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:06:27	2494	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861986 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:27	2494	[DEBUG]	Store custom available field
2023-10-13	13:06:27	2494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861986,3,'39.7891666666667',1)
2023-10-13	13:06:27	2494	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:27	2494	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:27	2494	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861986 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:27	2494	[DEBUG]	Store custom available field
2023-10-13	13:06:27	2494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861986,6,'choisir la taille',3)
2023-10-13	13:06:27	2494	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:27	2494	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:27	2494	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:27	2494	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:27	2494	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861986 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:27	2494	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:27	2494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861986,8,1)
2023-10-13	13:06:27	2494	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:27	2494	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861986\":[1861986,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861986
2023-10-13	13:06:27	2494	[DEBUG]	Checking category
2023-10-13	13:06:27	2494	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:27	2494	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861986
2023-10-13	13:06:27	2494	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:27	2494	[DEBUG]	Executed store
2023-10-13	13:06:27	2494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861986','7345')
2023-10-13	13:06:27	2494	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:27	2494	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861986 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:27	2494	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:27	2494	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861986
2023-10-13	13:06:27	2495	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:27	2495	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:27	2495	[DEBUG]	Use field value for field taille
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:27	2495	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:27	2495	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:27	2495	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:27	2495	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:27	2495	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:27	2495	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:27	2495	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:27	2495	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:27	2495	[DEBUG]	Use field value for field published
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:27	2495	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field override
2023-10-13	13:06:27	2495	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:27	2495	[DEBUG]	Use field value for field slug
2023-10-13	13:06:27	2495	[DEBUG]	Process line 2495
2023-10-13	13:06:27	2495	[DEBUG]	Load a row
2023-10-13	13:06:27	2495	[DEBUG]	Processing item: 8436550193879
2023-10-13	13:06:27	2495	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:27	2495	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:27	2495	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3049_1'
2023-10-13	13:06:27	2495	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:27	2495	[DEBUG]	Processing product tax
2023-10-13	13:06:27	2495	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:27	2495	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:27	2495	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:27	2495	[DEBUG]	Query for Product
2023-10-13	13:06:27	2495	[DEBUG]	Executed store
2023-10-13	13:06:27	2495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861986','8436550193879','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:27	2495	[DEBUG]	No parent found
2023-10-13	13:06:27	2495	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861986 AND customfield_value = 'stockable'
2023-10-13	13:06:27	2495	[DEBUG]	Check product language entry
2023-10-13	13:06:27	2495	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861987
2023-10-13	13:06:27	2495	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:27	2495	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550193879' AND `virtuemart_product_id` != 1861987
2023-10-13	13:06:27	2495	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:27	2495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861987, '8436550193879')
2023-10-13	13:06:27	2495	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:27	2495	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-disques-formula-r1-semi-metallique-noir-unitaire' AND `virtuemart_product_id` != 1861987
2023-10-13	13:06:27	2495	[DEBUG]	Query for ProductLang
2023-10-13	13:06:27	2495	[DEBUG]	Executed store
2023-10-13	13:06:27	2495	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de frein disques. Formula R1 Semi-métallique / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-disques-formula-r1-semi-metallique-noir-unitaire' WHERE `virtuemart_product_id` = '1861987'
2023-10-13	13:06:27	2495	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13954.jpg
2023-10-13	13:06:27	2495	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:27	2495	[DEBUG]	Process image file
2023-10-13	13:06:27	2495	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:27	2495	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:27	2495	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13954.jpg
2023-10-13	13:06:27	2495	[DEBUG]	Full name target: bcprisme/image_13954.jpg
2023-10-13	13:06:28	2495	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:28	2495	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13954.jpg'
2023-10-13	13:06:28	2495	[DEBUG]	Query for Media
2023-10-13	13:06:28	2495	[DEBUG]	Executed store
2023-10-13	13:06:28	2495	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13954.jpg',`file_url_thumb`='bcprisme/image_13954.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12855'
2023-10-13	13:06:28	2495	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:28	2495	[DEBUG]	Executed store
2023-10-13	13:06:28	2495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861987','12855','1')
2023-10-13	13:06:28	2495	[DEBUG]	Store product image relation
2023-10-13	13:06:28	2495	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:28	2495	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861987 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:28	2495	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:28	2495	[DEBUG]	Executed store
2023-10-13	13:06:28	2495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861987','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:28	2495	[DEBUG]	Checking manufacturer
2023-10-13	13:06:28	2495	[DEBUG]	Load a row
2023-10-13	13:06:28	2495	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:28	2495	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:28	2495	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:28	2495	[DEBUG]	Executed store
2023-10-13	13:06:28	2495	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:28	2495	[DEBUG]	Manufacturer exists
2023-10-13	13:06:28	2495	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:28	2495	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:28	2495	[DEBUG]	Executed store
2023-10-13	13:06:28	2495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861987','32')
2023-10-13	13:06:28	2495	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:28	2495	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:28	2495	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861987 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:28	2495	[DEBUG]	Store custom available field
2023-10-13	13:06:28	2495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861987,3,'',1)
2023-10-13	13:06:28	2495	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:28	2495	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:06:28	2495	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861987 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:28	2495	[DEBUG]	Store custom available field
2023-10-13	13:06:28	2495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861987,6,'Unitaire',3)
2023-10-13	13:06:28	2495	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:28	2495	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:28	2495	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861986
2023-10-13	13:06:28	2495	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:28	2495	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861986\":[1861986,8,1,\"choisir la taille\"],\"1861987\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861986
2023-10-13	13:06:28	2495	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:28	2495	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861987
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:28	2496	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field taille
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:28	2496	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:28	2496	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:28	2496	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:28	2496	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:28	2496	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:28	2496	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field published
2023-10-13	13:06:28	2496	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:28	2496	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field override
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:28	2496	[DEBUG]	Use field value for field slug
2023-10-13	13:06:28	2496	[DEBUG]	Process line 2496
2023-10-13	13:06:28	2496	[DEBUG]	Load a row
2023-10-13	13:06:28	2496	[DEBUG]	Processing item: A_3050_1
2023-10-13	13:06:28	2496	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:28	2496	[DEBUG]	Processing product tax
2023-10-13	13:06:28	2496	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:28	2496	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:28	2496	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:28	2496	[DEBUG]	Query for Product
2023-10-13	13:06:28	2496	[DEBUG]	Executed store
2023-10-13	13:06:28	2496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3050_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:28	2496	[DEBUG]	Check product language entry
2023-10-13	13:06:28	2496	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861988
2023-10-13	13:06:28	2496	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:28	2496	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3050_1' AND `virtuemart_product_id` != 1861988
2023-10-13	13:06:28	2496	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:28	2496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861988, 'A_3050_1')
2023-10-13	13:06:28	2496	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:28	2496	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-disques-magura-mt8-mt6-mt4-mt2-noir' AND `virtuemart_product_id` != 1861988
2023-10-13	13:06:28	2496	[DEBUG]	Query for ProductLang
2023-10-13	13:06:28	2496	[DEBUG]	Executed store
2023-10-13	13:06:28	2496	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. Magura MT8 MT6 MT4 MT2<br>N° art fourn : DKCPM01BK',`product_name`='MSC Plaquettes de frein disques Magura MT8 MT6 MT4 MT2 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-disques-magura-mt8-mt6-mt4-mt2-noir' WHERE `virtuemart_product_id` = '1861988'
2023-10-13	13:06:28	2496	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13955.jpg
2023-10-13	13:06:28	2496	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:28	2496	[DEBUG]	Process image file
2023-10-13	13:06:28	2496	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:28	2496	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:28	2496	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13955.jpg
2023-10-13	13:06:28	2496	[DEBUG]	Full name target: bcprisme/image_13955.jpg
2023-10-13	13:06:29	2496	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:29	2496	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13955.jpg'
2023-10-13	13:06:29	2496	[DEBUG]	Query for Media
2023-10-13	13:06:29	2496	[DEBUG]	Executed store
2023-10-13	13:06:29	2496	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13955.jpg',`file_url_thumb`='bcprisme/image_13955.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12856'
2023-10-13	13:06:29	2496	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:29	2496	[DEBUG]	Executed store
2023-10-13	13:06:29	2496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861988','12856','1')
2023-10-13	13:06:29	2496	[DEBUG]	Store product image relation
2023-10-13	13:06:29	2496	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:29	2496	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861988 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:29	2496	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:29	2496	[DEBUG]	Executed store
2023-10-13	13:06:29	2496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861988','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:29	2496	[DEBUG]	Checking manufacturer
2023-10-13	13:06:29	2496	[DEBUG]	Load a row
2023-10-13	13:06:29	2496	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:29	2496	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:29	2496	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:29	2496	[DEBUG]	Executed store
2023-10-13	13:06:29	2496	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:29	2496	[DEBUG]	Manufacturer exists
2023-10-13	13:06:29	2496	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:29	2496	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:29	2496	[DEBUG]	Executed store
2023-10-13	13:06:29	2496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861988','32')
2023-10-13	13:06:29	2496	[DEBUG]	Find the custom field ID
2023-10-13	13:06:29	2496	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:29	2496	[DEBUG]	No custom field ID found
2023-10-13	13:06:29	2496	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:29	2496	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:06:29	2496	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861988 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:29	2496	[DEBUG]	Store custom available field
2023-10-13	13:06:29	2496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861988,3,'39.7891666666667',1)
2023-10-13	13:06:29	2496	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:29	2496	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:29	2496	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861988 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:29	2496	[DEBUG]	Store custom available field
2023-10-13	13:06:29	2496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861988,6,'choisir la taille',3)
2023-10-13	13:06:29	2496	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:29	2496	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:29	2496	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:29	2496	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:29	2496	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861988 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:29	2496	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:29	2496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861988,8,1)
2023-10-13	13:06:29	2496	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:29	2496	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861988\":[1861988,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861988
2023-10-13	13:06:29	2496	[DEBUG]	Checking category
2023-10-13	13:06:29	2496	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:29	2496	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861988
2023-10-13	13:06:29	2496	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:29	2496	[DEBUG]	Executed store
2023-10-13	13:06:29	2496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861988','7345')
2023-10-13	13:06:29	2496	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:29	2496	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861988 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:29	2496	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:29	2496	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861988
2023-10-13	13:06:29	2497	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:29	2497	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:29	2497	[DEBUG]	Use field value for field taille
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:29	2497	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:29	2497	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:29	2497	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:29	2497	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:29	2497	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:29	2497	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:29	2497	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:29	2497	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:29	2497	[DEBUG]	Use field value for field published
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:29	2497	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field override
2023-10-13	13:06:29	2497	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:29	2497	[DEBUG]	Use field value for field slug
2023-10-13	13:06:29	2497	[DEBUG]	Process line 2497
2023-10-13	13:06:29	2497	[DEBUG]	Load a row
2023-10-13	13:06:29	2497	[DEBUG]	Processing item: 8436550193886
2023-10-13	13:06:29	2497	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:29	2497	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:29	2497	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3050_1'
2023-10-13	13:06:29	2497	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:29	2497	[DEBUG]	Processing product tax
2023-10-13	13:06:29	2497	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:29	2497	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:29	2497	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:29	2497	[DEBUG]	Query for Product
2023-10-13	13:06:29	2497	[DEBUG]	Executed store
2023-10-13	13:06:29	2497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861988','8436550193886','0','KG','M','','10','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:29	2497	[DEBUG]	No parent found
2023-10-13	13:06:29	2497	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861988 AND customfield_value = 'stockable'
2023-10-13	13:06:29	2497	[DEBUG]	Check product language entry
2023-10-13	13:06:29	2497	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861989
2023-10-13	13:06:29	2497	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:29	2497	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550193886' AND `virtuemart_product_id` != 1861989
2023-10-13	13:06:29	2497	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:29	2497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861989, '8436550193886')
2023-10-13	13:06:29	2497	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:29	2497	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-disques-magura-mt8-mt6-mt4-mt2-noir-unitaire' AND `virtuemart_product_id` != 1861989
2023-10-13	13:06:29	2497	[DEBUG]	Query for ProductLang
2023-10-13	13:06:29	2497	[DEBUG]	Executed store
2023-10-13	13:06:29	2497	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de frein disques Magura MT8 MT6 MT4 MT2 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-disques-magura-mt8-mt6-mt4-mt2-noir-unitaire' WHERE `virtuemart_product_id` = '1861989'
2023-10-13	13:06:29	2497	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13955.jpg
2023-10-13	13:06:29	2497	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:29	2497	[DEBUG]	Process image file
2023-10-13	13:06:29	2497	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:29	2497	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:29	2497	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13955.jpg
2023-10-13	13:06:29	2497	[DEBUG]	Full name target: bcprisme/image_13955.jpg
2023-10-13	13:06:30	2497	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:30	2497	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13955.jpg'
2023-10-13	13:06:30	2497	[DEBUG]	Query for Media
2023-10-13	13:06:30	2497	[DEBUG]	Executed store
2023-10-13	13:06:30	2497	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13955.jpg',`file_url_thumb`='bcprisme/image_13955.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12856'
2023-10-13	13:06:30	2497	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:30	2497	[DEBUG]	Executed store
2023-10-13	13:06:30	2497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861989','12856','1')
2023-10-13	13:06:30	2497	[DEBUG]	Store product image relation
2023-10-13	13:06:30	2497	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:30	2497	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861989 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:30	2497	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:30	2497	[DEBUG]	Executed store
2023-10-13	13:06:30	2497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861989','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:30	2497	[DEBUG]	Checking manufacturer
2023-10-13	13:06:30	2497	[DEBUG]	Load a row
2023-10-13	13:06:30	2497	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:30	2497	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:30	2497	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:30	2497	[DEBUG]	Executed store
2023-10-13	13:06:30	2497	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:30	2497	[DEBUG]	Manufacturer exists
2023-10-13	13:06:30	2497	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:30	2497	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:30	2497	[DEBUG]	Executed store
2023-10-13	13:06:30	2497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861989','32')
2023-10-13	13:06:30	2497	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:30	2497	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:30	2497	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861989 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:30	2497	[DEBUG]	Store custom available field
2023-10-13	13:06:30	2497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861989,3,'',1)
2023-10-13	13:06:30	2497	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:30	2497	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:06:30	2497	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861989 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:30	2497	[DEBUG]	Store custom available field
2023-10-13	13:06:30	2497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861989,6,'Unitaire',3)
2023-10-13	13:06:30	2497	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:30	2497	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:30	2497	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861988
2023-10-13	13:06:30	2497	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:30	2497	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861988\":[1861988,8,1,\"choisir la taille\"],\"1861989\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861988
2023-10-13	13:06:30	2497	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:30	2497	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861989
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:30	2498	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field taille
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:30	2498	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:30	2498	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:30	2498	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:30	2498	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:30	2498	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:30	2498	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field published
2023-10-13	13:06:30	2498	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:30	2498	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field override
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:30	2498	[DEBUG]	Use field value for field slug
2023-10-13	13:06:30	2498	[DEBUG]	Process line 2498
2023-10-13	13:06:30	2498	[DEBUG]	Load a row
2023-10-13	13:06:30	2498	[DEBUG]	Processing item: A_3051_1
2023-10-13	13:06:30	2498	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:30	2498	[DEBUG]	Processing product tax
2023-10-13	13:06:30	2498	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:30	2498	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:30	2498	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:30	2498	[DEBUG]	Query for Product
2023-10-13	13:06:30	2498	[DEBUG]	Executed store
2023-10-13	13:06:30	2498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3051_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:30	2498	[DEBUG]	Check product language entry
2023-10-13	13:06:30	2498	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861990
2023-10-13	13:06:30	2498	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:30	2498	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3051_1' AND `virtuemart_product_id` != 1861990
2023-10-13	13:06:30	2498	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:30	2498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861990, 'A_3051_1')
2023-10-13	13:06:30	2498	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:30	2498	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-shimano-br-m975-br-m966-br-m965-br-m800-br-m775-br-m765-br-r505-noir' AND `virtuemart_product_id` != 1861990
2023-10-13	13:06:30	2498	[DEBUG]	Query for ProductLang
2023-10-13	13:06:30	2498	[DEBUG]	Executed store
2023-10-13	13:06:30	2498	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. Shimano BR-M975 BR-M966 BR-M965 BR-M800 BR-M775 BR-M765 BR-R505<br>N° art fourn : DKCPS01BK',`product_name`='MSC Plaquettes de frein Shimano BR-M975 BR-M966 BR-M965 BR-M800 BR-M775 BR-M765 BR-R505  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-shimano-br-m975-br-m966-br-m965-br-m800-br-m775-br-m765-br-r505-noir' WHERE `virtuemart_product_id` = '1861990'
2023-10-13	13:06:30	2498	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13956.jpg
2023-10-13	13:06:30	2498	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:30	2498	[DEBUG]	Process image file
2023-10-13	13:06:30	2498	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:30	2498	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:30	2498	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13956.jpg
2023-10-13	13:06:30	2498	[DEBUG]	Full name target: bcprisme/image_13956.jpg
2023-10-13	13:06:31	2498	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:31	2498	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13956.jpg'
2023-10-13	13:06:31	2498	[DEBUG]	Query for Media
2023-10-13	13:06:31	2498	[DEBUG]	Executed store
2023-10-13	13:06:31	2498	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13956.jpg',`file_url_thumb`='bcprisme/image_13956.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12857'
2023-10-13	13:06:31	2498	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:31	2498	[DEBUG]	Executed store
2023-10-13	13:06:31	2498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861990','12857','1')
2023-10-13	13:06:31	2498	[DEBUG]	Store product image relation
2023-10-13	13:06:31	2498	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:31	2498	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861990 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:31	2498	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:31	2498	[DEBUG]	Executed store
2023-10-13	13:06:31	2498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861990','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:31	2498	[DEBUG]	Checking manufacturer
2023-10-13	13:06:31	2498	[DEBUG]	Load a row
2023-10-13	13:06:31	2498	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:31	2498	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:31	2498	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:31	2498	[DEBUG]	Executed store
2023-10-13	13:06:31	2498	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:31	2498	[DEBUG]	Manufacturer exists
2023-10-13	13:06:31	2498	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:31	2498	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:31	2498	[DEBUG]	Executed store
2023-10-13	13:06:31	2498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861990','32')
2023-10-13	13:06:31	2498	[DEBUG]	Find the custom field ID
2023-10-13	13:06:31	2498	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:31	2498	[DEBUG]	No custom field ID found
2023-10-13	13:06:31	2498	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:31	2498	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:06:31	2498	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861990 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:31	2498	[DEBUG]	Store custom available field
2023-10-13	13:06:31	2498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861990,3,'39.7891666666667',1)
2023-10-13	13:06:31	2498	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:31	2498	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:31	2498	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861990 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:31	2498	[DEBUG]	Store custom available field
2023-10-13	13:06:31	2498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861990,6,'choisir la taille',3)
2023-10-13	13:06:31	2498	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:31	2498	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:31	2498	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:31	2498	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:31	2498	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861990 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:31	2498	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:31	2498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861990,8,1)
2023-10-13	13:06:31	2498	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:31	2498	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861990\":[1861990,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861990
2023-10-13	13:06:31	2498	[DEBUG]	Checking category
2023-10-13	13:06:31	2498	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:31	2498	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861990
2023-10-13	13:06:31	2498	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:31	2498	[DEBUG]	Executed store
2023-10-13	13:06:31	2498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861990','7345')
2023-10-13	13:06:31	2498	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:31	2498	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861990 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:31	2498	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:31	2498	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861990
2023-10-13	13:06:31	2499	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:31	2499	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:31	2499	[DEBUG]	Use field value for field taille
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:31	2499	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:31	2499	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:31	2499	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:31	2499	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:31	2499	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:31	2499	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:31	2499	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:31	2499	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:31	2499	[DEBUG]	Use field value for field published
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:31	2499	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field override
2023-10-13	13:06:31	2499	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:31	2499	[DEBUG]	Use field value for field slug
2023-10-13	13:06:31	2499	[DEBUG]	Process line 2499
2023-10-13	13:06:31	2499	[DEBUG]	Load a row
2023-10-13	13:06:31	2499	[DEBUG]	Processing item: 8436550193893
2023-10-13	13:06:31	2499	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:31	2499	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:31	2499	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3051_1'
2023-10-13	13:06:31	2499	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:31	2499	[DEBUG]	Processing product tax
2023-10-13	13:06:31	2499	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:31	2499	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:31	2499	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:31	2499	[DEBUG]	Query for Product
2023-10-13	13:06:31	2499	[DEBUG]	Executed store
2023-10-13	13:06:31	2499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861990','8436550193893','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:31	2499	[DEBUG]	No parent found
2023-10-13	13:06:31	2499	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861990 AND customfield_value = 'stockable'
2023-10-13	13:06:31	2499	[DEBUG]	Check product language entry
2023-10-13	13:06:31	2499	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861991
2023-10-13	13:06:31	2499	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:31	2499	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550193893' AND `virtuemart_product_id` != 1861991
2023-10-13	13:06:31	2499	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:31	2499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861991, '8436550193893')
2023-10-13	13:06:31	2499	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:31	2499	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-shimano-br-m975-br-m966-br-m965-br-m800-br-m775-br-m765-br-r505-noir-unitaire' AND `virtuemart_product_id` != 1861991
2023-10-13	13:06:31	2499	[DEBUG]	Query for ProductLang
2023-10-13	13:06:31	2499	[DEBUG]	Executed store
2023-10-13	13:06:31	2499	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de frein Shimano BR-M975 BR-M966 BR-M965 BR-M800 BR-M775 BR-M765 BR-R505  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-shimano-br-m975-br-m966-br-m965-br-m800-br-m775-br-m765-br-r505-noir-unitaire' WHERE `virtuemart_product_id` = '1861991'
2023-10-13	13:06:31	2499	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13956.jpg
2023-10-13	13:06:31	2499	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:31	2499	[DEBUG]	Process image file
2023-10-13	13:06:31	2499	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:31	2499	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:31	2499	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13956.jpg
2023-10-13	13:06:31	2499	[DEBUG]	Full name target: bcprisme/image_13956.jpg
2023-10-13	13:06:32	2499	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:32	2499	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13956.jpg'
2023-10-13	13:06:32	2499	[DEBUG]	Query for Media
2023-10-13	13:06:32	2499	[DEBUG]	Executed store
2023-10-13	13:06:32	2499	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13956.jpg',`file_url_thumb`='bcprisme/image_13956.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12857'
2023-10-13	13:06:32	2499	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:32	2499	[DEBUG]	Executed store
2023-10-13	13:06:32	2499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861991','12857','1')
2023-10-13	13:06:32	2499	[DEBUG]	Store product image relation
2023-10-13	13:06:32	2499	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:32	2499	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861991 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:32	2499	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:32	2499	[DEBUG]	Executed store
2023-10-13	13:06:32	2499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861991','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:32	2499	[DEBUG]	Checking manufacturer
2023-10-13	13:06:32	2499	[DEBUG]	Load a row
2023-10-13	13:06:32	2499	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:32	2499	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:32	2499	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:32	2499	[DEBUG]	Executed store
2023-10-13	13:06:32	2499	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:32	2499	[DEBUG]	Manufacturer exists
2023-10-13	13:06:32	2499	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:32	2499	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:32	2499	[DEBUG]	Executed store
2023-10-13	13:06:32	2499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861991','32')
2023-10-13	13:06:32	2499	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:32	2499	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:32	2499	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861991 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:32	2499	[DEBUG]	Store custom available field
2023-10-13	13:06:32	2499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861991,3,'',1)
2023-10-13	13:06:32	2499	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:32	2499	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:06:32	2499	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861991 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:32	2499	[DEBUG]	Store custom available field
2023-10-13	13:06:32	2499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861991,6,'Unitaire',3)
2023-10-13	13:06:32	2499	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:32	2499	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:32	2499	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861990
2023-10-13	13:06:32	2499	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:32	2499	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861990\":[1861990,8,1,\"choisir la taille\"],\"1861991\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861990
2023-10-13	13:06:32	2499	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:32	2499	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861991
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:32	2500	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field taille
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:32	2500	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:32	2500	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:32	2500	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:32	2500	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:32	2500	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:32	2500	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field published
2023-10-13	13:06:32	2500	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:32	2500	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field override
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:32	2500	[DEBUG]	Use field value for field slug
2023-10-13	13:06:32	2500	[DEBUG]	Process line 2500
2023-10-13	13:06:32	2500	[DEBUG]	Load a row
2023-10-13	13:06:32	2500	[DEBUG]	Processing item: A_3052_1
2023-10-13	13:06:32	2500	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:32	2500	[DEBUG]	Processing product tax
2023-10-13	13:06:32	2500	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:32	2500	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:32	2500	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:32	2500	[DEBUG]	Query for Product
2023-10-13	13:06:32	2500	[DEBUG]	Executed store
2023-10-13	13:06:32	2500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3052_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0')
2023-10-13	13:06:32	2500	[DEBUG]	Check product language entry
2023-10-13	13:06:32	2500	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861992
2023-10-13	13:06:32	2500	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:32	2500	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3052_1' AND `virtuemart_product_id` != 1861992
2023-10-13	13:06:32	2500	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:32	2500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861992, 'A_3052_1')
2023-10-13	13:06:32	2500	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:32	2500	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-disques-shimano-xtr-br-m985-deore-xt-br-m785-slx-br-m666-alfine-br-s700-noir' AND `virtuemart_product_id` != 1861992
2023-10-13	13:06:32	2500	[DEBUG]	Query for ProductLang
2023-10-13	13:06:32	2500	[DEBUG]	Executed store
2023-10-13	13:06:32	2500	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. Shimano XTR (BR-M985) Deore XT (BR-M785) SLX (BR-M666) Alfine (BR-S700) <br>N° art fourn : DKCPS02BK',`product_name`='MSC Plaquettes de frein disques Shimano XTR (BR-M985) Deore XT (BR-M785) SLX (BR-M666) Alfine (BR-S700)  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-disques-shimano-xtr-br-m985-deore-xt-br-m785-slx-br-m666-alfine-br-s700-noir' WHERE `virtuemart_product_id` = '1861992'
2023-10-13	13:06:32	2500	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13957.jpg
2023-10-13	13:06:32	2500	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:32	2500	[DEBUG]	Process image file
2023-10-13	13:06:32	2500	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:32	2500	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:32	2500	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13957.jpg
2023-10-13	13:06:32	2500	[DEBUG]	Full name target: bcprisme/image_13957.jpg
2023-10-13	13:06:33	2500	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:33	2500	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13957.jpg'
2023-10-13	13:06:33	2500	[DEBUG]	Query for Media
2023-10-13	13:06:33	2500	[DEBUG]	Executed store
2023-10-13	13:06:33	2500	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13957.jpg',`file_url_thumb`='bcprisme/image_13957.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12858'
2023-10-13	13:06:33	2500	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:33	2500	[DEBUG]	Executed store
2023-10-13	13:06:33	2500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861992','12858','1')
2023-10-13	13:06:33	2500	[DEBUG]	Store product image relation
2023-10-13	13:06:33	2500	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:33	2500	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861992 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:33	2500	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:33	2500	[DEBUG]	Executed store
2023-10-13	13:06:33	2500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861992','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:04:48','1593','2023-10-13 13:04:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:33	2500	[DEBUG]	Checking manufacturer
2023-10-13	13:06:33	2500	[DEBUG]	Load a row
2023-10-13	13:06:33	2500	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:33	2500	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:33	2500	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:33	2500	[DEBUG]	Executed store
2023-10-13	13:06:33	2500	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:33	2500	[DEBUG]	Manufacturer exists
2023-10-13	13:06:33	2500	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:33	2500	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:33	2500	[DEBUG]	Executed store
2023-10-13	13:06:33	2500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861992','32')
2023-10-13	13:06:33	2500	[DEBUG]	Find the custom field ID
2023-10-13	13:06:33	2500	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:33	2500	[DEBUG]	No custom field ID found
2023-10-13	13:06:33	2500	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:33	2500	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:06:33	2500	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861992 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:33	2500	[DEBUG]	Store custom available field
2023-10-13	13:06:33	2500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861992,3,'39.7891666666667',1)
2023-10-13	13:06:33	2500	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:33	2500	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:33	2500	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861992 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:33	2500	[DEBUG]	Store custom available field
2023-10-13	13:06:33	2500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861992,6,'choisir la taille',3)
2023-10-13	13:06:33	2500	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:33	2500	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:33	2500	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:33	2500	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:33	2500	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861992 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:33	2500	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:33	2500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861992,8,1)
2023-10-13	13:06:33	2500	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:33	2500	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861992\":[1861992,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861992
2023-10-13	13:06:33	2500	[DEBUG]	Checking category
2023-10-13	13:06:33	2500	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:33	2500	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861992
2023-10-13	13:06:33	2500	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:33	2500	[DEBUG]	Executed store
2023-10-13	13:06:33	2500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861992','7345')
2023-10-13	13:06:33	2500	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:33	2500	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861992 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:33	2500	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:33	2500	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861992
2023-10-13	13:06:53	2500	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:06:53	2500	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:06:53	2500	[DEBUG]	Load the fields to process
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: product_sku
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: taille
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: product_name
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: category_path
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: product_price
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: product_override_price
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: product_tax
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: file_url
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: product_desc
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: product_availability
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: product_weight
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: product_unit
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: related_products
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: product_special
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: published
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: metadesc
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: metakey
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: custom_title
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: custom_value
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: custom_param
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: override
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: public_price
2023-10-13	13:06:53	2500	[DEBUG]	Setup field: slug
2023-10-13	13:06:53	2500	[DEBUG]	Use the file for configuration
2023-10-13	13:06:53	2500	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:06:53	2500	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:06:53	2500	[DEBUG]	Load the custom fields
2023-10-13	13:06:53	2500	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:06:53	2500	[DEBUG]	Load stockable custom fields
2023-10-13	13:06:53	2500	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:06:53	2500	[DEBUG]	Load custom fields for all
2023-10-13	13:06:53	2500	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:06:53	2501	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:53	2501	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:53	2501	[DEBUG]	Use field value for field taille
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:53	2501	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:53	2501	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:53	2501	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:53	2501	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:53	2501	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:53	2501	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:53	2501	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:53	2501	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:53	2501	[DEBUG]	Use field value for field published
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:53	2501	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field override
2023-10-13	13:06:53	2501	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:53	2501	[DEBUG]	Use field value for field slug
2023-10-13	13:06:53	2501	[DEBUG]	Process line 2501
2023-10-13	13:06:53	2501	[DEBUG]	Check if the vendor exists
2023-10-13	13:06:53	2501	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '1000000050370'
2023-10-13	13:06:53	2501	[DEBUG]	Load a row
2023-10-13	13:06:53	2501	[DEBUG]	Processing item: 1000000050370
2023-10-13	13:06:53	2501	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:53	2501	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:53	2501	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3052_1'
2023-10-13	13:06:53	2501	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:53	2501	[DEBUG]	Processing product tax
2023-10-13	13:06:53	2501	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:53	2501	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:53	2501	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:53	2501	[DEBUG]	Query for Product
2023-10-13	13:06:53	2501	[DEBUG]	Executed store
2023-10-13	13:06:53	2501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861992','1000000050370','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:06:53	2501	[DEBUG]	No parent found
2023-10-13	13:06:53	2501	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861992 AND customfield_value = 'stockable'
2023-10-13	13:06:53	2501	[DEBUG]	Check product language entry
2023-10-13	13:06:53	2501	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861993
2023-10-13	13:06:53	2501	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:53	2501	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000050370' AND `virtuemart_product_id` != 1861993
2023-10-13	13:06:53	2501	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:53	2501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861993, '1000000050370')
2023-10-13	13:06:53	2501	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:53	2501	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-disques-shimano-xtr-br-m985-deore-xt-br-m785-slx-br-m666-alfine-br-s700-noir-unitaire' AND `virtuemart_product_id` != 1861993
2023-10-13	13:06:53	2501	[DEBUG]	Query for ProductLang
2023-10-13	13:06:53	2501	[DEBUG]	Executed store
2023-10-13	13:06:53	2501	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de frein disques Shimano XTR (BR-M985) Deore XT (BR-M785) SLX (BR-M666) Alfine (BR-S700)  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-disques-shimano-xtr-br-m985-deore-xt-br-m785-slx-br-m666-alfine-br-s700-noir-unitaire' WHERE `virtuemart_product_id` = '1861993'
2023-10-13	13:06:53	2501	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13957.jpg
2023-10-13	13:06:53	2501	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:53	2501	[DEBUG]	Process image file
2023-10-13	13:06:53	2501	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:53	2501	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:53	2501	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13957.jpg
2023-10-13	13:06:53	2501	[DEBUG]	Full name target: bcprisme/image_13957.jpg
2023-10-13	13:06:54	2501	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:54	2501	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13957.jpg'
2023-10-13	13:06:54	2501	[DEBUG]	Query for Media
2023-10-13	13:06:54	2501	[DEBUG]	Executed store
2023-10-13	13:06:54	2501	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13957.jpg',`file_url_thumb`='bcprisme/image_13957.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12858'
2023-10-13	13:06:54	2501	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:54	2501	[DEBUG]	Executed store
2023-10-13	13:06:54	2501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861993','12858','1')
2023-10-13	13:06:54	2501	[DEBUG]	Store product image relation
2023-10-13	13:06:54	2501	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:54	2501	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861993 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:54	2501	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:54	2501	[DEBUG]	Executed store
2023-10-13	13:06:54	2501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861993','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:54	2501	[DEBUG]	Checking manufacturer
2023-10-13	13:06:54	2501	[DEBUG]	Load a row
2023-10-13	13:06:54	2501	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:54	2501	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:54	2501	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:54	2501	[DEBUG]	Executed store
2023-10-13	13:06:54	2501	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:54	2501	[DEBUG]	Manufacturer exists
2023-10-13	13:06:54	2501	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:54	2501	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:54	2501	[DEBUG]	Executed store
2023-10-13	13:06:54	2501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861993','32')
2023-10-13	13:06:54	2501	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:54	2501	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:54	2501	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861993 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:54	2501	[DEBUG]	Store custom available field
2023-10-13	13:06:54	2501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861993,3,'',1)
2023-10-13	13:06:54	2501	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:54	2501	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:06:54	2501	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861993 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:54	2501	[DEBUG]	Store custom available field
2023-10-13	13:06:54	2501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861993,6,'Unitaire',3)
2023-10-13	13:06:54	2501	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:54	2501	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:54	2501	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861992
2023-10-13	13:06:54	2501	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:54	2501	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861992\":[1861992,8,1,\"choisir la taille\"],\"1861993\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861992
2023-10-13	13:06:54	2501	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:54	2501	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861993
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:54	2502	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field taille
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:54	2502	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:54	2502	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:54	2502	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:54	2502	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:54	2502	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:54	2502	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field published
2023-10-13	13:06:54	2502	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:54	2502	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field override
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:54	2502	[DEBUG]	Use field value for field slug
2023-10-13	13:06:54	2502	[DEBUG]	Process line 2502
2023-10-13	13:06:54	2502	[DEBUG]	Load a row
2023-10-13	13:06:54	2502	[DEBUG]	Processing item: A_3053_1
2023-10-13	13:06:54	2502	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:54	2502	[DEBUG]	Processing product tax
2023-10-13	13:06:54	2502	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:54	2502	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:54	2502	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:54	2502	[DEBUG]	Query for Product
2023-10-13	13:06:54	2502	[DEBUG]	Executed store
2023-10-13	13:06:54	2502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3053_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:06:54	2502	[DEBUG]	Check product language entry
2023-10-13	13:06:54	2502	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861994
2023-10-13	13:06:54	2502	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:54	2502	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3053_1' AND `virtuemart_product_id` != 1861994
2023-10-13	13:06:54	2502	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:54	2502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861994, 'A_3053_1')
2023-10-13	13:06:54	2502	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:54	2502	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-shimano-saint-br-m820-zee-br-m640-noir' AND `virtuemart_product_id` != 1861994
2023-10-13	13:06:54	2502	[DEBUG]	Query for ProductLang
2023-10-13	13:06:54	2502	[DEBUG]	Executed store
2023-10-13	13:06:54	2502	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. Shimano <br>Saint (BR-M820) <br> Zee(BR-M640) <br>N° art fourn : DKCPS04BK',`product_name`='MSC Plaquettes de freins Shimano Saint (BR-M820) Zee (BR-M640) / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-shimano-saint-br-m820-zee-br-m640-noir' WHERE `virtuemart_product_id` = '1861994'
2023-10-13	13:06:54	2502	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13958.jpg
2023-10-13	13:06:54	2502	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:54	2502	[DEBUG]	Process image file
2023-10-13	13:06:54	2502	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:54	2502	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:54	2502	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13958.jpg
2023-10-13	13:06:54	2502	[DEBUG]	Full name target: bcprisme/image_13958.jpg
2023-10-13	13:06:55	2502	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:55	2502	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13958.jpg'
2023-10-13	13:06:55	2502	[DEBUG]	Query for Media
2023-10-13	13:06:55	2502	[DEBUG]	Executed store
2023-10-13	13:06:55	2502	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13958.jpg',`file_url_thumb`='bcprisme/image_13958.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12859'
2023-10-13	13:06:55	2502	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:55	2502	[DEBUG]	Executed store
2023-10-13	13:06:55	2502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861994','12859','1')
2023-10-13	13:06:55	2502	[DEBUG]	Store product image relation
2023-10-13	13:06:55	2502	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:55	2502	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861994 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:55	2502	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:55	2502	[DEBUG]	Executed store
2023-10-13	13:06:55	2502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861994','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:55	2502	[DEBUG]	Checking manufacturer
2023-10-13	13:06:55	2502	[DEBUG]	Load a row
2023-10-13	13:06:55	2502	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:55	2502	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:55	2502	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:55	2502	[DEBUG]	Executed store
2023-10-13	13:06:55	2502	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:55	2502	[DEBUG]	Manufacturer exists
2023-10-13	13:06:55	2502	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:55	2502	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:55	2502	[DEBUG]	Executed store
2023-10-13	13:06:55	2502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861994','32')
2023-10-13	13:06:55	2502	[DEBUG]	Find the custom field ID
2023-10-13	13:06:55	2502	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:55	2502	[DEBUG]	No custom field ID found
2023-10-13	13:06:55	2502	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:55	2502	[DEBUG]	Get existing row with customfield value 46.7697222222222
2023-10-13	13:06:55	2502	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861994 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:55	2502	[DEBUG]	Store custom available field
2023-10-13	13:06:55	2502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861994,3,'46.7697222222222',1)
2023-10-13	13:06:55	2502	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:55	2502	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:55	2502	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861994 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:55	2502	[DEBUG]	Store custom available field
2023-10-13	13:06:55	2502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861994,6,'choisir la taille',3)
2023-10-13	13:06:55	2502	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:55	2502	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:55	2502	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:55	2502	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:55	2502	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861994 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:55	2502	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:55	2502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861994,8,1)
2023-10-13	13:06:55	2502	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:55	2502	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861994\":[1861994,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861994
2023-10-13	13:06:55	2502	[DEBUG]	Checking category
2023-10-13	13:06:55	2502	[DEBUG]	Check if category path exists: FREINS / PLAQUETTES DE FREINS - BREMSE / SCHEIBENBREMSBELÄGE
2023-10-13	13:06:55	2502	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / PLAQUETTES DE FREINS - BREMSE / SCHEIBENBREMSBELÄGE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:06:55	2502	[DEBUG]	Check if category path exists: PLAQUETTES DE FREINS - SCHEIBENBREMSBELÄGE
2023-10-13	13:06:55	2502	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PLAQUETTES DE FREINS - SCHEIBENBREMSBELÄGE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7344
2023-10-13	13:06:55	2502	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:55	2502	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861994
2023-10-13	13:06:55	2502	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:55	2502	[DEBUG]	Executed store
2023-10-13	13:06:55	2502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861994','7345')
2023-10-13	13:06:55	2502	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:55	2502	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861994 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:55	2502	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:55	2502	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861994
2023-10-13	13:06:55	2503	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:55	2503	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:55	2503	[DEBUG]	Use field value for field taille
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:55	2503	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:55	2503	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:55	2503	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:55	2503	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:55	2503	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:55	2503	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:55	2503	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:55	2503	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:55	2503	[DEBUG]	Use field value for field published
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:55	2503	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field override
2023-10-13	13:06:55	2503	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:55	2503	[DEBUG]	Use field value for field slug
2023-10-13	13:06:55	2503	[DEBUG]	Process line 2503
2023-10-13	13:06:55	2503	[DEBUG]	Load a row
2023-10-13	13:06:55	2503	[DEBUG]	Processing item: 8436550193916
2023-10-13	13:06:55	2503	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:55	2503	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:55	2503	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3053_1'
2023-10-13	13:06:55	2503	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:55	2503	[DEBUG]	Processing product tax
2023-10-13	13:06:55	2503	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:55	2503	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:55	2503	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:55	2503	[DEBUG]	Query for Product
2023-10-13	13:06:55	2503	[DEBUG]	Executed store
2023-10-13	13:06:55	2503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861994','8436550193916','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:06:55	2503	[DEBUG]	No parent found
2023-10-13	13:06:55	2503	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861994 AND customfield_value = 'stockable'
2023-10-13	13:06:55	2503	[DEBUG]	Check product language entry
2023-10-13	13:06:55	2503	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861995
2023-10-13	13:06:55	2503	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:55	2503	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550193916' AND `virtuemart_product_id` != 1861995
2023-10-13	13:06:55	2503	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:55	2503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861995, '8436550193916')
2023-10-13	13:06:55	2503	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:55	2503	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-shimano-saint-br-m820-zee-br-m640-noir-unitaire' AND `virtuemart_product_id` != 1861995
2023-10-13	13:06:55	2503	[DEBUG]	Query for ProductLang
2023-10-13	13:06:55	2503	[DEBUG]	Executed store
2023-10-13	13:06:55	2503	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Shimano Saint (BR-M820) Zee (BR-M640) / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-shimano-saint-br-m820-zee-br-m640-noir-unitaire' WHERE `virtuemart_product_id` = '1861995'
2023-10-13	13:06:55	2503	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13958.jpg
2023-10-13	13:06:55	2503	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:55	2503	[DEBUG]	Process image file
2023-10-13	13:06:55	2503	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:55	2503	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:55	2503	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13958.jpg
2023-10-13	13:06:55	2503	[DEBUG]	Full name target: bcprisme/image_13958.jpg
2023-10-13	13:06:56	2503	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:56	2503	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13958.jpg'
2023-10-13	13:06:56	2503	[DEBUG]	Query for Media
2023-10-13	13:06:56	2503	[DEBUG]	Executed store
2023-10-13	13:06:56	2503	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13958.jpg',`file_url_thumb`='bcprisme/image_13958.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12859'
2023-10-13	13:06:56	2503	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:56	2503	[DEBUG]	Executed store
2023-10-13	13:06:56	2503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861995','12859','1')
2023-10-13	13:06:56	2503	[DEBUG]	Store product image relation
2023-10-13	13:06:56	2503	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:56	2503	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861995 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:56	2503	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:56	2503	[DEBUG]	Executed store
2023-10-13	13:06:56	2503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861995','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:56	2503	[DEBUG]	Checking manufacturer
2023-10-13	13:06:56	2503	[DEBUG]	Load a row
2023-10-13	13:06:56	2503	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:56	2503	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:56	2503	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:56	2503	[DEBUG]	Executed store
2023-10-13	13:06:56	2503	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:56	2503	[DEBUG]	Manufacturer exists
2023-10-13	13:06:56	2503	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:56	2503	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:56	2503	[DEBUG]	Executed store
2023-10-13	13:06:56	2503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861995','32')
2023-10-13	13:06:56	2503	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:56	2503	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:56	2503	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861995 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:56	2503	[DEBUG]	Store custom available field
2023-10-13	13:06:56	2503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861995,3,'',1)
2023-10-13	13:06:56	2503	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:56	2503	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:06:56	2503	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861995 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:56	2503	[DEBUG]	Store custom available field
2023-10-13	13:06:56	2503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861995,6,'Unitaire',3)
2023-10-13	13:06:56	2503	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:56	2503	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:56	2503	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861994
2023-10-13	13:06:56	2503	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:56	2503	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861994\":[1861994,8,1,\"choisir la taille\"],\"1861995\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861994
2023-10-13	13:06:56	2503	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:56	2503	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861995
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:56	2504	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field taille
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:56	2504	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:56	2504	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:56	2504	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:56	2504	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:56	2504	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:56	2504	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field published
2023-10-13	13:06:56	2504	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:56	2504	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field override
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:56	2504	[DEBUG]	Use field value for field slug
2023-10-13	13:06:56	2504	[DEBUG]	Process line 2504
2023-10-13	13:06:56	2504	[DEBUG]	Load a row
2023-10-13	13:06:56	2504	[DEBUG]	Processing item: A_3665_0
2023-10-13	13:06:56	2504	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:56	2504	[DEBUG]	Processing product tax
2023-10-13	13:06:56	2504	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:56	2504	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:56	2504	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:56	2504	[DEBUG]	Query for Product
2023-10-13	13:06:57	2504	[DEBUG]	Executed store
2023-10-13	13:06:57	2504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3665_0','0.023','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:06:57	2504	[DEBUG]	Check product language entry
2023-10-13	13:06:57	2504	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861996
2023-10-13	13:06:57	2504	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:57	2504	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3665_0' AND `virtuemart_product_id` != 1861996
2023-10-13	13:06:57	2504	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:57	2504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861996, 'A_3665_0')
2023-10-13	13:06:57	2504	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:57	2504	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-avid-code-r-unique' AND `virtuemart_product_id` != 1861996
2023-10-13	13:06:57	2504	[DEBUG]	Query for ProductLang
2023-10-13	13:06:57	2504	[DEBUG]	Executed store
2023-10-13	13:06:57	2504	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : DK66',`product_name`='MSC Plaquettes de freins Avid Code R / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-avid-code-r-unique' WHERE `virtuemart_product_id` = '1861996'
2023-10-13	13:06:57	2504	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18380.jpg
2023-10-13	13:06:57	2504	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:57	2504	[DEBUG]	Process image file
2023-10-13	13:06:57	2504	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:57	2504	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:57	2504	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18380.jpg
2023-10-13	13:06:57	2504	[DEBUG]	Full name target: bcprisme/image_18380.jpg
2023-10-13	13:06:58	2504	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:58	2504	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18380.jpg'
2023-10-13	13:06:58	2504	[DEBUG]	Query for Media
2023-10-13	13:06:58	2504	[DEBUG]	Executed store
2023-10-13	13:06:58	2504	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18380.jpg',`file_url_thumb`='bcprisme/image_18380.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12860'
2023-10-13	13:06:58	2504	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:58	2504	[DEBUG]	Executed store
2023-10-13	13:06:58	2504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861996','12860','1')
2023-10-13	13:06:58	2504	[DEBUG]	Store product image relation
2023-10-13	13:06:58	2504	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:58	2504	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861996 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:58	2504	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:58	2504	[DEBUG]	Executed store
2023-10-13	13:06:58	2504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861996','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:58	2504	[DEBUG]	Checking manufacturer
2023-10-13	13:06:58	2504	[DEBUG]	Load a row
2023-10-13	13:06:58	2504	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:58	2504	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:58	2504	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:58	2504	[DEBUG]	Executed store
2023-10-13	13:06:58	2504	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:58	2504	[DEBUG]	Manufacturer exists
2023-10-13	13:06:58	2504	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:58	2504	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:58	2504	[DEBUG]	Executed store
2023-10-13	13:06:58	2504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861996','32')
2023-10-13	13:06:58	2504	[DEBUG]	Find the custom field ID
2023-10-13	13:06:58	2504	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:06:58	2504	[DEBUG]	No custom field ID found
2023-10-13	13:06:58	2504	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:58	2504	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:06:58	2504	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861996 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:58	2504	[DEBUG]	Store custom available field
2023-10-13	13:06:58	2504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861996,3,'12.8641666666667',1)
2023-10-13	13:06:58	2504	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:58	2504	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:06:58	2504	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861996 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:58	2504	[DEBUG]	Store custom available field
2023-10-13	13:06:58	2504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861996,6,'choisir la taille',3)
2023-10-13	13:06:58	2504	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:58	2504	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:06:58	2504	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:06:58	2504	[DEBUG]	Find the multi variant product entry
2023-10-13	13:06:58	2504	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861996 AND `virtuemart_custom_id` = 8
2023-10-13	13:06:58	2504	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:06:58	2504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861996,8,1)
2023-10-13	13:06:58	2504	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:58	2504	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861996\":[1861996,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861996
2023-10-13	13:06:58	2504	[DEBUG]	Checking category
2023-10-13	13:06:58	2504	[DEBUG]	Get the existing categories for the product
2023-10-13	13:06:58	2504	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861996
2023-10-13	13:06:58	2504	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:06:58	2504	[DEBUG]	Executed store
2023-10-13	13:06:58	2504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861996','7345')
2023-10-13	13:06:58	2504	[DEBUG]	Delete leftover product categories
2023-10-13	13:06:58	2504	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861996 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:06:58	2504	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:58	2504	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861996
2023-10-13	13:06:58	2505	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:58	2505	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:06:58	2505	[DEBUG]	Use field value for field taille
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:06:58	2505	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field category_path
2023-10-13	13:06:58	2505	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:58	2505	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:58	2505	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:58	2505	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:06:58	2505	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field product_weight
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:58	2505	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:58	2505	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:58	2505	[DEBUG]	Use field value for field published
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field custom_title
2023-10-13	13:06:58	2505	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field custom_param
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field override
2023-10-13	13:06:58	2505	[DEBUG]	Use default value for field public_price
2023-10-13	13:06:58	2505	[DEBUG]	Use field value for field slug
2023-10-13	13:06:58	2505	[DEBUG]	Process line 2505
2023-10-13	13:06:58	2505	[DEBUG]	Load a row
2023-10-13	13:06:58	2505	[DEBUG]	Processing item: 8436047355711
2023-10-13	13:06:58	2505	[DEBUG]	Looking for parent SKU
2023-10-13	13:06:58	2505	[DEBUG]	Checking product parent SKU
2023-10-13	13:06:58	2505	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3665_0'
2023-10-13	13:06:58	2505	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:58	2505	[DEBUG]	Processing product tax
2023-10-13	13:06:58	2505	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:58	2505	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:58	2505	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:58	2505	[DEBUG]	Query for Product
2023-10-13	13:06:58	2505	[DEBUG]	Executed store
2023-10-13	13:06:58	2505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861996','8436047355711','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:06:58	2505	[DEBUG]	No parent found
2023-10-13	13:06:58	2505	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861996 AND customfield_value = 'stockable'
2023-10-13	13:06:58	2505	[DEBUG]	Check product language entry
2023-10-13	13:06:58	2505	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861997
2023-10-13	13:06:58	2505	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:58	2505	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047355711' AND `virtuemart_product_id` != 1861997
2023-10-13	13:06:58	2505	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:58	2505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861997, '8436047355711')
2023-10-13	13:06:58	2505	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:58	2505	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-avid-code-r-unique-unitaire' AND `virtuemart_product_id` != 1861997
2023-10-13	13:06:58	2505	[DEBUG]	Query for ProductLang
2023-10-13	13:06:58	2505	[DEBUG]	Executed store
2023-10-13	13:06:58	2505	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Avid Code R / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-avid-code-r-unique-unitaire' WHERE `virtuemart_product_id` = '1861997'
2023-10-13	13:06:58	2505	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18380.jpg
2023-10-13	13:06:58	2505	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:58	2505	[DEBUG]	Process image file
2023-10-13	13:06:58	2505	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:58	2505	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:58	2505	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18380.jpg
2023-10-13	13:06:58	2505	[DEBUG]	Full name target: bcprisme/image_18380.jpg
2023-10-13	13:06:59	2505	[DEBUG]	Checking if the file_url exists
2023-10-13	13:06:59	2505	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18380.jpg'
2023-10-13	13:06:59	2505	[DEBUG]	Query for Media
2023-10-13	13:06:59	2505	[DEBUG]	Executed store
2023-10-13	13:06:59	2505	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18380.jpg',`file_url_thumb`='bcprisme/image_18380.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12860'
2023-10-13	13:06:59	2505	[DEBUG]	Query for ProductMedia
2023-10-13	13:06:59	2505	[DEBUG]	Executed store
2023-10-13	13:06:59	2505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861997','12860','1')
2023-10-13	13:06:59	2505	[DEBUG]	Store product image relation
2023-10-13	13:06:59	2505	[DEBUG]	Finding a product_price_id
2023-10-13	13:06:59	2505	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861997 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:06:59	2505	[DEBUG]	Query for ProductPrice
2023-10-13	13:06:59	2505	[DEBUG]	Executed store
2023-10-13	13:06:59	2505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861997','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:06:59	2505	[DEBUG]	Checking manufacturer
2023-10-13	13:06:59	2505	[DEBUG]	Load a row
2023-10-13	13:06:59	2505	[DEBUG]	Manufacturer already exists
2023-10-13	13:06:59	2505	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:59	2505	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:06:59	2505	[DEBUG]	Executed store
2023-10-13	13:06:59	2505	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:06:59	2505	[DEBUG]	Manufacturer exists
2023-10-13	13:06:59	2505	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:06:59	2505	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:06:59	2505	[DEBUG]	Executed store
2023-10-13	13:06:59	2505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861997','32')
2023-10-13	13:06:59	2505	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:06:59	2505	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:06:59	2505	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861997 AND `virtuemart_custom_id` = 3
2023-10-13	13:06:59	2505	[DEBUG]	Store custom available field
2023-10-13	13:06:59	2505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861997,3,'',1)
2023-10-13	13:06:59	2505	[DEBUG]	Processing custom available field: taille
2023-10-13	13:06:59	2505	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:06:59	2505	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861997 AND `virtuemart_custom_id` = 6
2023-10-13	13:06:59	2505	[DEBUG]	Store custom available field
2023-10-13	13:06:59	2505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861997,6,'Unitaire',3)
2023-10-13	13:06:59	2505	[DEBUG]	Process multi-variant fields
2023-10-13	13:06:59	2505	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:06:59	2505	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861996
2023-10-13	13:06:59	2505	[DEBUG]	Store the updated customfield_params
2023-10-13	13:06:59	2505	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861996\":[1861996,8,1,\"choisir la taille\"],\"1861997\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861996
2023-10-13	13:06:59	2505	[DEBUG]	Update has fields after all processing
2023-10-13	13:06:59	2505	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861997
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field product_sku
2023-10-13	13:06:59	2506	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field taille
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field product_name
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field category_path
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field product_price
2023-10-13	13:06:59	2506	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field product_tax
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field file_url
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:06:59	2506	[DEBUG]	Use default value for field product_desc
2023-10-13	13:06:59	2506	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field product_availability
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field product_weight
2023-10-13	13:06:59	2506	[DEBUG]	Use default value for field product_unit
2023-10-13	13:06:59	2506	[DEBUG]	Use default value for field related_products
2023-10-13	13:06:59	2506	[DEBUG]	Use default value for field product_special
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field published
2023-10-13	13:06:59	2506	[DEBUG]	Use default value for field metadesc
2023-10-13	13:06:59	2506	[DEBUG]	Use default value for field metakey
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field custom_title
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field custom_value
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field custom_param
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field override
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field public_price
2023-10-13	13:06:59	2506	[DEBUG]	Use field value for field slug
2023-10-13	13:06:59	2506	[DEBUG]	Process line 2506
2023-10-13	13:06:59	2506	[DEBUG]	Load a row
2023-10-13	13:06:59	2506	[DEBUG]	Processing item: A_3676_0
2023-10-13	13:06:59	2506	[DEBUG]	Product tax: 7.7
2023-10-13	13:06:59	2506	[DEBUG]	Processing product tax
2023-10-13	13:06:59	2506	[DEBUG]	Check if calculation rule exists
2023-10-13	13:06:59	2506	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:06:59	2506	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:06:59	2506	[DEBUG]	Query for Product
2023-10-13	13:06:59	2506	[DEBUG]	Executed store
2023-10-13	13:06:59	2506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3676_0','0.022','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:06:59	2506	[DEBUG]	Check product language entry
2023-10-13	13:06:59	2506	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861998
2023-10-13	13:06:59	2506	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:59	2506	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3676_0' AND `virtuemart_product_id` != 1861998
2023-10-13	13:06:59	2506	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:06:59	2506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861998, 'A_3676_0')
2023-10-13	13:06:59	2506	[DEBUG]	Check if the product slug exists
2023-10-13	13:06:59	2506	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-magura-mt5-4-pistons-semi-metalliques-unique' AND `virtuemart_product_id` != 1861998
2023-10-13	13:06:59	2506	[DEBUG]	Query for ProductLang
2023-10-13	13:06:59	2506	[DEBUG]	Executed store
2023-10-13	13:06:59	2506	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de freins Magura MT5, 4 pistons, 22 gr.<br>N° art fourn : DS61',`product_name`='MSC Plaquettes de freins Magura MT5, 4 pistons semi-métalliques / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-magura-mt5-4-pistons-semi-metalliques-unique' WHERE `virtuemart_product_id` = '1861998'
2023-10-13	13:06:59	2506	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18480.jpg
2023-10-13	13:06:59	2506	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:59	2506	[DEBUG]	Process image file
2023-10-13	13:06:59	2506	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:06:59	2506	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:06:59	2506	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18480.jpg
2023-10-13	13:06:59	2506	[DEBUG]	Full name target: bcprisme/image_18480.jpg
2023-10-13	13:07:00	2506	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:00	2506	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18480.jpg'
2023-10-13	13:07:00	2506	[DEBUG]	Query for Media
2023-10-13	13:07:00	2506	[DEBUG]	Executed store
2023-10-13	13:07:00	2506	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18480.jpg',`file_url_thumb`='bcprisme/image_18480.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12861'
2023-10-13	13:07:00	2506	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:00	2506	[DEBUG]	Executed store
2023-10-13	13:07:00	2506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861998','12861','1')
2023-10-13	13:07:00	2506	[DEBUG]	Store product image relation
2023-10-13	13:07:00	2506	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:00	2506	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861998 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:00	2506	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:00	2506	[DEBUG]	Executed store
2023-10-13	13:07:00	2506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861998','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:00	2506	[DEBUG]	Checking manufacturer
2023-10-13	13:07:00	2506	[DEBUG]	Load a row
2023-10-13	13:07:00	2506	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:00	2506	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:00	2506	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:00	2506	[DEBUG]	Executed store
2023-10-13	13:07:00	2506	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:00	2506	[DEBUG]	Manufacturer exists
2023-10-13	13:07:00	2506	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:00	2506	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:00	2506	[DEBUG]	Executed store
2023-10-13	13:07:00	2506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861998','32')
2023-10-13	13:07:00	2506	[DEBUG]	Find the custom field ID
2023-10-13	13:07:00	2506	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:00	2506	[DEBUG]	No custom field ID found
2023-10-13	13:07:00	2506	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:00	2506	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:07:00	2506	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861998 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:00	2506	[DEBUG]	Store custom available field
2023-10-13	13:07:00	2506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861998,3,'12.8641666666667',1)
2023-10-13	13:07:00	2506	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:00	2506	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:00	2506	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861998 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:00	2506	[DEBUG]	Store custom available field
2023-10-13	13:07:00	2506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861998,6,'choisir la taille',3)
2023-10-13	13:07:00	2506	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:00	2506	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:00	2506	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:00	2506	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:00	2506	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861998 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:00	2506	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:00	2506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1861998,8,1)
2023-10-13	13:07:00	2506	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:00	2506	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1861998\":[1861998,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1861998
2023-10-13	13:07:00	2506	[DEBUG]	Checking category
2023-10-13	13:07:00	2506	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:00	2506	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861998
2023-10-13	13:07:00	2506	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:00	2506	[DEBUG]	Executed store
2023-10-13	13:07:00	2506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1861998','7345')
2023-10-13	13:07:00	2506	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:00	2506	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1861998 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:00	2506	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:00	2506	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861998
2023-10-13	13:07:00	2507	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:00	2507	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:00	2507	[DEBUG]	Use field value for field taille
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:00	2507	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:00	2507	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:00	2507	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:00	2507	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:00	2507	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:00	2507	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:00	2507	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:00	2507	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:00	2507	[DEBUG]	Use field value for field published
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:00	2507	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field override
2023-10-13	13:07:00	2507	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:00	2507	[DEBUG]	Use field value for field slug
2023-10-13	13:07:00	2507	[DEBUG]	Process line 2507
2023-10-13	13:07:00	2507	[DEBUG]	Load a row
2023-10-13	13:07:00	2507	[DEBUG]	Processing item: 8435466292164
2023-10-13	13:07:00	2507	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:00	2507	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:00	2507	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3676_0'
2023-10-13	13:07:00	2507	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:00	2507	[DEBUG]	Processing product tax
2023-10-13	13:07:00	2507	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:00	2507	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:00	2507	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:00	2507	[DEBUG]	Query for Product
2023-10-13	13:07:00	2507	[DEBUG]	Executed store
2023-10-13	13:07:00	2507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1861998','8435466292164','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:00	2507	[DEBUG]	No parent found
2023-10-13	13:07:00	2507	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1861998 AND customfield_value = 'stockable'
2023-10-13	13:07:00	2507	[DEBUG]	Check product language entry
2023-10-13	13:07:00	2507	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1861999
2023-10-13	13:07:00	2507	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:00	2507	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466292164' AND `virtuemart_product_id` != 1861999
2023-10-13	13:07:00	2507	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:00	2507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1861999, '8435466292164')
2023-10-13	13:07:00	2507	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:00	2507	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-magura-mt5-4-pistons-semi-metalliques-unique-unitaire' AND `virtuemart_product_id` != 1861999
2023-10-13	13:07:00	2507	[DEBUG]	Query for ProductLang
2023-10-13	13:07:00	2507	[DEBUG]	Executed store
2023-10-13	13:07:00	2507	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Magura MT5, 4 pistons semi-métalliques / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-magura-mt5-4-pistons-semi-metalliques-unique-unitaire' WHERE `virtuemart_product_id` = '1861999'
2023-10-13	13:07:00	2507	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18480.jpg
2023-10-13	13:07:00	2507	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:00	2507	[DEBUG]	Process image file
2023-10-13	13:07:00	2507	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:00	2507	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:00	2507	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18480.jpg
2023-10-13	13:07:00	2507	[DEBUG]	Full name target: bcprisme/image_18480.jpg
2023-10-13	13:07:01	2507	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:01	2507	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18480.jpg'
2023-10-13	13:07:01	2507	[DEBUG]	Query for Media
2023-10-13	13:07:01	2507	[DEBUG]	Executed store
2023-10-13	13:07:01	2507	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18480.jpg',`file_url_thumb`='bcprisme/image_18480.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12861'
2023-10-13	13:07:01	2507	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:01	2507	[DEBUG]	Executed store
2023-10-13	13:07:01	2507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1861999','12861','1')
2023-10-13	13:07:01	2507	[DEBUG]	Store product image relation
2023-10-13	13:07:01	2507	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:01	2507	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1861999 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:01	2507	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:01	2507	[DEBUG]	Executed store
2023-10-13	13:07:01	2507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1861999','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:01	2507	[DEBUG]	Checking manufacturer
2023-10-13	13:07:01	2507	[DEBUG]	Load a row
2023-10-13	13:07:01	2507	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:01	2507	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:01	2507	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:01	2507	[DEBUG]	Executed store
2023-10-13	13:07:01	2507	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:01	2507	[DEBUG]	Manufacturer exists
2023-10-13	13:07:01	2507	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:01	2507	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:01	2507	[DEBUG]	Executed store
2023-10-13	13:07:01	2507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1861999','32')
2023-10-13	13:07:01	2507	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:01	2507	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:01	2507	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861999 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:01	2507	[DEBUG]	Store custom available field
2023-10-13	13:07:01	2507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861999,3,'',1)
2023-10-13	13:07:01	2507	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:01	2507	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:01	2507	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1861999 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:01	2507	[DEBUG]	Store custom available field
2023-10-13	13:07:01	2507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1861999,6,'Unitaire',3)
2023-10-13	13:07:01	2507	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:01	2507	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:01	2507	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1861998
2023-10-13	13:07:01	2507	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:01	2507	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1861998\":[1861998,8,1,\"choisir la taille\"],\"1861999\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1861998
2023-10-13	13:07:01	2507	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:01	2507	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1861999
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:01	2508	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field taille
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:01	2508	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:01	2508	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:01	2508	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:01	2508	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:01	2508	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:01	2508	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field published
2023-10-13	13:07:01	2508	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:01	2508	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field override
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:01	2508	[DEBUG]	Use field value for field slug
2023-10-13	13:07:01	2508	[DEBUG]	Process line 2508
2023-10-13	13:07:01	2508	[DEBUG]	Load a row
2023-10-13	13:07:01	2508	[DEBUG]	Processing item: A_4424_0
2023-10-13	13:07:01	2508	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:01	2508	[DEBUG]	Processing product tax
2023-10-13	13:07:01	2508	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:01	2508	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:01	2508	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:01	2508	[DEBUG]	Query for Product
2023-10-13	13:07:01	2508	[DEBUG]	Executed store
2023-10-13	13:07:01	2508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4424_0','0.022','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:01	2508	[DEBUG]	Check product language entry
2023-10-13	13:07:01	2508	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862000
2023-10-13	13:07:01	2508	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:01	2508	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4424_0' AND `virtuemart_product_id` != 1862000
2023-10-13	13:07:01	2508	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:01	2508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862000, 'A_4424_0')
2023-10-13	13:07:01	2508	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:01	2508	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-magura-mt7-4-pistons-unique' AND `virtuemart_product_id` != 1862000
2023-10-13	13:07:01	2508	[DEBUG]	Query for ProductLang
2023-10-13	13:07:01	2508	[DEBUG]	Executed store
2023-10-13	13:07:01	2508	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. magura mt7 4 pistons<br>N° art fourn : DS62',`product_name`='MSC Plaquettes de frein  Magura MT7 4 pistons / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-magura-mt7-4-pistons-unique' WHERE `virtuemart_product_id` = '1862000'
2023-10-13	13:07:01	2508	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27067_.jpg
2023-10-13	13:07:01	2508	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:01	2508	[DEBUG]	Process image file
2023-10-13	13:07:01	2508	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:01	2508	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:01	2508	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27067_.jpg
2023-10-13	13:07:01	2508	[DEBUG]	Full name target: bcprisme/27067_.jpg
2023-10-13	13:07:02	2508	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:02	2508	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27067_.jpg'
2023-10-13	13:07:02	2508	[DEBUG]	Query for Media
2023-10-13	13:07:02	2508	[DEBUG]	Executed store
2023-10-13	13:07:02	2508	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27067_.jpg',`file_url_thumb`='bcprisme/27067_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12862'
2023-10-13	13:07:02	2508	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:02	2508	[DEBUG]	Executed store
2023-10-13	13:07:02	2508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862000','12862','1')
2023-10-13	13:07:02	2508	[DEBUG]	Store product image relation
2023-10-13	13:07:02	2508	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:02	2508	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862000 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:02	2508	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:02	2508	[DEBUG]	Executed store
2023-10-13	13:07:02	2508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862000','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:02	2508	[DEBUG]	Checking manufacturer
2023-10-13	13:07:02	2508	[DEBUG]	Load a row
2023-10-13	13:07:02	2508	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:02	2508	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:02	2508	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:02	2508	[DEBUG]	Executed store
2023-10-13	13:07:02	2508	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:02	2508	[DEBUG]	Manufacturer exists
2023-10-13	13:07:02	2508	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:02	2508	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:02	2508	[DEBUG]	Executed store
2023-10-13	13:07:02	2508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862000','32')
2023-10-13	13:07:02	2508	[DEBUG]	Find the custom field ID
2023-10-13	13:07:02	2508	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:02	2508	[DEBUG]	No custom field ID found
2023-10-13	13:07:02	2508	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:02	2508	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:07:02	2508	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862000 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:02	2508	[DEBUG]	Store custom available field
2023-10-13	13:07:02	2508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862000,3,'16.8530555555556',1)
2023-10-13	13:07:02	2508	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:02	2508	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:02	2508	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862000 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:02	2508	[DEBUG]	Store custom available field
2023-10-13	13:07:02	2508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862000,6,'choisir la taille',3)
2023-10-13	13:07:02	2508	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:02	2508	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:02	2508	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:02	2508	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:02	2508	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862000 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:02	2508	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:02	2508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862000,8,1)
2023-10-13	13:07:02	2508	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:02	2508	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862000\":[1862000,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862000
2023-10-13	13:07:02	2508	[DEBUG]	Checking category
2023-10-13	13:07:02	2508	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:02	2508	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862000
2023-10-13	13:07:02	2508	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:02	2508	[DEBUG]	Executed store
2023-10-13	13:07:02	2508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862000','7345')
2023-10-13	13:07:02	2508	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:02	2508	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862000 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:02	2508	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:02	2508	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862000
2023-10-13	13:07:02	2509	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:02	2509	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:02	2509	[DEBUG]	Use field value for field taille
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:02	2509	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:02	2509	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:02	2509	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:02	2509	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:02	2509	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:02	2509	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:02	2509	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:02	2509	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:02	2509	[DEBUG]	Use field value for field published
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:02	2509	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field override
2023-10-13	13:07:02	2509	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:02	2509	[DEBUG]	Use field value for field slug
2023-10-13	13:07:02	2509	[DEBUG]	Process line 2509
2023-10-13	13:07:02	2509	[DEBUG]	Load a row
2023-10-13	13:07:02	2509	[DEBUG]	Processing item: 8435466298876
2023-10-13	13:07:02	2509	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:02	2509	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:02	2509	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4424_0'
2023-10-13	13:07:02	2509	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:02	2509	[DEBUG]	Processing product tax
2023-10-13	13:07:02	2509	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:02	2509	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:02	2509	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:02	2509	[DEBUG]	Query for Product
2023-10-13	13:07:02	2509	[DEBUG]	Executed store
2023-10-13	13:07:02	2509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862000','8435466298876','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:02	2509	[DEBUG]	No parent found
2023-10-13	13:07:02	2509	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862000 AND customfield_value = 'stockable'
2023-10-13	13:07:02	2509	[DEBUG]	Check product language entry
2023-10-13	13:07:02	2509	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862001
2023-10-13	13:07:02	2509	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:02	2509	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466298876' AND `virtuemart_product_id` != 1862001
2023-10-13	13:07:02	2509	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:02	2509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862001, '8435466298876')
2023-10-13	13:07:02	2509	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:02	2509	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-magura-mt7-4-pistons-unique-unitaire' AND `virtuemart_product_id` != 1862001
2023-10-13	13:07:02	2509	[DEBUG]	Query for ProductLang
2023-10-13	13:07:02	2509	[DEBUG]	Executed store
2023-10-13	13:07:02	2509	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de frein  Magura MT7 4 pistons / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-magura-mt7-4-pistons-unique-unitaire' WHERE `virtuemart_product_id` = '1862001'
2023-10-13	13:07:02	2509	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27067_.jpg
2023-10-13	13:07:02	2509	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:02	2509	[DEBUG]	Process image file
2023-10-13	13:07:02	2509	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:02	2509	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:02	2509	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27067_.jpg
2023-10-13	13:07:02	2509	[DEBUG]	Full name target: bcprisme/27067_.jpg
2023-10-13	13:07:03	2509	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:03	2509	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27067_.jpg'
2023-10-13	13:07:03	2509	[DEBUG]	Query for Media
2023-10-13	13:07:03	2509	[DEBUG]	Executed store
2023-10-13	13:07:03	2509	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27067_.jpg',`file_url_thumb`='bcprisme/27067_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12862'
2023-10-13	13:07:03	2509	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:03	2509	[DEBUG]	Executed store
2023-10-13	13:07:03	2509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862001','12862','1')
2023-10-13	13:07:03	2509	[DEBUG]	Store product image relation
2023-10-13	13:07:03	2509	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:03	2509	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862001 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:03	2509	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:03	2509	[DEBUG]	Executed store
2023-10-13	13:07:03	2509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862001','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:03	2509	[DEBUG]	Checking manufacturer
2023-10-13	13:07:03	2509	[DEBUG]	Load a row
2023-10-13	13:07:03	2509	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:03	2509	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:03	2509	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:03	2509	[DEBUG]	Executed store
2023-10-13	13:07:03	2509	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:03	2509	[DEBUG]	Manufacturer exists
2023-10-13	13:07:03	2509	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:03	2509	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:03	2509	[DEBUG]	Executed store
2023-10-13	13:07:03	2509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862001','32')
2023-10-13	13:07:03	2509	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:03	2509	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:03	2509	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862001 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:03	2509	[DEBUG]	Store custom available field
2023-10-13	13:07:03	2509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862001,3,'',1)
2023-10-13	13:07:03	2509	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:03	2509	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:03	2509	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862001 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:03	2509	[DEBUG]	Store custom available field
2023-10-13	13:07:03	2509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862001,6,'Unitaire',3)
2023-10-13	13:07:03	2509	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:03	2509	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:03	2509	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862000
2023-10-13	13:07:03	2509	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:03	2509	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862000\":[1862000,8,1,\"choisir la taille\"],\"1862001\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862000
2023-10-13	13:07:03	2509	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:03	2509	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862001
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:03	2510	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field taille
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:03	2510	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:03	2510	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:03	2510	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:03	2510	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:03	2510	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:03	2510	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field published
2023-10-13	13:07:03	2510	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:03	2510	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field override
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:03	2510	[DEBUG]	Use field value for field slug
2023-10-13	13:07:03	2510	[DEBUG]	Process line 2510
2023-10-13	13:07:03	2510	[DEBUG]	Load a row
2023-10-13	13:07:03	2510	[DEBUG]	Processing item: A_4499_0
2023-10-13	13:07:03	2510	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:03	2510	[DEBUG]	Processing product tax
2023-10-13	13:07:03	2510	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:03	2510	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:03	2510	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:03	2510	[DEBUG]	Query for Product
2023-10-13	13:07:03	2510	[DEBUG]	Executed store
2023-10-13	13:07:03	2510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4499_0','0.023','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:03	2510	[DEBUG]	Check product language entry
2023-10-13	13:07:03	2510	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862002
2023-10-13	13:07:03	2510	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:03	2510	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4499_0' AND `virtuemart_product_id` != 1862002
2023-10-13	13:07:03	2510	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:03	2510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862002, 'A_4499_0')
2023-10-13	13:07:03	2510	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:03	2510	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-disques-sram-level-red-force-unique' AND `virtuemart_product_id` != 1862002
2023-10-13	13:07:03	2510	[DEBUG]	Query for ProductLang
2023-10-13	13:07:03	2510	[DEBUG]	Executed store
2023-10-13	13:07:03	2510	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir 22 g Plaquettes de frein disques MSC. Compatible avec SRAM Level, Red, Force, CX1 et Rival.<br>N° art fourn : DS56',`product_name`='MSC Plaquettes de frein disques sram level/red/force  / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-disques-sram-level-red-force-unique' WHERE `virtuemart_product_id` = '1862002'
2023-10-13	13:07:03	2510	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27192_plaquettes_de_frein_disques_sram_level-red-force_.jpg
2023-10-13	13:07:03	2510	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:03	2510	[DEBUG]	Process image file
2023-10-13	13:07:03	2510	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:03	2510	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:03	2510	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27192_plaquettes_de_frein_disques_sram_level-red-force_.jpg
2023-10-13	13:07:03	2510	[DEBUG]	Full name target: bcprisme/27192_plaquettes_de_frein_disques_sram_level-red-force_.jpg
2023-10-13	13:07:04	2510	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:04	2510	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27192_plaquettes_de_frein_disques_sram_level-red-force_.jpg'
2023-10-13	13:07:04	2510	[DEBUG]	Query for Media
2023-10-13	13:07:04	2510	[DEBUG]	Executed store
2023-10-13	13:07:04	2510	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27192_plaquettes_de_frein_disques_sram_level-red-force_.jpg',`file_url_thumb`='bcprisme/27192_plaquettes_de_frein_disques_sram_level-red-force_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12863'
2023-10-13	13:07:04	2510	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:04	2510	[DEBUG]	Executed store
2023-10-13	13:07:04	2510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862002','12863','1')
2023-10-13	13:07:04	2510	[DEBUG]	Store product image relation
2023-10-13	13:07:04	2510	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:04	2510	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862002 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:04	2510	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:04	2510	[DEBUG]	Executed store
2023-10-13	13:07:04	2510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862002','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:04	2510	[DEBUG]	Checking manufacturer
2023-10-13	13:07:04	2510	[DEBUG]	Load a row
2023-10-13	13:07:04	2510	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:04	2510	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:04	2510	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:04	2510	[DEBUG]	Executed store
2023-10-13	13:07:04	2510	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:04	2510	[DEBUG]	Manufacturer exists
2023-10-13	13:07:04	2510	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:04	2510	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:04	2510	[DEBUG]	Executed store
2023-10-13	13:07:04	2510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862002','32')
2023-10-13	13:07:04	2510	[DEBUG]	Find the custom field ID
2023-10-13	13:07:04	2510	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:04	2510	[DEBUG]	No custom field ID found
2023-10-13	13:07:04	2510	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:04	2510	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:07:04	2510	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862002 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:04	2510	[DEBUG]	Store custom available field
2023-10-13	13:07:04	2510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862002,3,'12.8641666666667',1)
2023-10-13	13:07:04	2510	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:04	2510	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:04	2510	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862002 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:04	2510	[DEBUG]	Store custom available field
2023-10-13	13:07:04	2510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862002,6,'choisir la taille',3)
2023-10-13	13:07:04	2510	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:04	2510	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:04	2510	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:04	2510	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:04	2510	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862002 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:04	2510	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:04	2510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862002,8,1)
2023-10-13	13:07:04	2510	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:04	2510	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862002\":[1862002,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862002
2023-10-13	13:07:04	2510	[DEBUG]	Checking category
2023-10-13	13:07:04	2510	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:04	2510	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862002
2023-10-13	13:07:04	2510	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:04	2510	[DEBUG]	Executed store
2023-10-13	13:07:04	2510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862002','7345')
2023-10-13	13:07:04	2510	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:04	2510	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862002 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:04	2510	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:04	2510	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862002
2023-10-13	13:07:04	2511	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:04	2511	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:04	2511	[DEBUG]	Use field value for field taille
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:04	2511	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:04	2511	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:04	2511	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:04	2511	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:04	2511	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:04	2511	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:04	2511	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:04	2511	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:04	2511	[DEBUG]	Use field value for field published
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:04	2511	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field override
2023-10-13	13:07:04	2511	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:04	2511	[DEBUG]	Use field value for field slug
2023-10-13	13:07:04	2511	[DEBUG]	Process line 2511
2023-10-13	13:07:04	2511	[DEBUG]	Load a row
2023-10-13	13:07:04	2511	[DEBUG]	Processing item: 8435466212452
2023-10-13	13:07:04	2511	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:04	2511	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:04	2511	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4499_0'
2023-10-13	13:07:04	2511	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:04	2511	[DEBUG]	Processing product tax
2023-10-13	13:07:04	2511	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:04	2511	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:04	2511	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:04	2511	[DEBUG]	Query for Product
2023-10-13	13:07:04	2511	[DEBUG]	Executed store
2023-10-13	13:07:04	2511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862002','8435466212452','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:04	2511	[DEBUG]	No parent found
2023-10-13	13:07:04	2511	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862002 AND customfield_value = 'stockable'
2023-10-13	13:07:04	2511	[DEBUG]	Check product language entry
2023-10-13	13:07:04	2511	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862003
2023-10-13	13:07:04	2511	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:04	2511	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466212452' AND `virtuemart_product_id` != 1862003
2023-10-13	13:07:04	2511	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:04	2511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862003, '8435466212452')
2023-10-13	13:07:04	2511	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:04	2511	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-frein-disques-sram-level-red-force-unique-unitaire' AND `virtuemart_product_id` != 1862003
2023-10-13	13:07:04	2511	[DEBUG]	Query for ProductLang
2023-10-13	13:07:04	2511	[DEBUG]	Executed store
2023-10-13	13:07:04	2511	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de frein disques sram level/red/force  / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-frein-disques-sram-level-red-force-unique-unitaire' WHERE `virtuemart_product_id` = '1862003'
2023-10-13	13:07:04	2511	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27192_plaquettes_de_frein_disques_sram_level-red-force_.jpg
2023-10-13	13:07:04	2511	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:04	2511	[DEBUG]	Process image file
2023-10-13	13:07:04	2511	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:04	2511	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:04	2511	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27192_plaquettes_de_frein_disques_sram_level-red-force_.jpg
2023-10-13	13:07:04	2511	[DEBUG]	Full name target: bcprisme/27192_plaquettes_de_frein_disques_sram_level-red-force_.jpg
2023-10-13	13:07:05	2511	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:05	2511	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27192_plaquettes_de_frein_disques_sram_level-red-force_.jpg'
2023-10-13	13:07:05	2511	[DEBUG]	Query for Media
2023-10-13	13:07:05	2511	[DEBUG]	Executed store
2023-10-13	13:07:05	2511	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27192_plaquettes_de_frein_disques_sram_level-red-force_.jpg',`file_url_thumb`='bcprisme/27192_plaquettes_de_frein_disques_sram_level-red-force_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12863'
2023-10-13	13:07:05	2511	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:05	2511	[DEBUG]	Executed store
2023-10-13	13:07:05	2511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862003','12863','1')
2023-10-13	13:07:05	2511	[DEBUG]	Store product image relation
2023-10-13	13:07:05	2511	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:05	2511	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862003 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:05	2511	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:05	2511	[DEBUG]	Executed store
2023-10-13	13:07:05	2511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862003','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:05	2511	[DEBUG]	Checking manufacturer
2023-10-13	13:07:05	2511	[DEBUG]	Load a row
2023-10-13	13:07:05	2511	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:05	2511	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:05	2511	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:05	2511	[DEBUG]	Executed store
2023-10-13	13:07:05	2511	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:05	2511	[DEBUG]	Manufacturer exists
2023-10-13	13:07:05	2511	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:05	2511	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:05	2511	[DEBUG]	Executed store
2023-10-13	13:07:05	2511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862003','32')
2023-10-13	13:07:05	2511	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:05	2511	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:05	2511	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862003 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:05	2511	[DEBUG]	Store custom available field
2023-10-13	13:07:05	2511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862003,3,'',1)
2023-10-13	13:07:05	2511	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:05	2511	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:05	2511	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862003 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:05	2511	[DEBUG]	Store custom available field
2023-10-13	13:07:05	2511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862003,6,'Unitaire',3)
2023-10-13	13:07:05	2511	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:05	2511	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:05	2511	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862002
2023-10-13	13:07:05	2511	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:05	2511	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862002\":[1862002,8,1,\"choisir la taille\"],\"1862003\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862002
2023-10-13	13:07:05	2511	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:05	2511	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862003
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:05	2512	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field taille
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:05	2512	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:05	2512	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:05	2512	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:05	2512	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:05	2512	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:05	2512	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field published
2023-10-13	13:07:05	2512	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:05	2512	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field override
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:05	2512	[DEBUG]	Use field value for field slug
2023-10-13	13:07:05	2512	[DEBUG]	Process line 2512
2023-10-13	13:07:05	2512	[DEBUG]	Load a row
2023-10-13	13:07:05	2512	[DEBUG]	Processing item: A_4542_40
2023-10-13	13:07:05	2512	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:05	2512	[DEBUG]	Processing product tax
2023-10-13	13:07:05	2512	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:05	2512	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:05	2512	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:05	2512	[DEBUG]	Query for Product
2023-10-13	13:07:05	2512	[DEBUG]	Executed store
2023-10-13	13:07:05	2512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4542_40','0.022','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:05	2512	[DEBUG]	Check product language entry
2023-10-13	13:07:05	2512	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862004
2023-10-13	13:07:05	2512	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:05	2512	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4542_40' AND `virtuemart_product_id` != 1862004
2023-10-13	13:07:05	2512	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:05	2512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862004, 'A_4542_40')
2023-10-13	13:07:05	2512	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:05	2512	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-disques-avid-elixir-organiques-vert' AND `virtuemart_product_id` != 1862004
2023-10-13	13:07:05	2512	[DEBUG]	Query for ProductLang
2023-10-13	13:07:05	2512	[DEBUG]	Executed store
2023-10-13	13:07:05	2512	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. Avid Elixir organiques<br>N° art fourn : DK65ORG',`product_name`='MSC Plaquettes de freins disques. Avid Elixir organiques / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-disques-avid-elixir-organiques-vert' WHERE `virtuemart_product_id` = '1862004'
2023-10-13	13:07:05	2512	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27223_plaquettes_de_frein_disques__avid_elixir_organiques.jpg
2023-10-13	13:07:05	2512	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:05	2512	[DEBUG]	Process image file
2023-10-13	13:07:05	2512	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:05	2512	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:05	2512	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27223_plaquettes_de_frein_disques__avid_elixir_organiques.jpg
2023-10-13	13:07:05	2512	[DEBUG]	Full name target: bcprisme/27223_plaquettes_de_frein_disques__avid_elixir_organiques.jpg
2023-10-13	13:07:06	2512	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:06	2512	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27223_plaquettes_de_frein_disques__avid_elixir_organiques.jpg'
2023-10-13	13:07:06	2512	[DEBUG]	Query for Media
2023-10-13	13:07:06	2512	[DEBUG]	Executed store
2023-10-13	13:07:06	2512	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27223_plaquettes_de_frein_disques__avid_elixir_organiques.jpg',`file_url_thumb`='bcprisme/27223_plaquettes_de_frein_disques__avid_elixir_organiques.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12864'
2023-10-13	13:07:06	2512	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:06	2512	[DEBUG]	Executed store
2023-10-13	13:07:06	2512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862004','12864','1')
2023-10-13	13:07:06	2512	[DEBUG]	Store product image relation
2023-10-13	13:07:06	2512	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:06	2512	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862004 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:06	2512	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:06	2512	[DEBUG]	Executed store
2023-10-13	13:07:06	2512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862004','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:06	2512	[DEBUG]	Checking manufacturer
2023-10-13	13:07:06	2512	[DEBUG]	Load a row
2023-10-13	13:07:06	2512	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:06	2512	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:06	2512	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:06	2512	[DEBUG]	Executed store
2023-10-13	13:07:06	2512	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:06	2512	[DEBUG]	Manufacturer exists
2023-10-13	13:07:06	2512	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:06	2512	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:06	2512	[DEBUG]	Executed store
2023-10-13	13:07:06	2512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862004','32')
2023-10-13	13:07:06	2512	[DEBUG]	Find the custom field ID
2023-10-13	13:07:06	2512	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:06	2512	[DEBUG]	No custom field ID found
2023-10-13	13:07:06	2512	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:06	2512	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:07:06	2512	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862004 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:06	2512	[DEBUG]	Store custom available field
2023-10-13	13:07:06	2512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862004,3,'14.8586111111111',1)
2023-10-13	13:07:06	2512	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:06	2512	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:06	2512	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862004 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:06	2512	[DEBUG]	Store custom available field
2023-10-13	13:07:06	2512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862004,6,'choisir la taille',3)
2023-10-13	13:07:06	2512	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:06	2512	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:06	2512	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:06	2512	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:06	2512	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862004 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:06	2512	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:06	2512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862004,8,1)
2023-10-13	13:07:06	2512	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:06	2512	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862004\":[1862004,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862004
2023-10-13	13:07:06	2512	[DEBUG]	Checking category
2023-10-13	13:07:06	2512	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:06	2512	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862004
2023-10-13	13:07:06	2512	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:06	2512	[DEBUG]	Executed store
2023-10-13	13:07:06	2512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862004','7345')
2023-10-13	13:07:06	2512	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:06	2512	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862004 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:06	2512	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:06	2512	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862004
2023-10-13	13:07:06	2513	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:06	2513	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:06	2513	[DEBUG]	Use field value for field taille
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:06	2513	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:06	2513	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:06	2513	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:06	2513	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:06	2513	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:06	2513	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:06	2513	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:06	2513	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:06	2513	[DEBUG]	Use field value for field published
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:06	2513	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field override
2023-10-13	13:07:06	2513	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:06	2513	[DEBUG]	Use field value for field slug
2023-10-13	13:07:06	2513	[DEBUG]	Process line 2513
2023-10-13	13:07:06	2513	[DEBUG]	Load a row
2023-10-13	13:07:06	2513	[DEBUG]	Processing item: 8435466212971
2023-10-13	13:07:06	2513	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:06	2513	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:06	2513	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4542_40'
2023-10-13	13:07:06	2513	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:06	2513	[DEBUG]	Processing product tax
2023-10-13	13:07:06	2513	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:06	2513	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:06	2513	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:06	2513	[DEBUG]	Query for Product
2023-10-13	13:07:06	2513	[DEBUG]	Executed store
2023-10-13	13:07:06	2513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862004','8435466212971','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:06	2513	[DEBUG]	No parent found
2023-10-13	13:07:06	2513	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862004 AND customfield_value = 'stockable'
2023-10-13	13:07:06	2513	[DEBUG]	Check product language entry
2023-10-13	13:07:06	2513	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862005
2023-10-13	13:07:06	2513	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:06	2513	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466212971' AND `virtuemart_product_id` != 1862005
2023-10-13	13:07:06	2513	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:06	2513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862005, '8435466212971')
2023-10-13	13:07:06	2513	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:06	2513	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-disques-avid-elixir-organiques-vert-unitaire' AND `virtuemart_product_id` != 1862005
2023-10-13	13:07:06	2513	[DEBUG]	Query for ProductLang
2023-10-13	13:07:06	2513	[DEBUG]	Executed store
2023-10-13	13:07:06	2513	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins disques. Avid Elixir organiques / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-disques-avid-elixir-organiques-vert-unitaire' WHERE `virtuemart_product_id` = '1862005'
2023-10-13	13:07:06	2513	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27223_plaquettes_de_frein_disques__avid_elixir_organiques.jpg
2023-10-13	13:07:06	2513	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:06	2513	[DEBUG]	Process image file
2023-10-13	13:07:06	2513	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:06	2513	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:06	2513	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27223_plaquettes_de_frein_disques__avid_elixir_organiques.jpg
2023-10-13	13:07:06	2513	[DEBUG]	Full name target: bcprisme/27223_plaquettes_de_frein_disques__avid_elixir_organiques.jpg
2023-10-13	13:07:07	2513	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:07	2513	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27223_plaquettes_de_frein_disques__avid_elixir_organiques.jpg'
2023-10-13	13:07:07	2513	[DEBUG]	Query for Media
2023-10-13	13:07:07	2513	[DEBUG]	Executed store
2023-10-13	13:07:07	2513	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27223_plaquettes_de_frein_disques__avid_elixir_organiques.jpg',`file_url_thumb`='bcprisme/27223_plaquettes_de_frein_disques__avid_elixir_organiques.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12864'
2023-10-13	13:07:07	2513	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:07	2513	[DEBUG]	Executed store
2023-10-13	13:07:07	2513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862005','12864','1')
2023-10-13	13:07:07	2513	[DEBUG]	Store product image relation
2023-10-13	13:07:07	2513	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:07	2513	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862005 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:07	2513	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:07	2513	[DEBUG]	Executed store
2023-10-13	13:07:07	2513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862005','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:07	2513	[DEBUG]	Checking manufacturer
2023-10-13	13:07:07	2513	[DEBUG]	Load a row
2023-10-13	13:07:07	2513	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:07	2513	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:07	2513	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:07	2513	[DEBUG]	Executed store
2023-10-13	13:07:07	2513	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:07	2513	[DEBUG]	Manufacturer exists
2023-10-13	13:07:07	2513	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:07	2513	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:07	2513	[DEBUG]	Executed store
2023-10-13	13:07:07	2513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862005','32')
2023-10-13	13:07:07	2513	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:07	2513	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:07	2513	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862005 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:07	2513	[DEBUG]	Store custom available field
2023-10-13	13:07:07	2513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862005,3,'',1)
2023-10-13	13:07:07	2513	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:07	2513	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:07	2513	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862005 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:07	2513	[DEBUG]	Store custom available field
2023-10-13	13:07:07	2513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862005,6,'Unitaire',3)
2023-10-13	13:07:07	2513	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:07	2513	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:07	2513	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862004
2023-10-13	13:07:07	2513	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:07	2513	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862004\":[1862004,8,1,\"choisir la taille\"],\"1862005\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862004
2023-10-13	13:07:07	2513	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:07	2513	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862005
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:07	2514	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field taille
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:07	2514	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:07	2514	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:07	2514	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:07	2514	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:07	2514	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:07	2514	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field published
2023-10-13	13:07:07	2514	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:07	2514	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field override
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:07	2514	[DEBUG]	Use field value for field slug
2023-10-13	13:07:07	2514	[DEBUG]	Process line 2514
2023-10-13	13:07:07	2514	[DEBUG]	Load a row
2023-10-13	13:07:07	2514	[DEBUG]	Processing item: A_4543_40
2023-10-13	13:07:07	2514	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:07	2514	[DEBUG]	Processing product tax
2023-10-13	13:07:07	2514	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:07	2514	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:07	2514	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:07	2514	[DEBUG]	Query for Product
2023-10-13	13:07:07	2514	[DEBUG]	Executed store
2023-10-13	13:07:07	2514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4543_40','0.022','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:07	2514	[DEBUG]	Check product language entry
2023-10-13	13:07:07	2514	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862006
2023-10-13	13:07:07	2514	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:07	2514	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4543_40' AND `virtuemart_product_id` != 1862006
2023-10-13	13:07:07	2514	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:07	2514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862006, 'A_4543_40')
2023-10-13	13:07:07	2514	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:07	2514	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-disques-magura-mt-2-4-6-8-organiques-vert' AND `virtuemart_product_id` != 1862006
2023-10-13	13:07:07	2514	[DEBUG]	Query for ProductLang
2023-10-13	13:07:07	2514	[DEBUG]	Executed store
2023-10-13	13:07:07	2514	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques.MAGURA MT 2,4,6,8 organiques<br>N° art fourn : DK17ORG',`product_name`='MSC Plaquettes de freins disques.MAGURA MT 2,4,6,8 organiques / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-disques-magura-mt-2-4-6-8-organiques-vert' WHERE `virtuemart_product_id` = '1862006'
2023-10-13	13:07:07	2514	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27224_.jpg
2023-10-13	13:07:07	2514	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:07	2514	[DEBUG]	Process image file
2023-10-13	13:07:07	2514	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:07	2514	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:07	2514	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27224_.jpg
2023-10-13	13:07:07	2514	[DEBUG]	Full name target: bcprisme/27224_.jpg
2023-10-13	13:07:08	2514	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:08	2514	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27224_.jpg'
2023-10-13	13:07:08	2514	[DEBUG]	Query for Media
2023-10-13	13:07:08	2514	[DEBUG]	Executed store
2023-10-13	13:07:08	2514	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27224_.jpg',`file_url_thumb`='bcprisme/27224_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12865'
2023-10-13	13:07:08	2514	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:08	2514	[DEBUG]	Executed store
2023-10-13	13:07:08	2514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862006','12865','1')
2023-10-13	13:07:08	2514	[DEBUG]	Store product image relation
2023-10-13	13:07:08	2514	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:08	2514	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862006 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:08	2514	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:08	2514	[DEBUG]	Executed store
2023-10-13	13:07:08	2514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862006','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:08	2514	[DEBUG]	Checking manufacturer
2023-10-13	13:07:08	2514	[DEBUG]	Load a row
2023-10-13	13:07:08	2514	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:08	2514	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:08	2514	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:08	2514	[DEBUG]	Executed store
2023-10-13	13:07:08	2514	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:08	2514	[DEBUG]	Manufacturer exists
2023-10-13	13:07:08	2514	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:08	2514	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:08	2514	[DEBUG]	Executed store
2023-10-13	13:07:08	2514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862006','32')
2023-10-13	13:07:08	2514	[DEBUG]	Find the custom field ID
2023-10-13	13:07:08	2514	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:08	2514	[DEBUG]	No custom field ID found
2023-10-13	13:07:08	2514	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:08	2514	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:07:08	2514	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862006 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:08	2514	[DEBUG]	Store custom available field
2023-10-13	13:07:08	2514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862006,3,'14.8586111111111',1)
2023-10-13	13:07:08	2514	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:08	2514	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:08	2514	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862006 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:08	2514	[DEBUG]	Store custom available field
2023-10-13	13:07:08	2514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862006,6,'choisir la taille',3)
2023-10-13	13:07:08	2514	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:08	2514	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:08	2514	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:08	2514	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:08	2514	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862006 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:08	2514	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:08	2514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862006,8,1)
2023-10-13	13:07:08	2514	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:08	2514	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862006\":[1862006,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862006
2023-10-13	13:07:08	2514	[DEBUG]	Checking category
2023-10-13	13:07:08	2514	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:08	2514	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862006
2023-10-13	13:07:08	2514	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:08	2514	[DEBUG]	Executed store
2023-10-13	13:07:08	2514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862006','7345')
2023-10-13	13:07:08	2514	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:08	2514	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862006 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:08	2514	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:08	2514	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862006
2023-10-13	13:07:08	2515	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:08	2515	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:08	2515	[DEBUG]	Use field value for field taille
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:08	2515	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:08	2515	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:08	2515	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:08	2515	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:08	2515	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:08	2515	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:08	2515	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:08	2515	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:08	2515	[DEBUG]	Use field value for field published
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:08	2515	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field override
2023-10-13	13:07:08	2515	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:08	2515	[DEBUG]	Use field value for field slug
2023-10-13	13:07:08	2515	[DEBUG]	Process line 2515
2023-10-13	13:07:08	2515	[DEBUG]	Load a row
2023-10-13	13:07:08	2515	[DEBUG]	Processing item: 8435466212995
2023-10-13	13:07:08	2515	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:08	2515	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:08	2515	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4543_40'
2023-10-13	13:07:08	2515	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:08	2515	[DEBUG]	Processing product tax
2023-10-13	13:07:08	2515	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:08	2515	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:08	2515	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:08	2515	[DEBUG]	Query for Product
2023-10-13	13:07:08	2515	[DEBUG]	Executed store
2023-10-13	13:07:08	2515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862006','8435466212995','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:08	2515	[DEBUG]	No parent found
2023-10-13	13:07:08	2515	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862006 AND customfield_value = 'stockable'
2023-10-13	13:07:08	2515	[DEBUG]	Check product language entry
2023-10-13	13:07:08	2515	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862007
2023-10-13	13:07:08	2515	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:08	2515	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466212995' AND `virtuemart_product_id` != 1862007
2023-10-13	13:07:08	2515	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:08	2515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862007, '8435466212995')
2023-10-13	13:07:08	2515	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:08	2515	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-disques-magura-mt-2-4-6-8-organiques-vert-unitaire' AND `virtuemart_product_id` != 1862007
2023-10-13	13:07:08	2515	[DEBUG]	Query for ProductLang
2023-10-13	13:07:08	2515	[DEBUG]	Executed store
2023-10-13	13:07:08	2515	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins disques.MAGURA MT 2,4,6,8 organiques / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-disques-magura-mt-2-4-6-8-organiques-vert-unitaire' WHERE `virtuemart_product_id` = '1862007'
2023-10-13	13:07:08	2515	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27224_.jpg
2023-10-13	13:07:08	2515	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:08	2515	[DEBUG]	Process image file
2023-10-13	13:07:08	2515	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:08	2515	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:08	2515	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27224_.jpg
2023-10-13	13:07:08	2515	[DEBUG]	Full name target: bcprisme/27224_.jpg
2023-10-13	13:07:09	2515	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:09	2515	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27224_.jpg'
2023-10-13	13:07:09	2515	[DEBUG]	Query for Media
2023-10-13	13:07:09	2515	[DEBUG]	Executed store
2023-10-13	13:07:09	2515	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27224_.jpg',`file_url_thumb`='bcprisme/27224_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12865'
2023-10-13	13:07:09	2515	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:09	2515	[DEBUG]	Executed store
2023-10-13	13:07:09	2515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862007','12865','1')
2023-10-13	13:07:09	2515	[DEBUG]	Store product image relation
2023-10-13	13:07:09	2515	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:09	2515	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862007 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:09	2515	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:09	2515	[DEBUG]	Executed store
2023-10-13	13:07:09	2515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862007','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:09	2515	[DEBUG]	Checking manufacturer
2023-10-13	13:07:09	2515	[DEBUG]	Load a row
2023-10-13	13:07:09	2515	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:09	2515	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:09	2515	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:09	2515	[DEBUG]	Executed store
2023-10-13	13:07:09	2515	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:09	2515	[DEBUG]	Manufacturer exists
2023-10-13	13:07:09	2515	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:09	2515	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:09	2515	[DEBUG]	Executed store
2023-10-13	13:07:09	2515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862007','32')
2023-10-13	13:07:09	2515	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:09	2515	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:09	2515	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862007 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:09	2515	[DEBUG]	Store custom available field
2023-10-13	13:07:09	2515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862007,3,'',1)
2023-10-13	13:07:09	2515	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:09	2515	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:09	2515	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862007 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:09	2515	[DEBUG]	Store custom available field
2023-10-13	13:07:09	2515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862007,6,'Unitaire',3)
2023-10-13	13:07:09	2515	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:09	2515	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:09	2515	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862006
2023-10-13	13:07:09	2515	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:09	2515	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862006\":[1862006,8,1,\"choisir la taille\"],\"1862007\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862006
2023-10-13	13:07:09	2515	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:09	2515	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862007
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:09	2516	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field taille
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:09	2516	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:09	2516	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:09	2516	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:09	2516	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:09	2516	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:09	2516	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field published
2023-10-13	13:07:09	2516	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:09	2516	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field override
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:09	2516	[DEBUG]	Use field value for field slug
2023-10-13	13:07:09	2516	[DEBUG]	Process line 2516
2023-10-13	13:07:09	2516	[DEBUG]	Load a row
2023-10-13	13:07:09	2516	[DEBUG]	Processing item: A_4544_40
2023-10-13	13:07:09	2516	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:09	2516	[DEBUG]	Processing product tax
2023-10-13	13:07:09	2516	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:09	2516	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:09	2516	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:09	2516	[DEBUG]	Query for Product
2023-10-13	13:07:09	2516	[DEBUG]	Executed store
2023-10-13	13:07:09	2516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4544_40','0.022','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:09	2516	[DEBUG]	Check product language entry
2023-10-13	13:07:09	2516	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862008
2023-10-13	13:07:09	2516	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:09	2516	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4544_40' AND `virtuemart_product_id` != 1862008
2023-10-13	13:07:09	2516	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:09	2516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862008, 'A_4544_40')
2023-10-13	13:07:09	2516	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:09	2516	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-disques-magura-mt5-4-pistons-organiques-vert' AND `virtuemart_product_id` != 1862008
2023-10-13	13:07:09	2516	[DEBUG]	Query for ProductLang
2023-10-13	13:07:09	2516	[DEBUG]	Executed store
2023-10-13	13:07:09	2516	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques Magura MT5 4 pistons organiques<br>N° art fourn : DS61ORG',`product_name`='MSC Plaquettes de freins disques Magura MT5 4 pistons organiques / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-disques-magura-mt5-4-pistons-organiques-vert' WHERE `virtuemart_product_id` = '1862008'
2023-10-13	13:07:09	2516	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27225_.jpg
2023-10-13	13:07:09	2516	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:09	2516	[DEBUG]	Process image file
2023-10-13	13:07:09	2516	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:09	2516	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:09	2516	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27225_.jpg
2023-10-13	13:07:09	2516	[DEBUG]	Full name target: bcprisme/27225_.jpg
2023-10-13	13:07:10	2516	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:10	2516	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27225_.jpg'
2023-10-13	13:07:10	2516	[DEBUG]	Query for Media
2023-10-13	13:07:10	2516	[DEBUG]	Executed store
2023-10-13	13:07:10	2516	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27225_.jpg',`file_url_thumb`='bcprisme/27225_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12866'
2023-10-13	13:07:10	2516	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:10	2516	[DEBUG]	Executed store
2023-10-13	13:07:10	2516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862008','12866','1')
2023-10-13	13:07:10	2516	[DEBUG]	Store product image relation
2023-10-13	13:07:10	2516	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:10	2516	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862008 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:10	2516	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:10	2516	[DEBUG]	Executed store
2023-10-13	13:07:10	2516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862008','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:10	2516	[DEBUG]	Checking manufacturer
2023-10-13	13:07:10	2516	[DEBUG]	Load a row
2023-10-13	13:07:10	2516	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:10	2516	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:10	2516	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:10	2516	[DEBUG]	Executed store
2023-10-13	13:07:10	2516	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:10	2516	[DEBUG]	Manufacturer exists
2023-10-13	13:07:10	2516	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:10	2516	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:10	2516	[DEBUG]	Executed store
2023-10-13	13:07:10	2516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862008','32')
2023-10-13	13:07:10	2516	[DEBUG]	Find the custom field ID
2023-10-13	13:07:10	2516	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:10	2516	[DEBUG]	No custom field ID found
2023-10-13	13:07:10	2516	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:10	2516	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:07:10	2516	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862008 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:10	2516	[DEBUG]	Store custom available field
2023-10-13	13:07:10	2516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862008,3,'14.8586111111111',1)
2023-10-13	13:07:10	2516	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:10	2516	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:10	2516	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862008 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:10	2516	[DEBUG]	Store custom available field
2023-10-13	13:07:10	2516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862008,6,'choisir la taille',3)
2023-10-13	13:07:10	2516	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:10	2516	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:10	2516	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:10	2516	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:10	2516	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862008 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:10	2516	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:10	2516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862008,8,1)
2023-10-13	13:07:10	2516	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:10	2516	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862008\":[1862008,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862008
2023-10-13	13:07:10	2516	[DEBUG]	Checking category
2023-10-13	13:07:10	2516	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:10	2516	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862008
2023-10-13	13:07:10	2516	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:10	2516	[DEBUG]	Executed store
2023-10-13	13:07:10	2516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862008','7345')
2023-10-13	13:07:10	2516	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:10	2516	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862008 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:10	2516	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:10	2516	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862008
2023-10-13	13:07:10	2517	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:10	2517	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:10	2517	[DEBUG]	Use field value for field taille
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:10	2517	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:10	2517	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:10	2517	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:10	2517	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:10	2517	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:10	2517	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:10	2517	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:10	2517	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:10	2517	[DEBUG]	Use field value for field published
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:10	2517	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field override
2023-10-13	13:07:10	2517	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:10	2517	[DEBUG]	Use field value for field slug
2023-10-13	13:07:10	2517	[DEBUG]	Process line 2517
2023-10-13	13:07:10	2517	[DEBUG]	Load a row
2023-10-13	13:07:10	2517	[DEBUG]	Processing item: 8435466213008
2023-10-13	13:07:10	2517	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:10	2517	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:10	2517	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4544_40'
2023-10-13	13:07:10	2517	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:10	2517	[DEBUG]	Processing product tax
2023-10-13	13:07:10	2517	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:10	2517	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:10	2517	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:10	2517	[DEBUG]	Query for Product
2023-10-13	13:07:10	2517	[DEBUG]	Executed store
2023-10-13	13:07:10	2517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862008','8435466213008','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:10	2517	[DEBUG]	No parent found
2023-10-13	13:07:10	2517	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862008 AND customfield_value = 'stockable'
2023-10-13	13:07:10	2517	[DEBUG]	Check product language entry
2023-10-13	13:07:10	2517	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862009
2023-10-13	13:07:10	2517	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:10	2517	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213008' AND `virtuemart_product_id` != 1862009
2023-10-13	13:07:10	2517	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:10	2517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862009, '8435466213008')
2023-10-13	13:07:10	2517	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:10	2517	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-disques-magura-mt5-4-pistons-organiques-vert-unitaire' AND `virtuemart_product_id` != 1862009
2023-10-13	13:07:10	2517	[DEBUG]	Query for ProductLang
2023-10-13	13:07:10	2517	[DEBUG]	Executed store
2023-10-13	13:07:10	2517	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins disques Magura MT5 4 pistons organiques / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-disques-magura-mt5-4-pistons-organiques-vert-unitaire' WHERE `virtuemart_product_id` = '1862009'
2023-10-13	13:07:10	2517	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27225_.jpg
2023-10-13	13:07:10	2517	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:10	2517	[DEBUG]	Process image file
2023-10-13	13:07:10	2517	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:10	2517	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:10	2517	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27225_.jpg
2023-10-13	13:07:10	2517	[DEBUG]	Full name target: bcprisme/27225_.jpg
2023-10-13	13:07:11	2517	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:11	2517	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27225_.jpg'
2023-10-13	13:07:11	2517	[DEBUG]	Query for Media
2023-10-13	13:07:11	2517	[DEBUG]	Executed store
2023-10-13	13:07:11	2517	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27225_.jpg',`file_url_thumb`='bcprisme/27225_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12866'
2023-10-13	13:07:11	2517	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:11	2517	[DEBUG]	Executed store
2023-10-13	13:07:11	2517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862009','12866','1')
2023-10-13	13:07:11	2517	[DEBUG]	Store product image relation
2023-10-13	13:07:11	2517	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:11	2517	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862009 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:11	2517	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:11	2517	[DEBUG]	Executed store
2023-10-13	13:07:11	2517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862009','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:11	2517	[DEBUG]	Checking manufacturer
2023-10-13	13:07:11	2517	[DEBUG]	Load a row
2023-10-13	13:07:11	2517	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:11	2517	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:11	2517	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:11	2517	[DEBUG]	Executed store
2023-10-13	13:07:11	2517	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:11	2517	[DEBUG]	Manufacturer exists
2023-10-13	13:07:11	2517	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:11	2517	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:11	2517	[DEBUG]	Executed store
2023-10-13	13:07:11	2517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862009','32')
2023-10-13	13:07:11	2517	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:11	2517	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:11	2517	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862009 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:11	2517	[DEBUG]	Store custom available field
2023-10-13	13:07:11	2517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862009,3,'',1)
2023-10-13	13:07:11	2517	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:11	2517	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:11	2517	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862009 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:11	2517	[DEBUG]	Store custom available field
2023-10-13	13:07:11	2517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862009,6,'Unitaire',3)
2023-10-13	13:07:11	2517	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:11	2517	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:11	2517	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862008
2023-10-13	13:07:11	2517	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:11	2517	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862008\":[1862008,8,1,\"choisir la taille\"],\"1862009\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862008
2023-10-13	13:07:11	2517	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:11	2517	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862009
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:11	2518	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field taille
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:11	2518	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:11	2518	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:11	2518	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:11	2518	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:11	2518	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:11	2518	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field published
2023-10-13	13:07:11	2518	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:11	2518	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field override
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:11	2518	[DEBUG]	Use field value for field slug
2023-10-13	13:07:11	2518	[DEBUG]	Process line 2518
2023-10-13	13:07:11	2518	[DEBUG]	Load a row
2023-10-13	13:07:11	2518	[DEBUG]	Processing item: A_4545_40
2023-10-13	13:07:11	2518	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:11	2518	[DEBUG]	Processing product tax
2023-10-13	13:07:11	2518	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:11	2518	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:11	2518	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:11	2518	[DEBUG]	Query for Product
2023-10-13	13:07:11	2518	[DEBUG]	Executed store
2023-10-13	13:07:11	2518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4545_40','0.022','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:11	2518	[DEBUG]	Check product language entry
2023-10-13	13:07:11	2518	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862010
2023-10-13	13:07:11	2518	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:11	2518	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4545_40' AND `virtuemart_product_id` != 1862010
2023-10-13	13:07:11	2518	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:11	2518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862010, 'A_4545_40')
2023-10-13	13:07:11	2518	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:11	2518	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-disques-shimano-deore-m515-organiques-vert' AND `virtuemart_product_id` != 1862010
2023-10-13	13:07:11	2518	[DEBUG]	Query for ProductLang
2023-10-13	13:07:11	2518	[DEBUG]	Executed store
2023-10-13	13:07:11	2518	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques Shimano Deore M515 organiques<br>N° art fourn : DK23ORG',`product_name`='MSC Plaquettes de freins disques Shimano Deore M515 organiques / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-disques-shimano-deore-m515-organiques-vert' WHERE `virtuemart_product_id` = '1862010'
2023-10-13	13:07:11	2518	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27226_.jpg
2023-10-13	13:07:11	2518	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:11	2518	[DEBUG]	Process image file
2023-10-13	13:07:11	2518	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:11	2518	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:11	2518	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27226_.jpg
2023-10-13	13:07:11	2518	[DEBUG]	Full name target: bcprisme/27226_.jpg
2023-10-13	13:07:12	2518	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:12	2518	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27226_.jpg'
2023-10-13	13:07:12	2518	[DEBUG]	Query for Media
2023-10-13	13:07:12	2518	[DEBUG]	Executed store
2023-10-13	13:07:12	2518	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27226_.jpg',`file_url_thumb`='bcprisme/27226_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12867'
2023-10-13	13:07:12	2518	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:12	2518	[DEBUG]	Executed store
2023-10-13	13:07:12	2518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862010','12867','1')
2023-10-13	13:07:12	2518	[DEBUG]	Store product image relation
2023-10-13	13:07:12	2518	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:12	2518	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862010 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:12	2518	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:12	2518	[DEBUG]	Executed store
2023-10-13	13:07:12	2518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862010','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:12	2518	[DEBUG]	Checking manufacturer
2023-10-13	13:07:12	2518	[DEBUG]	Load a row
2023-10-13	13:07:12	2518	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:12	2518	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:12	2518	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:12	2518	[DEBUG]	Executed store
2023-10-13	13:07:12	2518	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:12	2518	[DEBUG]	Manufacturer exists
2023-10-13	13:07:12	2518	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:12	2518	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:12	2518	[DEBUG]	Executed store
2023-10-13	13:07:12	2518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862010','32')
2023-10-13	13:07:12	2518	[DEBUG]	Find the custom field ID
2023-10-13	13:07:12	2518	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:12	2518	[DEBUG]	No custom field ID found
2023-10-13	13:07:12	2518	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:12	2518	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:07:12	2518	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862010 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:12	2518	[DEBUG]	Store custom available field
2023-10-13	13:07:12	2518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862010,3,'14.8586111111111',1)
2023-10-13	13:07:12	2518	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:12	2518	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:12	2518	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862010 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:12	2518	[DEBUG]	Store custom available field
2023-10-13	13:07:12	2518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862010,6,'choisir la taille',3)
2023-10-13	13:07:12	2518	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:12	2518	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:12	2518	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:12	2518	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:12	2518	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862010 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:12	2518	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:12	2518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862010,8,1)
2023-10-13	13:07:12	2518	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:12	2518	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862010\":[1862010,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862010
2023-10-13	13:07:12	2518	[DEBUG]	Checking category
2023-10-13	13:07:12	2518	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:12	2518	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862010
2023-10-13	13:07:12	2518	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:12	2518	[DEBUG]	Executed store
2023-10-13	13:07:12	2518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862010','7345')
2023-10-13	13:07:12	2518	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:12	2518	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862010 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:12	2518	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:12	2518	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862010
2023-10-13	13:07:12	2519	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:12	2519	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:12	2519	[DEBUG]	Use field value for field taille
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:12	2519	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:12	2519	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:12	2519	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:12	2519	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:12	2519	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:12	2519	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:12	2519	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:12	2519	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:12	2519	[DEBUG]	Use field value for field published
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:12	2519	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field override
2023-10-13	13:07:12	2519	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:12	2519	[DEBUG]	Use field value for field slug
2023-10-13	13:07:12	2519	[DEBUG]	Process line 2519
2023-10-13	13:07:12	2519	[DEBUG]	Load a row
2023-10-13	13:07:12	2519	[DEBUG]	Processing item: 8435466212957
2023-10-13	13:07:12	2519	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:12	2519	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:12	2519	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4545_40'
2023-10-13	13:07:12	2519	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:12	2519	[DEBUG]	Processing product tax
2023-10-13	13:07:12	2519	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:12	2519	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:12	2519	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:12	2519	[DEBUG]	Query for Product
2023-10-13	13:07:12	2519	[DEBUG]	Executed store
2023-10-13	13:07:12	2519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862010','8435466212957','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:12	2519	[DEBUG]	No parent found
2023-10-13	13:07:12	2519	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862010 AND customfield_value = 'stockable'
2023-10-13	13:07:12	2519	[DEBUG]	Check product language entry
2023-10-13	13:07:12	2519	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862011
2023-10-13	13:07:12	2519	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:12	2519	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466212957' AND `virtuemart_product_id` != 1862011
2023-10-13	13:07:12	2519	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:12	2519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862011, '8435466212957')
2023-10-13	13:07:12	2519	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:12	2519	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-disques-shimano-deore-m515-organiques-vert-unitaire' AND `virtuemart_product_id` != 1862011
2023-10-13	13:07:12	2519	[DEBUG]	Query for ProductLang
2023-10-13	13:07:12	2519	[DEBUG]	Executed store
2023-10-13	13:07:12	2519	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins disques Shimano Deore M515 organiques / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-disques-shimano-deore-m515-organiques-vert-unitaire' WHERE `virtuemart_product_id` = '1862011'
2023-10-13	13:07:12	2519	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27226_.jpg
2023-10-13	13:07:12	2519	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:12	2519	[DEBUG]	Process image file
2023-10-13	13:07:12	2519	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:12	2519	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:12	2519	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27226_.jpg
2023-10-13	13:07:12	2519	[DEBUG]	Full name target: bcprisme/27226_.jpg
2023-10-13	13:07:13	2519	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:13	2519	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27226_.jpg'
2023-10-13	13:07:13	2519	[DEBUG]	Query for Media
2023-10-13	13:07:13	2519	[DEBUG]	Executed store
2023-10-13	13:07:13	2519	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27226_.jpg',`file_url_thumb`='bcprisme/27226_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12867'
2023-10-13	13:07:13	2519	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:13	2519	[DEBUG]	Executed store
2023-10-13	13:07:13	2519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862011','12867','1')
2023-10-13	13:07:13	2519	[DEBUG]	Store product image relation
2023-10-13	13:07:13	2519	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:13	2519	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862011 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:13	2519	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:13	2519	[DEBUG]	Executed store
2023-10-13	13:07:13	2519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862011','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:13	2519	[DEBUG]	Checking manufacturer
2023-10-13	13:07:13	2519	[DEBUG]	Load a row
2023-10-13	13:07:13	2519	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:13	2519	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:13	2519	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:13	2519	[DEBUG]	Executed store
2023-10-13	13:07:13	2519	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:13	2519	[DEBUG]	Manufacturer exists
2023-10-13	13:07:13	2519	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:13	2519	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:13	2519	[DEBUG]	Executed store
2023-10-13	13:07:13	2519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862011','32')
2023-10-13	13:07:13	2519	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:13	2519	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:13	2519	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862011 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:13	2519	[DEBUG]	Store custom available field
2023-10-13	13:07:13	2519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862011,3,'',1)
2023-10-13	13:07:13	2519	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:13	2519	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:13	2519	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862011 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:13	2519	[DEBUG]	Store custom available field
2023-10-13	13:07:13	2519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862011,6,'Unitaire',3)
2023-10-13	13:07:13	2519	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:13	2519	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:13	2519	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862010
2023-10-13	13:07:13	2519	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:13	2519	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862010\":[1862010,8,1,\"choisir la taille\"],\"1862011\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862010
2023-10-13	13:07:13	2519	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:13	2519	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862011
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:13	2520	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field taille
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:13	2520	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:13	2520	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:13	2520	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:13	2520	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:13	2520	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:13	2520	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field published
2023-10-13	13:07:13	2520	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:13	2520	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field override
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:13	2520	[DEBUG]	Use field value for field slug
2023-10-13	13:07:13	2520	[DEBUG]	Process line 2520
2023-10-13	13:07:13	2520	[DEBUG]	Load a row
2023-10-13	13:07:13	2520	[DEBUG]	Processing item: A_4546_40
2023-10-13	13:07:13	2520	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:13	2520	[DEBUG]	Processing product tax
2023-10-13	13:07:13	2520	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:13	2520	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:13	2520	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:13	2520	[DEBUG]	Query for Product
2023-10-13	13:07:13	2520	[DEBUG]	Executed store
2023-10-13	13:07:13	2520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4546_40','0.022','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:13	2520	[DEBUG]	Check product language entry
2023-10-13	13:07:13	2520	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862012
2023-10-13	13:07:13	2520	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:13	2520	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4546_40' AND `virtuemart_product_id` != 1862012
2023-10-13	13:07:13	2520	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:13	2520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862012, 'A_4546_40')
2023-10-13	13:07:13	2520	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:13	2520	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-disques-shimano-xt-slx-2012-organiques-vert' AND `virtuemart_product_id` != 1862012
2023-10-13	13:07:13	2520	[DEBUG]	Query for ProductLang
2023-10-13	13:07:13	2520	[DEBUG]	Executed store
2023-10-13	13:07:13	2520	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques Shimano XT/SLX 2012 organiques<br>N° art fourn : DK26ORG',`product_name`='MSC Plaquettes de freins disques Shimano XT/SLX 2012 organiques / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-disques-shimano-xt-slx-2012-organiques-vert' WHERE `virtuemart_product_id` = '1862012'
2023-10-13	13:07:13	2520	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27227_.jpg
2023-10-13	13:07:13	2520	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:13	2520	[DEBUG]	Process image file
2023-10-13	13:07:13	2520	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:13	2520	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:13	2520	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27227_.jpg
2023-10-13	13:07:13	2520	[DEBUG]	Full name target: bcprisme/27227_.jpg
2023-10-13	13:07:14	2520	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:14	2520	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27227_.jpg'
2023-10-13	13:07:14	2520	[DEBUG]	Query for Media
2023-10-13	13:07:14	2520	[DEBUG]	Executed store
2023-10-13	13:07:14	2520	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27227_.jpg',`file_url_thumb`='bcprisme/27227_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12868'
2023-10-13	13:07:14	2520	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:14	2520	[DEBUG]	Executed store
2023-10-13	13:07:14	2520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862012','12868','1')
2023-10-13	13:07:14	2520	[DEBUG]	Store product image relation
2023-10-13	13:07:14	2520	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:14	2520	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862012 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:14	2520	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:14	2520	[DEBUG]	Executed store
2023-10-13	13:07:14	2520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862012','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:14	2520	[DEBUG]	Checking manufacturer
2023-10-13	13:07:14	2520	[DEBUG]	Load a row
2023-10-13	13:07:14	2520	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:14	2520	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:14	2520	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:14	2520	[DEBUG]	Executed store
2023-10-13	13:07:14	2520	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:14	2520	[DEBUG]	Manufacturer exists
2023-10-13	13:07:14	2520	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:14	2520	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:14	2520	[DEBUG]	Executed store
2023-10-13	13:07:14	2520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862012','32')
2023-10-13	13:07:14	2520	[DEBUG]	Find the custom field ID
2023-10-13	13:07:14	2520	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:14	2520	[DEBUG]	No custom field ID found
2023-10-13	13:07:14	2520	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:14	2520	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:07:14	2520	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862012 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:14	2520	[DEBUG]	Store custom available field
2023-10-13	13:07:14	2520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862012,3,'14.8586111111111',1)
2023-10-13	13:07:14	2520	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:14	2520	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:14	2520	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862012 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:14	2520	[DEBUG]	Store custom available field
2023-10-13	13:07:14	2520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862012,6,'choisir la taille',3)
2023-10-13	13:07:14	2520	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:14	2520	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:14	2520	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:14	2520	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:14	2520	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862012 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:14	2520	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:14	2520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862012,8,1)
2023-10-13	13:07:14	2520	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:14	2520	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862012\":[1862012,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862012
2023-10-13	13:07:14	2520	[DEBUG]	Checking category
2023-10-13	13:07:14	2520	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:14	2520	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862012
2023-10-13	13:07:14	2520	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:14	2520	[DEBUG]	Executed store
2023-10-13	13:07:14	2520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862012','7345')
2023-10-13	13:07:14	2520	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:14	2520	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862012 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:14	2520	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:14	2520	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862012
2023-10-13	13:07:14	2521	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:14	2521	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:14	2521	[DEBUG]	Use field value for field taille
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:14	2521	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:14	2521	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:14	2521	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:14	2521	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:14	2521	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:14	2521	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:14	2521	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:14	2521	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:14	2521	[DEBUG]	Use field value for field published
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:14	2521	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field override
2023-10-13	13:07:14	2521	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:14	2521	[DEBUG]	Use field value for field slug
2023-10-13	13:07:14	2521	[DEBUG]	Process line 2521
2023-10-13	13:07:14	2521	[DEBUG]	Load a row
2023-10-13	13:07:14	2521	[DEBUG]	Processing item: 8435466212964
2023-10-13	13:07:14	2521	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:14	2521	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:14	2521	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4546_40'
2023-10-13	13:07:14	2521	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:14	2521	[DEBUG]	Processing product tax
2023-10-13	13:07:14	2521	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:14	2521	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:14	2521	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:14	2521	[DEBUG]	Query for Product
2023-10-13	13:07:14	2521	[DEBUG]	Executed store
2023-10-13	13:07:14	2521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862012','8435466212964','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:14	2521	[DEBUG]	No parent found
2023-10-13	13:07:14	2521	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862012 AND customfield_value = 'stockable'
2023-10-13	13:07:14	2521	[DEBUG]	Check product language entry
2023-10-13	13:07:14	2521	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862013
2023-10-13	13:07:14	2521	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:14	2521	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466212964' AND `virtuemart_product_id` != 1862013
2023-10-13	13:07:14	2521	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:14	2521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862013, '8435466212964')
2023-10-13	13:07:14	2521	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:14	2521	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-disques-shimano-xt-slx-2012-organiques-vert-unitaire' AND `virtuemart_product_id` != 1862013
2023-10-13	13:07:14	2521	[DEBUG]	Query for ProductLang
2023-10-13	13:07:14	2521	[DEBUG]	Executed store
2023-10-13	13:07:14	2521	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins disques Shimano XT/SLX 2012 organiques / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-disques-shimano-xt-slx-2012-organiques-vert-unitaire' WHERE `virtuemart_product_id` = '1862013'
2023-10-13	13:07:14	2521	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27227_.jpg
2023-10-13	13:07:14	2521	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:14	2521	[DEBUG]	Process image file
2023-10-13	13:07:14	2521	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:14	2521	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:14	2521	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27227_.jpg
2023-10-13	13:07:14	2521	[DEBUG]	Full name target: bcprisme/27227_.jpg
2023-10-13	13:07:15	2521	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:15	2521	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27227_.jpg'
2023-10-13	13:07:15	2521	[DEBUG]	Query for Media
2023-10-13	13:07:15	2521	[DEBUG]	Executed store
2023-10-13	13:07:15	2521	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27227_.jpg',`file_url_thumb`='bcprisme/27227_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12868'
2023-10-13	13:07:15	2521	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:15	2521	[DEBUG]	Executed store
2023-10-13	13:07:15	2521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862013','12868','1')
2023-10-13	13:07:15	2521	[DEBUG]	Store product image relation
2023-10-13	13:07:15	2521	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:15	2521	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862013 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:15	2521	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:15	2521	[DEBUG]	Executed store
2023-10-13	13:07:15	2521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862013','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:15	2521	[DEBUG]	Checking manufacturer
2023-10-13	13:07:15	2521	[DEBUG]	Load a row
2023-10-13	13:07:15	2521	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:15	2521	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:15	2521	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:15	2521	[DEBUG]	Executed store
2023-10-13	13:07:15	2521	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:15	2521	[DEBUG]	Manufacturer exists
2023-10-13	13:07:15	2521	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:15	2521	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:15	2521	[DEBUG]	Executed store
2023-10-13	13:07:15	2521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862013','32')
2023-10-13	13:07:15	2521	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:15	2521	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:15	2521	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862013 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:15	2521	[DEBUG]	Store custom available field
2023-10-13	13:07:15	2521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862013,3,'',1)
2023-10-13	13:07:15	2521	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:15	2521	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:15	2521	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862013 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:15	2521	[DEBUG]	Store custom available field
2023-10-13	13:07:15	2521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862013,6,'Unitaire',3)
2023-10-13	13:07:15	2521	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:15	2521	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:15	2521	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862012
2023-10-13	13:07:15	2521	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:15	2521	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862012\":[1862012,8,1,\"choisir la taille\"],\"1862013\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862012
2023-10-13	13:07:15	2521	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:15	2521	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862013
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:15	2522	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field taille
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:15	2522	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:15	2522	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:15	2522	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:15	2522	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:15	2522	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:15	2522	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field published
2023-10-13	13:07:15	2522	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:15	2522	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field override
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:15	2522	[DEBUG]	Use field value for field slug
2023-10-13	13:07:15	2522	[DEBUG]	Process line 2522
2023-10-13	13:07:15	2522	[DEBUG]	Load a row
2023-10-13	13:07:15	2522	[DEBUG]	Processing item: A_4547_40
2023-10-13	13:07:15	2522	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:15	2522	[DEBUG]	Processing product tax
2023-10-13	13:07:15	2522	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:15	2522	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:15	2522	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:15	2522	[DEBUG]	Query for Product
2023-10-13	13:07:15	2522	[DEBUG]	Executed store
2023-10-13	13:07:15	2522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4547_40','0.022','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:15	2522	[DEBUG]	Check product language entry
2023-10-13	13:07:15	2522	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862014
2023-10-13	13:07:15	2522	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:15	2522	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4547_40' AND `virtuemart_product_id` != 1862014
2023-10-13	13:07:15	2522	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:15	2522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862014, 'A_4547_40')
2023-10-13	13:07:15	2522	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:15	2522	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-disques-formula-mega-one-r-rxr-organiques-vert' AND `virtuemart_product_id` != 1862014
2023-10-13	13:07:15	2522	[DEBUG]	Query for ProductLang
2023-10-13	13:07:15	2522	[DEBUG]	Executed store
2023-10-13	13:07:15	2522	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes frein disques Formula Mega One,R,RXR organiques<br>N° art fourn : DK84ORG',`product_name`='MSC Plaquettes de freins disques Formula Mega One,R,RXR organiques / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-disques-formula-mega-one-r-rxr-organiques-vert' WHERE `virtuemart_product_id` = '1862014'
2023-10-13	13:07:15	2522	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27228_.jpg
2023-10-13	13:07:15	2522	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:15	2522	[DEBUG]	Process image file
2023-10-13	13:07:15	2522	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:15	2522	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:15	2522	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27228_.jpg
2023-10-13	13:07:15	2522	[DEBUG]	Full name target: bcprisme/27228_.jpg
2023-10-13	13:07:16	2522	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:16	2522	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27228_.jpg'
2023-10-13	13:07:16	2522	[DEBUG]	Query for Media
2023-10-13	13:07:16	2522	[DEBUG]	Executed store
2023-10-13	13:07:16	2522	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27228_.jpg',`file_url_thumb`='bcprisme/27228_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12869'
2023-10-13	13:07:16	2522	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:16	2522	[DEBUG]	Executed store
2023-10-13	13:07:16	2522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862014','12869','1')
2023-10-13	13:07:16	2522	[DEBUG]	Store product image relation
2023-10-13	13:07:16	2522	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:16	2522	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862014 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:16	2522	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:16	2522	[DEBUG]	Executed store
2023-10-13	13:07:16	2522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862014','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:16	2522	[DEBUG]	Checking manufacturer
2023-10-13	13:07:16	2522	[DEBUG]	Load a row
2023-10-13	13:07:16	2522	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:16	2522	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:16	2522	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:16	2522	[DEBUG]	Executed store
2023-10-13	13:07:16	2522	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:16	2522	[DEBUG]	Manufacturer exists
2023-10-13	13:07:16	2522	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:16	2522	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:16	2522	[DEBUG]	Executed store
2023-10-13	13:07:16	2522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862014','32')
2023-10-13	13:07:16	2522	[DEBUG]	Find the custom field ID
2023-10-13	13:07:16	2522	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:16	2522	[DEBUG]	No custom field ID found
2023-10-13	13:07:16	2522	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:16	2522	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:07:16	2522	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862014 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:16	2522	[DEBUG]	Store custom available field
2023-10-13	13:07:16	2522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862014,3,'14.8586111111111',1)
2023-10-13	13:07:16	2522	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:16	2522	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:16	2522	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862014 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:16	2522	[DEBUG]	Store custom available field
2023-10-13	13:07:16	2522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862014,6,'choisir la taille',3)
2023-10-13	13:07:16	2522	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:16	2522	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:16	2522	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:16	2522	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:16	2522	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862014 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:16	2522	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:16	2522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862014,8,1)
2023-10-13	13:07:16	2522	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:16	2522	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862014\":[1862014,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862014
2023-10-13	13:07:16	2522	[DEBUG]	Checking category
2023-10-13	13:07:16	2522	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:16	2522	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862014
2023-10-13	13:07:16	2522	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:16	2522	[DEBUG]	Executed store
2023-10-13	13:07:16	2522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862014','7345')
2023-10-13	13:07:16	2522	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:16	2522	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862014 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:16	2522	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:16	2522	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862014
2023-10-13	13:07:16	2523	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:16	2523	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:16	2523	[DEBUG]	Use field value for field taille
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:16	2523	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:16	2523	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:16	2523	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:16	2523	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:16	2523	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:16	2523	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:16	2523	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:16	2523	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:16	2523	[DEBUG]	Use field value for field published
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:16	2523	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field override
2023-10-13	13:07:16	2523	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:16	2523	[DEBUG]	Use field value for field slug
2023-10-13	13:07:16	2523	[DEBUG]	Process line 2523
2023-10-13	13:07:16	2523	[DEBUG]	Load a row
2023-10-13	13:07:16	2523	[DEBUG]	Processing item: 8435466212988
2023-10-13	13:07:16	2523	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:16	2523	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:16	2523	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4547_40'
2023-10-13	13:07:16	2523	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:16	2523	[DEBUG]	Processing product tax
2023-10-13	13:07:16	2523	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:16	2523	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:16	2523	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:16	2523	[DEBUG]	Query for Product
2023-10-13	13:07:16	2523	[DEBUG]	Executed store
2023-10-13	13:07:16	2523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862014','8435466212988','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:16	2523	[DEBUG]	No parent found
2023-10-13	13:07:16	2523	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862014 AND customfield_value = 'stockable'
2023-10-13	13:07:16	2523	[DEBUG]	Check product language entry
2023-10-13	13:07:16	2523	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862015
2023-10-13	13:07:16	2523	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:16	2523	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466212988' AND `virtuemart_product_id` != 1862015
2023-10-13	13:07:16	2523	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:16	2523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862015, '8435466212988')
2023-10-13	13:07:16	2523	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:16	2523	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-disques-formula-mega-one-r-rxr-organiques-vert-unitaire' AND `virtuemart_product_id` != 1862015
2023-10-13	13:07:16	2523	[DEBUG]	Query for ProductLang
2023-10-13	13:07:16	2523	[DEBUG]	Executed store
2023-10-13	13:07:16	2523	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins disques Formula Mega One,R,RXR organiques / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-disques-formula-mega-one-r-rxr-organiques-vert-unitaire' WHERE `virtuemart_product_id` = '1862015'
2023-10-13	13:07:16	2523	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27228_.jpg
2023-10-13	13:07:16	2523	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:16	2523	[DEBUG]	Process image file
2023-10-13	13:07:16	2523	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:16	2523	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:16	2523	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27228_.jpg
2023-10-13	13:07:16	2523	[DEBUG]	Full name target: bcprisme/27228_.jpg
2023-10-13	13:07:17	2523	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:17	2523	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27228_.jpg'
2023-10-13	13:07:17	2523	[DEBUG]	Query for Media
2023-10-13	13:07:17	2523	[DEBUG]	Executed store
2023-10-13	13:07:17	2523	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27228_.jpg',`file_url_thumb`='bcprisme/27228_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12869'
2023-10-13	13:07:17	2523	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:17	2523	[DEBUG]	Executed store
2023-10-13	13:07:17	2523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862015','12869','1')
2023-10-13	13:07:17	2523	[DEBUG]	Store product image relation
2023-10-13	13:07:17	2523	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:17	2523	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862015 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:17	2523	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:17	2523	[DEBUG]	Executed store
2023-10-13	13:07:17	2523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862015','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:17	2523	[DEBUG]	Checking manufacturer
2023-10-13	13:07:17	2523	[DEBUG]	Load a row
2023-10-13	13:07:17	2523	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:17	2523	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:17	2523	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:17	2523	[DEBUG]	Executed store
2023-10-13	13:07:17	2523	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:17	2523	[DEBUG]	Manufacturer exists
2023-10-13	13:07:17	2523	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:17	2523	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:17	2523	[DEBUG]	Executed store
2023-10-13	13:07:17	2523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862015','32')
2023-10-13	13:07:17	2523	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:17	2523	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:17	2523	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862015 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:17	2523	[DEBUG]	Store custom available field
2023-10-13	13:07:17	2523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862015,3,'',1)
2023-10-13	13:07:17	2523	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:17	2523	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:17	2523	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862015 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:17	2523	[DEBUG]	Store custom available field
2023-10-13	13:07:17	2523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862015,6,'Unitaire',3)
2023-10-13	13:07:17	2523	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:17	2523	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:17	2523	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862014
2023-10-13	13:07:17	2523	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:17	2523	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862014\":[1862014,8,1,\"choisir la taille\"],\"1862015\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862014
2023-10-13	13:07:17	2523	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:17	2523	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862015
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:17	2524	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field taille
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:17	2524	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:17	2524	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:17	2524	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:17	2524	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:17	2524	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:17	2524	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field published
2023-10-13	13:07:17	2524	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:17	2524	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field override
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:17	2524	[DEBUG]	Use field value for field slug
2023-10-13	13:07:17	2524	[DEBUG]	Process line 2524
2023-10-13	13:07:17	2524	[DEBUG]	Load a row
2023-10-13	13:07:17	2524	[DEBUG]	Processing item: A_4603_40
2023-10-13	13:07:17	2524	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:17	2524	[DEBUG]	Processing product tax
2023-10-13	13:07:17	2524	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:17	2524	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:17	2524	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:17	2524	[DEBUG]	Query for Product
2023-10-13	13:07:17	2524	[DEBUG]	Executed store
2023-10-13	13:07:17	2524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4603_40','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:17	2524	[DEBUG]	Check product language entry
2023-10-13	13:07:17	2524	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862016
2023-10-13	13:07:17	2524	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:17	2524	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4603_40' AND `virtuemart_product_id` != 1862016
2023-10-13	13:07:17	2524	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:17	2524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862016, 'A_4603_40')
2023-10-13	13:07:17	2524	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:17	2524	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-diques-avid-bb7-et-juicys-organiques-vert' AND `virtuemart_product_id` != 1862016
2023-10-13	13:07:17	2524	[DEBUG]	Query for ProductLang
2023-10-13	13:07:17	2524	[DEBUG]	Executed store
2023-10-13	13:07:17	2524	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. 40gr<br>N° art fourn : DK61ORG',`product_name`='MSC Plaquettes de freins diques Avid BB7 et Juicys organiques / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-diques-avid-bb7-et-juicys-organiques-vert' WHERE `virtuemart_product_id` = '1862016'
2023-10-13	13:07:17	2524	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27348_plaquettes_de_freins_diques_avid_bb7_et_juicys_organiques.jpg
2023-10-13	13:07:17	2524	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:17	2524	[DEBUG]	Process image file
2023-10-13	13:07:17	2524	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:17	2524	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:17	2524	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27348_plaquettes_de_freins_diques_avid_bb7_et_juicys_organiques.jpg
2023-10-13	13:07:17	2524	[DEBUG]	Full name target: bcprisme/27348_plaquettes_de_freins_diques_avid_bb7_et_juicys_organiques.jpg
2023-10-13	13:07:18	2524	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:18	2524	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27348_plaquettes_de_freins_diques_avid_bb7_et_juicys_organiques.jpg'
2023-10-13	13:07:18	2524	[DEBUG]	Query for Media
2023-10-13	13:07:18	2524	[DEBUG]	Executed store
2023-10-13	13:07:18	2524	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27348_plaquettes_de_freins_diques_avid_bb7_et_juicys_organiques.jpg',`file_url_thumb`='bcprisme/27348_plaquettes_de_freins_diques_avid_bb7_et_juicys_organiques.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12870'
2023-10-13	13:07:18	2524	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:18	2524	[DEBUG]	Executed store
2023-10-13	13:07:18	2524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862016','12870','1')
2023-10-13	13:07:18	2524	[DEBUG]	Store product image relation
2023-10-13	13:07:18	2524	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:18	2524	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862016 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:18	2524	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:18	2524	[DEBUG]	Executed store
2023-10-13	13:07:18	2524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862016','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:18	2524	[DEBUG]	Checking manufacturer
2023-10-13	13:07:18	2524	[DEBUG]	Load a row
2023-10-13	13:07:18	2524	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:18	2524	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:18	2524	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:18	2524	[DEBUG]	Executed store
2023-10-13	13:07:18	2524	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:18	2524	[DEBUG]	Manufacturer exists
2023-10-13	13:07:18	2524	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:18	2524	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:18	2524	[DEBUG]	Executed store
2023-10-13	13:07:18	2524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862016','32')
2023-10-13	13:07:18	2524	[DEBUG]	Find the custom field ID
2023-10-13	13:07:18	2524	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:18	2524	[DEBUG]	No custom field ID found
2023-10-13	13:07:18	2524	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:18	2524	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:07:18	2524	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862016 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:18	2524	[DEBUG]	Store custom available field
2023-10-13	13:07:18	2524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862016,3,'16.8530555555556',1)
2023-10-13	13:07:18	2524	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:18	2524	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:18	2524	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862016 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:18	2524	[DEBUG]	Store custom available field
2023-10-13	13:07:18	2524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862016,6,'choisir la taille',3)
2023-10-13	13:07:18	2524	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:18	2524	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:18	2524	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:18	2524	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:18	2524	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862016 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:18	2524	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:18	2524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862016,8,1)
2023-10-13	13:07:18	2524	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:18	2524	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862016\":[1862016,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862016
2023-10-13	13:07:18	2524	[DEBUG]	Checking category
2023-10-13	13:07:18	2524	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:18	2524	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862016
2023-10-13	13:07:18	2524	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:18	2524	[DEBUG]	Executed store
2023-10-13	13:07:18	2524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862016','7345')
2023-10-13	13:07:18	2524	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:18	2524	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862016 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:18	2524	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:18	2524	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862016
2023-10-13	13:07:18	2525	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:18	2525	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:18	2525	[DEBUG]	Use field value for field taille
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:18	2525	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:18	2525	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:18	2525	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:18	2525	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:18	2525	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:18	2525	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:18	2525	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:18	2525	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:18	2525	[DEBUG]	Use field value for field published
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:18	2525	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field override
2023-10-13	13:07:18	2525	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:18	2525	[DEBUG]	Use field value for field slug
2023-10-13	13:07:18	2525	[DEBUG]	Process line 2525
2023-10-13	13:07:18	2525	[DEBUG]	Load a row
2023-10-13	13:07:18	2525	[DEBUG]	Processing item: 765250001879
2023-10-13	13:07:18	2525	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:18	2525	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:18	2525	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4603_40'
2023-10-13	13:07:18	2525	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:18	2525	[DEBUG]	Processing product tax
2023-10-13	13:07:18	2525	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:18	2525	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:18	2525	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:18	2525	[DEBUG]	Query for Product
2023-10-13	13:07:18	2525	[DEBUG]	Executed store
2023-10-13	13:07:18	2525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862016','765250001879','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:18	2525	[DEBUG]	No parent found
2023-10-13	13:07:18	2525	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862016 AND customfield_value = 'stockable'
2023-10-13	13:07:18	2525	[DEBUG]	Check product language entry
2023-10-13	13:07:18	2525	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862017
2023-10-13	13:07:18	2525	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:18	2525	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '765250001879' AND `virtuemart_product_id` != 1862017
2023-10-13	13:07:18	2525	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:18	2525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862017, '765250001879')
2023-10-13	13:07:18	2525	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:18	2525	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-diques-avid-bb7-et-juicys-organiques-vert-set' AND `virtuemart_product_id` != 1862017
2023-10-13	13:07:18	2525	[DEBUG]	Query for ProductLang
2023-10-13	13:07:18	2525	[DEBUG]	Executed store
2023-10-13	13:07:18	2525	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins diques Avid BB7 et Juicys organiques / Vert (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-diques-avid-bb7-et-juicys-organiques-vert-set' WHERE `virtuemart_product_id` = '1862017'
2023-10-13	13:07:19	2525	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27348_plaquettes_de_freins_diques_avid_bb7_et_juicys_organiques.jpg
2023-10-13	13:07:19	2525	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:19	2525	[DEBUG]	Process image file
2023-10-13	13:07:19	2525	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:19	2525	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:19	2525	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27348_plaquettes_de_freins_diques_avid_bb7_et_juicys_organiques.jpg
2023-10-13	13:07:19	2525	[DEBUG]	Full name target: bcprisme/27348_plaquettes_de_freins_diques_avid_bb7_et_juicys_organiques.jpg
2023-10-13	13:07:19	2525	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:19	2525	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27348_plaquettes_de_freins_diques_avid_bb7_et_juicys_organiques.jpg'
2023-10-13	13:07:19	2525	[DEBUG]	Query for Media
2023-10-13	13:07:19	2525	[DEBUG]	Executed store
2023-10-13	13:07:19	2525	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27348_plaquettes_de_freins_diques_avid_bb7_et_juicys_organiques.jpg',`file_url_thumb`='bcprisme/27348_plaquettes_de_freins_diques_avid_bb7_et_juicys_organiques.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12870'
2023-10-13	13:07:19	2525	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:19	2525	[DEBUG]	Executed store
2023-10-13	13:07:19	2525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862017','12870','1')
2023-10-13	13:07:19	2525	[DEBUG]	Store product image relation
2023-10-13	13:07:19	2525	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:19	2525	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862017 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:19	2525	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:19	2525	[DEBUG]	Executed store
2023-10-13	13:07:19	2525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862017','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:19	2525	[DEBUG]	Checking manufacturer
2023-10-13	13:07:19	2525	[DEBUG]	Load a row
2023-10-13	13:07:19	2525	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:19	2525	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:19	2525	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:19	2525	[DEBUG]	Executed store
2023-10-13	13:07:19	2525	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:07:19	2525	[DEBUG]	Manufacturer exists
2023-10-13	13:07:19	2525	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:07:19	2525	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:19	2525	[DEBUG]	Executed store
2023-10-13	13:07:19	2525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862017','32')
2023-10-13	13:07:20	2525	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:20	2525	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:20	2525	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862017 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:20	2525	[DEBUG]	Store custom available field
2023-10-13	13:07:20	2525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862017,3,'',1)
2023-10-13	13:07:20	2525	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:20	2525	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:07:20	2525	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862017 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:20	2525	[DEBUG]	Store custom available field
2023-10-13	13:07:20	2525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862017,6,'Set',3)
2023-10-13	13:07:20	2525	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:20	2525	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:20	2525	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862016
2023-10-13	13:07:20	2525	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:20	2525	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862016\":[1862016,8,1,\"choisir la taille\"],\"1862017\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862016
2023-10-13	13:07:20	2525	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:20	2525	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862017
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:20	2526	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field taille
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:20	2526	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:20	2526	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:20	2526	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:20	2526	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:20	2526	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:20	2526	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:20	2526	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field published
2023-10-13	13:07:20	2526	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:20	2526	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field override
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:20	2526	[DEBUG]	Use field value for field slug
2023-10-13	13:07:20	2526	[DEBUG]	Process line 2526
2023-10-13	13:07:20	2526	[DEBUG]	Load a row
2023-10-13	13:07:20	2526	[DEBUG]	Processing item: A_5560_208
2023-10-13	13:07:20	2526	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:20	2526	[DEBUG]	Processing product tax
2023-10-13	13:07:20	2526	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:20	2526	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:20	2526	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:20	2526	[DEBUG]	Query for Product
2023-10-13	13:07:20	2526	[DEBUG]	Executed store
2023-10-13	13:07:20	2526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5560_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:20	2526	[DEBUG]	Check product language entry
2023-10-13	13:07:20	2526	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862018
2023-10-13	13:07:20	2526	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:20	2526	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5560_208' AND `virtuemart_product_id` != 1862018
2023-10-13	13:07:20	2526	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:20	2526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862018, 'A_5560_208')
2023-10-13	13:07:20	2526	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:20	2526	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-saint-d01s-resin-avec-ressort-et-goupille-fendue-paires-blister-aucune' AND `virtuemart_product_id` != 1862018
2023-10-13	13:07:20	2526	[DEBUG]	Query for ProductLang
2023-10-13	13:07:20	2526	[DEBUG]	Executed store
2023-10-13	13:07:20	2526	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.49409',`product_name`='SHIMANO plaquettes Saint D01S Resin avec ressort et goupille fendue paires blister / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-saint-d01s-resin-avec-ressort-et-goupille-fendue-paires-blister-aucune' WHERE `virtuemart_product_id` = '1862018'
2023-10-13	13:07:20	2526	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30060_shimano_plaquettes_saint_d01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:20	2526	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:20	2526	[DEBUG]	Process image file
2023-10-13	13:07:20	2526	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:20	2526	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:20	2526	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30060_shimano_plaquettes_saint_d01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:20	2526	[DEBUG]	Full name target: bcprisme/30060_shimano_plaquettes_saint_d01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:21	2526	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:21	2526	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30060_shimano_plaquettes_saint_d01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg'
2023-10-13	13:07:21	2526	[DEBUG]	Query for Media
2023-10-13	13:07:21	2526	[DEBUG]	Executed store
2023-10-13	13:07:21	2526	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30060_shimano_plaquettes_saint_d01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_url_thumb`='bcprisme/30060_shimano_plaquettes_saint_d01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16571'
2023-10-13	13:07:21	2526	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:21	2526	[DEBUG]	Executed store
2023-10-13	13:07:21	2526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862018','16571','1')
2023-10-13	13:07:21	2526	[DEBUG]	Store product image relation
2023-10-13	13:07:21	2526	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:21	2526	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862018 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:21	2526	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:21	2526	[DEBUG]	Executed store
2023-10-13	13:07:21	2526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862018','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:21	2526	[DEBUG]	Checking manufacturer
2023-10-13	13:07:21	2526	[DEBUG]	Load a row
2023-10-13	13:07:21	2526	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:21	2526	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:21	2526	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:21	2526	[DEBUG]	Executed store
2023-10-13	13:07:21	2526	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:21	2526	[DEBUG]	Manufacturer exists
2023-10-13	13:07:21	2526	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:07:21	2526	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:21	2526	[DEBUG]	Executed store
2023-10-13	13:07:21	2526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862018','123')
2023-10-13	13:07:21	2526	[DEBUG]	Find the custom field ID
2023-10-13	13:07:21	2526	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:21	2526	[DEBUG]	No custom field ID found
2023-10-13	13:07:21	2526	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:21	2526	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:07:21	2526	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862018 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:21	2526	[DEBUG]	Store custom available field
2023-10-13	13:07:21	2526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862018,3,'0',1)
2023-10-13	13:07:21	2526	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:21	2526	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:21	2526	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862018 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:21	2526	[DEBUG]	Store custom available field
2023-10-13	13:07:21	2526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862018,6,'choisir la taille',3)
2023-10-13	13:07:21	2526	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:21	2526	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:21	2526	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:21	2526	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:21	2526	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862018 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:21	2526	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:21	2526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862018,8,1)
2023-10-13	13:07:21	2526	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:21	2526	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862018\":[1862018,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862018
2023-10-13	13:07:21	2526	[DEBUG]	Checking category
2023-10-13	13:07:21	2526	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:21	2526	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862018
2023-10-13	13:07:21	2526	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:21	2526	[DEBUG]	Executed store
2023-10-13	13:07:21	2526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862018','7345')
2023-10-13	13:07:21	2526	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:21	2526	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862018 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:21	2526	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:21	2526	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862018
2023-10-13	13:07:21	2527	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:21	2527	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:21	2527	[DEBUG]	Use field value for field taille
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:21	2527	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:21	2527	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:21	2527	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:21	2527	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:21	2527	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:21	2527	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:21	2527	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:21	2527	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:21	2527	[DEBUG]	Use field value for field published
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:21	2527	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field override
2023-10-13	13:07:21	2527	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:21	2527	[DEBUG]	Use field value for field slug
2023-10-13	13:07:21	2527	[DEBUG]	Process line 2527
2023-10-13	13:07:21	2527	[DEBUG]	Load a row
2023-10-13	13:07:21	2527	[DEBUG]	Processing item: 4524667333630
2023-10-13	13:07:21	2527	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:21	2527	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:21	2527	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5560_208'
2023-10-13	13:07:21	2527	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:21	2527	[DEBUG]	Processing product tax
2023-10-13	13:07:21	2527	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:21	2527	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:21	2527	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:21	2527	[DEBUG]	Query for Product
2023-10-13	13:07:21	2527	[DEBUG]	Executed store
2023-10-13	13:07:21	2527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862018','4524667333630','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:21	2527	[DEBUG]	No parent found
2023-10-13	13:07:21	2527	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862018 AND customfield_value = 'stockable'
2023-10-13	13:07:21	2527	[DEBUG]	Check product language entry
2023-10-13	13:07:21	2527	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862019
2023-10-13	13:07:21	2527	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:21	2527	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667333630' AND `virtuemart_product_id` != 1862019
2023-10-13	13:07:21	2527	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:21	2527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862019, '4524667333630')
2023-10-13	13:07:21	2527	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:21	2527	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-saint-d01s-resin-avec-ressort-et-goupille-fendue-paires-blister-aucune-all' AND `virtuemart_product_id` != 1862019
2023-10-13	13:07:21	2527	[DEBUG]	Query for ProductLang
2023-10-13	13:07:21	2527	[DEBUG]	Executed store
2023-10-13	13:07:21	2527	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO plaquettes Saint D01S Resin avec ressort et goupille fendue paires blister / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-saint-d01s-resin-avec-ressort-et-goupille-fendue-paires-blister-aucune-all' WHERE `virtuemart_product_id` = '1862019'
2023-10-13	13:07:21	2527	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30060_shimano_plaquettes_saint_d01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:21	2527	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:21	2527	[DEBUG]	Process image file
2023-10-13	13:07:21	2527	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:21	2527	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:21	2527	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30060_shimano_plaquettes_saint_d01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:21	2527	[DEBUG]	Full name target: bcprisme/30060_shimano_plaquettes_saint_d01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:22	2527	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:22	2527	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30060_shimano_plaquettes_saint_d01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg'
2023-10-13	13:07:22	2527	[DEBUG]	Query for Media
2023-10-13	13:07:22	2527	[DEBUG]	Executed store
2023-10-13	13:07:22	2527	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30060_shimano_plaquettes_saint_d01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_url_thumb`='bcprisme/30060_shimano_plaquettes_saint_d01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16571'
2023-10-13	13:07:22	2527	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:22	2527	[DEBUG]	Executed store
2023-10-13	13:07:22	2527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862019','16571','1')
2023-10-13	13:07:22	2527	[DEBUG]	Store product image relation
2023-10-13	13:07:22	2527	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:22	2527	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862019 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:22	2527	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:22	2527	[DEBUG]	Executed store
2023-10-13	13:07:22	2527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862019','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:22	2527	[DEBUG]	Checking manufacturer
2023-10-13	13:07:22	2527	[DEBUG]	Load a row
2023-10-13	13:07:22	2527	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:22	2527	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:22	2527	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:22	2527	[DEBUG]	Executed store
2023-10-13	13:07:22	2527	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:22	2527	[DEBUG]	Manufacturer exists
2023-10-13	13:07:22	2527	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:07:22	2527	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:22	2527	[DEBUG]	Executed store
2023-10-13	13:07:22	2527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862019','123')
2023-10-13	13:07:22	2527	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:22	2527	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:22	2527	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862019 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:22	2527	[DEBUG]	Store custom available field
2023-10-13	13:07:22	2527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862019,3,'',1)
2023-10-13	13:07:22	2527	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:22	2527	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:07:22	2527	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862019 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:22	2527	[DEBUG]	Store custom available field
2023-10-13	13:07:22	2527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862019,6,'All',3)
2023-10-13	13:07:22	2527	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:22	2527	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:22	2527	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862018
2023-10-13	13:07:22	2527	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:22	2527	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862018\":[1862018,8,1,\"choisir la taille\"],\"1862019\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862018
2023-10-13	13:07:22	2527	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:22	2527	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862019
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:22	2528	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field taille
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:22	2528	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:22	2528	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:22	2528	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:22	2528	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:22	2528	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:22	2528	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:22	2528	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field published
2023-10-13	13:07:22	2528	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:22	2528	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field override
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:22	2528	[DEBUG]	Use field value for field slug
2023-10-13	13:07:22	2528	[DEBUG]	Process line 2528
2023-10-13	13:07:22	2528	[DEBUG]	Load a row
2023-10-13	13:07:22	2528	[DEBUG]	Processing item: A_5561_208
2023-10-13	13:07:22	2528	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:22	2528	[DEBUG]	Processing product tax
2023-10-13	13:07:22	2528	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:22	2528	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:22	2528	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:22	2528	[DEBUG]	Query for Product
2023-10-13	13:07:22	2528	[DEBUG]	Executed store
2023-10-13	13:07:22	2528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5561_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:22	2528	[DEBUG]	Check product language entry
2023-10-13	13:07:22	2528	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862020
2023-10-13	13:07:22	2528	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:22	2528	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5561_208' AND `virtuemart_product_id` != 1862020
2023-10-13	13:07:22	2528	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:22	2528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862020, 'A_5561_208')
2023-10-13	13:07:22	2528	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:22	2528	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-saint-d02s-metal-avec-ressort-et-goupille-fendue-paires-blister-aucune' AND `virtuemart_product_id` != 1862020
2023-10-13	13:07:22	2528	[DEBUG]	Query for ProductLang
2023-10-13	13:07:22	2528	[DEBUG]	Executed store
2023-10-13	13:07:22	2528	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.47798',`product_name`='SHIMANO plaquettes Saint D02S métal avec ressort et goupille fendue paires blister / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-saint-d02s-metal-avec-ressort-et-goupille-fendue-paires-blister-aucune' WHERE `virtuemart_product_id` = '1862020'
2023-10-13	13:07:22	2528	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30061_shimano_plaquettes_saint_d02s_metal_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:22	2528	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:22	2528	[DEBUG]	Process image file
2023-10-13	13:07:22	2528	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:22	2528	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:22	2528	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30061_shimano_plaquettes_saint_d02s_metal_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:22	2528	[DEBUG]	Full name target: bcprisme/30061_shimano_plaquettes_saint_d02s_metal_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:23	2528	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:23	2528	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30061_shimano_plaquettes_saint_d02s_metal_avec_ressort_et_goupille_fendue_paires_blister.jpg'
2023-10-13	13:07:23	2528	[DEBUG]	Query for Media
2023-10-13	13:07:23	2528	[DEBUG]	Executed store
2023-10-13	13:07:23	2528	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30061_shimano_plaquettes_saint_d02s_metal_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_url_thumb`='bcprisme/30061_shimano_plaquettes_saint_d02s_metal_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16572'
2023-10-13	13:07:23	2528	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:23	2528	[DEBUG]	Executed store
2023-10-13	13:07:23	2528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862020','16572','1')
2023-10-13	13:07:23	2528	[DEBUG]	Store product image relation
2023-10-13	13:07:23	2528	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:23	2528	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862020 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:23	2528	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:23	2528	[DEBUG]	Executed store
2023-10-13	13:07:23	2528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862020','0','28.6908077994429','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:23	2528	[DEBUG]	Checking manufacturer
2023-10-13	13:07:23	2528	[DEBUG]	Load a row
2023-10-13	13:07:23	2528	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:23	2528	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:23	2528	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:23	2528	[DEBUG]	Executed store
2023-10-13	13:07:23	2528	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:23	2528	[DEBUG]	Manufacturer exists
2023-10-13	13:07:23	2528	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:07:23	2528	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:23	2528	[DEBUG]	Executed store
2023-10-13	13:07:23	2528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862020','123')
2023-10-13	13:07:23	2528	[DEBUG]	Find the custom field ID
2023-10-13	13:07:23	2528	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:23	2528	[DEBUG]	No custom field ID found
2023-10-13	13:07:23	2528	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:23	2528	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:07:23	2528	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862020 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:23	2528	[DEBUG]	Store custom available field
2023-10-13	13:07:23	2528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862020,3,'0',1)
2023-10-13	13:07:23	2528	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:23	2528	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:23	2528	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862020 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:23	2528	[DEBUG]	Store custom available field
2023-10-13	13:07:23	2528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862020,6,'choisir la taille',3)
2023-10-13	13:07:23	2528	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:23	2528	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:23	2528	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:23	2528	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:23	2528	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862020 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:23	2528	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:23	2528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862020,8,1)
2023-10-13	13:07:23	2528	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:23	2528	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862020\":[1862020,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862020
2023-10-13	13:07:23	2528	[DEBUG]	Checking category
2023-10-13	13:07:23	2528	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:23	2528	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862020
2023-10-13	13:07:23	2528	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:23	2528	[DEBUG]	Executed store
2023-10-13	13:07:23	2528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862020','7345')
2023-10-13	13:07:23	2528	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:23	2528	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862020 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:23	2528	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:23	2528	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862020
2023-10-13	13:07:23	2529	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:23	2529	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:23	2529	[DEBUG]	Use field value for field taille
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:23	2529	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:23	2529	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:23	2529	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:23	2529	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:23	2529	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:23	2529	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:23	2529	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:23	2529	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:23	2529	[DEBUG]	Use field value for field published
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:23	2529	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field override
2023-10-13	13:07:23	2529	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:23	2529	[DEBUG]	Use field value for field slug
2023-10-13	13:07:23	2529	[DEBUG]	Process line 2529
2023-10-13	13:07:23	2529	[DEBUG]	Load a row
2023-10-13	13:07:23	2529	[DEBUG]	Processing item: 4524667276463
2023-10-13	13:07:23	2529	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:23	2529	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:23	2529	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5561_208'
2023-10-13	13:07:23	2529	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:23	2529	[DEBUG]	Processing product tax
2023-10-13	13:07:23	2529	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:23	2529	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:23	2529	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:23	2529	[DEBUG]	Query for Product
2023-10-13	13:07:23	2529	[DEBUG]	Executed store
2023-10-13	13:07:23	2529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862020','4524667276463','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:23	2529	[DEBUG]	No parent found
2023-10-13	13:07:23	2529	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862020 AND customfield_value = 'stockable'
2023-10-13	13:07:23	2529	[DEBUG]	Check product language entry
2023-10-13	13:07:23	2529	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862021
2023-10-13	13:07:23	2529	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:23	2529	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667276463' AND `virtuemart_product_id` != 1862021
2023-10-13	13:07:23	2529	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:23	2529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862021, '4524667276463')
2023-10-13	13:07:23	2529	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:23	2529	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-saint-d02s-metal-avec-ressort-et-goupille-fendue-paires-blister-aucune-all' AND `virtuemart_product_id` != 1862021
2023-10-13	13:07:23	2529	[DEBUG]	Query for ProductLang
2023-10-13	13:07:23	2529	[DEBUG]	Executed store
2023-10-13	13:07:23	2529	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO plaquettes Saint D02S métal avec ressort et goupille fendue paires blister / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-saint-d02s-metal-avec-ressort-et-goupille-fendue-paires-blister-aucune-all' WHERE `virtuemart_product_id` = '1862021'
2023-10-13	13:07:23	2529	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30061_shimano_plaquettes_saint_d02s_metal_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:23	2529	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:23	2529	[DEBUG]	Process image file
2023-10-13	13:07:23	2529	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:23	2529	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:23	2529	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30061_shimano_plaquettes_saint_d02s_metal_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:23	2529	[DEBUG]	Full name target: bcprisme/30061_shimano_plaquettes_saint_d02s_metal_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:24	2529	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:24	2529	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30061_shimano_plaquettes_saint_d02s_metal_avec_ressort_et_goupille_fendue_paires_blister.jpg'
2023-10-13	13:07:24	2529	[DEBUG]	Query for Media
2023-10-13	13:07:24	2529	[DEBUG]	Executed store
2023-10-13	13:07:24	2529	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30061_shimano_plaquettes_saint_d02s_metal_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_url_thumb`='bcprisme/30061_shimano_plaquettes_saint_d02s_metal_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16572'
2023-10-13	13:07:24	2529	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:24	2529	[DEBUG]	Executed store
2023-10-13	13:07:24	2529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862021','16572','1')
2023-10-13	13:07:24	2529	[DEBUG]	Store product image relation
2023-10-13	13:07:24	2529	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:24	2529	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862021 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:24	2529	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:24	2529	[DEBUG]	Executed store
2023-10-13	13:07:24	2529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862021','0','28.6908077994429','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:24	2529	[DEBUG]	Checking manufacturer
2023-10-13	13:07:24	2529	[DEBUG]	Load a row
2023-10-13	13:07:24	2529	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:24	2529	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:24	2529	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:24	2529	[DEBUG]	Executed store
2023-10-13	13:07:24	2529	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:24	2529	[DEBUG]	Manufacturer exists
2023-10-13	13:07:24	2529	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:07:24	2529	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:24	2529	[DEBUG]	Executed store
2023-10-13	13:07:24	2529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862021','123')
2023-10-13	13:07:24	2529	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:24	2529	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:24	2529	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862021 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:24	2529	[DEBUG]	Store custom available field
2023-10-13	13:07:24	2529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862021,3,'',1)
2023-10-13	13:07:24	2529	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:24	2529	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:07:24	2529	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862021 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:24	2529	[DEBUG]	Store custom available field
2023-10-13	13:07:24	2529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862021,6,'All',3)
2023-10-13	13:07:24	2529	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:24	2529	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:24	2529	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862020
2023-10-13	13:07:24	2529	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:24	2529	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862020\":[1862020,8,1,\"choisir la taille\"],\"1862021\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862020
2023-10-13	13:07:24	2529	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:24	2529	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862021
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:24	2530	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field taille
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:24	2530	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:24	2530	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:24	2530	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:24	2530	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:24	2530	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:24	2530	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:24	2530	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field published
2023-10-13	13:07:24	2530	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:24	2530	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field override
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:24	2530	[DEBUG]	Use field value for field slug
2023-10-13	13:07:24	2530	[DEBUG]	Process line 2530
2023-10-13	13:07:24	2530	[DEBUG]	Load a row
2023-10-13	13:07:24	2530	[DEBUG]	Processing item: A_5589_1
2023-10-13	13:07:24	2530	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:24	2530	[DEBUG]	Processing product tax
2023-10-13	13:07:24	2530	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:24	2530	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:24	2530	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:24	2530	[DEBUG]	Query for Product
2023-10-13	13:07:24	2530	[DEBUG]	Executed store
2023-10-13	13:07:24	2530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5589_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:24	2530	[DEBUG]	Check product language entry
2023-10-13	13:07:24	2530	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862022
2023-10-13	13:07:24	2530	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:24	2530	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5589_1' AND `virtuemart_product_id` != 1862022
2023-10-13	13:07:24	2530	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:24	2530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862022, 'A_5589_1')
2023-10-13	13:07:24	2530	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:24	2530	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-shimano-route-resine-avec-lamelle-noir' AND `virtuemart_product_id` != 1862022
2023-10-13	13:07:24	2530	[DEBUG]	Query for ProductLang
2023-10-13	13:07:24	2530	[DEBUG]	Executed store
2023-10-13	13:07:24	2530	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.65233',`product_name`='SHIMANO plaquettes SHIMANO ROUTE RESINE AVEC LAMELLE / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-shimano-route-resine-avec-lamelle-noir' WHERE `virtuemart_product_id` = '1862022'
2023-10-13	13:07:24	2530	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30089_shimano_plaquettes_shimano_route_resine_avec_lamelle.jpg
2023-10-13	13:07:24	2530	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:24	2530	[DEBUG]	Process image file
2023-10-13	13:07:24	2530	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:24	2530	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:24	2530	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30089_shimano_plaquettes_shimano_route_resine_avec_lamelle.jpg
2023-10-13	13:07:24	2530	[DEBUG]	Full name target: bcprisme/30089_shimano_plaquettes_shimano_route_resine_avec_lamelle.jpg
2023-10-13	13:07:25	2530	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:25	2530	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30089_shimano_plaquettes_shimano_route_resine_avec_lamelle.jpg'
2023-10-13	13:07:25	2530	[DEBUG]	Query for Media
2023-10-13	13:07:25	2530	[DEBUG]	Executed store
2023-10-13	13:07:25	2530	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30089_shimano_plaquettes_shimano_route_resine_avec_lamelle.jpg',`file_url_thumb`='bcprisme/30089_shimano_plaquettes_shimano_route_resine_avec_lamelle.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16573'
2023-10-13	13:07:25	2530	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:25	2530	[DEBUG]	Executed store
2023-10-13	13:07:25	2530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862022','16573','1')
2023-10-13	13:07:25	2530	[DEBUG]	Store product image relation
2023-10-13	13:07:25	2530	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:25	2530	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862022 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:25	2530	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:25	2530	[DEBUG]	Executed store
2023-10-13	13:07:25	2530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862022','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:25	2530	[DEBUG]	Checking manufacturer
2023-10-13	13:07:25	2530	[DEBUG]	Load a row
2023-10-13	13:07:25	2530	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:25	2530	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:07:25	2530	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:25	2530	[DEBUG]	Executed store
2023-10-13	13:07:25	2530	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:07:25	2530	[DEBUG]	Manufacturer exists
2023-10-13	13:07:25	2530	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:07:25	2530	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:25	2530	[DEBUG]	Executed store
2023-10-13	13:07:25	2530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862022','26')
2023-10-13	13:07:25	2530	[DEBUG]	Find the custom field ID
2023-10-13	13:07:25	2530	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:25	2530	[DEBUG]	No custom field ID found
2023-10-13	13:07:25	2530	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:25	2530	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:07:25	2530	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862022 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:25	2530	[DEBUG]	Store custom available field
2023-10-13	13:07:25	2530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862022,3,'0',1)
2023-10-13	13:07:25	2530	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:25	2530	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:25	2530	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862022 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:25	2530	[DEBUG]	Store custom available field
2023-10-13	13:07:25	2530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862022,6,'choisir la taille',3)
2023-10-13	13:07:25	2530	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:25	2530	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:25	2530	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:25	2530	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:25	2530	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862022 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:25	2530	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:25	2530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862022,8,1)
2023-10-13	13:07:25	2530	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:25	2530	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862022\":[1862022,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862022
2023-10-13	13:07:25	2530	[DEBUG]	Checking category
2023-10-13	13:07:25	2530	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:25	2530	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862022
2023-10-13	13:07:25	2530	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:25	2530	[DEBUG]	Executed store
2023-10-13	13:07:25	2530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862022','7345')
2023-10-13	13:07:25	2530	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:25	2530	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862022 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:25	2530	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:25	2530	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862022
2023-10-13	13:07:25	2531	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:25	2531	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:25	2531	[DEBUG]	Use field value for field taille
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:25	2531	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:25	2531	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:25	2531	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:25	2531	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:25	2531	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:25	2531	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:25	2531	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:25	2531	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:25	2531	[DEBUG]	Use field value for field published
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:25	2531	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field override
2023-10-13	13:07:25	2531	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:25	2531	[DEBUG]	Use field value for field slug
2023-10-13	13:07:25	2531	[DEBUG]	Process line 2531
2023-10-13	13:07:25	2531	[DEBUG]	Load a row
2023-10-13	13:07:25	2531	[DEBUG]	Processing item: 4524667383741
2023-10-13	13:07:25	2531	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:25	2531	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:25	2531	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5589_1'
2023-10-13	13:07:25	2531	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:25	2531	[DEBUG]	Processing product tax
2023-10-13	13:07:25	2531	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:25	2531	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:25	2531	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:25	2531	[DEBUG]	Query for Product
2023-10-13	13:07:25	2531	[DEBUG]	Executed store
2023-10-13	13:07:25	2531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862022','4524667383741','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:25	2531	[DEBUG]	No parent found
2023-10-13	13:07:25	2531	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862022 AND customfield_value = 'stockable'
2023-10-13	13:07:25	2531	[DEBUG]	Check product language entry
2023-10-13	13:07:25	2531	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862023
2023-10-13	13:07:25	2531	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:25	2531	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667383741' AND `virtuemart_product_id` != 1862023
2023-10-13	13:07:25	2531	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:25	2531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862023, '4524667383741')
2023-10-13	13:07:25	2531	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:25	2531	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-shimano-route-resine-avec-lamelle-noir-all' AND `virtuemart_product_id` != 1862023
2023-10-13	13:07:25	2531	[DEBUG]	Query for ProductLang
2023-10-13	13:07:25	2531	[DEBUG]	Executed store
2023-10-13	13:07:25	2531	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO plaquettes SHIMANO ROUTE RESINE AVEC LAMELLE / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-shimano-route-resine-avec-lamelle-noir-all' WHERE `virtuemart_product_id` = '1862023'
2023-10-13	13:07:25	2531	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30089_shimano_plaquettes_shimano_route_resine_avec_lamelle.jpg
2023-10-13	13:07:25	2531	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:25	2531	[DEBUG]	Process image file
2023-10-13	13:07:25	2531	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:25	2531	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:25	2531	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30089_shimano_plaquettes_shimano_route_resine_avec_lamelle.jpg
2023-10-13	13:07:25	2531	[DEBUG]	Full name target: bcprisme/30089_shimano_plaquettes_shimano_route_resine_avec_lamelle.jpg
2023-10-13	13:07:26	2531	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:26	2531	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30089_shimano_plaquettes_shimano_route_resine_avec_lamelle.jpg'
2023-10-13	13:07:26	2531	[DEBUG]	Query for Media
2023-10-13	13:07:26	2531	[DEBUG]	Executed store
2023-10-13	13:07:26	2531	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30089_shimano_plaquettes_shimano_route_resine_avec_lamelle.jpg',`file_url_thumb`='bcprisme/30089_shimano_plaquettes_shimano_route_resine_avec_lamelle.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16573'
2023-10-13	13:07:26	2531	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:26	2531	[DEBUG]	Executed store
2023-10-13	13:07:26	2531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862023','16573','1')
2023-10-13	13:07:26	2531	[DEBUG]	Store product image relation
2023-10-13	13:07:26	2531	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:26	2531	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862023 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:26	2531	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:26	2531	[DEBUG]	Executed store
2023-10-13	13:07:26	2531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862023','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:26	2531	[DEBUG]	Checking manufacturer
2023-10-13	13:07:26	2531	[DEBUG]	Load a row
2023-10-13	13:07:26	2531	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:26	2531	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:07:26	2531	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:26	2531	[DEBUG]	Executed store
2023-10-13	13:07:26	2531	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:07:26	2531	[DEBUG]	Manufacturer exists
2023-10-13	13:07:26	2531	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:07:26	2531	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:26	2531	[DEBUG]	Executed store
2023-10-13	13:07:26	2531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862023','26')
2023-10-13	13:07:26	2531	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:26	2531	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:26	2531	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862023 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:26	2531	[DEBUG]	Store custom available field
2023-10-13	13:07:26	2531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862023,3,'',1)
2023-10-13	13:07:26	2531	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:26	2531	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:07:26	2531	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862023 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:26	2531	[DEBUG]	Store custom available field
2023-10-13	13:07:26	2531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862023,6,'All',3)
2023-10-13	13:07:26	2531	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:26	2531	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:26	2531	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862022
2023-10-13	13:07:26	2531	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:26	2531	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862022\":[1862022,8,1,\"choisir la taille\"],\"1862023\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862022
2023-10-13	13:07:26	2531	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:26	2531	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862023
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:26	2532	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field taille
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:26	2532	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:26	2532	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:26	2532	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:26	2532	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:26	2532	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:26	2532	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field published
2023-10-13	13:07:26	2532	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:26	2532	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field override
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:26	2532	[DEBUG]	Use field value for field slug
2023-10-13	13:07:26	2532	[DEBUG]	Process line 2532
2023-10-13	13:07:26	2532	[DEBUG]	Load a row
2023-10-13	13:07:26	2532	[DEBUG]	Processing item: A_5647_208
2023-10-13	13:07:26	2532	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:26	2532	[DEBUG]	Processing product tax
2023-10-13	13:07:26	2532	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:26	2532	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:26	2532	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:26	2532	[DEBUG]	Query for Product
2023-10-13	13:07:26	2532	[DEBUG]	Executed store
2023-10-13	13:07:26	2532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5647_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:26	2532	[DEBUG]	Check product language entry
2023-10-13	13:07:26	2532	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862024
2023-10-13	13:07:26	2532	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:26	2532	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5647_208' AND `virtuemart_product_id` != 1862024
2023-10-13	13:07:26	2532	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:26	2532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862024, 'A_5647_208')
2023-10-13	13:07:26	2532	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:26	2532	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-e01s-metal-avec-ressort-et-goupille-fendue-paires-aucune' AND `virtuemart_product_id` != 1862024
2023-10-13	13:07:26	2532	[DEBUG]	Query for ProductLang
2023-10-13	13:07:26	2532	[DEBUG]	Executed store
2023-10-13	13:07:26	2532	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.48591',`product_name`='SHIMANO Plaquettes E01S métal avec ressort et goupille fendue paires / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-e01s-metal-avec-ressort-et-goupille-fendue-paires-aucune' WHERE `virtuemart_product_id` = '1862024'
2023-10-13	13:07:26	2532	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30148_shimano_plaquettes_e01s_metal_avec_ressort_et_goupille_fendue_paires.jpg
2023-10-13	13:07:26	2532	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:26	2532	[DEBUG]	Process image file
2023-10-13	13:07:26	2532	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:26	2532	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:26	2532	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30148_shimano_plaquettes_e01s_metal_avec_ressort_et_goupille_fendue_paires.jpg
2023-10-13	13:07:26	2532	[DEBUG]	Full name target: bcprisme/30148_shimano_plaquettes_e01s_metal_avec_ressort_et_goupille_fendue_paires.jpg
2023-10-13	13:07:27	2532	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:27	2532	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30148_shimano_plaquettes_e01s_metal_avec_ressort_et_goupille_fendue_paires.jpg'
2023-10-13	13:07:27	2532	[DEBUG]	Query for Media
2023-10-13	13:07:27	2532	[DEBUG]	Executed store
2023-10-13	13:07:27	2532	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30148_shimano_plaquettes_e01s_metal_avec_ressort_et_goupille_fendue_paires.jpg',`file_url_thumb`='bcprisme/30148_shimano_plaquettes_e01s_metal_avec_ressort_et_goupille_fendue_paires.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16575'
2023-10-13	13:07:27	2532	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:27	2532	[DEBUG]	Executed store
2023-10-13	13:07:27	2532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862024','16575','1')
2023-10-13	13:07:27	2532	[DEBUG]	Store product image relation
2023-10-13	13:07:27	2532	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:27	2532	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862024 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:27	2532	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:27	2532	[DEBUG]	Executed store
2023-10-13	13:07:27	2532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862024','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:27	2532	[DEBUG]	Checking manufacturer
2023-10-13	13:07:27	2532	[DEBUG]	Load a row
2023-10-13	13:07:27	2532	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:27	2532	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:27	2532	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:27	2532	[DEBUG]	Executed store
2023-10-13	13:07:27	2532	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:27	2532	[DEBUG]	Manufacturer exists
2023-10-13	13:07:27	2532	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:07:27	2532	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:27	2532	[DEBUG]	Executed store
2023-10-13	13:07:27	2532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862024','123')
2023-10-13	13:07:27	2532	[DEBUG]	Find the custom field ID
2023-10-13	13:07:27	2532	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:27	2532	[DEBUG]	No custom field ID found
2023-10-13	13:07:27	2532	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:27	2532	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:07:27	2532	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862024 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:27	2532	[DEBUG]	Store custom available field
2023-10-13	13:07:27	2532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862024,3,'0',1)
2023-10-13	13:07:27	2532	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:27	2532	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:27	2532	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862024 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:27	2532	[DEBUG]	Store custom available field
2023-10-13	13:07:27	2532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862024,6,'choisir la taille',3)
2023-10-13	13:07:27	2532	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:27	2532	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:27	2532	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:27	2532	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:27	2532	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862024 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:27	2532	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:27	2532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862024,8,1)
2023-10-13	13:07:27	2532	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:27	2532	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862024\":[1862024,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862024
2023-10-13	13:07:27	2532	[DEBUG]	Checking category
2023-10-13	13:07:27	2532	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:27	2532	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862024
2023-10-13	13:07:27	2532	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:27	2532	[DEBUG]	Executed store
2023-10-13	13:07:27	2532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862024','7345')
2023-10-13	13:07:27	2532	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:27	2532	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862024 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:27	2532	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:27	2532	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862024
2023-10-13	13:07:27	2533	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:27	2533	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:27	2533	[DEBUG]	Use field value for field taille
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:27	2533	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:27	2533	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:27	2533	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:27	2533	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:27	2533	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:27	2533	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:27	2533	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:27	2533	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:27	2533	[DEBUG]	Use field value for field published
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:27	2533	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field override
2023-10-13	13:07:27	2533	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:27	2533	[DEBUG]	Use field value for field slug
2023-10-13	13:07:27	2533	[DEBUG]	Process line 2533
2023-10-13	13:07:27	2533	[DEBUG]	Load a row
2023-10-13	13:07:27	2533	[DEBUG]	Processing item: 4524667284895
2023-10-13	13:07:27	2533	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:27	2533	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:27	2533	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5647_208'
2023-10-13	13:07:27	2533	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:27	2533	[DEBUG]	Processing product tax
2023-10-13	13:07:27	2533	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:27	2533	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:27	2533	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:27	2533	[DEBUG]	Query for Product
2023-10-13	13:07:27	2533	[DEBUG]	Executed store
2023-10-13	13:07:27	2533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862024','4524667284895','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:27	2533	[DEBUG]	No parent found
2023-10-13	13:07:27	2533	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862024 AND customfield_value = 'stockable'
2023-10-13	13:07:27	2533	[DEBUG]	Check product language entry
2023-10-13	13:07:27	2533	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862025
2023-10-13	13:07:27	2533	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:27	2533	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667284895' AND `virtuemart_product_id` != 1862025
2023-10-13	13:07:27	2533	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:27	2533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862025, '4524667284895')
2023-10-13	13:07:27	2533	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:27	2533	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-e01s-metal-avec-ressort-et-goupille-fendue-paires-aucune-all' AND `virtuemart_product_id` != 1862025
2023-10-13	13:07:27	2533	[DEBUG]	Query for ProductLang
2023-10-13	13:07:27	2533	[DEBUG]	Executed store
2023-10-13	13:07:27	2533	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquettes E01S métal avec ressort et goupille fendue paires / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-e01s-metal-avec-ressort-et-goupille-fendue-paires-aucune-all' WHERE `virtuemart_product_id` = '1862025'
2023-10-13	13:07:27	2533	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30148_shimano_plaquettes_e01s_metal_avec_ressort_et_goupille_fendue_paires.jpg
2023-10-13	13:07:27	2533	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:27	2533	[DEBUG]	Process image file
2023-10-13	13:07:27	2533	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:27	2533	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:27	2533	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30148_shimano_plaquettes_e01s_metal_avec_ressort_et_goupille_fendue_paires.jpg
2023-10-13	13:07:27	2533	[DEBUG]	Full name target: bcprisme/30148_shimano_plaquettes_e01s_metal_avec_ressort_et_goupille_fendue_paires.jpg
2023-10-13	13:07:28	2533	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:28	2533	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30148_shimano_plaquettes_e01s_metal_avec_ressort_et_goupille_fendue_paires.jpg'
2023-10-13	13:07:28	2533	[DEBUG]	Query for Media
2023-10-13	13:07:28	2533	[DEBUG]	Executed store
2023-10-13	13:07:28	2533	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30148_shimano_plaquettes_e01s_metal_avec_ressort_et_goupille_fendue_paires.jpg',`file_url_thumb`='bcprisme/30148_shimano_plaquettes_e01s_metal_avec_ressort_et_goupille_fendue_paires.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16575'
2023-10-13	13:07:28	2533	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:28	2533	[DEBUG]	Executed store
2023-10-13	13:07:28	2533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862025','16575','1')
2023-10-13	13:07:28	2533	[DEBUG]	Store product image relation
2023-10-13	13:07:28	2533	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:28	2533	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862025 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:28	2533	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:28	2533	[DEBUG]	Executed store
2023-10-13	13:07:28	2533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862025','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:28	2533	[DEBUG]	Checking manufacturer
2023-10-13	13:07:28	2533	[DEBUG]	Load a row
2023-10-13	13:07:28	2533	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:28	2533	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:28	2533	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:28	2533	[DEBUG]	Executed store
2023-10-13	13:07:28	2533	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:28	2533	[DEBUG]	Manufacturer exists
2023-10-13	13:07:28	2533	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:07:28	2533	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:28	2533	[DEBUG]	Executed store
2023-10-13	13:07:28	2533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862025','123')
2023-10-13	13:07:28	2533	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:28	2533	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:28	2533	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862025 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:28	2533	[DEBUG]	Store custom available field
2023-10-13	13:07:28	2533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862025,3,'',1)
2023-10-13	13:07:28	2533	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:28	2533	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:07:28	2533	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862025 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:28	2533	[DEBUG]	Store custom available field
2023-10-13	13:07:28	2533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862025,6,'All',3)
2023-10-13	13:07:28	2533	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:28	2533	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:28	2533	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862024
2023-10-13	13:07:28	2533	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:28	2533	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862024\":[1862024,8,1,\"choisir la taille\"],\"1862025\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862024
2023-10-13	13:07:28	2533	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:28	2533	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862025
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:28	2534	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field taille
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:28	2534	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:28	2534	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:28	2534	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:28	2534	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:28	2534	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:28	2534	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:28	2534	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field published
2023-10-13	13:07:28	2534	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:28	2534	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field override
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:28	2534	[DEBUG]	Use field value for field slug
2023-10-13	13:07:28	2534	[DEBUG]	Process line 2534
2023-10-13	13:07:28	2534	[DEBUG]	Load a row
2023-10-13	13:07:28	2534	[DEBUG]	Processing item: A_5648_208
2023-10-13	13:07:28	2534	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:28	2534	[DEBUG]	Processing product tax
2023-10-13	13:07:28	2534	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:28	2534	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:28	2534	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:28	2534	[DEBUG]	Query for Product
2023-10-13	13:07:28	2534	[DEBUG]	Executed store
2023-10-13	13:07:28	2534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5648_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:28	2534	[DEBUG]	Check product language entry
2023-10-13	13:07:28	2534	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862026
2023-10-13	13:07:28	2534	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:28	2534	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5648_208' AND `virtuemart_product_id` != 1862026
2023-10-13	13:07:28	2534	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:28	2534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862026, 'A_5648_208')
2023-10-13	13:07:28	2534	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:28	2534	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-route-k02s-resin-avec-ressort-et-goupille-fendue-paires-aucune' AND `virtuemart_product_id` != 1862026
2023-10-13	13:07:28	2534	[DEBUG]	Query for ProductLang
2023-10-13	13:07:28	2534	[DEBUG]	Executed store
2023-10-13	13:07:28	2534	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.65232',`product_name`='SHIMANO plaquettes Route K02S résin avec ressort et goupille fendue paires / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-route-k02s-resin-avec-ressort-et-goupille-fendue-paires-aucune' WHERE `virtuemart_product_id` = '1862026'
2023-10-13	13:07:28	2534	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30149_shimano_plaquettes_route_k02s_resin_avec_ressort_et_goupille_fendue_paires.jpg
2023-10-13	13:07:28	2534	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:28	2534	[DEBUG]	Process image file
2023-10-13	13:07:28	2534	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:28	2534	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:28	2534	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30149_shimano_plaquettes_route_k02s_resin_avec_ressort_et_goupille_fendue_paires.jpg
2023-10-13	13:07:28	2534	[DEBUG]	Full name target: bcprisme/30149_shimano_plaquettes_route_k02s_resin_avec_ressort_et_goupille_fendue_paires.jpg
2023-10-13	13:07:29	2534	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:29	2534	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30149_shimano_plaquettes_route_k02s_resin_avec_ressort_et_goupille_fendue_paires.jpg'
2023-10-13	13:07:29	2534	[DEBUG]	Query for Media
2023-10-13	13:07:29	2534	[DEBUG]	Executed store
2023-10-13	13:07:29	2534	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30149_shimano_plaquettes_route_k02s_resin_avec_ressort_et_goupille_fendue_paires.jpg',`file_url_thumb`='bcprisme/30149_shimano_plaquettes_route_k02s_resin_avec_ressort_et_goupille_fendue_paires.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16576'
2023-10-13	13:07:29	2534	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:29	2534	[DEBUG]	Executed store
2023-10-13	13:07:29	2534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862026','16576','1')
2023-10-13	13:07:29	2534	[DEBUG]	Store product image relation
2023-10-13	13:07:29	2534	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:29	2534	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862026 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:29	2534	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:29	2534	[DEBUG]	Executed store
2023-10-13	13:07:29	2534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862026','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:29	2534	[DEBUG]	Checking manufacturer
2023-10-13	13:07:29	2534	[DEBUG]	Load a row
2023-10-13	13:07:29	2534	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:29	2534	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:29	2534	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:29	2534	[DEBUG]	Executed store
2023-10-13	13:07:29	2534	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:29	2534	[DEBUG]	Manufacturer exists
2023-10-13	13:07:29	2534	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:07:29	2534	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:29	2534	[DEBUG]	Executed store
2023-10-13	13:07:29	2534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862026','123')
2023-10-13	13:07:29	2534	[DEBUG]	Find the custom field ID
2023-10-13	13:07:29	2534	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:29	2534	[DEBUG]	No custom field ID found
2023-10-13	13:07:29	2534	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:29	2534	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:07:29	2534	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862026 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:29	2534	[DEBUG]	Store custom available field
2023-10-13	13:07:29	2534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862026,3,'0',1)
2023-10-13	13:07:29	2534	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:29	2534	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:29	2534	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862026 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:29	2534	[DEBUG]	Store custom available field
2023-10-13	13:07:29	2534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862026,6,'choisir la taille',3)
2023-10-13	13:07:29	2534	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:29	2534	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:29	2534	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:29	2534	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:29	2534	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862026 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:29	2534	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:29	2534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862026,8,1)
2023-10-13	13:07:29	2534	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:29	2534	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862026\":[1862026,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862026
2023-10-13	13:07:29	2534	[DEBUG]	Checking category
2023-10-13	13:07:29	2534	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:29	2534	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862026
2023-10-13	13:07:29	2534	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:29	2534	[DEBUG]	Executed store
2023-10-13	13:07:29	2534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862026','7345')
2023-10-13	13:07:29	2534	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:29	2534	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862026 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:29	2534	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:29	2534	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862026
2023-10-13	13:07:29	2535	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:29	2535	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:29	2535	[DEBUG]	Use field value for field taille
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:29	2535	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:29	2535	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:29	2535	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:29	2535	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:29	2535	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:29	2535	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:29	2535	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:29	2535	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:29	2535	[DEBUG]	Use field value for field published
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:29	2535	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field override
2023-10-13	13:07:29	2535	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:29	2535	[DEBUG]	Use field value for field slug
2023-10-13	13:07:29	2535	[DEBUG]	Process line 2535
2023-10-13	13:07:29	2535	[DEBUG]	Load a row
2023-10-13	13:07:29	2535	[DEBUG]	Processing item: 4524667383727
2023-10-13	13:07:29	2535	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:29	2535	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:29	2535	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5648_208'
2023-10-13	13:07:29	2535	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:29	2535	[DEBUG]	Processing product tax
2023-10-13	13:07:29	2535	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:29	2535	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:29	2535	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:29	2535	[DEBUG]	Query for Product
2023-10-13	13:07:29	2535	[DEBUG]	Executed store
2023-10-13	13:07:29	2535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862026','4524667383727','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:29	2535	[DEBUG]	No parent found
2023-10-13	13:07:29	2535	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862026 AND customfield_value = 'stockable'
2023-10-13	13:07:29	2535	[DEBUG]	Check product language entry
2023-10-13	13:07:29	2535	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862027
2023-10-13	13:07:29	2535	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:29	2535	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667383727' AND `virtuemart_product_id` != 1862027
2023-10-13	13:07:29	2535	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:29	2535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862027, '4524667383727')
2023-10-13	13:07:29	2535	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:29	2535	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-route-k02s-resin-avec-ressort-et-goupille-fendue-paires-aucune-all' AND `virtuemart_product_id` != 1862027
2023-10-13	13:07:29	2535	[DEBUG]	Query for ProductLang
2023-10-13	13:07:29	2535	[DEBUG]	Executed store
2023-10-13	13:07:29	2535	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO plaquettes Route K02S résin avec ressort et goupille fendue paires / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-route-k02s-resin-avec-ressort-et-goupille-fendue-paires-aucune-all' WHERE `virtuemart_product_id` = '1862027'
2023-10-13	13:07:29	2535	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30149_shimano_plaquettes_route_k02s_resin_avec_ressort_et_goupille_fendue_paires.jpg
2023-10-13	13:07:29	2535	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:29	2535	[DEBUG]	Process image file
2023-10-13	13:07:29	2535	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:29	2535	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:29	2535	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30149_shimano_plaquettes_route_k02s_resin_avec_ressort_et_goupille_fendue_paires.jpg
2023-10-13	13:07:29	2535	[DEBUG]	Full name target: bcprisme/30149_shimano_plaquettes_route_k02s_resin_avec_ressort_et_goupille_fendue_paires.jpg
2023-10-13	13:07:30	2535	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:30	2535	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30149_shimano_plaquettes_route_k02s_resin_avec_ressort_et_goupille_fendue_paires.jpg'
2023-10-13	13:07:30	2535	[DEBUG]	Query for Media
2023-10-13	13:07:30	2535	[DEBUG]	Executed store
2023-10-13	13:07:30	2535	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30149_shimano_plaquettes_route_k02s_resin_avec_ressort_et_goupille_fendue_paires.jpg',`file_url_thumb`='bcprisme/30149_shimano_plaquettes_route_k02s_resin_avec_ressort_et_goupille_fendue_paires.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16576'
2023-10-13	13:07:30	2535	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:30	2535	[DEBUG]	Executed store
2023-10-13	13:07:30	2535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862027','16576','1')
2023-10-13	13:07:30	2535	[DEBUG]	Store product image relation
2023-10-13	13:07:30	2535	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:30	2535	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862027 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:30	2535	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:30	2535	[DEBUG]	Executed store
2023-10-13	13:07:30	2535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862027','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:30	2535	[DEBUG]	Checking manufacturer
2023-10-13	13:07:30	2535	[DEBUG]	Load a row
2023-10-13	13:07:30	2535	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:30	2535	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:30	2535	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:30	2535	[DEBUG]	Executed store
2023-10-13	13:07:30	2535	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:30	2535	[DEBUG]	Manufacturer exists
2023-10-13	13:07:30	2535	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:07:30	2535	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:30	2535	[DEBUG]	Executed store
2023-10-13	13:07:30	2535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862027','123')
2023-10-13	13:07:30	2535	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:30	2535	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:30	2535	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862027 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:30	2535	[DEBUG]	Store custom available field
2023-10-13	13:07:30	2535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862027,3,'',1)
2023-10-13	13:07:30	2535	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:30	2535	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:07:30	2535	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862027 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:30	2535	[DEBUG]	Store custom available field
2023-10-13	13:07:30	2535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862027,6,'All',3)
2023-10-13	13:07:30	2535	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:30	2535	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:30	2535	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862026
2023-10-13	13:07:30	2535	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:30	2535	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862026\":[1862026,8,1,\"choisir la taille\"],\"1862027\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862026
2023-10-13	13:07:30	2535	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:30	2535	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862027
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:30	2536	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field taille
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:30	2536	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:30	2536	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:30	2536	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:30	2536	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:30	2536	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:30	2536	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:30	2536	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field published
2023-10-13	13:07:30	2536	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:30	2536	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field override
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:30	2536	[DEBUG]	Use field value for field slug
2023-10-13	13:07:30	2536	[DEBUG]	Process line 2536
2023-10-13	13:07:30	2536	[DEBUG]	Load a row
2023-10-13	13:07:30	2536	[DEBUG]	Processing item: A_5655_208
2023-10-13	13:07:30	2536	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:30	2536	[DEBUG]	Processing product tax
2023-10-13	13:07:30	2536	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:30	2536	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:30	2536	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:30	2536	[DEBUG]	Query for Product
2023-10-13	13:07:30	2536	[DEBUG]	Executed store
2023-10-13	13:07:30	2536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5655_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:30	2536	[DEBUG]	Check product language entry
2023-10-13	13:07:30	2536	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862028
2023-10-13	13:07:30	2536	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:30	2536	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5655_208' AND `virtuemart_product_id` != 1862028
2023-10-13	13:07:30	2536	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:30	2536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862028, 'A_5655_208')
2023-10-13	13:07:30	2536	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:30	2536	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-b01s-resin-avec-ressort-et-goupille-fendue-paires-blister-aucune' AND `virtuemart_product_id` != 1862028
2023-10-13	13:07:30	2536	[DEBUG]	Query for ProductLang
2023-10-13	13:07:30	2536	[DEBUG]	Executed store
2023-10-13	13:07:30	2536	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.59548',`product_name`='SHIMANO plaquettes B01S résin avec ressort et goupille fendue paires blister / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-b01s-resin-avec-ressort-et-goupille-fendue-paires-blister-aucune' WHERE `virtuemart_product_id` = '1862028'
2023-10-13	13:07:30	2536	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30156_shimano_plaquettes_b01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:30	2536	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:30	2536	[DEBUG]	Process image file
2023-10-13	13:07:30	2536	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:30	2536	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:30	2536	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30156_shimano_plaquettes_b01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:30	2536	[DEBUG]	Full name target: bcprisme/30156_shimano_plaquettes_b01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:31	2536	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:31	2536	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30156_shimano_plaquettes_b01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg'
2023-10-13	13:07:31	2536	[DEBUG]	Query for Media
2023-10-13	13:07:31	2536	[DEBUG]	Executed store
2023-10-13	13:07:31	2536	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30156_shimano_plaquettes_b01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_url_thumb`='bcprisme/30156_shimano_plaquettes_b01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16577'
2023-10-13	13:07:31	2536	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:31	2536	[DEBUG]	Executed store
2023-10-13	13:07:31	2536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862028','16577','1')
2023-10-13	13:07:31	2536	[DEBUG]	Store product image relation
2023-10-13	13:07:31	2536	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:31	2536	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862028 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:31	2536	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:31	2536	[DEBUG]	Executed store
2023-10-13	13:07:31	2536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862028','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:31	2536	[DEBUG]	Checking manufacturer
2023-10-13	13:07:31	2536	[DEBUG]	Load a row
2023-10-13	13:07:31	2536	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:31	2536	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:31	2536	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:31	2536	[DEBUG]	Executed store
2023-10-13	13:07:31	2536	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:31	2536	[DEBUG]	Manufacturer exists
2023-10-13	13:07:31	2536	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:07:31	2536	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:31	2536	[DEBUG]	Executed store
2023-10-13	13:07:31	2536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862028','123')
2023-10-13	13:07:31	2536	[DEBUG]	Find the custom field ID
2023-10-13	13:07:31	2536	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:31	2536	[DEBUG]	No custom field ID found
2023-10-13	13:07:31	2536	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:31	2536	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:07:31	2536	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862028 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:31	2536	[DEBUG]	Store custom available field
2023-10-13	13:07:31	2536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862028,3,'0',1)
2023-10-13	13:07:31	2536	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:31	2536	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:31	2536	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862028 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:31	2536	[DEBUG]	Store custom available field
2023-10-13	13:07:31	2536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862028,6,'choisir la taille',3)
2023-10-13	13:07:31	2536	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:31	2536	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:31	2536	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:31	2536	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:31	2536	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862028 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:31	2536	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:31	2536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862028,8,1)
2023-10-13	13:07:31	2536	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:31	2536	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862028\":[1862028,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862028
2023-10-13	13:07:31	2536	[DEBUG]	Checking category
2023-10-13	13:07:31	2536	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:31	2536	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862028
2023-10-13	13:07:31	2536	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:31	2536	[DEBUG]	Executed store
2023-10-13	13:07:31	2536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862028','7345')
2023-10-13	13:07:31	2536	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:31	2536	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862028 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:31	2536	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:31	2536	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862028
2023-10-13	13:07:31	2537	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:31	2537	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:31	2537	[DEBUG]	Use field value for field taille
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:31	2537	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:31	2537	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:31	2537	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:31	2537	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:31	2537	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:31	2537	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:31	2537	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:31	2537	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:31	2537	[DEBUG]	Use field value for field published
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:31	2537	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field override
2023-10-13	13:07:31	2537	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:31	2537	[DEBUG]	Use field value for field slug
2023-10-13	13:07:31	2537	[DEBUG]	Process line 2537
2023-10-13	13:07:31	2537	[DEBUG]	Load a row
2023-10-13	13:07:31	2537	[DEBUG]	Processing item: 4524667409229
2023-10-13	13:07:31	2537	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:31	2537	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:31	2537	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5655_208'
2023-10-13	13:07:31	2537	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:31	2537	[DEBUG]	Processing product tax
2023-10-13	13:07:31	2537	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:31	2537	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:31	2537	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:31	2537	[DEBUG]	Query for Product
2023-10-13	13:07:31	2537	[DEBUG]	Executed store
2023-10-13	13:07:31	2537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862028','4524667409229','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:31	2537	[DEBUG]	No parent found
2023-10-13	13:07:31	2537	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862028 AND customfield_value = 'stockable'
2023-10-13	13:07:31	2537	[DEBUG]	Check product language entry
2023-10-13	13:07:31	2537	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862029
2023-10-13	13:07:31	2537	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:31	2537	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667409229' AND `virtuemart_product_id` != 1862029
2023-10-13	13:07:31	2537	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:31	2537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862029, '4524667409229')
2023-10-13	13:07:31	2537	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:31	2537	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-b01s-resin-avec-ressort-et-goupille-fendue-paires-blister-aucune-all' AND `virtuemart_product_id` != 1862029
2023-10-13	13:07:31	2537	[DEBUG]	Query for ProductLang
2023-10-13	13:07:31	2537	[DEBUG]	Executed store
2023-10-13	13:07:31	2537	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO plaquettes B01S résin avec ressort et goupille fendue paires blister / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-b01s-resin-avec-ressort-et-goupille-fendue-paires-blister-aucune-all' WHERE `virtuemart_product_id` = '1862029'
2023-10-13	13:07:31	2537	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30156_shimano_plaquettes_b01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:31	2537	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:31	2537	[DEBUG]	Process image file
2023-10-13	13:07:31	2537	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:31	2537	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:31	2537	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30156_shimano_plaquettes_b01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:31	2537	[DEBUG]	Full name target: bcprisme/30156_shimano_plaquettes_b01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:32	2537	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:32	2537	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30156_shimano_plaquettes_b01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg'
2023-10-13	13:07:32	2537	[DEBUG]	Query for Media
2023-10-13	13:07:32	2537	[DEBUG]	Executed store
2023-10-13	13:07:32	2537	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30156_shimano_plaquettes_b01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_url_thumb`='bcprisme/30156_shimano_plaquettes_b01s_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16577'
2023-10-13	13:07:32	2537	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:32	2537	[DEBUG]	Executed store
2023-10-13	13:07:32	2537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862029','16577','1')
2023-10-13	13:07:32	2537	[DEBUG]	Store product image relation
2023-10-13	13:07:32	2537	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:32	2537	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862029 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:32	2537	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:32	2537	[DEBUG]	Executed store
2023-10-13	13:07:32	2537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862029','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:32	2537	[DEBUG]	Checking manufacturer
2023-10-13	13:07:32	2537	[DEBUG]	Load a row
2023-10-13	13:07:32	2537	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:32	2537	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:32	2537	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:32	2537	[DEBUG]	Executed store
2023-10-13	13:07:32	2537	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:32	2537	[DEBUG]	Manufacturer exists
2023-10-13	13:07:32	2537	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:07:32	2537	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:32	2537	[DEBUG]	Executed store
2023-10-13	13:07:32	2537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862029','123')
2023-10-13	13:07:32	2537	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:32	2537	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:32	2537	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862029 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:32	2537	[DEBUG]	Store custom available field
2023-10-13	13:07:32	2537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862029,3,'',1)
2023-10-13	13:07:32	2537	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:32	2537	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:07:32	2537	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862029 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:32	2537	[DEBUG]	Store custom available field
2023-10-13	13:07:32	2537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862029,6,'All',3)
2023-10-13	13:07:32	2537	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:32	2537	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:32	2537	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862028
2023-10-13	13:07:32	2537	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:32	2537	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862028\":[1862028,8,1,\"choisir la taille\"],\"1862029\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862028
2023-10-13	13:07:32	2537	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:32	2537	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862029
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:32	2538	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field taille
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:32	2538	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:32	2538	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:32	2538	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:32	2538	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:32	2538	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:32	2538	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:32	2538	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field published
2023-10-13	13:07:32	2538	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:32	2538	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field override
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:32	2538	[DEBUG]	Use field value for field slug
2023-10-13	13:07:32	2538	[DEBUG]	Process line 2538
2023-10-13	13:07:32	2538	[DEBUG]	Load a row
2023-10-13	13:07:32	2538	[DEBUG]	Processing item: A_5658_247
2023-10-13	13:07:32	2538	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:32	2538	[DEBUG]	Processing product tax
2023-10-13	13:07:32	2538	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:32	2538	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:32	2538	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:32	2538	[DEBUG]	Query for Product
2023-10-13	13:07:32	2538	[DEBUG]	Executed store
2023-10-13	13:07:32	2538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5658_247','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:32	2538	[DEBUG]	Check product language entry
2023-10-13	13:07:32	2538	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862030
2023-10-13	13:07:32	2538	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:32	2538	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5658_247' AND `virtuemart_product_id` != 1862030
2023-10-13	13:07:32	2538	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:32	2538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862030, 'A_5658_247')
2023-10-13	13:07:32	2538	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:32	2538	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'brake-authority-plaquettes-freins-authority-shimano-deore-burly-cuivre' AND `virtuemart_product_id` != 1862030
2023-10-13	13:07:32	2538	[DEBUG]	Query for ProductLang
2023-10-13	13:07:32	2538	[DEBUG]	Executed store
2023-10-13	13:07:32	2538	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.525.B',`product_name`='BRAKE AUTHORITY PLAQUETTES FREINS  AUTHORITY SHIMANO DEORE BURLY / CUIVRE',`metadesc`='',`metakey`='',`customtitle`='',`slug`='brake-authority-plaquettes-freins-authority-shimano-deore-burly-cuivre' WHERE `virtuemart_product_id` = '1862030'
2023-10-13	13:07:32	2538	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30159_plaquettes_freins__authority_shimano_deore_burly.jpg
2023-10-13	13:07:32	2538	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:32	2538	[DEBUG]	Process image file
2023-10-13	13:07:32	2538	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:32	2538	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:32	2538	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30159_plaquettes_freins__authority_shimano_deore_burly.jpg
2023-10-13	13:07:32	2538	[DEBUG]	Full name target: bcprisme/30159_plaquettes_freins__authority_shimano_deore_burly.jpg
2023-10-13	13:07:33	2538	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:33	2538	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30159_plaquettes_freins__authority_shimano_deore_burly.jpg'
2023-10-13	13:07:33	2538	[DEBUG]	Query for Media
2023-10-13	13:07:33	2538	[DEBUG]	Executed store
2023-10-13	13:07:33	2538	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30159_plaquettes_freins__authority_shimano_deore_burly.jpg',`file_url_thumb`='bcprisme/30159_plaquettes_freins__authority_shimano_deore_burly.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16578'
2023-10-13	13:07:33	2538	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:33	2538	[DEBUG]	Executed store
2023-10-13	13:07:33	2538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862030','16578','1')
2023-10-13	13:07:33	2538	[DEBUG]	Store product image relation
2023-10-13	13:07:33	2538	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:33	2538	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862030 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:33	2538	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:33	2538	[DEBUG]	Executed store
2023-10-13	13:07:33	2538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862030','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:33	2538	[DEBUG]	Checking manufacturer
2023-10-13	13:07:33	2538	[DEBUG]	Load a row
2023-10-13	13:07:33	2538	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:33	2538	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:07:33	2538	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:33	2538	[DEBUG]	Executed store
2023-10-13	13:07:33	2538	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331209444664' WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:07:33	2538	[DEBUG]	Manufacturer exists
2023-10-13	13:07:33	2538	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 161
2023-10-13	13:07:33	2538	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:33	2538	[DEBUG]	Executed store
2023-10-13	13:07:33	2538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862030','161')
2023-10-13	13:07:33	2538	[DEBUG]	Find the custom field ID
2023-10-13	13:07:33	2538	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:33	2538	[DEBUG]	No custom field ID found
2023-10-13	13:07:33	2538	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:33	2538	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:07:33	2538	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862030 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:33	2538	[DEBUG]	Store custom available field
2023-10-13	13:07:33	2538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862030,3,'0',1)
2023-10-13	13:07:33	2538	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:33	2538	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:33	2538	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862030 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:33	2538	[DEBUG]	Store custom available field
2023-10-13	13:07:33	2538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862030,6,'choisir la taille',3)
2023-10-13	13:07:33	2538	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:33	2538	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:33	2538	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:33	2538	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:33	2538	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862030 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:33	2538	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:33	2538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862030,8,1)
2023-10-13	13:07:33	2538	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:33	2538	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862030\":[1862030,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862030
2023-10-13	13:07:33	2538	[DEBUG]	Checking category
2023-10-13	13:07:33	2538	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:33	2538	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862030
2023-10-13	13:07:33	2538	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:33	2538	[DEBUG]	Executed store
2023-10-13	13:07:33	2538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862030','7345')
2023-10-13	13:07:33	2538	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:33	2538	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862030 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:33	2538	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:33	2538	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862030
2023-10-13	13:07:33	2539	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:33	2539	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:33	2539	[DEBUG]	Use field value for field taille
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:33	2539	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:33	2539	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:33	2539	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:33	2539	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:33	2539	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:33	2539	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:33	2539	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:33	2539	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:33	2539	[DEBUG]	Use field value for field published
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:33	2539	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field override
2023-10-13	13:07:33	2539	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:33	2539	[DEBUG]	Use field value for field slug
2023-10-13	13:07:33	2539	[DEBUG]	Process line 2539
2023-10-13	13:07:33	2539	[DEBUG]	Load a row
2023-10-13	13:07:33	2539	[DEBUG]	Processing item: 3700692702035
2023-10-13	13:07:33	2539	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:33	2539	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:33	2539	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5658_247'
2023-10-13	13:07:33	2539	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:33	2539	[DEBUG]	Processing product tax
2023-10-13	13:07:33	2539	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:33	2539	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:33	2539	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:33	2539	[DEBUG]	Query for Product
2023-10-13	13:07:33	2539	[DEBUG]	Executed store
2023-10-13	13:07:33	2539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862030','3700692702035','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:33	2539	[DEBUG]	No parent found
2023-10-13	13:07:33	2539	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862030 AND customfield_value = 'stockable'
2023-10-13	13:07:33	2539	[DEBUG]	Check product language entry
2023-10-13	13:07:33	2539	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862031
2023-10-13	13:07:33	2539	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:33	2539	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3700692702035' AND `virtuemart_product_id` != 1862031
2023-10-13	13:07:33	2539	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:33	2539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862031, '3700692702035')
2023-10-13	13:07:33	2539	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:33	2539	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'brake-authority-plaquettes-freins-authority-shimano-deore-burly-cuivre-unitaire' AND `virtuemart_product_id` != 1862031
2023-10-13	13:07:33	2539	[DEBUG]	Query for ProductLang
2023-10-13	13:07:33	2539	[DEBUG]	Executed store
2023-10-13	13:07:33	2539	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BRAKE AUTHORITY PLAQUETTES FREINS  AUTHORITY SHIMANO DEORE BURLY / CUIVRE (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='brake-authority-plaquettes-freins-authority-shimano-deore-burly-cuivre-unitaire' WHERE `virtuemart_product_id` = '1862031'
2023-10-13	13:07:33	2539	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30159_plaquettes_freins__authority_shimano_deore_burly.jpg
2023-10-13	13:07:33	2539	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:33	2539	[DEBUG]	Process image file
2023-10-13	13:07:33	2539	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:33	2539	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:33	2539	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30159_plaquettes_freins__authority_shimano_deore_burly.jpg
2023-10-13	13:07:33	2539	[DEBUG]	Full name target: bcprisme/30159_plaquettes_freins__authority_shimano_deore_burly.jpg
2023-10-13	13:07:34	2539	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:34	2539	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30159_plaquettes_freins__authority_shimano_deore_burly.jpg'
2023-10-13	13:07:34	2539	[DEBUG]	Query for Media
2023-10-13	13:07:34	2539	[DEBUG]	Executed store
2023-10-13	13:07:34	2539	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30159_plaquettes_freins__authority_shimano_deore_burly.jpg',`file_url_thumb`='bcprisme/30159_plaquettes_freins__authority_shimano_deore_burly.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16578'
2023-10-13	13:07:34	2539	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:34	2539	[DEBUG]	Executed store
2023-10-13	13:07:34	2539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862031','16578','1')
2023-10-13	13:07:34	2539	[DEBUG]	Store product image relation
2023-10-13	13:07:34	2539	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:34	2539	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862031 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:34	2539	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:34	2539	[DEBUG]	Executed store
2023-10-13	13:07:34	2539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862031','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:34	2539	[DEBUG]	Checking manufacturer
2023-10-13	13:07:34	2539	[DEBUG]	Load a row
2023-10-13	13:07:34	2539	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:34	2539	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:07:34	2539	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:34	2539	[DEBUG]	Executed store
2023-10-13	13:07:34	2539	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331209444664' WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:07:34	2539	[DEBUG]	Manufacturer exists
2023-10-13	13:07:34	2539	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 161
2023-10-13	13:07:34	2539	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:34	2539	[DEBUG]	Executed store
2023-10-13	13:07:34	2539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862031','161')
2023-10-13	13:07:34	2539	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:34	2539	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:34	2539	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862031 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:34	2539	[DEBUG]	Store custom available field
2023-10-13	13:07:34	2539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862031,3,'',1)
2023-10-13	13:07:34	2539	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:34	2539	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:34	2539	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862031 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:34	2539	[DEBUG]	Store custom available field
2023-10-13	13:07:34	2539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862031,6,'Unitaire',3)
2023-10-13	13:07:34	2539	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:34	2539	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:34	2539	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862030
2023-10-13	13:07:34	2539	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:34	2539	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862030\":[1862030,8,1,\"choisir la taille\"],\"1862031\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862030
2023-10-13	13:07:34	2539	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:34	2539	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862031
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:34	2540	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field taille
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:34	2540	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:34	2540	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:34	2540	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:34	2540	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:34	2540	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:34	2540	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:34	2540	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field published
2023-10-13	13:07:34	2540	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:34	2540	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field override
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:34	2540	[DEBUG]	Use field value for field slug
2023-10-13	13:07:34	2540	[DEBUG]	Process line 2540
2023-10-13	13:07:34	2540	[DEBUG]	Load a row
2023-10-13	13:07:34	2540	[DEBUG]	Processing item: A_5659_247
2023-10-13	13:07:34	2540	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:34	2540	[DEBUG]	Processing product tax
2023-10-13	13:07:34	2540	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:34	2540	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:34	2540	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:34	2540	[DEBUG]	Query for Product
2023-10-13	13:07:34	2540	[DEBUG]	Executed store
2023-10-13	13:07:34	2540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5659_247','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:34	2540	[DEBUG]	Check product language entry
2023-10-13	13:07:34	2540	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862032
2023-10-13	13:07:34	2540	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:34	2540	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5659_247' AND `virtuemart_product_id` != 1862032
2023-10-13	13:07:34	2540	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:34	2540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862032, 'A_5659_247')
2023-10-13	13:07:34	2540	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:34	2540	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'brake-authority-plaquettes-freins-authority-shimano-xtr-2011-burly-paire-m985-cuivre' AND `virtuemart_product_id` != 1862032
2023-10-13	13:07:34	2540	[DEBUG]	Query for ProductLang
2023-10-13	13:07:34	2540	[DEBUG]	Executed store
2023-10-13	13:07:34	2540	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 240.539.B',`product_name`='BRAKE AUTHORITY PLAQUETTES FREINS  AUTHORITY SHIMANO XTR 2011 BURLY PAIRE-M985 / CUIVRE',`metadesc`='',`metakey`='',`customtitle`='',`slug`='brake-authority-plaquettes-freins-authority-shimano-xtr-2011-burly-paire-m985-cuivre' WHERE `virtuemart_product_id` = '1862032'
2023-10-13	13:07:34	2540	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30160_plaquettes_freins__authority_shimano_xtr_2011_burly_paire-m985.jpg
2023-10-13	13:07:34	2540	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:34	2540	[DEBUG]	Process image file
2023-10-13	13:07:34	2540	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:34	2540	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:34	2540	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30160_plaquettes_freins__authority_shimano_xtr_2011_burly_paire-m985.jpg
2023-10-13	13:07:34	2540	[DEBUG]	Full name target: bcprisme/30160_plaquettes_freins__authority_shimano_xtr_2011_burly_paire-m985.jpg
2023-10-13	13:07:35	2540	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:35	2540	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30160_plaquettes_freins__authority_shimano_xtr_2011_burly_paire-m985.jpg'
2023-10-13	13:07:35	2540	[DEBUG]	Query for Media
2023-10-13	13:07:35	2540	[DEBUG]	Executed store
2023-10-13	13:07:35	2540	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30160_plaquettes_freins__authority_shimano_xtr_2011_burly_paire-m985.jpg',`file_url_thumb`='bcprisme/30160_plaquettes_freins__authority_shimano_xtr_2011_burly_paire-m985.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16579'
2023-10-13	13:07:35	2540	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:35	2540	[DEBUG]	Executed store
2023-10-13	13:07:35	2540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862032','16579','1')
2023-10-13	13:07:35	2540	[DEBUG]	Store product image relation
2023-10-13	13:07:35	2540	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:35	2540	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862032 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:35	2540	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:35	2540	[DEBUG]	Executed store
2023-10-13	13:07:35	2540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862032','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:35	2540	[DEBUG]	Checking manufacturer
2023-10-13	13:07:35	2540	[DEBUG]	Load a row
2023-10-13	13:07:35	2540	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:35	2540	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:07:35	2540	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:35	2540	[DEBUG]	Executed store
2023-10-13	13:07:35	2540	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331209444664' WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:07:35	2540	[DEBUG]	Manufacturer exists
2023-10-13	13:07:35	2540	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 161
2023-10-13	13:07:35	2540	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:35	2540	[DEBUG]	Executed store
2023-10-13	13:07:35	2540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862032','161')
2023-10-13	13:07:35	2540	[DEBUG]	Find the custom field ID
2023-10-13	13:07:35	2540	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:35	2540	[DEBUG]	No custom field ID found
2023-10-13	13:07:35	2540	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:35	2540	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:07:35	2540	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862032 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:35	2540	[DEBUG]	Store custom available field
2023-10-13	13:07:35	2540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862032,3,'0',1)
2023-10-13	13:07:35	2540	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:35	2540	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:35	2540	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862032 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:35	2540	[DEBUG]	Store custom available field
2023-10-13	13:07:35	2540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862032,6,'choisir la taille',3)
2023-10-13	13:07:35	2540	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:35	2540	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:35	2540	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:35	2540	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:35	2540	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862032 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:35	2540	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:35	2540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862032,8,1)
2023-10-13	13:07:35	2540	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:35	2540	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862032\":[1862032,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862032
2023-10-13	13:07:35	2540	[DEBUG]	Checking category
2023-10-13	13:07:35	2540	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:35	2540	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862032
2023-10-13	13:07:35	2540	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:35	2540	[DEBUG]	Executed store
2023-10-13	13:07:35	2540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862032','7345')
2023-10-13	13:07:35	2540	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:35	2540	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862032 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:35	2540	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:35	2540	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862032
2023-10-13	13:07:35	2541	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:35	2541	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:35	2541	[DEBUG]	Use field value for field taille
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:35	2541	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:35	2541	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:35	2541	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:35	2541	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:35	2541	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:35	2541	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:35	2541	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:35	2541	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:35	2541	[DEBUG]	Use field value for field published
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:35	2541	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field override
2023-10-13	13:07:35	2541	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:35	2541	[DEBUG]	Use field value for field slug
2023-10-13	13:07:35	2541	[DEBUG]	Process line 2541
2023-10-13	13:07:35	2541	[DEBUG]	Load a row
2023-10-13	13:07:35	2541	[DEBUG]	Processing item: 3700692702936
2023-10-13	13:07:35	2541	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:35	2541	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:35	2541	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5659_247'
2023-10-13	13:07:35	2541	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:35	2541	[DEBUG]	Processing product tax
2023-10-13	13:07:35	2541	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:35	2541	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:35	2541	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:35	2541	[DEBUG]	Query for Product
2023-10-13	13:07:35	2541	[DEBUG]	Executed store
2023-10-13	13:07:35	2541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862032','3700692702936','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:35	2541	[DEBUG]	No parent found
2023-10-13	13:07:35	2541	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862032 AND customfield_value = 'stockable'
2023-10-13	13:07:35	2541	[DEBUG]	Check product language entry
2023-10-13	13:07:35	2541	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862033
2023-10-13	13:07:35	2541	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:35	2541	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3700692702936' AND `virtuemart_product_id` != 1862033
2023-10-13	13:07:35	2541	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:35	2541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862033, '3700692702936')
2023-10-13	13:07:35	2541	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:35	2541	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'brake-authority-plaquettes-freins-authority-shimano-xtr-2011-burly-paire-m985-cuivre-unitaire' AND `virtuemart_product_id` != 1862033
2023-10-13	13:07:35	2541	[DEBUG]	Query for ProductLang
2023-10-13	13:07:35	2541	[DEBUG]	Executed store
2023-10-13	13:07:35	2541	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BRAKE AUTHORITY PLAQUETTES FREINS  AUTHORITY SHIMANO XTR 2011 BURLY PAIRE-M985 / CUIVRE (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='brake-authority-plaquettes-freins-authority-shimano-xtr-2011-burly-paire-m985-cuivre-unitaire' WHERE `virtuemart_product_id` = '1862033'
2023-10-13	13:07:35	2541	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30160_plaquettes_freins__authority_shimano_xtr_2011_burly_paire-m985.jpg
2023-10-13	13:07:35	2541	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:35	2541	[DEBUG]	Process image file
2023-10-13	13:07:35	2541	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:35	2541	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:35	2541	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30160_plaquettes_freins__authority_shimano_xtr_2011_burly_paire-m985.jpg
2023-10-13	13:07:35	2541	[DEBUG]	Full name target: bcprisme/30160_plaquettes_freins__authority_shimano_xtr_2011_burly_paire-m985.jpg
2023-10-13	13:07:36	2541	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:36	2541	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30160_plaquettes_freins__authority_shimano_xtr_2011_burly_paire-m985.jpg'
2023-10-13	13:07:36	2541	[DEBUG]	Query for Media
2023-10-13	13:07:36	2541	[DEBUG]	Executed store
2023-10-13	13:07:36	2541	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30160_plaquettes_freins__authority_shimano_xtr_2011_burly_paire-m985.jpg',`file_url_thumb`='bcprisme/30160_plaquettes_freins__authority_shimano_xtr_2011_burly_paire-m985.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16579'
2023-10-13	13:07:36	2541	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:36	2541	[DEBUG]	Executed store
2023-10-13	13:07:36	2541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862033','16579','1')
2023-10-13	13:07:36	2541	[DEBUG]	Store product image relation
2023-10-13	13:07:36	2541	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:36	2541	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862033 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:36	2541	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:36	2541	[DEBUG]	Executed store
2023-10-13	13:07:36	2541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862033','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:36	2541	[DEBUG]	Checking manufacturer
2023-10-13	13:07:36	2541	[DEBUG]	Load a row
2023-10-13	13:07:36	2541	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:36	2541	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:07:36	2541	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:36	2541	[DEBUG]	Executed store
2023-10-13	13:07:36	2541	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331209444664' WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:07:36	2541	[DEBUG]	Manufacturer exists
2023-10-13	13:07:36	2541	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 161
2023-10-13	13:07:36	2541	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:36	2541	[DEBUG]	Executed store
2023-10-13	13:07:36	2541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862033','161')
2023-10-13	13:07:36	2541	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:36	2541	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:36	2541	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862033 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:36	2541	[DEBUG]	Store custom available field
2023-10-13	13:07:36	2541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862033,3,'',1)
2023-10-13	13:07:36	2541	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:36	2541	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:36	2541	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862033 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:36	2541	[DEBUG]	Store custom available field
2023-10-13	13:07:36	2541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862033,6,'Unitaire',3)
2023-10-13	13:07:36	2541	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:36	2541	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:36	2541	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862032
2023-10-13	13:07:36	2541	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:36	2541	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862032\":[1862032,8,1,\"choisir la taille\"],\"1862033\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862032
2023-10-13	13:07:36	2541	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:36	2541	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862033
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:36	2542	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field taille
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:36	2542	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:36	2542	[DEBUG]	Use default value for field file_url
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:36	2542	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:36	2542	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:36	2542	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:36	2542	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:36	2542	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field published
2023-10-13	13:07:36	2542	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:36	2542	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field override
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:36	2542	[DEBUG]	Use field value for field slug
2023-10-13	13:07:36	2542	[DEBUG]	Process line 2542
2023-10-13	13:07:36	2542	[DEBUG]	Load a row
2023-10-13	13:07:36	2542	[DEBUG]	Processing item: A_5762_22
2023-10-13	13:07:36	2542	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:36	2542	[DEBUG]	Processing product tax
2023-10-13	13:07:36	2542	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:36	2542	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:36	2542	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:36	2542	[DEBUG]	Query for Product
2023-10-13	13:07:36	2542	[DEBUG]	Executed store
2023-10-13	13:07:36	2542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5762_22','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:36	2542	[DEBUG]	Check product language entry
2023-10-13	13:07:36	2542	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862034
2023-10-13	13:07:36	2542	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:36	2542	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5762_22' AND `virtuemart_product_id` != 1862034
2023-10-13	13:07:36	2542	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:36	2542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862034, 'A_5762_22')
2023-10-13	13:07:36	2542	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:36	2542	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-plaquettes-de-freins-nissin-cl2249-bleu' AND `virtuemart_product_id` != 1862034
2023-10-13	13:07:36	2542	[DEBUG]	Query for ProductLang
2023-10-13	13:07:36	2542	[DEBUG]	Executed store
2023-10-13	13:07:36	2542	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. <br>N° art fourn : 2P-282NS',`product_name`='MLV-Bike Plaquettes de freins NISSIN CL2249  / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-plaquettes-de-freins-nissin-cl2249-bleu' WHERE `virtuemart_product_id` = '1862034'
2023-10-13	13:07:36	2542	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:36	2542	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862034 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:36	2542	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:36	2542	[DEBUG]	Executed store
2023-10-13	13:07:36	2542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862034','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:36	2542	[DEBUG]	Checking manufacturer
2023-10-13	13:07:36	2542	[DEBUG]	Load a row
2023-10-13	13:07:36	2542	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:36	2542	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:07:36	2542	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:36	2542	[DEBUG]	Executed store
2023-10-13	13:07:36	2542	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:07:36	2542	[DEBUG]	Manufacturer exists
2023-10-13	13:07:36	2542	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:07:36	2542	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:36	2542	[DEBUG]	Executed store
2023-10-13	13:07:36	2542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862034','2')
2023-10-13	13:07:36	2542	[DEBUG]	Find the custom field ID
2023-10-13	13:07:36	2542	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:36	2542	[DEBUG]	No custom field ID found
2023-10-13	13:07:36	2542	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:36	2542	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:07:36	2542	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862034 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:36	2542	[DEBUG]	Store custom available field
2023-10-13	13:07:36	2542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862034,3,'16.8530555555556',1)
2023-10-13	13:07:36	2542	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:36	2542	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:36	2542	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862034 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:36	2542	[DEBUG]	Store custom available field
2023-10-13	13:07:36	2542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862034,6,'choisir la taille',3)
2023-10-13	13:07:36	2542	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:36	2542	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:36	2542	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:36	2542	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:36	2542	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862034 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:36	2542	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:36	2542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862034,8,1)
2023-10-13	13:07:36	2542	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:36	2542	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862034\":[1862034,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862034
2023-10-13	13:07:36	2542	[DEBUG]	Checking category
2023-10-13	13:07:36	2542	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:36	2542	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862034
2023-10-13	13:07:36	2542	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:36	2542	[DEBUG]	Executed store
2023-10-13	13:07:36	2542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862034','7345')
2023-10-13	13:07:36	2542	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:36	2542	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862034 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:36	2542	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:36	2542	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862034
2023-10-13	13:07:36	2543	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:36	2543	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:36	2543	[DEBUG]	Use field value for field taille
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:36	2543	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:36	2543	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:36	2543	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field file_url
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:36	2543	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:36	2543	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:36	2543	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:36	2543	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:36	2543	[DEBUG]	Use field value for field published
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:36	2543	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field override
2023-10-13	13:07:36	2543	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:36	2543	[DEBUG]	Use field value for field slug
2023-10-13	13:07:36	2543	[DEBUG]	Process line 2543
2023-10-13	13:07:36	2543	[DEBUG]	Load a row
2023-10-13	13:07:36	2543	[DEBUG]	Processing item: 3000192282007
2023-10-13	13:07:36	2543	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:36	2543	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:36	2543	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5762_22'
2023-10-13	13:07:36	2543	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:36	2543	[DEBUG]	Processing product tax
2023-10-13	13:07:36	2543	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:36	2543	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:36	2543	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:36	2543	[DEBUG]	Query for Product
2023-10-13	13:07:36	2543	[DEBUG]	Executed store
2023-10-13	13:07:36	2543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862034','3000192282007','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:36	2543	[DEBUG]	No parent found
2023-10-13	13:07:36	2543	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862034 AND customfield_value = 'stockable'
2023-10-13	13:07:36	2543	[DEBUG]	Check product language entry
2023-10-13	13:07:36	2543	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862035
2023-10-13	13:07:36	2543	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:36	2543	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3000192282007' AND `virtuemart_product_id` != 1862035
2023-10-13	13:07:36	2543	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:36	2543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862035, '3000192282007')
2023-10-13	13:07:36	2543	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:36	2543	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-plaquettes-de-freins-nissin-cl2249-bleu-set' AND `virtuemart_product_id` != 1862035
2023-10-13	13:07:36	2543	[DEBUG]	Query for ProductLang
2023-10-13	13:07:36	2543	[DEBUG]	Executed store
2023-10-13	13:07:36	2543	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Plaquettes de freins NISSIN CL2249  / Bleu (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-plaquettes-de-freins-nissin-cl2249-bleu-set' WHERE `virtuemart_product_id` = '1862035'
2023-10-13	13:07:36	2543	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:36	2543	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862035 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:36	2543	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:36	2543	[DEBUG]	Executed store
2023-10-13	13:07:36	2543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862035','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:36	2543	[DEBUG]	Checking manufacturer
2023-10-13	13:07:36	2543	[DEBUG]	Load a row
2023-10-13	13:07:36	2543	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:36	2543	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:07:36	2543	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:36	2543	[DEBUG]	Executed store
2023-10-13	13:07:36	2543	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:07:36	2543	[DEBUG]	Manufacturer exists
2023-10-13	13:07:36	2543	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:07:36	2543	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:36	2543	[DEBUG]	Executed store
2023-10-13	13:07:36	2543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862035','2')
2023-10-13	13:07:36	2543	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:36	2543	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:36	2543	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862035 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:36	2543	[DEBUG]	Store custom available field
2023-10-13	13:07:36	2543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862035,3,'',1)
2023-10-13	13:07:36	2543	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:36	2543	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:07:36	2543	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862035 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:36	2543	[DEBUG]	Store custom available field
2023-10-13	13:07:36	2543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862035,6,'Set',3)
2023-10-13	13:07:36	2543	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:36	2543	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:36	2543	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862034
2023-10-13	13:07:36	2543	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:36	2543	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862034\":[1862034,8,1,\"choisir la taille\"],\"1862035\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862034
2023-10-13	13:07:36	2543	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:36	2543	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862035
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:36	2544	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field taille
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:36	2544	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:36	2544	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:36	2544	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:36	2544	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:36	2544	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:36	2544	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field published
2023-10-13	13:07:36	2544	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:36	2544	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field override
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:36	2544	[DEBUG]	Use field value for field slug
2023-10-13	13:07:36	2544	[DEBUG]	Process line 2544
2023-10-13	13:07:36	2544	[DEBUG]	Load a row
2023-10-13	13:07:36	2544	[DEBUG]	Processing item: A_6223_0
2023-10-13	13:07:36	2544	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:36	2544	[DEBUG]	Processing product tax
2023-10-13	13:07:36	2544	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:36	2544	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:36	2544	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:36	2544	[DEBUG]	Query for Product
2023-10-13	13:07:36	2544	[DEBUG]	Executed store
2023-10-13	13:07:36	2544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6223_0','0.004','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:36	2544	[DEBUG]	Check product language entry
2023-10-13	13:07:36	2544	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862036
2023-10-13	13:07:36	2544	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:36	2544	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6223_0' AND `virtuemart_product_id` != 1862036
2023-10-13	13:07:36	2544	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:36	2544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862036, 'A_6223_0')
2023-10-13	13:07:36	2544	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:36	2544	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-plaquettes-de-frein-disques-semi-metalliques-magura-mt-2-4-6-8-unique' AND `virtuemart_product_id` != 1862036
2023-10-13	13:07:36	2544	[DEBUG]	Query for ProductLang
2023-10-13	13:07:36	2544	[DEBUG]	Executed store
2023-10-13	13:07:36	2544	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. semi-métalliques,  Magura MT 2,4,6,8<br>N° art fourn : H8776Y',`product_name`='MAGURA Plaquettes de frein disques. semi-métalliques,  Magura MT 2,4,6,8 / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-plaquettes-de-frein-disques-semi-metalliques-magura-mt-2-4-6-8-unique' WHERE `virtuemart_product_id` = '1862036'
2023-10-13	13:07:36	2544	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32066_plaquettes_de_frein_8r_race_magura_mt5-7.jpg
2023-10-13	13:07:36	2544	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:36	2544	[DEBUG]	Process image file
2023-10-13	13:07:36	2544	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:36	2544	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:36	2544	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32066_plaquettes_de_frein_8r_race_magura_mt5-7.jpg
2023-10-13	13:07:36	2544	[DEBUG]	Full name target: bcprisme/32066_plaquettes_de_frein_8r_race_magura_mt5-7.jpg
2023-10-13	13:07:37	2544	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:37	2544	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32066_plaquettes_de_frein_8r_race_magura_mt5-7.jpg'
2023-10-13	13:07:37	2544	[DEBUG]	Query for Media
2023-10-13	13:07:37	2544	[DEBUG]	Executed store
2023-10-13	13:07:37	2544	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32066_plaquettes_de_frein_8r_race_magura_mt5-7.jpg',`file_url_thumb`='bcprisme/32066_plaquettes_de_frein_8r_race_magura_mt5-7.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12871'
2023-10-13	13:07:37	2544	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:37	2544	[DEBUG]	Executed store
2023-10-13	13:07:37	2544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862036','12871','1')
2023-10-13	13:07:37	2544	[DEBUG]	Store product image relation
2023-10-13	13:07:37	2544	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:37	2544	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862036 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:37	2544	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:37	2544	[DEBUG]	Executed store
2023-10-13	13:07:37	2544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862036','0','29.619312906221','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:37	2544	[DEBUG]	Checking manufacturer
2023-10-13	13:07:37	2544	[DEBUG]	Load a row
2023-10-13	13:07:37	2544	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:37	2544	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:07:37	2544	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:37	2544	[DEBUG]	Executed store
2023-10-13	13:07:37	2544	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:07:37	2544	[DEBUG]	Manufacturer exists
2023-10-13	13:07:37	2544	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:07:37	2544	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:37	2544	[DEBUG]	Executed store
2023-10-13	13:07:37	2544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862036','38')
2023-10-13	13:07:37	2544	[DEBUG]	Find the custom field ID
2023-10-13	13:07:37	2544	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:37	2544	[DEBUG]	No custom field ID found
2023-10-13	13:07:37	2544	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:37	2544	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:07:37	2544	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862036 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:37	2544	[DEBUG]	Store custom available field
2023-10-13	13:07:37	2544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862036,3,'16.8530555555556',1)
2023-10-13	13:07:37	2544	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:37	2544	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:37	2544	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862036 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:37	2544	[DEBUG]	Store custom available field
2023-10-13	13:07:37	2544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862036,6,'choisir la taille',3)
2023-10-13	13:07:37	2544	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:37	2544	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:37	2544	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:37	2544	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:37	2544	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862036 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:37	2544	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:37	2544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862036,8,1)
2023-10-13	13:07:37	2544	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:37	2544	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862036\":[1862036,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862036
2023-10-13	13:07:37	2544	[DEBUG]	Checking category
2023-10-13	13:07:37	2544	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:37	2544	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862036
2023-10-13	13:07:37	2544	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:37	2544	[DEBUG]	Executed store
2023-10-13	13:07:37	2544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862036','7345')
2023-10-13	13:07:37	2544	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:37	2544	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862036 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:37	2544	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:37	2544	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862036
2023-10-13	13:07:37	2545	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:37	2545	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:37	2545	[DEBUG]	Use field value for field taille
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:37	2545	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:37	2545	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:37	2545	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:37	2545	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:37	2545	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:37	2545	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:37	2545	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:37	2545	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:37	2545	[DEBUG]	Use field value for field published
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:37	2545	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field override
2023-10-13	13:07:37	2545	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:37	2545	[DEBUG]	Use field value for field slug
2023-10-13	13:07:37	2545	[DEBUG]	Process line 2545
2023-10-13	13:07:37	2545	[DEBUG]	Load a row
2023-10-13	13:07:37	2545	[DEBUG]	Processing item: 4055184014523
2023-10-13	13:07:37	2545	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:37	2545	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:37	2545	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6223_0'
2023-10-13	13:07:37	2545	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:37	2545	[DEBUG]	Processing product tax
2023-10-13	13:07:37	2545	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:37	2545	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:37	2545	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:37	2545	[DEBUG]	Query for Product
2023-10-13	13:07:37	2545	[DEBUG]	Executed store
2023-10-13	13:07:37	2545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862036','4055184014523','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:37	2545	[DEBUG]	No parent found
2023-10-13	13:07:37	2545	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862036 AND customfield_value = 'stockable'
2023-10-13	13:07:37	2545	[DEBUG]	Check product language entry
2023-10-13	13:07:37	2545	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862037
2023-10-13	13:07:37	2545	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:37	2545	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184014523' AND `virtuemart_product_id` != 1862037
2023-10-13	13:07:37	2545	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:37	2545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862037, '4055184014523')
2023-10-13	13:07:37	2545	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:37	2545	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-plaquettes-de-frein-disques-semi-metalliques-magura-mt-2-4-6-8-unique-unitaire' AND `virtuemart_product_id` != 1862037
2023-10-13	13:07:37	2545	[DEBUG]	Query for ProductLang
2023-10-13	13:07:37	2545	[DEBUG]	Executed store
2023-10-13	13:07:37	2545	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Plaquettes de frein disques. semi-métalliques,  Magura MT 2,4,6,8 / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-plaquettes-de-frein-disques-semi-metalliques-magura-mt-2-4-6-8-unique-unitaire' WHERE `virtuemart_product_id` = '1862037'
2023-10-13	13:07:37	2545	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32066_plaquettes_de_frein_8r_race_magura_mt5-7.jpg
2023-10-13	13:07:37	2545	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:37	2545	[DEBUG]	Process image file
2023-10-13	13:07:37	2545	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:37	2545	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:37	2545	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32066_plaquettes_de_frein_8r_race_magura_mt5-7.jpg
2023-10-13	13:07:37	2545	[DEBUG]	Full name target: bcprisme/32066_plaquettes_de_frein_8r_race_magura_mt5-7.jpg
2023-10-13	13:07:38	2545	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:38	2545	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32066_plaquettes_de_frein_8r_race_magura_mt5-7.jpg'
2023-10-13	13:07:38	2545	[DEBUG]	Query for Media
2023-10-13	13:07:38	2545	[DEBUG]	Executed store
2023-10-13	13:07:38	2545	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32066_plaquettes_de_frein_8r_race_magura_mt5-7.jpg',`file_url_thumb`='bcprisme/32066_plaquettes_de_frein_8r_race_magura_mt5-7.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12871'
2023-10-13	13:07:38	2545	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:38	2545	[DEBUG]	Executed store
2023-10-13	13:07:38	2545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862037','12871','1')
2023-10-13	13:07:38	2545	[DEBUG]	Store product image relation
2023-10-13	13:07:38	2545	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:38	2545	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862037 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:38	2545	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:38	2545	[DEBUG]	Executed store
2023-10-13	13:07:38	2545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862037','0','29.619312906221','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:38	2545	[DEBUG]	Checking manufacturer
2023-10-13	13:07:38	2545	[DEBUG]	Load a row
2023-10-13	13:07:38	2545	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:38	2545	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:07:38	2545	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:38	2545	[DEBUG]	Executed store
2023-10-13	13:07:38	2545	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:07:38	2545	[DEBUG]	Manufacturer exists
2023-10-13	13:07:38	2545	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:07:38	2545	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:38	2545	[DEBUG]	Executed store
2023-10-13	13:07:38	2545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862037','38')
2023-10-13	13:07:38	2545	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:38	2545	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:38	2545	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862037 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:38	2545	[DEBUG]	Store custom available field
2023-10-13	13:07:38	2545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862037,3,'',1)
2023-10-13	13:07:38	2545	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:38	2545	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:38	2545	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862037 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:38	2545	[DEBUG]	Store custom available field
2023-10-13	13:07:38	2545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862037,6,'Unitaire',3)
2023-10-13	13:07:38	2545	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:38	2545	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:38	2545	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862036
2023-10-13	13:07:38	2545	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:38	2545	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862036\":[1862036,8,1,\"choisir la taille\"],\"1862037\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862036
2023-10-13	13:07:38	2545	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:38	2545	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862037
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:38	2546	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field taille
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:38	2546	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:38	2546	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:38	2546	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:38	2546	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:38	2546	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:38	2546	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field published
2023-10-13	13:07:38	2546	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:38	2546	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field override
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:38	2546	[DEBUG]	Use field value for field slug
2023-10-13	13:07:38	2546	[DEBUG]	Process line 2546
2023-10-13	13:07:38	2546	[DEBUG]	Load a row
2023-10-13	13:07:38	2546	[DEBUG]	Processing item: A_6478_3
2023-10-13	13:07:38	2546	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:38	2546	[DEBUG]	Processing product tax
2023-10-13	13:07:38	2546	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:38	2546	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:38	2546	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:38	2546	[DEBUG]	Query for Product
2023-10-13	13:07:38	2546	[DEBUG]	Executed store
2023-10-13	13:07:38	2546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6478_3','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:38	2546	[DEBUG]	Check product language entry
2023-10-13	13:07:39	2546	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862038
2023-10-13	13:07:39	2546	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:39	2546	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6478_3' AND `virtuemart_product_id` != 1862038
2023-10-13	13:07:39	2546	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:39	2546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862038, 'A_6478_3')
2023-10-13	13:07:39	2546	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:39	2546	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-plaquettes-de-freins-avid-elixir-xx-semi-metallique-none' AND `virtuemart_product_id` != 1862038
2023-10-13	13:07:39	2546	[DEBUG]	Query for ProductLang
2023-10-13	13:07:39	2546	[DEBUG]	Executed store
2023-10-13	13:07:39	2546	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée.  19gr<br>N° art fourn : H8122J',`product_name`='MLV-Bike Plaquettes de freins Avid Elixir / XX semi-métallique  / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-plaquettes-de-freins-avid-elixir-xx-semi-metallique-none' WHERE `virtuemart_product_id` = '1862038'
2023-10-13	13:07:39	2546	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32359_plaquettes_de_freins_avid_elixir_-_xx_semi-metallique_.jpg
2023-10-13	13:07:39	2546	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:39	2546	[DEBUG]	Process image file
2023-10-13	13:07:39	2546	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:39	2546	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:39	2546	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32359_plaquettes_de_freins_avid_elixir_-_xx_semi-metallique_.jpg
2023-10-13	13:07:39	2546	[DEBUG]	Full name target: bcprisme/32359_plaquettes_de_freins_avid_elixir_-_xx_semi-metallique_.jpg
2023-10-13	13:07:39	2546	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:39	2546	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32359_plaquettes_de_freins_avid_elixir_-_xx_semi-metallique_.jpg'
2023-10-13	13:07:39	2546	[DEBUG]	Query for Media
2023-10-13	13:07:39	2546	[DEBUG]	Executed store
2023-10-13	13:07:39	2546	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32359_plaquettes_de_freins_avid_elixir_-_xx_semi-metallique_.jpg',`file_url_thumb`='bcprisme/32359_plaquettes_de_freins_avid_elixir_-_xx_semi-metallique_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12872'
2023-10-13	13:07:39	2546	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:39	2546	[DEBUG]	Executed store
2023-10-13	13:07:39	2546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862038','12872','1')
2023-10-13	13:07:39	2546	[DEBUG]	Store product image relation
2023-10-13	13:07:39	2546	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:39	2546	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862038 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:39	2546	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:39	2546	[DEBUG]	Executed store
2023-10-13	13:07:39	2546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862038','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:39	2546	[DEBUG]	Checking manufacturer
2023-10-13	13:07:39	2546	[DEBUG]	Load a row
2023-10-13	13:07:39	2546	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:39	2546	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:07:39	2546	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:39	2546	[DEBUG]	Executed store
2023-10-13	13:07:39	2546	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:07:39	2546	[DEBUG]	Manufacturer exists
2023-10-13	13:07:39	2546	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:07:39	2546	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:39	2546	[DEBUG]	Executed store
2023-10-13	13:07:39	2546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862038','2')
2023-10-13	13:07:39	2546	[DEBUG]	Find the custom field ID
2023-10-13	13:07:39	2546	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:39	2546	[DEBUG]	No custom field ID found
2023-10-13	13:07:39	2546	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:39	2546	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:07:39	2546	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862038 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:39	2546	[DEBUG]	Store custom available field
2023-10-13	13:07:39	2546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862038,3,'12.8641666666667',1)
2023-10-13	13:07:39	2546	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:39	2546	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:39	2546	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862038 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:39	2546	[DEBUG]	Store custom available field
2023-10-13	13:07:39	2546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862038,6,'choisir la taille',3)
2023-10-13	13:07:39	2546	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:39	2546	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:39	2546	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:39	2546	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:39	2546	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862038 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:39	2546	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:39	2546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862038,8,1)
2023-10-13	13:07:40	2546	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:40	2546	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862038\":[1862038,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862038
2023-10-13	13:07:40	2546	[DEBUG]	Checking category
2023-10-13	13:07:40	2546	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:40	2546	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862038
2023-10-13	13:07:40	2546	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:40	2546	[DEBUG]	Executed store
2023-10-13	13:07:40	2546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862038','7345')
2023-10-13	13:07:40	2546	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:40	2546	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862038 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:40	2546	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:40	2546	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862038
2023-10-13	13:07:40	2547	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:40	2547	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:40	2547	[DEBUG]	Use field value for field taille
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:40	2547	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:40	2547	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:40	2547	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:40	2547	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:40	2547	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:40	2547	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:40	2547	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:40	2547	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:40	2547	[DEBUG]	Use field value for field published
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:40	2547	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field override
2023-10-13	13:07:40	2547	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:40	2547	[DEBUG]	Use field value for field slug
2023-10-13	13:07:40	2547	[DEBUG]	Process line 2547
2023-10-13	13:07:40	2547	[DEBUG]	Load a row
2023-10-13	13:07:40	2547	[DEBUG]	Processing item: 8716683057867
2023-10-13	13:07:40	2547	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:40	2547	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:40	2547	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6478_3'
2023-10-13	13:07:40	2547	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:40	2547	[DEBUG]	Processing product tax
2023-10-13	13:07:40	2547	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:40	2547	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:40	2547	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:40	2547	[DEBUG]	Query for Product
2023-10-13	13:07:40	2547	[DEBUG]	Executed store
2023-10-13	13:07:40	2547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862038','8716683057867','0','KG','M','','13','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:40	2547	[DEBUG]	No parent found
2023-10-13	13:07:40	2547	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862038 AND customfield_value = 'stockable'
2023-10-13	13:07:40	2547	[DEBUG]	Check product language entry
2023-10-13	13:07:40	2547	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862039
2023-10-13	13:07:40	2547	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:40	2547	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8716683057867' AND `virtuemart_product_id` != 1862039
2023-10-13	13:07:40	2547	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:40	2547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862039, '8716683057867')
2023-10-13	13:07:40	2547	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:40	2547	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-plaquettes-de-freins-avid-elixir-xx-semi-metallique-none-set' AND `virtuemart_product_id` != 1862039
2023-10-13	13:07:40	2547	[DEBUG]	Query for ProductLang
2023-10-13	13:07:40	2547	[DEBUG]	Executed store
2023-10-13	13:07:40	2547	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Plaquettes de freins Avid Elixir / XX semi-métallique  / None (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-plaquettes-de-freins-avid-elixir-xx-semi-metallique-none-set' WHERE `virtuemart_product_id` = '1862039'
2023-10-13	13:07:40	2547	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32359_plaquettes_de_freins_avid_elixir_-_xx_semi-metallique_.jpg
2023-10-13	13:07:40	2547	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:40	2547	[DEBUG]	Process image file
2023-10-13	13:07:40	2547	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:40	2547	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:40	2547	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32359_plaquettes_de_freins_avid_elixir_-_xx_semi-metallique_.jpg
2023-10-13	13:07:40	2547	[DEBUG]	Full name target: bcprisme/32359_plaquettes_de_freins_avid_elixir_-_xx_semi-metallique_.jpg
2023-10-13	13:07:41	2547	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:41	2547	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32359_plaquettes_de_freins_avid_elixir_-_xx_semi-metallique_.jpg'
2023-10-13	13:07:41	2547	[DEBUG]	Query for Media
2023-10-13	13:07:41	2547	[DEBUG]	Executed store
2023-10-13	13:07:41	2547	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32359_plaquettes_de_freins_avid_elixir_-_xx_semi-metallique_.jpg',`file_url_thumb`='bcprisme/32359_plaquettes_de_freins_avid_elixir_-_xx_semi-metallique_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12872'
2023-10-13	13:07:41	2547	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:41	2547	[DEBUG]	Executed store
2023-10-13	13:07:41	2547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862039','12872','1')
2023-10-13	13:07:41	2547	[DEBUG]	Store product image relation
2023-10-13	13:07:41	2547	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:41	2547	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862039 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:41	2547	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:41	2547	[DEBUG]	Executed store
2023-10-13	13:07:41	2547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862039','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:41	2547	[DEBUG]	Checking manufacturer
2023-10-13	13:07:41	2547	[DEBUG]	Load a row
2023-10-13	13:07:41	2547	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:41	2547	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:07:41	2547	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:41	2547	[DEBUG]	Executed store
2023-10-13	13:07:41	2547	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:07:41	2547	[DEBUG]	Manufacturer exists
2023-10-13	13:07:41	2547	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:07:41	2547	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:41	2547	[DEBUG]	Executed store
2023-10-13	13:07:41	2547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862039','2')
2023-10-13	13:07:41	2547	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:41	2547	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:41	2547	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862039 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:41	2547	[DEBUG]	Store custom available field
2023-10-13	13:07:41	2547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862039,3,'',1)
2023-10-13	13:07:41	2547	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:41	2547	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:07:41	2547	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862039 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:41	2547	[DEBUG]	Store custom available field
2023-10-13	13:07:41	2547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862039,6,'Set',3)
2023-10-13	13:07:41	2547	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:41	2547	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:41	2547	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862038
2023-10-13	13:07:41	2547	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:41	2547	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862038\":[1862038,8,1,\"choisir la taille\"],\"1862039\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862038
2023-10-13	13:07:41	2547	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:41	2547	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862039
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:41	2548	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field taille
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:41	2548	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:41	2548	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:41	2548	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:41	2548	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:41	2548	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:41	2548	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field published
2023-10-13	13:07:41	2548	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:41	2548	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field override
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:41	2548	[DEBUG]	Use field value for field slug
2023-10-13	13:07:41	2548	[DEBUG]	Process line 2548
2023-10-13	13:07:41	2548	[DEBUG]	Load a row
2023-10-13	13:07:41	2548	[DEBUG]	Processing item: A_6508_3
2023-10-13	13:07:41	2548	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:41	2548	[DEBUG]	Processing product tax
2023-10-13	13:07:41	2548	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:41	2548	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:41	2548	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:41	2548	[DEBUG]	Query for Product
2023-10-13	13:07:41	2548	[DEBUG]	Executed store
2023-10-13	13:07:41	2548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6508_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:41	2548	[DEBUG]	Check product language entry
2023-10-13	13:07:41	2548	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862040
2023-10-13	13:07:41	2548	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:41	2548	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6508_3' AND `virtuemart_product_id` != 1862040
2023-10-13	13:07:41	2548	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:41	2548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862040, 'A_6508_3')
2023-10-13	13:07:41	2548	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:41	2548	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'brake-authority-plaquettes-freins-authority-avid-elixir-burly-none' AND `virtuemart_product_id` != 1862040
2023-10-13	13:07:41	2548	[DEBUG]	Query for ProductLang
2023-10-13	13:07:41	2548	[DEBUG]	Executed store
2023-10-13	13:07:41	2548	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.534.B',`product_name`='BRAKE AUTHORITY PLAQUETTES FREINS  AUTHORITY AVID ELIXIR BURLY / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='brake-authority-plaquettes-freins-authority-avid-elixir-burly-none' WHERE `virtuemart_product_id` = '1862040'
2023-10-13	13:07:41	2548	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32389_plaquettes_freins__authority_avid_elixir_burly.jpg
2023-10-13	13:07:41	2548	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:41	2548	[DEBUG]	Process image file
2023-10-13	13:07:41	2548	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:41	2548	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:41	2548	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32389_plaquettes_freins__authority_avid_elixir_burly.jpg
2023-10-13	13:07:41	2548	[DEBUG]	Full name target: bcprisme/32389_plaquettes_freins__authority_avid_elixir_burly.jpg
2023-10-13	13:07:42	2548	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:42	2548	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32389_plaquettes_freins__authority_avid_elixir_burly.jpg'
2023-10-13	13:07:42	2548	[DEBUG]	Query for Media
2023-10-13	13:07:42	2548	[DEBUG]	Executed store
2023-10-13	13:07:42	2548	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32389_plaquettes_freins__authority_avid_elixir_burly.jpg',`file_url_thumb`='bcprisme/32389_plaquettes_freins__authority_avid_elixir_burly.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16580'
2023-10-13	13:07:42	2548	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:42	2548	[DEBUG]	Executed store
2023-10-13	13:07:42	2548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862040','16580','1')
2023-10-13	13:07:42	2548	[DEBUG]	Store product image relation
2023-10-13	13:07:42	2548	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:42	2548	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862040 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:42	2548	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:42	2548	[DEBUG]	Executed store
2023-10-13	13:07:42	2548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862040','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:42	2548	[DEBUG]	Checking manufacturer
2023-10-13	13:07:42	2548	[DEBUG]	Load a row
2023-10-13	13:07:42	2548	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:42	2548	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:07:42	2548	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:42	2548	[DEBUG]	Executed store
2023-10-13	13:07:42	2548	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331209444664' WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:07:42	2548	[DEBUG]	Manufacturer exists
2023-10-13	13:07:42	2548	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 161
2023-10-13	13:07:42	2548	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:42	2548	[DEBUG]	Executed store
2023-10-13	13:07:42	2548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862040','161')
2023-10-13	13:07:42	2548	[DEBUG]	Find the custom field ID
2023-10-13	13:07:42	2548	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:42	2548	[DEBUG]	No custom field ID found
2023-10-13	13:07:42	2548	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:42	2548	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:07:42	2548	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862040 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:42	2548	[DEBUG]	Store custom available field
2023-10-13	13:07:42	2548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862040,3,'0',1)
2023-10-13	13:07:42	2548	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:42	2548	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:42	2548	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862040 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:42	2548	[DEBUG]	Store custom available field
2023-10-13	13:07:42	2548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862040,6,'choisir la taille',3)
2023-10-13	13:07:42	2548	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:42	2548	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:42	2548	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:42	2548	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:42	2548	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862040 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:42	2548	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:42	2548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862040,8,1)
2023-10-13	13:07:42	2548	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:42	2548	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862040\":[1862040,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862040
2023-10-13	13:07:42	2548	[DEBUG]	Checking category
2023-10-13	13:07:42	2548	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:42	2548	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862040
2023-10-13	13:07:42	2548	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:42	2548	[DEBUG]	Executed store
2023-10-13	13:07:42	2548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862040','7345')
2023-10-13	13:07:42	2548	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:42	2548	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862040 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:42	2548	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:42	2548	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862040
2023-10-13	13:07:42	2549	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:42	2549	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:42	2549	[DEBUG]	Use field value for field taille
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:42	2549	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:42	2549	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:42	2549	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:42	2549	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:42	2549	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:42	2549	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:42	2549	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:42	2549	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:42	2549	[DEBUG]	Use field value for field published
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:42	2549	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field override
2023-10-13	13:07:42	2549	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:42	2549	[DEBUG]	Use field value for field slug
2023-10-13	13:07:42	2549	[DEBUG]	Process line 2549
2023-10-13	13:07:42	2549	[DEBUG]	Load a row
2023-10-13	13:07:42	2549	[DEBUG]	Processing item: 3700692702806
2023-10-13	13:07:42	2549	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:42	2549	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:42	2549	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6508_3'
2023-10-13	13:07:42	2549	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:42	2549	[DEBUG]	Processing product tax
2023-10-13	13:07:42	2549	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:42	2549	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:42	2549	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:42	2549	[DEBUG]	Query for Product
2023-10-13	13:07:42	2549	[DEBUG]	Executed store
2023-10-13	13:07:42	2549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862040','3700692702806','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:42	2549	[DEBUG]	No parent found
2023-10-13	13:07:42	2549	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862040 AND customfield_value = 'stockable'
2023-10-13	13:07:42	2549	[DEBUG]	Check product language entry
2023-10-13	13:07:42	2549	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862041
2023-10-13	13:07:42	2549	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:42	2549	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3700692702806' AND `virtuemart_product_id` != 1862041
2023-10-13	13:07:42	2549	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:42	2549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862041, '3700692702806')
2023-10-13	13:07:42	2549	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:42	2549	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'brake-authority-plaquettes-freins-authority-avid-elixir-burly-none-unitaire' AND `virtuemart_product_id` != 1862041
2023-10-13	13:07:42	2549	[DEBUG]	Query for ProductLang
2023-10-13	13:07:42	2549	[DEBUG]	Executed store
2023-10-13	13:07:42	2549	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BRAKE AUTHORITY PLAQUETTES FREINS  AUTHORITY AVID ELIXIR BURLY / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='brake-authority-plaquettes-freins-authority-avid-elixir-burly-none-unitaire' WHERE `virtuemart_product_id` = '1862041'
2023-10-13	13:07:42	2549	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32389_plaquettes_freins__authority_avid_elixir_burly.jpg
2023-10-13	13:07:42	2549	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:42	2549	[DEBUG]	Process image file
2023-10-13	13:07:42	2549	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:42	2549	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:42	2549	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32389_plaquettes_freins__authority_avid_elixir_burly.jpg
2023-10-13	13:07:42	2549	[DEBUG]	Full name target: bcprisme/32389_plaquettes_freins__authority_avid_elixir_burly.jpg
2023-10-13	13:07:43	2549	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:43	2549	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32389_plaquettes_freins__authority_avid_elixir_burly.jpg'
2023-10-13	13:07:43	2549	[DEBUG]	Query for Media
2023-10-13	13:07:43	2549	[DEBUG]	Executed store
2023-10-13	13:07:43	2549	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32389_plaquettes_freins__authority_avid_elixir_burly.jpg',`file_url_thumb`='bcprisme/32389_plaquettes_freins__authority_avid_elixir_burly.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16580'
2023-10-13	13:07:43	2549	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:43	2549	[DEBUG]	Executed store
2023-10-13	13:07:43	2549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862041','16580','1')
2023-10-13	13:07:43	2549	[DEBUG]	Store product image relation
2023-10-13	13:07:43	2549	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:43	2549	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862041 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:43	2549	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:43	2549	[DEBUG]	Executed store
2023-10-13	13:07:43	2549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862041','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:43	2549	[DEBUG]	Checking manufacturer
2023-10-13	13:07:43	2549	[DEBUG]	Load a row
2023-10-13	13:07:43	2549	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:43	2549	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:07:43	2549	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:43	2549	[DEBUG]	Executed store
2023-10-13	13:07:43	2549	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331209444664' WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:07:43	2549	[DEBUG]	Manufacturer exists
2023-10-13	13:07:43	2549	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 161
2023-10-13	13:07:43	2549	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:43	2549	[DEBUG]	Executed store
2023-10-13	13:07:43	2549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862041','161')
2023-10-13	13:07:43	2549	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:43	2549	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:43	2549	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862041 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:43	2549	[DEBUG]	Store custom available field
2023-10-13	13:07:43	2549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862041,3,'',1)
2023-10-13	13:07:43	2549	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:43	2549	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:43	2549	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862041 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:43	2549	[DEBUG]	Store custom available field
2023-10-13	13:07:43	2549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862041,6,'Unitaire',3)
2023-10-13	13:07:43	2549	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:43	2549	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:43	2549	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862040
2023-10-13	13:07:43	2549	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:43	2549	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862040\":[1862040,8,1,\"choisir la taille\"],\"1862041\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862040
2023-10-13	13:07:43	2549	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:43	2549	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862041
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:43	2550	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field taille
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:43	2550	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:43	2550	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:43	2550	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:43	2550	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:43	2550	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:43	2550	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field published
2023-10-13	13:07:43	2550	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:43	2550	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field override
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:43	2550	[DEBUG]	Use field value for field slug
2023-10-13	13:07:43	2550	[DEBUG]	Process line 2550
2023-10-13	13:07:43	2550	[DEBUG]	Load a row
2023-10-13	13:07:43	2550	[DEBUG]	Processing item: A_6520_1
2023-10-13	13:07:43	2550	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:43	2550	[DEBUG]	Processing product tax
2023-10-13	13:07:43	2550	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:43	2550	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:43	2550	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:43	2550	[DEBUG]	Query for Product
2023-10-13	13:07:43	2550	[DEBUG]	Executed store
2023-10-13	13:07:43	2550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6520_1','0.004','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:43	2550	[DEBUG]	Check product language entry
2023-10-13	13:07:43	2550	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862042
2023-10-13	13:07:43	2550	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:43	2550	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6520_1' AND `virtuemart_product_id` != 1862042
2023-10-13	13:07:43	2550	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:43	2550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862042, 'A_6520_1')
2023-10-13	13:07:43	2550	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:43	2550	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-plaquettes-de-frein-disqueslevel-ultimate-tlm-road-noir' AND `virtuemart_product_id` != 1862042
2023-10-13	13:07:43	2550	[DEBUG]	Query for ProductLang
2023-10-13	13:07:43	2550	[DEBUG]	Executed store
2023-10-13	13:07:43	2550	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. PROMAX DSK / XNINE<br>Eliminie le bruit, longue durée de vie<br>N° art fourn : D7521A',`product_name`='SRAM Plaquettes de frein disquesLevel Ultimate, TLM, Road / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-plaquettes-de-frein-disqueslevel-ultimate-tlm-road-noir' WHERE `virtuemart_product_id` = '1862042'
2023-10-13	13:07:43	2550	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32400_plaquettes_de_frein_disqueslevel_ultimate,_tlm,_road.jpg
2023-10-13	13:07:43	2550	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:43	2550	[DEBUG]	Process image file
2023-10-13	13:07:43	2550	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:43	2550	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:43	2550	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32400_plaquettes_de_frein_disqueslevel_ultimate,_tlm,_road.jpg
2023-10-13	13:07:43	2550	[DEBUG]	Full name target: bcprisme/32400_plaquettes_de_frein_disqueslevel_ultimate,_tlm,_road.jpg
2023-10-13	13:07:44	2550	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:44	2550	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32400_plaquettes_de_frein_disqueslevel_ultimate,_tlm,_road.jpg'
2023-10-13	13:07:44	2550	[DEBUG]	Query for Media
2023-10-13	13:07:44	2550	[DEBUG]	Executed store
2023-10-13	13:07:44	2550	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32400_plaquettes_de_frein_disqueslevel_ultimate,_tlm,_road.jpg',`file_url_thumb`='bcprisme/32400_plaquettes_de_frein_disqueslevel_ultimate,_tlm,_road.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12874'
2023-10-13	13:07:44	2550	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:44	2550	[DEBUG]	Executed store
2023-10-13	13:07:44	2550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862042','12874','1')
2023-10-13	13:07:44	2550	[DEBUG]	Store product image relation
2023-10-13	13:07:44	2550	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:44	2550	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862042 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:44	2550	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:44	2550	[DEBUG]	Executed store
2023-10-13	13:07:44	2550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862042','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:44	2550	[DEBUG]	Checking manufacturer
2023-10-13	13:07:44	2550	[DEBUG]	Load a row
2023-10-13	13:07:44	2550	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:44	2550	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:07:44	2550	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:44	2550	[DEBUG]	Executed store
2023-10-13	13:07:44	2550	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:07:44	2550	[DEBUG]	Manufacturer exists
2023-10-13	13:07:44	2550	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:07:44	2550	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:44	2550	[DEBUG]	Executed store
2023-10-13	13:07:44	2550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862042','35')
2023-10-13	13:07:44	2550	[DEBUG]	Find the custom field ID
2023-10-13	13:07:44	2550	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:44	2550	[DEBUG]	No custom field ID found
2023-10-13	13:07:44	2550	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:44	2550	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:07:44	2550	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862042 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:44	2550	[DEBUG]	Store custom available field
2023-10-13	13:07:44	2550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862042,3,'16.8530555555556',1)
2023-10-13	13:07:44	2550	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:44	2550	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:44	2550	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862042 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:44	2550	[DEBUG]	Store custom available field
2023-10-13	13:07:44	2550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862042,6,'choisir la taille',3)
2023-10-13	13:07:44	2550	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:44	2550	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:44	2550	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:44	2550	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:44	2550	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862042 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:44	2550	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:44	2550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862042,8,1)
2023-10-13	13:07:44	2550	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:44	2550	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862042\":[1862042,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862042
2023-10-13	13:07:44	2550	[DEBUG]	Checking category
2023-10-13	13:07:44	2550	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:44	2550	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862042
2023-10-13	13:07:44	2550	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:44	2550	[DEBUG]	Executed store
2023-10-13	13:07:44	2550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862042','7345')
2023-10-13	13:07:44	2550	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:44	2550	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862042 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:44	2550	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:44	2550	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862042
2023-10-13	13:07:44	2551	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:44	2551	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:44	2551	[DEBUG]	Use field value for field taille
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:44	2551	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:44	2551	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:44	2551	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:44	2551	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:44	2551	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:44	2551	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:44	2551	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:44	2551	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:44	2551	[DEBUG]	Use field value for field published
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:44	2551	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field override
2023-10-13	13:07:44	2551	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:44	2551	[DEBUG]	Use field value for field slug
2023-10-13	13:07:44	2551	[DEBUG]	Process line 2551
2023-10-13	13:07:44	2551	[DEBUG]	Load a row
2023-10-13	13:07:44	2551	[DEBUG]	Processing item: 710845780462
2023-10-13	13:07:44	2551	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:44	2551	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:44	2551	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6520_1'
2023-10-13	13:07:44	2551	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:44	2551	[DEBUG]	Processing product tax
2023-10-13	13:07:44	2551	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:44	2551	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:44	2551	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:44	2551	[DEBUG]	Query for Product
2023-10-13	13:07:44	2551	[DEBUG]	Executed store
2023-10-13	13:07:44	2551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862042','710845780462','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:44	2551	[DEBUG]	No parent found
2023-10-13	13:07:44	2551	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862042 AND customfield_value = 'stockable'
2023-10-13	13:07:44	2551	[DEBUG]	Check product language entry
2023-10-13	13:07:44	2551	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862043
2023-10-13	13:07:44	2551	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:44	2551	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845780462' AND `virtuemart_product_id` != 1862043
2023-10-13	13:07:44	2551	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:44	2551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862043, '710845780462')
2023-10-13	13:07:44	2551	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:44	2551	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-plaquettes-de-frein-disqueslevel-ultimate-tlm-road-noir-unitaire' AND `virtuemart_product_id` != 1862043
2023-10-13	13:07:44	2551	[DEBUG]	Query for ProductLang
2023-10-13	13:07:44	2551	[DEBUG]	Executed store
2023-10-13	13:07:44	2551	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Plaquettes de frein disquesLevel Ultimate, TLM, Road / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-plaquettes-de-frein-disqueslevel-ultimate-tlm-road-noir-unitaire' WHERE `virtuemart_product_id` = '1862043'
2023-10-13	13:07:44	2551	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32400_plaquettes_de_frein_disqueslevel_ultimate,_tlm,_road.jpg
2023-10-13	13:07:44	2551	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:44	2551	[DEBUG]	Process image file
2023-10-13	13:07:44	2551	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:44	2551	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:44	2551	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32400_plaquettes_de_frein_disqueslevel_ultimate,_tlm,_road.jpg
2023-10-13	13:07:44	2551	[DEBUG]	Full name target: bcprisme/32400_plaquettes_de_frein_disqueslevel_ultimate,_tlm,_road.jpg
2023-10-13	13:07:45	2551	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:45	2551	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32400_plaquettes_de_frein_disqueslevel_ultimate,_tlm,_road.jpg'
2023-10-13	13:07:45	2551	[DEBUG]	Query for Media
2023-10-13	13:07:45	2551	[DEBUG]	Executed store
2023-10-13	13:07:45	2551	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32400_plaquettes_de_frein_disqueslevel_ultimate,_tlm,_road.jpg',`file_url_thumb`='bcprisme/32400_plaquettes_de_frein_disqueslevel_ultimate,_tlm,_road.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12874'
2023-10-13	13:07:45	2551	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:45	2551	[DEBUG]	Executed store
2023-10-13	13:07:45	2551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862043','12874','1')
2023-10-13	13:07:45	2551	[DEBUG]	Store product image relation
2023-10-13	13:07:45	2551	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:45	2551	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862043 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:45	2551	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:45	2551	[DEBUG]	Executed store
2023-10-13	13:07:45	2551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862043','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:45	2551	[DEBUG]	Checking manufacturer
2023-10-13	13:07:45	2551	[DEBUG]	Load a row
2023-10-13	13:07:45	2551	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:45	2551	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:07:45	2551	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:45	2551	[DEBUG]	Executed store
2023-10-13	13:07:45	2551	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:07:45	2551	[DEBUG]	Manufacturer exists
2023-10-13	13:07:45	2551	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:07:45	2551	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:45	2551	[DEBUG]	Executed store
2023-10-13	13:07:45	2551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862043','35')
2023-10-13	13:07:45	2551	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:45	2551	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:45	2551	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862043 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:45	2551	[DEBUG]	Store custom available field
2023-10-13	13:07:45	2551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862043,3,'',1)
2023-10-13	13:07:45	2551	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:45	2551	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:45	2551	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862043 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:45	2551	[DEBUG]	Store custom available field
2023-10-13	13:07:45	2551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862043,6,'Unitaire',3)
2023-10-13	13:07:45	2551	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:45	2551	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:45	2551	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862042
2023-10-13	13:07:45	2551	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:45	2551	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862042\":[1862042,8,1,\"choisir la taille\"],\"1862043\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862042
2023-10-13	13:07:45	2551	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:45	2551	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862043
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:45	2552	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field taille
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:45	2552	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:45	2552	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:45	2552	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:45	2552	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:45	2552	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:45	2552	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field published
2023-10-13	13:07:45	2552	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:45	2552	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field override
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:45	2552	[DEBUG]	Use field value for field slug
2023-10-13	13:07:45	2552	[DEBUG]	Process line 2552
2023-10-13	13:07:45	2552	[DEBUG]	Load a row
2023-10-13	13:07:45	2552	[DEBUG]	Processing item: A_6542_1
2023-10-13	13:07:45	2552	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:45	2552	[DEBUG]	Processing product tax
2023-10-13	13:07:45	2552	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:45	2552	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:45	2552	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:45	2552	[DEBUG]	Query for Product
2023-10-13	13:07:45	2552	[DEBUG]	Executed store
2023-10-13	13:07:45	2552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6542_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:45	2552	[DEBUG]	Check product language entry
2023-10-13	13:07:45	2552	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862044
2023-10-13	13:07:45	2552	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:45	2552	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6542_1' AND `virtuemart_product_id` != 1862044
2023-10-13	13:07:45	2552	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:45	2552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862044, 'A_6542_1')
2023-10-13	13:07:45	2552	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:45	2552	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-bpl05arfa-resine-avec-lamelle-paires-noir' AND `virtuemart_product_id` != 1862044
2023-10-13	13:07:45	2552	[DEBUG]	Query for ProductLang
2023-10-13	13:07:45	2552	[DEBUG]	Executed store
2023-10-13	13:07:45	2552	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.84752',`product_name`='SHIMANO Plaquettes BPL05ARFA résine avec lamelle paires / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-bpl05arfa-resine-avec-lamelle-paires-noir' WHERE `virtuemart_product_id` = '1862044'
2023-10-13	13:07:45	2552	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32421_shimano_plaquettes_l03a_resine_.jpg
2023-10-13	13:07:45	2552	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:45	2552	[DEBUG]	Process image file
2023-10-13	13:07:45	2552	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:45	2552	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:45	2552	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32421_shimano_plaquettes_l03a_resine_.jpg
2023-10-13	13:07:45	2552	[DEBUG]	Full name target: bcprisme/32421_shimano_plaquettes_l03a_resine_.jpg
2023-10-13	13:07:46	2552	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:46	2552	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32421_shimano_plaquettes_l03a_resine_.jpg'
2023-10-13	13:07:46	2552	[DEBUG]	Query for Media
2023-10-13	13:07:46	2552	[DEBUG]	Executed store
2023-10-13	13:07:46	2552	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32421_shimano_plaquettes_l03a_resine_.jpg',`file_url_thumb`='bcprisme/32421_shimano_plaquettes_l03a_resine_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12875'
2023-10-13	13:07:46	2552	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:46	2552	[DEBUG]	Executed store
2023-10-13	13:07:46	2552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862044','12875','1')
2023-10-13	13:07:46	2552	[DEBUG]	Store product image relation
2023-10-13	13:07:46	2552	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:46	2552	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862044 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:46	2552	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:46	2552	[DEBUG]	Executed store
2023-10-13	13:07:46	2552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862044','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:46	2552	[DEBUG]	Checking manufacturer
2023-10-13	13:07:46	2552	[DEBUG]	Load a row
2023-10-13	13:07:46	2552	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:46	2552	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:46	2552	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:46	2552	[DEBUG]	Executed store
2023-10-13	13:07:46	2552	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:46	2552	[DEBUG]	Manufacturer exists
2023-10-13	13:07:46	2552	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:07:46	2552	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:46	2552	[DEBUG]	Executed store
2023-10-13	13:07:46	2552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862044','123')
2023-10-13	13:07:46	2552	[DEBUG]	Find the custom field ID
2023-10-13	13:07:46	2552	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:46	2552	[DEBUG]	No custom field ID found
2023-10-13	13:07:46	2552	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:46	2552	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:07:46	2552	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862044 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:46	2552	[DEBUG]	Store custom available field
2023-10-13	13:07:46	2552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862044,3,'0',1)
2023-10-13	13:07:46	2552	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:46	2552	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:46	2552	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862044 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:46	2552	[DEBUG]	Store custom available field
2023-10-13	13:07:46	2552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862044,6,'choisir la taille',3)
2023-10-13	13:07:46	2552	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:46	2552	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:46	2552	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:46	2552	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:46	2552	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862044 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:46	2552	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:46	2552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862044,8,1)
2023-10-13	13:07:46	2552	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:46	2552	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862044\":[1862044,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862044
2023-10-13	13:07:46	2552	[DEBUG]	Checking category
2023-10-13	13:07:46	2552	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:46	2552	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862044
2023-10-13	13:07:46	2552	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:46	2552	[DEBUG]	Executed store
2023-10-13	13:07:46	2552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862044','7345')
2023-10-13	13:07:46	2552	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:46	2552	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862044 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:46	2552	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:46	2552	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862044
2023-10-13	13:07:46	2553	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:46	2553	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:46	2553	[DEBUG]	Use field value for field taille
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:46	2553	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:46	2553	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:46	2553	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:46	2553	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:46	2553	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:46	2553	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:46	2553	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:46	2553	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:46	2553	[DEBUG]	Use field value for field published
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:46	2553	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field override
2023-10-13	13:07:46	2553	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:46	2553	[DEBUG]	Use field value for field slug
2023-10-13	13:07:46	2553	[DEBUG]	Process line 2553
2023-10-13	13:07:46	2553	[DEBUG]	Load a row
2023-10-13	13:07:46	2553	[DEBUG]	Processing item: 4550170451721
2023-10-13	13:07:46	2553	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:46	2553	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:46	2553	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6542_1'
2023-10-13	13:07:46	2553	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:46	2553	[DEBUG]	Processing product tax
2023-10-13	13:07:46	2553	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:46	2553	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:46	2553	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:46	2553	[DEBUG]	Query for Product
2023-10-13	13:07:46	2553	[DEBUG]	Executed store
2023-10-13	13:07:46	2553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862044','4550170451721','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:46	2553	[DEBUG]	No parent found
2023-10-13	13:07:46	2553	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862044 AND customfield_value = 'stockable'
2023-10-13	13:07:46	2553	[DEBUG]	Check product language entry
2023-10-13	13:07:46	2553	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862045
2023-10-13	13:07:46	2553	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:46	2553	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170451721' AND `virtuemart_product_id` != 1862045
2023-10-13	13:07:46	2553	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:46	2553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862045, '4550170451721')
2023-10-13	13:07:46	2553	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:46	2553	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-bpl05arfa-resine-avec-lamelle-paires-noir-all' AND `virtuemart_product_id` != 1862045
2023-10-13	13:07:46	2553	[DEBUG]	Query for ProductLang
2023-10-13	13:07:46	2553	[DEBUG]	Executed store
2023-10-13	13:07:46	2553	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquettes BPL05ARFA résine avec lamelle paires / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-bpl05arfa-resine-avec-lamelle-paires-noir-all' WHERE `virtuemart_product_id` = '1862045'
2023-10-13	13:07:46	2553	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32421_shimano_plaquettes_l03a_resine_.jpg
2023-10-13	13:07:46	2553	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:46	2553	[DEBUG]	Process image file
2023-10-13	13:07:46	2553	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:46	2553	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:46	2553	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32421_shimano_plaquettes_l03a_resine_.jpg
2023-10-13	13:07:46	2553	[DEBUG]	Full name target: bcprisme/32421_shimano_plaquettes_l03a_resine_.jpg
2023-10-13	13:07:47	2553	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:47	2553	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32421_shimano_plaquettes_l03a_resine_.jpg'
2023-10-13	13:07:47	2553	[DEBUG]	Query for Media
2023-10-13	13:07:47	2553	[DEBUG]	Executed store
2023-10-13	13:07:47	2553	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32421_shimano_plaquettes_l03a_resine_.jpg',`file_url_thumb`='bcprisme/32421_shimano_plaquettes_l03a_resine_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12875'
2023-10-13	13:07:47	2553	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:47	2553	[DEBUG]	Executed store
2023-10-13	13:07:47	2553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862045','12875','1')
2023-10-13	13:07:47	2553	[DEBUG]	Store product image relation
2023-10-13	13:07:47	2553	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:47	2553	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862045 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:47	2553	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:47	2553	[DEBUG]	Executed store
2023-10-13	13:07:47	2553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862045','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:47	2553	[DEBUG]	Checking manufacturer
2023-10-13	13:07:47	2553	[DEBUG]	Load a row
2023-10-13	13:07:47	2553	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:47	2553	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:47	2553	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:47	2553	[DEBUG]	Executed store
2023-10-13	13:07:47	2553	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:47	2553	[DEBUG]	Manufacturer exists
2023-10-13	13:07:47	2553	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:07:47	2553	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:47	2553	[DEBUG]	Executed store
2023-10-13	13:07:47	2553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862045','123')
2023-10-13	13:07:47	2553	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:47	2553	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:47	2553	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862045 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:47	2553	[DEBUG]	Store custom available field
2023-10-13	13:07:47	2553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862045,3,'',1)
2023-10-13	13:07:47	2553	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:47	2553	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:07:47	2553	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862045 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:47	2553	[DEBUG]	Store custom available field
2023-10-13	13:07:47	2553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862045,6,'All',3)
2023-10-13	13:07:47	2553	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:47	2553	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:47	2553	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862044
2023-10-13	13:07:47	2553	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:47	2553	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862044\":[1862044,8,1,\"choisir la taille\"],\"1862045\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862044
2023-10-13	13:07:47	2553	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:47	2553	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862045
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:47	2554	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field taille
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:47	2554	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:47	2554	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:47	2554	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:47	2554	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:47	2554	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:47	2554	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field published
2023-10-13	13:07:47	2554	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:47	2554	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field override
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:47	2554	[DEBUG]	Use field value for field slug
2023-10-13	13:07:47	2554	[DEBUG]	Process line 2554
2023-10-13	13:07:47	2554	[DEBUG]	Load a row
2023-10-13	13:07:47	2554	[DEBUG]	Processing item: A_6557_1
2023-10-13	13:07:47	2554	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:47	2554	[DEBUG]	Processing product tax
2023-10-13	13:07:47	2554	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:47	2554	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:47	2554	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:47	2554	[DEBUG]	Query for Product
2023-10-13	13:07:47	2554	[DEBUG]	Executed store
2023-10-13	13:07:47	2554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6557_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:47	2554	[DEBUG]	Check product language entry
2023-10-13	13:07:47	2554	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862046
2023-10-13	13:07:47	2554	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:47	2554	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6557_1' AND `virtuemart_product_id` != 1862046
2023-10-13	13:07:47	2554	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:47	2554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862046, 'A_6557_1')
2023-10-13	13:07:47	2554	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:47	2554	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-l03s-resine-saint-xt-4-pistons-noir' AND `virtuemart_product_id` != 1862046
2023-10-13	13:07:47	2554	[DEBUG]	Query for ProductLang
2023-10-13	13:07:47	2554	[DEBUG]	Executed store
2023-10-13	13:07:47	2554	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75474',`product_name`='SHIMANO Plaquettes L03S résine, Saint/ XT 4 pistons / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-l03s-resine-saint-xt-4-pistons-noir' WHERE `virtuemart_product_id` = '1862046'
2023-10-13	13:07:47	2554	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32436_shimano_plaquettes_l03s_resine,_saint-_xt_4_pistons.jpg
2023-10-13	13:07:47	2554	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:47	2554	[DEBUG]	Process image file
2023-10-13	13:07:47	2554	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:47	2554	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:47	2554	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32436_shimano_plaquettes_l03s_resine,_saint-_xt_4_pistons.jpg
2023-10-13	13:07:47	2554	[DEBUG]	Full name target: bcprisme/32436_shimano_plaquettes_l03s_resine,_saint-_xt_4_pistons.jpg
2023-10-13	13:07:48	2554	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:48	2554	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32436_shimano_plaquettes_l03s_resine,_saint-_xt_4_pistons.jpg'
2023-10-13	13:07:48	2554	[DEBUG]	Query for Media
2023-10-13	13:07:48	2554	[DEBUG]	Executed store
2023-10-13	13:07:48	2554	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32436_shimano_plaquettes_l03s_resine,_saint-_xt_4_pistons.jpg',`file_url_thumb`='bcprisme/32436_shimano_plaquettes_l03s_resine,_saint-_xt_4_pistons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15291'
2023-10-13	13:07:48	2554	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:48	2554	[DEBUG]	Executed store
2023-10-13	13:07:48	2554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862046','15291','1')
2023-10-13	13:07:48	2554	[DEBUG]	Store product image relation
2023-10-13	13:07:48	2554	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:48	2554	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862046 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:48	2554	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:48	2554	[DEBUG]	Executed store
2023-10-13	13:07:48	2554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862046','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:48	2554	[DEBUG]	Checking manufacturer
2023-10-13	13:07:48	2554	[DEBUG]	Load a row
2023-10-13	13:07:48	2554	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:48	2554	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:07:48	2554	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:48	2554	[DEBUG]	Executed store
2023-10-13	13:07:48	2554	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:07:48	2554	[DEBUG]	Manufacturer exists
2023-10-13	13:07:48	2554	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:07:48	2554	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:48	2554	[DEBUG]	Executed store
2023-10-13	13:07:48	2554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862046','26')
2023-10-13	13:07:48	2554	[DEBUG]	Find the custom field ID
2023-10-13	13:07:48	2554	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:48	2554	[DEBUG]	No custom field ID found
2023-10-13	13:07:48	2554	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:48	2554	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:07:48	2554	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862046 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:48	2554	[DEBUG]	Store custom available field
2023-10-13	13:07:48	2554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862046,3,'0',1)
2023-10-13	13:07:48	2554	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:48	2554	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:48	2554	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862046 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:48	2554	[DEBUG]	Store custom available field
2023-10-13	13:07:48	2554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862046,6,'choisir la taille',3)
2023-10-13	13:07:48	2554	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:48	2554	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:48	2554	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:48	2554	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:48	2554	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862046 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:48	2554	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:48	2554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862046,8,1)
2023-10-13	13:07:48	2554	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:48	2554	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862046\":[1862046,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862046
2023-10-13	13:07:48	2554	[DEBUG]	Checking category
2023-10-13	13:07:48	2554	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:48	2554	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862046
2023-10-13	13:07:48	2554	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:48	2554	[DEBUG]	Executed store
2023-10-13	13:07:48	2554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862046','7345')
2023-10-13	13:07:48	2554	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:48	2554	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862046 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:48	2554	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:48	2554	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862046
2023-10-13	13:07:48	2555	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:48	2555	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:48	2555	[DEBUG]	Use field value for field taille
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:48	2555	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:48	2555	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:48	2555	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:48	2555	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:48	2555	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:48	2555	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:48	2555	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:48	2555	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:48	2555	[DEBUG]	Use field value for field published
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:48	2555	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field override
2023-10-13	13:07:48	2555	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:48	2555	[DEBUG]	Use field value for field slug
2023-10-13	13:07:48	2555	[DEBUG]	Process line 2555
2023-10-13	13:07:48	2555	[DEBUG]	Load a row
2023-10-13	13:07:48	2555	[DEBUG]	Processing item: 4550170451608
2023-10-13	13:07:48	2555	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:48	2555	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:48	2555	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6557_1'
2023-10-13	13:07:48	2555	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:48	2555	[DEBUG]	Processing product tax
2023-10-13	13:07:48	2555	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:48	2555	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:48	2555	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:48	2555	[DEBUG]	Query for Product
2023-10-13	13:07:48	2555	[DEBUG]	Executed store
2023-10-13	13:07:48	2555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862046','4550170451608','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:48	2555	[DEBUG]	No parent found
2023-10-13	13:07:48	2555	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862046 AND customfield_value = 'stockable'
2023-10-13	13:07:48	2555	[DEBUG]	Check product language entry
2023-10-13	13:07:48	2555	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862047
2023-10-13	13:07:48	2555	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:48	2555	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170451608' AND `virtuemart_product_id` != 1862047
2023-10-13	13:07:48	2555	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:48	2555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862047, '4550170451608')
2023-10-13	13:07:48	2555	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:48	2555	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-l03s-resine-saint-xt-4-pistons-noir-all' AND `virtuemart_product_id` != 1862047
2023-10-13	13:07:48	2555	[DEBUG]	Query for ProductLang
2023-10-13	13:07:48	2555	[DEBUG]	Executed store
2023-10-13	13:07:48	2555	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquettes L03S résine, Saint/ XT 4 pistons / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-l03s-resine-saint-xt-4-pistons-noir-all' WHERE `virtuemart_product_id` = '1862047'
2023-10-13	13:07:48	2555	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32436_shimano_plaquettes_l03s_resine,_saint-_xt_4_pistons.jpg
2023-10-13	13:07:48	2555	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:48	2555	[DEBUG]	Process image file
2023-10-13	13:07:48	2555	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:48	2555	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:48	2555	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32436_shimano_plaquettes_l03s_resine,_saint-_xt_4_pistons.jpg
2023-10-13	13:07:48	2555	[DEBUG]	Full name target: bcprisme/32436_shimano_plaquettes_l03s_resine,_saint-_xt_4_pistons.jpg
2023-10-13	13:07:49	2555	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:49	2555	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32436_shimano_plaquettes_l03s_resine,_saint-_xt_4_pistons.jpg'
2023-10-13	13:07:49	2555	[DEBUG]	Query for Media
2023-10-13	13:07:49	2555	[DEBUG]	Executed store
2023-10-13	13:07:49	2555	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32436_shimano_plaquettes_l03s_resine,_saint-_xt_4_pistons.jpg',`file_url_thumb`='bcprisme/32436_shimano_plaquettes_l03s_resine,_saint-_xt_4_pistons.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15291'
2023-10-13	13:07:49	2555	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:49	2555	[DEBUG]	Executed store
2023-10-13	13:07:49	2555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862047','15291','1')
2023-10-13	13:07:49	2555	[DEBUG]	Store product image relation
2023-10-13	13:07:49	2555	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:49	2555	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862047 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:49	2555	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:49	2555	[DEBUG]	Executed store
2023-10-13	13:07:49	2555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862047','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:49	2555	[DEBUG]	Checking manufacturer
2023-10-13	13:07:49	2555	[DEBUG]	Load a row
2023-10-13	13:07:49	2555	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:49	2555	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:07:49	2555	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:49	2555	[DEBUG]	Executed store
2023-10-13	13:07:49	2555	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:07:49	2555	[DEBUG]	Manufacturer exists
2023-10-13	13:07:49	2555	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:07:49	2555	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:49	2555	[DEBUG]	Executed store
2023-10-13	13:07:49	2555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862047','26')
2023-10-13	13:07:49	2555	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:49	2555	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:49	2555	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862047 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:49	2555	[DEBUG]	Store custom available field
2023-10-13	13:07:49	2555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862047,3,'',1)
2023-10-13	13:07:49	2555	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:49	2555	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:07:49	2555	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862047 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:49	2555	[DEBUG]	Store custom available field
2023-10-13	13:07:49	2555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862047,6,'All',3)
2023-10-13	13:07:49	2555	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:49	2555	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:49	2555	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862046
2023-10-13	13:07:49	2555	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:49	2555	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862046\":[1862046,8,1,\"choisir la taille\"],\"1862047\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862046
2023-10-13	13:07:49	2555	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:49	2555	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862047
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:49	2556	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field taille
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:49	2556	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:49	2556	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:49	2556	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:49	2556	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:49	2556	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:49	2556	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field published
2023-10-13	13:07:49	2556	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:49	2556	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field override
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:49	2556	[DEBUG]	Use field value for field slug
2023-10-13	13:07:49	2556	[DEBUG]	Process line 2556
2023-10-13	13:07:49	2556	[DEBUG]	Load a row
2023-10-13	13:07:49	2556	[DEBUG]	Processing item: A_6723_1
2023-10-13	13:07:49	2556	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:49	2556	[DEBUG]	Processing product tax
2023-10-13	13:07:49	2556	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:49	2556	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:49	2556	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:49	2556	[DEBUG]	Query for Product
2023-10-13	13:07:49	2556	[DEBUG]	Executed store
2023-10-13	13:07:49	2556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6723_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:49	2556	[DEBUG]	Check product language entry
2023-10-13	13:07:49	2556	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862048
2023-10-13	13:07:49	2556	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:49	2556	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6723_1' AND `virtuemart_product_id` != 1862048
2023-10-13	13:07:49	2556	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:49	2556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862048, 'A_6723_1')
2023-10-13	13:07:49	2556	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:49	2556	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-n03a-resine-avec-lamelle-avec-ressort-et-goupille-fendue-noir' AND `virtuemart_product_id` != 1862048
2023-10-13	13:07:49	2556	[DEBUG]	Query for ProductLang
2023-10-13	13:07:49	2556	[DEBUG]	Executed store
2023-10-13	13:07:49	2556	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.73392',`product_name`='SHIMANO plaquettes N03A résine avec lamelle avec ressort et goupille fendue / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-n03a-resine-avec-lamelle-avec-ressort-et-goupille-fendue-noir' WHERE `virtuemart_product_id` = '1862048'
2023-10-13	13:07:49	2556	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32835_shimano_plaquettes_n03a_resine_avec_lamelle_avec_ressort_et_goupille_fendue.jpg
2023-10-13	13:07:49	2556	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:49	2556	[DEBUG]	Process image file
2023-10-13	13:07:49	2556	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:49	2556	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:49	2556	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32835_shimano_plaquettes_n03a_resine_avec_lamelle_avec_ressort_et_goupille_fendue.jpg
2023-10-13	13:07:49	2556	[DEBUG]	Full name target: bcprisme/32835_shimano_plaquettes_n03a_resine_avec_lamelle_avec_ressort_et_goupille_fendue.jpg
2023-10-13	13:07:50	2556	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:50	2556	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32835_shimano_plaquettes_n03a_resine_avec_lamelle_avec_ressort_et_goupille_fendue.jpg'
2023-10-13	13:07:50	2556	[DEBUG]	Query for Media
2023-10-13	13:07:50	2556	[DEBUG]	Executed store
2023-10-13	13:07:50	2556	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32835_shimano_plaquettes_n03a_resine_avec_lamelle_avec_ressort_et_goupille_fendue.jpg',`file_url_thumb`='bcprisme/32835_shimano_plaquettes_n03a_resine_avec_lamelle_avec_ressort_et_goupille_fendue.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12876'
2023-10-13	13:07:50	2556	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:50	2556	[DEBUG]	Executed store
2023-10-13	13:07:50	2556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862048','12876','1')
2023-10-13	13:07:50	2556	[DEBUG]	Store product image relation
2023-10-13	13:07:50	2556	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:50	2556	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862048 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:50	2556	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:50	2556	[DEBUG]	Executed store
2023-10-13	13:07:50	2556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862048','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:50	2556	[DEBUG]	Checking manufacturer
2023-10-13	13:07:50	2556	[DEBUG]	Load a row
2023-10-13	13:07:50	2556	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:50	2556	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:07:50	2556	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:50	2556	[DEBUG]	Executed store
2023-10-13	13:07:50	2556	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:07:50	2556	[DEBUG]	Manufacturer exists
2023-10-13	13:07:50	2556	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:07:50	2556	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:50	2556	[DEBUG]	Executed store
2023-10-13	13:07:50	2556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862048','26')
2023-10-13	13:07:50	2556	[DEBUG]	Find the custom field ID
2023-10-13	13:07:50	2556	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:50	2556	[DEBUG]	No custom field ID found
2023-10-13	13:07:50	2556	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:50	2556	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:07:50	2556	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862048 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:50	2556	[DEBUG]	Store custom available field
2023-10-13	13:07:50	2556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862048,3,'0',1)
2023-10-13	13:07:50	2556	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:50	2556	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:50	2556	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862048 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:50	2556	[DEBUG]	Store custom available field
2023-10-13	13:07:50	2556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862048,6,'choisir la taille',3)
2023-10-13	13:07:50	2556	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:50	2556	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:50	2556	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:50	2556	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:50	2556	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862048 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:50	2556	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:50	2556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862048,8,1)
2023-10-13	13:07:50	2556	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:50	2556	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862048\":[1862048,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862048
2023-10-13	13:07:50	2556	[DEBUG]	Checking category
2023-10-13	13:07:50	2556	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:50	2556	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862048
2023-10-13	13:07:50	2556	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:50	2556	[DEBUG]	Executed store
2023-10-13	13:07:50	2556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862048','7345')
2023-10-13	13:07:50	2556	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:50	2556	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862048 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:50	2556	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:50	2556	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862048
2023-10-13	13:07:50	2557	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:50	2557	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:50	2557	[DEBUG]	Use field value for field taille
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:50	2557	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:50	2557	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:50	2557	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:50	2557	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:50	2557	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:50	2557	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:50	2557	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:50	2557	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:50	2557	[DEBUG]	Use field value for field published
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:50	2557	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field override
2023-10-13	13:07:50	2557	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:50	2557	[DEBUG]	Use field value for field slug
2023-10-13	13:07:50	2557	[DEBUG]	Process line 2557
2023-10-13	13:07:50	2557	[DEBUG]	Load a row
2023-10-13	13:07:50	2557	[DEBUG]	Processing item: 4550170382322
2023-10-13	13:07:50	2557	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:50	2557	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:50	2557	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6723_1'
2023-10-13	13:07:50	2557	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:50	2557	[DEBUG]	Processing product tax
2023-10-13	13:07:50	2557	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:50	2557	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:50	2557	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:50	2557	[DEBUG]	Query for Product
2023-10-13	13:07:50	2557	[DEBUG]	Executed store
2023-10-13	13:07:50	2557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862048','4550170382322','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:50	2557	[DEBUG]	No parent found
2023-10-13	13:07:50	2557	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862048 AND customfield_value = 'stockable'
2023-10-13	13:07:50	2557	[DEBUG]	Check product language entry
2023-10-13	13:07:50	2557	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862049
2023-10-13	13:07:50	2557	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:50	2557	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170382322' AND `virtuemart_product_id` != 1862049
2023-10-13	13:07:50	2557	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:50	2557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862049, '4550170382322')
2023-10-13	13:07:50	2557	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:50	2557	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-n03a-resine-avec-lamelle-avec-ressort-et-goupille-fendue-noir-all' AND `virtuemart_product_id` != 1862049
2023-10-13	13:07:50	2557	[DEBUG]	Query for ProductLang
2023-10-13	13:07:50	2557	[DEBUG]	Executed store
2023-10-13	13:07:50	2557	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO plaquettes N03A résine avec lamelle avec ressort et goupille fendue / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-n03a-resine-avec-lamelle-avec-ressort-et-goupille-fendue-noir-all' WHERE `virtuemart_product_id` = '1862049'
2023-10-13	13:07:50	2557	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32835_shimano_plaquettes_n03a_resine_avec_lamelle_avec_ressort_et_goupille_fendue.jpg
2023-10-13	13:07:50	2557	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:50	2557	[DEBUG]	Process image file
2023-10-13	13:07:50	2557	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:50	2557	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:50	2557	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32835_shimano_plaquettes_n03a_resine_avec_lamelle_avec_ressort_et_goupille_fendue.jpg
2023-10-13	13:07:50	2557	[DEBUG]	Full name target: bcprisme/32835_shimano_plaquettes_n03a_resine_avec_lamelle_avec_ressort_et_goupille_fendue.jpg
2023-10-13	13:07:51	2557	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:51	2557	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32835_shimano_plaquettes_n03a_resine_avec_lamelle_avec_ressort_et_goupille_fendue.jpg'
2023-10-13	13:07:51	2557	[DEBUG]	Query for Media
2023-10-13	13:07:51	2557	[DEBUG]	Executed store
2023-10-13	13:07:51	2557	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32835_shimano_plaquettes_n03a_resine_avec_lamelle_avec_ressort_et_goupille_fendue.jpg',`file_url_thumb`='bcprisme/32835_shimano_plaquettes_n03a_resine_avec_lamelle_avec_ressort_et_goupille_fendue.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12876'
2023-10-13	13:07:51	2557	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:51	2557	[DEBUG]	Executed store
2023-10-13	13:07:51	2557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862049','12876','1')
2023-10-13	13:07:51	2557	[DEBUG]	Store product image relation
2023-10-13	13:07:51	2557	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:51	2557	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862049 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:51	2557	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:51	2557	[DEBUG]	Executed store
2023-10-13	13:07:51	2557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862049','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:51	2557	[DEBUG]	Checking manufacturer
2023-10-13	13:07:51	2557	[DEBUG]	Load a row
2023-10-13	13:07:51	2557	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:51	2557	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:07:51	2557	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:51	2557	[DEBUG]	Executed store
2023-10-13	13:07:51	2557	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:07:51	2557	[DEBUG]	Manufacturer exists
2023-10-13	13:07:51	2557	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:07:51	2557	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:51	2557	[DEBUG]	Executed store
2023-10-13	13:07:51	2557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862049','26')
2023-10-13	13:07:51	2557	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:51	2557	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:51	2557	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862049 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:51	2557	[DEBUG]	Store custom available field
2023-10-13	13:07:51	2557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862049,3,'',1)
2023-10-13	13:07:51	2557	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:51	2557	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:07:51	2557	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862049 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:51	2557	[DEBUG]	Store custom available field
2023-10-13	13:07:51	2557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862049,6,'All',3)
2023-10-13	13:07:51	2557	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:51	2557	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:51	2557	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862048
2023-10-13	13:07:51	2557	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:51	2557	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862048\":[1862048,8,1,\"choisir la taille\"],\"1862049\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862048
2023-10-13	13:07:51	2557	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:51	2557	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862049
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:51	2558	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field taille
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:51	2558	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:51	2558	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:51	2558	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:51	2558	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:51	2558	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:51	2558	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field published
2023-10-13	13:07:51	2558	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:51	2558	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field override
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:51	2558	[DEBUG]	Use field value for field slug
2023-10-13	13:07:51	2558	[DEBUG]	Process line 2558
2023-10-13	13:07:51	2558	[DEBUG]	Load a row
2023-10-13	13:07:51	2558	[DEBUG]	Processing item: A_6780_1
2023-10-13	13:07:51	2558	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:51	2558	[DEBUG]	Processing product tax
2023-10-13	13:07:51	2558	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:51	2558	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:51	2558	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:51	2558	[DEBUG]	Query for Product
2023-10-13	13:07:51	2558	[DEBUG]	Executed store
2023-10-13	13:07:51	2558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6780_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:51	2558	[DEBUG]	Check product language entry
2023-10-13	13:07:51	2558	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862050
2023-10-13	13:07:51	2558	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:51	2558	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6780_1' AND `virtuemart_product_id` != 1862050
2023-10-13	13:07:51	2558	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:51	2558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862050, 'A_6780_1')
2023-10-13	13:07:51	2558	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:51	2558	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-plaquette-de-freins-avid-trail-guide-4-pistons-semi-metalliques-noir' AND `virtuemart_product_id` != 1862050
2023-10-13	13:07:51	2558	[DEBUG]	Query for ProductLang
2023-10-13	13:07:51	2558	[DEBUG]	Executed store
2023-10-13	13:07:51	2558	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquette de freins Avid Trail / Guide 4 pistons. Longue durée de vie, élimine le bruit, 22 gr.<br>N° art fourn : D7397R',`product_name`='SRAM Plaquette de freins Avid Trail / Guide 4 pistons semi-métalliques  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-plaquette-de-freins-avid-trail-guide-4-pistons-semi-metalliques-noir' WHERE `virtuemart_product_id` = '1862050'
2023-10-13	13:07:51	2558	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33017_plaquette_de_freins_avid_trail_-_guide_4_pistons_semi-metalliques_(copie).jpg
2023-10-13	13:07:51	2558	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:51	2558	[DEBUG]	Process image file
2023-10-13	13:07:51	2558	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:51	2558	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:51	2558	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33017_plaquette_de_freins_avid_trail_-_guide_4_pistons_semi-metalliques_(copie).jpg
2023-10-13	13:07:51	2558	[DEBUG]	Full name target: bcprisme/33017_plaquette_de_freins_avid_trail_-_guide_4_pistons_semi-metalliques_(copie).jpg
2023-10-13	13:07:52	2558	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:52	2558	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33017_plaquette_de_freins_avid_trail_-_guide_4_pistons_semi-metalliques_(copie).jpg'
2023-10-13	13:07:52	2558	[DEBUG]	Query for Media
2023-10-13	13:07:52	2558	[DEBUG]	Executed store
2023-10-13	13:07:52	2558	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33017_plaquette_de_freins_avid_trail_-_guide_4_pistons_semi-metalliques_(copie).jpg',`file_url_thumb`='bcprisme/33017_plaquette_de_freins_avid_trail_-_guide_4_pistons_semi-metalliques_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12877'
2023-10-13	13:07:52	2558	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:52	2558	[DEBUG]	Executed store
2023-10-13	13:07:52	2558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862050','12877','1')
2023-10-13	13:07:52	2558	[DEBUG]	Store product image relation
2023-10-13	13:07:52	2558	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:52	2558	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862050 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:52	2558	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:52	2558	[DEBUG]	Executed store
2023-10-13	13:07:52	2558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862050','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:52	2558	[DEBUG]	Checking manufacturer
2023-10-13	13:07:52	2558	[DEBUG]	Load a row
2023-10-13	13:07:52	2558	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:52	2558	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:07:52	2558	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:52	2558	[DEBUG]	Executed store
2023-10-13	13:07:52	2558	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:07:52	2558	[DEBUG]	Manufacturer exists
2023-10-13	13:07:52	2558	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:07:52	2558	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:52	2558	[DEBUG]	Executed store
2023-10-13	13:07:52	2558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862050','35')
2023-10-13	13:07:52	2558	[DEBUG]	Find the custom field ID
2023-10-13	13:07:52	2558	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:52	2558	[DEBUG]	No custom field ID found
2023-10-13	13:07:52	2558	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:52	2558	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:07:52	2558	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862050 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:52	2558	[DEBUG]	Store custom available field
2023-10-13	13:07:52	2558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862050,3,'12.8641666666667',1)
2023-10-13	13:07:52	2558	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:52	2558	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:52	2558	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862050 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:52	2558	[DEBUG]	Store custom available field
2023-10-13	13:07:52	2558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862050,6,'choisir la taille',3)
2023-10-13	13:07:52	2558	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:52	2558	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:52	2558	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:52	2558	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:52	2558	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862050 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:52	2558	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:52	2558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862050,8,1)
2023-10-13	13:07:52	2558	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:52	2558	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862050\":[1862050,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862050
2023-10-13	13:07:52	2558	[DEBUG]	Checking category
2023-10-13	13:07:52	2558	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:52	2558	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862050
2023-10-13	13:07:52	2558	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:52	2558	[DEBUG]	Executed store
2023-10-13	13:07:52	2558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862050','7345')
2023-10-13	13:07:52	2558	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:52	2558	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862050 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:52	2558	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:52	2558	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862050
2023-10-13	13:07:52	2559	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:52	2559	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:52	2559	[DEBUG]	Use field value for field taille
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:52	2559	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:52	2559	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:52	2559	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:52	2559	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:52	2559	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:52	2559	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:52	2559	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:52	2559	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:52	2559	[DEBUG]	Use field value for field published
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:52	2559	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field override
2023-10-13	13:07:52	2559	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:52	2559	[DEBUG]	Use field value for field slug
2023-10-13	13:07:52	2559	[DEBUG]	Process line 2559
2023-10-13	13:07:52	2559	[DEBUG]	Load a row
2023-10-13	13:07:52	2559	[DEBUG]	Processing item: 710845760051
2023-10-13	13:07:52	2559	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:52	2559	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:52	2559	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6780_1'
2023-10-13	13:07:52	2559	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:52	2559	[DEBUG]	Processing product tax
2023-10-13	13:07:52	2559	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:52	2559	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:52	2559	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:52	2559	[DEBUG]	Query for Product
2023-10-13	13:07:52	2559	[DEBUG]	Executed store
2023-10-13	13:07:52	2559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862050','710845760051','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:52	2559	[DEBUG]	No parent found
2023-10-13	13:07:52	2559	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862050 AND customfield_value = 'stockable'
2023-10-13	13:07:52	2559	[DEBUG]	Check product language entry
2023-10-13	13:07:52	2559	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862051
2023-10-13	13:07:52	2559	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:52	2559	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845760051' AND `virtuemart_product_id` != 1862051
2023-10-13	13:07:52	2559	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:52	2559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862051, '710845760051')
2023-10-13	13:07:52	2559	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:52	2559	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-plaquette-de-freins-avid-trail-guide-4-pistons-semi-metalliques-noir-set' AND `virtuemart_product_id` != 1862051
2023-10-13	13:07:52	2559	[DEBUG]	Query for ProductLang
2023-10-13	13:07:52	2559	[DEBUG]	Executed store
2023-10-13	13:07:52	2559	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Plaquette de freins Avid Trail / Guide 4 pistons semi-métalliques  / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-plaquette-de-freins-avid-trail-guide-4-pistons-semi-metalliques-noir-set' WHERE `virtuemart_product_id` = '1862051'
2023-10-13	13:07:52	2559	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33017_plaquette_de_freins_avid_trail_-_guide_4_pistons_semi-metalliques_(copie).jpg
2023-10-13	13:07:52	2559	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:52	2559	[DEBUG]	Process image file
2023-10-13	13:07:52	2559	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:52	2559	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:52	2559	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33017_plaquette_de_freins_avid_trail_-_guide_4_pistons_semi-metalliques_(copie).jpg
2023-10-13	13:07:52	2559	[DEBUG]	Full name target: bcprisme/33017_plaquette_de_freins_avid_trail_-_guide_4_pistons_semi-metalliques_(copie).jpg
2023-10-13	13:07:53	2559	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:53	2559	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33017_plaquette_de_freins_avid_trail_-_guide_4_pistons_semi-metalliques_(copie).jpg'
2023-10-13	13:07:53	2559	[DEBUG]	Query for Media
2023-10-13	13:07:53	2559	[DEBUG]	Executed store
2023-10-13	13:07:53	2559	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33017_plaquette_de_freins_avid_trail_-_guide_4_pistons_semi-metalliques_(copie).jpg',`file_url_thumb`='bcprisme/33017_plaquette_de_freins_avid_trail_-_guide_4_pistons_semi-metalliques_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12877'
2023-10-13	13:07:53	2559	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:53	2559	[DEBUG]	Executed store
2023-10-13	13:07:53	2559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862051','12877','1')
2023-10-13	13:07:53	2559	[DEBUG]	Store product image relation
2023-10-13	13:07:53	2559	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:53	2559	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862051 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:53	2559	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:53	2559	[DEBUG]	Executed store
2023-10-13	13:07:53	2559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862051','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:53	2559	[DEBUG]	Checking manufacturer
2023-10-13	13:07:53	2559	[DEBUG]	Load a row
2023-10-13	13:07:53	2559	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:53	2559	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:07:53	2559	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:53	2559	[DEBUG]	Executed store
2023-10-13	13:07:53	2559	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:07:53	2559	[DEBUG]	Manufacturer exists
2023-10-13	13:07:53	2559	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:07:53	2559	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:53	2559	[DEBUG]	Executed store
2023-10-13	13:07:53	2559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862051','35')
2023-10-13	13:07:53	2559	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:53	2559	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:53	2559	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862051 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:53	2559	[DEBUG]	Store custom available field
2023-10-13	13:07:53	2559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862051,3,'',1)
2023-10-13	13:07:53	2559	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:53	2559	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:07:53	2559	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862051 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:53	2559	[DEBUG]	Store custom available field
2023-10-13	13:07:53	2559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862051,6,'Set',3)
2023-10-13	13:07:53	2559	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:53	2559	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:53	2559	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862050
2023-10-13	13:07:53	2559	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:53	2559	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862050\":[1862050,8,1,\"choisir la taille\"],\"1862051\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862050
2023-10-13	13:07:53	2559	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:53	2559	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862051
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:53	2560	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field taille
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:53	2560	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:53	2560	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:53	2560	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:53	2560	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:53	2560	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:53	2560	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field published
2023-10-13	13:07:53	2560	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:53	2560	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field override
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:53	2560	[DEBUG]	Use field value for field slug
2023-10-13	13:07:53	2560	[DEBUG]	Process line 2560
2023-10-13	13:07:53	2560	[DEBUG]	Load a row
2023-10-13	13:07:53	2560	[DEBUG]	Processing item: A_6849_208
2023-10-13	13:07:53	2560	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:53	2560	[DEBUG]	Processing product tax
2023-10-13	13:07:53	2560	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:53	2560	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:53	2560	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:53	2560	[DEBUG]	Query for Product
2023-10-13	13:07:53	2560	[DEBUG]	Executed store
2023-10-13	13:07:53	2560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6849_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:53	2560	[DEBUG]	Check product language entry
2023-10-13	13:07:53	2560	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862052
2023-10-13	13:07:53	2560	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:53	2560	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6849_208' AND `virtuemart_product_id` != 1862052
2023-10-13	13:07:53	2560	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:53	2560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862052, 'A_6849_208')
2023-10-13	13:07:53	2560	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:53	2560	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-g02a-resin-avec-ressort-et-goupille-fendue-paires-blister-aucune' AND `virtuemart_product_id` != 1862052
2023-10-13	13:07:53	2560	[DEBUG]	Query for ProductLang
2023-10-13	13:07:53	2560	[DEBUG]	Executed store
2023-10-13	13:07:53	2560	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.63454',`product_name`='SHIMANO plaquettes G02A résin avec ressort et goupille fendue paires blister / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-g02a-resin-avec-ressort-et-goupille-fendue-paires-blister-aucune' WHERE `virtuemart_product_id` = '1862052'
2023-10-13	13:07:53	2560	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33685_shimano_plaquettes_g02a_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:53	2560	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:53	2560	[DEBUG]	Process image file
2023-10-13	13:07:53	2560	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:53	2560	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:53	2560	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33685_shimano_plaquettes_g02a_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:53	2560	[DEBUG]	Full name target: bcprisme/33685_shimano_plaquettes_g02a_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:54	2560	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:54	2560	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33685_shimano_plaquettes_g02a_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg'
2023-10-13	13:07:54	2560	[DEBUG]	Query for Media
2023-10-13	13:07:54	2560	[DEBUG]	Executed store
2023-10-13	13:07:54	2560	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33685_shimano_plaquettes_g02a_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_url_thumb`='bcprisme/33685_shimano_plaquettes_g02a_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16491'
2023-10-13	13:07:54	2560	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:54	2560	[DEBUG]	Executed store
2023-10-13	13:07:54	2560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862052','16491','1')
2023-10-13	13:07:54	2560	[DEBUG]	Store product image relation
2023-10-13	13:07:54	2560	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:54	2560	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862052 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:54	2560	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:54	2560	[DEBUG]	Executed store
2023-10-13	13:07:54	2560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862052','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:54	2560	[DEBUG]	Checking manufacturer
2023-10-13	13:07:54	2560	[DEBUG]	Load a row
2023-10-13	13:07:54	2560	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:54	2560	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:54	2560	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:54	2560	[DEBUG]	Executed store
2023-10-13	13:07:54	2560	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:54	2560	[DEBUG]	Manufacturer exists
2023-10-13	13:07:54	2560	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:07:54	2560	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:54	2560	[DEBUG]	Executed store
2023-10-13	13:07:54	2560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862052','123')
2023-10-13	13:07:54	2560	[DEBUG]	Find the custom field ID
2023-10-13	13:07:54	2560	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:54	2560	[DEBUG]	No custom field ID found
2023-10-13	13:07:54	2560	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:54	2560	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:07:54	2560	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862052 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:54	2560	[DEBUG]	Store custom available field
2023-10-13	13:07:54	2560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862052,3,'0',1)
2023-10-13	13:07:54	2560	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:54	2560	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:54	2560	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862052 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:54	2560	[DEBUG]	Store custom available field
2023-10-13	13:07:54	2560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862052,6,'choisir la taille',3)
2023-10-13	13:07:54	2560	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:54	2560	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:54	2560	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:54	2560	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:54	2560	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862052 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:54	2560	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:54	2560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862052,8,1)
2023-10-13	13:07:54	2560	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:54	2560	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862052\":[1862052,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862052
2023-10-13	13:07:54	2560	[DEBUG]	Checking category
2023-10-13	13:07:54	2560	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:54	2560	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862052
2023-10-13	13:07:54	2560	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:54	2560	[DEBUG]	Executed store
2023-10-13	13:07:54	2560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862052','7345')
2023-10-13	13:07:54	2560	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:54	2560	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862052 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:54	2560	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:54	2560	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862052
2023-10-13	13:07:54	2561	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:54	2561	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:54	2561	[DEBUG]	Use field value for field taille
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:54	2561	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:54	2561	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:54	2561	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:54	2561	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:54	2561	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:54	2561	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:54	2561	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:54	2561	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:54	2561	[DEBUG]	Use field value for field published
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:54	2561	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field override
2023-10-13	13:07:54	2561	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:54	2561	[DEBUG]	Use field value for field slug
2023-10-13	13:07:54	2561	[DEBUG]	Process line 2561
2023-10-13	13:07:54	2561	[DEBUG]	Load a row
2023-10-13	13:07:54	2561	[DEBUG]	Processing item: 4524667919599
2023-10-13	13:07:54	2561	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:54	2561	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:54	2561	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6849_208'
2023-10-13	13:07:54	2561	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:54	2561	[DEBUG]	Processing product tax
2023-10-13	13:07:54	2561	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:54	2561	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:54	2561	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:54	2561	[DEBUG]	Query for Product
2023-10-13	13:07:54	2561	[DEBUG]	Executed store
2023-10-13	13:07:54	2561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862052','4524667919599','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:54	2561	[DEBUG]	No parent found
2023-10-13	13:07:54	2561	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862052 AND customfield_value = 'stockable'
2023-10-13	13:07:54	2561	[DEBUG]	Check product language entry
2023-10-13	13:07:54	2561	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862053
2023-10-13	13:07:54	2561	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:54	2561	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667919599' AND `virtuemart_product_id` != 1862053
2023-10-13	13:07:54	2561	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:54	2561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862053, '4524667919599')
2023-10-13	13:07:54	2561	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:54	2561	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-g02a-resin-avec-ressort-et-goupille-fendue-paires-blister-aucune-all' AND `virtuemart_product_id` != 1862053
2023-10-13	13:07:54	2561	[DEBUG]	Query for ProductLang
2023-10-13	13:07:54	2561	[DEBUG]	Executed store
2023-10-13	13:07:54	2561	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO plaquettes G02A résin avec ressort et goupille fendue paires blister / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-g02a-resin-avec-ressort-et-goupille-fendue-paires-blister-aucune-all' WHERE `virtuemart_product_id` = '1862053'
2023-10-13	13:07:54	2561	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33685_shimano_plaquettes_g02a_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:54	2561	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:54	2561	[DEBUG]	Process image file
2023-10-13	13:07:54	2561	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:54	2561	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:54	2561	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33685_shimano_plaquettes_g02a_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:54	2561	[DEBUG]	Full name target: bcprisme/33685_shimano_plaquettes_g02a_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg
2023-10-13	13:07:55	2561	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:55	2561	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33685_shimano_plaquettes_g02a_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg'
2023-10-13	13:07:55	2561	[DEBUG]	Query for Media
2023-10-13	13:07:55	2561	[DEBUG]	Executed store
2023-10-13	13:07:55	2561	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33685_shimano_plaquettes_g02a_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_url_thumb`='bcprisme/33685_shimano_plaquettes_g02a_resin_avec_ressort_et_goupille_fendue_paires_blister.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16491'
2023-10-13	13:07:55	2561	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:55	2561	[DEBUG]	Executed store
2023-10-13	13:07:55	2561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862053','16491','1')
2023-10-13	13:07:55	2561	[DEBUG]	Store product image relation
2023-10-13	13:07:55	2561	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:55	2561	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862053 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:55	2561	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:55	2561	[DEBUG]	Executed store
2023-10-13	13:07:55	2561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862053','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:55	2561	[DEBUG]	Checking manufacturer
2023-10-13	13:07:55	2561	[DEBUG]	Load a row
2023-10-13	13:07:55	2561	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:55	2561	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:55	2561	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:55	2561	[DEBUG]	Executed store
2023-10-13	13:07:55	2561	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:07:55	2561	[DEBUG]	Manufacturer exists
2023-10-13	13:07:55	2561	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:07:55	2561	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:55	2561	[DEBUG]	Executed store
2023-10-13	13:07:55	2561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862053','123')
2023-10-13	13:07:55	2561	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:55	2561	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:55	2561	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862053 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:55	2561	[DEBUG]	Store custom available field
2023-10-13	13:07:55	2561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862053,3,'',1)
2023-10-13	13:07:55	2561	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:55	2561	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:07:55	2561	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862053 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:55	2561	[DEBUG]	Store custom available field
2023-10-13	13:07:55	2561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862053,6,'All',3)
2023-10-13	13:07:55	2561	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:55	2561	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:55	2561	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862052
2023-10-13	13:07:55	2561	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:55	2561	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862052\":[1862052,8,1,\"choisir la taille\"],\"1862053\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862052
2023-10-13	13:07:55	2561	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:55	2561	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862053
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:55	2562	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field taille
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:55	2562	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:55	2562	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:55	2562	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:55	2562	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:55	2562	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:55	2562	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field published
2023-10-13	13:07:55	2562	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:55	2562	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field override
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:55	2562	[DEBUG]	Use field value for field slug
2023-10-13	13:07:55	2562	[DEBUG]	Process line 2562
2023-10-13	13:07:55	2562	[DEBUG]	Load a row
2023-10-13	13:07:55	2562	[DEBUG]	Processing item: A_6876_1
2023-10-13	13:07:55	2562	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:55	2562	[DEBUG]	Processing product tax
2023-10-13	13:07:55	2562	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:55	2562	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:55	2562	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:55	2562	[DEBUG]	Query for Product
2023-10-13	13:07:55	2562	[DEBUG]	Executed store
2023-10-13	13:07:55	2562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6876_1','0.004','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:55	2562	[DEBUG]	Check product language entry
2023-10-13	13:07:55	2562	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862054
2023-10-13	13:07:55	2562	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:55	2562	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6876_1' AND `virtuemart_product_id` != 1862054
2023-10-13	13:07:55	2562	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:55	2562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862054, 'A_6876_1')
2023-10-13	13:07:55	2562	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:55	2562	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-plaquettes-de-frein-sram-force-axs-noir' AND `virtuemart_product_id` != 1862054
2023-10-13	13:07:55	2562	[DEBUG]	Query for ProductLang
2023-10-13	13:07:55	2562	[DEBUG]	Executed store
2023-10-13	13:07:55	2562	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. semi-métalliques,  Magura MT 2,4,6,8<br>N° art fourn : D7552G',`product_name`='SRAM Plaquettes de frein Sram Force AXS / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-plaquettes-de-frein-sram-force-axs-noir' WHERE `virtuemart_product_id` = '1862054'
2023-10-13	13:07:55	2562	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33988__plaquettes_de_frein_sram_force_axs.jpg
2023-10-13	13:07:55	2562	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:55	2562	[DEBUG]	Process image file
2023-10-13	13:07:55	2562	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:55	2562	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:55	2562	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33988__plaquettes_de_frein_sram_force_axs.jpg
2023-10-13	13:07:55	2562	[DEBUG]	Full name target: bcprisme/33988__plaquettes_de_frein_sram_force_axs.jpg
2023-10-13	13:07:56	2562	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:56	2562	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33988__plaquettes_de_frein_sram_force_axs.jpg'
2023-10-13	13:07:56	2562	[DEBUG]	Query for Media
2023-10-13	13:07:56	2562	[DEBUG]	Executed store
2023-10-13	13:07:56	2562	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33988__plaquettes_de_frein_sram_force_axs.jpg',`file_url_thumb`='bcprisme/33988__plaquettes_de_frein_sram_force_axs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15933'
2023-10-13	13:07:56	2562	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:56	2562	[DEBUG]	Executed store
2023-10-13	13:07:56	2562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862054','15933','1')
2023-10-13	13:07:56	2562	[DEBUG]	Store product image relation
2023-10-13	13:07:56	2562	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:56	2562	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862054 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:56	2562	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:56	2562	[DEBUG]	Executed store
2023-10-13	13:07:56	2562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862054','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:56	2562	[DEBUG]	Checking manufacturer
2023-10-13	13:07:56	2562	[DEBUG]	Load a row
2023-10-13	13:07:56	2562	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:56	2562	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:07:56	2562	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:56	2562	[DEBUG]	Executed store
2023-10-13	13:07:56	2562	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:07:56	2562	[DEBUG]	Manufacturer exists
2023-10-13	13:07:56	2562	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:07:56	2562	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:56	2562	[DEBUG]	Executed store
2023-10-13	13:07:56	2562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862054','35')
2023-10-13	13:07:56	2562	[DEBUG]	Find the custom field ID
2023-10-13	13:07:56	2562	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:56	2562	[DEBUG]	No custom field ID found
2023-10-13	13:07:56	2562	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:56	2562	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:07:56	2562	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862054 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:56	2562	[DEBUG]	Store custom available field
2023-10-13	13:07:56	2562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862054,3,'16.8530555555556',1)
2023-10-13	13:07:56	2562	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:56	2562	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:56	2562	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862054 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:56	2562	[DEBUG]	Store custom available field
2023-10-13	13:07:56	2562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862054,6,'choisir la taille',3)
2023-10-13	13:07:56	2562	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:56	2562	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:56	2562	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:56	2562	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:56	2562	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862054 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:56	2562	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:56	2562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862054,8,1)
2023-10-13	13:07:56	2562	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:56	2562	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862054\":[1862054,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862054
2023-10-13	13:07:56	2562	[DEBUG]	Checking category
2023-10-13	13:07:56	2562	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:56	2562	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862054
2023-10-13	13:07:56	2562	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:56	2562	[DEBUG]	Executed store
2023-10-13	13:07:56	2562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862054','7345')
2023-10-13	13:07:56	2562	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:56	2562	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862054 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:56	2562	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:56	2562	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862054
2023-10-13	13:07:56	2563	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:56	2563	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:56	2563	[DEBUG]	Use field value for field taille
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:56	2563	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:56	2563	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:56	2563	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:56	2563	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:56	2563	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:56	2563	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:56	2563	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:56	2563	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:56	2563	[DEBUG]	Use field value for field published
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:56	2563	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field override
2023-10-13	13:07:56	2563	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:56	2563	[DEBUG]	Use field value for field slug
2023-10-13	13:07:56	2563	[DEBUG]	Process line 2563
2023-10-13	13:07:56	2563	[DEBUG]	Load a row
2023-10-13	13:07:56	2563	[DEBUG]	Processing item: 710845826894
2023-10-13	13:07:56	2563	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:56	2563	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:56	2563	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6876_1'
2023-10-13	13:07:56	2563	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:56	2563	[DEBUG]	Processing product tax
2023-10-13	13:07:56	2563	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:56	2563	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:56	2563	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:56	2563	[DEBUG]	Query for Product
2023-10-13	13:07:56	2563	[DEBUG]	Executed store
2023-10-13	13:07:56	2563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862054','710845826894','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:56	2563	[DEBUG]	No parent found
2023-10-13	13:07:56	2563	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862054 AND customfield_value = 'stockable'
2023-10-13	13:07:56	2563	[DEBUG]	Check product language entry
2023-10-13	13:07:56	2563	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862055
2023-10-13	13:07:56	2563	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:56	2563	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845826894' AND `virtuemart_product_id` != 1862055
2023-10-13	13:07:56	2563	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:56	2563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862055, '710845826894')
2023-10-13	13:07:56	2563	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:56	2563	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-plaquettes-de-frein-sram-force-axs-noir-unitaire' AND `virtuemart_product_id` != 1862055
2023-10-13	13:07:56	2563	[DEBUG]	Query for ProductLang
2023-10-13	13:07:56	2563	[DEBUG]	Executed store
2023-10-13	13:07:56	2563	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Plaquettes de frein Sram Force AXS / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-plaquettes-de-frein-sram-force-axs-noir-unitaire' WHERE `virtuemart_product_id` = '1862055'
2023-10-13	13:07:56	2563	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33988__plaquettes_de_frein_sram_force_axs.jpg
2023-10-13	13:07:56	2563	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:56	2563	[DEBUG]	Process image file
2023-10-13	13:07:56	2563	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:56	2563	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:56	2563	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33988__plaquettes_de_frein_sram_force_axs.jpg
2023-10-13	13:07:56	2563	[DEBUG]	Full name target: bcprisme/33988__plaquettes_de_frein_sram_force_axs.jpg
2023-10-13	13:07:57	2563	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:57	2563	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33988__plaquettes_de_frein_sram_force_axs.jpg'
2023-10-13	13:07:57	2563	[DEBUG]	Query for Media
2023-10-13	13:07:57	2563	[DEBUG]	Executed store
2023-10-13	13:07:57	2563	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33988__plaquettes_de_frein_sram_force_axs.jpg',`file_url_thumb`='bcprisme/33988__plaquettes_de_frein_sram_force_axs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15933'
2023-10-13	13:07:57	2563	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:57	2563	[DEBUG]	Executed store
2023-10-13	13:07:57	2563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862055','15933','1')
2023-10-13	13:07:57	2563	[DEBUG]	Store product image relation
2023-10-13	13:07:57	2563	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:57	2563	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862055 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:57	2563	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:57	2563	[DEBUG]	Executed store
2023-10-13	13:07:57	2563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862055','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:57	2563	[DEBUG]	Checking manufacturer
2023-10-13	13:07:57	2563	[DEBUG]	Load a row
2023-10-13	13:07:57	2563	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:57	2563	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:07:57	2563	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:57	2563	[DEBUG]	Executed store
2023-10-13	13:07:57	2563	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:07:57	2563	[DEBUG]	Manufacturer exists
2023-10-13	13:07:57	2563	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:07:57	2563	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:57	2563	[DEBUG]	Executed store
2023-10-13	13:07:57	2563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862055','35')
2023-10-13	13:07:57	2563	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:57	2563	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:57	2563	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862055 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:57	2563	[DEBUG]	Store custom available field
2023-10-13	13:07:57	2563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862055,3,'',1)
2023-10-13	13:07:57	2563	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:57	2563	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:57	2563	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862055 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:57	2563	[DEBUG]	Store custom available field
2023-10-13	13:07:57	2563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862055,6,'Unitaire',3)
2023-10-13	13:07:57	2563	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:57	2563	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:57	2563	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862054
2023-10-13	13:07:57	2563	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:57	2563	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862054\":[1862054,8,1,\"choisir la taille\"],\"1862055\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862054
2023-10-13	13:07:57	2563	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:57	2563	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862055
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:57	2564	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field taille
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:57	2564	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:57	2564	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:57	2564	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:57	2564	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:57	2564	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:57	2564	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field published
2023-10-13	13:07:57	2564	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:57	2564	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field override
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:57	2564	[DEBUG]	Use field value for field slug
2023-10-13	13:07:57	2564	[DEBUG]	Process line 2564
2023-10-13	13:07:57	2564	[DEBUG]	Load a row
2023-10-13	13:07:57	2564	[DEBUG]	Processing item: A_6877_1
2023-10-13	13:07:57	2564	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:57	2564	[DEBUG]	Processing product tax
2023-10-13	13:07:57	2564	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:57	2564	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:57	2564	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:57	2564	[DEBUG]	Query for Product
2023-10-13	13:07:57	2564	[DEBUG]	Executed store
2023-10-13	13:07:57	2564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6877_1','0.004','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:57	2564	[DEBUG]	Check product language entry
2023-10-13	13:07:57	2564	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862056
2023-10-13	13:07:57	2564	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:57	2564	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6877_1' AND `virtuemart_product_id` != 1862056
2023-10-13	13:07:57	2564	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:57	2564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862056, 'A_6877_1')
2023-10-13	13:07:57	2564	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:57	2564	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-plaquettes-de-frein-disques-semi-metalliques-magura-mt-2-4-6-8-copie-noir' AND `virtuemart_product_id` != 1862056
2023-10-13	13:07:57	2564	[DEBUG]	Query for ProductLang
2023-10-13	13:07:57	2564	[DEBUG]	Executed store
2023-10-13	13:07:57	2564	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. semi-métalliques,  Magura MT 2,4,6,8<br>N° art fourn : H8776Y',`product_name`='MAGURA Plaquettes de frein disques. semi-métalliques,  Magura MT 2,4,6,8 (copie) / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-plaquettes-de-frein-disques-semi-metalliques-magura-mt-2-4-6-8-copie-noir' WHERE `virtuemart_product_id` = '1862056'
2023-10-13	13:07:57	2564	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33989_plaquettes_de_frein_disques__semi-metalliques,__magura_mt_2,4,6,8_(copie).jpg
2023-10-13	13:07:57	2564	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:57	2564	[DEBUG]	Process image file
2023-10-13	13:07:57	2564	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:57	2564	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:57	2564	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33989_plaquettes_de_frein_disques__semi-metalliques,__magura_mt_2,4,6,8_(copie).jpg
2023-10-13	13:07:57	2564	[DEBUG]	Full name target: bcprisme/33989_plaquettes_de_frein_disques__semi-metalliques,__magura_mt_2,4,6,8_(copie).jpg
2023-10-13	13:07:58	2564	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:58	2564	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33989_plaquettes_de_frein_disques__semi-metalliques,__magura_mt_2,4,6,8_(copie).jpg'
2023-10-13	13:07:58	2564	[DEBUG]	Query for Media
2023-10-13	13:07:58	2564	[DEBUG]	Executed store
2023-10-13	13:07:58	2564	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33989_plaquettes_de_frein_disques__semi-metalliques,__magura_mt_2,4,6,8_(copie).jpg',`file_url_thumb`='bcprisme/33989_plaquettes_de_frein_disques__semi-metalliques,__magura_mt_2,4,6,8_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366913'
2023-10-13	13:07:58	2564	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:58	2564	[DEBUG]	Executed store
2023-10-13	13:07:58	2564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862056','366913','1')
2023-10-13	13:07:58	2564	[DEBUG]	Store product image relation
2023-10-13	13:07:58	2564	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:58	2564	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862056 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:58	2564	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:58	2564	[DEBUG]	Executed store
2023-10-13	13:07:58	2564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862056','0','24.0482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:58	2564	[DEBUG]	Checking manufacturer
2023-10-13	13:07:58	2564	[DEBUG]	Load a row
2023-10-13	13:07:58	2564	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:58	2564	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:07:58	2564	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:58	2564	[DEBUG]	Executed store
2023-10-13	13:07:58	2564	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:07:58	2564	[DEBUG]	Manufacturer exists
2023-10-13	13:07:58	2564	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:07:58	2564	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:58	2564	[DEBUG]	Executed store
2023-10-13	13:07:58	2564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862056','38')
2023-10-13	13:07:58	2564	[DEBUG]	Find the custom field ID
2023-10-13	13:07:58	2564	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:07:58	2564	[DEBUG]	No custom field ID found
2023-10-13	13:07:58	2564	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:58	2564	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:07:58	2564	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862056 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:58	2564	[DEBUG]	Store custom available field
2023-10-13	13:07:58	2564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862056,3,'16.8530555555556',1)
2023-10-13	13:07:58	2564	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:58	2564	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:07:58	2564	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862056 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:58	2564	[DEBUG]	Store custom available field
2023-10-13	13:07:58	2564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862056,6,'choisir la taille',3)
2023-10-13	13:07:58	2564	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:58	2564	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:07:58	2564	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:07:58	2564	[DEBUG]	Find the multi variant product entry
2023-10-13	13:07:58	2564	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862056 AND `virtuemart_custom_id` = 8
2023-10-13	13:07:58	2564	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:07:58	2564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862056,8,1)
2023-10-13	13:07:58	2564	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:58	2564	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862056\":[1862056,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862056
2023-10-13	13:07:58	2564	[DEBUG]	Checking category
2023-10-13	13:07:58	2564	[DEBUG]	Get the existing categories for the product
2023-10-13	13:07:58	2564	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862056
2023-10-13	13:07:58	2564	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:07:58	2564	[DEBUG]	Executed store
2023-10-13	13:07:58	2564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862056','7345')
2023-10-13	13:07:58	2564	[DEBUG]	Delete leftover product categories
2023-10-13	13:07:58	2564	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862056 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:07:58	2564	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:58	2564	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862056
2023-10-13	13:07:58	2565	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:58	2565	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:07:58	2565	[DEBUG]	Use field value for field taille
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:07:58	2565	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field category_path
2023-10-13	13:07:58	2565	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:58	2565	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:58	2565	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:58	2565	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:07:58	2565	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field product_weight
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:58	2565	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:58	2565	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:58	2565	[DEBUG]	Use field value for field published
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field custom_title
2023-10-13	13:07:58	2565	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field custom_param
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field override
2023-10-13	13:07:58	2565	[DEBUG]	Use default value for field public_price
2023-10-13	13:07:58	2565	[DEBUG]	Use field value for field slug
2023-10-13	13:07:58	2565	[DEBUG]	Process line 2565
2023-10-13	13:07:58	2565	[DEBUG]	Load a row
2023-10-13	13:07:58	2565	[DEBUG]	Processing item: 1000000110579
2023-10-13	13:07:58	2565	[DEBUG]	Looking for parent SKU
2023-10-13	13:07:58	2565	[DEBUG]	Checking product parent SKU
2023-10-13	13:07:58	2565	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6877_1'
2023-10-13	13:07:58	2565	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:58	2565	[DEBUG]	Processing product tax
2023-10-13	13:07:58	2565	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:58	2565	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:58	2565	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:58	2565	[DEBUG]	Query for Product
2023-10-13	13:07:58	2565	[DEBUG]	Executed store
2023-10-13	13:07:58	2565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862056','1000000110579','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:58	2565	[DEBUG]	No parent found
2023-10-13	13:07:58	2565	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862056 AND customfield_value = 'stockable'
2023-10-13	13:07:58	2565	[DEBUG]	Check product language entry
2023-10-13	13:07:58	2565	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862057
2023-10-13	13:07:58	2565	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:58	2565	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000110579' AND `virtuemart_product_id` != 1862057
2023-10-13	13:07:58	2565	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:58	2565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862057, '1000000110579')
2023-10-13	13:07:58	2565	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:58	2565	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-plaquettes-de-frein-disques-semi-metalliques-magura-mt-2-4-6-8-copie-noir-unitaire' AND `virtuemart_product_id` != 1862057
2023-10-13	13:07:58	2565	[DEBUG]	Query for ProductLang
2023-10-13	13:07:58	2565	[DEBUG]	Executed store
2023-10-13	13:07:58	2565	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Plaquettes de frein disques. semi-métalliques,  Magura MT 2,4,6,8 (copie) / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-plaquettes-de-frein-disques-semi-metalliques-magura-mt-2-4-6-8-copie-noir-unitaire' WHERE `virtuemart_product_id` = '1862057'
2023-10-13	13:07:58	2565	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33989_plaquettes_de_frein_disques__semi-metalliques,__magura_mt_2,4,6,8_(copie).jpg
2023-10-13	13:07:58	2565	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:58	2565	[DEBUG]	Process image file
2023-10-13	13:07:58	2565	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:58	2565	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:58	2565	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33989_plaquettes_de_frein_disques__semi-metalliques,__magura_mt_2,4,6,8_(copie).jpg
2023-10-13	13:07:58	2565	[DEBUG]	Full name target: bcprisme/33989_plaquettes_de_frein_disques__semi-metalliques,__magura_mt_2,4,6,8_(copie).jpg
2023-10-13	13:07:59	2565	[DEBUG]	Checking if the file_url exists
2023-10-13	13:07:59	2565	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33989_plaquettes_de_frein_disques__semi-metalliques,__magura_mt_2,4,6,8_(copie).jpg'
2023-10-13	13:07:59	2565	[DEBUG]	Query for Media
2023-10-13	13:07:59	2565	[DEBUG]	Executed store
2023-10-13	13:07:59	2565	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33989_plaquettes_de_frein_disques__semi-metalliques,__magura_mt_2,4,6,8_(copie).jpg',`file_url_thumb`='bcprisme/33989_plaquettes_de_frein_disques__semi-metalliques,__magura_mt_2,4,6,8_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366913'
2023-10-13	13:07:59	2565	[DEBUG]	Query for ProductMedia
2023-10-13	13:07:59	2565	[DEBUG]	Executed store
2023-10-13	13:07:59	2565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862057','366913','1')
2023-10-13	13:07:59	2565	[DEBUG]	Store product image relation
2023-10-13	13:07:59	2565	[DEBUG]	Finding a product_price_id
2023-10-13	13:07:59	2565	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862057 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:07:59	2565	[DEBUG]	Query for ProductPrice
2023-10-13	13:07:59	2565	[DEBUG]	Executed store
2023-10-13	13:07:59	2565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862057','0','24.0482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:07:59	2565	[DEBUG]	Checking manufacturer
2023-10-13	13:07:59	2565	[DEBUG]	Load a row
2023-10-13	13:07:59	2565	[DEBUG]	Manufacturer already exists
2023-10-13	13:07:59	2565	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:07:59	2565	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:07:59	2565	[DEBUG]	Executed store
2023-10-13	13:07:59	2565	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:07:59	2565	[DEBUG]	Manufacturer exists
2023-10-13	13:07:59	2565	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:07:59	2565	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:07:59	2565	[DEBUG]	Executed store
2023-10-13	13:07:59	2565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862057','38')
2023-10-13	13:07:59	2565	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:07:59	2565	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:07:59	2565	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862057 AND `virtuemart_custom_id` = 3
2023-10-13	13:07:59	2565	[DEBUG]	Store custom available field
2023-10-13	13:07:59	2565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862057,3,'',1)
2023-10-13	13:07:59	2565	[DEBUG]	Processing custom available field: taille
2023-10-13	13:07:59	2565	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:07:59	2565	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862057 AND `virtuemart_custom_id` = 6
2023-10-13	13:07:59	2565	[DEBUG]	Store custom available field
2023-10-13	13:07:59	2565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862057,6,'Unitaire',3)
2023-10-13	13:07:59	2565	[DEBUG]	Process multi-variant fields
2023-10-13	13:07:59	2565	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:07:59	2565	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862056
2023-10-13	13:07:59	2565	[DEBUG]	Store the updated customfield_params
2023-10-13	13:07:59	2565	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862056\":[1862056,8,1,\"choisir la taille\"],\"1862057\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862056
2023-10-13	13:07:59	2565	[DEBUG]	Update has fields after all processing
2023-10-13	13:07:59	2565	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862057
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field product_sku
2023-10-13	13:07:59	2566	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field taille
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field product_name
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field category_path
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field product_price
2023-10-13	13:07:59	2566	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field product_tax
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field file_url
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:07:59	2566	[DEBUG]	Use default value for field product_desc
2023-10-13	13:07:59	2566	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field product_availability
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field product_weight
2023-10-13	13:07:59	2566	[DEBUG]	Use default value for field product_unit
2023-10-13	13:07:59	2566	[DEBUG]	Use default value for field related_products
2023-10-13	13:07:59	2566	[DEBUG]	Use default value for field product_special
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field published
2023-10-13	13:07:59	2566	[DEBUG]	Use default value for field metadesc
2023-10-13	13:07:59	2566	[DEBUG]	Use default value for field metakey
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field custom_title
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field custom_value
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field custom_param
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field override
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field public_price
2023-10-13	13:07:59	2566	[DEBUG]	Use field value for field slug
2023-10-13	13:07:59	2566	[DEBUG]	Process line 2566
2023-10-13	13:07:59	2566	[DEBUG]	Load a row
2023-10-13	13:07:59	2566	[DEBUG]	Processing item: A_6903_1
2023-10-13	13:07:59	2566	[DEBUG]	Product tax: 7.7
2023-10-13	13:07:59	2566	[DEBUG]	Processing product tax
2023-10-13	13:07:59	2566	[DEBUG]	Check if calculation rule exists
2023-10-13	13:07:59	2566	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:07:59	2566	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:07:59	2566	[DEBUG]	Query for Product
2023-10-13	13:07:59	2566	[DEBUG]	Executed store
2023-10-13	13:07:59	2566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6903_1','0.004','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:07:59	2566	[DEBUG]	Check product language entry
2023-10-13	13:07:59	2566	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862058
2023-10-13	13:07:59	2566	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:59	2566	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6903_1' AND `virtuemart_product_id` != 1862058
2023-10-13	13:07:59	2566	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:07:59	2566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862058, 'A_6903_1')
2023-10-13	13:07:59	2566	[DEBUG]	Check if the product slug exists
2023-10-13	13:07:59	2566	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-plaquettes-de-frein-sram-red-force-axs-level-ultimate-6-tlm-2020-noir' AND `virtuemart_product_id` != 1862058
2023-10-13	13:07:59	2566	[DEBUG]	Query for ProductLang
2023-10-13	13:07:59	2566	[DEBUG]	Executed store
2023-10-13	13:07:59	2566	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. semi-métalliques,  Magura MT 2,4,6,8<br>N° art fourn : D7557Q',`product_name`='SRAM Plaquettes de frein Sram Red & Force AXS, Level Ultimate 6 TLM 2020+ / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-plaquettes-de-frein-sram-red-force-axs-level-ultimate-6-tlm-2020-noir' WHERE `virtuemart_product_id` = '1862058'
2023-10-13	13:07:59	2566	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34024_plaquettes_de_frein_sram_red_&_force_axs,_level_ultimate_6_tlm_2020+.jpg
2023-10-13	13:07:59	2566	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:59	2566	[DEBUG]	Process image file
2023-10-13	13:07:59	2566	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:07:59	2566	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:07:59	2566	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34024_plaquettes_de_frein_sram_red_&_force_axs,_level_ultimate_6_tlm_2020+.jpg
2023-10-13	13:07:59	2566	[DEBUG]	Full name target: bcprisme/34024_plaquettes_de_frein_sram_red_&_force_axs,_level_ultimate_6_tlm_2020+.jpg
2023-10-13	13:08:00	2566	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:00	2566	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34024_plaquettes_de_frein_sram_red_&_force_axs,_level_ultimate_6_tlm_2020+.jpg'
2023-10-13	13:08:00	2566	[DEBUG]	Query for Media
2023-10-13	13:08:00	2566	[DEBUG]	Executed store
2023-10-13	13:08:00	2566	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34024_plaquettes_de_frein_sram_red_&_force_axs,_level_ultimate_6_tlm_2020+.jpg',`file_url_thumb`='bcprisme/34024_plaquettes_de_frein_sram_red_&_force_axs,_level_ultimate_6_tlm_2020+.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15934'
2023-10-13	13:08:00	2566	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:00	2566	[DEBUG]	Executed store
2023-10-13	13:08:00	2566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862058','15934','1')
2023-10-13	13:08:00	2566	[DEBUG]	Store product image relation
2023-10-13	13:08:00	2566	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:00	2566	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862058 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:00	2566	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:00	2566	[DEBUG]	Executed store
2023-10-13	13:08:00	2566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862058','0','24.0482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:00	2566	[DEBUG]	Checking manufacturer
2023-10-13	13:08:00	2566	[DEBUG]	Load a row
2023-10-13	13:08:00	2566	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:00	2566	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:08:00	2566	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:00	2566	[DEBUG]	Executed store
2023-10-13	13:08:00	2566	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:08:00	2566	[DEBUG]	Manufacturer exists
2023-10-13	13:08:00	2566	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:08:00	2566	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:00	2566	[DEBUG]	Executed store
2023-10-13	13:08:00	2566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862058','35')
2023-10-13	13:08:00	2566	[DEBUG]	Find the custom field ID
2023-10-13	13:08:00	2566	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:00	2566	[DEBUG]	No custom field ID found
2023-10-13	13:08:00	2566	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:00	2566	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:08:00	2566	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862058 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:00	2566	[DEBUG]	Store custom available field
2023-10-13	13:08:00	2566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862058,3,'16.8530555555556',1)
2023-10-13	13:08:00	2566	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:00	2566	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:00	2566	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862058 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:00	2566	[DEBUG]	Store custom available field
2023-10-13	13:08:00	2566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862058,6,'choisir la taille',3)
2023-10-13	13:08:00	2566	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:00	2566	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:00	2566	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:00	2566	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:00	2566	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862058 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:00	2566	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:00	2566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862058,8,1)
2023-10-13	13:08:00	2566	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:00	2566	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862058\":[1862058,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862058
2023-10-13	13:08:00	2566	[DEBUG]	Checking category
2023-10-13	13:08:00	2566	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:00	2566	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862058
2023-10-13	13:08:00	2566	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:00	2566	[DEBUG]	Executed store
2023-10-13	13:08:00	2566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862058','7345')
2023-10-13	13:08:00	2566	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:00	2566	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862058 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:00	2566	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:00	2566	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862058
2023-10-13	13:08:00	2567	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:00	2567	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:00	2567	[DEBUG]	Use field value for field taille
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:00	2567	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:00	2567	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:00	2567	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:00	2567	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:00	2567	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:00	2567	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:00	2567	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:00	2567	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:00	2567	[DEBUG]	Use field value for field published
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:00	2567	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field override
2023-10-13	13:08:00	2567	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:00	2567	[DEBUG]	Use field value for field slug
2023-10-13	13:08:00	2567	[DEBUG]	Process line 2567
2023-10-13	13:08:00	2567	[DEBUG]	Load a row
2023-10-13	13:08:00	2567	[DEBUG]	Processing item: 710845844331
2023-10-13	13:08:00	2567	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:00	2567	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:00	2567	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6903_1'
2023-10-13	13:08:00	2567	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:00	2567	[DEBUG]	Processing product tax
2023-10-13	13:08:00	2567	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:00	2567	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:00	2567	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:00	2567	[DEBUG]	Query for Product
2023-10-13	13:08:00	2567	[DEBUG]	Executed store
2023-10-13	13:08:00	2567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862058','710845844331','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:00	2567	[DEBUG]	No parent found
2023-10-13	13:08:00	2567	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862058 AND customfield_value = 'stockable'
2023-10-13	13:08:00	2567	[DEBUG]	Check product language entry
2023-10-13	13:08:00	2567	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862059
2023-10-13	13:08:00	2567	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:00	2567	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845844331' AND `virtuemart_product_id` != 1862059
2023-10-13	13:08:00	2567	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:00	2567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862059, '710845844331')
2023-10-13	13:08:00	2567	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:00	2567	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-plaquettes-de-frein-sram-red-force-axs-level-ultimate-6-tlm-2020-noir-unitaire' AND `virtuemart_product_id` != 1862059
2023-10-13	13:08:00	2567	[DEBUG]	Query for ProductLang
2023-10-13	13:08:00	2567	[DEBUG]	Executed store
2023-10-13	13:08:00	2567	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Plaquettes de frein Sram Red & Force AXS, Level Ultimate 6 TLM 2020+ / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-plaquettes-de-frein-sram-red-force-axs-level-ultimate-6-tlm-2020-noir-unitaire' WHERE `virtuemart_product_id` = '1862059'
2023-10-13	13:08:00	2567	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34024_plaquettes_de_frein_sram_red_&_force_axs,_level_ultimate_6_tlm_2020+.jpg
2023-10-13	13:08:00	2567	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:00	2567	[DEBUG]	Process image file
2023-10-13	13:08:00	2567	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:00	2567	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:00	2567	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34024_plaquettes_de_frein_sram_red_&_force_axs,_level_ultimate_6_tlm_2020+.jpg
2023-10-13	13:08:00	2567	[DEBUG]	Full name target: bcprisme/34024_plaquettes_de_frein_sram_red_&_force_axs,_level_ultimate_6_tlm_2020+.jpg
2023-10-13	13:08:01	2567	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:01	2567	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34024_plaquettes_de_frein_sram_red_&_force_axs,_level_ultimate_6_tlm_2020+.jpg'
2023-10-13	13:08:01	2567	[DEBUG]	Query for Media
2023-10-13	13:08:01	2567	[DEBUG]	Executed store
2023-10-13	13:08:01	2567	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34024_plaquettes_de_frein_sram_red_&_force_axs,_level_ultimate_6_tlm_2020+.jpg',`file_url_thumb`='bcprisme/34024_plaquettes_de_frein_sram_red_&_force_axs,_level_ultimate_6_tlm_2020+.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15934'
2023-10-13	13:08:01	2567	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:01	2567	[DEBUG]	Executed store
2023-10-13	13:08:01	2567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862059','15934','1')
2023-10-13	13:08:01	2567	[DEBUG]	Store product image relation
2023-10-13	13:08:01	2567	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:01	2567	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862059 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:01	2567	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:01	2567	[DEBUG]	Executed store
2023-10-13	13:08:01	2567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862059','0','24.0482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:01	2567	[DEBUG]	Checking manufacturer
2023-10-13	13:08:01	2567	[DEBUG]	Load a row
2023-10-13	13:08:01	2567	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:01	2567	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:08:01	2567	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:01	2567	[DEBUG]	Executed store
2023-10-13	13:08:01	2567	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:08:01	2567	[DEBUG]	Manufacturer exists
2023-10-13	13:08:01	2567	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:08:01	2567	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:01	2567	[DEBUG]	Executed store
2023-10-13	13:08:01	2567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862059','35')
2023-10-13	13:08:01	2567	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:01	2567	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:01	2567	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862059 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:01	2567	[DEBUG]	Store custom available field
2023-10-13	13:08:01	2567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862059,3,'',1)
2023-10-13	13:08:01	2567	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:01	2567	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:08:01	2567	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862059 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:01	2567	[DEBUG]	Store custom available field
2023-10-13	13:08:01	2567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862059,6,'Unitaire',3)
2023-10-13	13:08:01	2567	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:01	2567	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:01	2567	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862058
2023-10-13	13:08:01	2567	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:01	2567	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862058\":[1862058,8,1,\"choisir la taille\"],\"1862059\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862058
2023-10-13	13:08:01	2567	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:01	2567	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862059
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:01	2568	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field taille
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:01	2568	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:01	2568	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:01	2568	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:01	2568	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:01	2568	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:01	2568	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field published
2023-10-13	13:08:01	2568	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:01	2568	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field override
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:01	2568	[DEBUG]	Use field value for field slug
2023-10-13	13:08:01	2568	[DEBUG]	Process line 2568
2023-10-13	13:08:01	2568	[DEBUG]	Load a row
2023-10-13	13:08:01	2568	[DEBUG]	Processing item: A_7015_0
2023-10-13	13:08:01	2568	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:01	2568	[DEBUG]	Processing product tax
2023-10-13	13:08:01	2568	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:01	2568	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:01	2568	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:01	2568	[DEBUG]	Query for Product
2023-10-13	13:08:01	2568	[DEBUG]	Executed store
2023-10-13	13:08:01	2568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7015_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:01	2568	[DEBUG]	Check product language entry
2023-10-13	13:08:01	2568	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862060
2023-10-13	13:08:01	2568	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:01	2568	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7015_0' AND `virtuemart_product_id` != 1862060
2023-10-13	13:08:01	2568	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:01	2568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862060, 'A_7015_0')
2023-10-13	13:08:01	2568	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:01	2568	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'brake-authority-plaquettes-freins-authority-shimano-electrique-trp-t4-unique' AND `virtuemart_product_id` != 1862060
2023-10-13	13:08:01	2568	[DEBUG]	Query for ProductLang
2023-10-13	13:08:01	2568	[DEBUG]	Executed store
2023-10-13	13:08:01	2568	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 240.002.002',`product_name`='BRAKE AUTHORITY PLAQUETTES FREINS  AUTHORITY SHIMANO ELECTRIQUE TRP T4 / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='brake-authority-plaquettes-freins-authority-shimano-electrique-trp-t4-unique' WHERE `virtuemart_product_id` = '1862060'
2023-10-13	13:08:01	2568	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34153_plaquettes_freins__authority_shimano_electrique_trp_t4.jpg
2023-10-13	13:08:01	2568	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:01	2568	[DEBUG]	Process image file
2023-10-13	13:08:01	2568	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:01	2568	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:01	2568	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34153_plaquettes_freins__authority_shimano_electrique_trp_t4.jpg
2023-10-13	13:08:01	2568	[DEBUG]	Full name target: bcprisme/34153_plaquettes_freins__authority_shimano_electrique_trp_t4.jpg
2023-10-13	13:08:02	2568	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:02	2568	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34153_plaquettes_freins__authority_shimano_electrique_trp_t4.jpg'
2023-10-13	13:08:02	2568	[DEBUG]	Query for Media
2023-10-13	13:08:02	2568	[DEBUG]	Executed store
2023-10-13	13:08:02	2568	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34153_plaquettes_freins__authority_shimano_electrique_trp_t4.jpg',`file_url_thumb`='bcprisme/34153_plaquettes_freins__authority_shimano_electrique_trp_t4.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17622'
2023-10-13	13:08:02	2568	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:02	2568	[DEBUG]	Executed store
2023-10-13	13:08:02	2568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862060','17622','1')
2023-10-13	13:08:02	2568	[DEBUG]	Store product image relation
2023-10-13	13:08:02	2568	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:02	2568	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862060 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:02	2568	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:02	2568	[DEBUG]	Executed store
2023-10-13	13:08:02	2568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862060','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:02	2568	[DEBUG]	Checking manufacturer
2023-10-13	13:08:02	2568	[DEBUG]	Load a row
2023-10-13	13:08:02	2568	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:02	2568	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:08:02	2568	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:02	2568	[DEBUG]	Executed store
2023-10-13	13:08:02	2568	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331209444664' WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:08:02	2568	[DEBUG]	Manufacturer exists
2023-10-13	13:08:02	2568	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 161
2023-10-13	13:08:02	2568	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:02	2568	[DEBUG]	Executed store
2023-10-13	13:08:02	2568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862060','161')
2023-10-13	13:08:02	2568	[DEBUG]	Find the custom field ID
2023-10-13	13:08:02	2568	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:02	2568	[DEBUG]	No custom field ID found
2023-10-13	13:08:02	2568	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:02	2568	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:08:02	2568	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862060 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:02	2568	[DEBUG]	Store custom available field
2023-10-13	13:08:02	2568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862060,3,'0',1)
2023-10-13	13:08:02	2568	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:02	2568	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:02	2568	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862060 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:02	2568	[DEBUG]	Store custom available field
2023-10-13	13:08:02	2568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862060,6,'choisir la taille',3)
2023-10-13	13:08:02	2568	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:02	2568	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:02	2568	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:02	2568	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:02	2568	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862060 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:02	2568	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:02	2568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862060,8,1)
2023-10-13	13:08:02	2568	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:02	2568	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862060\":[1862060,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862060
2023-10-13	13:08:02	2568	[DEBUG]	Checking category
2023-10-13	13:08:02	2568	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:02	2568	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862060
2023-10-13	13:08:02	2568	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:02	2568	[DEBUG]	Executed store
2023-10-13	13:08:02	2568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862060','7345')
2023-10-13	13:08:02	2568	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:02	2568	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862060 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:02	2568	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:02	2568	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862060
2023-10-13	13:08:02	2569	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:02	2569	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:02	2569	[DEBUG]	Use field value for field taille
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:02	2569	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:02	2569	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:02	2569	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:02	2569	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:02	2569	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:02	2569	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:02	2569	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:02	2569	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:02	2569	[DEBUG]	Use field value for field published
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:02	2569	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field override
2023-10-13	13:08:02	2569	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:02	2569	[DEBUG]	Use field value for field slug
2023-10-13	13:08:02	2569	[DEBUG]	Process line 2569
2023-10-13	13:08:02	2569	[DEBUG]	Load a row
2023-10-13	13:08:02	2569	[DEBUG]	Processing item: 3701042149937
2023-10-13	13:08:02	2569	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:02	2569	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:02	2569	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7015_0'
2023-10-13	13:08:02	2569	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:02	2569	[DEBUG]	Processing product tax
2023-10-13	13:08:02	2569	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:02	2569	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:02	2569	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:02	2569	[DEBUG]	Query for Product
2023-10-13	13:08:02	2569	[DEBUG]	Executed store
2023-10-13	13:08:02	2569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862060','3701042149937','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:02	2569	[DEBUG]	No parent found
2023-10-13	13:08:02	2569	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862060 AND customfield_value = 'stockable'
2023-10-13	13:08:02	2569	[DEBUG]	Check product language entry
2023-10-13	13:08:02	2569	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862061
2023-10-13	13:08:02	2569	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:02	2569	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3701042149937' AND `virtuemart_product_id` != 1862061
2023-10-13	13:08:02	2569	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:02	2569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862061, '3701042149937')
2023-10-13	13:08:02	2569	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:02	2569	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'brake-authority-plaquettes-freins-authority-shimano-electrique-trp-t4-unique-unitaire' AND `virtuemart_product_id` != 1862061
2023-10-13	13:08:02	2569	[DEBUG]	Query for ProductLang
2023-10-13	13:08:02	2569	[DEBUG]	Executed store
2023-10-13	13:08:02	2569	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BRAKE AUTHORITY PLAQUETTES FREINS  AUTHORITY SHIMANO ELECTRIQUE TRP T4 / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='brake-authority-plaquettes-freins-authority-shimano-electrique-trp-t4-unique-unitaire' WHERE `virtuemart_product_id` = '1862061'
2023-10-13	13:08:02	2569	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34153_plaquettes_freins__authority_shimano_electrique_trp_t4.jpg
2023-10-13	13:08:02	2569	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:02	2569	[DEBUG]	Process image file
2023-10-13	13:08:02	2569	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:02	2569	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:02	2569	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34153_plaquettes_freins__authority_shimano_electrique_trp_t4.jpg
2023-10-13	13:08:02	2569	[DEBUG]	Full name target: bcprisme/34153_plaquettes_freins__authority_shimano_electrique_trp_t4.jpg
2023-10-13	13:08:03	2569	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:03	2569	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34153_plaquettes_freins__authority_shimano_electrique_trp_t4.jpg'
2023-10-13	13:08:03	2569	[DEBUG]	Query for Media
2023-10-13	13:08:03	2569	[DEBUG]	Executed store
2023-10-13	13:08:03	2569	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34153_plaquettes_freins__authority_shimano_electrique_trp_t4.jpg',`file_url_thumb`='bcprisme/34153_plaquettes_freins__authority_shimano_electrique_trp_t4.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17622'
2023-10-13	13:08:03	2569	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:03	2569	[DEBUG]	Executed store
2023-10-13	13:08:03	2569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862061','17622','1')
2023-10-13	13:08:03	2569	[DEBUG]	Store product image relation
2023-10-13	13:08:03	2569	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:03	2569	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862061 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:03	2569	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:03	2569	[DEBUG]	Executed store
2023-10-13	13:08:03	2569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862061','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:03	2569	[DEBUG]	Checking manufacturer
2023-10-13	13:08:03	2569	[DEBUG]	Load a row
2023-10-13	13:08:03	2569	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:03	2569	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:08:03	2569	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:03	2569	[DEBUG]	Executed store
2023-10-13	13:08:03	2569	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331209444664' WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:08:03	2569	[DEBUG]	Manufacturer exists
2023-10-13	13:08:03	2569	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 161
2023-10-13	13:08:03	2569	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:03	2569	[DEBUG]	Executed store
2023-10-13	13:08:03	2569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862061','161')
2023-10-13	13:08:03	2569	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:03	2569	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:03	2569	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862061 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:03	2569	[DEBUG]	Store custom available field
2023-10-13	13:08:03	2569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862061,3,'',1)
2023-10-13	13:08:03	2569	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:03	2569	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:08:03	2569	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862061 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:03	2569	[DEBUG]	Store custom available field
2023-10-13	13:08:03	2569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862061,6,'Unitaire',3)
2023-10-13	13:08:03	2569	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:03	2569	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:03	2569	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862060
2023-10-13	13:08:03	2569	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:03	2569	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862060\":[1862060,8,1,\"choisir la taille\"],\"1862061\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862060
2023-10-13	13:08:03	2569	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:03	2569	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862061
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:03	2570	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field taille
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:03	2570	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:03	2570	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:03	2570	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:03	2570	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:03	2570	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:03	2570	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field published
2023-10-13	13:08:03	2570	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:03	2570	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field override
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:03	2570	[DEBUG]	Use field value for field slug
2023-10-13	13:08:03	2570	[DEBUG]	Process line 2570
2023-10-13	13:08:03	2570	[DEBUG]	Load a row
2023-10-13	13:08:03	2570	[DEBUG]	Processing item: A_7103_1
2023-10-13	13:08:03	2570	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:03	2570	[DEBUG]	Processing product tax
2023-10-13	13:08:03	2570	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:03	2570	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:03	2570	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:03	2570	[DEBUG]	Query for Product
2023-10-13	13:08:03	2570	[DEBUG]	Executed store
2023-10-13	13:08:03	2570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7103_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:03	2570	[DEBUG]	Check product language entry
2023-10-13	13:08:03	2570	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862062
2023-10-13	13:08:03	2570	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:03	2570	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7103_1' AND `virtuemart_product_id` != 1862062
2023-10-13	13:08:03	2570	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:03	2570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862062, 'A_7103_1')
2023-10-13	13:08:03	2570	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:03	2570	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-pour-e-scooter-noir' AND `virtuemart_product_id` != 1862062
2023-10-13	13:08:03	2570	[DEBUG]	Query for ProductLang
2023-10-13	13:08:03	2570	[DEBUG]	Executed store
2023-10-13	13:08:03	2570	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. 40gr<br>N° art fourn : BP66ORG',`product_name`='MSC Plaquettes de freins pour E-Scooter / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-pour-e-scooter-noir' WHERE `virtuemart_product_id` = '1862062'
2023-10-13	13:08:03	2570	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34259_plaquettes_de_freins_pour_e-scooter.jpg
2023-10-13	13:08:03	2570	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:03	2570	[DEBUG]	Process image file
2023-10-13	13:08:03	2570	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:03	2570	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:03	2570	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34259_plaquettes_de_freins_pour_e-scooter.jpg
2023-10-13	13:08:03	2570	[DEBUG]	Full name target: bcprisme/34259_plaquettes_de_freins_pour_e-scooter.jpg
2023-10-13	13:08:04	2570	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:04	2570	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34259_plaquettes_de_freins_pour_e-scooter.jpg'
2023-10-13	13:08:04	2570	[DEBUG]	Query for Media
2023-10-13	13:08:04	2570	[DEBUG]	Executed store
2023-10-13	13:08:04	2570	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34259_plaquettes_de_freins_pour_e-scooter.jpg',`file_url_thumb`='bcprisme/34259_plaquettes_de_freins_pour_e-scooter.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '111470'
2023-10-13	13:08:04	2570	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:04	2570	[DEBUG]	Executed store
2023-10-13	13:08:04	2570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862062','111470','1')
2023-10-13	13:08:04	2570	[DEBUG]	Store product image relation
2023-10-13	13:08:04	2570	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:04	2570	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862062 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:04	2570	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:04	2570	[DEBUG]	Executed store
2023-10-13	13:08:04	2570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862062','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:04	2570	[DEBUG]	Checking manufacturer
2023-10-13	13:08:04	2570	[DEBUG]	Load a row
2023-10-13	13:08:04	2570	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:04	2570	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:04	2570	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:04	2570	[DEBUG]	Executed store
2023-10-13	13:08:04	2570	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:04	2570	[DEBUG]	Manufacturer exists
2023-10-13	13:08:04	2570	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:08:04	2570	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:04	2570	[DEBUG]	Executed store
2023-10-13	13:08:04	2570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862062','32')
2023-10-13	13:08:04	2570	[DEBUG]	Find the custom field ID
2023-10-13	13:08:04	2570	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:04	2570	[DEBUG]	No custom field ID found
2023-10-13	13:08:04	2570	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:04	2570	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:08:04	2570	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862062 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:04	2570	[DEBUG]	Store custom available field
2023-10-13	13:08:04	2570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862062,3,'16.8530555555556',1)
2023-10-13	13:08:04	2570	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:04	2570	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:04	2570	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862062 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:04	2570	[DEBUG]	Store custom available field
2023-10-13	13:08:04	2570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862062,6,'choisir la taille',3)
2023-10-13	13:08:04	2570	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:04	2570	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:04	2570	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:04	2570	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:04	2570	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862062 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:04	2570	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:04	2570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862062,8,1)
2023-10-13	13:08:04	2570	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:04	2570	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862062\":[1862062,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862062
2023-10-13	13:08:04	2570	[DEBUG]	Checking category
2023-10-13	13:08:04	2570	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:04	2570	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862062
2023-10-13	13:08:04	2570	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:04	2570	[DEBUG]	Executed store
2023-10-13	13:08:04	2570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862062','7345')
2023-10-13	13:08:04	2570	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:04	2570	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862062 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:04	2570	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:04	2570	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862062
2023-10-13	13:08:04	2571	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:04	2571	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:04	2571	[DEBUG]	Use field value for field taille
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:04	2571	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:04	2571	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:04	2571	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:04	2571	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:04	2571	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:04	2571	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:04	2571	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:04	2571	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:04	2571	[DEBUG]	Use field value for field published
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:04	2571	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field override
2023-10-13	13:08:04	2571	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:04	2571	[DEBUG]	Use field value for field slug
2023-10-13	13:08:04	2571	[DEBUG]	Process line 2571
2023-10-13	13:08:04	2571	[DEBUG]	Load a row
2023-10-13	13:08:04	2571	[DEBUG]	Processing item: 1000000117110
2023-10-13	13:08:04	2571	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:04	2571	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:04	2571	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7103_1'
2023-10-13	13:08:04	2571	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:04	2571	[DEBUG]	Processing product tax
2023-10-13	13:08:04	2571	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:04	2571	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:04	2571	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:04	2571	[DEBUG]	Query for Product
2023-10-13	13:08:04	2571	[DEBUG]	Executed store
2023-10-13	13:08:04	2571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862062','1000000117110','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:04	2571	[DEBUG]	No parent found
2023-10-13	13:08:04	2571	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862062 AND customfield_value = 'stockable'
2023-10-13	13:08:04	2571	[DEBUG]	Check product language entry
2023-10-13	13:08:04	2571	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862063
2023-10-13	13:08:04	2571	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:04	2571	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000117110' AND `virtuemart_product_id` != 1862063
2023-10-13	13:08:04	2571	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:04	2571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862063, '1000000117110')
2023-10-13	13:08:04	2571	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:04	2571	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-pour-e-scooter-noir-set' AND `virtuemart_product_id` != 1862063
2023-10-13	13:08:04	2571	[DEBUG]	Query for ProductLang
2023-10-13	13:08:04	2571	[DEBUG]	Executed store
2023-10-13	13:08:04	2571	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins pour E-Scooter / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-pour-e-scooter-noir-set' WHERE `virtuemart_product_id` = '1862063'
2023-10-13	13:08:04	2571	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34259_plaquettes_de_freins_pour_e-scooter.jpg
2023-10-13	13:08:04	2571	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:04	2571	[DEBUG]	Process image file
2023-10-13	13:08:04	2571	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:04	2571	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:04	2571	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34259_plaquettes_de_freins_pour_e-scooter.jpg
2023-10-13	13:08:04	2571	[DEBUG]	Full name target: bcprisme/34259_plaquettes_de_freins_pour_e-scooter.jpg
2023-10-13	13:08:05	2571	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:05	2571	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34259_plaquettes_de_freins_pour_e-scooter.jpg'
2023-10-13	13:08:05	2571	[DEBUG]	Query for Media
2023-10-13	13:08:05	2571	[DEBUG]	Executed store
2023-10-13	13:08:05	2571	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34259_plaquettes_de_freins_pour_e-scooter.jpg',`file_url_thumb`='bcprisme/34259_plaquettes_de_freins_pour_e-scooter.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '111470'
2023-10-13	13:08:05	2571	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:05	2571	[DEBUG]	Executed store
2023-10-13	13:08:05	2571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862063','111470','1')
2023-10-13	13:08:05	2571	[DEBUG]	Store product image relation
2023-10-13	13:08:05	2571	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:05	2571	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862063 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:05	2571	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:05	2571	[DEBUG]	Executed store
2023-10-13	13:08:05	2571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862063','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:05	2571	[DEBUG]	Checking manufacturer
2023-10-13	13:08:05	2571	[DEBUG]	Load a row
2023-10-13	13:08:05	2571	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:05	2571	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:05	2571	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:05	2571	[DEBUG]	Executed store
2023-10-13	13:08:05	2571	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:05	2571	[DEBUG]	Manufacturer exists
2023-10-13	13:08:05	2571	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:08:05	2571	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:05	2571	[DEBUG]	Executed store
2023-10-13	13:08:05	2571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862063','32')
2023-10-13	13:08:05	2571	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:05	2571	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:05	2571	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862063 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:05	2571	[DEBUG]	Store custom available field
2023-10-13	13:08:05	2571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862063,3,'',1)
2023-10-13	13:08:05	2571	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:05	2571	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:08:05	2571	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862063 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:05	2571	[DEBUG]	Store custom available field
2023-10-13	13:08:05	2571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862063,6,'Set',3)
2023-10-13	13:08:05	2571	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:05	2571	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:05	2571	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862062
2023-10-13	13:08:05	2571	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:05	2571	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862062\":[1862062,8,1,\"choisir la taille\"],\"1862063\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862062
2023-10-13	13:08:05	2571	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:05	2571	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862063
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:05	2572	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field taille
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:05	2572	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:05	2572	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:05	2572	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:05	2572	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:05	2572	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:05	2572	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field published
2023-10-13	13:08:05	2572	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:05	2572	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field override
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:05	2572	[DEBUG]	Use field value for field slug
2023-10-13	13:08:05	2572	[DEBUG]	Process line 2572
2023-10-13	13:08:05	2572	[DEBUG]	Load a row
2023-10-13	13:08:05	2572	[DEBUG]	Processing item: A_7107_1
2023-10-13	13:08:05	2572	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:05	2572	[DEBUG]	Processing product tax
2023-10-13	13:08:05	2572	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:05	2572	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:05	2572	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:05	2572	[DEBUG]	Query for Product
2023-10-13	13:08:05	2572	[DEBUG]	Executed store
2023-10-13	13:08:05	2572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7107_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:05	2572	[DEBUG]	Check product language entry
2023-10-13	13:08:05	2572	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862064
2023-10-13	13:08:05	2572	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:05	2572	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7107_1' AND `virtuemart_product_id` != 1862064
2023-10-13	13:08:05	2572	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:05	2572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862064, 'A_7107_1')
2023-10-13	13:08:05	2572	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:05	2572	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-semi-metallique-e-bike-compatible-cloud-shimano-tektro-giant-root-noir' AND `virtuemart_product_id` != 1862064
2023-10-13	13:08:05	2572	[DEBUG]	Query for ProductLang
2023-10-13	13:08:05	2572	[DEBUG]	Executed store
2023-10-13	13:08:05	2572	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. 40gr<br>N° art fourn : BP-10-SP-10',`product_name`='MSC Plaquettes de freins semi-métallique E-bike compatible CLOUD Shimano, Tektro, Giant Root / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-semi-metallique-e-bike-compatible-cloud-shimano-tektro-giant-root-noir' WHERE `virtuemart_product_id` = '1862064'
2023-10-13	13:08:05	2572	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34263_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano,_tektro,_giant_root.jpg
2023-10-13	13:08:05	2572	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:05	2572	[DEBUG]	Process image file
2023-10-13	13:08:05	2572	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:05	2572	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:05	2572	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34263_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano,_tektro,_giant_root.jpg
2023-10-13	13:08:05	2572	[DEBUG]	Full name target: bcprisme/34263_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano,_tektro,_giant_root.jpg
2023-10-13	13:08:06	2572	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:06	2572	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34263_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano,_tektro,_giant_root.jpg'
2023-10-13	13:08:06	2572	[DEBUG]	Query for Media
2023-10-13	13:08:06	2572	[DEBUG]	Executed store
2023-10-13	13:08:06	2572	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34263_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano,_tektro,_giant_root.jpg',`file_url_thumb`='bcprisme/34263_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano,_tektro,_giant_root.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '111472'
2023-10-13	13:08:06	2572	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:06	2572	[DEBUG]	Executed store
2023-10-13	13:08:06	2572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862064','111472','1')
2023-10-13	13:08:06	2572	[DEBUG]	Store product image relation
2023-10-13	13:08:06	2572	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:06	2572	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862064 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:06	2572	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:06	2572	[DEBUG]	Executed store
2023-10-13	13:08:06	2572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862064','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:06	2572	[DEBUG]	Checking manufacturer
2023-10-13	13:08:06	2572	[DEBUG]	Load a row
2023-10-13	13:08:06	2572	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:06	2572	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:06	2572	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:06	2572	[DEBUG]	Executed store
2023-10-13	13:08:06	2572	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:06	2572	[DEBUG]	Manufacturer exists
2023-10-13	13:08:06	2572	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:08:06	2572	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:06	2572	[DEBUG]	Executed store
2023-10-13	13:08:06	2572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862064','32')
2023-10-13	13:08:06	2572	[DEBUG]	Find the custom field ID
2023-10-13	13:08:06	2572	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:06	2572	[DEBUG]	No custom field ID found
2023-10-13	13:08:06	2572	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:06	2572	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:08:06	2572	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862064 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:06	2572	[DEBUG]	Store custom available field
2023-10-13	13:08:06	2572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862064,3,'16.8530555555556',1)
2023-10-13	13:08:06	2572	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:06	2572	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:06	2572	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862064 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:06	2572	[DEBUG]	Store custom available field
2023-10-13	13:08:06	2572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862064,6,'choisir la taille',3)
2023-10-13	13:08:06	2572	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:06	2572	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:06	2572	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:06	2572	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:06	2572	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862064 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:06	2572	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:06	2572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862064,8,1)
2023-10-13	13:08:06	2572	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:06	2572	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862064\":[1862064,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862064
2023-10-13	13:08:06	2572	[DEBUG]	Checking category
2023-10-13	13:08:06	2572	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:06	2572	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862064
2023-10-13	13:08:06	2572	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:06	2572	[DEBUG]	Executed store
2023-10-13	13:08:06	2572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862064','7345')
2023-10-13	13:08:06	2572	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:06	2572	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862064 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:06	2572	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:06	2572	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862064
2023-10-13	13:08:06	2573	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:06	2573	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:06	2573	[DEBUG]	Use field value for field taille
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:06	2573	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:06	2573	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:06	2573	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:06	2573	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:06	2573	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:06	2573	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:06	2573	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:06	2573	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:06	2573	[DEBUG]	Use field value for field published
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:06	2573	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field override
2023-10-13	13:08:06	2573	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:06	2573	[DEBUG]	Use field value for field slug
2023-10-13	13:08:06	2573	[DEBUG]	Process line 2573
2023-10-13	13:08:06	2573	[DEBUG]	Load a row
2023-10-13	13:08:06	2573	[DEBUG]	Processing item: 1000000117158
2023-10-13	13:08:06	2573	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:06	2573	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:06	2573	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7107_1'
2023-10-13	13:08:06	2573	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:06	2573	[DEBUG]	Processing product tax
2023-10-13	13:08:06	2573	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:06	2573	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:06	2573	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:06	2573	[DEBUG]	Query for Product
2023-10-13	13:08:07	2573	[DEBUG]	Executed store
2023-10-13	13:08:07	2573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862064','1000000117158','0','KG','M','','14','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:07	2573	[DEBUG]	No parent found
2023-10-13	13:08:07	2573	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862064 AND customfield_value = 'stockable'
2023-10-13	13:08:07	2573	[DEBUG]	Check product language entry
2023-10-13	13:08:07	2573	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862065
2023-10-13	13:08:07	2573	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:07	2573	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000117158' AND `virtuemart_product_id` != 1862065
2023-10-13	13:08:07	2573	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:07	2573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862065, '1000000117158')
2023-10-13	13:08:07	2573	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:07	2573	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-semi-metallique-e-bike-compatible-cloud-shimano-tektro-giant-root-noir-set' AND `virtuemart_product_id` != 1862065
2023-10-13	13:08:07	2573	[DEBUG]	Query for ProductLang
2023-10-13	13:08:07	2573	[DEBUG]	Executed store
2023-10-13	13:08:07	2573	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins semi-métallique E-bike compatible CLOUD Shimano, Tektro, Giant Root / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-semi-metallique-e-bike-compatible-cloud-shimano-tektro-giant-root-noir-set' WHERE `virtuemart_product_id` = '1862065'
2023-10-13	13:08:07	2573	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34263_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano,_tektro,_giant_root.jpg
2023-10-13	13:08:07	2573	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:07	2573	[DEBUG]	Process image file
2023-10-13	13:08:07	2573	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:07	2573	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:07	2573	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34263_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano,_tektro,_giant_root.jpg
2023-10-13	13:08:07	2573	[DEBUG]	Full name target: bcprisme/34263_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano,_tektro,_giant_root.jpg
2023-10-13	13:08:07	2573	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:07	2573	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34263_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano,_tektro,_giant_root.jpg'
2023-10-13	13:08:07	2573	[DEBUG]	Query for Media
2023-10-13	13:08:07	2573	[DEBUG]	Executed store
2023-10-13	13:08:07	2573	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34263_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano,_tektro,_giant_root.jpg',`file_url_thumb`='bcprisme/34263_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano,_tektro,_giant_root.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '111472'
2023-10-13	13:08:07	2573	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:07	2573	[DEBUG]	Executed store
2023-10-13	13:08:07	2573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862065','111472','1')
2023-10-13	13:08:07	2573	[DEBUG]	Store product image relation
2023-10-13	13:08:07	2573	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:07	2573	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862065 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:07	2573	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:07	2573	[DEBUG]	Executed store
2023-10-13	13:08:07	2573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862065','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:07	2573	[DEBUG]	Checking manufacturer
2023-10-13	13:08:07	2573	[DEBUG]	Load a row
2023-10-13	13:08:07	2573	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:07	2573	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:07	2573	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:07	2573	[DEBUG]	Executed store
2023-10-13	13:08:07	2573	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:07	2573	[DEBUG]	Manufacturer exists
2023-10-13	13:08:07	2573	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:08:07	2573	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:07	2573	[DEBUG]	Executed store
2023-10-13	13:08:07	2573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862065','32')
2023-10-13	13:08:07	2573	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:07	2573	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:07	2573	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862065 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:07	2573	[DEBUG]	Store custom available field
2023-10-13	13:08:07	2573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862065,3,'',1)
2023-10-13	13:08:07	2573	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:07	2573	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:08:07	2573	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862065 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:07	2573	[DEBUG]	Store custom available field
2023-10-13	13:08:07	2573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862065,6,'Set',3)
2023-10-13	13:08:07	2573	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:07	2573	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:07	2573	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862064
2023-10-13	13:08:07	2573	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:07	2573	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862064\":[1862064,8,1,\"choisir la taille\"],\"1862065\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862064
2023-10-13	13:08:07	2573	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:07	2573	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862065
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:07	2574	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field taille
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:07	2574	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:07	2574	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:07	2574	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:07	2574	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:07	2574	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:07	2574	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:07	2574	[DEBUG]	Use field value for field published
2023-10-13	13:08:07	2574	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:08	2574	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:08	2574	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:08	2574	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:08	2574	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:08	2574	[DEBUG]	Use field value for field override
2023-10-13	13:08:08	2574	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:08	2574	[DEBUG]	Use field value for field slug
2023-10-13	13:08:08	2574	[DEBUG]	Process line 2574
2023-10-13	13:08:08	2574	[DEBUG]	Load a row
2023-10-13	13:08:08	2574	[DEBUG]	Processing item: A_7108_1
2023-10-13	13:08:08	2574	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:08	2574	[DEBUG]	Processing product tax
2023-10-13	13:08:08	2574	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:08	2574	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:08	2574	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:08	2574	[DEBUG]	Query for Product
2023-10-13	13:08:08	2574	[DEBUG]	Executed store
2023-10-13	13:08:08	2574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7108_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:08	2574	[DEBUG]	Check product language entry
2023-10-13	13:08:08	2574	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862066
2023-10-13	13:08:08	2574	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:08	2574	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7108_1' AND `virtuemart_product_id` != 1862066
2023-10-13	13:08:08	2574	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:08	2574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862066, 'A_7108_1')
2023-10-13	13:08:08	2574	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:08	2574	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-semi-metallique-e-bike-compatible-cloud-shimano-noir' AND `virtuemart_product_id` != 1862066
2023-10-13	13:08:08	2574	[DEBUG]	Query for ProductLang
2023-10-13	13:08:08	2574	[DEBUG]	Executed store
2023-10-13	13:08:08	2574	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. 40gr<br>N° art fourn : BP-52-SP-10',`product_name`='MSC Plaquettes de freins semi-métallique E-bike compatible CLOUD Shimano / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-semi-metallique-e-bike-compatible-cloud-shimano-noir' WHERE `virtuemart_product_id` = '1862066'
2023-10-13	13:08:08	2574	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34264_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano.jpg
2023-10-13	13:08:08	2574	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:08	2574	[DEBUG]	Process image file
2023-10-13	13:08:08	2574	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:08	2574	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:08	2574	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34264_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano.jpg
2023-10-13	13:08:08	2574	[DEBUG]	Full name target: bcprisme/34264_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano.jpg
2023-10-13	13:08:08	2574	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:08	2574	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34264_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano.jpg'
2023-10-13	13:08:08	2574	[DEBUG]	Query for Media
2023-10-13	13:08:08	2574	[DEBUG]	Executed store
2023-10-13	13:08:08	2574	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34264_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano.jpg',`file_url_thumb`='bcprisme/34264_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '111474'
2023-10-13	13:08:08	2574	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:08	2574	[DEBUG]	Executed store
2023-10-13	13:08:08	2574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862066','111474','1')
2023-10-13	13:08:08	2574	[DEBUG]	Store product image relation
2023-10-13	13:08:08	2574	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:08	2574	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862066 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:08	2574	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:08	2574	[DEBUG]	Executed store
2023-10-13	13:08:08	2574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862066','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:08	2574	[DEBUG]	Checking manufacturer
2023-10-13	13:08:08	2574	[DEBUG]	Load a row
2023-10-13	13:08:08	2574	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:08	2574	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:08	2574	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:08	2574	[DEBUG]	Executed store
2023-10-13	13:08:08	2574	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:08	2574	[DEBUG]	Manufacturer exists
2023-10-13	13:08:08	2574	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:08:08	2574	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:08	2574	[DEBUG]	Executed store
2023-10-13	13:08:08	2574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862066','32')
2023-10-13	13:08:08	2574	[DEBUG]	Find the custom field ID
2023-10-13	13:08:08	2574	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:08	2574	[DEBUG]	No custom field ID found
2023-10-13	13:08:08	2574	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:08	2574	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:08:08	2574	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862066 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:08	2574	[DEBUG]	Store custom available field
2023-10-13	13:08:09	2574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862066,3,'16.8530555555556',1)
2023-10-13	13:08:09	2574	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:09	2574	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:09	2574	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862066 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:09	2574	[DEBUG]	Store custom available field
2023-10-13	13:08:09	2574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862066,6,'choisir la taille',3)
2023-10-13	13:08:09	2574	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:09	2574	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:09	2574	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:09	2574	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:09	2574	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862066 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:09	2574	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:09	2574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862066,8,1)
2023-10-13	13:08:09	2574	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:09	2574	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862066\":[1862066,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862066
2023-10-13	13:08:09	2574	[DEBUG]	Checking category
2023-10-13	13:08:09	2574	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:09	2574	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862066
2023-10-13	13:08:09	2574	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:09	2574	[DEBUG]	Executed store
2023-10-13	13:08:09	2574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862066','7345')
2023-10-13	13:08:09	2574	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:09	2574	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862066 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:09	2574	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:09	2574	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862066
2023-10-13	13:08:09	2575	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:09	2575	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:09	2575	[DEBUG]	Use field value for field taille
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:09	2575	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:09	2575	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:09	2575	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:09	2575	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:09	2575	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:09	2575	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:09	2575	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:09	2575	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:09	2575	[DEBUG]	Use field value for field published
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:09	2575	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field override
2023-10-13	13:08:09	2575	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:09	2575	[DEBUG]	Use field value for field slug
2023-10-13	13:08:09	2575	[DEBUG]	Process line 2575
2023-10-13	13:08:09	2575	[DEBUG]	Load a row
2023-10-13	13:08:09	2575	[DEBUG]	Processing item: 1000000117165
2023-10-13	13:08:09	2575	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:09	2575	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:09	2575	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7108_1'
2023-10-13	13:08:09	2575	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:09	2575	[DEBUG]	Processing product tax
2023-10-13	13:08:09	2575	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:09	2575	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:09	2575	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:09	2575	[DEBUG]	Query for Product
2023-10-13	13:08:09	2575	[DEBUG]	Executed store
2023-10-13	13:08:09	2575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862066','1000000117165','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:09	2575	[DEBUG]	No parent found
2023-10-13	13:08:09	2575	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862066 AND customfield_value = 'stockable'
2023-10-13	13:08:09	2575	[DEBUG]	Check product language entry
2023-10-13	13:08:09	2575	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862067
2023-10-13	13:08:09	2575	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:09	2575	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000117165' AND `virtuemart_product_id` != 1862067
2023-10-13	13:08:09	2575	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:09	2575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862067, '1000000117165')
2023-10-13	13:08:09	2575	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:09	2575	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-semi-metallique-e-bike-compatible-cloud-shimano-noir-set' AND `virtuemart_product_id` != 1862067
2023-10-13	13:08:09	2575	[DEBUG]	Query for ProductLang
2023-10-13	13:08:09	2575	[DEBUG]	Executed store
2023-10-13	13:08:09	2575	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins semi-métallique E-bike compatible CLOUD Shimano / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-semi-metallique-e-bike-compatible-cloud-shimano-noir-set' WHERE `virtuemart_product_id` = '1862067'
2023-10-13	13:08:09	2575	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34264_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano.jpg
2023-10-13	13:08:09	2575	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:09	2575	[DEBUG]	Process image file
2023-10-13	13:08:09	2575	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:09	2575	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:09	2575	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34264_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano.jpg
2023-10-13	13:08:09	2575	[DEBUG]	Full name target: bcprisme/34264_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano.jpg
2023-10-13	13:08:09	2575	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:09	2575	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34264_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano.jpg'
2023-10-13	13:08:09	2575	[DEBUG]	Query for Media
2023-10-13	13:08:09	2575	[DEBUG]	Executed store
2023-10-13	13:08:09	2575	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34264_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano.jpg',`file_url_thumb`='bcprisme/34264_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_shimano.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '111474'
2023-10-13	13:08:09	2575	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:09	2575	[DEBUG]	Executed store
2023-10-13	13:08:09	2575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862067','111474','1')
2023-10-13	13:08:09	2575	[DEBUG]	Store product image relation
2023-10-13	13:08:09	2575	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:09	2575	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862067 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:09	2575	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:09	2575	[DEBUG]	Executed store
2023-10-13	13:08:09	2575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862067','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:09	2575	[DEBUG]	Checking manufacturer
2023-10-13	13:08:10	2575	[DEBUG]	Load a row
2023-10-13	13:08:10	2575	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:10	2575	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:10	2575	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:10	2575	[DEBUG]	Executed store
2023-10-13	13:08:10	2575	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:10	2575	[DEBUG]	Manufacturer exists
2023-10-13	13:08:10	2575	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:08:10	2575	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:10	2575	[DEBUG]	Executed store
2023-10-13	13:08:10	2575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862067','32')
2023-10-13	13:08:10	2575	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:10	2575	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:10	2575	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862067 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:10	2575	[DEBUG]	Store custom available field
2023-10-13	13:08:10	2575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862067,3,'',1)
2023-10-13	13:08:10	2575	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:10	2575	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:08:10	2575	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862067 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:10	2575	[DEBUG]	Store custom available field
2023-10-13	13:08:10	2575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862067,6,'Set',3)
2023-10-13	13:08:10	2575	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:10	2575	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:10	2575	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862066
2023-10-13	13:08:10	2575	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:10	2575	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862066\":[1862066,8,1,\"choisir la taille\"],\"1862067\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862066
2023-10-13	13:08:10	2575	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:10	2575	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862067
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:10	2576	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field taille
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:10	2576	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:10	2576	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:10	2576	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:10	2576	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:10	2576	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:10	2576	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field published
2023-10-13	13:08:10	2576	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:10	2576	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field override
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:10	2576	[DEBUG]	Use field value for field slug
2023-10-13	13:08:10	2576	[DEBUG]	Process line 2576
2023-10-13	13:08:10	2576	[DEBUG]	Load a row
2023-10-13	13:08:10	2576	[DEBUG]	Processing item: A_7109_1
2023-10-13	13:08:10	2576	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:10	2576	[DEBUG]	Processing product tax
2023-10-13	13:08:10	2576	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:10	2576	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:10	2576	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:10	2576	[DEBUG]	Query for Product
2023-10-13	13:08:10	2576	[DEBUG]	Executed store
2023-10-13	13:08:10	2576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7109_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:10	2576	[DEBUG]	Check product language entry
2023-10-13	13:08:10	2576	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862068
2023-10-13	13:08:10	2576	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:10	2576	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7109_1' AND `virtuemart_product_id` != 1862068
2023-10-13	13:08:10	2576	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:10	2576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862068, 'A_7109_1')
2023-10-13	13:08:10	2576	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:10	2576	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-semi-metallique-e-bike-compatible-cloud-avid-x0-trail-sram-guide-noir' AND `virtuemart_product_id` != 1862068
2023-10-13	13:08:10	2576	[DEBUG]	Query for ProductLang
2023-10-13	13:08:10	2576	[DEBUG]	Executed store
2023-10-13	13:08:10	2576	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. 40gr<br>N° art fourn : BP-57-SP-57',`product_name`='MSC Plaquettes de freins semi-métallique E-bike compatible CLOUD Avid X0 trail, Sram Guide / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-semi-metallique-e-bike-compatible-cloud-avid-x0-trail-sram-guide-noir' WHERE `virtuemart_product_id` = '1862068'
2023-10-13	13:08:10	2576	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34265_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_avid_x0_trail,_sram_guide.jpg
2023-10-13	13:08:10	2576	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:10	2576	[DEBUG]	Process image file
2023-10-13	13:08:10	2576	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:10	2576	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:10	2576	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34265_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_avid_x0_trail,_sram_guide.jpg
2023-10-13	13:08:10	2576	[DEBUG]	Full name target: bcprisme/34265_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_avid_x0_trail,_sram_guide.jpg
2023-10-13	13:08:11	2576	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:11	2576	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34265_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_avid_x0_trail,_sram_guide.jpg'
2023-10-13	13:08:11	2576	[DEBUG]	Query for Media
2023-10-13	13:08:11	2576	[DEBUG]	Executed store
2023-10-13	13:08:11	2576	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34265_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_avid_x0_trail,_sram_guide.jpg',`file_url_thumb`='bcprisme/34265_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_avid_x0_trail,_sram_guide.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '111476'
2023-10-13	13:08:11	2576	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:11	2576	[DEBUG]	Executed store
2023-10-13	13:08:11	2576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862068','111476','1')
2023-10-13	13:08:11	2576	[DEBUG]	Store product image relation
2023-10-13	13:08:11	2576	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:11	2576	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862068 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:11	2576	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:11	2576	[DEBUG]	Executed store
2023-10-13	13:08:11	2576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862068','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:11	2576	[DEBUG]	Checking manufacturer
2023-10-13	13:08:11	2576	[DEBUG]	Load a row
2023-10-13	13:08:11	2576	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:11	2576	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:11	2576	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:11	2576	[DEBUG]	Executed store
2023-10-13	13:08:11	2576	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:11	2576	[DEBUG]	Manufacturer exists
2023-10-13	13:08:11	2576	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:08:11	2576	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:11	2576	[DEBUG]	Executed store
2023-10-13	13:08:11	2576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862068','32')
2023-10-13	13:08:11	2576	[DEBUG]	Find the custom field ID
2023-10-13	13:08:11	2576	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:11	2576	[DEBUG]	No custom field ID found
2023-10-13	13:08:11	2576	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:11	2576	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:08:11	2576	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862068 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:11	2576	[DEBUG]	Store custom available field
2023-10-13	13:08:11	2576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862068,3,'16.8530555555556',1)
2023-10-13	13:08:11	2576	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:11	2576	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:11	2576	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862068 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:11	2576	[DEBUG]	Store custom available field
2023-10-13	13:08:11	2576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862068,6,'choisir la taille',3)
2023-10-13	13:08:11	2576	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:11	2576	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:11	2576	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:11	2576	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:11	2576	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862068 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:11	2576	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:11	2576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862068,8,1)
2023-10-13	13:08:11	2576	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:11	2576	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862068\":[1862068,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862068
2023-10-13	13:08:11	2576	[DEBUG]	Checking category
2023-10-13	13:08:11	2576	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:11	2576	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862068
2023-10-13	13:08:11	2576	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:11	2576	[DEBUG]	Executed store
2023-10-13	13:08:11	2576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862068','7345')
2023-10-13	13:08:11	2576	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:11	2576	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862068 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:11	2576	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:11	2576	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862068
2023-10-13	13:08:11	2577	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:11	2577	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:11	2577	[DEBUG]	Use field value for field taille
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:11	2577	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:11	2577	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:11	2577	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:11	2577	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:11	2577	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:11	2577	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:11	2577	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:11	2577	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:11	2577	[DEBUG]	Use field value for field published
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:11	2577	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field override
2023-10-13	13:08:11	2577	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:11	2577	[DEBUG]	Use field value for field slug
2023-10-13	13:08:11	2577	[DEBUG]	Process line 2577
2023-10-13	13:08:11	2577	[DEBUG]	Load a row
2023-10-13	13:08:11	2577	[DEBUG]	Processing item: 1000000117172
2023-10-13	13:08:11	2577	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:11	2577	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:11	2577	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7109_1'
2023-10-13	13:08:11	2577	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:11	2577	[DEBUG]	Processing product tax
2023-10-13	13:08:11	2577	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:11	2577	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:11	2577	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:11	2577	[DEBUG]	Query for Product
2023-10-13	13:08:11	2577	[DEBUG]	Executed store
2023-10-13	13:08:11	2577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862068','1000000117172','0','KG','M','','10','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:11	2577	[DEBUG]	No parent found
2023-10-13	13:08:11	2577	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862068 AND customfield_value = 'stockable'
2023-10-13	13:08:11	2577	[DEBUG]	Check product language entry
2023-10-13	13:08:11	2577	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862069
2023-10-13	13:08:11	2577	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:11	2577	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000117172' AND `virtuemart_product_id` != 1862069
2023-10-13	13:08:11	2577	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:11	2577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862069, '1000000117172')
2023-10-13	13:08:11	2577	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:11	2577	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-semi-metallique-e-bike-compatible-cloud-avid-x0-trail-sram-guide-noir-set' AND `virtuemart_product_id` != 1862069
2023-10-13	13:08:11	2577	[DEBUG]	Query for ProductLang
2023-10-13	13:08:11	2577	[DEBUG]	Executed store
2023-10-13	13:08:11	2577	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins semi-métallique E-bike compatible CLOUD Avid X0 trail, Sram Guide / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-semi-metallique-e-bike-compatible-cloud-avid-x0-trail-sram-guide-noir-set' WHERE `virtuemart_product_id` = '1862069'
2023-10-13	13:08:11	2577	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34265_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_avid_x0_trail,_sram_guide.jpg
2023-10-13	13:08:11	2577	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:11	2577	[DEBUG]	Process image file
2023-10-13	13:08:11	2577	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:11	2577	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:11	2577	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34265_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_avid_x0_trail,_sram_guide.jpg
2023-10-13	13:08:11	2577	[DEBUG]	Full name target: bcprisme/34265_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_avid_x0_trail,_sram_guide.jpg
2023-10-13	13:08:12	2577	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:12	2577	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34265_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_avid_x0_trail,_sram_guide.jpg'
2023-10-13	13:08:12	2577	[DEBUG]	Query for Media
2023-10-13	13:08:12	2577	[DEBUG]	Executed store
2023-10-13	13:08:12	2577	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34265_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_avid_x0_trail,_sram_guide.jpg',`file_url_thumb`='bcprisme/34265_plaquettes_de_freins_semi-metallique_e-bike_compatible_cloud_avid_x0_trail,_sram_guide.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '111476'
2023-10-13	13:08:12	2577	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:12	2577	[DEBUG]	Executed store
2023-10-13	13:08:12	2577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862069','111476','1')
2023-10-13	13:08:12	2577	[DEBUG]	Store product image relation
2023-10-13	13:08:12	2577	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:12	2577	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862069 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:12	2577	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:12	2577	[DEBUG]	Executed store
2023-10-13	13:08:12	2577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862069','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:12	2577	[DEBUG]	Checking manufacturer
2023-10-13	13:08:12	2577	[DEBUG]	Load a row
2023-10-13	13:08:12	2577	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:12	2577	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:12	2577	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:12	2577	[DEBUG]	Executed store
2023-10-13	13:08:12	2577	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:12	2577	[DEBUG]	Manufacturer exists
2023-10-13	13:08:12	2577	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:08:12	2577	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:12	2577	[DEBUG]	Executed store
2023-10-13	13:08:12	2577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862069','32')
2023-10-13	13:08:12	2577	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:12	2577	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:12	2577	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862069 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:12	2577	[DEBUG]	Store custom available field
2023-10-13	13:08:12	2577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862069,3,'',1)
2023-10-13	13:08:12	2577	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:12	2577	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:08:12	2577	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862069 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:12	2577	[DEBUG]	Store custom available field
2023-10-13	13:08:12	2577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862069,6,'Set',3)
2023-10-13	13:08:12	2577	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:12	2577	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:12	2577	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862068
2023-10-13	13:08:12	2577	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:12	2577	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862068\":[1862068,8,1,\"choisir la taille\"],\"1862069\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862068
2023-10-13	13:08:12	2577	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:12	2577	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862069
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:12	2578	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field taille
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:12	2578	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:12	2578	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:12	2578	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:12	2578	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:12	2578	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:12	2578	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field published
2023-10-13	13:08:12	2578	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:12	2578	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field override
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:12	2578	[DEBUG]	Use field value for field slug
2023-10-13	13:08:12	2578	[DEBUG]	Process line 2578
2023-10-13	13:08:12	2578	[DEBUG]	Load a row
2023-10-13	13:08:12	2578	[DEBUG]	Processing item: A_7314_208
2023-10-13	13:08:12	2578	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:12	2578	[DEBUG]	Processing product tax
2023-10-13	13:08:12	2578	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:12	2578	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:12	2578	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:12	2578	[DEBUG]	Query for Product
2023-10-13	13:08:12	2578	[DEBUG]	Executed store
2023-10-13	13:08:12	2578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7314_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:12	2578	[DEBUG]	Check product language entry
2023-10-13	13:08:12	2578	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862070
2023-10-13	13:08:12	2578	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:12	2578	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7314_208' AND `virtuemart_product_id` != 1862070
2023-10-13	13:08:12	2578	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:12	2578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862070, 'A_7314_208')
2023-10-13	13:08:12	2578	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:12	2578	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-route-k02ti-resin-avec-ressort-et-goupille-fendue-paires-aucune' AND `virtuemart_product_id` != 1862070
2023-10-13	13:08:12	2578	[DEBUG]	Query for ProductLang
2023-10-13	13:08:12	2578	[DEBUG]	Executed store
2023-10-13	13:08:12	2578	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.69523',`product_name`='SHIMANO plaquettes Route K02TI résin avec ressort et goupille fendue paires / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-route-k02ti-resin-avec-ressort-et-goupille-fendue-paires-aucune' WHERE `virtuemart_product_id` = '1862070'
2023-10-13	13:08:12	2578	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_65235_005.jpg
2023-10-13	13:08:12	2578	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:12	2578	[DEBUG]	Process image file
2023-10-13	13:08:12	2578	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:12	2578	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:12	2578	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_65235_005.jpg
2023-10-13	13:08:12	2578	[DEBUG]	Full name target: bcprisme/73_65235_005.jpg
2023-10-13	13:08:13	2578	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:13	2578	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_65235_005.jpg'
2023-10-13	13:08:13	2578	[DEBUG]	Query for Media
2023-10-13	13:08:13	2578	[DEBUG]	Executed store
2023-10-13	13:08:13	2578	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_65235_005.jpg',`file_url_thumb`='bcprisme/73_65235_005.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '158687'
2023-10-13	13:08:13	2578	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:13	2578	[DEBUG]	Executed store
2023-10-13	13:08:13	2578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862070','158687','1')
2023-10-13	13:08:13	2578	[DEBUG]	Store product image relation
2023-10-13	13:08:13	2578	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:13	2578	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862070 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:13	2578	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:13	2578	[DEBUG]	Executed store
2023-10-13	13:08:13	2578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862070','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:13	2578	[DEBUG]	Checking manufacturer
2023-10-13	13:08:13	2578	[DEBUG]	Load a row
2023-10-13	13:08:13	2578	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:13	2578	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:13	2578	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:13	2578	[DEBUG]	Executed store
2023-10-13	13:08:13	2578	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:13	2578	[DEBUG]	Manufacturer exists
2023-10-13	13:08:13	2578	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:08:13	2578	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:13	2578	[DEBUG]	Executed store
2023-10-13	13:08:13	2578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862070','26')
2023-10-13	13:08:13	2578	[DEBUG]	Find the custom field ID
2023-10-13	13:08:13	2578	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:13	2578	[DEBUG]	No custom field ID found
2023-10-13	13:08:13	2578	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:13	2578	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:08:13	2578	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862070 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:13	2578	[DEBUG]	Store custom available field
2023-10-13	13:08:13	2578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862070,3,'0',1)
2023-10-13	13:08:13	2578	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:13	2578	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:13	2578	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862070 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:13	2578	[DEBUG]	Store custom available field
2023-10-13	13:08:13	2578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862070,6,'choisir la taille',3)
2023-10-13	13:08:13	2578	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:13	2578	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:13	2578	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:13	2578	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:13	2578	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862070 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:13	2578	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:13	2578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862070,8,1)
2023-10-13	13:08:13	2578	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:13	2578	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862070\":[1862070,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862070
2023-10-13	13:08:13	2578	[DEBUG]	Checking category
2023-10-13	13:08:13	2578	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:13	2578	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862070
2023-10-13	13:08:13	2578	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:13	2578	[DEBUG]	Executed store
2023-10-13	13:08:13	2578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862070','7345')
2023-10-13	13:08:13	2578	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:13	2578	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862070 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:13	2578	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:13	2578	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862070
2023-10-13	13:08:13	2579	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:13	2579	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:13	2579	[DEBUG]	Use field value for field taille
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:13	2579	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:13	2579	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:13	2579	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:13	2579	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:13	2579	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:13	2579	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:13	2579	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:13	2579	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:13	2579	[DEBUG]	Use field value for field published
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:13	2579	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field override
2023-10-13	13:08:13	2579	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:13	2579	[DEBUG]	Use field value for field slug
2023-10-13	13:08:13	2579	[DEBUG]	Process line 2579
2023-10-13	13:08:13	2579	[DEBUG]	Load a row
2023-10-13	13:08:13	2579	[DEBUG]	Processing item: 4524667694663
2023-10-13	13:08:13	2579	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:13	2579	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:13	2579	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7314_208'
2023-10-13	13:08:13	2579	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:13	2579	[DEBUG]	Processing product tax
2023-10-13	13:08:13	2579	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:13	2579	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:13	2579	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:13	2579	[DEBUG]	Query for Product
2023-10-13	13:08:13	2579	[DEBUG]	Executed store
2023-10-13	13:08:13	2579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862070','4524667694663','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:13	2579	[DEBUG]	No parent found
2023-10-13	13:08:13	2579	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862070 AND customfield_value = 'stockable'
2023-10-13	13:08:13	2579	[DEBUG]	Check product language entry
2023-10-13	13:08:13	2579	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862071
2023-10-13	13:08:13	2579	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:13	2579	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667694663' AND `virtuemart_product_id` != 1862071
2023-10-13	13:08:13	2579	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:13	2579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862071, '4524667694663')
2023-10-13	13:08:13	2579	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:13	2579	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-route-k02ti-resin-avec-ressort-et-goupille-fendue-paires-aucune-unitaire' AND `virtuemart_product_id` != 1862071
2023-10-13	13:08:13	2579	[DEBUG]	Query for ProductLang
2023-10-13	13:08:13	2579	[DEBUG]	Executed store
2023-10-13	13:08:13	2579	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO plaquettes Route K02TI résin avec ressort et goupille fendue paires / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-route-k02ti-resin-avec-ressort-et-goupille-fendue-paires-aucune-unitaire' WHERE `virtuemart_product_id` = '1862071'
2023-10-13	13:08:13	2579	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_65235_005.jpg
2023-10-13	13:08:13	2579	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:13	2579	[DEBUG]	Process image file
2023-10-13	13:08:13	2579	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:13	2579	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:13	2579	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_65235_005.jpg
2023-10-13	13:08:13	2579	[DEBUG]	Full name target: bcprisme/73_65235_005.jpg
2023-10-13	13:08:14	2579	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:14	2579	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_65235_005.jpg'
2023-10-13	13:08:14	2579	[DEBUG]	Query for Media
2023-10-13	13:08:14	2579	[DEBUG]	Executed store
2023-10-13	13:08:14	2579	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_65235_005.jpg',`file_url_thumb`='bcprisme/73_65235_005.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '158687'
2023-10-13	13:08:14	2579	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:14	2579	[DEBUG]	Executed store
2023-10-13	13:08:14	2579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862071','158687','1')
2023-10-13	13:08:14	2579	[DEBUG]	Store product image relation
2023-10-13	13:08:14	2579	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:14	2579	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862071 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:14	2579	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:14	2579	[DEBUG]	Executed store
2023-10-13	13:08:14	2579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862071','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:14	2579	[DEBUG]	Checking manufacturer
2023-10-13	13:08:14	2579	[DEBUG]	Load a row
2023-10-13	13:08:14	2579	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:14	2579	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:14	2579	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:14	2579	[DEBUG]	Executed store
2023-10-13	13:08:14	2579	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:14	2579	[DEBUG]	Manufacturer exists
2023-10-13	13:08:14	2579	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:08:14	2579	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:14	2579	[DEBUG]	Executed store
2023-10-13	13:08:14	2579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862071','26')
2023-10-13	13:08:14	2579	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:14	2579	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:14	2579	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862071 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:14	2579	[DEBUG]	Store custom available field
2023-10-13	13:08:14	2579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862071,3,'',1)
2023-10-13	13:08:14	2579	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:14	2579	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:08:14	2579	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862071 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:14	2579	[DEBUG]	Store custom available field
2023-10-13	13:08:14	2579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862071,6,'Unitaire',3)
2023-10-13	13:08:14	2579	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:14	2579	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:14	2579	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862070
2023-10-13	13:08:14	2579	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:14	2579	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862070\":[1862070,8,1,\"choisir la taille\"],\"1862071\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862070
2023-10-13	13:08:14	2579	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:14	2579	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862071
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:14	2580	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field taille
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:14	2580	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:14	2580	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:14	2580	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:14	2580	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:14	2580	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:14	2580	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field published
2023-10-13	13:08:14	2580	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:14	2580	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field override
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:14	2580	[DEBUG]	Use field value for field slug
2023-10-13	13:08:14	2580	[DEBUG]	Process line 2580
2023-10-13	13:08:14	2580	[DEBUG]	Load a row
2023-10-13	13:08:14	2580	[DEBUG]	Processing item: A_7354_208
2023-10-13	13:08:14	2580	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:14	2580	[DEBUG]	Processing product tax
2023-10-13	13:08:14	2580	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:14	2580	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:14	2580	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:14	2580	[DEBUG]	Query for Product
2023-10-13	13:08:14	2580	[DEBUG]	Executed store
2023-10-13	13:08:14	2580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7354_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:14	2580	[DEBUG]	Check product language entry
2023-10-13	13:08:14	2580	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862072
2023-10-13	13:08:14	2580	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:14	2580	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7354_208' AND `virtuemart_product_id` != 1862072
2023-10-13	13:08:14	2580	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:14	2580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862072, 'A_7354_208')
2023-10-13	13:08:14	2580	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:14	2580	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-g03a-resine-aucune' AND `virtuemart_product_id` != 1862072
2023-10-13	13:08:14	2580	[DEBUG]	Query for ProductLang
2023-10-13	13:08:14	2580	[DEBUG]	Executed store
2023-10-13	13:08:14	2580	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75676',`product_name`='SHIMANO plaquettes G03A résine / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-g03a-resine-aucune' WHERE `virtuemart_product_id` = '1862072'
2023-10-13	13:08:14	2580	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_63454_003.jpg
2023-10-13	13:08:14	2580	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:14	2580	[DEBUG]	Process image file
2023-10-13	13:08:14	2580	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:14	2580	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:14	2580	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_63454_003.jpg
2023-10-13	13:08:14	2580	[DEBUG]	Full name target: bcprisme/73_63454_003.jpg
2023-10-13	13:08:15	2580	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:15	2580	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_63454_003.jpg'
2023-10-13	13:08:15	2580	[DEBUG]	Query for Media
2023-10-13	13:08:15	2580	[DEBUG]	Executed store
2023-10-13	13:08:15	2580	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_63454_003.jpg',`file_url_thumb`='bcprisme/73_63454_003.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '164766'
2023-10-13	13:08:15	2580	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:15	2580	[DEBUG]	Executed store
2023-10-13	13:08:15	2580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862072','164766','1')
2023-10-13	13:08:15	2580	[DEBUG]	Store product image relation
2023-10-13	13:08:15	2580	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:15	2580	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862072 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:15	2580	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:15	2580	[DEBUG]	Executed store
2023-10-13	13:08:15	2580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862072','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:15	2580	[DEBUG]	Checking manufacturer
2023-10-13	13:08:15	2580	[DEBUG]	Load a row
2023-10-13	13:08:15	2580	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:15	2580	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:15	2580	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:15	2580	[DEBUG]	Executed store
2023-10-13	13:08:15	2580	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:15	2580	[DEBUG]	Manufacturer exists
2023-10-13	13:08:15	2580	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:08:15	2580	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:15	2580	[DEBUG]	Executed store
2023-10-13	13:08:15	2580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862072','26')
2023-10-13	13:08:15	2580	[DEBUG]	Find the custom field ID
2023-10-13	13:08:15	2580	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:15	2580	[DEBUG]	No custom field ID found
2023-10-13	13:08:15	2580	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:15	2580	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:08:15	2580	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862072 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:15	2580	[DEBUG]	Store custom available field
2023-10-13	13:08:15	2580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862072,3,'0',1)
2023-10-13	13:08:15	2580	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:15	2580	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:15	2580	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862072 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:15	2580	[DEBUG]	Store custom available field
2023-10-13	13:08:15	2580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862072,6,'choisir la taille',3)
2023-10-13	13:08:15	2580	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:15	2580	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:15	2580	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:15	2580	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:15	2580	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862072 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:15	2580	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:15	2580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862072,8,1)
2023-10-13	13:08:15	2580	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:15	2580	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862072\":[1862072,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862072
2023-10-13	13:08:15	2580	[DEBUG]	Checking category
2023-10-13	13:08:15	2580	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:15	2580	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862072
2023-10-13	13:08:15	2580	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:15	2580	[DEBUG]	Executed store
2023-10-13	13:08:15	2580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862072','7345')
2023-10-13	13:08:15	2580	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:15	2580	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862072 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:15	2580	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:15	2580	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862072
2023-10-13	13:08:15	2581	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:15	2581	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:15	2581	[DEBUG]	Use field value for field taille
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:15	2581	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:15	2581	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:15	2581	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:15	2581	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:15	2581	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:15	2581	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:15	2581	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:15	2581	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:15	2581	[DEBUG]	Use field value for field published
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:15	2581	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field override
2023-10-13	13:08:15	2581	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:15	2581	[DEBUG]	Use field value for field slug
2023-10-13	13:08:15	2581	[DEBUG]	Process line 2581
2023-10-13	13:08:15	2581	[DEBUG]	Load a row
2023-10-13	13:08:15	2581	[DEBUG]	Processing item: 4550170506148
2023-10-13	13:08:15	2581	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:15	2581	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:15	2581	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7354_208'
2023-10-13	13:08:15	2581	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:15	2581	[DEBUG]	Processing product tax
2023-10-13	13:08:15	2581	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:15	2581	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:15	2581	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:15	2581	[DEBUG]	Query for Product
2023-10-13	13:08:15	2581	[DEBUG]	Executed store
2023-10-13	13:08:15	2581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862072','4550170506148','0','KG','M','','22','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:15	2581	[DEBUG]	No parent found
2023-10-13	13:08:15	2581	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862072 AND customfield_value = 'stockable'
2023-10-13	13:08:15	2581	[DEBUG]	Check product language entry
2023-10-13	13:08:15	2581	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862073
2023-10-13	13:08:15	2581	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:15	2581	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170506148' AND `virtuemart_product_id` != 1862073
2023-10-13	13:08:15	2581	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:15	2581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862073, '4550170506148')
2023-10-13	13:08:15	2581	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:15	2581	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-g03a-resine-aucune-unitaire' AND `virtuemart_product_id` != 1862073
2023-10-13	13:08:15	2581	[DEBUG]	Query for ProductLang
2023-10-13	13:08:15	2581	[DEBUG]	Executed store
2023-10-13	13:08:15	2581	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO plaquettes G03A résine / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-g03a-resine-aucune-unitaire' WHERE `virtuemart_product_id` = '1862073'
2023-10-13	13:08:15	2581	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_63454_003.jpg
2023-10-13	13:08:15	2581	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:15	2581	[DEBUG]	Process image file
2023-10-13	13:08:15	2581	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:15	2581	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:15	2581	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_63454_003.jpg
2023-10-13	13:08:15	2581	[DEBUG]	Full name target: bcprisme/73_63454_003.jpg
2023-10-13	13:08:16	2581	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:16	2581	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_63454_003.jpg'
2023-10-13	13:08:16	2581	[DEBUG]	Query for Media
2023-10-13	13:08:16	2581	[DEBUG]	Executed store
2023-10-13	13:08:16	2581	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_63454_003.jpg',`file_url_thumb`='bcprisme/73_63454_003.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '164766'
2023-10-13	13:08:16	2581	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:16	2581	[DEBUG]	Executed store
2023-10-13	13:08:16	2581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862073','164766','1')
2023-10-13	13:08:16	2581	[DEBUG]	Store product image relation
2023-10-13	13:08:16	2581	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:16	2581	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862073 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:16	2581	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:16	2581	[DEBUG]	Executed store
2023-10-13	13:08:16	2581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862073','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:16	2581	[DEBUG]	Checking manufacturer
2023-10-13	13:08:16	2581	[DEBUG]	Load a row
2023-10-13	13:08:16	2581	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:16	2581	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:16	2581	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:16	2581	[DEBUG]	Executed store
2023-10-13	13:08:16	2581	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:16	2581	[DEBUG]	Manufacturer exists
2023-10-13	13:08:16	2581	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:08:16	2581	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:16	2581	[DEBUG]	Executed store
2023-10-13	13:08:16	2581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862073','26')
2023-10-13	13:08:16	2581	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:16	2581	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:16	2581	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862073 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:16	2581	[DEBUG]	Store custom available field
2023-10-13	13:08:16	2581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862073,3,'',1)
2023-10-13	13:08:16	2581	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:16	2581	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:08:16	2581	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862073 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:16	2581	[DEBUG]	Store custom available field
2023-10-13	13:08:16	2581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862073,6,'Unitaire',3)
2023-10-13	13:08:16	2581	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:16	2581	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:16	2581	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862072
2023-10-13	13:08:16	2581	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:16	2581	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862072\":[1862072,8,1,\"choisir la taille\"],\"1862073\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862072
2023-10-13	13:08:16	2581	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:16	2581	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862073
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:16	2582	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field taille
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:16	2582	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:16	2582	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:16	2582	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:16	2582	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:16	2582	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:16	2582	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field published
2023-10-13	13:08:16	2582	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:16	2582	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field override
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:16	2582	[DEBUG]	Use field value for field slug
2023-10-13	13:08:16	2582	[DEBUG]	Process line 2582
2023-10-13	13:08:16	2582	[DEBUG]	Load a row
2023-10-13	13:08:16	2582	[DEBUG]	Processing item: A_7397_1
2023-10-13	13:08:16	2582	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:16	2582	[DEBUG]	Processing product tax
2023-10-13	13:08:16	2582	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:16	2582	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:16	2582	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:16	2582	[DEBUG]	Query for Product
2023-10-13	13:08:16	2582	[DEBUG]	Executed store
2023-10-13	13:08:16	2582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7397_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:16	2582	[DEBUG]	Check product language entry
2023-10-13	13:08:16	2582	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862074
2023-10-13	13:08:16	2582	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:16	2582	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7397_1' AND `virtuemart_product_id` != 1862074
2023-10-13	13:08:16	2582	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:16	2582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862074, 'A_7397_1')
2023-10-13	13:08:16	2582	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:16	2582	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-j03a-resin-avec-lamelle-avec-ressort-et-goupille-fendue-noir' AND `virtuemart_product_id` != 1862074
2023-10-13	13:08:16	2582	[DEBUG]	Query for ProductLang
2023-10-13	13:08:16	2582	[DEBUG]	Executed store
2023-10-13	13:08:16	2582	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75473',`product_name`='SHIMANO plaquettes J03A résin avec lamelle avec ressort et goupille fendue / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-j03a-resin-avec-lamelle-avec-ressort-et-goupille-fendue-noir' WHERE `virtuemart_product_id` = '1862074'
2023-10-13	13:08:16	2582	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75473_prov.jpg
2023-10-13	13:08:16	2582	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:16	2582	[DEBUG]	Process image file
2023-10-13	13:08:16	2582	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:16	2582	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:16	2582	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75473_prov.jpg
2023-10-13	13:08:16	2582	[DEBUG]	Full name target: bcprisme/73_75473_prov.jpg
2023-10-13	13:08:17	2582	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:17	2582	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75473_prov.jpg'
2023-10-13	13:08:17	2582	[DEBUG]	Query for Media
2023-10-13	13:08:17	2582	[DEBUG]	Executed store
2023-10-13	13:08:17	2582	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75473_prov.jpg',`file_url_thumb`='bcprisme/73_75473_prov.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '191073'
2023-10-13	13:08:17	2582	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:17	2582	[DEBUG]	Executed store
2023-10-13	13:08:17	2582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862074','191073','1')
2023-10-13	13:08:17	2582	[DEBUG]	Store product image relation
2023-10-13	13:08:17	2582	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:17	2582	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862074 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:17	2582	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:17	2582	[DEBUG]	Executed store
2023-10-13	13:08:17	2582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862074','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:17	2582	[DEBUG]	Checking manufacturer
2023-10-13	13:08:17	2582	[DEBUG]	Load a row
2023-10-13	13:08:17	2582	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:17	2582	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:17	2582	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:17	2582	[DEBUG]	Executed store
2023-10-13	13:08:17	2582	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:17	2582	[DEBUG]	Manufacturer exists
2023-10-13	13:08:17	2582	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:08:17	2582	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:17	2582	[DEBUG]	Executed store
2023-10-13	13:08:17	2582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862074','26')
2023-10-13	13:08:17	2582	[DEBUG]	Find the custom field ID
2023-10-13	13:08:17	2582	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:17	2582	[DEBUG]	No custom field ID found
2023-10-13	13:08:17	2582	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:17	2582	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:08:17	2582	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862074 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:17	2582	[DEBUG]	Store custom available field
2023-10-13	13:08:17	2582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862074,3,'0',1)
2023-10-13	13:08:17	2582	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:17	2582	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:17	2582	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862074 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:17	2582	[DEBUG]	Store custom available field
2023-10-13	13:08:17	2582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862074,6,'choisir la taille',3)
2023-10-13	13:08:17	2582	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:17	2582	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:17	2582	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:17	2582	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:17	2582	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862074 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:17	2582	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:17	2582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862074,8,1)
2023-10-13	13:08:17	2582	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:17	2582	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862074\":[1862074,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862074
2023-10-13	13:08:17	2582	[DEBUG]	Checking category
2023-10-13	13:08:17	2582	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:17	2582	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862074
2023-10-13	13:08:17	2582	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:17	2582	[DEBUG]	Executed store
2023-10-13	13:08:17	2582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862074','7345')
2023-10-13	13:08:17	2582	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:17	2582	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862074 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:17	2582	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:17	2582	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862074
2023-10-13	13:08:17	2583	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:17	2583	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:17	2583	[DEBUG]	Use field value for field taille
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:17	2583	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:17	2583	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:17	2583	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:17	2583	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:17	2583	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:17	2583	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:17	2583	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:17	2583	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:17	2583	[DEBUG]	Use field value for field published
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:17	2583	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field override
2023-10-13	13:08:17	2583	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:17	2583	[DEBUG]	Use field value for field slug
2023-10-13	13:08:17	2583	[DEBUG]	Process line 2583
2023-10-13	13:08:17	2583	[DEBUG]	Load a row
2023-10-13	13:08:17	2583	[DEBUG]	Processing item: 1000000123760
2023-10-13	13:08:17	2583	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:17	2583	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:17	2583	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7397_1'
2023-10-13	13:08:17	2583	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:17	2583	[DEBUG]	Processing product tax
2023-10-13	13:08:17	2583	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:17	2583	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:17	2583	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:17	2583	[DEBUG]	Query for Product
2023-10-13	13:08:17	2583	[DEBUG]	Executed store
2023-10-13	13:08:17	2583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862074','1000000123760','0','KG','M','','10','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:17	2583	[DEBUG]	No parent found
2023-10-13	13:08:17	2583	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862074 AND customfield_value = 'stockable'
2023-10-13	13:08:17	2583	[DEBUG]	Check product language entry
2023-10-13	13:08:17	2583	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862075
2023-10-13	13:08:17	2583	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:17	2583	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000123760' AND `virtuemart_product_id` != 1862075
2023-10-13	13:08:17	2583	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:17	2583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862075, '1000000123760')
2023-10-13	13:08:17	2583	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:17	2583	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-j03a-resin-avec-lamelle-avec-ressort-et-goupille-fendue-noir-unitaire' AND `virtuemart_product_id` != 1862075
2023-10-13	13:08:17	2583	[DEBUG]	Query for ProductLang
2023-10-13	13:08:17	2583	[DEBUG]	Executed store
2023-10-13	13:08:17	2583	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO plaquettes J03A résin avec lamelle avec ressort et goupille fendue / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-j03a-resin-avec-lamelle-avec-ressort-et-goupille-fendue-noir-unitaire' WHERE `virtuemart_product_id` = '1862075'
2023-10-13	13:08:17	2583	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75473_prov.jpg
2023-10-13	13:08:17	2583	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:17	2583	[DEBUG]	Process image file
2023-10-13	13:08:17	2583	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:17	2583	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:17	2583	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75473_prov.jpg
2023-10-13	13:08:17	2583	[DEBUG]	Full name target: bcprisme/73_75473_prov.jpg
2023-10-13	13:08:18	2583	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:18	2583	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75473_prov.jpg'
2023-10-13	13:08:18	2583	[DEBUG]	Query for Media
2023-10-13	13:08:18	2583	[DEBUG]	Executed store
2023-10-13	13:08:18	2583	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75473_prov.jpg',`file_url_thumb`='bcprisme/73_75473_prov.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '191073'
2023-10-13	13:08:18	2583	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:18	2583	[DEBUG]	Executed store
2023-10-13	13:08:18	2583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862075','191073','1')
2023-10-13	13:08:18	2583	[DEBUG]	Store product image relation
2023-10-13	13:08:18	2583	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:18	2583	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862075 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:18	2583	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:18	2583	[DEBUG]	Executed store
2023-10-13	13:08:18	2583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862075','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:18	2583	[DEBUG]	Checking manufacturer
2023-10-13	13:08:18	2583	[DEBUG]	Load a row
2023-10-13	13:08:18	2583	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:18	2583	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:18	2583	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:18	2583	[DEBUG]	Executed store
2023-10-13	13:08:18	2583	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:18	2583	[DEBUG]	Manufacturer exists
2023-10-13	13:08:18	2583	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:08:18	2583	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:18	2583	[DEBUG]	Executed store
2023-10-13	13:08:18	2583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862075','26')
2023-10-13	13:08:18	2583	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:18	2583	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:18	2583	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862075 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:18	2583	[DEBUG]	Store custom available field
2023-10-13	13:08:18	2583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862075,3,'',1)
2023-10-13	13:08:18	2583	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:18	2583	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:08:18	2583	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862075 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:18	2583	[DEBUG]	Store custom available field
2023-10-13	13:08:18	2583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862075,6,'Unitaire',3)
2023-10-13	13:08:18	2583	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:18	2583	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:18	2583	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862074
2023-10-13	13:08:18	2583	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:18	2583	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862074\":[1862074,8,1,\"choisir la taille\"],\"1862075\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862074
2023-10-13	13:08:18	2583	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:18	2583	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862075
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:18	2584	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field taille
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:18	2584	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:18	2584	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:18	2584	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:18	2584	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:18	2584	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:18	2584	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:18	2584	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field published
2023-10-13	13:08:18	2584	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:18	2584	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field override
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:18	2584	[DEBUG]	Use field value for field slug
2023-10-13	13:08:18	2584	[DEBUG]	Process line 2584
2023-10-13	13:08:18	2584	[DEBUG]	Load a row
2023-10-13	13:08:18	2584	[DEBUG]	Processing item: A_7562_0
2023-10-13	13:08:18	2584	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:18	2584	[DEBUG]	Processing product tax
2023-10-13	13:08:18	2584	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:18	2584	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:18	2584	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:18	2584	[DEBUG]	Query for Product
2023-10-13	13:08:18	2584	[DEBUG]	Executed store
2023-10-13	13:08:18	2584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7562_0','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:18	2584	[DEBUG]	Check product language entry
2023-10-13	13:08:18	2584	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862076
2023-10-13	13:08:18	2584	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:18	2584	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7562_0' AND `virtuemart_product_id` != 1862076
2023-10-13	13:08:18	2584	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:18	2584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862076, 'A_7562_0')
2023-10-13	13:08:18	2584	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:18	2584	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'brake-authority-plaquettes-freins-authority-sram-x0-trail-guide-unique' AND `virtuemart_product_id` != 1862076
2023-10-13	13:08:18	2584	[DEBUG]	Query for ProductLang
2023-10-13	13:08:18	2584	[DEBUG]	Executed store
2023-10-13	13:08:18	2584	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 240.002.001',`product_name`='BRAKE AUTHORITY PLAQUETTES FREINS  AUTHORITY Sram X0 Trail / Guide  / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='brake-authority-plaquettes-freins-authority-sram-x0-trail-guide-unique' WHERE `virtuemart_product_id` = '1862076'
2023-10-13	13:08:18	2584	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34974_plaquettes_freins__authority_sram_x0_trail_-_guide_.jpg
2023-10-13	13:08:18	2584	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:18	2584	[DEBUG]	Process image file
2023-10-13	13:08:18	2584	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:18	2584	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:18	2584	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34974_plaquettes_freins__authority_sram_x0_trail_-_guide_.jpg
2023-10-13	13:08:18	2584	[DEBUG]	Full name target: bcprisme/34974_plaquettes_freins__authority_sram_x0_trail_-_guide_.jpg
2023-10-13	13:08:19	2584	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:19	2584	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34974_plaquettes_freins__authority_sram_x0_trail_-_guide_.jpg'
2023-10-13	13:08:19	2584	[DEBUG]	Query for Media
2023-10-13	13:08:19	2584	[DEBUG]	Executed store
2023-10-13	13:08:19	2584	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34974_plaquettes_freins__authority_sram_x0_trail_-_guide_.jpg',`file_url_thumb`='bcprisme/34974_plaquettes_freins__authority_sram_x0_trail_-_guide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '317487'
2023-10-13	13:08:19	2584	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:19	2584	[DEBUG]	Executed store
2023-10-13	13:08:19	2584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862076','317487','1')
2023-10-13	13:08:19	2584	[DEBUG]	Store product image relation
2023-10-13	13:08:19	2584	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:19	2584	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862076 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:19	2584	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:19	2584	[DEBUG]	Executed store
2023-10-13	13:08:19	2584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862076','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:19	2584	[DEBUG]	Checking manufacturer
2023-10-13	13:08:19	2584	[DEBUG]	Load a row
2023-10-13	13:08:19	2584	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:19	2584	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:08:19	2584	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:19	2584	[DEBUG]	Executed store
2023-10-13	13:08:19	2584	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331209444664' WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:08:19	2584	[DEBUG]	Manufacturer exists
2023-10-13	13:08:19	2584	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 161
2023-10-13	13:08:19	2584	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:19	2584	[DEBUG]	Executed store
2023-10-13	13:08:19	2584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862076','161')
2023-10-13	13:08:19	2584	[DEBUG]	Find the custom field ID
2023-10-13	13:08:19	2584	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:19	2584	[DEBUG]	No custom field ID found
2023-10-13	13:08:19	2584	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:19	2584	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:08:19	2584	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862076 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:19	2584	[DEBUG]	Store custom available field
2023-10-13	13:08:19	2584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862076,3,'0',1)
2023-10-13	13:08:19	2584	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:19	2584	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:19	2584	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862076 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:19	2584	[DEBUG]	Store custom available field
2023-10-13	13:08:19	2584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862076,6,'choisir la taille',3)
2023-10-13	13:08:19	2584	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:19	2584	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:19	2584	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:19	2584	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:19	2584	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862076 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:19	2584	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:19	2584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862076,8,1)
2023-10-13	13:08:19	2584	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:19	2584	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862076\":[1862076,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862076
2023-10-13	13:08:19	2584	[DEBUG]	Checking category
2023-10-13	13:08:19	2584	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:19	2584	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862076
2023-10-13	13:08:19	2584	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:19	2584	[DEBUG]	Executed store
2023-10-13	13:08:19	2584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862076','7345')
2023-10-13	13:08:19	2584	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:19	2584	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862076 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:19	2584	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:19	2584	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862076
2023-10-13	13:08:19	2585	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:19	2585	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:19	2585	[DEBUG]	Use field value for field taille
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:19	2585	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:19	2585	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:19	2585	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:19	2585	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:19	2585	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:19	2585	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:19	2585	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:19	2585	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:19	2585	[DEBUG]	Use field value for field published
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:19	2585	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field override
2023-10-13	13:08:19	2585	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:19	2585	[DEBUG]	Use field value for field slug
2023-10-13	13:08:19	2585	[DEBUG]	Process line 2585
2023-10-13	13:08:19	2585	[DEBUG]	Load a row
2023-10-13	13:08:19	2585	[DEBUG]	Processing item: 3700692708549
2023-10-13	13:08:19	2585	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:19	2585	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:19	2585	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7562_0'
2023-10-13	13:08:19	2585	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:19	2585	[DEBUG]	Processing product tax
2023-10-13	13:08:19	2585	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:19	2585	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:19	2585	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:19	2585	[DEBUG]	Query for Product
2023-10-13	13:08:19	2585	[DEBUG]	Executed store
2023-10-13	13:08:19	2585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862076','3700692708549','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:19	2585	[DEBUG]	No parent found
2023-10-13	13:08:19	2585	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862076 AND customfield_value = 'stockable'
2023-10-13	13:08:19	2585	[DEBUG]	Check product language entry
2023-10-13	13:08:19	2585	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862077
2023-10-13	13:08:19	2585	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:19	2585	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3700692708549' AND `virtuemart_product_id` != 1862077
2023-10-13	13:08:19	2585	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:19	2585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862077, '3700692708549')
2023-10-13	13:08:19	2585	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:19	2585	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'brake-authority-plaquettes-freins-authority-sram-x0-trail-guide-unique-unitaire' AND `virtuemart_product_id` != 1862077
2023-10-13	13:08:19	2585	[DEBUG]	Query for ProductLang
2023-10-13	13:08:19	2585	[DEBUG]	Executed store
2023-10-13	13:08:19	2585	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BRAKE AUTHORITY PLAQUETTES FREINS  AUTHORITY Sram X0 Trail / Guide  / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='brake-authority-plaquettes-freins-authority-sram-x0-trail-guide-unique-unitaire' WHERE `virtuemart_product_id` = '1862077'
2023-10-13	13:08:19	2585	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34974_plaquettes_freins__authority_sram_x0_trail_-_guide_.jpg
2023-10-13	13:08:19	2585	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:19	2585	[DEBUG]	Process image file
2023-10-13	13:08:19	2585	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:19	2585	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:19	2585	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34974_plaquettes_freins__authority_sram_x0_trail_-_guide_.jpg
2023-10-13	13:08:19	2585	[DEBUG]	Full name target: bcprisme/34974_plaquettes_freins__authority_sram_x0_trail_-_guide_.jpg
2023-10-13	13:08:20	2585	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:20	2585	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34974_plaquettes_freins__authority_sram_x0_trail_-_guide_.jpg'
2023-10-13	13:08:20	2585	[DEBUG]	Query for Media
2023-10-13	13:08:20	2585	[DEBUG]	Executed store
2023-10-13	13:08:20	2585	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34974_plaquettes_freins__authority_sram_x0_trail_-_guide_.jpg',`file_url_thumb`='bcprisme/34974_plaquettes_freins__authority_sram_x0_trail_-_guide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '317487'
2023-10-13	13:08:20	2585	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:20	2585	[DEBUG]	Executed store
2023-10-13	13:08:20	2585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862077','317487','1')
2023-10-13	13:08:20	2585	[DEBUG]	Store product image relation
2023-10-13	13:08:20	2585	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:20	2585	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862077 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:20	2585	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:20	2585	[DEBUG]	Executed store
2023-10-13	13:08:20	2585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862077','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:20	2585	[DEBUG]	Checking manufacturer
2023-10-13	13:08:20	2585	[DEBUG]	Load a row
2023-10-13	13:08:20	2585	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:20	2585	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:08:20	2585	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:20	2585	[DEBUG]	Executed store
2023-10-13	13:08:20	2585	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331209444664' WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:08:20	2585	[DEBUG]	Manufacturer exists
2023-10-13	13:08:20	2585	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 161
2023-10-13	13:08:20	2585	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:20	2585	[DEBUG]	Executed store
2023-10-13	13:08:20	2585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862077','161')
2023-10-13	13:08:20	2585	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:20	2585	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:20	2585	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862077 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:20	2585	[DEBUG]	Store custom available field
2023-10-13	13:08:20	2585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862077,3,'',1)
2023-10-13	13:08:20	2585	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:20	2585	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:08:20	2585	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862077 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:20	2585	[DEBUG]	Store custom available field
2023-10-13	13:08:20	2585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862077,6,'Unitaire',3)
2023-10-13	13:08:20	2585	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:20	2585	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:20	2585	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862076
2023-10-13	13:08:20	2585	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:20	2585	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862076\":[1862076,8,1,\"choisir la taille\"],\"1862077\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862076
2023-10-13	13:08:20	2585	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:20	2585	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862077
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:20	2586	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field taille
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:20	2586	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:20	2586	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:20	2586	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:20	2586	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:20	2586	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:20	2586	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field published
2023-10-13	13:08:20	2586	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:20	2586	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field override
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:20	2586	[DEBUG]	Use field value for field slug
2023-10-13	13:08:20	2586	[DEBUG]	Process line 2586
2023-10-13	13:08:20	2586	[DEBUG]	Load a row
2023-10-13	13:08:20	2586	[DEBUG]	Processing item: A_7564_208
2023-10-13	13:08:20	2586	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:20	2586	[DEBUG]	Processing product tax
2023-10-13	13:08:20	2586	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:20	2586	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:20	2586	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:20	2586	[DEBUG]	Query for Product
2023-10-13	13:08:20	2586	[DEBUG]	Executed store
2023-10-13	13:08:20	2586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7564_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:20	2586	[DEBUG]	Check product language entry
2023-10-13	13:08:20	2586	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862078
2023-10-13	13:08:20	2586	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:20	2586	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7564_208' AND `virtuemart_product_id` != 1862078
2023-10-13	13:08:20	2586	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:20	2586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862078, 'A_7564_208')
2023-10-13	13:08:20	2586	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:20	2586	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-shimano-h03a-resin-avec-ressort-et-goupille-fendue-paires-aucune' AND `virtuemart_product_id` != 1862078
2023-10-13	13:08:20	2586	[DEBUG]	Query for ProductLang
2023-10-13	13:08:20	2586	[DEBUG]	Executed store
2023-10-13	13:08:20	2586	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75374',`product_name`='SHIMANO Plaquettes Shimano H03A résin avec ressort et goupille fendue paires / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-shimano-h03a-resin-avec-ressort-et-goupille-fendue-paires-aucune' WHERE `virtuemart_product_id` = '1862078'
2023-10-13	13:08:20	2586	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75374_001.jpg
2023-10-13	13:08:20	2586	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:20	2586	[DEBUG]	Process image file
2023-10-13	13:08:20	2586	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:20	2586	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:20	2586	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75374_001.jpg
2023-10-13	13:08:20	2586	[DEBUG]	Full name target: bcprisme/73_75374_001.jpg
2023-10-13	13:08:21	2586	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:21	2586	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75374_001.jpg'
2023-10-13	13:08:21	2586	[DEBUG]	Query for Media
2023-10-13	13:08:21	2586	[DEBUG]	Executed store
2023-10-13	13:08:21	2586	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75374_001.jpg',`file_url_thumb`='bcprisme/73_75374_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '317489'
2023-10-13	13:08:21	2586	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:21	2586	[DEBUG]	Executed store
2023-10-13	13:08:21	2586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862078','317489','1')
2023-10-13	13:08:21	2586	[DEBUG]	Store product image relation
2023-10-13	13:08:21	2586	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:21	2586	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862078 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:21	2586	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:21	2586	[DEBUG]	Executed store
2023-10-13	13:08:21	2586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862078','0','40.761374187558','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:21	2586	[DEBUG]	Checking manufacturer
2023-10-13	13:08:21	2586	[DEBUG]	Load a row
2023-10-13	13:08:21	2586	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:21	2586	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:21	2586	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:21	2586	[DEBUG]	Executed store
2023-10-13	13:08:21	2586	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:21	2586	[DEBUG]	Manufacturer exists
2023-10-13	13:08:21	2586	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:08:21	2586	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:21	2586	[DEBUG]	Executed store
2023-10-13	13:08:21	2586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862078','26')
2023-10-13	13:08:21	2586	[DEBUG]	Find the custom field ID
2023-10-13	13:08:21	2586	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:21	2586	[DEBUG]	No custom field ID found
2023-10-13	13:08:21	2586	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:21	2586	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:08:21	2586	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862078 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:21	2586	[DEBUG]	Store custom available field
2023-10-13	13:08:21	2586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862078,3,'0',1)
2023-10-13	13:08:21	2586	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:21	2586	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:21	2586	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862078 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:21	2586	[DEBUG]	Store custom available field
2023-10-13	13:08:21	2586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862078,6,'choisir la taille',3)
2023-10-13	13:08:21	2586	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:21	2586	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:21	2586	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:21	2586	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:21	2586	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862078 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:21	2586	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:21	2586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862078,8,1)
2023-10-13	13:08:21	2586	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:21	2586	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862078\":[1862078,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862078
2023-10-13	13:08:21	2586	[DEBUG]	Checking category
2023-10-13	13:08:21	2586	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:21	2586	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862078
2023-10-13	13:08:21	2586	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:21	2586	[DEBUG]	Executed store
2023-10-13	13:08:21	2586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862078','7345')
2023-10-13	13:08:21	2586	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:21	2586	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862078 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:21	2586	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:21	2586	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862078
2023-10-13	13:08:21	2587	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:21	2587	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:21	2587	[DEBUG]	Use field value for field taille
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:21	2587	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:21	2587	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:21	2587	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:21	2587	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:21	2587	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:21	2587	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:21	2587	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:21	2587	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:21	2587	[DEBUG]	Use field value for field published
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:21	2587	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field override
2023-10-13	13:08:21	2587	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:21	2587	[DEBUG]	Use field value for field slug
2023-10-13	13:08:21	2587	[DEBUG]	Process line 2587
2023-10-13	13:08:21	2587	[DEBUG]	Load a row
2023-10-13	13:08:21	2587	[DEBUG]	Processing item: 4550170451615
2023-10-13	13:08:21	2587	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:21	2587	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:21	2587	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7564_208'
2023-10-13	13:08:21	2587	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:21	2587	[DEBUG]	Processing product tax
2023-10-13	13:08:21	2587	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:21	2587	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:21	2587	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:21	2587	[DEBUG]	Query for Product
2023-10-13	13:08:21	2587	[DEBUG]	Executed store
2023-10-13	13:08:21	2587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862078','4550170451615','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:21	2587	[DEBUG]	No parent found
2023-10-13	13:08:21	2587	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862078 AND customfield_value = 'stockable'
2023-10-13	13:08:21	2587	[DEBUG]	Check product language entry
2023-10-13	13:08:21	2587	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862079
2023-10-13	13:08:21	2587	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:21	2587	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170451615' AND `virtuemart_product_id` != 1862079
2023-10-13	13:08:21	2587	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:21	2587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862079, '4550170451615')
2023-10-13	13:08:21	2587	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:21	2587	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-shimano-h03a-resin-avec-ressort-et-goupille-fendue-paires-aucune-unitaire' AND `virtuemart_product_id` != 1862079
2023-10-13	13:08:21	2587	[DEBUG]	Query for ProductLang
2023-10-13	13:08:21	2587	[DEBUG]	Executed store
2023-10-13	13:08:21	2587	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquettes Shimano H03A résin avec ressort et goupille fendue paires / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-shimano-h03a-resin-avec-ressort-et-goupille-fendue-paires-aucune-unitaire' WHERE `virtuemart_product_id` = '1862079'
2023-10-13	13:08:21	2587	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75374_001.jpg
2023-10-13	13:08:21	2587	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:21	2587	[DEBUG]	Process image file
2023-10-13	13:08:21	2587	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:21	2587	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:21	2587	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75374_001.jpg
2023-10-13	13:08:21	2587	[DEBUG]	Full name target: bcprisme/73_75374_001.jpg
2023-10-13	13:08:22	2587	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:22	2587	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75374_001.jpg'
2023-10-13	13:08:22	2587	[DEBUG]	Query for Media
2023-10-13	13:08:22	2587	[DEBUG]	Executed store
2023-10-13	13:08:22	2587	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75374_001.jpg',`file_url_thumb`='bcprisme/73_75374_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '317489'
2023-10-13	13:08:22	2587	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:22	2587	[DEBUG]	Executed store
2023-10-13	13:08:22	2587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862079','317489','1')
2023-10-13	13:08:22	2587	[DEBUG]	Store product image relation
2023-10-13	13:08:22	2587	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:22	2587	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862079 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:22	2587	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:22	2587	[DEBUG]	Executed store
2023-10-13	13:08:22	2587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862079','0','40.761374187558','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:22	2587	[DEBUG]	Checking manufacturer
2023-10-13	13:08:22	2587	[DEBUG]	Load a row
2023-10-13	13:08:22	2587	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:22	2587	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:22	2587	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:22	2587	[DEBUG]	Executed store
2023-10-13	13:08:22	2587	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:22	2587	[DEBUG]	Manufacturer exists
2023-10-13	13:08:22	2587	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:08:22	2587	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:22	2587	[DEBUG]	Executed store
2023-10-13	13:08:22	2587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862079','26')
2023-10-13	13:08:22	2587	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:22	2587	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:22	2587	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862079 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:22	2587	[DEBUG]	Store custom available field
2023-10-13	13:08:22	2587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862079,3,'',1)
2023-10-13	13:08:22	2587	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:22	2587	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:08:22	2587	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862079 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:22	2587	[DEBUG]	Store custom available field
2023-10-13	13:08:22	2587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862079,6,'Unitaire',3)
2023-10-13	13:08:22	2587	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:22	2587	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:22	2587	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862078
2023-10-13	13:08:22	2587	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:22	2587	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862078\":[1862078,8,1,\"choisir la taille\"],\"1862079\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862078
2023-10-13	13:08:22	2587	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:22	2587	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862079
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:22	2588	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field taille
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:22	2588	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:22	2588	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:22	2588	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:22	2588	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:22	2588	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:22	2588	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field published
2023-10-13	13:08:22	2588	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:22	2588	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field override
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:22	2588	[DEBUG]	Use field value for field slug
2023-10-13	13:08:22	2588	[DEBUG]	Process line 2588
2023-10-13	13:08:22	2588	[DEBUG]	Load a row
2023-10-13	13:08:22	2588	[DEBUG]	Processing item: A_7569_0
2023-10-13	13:08:22	2588	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:22	2588	[DEBUG]	Processing product tax
2023-10-13	13:08:22	2588	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:22	2588	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:22	2588	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:22	2588	[DEBUG]	Query for Product
2023-10-13	13:08:22	2588	[DEBUG]	Executed store
2023-10-13	13:08:22	2588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7569_0','0.004','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:22	2588	[DEBUG]	Check product language entry
2023-10-13	13:08:22	2588	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862080
2023-10-13	13:08:22	2588	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:22	2588	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7569_0' AND `virtuemart_product_id` != 1862080
2023-10-13	13:08:22	2588	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:22	2588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862080, 'A_7569_0')
2023-10-13	13:08:22	2588	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:22	2588	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-plaquettes-de-frein-sram-code-unique' AND `virtuemart_product_id` != 1862080
2023-10-13	13:08:22	2588	[DEBUG]	Query for ProductLang
2023-10-13	13:08:22	2588	[DEBUG]	Executed store
2023-10-13	13:08:22	2588	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. semi-métalliques,  Magura MT 2,4,6,8<br>N° art fourn : D1723R',`product_name`='SRAM Plaquettes de frein Sram Code  / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-plaquettes-de-frein-sram-code-unique' WHERE `virtuemart_product_id` = '1862080'
2023-10-13	13:08:22	2588	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34986_plaquettes_de_frein_sram_code_.jpg
2023-10-13	13:08:22	2588	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:22	2588	[DEBUG]	Process image file
2023-10-13	13:08:22	2588	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:22	2588	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:22	2588	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34986_plaquettes_de_frein_sram_code_.jpg
2023-10-13	13:08:22	2588	[DEBUG]	Full name target: bcprisme/34986_plaquettes_de_frein_sram_code_.jpg
2023-10-13	13:08:23	2588	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:23	2588	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34986_plaquettes_de_frein_sram_code_.jpg'
2023-10-13	13:08:23	2588	[DEBUG]	Query for Media
2023-10-13	13:08:23	2588	[DEBUG]	Executed store
2023-10-13	13:08:23	2588	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34986_plaquettes_de_frein_sram_code_.jpg',`file_url_thumb`='bcprisme/34986_plaquettes_de_frein_sram_code_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '317491'
2023-10-13	13:08:23	2588	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:23	2588	[DEBUG]	Executed store
2023-10-13	13:08:23	2588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862080','317491','1')
2023-10-13	13:08:23	2588	[DEBUG]	Store product image relation
2023-10-13	13:08:23	2588	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:23	2588	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862080 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:23	2588	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:23	2588	[DEBUG]	Executed store
2023-10-13	13:08:23	2588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862080','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:23	2588	[DEBUG]	Checking manufacturer
2023-10-13	13:08:23	2588	[DEBUG]	Load a row
2023-10-13	13:08:23	2588	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:23	2588	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:08:23	2588	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:23	2588	[DEBUG]	Executed store
2023-10-13	13:08:23	2588	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:08:23	2588	[DEBUG]	Manufacturer exists
2023-10-13	13:08:23	2588	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:08:23	2588	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:23	2588	[DEBUG]	Executed store
2023-10-13	13:08:23	2588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862080','35')
2023-10-13	13:08:23	2588	[DEBUG]	Find the custom field ID
2023-10-13	13:08:23	2588	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:23	2588	[DEBUG]	No custom field ID found
2023-10-13	13:08:23	2588	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:23	2588	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:08:23	2588	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862080 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:23	2588	[DEBUG]	Store custom available field
2023-10-13	13:08:23	2588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862080,3,'16.8530555555556',1)
2023-10-13	13:08:23	2588	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:23	2588	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:23	2588	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862080 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:23	2588	[DEBUG]	Store custom available field
2023-10-13	13:08:23	2588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862080,6,'choisir la taille',3)
2023-10-13	13:08:23	2588	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:23	2588	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:23	2588	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:23	2588	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:23	2588	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862080 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:23	2588	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:23	2588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862080,8,1)
2023-10-13	13:08:23	2588	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:23	2588	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862080\":[1862080,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862080
2023-10-13	13:08:23	2588	[DEBUG]	Checking category
2023-10-13	13:08:23	2588	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:23	2588	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862080
2023-10-13	13:08:23	2588	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:23	2588	[DEBUG]	Executed store
2023-10-13	13:08:23	2588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862080','7345')
2023-10-13	13:08:23	2588	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:23	2588	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862080 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:23	2588	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:23	2588	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862080
2023-10-13	13:08:23	2589	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:23	2589	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:23	2589	[DEBUG]	Use field value for field taille
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:23	2589	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:23	2589	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:23	2589	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:23	2589	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:23	2589	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:23	2589	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:23	2589	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:23	2589	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:23	2589	[DEBUG]	Use field value for field published
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:23	2589	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field override
2023-10-13	13:08:23	2589	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:23	2589	[DEBUG]	Use field value for field slug
2023-10-13	13:08:23	2589	[DEBUG]	Process line 2589
2023-10-13	13:08:23	2589	[DEBUG]	Load a row
2023-10-13	13:08:23	2589	[DEBUG]	Processing item: 710845642036
2023-10-13	13:08:23	2589	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:23	2589	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:23	2589	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7569_0'
2023-10-13	13:08:23	2589	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:23	2589	[DEBUG]	Processing product tax
2023-10-13	13:08:23	2589	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:23	2589	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:23	2589	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:23	2589	[DEBUG]	Query for Product
2023-10-13	13:08:23	2589	[DEBUG]	Executed store
2023-10-13	13:08:23	2589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862080','710845642036','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:23	2589	[DEBUG]	No parent found
2023-10-13	13:08:23	2589	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862080 AND customfield_value = 'stockable'
2023-10-13	13:08:23	2589	[DEBUG]	Check product language entry
2023-10-13	13:08:23	2589	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862081
2023-10-13	13:08:23	2589	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:23	2589	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845642036' AND `virtuemart_product_id` != 1862081
2023-10-13	13:08:23	2589	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:23	2589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862081, '710845642036')
2023-10-13	13:08:23	2589	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:23	2589	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-plaquettes-de-frein-sram-code-unique-unitaire' AND `virtuemart_product_id` != 1862081
2023-10-13	13:08:23	2589	[DEBUG]	Query for ProductLang
2023-10-13	13:08:23	2589	[DEBUG]	Executed store
2023-10-13	13:08:23	2589	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Plaquettes de frein Sram Code  / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-plaquettes-de-frein-sram-code-unique-unitaire' WHERE `virtuemart_product_id` = '1862081'
2023-10-13	13:08:23	2589	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34986_plaquettes_de_frein_sram_code_.jpg
2023-10-13	13:08:23	2589	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:23	2589	[DEBUG]	Process image file
2023-10-13	13:08:23	2589	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:23	2589	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:23	2589	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34986_plaquettes_de_frein_sram_code_.jpg
2023-10-13	13:08:23	2589	[DEBUG]	Full name target: bcprisme/34986_plaquettes_de_frein_sram_code_.jpg
2023-10-13	13:08:24	2589	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:24	2589	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34986_plaquettes_de_frein_sram_code_.jpg'
2023-10-13	13:08:24	2589	[DEBUG]	Query for Media
2023-10-13	13:08:24	2589	[DEBUG]	Executed store
2023-10-13	13:08:24	2589	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34986_plaquettes_de_frein_sram_code_.jpg',`file_url_thumb`='bcprisme/34986_plaquettes_de_frein_sram_code_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '317491'
2023-10-13	13:08:24	2589	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:24	2589	[DEBUG]	Executed store
2023-10-13	13:08:24	2589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862081','317491','1')
2023-10-13	13:08:24	2589	[DEBUG]	Store product image relation
2023-10-13	13:08:24	2589	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:24	2589	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862081 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:24	2589	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:24	2589	[DEBUG]	Executed store
2023-10-13	13:08:24	2589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862081','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:24	2589	[DEBUG]	Checking manufacturer
2023-10-13	13:08:24	2589	[DEBUG]	Load a row
2023-10-13	13:08:24	2589	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:24	2589	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:08:24	2589	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:24	2589	[DEBUG]	Executed store
2023-10-13	13:08:24	2589	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:08:24	2589	[DEBUG]	Manufacturer exists
2023-10-13	13:08:24	2589	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:08:24	2589	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:24	2589	[DEBUG]	Executed store
2023-10-13	13:08:24	2589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862081','35')
2023-10-13	13:08:24	2589	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:24	2589	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:24	2589	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862081 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:24	2589	[DEBUG]	Store custom available field
2023-10-13	13:08:24	2589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862081,3,'',1)
2023-10-13	13:08:24	2589	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:24	2589	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:08:24	2589	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862081 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:24	2589	[DEBUG]	Store custom available field
2023-10-13	13:08:24	2589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862081,6,'Unitaire',3)
2023-10-13	13:08:24	2589	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:24	2589	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:24	2589	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862080
2023-10-13	13:08:24	2589	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:24	2589	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862080\":[1862080,8,1,\"choisir la taille\"],\"1862081\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862080
2023-10-13	13:08:24	2589	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:24	2589	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862081
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:24	2590	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field taille
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:24	2590	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:24	2590	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:24	2590	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:24	2590	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:24	2590	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:24	2590	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field published
2023-10-13	13:08:24	2590	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:24	2590	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field override
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:24	2590	[DEBUG]	Use field value for field slug
2023-10-13	13:08:24	2590	[DEBUG]	Process line 2590
2023-10-13	13:08:24	2590	[DEBUG]	Load a row
2023-10-13	13:08:24	2590	[DEBUG]	Processing item: A_8001_22
2023-10-13	13:08:24	2590	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:24	2590	[DEBUG]	Processing product tax
2023-10-13	13:08:24	2590	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:24	2590	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:24	2590	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:24	2590	[DEBUG]	Query for Product
2023-10-13	13:08:24	2590	[DEBUG]	Executed store
2023-10-13	13:08:24	2590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8001_22','0.004','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:24	2590	[DEBUG]	Check product language entry
2023-10-13	13:08:24	2590	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862082
2023-10-13	13:08:24	2590	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:24	2590	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8001_22' AND `virtuemart_product_id` != 1862082
2023-10-13	13:08:24	2590	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:24	2590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862082, 'A_8001_22')
2023-10-13	13:08:24	2590	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:24	2590	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-plaquettes-de-frein-tektro-volans-auriga-e-sub-sub-t-win-suntour-db8-bleu' AND `virtuemart_product_id` != 1862082
2023-10-13	13:08:24	2590	[DEBUG]	Query for ProductLang
2023-10-13	13:08:24	2590	[DEBUG]	Executed store
2023-10-13	13:08:24	2590	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. semi-métalliques,  Magura MT 2,4,6,8<br>N° art fourn : H8159R',`product_name`='SRAM Plaquettes de frein Tektro Volans, Auriga, E-Sub, SUB, T-Win, suntour DB8 / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-plaquettes-de-frein-tektro-volans-auriga-e-sub-sub-t-win-suntour-db8-bleu' WHERE `virtuemart_product_id` = '1862082'
2023-10-13	13:08:24	2590	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36484_plaquettes_de_frein_tektro_volans,_auriga,_e-sub,_sub,_t-win,_suntour_db8.jpg
2023-10-13	13:08:24	2590	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:24	2590	[DEBUG]	Process image file
2023-10-13	13:08:24	2590	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:24	2590	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:24	2590	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36484_plaquettes_de_frein_tektro_volans,_auriga,_e-sub,_sub,_t-win,_suntour_db8.jpg
2023-10-13	13:08:24	2590	[DEBUG]	Full name target: bcprisme/36484_plaquettes_de_frein_tektro_volans,_auriga,_e-sub,_sub,_t-win,_suntour_db8.jpg
2023-10-13	13:08:25	2590	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:25	2590	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36484_plaquettes_de_frein_tektro_volans,_auriga,_e-sub,_sub,_t-win,_suntour_db8.jpg'
2023-10-13	13:08:25	2590	[DEBUG]	Query for Media
2023-10-13	13:08:25	2590	[DEBUG]	Executed store
2023-10-13	13:08:25	2590	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36484_plaquettes_de_frein_tektro_volans,_auriga,_e-sub,_sub,_t-win,_suntour_db8.jpg',`file_url_thumb`='bcprisme/36484_plaquettes_de_frein_tektro_volans,_auriga,_e-sub,_sub,_t-win,_suntour_db8.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '587185'
2023-10-13	13:08:25	2590	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:25	2590	[DEBUG]	Executed store
2023-10-13	13:08:25	2590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862082','587185','1')
2023-10-13	13:08:25	2590	[DEBUG]	Store product image relation
2023-10-13	13:08:25	2590	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:25	2590	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862082 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:25	2590	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:25	2590	[DEBUG]	Executed store
2023-10-13	13:08:25	2590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862082','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:25	2590	[DEBUG]	Checking manufacturer
2023-10-13	13:08:25	2590	[DEBUG]	Load a row
2023-10-13	13:08:25	2590	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:25	2590	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:08:25	2590	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:25	2590	[DEBUG]	Executed store
2023-10-13	13:08:25	2590	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:08:25	2590	[DEBUG]	Manufacturer exists
2023-10-13	13:08:25	2590	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:08:25	2590	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:25	2590	[DEBUG]	Executed store
2023-10-13	13:08:25	2590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862082','35')
2023-10-13	13:08:25	2590	[DEBUG]	Find the custom field ID
2023-10-13	13:08:25	2590	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:25	2590	[DEBUG]	No custom field ID found
2023-10-13	13:08:25	2590	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:25	2590	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:08:25	2590	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862082 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:25	2590	[DEBUG]	Store custom available field
2023-10-13	13:08:25	2590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862082,3,'16.8530555555556',1)
2023-10-13	13:08:25	2590	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:25	2590	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:25	2590	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862082 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:25	2590	[DEBUG]	Store custom available field
2023-10-13	13:08:25	2590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862082,6,'choisir la taille',3)
2023-10-13	13:08:25	2590	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:25	2590	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:25	2590	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:25	2590	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:25	2590	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862082 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:25	2590	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:25	2590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862082,8,1)
2023-10-13	13:08:25	2590	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:25	2590	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862082\":[1862082,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862082
2023-10-13	13:08:25	2590	[DEBUG]	Checking category
2023-10-13	13:08:25	2590	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:25	2590	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862082
2023-10-13	13:08:25	2590	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:25	2590	[DEBUG]	Executed store
2023-10-13	13:08:25	2590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862082','7345')
2023-10-13	13:08:25	2590	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:25	2590	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862082 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:25	2590	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:25	2590	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862082
2023-10-13	13:08:25	2591	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:25	2591	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:25	2591	[DEBUG]	Use field value for field taille
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:25	2591	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:25	2591	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:25	2591	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:25	2591	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:25	2591	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:25	2591	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:25	2591	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:25	2591	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:25	2591	[DEBUG]	Use field value for field published
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:25	2591	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field override
2023-10-13	13:08:25	2591	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:25	2591	[DEBUG]	Use field value for field slug
2023-10-13	13:08:25	2591	[DEBUG]	Process line 2591
2023-10-13	13:08:25	2591	[DEBUG]	Load a row
2023-10-13	13:08:25	2591	[DEBUG]	Processing item: 8716683074499
2023-10-13	13:08:25	2591	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:25	2591	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:25	2591	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8001_22'
2023-10-13	13:08:25	2591	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:25	2591	[DEBUG]	Processing product tax
2023-10-13	13:08:25	2591	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:25	2591	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:25	2591	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:25	2591	[DEBUG]	Query for Product
2023-10-13	13:08:25	2591	[DEBUG]	Executed store
2023-10-13	13:08:25	2591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862082','8716683074499','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:25	2591	[DEBUG]	No parent found
2023-10-13	13:08:25	2591	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862082 AND customfield_value = 'stockable'
2023-10-13	13:08:25	2591	[DEBUG]	Check product language entry
2023-10-13	13:08:25	2591	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862083
2023-10-13	13:08:25	2591	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:25	2591	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8716683074499' AND `virtuemart_product_id` != 1862083
2023-10-13	13:08:25	2591	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:25	2591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862083, '8716683074499')
2023-10-13	13:08:25	2591	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:25	2591	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-plaquettes-de-frein-tektro-volans-auriga-e-sub-sub-t-win-suntour-db8-bleu-unitaire' AND `virtuemart_product_id` != 1862083
2023-10-13	13:08:25	2591	[DEBUG]	Query for ProductLang
2023-10-13	13:08:25	2591	[DEBUG]	Executed store
2023-10-13	13:08:25	2591	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Plaquettes de frein Tektro Volans, Auriga, E-Sub, SUB, T-Win, suntour DB8 / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-plaquettes-de-frein-tektro-volans-auriga-e-sub-sub-t-win-suntour-db8-bleu-unitaire' WHERE `virtuemart_product_id` = '1862083'
2023-10-13	13:08:25	2591	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36484_plaquettes_de_frein_tektro_volans,_auriga,_e-sub,_sub,_t-win,_suntour_db8.jpg
2023-10-13	13:08:25	2591	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:25	2591	[DEBUG]	Process image file
2023-10-13	13:08:25	2591	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:25	2591	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:25	2591	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36484_plaquettes_de_frein_tektro_volans,_auriga,_e-sub,_sub,_t-win,_suntour_db8.jpg
2023-10-13	13:08:25	2591	[DEBUG]	Full name target: bcprisme/36484_plaquettes_de_frein_tektro_volans,_auriga,_e-sub,_sub,_t-win,_suntour_db8.jpg
2023-10-13	13:08:26	2591	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:26	2591	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36484_plaquettes_de_frein_tektro_volans,_auriga,_e-sub,_sub,_t-win,_suntour_db8.jpg'
2023-10-13	13:08:26	2591	[DEBUG]	Query for Media
2023-10-13	13:08:26	2591	[DEBUG]	Executed store
2023-10-13	13:08:26	2591	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36484_plaquettes_de_frein_tektro_volans,_auriga,_e-sub,_sub,_t-win,_suntour_db8.jpg',`file_url_thumb`='bcprisme/36484_plaquettes_de_frein_tektro_volans,_auriga,_e-sub,_sub,_t-win,_suntour_db8.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '587185'
2023-10-13	13:08:26	2591	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:26	2591	[DEBUG]	Executed store
2023-10-13	13:08:26	2591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862083','587185','1')
2023-10-13	13:08:26	2591	[DEBUG]	Store product image relation
2023-10-13	13:08:26	2591	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:26	2591	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862083 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:26	2591	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:26	2591	[DEBUG]	Executed store
2023-10-13	13:08:26	2591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862083','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:26	2591	[DEBUG]	Checking manufacturer
2023-10-13	13:08:26	2591	[DEBUG]	Load a row
2023-10-13	13:08:26	2591	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:26	2591	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:08:26	2591	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:26	2591	[DEBUG]	Executed store
2023-10-13	13:08:26	2591	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:08:26	2591	[DEBUG]	Manufacturer exists
2023-10-13	13:08:26	2591	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:08:26	2591	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:26	2591	[DEBUG]	Executed store
2023-10-13	13:08:26	2591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862083','35')
2023-10-13	13:08:26	2591	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:26	2591	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:26	2591	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862083 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:26	2591	[DEBUG]	Store custom available field
2023-10-13	13:08:26	2591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862083,3,'',1)
2023-10-13	13:08:26	2591	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:26	2591	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:08:26	2591	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862083 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:26	2591	[DEBUG]	Store custom available field
2023-10-13	13:08:26	2591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862083,6,'Unitaire',3)
2023-10-13	13:08:26	2591	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:26	2591	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:26	2591	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862082
2023-10-13	13:08:26	2591	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:26	2591	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862082\":[1862082,8,1,\"choisir la taille\"],\"1862083\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862082
2023-10-13	13:08:26	2591	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:26	2591	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862083
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:26	2592	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field taille
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:26	2592	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:26	2592	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:26	2592	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:26	2592	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:26	2592	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:26	2592	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field published
2023-10-13	13:08:26	2592	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:26	2592	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field override
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:26	2592	[DEBUG]	Use field value for field slug
2023-10-13	13:08:26	2592	[DEBUG]	Process line 2592
2023-10-13	13:08:26	2592	[DEBUG]	Load a row
2023-10-13	13:08:26	2592	[DEBUG]	Processing item: A_8038_1
2023-10-13	13:08:26	2592	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:26	2592	[DEBUG]	Processing product tax
2023-10-13	13:08:26	2592	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:26	2592	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:26	2592	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:26	2592	[DEBUG]	Query for Product
2023-10-13	13:08:26	2592	[DEBUG]	Executed store
2023-10-13	13:08:26	2592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8038_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:26	2592	[DEBUG]	Check product language entry
2023-10-13	13:08:26	2592	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862084
2023-10-13	13:08:26	2592	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:26	2592	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8038_1' AND `virtuemart_product_id` != 1862084
2023-10-13	13:08:26	2592	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:26	2592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862084, 'A_8038_1')
2023-10-13	13:08:26	2592	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:26	2592	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'brake-authority-plaquette-brake-authorithy-formula-oro-burly-noir' AND `virtuemart_product_id` != 1862084
2023-10-13	13:08:26	2592	[DEBUG]	Query for ProductLang
2023-10-13	13:08:26	2592	[DEBUG]	Executed store
2023-10-13	13:08:26	2592	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.505.B',`product_name`='BRAKE AUTHORITY Plaquette Brake Authorithy Formula Oro Burly  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='brake-authority-plaquette-brake-authorithy-formula-oro-burly-noir' WHERE `virtuemart_product_id` = '1862084'
2023-10-13	13:08:26	2592	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36542_plaquette_brake_authorithy_formula_oro_burly_.jpg
2023-10-13	13:08:26	2592	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:08:26	2592	[DEBUG]	Process image file
2023-10-13	13:08:26	2592	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:08:26	2592	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:26	2592	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36542_plaquette_brake_authorithy_formula_oro_burly_.jpg
2023-10-13	13:08:26	2592	[DEBUG]	Full name target: bcprisme/36542_plaquette_brake_authorithy_formula_oro_burly_.jpg
2023-10-13	13:08:27	2592	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:27	2592	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36542_plaquette_brake_authorithy_formula_oro_burly_.jpg'
2023-10-13	13:08:27	2592	[DEBUG]	Query for Media
2023-10-13	13:08:27	2592	[DEBUG]	Executed store
2023-10-13	13:08:27	2592	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36542_plaquette_brake_authorithy_formula_oro_burly_.jpg',`file_url_thumb`='bcprisme/36542_plaquette_brake_authorithy_formula_oro_burly_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '787782'
2023-10-13	13:08:27	2592	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:27	2592	[DEBUG]	Executed store
2023-10-13	13:08:27	2592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862084','787782','1')
2023-10-13	13:08:27	2592	[DEBUG]	Store product image relation
2023-10-13	13:08:27	2592	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:27	2592	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862084 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:27	2592	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:27	2592	[DEBUG]	Executed store
2023-10-13	13:08:27	2592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862084','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:27	2592	[DEBUG]	Checking manufacturer
2023-10-13	13:08:27	2592	[DEBUG]	Load a row
2023-10-13	13:08:27	2592	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:27	2592	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:08:27	2592	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:27	2592	[DEBUG]	Executed store
2023-10-13	13:08:27	2592	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331209444664' WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:08:27	2592	[DEBUG]	Manufacturer exists
2023-10-13	13:08:27	2592	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 161
2023-10-13	13:08:27	2592	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:27	2592	[DEBUG]	Executed store
2023-10-13	13:08:27	2592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862084','161')
2023-10-13	13:08:27	2592	[DEBUG]	Find the custom field ID
2023-10-13	13:08:27	2592	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:27	2592	[DEBUG]	No custom field ID found
2023-10-13	13:08:27	2592	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:27	2592	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:08:27	2592	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862084 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:27	2592	[DEBUG]	Store custom available field
2023-10-13	13:08:27	2592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862084,3,'0',1)
2023-10-13	13:08:27	2592	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:27	2592	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:27	2592	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862084 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:27	2592	[DEBUG]	Store custom available field
2023-10-13	13:08:27	2592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862084,6,'choisir la taille',3)
2023-10-13	13:08:27	2592	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:27	2592	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:27	2592	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:27	2592	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:27	2592	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862084 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:27	2592	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:27	2592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862084,8,1)
2023-10-13	13:08:27	2592	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:27	2592	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862084\":[1862084,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862084
2023-10-13	13:08:27	2592	[DEBUG]	Checking category
2023-10-13	13:08:27	2592	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:27	2592	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862084
2023-10-13	13:08:27	2592	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:27	2592	[DEBUG]	Executed store
2023-10-13	13:08:27	2592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862084','7345')
2023-10-13	13:08:27	2592	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:27	2592	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862084 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:27	2592	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:27	2592	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862084
2023-10-13	13:08:27	2593	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:27	2593	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:27	2593	[DEBUG]	Use field value for field taille
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:27	2593	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:27	2593	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:27	2593	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:27	2593	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:27	2593	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:27	2593	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:27	2593	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:27	2593	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:27	2593	[DEBUG]	Use field value for field published
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:27	2593	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field override
2023-10-13	13:08:27	2593	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:27	2593	[DEBUG]	Use field value for field slug
2023-10-13	13:08:27	2593	[DEBUG]	Process line 2593
2023-10-13	13:08:27	2593	[DEBUG]	Load a row
2023-10-13	13:08:27	2593	[DEBUG]	Processing item: 3700692702523
2023-10-13	13:08:27	2593	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:27	2593	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:27	2593	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8038_1'
2023-10-13	13:08:27	2593	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:27	2593	[DEBUG]	Processing product tax
2023-10-13	13:08:27	2593	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:27	2593	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:27	2593	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:27	2593	[DEBUG]	Query for Product
2023-10-13	13:08:27	2593	[DEBUG]	Executed store
2023-10-13	13:08:27	2593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862084','3700692702523','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:27	2593	[DEBUG]	No parent found
2023-10-13	13:08:27	2593	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862084 AND customfield_value = 'stockable'
2023-10-13	13:08:27	2593	[DEBUG]	Check product language entry
2023-10-13	13:08:27	2593	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862085
2023-10-13	13:08:27	2593	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:27	2593	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3700692702523' AND `virtuemart_product_id` != 1862085
2023-10-13	13:08:27	2593	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:27	2593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862085, '3700692702523')
2023-10-13	13:08:27	2593	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:27	2593	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'brake-authority-plaquette-brake-authorithy-formula-oro-burly-noir-unitaire' AND `virtuemart_product_id` != 1862085
2023-10-13	13:08:27	2593	[DEBUG]	Query for ProductLang
2023-10-13	13:08:27	2593	[DEBUG]	Executed store
2023-10-13	13:08:27	2593	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BRAKE AUTHORITY Plaquette Brake Authorithy Formula Oro Burly  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='brake-authority-plaquette-brake-authorithy-formula-oro-burly-noir-unitaire' WHERE `virtuemart_product_id` = '1862085'
2023-10-13	13:08:27	2593	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36542_plaquette_brake_authorithy_formula_oro_burly_.jpg
2023-10-13	13:08:27	2593	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:08:27	2593	[DEBUG]	Process image file
2023-10-13	13:08:27	2593	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:08:27	2593	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:27	2593	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36542_plaquette_brake_authorithy_formula_oro_burly_.jpg
2023-10-13	13:08:27	2593	[DEBUG]	Full name target: bcprisme/36542_plaquette_brake_authorithy_formula_oro_burly_.jpg
2023-10-13	13:08:28	2593	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:28	2593	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36542_plaquette_brake_authorithy_formula_oro_burly_.jpg'
2023-10-13	13:08:28	2593	[DEBUG]	Query for Media
2023-10-13	13:08:28	2593	[DEBUG]	Executed store
2023-10-13	13:08:28	2593	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36542_plaquette_brake_authorithy_formula_oro_burly_.jpg',`file_url_thumb`='bcprisme/36542_plaquette_brake_authorithy_formula_oro_burly_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '787782'
2023-10-13	13:08:28	2593	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:28	2593	[DEBUG]	Executed store
2023-10-13	13:08:28	2593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862085','787782','1')
2023-10-13	13:08:28	2593	[DEBUG]	Store product image relation
2023-10-13	13:08:28	2593	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:28	2593	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862085 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:28	2593	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:28	2593	[DEBUG]	Executed store
2023-10-13	13:08:28	2593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862085','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:28	2593	[DEBUG]	Checking manufacturer
2023-10-13	13:08:28	2593	[DEBUG]	Load a row
2023-10-13	13:08:28	2593	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:28	2593	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:08:28	2593	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:28	2593	[DEBUG]	Executed store
2023-10-13	13:08:28	2593	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331209444664' WHERE `virtuemart_manufacturer_id` = '161'
2023-10-13	13:08:28	2593	[DEBUG]	Manufacturer exists
2023-10-13	13:08:28	2593	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 161
2023-10-13	13:08:28	2593	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:28	2593	[DEBUG]	Executed store
2023-10-13	13:08:28	2593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862085','161')
2023-10-13	13:08:28	2593	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:28	2593	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:28	2593	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862085 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:28	2593	[DEBUG]	Store custom available field
2023-10-13	13:08:28	2593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862085,3,'',1)
2023-10-13	13:08:28	2593	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:28	2593	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:08:28	2593	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862085 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:28	2593	[DEBUG]	Store custom available field
2023-10-13	13:08:28	2593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862085,6,'Unitaire',3)
2023-10-13	13:08:28	2593	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:28	2593	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:28	2593	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862084
2023-10-13	13:08:28	2593	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:28	2593	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862084\":[1862084,8,1,\"choisir la taille\"],\"1862085\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862084
2023-10-13	13:08:28	2593	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:28	2593	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862085
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:28	2594	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field taille
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:28	2594	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:28	2594	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:28	2594	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:28	2594	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:28	2594	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:28	2594	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field published
2023-10-13	13:08:28	2594	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:28	2594	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field override
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:28	2594	[DEBUG]	Use field value for field slug
2023-10-13	13:08:28	2594	[DEBUG]	Process line 2594
2023-10-13	13:08:28	2594	[DEBUG]	Load a row
2023-10-13	13:08:28	2594	[DEBUG]	Processing item: A_8159_1
2023-10-13	13:08:28	2594	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:28	2594	[DEBUG]	Processing product tax
2023-10-13	13:08:28	2594	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:28	2594	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:28	2594	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:28	2594	[DEBUG]	Query for Product
2023-10-13	13:08:28	2594	[DEBUG]	Executed store
2023-10-13	13:08:28	2594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8159_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:28	2594	[DEBUG]	Check product language entry
2023-10-13	13:08:28	2594	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862086
2023-10-13	13:08:28	2594	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:28	2594	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8159_1' AND `virtuemart_product_id` != 1862086
2023-10-13	13:08:28	2594	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:28	2594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862086, 'A_8159_1')
2023-10-13	13:08:28	2594	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:28	2594	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-e4-organique-noir' AND `virtuemart_product_id` != 1862086
2023-10-13	13:08:28	2594	[DEBUG]	Query for ProductLang
2023-10-13	13:08:28	2594	[DEBUG]	Executed store
2023-10-13	13:08:28	2594	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='H8230RNuméro de fabricant    BBS-591 2905735911Brand    BBBEAN    8716683106152Description    Plaquettes frein Hope E4 organique, 1 paire<br>conforme à: Hope E4. Fabriquées à partir de notre composé organique High Performance pour obtenir les meilleurs résultats dans des conditions d\'all-round cross country compétition.Note : Ces plaquettes de frein sont pour disques en acier inoxydable uniquement.Jeu de 2 pièces.<br>N° art fourn : H8230R',`product_name`='MSC Plaquettes de freins Hope E4 organique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-e4-organique-noir' WHERE `virtuemart_product_id` = '1862086'
2023-10-13	13:08:28	2594	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36717_plaquettes_de_freins_hope_e4_organique.jpg
2023-10-13	13:08:28	2594	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:28	2594	[DEBUG]	Process image file
2023-10-13	13:08:28	2594	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:28	2594	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:28	2594	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36717_plaquettes_de_freins_hope_e4_organique.jpg
2023-10-13	13:08:28	2594	[DEBUG]	Full name target: bcprisme/36717_plaquettes_de_freins_hope_e4_organique.jpg
2023-10-13	13:08:29	2594	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:29	2594	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36717_plaquettes_de_freins_hope_e4_organique.jpg'
2023-10-13	13:08:29	2594	[DEBUG]	Query for Media
2023-10-13	13:08:29	2594	[DEBUG]	Executed store
2023-10-13	13:08:29	2594	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36717_plaquettes_de_freins_hope_e4_organique.jpg',`file_url_thumb`='bcprisme/36717_plaquettes_de_freins_hope_e4_organique.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '686546'
2023-10-13	13:08:29	2594	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:29	2594	[DEBUG]	Executed store
2023-10-13	13:08:29	2594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862086','686546','1')
2023-10-13	13:08:29	2594	[DEBUG]	Store product image relation
2023-10-13	13:08:29	2594	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:29	2594	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862086 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:29	2594	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:29	2594	[DEBUG]	Executed store
2023-10-13	13:08:29	2594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862086','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:29	2594	[DEBUG]	Checking manufacturer
2023-10-13	13:08:29	2594	[DEBUG]	Load a row
2023-10-13	13:08:29	2594	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:29	2594	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:29	2594	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:29	2594	[DEBUG]	Executed store
2023-10-13	13:08:29	2594	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:29	2594	[DEBUG]	Manufacturer exists
2023-10-13	13:08:29	2594	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:08:29	2594	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:29	2594	[DEBUG]	Executed store
2023-10-13	13:08:29	2594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862086','32')
2023-10-13	13:08:29	2594	[DEBUG]	Find the custom field ID
2023-10-13	13:08:29	2594	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:29	2594	[DEBUG]	No custom field ID found
2023-10-13	13:08:29	2594	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:29	2594	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:08:29	2594	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862086 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:29	2594	[DEBUG]	Store custom available field
2023-10-13	13:08:29	2594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862086,3,'12.8641666666667',1)
2023-10-13	13:08:29	2594	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:29	2594	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:29	2594	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862086 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:29	2594	[DEBUG]	Store custom available field
2023-10-13	13:08:29	2594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862086,6,'choisir la taille',3)
2023-10-13	13:08:29	2594	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:29	2594	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:29	2594	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:29	2594	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:29	2594	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862086 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:29	2594	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:29	2594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862086,8,1)
2023-10-13	13:08:29	2594	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:29	2594	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862086\":[1862086,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862086
2023-10-13	13:08:29	2594	[DEBUG]	Checking category
2023-10-13	13:08:29	2594	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:29	2594	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862086
2023-10-13	13:08:29	2594	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:29	2594	[DEBUG]	Executed store
2023-10-13	13:08:29	2594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862086','7345')
2023-10-13	13:08:29	2594	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:29	2594	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862086 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:29	2594	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:29	2594	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862086
2023-10-13	13:08:29	2595	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:29	2595	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:29	2595	[DEBUG]	Use field value for field taille
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:29	2595	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:29	2595	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:29	2595	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:29	2595	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:29	2595	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:29	2595	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:29	2595	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:29	2595	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:29	2595	[DEBUG]	Use field value for field published
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:29	2595	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field override
2023-10-13	13:08:29	2595	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:29	2595	[DEBUG]	Use field value for field slug
2023-10-13	13:08:29	2595	[DEBUG]	Process line 2595
2023-10-13	13:08:29	2595	[DEBUG]	Load a row
2023-10-13	13:08:29	2595	[DEBUG]	Processing item: 8716683106152
2023-10-13	13:08:29	2595	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:29	2595	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:29	2595	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8159_1'
2023-10-13	13:08:29	2595	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:29	2595	[DEBUG]	Processing product tax
2023-10-13	13:08:29	2595	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:29	2595	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:29	2595	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:29	2595	[DEBUG]	Query for Product
2023-10-13	13:08:29	2595	[DEBUG]	Executed store
2023-10-13	13:08:29	2595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862086','8716683106152','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:29	2595	[DEBUG]	No parent found
2023-10-13	13:08:29	2595	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862086 AND customfield_value = 'stockable'
2023-10-13	13:08:29	2595	[DEBUG]	Check product language entry
2023-10-13	13:08:29	2595	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862087
2023-10-13	13:08:29	2595	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:29	2595	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8716683106152' AND `virtuemart_product_id` != 1862087
2023-10-13	13:08:29	2595	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:29	2595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862087, '8716683106152')
2023-10-13	13:08:29	2595	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:29	2595	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-hope-e4-organique-noir-set' AND `virtuemart_product_id` != 1862087
2023-10-13	13:08:29	2595	[DEBUG]	Query for ProductLang
2023-10-13	13:08:29	2595	[DEBUG]	Executed store
2023-10-13	13:08:29	2595	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins Hope E4 organique / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-hope-e4-organique-noir-set' WHERE `virtuemart_product_id` = '1862087'
2023-10-13	13:08:29	2595	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36717_plaquettes_de_freins_hope_e4_organique.jpg
2023-10-13	13:08:29	2595	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:29	2595	[DEBUG]	Process image file
2023-10-13	13:08:29	2595	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:29	2595	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:29	2595	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36717_plaquettes_de_freins_hope_e4_organique.jpg
2023-10-13	13:08:29	2595	[DEBUG]	Full name target: bcprisme/36717_plaquettes_de_freins_hope_e4_organique.jpg
2023-10-13	13:08:30	2595	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:30	2595	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36717_plaquettes_de_freins_hope_e4_organique.jpg'
2023-10-13	13:08:30	2595	[DEBUG]	Query for Media
2023-10-13	13:08:30	2595	[DEBUG]	Executed store
2023-10-13	13:08:30	2595	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36717_plaquettes_de_freins_hope_e4_organique.jpg',`file_url_thumb`='bcprisme/36717_plaquettes_de_freins_hope_e4_organique.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '686546'
2023-10-13	13:08:30	2595	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:30	2595	[DEBUG]	Executed store
2023-10-13	13:08:30	2595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862087','686546','1')
2023-10-13	13:08:30	2595	[DEBUG]	Store product image relation
2023-10-13	13:08:30	2595	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:30	2595	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862087 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:30	2595	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:30	2595	[DEBUG]	Executed store
2023-10-13	13:08:30	2595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862087','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:30	2595	[DEBUG]	Checking manufacturer
2023-10-13	13:08:30	2595	[DEBUG]	Load a row
2023-10-13	13:08:30	2595	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:30	2595	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:30	2595	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:30	2595	[DEBUG]	Executed store
2023-10-13	13:08:30	2595	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:30	2595	[DEBUG]	Manufacturer exists
2023-10-13	13:08:30	2595	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:08:30	2595	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:30	2595	[DEBUG]	Executed store
2023-10-13	13:08:30	2595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862087','32')
2023-10-13	13:08:30	2595	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:30	2595	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:30	2595	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862087 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:30	2595	[DEBUG]	Store custom available field
2023-10-13	13:08:30	2595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862087,3,'',1)
2023-10-13	13:08:30	2595	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:30	2595	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:08:30	2595	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862087 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:30	2595	[DEBUG]	Store custom available field
2023-10-13	13:08:30	2595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862087,6,'Set',3)
2023-10-13	13:08:30	2595	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:30	2595	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:30	2595	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862086
2023-10-13	13:08:30	2595	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:30	2595	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862086\":[1862086,8,1,\"choisir la taille\"],\"1862087\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862086
2023-10-13	13:08:30	2595	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:30	2595	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862087
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:30	2596	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field taille
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:30	2596	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:30	2596	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:30	2596	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:30	2596	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:30	2596	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:30	2596	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field published
2023-10-13	13:08:30	2596	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:30	2596	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field override
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:30	2596	[DEBUG]	Use field value for field slug
2023-10-13	13:08:30	2596	[DEBUG]	Process line 2596
2023-10-13	13:08:30	2596	[DEBUG]	Load a row
2023-10-13	13:08:30	2596	[DEBUG]	Processing item: A_8275_208
2023-10-13	13:08:30	2596	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:30	2596	[DEBUG]	Processing product tax
2023-10-13	13:08:30	2596	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:30	2596	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:30	2596	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:30	2596	[DEBUG]	Query for Product
2023-10-13	13:08:30	2596	[DEBUG]	Executed store
2023-10-13	13:08:30	2596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8275_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:30	2596	[DEBUG]	Check product language entry
2023-10-13	13:08:30	2596	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862088
2023-10-13	13:08:30	2596	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:30	2596	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8275_208' AND `virtuemart_product_id` != 1862088
2023-10-13	13:08:30	2596	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:30	2596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862088, 'A_8275_208')
2023-10-13	13:08:30	2596	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:30	2596	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-k03s-resin-avec-ressort-et-goupille-fendue-paires-aucune' AND `virtuemart_product_id` != 1862088
2023-10-13	13:08:30	2596	[DEBUG]	Query for ProductLang
2023-10-13	13:08:30	2596	[DEBUG]	Executed store
2023-10-13	13:08:30	2596	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.75373',`product_name`='SHIMANO plaquettes K03S résin avec ressort et goupille fendue paires / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-k03s-resin-avec-ressort-et-goupille-fendue-paires-aucune' WHERE `virtuemart_product_id` = '1862088'
2023-10-13	13:08:30	2596	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75373_prov_jpg.jpg
2023-10-13	13:08:30	2596	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:30	2596	[DEBUG]	Process image file
2023-10-13	13:08:30	2596	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:30	2596	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:30	2596	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75373_prov_jpg.jpg
2023-10-13	13:08:30	2596	[DEBUG]	Full name target: bcprisme/73_75373_prov_jpg.jpg
2023-10-13	13:08:31	2596	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:31	2596	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75373_prov_jpg.jpg'
2023-10-13	13:08:31	2596	[DEBUG]	Query for Media
2023-10-13	13:08:31	2596	[DEBUG]	Executed store
2023-10-13	13:08:31	2596	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75373_prov_jpg.jpg',`file_url_thumb`='bcprisme/73_75373_prov_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '747110'
2023-10-13	13:08:31	2596	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:31	2596	[DEBUG]	Executed store
2023-10-13	13:08:31	2596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862088','747110','1')
2023-10-13	13:08:31	2596	[DEBUG]	Store product image relation
2023-10-13	13:08:31	2596	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:31	2596	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862088 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:31	2596	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:31	2596	[DEBUG]	Executed store
2023-10-13	13:08:31	2596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862088','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:31	2596	[DEBUG]	Checking manufacturer
2023-10-13	13:08:31	2596	[DEBUG]	Load a row
2023-10-13	13:08:31	2596	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:31	2596	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:31	2596	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:31	2596	[DEBUG]	Executed store
2023-10-13	13:08:31	2596	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:31	2596	[DEBUG]	Manufacturer exists
2023-10-13	13:08:31	2596	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:08:31	2596	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:31	2596	[DEBUG]	Executed store
2023-10-13	13:08:31	2596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862088','26')
2023-10-13	13:08:31	2596	[DEBUG]	Find the custom field ID
2023-10-13	13:08:31	2596	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:31	2596	[DEBUG]	No custom field ID found
2023-10-13	13:08:31	2596	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:31	2596	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:08:31	2596	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862088 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:31	2596	[DEBUG]	Store custom available field
2023-10-13	13:08:31	2596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862088,3,'0',1)
2023-10-13	13:08:31	2596	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:31	2596	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:31	2596	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862088 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:31	2596	[DEBUG]	Store custom available field
2023-10-13	13:08:31	2596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862088,6,'choisir la taille',3)
2023-10-13	13:08:31	2596	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:31	2596	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:31	2596	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:31	2596	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:31	2596	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862088 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:31	2596	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:31	2596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862088,8,1)
2023-10-13	13:08:31	2596	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:31	2596	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862088\":[1862088,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862088
2023-10-13	13:08:31	2596	[DEBUG]	Checking category
2023-10-13	13:08:31	2596	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:31	2596	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862088
2023-10-13	13:08:31	2596	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:31	2596	[DEBUG]	Executed store
2023-10-13	13:08:31	2596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862088','7345')
2023-10-13	13:08:31	2596	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:31	2596	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862088 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:31	2596	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:31	2596	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862088
2023-10-13	13:08:31	2597	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:31	2597	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:31	2597	[DEBUG]	Use field value for field taille
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:31	2597	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:31	2597	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:31	2597	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:31	2597	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:31	2597	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:31	2597	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:31	2597	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:31	2597	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:31	2597	[DEBUG]	Use field value for field published
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:31	2597	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field override
2023-10-13	13:08:31	2597	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:31	2597	[DEBUG]	Use field value for field slug
2023-10-13	13:08:31	2597	[DEBUG]	Process line 2597
2023-10-13	13:08:31	2597	[DEBUG]	Load a row
2023-10-13	13:08:31	2597	[DEBUG]	Processing item: 4550170451738
2023-10-13	13:08:31	2597	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:31	2597	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:31	2597	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8275_208'
2023-10-13	13:08:31	2597	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:31	2597	[DEBUG]	Processing product tax
2023-10-13	13:08:31	2597	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:31	2597	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:31	2597	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:31	2597	[DEBUG]	Query for Product
2023-10-13	13:08:31	2597	[DEBUG]	Executed store
2023-10-13	13:08:31	2597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862088','4550170451738','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:31	2597	[DEBUG]	No parent found
2023-10-13	13:08:31	2597	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862088 AND customfield_value = 'stockable'
2023-10-13	13:08:31	2597	[DEBUG]	Check product language entry
2023-10-13	13:08:31	2597	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862089
2023-10-13	13:08:31	2597	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:31	2597	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170451738' AND `virtuemart_product_id` != 1862089
2023-10-13	13:08:31	2597	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:31	2597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862089, '4550170451738')
2023-10-13	13:08:31	2597	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:31	2597	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-k03s-resin-avec-ressort-et-goupille-fendue-paires-aucune-unitaire' AND `virtuemart_product_id` != 1862089
2023-10-13	13:08:31	2597	[DEBUG]	Query for ProductLang
2023-10-13	13:08:31	2597	[DEBUG]	Executed store
2023-10-13	13:08:31	2597	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO plaquettes K03S résin avec ressort et goupille fendue paires / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-k03s-resin-avec-ressort-et-goupille-fendue-paires-aucune-unitaire' WHERE `virtuemart_product_id` = '1862089'
2023-10-13	13:08:31	2597	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75373_prov_jpg.jpg
2023-10-13	13:08:31	2597	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:31	2597	[DEBUG]	Process image file
2023-10-13	13:08:31	2597	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:31	2597	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:31	2597	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75373_prov_jpg.jpg
2023-10-13	13:08:31	2597	[DEBUG]	Full name target: bcprisme/73_75373_prov_jpg.jpg
2023-10-13	13:08:32	2597	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:32	2597	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75373_prov_jpg.jpg'
2023-10-13	13:08:32	2597	[DEBUG]	Query for Media
2023-10-13	13:08:32	2597	[DEBUG]	Executed store
2023-10-13	13:08:32	2597	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75373_prov_jpg.jpg',`file_url_thumb`='bcprisme/73_75373_prov_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '747110'
2023-10-13	13:08:32	2597	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:32	2597	[DEBUG]	Executed store
2023-10-13	13:08:32	2597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862089','747110','1')
2023-10-13	13:08:32	2597	[DEBUG]	Store product image relation
2023-10-13	13:08:32	2597	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:32	2597	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862089 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:32	2597	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:32	2597	[DEBUG]	Executed store
2023-10-13	13:08:32	2597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862089','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:32	2597	[DEBUG]	Checking manufacturer
2023-10-13	13:08:32	2597	[DEBUG]	Load a row
2023-10-13	13:08:32	2597	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:32	2597	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:32	2597	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:32	2597	[DEBUG]	Executed store
2023-10-13	13:08:32	2597	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:32	2597	[DEBUG]	Manufacturer exists
2023-10-13	13:08:32	2597	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:08:32	2597	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:32	2597	[DEBUG]	Executed store
2023-10-13	13:08:32	2597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862089','26')
2023-10-13	13:08:32	2597	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:32	2597	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:32	2597	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862089 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:32	2597	[DEBUG]	Store custom available field
2023-10-13	13:08:32	2597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862089,3,'',1)
2023-10-13	13:08:32	2597	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:32	2597	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:08:32	2597	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862089 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:32	2597	[DEBUG]	Store custom available field
2023-10-13	13:08:32	2597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862089,6,'Unitaire',3)
2023-10-13	13:08:32	2597	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:32	2597	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:32	2597	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862088
2023-10-13	13:08:32	2597	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:32	2597	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862088\":[1862088,8,1,\"choisir la taille\"],\"1862089\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862088
2023-10-13	13:08:32	2597	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:32	2597	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862089
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:32	2598	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field taille
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:32	2598	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:32	2598	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:32	2598	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:32	2598	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:32	2598	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:32	2598	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field published
2023-10-13	13:08:32	2598	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:32	2598	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field override
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:32	2598	[DEBUG]	Use field value for field slug
2023-10-13	13:08:32	2598	[DEBUG]	Process line 2598
2023-10-13	13:08:32	2598	[DEBUG]	Load a row
2023-10-13	13:08:32	2598	[DEBUG]	Processing item: A_8280_1
2023-10-13	13:08:32	2598	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:32	2598	[DEBUG]	Processing product tax
2023-10-13	13:08:32	2598	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:32	2598	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:32	2598	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:32	2598	[DEBUG]	Query for Product
2023-10-13	13:08:32	2598	[DEBUG]	Executed store
2023-10-13	13:08:32	2598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8280_1','0.004','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:32	2598	[DEBUG]	Check product language entry
2023-10-13	13:08:32	2598	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862090
2023-10-13	13:08:32	2598	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:32	2598	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8280_1' AND `virtuemart_product_id` != 1862090
2023-10-13	13:08:32	2598	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:32	2598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862090, 'A_8280_1')
2023-10-13	13:08:32	2598	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:32	2598	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tektro-plaquettes-de-frein-s20-11-resine-noir' AND `virtuemart_product_id` != 1862090
2023-10-13	13:08:32	2598	[DEBUG]	Query for ProductLang
2023-10-13	13:08:32	2598	[DEBUG]	Executed store
2023-10-13	13:08:32	2598	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plaquettes de frein disques. PROMAX DSK / XNINE<br>Eliminie le bruit, longue durée de vie<br>N° art fourn : 125046',`product_name`='Tektro Plaquettes de frein S20.11 résine / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tektro-plaquettes-de-frein-s20-11-resine-noir' WHERE `virtuemart_product_id` = '1862090'
2023-10-13	13:08:32	2598	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36893_plaquettes_de_frein_s20_11_resine.jpg
2023-10-13	13:08:32	2598	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:32	2598	[DEBUG]	Process image file
2023-10-13	13:08:32	2598	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:32	2598	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:32	2598	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36893_plaquettes_de_frein_s20_11_resine.jpg
2023-10-13	13:08:32	2598	[DEBUG]	Full name target: bcprisme/36893_plaquettes_de_frein_s20_11_resine.jpg
2023-10-13	13:08:33	2598	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:33	2598	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36893_plaquettes_de_frein_s20_11_resine.jpg'
2023-10-13	13:08:33	2598	[DEBUG]	Query for Media
2023-10-13	13:08:33	2598	[DEBUG]	Executed store
2023-10-13	13:08:33	2598	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36893_plaquettes_de_frein_s20_11_resine.jpg',`file_url_thumb`='bcprisme/36893_plaquettes_de_frein_s20_11_resine.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '757278'
2023-10-13	13:08:33	2598	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:33	2598	[DEBUG]	Executed store
2023-10-13	13:08:33	2598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862090','757278','1')
2023-10-13	13:08:33	2598	[DEBUG]	Store product image relation
2023-10-13	13:08:33	2598	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:33	2598	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862090 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:33	2598	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:33	2598	[DEBUG]	Executed store
2023-10-13	13:08:33	2598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862090','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:33	2598	[DEBUG]	Checking manufacturer
2023-10-13	13:08:33	2598	[DEBUG]	Load a row
2023-10-13	13:08:33	2598	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:33	2598	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:08:33	2598	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:33	2598	[DEBUG]	Executed store
2023-10-13	13:08:33	2598	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='81',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='81' WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:08:33	2598	[DEBUG]	Manufacturer exists
2023-10-13	13:08:33	2598	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 249
2023-10-13	13:08:33	2598	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:33	2598	[DEBUG]	Executed store
2023-10-13	13:08:33	2598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862090','249')
2023-10-13	13:08:33	2598	[DEBUG]	Find the custom field ID
2023-10-13	13:08:33	2598	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:33	2598	[DEBUG]	No custom field ID found
2023-10-13	13:08:33	2598	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:33	2598	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:08:33	2598	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862090 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:33	2598	[DEBUG]	Store custom available field
2023-10-13	13:08:33	2598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862090,3,'16.8530555555556',1)
2023-10-13	13:08:33	2598	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:33	2598	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:33	2598	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862090 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:33	2598	[DEBUG]	Store custom available field
2023-10-13	13:08:33	2598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862090,6,'choisir la taille',3)
2023-10-13	13:08:33	2598	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:33	2598	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:33	2598	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:33	2598	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:33	2598	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862090 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:33	2598	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:33	2598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862090,8,1)
2023-10-13	13:08:33	2598	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:33	2598	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862090\":[1862090,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862090
2023-10-13	13:08:33	2598	[DEBUG]	Checking category
2023-10-13	13:08:33	2598	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:33	2598	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862090
2023-10-13	13:08:33	2598	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:33	2598	[DEBUG]	Executed store
2023-10-13	13:08:33	2598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862090','7345')
2023-10-13	13:08:33	2598	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:33	2598	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862090 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:33	2598	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:33	2598	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862090
2023-10-13	13:08:33	2599	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:33	2599	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:33	2599	[DEBUG]	Use field value for field taille
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:33	2599	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:33	2599	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:33	2599	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:33	2599	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:33	2599	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:33	2599	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:33	2599	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:33	2599	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:33	2599	[DEBUG]	Use field value for field published
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:33	2599	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field override
2023-10-13	13:08:33	2599	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:33	2599	[DEBUG]	Use field value for field slug
2023-10-13	13:08:33	2599	[DEBUG]	Process line 2599
2023-10-13	13:08:33	2599	[DEBUG]	Load a row
2023-10-13	13:08:33	2599	[DEBUG]	Processing item: 4717592014822
2023-10-13	13:08:33	2599	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:33	2599	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:33	2599	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8280_1'
2023-10-13	13:08:33	2599	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:33	2599	[DEBUG]	Processing product tax
2023-10-13	13:08:33	2599	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:33	2599	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:33	2599	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:33	2599	[DEBUG]	Query for Product
2023-10-13	13:08:33	2599	[DEBUG]	Executed store
2023-10-13	13:08:33	2599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862090','4717592014822','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:33	2599	[DEBUG]	No parent found
2023-10-13	13:08:33	2599	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862090 AND customfield_value = 'stockable'
2023-10-13	13:08:33	2599	[DEBUG]	Check product language entry
2023-10-13	13:08:33	2599	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862091
2023-10-13	13:08:33	2599	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:33	2599	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4717592014822' AND `virtuemart_product_id` != 1862091
2023-10-13	13:08:33	2599	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:33	2599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862091, '4717592014822')
2023-10-13	13:08:33	2599	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:33	2599	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tektro-plaquettes-de-frein-s20-11-resine-noir-unitaire' AND `virtuemart_product_id` != 1862091
2023-10-13	13:08:33	2599	[DEBUG]	Query for ProductLang
2023-10-13	13:08:33	2599	[DEBUG]	Executed store
2023-10-13	13:08:33	2599	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Tektro Plaquettes de frein S20.11 résine / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tektro-plaquettes-de-frein-s20-11-resine-noir-unitaire' WHERE `virtuemart_product_id` = '1862091'
2023-10-13	13:08:33	2599	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36893_plaquettes_de_frein_s20_11_resine.jpg
2023-10-13	13:08:33	2599	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:33	2599	[DEBUG]	Process image file
2023-10-13	13:08:33	2599	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:08:33	2599	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:33	2599	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36893_plaquettes_de_frein_s20_11_resine.jpg
2023-10-13	13:08:33	2599	[DEBUG]	Full name target: bcprisme/36893_plaquettes_de_frein_s20_11_resine.jpg
2023-10-13	13:08:34	2599	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:34	2599	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36893_plaquettes_de_frein_s20_11_resine.jpg'
2023-10-13	13:08:34	2599	[DEBUG]	Query for Media
2023-10-13	13:08:34	2599	[DEBUG]	Executed store
2023-10-13	13:08:34	2599	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36893_plaquettes_de_frein_s20_11_resine.jpg',`file_url_thumb`='bcprisme/36893_plaquettes_de_frein_s20_11_resine.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '757278'
2023-10-13	13:08:34	2599	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:34	2599	[DEBUG]	Executed store
2023-10-13	13:08:34	2599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862091','757278','1')
2023-10-13	13:08:34	2599	[DEBUG]	Store product image relation
2023-10-13	13:08:34	2599	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:34	2599	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862091 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:34	2599	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:34	2599	[DEBUG]	Executed store
2023-10-13	13:08:34	2599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862091','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:34	2599	[DEBUG]	Checking manufacturer
2023-10-13	13:08:34	2599	[DEBUG]	Load a row
2023-10-13	13:08:34	2599	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:34	2599	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:08:34	2599	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:34	2599	[DEBUG]	Executed store
2023-10-13	13:08:34	2599	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='81',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='81' WHERE `virtuemart_manufacturer_id` = '249'
2023-10-13	13:08:34	2599	[DEBUG]	Manufacturer exists
2023-10-13	13:08:34	2599	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 249
2023-10-13	13:08:34	2599	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:34	2599	[DEBUG]	Executed store
2023-10-13	13:08:34	2599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862091','249')
2023-10-13	13:08:34	2599	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:34	2599	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:34	2599	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862091 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:34	2599	[DEBUG]	Store custom available field
2023-10-13	13:08:34	2599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862091,3,'',1)
2023-10-13	13:08:34	2599	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:34	2599	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:08:34	2599	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862091 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:34	2599	[DEBUG]	Store custom available field
2023-10-13	13:08:34	2599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862091,6,'Unitaire',3)
2023-10-13	13:08:34	2599	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:34	2599	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:34	2599	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862090
2023-10-13	13:08:34	2599	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:34	2599	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862090\":[1862090,8,1,\"choisir la taille\"],\"1862091\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862090
2023-10-13	13:08:34	2599	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:34	2599	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862091
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:34	2600	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field taille
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:34	2600	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:34	2600	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:34	2600	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:34	2600	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:34	2600	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:34	2600	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field published
2023-10-13	13:08:34	2600	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:34	2600	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field override
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:34	2600	[DEBUG]	Use field value for field slug
2023-10-13	13:08:34	2600	[DEBUG]	Process line 2600
2023-10-13	13:08:34	2600	[DEBUG]	Load a row
2023-10-13	13:08:34	2600	[DEBUG]	Processing item: A_8687_208
2023-10-13	13:08:35	2600	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:35	2600	[DEBUG]	Processing product tax
2023-10-13	13:08:35	2600	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:35	2600	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:35	2600	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:35	2600	[DEBUG]	Query for Product
2023-10-13	13:08:35	2600	[DEBUG]	Executed store
2023-10-13	13:08:35	2600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8687_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0')
2023-10-13	13:08:35	2600	[DEBUG]	Check product language entry
2023-10-13	13:08:35	2600	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862092
2023-10-13	13:08:35	2600	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:35	2600	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8687_208' AND `virtuemart_product_id` != 1862092
2023-10-13	13:08:35	2600	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:35	2600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862092, 'A_8687_208')
2023-10-13	13:08:35	2600	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:35	2600	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-shimano-b03s-resine-1-paire-aucune' AND `virtuemart_product_id` != 1862092
2023-10-13	13:08:35	2600	[DEBUG]	Query for ProductLang
2023-10-13	13:08:35	2600	[DEBUG]	Executed store
2023-10-13	13:08:35	2600	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.80489',`product_name`='SHIMANO Plaquettes Shimano B03S résine 1 paire / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-shimano-b03s-resine-1-paire-aucune' WHERE `virtuemart_product_id` = '1862092'
2023-10-13	13:08:35	2600	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_80488_01_jpg.jpg
2023-10-13	13:08:35	2600	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:35	2600	[DEBUG]	Process image file
2023-10-13	13:08:35	2600	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:35	2600	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:35	2600	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_80488_01_jpg.jpg
2023-10-13	13:08:35	2600	[DEBUG]	Full name target: bcprisme/73_80488_01_jpg.jpg
2023-10-13	13:08:35	2600	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:35	2600	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_80488_01_jpg.jpg'
2023-10-13	13:08:35	2600	[DEBUG]	Query for Media
2023-10-13	13:08:35	2600	[DEBUG]	Executed store
2023-10-13	13:08:35	2600	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_80488_01_jpg.jpg',`file_url_thumb`='bcprisme/73_80488_01_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040471'
2023-10-13	13:08:35	2600	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:35	2600	[DEBUG]	Executed store
2023-10-13	13:08:35	2600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862092','1040471','1')
2023-10-13	13:08:35	2600	[DEBUG]	Store product image relation
2023-10-13	13:08:35	2600	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:35	2600	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862092 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:35	2600	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:35	2600	[DEBUG]	Executed store
2023-10-13	13:08:35	2600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862092','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:06:53','1593','2023-10-13 13:06:53','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:35	2600	[DEBUG]	Checking manufacturer
2023-10-13	13:08:35	2600	[DEBUG]	Load a row
2023-10-13	13:08:35	2600	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:35	2600	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:35	2600	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:35	2600	[DEBUG]	Executed store
2023-10-13	13:08:35	2600	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:35	2600	[DEBUG]	Manufacturer exists
2023-10-13	13:08:35	2600	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:08:35	2600	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:35	2600	[DEBUG]	Executed store
2023-10-13	13:08:35	2600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862092','26')
2023-10-13	13:08:35	2600	[DEBUG]	Find the custom field ID
2023-10-13	13:08:35	2600	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:35	2600	[DEBUG]	No custom field ID found
2023-10-13	13:08:36	2600	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:36	2600	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:08:36	2600	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862092 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:36	2600	[DEBUG]	Store custom available field
2023-10-13	13:08:36	2600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862092,3,'0',1)
2023-10-13	13:08:36	2600	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:36	2600	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:36	2600	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862092 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:36	2600	[DEBUG]	Store custom available field
2023-10-13	13:08:36	2600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862092,6,'choisir la taille',3)
2023-10-13	13:08:36	2600	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:36	2600	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:36	2600	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:36	2600	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:36	2600	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862092 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:36	2600	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:36	2600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862092,8,1)
2023-10-13	13:08:36	2600	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:36	2600	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862092\":[1862092,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862092
2023-10-13	13:08:36	2600	[DEBUG]	Checking category
2023-10-13	13:08:36	2600	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:36	2600	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862092
2023-10-13	13:08:36	2600	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:36	2600	[DEBUG]	Executed store
2023-10-13	13:08:36	2600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862092','7345')
2023-10-13	13:08:36	2600	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:36	2600	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862092 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:36	2600	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:36	2600	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862092
2023-10-13	13:08:56	2600	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:08:56	2600	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:08:56	2600	[DEBUG]	Load the fields to process
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: product_sku
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: taille
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: product_name
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: category_path
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: product_price
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: product_override_price
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: product_tax
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: file_url
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: product_desc
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: product_availability
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: product_weight
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: product_unit
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: related_products
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: product_special
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: published
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: metadesc
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: metakey
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: custom_title
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: custom_value
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: custom_param
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: override
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: public_price
2023-10-13	13:08:56	2600	[DEBUG]	Setup field: slug
2023-10-13	13:08:56	2600	[DEBUG]	Use the file for configuration
2023-10-13	13:08:56	2600	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:08:56	2600	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:08:56	2600	[DEBUG]	Load the custom fields
2023-10-13	13:08:56	2600	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:08:56	2600	[DEBUG]	Load stockable custom fields
2023-10-13	13:08:56	2600	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:08:56	2600	[DEBUG]	Load custom fields for all
2023-10-13	13:08:56	2600	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:08:56	2601	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:56	2601	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:56	2601	[DEBUG]	Use field value for field taille
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:56	2601	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:56	2601	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:56	2601	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:56	2601	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:56	2601	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:56	2601	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:56	2601	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:56	2601	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:56	2601	[DEBUG]	Use field value for field published
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:56	2601	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field override
2023-10-13	13:08:56	2601	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:56	2601	[DEBUG]	Use field value for field slug
2023-10-13	13:08:56	2601	[DEBUG]	Process line 2601
2023-10-13	13:08:56	2601	[DEBUG]	Check if the vendor exists
2023-10-13	13:08:56	2601	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '4550170901189'
2023-10-13	13:08:56	2601	[DEBUG]	Load a row
2023-10-13	13:08:56	2601	[DEBUG]	Processing item: 4550170901189
2023-10-13	13:08:56	2601	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:56	2601	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:56	2601	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8687_208'
2023-10-13	13:08:56	2601	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:56	2601	[DEBUG]	Processing product tax
2023-10-13	13:08:56	2601	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:56	2601	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:56	2601	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:56	2601	[DEBUG]	Query for Product
2023-10-13	13:08:56	2601	[DEBUG]	Executed store
2023-10-13	13:08:56	2601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862092','4550170901189','0','KG','M','','25','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:08:56	2601	[DEBUG]	No parent found
2023-10-13	13:08:56	2601	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862092 AND customfield_value = 'stockable'
2023-10-13	13:08:56	2601	[DEBUG]	Check product language entry
2023-10-13	13:08:56	2601	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862093
2023-10-13	13:08:56	2601	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:56	2601	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170901189' AND `virtuemart_product_id` != 1862093
2023-10-13	13:08:56	2601	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:56	2601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862093, '4550170901189')
2023-10-13	13:08:56	2601	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:56	2601	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-shimano-b03s-resine-1-paire-aucune-unitaire' AND `virtuemart_product_id` != 1862093
2023-10-13	13:08:56	2601	[DEBUG]	Query for ProductLang
2023-10-13	13:08:56	2601	[DEBUG]	Executed store
2023-10-13	13:08:56	2601	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquettes Shimano B03S résine 1 paire / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-shimano-b03s-resine-1-paire-aucune-unitaire' WHERE `virtuemart_product_id` = '1862093'
2023-10-13	13:08:56	2601	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_80488_01_jpg.jpg
2023-10-13	13:08:56	2601	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:56	2601	[DEBUG]	Process image file
2023-10-13	13:08:56	2601	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:56	2601	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:56	2601	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_80488_01_jpg.jpg
2023-10-13	13:08:56	2601	[DEBUG]	Full name target: bcprisme/73_80488_01_jpg.jpg
2023-10-13	13:08:57	2601	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:57	2601	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_80488_01_jpg.jpg'
2023-10-13	13:08:57	2601	[DEBUG]	Query for Media
2023-10-13	13:08:57	2601	[DEBUG]	Executed store
2023-10-13	13:08:57	2601	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_80488_01_jpg.jpg',`file_url_thumb`='bcprisme/73_80488_01_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040471'
2023-10-13	13:08:57	2601	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:57	2601	[DEBUG]	Executed store
2023-10-13	13:08:57	2601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862093','1040471','1')
2023-10-13	13:08:57	2601	[DEBUG]	Store product image relation
2023-10-13	13:08:57	2601	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:57	2601	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862093 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:57	2601	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:57	2601	[DEBUG]	Executed store
2023-10-13	13:08:57	2601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862093','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:57	2601	[DEBUG]	Checking manufacturer
2023-10-13	13:08:57	2601	[DEBUG]	Load a row
2023-10-13	13:08:57	2601	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:57	2601	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:57	2601	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:57	2601	[DEBUG]	Executed store
2023-10-13	13:08:57	2601	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:08:57	2601	[DEBUG]	Manufacturer exists
2023-10-13	13:08:57	2601	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:08:57	2601	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:57	2601	[DEBUG]	Executed store
2023-10-13	13:08:57	2601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862093','26')
2023-10-13	13:08:57	2601	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:57	2601	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:57	2601	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862093 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:57	2601	[DEBUG]	Store custom available field
2023-10-13	13:08:57	2601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862093,3,'',1)
2023-10-13	13:08:57	2601	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:57	2601	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:08:57	2601	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862093 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:57	2601	[DEBUG]	Store custom available field
2023-10-13	13:08:57	2601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862093,6,'Unitaire',3)
2023-10-13	13:08:57	2601	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:57	2601	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:57	2601	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862092
2023-10-13	13:08:57	2601	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:57	2601	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862092\":[1862092,8,1,\"choisir la taille\"],\"1862093\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862092
2023-10-13	13:08:57	2601	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:57	2601	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862093
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:57	2602	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field taille
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:57	2602	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:57	2602	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:57	2602	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:57	2602	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:57	2602	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:57	2602	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field published
2023-10-13	13:08:57	2602	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:57	2602	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field override
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:57	2602	[DEBUG]	Use field value for field slug
2023-10-13	13:08:57	2602	[DEBUG]	Process line 2602
2023-10-13	13:08:57	2602	[DEBUG]	Load a row
2023-10-13	13:08:57	2602	[DEBUG]	Processing item: A_8699_1
2023-10-13	13:08:57	2602	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:57	2602	[DEBUG]	Processing product tax
2023-10-13	13:08:57	2602	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:57	2602	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:57	2602	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:57	2602	[DEBUG]	Query for Product
2023-10-13	13:08:57	2602	[DEBUG]	Executed store
2023-10-13	13:08:57	2602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8699_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:08:57	2602	[DEBUG]	Check product language entry
2023-10-13	13:08:57	2602	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862094
2023-10-13	13:08:57	2602	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:57	2602	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8699_1' AND `virtuemart_product_id` != 1862094
2023-10-13	13:08:57	2602	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:57	2602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862094, 'A_8699_1')
2023-10-13	13:08:57	2602	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:57	2602	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-shimano-4-pistons-semi-metallique-noir' AND `virtuemart_product_id` != 1862094
2023-10-13	13:08:57	2602	[DEBUG]	Query for ProductLang
2023-10-13	13:08:57	2602	[DEBUG]	Executed store
2023-10-13	13:08:57	2602	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Élimine le bruit. Longue durée. 20gr<br><br>Shimano:<br><br>XTR BR-M9120 :<br><br>Deore XT BR-M8020 :<br><br>SLX BR-M7120 :<br><br>Saint BR-(M810 / M820) :<br><br>Zee BR-M640 :<br><br>BR-(MT520 / MT420)<br><br>•TRP Quadiem : Quadiem SL : Slate T4<br><br>•Tektro HD-(M735 / M745 / 755 / E725<br>N° art fourn : DS43',`product_name`='MSC Plaquettes de freins. Shimano 4 pistons semi-métallique  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-shimano-4-pistons-semi-metallique-noir' WHERE `virtuemart_product_id` = '1862094'
2023-10-13	13:08:57	2602	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37659_plaquettes_de_freins__shimano_4_pistons_semi-metallique_.png
2023-10-13	13:08:57	2602	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f4
2023-10-13	13:08:57	2602	[DEBUG]	Process image file
2023-10-13	13:08:57	2602	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f4
2023-10-13	13:08:57	2602	[DEBUG]	Mime type found: image/png
2023-10-13	13:08:57	2602	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37659_plaquettes_de_freins__shimano_4_pistons_semi-metallique_.png
2023-10-13	13:08:57	2602	[DEBUG]	Full name target: bcprisme/37659_plaquettes_de_freins__shimano_4_pistons_semi-metallique_.png
2023-10-13	13:08:58	2602	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:58	2602	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37659_plaquettes_de_freins__shimano_4_pistons_semi-metallique_.png'
2023-10-13	13:08:58	2602	[DEBUG]	Query for Media
2023-10-13	13:08:58	2602	[DEBUG]	Executed store
2023-10-13	13:08:58	2602	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37659_plaquettes_de_freins__shimano_4_pistons_semi-metallique_.png',`file_url_thumb`='bcprisme/37659_plaquettes_de_freins__shimano_4_pistons_semi-metallique_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040473'
2023-10-13	13:08:58	2602	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:58	2602	[DEBUG]	Executed store
2023-10-13	13:08:58	2602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862094','1040473','1')
2023-10-13	13:08:58	2602	[DEBUG]	Store product image relation
2023-10-13	13:08:58	2602	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:58	2602	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862094 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:58	2602	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:58	2602	[DEBUG]	Executed store
2023-10-13	13:08:58	2602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862094','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:58	2602	[DEBUG]	Checking manufacturer
2023-10-13	13:08:58	2602	[DEBUG]	Load a row
2023-10-13	13:08:58	2602	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:58	2602	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:58	2602	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:58	2602	[DEBUG]	Executed store
2023-10-13	13:08:58	2602	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:58	2602	[DEBUG]	Manufacturer exists
2023-10-13	13:08:58	2602	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:08:58	2602	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:58	2602	[DEBUG]	Executed store
2023-10-13	13:08:58	2602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862094','32')
2023-10-13	13:08:58	2602	[DEBUG]	Find the custom field ID
2023-10-13	13:08:58	2602	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:08:58	2602	[DEBUG]	No custom field ID found
2023-10-13	13:08:58	2602	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:58	2602	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:08:58	2602	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862094 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:58	2602	[DEBUG]	Store custom available field
2023-10-13	13:08:58	2602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862094,3,'12.8641666666667',1)
2023-10-13	13:08:58	2602	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:58	2602	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:08:58	2602	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862094 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:58	2602	[DEBUG]	Store custom available field
2023-10-13	13:08:58	2602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862094,6,'choisir la taille',3)
2023-10-13	13:08:58	2602	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:58	2602	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:08:58	2602	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:08:58	2602	[DEBUG]	Find the multi variant product entry
2023-10-13	13:08:58	2602	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862094 AND `virtuemart_custom_id` = 8
2023-10-13	13:08:58	2602	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:08:58	2602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862094,8,1)
2023-10-13	13:08:58	2602	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:58	2602	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862094\":[1862094,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862094
2023-10-13	13:08:58	2602	[DEBUG]	Checking category
2023-10-13	13:08:58	2602	[DEBUG]	Check if category path exists: FREINS / PLAQUETTES DE FREINS - BREMSE / SCHEIBENBREMSBELÄGE
2023-10-13	13:08:58	2602	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / PLAQUETTES DE FREINS - BREMSE / SCHEIBENBREMSBELÄGE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:08:58	2602	[DEBUG]	Check if category path exists: PLAQUETTES DE FREINS - SCHEIBENBREMSBELÄGE
2023-10-13	13:08:58	2602	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PLAQUETTES DE FREINS - SCHEIBENBREMSBELÄGE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7344
2023-10-13	13:08:58	2602	[DEBUG]	Get the existing categories for the product
2023-10-13	13:08:58	2602	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862094
2023-10-13	13:08:58	2602	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:08:58	2602	[DEBUG]	Executed store
2023-10-13	13:08:58	2602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862094','7345')
2023-10-13	13:08:58	2602	[DEBUG]	Delete leftover product categories
2023-10-13	13:08:58	2602	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862094 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:08:58	2602	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:58	2602	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862094
2023-10-13	13:08:58	2603	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:58	2603	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:08:58	2603	[DEBUG]	Use field value for field taille
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:08:58	2603	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field category_path
2023-10-13	13:08:58	2603	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:58	2603	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:58	2603	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:58	2603	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:08:58	2603	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field product_weight
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:58	2603	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:58	2603	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:58	2603	[DEBUG]	Use field value for field published
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field custom_title
2023-10-13	13:08:58	2603	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field custom_param
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field override
2023-10-13	13:08:58	2603	[DEBUG]	Use default value for field public_price
2023-10-13	13:08:58	2603	[DEBUG]	Use field value for field slug
2023-10-13	13:08:58	2603	[DEBUG]	Process line 2603
2023-10-13	13:08:58	2603	[DEBUG]	Load a row
2023-10-13	13:08:58	2603	[DEBUG]	Processing item: 1000000161175
2023-10-13	13:08:58	2603	[DEBUG]	Looking for parent SKU
2023-10-13	13:08:58	2603	[DEBUG]	Checking product parent SKU
2023-10-13	13:08:58	2603	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8699_1'
2023-10-13	13:08:58	2603	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:58	2603	[DEBUG]	Processing product tax
2023-10-13	13:08:58	2603	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:58	2603	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:58	2603	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:58	2603	[DEBUG]	Query for Product
2023-10-13	13:08:58	2603	[DEBUG]	Executed store
2023-10-13	13:08:58	2603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862094','1000000161175','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:08:58	2603	[DEBUG]	No parent found
2023-10-13	13:08:58	2603	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862094 AND customfield_value = 'stockable'
2023-10-13	13:08:58	2603	[DEBUG]	Check product language entry
2023-10-13	13:08:58	2603	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862095
2023-10-13	13:08:58	2603	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:58	2603	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000161175' AND `virtuemart_product_id` != 1862095
2023-10-13	13:08:58	2603	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:58	2603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862095, '1000000161175')
2023-10-13	13:08:58	2603	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:58	2603	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-plaquettes-de-freins-shimano-4-pistons-semi-metallique-noir-set' AND `virtuemart_product_id` != 1862095
2023-10-13	13:08:58	2603	[DEBUG]	Query for ProductLang
2023-10-13	13:08:58	2603	[DEBUG]	Executed store
2023-10-13	13:08:58	2603	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Plaquettes de freins. Shimano 4 pistons semi-métallique  / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-plaquettes-de-freins-shimano-4-pistons-semi-metallique-noir-set' WHERE `virtuemart_product_id` = '1862095'
2023-10-13	13:08:58	2603	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37659_plaquettes_de_freins__shimano_4_pistons_semi-metallique_.png
2023-10-13	13:08:58	2603	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f4
2023-10-13	13:08:58	2603	[DEBUG]	Process image file
2023-10-13	13:08:58	2603	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f4
2023-10-13	13:08:58	2603	[DEBUG]	Mime type found: image/png
2023-10-13	13:08:58	2603	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37659_plaquettes_de_freins__shimano_4_pistons_semi-metallique_.png
2023-10-13	13:08:58	2603	[DEBUG]	Full name target: bcprisme/37659_plaquettes_de_freins__shimano_4_pistons_semi-metallique_.png
2023-10-13	13:08:59	2603	[DEBUG]	Checking if the file_url exists
2023-10-13	13:08:59	2603	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37659_plaquettes_de_freins__shimano_4_pistons_semi-metallique_.png'
2023-10-13	13:08:59	2603	[DEBUG]	Query for Media
2023-10-13	13:08:59	2603	[DEBUG]	Executed store
2023-10-13	13:08:59	2603	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37659_plaquettes_de_freins__shimano_4_pistons_semi-metallique_.png',`file_url_thumb`='bcprisme/37659_plaquettes_de_freins__shimano_4_pistons_semi-metallique_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1040473'
2023-10-13	13:08:59	2603	[DEBUG]	Query for ProductMedia
2023-10-13	13:08:59	2603	[DEBUG]	Executed store
2023-10-13	13:08:59	2603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862095','1040473','1')
2023-10-13	13:08:59	2603	[DEBUG]	Store product image relation
2023-10-13	13:08:59	2603	[DEBUG]	Finding a product_price_id
2023-10-13	13:08:59	2603	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862095 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:08:59	2603	[DEBUG]	Query for ProductPrice
2023-10-13	13:08:59	2603	[DEBUG]	Executed store
2023-10-13	13:08:59	2603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862095','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:08:59	2603	[DEBUG]	Checking manufacturer
2023-10-13	13:08:59	2603	[DEBUG]	Load a row
2023-10-13	13:08:59	2603	[DEBUG]	Manufacturer already exists
2023-10-13	13:08:59	2603	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:59	2603	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:08:59	2603	[DEBUG]	Executed store
2023-10-13	13:08:59	2603	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:08:59	2603	[DEBUG]	Manufacturer exists
2023-10-13	13:08:59	2603	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:08:59	2603	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:08:59	2603	[DEBUG]	Executed store
2023-10-13	13:08:59	2603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862095','32')
2023-10-13	13:08:59	2603	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:08:59	2603	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:08:59	2603	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862095 AND `virtuemart_custom_id` = 3
2023-10-13	13:08:59	2603	[DEBUG]	Store custom available field
2023-10-13	13:08:59	2603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862095,3,'',1)
2023-10-13	13:08:59	2603	[DEBUG]	Processing custom available field: taille
2023-10-13	13:08:59	2603	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:08:59	2603	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862095 AND `virtuemart_custom_id` = 6
2023-10-13	13:08:59	2603	[DEBUG]	Store custom available field
2023-10-13	13:08:59	2603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862095,6,'Set',3)
2023-10-13	13:08:59	2603	[DEBUG]	Process multi-variant fields
2023-10-13	13:08:59	2603	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:08:59	2603	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862094
2023-10-13	13:08:59	2603	[DEBUG]	Store the updated customfield_params
2023-10-13	13:08:59	2603	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862094\":[1862094,8,1,\"choisir la taille\"],\"1862095\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862094
2023-10-13	13:08:59	2603	[DEBUG]	Update has fields after all processing
2023-10-13	13:08:59	2603	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862095
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field product_sku
2023-10-13	13:08:59	2604	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field taille
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field product_name
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field category_path
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field product_price
2023-10-13	13:08:59	2604	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field product_tax
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field file_url
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:08:59	2604	[DEBUG]	Use default value for field product_desc
2023-10-13	13:08:59	2604	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field product_availability
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field product_weight
2023-10-13	13:08:59	2604	[DEBUG]	Use default value for field product_unit
2023-10-13	13:08:59	2604	[DEBUG]	Use default value for field related_products
2023-10-13	13:08:59	2604	[DEBUG]	Use default value for field product_special
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field published
2023-10-13	13:08:59	2604	[DEBUG]	Use default value for field metadesc
2023-10-13	13:08:59	2604	[DEBUG]	Use default value for field metakey
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field custom_title
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field custom_value
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field custom_param
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field override
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field public_price
2023-10-13	13:08:59	2604	[DEBUG]	Use field value for field slug
2023-10-13	13:08:59	2604	[DEBUG]	Process line 2604
2023-10-13	13:08:59	2604	[DEBUG]	Load a row
2023-10-13	13:08:59	2604	[DEBUG]	Processing item: A_9051_731
2023-10-13	13:08:59	2604	[DEBUG]	Product tax: 7.7
2023-10-13	13:08:59	2604	[DEBUG]	Processing product tax
2023-10-13	13:08:59	2604	[DEBUG]	Check if calculation rule exists
2023-10-13	13:08:59	2604	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:08:59	2604	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:08:59	2604	[DEBUG]	Query for Product
2023-10-13	13:08:59	2604	[DEBUG]	Executed store
2023-10-13	13:08:59	2604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9051_731','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:08:59	2604	[DEBUG]	Check product language entry
2023-10-13	13:08:59	2604	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862096
2023-10-13	13:08:59	2604	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:59	2604	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9051_731' AND `virtuemart_product_id` != 1862096
2023-10-13	13:08:59	2604	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:08:59	2604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862096, 'A_9051_731')
2023-10-13	13:08:59	2604	[DEBUG]	Check if the product slug exists
2023-10-13	13:08:59	2604	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disc-brake-pads-level-elixir-road-axs-org-st-qty20-n-a-n-a' AND `virtuemart_product_id` != 1862096
2023-10-13	13:08:59	2604	[DEBUG]	Query for ProductLang
2023-10-13	13:08:59	2604	[DEBUG]	Executed store
2023-10-13	13:08:59	2604	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7542M',`product_name`='SRAM Disc Brake Pads Level/Elixir/Road AXS org/st Qty20 N/A / N/A',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disc-brake-pads-level-elixir-road-axs-org-st-qty20-n-a-n-a' WHERE `virtuemart_product_id` = '1862096'
2023-10-13	13:08:59	2604	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38070_disc_brake_pads_level-elixir-road_axs_org-st_qty20_n-a.jpg
2023-10-13	13:08:59	2604	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:59	2604	[DEBUG]	Process image file
2023-10-13	13:08:59	2604	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:08:59	2604	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:08:59	2604	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38070_disc_brake_pads_level-elixir-road_axs_org-st_qty20_n-a.jpg
2023-10-13	13:08:59	2604	[DEBUG]	Full name target: bcprisme/38070_disc_brake_pads_level-elixir-road_axs_org-st_qty20_n-a.jpg
2023-10-13	13:09:00	2604	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:00	2604	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38070_disc_brake_pads_level-elixir-road_axs_org-st_qty20_n-a.jpg'
2023-10-13	13:09:00	2604	[DEBUG]	Query for Media
2023-10-13	13:09:00	2604	[DEBUG]	Executed store
2023-10-13	13:09:00	2604	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38070_disc_brake_pads_level-elixir-road_axs_org-st_qty20_n-a.jpg',`file_url_thumb`='bcprisme/38070_disc_brake_pads_level-elixir-road_axs_org-st_qty20_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1342060'
2023-10-13	13:09:00	2604	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:00	2604	[DEBUG]	Executed store
2023-10-13	13:09:00	2604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862096','1342060','1')
2023-10-13	13:09:00	2604	[DEBUG]	Store product image relation
2023-10-13	13:09:00	2604	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:00	2604	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862096 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:00	2604	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:00	2604	[DEBUG]	Executed store
2023-10-13	13:09:00	2604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862096','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:00	2604	[DEBUG]	Checking manufacturer
2023-10-13	13:09:00	2604	[DEBUG]	Load a row
2023-10-13	13:09:00	2604	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:00	2604	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:09:00	2604	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:00	2604	[DEBUG]	Executed store
2023-10-13	13:09:00	2604	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:09:00	2604	[DEBUG]	Manufacturer exists
2023-10-13	13:09:00	2604	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:09:00	2604	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:00	2604	[DEBUG]	Executed store
2023-10-13	13:09:00	2604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862096','35')
2023-10-13	13:09:00	2604	[DEBUG]	Find the custom field ID
2023-10-13	13:09:00	2604	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:00	2604	[DEBUG]	No custom field ID found
2023-10-13	13:09:00	2604	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:00	2604	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:00	2604	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862096 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:00	2604	[DEBUG]	Store custom available field
2023-10-13	13:09:00	2604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862096,3,'0',1)
2023-10-13	13:09:00	2604	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:00	2604	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:00	2604	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862096 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:00	2604	[DEBUG]	Store custom available field
2023-10-13	13:09:00	2604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862096,6,'choisir la taille',3)
2023-10-13	13:09:00	2604	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:00	2604	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:00	2604	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:00	2604	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:00	2604	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862096 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:00	2604	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:00	2604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862096,8,1)
2023-10-13	13:09:00	2604	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:00	2604	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862096\":[1862096,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862096
2023-10-13	13:09:00	2604	[DEBUG]	Checking category
2023-10-13	13:09:00	2604	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:00	2604	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862096
2023-10-13	13:09:00	2604	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:00	2604	[DEBUG]	Executed store
2023-10-13	13:09:00	2604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862096','7345')
2023-10-13	13:09:00	2604	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:00	2604	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862096 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:09:00	2604	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:00	2604	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862096
2023-10-13	13:09:00	2605	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:00	2605	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:00	2605	[DEBUG]	Use field value for field taille
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:00	2605	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:00	2605	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:00	2605	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:00	2605	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:00	2605	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:00	2605	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:00	2605	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:00	2605	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:00	2605	[DEBUG]	Use field value for field published
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:00	2605	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field override
2023-10-13	13:09:00	2605	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:00	2605	[DEBUG]	Use field value for field slug
2023-10-13	13:09:00	2605	[DEBUG]	Process line 2605
2023-10-13	13:09:00	2605	[DEBUG]	Load a row
2023-10-13	13:09:00	2605	[DEBUG]	Processing item: 710845613906
2023-10-13	13:09:00	2605	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:00	2605	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:00	2605	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9051_731'
2023-10-13	13:09:00	2605	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:00	2605	[DEBUG]	Processing product tax
2023-10-13	13:09:00	2605	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:00	2605	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:00	2605	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:00	2605	[DEBUG]	Query for Product
2023-10-13	13:09:00	2605	[DEBUG]	Executed store
2023-10-13	13:09:00	2605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862096','710845613906','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:00	2605	[DEBUG]	No parent found
2023-10-13	13:09:00	2605	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862096 AND customfield_value = 'stockable'
2023-10-13	13:09:00	2605	[DEBUG]	Check product language entry
2023-10-13	13:09:00	2605	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862097
2023-10-13	13:09:00	2605	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:00	2605	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845613906' AND `virtuemart_product_id` != 1862097
2023-10-13	13:09:00	2605	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:00	2605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862097, '710845613906')
2023-10-13	13:09:00	2605	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:00	2605	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-disc-brake-pads-level-elixir-road-axs-org-st-qty20-n-a-n-a-unitaire' AND `virtuemart_product_id` != 1862097
2023-10-13	13:09:00	2605	[DEBUG]	Query for ProductLang
2023-10-13	13:09:00	2605	[DEBUG]	Executed store
2023-10-13	13:09:00	2605	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Disc Brake Pads Level/Elixir/Road AXS org/st Qty20 N/A / N/A (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-disc-brake-pads-level-elixir-road-axs-org-st-qty20-n-a-n-a-unitaire' WHERE `virtuemart_product_id` = '1862097'
2023-10-13	13:09:00	2605	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38070_disc_brake_pads_level-elixir-road_axs_org-st_qty20_n-a.jpg
2023-10-13	13:09:00	2605	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:00	2605	[DEBUG]	Process image file
2023-10-13	13:09:00	2605	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:00	2605	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:00	2605	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38070_disc_brake_pads_level-elixir-road_axs_org-st_qty20_n-a.jpg
2023-10-13	13:09:00	2605	[DEBUG]	Full name target: bcprisme/38070_disc_brake_pads_level-elixir-road_axs_org-st_qty20_n-a.jpg
2023-10-13	13:09:01	2605	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:01	2605	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38070_disc_brake_pads_level-elixir-road_axs_org-st_qty20_n-a.jpg'
2023-10-13	13:09:01	2605	[DEBUG]	Query for Media
2023-10-13	13:09:01	2605	[DEBUG]	Executed store
2023-10-13	13:09:01	2605	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38070_disc_brake_pads_level-elixir-road_axs_org-st_qty20_n-a.jpg',`file_url_thumb`='bcprisme/38070_disc_brake_pads_level-elixir-road_axs_org-st_qty20_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1342060'
2023-10-13	13:09:01	2605	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:01	2605	[DEBUG]	Executed store
2023-10-13	13:09:01	2605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862097','1342060','1')
2023-10-13	13:09:01	2605	[DEBUG]	Store product image relation
2023-10-13	13:09:01	2605	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:01	2605	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862097 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:01	2605	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:01	2605	[DEBUG]	Executed store
2023-10-13	13:09:01	2605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862097','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:01	2605	[DEBUG]	Checking manufacturer
2023-10-13	13:09:01	2605	[DEBUG]	Load a row
2023-10-13	13:09:01	2605	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:01	2605	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:09:01	2605	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:01	2605	[DEBUG]	Executed store
2023-10-13	13:09:01	2605	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:09:01	2605	[DEBUG]	Manufacturer exists
2023-10-13	13:09:01	2605	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:09:01	2605	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:01	2605	[DEBUG]	Executed store
2023-10-13	13:09:01	2605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862097','35')
2023-10-13	13:09:01	2605	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:01	2605	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:01	2605	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862097 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:01	2605	[DEBUG]	Store custom available field
2023-10-13	13:09:01	2605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862097,3,'',1)
2023-10-13	13:09:01	2605	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:01	2605	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:01	2605	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862097 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:01	2605	[DEBUG]	Store custom available field
2023-10-13	13:09:01	2605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862097,6,'Unitaire',3)
2023-10-13	13:09:01	2605	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:01	2605	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:01	2605	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862096
2023-10-13	13:09:01	2605	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:01	2605	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862096\":[1862096,8,1,\"choisir la taille\"],\"1862097\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862096
2023-10-13	13:09:01	2605	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:01	2605	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862097
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:01	2606	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field taille
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:01	2606	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:01	2606	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:01	2606	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:01	2606	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:01	2606	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:01	2606	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field published
2023-10-13	13:09:01	2606	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:01	2606	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field override
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:01	2606	[DEBUG]	Use field value for field slug
2023-10-13	13:09:01	2606	[DEBUG]	Process line 2606
2023-10-13	13:09:01	2606	[DEBUG]	Load a row
2023-10-13	13:09:01	2606	[DEBUG]	Processing item: A_9137_208
2023-10-13	13:09:01	2606	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:01	2606	[DEBUG]	Processing product tax
2023-10-13	13:09:01	2606	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:01	2606	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:01	2606	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:01	2606	[DEBUG]	Query for Product
2023-10-13	13:09:01	2606	[DEBUG]	Executed store
2023-10-13	13:09:01	2606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9137_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:01	2606	[DEBUG]	Check product language entry
2023-10-13	13:09:01	2606	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862098
2023-10-13	13:09:01	2606	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:01	2606	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9137_208' AND `virtuemart_product_id` != 1862098
2023-10-13	13:09:01	2606	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:01	2606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862098, 'A_9137_208')
2023-10-13	13:09:01	2606	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:01	2606	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-d03s-1-paire-aucune' AND `virtuemart_product_id` != 1862098
2023-10-13	13:09:01	2606	[DEBUG]	Query for ProductLang
2023-10-13	13:09:01	2606	[DEBUG]	Executed store
2023-10-13	13:09:01	2606	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.81155',`product_name`='SHIMANO Plaquettes D03S 1 paire / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-d03s-1-paire-aucune' WHERE `virtuemart_product_id` = '1862098'
2023-10-13	13:09:01	2606	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75474_00.jpg
2023-10-13	13:09:01	2606	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:01	2606	[DEBUG]	Process image file
2023-10-13	13:09:01	2606	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:01	2606	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:01	2606	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75474_00.jpg
2023-10-13	13:09:01	2606	[DEBUG]	Full name target: bcprisme/73_75474_00.jpg
2023-10-13	13:09:02	2606	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:02	2606	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75474_00.jpg'
2023-10-13	13:09:02	2606	[DEBUG]	Query for Media
2023-10-13	13:09:02	2606	[DEBUG]	Executed store
2023-10-13	13:09:02	2606	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75474_00.jpg',`file_url_thumb`='bcprisme/73_75474_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1276465'
2023-10-13	13:09:02	2606	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:02	2606	[DEBUG]	Executed store
2023-10-13	13:09:02	2606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862098','1276465','1')
2023-10-13	13:09:02	2606	[DEBUG]	Store product image relation
2023-10-13	13:09:02	2606	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:02	2606	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862098 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:02	2606	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:02	2606	[DEBUG]	Executed store
2023-10-13	13:09:02	2606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862098','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:02	2606	[DEBUG]	Checking manufacturer
2023-10-13	13:09:02	2606	[DEBUG]	Load a row
2023-10-13	13:09:02	2606	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:02	2606	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:02	2606	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:02	2606	[DEBUG]	Executed store
2023-10-13	13:09:02	2606	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:02	2606	[DEBUG]	Manufacturer exists
2023-10-13	13:09:02	2606	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:02	2606	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:02	2606	[DEBUG]	Executed store
2023-10-13	13:09:02	2606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862098','26')
2023-10-13	13:09:02	2606	[DEBUG]	Find the custom field ID
2023-10-13	13:09:02	2606	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:02	2606	[DEBUG]	No custom field ID found
2023-10-13	13:09:02	2606	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:02	2606	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:02	2606	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862098 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:02	2606	[DEBUG]	Store custom available field
2023-10-13	13:09:02	2606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862098,3,'0',1)
2023-10-13	13:09:02	2606	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:02	2606	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:02	2606	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862098 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:02	2606	[DEBUG]	Store custom available field
2023-10-13	13:09:02	2606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862098,6,'choisir la taille',3)
2023-10-13	13:09:02	2606	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:02	2606	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:02	2606	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:02	2606	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:02	2606	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862098 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:02	2606	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:02	2606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862098,8,1)
2023-10-13	13:09:02	2606	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:02	2606	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862098\":[1862098,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862098
2023-10-13	13:09:02	2606	[DEBUG]	Checking category
2023-10-13	13:09:02	2606	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:02	2606	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862098
2023-10-13	13:09:02	2606	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:02	2606	[DEBUG]	Executed store
2023-10-13	13:09:02	2606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862098','7345')
2023-10-13	13:09:02	2606	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:02	2606	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862098 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:09:02	2606	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:02	2606	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862098
2023-10-13	13:09:02	2607	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:02	2607	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:02	2607	[DEBUG]	Use field value for field taille
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:02	2607	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:02	2607	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:02	2607	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:02	2607	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:02	2607	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:02	2607	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:02	2607	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:02	2607	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:02	2607	[DEBUG]	Use field value for field published
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:02	2607	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field override
2023-10-13	13:09:02	2607	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:02	2607	[DEBUG]	Use field value for field slug
2023-10-13	13:09:02	2607	[DEBUG]	Process line 2607
2023-10-13	13:09:02	2607	[DEBUG]	Load a row
2023-10-13	13:09:02	2607	[DEBUG]	Processing item: 4550170905880
2023-10-13	13:09:02	2607	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:02	2607	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:02	2607	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9137_208'
2023-10-13	13:09:02	2607	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:02	2607	[DEBUG]	Processing product tax
2023-10-13	13:09:02	2607	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:02	2607	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:02	2607	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:02	2607	[DEBUG]	Query for Product
2023-10-13	13:09:02	2607	[DEBUG]	Executed store
2023-10-13	13:09:02	2607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862098','4550170905880','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:02	2607	[DEBUG]	No parent found
2023-10-13	13:09:02	2607	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862098 AND customfield_value = 'stockable'
2023-10-13	13:09:02	2607	[DEBUG]	Check product language entry
2023-10-13	13:09:02	2607	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862099
2023-10-13	13:09:02	2607	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:02	2607	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170905880' AND `virtuemart_product_id` != 1862099
2023-10-13	13:09:02	2607	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:02	2607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862099, '4550170905880')
2023-10-13	13:09:02	2607	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:02	2607	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-d03s-1-paire-aucune-unitaire' AND `virtuemart_product_id` != 1862099
2023-10-13	13:09:02	2607	[DEBUG]	Query for ProductLang
2023-10-13	13:09:02	2607	[DEBUG]	Executed store
2023-10-13	13:09:02	2607	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquettes D03S 1 paire / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-d03s-1-paire-aucune-unitaire' WHERE `virtuemart_product_id` = '1862099'
2023-10-13	13:09:02	2607	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75474_00.jpg
2023-10-13	13:09:02	2607	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:02	2607	[DEBUG]	Process image file
2023-10-13	13:09:02	2607	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:02	2607	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:02	2607	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75474_00.jpg
2023-10-13	13:09:02	2607	[DEBUG]	Full name target: bcprisme/73_75474_00.jpg
2023-10-13	13:09:03	2607	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:03	2607	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75474_00.jpg'
2023-10-13	13:09:03	2607	[DEBUG]	Query for Media
2023-10-13	13:09:03	2607	[DEBUG]	Executed store
2023-10-13	13:09:03	2607	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75474_00.jpg',`file_url_thumb`='bcprisme/73_75474_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1276465'
2023-10-13	13:09:03	2607	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:03	2607	[DEBUG]	Executed store
2023-10-13	13:09:03	2607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862099','1276465','1')
2023-10-13	13:09:03	2607	[DEBUG]	Store product image relation
2023-10-13	13:09:03	2607	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:03	2607	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862099 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:03	2607	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:03	2607	[DEBUG]	Executed store
2023-10-13	13:09:03	2607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862099','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:03	2607	[DEBUG]	Checking manufacturer
2023-10-13	13:09:03	2607	[DEBUG]	Load a row
2023-10-13	13:09:03	2607	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:03	2607	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:03	2607	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:03	2607	[DEBUG]	Executed store
2023-10-13	13:09:03	2607	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:03	2607	[DEBUG]	Manufacturer exists
2023-10-13	13:09:03	2607	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:03	2607	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:03	2607	[DEBUG]	Executed store
2023-10-13	13:09:03	2607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862099','26')
2023-10-13	13:09:03	2607	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:03	2607	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:03	2607	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862099 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:03	2607	[DEBUG]	Store custom available field
2023-10-13	13:09:03	2607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862099,3,'',1)
2023-10-13	13:09:03	2607	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:03	2607	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:03	2607	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862099 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:03	2607	[DEBUG]	Store custom available field
2023-10-13	13:09:03	2607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862099,6,'Unitaire',3)
2023-10-13	13:09:03	2607	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:03	2607	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:03	2607	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862098
2023-10-13	13:09:03	2607	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:03	2607	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862098\":[1862098,8,1,\"choisir la taille\"],\"1862099\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862098
2023-10-13	13:09:03	2607	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:03	2607	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862099
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:03	2608	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field taille
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:03	2608	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:03	2608	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:03	2608	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:03	2608	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:03	2608	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:03	2608	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:03	2608	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field published
2023-10-13	13:09:03	2608	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:03	2608	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field override
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:03	2608	[DEBUG]	Use field value for field slug
2023-10-13	13:09:03	2608	[DEBUG]	Process line 2608
2023-10-13	13:09:03	2608	[DEBUG]	Load a row
2023-10-13	13:09:03	2608	[DEBUG]	Processing item: A_9171_208
2023-10-13	13:09:03	2608	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:03	2608	[DEBUG]	Processing product tax
2023-10-13	13:09:03	2608	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:03	2608	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:03	2608	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:03	2608	[DEBUG]	Query for Product
2023-10-13	13:09:03	2608	[DEBUG]	Executed store
2023-10-13	13:09:03	2608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9171_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:03	2608	[DEBUG]	Check product language entry
2023-10-13	13:09:03	2608	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862100
2023-10-13	13:09:03	2608	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:03	2608	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9171_208' AND `virtuemart_product_id` != 1862100
2023-10-13	13:09:03	2608	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:03	2608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862100, 'A_9171_208')
2023-10-13	13:09:03	2608	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:03	2608	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-k05s-resin-avec-ressort-et-goupille-fendue-paires-aucune' AND `virtuemart_product_id` != 1862100
2023-10-13	13:09:03	2608	[DEBUG]	Query for ProductLang
2023-10-13	13:09:03	2608	[DEBUG]	Executed store
2023-10-13	13:09:03	2608	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.83888',`product_name`='SHIMANO plaquettes K05S résin avec ressort et goupille fendue paires / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-k05s-resin-avec-ressort-et-goupille-fendue-paires-aucune' WHERE `virtuemart_product_id` = '1862100'
2023-10-13	13:09:03	2608	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_83888_02.jpg
2023-10-13	13:09:03	2608	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:03	2608	[DEBUG]	Process image file
2023-10-13	13:09:03	2608	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:03	2608	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:03	2608	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_83888_02.jpg
2023-10-13	13:09:03	2608	[DEBUG]	Full name target: bcprisme/73_83888_02.jpg
2023-10-13	13:09:04	2608	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:04	2608	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_83888_02.jpg'
2023-10-13	13:09:04	2608	[DEBUG]	Query for Media
2023-10-13	13:09:04	2608	[DEBUG]	Executed store
2023-10-13	13:09:04	2608	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_83888_02.jpg',`file_url_thumb`='bcprisme/73_83888_02.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1320740'
2023-10-13	13:09:04	2608	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:04	2608	[DEBUG]	Executed store
2023-10-13	13:09:04	2608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862100','1320740','1')
2023-10-13	13:09:04	2608	[DEBUG]	Store product image relation
2023-10-13	13:09:04	2608	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:04	2608	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862100 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:04	2608	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:04	2608	[DEBUG]	Executed store
2023-10-13	13:09:04	2608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862100','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:04	2608	[DEBUG]	Checking manufacturer
2023-10-13	13:09:04	2608	[DEBUG]	Load a row
2023-10-13	13:09:04	2608	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:04	2608	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:04	2608	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:04	2608	[DEBUG]	Executed store
2023-10-13	13:09:04	2608	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:04	2608	[DEBUG]	Manufacturer exists
2023-10-13	13:09:04	2608	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:04	2608	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:04	2608	[DEBUG]	Executed store
2023-10-13	13:09:04	2608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862100','26')
2023-10-13	13:09:04	2608	[DEBUG]	Find the custom field ID
2023-10-13	13:09:04	2608	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:04	2608	[DEBUG]	No custom field ID found
2023-10-13	13:09:04	2608	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:04	2608	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:04	2608	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862100 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:04	2608	[DEBUG]	Store custom available field
2023-10-13	13:09:04	2608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862100,3,'0',1)
2023-10-13	13:09:04	2608	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:04	2608	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:04	2608	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862100 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:04	2608	[DEBUG]	Store custom available field
2023-10-13	13:09:04	2608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862100,6,'choisir la taille',3)
2023-10-13	13:09:04	2608	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:04	2608	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:04	2608	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:04	2608	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:04	2608	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862100 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:04	2608	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:04	2608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862100,8,1)
2023-10-13	13:09:04	2608	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:04	2608	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862100\":[1862100,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862100
2023-10-13	13:09:04	2608	[DEBUG]	Checking category
2023-10-13	13:09:04	2608	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:04	2608	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862100
2023-10-13	13:09:04	2608	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:04	2608	[DEBUG]	Executed store
2023-10-13	13:09:04	2608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862100','7345')
2023-10-13	13:09:04	2608	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:04	2608	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862100 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:09:04	2608	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:04	2608	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862100
2023-10-13	13:09:04	2609	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:04	2609	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:04	2609	[DEBUG]	Use field value for field taille
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:04	2609	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:04	2609	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:04	2609	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:04	2609	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:04	2609	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:04	2609	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:04	2609	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:04	2609	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:04	2609	[DEBUG]	Use field value for field published
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:04	2609	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field override
2023-10-13	13:09:04	2609	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:04	2609	[DEBUG]	Use field value for field slug
2023-10-13	13:09:04	2609	[DEBUG]	Process line 2609
2023-10-13	13:09:04	2609	[DEBUG]	Load a row
2023-10-13	13:09:04	2609	[DEBUG]	Processing item: 4550170309640
2023-10-13	13:09:04	2609	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:04	2609	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:04	2609	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9171_208'
2023-10-13	13:09:04	2609	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:04	2609	[DEBUG]	Processing product tax
2023-10-13	13:09:04	2609	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:04	2609	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:04	2609	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:04	2609	[DEBUG]	Query for Product
2023-10-13	13:09:04	2609	[DEBUG]	Executed store
2023-10-13	13:09:04	2609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862100','4550170309640','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:04	2609	[DEBUG]	No parent found
2023-10-13	13:09:04	2609	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862100 AND customfield_value = 'stockable'
2023-10-13	13:09:04	2609	[DEBUG]	Check product language entry
2023-10-13	13:09:04	2609	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862101
2023-10-13	13:09:04	2609	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:04	2609	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170309640' AND `virtuemart_product_id` != 1862101
2023-10-13	13:09:04	2609	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:04	2609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862101, '4550170309640')
2023-10-13	13:09:04	2609	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:04	2609	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-k05s-resin-avec-ressort-et-goupille-fendue-paires-aucune-unitaire' AND `virtuemart_product_id` != 1862101
2023-10-13	13:09:04	2609	[DEBUG]	Query for ProductLang
2023-10-13	13:09:04	2609	[DEBUG]	Executed store
2023-10-13	13:09:04	2609	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO plaquettes K05S résin avec ressort et goupille fendue paires / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-k05s-resin-avec-ressort-et-goupille-fendue-paires-aucune-unitaire' WHERE `virtuemart_product_id` = '1862101'
2023-10-13	13:09:04	2609	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_83888_02.jpg
2023-10-13	13:09:04	2609	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:04	2609	[DEBUG]	Process image file
2023-10-13	13:09:04	2609	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:04	2609	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:04	2609	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_83888_02.jpg
2023-10-13	13:09:04	2609	[DEBUG]	Full name target: bcprisme/73_83888_02.jpg
2023-10-13	13:09:05	2609	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:05	2609	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_83888_02.jpg'
2023-10-13	13:09:05	2609	[DEBUG]	Query for Media
2023-10-13	13:09:05	2609	[DEBUG]	Executed store
2023-10-13	13:09:05	2609	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_83888_02.jpg',`file_url_thumb`='bcprisme/73_83888_02.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1320740'
2023-10-13	13:09:05	2609	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:05	2609	[DEBUG]	Executed store
2023-10-13	13:09:05	2609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862101','1320740','1')
2023-10-13	13:09:05	2609	[DEBUG]	Store product image relation
2023-10-13	13:09:05	2609	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:05	2609	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862101 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:05	2609	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:05	2609	[DEBUG]	Executed store
2023-10-13	13:09:05	2609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862101','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:05	2609	[DEBUG]	Checking manufacturer
2023-10-13	13:09:05	2609	[DEBUG]	Load a row
2023-10-13	13:09:05	2609	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:05	2609	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:05	2609	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:05	2609	[DEBUG]	Executed store
2023-10-13	13:09:05	2609	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:05	2609	[DEBUG]	Manufacturer exists
2023-10-13	13:09:05	2609	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:05	2609	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:05	2609	[DEBUG]	Executed store
2023-10-13	13:09:05	2609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862101','26')
2023-10-13	13:09:05	2609	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:05	2609	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:05	2609	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862101 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:05	2609	[DEBUG]	Store custom available field
2023-10-13	13:09:05	2609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862101,3,'',1)
2023-10-13	13:09:05	2609	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:05	2609	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:05	2609	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862101 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:05	2609	[DEBUG]	Store custom available field
2023-10-13	13:09:05	2609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862101,6,'Unitaire',3)
2023-10-13	13:09:05	2609	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:05	2609	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:05	2609	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862100
2023-10-13	13:09:05	2609	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:05	2609	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862100\":[1862100,8,1,\"choisir la taille\"],\"1862101\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862100
2023-10-13	13:09:05	2609	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:05	2609	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862101
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:05	2610	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field taille
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:05	2610	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:05	2610	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:05	2610	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:05	2610	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:05	2610	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:05	2610	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field published
2023-10-13	13:09:05	2610	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:05	2610	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field override
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:05	2610	[DEBUG]	Use field value for field slug
2023-10-13	13:09:05	2610	[DEBUG]	Process line 2610
2023-10-13	13:09:05	2610	[DEBUG]	Load a row
2023-10-13	13:09:05	2610	[DEBUG]	Processing item: A_9472_208
2023-10-13	13:09:05	2610	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:05	2610	[DEBUG]	Processing product tax
2023-10-13	13:09:05	2610	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:05	2610	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:05	2610	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:05	2610	[DEBUG]	Query for Product
2023-10-13	13:09:05	2610	[DEBUG]	Executed store
2023-10-13	13:09:05	2610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9472_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:05	2610	[DEBUG]	Check product language entry
2023-10-13	13:09:05	2610	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862102
2023-10-13	13:09:05	2610	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:05	2610	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9472_208' AND `virtuemart_product_id` != 1862102
2023-10-13	13:09:05	2610	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:05	2610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862102, 'A_9472_208')
2023-10-13	13:09:05	2610	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:05	2610	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-b05s-resine-1-paire-aucune' AND `virtuemart_product_id` != 1862102
2023-10-13	13:09:05	2610	[DEBUG]	Query for ProductLang
2023-10-13	13:09:05	2610	[DEBUG]	Executed store
2023-10-13	13:09:05	2610	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.83606',`product_name`='SHIMANO Plaquettes B05S résine 1 paire / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-b05s-resine-1-paire-aucune' WHERE `virtuemart_product_id` = '1862102'
2023-10-13	13:09:05	2610	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_83587_0.jpg
2023-10-13	13:09:05	2610	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:05	2610	[DEBUG]	Process image file
2023-10-13	13:09:05	2610	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:05	2610	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:05	2610	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_83587_0.jpg
2023-10-13	13:09:05	2610	[DEBUG]	Full name target: bcprisme/73_83587_0.jpg
2023-10-13	13:09:06	2610	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:06	2610	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_83587_0.jpg'
2023-10-13	13:09:06	2610	[DEBUG]	Query for Media
2023-10-13	13:09:06	2610	[DEBUG]	Executed store
2023-10-13	13:09:06	2610	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_83587_0.jpg',`file_url_thumb`='bcprisme/73_83587_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1422582'
2023-10-13	13:09:06	2610	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:06	2610	[DEBUG]	Executed store
2023-10-13	13:09:06	2610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862102','1422582','1')
2023-10-13	13:09:06	2610	[DEBUG]	Store product image relation
2023-10-13	13:09:06	2610	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:06	2610	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862102 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:06	2610	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:06	2610	[DEBUG]	Executed store
2023-10-13	13:09:06	2610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862102','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:06	2610	[DEBUG]	Checking manufacturer
2023-10-13	13:09:06	2610	[DEBUG]	Load a row
2023-10-13	13:09:06	2610	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:06	2610	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:06	2610	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:06	2610	[DEBUG]	Executed store
2023-10-13	13:09:06	2610	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:06	2610	[DEBUG]	Manufacturer exists
2023-10-13	13:09:06	2610	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:06	2610	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:06	2610	[DEBUG]	Executed store
2023-10-13	13:09:06	2610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862102','26')
2023-10-13	13:09:06	2610	[DEBUG]	Find the custom field ID
2023-10-13	13:09:06	2610	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:06	2610	[DEBUG]	No custom field ID found
2023-10-13	13:09:06	2610	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:06	2610	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:06	2610	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862102 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:06	2610	[DEBUG]	Store custom available field
2023-10-13	13:09:06	2610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862102,3,'0',1)
2023-10-13	13:09:06	2610	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:06	2610	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:06	2610	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862102 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:06	2610	[DEBUG]	Store custom available field
2023-10-13	13:09:06	2610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862102,6,'choisir la taille',3)
2023-10-13	13:09:06	2610	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:06	2610	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:06	2610	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:06	2610	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:06	2610	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862102 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:06	2610	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:06	2610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862102,8,1)
2023-10-13	13:09:06	2610	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:06	2610	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862102\":[1862102,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862102
2023-10-13	13:09:06	2610	[DEBUG]	Checking category
2023-10-13	13:09:06	2610	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:06	2610	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862102
2023-10-13	13:09:06	2610	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:06	2610	[DEBUG]	Executed store
2023-10-13	13:09:06	2610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862102','7345')
2023-10-13	13:09:06	2610	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:06	2610	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862102 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:09:06	2610	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:06	2610	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862102
2023-10-13	13:09:06	2611	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:06	2611	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:06	2611	[DEBUG]	Use field value for field taille
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:06	2611	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:06	2611	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:06	2611	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:06	2611	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:06	2611	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:06	2611	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:06	2611	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:06	2611	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:06	2611	[DEBUG]	Use field value for field published
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:06	2611	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field override
2023-10-13	13:09:06	2611	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:06	2611	[DEBUG]	Use field value for field slug
2023-10-13	13:09:06	2611	[DEBUG]	Process line 2611
2023-10-13	13:09:06	2611	[DEBUG]	Load a row
2023-10-13	13:09:06	2611	[DEBUG]	Processing item: 4550170241834
2023-10-13	13:09:06	2611	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:06	2611	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:06	2611	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9472_208'
2023-10-13	13:09:06	2611	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:06	2611	[DEBUG]	Processing product tax
2023-10-13	13:09:06	2611	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:06	2611	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:06	2611	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:06	2611	[DEBUG]	Query for Product
2023-10-13	13:09:06	2611	[DEBUG]	Executed store
2023-10-13	13:09:06	2611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862102','4550170241834','0','KG','M','','34','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:06	2611	[DEBUG]	No parent found
2023-10-13	13:09:06	2611	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862102 AND customfield_value = 'stockable'
2023-10-13	13:09:06	2611	[DEBUG]	Check product language entry
2023-10-13	13:09:06	2611	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862103
2023-10-13	13:09:06	2611	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:06	2611	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170241834' AND `virtuemart_product_id` != 1862103
2023-10-13	13:09:06	2611	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:06	2611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862103, '4550170241834')
2023-10-13	13:09:06	2611	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:06	2611	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-b05s-resine-1-paire-aucune-unitaire' AND `virtuemart_product_id` != 1862103
2023-10-13	13:09:06	2611	[DEBUG]	Query for ProductLang
2023-10-13	13:09:06	2611	[DEBUG]	Executed store
2023-10-13	13:09:06	2611	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquettes B05S résine 1 paire / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-b05s-resine-1-paire-aucune-unitaire' WHERE `virtuemart_product_id` = '1862103'
2023-10-13	13:09:06	2611	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_83587_0.jpg
2023-10-13	13:09:06	2611	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:06	2611	[DEBUG]	Process image file
2023-10-13	13:09:06	2611	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:06	2611	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:06	2611	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_83587_0.jpg
2023-10-13	13:09:06	2611	[DEBUG]	Full name target: bcprisme/73_83587_0.jpg
2023-10-13	13:09:07	2611	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:07	2611	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_83587_0.jpg'
2023-10-13	13:09:07	2611	[DEBUG]	Query for Media
2023-10-13	13:09:07	2611	[DEBUG]	Executed store
2023-10-13	13:09:07	2611	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_83587_0.jpg',`file_url_thumb`='bcprisme/73_83587_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1422582'
2023-10-13	13:09:07	2611	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:07	2611	[DEBUG]	Executed store
2023-10-13	13:09:07	2611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862103','1422582','1')
2023-10-13	13:09:07	2611	[DEBUG]	Store product image relation
2023-10-13	13:09:07	2611	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:07	2611	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862103 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:07	2611	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:07	2611	[DEBUG]	Executed store
2023-10-13	13:09:07	2611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862103','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:07	2611	[DEBUG]	Checking manufacturer
2023-10-13	13:09:07	2611	[DEBUG]	Load a row
2023-10-13	13:09:07	2611	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:07	2611	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:07	2611	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:07	2611	[DEBUG]	Executed store
2023-10-13	13:09:07	2611	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:07	2611	[DEBUG]	Manufacturer exists
2023-10-13	13:09:07	2611	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:07	2611	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:07	2611	[DEBUG]	Executed store
2023-10-13	13:09:07	2611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862103','26')
2023-10-13	13:09:07	2611	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:07	2611	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:07	2611	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862103 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:07	2611	[DEBUG]	Store custom available field
2023-10-13	13:09:07	2611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862103,3,'',1)
2023-10-13	13:09:07	2611	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:07	2611	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:07	2611	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862103 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:07	2611	[DEBUG]	Store custom available field
2023-10-13	13:09:07	2611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862103,6,'Unitaire',3)
2023-10-13	13:09:07	2611	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:07	2611	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:07	2611	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862102
2023-10-13	13:09:07	2611	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:07	2611	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862102\":[1862102,8,1,\"choisir la taille\"],\"1862103\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862102
2023-10-13	13:09:07	2611	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:07	2611	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862103
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:07	2612	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field taille
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:07	2612	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:07	2612	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:07	2612	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:07	2612	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:07	2612	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:07	2612	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field published
2023-10-13	13:09:07	2612	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:07	2612	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field override
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:07	2612	[DEBUG]	Use field value for field slug
2023-10-13	13:09:07	2612	[DEBUG]	Process line 2612
2023-10-13	13:09:07	2612	[DEBUG]	Load a row
2023-10-13	13:09:07	2612	[DEBUG]	Processing item: A_9562_208
2023-10-13	13:09:07	2612	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:07	2612	[DEBUG]	Processing product tax
2023-10-13	13:09:07	2612	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:07	2612	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:07	2612	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:07	2612	[DEBUG]	Query for Product
2023-10-13	13:09:07	2612	[DEBUG]	Executed store
2023-10-13	13:09:07	2612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9562_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:07	2612	[DEBUG]	Check product language entry
2023-10-13	13:09:07	2612	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862104
2023-10-13	13:09:07	2612	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:07	2612	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9562_208' AND `virtuemart_product_id` != 1862104
2023-10-13	13:09:07	2612	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:07	2612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862104, 'A_9562_208')
2023-10-13	13:09:07	2612	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:07	2612	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-bpg05arxcs-resine-aucune' AND `virtuemart_product_id` != 1862104
2023-10-13	13:09:07	2612	[DEBUG]	Query for ProductLang
2023-10-13	13:09:07	2612	[DEBUG]	Executed store
2023-10-13	13:09:07	2612	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.84745',`product_name`='SHIMANO Plaquettes BPG05ARXCS résine / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-bpg05arxcs-resine-aucune' WHERE `virtuemart_product_id` = '1862104'
2023-10-13	13:09:07	2612	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_84746_0.jpg
2023-10-13	13:09:07	2612	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:07	2612	[DEBUG]	Process image file
2023-10-13	13:09:07	2612	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:07	2612	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:07	2612	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_84746_0.jpg
2023-10-13	13:09:07	2612	[DEBUG]	Full name target: bcprisme/73_84746_0.jpg
2023-10-13	13:09:08	2612	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:08	2612	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_84746_0.jpg'
2023-10-13	13:09:08	2612	[DEBUG]	Query for Media
2023-10-13	13:09:08	2612	[DEBUG]	Executed store
2023-10-13	13:09:08	2612	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_84746_0.jpg',`file_url_thumb`='bcprisme/73_84746_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1478827'
2023-10-13	13:09:08	2612	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:08	2612	[DEBUG]	Executed store
2023-10-13	13:09:08	2612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862104','1478827','1')
2023-10-13	13:09:08	2612	[DEBUG]	Store product image relation
2023-10-13	13:09:08	2612	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:08	2612	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862104 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:08	2612	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:08	2612	[DEBUG]	Executed store
2023-10-13	13:09:08	2612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862104','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:08	2612	[DEBUG]	Checking manufacturer
2023-10-13	13:09:08	2612	[DEBUG]	Load a row
2023-10-13	13:09:08	2612	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:08	2612	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:08	2612	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:08	2612	[DEBUG]	Executed store
2023-10-13	13:09:08	2612	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:08	2612	[DEBUG]	Manufacturer exists
2023-10-13	13:09:08	2612	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:08	2612	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:08	2612	[DEBUG]	Executed store
2023-10-13	13:09:08	2612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862104','26')
2023-10-13	13:09:08	2612	[DEBUG]	Find the custom field ID
2023-10-13	13:09:08	2612	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:08	2612	[DEBUG]	No custom field ID found
2023-10-13	13:09:08	2612	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:08	2612	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:08	2612	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862104 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:08	2612	[DEBUG]	Store custom available field
2023-10-13	13:09:08	2612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862104,3,'0',1)
2023-10-13	13:09:08	2612	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:08	2612	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:08	2612	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862104 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:08	2612	[DEBUG]	Store custom available field
2023-10-13	13:09:08	2612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862104,6,'choisir la taille',3)
2023-10-13	13:09:08	2612	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:08	2612	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:08	2612	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:08	2612	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:08	2612	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862104 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:08	2612	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:08	2612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862104,8,1)
2023-10-13	13:09:08	2612	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:08	2612	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862104\":[1862104,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862104
2023-10-13	13:09:08	2612	[DEBUG]	Checking category
2023-10-13	13:09:08	2612	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:08	2612	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862104
2023-10-13	13:09:08	2612	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:08	2612	[DEBUG]	Executed store
2023-10-13	13:09:08	2612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862104','7345')
2023-10-13	13:09:08	2612	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:08	2612	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862104 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:09:08	2612	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:08	2612	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862104
2023-10-13	13:09:08	2613	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:08	2613	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:08	2613	[DEBUG]	Use field value for field taille
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:08	2613	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:08	2613	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:08	2613	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:08	2613	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:08	2613	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:08	2613	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:08	2613	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:08	2613	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:08	2613	[DEBUG]	Use field value for field published
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:08	2613	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field override
2023-10-13	13:09:08	2613	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:08	2613	[DEBUG]	Use field value for field slug
2023-10-13	13:09:08	2613	[DEBUG]	Process line 2613
2023-10-13	13:09:08	2613	[DEBUG]	Load a row
2023-10-13	13:09:08	2613	[DEBUG]	Processing item: 4550170311308
2023-10-13	13:09:08	2613	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:08	2613	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:08	2613	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9562_208'
2023-10-13	13:09:08	2613	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:08	2613	[DEBUG]	Processing product tax
2023-10-13	13:09:08	2613	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:08	2613	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:08	2613	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:08	2613	[DEBUG]	Query for Product
2023-10-13	13:09:08	2613	[DEBUG]	Executed store
2023-10-13	13:09:08	2613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862104','4550170311308','0','KG','M','','21','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:08	2613	[DEBUG]	No parent found
2023-10-13	13:09:08	2613	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862104 AND customfield_value = 'stockable'
2023-10-13	13:09:08	2613	[DEBUG]	Check product language entry
2023-10-13	13:09:08	2613	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862105
2023-10-13	13:09:08	2613	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:08	2613	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170311308' AND `virtuemart_product_id` != 1862105
2023-10-13	13:09:08	2613	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:08	2613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862105, '4550170311308')
2023-10-13	13:09:08	2613	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:08	2613	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-bpg05arxcs-resine-aucune-unitaire' AND `virtuemart_product_id` != 1862105
2023-10-13	13:09:08	2613	[DEBUG]	Query for ProductLang
2023-10-13	13:09:08	2613	[DEBUG]	Executed store
2023-10-13	13:09:08	2613	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquettes BPG05ARXCS résine / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-bpg05arxcs-resine-aucune-unitaire' WHERE `virtuemart_product_id` = '1862105'
2023-10-13	13:09:08	2613	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_84746_0.jpg
2023-10-13	13:09:08	2613	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:08	2613	[DEBUG]	Process image file
2023-10-13	13:09:08	2613	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:08	2613	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:08	2613	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_84746_0.jpg
2023-10-13	13:09:08	2613	[DEBUG]	Full name target: bcprisme/73_84746_0.jpg
2023-10-13	13:09:09	2613	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:09	2613	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_84746_0.jpg'
2023-10-13	13:09:09	2613	[DEBUG]	Query for Media
2023-10-13	13:09:09	2613	[DEBUG]	Executed store
2023-10-13	13:09:09	2613	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_84746_0.jpg',`file_url_thumb`='bcprisme/73_84746_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1478827'
2023-10-13	13:09:09	2613	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:09	2613	[DEBUG]	Executed store
2023-10-13	13:09:09	2613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862105','1478827','1')
2023-10-13	13:09:09	2613	[DEBUG]	Store product image relation
2023-10-13	13:09:09	2613	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:09	2613	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862105 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:09	2613	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:09	2613	[DEBUG]	Executed store
2023-10-13	13:09:09	2613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862105','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:09	2613	[DEBUG]	Checking manufacturer
2023-10-13	13:09:09	2613	[DEBUG]	Load a row
2023-10-13	13:09:09	2613	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:09	2613	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:09	2613	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:09	2613	[DEBUG]	Executed store
2023-10-13	13:09:09	2613	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:09	2613	[DEBUG]	Manufacturer exists
2023-10-13	13:09:09	2613	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:09	2613	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:09	2613	[DEBUG]	Executed store
2023-10-13	13:09:09	2613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862105','26')
2023-10-13	13:09:09	2613	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:09	2613	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:09	2613	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862105 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:09	2613	[DEBUG]	Store custom available field
2023-10-13	13:09:09	2613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862105,3,'',1)
2023-10-13	13:09:09	2613	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:09	2613	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:09	2613	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862105 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:09	2613	[DEBUG]	Store custom available field
2023-10-13	13:09:09	2613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862105,6,'Unitaire',3)
2023-10-13	13:09:09	2613	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:09	2613	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:09	2613	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862104
2023-10-13	13:09:09	2613	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:09	2613	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862104\":[1862104,8,1,\"choisir la taille\"],\"1862105\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862104
2023-10-13	13:09:09	2613	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:09	2613	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862105
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:09	2614	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field taille
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:09	2614	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:09	2614	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:09	2614	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:09	2614	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:09	2614	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:09	2614	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field published
2023-10-13	13:09:09	2614	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:09	2614	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field override
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:09	2614	[DEBUG]	Use field value for field slug
2023-10-13	13:09:09	2614	[DEBUG]	Process line 2614
2023-10-13	13:09:09	2614	[DEBUG]	Load a row
2023-10-13	13:09:09	2614	[DEBUG]	Processing item: A_9586_208
2023-10-13	13:09:09	2614	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:09	2614	[DEBUG]	Processing product tax
2023-10-13	13:09:09	2614	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:09	2614	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:09	2614	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:09	2614	[DEBUG]	Query for Product
2023-10-13	13:09:09	2614	[DEBUG]	Executed store
2023-10-13	13:09:09	2614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9586_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:09	2614	[DEBUG]	Check product language entry
2023-10-13	13:09:09	2614	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862106
2023-10-13	13:09:09	2614	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:09	2614	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9586_208' AND `virtuemart_product_id` != 1862106
2023-10-13	13:09:09	2614	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:09	2614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862106, 'A_9586_208')
2023-10-13	13:09:09	2614	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:09	2614	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-plaquettes-de-freins-aucune' AND `virtuemart_product_id` != 1862106
2023-10-13	13:09:09	2614	[DEBUG]	Query for ProductLang
2023-10-13	13:09:09	2614	[DEBUG]	Executed store
2023-10-13	13:09:09	2614	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8785D',`product_name`='MAGURA Plaquettes de freins / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-plaquettes-de-freins-aucune' WHERE `virtuemart_product_id` = '1862106'
2023-10-13	13:09:09	2614	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/h8785.jpg
2023-10-13	13:09:09	2614	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:09	2614	[DEBUG]	Process image file
2023-10-13	13:09:09	2614	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:09	2614	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:09	2614	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/h8785.jpg
2023-10-13	13:09:09	2614	[DEBUG]	Full name target: bcprisme/h8785.jpg
2023-10-13	13:09:10	2614	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:10	2614	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/h8785.jpg'
2023-10-13	13:09:10	2614	[DEBUG]	Query for Media
2023-10-13	13:09:10	2614	[DEBUG]	Executed store
2023-10-13	13:09:10	2614	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/h8785.jpg',`file_url_thumb`='bcprisme/h8785.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1490028'
2023-10-13	13:09:10	2614	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:10	2614	[DEBUG]	Executed store
2023-10-13	13:09:10	2614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862106','1490028','1')
2023-10-13	13:09:10	2614	[DEBUG]	Store product image relation
2023-10-13	13:09:10	2614	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:10	2614	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862106 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:10	2614	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:10	2614	[DEBUG]	Executed store
2023-10-13	13:09:10	2614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862106','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:10	2614	[DEBUG]	Checking manufacturer
2023-10-13	13:09:10	2614	[DEBUG]	Load a row
2023-10-13	13:09:10	2614	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:10	2614	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:09:10	2614	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:10	2614	[DEBUG]	Executed store
2023-10-13	13:09:10	2614	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:09:10	2614	[DEBUG]	Manufacturer exists
2023-10-13	13:09:10	2614	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:09:10	2614	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:10	2614	[DEBUG]	Executed store
2023-10-13	13:09:10	2614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862106','38')
2023-10-13	13:09:10	2614	[DEBUG]	Find the custom field ID
2023-10-13	13:09:10	2614	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:10	2614	[DEBUG]	No custom field ID found
2023-10-13	13:09:10	2614	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:10	2614	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:10	2614	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862106 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:10	2614	[DEBUG]	Store custom available field
2023-10-13	13:09:10	2614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862106,3,'0',1)
2023-10-13	13:09:10	2614	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:10	2614	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:10	2614	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862106 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:10	2614	[DEBUG]	Store custom available field
2023-10-13	13:09:10	2614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862106,6,'choisir la taille',3)
2023-10-13	13:09:10	2614	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:10	2614	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:10	2614	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:10	2614	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:10	2614	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862106 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:10	2614	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:10	2614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862106,8,1)
2023-10-13	13:09:10	2614	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:10	2614	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862106\":[1862106,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862106
2023-10-13	13:09:10	2614	[DEBUG]	Checking category
2023-10-13	13:09:10	2614	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:10	2614	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862106
2023-10-13	13:09:10	2614	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:10	2614	[DEBUG]	Executed store
2023-10-13	13:09:10	2614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862106','7345')
2023-10-13	13:09:10	2614	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:10	2614	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862106 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:09:10	2614	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:10	2614	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862106
2023-10-13	13:09:10	2615	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:10	2615	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:10	2615	[DEBUG]	Use field value for field taille
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:10	2615	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:10	2615	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:10	2615	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:10	2615	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:10	2615	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:10	2615	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:10	2615	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:10	2615	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:10	2615	[DEBUG]	Use field value for field published
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:10	2615	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field override
2023-10-13	13:09:10	2615	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:10	2615	[DEBUG]	Use field value for field slug
2023-10-13	13:09:10	2615	[DEBUG]	Process line 2615
2023-10-13	13:09:10	2615	[DEBUG]	Load a row
2023-10-13	13:09:10	2615	[DEBUG]	Processing item: 4055184022054
2023-10-13	13:09:10	2615	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:10	2615	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:10	2615	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9586_208'
2023-10-13	13:09:10	2615	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:10	2615	[DEBUG]	Processing product tax
2023-10-13	13:09:10	2615	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:10	2615	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:10	2615	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:10	2615	[DEBUG]	Query for Product
2023-10-13	13:09:10	2615	[DEBUG]	Executed store
2023-10-13	13:09:10	2615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862106','4055184022054','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:10	2615	[DEBUG]	No parent found
2023-10-13	13:09:10	2615	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862106 AND customfield_value = 'stockable'
2023-10-13	13:09:10	2615	[DEBUG]	Check product language entry
2023-10-13	13:09:10	2615	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862107
2023-10-13	13:09:10	2615	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:10	2615	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184022054' AND `virtuemart_product_id` != 1862107
2023-10-13	13:09:10	2615	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:10	2615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862107, '4055184022054')
2023-10-13	13:09:10	2615	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:10	2615	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-plaquettes-de-freins-aucune-unitaire' AND `virtuemart_product_id` != 1862107
2023-10-13	13:09:10	2615	[DEBUG]	Query for ProductLang
2023-10-13	13:09:10	2615	[DEBUG]	Executed store
2023-10-13	13:09:10	2615	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Plaquettes de freins / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-plaquettes-de-freins-aucune-unitaire' WHERE `virtuemart_product_id` = '1862107'
2023-10-13	13:09:10	2615	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/h8785.jpg
2023-10-13	13:09:10	2615	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:10	2615	[DEBUG]	Process image file
2023-10-13	13:09:10	2615	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:10	2615	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:10	2615	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/h8785.jpg
2023-10-13	13:09:10	2615	[DEBUG]	Full name target: bcprisme/h8785.jpg
2023-10-13	13:09:11	2615	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:11	2615	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/h8785.jpg'
2023-10-13	13:09:11	2615	[DEBUG]	Query for Media
2023-10-13	13:09:11	2615	[DEBUG]	Executed store
2023-10-13	13:09:11	2615	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/h8785.jpg',`file_url_thumb`='bcprisme/h8785.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1490028'
2023-10-13	13:09:11	2615	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:11	2615	[DEBUG]	Executed store
2023-10-13	13:09:11	2615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862107','1490028','1')
2023-10-13	13:09:11	2615	[DEBUG]	Store product image relation
2023-10-13	13:09:11	2615	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:11	2615	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862107 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:11	2615	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:11	2615	[DEBUG]	Executed store
2023-10-13	13:09:11	2615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862107','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:11	2615	[DEBUG]	Checking manufacturer
2023-10-13	13:09:11	2615	[DEBUG]	Load a row
2023-10-13	13:09:11	2615	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:11	2615	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:09:11	2615	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:11	2615	[DEBUG]	Executed store
2023-10-13	13:09:11	2615	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:09:11	2615	[DEBUG]	Manufacturer exists
2023-10-13	13:09:11	2615	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:09:11	2615	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:11	2615	[DEBUG]	Executed store
2023-10-13	13:09:11	2615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862107','38')
2023-10-13	13:09:11	2615	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:11	2615	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:11	2615	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862107 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:11	2615	[DEBUG]	Store custom available field
2023-10-13	13:09:11	2615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862107,3,'',1)
2023-10-13	13:09:11	2615	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:11	2615	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:11	2615	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862107 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:11	2615	[DEBUG]	Store custom available field
2023-10-13	13:09:11	2615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862107,6,'Unitaire',3)
2023-10-13	13:09:11	2615	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:11	2615	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:11	2615	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862106
2023-10-13	13:09:11	2615	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:11	2615	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862106\":[1862106,8,1,\"choisir la taille\"],\"1862107\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862106
2023-10-13	13:09:11	2615	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:11	2615	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862107
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:11	2616	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field taille
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:11	2616	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:11	2616	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:11	2616	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:11	2616	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:11	2616	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:11	2616	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:11	2616	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field published
2023-10-13	13:09:11	2616	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:11	2616	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field override
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:11	2616	[DEBUG]	Use field value for field slug
2023-10-13	13:09:11	2616	[DEBUG]	Process line 2616
2023-10-13	13:09:11	2616	[DEBUG]	Load a row
2023-10-13	13:09:11	2616	[DEBUG]	Processing item: A_9601_208
2023-10-13	13:09:11	2616	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:11	2616	[DEBUG]	Processing product tax
2023-10-13	13:09:11	2616	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:11	2616	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:11	2616	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:11	2616	[DEBUG]	Query for Product
2023-10-13	13:09:11	2616	[DEBUG]	Executed store
2023-10-13	13:09:11	2616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9601_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:11	2616	[DEBUG]	Check product language entry
2023-10-13	13:09:11	2616	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862108
2023-10-13	13:09:11	2616	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:11	2616	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9601_208' AND `virtuemart_product_id` != 1862108
2023-10-13	13:09:11	2616	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:11	2616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862108, 'A_9601_208')
2023-10-13	13:09:11	2616	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:11	2616	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-bpd03srxbs-resine-25-paires-emballage-d-atelier-aucune' AND `virtuemart_product_id` != 1862108
2023-10-13	13:09:11	2616	[DEBUG]	Query for ProductLang
2023-10-13	13:09:11	2616	[DEBUG]	Executed store
2023-10-13	13:09:11	2616	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.84742',`product_name`='SHIMANO Plaquettes BPD03SRXBS résine 25 paires emballage d\'atelier / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-bpd03srxbs-resine-25-paires-emballage-d-atelier-aucune' WHERE `virtuemart_product_id` = '1862108'
2023-10-13	13:09:11	2616	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75474_00.jpg
2023-10-13	13:09:11	2616	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:11	2616	[DEBUG]	Process image file
2023-10-13	13:09:11	2616	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:11	2616	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:11	2616	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75474_00.jpg
2023-10-13	13:09:11	2616	[DEBUG]	Full name target: bcprisme/73_75474_00.jpg
2023-10-13	13:09:12	2616	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:12	2616	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75474_00.jpg'
2023-10-13	13:09:12	2616	[DEBUG]	Query for Media
2023-10-13	13:09:12	2616	[DEBUG]	Executed store
2023-10-13	13:09:12	2616	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75474_00.jpg',`file_url_thumb`='bcprisme/73_75474_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1276465'
2023-10-13	13:09:12	2616	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:12	2616	[DEBUG]	Executed store
2023-10-13	13:09:12	2616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862108','1276465','1')
2023-10-13	13:09:12	2616	[DEBUG]	Store product image relation
2023-10-13	13:09:12	2616	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:12	2616	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862108 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:12	2616	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:12	2616	[DEBUG]	Executed store
2023-10-13	13:09:12	2616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862108','0','313.834726090994','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:12	2616	[DEBUG]	Checking manufacturer
2023-10-13	13:09:12	2616	[DEBUG]	Load a row
2023-10-13	13:09:12	2616	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:12	2616	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:12	2616	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:12	2616	[DEBUG]	Executed store
2023-10-13	13:09:12	2616	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:12	2616	[DEBUG]	Manufacturer exists
2023-10-13	13:09:12	2616	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:12	2616	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:12	2616	[DEBUG]	Executed store
2023-10-13	13:09:12	2616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862108','26')
2023-10-13	13:09:12	2616	[DEBUG]	Find the custom field ID
2023-10-13	13:09:12	2616	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:12	2616	[DEBUG]	No custom field ID found
2023-10-13	13:09:12	2616	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:12	2616	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:12	2616	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862108 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:12	2616	[DEBUG]	Store custom available field
2023-10-13	13:09:12	2616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862108,3,'0',1)
2023-10-13	13:09:12	2616	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:12	2616	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:12	2616	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862108 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:12	2616	[DEBUG]	Store custom available field
2023-10-13	13:09:12	2616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862108,6,'choisir la taille',3)
2023-10-13	13:09:12	2616	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:12	2616	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:12	2616	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:12	2616	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:12	2616	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862108 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:12	2616	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:12	2616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862108,8,1)
2023-10-13	13:09:12	2616	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:12	2616	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862108\":[1862108,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862108
2023-10-13	13:09:12	2616	[DEBUG]	Checking category
2023-10-13	13:09:12	2616	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:12	2616	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862108
2023-10-13	13:09:12	2616	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:12	2616	[DEBUG]	Executed store
2023-10-13	13:09:12	2616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862108','7345')
2023-10-13	13:09:12	2616	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:12	2616	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862108 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:09:12	2616	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:12	2616	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862108
2023-10-13	13:09:12	2617	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:12	2617	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:12	2617	[DEBUG]	Use field value for field taille
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:12	2617	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:12	2617	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:12	2617	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:12	2617	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:12	2617	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:12	2617	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:12	2617	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:12	2617	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:12	2617	[DEBUG]	Use field value for field published
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:12	2617	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field override
2023-10-13	13:09:12	2617	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:12	2617	[DEBUG]	Use field value for field slug
2023-10-13	13:09:12	2617	[DEBUG]	Process line 2617
2023-10-13	13:09:12	2617	[DEBUG]	Load a row
2023-10-13	13:09:12	2617	[DEBUG]	Processing item: 4550170311261
2023-10-13	13:09:12	2617	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:12	2617	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:12	2617	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9601_208'
2023-10-13	13:09:12	2617	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:12	2617	[DEBUG]	Processing product tax
2023-10-13	13:09:12	2617	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:12	2617	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:12	2617	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:12	2617	[DEBUG]	Query for Product
2023-10-13	13:09:12	2617	[DEBUG]	Executed store
2023-10-13	13:09:12	2617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862108','4550170311261','0','KG','M','','26','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:12	2617	[DEBUG]	No parent found
2023-10-13	13:09:12	2617	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862108 AND customfield_value = 'stockable'
2023-10-13	13:09:12	2617	[DEBUG]	Check product language entry
2023-10-13	13:09:12	2617	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862109
2023-10-13	13:09:12	2617	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:12	2617	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170311261' AND `virtuemart_product_id` != 1862109
2023-10-13	13:09:12	2617	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:12	2617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862109, '4550170311261')
2023-10-13	13:09:12	2617	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:12	2617	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-bpd03srxbs-resine-25-paires-emballage-d-atelier-aucune-unitaire' AND `virtuemart_product_id` != 1862109
2023-10-13	13:09:12	2617	[DEBUG]	Query for ProductLang
2023-10-13	13:09:12	2617	[DEBUG]	Executed store
2023-10-13	13:09:12	2617	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquettes BPD03SRXBS résine 25 paires emballage d\'atelier / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-bpd03srxbs-resine-25-paires-emballage-d-atelier-aucune-unitaire' WHERE `virtuemart_product_id` = '1862109'
2023-10-13	13:09:12	2617	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75474_00.jpg
2023-10-13	13:09:12	2617	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:12	2617	[DEBUG]	Process image file
2023-10-13	13:09:12	2617	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:12	2617	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:12	2617	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_75474_00.jpg
2023-10-13	13:09:12	2617	[DEBUG]	Full name target: bcprisme/73_75474_00.jpg
2023-10-13	13:09:13	2617	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:13	2617	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_75474_00.jpg'
2023-10-13	13:09:13	2617	[DEBUG]	Query for Media
2023-10-13	13:09:13	2617	[DEBUG]	Executed store
2023-10-13	13:09:13	2617	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_75474_00.jpg',`file_url_thumb`='bcprisme/73_75474_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1276465'
2023-10-13	13:09:13	2617	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:13	2617	[DEBUG]	Executed store
2023-10-13	13:09:13	2617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862109','1276465','1')
2023-10-13	13:09:13	2617	[DEBUG]	Store product image relation
2023-10-13	13:09:13	2617	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:13	2617	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862109 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:13	2617	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:13	2617	[DEBUG]	Executed store
2023-10-13	13:09:13	2617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862109','0','313.834726090994','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:13	2617	[DEBUG]	Checking manufacturer
2023-10-13	13:09:13	2617	[DEBUG]	Load a row
2023-10-13	13:09:13	2617	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:13	2617	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:13	2617	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:13	2617	[DEBUG]	Executed store
2023-10-13	13:09:13	2617	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:13	2617	[DEBUG]	Manufacturer exists
2023-10-13	13:09:13	2617	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:13	2617	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:13	2617	[DEBUG]	Executed store
2023-10-13	13:09:13	2617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862109','26')
2023-10-13	13:09:13	2617	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:13	2617	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:13	2617	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862109 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:13	2617	[DEBUG]	Store custom available field
2023-10-13	13:09:13	2617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862109,3,'',1)
2023-10-13	13:09:13	2617	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:13	2617	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:13	2617	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862109 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:13	2617	[DEBUG]	Store custom available field
2023-10-13	13:09:13	2617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862109,6,'Unitaire',3)
2023-10-13	13:09:13	2617	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:13	2617	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:13	2617	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862108
2023-10-13	13:09:13	2617	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:13	2617	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862108\":[1862108,8,1,\"choisir la taille\"],\"1862109\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862108
2023-10-13	13:09:13	2617	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:13	2617	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862109
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:13	2618	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field taille
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:13	2618	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:13	2618	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:13	2618	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:13	2618	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:13	2618	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:13	2618	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field published
2023-10-13	13:09:13	2618	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:13	2618	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field override
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:13	2618	[DEBUG]	Use field value for field slug
2023-10-13	13:09:13	2618	[DEBUG]	Process line 2618
2023-10-13	13:09:13	2618	[DEBUG]	Load a row
2023-10-13	13:09:13	2618	[DEBUG]	Processing item: A_9616_208
2023-10-13	13:09:13	2618	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:13	2618	[DEBUG]	Processing product tax
2023-10-13	13:09:13	2618	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:13	2618	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:13	2618	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:13	2618	[DEBUG]	Query for Product
2023-10-13	13:09:13	2618	[DEBUG]	Executed store
2023-10-13	13:09:13	2618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9616_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:13	2618	[DEBUG]	Check product language entry
2023-10-13	13:09:13	2618	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862110
2023-10-13	13:09:13	2618	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:13	2618	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9616_208' AND `virtuemart_product_id` != 1862110
2023-10-13	13:09:13	2618	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:13	2618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862110, 'A_9616_208')
2023-10-13	13:09:13	2618	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:13	2618	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-plaquettes-de-freins-aucune' AND `virtuemart_product_id` != 1862110
2023-10-13	13:09:13	2618	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:09:13	2618	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'magura-plaquettes-de-freins-aucune', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'magura-plaquettes-de-freins-aucune' OR `slug` LIKE 'magura-plaquettes-de-freins-aucune-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862110 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:09:13	2618	[DEBUG]	Query for ProductLang
2023-10-13	13:09:13	2618	[DEBUG]	Executed store
2023-10-13	13:09:13	2618	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H8794A',`product_name`='MAGURA Plaquettes de freins / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-plaquettes-de-freins-aucune-1' WHERE `virtuemart_product_id` = '1862110'
2023-10-13	13:09:13	2618	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/h8794.jpg
2023-10-13	13:09:13	2618	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:13	2618	[DEBUG]	Process image file
2023-10-13	13:09:13	2618	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:13	2618	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:13	2618	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/h8794.jpg
2023-10-13	13:09:13	2618	[DEBUG]	Full name target: bcprisme/h8794.jpg
2023-10-13	13:09:14	2618	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:14	2618	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/h8794.jpg'
2023-10-13	13:09:14	2618	[DEBUG]	Query for Media
2023-10-13	13:09:14	2618	[DEBUG]	Executed store
2023-10-13	13:09:14	2618	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/h8794.jpg',`file_url_thumb`='bcprisme/h8794.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1500658'
2023-10-13	13:09:14	2618	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:14	2618	[DEBUG]	Executed store
2023-10-13	13:09:14	2618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862110','1500658','1')
2023-10-13	13:09:14	2618	[DEBUG]	Store product image relation
2023-10-13	13:09:14	2618	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:14	2618	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862110 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:14	2618	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:14	2618	[DEBUG]	Executed store
2023-10-13	13:09:14	2618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862110','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:14	2618	[DEBUG]	Checking manufacturer
2023-10-13	13:09:14	2618	[DEBUG]	Load a row
2023-10-13	13:09:14	2618	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:14	2618	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:09:14	2618	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:14	2618	[DEBUG]	Executed store
2023-10-13	13:09:14	2618	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:09:14	2618	[DEBUG]	Manufacturer exists
2023-10-13	13:09:14	2618	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:09:14	2618	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:14	2618	[DEBUG]	Executed store
2023-10-13	13:09:14	2618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862110','38')
2023-10-13	13:09:14	2618	[DEBUG]	Find the custom field ID
2023-10-13	13:09:14	2618	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:14	2618	[DEBUG]	No custom field ID found
2023-10-13	13:09:14	2618	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:14	2618	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:14	2618	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862110 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:14	2618	[DEBUG]	Store custom available field
2023-10-13	13:09:14	2618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862110,3,'0',1)
2023-10-13	13:09:14	2618	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:14	2618	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:14	2618	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862110 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:14	2618	[DEBUG]	Store custom available field
2023-10-13	13:09:14	2618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862110,6,'choisir la taille',3)
2023-10-13	13:09:14	2618	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:14	2618	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:14	2618	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:14	2618	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:14	2618	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862110 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:14	2618	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:14	2618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862110,8,1)
2023-10-13	13:09:14	2618	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:14	2618	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862110\":[1862110,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862110
2023-10-13	13:09:14	2618	[DEBUG]	Checking category
2023-10-13	13:09:14	2618	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:14	2618	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862110
2023-10-13	13:09:14	2618	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:14	2618	[DEBUG]	Executed store
2023-10-13	13:09:14	2618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862110','7345')
2023-10-13	13:09:14	2618	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:14	2618	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862110 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:09:14	2618	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:14	2618	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862110
2023-10-13	13:09:14	2619	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:14	2619	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:14	2619	[DEBUG]	Use field value for field taille
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:14	2619	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:14	2619	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:14	2619	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:14	2619	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:14	2619	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:14	2619	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:14	2619	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:14	2619	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:14	2619	[DEBUG]	Use field value for field published
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:14	2619	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field override
2023-10-13	13:09:14	2619	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:14	2619	[DEBUG]	Use field value for field slug
2023-10-13	13:09:14	2619	[DEBUG]	Process line 2619
2023-10-13	13:09:14	2619	[DEBUG]	Load a row
2023-10-13	13:09:14	2619	[DEBUG]	Processing item: 4055184025932
2023-10-13	13:09:14	2619	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:14	2619	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:14	2619	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9616_208'
2023-10-13	13:09:14	2619	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:14	2619	[DEBUG]	Processing product tax
2023-10-13	13:09:14	2619	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:14	2619	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:14	2619	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:14	2619	[DEBUG]	Query for Product
2023-10-13	13:09:14	2619	[DEBUG]	Executed store
2023-10-13	13:09:14	2619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862110','4055184025932','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:14	2619	[DEBUG]	No parent found
2023-10-13	13:09:14	2619	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862110 AND customfield_value = 'stockable'
2023-10-13	13:09:14	2619	[DEBUG]	Check product language entry
2023-10-13	13:09:14	2619	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862111
2023-10-13	13:09:14	2619	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:14	2619	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184025932' AND `virtuemart_product_id` != 1862111
2023-10-13	13:09:14	2619	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:14	2619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862111, '4055184025932')
2023-10-13	13:09:14	2619	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:14	2619	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-plaquettes-de-freins-aucune-unitaire' AND `virtuemart_product_id` != 1862111
2023-10-13	13:09:14	2619	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:09:14	2619	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'magura-plaquettes-de-freins-aucune-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'magura-plaquettes-de-freins-aucune-unitaire' OR `slug` LIKE 'magura-plaquettes-de-freins-aucune-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862111 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:09:14	2619	[DEBUG]	Query for ProductLang
2023-10-13	13:09:14	2619	[DEBUG]	Executed store
2023-10-13	13:09:14	2619	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA Plaquettes de freins / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-plaquettes-de-freins-aucune-unitaire-1' WHERE `virtuemart_product_id` = '1862111'
2023-10-13	13:09:14	2619	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/h8794.jpg
2023-10-13	13:09:14	2619	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:14	2619	[DEBUG]	Process image file
2023-10-13	13:09:14	2619	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:14	2619	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:14	2619	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/h8794.jpg
2023-10-13	13:09:14	2619	[DEBUG]	Full name target: bcprisme/h8794.jpg
2023-10-13	13:09:15	2619	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:15	2619	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/h8794.jpg'
2023-10-13	13:09:15	2619	[DEBUG]	Query for Media
2023-10-13	13:09:15	2619	[DEBUG]	Executed store
2023-10-13	13:09:15	2619	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/h8794.jpg',`file_url_thumb`='bcprisme/h8794.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1500658'
2023-10-13	13:09:15	2619	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:15	2619	[DEBUG]	Executed store
2023-10-13	13:09:15	2619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862111','1500658','1')
2023-10-13	13:09:15	2619	[DEBUG]	Store product image relation
2023-10-13	13:09:15	2619	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:15	2619	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862111 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:15	2619	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:15	2619	[DEBUG]	Executed store
2023-10-13	13:09:15	2619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862111','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:15	2619	[DEBUG]	Checking manufacturer
2023-10-13	13:09:15	2619	[DEBUG]	Load a row
2023-10-13	13:09:15	2619	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:15	2619	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:09:15	2619	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:15	2619	[DEBUG]	Executed store
2023-10-13	13:09:15	2619	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:09:15	2619	[DEBUG]	Manufacturer exists
2023-10-13	13:09:15	2619	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:09:15	2619	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:15	2619	[DEBUG]	Executed store
2023-10-13	13:09:15	2619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862111','38')
2023-10-13	13:09:15	2619	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:15	2619	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:15	2619	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862111 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:15	2619	[DEBUG]	Store custom available field
2023-10-13	13:09:15	2619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862111,3,'',1)
2023-10-13	13:09:15	2619	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:15	2619	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:15	2619	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862111 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:15	2619	[DEBUG]	Store custom available field
2023-10-13	13:09:15	2619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862111,6,'Unitaire',3)
2023-10-13	13:09:15	2619	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:15	2619	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:15	2619	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862110
2023-10-13	13:09:15	2619	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:15	2619	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862110\":[1862110,8,1,\"choisir la taille\"],\"1862111\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862110
2023-10-13	13:09:15	2619	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:15	2619	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862111
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:15	2620	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field taille
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:15	2620	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:15	2620	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:15	2620	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:15	2620	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:15	2620	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:15	2620	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field published
2023-10-13	13:09:15	2620	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:15	2620	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field override
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:15	2620	[DEBUG]	Use field value for field slug
2023-10-13	13:09:15	2620	[DEBUG]	Process line 2620
2023-10-13	13:09:15	2620	[DEBUG]	Load a row
2023-10-13	13:09:15	2620	[DEBUG]	Processing item: A_9777_208
2023-10-13	13:09:15	2620	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:15	2620	[DEBUG]	Processing product tax
2023-10-13	13:09:15	2620	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:15	2620	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:15	2620	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:15	2620	[DEBUG]	Query for Product
2023-10-13	13:09:15	2620	[DEBUG]	Executed store
2023-10-13	13:09:15	2620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9777_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:15	2620	[DEBUG]	Check product language entry
2023-10-13	13:09:15	2620	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862112
2023-10-13	13:09:15	2620	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:15	2620	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9777_208' AND `virtuemart_product_id` != 1862112
2023-10-13	13:09:15	2620	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:15	2620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862112, 'A_9777_208')
2023-10-13	13:09:15	2620	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:15	2620	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-bpl05arfa-resine-avec-lamelle-paires-aucune' AND `virtuemart_product_id` != 1862112
2023-10-13	13:09:15	2620	[DEBUG]	Query for ProductLang
2023-10-13	13:09:15	2620	[DEBUG]	Executed store
2023-10-13	13:09:15	2620	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.84752',`product_name`='SHIMANO Plaquettes BPL05ARFA résine avec lamelle paires / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-bpl05arfa-resine-avec-lamelle-paires-aucune' WHERE `virtuemart_product_id` = '1862112'
2023-10-13	13:09:15	2620	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39211_plaquettes_bpl05arfa_resine_avec_lamelle_paires.jpg has not been found.
2023-10-13	13:09:15	2620	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:15	2620	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862112 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:15	2620	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:15	2620	[DEBUG]	Executed store
2023-10-13	13:09:15	2620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862112','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:15	2620	[DEBUG]	Checking manufacturer
2023-10-13	13:09:15	2620	[DEBUG]	Load a row
2023-10-13	13:09:15	2620	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:15	2620	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:15	2620	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:15	2620	[DEBUG]	Executed store
2023-10-13	13:09:15	2620	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:15	2620	[DEBUG]	Manufacturer exists
2023-10-13	13:09:15	2620	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:15	2620	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:15	2620	[DEBUG]	Executed store
2023-10-13	13:09:15	2620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862112','26')
2023-10-13	13:09:15	2620	[DEBUG]	Find the custom field ID
2023-10-13	13:09:15	2620	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:15	2620	[DEBUG]	No custom field ID found
2023-10-13	13:09:15	2620	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:15	2620	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:15	2620	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862112 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:15	2620	[DEBUG]	Store custom available field
2023-10-13	13:09:15	2620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862112,3,'0',1)
2023-10-13	13:09:15	2620	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:15	2620	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:15	2620	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862112 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:15	2620	[DEBUG]	Store custom available field
2023-10-13	13:09:15	2620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862112,6,'choisir la taille',3)
2023-10-13	13:09:15	2620	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:15	2620	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:15	2620	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:15	2620	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:15	2620	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862112 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:15	2620	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:15	2620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862112,8,1)
2023-10-13	13:09:15	2620	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:15	2620	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862112\":[1862112,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862112
2023-10-13	13:09:15	2620	[DEBUG]	Checking category
2023-10-13	13:09:15	2620	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:15	2620	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862112
2023-10-13	13:09:15	2620	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:15	2620	[DEBUG]	Executed store
2023-10-13	13:09:15	2620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862112','7345')
2023-10-13	13:09:15	2620	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:15	2620	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862112 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:09:15	2620	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:15	2620	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862112
2023-10-13	13:09:15	2621	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:15	2621	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:15	2621	[DEBUG]	Use field value for field taille
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:15	2621	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:15	2621	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:15	2621	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:15	2621	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:15	2621	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:15	2621	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:15	2621	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:15	2621	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:15	2621	[DEBUG]	Use field value for field published
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:15	2621	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:15	2621	[DEBUG]	Use default value for field override
2023-10-13	13:09:16	2621	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:16	2621	[DEBUG]	Use field value for field slug
2023-10-13	13:09:16	2621	[DEBUG]	Process line 2621
2023-10-13	13:09:16	2621	[DEBUG]	Load a row
2023-10-13	13:09:16	2621	[DEBUG]	Processing item: 4550170327415
2023-10-13	13:09:16	2621	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:16	2621	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:16	2621	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9777_208'
2023-10-13	13:09:16	2621	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:16	2621	[DEBUG]	Processing product tax
2023-10-13	13:09:16	2621	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:16	2621	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:16	2621	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:16	2621	[DEBUG]	Query for Product
2023-10-13	13:09:16	2621	[DEBUG]	Executed store
2023-10-13	13:09:16	2621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862112','4550170327415','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:16	2621	[DEBUG]	No parent found
2023-10-13	13:09:16	2621	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862112 AND customfield_value = 'stockable'
2023-10-13	13:09:16	2621	[DEBUG]	Check product language entry
2023-10-13	13:09:16	2621	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862113
2023-10-13	13:09:16	2621	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:16	2621	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170327415' AND `virtuemart_product_id` != 1862113
2023-10-13	13:09:16	2621	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:16	2621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862113, '4550170327415')
2023-10-13	13:09:16	2621	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:16	2621	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-bpl05arfa-resine-avec-lamelle-paires-aucune-unitaire' AND `virtuemart_product_id` != 1862113
2023-10-13	13:09:16	2621	[DEBUG]	Query for ProductLang
2023-10-13	13:09:16	2621	[DEBUG]	Executed store
2023-10-13	13:09:16	2621	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquettes BPL05ARFA résine avec lamelle paires / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-bpl05arfa-resine-avec-lamelle-paires-aucune-unitaire' WHERE `virtuemart_product_id` = '1862113'
2023-10-13	13:09:16	2621	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39211_plaquettes_bpl05arfa_resine_avec_lamelle_paires.jpg has not been found.
2023-10-13	13:09:16	2621	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:16	2621	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862113 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:16	2621	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:16	2621	[DEBUG]	Executed store
2023-10-13	13:09:16	2621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862113','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:16	2621	[DEBUG]	Checking manufacturer
2023-10-13	13:09:16	2621	[DEBUG]	Load a row
2023-10-13	13:09:16	2621	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:16	2621	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:16	2621	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:16	2621	[DEBUG]	Executed store
2023-10-13	13:09:16	2621	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:16	2621	[DEBUG]	Manufacturer exists
2023-10-13	13:09:16	2621	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:16	2621	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:16	2621	[DEBUG]	Executed store
2023-10-13	13:09:16	2621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862113','26')
2023-10-13	13:09:16	2621	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:16	2621	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:16	2621	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862113 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:16	2621	[DEBUG]	Store custom available field
2023-10-13	13:09:16	2621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862113,3,'',1)
2023-10-13	13:09:16	2621	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:16	2621	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:16	2621	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862113 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:16	2621	[DEBUG]	Store custom available field
2023-10-13	13:09:16	2621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862113,6,'Unitaire',3)
2023-10-13	13:09:16	2621	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:16	2621	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:16	2621	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862112
2023-10-13	13:09:16	2621	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:16	2621	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862112\":[1862112,8,1,\"choisir la taille\"],\"1862113\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862112
2023-10-13	13:09:16	2621	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:16	2621	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862113
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:16	2622	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field taille
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:16	2622	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:16	2622	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:16	2622	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:16	2622	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:16	2622	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:16	2622	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field published
2023-10-13	13:09:16	2622	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:16	2622	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field override
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:16	2622	[DEBUG]	Use field value for field slug
2023-10-13	13:09:16	2622	[DEBUG]	Process line 2622
2023-10-13	13:09:16	2622	[DEBUG]	Load a row
2023-10-13	13:09:16	2622	[DEBUG]	Processing item: A_9778_1
2023-10-13	13:09:16	2622	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:16	2622	[DEBUG]	Processing product tax
2023-10-13	13:09:16	2622	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:16	2622	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:16	2622	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:16	2622	[DEBUG]	Query for Product
2023-10-13	13:09:16	2622	[DEBUG]	Executed store
2023-10-13	13:09:16	2622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9778_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:16	2622	[DEBUG]	Check product language entry
2023-10-13	13:09:16	2622	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862114
2023-10-13	13:09:16	2622	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:16	2622	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9778_1' AND `virtuemart_product_id` != 1862114
2023-10-13	13:09:16	2622	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:16	2622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862114, 'A_9778_1')
2023-10-13	13:09:16	2622	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:16	2622	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-bpj05arfa-resine-avec-lamelle-paires-noir' AND `virtuemart_product_id` != 1862114
2023-10-13	13:09:16	2622	[DEBUG]	Query for ProductLang
2023-10-13	13:09:16	2622	[DEBUG]	Executed store
2023-10-13	13:09:16	2622	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.84749',`product_name`='SHIMANO Plaquettes BPJ05ARFA résine avec lamelle paires  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-bpj05arfa-resine-avec-lamelle-paires-noir' WHERE `virtuemart_product_id` = '1862114'
2023-10-13	13:09:16	2622	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39212_plaquettes_bpj05arfa_resine_avec_lamelle_paires_.jpg has not been found.
2023-10-13	13:09:16	2622	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:16	2622	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862114 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:16	2622	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:16	2622	[DEBUG]	Executed store
2023-10-13	13:09:16	2622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862114','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:16	2622	[DEBUG]	Checking manufacturer
2023-10-13	13:09:16	2622	[DEBUG]	Load a row
2023-10-13	13:09:16	2622	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:16	2622	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:16	2622	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:16	2622	[DEBUG]	Executed store
2023-10-13	13:09:16	2622	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:16	2622	[DEBUG]	Manufacturer exists
2023-10-13	13:09:16	2622	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:16	2622	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:16	2622	[DEBUG]	Executed store
2023-10-13	13:09:16	2622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862114','26')
2023-10-13	13:09:16	2622	[DEBUG]	Find the custom field ID
2023-10-13	13:09:16	2622	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:16	2622	[DEBUG]	No custom field ID found
2023-10-13	13:09:16	2622	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:16	2622	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:16	2622	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862114 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:16	2622	[DEBUG]	Store custom available field
2023-10-13	13:09:16	2622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862114,3,'0',1)
2023-10-13	13:09:16	2622	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:16	2622	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:16	2622	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862114 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:16	2622	[DEBUG]	Store custom available field
2023-10-13	13:09:16	2622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862114,6,'choisir la taille',3)
2023-10-13	13:09:16	2622	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:16	2622	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:16	2622	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:16	2622	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:16	2622	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862114 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:16	2622	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:16	2622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862114,8,1)
2023-10-13	13:09:16	2622	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:16	2622	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862114\":[1862114,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862114
2023-10-13	13:09:16	2622	[DEBUG]	Checking category
2023-10-13	13:09:16	2622	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:16	2622	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862114
2023-10-13	13:09:16	2622	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:16	2622	[DEBUG]	Executed store
2023-10-13	13:09:16	2622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862114','7345')
2023-10-13	13:09:16	2622	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:16	2622	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862114 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:09:16	2622	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:16	2622	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862114
2023-10-13	13:09:16	2623	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:16	2623	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:16	2623	[DEBUG]	Use field value for field taille
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:16	2623	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:16	2623	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:16	2623	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:16	2623	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:16	2623	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:16	2623	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:16	2623	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:16	2623	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:16	2623	[DEBUG]	Use field value for field published
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:16	2623	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field override
2023-10-13	13:09:16	2623	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:16	2623	[DEBUG]	Use field value for field slug
2023-10-13	13:09:16	2623	[DEBUG]	Process line 2623
2023-10-13	13:09:16	2623	[DEBUG]	Load a row
2023-10-13	13:09:16	2623	[DEBUG]	Processing item: 4550170327323
2023-10-13	13:09:16	2623	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:16	2623	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:16	2623	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9778_1'
2023-10-13	13:09:16	2623	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:16	2623	[DEBUG]	Processing product tax
2023-10-13	13:09:16	2623	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:16	2623	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:16	2623	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:16	2623	[DEBUG]	Query for Product
2023-10-13	13:09:16	2623	[DEBUG]	Executed store
2023-10-13	13:09:16	2623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862114','4550170327323','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:16	2623	[DEBUG]	No parent found
2023-10-13	13:09:16	2623	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862114 AND customfield_value = 'stockable'
2023-10-13	13:09:16	2623	[DEBUG]	Check product language entry
2023-10-13	13:09:16	2623	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862115
2023-10-13	13:09:16	2623	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:16	2623	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170327323' AND `virtuemart_product_id` != 1862115
2023-10-13	13:09:16	2623	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:16	2623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862115, '4550170327323')
2023-10-13	13:09:16	2623	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:16	2623	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-bpj05arfa-resine-avec-lamelle-paires-noir-unitaire' AND `virtuemart_product_id` != 1862115
2023-10-13	13:09:16	2623	[DEBUG]	Query for ProductLang
2023-10-13	13:09:16	2623	[DEBUG]	Executed store
2023-10-13	13:09:16	2623	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquettes BPJ05ARFA résine avec lamelle paires  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-bpj05arfa-resine-avec-lamelle-paires-noir-unitaire' WHERE `virtuemart_product_id` = '1862115'
2023-10-13	13:09:16	2623	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39212_plaquettes_bpj05arfa_resine_avec_lamelle_paires_.jpg has not been found.
2023-10-13	13:09:16	2623	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:16	2623	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862115 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:16	2623	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:16	2623	[DEBUG]	Executed store
2023-10-13	13:09:16	2623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862115','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:16	2623	[DEBUG]	Checking manufacturer
2023-10-13	13:09:16	2623	[DEBUG]	Load a row
2023-10-13	13:09:16	2623	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:16	2623	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:16	2623	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:16	2623	[DEBUG]	Executed store
2023-10-13	13:09:16	2623	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:16	2623	[DEBUG]	Manufacturer exists
2023-10-13	13:09:16	2623	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:16	2623	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:16	2623	[DEBUG]	Executed store
2023-10-13	13:09:16	2623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862115','26')
2023-10-13	13:09:16	2623	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:16	2623	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:16	2623	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862115 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:16	2623	[DEBUG]	Store custom available field
2023-10-13	13:09:16	2623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862115,3,'',1)
2023-10-13	13:09:16	2623	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:16	2623	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:16	2623	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862115 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:16	2623	[DEBUG]	Store custom available field
2023-10-13	13:09:16	2623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862115,6,'Unitaire',3)
2023-10-13	13:09:16	2623	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:16	2623	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:16	2623	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862114
2023-10-13	13:09:16	2623	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:16	2623	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862114\":[1862114,8,1,\"choisir la taille\"],\"1862115\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862114
2023-10-13	13:09:16	2623	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:16	2623	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862115
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:16	2624	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field taille
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:16	2624	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:16	2624	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:16	2624	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:16	2624	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:16	2624	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:16	2624	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field published
2023-10-13	13:09:16	2624	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:16	2624	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field override
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:16	2624	[DEBUG]	Use field value for field slug
2023-10-13	13:09:16	2624	[DEBUG]	Process line 2624
2023-10-13	13:09:16	2624	[DEBUG]	Load a row
2023-10-13	13:09:16	2624	[DEBUG]	Processing item: A_9837_208
2023-10-13	13:09:16	2624	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:16	2624	[DEBUG]	Processing product tax
2023-10-13	13:09:16	2624	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:16	2624	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:16	2624	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:16	2624	[DEBUG]	Query for Product
2023-10-13	13:09:16	2624	[DEBUG]	Executed store
2023-10-13	13:09:16	2624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9837_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:16	2624	[DEBUG]	Check product language entry
2023-10-13	13:09:16	2624	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862116
2023-10-13	13:09:16	2624	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:16	2624	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9837_208' AND `virtuemart_product_id` != 1862116
2023-10-13	13:09:16	2624	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:16	2624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862116, 'A_9837_208')
2023-10-13	13:09:16	2624	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:16	2624	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-bpg05srxa-resine-paires-aucune' AND `virtuemart_product_id` != 1862116
2023-10-13	13:09:16	2624	[DEBUG]	Query for ProductLang
2023-10-13	13:09:16	2624	[DEBUG]	Executed store
2023-10-13	13:09:16	2624	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.84746',`product_name`='SHIMANO Plaquettes BPG05SRXA résine paires / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-bpg05srxa-resine-paires-aucune' WHERE `virtuemart_product_id` = '1862116'
2023-10-13	13:09:16	2624	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39516_plaquettes_bpg05srxa_resine_paires.jpg has not been found.
2023-10-13	13:09:16	2624	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:16	2624	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862116 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:16	2624	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:16	2624	[DEBUG]	Executed store
2023-10-13	13:09:16	2624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862116','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:16	2624	[DEBUG]	Checking manufacturer
2023-10-13	13:09:16	2624	[DEBUG]	Load a row
2023-10-13	13:09:16	2624	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:16	2624	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:16	2624	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:16	2624	[DEBUG]	Executed store
2023-10-13	13:09:16	2624	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:16	2624	[DEBUG]	Manufacturer exists
2023-10-13	13:09:16	2624	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:16	2624	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:16	2624	[DEBUG]	Executed store
2023-10-13	13:09:16	2624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862116','26')
2023-10-13	13:09:16	2624	[DEBUG]	Find the custom field ID
2023-10-13	13:09:16	2624	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:16	2624	[DEBUG]	No custom field ID found
2023-10-13	13:09:16	2624	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:16	2624	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:16	2624	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862116 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:16	2624	[DEBUG]	Store custom available field
2023-10-13	13:09:16	2624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862116,3,'0',1)
2023-10-13	13:09:16	2624	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:16	2624	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:16	2624	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862116 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:16	2624	[DEBUG]	Store custom available field
2023-10-13	13:09:16	2624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862116,6,'choisir la taille',3)
2023-10-13	13:09:16	2624	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:16	2624	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:16	2624	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:16	2624	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:16	2624	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862116 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:16	2624	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:16	2624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862116,8,1)
2023-10-13	13:09:16	2624	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:16	2624	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862116\":[1862116,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862116
2023-10-13	13:09:16	2624	[DEBUG]	Checking category
2023-10-13	13:09:16	2624	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:16	2624	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862116
2023-10-13	13:09:16	2624	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:16	2624	[DEBUG]	Executed store
2023-10-13	13:09:16	2624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862116','7345')
2023-10-13	13:09:16	2624	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:16	2624	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862116 AND `virtuemart_category_id` NOT IN (7345)
2023-10-13	13:09:16	2624	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:16	2624	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862116
2023-10-13	13:09:16	2625	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:16	2625	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:16	2625	[DEBUG]	Use field value for field taille
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:16	2625	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:16	2625	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:16	2625	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:16	2625	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:16	2625	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:16	2625	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:16	2625	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:16	2625	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:16	2625	[DEBUG]	Use field value for field published
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:16	2625	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field override
2023-10-13	13:09:16	2625	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:16	2625	[DEBUG]	Use field value for field slug
2023-10-13	13:09:16	2625	[DEBUG]	Process line 2625
2023-10-13	13:09:16	2625	[DEBUG]	Load a row
2023-10-13	13:09:16	2625	[DEBUG]	Processing item: 4550170327354
2023-10-13	13:09:16	2625	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:16	2625	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:16	2625	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9837_208'
2023-10-13	13:09:16	2625	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:16	2625	[DEBUG]	Processing product tax
2023-10-13	13:09:16	2625	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:16	2625	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:16	2625	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:16	2625	[DEBUG]	Query for Product
2023-10-13	13:09:16	2625	[DEBUG]	Executed store
2023-10-13	13:09:16	2625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862116','4550170327354','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:16	2625	[DEBUG]	No parent found
2023-10-13	13:09:16	2625	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862116 AND customfield_value = 'stockable'
2023-10-13	13:09:16	2625	[DEBUG]	Check product language entry
2023-10-13	13:09:16	2625	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862117
2023-10-13	13:09:16	2625	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:16	2625	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170327354' AND `virtuemart_product_id` != 1862117
2023-10-13	13:09:16	2625	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:16	2625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862117, '4550170327354')
2023-10-13	13:09:16	2625	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:16	2625	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-plaquettes-bpg05srxa-resine-paires-aucune-unitaire' AND `virtuemart_product_id` != 1862117
2023-10-13	13:09:16	2625	[DEBUG]	Query for ProductLang
2023-10-13	13:09:16	2625	[DEBUG]	Executed store
2023-10-13	13:09:16	2625	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Plaquettes BPG05SRXA résine paires / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-plaquettes-bpg05srxa-resine-paires-aucune-unitaire' WHERE `virtuemart_product_id` = '1862117'
2023-10-13	13:09:16	2625	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39516_plaquettes_bpg05srxa_resine_paires.jpg has not been found.
2023-10-13	13:09:16	2625	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:16	2625	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862117 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:16	2625	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:16	2625	[DEBUG]	Executed store
2023-10-13	13:09:16	2625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862117','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:16	2625	[DEBUG]	Checking manufacturer
2023-10-13	13:09:16	2625	[DEBUG]	Load a row
2023-10-13	13:09:16	2625	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:16	2625	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:16	2625	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:16	2625	[DEBUG]	Executed store
2023-10-13	13:09:16	2625	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:16	2625	[DEBUG]	Manufacturer exists
2023-10-13	13:09:16	2625	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:16	2625	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:16	2625	[DEBUG]	Executed store
2023-10-13	13:09:16	2625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862117','26')
2023-10-13	13:09:16	2625	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:16	2625	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:16	2625	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862117 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:16	2625	[DEBUG]	Store custom available field
2023-10-13	13:09:16	2625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862117,3,'',1)
2023-10-13	13:09:16	2625	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:16	2625	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:16	2625	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862117 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:16	2625	[DEBUG]	Store custom available field
2023-10-13	13:09:16	2625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862117,6,'Unitaire',3)
2023-10-13	13:09:16	2625	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:16	2625	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:16	2625	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862116
2023-10-13	13:09:16	2625	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:16	2625	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862116\":[1862116,8,1,\"choisir la taille\"],\"1862117\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862116
2023-10-13	13:09:16	2625	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:16	2625	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862117
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:16	2626	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field taille
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:16	2626	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:16	2626	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:16	2626	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:16	2626	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:16	2626	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:16	2626	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field published
2023-10-13	13:09:16	2626	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:16	2626	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field override
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:16	2626	[DEBUG]	Use field value for field slug
2023-10-13	13:09:16	2626	[DEBUG]	Process line 2626
2023-10-13	13:09:16	2626	[DEBUG]	Load a row
2023-10-13	13:09:16	2626	[DEBUG]	Processing item: A_943_1
2023-10-13	13:09:16	2626	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:16	2626	[DEBUG]	Processing product tax
2023-10-13	13:09:16	2626	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:16	2626	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:16	2626	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:16	2626	[DEBUG]	Query for Product
2023-10-13	13:09:16	2626	[DEBUG]	Executed store
2023-10-13	13:09:16	2626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_943_1','0.0015','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:16	2626	[DEBUG]	Check product language entry
2023-10-13	13:09:16	2626	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862118
2023-10-13	13:09:16	2626	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:16	2626	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_943_1' AND `virtuemart_product_id` != 1862118
2023-10-13	13:09:16	2626	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:16	2626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862118, 'A_943_1')
2023-10-13	13:09:16	2626	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:16	2626	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-ressorts-pour-freins-a-disques-hope-xc4-6-unites-noir' AND `virtuemart_product_id` != 1862118
2023-10-13	13:09:16	2626	[DEBUG]	Query for ProductLang
2023-10-13	13:09:16	2626	[DEBUG]	Executed store
2023-10-13	13:09:16	2626	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='6 unités<br>N° art fourn : SP24',`product_name`='MLV-Bike Ressorts pour freins à disques Hope XC4, 6 unités / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-ressorts-pour-freins-a-disques-hope-xc4-6-unites-noir' WHERE `virtuemart_product_id` = '1862118'
2023-10-13	13:09:16	2626	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1238.jpg
2023-10-13	13:09:16	2626	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:09:16	2626	[DEBUG]	Process image file
2023-10-13	13:09:16	2626	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:09:16	2626	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:16	2626	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1238.jpg
2023-10-13	13:09:16	2626	[DEBUG]	Full name target: bcprisme/image_1238.jpg
2023-10-13	13:09:17	2626	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:17	2626	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1238.jpg'
2023-10-13	13:09:17	2626	[DEBUG]	Query for Media
2023-10-13	13:09:17	2626	[DEBUG]	Executed store
2023-10-13	13:09:17	2626	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1238.jpg',`file_url_thumb`='bcprisme/image_1238.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436957'
2023-10-13	13:09:17	2626	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:17	2626	[DEBUG]	Executed store
2023-10-13	13:09:17	2626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862118','436957','1')
2023-10-13	13:09:17	2626	[DEBUG]	Store product image relation
2023-10-13	13:09:17	2626	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:17	2626	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862118 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:17	2626	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:17	2626	[DEBUG]	Executed store
2023-10-13	13:09:17	2626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862118','0','14.8096564531105','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:17	2626	[DEBUG]	Checking manufacturer
2023-10-13	13:09:17	2626	[DEBUG]	Load a row
2023-10-13	13:09:17	2626	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:17	2626	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:17	2626	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:17	2626	[DEBUG]	Executed store
2023-10-13	13:09:17	2626	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:17	2626	[DEBUG]	Manufacturer exists
2023-10-13	13:09:17	2626	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:09:17	2626	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:17	2626	[DEBUG]	Executed store
2023-10-13	13:09:17	2626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862118','2')
2023-10-13	13:09:17	2626	[DEBUG]	Find the custom field ID
2023-10-13	13:09:17	2626	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:17	2626	[DEBUG]	No custom field ID found
2023-10-13	13:09:17	2626	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:17	2626	[DEBUG]	Get existing row with customfield value 15.9555555555556
2023-10-13	13:09:17	2626	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862118 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:17	2626	[DEBUG]	Store custom available field
2023-10-13	13:09:17	2626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862118,3,'15.9555555555556',1)
2023-10-13	13:09:17	2626	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:17	2626	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:17	2626	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862118 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:17	2626	[DEBUG]	Store custom available field
2023-10-13	13:09:17	2626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862118,6,'choisir la taille',3)
2023-10-13	13:09:17	2626	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:17	2626	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:17	2626	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:17	2626	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:17	2626	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862118 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:17	2626	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:17	2626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862118,8,1)
2023-10-13	13:09:17	2626	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:17	2626	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862118\":[1862118,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862118
2023-10-13	13:09:17	2626	[DEBUG]	Checking category
2023-10-13	13:09:17	2626	[DEBUG]	Check if category path exists: FREINS / RESSORTS PLAQUETTES - BREMSE / SICHERUNGSFEDERN
2023-10-13	13:09:17	2626	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / RESSORTS PLAQUETTES - BREMSE / SICHERUNGSFEDERN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:09:17	2626	[DEBUG]	Check if category path exists: FREINS / RESSORTS PLAQUETTES - BREMSE / SICHERUNGSFEDERN
2023-10-13	13:09:17	2626	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / RESSORTS PLAQUETTES - BREMSE / SICHERUNGSFEDERN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7346
2023-10-13	13:09:17	2626	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:17	2626	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862118
2023-10-13	13:09:17	2626	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:17	2626	[DEBUG]	Executed store
2023-10-13	13:09:17	2626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862118','7347')
2023-10-13	13:09:17	2626	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:17	2626	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862118 AND `virtuemart_category_id` NOT IN (7347)
2023-10-13	13:09:17	2626	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:17	2626	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862118
2023-10-13	13:09:17	2627	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:17	2627	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:17	2627	[DEBUG]	Use field value for field taille
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:17	2627	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:17	2627	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:17	2627	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:17	2627	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:17	2627	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:17	2627	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:17	2627	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:17	2627	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:17	2627	[DEBUG]	Use field value for field published
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:17	2627	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field override
2023-10-13	13:09:17	2627	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:17	2627	[DEBUG]	Use field value for field slug
2023-10-13	13:09:17	2627	[DEBUG]	Process line 2627
2023-10-13	13:09:17	2627	[DEBUG]	Load a row
2023-10-13	13:09:17	2627	[DEBUG]	Processing item: 1000000013368
2023-10-13	13:09:17	2627	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:17	2627	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:17	2627	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_943_1'
2023-10-13	13:09:17	2627	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:17	2627	[DEBUG]	Processing product tax
2023-10-13	13:09:17	2627	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:17	2627	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:17	2627	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:17	2627	[DEBUG]	Query for Product
2023-10-13	13:09:17	2627	[DEBUG]	Executed store
2023-10-13	13:09:17	2627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862118','1000000013368','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:17	2627	[DEBUG]	No parent found
2023-10-13	13:09:17	2627	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862118 AND customfield_value = 'stockable'
2023-10-13	13:09:17	2627	[DEBUG]	Check product language entry
2023-10-13	13:09:17	2627	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862119
2023-10-13	13:09:17	2627	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:17	2627	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000013368' AND `virtuemart_product_id` != 1862119
2023-10-13	13:09:17	2627	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:17	2627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862119, '1000000013368')
2023-10-13	13:09:17	2627	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:17	2627	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-ressorts-pour-freins-a-disques-hope-xc4-6-unites-noir-unitaire' AND `virtuemart_product_id` != 1862119
2023-10-13	13:09:17	2627	[DEBUG]	Query for ProductLang
2023-10-13	13:09:17	2627	[DEBUG]	Executed store
2023-10-13	13:09:17	2627	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Ressorts pour freins à disques Hope XC4, 6 unités / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-ressorts-pour-freins-a-disques-hope-xc4-6-unites-noir-unitaire' WHERE `virtuemart_product_id` = '1862119'
2023-10-13	13:09:17	2627	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1238.jpg
2023-10-13	13:09:17	2627	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:09:17	2627	[DEBUG]	Process image file
2023-10-13	13:09:17	2627	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:09:17	2627	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:17	2627	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1238.jpg
2023-10-13	13:09:17	2627	[DEBUG]	Full name target: bcprisme/image_1238.jpg
2023-10-13	13:09:18	2627	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:18	2627	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1238.jpg'
2023-10-13	13:09:18	2627	[DEBUG]	Query for Media
2023-10-13	13:09:18	2627	[DEBUG]	Executed store
2023-10-13	13:09:18	2627	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1238.jpg',`file_url_thumb`='bcprisme/image_1238.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436957'
2023-10-13	13:09:18	2627	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:18	2627	[DEBUG]	Executed store
2023-10-13	13:09:18	2627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862119','436957','1')
2023-10-13	13:09:18	2627	[DEBUG]	Store product image relation
2023-10-13	13:09:18	2627	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:18	2627	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862119 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:18	2627	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:18	2627	[DEBUG]	Executed store
2023-10-13	13:09:18	2627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862119','0','14.8096564531105','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:18	2627	[DEBUG]	Checking manufacturer
2023-10-13	13:09:18	2627	[DEBUG]	Load a row
2023-10-13	13:09:18	2627	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:18	2627	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:18	2627	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:18	2627	[DEBUG]	Executed store
2023-10-13	13:09:18	2627	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:18	2627	[DEBUG]	Manufacturer exists
2023-10-13	13:09:18	2627	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:09:18	2627	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:18	2627	[DEBUG]	Executed store
2023-10-13	13:09:18	2627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862119','2')
2023-10-13	13:09:18	2627	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:18	2627	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:18	2627	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862119 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:18	2627	[DEBUG]	Store custom available field
2023-10-13	13:09:18	2627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862119,3,'',1)
2023-10-13	13:09:18	2627	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:18	2627	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:18	2627	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862119 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:18	2627	[DEBUG]	Store custom available field
2023-10-13	13:09:18	2627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862119,6,'Unitaire',3)
2023-10-13	13:09:18	2627	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:18	2627	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:18	2627	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862118
2023-10-13	13:09:18	2627	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:18	2627	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862118\":[1862118,8,1,\"choisir la taille\"],\"1862119\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862118
2023-10-13	13:09:18	2627	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:18	2627	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862119
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:18	2628	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field taille
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:18	2628	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:18	2628	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:18	2628	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:18	2628	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:18	2628	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:18	2628	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field published
2023-10-13	13:09:18	2628	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:18	2628	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field override
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:18	2628	[DEBUG]	Use field value for field slug
2023-10-13	13:09:18	2628	[DEBUG]	Process line 2628
2023-10-13	13:09:18	2628	[DEBUG]	Load a row
2023-10-13	13:09:18	2628	[DEBUG]	Processing item: A_5090_208
2023-10-13	13:09:18	2628	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:18	2628	[DEBUG]	Processing product tax
2023-10-13	13:09:18	2628	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:18	2628	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:18	2628	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:18	2628	[DEBUG]	Query for Product
2023-10-13	13:09:18	2628	[DEBUG]	Executed store
2023-10-13	13:09:18	2628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5090_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:18	2628	[DEBUG]	Check product language entry
2023-10-13	13:09:18	2628	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862120
2023-10-13	13:09:18	2628	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:18	2628	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5090_208' AND `virtuemart_product_id` != 1862120
2023-10-13	13:09:18	2628	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:18	2628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862120, 'A_5090_208')
2023-10-13	13:09:18	2628	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:18	2628	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-v-brake-alivio-br-t4000-avant-16mm-90-patins-de-frein-s65t-noir-box-aucune' AND `virtuemart_product_id` != 1862120
2023-10-13	13:09:18	2628	[DEBUG]	Query for ProductLang
2023-10-13	13:09:18	2628	[DEBUG]	Executed store
2023-10-13	13:09:18	2628	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.60014',`product_name`='SHIMANO V-Brake Alivio BR-T4000 avant 16mm 90° patins de frein S65T noir box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-v-brake-alivio-br-t4000-avant-16mm-90-patins-de-frein-s65t-noir-box-aucune' WHERE `virtuemart_product_id` = '1862120'
2023-10-13	13:09:18	2628	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29553_shimano_v-brake_alivio_br-t4000_avant_16mm_90__patins_de_frein_s65t_noir_box.jpg
2023-10-13	13:09:18	2628	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:18	2628	[DEBUG]	Process image file
2023-10-13	13:09:18	2628	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:18	2628	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:18	2628	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29553_shimano_v-brake_alivio_br-t4000_avant_16mm_90__patins_de_frein_s65t_noir_box.jpg
2023-10-13	13:09:18	2628	[DEBUG]	Full name target: bcprisme/29553_shimano_v-brake_alivio_br-t4000_avant_16mm_90__patins_de_frein_s65t_noir_box.jpg
2023-10-13	13:09:19	2628	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:19	2628	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29553_shimano_v-brake_alivio_br-t4000_avant_16mm_90__patins_de_frein_s65t_noir_box.jpg'
2023-10-13	13:09:19	2628	[DEBUG]	Query for Media
2023-10-13	13:09:19	2628	[DEBUG]	Executed store
2023-10-13	13:09:19	2628	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29553_shimano_v-brake_alivio_br-t4000_avant_16mm_90__patins_de_frein_s65t_noir_box.jpg',`file_url_thumb`='bcprisme/29553_shimano_v-brake_alivio_br-t4000_avant_16mm_90__patins_de_frein_s65t_noir_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '146625'
2023-10-13	13:09:19	2628	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:19	2628	[DEBUG]	Executed store
2023-10-13	13:09:19	2628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862120','146625','1')
2023-10-13	13:09:19	2628	[DEBUG]	Store product image relation
2023-10-13	13:09:19	2628	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:19	2628	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862120 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:19	2628	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:19	2628	[DEBUG]	Executed store
2023-10-13	13:09:19	2628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862120','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:19	2628	[DEBUG]	Checking manufacturer
2023-10-13	13:09:19	2628	[DEBUG]	Load a row
2023-10-13	13:09:19	2628	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:19	2628	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:19	2628	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:19	2628	[DEBUG]	Executed store
2023-10-13	13:09:19	2628	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:19	2628	[DEBUG]	Manufacturer exists
2023-10-13	13:09:19	2628	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:19	2628	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:19	2628	[DEBUG]	Executed store
2023-10-13	13:09:19	2628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862120','26')
2023-10-13	13:09:19	2628	[DEBUG]	Find the custom field ID
2023-10-13	13:09:19	2628	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:19	2628	[DEBUG]	No custom field ID found
2023-10-13	13:09:19	2628	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:19	2628	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:19	2628	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862120 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:19	2628	[DEBUG]	Store custom available field
2023-10-13	13:09:19	2628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862120,3,'0',1)
2023-10-13	13:09:19	2628	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:19	2628	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:19	2628	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862120 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:19	2628	[DEBUG]	Store custom available field
2023-10-13	13:09:19	2628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862120,6,'choisir la taille',3)
2023-10-13	13:09:19	2628	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:19	2628	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:19	2628	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:19	2628	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:19	2628	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862120 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:19	2628	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:19	2628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862120,8,1)
2023-10-13	13:09:19	2628	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:19	2628	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862120\":[1862120,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862120
2023-10-13	13:09:19	2628	[DEBUG]	Checking category
2023-10-13	13:09:19	2628	[DEBUG]	Check if category path exists: FREINS / V-BRAKE ET CANTELIVER - BREMSE V-BRAKE UND CANTILIV
2023-10-13	13:09:19	2628	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS / V-BRAKE ET CANTELIVER - BREMSE V-BRAKE UND CANTILIV' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:09:19	2628	[DEBUG]	Check if category path exists: FREINS V-BRAKE + CANTILEVER - V-BRAKE UND CANTILEVER BREMSEN
2023-10-13	13:09:19	2628	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS V-BRAKE + CANTILEVER - V-BRAKE UND CANTILEVER BREMSEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7348
2023-10-13	13:09:19	2628	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:19	2628	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862120
2023-10-13	13:09:19	2628	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:19	2628	[DEBUG]	Executed store
2023-10-13	13:09:19	2628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862120','7349')
2023-10-13	13:09:19	2628	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:19	2628	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862120 AND `virtuemart_category_id` NOT IN (7349)
2023-10-13	13:09:19	2628	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:19	2628	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862120
2023-10-13	13:09:19	2629	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:19	2629	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:19	2629	[DEBUG]	Use field value for field taille
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:19	2629	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:19	2629	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:19	2629	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:19	2629	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:19	2629	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:19	2629	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:19	2629	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:19	2629	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:19	2629	[DEBUG]	Use field value for field published
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:19	2629	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field override
2023-10-13	13:09:19	2629	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:19	2629	[DEBUG]	Use field value for field slug
2023-10-13	13:09:19	2629	[DEBUG]	Process line 2629
2023-10-13	13:09:19	2629	[DEBUG]	Load a row
2023-10-13	13:09:19	2629	[DEBUG]	Processing item: 4550170900441
2023-10-13	13:09:19	2629	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:19	2629	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:19	2629	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5090_208'
2023-10-13	13:09:19	2629	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:19	2629	[DEBUG]	Processing product tax
2023-10-13	13:09:19	2629	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:19	2629	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:19	2629	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:19	2629	[DEBUG]	Query for Product
2023-10-13	13:09:19	2629	[DEBUG]	Executed store
2023-10-13	13:09:19	2629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862120','4550170900441','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:19	2629	[DEBUG]	No parent found
2023-10-13	13:09:19	2629	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862120 AND customfield_value = 'stockable'
2023-10-13	13:09:19	2629	[DEBUG]	Check product language entry
2023-10-13	13:09:19	2629	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862121
2023-10-13	13:09:19	2629	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:19	2629	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170900441' AND `virtuemart_product_id` != 1862121
2023-10-13	13:09:19	2629	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:19	2629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862121, '4550170900441')
2023-10-13	13:09:19	2629	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:19	2629	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-v-brake-alivio-br-t4000-avant-16mm-90-patins-de-frein-s65t-noir-box-aucune-all' AND `virtuemart_product_id` != 1862121
2023-10-13	13:09:19	2629	[DEBUG]	Query for ProductLang
2023-10-13	13:09:19	2629	[DEBUG]	Executed store
2023-10-13	13:09:19	2629	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO V-Brake Alivio BR-T4000 avant 16mm 90° patins de frein S65T noir box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-v-brake-alivio-br-t4000-avant-16mm-90-patins-de-frein-s65t-noir-box-aucune-all' WHERE `virtuemart_product_id` = '1862121'
2023-10-13	13:09:19	2629	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29553_shimano_v-brake_alivio_br-t4000_avant_16mm_90__patins_de_frein_s65t_noir_box.jpg
2023-10-13	13:09:19	2629	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:19	2629	[DEBUG]	Process image file
2023-10-13	13:09:19	2629	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:19	2629	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:19	2629	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29553_shimano_v-brake_alivio_br-t4000_avant_16mm_90__patins_de_frein_s65t_noir_box.jpg
2023-10-13	13:09:19	2629	[DEBUG]	Full name target: bcprisme/29553_shimano_v-brake_alivio_br-t4000_avant_16mm_90__patins_de_frein_s65t_noir_box.jpg
2023-10-13	13:09:20	2629	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:20	2629	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29553_shimano_v-brake_alivio_br-t4000_avant_16mm_90__patins_de_frein_s65t_noir_box.jpg'
2023-10-13	13:09:20	2629	[DEBUG]	Query for Media
2023-10-13	13:09:20	2629	[DEBUG]	Executed store
2023-10-13	13:09:20	2629	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29553_shimano_v-brake_alivio_br-t4000_avant_16mm_90__patins_de_frein_s65t_noir_box.jpg',`file_url_thumb`='bcprisme/29553_shimano_v-brake_alivio_br-t4000_avant_16mm_90__patins_de_frein_s65t_noir_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '146625'
2023-10-13	13:09:20	2629	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:20	2629	[DEBUG]	Executed store
2023-10-13	13:09:20	2629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862121','146625','1')
2023-10-13	13:09:20	2629	[DEBUG]	Store product image relation
2023-10-13	13:09:20	2629	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:20	2629	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862121 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:20	2629	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:20	2629	[DEBUG]	Executed store
2023-10-13	13:09:20	2629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862121','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:20	2629	[DEBUG]	Checking manufacturer
2023-10-13	13:09:20	2629	[DEBUG]	Load a row
2023-10-13	13:09:20	2629	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:20	2629	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:20	2629	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:20	2629	[DEBUG]	Executed store
2023-10-13	13:09:20	2629	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:20	2629	[DEBUG]	Manufacturer exists
2023-10-13	13:09:20	2629	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:20	2629	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:20	2629	[DEBUG]	Executed store
2023-10-13	13:09:20	2629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862121','26')
2023-10-13	13:09:20	2629	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:20	2629	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:20	2629	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862121 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:20	2629	[DEBUG]	Store custom available field
2023-10-13	13:09:20	2629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862121,3,'',1)
2023-10-13	13:09:20	2629	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:20	2629	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:09:20	2629	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862121 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:20	2629	[DEBUG]	Store custom available field
2023-10-13	13:09:20	2629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862121,6,'All',3)
2023-10-13	13:09:20	2629	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:20	2629	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:20	2629	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862120
2023-10-13	13:09:20	2629	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:20	2629	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862120\":[1862120,8,1,\"choisir la taille\"],\"1862121\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862120
2023-10-13	13:09:20	2629	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:20	2629	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862121
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:20	2630	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field taille
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:20	2630	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:20	2630	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:20	2630	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:20	2630	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:20	2630	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:20	2630	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field published
2023-10-13	13:09:20	2630	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:20	2630	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field override
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:20	2630	[DEBUG]	Use field value for field slug
2023-10-13	13:09:20	2630	[DEBUG]	Process line 2630
2023-10-13	13:09:20	2630	[DEBUG]	Load a row
2023-10-13	13:09:20	2630	[DEBUG]	Processing item: A_5091_208
2023-10-13	13:09:20	2630	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:20	2630	[DEBUG]	Processing product tax
2023-10-13	13:09:20	2630	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:20	2630	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:20	2630	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:20	2630	[DEBUG]	Query for Product
2023-10-13	13:09:20	2630	[DEBUG]	Executed store
2023-10-13	13:09:20	2630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5091_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:20	2630	[DEBUG]	Check product language entry
2023-10-13	13:09:20	2630	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862122
2023-10-13	13:09:20	2630	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:20	2630	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5091_208' AND `virtuemart_product_id` != 1862122
2023-10-13	13:09:20	2630	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:20	2630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862122, 'A_5091_208')
2023-10-13	13:09:20	2630	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:20	2630	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-v-brake-alivio-br-t4000-arriere-16mm-90-patins-de-frein-s65t-noir-box-aucune' AND `virtuemart_product_id` != 1862122
2023-10-13	13:09:20	2630	[DEBUG]	Query for ProductLang
2023-10-13	13:09:20	2630	[DEBUG]	Executed store
2023-10-13	13:09:20	2630	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.60016',`product_name`='SHIMANO V-Brake Alivio BR-T4000 arriere 16mm 90° patins de frein S65T noir box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-v-brake-alivio-br-t4000-arriere-16mm-90-patins-de-frein-s65t-noir-box-aucune' WHERE `virtuemart_product_id` = '1862122'
2023-10-13	13:09:20	2630	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29554_shimano_v-brake_alivio_br-t4000_arriere_16mm_90__patins_de_frein_s65t_noir_box.jpg
2023-10-13	13:09:20	2630	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:20	2630	[DEBUG]	Process image file
2023-10-13	13:09:20	2630	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:20	2630	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:20	2630	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29554_shimano_v-brake_alivio_br-t4000_arriere_16mm_90__patins_de_frein_s65t_noir_box.jpg
2023-10-13	13:09:20	2630	[DEBUG]	Full name target: bcprisme/29554_shimano_v-brake_alivio_br-t4000_arriere_16mm_90__patins_de_frein_s65t_noir_box.jpg
2023-10-13	13:09:21	2630	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:21	2630	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29554_shimano_v-brake_alivio_br-t4000_arriere_16mm_90__patins_de_frein_s65t_noir_box.jpg'
2023-10-13	13:09:21	2630	[DEBUG]	Query for Media
2023-10-13	13:09:21	2630	[DEBUG]	Executed store
2023-10-13	13:09:21	2630	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29554_shimano_v-brake_alivio_br-t4000_arriere_16mm_90__patins_de_frein_s65t_noir_box.jpg',`file_url_thumb`='bcprisme/29554_shimano_v-brake_alivio_br-t4000_arriere_16mm_90__patins_de_frein_s65t_noir_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '146627'
2023-10-13	13:09:21	2630	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:21	2630	[DEBUG]	Executed store
2023-10-13	13:09:21	2630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862122','146627','1')
2023-10-13	13:09:21	2630	[DEBUG]	Store product image relation
2023-10-13	13:09:21	2630	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:21	2630	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862122 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:21	2630	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:21	2630	[DEBUG]	Executed store
2023-10-13	13:09:21	2630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862122','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:21	2630	[DEBUG]	Checking manufacturer
2023-10-13	13:09:21	2630	[DEBUG]	Load a row
2023-10-13	13:09:21	2630	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:21	2630	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:21	2630	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:21	2630	[DEBUG]	Executed store
2023-10-13	13:09:21	2630	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:21	2630	[DEBUG]	Manufacturer exists
2023-10-13	13:09:21	2630	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:21	2630	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:21	2630	[DEBUG]	Executed store
2023-10-13	13:09:21	2630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862122','26')
2023-10-13	13:09:21	2630	[DEBUG]	Find the custom field ID
2023-10-13	13:09:21	2630	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:21	2630	[DEBUG]	No custom field ID found
2023-10-13	13:09:21	2630	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:21	2630	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:21	2630	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862122 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:21	2630	[DEBUG]	Store custom available field
2023-10-13	13:09:21	2630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862122,3,'0',1)
2023-10-13	13:09:21	2630	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:21	2630	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:21	2630	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862122 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:21	2630	[DEBUG]	Store custom available field
2023-10-13	13:09:21	2630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862122,6,'choisir la taille',3)
2023-10-13	13:09:21	2630	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:21	2630	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:21	2630	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:21	2630	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:21	2630	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862122 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:21	2630	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:21	2630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862122,8,1)
2023-10-13	13:09:21	2630	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:21	2630	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862122\":[1862122,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862122
2023-10-13	13:09:21	2630	[DEBUG]	Checking category
2023-10-13	13:09:21	2630	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:21	2630	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862122
2023-10-13	13:09:21	2630	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:21	2630	[DEBUG]	Executed store
2023-10-13	13:09:21	2630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862122','7349')
2023-10-13	13:09:21	2630	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:21	2630	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862122 AND `virtuemart_category_id` NOT IN (7349)
2023-10-13	13:09:21	2630	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:21	2630	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862122
2023-10-13	13:09:21	2631	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:21	2631	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:21	2631	[DEBUG]	Use field value for field taille
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:21	2631	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:21	2631	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:21	2631	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:21	2631	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:21	2631	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:21	2631	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:21	2631	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:21	2631	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:21	2631	[DEBUG]	Use field value for field published
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:21	2631	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field override
2023-10-13	13:09:21	2631	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:21	2631	[DEBUG]	Use field value for field slug
2023-10-13	13:09:21	2631	[DEBUG]	Process line 2631
2023-10-13	13:09:21	2631	[DEBUG]	Load a row
2023-10-13	13:09:21	2631	[DEBUG]	Processing item: 4550170900427
2023-10-13	13:09:21	2631	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:21	2631	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:21	2631	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5091_208'
2023-10-13	13:09:21	2631	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:21	2631	[DEBUG]	Processing product tax
2023-10-13	13:09:21	2631	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:21	2631	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:21	2631	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:21	2631	[DEBUG]	Query for Product
2023-10-13	13:09:21	2631	[DEBUG]	Executed store
2023-10-13	13:09:21	2631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862122','4550170900427','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:21	2631	[DEBUG]	No parent found
2023-10-13	13:09:21	2631	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862122 AND customfield_value = 'stockable'
2023-10-13	13:09:21	2631	[DEBUG]	Check product language entry
2023-10-13	13:09:21	2631	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862123
2023-10-13	13:09:21	2631	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:21	2631	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170900427' AND `virtuemart_product_id` != 1862123
2023-10-13	13:09:21	2631	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:21	2631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862123, '4550170900427')
2023-10-13	13:09:21	2631	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:21	2631	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-v-brake-alivio-br-t4000-arriere-16mm-90-patins-de-frein-s65t-noir-box-aucune-all' AND `virtuemart_product_id` != 1862123
2023-10-13	13:09:21	2631	[DEBUG]	Query for ProductLang
2023-10-13	13:09:21	2631	[DEBUG]	Executed store
2023-10-13	13:09:21	2631	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO V-Brake Alivio BR-T4000 arriere 16mm 90° patins de frein S65T noir box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-v-brake-alivio-br-t4000-arriere-16mm-90-patins-de-frein-s65t-noir-box-aucune-all' WHERE `virtuemart_product_id` = '1862123'
2023-10-13	13:09:21	2631	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29554_shimano_v-brake_alivio_br-t4000_arriere_16mm_90__patins_de_frein_s65t_noir_box.jpg
2023-10-13	13:09:21	2631	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:21	2631	[DEBUG]	Process image file
2023-10-13	13:09:21	2631	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:21	2631	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:21	2631	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29554_shimano_v-brake_alivio_br-t4000_arriere_16mm_90__patins_de_frein_s65t_noir_box.jpg
2023-10-13	13:09:21	2631	[DEBUG]	Full name target: bcprisme/29554_shimano_v-brake_alivio_br-t4000_arriere_16mm_90__patins_de_frein_s65t_noir_box.jpg
2023-10-13	13:09:22	2631	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:22	2631	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29554_shimano_v-brake_alivio_br-t4000_arriere_16mm_90__patins_de_frein_s65t_noir_box.jpg'
2023-10-13	13:09:22	2631	[DEBUG]	Query for Media
2023-10-13	13:09:22	2631	[DEBUG]	Executed store
2023-10-13	13:09:22	2631	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29554_shimano_v-brake_alivio_br-t4000_arriere_16mm_90__patins_de_frein_s65t_noir_box.jpg',`file_url_thumb`='bcprisme/29554_shimano_v-brake_alivio_br-t4000_arriere_16mm_90__patins_de_frein_s65t_noir_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '146627'
2023-10-13	13:09:22	2631	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:22	2631	[DEBUG]	Executed store
2023-10-13	13:09:22	2631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862123','146627','1')
2023-10-13	13:09:22	2631	[DEBUG]	Store product image relation
2023-10-13	13:09:22	2631	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:22	2631	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862123 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:22	2631	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:22	2631	[DEBUG]	Executed store
2023-10-13	13:09:22	2631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862123','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:22	2631	[DEBUG]	Checking manufacturer
2023-10-13	13:09:22	2631	[DEBUG]	Load a row
2023-10-13	13:09:22	2631	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:22	2631	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:22	2631	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:22	2631	[DEBUG]	Executed store
2023-10-13	13:09:22	2631	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:22	2631	[DEBUG]	Manufacturer exists
2023-10-13	13:09:22	2631	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:22	2631	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:22	2631	[DEBUG]	Executed store
2023-10-13	13:09:22	2631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862123','26')
2023-10-13	13:09:22	2631	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:22	2631	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:22	2631	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862123 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:22	2631	[DEBUG]	Store custom available field
2023-10-13	13:09:22	2631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862123,3,'',1)
2023-10-13	13:09:22	2631	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:22	2631	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:09:22	2631	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862123 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:22	2631	[DEBUG]	Store custom available field
2023-10-13	13:09:22	2631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862123,6,'All',3)
2023-10-13	13:09:22	2631	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:22	2631	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:22	2631	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862122
2023-10-13	13:09:22	2631	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:22	2631	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862122\":[1862122,8,1,\"choisir la taille\"],\"1862123\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862122
2023-10-13	13:09:22	2631	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:22	2631	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862123
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:22	2632	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field taille
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:22	2632	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:22	2632	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:22	2632	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:22	2632	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:22	2632	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:22	2632	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field published
2023-10-13	13:09:22	2632	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:22	2632	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field override
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:22	2632	[DEBUG]	Use field value for field slug
2023-10-13	13:09:22	2632	[DEBUG]	Process line 2632
2023-10-13	13:09:22	2632	[DEBUG]	Load a row
2023-10-13	13:09:22	2632	[DEBUG]	Processing item: A_5335_4
2023-10-13	13:09:22	2632	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:22	2632	[DEBUG]	Processing product tax
2023-10-13	13:09:22	2632	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:22	2632	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:22	2632	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:22	2632	[DEBUG]	Query for Product
2023-10-13	13:09:22	2632	[DEBUG]	Executed store
2023-10-13	13:09:22	2632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5335_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:22	2632	[DEBUG]	Check product language entry
2023-10-13	13:09:22	2632	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862124
2023-10-13	13:09:22	2632	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:22	2632	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5335_4' AND `virtuemart_product_id` != 1862124
2023-10-13	13:09:22	2632	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:22	2632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862124, 'A_5335_4')
2023-10-13	13:09:22	2632	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:22	2632	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-guide-de-cable-v-brake-90-acier' AND `virtuemart_product_id` != 1862124
2023-10-13	13:09:22	2632	[DEBUG]	Query for ProductLang
2023-10-13	13:09:22	2632	[DEBUG]	Executed store
2023-10-13	13:09:22	2632	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 86.27777',`product_name`='SHIMANO Guide de câble V-Brake 90° / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-guide-de-cable-v-brake-90-acier' WHERE `virtuemart_product_id` = '1862124'
2023-10-13	13:09:22	2632	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29813_shimano_guide_de_ceble_v-brake_90_.jpg
2023-10-13	13:09:22	2632	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:22	2632	[DEBUG]	Process image file
2023-10-13	13:09:22	2632	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:22	2632	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:22	2632	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29813_shimano_guide_de_ceble_v-brake_90_.jpg
2023-10-13	13:09:22	2632	[DEBUG]	Full name target: bcprisme/29813_shimano_guide_de_ceble_v-brake_90_.jpg
2023-10-13	13:09:23	2632	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:23	2632	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29813_shimano_guide_de_ceble_v-brake_90_.jpg'
2023-10-13	13:09:23	2632	[DEBUG]	Query for Media
2023-10-13	13:09:23	2632	[DEBUG]	Executed store
2023-10-13	13:09:23	2632	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29813_shimano_guide_de_ceble_v-brake_90_.jpg',`file_url_thumb`='bcprisme/29813_shimano_guide_de_ceble_v-brake_90_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '209043'
2023-10-13	13:09:23	2632	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:23	2632	[DEBUG]	Executed store
2023-10-13	13:09:23	2632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862124','209043','1')
2023-10-13	13:09:23	2632	[DEBUG]	Store product image relation
2023-10-13	13:09:23	2632	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:23	2632	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862124 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:23	2632	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:23	2632	[DEBUG]	Executed store
2023-10-13	13:09:23	2632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862124','0','1.76415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:23	2632	[DEBUG]	Checking manufacturer
2023-10-13	13:09:23	2632	[DEBUG]	Load a row
2023-10-13	13:09:23	2632	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:23	2632	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:09:23	2632	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:23	2632	[DEBUG]	Executed store
2023-10-13	13:09:23	2632	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:09:23	2632	[DEBUG]	Manufacturer exists
2023-10-13	13:09:23	2632	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:09:23	2632	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:23	2632	[DEBUG]	Executed store
2023-10-13	13:09:23	2632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862124','123')
2023-10-13	13:09:23	2632	[DEBUG]	Find the custom field ID
2023-10-13	13:09:23	2632	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:23	2632	[DEBUG]	No custom field ID found
2023-10-13	13:09:23	2632	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:23	2632	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:23	2632	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862124 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:23	2632	[DEBUG]	Store custom available field
2023-10-13	13:09:23	2632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862124,3,'0',1)
2023-10-13	13:09:23	2632	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:23	2632	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:23	2632	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862124 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:23	2632	[DEBUG]	Store custom available field
2023-10-13	13:09:23	2632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862124,6,'choisir la taille',3)
2023-10-13	13:09:23	2632	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:23	2632	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:23	2632	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:23	2632	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:23	2632	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862124 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:23	2632	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:23	2632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862124,8,1)
2023-10-13	13:09:23	2632	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:23	2632	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862124\":[1862124,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862124
2023-10-13	13:09:23	2632	[DEBUG]	Checking category
2023-10-13	13:09:23	2632	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:23	2632	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862124
2023-10-13	13:09:23	2632	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:23	2632	[DEBUG]	Executed store
2023-10-13	13:09:23	2632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862124','7349')
2023-10-13	13:09:23	2632	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:23	2632	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862124 AND `virtuemart_category_id` NOT IN (7349)
2023-10-13	13:09:23	2632	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:23	2632	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862124
2023-10-13	13:09:23	2633	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:23	2633	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:23	2633	[DEBUG]	Use field value for field taille
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:23	2633	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:23	2633	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:23	2633	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:23	2633	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:23	2633	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:23	2633	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:23	2633	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:23	2633	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:23	2633	[DEBUG]	Use field value for field published
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:23	2633	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field override
2023-10-13	13:09:23	2633	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:23	2633	[DEBUG]	Use field value for field slug
2023-10-13	13:09:23	2633	[DEBUG]	Process line 2633
2023-10-13	13:09:23	2633	[DEBUG]	Load a row
2023-10-13	13:09:23	2633	[DEBUG]	Processing item: 1000000081879
2023-10-13	13:09:23	2633	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:23	2633	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:23	2633	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5335_4'
2023-10-13	13:09:23	2633	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:23	2633	[DEBUG]	Processing product tax
2023-10-13	13:09:23	2633	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:23	2633	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:23	2633	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:23	2633	[DEBUG]	Query for Product
2023-10-13	13:09:23	2633	[DEBUG]	Executed store
2023-10-13	13:09:23	2633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862124','1000000081879','0','KG','M','','58','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:23	2633	[DEBUG]	No parent found
2023-10-13	13:09:23	2633	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862124 AND customfield_value = 'stockable'
2023-10-13	13:09:23	2633	[DEBUG]	Check product language entry
2023-10-13	13:09:23	2633	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862125
2023-10-13	13:09:23	2633	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:23	2633	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000081879' AND `virtuemart_product_id` != 1862125
2023-10-13	13:09:23	2633	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:23	2633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862125, '1000000081879')
2023-10-13	13:09:23	2633	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:23	2633	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-guide-de-cable-v-brake-90-acier-all' AND `virtuemart_product_id` != 1862125
2023-10-13	13:09:23	2633	[DEBUG]	Query for ProductLang
2023-10-13	13:09:23	2633	[DEBUG]	Executed store
2023-10-13	13:09:23	2633	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Guide de câble V-Brake 90° / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-guide-de-cable-v-brake-90-acier-all' WHERE `virtuemart_product_id` = '1862125'
2023-10-13	13:09:23	2633	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29813_shimano_guide_de_ceble_v-brake_90_.jpg
2023-10-13	13:09:23	2633	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:23	2633	[DEBUG]	Process image file
2023-10-13	13:09:23	2633	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:23	2633	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:23	2633	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29813_shimano_guide_de_ceble_v-brake_90_.jpg
2023-10-13	13:09:23	2633	[DEBUG]	Full name target: bcprisme/29813_shimano_guide_de_ceble_v-brake_90_.jpg
2023-10-13	13:09:24	2633	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:24	2633	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29813_shimano_guide_de_ceble_v-brake_90_.jpg'
2023-10-13	13:09:24	2633	[DEBUG]	Query for Media
2023-10-13	13:09:24	2633	[DEBUG]	Executed store
2023-10-13	13:09:24	2633	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29813_shimano_guide_de_ceble_v-brake_90_.jpg',`file_url_thumb`='bcprisme/29813_shimano_guide_de_ceble_v-brake_90_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '209043'
2023-10-13	13:09:24	2633	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:24	2633	[DEBUG]	Executed store
2023-10-13	13:09:24	2633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862125','209043','1')
2023-10-13	13:09:24	2633	[DEBUG]	Store product image relation
2023-10-13	13:09:24	2633	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:24	2633	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862125 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:24	2633	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:24	2633	[DEBUG]	Executed store
2023-10-13	13:09:24	2633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862125','0','1.76415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:24	2633	[DEBUG]	Checking manufacturer
2023-10-13	13:09:24	2633	[DEBUG]	Load a row
2023-10-13	13:09:24	2633	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:24	2633	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:09:24	2633	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:24	2633	[DEBUG]	Executed store
2023-10-13	13:09:24	2633	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:09:24	2633	[DEBUG]	Manufacturer exists
2023-10-13	13:09:24	2633	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:09:24	2633	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:24	2633	[DEBUG]	Executed store
2023-10-13	13:09:24	2633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862125','123')
2023-10-13	13:09:24	2633	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:24	2633	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:24	2633	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862125 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:24	2633	[DEBUG]	Store custom available field
2023-10-13	13:09:24	2633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862125,3,'',1)
2023-10-13	13:09:24	2633	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:24	2633	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:09:24	2633	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862125 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:24	2633	[DEBUG]	Store custom available field
2023-10-13	13:09:24	2633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862125,6,'All',3)
2023-10-13	13:09:24	2633	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:24	2633	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:24	2633	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862124
2023-10-13	13:09:24	2633	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:24	2633	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862124\":[1862124,8,1,\"choisir la taille\"],\"1862125\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862124
2023-10-13	13:09:24	2633	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:24	2633	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862125
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:24	2634	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field taille
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:24	2634	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:24	2634	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:24	2634	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:24	2634	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:24	2634	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:24	2634	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field published
2023-10-13	13:09:24	2634	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:24	2634	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field override
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:24	2634	[DEBUG]	Use field value for field slug
2023-10-13	13:09:24	2634	[DEBUG]	Process line 2634
2023-10-13	13:09:24	2634	[DEBUG]	Load a row
2023-10-13	13:09:24	2634	[DEBUG]	Processing item: A_6014_208
2023-10-13	13:09:24	2634	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:24	2634	[DEBUG]	Processing product tax
2023-10-13	13:09:24	2634	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:24	2634	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:24	2634	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:24	2634	[DEBUG]	Query for Product
2023-10-13	13:09:24	2634	[DEBUG]	Executed store
2023-10-13	13:09:24	2634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6014_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:24	2634	[DEBUG]	Check product language entry
2023-10-13	13:09:24	2634	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862126
2023-10-13	13:09:24	2634	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:24	2634	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6014_208' AND `virtuemart_product_id` != 1862126
2023-10-13	13:09:24	2634	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:24	2634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862126, 'A_6014_208')
2023-10-13	13:09:24	2634	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:24	2634	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-soufflet-d-etancheite-v-brake-br-m739-avec-guide-de-cable-90-aucune' AND `virtuemart_product_id` != 1862126
2023-10-13	13:09:24	2634	[DEBUG]	Query for ProductLang
2023-10-13	13:09:24	2634	[DEBUG]	Executed store
2023-10-13	13:09:24	2634	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.34428',`product_name`='SHIMANO Soufflet d\'étanchéité V-Brake BR-M739 avec guide de câble 90° / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-soufflet-d-etancheite-v-brake-br-m739-avec-guide-de-cable-90-aucune' WHERE `virtuemart_product_id` = '1862126'
2023-10-13	13:09:24	2634	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_20777_001.jpg
2023-10-13	13:09:24	2634	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:24	2634	[DEBUG]	Process image file
2023-10-13	13:09:24	2634	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:24	2634	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:24	2634	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_20777_001.jpg
2023-10-13	13:09:24	2634	[DEBUG]	Full name target: bcprisme/73_20777_001.jpg
2023-10-13	13:09:25	2634	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:25	2634	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_20777_001.jpg'
2023-10-13	13:09:25	2634	[DEBUG]	Query for Media
2023-10-13	13:09:25	2634	[DEBUG]	Executed store
2023-10-13	13:09:25	2634	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_20777_001.jpg',`file_url_thumb`='bcprisme/73_20777_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436965'
2023-10-13	13:09:25	2634	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:25	2634	[DEBUG]	Executed store
2023-10-13	13:09:25	2634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862126','436965','1')
2023-10-13	13:09:25	2634	[DEBUG]	Store product image relation
2023-10-13	13:09:25	2634	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:25	2634	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862126 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:25	2634	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:25	2634	[DEBUG]	Executed store
2023-10-13	13:09:25	2634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862126','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:25	2634	[DEBUG]	Checking manufacturer
2023-10-13	13:09:25	2634	[DEBUG]	Load a row
2023-10-13	13:09:25	2634	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:25	2634	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:25	2634	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:25	2634	[DEBUG]	Executed store
2023-10-13	13:09:25	2634	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:25	2634	[DEBUG]	Manufacturer exists
2023-10-13	13:09:25	2634	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:25	2634	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:25	2634	[DEBUG]	Executed store
2023-10-13	13:09:25	2634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862126','26')
2023-10-13	13:09:25	2634	[DEBUG]	Find the custom field ID
2023-10-13	13:09:25	2634	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:25	2634	[DEBUG]	No custom field ID found
2023-10-13	13:09:25	2634	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:25	2634	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:25	2634	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862126 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:25	2634	[DEBUG]	Store custom available field
2023-10-13	13:09:25	2634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862126,3,'0',1)
2023-10-13	13:09:25	2634	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:25	2634	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:25	2634	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862126 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:25	2634	[DEBUG]	Store custom available field
2023-10-13	13:09:25	2634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862126,6,'choisir la taille',3)
2023-10-13	13:09:25	2634	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:25	2634	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:25	2634	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:25	2634	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:25	2634	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862126 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:25	2634	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:25	2634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862126,8,1)
2023-10-13	13:09:25	2634	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:25	2634	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862126\":[1862126,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862126
2023-10-13	13:09:25	2634	[DEBUG]	Checking category
2023-10-13	13:09:25	2634	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:25	2634	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862126
2023-10-13	13:09:25	2634	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:25	2634	[DEBUG]	Executed store
2023-10-13	13:09:25	2634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862126','7349')
2023-10-13	13:09:25	2634	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:25	2634	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862126 AND `virtuemart_category_id` NOT IN (7349)
2023-10-13	13:09:25	2634	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:25	2634	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862126
2023-10-13	13:09:25	2635	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:25	2635	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:25	2635	[DEBUG]	Use field value for field taille
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:25	2635	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:25	2635	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:25	2635	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:25	2635	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:25	2635	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:25	2635	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:25	2635	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:25	2635	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:25	2635	[DEBUG]	Use field value for field published
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:25	2635	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field override
2023-10-13	13:09:25	2635	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:25	2635	[DEBUG]	Use field value for field slug
2023-10-13	13:09:25	2635	[DEBUG]	Process line 2635
2023-10-13	13:09:25	2635	[DEBUG]	Load a row
2023-10-13	13:09:25	2635	[DEBUG]	Processing item: 4524667074786
2023-10-13	13:09:25	2635	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:25	2635	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:25	2635	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6014_208'
2023-10-13	13:09:25	2635	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:25	2635	[DEBUG]	Processing product tax
2023-10-13	13:09:25	2635	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:25	2635	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:25	2635	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:25	2635	[DEBUG]	Query for Product
2023-10-13	13:09:25	2635	[DEBUG]	Executed store
2023-10-13	13:09:25	2635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862126','4524667074786','0','KG','M','','20','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:25	2635	[DEBUG]	No parent found
2023-10-13	13:09:25	2635	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862126 AND customfield_value = 'stockable'
2023-10-13	13:09:25	2635	[DEBUG]	Check product language entry
2023-10-13	13:09:25	2635	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862127
2023-10-13	13:09:25	2635	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:25	2635	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667074786' AND `virtuemart_product_id` != 1862127
2023-10-13	13:09:25	2635	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:25	2635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862127, '4524667074786')
2023-10-13	13:09:25	2635	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:25	2635	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-soufflet-d-etancheite-v-brake-br-m739-avec-guide-de-cable-90-aucune-all' AND `virtuemart_product_id` != 1862127
2023-10-13	13:09:25	2635	[DEBUG]	Query for ProductLang
2023-10-13	13:09:25	2635	[DEBUG]	Executed store
2023-10-13	13:09:25	2635	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Soufflet d\'étanchéité V-Brake BR-M739 avec guide de câble 90° / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-soufflet-d-etancheite-v-brake-br-m739-avec-guide-de-cable-90-aucune-all' WHERE `virtuemart_product_id` = '1862127'
2023-10-13	13:09:25	2635	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_20777_001.jpg
2023-10-13	13:09:25	2635	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:25	2635	[DEBUG]	Process image file
2023-10-13	13:09:25	2635	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:25	2635	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:25	2635	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_20777_001.jpg
2023-10-13	13:09:25	2635	[DEBUG]	Full name target: bcprisme/73_20777_001.jpg
2023-10-13	13:09:26	2635	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:26	2635	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_20777_001.jpg'
2023-10-13	13:09:26	2635	[DEBUG]	Query for Media
2023-10-13	13:09:26	2635	[DEBUG]	Executed store
2023-10-13	13:09:26	2635	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_20777_001.jpg',`file_url_thumb`='bcprisme/73_20777_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436965'
2023-10-13	13:09:26	2635	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:26	2635	[DEBUG]	Executed store
2023-10-13	13:09:26	2635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862127','436965','1')
2023-10-13	13:09:26	2635	[DEBUG]	Store product image relation
2023-10-13	13:09:26	2635	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:26	2635	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862127 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:26	2635	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:26	2635	[DEBUG]	Executed store
2023-10-13	13:09:26	2635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862127','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:26	2635	[DEBUG]	Checking manufacturer
2023-10-13	13:09:26	2635	[DEBUG]	Load a row
2023-10-13	13:09:26	2635	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:26	2635	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:26	2635	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:26	2635	[DEBUG]	Executed store
2023-10-13	13:09:26	2635	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:26	2635	[DEBUG]	Manufacturer exists
2023-10-13	13:09:26	2635	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:26	2635	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:26	2635	[DEBUG]	Executed store
2023-10-13	13:09:26	2635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862127','26')
2023-10-13	13:09:26	2635	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:26	2635	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:26	2635	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862127 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:26	2635	[DEBUG]	Store custom available field
2023-10-13	13:09:26	2635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862127,3,'',1)
2023-10-13	13:09:26	2635	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:26	2635	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:09:26	2635	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862127 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:26	2635	[DEBUG]	Store custom available field
2023-10-13	13:09:26	2635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862127,6,'All',3)
2023-10-13	13:09:26	2635	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:26	2635	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:26	2635	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862126
2023-10-13	13:09:26	2635	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:26	2635	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862126\":[1862126,8,1,\"choisir la taille\"],\"1862127\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862126
2023-10-13	13:09:26	2635	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:26	2635	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862127
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:26	2636	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field taille
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:26	2636	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:26	2636	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:26	2636	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:26	2636	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:26	2636	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:26	2636	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field published
2023-10-13	13:09:26	2636	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:26	2636	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field override
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:26	2636	[DEBUG]	Use field value for field slug
2023-10-13	13:09:26	2636	[DEBUG]	Process line 2636
2023-10-13	13:09:26	2636	[DEBUG]	Load a row
2023-10-13	13:09:26	2636	[DEBUG]	Processing item: A_6588_208
2023-10-13	13:09:26	2636	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:26	2636	[DEBUG]	Processing product tax
2023-10-13	13:09:26	2636	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:26	2636	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:26	2636	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:26	2636	[DEBUG]	Query for Product
2023-10-13	13:09:26	2636	[DEBUG]	Executed store
2023-10-13	13:09:26	2636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6588_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:26	2636	[DEBUG]	Check product language entry
2023-10-13	13:09:26	2636	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862128
2023-10-13	13:09:26	2636	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:26	2636	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6588_208' AND `virtuemart_product_id` != 1862128
2023-10-13	13:09:26	2636	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:26	2636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862128, 'A_6588_208')
2023-10-13	13:09:26	2636	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:26	2636	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-soufflet-d-etancheite-v-brake-br-m739-aucune' AND `virtuemart_product_id` != 1862128
2023-10-13	13:09:26	2636	[DEBUG]	Query for ProductLang
2023-10-13	13:09:26	2636	[DEBUG]	Executed store
2023-10-13	13:09:26	2636	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.20777',`product_name`='SHIMANO Soufflet d\'étanchéité V-Brake BR-M739 / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-soufflet-d-etancheite-v-brake-br-m739-aucune' WHERE `virtuemart_product_id` = '1862128'
2023-10-13	13:09:26	2636	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32474_shimano_soufflet_d_etancheite_v-brake_br-m739.jpg
2023-10-13	13:09:26	2636	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:26	2636	[DEBUG]	Process image file
2023-10-13	13:09:26	2636	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:26	2636	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:26	2636	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32474_shimano_soufflet_d_etancheite_v-brake_br-m739.jpg
2023-10-13	13:09:26	2636	[DEBUG]	Full name target: bcprisme/32474_shimano_soufflet_d_etancheite_v-brake_br-m739.jpg
2023-10-13	13:09:27	2636	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:27	2636	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32474_shimano_soufflet_d_etancheite_v-brake_br-m739.jpg'
2023-10-13	13:09:27	2636	[DEBUG]	Query for Media
2023-10-13	13:09:27	2636	[DEBUG]	Executed store
2023-10-13	13:09:27	2636	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32474_shimano_soufflet_d_etancheite_v-brake_br-m739.jpg',`file_url_thumb`='bcprisme/32474_shimano_soufflet_d_etancheite_v-brake_br-m739.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '140652'
2023-10-13	13:09:27	2636	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:27	2636	[DEBUG]	Executed store
2023-10-13	13:09:27	2636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862128','140652','1')
2023-10-13	13:09:27	2636	[DEBUG]	Store product image relation
2023-10-13	13:09:27	2636	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:27	2636	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862128 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:27	2636	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:27	2636	[DEBUG]	Executed store
2023-10-13	13:09:27	2636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862128','0','2.69266480965645','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:27	2636	[DEBUG]	Checking manufacturer
2023-10-13	13:09:27	2636	[DEBUG]	Load a row
2023-10-13	13:09:27	2636	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:27	2636	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:09:27	2636	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:27	2636	[DEBUG]	Executed store
2023-10-13	13:09:27	2636	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:09:27	2636	[DEBUG]	Manufacturer exists
2023-10-13	13:09:27	2636	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:09:27	2636	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:27	2636	[DEBUG]	Executed store
2023-10-13	13:09:27	2636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862128','123')
2023-10-13	13:09:27	2636	[DEBUG]	Find the custom field ID
2023-10-13	13:09:27	2636	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:27	2636	[DEBUG]	No custom field ID found
2023-10-13	13:09:27	2636	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:27	2636	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:27	2636	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862128 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:27	2636	[DEBUG]	Store custom available field
2023-10-13	13:09:27	2636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862128,3,'0',1)
2023-10-13	13:09:27	2636	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:27	2636	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:27	2636	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862128 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:27	2636	[DEBUG]	Store custom available field
2023-10-13	13:09:27	2636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862128,6,'choisir la taille',3)
2023-10-13	13:09:27	2636	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:27	2636	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:27	2636	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:27	2636	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:27	2636	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862128 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:27	2636	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:27	2636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862128,8,1)
2023-10-13	13:09:27	2636	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:27	2636	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862128\":[1862128,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862128
2023-10-13	13:09:27	2636	[DEBUG]	Checking category
2023-10-13	13:09:27	2636	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:27	2636	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862128
2023-10-13	13:09:27	2636	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:27	2636	[DEBUG]	Executed store
2023-10-13	13:09:27	2636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862128','7349')
2023-10-13	13:09:27	2636	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:27	2636	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862128 AND `virtuemart_category_id` NOT IN (7349)
2023-10-13	13:09:27	2636	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:27	2636	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862128
2023-10-13	13:09:27	2637	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:27	2637	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:27	2637	[DEBUG]	Use field value for field taille
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:27	2637	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:27	2637	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:27	2637	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:27	2637	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:27	2637	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:27	2637	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:27	2637	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:27	2637	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:27	2637	[DEBUG]	Use field value for field published
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:27	2637	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field override
2023-10-13	13:09:27	2637	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:27	2637	[DEBUG]	Use field value for field slug
2023-10-13	13:09:27	2637	[DEBUG]	Process line 2637
2023-10-13	13:09:27	2637	[DEBUG]	Load a row
2023-10-13	13:09:27	2637	[DEBUG]	Processing item: 4524667127154
2023-10-13	13:09:27	2637	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:27	2637	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:27	2637	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6588_208'
2023-10-13	13:09:27	2637	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:27	2637	[DEBUG]	Processing product tax
2023-10-13	13:09:27	2637	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:27	2637	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:27	2637	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:27	2637	[DEBUG]	Query for Product
2023-10-13	13:09:27	2637	[DEBUG]	Executed store
2023-10-13	13:09:27	2637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862128','4524667127154','0','KG','M','','30','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:27	2637	[DEBUG]	No parent found
2023-10-13	13:09:27	2637	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862128 AND customfield_value = 'stockable'
2023-10-13	13:09:27	2637	[DEBUG]	Check product language entry
2023-10-13	13:09:27	2637	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862129
2023-10-13	13:09:27	2637	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:27	2637	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667127154' AND `virtuemart_product_id` != 1862129
2023-10-13	13:09:27	2637	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:27	2637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862129, '4524667127154')
2023-10-13	13:09:27	2637	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:27	2637	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-soufflet-d-etancheite-v-brake-br-m739-aucune-all' AND `virtuemart_product_id` != 1862129
2023-10-13	13:09:27	2637	[DEBUG]	Query for ProductLang
2023-10-13	13:09:27	2637	[DEBUG]	Executed store
2023-10-13	13:09:27	2637	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Soufflet d\'étanchéité V-Brake BR-M739 / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-soufflet-d-etancheite-v-brake-br-m739-aucune-all' WHERE `virtuemart_product_id` = '1862129'
2023-10-13	13:09:27	2637	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32474_shimano_soufflet_d_etancheite_v-brake_br-m739.jpg
2023-10-13	13:09:27	2637	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:27	2637	[DEBUG]	Process image file
2023-10-13	13:09:27	2637	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:27	2637	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:27	2637	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32474_shimano_soufflet_d_etancheite_v-brake_br-m739.jpg
2023-10-13	13:09:27	2637	[DEBUG]	Full name target: bcprisme/32474_shimano_soufflet_d_etancheite_v-brake_br-m739.jpg
2023-10-13	13:09:28	2637	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:28	2637	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32474_shimano_soufflet_d_etancheite_v-brake_br-m739.jpg'
2023-10-13	13:09:28	2637	[DEBUG]	Query for Media
2023-10-13	13:09:28	2637	[DEBUG]	Executed store
2023-10-13	13:09:28	2637	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32474_shimano_soufflet_d_etancheite_v-brake_br-m739.jpg',`file_url_thumb`='bcprisme/32474_shimano_soufflet_d_etancheite_v-brake_br-m739.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '140652'
2023-10-13	13:09:28	2637	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:28	2637	[DEBUG]	Executed store
2023-10-13	13:09:28	2637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862129','140652','1')
2023-10-13	13:09:28	2637	[DEBUG]	Store product image relation
2023-10-13	13:09:28	2637	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:28	2637	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862129 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:28	2637	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:28	2637	[DEBUG]	Executed store
2023-10-13	13:09:28	2637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862129','0','2.69266480965645','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:28	2637	[DEBUG]	Checking manufacturer
2023-10-13	13:09:28	2637	[DEBUG]	Load a row
2023-10-13	13:09:28	2637	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:28	2637	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:09:28	2637	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:28	2637	[DEBUG]	Executed store
2023-10-13	13:09:28	2637	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:09:28	2637	[DEBUG]	Manufacturer exists
2023-10-13	13:09:28	2637	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:09:28	2637	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:28	2637	[DEBUG]	Executed store
2023-10-13	13:09:28	2637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862129','123')
2023-10-13	13:09:28	2637	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:28	2637	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:28	2637	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862129 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:28	2637	[DEBUG]	Store custom available field
2023-10-13	13:09:28	2637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862129,3,'',1)
2023-10-13	13:09:28	2637	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:28	2637	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:09:28	2637	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862129 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:28	2637	[DEBUG]	Store custom available field
2023-10-13	13:09:28	2637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862129,6,'All',3)
2023-10-13	13:09:28	2637	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:28	2637	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:28	2637	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862128
2023-10-13	13:09:28	2637	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:28	2637	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862128\":[1862128,8,1,\"choisir la taille\"],\"1862129\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862128
2023-10-13	13:09:28	2637	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:28	2637	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862129
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:28	2638	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field taille
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:28	2638	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:28	2638	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:28	2638	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:28	2638	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:28	2638	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:28	2638	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field published
2023-10-13	13:09:28	2638	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:28	2638	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field override
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:28	2638	[DEBUG]	Use field value for field slug
2023-10-13	13:09:28	2638	[DEBUG]	Process line 2638
2023-10-13	13:09:28	2638	[DEBUG]	Load a row
2023-10-13	13:09:28	2638	[DEBUG]	Processing item: A_7773_0
2023-10-13	13:09:28	2638	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:28	2638	[DEBUG]	Processing product tax
2023-10-13	13:09:28	2638	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:28	2638	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:28	2638	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:28	2638	[DEBUG]	Query for Product
2023-10-13	13:09:28	2638	[DEBUG]	Executed store
2023-10-13	13:09:28	2638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7773_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:28	2638	[DEBUG]	Check product language entry
2023-10-13	13:09:28	2638	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862130
2023-10-13	13:09:28	2638	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:28	2638	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7773_0' AND `virtuemart_product_id` != 1862130
2023-10-13	13:09:28	2638	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:28	2638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862130, 'A_7773_0')
2023-10-13	13:09:28	2638	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:28	2638	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-guide-cable-coude-90-avec-soufflet-unique' AND `virtuemart_product_id` != 1862130
2023-10-13	13:09:28	2638	[DEBUG]	Query for ProductLang
2023-10-13	13:09:28	2638	[DEBUG]	Executed store
2023-10-13	13:09:28	2638	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D1561',`product_name`='<Null> Guide-câble coudé 90° avec soufflet / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-guide-cable-coude-90-avec-soufflet-unique' WHERE `virtuemart_product_id` = '1862130'
2023-10-13	13:09:28	2638	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36141_guide-ceble_coude_90__avec_soufflet.jpg
2023-10-13	13:09:28	2638	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:28	2638	[DEBUG]	Process image file
2023-10-13	13:09:28	2638	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:28	2638	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:28	2638	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36141_guide-ceble_coude_90__avec_soufflet.jpg
2023-10-13	13:09:28	2638	[DEBUG]	Full name target: bcprisme/36141_guide-ceble_coude_90__avec_soufflet.jpg
2023-10-13	13:09:29	2638	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:29	2638	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36141_guide-ceble_coude_90__avec_soufflet.jpg'
2023-10-13	13:09:29	2638	[DEBUG]	Query for Media
2023-10-13	13:09:29	2638	[DEBUG]	Executed store
2023-10-13	13:09:29	2638	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36141_guide-ceble_coude_90__avec_soufflet.jpg',`file_url_thumb`='bcprisme/36141_guide-ceble_coude_90__avec_soufflet.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '466240'
2023-10-13	13:09:29	2638	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:29	2638	[DEBUG]	Executed store
2023-10-13	13:09:29	2638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862130','466240','1')
2023-10-13	13:09:29	2638	[DEBUG]	Store product image relation
2023-10-13	13:09:29	2638	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:29	2638	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862130 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:29	2638	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:29	2638	[DEBUG]	Executed store
2023-10-13	13:09:29	2638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862130','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:29	2638	[DEBUG]	Checking manufacturer
2023-10-13	13:09:29	2638	[DEBUG]	Manufacturer exists
2023-10-13	13:09:29	2638	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	13:09:29	2638	[DEBUG]	Load a row
2023-10-13	13:09:29	2638	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:29	2638	[DEBUG]	Executed store
2023-10-13	13:09:29	2638	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:09:29	2638	[DEBUG]	Manufacturer exists
2023-10-13	13:09:29	2638	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:09:29	2638	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:29	2638	[DEBUG]	Executed store
2023-10-13	13:09:29	2638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862130','20')
2023-10-13	13:09:29	2638	[DEBUG]	Find the custom field ID
2023-10-13	13:09:29	2638	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:29	2638	[DEBUG]	No custom field ID found
2023-10-13	13:09:29	2638	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:29	2638	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:29	2638	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862130 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:29	2638	[DEBUG]	Store custom available field
2023-10-13	13:09:29	2638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862130,3,'0',1)
2023-10-13	13:09:29	2638	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:29	2638	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:29	2638	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862130 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:29	2638	[DEBUG]	Store custom available field
2023-10-13	13:09:29	2638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862130,6,'choisir la taille',3)
2023-10-13	13:09:29	2638	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:29	2638	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:29	2638	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:29	2638	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:29	2638	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862130 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:29	2638	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:29	2638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862130,8,1)
2023-10-13	13:09:29	2638	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:29	2638	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862130\":[1862130,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862130
2023-10-13	13:09:29	2638	[DEBUG]	Checking category
2023-10-13	13:09:29	2638	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:29	2638	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862130
2023-10-13	13:09:29	2638	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:29	2638	[DEBUG]	Executed store
2023-10-13	13:09:29	2638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862130','7349')
2023-10-13	13:09:29	2638	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:29	2638	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862130 AND `virtuemart_category_id` NOT IN (7349)
2023-10-13	13:09:29	2638	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:29	2638	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862130
2023-10-13	13:09:29	2639	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:29	2639	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:29	2639	[DEBUG]	Use field value for field taille
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:29	2639	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:29	2639	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:29	2639	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:29	2639	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:29	2639	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:29	2639	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:29	2639	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:29	2639	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:29	2639	[DEBUG]	Use field value for field published
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:29	2639	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field override
2023-10-13	13:09:29	2639	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:29	2639	[DEBUG]	Use field value for field slug
2023-10-13	13:09:29	2639	[DEBUG]	Process line 2639
2023-10-13	13:09:29	2639	[DEBUG]	Load a row
2023-10-13	13:09:29	2639	[DEBUG]	Processing item: 765250621008
2023-10-13	13:09:29	2639	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:29	2639	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:29	2639	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7773_0'
2023-10-13	13:09:29	2639	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:29	2639	[DEBUG]	Processing product tax
2023-10-13	13:09:29	2639	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:29	2639	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:29	2639	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:29	2639	[DEBUG]	Query for Product
2023-10-13	13:09:29	2639	[DEBUG]	Executed store
2023-10-13	13:09:29	2639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862130','765250621008','0','KG','M','','10','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:29	2639	[DEBUG]	No parent found
2023-10-13	13:09:29	2639	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862130 AND customfield_value = 'stockable'
2023-10-13	13:09:29	2639	[DEBUG]	Check product language entry
2023-10-13	13:09:29	2639	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862131
2023-10-13	13:09:29	2639	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:29	2639	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '765250621008' AND `virtuemart_product_id` != 1862131
2023-10-13	13:09:29	2639	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:29	2639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862131, '765250621008')
2023-10-13	13:09:29	2639	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:29	2639	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-guide-cable-coude-90-avec-soufflet-unique-all' AND `virtuemart_product_id` != 1862131
2023-10-13	13:09:29	2639	[DEBUG]	Query for ProductLang
2023-10-13	13:09:29	2639	[DEBUG]	Executed store
2023-10-13	13:09:29	2639	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='<Null> Guide-câble coudé 90° avec soufflet / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-guide-cable-coude-90-avec-soufflet-unique-all' WHERE `virtuemart_product_id` = '1862131'
2023-10-13	13:09:29	2639	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36141_guide-ceble_coude_90__avec_soufflet.jpg
2023-10-13	13:09:29	2639	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:29	2639	[DEBUG]	Process image file
2023-10-13	13:09:29	2639	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:29	2639	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:29	2639	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36141_guide-ceble_coude_90__avec_soufflet.jpg
2023-10-13	13:09:29	2639	[DEBUG]	Full name target: bcprisme/36141_guide-ceble_coude_90__avec_soufflet.jpg
2023-10-13	13:09:30	2639	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:30	2639	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36141_guide-ceble_coude_90__avec_soufflet.jpg'
2023-10-13	13:09:30	2639	[DEBUG]	Query for Media
2023-10-13	13:09:30	2639	[DEBUG]	Executed store
2023-10-13	13:09:30	2639	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36141_guide-ceble_coude_90__avec_soufflet.jpg',`file_url_thumb`='bcprisme/36141_guide-ceble_coude_90__avec_soufflet.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '466240'
2023-10-13	13:09:30	2639	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:30	2639	[DEBUG]	Executed store
2023-10-13	13:09:30	2639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862131','466240','1')
2023-10-13	13:09:30	2639	[DEBUG]	Store product image relation
2023-10-13	13:09:30	2639	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:30	2639	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862131 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:30	2639	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:30	2639	[DEBUG]	Executed store
2023-10-13	13:09:30	2639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862131','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:30	2639	[DEBUG]	Checking manufacturer
2023-10-13	13:09:30	2639	[DEBUG]	Manufacturer exists
2023-10-13	13:09:30	2639	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	13:09:30	2639	[DEBUG]	Load a row
2023-10-13	13:09:30	2639	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:30	2639	[DEBUG]	Executed store
2023-10-13	13:09:30	2639	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:09:30	2639	[DEBUG]	Manufacturer exists
2023-10-13	13:09:30	2639	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:09:30	2639	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:30	2639	[DEBUG]	Executed store
2023-10-13	13:09:30	2639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862131','20')
2023-10-13	13:09:30	2639	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:30	2639	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:30	2639	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862131 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:30	2639	[DEBUG]	Store custom available field
2023-10-13	13:09:30	2639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862131,3,'',1)
2023-10-13	13:09:30	2639	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:30	2639	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:09:30	2639	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862131 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:30	2639	[DEBUG]	Store custom available field
2023-10-13	13:09:30	2639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862131,6,'All',3)
2023-10-13	13:09:30	2639	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:30	2639	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:30	2639	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862130
2023-10-13	13:09:30	2639	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:30	2639	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862130\":[1862130,8,1,\"choisir la taille\"],\"1862131\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862130
2023-10-13	13:09:30	2639	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:30	2639	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862131
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:30	2640	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field taille
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:30	2640	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:30	2640	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:30	2640	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:30	2640	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:30	2640	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:30	2640	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field published
2023-10-13	13:09:30	2640	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:30	2640	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field override
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:30	2640	[DEBUG]	Use field value for field slug
2023-10-13	13:09:30	2640	[DEBUG]	Process line 2640
2023-10-13	13:09:30	2640	[DEBUG]	Load a row
2023-10-13	13:09:30	2640	[DEBUG]	Processing item: A_1519_13
2023-10-13	13:09:30	2640	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:30	2640	[DEBUG]	Processing product tax
2023-10-13	13:09:30	2640	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:30	2640	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:30	2640	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:30	2640	[DEBUG]	Query for Product
2023-10-13	13:09:30	2640	[DEBUG]	Executed store
2023-10-13	13:09:30	2640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1519_13','0.003','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:30	2640	[DEBUG]	Check product language entry
2023-10-13	13:09:30	2640	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862132
2023-10-13	13:09:30	2640	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:30	2640	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1519_13' AND `virtuemart_product_id` != 1862132
2023-10-13	13:09:30	2640	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:30	2640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862132, 'A_1519_13')
2023-10-13	13:09:30	2640	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:30	2640	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-argent' AND `virtuemart_product_id` != 1862132
2023-10-13	13:09:30	2640	[DEBUG]	Query for ProductLang
2023-10-13	13:09:30	2640	[DEBUG]	Executed store
2023-10-13	13:09:30	2640	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guide alu 6061 pour gaines de câbles sur le cadre. 5unités, 0.6 gr./ unité<br>N° art fourn : CLIPALU',`product_name`='MSC Guide alu 6061 pour gaines de câble sur le cadre. 5 unités / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-argent' WHERE `virtuemart_product_id` = '1862132'
2023-10-13	13:09:30	2640	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12080.jpg
2023-10-13	13:09:30	2640	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:30	2640	[DEBUG]	Process image file
2023-10-13	13:09:30	2640	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:30	2640	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:30	2640	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12080.jpg
2023-10-13	13:09:30	2640	[DEBUG]	Full name target: bcprisme/image_12080.jpg
2023-10-13	13:09:31	2640	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:31	2640	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12080.jpg'
2023-10-13	13:09:31	2640	[DEBUG]	Query for Media
2023-10-13	13:09:31	2640	[DEBUG]	Executed store
2023-10-13	13:09:31	2640	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12080.jpg',`file_url_thumb`='bcprisme/image_12080.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12883'
2023-10-13	13:09:31	2640	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:31	2640	[DEBUG]	Executed store
2023-10-13	13:09:31	2640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862132','12883','1')
2023-10-13	13:09:31	2640	[DEBUG]	Store product image relation
2023-10-13	13:09:31	2640	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:31	2640	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862132 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:31	2640	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:31	2640	[DEBUG]	Executed store
2023-10-13	13:09:31	2640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862132','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:31	2640	[DEBUG]	Checking manufacturer
2023-10-13	13:09:31	2640	[DEBUG]	Load a row
2023-10-13	13:09:31	2640	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:31	2640	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:31	2640	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:31	2640	[DEBUG]	Executed store
2023-10-13	13:09:31	2640	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:31	2640	[DEBUG]	Manufacturer exists
2023-10-13	13:09:31	2640	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:09:31	2640	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:31	2640	[DEBUG]	Executed store
2023-10-13	13:09:31	2640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862132','32')
2023-10-13	13:09:31	2640	[DEBUG]	Find the custom field ID
2023-10-13	13:09:31	2640	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:31	2640	[DEBUG]	No custom field ID found
2023-10-13	13:09:31	2640	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:31	2640	[DEBUG]	Get existing row with customfield value 7.97777777777778
2023-10-13	13:09:31	2640	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862132 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:31	2640	[DEBUG]	Store custom available field
2023-10-13	13:09:31	2640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862132,3,'7.97777777777778',1)
2023-10-13	13:09:31	2640	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:31	2640	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:31	2640	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862132 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:31	2640	[DEBUG]	Store custom available field
2023-10-13	13:09:31	2640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862132,6,'choisir la taille',3)
2023-10-13	13:09:31	2640	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:31	2640	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:31	2640	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:31	2640	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:31	2640	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862132 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:31	2640	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:31	2640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862132,8,1)
2023-10-13	13:09:31	2640	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:31	2640	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862132\":[1862132,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862132
2023-10-13	13:09:31	2640	[DEBUG]	Checking category
2023-10-13	13:09:31	2640	[DEBUG]	Check if category path exists: FREINS/ GUIDE/ DURITES - BREMSE/ BREMSKLENTEILE/BREMSLEITUNG
2023-10-13	13:09:31	2640	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'FREINS/ GUIDE/ DURITES - BREMSE/ BREMSKLENTEILE/BREMSLEITUNG' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:09:31	2640	[DEBUG]	Check if category path exists: GUIDE CABLES / DURITE -  BREMSKLENTEILE / BREMSLEITUNG
2023-10-13	13:09:31	2640	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GUIDE CABLES / DURITE -  BREMSKLENTEILE / BREMSLEITUNG' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7350
2023-10-13	13:09:31	2640	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:31	2640	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862132
2023-10-13	13:09:31	2640	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:31	2640	[DEBUG]	Executed store
2023-10-13	13:09:31	2640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862132','7351')
2023-10-13	13:09:31	2640	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:31	2640	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862132 AND `virtuemart_category_id` NOT IN (7351)
2023-10-13	13:09:31	2640	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:31	2640	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862132
2023-10-13	13:09:31	2641	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:31	2641	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:31	2641	[DEBUG]	Use field value for field taille
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:31	2641	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:31	2641	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:31	2641	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:31	2641	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:31	2641	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:31	2641	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:31	2641	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:31	2641	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:31	2641	[DEBUG]	Use field value for field published
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:31	2641	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field override
2023-10-13	13:09:31	2641	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:31	2641	[DEBUG]	Use field value for field slug
2023-10-13	13:09:31	2641	[DEBUG]	Process line 2641
2023-10-13	13:09:31	2641	[DEBUG]	Load a row
2023-10-13	13:09:31	2641	[DEBUG]	Processing item: 8436550192339
2023-10-13	13:09:31	2641	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:31	2641	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:31	2641	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1519_13'
2023-10-13	13:09:31	2641	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:31	2641	[DEBUG]	Processing product tax
2023-10-13	13:09:31	2641	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:31	2641	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:31	2641	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:31	2641	[DEBUG]	Query for Product
2023-10-13	13:09:31	2641	[DEBUG]	Executed store
2023-10-13	13:09:31	2641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862132','8436550192339','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:31	2641	[DEBUG]	No parent found
2023-10-13	13:09:31	2641	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862132 AND customfield_value = 'stockable'
2023-10-13	13:09:31	2641	[DEBUG]	Check product language entry
2023-10-13	13:09:31	2641	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862133
2023-10-13	13:09:31	2641	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:31	2641	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550192339' AND `virtuemart_product_id` != 1862133
2023-10-13	13:09:31	2641	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:31	2641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862133, '8436550192339')
2023-10-13	13:09:31	2641	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:31	2641	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-argent-unitaire' AND `virtuemart_product_id` != 1862133
2023-10-13	13:09:31	2641	[DEBUG]	Query for ProductLang
2023-10-13	13:09:31	2641	[DEBUG]	Executed store
2023-10-13	13:09:31	2641	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guide alu 6061 pour gaines de câble sur le cadre. 5 unités / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-argent-unitaire' WHERE `virtuemart_product_id` = '1862133'
2023-10-13	13:09:31	2641	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12080.jpg
2023-10-13	13:09:31	2641	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:31	2641	[DEBUG]	Process image file
2023-10-13	13:09:31	2641	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:31	2641	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:31	2641	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12080.jpg
2023-10-13	13:09:31	2641	[DEBUG]	Full name target: bcprisme/image_12080.jpg
2023-10-13	13:09:32	2641	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:32	2641	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12080.jpg'
2023-10-13	13:09:32	2641	[DEBUG]	Query for Media
2023-10-13	13:09:32	2641	[DEBUG]	Executed store
2023-10-13	13:09:32	2641	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12080.jpg',`file_url_thumb`='bcprisme/image_12080.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12883'
2023-10-13	13:09:32	2641	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:32	2641	[DEBUG]	Executed store
2023-10-13	13:09:32	2641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862133','12883','1')
2023-10-13	13:09:32	2641	[DEBUG]	Store product image relation
2023-10-13	13:09:32	2641	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:32	2641	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862133 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:32	2641	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:32	2641	[DEBUG]	Executed store
2023-10-13	13:09:32	2641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862133','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:32	2641	[DEBUG]	Checking manufacturer
2023-10-13	13:09:32	2641	[DEBUG]	Load a row
2023-10-13	13:09:32	2641	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:32	2641	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:32	2641	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:32	2641	[DEBUG]	Executed store
2023-10-13	13:09:32	2641	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:32	2641	[DEBUG]	Manufacturer exists
2023-10-13	13:09:32	2641	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:09:32	2641	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:32	2641	[DEBUG]	Executed store
2023-10-13	13:09:32	2641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862133','32')
2023-10-13	13:09:32	2641	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:32	2641	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:32	2641	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862133 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:32	2641	[DEBUG]	Store custom available field
2023-10-13	13:09:32	2641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862133,3,'',1)
2023-10-13	13:09:32	2641	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:32	2641	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:32	2641	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862133 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:32	2641	[DEBUG]	Store custom available field
2023-10-13	13:09:32	2641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862133,6,'Unitaire',3)
2023-10-13	13:09:32	2641	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:32	2641	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:32	2641	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862132
2023-10-13	13:09:32	2641	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:32	2641	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862132\":[1862132,8,1,\"choisir la taille\"],\"1862133\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862132
2023-10-13	13:09:32	2641	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:32	2641	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862133
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:32	2642	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field taille
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:32	2642	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:32	2642	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:32	2642	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:32	2642	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:32	2642	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:32	2642	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field published
2023-10-13	13:09:32	2642	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:32	2642	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field override
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:32	2642	[DEBUG]	Use field value for field slug
2023-10-13	13:09:32	2642	[DEBUG]	Process line 2642
2023-10-13	13:09:32	2642	[DEBUG]	Load a row
2023-10-13	13:09:32	2642	[DEBUG]	Processing item: A_1519_22
2023-10-13	13:09:32	2642	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:32	2642	[DEBUG]	Processing product tax
2023-10-13	13:09:32	2642	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:32	2642	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:32	2642	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:32	2642	[DEBUG]	Query for Product
2023-10-13	13:09:32	2642	[DEBUG]	Executed store
2023-10-13	13:09:32	2642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1519_22','0.003','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:32	2642	[DEBUG]	Check product language entry
2023-10-13	13:09:32	2642	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862134
2023-10-13	13:09:32	2642	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:32	2642	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1519_22' AND `virtuemart_product_id` != 1862134
2023-10-13	13:09:32	2642	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:32	2642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862134, 'A_1519_22')
2023-10-13	13:09:32	2642	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:32	2642	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-bleu' AND `virtuemart_product_id` != 1862134
2023-10-13	13:09:32	2642	[DEBUG]	Query for ProductLang
2023-10-13	13:09:32	2642	[DEBUG]	Executed store
2023-10-13	13:09:32	2642	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guide alu 6061 pour gaines de câbles sur le cadre. 5unités, 0.6 gr./ unité<br>N° art fourn : CLIPALU',`product_name`='MSC Guide alu 6061 pour gaines de câble sur le cadre. 5 unités / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-bleu' WHERE `virtuemart_product_id` = '1862134'
2023-10-13	13:09:32	2642	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3608.jpg
2023-10-13	13:09:32	2642	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:32	2642	[DEBUG]	Process image file
2023-10-13	13:09:32	2642	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:32	2642	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:32	2642	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3608.jpg
2023-10-13	13:09:32	2642	[DEBUG]	Full name target: bcprisme/image_3608.jpg
2023-10-13	13:09:33	2642	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:33	2642	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3608.jpg'
2023-10-13	13:09:33	2642	[DEBUG]	Query for Media
2023-10-13	13:09:33	2642	[DEBUG]	Executed store
2023-10-13	13:09:33	2642	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3608.jpg',`file_url_thumb`='bcprisme/image_3608.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12884'
2023-10-13	13:09:33	2642	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:33	2642	[DEBUG]	Executed store
2023-10-13	13:09:33	2642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862134','12884','1')
2023-10-13	13:09:33	2642	[DEBUG]	Store product image relation
2023-10-13	13:09:33	2642	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:33	2642	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862134 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:33	2642	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:33	2642	[DEBUG]	Executed store
2023-10-13	13:09:33	2642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862134','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:33	2642	[DEBUG]	Checking manufacturer
2023-10-13	13:09:33	2642	[DEBUG]	Load a row
2023-10-13	13:09:33	2642	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:33	2642	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:33	2642	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:33	2642	[DEBUG]	Executed store
2023-10-13	13:09:33	2642	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:33	2642	[DEBUG]	Manufacturer exists
2023-10-13	13:09:33	2642	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:09:33	2642	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:33	2642	[DEBUG]	Executed store
2023-10-13	13:09:33	2642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862134','32')
2023-10-13	13:09:33	2642	[DEBUG]	Find the custom field ID
2023-10-13	13:09:33	2642	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:33	2642	[DEBUG]	No custom field ID found
2023-10-13	13:09:33	2642	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:33	2642	[DEBUG]	Get existing row with customfield value 7.97777777777778
2023-10-13	13:09:33	2642	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862134 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:33	2642	[DEBUG]	Store custom available field
2023-10-13	13:09:33	2642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862134,3,'7.97777777777778',1)
2023-10-13	13:09:33	2642	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:33	2642	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:33	2642	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862134 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:33	2642	[DEBUG]	Store custom available field
2023-10-13	13:09:33	2642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862134,6,'choisir la taille',3)
2023-10-13	13:09:33	2642	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:33	2642	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:33	2642	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:33	2642	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:33	2642	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862134 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:33	2642	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:33	2642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862134,8,1)
2023-10-13	13:09:33	2642	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:33	2642	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862134\":[1862134,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862134
2023-10-13	13:09:33	2642	[DEBUG]	Checking category
2023-10-13	13:09:33	2642	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:33	2642	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862134
2023-10-13	13:09:33	2642	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:33	2642	[DEBUG]	Executed store
2023-10-13	13:09:33	2642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862134','7351')
2023-10-13	13:09:33	2642	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:33	2642	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862134 AND `virtuemart_category_id` NOT IN (7351)
2023-10-13	13:09:33	2642	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:33	2642	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862134
2023-10-13	13:09:33	2643	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:33	2643	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:33	2643	[DEBUG]	Use field value for field taille
2023-10-13	13:09:33	2643	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:33	2643	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:33	2643	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:33	2643	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:33	2643	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:33	2643	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:33	2643	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:33	2643	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:33	2643	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:33	2643	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:33	2643	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:33	2643	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:33	2643	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:33	2643	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:33	2643	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:33	2643	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:33	2643	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:33	2643	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:33	2643	[DEBUG]	Use field value for field published
2023-10-13	13:09:33	2643	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:33	2643	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:34	2643	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:34	2643	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:34	2643	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:34	2643	[DEBUG]	Use default value for field override
2023-10-13	13:09:34	2643	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:34	2643	[DEBUG]	Use field value for field slug
2023-10-13	13:09:34	2643	[DEBUG]	Process line 2643
2023-10-13	13:09:34	2643	[DEBUG]	Load a row
2023-10-13	13:09:34	2643	[DEBUG]	Processing item: 8436047354462
2023-10-13	13:09:34	2643	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:34	2643	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:34	2643	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1519_22'
2023-10-13	13:09:34	2643	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:34	2643	[DEBUG]	Processing product tax
2023-10-13	13:09:34	2643	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:34	2643	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:34	2643	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:34	2643	[DEBUG]	Query for Product
2023-10-13	13:09:34	2643	[DEBUG]	Executed store
2023-10-13	13:09:34	2643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862134','8436047354462','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:34	2643	[DEBUG]	No parent found
2023-10-13	13:09:34	2643	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862134 AND customfield_value = 'stockable'
2023-10-13	13:09:34	2643	[DEBUG]	Check product language entry
2023-10-13	13:09:34	2643	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862135
2023-10-13	13:09:34	2643	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:34	2643	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047354462' AND `virtuemart_product_id` != 1862135
2023-10-13	13:09:34	2643	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:34	2643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862135, '8436047354462')
2023-10-13	13:09:34	2643	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:34	2643	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-bleu-unitaire' AND `virtuemart_product_id` != 1862135
2023-10-13	13:09:34	2643	[DEBUG]	Query for ProductLang
2023-10-13	13:09:34	2643	[DEBUG]	Executed store
2023-10-13	13:09:34	2643	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guide alu 6061 pour gaines de câble sur le cadre. 5 unités / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-bleu-unitaire' WHERE `virtuemart_product_id` = '1862135'
2023-10-13	13:09:34	2643	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3608.jpg
2023-10-13	13:09:34	2643	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:34	2643	[DEBUG]	Process image file
2023-10-13	13:09:34	2643	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:09:34	2643	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:34	2643	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3608.jpg
2023-10-13	13:09:34	2643	[DEBUG]	Full name target: bcprisme/image_3608.jpg
2023-10-13	13:09:34	2643	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:34	2643	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3608.jpg'
2023-10-13	13:09:34	2643	[DEBUG]	Query for Media
2023-10-13	13:09:34	2643	[DEBUG]	Executed store
2023-10-13	13:09:34	2643	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3608.jpg',`file_url_thumb`='bcprisme/image_3608.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12884'
2023-10-13	13:09:34	2643	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:34	2643	[DEBUG]	Executed store
2023-10-13	13:09:34	2643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862135','12884','1')
2023-10-13	13:09:35	2643	[DEBUG]	Store product image relation
2023-10-13	13:09:35	2643	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:35	2643	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862135 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:35	2643	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:35	2643	[DEBUG]	Executed store
2023-10-13	13:09:35	2643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862135','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:35	2643	[DEBUG]	Checking manufacturer
2023-10-13	13:09:35	2643	[DEBUG]	Load a row
2023-10-13	13:09:35	2643	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:35	2643	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:35	2643	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:35	2643	[DEBUG]	Executed store
2023-10-13	13:09:35	2643	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:35	2643	[DEBUG]	Manufacturer exists
2023-10-13	13:09:35	2643	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:09:35	2643	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:35	2643	[DEBUG]	Executed store
2023-10-13	13:09:35	2643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862135','32')
2023-10-13	13:09:35	2643	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:35	2643	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:35	2643	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862135 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:35	2643	[DEBUG]	Store custom available field
2023-10-13	13:09:35	2643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862135,3,'',1)
2023-10-13	13:09:35	2643	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:35	2643	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:35	2643	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862135 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:35	2643	[DEBUG]	Store custom available field
2023-10-13	13:09:35	2643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862135,6,'Unitaire',3)
2023-10-13	13:09:35	2643	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:35	2643	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:35	2643	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862134
2023-10-13	13:09:35	2643	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:35	2643	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862134\":[1862134,8,1,\"choisir la taille\"],\"1862135\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862134
2023-10-13	13:09:35	2643	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:35	2643	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862135
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:35	2644	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field taille
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:35	2644	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:35	2644	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:35	2644	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:35	2644	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:35	2644	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:35	2644	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field published
2023-10-13	13:09:35	2644	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:35	2644	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field override
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:35	2644	[DEBUG]	Use field value for field slug
2023-10-13	13:09:35	2644	[DEBUG]	Process line 2644
2023-10-13	13:09:35	2644	[DEBUG]	Load a row
2023-10-13	13:09:35	2644	[DEBUG]	Processing item: A_1519_40
2023-10-13	13:09:35	2644	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:35	2644	[DEBUG]	Processing product tax
2023-10-13	13:09:35	2644	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:35	2644	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:35	2644	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:35	2644	[DEBUG]	Query for Product
2023-10-13	13:09:35	2644	[DEBUG]	Executed store
2023-10-13	13:09:35	2644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1519_40','0.003','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:35	2644	[DEBUG]	Check product language entry
2023-10-13	13:09:35	2644	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862136
2023-10-13	13:09:35	2644	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:35	2644	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1519_40' AND `virtuemart_product_id` != 1862136
2023-10-13	13:09:35	2644	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:35	2644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862136, 'A_1519_40')
2023-10-13	13:09:35	2644	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:35	2644	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-vert' AND `virtuemart_product_id` != 1862136
2023-10-13	13:09:35	2644	[DEBUG]	Query for ProductLang
2023-10-13	13:09:35	2644	[DEBUG]	Executed store
2023-10-13	13:09:35	2644	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guide alu 6061 pour gaines de câbles sur le cadre. 5unités, 0.6 gr./ unité<br>N° art fourn : CLIPALU',`product_name`='MSC Guide alu 6061 pour gaines de câble sur le cadre. 5 unités / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-vert' WHERE `virtuemart_product_id` = '1862136'
2023-10-13	13:09:35	2644	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11959.jpg
2023-10-13	13:09:35	2644	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:35	2644	[DEBUG]	Process image file
2023-10-13	13:09:35	2644	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:35	2644	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:35	2644	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11959.jpg
2023-10-13	13:09:35	2644	[DEBUG]	Full name target: bcprisme/image_11959.jpg
2023-10-13	13:09:36	2644	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:36	2644	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11959.jpg'
2023-10-13	13:09:36	2644	[DEBUG]	Query for Media
2023-10-13	13:09:36	2644	[DEBUG]	Executed store
2023-10-13	13:09:36	2644	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11959.jpg',`file_url_thumb`='bcprisme/image_11959.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12885'
2023-10-13	13:09:36	2644	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:36	2644	[DEBUG]	Executed store
2023-10-13	13:09:36	2644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862136','12885','1')
2023-10-13	13:09:36	2644	[DEBUG]	Store product image relation
2023-10-13	13:09:36	2644	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:36	2644	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862136 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:36	2644	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:36	2644	[DEBUG]	Executed store
2023-10-13	13:09:36	2644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862136','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:36	2644	[DEBUG]	Checking manufacturer
2023-10-13	13:09:36	2644	[DEBUG]	Load a row
2023-10-13	13:09:36	2644	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:36	2644	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:36	2644	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:36	2644	[DEBUG]	Executed store
2023-10-13	13:09:36	2644	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:36	2644	[DEBUG]	Manufacturer exists
2023-10-13	13:09:36	2644	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:09:36	2644	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:36	2644	[DEBUG]	Executed store
2023-10-13	13:09:36	2644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862136','32')
2023-10-13	13:09:36	2644	[DEBUG]	Find the custom field ID
2023-10-13	13:09:36	2644	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:36	2644	[DEBUG]	No custom field ID found
2023-10-13	13:09:36	2644	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:36	2644	[DEBUG]	Get existing row with customfield value 7.97777777777778
2023-10-13	13:09:36	2644	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862136 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:36	2644	[DEBUG]	Store custom available field
2023-10-13	13:09:36	2644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862136,3,'7.97777777777778',1)
2023-10-13	13:09:36	2644	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:36	2644	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:36	2644	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862136 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:36	2644	[DEBUG]	Store custom available field
2023-10-13	13:09:36	2644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862136,6,'choisir la taille',3)
2023-10-13	13:09:36	2644	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:36	2644	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:36	2644	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:36	2644	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:36	2644	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862136 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:36	2644	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:36	2644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862136,8,1)
2023-10-13	13:09:36	2644	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:36	2644	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862136\":[1862136,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862136
2023-10-13	13:09:36	2644	[DEBUG]	Checking category
2023-10-13	13:09:36	2644	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:36	2644	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862136
2023-10-13	13:09:36	2644	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:36	2644	[DEBUG]	Executed store
2023-10-13	13:09:36	2644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862136','7351')
2023-10-13	13:09:36	2644	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:36	2644	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862136 AND `virtuemart_category_id` NOT IN (7351)
2023-10-13	13:09:36	2644	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:36	2644	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862136
2023-10-13	13:09:36	2645	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:36	2645	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:36	2645	[DEBUG]	Use field value for field taille
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:36	2645	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:36	2645	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:36	2645	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:36	2645	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:36	2645	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:36	2645	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:36	2645	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:36	2645	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:36	2645	[DEBUG]	Use field value for field published
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:36	2645	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field override
2023-10-13	13:09:36	2645	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:36	2645	[DEBUG]	Use field value for field slug
2023-10-13	13:09:36	2645	[DEBUG]	Process line 2645
2023-10-13	13:09:36	2645	[DEBUG]	Load a row
2023-10-13	13:09:36	2645	[DEBUG]	Processing item: 8436550192322
2023-10-13	13:09:36	2645	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:36	2645	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:36	2645	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1519_40'
2023-10-13	13:09:36	2645	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:36	2645	[DEBUG]	Processing product tax
2023-10-13	13:09:36	2645	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:36	2645	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:36	2645	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:36	2645	[DEBUG]	Query for Product
2023-10-13	13:09:36	2645	[DEBUG]	Executed store
2023-10-13	13:09:36	2645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862136','8436550192322','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:36	2645	[DEBUG]	No parent found
2023-10-13	13:09:36	2645	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862136 AND customfield_value = 'stockable'
2023-10-13	13:09:36	2645	[DEBUG]	Check product language entry
2023-10-13	13:09:36	2645	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862137
2023-10-13	13:09:36	2645	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:36	2645	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550192322' AND `virtuemart_product_id` != 1862137
2023-10-13	13:09:36	2645	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:36	2645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862137, '8436550192322')
2023-10-13	13:09:36	2645	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:36	2645	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-vert-unitaire' AND `virtuemart_product_id` != 1862137
2023-10-13	13:09:36	2645	[DEBUG]	Query for ProductLang
2023-10-13	13:09:36	2645	[DEBUG]	Executed store
2023-10-13	13:09:36	2645	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guide alu 6061 pour gaines de câble sur le cadre. 5 unités / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-vert-unitaire' WHERE `virtuemart_product_id` = '1862137'
2023-10-13	13:09:36	2645	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11959.jpg
2023-10-13	13:09:36	2645	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:36	2645	[DEBUG]	Process image file
2023-10-13	13:09:36	2645	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:36	2645	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:36	2645	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11959.jpg
2023-10-13	13:09:36	2645	[DEBUG]	Full name target: bcprisme/image_11959.jpg
2023-10-13	13:09:37	2645	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:37	2645	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11959.jpg'
2023-10-13	13:09:37	2645	[DEBUG]	Query for Media
2023-10-13	13:09:37	2645	[DEBUG]	Executed store
2023-10-13	13:09:37	2645	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11959.jpg',`file_url_thumb`='bcprisme/image_11959.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12885'
2023-10-13	13:09:37	2645	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:37	2645	[DEBUG]	Executed store
2023-10-13	13:09:37	2645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862137','12885','1')
2023-10-13	13:09:37	2645	[DEBUG]	Store product image relation
2023-10-13	13:09:37	2645	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:37	2645	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862137 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:37	2645	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:37	2645	[DEBUG]	Executed store
2023-10-13	13:09:37	2645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862137','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:37	2645	[DEBUG]	Checking manufacturer
2023-10-13	13:09:37	2645	[DEBUG]	Load a row
2023-10-13	13:09:37	2645	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:37	2645	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:37	2645	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:37	2645	[DEBUG]	Executed store
2023-10-13	13:09:37	2645	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:37	2645	[DEBUG]	Manufacturer exists
2023-10-13	13:09:37	2645	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:09:37	2645	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:37	2645	[DEBUG]	Executed store
2023-10-13	13:09:37	2645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862137','32')
2023-10-13	13:09:37	2645	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:37	2645	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:37	2645	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862137 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:37	2645	[DEBUG]	Store custom available field
2023-10-13	13:09:37	2645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862137,3,'',1)
2023-10-13	13:09:37	2645	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:37	2645	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:37	2645	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862137 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:37	2645	[DEBUG]	Store custom available field
2023-10-13	13:09:37	2645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862137,6,'Unitaire',3)
2023-10-13	13:09:37	2645	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:37	2645	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:37	2645	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862136
2023-10-13	13:09:37	2645	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:37	2645	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862136\":[1862136,8,1,\"choisir la taille\"],\"1862137\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862136
2023-10-13	13:09:37	2645	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:37	2645	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862137
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:37	2646	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field taille
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:37	2646	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:37	2646	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:37	2646	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:37	2646	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:37	2646	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:37	2646	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field published
2023-10-13	13:09:37	2646	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:37	2646	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field override
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:37	2646	[DEBUG]	Use field value for field slug
2023-10-13	13:09:37	2646	[DEBUG]	Process line 2646
2023-10-13	13:09:37	2646	[DEBUG]	Load a row
2023-10-13	13:09:37	2646	[DEBUG]	Processing item: A_1673_1
2023-10-13	13:09:37	2646	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:37	2646	[DEBUG]	Processing product tax
2023-10-13	13:09:37	2646	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:37	2646	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:37	2646	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:37	2646	[DEBUG]	Query for Product
2023-10-13	13:09:37	2646	[DEBUG]	Executed store
2023-10-13	13:09:37	2646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1673_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:37	2646	[DEBUG]	Check product language entry
2023-10-13	13:09:37	2646	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862138
2023-10-13	13:09:37	2646	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:37	2646	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1673_1' AND `virtuemart_product_id` != 1862138
2023-10-13	13:09:37	2646	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:37	2646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862138, 'A_1673_1')
2023-10-13	13:09:37	2646	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:37	2646	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-guide-pour-gaines-de-cable-sur-le-cadre-10-unites-noir' AND `virtuemart_product_id` != 1862138
2023-10-13	13:09:37	2646	[DEBUG]	Query for ProductLang
2023-10-13	13:09:37	2646	[DEBUG]	Executed store
2023-10-13	13:09:37	2646	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guide pour gaines de cable sur le cadre. 100unités<br>N° art fourn : CS',`product_name`='MLV-Bike Guide pour gaines de cable sur le cadre. 10 unités / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-guide-pour-gaines-de-cable-sur-le-cadre-10-unites-noir' WHERE `virtuemart_product_id` = '1862138'
2023-10-13	13:09:37	2646	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5754.jpg
2023-10-13	13:09:37	2646	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:09:37	2646	[DEBUG]	Process image file
2023-10-13	13:09:37	2646	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:09:37	2646	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:37	2646	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5754.jpg
2023-10-13	13:09:37	2646	[DEBUG]	Full name target: bcprisme/image_5754.jpg
2023-10-13	13:09:38	2646	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:38	2646	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5754.jpg'
2023-10-13	13:09:38	2646	[DEBUG]	Query for Media
2023-10-13	13:09:38	2646	[DEBUG]	Executed store
2023-10-13	13:09:38	2646	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5754.jpg',`file_url_thumb`='bcprisme/image_5754.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436969'
2023-10-13	13:09:38	2646	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:38	2646	[DEBUG]	Executed store
2023-10-13	13:09:38	2646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862138','436969','1')
2023-10-13	13:09:38	2646	[DEBUG]	Store product image relation
2023-10-13	13:09:38	2646	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:38	2646	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862138 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:38	2646	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:38	2646	[DEBUG]	Executed store
2023-10-13	13:09:38	2646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862138','0','5.57103064066852','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:38	2646	[DEBUG]	Checking manufacturer
2023-10-13	13:09:38	2646	[DEBUG]	Load a row
2023-10-13	13:09:38	2646	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:38	2646	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:38	2646	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:38	2646	[DEBUG]	Executed store
2023-10-13	13:09:38	2646	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:38	2646	[DEBUG]	Manufacturer exists
2023-10-13	13:09:38	2646	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:09:38	2646	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:38	2646	[DEBUG]	Executed store
2023-10-13	13:09:38	2646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862138','2')
2023-10-13	13:09:38	2646	[DEBUG]	Find the custom field ID
2023-10-13	13:09:38	2646	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:38	2646	[DEBUG]	No custom field ID found
2023-10-13	13:09:38	2646	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:38	2646	[DEBUG]	Get existing row with customfield value 55.8444444444444
2023-10-13	13:09:38	2646	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862138 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:38	2646	[DEBUG]	Store custom available field
2023-10-13	13:09:38	2646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862138,3,'55.8444444444444',1)
2023-10-13	13:09:38	2646	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:38	2646	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:38	2646	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862138 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:38	2646	[DEBUG]	Store custom available field
2023-10-13	13:09:38	2646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862138,6,'choisir la taille',3)
2023-10-13	13:09:38	2646	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:38	2646	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:38	2646	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:38	2646	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:38	2646	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862138 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:38	2646	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:38	2646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862138,8,1)
2023-10-13	13:09:38	2646	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:38	2646	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862138\":[1862138,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862138
2023-10-13	13:09:38	2646	[DEBUG]	Checking category
2023-10-13	13:09:38	2646	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:38	2646	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862138
2023-10-13	13:09:38	2646	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:38	2646	[DEBUG]	Executed store
2023-10-13	13:09:38	2646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862138','7351')
2023-10-13	13:09:38	2646	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:38	2646	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862138 AND `virtuemart_category_id` NOT IN (7351)
2023-10-13	13:09:38	2646	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:38	2646	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862138
2023-10-13	13:09:38	2647	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:38	2647	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:38	2647	[DEBUG]	Use field value for field taille
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:38	2647	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:38	2647	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:38	2647	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:38	2647	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:38	2647	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:38	2647	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:38	2647	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:38	2647	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:38	2647	[DEBUG]	Use field value for field published
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:38	2647	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field override
2023-10-13	13:09:38	2647	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:38	2647	[DEBUG]	Use field value for field slug
2023-10-13	13:09:38	2647	[DEBUG]	Process line 2647
2023-10-13	13:09:38	2647	[DEBUG]	Load a row
2023-10-13	13:09:38	2647	[DEBUG]	Processing item: 1000000029956
2023-10-13	13:09:38	2647	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:38	2647	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:38	2647	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1673_1'
2023-10-13	13:09:38	2647	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:38	2647	[DEBUG]	Processing product tax
2023-10-13	13:09:38	2647	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:38	2647	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:38	2647	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:38	2647	[DEBUG]	Query for Product
2023-10-13	13:09:38	2647	[DEBUG]	Executed store
2023-10-13	13:09:38	2647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862138','1000000029956','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:38	2647	[DEBUG]	No parent found
2023-10-13	13:09:38	2647	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862138 AND customfield_value = 'stockable'
2023-10-13	13:09:38	2647	[DEBUG]	Check product language entry
2023-10-13	13:09:38	2647	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862139
2023-10-13	13:09:38	2647	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:38	2647	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000029956' AND `virtuemart_product_id` != 1862139
2023-10-13	13:09:38	2647	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:38	2647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862139, '1000000029956')
2023-10-13	13:09:38	2647	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:38	2647	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-guide-pour-gaines-de-cable-sur-le-cadre-10-unites-noir-unitaire' AND `virtuemart_product_id` != 1862139
2023-10-13	13:09:38	2647	[DEBUG]	Query for ProductLang
2023-10-13	13:09:38	2647	[DEBUG]	Executed store
2023-10-13	13:09:38	2647	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Guide pour gaines de cable sur le cadre. 10 unités / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-guide-pour-gaines-de-cable-sur-le-cadre-10-unites-noir-unitaire' WHERE `virtuemart_product_id` = '1862139'
2023-10-13	13:09:38	2647	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5754.jpg
2023-10-13	13:09:38	2647	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:09:38	2647	[DEBUG]	Process image file
2023-10-13	13:09:38	2647	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:09:38	2647	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:38	2647	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5754.jpg
2023-10-13	13:09:38	2647	[DEBUG]	Full name target: bcprisme/image_5754.jpg
2023-10-13	13:09:39	2647	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:39	2647	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5754.jpg'
2023-10-13	13:09:39	2647	[DEBUG]	Query for Media
2023-10-13	13:09:39	2647	[DEBUG]	Executed store
2023-10-13	13:09:39	2647	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5754.jpg',`file_url_thumb`='bcprisme/image_5754.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436969'
2023-10-13	13:09:39	2647	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:39	2647	[DEBUG]	Executed store
2023-10-13	13:09:39	2647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862139','436969','1')
2023-10-13	13:09:39	2647	[DEBUG]	Store product image relation
2023-10-13	13:09:39	2647	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:39	2647	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862139 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:39	2647	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:39	2647	[DEBUG]	Executed store
2023-10-13	13:09:39	2647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862139','0','5.57103064066852','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:39	2647	[DEBUG]	Checking manufacturer
2023-10-13	13:09:39	2647	[DEBUG]	Load a row
2023-10-13	13:09:39	2647	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:39	2647	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:39	2647	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:39	2647	[DEBUG]	Executed store
2023-10-13	13:09:39	2647	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:39	2647	[DEBUG]	Manufacturer exists
2023-10-13	13:09:39	2647	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:09:39	2647	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:39	2647	[DEBUG]	Executed store
2023-10-13	13:09:39	2647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862139','2')
2023-10-13	13:09:39	2647	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:39	2647	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:39	2647	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862139 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:39	2647	[DEBUG]	Store custom available field
2023-10-13	13:09:39	2647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862139,3,'',1)
2023-10-13	13:09:39	2647	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:39	2647	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:39	2647	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862139 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:39	2647	[DEBUG]	Store custom available field
2023-10-13	13:09:39	2647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862139,6,'Unitaire',3)
2023-10-13	13:09:39	2647	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:39	2647	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:39	2647	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862138
2023-10-13	13:09:39	2647	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:39	2647	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862138\":[1862138,8,1,\"choisir la taille\"],\"1862139\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862138
2023-10-13	13:09:39	2647	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:39	2647	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862139
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:39	2648	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field taille
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:39	2648	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:39	2648	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:39	2648	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:39	2648	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:39	2648	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:39	2648	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field published
2023-10-13	13:09:39	2648	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:39	2648	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field override
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:39	2648	[DEBUG]	Use field value for field slug
2023-10-13	13:09:39	2648	[DEBUG]	Process line 2648
2023-10-13	13:09:39	2648	[DEBUG]	Load a row
2023-10-13	13:09:39	2648	[DEBUG]	Processing item: A_7053_1
2023-10-13	13:09:39	2648	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:39	2648	[DEBUG]	Processing product tax
2023-10-13	13:09:39	2648	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:39	2648	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:39	2648	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:39	2648	[DEBUG]	Query for Product
2023-10-13	13:09:39	2648	[DEBUG]	Executed store
2023-10-13	13:09:39	2648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7053_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:39	2648	[DEBUG]	Check product language entry
2023-10-13	13:09:39	2648	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862140
2023-10-13	13:09:39	2648	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:39	2648	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7053_1' AND `virtuemart_product_id` != 1862140
2023-10-13	13:09:39	2648	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:39	2648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862140, 'A_7053_1')
2023-10-13	13:09:39	2648	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:39	2648	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-soufflet-d-etancheite-shimano-v-brake-br-t660-noir' AND `virtuemart_product_id` != 1862140
2023-10-13	13:09:39	2648	[DEBUG]	Query for ProductLang
2023-10-13	13:09:39	2648	[DEBUG]	Executed store
2023-10-13	13:09:39	2648	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.48982',`product_name`='SHIMANO Soufflet d\'étanchéité Shimano V-Brake BR-T660 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-soufflet-d-etancheite-shimano-v-brake-br-t660-noir' WHERE `virtuemart_product_id` = '1862140'
2023-10-13	13:09:39	2648	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34201_faltenbalg_v-brake_br-t660.jpg
2023-10-13	13:09:39	2648	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:39	2648	[DEBUG]	Process image file
2023-10-13	13:09:39	2648	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:39	2648	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:39	2648	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34201_faltenbalg_v-brake_br-t660.jpg
2023-10-13	13:09:39	2648	[DEBUG]	Full name target: bcprisme/34201_faltenbalg_v-brake_br-t660.jpg
2023-10-13	13:09:40	2648	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:40	2648	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34201_faltenbalg_v-brake_br-t660.jpg'
2023-10-13	13:09:40	2648	[DEBUG]	Query for Media
2023-10-13	13:09:40	2648	[DEBUG]	Executed store
2023-10-13	13:09:40	2648	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34201_faltenbalg_v-brake_br-t660.jpg',`file_url_thumb`='bcprisme/34201_faltenbalg_v-brake_br-t660.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '25266'
2023-10-13	13:09:40	2648	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:40	2648	[DEBUG]	Executed store
2023-10-13	13:09:40	2648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862140','25266','1')
2023-10-13	13:09:40	2648	[DEBUG]	Store product image relation
2023-10-13	13:09:40	2648	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:40	2648	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862140 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:40	2648	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:40	2648	[DEBUG]	Executed store
2023-10-13	13:09:40	2648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862140','0','2.69266480965645','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:40	2648	[DEBUG]	Checking manufacturer
2023-10-13	13:09:40	2648	[DEBUG]	Load a row
2023-10-13	13:09:40	2648	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:40	2648	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:40	2648	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:40	2648	[DEBUG]	Executed store
2023-10-13	13:09:40	2648	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:40	2648	[DEBUG]	Manufacturer exists
2023-10-13	13:09:40	2648	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:40	2648	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:40	2648	[DEBUG]	Executed store
2023-10-13	13:09:40	2648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862140','26')
2023-10-13	13:09:40	2648	[DEBUG]	Find the custom field ID
2023-10-13	13:09:40	2648	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:40	2648	[DEBUG]	No custom field ID found
2023-10-13	13:09:40	2648	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:40	2648	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:40	2648	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862140 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:40	2648	[DEBUG]	Store custom available field
2023-10-13	13:09:40	2648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862140,3,'0',1)
2023-10-13	13:09:40	2648	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:40	2648	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:40	2648	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862140 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:40	2648	[DEBUG]	Store custom available field
2023-10-13	13:09:40	2648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862140,6,'choisir la taille',3)
2023-10-13	13:09:40	2648	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:40	2648	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:40	2648	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:40	2648	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:40	2648	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862140 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:40	2648	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:40	2648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862140,8,1)
2023-10-13	13:09:40	2648	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:40	2648	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862140\":[1862140,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862140
2023-10-13	13:09:40	2648	[DEBUG]	Checking category
2023-10-13	13:09:40	2648	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:40	2648	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862140
2023-10-13	13:09:40	2648	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:40	2648	[DEBUG]	Executed store
2023-10-13	13:09:40	2648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862140','7351')
2023-10-13	13:09:40	2648	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:40	2648	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862140 AND `virtuemart_category_id` NOT IN (7351)
2023-10-13	13:09:40	2648	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:40	2648	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862140
2023-10-13	13:09:40	2649	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:40	2649	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:40	2649	[DEBUG]	Use field value for field taille
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:40	2649	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:40	2649	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:40	2649	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:40	2649	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:40	2649	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:40	2649	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:40	2649	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:40	2649	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:40	2649	[DEBUG]	Use field value for field published
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:40	2649	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field override
2023-10-13	13:09:40	2649	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:40	2649	[DEBUG]	Use field value for field slug
2023-10-13	13:09:40	2649	[DEBUG]	Process line 2649
2023-10-13	13:09:40	2649	[DEBUG]	Load a row
2023-10-13	13:09:40	2649	[DEBUG]	Processing item: 4524667283720
2023-10-13	13:09:40	2649	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:40	2649	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:40	2649	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7053_1'
2023-10-13	13:09:40	2649	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:40	2649	[DEBUG]	Processing product tax
2023-10-13	13:09:40	2649	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:40	2649	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:40	2649	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:40	2649	[DEBUG]	Query for Product
2023-10-13	13:09:40	2649	[DEBUG]	Executed store
2023-10-13	13:09:40	2649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862140','4524667283720','0','KG','M','','10','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:40	2649	[DEBUG]	No parent found
2023-10-13	13:09:40	2649	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862140 AND customfield_value = 'stockable'
2023-10-13	13:09:40	2649	[DEBUG]	Check product language entry
2023-10-13	13:09:40	2649	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862141
2023-10-13	13:09:40	2649	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:40	2649	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667283720' AND `virtuemart_product_id` != 1862141
2023-10-13	13:09:40	2649	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:40	2649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862141, '4524667283720')
2023-10-13	13:09:40	2649	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:40	2649	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-soufflet-d-etancheite-shimano-v-brake-br-t660-noir-unitaire' AND `virtuemart_product_id` != 1862141
2023-10-13	13:09:40	2649	[DEBUG]	Query for ProductLang
2023-10-13	13:09:40	2649	[DEBUG]	Executed store
2023-10-13	13:09:40	2649	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Soufflet d\'étanchéité Shimano V-Brake BR-T660 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-soufflet-d-etancheite-shimano-v-brake-br-t660-noir-unitaire' WHERE `virtuemart_product_id` = '1862141'
2023-10-13	13:09:40	2649	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34201_faltenbalg_v-brake_br-t660.jpg
2023-10-13	13:09:40	2649	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:40	2649	[DEBUG]	Process image file
2023-10-13	13:09:40	2649	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:40	2649	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:40	2649	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34201_faltenbalg_v-brake_br-t660.jpg
2023-10-13	13:09:40	2649	[DEBUG]	Full name target: bcprisme/34201_faltenbalg_v-brake_br-t660.jpg
2023-10-13	13:09:41	2649	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:41	2649	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34201_faltenbalg_v-brake_br-t660.jpg'
2023-10-13	13:09:41	2649	[DEBUG]	Query for Media
2023-10-13	13:09:41	2649	[DEBUG]	Executed store
2023-10-13	13:09:41	2649	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34201_faltenbalg_v-brake_br-t660.jpg',`file_url_thumb`='bcprisme/34201_faltenbalg_v-brake_br-t660.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '25266'
2023-10-13	13:09:41	2649	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:41	2649	[DEBUG]	Executed store
2023-10-13	13:09:41	2649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862141','25266','1')
2023-10-13	13:09:41	2649	[DEBUG]	Store product image relation
2023-10-13	13:09:41	2649	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:41	2649	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862141 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:41	2649	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:41	2649	[DEBUG]	Executed store
2023-10-13	13:09:41	2649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862141','0','2.69266480965645','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:41	2649	[DEBUG]	Checking manufacturer
2023-10-13	13:09:41	2649	[DEBUG]	Load a row
2023-10-13	13:09:41	2649	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:41	2649	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:41	2649	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:41	2649	[DEBUG]	Executed store
2023-10-13	13:09:41	2649	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:41	2649	[DEBUG]	Manufacturer exists
2023-10-13	13:09:41	2649	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:41	2649	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:41	2649	[DEBUG]	Executed store
2023-10-13	13:09:41	2649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862141','26')
2023-10-13	13:09:41	2649	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:41	2649	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:41	2649	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862141 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:41	2649	[DEBUG]	Store custom available field
2023-10-13	13:09:41	2649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862141,3,'',1)
2023-10-13	13:09:41	2649	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:41	2649	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:41	2649	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862141 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:41	2649	[DEBUG]	Store custom available field
2023-10-13	13:09:41	2649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862141,6,'Unitaire',3)
2023-10-13	13:09:41	2649	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:41	2649	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:41	2649	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862140
2023-10-13	13:09:41	2649	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:41	2649	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862140\":[1862140,8,1,\"choisir la taille\"],\"1862141\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862140
2023-10-13	13:09:41	2649	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:41	2649	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862141
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:41	2650	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field taille
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:41	2650	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:41	2650	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:41	2650	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:41	2650	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:41	2650	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:41	2650	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field published
2023-10-13	13:09:41	2650	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:41	2650	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field override
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:41	2650	[DEBUG]	Use field value for field slug
2023-10-13	13:09:41	2650	[DEBUG]	Process line 2650
2023-10-13	13:09:41	2650	[DEBUG]	Load a row
2023-10-13	13:09:41	2650	[DEBUG]	Processing item: A_8735_1
2023-10-13	13:09:41	2650	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:41	2650	[DEBUG]	Processing product tax
2023-10-13	13:09:41	2650	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:41	2650	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:41	2650	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:41	2650	[DEBUG]	Query for Product
2023-10-13	13:09:41	2650	[DEBUG]	Executed store
2023-10-13	13:09:41	2650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8735_1','0.003','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:41	2650	[DEBUG]	Check product language entry
2023-10-13	13:09:41	2650	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862142
2023-10-13	13:09:41	2650	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:41	2650	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8735_1' AND `virtuemart_product_id` != 1862142
2023-10-13	13:09:41	2650	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:41	2650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862142, 'A_8735_1')
2023-10-13	13:09:41	2650	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:41	2650	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-copie-noir' AND `virtuemart_product_id` != 1862142
2023-10-13	13:09:41	2650	[DEBUG]	Query for ProductLang
2023-10-13	13:09:41	2650	[DEBUG]	Executed store
2023-10-13	13:09:41	2650	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guide alu 6061 pour gaines de câbles sur le cadre. 5unités, 0.6 gr./ unité<br>N° art fourn : 1630-cm3335-901',`product_name`='MSC Guide alu 6061 pour gaines de câble sur le cadre. 5 unités (copie) / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-copie-noir' WHERE `virtuemart_product_id` = '1862142'
2023-10-13	13:09:41	2650	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37698_guide_alu_6061_pour_gaines_de_cable_sur_le_cadre__5_unites_(copie).jpg
2023-10-13	13:09:41	2650	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:41	2650	[DEBUG]	Process image file
2023-10-13	13:09:41	2650	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:41	2650	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:41	2650	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37698_guide_alu_6061_pour_gaines_de_cable_sur_le_cadre__5_unites_(copie).jpg
2023-10-13	13:09:41	2650	[DEBUG]	Full name target: bcprisme/37698_guide_alu_6061_pour_gaines_de_cable_sur_le_cadre__5_unites_(copie).jpg
2023-10-13	13:09:42	2650	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:42	2650	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37698_guide_alu_6061_pour_gaines_de_cable_sur_le_cadre__5_unites_(copie).jpg'
2023-10-13	13:09:42	2650	[DEBUG]	Query for Media
2023-10-13	13:09:42	2650	[DEBUG]	Executed store
2023-10-13	13:09:42	2650	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37698_guide_alu_6061_pour_gaines_de_cable_sur_le_cadre__5_unites_(copie).jpg',`file_url_thumb`='bcprisme/37698_guide_alu_6061_pour_gaines_de_cable_sur_le_cadre__5_unites_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1061083'
2023-10-13	13:09:42	2650	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:42	2650	[DEBUG]	Executed store
2023-10-13	13:09:42	2650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862142','1061083','1')
2023-10-13	13:09:42	2650	[DEBUG]	Store product image relation
2023-10-13	13:09:42	2650	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:42	2650	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862142 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:42	2650	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:42	2650	[DEBUG]	Executed store
2023-10-13	13:09:42	2650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862142','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:42	2650	[DEBUG]	Checking manufacturer
2023-10-13	13:09:42	2650	[DEBUG]	Load a row
2023-10-13	13:09:42	2650	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:42	2650	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:42	2650	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:42	2650	[DEBUG]	Executed store
2023-10-13	13:09:42	2650	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:42	2650	[DEBUG]	Manufacturer exists
2023-10-13	13:09:42	2650	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:09:42	2650	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:42	2650	[DEBUG]	Executed store
2023-10-13	13:09:42	2650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862142','32')
2023-10-13	13:09:42	2650	[DEBUG]	Find the custom field ID
2023-10-13	13:09:42	2650	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:42	2650	[DEBUG]	No custom field ID found
2023-10-13	13:09:42	2650	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:42	2650	[DEBUG]	Get existing row with customfield value 7.97777777777778
2023-10-13	13:09:42	2650	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862142 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:42	2650	[DEBUG]	Store custom available field
2023-10-13	13:09:42	2650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862142,3,'7.97777777777778',1)
2023-10-13	13:09:42	2650	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:42	2650	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:42	2650	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862142 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:42	2650	[DEBUG]	Store custom available field
2023-10-13	13:09:42	2650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862142,6,'choisir la taille',3)
2023-10-13	13:09:42	2650	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:42	2650	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:42	2650	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:42	2650	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:42	2650	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862142 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:42	2650	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:42	2650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862142,8,1)
2023-10-13	13:09:42	2650	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:42	2650	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862142\":[1862142,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862142
2023-10-13	13:09:42	2650	[DEBUG]	Checking category
2023-10-13	13:09:42	2650	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:42	2650	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862142
2023-10-13	13:09:42	2650	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:42	2650	[DEBUG]	Executed store
2023-10-13	13:09:42	2650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862142','7351')
2023-10-13	13:09:42	2650	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:42	2650	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862142 AND `virtuemart_category_id` NOT IN (7351)
2023-10-13	13:09:42	2650	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:42	2650	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862142
2023-10-13	13:09:42	2651	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:42	2651	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:42	2651	[DEBUG]	Use field value for field taille
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:42	2651	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:42	2651	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:42	2651	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:42	2651	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:42	2651	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:42	2651	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:42	2651	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:42	2651	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:42	2651	[DEBUG]	Use field value for field published
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:42	2651	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field override
2023-10-13	13:09:42	2651	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:42	2651	[DEBUG]	Use field value for field slug
2023-10-13	13:09:42	2651	[DEBUG]	Process line 2651
2023-10-13	13:09:42	2651	[DEBUG]	Load a row
2023-10-13	13:09:42	2651	[DEBUG]	Processing item: 1000000162752
2023-10-13	13:09:42	2651	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:42	2651	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:42	2651	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8735_1'
2023-10-13	13:09:42	2651	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:42	2651	[DEBUG]	Processing product tax
2023-10-13	13:09:42	2651	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:42	2651	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:42	2651	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:42	2651	[DEBUG]	Query for Product
2023-10-13	13:09:42	2651	[DEBUG]	Executed store
2023-10-13	13:09:42	2651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862142','1000000162752','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:42	2651	[DEBUG]	No parent found
2023-10-13	13:09:42	2651	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862142 AND customfield_value = 'stockable'
2023-10-13	13:09:42	2651	[DEBUG]	Check product language entry
2023-10-13	13:09:42	2651	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862143
2023-10-13	13:09:42	2651	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:42	2651	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000162752' AND `virtuemart_product_id` != 1862143
2023-10-13	13:09:42	2651	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:42	2651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862143, '1000000162752')
2023-10-13	13:09:42	2651	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:42	2651	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-copie-noir-unitaire' AND `virtuemart_product_id` != 1862143
2023-10-13	13:09:42	2651	[DEBUG]	Query for ProductLang
2023-10-13	13:09:42	2651	[DEBUG]	Executed store
2023-10-13	13:09:42	2651	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guide alu 6061 pour gaines de câble sur le cadre. 5 unités (copie) / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guide-alu-6061-pour-gaines-de-cable-sur-le-cadre-5-unites-copie-noir-unitaire' WHERE `virtuemart_product_id` = '1862143'
2023-10-13	13:09:42	2651	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37698_guide_alu_6061_pour_gaines_de_cable_sur_le_cadre__5_unites_(copie).jpg
2023-10-13	13:09:42	2651	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:42	2651	[DEBUG]	Process image file
2023-10-13	13:09:42	2651	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:42	2651	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:42	2651	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37698_guide_alu_6061_pour_gaines_de_cable_sur_le_cadre__5_unites_(copie).jpg
2023-10-13	13:09:42	2651	[DEBUG]	Full name target: bcprisme/37698_guide_alu_6061_pour_gaines_de_cable_sur_le_cadre__5_unites_(copie).jpg
2023-10-13	13:09:43	2651	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:43	2651	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37698_guide_alu_6061_pour_gaines_de_cable_sur_le_cadre__5_unites_(copie).jpg'
2023-10-13	13:09:43	2651	[DEBUG]	Query for Media
2023-10-13	13:09:43	2651	[DEBUG]	Executed store
2023-10-13	13:09:43	2651	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37698_guide_alu_6061_pour_gaines_de_cable_sur_le_cadre__5_unites_(copie).jpg',`file_url_thumb`='bcprisme/37698_guide_alu_6061_pour_gaines_de_cable_sur_le_cadre__5_unites_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1061083'
2023-10-13	13:09:43	2651	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:43	2651	[DEBUG]	Executed store
2023-10-13	13:09:43	2651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862143','1061083','1')
2023-10-13	13:09:43	2651	[DEBUG]	Store product image relation
2023-10-13	13:09:43	2651	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:43	2651	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862143 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:43	2651	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:43	2651	[DEBUG]	Executed store
2023-10-13	13:09:43	2651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862143','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:43	2651	[DEBUG]	Checking manufacturer
2023-10-13	13:09:43	2651	[DEBUG]	Load a row
2023-10-13	13:09:43	2651	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:43	2651	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:43	2651	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:43	2651	[DEBUG]	Executed store
2023-10-13	13:09:43	2651	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:09:43	2651	[DEBUG]	Manufacturer exists
2023-10-13	13:09:43	2651	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:09:43	2651	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:43	2651	[DEBUG]	Executed store
2023-10-13	13:09:43	2651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862143','32')
2023-10-13	13:09:43	2651	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:43	2651	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:43	2651	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862143 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:43	2651	[DEBUG]	Store custom available field
2023-10-13	13:09:43	2651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862143,3,'',1)
2023-10-13	13:09:43	2651	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:43	2651	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:43	2651	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862143 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:43	2651	[DEBUG]	Store custom available field
2023-10-13	13:09:43	2651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862143,6,'Unitaire',3)
2023-10-13	13:09:43	2651	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:43	2651	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:43	2651	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862142
2023-10-13	13:09:43	2651	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:43	2651	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862142\":[1862142,8,1,\"choisir la taille\"],\"1862143\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862142
2023-10-13	13:09:43	2651	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:43	2651	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862143
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:43	2652	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field taille
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:43	2652	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:43	2652	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:43	2652	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:43	2652	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:43	2652	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:43	2652	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field published
2023-10-13	13:09:43	2652	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:43	2652	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field override
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:43	2652	[DEBUG]	Use field value for field slug
2023-10-13	13:09:43	2652	[DEBUG]	Process line 2652
2023-10-13	13:09:43	2652	[DEBUG]	Load a row
2023-10-13	13:09:43	2652	[DEBUG]	Processing item: A_6332_208
2023-10-13	13:09:43	2652	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:43	2652	[DEBUG]	Processing product tax
2023-10-13	13:09:43	2652	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:43	2652	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:43	2652	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:43	2652	[DEBUG]	Query for Product
2023-10-13	13:09:43	2652	[DEBUG]	Executed store
2023-10-13	13:09:43	2652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6332_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:43	2652	[DEBUG]	Check product language entry
2023-10-13	13:09:43	2652	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862144
2023-10-13	13:09:43	2652	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:43	2652	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6332_208' AND `virtuemart_product_id` != 1862144
2023-10-13	13:09:43	2652	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:43	2652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862144, 'A_6332_208')
2023-10-13	13:09:43	2652	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:43	2652	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-embout-de-gaine-sis-sp41-ext-6-4-mm-int-4-mm-alu-etanche-aucune' AND `virtuemart_product_id` != 1862144
2023-10-13	13:09:43	2652	[DEBUG]	Query for ProductLang
2023-10-13	13:09:43	2652	[DEBUG]	Executed store
2023-10-13	13:09:43	2652	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 86.27041',`product_name`='SHIMANO Embout de gaine SIS-SP41 ext:6/4 mm int:4 mm alu étanché / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-embout-de-gaine-sis-sp41-ext-6-4-mm-int-4-mm-alu-etanche-aucune' WHERE `virtuemart_product_id` = '1862144'
2023-10-13	13:09:43	2652	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32217_shimano_embout_de_gaine_sis-sp41_ext_6-4_mm_int_4_mm_alu_etanche.jpg
2023-10-13	13:09:43	2652	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:43	2652	[DEBUG]	Process image file
2023-10-13	13:09:43	2652	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:43	2652	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:43	2652	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32217_shimano_embout_de_gaine_sis-sp41_ext_6-4_mm_int_4_mm_alu_etanche.jpg
2023-10-13	13:09:43	2652	[DEBUG]	Full name target: bcprisme/32217_shimano_embout_de_gaine_sis-sp41_ext_6-4_mm_int_4_mm_alu_etanche.jpg
2023-10-13	13:09:44	2652	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:44	2652	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32217_shimano_embout_de_gaine_sis-sp41_ext_6-4_mm_int_4_mm_alu_etanche.jpg'
2023-10-13	13:09:44	2652	[DEBUG]	Query for Media
2023-10-13	13:09:44	2652	[DEBUG]	Executed store
2023-10-13	13:09:44	2652	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32217_shimano_embout_de_gaine_sis-sp41_ext_6-4_mm_int_4_mm_alu_etanche.jpg',`file_url_thumb`='bcprisme/32217_shimano_embout_de_gaine_sis-sp41_ext_6-4_mm_int_4_mm_alu_etanche.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12903'
2023-10-13	13:09:44	2652	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:44	2652	[DEBUG]	Executed store
2023-10-13	13:09:44	2652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862144','12903','1')
2023-10-13	13:09:44	2652	[DEBUG]	Store product image relation
2023-10-13	13:09:44	2652	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:44	2652	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862144 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:44	2652	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:44	2652	[DEBUG]	Executed store
2023-10-13	13:09:44	2652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862144','0','2.69266480965645','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:44	2652	[DEBUG]	Checking manufacturer
2023-10-13	13:09:44	2652	[DEBUG]	Load a row
2023-10-13	13:09:44	2652	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:44	2652	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:09:44	2652	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:44	2652	[DEBUG]	Executed store
2023-10-13	13:09:44	2652	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:09:44	2652	[DEBUG]	Manufacturer exists
2023-10-13	13:09:44	2652	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:09:44	2652	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:44	2652	[DEBUG]	Executed store
2023-10-13	13:09:44	2652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862144','123')
2023-10-13	13:09:44	2652	[DEBUG]	Find the custom field ID
2023-10-13	13:09:44	2652	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:44	2652	[DEBUG]	No custom field ID found
2023-10-13	13:09:44	2652	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:44	2652	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:44	2652	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862144 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:44	2652	[DEBUG]	Store custom available field
2023-10-13	13:09:44	2652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862144,3,'0',1)
2023-10-13	13:09:44	2652	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:44	2652	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:44	2652	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862144 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:44	2652	[DEBUG]	Store custom available field
2023-10-13	13:09:44	2652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862144,6,'choisir la taille',3)
2023-10-13	13:09:44	2652	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:44	2652	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:44	2652	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:44	2652	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:44	2652	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862144 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:44	2652	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:44	2652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862144,8,1)
2023-10-13	13:09:44	2652	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:44	2652	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862144\":[1862144,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862144
2023-10-13	13:09:44	2652	[DEBUG]	Checking category
2023-10-13	13:09:44	2652	[DEBUG]	Check if category path exists: GAINES DE VITESSES - SCHALTKABELHÜLLEN
2023-10-13	13:09:44	2652	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GAINES DE VITESSES - SCHALTKABELHÜLLEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:09:44	2652	[DEBUG]	Check if category path exists: GAINES DE VITESSES - SCHALTKABELHÜLLEN
2023-10-13	13:09:44	2652	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GAINES DE VITESSES - SCHALTKABELHÜLLEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7352
2023-10-13	13:09:44	2652	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:44	2652	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862144
2023-10-13	13:09:44	2652	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:44	2652	[DEBUG]	Executed store
2023-10-13	13:09:44	2652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862144','7353')
2023-10-13	13:09:44	2652	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:44	2652	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862144 AND `virtuemart_category_id` NOT IN (7353)
2023-10-13	13:09:44	2652	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:44	2652	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862144
2023-10-13	13:09:44	2653	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:44	2653	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:44	2653	[DEBUG]	Use field value for field taille
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:44	2653	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:44	2653	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:44	2653	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:44	2653	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:44	2653	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:44	2653	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:44	2653	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:44	2653	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:44	2653	[DEBUG]	Use field value for field published
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:44	2653	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field override
2023-10-13	13:09:44	2653	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:44	2653	[DEBUG]	Use field value for field slug
2023-10-13	13:09:44	2653	[DEBUG]	Process line 2653
2023-10-13	13:09:44	2653	[DEBUG]	Load a row
2023-10-13	13:09:44	2653	[DEBUG]	Processing item: 4524667000808
2023-10-13	13:09:44	2653	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:44	2653	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:44	2653	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6332_208'
2023-10-13	13:09:44	2653	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:44	2653	[DEBUG]	Processing product tax
2023-10-13	13:09:44	2653	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:44	2653	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:44	2653	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:44	2653	[DEBUG]	Query for Product
2023-10-13	13:09:44	2653	[DEBUG]	Executed store
2023-10-13	13:09:44	2653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862144','4524667000808','0','KG','M','','10','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:44	2653	[DEBUG]	No parent found
2023-10-13	13:09:44	2653	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862144 AND customfield_value = 'stockable'
2023-10-13	13:09:44	2653	[DEBUG]	Check product language entry
2023-10-13	13:09:44	2653	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862145
2023-10-13	13:09:44	2653	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:44	2653	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667000808' AND `virtuemart_product_id` != 1862145
2023-10-13	13:09:44	2653	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:44	2653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862145, '4524667000808')
2023-10-13	13:09:44	2653	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:44	2653	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-embout-de-gaine-sis-sp41-ext-6-4-mm-int-4-mm-alu-etanche-aucune-all' AND `virtuemart_product_id` != 1862145
2023-10-13	13:09:44	2653	[DEBUG]	Query for ProductLang
2023-10-13	13:09:44	2653	[DEBUG]	Executed store
2023-10-13	13:09:44	2653	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Embout de gaine SIS-SP41 ext:6/4 mm int:4 mm alu étanché / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-embout-de-gaine-sis-sp41-ext-6-4-mm-int-4-mm-alu-etanche-aucune-all' WHERE `virtuemart_product_id` = '1862145'
2023-10-13	13:09:44	2653	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32217_shimano_embout_de_gaine_sis-sp41_ext_6-4_mm_int_4_mm_alu_etanche.jpg
2023-10-13	13:09:44	2653	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:44	2653	[DEBUG]	Process image file
2023-10-13	13:09:44	2653	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:44	2653	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:44	2653	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32217_shimano_embout_de_gaine_sis-sp41_ext_6-4_mm_int_4_mm_alu_etanche.jpg
2023-10-13	13:09:44	2653	[DEBUG]	Full name target: bcprisme/32217_shimano_embout_de_gaine_sis-sp41_ext_6-4_mm_int_4_mm_alu_etanche.jpg
2023-10-13	13:09:45	2653	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:45	2653	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32217_shimano_embout_de_gaine_sis-sp41_ext_6-4_mm_int_4_mm_alu_etanche.jpg'
2023-10-13	13:09:45	2653	[DEBUG]	Query for Media
2023-10-13	13:09:45	2653	[DEBUG]	Executed store
2023-10-13	13:09:45	2653	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32217_shimano_embout_de_gaine_sis-sp41_ext_6-4_mm_int_4_mm_alu_etanche.jpg',`file_url_thumb`='bcprisme/32217_shimano_embout_de_gaine_sis-sp41_ext_6-4_mm_int_4_mm_alu_etanche.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12903'
2023-10-13	13:09:45	2653	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:45	2653	[DEBUG]	Executed store
2023-10-13	13:09:45	2653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862145','12903','1')
2023-10-13	13:09:45	2653	[DEBUG]	Store product image relation
2023-10-13	13:09:45	2653	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:45	2653	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862145 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:45	2653	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:45	2653	[DEBUG]	Executed store
2023-10-13	13:09:45	2653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862145','0','2.69266480965645','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:45	2653	[DEBUG]	Checking manufacturer
2023-10-13	13:09:45	2653	[DEBUG]	Load a row
2023-10-13	13:09:45	2653	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:45	2653	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:09:45	2653	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:45	2653	[DEBUG]	Executed store
2023-10-13	13:09:45	2653	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:09:45	2653	[DEBUG]	Manufacturer exists
2023-10-13	13:09:45	2653	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:09:45	2653	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:45	2653	[DEBUG]	Executed store
2023-10-13	13:09:45	2653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862145','123')
2023-10-13	13:09:45	2653	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:45	2653	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:45	2653	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862145 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:45	2653	[DEBUG]	Store custom available field
2023-10-13	13:09:45	2653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862145,3,'',1)
2023-10-13	13:09:45	2653	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:45	2653	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:09:45	2653	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862145 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:45	2653	[DEBUG]	Store custom available field
2023-10-13	13:09:45	2653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862145,6,'All',3)
2023-10-13	13:09:45	2653	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:45	2653	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:45	2653	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862144
2023-10-13	13:09:45	2653	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:45	2653	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862144\":[1862144,8,1,\"choisir la taille\"],\"1862145\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862144
2023-10-13	13:09:45	2653	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:45	2653	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862145
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:45	2654	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field taille
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:45	2654	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:45	2654	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:45	2654	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:45	2654	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:45	2654	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:45	2654	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field published
2023-10-13	13:09:45	2654	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:45	2654	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field override
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:45	2654	[DEBUG]	Use field value for field slug
2023-10-13	13:09:45	2654	[DEBUG]	Process line 2654
2023-10-13	13:09:45	2654	[DEBUG]	Load a row
2023-10-13	13:09:45	2654	[DEBUG]	Processing item: A_7454_1
2023-10-13	13:09:45	2654	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:45	2654	[DEBUG]	Processing product tax
2023-10-13	13:09:45	2654	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:45	2654	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:45	2654	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:45	2654	[DEBUG]	Query for Product
2023-10-13	13:09:45	2654	[DEBUG]	Executed store
2023-10-13	13:09:45	2654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7454_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:45	2654	[DEBUG]	Check product language entry
2023-10-13	13:09:45	2654	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862146
2023-10-13	13:09:45	2654	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:45	2654	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7454_1' AND `virtuemart_product_id` != 1862146
2023-10-13	13:09:45	2654	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:45	2654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862146, 'A_7454_1')
2023-10-13	13:09:45	2654	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:45	2654	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-gaine-sis-sp41-4mm-x50m-noir-1-metre-noir' AND `virtuemart_product_id` != 1862146
2023-10-13	13:09:45	2654	[DEBUG]	Query for ProductLang
2023-10-13	13:09:45	2654	[DEBUG]	Executed store
2023-10-13	13:09:45	2654	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 86.38803',`product_name`='SHIMANO Gaine SIS-SP41 4mm x50m noir 1 mètre / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-gaine-sis-sp41-4mm-x50m-noir-1-metre-noir' WHERE `virtuemart_product_id` = '1862146'
2023-10-13	13:09:45	2654	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_31469_2.jpg
2023-10-13	13:09:45	2654	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:45	2654	[DEBUG]	Process image file
2023-10-13	13:09:45	2654	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:45	2654	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:45	2654	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_31469_2.jpg
2023-10-13	13:09:45	2654	[DEBUG]	Full name target: bcprisme/86_31469_2.jpg
2023-10-13	13:09:46	2654	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:46	2654	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/86_31469_2.jpg'
2023-10-13	13:09:46	2654	[DEBUG]	Query for Media
2023-10-13	13:09:46	2654	[DEBUG]	Executed store
2023-10-13	13:09:46	2654	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/86_31469_2.jpg',`file_url_thumb`='bcprisme/86_31469_2.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436973'
2023-10-13	13:09:46	2654	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:46	2654	[DEBUG]	Executed store
2023-10-13	13:09:46	2654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862146','436973','1')
2023-10-13	13:09:46	2654	[DEBUG]	Store product image relation
2023-10-13	13:09:46	2654	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:46	2654	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862146 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:46	2654	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:46	2654	[DEBUG]	Executed store
2023-10-13	13:09:46	2654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862146','0','2.32126276694522','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:46	2654	[DEBUG]	Checking manufacturer
2023-10-13	13:09:46	2654	[DEBUG]	Load a row
2023-10-13	13:09:46	2654	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:46	2654	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:46	2654	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:46	2654	[DEBUG]	Executed store
2023-10-13	13:09:46	2654	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:46	2654	[DEBUG]	Manufacturer exists
2023-10-13	13:09:46	2654	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:46	2654	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:46	2654	[DEBUG]	Executed store
2023-10-13	13:09:46	2654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862146','26')
2023-10-13	13:09:46	2654	[DEBUG]	Find the custom field ID
2023-10-13	13:09:46	2654	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:46	2654	[DEBUG]	No custom field ID found
2023-10-13	13:09:46	2654	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:46	2654	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:46	2654	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862146 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:46	2654	[DEBUG]	Store custom available field
2023-10-13	13:09:46	2654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862146,3,'0',1)
2023-10-13	13:09:46	2654	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:46	2654	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:46	2654	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862146 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:46	2654	[DEBUG]	Store custom available field
2023-10-13	13:09:46	2654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862146,6,'choisir la taille',3)
2023-10-13	13:09:46	2654	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:46	2654	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:46	2654	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:46	2654	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:46	2654	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862146 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:46	2654	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:46	2654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862146,8,1)
2023-10-13	13:09:46	2654	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:46	2654	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862146\":[1862146,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862146
2023-10-13	13:09:46	2654	[DEBUG]	Checking category
2023-10-13	13:09:46	2654	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:46	2654	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862146
2023-10-13	13:09:46	2654	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:46	2654	[DEBUG]	Executed store
2023-10-13	13:09:46	2654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862146','7353')
2023-10-13	13:09:46	2654	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:46	2654	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862146 AND `virtuemart_category_id` NOT IN (7353)
2023-10-13	13:09:46	2654	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:46	2654	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862146
2023-10-13	13:09:46	2655	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:46	2655	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:46	2655	[DEBUG]	Use field value for field taille
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:46	2655	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:46	2655	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:46	2655	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:46	2655	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:46	2655	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:46	2655	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:46	2655	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:46	2655	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:46	2655	[DEBUG]	Use field value for field published
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:46	2655	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field override
2023-10-13	13:09:46	2655	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:46	2655	[DEBUG]	Use field value for field slug
2023-10-13	13:09:46	2655	[DEBUG]	Process line 2655
2023-10-13	13:09:46	2655	[DEBUG]	Load a row
2023-10-13	13:09:46	2655	[DEBUG]	Processing item: 4524667194514
2023-10-13	13:09:46	2655	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:46	2655	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:46	2655	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7454_1'
2023-10-13	13:09:46	2655	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:46	2655	[DEBUG]	Processing product tax
2023-10-13	13:09:46	2655	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:46	2655	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:46	2655	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:46	2655	[DEBUG]	Query for Product
2023-10-13	13:09:46	2655	[DEBUG]	Executed store
2023-10-13	13:09:46	2655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862146','4524667194514','0','KG','M','','100','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:46	2655	[DEBUG]	No parent found
2023-10-13	13:09:46	2655	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862146 AND customfield_value = 'stockable'
2023-10-13	13:09:46	2655	[DEBUG]	Check product language entry
2023-10-13	13:09:46	2655	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862147
2023-10-13	13:09:46	2655	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:46	2655	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667194514' AND `virtuemart_product_id` != 1862147
2023-10-13	13:09:46	2655	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:46	2655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862147, '4524667194514')
2023-10-13	13:09:46	2655	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:46	2655	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-gaine-sis-sp41-4mm-x50m-noir-1-metre-noir-unitaire' AND `virtuemart_product_id` != 1862147
2023-10-13	13:09:46	2655	[DEBUG]	Query for ProductLang
2023-10-13	13:09:46	2655	[DEBUG]	Executed store
2023-10-13	13:09:46	2655	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Gaine SIS-SP41 4mm x50m noir 1 mètre / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-gaine-sis-sp41-4mm-x50m-noir-1-metre-noir-unitaire' WHERE `virtuemart_product_id` = '1862147'
2023-10-13	13:09:46	2655	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_31469_2.jpg
2023-10-13	13:09:46	2655	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:46	2655	[DEBUG]	Process image file
2023-10-13	13:09:46	2655	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:46	2655	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:46	2655	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/86_31469_2.jpg
2023-10-13	13:09:46	2655	[DEBUG]	Full name target: bcprisme/86_31469_2.jpg
2023-10-13	13:09:47	2655	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:47	2655	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/86_31469_2.jpg'
2023-10-13	13:09:47	2655	[DEBUG]	Query for Media
2023-10-13	13:09:47	2655	[DEBUG]	Executed store
2023-10-13	13:09:47	2655	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/86_31469_2.jpg',`file_url_thumb`='bcprisme/86_31469_2.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436973'
2023-10-13	13:09:47	2655	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:47	2655	[DEBUG]	Executed store
2023-10-13	13:09:47	2655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862147','436973','1')
2023-10-13	13:09:47	2655	[DEBUG]	Store product image relation
2023-10-13	13:09:47	2655	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:47	2655	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862147 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:47	2655	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:47	2655	[DEBUG]	Executed store
2023-10-13	13:09:47	2655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862147','0','2.32126276694522','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:47	2655	[DEBUG]	Checking manufacturer
2023-10-13	13:09:47	2655	[DEBUG]	Load a row
2023-10-13	13:09:47	2655	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:47	2655	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:47	2655	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:47	2655	[DEBUG]	Executed store
2023-10-13	13:09:47	2655	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:09:47	2655	[DEBUG]	Manufacturer exists
2023-10-13	13:09:47	2655	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:09:47	2655	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:47	2655	[DEBUG]	Executed store
2023-10-13	13:09:47	2655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862147','26')
2023-10-13	13:09:47	2655	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:47	2655	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:47	2655	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862147 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:47	2655	[DEBUG]	Store custom available field
2023-10-13	13:09:47	2655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862147,3,'',1)
2023-10-13	13:09:47	2655	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:47	2655	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:47	2655	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862147 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:47	2655	[DEBUG]	Store custom available field
2023-10-13	13:09:47	2655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862147,6,'Unitaire',3)
2023-10-13	13:09:47	2655	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:47	2655	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:47	2655	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862146
2023-10-13	13:09:47	2655	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:47	2655	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862146\":[1862146,8,1,\"choisir la taille\"],\"1862147\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862146
2023-10-13	13:09:47	2655	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:47	2655	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862147
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:47	2656	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field taille
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:47	2656	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:47	2656	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:47	2656	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:47	2656	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:47	2656	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:47	2656	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field published
2023-10-13	13:09:47	2656	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:47	2656	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field override
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:47	2656	[DEBUG]	Use field value for field slug
2023-10-13	13:09:47	2656	[DEBUG]	Process line 2656
2023-10-13	13:09:47	2656	[DEBUG]	Load a row
2023-10-13	13:09:47	2656	[DEBUG]	Processing item: A_2749_1
2023-10-13	13:09:47	2656	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:47	2656	[DEBUG]	Processing product tax
2023-10-13	13:09:47	2656	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:47	2656	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:47	2656	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:47	2656	[DEBUG]	Query for Product
2023-10-13	13:09:47	2656	[DEBUG]	Executed store
2023-10-13	13:09:47	2656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2749_1','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:47	2656	[DEBUG]	Check product language entry
2023-10-13	13:09:47	2656	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862148
2023-10-13	13:09:47	2656	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:47	2656	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2749_1' AND `virtuemart_product_id` != 1862148
2023-10-13	13:09:47	2656	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:47	2656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862148, 'A_2749_1')
2023-10-13	13:09:47	2656	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:47	2656	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-gardeboue-avant-msc-noir' AND `virtuemart_product_id` != 1862148
2023-10-13	13:09:47	2656	[DEBUG]	Query for ProductLang
2023-10-13	13:09:47	2656	[DEBUG]	Executed store
2023-10-13	13:09:47	2656	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Gardeboue avant MSC<br>N° art fourn : 2GMSC2F',`product_name`='MLV-Bike Gardeboue avant MSC / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-gardeboue-avant-msc-noir' WHERE `virtuemart_product_id` = '1862148'
2023-10-13	13:09:47	2656	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11437.jpg
2023-10-13	13:09:47	2656	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:47	2656	[DEBUG]	Process image file
2023-10-13	13:09:47	2656	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:47	2656	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:47	2656	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11437.jpg
2023-10-13	13:09:47	2656	[DEBUG]	Full name target: bcprisme/image_11437.jpg
2023-10-13	13:09:48	2656	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:48	2656	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11437.jpg'
2023-10-13	13:09:48	2656	[DEBUG]	Query for Media
2023-10-13	13:09:48	2656	[DEBUG]	Executed store
2023-10-13	13:09:48	2656	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11437.jpg',`file_url_thumb`='bcprisme/image_11437.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436975'
2023-10-13	13:09:48	2656	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:48	2656	[DEBUG]	Executed store
2023-10-13	13:09:48	2656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862148','436975','1')
2023-10-13	13:09:48	2656	[DEBUG]	Store product image relation
2023-10-13	13:09:48	2656	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:48	2656	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862148 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:48	2656	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:48	2656	[DEBUG]	Executed store
2023-10-13	13:09:48	2656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862148','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:48	2656	[DEBUG]	Checking manufacturer
2023-10-13	13:09:48	2656	[DEBUG]	Load a row
2023-10-13	13:09:48	2656	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:48	2656	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:48	2656	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:48	2656	[DEBUG]	Executed store
2023-10-13	13:09:48	2656	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:48	2656	[DEBUG]	Manufacturer exists
2023-10-13	13:09:48	2656	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:09:48	2656	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:48	2656	[DEBUG]	Executed store
2023-10-13	13:09:48	2656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862148','2')
2023-10-13	13:09:48	2656	[DEBUG]	Find the custom field ID
2023-10-13	13:09:48	2656	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:48	2656	[DEBUG]	No custom field ID found
2023-10-13	13:09:48	2656	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:48	2656	[DEBUG]	Get existing row with customfield value 10.8697222222222
2023-10-13	13:09:48	2656	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862148 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:48	2656	[DEBUG]	Store custom available field
2023-10-13	13:09:48	2656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862148,3,'10.8697222222222',1)
2023-10-13	13:09:48	2656	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:48	2656	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:48	2656	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862148 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:48	2656	[DEBUG]	Store custom available field
2023-10-13	13:09:48	2656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862148,6,'choisir la taille',3)
2023-10-13	13:09:48	2656	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:48	2656	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:48	2656	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:48	2656	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:48	2656	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862148 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:48	2656	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:48	2656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862148,8,1)
2023-10-13	13:09:48	2656	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:48	2656	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862148\":[1862148,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862148
2023-10-13	13:09:48	2656	[DEBUG]	Checking category
2023-10-13	13:09:48	2656	[DEBUG]	Check if category path exists: GARDE-BOUES - RADSCHUTZBLECHE
2023-10-13	13:09:48	2656	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GARDE-BOUES - RADSCHUTZBLECHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:09:48	2656	[DEBUG]	Check if category path exists: GARDE-BOUES - RADSCHUTZBLECHE
2023-10-13	13:09:48	2656	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GARDE-BOUES - RADSCHUTZBLECHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7354
2023-10-13	13:09:48	2656	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:48	2656	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862148
2023-10-13	13:09:48	2656	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:48	2656	[DEBUG]	Executed store
2023-10-13	13:09:48	2656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862148','7355')
2023-10-13	13:09:48	2656	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:48	2656	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862148 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:09:48	2656	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:48	2656	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862148
2023-10-13	13:09:48	2657	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:48	2657	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:48	2657	[DEBUG]	Use field value for field taille
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:48	2657	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:48	2657	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:48	2657	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:48	2657	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:48	2657	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:48	2657	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:48	2657	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:48	2657	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:48	2657	[DEBUG]	Use field value for field published
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:48	2657	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field override
2023-10-13	13:09:48	2657	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:48	2657	[DEBUG]	Use field value for field slug
2023-10-13	13:09:48	2657	[DEBUG]	Process line 2657
2023-10-13	13:09:48	2657	[DEBUG]	Load a row
2023-10-13	13:09:48	2657	[DEBUG]	Processing item: 8436550197051
2023-10-13	13:09:48	2657	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:48	2657	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:48	2657	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2749_1'
2023-10-13	13:09:48	2657	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:48	2657	[DEBUG]	Processing product tax
2023-10-13	13:09:48	2657	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:48	2657	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:48	2657	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:48	2657	[DEBUG]	Query for Product
2023-10-13	13:09:48	2657	[DEBUG]	Executed store
2023-10-13	13:09:48	2657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862148','8436550197051','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:48	2657	[DEBUG]	No parent found
2023-10-13	13:09:48	2657	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862148 AND customfield_value = 'stockable'
2023-10-13	13:09:48	2657	[DEBUG]	Check product language entry
2023-10-13	13:09:48	2657	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862149
2023-10-13	13:09:48	2657	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:48	2657	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550197051' AND `virtuemart_product_id` != 1862149
2023-10-13	13:09:48	2657	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:48	2657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862149, '8436550197051')
2023-10-13	13:09:48	2657	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:48	2657	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-gardeboue-avant-msc-noir-unitaire' AND `virtuemart_product_id` != 1862149
2023-10-13	13:09:48	2657	[DEBUG]	Query for ProductLang
2023-10-13	13:09:48	2657	[DEBUG]	Executed store
2023-10-13	13:09:48	2657	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Gardeboue avant MSC / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-gardeboue-avant-msc-noir-unitaire' WHERE `virtuemart_product_id` = '1862149'
2023-10-13	13:09:48	2657	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11437.jpg
2023-10-13	13:09:48	2657	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:48	2657	[DEBUG]	Process image file
2023-10-13	13:09:48	2657	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:48	2657	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:48	2657	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11437.jpg
2023-10-13	13:09:48	2657	[DEBUG]	Full name target: bcprisme/image_11437.jpg
2023-10-13	13:09:49	2657	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:49	2657	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11437.jpg'
2023-10-13	13:09:49	2657	[DEBUG]	Query for Media
2023-10-13	13:09:49	2657	[DEBUG]	Executed store
2023-10-13	13:09:49	2657	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11437.jpg',`file_url_thumb`='bcprisme/image_11437.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '436975'
2023-10-13	13:09:49	2657	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:49	2657	[DEBUG]	Executed store
2023-10-13	13:09:49	2657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862149','436975','1')
2023-10-13	13:09:49	2657	[DEBUG]	Store product image relation
2023-10-13	13:09:49	2657	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:49	2657	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862149 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:49	2657	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:49	2657	[DEBUG]	Executed store
2023-10-13	13:09:49	2657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862149','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:49	2657	[DEBUG]	Checking manufacturer
2023-10-13	13:09:49	2657	[DEBUG]	Load a row
2023-10-13	13:09:49	2657	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:49	2657	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:49	2657	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:49	2657	[DEBUG]	Executed store
2023-10-13	13:09:49	2657	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:49	2657	[DEBUG]	Manufacturer exists
2023-10-13	13:09:49	2657	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:09:49	2657	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:49	2657	[DEBUG]	Executed store
2023-10-13	13:09:49	2657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862149','2')
2023-10-13	13:09:49	2657	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:49	2657	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:49	2657	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862149 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:49	2657	[DEBUG]	Store custom available field
2023-10-13	13:09:49	2657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862149,3,'',1)
2023-10-13	13:09:49	2657	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:49	2657	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:49	2657	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862149 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:49	2657	[DEBUG]	Store custom available field
2023-10-13	13:09:49	2657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862149,6,'Unitaire',3)
2023-10-13	13:09:49	2657	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:49	2657	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:49	2657	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862148
2023-10-13	13:09:49	2657	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:49	2657	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862148\":[1862148,8,1,\"choisir la taille\"],\"1862149\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862148
2023-10-13	13:09:49	2657	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:49	2657	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862149
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:49	2658	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field taille
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:49	2658	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:49	2658	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:49	2658	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:49	2658	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:49	2658	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:49	2658	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field published
2023-10-13	13:09:49	2658	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:49	2658	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field override
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:49	2658	[DEBUG]	Use field value for field slug
2023-10-13	13:09:49	2658	[DEBUG]	Process line 2658
2023-10-13	13:09:49	2658	[DEBUG]	Load a row
2023-10-13	13:09:49	2658	[DEBUG]	Processing item: A_2750_1
2023-10-13	13:09:49	2658	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:49	2658	[DEBUG]	Processing product tax
2023-10-13	13:09:49	2658	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:49	2658	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:49	2658	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:49	2658	[DEBUG]	Query for Product
2023-10-13	13:09:49	2658	[DEBUG]	Executed store
2023-10-13	13:09:49	2658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2750_1','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:49	2658	[DEBUG]	Check product language entry
2023-10-13	13:09:49	2658	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862150
2023-10-13	13:09:49	2658	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:49	2658	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2750_1' AND `virtuemart_product_id` != 1862150
2023-10-13	13:09:49	2658	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:49	2658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862150, 'A_2750_1')
2023-10-13	13:09:49	2658	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:49	2658	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-gardeboue-arriere-msc-noir' AND `virtuemart_product_id` != 1862150
2023-10-13	13:09:49	2658	[DEBUG]	Query for ProductLang
2023-10-13	13:09:49	2658	[DEBUG]	Executed store
2023-10-13	13:09:49	2658	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Gardeboue arrière MSC<br>N° art fourn : 2GMSC2R',`product_name`='MLV-Bike Gardeboue arrière MSC / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-gardeboue-arriere-msc-noir' WHERE `virtuemart_product_id` = '1862150'
2023-10-13	13:09:49	2658	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11438.jpg
2023-10-13	13:09:49	2658	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:49	2658	[DEBUG]	Process image file
2023-10-13	13:09:49	2658	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:49	2658	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:49	2658	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11438.jpg
2023-10-13	13:09:49	2658	[DEBUG]	Full name target: bcprisme/image_11438.jpg
2023-10-13	13:09:50	2658	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:50	2658	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11438.jpg'
2023-10-13	13:09:50	2658	[DEBUG]	Query for Media
2023-10-13	13:09:50	2658	[DEBUG]	Executed store
2023-10-13	13:09:50	2658	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11438.jpg',`file_url_thumb`='bcprisme/image_11438.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12904'
2023-10-13	13:09:50	2658	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:50	2658	[DEBUG]	Executed store
2023-10-13	13:09:50	2658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862150','12904','1')
2023-10-13	13:09:50	2658	[DEBUG]	Store product image relation
2023-10-13	13:09:50	2658	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:50	2658	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862150 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:50	2658	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:50	2658	[DEBUG]	Executed store
2023-10-13	13:09:50	2658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862150','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:50	2658	[DEBUG]	Checking manufacturer
2023-10-13	13:09:50	2658	[DEBUG]	Load a row
2023-10-13	13:09:50	2658	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:50	2658	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:50	2658	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:50	2658	[DEBUG]	Executed store
2023-10-13	13:09:50	2658	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:50	2658	[DEBUG]	Manufacturer exists
2023-10-13	13:09:50	2658	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:09:50	2658	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:50	2658	[DEBUG]	Executed store
2023-10-13	13:09:50	2658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862150','2')
2023-10-13	13:09:50	2658	[DEBUG]	Find the custom field ID
2023-10-13	13:09:50	2658	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:50	2658	[DEBUG]	No custom field ID found
2023-10-13	13:09:50	2658	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:50	2658	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	13:09:50	2658	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862150 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:50	2658	[DEBUG]	Store custom available field
2023-10-13	13:09:50	2658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862150,3,'9.8725',1)
2023-10-13	13:09:50	2658	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:50	2658	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:50	2658	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862150 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:50	2658	[DEBUG]	Store custom available field
2023-10-13	13:09:50	2658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862150,6,'choisir la taille',3)
2023-10-13	13:09:50	2658	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:50	2658	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:50	2658	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:50	2658	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:50	2658	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862150 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:50	2658	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:50	2658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862150,8,1)
2023-10-13	13:09:50	2658	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:50	2658	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862150\":[1862150,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862150
2023-10-13	13:09:50	2658	[DEBUG]	Checking category
2023-10-13	13:09:50	2658	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:50	2658	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862150
2023-10-13	13:09:50	2658	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:50	2658	[DEBUG]	Executed store
2023-10-13	13:09:50	2658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862150','7355')
2023-10-13	13:09:50	2658	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:50	2658	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862150 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:09:50	2658	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:50	2658	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862150
2023-10-13	13:09:50	2659	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:50	2659	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:50	2659	[DEBUG]	Use field value for field taille
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:50	2659	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:50	2659	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:50	2659	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:50	2659	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:50	2659	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:50	2659	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:50	2659	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:50	2659	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:50	2659	[DEBUG]	Use field value for field published
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:50	2659	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field override
2023-10-13	13:09:50	2659	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:50	2659	[DEBUG]	Use field value for field slug
2023-10-13	13:09:50	2659	[DEBUG]	Process line 2659
2023-10-13	13:09:50	2659	[DEBUG]	Load a row
2023-10-13	13:09:50	2659	[DEBUG]	Processing item: 8436550197068
2023-10-13	13:09:50	2659	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:50	2659	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:50	2659	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2750_1'
2023-10-13	13:09:50	2659	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:50	2659	[DEBUG]	Processing product tax
2023-10-13	13:09:50	2659	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:50	2659	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:50	2659	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:50	2659	[DEBUG]	Query for Product
2023-10-13	13:09:50	2659	[DEBUG]	Executed store
2023-10-13	13:09:50	2659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862150','8436550197068','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:50	2659	[DEBUG]	No parent found
2023-10-13	13:09:50	2659	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862150 AND customfield_value = 'stockable'
2023-10-13	13:09:50	2659	[DEBUG]	Check product language entry
2023-10-13	13:09:50	2659	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862151
2023-10-13	13:09:50	2659	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:50	2659	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550197068' AND `virtuemart_product_id` != 1862151
2023-10-13	13:09:50	2659	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:50	2659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862151, '8436550197068')
2023-10-13	13:09:50	2659	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:50	2659	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-gardeboue-arriere-msc-noir-unitaire' AND `virtuemart_product_id` != 1862151
2023-10-13	13:09:50	2659	[DEBUG]	Query for ProductLang
2023-10-13	13:09:50	2659	[DEBUG]	Executed store
2023-10-13	13:09:50	2659	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Gardeboue arrière MSC / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-gardeboue-arriere-msc-noir-unitaire' WHERE `virtuemart_product_id` = '1862151'
2023-10-13	13:09:50	2659	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11438.jpg
2023-10-13	13:09:50	2659	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:50	2659	[DEBUG]	Process image file
2023-10-13	13:09:50	2659	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:50	2659	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:50	2659	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11438.jpg
2023-10-13	13:09:50	2659	[DEBUG]	Full name target: bcprisme/image_11438.jpg
2023-10-13	13:09:51	2659	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:51	2659	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11438.jpg'
2023-10-13	13:09:51	2659	[DEBUG]	Query for Media
2023-10-13	13:09:51	2659	[DEBUG]	Executed store
2023-10-13	13:09:51	2659	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11438.jpg',`file_url_thumb`='bcprisme/image_11438.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12904'
2023-10-13	13:09:51	2659	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:51	2659	[DEBUG]	Executed store
2023-10-13	13:09:51	2659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862151','12904','1')
2023-10-13	13:09:51	2659	[DEBUG]	Store product image relation
2023-10-13	13:09:51	2659	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:51	2659	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862151 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:51	2659	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:51	2659	[DEBUG]	Executed store
2023-10-13	13:09:51	2659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862151','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:51	2659	[DEBUG]	Checking manufacturer
2023-10-13	13:09:51	2659	[DEBUG]	Load a row
2023-10-13	13:09:51	2659	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:51	2659	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:51	2659	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:51	2659	[DEBUG]	Executed store
2023-10-13	13:09:51	2659	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:51	2659	[DEBUG]	Manufacturer exists
2023-10-13	13:09:51	2659	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:09:51	2659	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:51	2659	[DEBUG]	Executed store
2023-10-13	13:09:51	2659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862151','2')
2023-10-13	13:09:51	2659	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:51	2659	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:51	2659	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862151 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:51	2659	[DEBUG]	Store custom available field
2023-10-13	13:09:51	2659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862151,3,'',1)
2023-10-13	13:09:51	2659	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:51	2659	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:51	2659	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862151 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:51	2659	[DEBUG]	Store custom available field
2023-10-13	13:09:51	2659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862151,6,'Unitaire',3)
2023-10-13	13:09:51	2659	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:51	2659	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:51	2659	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862150
2023-10-13	13:09:51	2659	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:51	2659	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862150\":[1862150,8,1,\"choisir la taille\"],\"1862151\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862150
2023-10-13	13:09:51	2659	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:51	2659	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862151
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:51	2660	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field taille
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:51	2660	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:51	2660	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:51	2660	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:51	2660	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:51	2660	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:51	2660	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field published
2023-10-13	13:09:51	2660	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:51	2660	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field override
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:51	2660	[DEBUG]	Use field value for field slug
2023-10-13	13:09:51	2660	[DEBUG]	Process line 2660
2023-10-13	13:09:51	2660	[DEBUG]	Load a row
2023-10-13	13:09:51	2660	[DEBUG]	Processing item: A_3119_1
2023-10-13	13:09:51	2660	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:51	2660	[DEBUG]	Processing product tax
2023-10-13	13:09:51	2660	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:51	2660	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:51	2660	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:51	2660	[DEBUG]	Query for Product
2023-10-13	13:09:51	2660	[DEBUG]	Executed store
2023-10-13	13:09:51	2660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3119_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:51	2660	[DEBUG]	Check product language entry
2023-10-13	13:09:51	2660	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862152
2023-10-13	13:09:51	2660	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:51	2660	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3119_1' AND `virtuemart_product_id` != 1862152
2023-10-13	13:09:51	2660	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:51	2660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862152, 'A_3119_1')
2023-10-13	13:09:51	2660	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:51	2660	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-gardeboue-avant---fat-line-noir' AND `virtuemart_product_id` != 1862152
2023-10-13	13:09:51	2660	[DEBUG]	Query for ProductLang
2023-10-13	13:09:51	2660	[DEBUG]	Executed store
2023-10-13	13:09:51	2660	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Gardeboue avant - Fat line<br>N° art fourn : RT901290',`product_name`='MLV-Bike Gardeboue avant - Fat line / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-gardeboue-avant---fat-line-noir' WHERE `virtuemart_product_id` = '1862152'
2023-10-13	13:09:51	2660	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14551.jpg has not been found.
2023-10-13	13:09:51	2660	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:51	2660	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862152 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:51	2660	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:51	2660	[DEBUG]	Executed store
2023-10-13	13:09:51	2660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862152','0','21.2163416898793','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:51	2660	[DEBUG]	Checking manufacturer
2023-10-13	13:09:51	2660	[DEBUG]	Load a row
2023-10-13	13:09:51	2660	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:51	2660	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:51	2660	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:51	2660	[DEBUG]	Executed store
2023-10-13	13:09:51	2660	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:51	2660	[DEBUG]	Manufacturer exists
2023-10-13	13:09:51	2660	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:09:51	2660	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:51	2660	[DEBUG]	Executed store
2023-10-13	13:09:51	2660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862152','2')
2023-10-13	13:09:52	2660	[DEBUG]	Find the custom field ID
2023-10-13	13:09:52	2660	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:52	2660	[DEBUG]	No custom field ID found
2023-10-13	13:09:52	2660	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:52	2660	[DEBUG]	Get existing row with customfield value 22.8363888888889
2023-10-13	13:09:52	2660	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862152 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:52	2660	[DEBUG]	Store custom available field
2023-10-13	13:09:52	2660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862152,3,'22.8363888888889',1)
2023-10-13	13:09:52	2660	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:52	2660	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:52	2660	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862152 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:52	2660	[DEBUG]	Store custom available field
2023-10-13	13:09:52	2660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862152,6,'choisir la taille',3)
2023-10-13	13:09:52	2660	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:52	2660	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:52	2660	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:52	2660	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:52	2660	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862152 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:52	2660	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:52	2660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862152,8,1)
2023-10-13	13:09:52	2660	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:52	2660	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862152\":[1862152,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862152
2023-10-13	13:09:52	2660	[DEBUG]	Checking category
2023-10-13	13:09:52	2660	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:52	2660	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862152
2023-10-13	13:09:52	2660	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:52	2660	[DEBUG]	Executed store
2023-10-13	13:09:52	2660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862152','7355')
2023-10-13	13:09:52	2660	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:52	2660	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862152 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:09:52	2660	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:52	2660	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862152
2023-10-13	13:09:52	2661	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:52	2661	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:52	2661	[DEBUG]	Use field value for field taille
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:52	2661	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:52	2661	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:52	2661	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:52	2661	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:52	2661	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:52	2661	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:52	2661	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:52	2661	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:52	2661	[DEBUG]	Use field value for field published
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:52	2661	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field override
2023-10-13	13:09:52	2661	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:52	2661	[DEBUG]	Use field value for field slug
2023-10-13	13:09:52	2661	[DEBUG]	Process line 2661
2023-10-13	13:09:52	2661	[DEBUG]	Load a row
2023-10-13	13:09:52	2661	[DEBUG]	Processing item: 1000000051124
2023-10-13	13:09:52	2661	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:52	2661	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:52	2661	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3119_1'
2023-10-13	13:09:52	2661	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:52	2661	[DEBUG]	Processing product tax
2023-10-13	13:09:52	2661	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:52	2661	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:52	2661	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:52	2661	[DEBUG]	Query for Product
2023-10-13	13:09:52	2661	[DEBUG]	Executed store
2023-10-13	13:09:52	2661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862152','1000000051124','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:52	2661	[DEBUG]	No parent found
2023-10-13	13:09:52	2661	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862152 AND customfield_value = 'stockable'
2023-10-13	13:09:52	2661	[DEBUG]	Check product language entry
2023-10-13	13:09:52	2661	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862153
2023-10-13	13:09:52	2661	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:52	2661	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000051124' AND `virtuemart_product_id` != 1862153
2023-10-13	13:09:52	2661	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:52	2661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862153, '1000000051124')
2023-10-13	13:09:52	2661	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:52	2661	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-gardeboue-avant---fat-line-noir-unitaire' AND `virtuemart_product_id` != 1862153
2023-10-13	13:09:52	2661	[DEBUG]	Query for ProductLang
2023-10-13	13:09:52	2661	[DEBUG]	Executed store
2023-10-13	13:09:52	2661	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Gardeboue avant - Fat line / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-gardeboue-avant---fat-line-noir-unitaire' WHERE `virtuemart_product_id` = '1862153'
2023-10-13	13:09:52	2661	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14551.jpg has not been found.
2023-10-13	13:09:52	2661	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:52	2661	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862153 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:52	2661	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:52	2661	[DEBUG]	Executed store
2023-10-13	13:09:52	2661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862153','0','21.2163416898793','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:52	2661	[DEBUG]	Checking manufacturer
2023-10-13	13:09:52	2661	[DEBUG]	Load a row
2023-10-13	13:09:52	2661	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:52	2661	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:52	2661	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:52	2661	[DEBUG]	Executed store
2023-10-13	13:09:52	2661	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:09:52	2661	[DEBUG]	Manufacturer exists
2023-10-13	13:09:52	2661	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:09:52	2661	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:52	2661	[DEBUG]	Executed store
2023-10-13	13:09:52	2661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862153','2')
2023-10-13	13:09:52	2661	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:52	2661	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:52	2661	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862153 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:52	2661	[DEBUG]	Store custom available field
2023-10-13	13:09:52	2661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862153,3,'',1)
2023-10-13	13:09:52	2661	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:52	2661	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:52	2661	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862153 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:52	2661	[DEBUG]	Store custom available field
2023-10-13	13:09:52	2661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862153,6,'Unitaire',3)
2023-10-13	13:09:52	2661	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:52	2661	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:52	2661	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862152
2023-10-13	13:09:52	2661	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:52	2661	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862152\":[1862152,8,1,\"choisir la taille\"],\"1862153\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862152
2023-10-13	13:09:52	2661	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:52	2661	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862153
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:52	2662	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field taille
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:52	2662	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:52	2662	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:52	2662	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:52	2662	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:52	2662	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:52	2662	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field published
2023-10-13	13:09:52	2662	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:52	2662	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field override
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:52	2662	[DEBUG]	Use field value for field slug
2023-10-13	13:09:52	2662	[DEBUG]	Process line 2662
2023-10-13	13:09:52	2662	[DEBUG]	Load a row
2023-10-13	13:09:52	2662	[DEBUG]	Processing item: A_5047_208
2023-10-13	13:09:52	2662	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:52	2662	[DEBUG]	Processing product tax
2023-10-13	13:09:52	2662	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:52	2662	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:52	2662	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:52	2662	[DEBUG]	Query for Product
2023-10-13	13:09:52	2662	[DEBUG]	Executed store
2023-10-13	13:09:52	2662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5047_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:52	2662	[DEBUG]	Check product language entry
2023-10-13	13:09:52	2662	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862154
2023-10-13	13:09:52	2662	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:52	2662	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5047_208' AND `virtuemart_product_id` != 1862154
2023-10-13	13:09:52	2662	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:52	2662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862154, 'A_5047_208')
2023-10-13	13:09:52	2662	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:52	2662	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-garde-boues-sks-schockblade-dark-26-27-5-aucune' AND `virtuemart_product_id` != 1862154
2023-10-13	13:09:52	2662	[DEBUG]	Query for ProductLang
2023-10-13	13:09:52	2662	[DEBUG]	Executed store
2023-10-13	13:09:52	2662	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='SKS Garde-boue av. amovible Shockblade noir<br>De haute qualité à 2 composants dirtboard pour montage sur VTT et trekking<br>Le cône de serrage disparaît pratiquement, invisible dans le tube de direction<br>Divers cônes sont livrés de 15 à 35 mm<br>N° art fourn : 16.56464',`product_name`='SKS Garde-boues SKS Schockblade Dark 26&27.5 / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-garde-boues-sks-schockblade-dark-26-27-5-aucune' WHERE `virtuemart_product_id` = '1862154'
2023-10-13	13:09:52	2662	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29501_sks_garde-boue_av__amovible_shockblade_26__&_27_5__noir.jpg
2023-10-13	13:09:52	2662	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:52	2662	[DEBUG]	Process image file
2023-10-13	13:09:52	2662	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:52	2662	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:52	2662	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29501_sks_garde-boue_av__amovible_shockblade_26__&_27_5__noir.jpg
2023-10-13	13:09:52	2662	[DEBUG]	Full name target: bcprisme/29501_sks_garde-boue_av__amovible_shockblade_26__&_27_5__noir.jpg
2023-10-13	13:09:53	2662	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:53	2662	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29501_sks_garde-boue_av__amovible_shockblade_26__&_27_5__noir.jpg'
2023-10-13	13:09:53	2662	[DEBUG]	Query for Media
2023-10-13	13:09:53	2662	[DEBUG]	Executed store
2023-10-13	13:09:53	2662	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29501_sks_garde-boue_av__amovible_shockblade_26__&_27_5__noir.jpg',`file_url_thumb`='bcprisme/29501_sks_garde-boue_av__amovible_shockblade_26__&_27_5__noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12905'
2023-10-13	13:09:53	2662	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:53	2662	[DEBUG]	Executed store
2023-10-13	13:09:53	2662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862154','12905','1')
2023-10-13	13:09:53	2662	[DEBUG]	Store product image relation
2023-10-13	13:09:53	2662	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:53	2662	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862154 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:53	2662	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:53	2662	[DEBUG]	Executed store
2023-10-13	13:09:53	2662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862154','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:53	2662	[DEBUG]	Checking manufacturer
2023-10-13	13:09:53	2662	[DEBUG]	Load a row
2023-10-13	13:09:53	2662	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:53	2662	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:09:53	2662	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:53	2662	[DEBUG]	Executed store
2023-10-13	13:09:53	2662	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:09:53	2662	[DEBUG]	Manufacturer exists
2023-10-13	13:09:53	2662	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:09:53	2662	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:53	2662	[DEBUG]	Executed store
2023-10-13	13:09:53	2662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862154','8')
2023-10-13	13:09:53	2662	[DEBUG]	Find the custom field ID
2023-10-13	13:09:53	2662	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:53	2662	[DEBUG]	No custom field ID found
2023-10-13	13:09:53	2662	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:53	2662	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:53	2662	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862154 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:53	2662	[DEBUG]	Store custom available field
2023-10-13	13:09:53	2662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862154,3,'0',1)
2023-10-13	13:09:53	2662	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:53	2662	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:53	2662	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862154 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:53	2662	[DEBUG]	Store custom available field
2023-10-13	13:09:53	2662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862154,6,'choisir la taille',3)
2023-10-13	13:09:53	2662	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:53	2662	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:53	2662	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:53	2662	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:53	2662	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862154 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:53	2662	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:53	2662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862154,8,1)
2023-10-13	13:09:53	2662	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:53	2662	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862154\":[1862154,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862154
2023-10-13	13:09:53	2662	[DEBUG]	Checking category
2023-10-13	13:09:53	2662	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:53	2662	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862154
2023-10-13	13:09:53	2662	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:53	2662	[DEBUG]	Executed store
2023-10-13	13:09:53	2662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862154','7355')
2023-10-13	13:09:53	2662	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:53	2662	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862154 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:09:53	2662	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:53	2662	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862154
2023-10-13	13:09:53	2663	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:53	2663	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:53	2663	[DEBUG]	Use field value for field taille
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:53	2663	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:53	2663	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:53	2663	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:53	2663	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:53	2663	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:53	2663	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:53	2663	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:53	2663	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:53	2663	[DEBUG]	Use field value for field published
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:53	2663	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field override
2023-10-13	13:09:53	2663	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:53	2663	[DEBUG]	Use field value for field slug
2023-10-13	13:09:53	2663	[DEBUG]	Process line 2663
2023-10-13	13:09:53	2663	[DEBUG]	Load a row
2023-10-13	13:09:53	2663	[DEBUG]	Processing item: 4002556812393
2023-10-13	13:09:53	2663	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:53	2663	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:53	2663	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5047_208'
2023-10-13	13:09:53	2663	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:53	2663	[DEBUG]	Processing product tax
2023-10-13	13:09:53	2663	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:53	2663	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:53	2663	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:53	2663	[DEBUG]	Query for Product
2023-10-13	13:09:53	2663	[DEBUG]	Executed store
2023-10-13	13:09:53	2663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862154','4002556812393','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:53	2663	[DEBUG]	No parent found
2023-10-13	13:09:53	2663	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862154 AND customfield_value = 'stockable'
2023-10-13	13:09:53	2663	[DEBUG]	Check product language entry
2023-10-13	13:09:53	2663	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862155
2023-10-13	13:09:53	2663	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:53	2663	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556812393' AND `virtuemart_product_id` != 1862155
2023-10-13	13:09:53	2663	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:53	2663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862155, '4002556812393')
2023-10-13	13:09:53	2663	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:53	2663	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-garde-boues-sks-schockblade-dark-26-27-5-aucune-all' AND `virtuemart_product_id` != 1862155
2023-10-13	13:09:53	2663	[DEBUG]	Query for ProductLang
2023-10-13	13:09:53	2663	[DEBUG]	Executed store
2023-10-13	13:09:53	2663	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS Garde-boues SKS Schockblade Dark 26&27.5 / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-garde-boues-sks-schockblade-dark-26-27-5-aucune-all' WHERE `virtuemart_product_id` = '1862155'
2023-10-13	13:09:53	2663	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29501_sks_garde-boue_av__amovible_shockblade_26__&_27_5__noir.jpg
2023-10-13	13:09:53	2663	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:53	2663	[DEBUG]	Process image file
2023-10-13	13:09:53	2663	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:53	2663	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:53	2663	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29501_sks_garde-boue_av__amovible_shockblade_26__&_27_5__noir.jpg
2023-10-13	13:09:53	2663	[DEBUG]	Full name target: bcprisme/29501_sks_garde-boue_av__amovible_shockblade_26__&_27_5__noir.jpg
2023-10-13	13:09:54	2663	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:54	2663	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29501_sks_garde-boue_av__amovible_shockblade_26__&_27_5__noir.jpg'
2023-10-13	13:09:54	2663	[DEBUG]	Query for Media
2023-10-13	13:09:54	2663	[DEBUG]	Executed store
2023-10-13	13:09:54	2663	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29501_sks_garde-boue_av__amovible_shockblade_26__&_27_5__noir.jpg',`file_url_thumb`='bcprisme/29501_sks_garde-boue_av__amovible_shockblade_26__&_27_5__noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12905'
2023-10-13	13:09:54	2663	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:54	2663	[DEBUG]	Executed store
2023-10-13	13:09:54	2663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862155','12905','1')
2023-10-13	13:09:54	2663	[DEBUG]	Store product image relation
2023-10-13	13:09:54	2663	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:54	2663	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862155 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:54	2663	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:54	2663	[DEBUG]	Executed store
2023-10-13	13:09:54	2663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862155','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:54	2663	[DEBUG]	Checking manufacturer
2023-10-13	13:09:54	2663	[DEBUG]	Load a row
2023-10-13	13:09:54	2663	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:54	2663	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:09:54	2663	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:54	2663	[DEBUG]	Executed store
2023-10-13	13:09:54	2663	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:09:54	2663	[DEBUG]	Manufacturer exists
2023-10-13	13:09:54	2663	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:09:54	2663	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:54	2663	[DEBUG]	Executed store
2023-10-13	13:09:54	2663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862155','8')
2023-10-13	13:09:54	2663	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:54	2663	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:54	2663	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862155 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:54	2663	[DEBUG]	Store custom available field
2023-10-13	13:09:54	2663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862155,3,'',1)
2023-10-13	13:09:54	2663	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:54	2663	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:09:54	2663	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862155 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:54	2663	[DEBUG]	Store custom available field
2023-10-13	13:09:54	2663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862155,6,'All',3)
2023-10-13	13:09:54	2663	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:54	2663	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:54	2663	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862154
2023-10-13	13:09:54	2663	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:54	2663	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862154\":[1862154,8,1,\"choisir la taille\"],\"1862155\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862154
2023-10-13	13:09:54	2663	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:54	2663	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862155
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:54	2664	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field taille
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:54	2664	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:54	2664	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:54	2664	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:54	2664	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:54	2664	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:54	2664	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field published
2023-10-13	13:09:54	2664	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:54	2664	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field override
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:54	2664	[DEBUG]	Use field value for field slug
2023-10-13	13:09:54	2664	[DEBUG]	Process line 2664
2023-10-13	13:09:54	2664	[DEBUG]	Load a row
2023-10-13	13:09:54	2664	[DEBUG]	Processing item: A_5048_3
2023-10-13	13:09:54	2664	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:54	2664	[DEBUG]	Processing product tax
2023-10-13	13:09:54	2664	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:54	2664	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:54	2664	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:54	2664	[DEBUG]	Query for Product
2023-10-13	13:09:54	2664	[DEBUG]	Executed store
2023-10-13	13:09:54	2664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5048_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:54	2664	[DEBUG]	Check product language entry
2023-10-13	13:09:54	2664	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862156
2023-10-13	13:09:54	2664	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:54	2664	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5048_3' AND `virtuemart_product_id` != 1862156
2023-10-13	13:09:54	2664	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:54	2664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862156, 'A_5048_3')
2023-10-13	13:09:54	2664	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:54	2664	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-garde-boue-ar-amovible-x-blade-26-27-5-none' AND `virtuemart_product_id` != 1862156
2023-10-13	13:09:54	2664	[DEBUG]	Query for ProductLang
2023-10-13	13:09:54	2664	[DEBUG]	Executed store
2023-10-13	13:09:54	2664	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='SKS Garde-boue ar. amovible X-Blade noir<br>La haute qualité des 2 composants dirtboard pour l\'arrière du VTT et du trekking<br>La fermeture rapide permet au dirtboard d\'être attaché à presque n\'importe quelle tige de selle<br>Grâce la technologie 2-pièces, le X-Blade peut être adapté de manière optimale à la roue<br>N° art fourn : 16.56462',`product_name`='SKS SKS Garde-boue ar. amovible X-Blade 26+27.5 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-garde-boue-ar-amovible-x-blade-26-27-5-none' WHERE `virtuemart_product_id` = '1862156'
2023-10-13	13:09:54	2664	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29502_sks_garde-boue_ar__amovible_x-blade_26_+27_5_.jpg
2023-10-13	13:09:54	2664	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:54	2664	[DEBUG]	Process image file
2023-10-13	13:09:54	2664	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:54	2664	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:54	2664	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29502_sks_garde-boue_ar__amovible_x-blade_26_+27_5_.jpg
2023-10-13	13:09:54	2664	[DEBUG]	Full name target: bcprisme/29502_sks_garde-boue_ar__amovible_x-blade_26_+27_5_.jpg
2023-10-13	13:09:55	2664	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:55	2664	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29502_sks_garde-boue_ar__amovible_x-blade_26_+27_5_.jpg'
2023-10-13	13:09:55	2664	[DEBUG]	Query for Media
2023-10-13	13:09:55	2664	[DEBUG]	Executed store
2023-10-13	13:09:55	2664	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29502_sks_garde-boue_ar__amovible_x-blade_26_+27_5_.jpg',`file_url_thumb`='bcprisme/29502_sks_garde-boue_ar__amovible_x-blade_26_+27_5_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12906'
2023-10-13	13:09:55	2664	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:55	2664	[DEBUG]	Executed store
2023-10-13	13:09:55	2664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862156','12906','1')
2023-10-13	13:09:55	2664	[DEBUG]	Store product image relation
2023-10-13	13:09:55	2664	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:55	2664	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862156 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:55	2664	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:55	2664	[DEBUG]	Executed store
2023-10-13	13:09:55	2664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862156','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:55	2664	[DEBUG]	Checking manufacturer
2023-10-13	13:09:55	2664	[DEBUG]	Load a row
2023-10-13	13:09:55	2664	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:55	2664	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:09:55	2664	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:55	2664	[DEBUG]	Executed store
2023-10-13	13:09:55	2664	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331293601460' WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:09:55	2664	[DEBUG]	Manufacturer exists
2023-10-13	13:09:55	2664	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 81
2023-10-13	13:09:55	2664	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:55	2664	[DEBUG]	Executed store
2023-10-13	13:09:55	2664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862156','81')
2023-10-13	13:09:55	2664	[DEBUG]	Find the custom field ID
2023-10-13	13:09:55	2664	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:55	2664	[DEBUG]	No custom field ID found
2023-10-13	13:09:55	2664	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:55	2664	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:55	2664	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862156 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:55	2664	[DEBUG]	Store custom available field
2023-10-13	13:09:55	2664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862156,3,'0',1)
2023-10-13	13:09:55	2664	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:55	2664	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:55	2664	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862156 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:55	2664	[DEBUG]	Store custom available field
2023-10-13	13:09:55	2664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862156,6,'choisir la taille',3)
2023-10-13	13:09:55	2664	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:55	2664	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:55	2664	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:55	2664	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:55	2664	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862156 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:55	2664	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:55	2664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862156,8,1)
2023-10-13	13:09:55	2664	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:55	2664	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862156\":[1862156,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862156
2023-10-13	13:09:55	2664	[DEBUG]	Checking category
2023-10-13	13:09:55	2664	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:55	2664	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862156
2023-10-13	13:09:55	2664	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:55	2664	[DEBUG]	Executed store
2023-10-13	13:09:55	2664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862156','7355')
2023-10-13	13:09:55	2664	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:55	2664	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862156 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:09:55	2664	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:55	2664	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862156
2023-10-13	13:09:55	2665	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:55	2665	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:55	2665	[DEBUG]	Use field value for field taille
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:55	2665	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:55	2665	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:55	2665	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:55	2665	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:55	2665	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:55	2665	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:55	2665	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:55	2665	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:55	2665	[DEBUG]	Use field value for field published
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:55	2665	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field override
2023-10-13	13:09:55	2665	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:55	2665	[DEBUG]	Use field value for field slug
2023-10-13	13:09:55	2665	[DEBUG]	Process line 2665
2023-10-13	13:09:55	2665	[DEBUG]	Load a row
2023-10-13	13:09:55	2665	[DEBUG]	Processing item: 4002556812416
2023-10-13	13:09:55	2665	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:55	2665	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:55	2665	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5048_3'
2023-10-13	13:09:55	2665	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:55	2665	[DEBUG]	Processing product tax
2023-10-13	13:09:55	2665	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:55	2665	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:55	2665	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:55	2665	[DEBUG]	Query for Product
2023-10-13	13:09:55	2665	[DEBUG]	Executed store
2023-10-13	13:09:55	2665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862156','4002556812416','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:55	2665	[DEBUG]	No parent found
2023-10-13	13:09:55	2665	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862156 AND customfield_value = 'stockable'
2023-10-13	13:09:55	2665	[DEBUG]	Check product language entry
2023-10-13	13:09:55	2665	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862157
2023-10-13	13:09:55	2665	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:55	2665	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556812416' AND `virtuemart_product_id` != 1862157
2023-10-13	13:09:55	2665	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:55	2665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862157, '4002556812416')
2023-10-13	13:09:55	2665	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:55	2665	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-garde-boue-ar-amovible-x-blade-26-27-5-none-unitaire' AND `virtuemart_product_id` != 1862157
2023-10-13	13:09:55	2665	[DEBUG]	Query for ProductLang
2023-10-13	13:09:55	2665	[DEBUG]	Executed store
2023-10-13	13:09:55	2665	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS SKS Garde-boue ar. amovible X-Blade 26+27.5 / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-garde-boue-ar-amovible-x-blade-26-27-5-none-unitaire' WHERE `virtuemart_product_id` = '1862157'
2023-10-13	13:09:55	2665	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29502_sks_garde-boue_ar__amovible_x-blade_26_+27_5_.jpg
2023-10-13	13:09:55	2665	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:55	2665	[DEBUG]	Process image file
2023-10-13	13:09:55	2665	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:55	2665	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:55	2665	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29502_sks_garde-boue_ar__amovible_x-blade_26_+27_5_.jpg
2023-10-13	13:09:55	2665	[DEBUG]	Full name target: bcprisme/29502_sks_garde-boue_ar__amovible_x-blade_26_+27_5_.jpg
2023-10-13	13:09:56	2665	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:56	2665	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29502_sks_garde-boue_ar__amovible_x-blade_26_+27_5_.jpg'
2023-10-13	13:09:56	2665	[DEBUG]	Query for Media
2023-10-13	13:09:56	2665	[DEBUG]	Executed store
2023-10-13	13:09:56	2665	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29502_sks_garde-boue_ar__amovible_x-blade_26_+27_5_.jpg',`file_url_thumb`='bcprisme/29502_sks_garde-boue_ar__amovible_x-blade_26_+27_5_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12906'
2023-10-13	13:09:56	2665	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:56	2665	[DEBUG]	Executed store
2023-10-13	13:09:56	2665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862157','12906','1')
2023-10-13	13:09:56	2665	[DEBUG]	Store product image relation
2023-10-13	13:09:56	2665	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:56	2665	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862157 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:56	2665	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:56	2665	[DEBUG]	Executed store
2023-10-13	13:09:56	2665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862157','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:56	2665	[DEBUG]	Checking manufacturer
2023-10-13	13:09:56	2665	[DEBUG]	Load a row
2023-10-13	13:09:56	2665	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:56	2665	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:09:56	2665	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:56	2665	[DEBUG]	Executed store
2023-10-13	13:09:56	2665	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331293601460' WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:09:56	2665	[DEBUG]	Manufacturer exists
2023-10-13	13:09:56	2665	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 81
2023-10-13	13:09:56	2665	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:56	2665	[DEBUG]	Executed store
2023-10-13	13:09:56	2665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862157','81')
2023-10-13	13:09:56	2665	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:56	2665	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:56	2665	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862157 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:56	2665	[DEBUG]	Store custom available field
2023-10-13	13:09:56	2665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862157,3,'',1)
2023-10-13	13:09:56	2665	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:56	2665	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:56	2665	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862157 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:56	2665	[DEBUG]	Store custom available field
2023-10-13	13:09:56	2665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862157,6,'Unitaire',3)
2023-10-13	13:09:56	2665	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:56	2665	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:56	2665	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862156
2023-10-13	13:09:56	2665	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:56	2665	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862156\":[1862156,8,1,\"choisir la taille\"],\"1862157\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862156
2023-10-13	13:09:56	2665	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:56	2665	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862157
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:56	2666	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field taille
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:56	2666	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:56	2666	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:56	2666	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:56	2666	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:56	2666	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:56	2666	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field published
2023-10-13	13:09:56	2666	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:56	2666	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field override
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:56	2666	[DEBUG]	Use field value for field slug
2023-10-13	13:09:56	2666	[DEBUG]	Process line 2666
2023-10-13	13:09:56	2666	[DEBUG]	Load a row
2023-10-13	13:09:56	2666	[DEBUG]	Processing item: A_5049_3
2023-10-13	13:09:56	2666	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:56	2666	[DEBUG]	Processing product tax
2023-10-13	13:09:56	2666	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:56	2666	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:56	2666	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:56	2666	[DEBUG]	Query for Product
2023-10-13	13:09:56	2666	[DEBUG]	Executed store
2023-10-13	13:09:56	2666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5049_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:56	2666	[DEBUG]	Check product language entry
2023-10-13	13:09:56	2666	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862158
2023-10-13	13:09:56	2666	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:56	2666	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5049_3' AND `virtuemart_product_id` != 1862158
2023-10-13	13:09:56	2666	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:56	2666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862158, 'A_5049_3')
2023-10-13	13:09:56	2666	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:56	2666	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-garde-boue-avant-amovible-shockblade-29-none' AND `virtuemart_product_id` != 1862158
2023-10-13	13:09:56	2666	[DEBUG]	Query for ProductLang
2023-10-13	13:09:56	2666	[DEBUG]	Executed store
2023-10-13	13:09:56	2666	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='SKS Garde-boue av. amovible Shockblade noir<br>De haute qualité à 2 composants dirtboard pour montage sur VTT et trekking<br>Le cône de serrage disparaît pratiquement, invisible dans le tube de direction<br>Divers cônes sont livrés de 15 à 35 mm<br>N° art fourn : 16.56465',`product_name`='SKS SKS Garde-boue avant amovible Shockblade 29\'\' / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-garde-boue-avant-amovible-shockblade-29-none' WHERE `virtuemart_product_id` = '1862158'
2023-10-13	13:09:56	2666	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29503_sks_garde-boue_avant_amovible_shockblade_29__.jpg
2023-10-13	13:09:56	2666	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:56	2666	[DEBUG]	Process image file
2023-10-13	13:09:56	2666	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:56	2666	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:56	2666	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29503_sks_garde-boue_avant_amovible_shockblade_29__.jpg
2023-10-13	13:09:56	2666	[DEBUG]	Full name target: bcprisme/29503_sks_garde-boue_avant_amovible_shockblade_29__.jpg
2023-10-13	13:09:57	2666	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:57	2666	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29503_sks_garde-boue_avant_amovible_shockblade_29__.jpg'
2023-10-13	13:09:57	2666	[DEBUG]	Query for Media
2023-10-13	13:09:57	2666	[DEBUG]	Executed store
2023-10-13	13:09:57	2666	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29503_sks_garde-boue_avant_amovible_shockblade_29__.jpg',`file_url_thumb`='bcprisme/29503_sks_garde-boue_avant_amovible_shockblade_29__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12907'
2023-10-13	13:09:57	2666	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:57	2666	[DEBUG]	Executed store
2023-10-13	13:09:57	2666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862158','12907','1')
2023-10-13	13:09:57	2666	[DEBUG]	Store product image relation
2023-10-13	13:09:57	2666	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:57	2666	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862158 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:57	2666	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:57	2666	[DEBUG]	Executed store
2023-10-13	13:09:57	2666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862158','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:57	2666	[DEBUG]	Checking manufacturer
2023-10-13	13:09:57	2666	[DEBUG]	Load a row
2023-10-13	13:09:57	2666	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:57	2666	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:09:57	2666	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:57	2666	[DEBUG]	Executed store
2023-10-13	13:09:57	2666	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331293601460' WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:09:57	2666	[DEBUG]	Manufacturer exists
2023-10-13	13:09:57	2666	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 81
2023-10-13	13:09:57	2666	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:57	2666	[DEBUG]	Executed store
2023-10-13	13:09:57	2666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862158','81')
2023-10-13	13:09:57	2666	[DEBUG]	Find the custom field ID
2023-10-13	13:09:57	2666	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:57	2666	[DEBUG]	No custom field ID found
2023-10-13	13:09:57	2666	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:57	2666	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:57	2666	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862158 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:57	2666	[DEBUG]	Store custom available field
2023-10-13	13:09:57	2666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862158,3,'0',1)
2023-10-13	13:09:57	2666	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:57	2666	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:57	2666	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862158 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:57	2666	[DEBUG]	Store custom available field
2023-10-13	13:09:57	2666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862158,6,'choisir la taille',3)
2023-10-13	13:09:57	2666	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:57	2666	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:57	2666	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:57	2666	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:57	2666	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862158 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:57	2666	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:57	2666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862158,8,1)
2023-10-13	13:09:57	2666	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:57	2666	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862158\":[1862158,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862158
2023-10-13	13:09:57	2666	[DEBUG]	Checking category
2023-10-13	13:09:57	2666	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:57	2666	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862158
2023-10-13	13:09:57	2666	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:57	2666	[DEBUG]	Executed store
2023-10-13	13:09:57	2666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862158','7355')
2023-10-13	13:09:57	2666	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:57	2666	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862158 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:09:57	2666	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:57	2666	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862158
2023-10-13	13:09:57	2667	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:57	2667	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:57	2667	[DEBUG]	Use field value for field taille
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:57	2667	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:57	2667	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:57	2667	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:57	2667	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:57	2667	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:57	2667	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:57	2667	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:57	2667	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:57	2667	[DEBUG]	Use field value for field published
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:57	2667	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field override
2023-10-13	13:09:57	2667	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:57	2667	[DEBUG]	Use field value for field slug
2023-10-13	13:09:57	2667	[DEBUG]	Process line 2667
2023-10-13	13:09:57	2667	[DEBUG]	Load a row
2023-10-13	13:09:57	2667	[DEBUG]	Processing item: 4002556812386
2023-10-13	13:09:57	2667	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:57	2667	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:57	2667	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5049_3'
2023-10-13	13:09:57	2667	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:57	2667	[DEBUG]	Processing product tax
2023-10-13	13:09:57	2667	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:57	2667	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:57	2667	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:57	2667	[DEBUG]	Query for Product
2023-10-13	13:09:57	2667	[DEBUG]	Executed store
2023-10-13	13:09:57	2667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862158','4002556812386','0','KG','M','','10','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:57	2667	[DEBUG]	No parent found
2023-10-13	13:09:57	2667	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862158 AND customfield_value = 'stockable'
2023-10-13	13:09:57	2667	[DEBUG]	Check product language entry
2023-10-13	13:09:57	2667	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862159
2023-10-13	13:09:57	2667	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:57	2667	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556812386' AND `virtuemart_product_id` != 1862159
2023-10-13	13:09:57	2667	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:57	2667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862159, '4002556812386')
2023-10-13	13:09:57	2667	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:57	2667	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-garde-boue-avant-amovible-shockblade-29-none-unitaire' AND `virtuemart_product_id` != 1862159
2023-10-13	13:09:57	2667	[DEBUG]	Query for ProductLang
2023-10-13	13:09:57	2667	[DEBUG]	Executed store
2023-10-13	13:09:57	2667	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS SKS Garde-boue avant amovible Shockblade 29\'\' / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-garde-boue-avant-amovible-shockblade-29-none-unitaire' WHERE `virtuemart_product_id` = '1862159'
2023-10-13	13:09:57	2667	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29503_sks_garde-boue_avant_amovible_shockblade_29__.jpg
2023-10-13	13:09:57	2667	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:57	2667	[DEBUG]	Process image file
2023-10-13	13:09:57	2667	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:57	2667	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:57	2667	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29503_sks_garde-boue_avant_amovible_shockblade_29__.jpg
2023-10-13	13:09:57	2667	[DEBUG]	Full name target: bcprisme/29503_sks_garde-boue_avant_amovible_shockblade_29__.jpg
2023-10-13	13:09:58	2667	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:58	2667	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29503_sks_garde-boue_avant_amovible_shockblade_29__.jpg'
2023-10-13	13:09:58	2667	[DEBUG]	Query for Media
2023-10-13	13:09:58	2667	[DEBUG]	Executed store
2023-10-13	13:09:58	2667	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29503_sks_garde-boue_avant_amovible_shockblade_29__.jpg',`file_url_thumb`='bcprisme/29503_sks_garde-boue_avant_amovible_shockblade_29__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12907'
2023-10-13	13:09:58	2667	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:58	2667	[DEBUG]	Executed store
2023-10-13	13:09:58	2667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862159','12907','1')
2023-10-13	13:09:58	2667	[DEBUG]	Store product image relation
2023-10-13	13:09:58	2667	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:58	2667	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862159 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:58	2667	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:58	2667	[DEBUG]	Executed store
2023-10-13	13:09:58	2667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862159','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:58	2667	[DEBUG]	Checking manufacturer
2023-10-13	13:09:58	2667	[DEBUG]	Load a row
2023-10-13	13:09:58	2667	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:58	2667	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:09:58	2667	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:58	2667	[DEBUG]	Executed store
2023-10-13	13:09:58	2667	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331293601460' WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:09:58	2667	[DEBUG]	Manufacturer exists
2023-10-13	13:09:58	2667	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 81
2023-10-13	13:09:58	2667	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:58	2667	[DEBUG]	Executed store
2023-10-13	13:09:58	2667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862159','81')
2023-10-13	13:09:58	2667	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:58	2667	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:09:58	2667	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862159 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:58	2667	[DEBUG]	Store custom available field
2023-10-13	13:09:58	2667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862159,3,'',1)
2023-10-13	13:09:58	2667	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:58	2667	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:09:58	2667	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862159 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:58	2667	[DEBUG]	Store custom available field
2023-10-13	13:09:58	2667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862159,6,'Unitaire',3)
2023-10-13	13:09:58	2667	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:58	2667	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:09:58	2667	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862158
2023-10-13	13:09:58	2667	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:58	2667	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862158\":[1862158,8,1,\"choisir la taille\"],\"1862159\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862158
2023-10-13	13:09:58	2667	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:58	2667	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862159
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:58	2668	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field taille
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field category_path
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:58	2668	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:09:58	2668	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:58	2668	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field product_weight
2023-10-13	13:09:58	2668	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:58	2668	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:58	2668	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field published
2023-10-13	13:09:58	2668	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:58	2668	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field custom_title
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field custom_param
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field override
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field public_price
2023-10-13	13:09:58	2668	[DEBUG]	Use field value for field slug
2023-10-13	13:09:58	2668	[DEBUG]	Process line 2668
2023-10-13	13:09:58	2668	[DEBUG]	Load a row
2023-10-13	13:09:58	2668	[DEBUG]	Processing item: A_5050_3
2023-10-13	13:09:58	2668	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:58	2668	[DEBUG]	Processing product tax
2023-10-13	13:09:58	2668	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:58	2668	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:58	2668	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:58	2668	[DEBUG]	Query for Product
2023-10-13	13:09:58	2668	[DEBUG]	Executed store
2023-10-13	13:09:58	2668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5050_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:58	2668	[DEBUG]	Check product language entry
2023-10-13	13:09:58	2668	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862160
2023-10-13	13:09:58	2668	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:58	2668	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5050_3' AND `virtuemart_product_id` != 1862160
2023-10-13	13:09:58	2668	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:58	2668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862160, 'A_5050_3')
2023-10-13	13:09:58	2668	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:58	2668	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-garde-boue-amovible-rowdy-20-24-noir-avant-et-arriere-none' AND `virtuemart_product_id` != 1862160
2023-10-13	13:09:58	2668	[DEBUG]	Query for ProductLang
2023-10-13	13:09:58	2668	[DEBUG]	Executed store
2023-10-13	13:09:58	2668	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 16.42901',`product_name`='SKS SKS Garde-boue amovible Rowdy 20-24 noir avant et arrière / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-garde-boue-amovible-rowdy-20-24-noir-avant-et-arriere-none' WHERE `virtuemart_product_id` = '1862160'
2023-10-13	13:09:58	2668	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29504_sks_garde-boue_gar__amovible_rowdy_20-24_noir.jpg
2023-10-13	13:09:58	2668	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:58	2668	[DEBUG]	Process image file
2023-10-13	13:09:58	2668	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:58	2668	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:58	2668	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29504_sks_garde-boue_gar__amovible_rowdy_20-24_noir.jpg
2023-10-13	13:09:58	2668	[DEBUG]	Full name target: bcprisme/29504_sks_garde-boue_gar__amovible_rowdy_20-24_noir.jpg
2023-10-13	13:09:59	2668	[DEBUG]	Checking if the file_url exists
2023-10-13	13:09:59	2668	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29504_sks_garde-boue_gar__amovible_rowdy_20-24_noir.jpg'
2023-10-13	13:09:59	2668	[DEBUG]	Query for Media
2023-10-13	13:09:59	2668	[DEBUG]	Executed store
2023-10-13	13:09:59	2668	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29504_sks_garde-boue_gar__amovible_rowdy_20-24_noir.jpg',`file_url_thumb`='bcprisme/29504_sks_garde-boue_gar__amovible_rowdy_20-24_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12908'
2023-10-13	13:09:59	2668	[DEBUG]	Query for ProductMedia
2023-10-13	13:09:59	2668	[DEBUG]	Executed store
2023-10-13	13:09:59	2668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862160','12908','1')
2023-10-13	13:09:59	2668	[DEBUG]	Store product image relation
2023-10-13	13:09:59	2668	[DEBUG]	Finding a product_price_id
2023-10-13	13:09:59	2668	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862160 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:09:59	2668	[DEBUG]	Query for ProductPrice
2023-10-13	13:09:59	2668	[DEBUG]	Executed store
2023-10-13	13:09:59	2668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862160','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:09:59	2668	[DEBUG]	Checking manufacturer
2023-10-13	13:09:59	2668	[DEBUG]	Load a row
2023-10-13	13:09:59	2668	[DEBUG]	Manufacturer already exists
2023-10-13	13:09:59	2668	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:09:59	2668	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:09:59	2668	[DEBUG]	Executed store
2023-10-13	13:09:59	2668	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331293601460' WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:09:59	2668	[DEBUG]	Manufacturer exists
2023-10-13	13:09:59	2668	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 81
2023-10-13	13:09:59	2668	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:09:59	2668	[DEBUG]	Executed store
2023-10-13	13:09:59	2668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862160','81')
2023-10-13	13:09:59	2668	[DEBUG]	Find the custom field ID
2023-10-13	13:09:59	2668	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:09:59	2668	[DEBUG]	No custom field ID found
2023-10-13	13:09:59	2668	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:09:59	2668	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:09:59	2668	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862160 AND `virtuemart_custom_id` = 3
2023-10-13	13:09:59	2668	[DEBUG]	Store custom available field
2023-10-13	13:09:59	2668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862160,3,'0',1)
2023-10-13	13:09:59	2668	[DEBUG]	Processing custom available field: taille
2023-10-13	13:09:59	2668	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:09:59	2668	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862160 AND `virtuemart_custom_id` = 6
2023-10-13	13:09:59	2668	[DEBUG]	Store custom available field
2023-10-13	13:09:59	2668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862160,6,'choisir la taille',3)
2023-10-13	13:09:59	2668	[DEBUG]	Process multi-variant fields
2023-10-13	13:09:59	2668	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:09:59	2668	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:09:59	2668	[DEBUG]	Find the multi variant product entry
2023-10-13	13:09:59	2668	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862160 AND `virtuemart_custom_id` = 8
2023-10-13	13:09:59	2668	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:09:59	2668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862160,8,1)
2023-10-13	13:09:59	2668	[DEBUG]	Store the updated customfield_params
2023-10-13	13:09:59	2668	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862160\":[1862160,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862160
2023-10-13	13:09:59	2668	[DEBUG]	Checking category
2023-10-13	13:09:59	2668	[DEBUG]	Get the existing categories for the product
2023-10-13	13:09:59	2668	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862160
2023-10-13	13:09:59	2668	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:09:59	2668	[DEBUG]	Executed store
2023-10-13	13:09:59	2668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862160','7355')
2023-10-13	13:09:59	2668	[DEBUG]	Delete leftover product categories
2023-10-13	13:09:59	2668	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862160 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:09:59	2668	[DEBUG]	Update has fields after all processing
2023-10-13	13:09:59	2668	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862160
2023-10-13	13:09:59	2669	[DEBUG]	Use field value for field product_sku
2023-10-13	13:09:59	2669	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:09:59	2669	[DEBUG]	Use field value for field taille
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:09:59	2669	[DEBUG]	Use field value for field product_name
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field category_path
2023-10-13	13:09:59	2669	[DEBUG]	Use field value for field product_price
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:09:59	2669	[DEBUG]	Use field value for field product_tax
2023-10-13	13:09:59	2669	[DEBUG]	Use field value for field file_url
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field product_desc
2023-10-13	13:09:59	2669	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:09:59	2669	[DEBUG]	Use field value for field product_availability
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field product_weight
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field product_unit
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field related_products
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field product_special
2023-10-13	13:09:59	2669	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:09:59	2669	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:09:59	2669	[DEBUG]	Use field value for field published
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field metadesc
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field metakey
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field custom_title
2023-10-13	13:09:59	2669	[DEBUG]	Use field value for field custom_value
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field custom_param
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field override
2023-10-13	13:09:59	2669	[DEBUG]	Use default value for field public_price
2023-10-13	13:09:59	2669	[DEBUG]	Use field value for field slug
2023-10-13	13:09:59	2669	[DEBUG]	Process line 2669
2023-10-13	13:09:59	2669	[DEBUG]	Load a row
2023-10-13	13:09:59	2669	[DEBUG]	Processing item: 4002556168056
2023-10-13	13:09:59	2669	[DEBUG]	Looking for parent SKU
2023-10-13	13:09:59	2669	[DEBUG]	Checking product parent SKU
2023-10-13	13:09:59	2669	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5050_3'
2023-10-13	13:09:59	2669	[DEBUG]	Product tax: 7.7
2023-10-13	13:09:59	2669	[DEBUG]	Processing product tax
2023-10-13	13:09:59	2669	[DEBUG]	Check if calculation rule exists
2023-10-13	13:09:59	2669	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:09:59	2669	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:09:59	2669	[DEBUG]	Query for Product
2023-10-13	13:09:59	2669	[DEBUG]	Executed store
2023-10-13	13:09:59	2669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862160','4002556168056','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:09:59	2669	[DEBUG]	No parent found
2023-10-13	13:09:59	2669	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862160 AND customfield_value = 'stockable'
2023-10-13	13:09:59	2669	[DEBUG]	Check product language entry
2023-10-13	13:09:59	2669	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862161
2023-10-13	13:09:59	2669	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:59	2669	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556168056' AND `virtuemart_product_id` != 1862161
2023-10-13	13:09:59	2669	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:09:59	2669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862161, '4002556168056')
2023-10-13	13:09:59	2669	[DEBUG]	Check if the product slug exists
2023-10-13	13:09:59	2669	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-garde-boue-amovible-rowdy-20-24-noir-avant-et-arriere-none-unitaire' AND `virtuemart_product_id` != 1862161
2023-10-13	13:09:59	2669	[DEBUG]	Query for ProductLang
2023-10-13	13:09:59	2669	[DEBUG]	Executed store
2023-10-13	13:09:59	2669	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS SKS Garde-boue amovible Rowdy 20-24 noir avant et arrière / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-garde-boue-amovible-rowdy-20-24-noir-avant-et-arriere-none-unitaire' WHERE `virtuemart_product_id` = '1862161'
2023-10-13	13:09:59	2669	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29504_sks_garde-boue_gar__amovible_rowdy_20-24_noir.jpg
2023-10-13	13:09:59	2669	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:59	2669	[DEBUG]	Process image file
2023-10-13	13:09:59	2669	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:09:59	2669	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:09:59	2669	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29504_sks_garde-boue_gar__amovible_rowdy_20-24_noir.jpg
2023-10-13	13:09:59	2669	[DEBUG]	Full name target: bcprisme/29504_sks_garde-boue_gar__amovible_rowdy_20-24_noir.jpg
2023-10-13	13:10:00	2669	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:00	2669	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29504_sks_garde-boue_gar__amovible_rowdy_20-24_noir.jpg'
2023-10-13	13:10:00	2669	[DEBUG]	Query for Media
2023-10-13	13:10:00	2669	[DEBUG]	Executed store
2023-10-13	13:10:00	2669	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29504_sks_garde-boue_gar__amovible_rowdy_20-24_noir.jpg',`file_url_thumb`='bcprisme/29504_sks_garde-boue_gar__amovible_rowdy_20-24_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12908'
2023-10-13	13:10:00	2669	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:00	2669	[DEBUG]	Executed store
2023-10-13	13:10:00	2669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862161','12908','1')
2023-10-13	13:10:00	2669	[DEBUG]	Store product image relation
2023-10-13	13:10:00	2669	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:00	2669	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862161 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:00	2669	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:00	2669	[DEBUG]	Executed store
2023-10-13	13:10:00	2669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862161','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:00	2669	[DEBUG]	Checking manufacturer
2023-10-13	13:10:00	2669	[DEBUG]	Load a row
2023-10-13	13:10:00	2669	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:00	2669	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:10:00	2669	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:00	2669	[DEBUG]	Executed store
2023-10-13	13:10:00	2669	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331293601460' WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:10:00	2669	[DEBUG]	Manufacturer exists
2023-10-13	13:10:00	2669	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 81
2023-10-13	13:10:00	2669	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:00	2669	[DEBUG]	Executed store
2023-10-13	13:10:00	2669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862161','81')
2023-10-13	13:10:00	2669	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:00	2669	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:00	2669	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862161 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:00	2669	[DEBUG]	Store custom available field
2023-10-13	13:10:00	2669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862161,3,'',1)
2023-10-13	13:10:00	2669	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:00	2669	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:00	2669	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862161 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:00	2669	[DEBUG]	Store custom available field
2023-10-13	13:10:00	2669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862161,6,'Unitaire',3)
2023-10-13	13:10:00	2669	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:00	2669	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:00	2669	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862160
2023-10-13	13:10:00	2669	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:00	2669	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862160\":[1862160,8,1,\"choisir la taille\"],\"1862161\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862160
2023-10-13	13:10:00	2669	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:00	2669	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862161
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:00	2670	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field taille
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:00	2670	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:00	2670	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:00	2670	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:00	2670	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:00	2670	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:00	2670	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field published
2023-10-13	13:10:00	2670	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:00	2670	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field override
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:00	2670	[DEBUG]	Use field value for field slug
2023-10-13	13:10:00	2670	[DEBUG]	Process line 2670
2023-10-13	13:10:00	2670	[DEBUG]	Load a row
2023-10-13	13:10:00	2670	[DEBUG]	Processing item: A_5366_208
2023-10-13	13:10:00	2670	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:00	2670	[DEBUG]	Processing product tax
2023-10-13	13:10:00	2670	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:00	2670	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:00	2670	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:00	2670	[DEBUG]	Query for Product
2023-10-13	13:10:00	2670	[DEBUG]	Executed store
2023-10-13	13:10:00	2670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5366_208','0.1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:00	2670	[DEBUG]	Check product language entry
2023-10-13	13:10:00	2670	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862162
2023-10-13	13:10:00	2670	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:00	2670	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5366_208' AND `virtuemart_product_id` != 1862162
2023-10-13	13:10:00	2670	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:00	2670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862162, 'A_5366_208')
2023-10-13	13:10:00	2670	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:00	2670	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-support-fixation-shockboard-aucune' AND `virtuemart_product_id` != 1862162
2023-10-13	13:10:00	2670	[DEBUG]	Query for ProductLang
2023-10-13	13:10:00	2670	[DEBUG]	Executed store
2023-10-13	13:10:00	2670	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 16.17957',`product_name`='SKS SKS Support fixation Shockboard / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-support-fixation-shockboard-aucune' WHERE `virtuemart_product_id` = '1862162'
2023-10-13	13:10:00	2670	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29844_sks_support_fixation_shockboard.jpg
2023-10-13	13:10:00	2670	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:00	2670	[DEBUG]	Process image file
2023-10-13	13:10:00	2670	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:00	2670	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:00	2670	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29844_sks_support_fixation_shockboard.jpg
2023-10-13	13:10:00	2670	[DEBUG]	Full name target: bcprisme/29844_sks_support_fixation_shockboard.jpg
2023-10-13	13:10:01	2670	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:01	2670	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29844_sks_support_fixation_shockboard.jpg'
2023-10-13	13:10:01	2670	[DEBUG]	Query for Media
2023-10-13	13:10:01	2670	[DEBUG]	Executed store
2023-10-13	13:10:01	2670	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29844_sks_support_fixation_shockboard.jpg',`file_url_thumb`='bcprisme/29844_sks_support_fixation_shockboard.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14670'
2023-10-13	13:10:01	2670	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:01	2670	[DEBUG]	Executed store
2023-10-13	13:10:01	2670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862162','14670','1')
2023-10-13	13:10:01	2670	[DEBUG]	Store product image relation
2023-10-13	13:10:01	2670	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:01	2670	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862162 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:01	2670	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:01	2670	[DEBUG]	Executed store
2023-10-13	13:10:01	2670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862162','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:01	2670	[DEBUG]	Checking manufacturer
2023-10-13	13:10:01	2670	[DEBUG]	Load a row
2023-10-13	13:10:01	2670	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:01	2670	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:01	2670	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:01	2670	[DEBUG]	Executed store
2023-10-13	13:10:01	2670	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:01	2670	[DEBUG]	Manufacturer exists
2023-10-13	13:10:01	2670	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:01	2670	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:01	2670	[DEBUG]	Executed store
2023-10-13	13:10:01	2670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862162','8')
2023-10-13	13:10:01	2670	[DEBUG]	Find the custom field ID
2023-10-13	13:10:01	2670	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:01	2670	[DEBUG]	No custom field ID found
2023-10-13	13:10:01	2670	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:01	2670	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:10:01	2670	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862162 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:01	2670	[DEBUG]	Store custom available field
2023-10-13	13:10:01	2670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862162,3,'0',1)
2023-10-13	13:10:01	2670	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:01	2670	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:01	2670	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862162 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:01	2670	[DEBUG]	Store custom available field
2023-10-13	13:10:01	2670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862162,6,'choisir la taille',3)
2023-10-13	13:10:01	2670	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:01	2670	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:01	2670	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:01	2670	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:01	2670	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862162 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:01	2670	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:01	2670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862162,8,1)
2023-10-13	13:10:01	2670	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:01	2670	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862162\":[1862162,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862162
2023-10-13	13:10:01	2670	[DEBUG]	Checking category
2023-10-13	13:10:01	2670	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:01	2670	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862162
2023-10-13	13:10:01	2670	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:01	2670	[DEBUG]	Executed store
2023-10-13	13:10:01	2670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862162','7355')
2023-10-13	13:10:01	2670	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:01	2670	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862162 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:10:01	2670	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:01	2670	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862162
2023-10-13	13:10:01	2671	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:01	2671	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:01	2671	[DEBUG]	Use field value for field taille
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:01	2671	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:01	2671	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:01	2671	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:01	2671	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:01	2671	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:01	2671	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:01	2671	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:01	2671	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:01	2671	[DEBUG]	Use field value for field published
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:01	2671	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field override
2023-10-13	13:10:01	2671	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:01	2671	[DEBUG]	Use field value for field slug
2023-10-13	13:10:01	2671	[DEBUG]	Process line 2671
2023-10-13	13:10:01	2671	[DEBUG]	Load a row
2023-10-13	13:10:01	2671	[DEBUG]	Processing item: 4002556119997
2023-10-13	13:10:01	2671	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:01	2671	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:01	2671	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5366_208'
2023-10-13	13:10:01	2671	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:01	2671	[DEBUG]	Processing product tax
2023-10-13	13:10:01	2671	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:01	2671	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:01	2671	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:01	2671	[DEBUG]	Query for Product
2023-10-13	13:10:01	2671	[DEBUG]	Executed store
2023-10-13	13:10:01	2671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862162','4002556119997','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:01	2671	[DEBUG]	No parent found
2023-10-13	13:10:01	2671	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862162 AND customfield_value = 'stockable'
2023-10-13	13:10:01	2671	[DEBUG]	Check product language entry
2023-10-13	13:10:01	2671	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862163
2023-10-13	13:10:01	2671	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:01	2671	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556119997' AND `virtuemart_product_id` != 1862163
2023-10-13	13:10:01	2671	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:01	2671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862163, '4002556119997')
2023-10-13	13:10:01	2671	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:01	2671	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-support-fixation-shockboard-aucune-all' AND `virtuemart_product_id` != 1862163
2023-10-13	13:10:01	2671	[DEBUG]	Query for ProductLang
2023-10-13	13:10:01	2671	[DEBUG]	Executed store
2023-10-13	13:10:01	2671	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS SKS Support fixation Shockboard / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-support-fixation-shockboard-aucune-all' WHERE `virtuemart_product_id` = '1862163'
2023-10-13	13:10:01	2671	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29844_sks_support_fixation_shockboard.jpg
2023-10-13	13:10:01	2671	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:01	2671	[DEBUG]	Process image file
2023-10-13	13:10:01	2671	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:01	2671	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:01	2671	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29844_sks_support_fixation_shockboard.jpg
2023-10-13	13:10:01	2671	[DEBUG]	Full name target: bcprisme/29844_sks_support_fixation_shockboard.jpg
2023-10-13	13:10:02	2671	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:02	2671	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29844_sks_support_fixation_shockboard.jpg'
2023-10-13	13:10:02	2671	[DEBUG]	Query for Media
2023-10-13	13:10:02	2671	[DEBUG]	Executed store
2023-10-13	13:10:02	2671	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29844_sks_support_fixation_shockboard.jpg',`file_url_thumb`='bcprisme/29844_sks_support_fixation_shockboard.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14670'
2023-10-13	13:10:02	2671	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:02	2671	[DEBUG]	Executed store
2023-10-13	13:10:02	2671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862163','14670','1')
2023-10-13	13:10:02	2671	[DEBUG]	Store product image relation
2023-10-13	13:10:02	2671	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:02	2671	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862163 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:02	2671	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:02	2671	[DEBUG]	Executed store
2023-10-13	13:10:02	2671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862163','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:02	2671	[DEBUG]	Checking manufacturer
2023-10-13	13:10:02	2671	[DEBUG]	Load a row
2023-10-13	13:10:02	2671	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:02	2671	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:02	2671	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:02	2671	[DEBUG]	Executed store
2023-10-13	13:10:02	2671	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:02	2671	[DEBUG]	Manufacturer exists
2023-10-13	13:10:02	2671	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:02	2671	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:02	2671	[DEBUG]	Executed store
2023-10-13	13:10:02	2671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862163','8')
2023-10-13	13:10:02	2671	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:02	2671	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:02	2671	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862163 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:02	2671	[DEBUG]	Store custom available field
2023-10-13	13:10:02	2671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862163,3,'',1)
2023-10-13	13:10:02	2671	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:02	2671	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:10:02	2671	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862163 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:02	2671	[DEBUG]	Store custom available field
2023-10-13	13:10:02	2671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862163,6,'All',3)
2023-10-13	13:10:02	2671	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:02	2671	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:02	2671	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862162
2023-10-13	13:10:02	2671	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:02	2671	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862162\":[1862162,8,1,\"choisir la taille\"],\"1862163\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862162
2023-10-13	13:10:02	2671	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:02	2671	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862163
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:02	2672	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field taille
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:02	2672	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:02	2672	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:02	2672	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:02	2672	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:02	2672	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:02	2672	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field published
2023-10-13	13:10:02	2672	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:02	2672	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field override
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:02	2672	[DEBUG]	Use field value for field slug
2023-10-13	13:10:02	2672	[DEBUG]	Process line 2672
2023-10-13	13:10:02	2672	[DEBUG]	Load a row
2023-10-13	13:10:02	2672	[DEBUG]	Processing item: A_5418_1
2023-10-13	13:10:02	2672	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:02	2672	[DEBUG]	Processing product tax
2023-10-13	13:10:02	2672	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:02	2672	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:02	2672	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:02	2672	[DEBUG]	Query for Product
2023-10-13	13:10:02	2672	[DEBUG]	Executed store
2023-10-13	13:10:02	2672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5418_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:02	2672	[DEBUG]	Check product language entry
2023-10-13	13:10:02	2672	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862164
2023-10-13	13:10:02	2672	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:02	2672	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5418_1' AND `virtuemart_product_id` != 1862164
2023-10-13	13:10:02	2672	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:02	2672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862164, 'A_5418_1')
2023-10-13	13:10:02	2672	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:02	2672	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-garde-boue-ar-amovible-x-blade-28-29-noir' AND `virtuemart_product_id` != 1862164
2023-10-13	13:10:02	2672	[DEBUG]	Query for ProductLang
2023-10-13	13:10:02	2672	[DEBUG]	Executed store
2023-10-13	13:10:02	2672	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='SKS Garde-boue ar. amovible X-Blade noir<br>La haute qualité des 2 composants dirtboard pour l\'arrière du VTT et du trekking<br>La fermeture rapide permet au dirtboard d\'être attaché à presque n\'importe quelle tige de selle<br>Grâce la technologie 2-pièces, le X-Blade peut être adapté de manière optimale à la roue<br>N° art fourn : 16.56463',`product_name`='SKS SKS Garde-boue ar. amovible X-Blade 28+ 29&#34; / Noir&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-garde-boue-ar-amovible-x-blade-28-29-noir' WHERE `virtuemart_product_id` = '1862164'
2023-10-13	13:10:02	2672	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29906_sks_garde-boue_ar__amovible_x-blade_28_+_29_.jpg
2023-10-13	13:10:02	2672	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:02	2672	[DEBUG]	Process image file
2023-10-13	13:10:02	2672	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:02	2672	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:02	2672	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29906_sks_garde-boue_ar__amovible_x-blade_28_+_29_.jpg
2023-10-13	13:10:02	2672	[DEBUG]	Full name target: bcprisme/29906_sks_garde-boue_ar__amovible_x-blade_28_+_29_.jpg
2023-10-13	13:10:03	2672	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:03	2672	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29906_sks_garde-boue_ar__amovible_x-blade_28_+_29_.jpg'
2023-10-13	13:10:03	2672	[DEBUG]	Query for Media
2023-10-13	13:10:03	2672	[DEBUG]	Executed store
2023-10-13	13:10:03	2672	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29906_sks_garde-boue_ar__amovible_x-blade_28_+_29_.jpg',`file_url_thumb`='bcprisme/29906_sks_garde-boue_ar__amovible_x-blade_28_+_29_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '111490'
2023-10-13	13:10:03	2672	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:03	2672	[DEBUG]	Executed store
2023-10-13	13:10:03	2672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862164','111490','1')
2023-10-13	13:10:03	2672	[DEBUG]	Store product image relation
2023-10-13	13:10:03	2672	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:03	2672	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862164 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:03	2672	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:03	2672	[DEBUG]	Executed store
2023-10-13	13:10:03	2672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862164','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:03	2672	[DEBUG]	Checking manufacturer
2023-10-13	13:10:03	2672	[DEBUG]	Load a row
2023-10-13	13:10:03	2672	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:03	2672	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:10:03	2672	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:03	2672	[DEBUG]	Executed store
2023-10-13	13:10:03	2672	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331293601460' WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:10:03	2672	[DEBUG]	Manufacturer exists
2023-10-13	13:10:03	2672	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 81
2023-10-13	13:10:03	2672	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:03	2672	[DEBUG]	Executed store
2023-10-13	13:10:03	2672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862164','81')
2023-10-13	13:10:03	2672	[DEBUG]	Find the custom field ID
2023-10-13	13:10:03	2672	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:03	2672	[DEBUG]	No custom field ID found
2023-10-13	13:10:03	2672	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:03	2672	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:10:03	2672	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862164 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:03	2672	[DEBUG]	Store custom available field
2023-10-13	13:10:03	2672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862164,3,'0',1)
2023-10-13	13:10:03	2672	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:03	2672	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:03	2672	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862164 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:03	2672	[DEBUG]	Store custom available field
2023-10-13	13:10:03	2672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862164,6,'choisir la taille',3)
2023-10-13	13:10:03	2672	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:03	2672	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:03	2672	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:03	2672	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:03	2672	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862164 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:03	2672	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:03	2672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862164,8,1)
2023-10-13	13:10:03	2672	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:03	2672	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862164\":[1862164,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862164
2023-10-13	13:10:03	2672	[DEBUG]	Checking category
2023-10-13	13:10:03	2672	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:03	2672	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862164
2023-10-13	13:10:03	2672	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:03	2672	[DEBUG]	Executed store
2023-10-13	13:10:03	2672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862164','7355')
2023-10-13	13:10:03	2672	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:03	2672	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862164 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:10:03	2672	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:03	2672	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862164
2023-10-13	13:10:03	2673	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:03	2673	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:03	2673	[DEBUG]	Use field value for field taille
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:03	2673	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:03	2673	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:03	2673	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:03	2673	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:03	2673	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:03	2673	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:03	2673	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:03	2673	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:03	2673	[DEBUG]	Use field value for field published
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:03	2673	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field override
2023-10-13	13:10:03	2673	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:03	2673	[DEBUG]	Use field value for field slug
2023-10-13	13:10:03	2673	[DEBUG]	Process line 2673
2023-10-13	13:10:03	2673	[DEBUG]	Load a row
2023-10-13	13:10:03	2673	[DEBUG]	Processing item: 4002556812409
2023-10-13	13:10:03	2673	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:03	2673	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:03	2673	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5418_1'
2023-10-13	13:10:03	2673	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:03	2673	[DEBUG]	Processing product tax
2023-10-13	13:10:03	2673	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:03	2673	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:03	2673	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:03	2673	[DEBUG]	Query for Product
2023-10-13	13:10:03	2673	[DEBUG]	Executed store
2023-10-13	13:10:03	2673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862164','4002556812409','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:03	2673	[DEBUG]	No parent found
2023-10-13	13:10:03	2673	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862164 AND customfield_value = 'stockable'
2023-10-13	13:10:03	2673	[DEBUG]	Check product language entry
2023-10-13	13:10:03	2673	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862165
2023-10-13	13:10:03	2673	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:03	2673	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556812409' AND `virtuemart_product_id` != 1862165
2023-10-13	13:10:03	2673	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:03	2673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862165, '4002556812409')
2023-10-13	13:10:03	2673	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:03	2673	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-garde-boue-ar-amovible-x-blade-28-29-noir-unitaire' AND `virtuemart_product_id` != 1862165
2023-10-13	13:10:03	2673	[DEBUG]	Query for ProductLang
2023-10-13	13:10:03	2673	[DEBUG]	Executed store
2023-10-13	13:10:03	2673	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS SKS Garde-boue ar. amovible X-Blade 28+ 29&#34; / Noir (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-garde-boue-ar-amovible-x-blade-28-29-noir-unitaire' WHERE `virtuemart_product_id` = '1862165'
2023-10-13	13:10:03	2673	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29906_sks_garde-boue_ar__amovible_x-blade_28_+_29_.jpg
2023-10-13	13:10:03	2673	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:03	2673	[DEBUG]	Process image file
2023-10-13	13:10:03	2673	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:03	2673	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:03	2673	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29906_sks_garde-boue_ar__amovible_x-blade_28_+_29_.jpg
2023-10-13	13:10:03	2673	[DEBUG]	Full name target: bcprisme/29906_sks_garde-boue_ar__amovible_x-blade_28_+_29_.jpg
2023-10-13	13:10:04	2673	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:04	2673	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29906_sks_garde-boue_ar__amovible_x-blade_28_+_29_.jpg'
2023-10-13	13:10:04	2673	[DEBUG]	Query for Media
2023-10-13	13:10:04	2673	[DEBUG]	Executed store
2023-10-13	13:10:04	2673	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29906_sks_garde-boue_ar__amovible_x-blade_28_+_29_.jpg',`file_url_thumb`='bcprisme/29906_sks_garde-boue_ar__amovible_x-blade_28_+_29_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '111490'
2023-10-13	13:10:04	2673	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:04	2673	[DEBUG]	Executed store
2023-10-13	13:10:04	2673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862165','111490','1')
2023-10-13	13:10:04	2673	[DEBUG]	Store product image relation
2023-10-13	13:10:04	2673	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:04	2673	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862165 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:04	2673	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:04	2673	[DEBUG]	Executed store
2023-10-13	13:10:04	2673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862165','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:04	2673	[DEBUG]	Checking manufacturer
2023-10-13	13:10:04	2673	[DEBUG]	Load a row
2023-10-13	13:10:04	2673	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:04	2673	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:10:04	2673	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:04	2673	[DEBUG]	Executed store
2023-10-13	13:10:04	2673	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331293601460' WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:10:04	2673	[DEBUG]	Manufacturer exists
2023-10-13	13:10:04	2673	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 81
2023-10-13	13:10:04	2673	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:04	2673	[DEBUG]	Executed store
2023-10-13	13:10:04	2673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862165','81')
2023-10-13	13:10:04	2673	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:04	2673	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:04	2673	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862165 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:04	2673	[DEBUG]	Store custom available field
2023-10-13	13:10:04	2673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862165,3,'',1)
2023-10-13	13:10:04	2673	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:04	2673	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:04	2673	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862165 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:04	2673	[DEBUG]	Store custom available field
2023-10-13	13:10:04	2673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862165,6,'Unitaire',3)
2023-10-13	13:10:04	2673	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:04	2673	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:04	2673	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862164
2023-10-13	13:10:04	2673	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:04	2673	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862164\":[1862164,8,1,\"choisir la taille\"],\"1862165\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862164
2023-10-13	13:10:04	2673	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:04	2673	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862165
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:04	2674	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field taille
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:04	2674	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:04	2674	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:04	2674	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:04	2674	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:04	2674	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:04	2674	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field published
2023-10-13	13:10:04	2674	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:04	2674	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field override
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:04	2674	[DEBUG]	Use field value for field slug
2023-10-13	13:10:04	2674	[DEBUG]	Process line 2674
2023-10-13	13:10:04	2674	[DEBUG]	Load a row
2023-10-13	13:10:04	2674	[DEBUG]	Processing item: A_5426_208
2023-10-13	13:10:04	2674	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:04	2674	[DEBUG]	Processing product tax
2023-10-13	13:10:04	2674	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:04	2674	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:04	2674	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:04	2674	[DEBUG]	Query for Product
2023-10-13	13:10:04	2674	[DEBUG]	Executed store
2023-10-13	13:10:04	2674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5426_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:04	2674	[DEBUG]	Check product language entry
2023-10-13	13:10:04	2674	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862166
2023-10-13	13:10:04	2674	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:04	2674	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5426_208' AND `virtuemart_product_id` != 1862166
2023-10-13	13:10:04	2674	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:04	2674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862166, 'A_5426_208')
2023-10-13	13:10:04	2674	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:04	2674	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-garde-boue-av-amovible-shockboard-vario-26---29-noir-aucune' AND `virtuemart_product_id` != 1862166
2023-10-13	13:10:04	2674	[DEBUG]	Query for ProductLang
2023-10-13	13:10:04	2674	[DEBUG]	Executed store
2023-10-13	13:10:04	2674	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 16.17735',`product_name`='SKS SKS Garde-boue av. Amovible Shockboard Vario 26 - 29 noir / &#60;aucune&#62;&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-garde-boue-av-amovible-shockboard-vario-26---29-noir-aucune' WHERE `virtuemart_product_id` = '1862166'
2023-10-13	13:10:04	2674	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29914_sks_garde-boue_av__amovible_shockboard_vario_26_-_29__noir.jpg
2023-10-13	13:10:04	2674	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:04	2674	[DEBUG]	Process image file
2023-10-13	13:10:04	2674	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:04	2674	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:04	2674	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29914_sks_garde-boue_av__amovible_shockboard_vario_26_-_29__noir.jpg
2023-10-13	13:10:04	2674	[DEBUG]	Full name target: bcprisme/29914_sks_garde-boue_av__amovible_shockboard_vario_26_-_29__noir.jpg
2023-10-13	13:10:05	2674	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:05	2674	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29914_sks_garde-boue_av__amovible_shockboard_vario_26_-_29__noir.jpg'
2023-10-13	13:10:05	2674	[DEBUG]	Query for Media
2023-10-13	13:10:05	2674	[DEBUG]	Executed store
2023-10-13	13:10:05	2674	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29914_sks_garde-boue_av__amovible_shockboard_vario_26_-_29__noir.jpg',`file_url_thumb`='bcprisme/29914_sks_garde-boue_av__amovible_shockboard_vario_26_-_29__noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '128930'
2023-10-13	13:10:05	2674	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:05	2674	[DEBUG]	Executed store
2023-10-13	13:10:05	2674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862166','128930','1')
2023-10-13	13:10:05	2674	[DEBUG]	Store product image relation
2023-10-13	13:10:05	2674	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:05	2674	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862166 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:05	2674	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:05	2674	[DEBUG]	Executed store
2023-10-13	13:10:05	2674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862166','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:05	2674	[DEBUG]	Checking manufacturer
2023-10-13	13:10:05	2674	[DEBUG]	Load a row
2023-10-13	13:10:05	2674	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:05	2674	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:05	2674	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:05	2674	[DEBUG]	Executed store
2023-10-13	13:10:05	2674	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:05	2674	[DEBUG]	Manufacturer exists
2023-10-13	13:10:05	2674	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:05	2674	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:05	2674	[DEBUG]	Executed store
2023-10-13	13:10:05	2674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862166','8')
2023-10-13	13:10:05	2674	[DEBUG]	Find the custom field ID
2023-10-13	13:10:05	2674	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:05	2674	[DEBUG]	No custom field ID found
2023-10-13	13:10:05	2674	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:05	2674	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:10:05	2674	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862166 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:05	2674	[DEBUG]	Store custom available field
2023-10-13	13:10:05	2674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862166,3,'0',1)
2023-10-13	13:10:05	2674	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:05	2674	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:05	2674	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862166 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:05	2674	[DEBUG]	Store custom available field
2023-10-13	13:10:05	2674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862166,6,'choisir la taille',3)
2023-10-13	13:10:05	2674	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:05	2674	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:05	2674	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:05	2674	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:05	2674	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862166 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:05	2674	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:05	2674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862166,8,1)
2023-10-13	13:10:05	2674	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:05	2674	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862166\":[1862166,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862166
2023-10-13	13:10:05	2674	[DEBUG]	Checking category
2023-10-13	13:10:05	2674	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:05	2674	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862166
2023-10-13	13:10:05	2674	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:05	2674	[DEBUG]	Executed store
2023-10-13	13:10:05	2674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862166','7355')
2023-10-13	13:10:05	2674	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:05	2674	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862166 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:10:05	2674	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:05	2674	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862166
2023-10-13	13:10:05	2675	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:05	2675	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:05	2675	[DEBUG]	Use field value for field taille
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:05	2675	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:05	2675	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:05	2675	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:05	2675	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:05	2675	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:05	2675	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:05	2675	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:05	2675	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:05	2675	[DEBUG]	Use field value for field published
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:05	2675	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field override
2023-10-13	13:10:05	2675	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:05	2675	[DEBUG]	Use field value for field slug
2023-10-13	13:10:05	2675	[DEBUG]	Process line 2675
2023-10-13	13:10:05	2675	[DEBUG]	Load a row
2023-10-13	13:10:05	2675	[DEBUG]	Processing item: 4002556736071
2023-10-13	13:10:05	2675	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:05	2675	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:05	2675	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5426_208'
2023-10-13	13:10:05	2675	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:05	2675	[DEBUG]	Processing product tax
2023-10-13	13:10:05	2675	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:05	2675	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:05	2675	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:05	2675	[DEBUG]	Query for Product
2023-10-13	13:10:05	2675	[DEBUG]	Executed store
2023-10-13	13:10:05	2675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862166','4002556736071','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:05	2675	[DEBUG]	No parent found
2023-10-13	13:10:05	2675	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862166 AND customfield_value = 'stockable'
2023-10-13	13:10:05	2675	[DEBUG]	Check product language entry
2023-10-13	13:10:05	2675	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862167
2023-10-13	13:10:05	2675	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:05	2675	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556736071' AND `virtuemart_product_id` != 1862167
2023-10-13	13:10:05	2675	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:05	2675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862167, '4002556736071')
2023-10-13	13:10:05	2675	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:05	2675	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-garde-boue-av-amovible-shockboard-vario-26---29-noir-aucune-all' AND `virtuemart_product_id` != 1862167
2023-10-13	13:10:05	2675	[DEBUG]	Query for ProductLang
2023-10-13	13:10:05	2675	[DEBUG]	Executed store
2023-10-13	13:10:05	2675	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS SKS Garde-boue av. Amovible Shockboard Vario 26 - 29 noir / &#60;aucune&#62; (All)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-garde-boue-av-amovible-shockboard-vario-26---29-noir-aucune-all' WHERE `virtuemart_product_id` = '1862167'
2023-10-13	13:10:05	2675	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29914_sks_garde-boue_av__amovible_shockboard_vario_26_-_29__noir.jpg
2023-10-13	13:10:05	2675	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:05	2675	[DEBUG]	Process image file
2023-10-13	13:10:05	2675	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:05	2675	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:05	2675	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29914_sks_garde-boue_av__amovible_shockboard_vario_26_-_29__noir.jpg
2023-10-13	13:10:05	2675	[DEBUG]	Full name target: bcprisme/29914_sks_garde-boue_av__amovible_shockboard_vario_26_-_29__noir.jpg
2023-10-13	13:10:06	2675	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:06	2675	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29914_sks_garde-boue_av__amovible_shockboard_vario_26_-_29__noir.jpg'
2023-10-13	13:10:06	2675	[DEBUG]	Query for Media
2023-10-13	13:10:06	2675	[DEBUG]	Executed store
2023-10-13	13:10:06	2675	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29914_sks_garde-boue_av__amovible_shockboard_vario_26_-_29__noir.jpg',`file_url_thumb`='bcprisme/29914_sks_garde-boue_av__amovible_shockboard_vario_26_-_29__noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '128930'
2023-10-13	13:10:06	2675	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:06	2675	[DEBUG]	Executed store
2023-10-13	13:10:06	2675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862167','128930','1')
2023-10-13	13:10:06	2675	[DEBUG]	Store product image relation
2023-10-13	13:10:06	2675	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:06	2675	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862167 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:06	2675	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:06	2675	[DEBUG]	Executed store
2023-10-13	13:10:06	2675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862167','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:06	2675	[DEBUG]	Checking manufacturer
2023-10-13	13:10:06	2675	[DEBUG]	Load a row
2023-10-13	13:10:06	2675	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:06	2675	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:06	2675	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:06	2675	[DEBUG]	Executed store
2023-10-13	13:10:06	2675	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:06	2675	[DEBUG]	Manufacturer exists
2023-10-13	13:10:06	2675	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:06	2675	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:06	2675	[DEBUG]	Executed store
2023-10-13	13:10:06	2675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862167','8')
2023-10-13	13:10:06	2675	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:06	2675	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:06	2675	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862167 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:06	2675	[DEBUG]	Store custom available field
2023-10-13	13:10:06	2675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862167,3,'',1)
2023-10-13	13:10:06	2675	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:06	2675	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:10:06	2675	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862167 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:06	2675	[DEBUG]	Store custom available field
2023-10-13	13:10:06	2675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862167,6,'All',3)
2023-10-13	13:10:06	2675	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:06	2675	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:06	2675	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862166
2023-10-13	13:10:06	2675	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:06	2675	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862166\":[1862166,8,1,\"choisir la taille\"],\"1862167\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862166
2023-10-13	13:10:06	2675	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:06	2675	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862167
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:06	2676	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field taille
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:06	2676	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:06	2676	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:06	2676	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:06	2676	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:06	2676	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:06	2676	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:06	2676	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field published
2023-10-13	13:10:06	2676	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:06	2676	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field override
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:06	2676	[DEBUG]	Use field value for field slug
2023-10-13	13:10:06	2676	[DEBUG]	Process line 2676
2023-10-13	13:10:06	2676	[DEBUG]	Load a row
2023-10-13	13:10:06	2676	[DEBUG]	Processing item: A_6573_1
2023-10-13	13:10:06	2676	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:06	2676	[DEBUG]	Processing product tax
2023-10-13	13:10:06	2676	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:06	2676	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:06	2676	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:06	2676	[DEBUG]	Query for Product
2023-10-13	13:10:06	2676	[DEBUG]	Executed store
2023-10-13	13:10:06	2676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6573_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:06	2676	[DEBUG]	Check product language entry
2023-10-13	13:10:06	2676	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862168
2023-10-13	13:10:06	2676	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:06	2676	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6573_1' AND `virtuemart_product_id` != 1862168
2023-10-13	13:10:06	2676	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:06	2676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862168, 'A_6573_1')
2023-10-13	13:10:06	2676	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:06	2676	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-garde-boue-gar-bluemels-24-53mm-3-4-de-long-noir-noir' AND `virtuemart_product_id` != 1862168
2023-10-13	13:10:06	2676	[DEBUG]	Query for ProductLang
2023-10-13	13:10:06	2676	[DEBUG]	Executed store
2023-10-13	13:10:06	2676	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 16.30932',`product_name`='SKS SKS Garde-boue gar. Bluemels 24 53mm 3/4 de long noir / Noir&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-garde-boue-gar-bluemels-24-53mm-3-4-de-long-noir-noir' WHERE `virtuemart_product_id` = '1862168'
2023-10-13	13:10:06	2676	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_23942.jpg
2023-10-13	13:10:06	2676	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:06	2676	[DEBUG]	Process image file
2023-10-13	13:10:06	2676	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:06	2676	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:06	2676	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_23942.jpg
2023-10-13	13:10:06	2676	[DEBUG]	Full name target: bcprisme/16_23942.jpg
2023-10-13	13:10:07	2676	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:07	2676	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/16_23942.jpg'
2023-10-13	13:10:07	2676	[DEBUG]	Query for Media
2023-10-13	13:10:07	2676	[DEBUG]	Executed store
2023-10-13	13:10:07	2676	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/16_23942.jpg',`file_url_thumb`='bcprisme/16_23942.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366963'
2023-10-13	13:10:07	2676	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:07	2676	[DEBUG]	Executed store
2023-10-13	13:10:07	2676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862168','366963','1')
2023-10-13	13:10:07	2676	[DEBUG]	Store product image relation
2023-10-13	13:10:07	2676	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:07	2676	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862168 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:07	2676	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:07	2676	[DEBUG]	Executed store
2023-10-13	13:10:07	2676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862168','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:07	2676	[DEBUG]	Checking manufacturer
2023-10-13	13:10:07	2676	[DEBUG]	Load a row
2023-10-13	13:10:07	2676	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:07	2676	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:10:07	2676	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:07	2676	[DEBUG]	Executed store
2023-10-13	13:10:07	2676	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331293601460' WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:10:07	2676	[DEBUG]	Manufacturer exists
2023-10-13	13:10:07	2676	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 81
2023-10-13	13:10:07	2676	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:07	2676	[DEBUG]	Executed store
2023-10-13	13:10:07	2676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862168','81')
2023-10-13	13:10:07	2676	[DEBUG]	Find the custom field ID
2023-10-13	13:10:07	2676	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:07	2676	[DEBUG]	No custom field ID found
2023-10-13	13:10:07	2676	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:07	2676	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:10:07	2676	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862168 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:07	2676	[DEBUG]	Store custom available field
2023-10-13	13:10:07	2676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862168,3,'0',1)
2023-10-13	13:10:07	2676	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:07	2676	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:07	2676	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862168 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:07	2676	[DEBUG]	Store custom available field
2023-10-13	13:10:07	2676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862168,6,'choisir la taille',3)
2023-10-13	13:10:07	2676	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:07	2676	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:07	2676	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:07	2676	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:07	2676	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862168 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:07	2676	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:07	2676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862168,8,1)
2023-10-13	13:10:07	2676	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:07	2676	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862168\":[1862168,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862168
2023-10-13	13:10:07	2676	[DEBUG]	Checking category
2023-10-13	13:10:07	2676	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:07	2676	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862168
2023-10-13	13:10:07	2676	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:07	2676	[DEBUG]	Executed store
2023-10-13	13:10:07	2676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862168','7355')
2023-10-13	13:10:07	2676	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:07	2676	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862168 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:10:07	2676	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:07	2676	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862168
2023-10-13	13:10:07	2677	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:07	2677	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:07	2677	[DEBUG]	Use field value for field taille
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:07	2677	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:07	2677	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:07	2677	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:07	2677	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:07	2677	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:07	2677	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:07	2677	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:07	2677	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:07	2677	[DEBUG]	Use field value for field published
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:07	2677	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field override
2023-10-13	13:10:07	2677	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:07	2677	[DEBUG]	Use field value for field slug
2023-10-13	13:10:07	2677	[DEBUG]	Process line 2677
2023-10-13	13:10:07	2677	[DEBUG]	Load a row
2023-10-13	13:10:07	2677	[DEBUG]	Processing item: 4002556528546
2023-10-13	13:10:07	2677	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:07	2677	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:07	2677	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6573_1'
2023-10-13	13:10:07	2677	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:07	2677	[DEBUG]	Processing product tax
2023-10-13	13:10:07	2677	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:07	2677	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:07	2677	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:07	2677	[DEBUG]	Query for Product
2023-10-13	13:10:07	2677	[DEBUG]	Executed store
2023-10-13	13:10:07	2677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862168','4002556528546','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:07	2677	[DEBUG]	No parent found
2023-10-13	13:10:07	2677	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862168 AND customfield_value = 'stockable'
2023-10-13	13:10:07	2677	[DEBUG]	Check product language entry
2023-10-13	13:10:07	2677	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862169
2023-10-13	13:10:07	2677	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:07	2677	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556528546' AND `virtuemart_product_id` != 1862169
2023-10-13	13:10:07	2677	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:07	2677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862169, '4002556528546')
2023-10-13	13:10:07	2677	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:07	2677	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-garde-boue-gar-bluemels-24-53mm-3-4-de-long-noir-noir-unitaire' AND `virtuemart_product_id` != 1862169
2023-10-13	13:10:07	2677	[DEBUG]	Query for ProductLang
2023-10-13	13:10:07	2677	[DEBUG]	Executed store
2023-10-13	13:10:07	2677	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS SKS Garde-boue gar. Bluemels 24 53mm 3/4 de long noir / Noir (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-garde-boue-gar-bluemels-24-53mm-3-4-de-long-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1862169'
2023-10-13	13:10:07	2677	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_23942.jpg
2023-10-13	13:10:07	2677	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:07	2677	[DEBUG]	Process image file
2023-10-13	13:10:07	2677	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:07	2677	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:07	2677	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_23942.jpg
2023-10-13	13:10:07	2677	[DEBUG]	Full name target: bcprisme/16_23942.jpg
2023-10-13	13:10:08	2677	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:08	2677	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/16_23942.jpg'
2023-10-13	13:10:08	2677	[DEBUG]	Query for Media
2023-10-13	13:10:08	2677	[DEBUG]	Executed store
2023-10-13	13:10:08	2677	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/16_23942.jpg',`file_url_thumb`='bcprisme/16_23942.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366963'
2023-10-13	13:10:08	2677	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:08	2677	[DEBUG]	Executed store
2023-10-13	13:10:08	2677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862169','366963','1')
2023-10-13	13:10:08	2677	[DEBUG]	Store product image relation
2023-10-13	13:10:08	2677	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:08	2677	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862169 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:08	2677	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:08	2677	[DEBUG]	Executed store
2023-10-13	13:10:08	2677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862169','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:08	2677	[DEBUG]	Checking manufacturer
2023-10-13	13:10:08	2677	[DEBUG]	Load a row
2023-10-13	13:10:08	2677	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:08	2677	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:10:08	2677	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:08	2677	[DEBUG]	Executed store
2023-10-13	13:10:08	2677	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331293601460' WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:10:08	2677	[DEBUG]	Manufacturer exists
2023-10-13	13:10:08	2677	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 81
2023-10-13	13:10:08	2677	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:08	2677	[DEBUG]	Executed store
2023-10-13	13:10:08	2677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862169','81')
2023-10-13	13:10:08	2677	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:08	2677	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:08	2677	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862169 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:08	2677	[DEBUG]	Store custom available field
2023-10-13	13:10:08	2677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862169,3,'',1)
2023-10-13	13:10:08	2677	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:08	2677	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:08	2677	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862169 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:08	2677	[DEBUG]	Store custom available field
2023-10-13	13:10:08	2677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862169,6,'Unitaire',3)
2023-10-13	13:10:08	2677	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:08	2677	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:08	2677	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862168
2023-10-13	13:10:08	2677	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:08	2677	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862168\":[1862168,8,1,\"choisir la taille\"],\"1862169\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862168
2023-10-13	13:10:08	2677	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:08	2677	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862169
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:08	2678	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field taille
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:08	2678	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:08	2678	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:08	2678	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:08	2678	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:08	2678	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:08	2678	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field published
2023-10-13	13:10:08	2678	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:08	2678	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field override
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:08	2678	[DEBUG]	Use field value for field slug
2023-10-13	13:10:08	2678	[DEBUG]	Process line 2678
2023-10-13	13:10:08	2678	[DEBUG]	Load a row
2023-10-13	13:10:08	2678	[DEBUG]	Processing item: A_7224_1
2023-10-13	13:10:08	2678	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:08	2678	[DEBUG]	Processing product tax
2023-10-13	13:10:08	2678	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:08	2678	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:08	2678	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:08	2678	[DEBUG]	Query for Product
2023-10-13	13:10:08	2678	[DEBUG]	Executed store
2023-10-13	13:10:08	2678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7224_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:08	2678	[DEBUG]	Check product language entry
2023-10-13	13:10:08	2678	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862170
2023-10-13	13:10:08	2678	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:08	2678	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7224_1' AND `virtuemart_product_id` != 1862170
2023-10-13	13:10:08	2678	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:08	2678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862170, 'A_7224_1')
2023-10-13	13:10:08	2678	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:08	2678	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-garde-boue-garniture-trekking-28-45mm-noir' AND `virtuemart_product_id` != 1862170
2023-10-13	13:10:08	2678	[DEBUG]	Query for ProductLang
2023-10-13	13:10:08	2678	[DEBUG]	Executed store
2023-10-13	13:10:08	2678	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 16.57015',`product_name`='SKS SKS Garde-boue garniture Trekking 28 45mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-garde-boue-garniture-trekking-28-45mm-noir' WHERE `virtuemart_product_id` = '1862170'
2023-10-13	13:10:08	2678	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_23942.jpg
2023-10-13	13:10:08	2678	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:08	2678	[DEBUG]	Process image file
2023-10-13	13:10:08	2678	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:08	2678	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:08	2678	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_23942.jpg
2023-10-13	13:10:08	2678	[DEBUG]	Full name target: bcprisme/16_23942.jpg
2023-10-13	13:10:09	2678	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:09	2678	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/16_23942.jpg'
2023-10-13	13:10:09	2678	[DEBUG]	Query for Media
2023-10-13	13:10:09	2678	[DEBUG]	Executed store
2023-10-13	13:10:09	2678	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/16_23942.jpg',`file_url_thumb`='bcprisme/16_23942.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366963'
2023-10-13	13:10:09	2678	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:09	2678	[DEBUG]	Executed store
2023-10-13	13:10:09	2678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862170','366963','1')
2023-10-13	13:10:09	2678	[DEBUG]	Store product image relation
2023-10-13	13:10:09	2678	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:09	2678	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862170 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:09	2678	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:09	2678	[DEBUG]	Executed store
2023-10-13	13:10:09	2678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862170','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:09	2678	[DEBUG]	Checking manufacturer
2023-10-13	13:10:09	2678	[DEBUG]	Load a row
2023-10-13	13:10:09	2678	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:09	2678	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:10:09	2678	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:09	2678	[DEBUG]	Executed store
2023-10-13	13:10:09	2678	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331293601460' WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:10:09	2678	[DEBUG]	Manufacturer exists
2023-10-13	13:10:09	2678	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 81
2023-10-13	13:10:09	2678	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:09	2678	[DEBUG]	Executed store
2023-10-13	13:10:09	2678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862170','81')
2023-10-13	13:10:09	2678	[DEBUG]	Find the custom field ID
2023-10-13	13:10:09	2678	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:09	2678	[DEBUG]	No custom field ID found
2023-10-13	13:10:09	2678	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:09	2678	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:10:09	2678	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862170 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:09	2678	[DEBUG]	Store custom available field
2023-10-13	13:10:09	2678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862170,3,'0',1)
2023-10-13	13:10:09	2678	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:09	2678	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:09	2678	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862170 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:09	2678	[DEBUG]	Store custom available field
2023-10-13	13:10:09	2678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862170,6,'choisir la taille',3)
2023-10-13	13:10:09	2678	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:09	2678	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:09	2678	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:09	2678	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:09	2678	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862170 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:09	2678	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:09	2678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862170,8,1)
2023-10-13	13:10:09	2678	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:09	2678	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862170\":[1862170,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862170
2023-10-13	13:10:09	2678	[DEBUG]	Checking category
2023-10-13	13:10:09	2678	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:09	2678	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862170
2023-10-13	13:10:09	2678	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:09	2678	[DEBUG]	Executed store
2023-10-13	13:10:09	2678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862170','7355')
2023-10-13	13:10:09	2678	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:09	2678	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862170 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:10:09	2678	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:09	2678	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862170
2023-10-13	13:10:09	2679	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:09	2679	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:09	2679	[DEBUG]	Use field value for field taille
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:09	2679	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:09	2679	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:09	2679	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:09	2679	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:09	2679	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:09	2679	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:09	2679	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:09	2679	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:09	2679	[DEBUG]	Use field value for field published
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:09	2679	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field override
2023-10-13	13:10:09	2679	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:09	2679	[DEBUG]	Use field value for field slug
2023-10-13	13:10:09	2679	[DEBUG]	Process line 2679
2023-10-13	13:10:09	2679	[DEBUG]	Load a row
2023-10-13	13:10:09	2679	[DEBUG]	Processing item: 4002556191191
2023-10-13	13:10:09	2679	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:09	2679	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:09	2679	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7224_1'
2023-10-13	13:10:09	2679	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:09	2679	[DEBUG]	Processing product tax
2023-10-13	13:10:09	2679	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:09	2679	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:09	2679	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:09	2679	[DEBUG]	Query for Product
2023-10-13	13:10:09	2679	[DEBUG]	Executed store
2023-10-13	13:10:09	2679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862170','4002556191191','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:09	2679	[DEBUG]	No parent found
2023-10-13	13:10:09	2679	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862170 AND customfield_value = 'stockable'
2023-10-13	13:10:09	2679	[DEBUG]	Check product language entry
2023-10-13	13:10:09	2679	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862171
2023-10-13	13:10:09	2679	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:09	2679	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556191191' AND `virtuemart_product_id` != 1862171
2023-10-13	13:10:09	2679	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:09	2679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862171, '4002556191191')
2023-10-13	13:10:10	2679	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:10	2679	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-garde-boue-garniture-trekking-28-45mm-noir-unitaire' AND `virtuemart_product_id` != 1862171
2023-10-13	13:10:10	2679	[DEBUG]	Query for ProductLang
2023-10-13	13:10:10	2679	[DEBUG]	Executed store
2023-10-13	13:10:10	2679	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS SKS Garde-boue garniture Trekking 28 45mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-garde-boue-garniture-trekking-28-45mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862171'
2023-10-13	13:10:10	2679	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_23942.jpg
2023-10-13	13:10:10	2679	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:10	2679	[DEBUG]	Process image file
2023-10-13	13:10:10	2679	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:10	2679	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:10	2679	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_23942.jpg
2023-10-13	13:10:10	2679	[DEBUG]	Full name target: bcprisme/16_23942.jpg
2023-10-13	13:10:10	2679	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:10	2679	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/16_23942.jpg'
2023-10-13	13:10:10	2679	[DEBUG]	Query for Media
2023-10-13	13:10:10	2679	[DEBUG]	Executed store
2023-10-13	13:10:10	2679	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/16_23942.jpg',`file_url_thumb`='bcprisme/16_23942.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '366963'
2023-10-13	13:10:10	2679	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:10	2679	[DEBUG]	Executed store
2023-10-13	13:10:10	2679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862171','366963','1')
2023-10-13	13:10:10	2679	[DEBUG]	Store product image relation
2023-10-13	13:10:10	2679	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:10	2679	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862171 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:10	2679	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:10	2679	[DEBUG]	Executed store
2023-10-13	13:10:10	2679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862171','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:10	2679	[DEBUG]	Checking manufacturer
2023-10-13	13:10:10	2679	[DEBUG]	Load a row
2023-10-13	13:10:10	2679	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:10	2679	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:10:10	2679	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:10	2679	[DEBUG]	Executed store
2023-10-13	13:10:10	2679	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331293601460' WHERE `virtuemart_manufacturer_id` = '81'
2023-10-13	13:10:10	2679	[DEBUG]	Manufacturer exists
2023-10-13	13:10:10	2679	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 81
2023-10-13	13:10:10	2679	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:10	2679	[DEBUG]	Executed store
2023-10-13	13:10:10	2679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862171','81')
2023-10-13	13:10:10	2679	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:10	2679	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:10	2679	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862171 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:10	2679	[DEBUG]	Store custom available field
2023-10-13	13:10:10	2679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862171,3,'',1)
2023-10-13	13:10:10	2679	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:10	2679	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:10	2679	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862171 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:10	2679	[DEBUG]	Store custom available field
2023-10-13	13:10:10	2679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862171,6,'Unitaire',3)
2023-10-13	13:10:10	2679	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:10	2679	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:10	2679	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862170
2023-10-13	13:10:10	2679	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:10	2679	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862170\":[1862170,8,1,\"choisir la taille\"],\"1862171\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862170
2023-10-13	13:10:10	2679	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:10	2679	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862171
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:10	2680	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field taille
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:10	2680	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:10	2680	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:10	2680	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:10	2680	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:10	2680	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:10	2680	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:10	2680	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field published
2023-10-13	13:10:10	2680	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:10	2680	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field override
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:10	2680	[DEBUG]	Use field value for field slug
2023-10-13	13:10:10	2680	[DEBUG]	Process line 2680
2023-10-13	13:10:10	2680	[DEBUG]	Load a row
2023-10-13	13:10:11	2680	[DEBUG]	Processing item: A_8080_622
2023-10-13	13:10:11	2680	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:11	2680	[DEBUG]	Processing product tax
2023-10-13	13:10:11	2680	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:11	2680	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:11	2680	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:11	2680	[DEBUG]	Query for Product
2023-10-13	13:10:11	2680	[DEBUG]	Executed store
2023-10-13	13:10:11	2680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8080_622','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:11	2680	[DEBUG]	Check product language entry
2023-10-13	13:10:11	2680	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862172
2023-10-13	13:10:11	2680	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:11	2680	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8080_622' AND `virtuemart_product_id` != 1862172
2023-10-13	13:10:11	2680	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:11	2680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862172, 'A_8080_622')
2023-10-13	13:10:11	2680	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:11	2680	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-garde-boue-garniture-edge-al-56-aluminium-28-50mm-noir-mat-noir-mat' AND `virtuemart_product_id` != 1862172
2023-10-13	13:10:11	2680	[DEBUG]	Query for ProductLang
2023-10-13	13:10:11	2680	[DEBUG]	Executed store
2023-10-13	13:10:11	2680	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 16.74729',`product_name`='SKS Garde-boue garniture Edge AL 56 aluminium 28 50mm noir mat / noir mat&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-garde-boue-garniture-edge-al-56-aluminium-28-50mm-noir-mat-noir-mat' WHERE `virtuemart_product_id` = '1862172'
2023-10-13	13:10:11	2680	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_71118_jpg.jpg has not been found.
2023-10-13	13:10:11	2680	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:11	2680	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862172 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:11	2680	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:11	2680	[DEBUG]	Executed store
2023-10-13	13:10:11	2680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862172','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:11	2680	[DEBUG]	Checking manufacturer
2023-10-13	13:10:11	2680	[DEBUG]	Load a row
2023-10-13	13:10:11	2680	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:11	2680	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:11	2680	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:11	2680	[DEBUG]	Executed store
2023-10-13	13:10:11	2680	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:11	2680	[DEBUG]	Manufacturer exists
2023-10-13	13:10:11	2680	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:11	2680	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:11	2680	[DEBUG]	Executed store
2023-10-13	13:10:11	2680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862172','8')
2023-10-13	13:10:11	2680	[DEBUG]	Find the custom field ID
2023-10-13	13:10:11	2680	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:11	2680	[DEBUG]	No custom field ID found
2023-10-13	13:10:11	2680	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:11	2680	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:10:11	2680	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862172 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:11	2680	[DEBUG]	Store custom available field
2023-10-13	13:10:11	2680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862172,3,'0',1)
2023-10-13	13:10:11	2680	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:11	2680	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:11	2680	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862172 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:11	2680	[DEBUG]	Store custom available field
2023-10-13	13:10:11	2680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862172,6,'choisir la taille',3)
2023-10-13	13:10:11	2680	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:11	2680	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:11	2680	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:11	2680	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:11	2680	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862172 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:11	2680	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:11	2680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862172,8,1)
2023-10-13	13:10:11	2680	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:11	2680	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862172\":[1862172,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862172
2023-10-13	13:10:11	2680	[DEBUG]	Checking category
2023-10-13	13:10:11	2680	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:11	2680	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862172
2023-10-13	13:10:11	2680	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:11	2680	[DEBUG]	Executed store
2023-10-13	13:10:11	2680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862172','7355')
2023-10-13	13:10:11	2680	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:11	2680	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862172 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:10:11	2680	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:11	2680	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862172
2023-10-13	13:10:11	2681	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:11	2681	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:11	2681	[DEBUG]	Use field value for field taille
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:11	2681	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:11	2681	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:11	2681	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:11	2681	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:11	2681	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:11	2681	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:11	2681	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:11	2681	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:11	2681	[DEBUG]	Use field value for field published
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:11	2681	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field override
2023-10-13	13:10:11	2681	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:11	2681	[DEBUG]	Use field value for field slug
2023-10-13	13:10:11	2681	[DEBUG]	Process line 2681
2023-10-13	13:10:11	2681	[DEBUG]	Load a row
2023-10-13	13:10:11	2681	[DEBUG]	Processing item: 4002556903688
2023-10-13	13:10:11	2681	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:11	2681	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:11	2681	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8080_622'
2023-10-13	13:10:11	2681	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:11	2681	[DEBUG]	Processing product tax
2023-10-13	13:10:11	2681	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:11	2681	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:11	2681	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:11	2681	[DEBUG]	Query for Product
2023-10-13	13:10:11	2681	[DEBUG]	Executed store
2023-10-13	13:10:11	2681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862172','4002556903688','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:11	2681	[DEBUG]	No parent found
2023-10-13	13:10:11	2681	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862172 AND customfield_value = 'stockable'
2023-10-13	13:10:11	2681	[DEBUG]	Check product language entry
2023-10-13	13:10:11	2681	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862173
2023-10-13	13:10:11	2681	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:11	2681	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556903688' AND `virtuemart_product_id` != 1862173
2023-10-13	13:10:11	2681	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:11	2681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862173, '4002556903688')
2023-10-13	13:10:11	2681	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:11	2681	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-garde-boue-garniture-edge-al-56-aluminium-28-50mm-noir-mat-noir-mat-unitaire' AND `virtuemart_product_id` != 1862173
2023-10-13	13:10:11	2681	[DEBUG]	Query for ProductLang
2023-10-13	13:10:11	2681	[DEBUG]	Executed store
2023-10-13	13:10:11	2681	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS Garde-boue garniture Edge AL 56 aluminium 28 50mm noir mat / noir mat (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-garde-boue-garniture-edge-al-56-aluminium-28-50mm-noir-mat-noir-mat-unitaire' WHERE `virtuemart_product_id` = '1862173'
2023-10-13	13:10:11	2681	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_71118_jpg.jpg has not been found.
2023-10-13	13:10:11	2681	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:11	2681	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862173 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:11	2681	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:11	2681	[DEBUG]	Executed store
2023-10-13	13:10:11	2681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862173','0','51.0677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:11	2681	[DEBUG]	Checking manufacturer
2023-10-13	13:10:11	2681	[DEBUG]	Load a row
2023-10-13	13:10:11	2681	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:11	2681	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:11	2681	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:11	2681	[DEBUG]	Executed store
2023-10-13	13:10:11	2681	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:11	2681	[DEBUG]	Manufacturer exists
2023-10-13	13:10:11	2681	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:11	2681	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:11	2681	[DEBUG]	Executed store
2023-10-13	13:10:11	2681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862173','8')
2023-10-13	13:10:11	2681	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:11	2681	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:11	2681	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862173 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:11	2681	[DEBUG]	Store custom available field
2023-10-13	13:10:11	2681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862173,3,'',1)
2023-10-13	13:10:11	2681	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:11	2681	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:11	2681	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862173 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:11	2681	[DEBUG]	Store custom available field
2023-10-13	13:10:11	2681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862173,6,'Unitaire',3)
2023-10-13	13:10:11	2681	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:11	2681	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:11	2681	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862172
2023-10-13	13:10:11	2681	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:11	2681	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862172\":[1862172,8,1,\"choisir la taille\"],\"1862173\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862172
2023-10-13	13:10:11	2681	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:11	2681	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862173
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:11	2682	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field taille
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:11	2682	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:11	2682	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:11	2682	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:11	2682	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:11	2682	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:11	2682	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:11	2682	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field published
2023-10-13	13:10:11	2682	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:11	2682	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field override
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:11	2682	[DEBUG]	Use field value for field slug
2023-10-13	13:10:11	2682	[DEBUG]	Process line 2682
2023-10-13	13:10:11	2682	[DEBUG]	Load a row
2023-10-13	13:10:11	2682	[DEBUG]	Processing item: A_8121_1
2023-10-13	13:10:11	2682	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:11	2682	[DEBUG]	Processing product tax
2023-10-13	13:10:11	2682	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:11	2682	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:11	2682	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:11	2682	[DEBUG]	Query for Product
2023-10-13	13:10:11	2682	[DEBUG]	Executed store
2023-10-13	13:10:11	2682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8121_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:11	2682	[DEBUG]	Check product language entry
2023-10-13	13:10:11	2682	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862174
2023-10-13	13:10:11	2682	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:11	2682	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8121_1' AND `virtuemart_product_id` != 1862174
2023-10-13	13:10:11	2682	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:11	2682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862174, 'A_8121_1')
2023-10-13	13:10:11	2682	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:11	2682	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-garde-boue-av-amovible-mud-x-26-noir-noir' AND `virtuemart_product_id` != 1862174
2023-10-13	13:10:11	2682	[DEBUG]	Query for ProductLang
2023-10-13	13:10:11	2682	[DEBUG]	Executed store
2023-10-13	13:10:11	2682	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 16.39991',`product_name`='SKS Garde-boue av. amovible Mud-X 26 noir / Noir&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-garde-boue-av-amovible-mud-x-26-noir-noir' WHERE `virtuemart_product_id` = '1862174'
2023-10-13	13:10:11	2682	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_39991_jpg.jpg has not been found.
2023-10-13	13:10:11	2682	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:11	2682	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862174 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:11	2682	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:11	2682	[DEBUG]	Executed store
2023-10-13	13:10:11	2682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862174','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:11	2682	[DEBUG]	Checking manufacturer
2023-10-13	13:10:11	2682	[DEBUG]	Load a row
2023-10-13	13:10:11	2682	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:11	2682	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:11	2682	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:11	2682	[DEBUG]	Executed store
2023-10-13	13:10:11	2682	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:11	2682	[DEBUG]	Manufacturer exists
2023-10-13	13:10:11	2682	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:11	2682	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:11	2682	[DEBUG]	Executed store
2023-10-13	13:10:11	2682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862174','8')
2023-10-13	13:10:11	2682	[DEBUG]	Find the custom field ID
2023-10-13	13:10:11	2682	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:11	2682	[DEBUG]	No custom field ID found
2023-10-13	13:10:11	2682	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:11	2682	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:10:11	2682	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862174 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:11	2682	[DEBUG]	Store custom available field
2023-10-13	13:10:11	2682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862174,3,'0',1)
2023-10-13	13:10:11	2682	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:11	2682	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:11	2682	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862174 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:11	2682	[DEBUG]	Store custom available field
2023-10-13	13:10:11	2682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862174,6,'choisir la taille',3)
2023-10-13	13:10:11	2682	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:11	2682	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:11	2682	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:11	2682	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:11	2682	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862174 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:11	2682	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:11	2682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862174,8,1)
2023-10-13	13:10:11	2682	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:11	2682	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862174\":[1862174,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862174
2023-10-13	13:10:11	2682	[DEBUG]	Checking category
2023-10-13	13:10:11	2682	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:11	2682	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862174
2023-10-13	13:10:11	2682	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:11	2682	[DEBUG]	Executed store
2023-10-13	13:10:11	2682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862174','7355')
2023-10-13	13:10:11	2682	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:11	2682	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862174 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:10:11	2682	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:11	2682	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862174
2023-10-13	13:10:11	2683	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:11	2683	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:11	2683	[DEBUG]	Use field value for field taille
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:11	2683	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:11	2683	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:11	2683	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:11	2683	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:11	2683	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:11	2683	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:11	2683	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:11	2683	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:11	2683	[DEBUG]	Use field value for field published
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:11	2683	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field override
2023-10-13	13:10:11	2683	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:11	2683	[DEBUG]	Use field value for field slug
2023-10-13	13:10:11	2683	[DEBUG]	Process line 2683
2023-10-13	13:10:11	2683	[DEBUG]	Load a row
2023-10-13	13:10:11	2683	[DEBUG]	Processing item: 4002556172725
2023-10-13	13:10:11	2683	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:11	2683	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:11	2683	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8121_1'
2023-10-13	13:10:11	2683	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:11	2683	[DEBUG]	Processing product tax
2023-10-13	13:10:11	2683	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:11	2683	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:11	2683	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:11	2683	[DEBUG]	Query for Product
2023-10-13	13:10:11	2683	[DEBUG]	Executed store
2023-10-13	13:10:11	2683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862174','4002556172725','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:11	2683	[DEBUG]	No parent found
2023-10-13	13:10:11	2683	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862174 AND customfield_value = 'stockable'
2023-10-13	13:10:11	2683	[DEBUG]	Check product language entry
2023-10-13	13:10:11	2683	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862175
2023-10-13	13:10:11	2683	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:11	2683	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556172725' AND `virtuemart_product_id` != 1862175
2023-10-13	13:10:11	2683	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:11	2683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862175, '4002556172725')
2023-10-13	13:10:11	2683	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:11	2683	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-garde-boue-av-amovible-mud-x-26-noir-noir-unitaire' AND `virtuemart_product_id` != 1862175
2023-10-13	13:10:11	2683	[DEBUG]	Query for ProductLang
2023-10-13	13:10:11	2683	[DEBUG]	Executed store
2023-10-13	13:10:11	2683	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS Garde-boue av. amovible Mud-X 26 noir / Noir (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-garde-boue-av-amovible-mud-x-26-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1862175'
2023-10-13	13:10:11	2683	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_39991_jpg.jpg has not been found.
2023-10-13	13:10:11	2683	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:11	2683	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862175 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:11	2683	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:11	2683	[DEBUG]	Executed store
2023-10-13	13:10:11	2683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862175','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:11	2683	[DEBUG]	Checking manufacturer
2023-10-13	13:10:11	2683	[DEBUG]	Load a row
2023-10-13	13:10:11	2683	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:11	2683	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:11	2683	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:11	2683	[DEBUG]	Executed store
2023-10-13	13:10:11	2683	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:11	2683	[DEBUG]	Manufacturer exists
2023-10-13	13:10:11	2683	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:11	2683	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:11	2683	[DEBUG]	Executed store
2023-10-13	13:10:11	2683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862175','8')
2023-10-13	13:10:11	2683	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:11	2683	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:11	2683	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862175 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:11	2683	[DEBUG]	Store custom available field
2023-10-13	13:10:11	2683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862175,3,'',1)
2023-10-13	13:10:11	2683	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:11	2683	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:11	2683	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862175 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:11	2683	[DEBUG]	Store custom available field
2023-10-13	13:10:11	2683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862175,6,'Unitaire',3)
2023-10-13	13:10:11	2683	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:11	2683	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:11	2683	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862174
2023-10-13	13:10:11	2683	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:11	2683	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862174\":[1862174,8,1,\"choisir la taille\"],\"1862175\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862174
2023-10-13	13:10:11	2683	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:11	2683	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862175
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:11	2684	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field taille
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:11	2684	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:11	2684	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:11	2684	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:11	2684	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:11	2684	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:11	2684	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field published
2023-10-13	13:10:11	2684	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:11	2684	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field override
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:11	2684	[DEBUG]	Use field value for field slug
2023-10-13	13:10:11	2684	[DEBUG]	Process line 2684
2023-10-13	13:10:11	2684	[DEBUG]	Load a row
2023-10-13	13:10:11	2684	[DEBUG]	Processing item: A_8287_1
2023-10-13	13:10:11	2684	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:11	2684	[DEBUG]	Processing product tax
2023-10-13	13:10:11	2684	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:11	2684	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:11	2684	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:11	2684	[DEBUG]	Query for Product
2023-10-13	13:10:11	2684	[DEBUG]	Executed store
2023-10-13	13:10:11	2684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8287_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:11	2684	[DEBUG]	Check product language entry
2023-10-13	13:10:11	2684	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862176
2023-10-13	13:10:11	2684	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:11	2684	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8287_1' AND `virtuemart_product_id` != 1862176
2023-10-13	13:10:11	2684	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:11	2684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862176, 'A_8287_1')
2023-10-13	13:10:11	2684	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:11	2684	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-pare-boue-s-guard-noir-noir' AND `virtuemart_product_id` != 1862176
2023-10-13	13:10:11	2684	[DEBUG]	Query for ProductLang
2023-10-13	13:10:11	2684	[DEBUG]	Executed store
2023-10-13	13:10:11	2684	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 16.80518',`product_name`='SKS Pare-boue S-Guard noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-pare-boue-s-guard-noir-noir' WHERE `virtuemart_product_id` = '1862176'
2023-10-13	13:10:11	2684	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_80518_jpg.jpg
2023-10-13	13:10:11	2684	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:11	2684	[DEBUG]	Process image file
2023-10-13	13:10:11	2684	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:11	2684	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:11	2684	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_80518_jpg.jpg
2023-10-13	13:10:11	2684	[DEBUG]	Full name target: bcprisme/16_80518_jpg.jpg
2023-10-13	13:10:12	2684	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:12	2684	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/16_80518_jpg.jpg'
2023-10-13	13:10:12	2684	[DEBUG]	Query for Media
2023-10-13	13:10:12	2684	[DEBUG]	Executed store
2023-10-13	13:10:12	2684	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/16_80518_jpg.jpg',`file_url_thumb`='bcprisme/16_80518_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '757320'
2023-10-13	13:10:12	2684	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:12	2684	[DEBUG]	Executed store
2023-10-13	13:10:12	2684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862176','757320','1')
2023-10-13	13:10:12	2684	[DEBUG]	Store product image relation
2023-10-13	13:10:12	2684	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:12	2684	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862176 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:12	2684	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:12	2684	[DEBUG]	Executed store
2023-10-13	13:10:12	2684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862176','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:12	2684	[DEBUG]	Checking manufacturer
2023-10-13	13:10:12	2684	[DEBUG]	Load a row
2023-10-13	13:10:12	2684	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:12	2684	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:12	2684	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:12	2684	[DEBUG]	Executed store
2023-10-13	13:10:12	2684	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:12	2684	[DEBUG]	Manufacturer exists
2023-10-13	13:10:12	2684	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:12	2684	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:12	2684	[DEBUG]	Executed store
2023-10-13	13:10:12	2684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862176','8')
2023-10-13	13:10:12	2684	[DEBUG]	Find the custom field ID
2023-10-13	13:10:12	2684	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:12	2684	[DEBUG]	No custom field ID found
2023-10-13	13:10:12	2684	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:12	2684	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:10:12	2684	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862176 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:12	2684	[DEBUG]	Store custom available field
2023-10-13	13:10:12	2684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862176,3,'0',1)
2023-10-13	13:10:12	2684	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:12	2684	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:12	2684	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862176 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:12	2684	[DEBUG]	Store custom available field
2023-10-13	13:10:12	2684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862176,6,'choisir la taille',3)
2023-10-13	13:10:12	2684	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:12	2684	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:12	2684	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:12	2684	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:12	2684	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862176 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:12	2684	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:12	2684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862176,8,1)
2023-10-13	13:10:12	2684	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:12	2684	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862176\":[1862176,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862176
2023-10-13	13:10:12	2684	[DEBUG]	Checking category
2023-10-13	13:10:12	2684	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:12	2684	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862176
2023-10-13	13:10:12	2684	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:12	2684	[DEBUG]	Executed store
2023-10-13	13:10:12	2684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862176','7355')
2023-10-13	13:10:12	2684	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:12	2684	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862176 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:10:12	2684	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:12	2684	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862176
2023-10-13	13:10:12	2685	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:12	2685	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:12	2685	[DEBUG]	Use field value for field taille
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:12	2685	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:12	2685	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:12	2685	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:12	2685	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:12	2685	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:12	2685	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:12	2685	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:12	2685	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:12	2685	[DEBUG]	Use field value for field published
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:12	2685	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field override
2023-10-13	13:10:12	2685	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:12	2685	[DEBUG]	Use field value for field slug
2023-10-13	13:10:12	2685	[DEBUG]	Process line 2685
2023-10-13	13:10:12	2685	[DEBUG]	Load a row
2023-10-13	13:10:12	2685	[DEBUG]	Processing item: 4002556962760
2023-10-13	13:10:12	2685	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:12	2685	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:12	2685	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8287_1'
2023-10-13	13:10:12	2685	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:12	2685	[DEBUG]	Processing product tax
2023-10-13	13:10:12	2685	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:12	2685	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:12	2685	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:12	2685	[DEBUG]	Query for Product
2023-10-13	13:10:12	2685	[DEBUG]	Executed store
2023-10-13	13:10:12	2685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862176','4002556962760','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:12	2685	[DEBUG]	No parent found
2023-10-13	13:10:12	2685	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862176 AND customfield_value = 'stockable'
2023-10-13	13:10:12	2685	[DEBUG]	Check product language entry
2023-10-13	13:10:12	2685	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862177
2023-10-13	13:10:12	2685	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:12	2685	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556962760' AND `virtuemart_product_id` != 1862177
2023-10-13	13:10:12	2685	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:12	2685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862177, '4002556962760')
2023-10-13	13:10:12	2685	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:12	2685	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-pare-boue-s-guard-noir-noir-unitaire' AND `virtuemart_product_id` != 1862177
2023-10-13	13:10:12	2685	[DEBUG]	Query for ProductLang
2023-10-13	13:10:12	2685	[DEBUG]	Executed store
2023-10-13	13:10:12	2685	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS Pare-boue S-Guard noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-pare-boue-s-guard-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1862177'
2023-10-13	13:10:12	2685	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_80518_jpg.jpg
2023-10-13	13:10:12	2685	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:12	2685	[DEBUG]	Process image file
2023-10-13	13:10:12	2685	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:12	2685	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:12	2685	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_80518_jpg.jpg
2023-10-13	13:10:12	2685	[DEBUG]	Full name target: bcprisme/16_80518_jpg.jpg
2023-10-13	13:10:13	2685	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:13	2685	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/16_80518_jpg.jpg'
2023-10-13	13:10:13	2685	[DEBUG]	Query for Media
2023-10-13	13:10:13	2685	[DEBUG]	Executed store
2023-10-13	13:10:13	2685	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/16_80518_jpg.jpg',`file_url_thumb`='bcprisme/16_80518_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '757320'
2023-10-13	13:10:13	2685	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:13	2685	[DEBUG]	Executed store
2023-10-13	13:10:13	2685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862177','757320','1')
2023-10-13	13:10:13	2685	[DEBUG]	Store product image relation
2023-10-13	13:10:13	2685	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:13	2685	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862177 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:13	2685	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:13	2685	[DEBUG]	Executed store
2023-10-13	13:10:13	2685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862177','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:13	2685	[DEBUG]	Checking manufacturer
2023-10-13	13:10:13	2685	[DEBUG]	Load a row
2023-10-13	13:10:13	2685	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:13	2685	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:13	2685	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:13	2685	[DEBUG]	Executed store
2023-10-13	13:10:13	2685	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:13	2685	[DEBUG]	Manufacturer exists
2023-10-13	13:10:13	2685	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:13	2685	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:13	2685	[DEBUG]	Executed store
2023-10-13	13:10:13	2685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862177','8')
2023-10-13	13:10:13	2685	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:13	2685	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:13	2685	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862177 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:13	2685	[DEBUG]	Store custom available field
2023-10-13	13:10:13	2685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862177,3,'',1)
2023-10-13	13:10:13	2685	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:13	2685	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:13	2685	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862177 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:13	2685	[DEBUG]	Store custom available field
2023-10-13	13:10:13	2685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862177,6,'Unitaire',3)
2023-10-13	13:10:13	2685	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:13	2685	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:13	2685	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862176
2023-10-13	13:10:13	2685	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:13	2685	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862176\":[1862176,8,1,\"choisir la taille\"],\"1862177\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862176
2023-10-13	13:10:13	2685	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:13	2685	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862177
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:13	2686	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field taille
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:13	2686	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:13	2686	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:13	2686	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:13	2686	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:13	2686	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:13	2686	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field published
2023-10-13	13:10:13	2686	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:13	2686	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field override
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:13	2686	[DEBUG]	Use field value for field slug
2023-10-13	13:10:13	2686	[DEBUG]	Process line 2686
2023-10-13	13:10:13	2686	[DEBUG]	Load a row
2023-10-13	13:10:13	2686	[DEBUG]	Processing item: A_8467_1
2023-10-13	13:10:13	2686	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:13	2686	[DEBUG]	Processing product tax
2023-10-13	13:10:13	2686	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:13	2686	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:13	2686	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:13	2686	[DEBUG]	Query for Product
2023-10-13	13:10:13	2686	[DEBUG]	Executed store
2023-10-13	13:10:13	2686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8467_1','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:13	2686	[DEBUG]	Check product language entry
2023-10-13	13:10:13	2686	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862178
2023-10-13	13:10:13	2686	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:13	2686	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8467_1' AND `virtuemart_product_id` != 1862178
2023-10-13	13:10:13	2686	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:13	2686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862178, 'A_8467_1')
2023-10-13	13:10:13	2686	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:13	2686	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-gardeboue-avant-bluemels-28-45-mm-noir' AND `virtuemart_product_id` != 1862178
2023-10-13	13:10:13	2686	[DEBUG]	Query for ProductLang
2023-10-13	13:10:13	2686	[DEBUG]	Executed store
2023-10-13	13:10:13	2686	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Gardeboue avant MSC<br>N° art fourn : 16.17332',`product_name`='SKS Gardeboue avant Bluemels 28 45 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-gardeboue-avant-bluemels-28-45-mm-noir' WHERE `virtuemart_product_id` = '1862178'
2023-10-13	13:10:13	2686	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37229_gardeboue_avant_bluemels_28_45_mm.jpg
2023-10-13	13:10:13	2686	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:13	2686	[DEBUG]	Process image file
2023-10-13	13:10:13	2686	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:13	2686	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:13	2686	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37229_gardeboue_avant_bluemels_28_45_mm.jpg
2023-10-13	13:10:13	2686	[DEBUG]	Full name target: bcprisme/37229_gardeboue_avant_bluemels_28_45_mm.jpg
2023-10-13	13:10:14	2686	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:14	2686	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37229_gardeboue_avant_bluemels_28_45_mm.jpg'
2023-10-13	13:10:14	2686	[DEBUG]	Query for Media
2023-10-13	13:10:14	2686	[DEBUG]	Executed store
2023-10-13	13:10:14	2686	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37229_gardeboue_avant_bluemels_28_45_mm.jpg',`file_url_thumb`='bcprisme/37229_gardeboue_avant_bluemels_28_45_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '890309'
2023-10-13	13:10:14	2686	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:14	2686	[DEBUG]	Executed store
2023-10-13	13:10:14	2686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862178','890309','1')
2023-10-13	13:10:14	2686	[DEBUG]	Store product image relation
2023-10-13	13:10:14	2686	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:14	2686	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862178 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:14	2686	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:14	2686	[DEBUG]	Executed store
2023-10-13	13:10:14	2686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862178','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:14	2686	[DEBUG]	Checking manufacturer
2023-10-13	13:10:14	2686	[DEBUG]	Load a row
2023-10-13	13:10:14	2686	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:14	2686	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:14	2686	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:14	2686	[DEBUG]	Executed store
2023-10-13	13:10:14	2686	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:14	2686	[DEBUG]	Manufacturer exists
2023-10-13	13:10:14	2686	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:14	2686	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:14	2686	[DEBUG]	Executed store
2023-10-13	13:10:14	2686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862178','8')
2023-10-13	13:10:14	2686	[DEBUG]	Find the custom field ID
2023-10-13	13:10:14	2686	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:14	2686	[DEBUG]	No custom field ID found
2023-10-13	13:10:14	2686	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:14	2686	[DEBUG]	Get existing row with customfield value 10.8697222222222
2023-10-13	13:10:14	2686	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862178 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:14	2686	[DEBUG]	Store custom available field
2023-10-13	13:10:14	2686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862178,3,'10.8697222222222',1)
2023-10-13	13:10:14	2686	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:14	2686	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:14	2686	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862178 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:14	2686	[DEBUG]	Store custom available field
2023-10-13	13:10:14	2686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862178,6,'choisir la taille',3)
2023-10-13	13:10:14	2686	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:14	2686	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:14	2686	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:14	2686	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:14	2686	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862178 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:14	2686	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:14	2686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862178,8,1)
2023-10-13	13:10:14	2686	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:14	2686	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862178\":[1862178,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862178
2023-10-13	13:10:14	2686	[DEBUG]	Checking category
2023-10-13	13:10:14	2686	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:14	2686	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862178
2023-10-13	13:10:14	2686	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:14	2686	[DEBUG]	Executed store
2023-10-13	13:10:14	2686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862178','7355')
2023-10-13	13:10:14	2686	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:14	2686	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862178 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:10:14	2686	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:14	2686	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862178
2023-10-13	13:10:14	2687	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:14	2687	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:14	2687	[DEBUG]	Use field value for field taille
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:14	2687	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:14	2687	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:14	2687	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:14	2687	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:14	2687	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:14	2687	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:14	2687	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:14	2687	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:14	2687	[DEBUG]	Use field value for field published
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:14	2687	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field override
2023-10-13	13:10:14	2687	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:14	2687	[DEBUG]	Use field value for field slug
2023-10-13	13:10:14	2687	[DEBUG]	Process line 2687
2023-10-13	13:10:14	2687	[DEBUG]	Load a row
2023-10-13	13:10:14	2687	[DEBUG]	Processing item: 4002556305789
2023-10-13	13:10:14	2687	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:14	2687	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:14	2687	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8467_1'
2023-10-13	13:10:14	2687	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:14	2687	[DEBUG]	Processing product tax
2023-10-13	13:10:14	2687	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:14	2687	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:14	2687	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:14	2687	[DEBUG]	Query for Product
2023-10-13	13:10:14	2687	[DEBUG]	Executed store
2023-10-13	13:10:14	2687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862178','4002556305789','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:14	2687	[DEBUG]	No parent found
2023-10-13	13:10:14	2687	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862178 AND customfield_value = 'stockable'
2023-10-13	13:10:14	2687	[DEBUG]	Check product language entry
2023-10-13	13:10:14	2687	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862179
2023-10-13	13:10:14	2687	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:14	2687	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556305789' AND `virtuemart_product_id` != 1862179
2023-10-13	13:10:14	2687	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:14	2687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862179, '4002556305789')
2023-10-13	13:10:14	2687	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:14	2687	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-gardeboue-avant-bluemels-28-45-mm-noir-unitaire' AND `virtuemart_product_id` != 1862179
2023-10-13	13:10:14	2687	[DEBUG]	Query for ProductLang
2023-10-13	13:10:14	2687	[DEBUG]	Executed store
2023-10-13	13:10:14	2687	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS Gardeboue avant Bluemels 28 45 mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-gardeboue-avant-bluemels-28-45-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862179'
2023-10-13	13:10:14	2687	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37229_gardeboue_avant_bluemels_28_45_mm.jpg
2023-10-13	13:10:14	2687	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:14	2687	[DEBUG]	Process image file
2023-10-13	13:10:14	2687	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:14	2687	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:14	2687	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37229_gardeboue_avant_bluemels_28_45_mm.jpg
2023-10-13	13:10:14	2687	[DEBUG]	Full name target: bcprisme/37229_gardeboue_avant_bluemels_28_45_mm.jpg
2023-10-13	13:10:15	2687	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:15	2687	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37229_gardeboue_avant_bluemels_28_45_mm.jpg'
2023-10-13	13:10:15	2687	[DEBUG]	Query for Media
2023-10-13	13:10:15	2687	[DEBUG]	Executed store
2023-10-13	13:10:15	2687	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37229_gardeboue_avant_bluemels_28_45_mm.jpg',`file_url_thumb`='bcprisme/37229_gardeboue_avant_bluemels_28_45_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '890309'
2023-10-13	13:10:15	2687	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:15	2687	[DEBUG]	Executed store
2023-10-13	13:10:15	2687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862179','890309','1')
2023-10-13	13:10:15	2687	[DEBUG]	Store product image relation
2023-10-13	13:10:15	2687	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:15	2687	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862179 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:15	2687	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:15	2687	[DEBUG]	Executed store
2023-10-13	13:10:15	2687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862179','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:15	2687	[DEBUG]	Checking manufacturer
2023-10-13	13:10:15	2687	[DEBUG]	Load a row
2023-10-13	13:10:15	2687	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:15	2687	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:15	2687	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:15	2687	[DEBUG]	Executed store
2023-10-13	13:10:15	2687	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:15	2687	[DEBUG]	Manufacturer exists
2023-10-13	13:10:15	2687	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:15	2687	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:15	2687	[DEBUG]	Executed store
2023-10-13	13:10:15	2687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862179','8')
2023-10-13	13:10:15	2687	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:15	2687	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:15	2687	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862179 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:15	2687	[DEBUG]	Store custom available field
2023-10-13	13:10:15	2687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862179,3,'',1)
2023-10-13	13:10:15	2687	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:15	2687	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:15	2687	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862179 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:15	2687	[DEBUG]	Store custom available field
2023-10-13	13:10:15	2687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862179,6,'Unitaire',3)
2023-10-13	13:10:15	2687	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:15	2687	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:15	2687	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862178
2023-10-13	13:10:15	2687	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:15	2687	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862178\":[1862178,8,1,\"choisir la taille\"],\"1862179\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862178
2023-10-13	13:10:15	2687	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:15	2687	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862179
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:15	2688	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field taille
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:15	2688	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:15	2688	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:15	2688	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:15	2688	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:15	2688	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:15	2688	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field published
2023-10-13	13:10:15	2688	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:15	2688	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field override
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:15	2688	[DEBUG]	Use field value for field slug
2023-10-13	13:10:15	2688	[DEBUG]	Process line 2688
2023-10-13	13:10:15	2688	[DEBUG]	Load a row
2023-10-13	13:10:15	2688	[DEBUG]	Processing item: A_8638_1
2023-10-13	13:10:15	2688	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:15	2688	[DEBUG]	Processing product tax
2023-10-13	13:10:15	2688	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:15	2688	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:15	2688	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:15	2688	[DEBUG]	Query for Product
2023-10-13	13:10:15	2688	[DEBUG]	Executed store
2023-10-13	13:10:15	2688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8638_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:15	2688	[DEBUG]	Check product language entry
2023-10-13	13:10:15	2688	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862180
2023-10-13	13:10:15	2688	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:15	2688	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8638_1' AND `virtuemart_product_id` != 1862180
2023-10-13	13:10:15	2688	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:15	2688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862180, 'A_8638_1')
2023-10-13	13:10:15	2688	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:15	2688	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-support-fixation-systeme-de-cone-2-0-shockboard-dashboard-shockblade-noir' AND `virtuemart_product_id` != 1862180
2023-10-13	13:10:15	2688	[DEBUG]	Query for ProductLang
2023-10-13	13:10:15	2688	[DEBUG]	Executed store
2023-10-13	13:10:15	2688	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 16.83069',`product_name`='SKS Support fixation système de cône 2.0 Shockboard/Dashboard/Shockblade / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-support-fixation-systeme-de-cone-2-0-shockboard-dashboard-shockblade-noir' WHERE `virtuemart_product_id` = '1862180'
2023-10-13	13:10:15	2688	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_83069_jpg.jpg
2023-10-13	13:10:15	2688	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:15	2688	[DEBUG]	Process image file
2023-10-13	13:10:15	2688	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:15	2688	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:15	2688	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_83069_jpg.jpg
2023-10-13	13:10:15	2688	[DEBUG]	Full name target: bcprisme/16_83069_jpg.jpg
2023-10-13	13:10:16	2688	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:16	2688	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/16_83069_jpg.jpg'
2023-10-13	13:10:16	2688	[DEBUG]	Query for Media
2023-10-13	13:10:16	2688	[DEBUG]	Executed store
2023-10-13	13:10:16	2688	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/16_83069_jpg.jpg',`file_url_thumb`='bcprisme/16_83069_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1001451'
2023-10-13	13:10:16	2688	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:16	2688	[DEBUG]	Executed store
2023-10-13	13:10:16	2688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862180','1001451','1')
2023-10-13	13:10:16	2688	[DEBUG]	Store product image relation
2023-10-13	13:10:16	2688	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:16	2688	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862180 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:16	2688	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:16	2688	[DEBUG]	Executed store
2023-10-13	13:10:16	2688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862180','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:16	2688	[DEBUG]	Checking manufacturer
2023-10-13	13:10:16	2688	[DEBUG]	Load a row
2023-10-13	13:10:16	2688	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:16	2688	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:16	2688	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:16	2688	[DEBUG]	Executed store
2023-10-13	13:10:16	2688	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:16	2688	[DEBUG]	Manufacturer exists
2023-10-13	13:10:16	2688	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:16	2688	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:16	2688	[DEBUG]	Executed store
2023-10-13	13:10:16	2688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862180','8')
2023-10-13	13:10:16	2688	[DEBUG]	Find the custom field ID
2023-10-13	13:10:16	2688	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:16	2688	[DEBUG]	No custom field ID found
2023-10-13	13:10:16	2688	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:16	2688	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:10:16	2688	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862180 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:16	2688	[DEBUG]	Store custom available field
2023-10-13	13:10:16	2688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862180,3,'0',1)
2023-10-13	13:10:16	2688	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:16	2688	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:16	2688	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862180 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:16	2688	[DEBUG]	Store custom available field
2023-10-13	13:10:16	2688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862180,6,'choisir la taille',3)
2023-10-13	13:10:16	2688	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:16	2688	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:16	2688	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:16	2688	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:16	2688	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862180 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:16	2688	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:16	2688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862180,8,1)
2023-10-13	13:10:16	2688	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:16	2688	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862180\":[1862180,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862180
2023-10-13	13:10:16	2688	[DEBUG]	Checking category
2023-10-13	13:10:16	2688	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:16	2688	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862180
2023-10-13	13:10:16	2688	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:16	2688	[DEBUG]	Executed store
2023-10-13	13:10:16	2688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862180','7355')
2023-10-13	13:10:16	2688	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:16	2688	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862180 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:10:16	2688	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:16	2688	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862180
2023-10-13	13:10:16	2689	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:16	2689	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:16	2689	[DEBUG]	Use field value for field taille
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:16	2689	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:16	2689	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:16	2689	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:16	2689	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:16	2689	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:16	2689	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:16	2689	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:16	2689	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:16	2689	[DEBUG]	Use field value for field published
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:16	2689	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field override
2023-10-13	13:10:16	2689	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:16	2689	[DEBUG]	Use field value for field slug
2023-10-13	13:10:16	2689	[DEBUG]	Process line 2689
2023-10-13	13:10:16	2689	[DEBUG]	Load a row
2023-10-13	13:10:16	2689	[DEBUG]	Processing item: 4002556026769
2023-10-13	13:10:16	2689	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:16	2689	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:16	2689	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8638_1'
2023-10-13	13:10:16	2689	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:16	2689	[DEBUG]	Processing product tax
2023-10-13	13:10:16	2689	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:16	2689	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:16	2689	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:16	2689	[DEBUG]	Query for Product
2023-10-13	13:10:16	2689	[DEBUG]	Executed store
2023-10-13	13:10:16	2689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862180','4002556026769','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:16	2689	[DEBUG]	No parent found
2023-10-13	13:10:16	2689	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862180 AND customfield_value = 'stockable'
2023-10-13	13:10:16	2689	[DEBUG]	Check product language entry
2023-10-13	13:10:16	2689	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862181
2023-10-13	13:10:16	2689	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:16	2689	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556026769' AND `virtuemart_product_id` != 1862181
2023-10-13	13:10:16	2689	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:16	2689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862181, '4002556026769')
2023-10-13	13:10:16	2689	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:16	2689	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-support-fixation-systeme-de-cone-2-0-shockboard-dashboard-shockblade-noir-unitaire' AND `virtuemart_product_id` != 1862181
2023-10-13	13:10:16	2689	[DEBUG]	Query for ProductLang
2023-10-13	13:10:16	2689	[DEBUG]	Executed store
2023-10-13	13:10:16	2689	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS Support fixation système de cône 2.0 Shockboard/Dashboard/Shockblade / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-support-fixation-systeme-de-cone-2-0-shockboard-dashboard-shockblade-noir-unitaire' WHERE `virtuemart_product_id` = '1862181'
2023-10-13	13:10:16	2689	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_83069_jpg.jpg
2023-10-13	13:10:16	2689	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:16	2689	[DEBUG]	Process image file
2023-10-13	13:10:16	2689	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:16	2689	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:16	2689	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_83069_jpg.jpg
2023-10-13	13:10:16	2689	[DEBUG]	Full name target: bcprisme/16_83069_jpg.jpg
2023-10-13	13:10:17	2689	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:17	2689	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/16_83069_jpg.jpg'
2023-10-13	13:10:17	2689	[DEBUG]	Query for Media
2023-10-13	13:10:17	2689	[DEBUG]	Executed store
2023-10-13	13:10:17	2689	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/16_83069_jpg.jpg',`file_url_thumb`='bcprisme/16_83069_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1001451'
2023-10-13	13:10:17	2689	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:17	2689	[DEBUG]	Executed store
2023-10-13	13:10:17	2689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862181','1001451','1')
2023-10-13	13:10:17	2689	[DEBUG]	Store product image relation
2023-10-13	13:10:17	2689	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:17	2689	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862181 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:17	2689	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:17	2689	[DEBUG]	Executed store
2023-10-13	13:10:17	2689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862181','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:17	2689	[DEBUG]	Checking manufacturer
2023-10-13	13:10:17	2689	[DEBUG]	Load a row
2023-10-13	13:10:17	2689	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:17	2689	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:17	2689	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:17	2689	[DEBUG]	Executed store
2023-10-13	13:10:17	2689	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:17	2689	[DEBUG]	Manufacturer exists
2023-10-13	13:10:17	2689	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:17	2689	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:17	2689	[DEBUG]	Executed store
2023-10-13	13:10:17	2689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862181','8')
2023-10-13	13:10:17	2689	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:17	2689	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:17	2689	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862181 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:17	2689	[DEBUG]	Store custom available field
2023-10-13	13:10:17	2689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862181,3,'',1)
2023-10-13	13:10:17	2689	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:17	2689	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:17	2689	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862181 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:17	2689	[DEBUG]	Store custom available field
2023-10-13	13:10:17	2689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862181,6,'Unitaire',3)
2023-10-13	13:10:17	2689	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:17	2689	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:17	2689	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862180
2023-10-13	13:10:17	2689	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:17	2689	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862180\":[1862180,8,1,\"choisir la taille\"],\"1862181\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862180
2023-10-13	13:10:17	2689	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:17	2689	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862181
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:17	2690	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field taille
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:17	2690	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:17	2690	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:17	2690	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:17	2690	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:17	2690	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:17	2690	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field published
2023-10-13	13:10:17	2690	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:17	2690	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field override
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:17	2690	[DEBUG]	Use field value for field slug
2023-10-13	13:10:17	2690	[DEBUG]	Process line 2690
2023-10-13	13:10:17	2690	[DEBUG]	Load a row
2023-10-13	13:10:17	2690	[DEBUG]	Processing item: A_9405_1
2023-10-13	13:10:17	2690	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:17	2690	[DEBUG]	Processing product tax
2023-10-13	13:10:17	2690	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:17	2690	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:17	2690	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:17	2690	[DEBUG]	Query for Product
2023-10-13	13:10:17	2690	[DEBUG]	Executed store
2023-10-13	13:10:17	2690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9405_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:17	2690	[DEBUG]	Check product language entry
2023-10-13	13:10:17	2690	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862182
2023-10-13	13:10:17	2690	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:17	2690	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9405_1' AND `virtuemart_product_id` != 1862182
2023-10-13	13:10:17	2690	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:17	2690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862182, 'A_9405_1')
2023-10-13	13:10:17	2690	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:17	2690	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-garde-boue-gar-amovible-raceblade-pro-xl-28-noir-noir' AND `virtuemart_product_id` != 1862182
2023-10-13	13:10:17	2690	[DEBUG]	Query for ProductLang
2023-10-13	13:10:17	2690	[DEBUG]	Executed store
2023-10-13	13:10:17	2690	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 16.65626',`product_name`='SKS Garde-boue gar. amovible Raceblade Pro XL 28 noir / Noir&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-garde-boue-gar-amovible-raceblade-pro-xl-28-noir-noir' WHERE `virtuemart_product_id` = '1862182'
2023-10-13	13:10:17	2690	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_6562.jpg
2023-10-13	13:10:17	2690	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:17	2690	[DEBUG]	Process image file
2023-10-13	13:10:17	2690	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:17	2690	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:17	2690	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_6562.jpg
2023-10-13	13:10:17	2690	[DEBUG]	Full name target: bcprisme/16_6562.jpg
2023-10-13	13:10:18	2690	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:18	2690	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/16_6562.jpg'
2023-10-13	13:10:18	2690	[DEBUG]	Query for Media
2023-10-13	13:10:18	2690	[DEBUG]	Executed store
2023-10-13	13:10:18	2690	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/16_6562.jpg',`file_url_thumb`='bcprisme/16_6562.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412181'
2023-10-13	13:10:18	2690	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:18	2690	[DEBUG]	Executed store
2023-10-13	13:10:18	2690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862182','1412181','1')
2023-10-13	13:10:18	2690	[DEBUG]	Store product image relation
2023-10-13	13:10:18	2690	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:18	2690	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862182 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:18	2690	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:18	2690	[DEBUG]	Executed store
2023-10-13	13:10:18	2690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862182','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:18	2690	[DEBUG]	Checking manufacturer
2023-10-13	13:10:18	2690	[DEBUG]	Load a row
2023-10-13	13:10:18	2690	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:18	2690	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:18	2690	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:18	2690	[DEBUG]	Executed store
2023-10-13	13:10:18	2690	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:18	2690	[DEBUG]	Manufacturer exists
2023-10-13	13:10:18	2690	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:18	2690	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:18	2690	[DEBUG]	Executed store
2023-10-13	13:10:18	2690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862182','8')
2023-10-13	13:10:18	2690	[DEBUG]	Find the custom field ID
2023-10-13	13:10:18	2690	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:18	2690	[DEBUG]	No custom field ID found
2023-10-13	13:10:18	2690	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:18	2690	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:10:18	2690	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862182 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:18	2690	[DEBUG]	Store custom available field
2023-10-13	13:10:18	2690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862182,3,'0',1)
2023-10-13	13:10:18	2690	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:18	2690	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:18	2690	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862182 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:18	2690	[DEBUG]	Store custom available field
2023-10-13	13:10:18	2690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862182,6,'choisir la taille',3)
2023-10-13	13:10:18	2690	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:18	2690	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:18	2690	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:18	2690	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:18	2690	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862182 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:18	2690	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:18	2690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862182,8,1)
2023-10-13	13:10:18	2690	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:18	2690	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862182\":[1862182,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862182
2023-10-13	13:10:18	2690	[DEBUG]	Checking category
2023-10-13	13:10:18	2690	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:18	2690	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862182
2023-10-13	13:10:18	2690	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:18	2690	[DEBUG]	Executed store
2023-10-13	13:10:18	2690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862182','7355')
2023-10-13	13:10:18	2690	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:18	2690	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862182 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:10:18	2690	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:18	2690	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862182
2023-10-13	13:10:18	2691	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:18	2691	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:18	2691	[DEBUG]	Use field value for field taille
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:18	2691	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:18	2691	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:18	2691	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:18	2691	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:18	2691	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:18	2691	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:18	2691	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:18	2691	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:18	2691	[DEBUG]	Use field value for field published
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:18	2691	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field override
2023-10-13	13:10:18	2691	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:18	2691	[DEBUG]	Use field value for field slug
2023-10-13	13:10:18	2691	[DEBUG]	Process line 2691
2023-10-13	13:10:18	2691	[DEBUG]	Load a row
2023-10-13	13:10:18	2691	[DEBUG]	Processing item: 4002556684716
2023-10-13	13:10:18	2691	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:18	2691	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:18	2691	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9405_1'
2023-10-13	13:10:18	2691	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:18	2691	[DEBUG]	Processing product tax
2023-10-13	13:10:18	2691	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:18	2691	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:18	2691	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:18	2691	[DEBUG]	Query for Product
2023-10-13	13:10:18	2691	[DEBUG]	Executed store
2023-10-13	13:10:18	2691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862182','4002556684716','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:18	2691	[DEBUG]	No parent found
2023-10-13	13:10:18	2691	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862182 AND customfield_value = 'stockable'
2023-10-13	13:10:18	2691	[DEBUG]	Check product language entry
2023-10-13	13:10:18	2691	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862183
2023-10-13	13:10:18	2691	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:18	2691	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556684716' AND `virtuemart_product_id` != 1862183
2023-10-13	13:10:18	2691	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:18	2691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862183, '4002556684716')
2023-10-13	13:10:18	2691	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:18	2691	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-garde-boue-gar-amovible-raceblade-pro-xl-28-noir-noir-unitaire' AND `virtuemart_product_id` != 1862183
2023-10-13	13:10:18	2691	[DEBUG]	Query for ProductLang
2023-10-13	13:10:18	2691	[DEBUG]	Executed store
2023-10-13	13:10:18	2691	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS Garde-boue gar. amovible Raceblade Pro XL 28 noir / Noir (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-garde-boue-gar-amovible-raceblade-pro-xl-28-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1862183'
2023-10-13	13:10:18	2691	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_6562.jpg
2023-10-13	13:10:18	2691	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:18	2691	[DEBUG]	Process image file
2023-10-13	13:10:18	2691	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:10:18	2691	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:18	2691	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/16_6562.jpg
2023-10-13	13:10:18	2691	[DEBUG]	Full name target: bcprisme/16_6562.jpg
2023-10-13	13:10:19	2691	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:19	2691	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/16_6562.jpg'
2023-10-13	13:10:19	2691	[DEBUG]	Query for Media
2023-10-13	13:10:19	2691	[DEBUG]	Executed store
2023-10-13	13:10:19	2691	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/16_6562.jpg',`file_url_thumb`='bcprisme/16_6562.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412181'
2023-10-13	13:10:19	2691	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:19	2691	[DEBUG]	Executed store
2023-10-13	13:10:19	2691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862183','1412181','1')
2023-10-13	13:10:19	2691	[DEBUG]	Store product image relation
2023-10-13	13:10:19	2691	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:19	2691	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862183 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:19	2691	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:19	2691	[DEBUG]	Executed store
2023-10-13	13:10:19	2691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862183','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:19	2691	[DEBUG]	Checking manufacturer
2023-10-13	13:10:19	2691	[DEBUG]	Load a row
2023-10-13	13:10:19	2691	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:19	2691	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:19	2691	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:19	2691	[DEBUG]	Executed store
2023-10-13	13:10:19	2691	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:10:19	2691	[DEBUG]	Manufacturer exists
2023-10-13	13:10:19	2691	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:10:19	2691	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:19	2691	[DEBUG]	Executed store
2023-10-13	13:10:19	2691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862183','8')
2023-10-13	13:10:19	2691	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:19	2691	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:19	2691	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862183 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:19	2691	[DEBUG]	Store custom available field
2023-10-13	13:10:19	2691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862183,3,'',1)
2023-10-13	13:10:19	2691	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:19	2691	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:19	2691	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862183 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:19	2691	[DEBUG]	Store custom available field
2023-10-13	13:10:19	2691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862183,6,'Unitaire',3)
2023-10-13	13:10:19	2691	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:19	2691	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:19	2691	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862182
2023-10-13	13:10:19	2691	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:19	2691	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862182\":[1862182,8,1,\"choisir la taille\"],\"1862183\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862182
2023-10-13	13:10:19	2691	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:19	2691	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862183
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:19	2692	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field taille
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:19	2692	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:19	2692	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:19	2692	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:19	2692	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:19	2692	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:19	2692	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field published
2023-10-13	13:10:19	2692	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:19	2692	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field override
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:19	2692	[DEBUG]	Use field value for field slug
2023-10-13	13:10:19	2692	[DEBUG]	Process line 2692
2023-10-13	13:10:19	2692	[DEBUG]	Load a row
2023-10-13	13:10:19	2692	[DEBUG]	Processing item: A_9527_42
2023-10-13	13:10:19	2692	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:19	2692	[DEBUG]	Processing product tax
2023-10-13	13:10:19	2692	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:19	2692	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:19	2692	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:19	2692	[DEBUG]	Query for Product
2023-10-13	13:10:19	2692	[DEBUG]	Executed store
2023-10-13	13:10:19	2692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9527_42','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:19	2692	[DEBUG]	Check product language entry
2023-10-13	13:10:19	2692	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862184
2023-10-13	13:10:19	2692	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:19	2692	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9527_42' AND `virtuemart_product_id` != 1862184
2023-10-13	13:10:19	2692	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:19	2692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862184, 'A_9527_42')
2023-10-13	13:10:19	2692	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:19	2692	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-gardeboue-avant-fox-brun' AND `virtuemart_product_id` != 1862184
2023-10-13	13:10:19	2692	[DEBUG]	Query for ProductLang
2023-10-13	13:10:19	2692	[DEBUG]	Executed store
2023-10-13	13:10:19	2692	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Gardeboue avant MSC<br>N° art fourn : 31192- OS',`product_name`='Fox Gardeboue avant FOX / Brun',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-gardeboue-avant-fox-brun' WHERE `virtuemart_product_id` = '1862184'
2023-10-13	13:10:19	2692	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38897_gardeboue_avant_fox.jpg
2023-10-13	13:10:19	2692	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:10:19	2692	[DEBUG]	Process image file
2023-10-13	13:10:19	2692	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:10:19	2692	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:19	2692	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38897_gardeboue_avant_fox.jpg
2023-10-13	13:10:19	2692	[DEBUG]	Full name target: bcprisme/38897_gardeboue_avant_fox.jpg
2023-10-13	13:10:20	2692	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:20	2692	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38897_gardeboue_avant_fox.jpg'
2023-10-13	13:10:20	2692	[DEBUG]	Query for Media
2023-10-13	13:10:20	2692	[DEBUG]	Executed store
2023-10-13	13:10:20	2692	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38897_gardeboue_avant_fox.jpg',`file_url_thumb`='bcprisme/38897_gardeboue_avant_fox.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1456527'
2023-10-13	13:10:20	2692	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:20	2692	[DEBUG]	Executed store
2023-10-13	13:10:20	2692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862184','1456527','1')
2023-10-13	13:10:20	2692	[DEBUG]	Store product image relation
2023-10-13	13:10:20	2692	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:20	2692	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862184 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:20	2692	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:20	2692	[DEBUG]	Executed store
2023-10-13	13:10:20	2692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862184','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:20	2692	[DEBUG]	Checking manufacturer
2023-10-13	13:10:20	2692	[DEBUG]	Load a row
2023-10-13	13:10:20	2692	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:20	2692	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	13:10:20	2692	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:20	2692	[DEBUG]	Executed store
2023-10-13	13:10:20	2692	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	13:10:20	2692	[DEBUG]	Manufacturer exists
2023-10-13	13:10:20	2692	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	13:10:20	2692	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:20	2692	[DEBUG]	Executed store
2023-10-13	13:10:20	2692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862184','44')
2023-10-13	13:10:20	2692	[DEBUG]	Find the custom field ID
2023-10-13	13:10:20	2692	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:20	2692	[DEBUG]	No custom field ID found
2023-10-13	13:10:20	2692	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:20	2692	[DEBUG]	Get existing row with customfield value 10.8697222222222
2023-10-13	13:10:20	2692	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862184 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:20	2692	[DEBUG]	Store custom available field
2023-10-13	13:10:20	2692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862184,3,'10.8697222222222',1)
2023-10-13	13:10:20	2692	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:20	2692	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:20	2692	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862184 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:20	2692	[DEBUG]	Store custom available field
2023-10-13	13:10:20	2692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862184,6,'choisir la taille',3)
2023-10-13	13:10:20	2692	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:20	2692	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:20	2692	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:20	2692	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:20	2692	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862184 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:20	2692	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:20	2692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862184,8,1)
2023-10-13	13:10:20	2692	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:20	2692	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862184\":[1862184,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862184
2023-10-13	13:10:20	2692	[DEBUG]	Checking category
2023-10-13	13:10:20	2692	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:20	2692	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862184
2023-10-13	13:10:20	2692	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:20	2692	[DEBUG]	Executed store
2023-10-13	13:10:20	2692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862184','7355')
2023-10-13	13:10:20	2692	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:20	2692	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862184 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:10:20	2692	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:20	2692	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862184
2023-10-13	13:10:20	2693	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:20	2693	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:20	2693	[DEBUG]	Use field value for field taille
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:20	2693	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:20	2693	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:20	2693	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:20	2693	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:20	2693	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:20	2693	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:20	2693	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:20	2693	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:20	2693	[DEBUG]	Use field value for field published
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:20	2693	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field override
2023-10-13	13:10:20	2693	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:20	2693	[DEBUG]	Use field value for field slug
2023-10-13	13:10:20	2693	[DEBUG]	Process line 2693
2023-10-13	13:10:20	2693	[DEBUG]	Load a row
2023-10-13	13:10:20	2693	[DEBUG]	Processing item: 191972779275
2023-10-13	13:10:20	2693	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:20	2693	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:20	2693	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9527_42'
2023-10-13	13:10:20	2693	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:20	2693	[DEBUG]	Processing product tax
2023-10-13	13:10:20	2693	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:20	2693	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:20	2693	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:20	2693	[DEBUG]	Query for Product
2023-10-13	13:10:20	2693	[DEBUG]	Executed store
2023-10-13	13:10:20	2693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862184','191972779275','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:20	2693	[DEBUG]	No parent found
2023-10-13	13:10:20	2693	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862184 AND customfield_value = 'stockable'
2023-10-13	13:10:20	2693	[DEBUG]	Check product language entry
2023-10-13	13:10:20	2693	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862185
2023-10-13	13:10:20	2693	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:20	2693	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '191972779275' AND `virtuemart_product_id` != 1862185
2023-10-13	13:10:20	2693	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:20	2693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862185, '191972779275')
2023-10-13	13:10:20	2693	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:20	2693	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-gardeboue-avant-fox-brun-unitaire' AND `virtuemart_product_id` != 1862185
2023-10-13	13:10:20	2693	[DEBUG]	Query for ProductLang
2023-10-13	13:10:20	2693	[DEBUG]	Executed store
2023-10-13	13:10:20	2693	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Gardeboue avant FOX / Brun (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-gardeboue-avant-fox-brun-unitaire' WHERE `virtuemart_product_id` = '1862185'
2023-10-13	13:10:20	2693	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38897_gardeboue_avant_fox.jpg
2023-10-13	13:10:20	2693	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:10:20	2693	[DEBUG]	Process image file
2023-10-13	13:10:20	2693	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:10:20	2693	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:20	2693	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38897_gardeboue_avant_fox.jpg
2023-10-13	13:10:20	2693	[DEBUG]	Full name target: bcprisme/38897_gardeboue_avant_fox.jpg
2023-10-13	13:10:21	2693	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:21	2693	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38897_gardeboue_avant_fox.jpg'
2023-10-13	13:10:21	2693	[DEBUG]	Query for Media
2023-10-13	13:10:21	2693	[DEBUG]	Executed store
2023-10-13	13:10:21	2693	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38897_gardeboue_avant_fox.jpg',`file_url_thumb`='bcprisme/38897_gardeboue_avant_fox.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1456527'
2023-10-13	13:10:21	2693	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:21	2693	[DEBUG]	Executed store
2023-10-13	13:10:21	2693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862185','1456527','1')
2023-10-13	13:10:21	2693	[DEBUG]	Store product image relation
2023-10-13	13:10:21	2693	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:21	2693	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862185 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:21	2693	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:21	2693	[DEBUG]	Executed store
2023-10-13	13:10:21	2693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862185','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:21	2693	[DEBUG]	Checking manufacturer
2023-10-13	13:10:21	2693	[DEBUG]	Load a row
2023-10-13	13:10:21	2693	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:21	2693	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	13:10:21	2693	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:21	2693	[DEBUG]	Executed store
2023-10-13	13:10:21	2693	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	13:10:21	2693	[DEBUG]	Manufacturer exists
2023-10-13	13:10:21	2693	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	13:10:21	2693	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:21	2693	[DEBUG]	Executed store
2023-10-13	13:10:21	2693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862185','44')
2023-10-13	13:10:21	2693	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:21	2693	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:21	2693	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862185 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:21	2693	[DEBUG]	Store custom available field
2023-10-13	13:10:21	2693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862185,3,'',1)
2023-10-13	13:10:21	2693	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:21	2693	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:21	2693	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862185 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:21	2693	[DEBUG]	Store custom available field
2023-10-13	13:10:21	2693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862185,6,'Unitaire',3)
2023-10-13	13:10:21	2693	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:21	2693	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:21	2693	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862184
2023-10-13	13:10:21	2693	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:21	2693	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862184\":[1862184,8,1,\"choisir la taille\"],\"1862185\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862184
2023-10-13	13:10:21	2693	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:21	2693	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862185
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:21	2694	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field taille
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:21	2694	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:21	2694	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:21	2694	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:21	2694	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:21	2694	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:21	2694	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field published
2023-10-13	13:10:21	2694	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:21	2694	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field override
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:21	2694	[DEBUG]	Use field value for field slug
2023-10-13	13:10:21	2694	[DEBUG]	Process line 2694
2023-10-13	13:10:21	2694	[DEBUG]	Load a row
2023-10-13	13:10:21	2694	[DEBUG]	Processing item: A_9527_804
2023-10-13	13:10:21	2694	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:21	2694	[DEBUG]	Processing product tax
2023-10-13	13:10:21	2694	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:21	2694	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:21	2694	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:21	2694	[DEBUG]	Query for Product
2023-10-13	13:10:21	2694	[DEBUG]	Executed store
2023-10-13	13:10:21	2694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9527_804','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:21	2694	[DEBUG]	Check product language entry
2023-10-13	13:10:21	2694	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862186
2023-10-13	13:10:21	2694	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:21	2694	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9527_804' AND `virtuemart_product_id` != 1862186
2023-10-13	13:10:21	2694	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:21	2694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862186, 'A_9527_804')
2023-10-13	13:10:21	2694	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:21	2694	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-gardeboue-avant-fox-noir-rose' AND `virtuemart_product_id` != 1862186
2023-10-13	13:10:21	2694	[DEBUG]	Query for ProductLang
2023-10-13	13:10:21	2694	[DEBUG]	Executed store
2023-10-13	13:10:21	2694	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Gardeboue avant MSC<br>N° art fourn : 31192- OS',`product_name`='Fox Gardeboue avant FOX / NOIR/ROSE',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-gardeboue-avant-fox-noir-rose' WHERE `virtuemart_product_id` = '1862186'
2023-10-13	13:10:21	2694	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38892_gardeboue_avant_fox.jpg
2023-10-13	13:10:21	2694	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:10:21	2694	[DEBUG]	Process image file
2023-10-13	13:10:21	2694	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:10:21	2694	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:21	2694	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38892_gardeboue_avant_fox.jpg
2023-10-13	13:10:21	2694	[DEBUG]	Full name target: bcprisme/38892_gardeboue_avant_fox.jpg
2023-10-13	13:10:22	2694	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:22	2694	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38892_gardeboue_avant_fox.jpg'
2023-10-13	13:10:22	2694	[DEBUG]	Query for Media
2023-10-13	13:10:22	2694	[DEBUG]	Executed store
2023-10-13	13:10:22	2694	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38892_gardeboue_avant_fox.jpg',`file_url_thumb`='bcprisme/38892_gardeboue_avant_fox.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1456529'
2023-10-13	13:10:22	2694	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:22	2694	[DEBUG]	Executed store
2023-10-13	13:10:22	2694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862186','1456529','1')
2023-10-13	13:10:22	2694	[DEBUG]	Store product image relation
2023-10-13	13:10:22	2694	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:22	2694	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862186 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:22	2694	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:22	2694	[DEBUG]	Executed store
2023-10-13	13:10:22	2694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862186','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:22	2694	[DEBUG]	Checking manufacturer
2023-10-13	13:10:22	2694	[DEBUG]	Load a row
2023-10-13	13:10:22	2694	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:22	2694	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	13:10:22	2694	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:22	2694	[DEBUG]	Executed store
2023-10-13	13:10:22	2694	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	13:10:22	2694	[DEBUG]	Manufacturer exists
2023-10-13	13:10:22	2694	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	13:10:22	2694	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:22	2694	[DEBUG]	Executed store
2023-10-13	13:10:22	2694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862186','44')
2023-10-13	13:10:22	2694	[DEBUG]	Find the custom field ID
2023-10-13	13:10:22	2694	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:22	2694	[DEBUG]	No custom field ID found
2023-10-13	13:10:22	2694	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:22	2694	[DEBUG]	Get existing row with customfield value 10.8697222222222
2023-10-13	13:10:22	2694	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862186 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:22	2694	[DEBUG]	Store custom available field
2023-10-13	13:10:22	2694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862186,3,'10.8697222222222',1)
2023-10-13	13:10:22	2694	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:22	2694	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:22	2694	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862186 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:22	2694	[DEBUG]	Store custom available field
2023-10-13	13:10:22	2694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862186,6,'choisir la taille',3)
2023-10-13	13:10:22	2694	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:22	2694	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:22	2694	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:22	2694	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:22	2694	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862186 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:22	2694	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:22	2694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862186,8,1)
2023-10-13	13:10:22	2694	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:22	2694	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862186\":[1862186,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862186
2023-10-13	13:10:22	2694	[DEBUG]	Checking category
2023-10-13	13:10:22	2694	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:22	2694	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862186
2023-10-13	13:10:22	2694	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:22	2694	[DEBUG]	Executed store
2023-10-13	13:10:22	2694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862186','7355')
2023-10-13	13:10:22	2694	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:22	2694	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862186 AND `virtuemart_category_id` NOT IN (7355)
2023-10-13	13:10:22	2694	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:22	2694	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862186
2023-10-13	13:10:22	2695	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:22	2695	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:22	2695	[DEBUG]	Use field value for field taille
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:22	2695	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:22	2695	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:22	2695	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:22	2695	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:22	2695	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:22	2695	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:22	2695	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:22	2695	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:22	2695	[DEBUG]	Use field value for field published
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:22	2695	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field override
2023-10-13	13:10:22	2695	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:22	2695	[DEBUG]	Use field value for field slug
2023-10-13	13:10:22	2695	[DEBUG]	Process line 2695
2023-10-13	13:10:22	2695	[DEBUG]	Load a row
2023-10-13	13:10:22	2695	[DEBUG]	Processing item: 1000002079805
2023-10-13	13:10:22	2695	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:22	2695	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:22	2695	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9527_804'
2023-10-13	13:10:22	2695	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:22	2695	[DEBUG]	Processing product tax
2023-10-13	13:10:22	2695	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:22	2695	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:22	2695	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:22	2695	[DEBUG]	Query for Product
2023-10-13	13:10:22	2695	[DEBUG]	Executed store
2023-10-13	13:10:22	2695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862186','1000002079805','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:22	2695	[DEBUG]	No parent found
2023-10-13	13:10:22	2695	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862186 AND customfield_value = 'stockable'
2023-10-13	13:10:22	2695	[DEBUG]	Check product language entry
2023-10-13	13:10:22	2695	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862187
2023-10-13	13:10:22	2695	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:22	2695	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000002079805' AND `virtuemart_product_id` != 1862187
2023-10-13	13:10:22	2695	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:22	2695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862187, '1000002079805')
2023-10-13	13:10:22	2695	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:22	2695	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-gardeboue-avant-fox-noir-rose-unitaire' AND `virtuemart_product_id` != 1862187
2023-10-13	13:10:22	2695	[DEBUG]	Query for ProductLang
2023-10-13	13:10:22	2695	[DEBUG]	Executed store
2023-10-13	13:10:22	2695	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Gardeboue avant FOX / NOIR/ROSE (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-gardeboue-avant-fox-noir-rose-unitaire' WHERE `virtuemart_product_id` = '1862187'
2023-10-13	13:10:22	2695	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38892_gardeboue_avant_fox.jpg
2023-10-13	13:10:22	2695	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:10:22	2695	[DEBUG]	Process image file
2023-10-13	13:10:22	2695	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:10:22	2695	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:22	2695	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38892_gardeboue_avant_fox.jpg
2023-10-13	13:10:22	2695	[DEBUG]	Full name target: bcprisme/38892_gardeboue_avant_fox.jpg
2023-10-13	13:10:23	2695	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:23	2695	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38892_gardeboue_avant_fox.jpg'
2023-10-13	13:10:23	2695	[DEBUG]	Query for Media
2023-10-13	13:10:23	2695	[DEBUG]	Executed store
2023-10-13	13:10:23	2695	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38892_gardeboue_avant_fox.jpg',`file_url_thumb`='bcprisme/38892_gardeboue_avant_fox.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1456529'
2023-10-13	13:10:23	2695	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:23	2695	[DEBUG]	Executed store
2023-10-13	13:10:23	2695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862187','1456529','1')
2023-10-13	13:10:23	2695	[DEBUG]	Store product image relation
2023-10-13	13:10:23	2695	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:23	2695	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862187 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:23	2695	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:23	2695	[DEBUG]	Executed store
2023-10-13	13:10:23	2695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862187','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:23	2695	[DEBUG]	Checking manufacturer
2023-10-13	13:10:23	2695	[DEBUG]	Load a row
2023-10-13	13:10:23	2695	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:23	2695	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	13:10:23	2695	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:23	2695	[DEBUG]	Executed store
2023-10-13	13:10:23	2695	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-01-00-261204595939' WHERE `virtuemart_manufacturer_id` = '44'
2023-10-13	13:10:23	2695	[DEBUG]	Manufacturer exists
2023-10-13	13:10:23	2695	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 44
2023-10-13	13:10:23	2695	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:23	2695	[DEBUG]	Executed store
2023-10-13	13:10:23	2695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862187','44')
2023-10-13	13:10:23	2695	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:23	2695	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:23	2695	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862187 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:23	2695	[DEBUG]	Store custom available field
2023-10-13	13:10:23	2695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862187,3,'',1)
2023-10-13	13:10:23	2695	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:23	2695	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:23	2695	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862187 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:23	2695	[DEBUG]	Store custom available field
2023-10-13	13:10:23	2695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862187,6,'Unitaire',3)
2023-10-13	13:10:23	2695	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:23	2695	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:23	2695	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862186
2023-10-13	13:10:23	2695	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:23	2695	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862186\":[1862186,8,1,\"choisir la taille\"],\"1862187\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862186
2023-10-13	13:10:23	2695	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:23	2695	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862187
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:23	2696	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field taille
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:23	2696	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:23	2696	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:23	2696	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:23	2696	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:23	2696	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:23	2696	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field published
2023-10-13	13:10:23	2696	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:23	2696	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field override
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:23	2696	[DEBUG]	Use field value for field slug
2023-10-13	13:10:23	2696	[DEBUG]	Process line 2696
2023-10-13	13:10:23	2696	[DEBUG]	Load a row
2023-10-13	13:10:23	2696	[DEBUG]	Processing item: A_552_1
2023-10-13	13:10:23	2696	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:23	2696	[DEBUG]	Processing product tax
2023-10-13	13:10:23	2696	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:23	2696	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:23	2696	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:23	2696	[DEBUG]	Query for Product
2023-10-13	13:10:23	2696	[DEBUG]	Executed store
2023-10-13	13:10:23	2696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_552_1','0.235','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:23	2696	[DEBUG]	Check product language entry
2023-10-13	13:10:23	2696	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862188
2023-10-13	13:10:23	2696	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:23	2696	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_552_1' AND `virtuemart_product_id` != 1862188
2023-10-13	13:10:23	2696	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:23	2696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862188, 'A_552_1')
2023-10-13	13:10:23	2696	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:23	2696	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-680mm-double-hauteur-alu7005t6-msc-wcr-25-4mm-noir' AND `virtuemart_product_id` != 1862188
2023-10-13	13:10:23	2696	[DEBUG]	Query for ProductLang
2023-10-13	13:10:23	2696	[DEBUG]	Executed store
2023-10-13	13:10:23	2696	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Diamètre 25.4 mm<br>N° art fourn : GB07530',`product_name`='MSC GUIDON 680mm DOUBLE HAUTEUR Alu7005T6 MSC WCR 25.4mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-680mm-double-hauteur-alu7005t6-msc-wcr-25-4mm-noir' WHERE `virtuemart_product_id` = '1862188'
2023-10-13	13:10:23	2696	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_659.jpg
2023-10-13	13:10:23	2696	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:23	2696	[DEBUG]	Process image file
2023-10-13	13:10:23	2696	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:23	2696	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:23	2696	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_659.jpg
2023-10-13	13:10:23	2696	[DEBUG]	Full name target: bcprisme/image_659.jpg
2023-10-13	13:10:24	2696	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:24	2696	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_659.jpg'
2023-10-13	13:10:24	2696	[DEBUG]	Query for Media
2023-10-13	13:10:24	2696	[DEBUG]	Executed store
2023-10-13	13:10:24	2696	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_659.jpg',`file_url_thumb`='bcprisme/image_659.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12911'
2023-10-13	13:10:24	2696	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:24	2696	[DEBUG]	Executed store
2023-10-13	13:10:24	2696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862188','12911','1')
2023-10-13	13:10:24	2696	[DEBUG]	Store product image relation
2023-10-13	13:10:24	2696	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:24	2696	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862188 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:24	2696	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:24	2696	[DEBUG]	Executed store
2023-10-13	13:10:24	2696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862188','0','69.3593314763231','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:24	2696	[DEBUG]	Checking manufacturer
2023-10-13	13:10:24	2696	[DEBUG]	Load a row
2023-10-13	13:10:24	2696	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:24	2696	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:24	2696	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:24	2696	[DEBUG]	Executed store
2023-10-13	13:10:24	2696	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:24	2696	[DEBUG]	Manufacturer exists
2023-10-13	13:10:24	2696	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:10:24	2696	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:24	2696	[DEBUG]	Executed store
2023-10-13	13:10:24	2696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862188','32')
2023-10-13	13:10:24	2696	[DEBUG]	Find the custom field ID
2023-10-13	13:10:24	2696	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:24	2696	[DEBUG]	No custom field ID found
2023-10-13	13:10:24	2696	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:24	2696	[DEBUG]	Get existing row with customfield value 74.6919444444444
2023-10-13	13:10:24	2696	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862188 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:24	2696	[DEBUG]	Store custom available field
2023-10-13	13:10:24	2696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862188,3,'74.6919444444444',1)
2023-10-13	13:10:24	2696	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:24	2696	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:24	2696	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862188 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:24	2696	[DEBUG]	Store custom available field
2023-10-13	13:10:24	2696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862188,6,'choisir la taille',3)
2023-10-13	13:10:24	2696	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:24	2696	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:24	2696	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:24	2696	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:24	2696	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862188 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:24	2696	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:24	2696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862188,8,1)
2023-10-13	13:10:24	2696	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:24	2696	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862188\":[1862188,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862188
2023-10-13	13:10:24	2696	[DEBUG]	Checking category
2023-10-13	13:10:24	2696	[DEBUG]	Check if category path exists: GUIDONS - LENKER
2023-10-13	13:10:24	2696	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GUIDONS - LENKER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:10:24	2696	[DEBUG]	Check if category path exists: GUIDONS - LENKER
2023-10-13	13:10:24	2696	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GUIDONS - LENKER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7356
2023-10-13	13:10:24	2696	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:24	2696	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862188
2023-10-13	13:10:24	2696	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:24	2696	[DEBUG]	Executed store
2023-10-13	13:10:24	2696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862188','7357')
2023-10-13	13:10:24	2696	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:24	2696	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862188 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:10:24	2696	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:24	2696	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862188
2023-10-13	13:10:24	2697	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:24	2697	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:24	2697	[DEBUG]	Use field value for field taille
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:24	2697	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:24	2697	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:24	2697	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:24	2697	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:24	2697	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:24	2697	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:24	2697	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:24	2697	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:24	2697	[DEBUG]	Use field value for field published
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:24	2697	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field override
2023-10-13	13:10:24	2697	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:24	2697	[DEBUG]	Use field value for field slug
2023-10-13	13:10:24	2697	[DEBUG]	Process line 2697
2023-10-13	13:10:24	2697	[DEBUG]	Load a row
2023-10-13	13:10:24	2697	[DEBUG]	Processing item: 1000000006988
2023-10-13	13:10:24	2697	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:24	2697	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:24	2697	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_552_1'
2023-10-13	13:10:24	2697	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:24	2697	[DEBUG]	Processing product tax
2023-10-13	13:10:24	2697	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:24	2697	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:24	2697	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:24	2697	[DEBUG]	Query for Product
2023-10-13	13:10:24	2697	[DEBUG]	Executed store
2023-10-13	13:10:24	2697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862188','1000000006988','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:24	2697	[DEBUG]	No parent found
2023-10-13	13:10:24	2697	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862188 AND customfield_value = 'stockable'
2023-10-13	13:10:24	2697	[DEBUG]	Check product language entry
2023-10-13	13:10:24	2697	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862189
2023-10-13	13:10:24	2697	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:24	2697	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000006988' AND `virtuemart_product_id` != 1862189
2023-10-13	13:10:24	2697	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:24	2697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862189, '1000000006988')
2023-10-13	13:10:24	2697	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:24	2697	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-680mm-double-hauteur-alu7005t6-msc-wcr-25-4mm-noir-unitaire' AND `virtuemart_product_id` != 1862189
2023-10-13	13:10:24	2697	[DEBUG]	Query for ProductLang
2023-10-13	13:10:24	2697	[DEBUG]	Executed store
2023-10-13	13:10:24	2697	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 680mm DOUBLE HAUTEUR Alu7005T6 MSC WCR 25.4mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-680mm-double-hauteur-alu7005t6-msc-wcr-25-4mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862189'
2023-10-13	13:10:24	2697	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_659.jpg
2023-10-13	13:10:24	2697	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:24	2697	[DEBUG]	Process image file
2023-10-13	13:10:24	2697	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:10:24	2697	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:24	2697	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_659.jpg
2023-10-13	13:10:24	2697	[DEBUG]	Full name target: bcprisme/image_659.jpg
2023-10-13	13:10:25	2697	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:25	2697	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_659.jpg'
2023-10-13	13:10:25	2697	[DEBUG]	Query for Media
2023-10-13	13:10:25	2697	[DEBUG]	Executed store
2023-10-13	13:10:25	2697	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_659.jpg',`file_url_thumb`='bcprisme/image_659.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12911'
2023-10-13	13:10:25	2697	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:25	2697	[DEBUG]	Executed store
2023-10-13	13:10:25	2697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862189','12911','1')
2023-10-13	13:10:25	2697	[DEBUG]	Store product image relation
2023-10-13	13:10:25	2697	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:25	2697	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862189 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:25	2697	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:25	2697	[DEBUG]	Executed store
2023-10-13	13:10:25	2697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862189','0','69.3593314763231','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:25	2697	[DEBUG]	Checking manufacturer
2023-10-13	13:10:25	2697	[DEBUG]	Load a row
2023-10-13	13:10:25	2697	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:25	2697	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:25	2697	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:25	2697	[DEBUG]	Executed store
2023-10-13	13:10:25	2697	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:25	2697	[DEBUG]	Manufacturer exists
2023-10-13	13:10:25	2697	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:10:25	2697	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:25	2697	[DEBUG]	Executed store
2023-10-13	13:10:25	2697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862189','32')
2023-10-13	13:10:25	2697	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:25	2697	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:25	2697	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862189 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:25	2697	[DEBUG]	Store custom available field
2023-10-13	13:10:25	2697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862189,3,'',1)
2023-10-13	13:10:25	2697	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:25	2697	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:25	2697	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862189 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:25	2697	[DEBUG]	Store custom available field
2023-10-13	13:10:25	2697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862189,6,'Unitaire',3)
2023-10-13	13:10:25	2697	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:25	2697	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:25	2697	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862188
2023-10-13	13:10:25	2697	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:25	2697	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862188\":[1862188,8,1,\"choisir la taille\"],\"1862189\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862188
2023-10-13	13:10:25	2697	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:25	2697	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862189
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:25	2698	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field taille
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:25	2698	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:25	2698	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:25	2698	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:25	2698	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:25	2698	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:25	2698	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field published
2023-10-13	13:10:25	2698	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:25	2698	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field override
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:25	2698	[DEBUG]	Use field value for field slug
2023-10-13	13:10:25	2698	[DEBUG]	Process line 2698
2023-10-13	13:10:25	2698	[DEBUG]	Load a row
2023-10-13	13:10:25	2698	[DEBUG]	Processing item: A_599_2
2023-10-13	13:10:25	2698	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:25	2698	[DEBUG]	Processing product tax
2023-10-13	13:10:25	2698	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:25	2698	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:25	2698	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:25	2698	[DEBUG]	Query for Product
2023-10-13	13:10:25	2698	[DEBUG]	Executed store
2023-10-13	13:10:25	2698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_599_2','0.166','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:25	2698	[DEBUG]	Check product language entry
2023-10-13	13:10:25	2698	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862190
2023-10-13	13:10:25	2698	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:25	2698	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_599_2' AND `virtuemart_product_id` != 1862190
2023-10-13	13:10:25	2698	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:25	2698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862190, 'A_599_2')
2023-10-13	13:10:25	2698	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:25	2698	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-double-hauteur-carbone-msc-1-diametre-31-8-mm-carbone' AND `virtuemart_product_id` != 1862190
2023-10-13	13:10:25	2698	[DEBUG]	Query for ProductLang
2023-10-13	13:10:25	2698	[DEBUG]	Executed store
2023-10-13	13:10:25	2698	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Moule exclusif ! Avec plus d\'espace pour les leviers de freins, blocages et embouts de guidon.Partie extérieure renforcée.<br>N° art fourn : HDY02660',`product_name`='MSC GUIDON DOUBLE HAUTEUR CARBONE MSC 1\'\' diamètre 31.8 mm / Carbone',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-double-hauteur-carbone-msc-1-diametre-31-8-mm-carbone' WHERE `virtuemart_product_id` = '1862190'
2023-10-13	13:10:25	2698	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_722.jpg
2023-10-13	13:10:25	2698	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:25	2698	[DEBUG]	Process image file
2023-10-13	13:10:25	2698	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:25	2698	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:25	2698	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_722.jpg
2023-10-13	13:10:25	2698	[DEBUG]	Full name target: bcprisme/image_722.jpg
2023-10-13	13:10:26	2698	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:26	2698	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_722.jpg'
2023-10-13	13:10:26	2698	[DEBUG]	Query for Media
2023-10-13	13:10:26	2698	[DEBUG]	Executed store
2023-10-13	13:10:26	2698	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_722.jpg',`file_url_thumb`='bcprisme/image_722.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12912'
2023-10-13	13:10:26	2698	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:26	2698	[DEBUG]	Executed store
2023-10-13	13:10:26	2698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862190','12912','1')
2023-10-13	13:10:26	2698	[DEBUG]	Store product image relation
2023-10-13	13:10:26	2698	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:26	2698	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862190 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:26	2698	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:26	2698	[DEBUG]	Executed store
2023-10-13	13:10:26	2698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862190','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:26	2698	[DEBUG]	Checking manufacturer
2023-10-13	13:10:26	2698	[DEBUG]	Load a row
2023-10-13	13:10:26	2698	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:26	2698	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:26	2698	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:26	2698	[DEBUG]	Executed store
2023-10-13	13:10:26	2698	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:26	2698	[DEBUG]	Manufacturer exists
2023-10-13	13:10:26	2698	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:10:26	2698	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:26	2698	[DEBUG]	Executed store
2023-10-13	13:10:26	2698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862190','32')
2023-10-13	13:10:26	2698	[DEBUG]	Find the custom field ID
2023-10-13	13:10:26	2698	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:26	2698	[DEBUG]	No custom field ID found
2023-10-13	13:10:26	2698	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:26	2698	[DEBUG]	Get existing row with customfield value 129.539166666667
2023-10-13	13:10:26	2698	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862190 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:26	2698	[DEBUG]	Store custom available field
2023-10-13	13:10:26	2698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862190,3,'129.539166666667',1)
2023-10-13	13:10:26	2698	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:26	2698	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:26	2698	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862190 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:26	2698	[DEBUG]	Store custom available field
2023-10-13	13:10:26	2698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862190,6,'choisir la taille',3)
2023-10-13	13:10:26	2698	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:26	2698	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:26	2698	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:26	2698	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:26	2698	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862190 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:26	2698	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:26	2698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862190,8,1)
2023-10-13	13:10:26	2698	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:26	2698	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862190\":[1862190,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862190
2023-10-13	13:10:26	2698	[DEBUG]	Checking category
2023-10-13	13:10:26	2698	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:26	2698	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862190
2023-10-13	13:10:26	2698	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:26	2698	[DEBUG]	Executed store
2023-10-13	13:10:26	2698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862190','7357')
2023-10-13	13:10:26	2698	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:26	2698	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862190 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:10:26	2698	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:26	2698	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862190
2023-10-13	13:10:26	2699	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:26	2699	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:26	2699	[DEBUG]	Use field value for field taille
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:26	2699	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:26	2699	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:26	2699	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:26	2699	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:26	2699	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:26	2699	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:26	2699	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:26	2699	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:26	2699	[DEBUG]	Use field value for field published
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:26	2699	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field override
2023-10-13	13:10:26	2699	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:26	2699	[DEBUG]	Use field value for field slug
2023-10-13	13:10:26	2699	[DEBUG]	Process line 2699
2023-10-13	13:10:26	2699	[DEBUG]	Load a row
2023-10-13	13:10:26	2699	[DEBUG]	Processing item: 8436041559122
2023-10-13	13:10:26	2699	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:26	2699	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:26	2699	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_599_2'
2023-10-13	13:10:26	2699	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:26	2699	[DEBUG]	Processing product tax
2023-10-13	13:10:26	2699	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:26	2699	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:26	2699	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:26	2699	[DEBUG]	Query for Product
2023-10-13	13:10:26	2699	[DEBUG]	Executed store
2023-10-13	13:10:26	2699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862190','8436041559122','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:26	2699	[DEBUG]	No parent found
2023-10-13	13:10:26	2699	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862190 AND customfield_value = 'stockable'
2023-10-13	13:10:26	2699	[DEBUG]	Check product language entry
2023-10-13	13:10:26	2699	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862191
2023-10-13	13:10:26	2699	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:26	2699	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041559122' AND `virtuemart_product_id` != 1862191
2023-10-13	13:10:26	2699	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:26	2699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862191, '8436041559122')
2023-10-13	13:10:26	2699	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:26	2699	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-double-hauteur-carbone-msc-1-diametre-31-8-mm-carbone-unitaire' AND `virtuemart_product_id` != 1862191
2023-10-13	13:10:26	2699	[DEBUG]	Query for ProductLang
2023-10-13	13:10:26	2699	[DEBUG]	Executed store
2023-10-13	13:10:26	2699	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON DOUBLE HAUTEUR CARBONE MSC 1\'\' diamètre 31.8 mm / Carbone (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-double-hauteur-carbone-msc-1-diametre-31-8-mm-carbone-unitaire' WHERE `virtuemart_product_id` = '1862191'
2023-10-13	13:10:26	2699	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_722.jpg
2023-10-13	13:10:26	2699	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:26	2699	[DEBUG]	Process image file
2023-10-13	13:10:26	2699	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:26	2699	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:26	2699	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_722.jpg
2023-10-13	13:10:26	2699	[DEBUG]	Full name target: bcprisme/image_722.jpg
2023-10-13	13:10:27	2699	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:27	2699	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_722.jpg'
2023-10-13	13:10:27	2699	[DEBUG]	Query for Media
2023-10-13	13:10:27	2699	[DEBUG]	Executed store
2023-10-13	13:10:27	2699	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_722.jpg',`file_url_thumb`='bcprisme/image_722.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12912'
2023-10-13	13:10:27	2699	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:27	2699	[DEBUG]	Executed store
2023-10-13	13:10:27	2699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862191','12912','1')
2023-10-13	13:10:27	2699	[DEBUG]	Store product image relation
2023-10-13	13:10:27	2699	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:27	2699	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862191 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:27	2699	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:27	2699	[DEBUG]	Executed store
2023-10-13	13:10:27	2699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862191','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:27	2699	[DEBUG]	Checking manufacturer
2023-10-13	13:10:27	2699	[DEBUG]	Load a row
2023-10-13	13:10:27	2699	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:27	2699	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:27	2699	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:27	2699	[DEBUG]	Executed store
2023-10-13	13:10:27	2699	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:27	2699	[DEBUG]	Manufacturer exists
2023-10-13	13:10:27	2699	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:10:27	2699	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:27	2699	[DEBUG]	Executed store
2023-10-13	13:10:27	2699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862191','32')
2023-10-13	13:10:27	2699	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:27	2699	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:27	2699	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862191 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:27	2699	[DEBUG]	Store custom available field
2023-10-13	13:10:27	2699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862191,3,'',1)
2023-10-13	13:10:27	2699	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:27	2699	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:27	2699	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862191 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:27	2699	[DEBUG]	Store custom available field
2023-10-13	13:10:27	2699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862191,6,'Unitaire',3)
2023-10-13	13:10:27	2699	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:27	2699	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:27	2699	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862190
2023-10-13	13:10:27	2699	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:27	2699	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862190\":[1862190,8,1,\"choisir la taille\"],\"1862191\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862190
2023-10-13	13:10:27	2699	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:27	2699	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862191
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:27	2700	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field taille
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:27	2700	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:27	2700	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:27	2700	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:27	2700	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:27	2700	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:27	2700	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field published
2023-10-13	13:10:27	2700	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:27	2700	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field override
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:27	2700	[DEBUG]	Use field value for field slug
2023-10-13	13:10:27	2700	[DEBUG]	Process line 2700
2023-10-13	13:10:27	2700	[DEBUG]	Load a row
2023-10-13	13:10:27	2700	[DEBUG]	Processing item: A_736_12
2023-10-13	13:10:27	2700	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:27	2700	[DEBUG]	Processing product tax
2023-10-13	13:10:27	2700	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:27	2700	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:27	2700	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:27	2700	[DEBUG]	Query for Product
2023-10-13	13:10:27	2700	[DEBUG]	Executed store
2023-10-13	13:10:27	2700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_736_12','0.266','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0')
2023-10-13	13:10:27	2700	[DEBUG]	Check product language entry
2023-10-13	13:10:27	2700	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862192
2023-10-13	13:10:27	2700	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:27	2700	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_736_12' AND `virtuemart_product_id` != 1862192
2023-10-13	13:10:27	2700	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:27	2700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862192, 'A_736_12')
2023-10-13	13:10:27	2700	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:27	2700	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-double-hauteur-alu7005t6-msc-star-1-5-31-8mm-blanc' AND `virtuemart_product_id` != 1862192
2023-10-13	13:10:27	2700	[DEBUG]	Query for ProductLang
2023-10-13	13:10:27	2700	[DEBUG]	Executed store
2023-10-13	13:10:27	2700	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='260 gr<br>N° art fourn : OB017530660W',`product_name`='MSC GUIDON DOUBLE HAUTEUR Alu7005T6 MSC STAR 1.5 31.8mm / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-double-hauteur-alu7005t6-msc-star-1-5-31-8mm-blanc' WHERE `virtuemart_product_id` = '1862192'
2023-10-13	13:10:27	2700	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_996.jpg
2023-10-13	13:10:27	2700	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:10:27	2700	[DEBUG]	Process image file
2023-10-13	13:10:27	2700	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:10:27	2700	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:27	2700	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_996.jpg
2023-10-13	13:10:27	2700	[DEBUG]	Full name target: bcprisme/image_996.jpg
2023-10-13	13:10:28	2700	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:28	2700	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_996.jpg'
2023-10-13	13:10:28	2700	[DEBUG]	Query for Media
2023-10-13	13:10:28	2700	[DEBUG]	Executed store
2023-10-13	13:10:28	2700	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_996.jpg',`file_url_thumb`='bcprisme/image_996.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12913'
2023-10-13	13:10:28	2700	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:28	2700	[DEBUG]	Executed store
2023-10-13	13:10:28	2700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862192','12913','1')
2023-10-13	13:10:28	2700	[DEBUG]	Store product image relation
2023-10-13	13:10:28	2700	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:28	2700	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862192 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:28	2700	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:28	2700	[DEBUG]	Executed store
2023-10-13	13:10:28	2700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862192','0','92.4791086350975','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:08:56','1593','2023-10-13 13:08:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:28	2700	[DEBUG]	Checking manufacturer
2023-10-13	13:10:28	2700	[DEBUG]	Load a row
2023-10-13	13:10:28	2700	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:28	2700	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:28	2700	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:28	2700	[DEBUG]	Executed store
2023-10-13	13:10:28	2700	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:28	2700	[DEBUG]	Manufacturer exists
2023-10-13	13:10:28	2700	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:10:28	2700	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:28	2700	[DEBUG]	Executed store
2023-10-13	13:10:28	2700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862192','32')
2023-10-13	13:10:28	2700	[DEBUG]	Find the custom field ID
2023-10-13	13:10:28	2700	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:28	2700	[DEBUG]	No custom field ID found
2023-10-13	13:10:28	2700	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:28	2700	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:10:28	2700	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862192 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:28	2700	[DEBUG]	Store custom available field
2023-10-13	13:10:28	2700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862192,3,'99.6225',1)
2023-10-13	13:10:28	2700	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:28	2700	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:28	2700	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862192 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:28	2700	[DEBUG]	Store custom available field
2023-10-13	13:10:28	2700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862192,6,'choisir la taille',3)
2023-10-13	13:10:28	2700	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:28	2700	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:28	2700	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:28	2700	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:28	2700	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862192 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:28	2700	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:28	2700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862192,8,1)
2023-10-13	13:10:28	2700	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:28	2700	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862192\":[1862192,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862192
2023-10-13	13:10:28	2700	[DEBUG]	Checking category
2023-10-13	13:10:28	2700	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:28	2700	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862192
2023-10-13	13:10:28	2700	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:28	2700	[DEBUG]	Executed store
2023-10-13	13:10:28	2700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862192','7357')
2023-10-13	13:10:28	2700	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:28	2700	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862192 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:10:28	2700	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:28	2700	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862192
2023-10-13	13:10:49	2700	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:10:49	2700	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:10:49	2700	[DEBUG]	Load the fields to process
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: product_sku
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: taille
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: product_name
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: category_path
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: product_price
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: product_override_price
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: product_tax
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: file_url
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: product_desc
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: product_availability
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: product_weight
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: product_unit
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: related_products
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: product_special
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: published
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: metadesc
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: metakey
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: custom_title
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: custom_value
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: custom_param
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: override
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: public_price
2023-10-13	13:10:49	2700	[DEBUG]	Setup field: slug
2023-10-13	13:10:49	2700	[DEBUG]	Use the file for configuration
2023-10-13	13:10:49	2700	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:10:49	2700	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:10:49	2700	[DEBUG]	Load the custom fields
2023-10-13	13:10:49	2700	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:10:49	2700	[DEBUG]	Load stockable custom fields
2023-10-13	13:10:49	2700	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:10:49	2700	[DEBUG]	Load custom fields for all
2023-10-13	13:10:49	2700	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:10:49	2701	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:49	2701	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:49	2701	[DEBUG]	Use field value for field taille
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:49	2701	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:49	2701	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:49	2701	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:49	2701	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:49	2701	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:49	2701	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:49	2701	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:49	2701	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:49	2701	[DEBUG]	Use field value for field published
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:49	2701	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field override
2023-10-13	13:10:49	2701	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:49	2701	[DEBUG]	Use field value for field slug
2023-10-13	13:10:49	2701	[DEBUG]	Process line 2701
2023-10-13	13:10:49	2701	[DEBUG]	Check if the vendor exists
2023-10-13	13:10:49	2701	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '1000000010848'
2023-10-13	13:10:49	2701	[DEBUG]	Load a row
2023-10-13	13:10:49	2701	[DEBUG]	Processing item: 1000000010848
2023-10-13	13:10:49	2701	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:49	2701	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:49	2701	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_736_12'
2023-10-13	13:10:49	2701	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:49	2701	[DEBUG]	Processing product tax
2023-10-13	13:10:49	2701	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:49	2701	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:49	2701	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:49	2701	[DEBUG]	Query for Product
2023-10-13	13:10:49	2701	[DEBUG]	Executed store
2023-10-13	13:10:49	2701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862192','1000000010848','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:10:49	2701	[DEBUG]	No parent found
2023-10-13	13:10:49	2701	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862192 AND customfield_value = 'stockable'
2023-10-13	13:10:49	2701	[DEBUG]	Check product language entry
2023-10-13	13:10:49	2701	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862193
2023-10-13	13:10:49	2701	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:49	2701	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000010848' AND `virtuemart_product_id` != 1862193
2023-10-13	13:10:49	2701	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:49	2701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862193, '1000000010848')
2023-10-13	13:10:49	2701	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:49	2701	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-double-hauteur-alu7005t6-msc-star-1-5-31-8mm-blanc-unitaire' AND `virtuemart_product_id` != 1862193
2023-10-13	13:10:49	2701	[DEBUG]	Query for ProductLang
2023-10-13	13:10:49	2701	[DEBUG]	Executed store
2023-10-13	13:10:49	2701	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON DOUBLE HAUTEUR Alu7005T6 MSC STAR 1.5 31.8mm / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-double-hauteur-alu7005t6-msc-star-1-5-31-8mm-blanc-unitaire' WHERE `virtuemart_product_id` = '1862193'
2023-10-13	13:10:49	2701	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_996.jpg
2023-10-13	13:10:49	2701	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:10:49	2701	[DEBUG]	Process image file
2023-10-13	13:10:49	2701	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:10:49	2701	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:49	2701	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_996.jpg
2023-10-13	13:10:49	2701	[DEBUG]	Full name target: bcprisme/image_996.jpg
2023-10-13	13:10:50	2701	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:50	2701	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_996.jpg'
2023-10-13	13:10:50	2701	[DEBUG]	Query for Media
2023-10-13	13:10:50	2701	[DEBUG]	Executed store
2023-10-13	13:10:50	2701	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_996.jpg',`file_url_thumb`='bcprisme/image_996.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12913'
2023-10-13	13:10:50	2701	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:50	2701	[DEBUG]	Executed store
2023-10-13	13:10:50	2701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862193','12913','1')
2023-10-13	13:10:50	2701	[DEBUG]	Store product image relation
2023-10-13	13:10:50	2701	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:50	2701	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862193 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:50	2701	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:50	2701	[DEBUG]	Executed store
2023-10-13	13:10:50	2701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862193','0','92.4791086350975','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:50	2701	[DEBUG]	Checking manufacturer
2023-10-13	13:10:50	2701	[DEBUG]	Load a row
2023-10-13	13:10:50	2701	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:50	2701	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:50	2701	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:50	2701	[DEBUG]	Executed store
2023-10-13	13:10:50	2701	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:50	2701	[DEBUG]	Manufacturer exists
2023-10-13	13:10:50	2701	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:10:50	2701	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:50	2701	[DEBUG]	Executed store
2023-10-13	13:10:50	2701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862193','32')
2023-10-13	13:10:50	2701	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:50	2701	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:50	2701	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862193 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:50	2701	[DEBUG]	Store custom available field
2023-10-13	13:10:50	2701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862193,3,'',1)
2023-10-13	13:10:50	2701	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:50	2701	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:50	2701	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862193 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:50	2701	[DEBUG]	Store custom available field
2023-10-13	13:10:50	2701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862193,6,'Unitaire',3)
2023-10-13	13:10:50	2701	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:50	2701	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:50	2701	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862192
2023-10-13	13:10:50	2701	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:50	2701	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862192\":[1862192,8,1,\"choisir la taille\"],\"1862193\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862192
2023-10-13	13:10:50	2701	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:50	2701	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862193
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:50	2702	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field taille
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:50	2702	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:50	2702	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:50	2702	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:50	2702	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:50	2702	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:50	2702	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field published
2023-10-13	13:10:50	2702	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:50	2702	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field override
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:50	2702	[DEBUG]	Use field value for field slug
2023-10-13	13:10:50	2702	[DEBUG]	Process line 2702
2023-10-13	13:10:50	2702	[DEBUG]	Load a row
2023-10-13	13:10:50	2702	[DEBUG]	Processing item: A_738_1
2023-10-13	13:10:50	2702	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:50	2702	[DEBUG]	Processing product tax
2023-10-13	13:10:50	2702	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:50	2702	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:50	2702	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:50	2702	[DEBUG]	Query for Product
2023-10-13	13:10:50	2702	[DEBUG]	Executed store
2023-10-13	13:10:50	2702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_738_1','0.296','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:10:50	2702	[DEBUG]	Check product language entry
2023-10-13	13:10:50	2702	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862194
2023-10-13	13:10:50	2702	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:50	2702	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_738_1' AND `virtuemart_product_id` != 1862194
2023-10-13	13:10:50	2702	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:50	2702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862194, 'A_738_1')
2023-10-13	13:10:50	2702	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:50	2702	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-710mm-double-hauteur-alu7005t6-msc-star-31-8mm-noir' AND `virtuemart_product_id` != 1862194
2023-10-13	13:10:50	2702	[DEBUG]	Query for ProductLang
2023-10-13	13:10:50	2702	[DEBUG]	Executed store
2023-10-13	13:10:50	2702	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Diamètre 31.8 mm<br>N° art fourn : OB01757101',`product_name`='MSC GUIDON 710mm DOUBLE HAUTEUR Alu7005T6 MSC STAR 31.8mm  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-710mm-double-hauteur-alu7005t6-msc-star-31-8mm-noir' WHERE `virtuemart_product_id` = '1862194'
2023-10-13	13:10:50	2702	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_998.jpg
2023-10-13	13:10:50	2702	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:50	2702	[DEBUG]	Process image file
2023-10-13	13:10:50	2702	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:50	2702	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:50	2702	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_998.jpg
2023-10-13	13:10:50	2702	[DEBUG]	Full name target: bcprisme/image_998.jpg
2023-10-13	13:10:51	2702	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:51	2702	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_998.jpg'
2023-10-13	13:10:51	2702	[DEBUG]	Query for Media
2023-10-13	13:10:51	2702	[DEBUG]	Executed store
2023-10-13	13:10:51	2702	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_998.jpg',`file_url_thumb`='bcprisme/image_998.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12914'
2023-10-13	13:10:51	2702	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:51	2702	[DEBUG]	Executed store
2023-10-13	13:10:51	2702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862194','12914','1')
2023-10-13	13:10:51	2702	[DEBUG]	Store product image relation
2023-10-13	13:10:51	2702	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:51	2702	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862194 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:51	2702	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:51	2702	[DEBUG]	Executed store
2023-10-13	13:10:51	2702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862194','0','74.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:51	2702	[DEBUG]	Checking manufacturer
2023-10-13	13:10:51	2702	[DEBUG]	Load a row
2023-10-13	13:10:51	2702	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:51	2702	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:51	2702	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:51	2702	[DEBUG]	Executed store
2023-10-13	13:10:51	2702	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:51	2702	[DEBUG]	Manufacturer exists
2023-10-13	13:10:51	2702	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:10:51	2702	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:51	2702	[DEBUG]	Executed store
2023-10-13	13:10:51	2702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862194','32')
2023-10-13	13:10:51	2702	[DEBUG]	Find the custom field ID
2023-10-13	13:10:51	2702	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:51	2702	[DEBUG]	No custom field ID found
2023-10-13	13:10:51	2702	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:51	2702	[DEBUG]	Get existing row with customfield value 79.6780555555556
2023-10-13	13:10:51	2702	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862194 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:51	2702	[DEBUG]	Store custom available field
2023-10-13	13:10:51	2702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862194,3,'79.6780555555556',1)
2023-10-13	13:10:51	2702	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:51	2702	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:51	2702	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862194 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:51	2702	[DEBUG]	Store custom available field
2023-10-13	13:10:51	2702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862194,6,'choisir la taille',3)
2023-10-13	13:10:51	2702	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:51	2702	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:51	2702	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:51	2702	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:51	2702	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862194 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:51	2702	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:51	2702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862194,8,1)
2023-10-13	13:10:51	2702	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:51	2702	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862194\":[1862194,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862194
2023-10-13	13:10:51	2702	[DEBUG]	Checking category
2023-10-13	13:10:51	2702	[DEBUG]	Check if category path exists: GUIDONS - LENKER
2023-10-13	13:10:51	2702	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GUIDONS - LENKER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:10:51	2702	[DEBUG]	Check if category path exists: GUIDONS - LENKER
2023-10-13	13:10:51	2702	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GUIDONS - LENKER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7356
2023-10-13	13:10:51	2702	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:51	2702	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862194
2023-10-13	13:10:51	2702	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:51	2702	[DEBUG]	Executed store
2023-10-13	13:10:51	2702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862194','7357')
2023-10-13	13:10:51	2702	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:51	2702	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862194 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:10:51	2702	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:51	2702	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862194
2023-10-13	13:10:51	2703	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:51	2703	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:51	2703	[DEBUG]	Use field value for field taille
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:51	2703	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:51	2703	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:51	2703	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:51	2703	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:51	2703	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:51	2703	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:51	2703	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:51	2703	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:51	2703	[DEBUG]	Use field value for field published
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:51	2703	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field override
2023-10-13	13:10:51	2703	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:51	2703	[DEBUG]	Use field value for field slug
2023-10-13	13:10:51	2703	[DEBUG]	Process line 2703
2023-10-13	13:10:51	2703	[DEBUG]	Load a row
2023-10-13	13:10:51	2703	[DEBUG]	Processing item: 1000000010862
2023-10-13	13:10:51	2703	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:51	2703	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:51	2703	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_738_1'
2023-10-13	13:10:51	2703	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:51	2703	[DEBUG]	Processing product tax
2023-10-13	13:10:51	2703	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:51	2703	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:51	2703	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:51	2703	[DEBUG]	Query for Product
2023-10-13	13:10:51	2703	[DEBUG]	Executed store
2023-10-13	13:10:51	2703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862194','1000000010862','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:10:51	2703	[DEBUG]	No parent found
2023-10-13	13:10:51	2703	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862194 AND customfield_value = 'stockable'
2023-10-13	13:10:51	2703	[DEBUG]	Check product language entry
2023-10-13	13:10:51	2703	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862195
2023-10-13	13:10:51	2703	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:51	2703	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000010862' AND `virtuemart_product_id` != 1862195
2023-10-13	13:10:51	2703	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:51	2703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862195, '1000000010862')
2023-10-13	13:10:51	2703	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:51	2703	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-710mm-double-hauteur-alu7005t6-msc-star-31-8mm-noir-unitaire' AND `virtuemart_product_id` != 1862195
2023-10-13	13:10:51	2703	[DEBUG]	Query for ProductLang
2023-10-13	13:10:51	2703	[DEBUG]	Executed store
2023-10-13	13:10:51	2703	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 710mm DOUBLE HAUTEUR Alu7005T6 MSC STAR 31.8mm  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-710mm-double-hauteur-alu7005t6-msc-star-31-8mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862195'
2023-10-13	13:10:51	2703	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_998.jpg
2023-10-13	13:10:51	2703	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:51	2703	[DEBUG]	Process image file
2023-10-13	13:10:51	2703	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:51	2703	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:51	2703	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_998.jpg
2023-10-13	13:10:51	2703	[DEBUG]	Full name target: bcprisme/image_998.jpg
2023-10-13	13:10:52	2703	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:52	2703	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_998.jpg'
2023-10-13	13:10:52	2703	[DEBUG]	Query for Media
2023-10-13	13:10:52	2703	[DEBUG]	Executed store
2023-10-13	13:10:52	2703	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_998.jpg',`file_url_thumb`='bcprisme/image_998.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12914'
2023-10-13	13:10:52	2703	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:52	2703	[DEBUG]	Executed store
2023-10-13	13:10:52	2703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862195','12914','1')
2023-10-13	13:10:52	2703	[DEBUG]	Store product image relation
2023-10-13	13:10:52	2703	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:52	2703	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862195 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:52	2703	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:52	2703	[DEBUG]	Executed store
2023-10-13	13:10:52	2703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862195','0','74.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:52	2703	[DEBUG]	Checking manufacturer
2023-10-13	13:10:52	2703	[DEBUG]	Load a row
2023-10-13	13:10:52	2703	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:52	2703	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:52	2703	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:52	2703	[DEBUG]	Executed store
2023-10-13	13:10:52	2703	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:52	2703	[DEBUG]	Manufacturer exists
2023-10-13	13:10:52	2703	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:10:52	2703	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:52	2703	[DEBUG]	Executed store
2023-10-13	13:10:52	2703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862195','32')
2023-10-13	13:10:52	2703	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:52	2703	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:52	2703	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862195 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:52	2703	[DEBUG]	Store custom available field
2023-10-13	13:10:52	2703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862195,3,'',1)
2023-10-13	13:10:52	2703	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:52	2703	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:52	2703	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862195 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:52	2703	[DEBUG]	Store custom available field
2023-10-13	13:10:52	2703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862195,6,'Unitaire',3)
2023-10-13	13:10:52	2703	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:52	2703	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:52	2703	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862194
2023-10-13	13:10:52	2703	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:52	2703	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862194\":[1862194,8,1,\"choisir la taille\"],\"1862195\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862194
2023-10-13	13:10:52	2703	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:52	2703	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862195
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:52	2704	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field taille
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:52	2704	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:52	2704	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:52	2704	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:52	2704	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:52	2704	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:52	2704	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field published
2023-10-13	13:10:52	2704	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:52	2704	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field override
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:52	2704	[DEBUG]	Use field value for field slug
2023-10-13	13:10:52	2704	[DEBUG]	Process line 2704
2023-10-13	13:10:52	2704	[DEBUG]	Load a row
2023-10-13	13:10:52	2704	[DEBUG]	Processing item: A_1355_1
2023-10-13	13:10:52	2704	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:52	2704	[DEBUG]	Processing product tax
2023-10-13	13:10:52	2704	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:52	2704	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:52	2704	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:52	2704	[DEBUG]	Query for Product
2023-10-13	13:10:52	2704	[DEBUG]	Executed store
2023-10-13	13:10:52	2704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1355_1','0.296','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:10:52	2704	[DEBUG]	Check product language entry
2023-10-13	13:10:52	2704	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862196
2023-10-13	13:10:52	2704	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:52	2704	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1355_1' AND `virtuemart_product_id` != 1862196
2023-10-13	13:10:52	2704	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:52	2704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862196, 'A_1355_1')
2023-10-13	13:10:52	2704	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:52	2704	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-710mm-dh-fr-1-5-alu7005-31-8-mm-noir' AND `virtuemart_product_id` != 1862196
2023-10-13	13:10:52	2704	[DEBUG]	Query for ProductLang
2023-10-13	13:10:52	2704	[DEBUG]	Executed store
2023-10-13	13:10:52	2704	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Cintre aluminium 1.5  7005, diamètre 31,8 mm, 710 mm de large. poids : 296 gr. Pour DH/FR<br>N° art fourn : OB017530660\"',`product_name`='MSC GUIDON 710mm DH/FR 1.5 Alu7005 31.8 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-710mm-dh-fr-1-5-alu7005-31-8-mm-noir' WHERE `virtuemart_product_id` = '1862196'
2023-10-13	13:10:52	2704	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3007.jpg
2023-10-13	13:10:52	2704	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:52	2704	[DEBUG]	Process image file
2023-10-13	13:10:52	2704	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:52	2704	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:52	2704	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3007.jpg
2023-10-13	13:10:52	2704	[DEBUG]	Full name target: bcprisme/image_3007.jpg
2023-10-13	13:10:53	2704	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:53	2704	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3007.jpg'
2023-10-13	13:10:53	2704	[DEBUG]	Query for Media
2023-10-13	13:10:53	2704	[DEBUG]	Executed store
2023-10-13	13:10:53	2704	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3007.jpg',`file_url_thumb`='bcprisme/image_3007.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12915'
2023-10-13	13:10:53	2704	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:53	2704	[DEBUG]	Executed store
2023-10-13	13:10:53	2704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862196','12915','1')
2023-10-13	13:10:53	2704	[DEBUG]	Store product image relation
2023-10-13	13:10:53	2704	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:53	2704	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862196 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:53	2704	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:53	2704	[DEBUG]	Executed store
2023-10-13	13:10:53	2704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862196','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:53	2704	[DEBUG]	Checking manufacturer
2023-10-13	13:10:53	2704	[DEBUG]	Load a row
2023-10-13	13:10:53	2704	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:53	2704	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:53	2704	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:53	2704	[DEBUG]	Executed store
2023-10-13	13:10:53	2704	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:53	2704	[DEBUG]	Manufacturer exists
2023-10-13	13:10:53	2704	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:10:53	2704	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:53	2704	[DEBUG]	Executed store
2023-10-13	13:10:53	2704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862196','32')
2023-10-13	13:10:53	2704	[DEBUG]	Find the custom field ID
2023-10-13	13:10:53	2704	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:53	2704	[DEBUG]	No custom field ID found
2023-10-13	13:10:53	2704	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:53	2704	[DEBUG]	Get existing row with customfield value 79.6780555555556
2023-10-13	13:10:53	2704	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862196 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:53	2704	[DEBUG]	Store custom available field
2023-10-13	13:10:53	2704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862196,3,'79.6780555555556',1)
2023-10-13	13:10:53	2704	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:53	2704	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:53	2704	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862196 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:53	2704	[DEBUG]	Store custom available field
2023-10-13	13:10:53	2704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862196,6,'choisir la taille',3)
2023-10-13	13:10:53	2704	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:53	2704	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:53	2704	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:53	2704	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:53	2704	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862196 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:53	2704	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:53	2704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862196,8,1)
2023-10-13	13:10:53	2704	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:53	2704	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862196\":[1862196,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862196
2023-10-13	13:10:53	2704	[DEBUG]	Checking category
2023-10-13	13:10:53	2704	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:53	2704	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862196
2023-10-13	13:10:53	2704	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:53	2704	[DEBUG]	Executed store
2023-10-13	13:10:53	2704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862196','7357')
2023-10-13	13:10:53	2704	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:53	2704	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862196 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:10:53	2704	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:53	2704	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862196
2023-10-13	13:10:53	2705	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:53	2705	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:53	2705	[DEBUG]	Use field value for field taille
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:53	2705	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:53	2705	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:53	2705	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:53	2705	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:53	2705	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:53	2705	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:53	2705	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:53	2705	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:53	2705	[DEBUG]	Use field value for field published
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:53	2705	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field override
2023-10-13	13:10:53	2705	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:53	2705	[DEBUG]	Use field value for field slug
2023-10-13	13:10:53	2705	[DEBUG]	Process line 2705
2023-10-13	13:10:53	2705	[DEBUG]	Load a row
2023-10-13	13:10:53	2705	[DEBUG]	Processing item: 1000000023510
2023-10-13	13:10:53	2705	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:53	2705	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:53	2705	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1355_1'
2023-10-13	13:10:53	2705	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:53	2705	[DEBUG]	Processing product tax
2023-10-13	13:10:53	2705	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:53	2705	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:53	2705	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:53	2705	[DEBUG]	Query for Product
2023-10-13	13:10:53	2705	[DEBUG]	Executed store
2023-10-13	13:10:53	2705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862196','1000000023510','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:10:53	2705	[DEBUG]	No parent found
2023-10-13	13:10:53	2705	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862196 AND customfield_value = 'stockable'
2023-10-13	13:10:53	2705	[DEBUG]	Check product language entry
2023-10-13	13:10:53	2705	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862197
2023-10-13	13:10:53	2705	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:53	2705	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000023510' AND `virtuemart_product_id` != 1862197
2023-10-13	13:10:53	2705	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:53	2705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862197, '1000000023510')
2023-10-13	13:10:53	2705	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:53	2705	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-710mm-dh-fr-1-5-alu7005-31-8-mm-noir-unitaire' AND `virtuemart_product_id` != 1862197
2023-10-13	13:10:53	2705	[DEBUG]	Query for ProductLang
2023-10-13	13:10:53	2705	[DEBUG]	Executed store
2023-10-13	13:10:53	2705	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 710mm DH/FR 1.5 Alu7005 31.8 mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-710mm-dh-fr-1-5-alu7005-31-8-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862197'
2023-10-13	13:10:53	2705	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3007.jpg
2023-10-13	13:10:53	2705	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:53	2705	[DEBUG]	Process image file
2023-10-13	13:10:53	2705	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:53	2705	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:53	2705	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3007.jpg
2023-10-13	13:10:53	2705	[DEBUG]	Full name target: bcprisme/image_3007.jpg
2023-10-13	13:10:54	2705	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:54	2705	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3007.jpg'
2023-10-13	13:10:54	2705	[DEBUG]	Query for Media
2023-10-13	13:10:54	2705	[DEBUG]	Executed store
2023-10-13	13:10:54	2705	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3007.jpg',`file_url_thumb`='bcprisme/image_3007.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12915'
2023-10-13	13:10:54	2705	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:54	2705	[DEBUG]	Executed store
2023-10-13	13:10:54	2705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862197','12915','1')
2023-10-13	13:10:54	2705	[DEBUG]	Store product image relation
2023-10-13	13:10:54	2705	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:54	2705	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862197 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:54	2705	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:54	2705	[DEBUG]	Executed store
2023-10-13	13:10:54	2705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862197','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:54	2705	[DEBUG]	Checking manufacturer
2023-10-13	13:10:54	2705	[DEBUG]	Load a row
2023-10-13	13:10:54	2705	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:54	2705	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:54	2705	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:54	2705	[DEBUG]	Executed store
2023-10-13	13:10:54	2705	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:54	2705	[DEBUG]	Manufacturer exists
2023-10-13	13:10:54	2705	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:10:54	2705	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:54	2705	[DEBUG]	Executed store
2023-10-13	13:10:54	2705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862197','32')
2023-10-13	13:10:54	2705	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:54	2705	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:54	2705	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862197 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:54	2705	[DEBUG]	Store custom available field
2023-10-13	13:10:54	2705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862197,3,'',1)
2023-10-13	13:10:54	2705	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:54	2705	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:54	2705	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862197 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:54	2705	[DEBUG]	Store custom available field
2023-10-13	13:10:54	2705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862197,6,'Unitaire',3)
2023-10-13	13:10:54	2705	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:54	2705	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:54	2705	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862196
2023-10-13	13:10:54	2705	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:54	2705	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862196\":[1862196,8,1,\"choisir la taille\"],\"1862197\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862196
2023-10-13	13:10:54	2705	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:54	2705	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862197
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:54	2706	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field taille
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:54	2706	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:54	2706	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:54	2706	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:54	2706	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:54	2706	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:54	2706	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field published
2023-10-13	13:10:54	2706	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:54	2706	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field override
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:54	2706	[DEBUG]	Use field value for field slug
2023-10-13	13:10:54	2706	[DEBUG]	Process line 2706
2023-10-13	13:10:54	2706	[DEBUG]	Load a row
2023-10-13	13:10:54	2706	[DEBUG]	Processing item: A_1520_1
2023-10-13	13:10:54	2706	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:54	2706	[DEBUG]	Processing product tax
2023-10-13	13:10:54	2706	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:54	2706	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:54	2706	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:54	2706	[DEBUG]	Query for Product
2023-10-13	13:10:54	2706	[DEBUG]	Executed store
2023-10-13	13:10:54	2706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1520_1','0.235','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:10:54	2706	[DEBUG]	Check product language entry
2023-10-13	13:10:54	2706	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862198
2023-10-13	13:10:54	2706	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:54	2706	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1520_1' AND `virtuemart_product_id` != 1862198
2023-10-13	13:10:54	2706	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:54	2706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862198, 'A_1520_1')
2023-10-13	13:10:54	2706	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:54	2706	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-680mm-double-hauteur-alu7005t6-msc-wcr-25-4mm-noir' AND `virtuemart_product_id` != 1862198
2023-10-13	13:10:54	2706	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:10:54	2706	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-guidon-680mm-double-hauteur-alu7005t6-msc-wcr-25-4mm-noir', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-guidon-680mm-double-hauteur-alu7005t6-msc-wcr-25-4mm-noir' OR `slug` LIKE 'msc-guidon-680mm-double-hauteur-alu7005t6-msc-wcr-25-4mm-noir-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862198 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:10:54	2706	[DEBUG]	Query for ProductLang
2023-10-13	13:10:54	2706	[DEBUG]	Executed store
2023-10-13	13:10:54	2706	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='235 gr.<br>N° art fourn : GB07545',`product_name`='MSC GUIDON 680mm DOUBLE HAUTEUR Alu7005T6 MSC WCR 25.4mm  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-680mm-double-hauteur-alu7005t6-msc-wcr-25-4mm-noir-1' WHERE `virtuemart_product_id` = '1862198'
2023-10-13	13:10:54	2706	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3610.jpg
2023-10-13	13:10:54	2706	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:54	2706	[DEBUG]	Process image file
2023-10-13	13:10:54	2706	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:54	2706	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:54	2706	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3610.jpg
2023-10-13	13:10:54	2706	[DEBUG]	Full name target: bcprisme/image_3610.jpg
2023-10-13	13:10:55	2706	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:55	2706	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3610.jpg'
2023-10-13	13:10:55	2706	[DEBUG]	Query for Media
2023-10-13	13:10:55	2706	[DEBUG]	Executed store
2023-10-13	13:10:55	2706	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3610.jpg',`file_url_thumb`='bcprisme/image_3610.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12916'
2023-10-13	13:10:55	2706	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:55	2706	[DEBUG]	Executed store
2023-10-13	13:10:55	2706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862198','12916','1')
2023-10-13	13:10:55	2706	[DEBUG]	Store product image relation
2023-10-13	13:10:55	2706	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:55	2706	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862198 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:55	2706	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:55	2706	[DEBUG]	Executed store
2023-10-13	13:10:55	2706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862198','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:55	2706	[DEBUG]	Checking manufacturer
2023-10-13	13:10:55	2706	[DEBUG]	Load a row
2023-10-13	13:10:55	2706	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:55	2706	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:55	2706	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:55	2706	[DEBUG]	Executed store
2023-10-13	13:10:55	2706	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:55	2706	[DEBUG]	Manufacturer exists
2023-10-13	13:10:55	2706	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:10:55	2706	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:55	2706	[DEBUG]	Executed store
2023-10-13	13:10:55	2706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862198','32')
2023-10-13	13:10:55	2706	[DEBUG]	Find the custom field ID
2023-10-13	13:10:55	2706	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:55	2706	[DEBUG]	No custom field ID found
2023-10-13	13:10:55	2706	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:55	2706	[DEBUG]	Get existing row with customfield value 74.6919444444444
2023-10-13	13:10:55	2706	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862198 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:55	2706	[DEBUG]	Store custom available field
2023-10-13	13:10:55	2706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862198,3,'74.6919444444444',1)
2023-10-13	13:10:55	2706	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:55	2706	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:55	2706	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862198 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:55	2706	[DEBUG]	Store custom available field
2023-10-13	13:10:55	2706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862198,6,'choisir la taille',3)
2023-10-13	13:10:55	2706	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:55	2706	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:55	2706	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:55	2706	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:55	2706	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862198 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:55	2706	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:55	2706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862198,8,1)
2023-10-13	13:10:55	2706	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:55	2706	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862198\":[1862198,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862198
2023-10-13	13:10:55	2706	[DEBUG]	Checking category
2023-10-13	13:10:55	2706	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:55	2706	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862198
2023-10-13	13:10:55	2706	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:55	2706	[DEBUG]	Executed store
2023-10-13	13:10:55	2706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862198','7357')
2023-10-13	13:10:55	2706	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:55	2706	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862198 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:10:55	2706	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:55	2706	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862198
2023-10-13	13:10:55	2707	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:55	2707	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:55	2707	[DEBUG]	Use field value for field taille
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:55	2707	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:55	2707	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:55	2707	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:55	2707	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:55	2707	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:55	2707	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:55	2707	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:55	2707	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:55	2707	[DEBUG]	Use field value for field published
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:55	2707	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field override
2023-10-13	13:10:55	2707	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:55	2707	[DEBUG]	Use field value for field slug
2023-10-13	13:10:55	2707	[DEBUG]	Process line 2707
2023-10-13	13:10:55	2707	[DEBUG]	Load a row
2023-10-13	13:10:55	2707	[DEBUG]	Processing item: 1000000027044
2023-10-13	13:10:55	2707	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:55	2707	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:55	2707	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1520_1'
2023-10-13	13:10:55	2707	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:55	2707	[DEBUG]	Processing product tax
2023-10-13	13:10:55	2707	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:55	2707	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:55	2707	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:55	2707	[DEBUG]	Query for Product
2023-10-13	13:10:55	2707	[DEBUG]	Executed store
2023-10-13	13:10:55	2707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862198','1000000027044','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:10:55	2707	[DEBUG]	No parent found
2023-10-13	13:10:55	2707	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862198 AND customfield_value = 'stockable'
2023-10-13	13:10:55	2707	[DEBUG]	Check product language entry
2023-10-13	13:10:55	2707	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862199
2023-10-13	13:10:55	2707	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:55	2707	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000027044' AND `virtuemart_product_id` != 1862199
2023-10-13	13:10:55	2707	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:55	2707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862199, '1000000027044')
2023-10-13	13:10:55	2707	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:55	2707	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-680mm-double-hauteur-alu7005t6-msc-wcr-25-4mm-noir-unitaire' AND `virtuemart_product_id` != 1862199
2023-10-13	13:10:55	2707	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:10:55	2707	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-guidon-680mm-double-hauteur-alu7005t6-msc-wcr-25-4mm-noir-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-guidon-680mm-double-hauteur-alu7005t6-msc-wcr-25-4mm-noir-unitaire' OR `slug` LIKE 'msc-guidon-680mm-double-hauteur-alu7005t6-msc-wcr-25-4mm-noir-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862199 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:10:55	2707	[DEBUG]	Query for ProductLang
2023-10-13	13:10:55	2707	[DEBUG]	Executed store
2023-10-13	13:10:55	2707	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 680mm DOUBLE HAUTEUR Alu7005T6 MSC WCR 25.4mm  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-680mm-double-hauteur-alu7005t6-msc-wcr-25-4mm-noir-unitaire-1' WHERE `virtuemart_product_id` = '1862199'
2023-10-13	13:10:55	2707	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3610.jpg
2023-10-13	13:10:55	2707	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:55	2707	[DEBUG]	Process image file
2023-10-13	13:10:55	2707	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:10:55	2707	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:55	2707	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3610.jpg
2023-10-13	13:10:55	2707	[DEBUG]	Full name target: bcprisme/image_3610.jpg
2023-10-13	13:10:56	2707	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:56	2707	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3610.jpg'
2023-10-13	13:10:56	2707	[DEBUG]	Query for Media
2023-10-13	13:10:56	2707	[DEBUG]	Executed store
2023-10-13	13:10:56	2707	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3610.jpg',`file_url_thumb`='bcprisme/image_3610.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12916'
2023-10-13	13:10:56	2707	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:56	2707	[DEBUG]	Executed store
2023-10-13	13:10:56	2707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862199','12916','1')
2023-10-13	13:10:56	2707	[DEBUG]	Store product image relation
2023-10-13	13:10:56	2707	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:56	2707	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862199 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:56	2707	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:56	2707	[DEBUG]	Executed store
2023-10-13	13:10:56	2707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862199','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:56	2707	[DEBUG]	Checking manufacturer
2023-10-13	13:10:56	2707	[DEBUG]	Load a row
2023-10-13	13:10:56	2707	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:56	2707	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:56	2707	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:56	2707	[DEBUG]	Executed store
2023-10-13	13:10:56	2707	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:56	2707	[DEBUG]	Manufacturer exists
2023-10-13	13:10:56	2707	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:10:56	2707	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:56	2707	[DEBUG]	Executed store
2023-10-13	13:10:56	2707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862199','32')
2023-10-13	13:10:56	2707	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:56	2707	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:56	2707	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862199 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:56	2707	[DEBUG]	Store custom available field
2023-10-13	13:10:56	2707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862199,3,'',1)
2023-10-13	13:10:56	2707	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:56	2707	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:56	2707	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862199 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:56	2707	[DEBUG]	Store custom available field
2023-10-13	13:10:56	2707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862199,6,'Unitaire',3)
2023-10-13	13:10:56	2707	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:56	2707	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:56	2707	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862198
2023-10-13	13:10:56	2707	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:56	2707	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862198\":[1862198,8,1,\"choisir la taille\"],\"1862199\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862198
2023-10-13	13:10:56	2707	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:56	2707	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862199
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:56	2708	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field taille
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:56	2708	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:56	2708	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:56	2708	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:56	2708	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:56	2708	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:56	2708	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field published
2023-10-13	13:10:56	2708	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:56	2708	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field override
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:56	2708	[DEBUG]	Use field value for field slug
2023-10-13	13:10:56	2708	[DEBUG]	Process line 2708
2023-10-13	13:10:56	2708	[DEBUG]	Load a row
2023-10-13	13:10:56	2708	[DEBUG]	Processing item: A_1801_1
2023-10-13	13:10:56	2708	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:56	2708	[DEBUG]	Processing product tax
2023-10-13	13:10:56	2708	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:56	2708	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:56	2708	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:56	2708	[DEBUG]	Query for Product
2023-10-13	13:10:56	2708	[DEBUG]	Executed store
2023-10-13	13:10:56	2708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1801_1','0.221','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:10:56	2708	[DEBUG]	Check product language entry
2023-10-13	13:10:56	2708	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862200
2023-10-13	13:10:56	2708	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:56	2708	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1801_1' AND `virtuemart_product_id` != 1862200
2023-10-13	13:10:56	2708	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:56	2708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862200, 'A_1801_1')
2023-10-13	13:10:56	2708	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:56	2708	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-700mm-double-hauteur-alu6061t4-da-bomb-25-4mm-noir' AND `virtuemart_product_id` != 1862200
2023-10-13	13:10:56	2708	[DEBUG]	Query for ProductLang
2023-10-13	13:10:56	2708	[DEBUG]	Executed store
2023-10-13	13:10:56	2708	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon double hauteur Alu6061T4 DA BOMB 700mm 25.4Ø, 2 <br><br>221gr <br>N° art fourn : 750520\"',`product_name`='MSC GUIDON 700mm DOUBLE HAUTEUR Alu6061T4 DA BOMB 25.4mm  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-700mm-double-hauteur-alu6061t4-da-bomb-25-4mm-noir' WHERE `virtuemart_product_id` = '1862200'
2023-10-13	13:10:56	2708	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5969.jpg
2023-10-13	13:10:56	2708	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:10:56	2708	[DEBUG]	Process image file
2023-10-13	13:10:56	2708	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:10:56	2708	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:56	2708	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5969.jpg
2023-10-13	13:10:56	2708	[DEBUG]	Full name target: bcprisme/image_5969.jpg
2023-10-13	13:10:57	2708	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:57	2708	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5969.jpg'
2023-10-13	13:10:57	2708	[DEBUG]	Query for Media
2023-10-13	13:10:57	2708	[DEBUG]	Executed store
2023-10-13	13:10:57	2708	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5969.jpg',`file_url_thumb`='bcprisme/image_5969.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12917'
2023-10-13	13:10:57	2708	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:57	2708	[DEBUG]	Executed store
2023-10-13	13:10:57	2708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862200','12917','1')
2023-10-13	13:10:57	2708	[DEBUG]	Store product image relation
2023-10-13	13:10:57	2708	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:57	2708	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862200 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:57	2708	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:57	2708	[DEBUG]	Executed store
2023-10-13	13:10:57	2708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862200','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:57	2708	[DEBUG]	Checking manufacturer
2023-10-13	13:10:57	2708	[DEBUG]	Load a row
2023-10-13	13:10:57	2708	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:57	2708	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:57	2708	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:57	2708	[DEBUG]	Executed store
2023-10-13	13:10:57	2708	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:57	2708	[DEBUG]	Manufacturer exists
2023-10-13	13:10:57	2708	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:10:57	2708	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:57	2708	[DEBUG]	Executed store
2023-10-13	13:10:57	2708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862200','32')
2023-10-13	13:10:57	2708	[DEBUG]	Find the custom field ID
2023-10-13	13:10:57	2708	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:10:57	2708	[DEBUG]	No custom field ID found
2023-10-13	13:10:57	2708	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:57	2708	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	13:10:57	2708	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862200 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:57	2708	[DEBUG]	Store custom available field
2023-10-13	13:10:57	2708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862200,3,'49.7613888888889',1)
2023-10-13	13:10:57	2708	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:57	2708	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:10:57	2708	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862200 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:57	2708	[DEBUG]	Store custom available field
2023-10-13	13:10:57	2708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862200,6,'choisir la taille',3)
2023-10-13	13:10:57	2708	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:57	2708	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:10:57	2708	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:10:57	2708	[DEBUG]	Find the multi variant product entry
2023-10-13	13:10:57	2708	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862200 AND `virtuemart_custom_id` = 8
2023-10-13	13:10:57	2708	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:10:57	2708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862200,8,1)
2023-10-13	13:10:57	2708	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:57	2708	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862200\":[1862200,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862200
2023-10-13	13:10:57	2708	[DEBUG]	Checking category
2023-10-13	13:10:57	2708	[DEBUG]	Get the existing categories for the product
2023-10-13	13:10:57	2708	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862200
2023-10-13	13:10:57	2708	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:10:57	2708	[DEBUG]	Executed store
2023-10-13	13:10:57	2708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862200','7357')
2023-10-13	13:10:57	2708	[DEBUG]	Delete leftover product categories
2023-10-13	13:10:57	2708	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862200 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:10:57	2708	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:57	2708	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862200
2023-10-13	13:10:57	2709	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:57	2709	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:10:57	2709	[DEBUG]	Use field value for field taille
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:10:57	2709	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field category_path
2023-10-13	13:10:57	2709	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:57	2709	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:57	2709	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:57	2709	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:10:57	2709	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field product_weight
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:57	2709	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:57	2709	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:57	2709	[DEBUG]	Use field value for field published
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field custom_title
2023-10-13	13:10:57	2709	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field custom_param
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field override
2023-10-13	13:10:57	2709	[DEBUG]	Use default value for field public_price
2023-10-13	13:10:57	2709	[DEBUG]	Use field value for field slug
2023-10-13	13:10:57	2709	[DEBUG]	Process line 2709
2023-10-13	13:10:57	2709	[DEBUG]	Load a row
2023-10-13	13:10:57	2709	[DEBUG]	Processing item: 1000000031522
2023-10-13	13:10:57	2709	[DEBUG]	Looking for parent SKU
2023-10-13	13:10:57	2709	[DEBUG]	Checking product parent SKU
2023-10-13	13:10:57	2709	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1801_1'
2023-10-13	13:10:57	2709	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:57	2709	[DEBUG]	Processing product tax
2023-10-13	13:10:57	2709	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:57	2709	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:57	2709	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:57	2709	[DEBUG]	Query for Product
2023-10-13	13:10:57	2709	[DEBUG]	Executed store
2023-10-13	13:10:57	2709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862200','1000000031522','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:10:57	2709	[DEBUG]	No parent found
2023-10-13	13:10:57	2709	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862200 AND customfield_value = 'stockable'
2023-10-13	13:10:57	2709	[DEBUG]	Check product language entry
2023-10-13	13:10:57	2709	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862201
2023-10-13	13:10:57	2709	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:57	2709	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000031522' AND `virtuemart_product_id` != 1862201
2023-10-13	13:10:57	2709	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:57	2709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862201, '1000000031522')
2023-10-13	13:10:57	2709	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:57	2709	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-700mm-double-hauteur-alu6061t4-da-bomb-25-4mm-noir-unitaire' AND `virtuemart_product_id` != 1862201
2023-10-13	13:10:57	2709	[DEBUG]	Query for ProductLang
2023-10-13	13:10:57	2709	[DEBUG]	Executed store
2023-10-13	13:10:57	2709	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 700mm DOUBLE HAUTEUR Alu6061T4 DA BOMB 25.4mm  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-700mm-double-hauteur-alu6061t4-da-bomb-25-4mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862201'
2023-10-13	13:10:57	2709	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5969.jpg
2023-10-13	13:10:57	2709	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:10:57	2709	[DEBUG]	Process image file
2023-10-13	13:10:57	2709	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:10:57	2709	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:57	2709	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5969.jpg
2023-10-13	13:10:57	2709	[DEBUG]	Full name target: bcprisme/image_5969.jpg
2023-10-13	13:10:58	2709	[DEBUG]	Checking if the file_url exists
2023-10-13	13:10:58	2709	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5969.jpg'
2023-10-13	13:10:58	2709	[DEBUG]	Query for Media
2023-10-13	13:10:58	2709	[DEBUG]	Executed store
2023-10-13	13:10:58	2709	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5969.jpg',`file_url_thumb`='bcprisme/image_5969.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12917'
2023-10-13	13:10:58	2709	[DEBUG]	Query for ProductMedia
2023-10-13	13:10:58	2709	[DEBUG]	Executed store
2023-10-13	13:10:58	2709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862201','12917','1')
2023-10-13	13:10:58	2709	[DEBUG]	Store product image relation
2023-10-13	13:10:58	2709	[DEBUG]	Finding a product_price_id
2023-10-13	13:10:58	2709	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862201 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:10:58	2709	[DEBUG]	Query for ProductPrice
2023-10-13	13:10:58	2709	[DEBUG]	Executed store
2023-10-13	13:10:58	2709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862201','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:10:58	2709	[DEBUG]	Checking manufacturer
2023-10-13	13:10:58	2709	[DEBUG]	Load a row
2023-10-13	13:10:58	2709	[DEBUG]	Manufacturer already exists
2023-10-13	13:10:58	2709	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:58	2709	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:10:58	2709	[DEBUG]	Executed store
2023-10-13	13:10:58	2709	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:10:58	2709	[DEBUG]	Manufacturer exists
2023-10-13	13:10:58	2709	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:10:58	2709	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:10:58	2709	[DEBUG]	Executed store
2023-10-13	13:10:58	2709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862201','32')
2023-10-13	13:10:58	2709	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:10:58	2709	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:10:58	2709	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862201 AND `virtuemart_custom_id` = 3
2023-10-13	13:10:58	2709	[DEBUG]	Store custom available field
2023-10-13	13:10:58	2709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862201,3,'',1)
2023-10-13	13:10:58	2709	[DEBUG]	Processing custom available field: taille
2023-10-13	13:10:58	2709	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:10:58	2709	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862201 AND `virtuemart_custom_id` = 6
2023-10-13	13:10:58	2709	[DEBUG]	Store custom available field
2023-10-13	13:10:58	2709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862201,6,'Unitaire',3)
2023-10-13	13:10:58	2709	[DEBUG]	Process multi-variant fields
2023-10-13	13:10:58	2709	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:10:58	2709	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862200
2023-10-13	13:10:58	2709	[DEBUG]	Store the updated customfield_params
2023-10-13	13:10:58	2709	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862200\":[1862200,8,1,\"choisir la taille\"],\"1862201\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862200
2023-10-13	13:10:58	2709	[DEBUG]	Update has fields after all processing
2023-10-13	13:10:58	2709	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862201
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field product_sku
2023-10-13	13:10:58	2710	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field taille
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field product_name
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field category_path
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field product_price
2023-10-13	13:10:58	2710	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field product_tax
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field file_url
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:10:58	2710	[DEBUG]	Use default value for field product_desc
2023-10-13	13:10:58	2710	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field product_availability
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field product_weight
2023-10-13	13:10:58	2710	[DEBUG]	Use default value for field product_unit
2023-10-13	13:10:58	2710	[DEBUG]	Use default value for field related_products
2023-10-13	13:10:58	2710	[DEBUG]	Use default value for field product_special
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field published
2023-10-13	13:10:58	2710	[DEBUG]	Use default value for field metadesc
2023-10-13	13:10:58	2710	[DEBUG]	Use default value for field metakey
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field custom_title
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field custom_value
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field custom_param
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field override
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field public_price
2023-10-13	13:10:58	2710	[DEBUG]	Use field value for field slug
2023-10-13	13:10:58	2710	[DEBUG]	Process line 2710
2023-10-13	13:10:58	2710	[DEBUG]	Load a row
2023-10-13	13:10:58	2710	[DEBUG]	Processing item: A_1803_1
2023-10-13	13:10:58	2710	[DEBUG]	Product tax: 7.7
2023-10-13	13:10:58	2710	[DEBUG]	Processing product tax
2023-10-13	13:10:58	2710	[DEBUG]	Check if calculation rule exists
2023-10-13	13:10:58	2710	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:10:58	2710	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:10:58	2710	[DEBUG]	Query for Product
2023-10-13	13:10:58	2710	[DEBUG]	Executed store
2023-10-13	13:10:58	2710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1803_1','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:10:58	2710	[DEBUG]	Check product language entry
2023-10-13	13:10:58	2710	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862202
2023-10-13	13:10:58	2710	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:58	2710	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1803_1' AND `virtuemart_product_id` != 1862202
2023-10-13	13:10:58	2710	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:10:58	2710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862202, 'A_1803_1')
2023-10-13	13:10:58	2710	[DEBUG]	Check if the product slug exists
2023-10-13	13:10:58	2710	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-680mm-double-hauteur-truvativ-1-5-25-4mm-noir' AND `virtuemart_product_id` != 1862202
2023-10-13	13:10:58	2710	[DEBUG]	Query for ProductLang
2023-10-13	13:10:58	2710	[DEBUG]	Executed store
2023-10-13	13:10:58	2710	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon double hauteur TRUVATIV 1.5 680mm 25.4Ø<br>N° art fourn : RB33456\"',`product_name`='MSC GUIDON 680mm DOUBLE HAUTEUR TRUVATIV 1.5 25.4mm  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-680mm-double-hauteur-truvativ-1-5-25-4mm-noir' WHERE `virtuemart_product_id` = '1862202'
2023-10-13	13:10:58	2710	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5973.jpg
2023-10-13	13:10:58	2710	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:10:58	2710	[DEBUG]	Process image file
2023-10-13	13:10:58	2710	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:10:58	2710	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:10:58	2710	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5973.jpg
2023-10-13	13:10:58	2710	[DEBUG]	Full name target: bcprisme/image_5973.jpg
2023-10-13	13:11:00	2710	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:00	2710	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5973.jpg'
2023-10-13	13:11:00	2710	[DEBUG]	Query for Media
2023-10-13	13:11:00	2710	[DEBUG]	Executed store
2023-10-13	13:11:00	2710	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5973.jpg',`file_url_thumb`='bcprisme/image_5973.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12918'
2023-10-13	13:11:00	2710	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:00	2710	[DEBUG]	Executed store
2023-10-13	13:11:00	2710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862202','12918','1')
2023-10-13	13:11:00	2710	[DEBUG]	Store product image relation
2023-10-13	13:11:00	2710	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:00	2710	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862202 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:00	2710	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:00	2710	[DEBUG]	Executed store
2023-10-13	13:11:00	2710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862202','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:00	2710	[DEBUG]	Checking manufacturer
2023-10-13	13:11:00	2710	[DEBUG]	Load a row
2023-10-13	13:11:00	2710	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:00	2710	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:00	2710	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:00	2710	[DEBUG]	Executed store
2023-10-13	13:11:00	2710	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:00	2710	[DEBUG]	Manufacturer exists
2023-10-13	13:11:00	2710	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:00	2710	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:00	2710	[DEBUG]	Executed store
2023-10-13	13:11:00	2710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862202','32')
2023-10-13	13:11:00	2710	[DEBUG]	Find the custom field ID
2023-10-13	13:11:00	2710	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:00	2710	[DEBUG]	No custom field ID found
2023-10-13	13:11:00	2710	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:00	2710	[DEBUG]	Get existing row with customfield value 64.7197222222222
2023-10-13	13:11:00	2710	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862202 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:00	2710	[DEBUG]	Store custom available field
2023-10-13	13:11:00	2710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862202,3,'64.7197222222222',1)
2023-10-13	13:11:00	2710	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:00	2710	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:00	2710	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862202 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:00	2710	[DEBUG]	Store custom available field
2023-10-13	13:11:00	2710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862202,6,'choisir la taille',3)
2023-10-13	13:11:00	2710	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:00	2710	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:00	2710	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:00	2710	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:00	2710	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862202 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:00	2710	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:00	2710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862202,8,1)
2023-10-13	13:11:00	2710	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:00	2710	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862202\":[1862202,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862202
2023-10-13	13:11:00	2710	[DEBUG]	Checking category
2023-10-13	13:11:00	2710	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:00	2710	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862202
2023-10-13	13:11:00	2710	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:00	2710	[DEBUG]	Executed store
2023-10-13	13:11:00	2710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862202','7357')
2023-10-13	13:11:00	2710	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:00	2710	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862202 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:00	2710	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:00	2710	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862202
2023-10-13	13:11:00	2711	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:00	2711	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:00	2711	[DEBUG]	Use field value for field taille
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:00	2711	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:00	2711	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:00	2711	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:00	2711	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:00	2711	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:00	2711	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:00	2711	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:00	2711	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:00	2711	[DEBUG]	Use field value for field published
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:00	2711	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field override
2023-10-13	13:11:00	2711	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:00	2711	[DEBUG]	Use field value for field slug
2023-10-13	13:11:00	2711	[DEBUG]	Process line 2711
2023-10-13	13:11:00	2711	[DEBUG]	Load a row
2023-10-13	13:11:00	2711	[DEBUG]	Processing item: 1000000031553
2023-10-13	13:11:00	2711	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:00	2711	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:00	2711	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1803_1'
2023-10-13	13:11:00	2711	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:00	2711	[DEBUG]	Processing product tax
2023-10-13	13:11:00	2711	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:00	2711	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:00	2711	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:00	2711	[DEBUG]	Query for Product
2023-10-13	13:11:00	2711	[DEBUG]	Executed store
2023-10-13	13:11:00	2711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862202','1000000031553','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:00	2711	[DEBUG]	No parent found
2023-10-13	13:11:00	2711	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862202 AND customfield_value = 'stockable'
2023-10-13	13:11:00	2711	[DEBUG]	Check product language entry
2023-10-13	13:11:00	2711	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862203
2023-10-13	13:11:00	2711	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:00	2711	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000031553' AND `virtuemart_product_id` != 1862203
2023-10-13	13:11:00	2711	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:00	2711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862203, '1000000031553')
2023-10-13	13:11:00	2711	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:00	2711	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-680mm-double-hauteur-truvativ-1-5-25-4mm-noir-unitaire' AND `virtuemart_product_id` != 1862203
2023-10-13	13:11:00	2711	[DEBUG]	Query for ProductLang
2023-10-13	13:11:00	2711	[DEBUG]	Executed store
2023-10-13	13:11:00	2711	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 680mm DOUBLE HAUTEUR TRUVATIV 1.5 25.4mm  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-680mm-double-hauteur-truvativ-1-5-25-4mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862203'
2023-10-13	13:11:00	2711	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5973.jpg
2023-10-13	13:11:00	2711	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:11:00	2711	[DEBUG]	Process image file
2023-10-13	13:11:00	2711	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:11:00	2711	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:00	2711	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5973.jpg
2023-10-13	13:11:00	2711	[DEBUG]	Full name target: bcprisme/image_5973.jpg
2023-10-13	13:11:01	2711	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:01	2711	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5973.jpg'
2023-10-13	13:11:01	2711	[DEBUG]	Query for Media
2023-10-13	13:11:01	2711	[DEBUG]	Executed store
2023-10-13	13:11:01	2711	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5973.jpg',`file_url_thumb`='bcprisme/image_5973.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12918'
2023-10-13	13:11:01	2711	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:01	2711	[DEBUG]	Executed store
2023-10-13	13:11:01	2711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862203','12918','1')
2023-10-13	13:11:01	2711	[DEBUG]	Store product image relation
2023-10-13	13:11:01	2711	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:01	2711	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862203 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:01	2711	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:01	2711	[DEBUG]	Executed store
2023-10-13	13:11:01	2711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862203','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:01	2711	[DEBUG]	Checking manufacturer
2023-10-13	13:11:01	2711	[DEBUG]	Load a row
2023-10-13	13:11:01	2711	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:01	2711	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:01	2711	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:01	2711	[DEBUG]	Executed store
2023-10-13	13:11:01	2711	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:01	2711	[DEBUG]	Manufacturer exists
2023-10-13	13:11:01	2711	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:01	2711	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:01	2711	[DEBUG]	Executed store
2023-10-13	13:11:01	2711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862203','32')
2023-10-13	13:11:01	2711	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:01	2711	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:01	2711	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862203 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:01	2711	[DEBUG]	Store custom available field
2023-10-13	13:11:01	2711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862203,3,'',1)
2023-10-13	13:11:01	2711	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:01	2711	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:01	2711	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862203 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:01	2711	[DEBUG]	Store custom available field
2023-10-13	13:11:01	2711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862203,6,'Unitaire',3)
2023-10-13	13:11:01	2711	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:01	2711	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:01	2711	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862202
2023-10-13	13:11:01	2711	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:01	2711	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862202\":[1862202,8,1,\"choisir la taille\"],\"1862203\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862202
2023-10-13	13:11:01	2711	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:01	2711	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862203
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:01	2712	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field taille
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:01	2712	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:01	2712	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:01	2712	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:01	2712	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:01	2712	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:01	2712	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field published
2023-10-13	13:11:01	2712	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:01	2712	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field override
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:01	2712	[DEBUG]	Use field value for field slug
2023-10-13	13:11:01	2712	[DEBUG]	Process line 2712
2023-10-13	13:11:01	2712	[DEBUG]	Load a row
2023-10-13	13:11:01	2712	[DEBUG]	Processing item: A_7749_2
2023-10-13	13:11:01	2712	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:01	2712	[DEBUG]	Processing product tax
2023-10-13	13:11:01	2712	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:01	2712	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:01	2712	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:01	2712	[DEBUG]	Query for Product
2023-10-13	13:11:01	2712	[DEBUG]	Executed store
2023-10-13	13:11:01	2712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7749_2','0.24','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:01	2712	[DEBUG]	Check product language entry
2023-10-13	13:11:01	2712	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862204
2023-10-13	13:11:01	2712	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:01	2712	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7749_2' AND `virtuemart_product_id` != 1862204
2023-10-13	13:11:01	2712	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:01	2712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862204, 'A_7749_2')
2023-10-13	13:11:01	2712	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:01	2712	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-guidon-contac-slr-road-compact-carbone-420mm-carbone' AND `virtuemart_product_id` != 1862204
2023-10-13	13:11:01	2712	[DEBUG]	Query for ProductLang
2023-10-13	13:11:01	2712	[DEBUG]	Executed store
2023-10-13	13:11:01	2712	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Diamètre 25.4 mm<br>N° art fourn : 180000183',`product_name`='GIANT GUIDON CONTAC SLR ROAD COMPACT CARBONE 420mm / Carbone',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-guidon-contac-slr-road-compact-carbone-420mm-carbone' WHERE `virtuemart_product_id` = '1862204'
2023-10-13	13:11:01	2712	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36107_guidon_giant_contac_slr_road_compact_carbone_420mm.jpg
2023-10-13	13:11:01	2712	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:01	2712	[DEBUG]	Process image file
2023-10-13	13:11:01	2712	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:01	2712	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:01	2712	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36107_guidon_giant_contac_slr_road_compact_carbone_420mm.jpg
2023-10-13	13:11:01	2712	[DEBUG]	Full name target: bcprisme/36107_guidon_giant_contac_slr_road_compact_carbone_420mm.jpg
2023-10-13	13:11:02	2712	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:02	2712	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36107_guidon_giant_contac_slr_road_compact_carbone_420mm.jpg'
2023-10-13	13:11:02	2712	[DEBUG]	Query for Media
2023-10-13	13:11:02	2712	[DEBUG]	Executed store
2023-10-13	13:11:02	2712	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36107_guidon_giant_contac_slr_road_compact_carbone_420mm.jpg',`file_url_thumb`='bcprisme/36107_guidon_giant_contac_slr_road_compact_carbone_420mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '443520'
2023-10-13	13:11:02	2712	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:02	2712	[DEBUG]	Executed store
2023-10-13	13:11:02	2712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862204','443520','1')
2023-10-13	13:11:02	2712	[DEBUG]	Store product image relation
2023-10-13	13:11:02	2712	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:02	2712	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862204 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:02	2712	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:02	2712	[DEBUG]	Executed store
2023-10-13	13:11:02	2712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862204','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:02	2712	[DEBUG]	Checking manufacturer
2023-10-13	13:11:02	2712	[DEBUG]	Load a row
2023-10-13	13:11:02	2712	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:02	2712	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:11:02	2712	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:02	2712	[DEBUG]	Executed store
2023-10-13	13:11:02	2712	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:11:02	2712	[DEBUG]	Manufacturer exists
2023-10-13	13:11:02	2712	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	13:11:02	2712	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:02	2712	[DEBUG]	Executed store
2023-10-13	13:11:02	2712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862204','29')
2023-10-13	13:11:02	2712	[DEBUG]	Find the custom field ID
2023-10-13	13:11:02	2712	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:02	2712	[DEBUG]	No custom field ID found
2023-10-13	13:11:02	2712	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:02	2712	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:11:02	2712	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862204 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:02	2712	[DEBUG]	Store custom available field
2023-10-13	13:11:02	2712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862204,3,'19.8447222222222',1)
2023-10-13	13:11:02	2712	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:02	2712	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:02	2712	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862204 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:02	2712	[DEBUG]	Store custom available field
2023-10-13	13:11:02	2712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862204,6,'choisir la taille',3)
2023-10-13	13:11:02	2712	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:02	2712	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:02	2712	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:02	2712	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:02	2712	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862204 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:02	2712	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:02	2712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862204,8,1)
2023-10-13	13:11:02	2712	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:02	2712	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862204\":[1862204,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862204
2023-10-13	13:11:02	2712	[DEBUG]	Checking category
2023-10-13	13:11:02	2712	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:02	2712	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862204
2023-10-13	13:11:02	2712	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:02	2712	[DEBUG]	Executed store
2023-10-13	13:11:02	2712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862204','7357')
2023-10-13	13:11:02	2712	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:02	2712	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862204 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:02	2712	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:02	2712	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862204
2023-10-13	13:11:02	2713	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:02	2713	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:02	2713	[DEBUG]	Use field value for field taille
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:02	2713	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:02	2713	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:02	2713	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:02	2713	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:02	2713	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:02	2713	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:02	2713	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:02	2713	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:02	2713	[DEBUG]	Use field value for field published
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:02	2713	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field override
2023-10-13	13:11:02	2713	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:02	2713	[DEBUG]	Use field value for field slug
2023-10-13	13:11:02	2713	[DEBUG]	Process line 2713
2023-10-13	13:11:02	2713	[DEBUG]	Load a row
2023-10-13	13:11:02	2713	[DEBUG]	Processing item: 1000000135879
2023-10-13	13:11:02	2713	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:02	2713	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:02	2713	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7749_2'
2023-10-13	13:11:02	2713	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:02	2713	[DEBUG]	Processing product tax
2023-10-13	13:11:02	2713	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:02	2713	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:02	2713	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:02	2713	[DEBUG]	Query for Product
2023-10-13	13:11:02	2713	[DEBUG]	Executed store
2023-10-13	13:11:02	2713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862204','1000000135879','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:02	2713	[DEBUG]	No parent found
2023-10-13	13:11:02	2713	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862204 AND customfield_value = 'stockable'
2023-10-13	13:11:02	2713	[DEBUG]	Check product language entry
2023-10-13	13:11:02	2713	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862205
2023-10-13	13:11:02	2713	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:02	2713	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000135879' AND `virtuemart_product_id` != 1862205
2023-10-13	13:11:02	2713	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:02	2713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862205, '1000000135879')
2023-10-13	13:11:02	2713	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:02	2713	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-guidon-contac-slr-road-compact-carbone-420mm-carbone-unitaire' AND `virtuemart_product_id` != 1862205
2023-10-13	13:11:02	2713	[DEBUG]	Query for ProductLang
2023-10-13	13:11:02	2713	[DEBUG]	Executed store
2023-10-13	13:11:02	2713	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT GUIDON CONTAC SLR ROAD COMPACT CARBONE 420mm / Carbone (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-guidon-contac-slr-road-compact-carbone-420mm-carbone-unitaire' WHERE `virtuemart_product_id` = '1862205'
2023-10-13	13:11:02	2713	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36107_guidon_giant_contac_slr_road_compact_carbone_420mm.jpg
2023-10-13	13:11:02	2713	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:02	2713	[DEBUG]	Process image file
2023-10-13	13:11:02	2713	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:02	2713	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:02	2713	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36107_guidon_giant_contac_slr_road_compact_carbone_420mm.jpg
2023-10-13	13:11:02	2713	[DEBUG]	Full name target: bcprisme/36107_guidon_giant_contac_slr_road_compact_carbone_420mm.jpg
2023-10-13	13:11:03	2713	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:03	2713	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36107_guidon_giant_contac_slr_road_compact_carbone_420mm.jpg'
2023-10-13	13:11:03	2713	[DEBUG]	Query for Media
2023-10-13	13:11:03	2713	[DEBUG]	Executed store
2023-10-13	13:11:03	2713	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36107_guidon_giant_contac_slr_road_compact_carbone_420mm.jpg',`file_url_thumb`='bcprisme/36107_guidon_giant_contac_slr_road_compact_carbone_420mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '443520'
2023-10-13	13:11:03	2713	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:03	2713	[DEBUG]	Executed store
2023-10-13	13:11:03	2713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862205','443520','1')
2023-10-13	13:11:03	2713	[DEBUG]	Store product image relation
2023-10-13	13:11:03	2713	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:03	2713	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862205 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:03	2713	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:03	2713	[DEBUG]	Executed store
2023-10-13	13:11:03	2713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862205','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:03	2713	[DEBUG]	Checking manufacturer
2023-10-13	13:11:03	2713	[DEBUG]	Load a row
2023-10-13	13:11:03	2713	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:03	2713	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:11:03	2713	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:03	2713	[DEBUG]	Executed store
2023-10-13	13:11:03	2713	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:11:03	2713	[DEBUG]	Manufacturer exists
2023-10-13	13:11:03	2713	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	13:11:03	2713	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:03	2713	[DEBUG]	Executed store
2023-10-13	13:11:03	2713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862205','29')
2023-10-13	13:11:03	2713	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:03	2713	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:03	2713	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862205 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:03	2713	[DEBUG]	Store custom available field
2023-10-13	13:11:03	2713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862205,3,'',1)
2023-10-13	13:11:03	2713	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:03	2713	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:03	2713	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862205 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:03	2713	[DEBUG]	Store custom available field
2023-10-13	13:11:03	2713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862205,6,'Unitaire',3)
2023-10-13	13:11:03	2713	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:03	2713	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:03	2713	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862204
2023-10-13	13:11:03	2713	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:03	2713	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862204\":[1862204,8,1,\"choisir la taille\"],\"1862205\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862204
2023-10-13	13:11:03	2713	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:03	2713	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862205
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:03	2714	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field taille
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:03	2714	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:03	2714	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:03	2714	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:03	2714	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:03	2714	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:03	2714	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field published
2023-10-13	13:11:03	2714	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:03	2714	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field override
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:03	2714	[DEBUG]	Use field value for field slug
2023-10-13	13:11:03	2714	[DEBUG]	Process line 2714
2023-10-13	13:11:03	2714	[DEBUG]	Load a row
2023-10-13	13:11:03	2714	[DEBUG]	Processing item: A_8774_1
2023-10-13	13:11:03	2714	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:03	2714	[DEBUG]	Processing product tax
2023-10-13	13:11:03	2714	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:03	2714	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:03	2714	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:03	2714	[DEBUG]	Query for Product
2023-10-13	13:11:03	2714	[DEBUG]	Executed store
2023-10-13	13:11:03	2714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8774_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:03	2714	[DEBUG]	Check product language entry
2023-10-13	13:11:03	2714	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862206
2023-10-13	13:11:03	2714	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:03	2714	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8774_1' AND `virtuemart_product_id` != 1862206
2023-10-13	13:11:03	2714	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:03	2714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862206, 'A_8774_1')
2023-10-13	13:11:03	2714	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:03	2714	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-guidon-dicsover-os-42cm-12-sweep-noir' AND `virtuemart_product_id` != 1862206
2023-10-13	13:11:03	2714	[DEBUG]	Query for ProductLang
2023-10-13	13:11:03	2714	[DEBUG]	Executed store
2023-10-13	13:11:03	2714	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 93.77316',`product_name`='Pro Guidon Dicsover OS 42cm 12° Sweep / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-guidon-dicsover-os-42cm-12-sweep-noir' WHERE `virtuemart_product_id` = '1862206'
2023-10-13	13:11:03	2714	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_77315_jpg.jpg
2023-10-13	13:11:03	2714	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:11:03	2714	[DEBUG]	Process image file
2023-10-13	13:11:03	2714	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:11:03	2714	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:03	2714	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_77315_jpg.jpg
2023-10-13	13:11:03	2714	[DEBUG]	Full name target: bcprisme/93_77315_jpg.jpg
2023-10-13	13:11:04	2714	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:04	2714	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/93_77315_jpg.jpg'
2023-10-13	13:11:04	2714	[DEBUG]	Query for Media
2023-10-13	13:11:04	2714	[DEBUG]	Executed store
2023-10-13	13:11:04	2714	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/93_77315_jpg.jpg',`file_url_thumb`='bcprisme/93_77315_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1091055'
2023-10-13	13:11:04	2714	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:04	2714	[DEBUG]	Executed store
2023-10-13	13:11:04	2714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862206','1091055','1')
2023-10-13	13:11:04	2714	[DEBUG]	Store product image relation
2023-10-13	13:11:04	2714	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:04	2714	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862206 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:04	2714	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:04	2714	[DEBUG]	Executed store
2023-10-13	13:11:04	2714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862206','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:04	2714	[DEBUG]	Checking manufacturer
2023-10-13	13:11:04	2714	[DEBUG]	Load a row
2023-10-13	13:11:04	2714	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:04	2714	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:11:04	2714	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:04	2714	[DEBUG]	Executed store
2023-10-13	13:11:04	2714	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:11:04	2714	[DEBUG]	Manufacturer exists
2023-10-13	13:11:04	2714	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:11:04	2714	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:04	2714	[DEBUG]	Executed store
2023-10-13	13:11:04	2714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862206','75')
2023-10-13	13:11:04	2714	[DEBUG]	Find the custom field ID
2023-10-13	13:11:04	2714	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:04	2714	[DEBUG]	No custom field ID found
2023-10-13	13:11:04	2714	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:04	2714	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:11:04	2714	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862206 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:04	2714	[DEBUG]	Store custom available field
2023-10-13	13:11:04	2714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862206,3,'0',1)
2023-10-13	13:11:04	2714	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:04	2714	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:04	2714	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862206 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:04	2714	[DEBUG]	Store custom available field
2023-10-13	13:11:04	2714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862206,6,'choisir la taille',3)
2023-10-13	13:11:04	2714	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:04	2714	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:04	2714	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:04	2714	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:04	2714	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862206 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:04	2714	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:04	2714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862206,8,1)
2023-10-13	13:11:04	2714	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:04	2714	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862206\":[1862206,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862206
2023-10-13	13:11:04	2714	[DEBUG]	Checking category
2023-10-13	13:11:04	2714	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:04	2714	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862206
2023-10-13	13:11:04	2714	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:04	2714	[DEBUG]	Executed store
2023-10-13	13:11:04	2714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862206','7357')
2023-10-13	13:11:04	2714	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:04	2714	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862206 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:04	2714	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:04	2714	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862206
2023-10-13	13:11:04	2715	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:04	2715	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:04	2715	[DEBUG]	Use field value for field taille
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:04	2715	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:04	2715	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:04	2715	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:04	2715	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:04	2715	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:04	2715	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:04	2715	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:04	2715	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:04	2715	[DEBUG]	Use field value for field published
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:04	2715	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field override
2023-10-13	13:11:04	2715	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:04	2715	[DEBUG]	Use field value for field slug
2023-10-13	13:11:04	2715	[DEBUG]	Process line 2715
2023-10-13	13:11:04	2715	[DEBUG]	Load a row
2023-10-13	13:11:04	2715	[DEBUG]	Processing item: 8717009389426
2023-10-13	13:11:04	2715	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:04	2715	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:04	2715	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8774_1'
2023-10-13	13:11:04	2715	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:04	2715	[DEBUG]	Processing product tax
2023-10-13	13:11:04	2715	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:04	2715	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:04	2715	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:04	2715	[DEBUG]	Query for Product
2023-10-13	13:11:04	2715	[DEBUG]	Executed store
2023-10-13	13:11:04	2715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862206','8717009389426','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:04	2715	[DEBUG]	No parent found
2023-10-13	13:11:04	2715	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862206 AND customfield_value = 'stockable'
2023-10-13	13:11:04	2715	[DEBUG]	Check product language entry
2023-10-13	13:11:04	2715	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862207
2023-10-13	13:11:04	2715	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:04	2715	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717009389426' AND `virtuemart_product_id` != 1862207
2023-10-13	13:11:04	2715	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:04	2715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862207, '8717009389426')
2023-10-13	13:11:04	2715	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:04	2715	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-guidon-dicsover-os-42cm-12-sweep-noir-unitaire' AND `virtuemart_product_id` != 1862207
2023-10-13	13:11:04	2715	[DEBUG]	Query for ProductLang
2023-10-13	13:11:04	2715	[DEBUG]	Executed store
2023-10-13	13:11:04	2715	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pro Guidon Dicsover OS 42cm 12° Sweep / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-guidon-dicsover-os-42cm-12-sweep-noir-unitaire' WHERE `virtuemart_product_id` = '1862207'
2023-10-13	13:11:04	2715	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_77315_jpg.jpg
2023-10-13	13:11:04	2715	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:11:04	2715	[DEBUG]	Process image file
2023-10-13	13:11:04	2715	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:11:04	2715	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:04	2715	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_77315_jpg.jpg
2023-10-13	13:11:04	2715	[DEBUG]	Full name target: bcprisme/93_77315_jpg.jpg
2023-10-13	13:11:05	2715	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:05	2715	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/93_77315_jpg.jpg'
2023-10-13	13:11:05	2715	[DEBUG]	Query for Media
2023-10-13	13:11:05	2715	[DEBUG]	Executed store
2023-10-13	13:11:05	2715	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/93_77315_jpg.jpg',`file_url_thumb`='bcprisme/93_77315_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1091055'
2023-10-13	13:11:05	2715	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:05	2715	[DEBUG]	Executed store
2023-10-13	13:11:05	2715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862207','1091055','1')
2023-10-13	13:11:05	2715	[DEBUG]	Store product image relation
2023-10-13	13:11:05	2715	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:05	2715	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862207 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:05	2715	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:05	2715	[DEBUG]	Executed store
2023-10-13	13:11:05	2715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862207','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:05	2715	[DEBUG]	Checking manufacturer
2023-10-13	13:11:05	2715	[DEBUG]	Load a row
2023-10-13	13:11:05	2715	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:05	2715	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:11:05	2715	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:05	2715	[DEBUG]	Executed store
2023-10-13	13:11:05	2715	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:11:05	2715	[DEBUG]	Manufacturer exists
2023-10-13	13:11:05	2715	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:11:05	2715	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:05	2715	[DEBUG]	Executed store
2023-10-13	13:11:05	2715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862207','75')
2023-10-13	13:11:05	2715	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:05	2715	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:05	2715	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862207 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:05	2715	[DEBUG]	Store custom available field
2023-10-13	13:11:05	2715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862207,3,'',1)
2023-10-13	13:11:05	2715	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:05	2715	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:05	2715	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862207 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:05	2715	[DEBUG]	Store custom available field
2023-10-13	13:11:05	2715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862207,6,'Unitaire',3)
2023-10-13	13:11:05	2715	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:05	2715	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:05	2715	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862206
2023-10-13	13:11:05	2715	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:05	2715	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862206\":[1862206,8,1,\"choisir la taille\"],\"1862207\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862206
2023-10-13	13:11:05	2715	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:05	2715	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862207
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:05	2716	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field taille
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:05	2716	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:05	2716	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:05	2716	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:05	2716	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:05	2716	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:05	2716	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field published
2023-10-13	13:11:05	2716	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:05	2716	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field override
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:05	2716	[DEBUG]	Use field value for field slug
2023-10-13	13:11:05	2716	[DEBUG]	Process line 2716
2023-10-13	13:11:05	2716	[DEBUG]	Load a row
2023-10-13	13:11:05	2716	[DEBUG]	Processing item: A_9554_1
2023-10-13	13:11:05	2716	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:05	2716	[DEBUG]	Processing product tax
2023-10-13	13:11:05	2716	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:05	2716	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:05	2716	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:05	2716	[DEBUG]	Query for Product
2023-10-13	13:11:05	2716	[DEBUG]	Executed store
2023-10-13	13:11:05	2716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9554_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:05	2716	[DEBUG]	Check product language entry
2023-10-13	13:11:05	2716	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862208
2023-10-13	13:11:05	2716	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:05	2716	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9554_1' AND `virtuemart_product_id` != 1862208
2023-10-13	13:11:05	2716	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:05	2716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862208, 'A_9554_1')
2023-10-13	13:11:05	2716	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:05	2716	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-guidon-vibe-aero-superlight-carbon-compact-42cm-31-8mm-noir' AND `virtuemart_product_id` != 1862208
2023-10-13	13:11:05	2716	[DEBUG]	Query for ProductLang
2023-10-13	13:11:05	2716	[DEBUG]	Executed store
2023-10-13	13:11:05	2716	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 93.74491',`product_name`='Pro Guidon Vibe Aero Superlight carbon Compact 42cm / 31.8mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-guidon-vibe-aero-superlight-carbon-compact-42cm-31-8mm-noir' WHERE `virtuemart_product_id` = '1862208'
2023-10-13	13:11:05	2716	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_7449.jpg
2023-10-13	13:11:05	2716	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:11:05	2716	[DEBUG]	Process image file
2023-10-13	13:11:05	2716	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:11:05	2716	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:05	2716	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_7449.jpg
2023-10-13	13:11:05	2716	[DEBUG]	Full name target: bcprisme/93_7449.jpg
2023-10-13	13:11:06	2716	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:06	2716	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/93_7449.jpg'
2023-10-13	13:11:06	2716	[DEBUG]	Query for Media
2023-10-13	13:11:06	2716	[DEBUG]	Executed store
2023-10-13	13:11:06	2716	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/93_7449.jpg',`file_url_thumb`='bcprisme/93_7449.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1467715'
2023-10-13	13:11:06	2716	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:06	2716	[DEBUG]	Executed store
2023-10-13	13:11:06	2716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862208','1467715','1')
2023-10-13	13:11:06	2716	[DEBUG]	Store product image relation
2023-10-13	13:11:06	2716	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:06	2716	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862208 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:06	2716	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:06	2716	[DEBUG]	Executed store
2023-10-13	13:11:06	2716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862208','0','454.038997214485','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:06	2716	[DEBUG]	Checking manufacturer
2023-10-13	13:11:06	2716	[DEBUG]	Load a row
2023-10-13	13:11:06	2716	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:06	2716	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:11:06	2716	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:06	2716	[DEBUG]	Executed store
2023-10-13	13:11:06	2716	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:11:06	2716	[DEBUG]	Manufacturer exists
2023-10-13	13:11:06	2716	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:11:06	2716	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:06	2716	[DEBUG]	Executed store
2023-10-13	13:11:06	2716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862208','75')
2023-10-13	13:11:06	2716	[DEBUG]	Find the custom field ID
2023-10-13	13:11:06	2716	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:06	2716	[DEBUG]	No custom field ID found
2023-10-13	13:11:06	2716	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:06	2716	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:11:06	2716	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862208 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:06	2716	[DEBUG]	Store custom available field
2023-10-13	13:11:06	2716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862208,3,'0',1)
2023-10-13	13:11:06	2716	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:06	2716	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:06	2716	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862208 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:06	2716	[DEBUG]	Store custom available field
2023-10-13	13:11:06	2716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862208,6,'choisir la taille',3)
2023-10-13	13:11:06	2716	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:06	2716	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:06	2716	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:06	2716	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:06	2716	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862208 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:06	2716	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:06	2716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862208,8,1)
2023-10-13	13:11:06	2716	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:06	2716	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862208\":[1862208,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862208
2023-10-13	13:11:06	2716	[DEBUG]	Checking category
2023-10-13	13:11:06	2716	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:06	2716	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862208
2023-10-13	13:11:06	2716	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:06	2716	[DEBUG]	Executed store
2023-10-13	13:11:06	2716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862208','7357')
2023-10-13	13:11:06	2716	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:06	2716	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862208 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:06	2716	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:06	2716	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862208
2023-10-13	13:11:06	2717	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:06	2717	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:06	2717	[DEBUG]	Use field value for field taille
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:06	2717	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:06	2717	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:06	2717	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:06	2717	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:06	2717	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:06	2717	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:06	2717	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:06	2717	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:06	2717	[DEBUG]	Use field value for field published
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:06	2717	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field override
2023-10-13	13:11:06	2717	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:06	2717	[DEBUG]	Use field value for field slug
2023-10-13	13:11:06	2717	[DEBUG]	Process line 2717
2023-10-13	13:11:06	2717	[DEBUG]	Load a row
2023-10-13	13:11:06	2717	[DEBUG]	Processing item: 8717009389532
2023-10-13	13:11:06	2717	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:06	2717	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:06	2717	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9554_1'
2023-10-13	13:11:06	2717	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:06	2717	[DEBUG]	Processing product tax
2023-10-13	13:11:06	2717	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:06	2717	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:06	2717	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:06	2717	[DEBUG]	Query for Product
2023-10-13	13:11:06	2717	[DEBUG]	Executed store
2023-10-13	13:11:06	2717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862208','8717009389532','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:06	2717	[DEBUG]	No parent found
2023-10-13	13:11:06	2717	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862208 AND customfield_value = 'stockable'
2023-10-13	13:11:06	2717	[DEBUG]	Check product language entry
2023-10-13	13:11:06	2717	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862209
2023-10-13	13:11:06	2717	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:06	2717	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717009389532' AND `virtuemart_product_id` != 1862209
2023-10-13	13:11:06	2717	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:06	2717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862209, '8717009389532')
2023-10-13	13:11:06	2717	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:06	2717	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-guidon-vibe-aero-superlight-carbon-compact-42cm-31-8mm-noir-unitaire' AND `virtuemart_product_id` != 1862209
2023-10-13	13:11:06	2717	[DEBUG]	Query for ProductLang
2023-10-13	13:11:06	2717	[DEBUG]	Executed store
2023-10-13	13:11:06	2717	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pro Guidon Vibe Aero Superlight carbon Compact 42cm / 31.8mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-guidon-vibe-aero-superlight-carbon-compact-42cm-31-8mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862209'
2023-10-13	13:11:06	2717	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_7449.jpg
2023-10-13	13:11:06	2717	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:11:06	2717	[DEBUG]	Process image file
2023-10-13	13:11:06	2717	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:11:06	2717	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:06	2717	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_7449.jpg
2023-10-13	13:11:06	2717	[DEBUG]	Full name target: bcprisme/93_7449.jpg
2023-10-13	13:11:07	2717	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:07	2717	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/93_7449.jpg'
2023-10-13	13:11:07	2717	[DEBUG]	Query for Media
2023-10-13	13:11:07	2717	[DEBUG]	Executed store
2023-10-13	13:11:07	2717	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/93_7449.jpg',`file_url_thumb`='bcprisme/93_7449.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1467715'
2023-10-13	13:11:07	2717	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:07	2717	[DEBUG]	Executed store
2023-10-13	13:11:07	2717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862209','1467715','1')
2023-10-13	13:11:07	2717	[DEBUG]	Store product image relation
2023-10-13	13:11:07	2717	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:07	2717	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862209 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:07	2717	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:07	2717	[DEBUG]	Executed store
2023-10-13	13:11:07	2717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862209','0','454.038997214485','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:07	2717	[DEBUG]	Checking manufacturer
2023-10-13	13:11:07	2717	[DEBUG]	Load a row
2023-10-13	13:11:07	2717	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:07	2717	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:11:07	2717	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:07	2717	[DEBUG]	Executed store
2023-10-13	13:11:07	2717	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:11:07	2717	[DEBUG]	Manufacturer exists
2023-10-13	13:11:07	2717	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:11:07	2717	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:07	2717	[DEBUG]	Executed store
2023-10-13	13:11:07	2717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862209','75')
2023-10-13	13:11:07	2717	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:07	2717	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:07	2717	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862209 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:07	2717	[DEBUG]	Store custom available field
2023-10-13	13:11:07	2717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862209,3,'',1)
2023-10-13	13:11:07	2717	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:07	2717	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:07	2717	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862209 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:07	2717	[DEBUG]	Store custom available field
2023-10-13	13:11:07	2717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862209,6,'Unitaire',3)
2023-10-13	13:11:07	2717	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:07	2717	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:07	2717	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862208
2023-10-13	13:11:07	2717	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:07	2717	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862208\":[1862208,8,1,\"choisir la taille\"],\"1862209\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862208
2023-10-13	13:11:07	2717	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:07	2717	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862209
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:07	2718	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field taille
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:07	2718	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:07	2718	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:07	2718	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:07	2718	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:07	2718	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:07	2718	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field published
2023-10-13	13:11:07	2718	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:07	2718	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field override
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:07	2718	[DEBUG]	Use field value for field slug
2023-10-13	13:11:07	2718	[DEBUG]	Process line 2718
2023-10-13	13:11:07	2718	[DEBUG]	Load a row
2023-10-13	13:11:07	2718	[DEBUG]	Processing item: A_274_1
2023-10-13	13:11:07	2718	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:07	2718	[DEBUG]	Processing product tax
2023-10-13	13:11:07	2718	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:07	2718	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:07	2718	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:07	2718	[DEBUG]	Query for Product
2023-10-13	13:11:07	2718	[DEBUG]	Executed store
2023-10-13	13:11:07	2718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_274_1','0.24','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:07	2718	[DEBUG]	Check product language entry
2023-10-13	13:11:07	2718	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862210
2023-10-13	13:11:07	2718	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:07	2718	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_274_1' AND `virtuemart_product_id` != 1862210
2023-10-13	13:11:07	2718	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:07	2718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862210, 'A_274_1')
2023-10-13	13:11:07	2718	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:07	2718	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-plat-alu-6061t4-msc-magma-25-4o-noir' AND `virtuemart_product_id` != 1862210
2023-10-13	13:11:07	2718	[DEBUG]	Query for ProductLang
2023-10-13	13:11:07	2718	[DEBUG]	Executed store
2023-10-13	13:11:07	2718	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Diamètre 25.4 mm<br>N° art fourn : AL001580',`product_name`='MSC GUIDON 580mm PLAT Alu 6061T4 MSC Magma 25.4Ø  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-plat-alu-6061t4-msc-magma-25-4o-noir' WHERE `virtuemart_product_id` = '1862210'
2023-10-13	13:11:07	2718	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_295.jpg
2023-10-13	13:11:07	2718	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:07	2718	[DEBUG]	Process image file
2023-10-13	13:11:07	2718	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:07	2718	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:07	2718	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_295.jpg
2023-10-13	13:11:07	2718	[DEBUG]	Full name target: bcprisme/image_295.jpg
2023-10-13	13:11:08	2718	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:08	2718	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_295.jpg'
2023-10-13	13:11:08	2718	[DEBUG]	Query for Media
2023-10-13	13:11:08	2718	[DEBUG]	Executed store
2023-10-13	13:11:08	2718	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_295.jpg',`file_url_thumb`='bcprisme/image_295.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12919'
2023-10-13	13:11:08	2718	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:08	2718	[DEBUG]	Executed store
2023-10-13	13:11:08	2718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862210','12919','1')
2023-10-13	13:11:08	2718	[DEBUG]	Store product image relation
2023-10-13	13:11:08	2718	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:08	2718	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862210 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:08	2718	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:08	2718	[DEBUG]	Executed store
2023-10-13	13:11:08	2718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862210','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:08	2718	[DEBUG]	Checking manufacturer
2023-10-13	13:11:08	2718	[DEBUG]	Load a row
2023-10-13	13:11:08	2718	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:08	2718	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:08	2718	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:08	2718	[DEBUG]	Executed store
2023-10-13	13:11:08	2718	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:08	2718	[DEBUG]	Manufacturer exists
2023-10-13	13:11:08	2718	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:08	2718	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:08	2718	[DEBUG]	Executed store
2023-10-13	13:11:08	2718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862210','32')
2023-10-13	13:11:08	2718	[DEBUG]	Find the custom field ID
2023-10-13	13:11:08	2718	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:08	2718	[DEBUG]	No custom field ID found
2023-10-13	13:11:08	2718	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:08	2718	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:11:08	2718	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862210 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:08	2718	[DEBUG]	Store custom available field
2023-10-13	13:11:08	2718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862210,3,'19.8447222222222',1)
2023-10-13	13:11:08	2718	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:08	2718	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:08	2718	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862210 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:08	2718	[DEBUG]	Store custom available field
2023-10-13	13:11:08	2718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862210,6,'choisir la taille',3)
2023-10-13	13:11:08	2718	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:08	2718	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:08	2718	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:08	2718	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:08	2718	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862210 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:08	2718	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:08	2718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862210,8,1)
2023-10-13	13:11:08	2718	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:08	2718	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862210\":[1862210,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862210
2023-10-13	13:11:08	2718	[DEBUG]	Checking category
2023-10-13	13:11:08	2718	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:08	2718	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862210
2023-10-13	13:11:08	2718	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:08	2718	[DEBUG]	Executed store
2023-10-13	13:11:08	2718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862210','7357')
2023-10-13	13:11:08	2718	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:08	2718	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862210 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:08	2718	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:08	2718	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862210
2023-10-13	13:11:08	2719	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:08	2719	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:08	2719	[DEBUG]	Use field value for field taille
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:08	2719	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:08	2719	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:08	2719	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:08	2719	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:08	2719	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:08	2719	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:08	2719	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:08	2719	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:08	2719	[DEBUG]	Use field value for field published
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:08	2719	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field override
2023-10-13	13:11:08	2719	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:08	2719	[DEBUG]	Use field value for field slug
2023-10-13	13:11:08	2719	[DEBUG]	Process line 2719
2023-10-13	13:11:08	2719	[DEBUG]	Load a row
2023-10-13	13:11:08	2719	[DEBUG]	Processing item: 1000000003055
2023-10-13	13:11:08	2719	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:08	2719	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:08	2719	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_274_1'
2023-10-13	13:11:08	2719	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:08	2719	[DEBUG]	Processing product tax
2023-10-13	13:11:08	2719	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:08	2719	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:08	2719	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:08	2719	[DEBUG]	Query for Product
2023-10-13	13:11:08	2719	[DEBUG]	Executed store
2023-10-13	13:11:08	2719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862210','1000000003055','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:08	2719	[DEBUG]	No parent found
2023-10-13	13:11:08	2719	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862210 AND customfield_value = 'stockable'
2023-10-13	13:11:08	2719	[DEBUG]	Check product language entry
2023-10-13	13:11:08	2719	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862211
2023-10-13	13:11:08	2719	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:08	2719	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000003055' AND `virtuemart_product_id` != 1862211
2023-10-13	13:11:08	2719	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:08	2719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862211, '1000000003055')
2023-10-13	13:11:08	2719	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:08	2719	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-plat-alu-6061t4-msc-magma-25-4o-noir-unitaire' AND `virtuemart_product_id` != 1862211
2023-10-13	13:11:08	2719	[DEBUG]	Query for ProductLang
2023-10-13	13:11:08	2719	[DEBUG]	Executed store
2023-10-13	13:11:08	2719	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 580mm PLAT Alu 6061T4 MSC Magma 25.4Ø  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-plat-alu-6061t4-msc-magma-25-4o-noir-unitaire' WHERE `virtuemart_product_id` = '1862211'
2023-10-13	13:11:08	2719	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_295.jpg
2023-10-13	13:11:08	2719	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:08	2719	[DEBUG]	Process image file
2023-10-13	13:11:08	2719	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:08	2719	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:08	2719	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_295.jpg
2023-10-13	13:11:08	2719	[DEBUG]	Full name target: bcprisme/image_295.jpg
2023-10-13	13:11:09	2719	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:09	2719	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_295.jpg'
2023-10-13	13:11:09	2719	[DEBUG]	Query for Media
2023-10-13	13:11:09	2719	[DEBUG]	Executed store
2023-10-13	13:11:09	2719	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_295.jpg',`file_url_thumb`='bcprisme/image_295.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12919'
2023-10-13	13:11:09	2719	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:09	2719	[DEBUG]	Executed store
2023-10-13	13:11:09	2719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862211','12919','1')
2023-10-13	13:11:09	2719	[DEBUG]	Store product image relation
2023-10-13	13:11:09	2719	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:09	2719	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862211 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:09	2719	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:09	2719	[DEBUG]	Executed store
2023-10-13	13:11:09	2719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862211','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:09	2719	[DEBUG]	Checking manufacturer
2023-10-13	13:11:09	2719	[DEBUG]	Load a row
2023-10-13	13:11:09	2719	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:09	2719	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:09	2719	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:09	2719	[DEBUG]	Executed store
2023-10-13	13:11:09	2719	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:09	2719	[DEBUG]	Manufacturer exists
2023-10-13	13:11:09	2719	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:09	2719	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:09	2719	[DEBUG]	Executed store
2023-10-13	13:11:09	2719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862211','32')
2023-10-13	13:11:09	2719	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:09	2719	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:09	2719	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862211 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:09	2719	[DEBUG]	Store custom available field
2023-10-13	13:11:09	2719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862211,3,'',1)
2023-10-13	13:11:09	2719	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:09	2719	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:09	2719	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862211 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:09	2719	[DEBUG]	Store custom available field
2023-10-13	13:11:09	2719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862211,6,'Unitaire',3)
2023-10-13	13:11:09	2719	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:09	2719	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:09	2719	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862210
2023-10-13	13:11:09	2719	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:09	2719	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862210\":[1862210,8,1,\"choisir la taille\"],\"1862211\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862210
2023-10-13	13:11:09	2719	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:09	2719	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862211
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:09	2720	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field taille
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:09	2720	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:09	2720	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:09	2720	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:09	2720	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:09	2720	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:09	2720	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field published
2023-10-13	13:11:09	2720	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:09	2720	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field override
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:09	2720	[DEBUG]	Use field value for field slug
2023-10-13	13:11:09	2720	[DEBUG]	Process line 2720
2023-10-13	13:11:09	2720	[DEBUG]	Load a row
2023-10-13	13:11:09	2720	[DEBUG]	Processing item: A_275_1
2023-10-13	13:11:09	2720	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:09	2720	[DEBUG]	Processing product tax
2023-10-13	13:11:09	2720	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:09	2720	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:09	2720	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:09	2720	[DEBUG]	Query for Product
2023-10-13	13:11:09	2720	[DEBUG]	Executed store
2023-10-13	13:11:09	2720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_275_1','0.148','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:09	2720	[DEBUG]	Check product language entry
2023-10-13	13:11:09	2720	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862212
2023-10-13	13:11:09	2720	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:09	2720	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_275_1' AND `virtuemart_product_id` != 1862212
2023-10-13	13:11:09	2720	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:09	2720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862212, 'A_275_1')
2023-10-13	13:11:09	2720	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:09	2720	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-560mm-plat-alu-7050-t6-msc-mirage-25-4o-noir' AND `virtuemart_product_id` != 1862212
2023-10-13	13:11:09	2720	[DEBUG]	Query for ProductLang
2023-10-13	13:11:09	2720	[DEBUG]	Executed store
2023-10-13	13:11:09	2720	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Diamètre 25.4 mm<br>N° art fourn : AL007560',`product_name`='MSC GUIDON 560mm PLAT Alu 7050 T6 MSC Mirage 25.4Ø  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-560mm-plat-alu-7050-t6-msc-mirage-25-4o-noir' WHERE `virtuemart_product_id` = '1862212'
2023-10-13	13:11:09	2720	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_296.jpg
2023-10-13	13:11:09	2720	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:09	2720	[DEBUG]	Process image file
2023-10-13	13:11:09	2720	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:09	2720	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:09	2720	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_296.jpg
2023-10-13	13:11:09	2720	[DEBUG]	Full name target: bcprisme/image_296.jpg
2023-10-13	13:11:10	2720	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:10	2720	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_296.jpg'
2023-10-13	13:11:10	2720	[DEBUG]	Query for Media
2023-10-13	13:11:10	2720	[DEBUG]	Executed store
2023-10-13	13:11:10	2720	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_296.jpg',`file_url_thumb`='bcprisme/image_296.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12920'
2023-10-13	13:11:10	2720	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:10	2720	[DEBUG]	Executed store
2023-10-13	13:11:10	2720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862212','12920','1')
2023-10-13	13:11:10	2720	[DEBUG]	Store product image relation
2023-10-13	13:11:10	2720	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:10	2720	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862212 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:10	2720	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:10	2720	[DEBUG]	Executed store
2023-10-13	13:11:10	2720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862212','0','36.9545032497679','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:10	2720	[DEBUG]	Checking manufacturer
2023-10-13	13:11:10	2720	[DEBUG]	Load a row
2023-10-13	13:11:10	2720	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:10	2720	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:10	2720	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:10	2720	[DEBUG]	Executed store
2023-10-13	13:11:10	2720	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:10	2720	[DEBUG]	Manufacturer exists
2023-10-13	13:11:10	2720	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:10	2720	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:10	2720	[DEBUG]	Executed store
2023-10-13	13:11:10	2720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862212','32')
2023-10-13	13:11:10	2720	[DEBUG]	Find the custom field ID
2023-10-13	13:11:10	2720	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:10	2720	[DEBUG]	No custom field ID found
2023-10-13	13:11:10	2720	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:10	2720	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:11:10	2720	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862212 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:10	2720	[DEBUG]	Store custom available field
2023-10-13	13:11:10	2720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862212,3,'39.7891666666667',1)
2023-10-13	13:11:10	2720	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:10	2720	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:10	2720	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862212 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:10	2720	[DEBUG]	Store custom available field
2023-10-13	13:11:10	2720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862212,6,'choisir la taille',3)
2023-10-13	13:11:10	2720	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:10	2720	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:10	2720	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:10	2720	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:10	2720	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862212 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:10	2720	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:10	2720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862212,8,1)
2023-10-13	13:11:10	2720	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:10	2720	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862212\":[1862212,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862212
2023-10-13	13:11:10	2720	[DEBUG]	Checking category
2023-10-13	13:11:10	2720	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:10	2720	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862212
2023-10-13	13:11:10	2720	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:10	2720	[DEBUG]	Executed store
2023-10-13	13:11:10	2720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862212','7357')
2023-10-13	13:11:10	2720	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:10	2720	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862212 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:10	2720	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:10	2720	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862212
2023-10-13	13:11:10	2721	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:10	2721	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:10	2721	[DEBUG]	Use field value for field taille
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:10	2721	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:10	2721	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:10	2721	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:10	2721	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:10	2721	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:10	2721	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:10	2721	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:10	2721	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:10	2721	[DEBUG]	Use field value for field published
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:10	2721	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field override
2023-10-13	13:11:10	2721	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:10	2721	[DEBUG]	Use field value for field slug
2023-10-13	13:11:10	2721	[DEBUG]	Process line 2721
2023-10-13	13:11:10	2721	[DEBUG]	Load a row
2023-10-13	13:11:10	2721	[DEBUG]	Processing item: 1000000003062
2023-10-13	13:11:10	2721	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:10	2721	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:10	2721	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_275_1'
2023-10-13	13:11:10	2721	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:10	2721	[DEBUG]	Processing product tax
2023-10-13	13:11:10	2721	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:10	2721	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:10	2721	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:10	2721	[DEBUG]	Query for Product
2023-10-13	13:11:10	2721	[DEBUG]	Executed store
2023-10-13	13:11:10	2721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862212','1000000003062','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:10	2721	[DEBUG]	No parent found
2023-10-13	13:11:10	2721	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862212 AND customfield_value = 'stockable'
2023-10-13	13:11:10	2721	[DEBUG]	Check product language entry
2023-10-13	13:11:10	2721	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862213
2023-10-13	13:11:10	2721	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:10	2721	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000003062' AND `virtuemart_product_id` != 1862213
2023-10-13	13:11:10	2721	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:10	2721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862213, '1000000003062')
2023-10-13	13:11:10	2721	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:10	2721	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-560mm-plat-alu-7050-t6-msc-mirage-25-4o-noir-unitaire' AND `virtuemart_product_id` != 1862213
2023-10-13	13:11:10	2721	[DEBUG]	Query for ProductLang
2023-10-13	13:11:10	2721	[DEBUG]	Executed store
2023-10-13	13:11:10	2721	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 560mm PLAT Alu 7050 T6 MSC Mirage 25.4Ø  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-560mm-plat-alu-7050-t6-msc-mirage-25-4o-noir-unitaire' WHERE `virtuemart_product_id` = '1862213'
2023-10-13	13:11:10	2721	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_296.jpg
2023-10-13	13:11:10	2721	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:10	2721	[DEBUG]	Process image file
2023-10-13	13:11:10	2721	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:10	2721	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:10	2721	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_296.jpg
2023-10-13	13:11:10	2721	[DEBUG]	Full name target: bcprisme/image_296.jpg
2023-10-13	13:11:11	2721	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:11	2721	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_296.jpg'
2023-10-13	13:11:11	2721	[DEBUG]	Query for Media
2023-10-13	13:11:11	2721	[DEBUG]	Executed store
2023-10-13	13:11:11	2721	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_296.jpg',`file_url_thumb`='bcprisme/image_296.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12920'
2023-10-13	13:11:11	2721	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:11	2721	[DEBUG]	Executed store
2023-10-13	13:11:11	2721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862213','12920','1')
2023-10-13	13:11:11	2721	[DEBUG]	Store product image relation
2023-10-13	13:11:11	2721	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:11	2721	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862213 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:11	2721	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:11	2721	[DEBUG]	Executed store
2023-10-13	13:11:11	2721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862213','0','36.9545032497679','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:11	2721	[DEBUG]	Checking manufacturer
2023-10-13	13:11:11	2721	[DEBUG]	Load a row
2023-10-13	13:11:11	2721	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:11	2721	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:11	2721	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:11	2721	[DEBUG]	Executed store
2023-10-13	13:11:11	2721	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:11	2721	[DEBUG]	Manufacturer exists
2023-10-13	13:11:11	2721	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:11	2721	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:11	2721	[DEBUG]	Executed store
2023-10-13	13:11:11	2721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862213','32')
2023-10-13	13:11:11	2721	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:11	2721	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:11	2721	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862213 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:11	2721	[DEBUG]	Store custom available field
2023-10-13	13:11:11	2721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862213,3,'',1)
2023-10-13	13:11:11	2721	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:11	2721	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:11	2721	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862213 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:11	2721	[DEBUG]	Store custom available field
2023-10-13	13:11:11	2721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862213,6,'Unitaire',3)
2023-10-13	13:11:11	2721	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:11	2721	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:11	2721	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862212
2023-10-13	13:11:11	2721	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:11	2721	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862212\":[1862212,8,1,\"choisir la taille\"],\"1862213\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862212
2023-10-13	13:11:11	2721	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:11	2721	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862213
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:11	2722	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field taille
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:11	2722	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:11	2722	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:11	2722	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:11	2722	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:11	2722	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:11	2722	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field published
2023-10-13	13:11:11	2722	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:11	2722	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field override
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:11	2722	[DEBUG]	Use field value for field slug
2023-10-13	13:11:11	2722	[DEBUG]	Process line 2722
2023-10-13	13:11:11	2722	[DEBUG]	Load a row
2023-10-13	13:11:11	2722	[DEBUG]	Processing item: A_276_1
2023-10-13	13:11:11	2722	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:11	2722	[DEBUG]	Processing product tax
2023-10-13	13:11:11	2722	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:11	2722	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:11	2722	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:11	2722	[DEBUG]	Query for Product
2023-10-13	13:11:11	2722	[DEBUG]	Executed store
2023-10-13	13:11:11	2722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_276_1','0.148','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:11	2722	[DEBUG]	Check product language entry
2023-10-13	13:11:11	2722	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862214
2023-10-13	13:11:11	2722	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:11	2722	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_276_1' AND `virtuemart_product_id` != 1862214
2023-10-13	13:11:11	2722	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:11	2722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862214, 'A_276_1')
2023-10-13	13:11:11	2722	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:11	2722	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-plat-alu-7050-t6-msc-mirage-25-4o-noir' AND `virtuemart_product_id` != 1862214
2023-10-13	13:11:11	2722	[DEBUG]	Query for ProductLang
2023-10-13	13:11:11	2722	[DEBUG]	Executed store
2023-10-13	13:11:11	2722	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Diamètre 25.4 mm<br>N° art fourn : AL007580',`product_name`='MSC GUIDON 580mm PLAT Alu 7050 T6 MSC Mirage 25.4Ø  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-plat-alu-7050-t6-msc-mirage-25-4o-noir' WHERE `virtuemart_product_id` = '1862214'
2023-10-13	13:11:11	2722	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_297.jpg
2023-10-13	13:11:11	2722	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:11	2722	[DEBUG]	Process image file
2023-10-13	13:11:11	2722	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:11	2722	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:11	2722	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_297.jpg
2023-10-13	13:11:11	2722	[DEBUG]	Full name target: bcprisme/image_297.jpg
2023-10-13	13:11:12	2722	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:12	2722	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_297.jpg'
2023-10-13	13:11:12	2722	[DEBUG]	Query for Media
2023-10-13	13:11:12	2722	[DEBUG]	Executed store
2023-10-13	13:11:12	2722	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_297.jpg',`file_url_thumb`='bcprisme/image_297.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12921'
2023-10-13	13:11:12	2722	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:12	2722	[DEBUG]	Executed store
2023-10-13	13:11:12	2722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862214','12921','1')
2023-10-13	13:11:12	2722	[DEBUG]	Store product image relation
2023-10-13	13:11:12	2722	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:12	2722	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862214 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:12	2722	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:12	2722	[DEBUG]	Executed store
2023-10-13	13:11:12	2722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862214','0','36.9545032497679','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:12	2722	[DEBUG]	Checking manufacturer
2023-10-13	13:11:12	2722	[DEBUG]	Load a row
2023-10-13	13:11:12	2722	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:12	2722	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:12	2722	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:12	2722	[DEBUG]	Executed store
2023-10-13	13:11:12	2722	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:12	2722	[DEBUG]	Manufacturer exists
2023-10-13	13:11:12	2722	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:12	2722	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:12	2722	[DEBUG]	Executed store
2023-10-13	13:11:12	2722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862214','32')
2023-10-13	13:11:12	2722	[DEBUG]	Find the custom field ID
2023-10-13	13:11:12	2722	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:12	2722	[DEBUG]	No custom field ID found
2023-10-13	13:11:12	2722	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:12	2722	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:11:12	2722	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862214 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:12	2722	[DEBUG]	Store custom available field
2023-10-13	13:11:12	2722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862214,3,'39.7891666666667',1)
2023-10-13	13:11:12	2722	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:12	2722	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:12	2722	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862214 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:12	2722	[DEBUG]	Store custom available field
2023-10-13	13:11:12	2722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862214,6,'choisir la taille',3)
2023-10-13	13:11:12	2722	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:12	2722	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:12	2722	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:12	2722	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:12	2722	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862214 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:12	2722	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:12	2722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862214,8,1)
2023-10-13	13:11:12	2722	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:12	2722	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862214\":[1862214,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862214
2023-10-13	13:11:12	2722	[DEBUG]	Checking category
2023-10-13	13:11:12	2722	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:12	2722	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862214
2023-10-13	13:11:12	2722	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:12	2722	[DEBUG]	Executed store
2023-10-13	13:11:12	2722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862214','7357')
2023-10-13	13:11:12	2722	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:12	2722	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862214 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:12	2722	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:12	2722	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862214
2023-10-13	13:11:12	2723	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:12	2723	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:12	2723	[DEBUG]	Use field value for field taille
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:12	2723	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:12	2723	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:12	2723	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:12	2723	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:12	2723	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:12	2723	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:12	2723	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:12	2723	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:12	2723	[DEBUG]	Use field value for field published
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:12	2723	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field override
2023-10-13	13:11:12	2723	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:12	2723	[DEBUG]	Use field value for field slug
2023-10-13	13:11:12	2723	[DEBUG]	Process line 2723
2023-10-13	13:11:12	2723	[DEBUG]	Load a row
2023-10-13	13:11:12	2723	[DEBUG]	Processing item: 1000000003079
2023-10-13	13:11:12	2723	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:12	2723	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:12	2723	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_276_1'
2023-10-13	13:11:12	2723	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:12	2723	[DEBUG]	Processing product tax
2023-10-13	13:11:12	2723	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:12	2723	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:12	2723	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:12	2723	[DEBUG]	Query for Product
2023-10-13	13:11:12	2723	[DEBUG]	Executed store
2023-10-13	13:11:12	2723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862214','1000000003079','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:12	2723	[DEBUG]	No parent found
2023-10-13	13:11:12	2723	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862214 AND customfield_value = 'stockable'
2023-10-13	13:11:12	2723	[DEBUG]	Check product language entry
2023-10-13	13:11:12	2723	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862215
2023-10-13	13:11:12	2723	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:12	2723	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000003079' AND `virtuemart_product_id` != 1862215
2023-10-13	13:11:12	2723	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:12	2723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862215, '1000000003079')
2023-10-13	13:11:12	2723	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:12	2723	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-plat-alu-7050-t6-msc-mirage-25-4o-noir-unitaire' AND `virtuemart_product_id` != 1862215
2023-10-13	13:11:12	2723	[DEBUG]	Query for ProductLang
2023-10-13	13:11:12	2723	[DEBUG]	Executed store
2023-10-13	13:11:12	2723	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 580mm PLAT Alu 7050 T6 MSC Mirage 25.4Ø  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-plat-alu-7050-t6-msc-mirage-25-4o-noir-unitaire' WHERE `virtuemart_product_id` = '1862215'
2023-10-13	13:11:12	2723	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_297.jpg
2023-10-13	13:11:12	2723	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:12	2723	[DEBUG]	Process image file
2023-10-13	13:11:12	2723	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:12	2723	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:12	2723	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_297.jpg
2023-10-13	13:11:12	2723	[DEBUG]	Full name target: bcprisme/image_297.jpg
2023-10-13	13:11:13	2723	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:13	2723	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_297.jpg'
2023-10-13	13:11:13	2723	[DEBUG]	Query for Media
2023-10-13	13:11:13	2723	[DEBUG]	Executed store
2023-10-13	13:11:13	2723	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_297.jpg',`file_url_thumb`='bcprisme/image_297.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12921'
2023-10-13	13:11:13	2723	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:13	2723	[DEBUG]	Executed store
2023-10-13	13:11:13	2723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862215','12921','1')
2023-10-13	13:11:13	2723	[DEBUG]	Store product image relation
2023-10-13	13:11:13	2723	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:13	2723	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862215 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:13	2723	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:13	2723	[DEBUG]	Executed store
2023-10-13	13:11:13	2723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862215','0','36.9545032497679','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:13	2723	[DEBUG]	Checking manufacturer
2023-10-13	13:11:13	2723	[DEBUG]	Load a row
2023-10-13	13:11:13	2723	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:13	2723	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:13	2723	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:13	2723	[DEBUG]	Executed store
2023-10-13	13:11:13	2723	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:13	2723	[DEBUG]	Manufacturer exists
2023-10-13	13:11:13	2723	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:13	2723	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:13	2723	[DEBUG]	Executed store
2023-10-13	13:11:13	2723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862215','32')
2023-10-13	13:11:13	2723	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:13	2723	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:13	2723	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862215 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:13	2723	[DEBUG]	Store custom available field
2023-10-13	13:11:13	2723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862215,3,'',1)
2023-10-13	13:11:13	2723	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:13	2723	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:13	2723	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862215 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:13	2723	[DEBUG]	Store custom available field
2023-10-13	13:11:13	2723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862215,6,'Unitaire',3)
2023-10-13	13:11:13	2723	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:13	2723	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:13	2723	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862214
2023-10-13	13:11:13	2723	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:13	2723	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862214\":[1862214,8,1,\"choisir la taille\"],\"1862215\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862214
2023-10-13	13:11:13	2723	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:13	2723	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862215
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:13	2724	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field taille
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:13	2724	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:13	2724	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:13	2724	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:13	2724	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:13	2724	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:13	2724	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field published
2023-10-13	13:11:13	2724	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:13	2724	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field override
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:13	2724	[DEBUG]	Use field value for field slug
2023-10-13	13:11:13	2724	[DEBUG]	Process line 2724
2023-10-13	13:11:13	2724	[DEBUG]	Load a row
2023-10-13	13:11:13	2724	[DEBUG]	Processing item: A_278_1
2023-10-13	13:11:13	2724	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:13	2724	[DEBUG]	Processing product tax
2023-10-13	13:11:13	2724	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:13	2724	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:13	2724	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:13	2724	[DEBUG]	Query for Product
2023-10-13	13:11:13	2724	[DEBUG]	Executed store
2023-10-13	13:11:13	2724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_278_1','0.236','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:13	2724	[DEBUG]	Check product language entry
2023-10-13	13:11:13	2724	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862216
2023-10-13	13:11:13	2724	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:13	2724	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_278_1' AND `virtuemart_product_id` != 1862216
2023-10-13	13:11:13	2724	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:13	2724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862216, 'A_278_1')
2023-10-13	13:11:13	2724	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:13	2724	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-560mm-plat-alu-6061-t4-msc-magma-25-4o-noir' AND `virtuemart_product_id` != 1862216
2023-10-13	13:11:13	2724	[DEBUG]	Query for ProductLang
2023-10-13	13:11:13	2724	[DEBUG]	Executed store
2023-10-13	13:11:13	2724	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Diamètre 25.4 mm<br>N° art fourn : AL110PP560',`product_name`='MSC GUIDON 560mm PLAT Alu 6061 T4 MSC Magma 25.4Ø  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-560mm-plat-alu-6061-t4-msc-magma-25-4o-noir' WHERE `virtuemart_product_id` = '1862216'
2023-10-13	13:11:13	2724	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_299.jpg
2023-10-13	13:11:13	2724	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:13	2724	[DEBUG]	Process image file
2023-10-13	13:11:13	2724	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:13	2724	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:13	2724	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_299.jpg
2023-10-13	13:11:13	2724	[DEBUG]	Full name target: bcprisme/image_299.jpg
2023-10-13	13:11:14	2724	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:14	2724	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_299.jpg'
2023-10-13	13:11:14	2724	[DEBUG]	Query for Media
2023-10-13	13:11:14	2724	[DEBUG]	Executed store
2023-10-13	13:11:14	2724	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_299.jpg',`file_url_thumb`='bcprisme/image_299.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12922'
2023-10-13	13:11:14	2724	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:14	2724	[DEBUG]	Executed store
2023-10-13	13:11:14	2724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862216','12922','1')
2023-10-13	13:11:14	2724	[DEBUG]	Store product image relation
2023-10-13	13:11:14	2724	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:14	2724	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862216 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:14	2724	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:14	2724	[DEBUG]	Executed store
2023-10-13	13:11:14	2724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862216','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:14	2724	[DEBUG]	Checking manufacturer
2023-10-13	13:11:14	2724	[DEBUG]	Load a row
2023-10-13	13:11:14	2724	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:14	2724	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:14	2724	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:14	2724	[DEBUG]	Executed store
2023-10-13	13:11:14	2724	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:14	2724	[DEBUG]	Manufacturer exists
2023-10-13	13:11:14	2724	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:14	2724	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:14	2724	[DEBUG]	Executed store
2023-10-13	13:11:14	2724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862216','32')
2023-10-13	13:11:14	2724	[DEBUG]	Find the custom field ID
2023-10-13	13:11:14	2724	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:14	2724	[DEBUG]	No custom field ID found
2023-10-13	13:11:14	2724	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:14	2724	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:11:14	2724	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862216 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:14	2724	[DEBUG]	Store custom available field
2023-10-13	13:11:14	2724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862216,3,'14.8586111111111',1)
2023-10-13	13:11:14	2724	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:14	2724	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:14	2724	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862216 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:14	2724	[DEBUG]	Store custom available field
2023-10-13	13:11:14	2724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862216,6,'choisir la taille',3)
2023-10-13	13:11:14	2724	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:14	2724	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:14	2724	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:14	2724	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:14	2724	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862216 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:14	2724	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:14	2724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862216,8,1)
2023-10-13	13:11:14	2724	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:14	2724	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862216\":[1862216,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862216
2023-10-13	13:11:14	2724	[DEBUG]	Checking category
2023-10-13	13:11:14	2724	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:14	2724	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862216
2023-10-13	13:11:14	2724	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:14	2724	[DEBUG]	Executed store
2023-10-13	13:11:14	2724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862216','7357')
2023-10-13	13:11:14	2724	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:14	2724	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862216 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:14	2724	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:14	2724	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862216
2023-10-13	13:11:14	2725	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:14	2725	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:14	2725	[DEBUG]	Use field value for field taille
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:14	2725	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:14	2725	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:14	2725	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:14	2725	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:14	2725	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:14	2725	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:14	2725	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:14	2725	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:14	2725	[DEBUG]	Use field value for field published
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:14	2725	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field override
2023-10-13	13:11:14	2725	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:14	2725	[DEBUG]	Use field value for field slug
2023-10-13	13:11:14	2725	[DEBUG]	Process line 2725
2023-10-13	13:11:14	2725	[DEBUG]	Load a row
2023-10-13	13:11:14	2725	[DEBUG]	Processing item: 1000000003093
2023-10-13	13:11:14	2725	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:14	2725	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:14	2725	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_278_1'
2023-10-13	13:11:14	2725	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:14	2725	[DEBUG]	Processing product tax
2023-10-13	13:11:14	2725	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:14	2725	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:14	2725	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:14	2725	[DEBUG]	Query for Product
2023-10-13	13:11:14	2725	[DEBUG]	Executed store
2023-10-13	13:11:14	2725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862216','1000000003093','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:14	2725	[DEBUG]	No parent found
2023-10-13	13:11:14	2725	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862216 AND customfield_value = 'stockable'
2023-10-13	13:11:14	2725	[DEBUG]	Check product language entry
2023-10-13	13:11:14	2725	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862217
2023-10-13	13:11:14	2725	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:14	2725	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000003093' AND `virtuemart_product_id` != 1862217
2023-10-13	13:11:14	2725	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:14	2725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862217, '1000000003093')
2023-10-13	13:11:14	2725	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:14	2725	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-560mm-plat-alu-6061-t4-msc-magma-25-4o-noir-unitaire' AND `virtuemart_product_id` != 1862217
2023-10-13	13:11:14	2725	[DEBUG]	Query for ProductLang
2023-10-13	13:11:14	2725	[DEBUG]	Executed store
2023-10-13	13:11:14	2725	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 560mm PLAT Alu 6061 T4 MSC Magma 25.4Ø  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-560mm-plat-alu-6061-t4-msc-magma-25-4o-noir-unitaire' WHERE `virtuemart_product_id` = '1862217'
2023-10-13	13:11:14	2725	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_299.jpg
2023-10-13	13:11:14	2725	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:14	2725	[DEBUG]	Process image file
2023-10-13	13:11:14	2725	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:14	2725	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:14	2725	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_299.jpg
2023-10-13	13:11:14	2725	[DEBUG]	Full name target: bcprisme/image_299.jpg
2023-10-13	13:11:15	2725	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:15	2725	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_299.jpg'
2023-10-13	13:11:15	2725	[DEBUG]	Query for Media
2023-10-13	13:11:15	2725	[DEBUG]	Executed store
2023-10-13	13:11:15	2725	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_299.jpg',`file_url_thumb`='bcprisme/image_299.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12922'
2023-10-13	13:11:15	2725	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:15	2725	[DEBUG]	Executed store
2023-10-13	13:11:15	2725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862217','12922','1')
2023-10-13	13:11:15	2725	[DEBUG]	Store product image relation
2023-10-13	13:11:15	2725	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:15	2725	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862217 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:15	2725	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:15	2725	[DEBUG]	Executed store
2023-10-13	13:11:15	2725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862217','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:15	2725	[DEBUG]	Checking manufacturer
2023-10-13	13:11:15	2725	[DEBUG]	Load a row
2023-10-13	13:11:15	2725	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:15	2725	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:15	2725	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:15	2725	[DEBUG]	Executed store
2023-10-13	13:11:15	2725	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:15	2725	[DEBUG]	Manufacturer exists
2023-10-13	13:11:15	2725	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:15	2725	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:15	2725	[DEBUG]	Executed store
2023-10-13	13:11:15	2725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862217','32')
2023-10-13	13:11:15	2725	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:15	2725	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:15	2725	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862217 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:15	2725	[DEBUG]	Store custom available field
2023-10-13	13:11:15	2725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862217,3,'',1)
2023-10-13	13:11:15	2725	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:15	2725	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:15	2725	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862217 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:15	2725	[DEBUG]	Store custom available field
2023-10-13	13:11:15	2725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862217,6,'Unitaire',3)
2023-10-13	13:11:15	2725	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:15	2725	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:15	2725	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862216
2023-10-13	13:11:15	2725	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:15	2725	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862216\":[1862216,8,1,\"choisir la taille\"],\"1862217\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862216
2023-10-13	13:11:15	2725	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:15	2725	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862217
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:15	2726	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field taille
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:15	2726	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:15	2726	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:15	2726	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:15	2726	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:15	2726	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:15	2726	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field published
2023-10-13	13:11:15	2726	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:15	2726	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field override
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:15	2726	[DEBUG]	Use field value for field slug
2023-10-13	13:11:15	2726	[DEBUG]	Process line 2726
2023-10-13	13:11:15	2726	[DEBUG]	Load a row
2023-10-13	13:11:15	2726	[DEBUG]	Processing item: A_279_1
2023-10-13	13:11:15	2726	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:15	2726	[DEBUG]	Processing product tax
2023-10-13	13:11:15	2726	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:15	2726	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:15	2726	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:15	2726	[DEBUG]	Query for Product
2023-10-13	13:11:15	2726	[DEBUG]	Executed store
2023-10-13	13:11:15	2726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_279_1','0.242','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:15	2726	[DEBUG]	Check product language entry
2023-10-13	13:11:15	2726	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862218
2023-10-13	13:11:15	2726	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:15	2726	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_279_1' AND `virtuemart_product_id` != 1862218
2023-10-13	13:11:15	2726	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:15	2726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862218, 'A_279_1')
2023-10-13	13:11:15	2726	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:15	2726	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-plat-alu-6061-t4-msc-31-8o-noir' AND `virtuemart_product_id` != 1862218
2023-10-13	13:11:15	2726	[DEBUG]	Query for ProductLang
2023-10-13	13:11:15	2726	[DEBUG]	Executed store
2023-10-13	13:11:15	2726	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Diamètre 31.8 mm<br>N° art fourn : AL118FOV58',`product_name`='MSC GUIDON 580mm PLAT Alu 6061 T4 MSC 31.8Ø  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-plat-alu-6061-t4-msc-31-8o-noir' WHERE `virtuemart_product_id` = '1862218'
2023-10-13	13:11:15	2726	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_300.jpg
2023-10-13	13:11:15	2726	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:15	2726	[DEBUG]	Process image file
2023-10-13	13:11:15	2726	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:15	2726	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:15	2726	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_300.jpg
2023-10-13	13:11:15	2726	[DEBUG]	Full name target: bcprisme/image_300.jpg
2023-10-13	13:11:16	2726	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:16	2726	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_300.jpg'
2023-10-13	13:11:16	2726	[DEBUG]	Query for Media
2023-10-13	13:11:16	2726	[DEBUG]	Executed store
2023-10-13	13:11:16	2726	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_300.jpg',`file_url_thumb`='bcprisme/image_300.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12923'
2023-10-13	13:11:16	2726	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:16	2726	[DEBUG]	Executed store
2023-10-13	13:11:16	2726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862218','12923','1')
2023-10-13	13:11:16	2726	[DEBUG]	Store product image relation
2023-10-13	13:11:16	2726	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:16	2726	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862218 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:16	2726	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:16	2726	[DEBUG]	Executed store
2023-10-13	13:11:16	2726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862218','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:16	2726	[DEBUG]	Checking manufacturer
2023-10-13	13:11:16	2726	[DEBUG]	Load a row
2023-10-13	13:11:16	2726	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:16	2726	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:16	2726	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:16	2726	[DEBUG]	Executed store
2023-10-13	13:11:16	2726	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:16	2726	[DEBUG]	Manufacturer exists
2023-10-13	13:11:16	2726	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:16	2726	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:16	2726	[DEBUG]	Executed store
2023-10-13	13:11:16	2726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862218','32')
2023-10-13	13:11:16	2726	[DEBUG]	Find the custom field ID
2023-10-13	13:11:16	2726	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:16	2726	[DEBUG]	No custom field ID found
2023-10-13	13:11:16	2726	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:16	2726	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:11:16	2726	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862218 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:16	2726	[DEBUG]	Store custom available field
2023-10-13	13:11:16	2726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862218,3,'19.8447222222222',1)
2023-10-13	13:11:16	2726	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:16	2726	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:16	2726	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862218 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:16	2726	[DEBUG]	Store custom available field
2023-10-13	13:11:16	2726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862218,6,'choisir la taille',3)
2023-10-13	13:11:16	2726	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:16	2726	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:16	2726	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:16	2726	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:16	2726	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862218 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:16	2726	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:16	2726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862218,8,1)
2023-10-13	13:11:16	2726	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:16	2726	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862218\":[1862218,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862218
2023-10-13	13:11:16	2726	[DEBUG]	Checking category
2023-10-13	13:11:16	2726	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:16	2726	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862218
2023-10-13	13:11:16	2726	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:16	2726	[DEBUG]	Executed store
2023-10-13	13:11:16	2726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862218','7357')
2023-10-13	13:11:16	2726	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:16	2726	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862218 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:16	2726	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:16	2726	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862218
2023-10-13	13:11:16	2727	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:16	2727	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:16	2727	[DEBUG]	Use field value for field taille
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:16	2727	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:16	2727	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:16	2727	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:16	2727	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:16	2727	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:16	2727	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:16	2727	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:16	2727	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:16	2727	[DEBUG]	Use field value for field published
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:16	2727	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field override
2023-10-13	13:11:16	2727	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:16	2727	[DEBUG]	Use field value for field slug
2023-10-13	13:11:16	2727	[DEBUG]	Process line 2727
2023-10-13	13:11:16	2727	[DEBUG]	Load a row
2023-10-13	13:11:16	2727	[DEBUG]	Processing item: 1000000003109
2023-10-13	13:11:16	2727	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:16	2727	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:16	2727	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_279_1'
2023-10-13	13:11:16	2727	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:16	2727	[DEBUG]	Processing product tax
2023-10-13	13:11:16	2727	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:16	2727	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:16	2727	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:16	2727	[DEBUG]	Query for Product
2023-10-13	13:11:16	2727	[DEBUG]	Executed store
2023-10-13	13:11:16	2727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862218','1000000003109','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:16	2727	[DEBUG]	No parent found
2023-10-13	13:11:16	2727	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862218 AND customfield_value = 'stockable'
2023-10-13	13:11:16	2727	[DEBUG]	Check product language entry
2023-10-13	13:11:16	2727	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862219
2023-10-13	13:11:16	2727	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:16	2727	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000003109' AND `virtuemart_product_id` != 1862219
2023-10-13	13:11:16	2727	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:16	2727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862219, '1000000003109')
2023-10-13	13:11:16	2727	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:16	2727	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-plat-alu-6061-t4-msc-31-8o-noir-unitaire' AND `virtuemart_product_id` != 1862219
2023-10-13	13:11:16	2727	[DEBUG]	Query for ProductLang
2023-10-13	13:11:16	2727	[DEBUG]	Executed store
2023-10-13	13:11:16	2727	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 580mm PLAT Alu 6061 T4 MSC 31.8Ø  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-plat-alu-6061-t4-msc-31-8o-noir-unitaire' WHERE `virtuemart_product_id` = '1862219'
2023-10-13	13:11:16	2727	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_300.jpg
2023-10-13	13:11:16	2727	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:16	2727	[DEBUG]	Process image file
2023-10-13	13:11:16	2727	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:16	2727	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:16	2727	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_300.jpg
2023-10-13	13:11:16	2727	[DEBUG]	Full name target: bcprisme/image_300.jpg
2023-10-13	13:11:17	2727	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:17	2727	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_300.jpg'
2023-10-13	13:11:17	2727	[DEBUG]	Query for Media
2023-10-13	13:11:17	2727	[DEBUG]	Executed store
2023-10-13	13:11:17	2727	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_300.jpg',`file_url_thumb`='bcprisme/image_300.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12923'
2023-10-13	13:11:17	2727	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:17	2727	[DEBUG]	Executed store
2023-10-13	13:11:17	2727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862219','12923','1')
2023-10-13	13:11:17	2727	[DEBUG]	Store product image relation
2023-10-13	13:11:17	2727	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:17	2727	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862219 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:17	2727	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:17	2727	[DEBUG]	Executed store
2023-10-13	13:11:17	2727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862219','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:17	2727	[DEBUG]	Checking manufacturer
2023-10-13	13:11:17	2727	[DEBUG]	Load a row
2023-10-13	13:11:17	2727	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:17	2727	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:17	2727	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:17	2727	[DEBUG]	Executed store
2023-10-13	13:11:17	2727	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:17	2727	[DEBUG]	Manufacturer exists
2023-10-13	13:11:17	2727	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:17	2727	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:17	2727	[DEBUG]	Executed store
2023-10-13	13:11:17	2727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862219','32')
2023-10-13	13:11:17	2727	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:17	2727	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:17	2727	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862219 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:17	2727	[DEBUG]	Store custom available field
2023-10-13	13:11:17	2727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862219,3,'',1)
2023-10-13	13:11:17	2727	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:17	2727	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:17	2727	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862219 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:17	2727	[DEBUG]	Store custom available field
2023-10-13	13:11:17	2727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862219,6,'Unitaire',3)
2023-10-13	13:11:17	2727	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:17	2727	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:17	2727	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862218
2023-10-13	13:11:17	2727	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:17	2727	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862218\":[1862218,8,1,\"choisir la taille\"],\"1862219\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862218
2023-10-13	13:11:17	2727	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:17	2727	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862219
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:17	2728	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field taille
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:17	2728	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:17	2728	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:17	2728	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:17	2728	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:17	2728	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:17	2728	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field published
2023-10-13	13:11:17	2728	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:17	2728	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field override
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:17	2728	[DEBUG]	Use field value for field slug
2023-10-13	13:11:17	2728	[DEBUG]	Process line 2728
2023-10-13	13:11:17	2728	[DEBUG]	Load a row
2023-10-13	13:11:17	2728	[DEBUG]	Processing item: A_280_1
2023-10-13	13:11:17	2728	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:17	2728	[DEBUG]	Processing product tax
2023-10-13	13:11:17	2728	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:17	2728	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:17	2728	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:17	2728	[DEBUG]	Query for Product
2023-10-13	13:11:17	2728	[DEBUG]	Executed store
2023-10-13	13:11:17	2728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_280_1','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:17	2728	[DEBUG]	Check product language entry
2023-10-13	13:11:17	2728	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862220
2023-10-13	13:11:17	2728	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:17	2728	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_280_1' AND `virtuemart_product_id` != 1862220
2023-10-13	13:11:17	2728	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:17	2728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862220, 'A_280_1')
2023-10-13	13:11:17	2728	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:17	2728	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-560mm-double-hauteur-alu-6061-t4-msc-1-12-25-4mm-noir' AND `virtuemart_product_id` != 1862220
2023-10-13	13:11:17	2728	[DEBUG]	Query for ProductLang
2023-10-13	13:11:17	2728	[DEBUG]	Executed store
2023-10-13	13:11:17	2728	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Diamètre 25.4 mm<br>N° art fourn : AL125600',`product_name`='MSC GUIDON 560mm DOUBLE HAUTEUR Alu 6061 T4 MSC 1, 12 25.4mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-560mm-double-hauteur-alu-6061-t4-msc-1-12-25-4mm-noir' WHERE `virtuemart_product_id` = '1862220'
2023-10-13	13:11:17	2728	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_301.jpg
2023-10-13	13:11:17	2728	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:17	2728	[DEBUG]	Process image file
2023-10-13	13:11:17	2728	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:17	2728	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:17	2728	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_301.jpg
2023-10-13	13:11:17	2728	[DEBUG]	Full name target: bcprisme/image_301.jpg
2023-10-13	13:11:18	2728	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:18	2728	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_301.jpg'
2023-10-13	13:11:18	2728	[DEBUG]	Query for Media
2023-10-13	13:11:18	2728	[DEBUG]	Executed store
2023-10-13	13:11:18	2728	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_301.jpg',`file_url_thumb`='bcprisme/image_301.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12924'
2023-10-13	13:11:18	2728	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:18	2728	[DEBUG]	Executed store
2023-10-13	13:11:18	2728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862220','12924','1')
2023-10-13	13:11:18	2728	[DEBUG]	Store product image relation
2023-10-13	13:11:18	2728	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:18	2728	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862220 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:18	2728	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:18	2728	[DEBUG]	Executed store
2023-10-13	13:11:18	2728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862220','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:18	2728	[DEBUG]	Checking manufacturer
2023-10-13	13:11:18	2728	[DEBUG]	Load a row
2023-10-13	13:11:18	2728	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:18	2728	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:18	2728	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:18	2728	[DEBUG]	Executed store
2023-10-13	13:11:18	2728	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:18	2728	[DEBUG]	Manufacturer exists
2023-10-13	13:11:18	2728	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:18	2728	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:18	2728	[DEBUG]	Executed store
2023-10-13	13:11:18	2728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862220','32')
2023-10-13	13:11:18	2728	[DEBUG]	Find the custom field ID
2023-10-13	13:11:18	2728	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:18	2728	[DEBUG]	No custom field ID found
2023-10-13	13:11:18	2728	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:18	2728	[DEBUG]	Get existing row with customfield value 24.8308333333333
2023-10-13	13:11:18	2728	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862220 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:18	2728	[DEBUG]	Store custom available field
2023-10-13	13:11:18	2728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862220,3,'24.8308333333333',1)
2023-10-13	13:11:18	2728	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:18	2728	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:18	2728	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862220 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:18	2728	[DEBUG]	Store custom available field
2023-10-13	13:11:18	2728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862220,6,'choisir la taille',3)
2023-10-13	13:11:18	2728	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:18	2728	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:18	2728	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:18	2728	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:18	2728	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862220 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:18	2728	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:18	2728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862220,8,1)
2023-10-13	13:11:18	2728	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:18	2728	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862220\":[1862220,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862220
2023-10-13	13:11:18	2728	[DEBUG]	Checking category
2023-10-13	13:11:18	2728	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:18	2728	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862220
2023-10-13	13:11:18	2728	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:18	2728	[DEBUG]	Executed store
2023-10-13	13:11:18	2728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862220','7357')
2023-10-13	13:11:18	2728	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:18	2728	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862220 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:18	2728	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:18	2728	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862220
2023-10-13	13:11:18	2729	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:18	2729	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:18	2729	[DEBUG]	Use field value for field taille
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:18	2729	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:18	2729	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:18	2729	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:18	2729	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:18	2729	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:18	2729	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:18	2729	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:18	2729	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:18	2729	[DEBUG]	Use field value for field published
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:18	2729	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field override
2023-10-13	13:11:18	2729	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:18	2729	[DEBUG]	Use field value for field slug
2023-10-13	13:11:18	2729	[DEBUG]	Process line 2729
2023-10-13	13:11:18	2729	[DEBUG]	Load a row
2023-10-13	13:11:18	2729	[DEBUG]	Processing item: 1000000003116
2023-10-13	13:11:18	2729	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:18	2729	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:18	2729	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_280_1'
2023-10-13	13:11:18	2729	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:18	2729	[DEBUG]	Processing product tax
2023-10-13	13:11:18	2729	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:18	2729	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:18	2729	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:18	2729	[DEBUG]	Query for Product
2023-10-13	13:11:18	2729	[DEBUG]	Executed store
2023-10-13	13:11:18	2729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862220','1000000003116','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:19	2729	[DEBUG]	No parent found
2023-10-13	13:11:19	2729	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862220 AND customfield_value = 'stockable'
2023-10-13	13:11:19	2729	[DEBUG]	Check product language entry
2023-10-13	13:11:19	2729	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862221
2023-10-13	13:11:19	2729	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:19	2729	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000003116' AND `virtuemart_product_id` != 1862221
2023-10-13	13:11:19	2729	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:19	2729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862221, '1000000003116')
2023-10-13	13:11:19	2729	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:19	2729	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-560mm-double-hauteur-alu-6061-t4-msc-1-12-25-4mm-noir-unitaire' AND `virtuemart_product_id` != 1862221
2023-10-13	13:11:19	2729	[DEBUG]	Query for ProductLang
2023-10-13	13:11:19	2729	[DEBUG]	Executed store
2023-10-13	13:11:19	2729	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 560mm DOUBLE HAUTEUR Alu 6061 T4 MSC 1, 12 25.4mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-560mm-double-hauteur-alu-6061-t4-msc-1-12-25-4mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862221'
2023-10-13	13:11:19	2729	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_301.jpg
2023-10-13	13:11:19	2729	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:19	2729	[DEBUG]	Process image file
2023-10-13	13:11:19	2729	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:19	2729	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:19	2729	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_301.jpg
2023-10-13	13:11:19	2729	[DEBUG]	Full name target: bcprisme/image_301.jpg
2023-10-13	13:11:19	2729	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:19	2729	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_301.jpg'
2023-10-13	13:11:19	2729	[DEBUG]	Query for Media
2023-10-13	13:11:19	2729	[DEBUG]	Executed store
2023-10-13	13:11:19	2729	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_301.jpg',`file_url_thumb`='bcprisme/image_301.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12924'
2023-10-13	13:11:19	2729	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:19	2729	[DEBUG]	Executed store
2023-10-13	13:11:19	2729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862221','12924','1')
2023-10-13	13:11:19	2729	[DEBUG]	Store product image relation
2023-10-13	13:11:19	2729	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:19	2729	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862221 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:19	2729	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:20	2729	[DEBUG]	Executed store
2023-10-13	13:11:20	2729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862221','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:20	2729	[DEBUG]	Checking manufacturer
2023-10-13	13:11:20	2729	[DEBUG]	Load a row
2023-10-13	13:11:20	2729	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:20	2729	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:20	2729	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:20	2729	[DEBUG]	Executed store
2023-10-13	13:11:20	2729	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:20	2729	[DEBUG]	Manufacturer exists
2023-10-13	13:11:20	2729	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:20	2729	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:20	2729	[DEBUG]	Executed store
2023-10-13	13:11:20	2729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862221','32')
2023-10-13	13:11:20	2729	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:20	2729	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:20	2729	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862221 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:20	2729	[DEBUG]	Store custom available field
2023-10-13	13:11:20	2729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862221,3,'',1)
2023-10-13	13:11:20	2729	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:20	2729	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:20	2729	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862221 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:20	2729	[DEBUG]	Store custom available field
2023-10-13	13:11:20	2729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862221,6,'Unitaire',3)
2023-10-13	13:11:20	2729	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:20	2729	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:20	2729	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862220
2023-10-13	13:11:20	2729	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:20	2729	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862220\":[1862220,8,1,\"choisir la taille\"],\"1862221\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862220
2023-10-13	13:11:20	2729	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:20	2729	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862221
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:20	2730	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field taille
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:20	2730	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:20	2730	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:20	2730	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:20	2730	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:20	2730	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:20	2730	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field published
2023-10-13	13:11:20	2730	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:20	2730	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field override
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:20	2730	[DEBUG]	Use field value for field slug
2023-10-13	13:11:20	2730	[DEBUG]	Process line 2730
2023-10-13	13:11:20	2730	[DEBUG]	Load a row
2023-10-13	13:11:20	2730	[DEBUG]	Processing item: A_281_1
2023-10-13	13:11:20	2730	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:20	2730	[DEBUG]	Processing product tax
2023-10-13	13:11:20	2730	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:20	2730	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:20	2730	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:20	2730	[DEBUG]	Query for Product
2023-10-13	13:11:20	2730	[DEBUG]	Executed store
2023-10-13	13:11:20	2730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_281_1','0.303','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:20	2730	[DEBUG]	Check product language entry
2023-10-13	13:11:20	2730	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862222
2023-10-13	13:11:20	2730	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:20	2730	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_281_1' AND `virtuemart_product_id` != 1862222
2023-10-13	13:11:20	2730	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:20	2730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862222, 'A_281_1')
2023-10-13	13:11:20	2730	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:20	2730	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-guidon-giant-contact-35-mm-noir-rise-35-mm-noir' AND `virtuemart_product_id` != 1862222
2023-10-13	13:11:20	2730	[DEBUG]	Query for ProductLang
2023-10-13	13:11:20	2730	[DEBUG]	Executed store
2023-10-13	13:11:20	2730	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Diamètre 25.4 mm<br>N° art fourn : Giantrise35',`product_name`='GIANT GUIDON Giant Contact 35 mm Noir Rise 35 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-guidon-giant-contact-35-mm-noir-rise-35-mm-noir' WHERE `virtuemart_product_id` = '1862222'
2023-10-13	13:11:20	2730	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_302.jpg
2023-10-13	13:11:20	2730	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:11:20	2730	[DEBUG]	Process image file
2023-10-13	13:11:20	2730	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:11:20	2730	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:20	2730	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_302.jpg
2023-10-13	13:11:20	2730	[DEBUG]	Full name target: bcprisme/image_302.jpg
2023-10-13	13:11:21	2730	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:21	2730	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_302.jpg'
2023-10-13	13:11:21	2730	[DEBUG]	Query for Media
2023-10-13	13:11:21	2730	[DEBUG]	Executed store
2023-10-13	13:11:21	2730	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_302.jpg',`file_url_thumb`='bcprisme/image_302.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16581'
2023-10-13	13:11:21	2730	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:21	2730	[DEBUG]	Executed store
2023-10-13	13:11:21	2730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862222','16581','1')
2023-10-13	13:11:21	2730	[DEBUG]	Store product image relation
2023-10-13	13:11:21	2730	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:21	2730	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862222 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:21	2730	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:21	2730	[DEBUG]	Executed store
2023-10-13	13:11:21	2730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862222','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:21	2730	[DEBUG]	Checking manufacturer
2023-10-13	13:11:21	2730	[DEBUG]	Load a row
2023-10-13	13:11:21	2730	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:21	2730	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:11:21	2730	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:21	2730	[DEBUG]	Executed store
2023-10-13	13:11:21	2730	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:11:21	2730	[DEBUG]	Manufacturer exists
2023-10-13	13:11:21	2730	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	13:11:21	2730	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:21	2730	[DEBUG]	Executed store
2023-10-13	13:11:21	2730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862222','29')
2023-10-13	13:11:21	2730	[DEBUG]	Find the custom field ID
2023-10-13	13:11:21	2730	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:21	2730	[DEBUG]	No custom field ID found
2023-10-13	13:11:21	2730	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:21	2730	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:11:21	2730	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862222 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:21	2730	[DEBUG]	Store custom available field
2023-10-13	13:11:21	2730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862222,3,'39.7891666666667',1)
2023-10-13	13:11:21	2730	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:21	2730	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:21	2730	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862222 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:21	2730	[DEBUG]	Store custom available field
2023-10-13	13:11:21	2730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862222,6,'choisir la taille',3)
2023-10-13	13:11:21	2730	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:21	2730	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:21	2730	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:21	2730	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:21	2730	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862222 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:21	2730	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:21	2730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862222,8,1)
2023-10-13	13:11:21	2730	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:21	2730	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862222\":[1862222,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862222
2023-10-13	13:11:21	2730	[DEBUG]	Checking category
2023-10-13	13:11:21	2730	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:21	2730	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862222
2023-10-13	13:11:21	2730	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:21	2730	[DEBUG]	Executed store
2023-10-13	13:11:21	2730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862222','7357')
2023-10-13	13:11:21	2730	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:21	2730	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862222 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:21	2730	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:21	2730	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862222
2023-10-13	13:11:21	2731	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:21	2731	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:21	2731	[DEBUG]	Use field value for field taille
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:21	2731	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:21	2731	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:21	2731	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:21	2731	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:21	2731	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:21	2731	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:21	2731	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:21	2731	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:21	2731	[DEBUG]	Use field value for field published
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:21	2731	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field override
2023-10-13	13:11:21	2731	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:21	2731	[DEBUG]	Use field value for field slug
2023-10-13	13:11:21	2731	[DEBUG]	Process line 2731
2023-10-13	13:11:21	2731	[DEBUG]	Load a row
2023-10-13	13:11:21	2731	[DEBUG]	Processing item: 1000000003123
2023-10-13	13:11:21	2731	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:21	2731	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:21	2731	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_281_1'
2023-10-13	13:11:21	2731	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:21	2731	[DEBUG]	Processing product tax
2023-10-13	13:11:21	2731	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:21	2731	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:21	2731	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:21	2731	[DEBUG]	Query for Product
2023-10-13	13:11:21	2731	[DEBUG]	Executed store
2023-10-13	13:11:21	2731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862222','1000000003123','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:21	2731	[DEBUG]	No parent found
2023-10-13	13:11:21	2731	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862222 AND customfield_value = 'stockable'
2023-10-13	13:11:21	2731	[DEBUG]	Check product language entry
2023-10-13	13:11:21	2731	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862223
2023-10-13	13:11:21	2731	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:21	2731	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000003123' AND `virtuemart_product_id` != 1862223
2023-10-13	13:11:21	2731	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:21	2731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862223, '1000000003123')
2023-10-13	13:11:21	2731	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:21	2731	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-guidon-giant-contact-35-mm-noir-rise-35-mm-noir-unitaire' AND `virtuemart_product_id` != 1862223
2023-10-13	13:11:21	2731	[DEBUG]	Query for ProductLang
2023-10-13	13:11:21	2731	[DEBUG]	Executed store
2023-10-13	13:11:21	2731	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT GUIDON Giant Contact 35 mm Noir Rise 35 mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-guidon-giant-contact-35-mm-noir-rise-35-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862223'
2023-10-13	13:11:21	2731	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_302.jpg
2023-10-13	13:11:21	2731	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:11:21	2731	[DEBUG]	Process image file
2023-10-13	13:11:21	2731	[DEBUG]	Identity string: ffd8ffe000104a46494600010201012c012c0000
2023-10-13	13:11:21	2731	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:21	2731	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_302.jpg
2023-10-13	13:11:21	2731	[DEBUG]	Full name target: bcprisme/image_302.jpg
2023-10-13	13:11:22	2731	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:22	2731	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_302.jpg'
2023-10-13	13:11:22	2731	[DEBUG]	Query for Media
2023-10-13	13:11:22	2731	[DEBUG]	Executed store
2023-10-13	13:11:22	2731	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_302.jpg',`file_url_thumb`='bcprisme/image_302.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16581'
2023-10-13	13:11:22	2731	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:22	2731	[DEBUG]	Executed store
2023-10-13	13:11:22	2731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862223','16581','1')
2023-10-13	13:11:22	2731	[DEBUG]	Store product image relation
2023-10-13	13:11:22	2731	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:22	2731	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862223 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:22	2731	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:22	2731	[DEBUG]	Executed store
2023-10-13	13:11:22	2731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862223','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:22	2731	[DEBUG]	Checking manufacturer
2023-10-13	13:11:22	2731	[DEBUG]	Load a row
2023-10-13	13:11:22	2731	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:22	2731	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:11:22	2731	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:22	2731	[DEBUG]	Executed store
2023-10-13	13:11:22	2731	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:11:22	2731	[DEBUG]	Manufacturer exists
2023-10-13	13:11:22	2731	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	13:11:22	2731	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:22	2731	[DEBUG]	Executed store
2023-10-13	13:11:22	2731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862223','29')
2023-10-13	13:11:22	2731	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:22	2731	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:22	2731	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862223 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:22	2731	[DEBUG]	Store custom available field
2023-10-13	13:11:22	2731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862223,3,'',1)
2023-10-13	13:11:22	2731	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:22	2731	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:22	2731	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862223 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:22	2731	[DEBUG]	Store custom available field
2023-10-13	13:11:22	2731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862223,6,'Unitaire',3)
2023-10-13	13:11:22	2731	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:22	2731	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:22	2731	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862222
2023-10-13	13:11:22	2731	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:22	2731	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862222\":[1862222,8,1,\"choisir la taille\"],\"1862223\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862222
2023-10-13	13:11:22	2731	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:22	2731	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862223
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:22	2732	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field taille
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:22	2732	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:22	2732	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:22	2732	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:22	2732	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:22	2732	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:22	2732	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field published
2023-10-13	13:11:22	2732	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:22	2732	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field override
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:22	2732	[DEBUG]	Use field value for field slug
2023-10-13	13:11:22	2732	[DEBUG]	Process line 2732
2023-10-13	13:11:22	2732	[DEBUG]	Load a row
2023-10-13	13:11:22	2732	[DEBUG]	Processing item: A_349_1
2023-10-13	13:11:22	2732	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:22	2732	[DEBUG]	Processing product tax
2023-10-13	13:11:22	2732	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:22	2732	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:22	2732	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:22	2732	[DEBUG]	Query for Product
2023-10-13	13:11:22	2732	[DEBUG]	Executed store
2023-10-13	13:11:22	2732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_349_1','0.143','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:22	2732	[DEBUG]	Check product language entry
2023-10-13	13:11:22	2732	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862224
2023-10-13	13:11:22	2732	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:22	2732	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_349_1' AND `virtuemart_product_id` != 1862224
2023-10-13	13:11:22	2732	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:22	2732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862224, 'A_349_1')
2023-10-13	13:11:22	2732	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:22	2732	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-560mm-plat-alu2014t6-msc-mirage-25-4mm-noir' AND `virtuemart_product_id` != 1862224
2023-10-13	13:11:22	2732	[DEBUG]	Query for ProductLang
2023-10-13	13:11:22	2732	[DEBUG]	Executed store
2023-10-13	13:11:22	2732	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Diamètre 25.4 mm<br>N° art fourn : CB751560',`product_name`='MSC GUIDON 560mm PLAT Alu2014T6 MSC MIRAGE 25.4mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-560mm-plat-alu2014t6-msc-mirage-25-4mm-noir' WHERE `virtuemart_product_id` = '1862224'
2023-10-13	13:11:22	2732	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_391.jpg
2023-10-13	13:11:22	2732	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:22	2732	[DEBUG]	Process image file
2023-10-13	13:11:22	2732	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:22	2732	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:22	2732	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_391.jpg
2023-10-13	13:11:22	2732	[DEBUG]	Full name target: bcprisme/image_391.jpg
2023-10-13	13:11:23	2732	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:23	2732	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_391.jpg'
2023-10-13	13:11:23	2732	[DEBUG]	Query for Media
2023-10-13	13:11:23	2732	[DEBUG]	Executed store
2023-10-13	13:11:23	2732	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_391.jpg',`file_url_thumb`='bcprisme/image_391.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12925'
2023-10-13	13:11:23	2732	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:23	2732	[DEBUG]	Executed store
2023-10-13	13:11:23	2732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862224','12925','1')
2023-10-13	13:11:23	2732	[DEBUG]	Store product image relation
2023-10-13	13:11:23	2732	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:23	2732	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862224 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:23	2732	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:23	2732	[DEBUG]	Executed store
2023-10-13	13:11:23	2732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862224','0','34.1689879294336','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:23	2732	[DEBUG]	Checking manufacturer
2023-10-13	13:11:23	2732	[DEBUG]	Load a row
2023-10-13	13:11:23	2732	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:23	2732	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:23	2732	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:23	2732	[DEBUG]	Executed store
2023-10-13	13:11:23	2732	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:23	2732	[DEBUG]	Manufacturer exists
2023-10-13	13:11:23	2732	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:23	2732	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:23	2732	[DEBUG]	Executed store
2023-10-13	13:11:23	2732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862224','32')
2023-10-13	13:11:23	2732	[DEBUG]	Find the custom field ID
2023-10-13	13:11:23	2732	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:23	2732	[DEBUG]	No custom field ID found
2023-10-13	13:11:23	2732	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:23	2732	[DEBUG]	Get existing row with customfield value 36.7975
2023-10-13	13:11:23	2732	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862224 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:23	2732	[DEBUG]	Store custom available field
2023-10-13	13:11:23	2732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862224,3,'36.7975',1)
2023-10-13	13:11:23	2732	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:23	2732	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:23	2732	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862224 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:23	2732	[DEBUG]	Store custom available field
2023-10-13	13:11:23	2732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862224,6,'choisir la taille',3)
2023-10-13	13:11:23	2732	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:23	2732	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:23	2732	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:23	2732	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:23	2732	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862224 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:23	2732	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:23	2732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862224,8,1)
2023-10-13	13:11:23	2732	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:23	2732	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862224\":[1862224,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862224
2023-10-13	13:11:23	2732	[DEBUG]	Checking category
2023-10-13	13:11:23	2732	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:23	2732	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862224
2023-10-13	13:11:23	2732	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:23	2732	[DEBUG]	Executed store
2023-10-13	13:11:23	2732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862224','7357')
2023-10-13	13:11:23	2732	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:23	2732	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862224 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:23	2732	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:23	2732	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862224
2023-10-13	13:11:23	2733	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:23	2733	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:23	2733	[DEBUG]	Use field value for field taille
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:23	2733	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:23	2733	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:23	2733	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:23	2733	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:23	2733	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:23	2733	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:23	2733	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:23	2733	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:23	2733	[DEBUG]	Use field value for field published
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:23	2733	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field override
2023-10-13	13:11:23	2733	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:23	2733	[DEBUG]	Use field value for field slug
2023-10-13	13:11:23	2733	[DEBUG]	Process line 2733
2023-10-13	13:11:23	2733	[DEBUG]	Load a row
2023-10-13	13:11:23	2733	[DEBUG]	Processing item: 1000000004106
2023-10-13	13:11:23	2733	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:23	2733	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:23	2733	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_349_1'
2023-10-13	13:11:23	2733	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:23	2733	[DEBUG]	Processing product tax
2023-10-13	13:11:23	2733	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:23	2733	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:23	2733	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:23	2733	[DEBUG]	Query for Product
2023-10-13	13:11:23	2733	[DEBUG]	Executed store
2023-10-13	13:11:23	2733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862224','1000000004106','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:23	2733	[DEBUG]	No parent found
2023-10-13	13:11:23	2733	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862224 AND customfield_value = 'stockable'
2023-10-13	13:11:23	2733	[DEBUG]	Check product language entry
2023-10-13	13:11:23	2733	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862225
2023-10-13	13:11:23	2733	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:23	2733	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000004106' AND `virtuemart_product_id` != 1862225
2023-10-13	13:11:23	2733	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:23	2733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862225, '1000000004106')
2023-10-13	13:11:23	2733	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:23	2733	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-560mm-plat-alu2014t6-msc-mirage-25-4mm-noir-unitaire' AND `virtuemart_product_id` != 1862225
2023-10-13	13:11:23	2733	[DEBUG]	Query for ProductLang
2023-10-13	13:11:23	2733	[DEBUG]	Executed store
2023-10-13	13:11:23	2733	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 560mm PLAT Alu2014T6 MSC MIRAGE 25.4mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-560mm-plat-alu2014t6-msc-mirage-25-4mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862225'
2023-10-13	13:11:23	2733	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_391.jpg
2023-10-13	13:11:23	2733	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:23	2733	[DEBUG]	Process image file
2023-10-13	13:11:23	2733	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:23	2733	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:23	2733	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_391.jpg
2023-10-13	13:11:23	2733	[DEBUG]	Full name target: bcprisme/image_391.jpg
2023-10-13	13:11:24	2733	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:24	2733	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_391.jpg'
2023-10-13	13:11:24	2733	[DEBUG]	Query for Media
2023-10-13	13:11:24	2733	[DEBUG]	Executed store
2023-10-13	13:11:24	2733	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_391.jpg',`file_url_thumb`='bcprisme/image_391.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12925'
2023-10-13	13:11:24	2733	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:24	2733	[DEBUG]	Executed store
2023-10-13	13:11:24	2733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862225','12925','1')
2023-10-13	13:11:24	2733	[DEBUG]	Store product image relation
2023-10-13	13:11:24	2733	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:24	2733	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862225 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:24	2733	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:24	2733	[DEBUG]	Executed store
2023-10-13	13:11:24	2733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862225','0','34.1689879294336','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:24	2733	[DEBUG]	Checking manufacturer
2023-10-13	13:11:24	2733	[DEBUG]	Load a row
2023-10-13	13:11:24	2733	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:24	2733	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:24	2733	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:24	2733	[DEBUG]	Executed store
2023-10-13	13:11:24	2733	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:24	2733	[DEBUG]	Manufacturer exists
2023-10-13	13:11:24	2733	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:24	2733	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:24	2733	[DEBUG]	Executed store
2023-10-13	13:11:24	2733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862225','32')
2023-10-13	13:11:24	2733	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:24	2733	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:24	2733	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862225 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:24	2733	[DEBUG]	Store custom available field
2023-10-13	13:11:24	2733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862225,3,'',1)
2023-10-13	13:11:24	2733	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:24	2733	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:24	2733	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862225 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:24	2733	[DEBUG]	Store custom available field
2023-10-13	13:11:24	2733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862225,6,'Unitaire',3)
2023-10-13	13:11:24	2733	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:24	2733	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:24	2733	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862224
2023-10-13	13:11:24	2733	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:24	2733	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862224\":[1862224,8,1,\"choisir la taille\"],\"1862225\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862224
2023-10-13	13:11:24	2733	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:24	2733	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862225
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:24	2734	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field taille
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:24	2734	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:24	2734	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:24	2734	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:24	2734	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:24	2734	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:24	2734	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field published
2023-10-13	13:11:24	2734	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:24	2734	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field override
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:24	2734	[DEBUG]	Use field value for field slug
2023-10-13	13:11:24	2734	[DEBUG]	Process line 2734
2023-10-13	13:11:24	2734	[DEBUG]	Load a row
2023-10-13	13:11:24	2734	[DEBUG]	Processing item: A_350_1
2023-10-13	13:11:24	2734	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:24	2734	[DEBUG]	Processing product tax
2023-10-13	13:11:24	2734	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:24	2734	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:24	2734	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:24	2734	[DEBUG]	Query for Product
2023-10-13	13:11:24	2734	[DEBUG]	Executed store
2023-10-13	13:11:24	2734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_350_1','0.143','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:24	2734	[DEBUG]	Check product language entry
2023-10-13	13:11:24	2734	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862226
2023-10-13	13:11:24	2734	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:24	2734	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_350_1' AND `virtuemart_product_id` != 1862226
2023-10-13	13:11:24	2734	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:24	2734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862226, 'A_350_1')
2023-10-13	13:11:24	2734	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:24	2734	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-plat-alu2014t6-msc-mirage-25-4o-noir' AND `virtuemart_product_id` != 1862226
2023-10-13	13:11:24	2734	[DEBUG]	Query for ProductLang
2023-10-13	13:11:24	2734	[DEBUG]	Executed store
2023-10-13	13:11:24	2734	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Diamètre 25.4 mm<br>N° art fourn : CB751580',`product_name`='MSC GUIDON 580mm PLAT Alu2014T6 MSC Mirage 25.4Ø  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-plat-alu2014t6-msc-mirage-25-4o-noir' WHERE `virtuemart_product_id` = '1862226'
2023-10-13	13:11:24	2734	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_392.jpg
2023-10-13	13:11:24	2734	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:24	2734	[DEBUG]	Process image file
2023-10-13	13:11:24	2734	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:24	2734	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:24	2734	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_392.jpg
2023-10-13	13:11:24	2734	[DEBUG]	Full name target: bcprisme/image_392.jpg
2023-10-13	13:11:25	2734	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:25	2734	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_392.jpg'
2023-10-13	13:11:25	2734	[DEBUG]	Query for Media
2023-10-13	13:11:25	2734	[DEBUG]	Executed store
2023-10-13	13:11:25	2734	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_392.jpg',`file_url_thumb`='bcprisme/image_392.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12926'
2023-10-13	13:11:25	2734	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:25	2734	[DEBUG]	Executed store
2023-10-13	13:11:25	2734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862226','12926','1')
2023-10-13	13:11:25	2734	[DEBUG]	Store product image relation
2023-10-13	13:11:25	2734	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:25	2734	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862226 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:25	2734	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:25	2734	[DEBUG]	Executed store
2023-10-13	13:11:25	2734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862226','0','32.3119777158774','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:25	2734	[DEBUG]	Checking manufacturer
2023-10-13	13:11:25	2734	[DEBUG]	Load a row
2023-10-13	13:11:25	2734	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:25	2734	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:25	2734	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:25	2734	[DEBUG]	Executed store
2023-10-13	13:11:25	2734	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:25	2734	[DEBUG]	Manufacturer exists
2023-10-13	13:11:25	2734	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:25	2734	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:25	2734	[DEBUG]	Executed store
2023-10-13	13:11:25	2734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862226','32')
2023-10-13	13:11:25	2734	[DEBUG]	Find the custom field ID
2023-10-13	13:11:25	2734	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:25	2734	[DEBUG]	No custom field ID found
2023-10-13	13:11:25	2734	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:25	2734	[DEBUG]	Get existing row with customfield value 34.8030555555556
2023-10-13	13:11:25	2734	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862226 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:25	2734	[DEBUG]	Store custom available field
2023-10-13	13:11:25	2734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862226,3,'34.8030555555556',1)
2023-10-13	13:11:25	2734	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:25	2734	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:25	2734	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862226 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:25	2734	[DEBUG]	Store custom available field
2023-10-13	13:11:25	2734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862226,6,'choisir la taille',3)
2023-10-13	13:11:25	2734	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:25	2734	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:25	2734	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:25	2734	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:25	2734	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862226 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:25	2734	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:25	2734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862226,8,1)
2023-10-13	13:11:25	2734	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:25	2734	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862226\":[1862226,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862226
2023-10-13	13:11:25	2734	[DEBUG]	Checking category
2023-10-13	13:11:25	2734	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:25	2734	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862226
2023-10-13	13:11:25	2734	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:25	2734	[DEBUG]	Executed store
2023-10-13	13:11:25	2734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862226','7357')
2023-10-13	13:11:25	2734	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:25	2734	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862226 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:25	2734	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:25	2734	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862226
2023-10-13	13:11:25	2735	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:25	2735	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:25	2735	[DEBUG]	Use field value for field taille
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:25	2735	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:25	2735	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:25	2735	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:25	2735	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:25	2735	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:25	2735	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:25	2735	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:25	2735	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:25	2735	[DEBUG]	Use field value for field published
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:25	2735	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field override
2023-10-13	13:11:25	2735	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:25	2735	[DEBUG]	Use field value for field slug
2023-10-13	13:11:25	2735	[DEBUG]	Process line 2735
2023-10-13	13:11:25	2735	[DEBUG]	Load a row
2023-10-13	13:11:25	2735	[DEBUG]	Processing item: 1000000004113
2023-10-13	13:11:25	2735	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:25	2735	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:25	2735	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_350_1'
2023-10-13	13:11:25	2735	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:25	2735	[DEBUG]	Processing product tax
2023-10-13	13:11:25	2735	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:25	2735	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:25	2735	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:25	2735	[DEBUG]	Query for Product
2023-10-13	13:11:25	2735	[DEBUG]	Executed store
2023-10-13	13:11:25	2735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862226','1000000004113','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:25	2735	[DEBUG]	No parent found
2023-10-13	13:11:25	2735	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862226 AND customfield_value = 'stockable'
2023-10-13	13:11:25	2735	[DEBUG]	Check product language entry
2023-10-13	13:11:25	2735	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862227
2023-10-13	13:11:25	2735	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:25	2735	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000004113' AND `virtuemart_product_id` != 1862227
2023-10-13	13:11:25	2735	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:25	2735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862227, '1000000004113')
2023-10-13	13:11:25	2735	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:25	2735	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-plat-alu2014t6-msc-mirage-25-4o-noir-unitaire' AND `virtuemart_product_id` != 1862227
2023-10-13	13:11:25	2735	[DEBUG]	Query for ProductLang
2023-10-13	13:11:25	2735	[DEBUG]	Executed store
2023-10-13	13:11:25	2735	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 580mm PLAT Alu2014T6 MSC Mirage 25.4Ø  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-plat-alu2014t6-msc-mirage-25-4o-noir-unitaire' WHERE `virtuemart_product_id` = '1862227'
2023-10-13	13:11:25	2735	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_392.jpg
2023-10-13	13:11:25	2735	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:25	2735	[DEBUG]	Process image file
2023-10-13	13:11:25	2735	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:25	2735	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:25	2735	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_392.jpg
2023-10-13	13:11:25	2735	[DEBUG]	Full name target: bcprisme/image_392.jpg
2023-10-13	13:11:26	2735	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:26	2735	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_392.jpg'
2023-10-13	13:11:26	2735	[DEBUG]	Query for Media
2023-10-13	13:11:26	2735	[DEBUG]	Executed store
2023-10-13	13:11:26	2735	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_392.jpg',`file_url_thumb`='bcprisme/image_392.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12926'
2023-10-13	13:11:26	2735	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:26	2735	[DEBUG]	Executed store
2023-10-13	13:11:26	2735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862227','12926','1')
2023-10-13	13:11:26	2735	[DEBUG]	Store product image relation
2023-10-13	13:11:26	2735	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:26	2735	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862227 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:26	2735	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:26	2735	[DEBUG]	Executed store
2023-10-13	13:11:26	2735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862227','0','32.3119777158774','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:26	2735	[DEBUG]	Checking manufacturer
2023-10-13	13:11:26	2735	[DEBUG]	Load a row
2023-10-13	13:11:26	2735	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:26	2735	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:26	2735	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:26	2735	[DEBUG]	Executed store
2023-10-13	13:11:26	2735	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:26	2735	[DEBUG]	Manufacturer exists
2023-10-13	13:11:26	2735	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:26	2735	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:26	2735	[DEBUG]	Executed store
2023-10-13	13:11:26	2735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862227','32')
2023-10-13	13:11:26	2735	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:26	2735	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:26	2735	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862227 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:26	2735	[DEBUG]	Store custom available field
2023-10-13	13:11:26	2735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862227,3,'',1)
2023-10-13	13:11:26	2735	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:26	2735	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:26	2735	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862227 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:26	2735	[DEBUG]	Store custom available field
2023-10-13	13:11:26	2735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862227,6,'Unitaire',3)
2023-10-13	13:11:26	2735	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:26	2735	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:26	2735	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862226
2023-10-13	13:11:26	2735	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:26	2735	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862226\":[1862226,8,1,\"choisir la taille\"],\"1862227\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862226
2023-10-13	13:11:26	2735	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:26	2735	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862227
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:26	2736	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field taille
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:26	2736	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:26	2736	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:26	2736	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:26	2736	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:26	2736	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:26	2736	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field published
2023-10-13	13:11:26	2736	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:26	2736	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field override
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:26	2736	[DEBUG]	Use field value for field slug
2023-10-13	13:11:26	2736	[DEBUG]	Process line 2736
2023-10-13	13:11:26	2736	[DEBUG]	Load a row
2023-10-13	13:11:26	2736	[DEBUG]	Processing item: A_598_2
2023-10-13	13:11:26	2736	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:26	2736	[DEBUG]	Processing product tax
2023-10-13	13:11:26	2736	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:26	2736	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:26	2736	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:26	2736	[DEBUG]	Query for Product
2023-10-13	13:11:26	2736	[DEBUG]	Executed store
2023-10-13	13:11:26	2736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_598_2','0.114','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:26	2736	[DEBUG]	Check product language entry
2023-10-13	13:11:26	2736	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862228
2023-10-13	13:11:26	2736	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:26	2736	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_598_2' AND `virtuemart_product_id` != 1862228
2023-10-13	13:11:26	2736	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:26	2736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862228, 'A_598_2')
2023-10-13	13:11:26	2736	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:26	2736	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-carbone-msc-renforce-31-8mm-carbone' AND `virtuemart_product_id` != 1862228
2023-10-13	13:11:26	2736	[DEBUG]	Query for ProductLang
2023-10-13	13:11:26	2736	[DEBUG]	Executed store
2023-10-13	13:11:26	2736	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Moule exclusif! Avec plus d?\'\'espace pour les leviers de freins, blocages et embouts de guidon.Partie extérieure renforcée.<br>N° art fourn : HDY01580',`product_name`='MSC GUIDON 580mm CARBONE MSC RENFORCE 31.8mm / Carbone',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-carbone-msc-renforce-31-8mm-carbone' WHERE `virtuemart_product_id` = '1862228'
2023-10-13	13:11:26	2736	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_721.jpg
2023-10-13	13:11:26	2736	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:26	2736	[DEBUG]	Process image file
2023-10-13	13:11:26	2736	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:26	2736	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:26	2736	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_721.jpg
2023-10-13	13:11:26	2736	[DEBUG]	Full name target: bcprisme/image_721.jpg
2023-10-13	13:11:27	2736	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:27	2736	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_721.jpg'
2023-10-13	13:11:27	2736	[DEBUG]	Query for Media
2023-10-13	13:11:27	2736	[DEBUG]	Executed store
2023-10-13	13:11:27	2736	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_721.jpg',`file_url_thumb`='bcprisme/image_721.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12927'
2023-10-13	13:11:27	2736	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:27	2736	[DEBUG]	Executed store
2023-10-13	13:11:27	2736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862228','12927','1')
2023-10-13	13:11:27	2736	[DEBUG]	Store product image relation
2023-10-13	13:11:27	2736	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:27	2736	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862228 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:27	2736	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:27	2736	[DEBUG]	Executed store
2023-10-13	13:11:27	2736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862228','0','129.526462395543','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:27	2736	[DEBUG]	Checking manufacturer
2023-10-13	13:11:27	2736	[DEBUG]	Load a row
2023-10-13	13:11:27	2736	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:27	2736	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:27	2736	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:27	2736	[DEBUG]	Executed store
2023-10-13	13:11:27	2736	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:27	2736	[DEBUG]	Manufacturer exists
2023-10-13	13:11:27	2736	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:27	2736	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:27	2736	[DEBUG]	Executed store
2023-10-13	13:11:27	2736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862228','32')
2023-10-13	13:11:27	2736	[DEBUG]	Find the custom field ID
2023-10-13	13:11:27	2736	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:27	2736	[DEBUG]	No custom field ID found
2023-10-13	13:11:27	2736	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:27	2736	[DEBUG]	Get existing row with customfield value 139.511388888889
2023-10-13	13:11:27	2736	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862228 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:27	2736	[DEBUG]	Store custom available field
2023-10-13	13:11:27	2736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862228,3,'139.511388888889',1)
2023-10-13	13:11:27	2736	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:27	2736	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:27	2736	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862228 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:27	2736	[DEBUG]	Store custom available field
2023-10-13	13:11:27	2736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862228,6,'choisir la taille',3)
2023-10-13	13:11:27	2736	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:27	2736	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:27	2736	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:27	2736	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:27	2736	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862228 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:27	2736	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:27	2736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862228,8,1)
2023-10-13	13:11:27	2736	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:27	2736	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862228\":[1862228,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862228
2023-10-13	13:11:27	2736	[DEBUG]	Checking category
2023-10-13	13:11:27	2736	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:27	2736	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862228
2023-10-13	13:11:27	2736	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:27	2736	[DEBUG]	Executed store
2023-10-13	13:11:27	2736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862228','7357')
2023-10-13	13:11:27	2736	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:27	2736	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862228 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:27	2736	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:27	2736	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862228
2023-10-13	13:11:27	2737	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:27	2737	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:27	2737	[DEBUG]	Use field value for field taille
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:27	2737	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:27	2737	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:27	2737	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:27	2737	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:27	2737	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:27	2737	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:27	2737	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:27	2737	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:27	2737	[DEBUG]	Use field value for field published
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:27	2737	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field override
2023-10-13	13:11:27	2737	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:27	2737	[DEBUG]	Use field value for field slug
2023-10-13	13:11:27	2737	[DEBUG]	Process line 2737
2023-10-13	13:11:27	2737	[DEBUG]	Load a row
2023-10-13	13:11:27	2737	[DEBUG]	Processing item: 8436047351898
2023-10-13	13:11:27	2737	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:27	2737	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:27	2737	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_598_2'
2023-10-13	13:11:27	2737	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:27	2737	[DEBUG]	Processing product tax
2023-10-13	13:11:27	2737	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:27	2737	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:27	2737	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:27	2737	[DEBUG]	Query for Product
2023-10-13	13:11:27	2737	[DEBUG]	Executed store
2023-10-13	13:11:27	2737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862228','8436047351898','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:27	2737	[DEBUG]	No parent found
2023-10-13	13:11:27	2737	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862228 AND customfield_value = 'stockable'
2023-10-13	13:11:27	2737	[DEBUG]	Check product language entry
2023-10-13	13:11:27	2737	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862229
2023-10-13	13:11:27	2737	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:27	2737	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047351898' AND `virtuemart_product_id` != 1862229
2023-10-13	13:11:27	2737	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:27	2737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862229, '8436047351898')
2023-10-13	13:11:27	2737	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:27	2737	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-carbone-msc-renforce-31-8mm-carbone-unitaire' AND `virtuemart_product_id` != 1862229
2023-10-13	13:11:27	2737	[DEBUG]	Query for ProductLang
2023-10-13	13:11:27	2737	[DEBUG]	Executed store
2023-10-13	13:11:27	2737	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 580mm CARBONE MSC RENFORCE 31.8mm / Carbone (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-carbone-msc-renforce-31-8mm-carbone-unitaire' WHERE `virtuemart_product_id` = '1862229'
2023-10-13	13:11:27	2737	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_721.jpg
2023-10-13	13:11:27	2737	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:27	2737	[DEBUG]	Process image file
2023-10-13	13:11:27	2737	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:27	2737	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:27	2737	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_721.jpg
2023-10-13	13:11:27	2737	[DEBUG]	Full name target: bcprisme/image_721.jpg
2023-10-13	13:11:28	2737	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:28	2737	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_721.jpg'
2023-10-13	13:11:28	2737	[DEBUG]	Query for Media
2023-10-13	13:11:28	2737	[DEBUG]	Executed store
2023-10-13	13:11:28	2737	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_721.jpg',`file_url_thumb`='bcprisme/image_721.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12927'
2023-10-13	13:11:28	2737	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:28	2737	[DEBUG]	Executed store
2023-10-13	13:11:28	2737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862229','12927','1')
2023-10-13	13:11:28	2737	[DEBUG]	Store product image relation
2023-10-13	13:11:28	2737	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:28	2737	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862229 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:28	2737	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:28	2737	[DEBUG]	Executed store
2023-10-13	13:11:28	2737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862229','0','129.526462395543','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:28	2737	[DEBUG]	Checking manufacturer
2023-10-13	13:11:28	2737	[DEBUG]	Load a row
2023-10-13	13:11:28	2737	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:28	2737	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:28	2737	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:28	2737	[DEBUG]	Executed store
2023-10-13	13:11:28	2737	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:28	2737	[DEBUG]	Manufacturer exists
2023-10-13	13:11:28	2737	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:28	2737	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:28	2737	[DEBUG]	Executed store
2023-10-13	13:11:28	2737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862229','32')
2023-10-13	13:11:28	2737	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:28	2737	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:28	2737	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862229 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:28	2737	[DEBUG]	Store custom available field
2023-10-13	13:11:28	2737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862229,3,'',1)
2023-10-13	13:11:28	2737	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:28	2737	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:28	2737	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862229 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:28	2737	[DEBUG]	Store custom available field
2023-10-13	13:11:28	2737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862229,6,'Unitaire',3)
2023-10-13	13:11:28	2737	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:28	2737	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:28	2737	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862228
2023-10-13	13:11:28	2737	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:28	2737	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862228\":[1862228,8,1,\"choisir la taille\"],\"1862229\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862228
2023-10-13	13:11:28	2737	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:28	2737	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862229
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:28	2738	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field taille
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:28	2738	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:28	2738	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:28	2738	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:28	2738	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:28	2738	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:28	2738	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field published
2023-10-13	13:11:28	2738	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:28	2738	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field override
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:28	2738	[DEBUG]	Use field value for field slug
2023-10-13	13:11:28	2738	[DEBUG]	Process line 2738
2023-10-13	13:11:28	2738	[DEBUG]	Load a row
2023-10-13	13:11:28	2738	[DEBUG]	Processing item: A_741_1
2023-10-13	13:11:28	2738	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:28	2738	[DEBUG]	Processing product tax
2023-10-13	13:11:28	2738	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:28	2738	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:28	2738	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:28	2738	[DEBUG]	Query for Product
2023-10-13	13:11:28	2738	[DEBUG]	Executed store
2023-10-13	13:11:28	2738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_741_1','0.151','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:28	2738	[DEBUG]	Check product language entry
2023-10-13	13:11:28	2738	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862230
2023-10-13	13:11:28	2738	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:28	2738	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_741_1' AND `virtuemart_product_id` != 1862230
2023-10-13	13:11:28	2738	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:28	2738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862230, 'A_741_1')
2023-10-13	13:11:28	2738	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:28	2738	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-560mm-plat-alu-7000-t6-msc-wcr-31-8o-noir' AND `virtuemart_product_id` != 1862230
2023-10-13	13:11:28	2738	[DEBUG]	Query for ProductLang
2023-10-13	13:11:28	2738	[DEBUG]	Executed store
2023-10-13	13:11:28	2738	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Diamètre 31.8 mm, 151 gr<br>N° art fourn : OB075560',`product_name`='MSC GUIDON 560mm PLAT Alu 7000 T6 MSC WCR 31.8Ø  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-560mm-plat-alu-7000-t6-msc-wcr-31-8o-noir' WHERE `virtuemart_product_id` = '1862230'
2023-10-13	13:11:28	2738	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1001.jpg
2023-10-13	13:11:28	2738	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:28	2738	[DEBUG]	Process image file
2023-10-13	13:11:28	2738	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:28	2738	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:28	2738	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1001.jpg
2023-10-13	13:11:28	2738	[DEBUG]	Full name target: bcprisme/image_1001.jpg
2023-10-13	13:11:29	2738	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:29	2738	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1001.jpg'
2023-10-13	13:11:29	2738	[DEBUG]	Query for Media
2023-10-13	13:11:29	2738	[DEBUG]	Executed store
2023-10-13	13:11:29	2738	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1001.jpg',`file_url_thumb`='bcprisme/image_1001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12928'
2023-10-13	13:11:29	2738	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:29	2738	[DEBUG]	Executed store
2023-10-13	13:11:29	2738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862230','12928','1')
2023-10-13	13:11:29	2738	[DEBUG]	Store product image relation
2023-10-13	13:11:29	2738	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:29	2738	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862230 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:29	2738	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:29	2738	[DEBUG]	Executed store
2023-10-13	13:11:29	2738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862230','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:29	2738	[DEBUG]	Checking manufacturer
2023-10-13	13:11:29	2738	[DEBUG]	Load a row
2023-10-13	13:11:29	2738	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:29	2738	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:29	2738	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:29	2738	[DEBUG]	Executed store
2023-10-13	13:11:29	2738	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:29	2738	[DEBUG]	Manufacturer exists
2023-10-13	13:11:29	2738	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:29	2738	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:29	2738	[DEBUG]	Executed store
2023-10-13	13:11:29	2738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862230','32')
2023-10-13	13:11:29	2738	[DEBUG]	Find the custom field ID
2023-10-13	13:11:29	2738	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:29	2738	[DEBUG]	No custom field ID found
2023-10-13	13:11:29	2738	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:29	2738	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	13:11:29	2738	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862230 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:29	2738	[DEBUG]	Store custom available field
2023-10-13	13:11:29	2738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862230,3,'49.7613888888889',1)
2023-10-13	13:11:29	2738	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:29	2738	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:29	2738	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862230 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:29	2738	[DEBUG]	Store custom available field
2023-10-13	13:11:29	2738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862230,6,'choisir la taille',3)
2023-10-13	13:11:29	2738	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:29	2738	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:29	2738	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:29	2738	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:29	2738	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862230 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:29	2738	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:29	2738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862230,8,1)
2023-10-13	13:11:29	2738	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:29	2738	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862230\":[1862230,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862230
2023-10-13	13:11:29	2738	[DEBUG]	Checking category
2023-10-13	13:11:29	2738	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:29	2738	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862230
2023-10-13	13:11:29	2738	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:29	2738	[DEBUG]	Executed store
2023-10-13	13:11:29	2738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862230','7357')
2023-10-13	13:11:29	2738	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:29	2738	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862230 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:29	2738	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:29	2738	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862230
2023-10-13	13:11:29	2739	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:29	2739	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:29	2739	[DEBUG]	Use field value for field taille
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:29	2739	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:29	2739	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:29	2739	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:29	2739	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:29	2739	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:29	2739	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:29	2739	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:29	2739	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:29	2739	[DEBUG]	Use field value for field published
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:29	2739	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field override
2023-10-13	13:11:29	2739	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:29	2739	[DEBUG]	Use field value for field slug
2023-10-13	13:11:29	2739	[DEBUG]	Process line 2739
2023-10-13	13:11:29	2739	[DEBUG]	Load a row
2023-10-13	13:11:29	2739	[DEBUG]	Processing item: 1000000010893
2023-10-13	13:11:29	2739	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:29	2739	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:29	2739	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_741_1'
2023-10-13	13:11:29	2739	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:29	2739	[DEBUG]	Processing product tax
2023-10-13	13:11:29	2739	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:29	2739	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:29	2739	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:29	2739	[DEBUG]	Query for Product
2023-10-13	13:11:29	2739	[DEBUG]	Executed store
2023-10-13	13:11:29	2739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862230','1000000010893','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:29	2739	[DEBUG]	No parent found
2023-10-13	13:11:29	2739	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862230 AND customfield_value = 'stockable'
2023-10-13	13:11:29	2739	[DEBUG]	Check product language entry
2023-10-13	13:11:29	2739	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862231
2023-10-13	13:11:29	2739	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:29	2739	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000010893' AND `virtuemart_product_id` != 1862231
2023-10-13	13:11:29	2739	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:29	2739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862231, '1000000010893')
2023-10-13	13:11:29	2739	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:29	2739	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-560mm-plat-alu-7000-t6-msc-wcr-31-8o-noir-unitaire' AND `virtuemart_product_id` != 1862231
2023-10-13	13:11:29	2739	[DEBUG]	Query for ProductLang
2023-10-13	13:11:29	2739	[DEBUG]	Executed store
2023-10-13	13:11:29	2739	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 560mm PLAT Alu 7000 T6 MSC WCR 31.8Ø  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-560mm-plat-alu-7000-t6-msc-wcr-31-8o-noir-unitaire' WHERE `virtuemart_product_id` = '1862231'
2023-10-13	13:11:29	2739	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1001.jpg
2023-10-13	13:11:29	2739	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:29	2739	[DEBUG]	Process image file
2023-10-13	13:11:29	2739	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:29	2739	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:29	2739	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1001.jpg
2023-10-13	13:11:29	2739	[DEBUG]	Full name target: bcprisme/image_1001.jpg
2023-10-13	13:11:30	2739	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:30	2739	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1001.jpg'
2023-10-13	13:11:30	2739	[DEBUG]	Query for Media
2023-10-13	13:11:30	2739	[DEBUG]	Executed store
2023-10-13	13:11:30	2739	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1001.jpg',`file_url_thumb`='bcprisme/image_1001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12928'
2023-10-13	13:11:30	2739	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:30	2739	[DEBUG]	Executed store
2023-10-13	13:11:30	2739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862231','12928','1')
2023-10-13	13:11:30	2739	[DEBUG]	Store product image relation
2023-10-13	13:11:30	2739	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:30	2739	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862231 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:30	2739	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:30	2739	[DEBUG]	Executed store
2023-10-13	13:11:30	2739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862231','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:30	2739	[DEBUG]	Checking manufacturer
2023-10-13	13:11:30	2739	[DEBUG]	Load a row
2023-10-13	13:11:30	2739	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:30	2739	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:30	2739	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:30	2739	[DEBUG]	Executed store
2023-10-13	13:11:30	2739	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:30	2739	[DEBUG]	Manufacturer exists
2023-10-13	13:11:30	2739	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:30	2739	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:30	2739	[DEBUG]	Executed store
2023-10-13	13:11:30	2739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862231','32')
2023-10-13	13:11:30	2739	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:30	2739	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:30	2739	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862231 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:30	2739	[DEBUG]	Store custom available field
2023-10-13	13:11:30	2739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862231,3,'',1)
2023-10-13	13:11:30	2739	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:30	2739	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:30	2739	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862231 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:30	2739	[DEBUG]	Store custom available field
2023-10-13	13:11:30	2739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862231,6,'Unitaire',3)
2023-10-13	13:11:30	2739	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:30	2739	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:30	2739	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862230
2023-10-13	13:11:30	2739	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:30	2739	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862230\":[1862230,8,1,\"choisir la taille\"],\"1862231\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862230
2023-10-13	13:11:30	2739	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:30	2739	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862231
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:30	2740	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field taille
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:30	2740	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:30	2740	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:30	2740	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:30	2740	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:30	2740	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:30	2740	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field published
2023-10-13	13:11:30	2740	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:30	2740	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field override
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:30	2740	[DEBUG]	Use field value for field slug
2023-10-13	13:11:30	2740	[DEBUG]	Process line 2740
2023-10-13	13:11:30	2740	[DEBUG]	Load a row
2023-10-13	13:11:30	2740	[DEBUG]	Processing item: A_742_1
2023-10-13	13:11:30	2740	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:30	2740	[DEBUG]	Processing product tax
2023-10-13	13:11:30	2740	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:30	2740	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:30	2740	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:30	2740	[DEBUG]	Query for Product
2023-10-13	13:11:30	2740	[DEBUG]	Executed store
2023-10-13	13:11:30	2740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_742_1','0.153','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:30	2740	[DEBUG]	Check product language entry
2023-10-13	13:11:30	2740	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862232
2023-10-13	13:11:30	2740	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:30	2740	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_742_1' AND `virtuemart_product_id` != 1862232
2023-10-13	13:11:30	2740	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:30	2740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862232, 'A_742_1')
2023-10-13	13:11:30	2740	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:30	2740	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-plat-alu-7000-t6-msc-wcr-31-8-o-noir' AND `virtuemart_product_id` != 1862232
2023-10-13	13:11:30	2740	[DEBUG]	Query for ProductLang
2023-10-13	13:11:30	2740	[DEBUG]	Executed store
2023-10-13	13:11:30	2740	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Largeur 580 mm<br>N° art fourn : OB075580',`product_name`='MSC GUIDON 580mm PLAT Alu 7000 T6 MSC WCR 31.8 Ø  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-plat-alu-7000-t6-msc-wcr-31-8-o-noir' WHERE `virtuemart_product_id` = '1862232'
2023-10-13	13:11:30	2740	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1002.jpg
2023-10-13	13:11:30	2740	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:30	2740	[DEBUG]	Process image file
2023-10-13	13:11:30	2740	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:30	2740	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:30	2740	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1002.jpg
2023-10-13	13:11:30	2740	[DEBUG]	Full name target: bcprisme/image_1002.jpg
2023-10-13	13:11:31	2740	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:31	2740	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1002.jpg'
2023-10-13	13:11:31	2740	[DEBUG]	Query for Media
2023-10-13	13:11:31	2740	[DEBUG]	Executed store
2023-10-13	13:11:31	2740	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1002.jpg',`file_url_thumb`='bcprisme/image_1002.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12929'
2023-10-13	13:11:31	2740	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:31	2740	[DEBUG]	Executed store
2023-10-13	13:11:31	2740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862232','12929','1')
2023-10-13	13:11:31	2740	[DEBUG]	Store product image relation
2023-10-13	13:11:31	2740	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:31	2740	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862232 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:31	2740	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:31	2740	[DEBUG]	Executed store
2023-10-13	13:11:31	2740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862232','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:31	2740	[DEBUG]	Checking manufacturer
2023-10-13	13:11:31	2740	[DEBUG]	Load a row
2023-10-13	13:11:31	2740	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:31	2740	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:31	2740	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:31	2740	[DEBUG]	Executed store
2023-10-13	13:11:31	2740	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:31	2740	[DEBUG]	Manufacturer exists
2023-10-13	13:11:31	2740	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:31	2740	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:31	2740	[DEBUG]	Executed store
2023-10-13	13:11:31	2740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862232','32')
2023-10-13	13:11:31	2740	[DEBUG]	Find the custom field ID
2023-10-13	13:11:31	2740	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:31	2740	[DEBUG]	No custom field ID found
2023-10-13	13:11:31	2740	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:31	2740	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	13:11:31	2740	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862232 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:31	2740	[DEBUG]	Store custom available field
2023-10-13	13:11:31	2740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862232,3,'49.7613888888889',1)
2023-10-13	13:11:31	2740	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:31	2740	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:31	2740	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862232 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:31	2740	[DEBUG]	Store custom available field
2023-10-13	13:11:31	2740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862232,6,'choisir la taille',3)
2023-10-13	13:11:31	2740	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:31	2740	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:31	2740	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:31	2740	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:31	2740	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862232 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:31	2740	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:31	2740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862232,8,1)
2023-10-13	13:11:31	2740	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:31	2740	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862232\":[1862232,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862232
2023-10-13	13:11:31	2740	[DEBUG]	Checking category
2023-10-13	13:11:31	2740	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:31	2740	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862232
2023-10-13	13:11:31	2740	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:31	2740	[DEBUG]	Executed store
2023-10-13	13:11:31	2740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862232','7357')
2023-10-13	13:11:31	2740	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:31	2740	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862232 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:31	2740	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:31	2740	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862232
2023-10-13	13:11:31	2741	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:31	2741	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:31	2741	[DEBUG]	Use field value for field taille
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:31	2741	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:31	2741	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:31	2741	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:31	2741	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:31	2741	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:31	2741	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:31	2741	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:31	2741	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:31	2741	[DEBUG]	Use field value for field published
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:31	2741	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field override
2023-10-13	13:11:31	2741	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:31	2741	[DEBUG]	Use field value for field slug
2023-10-13	13:11:31	2741	[DEBUG]	Process line 2741
2023-10-13	13:11:31	2741	[DEBUG]	Load a row
2023-10-13	13:11:31	2741	[DEBUG]	Processing item: 1000000010909
2023-10-13	13:11:31	2741	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:31	2741	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:31	2741	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_742_1'
2023-10-13	13:11:31	2741	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:31	2741	[DEBUG]	Processing product tax
2023-10-13	13:11:31	2741	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:31	2741	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:31	2741	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:31	2741	[DEBUG]	Query for Product
2023-10-13	13:11:31	2741	[DEBUG]	Executed store
2023-10-13	13:11:31	2741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862232','1000000010909','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:31	2741	[DEBUG]	No parent found
2023-10-13	13:11:31	2741	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862232 AND customfield_value = 'stockable'
2023-10-13	13:11:31	2741	[DEBUG]	Check product language entry
2023-10-13	13:11:31	2741	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862233
2023-10-13	13:11:31	2741	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:31	2741	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000010909' AND `virtuemart_product_id` != 1862233
2023-10-13	13:11:31	2741	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:31	2741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862233, '1000000010909')
2023-10-13	13:11:31	2741	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:31	2741	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-plat-alu-7000-t6-msc-wcr-31-8-o-noir-unitaire' AND `virtuemart_product_id` != 1862233
2023-10-13	13:11:31	2741	[DEBUG]	Query for ProductLang
2023-10-13	13:11:31	2741	[DEBUG]	Executed store
2023-10-13	13:11:31	2741	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 580mm PLAT Alu 7000 T6 MSC WCR 31.8 Ø  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-plat-alu-7000-t6-msc-wcr-31-8-o-noir-unitaire' WHERE `virtuemart_product_id` = '1862233'
2023-10-13	13:11:31	2741	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1002.jpg
2023-10-13	13:11:31	2741	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:31	2741	[DEBUG]	Process image file
2023-10-13	13:11:31	2741	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:11:31	2741	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:31	2741	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1002.jpg
2023-10-13	13:11:31	2741	[DEBUG]	Full name target: bcprisme/image_1002.jpg
2023-10-13	13:11:32	2741	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:32	2741	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1002.jpg'
2023-10-13	13:11:32	2741	[DEBUG]	Query for Media
2023-10-13	13:11:32	2741	[DEBUG]	Executed store
2023-10-13	13:11:32	2741	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1002.jpg',`file_url_thumb`='bcprisme/image_1002.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12929'
2023-10-13	13:11:32	2741	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:32	2741	[DEBUG]	Executed store
2023-10-13	13:11:32	2741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862233','12929','1')
2023-10-13	13:11:32	2741	[DEBUG]	Store product image relation
2023-10-13	13:11:32	2741	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:32	2741	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862233 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:32	2741	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:32	2741	[DEBUG]	Executed store
2023-10-13	13:11:32	2741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862233','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:32	2741	[DEBUG]	Checking manufacturer
2023-10-13	13:11:32	2741	[DEBUG]	Load a row
2023-10-13	13:11:32	2741	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:32	2741	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:32	2741	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:32	2741	[DEBUG]	Executed store
2023-10-13	13:11:32	2741	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:32	2741	[DEBUG]	Manufacturer exists
2023-10-13	13:11:32	2741	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:32	2741	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:32	2741	[DEBUG]	Executed store
2023-10-13	13:11:32	2741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862233','32')
2023-10-13	13:11:32	2741	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:32	2741	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:32	2741	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862233 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:32	2741	[DEBUG]	Store custom available field
2023-10-13	13:11:32	2741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862233,3,'',1)
2023-10-13	13:11:32	2741	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:32	2741	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:32	2741	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862233 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:32	2741	[DEBUG]	Store custom available field
2023-10-13	13:11:32	2741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862233,6,'Unitaire',3)
2023-10-13	13:11:32	2741	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:32	2741	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:32	2741	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862232
2023-10-13	13:11:32	2741	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:32	2741	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862232\":[1862232,8,1,\"choisir la taille\"],\"1862233\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862232
2023-10-13	13:11:32	2741	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:32	2741	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862233
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:32	2742	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field taille
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:32	2742	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:32	2742	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:32	2742	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:32	2742	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:32	2742	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:32	2742	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field published
2023-10-13	13:11:32	2742	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:32	2742	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field override
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:32	2742	[DEBUG]	Use field value for field slug
2023-10-13	13:11:32	2742	[DEBUG]	Process line 2742
2023-10-13	13:11:32	2742	[DEBUG]	Load a row
2023-10-13	13:11:32	2742	[DEBUG]	Processing item: A_1352_2
2023-10-13	13:11:32	2742	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:32	2742	[DEBUG]	Processing product tax
2023-10-13	13:11:32	2742	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:32	2742	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:32	2742	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:32	2742	[DEBUG]	Query for Product
2023-10-13	13:11:32	2742	[DEBUG]	Executed store
2023-10-13	13:11:32	2742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1352_2','0.097','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:32	2742	[DEBUG]	Check product language entry
2023-10-13	13:11:32	2742	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862234
2023-10-13	13:11:32	2742	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:32	2742	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1352_2' AND `virtuemart_product_id` != 1862234
2023-10-13	13:11:32	2742	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:32	2742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862234, 'A_1352_2')
2023-10-13	13:11:32	2742	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:32	2742	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-plat-carbone-msc-ultralight-31-8-mm-carbone' AND `virtuemart_product_id` != 1862234
2023-10-13	13:11:32	2742	[DEBUG]	Query for ProductLang
2023-10-13	13:11:32	2742	[DEBUG]	Executed store
2023-10-13	13:11:32	2742	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon MSC Carbone renforcé  Ultralight UD 580 mm. Seulement 97 gr avec serrage de la potence de maximum 5 Nm ! Plus d\'espace pour les shifters, leviers de freins et bar ends.  Couleur : noir<br>N° art fourn : UD01580',`product_name`='MSC GUIDON 580mm PLAT CARBONE MSC ULTRALIGHT 31.8 mm  / Carbone',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-plat-carbone-msc-ultralight-31-8-mm-carbone' WHERE `virtuemart_product_id` = '1862234'
2023-10-13	13:11:32	2742	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3000.jpg
2023-10-13	13:11:32	2742	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:11:32	2742	[DEBUG]	Process image file
2023-10-13	13:11:32	2742	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:11:32	2742	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:32	2742	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3000.jpg
2023-10-13	13:11:32	2742	[DEBUG]	Full name target: bcprisme/image_3000.jpg
2023-10-13	13:11:33	2742	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:33	2742	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3000.jpg'
2023-10-13	13:11:33	2742	[DEBUG]	Query for Media
2023-10-13	13:11:33	2742	[DEBUG]	Executed store
2023-10-13	13:11:33	2742	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3000.jpg',`file_url_thumb`='bcprisme/image_3000.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12930'
2023-10-13	13:11:33	2742	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:33	2742	[DEBUG]	Executed store
2023-10-13	13:11:33	2742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862234','12930','1')
2023-10-13	13:11:33	2742	[DEBUG]	Store product image relation
2023-10-13	13:11:33	2742	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:33	2742	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862234 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:33	2742	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:33	2742	[DEBUG]	Executed store
2023-10-13	13:11:33	2742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862234','0','185.60817084494','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:33	2742	[DEBUG]	Checking manufacturer
2023-10-13	13:11:33	2742	[DEBUG]	Load a row
2023-10-13	13:11:33	2742	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:33	2742	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:33	2742	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:33	2742	[DEBUG]	Executed store
2023-10-13	13:11:33	2742	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:33	2742	[DEBUG]	Manufacturer exists
2023-10-13	13:11:33	2742	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:33	2742	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:33	2742	[DEBUG]	Executed store
2023-10-13	13:11:33	2742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862234','32')
2023-10-13	13:11:33	2742	[DEBUG]	Find the custom field ID
2023-10-13	13:11:33	2742	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:33	2742	[DEBUG]	No custom field ID found
2023-10-13	13:11:33	2742	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:33	2742	[DEBUG]	Get existing row with customfield value 199.344722222222
2023-10-13	13:11:33	2742	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862234 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:33	2742	[DEBUG]	Store custom available field
2023-10-13	13:11:33	2742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862234,3,'199.344722222222',1)
2023-10-13	13:11:33	2742	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:33	2742	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:33	2742	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862234 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:33	2742	[DEBUG]	Store custom available field
2023-10-13	13:11:33	2742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862234,6,'choisir la taille',3)
2023-10-13	13:11:33	2742	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:33	2742	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:33	2742	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:33	2742	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:33	2742	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862234 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:33	2742	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:33	2742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862234,8,1)
2023-10-13	13:11:33	2742	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:33	2742	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862234\":[1862234,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862234
2023-10-13	13:11:33	2742	[DEBUG]	Checking category
2023-10-13	13:11:33	2742	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:33	2742	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862234
2023-10-13	13:11:33	2742	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:33	2742	[DEBUG]	Executed store
2023-10-13	13:11:33	2742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862234','7357')
2023-10-13	13:11:33	2742	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:33	2742	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862234 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:33	2742	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:33	2742	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862234
2023-10-13	13:11:33	2743	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:33	2743	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:33	2743	[DEBUG]	Use field value for field taille
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:33	2743	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:33	2743	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:33	2743	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:33	2743	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:33	2743	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:33	2743	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:33	2743	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:33	2743	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:33	2743	[DEBUG]	Use field value for field published
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:33	2743	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field override
2023-10-13	13:11:33	2743	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:33	2743	[DEBUG]	Use field value for field slug
2023-10-13	13:11:33	2743	[DEBUG]	Process line 2743
2023-10-13	13:11:33	2743	[DEBUG]	Load a row
2023-10-13	13:11:33	2743	[DEBUG]	Processing item: 8436047352635
2023-10-13	13:11:33	2743	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:33	2743	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:33	2743	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1352_2'
2023-10-13	13:11:33	2743	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:33	2743	[DEBUG]	Processing product tax
2023-10-13	13:11:33	2743	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:33	2743	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:33	2743	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:33	2743	[DEBUG]	Query for Product
2023-10-13	13:11:33	2743	[DEBUG]	Executed store
2023-10-13	13:11:33	2743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862234','8436047352635','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:33	2743	[DEBUG]	No parent found
2023-10-13	13:11:33	2743	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862234 AND customfield_value = 'stockable'
2023-10-13	13:11:33	2743	[DEBUG]	Check product language entry
2023-10-13	13:11:33	2743	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862235
2023-10-13	13:11:33	2743	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:33	2743	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047352635' AND `virtuemart_product_id` != 1862235
2023-10-13	13:11:33	2743	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:33	2743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862235, '8436047352635')
2023-10-13	13:11:33	2743	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:33	2743	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-plat-carbone-msc-ultralight-31-8-mm-carbone-unitaire' AND `virtuemart_product_id` != 1862235
2023-10-13	13:11:33	2743	[DEBUG]	Query for ProductLang
2023-10-13	13:11:33	2743	[DEBUG]	Executed store
2023-10-13	13:11:33	2743	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 580mm PLAT CARBONE MSC ULTRALIGHT 31.8 mm  / Carbone (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-plat-carbone-msc-ultralight-31-8-mm-carbone-unitaire' WHERE `virtuemart_product_id` = '1862235'
2023-10-13	13:11:33	2743	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3000.jpg
2023-10-13	13:11:33	2743	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:11:33	2743	[DEBUG]	Process image file
2023-10-13	13:11:33	2743	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:11:33	2743	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:33	2743	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3000.jpg
2023-10-13	13:11:33	2743	[DEBUG]	Full name target: bcprisme/image_3000.jpg
2023-10-13	13:11:34	2743	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:34	2743	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3000.jpg'
2023-10-13	13:11:34	2743	[DEBUG]	Query for Media
2023-10-13	13:11:34	2743	[DEBUG]	Executed store
2023-10-13	13:11:34	2743	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3000.jpg',`file_url_thumb`='bcprisme/image_3000.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12930'
2023-10-13	13:11:34	2743	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:34	2743	[DEBUG]	Executed store
2023-10-13	13:11:34	2743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862235','12930','1')
2023-10-13	13:11:34	2743	[DEBUG]	Store product image relation
2023-10-13	13:11:34	2743	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:34	2743	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862235 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:34	2743	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:34	2743	[DEBUG]	Executed store
2023-10-13	13:11:34	2743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862235','0','185.60817084494','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:34	2743	[DEBUG]	Checking manufacturer
2023-10-13	13:11:34	2743	[DEBUG]	Load a row
2023-10-13	13:11:34	2743	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:34	2743	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:34	2743	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:34	2743	[DEBUG]	Executed store
2023-10-13	13:11:34	2743	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:34	2743	[DEBUG]	Manufacturer exists
2023-10-13	13:11:34	2743	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:34	2743	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:34	2743	[DEBUG]	Executed store
2023-10-13	13:11:34	2743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862235','32')
2023-10-13	13:11:34	2743	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:34	2743	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:34	2743	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862235 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:34	2743	[DEBUG]	Store custom available field
2023-10-13	13:11:34	2743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862235,3,'',1)
2023-10-13	13:11:34	2743	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:34	2743	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:34	2743	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862235 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:34	2743	[DEBUG]	Store custom available field
2023-10-13	13:11:34	2743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862235,6,'Unitaire',3)
2023-10-13	13:11:34	2743	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:34	2743	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:34	2743	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862234
2023-10-13	13:11:34	2743	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:34	2743	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862234\":[1862234,8,1,\"choisir la taille\"],\"1862235\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862234
2023-10-13	13:11:34	2743	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:34	2743	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862235
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:34	2744	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field taille
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:34	2744	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:34	2744	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:34	2744	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:34	2744	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:34	2744	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:34	2744	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field published
2023-10-13	13:11:34	2744	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:34	2744	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field override
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:34	2744	[DEBUG]	Use field value for field slug
2023-10-13	13:11:34	2744	[DEBUG]	Process line 2744
2023-10-13	13:11:34	2744	[DEBUG]	Load a row
2023-10-13	13:11:34	2744	[DEBUG]	Processing item: A_1353_2
2023-10-13	13:11:34	2744	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:34	2744	[DEBUG]	Processing product tax
2023-10-13	13:11:34	2744	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:34	2744	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:34	2744	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:34	2744	[DEBUG]	Query for Product
2023-10-13	13:11:34	2744	[DEBUG]	Executed store
2023-10-13	13:11:34	2744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1353_2','0.171','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:34	2744	[DEBUG]	Check product language entry
2023-10-13	13:11:34	2744	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862236
2023-10-13	13:11:34	2744	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:34	2744	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1353_2' AND `virtuemart_product_id` != 1862236
2023-10-13	13:11:34	2744	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:34	2744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862236, 'A_1353_2')
2023-10-13	13:11:34	2744	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:34	2744	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-620mm-double-hauteur-carbone-msc-31-8-mm-carbone' AND `virtuemart_product_id` != 1862236
2023-10-13	13:11:34	2744	[DEBUG]	Query for ProductLang
2023-10-13	13:11:34	2744	[DEBUG]	Executed store
2023-10-13	13:11:34	2744	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon MSC Carbone 31.8 mm, 620 mm, rise 1.5 , 171 gr. <br>N° art fourn : CRB150620\"',`product_name`='MSC GUIDON 620mm DOUBLE HAUTEUR CARBONE MSC 31.8 mm  / Carbone',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-620mm-double-hauteur-carbone-msc-31-8-mm-carbone' WHERE `virtuemart_product_id` = '1862236'
2023-10-13	13:11:34	2744	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3002.jpg
2023-10-13	13:11:34	2744	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:11:34	2744	[DEBUG]	Process image file
2023-10-13	13:11:34	2744	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:11:34	2744	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:34	2744	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3002.jpg
2023-10-13	13:11:34	2744	[DEBUG]	Full name target: bcprisme/image_3002.jpg
2023-10-13	13:11:35	2744	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:35	2744	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3002.jpg'
2023-10-13	13:11:35	2744	[DEBUG]	Query for Media
2023-10-13	13:11:35	2744	[DEBUG]	Executed store
2023-10-13	13:11:35	2744	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3002.jpg',`file_url_thumb`='bcprisme/image_3002.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12931'
2023-10-13	13:11:35	2744	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:35	2744	[DEBUG]	Executed store
2023-10-13	13:11:35	2744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862236','12931','1')
2023-10-13	13:11:35	2744	[DEBUG]	Store product image relation
2023-10-13	13:11:35	2744	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:35	2744	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862236 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:35	2744	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:35	2744	[DEBUG]	Executed store
2023-10-13	13:11:35	2744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862236','0','176.323119777159','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:35	2744	[DEBUG]	Checking manufacturer
2023-10-13	13:11:35	2744	[DEBUG]	Load a row
2023-10-13	13:11:35	2744	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:35	2744	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:35	2744	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:35	2744	[DEBUG]	Executed store
2023-10-13	13:11:35	2744	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:35	2744	[DEBUG]	Manufacturer exists
2023-10-13	13:11:35	2744	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:35	2744	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:35	2744	[DEBUG]	Executed store
2023-10-13	13:11:35	2744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862236','32')
2023-10-13	13:11:35	2744	[DEBUG]	Find the custom field ID
2023-10-13	13:11:35	2744	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:35	2744	[DEBUG]	No custom field ID found
2023-10-13	13:11:35	2744	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:35	2744	[DEBUG]	Get existing row with customfield value 189.3725
2023-10-13	13:11:35	2744	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862236 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:35	2744	[DEBUG]	Store custom available field
2023-10-13	13:11:35	2744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862236,3,'189.3725',1)
2023-10-13	13:11:35	2744	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:35	2744	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:35	2744	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862236 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:35	2744	[DEBUG]	Store custom available field
2023-10-13	13:11:35	2744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862236,6,'choisir la taille',3)
2023-10-13	13:11:35	2744	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:35	2744	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:35	2744	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:35	2744	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:35	2744	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862236 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:35	2744	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:35	2744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862236,8,1)
2023-10-13	13:11:36	2744	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:36	2744	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862236\":[1862236,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862236
2023-10-13	13:11:36	2744	[DEBUG]	Checking category
2023-10-13	13:11:36	2744	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:36	2744	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862236
2023-10-13	13:11:36	2744	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:36	2744	[DEBUG]	Executed store
2023-10-13	13:11:36	2744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862236','7357')
2023-10-13	13:11:36	2744	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:36	2744	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862236 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:36	2744	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:36	2744	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862236
2023-10-13	13:11:36	2745	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:36	2745	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:36	2745	[DEBUG]	Use field value for field taille
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:36	2745	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:36	2745	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:36	2745	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:36	2745	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:36	2745	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:36	2745	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:36	2745	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:36	2745	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:36	2745	[DEBUG]	Use field value for field published
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:36	2745	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field override
2023-10-13	13:11:36	2745	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:36	2745	[DEBUG]	Use field value for field slug
2023-10-13	13:11:36	2745	[DEBUG]	Process line 2745
2023-10-13	13:11:36	2745	[DEBUG]	Load a row
2023-10-13	13:11:36	2745	[DEBUG]	Processing item: 1000000023497
2023-10-13	13:11:36	2745	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:36	2745	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:36	2745	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1353_2'
2023-10-13	13:11:36	2745	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:36	2745	[DEBUG]	Processing product tax
2023-10-13	13:11:36	2745	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:36	2745	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:36	2745	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:36	2745	[DEBUG]	Query for Product
2023-10-13	13:11:36	2745	[DEBUG]	Executed store
2023-10-13	13:11:36	2745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862236','1000000023497','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:36	2745	[DEBUG]	No parent found
2023-10-13	13:11:36	2745	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862236 AND customfield_value = 'stockable'
2023-10-13	13:11:36	2745	[DEBUG]	Check product language entry
2023-10-13	13:11:36	2745	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862237
2023-10-13	13:11:36	2745	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:36	2745	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000023497' AND `virtuemart_product_id` != 1862237
2023-10-13	13:11:36	2745	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:36	2745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862237, '1000000023497')
2023-10-13	13:11:36	2745	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:36	2745	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-620mm-double-hauteur-carbone-msc-31-8-mm-carbone-unitaire' AND `virtuemart_product_id` != 1862237
2023-10-13	13:11:36	2745	[DEBUG]	Query for ProductLang
2023-10-13	13:11:36	2745	[DEBUG]	Executed store
2023-10-13	13:11:36	2745	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 620mm DOUBLE HAUTEUR CARBONE MSC 31.8 mm  / Carbone (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-620mm-double-hauteur-carbone-msc-31-8-mm-carbone-unitaire' WHERE `virtuemart_product_id` = '1862237'
2023-10-13	13:11:36	2745	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3002.jpg
2023-10-13	13:11:36	2745	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:11:36	2745	[DEBUG]	Process image file
2023-10-13	13:11:36	2745	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:11:36	2745	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:36	2745	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3002.jpg
2023-10-13	13:11:36	2745	[DEBUG]	Full name target: bcprisme/image_3002.jpg
2023-10-13	13:11:37	2745	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:37	2745	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3002.jpg'
2023-10-13	13:11:37	2745	[DEBUG]	Query for Media
2023-10-13	13:11:37	2745	[DEBUG]	Executed store
2023-10-13	13:11:37	2745	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3002.jpg',`file_url_thumb`='bcprisme/image_3002.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12931'
2023-10-13	13:11:37	2745	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:37	2745	[DEBUG]	Executed store
2023-10-13	13:11:37	2745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862237','12931','1')
2023-10-13	13:11:37	2745	[DEBUG]	Store product image relation
2023-10-13	13:11:37	2745	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:37	2745	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862237 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:37	2745	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:37	2745	[DEBUG]	Executed store
2023-10-13	13:11:37	2745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862237','0','176.323119777159','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:37	2745	[DEBUG]	Checking manufacturer
2023-10-13	13:11:37	2745	[DEBUG]	Load a row
2023-10-13	13:11:37	2745	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:37	2745	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:37	2745	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:37	2745	[DEBUG]	Executed store
2023-10-13	13:11:37	2745	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:37	2745	[DEBUG]	Manufacturer exists
2023-10-13	13:11:37	2745	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:37	2745	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:37	2745	[DEBUG]	Executed store
2023-10-13	13:11:37	2745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862237','32')
2023-10-13	13:11:37	2745	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:37	2745	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:37	2745	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862237 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:37	2745	[DEBUG]	Store custom available field
2023-10-13	13:11:37	2745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862237,3,'',1)
2023-10-13	13:11:37	2745	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:37	2745	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:37	2745	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862237 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:37	2745	[DEBUG]	Store custom available field
2023-10-13	13:11:37	2745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862237,6,'Unitaire',3)
2023-10-13	13:11:37	2745	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:37	2745	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:37	2745	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862236
2023-10-13	13:11:37	2745	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:37	2745	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862236\":[1862236,8,1,\"choisir la taille\"],\"1862237\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862236
2023-10-13	13:11:37	2745	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:37	2745	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862237
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:37	2746	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field taille
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:37	2746	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:37	2746	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:37	2746	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:37	2746	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:37	2746	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:37	2746	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field published
2023-10-13	13:11:37	2746	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:37	2746	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field override
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:37	2746	[DEBUG]	Use field value for field slug
2023-10-13	13:11:37	2746	[DEBUG]	Process line 2746
2023-10-13	13:11:37	2746	[DEBUG]	Load a row
2023-10-13	13:11:37	2746	[DEBUG]	Processing item: A_1357_1
2023-10-13	13:11:37	2746	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:37	2746	[DEBUG]	Processing product tax
2023-10-13	13:11:37	2746	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:37	2746	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:37	2746	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:37	2746	[DEBUG]	Query for Product
2023-10-13	13:11:37	2746	[DEBUG]	Executed store
2023-10-13	13:11:37	2746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1357_1','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:37	2746	[DEBUG]	Check product language entry
2023-10-13	13:11:37	2746	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862238
2023-10-13	13:11:37	2746	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:37	2746	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1357_1' AND `virtuemart_product_id` != 1862238
2023-10-13	13:11:37	2746	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:37	2746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862238, 'A_1357_1')
2023-10-13	13:11:37	2746	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:37	2746	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-noir' AND `virtuemart_product_id` != 1862238
2023-10-13	13:11:37	2746	[DEBUG]	Query for ProductLang
2023-10-13	13:11:37	2746	[DEBUG]	Executed store
2023-10-13	13:11:37	2746	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='260gr<br>N° art fourn : ALUBAR',`product_name`='MSC GUIDON 660mm PLAT LIGHT Alu 7050 T6 31.8 mm  pour 29ER / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-noir' WHERE `virtuemart_product_id` = '1862238'
2023-10-13	13:11:37	2746	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3011.jpg
2023-10-13	13:11:37	2746	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:37	2746	[DEBUG]	Process image file
2023-10-13	13:11:37	2746	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:37	2746	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:37	2746	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3011.jpg
2023-10-13	13:11:37	2746	[DEBUG]	Full name target: bcprisme/image_3011.jpg
2023-10-13	13:11:38	2746	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:38	2746	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3011.jpg'
2023-10-13	13:11:38	2746	[DEBUG]	Query for Media
2023-10-13	13:11:38	2746	[DEBUG]	Executed store
2023-10-13	13:11:38	2746	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3011.jpg',`file_url_thumb`='bcprisme/image_3011.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12932'
2023-10-13	13:11:38	2746	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:38	2746	[DEBUG]	Executed store
2023-10-13	13:11:38	2746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862238','12932','1')
2023-10-13	13:11:38	2746	[DEBUG]	Store product image relation
2023-10-13	13:11:38	2746	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:38	2746	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862238 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:38	2746	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:38	2746	[DEBUG]	Executed store
2023-10-13	13:11:38	2746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862238','0','74.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:38	2746	[DEBUG]	Checking manufacturer
2023-10-13	13:11:38	2746	[DEBUG]	Load a row
2023-10-13	13:11:38	2746	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:38	2746	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:38	2746	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:38	2746	[DEBUG]	Executed store
2023-10-13	13:11:38	2746	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:38	2746	[DEBUG]	Manufacturer exists
2023-10-13	13:11:38	2746	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:38	2746	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:38	2746	[DEBUG]	Executed store
2023-10-13	13:11:38	2746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862238','32')
2023-10-13	13:11:38	2746	[DEBUG]	Find the custom field ID
2023-10-13	13:11:38	2746	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:38	2746	[DEBUG]	No custom field ID found
2023-10-13	13:11:38	2746	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:38	2746	[DEBUG]	Get existing row with customfield value 79.6780555555556
2023-10-13	13:11:38	2746	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862238 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:38	2746	[DEBUG]	Store custom available field
2023-10-13	13:11:38	2746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862238,3,'79.6780555555556',1)
2023-10-13	13:11:38	2746	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:38	2746	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:38	2746	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862238 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:38	2746	[DEBUG]	Store custom available field
2023-10-13	13:11:38	2746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862238,6,'choisir la taille',3)
2023-10-13	13:11:38	2746	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:38	2746	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:38	2746	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:38	2746	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:38	2746	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862238 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:38	2746	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:38	2746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862238,8,1)
2023-10-13	13:11:38	2746	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:38	2746	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862238\":[1862238,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862238
2023-10-13	13:11:38	2746	[DEBUG]	Checking category
2023-10-13	13:11:38	2746	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:38	2746	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862238
2023-10-13	13:11:38	2746	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:38	2746	[DEBUG]	Executed store
2023-10-13	13:11:38	2746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862238','7357')
2023-10-13	13:11:38	2746	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:38	2746	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862238 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:38	2746	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:38	2746	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862238
2023-10-13	13:11:38	2747	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:38	2747	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:38	2747	[DEBUG]	Use field value for field taille
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:38	2747	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:38	2747	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:38	2747	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:38	2747	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:38	2747	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:38	2747	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:38	2747	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:38	2747	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:38	2747	[DEBUG]	Use field value for field published
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:38	2747	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field override
2023-10-13	13:11:38	2747	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:38	2747	[DEBUG]	Use field value for field slug
2023-10-13	13:11:38	2747	[DEBUG]	Process line 2747
2023-10-13	13:11:38	2747	[DEBUG]	Load a row
2023-10-13	13:11:38	2747	[DEBUG]	Processing item: 1000000023534
2023-10-13	13:11:38	2747	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:38	2747	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:38	2747	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1357_1'
2023-10-13	13:11:38	2747	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:38	2747	[DEBUG]	Processing product tax
2023-10-13	13:11:38	2747	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:38	2747	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:38	2747	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:38	2747	[DEBUG]	Query for Product
2023-10-13	13:11:38	2747	[DEBUG]	Executed store
2023-10-13	13:11:38	2747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862238','1000000023534','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:38	2747	[DEBUG]	No parent found
2023-10-13	13:11:38	2747	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862238 AND customfield_value = 'stockable'
2023-10-13	13:11:38	2747	[DEBUG]	Check product language entry
2023-10-13	13:11:38	2747	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862239
2023-10-13	13:11:38	2747	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:38	2747	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000023534' AND `virtuemart_product_id` != 1862239
2023-10-13	13:11:38	2747	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:38	2747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862239, '1000000023534')
2023-10-13	13:11:38	2747	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:38	2747	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-noir-unitaire' AND `virtuemart_product_id` != 1862239
2023-10-13	13:11:38	2747	[DEBUG]	Query for ProductLang
2023-10-13	13:11:38	2747	[DEBUG]	Executed store
2023-10-13	13:11:38	2747	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 660mm PLAT LIGHT Alu 7050 T6 31.8 mm  pour 29ER / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-noir-unitaire' WHERE `virtuemart_product_id` = '1862239'
2023-10-13	13:11:38	2747	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3011.jpg
2023-10-13	13:11:38	2747	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:38	2747	[DEBUG]	Process image file
2023-10-13	13:11:38	2747	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:38	2747	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:38	2747	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3011.jpg
2023-10-13	13:11:38	2747	[DEBUG]	Full name target: bcprisme/image_3011.jpg
2023-10-13	13:11:39	2747	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:39	2747	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3011.jpg'
2023-10-13	13:11:39	2747	[DEBUG]	Query for Media
2023-10-13	13:11:39	2747	[DEBUG]	Executed store
2023-10-13	13:11:39	2747	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3011.jpg',`file_url_thumb`='bcprisme/image_3011.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12932'
2023-10-13	13:11:39	2747	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:39	2747	[DEBUG]	Executed store
2023-10-13	13:11:39	2747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862239','12932','1')
2023-10-13	13:11:39	2747	[DEBUG]	Store product image relation
2023-10-13	13:11:39	2747	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:39	2747	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862239 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:39	2747	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:39	2747	[DEBUG]	Executed store
2023-10-13	13:11:39	2747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862239','0','74.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:39	2747	[DEBUG]	Checking manufacturer
2023-10-13	13:11:39	2747	[DEBUG]	Load a row
2023-10-13	13:11:39	2747	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:39	2747	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:39	2747	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:39	2747	[DEBUG]	Executed store
2023-10-13	13:11:39	2747	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:39	2747	[DEBUG]	Manufacturer exists
2023-10-13	13:11:39	2747	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:39	2747	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:39	2747	[DEBUG]	Executed store
2023-10-13	13:11:39	2747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862239','32')
2023-10-13	13:11:39	2747	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:39	2747	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:39	2747	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862239 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:39	2747	[DEBUG]	Store custom available field
2023-10-13	13:11:39	2747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862239,3,'',1)
2023-10-13	13:11:39	2747	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:39	2747	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:39	2747	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862239 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:39	2747	[DEBUG]	Store custom available field
2023-10-13	13:11:39	2747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862239,6,'Unitaire',3)
2023-10-13	13:11:39	2747	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:39	2747	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:39	2747	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862238
2023-10-13	13:11:39	2747	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:39	2747	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862238\":[1862238,8,1,\"choisir la taille\"],\"1862239\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862238
2023-10-13	13:11:39	2747	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:39	2747	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862239
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:39	2748	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field taille
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:39	2748	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:39	2748	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:39	2748	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:39	2748	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:39	2748	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:39	2748	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field published
2023-10-13	13:11:39	2748	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:39	2748	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field override
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:39	2748	[DEBUG]	Use field value for field slug
2023-10-13	13:11:39	2748	[DEBUG]	Process line 2748
2023-10-13	13:11:39	2748	[DEBUG]	Load a row
2023-10-13	13:11:39	2748	[DEBUG]	Processing item: A_1357_5
2023-10-13	13:11:39	2748	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:39	2748	[DEBUG]	Processing product tax
2023-10-13	13:11:39	2748	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:39	2748	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:39	2748	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:39	2748	[DEBUG]	Query for Product
2023-10-13	13:11:39	2748	[DEBUG]	Executed store
2023-10-13	13:11:39	2748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1357_5','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:39	2748	[DEBUG]	Check product language entry
2023-10-13	13:11:39	2748	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862240
2023-10-13	13:11:39	2748	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:39	2748	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1357_5' AND `virtuemart_product_id` != 1862240
2023-10-13	13:11:39	2748	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:39	2748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862240, 'A_1357_5')
2023-10-13	13:11:39	2748	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:39	2748	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-or' AND `virtuemart_product_id` != 1862240
2023-10-13	13:11:39	2748	[DEBUG]	Query for ProductLang
2023-10-13	13:11:39	2748	[DEBUG]	Executed store
2023-10-13	13:11:39	2748	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='260gr<br>N° art fourn : ALUBAR',`product_name`='MSC GUIDON 660mm PLAT LIGHT Alu 7050 T6 31.8 mm  pour 29ER / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-or' WHERE `virtuemart_product_id` = '1862240'
2023-10-13	13:11:39	2748	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3012.jpg
2023-10-13	13:11:39	2748	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:39	2748	[DEBUG]	Process image file
2023-10-13	13:11:39	2748	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:39	2748	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:39	2748	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3012.jpg
2023-10-13	13:11:39	2748	[DEBUG]	Full name target: bcprisme/image_3012.jpg
2023-10-13	13:11:40	2748	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:40	2748	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3012.jpg'
2023-10-13	13:11:40	2748	[DEBUG]	Query for Media
2023-10-13	13:11:40	2748	[DEBUG]	Executed store
2023-10-13	13:11:40	2748	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3012.jpg',`file_url_thumb`='bcprisme/image_3012.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12933'
2023-10-13	13:11:40	2748	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:40	2748	[DEBUG]	Executed store
2023-10-13	13:11:40	2748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862240','12933','1')
2023-10-13	13:11:40	2748	[DEBUG]	Store product image relation
2023-10-13	13:11:40	2748	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:40	2748	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862240 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:40	2748	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:40	2748	[DEBUG]	Executed store
2023-10-13	13:11:40	2748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862240','0','74.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:40	2748	[DEBUG]	Checking manufacturer
2023-10-13	13:11:40	2748	[DEBUG]	Load a row
2023-10-13	13:11:40	2748	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:40	2748	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:40	2748	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:40	2748	[DEBUG]	Executed store
2023-10-13	13:11:40	2748	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:40	2748	[DEBUG]	Manufacturer exists
2023-10-13	13:11:40	2748	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:40	2748	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:40	2748	[DEBUG]	Executed store
2023-10-13	13:11:40	2748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862240','32')
2023-10-13	13:11:40	2748	[DEBUG]	Find the custom field ID
2023-10-13	13:11:40	2748	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:40	2748	[DEBUG]	No custom field ID found
2023-10-13	13:11:40	2748	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:40	2748	[DEBUG]	Get existing row with customfield value 79.6780555555556
2023-10-13	13:11:40	2748	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862240 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:40	2748	[DEBUG]	Store custom available field
2023-10-13	13:11:40	2748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862240,3,'79.6780555555556',1)
2023-10-13	13:11:40	2748	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:40	2748	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:40	2748	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862240 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:40	2748	[DEBUG]	Store custom available field
2023-10-13	13:11:40	2748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862240,6,'choisir la taille',3)
2023-10-13	13:11:40	2748	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:40	2748	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:40	2748	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:40	2748	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:40	2748	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862240 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:40	2748	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:40	2748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862240,8,1)
2023-10-13	13:11:40	2748	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:40	2748	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862240\":[1862240,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862240
2023-10-13	13:11:40	2748	[DEBUG]	Checking category
2023-10-13	13:11:40	2748	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:40	2748	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862240
2023-10-13	13:11:40	2748	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:40	2748	[DEBUG]	Executed store
2023-10-13	13:11:40	2748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862240','7357')
2023-10-13	13:11:40	2748	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:40	2748	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862240 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:40	2748	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:40	2748	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862240
2023-10-13	13:11:40	2749	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:40	2749	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:40	2749	[DEBUG]	Use field value for field taille
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:40	2749	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:40	2749	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:40	2749	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:40	2749	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:40	2749	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:40	2749	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:40	2749	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:40	2749	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:40	2749	[DEBUG]	Use field value for field published
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:40	2749	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field override
2023-10-13	13:11:40	2749	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:40	2749	[DEBUG]	Use field value for field slug
2023-10-13	13:11:40	2749	[DEBUG]	Process line 2749
2023-10-13	13:11:40	2749	[DEBUG]	Load a row
2023-10-13	13:11:40	2749	[DEBUG]	Processing item: 1000000024555
2023-10-13	13:11:40	2749	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:40	2749	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:40	2749	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1357_5'
2023-10-13	13:11:40	2749	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:40	2749	[DEBUG]	Processing product tax
2023-10-13	13:11:40	2749	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:40	2749	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:40	2749	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:40	2749	[DEBUG]	Query for Product
2023-10-13	13:11:40	2749	[DEBUG]	Executed store
2023-10-13	13:11:40	2749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862240','1000000024555','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:40	2749	[DEBUG]	No parent found
2023-10-13	13:11:40	2749	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862240 AND customfield_value = 'stockable'
2023-10-13	13:11:40	2749	[DEBUG]	Check product language entry
2023-10-13	13:11:40	2749	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862241
2023-10-13	13:11:40	2749	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:40	2749	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000024555' AND `virtuemart_product_id` != 1862241
2023-10-13	13:11:40	2749	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:40	2749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862241, '1000000024555')
2023-10-13	13:11:40	2749	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:40	2749	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-or-unitaire' AND `virtuemart_product_id` != 1862241
2023-10-13	13:11:40	2749	[DEBUG]	Query for ProductLang
2023-10-13	13:11:40	2749	[DEBUG]	Executed store
2023-10-13	13:11:40	2749	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 660mm PLAT LIGHT Alu 7050 T6 31.8 mm  pour 29ER / Or (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-or-unitaire' WHERE `virtuemart_product_id` = '1862241'
2023-10-13	13:11:40	2749	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3012.jpg
2023-10-13	13:11:40	2749	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:40	2749	[DEBUG]	Process image file
2023-10-13	13:11:40	2749	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:40	2749	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:40	2749	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3012.jpg
2023-10-13	13:11:40	2749	[DEBUG]	Full name target: bcprisme/image_3012.jpg
2023-10-13	13:11:41	2749	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:41	2749	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3012.jpg'
2023-10-13	13:11:41	2749	[DEBUG]	Query for Media
2023-10-13	13:11:41	2749	[DEBUG]	Executed store
2023-10-13	13:11:41	2749	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3012.jpg',`file_url_thumb`='bcprisme/image_3012.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12933'
2023-10-13	13:11:41	2749	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:41	2749	[DEBUG]	Executed store
2023-10-13	13:11:41	2749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862241','12933','1')
2023-10-13	13:11:41	2749	[DEBUG]	Store product image relation
2023-10-13	13:11:41	2749	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:41	2749	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862241 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:41	2749	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:41	2749	[DEBUG]	Executed store
2023-10-13	13:11:41	2749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862241','0','74.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:41	2749	[DEBUG]	Checking manufacturer
2023-10-13	13:11:41	2749	[DEBUG]	Load a row
2023-10-13	13:11:41	2749	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:41	2749	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:41	2749	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:41	2749	[DEBUG]	Executed store
2023-10-13	13:11:41	2749	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:41	2749	[DEBUG]	Manufacturer exists
2023-10-13	13:11:41	2749	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:41	2749	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:41	2749	[DEBUG]	Executed store
2023-10-13	13:11:41	2749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862241','32')
2023-10-13	13:11:41	2749	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:41	2749	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:41	2749	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862241 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:41	2749	[DEBUG]	Store custom available field
2023-10-13	13:11:41	2749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862241,3,'',1)
2023-10-13	13:11:41	2749	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:41	2749	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:41	2749	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862241 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:41	2749	[DEBUG]	Store custom available field
2023-10-13	13:11:41	2749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862241,6,'Unitaire',3)
2023-10-13	13:11:41	2749	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:41	2749	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:41	2749	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862240
2023-10-13	13:11:41	2749	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:41	2749	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862240\":[1862240,8,1,\"choisir la taille\"],\"1862241\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862240
2023-10-13	13:11:41	2749	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:41	2749	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862241
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:41	2750	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field taille
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:41	2750	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:41	2750	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:41	2750	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:41	2750	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:41	2750	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:41	2750	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field published
2023-10-13	13:11:41	2750	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:41	2750	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field override
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:41	2750	[DEBUG]	Use field value for field slug
2023-10-13	13:11:41	2750	[DEBUG]	Process line 2750
2023-10-13	13:11:41	2750	[DEBUG]	Load a row
2023-10-13	13:11:41	2750	[DEBUG]	Processing item: A_1357_7
2023-10-13	13:11:41	2750	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:41	2750	[DEBUG]	Processing product tax
2023-10-13	13:11:41	2750	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:41	2750	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:41	2750	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:41	2750	[DEBUG]	Query for Product
2023-10-13	13:11:41	2750	[DEBUG]	Executed store
2023-10-13	13:11:41	2750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1357_7','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:41	2750	[DEBUG]	Check product language entry
2023-10-13	13:11:41	2750	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862242
2023-10-13	13:11:41	2750	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:41	2750	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1357_7' AND `virtuemart_product_id` != 1862242
2023-10-13	13:11:41	2750	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:41	2750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862242, 'A_1357_7')
2023-10-13	13:11:41	2750	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:41	2750	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-rouge' AND `virtuemart_product_id` != 1862242
2023-10-13	13:11:41	2750	[DEBUG]	Query for ProductLang
2023-10-13	13:11:41	2750	[DEBUG]	Executed store
2023-10-13	13:11:41	2750	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='260gr<br>N° art fourn : ALUBAR',`product_name`='MSC GUIDON 660mm PLAT LIGHT Alu 7050 T6 31.8 mm  pour 29ER / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-rouge' WHERE `virtuemart_product_id` = '1862242'
2023-10-13	13:11:41	2750	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3013.jpg
2023-10-13	13:11:41	2750	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:41	2750	[DEBUG]	Process image file
2023-10-13	13:11:41	2750	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:41	2750	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:41	2750	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3013.jpg
2023-10-13	13:11:41	2750	[DEBUG]	Full name target: bcprisme/image_3013.jpg
2023-10-13	13:11:42	2750	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:42	2750	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3013.jpg'
2023-10-13	13:11:42	2750	[DEBUG]	Query for Media
2023-10-13	13:11:42	2750	[DEBUG]	Executed store
2023-10-13	13:11:42	2750	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3013.jpg',`file_url_thumb`='bcprisme/image_3013.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12934'
2023-10-13	13:11:42	2750	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:42	2750	[DEBUG]	Executed store
2023-10-13	13:11:42	2750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862242','12934','1')
2023-10-13	13:11:42	2750	[DEBUG]	Store product image relation
2023-10-13	13:11:42	2750	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:42	2750	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862242 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:42	2750	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:42	2750	[DEBUG]	Executed store
2023-10-13	13:11:42	2750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862242','0','74.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:42	2750	[DEBUG]	Checking manufacturer
2023-10-13	13:11:42	2750	[DEBUG]	Load a row
2023-10-13	13:11:42	2750	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:42	2750	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:42	2750	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:42	2750	[DEBUG]	Executed store
2023-10-13	13:11:42	2750	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:42	2750	[DEBUG]	Manufacturer exists
2023-10-13	13:11:42	2750	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:42	2750	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:42	2750	[DEBUG]	Executed store
2023-10-13	13:11:42	2750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862242','32')
2023-10-13	13:11:42	2750	[DEBUG]	Find the custom field ID
2023-10-13	13:11:42	2750	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:42	2750	[DEBUG]	No custom field ID found
2023-10-13	13:11:42	2750	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:42	2750	[DEBUG]	Get existing row with customfield value 79.6780555555556
2023-10-13	13:11:42	2750	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862242 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:42	2750	[DEBUG]	Store custom available field
2023-10-13	13:11:42	2750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862242,3,'79.6780555555556',1)
2023-10-13	13:11:42	2750	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:42	2750	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:42	2750	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862242 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:42	2750	[DEBUG]	Store custom available field
2023-10-13	13:11:42	2750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862242,6,'choisir la taille',3)
2023-10-13	13:11:42	2750	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:42	2750	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:42	2750	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:42	2750	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:42	2750	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862242 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:42	2750	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:42	2750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862242,8,1)
2023-10-13	13:11:42	2750	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:42	2750	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862242\":[1862242,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862242
2023-10-13	13:11:42	2750	[DEBUG]	Checking category
2023-10-13	13:11:42	2750	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:42	2750	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862242
2023-10-13	13:11:42	2750	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:42	2750	[DEBUG]	Executed store
2023-10-13	13:11:42	2750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862242','7357')
2023-10-13	13:11:42	2750	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:42	2750	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862242 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:42	2750	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:42	2750	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862242
2023-10-13	13:11:42	2751	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:42	2751	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:42	2751	[DEBUG]	Use field value for field taille
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:42	2751	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:42	2751	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:42	2751	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:42	2751	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:42	2751	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:42	2751	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:42	2751	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:42	2751	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:42	2751	[DEBUG]	Use field value for field published
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:42	2751	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field override
2023-10-13	13:11:42	2751	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:42	2751	[DEBUG]	Use field value for field slug
2023-10-13	13:11:42	2751	[DEBUG]	Process line 2751
2023-10-13	13:11:42	2751	[DEBUG]	Load a row
2023-10-13	13:11:42	2751	[DEBUG]	Processing item: 1000000024562
2023-10-13	13:11:42	2751	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:42	2751	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:42	2751	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1357_7'
2023-10-13	13:11:42	2751	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:42	2751	[DEBUG]	Processing product tax
2023-10-13	13:11:42	2751	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:42	2751	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:42	2751	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:42	2751	[DEBUG]	Query for Product
2023-10-13	13:11:42	2751	[DEBUG]	Executed store
2023-10-13	13:11:42	2751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862242','1000000024562','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:42	2751	[DEBUG]	No parent found
2023-10-13	13:11:42	2751	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862242 AND customfield_value = 'stockable'
2023-10-13	13:11:42	2751	[DEBUG]	Check product language entry
2023-10-13	13:11:42	2751	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862243
2023-10-13	13:11:42	2751	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:42	2751	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000024562' AND `virtuemart_product_id` != 1862243
2023-10-13	13:11:42	2751	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:42	2751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862243, '1000000024562')
2023-10-13	13:11:42	2751	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:42	2751	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-rouge-unitaire' AND `virtuemart_product_id` != 1862243
2023-10-13	13:11:42	2751	[DEBUG]	Query for ProductLang
2023-10-13	13:11:42	2751	[DEBUG]	Executed store
2023-10-13	13:11:42	2751	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 660mm PLAT LIGHT Alu 7050 T6 31.8 mm  pour 29ER / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-rouge-unitaire' WHERE `virtuemart_product_id` = '1862243'
2023-10-13	13:11:42	2751	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3013.jpg
2023-10-13	13:11:42	2751	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:42	2751	[DEBUG]	Process image file
2023-10-13	13:11:42	2751	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:42	2751	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:42	2751	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3013.jpg
2023-10-13	13:11:42	2751	[DEBUG]	Full name target: bcprisme/image_3013.jpg
2023-10-13	13:11:43	2751	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:43	2751	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3013.jpg'
2023-10-13	13:11:43	2751	[DEBUG]	Query for Media
2023-10-13	13:11:43	2751	[DEBUG]	Executed store
2023-10-13	13:11:43	2751	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3013.jpg',`file_url_thumb`='bcprisme/image_3013.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12934'
2023-10-13	13:11:43	2751	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:43	2751	[DEBUG]	Executed store
2023-10-13	13:11:43	2751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862243','12934','1')
2023-10-13	13:11:43	2751	[DEBUG]	Store product image relation
2023-10-13	13:11:43	2751	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:43	2751	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862243 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:43	2751	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:43	2751	[DEBUG]	Executed store
2023-10-13	13:11:43	2751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862243','0','74.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:43	2751	[DEBUG]	Checking manufacturer
2023-10-13	13:11:43	2751	[DEBUG]	Load a row
2023-10-13	13:11:43	2751	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:43	2751	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:43	2751	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:43	2751	[DEBUG]	Executed store
2023-10-13	13:11:43	2751	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:43	2751	[DEBUG]	Manufacturer exists
2023-10-13	13:11:43	2751	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:43	2751	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:43	2751	[DEBUG]	Executed store
2023-10-13	13:11:43	2751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862243','32')
2023-10-13	13:11:43	2751	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:43	2751	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:43	2751	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862243 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:43	2751	[DEBUG]	Store custom available field
2023-10-13	13:11:43	2751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862243,3,'',1)
2023-10-13	13:11:43	2751	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:43	2751	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:43	2751	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862243 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:43	2751	[DEBUG]	Store custom available field
2023-10-13	13:11:43	2751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862243,6,'Unitaire',3)
2023-10-13	13:11:43	2751	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:43	2751	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:43	2751	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862242
2023-10-13	13:11:43	2751	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:43	2751	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862242\":[1862242,8,1,\"choisir la taille\"],\"1862243\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862242
2023-10-13	13:11:43	2751	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:43	2751	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862243
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:43	2752	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field taille
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:43	2752	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:43	2752	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:43	2752	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:43	2752	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:43	2752	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:43	2752	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field published
2023-10-13	13:11:43	2752	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:43	2752	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field override
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:43	2752	[DEBUG]	Use field value for field slug
2023-10-13	13:11:43	2752	[DEBUG]	Process line 2752
2023-10-13	13:11:43	2752	[DEBUG]	Load a row
2023-10-13	13:11:43	2752	[DEBUG]	Processing item: A_1357_13
2023-10-13	13:11:43	2752	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:43	2752	[DEBUG]	Processing product tax
2023-10-13	13:11:43	2752	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:43	2752	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:43	2752	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:43	2752	[DEBUG]	Query for Product
2023-10-13	13:11:43	2752	[DEBUG]	Executed store
2023-10-13	13:11:43	2752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1357_13','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:43	2752	[DEBUG]	Check product language entry
2023-10-13	13:11:43	2752	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862244
2023-10-13	13:11:43	2752	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:43	2752	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1357_13' AND `virtuemart_product_id` != 1862244
2023-10-13	13:11:43	2752	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:43	2752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862244, 'A_1357_13')
2023-10-13	13:11:43	2752	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:43	2752	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-argent' AND `virtuemart_product_id` != 1862244
2023-10-13	13:11:43	2752	[DEBUG]	Query for ProductLang
2023-10-13	13:11:43	2752	[DEBUG]	Executed store
2023-10-13	13:11:43	2752	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='260gr<br>N° art fourn : ALUBAR',`product_name`='MSC GUIDON 660mm PLAT LIGHT Alu 7050 T6 31.8 mm  pour 29ER / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-argent' WHERE `virtuemart_product_id` = '1862244'
2023-10-13	13:11:43	2752	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3014.jpg
2023-10-13	13:11:43	2752	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:43	2752	[DEBUG]	Process image file
2023-10-13	13:11:43	2752	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:43	2752	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:43	2752	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3014.jpg
2023-10-13	13:11:43	2752	[DEBUG]	Full name target: bcprisme/image_3014.jpg
2023-10-13	13:11:44	2752	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:44	2752	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3014.jpg'
2023-10-13	13:11:44	2752	[DEBUG]	Query for Media
2023-10-13	13:11:44	2752	[DEBUG]	Executed store
2023-10-13	13:11:44	2752	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3014.jpg',`file_url_thumb`='bcprisme/image_3014.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12935'
2023-10-13	13:11:44	2752	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:44	2752	[DEBUG]	Executed store
2023-10-13	13:11:44	2752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862244','12935','1')
2023-10-13	13:11:44	2752	[DEBUG]	Store product image relation
2023-10-13	13:11:44	2752	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:44	2752	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862244 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:44	2752	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:44	2752	[DEBUG]	Executed store
2023-10-13	13:11:44	2752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862244','0','74.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:44	2752	[DEBUG]	Checking manufacturer
2023-10-13	13:11:44	2752	[DEBUG]	Load a row
2023-10-13	13:11:44	2752	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:44	2752	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:44	2752	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:44	2752	[DEBUG]	Executed store
2023-10-13	13:11:44	2752	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:44	2752	[DEBUG]	Manufacturer exists
2023-10-13	13:11:44	2752	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:44	2752	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:44	2752	[DEBUG]	Executed store
2023-10-13	13:11:44	2752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862244','32')
2023-10-13	13:11:44	2752	[DEBUG]	Find the custom field ID
2023-10-13	13:11:44	2752	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:44	2752	[DEBUG]	No custom field ID found
2023-10-13	13:11:44	2752	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:44	2752	[DEBUG]	Get existing row with customfield value 79.6780555555556
2023-10-13	13:11:44	2752	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862244 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:44	2752	[DEBUG]	Store custom available field
2023-10-13	13:11:44	2752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862244,3,'79.6780555555556',1)
2023-10-13	13:11:44	2752	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:44	2752	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:44	2752	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862244 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:44	2752	[DEBUG]	Store custom available field
2023-10-13	13:11:44	2752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862244,6,'choisir la taille',3)
2023-10-13	13:11:44	2752	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:44	2752	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:44	2752	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:44	2752	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:44	2752	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862244 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:44	2752	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:44	2752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862244,8,1)
2023-10-13	13:11:44	2752	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:44	2752	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862244\":[1862244,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862244
2023-10-13	13:11:44	2752	[DEBUG]	Checking category
2023-10-13	13:11:44	2752	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:44	2752	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862244
2023-10-13	13:11:44	2752	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:44	2752	[DEBUG]	Executed store
2023-10-13	13:11:44	2752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862244','7357')
2023-10-13	13:11:44	2752	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:44	2752	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862244 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:44	2752	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:44	2752	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862244
2023-10-13	13:11:44	2753	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:44	2753	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:44	2753	[DEBUG]	Use field value for field taille
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:44	2753	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:44	2753	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:44	2753	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:44	2753	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:44	2753	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:44	2753	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:44	2753	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:44	2753	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:44	2753	[DEBUG]	Use field value for field published
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:44	2753	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field override
2023-10-13	13:11:44	2753	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:44	2753	[DEBUG]	Use field value for field slug
2023-10-13	13:11:44	2753	[DEBUG]	Process line 2753
2023-10-13	13:11:44	2753	[DEBUG]	Load a row
2023-10-13	13:11:44	2753	[DEBUG]	Processing item: 1000000024586
2023-10-13	13:11:44	2753	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:44	2753	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:44	2753	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1357_13'
2023-10-13	13:11:44	2753	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:44	2753	[DEBUG]	Processing product tax
2023-10-13	13:11:44	2753	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:44	2753	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:44	2753	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:44	2753	[DEBUG]	Query for Product
2023-10-13	13:11:44	2753	[DEBUG]	Executed store
2023-10-13	13:11:44	2753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862244','1000000024586','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:44	2753	[DEBUG]	No parent found
2023-10-13	13:11:44	2753	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862244 AND customfield_value = 'stockable'
2023-10-13	13:11:44	2753	[DEBUG]	Check product language entry
2023-10-13	13:11:44	2753	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862245
2023-10-13	13:11:44	2753	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:44	2753	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000024586' AND `virtuemart_product_id` != 1862245
2023-10-13	13:11:44	2753	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:44	2753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862245, '1000000024586')
2023-10-13	13:11:44	2753	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:44	2753	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-argent-unitaire' AND `virtuemart_product_id` != 1862245
2023-10-13	13:11:44	2753	[DEBUG]	Query for ProductLang
2023-10-13	13:11:44	2753	[DEBUG]	Executed store
2023-10-13	13:11:44	2753	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 660mm PLAT LIGHT Alu 7050 T6 31.8 mm  pour 29ER / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-argent-unitaire' WHERE `virtuemart_product_id` = '1862245'
2023-10-13	13:11:44	2753	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3014.jpg
2023-10-13	13:11:44	2753	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:44	2753	[DEBUG]	Process image file
2023-10-13	13:11:44	2753	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:44	2753	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:44	2753	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3014.jpg
2023-10-13	13:11:44	2753	[DEBUG]	Full name target: bcprisme/image_3014.jpg
2023-10-13	13:11:45	2753	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:45	2753	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3014.jpg'
2023-10-13	13:11:45	2753	[DEBUG]	Query for Media
2023-10-13	13:11:45	2753	[DEBUG]	Executed store
2023-10-13	13:11:45	2753	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3014.jpg',`file_url_thumb`='bcprisme/image_3014.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12935'
2023-10-13	13:11:45	2753	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:45	2753	[DEBUG]	Executed store
2023-10-13	13:11:45	2753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862245','12935','1')
2023-10-13	13:11:45	2753	[DEBUG]	Store product image relation
2023-10-13	13:11:45	2753	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:45	2753	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862245 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:45	2753	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:45	2753	[DEBUG]	Executed store
2023-10-13	13:11:45	2753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862245','0','74.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:45	2753	[DEBUG]	Checking manufacturer
2023-10-13	13:11:45	2753	[DEBUG]	Load a row
2023-10-13	13:11:45	2753	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:45	2753	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:45	2753	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:45	2753	[DEBUG]	Executed store
2023-10-13	13:11:45	2753	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:45	2753	[DEBUG]	Manufacturer exists
2023-10-13	13:11:45	2753	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:45	2753	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:45	2753	[DEBUG]	Executed store
2023-10-13	13:11:45	2753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862245','32')
2023-10-13	13:11:45	2753	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:45	2753	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:45	2753	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862245 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:45	2753	[DEBUG]	Store custom available field
2023-10-13	13:11:45	2753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862245,3,'',1)
2023-10-13	13:11:45	2753	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:45	2753	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:45	2753	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862245 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:45	2753	[DEBUG]	Store custom available field
2023-10-13	13:11:45	2753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862245,6,'Unitaire',3)
2023-10-13	13:11:45	2753	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:45	2753	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:45	2753	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862244
2023-10-13	13:11:45	2753	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:45	2753	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862244\":[1862244,8,1,\"choisir la taille\"],\"1862245\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862244
2023-10-13	13:11:45	2753	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:45	2753	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862245
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:45	2754	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field taille
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:45	2754	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:45	2754	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:45	2754	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:45	2754	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:45	2754	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:45	2754	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field published
2023-10-13	13:11:45	2754	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:45	2754	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field override
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:45	2754	[DEBUG]	Use field value for field slug
2023-10-13	13:11:45	2754	[DEBUG]	Process line 2754
2023-10-13	13:11:45	2754	[DEBUG]	Load a row
2023-10-13	13:11:45	2754	[DEBUG]	Processing item: A_1357_22
2023-10-13	13:11:45	2754	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:45	2754	[DEBUG]	Processing product tax
2023-10-13	13:11:45	2754	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:45	2754	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:45	2754	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:45	2754	[DEBUG]	Query for Product
2023-10-13	13:11:45	2754	[DEBUG]	Executed store
2023-10-13	13:11:45	2754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1357_22','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:45	2754	[DEBUG]	Check product language entry
2023-10-13	13:11:45	2754	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862246
2023-10-13	13:11:45	2754	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:45	2754	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1357_22' AND `virtuemart_product_id` != 1862246
2023-10-13	13:11:45	2754	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:45	2754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862246, 'A_1357_22')
2023-10-13	13:11:45	2754	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:45	2754	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-bleu' AND `virtuemart_product_id` != 1862246
2023-10-13	13:11:45	2754	[DEBUG]	Query for ProductLang
2023-10-13	13:11:45	2754	[DEBUG]	Executed store
2023-10-13	13:11:45	2754	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='260gr<br>N° art fourn : ALUBAR',`product_name`='MSC GUIDON 660mm PLAT LIGHT Alu 7050 T6 31.8 mm  pour 29ER / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-bleu' WHERE `virtuemart_product_id` = '1862246'
2023-10-13	13:11:45	2754	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3015.jpg
2023-10-13	13:11:45	2754	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:45	2754	[DEBUG]	Process image file
2023-10-13	13:11:45	2754	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:45	2754	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:45	2754	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3015.jpg
2023-10-13	13:11:45	2754	[DEBUG]	Full name target: bcprisme/image_3015.jpg
2023-10-13	13:11:46	2754	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:46	2754	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3015.jpg'
2023-10-13	13:11:46	2754	[DEBUG]	Query for Media
2023-10-13	13:11:46	2754	[DEBUG]	Executed store
2023-10-13	13:11:46	2754	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3015.jpg',`file_url_thumb`='bcprisme/image_3015.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12936'
2023-10-13	13:11:46	2754	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:46	2754	[DEBUG]	Executed store
2023-10-13	13:11:46	2754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862246','12936','1')
2023-10-13	13:11:46	2754	[DEBUG]	Store product image relation
2023-10-13	13:11:46	2754	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:46	2754	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862246 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:46	2754	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:46	2754	[DEBUG]	Executed store
2023-10-13	13:11:46	2754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862246','0','74.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:46	2754	[DEBUG]	Checking manufacturer
2023-10-13	13:11:46	2754	[DEBUG]	Load a row
2023-10-13	13:11:46	2754	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:46	2754	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:46	2754	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:46	2754	[DEBUG]	Executed store
2023-10-13	13:11:46	2754	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:46	2754	[DEBUG]	Manufacturer exists
2023-10-13	13:11:46	2754	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:46	2754	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:46	2754	[DEBUG]	Executed store
2023-10-13	13:11:46	2754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862246','32')
2023-10-13	13:11:46	2754	[DEBUG]	Find the custom field ID
2023-10-13	13:11:46	2754	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:46	2754	[DEBUG]	No custom field ID found
2023-10-13	13:11:46	2754	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:46	2754	[DEBUG]	Get existing row with customfield value 79.6780555555556
2023-10-13	13:11:46	2754	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862246 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:46	2754	[DEBUG]	Store custom available field
2023-10-13	13:11:46	2754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862246,3,'79.6780555555556',1)
2023-10-13	13:11:46	2754	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:46	2754	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:46	2754	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862246 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:46	2754	[DEBUG]	Store custom available field
2023-10-13	13:11:46	2754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862246,6,'choisir la taille',3)
2023-10-13	13:11:46	2754	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:46	2754	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:46	2754	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:46	2754	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:46	2754	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862246 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:46	2754	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:46	2754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862246,8,1)
2023-10-13	13:11:46	2754	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:46	2754	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862246\":[1862246,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862246
2023-10-13	13:11:46	2754	[DEBUG]	Checking category
2023-10-13	13:11:46	2754	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:46	2754	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862246
2023-10-13	13:11:46	2754	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:46	2754	[DEBUG]	Executed store
2023-10-13	13:11:46	2754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862246','7357')
2023-10-13	13:11:46	2754	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:46	2754	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862246 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:46	2754	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:46	2754	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862246
2023-10-13	13:11:46	2755	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:46	2755	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:46	2755	[DEBUG]	Use field value for field taille
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:46	2755	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:46	2755	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:46	2755	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:46	2755	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:46	2755	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:46	2755	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:46	2755	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:46	2755	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:46	2755	[DEBUG]	Use field value for field published
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:46	2755	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field override
2023-10-13	13:11:46	2755	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:46	2755	[DEBUG]	Use field value for field slug
2023-10-13	13:11:46	2755	[DEBUG]	Process line 2755
2023-10-13	13:11:46	2755	[DEBUG]	Load a row
2023-10-13	13:11:46	2755	[DEBUG]	Processing item: 1000000024579
2023-10-13	13:11:46	2755	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:46	2755	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:46	2755	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1357_22'
2023-10-13	13:11:46	2755	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:46	2755	[DEBUG]	Processing product tax
2023-10-13	13:11:46	2755	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:46	2755	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:46	2755	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:46	2755	[DEBUG]	Query for Product
2023-10-13	13:11:46	2755	[DEBUG]	Executed store
2023-10-13	13:11:46	2755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862246','1000000024579','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:46	2755	[DEBUG]	No parent found
2023-10-13	13:11:46	2755	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862246 AND customfield_value = 'stockable'
2023-10-13	13:11:46	2755	[DEBUG]	Check product language entry
2023-10-13	13:11:46	2755	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862247
2023-10-13	13:11:46	2755	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:46	2755	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000024579' AND `virtuemart_product_id` != 1862247
2023-10-13	13:11:46	2755	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:46	2755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862247, '1000000024579')
2023-10-13	13:11:46	2755	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:46	2755	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-bleu-unitaire' AND `virtuemart_product_id` != 1862247
2023-10-13	13:11:46	2755	[DEBUG]	Query for ProductLang
2023-10-13	13:11:46	2755	[DEBUG]	Executed store
2023-10-13	13:11:46	2755	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 660mm PLAT LIGHT Alu 7050 T6 31.8 mm  pour 29ER / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-bleu-unitaire' WHERE `virtuemart_product_id` = '1862247'
2023-10-13	13:11:46	2755	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3015.jpg
2023-10-13	13:11:46	2755	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:46	2755	[DEBUG]	Process image file
2023-10-13	13:11:46	2755	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:46	2755	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:46	2755	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3015.jpg
2023-10-13	13:11:46	2755	[DEBUG]	Full name target: bcprisme/image_3015.jpg
2023-10-13	13:11:47	2755	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:47	2755	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3015.jpg'
2023-10-13	13:11:47	2755	[DEBUG]	Query for Media
2023-10-13	13:11:47	2755	[DEBUG]	Executed store
2023-10-13	13:11:47	2755	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3015.jpg',`file_url_thumb`='bcprisme/image_3015.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12936'
2023-10-13	13:11:47	2755	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:47	2755	[DEBUG]	Executed store
2023-10-13	13:11:47	2755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862247','12936','1')
2023-10-13	13:11:47	2755	[DEBUG]	Store product image relation
2023-10-13	13:11:47	2755	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:47	2755	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862247 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:47	2755	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:47	2755	[DEBUG]	Executed store
2023-10-13	13:11:47	2755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862247','0','74.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:47	2755	[DEBUG]	Checking manufacturer
2023-10-13	13:11:47	2755	[DEBUG]	Load a row
2023-10-13	13:11:47	2755	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:47	2755	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:47	2755	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:47	2755	[DEBUG]	Executed store
2023-10-13	13:11:47	2755	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:47	2755	[DEBUG]	Manufacturer exists
2023-10-13	13:11:47	2755	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:47	2755	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:47	2755	[DEBUG]	Executed store
2023-10-13	13:11:47	2755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862247','32')
2023-10-13	13:11:47	2755	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:47	2755	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:47	2755	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862247 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:47	2755	[DEBUG]	Store custom available field
2023-10-13	13:11:47	2755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862247,3,'',1)
2023-10-13	13:11:47	2755	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:47	2755	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:47	2755	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862247 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:47	2755	[DEBUG]	Store custom available field
2023-10-13	13:11:47	2755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862247,6,'Unitaire',3)
2023-10-13	13:11:47	2755	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:47	2755	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:47	2755	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862246
2023-10-13	13:11:47	2755	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:47	2755	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862246\":[1862246,8,1,\"choisir la taille\"],\"1862247\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862246
2023-10-13	13:11:47	2755	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:47	2755	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862247
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:47	2756	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field taille
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:47	2756	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:47	2756	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:47	2756	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:47	2756	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:47	2756	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:47	2756	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field published
2023-10-13	13:11:47	2756	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:47	2756	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field override
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:47	2756	[DEBUG]	Use field value for field slug
2023-10-13	13:11:47	2756	[DEBUG]	Process line 2756
2023-10-13	13:11:47	2756	[DEBUG]	Load a row
2023-10-13	13:11:47	2756	[DEBUG]	Processing item: A_1357_40
2023-10-13	13:11:47	2756	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:47	2756	[DEBUG]	Processing product tax
2023-10-13	13:11:47	2756	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:47	2756	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:47	2756	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:47	2756	[DEBUG]	Query for Product
2023-10-13	13:11:47	2756	[DEBUG]	Executed store
2023-10-13	13:11:47	2756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1357_40','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:47	2756	[DEBUG]	Check product language entry
2023-10-13	13:11:47	2756	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862248
2023-10-13	13:11:47	2756	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:47	2756	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1357_40' AND `virtuemart_product_id` != 1862248
2023-10-13	13:11:47	2756	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:47	2756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862248, 'A_1357_40')
2023-10-13	13:11:47	2756	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:47	2756	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-vert' AND `virtuemart_product_id` != 1862248
2023-10-13	13:11:47	2756	[DEBUG]	Query for ProductLang
2023-10-13	13:11:47	2756	[DEBUG]	Executed store
2023-10-13	13:11:47	2756	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='260gr<br>N° art fourn : ALUBAR',`product_name`='MSC GUIDON 660mm PLAT LIGHT Alu 7050 T6 31.8 mm  pour 29ER / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-vert' WHERE `virtuemart_product_id` = '1862248'
2023-10-13	13:11:47	2756	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_8808.jpg
2023-10-13	13:11:47	2756	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:47	2756	[DEBUG]	Process image file
2023-10-13	13:11:47	2756	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:47	2756	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:47	2756	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_8808.jpg
2023-10-13	13:11:47	2756	[DEBUG]	Full name target: bcprisme/image_8808.jpg
2023-10-13	13:11:48	2756	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:48	2756	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_8808.jpg'
2023-10-13	13:11:48	2756	[DEBUG]	Query for Media
2023-10-13	13:11:48	2756	[DEBUG]	Executed store
2023-10-13	13:11:48	2756	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_8808.jpg',`file_url_thumb`='bcprisme/image_8808.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12937'
2023-10-13	13:11:48	2756	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:48	2756	[DEBUG]	Executed store
2023-10-13	13:11:48	2756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862248','12937','1')
2023-10-13	13:11:48	2756	[DEBUG]	Store product image relation
2023-10-13	13:11:48	2756	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:48	2756	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862248 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:48	2756	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:48	2756	[DEBUG]	Executed store
2023-10-13	13:11:48	2756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862248','0','74.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:48	2756	[DEBUG]	Checking manufacturer
2023-10-13	13:11:48	2756	[DEBUG]	Load a row
2023-10-13	13:11:48	2756	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:48	2756	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:48	2756	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:48	2756	[DEBUG]	Executed store
2023-10-13	13:11:48	2756	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:48	2756	[DEBUG]	Manufacturer exists
2023-10-13	13:11:48	2756	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:48	2756	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:48	2756	[DEBUG]	Executed store
2023-10-13	13:11:48	2756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862248','32')
2023-10-13	13:11:48	2756	[DEBUG]	Find the custom field ID
2023-10-13	13:11:48	2756	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:48	2756	[DEBUG]	No custom field ID found
2023-10-13	13:11:48	2756	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:48	2756	[DEBUG]	Get existing row with customfield value 79.6780555555556
2023-10-13	13:11:48	2756	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862248 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:48	2756	[DEBUG]	Store custom available field
2023-10-13	13:11:48	2756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862248,3,'79.6780555555556',1)
2023-10-13	13:11:48	2756	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:48	2756	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:48	2756	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862248 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:48	2756	[DEBUG]	Store custom available field
2023-10-13	13:11:48	2756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862248,6,'choisir la taille',3)
2023-10-13	13:11:48	2756	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:48	2756	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:48	2756	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:48	2756	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:48	2756	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862248 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:48	2756	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:48	2756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862248,8,1)
2023-10-13	13:11:48	2756	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:48	2756	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862248\":[1862248,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862248
2023-10-13	13:11:48	2756	[DEBUG]	Checking category
2023-10-13	13:11:48	2756	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:48	2756	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862248
2023-10-13	13:11:48	2756	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:48	2756	[DEBUG]	Executed store
2023-10-13	13:11:48	2756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862248','7357')
2023-10-13	13:11:48	2756	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:48	2756	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862248 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:48	2756	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:48	2756	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862248
2023-10-13	13:11:48	2757	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:48	2757	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:48	2757	[DEBUG]	Use field value for field taille
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:48	2757	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:48	2757	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:48	2757	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:48	2757	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:48	2757	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:48	2757	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:48	2757	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:48	2757	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:48	2757	[DEBUG]	Use field value for field published
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:48	2757	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field override
2023-10-13	13:11:48	2757	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:48	2757	[DEBUG]	Use field value for field slug
2023-10-13	13:11:48	2757	[DEBUG]	Process line 2757
2023-10-13	13:11:48	2757	[DEBUG]	Load a row
2023-10-13	13:11:48	2757	[DEBUG]	Processing item: 1000000039313
2023-10-13	13:11:48	2757	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:48	2757	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:48	2757	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1357_40'
2023-10-13	13:11:48	2757	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:48	2757	[DEBUG]	Processing product tax
2023-10-13	13:11:48	2757	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:48	2757	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:48	2757	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:48	2757	[DEBUG]	Query for Product
2023-10-13	13:11:48	2757	[DEBUG]	Executed store
2023-10-13	13:11:48	2757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862248','1000000039313','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:48	2757	[DEBUG]	No parent found
2023-10-13	13:11:48	2757	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862248 AND customfield_value = 'stockable'
2023-10-13	13:11:48	2757	[DEBUG]	Check product language entry
2023-10-13	13:11:48	2757	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862249
2023-10-13	13:11:48	2757	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:48	2757	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000039313' AND `virtuemart_product_id` != 1862249
2023-10-13	13:11:48	2757	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:48	2757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862249, '1000000039313')
2023-10-13	13:11:48	2757	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:48	2757	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-vert-unitaire' AND `virtuemart_product_id` != 1862249
2023-10-13	13:11:48	2757	[DEBUG]	Query for ProductLang
2023-10-13	13:11:48	2757	[DEBUG]	Executed store
2023-10-13	13:11:48	2757	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 660mm PLAT LIGHT Alu 7050 T6 31.8 mm  pour 29ER / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-660mm-plat-light-alu-7050-t6-31-8-mm-pour-29er-vert-unitaire' WHERE `virtuemart_product_id` = '1862249'
2023-10-13	13:11:48	2757	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_8808.jpg
2023-10-13	13:11:48	2757	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:48	2757	[DEBUG]	Process image file
2023-10-13	13:11:48	2757	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:48	2757	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:48	2757	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_8808.jpg
2023-10-13	13:11:48	2757	[DEBUG]	Full name target: bcprisme/image_8808.jpg
2023-10-13	13:11:49	2757	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:49	2757	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_8808.jpg'
2023-10-13	13:11:49	2757	[DEBUG]	Query for Media
2023-10-13	13:11:49	2757	[DEBUG]	Executed store
2023-10-13	13:11:49	2757	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_8808.jpg',`file_url_thumb`='bcprisme/image_8808.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12937'
2023-10-13	13:11:49	2757	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:49	2757	[DEBUG]	Executed store
2023-10-13	13:11:49	2757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862249','12937','1')
2023-10-13	13:11:49	2757	[DEBUG]	Store product image relation
2023-10-13	13:11:49	2757	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:49	2757	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862249 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:49	2757	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:49	2757	[DEBUG]	Executed store
2023-10-13	13:11:49	2757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862249','0','74.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:49	2757	[DEBUG]	Checking manufacturer
2023-10-13	13:11:49	2757	[DEBUG]	Load a row
2023-10-13	13:11:49	2757	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:49	2757	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:49	2757	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:49	2757	[DEBUG]	Executed store
2023-10-13	13:11:49	2757	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:49	2757	[DEBUG]	Manufacturer exists
2023-10-13	13:11:49	2757	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:49	2757	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:49	2757	[DEBUG]	Executed store
2023-10-13	13:11:49	2757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862249','32')
2023-10-13	13:11:49	2757	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:49	2757	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:49	2757	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862249 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:49	2757	[DEBUG]	Store custom available field
2023-10-13	13:11:49	2757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862249,3,'',1)
2023-10-13	13:11:49	2757	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:49	2757	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:49	2757	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862249 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:49	2757	[DEBUG]	Store custom available field
2023-10-13	13:11:49	2757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862249,6,'Unitaire',3)
2023-10-13	13:11:49	2757	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:49	2757	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:49	2757	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862248
2023-10-13	13:11:49	2757	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:49	2757	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862248\":[1862248,8,1,\"choisir la taille\"],\"1862249\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862248
2023-10-13	13:11:49	2757	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:49	2757	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862249
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:49	2758	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field taille
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:49	2758	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:49	2758	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:49	2758	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:49	2758	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:49	2758	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:49	2758	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field published
2023-10-13	13:11:49	2758	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:49	2758	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field override
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:49	2758	[DEBUG]	Use field value for field slug
2023-10-13	13:11:49	2758	[DEBUG]	Process line 2758
2023-10-13	13:11:49	2758	[DEBUG]	Load a row
2023-10-13	13:11:49	2758	[DEBUG]	Processing item: A_1806_1
2023-10-13	13:11:49	2758	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:49	2758	[DEBUG]	Processing product tax
2023-10-13	13:11:49	2758	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:49	2758	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:49	2758	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:49	2758	[DEBUG]	Query for Product
2023-10-13	13:11:49	2758	[DEBUG]	Executed store
2023-10-13	13:11:49	2758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1806_1','0.148','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:49	2758	[DEBUG]	Check product language entry
2023-10-13	13:11:49	2758	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862250
2023-10-13	13:11:49	2758	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:49	2758	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1806_1' AND `virtuemart_product_id` != 1862250
2023-10-13	13:11:49	2758	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:49	2758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862250, 'A_1806_1')
2023-10-13	13:11:49	2758	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:49	2758	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-plat-alu-7050-t6-truvativ-25-4o-noir' AND `virtuemart_product_id` != 1862250
2023-10-13	13:11:49	2758	[DEBUG]	Query for ProductLang
2023-10-13	13:11:49	2758	[DEBUG]	Executed store
2023-10-13	13:11:49	2758	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon plat Alu7050T6 TRUVATIV 580mm 25.4Ø, 148 gr.<br>N° art fourn : FBTM33',`product_name`='MSC GUIDON 580mm PLAT Alu 7050 T6 TRUVATIV  25.4Ø / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-plat-alu-7050-t6-truvativ-25-4o-noir' WHERE `virtuemart_product_id` = '1862250'
2023-10-13	13:11:49	2758	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5979.jpg
2023-10-13	13:11:49	2758	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:11:49	2758	[DEBUG]	Process image file
2023-10-13	13:11:49	2758	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:11:49	2758	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:49	2758	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5979.jpg
2023-10-13	13:11:49	2758	[DEBUG]	Full name target: bcprisme/image_5979.jpg
2023-10-13	13:11:50	2758	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:50	2758	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5979.jpg'
2023-10-13	13:11:50	2758	[DEBUG]	Query for Media
2023-10-13	13:11:50	2758	[DEBUG]	Executed store
2023-10-13	13:11:50	2758	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5979.jpg',`file_url_thumb`='bcprisme/image_5979.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12938'
2023-10-13	13:11:50	2758	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:50	2758	[DEBUG]	Executed store
2023-10-13	13:11:50	2758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862250','12938','1')
2023-10-13	13:11:50	2758	[DEBUG]	Store product image relation
2023-10-13	13:11:50	2758	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:50	2758	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862250 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:50	2758	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:50	2758	[DEBUG]	Executed store
2023-10-13	13:11:50	2758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862250','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:50	2758	[DEBUG]	Checking manufacturer
2023-10-13	13:11:50	2758	[DEBUG]	Load a row
2023-10-13	13:11:50	2758	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:50	2758	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:50	2758	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:50	2758	[DEBUG]	Executed store
2023-10-13	13:11:50	2758	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:50	2758	[DEBUG]	Manufacturer exists
2023-10-13	13:11:50	2758	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:50	2758	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:50	2758	[DEBUG]	Executed store
2023-10-13	13:11:50	2758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862250','32')
2023-10-13	13:11:50	2758	[DEBUG]	Find the custom field ID
2023-10-13	13:11:50	2758	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:50	2758	[DEBUG]	No custom field ID found
2023-10-13	13:11:50	2758	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:50	2758	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:11:50	2758	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862250 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:50	2758	[DEBUG]	Store custom available field
2023-10-13	13:11:50	2758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862250,3,'39.7891666666667',1)
2023-10-13	13:11:50	2758	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:50	2758	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:50	2758	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862250 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:50	2758	[DEBUG]	Store custom available field
2023-10-13	13:11:50	2758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862250,6,'choisir la taille',3)
2023-10-13	13:11:50	2758	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:50	2758	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:50	2758	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:50	2758	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:50	2758	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862250 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:50	2758	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:50	2758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862250,8,1)
2023-10-13	13:11:50	2758	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:50	2758	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862250\":[1862250,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862250
2023-10-13	13:11:50	2758	[DEBUG]	Checking category
2023-10-13	13:11:50	2758	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:50	2758	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862250
2023-10-13	13:11:50	2758	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:50	2758	[DEBUG]	Executed store
2023-10-13	13:11:50	2758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862250','7357')
2023-10-13	13:11:50	2758	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:50	2758	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862250 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:50	2758	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:50	2758	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862250
2023-10-13	13:11:50	2759	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:50	2759	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:50	2759	[DEBUG]	Use field value for field taille
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:50	2759	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:50	2759	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:50	2759	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:50	2759	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:50	2759	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:50	2759	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:50	2759	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:50	2759	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:50	2759	[DEBUG]	Use field value for field published
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:50	2759	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field override
2023-10-13	13:11:50	2759	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:50	2759	[DEBUG]	Use field value for field slug
2023-10-13	13:11:51	2759	[DEBUG]	Process line 2759
2023-10-13	13:11:51	2759	[DEBUG]	Load a row
2023-10-13	13:11:51	2759	[DEBUG]	Processing item: 1000000031584
2023-10-13	13:11:51	2759	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:51	2759	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:51	2759	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1806_1'
2023-10-13	13:11:51	2759	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:51	2759	[DEBUG]	Processing product tax
2023-10-13	13:11:51	2759	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:51	2759	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:51	2759	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:51	2759	[DEBUG]	Query for Product
2023-10-13	13:11:51	2759	[DEBUG]	Executed store
2023-10-13	13:11:51	2759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862250','1000000031584','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:51	2759	[DEBUG]	No parent found
2023-10-13	13:11:51	2759	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862250 AND customfield_value = 'stockable'
2023-10-13	13:11:51	2759	[DEBUG]	Check product language entry
2023-10-13	13:11:51	2759	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862251
2023-10-13	13:11:51	2759	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:51	2759	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000031584' AND `virtuemart_product_id` != 1862251
2023-10-13	13:11:51	2759	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:51	2759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862251, '1000000031584')
2023-10-13	13:11:51	2759	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:51	2759	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-580mm-plat-alu-7050-t6-truvativ-25-4o-noir-unitaire' AND `virtuemart_product_id` != 1862251
2023-10-13	13:11:51	2759	[DEBUG]	Query for ProductLang
2023-10-13	13:11:51	2759	[DEBUG]	Executed store
2023-10-13	13:11:51	2759	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 580mm PLAT Alu 7050 T6 TRUVATIV  25.4Ø / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-580mm-plat-alu-7050-t6-truvativ-25-4o-noir-unitaire' WHERE `virtuemart_product_id` = '1862251'
2023-10-13	13:11:51	2759	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5979.jpg
2023-10-13	13:11:51	2759	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:11:51	2759	[DEBUG]	Process image file
2023-10-13	13:11:51	2759	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:11:51	2759	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:51	2759	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5979.jpg
2023-10-13	13:11:51	2759	[DEBUG]	Full name target: bcprisme/image_5979.jpg
2023-10-13	13:11:51	2759	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:51	2759	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5979.jpg'
2023-10-13	13:11:51	2759	[DEBUG]	Query for Media
2023-10-13	13:11:51	2759	[DEBUG]	Executed store
2023-10-13	13:11:51	2759	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5979.jpg',`file_url_thumb`='bcprisme/image_5979.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12938'
2023-10-13	13:11:51	2759	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:51	2759	[DEBUG]	Executed store
2023-10-13	13:11:51	2759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862251','12938','1')
2023-10-13	13:11:51	2759	[DEBUG]	Store product image relation
2023-10-13	13:11:51	2759	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:51	2759	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862251 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:51	2759	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:51	2759	[DEBUG]	Executed store
2023-10-13	13:11:51	2759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862251','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:52	2759	[DEBUG]	Checking manufacturer
2023-10-13	13:11:52	2759	[DEBUG]	Load a row
2023-10-13	13:11:52	2759	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:52	2759	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:52	2759	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:52	2759	[DEBUG]	Executed store
2023-10-13	13:11:52	2759	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:52	2759	[DEBUG]	Manufacturer exists
2023-10-13	13:11:52	2759	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:52	2759	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:52	2759	[DEBUG]	Executed store
2023-10-13	13:11:52	2759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862251','32')
2023-10-13	13:11:52	2759	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:52	2759	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:52	2759	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862251 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:52	2759	[DEBUG]	Store custom available field
2023-10-13	13:11:52	2759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862251,3,'',1)
2023-10-13	13:11:52	2759	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:52	2759	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:11:52	2759	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862251 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:52	2759	[DEBUG]	Store custom available field
2023-10-13	13:11:52	2759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862251,6,'Unitaire',3)
2023-10-13	13:11:52	2759	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:52	2759	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:52	2759	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862250
2023-10-13	13:11:52	2759	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:52	2759	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862250\":[1862250,8,1,\"choisir la taille\"],\"1862251\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862250
2023-10-13	13:11:52	2759	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:52	2759	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862251
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:52	2760	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field taille
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:52	2760	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:52	2760	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:52	2760	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:52	2760	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:52	2760	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:52	2760	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field published
2023-10-13	13:11:52	2760	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:52	2760	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field override
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:52	2760	[DEBUG]	Use field value for field slug
2023-10-13	13:11:52	2760	[DEBUG]	Process line 2760
2023-10-13	13:11:52	2760	[DEBUG]	Load a row
2023-10-13	13:11:52	2760	[DEBUG]	Processing item: A_2498_5
2023-10-13	13:11:52	2760	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:52	2760	[DEBUG]	Processing product tax
2023-10-13	13:11:52	2760	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:52	2760	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:52	2760	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:52	2760	[DEBUG]	Query for Product
2023-10-13	13:11:52	2760	[DEBUG]	Executed store
2023-10-13	13:11:52	2760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2498_5','0.269','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:52	2760	[DEBUG]	Check product language entry
2023-10-13	13:11:52	2760	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862252
2023-10-13	13:11:52	2760	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:52	2760	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2498_5' AND `virtuemart_product_id` != 1862252
2023-10-13	13:11:52	2760	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:52	2760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862252, 'A_2498_5')
2023-10-13	13:11:52	2760	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:52	2760	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-680mm-plat-light-alu7050t6-msc-31-8mm-5-pour-29er-or' AND `virtuemart_product_id` != 1862252
2023-10-13	13:11:52	2760	[DEBUG]	Query for ProductLang
2023-10-13	13:11:52	2760	[DEBUG]	Executed store
2023-10-13	13:11:52	2760	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='227gr<br>N° art fourn : ALUBAR680',`product_name`='MSC GUIDON 680mm PLAT LIGHT Alu7050T6 MSC 31.8mm 5º  pour 29Er / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-680mm-plat-light-alu7050t6-msc-31-8mm-5-pour-29er-or' WHERE `virtuemart_product_id` = '1862252'
2023-10-13	13:11:52	2760	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9261.jpg
2023-10-13	13:11:52	2760	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:52	2760	[DEBUG]	Process image file
2023-10-13	13:11:52	2760	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:52	2760	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:52	2760	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9261.jpg
2023-10-13	13:11:52	2760	[DEBUG]	Full name target: bcprisme/image_9261.jpg
2023-10-13	13:11:53	2760	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:53	2760	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_9261.jpg'
2023-10-13	13:11:53	2760	[DEBUG]	Query for Media
2023-10-13	13:11:53	2760	[DEBUG]	Executed store
2023-10-13	13:11:53	2760	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_9261.jpg',`file_url_thumb`='bcprisme/image_9261.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16582'
2023-10-13	13:11:53	2760	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:53	2760	[DEBUG]	Executed store
2023-10-13	13:11:53	2760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862252','16582','1')
2023-10-13	13:11:53	2760	[DEBUG]	Store product image relation
2023-10-13	13:11:53	2760	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:53	2760	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862252 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:53	2760	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:53	2760	[DEBUG]	Executed store
2023-10-13	13:11:53	2760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862252','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:53	2760	[DEBUG]	Checking manufacturer
2023-10-13	13:11:53	2760	[DEBUG]	Load a row
2023-10-13	13:11:53	2760	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:53	2760	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:53	2760	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:53	2760	[DEBUG]	Executed store
2023-10-13	13:11:53	2760	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:53	2760	[DEBUG]	Manufacturer exists
2023-10-13	13:11:53	2760	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:53	2760	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:53	2760	[DEBUG]	Executed store
2023-10-13	13:11:53	2760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862252','32')
2023-10-13	13:11:53	2760	[DEBUG]	Find the custom field ID
2023-10-13	13:11:53	2760	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:53	2760	[DEBUG]	No custom field ID found
2023-10-13	13:11:53	2760	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:53	2760	[DEBUG]	Get existing row with customfield value 79.6780555555556
2023-10-13	13:11:53	2760	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862252 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:53	2760	[DEBUG]	Store custom available field
2023-10-13	13:11:53	2760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862252,3,'79.6780555555556',1)
2023-10-13	13:11:53	2760	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:53	2760	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:53	2760	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862252 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:53	2760	[DEBUG]	Store custom available field
2023-10-13	13:11:53	2760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862252,6,'choisir la taille',3)
2023-10-13	13:11:53	2760	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:53	2760	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:53	2760	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:53	2760	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:53	2760	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862252 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:53	2760	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:53	2760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862252,8,1)
2023-10-13	13:11:53	2760	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:53	2760	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862252\":[1862252,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862252
2023-10-13	13:11:53	2760	[DEBUG]	Checking category
2023-10-13	13:11:53	2760	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:53	2760	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862252
2023-10-13	13:11:53	2760	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:53	2760	[DEBUG]	Executed store
2023-10-13	13:11:53	2760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862252','7357')
2023-10-13	13:11:53	2760	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:53	2760	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862252 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:53	2760	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:53	2760	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862252
2023-10-13	13:11:53	2761	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:53	2761	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:53	2761	[DEBUG]	Use field value for field taille
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:53	2761	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:53	2761	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:53	2761	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:53	2761	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:53	2761	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:53	2761	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:53	2761	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:53	2761	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:53	2761	[DEBUG]	Use field value for field published
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:53	2761	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field override
2023-10-13	13:11:53	2761	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:53	2761	[DEBUG]	Use field value for field slug
2023-10-13	13:11:53	2761	[DEBUG]	Process line 2761
2023-10-13	13:11:53	2761	[DEBUG]	Load a row
2023-10-13	13:11:53	2761	[DEBUG]	Processing item: 1000000041286
2023-10-13	13:11:53	2761	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:53	2761	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:53	2761	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2498_5'
2023-10-13	13:11:53	2761	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:53	2761	[DEBUG]	Processing product tax
2023-10-13	13:11:53	2761	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:53	2761	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:53	2761	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:53	2761	[DEBUG]	Query for Product
2023-10-13	13:11:53	2761	[DEBUG]	Executed store
2023-10-13	13:11:53	2761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862252','1000000041286','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:53	2761	[DEBUG]	No parent found
2023-10-13	13:11:53	2761	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862252 AND customfield_value = 'stockable'
2023-10-13	13:11:53	2761	[DEBUG]	Check product language entry
2023-10-13	13:11:53	2761	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862253
2023-10-13	13:11:53	2761	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:53	2761	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000041286' AND `virtuemart_product_id` != 1862253
2023-10-13	13:11:53	2761	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:53	2761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862253, '1000000041286')
2023-10-13	13:11:53	2761	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:53	2761	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-680mm-plat-light-alu7050t6-msc-31-8mm-5-pour-29er-or-unique' AND `virtuemart_product_id` != 1862253
2023-10-13	13:11:53	2761	[DEBUG]	Query for ProductLang
2023-10-13	13:11:53	2761	[DEBUG]	Executed store
2023-10-13	13:11:53	2761	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 680mm PLAT LIGHT Alu7050T6 MSC 31.8mm 5º  pour 29Er / Or (Unique)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-680mm-plat-light-alu7050t6-msc-31-8mm-5-pour-29er-or-unique' WHERE `virtuemart_product_id` = '1862253'
2023-10-13	13:11:53	2761	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9261.jpg
2023-10-13	13:11:53	2761	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:53	2761	[DEBUG]	Process image file
2023-10-13	13:11:53	2761	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:53	2761	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:53	2761	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9261.jpg
2023-10-13	13:11:53	2761	[DEBUG]	Full name target: bcprisme/image_9261.jpg
2023-10-13	13:11:54	2761	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:54	2761	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_9261.jpg'
2023-10-13	13:11:54	2761	[DEBUG]	Query for Media
2023-10-13	13:11:54	2761	[DEBUG]	Executed store
2023-10-13	13:11:54	2761	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_9261.jpg',`file_url_thumb`='bcprisme/image_9261.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16582'
2023-10-13	13:11:54	2761	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:54	2761	[DEBUG]	Executed store
2023-10-13	13:11:54	2761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862253','16582','1')
2023-10-13	13:11:54	2761	[DEBUG]	Store product image relation
2023-10-13	13:11:54	2761	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:54	2761	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862253 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:54	2761	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:54	2761	[DEBUG]	Executed store
2023-10-13	13:11:54	2761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862253','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:54	2761	[DEBUG]	Checking manufacturer
2023-10-13	13:11:54	2761	[DEBUG]	Load a row
2023-10-13	13:11:54	2761	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:54	2761	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:54	2761	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:54	2761	[DEBUG]	Executed store
2023-10-13	13:11:54	2761	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:54	2761	[DEBUG]	Manufacturer exists
2023-10-13	13:11:54	2761	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:54	2761	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:54	2761	[DEBUG]	Executed store
2023-10-13	13:11:54	2761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862253','32')
2023-10-13	13:11:54	2761	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:54	2761	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:54	2761	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862253 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:54	2761	[DEBUG]	Store custom available field
2023-10-13	13:11:54	2761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862253,3,'',1)
2023-10-13	13:11:54	2761	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:54	2761	[DEBUG]	Get existing row with customfield value Unique
2023-10-13	13:11:54	2761	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862253 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:54	2761	[DEBUG]	Store custom available field
2023-10-13	13:11:54	2761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862253,6,'Unique',3)
2023-10-13	13:11:54	2761	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:54	2761	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:54	2761	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862252
2023-10-13	13:11:54	2761	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:54	2761	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnique\"}]|clabels=0|options={\"1862252\":[1862252,8,1,\"choisir la taille\"],\"1862253\":[\"Unique\"]}|' WHERE `virtuemart_product_id` = 1862252
2023-10-13	13:11:54	2761	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:54	2761	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862253
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:54	2762	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field taille
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:54	2762	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:54	2762	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:54	2762	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:54	2762	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:54	2762	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:54	2762	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field published
2023-10-13	13:11:54	2762	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:54	2762	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field override
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:54	2762	[DEBUG]	Use field value for field slug
2023-10-13	13:11:54	2762	[DEBUG]	Process line 2762
2023-10-13	13:11:54	2762	[DEBUG]	Load a row
2023-10-13	13:11:54	2762	[DEBUG]	Processing item: A_2498_7
2023-10-13	13:11:54	2762	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:54	2762	[DEBUG]	Processing product tax
2023-10-13	13:11:54	2762	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:54	2762	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:54	2762	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:54	2762	[DEBUG]	Query for Product
2023-10-13	13:11:54	2762	[DEBUG]	Executed store
2023-10-13	13:11:54	2762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2498_7','0.269','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:54	2762	[DEBUG]	Check product language entry
2023-10-13	13:11:54	2762	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862254
2023-10-13	13:11:54	2762	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:54	2762	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2498_7' AND `virtuemart_product_id` != 1862254
2023-10-13	13:11:54	2762	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:54	2762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862254, 'A_2498_7')
2023-10-13	13:11:54	2762	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:54	2762	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-680mm-plat-light-alu7050t6-msc-31-8mm-5-pour-29er-rouge' AND `virtuemart_product_id` != 1862254
2023-10-13	13:11:54	2762	[DEBUG]	Query for ProductLang
2023-10-13	13:11:54	2762	[DEBUG]	Executed store
2023-10-13	13:11:54	2762	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='227gr<br>N° art fourn : ALUBAR680',`product_name`='MSC GUIDON 680mm PLAT LIGHT Alu7050T6 MSC 31.8mm 5º  pour 29Er / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-680mm-plat-light-alu7050t6-msc-31-8mm-5-pour-29er-rouge' WHERE `virtuemart_product_id` = '1862254'
2023-10-13	13:11:54	2762	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9262.jpg
2023-10-13	13:11:54	2762	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:54	2762	[DEBUG]	Process image file
2023-10-13	13:11:54	2762	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:54	2762	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:54	2762	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9262.jpg
2023-10-13	13:11:54	2762	[DEBUG]	Full name target: bcprisme/image_9262.jpg
2023-10-13	13:11:55	2762	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:55	2762	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_9262.jpg'
2023-10-13	13:11:55	2762	[DEBUG]	Query for Media
2023-10-13	13:11:55	2762	[DEBUG]	Executed store
2023-10-13	13:11:55	2762	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_9262.jpg',`file_url_thumb`='bcprisme/image_9262.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16583'
2023-10-13	13:11:55	2762	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:55	2762	[DEBUG]	Executed store
2023-10-13	13:11:55	2762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862254','16583','1')
2023-10-13	13:11:55	2762	[DEBUG]	Store product image relation
2023-10-13	13:11:55	2762	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:55	2762	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862254 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:55	2762	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:55	2762	[DEBUG]	Executed store
2023-10-13	13:11:55	2762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862254','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:55	2762	[DEBUG]	Checking manufacturer
2023-10-13	13:11:55	2762	[DEBUG]	Load a row
2023-10-13	13:11:55	2762	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:55	2762	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:55	2762	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:55	2762	[DEBUG]	Executed store
2023-10-13	13:11:55	2762	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:55	2762	[DEBUG]	Manufacturer exists
2023-10-13	13:11:55	2762	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:55	2762	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:55	2762	[DEBUG]	Executed store
2023-10-13	13:11:55	2762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862254','32')
2023-10-13	13:11:55	2762	[DEBUG]	Find the custom field ID
2023-10-13	13:11:55	2762	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:55	2762	[DEBUG]	No custom field ID found
2023-10-13	13:11:55	2762	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:55	2762	[DEBUG]	Get existing row with customfield value 79.6780555555556
2023-10-13	13:11:55	2762	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862254 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:55	2762	[DEBUG]	Store custom available field
2023-10-13	13:11:55	2762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862254,3,'79.6780555555556',1)
2023-10-13	13:11:55	2762	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:55	2762	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:55	2762	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862254 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:55	2762	[DEBUG]	Store custom available field
2023-10-13	13:11:55	2762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862254,6,'choisir la taille',3)
2023-10-13	13:11:55	2762	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:55	2762	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:55	2762	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:55	2762	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:55	2762	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862254 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:55	2762	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:55	2762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862254,8,1)
2023-10-13	13:11:55	2762	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:55	2762	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862254\":[1862254,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862254
2023-10-13	13:11:55	2762	[DEBUG]	Checking category
2023-10-13	13:11:55	2762	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:55	2762	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862254
2023-10-13	13:11:55	2762	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:55	2762	[DEBUG]	Executed store
2023-10-13	13:11:55	2762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862254','7357')
2023-10-13	13:11:55	2762	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:55	2762	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862254 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:55	2762	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:55	2762	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862254
2023-10-13	13:11:55	2763	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:55	2763	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:55	2763	[DEBUG]	Use field value for field taille
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:55	2763	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:55	2763	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:55	2763	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:55	2763	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:55	2763	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:55	2763	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:55	2763	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:55	2763	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:55	2763	[DEBUG]	Use field value for field published
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:55	2763	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field override
2023-10-13	13:11:55	2763	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:55	2763	[DEBUG]	Use field value for field slug
2023-10-13	13:11:55	2763	[DEBUG]	Process line 2763
2023-10-13	13:11:55	2763	[DEBUG]	Load a row
2023-10-13	13:11:55	2763	[DEBUG]	Processing item: 1000000041293
2023-10-13	13:11:55	2763	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:55	2763	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:55	2763	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2498_7'
2023-10-13	13:11:55	2763	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:55	2763	[DEBUG]	Processing product tax
2023-10-13	13:11:55	2763	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:55	2763	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:55	2763	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:55	2763	[DEBUG]	Query for Product
2023-10-13	13:11:55	2763	[DEBUG]	Executed store
2023-10-13	13:11:55	2763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862254','1000000041293','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:55	2763	[DEBUG]	No parent found
2023-10-13	13:11:55	2763	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862254 AND customfield_value = 'stockable'
2023-10-13	13:11:55	2763	[DEBUG]	Check product language entry
2023-10-13	13:11:55	2763	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862255
2023-10-13	13:11:55	2763	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:55	2763	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000041293' AND `virtuemart_product_id` != 1862255
2023-10-13	13:11:55	2763	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:55	2763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862255, '1000000041293')
2023-10-13	13:11:55	2763	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:55	2763	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-680mm-plat-light-alu7050t6-msc-31-8mm-5-pour-29er-rouge-unique' AND `virtuemart_product_id` != 1862255
2023-10-13	13:11:55	2763	[DEBUG]	Query for ProductLang
2023-10-13	13:11:55	2763	[DEBUG]	Executed store
2023-10-13	13:11:55	2763	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 680mm PLAT LIGHT Alu7050T6 MSC 31.8mm 5º  pour 29Er / Rouge (Unique)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-680mm-plat-light-alu7050t6-msc-31-8mm-5-pour-29er-rouge-unique' WHERE `virtuemart_product_id` = '1862255'
2023-10-13	13:11:55	2763	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9262.jpg
2023-10-13	13:11:55	2763	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:55	2763	[DEBUG]	Process image file
2023-10-13	13:11:55	2763	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:55	2763	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:55	2763	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9262.jpg
2023-10-13	13:11:55	2763	[DEBUG]	Full name target: bcprisme/image_9262.jpg
2023-10-13	13:11:56	2763	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:56	2763	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_9262.jpg'
2023-10-13	13:11:56	2763	[DEBUG]	Query for Media
2023-10-13	13:11:56	2763	[DEBUG]	Executed store
2023-10-13	13:11:56	2763	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_9262.jpg',`file_url_thumb`='bcprisme/image_9262.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16583'
2023-10-13	13:11:56	2763	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:56	2763	[DEBUG]	Executed store
2023-10-13	13:11:56	2763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862255','16583','1')
2023-10-13	13:11:56	2763	[DEBUG]	Store product image relation
2023-10-13	13:11:56	2763	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:56	2763	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862255 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:56	2763	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:56	2763	[DEBUG]	Executed store
2023-10-13	13:11:56	2763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862255','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:56	2763	[DEBUG]	Checking manufacturer
2023-10-13	13:11:56	2763	[DEBUG]	Load a row
2023-10-13	13:11:56	2763	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:56	2763	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:56	2763	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:56	2763	[DEBUG]	Executed store
2023-10-13	13:11:56	2763	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:56	2763	[DEBUG]	Manufacturer exists
2023-10-13	13:11:56	2763	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:56	2763	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:56	2763	[DEBUG]	Executed store
2023-10-13	13:11:56	2763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862255','32')
2023-10-13	13:11:56	2763	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:56	2763	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:56	2763	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862255 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:56	2763	[DEBUG]	Store custom available field
2023-10-13	13:11:56	2763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862255,3,'',1)
2023-10-13	13:11:56	2763	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:56	2763	[DEBUG]	Get existing row with customfield value Unique
2023-10-13	13:11:56	2763	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862255 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:56	2763	[DEBUG]	Store custom available field
2023-10-13	13:11:56	2763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862255,6,'Unique',3)
2023-10-13	13:11:56	2763	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:56	2763	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:56	2763	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862254
2023-10-13	13:11:56	2763	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:56	2763	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnique\"}]|clabels=0|options={\"1862254\":[1862254,8,1,\"choisir la taille\"],\"1862255\":[\"Unique\"]}|' WHERE `virtuemart_product_id` = 1862254
2023-10-13	13:11:56	2763	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:56	2763	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862255
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:56	2764	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field taille
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:56	2764	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:56	2764	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:56	2764	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:56	2764	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:56	2764	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:56	2764	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field published
2023-10-13	13:11:56	2764	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:56	2764	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field override
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:56	2764	[DEBUG]	Use field value for field slug
2023-10-13	13:11:56	2764	[DEBUG]	Process line 2764
2023-10-13	13:11:56	2764	[DEBUG]	Load a row
2023-10-13	13:11:56	2764	[DEBUG]	Processing item: A_2498_40
2023-10-13	13:11:56	2764	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:56	2764	[DEBUG]	Processing product tax
2023-10-13	13:11:56	2764	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:56	2764	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:56	2764	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:56	2764	[DEBUG]	Query for Product
2023-10-13	13:11:56	2764	[DEBUG]	Executed store
2023-10-13	13:11:56	2764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2498_40','0.269','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:56	2764	[DEBUG]	Check product language entry
2023-10-13	13:11:56	2764	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862256
2023-10-13	13:11:56	2764	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:56	2764	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2498_40' AND `virtuemart_product_id` != 1862256
2023-10-13	13:11:56	2764	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:56	2764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862256, 'A_2498_40')
2023-10-13	13:11:56	2764	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:56	2764	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-680mm-plat-light-alu7050t6-msc-31-8mm-5-pour-29er-vert' AND `virtuemart_product_id` != 1862256
2023-10-13	13:11:56	2764	[DEBUG]	Query for ProductLang
2023-10-13	13:11:56	2764	[DEBUG]	Executed store
2023-10-13	13:11:56	2764	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='227gr<br>N° art fourn : ALUBAR680',`product_name`='MSC GUIDON 680mm PLAT LIGHT Alu7050T6 MSC 31.8mm 5º  pour 29Er / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-680mm-plat-light-alu7050t6-msc-31-8mm-5-pour-29er-vert' WHERE `virtuemart_product_id` = '1862256'
2023-10-13	13:11:56	2764	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9263.jpg
2023-10-13	13:11:56	2764	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:56	2764	[DEBUG]	Process image file
2023-10-13	13:11:56	2764	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:56	2764	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:56	2764	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9263.jpg
2023-10-13	13:11:56	2764	[DEBUG]	Full name target: bcprisme/image_9263.jpg
2023-10-13	13:11:57	2764	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:57	2764	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_9263.jpg'
2023-10-13	13:11:57	2764	[DEBUG]	Query for Media
2023-10-13	13:11:57	2764	[DEBUG]	Executed store
2023-10-13	13:11:57	2764	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_9263.jpg',`file_url_thumb`='bcprisme/image_9263.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16584'
2023-10-13	13:11:57	2764	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:57	2764	[DEBUG]	Executed store
2023-10-13	13:11:57	2764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862256','16584','1')
2023-10-13	13:11:57	2764	[DEBUG]	Store product image relation
2023-10-13	13:11:57	2764	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:57	2764	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862256 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:57	2764	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:57	2764	[DEBUG]	Executed store
2023-10-13	13:11:57	2764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862256','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:57	2764	[DEBUG]	Checking manufacturer
2023-10-13	13:11:57	2764	[DEBUG]	Load a row
2023-10-13	13:11:57	2764	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:57	2764	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:57	2764	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:57	2764	[DEBUG]	Executed store
2023-10-13	13:11:57	2764	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:57	2764	[DEBUG]	Manufacturer exists
2023-10-13	13:11:57	2764	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:57	2764	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:57	2764	[DEBUG]	Executed store
2023-10-13	13:11:57	2764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862256','32')
2023-10-13	13:11:57	2764	[DEBUG]	Find the custom field ID
2023-10-13	13:11:57	2764	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:57	2764	[DEBUG]	No custom field ID found
2023-10-13	13:11:57	2764	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:57	2764	[DEBUG]	Get existing row with customfield value 79.6780555555556
2023-10-13	13:11:57	2764	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862256 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:57	2764	[DEBUG]	Store custom available field
2023-10-13	13:11:57	2764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862256,3,'79.6780555555556',1)
2023-10-13	13:11:57	2764	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:57	2764	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:57	2764	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862256 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:57	2764	[DEBUG]	Store custom available field
2023-10-13	13:11:57	2764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862256,6,'choisir la taille',3)
2023-10-13	13:11:57	2764	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:57	2764	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:57	2764	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:57	2764	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:57	2764	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862256 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:57	2764	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:57	2764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862256,8,1)
2023-10-13	13:11:57	2764	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:57	2764	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862256\":[1862256,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862256
2023-10-13	13:11:57	2764	[DEBUG]	Checking category
2023-10-13	13:11:57	2764	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:57	2764	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862256
2023-10-13	13:11:57	2764	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:57	2764	[DEBUG]	Executed store
2023-10-13	13:11:57	2764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862256','7357')
2023-10-13	13:11:57	2764	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:57	2764	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862256 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:57	2764	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:57	2764	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862256
2023-10-13	13:11:57	2765	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:57	2765	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:57	2765	[DEBUG]	Use field value for field taille
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:57	2765	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:57	2765	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:57	2765	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:57	2765	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:57	2765	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:57	2765	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:57	2765	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:57	2765	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:57	2765	[DEBUG]	Use field value for field published
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:57	2765	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field override
2023-10-13	13:11:57	2765	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:57	2765	[DEBUG]	Use field value for field slug
2023-10-13	13:11:57	2765	[DEBUG]	Process line 2765
2023-10-13	13:11:57	2765	[DEBUG]	Load a row
2023-10-13	13:11:57	2765	[DEBUG]	Processing item: 1000000041309
2023-10-13	13:11:57	2765	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:57	2765	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:57	2765	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2498_40'
2023-10-13	13:11:57	2765	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:57	2765	[DEBUG]	Processing product tax
2023-10-13	13:11:57	2765	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:57	2765	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:57	2765	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:57	2765	[DEBUG]	Query for Product
2023-10-13	13:11:57	2765	[DEBUG]	Executed store
2023-10-13	13:11:57	2765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862256','1000000041309','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:57	2765	[DEBUG]	No parent found
2023-10-13	13:11:57	2765	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862256 AND customfield_value = 'stockable'
2023-10-13	13:11:57	2765	[DEBUG]	Check product language entry
2023-10-13	13:11:57	2765	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862257
2023-10-13	13:11:57	2765	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:57	2765	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000041309' AND `virtuemart_product_id` != 1862257
2023-10-13	13:11:57	2765	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:57	2765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862257, '1000000041309')
2023-10-13	13:11:57	2765	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:57	2765	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-680mm-plat-light-alu7050t6-msc-31-8mm-5-pour-29er-vert-unique' AND `virtuemart_product_id` != 1862257
2023-10-13	13:11:57	2765	[DEBUG]	Query for ProductLang
2023-10-13	13:11:57	2765	[DEBUG]	Executed store
2023-10-13	13:11:57	2765	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 680mm PLAT LIGHT Alu7050T6 MSC 31.8mm 5º  pour 29Er / Vert (Unique)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-680mm-plat-light-alu7050t6-msc-31-8mm-5-pour-29er-vert-unique' WHERE `virtuemart_product_id` = '1862257'
2023-10-13	13:11:57	2765	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9263.jpg
2023-10-13	13:11:57	2765	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:57	2765	[DEBUG]	Process image file
2023-10-13	13:11:57	2765	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:57	2765	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:57	2765	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9263.jpg
2023-10-13	13:11:57	2765	[DEBUG]	Full name target: bcprisme/image_9263.jpg
2023-10-13	13:11:58	2765	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:58	2765	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_9263.jpg'
2023-10-13	13:11:58	2765	[DEBUG]	Query for Media
2023-10-13	13:11:58	2765	[DEBUG]	Executed store
2023-10-13	13:11:58	2765	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_9263.jpg',`file_url_thumb`='bcprisme/image_9263.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16584'
2023-10-13	13:11:58	2765	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:58	2765	[DEBUG]	Executed store
2023-10-13	13:11:58	2765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862257','16584','1')
2023-10-13	13:11:58	2765	[DEBUG]	Store product image relation
2023-10-13	13:11:58	2765	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:58	2765	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862257 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:58	2765	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:58	2765	[DEBUG]	Executed store
2023-10-13	13:11:58	2765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862257','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:58	2765	[DEBUG]	Checking manufacturer
2023-10-13	13:11:58	2765	[DEBUG]	Load a row
2023-10-13	13:11:58	2765	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:58	2765	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:58	2765	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:58	2765	[DEBUG]	Executed store
2023-10-13	13:11:58	2765	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:58	2765	[DEBUG]	Manufacturer exists
2023-10-13	13:11:58	2765	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:58	2765	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:58	2765	[DEBUG]	Executed store
2023-10-13	13:11:58	2765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862257','32')
2023-10-13	13:11:58	2765	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:58	2765	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:11:58	2765	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862257 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:58	2765	[DEBUG]	Store custom available field
2023-10-13	13:11:58	2765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862257,3,'',1)
2023-10-13	13:11:58	2765	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:58	2765	[DEBUG]	Get existing row with customfield value Unique
2023-10-13	13:11:58	2765	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862257 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:58	2765	[DEBUG]	Store custom available field
2023-10-13	13:11:58	2765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862257,6,'Unique',3)
2023-10-13	13:11:58	2765	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:58	2765	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:11:58	2765	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862256
2023-10-13	13:11:58	2765	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:58	2765	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnique\"}]|clabels=0|options={\"1862256\":[1862256,8,1,\"choisir la taille\"],\"1862257\":[\"Unique\"]}|' WHERE `virtuemart_product_id` = 1862256
2023-10-13	13:11:58	2765	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:58	2765	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862257
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:58	2766	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field taille
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field category_path
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:58	2766	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:11:58	2766	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:58	2766	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field product_weight
2023-10-13	13:11:58	2766	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:58	2766	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:58	2766	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field published
2023-10-13	13:11:58	2766	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:58	2766	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field custom_title
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field custom_param
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field override
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field public_price
2023-10-13	13:11:58	2766	[DEBUG]	Use field value for field slug
2023-10-13	13:11:58	2766	[DEBUG]	Process line 2766
2023-10-13	13:11:58	2766	[DEBUG]	Load a row
2023-10-13	13:11:58	2766	[DEBUG]	Processing item: A_2965_1
2023-10-13	13:11:58	2766	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:58	2766	[DEBUG]	Processing product tax
2023-10-13	13:11:58	2766	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:58	2766	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:58	2766	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:58	2766	[DEBUG]	Query for Product
2023-10-13	13:11:58	2766	[DEBUG]	Executed store
2023-10-13	13:11:58	2766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2965_1','0.24','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:58	2766	[DEBUG]	Check product language entry
2023-10-13	13:11:58	2766	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862258
2023-10-13	13:11:58	2766	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:58	2766	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2965_1' AND `virtuemart_product_id` != 1862258
2023-10-13	13:11:58	2766	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:58	2766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862258, 'A_2965_1')
2023-10-13	13:11:58	2766	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:58	2766	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-noir' AND `virtuemart_product_id` != 1862258
2023-10-13	13:11:58	2766	[DEBUG]	Query for ProductLang
2023-10-13	13:11:58	2766	[DEBUG]	Executed store
2023-10-13	13:11:58	2766	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon plat Alu7050T6 MSC 740mm 31.8Ø 5º<br>N° art fourn : ALUBAR740',`product_name`='MSC GUIDON 740mm PLAT LIGHT Alu7050T6 MSC 31.8Ø 5º / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-noir' WHERE `virtuemart_product_id` = '1862258'
2023-10-13	13:11:58	2766	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12357.jpg
2023-10-13	13:11:58	2766	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:58	2766	[DEBUG]	Process image file
2023-10-13	13:11:58	2766	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:58	2766	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:58	2766	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12357.jpg
2023-10-13	13:11:58	2766	[DEBUG]	Full name target: bcprisme/image_12357.jpg
2023-10-13	13:11:59	2766	[DEBUG]	Checking if the file_url exists
2023-10-13	13:11:59	2766	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12357.jpg'
2023-10-13	13:11:59	2766	[DEBUG]	Query for Media
2023-10-13	13:11:59	2766	[DEBUG]	Executed store
2023-10-13	13:11:59	2766	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12357.jpg',`file_url_thumb`='bcprisme/image_12357.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12941'
2023-10-13	13:11:59	2766	[DEBUG]	Query for ProductMedia
2023-10-13	13:11:59	2766	[DEBUG]	Executed store
2023-10-13	13:11:59	2766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862258','12941','1')
2023-10-13	13:11:59	2766	[DEBUG]	Store product image relation
2023-10-13	13:11:59	2766	[DEBUG]	Finding a product_price_id
2023-10-13	13:11:59	2766	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862258 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:11:59	2766	[DEBUG]	Query for ProductPrice
2023-10-13	13:11:59	2766	[DEBUG]	Executed store
2023-10-13	13:11:59	2766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862258','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:11:59	2766	[DEBUG]	Checking manufacturer
2023-10-13	13:11:59	2766	[DEBUG]	Load a row
2023-10-13	13:11:59	2766	[DEBUG]	Manufacturer already exists
2023-10-13	13:11:59	2766	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:59	2766	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:11:59	2766	[DEBUG]	Executed store
2023-10-13	13:11:59	2766	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:11:59	2766	[DEBUG]	Manufacturer exists
2023-10-13	13:11:59	2766	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:11:59	2766	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:11:59	2766	[DEBUG]	Executed store
2023-10-13	13:11:59	2766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862258','32')
2023-10-13	13:11:59	2766	[DEBUG]	Find the custom field ID
2023-10-13	13:11:59	2766	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:11:59	2766	[DEBUG]	No custom field ID found
2023-10-13	13:11:59	2766	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:11:59	2766	[DEBUG]	Get existing row with customfield value 89.6502777777778
2023-10-13	13:11:59	2766	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862258 AND `virtuemart_custom_id` = 3
2023-10-13	13:11:59	2766	[DEBUG]	Store custom available field
2023-10-13	13:11:59	2766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862258,3,'89.6502777777778',1)
2023-10-13	13:11:59	2766	[DEBUG]	Processing custom available field: taille
2023-10-13	13:11:59	2766	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:11:59	2766	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862258 AND `virtuemart_custom_id` = 6
2023-10-13	13:11:59	2766	[DEBUG]	Store custom available field
2023-10-13	13:11:59	2766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862258,6,'choisir la taille',3)
2023-10-13	13:11:59	2766	[DEBUG]	Process multi-variant fields
2023-10-13	13:11:59	2766	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:11:59	2766	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:11:59	2766	[DEBUG]	Find the multi variant product entry
2023-10-13	13:11:59	2766	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862258 AND `virtuemart_custom_id` = 8
2023-10-13	13:11:59	2766	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:11:59	2766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862258,8,1)
2023-10-13	13:11:59	2766	[DEBUG]	Store the updated customfield_params
2023-10-13	13:11:59	2766	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862258\":[1862258,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862258
2023-10-13	13:11:59	2766	[DEBUG]	Checking category
2023-10-13	13:11:59	2766	[DEBUG]	Get the existing categories for the product
2023-10-13	13:11:59	2766	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862258
2023-10-13	13:11:59	2766	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:11:59	2766	[DEBUG]	Executed store
2023-10-13	13:11:59	2766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862258','7357')
2023-10-13	13:11:59	2766	[DEBUG]	Delete leftover product categories
2023-10-13	13:11:59	2766	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862258 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:11:59	2766	[DEBUG]	Update has fields after all processing
2023-10-13	13:11:59	2766	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862258
2023-10-13	13:11:59	2767	[DEBUG]	Use field value for field product_sku
2023-10-13	13:11:59	2767	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:11:59	2767	[DEBUG]	Use field value for field taille
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:11:59	2767	[DEBUG]	Use field value for field product_name
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field category_path
2023-10-13	13:11:59	2767	[DEBUG]	Use field value for field product_price
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:11:59	2767	[DEBUG]	Use field value for field product_tax
2023-10-13	13:11:59	2767	[DEBUG]	Use field value for field file_url
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field product_desc
2023-10-13	13:11:59	2767	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:11:59	2767	[DEBUG]	Use field value for field product_availability
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field product_weight
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field product_unit
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field related_products
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field product_special
2023-10-13	13:11:59	2767	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:11:59	2767	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:11:59	2767	[DEBUG]	Use field value for field published
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field metadesc
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field metakey
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field custom_title
2023-10-13	13:11:59	2767	[DEBUG]	Use field value for field custom_value
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field custom_param
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field override
2023-10-13	13:11:59	2767	[DEBUG]	Use default value for field public_price
2023-10-13	13:11:59	2767	[DEBUG]	Use field value for field slug
2023-10-13	13:11:59	2767	[DEBUG]	Process line 2767
2023-10-13	13:11:59	2767	[DEBUG]	Load a row
2023-10-13	13:11:59	2767	[DEBUG]	Processing item: 8436550193725
2023-10-13	13:11:59	2767	[DEBUG]	Looking for parent SKU
2023-10-13	13:11:59	2767	[DEBUG]	Checking product parent SKU
2023-10-13	13:11:59	2767	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2965_1'
2023-10-13	13:11:59	2767	[DEBUG]	Product tax: 7.7
2023-10-13	13:11:59	2767	[DEBUG]	Processing product tax
2023-10-13	13:11:59	2767	[DEBUG]	Check if calculation rule exists
2023-10-13	13:11:59	2767	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:11:59	2767	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:11:59	2767	[DEBUG]	Query for Product
2023-10-13	13:11:59	2767	[DEBUG]	Executed store
2023-10-13	13:11:59	2767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862258','8436550193725','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:11:59	2767	[DEBUG]	No parent found
2023-10-13	13:11:59	2767	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862258 AND customfield_value = 'stockable'
2023-10-13	13:11:59	2767	[DEBUG]	Check product language entry
2023-10-13	13:11:59	2767	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862259
2023-10-13	13:11:59	2767	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:59	2767	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550193725' AND `virtuemart_product_id` != 1862259
2023-10-13	13:11:59	2767	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:11:59	2767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862259, '8436550193725')
2023-10-13	13:11:59	2767	[DEBUG]	Check if the product slug exists
2023-10-13	13:11:59	2767	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-noir-unitaire' AND `virtuemart_product_id` != 1862259
2023-10-13	13:11:59	2767	[DEBUG]	Query for ProductLang
2023-10-13	13:11:59	2767	[DEBUG]	Executed store
2023-10-13	13:11:59	2767	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 740mm PLAT LIGHT Alu7050T6 MSC 31.8Ø 5º / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-noir-unitaire' WHERE `virtuemart_product_id` = '1862259'
2023-10-13	13:11:59	2767	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12357.jpg
2023-10-13	13:11:59	2767	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:59	2767	[DEBUG]	Process image file
2023-10-13	13:11:59	2767	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:11:59	2767	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:11:59	2767	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12357.jpg
2023-10-13	13:11:59	2767	[DEBUG]	Full name target: bcprisme/image_12357.jpg
2023-10-13	13:12:00	2767	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:00	2767	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12357.jpg'
2023-10-13	13:12:00	2767	[DEBUG]	Query for Media
2023-10-13	13:12:00	2767	[DEBUG]	Executed store
2023-10-13	13:12:00	2767	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12357.jpg',`file_url_thumb`='bcprisme/image_12357.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12941'
2023-10-13	13:12:00	2767	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:00	2767	[DEBUG]	Executed store
2023-10-13	13:12:00	2767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862259','12941','1')
2023-10-13	13:12:00	2767	[DEBUG]	Store product image relation
2023-10-13	13:12:00	2767	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:00	2767	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862259 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:00	2767	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:00	2767	[DEBUG]	Executed store
2023-10-13	13:12:00	2767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862259','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:00	2767	[DEBUG]	Checking manufacturer
2023-10-13	13:12:00	2767	[DEBUG]	Load a row
2023-10-13	13:12:00	2767	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:00	2767	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:00	2767	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:00	2767	[DEBUG]	Executed store
2023-10-13	13:12:00	2767	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:00	2767	[DEBUG]	Manufacturer exists
2023-10-13	13:12:00	2767	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:00	2767	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:00	2767	[DEBUG]	Executed store
2023-10-13	13:12:00	2767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862259','32')
2023-10-13	13:12:00	2767	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:00	2767	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:00	2767	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862259 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:00	2767	[DEBUG]	Store custom available field
2023-10-13	13:12:00	2767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862259,3,'',1)
2023-10-13	13:12:00	2767	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:00	2767	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:00	2767	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862259 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:00	2767	[DEBUG]	Store custom available field
2023-10-13	13:12:00	2767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862259,6,'Unitaire',3)
2023-10-13	13:12:00	2767	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:00	2767	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:00	2767	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862258
2023-10-13	13:12:00	2767	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:00	2767	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862258\":[1862258,8,1,\"choisir la taille\"],\"1862259\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862258
2023-10-13	13:12:00	2767	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:00	2767	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862259
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:00	2768	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field taille
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:00	2768	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:00	2768	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:00	2768	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:00	2768	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:00	2768	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:00	2768	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field published
2023-10-13	13:12:00	2768	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:00	2768	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field override
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:00	2768	[DEBUG]	Use field value for field slug
2023-10-13	13:12:00	2768	[DEBUG]	Process line 2768
2023-10-13	13:12:00	2768	[DEBUG]	Load a row
2023-10-13	13:12:00	2768	[DEBUG]	Processing item: A_2965_5
2023-10-13	13:12:00	2768	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:00	2768	[DEBUG]	Processing product tax
2023-10-13	13:12:00	2768	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:00	2768	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:00	2768	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:00	2768	[DEBUG]	Query for Product
2023-10-13	13:12:00	2768	[DEBUG]	Executed store
2023-10-13	13:12:00	2768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2965_5','0.24','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:00	2768	[DEBUG]	Check product language entry
2023-10-13	13:12:00	2768	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862260
2023-10-13	13:12:00	2768	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:00	2768	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2965_5' AND `virtuemart_product_id` != 1862260
2023-10-13	13:12:00	2768	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:00	2768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862260, 'A_2965_5')
2023-10-13	13:12:00	2768	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:00	2768	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-or' AND `virtuemart_product_id` != 1862260
2023-10-13	13:12:00	2768	[DEBUG]	Query for ProductLang
2023-10-13	13:12:00	2768	[DEBUG]	Executed store
2023-10-13	13:12:00	2768	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon plat Alu7050T6 MSC 740mm 31.8Ø 5º<br>N° art fourn : ALUBAR740',`product_name`='MSC GUIDON 740mm PLAT LIGHT Alu7050T6 MSC 31.8Ø 5º / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-or' WHERE `virtuemart_product_id` = '1862260'
2023-10-13	13:12:00	2768	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12360.jpg
2023-10-13	13:12:00	2768	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:00	2768	[DEBUG]	Process image file
2023-10-13	13:12:00	2768	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:00	2768	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:00	2768	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12360.jpg
2023-10-13	13:12:00	2768	[DEBUG]	Full name target: bcprisme/image_12360.jpg
2023-10-13	13:12:01	2768	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:01	2768	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12360.jpg'
2023-10-13	13:12:01	2768	[DEBUG]	Query for Media
2023-10-13	13:12:01	2768	[DEBUG]	Executed store
2023-10-13	13:12:01	2768	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12360.jpg',`file_url_thumb`='bcprisme/image_12360.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12942'
2023-10-13	13:12:01	2768	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:01	2768	[DEBUG]	Executed store
2023-10-13	13:12:01	2768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862260','12942','1')
2023-10-13	13:12:01	2768	[DEBUG]	Store product image relation
2023-10-13	13:12:01	2768	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:01	2768	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862260 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:01	2768	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:01	2768	[DEBUG]	Executed store
2023-10-13	13:12:01	2768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862260','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:01	2768	[DEBUG]	Checking manufacturer
2023-10-13	13:12:01	2768	[DEBUG]	Load a row
2023-10-13	13:12:01	2768	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:01	2768	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:01	2768	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:01	2768	[DEBUG]	Executed store
2023-10-13	13:12:01	2768	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:01	2768	[DEBUG]	Manufacturer exists
2023-10-13	13:12:01	2768	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:01	2768	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:01	2768	[DEBUG]	Executed store
2023-10-13	13:12:01	2768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862260','32')
2023-10-13	13:12:01	2768	[DEBUG]	Find the custom field ID
2023-10-13	13:12:01	2768	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:01	2768	[DEBUG]	No custom field ID found
2023-10-13	13:12:01	2768	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:01	2768	[DEBUG]	Get existing row with customfield value 89.6502777777778
2023-10-13	13:12:01	2768	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862260 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:01	2768	[DEBUG]	Store custom available field
2023-10-13	13:12:01	2768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862260,3,'89.6502777777778',1)
2023-10-13	13:12:01	2768	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:01	2768	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:01	2768	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862260 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:01	2768	[DEBUG]	Store custom available field
2023-10-13	13:12:01	2768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862260,6,'choisir la taille',3)
2023-10-13	13:12:01	2768	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:01	2768	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:01	2768	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:01	2768	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:01	2768	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862260 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:01	2768	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:01	2768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862260,8,1)
2023-10-13	13:12:01	2768	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:01	2768	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862260\":[1862260,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862260
2023-10-13	13:12:01	2768	[DEBUG]	Checking category
2023-10-13	13:12:01	2768	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:01	2768	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862260
2023-10-13	13:12:01	2768	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:01	2768	[DEBUG]	Executed store
2023-10-13	13:12:01	2768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862260','7357')
2023-10-13	13:12:01	2768	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:01	2768	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862260 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:12:01	2768	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:01	2768	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862260
2023-10-13	13:12:01	2769	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:01	2769	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:01	2769	[DEBUG]	Use field value for field taille
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:01	2769	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:01	2769	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:01	2769	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:01	2769	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:01	2769	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:01	2769	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:01	2769	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:01	2769	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:01	2769	[DEBUG]	Use field value for field published
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:01	2769	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field override
2023-10-13	13:12:01	2769	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:01	2769	[DEBUG]	Use field value for field slug
2023-10-13	13:12:01	2769	[DEBUG]	Process line 2769
2023-10-13	13:12:01	2769	[DEBUG]	Load a row
2023-10-13	13:12:01	2769	[DEBUG]	Processing item: 8436550194050
2023-10-13	13:12:01	2769	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:01	2769	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:01	2769	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2965_5'
2023-10-13	13:12:01	2769	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:01	2769	[DEBUG]	Processing product tax
2023-10-13	13:12:01	2769	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:01	2769	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:01	2769	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:01	2769	[DEBUG]	Query for Product
2023-10-13	13:12:01	2769	[DEBUG]	Executed store
2023-10-13	13:12:01	2769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862260','8436550194050','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:01	2769	[DEBUG]	No parent found
2023-10-13	13:12:01	2769	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862260 AND customfield_value = 'stockable'
2023-10-13	13:12:01	2769	[DEBUG]	Check product language entry
2023-10-13	13:12:01	2769	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862261
2023-10-13	13:12:01	2769	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:01	2769	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550194050' AND `virtuemart_product_id` != 1862261
2023-10-13	13:12:01	2769	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:01	2769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862261, '8436550194050')
2023-10-13	13:12:01	2769	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:01	2769	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-or-unitaire' AND `virtuemart_product_id` != 1862261
2023-10-13	13:12:01	2769	[DEBUG]	Query for ProductLang
2023-10-13	13:12:01	2769	[DEBUG]	Executed store
2023-10-13	13:12:01	2769	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 740mm PLAT LIGHT Alu7050T6 MSC 31.8Ø 5º / Or (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-or-unitaire' WHERE `virtuemart_product_id` = '1862261'
2023-10-13	13:12:01	2769	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12360.jpg
2023-10-13	13:12:01	2769	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:01	2769	[DEBUG]	Process image file
2023-10-13	13:12:01	2769	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:01	2769	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:01	2769	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12360.jpg
2023-10-13	13:12:01	2769	[DEBUG]	Full name target: bcprisme/image_12360.jpg
2023-10-13	13:12:02	2769	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:02	2769	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12360.jpg'
2023-10-13	13:12:02	2769	[DEBUG]	Query for Media
2023-10-13	13:12:02	2769	[DEBUG]	Executed store
2023-10-13	13:12:02	2769	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12360.jpg',`file_url_thumb`='bcprisme/image_12360.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12942'
2023-10-13	13:12:02	2769	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:02	2769	[DEBUG]	Executed store
2023-10-13	13:12:02	2769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862261','12942','1')
2023-10-13	13:12:02	2769	[DEBUG]	Store product image relation
2023-10-13	13:12:02	2769	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:02	2769	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862261 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:02	2769	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:02	2769	[DEBUG]	Executed store
2023-10-13	13:12:02	2769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862261','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:02	2769	[DEBUG]	Checking manufacturer
2023-10-13	13:12:02	2769	[DEBUG]	Load a row
2023-10-13	13:12:02	2769	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:02	2769	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:02	2769	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:02	2769	[DEBUG]	Executed store
2023-10-13	13:12:02	2769	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:02	2769	[DEBUG]	Manufacturer exists
2023-10-13	13:12:02	2769	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:02	2769	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:02	2769	[DEBUG]	Executed store
2023-10-13	13:12:02	2769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862261','32')
2023-10-13	13:12:02	2769	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:02	2769	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:02	2769	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862261 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:02	2769	[DEBUG]	Store custom available field
2023-10-13	13:12:02	2769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862261,3,'',1)
2023-10-13	13:12:02	2769	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:02	2769	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:02	2769	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862261 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:02	2769	[DEBUG]	Store custom available field
2023-10-13	13:12:02	2769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862261,6,'Unitaire',3)
2023-10-13	13:12:02	2769	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:02	2769	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:02	2769	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862260
2023-10-13	13:12:02	2769	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:02	2769	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862260\":[1862260,8,1,\"choisir la taille\"],\"1862261\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862260
2023-10-13	13:12:02	2769	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:02	2769	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862261
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:02	2770	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field taille
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:02	2770	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:02	2770	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:02	2770	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:02	2770	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:02	2770	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:02	2770	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field published
2023-10-13	13:12:02	2770	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:02	2770	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field override
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:02	2770	[DEBUG]	Use field value for field slug
2023-10-13	13:12:02	2770	[DEBUG]	Process line 2770
2023-10-13	13:12:02	2770	[DEBUG]	Load a row
2023-10-13	13:12:02	2770	[DEBUG]	Processing item: A_2965_7
2023-10-13	13:12:02	2770	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:02	2770	[DEBUG]	Processing product tax
2023-10-13	13:12:02	2770	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:02	2770	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:02	2770	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:02	2770	[DEBUG]	Query for Product
2023-10-13	13:12:02	2770	[DEBUG]	Executed store
2023-10-13	13:12:02	2770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2965_7','0.24','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:02	2770	[DEBUG]	Check product language entry
2023-10-13	13:12:02	2770	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862262
2023-10-13	13:12:02	2770	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:02	2770	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2965_7' AND `virtuemart_product_id` != 1862262
2023-10-13	13:12:02	2770	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:02	2770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862262, 'A_2965_7')
2023-10-13	13:12:02	2770	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:02	2770	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-rouge' AND `virtuemart_product_id` != 1862262
2023-10-13	13:12:02	2770	[DEBUG]	Query for ProductLang
2023-10-13	13:12:02	2770	[DEBUG]	Executed store
2023-10-13	13:12:02	2770	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon plat Alu7050T6 MSC 740mm 31.8Ø 5º<br>N° art fourn : ALUBAR740',`product_name`='MSC GUIDON 740mm PLAT LIGHT Alu7050T6 MSC 31.8Ø 5º / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-rouge' WHERE `virtuemart_product_id` = '1862262'
2023-10-13	13:12:02	2770	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12361.jpg
2023-10-13	13:12:02	2770	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:02	2770	[DEBUG]	Process image file
2023-10-13	13:12:02	2770	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:02	2770	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:02	2770	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12361.jpg
2023-10-13	13:12:02	2770	[DEBUG]	Full name target: bcprisme/image_12361.jpg
2023-10-13	13:12:03	2770	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:03	2770	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12361.jpg'
2023-10-13	13:12:03	2770	[DEBUG]	Query for Media
2023-10-13	13:12:03	2770	[DEBUG]	Executed store
2023-10-13	13:12:04	2770	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12361.jpg',`file_url_thumb`='bcprisme/image_12361.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12943'
2023-10-13	13:12:04	2770	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:04	2770	[DEBUG]	Executed store
2023-10-13	13:12:04	2770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862262','12943','1')
2023-10-13	13:12:04	2770	[DEBUG]	Store product image relation
2023-10-13	13:12:04	2770	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:04	2770	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862262 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:04	2770	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:04	2770	[DEBUG]	Executed store
2023-10-13	13:12:04	2770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862262','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:04	2770	[DEBUG]	Checking manufacturer
2023-10-13	13:12:04	2770	[DEBUG]	Load a row
2023-10-13	13:12:04	2770	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:04	2770	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:04	2770	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:04	2770	[DEBUG]	Executed store
2023-10-13	13:12:04	2770	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:04	2770	[DEBUG]	Manufacturer exists
2023-10-13	13:12:04	2770	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:04	2770	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:04	2770	[DEBUG]	Executed store
2023-10-13	13:12:04	2770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862262','32')
2023-10-13	13:12:04	2770	[DEBUG]	Find the custom field ID
2023-10-13	13:12:04	2770	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:04	2770	[DEBUG]	No custom field ID found
2023-10-13	13:12:04	2770	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:04	2770	[DEBUG]	Get existing row with customfield value 89.6502777777778
2023-10-13	13:12:04	2770	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862262 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:04	2770	[DEBUG]	Store custom available field
2023-10-13	13:12:04	2770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862262,3,'89.6502777777778',1)
2023-10-13	13:12:04	2770	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:04	2770	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:04	2770	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862262 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:04	2770	[DEBUG]	Store custom available field
2023-10-13	13:12:04	2770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862262,6,'choisir la taille',3)
2023-10-13	13:12:04	2770	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:04	2770	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:04	2770	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:04	2770	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:04	2770	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862262 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:04	2770	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:04	2770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862262,8,1)
2023-10-13	13:12:04	2770	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:04	2770	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862262\":[1862262,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862262
2023-10-13	13:12:04	2770	[DEBUG]	Checking category
2023-10-13	13:12:04	2770	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:04	2770	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862262
2023-10-13	13:12:04	2770	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:04	2770	[DEBUG]	Executed store
2023-10-13	13:12:04	2770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862262','7357')
2023-10-13	13:12:04	2770	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:04	2770	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862262 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:12:04	2770	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:04	2770	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862262
2023-10-13	13:12:04	2771	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:04	2771	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:04	2771	[DEBUG]	Use field value for field taille
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:04	2771	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:04	2771	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:04	2771	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:04	2771	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:04	2771	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:04	2771	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:04	2771	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:04	2771	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:04	2771	[DEBUG]	Use field value for field published
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:04	2771	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field override
2023-10-13	13:12:04	2771	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:04	2771	[DEBUG]	Use field value for field slug
2023-10-13	13:12:04	2771	[DEBUG]	Process line 2771
2023-10-13	13:12:04	2771	[DEBUG]	Load a row
2023-10-13	13:12:04	2771	[DEBUG]	Processing item: 8436550194043
2023-10-13	13:12:04	2771	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:04	2771	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:04	2771	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2965_7'
2023-10-13	13:12:04	2771	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:04	2771	[DEBUG]	Processing product tax
2023-10-13	13:12:04	2771	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:04	2771	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:04	2771	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:04	2771	[DEBUG]	Query for Product
2023-10-13	13:12:04	2771	[DEBUG]	Executed store
2023-10-13	13:12:04	2771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862262','8436550194043','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:04	2771	[DEBUG]	No parent found
2023-10-13	13:12:04	2771	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862262 AND customfield_value = 'stockable'
2023-10-13	13:12:04	2771	[DEBUG]	Check product language entry
2023-10-13	13:12:04	2771	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862263
2023-10-13	13:12:04	2771	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:04	2771	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550194043' AND `virtuemart_product_id` != 1862263
2023-10-13	13:12:04	2771	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:04	2771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862263, '8436550194043')
2023-10-13	13:12:04	2771	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:04	2771	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-rouge-unitaire' AND `virtuemart_product_id` != 1862263
2023-10-13	13:12:04	2771	[DEBUG]	Query for ProductLang
2023-10-13	13:12:04	2771	[DEBUG]	Executed store
2023-10-13	13:12:04	2771	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 740mm PLAT LIGHT Alu7050T6 MSC 31.8Ø 5º / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-rouge-unitaire' WHERE `virtuemart_product_id` = '1862263'
2023-10-13	13:12:04	2771	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12361.jpg
2023-10-13	13:12:04	2771	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:04	2771	[DEBUG]	Process image file
2023-10-13	13:12:04	2771	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:04	2771	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:04	2771	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12361.jpg
2023-10-13	13:12:04	2771	[DEBUG]	Full name target: bcprisme/image_12361.jpg
2023-10-13	13:12:05	2771	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:05	2771	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12361.jpg'
2023-10-13	13:12:05	2771	[DEBUG]	Query for Media
2023-10-13	13:12:05	2771	[DEBUG]	Executed store
2023-10-13	13:12:05	2771	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12361.jpg',`file_url_thumb`='bcprisme/image_12361.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12943'
2023-10-13	13:12:05	2771	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:05	2771	[DEBUG]	Executed store
2023-10-13	13:12:05	2771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862263','12943','1')
2023-10-13	13:12:05	2771	[DEBUG]	Store product image relation
2023-10-13	13:12:05	2771	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:05	2771	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862263 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:05	2771	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:05	2771	[DEBUG]	Executed store
2023-10-13	13:12:05	2771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862263','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:05	2771	[DEBUG]	Checking manufacturer
2023-10-13	13:12:05	2771	[DEBUG]	Load a row
2023-10-13	13:12:05	2771	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:05	2771	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:05	2771	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:05	2771	[DEBUG]	Executed store
2023-10-13	13:12:05	2771	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:05	2771	[DEBUG]	Manufacturer exists
2023-10-13	13:12:05	2771	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:05	2771	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:05	2771	[DEBUG]	Executed store
2023-10-13	13:12:05	2771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862263','32')
2023-10-13	13:12:05	2771	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:05	2771	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:05	2771	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862263 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:05	2771	[DEBUG]	Store custom available field
2023-10-13	13:12:05	2771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862263,3,'',1)
2023-10-13	13:12:05	2771	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:05	2771	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:05	2771	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862263 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:05	2771	[DEBUG]	Store custom available field
2023-10-13	13:12:05	2771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862263,6,'Unitaire',3)
2023-10-13	13:12:05	2771	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:05	2771	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:05	2771	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862262
2023-10-13	13:12:05	2771	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:05	2771	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862262\":[1862262,8,1,\"choisir la taille\"],\"1862263\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862262
2023-10-13	13:12:05	2771	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:05	2771	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862263
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:05	2772	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field taille
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:05	2772	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:05	2772	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:05	2772	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:05	2772	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:05	2772	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:05	2772	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field published
2023-10-13	13:12:05	2772	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:05	2772	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field override
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:05	2772	[DEBUG]	Use field value for field slug
2023-10-13	13:12:05	2772	[DEBUG]	Process line 2772
2023-10-13	13:12:05	2772	[DEBUG]	Load a row
2023-10-13	13:12:05	2772	[DEBUG]	Processing item: A_2965_22
2023-10-13	13:12:05	2772	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:05	2772	[DEBUG]	Processing product tax
2023-10-13	13:12:05	2772	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:05	2772	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:05	2772	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:05	2772	[DEBUG]	Query for Product
2023-10-13	13:12:05	2772	[DEBUG]	Executed store
2023-10-13	13:12:05	2772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2965_22','0.24','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:05	2772	[DEBUG]	Check product language entry
2023-10-13	13:12:05	2772	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862264
2023-10-13	13:12:05	2772	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:05	2772	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2965_22' AND `virtuemart_product_id` != 1862264
2023-10-13	13:12:05	2772	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:05	2772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862264, 'A_2965_22')
2023-10-13	13:12:05	2772	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:05	2772	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-bleu' AND `virtuemart_product_id` != 1862264
2023-10-13	13:12:05	2772	[DEBUG]	Query for ProductLang
2023-10-13	13:12:05	2772	[DEBUG]	Executed store
2023-10-13	13:12:05	2772	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon plat Alu7050T6 MSC 740mm 31.8Ø 5º<br>N° art fourn : ALUBAR740',`product_name`='MSC GUIDON 740mm PLAT LIGHT Alu7050T6 MSC 31.8Ø 5º / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-bleu' WHERE `virtuemart_product_id` = '1862264'
2023-10-13	13:12:05	2772	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12359.jpg
2023-10-13	13:12:05	2772	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:05	2772	[DEBUG]	Process image file
2023-10-13	13:12:05	2772	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:05	2772	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:05	2772	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12359.jpg
2023-10-13	13:12:05	2772	[DEBUG]	Full name target: bcprisme/image_12359.jpg
2023-10-13	13:12:06	2772	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:06	2772	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12359.jpg'
2023-10-13	13:12:06	2772	[DEBUG]	Query for Media
2023-10-13	13:12:06	2772	[DEBUG]	Executed store
2023-10-13	13:12:06	2772	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12359.jpg',`file_url_thumb`='bcprisme/image_12359.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12944'
2023-10-13	13:12:06	2772	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:06	2772	[DEBUG]	Executed store
2023-10-13	13:12:06	2772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862264','12944','1')
2023-10-13	13:12:06	2772	[DEBUG]	Store product image relation
2023-10-13	13:12:06	2772	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:06	2772	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862264 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:06	2772	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:06	2772	[DEBUG]	Executed store
2023-10-13	13:12:06	2772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862264','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:06	2772	[DEBUG]	Checking manufacturer
2023-10-13	13:12:06	2772	[DEBUG]	Load a row
2023-10-13	13:12:06	2772	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:06	2772	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:06	2772	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:06	2772	[DEBUG]	Executed store
2023-10-13	13:12:06	2772	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:06	2772	[DEBUG]	Manufacturer exists
2023-10-13	13:12:06	2772	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:06	2772	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:06	2772	[DEBUG]	Executed store
2023-10-13	13:12:06	2772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862264','32')
2023-10-13	13:12:06	2772	[DEBUG]	Find the custom field ID
2023-10-13	13:12:06	2772	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:06	2772	[DEBUG]	No custom field ID found
2023-10-13	13:12:06	2772	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:06	2772	[DEBUG]	Get existing row with customfield value 89.6502777777778
2023-10-13	13:12:06	2772	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862264 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:06	2772	[DEBUG]	Store custom available field
2023-10-13	13:12:06	2772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862264,3,'89.6502777777778',1)
2023-10-13	13:12:06	2772	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:06	2772	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:06	2772	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862264 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:06	2772	[DEBUG]	Store custom available field
2023-10-13	13:12:06	2772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862264,6,'choisir la taille',3)
2023-10-13	13:12:06	2772	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:06	2772	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:06	2772	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:06	2772	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:06	2772	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862264 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:06	2772	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:06	2772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862264,8,1)
2023-10-13	13:12:06	2772	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:06	2772	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862264\":[1862264,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862264
2023-10-13	13:12:06	2772	[DEBUG]	Checking category
2023-10-13	13:12:06	2772	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:06	2772	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862264
2023-10-13	13:12:06	2772	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:06	2772	[DEBUG]	Executed store
2023-10-13	13:12:06	2772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862264','7357')
2023-10-13	13:12:06	2772	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:06	2772	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862264 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:12:06	2772	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:06	2772	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862264
2023-10-13	13:12:06	2773	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:06	2773	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:06	2773	[DEBUG]	Use field value for field taille
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:06	2773	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:06	2773	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:06	2773	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:06	2773	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:06	2773	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:06	2773	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:06	2773	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:06	2773	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:06	2773	[DEBUG]	Use field value for field published
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:06	2773	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field override
2023-10-13	13:12:06	2773	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:06	2773	[DEBUG]	Use field value for field slug
2023-10-13	13:12:06	2773	[DEBUG]	Process line 2773
2023-10-13	13:12:06	2773	[DEBUG]	Load a row
2023-10-13	13:12:06	2773	[DEBUG]	Processing item: 1000000049336
2023-10-13	13:12:06	2773	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:06	2773	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:06	2773	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2965_22'
2023-10-13	13:12:06	2773	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:06	2773	[DEBUG]	Processing product tax
2023-10-13	13:12:06	2773	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:06	2773	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:06	2773	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:06	2773	[DEBUG]	Query for Product
2023-10-13	13:12:06	2773	[DEBUG]	Executed store
2023-10-13	13:12:06	2773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862264','1000000049336','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:06	2773	[DEBUG]	No parent found
2023-10-13	13:12:06	2773	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862264 AND customfield_value = 'stockable'
2023-10-13	13:12:06	2773	[DEBUG]	Check product language entry
2023-10-13	13:12:06	2773	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862265
2023-10-13	13:12:06	2773	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:06	2773	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000049336' AND `virtuemart_product_id` != 1862265
2023-10-13	13:12:06	2773	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:06	2773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862265, '1000000049336')
2023-10-13	13:12:06	2773	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:06	2773	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-bleu-unitaire' AND `virtuemart_product_id` != 1862265
2023-10-13	13:12:06	2773	[DEBUG]	Query for ProductLang
2023-10-13	13:12:06	2773	[DEBUG]	Executed store
2023-10-13	13:12:06	2773	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 740mm PLAT LIGHT Alu7050T6 MSC 31.8Ø 5º / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-bleu-unitaire' WHERE `virtuemart_product_id` = '1862265'
2023-10-13	13:12:06	2773	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12359.jpg
2023-10-13	13:12:06	2773	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:06	2773	[DEBUG]	Process image file
2023-10-13	13:12:06	2773	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:06	2773	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:06	2773	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12359.jpg
2023-10-13	13:12:06	2773	[DEBUG]	Full name target: bcprisme/image_12359.jpg
2023-10-13	13:12:07	2773	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:07	2773	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12359.jpg'
2023-10-13	13:12:07	2773	[DEBUG]	Query for Media
2023-10-13	13:12:07	2773	[DEBUG]	Executed store
2023-10-13	13:12:07	2773	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12359.jpg',`file_url_thumb`='bcprisme/image_12359.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12944'
2023-10-13	13:12:07	2773	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:07	2773	[DEBUG]	Executed store
2023-10-13	13:12:07	2773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862265','12944','1')
2023-10-13	13:12:07	2773	[DEBUG]	Store product image relation
2023-10-13	13:12:07	2773	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:07	2773	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862265 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:07	2773	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:07	2773	[DEBUG]	Executed store
2023-10-13	13:12:07	2773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862265','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:07	2773	[DEBUG]	Checking manufacturer
2023-10-13	13:12:07	2773	[DEBUG]	Load a row
2023-10-13	13:12:07	2773	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:07	2773	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:07	2773	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:07	2773	[DEBUG]	Executed store
2023-10-13	13:12:07	2773	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:07	2773	[DEBUG]	Manufacturer exists
2023-10-13	13:12:07	2773	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:07	2773	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:07	2773	[DEBUG]	Executed store
2023-10-13	13:12:07	2773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862265','32')
2023-10-13	13:12:07	2773	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:07	2773	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:07	2773	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862265 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:07	2773	[DEBUG]	Store custom available field
2023-10-13	13:12:07	2773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862265,3,'',1)
2023-10-13	13:12:07	2773	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:07	2773	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:07	2773	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862265 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:07	2773	[DEBUG]	Store custom available field
2023-10-13	13:12:07	2773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862265,6,'Unitaire',3)
2023-10-13	13:12:07	2773	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:07	2773	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:07	2773	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862264
2023-10-13	13:12:07	2773	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:07	2773	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862264\":[1862264,8,1,\"choisir la taille\"],\"1862265\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862264
2023-10-13	13:12:07	2773	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:07	2773	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862265
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:07	2774	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field taille
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:07	2774	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:07	2774	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:07	2774	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:07	2774	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:07	2774	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:07	2774	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field published
2023-10-13	13:12:07	2774	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:07	2774	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field override
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:07	2774	[DEBUG]	Use field value for field slug
2023-10-13	13:12:07	2774	[DEBUG]	Process line 2774
2023-10-13	13:12:07	2774	[DEBUG]	Load a row
2023-10-13	13:12:07	2774	[DEBUG]	Processing item: A_2965_40
2023-10-13	13:12:07	2774	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:07	2774	[DEBUG]	Processing product tax
2023-10-13	13:12:07	2774	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:07	2774	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:07	2774	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:07	2774	[DEBUG]	Query for Product
2023-10-13	13:12:07	2774	[DEBUG]	Executed store
2023-10-13	13:12:07	2774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2965_40','0.24','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:07	2774	[DEBUG]	Check product language entry
2023-10-13	13:12:07	2774	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862266
2023-10-13	13:12:07	2774	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:07	2774	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2965_40' AND `virtuemart_product_id` != 1862266
2023-10-13	13:12:07	2774	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:07	2774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862266, 'A_2965_40')
2023-10-13	13:12:07	2774	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:07	2774	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-vert' AND `virtuemart_product_id` != 1862266
2023-10-13	13:12:07	2774	[DEBUG]	Query for ProductLang
2023-10-13	13:12:07	2774	[DEBUG]	Executed store
2023-10-13	13:12:07	2774	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon plat Alu7050T6 MSC 740mm 31.8Ø 5º<br>N° art fourn : ALUBAR740',`product_name`='MSC GUIDON 740mm PLAT LIGHT Alu7050T6 MSC 31.8Ø 5º / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-vert' WHERE `virtuemart_product_id` = '1862266'
2023-10-13	13:12:07	2774	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12362.jpg
2023-10-13	13:12:07	2774	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:07	2774	[DEBUG]	Process image file
2023-10-13	13:12:07	2774	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:07	2774	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:07	2774	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12362.jpg
2023-10-13	13:12:07	2774	[DEBUG]	Full name target: bcprisme/image_12362.jpg
2023-10-13	13:12:08	2774	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:08	2774	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12362.jpg'
2023-10-13	13:12:08	2774	[DEBUG]	Query for Media
2023-10-13	13:12:08	2774	[DEBUG]	Executed store
2023-10-13	13:12:08	2774	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12362.jpg',`file_url_thumb`='bcprisme/image_12362.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12945'
2023-10-13	13:12:08	2774	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:08	2774	[DEBUG]	Executed store
2023-10-13	13:12:08	2774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862266','12945','1')
2023-10-13	13:12:08	2774	[DEBUG]	Store product image relation
2023-10-13	13:12:08	2774	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:08	2774	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862266 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:08	2774	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:08	2774	[DEBUG]	Executed store
2023-10-13	13:12:08	2774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862266','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:08	2774	[DEBUG]	Checking manufacturer
2023-10-13	13:12:08	2774	[DEBUG]	Load a row
2023-10-13	13:12:08	2774	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:08	2774	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:08	2774	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:08	2774	[DEBUG]	Executed store
2023-10-13	13:12:08	2774	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:08	2774	[DEBUG]	Manufacturer exists
2023-10-13	13:12:08	2774	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:08	2774	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:08	2774	[DEBUG]	Executed store
2023-10-13	13:12:08	2774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862266','32')
2023-10-13	13:12:08	2774	[DEBUG]	Find the custom field ID
2023-10-13	13:12:08	2774	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:08	2774	[DEBUG]	No custom field ID found
2023-10-13	13:12:08	2774	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:08	2774	[DEBUG]	Get existing row with customfield value 89.6502777777778
2023-10-13	13:12:08	2774	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862266 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:08	2774	[DEBUG]	Store custom available field
2023-10-13	13:12:08	2774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862266,3,'89.6502777777778',1)
2023-10-13	13:12:08	2774	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:08	2774	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:08	2774	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862266 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:08	2774	[DEBUG]	Store custom available field
2023-10-13	13:12:08	2774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862266,6,'choisir la taille',3)
2023-10-13	13:12:08	2774	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:08	2774	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:08	2774	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:08	2774	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:08	2774	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862266 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:08	2774	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:08	2774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862266,8,1)
2023-10-13	13:12:08	2774	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:08	2774	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862266\":[1862266,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862266
2023-10-13	13:12:08	2774	[DEBUG]	Checking category
2023-10-13	13:12:08	2774	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:08	2774	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862266
2023-10-13	13:12:08	2774	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:08	2774	[DEBUG]	Executed store
2023-10-13	13:12:08	2774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862266','7357')
2023-10-13	13:12:08	2774	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:08	2774	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862266 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:12:08	2774	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:08	2774	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862266
2023-10-13	13:12:08	2775	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:08	2775	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:08	2775	[DEBUG]	Use field value for field taille
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:08	2775	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:08	2775	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:08	2775	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:08	2775	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:08	2775	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:08	2775	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:08	2775	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:08	2775	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:08	2775	[DEBUG]	Use field value for field published
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:08	2775	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field override
2023-10-13	13:12:08	2775	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:08	2775	[DEBUG]	Use field value for field slug
2023-10-13	13:12:08	2775	[DEBUG]	Process line 2775
2023-10-13	13:12:08	2775	[DEBUG]	Load a row
2023-10-13	13:12:08	2775	[DEBUG]	Processing item: 1000000049299
2023-10-13	13:12:08	2775	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:08	2775	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:08	2775	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2965_40'
2023-10-13	13:12:08	2775	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:08	2775	[DEBUG]	Processing product tax
2023-10-13	13:12:08	2775	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:08	2775	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:08	2775	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:08	2775	[DEBUG]	Query for Product
2023-10-13	13:12:08	2775	[DEBUG]	Executed store
2023-10-13	13:12:08	2775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862266','1000000049299','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:08	2775	[DEBUG]	No parent found
2023-10-13	13:12:08	2775	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862266 AND customfield_value = 'stockable'
2023-10-13	13:12:08	2775	[DEBUG]	Check product language entry
2023-10-13	13:12:08	2775	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862267
2023-10-13	13:12:08	2775	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:08	2775	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000049299' AND `virtuemart_product_id` != 1862267
2023-10-13	13:12:08	2775	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:08	2775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862267, '1000000049299')
2023-10-13	13:12:08	2775	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:08	2775	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-vert-unitaire' AND `virtuemart_product_id` != 1862267
2023-10-13	13:12:08	2775	[DEBUG]	Query for ProductLang
2023-10-13	13:12:08	2775	[DEBUG]	Executed store
2023-10-13	13:12:08	2775	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 740mm PLAT LIGHT Alu7050T6 MSC 31.8Ø 5º / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-light-alu7050t6-msc-31-8o-5-vert-unitaire' WHERE `virtuemart_product_id` = '1862267'
2023-10-13	13:12:08	2775	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12362.jpg
2023-10-13	13:12:08	2775	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:08	2775	[DEBUG]	Process image file
2023-10-13	13:12:08	2775	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:08	2775	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:08	2775	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12362.jpg
2023-10-13	13:12:08	2775	[DEBUG]	Full name target: bcprisme/image_12362.jpg
2023-10-13	13:12:09	2775	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:09	2775	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12362.jpg'
2023-10-13	13:12:09	2775	[DEBUG]	Query for Media
2023-10-13	13:12:09	2775	[DEBUG]	Executed store
2023-10-13	13:12:09	2775	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12362.jpg',`file_url_thumb`='bcprisme/image_12362.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12945'
2023-10-13	13:12:09	2775	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:09	2775	[DEBUG]	Executed store
2023-10-13	13:12:09	2775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862267','12945','1')
2023-10-13	13:12:09	2775	[DEBUG]	Store product image relation
2023-10-13	13:12:09	2775	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:09	2775	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862267 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:09	2775	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:09	2775	[DEBUG]	Executed store
2023-10-13	13:12:09	2775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862267','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:09	2775	[DEBUG]	Checking manufacturer
2023-10-13	13:12:09	2775	[DEBUG]	Load a row
2023-10-13	13:12:09	2775	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:09	2775	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:09	2775	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:09	2775	[DEBUG]	Executed store
2023-10-13	13:12:09	2775	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:09	2775	[DEBUG]	Manufacturer exists
2023-10-13	13:12:09	2775	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:09	2775	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:09	2775	[DEBUG]	Executed store
2023-10-13	13:12:09	2775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862267','32')
2023-10-13	13:12:09	2775	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:09	2775	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:09	2775	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862267 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:09	2775	[DEBUG]	Store custom available field
2023-10-13	13:12:09	2775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862267,3,'',1)
2023-10-13	13:12:09	2775	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:09	2775	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:09	2775	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862267 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:09	2775	[DEBUG]	Store custom available field
2023-10-13	13:12:09	2775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862267,6,'Unitaire',3)
2023-10-13	13:12:09	2775	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:09	2775	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:09	2775	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862266
2023-10-13	13:12:09	2775	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:09	2775	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862266\":[1862266,8,1,\"choisir la taille\"],\"1862267\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862266
2023-10-13	13:12:09	2775	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:09	2775	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862267
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:09	2776	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field taille
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:09	2776	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:09	2776	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:09	2776	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:09	2776	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:09	2776	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:09	2776	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field published
2023-10-13	13:12:09	2776	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:09	2776	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field override
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:09	2776	[DEBUG]	Use field value for field slug
2023-10-13	13:12:09	2776	[DEBUG]	Process line 2776
2023-10-13	13:12:09	2776	[DEBUG]	Load a row
2023-10-13	13:12:09	2776	[DEBUG]	Processing item: A_3121_25
2023-10-13	13:12:09	2776	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:09	2776	[DEBUG]	Processing product tax
2023-10-13	13:12:09	2776	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:09	2776	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:09	2776	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:09	2776	[DEBUG]	Query for Product
2023-10-13	13:12:09	2776	[DEBUG]	Executed store
2023-10-13	13:12:09	2776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3121_25','0.187','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:09	2776	[DEBUG]	Check product language entry
2023-10-13	13:12:09	2776	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862268
2023-10-13	13:12:09	2776	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:09	2776	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3121_25' AND `virtuemart_product_id` != 1862268
2023-10-13	13:12:09	2776	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:09	2776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862268, 'A_3121_25')
2023-10-13	13:12:09	2776	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:09	2776	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-carbone-msc-ultralight-noir-blanc' AND `virtuemart_product_id` != 1862268
2023-10-13	13:12:09	2776	[DEBUG]	Query for ProductLang
2023-10-13	13:12:09	2776	[DEBUG]	Executed store
2023-10-13	13:12:09	2776	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon plat carbone MSC ULTRALIGHT 740mm, poids de 187 gr.<br>N° art fourn : UD01740WH',`product_name`='MSC GUIDON 740mm PLAT CARBONE MSC ULTRALIGHT  / Noir-blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-carbone-msc-ultralight-noir-blanc' WHERE `virtuemart_product_id` = '1862268'
2023-10-13	13:12:09	2776	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14556.jpg
2023-10-13	13:12:09	2776	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:09	2776	[DEBUG]	Process image file
2023-10-13	13:12:09	2776	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:09	2776	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:09	2776	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14556.jpg
2023-10-13	13:12:09	2776	[DEBUG]	Full name target: bcprisme/image_14556.jpg
2023-10-13	13:12:10	2776	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:10	2776	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_14556.jpg'
2023-10-13	13:12:10	2776	[DEBUG]	Query for Media
2023-10-13	13:12:10	2776	[DEBUG]	Executed store
2023-10-13	13:12:10	2776	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_14556.jpg',`file_url_thumb`='bcprisme/image_14556.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16585'
2023-10-13	13:12:10	2776	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:10	2776	[DEBUG]	Executed store
2023-10-13	13:12:10	2776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862268','16585','1')
2023-10-13	13:12:10	2776	[DEBUG]	Store product image relation
2023-10-13	13:12:10	2776	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:10	2776	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862268 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:10	2776	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:10	2776	[DEBUG]	Executed store
2023-10-13	13:12:10	2776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862268','0','241.318477251625','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:10	2776	[DEBUG]	Checking manufacturer
2023-10-13	13:12:10	2776	[DEBUG]	Load a row
2023-10-13	13:12:10	2776	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:10	2776	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:10	2776	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:10	2776	[DEBUG]	Executed store
2023-10-13	13:12:10	2776	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:10	2776	[DEBUG]	Manufacturer exists
2023-10-13	13:12:10	2776	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:10	2776	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:10	2776	[DEBUG]	Executed store
2023-10-13	13:12:10	2776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862268','32')
2023-10-13	13:12:10	2776	[DEBUG]	Find the custom field ID
2023-10-13	13:12:10	2776	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:10	2776	[DEBUG]	No custom field ID found
2023-10-13	13:12:10	2776	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:10	2776	[DEBUG]	Get existing row with customfield value 229.261388888889
2023-10-13	13:12:10	2776	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862268 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:10	2776	[DEBUG]	Store custom available field
2023-10-13	13:12:10	2776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862268,3,'229.261388888889',1)
2023-10-13	13:12:10	2776	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:10	2776	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:10	2776	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862268 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:10	2776	[DEBUG]	Store custom available field
2023-10-13	13:12:10	2776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862268,6,'choisir la taille',3)
2023-10-13	13:12:10	2776	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:10	2776	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:10	2776	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:10	2776	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:10	2776	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862268 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:10	2776	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:10	2776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862268,8,1)
2023-10-13	13:12:10	2776	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:10	2776	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862268\":[1862268,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862268
2023-10-13	13:12:10	2776	[DEBUG]	Checking category
2023-10-13	13:12:10	2776	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:10	2776	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862268
2023-10-13	13:12:10	2776	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:10	2776	[DEBUG]	Executed store
2023-10-13	13:12:10	2776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862268','7357')
2023-10-13	13:12:10	2776	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:10	2776	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862268 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:12:10	2776	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:10	2776	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862268
2023-10-13	13:12:10	2777	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:10	2777	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:10	2777	[DEBUG]	Use field value for field taille
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:10	2777	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:10	2777	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:10	2777	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:10	2777	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:10	2777	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:10	2777	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:10	2777	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:10	2777	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:10	2777	[DEBUG]	Use field value for field published
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:10	2777	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field override
2023-10-13	13:12:10	2777	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:10	2777	[DEBUG]	Use field value for field slug
2023-10-13	13:12:10	2777	[DEBUG]	Process line 2777
2023-10-13	13:12:10	2777	[DEBUG]	Load a row
2023-10-13	13:12:10	2777	[DEBUG]	Processing item: 8436550194845
2023-10-13	13:12:10	2777	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:10	2777	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:10	2777	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3121_25'
2023-10-13	13:12:10	2777	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:10	2777	[DEBUG]	Processing product tax
2023-10-13	13:12:10	2777	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:10	2777	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:10	2777	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:10	2777	[DEBUG]	Query for Product
2023-10-13	13:12:10	2777	[DEBUG]	Executed store
2023-10-13	13:12:10	2777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862268','8436550194845','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:10	2777	[DEBUG]	No parent found
2023-10-13	13:12:10	2777	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862268 AND customfield_value = 'stockable'
2023-10-13	13:12:10	2777	[DEBUG]	Check product language entry
2023-10-13	13:12:10	2777	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862269
2023-10-13	13:12:10	2777	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:10	2777	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550194845' AND `virtuemart_product_id` != 1862269
2023-10-13	13:12:10	2777	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:10	2777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862269, '8436550194845')
2023-10-13	13:12:10	2777	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:10	2777	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-carbone-msc-ultralight-noir-blanc-unitaire' AND `virtuemart_product_id` != 1862269
2023-10-13	13:12:10	2777	[DEBUG]	Query for ProductLang
2023-10-13	13:12:10	2777	[DEBUG]	Executed store
2023-10-13	13:12:10	2777	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 740mm PLAT CARBONE MSC ULTRALIGHT  / Noir-blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-carbone-msc-ultralight-noir-blanc-unitaire' WHERE `virtuemart_product_id` = '1862269'
2023-10-13	13:12:10	2777	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14556.jpg
2023-10-13	13:12:10	2777	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:10	2777	[DEBUG]	Process image file
2023-10-13	13:12:10	2777	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:10	2777	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:10	2777	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14556.jpg
2023-10-13	13:12:10	2777	[DEBUG]	Full name target: bcprisme/image_14556.jpg
2023-10-13	13:12:11	2777	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:11	2777	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_14556.jpg'
2023-10-13	13:12:11	2777	[DEBUG]	Query for Media
2023-10-13	13:12:11	2777	[DEBUG]	Executed store
2023-10-13	13:12:11	2777	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_14556.jpg',`file_url_thumb`='bcprisme/image_14556.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16585'
2023-10-13	13:12:11	2777	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:11	2777	[DEBUG]	Executed store
2023-10-13	13:12:11	2777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862269','16585','1')
2023-10-13	13:12:11	2777	[DEBUG]	Store product image relation
2023-10-13	13:12:11	2777	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:11	2777	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862269 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:11	2777	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:11	2777	[DEBUG]	Executed store
2023-10-13	13:12:11	2777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862269','0','241.318477251625','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:11	2777	[DEBUG]	Checking manufacturer
2023-10-13	13:12:11	2777	[DEBUG]	Load a row
2023-10-13	13:12:11	2777	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:11	2777	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:11	2777	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:11	2777	[DEBUG]	Executed store
2023-10-13	13:12:11	2777	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:11	2777	[DEBUG]	Manufacturer exists
2023-10-13	13:12:11	2777	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:11	2777	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:11	2777	[DEBUG]	Executed store
2023-10-13	13:12:11	2777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862269','32')
2023-10-13	13:12:11	2777	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:11	2777	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:11	2777	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862269 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:11	2777	[DEBUG]	Store custom available field
2023-10-13	13:12:11	2777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862269,3,'',1)
2023-10-13	13:12:11	2777	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:11	2777	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:11	2777	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862269 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:11	2777	[DEBUG]	Store custom available field
2023-10-13	13:12:11	2777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862269,6,'Unitaire',3)
2023-10-13	13:12:11	2777	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:11	2777	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:11	2777	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862268
2023-10-13	13:12:11	2777	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:11	2777	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862268\":[1862268,8,1,\"choisir la taille\"],\"1862269\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862268
2023-10-13	13:12:11	2777	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:11	2777	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862269
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:11	2778	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field taille
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:11	2778	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:11	2778	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:11	2778	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:11	2778	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:11	2778	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:11	2778	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field published
2023-10-13	13:12:11	2778	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:11	2778	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field override
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:11	2778	[DEBUG]	Use field value for field slug
2023-10-13	13:12:11	2778	[DEBUG]	Process line 2778
2023-10-13	13:12:11	2778	[DEBUG]	Load a row
2023-10-13	13:12:11	2778	[DEBUG]	Processing item: A_3121_35
2023-10-13	13:12:11	2778	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:11	2778	[DEBUG]	Processing product tax
2023-10-13	13:12:11	2778	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:11	2778	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:11	2778	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:11	2778	[DEBUG]	Query for Product
2023-10-13	13:12:11	2778	[DEBUG]	Executed store
2023-10-13	13:12:11	2778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3121_35','0.187','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:11	2778	[DEBUG]	Check product language entry
2023-10-13	13:12:11	2778	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862270
2023-10-13	13:12:11	2778	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:11	2778	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3121_35' AND `virtuemart_product_id` != 1862270
2023-10-13	13:12:11	2778	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:11	2778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862270, 'A_3121_35')
2023-10-13	13:12:11	2778	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:11	2778	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-carbone-msc-ultralight-noir-rouge' AND `virtuemart_product_id` != 1862270
2023-10-13	13:12:11	2778	[DEBUG]	Query for ProductLang
2023-10-13	13:12:11	2778	[DEBUG]	Executed store
2023-10-13	13:12:11	2778	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon plat carbone MSC ULTRALIGHT 740mm, poids de 187 gr.<br>N° art fourn : UD01740WH',`product_name`='MSC GUIDON 740mm PLAT CARBONE MSC ULTRALIGHT  / Noir-rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-carbone-msc-ultralight-noir-rouge' WHERE `virtuemart_product_id` = '1862270'
2023-10-13	13:12:11	2778	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14555.jpg
2023-10-13	13:12:11	2778	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:11	2778	[DEBUG]	Process image file
2023-10-13	13:12:11	2778	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:11	2778	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:11	2778	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14555.jpg
2023-10-13	13:12:11	2778	[DEBUG]	Full name target: bcprisme/image_14555.jpg
2023-10-13	13:12:12	2778	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:12	2778	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_14555.jpg'
2023-10-13	13:12:12	2778	[DEBUG]	Query for Media
2023-10-13	13:12:12	2778	[DEBUG]	Executed store
2023-10-13	13:12:12	2778	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_14555.jpg',`file_url_thumb`='bcprisme/image_14555.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16586'
2023-10-13	13:12:12	2778	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:12	2778	[DEBUG]	Executed store
2023-10-13	13:12:12	2778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862270','16586','1')
2023-10-13	13:12:12	2778	[DEBUG]	Store product image relation
2023-10-13	13:12:12	2778	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:12	2778	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862270 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:12	2778	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:12	2778	[DEBUG]	Executed store
2023-10-13	13:12:12	2778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862270','0','241.318477251625','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:12	2778	[DEBUG]	Checking manufacturer
2023-10-13	13:12:12	2778	[DEBUG]	Load a row
2023-10-13	13:12:12	2778	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:12	2778	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:12	2778	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:12	2778	[DEBUG]	Executed store
2023-10-13	13:12:12	2778	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:12	2778	[DEBUG]	Manufacturer exists
2023-10-13	13:12:12	2778	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:12	2778	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:12	2778	[DEBUG]	Executed store
2023-10-13	13:12:12	2778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862270','32')
2023-10-13	13:12:12	2778	[DEBUG]	Find the custom field ID
2023-10-13	13:12:12	2778	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:12	2778	[DEBUG]	No custom field ID found
2023-10-13	13:12:12	2778	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:12	2778	[DEBUG]	Get existing row with customfield value 229.261388888889
2023-10-13	13:12:12	2778	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862270 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:12	2778	[DEBUG]	Store custom available field
2023-10-13	13:12:12	2778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862270,3,'229.261388888889',1)
2023-10-13	13:12:12	2778	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:12	2778	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:12	2778	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862270 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:12	2778	[DEBUG]	Store custom available field
2023-10-13	13:12:12	2778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862270,6,'choisir la taille',3)
2023-10-13	13:12:12	2778	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:12	2778	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:12	2778	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:12	2778	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:12	2778	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862270 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:12	2778	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:12	2778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862270,8,1)
2023-10-13	13:12:12	2778	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:12	2778	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862270\":[1862270,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862270
2023-10-13	13:12:12	2778	[DEBUG]	Checking category
2023-10-13	13:12:12	2778	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:12	2778	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862270
2023-10-13	13:12:12	2778	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:12	2778	[DEBUG]	Executed store
2023-10-13	13:12:12	2778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862270','7357')
2023-10-13	13:12:12	2778	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:12	2778	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862270 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:12:12	2778	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:12	2778	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862270
2023-10-13	13:12:12	2779	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:12	2779	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:12	2779	[DEBUG]	Use field value for field taille
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:12	2779	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:12	2779	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:12	2779	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:12	2779	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:12	2779	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:12	2779	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:12	2779	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:12	2779	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:12	2779	[DEBUG]	Use field value for field published
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:12	2779	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field override
2023-10-13	13:12:12	2779	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:12	2779	[DEBUG]	Use field value for field slug
2023-10-13	13:12:12	2779	[DEBUG]	Process line 2779
2023-10-13	13:12:12	2779	[DEBUG]	Load a row
2023-10-13	13:12:12	2779	[DEBUG]	Processing item: 1000000056303
2023-10-13	13:12:12	2779	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:12	2779	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:12	2779	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3121_35'
2023-10-13	13:12:12	2779	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:12	2779	[DEBUG]	Processing product tax
2023-10-13	13:12:12	2779	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:12	2779	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:12	2779	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:12	2779	[DEBUG]	Query for Product
2023-10-13	13:12:12	2779	[DEBUG]	Executed store
2023-10-13	13:12:12	2779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862270','1000000056303','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:12	2779	[DEBUG]	No parent found
2023-10-13	13:12:12	2779	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862270 AND customfield_value = 'stockable'
2023-10-13	13:12:12	2779	[DEBUG]	Check product language entry
2023-10-13	13:12:12	2779	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862271
2023-10-13	13:12:12	2779	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:12	2779	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000056303' AND `virtuemart_product_id` != 1862271
2023-10-13	13:12:12	2779	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:12	2779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862271, '1000000056303')
2023-10-13	13:12:12	2779	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:12	2779	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-carbone-msc-ultralight-noir-rouge-unitaire' AND `virtuemart_product_id` != 1862271
2023-10-13	13:12:12	2779	[DEBUG]	Query for ProductLang
2023-10-13	13:12:12	2779	[DEBUG]	Executed store
2023-10-13	13:12:12	2779	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 740mm PLAT CARBONE MSC ULTRALIGHT  / Noir-rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-carbone-msc-ultralight-noir-rouge-unitaire' WHERE `virtuemart_product_id` = '1862271'
2023-10-13	13:12:12	2779	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14555.jpg
2023-10-13	13:12:12	2779	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:12	2779	[DEBUG]	Process image file
2023-10-13	13:12:12	2779	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:12	2779	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:12	2779	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14555.jpg
2023-10-13	13:12:12	2779	[DEBUG]	Full name target: bcprisme/image_14555.jpg
2023-10-13	13:12:13	2779	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:13	2779	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_14555.jpg'
2023-10-13	13:12:13	2779	[DEBUG]	Query for Media
2023-10-13	13:12:13	2779	[DEBUG]	Executed store
2023-10-13	13:12:13	2779	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_14555.jpg',`file_url_thumb`='bcprisme/image_14555.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16586'
2023-10-13	13:12:13	2779	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:13	2779	[DEBUG]	Executed store
2023-10-13	13:12:13	2779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862271','16586','1')
2023-10-13	13:12:13	2779	[DEBUG]	Store product image relation
2023-10-13	13:12:13	2779	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:13	2779	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862271 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:13	2779	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:13	2779	[DEBUG]	Executed store
2023-10-13	13:12:13	2779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862271','0','241.318477251625','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:13	2779	[DEBUG]	Checking manufacturer
2023-10-13	13:12:13	2779	[DEBUG]	Load a row
2023-10-13	13:12:13	2779	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:13	2779	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:13	2779	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:13	2779	[DEBUG]	Executed store
2023-10-13	13:12:13	2779	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:13	2779	[DEBUG]	Manufacturer exists
2023-10-13	13:12:13	2779	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:13	2779	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:13	2779	[DEBUG]	Executed store
2023-10-13	13:12:13	2779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862271','32')
2023-10-13	13:12:13	2779	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:13	2779	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:13	2779	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862271 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:13	2779	[DEBUG]	Store custom available field
2023-10-13	13:12:13	2779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862271,3,'',1)
2023-10-13	13:12:13	2779	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:13	2779	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:13	2779	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862271 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:13	2779	[DEBUG]	Store custom available field
2023-10-13	13:12:13	2779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862271,6,'Unitaire',3)
2023-10-13	13:12:13	2779	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:13	2779	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:13	2779	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862270
2023-10-13	13:12:13	2779	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:13	2779	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862270\":[1862270,8,1,\"choisir la taille\"],\"1862271\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862270
2023-10-13	13:12:13	2779	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:13	2779	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862271
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:13	2780	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field taille
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:13	2780	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:13	2780	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:13	2780	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:13	2780	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:13	2780	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:13	2780	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field published
2023-10-13	13:12:13	2780	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:13	2780	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field override
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:13	2780	[DEBUG]	Use field value for field slug
2023-10-13	13:12:13	2780	[DEBUG]	Process line 2780
2023-10-13	13:12:13	2780	[DEBUG]	Load a row
2023-10-13	13:12:13	2780	[DEBUG]	Processing item: A_3121_50
2023-10-13	13:12:13	2780	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:13	2780	[DEBUG]	Processing product tax
2023-10-13	13:12:13	2780	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:13	2780	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:13	2780	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:13	2780	[DEBUG]	Query for Product
2023-10-13	13:12:13	2780	[DEBUG]	Executed store
2023-10-13	13:12:13	2780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3121_50','0.187','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:13	2780	[DEBUG]	Check product language entry
2023-10-13	13:12:13	2780	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862272
2023-10-13	13:12:13	2780	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:13	2780	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3121_50' AND `virtuemart_product_id` != 1862272
2023-10-13	13:12:13	2780	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:13	2780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862272, 'A_3121_50')
2023-10-13	13:12:13	2780	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:13	2780	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-carbone-msc-ultralight-noir-bleu' AND `virtuemart_product_id` != 1862272
2023-10-13	13:12:13	2780	[DEBUG]	Query for ProductLang
2023-10-13	13:12:13	2780	[DEBUG]	Executed store
2023-10-13	13:12:13	2780	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon plat carbone MSC ULTRALIGHT 740mm, poids de 187 gr.<br>N° art fourn : UD01740WH',`product_name`='MSC GUIDON 740mm PLAT CARBONE MSC ULTRALIGHT  / Noir-bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-carbone-msc-ultralight-noir-bleu' WHERE `virtuemart_product_id` = '1862272'
2023-10-13	13:12:13	2780	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14554.jpg
2023-10-13	13:12:13	2780	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:13	2780	[DEBUG]	Process image file
2023-10-13	13:12:13	2780	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:13	2780	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:13	2780	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14554.jpg
2023-10-13	13:12:13	2780	[DEBUG]	Full name target: bcprisme/image_14554.jpg
2023-10-13	13:12:14	2780	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:14	2780	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_14554.jpg'
2023-10-13	13:12:14	2780	[DEBUG]	Query for Media
2023-10-13	13:12:14	2780	[DEBUG]	Executed store
2023-10-13	13:12:14	2780	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_14554.jpg',`file_url_thumb`='bcprisme/image_14554.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16587'
2023-10-13	13:12:14	2780	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:14	2780	[DEBUG]	Executed store
2023-10-13	13:12:14	2780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862272','16587','1')
2023-10-13	13:12:14	2780	[DEBUG]	Store product image relation
2023-10-13	13:12:14	2780	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:14	2780	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862272 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:14	2780	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:14	2780	[DEBUG]	Executed store
2023-10-13	13:12:14	2780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862272','0','241.318477251625','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:14	2780	[DEBUG]	Checking manufacturer
2023-10-13	13:12:14	2780	[DEBUG]	Load a row
2023-10-13	13:12:14	2780	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:14	2780	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:14	2780	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:14	2780	[DEBUG]	Executed store
2023-10-13	13:12:14	2780	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:14	2780	[DEBUG]	Manufacturer exists
2023-10-13	13:12:14	2780	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:14	2780	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:14	2780	[DEBUG]	Executed store
2023-10-13	13:12:14	2780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862272','32')
2023-10-13	13:12:14	2780	[DEBUG]	Find the custom field ID
2023-10-13	13:12:14	2780	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:14	2780	[DEBUG]	No custom field ID found
2023-10-13	13:12:14	2780	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:14	2780	[DEBUG]	Get existing row with customfield value 229.261388888889
2023-10-13	13:12:14	2780	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862272 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:14	2780	[DEBUG]	Store custom available field
2023-10-13	13:12:14	2780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862272,3,'229.261388888889',1)
2023-10-13	13:12:14	2780	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:14	2780	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:14	2780	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862272 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:14	2780	[DEBUG]	Store custom available field
2023-10-13	13:12:14	2780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862272,6,'choisir la taille',3)
2023-10-13	13:12:14	2780	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:14	2780	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:14	2780	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:14	2780	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:14	2780	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862272 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:14	2780	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:14	2780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862272,8,1)
2023-10-13	13:12:14	2780	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:14	2780	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862272\":[1862272,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862272
2023-10-13	13:12:14	2780	[DEBUG]	Checking category
2023-10-13	13:12:14	2780	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:14	2780	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862272
2023-10-13	13:12:14	2780	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:14	2780	[DEBUG]	Executed store
2023-10-13	13:12:14	2780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862272','7357')
2023-10-13	13:12:14	2780	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:14	2780	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862272 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:12:14	2780	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:14	2780	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862272
2023-10-13	13:12:14	2781	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:14	2781	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:14	2781	[DEBUG]	Use field value for field taille
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:14	2781	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:14	2781	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:14	2781	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:14	2781	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:14	2781	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:14	2781	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:14	2781	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:14	2781	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:14	2781	[DEBUG]	Use field value for field published
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:14	2781	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field override
2023-10-13	13:12:14	2781	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:14	2781	[DEBUG]	Use field value for field slug
2023-10-13	13:12:14	2781	[DEBUG]	Process line 2781
2023-10-13	13:12:14	2781	[DEBUG]	Load a row
2023-10-13	13:12:14	2781	[DEBUG]	Processing item: 1000000051148
2023-10-13	13:12:14	2781	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:14	2781	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:14	2781	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3121_50'
2023-10-13	13:12:14	2781	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:14	2781	[DEBUG]	Processing product tax
2023-10-13	13:12:14	2781	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:14	2781	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:14	2781	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:14	2781	[DEBUG]	Query for Product
2023-10-13	13:12:14	2781	[DEBUG]	Executed store
2023-10-13	13:12:14	2781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862272','1000000051148','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:14	2781	[DEBUG]	No parent found
2023-10-13	13:12:14	2781	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862272 AND customfield_value = 'stockable'
2023-10-13	13:12:14	2781	[DEBUG]	Check product language entry
2023-10-13	13:12:14	2781	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862273
2023-10-13	13:12:14	2781	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:14	2781	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000051148' AND `virtuemart_product_id` != 1862273
2023-10-13	13:12:14	2781	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:14	2781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862273, '1000000051148')
2023-10-13	13:12:14	2781	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:14	2781	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-carbone-msc-ultralight-noir-bleu-unitaire' AND `virtuemart_product_id` != 1862273
2023-10-13	13:12:14	2781	[DEBUG]	Query for ProductLang
2023-10-13	13:12:14	2781	[DEBUG]	Executed store
2023-10-13	13:12:14	2781	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 740mm PLAT CARBONE MSC ULTRALIGHT  / Noir-bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-carbone-msc-ultralight-noir-bleu-unitaire' WHERE `virtuemart_product_id` = '1862273'
2023-10-13	13:12:14	2781	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14554.jpg
2023-10-13	13:12:14	2781	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:14	2781	[DEBUG]	Process image file
2023-10-13	13:12:14	2781	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:14	2781	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:14	2781	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14554.jpg
2023-10-13	13:12:14	2781	[DEBUG]	Full name target: bcprisme/image_14554.jpg
2023-10-13	13:12:15	2781	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:15	2781	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_14554.jpg'
2023-10-13	13:12:15	2781	[DEBUG]	Query for Media
2023-10-13	13:12:15	2781	[DEBUG]	Executed store
2023-10-13	13:12:15	2781	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_14554.jpg',`file_url_thumb`='bcprisme/image_14554.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16587'
2023-10-13	13:12:15	2781	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:15	2781	[DEBUG]	Executed store
2023-10-13	13:12:15	2781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862273','16587','1')
2023-10-13	13:12:15	2781	[DEBUG]	Store product image relation
2023-10-13	13:12:15	2781	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:15	2781	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862273 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:15	2781	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:15	2781	[DEBUG]	Executed store
2023-10-13	13:12:15	2781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862273','0','241.318477251625','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:15	2781	[DEBUG]	Checking manufacturer
2023-10-13	13:12:15	2781	[DEBUG]	Load a row
2023-10-13	13:12:15	2781	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:15	2781	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:15	2781	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:15	2781	[DEBUG]	Executed store
2023-10-13	13:12:15	2781	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:15	2781	[DEBUG]	Manufacturer exists
2023-10-13	13:12:15	2781	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:15	2781	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:15	2781	[DEBUG]	Executed store
2023-10-13	13:12:15	2781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862273','32')
2023-10-13	13:12:15	2781	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:15	2781	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:15	2781	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862273 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:15	2781	[DEBUG]	Store custom available field
2023-10-13	13:12:15	2781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862273,3,'',1)
2023-10-13	13:12:15	2781	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:15	2781	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:15	2781	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862273 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:15	2781	[DEBUG]	Store custom available field
2023-10-13	13:12:15	2781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862273,6,'Unitaire',3)
2023-10-13	13:12:15	2781	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:15	2781	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:15	2781	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862272
2023-10-13	13:12:15	2781	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:15	2781	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862272\":[1862272,8,1,\"choisir la taille\"],\"1862273\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862272
2023-10-13	13:12:15	2781	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:15	2781	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862273
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:15	2782	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field taille
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:15	2782	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:15	2782	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:15	2782	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:15	2782	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:15	2782	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:15	2782	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field published
2023-10-13	13:12:15	2782	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:15	2782	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field override
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:15	2782	[DEBUG]	Use field value for field slug
2023-10-13	13:12:15	2782	[DEBUG]	Process line 2782
2023-10-13	13:12:15	2782	[DEBUG]	Load a row
2023-10-13	13:12:15	2782	[DEBUG]	Processing item: A_3121_151
2023-10-13	13:12:15	2782	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:15	2782	[DEBUG]	Processing product tax
2023-10-13	13:12:15	2782	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:15	2782	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:15	2782	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:15	2782	[DEBUG]	Query for Product
2023-10-13	13:12:15	2782	[DEBUG]	Executed store
2023-10-13	13:12:15	2782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3121_151','0.187','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:15	2782	[DEBUG]	Check product language entry
2023-10-13	13:12:15	2782	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862274
2023-10-13	13:12:15	2782	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:15	2782	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3121_151' AND `virtuemart_product_id` != 1862274
2023-10-13	13:12:15	2782	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:15	2782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862274, 'A_3121_151')
2023-10-13	13:12:15	2782	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:15	2782	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-carbone-msc-ultralight-noir-vert' AND `virtuemart_product_id` != 1862274
2023-10-13	13:12:15	2782	[DEBUG]	Query for ProductLang
2023-10-13	13:12:15	2782	[DEBUG]	Executed store
2023-10-13	13:12:15	2782	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon plat carbone MSC ULTRALIGHT 740mm, poids de 187 gr.<br>N° art fourn : UD01740WH',`product_name`='MSC GUIDON 740mm PLAT CARBONE MSC ULTRALIGHT  / Noir-vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-carbone-msc-ultralight-noir-vert' WHERE `virtuemart_product_id` = '1862274'
2023-10-13	13:12:15	2782	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14553.jpg
2023-10-13	13:12:15	2782	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:15	2782	[DEBUG]	Process image file
2023-10-13	13:12:15	2782	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:15	2782	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:15	2782	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14553.jpg
2023-10-13	13:12:15	2782	[DEBUG]	Full name target: bcprisme/image_14553.jpg
2023-10-13	13:12:16	2782	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:16	2782	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_14553.jpg'
2023-10-13	13:12:16	2782	[DEBUG]	Query for Media
2023-10-13	13:12:16	2782	[DEBUG]	Executed store
2023-10-13	13:12:16	2782	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_14553.jpg',`file_url_thumb`='bcprisme/image_14553.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16588'
2023-10-13	13:12:16	2782	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:16	2782	[DEBUG]	Executed store
2023-10-13	13:12:16	2782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862274','16588','1')
2023-10-13	13:12:16	2782	[DEBUG]	Store product image relation
2023-10-13	13:12:16	2782	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:16	2782	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862274 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:16	2782	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:16	2782	[DEBUG]	Executed store
2023-10-13	13:12:16	2782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862274','0','241.318477251625','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:16	2782	[DEBUG]	Checking manufacturer
2023-10-13	13:12:16	2782	[DEBUG]	Load a row
2023-10-13	13:12:16	2782	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:16	2782	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:16	2782	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:16	2782	[DEBUG]	Executed store
2023-10-13	13:12:16	2782	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:16	2782	[DEBUG]	Manufacturer exists
2023-10-13	13:12:16	2782	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:16	2782	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:16	2782	[DEBUG]	Executed store
2023-10-13	13:12:16	2782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862274','32')
2023-10-13	13:12:16	2782	[DEBUG]	Find the custom field ID
2023-10-13	13:12:16	2782	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:16	2782	[DEBUG]	No custom field ID found
2023-10-13	13:12:16	2782	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:16	2782	[DEBUG]	Get existing row with customfield value 229.261388888889
2023-10-13	13:12:16	2782	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862274 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:16	2782	[DEBUG]	Store custom available field
2023-10-13	13:12:16	2782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862274,3,'229.261388888889',1)
2023-10-13	13:12:16	2782	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:16	2782	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:16	2782	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862274 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:16	2782	[DEBUG]	Store custom available field
2023-10-13	13:12:16	2782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862274,6,'choisir la taille',3)
2023-10-13	13:12:16	2782	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:16	2782	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:16	2782	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:16	2782	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:16	2782	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862274 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:16	2782	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:16	2782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862274,8,1)
2023-10-13	13:12:16	2782	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:16	2782	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862274\":[1862274,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862274
2023-10-13	13:12:16	2782	[DEBUG]	Checking category
2023-10-13	13:12:16	2782	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:16	2782	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862274
2023-10-13	13:12:16	2782	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:16	2782	[DEBUG]	Executed store
2023-10-13	13:12:16	2782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862274','7357')
2023-10-13	13:12:16	2782	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:16	2782	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862274 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:12:16	2782	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:16	2782	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862274
2023-10-13	13:12:16	2783	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:16	2783	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:16	2783	[DEBUG]	Use field value for field taille
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:16	2783	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:16	2783	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:16	2783	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:16	2783	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:16	2783	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:16	2783	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:16	2783	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:16	2783	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:16	2783	[DEBUG]	Use field value for field published
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:16	2783	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field override
2023-10-13	13:12:16	2783	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:16	2783	[DEBUG]	Use field value for field slug
2023-10-13	13:12:16	2783	[DEBUG]	Process line 2783
2023-10-13	13:12:16	2783	[DEBUG]	Load a row
2023-10-13	13:12:16	2783	[DEBUG]	Processing item: 1000000051155
2023-10-13	13:12:16	2783	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:16	2783	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:16	2783	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3121_151'
2023-10-13	13:12:16	2783	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:16	2783	[DEBUG]	Processing product tax
2023-10-13	13:12:16	2783	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:16	2783	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:16	2783	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:16	2783	[DEBUG]	Query for Product
2023-10-13	13:12:16	2783	[DEBUG]	Executed store
2023-10-13	13:12:16	2783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862274','1000000051155','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:16	2783	[DEBUG]	No parent found
2023-10-13	13:12:16	2783	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862274 AND customfield_value = 'stockable'
2023-10-13	13:12:16	2783	[DEBUG]	Check product language entry
2023-10-13	13:12:16	2783	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862275
2023-10-13	13:12:16	2783	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:16	2783	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000051155' AND `virtuemart_product_id` != 1862275
2023-10-13	13:12:16	2783	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:16	2783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862275, '1000000051155')
2023-10-13	13:12:16	2783	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:16	2783	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-740mm-plat-carbone-msc-ultralight-noir-vert-unitaire' AND `virtuemart_product_id` != 1862275
2023-10-13	13:12:16	2783	[DEBUG]	Query for ProductLang
2023-10-13	13:12:16	2783	[DEBUG]	Executed store
2023-10-13	13:12:16	2783	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 740mm PLAT CARBONE MSC ULTRALIGHT  / Noir-vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-740mm-plat-carbone-msc-ultralight-noir-vert-unitaire' WHERE `virtuemart_product_id` = '1862275'
2023-10-13	13:12:16	2783	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14553.jpg
2023-10-13	13:12:16	2783	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:16	2783	[DEBUG]	Process image file
2023-10-13	13:12:16	2783	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:16	2783	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:16	2783	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14553.jpg
2023-10-13	13:12:16	2783	[DEBUG]	Full name target: bcprisme/image_14553.jpg
2023-10-13	13:12:17	2783	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:17	2783	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_14553.jpg'
2023-10-13	13:12:17	2783	[DEBUG]	Query for Media
2023-10-13	13:12:17	2783	[DEBUG]	Executed store
2023-10-13	13:12:17	2783	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_14553.jpg',`file_url_thumb`='bcprisme/image_14553.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16588'
2023-10-13	13:12:17	2783	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:17	2783	[DEBUG]	Executed store
2023-10-13	13:12:17	2783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862275','16588','1')
2023-10-13	13:12:17	2783	[DEBUG]	Store product image relation
2023-10-13	13:12:17	2783	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:17	2783	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862275 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:17	2783	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:17	2783	[DEBUG]	Executed store
2023-10-13	13:12:17	2783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862275','0','241.318477251625','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:17	2783	[DEBUG]	Checking manufacturer
2023-10-13	13:12:17	2783	[DEBUG]	Load a row
2023-10-13	13:12:17	2783	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:17	2783	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:17	2783	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:17	2783	[DEBUG]	Executed store
2023-10-13	13:12:17	2783	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:17	2783	[DEBUG]	Manufacturer exists
2023-10-13	13:12:17	2783	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:17	2783	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:17	2783	[DEBUG]	Executed store
2023-10-13	13:12:17	2783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862275','32')
2023-10-13	13:12:17	2783	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:17	2783	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:17	2783	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862275 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:17	2783	[DEBUG]	Store custom available field
2023-10-13	13:12:17	2783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862275,3,'',1)
2023-10-13	13:12:17	2783	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:17	2783	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:17	2783	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862275 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:17	2783	[DEBUG]	Store custom available field
2023-10-13	13:12:17	2783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862275,6,'Unitaire',3)
2023-10-13	13:12:17	2783	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:17	2783	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:17	2783	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862274
2023-10-13	13:12:17	2783	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:17	2783	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862274\":[1862274,8,1,\"choisir la taille\"],\"1862275\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862274
2023-10-13	13:12:17	2783	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:17	2783	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862275
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:17	2784	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field taille
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:17	2784	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:17	2784	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:17	2784	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:17	2784	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:17	2784	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:17	2784	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field published
2023-10-13	13:12:17	2784	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:17	2784	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field override
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:17	2784	[DEBUG]	Use field value for field slug
2023-10-13	13:12:17	2784	[DEBUG]	Process line 2784
2023-10-13	13:12:17	2784	[DEBUG]	Load a row
2023-10-13	13:12:17	2784	[DEBUG]	Processing item: A_3592_25
2023-10-13	13:12:17	2784	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:17	2784	[DEBUG]	Processing product tax
2023-10-13	13:12:17	2784	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:17	2784	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:17	2784	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:17	2784	[DEBUG]	Query for Product
2023-10-13	13:12:17	2784	[DEBUG]	Executed store
2023-10-13	13:12:17	2784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3592_25','0.142','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:17	2784	[DEBUG]	Check product language entry
2023-10-13	13:12:17	2784	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862276
2023-10-13	13:12:17	2784	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:17	2784	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3592_25' AND `virtuemart_product_id` != 1862276
2023-10-13	13:12:17	2784	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:17	2784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862276, 'A_3592_25')
2023-10-13	13:12:17	2784	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:17	2784	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-blanc' AND `virtuemart_product_id` != 1862276
2023-10-13	13:12:17	2784	[DEBUG]	Query for ProductLang
2023-10-13	13:12:17	2784	[DEBUG]	Executed store
2023-10-13	13:12:17	2784	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon double hauteur carbone MSC 1 710mm 31.8Ø<br>N° art fourn : UD02710\"',`product_name`='MSC GUIDON 710mm DOUBLE HAUTEUR carbone UD MSC 31.8Ø, 142 gr. / Noir-blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-blanc' WHERE `virtuemart_product_id` = '1862276'
2023-10-13	13:12:17	2784	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18181.jpg
2023-10-13	13:12:17	2784	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:17	2784	[DEBUG]	Process image file
2023-10-13	13:12:17	2784	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:17	2784	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:17	2784	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18181.jpg
2023-10-13	13:12:17	2784	[DEBUG]	Full name target: bcprisme/image_18181.jpg
2023-10-13	13:12:18	2784	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:18	2784	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18181.jpg'
2023-10-13	13:12:18	2784	[DEBUG]	Query for Media
2023-10-13	13:12:18	2784	[DEBUG]	Executed store
2023-10-13	13:12:18	2784	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18181.jpg',`file_url_thumb`='bcprisme/image_18181.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12946'
2023-10-13	13:12:18	2784	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:18	2784	[DEBUG]	Executed store
2023-10-13	13:12:18	2784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862276','12946','1')
2023-10-13	13:12:18	2784	[DEBUG]	Store product image relation
2023-10-13	13:12:18	2784	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:18	2784	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862276 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:18	2784	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:18	2784	[DEBUG]	Executed store
2023-10-13	13:12:18	2784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862276','0','212.859795728877','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:18	2784	[DEBUG]	Checking manufacturer
2023-10-13	13:12:18	2784	[DEBUG]	Load a row
2023-10-13	13:12:18	2784	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:18	2784	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:18	2784	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:18	2784	[DEBUG]	Executed store
2023-10-13	13:12:18	2784	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:18	2784	[DEBUG]	Manufacturer exists
2023-10-13	13:12:18	2784	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:18	2784	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:18	2784	[DEBUG]	Executed store
2023-10-13	13:12:18	2784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862276','32')
2023-10-13	13:12:18	2784	[DEBUG]	Find the custom field ID
2023-10-13	13:12:18	2784	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:18	2784	[DEBUG]	No custom field ID found
2023-10-13	13:12:18	2784	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:18	2784	[DEBUG]	Get existing row with customfield value 229.261388888889
2023-10-13	13:12:18	2784	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862276 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:18	2784	[DEBUG]	Store custom available field
2023-10-13	13:12:18	2784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862276,3,'229.261388888889',1)
2023-10-13	13:12:18	2784	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:18	2784	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:18	2784	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862276 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:18	2784	[DEBUG]	Store custom available field
2023-10-13	13:12:18	2784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862276,6,'choisir la taille',3)
2023-10-13	13:12:18	2784	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:18	2784	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:18	2784	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:18	2784	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:18	2784	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862276 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:18	2784	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:18	2784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862276,8,1)
2023-10-13	13:12:18	2784	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:18	2784	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862276\":[1862276,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862276
2023-10-13	13:12:18	2784	[DEBUG]	Checking category
2023-10-13	13:12:18	2784	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:18	2784	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862276
2023-10-13	13:12:18	2784	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:18	2784	[DEBUG]	Executed store
2023-10-13	13:12:18	2784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862276','7357')
2023-10-13	13:12:18	2784	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:18	2784	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862276 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:12:18	2784	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:18	2784	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862276
2023-10-13	13:12:18	2785	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:18	2785	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:18	2785	[DEBUG]	Use field value for field taille
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:18	2785	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:18	2785	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:18	2785	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:18	2785	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:18	2785	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:18	2785	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:18	2785	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:18	2785	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:18	2785	[DEBUG]	Use field value for field published
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:18	2785	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field override
2023-10-13	13:12:18	2785	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:18	2785	[DEBUG]	Use field value for field slug
2023-10-13	13:12:18	2785	[DEBUG]	Process line 2785
2023-10-13	13:12:18	2785	[DEBUG]	Load a row
2023-10-13	13:12:18	2785	[DEBUG]	Processing item: 1000000056761
2023-10-13	13:12:18	2785	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:18	2785	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:18	2785	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3592_25'
2023-10-13	13:12:18	2785	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:18	2785	[DEBUG]	Processing product tax
2023-10-13	13:12:18	2785	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:18	2785	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:18	2785	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:18	2785	[DEBUG]	Query for Product
2023-10-13	13:12:18	2785	[DEBUG]	Executed store
2023-10-13	13:12:18	2785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862276','1000000056761','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:18	2785	[DEBUG]	No parent found
2023-10-13	13:12:18	2785	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862276 AND customfield_value = 'stockable'
2023-10-13	13:12:18	2785	[DEBUG]	Check product language entry
2023-10-13	13:12:18	2785	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862277
2023-10-13	13:12:18	2785	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:18	2785	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000056761' AND `virtuemart_product_id` != 1862277
2023-10-13	13:12:18	2785	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:18	2785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862277, '1000000056761')
2023-10-13	13:12:18	2785	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:18	2785	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-blanc-unitaire' AND `virtuemart_product_id` != 1862277
2023-10-13	13:12:18	2785	[DEBUG]	Query for ProductLang
2023-10-13	13:12:18	2785	[DEBUG]	Executed store
2023-10-13	13:12:18	2785	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 710mm DOUBLE HAUTEUR carbone UD MSC 31.8Ø, 142 gr. / Noir-blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-blanc-unitaire' WHERE `virtuemart_product_id` = '1862277'
2023-10-13	13:12:18	2785	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18181.jpg
2023-10-13	13:12:18	2785	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:18	2785	[DEBUG]	Process image file
2023-10-13	13:12:18	2785	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:18	2785	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:18	2785	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18181.jpg
2023-10-13	13:12:18	2785	[DEBUG]	Full name target: bcprisme/image_18181.jpg
2023-10-13	13:12:19	2785	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:19	2785	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18181.jpg'
2023-10-13	13:12:19	2785	[DEBUG]	Query for Media
2023-10-13	13:12:19	2785	[DEBUG]	Executed store
2023-10-13	13:12:19	2785	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18181.jpg',`file_url_thumb`='bcprisme/image_18181.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12946'
2023-10-13	13:12:19	2785	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:19	2785	[DEBUG]	Executed store
2023-10-13	13:12:19	2785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862277','12946','1')
2023-10-13	13:12:19	2785	[DEBUG]	Store product image relation
2023-10-13	13:12:19	2785	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:19	2785	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862277 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:19	2785	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:19	2785	[DEBUG]	Executed store
2023-10-13	13:12:19	2785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862277','0','212.859795728877','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:19	2785	[DEBUG]	Checking manufacturer
2023-10-13	13:12:19	2785	[DEBUG]	Load a row
2023-10-13	13:12:19	2785	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:19	2785	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:19	2785	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:19	2785	[DEBUG]	Executed store
2023-10-13	13:12:19	2785	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:19	2785	[DEBUG]	Manufacturer exists
2023-10-13	13:12:19	2785	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:19	2785	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:19	2785	[DEBUG]	Executed store
2023-10-13	13:12:19	2785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862277','32')
2023-10-13	13:12:19	2785	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:19	2785	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:19	2785	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862277 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:19	2785	[DEBUG]	Store custom available field
2023-10-13	13:12:19	2785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862277,3,'',1)
2023-10-13	13:12:19	2785	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:19	2785	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:19	2785	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862277 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:19	2785	[DEBUG]	Store custom available field
2023-10-13	13:12:19	2785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862277,6,'Unitaire',3)
2023-10-13	13:12:19	2785	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:19	2785	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:19	2785	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862276
2023-10-13	13:12:19	2785	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:19	2785	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862276\":[1862276,8,1,\"choisir la taille\"],\"1862277\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862276
2023-10-13	13:12:19	2785	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:19	2785	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862277
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:19	2786	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field taille
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:19	2786	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:19	2786	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:19	2786	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:19	2786	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:19	2786	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:19	2786	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field published
2023-10-13	13:12:19	2786	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:19	2786	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field override
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:19	2786	[DEBUG]	Use field value for field slug
2023-10-13	13:12:20	2786	[DEBUG]	Process line 2786
2023-10-13	13:12:20	2786	[DEBUG]	Load a row
2023-10-13	13:12:20	2786	[DEBUG]	Processing item: A_3592_35
2023-10-13	13:12:20	2786	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:20	2786	[DEBUG]	Processing product tax
2023-10-13	13:12:20	2786	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:20	2786	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:20	2786	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:20	2786	[DEBUG]	Query for Product
2023-10-13	13:12:20	2786	[DEBUG]	Executed store
2023-10-13	13:12:20	2786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3592_35','0.142','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:20	2786	[DEBUG]	Check product language entry
2023-10-13	13:12:20	2786	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862278
2023-10-13	13:12:20	2786	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:20	2786	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3592_35' AND `virtuemart_product_id` != 1862278
2023-10-13	13:12:20	2786	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:20	2786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862278, 'A_3592_35')
2023-10-13	13:12:20	2786	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:20	2786	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-rouge' AND `virtuemart_product_id` != 1862278
2023-10-13	13:12:20	2786	[DEBUG]	Query for ProductLang
2023-10-13	13:12:20	2786	[DEBUG]	Executed store
2023-10-13	13:12:20	2786	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon double hauteur carbone MSC 1 710mm 31.8Ø<br>N° art fourn : UD02710\"',`product_name`='MSC GUIDON 710mm DOUBLE HAUTEUR carbone UD MSC 31.8Ø, 142 gr. / Noir-rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-rouge' WHERE `virtuemart_product_id` = '1862278'
2023-10-13	13:12:20	2786	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18182.jpg
2023-10-13	13:12:20	2786	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:20	2786	[DEBUG]	Process image file
2023-10-13	13:12:20	2786	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:20	2786	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:20	2786	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18182.jpg
2023-10-13	13:12:20	2786	[DEBUG]	Full name target: bcprisme/image_18182.jpg
2023-10-13	13:12:20	2786	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:20	2786	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18182.jpg'
2023-10-13	13:12:20	2786	[DEBUG]	Query for Media
2023-10-13	13:12:20	2786	[DEBUG]	Executed store
2023-10-13	13:12:20	2786	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18182.jpg',`file_url_thumb`='bcprisme/image_18182.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12947'
2023-10-13	13:12:20	2786	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:20	2786	[DEBUG]	Executed store
2023-10-13	13:12:20	2786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862278','12947','1')
2023-10-13	13:12:20	2786	[DEBUG]	Store product image relation
2023-10-13	13:12:20	2786	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:20	2786	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862278 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:20	2786	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:20	2786	[DEBUG]	Executed store
2023-10-13	13:12:20	2786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862278','0','212.859795728877','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:20	2786	[DEBUG]	Checking manufacturer
2023-10-13	13:12:20	2786	[DEBUG]	Load a row
2023-10-13	13:12:20	2786	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:20	2786	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:20	2786	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:20	2786	[DEBUG]	Executed store
2023-10-13	13:12:20	2786	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:20	2786	[DEBUG]	Manufacturer exists
2023-10-13	13:12:20	2786	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:20	2786	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:20	2786	[DEBUG]	Executed store
2023-10-13	13:12:20	2786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862278','32')
2023-10-13	13:12:20	2786	[DEBUG]	Find the custom field ID
2023-10-13	13:12:20	2786	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:20	2786	[DEBUG]	No custom field ID found
2023-10-13	13:12:20	2786	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:20	2786	[DEBUG]	Get existing row with customfield value 229.261388888889
2023-10-13	13:12:20	2786	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862278 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:21	2786	[DEBUG]	Store custom available field
2023-10-13	13:12:21	2786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862278,3,'229.261388888889',1)
2023-10-13	13:12:21	2786	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:21	2786	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:21	2786	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862278 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:21	2786	[DEBUG]	Store custom available field
2023-10-13	13:12:21	2786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862278,6,'choisir la taille',3)
2023-10-13	13:12:21	2786	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:21	2786	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:21	2786	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:21	2786	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:21	2786	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862278 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:21	2786	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:21	2786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862278,8,1)
2023-10-13	13:12:21	2786	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:21	2786	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862278\":[1862278,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862278
2023-10-13	13:12:21	2786	[DEBUG]	Checking category
2023-10-13	13:12:21	2786	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:21	2786	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862278
2023-10-13	13:12:21	2786	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:21	2786	[DEBUG]	Executed store
2023-10-13	13:12:21	2786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862278','7357')
2023-10-13	13:12:21	2786	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:21	2786	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862278 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:12:21	2786	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:21	2786	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862278
2023-10-13	13:12:21	2787	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:21	2787	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:21	2787	[DEBUG]	Use field value for field taille
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:21	2787	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:21	2787	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:21	2787	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:21	2787	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:21	2787	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:21	2787	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:21	2787	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:21	2787	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:21	2787	[DEBUG]	Use field value for field published
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:21	2787	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field override
2023-10-13	13:12:21	2787	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:21	2787	[DEBUG]	Use field value for field slug
2023-10-13	13:12:21	2787	[DEBUG]	Process line 2787
2023-10-13	13:12:21	2787	[DEBUG]	Load a row
2023-10-13	13:12:21	2787	[DEBUG]	Processing item: 1000000056785
2023-10-13	13:12:21	2787	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:21	2787	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:21	2787	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3592_35'
2023-10-13	13:12:21	2787	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:21	2787	[DEBUG]	Processing product tax
2023-10-13	13:12:21	2787	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:21	2787	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:21	2787	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:21	2787	[DEBUG]	Query for Product
2023-10-13	13:12:21	2787	[DEBUG]	Executed store
2023-10-13	13:12:21	2787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862278','1000000056785','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:21	2787	[DEBUG]	No parent found
2023-10-13	13:12:21	2787	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862278 AND customfield_value = 'stockable'
2023-10-13	13:12:21	2787	[DEBUG]	Check product language entry
2023-10-13	13:12:21	2787	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862279
2023-10-13	13:12:21	2787	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:21	2787	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000056785' AND `virtuemart_product_id` != 1862279
2023-10-13	13:12:21	2787	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:21	2787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862279, '1000000056785')
2023-10-13	13:12:21	2787	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:21	2787	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-rouge-unitaire' AND `virtuemart_product_id` != 1862279
2023-10-13	13:12:21	2787	[DEBUG]	Query for ProductLang
2023-10-13	13:12:21	2787	[DEBUG]	Executed store
2023-10-13	13:12:21	2787	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 710mm DOUBLE HAUTEUR carbone UD MSC 31.8Ø, 142 gr. / Noir-rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-rouge-unitaire' WHERE `virtuemart_product_id` = '1862279'
2023-10-13	13:12:21	2787	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18182.jpg
2023-10-13	13:12:21	2787	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:21	2787	[DEBUG]	Process image file
2023-10-13	13:12:21	2787	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:21	2787	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:21	2787	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18182.jpg
2023-10-13	13:12:21	2787	[DEBUG]	Full name target: bcprisme/image_18182.jpg
2023-10-13	13:12:22	2787	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:22	2787	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18182.jpg'
2023-10-13	13:12:22	2787	[DEBUG]	Query for Media
2023-10-13	13:12:22	2787	[DEBUG]	Executed store
2023-10-13	13:12:22	2787	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18182.jpg',`file_url_thumb`='bcprisme/image_18182.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12947'
2023-10-13	13:12:22	2787	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:22	2787	[DEBUG]	Executed store
2023-10-13	13:12:22	2787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862279','12947','1')
2023-10-13	13:12:22	2787	[DEBUG]	Store product image relation
2023-10-13	13:12:22	2787	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:22	2787	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862279 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:22	2787	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:22	2787	[DEBUG]	Executed store
2023-10-13	13:12:22	2787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862279','0','212.859795728877','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:22	2787	[DEBUG]	Checking manufacturer
2023-10-13	13:12:22	2787	[DEBUG]	Load a row
2023-10-13	13:12:22	2787	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:22	2787	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:22	2787	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:22	2787	[DEBUG]	Executed store
2023-10-13	13:12:22	2787	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:22	2787	[DEBUG]	Manufacturer exists
2023-10-13	13:12:22	2787	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:22	2787	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:22	2787	[DEBUG]	Executed store
2023-10-13	13:12:22	2787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862279','32')
2023-10-13	13:12:22	2787	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:22	2787	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:22	2787	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862279 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:22	2787	[DEBUG]	Store custom available field
2023-10-13	13:12:22	2787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862279,3,'',1)
2023-10-13	13:12:22	2787	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:22	2787	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:22	2787	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862279 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:22	2787	[DEBUG]	Store custom available field
2023-10-13	13:12:22	2787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862279,6,'Unitaire',3)
2023-10-13	13:12:22	2787	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:22	2787	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:22	2787	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862278
2023-10-13	13:12:22	2787	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:22	2787	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862278\":[1862278,8,1,\"choisir la taille\"],\"1862279\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862278
2023-10-13	13:12:22	2787	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:22	2787	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862279
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:22	2788	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field taille
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:22	2788	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:22	2788	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:22	2788	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:22	2788	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:22	2788	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:22	2788	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field published
2023-10-13	13:12:22	2788	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:22	2788	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field override
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:22	2788	[DEBUG]	Use field value for field slug
2023-10-13	13:12:22	2788	[DEBUG]	Process line 2788
2023-10-13	13:12:22	2788	[DEBUG]	Load a row
2023-10-13	13:12:22	2788	[DEBUG]	Processing item: A_3592_50
2023-10-13	13:12:22	2788	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:22	2788	[DEBUG]	Processing product tax
2023-10-13	13:12:22	2788	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:22	2788	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:22	2788	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:22	2788	[DEBUG]	Query for Product
2023-10-13	13:12:22	2788	[DEBUG]	Executed store
2023-10-13	13:12:22	2788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3592_50','0.142','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:22	2788	[DEBUG]	Check product language entry
2023-10-13	13:12:22	2788	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862280
2023-10-13	13:12:22	2788	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:22	2788	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3592_50' AND `virtuemart_product_id` != 1862280
2023-10-13	13:12:22	2788	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:22	2788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862280, 'A_3592_50')
2023-10-13	13:12:22	2788	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:22	2788	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-bleu' AND `virtuemart_product_id` != 1862280
2023-10-13	13:12:22	2788	[DEBUG]	Query for ProductLang
2023-10-13	13:12:22	2788	[DEBUG]	Executed store
2023-10-13	13:12:22	2788	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon double hauteur carbone MSC 1 710mm 31.8Ø<br>N° art fourn : UD02710\"',`product_name`='MSC GUIDON 710mm DOUBLE HAUTEUR carbone UD MSC 31.8Ø, 142 gr. / Noir-bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-bleu' WHERE `virtuemart_product_id` = '1862280'
2023-10-13	13:12:22	2788	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18183.jpg
2023-10-13	13:12:22	2788	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:22	2788	[DEBUG]	Process image file
2023-10-13	13:12:22	2788	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:22	2788	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:22	2788	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18183.jpg
2023-10-13	13:12:22	2788	[DEBUG]	Full name target: bcprisme/image_18183.jpg
2023-10-13	13:12:23	2788	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:23	2788	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18183.jpg'
2023-10-13	13:12:23	2788	[DEBUG]	Query for Media
2023-10-13	13:12:23	2788	[DEBUG]	Executed store
2023-10-13	13:12:23	2788	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18183.jpg',`file_url_thumb`='bcprisme/image_18183.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12948'
2023-10-13	13:12:23	2788	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:23	2788	[DEBUG]	Executed store
2023-10-13	13:12:23	2788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862280','12948','1')
2023-10-13	13:12:23	2788	[DEBUG]	Store product image relation
2023-10-13	13:12:23	2788	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:23	2788	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862280 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:23	2788	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:23	2788	[DEBUG]	Executed store
2023-10-13	13:12:23	2788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862280','0','212.859795728877','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:23	2788	[DEBUG]	Checking manufacturer
2023-10-13	13:12:23	2788	[DEBUG]	Load a row
2023-10-13	13:12:23	2788	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:23	2788	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:23	2788	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:23	2788	[DEBUG]	Executed store
2023-10-13	13:12:23	2788	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:23	2788	[DEBUG]	Manufacturer exists
2023-10-13	13:12:23	2788	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:23	2788	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:23	2788	[DEBUG]	Executed store
2023-10-13	13:12:23	2788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862280','32')
2023-10-13	13:12:23	2788	[DEBUG]	Find the custom field ID
2023-10-13	13:12:23	2788	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:23	2788	[DEBUG]	No custom field ID found
2023-10-13	13:12:23	2788	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:23	2788	[DEBUG]	Get existing row with customfield value 229.261388888889
2023-10-13	13:12:23	2788	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862280 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:23	2788	[DEBUG]	Store custom available field
2023-10-13	13:12:23	2788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862280,3,'229.261388888889',1)
2023-10-13	13:12:23	2788	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:23	2788	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:23	2788	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862280 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:23	2788	[DEBUG]	Store custom available field
2023-10-13	13:12:23	2788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862280,6,'choisir la taille',3)
2023-10-13	13:12:23	2788	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:23	2788	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:23	2788	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:23	2788	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:23	2788	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862280 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:23	2788	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:23	2788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862280,8,1)
2023-10-13	13:12:23	2788	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:23	2788	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862280\":[1862280,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862280
2023-10-13	13:12:23	2788	[DEBUG]	Checking category
2023-10-13	13:12:23	2788	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:23	2788	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862280
2023-10-13	13:12:23	2788	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:23	2788	[DEBUG]	Executed store
2023-10-13	13:12:23	2788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862280','7357')
2023-10-13	13:12:23	2788	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:23	2788	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862280 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:12:23	2788	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:23	2788	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862280
2023-10-13	13:12:23	2789	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:23	2789	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:23	2789	[DEBUG]	Use field value for field taille
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:23	2789	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:23	2789	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:23	2789	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:23	2789	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:23	2789	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:23	2789	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:23	2789	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:23	2789	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:23	2789	[DEBUG]	Use field value for field published
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:23	2789	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field override
2023-10-13	13:12:23	2789	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:23	2789	[DEBUG]	Use field value for field slug
2023-10-13	13:12:23	2789	[DEBUG]	Process line 2789
2023-10-13	13:12:23	2789	[DEBUG]	Load a row
2023-10-13	13:12:23	2789	[DEBUG]	Processing item: 1000000056792
2023-10-13	13:12:23	2789	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:23	2789	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:23	2789	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3592_50'
2023-10-13	13:12:23	2789	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:23	2789	[DEBUG]	Processing product tax
2023-10-13	13:12:23	2789	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:23	2789	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:23	2789	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:23	2789	[DEBUG]	Query for Product
2023-10-13	13:12:23	2789	[DEBUG]	Executed store
2023-10-13	13:12:23	2789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862280','1000000056792','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:23	2789	[DEBUG]	No parent found
2023-10-13	13:12:23	2789	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862280 AND customfield_value = 'stockable'
2023-10-13	13:12:23	2789	[DEBUG]	Check product language entry
2023-10-13	13:12:23	2789	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862281
2023-10-13	13:12:23	2789	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:23	2789	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000056792' AND `virtuemart_product_id` != 1862281
2023-10-13	13:12:23	2789	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:23	2789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862281, '1000000056792')
2023-10-13	13:12:23	2789	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:23	2789	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-bleu-unitaire' AND `virtuemart_product_id` != 1862281
2023-10-13	13:12:23	2789	[DEBUG]	Query for ProductLang
2023-10-13	13:12:23	2789	[DEBUG]	Executed store
2023-10-13	13:12:23	2789	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 710mm DOUBLE HAUTEUR carbone UD MSC 31.8Ø, 142 gr. / Noir-bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-bleu-unitaire' WHERE `virtuemart_product_id` = '1862281'
2023-10-13	13:12:23	2789	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18183.jpg
2023-10-13	13:12:23	2789	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:23	2789	[DEBUG]	Process image file
2023-10-13	13:12:23	2789	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:23	2789	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:23	2789	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18183.jpg
2023-10-13	13:12:23	2789	[DEBUG]	Full name target: bcprisme/image_18183.jpg
2023-10-13	13:12:24	2789	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:24	2789	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18183.jpg'
2023-10-13	13:12:24	2789	[DEBUG]	Query for Media
2023-10-13	13:12:24	2789	[DEBUG]	Executed store
2023-10-13	13:12:24	2789	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18183.jpg',`file_url_thumb`='bcprisme/image_18183.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12948'
2023-10-13	13:12:24	2789	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:24	2789	[DEBUG]	Executed store
2023-10-13	13:12:24	2789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862281','12948','1')
2023-10-13	13:12:24	2789	[DEBUG]	Store product image relation
2023-10-13	13:12:24	2789	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:24	2789	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862281 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:24	2789	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:24	2789	[DEBUG]	Executed store
2023-10-13	13:12:24	2789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862281','0','212.859795728877','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:24	2789	[DEBUG]	Checking manufacturer
2023-10-13	13:12:24	2789	[DEBUG]	Load a row
2023-10-13	13:12:24	2789	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:24	2789	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:24	2789	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:24	2789	[DEBUG]	Executed store
2023-10-13	13:12:24	2789	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:24	2789	[DEBUG]	Manufacturer exists
2023-10-13	13:12:24	2789	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:24	2789	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:24	2789	[DEBUG]	Executed store
2023-10-13	13:12:24	2789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862281','32')
2023-10-13	13:12:24	2789	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:24	2789	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:24	2789	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862281 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:24	2789	[DEBUG]	Store custom available field
2023-10-13	13:12:24	2789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862281,3,'',1)
2023-10-13	13:12:24	2789	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:24	2789	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:24	2789	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862281 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:24	2789	[DEBUG]	Store custom available field
2023-10-13	13:12:24	2789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862281,6,'Unitaire',3)
2023-10-13	13:12:24	2789	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:24	2789	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:24	2789	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862280
2023-10-13	13:12:24	2789	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:24	2789	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862280\":[1862280,8,1,\"choisir la taille\"],\"1862281\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862280
2023-10-13	13:12:24	2789	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:24	2789	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862281
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:24	2790	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field taille
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:24	2790	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:24	2790	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:24	2790	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:24	2790	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:24	2790	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:24	2790	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field published
2023-10-13	13:12:24	2790	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:24	2790	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field override
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:24	2790	[DEBUG]	Use field value for field slug
2023-10-13	13:12:24	2790	[DEBUG]	Process line 2790
2023-10-13	13:12:24	2790	[DEBUG]	Load a row
2023-10-13	13:12:24	2790	[DEBUG]	Processing item: A_3592_151
2023-10-13	13:12:24	2790	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:24	2790	[DEBUG]	Processing product tax
2023-10-13	13:12:24	2790	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:24	2790	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:24	2790	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:24	2790	[DEBUG]	Query for Product
2023-10-13	13:12:24	2790	[DEBUG]	Executed store
2023-10-13	13:12:24	2790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3592_151','0.142','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:24	2790	[DEBUG]	Check product language entry
2023-10-13	13:12:24	2790	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862282
2023-10-13	13:12:24	2790	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:24	2790	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3592_151' AND `virtuemart_product_id` != 1862282
2023-10-13	13:12:24	2790	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:24	2790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862282, 'A_3592_151')
2023-10-13	13:12:24	2790	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:24	2790	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-vert' AND `virtuemart_product_id` != 1862282
2023-10-13	13:12:24	2790	[DEBUG]	Query for ProductLang
2023-10-13	13:12:24	2790	[DEBUG]	Executed store
2023-10-13	13:12:24	2790	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidon double hauteur carbone MSC 1 710mm 31.8Ø<br>N° art fourn : UD02710\"',`product_name`='MSC GUIDON 710mm DOUBLE HAUTEUR carbone UD MSC 31.8Ø, 142 gr. / Noir-vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-vert' WHERE `virtuemart_product_id` = '1862282'
2023-10-13	13:12:24	2790	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18184.jpg
2023-10-13	13:12:24	2790	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:24	2790	[DEBUG]	Process image file
2023-10-13	13:12:24	2790	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:24	2790	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:24	2790	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18184.jpg
2023-10-13	13:12:24	2790	[DEBUG]	Full name target: bcprisme/image_18184.jpg
2023-10-13	13:12:25	2790	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:25	2790	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18184.jpg'
2023-10-13	13:12:25	2790	[DEBUG]	Query for Media
2023-10-13	13:12:25	2790	[DEBUG]	Executed store
2023-10-13	13:12:25	2790	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18184.jpg',`file_url_thumb`='bcprisme/image_18184.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12949'
2023-10-13	13:12:25	2790	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:25	2790	[DEBUG]	Executed store
2023-10-13	13:12:25	2790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862282','12949','1')
2023-10-13	13:12:25	2790	[DEBUG]	Store product image relation
2023-10-13	13:12:25	2790	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:25	2790	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862282 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:25	2790	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:25	2790	[DEBUG]	Executed store
2023-10-13	13:12:25	2790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862282','0','212.859795728877','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:25	2790	[DEBUG]	Checking manufacturer
2023-10-13	13:12:25	2790	[DEBUG]	Load a row
2023-10-13	13:12:25	2790	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:25	2790	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:25	2790	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:25	2790	[DEBUG]	Executed store
2023-10-13	13:12:25	2790	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:25	2790	[DEBUG]	Manufacturer exists
2023-10-13	13:12:25	2790	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:25	2790	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:25	2790	[DEBUG]	Executed store
2023-10-13	13:12:25	2790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862282','32')
2023-10-13	13:12:25	2790	[DEBUG]	Find the custom field ID
2023-10-13	13:12:25	2790	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:25	2790	[DEBUG]	No custom field ID found
2023-10-13	13:12:25	2790	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:25	2790	[DEBUG]	Get existing row with customfield value 229.261388888889
2023-10-13	13:12:25	2790	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862282 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:25	2790	[DEBUG]	Store custom available field
2023-10-13	13:12:25	2790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862282,3,'229.261388888889',1)
2023-10-13	13:12:25	2790	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:25	2790	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:25	2790	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862282 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:25	2790	[DEBUG]	Store custom available field
2023-10-13	13:12:25	2790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862282,6,'choisir la taille',3)
2023-10-13	13:12:25	2790	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:25	2790	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:25	2790	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:25	2790	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:25	2790	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862282 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:25	2790	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:25	2790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862282,8,1)
2023-10-13	13:12:25	2790	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:25	2790	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862282\":[1862282,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862282
2023-10-13	13:12:25	2790	[DEBUG]	Checking category
2023-10-13	13:12:25	2790	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:25	2790	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862282
2023-10-13	13:12:25	2790	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:25	2790	[DEBUG]	Executed store
2023-10-13	13:12:25	2790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862282','7357')
2023-10-13	13:12:25	2790	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:25	2790	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862282 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:12:25	2790	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:25	2790	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862282
2023-10-13	13:12:25	2791	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:25	2791	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:25	2791	[DEBUG]	Use field value for field taille
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:25	2791	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:25	2791	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:25	2791	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:25	2791	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:25	2791	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:25	2791	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:25	2791	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:25	2791	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:25	2791	[DEBUG]	Use field value for field published
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:25	2791	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field override
2023-10-13	13:12:25	2791	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:25	2791	[DEBUG]	Use field value for field slug
2023-10-13	13:12:25	2791	[DEBUG]	Process line 2791
2023-10-13	13:12:25	2791	[DEBUG]	Load a row
2023-10-13	13:12:25	2791	[DEBUG]	Processing item: 1000000056778
2023-10-13	13:12:25	2791	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:25	2791	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:25	2791	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3592_151'
2023-10-13	13:12:25	2791	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:25	2791	[DEBUG]	Processing product tax
2023-10-13	13:12:25	2791	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:25	2791	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:25	2791	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:25	2791	[DEBUG]	Query for Product
2023-10-13	13:12:25	2791	[DEBUG]	Executed store
2023-10-13	13:12:25	2791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862282','1000000056778','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:25	2791	[DEBUG]	No parent found
2023-10-13	13:12:25	2791	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862282 AND customfield_value = 'stockable'
2023-10-13	13:12:25	2791	[DEBUG]	Check product language entry
2023-10-13	13:12:25	2791	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862283
2023-10-13	13:12:25	2791	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:25	2791	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000056778' AND `virtuemart_product_id` != 1862283
2023-10-13	13:12:25	2791	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:25	2791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862283, '1000000056778')
2023-10-13	13:12:25	2791	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:25	2791	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-vert-unitaire' AND `virtuemart_product_id` != 1862283
2023-10-13	13:12:25	2791	[DEBUG]	Query for ProductLang
2023-10-13	13:12:25	2791	[DEBUG]	Executed store
2023-10-13	13:12:25	2791	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC GUIDON 710mm DOUBLE HAUTEUR carbone UD MSC 31.8Ø, 142 gr. / Noir-vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-710mm-double-hauteur-carbone-ud-msc-31-8o-142-gr-noir-vert-unitaire' WHERE `virtuemart_product_id` = '1862283'
2023-10-13	13:12:25	2791	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18184.jpg
2023-10-13	13:12:25	2791	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:25	2791	[DEBUG]	Process image file
2023-10-13	13:12:25	2791	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:12:25	2791	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:25	2791	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18184.jpg
2023-10-13	13:12:25	2791	[DEBUG]	Full name target: bcprisme/image_18184.jpg
2023-10-13	13:12:26	2791	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:26	2791	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18184.jpg'
2023-10-13	13:12:26	2791	[DEBUG]	Query for Media
2023-10-13	13:12:26	2791	[DEBUG]	Executed store
2023-10-13	13:12:26	2791	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18184.jpg',`file_url_thumb`='bcprisme/image_18184.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12949'
2023-10-13	13:12:26	2791	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:26	2791	[DEBUG]	Executed store
2023-10-13	13:12:26	2791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862283','12949','1')
2023-10-13	13:12:26	2791	[DEBUG]	Store product image relation
2023-10-13	13:12:26	2791	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:26	2791	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862283 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:26	2791	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:26	2791	[DEBUG]	Executed store
2023-10-13	13:12:26	2791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862283','0','212.859795728877','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:26	2791	[DEBUG]	Checking manufacturer
2023-10-13	13:12:26	2791	[DEBUG]	Load a row
2023-10-13	13:12:26	2791	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:26	2791	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:26	2791	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:26	2791	[DEBUG]	Executed store
2023-10-13	13:12:26	2791	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:26	2791	[DEBUG]	Manufacturer exists
2023-10-13	13:12:26	2791	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:26	2791	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:26	2791	[DEBUG]	Executed store
2023-10-13	13:12:26	2791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862283','32')
2023-10-13	13:12:26	2791	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:26	2791	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:26	2791	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862283 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:26	2791	[DEBUG]	Store custom available field
2023-10-13	13:12:26	2791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862283,3,'',1)
2023-10-13	13:12:26	2791	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:26	2791	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:26	2791	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862283 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:26	2791	[DEBUG]	Store custom available field
2023-10-13	13:12:26	2791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862283,6,'Unitaire',3)
2023-10-13	13:12:26	2791	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:26	2791	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:26	2791	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862282
2023-10-13	13:12:26	2791	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:26	2791	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862282\":[1862282,8,1,\"choisir la taille\"],\"1862283\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862282
2023-10-13	13:12:26	2791	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:26	2791	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862283
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:26	2792	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field taille
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:26	2792	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:26	2792	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:26	2792	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:26	2792	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:26	2792	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:26	2792	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field published
2023-10-13	13:12:26	2792	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:26	2792	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field override
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:26	2792	[DEBUG]	Use field value for field slug
2023-10-13	13:12:26	2792	[DEBUG]	Process line 2792
2023-10-13	13:12:26	2792	[DEBUG]	Load a row
2023-10-13	13:12:26	2792	[DEBUG]	Processing item: A_3872_1
2023-10-13	13:12:26	2792	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:26	2792	[DEBUG]	Processing product tax
2023-10-13	13:12:26	2792	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:26	2792	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:26	2792	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:26	2792	[DEBUG]	Query for Product
2023-10-13	13:12:26	2792	[DEBUG]	Executed store
2023-10-13	13:12:26	2792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3872_1','0.295','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:26	2792	[DEBUG]	Check product language entry
2023-10-13	13:12:26	2792	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862284
2023-10-13	13:12:26	2792	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:26	2792	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3872_1' AND `virtuemart_product_id` != 1862284
2023-10-13	13:12:26	2792	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:26	2792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862284, 'A_3872_1')
2023-10-13	13:12:26	2792	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:26	2792	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-770mm-double-hauteur-alu7050-t6-msc-31-8-o-noir' AND `virtuemart_product_id` != 1862284
2023-10-13	13:12:26	2792	[DEBUG]	Query for ProductLang
2023-10-13	13:12:26	2792	[DEBUG]	Executed store
2023-10-13	13:12:26	2792	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : AL457770MSC',`product_name`='MSC Guidon 770mm double hauteur alu7050 T6 MSC 31.8 ø  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-770mm-double-hauteur-alu7050-t6-msc-31-8-o-noir' WHERE `virtuemart_product_id` = '1862284'
2023-10-13	13:12:26	2792	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20287.jpg
2023-10-13	13:12:26	2792	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:12:26	2792	[DEBUG]	Process image file
2023-10-13	13:12:26	2792	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:12:26	2792	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:26	2792	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20287.jpg
2023-10-13	13:12:26	2792	[DEBUG]	Full name target: bcprisme/image_20287.jpg
2023-10-13	13:12:27	2792	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:27	2792	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20287.jpg'
2023-10-13	13:12:27	2792	[DEBUG]	Query for Media
2023-10-13	13:12:27	2792	[DEBUG]	Executed store
2023-10-13	13:12:27	2792	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20287.jpg',`file_url_thumb`='bcprisme/image_20287.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12950'
2023-10-13	13:12:27	2792	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:27	2792	[DEBUG]	Executed store
2023-10-13	13:12:27	2792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862284','12950','1')
2023-10-13	13:12:27	2792	[DEBUG]	Store product image relation
2023-10-13	13:12:27	2792	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:27	2792	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862284 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:27	2792	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:27	2792	[DEBUG]	Executed store
2023-10-13	13:12:27	2792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862284','0','64.7168059424327','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:27	2792	[DEBUG]	Checking manufacturer
2023-10-13	13:12:27	2792	[DEBUG]	Load a row
2023-10-13	13:12:27	2792	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:27	2792	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:27	2792	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:27	2792	[DEBUG]	Executed store
2023-10-13	13:12:27	2792	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:27	2792	[DEBUG]	Manufacturer exists
2023-10-13	13:12:27	2792	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:27	2792	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:27	2792	[DEBUG]	Executed store
2023-10-13	13:12:27	2792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862284','32')
2023-10-13	13:12:27	2792	[DEBUG]	Find the custom field ID
2023-10-13	13:12:27	2792	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:27	2792	[DEBUG]	No custom field ID found
2023-10-13	13:12:27	2792	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:27	2792	[DEBUG]	Get existing row with customfield value 69.7058333333333
2023-10-13	13:12:27	2792	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862284 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:27	2792	[DEBUG]	Store custom available field
2023-10-13	13:12:27	2792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862284,3,'69.7058333333333',1)
2023-10-13	13:12:27	2792	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:27	2792	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:27	2792	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862284 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:27	2792	[DEBUG]	Store custom available field
2023-10-13	13:12:27	2792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862284,6,'choisir la taille',3)
2023-10-13	13:12:27	2792	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:27	2792	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:27	2792	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:27	2792	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:27	2792	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862284 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:27	2792	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:27	2792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862284,8,1)
2023-10-13	13:12:27	2792	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:27	2792	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862284\":[1862284,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862284
2023-10-13	13:12:27	2792	[DEBUG]	Checking category
2023-10-13	13:12:27	2792	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:27	2792	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862284
2023-10-13	13:12:27	2792	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:27	2792	[DEBUG]	Executed store
2023-10-13	13:12:27	2792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862284','7357')
2023-10-13	13:12:27	2792	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:27	2792	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862284 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:12:27	2792	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:27	2792	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862284
2023-10-13	13:12:27	2793	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:27	2793	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:27	2793	[DEBUG]	Use field value for field taille
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:27	2793	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:27	2793	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:27	2793	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:27	2793	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:27	2793	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:27	2793	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:27	2793	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:27	2793	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:27	2793	[DEBUG]	Use field value for field published
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:27	2793	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field override
2023-10-13	13:12:27	2793	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:27	2793	[DEBUG]	Use field value for field slug
2023-10-13	13:12:27	2793	[DEBUG]	Process line 2793
2023-10-13	13:12:27	2793	[DEBUG]	Load a row
2023-10-13	13:12:27	2793	[DEBUG]	Processing item: 1000000060690
2023-10-13	13:12:27	2793	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:27	2793	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:27	2793	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3872_1'
2023-10-13	13:12:27	2793	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:27	2793	[DEBUG]	Processing product tax
2023-10-13	13:12:27	2793	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:27	2793	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:27	2793	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:27	2793	[DEBUG]	Query for Product
2023-10-13	13:12:27	2793	[DEBUG]	Executed store
2023-10-13	13:12:27	2793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862284','1000000060690','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:27	2793	[DEBUG]	No parent found
2023-10-13	13:12:27	2793	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862284 AND customfield_value = 'stockable'
2023-10-13	13:12:27	2793	[DEBUG]	Check product language entry
2023-10-13	13:12:27	2793	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862285
2023-10-13	13:12:27	2793	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:27	2793	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000060690' AND `virtuemart_product_id` != 1862285
2023-10-13	13:12:27	2793	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:27	2793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862285, '1000000060690')
2023-10-13	13:12:27	2793	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:27	2793	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidon-770mm-double-hauteur-alu7050-t6-msc-31-8-o-noir-unitaire' AND `virtuemart_product_id` != 1862285
2023-10-13	13:12:27	2793	[DEBUG]	Query for ProductLang
2023-10-13	13:12:27	2793	[DEBUG]	Executed store
2023-10-13	13:12:27	2793	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidon 770mm double hauteur alu7050 T6 MSC 31.8 ø  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidon-770mm-double-hauteur-alu7050-t6-msc-31-8-o-noir-unitaire' WHERE `virtuemart_product_id` = '1862285'
2023-10-13	13:12:27	2793	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20287.jpg
2023-10-13	13:12:27	2793	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:12:27	2793	[DEBUG]	Process image file
2023-10-13	13:12:27	2793	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:12:27	2793	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:27	2793	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20287.jpg
2023-10-13	13:12:27	2793	[DEBUG]	Full name target: bcprisme/image_20287.jpg
2023-10-13	13:12:28	2793	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:28	2793	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20287.jpg'
2023-10-13	13:12:28	2793	[DEBUG]	Query for Media
2023-10-13	13:12:28	2793	[DEBUG]	Executed store
2023-10-13	13:12:28	2793	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20287.jpg',`file_url_thumb`='bcprisme/image_20287.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12950'
2023-10-13	13:12:28	2793	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:28	2793	[DEBUG]	Executed store
2023-10-13	13:12:28	2793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862285','12950','1')
2023-10-13	13:12:28	2793	[DEBUG]	Store product image relation
2023-10-13	13:12:28	2793	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:28	2793	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862285 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:28	2793	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:28	2793	[DEBUG]	Executed store
2023-10-13	13:12:28	2793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862285','0','64.7168059424327','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:28	2793	[DEBUG]	Checking manufacturer
2023-10-13	13:12:28	2793	[DEBUG]	Load a row
2023-10-13	13:12:28	2793	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:28	2793	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:28	2793	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:28	2793	[DEBUG]	Executed store
2023-10-13	13:12:28	2793	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:28	2793	[DEBUG]	Manufacturer exists
2023-10-13	13:12:28	2793	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:28	2793	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:28	2793	[DEBUG]	Executed store
2023-10-13	13:12:28	2793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862285','32')
2023-10-13	13:12:28	2793	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:28	2793	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:28	2793	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862285 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:28	2793	[DEBUG]	Store custom available field
2023-10-13	13:12:28	2793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862285,3,'',1)
2023-10-13	13:12:28	2793	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:28	2793	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:28	2793	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862285 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:28	2793	[DEBUG]	Store custom available field
2023-10-13	13:12:28	2793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862285,6,'Unitaire',3)
2023-10-13	13:12:28	2793	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:28	2793	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:28	2793	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862284
2023-10-13	13:12:28	2793	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:28	2793	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862284\":[1862284,8,1,\"choisir la taille\"],\"1862285\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862284
2023-10-13	13:12:28	2793	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:28	2793	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862285
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:28	2794	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field taille
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:28	2794	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:28	2794	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:28	2794	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:28	2794	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:28	2794	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:28	2794	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field published
2023-10-13	13:12:28	2794	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:28	2794	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field override
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:28	2794	[DEBUG]	Use field value for field slug
2023-10-13	13:12:28	2794	[DEBUG]	Process line 2794
2023-10-13	13:12:28	2794	[DEBUG]	Load a row
2023-10-13	13:12:28	2794	[DEBUG]	Processing item: A_5969_1
2023-10-13	13:12:28	2794	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:28	2794	[DEBUG]	Processing product tax
2023-10-13	13:12:28	2794	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:28	2794	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:28	2794	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:28	2794	[DEBUG]	Query for Product
2023-10-13	13:12:28	2794	[DEBUG]	Executed store
2023-10-13	13:12:28	2794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5969_1','0.24','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:28	2794	[DEBUG]	Check product language entry
2023-10-13	13:12:28	2794	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862286
2023-10-13	13:12:28	2794	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:28	2794	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5969_1' AND `virtuemart_product_id` != 1862286
2023-10-13	13:12:28	2794	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:28	2794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862286, 'A_5969_1')
2023-10-13	13:12:28	2794	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:28	2794	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'profile-design-guidon-gravel-g-1-twenty-drop-bar-44-cm-noir' AND `virtuemart_product_id` != 1862286
2023-10-13	13:12:28	2794	[DEBUG]	Query for ProductLang
2023-10-13	13:12:28	2794	[DEBUG]	Executed store
2023-10-13	13:12:28	2794	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='237 g Guidon conçu pour une utilisation sur la route et pour une conduite confortable et dynamique. Sa géométrie assure la stabilité à la conduite. - Fabriqué en aluminium - 400 mm de large - 31,8 mm de diamètre - Drop: 131 - Portée: 84 - Couleur noire<br>N° art fourn : 402029',`product_name`='PROFILE DESIGN Guidon Gravel G/1 Twenty Drop Bar 44 cm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='profile-design-guidon-gravel-g-1-twenty-drop-bar-44-cm-noir' WHERE `virtuemart_product_id` = '1862286'
2023-10-13	13:12:28	2794	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31570_guidon_gravel_g-1_twenty_drop_bar_44_cm.jpg
2023-10-13	13:12:28	2794	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:12:28	2794	[DEBUG]	Process image file
2023-10-13	13:12:28	2794	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:12:28	2794	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:28	2794	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31570_guidon_gravel_g-1_twenty_drop_bar_44_cm.jpg
2023-10-13	13:12:28	2794	[DEBUG]	Full name target: bcprisme/31570_guidon_gravel_g-1_twenty_drop_bar_44_cm.jpg
2023-10-13	13:12:29	2794	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:29	2794	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31570_guidon_gravel_g-1_twenty_drop_bar_44_cm.jpg'
2023-10-13	13:12:29	2794	[DEBUG]	Query for Media
2023-10-13	13:12:29	2794	[DEBUG]	Executed store
2023-10-13	13:12:29	2794	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31570_guidon_gravel_g-1_twenty_drop_bar_44_cm.jpg',`file_url_thumb`='bcprisme/31570_guidon_gravel_g-1_twenty_drop_bar_44_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '367061'
2023-10-13	13:12:29	2794	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:29	2794	[DEBUG]	Executed store
2023-10-13	13:12:29	2794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862286','367061','1')
2023-10-13	13:12:29	2794	[DEBUG]	Store product image relation
2023-10-13	13:12:29	2794	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:29	2794	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862286 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:29	2794	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:29	2794	[DEBUG]	Executed store
2023-10-13	13:12:29	2794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862286','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:29	2794	[DEBUG]	Checking manufacturer
2023-10-13	13:12:29	2794	[DEBUG]	Load a row
2023-10-13	13:12:29	2794	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:29	2794	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '172'
2023-10-13	13:12:29	2794	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:29	2794	[DEBUG]	Executed store
2023-10-13	13:12:29	2794	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521909196602' WHERE `virtuemart_manufacturer_id` = '172'
2023-10-13	13:12:29	2794	[DEBUG]	Manufacturer exists
2023-10-13	13:12:29	2794	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 172
2023-10-13	13:12:29	2794	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:29	2794	[DEBUG]	Executed store
2023-10-13	13:12:29	2794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862286','172')
2023-10-13	13:12:29	2794	[DEBUG]	Find the custom field ID
2023-10-13	13:12:29	2794	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:29	2794	[DEBUG]	No custom field ID found
2023-10-13	13:12:29	2794	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:29	2794	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:12:29	2794	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862286 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:29	2794	[DEBUG]	Store custom available field
2023-10-13	13:12:29	2794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862286,3,'39.7891666666667',1)
2023-10-13	13:12:29	2794	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:29	2794	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:29	2794	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862286 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:29	2794	[DEBUG]	Store custom available field
2023-10-13	13:12:29	2794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862286,6,'choisir la taille',3)
2023-10-13	13:12:29	2794	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:29	2794	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:29	2794	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:29	2794	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:29	2794	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862286 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:29	2794	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:29	2794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862286,8,1)
2023-10-13	13:12:29	2794	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:29	2794	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862286\":[1862286,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862286
2023-10-13	13:12:29	2794	[DEBUG]	Checking category
2023-10-13	13:12:29	2794	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:29	2794	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862286
2023-10-13	13:12:29	2794	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:29	2794	[DEBUG]	Executed store
2023-10-13	13:12:29	2794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862286','7357')
2023-10-13	13:12:29	2794	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:29	2794	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862286 AND `virtuemart_category_id` NOT IN (7357)
2023-10-13	13:12:29	2794	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:29	2794	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862286
2023-10-13	13:12:29	2795	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:29	2795	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:29	2795	[DEBUG]	Use field value for field taille
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:29	2795	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:29	2795	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:29	2795	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:29	2795	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:29	2795	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:29	2795	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:29	2795	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:29	2795	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:29	2795	[DEBUG]	Use field value for field published
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:29	2795	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field override
2023-10-13	13:12:29	2795	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:29	2795	[DEBUG]	Use field value for field slug
2023-10-13	13:12:29	2795	[DEBUG]	Process line 2795
2023-10-13	13:12:29	2795	[DEBUG]	Load a row
2023-10-13	13:12:29	2795	[DEBUG]	Processing item: 1000000089394
2023-10-13	13:12:29	2795	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:29	2795	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:29	2795	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5969_1'
2023-10-13	13:12:29	2795	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:29	2795	[DEBUG]	Processing product tax
2023-10-13	13:12:29	2795	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:29	2795	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:29	2795	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:29	2795	[DEBUG]	Query for Product
2023-10-13	13:12:29	2795	[DEBUG]	Executed store
2023-10-13	13:12:29	2795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862286','1000000089394','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:29	2795	[DEBUG]	No parent found
2023-10-13	13:12:29	2795	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862286 AND customfield_value = 'stockable'
2023-10-13	13:12:29	2795	[DEBUG]	Check product language entry
2023-10-13	13:12:29	2795	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862287
2023-10-13	13:12:29	2795	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:29	2795	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000089394' AND `virtuemart_product_id` != 1862287
2023-10-13	13:12:29	2795	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:29	2795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862287, '1000000089394')
2023-10-13	13:12:29	2795	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:29	2795	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'profile-design-guidon-gravel-g-1-twenty-drop-bar-44-cm-noir-unitaire' AND `virtuemart_product_id` != 1862287
2023-10-13	13:12:29	2795	[DEBUG]	Query for ProductLang
2023-10-13	13:12:29	2795	[DEBUG]	Executed store
2023-10-13	13:12:29	2795	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='PROFILE DESIGN Guidon Gravel G/1 Twenty Drop Bar 44 cm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='profile-design-guidon-gravel-g-1-twenty-drop-bar-44-cm-noir-unitaire' WHERE `virtuemart_product_id` = '1862287'
2023-10-13	13:12:29	2795	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31570_guidon_gravel_g-1_twenty_drop_bar_44_cm.jpg
2023-10-13	13:12:29	2795	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:12:29	2795	[DEBUG]	Process image file
2023-10-13	13:12:29	2795	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:12:29	2795	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:29	2795	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31570_guidon_gravel_g-1_twenty_drop_bar_44_cm.jpg
2023-10-13	13:12:29	2795	[DEBUG]	Full name target: bcprisme/31570_guidon_gravel_g-1_twenty_drop_bar_44_cm.jpg
2023-10-13	13:12:30	2795	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:30	2795	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31570_guidon_gravel_g-1_twenty_drop_bar_44_cm.jpg'
2023-10-13	13:12:30	2795	[DEBUG]	Query for Media
2023-10-13	13:12:30	2795	[DEBUG]	Executed store
2023-10-13	13:12:30	2795	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31570_guidon_gravel_g-1_twenty_drop_bar_44_cm.jpg',`file_url_thumb`='bcprisme/31570_guidon_gravel_g-1_twenty_drop_bar_44_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '367061'
2023-10-13	13:12:30	2795	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:30	2795	[DEBUG]	Executed store
2023-10-13	13:12:30	2795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862287','367061','1')
2023-10-13	13:12:30	2795	[DEBUG]	Store product image relation
2023-10-13	13:12:30	2795	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:30	2795	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862287 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:30	2795	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:30	2795	[DEBUG]	Executed store
2023-10-13	13:12:30	2795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862287','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:30	2795	[DEBUG]	Checking manufacturer
2023-10-13	13:12:30	2795	[DEBUG]	Load a row
2023-10-13	13:12:30	2795	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:30	2795	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '172'
2023-10-13	13:12:30	2795	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:30	2795	[DEBUG]	Executed store
2023-10-13	13:12:30	2795	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521909196602' WHERE `virtuemart_manufacturer_id` = '172'
2023-10-13	13:12:30	2795	[DEBUG]	Manufacturer exists
2023-10-13	13:12:30	2795	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 172
2023-10-13	13:12:30	2795	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:30	2795	[DEBUG]	Executed store
2023-10-13	13:12:30	2795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862287','172')
2023-10-13	13:12:30	2795	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:30	2795	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:30	2795	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862287 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:30	2795	[DEBUG]	Store custom available field
2023-10-13	13:12:30	2795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862287,3,'',1)
2023-10-13	13:12:30	2795	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:30	2795	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:12:30	2795	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862287 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:30	2795	[DEBUG]	Store custom available field
2023-10-13	13:12:30	2795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862287,6,'Unitaire',3)
2023-10-13	13:12:30	2795	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:30	2795	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:30	2795	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862286
2023-10-13	13:12:30	2795	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:30	2795	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862286\":[1862286,8,1,\"choisir la taille\"],\"1862287\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862286
2023-10-13	13:12:30	2795	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:30	2795	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862287
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:30	2796	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field taille
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:30	2796	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:30	2796	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:30	2796	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:30	2796	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:30	2796	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:30	2796	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field published
2023-10-13	13:12:30	2796	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:30	2796	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field override
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:30	2796	[DEBUG]	Use field value for field slug
2023-10-13	13:12:30	2796	[DEBUG]	Process line 2796
2023-10-13	13:12:30	2796	[DEBUG]	Load a row
2023-10-13	13:12:30	2796	[DEBUG]	Processing item: A_338_1
2023-10-13	13:12:30	2796	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:30	2796	[DEBUG]	Processing product tax
2023-10-13	13:12:30	2796	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:30	2796	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:30	2796	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:30	2796	[DEBUG]	Query for Product
2023-10-13	13:12:30	2796	[DEBUG]	Executed store
2023-10-13	13:12:30	2796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_338_1','0.025','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:30	2796	[DEBUG]	Check product language entry
2023-10-13	13:12:30	2796	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862288
2023-10-13	13:12:30	2796	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:30	2796	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_338_1' AND `virtuemart_product_id` != 1862288
2023-10-13	13:12:30	2796	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:30	2796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862288, 'A_338_1')
2023-10-13	13:12:30	2796	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:30	2796	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-guidon-msc-bikes-avec-vis-1-set-noir' AND `virtuemart_product_id` != 1862288
2023-10-13	13:12:30	2796	[DEBUG]	Query for ProductLang
2023-10-13	13:12:30	2796	[DEBUG]	Executed store
2023-10-13	13:12:30	2796	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Bouchons à visser<br>N° art fourn : CB001RM',`product_name`='MSC Bouchons de guidon MSC Bikes avec vis. 1 set / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-guidon-msc-bikes-avec-vis-1-set-noir' WHERE `virtuemart_product_id` = '1862288'
2023-10-13	13:12:30	2796	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_380.jpg
2023-10-13	13:12:30	2796	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:12:30	2796	[DEBUG]	Process image file
2023-10-13	13:12:30	2796	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:12:30	2796	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:30	2796	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_380.jpg
2023-10-13	13:12:30	2796	[DEBUG]	Full name target: bcprisme/image_380.jpg
2023-10-13	13:12:31	2796	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:31	2796	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_380.jpg'
2023-10-13	13:12:31	2796	[DEBUG]	Query for Media
2023-10-13	13:12:31	2796	[DEBUG]	Executed store
2023-10-13	13:12:31	2796	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_380.jpg',`file_url_thumb`='bcprisme/image_380.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16589'
2023-10-13	13:12:31	2796	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:31	2796	[DEBUG]	Executed store
2023-10-13	13:12:31	2796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862288','16589','1')
2023-10-13	13:12:31	2796	[DEBUG]	Store product image relation
2023-10-13	13:12:31	2796	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:31	2796	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862288 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:31	2796	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:31	2796	[DEBUG]	Executed store
2023-10-13	13:12:31	2796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862288','0','2.22841225626741','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:31	2796	[DEBUG]	Checking manufacturer
2023-10-13	13:12:31	2796	[DEBUG]	Load a row
2023-10-13	13:12:31	2796	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:31	2796	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:31	2796	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:31	2796	[DEBUG]	Executed store
2023-10-13	13:12:31	2796	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:31	2796	[DEBUG]	Manufacturer exists
2023-10-13	13:12:31	2796	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:31	2796	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:31	2796	[DEBUG]	Executed store
2023-10-13	13:12:31	2796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862288','32')
2023-10-13	13:12:31	2796	[DEBUG]	Find the custom field ID
2023-10-13	13:12:31	2796	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:31	2796	[DEBUG]	No custom field ID found
2023-10-13	13:12:31	2796	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:31	2796	[DEBUG]	Get existing row with customfield value 2.39333333333333
2023-10-13	13:12:31	2796	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862288 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:31	2796	[DEBUG]	Store custom available field
2023-10-13	13:12:31	2796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862288,3,'2.39333333333333',1)
2023-10-13	13:12:31	2796	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:31	2796	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:31	2796	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862288 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:31	2796	[DEBUG]	Store custom available field
2023-10-13	13:12:31	2796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862288,6,'choisir la taille',3)
2023-10-13	13:12:31	2796	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:31	2796	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:31	2796	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:31	2796	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:31	2796	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862288 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:31	2796	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:31	2796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862288,8,1)
2023-10-13	13:12:31	2796	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:31	2796	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862288\":[1862288,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862288
2023-10-13	13:12:31	2796	[DEBUG]	Checking category
2023-10-13	13:12:31	2796	[DEBUG]	Check if category path exists: GUIDONS / EMBOUTS - LENKER / LENKER ENDHORNZAPFEN
2023-10-13	13:12:31	2796	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GUIDONS / EMBOUTS - LENKER / LENKER ENDHORNZAPFEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7356
2023-10-13	13:12:31	2796	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:31	2796	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862288
2023-10-13	13:12:31	2796	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:31	2796	[DEBUG]	Executed store
2023-10-13	13:12:31	2796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862288','7358')
2023-10-13	13:12:31	2796	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:31	2796	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862288 AND `virtuemart_category_id` NOT IN (7358)
2023-10-13	13:12:31	2796	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:31	2796	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862288
2023-10-13	13:12:31	2797	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:31	2797	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:31	2797	[DEBUG]	Use field value for field taille
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:31	2797	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:31	2797	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:31	2797	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:31	2797	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:31	2797	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:31	2797	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:31	2797	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:31	2797	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:31	2797	[DEBUG]	Use field value for field published
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:31	2797	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field override
2023-10-13	13:12:31	2797	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:31	2797	[DEBUG]	Use field value for field slug
2023-10-13	13:12:31	2797	[DEBUG]	Process line 2797
2023-10-13	13:12:31	2797	[DEBUG]	Load a row
2023-10-13	13:12:31	2797	[DEBUG]	Processing item: 1000000003994
2023-10-13	13:12:31	2797	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:31	2797	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:31	2797	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_338_1'
2023-10-13	13:12:31	2797	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:31	2797	[DEBUG]	Processing product tax
2023-10-13	13:12:31	2797	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:31	2797	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:31	2797	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:31	2797	[DEBUG]	Query for Product
2023-10-13	13:12:31	2797	[DEBUG]	Executed store
2023-10-13	13:12:31	2797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862288','1000000003994','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:31	2797	[DEBUG]	No parent found
2023-10-13	13:12:31	2797	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862288 AND customfield_value = 'stockable'
2023-10-13	13:12:31	2797	[DEBUG]	Check product language entry
2023-10-13	13:12:31	2797	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862289
2023-10-13	13:12:31	2797	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:31	2797	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000003994' AND `virtuemart_product_id` != 1862289
2023-10-13	13:12:31	2797	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:31	2797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862289, '1000000003994')
2023-10-13	13:12:31	2797	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:31	2797	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-guidon-msc-bikes-avec-vis-1-set-noir-set' AND `virtuemart_product_id` != 1862289
2023-10-13	13:12:31	2797	[DEBUG]	Query for ProductLang
2023-10-13	13:12:31	2797	[DEBUG]	Executed store
2023-10-13	13:12:31	2797	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchons de guidon MSC Bikes avec vis. 1 set / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-guidon-msc-bikes-avec-vis-1-set-noir-set' WHERE `virtuemart_product_id` = '1862289'
2023-10-13	13:12:31	2797	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_380.jpg
2023-10-13	13:12:31	2797	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:12:31	2797	[DEBUG]	Process image file
2023-10-13	13:12:31	2797	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:12:31	2797	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:31	2797	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_380.jpg
2023-10-13	13:12:31	2797	[DEBUG]	Full name target: bcprisme/image_380.jpg
2023-10-13	13:12:32	2797	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:32	2797	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_380.jpg'
2023-10-13	13:12:32	2797	[DEBUG]	Query for Media
2023-10-13	13:12:32	2797	[DEBUG]	Executed store
2023-10-13	13:12:32	2797	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_380.jpg',`file_url_thumb`='bcprisme/image_380.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16589'
2023-10-13	13:12:32	2797	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:32	2797	[DEBUG]	Executed store
2023-10-13	13:12:32	2797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862289','16589','1')
2023-10-13	13:12:32	2797	[DEBUG]	Store product image relation
2023-10-13	13:12:32	2797	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:32	2797	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862289 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:32	2797	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:32	2797	[DEBUG]	Executed store
2023-10-13	13:12:32	2797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862289','0','2.22841225626741','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:32	2797	[DEBUG]	Checking manufacturer
2023-10-13	13:12:32	2797	[DEBUG]	Load a row
2023-10-13	13:12:32	2797	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:32	2797	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:32	2797	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:32	2797	[DEBUG]	Executed store
2023-10-13	13:12:32	2797	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:32	2797	[DEBUG]	Manufacturer exists
2023-10-13	13:12:32	2797	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:32	2797	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:32	2797	[DEBUG]	Executed store
2023-10-13	13:12:32	2797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862289','32')
2023-10-13	13:12:32	2797	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:32	2797	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:32	2797	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862289 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:32	2797	[DEBUG]	Store custom available field
2023-10-13	13:12:32	2797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862289,3,'',1)
2023-10-13	13:12:32	2797	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:32	2797	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:12:32	2797	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862289 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:32	2797	[DEBUG]	Store custom available field
2023-10-13	13:12:32	2797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862289,6,'Set',3)
2023-10-13	13:12:32	2797	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:32	2797	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:32	2797	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862288
2023-10-13	13:12:32	2797	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:32	2797	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862288\":[1862288,8,1,\"choisir la taille\"],\"1862289\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862288
2023-10-13	13:12:32	2797	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:32	2797	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862289
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:32	2798	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field taille
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field product_override_price
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:32	2798	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:32	2798	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:32	2798	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:32	2798	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:32	2798	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field published
2023-10-13	13:12:32	2798	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:32	2798	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field override
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:32	2798	[DEBUG]	Use field value for field slug
2023-10-13	13:12:32	2798	[DEBUG]	Process line 2798
2023-10-13	13:12:32	2798	[DEBUG]	Load a row
2023-10-13	13:12:32	2798	[DEBUG]	Processing item: A_602_1
2023-10-13	13:12:32	2798	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:32	2798	[DEBUG]	Processing product tax
2023-10-13	13:12:32	2798	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:32	2798	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:32	2798	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:32	2798	[DEBUG]	Query for Product
2023-10-13	13:12:32	2798	[DEBUG]	Executed store
2023-10-13	13:12:32	2798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_602_1','0.029','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:32	2798	[DEBUG]	Check product language entry
2023-10-13	13:12:32	2798	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862290
2023-10-13	13:12:32	2798	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:32	2798	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_602_1' AND `virtuemart_product_id` != 1862290
2023-10-13	13:12:32	2798	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:32	2798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862290, 'A_602_1')
2023-10-13	13:12:32	2798	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:32	2798	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-guidon-ultralight-alu7075-t6-noir' AND `virtuemart_product_id` != 1862290
2023-10-13	13:12:32	2798	[DEBUG]	Query for ProductLang
2023-10-13	13:12:32	2798	[DEBUG]	Executed store
2023-10-13	13:12:32	2798	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Look ravageur, 29 gr, Diamète intérieur de 15 à 20 mm, pour renforcement guidon carbone lorsque l\'on met des cornes.<br>N° art fourn : HP07',`product_name`='MSC Bouchon de guidon Ultralight Alu7075 T6  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-guidon-ultralight-alu7075-t6-noir' WHERE `virtuemart_product_id` = '1862290'
2023-10-13	13:12:32	2798	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_726.jpg
2023-10-13	13:12:32	2798	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:32	2798	[DEBUG]	Process image file
2023-10-13	13:12:32	2798	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:32	2798	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:32	2798	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_726.jpg
2023-10-13	13:12:32	2798	[DEBUG]	Full name target: bcprisme/image_726.jpg
2023-10-13	13:12:33	2798	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:33	2798	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_726.jpg'
2023-10-13	13:12:33	2798	[DEBUG]	Query for Media
2023-10-13	13:12:33	2798	[DEBUG]	Executed store
2023-10-13	13:12:33	2798	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_726.jpg',`file_url_thumb`='bcprisme/image_726.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12952'
2023-10-13	13:12:33	2798	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:33	2798	[DEBUG]	Executed store
2023-10-13	13:12:33	2798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862290','12952','1')
2023-10-13	13:12:33	2798	[DEBUG]	Store product image relation
2023-10-13	13:12:33	2798	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:33	2798	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862290 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:33	2798	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:33	2798	[DEBUG]	Executed store
2023-10-13	13:12:33	2798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862290','0','37.0473537604457','-1','18.4772516248839','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:33	2798	[DEBUG]	Checking manufacturer
2023-10-13	13:12:33	2798	[DEBUG]	Load a row
2023-10-13	13:12:33	2798	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:33	2798	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:33	2798	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:33	2798	[DEBUG]	Executed store
2023-10-13	13:12:33	2798	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:33	2798	[DEBUG]	Manufacturer exists
2023-10-13	13:12:33	2798	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:33	2798	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:33	2798	[DEBUG]	Executed store
2023-10-13	13:12:33	2798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862290','32')
2023-10-13	13:12:33	2798	[DEBUG]	Find the custom field ID
2023-10-13	13:12:33	2798	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:33	2798	[DEBUG]	No custom field ID found
2023-10-13	13:12:33	2798	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:33	2798	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:12:33	2798	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862290 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:33	2798	[DEBUG]	Store custom available field
2023-10-13	13:12:33	2798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862290,3,'39.7891666666667',1)
2023-10-13	13:12:33	2798	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:33	2798	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:33	2798	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862290 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:33	2798	[DEBUG]	Store custom available field
2023-10-13	13:12:33	2798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862290,6,'choisir la taille',3)
2023-10-13	13:12:33	2798	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:33	2798	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:33	2798	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:33	2798	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:33	2798	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862290 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:33	2798	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:33	2798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862290,8,1)
2023-10-13	13:12:33	2798	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:33	2798	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862290\":[1862290,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862290
2023-10-13	13:12:33	2798	[DEBUG]	Checking category
2023-10-13	13:12:33	2798	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:33	2798	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862290
2023-10-13	13:12:33	2798	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:33	2798	[DEBUG]	Executed store
2023-10-13	13:12:33	2798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862290','7358')
2023-10-13	13:12:33	2798	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:33	2798	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862290 AND `virtuemart_category_id` NOT IN (7358)
2023-10-13	13:12:33	2798	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:33	2798	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862290
2023-10-13	13:12:33	2799	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:33	2799	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:33	2799	[DEBUG]	Use field value for field taille
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:33	2799	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:33	2799	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:33	2799	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:33	2799	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:33	2799	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:33	2799	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:33	2799	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:33	2799	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:33	2799	[DEBUG]	Use field value for field published
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:33	2799	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field override
2023-10-13	13:12:33	2799	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:33	2799	[DEBUG]	Use field value for field slug
2023-10-13	13:12:33	2799	[DEBUG]	Process line 2799
2023-10-13	13:12:33	2799	[DEBUG]	Load a row
2023-10-13	13:12:33	2799	[DEBUG]	Processing item: 1000000007954
2023-10-13	13:12:33	2799	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:33	2799	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:33	2799	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_602_1'
2023-10-13	13:12:33	2799	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:33	2799	[DEBUG]	Processing product tax
2023-10-13	13:12:33	2799	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:33	2799	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:33	2799	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:33	2799	[DEBUG]	Query for Product
2023-10-13	13:12:33	2799	[DEBUG]	Executed store
2023-10-13	13:12:33	2799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862290','1000000007954','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:33	2799	[DEBUG]	No parent found
2023-10-13	13:12:33	2799	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862290 AND customfield_value = 'stockable'
2023-10-13	13:12:33	2799	[DEBUG]	Check product language entry
2023-10-13	13:12:33	2799	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862291
2023-10-13	13:12:33	2799	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:33	2799	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000007954' AND `virtuemart_product_id` != 1862291
2023-10-13	13:12:33	2799	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:33	2799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862291, '1000000007954')
2023-10-13	13:12:33	2799	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:33	2799	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-guidon-ultralight-alu7075-t6-noir-set' AND `virtuemart_product_id` != 1862291
2023-10-13	13:12:33	2799	[DEBUG]	Query for ProductLang
2023-10-13	13:12:33	2799	[DEBUG]	Executed store
2023-10-13	13:12:33	2799	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchon de guidon Ultralight Alu7075 T6  / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-guidon-ultralight-alu7075-t6-noir-set' WHERE `virtuemart_product_id` = '1862291'
2023-10-13	13:12:33	2799	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_726.jpg
2023-10-13	13:12:33	2799	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:33	2799	[DEBUG]	Process image file
2023-10-13	13:12:33	2799	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:12:33	2799	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:33	2799	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_726.jpg
2023-10-13	13:12:33	2799	[DEBUG]	Full name target: bcprisme/image_726.jpg
2023-10-13	13:12:34	2799	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:34	2799	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_726.jpg'
2023-10-13	13:12:34	2799	[DEBUG]	Query for Media
2023-10-13	13:12:34	2799	[DEBUG]	Executed store
2023-10-13	13:12:34	2799	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_726.jpg',`file_url_thumb`='bcprisme/image_726.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12952'
2023-10-13	13:12:34	2799	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:34	2799	[DEBUG]	Executed store
2023-10-13	13:12:34	2799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862291','12952','1')
2023-10-13	13:12:34	2799	[DEBUG]	Store product image relation
2023-10-13	13:12:34	2799	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:34	2799	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862291 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:34	2799	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:34	2799	[DEBUG]	Executed store
2023-10-13	13:12:34	2799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862291','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:34	2799	[DEBUG]	Checking manufacturer
2023-10-13	13:12:34	2799	[DEBUG]	Load a row
2023-10-13	13:12:34	2799	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:34	2799	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:34	2799	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:34	2799	[DEBUG]	Executed store
2023-10-13	13:12:34	2799	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:34	2799	[DEBUG]	Manufacturer exists
2023-10-13	13:12:34	2799	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:34	2799	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:34	2799	[DEBUG]	Executed store
2023-10-13	13:12:34	2799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862291','32')
2023-10-13	13:12:34	2799	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:34	2799	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:34	2799	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862291 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:34	2799	[DEBUG]	Store custom available field
2023-10-13	13:12:34	2799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862291,3,'',1)
2023-10-13	13:12:34	2799	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:34	2799	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:12:34	2799	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862291 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:34	2799	[DEBUG]	Store custom available field
2023-10-13	13:12:34	2799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862291,6,'Set',3)
2023-10-13	13:12:34	2799	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:34	2799	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:34	2799	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862290
2023-10-13	13:12:34	2799	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:34	2799	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862290\":[1862290,8,1,\"choisir la taille\"],\"1862291\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862290
2023-10-13	13:12:34	2799	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:34	2799	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862291
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:34	2800	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field taille
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field product_override_price
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:34	2800	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:34	2800	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:34	2800	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:34	2800	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:34	2800	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field published
2023-10-13	13:12:34	2800	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:34	2800	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field override
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:34	2800	[DEBUG]	Use field value for field slug
2023-10-13	13:12:34	2800	[DEBUG]	Process line 2800
2023-10-13	13:12:34	2800	[DEBUG]	Load a row
2023-10-13	13:12:34	2800	[DEBUG]	Processing item: A_602_5
2023-10-13	13:12:34	2800	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:34	2800	[DEBUG]	Processing product tax
2023-10-13	13:12:34	2800	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:34	2800	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:34	2800	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:34	2800	[DEBUG]	Query for Product
2023-10-13	13:12:34	2800	[DEBUG]	Executed store
2023-10-13	13:12:34	2800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_602_5','0.029','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0')
2023-10-13	13:12:34	2800	[DEBUG]	Check product language entry
2023-10-13	13:12:34	2800	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862292
2023-10-13	13:12:34	2800	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:34	2800	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_602_5' AND `virtuemart_product_id` != 1862292
2023-10-13	13:12:34	2800	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:34	2800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862292, 'A_602_5')
2023-10-13	13:12:34	2800	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:34	2800	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-guidon-ultralight-alu7075-t6-or' AND `virtuemart_product_id` != 1862292
2023-10-13	13:12:34	2800	[DEBUG]	Query for ProductLang
2023-10-13	13:12:34	2800	[DEBUG]	Executed store
2023-10-13	13:12:34	2800	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Look ravageur, 29 gr, Diamète intérieur de 15 à 20 mm, pour renforcement guidon carbone lorsque l\'on met des cornes.<br>N° art fourn : HP07',`product_name`='MSC Bouchon de guidon Ultralight Alu7075 T6  / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-guidon-ultralight-alu7075-t6-or' WHERE `virtuemart_product_id` = '1862292'
2023-10-13	13:12:34	2800	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_727.jpg
2023-10-13	13:12:34	2800	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:12:34	2800	[DEBUG]	Process image file
2023-10-13	13:12:34	2800	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:12:34	2800	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:34	2800	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_727.jpg
2023-10-13	13:12:34	2800	[DEBUG]	Full name target: bcprisme/image_727.jpg
2023-10-13	13:12:35	2800	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:35	2800	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_727.jpg'
2023-10-13	13:12:35	2800	[DEBUG]	Query for Media
2023-10-13	13:12:35	2800	[DEBUG]	Executed store
2023-10-13	13:12:35	2800	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_727.jpg',`file_url_thumb`='bcprisme/image_727.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12953'
2023-10-13	13:12:35	2800	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:35	2800	[DEBUG]	Executed store
2023-10-13	13:12:35	2800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862292','12953','1')
2023-10-13	13:12:35	2800	[DEBUG]	Store product image relation
2023-10-13	13:12:35	2800	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:35	2800	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862292 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:35	2800	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:35	2800	[DEBUG]	Executed store
2023-10-13	13:12:35	2800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862292','0','37.0473537604457','-1','18.4772516248839','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:10:49','1593','2023-10-13 13:10:49','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:35	2800	[DEBUG]	Checking manufacturer
2023-10-13	13:12:35	2800	[DEBUG]	Load a row
2023-10-13	13:12:35	2800	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:35	2800	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:35	2800	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:35	2800	[DEBUG]	Executed store
2023-10-13	13:12:35	2800	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:35	2800	[DEBUG]	Manufacturer exists
2023-10-13	13:12:35	2800	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:35	2800	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:35	2800	[DEBUG]	Executed store
2023-10-13	13:12:35	2800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862292','32')
2023-10-13	13:12:35	2800	[DEBUG]	Find the custom field ID
2023-10-13	13:12:35	2800	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:35	2800	[DEBUG]	No custom field ID found
2023-10-13	13:12:35	2800	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:35	2800	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:12:35	2800	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862292 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:35	2800	[DEBUG]	Store custom available field
2023-10-13	13:12:35	2800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862292,3,'39.7891666666667',1)
2023-10-13	13:12:35	2800	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:35	2800	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:35	2800	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862292 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:35	2800	[DEBUG]	Store custom available field
2023-10-13	13:12:35	2800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862292,6,'choisir la taille',3)
2023-10-13	13:12:35	2800	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:35	2800	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:35	2800	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:35	2800	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:35	2800	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862292 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:35	2800	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:35	2800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862292,8,1)
2023-10-13	13:12:35	2800	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:35	2800	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862292\":[1862292,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862292
2023-10-13	13:12:35	2800	[DEBUG]	Checking category
2023-10-13	13:12:35	2800	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:35	2800	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862292
2023-10-13	13:12:35	2800	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:35	2800	[DEBUG]	Executed store
2023-10-13	13:12:35	2800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862292','7358')
2023-10-13	13:12:35	2800	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:35	2800	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862292 AND `virtuemart_category_id` NOT IN (7358)
2023-10-13	13:12:35	2800	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:35	2800	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862292
2023-10-13	13:12:55	2800	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:12:55	2800	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:12:55	2800	[DEBUG]	Load the fields to process
2023-10-13	13:12:55	2800	[DEBUG]	Setup field: product_sku
2023-10-13	13:12:55	2800	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:12:55	2800	[DEBUG]	Setup field: taille
2023-10-13	13:12:55	2800	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:12:55	2800	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:12:55	2800	[DEBUG]	Setup field: product_name
2023-10-13	13:12:55	2800	[DEBUG]	Setup field: category_path
2023-10-13	13:12:55	2800	[DEBUG]	Setup field: product_price
2023-10-13	13:12:55	2800	[DEBUG]	Setup field: product_override_price
2023-10-13	13:12:55	2800	[DEBUG]	Setup field: product_tax
2023-10-13	13:12:55	2800	[DEBUG]	Setup field: file_url
2023-10-13	13:12:55	2800	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:12:55	2800	[DEBUG]	Setup field: product_desc
2023-10-13	13:12:55	2800	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: product_availability
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: product_weight
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: product_unit
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: related_products
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: product_special
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: published
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: metadesc
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: metakey
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: custom_title
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: custom_value
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: custom_param
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: override
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: public_price
2023-10-13	13:12:56	2800	[DEBUG]	Setup field: slug
2023-10-13	13:12:56	2800	[DEBUG]	Use the file for configuration
2023-10-13	13:12:56	2800	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:12:56	2800	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:12:56	2800	[DEBUG]	Load the custom fields
2023-10-13	13:12:56	2800	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:12:56	2800	[DEBUG]	Load stockable custom fields
2023-10-13	13:12:56	2800	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:12:56	2800	[DEBUG]	Load custom fields for all
2023-10-13	13:12:56	2800	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:12:56	2801	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:56	2801	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:56	2801	[DEBUG]	Use field value for field taille
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:56	2801	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:56	2801	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:56	2801	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:56	2801	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:56	2801	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:56	2801	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:56	2801	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:56	2801	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:56	2801	[DEBUG]	Use field value for field published
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:56	2801	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field override
2023-10-13	13:12:56	2801	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:56	2801	[DEBUG]	Use field value for field slug
2023-10-13	13:12:56	2801	[DEBUG]	Process line 2801
2023-10-13	13:12:56	2801	[DEBUG]	Check if the vendor exists
2023-10-13	13:12:56	2801	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '8436047357401'
2023-10-13	13:12:56	2801	[DEBUG]	Load a row
2023-10-13	13:12:56	2801	[DEBUG]	Processing item: 8436047357401
2023-10-13	13:12:56	2801	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:56	2801	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:56	2801	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_602_5'
2023-10-13	13:12:56	2801	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:56	2801	[DEBUG]	Processing product tax
2023-10-13	13:12:56	2801	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:56	2801	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:56	2801	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:56	2801	[DEBUG]	Query for Product
2023-10-13	13:12:56	2801	[DEBUG]	Executed store
2023-10-13	13:12:56	2801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862292','8436047357401','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:12:56	2801	[DEBUG]	No parent found
2023-10-13	13:12:56	2801	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862292 AND customfield_value = 'stockable'
2023-10-13	13:12:56	2801	[DEBUG]	Check product language entry
2023-10-13	13:12:56	2801	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862293
2023-10-13	13:12:56	2801	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:56	2801	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357401' AND `virtuemart_product_id` != 1862293
2023-10-13	13:12:56	2801	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:56	2801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862293, '8436047357401')
2023-10-13	13:12:56	2801	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:56	2801	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-guidon-ultralight-alu7075-t6-or-set' AND `virtuemart_product_id` != 1862293
2023-10-13	13:12:56	2801	[DEBUG]	Query for ProductLang
2023-10-13	13:12:56	2801	[DEBUG]	Executed store
2023-10-13	13:12:56	2801	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchon de guidon Ultralight Alu7075 T6  / Or (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-guidon-ultralight-alu7075-t6-or-set' WHERE `virtuemart_product_id` = '1862293'
2023-10-13	13:12:56	2801	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_727.jpg
2023-10-13	13:12:56	2801	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:12:56	2801	[DEBUG]	Process image file
2023-10-13	13:12:56	2801	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:12:56	2801	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:56	2801	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_727.jpg
2023-10-13	13:12:56	2801	[DEBUG]	Full name target: bcprisme/image_727.jpg
2023-10-13	13:12:57	2801	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:57	2801	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_727.jpg'
2023-10-13	13:12:57	2801	[DEBUG]	Query for Media
2023-10-13	13:12:57	2801	[DEBUG]	Executed store
2023-10-13	13:12:57	2801	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_727.jpg',`file_url_thumb`='bcprisme/image_727.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12953'
2023-10-13	13:12:57	2801	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:57	2801	[DEBUG]	Executed store
2023-10-13	13:12:57	2801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862293','12953','1')
2023-10-13	13:12:57	2801	[DEBUG]	Store product image relation
2023-10-13	13:12:57	2801	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:57	2801	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862293 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:57	2801	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:57	2801	[DEBUG]	Executed store
2023-10-13	13:12:57	2801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862293','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:57	2801	[DEBUG]	Checking manufacturer
2023-10-13	13:12:57	2801	[DEBUG]	Load a row
2023-10-13	13:12:57	2801	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:57	2801	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:57	2801	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:57	2801	[DEBUG]	Executed store
2023-10-13	13:12:57	2801	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:57	2801	[DEBUG]	Manufacturer exists
2023-10-13	13:12:57	2801	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:57	2801	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:57	2801	[DEBUG]	Executed store
2023-10-13	13:12:57	2801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862293','32')
2023-10-13	13:12:57	2801	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:57	2801	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:57	2801	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862293 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:57	2801	[DEBUG]	Store custom available field
2023-10-13	13:12:57	2801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862293,3,'',1)
2023-10-13	13:12:57	2801	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:57	2801	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:12:57	2801	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862293 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:57	2801	[DEBUG]	Store custom available field
2023-10-13	13:12:57	2801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862293,6,'Set',3)
2023-10-13	13:12:57	2801	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:57	2801	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:57	2801	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862292
2023-10-13	13:12:57	2801	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:57	2801	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862292\":[1862292,8,1,\"choisir la taille\"],\"1862293\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862292
2023-10-13	13:12:57	2801	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:57	2801	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862293
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:57	2802	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field taille
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field product_override_price
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:57	2802	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:57	2802	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:57	2802	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:57	2802	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:57	2802	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field published
2023-10-13	13:12:57	2802	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:57	2802	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field override
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:57	2802	[DEBUG]	Use field value for field slug
2023-10-13	13:12:57	2802	[DEBUG]	Process line 2802
2023-10-13	13:12:57	2802	[DEBUG]	Load a row
2023-10-13	13:12:57	2802	[DEBUG]	Processing item: A_602_7
2023-10-13	13:12:57	2802	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:57	2802	[DEBUG]	Processing product tax
2023-10-13	13:12:57	2802	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:57	2802	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:57	2802	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:57	2802	[DEBUG]	Query for Product
2023-10-13	13:12:57	2802	[DEBUG]	Executed store
2023-10-13	13:12:57	2802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_602_7','0.029','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:12:57	2802	[DEBUG]	Check product language entry
2023-10-13	13:12:57	2802	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862294
2023-10-13	13:12:57	2802	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:57	2802	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_602_7' AND `virtuemart_product_id` != 1862294
2023-10-13	13:12:57	2802	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:57	2802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862294, 'A_602_7')
2023-10-13	13:12:57	2802	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:57	2802	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-guidon-ultralight-alu7075-t6-rouge' AND `virtuemart_product_id` != 1862294
2023-10-13	13:12:57	2802	[DEBUG]	Query for ProductLang
2023-10-13	13:12:57	2802	[DEBUG]	Executed store
2023-10-13	13:12:57	2802	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Look ravageur, 29 gr, Diamète intérieur de 15 à 20 mm, pour renforcement guidon carbone lorsque l\'on met des cornes.<br>N° art fourn : HP07',`product_name`='MSC Bouchon de guidon Ultralight Alu7075 T6  / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-guidon-ultralight-alu7075-t6-rouge' WHERE `virtuemart_product_id` = '1862294'
2023-10-13	13:12:57	2802	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_728.jpg
2023-10-13	13:12:57	2802	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:12:57	2802	[DEBUG]	Process image file
2023-10-13	13:12:57	2802	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:12:57	2802	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:57	2802	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_728.jpg
2023-10-13	13:12:57	2802	[DEBUG]	Full name target: bcprisme/image_728.jpg
2023-10-13	13:12:58	2802	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:58	2802	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_728.jpg'
2023-10-13	13:12:58	2802	[DEBUG]	Query for Media
2023-10-13	13:12:58	2802	[DEBUG]	Executed store
2023-10-13	13:12:58	2802	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_728.jpg',`file_url_thumb`='bcprisme/image_728.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12954'
2023-10-13	13:12:58	2802	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:58	2802	[DEBUG]	Executed store
2023-10-13	13:12:58	2802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862294','12954','1')
2023-10-13	13:12:58	2802	[DEBUG]	Store product image relation
2023-10-13	13:12:58	2802	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:58	2802	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862294 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:58	2802	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:58	2802	[DEBUG]	Executed store
2023-10-13	13:12:58	2802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862294','0','37.0473537604457','-1','18.4772516248839','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:58	2802	[DEBUG]	Checking manufacturer
2023-10-13	13:12:58	2802	[DEBUG]	Load a row
2023-10-13	13:12:58	2802	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:58	2802	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:58	2802	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:58	2802	[DEBUG]	Executed store
2023-10-13	13:12:58	2802	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:58	2802	[DEBUG]	Manufacturer exists
2023-10-13	13:12:58	2802	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:58	2802	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:58	2802	[DEBUG]	Executed store
2023-10-13	13:12:58	2802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862294','32')
2023-10-13	13:12:58	2802	[DEBUG]	Find the custom field ID
2023-10-13	13:12:58	2802	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:12:58	2802	[DEBUG]	No custom field ID found
2023-10-13	13:12:58	2802	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:58	2802	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:12:58	2802	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862294 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:58	2802	[DEBUG]	Store custom available field
2023-10-13	13:12:58	2802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862294,3,'39.7891666666667',1)
2023-10-13	13:12:58	2802	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:58	2802	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:12:58	2802	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862294 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:58	2802	[DEBUG]	Store custom available field
2023-10-13	13:12:58	2802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862294,6,'choisir la taille',3)
2023-10-13	13:12:58	2802	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:58	2802	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:12:58	2802	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:12:58	2802	[DEBUG]	Find the multi variant product entry
2023-10-13	13:12:58	2802	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862294 AND `virtuemart_custom_id` = 8
2023-10-13	13:12:58	2802	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:12:58	2802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862294,8,1)
2023-10-13	13:12:58	2802	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:58	2802	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862294\":[1862294,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862294
2023-10-13	13:12:58	2802	[DEBUG]	Checking category
2023-10-13	13:12:58	2802	[DEBUG]	Check if category path exists: GUIDONS - LENKER
2023-10-13	13:12:58	2802	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GUIDONS - LENKER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:12:58	2802	[DEBUG]	Check if category path exists: GUIDONS / EMBOUTS - LENKER / LENKER ENDHORNZAPFEN
2023-10-13	13:12:58	2802	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GUIDONS / EMBOUTS - LENKER / LENKER ENDHORNZAPFEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7356
2023-10-13	13:12:58	2802	[DEBUG]	Get the existing categories for the product
2023-10-13	13:12:58	2802	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862294
2023-10-13	13:12:58	2802	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:12:58	2802	[DEBUG]	Executed store
2023-10-13	13:12:58	2802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862294','7358')
2023-10-13	13:12:58	2802	[DEBUG]	Delete leftover product categories
2023-10-13	13:12:58	2802	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862294 AND `virtuemart_category_id` NOT IN (7358)
2023-10-13	13:12:58	2802	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:58	2802	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862294
2023-10-13	13:12:58	2803	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:58	2803	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:12:58	2803	[DEBUG]	Use field value for field taille
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:12:58	2803	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field category_path
2023-10-13	13:12:58	2803	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:12:58	2803	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:58	2803	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:58	2803	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:12:58	2803	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field product_weight
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:58	2803	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:58	2803	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:58	2803	[DEBUG]	Use field value for field published
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field custom_title
2023-10-13	13:12:58	2803	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field custom_param
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field override
2023-10-13	13:12:58	2803	[DEBUG]	Use default value for field public_price
2023-10-13	13:12:58	2803	[DEBUG]	Use field value for field slug
2023-10-13	13:12:58	2803	[DEBUG]	Process line 2803
2023-10-13	13:12:58	2803	[DEBUG]	Load a row
2023-10-13	13:12:58	2803	[DEBUG]	Processing item: 8436047357388
2023-10-13	13:12:58	2803	[DEBUG]	Looking for parent SKU
2023-10-13	13:12:58	2803	[DEBUG]	Checking product parent SKU
2023-10-13	13:12:58	2803	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_602_7'
2023-10-13	13:12:58	2803	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:58	2803	[DEBUG]	Processing product tax
2023-10-13	13:12:58	2803	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:58	2803	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:58	2803	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:58	2803	[DEBUG]	Query for Product
2023-10-13	13:12:58	2803	[DEBUG]	Executed store
2023-10-13	13:12:58	2803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862294','8436047357388','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:12:58	2803	[DEBUG]	No parent found
2023-10-13	13:12:58	2803	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862294 AND customfield_value = 'stockable'
2023-10-13	13:12:58	2803	[DEBUG]	Check product language entry
2023-10-13	13:12:58	2803	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862295
2023-10-13	13:12:58	2803	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:58	2803	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357388' AND `virtuemart_product_id` != 1862295
2023-10-13	13:12:58	2803	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:58	2803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862295, '8436047357388')
2023-10-13	13:12:58	2803	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:58	2803	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-guidon-ultralight-alu7075-t6-rouge-set' AND `virtuemart_product_id` != 1862295
2023-10-13	13:12:58	2803	[DEBUG]	Query for ProductLang
2023-10-13	13:12:58	2803	[DEBUG]	Executed store
2023-10-13	13:12:58	2803	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchon de guidon Ultralight Alu7075 T6  / Rouge (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-guidon-ultralight-alu7075-t6-rouge-set' WHERE `virtuemart_product_id` = '1862295'
2023-10-13	13:12:58	2803	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_728.jpg
2023-10-13	13:12:58	2803	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:12:58	2803	[DEBUG]	Process image file
2023-10-13	13:12:58	2803	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:12:58	2803	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:58	2803	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_728.jpg
2023-10-13	13:12:58	2803	[DEBUG]	Full name target: bcprisme/image_728.jpg
2023-10-13	13:12:59	2803	[DEBUG]	Checking if the file_url exists
2023-10-13	13:12:59	2803	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_728.jpg'
2023-10-13	13:12:59	2803	[DEBUG]	Query for Media
2023-10-13	13:12:59	2803	[DEBUG]	Executed store
2023-10-13	13:12:59	2803	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_728.jpg',`file_url_thumb`='bcprisme/image_728.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12954'
2023-10-13	13:12:59	2803	[DEBUG]	Query for ProductMedia
2023-10-13	13:12:59	2803	[DEBUG]	Executed store
2023-10-13	13:12:59	2803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862295','12954','1')
2023-10-13	13:12:59	2803	[DEBUG]	Store product image relation
2023-10-13	13:12:59	2803	[DEBUG]	Finding a product_price_id
2023-10-13	13:12:59	2803	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862295 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:12:59	2803	[DEBUG]	Query for ProductPrice
2023-10-13	13:12:59	2803	[DEBUG]	Executed store
2023-10-13	13:12:59	2803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862295','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:12:59	2803	[DEBUG]	Checking manufacturer
2023-10-13	13:12:59	2803	[DEBUG]	Load a row
2023-10-13	13:12:59	2803	[DEBUG]	Manufacturer already exists
2023-10-13	13:12:59	2803	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:59	2803	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:12:59	2803	[DEBUG]	Executed store
2023-10-13	13:12:59	2803	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:12:59	2803	[DEBUG]	Manufacturer exists
2023-10-13	13:12:59	2803	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:12:59	2803	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:12:59	2803	[DEBUG]	Executed store
2023-10-13	13:12:59	2803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862295','32')
2023-10-13	13:12:59	2803	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:12:59	2803	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:12:59	2803	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862295 AND `virtuemart_custom_id` = 3
2023-10-13	13:12:59	2803	[DEBUG]	Store custom available field
2023-10-13	13:12:59	2803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862295,3,'',1)
2023-10-13	13:12:59	2803	[DEBUG]	Processing custom available field: taille
2023-10-13	13:12:59	2803	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:12:59	2803	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862295 AND `virtuemart_custom_id` = 6
2023-10-13	13:12:59	2803	[DEBUG]	Store custom available field
2023-10-13	13:12:59	2803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862295,6,'Set',3)
2023-10-13	13:12:59	2803	[DEBUG]	Process multi-variant fields
2023-10-13	13:12:59	2803	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:12:59	2803	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862294
2023-10-13	13:12:59	2803	[DEBUG]	Store the updated customfield_params
2023-10-13	13:12:59	2803	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862294\":[1862294,8,1,\"choisir la taille\"],\"1862295\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862294
2023-10-13	13:12:59	2803	[DEBUG]	Update has fields after all processing
2023-10-13	13:12:59	2803	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862295
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field product_sku
2023-10-13	13:12:59	2804	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field taille
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field product_name
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field category_path
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field product_price
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field product_override_price
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field product_tax
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field file_url
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:12:59	2804	[DEBUG]	Use default value for field product_desc
2023-10-13	13:12:59	2804	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field product_availability
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field product_weight
2023-10-13	13:12:59	2804	[DEBUG]	Use default value for field product_unit
2023-10-13	13:12:59	2804	[DEBUG]	Use default value for field related_products
2023-10-13	13:12:59	2804	[DEBUG]	Use default value for field product_special
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field published
2023-10-13	13:12:59	2804	[DEBUG]	Use default value for field metadesc
2023-10-13	13:12:59	2804	[DEBUG]	Use default value for field metakey
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field custom_title
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field custom_value
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field custom_param
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field override
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field public_price
2023-10-13	13:12:59	2804	[DEBUG]	Use field value for field slug
2023-10-13	13:12:59	2804	[DEBUG]	Process line 2804
2023-10-13	13:12:59	2804	[DEBUG]	Load a row
2023-10-13	13:12:59	2804	[DEBUG]	Processing item: A_602_22
2023-10-13	13:12:59	2804	[DEBUG]	Product tax: 7.7
2023-10-13	13:12:59	2804	[DEBUG]	Processing product tax
2023-10-13	13:12:59	2804	[DEBUG]	Check if calculation rule exists
2023-10-13	13:12:59	2804	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:12:59	2804	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:12:59	2804	[DEBUG]	Query for Product
2023-10-13	13:12:59	2804	[DEBUG]	Executed store
2023-10-13	13:12:59	2804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_602_22','0.029','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:12:59	2804	[DEBUG]	Check product language entry
2023-10-13	13:12:59	2804	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862296
2023-10-13	13:12:59	2804	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:59	2804	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_602_22' AND `virtuemart_product_id` != 1862296
2023-10-13	13:12:59	2804	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:12:59	2804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862296, 'A_602_22')
2023-10-13	13:12:59	2804	[DEBUG]	Check if the product slug exists
2023-10-13	13:12:59	2804	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-guidon-ultralight-alu7075-t6-bleu' AND `virtuemart_product_id` != 1862296
2023-10-13	13:12:59	2804	[DEBUG]	Query for ProductLang
2023-10-13	13:12:59	2804	[DEBUG]	Executed store
2023-10-13	13:12:59	2804	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Look ravageur, 29 gr, Diamète intérieur de 15 à 20 mm, pour renforcement guidon carbone lorsque l\'on met des cornes.<br>N° art fourn : HP07',`product_name`='MSC Bouchon de guidon Ultralight Alu7075 T6  / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-guidon-ultralight-alu7075-t6-bleu' WHERE `virtuemart_product_id` = '1862296'
2023-10-13	13:12:59	2804	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_725.jpg
2023-10-13	13:12:59	2804	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:12:59	2804	[DEBUG]	Process image file
2023-10-13	13:12:59	2804	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:12:59	2804	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:12:59	2804	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_725.jpg
2023-10-13	13:12:59	2804	[DEBUG]	Full name target: bcprisme/image_725.jpg
2023-10-13	13:13:00	2804	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:00	2804	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_725.jpg'
2023-10-13	13:13:00	2804	[DEBUG]	Query for Media
2023-10-13	13:13:00	2804	[DEBUG]	Executed store
2023-10-13	13:13:00	2804	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_725.jpg',`file_url_thumb`='bcprisme/image_725.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12955'
2023-10-13	13:13:00	2804	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:00	2804	[DEBUG]	Executed store
2023-10-13	13:13:00	2804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862296','12955','1')
2023-10-13	13:13:00	2804	[DEBUG]	Store product image relation
2023-10-13	13:13:00	2804	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:00	2804	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862296 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:00	2804	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:00	2804	[DEBUG]	Executed store
2023-10-13	13:13:00	2804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862296','0','37.0473537604457','-1','18.4772516248839','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:00	2804	[DEBUG]	Checking manufacturer
2023-10-13	13:13:00	2804	[DEBUG]	Load a row
2023-10-13	13:13:00	2804	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:00	2804	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:00	2804	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:00	2804	[DEBUG]	Executed store
2023-10-13	13:13:00	2804	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:00	2804	[DEBUG]	Manufacturer exists
2023-10-13	13:13:00	2804	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:00	2804	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:00	2804	[DEBUG]	Executed store
2023-10-13	13:13:00	2804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862296','32')
2023-10-13	13:13:00	2804	[DEBUG]	Find the custom field ID
2023-10-13	13:13:00	2804	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:00	2804	[DEBUG]	No custom field ID found
2023-10-13	13:13:00	2804	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:00	2804	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:13:00	2804	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862296 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:00	2804	[DEBUG]	Store custom available field
2023-10-13	13:13:00	2804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862296,3,'39.7891666666667',1)
2023-10-13	13:13:00	2804	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:00	2804	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:00	2804	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862296 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:00	2804	[DEBUG]	Store custom available field
2023-10-13	13:13:00	2804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862296,6,'choisir la taille',3)
2023-10-13	13:13:00	2804	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:00	2804	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:00	2804	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:00	2804	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:00	2804	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862296 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:00	2804	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:00	2804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862296,8,1)
2023-10-13	13:13:00	2804	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:00	2804	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862296\":[1862296,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862296
2023-10-13	13:13:00	2804	[DEBUG]	Checking category
2023-10-13	13:13:00	2804	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:00	2804	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862296
2023-10-13	13:13:00	2804	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:00	2804	[DEBUG]	Executed store
2023-10-13	13:13:00	2804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862296','7358')
2023-10-13	13:13:00	2804	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:00	2804	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862296 AND `virtuemart_category_id` NOT IN (7358)
2023-10-13	13:13:00	2804	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:00	2804	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862296
2023-10-13	13:13:00	2805	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:00	2805	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:00	2805	[DEBUG]	Use field value for field taille
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:00	2805	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:00	2805	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:00	2805	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:00	2805	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:00	2805	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:00	2805	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:00	2805	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:00	2805	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:00	2805	[DEBUG]	Use field value for field published
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:00	2805	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field override
2023-10-13	13:13:00	2805	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:00	2805	[DEBUG]	Use field value for field slug
2023-10-13	13:13:00	2805	[DEBUG]	Process line 2805
2023-10-13	13:13:00	2805	[DEBUG]	Load a row
2023-10-13	13:13:00	2805	[DEBUG]	Processing item: 8436047357395
2023-10-13	13:13:00	2805	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:00	2805	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:00	2805	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_602_22'
2023-10-13	13:13:00	2805	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:00	2805	[DEBUG]	Processing product tax
2023-10-13	13:13:00	2805	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:00	2805	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:00	2805	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:00	2805	[DEBUG]	Query for Product
2023-10-13	13:13:00	2805	[DEBUG]	Executed store
2023-10-13	13:13:00	2805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862296','8436047357395','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:00	2805	[DEBUG]	No parent found
2023-10-13	13:13:00	2805	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862296 AND customfield_value = 'stockable'
2023-10-13	13:13:00	2805	[DEBUG]	Check product language entry
2023-10-13	13:13:00	2805	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862297
2023-10-13	13:13:00	2805	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:00	2805	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357395' AND `virtuemart_product_id` != 1862297
2023-10-13	13:13:00	2805	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:00	2805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862297, '8436047357395')
2023-10-13	13:13:00	2805	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:00	2805	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-guidon-ultralight-alu7075-t6-bleu-set' AND `virtuemart_product_id` != 1862297
2023-10-13	13:13:00	2805	[DEBUG]	Query for ProductLang
2023-10-13	13:13:00	2805	[DEBUG]	Executed store
2023-10-13	13:13:00	2805	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchon de guidon Ultralight Alu7075 T6  / Bleu (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-guidon-ultralight-alu7075-t6-bleu-set' WHERE `virtuemart_product_id` = '1862297'
2023-10-13	13:13:00	2805	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_725.jpg
2023-10-13	13:13:00	2805	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:00	2805	[DEBUG]	Process image file
2023-10-13	13:13:00	2805	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:00	2805	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:00	2805	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_725.jpg
2023-10-13	13:13:00	2805	[DEBUG]	Full name target: bcprisme/image_725.jpg
2023-10-13	13:13:01	2805	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:01	2805	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_725.jpg'
2023-10-13	13:13:01	2805	[DEBUG]	Query for Media
2023-10-13	13:13:01	2805	[DEBUG]	Executed store
2023-10-13	13:13:01	2805	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_725.jpg',`file_url_thumb`='bcprisme/image_725.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12955'
2023-10-13	13:13:01	2805	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:01	2805	[DEBUG]	Executed store
2023-10-13	13:13:01	2805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862297','12955','1')
2023-10-13	13:13:01	2805	[DEBUG]	Store product image relation
2023-10-13	13:13:01	2805	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:01	2805	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862297 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:01	2805	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:01	2805	[DEBUG]	Executed store
2023-10-13	13:13:01	2805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862297','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:01	2805	[DEBUG]	Checking manufacturer
2023-10-13	13:13:01	2805	[DEBUG]	Load a row
2023-10-13	13:13:01	2805	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:01	2805	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:01	2805	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:01	2805	[DEBUG]	Executed store
2023-10-13	13:13:01	2805	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:01	2805	[DEBUG]	Manufacturer exists
2023-10-13	13:13:01	2805	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:01	2805	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:01	2805	[DEBUG]	Executed store
2023-10-13	13:13:01	2805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862297','32')
2023-10-13	13:13:01	2805	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:01	2805	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:01	2805	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862297 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:01	2805	[DEBUG]	Store custom available field
2023-10-13	13:13:01	2805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862297,3,'',1)
2023-10-13	13:13:01	2805	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:01	2805	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:13:01	2805	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862297 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:01	2805	[DEBUG]	Store custom available field
2023-10-13	13:13:01	2805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862297,6,'Set',3)
2023-10-13	13:13:01	2805	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:01	2805	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:01	2805	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862296
2023-10-13	13:13:01	2805	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:01	2805	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862296\":[1862296,8,1,\"choisir la taille\"],\"1862297\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862296
2023-10-13	13:13:01	2805	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:01	2805	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862297
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:01	2806	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field taille
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field product_override_price
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:01	2806	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:01	2806	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:01	2806	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:01	2806	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:01	2806	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field published
2023-10-13	13:13:01	2806	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:01	2806	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field override
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:01	2806	[DEBUG]	Use field value for field slug
2023-10-13	13:13:01	2806	[DEBUG]	Process line 2806
2023-10-13	13:13:01	2806	[DEBUG]	Load a row
2023-10-13	13:13:01	2806	[DEBUG]	Processing item: A_602_40
2023-10-13	13:13:01	2806	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:01	2806	[DEBUG]	Processing product tax
2023-10-13	13:13:01	2806	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:01	2806	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:01	2806	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:01	2806	[DEBUG]	Query for Product
2023-10-13	13:13:01	2806	[DEBUG]	Executed store
2023-10-13	13:13:01	2806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_602_40','0.029','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:01	2806	[DEBUG]	Check product language entry
2023-10-13	13:13:01	2806	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862298
2023-10-13	13:13:01	2806	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:01	2806	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_602_40' AND `virtuemart_product_id` != 1862298
2023-10-13	13:13:01	2806	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:01	2806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862298, 'A_602_40')
2023-10-13	13:13:01	2806	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:01	2806	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-guidon-ultralight-alu7075-t6-vert' AND `virtuemart_product_id` != 1862298
2023-10-13	13:13:01	2806	[DEBUG]	Query for ProductLang
2023-10-13	13:13:01	2806	[DEBUG]	Executed store
2023-10-13	13:13:01	2806	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Look ravageur, 29 gr, Diamète intérieur de 15 à 20 mm, pour renforcement guidon carbone lorsque l\'on met des cornes.<br>N° art fourn : HP07',`product_name`='MSC Bouchon de guidon Ultralight Alu7075 T6  / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-guidon-ultralight-alu7075-t6-vert' WHERE `virtuemart_product_id` = '1862298'
2023-10-13	13:13:01	2806	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12149.jpg
2023-10-13	13:13:01	2806	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:01	2806	[DEBUG]	Process image file
2023-10-13	13:13:01	2806	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:01	2806	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:01	2806	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12149.jpg
2023-10-13	13:13:01	2806	[DEBUG]	Full name target: bcprisme/image_12149.jpg
2023-10-13	13:13:02	2806	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:02	2806	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12149.jpg'
2023-10-13	13:13:02	2806	[DEBUG]	Query for Media
2023-10-13	13:13:02	2806	[DEBUG]	Executed store
2023-10-13	13:13:02	2806	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12149.jpg',`file_url_thumb`='bcprisme/image_12149.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12956'
2023-10-13	13:13:02	2806	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:02	2806	[DEBUG]	Executed store
2023-10-13	13:13:02	2806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862298','12956','1')
2023-10-13	13:13:02	2806	[DEBUG]	Store product image relation
2023-10-13	13:13:02	2806	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:02	2806	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862298 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:02	2806	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:02	2806	[DEBUG]	Executed store
2023-10-13	13:13:02	2806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862298','0','37.0473537604457','-1','18.4772516248839','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:02	2806	[DEBUG]	Checking manufacturer
2023-10-13	13:13:02	2806	[DEBUG]	Load a row
2023-10-13	13:13:02	2806	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:02	2806	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:02	2806	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:02	2806	[DEBUG]	Executed store
2023-10-13	13:13:02	2806	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:02	2806	[DEBUG]	Manufacturer exists
2023-10-13	13:13:02	2806	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:02	2806	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:02	2806	[DEBUG]	Executed store
2023-10-13	13:13:02	2806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862298','32')
2023-10-13	13:13:02	2806	[DEBUG]	Find the custom field ID
2023-10-13	13:13:02	2806	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:02	2806	[DEBUG]	No custom field ID found
2023-10-13	13:13:02	2806	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:02	2806	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:13:02	2806	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862298 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:02	2806	[DEBUG]	Store custom available field
2023-10-13	13:13:02	2806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862298,3,'39.7891666666667',1)
2023-10-13	13:13:02	2806	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:02	2806	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:02	2806	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862298 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:02	2806	[DEBUG]	Store custom available field
2023-10-13	13:13:02	2806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862298,6,'choisir la taille',3)
2023-10-13	13:13:02	2806	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:02	2806	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:02	2806	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:02	2806	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:02	2806	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862298 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:02	2806	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:02	2806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862298,8,1)
2023-10-13	13:13:02	2806	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:02	2806	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862298\":[1862298,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862298
2023-10-13	13:13:02	2806	[DEBUG]	Checking category
2023-10-13	13:13:02	2806	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:02	2806	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862298
2023-10-13	13:13:02	2806	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:02	2806	[DEBUG]	Executed store
2023-10-13	13:13:02	2806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862298','7358')
2023-10-13	13:13:02	2806	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:02	2806	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862298 AND `virtuemart_category_id` NOT IN (7358)
2023-10-13	13:13:02	2806	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:02	2806	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862298
2023-10-13	13:13:02	2807	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:02	2807	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:02	2807	[DEBUG]	Use field value for field taille
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:02	2807	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:02	2807	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:02	2807	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:02	2807	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:02	2807	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:02	2807	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:02	2807	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:02	2807	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:02	2807	[DEBUG]	Use field value for field published
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:02	2807	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field override
2023-10-13	13:13:02	2807	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:02	2807	[DEBUG]	Use field value for field slug
2023-10-13	13:13:02	2807	[DEBUG]	Process line 2807
2023-10-13	13:13:02	2807	[DEBUG]	Load a row
2023-10-13	13:13:02	2807	[DEBUG]	Processing item: 1000000048629
2023-10-13	13:13:02	2807	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:02	2807	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:02	2807	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_602_40'
2023-10-13	13:13:02	2807	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:02	2807	[DEBUG]	Processing product tax
2023-10-13	13:13:02	2807	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:02	2807	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:02	2807	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:02	2807	[DEBUG]	Query for Product
2023-10-13	13:13:02	2807	[DEBUG]	Executed store
2023-10-13	13:13:02	2807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862298','1000000048629','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:02	2807	[DEBUG]	No parent found
2023-10-13	13:13:02	2807	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862298 AND customfield_value = 'stockable'
2023-10-13	13:13:02	2807	[DEBUG]	Check product language entry
2023-10-13	13:13:02	2807	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862299
2023-10-13	13:13:02	2807	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:02	2807	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000048629' AND `virtuemart_product_id` != 1862299
2023-10-13	13:13:02	2807	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:02	2807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862299, '1000000048629')
2023-10-13	13:13:02	2807	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:02	2807	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchon-de-guidon-ultralight-alu7075-t6-vert-set' AND `virtuemart_product_id` != 1862299
2023-10-13	13:13:02	2807	[DEBUG]	Query for ProductLang
2023-10-13	13:13:02	2807	[DEBUG]	Executed store
2023-10-13	13:13:02	2807	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchon de guidon Ultralight Alu7075 T6  / Vert (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchon-de-guidon-ultralight-alu7075-t6-vert-set' WHERE `virtuemart_product_id` = '1862299'
2023-10-13	13:13:02	2807	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12149.jpg
2023-10-13	13:13:02	2807	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:02	2807	[DEBUG]	Process image file
2023-10-13	13:13:02	2807	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:02	2807	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:02	2807	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12149.jpg
2023-10-13	13:13:02	2807	[DEBUG]	Full name target: bcprisme/image_12149.jpg
2023-10-13	13:13:03	2807	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:03	2807	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12149.jpg'
2023-10-13	13:13:03	2807	[DEBUG]	Query for Media
2023-10-13	13:13:03	2807	[DEBUG]	Executed store
2023-10-13	13:13:03	2807	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12149.jpg',`file_url_thumb`='bcprisme/image_12149.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12956'
2023-10-13	13:13:03	2807	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:03	2807	[DEBUG]	Executed store
2023-10-13	13:13:03	2807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862299','12956','1')
2023-10-13	13:13:03	2807	[DEBUG]	Store product image relation
2023-10-13	13:13:03	2807	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:03	2807	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862299 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:03	2807	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:03	2807	[DEBUG]	Executed store
2023-10-13	13:13:03	2807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862299','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:03	2807	[DEBUG]	Checking manufacturer
2023-10-13	13:13:03	2807	[DEBUG]	Load a row
2023-10-13	13:13:03	2807	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:03	2807	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:03	2807	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:03	2807	[DEBUG]	Executed store
2023-10-13	13:13:03	2807	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:03	2807	[DEBUG]	Manufacturer exists
2023-10-13	13:13:03	2807	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:03	2807	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:03	2807	[DEBUG]	Executed store
2023-10-13	13:13:03	2807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862299','32')
2023-10-13	13:13:03	2807	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:03	2807	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:03	2807	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862299 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:03	2807	[DEBUG]	Store custom available field
2023-10-13	13:13:03	2807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862299,3,'',1)
2023-10-13	13:13:03	2807	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:03	2807	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:13:03	2807	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862299 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:03	2807	[DEBUG]	Store custom available field
2023-10-13	13:13:03	2807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862299,6,'Set',3)
2023-10-13	13:13:03	2807	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:03	2807	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:03	2807	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862298
2023-10-13	13:13:03	2807	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:03	2807	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862298\":[1862298,8,1,\"choisir la taille\"],\"1862299\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862298
2023-10-13	13:13:03	2807	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:03	2807	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862299
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:03	2808	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field taille
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:03	2808	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:03	2808	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:03	2808	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:03	2808	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:03	2808	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:03	2808	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field published
2023-10-13	13:13:03	2808	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:03	2808	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field override
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:03	2808	[DEBUG]	Use field value for field slug
2023-10-13	13:13:03	2808	[DEBUG]	Process line 2808
2023-10-13	13:13:03	2808	[DEBUG]	Load a row
2023-10-13	13:13:03	2808	[DEBUG]	Processing item: A_791_1
2023-10-13	13:13:03	2808	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:03	2808	[DEBUG]	Processing product tax
2023-10-13	13:13:03	2808	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:03	2808	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:03	2808	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:03	2808	[DEBUG]	Query for Product
2023-10-13	13:13:03	2808	[DEBUG]	Executed store
2023-10-13	13:13:03	2808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_791_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:03	2808	[DEBUG]	Check product language entry
2023-10-13	13:13:03	2808	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862300
2023-10-13	13:13:03	2808	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:03	2808	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_791_1' AND `virtuemart_product_id` != 1862300
2023-10-13	13:13:03	2808	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:03	2808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862300, 'A_791_1')
2023-10-13	13:13:03	2808	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:03	2808	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-bouchons-de-guidon-msc-bikes-carbone-alu-1-set-noir' AND `virtuemart_product_id` != 1862300
2023-10-13	13:13:03	2808	[DEBUG]	Query for ProductLang
2023-10-13	13:13:03	2808	[DEBUG]	Executed store
2023-10-13	13:13:03	2808	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Look unique<br>N° art fourn : PLUGAC1',`product_name`='MLV-Bike Bouchons de guidon MSC Bikes carbone/alu (1 set) / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-bouchons-de-guidon-msc-bikes-carbone-alu-1-set-noir' WHERE `virtuemart_product_id` = '1862300'
2023-10-13	13:13:03	2808	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1054.jpg
2023-10-13	13:13:03	2808	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:13:03	2808	[DEBUG]	Process image file
2023-10-13	13:13:03	2808	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:13:03	2808	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:03	2808	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1054.jpg
2023-10-13	13:13:03	2808	[DEBUG]	Full name target: bcprisme/image_1054.jpg
2023-10-13	13:13:04	2808	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:04	2808	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1054.jpg'
2023-10-13	13:13:04	2808	[DEBUG]	Query for Media
2023-10-13	13:13:04	2808	[DEBUG]	Executed store
2023-10-13	13:13:04	2808	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1054.jpg',`file_url_thumb`='bcprisme/image_1054.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16590'
2023-10-13	13:13:04	2808	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:04	2808	[DEBUG]	Executed store
2023-10-13	13:13:04	2808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862300','16590','1')
2023-10-13	13:13:04	2808	[DEBUG]	Store product image relation
2023-10-13	13:13:04	2808	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:04	2808	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862300 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:04	2808	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:04	2808	[DEBUG]	Executed store
2023-10-13	13:13:04	2808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862300','0','7.89229340761374','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:04	2808	[DEBUG]	Checking manufacturer
2023-10-13	13:13:04	2808	[DEBUG]	Load a row
2023-10-13	13:13:04	2808	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:04	2808	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:13:04	2808	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:04	2808	[DEBUG]	Executed store
2023-10-13	13:13:04	2808	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:13:04	2808	[DEBUG]	Manufacturer exists
2023-10-13	13:13:04	2808	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:13:04	2808	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:04	2808	[DEBUG]	Executed store
2023-10-13	13:13:04	2808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862300','2')
2023-10-13	13:13:04	2808	[DEBUG]	Find the custom field ID
2023-10-13	13:13:04	2808	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:04	2808	[DEBUG]	No custom field ID found
2023-10-13	13:13:04	2808	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:04	2808	[DEBUG]	Get existing row with customfield value 8.47638888888889
2023-10-13	13:13:04	2808	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862300 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:04	2808	[DEBUG]	Store custom available field
2023-10-13	13:13:04	2808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862300,3,'8.47638888888889',1)
2023-10-13	13:13:04	2808	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:04	2808	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:04	2808	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862300 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:04	2808	[DEBUG]	Store custom available field
2023-10-13	13:13:04	2808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862300,6,'choisir la taille',3)
2023-10-13	13:13:04	2808	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:04	2808	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:04	2808	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:04	2808	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:04	2808	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862300 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:04	2808	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:04	2808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862300,8,1)
2023-10-13	13:13:04	2808	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:04	2808	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862300\":[1862300,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862300
2023-10-13	13:13:04	2808	[DEBUG]	Checking category
2023-10-13	13:13:04	2808	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:04	2808	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862300
2023-10-13	13:13:04	2808	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:04	2808	[DEBUG]	Executed store
2023-10-13	13:13:04	2808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862300','7358')
2023-10-13	13:13:04	2808	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:04	2808	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862300 AND `virtuemart_category_id` NOT IN (7358)
2023-10-13	13:13:04	2808	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:04	2808	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862300
2023-10-13	13:13:04	2809	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:04	2809	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:04	2809	[DEBUG]	Use field value for field taille
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:04	2809	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:04	2809	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:04	2809	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:04	2809	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:04	2809	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:04	2809	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:04	2809	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:04	2809	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:04	2809	[DEBUG]	Use field value for field published
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:04	2809	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field override
2023-10-13	13:13:04	2809	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:04	2809	[DEBUG]	Use field value for field slug
2023-10-13	13:13:04	2809	[DEBUG]	Process line 2809
2023-10-13	13:13:04	2809	[DEBUG]	Load a row
2023-10-13	13:13:04	2809	[DEBUG]	Processing item: 1000000011425
2023-10-13	13:13:04	2809	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:04	2809	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:04	2809	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_791_1'
2023-10-13	13:13:04	2809	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:04	2809	[DEBUG]	Processing product tax
2023-10-13	13:13:04	2809	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:04	2809	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:04	2809	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:04	2809	[DEBUG]	Query for Product
2023-10-13	13:13:04	2809	[DEBUG]	Executed store
2023-10-13	13:13:04	2809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862300','1000000011425','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:04	2809	[DEBUG]	No parent found
2023-10-13	13:13:04	2809	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862300 AND customfield_value = 'stockable'
2023-10-13	13:13:04	2809	[DEBUG]	Check product language entry
2023-10-13	13:13:04	2809	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862301
2023-10-13	13:13:04	2809	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:04	2809	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000011425' AND `virtuemart_product_id` != 1862301
2023-10-13	13:13:04	2809	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:04	2809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862301, '1000000011425')
2023-10-13	13:13:04	2809	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:04	2809	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-bouchons-de-guidon-msc-bikes-carbone-alu-1-set-noir-set' AND `virtuemart_product_id` != 1862301
2023-10-13	13:13:04	2809	[DEBUG]	Query for ProductLang
2023-10-13	13:13:04	2809	[DEBUG]	Executed store
2023-10-13	13:13:04	2809	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Bouchons de guidon MSC Bikes carbone/alu (1 set) / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-bouchons-de-guidon-msc-bikes-carbone-alu-1-set-noir-set' WHERE `virtuemart_product_id` = '1862301'
2023-10-13	13:13:04	2809	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1054.jpg
2023-10-13	13:13:04	2809	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:13:04	2809	[DEBUG]	Process image file
2023-10-13	13:13:04	2809	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:13:04	2809	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:04	2809	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1054.jpg
2023-10-13	13:13:04	2809	[DEBUG]	Full name target: bcprisme/image_1054.jpg
2023-10-13	13:13:05	2809	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:05	2809	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1054.jpg'
2023-10-13	13:13:05	2809	[DEBUG]	Query for Media
2023-10-13	13:13:05	2809	[DEBUG]	Executed store
2023-10-13	13:13:05	2809	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1054.jpg',`file_url_thumb`='bcprisme/image_1054.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16590'
2023-10-13	13:13:05	2809	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:05	2809	[DEBUG]	Executed store
2023-10-13	13:13:05	2809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862301','16590','1')
2023-10-13	13:13:05	2809	[DEBUG]	Store product image relation
2023-10-13	13:13:05	2809	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:05	2809	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862301 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:05	2809	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:05	2809	[DEBUG]	Executed store
2023-10-13	13:13:05	2809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862301','0','7.89229340761374','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:05	2809	[DEBUG]	Checking manufacturer
2023-10-13	13:13:05	2809	[DEBUG]	Load a row
2023-10-13	13:13:05	2809	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:05	2809	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:13:05	2809	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:05	2809	[DEBUG]	Executed store
2023-10-13	13:13:05	2809	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:13:05	2809	[DEBUG]	Manufacturer exists
2023-10-13	13:13:05	2809	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:13:05	2809	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:05	2809	[DEBUG]	Executed store
2023-10-13	13:13:05	2809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862301','2')
2023-10-13	13:13:05	2809	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:05	2809	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:05	2809	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862301 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:05	2809	[DEBUG]	Store custom available field
2023-10-13	13:13:05	2809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862301,3,'',1)
2023-10-13	13:13:05	2809	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:05	2809	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:13:05	2809	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862301 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:05	2809	[DEBUG]	Store custom available field
2023-10-13	13:13:05	2809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862301,6,'Set',3)
2023-10-13	13:13:05	2809	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:05	2809	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:05	2809	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862300
2023-10-13	13:13:05	2809	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:05	2809	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862300\":[1862300,8,1,\"choisir la taille\"],\"1862301\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862300
2023-10-13	13:13:05	2809	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:05	2809	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862301
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:05	2810	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field taille
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:05	2810	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:05	2810	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:05	2810	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:05	2810	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:05	2810	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:05	2810	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field published
2023-10-13	13:13:05	2810	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:05	2810	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field override
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:05	2810	[DEBUG]	Use field value for field slug
2023-10-13	13:13:05	2810	[DEBUG]	Process line 2810
2023-10-13	13:13:05	2810	[DEBUG]	Load a row
2023-10-13	13:13:05	2810	[DEBUG]	Processing item: A_998_1
2023-10-13	13:13:05	2810	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:05	2810	[DEBUG]	Processing product tax
2023-10-13	13:13:05	2810	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:05	2810	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:05	2810	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:05	2810	[DEBUG]	Query for Product
2023-10-13	13:13:05	2810	[DEBUG]	Executed store
2023-10-13	13:13:05	2810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_998_1','0.0045','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:05	2810	[DEBUG]	Check product language entry
2023-10-13	13:13:05	2810	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862302
2023-10-13	13:13:05	2810	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:05	2810	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_998_1' AND `virtuemart_product_id` != 1862302
2023-10-13	13:13:05	2810	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:05	2810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862302, 'A_998_1')
2023-10-13	13:13:05	2810	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:05	2810	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-guidon-ultralight-1-paire-noir' AND `virtuemart_product_id` != 1862302
2023-10-13	13:13:05	2810	[DEBUG]	Query for ProductLang
2023-10-13	13:13:06	2810	[DEBUG]	Executed store
2023-10-13	13:13:06	2810	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Look ravageur, 4 gr<br>N° art fourn : TAP',`product_name`='MSC Bouchons de guidon Ultralight. 1 paire / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-guidon-ultralight-1-paire-noir' WHERE `virtuemart_product_id` = '1862302'
2023-10-13	13:13:06	2810	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1297.jpg
2023-10-13	13:13:06	2810	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:06	2810	[DEBUG]	Process image file
2023-10-13	13:13:06	2810	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:06	2810	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:06	2810	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1297.jpg
2023-10-13	13:13:06	2810	[DEBUG]	Full name target: bcprisme/image_1297.jpg
2023-10-13	13:13:07	2810	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:07	2810	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1297.jpg'
2023-10-13	13:13:07	2810	[DEBUG]	Query for Media
2023-10-13	13:13:07	2810	[DEBUG]	Executed store
2023-10-13	13:13:07	2810	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1297.jpg',`file_url_thumb`='bcprisme/image_1297.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12957'
2023-10-13	13:13:07	2810	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:07	2810	[DEBUG]	Executed store
2023-10-13	13:13:07	2810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862302','12957','1')
2023-10-13	13:13:07	2810	[DEBUG]	Store product image relation
2023-10-13	13:13:07	2810	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:07	2810	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862302 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:07	2810	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:07	2810	[DEBUG]	Executed store
2023-10-13	13:13:07	2810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862302','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:07	2810	[DEBUG]	Checking manufacturer
2023-10-13	13:13:07	2810	[DEBUG]	Load a row
2023-10-13	13:13:07	2810	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:07	2810	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:07	2810	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:07	2810	[DEBUG]	Executed store
2023-10-13	13:13:07	2810	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:07	2810	[DEBUG]	Manufacturer exists
2023-10-13	13:13:07	2810	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:07	2810	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:07	2810	[DEBUG]	Executed store
2023-10-13	13:13:07	2810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862302','32')
2023-10-13	13:13:07	2810	[DEBUG]	Find the custom field ID
2023-10-13	13:13:07	2810	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:07	2810	[DEBUG]	No custom field ID found
2023-10-13	13:13:07	2810	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:07	2810	[DEBUG]	Get existing row with customfield value 3.19111111111111
2023-10-13	13:13:07	2810	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862302 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:07	2810	[DEBUG]	Store custom available field
2023-10-13	13:13:07	2810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862302,3,'3.19111111111111',1)
2023-10-13	13:13:07	2810	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:07	2810	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:07	2810	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862302 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:07	2810	[DEBUG]	Store custom available field
2023-10-13	13:13:07	2810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862302,6,'choisir la taille',3)
2023-10-13	13:13:07	2810	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:07	2810	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:07	2810	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:07	2810	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:07	2810	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862302 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:07	2810	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:07	2810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862302,8,1)
2023-10-13	13:13:07	2810	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:07	2810	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862302\":[1862302,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862302
2023-10-13	13:13:07	2810	[DEBUG]	Checking category
2023-10-13	13:13:07	2810	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:07	2810	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862302
2023-10-13	13:13:07	2810	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:07	2810	[DEBUG]	Executed store
2023-10-13	13:13:07	2810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862302','7358')
2023-10-13	13:13:07	2810	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:07	2810	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862302 AND `virtuemart_category_id` NOT IN (7358)
2023-10-13	13:13:07	2810	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:07	2810	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862302
2023-10-13	13:13:07	2811	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:07	2811	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:07	2811	[DEBUG]	Use field value for field taille
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:07	2811	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:07	2811	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:07	2811	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:07	2811	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:07	2811	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:07	2811	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:07	2811	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:07	2811	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:07	2811	[DEBUG]	Use field value for field published
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:07	2811	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field override
2023-10-13	13:13:07	2811	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:07	2811	[DEBUG]	Use field value for field slug
2023-10-13	13:13:07	2811	[DEBUG]	Process line 2811
2023-10-13	13:13:07	2811	[DEBUG]	Load a row
2023-10-13	13:13:07	2811	[DEBUG]	Processing item: 8436047354172
2023-10-13	13:13:07	2811	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:07	2811	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:07	2811	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_998_1'
2023-10-13	13:13:07	2811	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:07	2811	[DEBUG]	Processing product tax
2023-10-13	13:13:07	2811	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:07	2811	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:07	2811	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:07	2811	[DEBUG]	Query for Product
2023-10-13	13:13:07	2811	[DEBUG]	Executed store
2023-10-13	13:13:07	2811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862302','8436047354172','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:07	2811	[DEBUG]	No parent found
2023-10-13	13:13:07	2811	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862302 AND customfield_value = 'stockable'
2023-10-13	13:13:07	2811	[DEBUG]	Check product language entry
2023-10-13	13:13:07	2811	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862303
2023-10-13	13:13:07	2811	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:07	2811	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047354172' AND `virtuemart_product_id` != 1862303
2023-10-13	13:13:07	2811	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:07	2811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862303, '8436047354172')
2023-10-13	13:13:07	2811	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:07	2811	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-guidon-ultralight-1-paire-noir-set' AND `virtuemart_product_id` != 1862303
2023-10-13	13:13:07	2811	[DEBUG]	Query for ProductLang
2023-10-13	13:13:07	2811	[DEBUG]	Executed store
2023-10-13	13:13:07	2811	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchons de guidon Ultralight. 1 paire / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-guidon-ultralight-1-paire-noir-set' WHERE `virtuemart_product_id` = '1862303'
2023-10-13	13:13:07	2811	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1297.jpg
2023-10-13	13:13:07	2811	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:07	2811	[DEBUG]	Process image file
2023-10-13	13:13:07	2811	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:07	2811	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:07	2811	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1297.jpg
2023-10-13	13:13:07	2811	[DEBUG]	Full name target: bcprisme/image_1297.jpg
2023-10-13	13:13:08	2811	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:08	2811	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1297.jpg'
2023-10-13	13:13:08	2811	[DEBUG]	Query for Media
2023-10-13	13:13:08	2811	[DEBUG]	Executed store
2023-10-13	13:13:08	2811	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1297.jpg',`file_url_thumb`='bcprisme/image_1297.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12957'
2023-10-13	13:13:08	2811	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:08	2811	[DEBUG]	Executed store
2023-10-13	13:13:08	2811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862303','12957','1')
2023-10-13	13:13:08	2811	[DEBUG]	Store product image relation
2023-10-13	13:13:08	2811	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:08	2811	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862303 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:08	2811	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:08	2811	[DEBUG]	Executed store
2023-10-13	13:13:08	2811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862303','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:08	2811	[DEBUG]	Checking manufacturer
2023-10-13	13:13:08	2811	[DEBUG]	Load a row
2023-10-13	13:13:08	2811	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:08	2811	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:08	2811	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:08	2811	[DEBUG]	Executed store
2023-10-13	13:13:08	2811	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:08	2811	[DEBUG]	Manufacturer exists
2023-10-13	13:13:08	2811	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:08	2811	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:08	2811	[DEBUG]	Executed store
2023-10-13	13:13:08	2811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862303','32')
2023-10-13	13:13:08	2811	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:08	2811	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:08	2811	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862303 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:08	2811	[DEBUG]	Store custom available field
2023-10-13	13:13:08	2811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862303,3,'',1)
2023-10-13	13:13:08	2811	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:08	2811	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:13:08	2811	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862303 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:08	2811	[DEBUG]	Store custom available field
2023-10-13	13:13:08	2811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862303,6,'Set',3)
2023-10-13	13:13:08	2811	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:08	2811	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:08	2811	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862302
2023-10-13	13:13:08	2811	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:08	2811	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862302\":[1862302,8,1,\"choisir la taille\"],\"1862303\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862302
2023-10-13	13:13:08	2811	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:08	2811	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862303
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:08	2812	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field taille
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:08	2812	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:08	2812	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:08	2812	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:08	2812	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:08	2812	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:08	2812	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field published
2023-10-13	13:13:08	2812	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:08	2812	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field override
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:08	2812	[DEBUG]	Use field value for field slug
2023-10-13	13:13:08	2812	[DEBUG]	Process line 2812
2023-10-13	13:13:08	2812	[DEBUG]	Load a row
2023-10-13	13:13:08	2812	[DEBUG]	Processing item: A_998_7
2023-10-13	13:13:08	2812	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:08	2812	[DEBUG]	Processing product tax
2023-10-13	13:13:08	2812	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:08	2812	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:08	2812	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:08	2812	[DEBUG]	Query for Product
2023-10-13	13:13:08	2812	[DEBUG]	Executed store
2023-10-13	13:13:08	2812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_998_7','0.0045','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:08	2812	[DEBUG]	Check product language entry
2023-10-13	13:13:08	2812	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862304
2023-10-13	13:13:08	2812	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:08	2812	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_998_7' AND `virtuemart_product_id` != 1862304
2023-10-13	13:13:08	2812	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:08	2812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862304, 'A_998_7')
2023-10-13	13:13:08	2812	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:08	2812	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-guidon-ultralight-1-paire-rouge' AND `virtuemart_product_id` != 1862304
2023-10-13	13:13:08	2812	[DEBUG]	Query for ProductLang
2023-10-13	13:13:08	2812	[DEBUG]	Executed store
2023-10-13	13:13:08	2812	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Look ravageur, 4 gr<br>N° art fourn : TAP',`product_name`='MSC Bouchons de guidon Ultralight. 1 paire / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-guidon-ultralight-1-paire-rouge' WHERE `virtuemart_product_id` = '1862304'
2023-10-13	13:13:08	2812	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1300.jpg
2023-10-13	13:13:08	2812	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:08	2812	[DEBUG]	Process image file
2023-10-13	13:13:08	2812	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:08	2812	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:08	2812	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1300.jpg
2023-10-13	13:13:08	2812	[DEBUG]	Full name target: bcprisme/image_1300.jpg
2023-10-13	13:13:09	2812	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:09	2812	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1300.jpg'
2023-10-13	13:13:09	2812	[DEBUG]	Query for Media
2023-10-13	13:13:09	2812	[DEBUG]	Executed store
2023-10-13	13:13:09	2812	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1300.jpg',`file_url_thumb`='bcprisme/image_1300.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12958'
2023-10-13	13:13:09	2812	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:09	2812	[DEBUG]	Executed store
2023-10-13	13:13:09	2812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862304','12958','1')
2023-10-13	13:13:09	2812	[DEBUG]	Store product image relation
2023-10-13	13:13:09	2812	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:09	2812	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862304 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:09	2812	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:09	2812	[DEBUG]	Executed store
2023-10-13	13:13:09	2812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862304','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:09	2812	[DEBUG]	Checking manufacturer
2023-10-13	13:13:09	2812	[DEBUG]	Load a row
2023-10-13	13:13:09	2812	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:09	2812	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:09	2812	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:09	2812	[DEBUG]	Executed store
2023-10-13	13:13:09	2812	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:09	2812	[DEBUG]	Manufacturer exists
2023-10-13	13:13:09	2812	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:09	2812	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:09	2812	[DEBUG]	Executed store
2023-10-13	13:13:09	2812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862304','32')
2023-10-13	13:13:09	2812	[DEBUG]	Find the custom field ID
2023-10-13	13:13:09	2812	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:09	2812	[DEBUG]	No custom field ID found
2023-10-13	13:13:09	2812	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:09	2812	[DEBUG]	Get existing row with customfield value 3.19111111111111
2023-10-13	13:13:09	2812	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862304 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:09	2812	[DEBUG]	Store custom available field
2023-10-13	13:13:09	2812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862304,3,'3.19111111111111',1)
2023-10-13	13:13:09	2812	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:09	2812	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:09	2812	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862304 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:09	2812	[DEBUG]	Store custom available field
2023-10-13	13:13:09	2812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862304,6,'choisir la taille',3)
2023-10-13	13:13:09	2812	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:09	2812	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:09	2812	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:09	2812	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:09	2812	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862304 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:09	2812	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:09	2812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862304,8,1)
2023-10-13	13:13:09	2812	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:09	2812	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862304\":[1862304,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862304
2023-10-13	13:13:09	2812	[DEBUG]	Checking category
2023-10-13	13:13:09	2812	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:09	2812	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862304
2023-10-13	13:13:09	2812	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:09	2812	[DEBUG]	Executed store
2023-10-13	13:13:09	2812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862304','7358')
2023-10-13	13:13:09	2812	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:09	2812	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862304 AND `virtuemart_category_id` NOT IN (7358)
2023-10-13	13:13:09	2812	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:09	2812	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862304
2023-10-13	13:13:09	2813	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:09	2813	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:09	2813	[DEBUG]	Use field value for field taille
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:09	2813	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:09	2813	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:09	2813	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:09	2813	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:09	2813	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:09	2813	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:09	2813	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:09	2813	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:09	2813	[DEBUG]	Use field value for field published
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:09	2813	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field override
2023-10-13	13:13:09	2813	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:09	2813	[DEBUG]	Use field value for field slug
2023-10-13	13:13:09	2813	[DEBUG]	Process line 2813
2023-10-13	13:13:09	2813	[DEBUG]	Load a row
2023-10-13	13:13:09	2813	[DEBUG]	Processing item: 8436047354196
2023-10-13	13:13:09	2813	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:09	2813	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:09	2813	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_998_7'
2023-10-13	13:13:09	2813	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:09	2813	[DEBUG]	Processing product tax
2023-10-13	13:13:09	2813	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:09	2813	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:09	2813	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:09	2813	[DEBUG]	Query for Product
2023-10-13	13:13:09	2813	[DEBUG]	Executed store
2023-10-13	13:13:09	2813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862304','8436047354196','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:09	2813	[DEBUG]	No parent found
2023-10-13	13:13:09	2813	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862304 AND customfield_value = 'stockable'
2023-10-13	13:13:09	2813	[DEBUG]	Check product language entry
2023-10-13	13:13:09	2813	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862305
2023-10-13	13:13:09	2813	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:09	2813	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047354196' AND `virtuemart_product_id` != 1862305
2023-10-13	13:13:09	2813	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:09	2813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862305, '8436047354196')
2023-10-13	13:13:09	2813	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:09	2813	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-guidon-ultralight-1-paire-rouge-set' AND `virtuemart_product_id` != 1862305
2023-10-13	13:13:09	2813	[DEBUG]	Query for ProductLang
2023-10-13	13:13:09	2813	[DEBUG]	Executed store
2023-10-13	13:13:09	2813	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchons de guidon Ultralight. 1 paire / Rouge (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-guidon-ultralight-1-paire-rouge-set' WHERE `virtuemart_product_id` = '1862305'
2023-10-13	13:13:09	2813	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1300.jpg
2023-10-13	13:13:09	2813	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:09	2813	[DEBUG]	Process image file
2023-10-13	13:13:09	2813	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:09	2813	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:09	2813	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1300.jpg
2023-10-13	13:13:09	2813	[DEBUG]	Full name target: bcprisme/image_1300.jpg
2023-10-13	13:13:10	2813	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:10	2813	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1300.jpg'
2023-10-13	13:13:10	2813	[DEBUG]	Query for Media
2023-10-13	13:13:10	2813	[DEBUG]	Executed store
2023-10-13	13:13:10	2813	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1300.jpg',`file_url_thumb`='bcprisme/image_1300.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12958'
2023-10-13	13:13:10	2813	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:10	2813	[DEBUG]	Executed store
2023-10-13	13:13:10	2813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862305','12958','1')
2023-10-13	13:13:10	2813	[DEBUG]	Store product image relation
2023-10-13	13:13:10	2813	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:10	2813	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862305 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:10	2813	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:10	2813	[DEBUG]	Executed store
2023-10-13	13:13:10	2813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862305','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:10	2813	[DEBUG]	Checking manufacturer
2023-10-13	13:13:10	2813	[DEBUG]	Load a row
2023-10-13	13:13:10	2813	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:10	2813	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:10	2813	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:10	2813	[DEBUG]	Executed store
2023-10-13	13:13:10	2813	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:10	2813	[DEBUG]	Manufacturer exists
2023-10-13	13:13:10	2813	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:10	2813	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:10	2813	[DEBUG]	Executed store
2023-10-13	13:13:10	2813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862305','32')
2023-10-13	13:13:10	2813	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:10	2813	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:10	2813	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862305 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:10	2813	[DEBUG]	Store custom available field
2023-10-13	13:13:10	2813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862305,3,'',1)
2023-10-13	13:13:10	2813	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:10	2813	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:13:10	2813	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862305 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:10	2813	[DEBUG]	Store custom available field
2023-10-13	13:13:10	2813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862305,6,'Set',3)
2023-10-13	13:13:10	2813	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:10	2813	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:10	2813	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862304
2023-10-13	13:13:10	2813	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:10	2813	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862304\":[1862304,8,1,\"choisir la taille\"],\"1862305\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862304
2023-10-13	13:13:10	2813	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:10	2813	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862305
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:10	2814	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field taille
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:10	2814	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:10	2814	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:10	2814	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:10	2814	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:10	2814	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:10	2814	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field published
2023-10-13	13:13:10	2814	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:10	2814	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field override
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:10	2814	[DEBUG]	Use field value for field slug
2023-10-13	13:13:10	2814	[DEBUG]	Process line 2814
2023-10-13	13:13:10	2814	[DEBUG]	Load a row
2023-10-13	13:13:10	2814	[DEBUG]	Processing item: A_998_12
2023-10-13	13:13:10	2814	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:10	2814	[DEBUG]	Processing product tax
2023-10-13	13:13:10	2814	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:10	2814	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:10	2814	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:10	2814	[DEBUG]	Query for Product
2023-10-13	13:13:10	2814	[DEBUG]	Executed store
2023-10-13	13:13:10	2814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_998_12','0.0045','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:10	2814	[DEBUG]	Check product language entry
2023-10-13	13:13:10	2814	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862306
2023-10-13	13:13:10	2814	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:10	2814	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_998_12' AND `virtuemart_product_id` != 1862306
2023-10-13	13:13:10	2814	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:10	2814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862306, 'A_998_12')
2023-10-13	13:13:10	2814	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:10	2814	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-guidon-ultralight-1-paire-blanc' AND `virtuemart_product_id` != 1862306
2023-10-13	13:13:10	2814	[DEBUG]	Query for ProductLang
2023-10-13	13:13:10	2814	[DEBUG]	Executed store
2023-10-13	13:13:10	2814	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Look ravageur, 4 gr<br>N° art fourn : TAP',`product_name`='MSC Bouchons de guidon Ultralight. 1 paire / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-guidon-ultralight-1-paire-blanc' WHERE `virtuemart_product_id` = '1862306'
2023-10-13	13:13:10	2814	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1301.jpg
2023-10-13	13:13:10	2814	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:10	2814	[DEBUG]	Process image file
2023-10-13	13:13:10	2814	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:10	2814	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:10	2814	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1301.jpg
2023-10-13	13:13:10	2814	[DEBUG]	Full name target: bcprisme/image_1301.jpg
2023-10-13	13:13:11	2814	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:11	2814	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1301.jpg'
2023-10-13	13:13:11	2814	[DEBUG]	Query for Media
2023-10-13	13:13:11	2814	[DEBUG]	Executed store
2023-10-13	13:13:11	2814	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1301.jpg',`file_url_thumb`='bcprisme/image_1301.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12959'
2023-10-13	13:13:11	2814	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:11	2814	[DEBUG]	Executed store
2023-10-13	13:13:11	2814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862306','12959','1')
2023-10-13	13:13:11	2814	[DEBUG]	Store product image relation
2023-10-13	13:13:11	2814	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:11	2814	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862306 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:11	2814	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:11	2814	[DEBUG]	Executed store
2023-10-13	13:13:11	2814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862306','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:11	2814	[DEBUG]	Checking manufacturer
2023-10-13	13:13:11	2814	[DEBUG]	Load a row
2023-10-13	13:13:11	2814	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:11	2814	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:11	2814	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:11	2814	[DEBUG]	Executed store
2023-10-13	13:13:11	2814	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:11	2814	[DEBUG]	Manufacturer exists
2023-10-13	13:13:11	2814	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:11	2814	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:11	2814	[DEBUG]	Executed store
2023-10-13	13:13:11	2814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862306','32')
2023-10-13	13:13:11	2814	[DEBUG]	Find the custom field ID
2023-10-13	13:13:11	2814	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:11	2814	[DEBUG]	No custom field ID found
2023-10-13	13:13:11	2814	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:11	2814	[DEBUG]	Get existing row with customfield value 3.19111111111111
2023-10-13	13:13:11	2814	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862306 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:11	2814	[DEBUG]	Store custom available field
2023-10-13	13:13:11	2814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862306,3,'3.19111111111111',1)
2023-10-13	13:13:11	2814	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:11	2814	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:11	2814	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862306 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:11	2814	[DEBUG]	Store custom available field
2023-10-13	13:13:11	2814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862306,6,'choisir la taille',3)
2023-10-13	13:13:11	2814	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:11	2814	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:11	2814	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:11	2814	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:11	2814	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862306 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:11	2814	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:11	2814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862306,8,1)
2023-10-13	13:13:11	2814	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:11	2814	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862306\":[1862306,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862306
2023-10-13	13:13:11	2814	[DEBUG]	Checking category
2023-10-13	13:13:11	2814	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:11	2814	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862306
2023-10-13	13:13:11	2814	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:11	2814	[DEBUG]	Executed store
2023-10-13	13:13:11	2814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862306','7358')
2023-10-13	13:13:11	2814	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:11	2814	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862306 AND `virtuemart_category_id` NOT IN (7358)
2023-10-13	13:13:11	2814	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:11	2814	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862306
2023-10-13	13:13:11	2815	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:11	2815	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:11	2815	[DEBUG]	Use field value for field taille
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:11	2815	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:11	2815	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:11	2815	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:11	2815	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:11	2815	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:11	2815	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:11	2815	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:11	2815	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:11	2815	[DEBUG]	Use field value for field published
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:11	2815	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field override
2023-10-13	13:13:11	2815	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:11	2815	[DEBUG]	Use field value for field slug
2023-10-13	13:13:11	2815	[DEBUG]	Process line 2815
2023-10-13	13:13:11	2815	[DEBUG]	Load a row
2023-10-13	13:13:11	2815	[DEBUG]	Processing item: 8436047354202
2023-10-13	13:13:11	2815	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:11	2815	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:11	2815	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_998_12'
2023-10-13	13:13:11	2815	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:11	2815	[DEBUG]	Processing product tax
2023-10-13	13:13:11	2815	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:11	2815	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:11	2815	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:11	2815	[DEBUG]	Query for Product
2023-10-13	13:13:11	2815	[DEBUG]	Executed store
2023-10-13	13:13:11	2815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862306','8436047354202','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:11	2815	[DEBUG]	No parent found
2023-10-13	13:13:11	2815	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862306 AND customfield_value = 'stockable'
2023-10-13	13:13:11	2815	[DEBUG]	Check product language entry
2023-10-13	13:13:11	2815	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862307
2023-10-13	13:13:11	2815	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:11	2815	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047354202' AND `virtuemart_product_id` != 1862307
2023-10-13	13:13:11	2815	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:11	2815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862307, '8436047354202')
2023-10-13	13:13:11	2815	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:11	2815	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-guidon-ultralight-1-paire-blanc-set' AND `virtuemart_product_id` != 1862307
2023-10-13	13:13:11	2815	[DEBUG]	Query for ProductLang
2023-10-13	13:13:11	2815	[DEBUG]	Executed store
2023-10-13	13:13:11	2815	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchons de guidon Ultralight. 1 paire / Blanc (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-guidon-ultralight-1-paire-blanc-set' WHERE `virtuemart_product_id` = '1862307'
2023-10-13	13:13:11	2815	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1301.jpg
2023-10-13	13:13:11	2815	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:11	2815	[DEBUG]	Process image file
2023-10-13	13:13:11	2815	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:11	2815	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:11	2815	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1301.jpg
2023-10-13	13:13:11	2815	[DEBUG]	Full name target: bcprisme/image_1301.jpg
2023-10-13	13:13:12	2815	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:12	2815	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1301.jpg'
2023-10-13	13:13:12	2815	[DEBUG]	Query for Media
2023-10-13	13:13:12	2815	[DEBUG]	Executed store
2023-10-13	13:13:12	2815	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1301.jpg',`file_url_thumb`='bcprisme/image_1301.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12959'
2023-10-13	13:13:12	2815	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:12	2815	[DEBUG]	Executed store
2023-10-13	13:13:12	2815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862307','12959','1')
2023-10-13	13:13:12	2815	[DEBUG]	Store product image relation
2023-10-13	13:13:12	2815	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:12	2815	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862307 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:12	2815	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:12	2815	[DEBUG]	Executed store
2023-10-13	13:13:12	2815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862307','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:12	2815	[DEBUG]	Checking manufacturer
2023-10-13	13:13:12	2815	[DEBUG]	Load a row
2023-10-13	13:13:12	2815	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:12	2815	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:12	2815	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:12	2815	[DEBUG]	Executed store
2023-10-13	13:13:12	2815	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:12	2815	[DEBUG]	Manufacturer exists
2023-10-13	13:13:12	2815	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:12	2815	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:12	2815	[DEBUG]	Executed store
2023-10-13	13:13:12	2815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862307','32')
2023-10-13	13:13:12	2815	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:12	2815	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:12	2815	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862307 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:12	2815	[DEBUG]	Store custom available field
2023-10-13	13:13:12	2815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862307,3,'',1)
2023-10-13	13:13:12	2815	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:12	2815	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:13:12	2815	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862307 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:12	2815	[DEBUG]	Store custom available field
2023-10-13	13:13:12	2815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862307,6,'Set',3)
2023-10-13	13:13:12	2815	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:12	2815	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:12	2815	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862306
2023-10-13	13:13:12	2815	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:12	2815	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862306\":[1862306,8,1,\"choisir la taille\"],\"1862307\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862306
2023-10-13	13:13:12	2815	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:12	2815	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862307
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:12	2816	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field taille
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:12	2816	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:12	2816	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:12	2816	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:12	2816	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:12	2816	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:12	2816	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field published
2023-10-13	13:13:12	2816	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:12	2816	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field override
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:12	2816	[DEBUG]	Use field value for field slug
2023-10-13	13:13:12	2816	[DEBUG]	Process line 2816
2023-10-13	13:13:12	2816	[DEBUG]	Load a row
2023-10-13	13:13:12	2816	[DEBUG]	Processing item: A_998_22
2023-10-13	13:13:12	2816	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:12	2816	[DEBUG]	Processing product tax
2023-10-13	13:13:12	2816	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:12	2816	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:12	2816	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:12	2816	[DEBUG]	Query for Product
2023-10-13	13:13:12	2816	[DEBUG]	Executed store
2023-10-13	13:13:12	2816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_998_22','0.0045','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:12	2816	[DEBUG]	Check product language entry
2023-10-13	13:13:12	2816	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862308
2023-10-13	13:13:12	2816	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:12	2816	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_998_22' AND `virtuemart_product_id` != 1862308
2023-10-13	13:13:12	2816	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:12	2816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862308, 'A_998_22')
2023-10-13	13:13:12	2816	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:12	2816	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-guidon-ultralight-1-paire-bleu' AND `virtuemart_product_id` != 1862308
2023-10-13	13:13:12	2816	[DEBUG]	Query for ProductLang
2023-10-13	13:13:12	2816	[DEBUG]	Executed store
2023-10-13	13:13:12	2816	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Look ravageur, 4 gr<br>N° art fourn : TAP',`product_name`='MSC Bouchons de guidon Ultralight. 1 paire / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-guidon-ultralight-1-paire-bleu' WHERE `virtuemart_product_id` = '1862308'
2023-10-13	13:13:12	2816	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1298.jpg
2023-10-13	13:13:12	2816	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:12	2816	[DEBUG]	Process image file
2023-10-13	13:13:12	2816	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:12	2816	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:12	2816	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1298.jpg
2023-10-13	13:13:12	2816	[DEBUG]	Full name target: bcprisme/image_1298.jpg
2023-10-13	13:13:13	2816	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:13	2816	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1298.jpg'
2023-10-13	13:13:13	2816	[DEBUG]	Query for Media
2023-10-13	13:13:13	2816	[DEBUG]	Executed store
2023-10-13	13:13:13	2816	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1298.jpg',`file_url_thumb`='bcprisme/image_1298.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12960'
2023-10-13	13:13:13	2816	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:13	2816	[DEBUG]	Executed store
2023-10-13	13:13:13	2816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862308','12960','1')
2023-10-13	13:13:13	2816	[DEBUG]	Store product image relation
2023-10-13	13:13:13	2816	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:13	2816	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862308 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:13	2816	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:13	2816	[DEBUG]	Executed store
2023-10-13	13:13:13	2816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862308','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:13	2816	[DEBUG]	Checking manufacturer
2023-10-13	13:13:13	2816	[DEBUG]	Load a row
2023-10-13	13:13:13	2816	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:13	2816	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:13	2816	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:13	2816	[DEBUG]	Executed store
2023-10-13	13:13:13	2816	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:13	2816	[DEBUG]	Manufacturer exists
2023-10-13	13:13:13	2816	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:13	2816	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:13	2816	[DEBUG]	Executed store
2023-10-13	13:13:13	2816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862308','32')
2023-10-13	13:13:13	2816	[DEBUG]	Find the custom field ID
2023-10-13	13:13:13	2816	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:13	2816	[DEBUG]	No custom field ID found
2023-10-13	13:13:13	2816	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:13	2816	[DEBUG]	Get existing row with customfield value 3.19111111111111
2023-10-13	13:13:13	2816	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862308 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:13	2816	[DEBUG]	Store custom available field
2023-10-13	13:13:13	2816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862308,3,'3.19111111111111',1)
2023-10-13	13:13:13	2816	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:13	2816	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:13	2816	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862308 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:13	2816	[DEBUG]	Store custom available field
2023-10-13	13:13:13	2816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862308,6,'choisir la taille',3)
2023-10-13	13:13:13	2816	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:13	2816	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:13	2816	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:13	2816	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:13	2816	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862308 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:13	2816	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:13	2816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862308,8,1)
2023-10-13	13:13:13	2816	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:13	2816	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862308\":[1862308,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862308
2023-10-13	13:13:13	2816	[DEBUG]	Checking category
2023-10-13	13:13:13	2816	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:13	2816	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862308
2023-10-13	13:13:13	2816	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:13	2816	[DEBUG]	Executed store
2023-10-13	13:13:13	2816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862308','7358')
2023-10-13	13:13:13	2816	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:13	2816	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862308 AND `virtuemart_category_id` NOT IN (7358)
2023-10-13	13:13:13	2816	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:13	2816	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862308
2023-10-13	13:13:13	2817	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:13	2817	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:13	2817	[DEBUG]	Use field value for field taille
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:13	2817	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:13	2817	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:13	2817	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:13	2817	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:13	2817	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:13	2817	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:13	2817	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:13	2817	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:13	2817	[DEBUG]	Use field value for field published
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:13	2817	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field override
2023-10-13	13:13:13	2817	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:13	2817	[DEBUG]	Use field value for field slug
2023-10-13	13:13:13	2817	[DEBUG]	Process line 2817
2023-10-13	13:13:13	2817	[DEBUG]	Load a row
2023-10-13	13:13:13	2817	[DEBUG]	Processing item: 8436047354189
2023-10-13	13:13:13	2817	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:13	2817	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:13	2817	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_998_22'
2023-10-13	13:13:13	2817	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:13	2817	[DEBUG]	Processing product tax
2023-10-13	13:13:13	2817	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:13	2817	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:13	2817	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:13	2817	[DEBUG]	Query for Product
2023-10-13	13:13:13	2817	[DEBUG]	Executed store
2023-10-13	13:13:13	2817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862308','8436047354189','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:13	2817	[DEBUG]	No parent found
2023-10-13	13:13:13	2817	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862308 AND customfield_value = 'stockable'
2023-10-13	13:13:13	2817	[DEBUG]	Check product language entry
2023-10-13	13:13:13	2817	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862309
2023-10-13	13:13:13	2817	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:13	2817	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047354189' AND `virtuemart_product_id` != 1862309
2023-10-13	13:13:13	2817	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:13	2817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862309, '8436047354189')
2023-10-13	13:13:13	2817	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:13	2817	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-guidon-ultralight-1-paire-bleu-set' AND `virtuemart_product_id` != 1862309
2023-10-13	13:13:13	2817	[DEBUG]	Query for ProductLang
2023-10-13	13:13:13	2817	[DEBUG]	Executed store
2023-10-13	13:13:13	2817	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchons de guidon Ultralight. 1 paire / Bleu (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-guidon-ultralight-1-paire-bleu-set' WHERE `virtuemart_product_id` = '1862309'
2023-10-13	13:13:13	2817	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1298.jpg
2023-10-13	13:13:13	2817	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:13	2817	[DEBUG]	Process image file
2023-10-13	13:13:13	2817	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:13:13	2817	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:13	2817	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1298.jpg
2023-10-13	13:13:13	2817	[DEBUG]	Full name target: bcprisme/image_1298.jpg
2023-10-13	13:13:14	2817	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:14	2817	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1298.jpg'
2023-10-13	13:13:14	2817	[DEBUG]	Query for Media
2023-10-13	13:13:14	2817	[DEBUG]	Executed store
2023-10-13	13:13:14	2817	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1298.jpg',`file_url_thumb`='bcprisme/image_1298.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12960'
2023-10-13	13:13:14	2817	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:14	2817	[DEBUG]	Executed store
2023-10-13	13:13:14	2817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862309','12960','1')
2023-10-13	13:13:14	2817	[DEBUG]	Store product image relation
2023-10-13	13:13:14	2817	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:14	2817	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862309 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:14	2817	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:14	2817	[DEBUG]	Executed store
2023-10-13	13:13:14	2817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862309','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:14	2817	[DEBUG]	Checking manufacturer
2023-10-13	13:13:14	2817	[DEBUG]	Load a row
2023-10-13	13:13:14	2817	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:14	2817	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:14	2817	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:14	2817	[DEBUG]	Executed store
2023-10-13	13:13:14	2817	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:14	2817	[DEBUG]	Manufacturer exists
2023-10-13	13:13:14	2817	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:14	2817	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:14	2817	[DEBUG]	Executed store
2023-10-13	13:13:14	2817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862309','32')
2023-10-13	13:13:14	2817	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:14	2817	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:14	2817	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862309 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:14	2817	[DEBUG]	Store custom available field
2023-10-13	13:13:14	2817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862309,3,'',1)
2023-10-13	13:13:14	2817	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:14	2817	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:13:14	2817	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862309 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:14	2817	[DEBUG]	Store custom available field
2023-10-13	13:13:14	2817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862309,6,'Set',3)
2023-10-13	13:13:14	2817	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:14	2817	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:14	2817	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862308
2023-10-13	13:13:14	2817	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:14	2817	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862308\":[1862308,8,1,\"choisir la taille\"],\"1862309\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862308
2023-10-13	13:13:14	2817	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:14	2817	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862309
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:14	2818	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field taille
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:14	2818	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:14	2818	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:14	2818	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:14	2818	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:14	2818	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:14	2818	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field published
2023-10-13	13:13:14	2818	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:14	2818	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field override
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:14	2818	[DEBUG]	Use field value for field slug
2023-10-13	13:13:14	2818	[DEBUG]	Process line 2818
2023-10-13	13:13:14	2818	[DEBUG]	Load a row
2023-10-13	13:13:14	2818	[DEBUG]	Processing item: A_999_1
2023-10-13	13:13:14	2818	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:14	2818	[DEBUG]	Processing product tax
2023-10-13	13:13:14	2818	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:14	2818	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:14	2818	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:14	2818	[DEBUG]	Query for Product
2023-10-13	13:13:14	2818	[DEBUG]	Executed store
2023-10-13	13:13:14	2818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_999_1','0.005','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:14	2818	[DEBUG]	Check product language entry
2023-10-13	13:13:14	2818	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862310
2023-10-13	13:13:14	2818	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:14	2818	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_999_1' AND `virtuemart_product_id` != 1862310
2023-10-13	13:13:14	2818	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:14	2818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862310, 'A_999_1')
2023-10-13	13:13:14	2818	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:14	2818	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-guidon-1-paire-noir' AND `virtuemart_product_id` != 1862310
2023-10-13	13:13:14	2818	[DEBUG]	Query for ProductLang
2023-10-13	13:13:14	2818	[DEBUG]	Executed store
2023-10-13	13:13:14	2818	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Look ravageur, 5 gr<br>N° art fourn : TAPON',`product_name`='MSC Bouchons de guidon. 1 paire  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-guidon-1-paire-noir' WHERE `virtuemart_product_id` = '1862310'
2023-10-13	13:13:14	2818	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1299.jpg
2023-10-13	13:13:14	2818	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:13:14	2818	[DEBUG]	Process image file
2023-10-13	13:13:14	2818	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:13:14	2818	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:14	2818	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1299.jpg
2023-10-13	13:13:14	2818	[DEBUG]	Full name target: bcprisme/image_1299.jpg
2023-10-13	13:13:15	2818	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:15	2818	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1299.jpg'
2023-10-13	13:13:15	2818	[DEBUG]	Query for Media
2023-10-13	13:13:15	2818	[DEBUG]	Executed store
2023-10-13	13:13:15	2818	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1299.jpg',`file_url_thumb`='bcprisme/image_1299.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12961'
2023-10-13	13:13:15	2818	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:15	2818	[DEBUG]	Executed store
2023-10-13	13:13:15	2818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862310','12961','1')
2023-10-13	13:13:15	2818	[DEBUG]	Store product image relation
2023-10-13	13:13:15	2818	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:15	2818	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862310 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:15	2818	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:15	2818	[DEBUG]	Executed store
2023-10-13	13:13:15	2818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862310','0','1.48560817084494','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:15	2818	[DEBUG]	Checking manufacturer
2023-10-13	13:13:15	2818	[DEBUG]	Load a row
2023-10-13	13:13:15	2818	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:15	2818	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:15	2818	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:15	2818	[DEBUG]	Executed store
2023-10-13	13:13:15	2818	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:15	2818	[DEBUG]	Manufacturer exists
2023-10-13	13:13:15	2818	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:15	2818	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:15	2818	[DEBUG]	Executed store
2023-10-13	13:13:15	2818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862310','32')
2023-10-13	13:13:15	2818	[DEBUG]	Find the custom field ID
2023-10-13	13:13:15	2818	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:15	2818	[DEBUG]	No custom field ID found
2023-10-13	13:13:15	2818	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:15	2818	[DEBUG]	Get existing row with customfield value 1.59555555555556
2023-10-13	13:13:15	2818	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862310 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:15	2818	[DEBUG]	Store custom available field
2023-10-13	13:13:15	2818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862310,3,'1.59555555555556',1)
2023-10-13	13:13:15	2818	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:15	2818	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:15	2818	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862310 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:15	2818	[DEBUG]	Store custom available field
2023-10-13	13:13:15	2818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862310,6,'choisir la taille',3)
2023-10-13	13:13:15	2818	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:15	2818	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:15	2818	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:15	2818	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:15	2818	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862310 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:15	2818	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:15	2818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862310,8,1)
2023-10-13	13:13:15	2818	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:15	2818	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862310\":[1862310,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862310
2023-10-13	13:13:15	2818	[DEBUG]	Checking category
2023-10-13	13:13:15	2818	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:15	2818	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862310
2023-10-13	13:13:15	2818	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:15	2818	[DEBUG]	Executed store
2023-10-13	13:13:15	2818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862310','7358')
2023-10-13	13:13:15	2818	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:15	2818	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862310 AND `virtuemart_category_id` NOT IN (7358)
2023-10-13	13:13:15	2818	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:15	2818	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862310
2023-10-13	13:13:15	2819	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:15	2819	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:15	2819	[DEBUG]	Use field value for field taille
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:15	2819	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:15	2819	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:15	2819	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:15	2819	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:15	2819	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:15	2819	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:15	2819	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:15	2819	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:15	2819	[DEBUG]	Use field value for field published
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:15	2819	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field override
2023-10-13	13:13:15	2819	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:15	2819	[DEBUG]	Use field value for field slug
2023-10-13	13:13:15	2819	[DEBUG]	Process line 2819
2023-10-13	13:13:15	2819	[DEBUG]	Load a row
2023-10-13	13:13:15	2819	[DEBUG]	Processing item: 1000000014112
2023-10-13	13:13:15	2819	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:15	2819	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:15	2819	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_999_1'
2023-10-13	13:13:15	2819	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:15	2819	[DEBUG]	Processing product tax
2023-10-13	13:13:15	2819	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:15	2819	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:15	2819	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:15	2819	[DEBUG]	Query for Product
2023-10-13	13:13:15	2819	[DEBUG]	Executed store
2023-10-13	13:13:15	2819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862310','1000000014112','0','KG','M','','20','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:15	2819	[DEBUG]	No parent found
2023-10-13	13:13:15	2819	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862310 AND customfield_value = 'stockable'
2023-10-13	13:13:15	2819	[DEBUG]	Check product language entry
2023-10-13	13:13:15	2819	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862311
2023-10-13	13:13:15	2819	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:15	2819	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000014112' AND `virtuemart_product_id` != 1862311
2023-10-13	13:13:15	2819	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:15	2819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862311, '1000000014112')
2023-10-13	13:13:15	2819	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:15	2819	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-guidon-1-paire-noir-set' AND `virtuemart_product_id` != 1862311
2023-10-13	13:13:15	2819	[DEBUG]	Query for ProductLang
2023-10-13	13:13:15	2819	[DEBUG]	Executed store
2023-10-13	13:13:15	2819	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchons de guidon. 1 paire  / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-guidon-1-paire-noir-set' WHERE `virtuemart_product_id` = '1862311'
2023-10-13	13:13:15	2819	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1299.jpg
2023-10-13	13:13:15	2819	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:13:15	2819	[DEBUG]	Process image file
2023-10-13	13:13:15	2819	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:13:15	2819	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:15	2819	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1299.jpg
2023-10-13	13:13:15	2819	[DEBUG]	Full name target: bcprisme/image_1299.jpg
2023-10-13	13:13:16	2819	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:16	2819	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1299.jpg'
2023-10-13	13:13:16	2819	[DEBUG]	Query for Media
2023-10-13	13:13:16	2819	[DEBUG]	Executed store
2023-10-13	13:13:16	2819	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1299.jpg',`file_url_thumb`='bcprisme/image_1299.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12961'
2023-10-13	13:13:16	2819	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:16	2819	[DEBUG]	Executed store
2023-10-13	13:13:16	2819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862311','12961','1')
2023-10-13	13:13:16	2819	[DEBUG]	Store product image relation
2023-10-13	13:13:16	2819	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:16	2819	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862311 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:16	2819	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:16	2819	[DEBUG]	Executed store
2023-10-13	13:13:16	2819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862311','0','1.48560817084494','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:16	2819	[DEBUG]	Checking manufacturer
2023-10-13	13:13:16	2819	[DEBUG]	Load a row
2023-10-13	13:13:16	2819	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:16	2819	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:16	2819	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:16	2819	[DEBUG]	Executed store
2023-10-13	13:13:16	2819	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:16	2819	[DEBUG]	Manufacturer exists
2023-10-13	13:13:16	2819	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:16	2819	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:16	2819	[DEBUG]	Executed store
2023-10-13	13:13:16	2819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862311','32')
2023-10-13	13:13:16	2819	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:16	2819	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:16	2819	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862311 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:16	2819	[DEBUG]	Store custom available field
2023-10-13	13:13:16	2819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862311,3,'',1)
2023-10-13	13:13:16	2819	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:16	2819	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:13:16	2819	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862311 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:16	2819	[DEBUG]	Store custom available field
2023-10-13	13:13:16	2819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862311,6,'Set',3)
2023-10-13	13:13:16	2819	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:16	2819	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:16	2819	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862310
2023-10-13	13:13:16	2819	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:16	2819	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1862310\":[1862310,8,1,\"choisir la taille\"],\"1862311\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1862310
2023-10-13	13:13:16	2819	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:16	2819	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862311
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:16	2820	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field taille
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:16	2820	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:16	2820	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:16	2820	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:16	2820	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:16	2820	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:16	2820	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field published
2023-10-13	13:13:16	2820	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:16	2820	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field override
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:16	2820	[DEBUG]	Use field value for field slug
2023-10-13	13:13:16	2820	[DEBUG]	Process line 2820
2023-10-13	13:13:16	2820	[DEBUG]	Load a row
2023-10-13	13:13:16	2820	[DEBUG]	Processing item: A_2721_1
2023-10-13	13:13:16	2820	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:16	2820	[DEBUG]	Processing product tax
2023-10-13	13:13:16	2820	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:16	2820	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:17	2820	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:17	2820	[DEBUG]	Query for Product
2023-10-13	13:13:17	2820	[DEBUG]	Executed store
2023-10-13	13:13:17	2820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2721_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:17	2820	[DEBUG]	Check product language entry
2023-10-13	13:13:17	2820	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862312
2023-10-13	13:13:17	2820	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:17	2820	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2721_1' AND `virtuemart_product_id` != 1862312
2023-10-13	13:13:17	2820	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:17	2820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862312, 'A_2721_1')
2023-10-13	13:13:17	2820	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:17	2820	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-silicone-haut-de-gamme-pour-velo-de-route-noir' AND `virtuemart_product_id` != 1862312
2023-10-13	13:13:17	2820	[DEBUG]	Query for ProductLang
2023-10-13	13:13:17	2820	[DEBUG]	Executed store
2023-10-13	13:13:17	2820	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline silicone haut de gamme pour vélo de route<br>Poids : 210 gr.<br>Avec bouchons<br>30x2000mm <br><br><br>N° art fourn : SILTAPEBK',`product_name`='MSC Guidoline silicone haut de gamme pour vélo de route / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-silicone-haut-de-gamme-pour-velo-de-route-noir' WHERE `virtuemart_product_id` = '1862312'
2023-10-13	13:13:17	2820	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11308.jpg
2023-10-13	13:13:17	2820	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:17	2820	[DEBUG]	Process image file
2023-10-13	13:13:17	2820	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:17	2820	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:17	2820	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11308.jpg
2023-10-13	13:13:17	2820	[DEBUG]	Full name target: bcprisme/image_11308.jpg
2023-10-13	13:13:17	2820	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:17	2820	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11308.jpg'
2023-10-13	13:13:17	2820	[DEBUG]	Query for Media
2023-10-13	13:13:17	2820	[DEBUG]	Executed store
2023-10-13	13:13:17	2820	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11308.jpg',`file_url_thumb`='bcprisme/image_11308.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12965'
2023-10-13	13:13:17	2820	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:17	2820	[DEBUG]	Executed store
2023-10-13	13:13:18	2820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862312','12965','1')
2023-10-13	13:13:18	2820	[DEBUG]	Store product image relation
2023-10-13	13:13:18	2820	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:18	2820	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862312 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:18	2820	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:18	2820	[DEBUG]	Executed store
2023-10-13	13:13:18	2820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862312','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:18	2820	[DEBUG]	Checking manufacturer
2023-10-13	13:13:18	2820	[DEBUG]	Load a row
2023-10-13	13:13:18	2820	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:18	2820	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:18	2820	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:18	2820	[DEBUG]	Executed store
2023-10-13	13:13:18	2820	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:18	2820	[DEBUG]	Manufacturer exists
2023-10-13	13:13:18	2820	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:18	2820	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:18	2820	[DEBUG]	Executed store
2023-10-13	13:13:18	2820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862312','32')
2023-10-13	13:13:18	2820	[DEBUG]	Find the custom field ID
2023-10-13	13:13:18	2820	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:18	2820	[DEBUG]	No custom field ID found
2023-10-13	13:13:18	2820	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:18	2820	[DEBUG]	Get existing row with customfield value 59.7336111111111
2023-10-13	13:13:18	2820	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862312 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:18	2820	[DEBUG]	Store custom available field
2023-10-13	13:13:18	2820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862312,3,'59.7336111111111',1)
2023-10-13	13:13:18	2820	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:18	2820	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:18	2820	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862312 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:18	2820	[DEBUG]	Store custom available field
2023-10-13	13:13:18	2820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862312,6,'choisir la taille',3)
2023-10-13	13:13:18	2820	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:18	2820	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:18	2820	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:18	2820	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:18	2820	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862312 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:18	2820	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:18	2820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862312,8,1)
2023-10-13	13:13:18	2820	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:18	2820	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862312\":[1862312,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862312
2023-10-13	13:13:18	2820	[DEBUG]	Checking category
2023-10-13	13:13:18	2820	[DEBUG]	Check if category path exists: GUIDONS ACCESSOIRES - LENKER ZUBERHÖR
2023-10-13	13:13:18	2820	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GUIDONS ACCESSOIRES - LENKER ZUBERHÖR' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7356
2023-10-13	13:13:18	2820	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:18	2820	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862312
2023-10-13	13:13:18	2820	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:18	2820	[DEBUG]	Executed store
2023-10-13	13:13:18	2820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862312','7359')
2023-10-13	13:13:18	2820	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:18	2820	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862312 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:18	2820	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:18	2820	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862312
2023-10-13	13:13:18	2821	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:18	2821	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:18	2821	[DEBUG]	Use field value for field taille
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:18	2821	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:18	2821	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:18	2821	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:18	2821	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:18	2821	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:18	2821	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:18	2821	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:18	2821	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:18	2821	[DEBUG]	Use field value for field published
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:18	2821	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field override
2023-10-13	13:13:18	2821	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:18	2821	[DEBUG]	Use field value for field slug
2023-10-13	13:13:18	2821	[DEBUG]	Process line 2821
2023-10-13	13:13:18	2821	[DEBUG]	Load a row
2023-10-13	13:13:18	2821	[DEBUG]	Processing item: 8436550191097
2023-10-13	13:13:18	2821	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:18	2821	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:18	2821	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2721_1'
2023-10-13	13:13:18	2821	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:18	2821	[DEBUG]	Processing product tax
2023-10-13	13:13:18	2821	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:18	2821	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:18	2821	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:18	2821	[DEBUG]	Query for Product
2023-10-13	13:13:18	2821	[DEBUG]	Executed store
2023-10-13	13:13:18	2821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862312','8436550191097','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:18	2821	[DEBUG]	No parent found
2023-10-13	13:13:18	2821	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862312 AND customfield_value = 'stockable'
2023-10-13	13:13:18	2821	[DEBUG]	Check product language entry
2023-10-13	13:13:18	2821	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862313
2023-10-13	13:13:18	2821	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:18	2821	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550191097' AND `virtuemart_product_id` != 1862313
2023-10-13	13:13:18	2821	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:18	2821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862313, '8436550191097')
2023-10-13	13:13:18	2821	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:18	2821	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-silicone-haut-de-gamme-pour-velo-de-route-noir-unitaire' AND `virtuemart_product_id` != 1862313
2023-10-13	13:13:18	2821	[DEBUG]	Query for ProductLang
2023-10-13	13:13:18	2821	[DEBUG]	Executed store
2023-10-13	13:13:18	2821	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline silicone haut de gamme pour vélo de route / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-silicone-haut-de-gamme-pour-velo-de-route-noir-unitaire' WHERE `virtuemart_product_id` = '1862313'
2023-10-13	13:13:18	2821	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11308.jpg
2023-10-13	13:13:18	2821	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:18	2821	[DEBUG]	Process image file
2023-10-13	13:13:18	2821	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:18	2821	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:18	2821	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11308.jpg
2023-10-13	13:13:18	2821	[DEBUG]	Full name target: bcprisme/image_11308.jpg
2023-10-13	13:13:19	2821	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:19	2821	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11308.jpg'
2023-10-13	13:13:19	2821	[DEBUG]	Query for Media
2023-10-13	13:13:19	2821	[DEBUG]	Executed store
2023-10-13	13:13:19	2821	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11308.jpg',`file_url_thumb`='bcprisme/image_11308.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12965'
2023-10-13	13:13:19	2821	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:19	2821	[DEBUG]	Executed store
2023-10-13	13:13:19	2821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862313','12965','1')
2023-10-13	13:13:19	2821	[DEBUG]	Store product image relation
2023-10-13	13:13:19	2821	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:19	2821	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862313 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:19	2821	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:19	2821	[DEBUG]	Executed store
2023-10-13	13:13:19	2821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862313','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:19	2821	[DEBUG]	Checking manufacturer
2023-10-13	13:13:19	2821	[DEBUG]	Load a row
2023-10-13	13:13:19	2821	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:19	2821	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:19	2821	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:19	2821	[DEBUG]	Executed store
2023-10-13	13:13:19	2821	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:19	2821	[DEBUG]	Manufacturer exists
2023-10-13	13:13:19	2821	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:19	2821	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:19	2821	[DEBUG]	Executed store
2023-10-13	13:13:19	2821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862313','32')
2023-10-13	13:13:19	2821	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:19	2821	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:19	2821	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862313 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:19	2821	[DEBUG]	Store custom available field
2023-10-13	13:13:19	2821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862313,3,'',1)
2023-10-13	13:13:19	2821	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:19	2821	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:19	2821	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862313 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:19	2821	[DEBUG]	Store custom available field
2023-10-13	13:13:19	2821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862313,6,'Unitaire',3)
2023-10-13	13:13:19	2821	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:19	2821	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:19	2821	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862312
2023-10-13	13:13:19	2821	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:19	2821	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862312\":[1862312,8,1,\"choisir la taille\"],\"1862313\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862312
2023-10-13	13:13:19	2821	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:19	2821	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862313
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:19	2822	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field taille
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:19	2822	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:19	2822	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:19	2822	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:19	2822	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:19	2822	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:19	2822	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field published
2023-10-13	13:13:19	2822	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:19	2822	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field override
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:19	2822	[DEBUG]	Use field value for field slug
2023-10-13	13:13:19	2822	[DEBUG]	Process line 2822
2023-10-13	13:13:19	2822	[DEBUG]	Load a row
2023-10-13	13:13:19	2822	[DEBUG]	Processing item: A_3493_1
2023-10-13	13:13:19	2822	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:19	2822	[DEBUG]	Processing product tax
2023-10-13	13:13:19	2822	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:19	2822	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:19	2822	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:19	2822	[DEBUG]	Query for Product
2023-10-13	13:13:19	2822	[DEBUG]	Executed store
2023-10-13	13:13:19	2822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3493_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:19	2822	[DEBUG]	Check product language entry
2023-10-13	13:13:19	2822	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862314
2023-10-13	13:13:19	2822	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:19	2822	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3493_1' AND `virtuemart_product_id` != 1862314
2023-10-13	13:13:19	2822	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:19	2822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862314, 'A_3493_1')
2023-10-13	13:13:19	2822	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:19	2822	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-reducteur-de-cintre-25-4-a-31-8mm-noir' AND `virtuemart_product_id` != 1862314
2023-10-13	13:13:19	2822	[DEBUG]	Query for ProductLang
2023-10-13	13:13:19	2822	[DEBUG]	Executed store
2023-10-13	13:13:19	2822	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Réducteur de cintre 25,4 à 31,8mm <br>    Marque: Wheels MFG<br>    Descriptif: réducteur en aluminium permettant de monter un cintre en 25,4mm sur une potence de diamètre interne 31,8mm.<br>    Largeur: 48mm<br><br>N° art fourn : HS-4',`product_name`='MLV-Bike (SH) Réducteur de cintre 25,4 à 31,8mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-reducteur-de-cintre-25-4-a-31-8mm-noir' WHERE `virtuemart_product_id` = '1862314'
2023-10-13	13:13:19	2822	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17325.jpg
2023-10-13	13:13:19	2822	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:13:19	2822	[DEBUG]	Process image file
2023-10-13	13:13:19	2822	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:13:19	2822	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:19	2822	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17325.jpg
2023-10-13	13:13:19	2822	[DEBUG]	Full name target: bcprisme/image_17325.jpg
2023-10-13	13:13:20	2822	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:20	2822	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17325.jpg'
2023-10-13	13:13:20	2822	[DEBUG]	Query for Media
2023-10-13	13:13:20	2822	[DEBUG]	Executed store
2023-10-13	13:13:20	2822	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17325.jpg',`file_url_thumb`='bcprisme/image_17325.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16592'
2023-10-13	13:13:20	2822	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:20	2822	[DEBUG]	Executed store
2023-10-13	13:13:20	2822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862314','16592','1')
2023-10-13	13:13:20	2822	[DEBUG]	Store product image relation
2023-10-13	13:13:20	2822	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:20	2822	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862314 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:20	2822	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:20	2822	[DEBUG]	Executed store
2023-10-13	13:13:20	2822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862314','0','24.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:20	2822	[DEBUG]	Checking manufacturer
2023-10-13	13:13:20	2822	[DEBUG]	Load a row
2023-10-13	13:13:20	2822	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:20	2822	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:13:20	2822	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:20	2822	[DEBUG]	Executed store
2023-10-13	13:13:20	2822	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:13:20	2822	[DEBUG]	Manufacturer exists
2023-10-13	13:13:20	2822	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:13:20	2822	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:20	2822	[DEBUG]	Executed store
2023-10-13	13:13:20	2822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862314','22')
2023-10-13	13:13:20	2822	[DEBUG]	Find the custom field ID
2023-10-13	13:13:20	2822	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:20	2822	[DEBUG]	No custom field ID found
2023-10-13	13:13:20	2822	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:20	2822	[DEBUG]	Get existing row with customfield value 25.8280555555556
2023-10-13	13:13:20	2822	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862314 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:20	2822	[DEBUG]	Store custom available field
2023-10-13	13:13:20	2822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862314,3,'25.8280555555556',1)
2023-10-13	13:13:20	2822	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:20	2822	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:20	2822	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862314 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:20	2822	[DEBUG]	Store custom available field
2023-10-13	13:13:20	2822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862314,6,'choisir la taille',3)
2023-10-13	13:13:20	2822	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:20	2822	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:20	2822	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:20	2822	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:20	2822	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862314 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:20	2822	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:20	2822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862314,8,1)
2023-10-13	13:13:20	2822	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:20	2822	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862314\":[1862314,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862314
2023-10-13	13:13:20	2822	[DEBUG]	Checking category
2023-10-13	13:13:20	2822	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:20	2822	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862314
2023-10-13	13:13:20	2822	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:20	2822	[DEBUG]	Executed store
2023-10-13	13:13:20	2822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862314','7359')
2023-10-13	13:13:20	2822	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:20	2822	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862314 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:20	2822	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:20	2822	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862314
2023-10-13	13:13:20	2823	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:20	2823	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:20	2823	[DEBUG]	Use field value for field taille
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:20	2823	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:20	2823	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:20	2823	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:20	2823	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:20	2823	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:20	2823	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:20	2823	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:20	2823	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:20	2823	[DEBUG]	Use field value for field published
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:20	2823	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field override
2023-10-13	13:13:20	2823	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:20	2823	[DEBUG]	Use field value for field slug
2023-10-13	13:13:20	2823	[DEBUG]	Process line 2823
2023-10-13	13:13:20	2823	[DEBUG]	Load a row
2023-10-13	13:13:20	2823	[DEBUG]	Processing item: 1000000055702
2023-10-13	13:13:20	2823	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:20	2823	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:20	2823	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3493_1'
2023-10-13	13:13:20	2823	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:20	2823	[DEBUG]	Processing product tax
2023-10-13	13:13:20	2823	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:20	2823	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:20	2823	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:20	2823	[DEBUG]	Query for Product
2023-10-13	13:13:20	2823	[DEBUG]	Executed store
2023-10-13	13:13:20	2823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862314','1000000055702','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:20	2823	[DEBUG]	No parent found
2023-10-13	13:13:20	2823	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862314 AND customfield_value = 'stockable'
2023-10-13	13:13:20	2823	[DEBUG]	Check product language entry
2023-10-13	13:13:20	2823	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862315
2023-10-13	13:13:20	2823	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:20	2823	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000055702' AND `virtuemart_product_id` != 1862315
2023-10-13	13:13:20	2823	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:20	2823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862315, '1000000055702')
2023-10-13	13:13:20	2823	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:20	2823	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-reducteur-de-cintre-25-4-a-31-8mm-noir-unitaire' AND `virtuemart_product_id` != 1862315
2023-10-13	13:13:20	2823	[DEBUG]	Query for ProductLang
2023-10-13	13:13:20	2823	[DEBUG]	Executed store
2023-10-13	13:13:20	2823	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike (SH) Réducteur de cintre 25,4 à 31,8mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-reducteur-de-cintre-25-4-a-31-8mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862315'
2023-10-13	13:13:20	2823	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17325.jpg
2023-10-13	13:13:20	2823	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:13:20	2823	[DEBUG]	Process image file
2023-10-13	13:13:20	2823	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:13:20	2823	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:20	2823	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17325.jpg
2023-10-13	13:13:20	2823	[DEBUG]	Full name target: bcprisme/image_17325.jpg
2023-10-13	13:13:21	2823	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:21	2823	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17325.jpg'
2023-10-13	13:13:21	2823	[DEBUG]	Query for Media
2023-10-13	13:13:21	2823	[DEBUG]	Executed store
2023-10-13	13:13:21	2823	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17325.jpg',`file_url_thumb`='bcprisme/image_17325.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16592'
2023-10-13	13:13:21	2823	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:21	2823	[DEBUG]	Executed store
2023-10-13	13:13:21	2823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862315','16592','1')
2023-10-13	13:13:21	2823	[DEBUG]	Store product image relation
2023-10-13	13:13:21	2823	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:21	2823	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862315 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:21	2823	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:21	2823	[DEBUG]	Executed store
2023-10-13	13:13:21	2823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862315','0','24.0018570102136','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:21	2823	[DEBUG]	Checking manufacturer
2023-10-13	13:13:21	2823	[DEBUG]	Load a row
2023-10-13	13:13:21	2823	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:21	2823	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:13:21	2823	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:21	2823	[DEBUG]	Executed store
2023-10-13	13:13:21	2823	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:13:21	2823	[DEBUG]	Manufacturer exists
2023-10-13	13:13:21	2823	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:13:21	2823	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:21	2823	[DEBUG]	Executed store
2023-10-13	13:13:21	2823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862315','22')
2023-10-13	13:13:21	2823	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:21	2823	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:21	2823	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862315 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:21	2823	[DEBUG]	Store custom available field
2023-10-13	13:13:21	2823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862315,3,'',1)
2023-10-13	13:13:21	2823	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:21	2823	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:21	2823	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862315 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:21	2823	[DEBUG]	Store custom available field
2023-10-13	13:13:21	2823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862315,6,'Unitaire',3)
2023-10-13	13:13:21	2823	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:21	2823	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:21	2823	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862314
2023-10-13	13:13:21	2823	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:21	2823	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862314\":[1862314,8,1,\"choisir la taille\"],\"1862315\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862314
2023-10-13	13:13:21	2823	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:21	2823	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862315
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:21	2824	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field taille
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:21	2824	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:21	2824	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:21	2824	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:21	2824	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:21	2824	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:21	2824	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field published
2023-10-13	13:13:21	2824	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:21	2824	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field override
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:21	2824	[DEBUG]	Use field value for field slug
2023-10-13	13:13:21	2824	[DEBUG]	Process line 2824
2023-10-13	13:13:21	2824	[DEBUG]	Load a row
2023-10-13	13:13:21	2824	[DEBUG]	Processing item: A_3737_1
2023-10-13	13:13:21	2824	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:21	2824	[DEBUG]	Processing product tax
2023-10-13	13:13:21	2824	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:21	2824	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:21	2824	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:21	2824	[DEBUG]	Query for Product
2023-10-13	13:13:21	2824	[DEBUG]	Executed store
2023-10-13	13:13:21	2824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3737_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:21	2824	[DEBUG]	Check product language entry
2023-10-13	13:13:21	2824	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862316
2023-10-13	13:13:21	2824	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:21	2824	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3737_1' AND `virtuemart_product_id` != 1862316
2023-10-13	13:13:21	2824	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:21	2824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862316, 'A_3737_1')
2023-10-13	13:13:21	2824	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:21	2824	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-wlp-noir' AND `virtuemart_product_id` != 1862316
2023-10-13	13:13:21	2824	[DEBUG]	Query for ProductLang
2023-10-13	13:13:21	2824	[DEBUG]	Executed store
2023-10-13	13:13:21	2824	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC WLP<br>N° art fourn : CWPL',`product_name`='MSC Guidoline MSC WLP / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-wlp-noir' WHERE `virtuemart_product_id` = '1862316'
2023-10-13	13:13:21	2824	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/19999_guidoline_msc_wlp.jpg
2023-10-13	13:13:21	2824	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:21	2824	[DEBUG]	Process image file
2023-10-13	13:13:21	2824	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:21	2824	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:21	2824	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/19999_guidoline_msc_wlp.jpg
2023-10-13	13:13:21	2824	[DEBUG]	Full name target: bcprisme/19999_guidoline_msc_wlp.jpg
2023-10-13	13:13:22	2824	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:22	2824	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/19999_guidoline_msc_wlp.jpg'
2023-10-13	13:13:22	2824	[DEBUG]	Query for Media
2023-10-13	13:13:22	2824	[DEBUG]	Executed store
2023-10-13	13:13:22	2824	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/19999_guidoline_msc_wlp.jpg',`file_url_thumb`='bcprisme/19999_guidoline_msc_wlp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12966'
2023-10-13	13:13:22	2824	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:22	2824	[DEBUG]	Executed store
2023-10-13	13:13:22	2824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862316','12966','1')
2023-10-13	13:13:22	2824	[DEBUG]	Store product image relation
2023-10-13	13:13:22	2824	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:22	2824	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862316 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:22	2824	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:22	2824	[DEBUG]	Executed store
2023-10-13	13:13:22	2824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862316','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:22	2824	[DEBUG]	Checking manufacturer
2023-10-13	13:13:22	2824	[DEBUG]	Load a row
2023-10-13	13:13:22	2824	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:22	2824	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:22	2824	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:22	2824	[DEBUG]	Executed store
2023-10-13	13:13:22	2824	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:22	2824	[DEBUG]	Manufacturer exists
2023-10-13	13:13:22	2824	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:22	2824	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:22	2824	[DEBUG]	Executed store
2023-10-13	13:13:22	2824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862316','32')
2023-10-13	13:13:22	2824	[DEBUG]	Find the custom field ID
2023-10-13	13:13:22	2824	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:22	2824	[DEBUG]	No custom field ID found
2023-10-13	13:13:22	2824	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:22	2824	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:13:22	2824	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862316 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:22	2824	[DEBUG]	Store custom available field
2023-10-13	13:13:22	2824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862316,3,'12.8641666666667',1)
2023-10-13	13:13:22	2824	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:22	2824	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:22	2824	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862316 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:22	2824	[DEBUG]	Store custom available field
2023-10-13	13:13:22	2824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862316,6,'choisir la taille',3)
2023-10-13	13:13:22	2824	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:22	2824	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:22	2824	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:22	2824	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:22	2824	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862316 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:22	2824	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:22	2824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862316,8,1)
2023-10-13	13:13:22	2824	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:22	2824	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862316\":[1862316,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862316
2023-10-13	13:13:22	2824	[DEBUG]	Checking category
2023-10-13	13:13:22	2824	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:22	2824	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862316
2023-10-13	13:13:22	2824	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:22	2824	[DEBUG]	Executed store
2023-10-13	13:13:22	2824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862316','7359')
2023-10-13	13:13:22	2824	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:22	2824	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862316 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:22	2824	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:22	2824	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862316
2023-10-13	13:13:22	2825	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:22	2825	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:22	2825	[DEBUG]	Use field value for field taille
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:22	2825	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:22	2825	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:22	2825	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:22	2825	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:22	2825	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:22	2825	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:22	2825	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:22	2825	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:22	2825	[DEBUG]	Use field value for field published
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:22	2825	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field override
2023-10-13	13:13:22	2825	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:22	2825	[DEBUG]	Use field value for field slug
2023-10-13	13:13:22	2825	[DEBUG]	Process line 2825
2023-10-13	13:13:22	2825	[DEBUG]	Load a row
2023-10-13	13:13:22	2825	[DEBUG]	Processing item: 8435466291341
2023-10-13	13:13:22	2825	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:22	2825	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:22	2825	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3737_1'
2023-10-13	13:13:22	2825	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:22	2825	[DEBUG]	Processing product tax
2023-10-13	13:13:22	2825	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:22	2825	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:22	2825	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:22	2825	[DEBUG]	Query for Product
2023-10-13	13:13:22	2825	[DEBUG]	Executed store
2023-10-13	13:13:22	2825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862316','8435466291341','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:22	2825	[DEBUG]	No parent found
2023-10-13	13:13:22	2825	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862316 AND customfield_value = 'stockable'
2023-10-13	13:13:22	2825	[DEBUG]	Check product language entry
2023-10-13	13:13:22	2825	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862317
2023-10-13	13:13:22	2825	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:22	2825	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291341' AND `virtuemart_product_id` != 1862317
2023-10-13	13:13:22	2825	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:22	2825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862317, '8435466291341')
2023-10-13	13:13:22	2825	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:22	2825	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-wlp-noir-unitaire' AND `virtuemart_product_id` != 1862317
2023-10-13	13:13:22	2825	[DEBUG]	Query for ProductLang
2023-10-13	13:13:22	2825	[DEBUG]	Executed store
2023-10-13	13:13:22	2825	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC WLP / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-wlp-noir-unitaire' WHERE `virtuemart_product_id` = '1862317'
2023-10-13	13:13:22	2825	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/19999_guidoline_msc_wlp.jpg
2023-10-13	13:13:22	2825	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:22	2825	[DEBUG]	Process image file
2023-10-13	13:13:22	2825	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:22	2825	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:22	2825	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/19999_guidoline_msc_wlp.jpg
2023-10-13	13:13:22	2825	[DEBUG]	Full name target: bcprisme/19999_guidoline_msc_wlp.jpg
2023-10-13	13:13:23	2825	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:23	2825	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/19999_guidoline_msc_wlp.jpg'
2023-10-13	13:13:23	2825	[DEBUG]	Query for Media
2023-10-13	13:13:23	2825	[DEBUG]	Executed store
2023-10-13	13:13:23	2825	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/19999_guidoline_msc_wlp.jpg',`file_url_thumb`='bcprisme/19999_guidoline_msc_wlp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12966'
2023-10-13	13:13:23	2825	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:23	2825	[DEBUG]	Executed store
2023-10-13	13:13:23	2825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862317','12966','1')
2023-10-13	13:13:23	2825	[DEBUG]	Store product image relation
2023-10-13	13:13:23	2825	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:23	2825	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862317 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:23	2825	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:23	2825	[DEBUG]	Executed store
2023-10-13	13:13:23	2825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862317','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:23	2825	[DEBUG]	Checking manufacturer
2023-10-13	13:13:23	2825	[DEBUG]	Load a row
2023-10-13	13:13:23	2825	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:23	2825	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:23	2825	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:23	2825	[DEBUG]	Executed store
2023-10-13	13:13:23	2825	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:23	2825	[DEBUG]	Manufacturer exists
2023-10-13	13:13:23	2825	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:23	2825	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:23	2825	[DEBUG]	Executed store
2023-10-13	13:13:23	2825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862317','32')
2023-10-13	13:13:23	2825	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:23	2825	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:23	2825	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862317 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:23	2825	[DEBUG]	Store custom available field
2023-10-13	13:13:23	2825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862317,3,'',1)
2023-10-13	13:13:23	2825	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:23	2825	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:23	2825	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862317 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:23	2825	[DEBUG]	Store custom available field
2023-10-13	13:13:23	2825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862317,6,'Unitaire',3)
2023-10-13	13:13:23	2825	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:23	2825	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:23	2825	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862316
2023-10-13	13:13:23	2825	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:23	2825	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862316\":[1862316,8,1,\"choisir la taille\"],\"1862317\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862316
2023-10-13	13:13:23	2825	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:23	2825	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862317
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:23	2826	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field taille
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:23	2826	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:23	2826	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:23	2826	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:23	2826	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:23	2826	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:23	2826	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field published
2023-10-13	13:13:23	2826	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:23	2826	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field override
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:23	2826	[DEBUG]	Use field value for field slug
2023-10-13	13:13:23	2826	[DEBUG]	Process line 2826
2023-10-13	13:13:23	2826	[DEBUG]	Load a row
2023-10-13	13:13:23	2826	[DEBUG]	Processing item: A_3737_7
2023-10-13	13:13:23	2826	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:23	2826	[DEBUG]	Processing product tax
2023-10-13	13:13:23	2826	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:23	2826	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:23	2826	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:23	2826	[DEBUG]	Query for Product
2023-10-13	13:13:23	2826	[DEBUG]	Executed store
2023-10-13	13:13:23	2826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3737_7','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:23	2826	[DEBUG]	Check product language entry
2023-10-13	13:13:23	2826	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862318
2023-10-13	13:13:23	2826	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:23	2826	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3737_7' AND `virtuemart_product_id` != 1862318
2023-10-13	13:13:23	2826	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:23	2826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862318, 'A_3737_7')
2023-10-13	13:13:23	2826	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:23	2826	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-wlp-rouge' AND `virtuemart_product_id` != 1862318
2023-10-13	13:13:23	2826	[DEBUG]	Query for ProductLang
2023-10-13	13:13:23	2826	[DEBUG]	Executed store
2023-10-13	13:13:23	2826	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC WLP<br>N° art fourn : CWPL',`product_name`='MSC Guidoline MSC WLP / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-wlp-rouge' WHERE `virtuemart_product_id` = '1862318'
2023-10-13	13:13:23	2826	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20003_guidoline_msc_wlp.jpg
2023-10-13	13:13:23	2826	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:23	2826	[DEBUG]	Process image file
2023-10-13	13:13:23	2826	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:23	2826	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:23	2826	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20003_guidoline_msc_wlp.jpg
2023-10-13	13:13:23	2826	[DEBUG]	Full name target: bcprisme/20003_guidoline_msc_wlp.jpg
2023-10-13	13:13:24	2826	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:24	2826	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20003_guidoline_msc_wlp.jpg'
2023-10-13	13:13:24	2826	[DEBUG]	Query for Media
2023-10-13	13:13:24	2826	[DEBUG]	Executed store
2023-10-13	13:13:24	2826	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20003_guidoline_msc_wlp.jpg',`file_url_thumb`='bcprisme/20003_guidoline_msc_wlp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12967'
2023-10-13	13:13:24	2826	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:24	2826	[DEBUG]	Executed store
2023-10-13	13:13:24	2826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862318','12967','1')
2023-10-13	13:13:24	2826	[DEBUG]	Store product image relation
2023-10-13	13:13:24	2826	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:24	2826	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862318 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:24	2826	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:24	2826	[DEBUG]	Executed store
2023-10-13	13:13:24	2826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862318','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:24	2826	[DEBUG]	Checking manufacturer
2023-10-13	13:13:24	2826	[DEBUG]	Load a row
2023-10-13	13:13:24	2826	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:24	2826	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:24	2826	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:24	2826	[DEBUG]	Executed store
2023-10-13	13:13:24	2826	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:24	2826	[DEBUG]	Manufacturer exists
2023-10-13	13:13:24	2826	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:24	2826	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:24	2826	[DEBUG]	Executed store
2023-10-13	13:13:24	2826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862318','32')
2023-10-13	13:13:24	2826	[DEBUG]	Find the custom field ID
2023-10-13	13:13:24	2826	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:24	2826	[DEBUG]	No custom field ID found
2023-10-13	13:13:24	2826	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:24	2826	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:13:24	2826	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862318 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:24	2826	[DEBUG]	Store custom available field
2023-10-13	13:13:24	2826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862318,3,'12.8641666666667',1)
2023-10-13	13:13:24	2826	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:24	2826	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:24	2826	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862318 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:24	2826	[DEBUG]	Store custom available field
2023-10-13	13:13:24	2826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862318,6,'choisir la taille',3)
2023-10-13	13:13:24	2826	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:24	2826	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:24	2826	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:24	2826	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:24	2826	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862318 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:24	2826	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:24	2826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862318,8,1)
2023-10-13	13:13:24	2826	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:24	2826	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862318\":[1862318,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862318
2023-10-13	13:13:24	2826	[DEBUG]	Checking category
2023-10-13	13:13:24	2826	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:24	2826	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862318
2023-10-13	13:13:24	2826	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:24	2826	[DEBUG]	Executed store
2023-10-13	13:13:24	2826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862318','7359')
2023-10-13	13:13:24	2826	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:24	2826	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862318 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:24	2826	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:24	2826	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862318
2023-10-13	13:13:24	2827	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:24	2827	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:24	2827	[DEBUG]	Use field value for field taille
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:24	2827	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:24	2827	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:24	2827	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:24	2827	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:24	2827	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:24	2827	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:24	2827	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:24	2827	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:24	2827	[DEBUG]	Use field value for field published
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:24	2827	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field override
2023-10-13	13:13:24	2827	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:24	2827	[DEBUG]	Use field value for field slug
2023-10-13	13:13:24	2827	[DEBUG]	Process line 2827
2023-10-13	13:13:24	2827	[DEBUG]	Load a row
2023-10-13	13:13:24	2827	[DEBUG]	Processing item: 8435466291372
2023-10-13	13:13:24	2827	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:24	2827	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:24	2827	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3737_7'
2023-10-13	13:13:24	2827	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:24	2827	[DEBUG]	Processing product tax
2023-10-13	13:13:24	2827	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:24	2827	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:24	2827	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:24	2827	[DEBUG]	Query for Product
2023-10-13	13:13:24	2827	[DEBUG]	Executed store
2023-10-13	13:13:24	2827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862318','8435466291372','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:24	2827	[DEBUG]	No parent found
2023-10-13	13:13:24	2827	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862318 AND customfield_value = 'stockable'
2023-10-13	13:13:24	2827	[DEBUG]	Check product language entry
2023-10-13	13:13:24	2827	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862319
2023-10-13	13:13:24	2827	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:24	2827	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291372' AND `virtuemart_product_id` != 1862319
2023-10-13	13:13:24	2827	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:24	2827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862319, '8435466291372')
2023-10-13	13:13:24	2827	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:24	2827	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-wlp-rouge-unitaire' AND `virtuemart_product_id` != 1862319
2023-10-13	13:13:24	2827	[DEBUG]	Query for ProductLang
2023-10-13	13:13:24	2827	[DEBUG]	Executed store
2023-10-13	13:13:24	2827	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC WLP / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-wlp-rouge-unitaire' WHERE `virtuemart_product_id` = '1862319'
2023-10-13	13:13:24	2827	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20003_guidoline_msc_wlp.jpg
2023-10-13	13:13:24	2827	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:24	2827	[DEBUG]	Process image file
2023-10-13	13:13:24	2827	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:24	2827	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:24	2827	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20003_guidoline_msc_wlp.jpg
2023-10-13	13:13:24	2827	[DEBUG]	Full name target: bcprisme/20003_guidoline_msc_wlp.jpg
2023-10-13	13:13:25	2827	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:25	2827	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20003_guidoline_msc_wlp.jpg'
2023-10-13	13:13:25	2827	[DEBUG]	Query for Media
2023-10-13	13:13:25	2827	[DEBUG]	Executed store
2023-10-13	13:13:25	2827	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20003_guidoline_msc_wlp.jpg',`file_url_thumb`='bcprisme/20003_guidoline_msc_wlp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12967'
2023-10-13	13:13:25	2827	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:25	2827	[DEBUG]	Executed store
2023-10-13	13:13:25	2827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862319','12967','1')
2023-10-13	13:13:25	2827	[DEBUG]	Store product image relation
2023-10-13	13:13:25	2827	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:25	2827	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862319 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:25	2827	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:25	2827	[DEBUG]	Executed store
2023-10-13	13:13:25	2827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862319','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:25	2827	[DEBUG]	Checking manufacturer
2023-10-13	13:13:25	2827	[DEBUG]	Load a row
2023-10-13	13:13:25	2827	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:25	2827	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:25	2827	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:25	2827	[DEBUG]	Executed store
2023-10-13	13:13:25	2827	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:25	2827	[DEBUG]	Manufacturer exists
2023-10-13	13:13:25	2827	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:25	2827	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:25	2827	[DEBUG]	Executed store
2023-10-13	13:13:25	2827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862319','32')
2023-10-13	13:13:25	2827	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:25	2827	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:25	2827	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862319 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:25	2827	[DEBUG]	Store custom available field
2023-10-13	13:13:25	2827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862319,3,'',1)
2023-10-13	13:13:25	2827	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:25	2827	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:25	2827	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862319 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:25	2827	[DEBUG]	Store custom available field
2023-10-13	13:13:25	2827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862319,6,'Unitaire',3)
2023-10-13	13:13:25	2827	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:25	2827	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:25	2827	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862318
2023-10-13	13:13:25	2827	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:25	2827	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862318\":[1862318,8,1,\"choisir la taille\"],\"1862319\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862318
2023-10-13	13:13:25	2827	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:25	2827	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862319
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:25	2828	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field taille
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:25	2828	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:25	2828	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:25	2828	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:25	2828	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:25	2828	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:25	2828	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field published
2023-10-13	13:13:25	2828	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:25	2828	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field override
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:25	2828	[DEBUG]	Use field value for field slug
2023-10-13	13:13:25	2828	[DEBUG]	Process line 2828
2023-10-13	13:13:25	2828	[DEBUG]	Load a row
2023-10-13	13:13:25	2828	[DEBUG]	Processing item: A_3737_12
2023-10-13	13:13:25	2828	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:25	2828	[DEBUG]	Processing product tax
2023-10-13	13:13:25	2828	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:25	2828	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:25	2828	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:25	2828	[DEBUG]	Query for Product
2023-10-13	13:13:25	2828	[DEBUG]	Executed store
2023-10-13	13:13:25	2828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3737_12','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:25	2828	[DEBUG]	Check product language entry
2023-10-13	13:13:25	2828	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862320
2023-10-13	13:13:25	2828	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:25	2828	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3737_12' AND `virtuemart_product_id` != 1862320
2023-10-13	13:13:25	2828	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:25	2828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862320, 'A_3737_12')
2023-10-13	13:13:25	2828	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:25	2828	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-wlp-blanc' AND `virtuemart_product_id` != 1862320
2023-10-13	13:13:25	2828	[DEBUG]	Query for ProductLang
2023-10-13	13:13:25	2828	[DEBUG]	Executed store
2023-10-13	13:13:25	2828	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC WLP<br>N° art fourn : CWPL',`product_name`='MSC Guidoline MSC WLP / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-wlp-blanc' WHERE `virtuemart_product_id` = '1862320'
2023-10-13	13:13:25	2828	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20004_guidoline_msc_wlp.jpg
2023-10-13	13:13:25	2828	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:25	2828	[DEBUG]	Process image file
2023-10-13	13:13:25	2828	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:25	2828	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:25	2828	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20004_guidoline_msc_wlp.jpg
2023-10-13	13:13:25	2828	[DEBUG]	Full name target: bcprisme/20004_guidoline_msc_wlp.jpg
2023-10-13	13:13:26	2828	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:26	2828	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20004_guidoline_msc_wlp.jpg'
2023-10-13	13:13:26	2828	[DEBUG]	Query for Media
2023-10-13	13:13:26	2828	[DEBUG]	Executed store
2023-10-13	13:13:26	2828	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20004_guidoline_msc_wlp.jpg',`file_url_thumb`='bcprisme/20004_guidoline_msc_wlp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12968'
2023-10-13	13:13:26	2828	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:26	2828	[DEBUG]	Executed store
2023-10-13	13:13:26	2828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862320','12968','1')
2023-10-13	13:13:26	2828	[DEBUG]	Store product image relation
2023-10-13	13:13:26	2828	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:26	2828	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862320 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:26	2828	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:26	2828	[DEBUG]	Executed store
2023-10-13	13:13:26	2828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862320','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:26	2828	[DEBUG]	Checking manufacturer
2023-10-13	13:13:26	2828	[DEBUG]	Load a row
2023-10-13	13:13:26	2828	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:26	2828	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:26	2828	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:26	2828	[DEBUG]	Executed store
2023-10-13	13:13:26	2828	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:26	2828	[DEBUG]	Manufacturer exists
2023-10-13	13:13:26	2828	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:26	2828	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:26	2828	[DEBUG]	Executed store
2023-10-13	13:13:26	2828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862320','32')
2023-10-13	13:13:26	2828	[DEBUG]	Find the custom field ID
2023-10-13	13:13:26	2828	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:26	2828	[DEBUG]	No custom field ID found
2023-10-13	13:13:26	2828	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:26	2828	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:13:26	2828	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862320 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:26	2828	[DEBUG]	Store custom available field
2023-10-13	13:13:26	2828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862320,3,'12.8641666666667',1)
2023-10-13	13:13:26	2828	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:26	2828	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:26	2828	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862320 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:26	2828	[DEBUG]	Store custom available field
2023-10-13	13:13:26	2828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862320,6,'choisir la taille',3)
2023-10-13	13:13:26	2828	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:26	2828	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:26	2828	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:26	2828	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:26	2828	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862320 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:26	2828	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:26	2828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862320,8,1)
2023-10-13	13:13:26	2828	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:26	2828	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862320\":[1862320,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862320
2023-10-13	13:13:26	2828	[DEBUG]	Checking category
2023-10-13	13:13:26	2828	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:26	2828	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862320
2023-10-13	13:13:26	2828	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:26	2828	[DEBUG]	Executed store
2023-10-13	13:13:26	2828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862320','7359')
2023-10-13	13:13:26	2828	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:26	2828	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862320 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:26	2828	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:26	2828	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862320
2023-10-13	13:13:26	2829	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:26	2829	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:26	2829	[DEBUG]	Use field value for field taille
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:26	2829	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:26	2829	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:26	2829	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:26	2829	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:26	2829	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:26	2829	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:26	2829	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:26	2829	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:26	2829	[DEBUG]	Use field value for field published
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:26	2829	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field override
2023-10-13	13:13:26	2829	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:26	2829	[DEBUG]	Use field value for field slug
2023-10-13	13:13:26	2829	[DEBUG]	Process line 2829
2023-10-13	13:13:26	2829	[DEBUG]	Load a row
2023-10-13	13:13:26	2829	[DEBUG]	Processing item: 8435466291396
2023-10-13	13:13:26	2829	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:26	2829	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:26	2829	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3737_12'
2023-10-13	13:13:26	2829	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:26	2829	[DEBUG]	Processing product tax
2023-10-13	13:13:26	2829	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:26	2829	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:26	2829	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:26	2829	[DEBUG]	Query for Product
2023-10-13	13:13:26	2829	[DEBUG]	Executed store
2023-10-13	13:13:26	2829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862320','8435466291396','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:26	2829	[DEBUG]	No parent found
2023-10-13	13:13:26	2829	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862320 AND customfield_value = 'stockable'
2023-10-13	13:13:26	2829	[DEBUG]	Check product language entry
2023-10-13	13:13:26	2829	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862321
2023-10-13	13:13:26	2829	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:26	2829	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291396' AND `virtuemart_product_id` != 1862321
2023-10-13	13:13:26	2829	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:26	2829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862321, '8435466291396')
2023-10-13	13:13:26	2829	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:26	2829	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-wlp-blanc-unitaire' AND `virtuemart_product_id` != 1862321
2023-10-13	13:13:26	2829	[DEBUG]	Query for ProductLang
2023-10-13	13:13:26	2829	[DEBUG]	Executed store
2023-10-13	13:13:26	2829	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC WLP / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-wlp-blanc-unitaire' WHERE `virtuemart_product_id` = '1862321'
2023-10-13	13:13:26	2829	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20004_guidoline_msc_wlp.jpg
2023-10-13	13:13:26	2829	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:26	2829	[DEBUG]	Process image file
2023-10-13	13:13:26	2829	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:26	2829	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:26	2829	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20004_guidoline_msc_wlp.jpg
2023-10-13	13:13:26	2829	[DEBUG]	Full name target: bcprisme/20004_guidoline_msc_wlp.jpg
2023-10-13	13:13:27	2829	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:27	2829	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20004_guidoline_msc_wlp.jpg'
2023-10-13	13:13:27	2829	[DEBUG]	Query for Media
2023-10-13	13:13:27	2829	[DEBUG]	Executed store
2023-10-13	13:13:27	2829	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20004_guidoline_msc_wlp.jpg',`file_url_thumb`='bcprisme/20004_guidoline_msc_wlp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12968'
2023-10-13	13:13:27	2829	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:27	2829	[DEBUG]	Executed store
2023-10-13	13:13:27	2829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862321','12968','1')
2023-10-13	13:13:27	2829	[DEBUG]	Store product image relation
2023-10-13	13:13:27	2829	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:27	2829	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862321 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:27	2829	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:27	2829	[DEBUG]	Executed store
2023-10-13	13:13:27	2829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862321','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:27	2829	[DEBUG]	Checking manufacturer
2023-10-13	13:13:27	2829	[DEBUG]	Load a row
2023-10-13	13:13:27	2829	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:27	2829	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:27	2829	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:27	2829	[DEBUG]	Executed store
2023-10-13	13:13:27	2829	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:27	2829	[DEBUG]	Manufacturer exists
2023-10-13	13:13:27	2829	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:27	2829	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:27	2829	[DEBUG]	Executed store
2023-10-13	13:13:27	2829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862321','32')
2023-10-13	13:13:27	2829	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:27	2829	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:27	2829	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862321 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:27	2829	[DEBUG]	Store custom available field
2023-10-13	13:13:27	2829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862321,3,'',1)
2023-10-13	13:13:27	2829	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:27	2829	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:27	2829	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862321 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:27	2829	[DEBUG]	Store custom available field
2023-10-13	13:13:27	2829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862321,6,'Unitaire',3)
2023-10-13	13:13:27	2829	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:27	2829	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:27	2829	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862320
2023-10-13	13:13:27	2829	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:27	2829	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862320\":[1862320,8,1,\"choisir la taille\"],\"1862321\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862320
2023-10-13	13:13:27	2829	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:27	2829	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862321
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:27	2830	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field taille
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:27	2830	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:27	2830	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:27	2830	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:27	2830	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:27	2830	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:27	2830	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field published
2023-10-13	13:13:27	2830	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:27	2830	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field override
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:27	2830	[DEBUG]	Use field value for field slug
2023-10-13	13:13:27	2830	[DEBUG]	Process line 2830
2023-10-13	13:13:27	2830	[DEBUG]	Load a row
2023-10-13	13:13:27	2830	[DEBUG]	Processing item: A_3737_13
2023-10-13	13:13:27	2830	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:27	2830	[DEBUG]	Processing product tax
2023-10-13	13:13:27	2830	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:27	2830	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:27	2830	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:27	2830	[DEBUG]	Query for Product
2023-10-13	13:13:27	2830	[DEBUG]	Executed store
2023-10-13	13:13:27	2830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3737_13','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:27	2830	[DEBUG]	Check product language entry
2023-10-13	13:13:27	2830	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862322
2023-10-13	13:13:27	2830	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:27	2830	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3737_13' AND `virtuemart_product_id` != 1862322
2023-10-13	13:13:27	2830	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:27	2830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862322, 'A_3737_13')
2023-10-13	13:13:27	2830	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:27	2830	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-wlp-argent' AND `virtuemart_product_id` != 1862322
2023-10-13	13:13:27	2830	[DEBUG]	Query for ProductLang
2023-10-13	13:13:27	2830	[DEBUG]	Executed store
2023-10-13	13:13:27	2830	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC WLP<br>N° art fourn : CWPL',`product_name`='MSC Guidoline MSC WLP / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-wlp-argent' WHERE `virtuemart_product_id` = '1862322'
2023-10-13	13:13:27	2830	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20001_guidoline_msc_wlp.jpg
2023-10-13	13:13:27	2830	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:27	2830	[DEBUG]	Process image file
2023-10-13	13:13:27	2830	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:27	2830	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:27	2830	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20001_guidoline_msc_wlp.jpg
2023-10-13	13:13:27	2830	[DEBUG]	Full name target: bcprisme/20001_guidoline_msc_wlp.jpg
2023-10-13	13:13:28	2830	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:28	2830	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20001_guidoline_msc_wlp.jpg'
2023-10-13	13:13:28	2830	[DEBUG]	Query for Media
2023-10-13	13:13:28	2830	[DEBUG]	Executed store
2023-10-13	13:13:28	2830	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20001_guidoline_msc_wlp.jpg',`file_url_thumb`='bcprisme/20001_guidoline_msc_wlp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12969'
2023-10-13	13:13:28	2830	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:28	2830	[DEBUG]	Executed store
2023-10-13	13:13:28	2830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862322','12969','1')
2023-10-13	13:13:28	2830	[DEBUG]	Store product image relation
2023-10-13	13:13:28	2830	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:28	2830	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862322 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:28	2830	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:28	2830	[DEBUG]	Executed store
2023-10-13	13:13:28	2830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862322','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:28	2830	[DEBUG]	Checking manufacturer
2023-10-13	13:13:28	2830	[DEBUG]	Load a row
2023-10-13	13:13:28	2830	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:28	2830	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:28	2830	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:28	2830	[DEBUG]	Executed store
2023-10-13	13:13:28	2830	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:28	2830	[DEBUG]	Manufacturer exists
2023-10-13	13:13:28	2830	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:28	2830	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:28	2830	[DEBUG]	Executed store
2023-10-13	13:13:28	2830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862322','32')
2023-10-13	13:13:28	2830	[DEBUG]	Find the custom field ID
2023-10-13	13:13:28	2830	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:28	2830	[DEBUG]	No custom field ID found
2023-10-13	13:13:28	2830	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:28	2830	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:13:28	2830	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862322 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:28	2830	[DEBUG]	Store custom available field
2023-10-13	13:13:28	2830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862322,3,'12.8641666666667',1)
2023-10-13	13:13:28	2830	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:28	2830	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:28	2830	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862322 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:28	2830	[DEBUG]	Store custom available field
2023-10-13	13:13:28	2830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862322,6,'choisir la taille',3)
2023-10-13	13:13:28	2830	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:28	2830	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:28	2830	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:28	2830	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:28	2830	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862322 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:28	2830	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:28	2830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862322,8,1)
2023-10-13	13:13:28	2830	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:28	2830	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862322\":[1862322,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862322
2023-10-13	13:13:28	2830	[DEBUG]	Checking category
2023-10-13	13:13:28	2830	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:28	2830	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862322
2023-10-13	13:13:28	2830	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:28	2830	[DEBUG]	Executed store
2023-10-13	13:13:28	2830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862322','7359')
2023-10-13	13:13:28	2830	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:28	2830	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862322 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:28	2830	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:28	2830	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862322
2023-10-13	13:13:28	2831	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:28	2831	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:28	2831	[DEBUG]	Use field value for field taille
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:28	2831	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:28	2831	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:28	2831	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:28	2831	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:28	2831	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:28	2831	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:28	2831	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:28	2831	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:28	2831	[DEBUG]	Use field value for field published
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:28	2831	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field override
2023-10-13	13:13:28	2831	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:28	2831	[DEBUG]	Use field value for field slug
2023-10-13	13:13:28	2831	[DEBUG]	Process line 2831
2023-10-13	13:13:28	2831	[DEBUG]	Load a row
2023-10-13	13:13:28	2831	[DEBUG]	Processing item: 8435466291389
2023-10-13	13:13:28	2831	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:28	2831	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:28	2831	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3737_13'
2023-10-13	13:13:28	2831	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:28	2831	[DEBUG]	Processing product tax
2023-10-13	13:13:28	2831	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:28	2831	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:28	2831	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:28	2831	[DEBUG]	Query for Product
2023-10-13	13:13:28	2831	[DEBUG]	Executed store
2023-10-13	13:13:28	2831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862322','8435466291389','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:28	2831	[DEBUG]	No parent found
2023-10-13	13:13:28	2831	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862322 AND customfield_value = 'stockable'
2023-10-13	13:13:28	2831	[DEBUG]	Check product language entry
2023-10-13	13:13:28	2831	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862323
2023-10-13	13:13:28	2831	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:28	2831	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291389' AND `virtuemart_product_id` != 1862323
2023-10-13	13:13:28	2831	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:28	2831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862323, '8435466291389')
2023-10-13	13:13:28	2831	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:28	2831	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-wlp-argent-unitaire' AND `virtuemart_product_id` != 1862323
2023-10-13	13:13:28	2831	[DEBUG]	Query for ProductLang
2023-10-13	13:13:28	2831	[DEBUG]	Executed store
2023-10-13	13:13:28	2831	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC WLP / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-wlp-argent-unitaire' WHERE `virtuemart_product_id` = '1862323'
2023-10-13	13:13:28	2831	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20001_guidoline_msc_wlp.jpg
2023-10-13	13:13:28	2831	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:28	2831	[DEBUG]	Process image file
2023-10-13	13:13:28	2831	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:28	2831	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:28	2831	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20001_guidoline_msc_wlp.jpg
2023-10-13	13:13:28	2831	[DEBUG]	Full name target: bcprisme/20001_guidoline_msc_wlp.jpg
2023-10-13	13:13:29	2831	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:29	2831	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20001_guidoline_msc_wlp.jpg'
2023-10-13	13:13:29	2831	[DEBUG]	Query for Media
2023-10-13	13:13:29	2831	[DEBUG]	Executed store
2023-10-13	13:13:29	2831	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20001_guidoline_msc_wlp.jpg',`file_url_thumb`='bcprisme/20001_guidoline_msc_wlp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12969'
2023-10-13	13:13:29	2831	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:29	2831	[DEBUG]	Executed store
2023-10-13	13:13:29	2831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862323','12969','1')
2023-10-13	13:13:29	2831	[DEBUG]	Store product image relation
2023-10-13	13:13:29	2831	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:29	2831	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862323 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:29	2831	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:29	2831	[DEBUG]	Executed store
2023-10-13	13:13:29	2831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862323','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:29	2831	[DEBUG]	Checking manufacturer
2023-10-13	13:13:29	2831	[DEBUG]	Load a row
2023-10-13	13:13:29	2831	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:29	2831	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:29	2831	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:29	2831	[DEBUG]	Executed store
2023-10-13	13:13:29	2831	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:29	2831	[DEBUG]	Manufacturer exists
2023-10-13	13:13:29	2831	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:29	2831	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:29	2831	[DEBUG]	Executed store
2023-10-13	13:13:29	2831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862323','32')
2023-10-13	13:13:29	2831	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:29	2831	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:29	2831	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862323 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:29	2831	[DEBUG]	Store custom available field
2023-10-13	13:13:29	2831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862323,3,'',1)
2023-10-13	13:13:29	2831	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:29	2831	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:29	2831	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862323 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:29	2831	[DEBUG]	Store custom available field
2023-10-13	13:13:29	2831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862323,6,'Unitaire',3)
2023-10-13	13:13:29	2831	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:29	2831	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:29	2831	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862322
2023-10-13	13:13:29	2831	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:29	2831	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862322\":[1862322,8,1,\"choisir la taille\"],\"1862323\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862322
2023-10-13	13:13:29	2831	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:29	2831	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862323
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:29	2832	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field taille
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:29	2832	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:29	2832	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:29	2832	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:29	2832	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:29	2832	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:29	2832	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field published
2023-10-13	13:13:29	2832	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:29	2832	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field override
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:29	2832	[DEBUG]	Use field value for field slug
2023-10-13	13:13:29	2832	[DEBUG]	Process line 2832
2023-10-13	13:13:29	2832	[DEBUG]	Load a row
2023-10-13	13:13:29	2832	[DEBUG]	Processing item: A_3737_22
2023-10-13	13:13:29	2832	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:29	2832	[DEBUG]	Processing product tax
2023-10-13	13:13:29	2832	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:29	2832	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:29	2832	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:29	2832	[DEBUG]	Query for Product
2023-10-13	13:13:29	2832	[DEBUG]	Executed store
2023-10-13	13:13:29	2832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3737_22','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:29	2832	[DEBUG]	Check product language entry
2023-10-13	13:13:29	2832	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862324
2023-10-13	13:13:29	2832	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:29	2832	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3737_22' AND `virtuemart_product_id` != 1862324
2023-10-13	13:13:29	2832	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:29	2832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862324, 'A_3737_22')
2023-10-13	13:13:29	2832	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:29	2832	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-wlp-bleu' AND `virtuemart_product_id` != 1862324
2023-10-13	13:13:29	2832	[DEBUG]	Query for ProductLang
2023-10-13	13:13:29	2832	[DEBUG]	Executed store
2023-10-13	13:13:29	2832	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC WLP<br>N° art fourn : CWPL',`product_name`='MSC Guidoline MSC WLP / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-wlp-bleu' WHERE `virtuemart_product_id` = '1862324'
2023-10-13	13:13:29	2832	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20000_guidoline_msc_wlp.jpg
2023-10-13	13:13:29	2832	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:29	2832	[DEBUG]	Process image file
2023-10-13	13:13:29	2832	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:29	2832	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:29	2832	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20000_guidoline_msc_wlp.jpg
2023-10-13	13:13:29	2832	[DEBUG]	Full name target: bcprisme/20000_guidoline_msc_wlp.jpg
2023-10-13	13:13:30	2832	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:30	2832	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20000_guidoline_msc_wlp.jpg'
2023-10-13	13:13:30	2832	[DEBUG]	Query for Media
2023-10-13	13:13:30	2832	[DEBUG]	Executed store
2023-10-13	13:13:30	2832	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20000_guidoline_msc_wlp.jpg',`file_url_thumb`='bcprisme/20000_guidoline_msc_wlp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12970'
2023-10-13	13:13:30	2832	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:30	2832	[DEBUG]	Executed store
2023-10-13	13:13:30	2832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862324','12970','1')
2023-10-13	13:13:30	2832	[DEBUG]	Store product image relation
2023-10-13	13:13:30	2832	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:30	2832	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862324 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:30	2832	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:30	2832	[DEBUG]	Executed store
2023-10-13	13:13:30	2832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862324','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:30	2832	[DEBUG]	Checking manufacturer
2023-10-13	13:13:30	2832	[DEBUG]	Load a row
2023-10-13	13:13:30	2832	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:30	2832	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:30	2832	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:30	2832	[DEBUG]	Executed store
2023-10-13	13:13:30	2832	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:30	2832	[DEBUG]	Manufacturer exists
2023-10-13	13:13:30	2832	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:30	2832	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:30	2832	[DEBUG]	Executed store
2023-10-13	13:13:30	2832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862324','32')
2023-10-13	13:13:30	2832	[DEBUG]	Find the custom field ID
2023-10-13	13:13:30	2832	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:30	2832	[DEBUG]	No custom field ID found
2023-10-13	13:13:30	2832	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:30	2832	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:13:30	2832	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862324 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:30	2832	[DEBUG]	Store custom available field
2023-10-13	13:13:30	2832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862324,3,'12.8641666666667',1)
2023-10-13	13:13:30	2832	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:30	2832	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:30	2832	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862324 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:30	2832	[DEBUG]	Store custom available field
2023-10-13	13:13:30	2832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862324,6,'choisir la taille',3)
2023-10-13	13:13:30	2832	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:30	2832	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:30	2832	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:30	2832	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:30	2832	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862324 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:30	2832	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:30	2832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862324,8,1)
2023-10-13	13:13:30	2832	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:30	2832	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862324\":[1862324,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862324
2023-10-13	13:13:30	2832	[DEBUG]	Checking category
2023-10-13	13:13:30	2832	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:30	2832	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862324
2023-10-13	13:13:30	2832	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:30	2832	[DEBUG]	Executed store
2023-10-13	13:13:30	2832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862324','7359')
2023-10-13	13:13:30	2832	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:30	2832	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862324 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:30	2832	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:30	2832	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862324
2023-10-13	13:13:30	2833	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:30	2833	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:30	2833	[DEBUG]	Use field value for field taille
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:30	2833	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:30	2833	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:30	2833	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:30	2833	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:30	2833	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:30	2833	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:30	2833	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:30	2833	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:30	2833	[DEBUG]	Use field value for field published
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:30	2833	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field override
2023-10-13	13:13:30	2833	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:30	2833	[DEBUG]	Use field value for field slug
2023-10-13	13:13:30	2833	[DEBUG]	Process line 2833
2023-10-13	13:13:30	2833	[DEBUG]	Load a row
2023-10-13	13:13:30	2833	[DEBUG]	Processing item: 8435466291358
2023-10-13	13:13:30	2833	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:30	2833	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:30	2833	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3737_22'
2023-10-13	13:13:30	2833	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:30	2833	[DEBUG]	Processing product tax
2023-10-13	13:13:30	2833	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:30	2833	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:30	2833	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:30	2833	[DEBUG]	Query for Product
2023-10-13	13:13:30	2833	[DEBUG]	Executed store
2023-10-13	13:13:30	2833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862324','8435466291358','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:30	2833	[DEBUG]	No parent found
2023-10-13	13:13:30	2833	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862324 AND customfield_value = 'stockable'
2023-10-13	13:13:30	2833	[DEBUG]	Check product language entry
2023-10-13	13:13:30	2833	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862325
2023-10-13	13:13:30	2833	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:30	2833	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291358' AND `virtuemart_product_id` != 1862325
2023-10-13	13:13:30	2833	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:30	2833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862325, '8435466291358')
2023-10-13	13:13:30	2833	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:30	2833	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-wlp-bleu-unitaire' AND `virtuemart_product_id` != 1862325
2023-10-13	13:13:30	2833	[DEBUG]	Query for ProductLang
2023-10-13	13:13:30	2833	[DEBUG]	Executed store
2023-10-13	13:13:30	2833	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC WLP / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-wlp-bleu-unitaire' WHERE `virtuemart_product_id` = '1862325'
2023-10-13	13:13:30	2833	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20000_guidoline_msc_wlp.jpg
2023-10-13	13:13:30	2833	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:30	2833	[DEBUG]	Process image file
2023-10-13	13:13:30	2833	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:30	2833	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:30	2833	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20000_guidoline_msc_wlp.jpg
2023-10-13	13:13:30	2833	[DEBUG]	Full name target: bcprisme/20000_guidoline_msc_wlp.jpg
2023-10-13	13:13:31	2833	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:31	2833	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20000_guidoline_msc_wlp.jpg'
2023-10-13	13:13:31	2833	[DEBUG]	Query for Media
2023-10-13	13:13:31	2833	[DEBUG]	Executed store
2023-10-13	13:13:31	2833	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20000_guidoline_msc_wlp.jpg',`file_url_thumb`='bcprisme/20000_guidoline_msc_wlp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12970'
2023-10-13	13:13:31	2833	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:31	2833	[DEBUG]	Executed store
2023-10-13	13:13:31	2833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862325','12970','1')
2023-10-13	13:13:31	2833	[DEBUG]	Store product image relation
2023-10-13	13:13:31	2833	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:31	2833	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862325 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:31	2833	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:31	2833	[DEBUG]	Executed store
2023-10-13	13:13:31	2833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862325','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:31	2833	[DEBUG]	Checking manufacturer
2023-10-13	13:13:31	2833	[DEBUG]	Load a row
2023-10-13	13:13:31	2833	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:31	2833	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:31	2833	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:31	2833	[DEBUG]	Executed store
2023-10-13	13:13:31	2833	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:31	2833	[DEBUG]	Manufacturer exists
2023-10-13	13:13:31	2833	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:31	2833	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:31	2833	[DEBUG]	Executed store
2023-10-13	13:13:31	2833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862325','32')
2023-10-13	13:13:31	2833	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:31	2833	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:31	2833	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862325 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:31	2833	[DEBUG]	Store custom available field
2023-10-13	13:13:31	2833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862325,3,'',1)
2023-10-13	13:13:31	2833	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:31	2833	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:31	2833	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862325 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:31	2833	[DEBUG]	Store custom available field
2023-10-13	13:13:31	2833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862325,6,'Unitaire',3)
2023-10-13	13:13:31	2833	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:31	2833	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:31	2833	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862324
2023-10-13	13:13:31	2833	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:31	2833	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862324\":[1862324,8,1,\"choisir la taille\"],\"1862325\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862324
2023-10-13	13:13:31	2833	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:31	2833	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862325
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:31	2834	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field taille
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:31	2834	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:31	2834	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:31	2834	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:31	2834	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:31	2834	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:31	2834	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field published
2023-10-13	13:13:31	2834	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:31	2834	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field override
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:31	2834	[DEBUG]	Use field value for field slug
2023-10-13	13:13:31	2834	[DEBUG]	Process line 2834
2023-10-13	13:13:31	2834	[DEBUG]	Load a row
2023-10-13	13:13:31	2834	[DEBUG]	Processing item: A_3737_40
2023-10-13	13:13:31	2834	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:31	2834	[DEBUG]	Processing product tax
2023-10-13	13:13:31	2834	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:31	2834	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:31	2834	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:31	2834	[DEBUG]	Query for Product
2023-10-13	13:13:31	2834	[DEBUG]	Executed store
2023-10-13	13:13:31	2834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3737_40','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:31	2834	[DEBUG]	Check product language entry
2023-10-13	13:13:31	2834	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862326
2023-10-13	13:13:31	2834	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:31	2834	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3737_40' AND `virtuemart_product_id` != 1862326
2023-10-13	13:13:31	2834	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:31	2834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862326, 'A_3737_40')
2023-10-13	13:13:31	2834	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:31	2834	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-wlp-vert' AND `virtuemart_product_id` != 1862326
2023-10-13	13:13:31	2834	[DEBUG]	Query for ProductLang
2023-10-13	13:13:31	2834	[DEBUG]	Executed store
2023-10-13	13:13:31	2834	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC WLP<br>N° art fourn : CWPL',`product_name`='MSC Guidoline MSC WLP / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-wlp-vert' WHERE `virtuemart_product_id` = '1862326'
2023-10-13	13:13:31	2834	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20002_guidoline_msc_wlp.jpg
2023-10-13	13:13:31	2834	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:31	2834	[DEBUG]	Process image file
2023-10-13	13:13:31	2834	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:31	2834	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:31	2834	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20002_guidoline_msc_wlp.jpg
2023-10-13	13:13:31	2834	[DEBUG]	Full name target: bcprisme/20002_guidoline_msc_wlp.jpg
2023-10-13	13:13:32	2834	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:32	2834	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20002_guidoline_msc_wlp.jpg'
2023-10-13	13:13:32	2834	[DEBUG]	Query for Media
2023-10-13	13:13:32	2834	[DEBUG]	Executed store
2023-10-13	13:13:32	2834	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20002_guidoline_msc_wlp.jpg',`file_url_thumb`='bcprisme/20002_guidoline_msc_wlp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12971'
2023-10-13	13:13:32	2834	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:32	2834	[DEBUG]	Executed store
2023-10-13	13:13:32	2834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862326','12971','1')
2023-10-13	13:13:32	2834	[DEBUG]	Store product image relation
2023-10-13	13:13:32	2834	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:32	2834	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862326 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:32	2834	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:32	2834	[DEBUG]	Executed store
2023-10-13	13:13:32	2834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862326','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:32	2834	[DEBUG]	Checking manufacturer
2023-10-13	13:13:32	2834	[DEBUG]	Load a row
2023-10-13	13:13:32	2834	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:32	2834	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:32	2834	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:32	2834	[DEBUG]	Executed store
2023-10-13	13:13:32	2834	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:32	2834	[DEBUG]	Manufacturer exists
2023-10-13	13:13:32	2834	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:32	2834	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:32	2834	[DEBUG]	Executed store
2023-10-13	13:13:32	2834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862326','32')
2023-10-13	13:13:32	2834	[DEBUG]	Find the custom field ID
2023-10-13	13:13:32	2834	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:32	2834	[DEBUG]	No custom field ID found
2023-10-13	13:13:32	2834	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:32	2834	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:13:32	2834	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862326 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:32	2834	[DEBUG]	Store custom available field
2023-10-13	13:13:32	2834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862326,3,'12.8641666666667',1)
2023-10-13	13:13:32	2834	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:32	2834	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:32	2834	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862326 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:32	2834	[DEBUG]	Store custom available field
2023-10-13	13:13:32	2834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862326,6,'choisir la taille',3)
2023-10-13	13:13:32	2834	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:32	2834	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:32	2834	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:32	2834	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:32	2834	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862326 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:32	2834	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:32	2834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862326,8,1)
2023-10-13	13:13:32	2834	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:32	2834	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862326\":[1862326,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862326
2023-10-13	13:13:32	2834	[DEBUG]	Checking category
2023-10-13	13:13:32	2834	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:32	2834	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862326
2023-10-13	13:13:32	2834	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:32	2834	[DEBUG]	Executed store
2023-10-13	13:13:32	2834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862326','7359')
2023-10-13	13:13:32	2834	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:32	2834	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862326 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:32	2834	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:32	2834	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862326
2023-10-13	13:13:32	2835	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:32	2835	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:32	2835	[DEBUG]	Use field value for field taille
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:32	2835	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:32	2835	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:32	2835	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:32	2835	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:32	2835	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:32	2835	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:32	2835	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:32	2835	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:32	2835	[DEBUG]	Use field value for field published
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:32	2835	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field override
2023-10-13	13:13:32	2835	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:32	2835	[DEBUG]	Use field value for field slug
2023-10-13	13:13:32	2835	[DEBUG]	Process line 2835
2023-10-13	13:13:32	2835	[DEBUG]	Load a row
2023-10-13	13:13:32	2835	[DEBUG]	Processing item: 8435466291365
2023-10-13	13:13:32	2835	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:32	2835	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:32	2835	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3737_40'
2023-10-13	13:13:32	2835	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:32	2835	[DEBUG]	Processing product tax
2023-10-13	13:13:32	2835	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:32	2835	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:32	2835	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:32	2835	[DEBUG]	Query for Product
2023-10-13	13:13:32	2835	[DEBUG]	Executed store
2023-10-13	13:13:32	2835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862326','8435466291365','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:32	2835	[DEBUG]	No parent found
2023-10-13	13:13:32	2835	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862326 AND customfield_value = 'stockable'
2023-10-13	13:13:32	2835	[DEBUG]	Check product language entry
2023-10-13	13:13:32	2835	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862327
2023-10-13	13:13:32	2835	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:32	2835	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291365' AND `virtuemart_product_id` != 1862327
2023-10-13	13:13:32	2835	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:32	2835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862327, '8435466291365')
2023-10-13	13:13:32	2835	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:32	2835	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-wlp-vert-unitaire' AND `virtuemart_product_id` != 1862327
2023-10-13	13:13:32	2835	[DEBUG]	Query for ProductLang
2023-10-13	13:13:32	2835	[DEBUG]	Executed store
2023-10-13	13:13:32	2835	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC WLP / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-wlp-vert-unitaire' WHERE `virtuemart_product_id` = '1862327'
2023-10-13	13:13:32	2835	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20002_guidoline_msc_wlp.jpg
2023-10-13	13:13:32	2835	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:32	2835	[DEBUG]	Process image file
2023-10-13	13:13:32	2835	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:32	2835	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:32	2835	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20002_guidoline_msc_wlp.jpg
2023-10-13	13:13:32	2835	[DEBUG]	Full name target: bcprisme/20002_guidoline_msc_wlp.jpg
2023-10-13	13:13:33	2835	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:33	2835	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20002_guidoline_msc_wlp.jpg'
2023-10-13	13:13:33	2835	[DEBUG]	Query for Media
2023-10-13	13:13:33	2835	[DEBUG]	Executed store
2023-10-13	13:13:33	2835	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20002_guidoline_msc_wlp.jpg',`file_url_thumb`='bcprisme/20002_guidoline_msc_wlp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12971'
2023-10-13	13:13:33	2835	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:33	2835	[DEBUG]	Executed store
2023-10-13	13:13:33	2835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862327','12971','1')
2023-10-13	13:13:33	2835	[DEBUG]	Store product image relation
2023-10-13	13:13:33	2835	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:33	2835	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862327 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:33	2835	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:33	2835	[DEBUG]	Executed store
2023-10-13	13:13:33	2835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862327','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:33	2835	[DEBUG]	Checking manufacturer
2023-10-13	13:13:33	2835	[DEBUG]	Load a row
2023-10-13	13:13:33	2835	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:33	2835	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:33	2835	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:33	2835	[DEBUG]	Executed store
2023-10-13	13:13:33	2835	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:33	2835	[DEBUG]	Manufacturer exists
2023-10-13	13:13:33	2835	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:33	2835	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:33	2835	[DEBUG]	Executed store
2023-10-13	13:13:33	2835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862327','32')
2023-10-13	13:13:33	2835	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:33	2835	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:33	2835	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862327 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:33	2835	[DEBUG]	Store custom available field
2023-10-13	13:13:33	2835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862327,3,'',1)
2023-10-13	13:13:33	2835	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:33	2835	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:33	2835	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862327 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:33	2835	[DEBUG]	Store custom available field
2023-10-13	13:13:33	2835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862327,6,'Unitaire',3)
2023-10-13	13:13:33	2835	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:33	2835	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:33	2835	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862326
2023-10-13	13:13:33	2835	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:33	2835	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862326\":[1862326,8,1,\"choisir la taille\"],\"1862327\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862326
2023-10-13	13:13:33	2835	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:33	2835	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862327
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:33	2836	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field taille
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:33	2836	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:33	2836	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:33	2836	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:33	2836	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:33	2836	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:33	2836	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field published
2023-10-13	13:13:33	2836	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:33	2836	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field override
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:33	2836	[DEBUG]	Use field value for field slug
2023-10-13	13:13:33	2836	[DEBUG]	Process line 2836
2023-10-13	13:13:33	2836	[DEBUG]	Load a row
2023-10-13	13:13:33	2836	[DEBUG]	Processing item: A_3737_65
2023-10-13	13:13:33	2836	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:33	2836	[DEBUG]	Processing product tax
2023-10-13	13:13:33	2836	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:33	2836	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:33	2836	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:33	2836	[DEBUG]	Query for Product
2023-10-13	13:13:34	2836	[DEBUG]	Executed store
2023-10-13	13:13:34	2836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3737_65','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:34	2836	[DEBUG]	Check product language entry
2023-10-13	13:13:34	2836	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862328
2023-10-13	13:13:34	2836	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:34	2836	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3737_65' AND `virtuemart_product_id` != 1862328
2023-10-13	13:13:34	2836	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:34	2836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862328, 'A_3737_65')
2023-10-13	13:13:34	2836	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:34	2836	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-wlp-jaune' AND `virtuemart_product_id` != 1862328
2023-10-13	13:13:34	2836	[DEBUG]	Query for ProductLang
2023-10-13	13:13:34	2836	[DEBUG]	Executed store
2023-10-13	13:13:34	2836	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC WLP<br>N° art fourn : CWPL',`product_name`='MSC Guidoline MSC WLP / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-wlp-jaune' WHERE `virtuemart_product_id` = '1862328'
2023-10-13	13:13:34	2836	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20005_guidoline_msc_wlp.jpg
2023-10-13	13:13:34	2836	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:34	2836	[DEBUG]	Process image file
2023-10-13	13:13:34	2836	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:34	2836	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:34	2836	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20005_guidoline_msc_wlp.jpg
2023-10-13	13:13:34	2836	[DEBUG]	Full name target: bcprisme/20005_guidoline_msc_wlp.jpg
2023-10-13	13:13:35	2836	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:35	2836	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20005_guidoline_msc_wlp.jpg'
2023-10-13	13:13:35	2836	[DEBUG]	Query for Media
2023-10-13	13:13:35	2836	[DEBUG]	Executed store
2023-10-13	13:13:35	2836	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20005_guidoline_msc_wlp.jpg',`file_url_thumb`='bcprisme/20005_guidoline_msc_wlp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12972'
2023-10-13	13:13:35	2836	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:35	2836	[DEBUG]	Executed store
2023-10-13	13:13:35	2836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862328','12972','1')
2023-10-13	13:13:35	2836	[DEBUG]	Store product image relation
2023-10-13	13:13:35	2836	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:35	2836	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862328 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:35	2836	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:35	2836	[DEBUG]	Executed store
2023-10-13	13:13:35	2836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862328','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:35	2836	[DEBUG]	Checking manufacturer
2023-10-13	13:13:35	2836	[DEBUG]	Load a row
2023-10-13	13:13:35	2836	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:35	2836	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:35	2836	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:35	2836	[DEBUG]	Executed store
2023-10-13	13:13:35	2836	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:35	2836	[DEBUG]	Manufacturer exists
2023-10-13	13:13:35	2836	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:35	2836	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:35	2836	[DEBUG]	Executed store
2023-10-13	13:13:35	2836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862328','32')
2023-10-13	13:13:35	2836	[DEBUG]	Find the custom field ID
2023-10-13	13:13:35	2836	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:35	2836	[DEBUG]	No custom field ID found
2023-10-13	13:13:35	2836	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:35	2836	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:13:35	2836	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862328 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:35	2836	[DEBUG]	Store custom available field
2023-10-13	13:13:35	2836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862328,3,'12.8641666666667',1)
2023-10-13	13:13:35	2836	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:35	2836	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:35	2836	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862328 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:35	2836	[DEBUG]	Store custom available field
2023-10-13	13:13:35	2836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862328,6,'choisir la taille',3)
2023-10-13	13:13:35	2836	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:35	2836	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:35	2836	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:35	2836	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:35	2836	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862328 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:35	2836	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:35	2836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862328,8,1)
2023-10-13	13:13:35	2836	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:35	2836	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862328\":[1862328,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862328
2023-10-13	13:13:35	2836	[DEBUG]	Checking category
2023-10-13	13:13:35	2836	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:35	2836	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862328
2023-10-13	13:13:35	2836	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:35	2836	[DEBUG]	Executed store
2023-10-13	13:13:35	2836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862328','7359')
2023-10-13	13:13:35	2836	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:35	2836	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862328 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:35	2836	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:35	2836	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862328
2023-10-13	13:13:35	2837	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:35	2837	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:35	2837	[DEBUG]	Use field value for field taille
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:35	2837	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:35	2837	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:35	2837	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:35	2837	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:35	2837	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:35	2837	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:35	2837	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:35	2837	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:35	2837	[DEBUG]	Use field value for field published
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:35	2837	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field override
2023-10-13	13:13:35	2837	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:35	2837	[DEBUG]	Use field value for field slug
2023-10-13	13:13:35	2837	[DEBUG]	Process line 2837
2023-10-13	13:13:35	2837	[DEBUG]	Load a row
2023-10-13	13:13:35	2837	[DEBUG]	Processing item: 8435466291402
2023-10-13	13:13:35	2837	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:35	2837	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:35	2837	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3737_65'
2023-10-13	13:13:35	2837	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:35	2837	[DEBUG]	Processing product tax
2023-10-13	13:13:35	2837	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:35	2837	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:35	2837	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:35	2837	[DEBUG]	Query for Product
2023-10-13	13:13:35	2837	[DEBUG]	Executed store
2023-10-13	13:13:35	2837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862328','8435466291402','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:35	2837	[DEBUG]	No parent found
2023-10-13	13:13:35	2837	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862328 AND customfield_value = 'stockable'
2023-10-13	13:13:35	2837	[DEBUG]	Check product language entry
2023-10-13	13:13:35	2837	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862329
2023-10-13	13:13:35	2837	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:35	2837	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291402' AND `virtuemart_product_id` != 1862329
2023-10-13	13:13:35	2837	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:35	2837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862329, '8435466291402')
2023-10-13	13:13:35	2837	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:35	2837	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-wlp-jaune-unitaire' AND `virtuemart_product_id` != 1862329
2023-10-13	13:13:35	2837	[DEBUG]	Query for ProductLang
2023-10-13	13:13:35	2837	[DEBUG]	Executed store
2023-10-13	13:13:35	2837	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC WLP / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-wlp-jaune-unitaire' WHERE `virtuemart_product_id` = '1862329'
2023-10-13	13:13:35	2837	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20005_guidoline_msc_wlp.jpg
2023-10-13	13:13:35	2837	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:35	2837	[DEBUG]	Process image file
2023-10-13	13:13:35	2837	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:35	2837	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:35	2837	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20005_guidoline_msc_wlp.jpg
2023-10-13	13:13:35	2837	[DEBUG]	Full name target: bcprisme/20005_guidoline_msc_wlp.jpg
2023-10-13	13:13:36	2837	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:36	2837	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20005_guidoline_msc_wlp.jpg'
2023-10-13	13:13:36	2837	[DEBUG]	Query for Media
2023-10-13	13:13:36	2837	[DEBUG]	Executed store
2023-10-13	13:13:36	2837	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20005_guidoline_msc_wlp.jpg',`file_url_thumb`='bcprisme/20005_guidoline_msc_wlp.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12972'
2023-10-13	13:13:36	2837	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:36	2837	[DEBUG]	Executed store
2023-10-13	13:13:36	2837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862329','12972','1')
2023-10-13	13:13:36	2837	[DEBUG]	Store product image relation
2023-10-13	13:13:36	2837	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:36	2837	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862329 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:36	2837	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:36	2837	[DEBUG]	Executed store
2023-10-13	13:13:36	2837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862329','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:36	2837	[DEBUG]	Checking manufacturer
2023-10-13	13:13:36	2837	[DEBUG]	Load a row
2023-10-13	13:13:36	2837	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:36	2837	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:36	2837	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:36	2837	[DEBUG]	Executed store
2023-10-13	13:13:36	2837	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:36	2837	[DEBUG]	Manufacturer exists
2023-10-13	13:13:36	2837	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:36	2837	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:36	2837	[DEBUG]	Executed store
2023-10-13	13:13:36	2837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862329','32')
2023-10-13	13:13:36	2837	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:36	2837	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:36	2837	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862329 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:36	2837	[DEBUG]	Store custom available field
2023-10-13	13:13:36	2837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862329,3,'',1)
2023-10-13	13:13:36	2837	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:36	2837	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:36	2837	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862329 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:36	2837	[DEBUG]	Store custom available field
2023-10-13	13:13:36	2837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862329,6,'Unitaire',3)
2023-10-13	13:13:36	2837	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:36	2837	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:36	2837	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862328
2023-10-13	13:13:36	2837	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:36	2837	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862328\":[1862328,8,1,\"choisir la taille\"],\"1862329\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862328
2023-10-13	13:13:36	2837	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:36	2837	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862329
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:36	2838	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field taille
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:36	2838	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:36	2838	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:36	2838	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:36	2838	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:36	2838	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:36	2838	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field published
2023-10-13	13:13:36	2838	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:36	2838	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field override
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:36	2838	[DEBUG]	Use field value for field slug
2023-10-13	13:13:36	2838	[DEBUG]	Process line 2838
2023-10-13	13:13:36	2838	[DEBUG]	Load a row
2023-10-13	13:13:36	2838	[DEBUG]	Processing item: A_3738_1
2023-10-13	13:13:36	2838	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:36	2838	[DEBUG]	Processing product tax
2023-10-13	13:13:36	2838	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:36	2838	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:36	2838	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:36	2838	[DEBUG]	Query for Product
2023-10-13	13:13:36	2838	[DEBUG]	Executed store
2023-10-13	13:13:36	2838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3738_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:36	2838	[DEBUG]	Check product language entry
2023-10-13	13:13:36	2838	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862330
2023-10-13	13:13:36	2838	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:36	2838	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3738_1' AND `virtuemart_product_id` != 1862330
2023-10-13	13:13:36	2838	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:36	2838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862330, 'A_3738_1')
2023-10-13	13:13:36	2838	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:36	2838	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-rl-noir' AND `virtuemart_product_id` != 1862330
2023-10-13	13:13:36	2838	[DEBUG]	Query for ProductLang
2023-10-13	13:13:36	2838	[DEBUG]	Executed store
2023-10-13	13:13:36	2838	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC RL<br>N° art fourn : CRL',`product_name`='MSC Guidoline MSC RL / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-rl-noir' WHERE `virtuemart_product_id` = '1862330'
2023-10-13	13:13:36	2838	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20006_guidoline_msc_rl.jpg
2023-10-13	13:13:36	2838	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:36	2838	[DEBUG]	Process image file
2023-10-13	13:13:36	2838	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:36	2838	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:36	2838	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20006_guidoline_msc_rl.jpg
2023-10-13	13:13:36	2838	[DEBUG]	Full name target: bcprisme/20006_guidoline_msc_rl.jpg
2023-10-13	13:13:37	2838	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:37	2838	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20006_guidoline_msc_rl.jpg'
2023-10-13	13:13:37	2838	[DEBUG]	Query for Media
2023-10-13	13:13:37	2838	[DEBUG]	Executed store
2023-10-13	13:13:37	2838	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20006_guidoline_msc_rl.jpg',`file_url_thumb`='bcprisme/20006_guidoline_msc_rl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12973'
2023-10-13	13:13:37	2838	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:37	2838	[DEBUG]	Executed store
2023-10-13	13:13:37	2838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862330','12973','1')
2023-10-13	13:13:37	2838	[DEBUG]	Store product image relation
2023-10-13	13:13:37	2838	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:37	2838	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862330 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:37	2838	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:37	2838	[DEBUG]	Executed store
2023-10-13	13:13:37	2838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862330','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:37	2838	[DEBUG]	Checking manufacturer
2023-10-13	13:13:37	2838	[DEBUG]	Load a row
2023-10-13	13:13:37	2838	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:37	2838	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:37	2838	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:37	2838	[DEBUG]	Executed store
2023-10-13	13:13:37	2838	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:37	2838	[DEBUG]	Manufacturer exists
2023-10-13	13:13:37	2838	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:37	2838	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:37	2838	[DEBUG]	Executed store
2023-10-13	13:13:37	2838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862330','32')
2023-10-13	13:13:37	2838	[DEBUG]	Find the custom field ID
2023-10-13	13:13:37	2838	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:37	2838	[DEBUG]	No custom field ID found
2023-10-13	13:13:37	2838	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:37	2838	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:13:37	2838	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862330 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:37	2838	[DEBUG]	Store custom available field
2023-10-13	13:13:37	2838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862330,3,'14.8586111111111',1)
2023-10-13	13:13:37	2838	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:37	2838	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:37	2838	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862330 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:37	2838	[DEBUG]	Store custom available field
2023-10-13	13:13:37	2838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862330,6,'choisir la taille',3)
2023-10-13	13:13:37	2838	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:37	2838	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:37	2838	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:37	2838	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:37	2838	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862330 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:37	2838	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:37	2838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862330,8,1)
2023-10-13	13:13:37	2838	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:37	2838	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862330\":[1862330,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862330
2023-10-13	13:13:37	2838	[DEBUG]	Checking category
2023-10-13	13:13:37	2838	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:37	2838	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862330
2023-10-13	13:13:37	2838	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:37	2838	[DEBUG]	Executed store
2023-10-13	13:13:37	2838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862330','7359')
2023-10-13	13:13:37	2838	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:37	2838	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862330 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:37	2838	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:37	2838	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862330
2023-10-13	13:13:37	2839	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:37	2839	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:37	2839	[DEBUG]	Use field value for field taille
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:37	2839	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:37	2839	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:37	2839	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:37	2839	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:37	2839	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:37	2839	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:37	2839	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:37	2839	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:37	2839	[DEBUG]	Use field value for field published
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:37	2839	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field override
2023-10-13	13:13:37	2839	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:37	2839	[DEBUG]	Use field value for field slug
2023-10-13	13:13:37	2839	[DEBUG]	Process line 2839
2023-10-13	13:13:37	2839	[DEBUG]	Load a row
2023-10-13	13:13:37	2839	[DEBUG]	Processing item: 8435466291297
2023-10-13	13:13:37	2839	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:37	2839	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:37	2839	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3738_1'
2023-10-13	13:13:37	2839	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:37	2839	[DEBUG]	Processing product tax
2023-10-13	13:13:37	2839	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:37	2839	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:37	2839	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:37	2839	[DEBUG]	Query for Product
2023-10-13	13:13:37	2839	[DEBUG]	Executed store
2023-10-13	13:13:37	2839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862330','8435466291297','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:37	2839	[DEBUG]	No parent found
2023-10-13	13:13:37	2839	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862330 AND customfield_value = 'stockable'
2023-10-13	13:13:37	2839	[DEBUG]	Check product language entry
2023-10-13	13:13:37	2839	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862331
2023-10-13	13:13:37	2839	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:37	2839	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291297' AND `virtuemart_product_id` != 1862331
2023-10-13	13:13:37	2839	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:37	2839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862331, '8435466291297')
2023-10-13	13:13:37	2839	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:37	2839	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-rl-noir-unitaire' AND `virtuemart_product_id` != 1862331
2023-10-13	13:13:37	2839	[DEBUG]	Query for ProductLang
2023-10-13	13:13:37	2839	[DEBUG]	Executed store
2023-10-13	13:13:37	2839	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC RL / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-rl-noir-unitaire' WHERE `virtuemart_product_id` = '1862331'
2023-10-13	13:13:37	2839	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20006_guidoline_msc_rl.jpg
2023-10-13	13:13:37	2839	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:37	2839	[DEBUG]	Process image file
2023-10-13	13:13:37	2839	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:37	2839	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:37	2839	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20006_guidoline_msc_rl.jpg
2023-10-13	13:13:37	2839	[DEBUG]	Full name target: bcprisme/20006_guidoline_msc_rl.jpg
2023-10-13	13:13:38	2839	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:38	2839	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20006_guidoline_msc_rl.jpg'
2023-10-13	13:13:38	2839	[DEBUG]	Query for Media
2023-10-13	13:13:38	2839	[DEBUG]	Executed store
2023-10-13	13:13:38	2839	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20006_guidoline_msc_rl.jpg',`file_url_thumb`='bcprisme/20006_guidoline_msc_rl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12973'
2023-10-13	13:13:38	2839	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:38	2839	[DEBUG]	Executed store
2023-10-13	13:13:38	2839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862331','12973','1')
2023-10-13	13:13:38	2839	[DEBUG]	Store product image relation
2023-10-13	13:13:38	2839	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:38	2839	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862331 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:38	2839	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:38	2839	[DEBUG]	Executed store
2023-10-13	13:13:38	2839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862331','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:38	2839	[DEBUG]	Checking manufacturer
2023-10-13	13:13:38	2839	[DEBUG]	Load a row
2023-10-13	13:13:38	2839	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:38	2839	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:38	2839	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:38	2839	[DEBUG]	Executed store
2023-10-13	13:13:38	2839	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:38	2839	[DEBUG]	Manufacturer exists
2023-10-13	13:13:38	2839	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:38	2839	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:38	2839	[DEBUG]	Executed store
2023-10-13	13:13:38	2839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862331','32')
2023-10-13	13:13:38	2839	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:38	2839	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:38	2839	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862331 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:38	2839	[DEBUG]	Store custom available field
2023-10-13	13:13:38	2839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862331,3,'',1)
2023-10-13	13:13:38	2839	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:38	2839	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:38	2839	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862331 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:38	2839	[DEBUG]	Store custom available field
2023-10-13	13:13:38	2839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862331,6,'Unitaire',3)
2023-10-13	13:13:38	2839	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:38	2839	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:38	2839	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862330
2023-10-13	13:13:38	2839	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:38	2839	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862330\":[1862330,8,1,\"choisir la taille\"],\"1862331\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862330
2023-10-13	13:13:38	2839	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:38	2839	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862331
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:38	2840	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field taille
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:38	2840	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:38	2840	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:38	2840	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:38	2840	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:38	2840	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:38	2840	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field published
2023-10-13	13:13:38	2840	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:38	2840	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field override
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:38	2840	[DEBUG]	Use field value for field slug
2023-10-13	13:13:38	2840	[DEBUG]	Process line 2840
2023-10-13	13:13:38	2840	[DEBUG]	Load a row
2023-10-13	13:13:38	2840	[DEBUG]	Processing item: A_3738_7
2023-10-13	13:13:38	2840	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:38	2840	[DEBUG]	Processing product tax
2023-10-13	13:13:38	2840	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:38	2840	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:38	2840	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:38	2840	[DEBUG]	Query for Product
2023-10-13	13:13:38	2840	[DEBUG]	Executed store
2023-10-13	13:13:38	2840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3738_7','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:38	2840	[DEBUG]	Check product language entry
2023-10-13	13:13:38	2840	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862332
2023-10-13	13:13:38	2840	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:38	2840	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3738_7' AND `virtuemart_product_id` != 1862332
2023-10-13	13:13:38	2840	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:38	2840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862332, 'A_3738_7')
2023-10-13	13:13:38	2840	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:38	2840	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-rl-rouge' AND `virtuemart_product_id` != 1862332
2023-10-13	13:13:38	2840	[DEBUG]	Query for ProductLang
2023-10-13	13:13:38	2840	[DEBUG]	Executed store
2023-10-13	13:13:38	2840	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC RL<br>N° art fourn : CRL',`product_name`='MSC Guidoline MSC RL / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-rl-rouge' WHERE `virtuemart_product_id` = '1862332'
2023-10-13	13:13:38	2840	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20009_guidoline_msc_rl.jpg
2023-10-13	13:13:38	2840	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:38	2840	[DEBUG]	Process image file
2023-10-13	13:13:38	2840	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:38	2840	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:38	2840	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20009_guidoline_msc_rl.jpg
2023-10-13	13:13:38	2840	[DEBUG]	Full name target: bcprisme/20009_guidoline_msc_rl.jpg
2023-10-13	13:13:39	2840	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:39	2840	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20009_guidoline_msc_rl.jpg'
2023-10-13	13:13:39	2840	[DEBUG]	Query for Media
2023-10-13	13:13:39	2840	[DEBUG]	Executed store
2023-10-13	13:13:39	2840	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20009_guidoline_msc_rl.jpg',`file_url_thumb`='bcprisme/20009_guidoline_msc_rl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12974'
2023-10-13	13:13:39	2840	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:39	2840	[DEBUG]	Executed store
2023-10-13	13:13:39	2840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862332','12974','1')
2023-10-13	13:13:39	2840	[DEBUG]	Store product image relation
2023-10-13	13:13:39	2840	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:39	2840	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862332 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:39	2840	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:39	2840	[DEBUG]	Executed store
2023-10-13	13:13:39	2840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862332','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:39	2840	[DEBUG]	Checking manufacturer
2023-10-13	13:13:39	2840	[DEBUG]	Load a row
2023-10-13	13:13:39	2840	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:39	2840	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:39	2840	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:39	2840	[DEBUG]	Executed store
2023-10-13	13:13:39	2840	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:39	2840	[DEBUG]	Manufacturer exists
2023-10-13	13:13:39	2840	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:39	2840	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:39	2840	[DEBUG]	Executed store
2023-10-13	13:13:39	2840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862332','32')
2023-10-13	13:13:39	2840	[DEBUG]	Find the custom field ID
2023-10-13	13:13:39	2840	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:39	2840	[DEBUG]	No custom field ID found
2023-10-13	13:13:39	2840	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:39	2840	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:13:39	2840	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862332 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:39	2840	[DEBUG]	Store custom available field
2023-10-13	13:13:39	2840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862332,3,'14.8586111111111',1)
2023-10-13	13:13:39	2840	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:39	2840	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:39	2840	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862332 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:39	2840	[DEBUG]	Store custom available field
2023-10-13	13:13:39	2840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862332,6,'choisir la taille',3)
2023-10-13	13:13:39	2840	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:39	2840	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:39	2840	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:39	2840	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:39	2840	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862332 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:39	2840	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:39	2840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862332,8,1)
2023-10-13	13:13:39	2840	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:39	2840	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862332\":[1862332,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862332
2023-10-13	13:13:39	2840	[DEBUG]	Checking category
2023-10-13	13:13:39	2840	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:39	2840	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862332
2023-10-13	13:13:39	2840	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:39	2840	[DEBUG]	Executed store
2023-10-13	13:13:39	2840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862332','7359')
2023-10-13	13:13:39	2840	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:39	2840	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862332 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:39	2840	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:39	2840	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862332
2023-10-13	13:13:39	2841	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:39	2841	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:39	2841	[DEBUG]	Use field value for field taille
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:39	2841	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:39	2841	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:39	2841	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:39	2841	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:39	2841	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:39	2841	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:39	2841	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:39	2841	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:39	2841	[DEBUG]	Use field value for field published
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:39	2841	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field override
2023-10-13	13:13:39	2841	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:39	2841	[DEBUG]	Use field value for field slug
2023-10-13	13:13:39	2841	[DEBUG]	Process line 2841
2023-10-13	13:13:39	2841	[DEBUG]	Load a row
2023-10-13	13:13:39	2841	[DEBUG]	Processing item: 8435466291327
2023-10-13	13:13:39	2841	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:39	2841	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:39	2841	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3738_7'
2023-10-13	13:13:39	2841	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:39	2841	[DEBUG]	Processing product tax
2023-10-13	13:13:39	2841	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:39	2841	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:39	2841	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:39	2841	[DEBUG]	Query for Product
2023-10-13	13:13:39	2841	[DEBUG]	Executed store
2023-10-13	13:13:39	2841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862332','8435466291327','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:39	2841	[DEBUG]	No parent found
2023-10-13	13:13:39	2841	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862332 AND customfield_value = 'stockable'
2023-10-13	13:13:39	2841	[DEBUG]	Check product language entry
2023-10-13	13:13:39	2841	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862333
2023-10-13	13:13:39	2841	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:39	2841	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291327' AND `virtuemart_product_id` != 1862333
2023-10-13	13:13:39	2841	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:39	2841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862333, '8435466291327')
2023-10-13	13:13:39	2841	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:39	2841	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-rl-rouge-unitaire' AND `virtuemart_product_id` != 1862333
2023-10-13	13:13:39	2841	[DEBUG]	Query for ProductLang
2023-10-13	13:13:39	2841	[DEBUG]	Executed store
2023-10-13	13:13:39	2841	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC RL / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-rl-rouge-unitaire' WHERE `virtuemart_product_id` = '1862333'
2023-10-13	13:13:39	2841	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20009_guidoline_msc_rl.jpg
2023-10-13	13:13:39	2841	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:39	2841	[DEBUG]	Process image file
2023-10-13	13:13:39	2841	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:39	2841	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:39	2841	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20009_guidoline_msc_rl.jpg
2023-10-13	13:13:39	2841	[DEBUG]	Full name target: bcprisme/20009_guidoline_msc_rl.jpg
2023-10-13	13:13:40	2841	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:40	2841	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20009_guidoline_msc_rl.jpg'
2023-10-13	13:13:40	2841	[DEBUG]	Query for Media
2023-10-13	13:13:40	2841	[DEBUG]	Executed store
2023-10-13	13:13:40	2841	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20009_guidoline_msc_rl.jpg',`file_url_thumb`='bcprisme/20009_guidoline_msc_rl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12974'
2023-10-13	13:13:40	2841	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:40	2841	[DEBUG]	Executed store
2023-10-13	13:13:40	2841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862333','12974','1')
2023-10-13	13:13:40	2841	[DEBUG]	Store product image relation
2023-10-13	13:13:40	2841	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:40	2841	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862333 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:40	2841	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:40	2841	[DEBUG]	Executed store
2023-10-13	13:13:40	2841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862333','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:40	2841	[DEBUG]	Checking manufacturer
2023-10-13	13:13:40	2841	[DEBUG]	Load a row
2023-10-13	13:13:40	2841	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:40	2841	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:40	2841	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:40	2841	[DEBUG]	Executed store
2023-10-13	13:13:40	2841	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:40	2841	[DEBUG]	Manufacturer exists
2023-10-13	13:13:40	2841	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:40	2841	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:40	2841	[DEBUG]	Executed store
2023-10-13	13:13:40	2841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862333','32')
2023-10-13	13:13:40	2841	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:40	2841	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:40	2841	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862333 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:40	2841	[DEBUG]	Store custom available field
2023-10-13	13:13:40	2841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862333,3,'',1)
2023-10-13	13:13:40	2841	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:40	2841	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:40	2841	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862333 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:40	2841	[DEBUG]	Store custom available field
2023-10-13	13:13:40	2841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862333,6,'Unitaire',3)
2023-10-13	13:13:40	2841	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:40	2841	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:40	2841	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862332
2023-10-13	13:13:40	2841	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:40	2841	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862332\":[1862332,8,1,\"choisir la taille\"],\"1862333\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862332
2023-10-13	13:13:40	2841	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:40	2841	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862333
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:40	2842	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field taille
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:40	2842	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:40	2842	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:40	2842	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:40	2842	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:40	2842	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:40	2842	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field published
2023-10-13	13:13:40	2842	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:40	2842	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field override
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:40	2842	[DEBUG]	Use field value for field slug
2023-10-13	13:13:40	2842	[DEBUG]	Process line 2842
2023-10-13	13:13:40	2842	[DEBUG]	Load a row
2023-10-13	13:13:40	2842	[DEBUG]	Processing item: A_3738_12
2023-10-13	13:13:40	2842	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:40	2842	[DEBUG]	Processing product tax
2023-10-13	13:13:40	2842	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:40	2842	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:40	2842	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:40	2842	[DEBUG]	Query for Product
2023-10-13	13:13:40	2842	[DEBUG]	Executed store
2023-10-13	13:13:40	2842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3738_12','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:40	2842	[DEBUG]	Check product language entry
2023-10-13	13:13:40	2842	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862334
2023-10-13	13:13:40	2842	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:40	2842	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3738_12' AND `virtuemart_product_id` != 1862334
2023-10-13	13:13:40	2842	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:40	2842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862334, 'A_3738_12')
2023-10-13	13:13:40	2842	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:40	2842	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-rl-blanc' AND `virtuemart_product_id` != 1862334
2023-10-13	13:13:40	2842	[DEBUG]	Query for ProductLang
2023-10-13	13:13:40	2842	[DEBUG]	Executed store
2023-10-13	13:13:40	2842	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC RL<br>N° art fourn : CRL',`product_name`='MSC Guidoline MSC RL / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-rl-blanc' WHERE `virtuemart_product_id` = '1862334'
2023-10-13	13:13:40	2842	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20010_guidoline_msc_rl.jpg
2023-10-13	13:13:40	2842	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:40	2842	[DEBUG]	Process image file
2023-10-13	13:13:40	2842	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:40	2842	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:40	2842	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20010_guidoline_msc_rl.jpg
2023-10-13	13:13:40	2842	[DEBUG]	Full name target: bcprisme/20010_guidoline_msc_rl.jpg
2023-10-13	13:13:41	2842	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:41	2842	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20010_guidoline_msc_rl.jpg'
2023-10-13	13:13:41	2842	[DEBUG]	Query for Media
2023-10-13	13:13:41	2842	[DEBUG]	Executed store
2023-10-13	13:13:41	2842	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20010_guidoline_msc_rl.jpg',`file_url_thumb`='bcprisme/20010_guidoline_msc_rl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12975'
2023-10-13	13:13:41	2842	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:41	2842	[DEBUG]	Executed store
2023-10-13	13:13:41	2842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862334','12975','1')
2023-10-13	13:13:41	2842	[DEBUG]	Store product image relation
2023-10-13	13:13:41	2842	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:41	2842	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862334 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:41	2842	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:41	2842	[DEBUG]	Executed store
2023-10-13	13:13:41	2842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862334','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:41	2842	[DEBUG]	Checking manufacturer
2023-10-13	13:13:41	2842	[DEBUG]	Load a row
2023-10-13	13:13:41	2842	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:41	2842	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:41	2842	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:41	2842	[DEBUG]	Executed store
2023-10-13	13:13:41	2842	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:41	2842	[DEBUG]	Manufacturer exists
2023-10-13	13:13:41	2842	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:41	2842	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:41	2842	[DEBUG]	Executed store
2023-10-13	13:13:41	2842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862334','32')
2023-10-13	13:13:41	2842	[DEBUG]	Find the custom field ID
2023-10-13	13:13:41	2842	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:41	2842	[DEBUG]	No custom field ID found
2023-10-13	13:13:41	2842	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:41	2842	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:13:41	2842	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862334 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:41	2842	[DEBUG]	Store custom available field
2023-10-13	13:13:41	2842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862334,3,'14.8586111111111',1)
2023-10-13	13:13:41	2842	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:41	2842	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:41	2842	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862334 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:41	2842	[DEBUG]	Store custom available field
2023-10-13	13:13:41	2842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862334,6,'choisir la taille',3)
2023-10-13	13:13:41	2842	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:41	2842	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:41	2842	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:41	2842	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:41	2842	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862334 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:41	2842	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:41	2842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862334,8,1)
2023-10-13	13:13:41	2842	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:41	2842	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862334\":[1862334,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862334
2023-10-13	13:13:41	2842	[DEBUG]	Checking category
2023-10-13	13:13:41	2842	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:41	2842	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862334
2023-10-13	13:13:41	2842	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:41	2842	[DEBUG]	Executed store
2023-10-13	13:13:41	2842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862334','7359')
2023-10-13	13:13:41	2842	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:41	2842	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862334 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:41	2842	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:41	2842	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862334
2023-10-13	13:13:41	2843	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:41	2843	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:41	2843	[DEBUG]	Use field value for field taille
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:41	2843	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:41	2843	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:41	2843	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:41	2843	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:41	2843	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:41	2843	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:41	2843	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:41	2843	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:41	2843	[DEBUG]	Use field value for field published
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:41	2843	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field override
2023-10-13	13:13:41	2843	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:41	2843	[DEBUG]	Use field value for field slug
2023-10-13	13:13:41	2843	[DEBUG]	Process line 2843
2023-10-13	13:13:41	2843	[DEBUG]	Load a row
2023-10-13	13:13:41	2843	[DEBUG]	Processing item: 8435466291334
2023-10-13	13:13:41	2843	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:41	2843	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:41	2843	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3738_12'
2023-10-13	13:13:41	2843	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:41	2843	[DEBUG]	Processing product tax
2023-10-13	13:13:41	2843	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:41	2843	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:41	2843	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:41	2843	[DEBUG]	Query for Product
2023-10-13	13:13:41	2843	[DEBUG]	Executed store
2023-10-13	13:13:41	2843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862334','8435466291334','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:41	2843	[DEBUG]	No parent found
2023-10-13	13:13:41	2843	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862334 AND customfield_value = 'stockable'
2023-10-13	13:13:41	2843	[DEBUG]	Check product language entry
2023-10-13	13:13:41	2843	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862335
2023-10-13	13:13:41	2843	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:41	2843	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291334' AND `virtuemart_product_id` != 1862335
2023-10-13	13:13:41	2843	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:41	2843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862335, '8435466291334')
2023-10-13	13:13:41	2843	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:41	2843	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-rl-blanc-unitaire' AND `virtuemart_product_id` != 1862335
2023-10-13	13:13:41	2843	[DEBUG]	Query for ProductLang
2023-10-13	13:13:41	2843	[DEBUG]	Executed store
2023-10-13	13:13:41	2843	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC RL / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-rl-blanc-unitaire' WHERE `virtuemart_product_id` = '1862335'
2023-10-13	13:13:41	2843	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20010_guidoline_msc_rl.jpg
2023-10-13	13:13:41	2843	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:41	2843	[DEBUG]	Process image file
2023-10-13	13:13:41	2843	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:41	2843	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:41	2843	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20010_guidoline_msc_rl.jpg
2023-10-13	13:13:41	2843	[DEBUG]	Full name target: bcprisme/20010_guidoline_msc_rl.jpg
2023-10-13	13:13:42	2843	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:42	2843	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20010_guidoline_msc_rl.jpg'
2023-10-13	13:13:42	2843	[DEBUG]	Query for Media
2023-10-13	13:13:42	2843	[DEBUG]	Executed store
2023-10-13	13:13:42	2843	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20010_guidoline_msc_rl.jpg',`file_url_thumb`='bcprisme/20010_guidoline_msc_rl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12975'
2023-10-13	13:13:42	2843	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:42	2843	[DEBUG]	Executed store
2023-10-13	13:13:42	2843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862335','12975','1')
2023-10-13	13:13:42	2843	[DEBUG]	Store product image relation
2023-10-13	13:13:42	2843	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:42	2843	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862335 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:42	2843	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:42	2843	[DEBUG]	Executed store
2023-10-13	13:13:42	2843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862335','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:42	2843	[DEBUG]	Checking manufacturer
2023-10-13	13:13:42	2843	[DEBUG]	Load a row
2023-10-13	13:13:42	2843	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:42	2843	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:42	2843	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:42	2843	[DEBUG]	Executed store
2023-10-13	13:13:42	2843	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:42	2843	[DEBUG]	Manufacturer exists
2023-10-13	13:13:42	2843	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:42	2843	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:42	2843	[DEBUG]	Executed store
2023-10-13	13:13:42	2843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862335','32')
2023-10-13	13:13:42	2843	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:42	2843	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:42	2843	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862335 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:42	2843	[DEBUG]	Store custom available field
2023-10-13	13:13:42	2843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862335,3,'',1)
2023-10-13	13:13:42	2843	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:42	2843	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:42	2843	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862335 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:42	2843	[DEBUG]	Store custom available field
2023-10-13	13:13:42	2843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862335,6,'Unitaire',3)
2023-10-13	13:13:42	2843	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:42	2843	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:42	2843	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862334
2023-10-13	13:13:42	2843	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:42	2843	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862334\":[1862334,8,1,\"choisir la taille\"],\"1862335\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862334
2023-10-13	13:13:42	2843	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:42	2843	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862335
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:42	2844	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field taille
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:42	2844	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:42	2844	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:42	2844	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:42	2844	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:42	2844	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:42	2844	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field published
2023-10-13	13:13:42	2844	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:42	2844	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field override
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:42	2844	[DEBUG]	Use field value for field slug
2023-10-13	13:13:42	2844	[DEBUG]	Process line 2844
2023-10-13	13:13:42	2844	[DEBUG]	Load a row
2023-10-13	13:13:42	2844	[DEBUG]	Processing item: A_3738_22
2023-10-13	13:13:42	2844	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:42	2844	[DEBUG]	Processing product tax
2023-10-13	13:13:42	2844	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:42	2844	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:42	2844	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:42	2844	[DEBUG]	Query for Product
2023-10-13	13:13:42	2844	[DEBUG]	Executed store
2023-10-13	13:13:42	2844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3738_22','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:42	2844	[DEBUG]	Check product language entry
2023-10-13	13:13:42	2844	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862336
2023-10-13	13:13:42	2844	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:42	2844	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3738_22' AND `virtuemart_product_id` != 1862336
2023-10-13	13:13:42	2844	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:42	2844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862336, 'A_3738_22')
2023-10-13	13:13:42	2844	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:42	2844	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-rl-bleu' AND `virtuemart_product_id` != 1862336
2023-10-13	13:13:42	2844	[DEBUG]	Query for ProductLang
2023-10-13	13:13:42	2844	[DEBUG]	Executed store
2023-10-13	13:13:42	2844	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC RL<br>N° art fourn : CRL',`product_name`='MSC Guidoline MSC RL / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-rl-bleu' WHERE `virtuemart_product_id` = '1862336'
2023-10-13	13:13:42	2844	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20007_guidoline_msc_rl.jpg
2023-10-13	13:13:42	2844	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:42	2844	[DEBUG]	Process image file
2023-10-13	13:13:42	2844	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:42	2844	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:42	2844	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20007_guidoline_msc_rl.jpg
2023-10-13	13:13:42	2844	[DEBUG]	Full name target: bcprisme/20007_guidoline_msc_rl.jpg
2023-10-13	13:13:43	2844	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:43	2844	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20007_guidoline_msc_rl.jpg'
2023-10-13	13:13:43	2844	[DEBUG]	Query for Media
2023-10-13	13:13:43	2844	[DEBUG]	Executed store
2023-10-13	13:13:43	2844	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20007_guidoline_msc_rl.jpg',`file_url_thumb`='bcprisme/20007_guidoline_msc_rl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12976'
2023-10-13	13:13:43	2844	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:43	2844	[DEBUG]	Executed store
2023-10-13	13:13:43	2844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862336','12976','1')
2023-10-13	13:13:43	2844	[DEBUG]	Store product image relation
2023-10-13	13:13:43	2844	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:43	2844	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862336 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:43	2844	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:43	2844	[DEBUG]	Executed store
2023-10-13	13:13:43	2844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862336','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:43	2844	[DEBUG]	Checking manufacturer
2023-10-13	13:13:43	2844	[DEBUG]	Load a row
2023-10-13	13:13:43	2844	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:43	2844	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:43	2844	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:43	2844	[DEBUG]	Executed store
2023-10-13	13:13:43	2844	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:43	2844	[DEBUG]	Manufacturer exists
2023-10-13	13:13:43	2844	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:43	2844	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:43	2844	[DEBUG]	Executed store
2023-10-13	13:13:43	2844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862336','32')
2023-10-13	13:13:43	2844	[DEBUG]	Find the custom field ID
2023-10-13	13:13:43	2844	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:43	2844	[DEBUG]	No custom field ID found
2023-10-13	13:13:43	2844	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:43	2844	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:13:43	2844	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862336 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:43	2844	[DEBUG]	Store custom available field
2023-10-13	13:13:43	2844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862336,3,'14.8586111111111',1)
2023-10-13	13:13:43	2844	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:43	2844	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:43	2844	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862336 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:43	2844	[DEBUG]	Store custom available field
2023-10-13	13:13:43	2844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862336,6,'choisir la taille',3)
2023-10-13	13:13:43	2844	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:43	2844	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:43	2844	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:43	2844	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:43	2844	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862336 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:43	2844	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:43	2844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862336,8,1)
2023-10-13	13:13:43	2844	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:43	2844	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862336\":[1862336,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862336
2023-10-13	13:13:43	2844	[DEBUG]	Checking category
2023-10-13	13:13:43	2844	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:43	2844	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862336
2023-10-13	13:13:43	2844	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:43	2844	[DEBUG]	Executed store
2023-10-13	13:13:43	2844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862336','7359')
2023-10-13	13:13:43	2844	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:43	2844	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862336 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:43	2844	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:43	2844	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862336
2023-10-13	13:13:43	2845	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:43	2845	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:43	2845	[DEBUG]	Use field value for field taille
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:43	2845	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:43	2845	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:43	2845	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:43	2845	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:43	2845	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:43	2845	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:43	2845	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:43	2845	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:43	2845	[DEBUG]	Use field value for field published
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:43	2845	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field override
2023-10-13	13:13:43	2845	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:43	2845	[DEBUG]	Use field value for field slug
2023-10-13	13:13:43	2845	[DEBUG]	Process line 2845
2023-10-13	13:13:43	2845	[DEBUG]	Load a row
2023-10-13	13:13:43	2845	[DEBUG]	Processing item: 8435466291303
2023-10-13	13:13:43	2845	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:43	2845	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:43	2845	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3738_22'
2023-10-13	13:13:43	2845	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:43	2845	[DEBUG]	Processing product tax
2023-10-13	13:13:43	2845	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:43	2845	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:43	2845	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:43	2845	[DEBUG]	Query for Product
2023-10-13	13:13:43	2845	[DEBUG]	Executed store
2023-10-13	13:13:43	2845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862336','8435466291303','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:43	2845	[DEBUG]	No parent found
2023-10-13	13:13:43	2845	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862336 AND customfield_value = 'stockable'
2023-10-13	13:13:43	2845	[DEBUG]	Check product language entry
2023-10-13	13:13:43	2845	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862337
2023-10-13	13:13:43	2845	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:43	2845	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291303' AND `virtuemart_product_id` != 1862337
2023-10-13	13:13:43	2845	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:43	2845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862337, '8435466291303')
2023-10-13	13:13:43	2845	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:43	2845	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-rl-bleu-unitaire' AND `virtuemart_product_id` != 1862337
2023-10-13	13:13:43	2845	[DEBUG]	Query for ProductLang
2023-10-13	13:13:43	2845	[DEBUG]	Executed store
2023-10-13	13:13:43	2845	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC RL / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-rl-bleu-unitaire' WHERE `virtuemart_product_id` = '1862337'
2023-10-13	13:13:43	2845	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20007_guidoline_msc_rl.jpg
2023-10-13	13:13:43	2845	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:43	2845	[DEBUG]	Process image file
2023-10-13	13:13:43	2845	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:43	2845	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:43	2845	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20007_guidoline_msc_rl.jpg
2023-10-13	13:13:43	2845	[DEBUG]	Full name target: bcprisme/20007_guidoline_msc_rl.jpg
2023-10-13	13:13:44	2845	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:44	2845	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20007_guidoline_msc_rl.jpg'
2023-10-13	13:13:44	2845	[DEBUG]	Query for Media
2023-10-13	13:13:44	2845	[DEBUG]	Executed store
2023-10-13	13:13:44	2845	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20007_guidoline_msc_rl.jpg',`file_url_thumb`='bcprisme/20007_guidoline_msc_rl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12976'
2023-10-13	13:13:44	2845	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:44	2845	[DEBUG]	Executed store
2023-10-13	13:13:44	2845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862337','12976','1')
2023-10-13	13:13:44	2845	[DEBUG]	Store product image relation
2023-10-13	13:13:44	2845	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:44	2845	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862337 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:44	2845	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:44	2845	[DEBUG]	Executed store
2023-10-13	13:13:44	2845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862337','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:44	2845	[DEBUG]	Checking manufacturer
2023-10-13	13:13:44	2845	[DEBUG]	Load a row
2023-10-13	13:13:44	2845	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:44	2845	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:44	2845	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:44	2845	[DEBUG]	Executed store
2023-10-13	13:13:44	2845	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:44	2845	[DEBUG]	Manufacturer exists
2023-10-13	13:13:44	2845	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:44	2845	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:44	2845	[DEBUG]	Executed store
2023-10-13	13:13:44	2845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862337','32')
2023-10-13	13:13:44	2845	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:44	2845	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:44	2845	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862337 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:44	2845	[DEBUG]	Store custom available field
2023-10-13	13:13:44	2845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862337,3,'',1)
2023-10-13	13:13:44	2845	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:44	2845	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:44	2845	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862337 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:44	2845	[DEBUG]	Store custom available field
2023-10-13	13:13:44	2845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862337,6,'Unitaire',3)
2023-10-13	13:13:44	2845	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:44	2845	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:44	2845	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862336
2023-10-13	13:13:44	2845	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:44	2845	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862336\":[1862336,8,1,\"choisir la taille\"],\"1862337\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862336
2023-10-13	13:13:44	2845	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:44	2845	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862337
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:44	2846	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field taille
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:44	2846	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:44	2846	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:44	2846	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:44	2846	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:44	2846	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:44	2846	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field published
2023-10-13	13:13:44	2846	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:44	2846	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field override
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:44	2846	[DEBUG]	Use field value for field slug
2023-10-13	13:13:44	2846	[DEBUG]	Process line 2846
2023-10-13	13:13:44	2846	[DEBUG]	Load a row
2023-10-13	13:13:44	2846	[DEBUG]	Processing item: A_3738_40
2023-10-13	13:13:44	2846	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:44	2846	[DEBUG]	Processing product tax
2023-10-13	13:13:44	2846	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:44	2846	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:44	2846	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:44	2846	[DEBUG]	Query for Product
2023-10-13	13:13:44	2846	[DEBUG]	Executed store
2023-10-13	13:13:44	2846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3738_40','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:44	2846	[DEBUG]	Check product language entry
2023-10-13	13:13:44	2846	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862338
2023-10-13	13:13:44	2846	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:44	2846	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3738_40' AND `virtuemart_product_id` != 1862338
2023-10-13	13:13:44	2846	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:44	2846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862338, 'A_3738_40')
2023-10-13	13:13:44	2846	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:44	2846	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-rl-vert' AND `virtuemart_product_id` != 1862338
2023-10-13	13:13:44	2846	[DEBUG]	Query for ProductLang
2023-10-13	13:13:44	2846	[DEBUG]	Executed store
2023-10-13	13:13:44	2846	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC RL<br>N° art fourn : CRL',`product_name`='MSC Guidoline MSC RL / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-rl-vert' WHERE `virtuemart_product_id` = '1862338'
2023-10-13	13:13:44	2846	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20008_guidoline_msc_rl.jpg
2023-10-13	13:13:44	2846	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:44	2846	[DEBUG]	Process image file
2023-10-13	13:13:44	2846	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:44	2846	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:44	2846	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20008_guidoline_msc_rl.jpg
2023-10-13	13:13:44	2846	[DEBUG]	Full name target: bcprisme/20008_guidoline_msc_rl.jpg
2023-10-13	13:13:45	2846	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:45	2846	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20008_guidoline_msc_rl.jpg'
2023-10-13	13:13:45	2846	[DEBUG]	Query for Media
2023-10-13	13:13:45	2846	[DEBUG]	Executed store
2023-10-13	13:13:45	2846	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20008_guidoline_msc_rl.jpg',`file_url_thumb`='bcprisme/20008_guidoline_msc_rl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12977'
2023-10-13	13:13:45	2846	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:45	2846	[DEBUG]	Executed store
2023-10-13	13:13:45	2846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862338','12977','1')
2023-10-13	13:13:45	2846	[DEBUG]	Store product image relation
2023-10-13	13:13:45	2846	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:45	2846	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862338 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:45	2846	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:45	2846	[DEBUG]	Executed store
2023-10-13	13:13:45	2846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862338','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:45	2846	[DEBUG]	Checking manufacturer
2023-10-13	13:13:45	2846	[DEBUG]	Load a row
2023-10-13	13:13:45	2846	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:45	2846	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:45	2846	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:45	2846	[DEBUG]	Executed store
2023-10-13	13:13:45	2846	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:45	2846	[DEBUG]	Manufacturer exists
2023-10-13	13:13:45	2846	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:45	2846	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:45	2846	[DEBUG]	Executed store
2023-10-13	13:13:45	2846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862338','32')
2023-10-13	13:13:45	2846	[DEBUG]	Find the custom field ID
2023-10-13	13:13:45	2846	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:45	2846	[DEBUG]	No custom field ID found
2023-10-13	13:13:45	2846	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:45	2846	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:13:45	2846	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862338 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:45	2846	[DEBUG]	Store custom available field
2023-10-13	13:13:45	2846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862338,3,'14.8586111111111',1)
2023-10-13	13:13:45	2846	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:45	2846	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:45	2846	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862338 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:45	2846	[DEBUG]	Store custom available field
2023-10-13	13:13:45	2846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862338,6,'choisir la taille',3)
2023-10-13	13:13:45	2846	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:45	2846	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:45	2846	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:45	2846	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:45	2846	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862338 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:45	2846	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:45	2846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862338,8,1)
2023-10-13	13:13:45	2846	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:45	2846	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862338\":[1862338,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862338
2023-10-13	13:13:45	2846	[DEBUG]	Checking category
2023-10-13	13:13:45	2846	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:45	2846	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862338
2023-10-13	13:13:45	2846	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:45	2846	[DEBUG]	Executed store
2023-10-13	13:13:45	2846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862338','7359')
2023-10-13	13:13:45	2846	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:45	2846	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862338 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:45	2846	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:45	2846	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862338
2023-10-13	13:13:45	2847	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:45	2847	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:45	2847	[DEBUG]	Use field value for field taille
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:45	2847	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:45	2847	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:45	2847	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:45	2847	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:45	2847	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:45	2847	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:45	2847	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:45	2847	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:45	2847	[DEBUG]	Use field value for field published
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:45	2847	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field override
2023-10-13	13:13:45	2847	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:45	2847	[DEBUG]	Use field value for field slug
2023-10-13	13:13:45	2847	[DEBUG]	Process line 2847
2023-10-13	13:13:45	2847	[DEBUG]	Load a row
2023-10-13	13:13:45	2847	[DEBUG]	Processing item: 8435466291310
2023-10-13	13:13:45	2847	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:45	2847	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:45	2847	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3738_40'
2023-10-13	13:13:45	2847	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:45	2847	[DEBUG]	Processing product tax
2023-10-13	13:13:45	2847	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:45	2847	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:45	2847	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:45	2847	[DEBUG]	Query for Product
2023-10-13	13:13:45	2847	[DEBUG]	Executed store
2023-10-13	13:13:45	2847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862338','8435466291310','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:45	2847	[DEBUG]	No parent found
2023-10-13	13:13:45	2847	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862338 AND customfield_value = 'stockable'
2023-10-13	13:13:45	2847	[DEBUG]	Check product language entry
2023-10-13	13:13:45	2847	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862339
2023-10-13	13:13:45	2847	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:45	2847	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291310' AND `virtuemart_product_id` != 1862339
2023-10-13	13:13:45	2847	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:45	2847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862339, '8435466291310')
2023-10-13	13:13:45	2847	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:45	2847	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-rl-vert-unitaire' AND `virtuemart_product_id` != 1862339
2023-10-13	13:13:45	2847	[DEBUG]	Query for ProductLang
2023-10-13	13:13:45	2847	[DEBUG]	Executed store
2023-10-13	13:13:45	2847	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC RL / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-rl-vert-unitaire' WHERE `virtuemart_product_id` = '1862339'
2023-10-13	13:13:45	2847	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20008_guidoline_msc_rl.jpg
2023-10-13	13:13:45	2847	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:45	2847	[DEBUG]	Process image file
2023-10-13	13:13:45	2847	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:45	2847	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:45	2847	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20008_guidoline_msc_rl.jpg
2023-10-13	13:13:45	2847	[DEBUG]	Full name target: bcprisme/20008_guidoline_msc_rl.jpg
2023-10-13	13:13:46	2847	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:46	2847	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20008_guidoline_msc_rl.jpg'
2023-10-13	13:13:46	2847	[DEBUG]	Query for Media
2023-10-13	13:13:46	2847	[DEBUG]	Executed store
2023-10-13	13:13:46	2847	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20008_guidoline_msc_rl.jpg',`file_url_thumb`='bcprisme/20008_guidoline_msc_rl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12977'
2023-10-13	13:13:46	2847	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:46	2847	[DEBUG]	Executed store
2023-10-13	13:13:46	2847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862339','12977','1')
2023-10-13	13:13:46	2847	[DEBUG]	Store product image relation
2023-10-13	13:13:46	2847	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:46	2847	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862339 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:46	2847	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:46	2847	[DEBUG]	Executed store
2023-10-13	13:13:46	2847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862339','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:46	2847	[DEBUG]	Checking manufacturer
2023-10-13	13:13:46	2847	[DEBUG]	Load a row
2023-10-13	13:13:46	2847	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:46	2847	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:46	2847	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:46	2847	[DEBUG]	Executed store
2023-10-13	13:13:46	2847	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:46	2847	[DEBUG]	Manufacturer exists
2023-10-13	13:13:46	2847	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:46	2847	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:46	2847	[DEBUG]	Executed store
2023-10-13	13:13:46	2847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862339','32')
2023-10-13	13:13:46	2847	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:46	2847	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:46	2847	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862339 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:46	2847	[DEBUG]	Store custom available field
2023-10-13	13:13:46	2847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862339,3,'',1)
2023-10-13	13:13:46	2847	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:46	2847	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:46	2847	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862339 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:46	2847	[DEBUG]	Store custom available field
2023-10-13	13:13:46	2847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862339,6,'Unitaire',3)
2023-10-13	13:13:46	2847	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:46	2847	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:46	2847	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862338
2023-10-13	13:13:46	2847	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:46	2847	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862338\":[1862338,8,1,\"choisir la taille\"],\"1862339\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862338
2023-10-13	13:13:46	2847	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:46	2847	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862339
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:46	2848	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field taille
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:46	2848	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:46	2848	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:46	2848	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:46	2848	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:46	2848	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:46	2848	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field published
2023-10-13	13:13:46	2848	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:46	2848	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field override
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:46	2848	[DEBUG]	Use field value for field slug
2023-10-13	13:13:46	2848	[DEBUG]	Process line 2848
2023-10-13	13:13:46	2848	[DEBUG]	Load a row
2023-10-13	13:13:46	2848	[DEBUG]	Processing item: A_3739_1
2023-10-13	13:13:46	2848	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:46	2848	[DEBUG]	Processing product tax
2023-10-13	13:13:46	2848	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:46	2848	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:46	2848	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:46	2848	[DEBUG]	Query for Product
2023-10-13	13:13:46	2848	[DEBUG]	Executed store
2023-10-13	13:13:46	2848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3739_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:46	2848	[DEBUG]	Check product language entry
2023-10-13	13:13:46	2848	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862340
2023-10-13	13:13:46	2848	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:46	2848	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3739_1' AND `virtuemart_product_id` != 1862340
2023-10-13	13:13:46	2848	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:46	2848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862340, 'A_3739_1')
2023-10-13	13:13:46	2848	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:46	2848	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-gl-noir' AND `virtuemart_product_id` != 1862340
2023-10-13	13:13:46	2848	[DEBUG]	Query for ProductLang
2023-10-13	13:13:46	2848	[DEBUG]	Executed store
2023-10-13	13:13:46	2848	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC GL<br>N° art fourn : CGL',`product_name`='MSC Guidoline MSC GL / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-gl-noir' WHERE `virtuemart_product_id` = '1862340'
2023-10-13	13:13:46	2848	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20011_guidoline_msc_gl.jpg
2023-10-13	13:13:46	2848	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:46	2848	[DEBUG]	Process image file
2023-10-13	13:13:46	2848	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:46	2848	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:46	2848	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20011_guidoline_msc_gl.jpg
2023-10-13	13:13:46	2848	[DEBUG]	Full name target: bcprisme/20011_guidoline_msc_gl.jpg
2023-10-13	13:13:47	2848	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:47	2848	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20011_guidoline_msc_gl.jpg'
2023-10-13	13:13:47	2848	[DEBUG]	Query for Media
2023-10-13	13:13:47	2848	[DEBUG]	Executed store
2023-10-13	13:13:47	2848	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20011_guidoline_msc_gl.jpg',`file_url_thumb`='bcprisme/20011_guidoline_msc_gl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12978'
2023-10-13	13:13:47	2848	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:47	2848	[DEBUG]	Executed store
2023-10-13	13:13:47	2848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862340','12978','1')
2023-10-13	13:13:47	2848	[DEBUG]	Store product image relation
2023-10-13	13:13:47	2848	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:47	2848	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862340 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:47	2848	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:47	2848	[DEBUG]	Executed store
2023-10-13	13:13:47	2848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862340','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:47	2848	[DEBUG]	Checking manufacturer
2023-10-13	13:13:47	2848	[DEBUG]	Load a row
2023-10-13	13:13:47	2848	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:47	2848	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:47	2848	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:47	2848	[DEBUG]	Executed store
2023-10-13	13:13:47	2848	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:47	2848	[DEBUG]	Manufacturer exists
2023-10-13	13:13:47	2848	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:47	2848	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:47	2848	[DEBUG]	Executed store
2023-10-13	13:13:47	2848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862340','32')
2023-10-13	13:13:47	2848	[DEBUG]	Find the custom field ID
2023-10-13	13:13:47	2848	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:47	2848	[DEBUG]	No custom field ID found
2023-10-13	13:13:47	2848	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:47	2848	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:13:47	2848	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862340 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:47	2848	[DEBUG]	Store custom available field
2023-10-13	13:13:47	2848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862340,3,'14.8586111111111',1)
2023-10-13	13:13:47	2848	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:47	2848	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:47	2848	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862340 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:47	2848	[DEBUG]	Store custom available field
2023-10-13	13:13:47	2848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862340,6,'choisir la taille',3)
2023-10-13	13:13:47	2848	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:47	2848	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:47	2848	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:47	2848	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:47	2848	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862340 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:47	2848	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:47	2848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862340,8,1)
2023-10-13	13:13:47	2848	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:47	2848	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862340\":[1862340,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862340
2023-10-13	13:13:47	2848	[DEBUG]	Checking category
2023-10-13	13:13:47	2848	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:47	2848	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862340
2023-10-13	13:13:47	2848	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:47	2848	[DEBUG]	Executed store
2023-10-13	13:13:47	2848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862340','7359')
2023-10-13	13:13:47	2848	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:47	2848	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862340 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:47	2848	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:47	2848	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862340
2023-10-13	13:13:47	2849	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:47	2849	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:47	2849	[DEBUG]	Use field value for field taille
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:47	2849	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:47	2849	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:47	2849	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:47	2849	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:47	2849	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:47	2849	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:47	2849	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:47	2849	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:47	2849	[DEBUG]	Use field value for field published
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:47	2849	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field override
2023-10-13	13:13:47	2849	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:47	2849	[DEBUG]	Use field value for field slug
2023-10-13	13:13:47	2849	[DEBUG]	Process line 2849
2023-10-13	13:13:47	2849	[DEBUG]	Load a row
2023-10-13	13:13:47	2849	[DEBUG]	Processing item: 1000000059083
2023-10-13	13:13:47	2849	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:47	2849	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:47	2849	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3739_1'
2023-10-13	13:13:47	2849	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:47	2849	[DEBUG]	Processing product tax
2023-10-13	13:13:47	2849	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:47	2849	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:47	2849	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:47	2849	[DEBUG]	Query for Product
2023-10-13	13:13:47	2849	[DEBUG]	Executed store
2023-10-13	13:13:47	2849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862340','1000000059083','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:47	2849	[DEBUG]	No parent found
2023-10-13	13:13:47	2849	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862340 AND customfield_value = 'stockable'
2023-10-13	13:13:47	2849	[DEBUG]	Check product language entry
2023-10-13	13:13:47	2849	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862341
2023-10-13	13:13:47	2849	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:47	2849	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000059083' AND `virtuemart_product_id` != 1862341
2023-10-13	13:13:47	2849	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:47	2849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862341, '1000000059083')
2023-10-13	13:13:47	2849	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:47	2849	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-gl-noir-unitaire' AND `virtuemart_product_id` != 1862341
2023-10-13	13:13:47	2849	[DEBUG]	Query for ProductLang
2023-10-13	13:13:47	2849	[DEBUG]	Executed store
2023-10-13	13:13:47	2849	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC GL / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-gl-noir-unitaire' WHERE `virtuemart_product_id` = '1862341'
2023-10-13	13:13:47	2849	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20011_guidoline_msc_gl.jpg
2023-10-13	13:13:47	2849	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:47	2849	[DEBUG]	Process image file
2023-10-13	13:13:47	2849	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:47	2849	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:47	2849	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20011_guidoline_msc_gl.jpg
2023-10-13	13:13:47	2849	[DEBUG]	Full name target: bcprisme/20011_guidoline_msc_gl.jpg
2023-10-13	13:13:48	2849	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:48	2849	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20011_guidoline_msc_gl.jpg'
2023-10-13	13:13:48	2849	[DEBUG]	Query for Media
2023-10-13	13:13:48	2849	[DEBUG]	Executed store
2023-10-13	13:13:48	2849	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20011_guidoline_msc_gl.jpg',`file_url_thumb`='bcprisme/20011_guidoline_msc_gl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12978'
2023-10-13	13:13:48	2849	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:48	2849	[DEBUG]	Executed store
2023-10-13	13:13:48	2849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862341','12978','1')
2023-10-13	13:13:48	2849	[DEBUG]	Store product image relation
2023-10-13	13:13:48	2849	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:48	2849	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862341 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:48	2849	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:48	2849	[DEBUG]	Executed store
2023-10-13	13:13:48	2849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862341','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:48	2849	[DEBUG]	Checking manufacturer
2023-10-13	13:13:48	2849	[DEBUG]	Load a row
2023-10-13	13:13:48	2849	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:48	2849	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:48	2849	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:48	2849	[DEBUG]	Executed store
2023-10-13	13:13:48	2849	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:48	2849	[DEBUG]	Manufacturer exists
2023-10-13	13:13:48	2849	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:48	2849	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:48	2849	[DEBUG]	Executed store
2023-10-13	13:13:48	2849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862341','32')
2023-10-13	13:13:48	2849	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:48	2849	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:48	2849	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862341 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:48	2849	[DEBUG]	Store custom available field
2023-10-13	13:13:48	2849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862341,3,'',1)
2023-10-13	13:13:48	2849	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:48	2849	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:48	2849	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862341 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:48	2849	[DEBUG]	Store custom available field
2023-10-13	13:13:48	2849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862341,6,'Unitaire',3)
2023-10-13	13:13:48	2849	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:48	2849	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:48	2849	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862340
2023-10-13	13:13:48	2849	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:48	2849	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862340\":[1862340,8,1,\"choisir la taille\"],\"1862341\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862340
2023-10-13	13:13:48	2849	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:48	2849	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862341
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:48	2850	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field taille
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:48	2850	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:48	2850	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:48	2850	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:48	2850	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:48	2850	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:48	2850	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field published
2023-10-13	13:13:48	2850	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:48	2850	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field override
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:48	2850	[DEBUG]	Use field value for field slug
2023-10-13	13:13:48	2850	[DEBUG]	Process line 2850
2023-10-13	13:13:48	2850	[DEBUG]	Load a row
2023-10-13	13:13:48	2850	[DEBUG]	Processing item: A_3739_7
2023-10-13	13:13:48	2850	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:48	2850	[DEBUG]	Processing product tax
2023-10-13	13:13:48	2850	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:48	2850	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:48	2850	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:48	2850	[DEBUG]	Query for Product
2023-10-13	13:13:48	2850	[DEBUG]	Executed store
2023-10-13	13:13:48	2850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3739_7','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:48	2850	[DEBUG]	Check product language entry
2023-10-13	13:13:48	2850	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862342
2023-10-13	13:13:48	2850	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:48	2850	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3739_7' AND `virtuemart_product_id` != 1862342
2023-10-13	13:13:48	2850	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:48	2850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862342, 'A_3739_7')
2023-10-13	13:13:48	2850	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:48	2850	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-gl-rouge' AND `virtuemart_product_id` != 1862342
2023-10-13	13:13:48	2850	[DEBUG]	Query for ProductLang
2023-10-13	13:13:48	2850	[DEBUG]	Executed store
2023-10-13	13:13:48	2850	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC GL<br>N° art fourn : CGL',`product_name`='MSC Guidoline MSC GL / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-gl-rouge' WHERE `virtuemart_product_id` = '1862342'
2023-10-13	13:13:48	2850	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20018_guidoline_msc_gl.jpg
2023-10-13	13:13:48	2850	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:48	2850	[DEBUG]	Process image file
2023-10-13	13:13:48	2850	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:48	2850	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:48	2850	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20018_guidoline_msc_gl.jpg
2023-10-13	13:13:48	2850	[DEBUG]	Full name target: bcprisme/20018_guidoline_msc_gl.jpg
2023-10-13	13:13:50	2850	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:50	2850	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20018_guidoline_msc_gl.jpg'
2023-10-13	13:13:50	2850	[DEBUG]	Query for Media
2023-10-13	13:13:50	2850	[DEBUG]	Executed store
2023-10-13	13:13:50	2850	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20018_guidoline_msc_gl.jpg',`file_url_thumb`='bcprisme/20018_guidoline_msc_gl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12979'
2023-10-13	13:13:50	2850	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:50	2850	[DEBUG]	Executed store
2023-10-13	13:13:50	2850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862342','12979','1')
2023-10-13	13:13:50	2850	[DEBUG]	Store product image relation
2023-10-13	13:13:50	2850	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:50	2850	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862342 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:50	2850	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:50	2850	[DEBUG]	Executed store
2023-10-13	13:13:50	2850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862342','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:50	2850	[DEBUG]	Checking manufacturer
2023-10-13	13:13:50	2850	[DEBUG]	Load a row
2023-10-13	13:13:50	2850	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:50	2850	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:50	2850	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:50	2850	[DEBUG]	Executed store
2023-10-13	13:13:50	2850	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:50	2850	[DEBUG]	Manufacturer exists
2023-10-13	13:13:50	2850	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:50	2850	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:50	2850	[DEBUG]	Executed store
2023-10-13	13:13:50	2850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862342','32')
2023-10-13	13:13:50	2850	[DEBUG]	Find the custom field ID
2023-10-13	13:13:50	2850	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:50	2850	[DEBUG]	No custom field ID found
2023-10-13	13:13:50	2850	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:50	2850	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:13:50	2850	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862342 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:50	2850	[DEBUG]	Store custom available field
2023-10-13	13:13:50	2850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862342,3,'14.8586111111111',1)
2023-10-13	13:13:50	2850	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:50	2850	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:50	2850	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862342 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:50	2850	[DEBUG]	Store custom available field
2023-10-13	13:13:50	2850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862342,6,'choisir la taille',3)
2023-10-13	13:13:50	2850	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:50	2850	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:50	2850	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:50	2850	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:50	2850	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862342 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:50	2850	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:50	2850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862342,8,1)
2023-10-13	13:13:50	2850	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:50	2850	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862342\":[1862342,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862342
2023-10-13	13:13:50	2850	[DEBUG]	Checking category
2023-10-13	13:13:50	2850	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:50	2850	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862342
2023-10-13	13:13:50	2850	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:50	2850	[DEBUG]	Executed store
2023-10-13	13:13:50	2850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862342','7359')
2023-10-13	13:13:50	2850	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:50	2850	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862342 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:50	2850	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:50	2850	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862342
2023-10-13	13:13:50	2851	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:50	2851	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:50	2851	[DEBUG]	Use field value for field taille
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:50	2851	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:50	2851	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:50	2851	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:50	2851	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:50	2851	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:50	2851	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:50	2851	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:50	2851	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:50	2851	[DEBUG]	Use field value for field published
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:50	2851	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field override
2023-10-13	13:13:50	2851	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:50	2851	[DEBUG]	Use field value for field slug
2023-10-13	13:13:50	2851	[DEBUG]	Process line 2851
2023-10-13	13:13:50	2851	[DEBUG]	Load a row
2023-10-13	13:13:50	2851	[DEBUG]	Processing item: 8435466291457
2023-10-13	13:13:50	2851	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:50	2851	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:50	2851	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3739_7'
2023-10-13	13:13:50	2851	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:50	2851	[DEBUG]	Processing product tax
2023-10-13	13:13:50	2851	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:50	2851	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:50	2851	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:50	2851	[DEBUG]	Query for Product
2023-10-13	13:13:50	2851	[DEBUG]	Executed store
2023-10-13	13:13:50	2851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862342','8435466291457','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:50	2851	[DEBUG]	No parent found
2023-10-13	13:13:50	2851	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862342 AND customfield_value = 'stockable'
2023-10-13	13:13:50	2851	[DEBUG]	Check product language entry
2023-10-13	13:13:50	2851	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862343
2023-10-13	13:13:50	2851	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:50	2851	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291457' AND `virtuemart_product_id` != 1862343
2023-10-13	13:13:50	2851	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:50	2851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862343, '8435466291457')
2023-10-13	13:13:50	2851	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:50	2851	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-gl-rouge-unitaire' AND `virtuemart_product_id` != 1862343
2023-10-13	13:13:50	2851	[DEBUG]	Query for ProductLang
2023-10-13	13:13:50	2851	[DEBUG]	Executed store
2023-10-13	13:13:50	2851	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC GL / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-gl-rouge-unitaire' WHERE `virtuemart_product_id` = '1862343'
2023-10-13	13:13:50	2851	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20018_guidoline_msc_gl.jpg
2023-10-13	13:13:50	2851	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:50	2851	[DEBUG]	Process image file
2023-10-13	13:13:50	2851	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:50	2851	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:50	2851	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20018_guidoline_msc_gl.jpg
2023-10-13	13:13:50	2851	[DEBUG]	Full name target: bcprisme/20018_guidoline_msc_gl.jpg
2023-10-13	13:13:51	2851	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:51	2851	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20018_guidoline_msc_gl.jpg'
2023-10-13	13:13:51	2851	[DEBUG]	Query for Media
2023-10-13	13:13:51	2851	[DEBUG]	Executed store
2023-10-13	13:13:51	2851	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20018_guidoline_msc_gl.jpg',`file_url_thumb`='bcprisme/20018_guidoline_msc_gl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12979'
2023-10-13	13:13:51	2851	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:51	2851	[DEBUG]	Executed store
2023-10-13	13:13:51	2851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862343','12979','1')
2023-10-13	13:13:51	2851	[DEBUG]	Store product image relation
2023-10-13	13:13:51	2851	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:51	2851	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862343 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:51	2851	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:51	2851	[DEBUG]	Executed store
2023-10-13	13:13:51	2851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862343','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:51	2851	[DEBUG]	Checking manufacturer
2023-10-13	13:13:51	2851	[DEBUG]	Load a row
2023-10-13	13:13:51	2851	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:51	2851	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:51	2851	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:51	2851	[DEBUG]	Executed store
2023-10-13	13:13:51	2851	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:51	2851	[DEBUG]	Manufacturer exists
2023-10-13	13:13:51	2851	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:51	2851	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:51	2851	[DEBUG]	Executed store
2023-10-13	13:13:51	2851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862343','32')
2023-10-13	13:13:51	2851	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:51	2851	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:51	2851	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862343 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:51	2851	[DEBUG]	Store custom available field
2023-10-13	13:13:51	2851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862343,3,'',1)
2023-10-13	13:13:51	2851	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:51	2851	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:51	2851	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862343 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:51	2851	[DEBUG]	Store custom available field
2023-10-13	13:13:51	2851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862343,6,'Unitaire',3)
2023-10-13	13:13:51	2851	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:51	2851	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:51	2851	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862342
2023-10-13	13:13:51	2851	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:51	2851	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862342\":[1862342,8,1,\"choisir la taille\"],\"1862343\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862342
2023-10-13	13:13:51	2851	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:51	2851	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862343
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:51	2852	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field taille
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:51	2852	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:51	2852	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:51	2852	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:51	2852	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:51	2852	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:51	2852	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field published
2023-10-13	13:13:51	2852	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:51	2852	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field override
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:51	2852	[DEBUG]	Use field value for field slug
2023-10-13	13:13:51	2852	[DEBUG]	Process line 2852
2023-10-13	13:13:51	2852	[DEBUG]	Load a row
2023-10-13	13:13:51	2852	[DEBUG]	Processing item: A_3739_12
2023-10-13	13:13:51	2852	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:51	2852	[DEBUG]	Processing product tax
2023-10-13	13:13:51	2852	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:51	2852	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:51	2852	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:51	2852	[DEBUG]	Query for Product
2023-10-13	13:13:51	2852	[DEBUG]	Executed store
2023-10-13	13:13:51	2852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3739_12','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:51	2852	[DEBUG]	Check product language entry
2023-10-13	13:13:51	2852	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862344
2023-10-13	13:13:51	2852	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:51	2852	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3739_12' AND `virtuemart_product_id` != 1862344
2023-10-13	13:13:51	2852	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:51	2852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862344, 'A_3739_12')
2023-10-13	13:13:51	2852	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:51	2852	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-gl-blanc' AND `virtuemart_product_id` != 1862344
2023-10-13	13:13:51	2852	[DEBUG]	Query for ProductLang
2023-10-13	13:13:51	2852	[DEBUG]	Executed store
2023-10-13	13:13:51	2852	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC GL<br>N° art fourn : CGL',`product_name`='MSC Guidoline MSC GL / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-gl-blanc' WHERE `virtuemart_product_id` = '1862344'
2023-10-13	13:13:51	2852	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20019_guidoline_msc_gl.jpg
2023-10-13	13:13:51	2852	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:51	2852	[DEBUG]	Process image file
2023-10-13	13:13:51	2852	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:51	2852	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:51	2852	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20019_guidoline_msc_gl.jpg
2023-10-13	13:13:51	2852	[DEBUG]	Full name target: bcprisme/20019_guidoline_msc_gl.jpg
2023-10-13	13:13:53	2852	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:53	2852	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20019_guidoline_msc_gl.jpg'
2023-10-13	13:13:53	2852	[DEBUG]	Query for Media
2023-10-13	13:13:53	2852	[DEBUG]	Executed store
2023-10-13	13:13:53	2852	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20019_guidoline_msc_gl.jpg',`file_url_thumb`='bcprisme/20019_guidoline_msc_gl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12980'
2023-10-13	13:13:53	2852	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:53	2852	[DEBUG]	Executed store
2023-10-13	13:13:53	2852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862344','12980','1')
2023-10-13	13:13:53	2852	[DEBUG]	Store product image relation
2023-10-13	13:13:53	2852	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:53	2852	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862344 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:53	2852	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:53	2852	[DEBUG]	Executed store
2023-10-13	13:13:53	2852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862344','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:53	2852	[DEBUG]	Checking manufacturer
2023-10-13	13:13:53	2852	[DEBUG]	Load a row
2023-10-13	13:13:53	2852	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:53	2852	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:53	2852	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:53	2852	[DEBUG]	Executed store
2023-10-13	13:13:53	2852	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:53	2852	[DEBUG]	Manufacturer exists
2023-10-13	13:13:53	2852	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:53	2852	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:53	2852	[DEBUG]	Executed store
2023-10-13	13:13:53	2852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862344','32')
2023-10-13	13:13:53	2852	[DEBUG]	Find the custom field ID
2023-10-13	13:13:53	2852	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:53	2852	[DEBUG]	No custom field ID found
2023-10-13	13:13:53	2852	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:53	2852	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:13:53	2852	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862344 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:53	2852	[DEBUG]	Store custom available field
2023-10-13	13:13:53	2852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862344,3,'14.8586111111111',1)
2023-10-13	13:13:53	2852	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:53	2852	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:53	2852	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862344 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:53	2852	[DEBUG]	Store custom available field
2023-10-13	13:13:53	2852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862344,6,'choisir la taille',3)
2023-10-13	13:13:53	2852	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:53	2852	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:53	2852	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:53	2852	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:53	2852	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862344 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:53	2852	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:53	2852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862344,8,1)
2023-10-13	13:13:53	2852	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:53	2852	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862344\":[1862344,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862344
2023-10-13	13:13:53	2852	[DEBUG]	Checking category
2023-10-13	13:13:53	2852	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:53	2852	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862344
2023-10-13	13:13:53	2852	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:53	2852	[DEBUG]	Executed store
2023-10-13	13:13:53	2852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862344','7359')
2023-10-13	13:13:53	2852	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:53	2852	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862344 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:53	2852	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:53	2852	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862344
2023-10-13	13:13:53	2853	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:53	2853	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:53	2853	[DEBUG]	Use field value for field taille
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:53	2853	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:53	2853	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:53	2853	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:53	2853	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:53	2853	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:53	2853	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:53	2853	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:53	2853	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:53	2853	[DEBUG]	Use field value for field published
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:53	2853	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field override
2023-10-13	13:13:53	2853	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:53	2853	[DEBUG]	Use field value for field slug
2023-10-13	13:13:53	2853	[DEBUG]	Process line 2853
2023-10-13	13:13:53	2853	[DEBUG]	Load a row
2023-10-13	13:13:53	2853	[DEBUG]	Processing item: 1000000059144
2023-10-13	13:13:53	2853	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:53	2853	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:53	2853	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3739_12'
2023-10-13	13:13:53	2853	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:53	2853	[DEBUG]	Processing product tax
2023-10-13	13:13:53	2853	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:53	2853	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:53	2853	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:53	2853	[DEBUG]	Query for Product
2023-10-13	13:13:53	2853	[DEBUG]	Executed store
2023-10-13	13:13:53	2853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862344','1000000059144','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:53	2853	[DEBUG]	No parent found
2023-10-13	13:13:53	2853	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862344 AND customfield_value = 'stockable'
2023-10-13	13:13:53	2853	[DEBUG]	Check product language entry
2023-10-13	13:13:53	2853	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862345
2023-10-13	13:13:53	2853	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:53	2853	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000059144' AND `virtuemart_product_id` != 1862345
2023-10-13	13:13:53	2853	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:53	2853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862345, '1000000059144')
2023-10-13	13:13:53	2853	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:53	2853	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-gl-blanc-unitaire' AND `virtuemart_product_id` != 1862345
2023-10-13	13:13:53	2853	[DEBUG]	Query for ProductLang
2023-10-13	13:13:53	2853	[DEBUG]	Executed store
2023-10-13	13:13:53	2853	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC GL / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-gl-blanc-unitaire' WHERE `virtuemart_product_id` = '1862345'
2023-10-13	13:13:53	2853	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20019_guidoline_msc_gl.jpg
2023-10-13	13:13:53	2853	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:53	2853	[DEBUG]	Process image file
2023-10-13	13:13:53	2853	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:53	2853	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:53	2853	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20019_guidoline_msc_gl.jpg
2023-10-13	13:13:53	2853	[DEBUG]	Full name target: bcprisme/20019_guidoline_msc_gl.jpg
2023-10-13	13:13:54	2853	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:54	2853	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20019_guidoline_msc_gl.jpg'
2023-10-13	13:13:54	2853	[DEBUG]	Query for Media
2023-10-13	13:13:54	2853	[DEBUG]	Executed store
2023-10-13	13:13:54	2853	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20019_guidoline_msc_gl.jpg',`file_url_thumb`='bcprisme/20019_guidoline_msc_gl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12980'
2023-10-13	13:13:54	2853	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:54	2853	[DEBUG]	Executed store
2023-10-13	13:13:54	2853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862345','12980','1')
2023-10-13	13:13:54	2853	[DEBUG]	Store product image relation
2023-10-13	13:13:54	2853	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:54	2853	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862345 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:54	2853	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:54	2853	[DEBUG]	Executed store
2023-10-13	13:13:54	2853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862345','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:54	2853	[DEBUG]	Checking manufacturer
2023-10-13	13:13:54	2853	[DEBUG]	Load a row
2023-10-13	13:13:54	2853	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:54	2853	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:54	2853	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:54	2853	[DEBUG]	Executed store
2023-10-13	13:13:54	2853	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:54	2853	[DEBUG]	Manufacturer exists
2023-10-13	13:13:54	2853	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:54	2853	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:54	2853	[DEBUG]	Executed store
2023-10-13	13:13:54	2853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862345','32')
2023-10-13	13:13:54	2853	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:54	2853	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:54	2853	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862345 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:54	2853	[DEBUG]	Store custom available field
2023-10-13	13:13:54	2853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862345,3,'',1)
2023-10-13	13:13:54	2853	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:54	2853	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:54	2853	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862345 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:54	2853	[DEBUG]	Store custom available field
2023-10-13	13:13:54	2853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862345,6,'Unitaire',3)
2023-10-13	13:13:54	2853	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:54	2853	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:54	2853	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862344
2023-10-13	13:13:54	2853	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:54	2853	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862344\":[1862344,8,1,\"choisir la taille\"],\"1862345\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862344
2023-10-13	13:13:54	2853	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:54	2853	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862345
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:54	2854	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field taille
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:54	2854	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:54	2854	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:54	2854	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:54	2854	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:54	2854	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:54	2854	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field published
2023-10-13	13:13:54	2854	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:54	2854	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field override
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:54	2854	[DEBUG]	Use field value for field slug
2023-10-13	13:13:54	2854	[DEBUG]	Process line 2854
2023-10-13	13:13:54	2854	[DEBUG]	Load a row
2023-10-13	13:13:54	2854	[DEBUG]	Processing item: A_3739_22
2023-10-13	13:13:54	2854	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:54	2854	[DEBUG]	Processing product tax
2023-10-13	13:13:54	2854	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:54	2854	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:54	2854	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:54	2854	[DEBUG]	Query for Product
2023-10-13	13:13:54	2854	[DEBUG]	Executed store
2023-10-13	13:13:54	2854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3739_22','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:54	2854	[DEBUG]	Check product language entry
2023-10-13	13:13:54	2854	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862346
2023-10-13	13:13:54	2854	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:54	2854	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3739_22' AND `virtuemart_product_id` != 1862346
2023-10-13	13:13:54	2854	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:54	2854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862346, 'A_3739_22')
2023-10-13	13:13:54	2854	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:54	2854	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-gl-bleu' AND `virtuemart_product_id` != 1862346
2023-10-13	13:13:54	2854	[DEBUG]	Query for ProductLang
2023-10-13	13:13:54	2854	[DEBUG]	Executed store
2023-10-13	13:13:54	2854	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC GL<br>N° art fourn : CGL',`product_name`='MSC Guidoline MSC GL / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-gl-bleu' WHERE `virtuemart_product_id` = '1862346'
2023-10-13	13:13:54	2854	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20012_guidoline_msc_gl.jpg
2023-10-13	13:13:54	2854	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:54	2854	[DEBUG]	Process image file
2023-10-13	13:13:54	2854	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:54	2854	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:54	2854	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20012_guidoline_msc_gl.jpg
2023-10-13	13:13:54	2854	[DEBUG]	Full name target: bcprisme/20012_guidoline_msc_gl.jpg
2023-10-13	13:13:55	2854	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:55	2854	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20012_guidoline_msc_gl.jpg'
2023-10-13	13:13:55	2854	[DEBUG]	Query for Media
2023-10-13	13:13:55	2854	[DEBUG]	Executed store
2023-10-13	13:13:55	2854	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20012_guidoline_msc_gl.jpg',`file_url_thumb`='bcprisme/20012_guidoline_msc_gl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12981'
2023-10-13	13:13:55	2854	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:55	2854	[DEBUG]	Executed store
2023-10-13	13:13:55	2854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862346','12981','1')
2023-10-13	13:13:55	2854	[DEBUG]	Store product image relation
2023-10-13	13:13:55	2854	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:55	2854	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862346 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:55	2854	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:55	2854	[DEBUG]	Executed store
2023-10-13	13:13:55	2854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862346','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:55	2854	[DEBUG]	Checking manufacturer
2023-10-13	13:13:55	2854	[DEBUG]	Load a row
2023-10-13	13:13:55	2854	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:55	2854	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:55	2854	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:55	2854	[DEBUG]	Executed store
2023-10-13	13:13:55	2854	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:55	2854	[DEBUG]	Manufacturer exists
2023-10-13	13:13:55	2854	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:55	2854	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:55	2854	[DEBUG]	Executed store
2023-10-13	13:13:55	2854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862346','32')
2023-10-13	13:13:55	2854	[DEBUG]	Find the custom field ID
2023-10-13	13:13:55	2854	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:55	2854	[DEBUG]	No custom field ID found
2023-10-13	13:13:55	2854	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:55	2854	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:13:55	2854	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862346 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:55	2854	[DEBUG]	Store custom available field
2023-10-13	13:13:55	2854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862346,3,'14.8586111111111',1)
2023-10-13	13:13:55	2854	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:55	2854	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:55	2854	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862346 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:55	2854	[DEBUG]	Store custom available field
2023-10-13	13:13:55	2854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862346,6,'choisir la taille',3)
2023-10-13	13:13:55	2854	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:55	2854	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:55	2854	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:55	2854	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:55	2854	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862346 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:55	2854	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:55	2854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862346,8,1)
2023-10-13	13:13:55	2854	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:55	2854	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862346\":[1862346,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862346
2023-10-13	13:13:55	2854	[DEBUG]	Checking category
2023-10-13	13:13:55	2854	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:55	2854	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862346
2023-10-13	13:13:55	2854	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:55	2854	[DEBUG]	Executed store
2023-10-13	13:13:55	2854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862346','7359')
2023-10-13	13:13:55	2854	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:55	2854	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862346 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:55	2854	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:55	2854	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862346
2023-10-13	13:13:55	2855	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:55	2855	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:55	2855	[DEBUG]	Use field value for field taille
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:55	2855	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:55	2855	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:55	2855	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:55	2855	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:55	2855	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:55	2855	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:55	2855	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:55	2855	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:55	2855	[DEBUG]	Use field value for field published
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:55	2855	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field override
2023-10-13	13:13:55	2855	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:55	2855	[DEBUG]	Use field value for field slug
2023-10-13	13:13:55	2855	[DEBUG]	Process line 2855
2023-10-13	13:13:55	2855	[DEBUG]	Load a row
2023-10-13	13:13:55	2855	[DEBUG]	Processing item: 8435466291426
2023-10-13	13:13:55	2855	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:55	2855	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:55	2855	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3739_22'
2023-10-13	13:13:55	2855	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:55	2855	[DEBUG]	Processing product tax
2023-10-13	13:13:55	2855	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:55	2855	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:55	2855	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:55	2855	[DEBUG]	Query for Product
2023-10-13	13:13:55	2855	[DEBUG]	Executed store
2023-10-13	13:13:55	2855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862346','8435466291426','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:55	2855	[DEBUG]	No parent found
2023-10-13	13:13:55	2855	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862346 AND customfield_value = 'stockable'
2023-10-13	13:13:55	2855	[DEBUG]	Check product language entry
2023-10-13	13:13:55	2855	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862347
2023-10-13	13:13:55	2855	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:55	2855	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291426' AND `virtuemart_product_id` != 1862347
2023-10-13	13:13:55	2855	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:55	2855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862347, '8435466291426')
2023-10-13	13:13:55	2855	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:55	2855	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-gl-bleu-unitaire' AND `virtuemart_product_id` != 1862347
2023-10-13	13:13:55	2855	[DEBUG]	Query for ProductLang
2023-10-13	13:13:55	2855	[DEBUG]	Executed store
2023-10-13	13:13:55	2855	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC GL / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-gl-bleu-unitaire' WHERE `virtuemart_product_id` = '1862347'
2023-10-13	13:13:55	2855	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20012_guidoline_msc_gl.jpg
2023-10-13	13:13:55	2855	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:55	2855	[DEBUG]	Process image file
2023-10-13	13:13:55	2855	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:55	2855	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:55	2855	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20012_guidoline_msc_gl.jpg
2023-10-13	13:13:55	2855	[DEBUG]	Full name target: bcprisme/20012_guidoline_msc_gl.jpg
2023-10-13	13:13:56	2855	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:56	2855	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20012_guidoline_msc_gl.jpg'
2023-10-13	13:13:56	2855	[DEBUG]	Query for Media
2023-10-13	13:13:56	2855	[DEBUG]	Executed store
2023-10-13	13:13:56	2855	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20012_guidoline_msc_gl.jpg',`file_url_thumb`='bcprisme/20012_guidoline_msc_gl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12981'
2023-10-13	13:13:56	2855	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:56	2855	[DEBUG]	Executed store
2023-10-13	13:13:56	2855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862347','12981','1')
2023-10-13	13:13:56	2855	[DEBUG]	Store product image relation
2023-10-13	13:13:56	2855	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:56	2855	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862347 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:56	2855	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:56	2855	[DEBUG]	Executed store
2023-10-13	13:13:56	2855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862347','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:56	2855	[DEBUG]	Checking manufacturer
2023-10-13	13:13:56	2855	[DEBUG]	Load a row
2023-10-13	13:13:56	2855	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:56	2855	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:56	2855	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:56	2855	[DEBUG]	Executed store
2023-10-13	13:13:56	2855	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:56	2855	[DEBUG]	Manufacturer exists
2023-10-13	13:13:56	2855	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:56	2855	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:56	2855	[DEBUG]	Executed store
2023-10-13	13:13:56	2855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862347','32')
2023-10-13	13:13:56	2855	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:56	2855	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:56	2855	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862347 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:56	2855	[DEBUG]	Store custom available field
2023-10-13	13:13:56	2855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862347,3,'',1)
2023-10-13	13:13:56	2855	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:56	2855	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:56	2855	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862347 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:56	2855	[DEBUG]	Store custom available field
2023-10-13	13:13:56	2855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862347,6,'Unitaire',3)
2023-10-13	13:13:56	2855	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:56	2855	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:56	2855	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862346
2023-10-13	13:13:56	2855	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:56	2855	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862346\":[1862346,8,1,\"choisir la taille\"],\"1862347\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862346
2023-10-13	13:13:56	2855	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:56	2855	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862347
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:56	2856	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field taille
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:56	2856	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:56	2856	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:56	2856	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:56	2856	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:56	2856	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:56	2856	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field published
2023-10-13	13:13:56	2856	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:56	2856	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field override
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:56	2856	[DEBUG]	Use field value for field slug
2023-10-13	13:13:56	2856	[DEBUG]	Process line 2856
2023-10-13	13:13:56	2856	[DEBUG]	Load a row
2023-10-13	13:13:56	2856	[DEBUG]	Processing item: A_3739_40
2023-10-13	13:13:56	2856	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:56	2856	[DEBUG]	Processing product tax
2023-10-13	13:13:56	2856	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:56	2856	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:56	2856	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:56	2856	[DEBUG]	Query for Product
2023-10-13	13:13:56	2856	[DEBUG]	Executed store
2023-10-13	13:13:56	2856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3739_40','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:56	2856	[DEBUG]	Check product language entry
2023-10-13	13:13:56	2856	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862348
2023-10-13	13:13:56	2856	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:56	2856	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3739_40' AND `virtuemart_product_id` != 1862348
2023-10-13	13:13:56	2856	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:56	2856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862348, 'A_3739_40')
2023-10-13	13:13:56	2856	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:56	2856	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-gl-vert' AND `virtuemart_product_id` != 1862348
2023-10-13	13:13:56	2856	[DEBUG]	Query for ProductLang
2023-10-13	13:13:56	2856	[DEBUG]	Executed store
2023-10-13	13:13:56	2856	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC GL<br>N° art fourn : CGL',`product_name`='MSC Guidoline MSC GL / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-gl-vert' WHERE `virtuemart_product_id` = '1862348'
2023-10-13	13:13:56	2856	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20013_guidoline_msc_gl.jpg
2023-10-13	13:13:56	2856	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:56	2856	[DEBUG]	Process image file
2023-10-13	13:13:56	2856	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:56	2856	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:56	2856	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20013_guidoline_msc_gl.jpg
2023-10-13	13:13:56	2856	[DEBUG]	Full name target: bcprisme/20013_guidoline_msc_gl.jpg
2023-10-13	13:13:57	2856	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:57	2856	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20013_guidoline_msc_gl.jpg'
2023-10-13	13:13:57	2856	[DEBUG]	Query for Media
2023-10-13	13:13:57	2856	[DEBUG]	Executed store
2023-10-13	13:13:57	2856	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20013_guidoline_msc_gl.jpg',`file_url_thumb`='bcprisme/20013_guidoline_msc_gl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12982'
2023-10-13	13:13:57	2856	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:57	2856	[DEBUG]	Executed store
2023-10-13	13:13:57	2856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862348','12982','1')
2023-10-13	13:13:57	2856	[DEBUG]	Store product image relation
2023-10-13	13:13:57	2856	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:57	2856	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862348 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:57	2856	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:57	2856	[DEBUG]	Executed store
2023-10-13	13:13:57	2856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862348','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:57	2856	[DEBUG]	Checking manufacturer
2023-10-13	13:13:57	2856	[DEBUG]	Load a row
2023-10-13	13:13:57	2856	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:57	2856	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:57	2856	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:57	2856	[DEBUG]	Executed store
2023-10-13	13:13:57	2856	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:57	2856	[DEBUG]	Manufacturer exists
2023-10-13	13:13:57	2856	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:57	2856	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:57	2856	[DEBUG]	Executed store
2023-10-13	13:13:57	2856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862348','32')
2023-10-13	13:13:57	2856	[DEBUG]	Find the custom field ID
2023-10-13	13:13:57	2856	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:57	2856	[DEBUG]	No custom field ID found
2023-10-13	13:13:57	2856	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:57	2856	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:13:57	2856	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862348 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:57	2856	[DEBUG]	Store custom available field
2023-10-13	13:13:57	2856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862348,3,'14.8586111111111',1)
2023-10-13	13:13:57	2856	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:57	2856	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:57	2856	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862348 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:57	2856	[DEBUG]	Store custom available field
2023-10-13	13:13:57	2856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862348,6,'choisir la taille',3)
2023-10-13	13:13:57	2856	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:57	2856	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:57	2856	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:57	2856	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:57	2856	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862348 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:57	2856	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:57	2856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862348,8,1)
2023-10-13	13:13:57	2856	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:57	2856	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862348\":[1862348,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862348
2023-10-13	13:13:57	2856	[DEBUG]	Checking category
2023-10-13	13:13:57	2856	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:57	2856	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862348
2023-10-13	13:13:57	2856	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:57	2856	[DEBUG]	Executed store
2023-10-13	13:13:57	2856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862348','7359')
2023-10-13	13:13:57	2856	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:57	2856	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862348 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:57	2856	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:57	2856	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862348
2023-10-13	13:13:57	2857	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:57	2857	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:57	2857	[DEBUG]	Use field value for field taille
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:57	2857	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:57	2857	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:57	2857	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:57	2857	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:57	2857	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:57	2857	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:57	2857	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:57	2857	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:57	2857	[DEBUG]	Use field value for field published
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:57	2857	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field override
2023-10-13	13:13:57	2857	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:57	2857	[DEBUG]	Use field value for field slug
2023-10-13	13:13:57	2857	[DEBUG]	Process line 2857
2023-10-13	13:13:57	2857	[DEBUG]	Load a row
2023-10-13	13:13:57	2857	[DEBUG]	Processing item: 8435466291440
2023-10-13	13:13:57	2857	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:57	2857	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:57	2857	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3739_40'
2023-10-13	13:13:57	2857	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:57	2857	[DEBUG]	Processing product tax
2023-10-13	13:13:57	2857	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:57	2857	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:57	2857	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:57	2857	[DEBUG]	Query for Product
2023-10-13	13:13:57	2857	[DEBUG]	Executed store
2023-10-13	13:13:57	2857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862348','8435466291440','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:57	2857	[DEBUG]	No parent found
2023-10-13	13:13:57	2857	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862348 AND customfield_value = 'stockable'
2023-10-13	13:13:57	2857	[DEBUG]	Check product language entry
2023-10-13	13:13:57	2857	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862349
2023-10-13	13:13:57	2857	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:57	2857	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291440' AND `virtuemart_product_id` != 1862349
2023-10-13	13:13:57	2857	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:57	2857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862349, '8435466291440')
2023-10-13	13:13:57	2857	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:57	2857	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-gl-vert-unitaire' AND `virtuemart_product_id` != 1862349
2023-10-13	13:13:57	2857	[DEBUG]	Query for ProductLang
2023-10-13	13:13:57	2857	[DEBUG]	Executed store
2023-10-13	13:13:57	2857	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC GL / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-gl-vert-unitaire' WHERE `virtuemart_product_id` = '1862349'
2023-10-13	13:13:57	2857	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20013_guidoline_msc_gl.jpg
2023-10-13	13:13:57	2857	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:57	2857	[DEBUG]	Process image file
2023-10-13	13:13:57	2857	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:57	2857	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:57	2857	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20013_guidoline_msc_gl.jpg
2023-10-13	13:13:57	2857	[DEBUG]	Full name target: bcprisme/20013_guidoline_msc_gl.jpg
2023-10-13	13:13:58	2857	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:58	2857	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20013_guidoline_msc_gl.jpg'
2023-10-13	13:13:58	2857	[DEBUG]	Query for Media
2023-10-13	13:13:58	2857	[DEBUG]	Executed store
2023-10-13	13:13:58	2857	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20013_guidoline_msc_gl.jpg',`file_url_thumb`='bcprisme/20013_guidoline_msc_gl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12982'
2023-10-13	13:13:58	2857	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:58	2857	[DEBUG]	Executed store
2023-10-13	13:13:58	2857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862349','12982','1')
2023-10-13	13:13:58	2857	[DEBUG]	Store product image relation
2023-10-13	13:13:58	2857	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:58	2857	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862349 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:58	2857	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:58	2857	[DEBUG]	Executed store
2023-10-13	13:13:58	2857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862349','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:58	2857	[DEBUG]	Checking manufacturer
2023-10-13	13:13:58	2857	[DEBUG]	Load a row
2023-10-13	13:13:58	2857	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:58	2857	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:58	2857	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:58	2857	[DEBUG]	Executed store
2023-10-13	13:13:58	2857	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:58	2857	[DEBUG]	Manufacturer exists
2023-10-13	13:13:58	2857	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:58	2857	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:58	2857	[DEBUG]	Executed store
2023-10-13	13:13:58	2857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862349','32')
2023-10-13	13:13:58	2857	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:58	2857	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:13:58	2857	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862349 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:58	2857	[DEBUG]	Store custom available field
2023-10-13	13:13:58	2857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862349,3,'',1)
2023-10-13	13:13:58	2857	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:58	2857	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:13:58	2857	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862349 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:58	2857	[DEBUG]	Store custom available field
2023-10-13	13:13:58	2857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862349,6,'Unitaire',3)
2023-10-13	13:13:58	2857	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:58	2857	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:13:58	2857	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862348
2023-10-13	13:13:58	2857	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:58	2857	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862348\":[1862348,8,1,\"choisir la taille\"],\"1862349\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862348
2023-10-13	13:13:58	2857	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:58	2857	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862349
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:58	2858	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field taille
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field category_path
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:58	2858	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:13:58	2858	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:58	2858	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field product_weight
2023-10-13	13:13:58	2858	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:58	2858	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:58	2858	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field published
2023-10-13	13:13:58	2858	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:58	2858	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field custom_title
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field custom_param
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field override
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field public_price
2023-10-13	13:13:58	2858	[DEBUG]	Use field value for field slug
2023-10-13	13:13:58	2858	[DEBUG]	Process line 2858
2023-10-13	13:13:58	2858	[DEBUG]	Load a row
2023-10-13	13:13:58	2858	[DEBUG]	Processing item: A_3739_150
2023-10-13	13:13:58	2858	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:58	2858	[DEBUG]	Processing product tax
2023-10-13	13:13:58	2858	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:58	2858	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:58	2858	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:58	2858	[DEBUG]	Query for Product
2023-10-13	13:13:58	2858	[DEBUG]	Executed store
2023-10-13	13:13:58	2858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3739_150','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:58	2858	[DEBUG]	Check product language entry
2023-10-13	13:13:58	2858	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862350
2023-10-13	13:13:58	2858	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:58	2858	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3739_150' AND `virtuemart_product_id` != 1862350
2023-10-13	13:13:58	2858	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:58	2858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862350, 'A_3739_150')
2023-10-13	13:13:58	2858	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:58	2858	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-gl-rose' AND `virtuemart_product_id` != 1862350
2023-10-13	13:13:58	2858	[DEBUG]	Query for ProductLang
2023-10-13	13:13:58	2858	[DEBUG]	Executed store
2023-10-13	13:13:58	2858	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC GL<br>N° art fourn : CGL',`product_name`='MSC Guidoline MSC GL / Rose',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-gl-rose' WHERE `virtuemart_product_id` = '1862350'
2023-10-13	13:13:58	2858	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20017_guidoline_msc_gl.jpg
2023-10-13	13:13:58	2858	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:58	2858	[DEBUG]	Process image file
2023-10-13	13:13:58	2858	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:58	2858	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:58	2858	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20017_guidoline_msc_gl.jpg
2023-10-13	13:13:58	2858	[DEBUG]	Full name target: bcprisme/20017_guidoline_msc_gl.jpg
2023-10-13	13:13:59	2858	[DEBUG]	Checking if the file_url exists
2023-10-13	13:13:59	2858	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20017_guidoline_msc_gl.jpg'
2023-10-13	13:13:59	2858	[DEBUG]	Query for Media
2023-10-13	13:13:59	2858	[DEBUG]	Executed store
2023-10-13	13:13:59	2858	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20017_guidoline_msc_gl.jpg',`file_url_thumb`='bcprisme/20017_guidoline_msc_gl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12983'
2023-10-13	13:13:59	2858	[DEBUG]	Query for ProductMedia
2023-10-13	13:13:59	2858	[DEBUG]	Executed store
2023-10-13	13:13:59	2858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862350','12983','1')
2023-10-13	13:13:59	2858	[DEBUG]	Store product image relation
2023-10-13	13:13:59	2858	[DEBUG]	Finding a product_price_id
2023-10-13	13:13:59	2858	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862350 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:13:59	2858	[DEBUG]	Query for ProductPrice
2023-10-13	13:13:59	2858	[DEBUG]	Executed store
2023-10-13	13:13:59	2858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862350','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:13:59	2858	[DEBUG]	Checking manufacturer
2023-10-13	13:13:59	2858	[DEBUG]	Load a row
2023-10-13	13:13:59	2858	[DEBUG]	Manufacturer already exists
2023-10-13	13:13:59	2858	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:59	2858	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:13:59	2858	[DEBUG]	Executed store
2023-10-13	13:13:59	2858	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:13:59	2858	[DEBUG]	Manufacturer exists
2023-10-13	13:13:59	2858	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:13:59	2858	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:13:59	2858	[DEBUG]	Executed store
2023-10-13	13:13:59	2858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862350','32')
2023-10-13	13:13:59	2858	[DEBUG]	Find the custom field ID
2023-10-13	13:13:59	2858	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:13:59	2858	[DEBUG]	No custom field ID found
2023-10-13	13:13:59	2858	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:13:59	2858	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:13:59	2858	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862350 AND `virtuemart_custom_id` = 3
2023-10-13	13:13:59	2858	[DEBUG]	Store custom available field
2023-10-13	13:13:59	2858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862350,3,'14.8586111111111',1)
2023-10-13	13:13:59	2858	[DEBUG]	Processing custom available field: taille
2023-10-13	13:13:59	2858	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:13:59	2858	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862350 AND `virtuemart_custom_id` = 6
2023-10-13	13:13:59	2858	[DEBUG]	Store custom available field
2023-10-13	13:13:59	2858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862350,6,'choisir la taille',3)
2023-10-13	13:13:59	2858	[DEBUG]	Process multi-variant fields
2023-10-13	13:13:59	2858	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:13:59	2858	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:13:59	2858	[DEBUG]	Find the multi variant product entry
2023-10-13	13:13:59	2858	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862350 AND `virtuemart_custom_id` = 8
2023-10-13	13:13:59	2858	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:13:59	2858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862350,8,1)
2023-10-13	13:13:59	2858	[DEBUG]	Store the updated customfield_params
2023-10-13	13:13:59	2858	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862350\":[1862350,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862350
2023-10-13	13:13:59	2858	[DEBUG]	Checking category
2023-10-13	13:13:59	2858	[DEBUG]	Get the existing categories for the product
2023-10-13	13:13:59	2858	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862350
2023-10-13	13:13:59	2858	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:13:59	2858	[DEBUG]	Executed store
2023-10-13	13:13:59	2858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862350','7359')
2023-10-13	13:13:59	2858	[DEBUG]	Delete leftover product categories
2023-10-13	13:13:59	2858	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862350 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:13:59	2858	[DEBUG]	Update has fields after all processing
2023-10-13	13:13:59	2858	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862350
2023-10-13	13:13:59	2859	[DEBUG]	Use field value for field product_sku
2023-10-13	13:13:59	2859	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:13:59	2859	[DEBUG]	Use field value for field taille
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:13:59	2859	[DEBUG]	Use field value for field product_name
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field category_path
2023-10-13	13:13:59	2859	[DEBUG]	Use field value for field product_price
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:13:59	2859	[DEBUG]	Use field value for field product_tax
2023-10-13	13:13:59	2859	[DEBUG]	Use field value for field file_url
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field product_desc
2023-10-13	13:13:59	2859	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:13:59	2859	[DEBUG]	Use field value for field product_availability
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field product_weight
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field product_unit
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field related_products
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field product_special
2023-10-13	13:13:59	2859	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:13:59	2859	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:13:59	2859	[DEBUG]	Use field value for field published
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field metadesc
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field metakey
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field custom_title
2023-10-13	13:13:59	2859	[DEBUG]	Use field value for field custom_value
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field custom_param
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field override
2023-10-13	13:13:59	2859	[DEBUG]	Use default value for field public_price
2023-10-13	13:13:59	2859	[DEBUG]	Use field value for field slug
2023-10-13	13:13:59	2859	[DEBUG]	Process line 2859
2023-10-13	13:13:59	2859	[DEBUG]	Load a row
2023-10-13	13:13:59	2859	[DEBUG]	Processing item: 1000000059120
2023-10-13	13:13:59	2859	[DEBUG]	Looking for parent SKU
2023-10-13	13:13:59	2859	[DEBUG]	Checking product parent SKU
2023-10-13	13:13:59	2859	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3739_150'
2023-10-13	13:13:59	2859	[DEBUG]	Product tax: 7.7
2023-10-13	13:13:59	2859	[DEBUG]	Processing product tax
2023-10-13	13:13:59	2859	[DEBUG]	Check if calculation rule exists
2023-10-13	13:13:59	2859	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:13:59	2859	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:13:59	2859	[DEBUG]	Query for Product
2023-10-13	13:13:59	2859	[DEBUG]	Executed store
2023-10-13	13:13:59	2859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862350','1000000059120','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:13:59	2859	[DEBUG]	No parent found
2023-10-13	13:13:59	2859	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862350 AND customfield_value = 'stockable'
2023-10-13	13:13:59	2859	[DEBUG]	Check product language entry
2023-10-13	13:13:59	2859	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862351
2023-10-13	13:13:59	2859	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:59	2859	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000059120' AND `virtuemart_product_id` != 1862351
2023-10-13	13:13:59	2859	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:13:59	2859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862351, '1000000059120')
2023-10-13	13:13:59	2859	[DEBUG]	Check if the product slug exists
2023-10-13	13:13:59	2859	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-gl-rose-unitaire' AND `virtuemart_product_id` != 1862351
2023-10-13	13:13:59	2859	[DEBUG]	Query for ProductLang
2023-10-13	13:13:59	2859	[DEBUG]	Executed store
2023-10-13	13:13:59	2859	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC GL / Rose (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-gl-rose-unitaire' WHERE `virtuemart_product_id` = '1862351'
2023-10-13	13:13:59	2859	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20017_guidoline_msc_gl.jpg
2023-10-13	13:13:59	2859	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:59	2859	[DEBUG]	Process image file
2023-10-13	13:13:59	2859	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:13:59	2859	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:13:59	2859	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20017_guidoline_msc_gl.jpg
2023-10-13	13:13:59	2859	[DEBUG]	Full name target: bcprisme/20017_guidoline_msc_gl.jpg
2023-10-13	13:14:00	2859	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:00	2859	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20017_guidoline_msc_gl.jpg'
2023-10-13	13:14:00	2859	[DEBUG]	Query for Media
2023-10-13	13:14:00	2859	[DEBUG]	Executed store
2023-10-13	13:14:00	2859	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20017_guidoline_msc_gl.jpg',`file_url_thumb`='bcprisme/20017_guidoline_msc_gl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12983'
2023-10-13	13:14:00	2859	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:00	2859	[DEBUG]	Executed store
2023-10-13	13:14:00	2859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862351','12983','1')
2023-10-13	13:14:00	2859	[DEBUG]	Store product image relation
2023-10-13	13:14:00	2859	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:00	2859	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862351 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:00	2859	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:00	2859	[DEBUG]	Executed store
2023-10-13	13:14:00	2859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862351','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:00	2859	[DEBUG]	Checking manufacturer
2023-10-13	13:14:00	2859	[DEBUG]	Load a row
2023-10-13	13:14:00	2859	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:00	2859	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:00	2859	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:00	2859	[DEBUG]	Executed store
2023-10-13	13:14:00	2859	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:00	2859	[DEBUG]	Manufacturer exists
2023-10-13	13:14:00	2859	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:00	2859	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:00	2859	[DEBUG]	Executed store
2023-10-13	13:14:00	2859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862351','32')
2023-10-13	13:14:00	2859	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:00	2859	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:00	2859	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862351 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:00	2859	[DEBUG]	Store custom available field
2023-10-13	13:14:00	2859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862351,3,'',1)
2023-10-13	13:14:00	2859	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:00	2859	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:00	2859	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862351 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:00	2859	[DEBUG]	Store custom available field
2023-10-13	13:14:00	2859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862351,6,'Unitaire',3)
2023-10-13	13:14:00	2859	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:00	2859	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:00	2859	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862350
2023-10-13	13:14:00	2859	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:00	2859	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862350\":[1862350,8,1,\"choisir la taille\"],\"1862351\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862350
2023-10-13	13:14:00	2859	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:00	2859	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862351
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:00	2860	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field taille
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:00	2860	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:00	2860	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:00	2860	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:00	2860	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:00	2860	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:00	2860	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field published
2023-10-13	13:14:00	2860	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:00	2860	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field override
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:00	2860	[DEBUG]	Use field value for field slug
2023-10-13	13:14:00	2860	[DEBUG]	Process line 2860
2023-10-13	13:14:00	2860	[DEBUG]	Load a row
2023-10-13	13:14:00	2860	[DEBUG]	Processing item: A_3739_163
2023-10-13	13:14:00	2860	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:00	2860	[DEBUG]	Processing product tax
2023-10-13	13:14:00	2860	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:00	2860	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:00	2860	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:00	2860	[DEBUG]	Query for Product
2023-10-13	13:14:00	2860	[DEBUG]	Executed store
2023-10-13	13:14:00	2860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3739_163','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:00	2860	[DEBUG]	Check product language entry
2023-10-13	13:14:00	2860	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862352
2023-10-13	13:14:00	2860	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:00	2860	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3739_163' AND `virtuemart_product_id` != 1862352
2023-10-13	13:14:00	2860	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:00	2860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862352, 'A_3739_163')
2023-10-13	13:14:00	2860	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:00	2860	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-gl-bleu-clair' AND `virtuemart_product_id` != 1862352
2023-10-13	13:14:00	2860	[DEBUG]	Query for ProductLang
2023-10-13	13:14:00	2860	[DEBUG]	Executed store
2023-10-13	13:14:00	2860	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC GL<br>N° art fourn : CGL',`product_name`='MSC Guidoline MSC GL / Bleu-Clair',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-gl-bleu-clair' WHERE `virtuemart_product_id` = '1862352'
2023-10-13	13:14:00	2860	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20016_guidoline_msc_gl.jpg
2023-10-13	13:14:00	2860	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:00	2860	[DEBUG]	Process image file
2023-10-13	13:14:00	2860	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:00	2860	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:00	2860	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20016_guidoline_msc_gl.jpg
2023-10-13	13:14:00	2860	[DEBUG]	Full name target: bcprisme/20016_guidoline_msc_gl.jpg
2023-10-13	13:14:01	2860	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:01	2860	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20016_guidoline_msc_gl.jpg'
2023-10-13	13:14:01	2860	[DEBUG]	Query for Media
2023-10-13	13:14:01	2860	[DEBUG]	Executed store
2023-10-13	13:14:01	2860	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20016_guidoline_msc_gl.jpg',`file_url_thumb`='bcprisme/20016_guidoline_msc_gl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12984'
2023-10-13	13:14:01	2860	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:01	2860	[DEBUG]	Executed store
2023-10-13	13:14:01	2860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862352','12984','1')
2023-10-13	13:14:01	2860	[DEBUG]	Store product image relation
2023-10-13	13:14:01	2860	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:01	2860	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862352 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:01	2860	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:01	2860	[DEBUG]	Executed store
2023-10-13	13:14:01	2860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862352','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:01	2860	[DEBUG]	Checking manufacturer
2023-10-13	13:14:01	2860	[DEBUG]	Load a row
2023-10-13	13:14:01	2860	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:01	2860	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:01	2860	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:01	2860	[DEBUG]	Executed store
2023-10-13	13:14:01	2860	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:01	2860	[DEBUG]	Manufacturer exists
2023-10-13	13:14:01	2860	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:01	2860	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:01	2860	[DEBUG]	Executed store
2023-10-13	13:14:01	2860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862352','32')
2023-10-13	13:14:01	2860	[DEBUG]	Find the custom field ID
2023-10-13	13:14:01	2860	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:01	2860	[DEBUG]	No custom field ID found
2023-10-13	13:14:01	2860	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:01	2860	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:14:01	2860	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862352 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:01	2860	[DEBUG]	Store custom available field
2023-10-13	13:14:01	2860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862352,3,'14.8586111111111',1)
2023-10-13	13:14:01	2860	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:01	2860	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:01	2860	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862352 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:01	2860	[DEBUG]	Store custom available field
2023-10-13	13:14:01	2860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862352,6,'choisir la taille',3)
2023-10-13	13:14:01	2860	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:01	2860	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:01	2860	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:01	2860	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:01	2860	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862352 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:01	2860	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:01	2860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862352,8,1)
2023-10-13	13:14:01	2860	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:01	2860	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862352\":[1862352,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862352
2023-10-13	13:14:01	2860	[DEBUG]	Checking category
2023-10-13	13:14:01	2860	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:01	2860	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862352
2023-10-13	13:14:01	2860	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:01	2860	[DEBUG]	Executed store
2023-10-13	13:14:01	2860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862352','7359')
2023-10-13	13:14:01	2860	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:01	2860	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862352 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:01	2860	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:01	2860	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862352
2023-10-13	13:14:01	2861	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:01	2861	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:01	2861	[DEBUG]	Use field value for field taille
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:01	2861	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:01	2861	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:01	2861	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:01	2861	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:01	2861	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:01	2861	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:01	2861	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:01	2861	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:01	2861	[DEBUG]	Use field value for field published
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:01	2861	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field override
2023-10-13	13:14:01	2861	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:01	2861	[DEBUG]	Use field value for field slug
2023-10-13	13:14:01	2861	[DEBUG]	Process line 2861
2023-10-13	13:14:01	2861	[DEBUG]	Load a row
2023-10-13	13:14:01	2861	[DEBUG]	Processing item: 8435466291433
2023-10-13	13:14:01	2861	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:01	2861	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:01	2861	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3739_163'
2023-10-13	13:14:01	2861	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:01	2861	[DEBUG]	Processing product tax
2023-10-13	13:14:01	2861	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:01	2861	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:01	2861	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:01	2861	[DEBUG]	Query for Product
2023-10-13	13:14:01	2861	[DEBUG]	Executed store
2023-10-13	13:14:01	2861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862352','8435466291433','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:01	2861	[DEBUG]	No parent found
2023-10-13	13:14:01	2861	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862352 AND customfield_value = 'stockable'
2023-10-13	13:14:01	2861	[DEBUG]	Check product language entry
2023-10-13	13:14:01	2861	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862353
2023-10-13	13:14:01	2861	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:01	2861	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291433' AND `virtuemart_product_id` != 1862353
2023-10-13	13:14:01	2861	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:01	2861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862353, '8435466291433')
2023-10-13	13:14:01	2861	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:01	2861	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-gl-bleu-clair-unitaire' AND `virtuemart_product_id` != 1862353
2023-10-13	13:14:01	2861	[DEBUG]	Query for ProductLang
2023-10-13	13:14:01	2861	[DEBUG]	Executed store
2023-10-13	13:14:01	2861	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC GL / Bleu-Clair (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-gl-bleu-clair-unitaire' WHERE `virtuemart_product_id` = '1862353'
2023-10-13	13:14:01	2861	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20016_guidoline_msc_gl.jpg
2023-10-13	13:14:01	2861	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:01	2861	[DEBUG]	Process image file
2023-10-13	13:14:01	2861	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:01	2861	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:01	2861	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20016_guidoline_msc_gl.jpg
2023-10-13	13:14:01	2861	[DEBUG]	Full name target: bcprisme/20016_guidoline_msc_gl.jpg
2023-10-13	13:14:02	2861	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:02	2861	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20016_guidoline_msc_gl.jpg'
2023-10-13	13:14:02	2861	[DEBUG]	Query for Media
2023-10-13	13:14:02	2861	[DEBUG]	Executed store
2023-10-13	13:14:02	2861	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20016_guidoline_msc_gl.jpg',`file_url_thumb`='bcprisme/20016_guidoline_msc_gl.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12984'
2023-10-13	13:14:02	2861	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:02	2861	[DEBUG]	Executed store
2023-10-13	13:14:02	2861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862353','12984','1')
2023-10-13	13:14:02	2861	[DEBUG]	Store product image relation
2023-10-13	13:14:02	2861	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:02	2861	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862353 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:02	2861	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:02	2861	[DEBUG]	Executed store
2023-10-13	13:14:02	2861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862353','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:02	2861	[DEBUG]	Checking manufacturer
2023-10-13	13:14:02	2861	[DEBUG]	Load a row
2023-10-13	13:14:02	2861	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:02	2861	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:02	2861	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:02	2861	[DEBUG]	Executed store
2023-10-13	13:14:02	2861	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:02	2861	[DEBUG]	Manufacturer exists
2023-10-13	13:14:02	2861	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:02	2861	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:02	2861	[DEBUG]	Executed store
2023-10-13	13:14:02	2861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862353','32')
2023-10-13	13:14:02	2861	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:02	2861	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:02	2861	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862353 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:02	2861	[DEBUG]	Store custom available field
2023-10-13	13:14:02	2861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862353,3,'',1)
2023-10-13	13:14:02	2861	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:02	2861	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:02	2861	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862353 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:02	2861	[DEBUG]	Store custom available field
2023-10-13	13:14:02	2861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862353,6,'Unitaire',3)
2023-10-13	13:14:02	2861	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:02	2861	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:02	2861	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862352
2023-10-13	13:14:02	2861	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:02	2861	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862352\":[1862352,8,1,\"choisir la taille\"],\"1862353\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862352
2023-10-13	13:14:02	2861	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:02	2861	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862353
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:02	2862	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field taille
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:02	2862	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:02	2862	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:02	2862	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:02	2862	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:02	2862	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:02	2862	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field published
2023-10-13	13:14:02	2862	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:02	2862	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field override
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:02	2862	[DEBUG]	Use field value for field slug
2023-10-13	13:14:02	2862	[DEBUG]	Process line 2862
2023-10-13	13:14:02	2862	[DEBUG]	Load a row
2023-10-13	13:14:02	2862	[DEBUG]	Processing item: A_3740_7
2023-10-13	13:14:02	2862	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:02	2862	[DEBUG]	Processing product tax
2023-10-13	13:14:02	2862	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:02	2862	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:02	2862	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:02	2862	[DEBUG]	Query for Product
2023-10-13	13:14:02	2862	[DEBUG]	Executed store
2023-10-13	13:14:02	2862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3740_7','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:02	2862	[DEBUG]	Check product language entry
2023-10-13	13:14:02	2862	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862354
2023-10-13	13:14:02	2862	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:02	2862	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3740_7' AND `virtuemart_product_id` != 1862354
2023-10-13	13:14:02	2862	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:02	2862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862354, 'A_3740_7')
2023-10-13	13:14:02	2862	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:02	2862	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-rouge' AND `virtuemart_product_id` != 1862354
2023-10-13	13:14:02	2862	[DEBUG]	Query for ProductLang
2023-10-13	13:14:02	2862	[DEBUG]	Executed store
2023-10-13	13:14:02	2862	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC EVA<br>N° art fourn : CEVA',`product_name`='MSC Guidoline MSC EVA / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-rouge' WHERE `virtuemart_product_id` = '1862354'
2023-10-13	13:14:02	2862	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20028_guidoline_msc_eva.jpg
2023-10-13	13:14:02	2862	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:02	2862	[DEBUG]	Process image file
2023-10-13	13:14:02	2862	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:02	2862	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:02	2862	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20028_guidoline_msc_eva.jpg
2023-10-13	13:14:02	2862	[DEBUG]	Full name target: bcprisme/20028_guidoline_msc_eva.jpg
2023-10-13	13:14:03	2862	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:03	2862	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20028_guidoline_msc_eva.jpg'
2023-10-13	13:14:03	2862	[DEBUG]	Query for Media
2023-10-13	13:14:03	2862	[DEBUG]	Executed store
2023-10-13	13:14:03	2862	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20028_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20028_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12985'
2023-10-13	13:14:03	2862	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:03	2862	[DEBUG]	Executed store
2023-10-13	13:14:03	2862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862354','12985','1')
2023-10-13	13:14:03	2862	[DEBUG]	Store product image relation
2023-10-13	13:14:03	2862	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:03	2862	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862354 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:03	2862	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:03	2862	[DEBUG]	Executed store
2023-10-13	13:14:03	2862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862354','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:03	2862	[DEBUG]	Checking manufacturer
2023-10-13	13:14:03	2862	[DEBUG]	Load a row
2023-10-13	13:14:03	2862	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:03	2862	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:03	2862	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:03	2862	[DEBUG]	Executed store
2023-10-13	13:14:03	2862	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:03	2862	[DEBUG]	Manufacturer exists
2023-10-13	13:14:03	2862	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:03	2862	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:03	2862	[DEBUG]	Executed store
2023-10-13	13:14:03	2862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862354','32')
2023-10-13	13:14:03	2862	[DEBUG]	Find the custom field ID
2023-10-13	13:14:03	2862	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:03	2862	[DEBUG]	No custom field ID found
2023-10-13	13:14:03	2862	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:03	2862	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:14:03	2862	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862354 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:03	2862	[DEBUG]	Store custom available field
2023-10-13	13:14:03	2862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862354,3,'8.87527777777778',1)
2023-10-13	13:14:03	2862	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:03	2862	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:03	2862	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862354 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:03	2862	[DEBUG]	Store custom available field
2023-10-13	13:14:03	2862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862354,6,'choisir la taille',3)
2023-10-13	13:14:03	2862	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:03	2862	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:03	2862	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:03	2862	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:03	2862	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862354 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:03	2862	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:03	2862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862354,8,1)
2023-10-13	13:14:03	2862	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:03	2862	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862354\":[1862354,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862354
2023-10-13	13:14:03	2862	[DEBUG]	Checking category
2023-10-13	13:14:03	2862	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:03	2862	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862354
2023-10-13	13:14:03	2862	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:03	2862	[DEBUG]	Executed store
2023-10-13	13:14:03	2862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862354','7359')
2023-10-13	13:14:03	2862	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:03	2862	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862354 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:03	2862	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:03	2862	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862354
2023-10-13	13:14:03	2863	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:03	2863	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:03	2863	[DEBUG]	Use field value for field taille
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:03	2863	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:03	2863	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:03	2863	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:03	2863	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:03	2863	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:03	2863	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:03	2863	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:03	2863	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:03	2863	[DEBUG]	Use field value for field published
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:03	2863	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field override
2023-10-13	13:14:03	2863	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:03	2863	[DEBUG]	Use field value for field slug
2023-10-13	13:14:03	2863	[DEBUG]	Process line 2863
2023-10-13	13:14:03	2863	[DEBUG]	Load a row
2023-10-13	13:14:03	2863	[DEBUG]	Processing item: 8435466291266
2023-10-13	13:14:03	2863	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:03	2863	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:03	2863	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3740_7'
2023-10-13	13:14:03	2863	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:03	2863	[DEBUG]	Processing product tax
2023-10-13	13:14:03	2863	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:03	2863	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:03	2863	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:03	2863	[DEBUG]	Query for Product
2023-10-13	13:14:03	2863	[DEBUG]	Executed store
2023-10-13	13:14:03	2863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862354','8435466291266','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:03	2863	[DEBUG]	No parent found
2023-10-13	13:14:03	2863	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862354 AND customfield_value = 'stockable'
2023-10-13	13:14:03	2863	[DEBUG]	Check product language entry
2023-10-13	13:14:03	2863	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862355
2023-10-13	13:14:03	2863	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:03	2863	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291266' AND `virtuemart_product_id` != 1862355
2023-10-13	13:14:03	2863	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:03	2863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862355, '8435466291266')
2023-10-13	13:14:03	2863	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:03	2863	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-rouge-unitaire' AND `virtuemart_product_id` != 1862355
2023-10-13	13:14:03	2863	[DEBUG]	Query for ProductLang
2023-10-13	13:14:03	2863	[DEBUG]	Executed store
2023-10-13	13:14:03	2863	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC EVA / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-rouge-unitaire' WHERE `virtuemart_product_id` = '1862355'
2023-10-13	13:14:03	2863	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20028_guidoline_msc_eva.jpg
2023-10-13	13:14:03	2863	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:03	2863	[DEBUG]	Process image file
2023-10-13	13:14:03	2863	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:03	2863	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:03	2863	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20028_guidoline_msc_eva.jpg
2023-10-13	13:14:03	2863	[DEBUG]	Full name target: bcprisme/20028_guidoline_msc_eva.jpg
2023-10-13	13:14:04	2863	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:04	2863	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20028_guidoline_msc_eva.jpg'
2023-10-13	13:14:04	2863	[DEBUG]	Query for Media
2023-10-13	13:14:04	2863	[DEBUG]	Executed store
2023-10-13	13:14:04	2863	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20028_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20028_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12985'
2023-10-13	13:14:04	2863	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:04	2863	[DEBUG]	Executed store
2023-10-13	13:14:04	2863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862355','12985','1')
2023-10-13	13:14:04	2863	[DEBUG]	Store product image relation
2023-10-13	13:14:04	2863	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:04	2863	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862355 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:04	2863	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:04	2863	[DEBUG]	Executed store
2023-10-13	13:14:04	2863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862355','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:04	2863	[DEBUG]	Checking manufacturer
2023-10-13	13:14:04	2863	[DEBUG]	Load a row
2023-10-13	13:14:04	2863	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:04	2863	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:04	2863	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:04	2863	[DEBUG]	Executed store
2023-10-13	13:14:04	2863	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:04	2863	[DEBUG]	Manufacturer exists
2023-10-13	13:14:04	2863	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:04	2863	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:04	2863	[DEBUG]	Executed store
2023-10-13	13:14:04	2863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862355','32')
2023-10-13	13:14:04	2863	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:04	2863	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:04	2863	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862355 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:04	2863	[DEBUG]	Store custom available field
2023-10-13	13:14:04	2863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862355,3,'',1)
2023-10-13	13:14:04	2863	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:04	2863	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:04	2863	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862355 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:04	2863	[DEBUG]	Store custom available field
2023-10-13	13:14:04	2863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862355,6,'Unitaire',3)
2023-10-13	13:14:04	2863	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:04	2863	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:04	2863	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862354
2023-10-13	13:14:04	2863	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:04	2863	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862354\":[1862354,8,1,\"choisir la taille\"],\"1862355\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862354
2023-10-13	13:14:04	2863	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:04	2863	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862355
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:04	2864	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field taille
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:04	2864	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:04	2864	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:04	2864	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:04	2864	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:04	2864	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:04	2864	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field published
2023-10-13	13:14:04	2864	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:04	2864	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field override
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:04	2864	[DEBUG]	Use field value for field slug
2023-10-13	13:14:04	2864	[DEBUG]	Process line 2864
2023-10-13	13:14:04	2864	[DEBUG]	Load a row
2023-10-13	13:14:04	2864	[DEBUG]	Processing item: A_3740_12
2023-10-13	13:14:04	2864	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:04	2864	[DEBUG]	Processing product tax
2023-10-13	13:14:04	2864	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:04	2864	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:04	2864	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:04	2864	[DEBUG]	Query for Product
2023-10-13	13:14:04	2864	[DEBUG]	Executed store
2023-10-13	13:14:04	2864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3740_12','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:04	2864	[DEBUG]	Check product language entry
2023-10-13	13:14:04	2864	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862356
2023-10-13	13:14:04	2864	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:04	2864	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3740_12' AND `virtuemart_product_id` != 1862356
2023-10-13	13:14:04	2864	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:04	2864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862356, 'A_3740_12')
2023-10-13	13:14:04	2864	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:04	2864	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-blanc' AND `virtuemart_product_id` != 1862356
2023-10-13	13:14:04	2864	[DEBUG]	Query for ProductLang
2023-10-13	13:14:04	2864	[DEBUG]	Executed store
2023-10-13	13:14:04	2864	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC EVA<br>N° art fourn : CEVA',`product_name`='MSC Guidoline MSC EVA / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-blanc' WHERE `virtuemart_product_id` = '1862356'
2023-10-13	13:14:04	2864	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20029_guidoline_msc_eva.jpg
2023-10-13	13:14:04	2864	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:04	2864	[DEBUG]	Process image file
2023-10-13	13:14:04	2864	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:04	2864	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:04	2864	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20029_guidoline_msc_eva.jpg
2023-10-13	13:14:04	2864	[DEBUG]	Full name target: bcprisme/20029_guidoline_msc_eva.jpg
2023-10-13	13:14:05	2864	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:05	2864	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20029_guidoline_msc_eva.jpg'
2023-10-13	13:14:05	2864	[DEBUG]	Query for Media
2023-10-13	13:14:05	2864	[DEBUG]	Executed store
2023-10-13	13:14:05	2864	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20029_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20029_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12986'
2023-10-13	13:14:05	2864	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:05	2864	[DEBUG]	Executed store
2023-10-13	13:14:05	2864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862356','12986','1')
2023-10-13	13:14:05	2864	[DEBUG]	Store product image relation
2023-10-13	13:14:05	2864	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:05	2864	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862356 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:05	2864	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:05	2864	[DEBUG]	Executed store
2023-10-13	13:14:05	2864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862356','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:05	2864	[DEBUG]	Checking manufacturer
2023-10-13	13:14:05	2864	[DEBUG]	Load a row
2023-10-13	13:14:05	2864	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:05	2864	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:05	2864	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:05	2864	[DEBUG]	Executed store
2023-10-13	13:14:05	2864	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:05	2864	[DEBUG]	Manufacturer exists
2023-10-13	13:14:05	2864	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:05	2864	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:05	2864	[DEBUG]	Executed store
2023-10-13	13:14:05	2864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862356','32')
2023-10-13	13:14:05	2864	[DEBUG]	Find the custom field ID
2023-10-13	13:14:05	2864	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:05	2864	[DEBUG]	No custom field ID found
2023-10-13	13:14:05	2864	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:05	2864	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:14:05	2864	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862356 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:05	2864	[DEBUG]	Store custom available field
2023-10-13	13:14:05	2864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862356,3,'8.87527777777778',1)
2023-10-13	13:14:05	2864	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:05	2864	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:05	2864	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862356 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:05	2864	[DEBUG]	Store custom available field
2023-10-13	13:14:05	2864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862356,6,'choisir la taille',3)
2023-10-13	13:14:05	2864	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:05	2864	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:05	2864	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:05	2864	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:05	2864	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862356 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:05	2864	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:05	2864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862356,8,1)
2023-10-13	13:14:05	2864	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:05	2864	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862356\":[1862356,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862356
2023-10-13	13:14:05	2864	[DEBUG]	Checking category
2023-10-13	13:14:05	2864	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:05	2864	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862356
2023-10-13	13:14:05	2864	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:05	2864	[DEBUG]	Executed store
2023-10-13	13:14:05	2864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862356','7359')
2023-10-13	13:14:05	2864	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:05	2864	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862356 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:05	2864	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:05	2864	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862356
2023-10-13	13:14:05	2865	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:05	2865	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:05	2865	[DEBUG]	Use field value for field taille
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:05	2865	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:05	2865	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:05	2865	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:05	2865	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:05	2865	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:05	2865	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:05	2865	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:05	2865	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:05	2865	[DEBUG]	Use field value for field published
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:05	2865	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field override
2023-10-13	13:14:05	2865	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:05	2865	[DEBUG]	Use field value for field slug
2023-10-13	13:14:05	2865	[DEBUG]	Process line 2865
2023-10-13	13:14:05	2865	[DEBUG]	Load a row
2023-10-13	13:14:05	2865	[DEBUG]	Processing item: 8435466291273
2023-10-13	13:14:05	2865	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:05	2865	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:05	2865	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3740_12'
2023-10-13	13:14:05	2865	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:05	2865	[DEBUG]	Processing product tax
2023-10-13	13:14:05	2865	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:05	2865	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:05	2865	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:05	2865	[DEBUG]	Query for Product
2023-10-13	13:14:05	2865	[DEBUG]	Executed store
2023-10-13	13:14:05	2865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862356','8435466291273','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:05	2865	[DEBUG]	No parent found
2023-10-13	13:14:05	2865	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862356 AND customfield_value = 'stockable'
2023-10-13	13:14:05	2865	[DEBUG]	Check product language entry
2023-10-13	13:14:05	2865	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862357
2023-10-13	13:14:05	2865	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:05	2865	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291273' AND `virtuemart_product_id` != 1862357
2023-10-13	13:14:05	2865	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:05	2865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862357, '8435466291273')
2023-10-13	13:14:05	2865	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:05	2865	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-blanc-unitaire' AND `virtuemart_product_id` != 1862357
2023-10-13	13:14:05	2865	[DEBUG]	Query for ProductLang
2023-10-13	13:14:05	2865	[DEBUG]	Executed store
2023-10-13	13:14:05	2865	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC EVA / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-blanc-unitaire' WHERE `virtuemart_product_id` = '1862357'
2023-10-13	13:14:05	2865	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20029_guidoline_msc_eva.jpg
2023-10-13	13:14:05	2865	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:05	2865	[DEBUG]	Process image file
2023-10-13	13:14:05	2865	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:05	2865	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:05	2865	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20029_guidoline_msc_eva.jpg
2023-10-13	13:14:05	2865	[DEBUG]	Full name target: bcprisme/20029_guidoline_msc_eva.jpg
2023-10-13	13:14:07	2865	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:07	2865	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20029_guidoline_msc_eva.jpg'
2023-10-13	13:14:07	2865	[DEBUG]	Query for Media
2023-10-13	13:14:07	2865	[DEBUG]	Executed store
2023-10-13	13:14:07	2865	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20029_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20029_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12986'
2023-10-13	13:14:07	2865	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:07	2865	[DEBUG]	Executed store
2023-10-13	13:14:07	2865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862357','12986','1')
2023-10-13	13:14:07	2865	[DEBUG]	Store product image relation
2023-10-13	13:14:07	2865	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:07	2865	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862357 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:07	2865	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:07	2865	[DEBUG]	Executed store
2023-10-13	13:14:07	2865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862357','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:07	2865	[DEBUG]	Checking manufacturer
2023-10-13	13:14:07	2865	[DEBUG]	Load a row
2023-10-13	13:14:07	2865	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:07	2865	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:07	2865	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:07	2865	[DEBUG]	Executed store
2023-10-13	13:14:07	2865	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:07	2865	[DEBUG]	Manufacturer exists
2023-10-13	13:14:07	2865	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:07	2865	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:07	2865	[DEBUG]	Executed store
2023-10-13	13:14:07	2865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862357','32')
2023-10-13	13:14:07	2865	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:07	2865	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:07	2865	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862357 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:07	2865	[DEBUG]	Store custom available field
2023-10-13	13:14:07	2865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862357,3,'',1)
2023-10-13	13:14:07	2865	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:07	2865	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:07	2865	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862357 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:07	2865	[DEBUG]	Store custom available field
2023-10-13	13:14:07	2865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862357,6,'Unitaire',3)
2023-10-13	13:14:07	2865	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:07	2865	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:07	2865	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862356
2023-10-13	13:14:07	2865	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:07	2865	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862356\":[1862356,8,1,\"choisir la taille\"],\"1862357\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862356
2023-10-13	13:14:07	2865	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:07	2865	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862357
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:07	2866	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field taille
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:07	2866	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:07	2866	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:07	2866	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:07	2866	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:07	2866	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:07	2866	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field published
2023-10-13	13:14:07	2866	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:07	2866	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field override
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:07	2866	[DEBUG]	Use field value for field slug
2023-10-13	13:14:07	2866	[DEBUG]	Process line 2866
2023-10-13	13:14:07	2866	[DEBUG]	Load a row
2023-10-13	13:14:07	2866	[DEBUG]	Processing item: A_3740_22
2023-10-13	13:14:07	2866	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:07	2866	[DEBUG]	Processing product tax
2023-10-13	13:14:07	2866	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:07	2866	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:07	2866	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:07	2866	[DEBUG]	Query for Product
2023-10-13	13:14:07	2866	[DEBUG]	Executed store
2023-10-13	13:14:07	2866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3740_22','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:07	2866	[DEBUG]	Check product language entry
2023-10-13	13:14:07	2866	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862358
2023-10-13	13:14:07	2866	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:07	2866	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3740_22' AND `virtuemart_product_id` != 1862358
2023-10-13	13:14:07	2866	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:07	2866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862358, 'A_3740_22')
2023-10-13	13:14:07	2866	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:07	2866	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-bleu' AND `virtuemart_product_id` != 1862358
2023-10-13	13:14:07	2866	[DEBUG]	Query for ProductLang
2023-10-13	13:14:07	2866	[DEBUG]	Executed store
2023-10-13	13:14:07	2866	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC EVA<br>N° art fourn : CEVA',`product_name`='MSC Guidoline MSC EVA / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-bleu' WHERE `virtuemart_product_id` = '1862358'
2023-10-13	13:14:07	2866	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20024_guidoline_msc_eva.jpg
2023-10-13	13:14:07	2866	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:07	2866	[DEBUG]	Process image file
2023-10-13	13:14:07	2866	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:07	2866	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:07	2866	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20024_guidoline_msc_eva.jpg
2023-10-13	13:14:07	2866	[DEBUG]	Full name target: bcprisme/20024_guidoline_msc_eva.jpg
2023-10-13	13:14:08	2866	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:08	2866	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20024_guidoline_msc_eva.jpg'
2023-10-13	13:14:08	2866	[DEBUG]	Query for Media
2023-10-13	13:14:08	2866	[DEBUG]	Executed store
2023-10-13	13:14:08	2866	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20024_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20024_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12987'
2023-10-13	13:14:08	2866	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:08	2866	[DEBUG]	Executed store
2023-10-13	13:14:08	2866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862358','12987','1')
2023-10-13	13:14:08	2866	[DEBUG]	Store product image relation
2023-10-13	13:14:08	2866	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:08	2866	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862358 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:08	2866	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:08	2866	[DEBUG]	Executed store
2023-10-13	13:14:08	2866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862358','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:08	2866	[DEBUG]	Checking manufacturer
2023-10-13	13:14:08	2866	[DEBUG]	Load a row
2023-10-13	13:14:08	2866	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:08	2866	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:08	2866	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:08	2866	[DEBUG]	Executed store
2023-10-13	13:14:08	2866	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:08	2866	[DEBUG]	Manufacturer exists
2023-10-13	13:14:08	2866	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:08	2866	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:08	2866	[DEBUG]	Executed store
2023-10-13	13:14:08	2866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862358','32')
2023-10-13	13:14:08	2866	[DEBUG]	Find the custom field ID
2023-10-13	13:14:08	2866	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:08	2866	[DEBUG]	No custom field ID found
2023-10-13	13:14:08	2866	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:08	2866	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:14:08	2866	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862358 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:08	2866	[DEBUG]	Store custom available field
2023-10-13	13:14:08	2866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862358,3,'8.87527777777778',1)
2023-10-13	13:14:08	2866	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:08	2866	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:08	2866	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862358 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:08	2866	[DEBUG]	Store custom available field
2023-10-13	13:14:08	2866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862358,6,'choisir la taille',3)
2023-10-13	13:14:08	2866	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:08	2866	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:08	2866	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:08	2866	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:08	2866	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862358 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:08	2866	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:08	2866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862358,8,1)
2023-10-13	13:14:08	2866	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:08	2866	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862358\":[1862358,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862358
2023-10-13	13:14:08	2866	[DEBUG]	Checking category
2023-10-13	13:14:08	2866	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:08	2866	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862358
2023-10-13	13:14:08	2866	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:08	2866	[DEBUG]	Executed store
2023-10-13	13:14:08	2866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862358','7359')
2023-10-13	13:14:08	2866	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:08	2866	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862358 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:08	2866	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:08	2866	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862358
2023-10-13	13:14:08	2867	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:08	2867	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:08	2867	[DEBUG]	Use field value for field taille
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:08	2867	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:08	2867	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:08	2867	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:08	2867	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:08	2867	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:08	2867	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:08	2867	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:08	2867	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:08	2867	[DEBUG]	Use field value for field published
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:08	2867	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field override
2023-10-13	13:14:08	2867	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:08	2867	[DEBUG]	Use field value for field slug
2023-10-13	13:14:08	2867	[DEBUG]	Process line 2867
2023-10-13	13:14:08	2867	[DEBUG]	Load a row
2023-10-13	13:14:08	2867	[DEBUG]	Processing item: 8435466291228
2023-10-13	13:14:08	2867	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:08	2867	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:08	2867	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3740_22'
2023-10-13	13:14:08	2867	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:08	2867	[DEBUG]	Processing product tax
2023-10-13	13:14:08	2867	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:08	2867	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:08	2867	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:08	2867	[DEBUG]	Query for Product
2023-10-13	13:14:08	2867	[DEBUG]	Executed store
2023-10-13	13:14:08	2867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862358','8435466291228','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:08	2867	[DEBUG]	No parent found
2023-10-13	13:14:08	2867	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862358 AND customfield_value = 'stockable'
2023-10-13	13:14:08	2867	[DEBUG]	Check product language entry
2023-10-13	13:14:08	2867	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862359
2023-10-13	13:14:08	2867	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:08	2867	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291228' AND `virtuemart_product_id` != 1862359
2023-10-13	13:14:08	2867	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:08	2867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862359, '8435466291228')
2023-10-13	13:14:08	2867	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:08	2867	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-bleu-unitaire' AND `virtuemart_product_id` != 1862359
2023-10-13	13:14:08	2867	[DEBUG]	Query for ProductLang
2023-10-13	13:14:08	2867	[DEBUG]	Executed store
2023-10-13	13:14:08	2867	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC EVA / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-bleu-unitaire' WHERE `virtuemart_product_id` = '1862359'
2023-10-13	13:14:08	2867	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20024_guidoline_msc_eva.jpg
2023-10-13	13:14:08	2867	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:08	2867	[DEBUG]	Process image file
2023-10-13	13:14:08	2867	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:08	2867	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:08	2867	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20024_guidoline_msc_eva.jpg
2023-10-13	13:14:08	2867	[DEBUG]	Full name target: bcprisme/20024_guidoline_msc_eva.jpg
2023-10-13	13:14:09	2867	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:09	2867	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20024_guidoline_msc_eva.jpg'
2023-10-13	13:14:09	2867	[DEBUG]	Query for Media
2023-10-13	13:14:09	2867	[DEBUG]	Executed store
2023-10-13	13:14:09	2867	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20024_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20024_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12987'
2023-10-13	13:14:09	2867	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:09	2867	[DEBUG]	Executed store
2023-10-13	13:14:09	2867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862359','12987','1')
2023-10-13	13:14:09	2867	[DEBUG]	Store product image relation
2023-10-13	13:14:09	2867	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:09	2867	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862359 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:09	2867	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:09	2867	[DEBUG]	Executed store
2023-10-13	13:14:09	2867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862359','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:09	2867	[DEBUG]	Checking manufacturer
2023-10-13	13:14:09	2867	[DEBUG]	Load a row
2023-10-13	13:14:09	2867	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:09	2867	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:09	2867	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:09	2867	[DEBUG]	Executed store
2023-10-13	13:14:09	2867	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:09	2867	[DEBUG]	Manufacturer exists
2023-10-13	13:14:09	2867	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:09	2867	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:09	2867	[DEBUG]	Executed store
2023-10-13	13:14:09	2867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862359','32')
2023-10-13	13:14:09	2867	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:09	2867	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:09	2867	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862359 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:09	2867	[DEBUG]	Store custom available field
2023-10-13	13:14:09	2867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862359,3,'',1)
2023-10-13	13:14:09	2867	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:09	2867	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:09	2867	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862359 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:09	2867	[DEBUG]	Store custom available field
2023-10-13	13:14:09	2867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862359,6,'Unitaire',3)
2023-10-13	13:14:09	2867	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:09	2867	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:09	2867	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862358
2023-10-13	13:14:09	2867	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:09	2867	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862358\":[1862358,8,1,\"choisir la taille\"],\"1862359\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862358
2023-10-13	13:14:09	2867	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:09	2867	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862359
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:09	2868	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field taille
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:09	2868	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:09	2868	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:09	2868	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:09	2868	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:09	2868	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:09	2868	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field published
2023-10-13	13:14:09	2868	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:09	2868	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field override
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:09	2868	[DEBUG]	Use field value for field slug
2023-10-13	13:14:09	2868	[DEBUG]	Process line 2868
2023-10-13	13:14:09	2868	[DEBUG]	Load a row
2023-10-13	13:14:09	2868	[DEBUG]	Processing item: A_3740_40
2023-10-13	13:14:09	2868	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:09	2868	[DEBUG]	Processing product tax
2023-10-13	13:14:09	2868	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:09	2868	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:09	2868	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:09	2868	[DEBUG]	Query for Product
2023-10-13	13:14:09	2868	[DEBUG]	Executed store
2023-10-13	13:14:09	2868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3740_40','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:09	2868	[DEBUG]	Check product language entry
2023-10-13	13:14:09	2868	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862360
2023-10-13	13:14:09	2868	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:09	2868	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3740_40' AND `virtuemart_product_id` != 1862360
2023-10-13	13:14:09	2868	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:09	2868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862360, 'A_3740_40')
2023-10-13	13:14:09	2868	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:09	2868	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-vert' AND `virtuemart_product_id` != 1862360
2023-10-13	13:14:09	2868	[DEBUG]	Query for ProductLang
2023-10-13	13:14:09	2868	[DEBUG]	Executed store
2023-10-13	13:14:09	2868	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC EVA<br>N° art fourn : CEVA',`product_name`='MSC Guidoline MSC EVA / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-vert' WHERE `virtuemart_product_id` = '1862360'
2023-10-13	13:14:09	2868	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20025_guidoline_msc_eva.jpg
2023-10-13	13:14:09	2868	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:09	2868	[DEBUG]	Process image file
2023-10-13	13:14:09	2868	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:09	2868	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:09	2868	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20025_guidoline_msc_eva.jpg
2023-10-13	13:14:09	2868	[DEBUG]	Full name target: bcprisme/20025_guidoline_msc_eva.jpg
2023-10-13	13:14:10	2868	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:10	2868	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20025_guidoline_msc_eva.jpg'
2023-10-13	13:14:10	2868	[DEBUG]	Query for Media
2023-10-13	13:14:10	2868	[DEBUG]	Executed store
2023-10-13	13:14:10	2868	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20025_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20025_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12988'
2023-10-13	13:14:10	2868	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:10	2868	[DEBUG]	Executed store
2023-10-13	13:14:10	2868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862360','12988','1')
2023-10-13	13:14:10	2868	[DEBUG]	Store product image relation
2023-10-13	13:14:10	2868	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:10	2868	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862360 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:10	2868	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:10	2868	[DEBUG]	Executed store
2023-10-13	13:14:10	2868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862360','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:10	2868	[DEBUG]	Checking manufacturer
2023-10-13	13:14:10	2868	[DEBUG]	Load a row
2023-10-13	13:14:10	2868	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:10	2868	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:10	2868	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:10	2868	[DEBUG]	Executed store
2023-10-13	13:14:10	2868	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:10	2868	[DEBUG]	Manufacturer exists
2023-10-13	13:14:10	2868	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:10	2868	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:10	2868	[DEBUG]	Executed store
2023-10-13	13:14:10	2868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862360','32')
2023-10-13	13:14:10	2868	[DEBUG]	Find the custom field ID
2023-10-13	13:14:10	2868	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:10	2868	[DEBUG]	No custom field ID found
2023-10-13	13:14:10	2868	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:10	2868	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:14:10	2868	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862360 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:10	2868	[DEBUG]	Store custom available field
2023-10-13	13:14:10	2868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862360,3,'8.87527777777778',1)
2023-10-13	13:14:10	2868	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:10	2868	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:10	2868	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862360 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:10	2868	[DEBUG]	Store custom available field
2023-10-13	13:14:10	2868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862360,6,'choisir la taille',3)
2023-10-13	13:14:10	2868	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:10	2868	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:10	2868	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:10	2868	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:10	2868	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862360 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:10	2868	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:10	2868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862360,8,1)
2023-10-13	13:14:10	2868	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:10	2868	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862360\":[1862360,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862360
2023-10-13	13:14:10	2868	[DEBUG]	Checking category
2023-10-13	13:14:10	2868	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:10	2868	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862360
2023-10-13	13:14:10	2868	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:10	2868	[DEBUG]	Executed store
2023-10-13	13:14:10	2868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862360','7359')
2023-10-13	13:14:10	2868	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:10	2868	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862360 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:10	2868	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:10	2868	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862360
2023-10-13	13:14:10	2869	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:10	2869	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:10	2869	[DEBUG]	Use field value for field taille
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:10	2869	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:10	2869	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:10	2869	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:10	2869	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:10	2869	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:10	2869	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:10	2869	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:10	2869	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:10	2869	[DEBUG]	Use field value for field published
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:10	2869	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field override
2023-10-13	13:14:10	2869	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:10	2869	[DEBUG]	Use field value for field slug
2023-10-13	13:14:10	2869	[DEBUG]	Process line 2869
2023-10-13	13:14:10	2869	[DEBUG]	Load a row
2023-10-13	13:14:10	2869	[DEBUG]	Processing item: 8435466291235
2023-10-13	13:14:10	2869	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:10	2869	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:10	2869	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3740_40'
2023-10-13	13:14:10	2869	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:10	2869	[DEBUG]	Processing product tax
2023-10-13	13:14:10	2869	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:10	2869	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:10	2869	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:10	2869	[DEBUG]	Query for Product
2023-10-13	13:14:10	2869	[DEBUG]	Executed store
2023-10-13	13:14:10	2869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862360','8435466291235','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:10	2869	[DEBUG]	No parent found
2023-10-13	13:14:10	2869	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862360 AND customfield_value = 'stockable'
2023-10-13	13:14:10	2869	[DEBUG]	Check product language entry
2023-10-13	13:14:10	2869	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862361
2023-10-13	13:14:10	2869	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:10	2869	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291235' AND `virtuemart_product_id` != 1862361
2023-10-13	13:14:10	2869	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:10	2869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862361, '8435466291235')
2023-10-13	13:14:10	2869	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:10	2869	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-vert-unitaire' AND `virtuemart_product_id` != 1862361
2023-10-13	13:14:10	2869	[DEBUG]	Query for ProductLang
2023-10-13	13:14:10	2869	[DEBUG]	Executed store
2023-10-13	13:14:10	2869	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC EVA / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-vert-unitaire' WHERE `virtuemart_product_id` = '1862361'
2023-10-13	13:14:10	2869	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20025_guidoline_msc_eva.jpg
2023-10-13	13:14:10	2869	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:10	2869	[DEBUG]	Process image file
2023-10-13	13:14:10	2869	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:10	2869	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:10	2869	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20025_guidoline_msc_eva.jpg
2023-10-13	13:14:10	2869	[DEBUG]	Full name target: bcprisme/20025_guidoline_msc_eva.jpg
2023-10-13	13:14:11	2869	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:11	2869	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20025_guidoline_msc_eva.jpg'
2023-10-13	13:14:11	2869	[DEBUG]	Query for Media
2023-10-13	13:14:11	2869	[DEBUG]	Executed store
2023-10-13	13:14:11	2869	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20025_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20025_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12988'
2023-10-13	13:14:11	2869	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:11	2869	[DEBUG]	Executed store
2023-10-13	13:14:11	2869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862361','12988','1')
2023-10-13	13:14:11	2869	[DEBUG]	Store product image relation
2023-10-13	13:14:11	2869	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:11	2869	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862361 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:11	2869	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:11	2869	[DEBUG]	Executed store
2023-10-13	13:14:11	2869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862361','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:11	2869	[DEBUG]	Checking manufacturer
2023-10-13	13:14:11	2869	[DEBUG]	Load a row
2023-10-13	13:14:11	2869	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:11	2869	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:11	2869	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:11	2869	[DEBUG]	Executed store
2023-10-13	13:14:11	2869	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:11	2869	[DEBUG]	Manufacturer exists
2023-10-13	13:14:11	2869	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:11	2869	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:11	2869	[DEBUG]	Executed store
2023-10-13	13:14:11	2869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862361','32')
2023-10-13	13:14:11	2869	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:11	2869	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:11	2869	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862361 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:11	2869	[DEBUG]	Store custom available field
2023-10-13	13:14:11	2869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862361,3,'',1)
2023-10-13	13:14:11	2869	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:11	2869	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:11	2869	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862361 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:11	2869	[DEBUG]	Store custom available field
2023-10-13	13:14:11	2869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862361,6,'Unitaire',3)
2023-10-13	13:14:11	2869	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:11	2869	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:11	2869	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862360
2023-10-13	13:14:11	2869	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:11	2869	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862360\":[1862360,8,1,\"choisir la taille\"],\"1862361\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862360
2023-10-13	13:14:11	2869	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:11	2869	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862361
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:11	2870	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field taille
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:11	2870	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:11	2870	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:11	2870	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:11	2870	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:11	2870	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:11	2870	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field published
2023-10-13	13:14:11	2870	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:11	2870	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field override
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:11	2870	[DEBUG]	Use field value for field slug
2023-10-13	13:14:11	2870	[DEBUG]	Process line 2870
2023-10-13	13:14:11	2870	[DEBUG]	Load a row
2023-10-13	13:14:11	2870	[DEBUG]	Processing item: A_3740_42
2023-10-13	13:14:11	2870	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:11	2870	[DEBUG]	Processing product tax
2023-10-13	13:14:11	2870	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:11	2870	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:11	2870	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:11	2870	[DEBUG]	Query for Product
2023-10-13	13:14:11	2870	[DEBUG]	Executed store
2023-10-13	13:14:11	2870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3740_42','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:11	2870	[DEBUG]	Check product language entry
2023-10-13	13:14:11	2870	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862362
2023-10-13	13:14:11	2870	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:11	2870	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3740_42' AND `virtuemart_product_id` != 1862362
2023-10-13	13:14:11	2870	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:11	2870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862362, 'A_3740_42')
2023-10-13	13:14:11	2870	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:11	2870	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-brun' AND `virtuemart_product_id` != 1862362
2023-10-13	13:14:11	2870	[DEBUG]	Query for ProductLang
2023-10-13	13:14:11	2870	[DEBUG]	Executed store
2023-10-13	13:14:11	2870	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC EVA<br>N° art fourn : CEVA',`product_name`='MSC Guidoline MSC EVA / Brun',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-brun' WHERE `virtuemart_product_id` = '1862362'
2023-10-13	13:14:11	2870	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20023_guidoline_msc_eva.jpg
2023-10-13	13:14:11	2870	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:11	2870	[DEBUG]	Process image file
2023-10-13	13:14:11	2870	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:11	2870	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:11	2870	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20023_guidoline_msc_eva.jpg
2023-10-13	13:14:11	2870	[DEBUG]	Full name target: bcprisme/20023_guidoline_msc_eva.jpg
2023-10-13	13:14:12	2870	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:12	2870	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20023_guidoline_msc_eva.jpg'
2023-10-13	13:14:12	2870	[DEBUG]	Query for Media
2023-10-13	13:14:12	2870	[DEBUG]	Executed store
2023-10-13	13:14:12	2870	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20023_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20023_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12989'
2023-10-13	13:14:12	2870	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:12	2870	[DEBUG]	Executed store
2023-10-13	13:14:12	2870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862362','12989','1')
2023-10-13	13:14:12	2870	[DEBUG]	Store product image relation
2023-10-13	13:14:12	2870	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:12	2870	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862362 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:12	2870	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:12	2870	[DEBUG]	Executed store
2023-10-13	13:14:12	2870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862362','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:12	2870	[DEBUG]	Checking manufacturer
2023-10-13	13:14:12	2870	[DEBUG]	Load a row
2023-10-13	13:14:12	2870	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:12	2870	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:12	2870	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:12	2870	[DEBUG]	Executed store
2023-10-13	13:14:12	2870	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:12	2870	[DEBUG]	Manufacturer exists
2023-10-13	13:14:12	2870	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:12	2870	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:12	2870	[DEBUG]	Executed store
2023-10-13	13:14:12	2870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862362','32')
2023-10-13	13:14:12	2870	[DEBUG]	Find the custom field ID
2023-10-13	13:14:12	2870	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:12	2870	[DEBUG]	No custom field ID found
2023-10-13	13:14:12	2870	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:12	2870	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:14:12	2870	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862362 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:12	2870	[DEBUG]	Store custom available field
2023-10-13	13:14:12	2870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862362,3,'8.87527777777778',1)
2023-10-13	13:14:12	2870	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:12	2870	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:12	2870	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862362 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:12	2870	[DEBUG]	Store custom available field
2023-10-13	13:14:12	2870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862362,6,'choisir la taille',3)
2023-10-13	13:14:12	2870	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:12	2870	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:12	2870	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:12	2870	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:12	2870	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862362 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:12	2870	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:12	2870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862362,8,1)
2023-10-13	13:14:12	2870	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:12	2870	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862362\":[1862362,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862362
2023-10-13	13:14:12	2870	[DEBUG]	Checking category
2023-10-13	13:14:12	2870	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:12	2870	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862362
2023-10-13	13:14:12	2870	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:12	2870	[DEBUG]	Executed store
2023-10-13	13:14:12	2870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862362','7359')
2023-10-13	13:14:12	2870	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:12	2870	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862362 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:12	2870	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:12	2870	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862362
2023-10-13	13:14:12	2871	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:12	2871	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:12	2871	[DEBUG]	Use field value for field taille
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:12	2871	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:12	2871	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:12	2871	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:12	2871	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:12	2871	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:12	2871	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:12	2871	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:12	2871	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:12	2871	[DEBUG]	Use field value for field published
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:12	2871	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field override
2023-10-13	13:14:12	2871	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:12	2871	[DEBUG]	Use field value for field slug
2023-10-13	13:14:12	2871	[DEBUG]	Process line 2871
2023-10-13	13:14:12	2871	[DEBUG]	Load a row
2023-10-13	13:14:12	2871	[DEBUG]	Processing item: 8435466291211
2023-10-13	13:14:12	2871	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:12	2871	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:12	2871	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3740_42'
2023-10-13	13:14:12	2871	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:12	2871	[DEBUG]	Processing product tax
2023-10-13	13:14:12	2871	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:12	2871	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:12	2871	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:12	2871	[DEBUG]	Query for Product
2023-10-13	13:14:12	2871	[DEBUG]	Executed store
2023-10-13	13:14:12	2871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862362','8435466291211','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:12	2871	[DEBUG]	No parent found
2023-10-13	13:14:12	2871	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862362 AND customfield_value = 'stockable'
2023-10-13	13:14:12	2871	[DEBUG]	Check product language entry
2023-10-13	13:14:12	2871	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862363
2023-10-13	13:14:12	2871	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:12	2871	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291211' AND `virtuemart_product_id` != 1862363
2023-10-13	13:14:12	2871	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:12	2871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862363, '8435466291211')
2023-10-13	13:14:12	2871	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:12	2871	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-brun-unitaire' AND `virtuemart_product_id` != 1862363
2023-10-13	13:14:12	2871	[DEBUG]	Query for ProductLang
2023-10-13	13:14:12	2871	[DEBUG]	Executed store
2023-10-13	13:14:12	2871	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC EVA / Brun (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-brun-unitaire' WHERE `virtuemart_product_id` = '1862363'
2023-10-13	13:14:12	2871	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20023_guidoline_msc_eva.jpg
2023-10-13	13:14:12	2871	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:12	2871	[DEBUG]	Process image file
2023-10-13	13:14:12	2871	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:12	2871	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:12	2871	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20023_guidoline_msc_eva.jpg
2023-10-13	13:14:12	2871	[DEBUG]	Full name target: bcprisme/20023_guidoline_msc_eva.jpg
2023-10-13	13:14:13	2871	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:13	2871	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20023_guidoline_msc_eva.jpg'
2023-10-13	13:14:13	2871	[DEBUG]	Query for Media
2023-10-13	13:14:13	2871	[DEBUG]	Executed store
2023-10-13	13:14:13	2871	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20023_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20023_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12989'
2023-10-13	13:14:13	2871	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:13	2871	[DEBUG]	Executed store
2023-10-13	13:14:13	2871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862363','12989','1')
2023-10-13	13:14:13	2871	[DEBUG]	Store product image relation
2023-10-13	13:14:13	2871	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:13	2871	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862363 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:13	2871	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:13	2871	[DEBUG]	Executed store
2023-10-13	13:14:13	2871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862363','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:13	2871	[DEBUG]	Checking manufacturer
2023-10-13	13:14:13	2871	[DEBUG]	Load a row
2023-10-13	13:14:13	2871	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:13	2871	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:13	2871	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:13	2871	[DEBUG]	Executed store
2023-10-13	13:14:13	2871	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:13	2871	[DEBUG]	Manufacturer exists
2023-10-13	13:14:13	2871	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:13	2871	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:13	2871	[DEBUG]	Executed store
2023-10-13	13:14:13	2871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862363','32')
2023-10-13	13:14:13	2871	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:13	2871	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:13	2871	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862363 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:13	2871	[DEBUG]	Store custom available field
2023-10-13	13:14:13	2871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862363,3,'',1)
2023-10-13	13:14:13	2871	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:13	2871	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:13	2871	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862363 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:13	2871	[DEBUG]	Store custom available field
2023-10-13	13:14:13	2871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862363,6,'Unitaire',3)
2023-10-13	13:14:13	2871	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:13	2871	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:13	2871	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862362
2023-10-13	13:14:13	2871	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:13	2871	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862362\":[1862362,8,1,\"choisir la taille\"],\"1862363\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862362
2023-10-13	13:14:13	2871	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:13	2871	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862363
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:13	2872	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field taille
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:13	2872	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:13	2872	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:13	2872	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:13	2872	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:13	2872	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:13	2872	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field published
2023-10-13	13:14:13	2872	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:13	2872	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field override
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:13	2872	[DEBUG]	Use field value for field slug
2023-10-13	13:14:13	2872	[DEBUG]	Process line 2872
2023-10-13	13:14:13	2872	[DEBUG]	Load a row
2023-10-13	13:14:13	2872	[DEBUG]	Processing item: A_3740_65
2023-10-13	13:14:13	2872	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:13	2872	[DEBUG]	Processing product tax
2023-10-13	13:14:13	2872	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:13	2872	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:13	2872	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:13	2872	[DEBUG]	Query for Product
2023-10-13	13:14:13	2872	[DEBUG]	Executed store
2023-10-13	13:14:13	2872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3740_65','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:13	2872	[DEBUG]	Check product language entry
2023-10-13	13:14:13	2872	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862364
2023-10-13	13:14:13	2872	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:13	2872	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3740_65' AND `virtuemart_product_id` != 1862364
2023-10-13	13:14:13	2872	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:13	2872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862364, 'A_3740_65')
2023-10-13	13:14:13	2872	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:13	2872	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-jaune' AND `virtuemart_product_id` != 1862364
2023-10-13	13:14:13	2872	[DEBUG]	Query for ProductLang
2023-10-13	13:14:13	2872	[DEBUG]	Executed store
2023-10-13	13:14:13	2872	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC EVA<br>N° art fourn : CEVA',`product_name`='MSC Guidoline MSC EVA / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-jaune' WHERE `virtuemart_product_id` = '1862364'
2023-10-13	13:14:13	2872	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20030_guidoline_msc_eva.jpg
2023-10-13	13:14:13	2872	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:13	2872	[DEBUG]	Process image file
2023-10-13	13:14:13	2872	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:13	2872	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:13	2872	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20030_guidoline_msc_eva.jpg
2023-10-13	13:14:13	2872	[DEBUG]	Full name target: bcprisme/20030_guidoline_msc_eva.jpg
2023-10-13	13:14:14	2872	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:14	2872	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20030_guidoline_msc_eva.jpg'
2023-10-13	13:14:14	2872	[DEBUG]	Query for Media
2023-10-13	13:14:14	2872	[DEBUG]	Executed store
2023-10-13	13:14:14	2872	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20030_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20030_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12990'
2023-10-13	13:14:14	2872	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:14	2872	[DEBUG]	Executed store
2023-10-13	13:14:14	2872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862364','12990','1')
2023-10-13	13:14:14	2872	[DEBUG]	Store product image relation
2023-10-13	13:14:14	2872	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:14	2872	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862364 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:14	2872	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:14	2872	[DEBUG]	Executed store
2023-10-13	13:14:14	2872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862364','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:14	2872	[DEBUG]	Checking manufacturer
2023-10-13	13:14:14	2872	[DEBUG]	Load a row
2023-10-13	13:14:14	2872	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:14	2872	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:14	2872	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:14	2872	[DEBUG]	Executed store
2023-10-13	13:14:14	2872	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:14	2872	[DEBUG]	Manufacturer exists
2023-10-13	13:14:14	2872	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:14	2872	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:14	2872	[DEBUG]	Executed store
2023-10-13	13:14:14	2872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862364','32')
2023-10-13	13:14:14	2872	[DEBUG]	Find the custom field ID
2023-10-13	13:14:14	2872	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:14	2872	[DEBUG]	No custom field ID found
2023-10-13	13:14:14	2872	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:14	2872	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:14:14	2872	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862364 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:14	2872	[DEBUG]	Store custom available field
2023-10-13	13:14:14	2872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862364,3,'8.87527777777778',1)
2023-10-13	13:14:14	2872	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:14	2872	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:14	2872	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862364 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:14	2872	[DEBUG]	Store custom available field
2023-10-13	13:14:14	2872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862364,6,'choisir la taille',3)
2023-10-13	13:14:14	2872	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:14	2872	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:14	2872	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:14	2872	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:14	2872	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862364 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:14	2872	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:14	2872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862364,8,1)
2023-10-13	13:14:14	2872	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:14	2872	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862364\":[1862364,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862364
2023-10-13	13:14:14	2872	[DEBUG]	Checking category
2023-10-13	13:14:14	2872	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:14	2872	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862364
2023-10-13	13:14:14	2872	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:14	2872	[DEBUG]	Executed store
2023-10-13	13:14:14	2872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862364','7359')
2023-10-13	13:14:14	2872	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:14	2872	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862364 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:14	2872	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:14	2872	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862364
2023-10-13	13:14:14	2873	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:14	2873	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:14	2873	[DEBUG]	Use field value for field taille
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:14	2873	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:14	2873	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:14	2873	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:14	2873	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:14	2873	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:14	2873	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:14	2873	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:14	2873	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:14	2873	[DEBUG]	Use field value for field published
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:14	2873	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field override
2023-10-13	13:14:14	2873	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:14	2873	[DEBUG]	Use field value for field slug
2023-10-13	13:14:14	2873	[DEBUG]	Process line 2873
2023-10-13	13:14:14	2873	[DEBUG]	Load a row
2023-10-13	13:14:14	2873	[DEBUG]	Processing item: 8435466291280
2023-10-13	13:14:14	2873	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:14	2873	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:14	2873	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3740_65'
2023-10-13	13:14:14	2873	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:14	2873	[DEBUG]	Processing product tax
2023-10-13	13:14:14	2873	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:14	2873	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:14	2873	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:14	2873	[DEBUG]	Query for Product
2023-10-13	13:14:14	2873	[DEBUG]	Executed store
2023-10-13	13:14:14	2873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862364','8435466291280','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:14	2873	[DEBUG]	No parent found
2023-10-13	13:14:14	2873	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862364 AND customfield_value = 'stockable'
2023-10-13	13:14:14	2873	[DEBUG]	Check product language entry
2023-10-13	13:14:14	2873	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862365
2023-10-13	13:14:14	2873	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:14	2873	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291280' AND `virtuemart_product_id` != 1862365
2023-10-13	13:14:14	2873	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:14	2873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862365, '8435466291280')
2023-10-13	13:14:14	2873	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:14	2873	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-jaune-unitaire' AND `virtuemart_product_id` != 1862365
2023-10-13	13:14:14	2873	[DEBUG]	Query for ProductLang
2023-10-13	13:14:14	2873	[DEBUG]	Executed store
2023-10-13	13:14:14	2873	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC EVA / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-jaune-unitaire' WHERE `virtuemart_product_id` = '1862365'
2023-10-13	13:14:14	2873	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20030_guidoline_msc_eva.jpg
2023-10-13	13:14:14	2873	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:14	2873	[DEBUG]	Process image file
2023-10-13	13:14:14	2873	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:14	2873	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:14	2873	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20030_guidoline_msc_eva.jpg
2023-10-13	13:14:14	2873	[DEBUG]	Full name target: bcprisme/20030_guidoline_msc_eva.jpg
2023-10-13	13:14:15	2873	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:15	2873	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20030_guidoline_msc_eva.jpg'
2023-10-13	13:14:15	2873	[DEBUG]	Query for Media
2023-10-13	13:14:15	2873	[DEBUG]	Executed store
2023-10-13	13:14:15	2873	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20030_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20030_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12990'
2023-10-13	13:14:15	2873	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:15	2873	[DEBUG]	Executed store
2023-10-13	13:14:15	2873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862365','12990','1')
2023-10-13	13:14:15	2873	[DEBUG]	Store product image relation
2023-10-13	13:14:15	2873	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:15	2873	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862365 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:15	2873	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:15	2873	[DEBUG]	Executed store
2023-10-13	13:14:15	2873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862365','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:15	2873	[DEBUG]	Checking manufacturer
2023-10-13	13:14:15	2873	[DEBUG]	Load a row
2023-10-13	13:14:15	2873	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:15	2873	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:15	2873	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:15	2873	[DEBUG]	Executed store
2023-10-13	13:14:15	2873	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:15	2873	[DEBUG]	Manufacturer exists
2023-10-13	13:14:15	2873	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:15	2873	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:15	2873	[DEBUG]	Executed store
2023-10-13	13:14:15	2873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862365','32')
2023-10-13	13:14:15	2873	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:15	2873	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:15	2873	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862365 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:15	2873	[DEBUG]	Store custom available field
2023-10-13	13:14:15	2873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862365,3,'',1)
2023-10-13	13:14:15	2873	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:15	2873	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:15	2873	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862365 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:15	2873	[DEBUG]	Store custom available field
2023-10-13	13:14:15	2873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862365,6,'Unitaire',3)
2023-10-13	13:14:15	2873	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:15	2873	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:15	2873	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862364
2023-10-13	13:14:15	2873	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:15	2873	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862364\":[1862364,8,1,\"choisir la taille\"],\"1862365\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862364
2023-10-13	13:14:15	2873	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:15	2873	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862365
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:15	2874	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field taille
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:15	2874	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:15	2874	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:15	2874	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:15	2874	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:15	2874	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:15	2874	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field published
2023-10-13	13:14:15	2874	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:15	2874	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field override
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:15	2874	[DEBUG]	Use field value for field slug
2023-10-13	13:14:15	2874	[DEBUG]	Process line 2874
2023-10-13	13:14:15	2874	[DEBUG]	Load a row
2023-10-13	13:14:15	2874	[DEBUG]	Processing item: A_3740_108
2023-10-13	13:14:15	2874	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:15	2874	[DEBUG]	Processing product tax
2023-10-13	13:14:15	2874	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:15	2874	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:15	2874	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:15	2874	[DEBUG]	Query for Product
2023-10-13	13:14:15	2874	[DEBUG]	Executed store
2023-10-13	13:14:15	2874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3740_108','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:15	2874	[DEBUG]	Check product language entry
2023-10-13	13:14:15	2874	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862366
2023-10-13	13:14:15	2874	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:15	2874	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3740_108' AND `virtuemart_product_id` != 1862366
2023-10-13	13:14:15	2874	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:15	2874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862366, 'A_3740_108')
2023-10-13	13:14:15	2874	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:15	2874	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-noir' AND `virtuemart_product_id` != 1862366
2023-10-13	13:14:15	2874	[DEBUG]	Query for ProductLang
2023-10-13	13:14:15	2874	[DEBUG]	Executed store
2023-10-13	13:14:15	2874	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC EVA<br>N° art fourn : CEVA',`product_name`='MSC Guidoline MSC EVA / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-noir' WHERE `virtuemart_product_id` = '1862366'
2023-10-13	13:14:15	2874	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20021_guidoline_msc_eva.jpg
2023-10-13	13:14:15	2874	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:15	2874	[DEBUG]	Process image file
2023-10-13	13:14:15	2874	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:15	2874	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:15	2874	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20021_guidoline_msc_eva.jpg
2023-10-13	13:14:15	2874	[DEBUG]	Full name target: bcprisme/20021_guidoline_msc_eva.jpg
2023-10-13	13:14:16	2874	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:16	2874	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20021_guidoline_msc_eva.jpg'
2023-10-13	13:14:16	2874	[DEBUG]	Query for Media
2023-10-13	13:14:16	2874	[DEBUG]	Executed store
2023-10-13	13:14:16	2874	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20021_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20021_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12991'
2023-10-13	13:14:16	2874	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:16	2874	[DEBUG]	Executed store
2023-10-13	13:14:16	2874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862366','12991','1')
2023-10-13	13:14:16	2874	[DEBUG]	Store product image relation
2023-10-13	13:14:16	2874	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:16	2874	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862366 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:16	2874	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:16	2874	[DEBUG]	Executed store
2023-10-13	13:14:16	2874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862366','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:16	2874	[DEBUG]	Checking manufacturer
2023-10-13	13:14:16	2874	[DEBUG]	Load a row
2023-10-13	13:14:16	2874	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:16	2874	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:16	2874	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:16	2874	[DEBUG]	Executed store
2023-10-13	13:14:16	2874	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:16	2874	[DEBUG]	Manufacturer exists
2023-10-13	13:14:16	2874	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:16	2874	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:16	2874	[DEBUG]	Executed store
2023-10-13	13:14:16	2874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862366','32')
2023-10-13	13:14:16	2874	[DEBUG]	Find the custom field ID
2023-10-13	13:14:16	2874	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:16	2874	[DEBUG]	No custom field ID found
2023-10-13	13:14:16	2874	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:16	2874	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:14:16	2874	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862366 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:16	2874	[DEBUG]	Store custom available field
2023-10-13	13:14:16	2874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862366,3,'8.87527777777778',1)
2023-10-13	13:14:16	2874	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:16	2874	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:16	2874	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862366 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:16	2874	[DEBUG]	Store custom available field
2023-10-13	13:14:16	2874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862366,6,'choisir la taille',3)
2023-10-13	13:14:16	2874	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:16	2874	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:16	2874	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:16	2874	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:16	2874	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862366 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:16	2874	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:16	2874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862366,8,1)
2023-10-13	13:14:16	2874	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:16	2874	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862366\":[1862366,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862366
2023-10-13	13:14:16	2874	[DEBUG]	Checking category
2023-10-13	13:14:16	2874	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:16	2874	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862366
2023-10-13	13:14:16	2874	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:16	2874	[DEBUG]	Executed store
2023-10-13	13:14:16	2874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862366','7359')
2023-10-13	13:14:16	2874	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:16	2874	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862366 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:16	2874	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:16	2874	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862366
2023-10-13	13:14:16	2875	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:16	2875	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:16	2875	[DEBUG]	Use field value for field taille
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:16	2875	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:16	2875	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:16	2875	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:16	2875	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:16	2875	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:16	2875	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:16	2875	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:16	2875	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:16	2875	[DEBUG]	Use field value for field published
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:16	2875	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field override
2023-10-13	13:14:16	2875	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:16	2875	[DEBUG]	Use field value for field slug
2023-10-13	13:14:16	2875	[DEBUG]	Process line 2875
2023-10-13	13:14:16	2875	[DEBUG]	Load a row
2023-10-13	13:14:16	2875	[DEBUG]	Processing item: 8435466291204
2023-10-13	13:14:16	2875	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:16	2875	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:16	2875	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3740_108'
2023-10-13	13:14:16	2875	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:16	2875	[DEBUG]	Processing product tax
2023-10-13	13:14:16	2875	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:16	2875	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:16	2875	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:16	2875	[DEBUG]	Query for Product
2023-10-13	13:14:16	2875	[DEBUG]	Executed store
2023-10-13	13:14:16	2875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862366','8435466291204','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:16	2875	[DEBUG]	No parent found
2023-10-13	13:14:16	2875	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862366 AND customfield_value = 'stockable'
2023-10-13	13:14:16	2875	[DEBUG]	Check product language entry
2023-10-13	13:14:16	2875	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862367
2023-10-13	13:14:16	2875	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:16	2875	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291204' AND `virtuemart_product_id` != 1862367
2023-10-13	13:14:16	2875	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:16	2875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862367, '8435466291204')
2023-10-13	13:14:16	2875	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:16	2875	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-noir-unitaire' AND `virtuemart_product_id` != 1862367
2023-10-13	13:14:16	2875	[DEBUG]	Query for ProductLang
2023-10-13	13:14:16	2875	[DEBUG]	Executed store
2023-10-13	13:14:16	2875	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC EVA / Noir  (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-noir-unitaire' WHERE `virtuemart_product_id` = '1862367'
2023-10-13	13:14:16	2875	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20021_guidoline_msc_eva.jpg
2023-10-13	13:14:16	2875	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:16	2875	[DEBUG]	Process image file
2023-10-13	13:14:16	2875	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:16	2875	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:16	2875	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20021_guidoline_msc_eva.jpg
2023-10-13	13:14:16	2875	[DEBUG]	Full name target: bcprisme/20021_guidoline_msc_eva.jpg
2023-10-13	13:14:17	2875	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:17	2875	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20021_guidoline_msc_eva.jpg'
2023-10-13	13:14:17	2875	[DEBUG]	Query for Media
2023-10-13	13:14:17	2875	[DEBUG]	Executed store
2023-10-13	13:14:17	2875	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20021_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20021_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12991'
2023-10-13	13:14:17	2875	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:17	2875	[DEBUG]	Executed store
2023-10-13	13:14:17	2875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862367','12991','1')
2023-10-13	13:14:17	2875	[DEBUG]	Store product image relation
2023-10-13	13:14:17	2875	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:17	2875	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862367 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:17	2875	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:17	2875	[DEBUG]	Executed store
2023-10-13	13:14:17	2875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862367','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:17	2875	[DEBUG]	Checking manufacturer
2023-10-13	13:14:17	2875	[DEBUG]	Load a row
2023-10-13	13:14:17	2875	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:17	2875	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:17	2875	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:17	2875	[DEBUG]	Executed store
2023-10-13	13:14:17	2875	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:17	2875	[DEBUG]	Manufacturer exists
2023-10-13	13:14:17	2875	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:17	2875	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:17	2875	[DEBUG]	Executed store
2023-10-13	13:14:17	2875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862367','32')
2023-10-13	13:14:17	2875	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:17	2875	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:17	2875	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862367 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:17	2875	[DEBUG]	Store custom available field
2023-10-13	13:14:17	2875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862367,3,'',1)
2023-10-13	13:14:17	2875	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:17	2875	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:17	2875	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862367 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:17	2875	[DEBUG]	Store custom available field
2023-10-13	13:14:17	2875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862367,6,'Unitaire',3)
2023-10-13	13:14:17	2875	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:17	2875	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:17	2875	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862366
2023-10-13	13:14:17	2875	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:17	2875	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862366\":[1862366,8,1,\"choisir la taille\"],\"1862367\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862366
2023-10-13	13:14:17	2875	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:17	2875	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862367
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:17	2876	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field taille
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:17	2876	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:17	2876	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:17	2876	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:17	2876	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:17	2876	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:17	2876	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field published
2023-10-13	13:14:17	2876	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:17	2876	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field override
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:17	2876	[DEBUG]	Use field value for field slug
2023-10-13	13:14:17	2876	[DEBUG]	Process line 2876
2023-10-13	13:14:17	2876	[DEBUG]	Load a row
2023-10-13	13:14:17	2876	[DEBUG]	Processing item: A_3740_150
2023-10-13	13:14:17	2876	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:17	2876	[DEBUG]	Processing product tax
2023-10-13	13:14:17	2876	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:17	2876	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:17	2876	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:17	2876	[DEBUG]	Query for Product
2023-10-13	13:14:17	2876	[DEBUG]	Executed store
2023-10-13	13:14:17	2876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3740_150','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:17	2876	[DEBUG]	Check product language entry
2023-10-13	13:14:17	2876	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862368
2023-10-13	13:14:17	2876	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:17	2876	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3740_150' AND `virtuemart_product_id` != 1862368
2023-10-13	13:14:17	2876	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:17	2876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862368, 'A_3740_150')
2023-10-13	13:14:17	2876	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:17	2876	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-rose' AND `virtuemart_product_id` != 1862368
2023-10-13	13:14:17	2876	[DEBUG]	Query for ProductLang
2023-10-13	13:14:17	2876	[DEBUG]	Executed store
2023-10-13	13:14:17	2876	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC EVA<br>N° art fourn : CEVA',`product_name`='MSC Guidoline MSC EVA / Rose',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-rose' WHERE `virtuemart_product_id` = '1862368'
2023-10-13	13:14:17	2876	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20027_guidoline_msc_eva.jpg
2023-10-13	13:14:17	2876	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:17	2876	[DEBUG]	Process image file
2023-10-13	13:14:17	2876	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:17	2876	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:17	2876	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20027_guidoline_msc_eva.jpg
2023-10-13	13:14:17	2876	[DEBUG]	Full name target: bcprisme/20027_guidoline_msc_eva.jpg
2023-10-13	13:14:18	2876	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:18	2876	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20027_guidoline_msc_eva.jpg'
2023-10-13	13:14:18	2876	[DEBUG]	Query for Media
2023-10-13	13:14:18	2876	[DEBUG]	Executed store
2023-10-13	13:14:18	2876	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20027_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20027_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12992'
2023-10-13	13:14:18	2876	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:18	2876	[DEBUG]	Executed store
2023-10-13	13:14:18	2876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862368','12992','1')
2023-10-13	13:14:18	2876	[DEBUG]	Store product image relation
2023-10-13	13:14:18	2876	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:18	2876	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862368 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:18	2876	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:18	2876	[DEBUG]	Executed store
2023-10-13	13:14:18	2876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862368','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:18	2876	[DEBUG]	Checking manufacturer
2023-10-13	13:14:18	2876	[DEBUG]	Load a row
2023-10-13	13:14:18	2876	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:18	2876	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:18	2876	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:18	2876	[DEBUG]	Executed store
2023-10-13	13:14:18	2876	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:18	2876	[DEBUG]	Manufacturer exists
2023-10-13	13:14:18	2876	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:18	2876	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:18	2876	[DEBUG]	Executed store
2023-10-13	13:14:18	2876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862368','32')
2023-10-13	13:14:18	2876	[DEBUG]	Find the custom field ID
2023-10-13	13:14:18	2876	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:18	2876	[DEBUG]	No custom field ID found
2023-10-13	13:14:18	2876	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:18	2876	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:14:18	2876	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862368 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:18	2876	[DEBUG]	Store custom available field
2023-10-13	13:14:18	2876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862368,3,'8.87527777777778',1)
2023-10-13	13:14:18	2876	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:18	2876	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:18	2876	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862368 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:18	2876	[DEBUG]	Store custom available field
2023-10-13	13:14:18	2876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862368,6,'choisir la taille',3)
2023-10-13	13:14:18	2876	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:18	2876	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:18	2876	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:18	2876	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:18	2876	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862368 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:18	2876	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:18	2876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862368,8,1)
2023-10-13	13:14:18	2876	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:18	2876	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862368\":[1862368,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862368
2023-10-13	13:14:18	2876	[DEBUG]	Checking category
2023-10-13	13:14:18	2876	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:18	2876	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862368
2023-10-13	13:14:18	2876	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:18	2876	[DEBUG]	Executed store
2023-10-13	13:14:18	2876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862368','7359')
2023-10-13	13:14:18	2876	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:18	2876	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862368 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:18	2876	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:18	2876	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862368
2023-10-13	13:14:18	2877	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:18	2877	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:18	2877	[DEBUG]	Use field value for field taille
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:18	2877	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:18	2877	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:18	2877	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:18	2877	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:18	2877	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:18	2877	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:18	2877	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:18	2877	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:18	2877	[DEBUG]	Use field value for field published
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:18	2877	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field override
2023-10-13	13:14:18	2877	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:18	2877	[DEBUG]	Use field value for field slug
2023-10-13	13:14:18	2877	[DEBUG]	Process line 2877
2023-10-13	13:14:18	2877	[DEBUG]	Load a row
2023-10-13	13:14:18	2877	[DEBUG]	Processing item: 8435466291259
2023-10-13	13:14:18	2877	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:18	2877	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:18	2877	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3740_150'
2023-10-13	13:14:18	2877	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:18	2877	[DEBUG]	Processing product tax
2023-10-13	13:14:18	2877	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:18	2877	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:18	2877	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:18	2877	[DEBUG]	Query for Product
2023-10-13	13:14:18	2877	[DEBUG]	Executed store
2023-10-13	13:14:18	2877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862368','8435466291259','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:18	2877	[DEBUG]	No parent found
2023-10-13	13:14:18	2877	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862368 AND customfield_value = 'stockable'
2023-10-13	13:14:18	2877	[DEBUG]	Check product language entry
2023-10-13	13:14:18	2877	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862369
2023-10-13	13:14:18	2877	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:18	2877	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291259' AND `virtuemart_product_id` != 1862369
2023-10-13	13:14:18	2877	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:18	2877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862369, '8435466291259')
2023-10-13	13:14:18	2877	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:18	2877	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-rose-unitaire' AND `virtuemart_product_id` != 1862369
2023-10-13	13:14:18	2877	[DEBUG]	Query for ProductLang
2023-10-13	13:14:18	2877	[DEBUG]	Executed store
2023-10-13	13:14:18	2877	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC EVA / Rose (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-rose-unitaire' WHERE `virtuemart_product_id` = '1862369'
2023-10-13	13:14:18	2877	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20027_guidoline_msc_eva.jpg
2023-10-13	13:14:18	2877	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:18	2877	[DEBUG]	Process image file
2023-10-13	13:14:18	2877	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:18	2877	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:18	2877	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20027_guidoline_msc_eva.jpg
2023-10-13	13:14:18	2877	[DEBUG]	Full name target: bcprisme/20027_guidoline_msc_eva.jpg
2023-10-13	13:14:19	2877	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:19	2877	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20027_guidoline_msc_eva.jpg'
2023-10-13	13:14:19	2877	[DEBUG]	Query for Media
2023-10-13	13:14:19	2877	[DEBUG]	Executed store
2023-10-13	13:14:19	2877	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20027_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20027_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12992'
2023-10-13	13:14:19	2877	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:19	2877	[DEBUG]	Executed store
2023-10-13	13:14:19	2877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862369','12992','1')
2023-10-13	13:14:19	2877	[DEBUG]	Store product image relation
2023-10-13	13:14:19	2877	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:19	2877	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862369 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:19	2877	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:19	2877	[DEBUG]	Executed store
2023-10-13	13:14:19	2877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862369','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:19	2877	[DEBUG]	Checking manufacturer
2023-10-13	13:14:19	2877	[DEBUG]	Load a row
2023-10-13	13:14:19	2877	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:19	2877	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:19	2877	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:19	2877	[DEBUG]	Executed store
2023-10-13	13:14:19	2877	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:19	2877	[DEBUG]	Manufacturer exists
2023-10-13	13:14:19	2877	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:19	2877	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:19	2877	[DEBUG]	Executed store
2023-10-13	13:14:19	2877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862369','32')
2023-10-13	13:14:19	2877	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:19	2877	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:19	2877	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862369 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:19	2877	[DEBUG]	Store custom available field
2023-10-13	13:14:19	2877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862369,3,'',1)
2023-10-13	13:14:19	2877	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:19	2877	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:19	2877	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862369 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:19	2877	[DEBUG]	Store custom available field
2023-10-13	13:14:19	2877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862369,6,'Unitaire',3)
2023-10-13	13:14:19	2877	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:19	2877	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:19	2877	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862368
2023-10-13	13:14:19	2877	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:19	2877	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862368\":[1862368,8,1,\"choisir la taille\"],\"1862369\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862368
2023-10-13	13:14:19	2877	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:19	2877	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862369
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:19	2878	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field taille
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:19	2878	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:19	2878	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:19	2878	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:19	2878	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:19	2878	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:19	2878	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field published
2023-10-13	13:14:19	2878	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:19	2878	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field override
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:19	2878	[DEBUG]	Use field value for field slug
2023-10-13	13:14:19	2878	[DEBUG]	Process line 2878
2023-10-13	13:14:19	2878	[DEBUG]	Load a row
2023-10-13	13:14:19	2878	[DEBUG]	Processing item: A_3740_163
2023-10-13	13:14:19	2878	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:19	2878	[DEBUG]	Processing product tax
2023-10-13	13:14:19	2878	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:19	2878	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:19	2878	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:19	2878	[DEBUG]	Query for Product
2023-10-13	13:14:19	2878	[DEBUG]	Executed store
2023-10-13	13:14:19	2878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3740_163','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:19	2878	[DEBUG]	Check product language entry
2023-10-13	13:14:19	2878	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862370
2023-10-13	13:14:19	2878	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:19	2878	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3740_163' AND `virtuemart_product_id` != 1862370
2023-10-13	13:14:19	2878	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:19	2878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862370, 'A_3740_163')
2023-10-13	13:14:19	2878	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:19	2878	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-bleu-clair' AND `virtuemart_product_id` != 1862370
2023-10-13	13:14:19	2878	[DEBUG]	Query for ProductLang
2023-10-13	13:14:19	2878	[DEBUG]	Executed store
2023-10-13	13:14:19	2878	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC EVA<br>N° art fourn : CEVA',`product_name`='MSC Guidoline MSC EVA / Bleu-Clair',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-bleu-clair' WHERE `virtuemart_product_id` = '1862370'
2023-10-13	13:14:19	2878	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20026_guidoline_msc_eva.jpg
2023-10-13	13:14:19	2878	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:19	2878	[DEBUG]	Process image file
2023-10-13	13:14:19	2878	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:19	2878	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:19	2878	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20026_guidoline_msc_eva.jpg
2023-10-13	13:14:19	2878	[DEBUG]	Full name target: bcprisme/20026_guidoline_msc_eva.jpg
2023-10-13	13:14:20	2878	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:20	2878	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20026_guidoline_msc_eva.jpg'
2023-10-13	13:14:20	2878	[DEBUG]	Query for Media
2023-10-13	13:14:20	2878	[DEBUG]	Executed store
2023-10-13	13:14:20	2878	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20026_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20026_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12993'
2023-10-13	13:14:20	2878	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:20	2878	[DEBUG]	Executed store
2023-10-13	13:14:20	2878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862370','12993','1')
2023-10-13	13:14:20	2878	[DEBUG]	Store product image relation
2023-10-13	13:14:20	2878	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:20	2878	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862370 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:20	2878	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:20	2878	[DEBUG]	Executed store
2023-10-13	13:14:20	2878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862370','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:20	2878	[DEBUG]	Checking manufacturer
2023-10-13	13:14:20	2878	[DEBUG]	Load a row
2023-10-13	13:14:20	2878	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:20	2878	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:20	2878	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:20	2878	[DEBUG]	Executed store
2023-10-13	13:14:20	2878	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:20	2878	[DEBUG]	Manufacturer exists
2023-10-13	13:14:20	2878	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:20	2878	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:20	2878	[DEBUG]	Executed store
2023-10-13	13:14:20	2878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862370','32')
2023-10-13	13:14:20	2878	[DEBUG]	Find the custom field ID
2023-10-13	13:14:20	2878	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:20	2878	[DEBUG]	No custom field ID found
2023-10-13	13:14:20	2878	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:20	2878	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:14:20	2878	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862370 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:20	2878	[DEBUG]	Store custom available field
2023-10-13	13:14:20	2878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862370,3,'8.87527777777778',1)
2023-10-13	13:14:20	2878	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:20	2878	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:20	2878	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862370 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:20	2878	[DEBUG]	Store custom available field
2023-10-13	13:14:20	2878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862370,6,'choisir la taille',3)
2023-10-13	13:14:20	2878	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:20	2878	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:20	2878	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:20	2878	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:20	2878	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862370 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:20	2878	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:20	2878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862370,8,1)
2023-10-13	13:14:20	2878	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:20	2878	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862370\":[1862370,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862370
2023-10-13	13:14:20	2878	[DEBUG]	Checking category
2023-10-13	13:14:20	2878	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:20	2878	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862370
2023-10-13	13:14:20	2878	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:20	2878	[DEBUG]	Executed store
2023-10-13	13:14:20	2878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862370','7359')
2023-10-13	13:14:20	2878	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:20	2878	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862370 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:20	2878	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:20	2878	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862370
2023-10-13	13:14:20	2879	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:20	2879	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:20	2879	[DEBUG]	Use field value for field taille
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:20	2879	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:20	2879	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:20	2879	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:20	2879	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:20	2879	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:20	2879	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:20	2879	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:20	2879	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:20	2879	[DEBUG]	Use field value for field published
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:20	2879	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field override
2023-10-13	13:14:20	2879	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:20	2879	[DEBUG]	Use field value for field slug
2023-10-13	13:14:20	2879	[DEBUG]	Process line 2879
2023-10-13	13:14:20	2879	[DEBUG]	Load a row
2023-10-13	13:14:20	2879	[DEBUG]	Processing item: 8435466291242
2023-10-13	13:14:20	2879	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:20	2879	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:20	2879	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3740_163'
2023-10-13	13:14:20	2879	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:20	2879	[DEBUG]	Processing product tax
2023-10-13	13:14:20	2879	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:20	2879	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:20	2879	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:20	2879	[DEBUG]	Query for Product
2023-10-13	13:14:20	2879	[DEBUG]	Executed store
2023-10-13	13:14:20	2879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862370','8435466291242','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:20	2879	[DEBUG]	No parent found
2023-10-13	13:14:20	2879	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862370 AND customfield_value = 'stockable'
2023-10-13	13:14:20	2879	[DEBUG]	Check product language entry
2023-10-13	13:14:20	2879	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862371
2023-10-13	13:14:20	2879	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:20	2879	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291242' AND `virtuemart_product_id` != 1862371
2023-10-13	13:14:20	2879	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:20	2879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862371, '8435466291242')
2023-10-13	13:14:20	2879	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:20	2879	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-eva-bleu-clair-unitaire' AND `virtuemart_product_id` != 1862371
2023-10-13	13:14:20	2879	[DEBUG]	Query for ProductLang
2023-10-13	13:14:20	2879	[DEBUG]	Executed store
2023-10-13	13:14:20	2879	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC EVA / Bleu-Clair (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-eva-bleu-clair-unitaire' WHERE `virtuemart_product_id` = '1862371'
2023-10-13	13:14:20	2879	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20026_guidoline_msc_eva.jpg
2023-10-13	13:14:20	2879	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:20	2879	[DEBUG]	Process image file
2023-10-13	13:14:20	2879	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:20	2879	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:20	2879	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20026_guidoline_msc_eva.jpg
2023-10-13	13:14:20	2879	[DEBUG]	Full name target: bcprisme/20026_guidoline_msc_eva.jpg
2023-10-13	13:14:21	2879	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:21	2879	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20026_guidoline_msc_eva.jpg'
2023-10-13	13:14:21	2879	[DEBUG]	Query for Media
2023-10-13	13:14:21	2879	[DEBUG]	Executed store
2023-10-13	13:14:21	2879	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20026_guidoline_msc_eva.jpg',`file_url_thumb`='bcprisme/20026_guidoline_msc_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12993'
2023-10-13	13:14:21	2879	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:21	2879	[DEBUG]	Executed store
2023-10-13	13:14:21	2879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862371','12993','1')
2023-10-13	13:14:21	2879	[DEBUG]	Store product image relation
2023-10-13	13:14:21	2879	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:21	2879	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862371 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:21	2879	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:21	2879	[DEBUG]	Executed store
2023-10-13	13:14:21	2879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862371','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:21	2879	[DEBUG]	Checking manufacturer
2023-10-13	13:14:21	2879	[DEBUG]	Load a row
2023-10-13	13:14:21	2879	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:21	2879	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:22	2879	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:22	2879	[DEBUG]	Executed store
2023-10-13	13:14:22	2879	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:22	2879	[DEBUG]	Manufacturer exists
2023-10-13	13:14:22	2879	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:22	2879	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:22	2879	[DEBUG]	Executed store
2023-10-13	13:14:22	2879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862371','32')
2023-10-13	13:14:22	2879	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:22	2879	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:22	2879	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862371 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:22	2879	[DEBUG]	Store custom available field
2023-10-13	13:14:22	2879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862371,3,'',1)
2023-10-13	13:14:22	2879	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:22	2879	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:22	2879	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862371 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:22	2879	[DEBUG]	Store custom available field
2023-10-13	13:14:22	2879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862371,6,'Unitaire',3)
2023-10-13	13:14:22	2879	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:22	2879	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:22	2879	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862370
2023-10-13	13:14:22	2879	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:22	2879	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862370\":[1862370,8,1,\"choisir la taille\"],\"1862371\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862370
2023-10-13	13:14:22	2879	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:22	2879	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862371
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:22	2880	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field taille
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:22	2880	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:22	2880	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:22	2880	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:22	2880	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:22	2880	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:22	2880	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field published
2023-10-13	13:14:22	2880	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:22	2880	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field override
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:22	2880	[DEBUG]	Use field value for field slug
2023-10-13	13:14:22	2880	[DEBUG]	Process line 2880
2023-10-13	13:14:22	2880	[DEBUG]	Load a row
2023-10-13	13:14:22	2880	[DEBUG]	Processing item: A_3851_1
2023-10-13	13:14:22	2880	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:22	2880	[DEBUG]	Processing product tax
2023-10-13	13:14:22	2880	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:22	2880	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:22	2880	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:22	2880	[DEBUG]	Query for Product
2023-10-13	13:14:22	2880	[DEBUG]	Executed store
2023-10-13	13:14:22	2880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3851_1','0.08','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:22	2880	[DEBUG]	Check product language entry
2023-10-13	13:14:22	2880	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862372
2023-10-13	13:14:22	2880	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:22	2880	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3851_1' AND `virtuemart_product_id` != 1862372
2023-10-13	13:14:22	2880	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:22	2880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862372, 'A_3851_1')
2023-10-13	13:14:22	2880	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:22	2880	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-noire-haut-de-gamme-noir' AND `virtuemart_product_id` != 1862372
2023-10-13	13:14:22	2880	[DEBUG]	Query for ProductLang
2023-10-13	13:14:22	2880	[DEBUG]	Executed store
2023-10-13	13:14:22	2880	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CBLACK1',`product_name`='MSC Guidoline MSC noire haut de gamme / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-noire-haut-de-gamme-noir' WHERE `virtuemart_product_id` = '1862372'
2023-10-13	13:14:22	2880	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20266_guidoline_msc_noire_haut_de_gamme.jpg
2023-10-13	13:14:22	2880	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:22	2880	[DEBUG]	Process image file
2023-10-13	13:14:22	2880	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:22	2880	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:22	2880	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20266_guidoline_msc_noire_haut_de_gamme.jpg
2023-10-13	13:14:22	2880	[DEBUG]	Full name target: bcprisme/20266_guidoline_msc_noire_haut_de_gamme.jpg
2023-10-13	13:14:23	2880	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:23	2880	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20266_guidoline_msc_noire_haut_de_gamme.jpg'
2023-10-13	13:14:23	2880	[DEBUG]	Query for Media
2023-10-13	13:14:23	2880	[DEBUG]	Executed store
2023-10-13	13:14:23	2880	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20266_guidoline_msc_noire_haut_de_gamme.jpg',`file_url_thumb`='bcprisme/20266_guidoline_msc_noire_haut_de_gamme.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12994'
2023-10-13	13:14:23	2880	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:23	2880	[DEBUG]	Executed store
2023-10-13	13:14:23	2880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862372','12994','1')
2023-10-13	13:14:23	2880	[DEBUG]	Store product image relation
2023-10-13	13:14:23	2880	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:23	2880	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862372 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:23	2880	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:23	2880	[DEBUG]	Executed store
2023-10-13	13:14:23	2880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862372','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:23	2880	[DEBUG]	Checking manufacturer
2023-10-13	13:14:23	2880	[DEBUG]	Load a row
2023-10-13	13:14:23	2880	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:23	2880	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:23	2880	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:23	2880	[DEBUG]	Executed store
2023-10-13	13:14:23	2880	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:23	2880	[DEBUG]	Manufacturer exists
2023-10-13	13:14:23	2880	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:23	2880	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:23	2880	[DEBUG]	Executed store
2023-10-13	13:14:23	2880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862372','32')
2023-10-13	13:14:23	2880	[DEBUG]	Find the custom field ID
2023-10-13	13:14:23	2880	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:23	2880	[DEBUG]	No custom field ID found
2023-10-13	13:14:23	2880	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:23	2880	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:14:23	2880	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862372 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:23	2880	[DEBUG]	Store custom available field
2023-10-13	13:14:23	2880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862372,3,'14.8586111111111',1)
2023-10-13	13:14:23	2880	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:23	2880	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:23	2880	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862372 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:23	2880	[DEBUG]	Store custom available field
2023-10-13	13:14:23	2880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862372,6,'choisir la taille',3)
2023-10-13	13:14:23	2880	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:23	2880	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:23	2880	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:23	2880	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:23	2880	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862372 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:23	2880	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:23	2880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862372,8,1)
2023-10-13	13:14:23	2880	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:23	2880	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862372\":[1862372,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862372
2023-10-13	13:14:23	2880	[DEBUG]	Checking category
2023-10-13	13:14:23	2880	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:23	2880	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862372
2023-10-13	13:14:23	2880	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:23	2880	[DEBUG]	Executed store
2023-10-13	13:14:23	2880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862372','7359')
2023-10-13	13:14:23	2880	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:23	2880	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862372 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:23	2880	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:23	2880	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862372
2023-10-13	13:14:23	2881	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:23	2881	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:23	2881	[DEBUG]	Use field value for field taille
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:23	2881	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:23	2881	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:23	2881	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:23	2881	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:23	2881	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:23	2881	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:23	2881	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:23	2881	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:23	2881	[DEBUG]	Use field value for field published
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:23	2881	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field override
2023-10-13	13:14:23	2881	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:23	2881	[DEBUG]	Use field value for field slug
2023-10-13	13:14:23	2881	[DEBUG]	Process line 2881
2023-10-13	13:14:23	2881	[DEBUG]	Load a row
2023-10-13	13:14:23	2881	[DEBUG]	Processing item: 8435466291488
2023-10-13	13:14:23	2881	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:23	2881	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:23	2881	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3851_1'
2023-10-13	13:14:23	2881	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:23	2881	[DEBUG]	Processing product tax
2023-10-13	13:14:23	2881	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:23	2881	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:23	2881	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:23	2881	[DEBUG]	Query for Product
2023-10-13	13:14:23	2881	[DEBUG]	Executed store
2023-10-13	13:14:23	2881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862372','8435466291488','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:23	2881	[DEBUG]	No parent found
2023-10-13	13:14:23	2881	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862372 AND customfield_value = 'stockable'
2023-10-13	13:14:23	2881	[DEBUG]	Check product language entry
2023-10-13	13:14:23	2881	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862373
2023-10-13	13:14:23	2881	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:23	2881	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291488' AND `virtuemart_product_id` != 1862373
2023-10-13	13:14:23	2881	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:23	2881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862373, '8435466291488')
2023-10-13	13:14:23	2881	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:23	2881	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-noire-haut-de-gamme-noir-unitaire' AND `virtuemart_product_id` != 1862373
2023-10-13	13:14:23	2881	[DEBUG]	Query for ProductLang
2023-10-13	13:14:23	2881	[DEBUG]	Executed store
2023-10-13	13:14:23	2881	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC noire haut de gamme / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-noire-haut-de-gamme-noir-unitaire' WHERE `virtuemart_product_id` = '1862373'
2023-10-13	13:14:23	2881	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20266_guidoline_msc_noire_haut_de_gamme.jpg
2023-10-13	13:14:23	2881	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:23	2881	[DEBUG]	Process image file
2023-10-13	13:14:23	2881	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:23	2881	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:23	2881	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20266_guidoline_msc_noire_haut_de_gamme.jpg
2023-10-13	13:14:23	2881	[DEBUG]	Full name target: bcprisme/20266_guidoline_msc_noire_haut_de_gamme.jpg
2023-10-13	13:14:24	2881	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:24	2881	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20266_guidoline_msc_noire_haut_de_gamme.jpg'
2023-10-13	13:14:24	2881	[DEBUG]	Query for Media
2023-10-13	13:14:24	2881	[DEBUG]	Executed store
2023-10-13	13:14:24	2881	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20266_guidoline_msc_noire_haut_de_gamme.jpg',`file_url_thumb`='bcprisme/20266_guidoline_msc_noire_haut_de_gamme.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12994'
2023-10-13	13:14:24	2881	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:24	2881	[DEBUG]	Executed store
2023-10-13	13:14:24	2881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862373','12994','1')
2023-10-13	13:14:24	2881	[DEBUG]	Store product image relation
2023-10-13	13:14:24	2881	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:24	2881	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862373 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:24	2881	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:24	2881	[DEBUG]	Executed store
2023-10-13	13:14:24	2881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862373','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:24	2881	[DEBUG]	Checking manufacturer
2023-10-13	13:14:24	2881	[DEBUG]	Load a row
2023-10-13	13:14:24	2881	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:24	2881	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:24	2881	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:24	2881	[DEBUG]	Executed store
2023-10-13	13:14:24	2881	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:24	2881	[DEBUG]	Manufacturer exists
2023-10-13	13:14:24	2881	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:24	2881	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:24	2881	[DEBUG]	Executed store
2023-10-13	13:14:24	2881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862373','32')
2023-10-13	13:14:24	2881	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:24	2881	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:24	2881	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862373 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:24	2881	[DEBUG]	Store custom available field
2023-10-13	13:14:24	2881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862373,3,'',1)
2023-10-13	13:14:24	2881	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:24	2881	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:24	2881	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862373 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:24	2881	[DEBUG]	Store custom available field
2023-10-13	13:14:24	2881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862373,6,'Unitaire',3)
2023-10-13	13:14:24	2881	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:24	2881	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:24	2881	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862372
2023-10-13	13:14:24	2881	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:24	2881	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862372\":[1862372,8,1,\"choisir la taille\"],\"1862373\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862372
2023-10-13	13:14:24	2881	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:24	2881	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862373
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:24	2882	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field taille
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:24	2882	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:24	2882	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:24	2882	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:24	2882	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:24	2882	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:24	2882	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field published
2023-10-13	13:14:24	2882	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:24	2882	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field override
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:24	2882	[DEBUG]	Use field value for field slug
2023-10-13	13:14:24	2882	[DEBUG]	Process line 2882
2023-10-13	13:14:24	2882	[DEBUG]	Load a row
2023-10-13	13:14:24	2882	[DEBUG]	Processing item: A_3851_166
2023-10-13	13:14:24	2882	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:24	2882	[DEBUG]	Processing product tax
2023-10-13	13:14:24	2882	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:24	2882	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:24	2882	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:24	2882	[DEBUG]	Query for Product
2023-10-13	13:14:24	2882	[DEBUG]	Executed store
2023-10-13	13:14:24	2882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3851_166','0.08','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:24	2882	[DEBUG]	Check product language entry
2023-10-13	13:14:24	2882	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862374
2023-10-13	13:14:24	2882	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:24	2882	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3851_166' AND `virtuemart_product_id` != 1862374
2023-10-13	13:14:24	2882	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:24	2882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862374, 'A_3851_166')
2023-10-13	13:14:24	2882	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:24	2882	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-noire-haut-de-gamme-noir-mouchete' AND `virtuemart_product_id` != 1862374
2023-10-13	13:14:24	2882	[DEBUG]	Query for ProductLang
2023-10-13	13:14:24	2882	[DEBUG]	Executed store
2023-10-13	13:14:24	2882	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CBLACK1',`product_name`='MSC Guidoline MSC noire haut de gamme / Noir-moucheté',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-noire-haut-de-gamme-noir-mouchete' WHERE `virtuemart_product_id` = '1862374'
2023-10-13	13:14:24	2882	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20267_guidoline_msc_noire_haut_de_gamme.jpg
2023-10-13	13:14:24	2882	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:24	2882	[DEBUG]	Process image file
2023-10-13	13:14:24	2882	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:24	2882	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:24	2882	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20267_guidoline_msc_noire_haut_de_gamme.jpg
2023-10-13	13:14:24	2882	[DEBUG]	Full name target: bcprisme/20267_guidoline_msc_noire_haut_de_gamme.jpg
2023-10-13	13:14:25	2882	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:25	2882	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20267_guidoline_msc_noire_haut_de_gamme.jpg'
2023-10-13	13:14:25	2882	[DEBUG]	Query for Media
2023-10-13	13:14:25	2882	[DEBUG]	Executed store
2023-10-13	13:14:25	2882	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20267_guidoline_msc_noire_haut_de_gamme.jpg',`file_url_thumb`='bcprisme/20267_guidoline_msc_noire_haut_de_gamme.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12995'
2023-10-13	13:14:25	2882	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:25	2882	[DEBUG]	Executed store
2023-10-13	13:14:25	2882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862374','12995','1')
2023-10-13	13:14:25	2882	[DEBUG]	Store product image relation
2023-10-13	13:14:25	2882	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:25	2882	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862374 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:25	2882	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:25	2882	[DEBUG]	Executed store
2023-10-13	13:14:25	2882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862374','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:25	2882	[DEBUG]	Checking manufacturer
2023-10-13	13:14:25	2882	[DEBUG]	Load a row
2023-10-13	13:14:25	2882	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:25	2882	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:25	2882	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:25	2882	[DEBUG]	Executed store
2023-10-13	13:14:25	2882	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:25	2882	[DEBUG]	Manufacturer exists
2023-10-13	13:14:25	2882	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:25	2882	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:25	2882	[DEBUG]	Executed store
2023-10-13	13:14:25	2882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862374','32')
2023-10-13	13:14:25	2882	[DEBUG]	Find the custom field ID
2023-10-13	13:14:25	2882	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:25	2882	[DEBUG]	No custom field ID found
2023-10-13	13:14:25	2882	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:25	2882	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:14:25	2882	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862374 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:25	2882	[DEBUG]	Store custom available field
2023-10-13	13:14:25	2882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862374,3,'14.8586111111111',1)
2023-10-13	13:14:25	2882	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:25	2882	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:25	2882	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862374 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:25	2882	[DEBUG]	Store custom available field
2023-10-13	13:14:25	2882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862374,6,'choisir la taille',3)
2023-10-13	13:14:25	2882	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:25	2882	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:25	2882	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:25	2882	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:25	2882	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862374 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:25	2882	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:25	2882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862374,8,1)
2023-10-13	13:14:25	2882	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:25	2882	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862374\":[1862374,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862374
2023-10-13	13:14:25	2882	[DEBUG]	Checking category
2023-10-13	13:14:25	2882	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:25	2882	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862374
2023-10-13	13:14:25	2882	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:25	2882	[DEBUG]	Executed store
2023-10-13	13:14:25	2882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862374','7359')
2023-10-13	13:14:25	2882	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:25	2882	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862374 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:25	2882	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:25	2882	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862374
2023-10-13	13:14:25	2883	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:25	2883	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:25	2883	[DEBUG]	Use field value for field taille
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:25	2883	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:25	2883	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:25	2883	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:25	2883	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:25	2883	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:25	2883	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:25	2883	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:25	2883	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:25	2883	[DEBUG]	Use field value for field published
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:25	2883	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field override
2023-10-13	13:14:25	2883	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:25	2883	[DEBUG]	Use field value for field slug
2023-10-13	13:14:25	2883	[DEBUG]	Process line 2883
2023-10-13	13:14:25	2883	[DEBUG]	Load a row
2023-10-13	13:14:25	2883	[DEBUG]	Processing item: 8435466291495
2023-10-13	13:14:25	2883	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:25	2883	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:25	2883	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3851_166'
2023-10-13	13:14:25	2883	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:25	2883	[DEBUG]	Processing product tax
2023-10-13	13:14:25	2883	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:25	2883	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:25	2883	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:25	2883	[DEBUG]	Query for Product
2023-10-13	13:14:25	2883	[DEBUG]	Executed store
2023-10-13	13:14:25	2883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862374','8435466291495','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:25	2883	[DEBUG]	No parent found
2023-10-13	13:14:25	2883	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862374 AND customfield_value = 'stockable'
2023-10-13	13:14:25	2883	[DEBUG]	Check product language entry
2023-10-13	13:14:25	2883	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862375
2023-10-13	13:14:25	2883	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:25	2883	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291495' AND `virtuemart_product_id` != 1862375
2023-10-13	13:14:25	2883	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:25	2883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862375, '8435466291495')
2023-10-13	13:14:25	2883	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:25	2883	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-noire-haut-de-gamme-noir-mouchete-unitaire' AND `virtuemart_product_id` != 1862375
2023-10-13	13:14:25	2883	[DEBUG]	Query for ProductLang
2023-10-13	13:14:25	2883	[DEBUG]	Executed store
2023-10-13	13:14:25	2883	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC noire haut de gamme / Noir-moucheté (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-noire-haut-de-gamme-noir-mouchete-unitaire' WHERE `virtuemart_product_id` = '1862375'
2023-10-13	13:14:25	2883	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20267_guidoline_msc_noire_haut_de_gamme.jpg
2023-10-13	13:14:25	2883	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:25	2883	[DEBUG]	Process image file
2023-10-13	13:14:25	2883	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:25	2883	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:25	2883	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20267_guidoline_msc_noire_haut_de_gamme.jpg
2023-10-13	13:14:25	2883	[DEBUG]	Full name target: bcprisme/20267_guidoline_msc_noire_haut_de_gamme.jpg
2023-10-13	13:14:26	2883	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:26	2883	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20267_guidoline_msc_noire_haut_de_gamme.jpg'
2023-10-13	13:14:26	2883	[DEBUG]	Query for Media
2023-10-13	13:14:26	2883	[DEBUG]	Executed store
2023-10-13	13:14:26	2883	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20267_guidoline_msc_noire_haut_de_gamme.jpg',`file_url_thumb`='bcprisme/20267_guidoline_msc_noire_haut_de_gamme.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12995'
2023-10-13	13:14:26	2883	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:26	2883	[DEBUG]	Executed store
2023-10-13	13:14:26	2883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862375','12995','1')
2023-10-13	13:14:26	2883	[DEBUG]	Store product image relation
2023-10-13	13:14:26	2883	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:26	2883	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862375 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:26	2883	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:26	2883	[DEBUG]	Executed store
2023-10-13	13:14:26	2883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862375','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:26	2883	[DEBUG]	Checking manufacturer
2023-10-13	13:14:26	2883	[DEBUG]	Load a row
2023-10-13	13:14:26	2883	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:26	2883	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:26	2883	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:26	2883	[DEBUG]	Executed store
2023-10-13	13:14:26	2883	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:26	2883	[DEBUG]	Manufacturer exists
2023-10-13	13:14:26	2883	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:26	2883	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:26	2883	[DEBUG]	Executed store
2023-10-13	13:14:26	2883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862375','32')
2023-10-13	13:14:26	2883	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:26	2883	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:26	2883	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862375 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:26	2883	[DEBUG]	Store custom available field
2023-10-13	13:14:26	2883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862375,3,'',1)
2023-10-13	13:14:26	2883	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:26	2883	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:26	2883	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862375 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:26	2883	[DEBUG]	Store custom available field
2023-10-13	13:14:26	2883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862375,6,'Unitaire',3)
2023-10-13	13:14:26	2883	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:26	2883	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:26	2883	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862374
2023-10-13	13:14:26	2883	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:26	2883	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862374\":[1862374,8,1,\"choisir la taille\"],\"1862375\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862374
2023-10-13	13:14:26	2883	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:26	2883	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862375
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:26	2884	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field taille
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:26	2884	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:26	2884	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:26	2884	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:26	2884	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:26	2884	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:26	2884	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field published
2023-10-13	13:14:26	2884	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:26	2884	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field override
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:26	2884	[DEBUG]	Use field value for field slug
2023-10-13	13:14:26	2884	[DEBUG]	Process line 2884
2023-10-13	13:14:26	2884	[DEBUG]	Load a row
2023-10-13	13:14:26	2884	[DEBUG]	Processing item: A_4365_1
2023-10-13	13:14:26	2884	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:26	2884	[DEBUG]	Processing product tax
2023-10-13	13:14:26	2884	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:26	2884	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:26	2884	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:26	2884	[DEBUG]	Query for Product
2023-10-13	13:14:26	2884	[DEBUG]	Executed store
2023-10-13	13:14:26	2884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4365_1','0.06','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:26	2884	[DEBUG]	Check product language entry
2023-10-13	13:14:26	2884	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862376
2023-10-13	13:14:26	2884	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:26	2884	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4365_1' AND `virtuemart_product_id` != 1862376
2023-10-13	13:14:26	2884	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:26	2884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862376, 'A_4365_1')
2023-10-13	13:14:26	2884	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:26	2884	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-adapteur-de-guidon-pour-smartphone-universel-noir' AND `virtuemart_product_id` != 1862376
2023-10-13	13:14:26	2884	[DEBUG]	Query for ProductLang
2023-10-13	13:14:26	2884	[DEBUG]	Executed store
2023-10-13	13:14:26	2884	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Boitier iPhone vélo. Écran tactile imperméable<br>N° art fourn : 611648',`product_name`='<Null> Adapteur de guidon pour SMARTPHONE universel / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-adapteur-de-guidon-pour-smartphone-universel-noir' WHERE `virtuemart_product_id` = '1862376'
2023-10-13	13:14:26	2884	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26811_adapteur_de_guidon_pour_smartphone_universel.jpg
2023-10-13	13:14:26	2884	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:26	2884	[DEBUG]	Process image file
2023-10-13	13:14:26	2884	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:26	2884	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:26	2884	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26811_adapteur_de_guidon_pour_smartphone_universel.jpg
2023-10-13	13:14:26	2884	[DEBUG]	Full name target: bcprisme/26811_adapteur_de_guidon_pour_smartphone_universel.jpg
2023-10-13	13:14:27	2884	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:27	2884	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26811_adapteur_de_guidon_pour_smartphone_universel.jpg'
2023-10-13	13:14:27	2884	[DEBUG]	Query for Media
2023-10-13	13:14:27	2884	[DEBUG]	Executed store
2023-10-13	13:14:27	2884	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26811_adapteur_de_guidon_pour_smartphone_universel.jpg',`file_url_thumb`='bcprisme/26811_adapteur_de_guidon_pour_smartphone_universel.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12996'
2023-10-13	13:14:27	2884	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:27	2884	[DEBUG]	Executed store
2023-10-13	13:14:27	2884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862376','12996','1')
2023-10-13	13:14:27	2884	[DEBUG]	Store product image relation
2023-10-13	13:14:27	2884	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:27	2884	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862376 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:27	2884	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:27	2884	[DEBUG]	Executed store
2023-10-13	13:14:27	2884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862376','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:27	2884	[DEBUG]	Checking manufacturer
2023-10-13	13:14:27	2884	[DEBUG]	Manufacturer exists
2023-10-13	13:14:27	2884	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	13:14:27	2884	[DEBUG]	Load a row
2023-10-13	13:14:27	2884	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:27	2884	[DEBUG]	Executed store
2023-10-13	13:14:27	2884	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:14:27	2884	[DEBUG]	Manufacturer exists
2023-10-13	13:14:27	2884	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:14:27	2884	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:27	2884	[DEBUG]	Executed store
2023-10-13	13:14:27	2884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862376','20')
2023-10-13	13:14:27	2884	[DEBUG]	Find the custom field ID
2023-10-13	13:14:27	2884	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:27	2884	[DEBUG]	No custom field ID found
2023-10-13	13:14:27	2884	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:27	2884	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:14:27	2884	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862376 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:27	2884	[DEBUG]	Store custom available field
2023-10-13	13:14:27	2884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862376,3,'19.8447222222222',1)
2023-10-13	13:14:27	2884	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:27	2884	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:27	2884	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862376 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:27	2884	[DEBUG]	Store custom available field
2023-10-13	13:14:27	2884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862376,6,'choisir la taille',3)
2023-10-13	13:14:27	2884	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:27	2884	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:27	2884	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:27	2884	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:27	2884	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862376 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:27	2884	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:27	2884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862376,8,1)
2023-10-13	13:14:27	2884	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:27	2884	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862376\":[1862376,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862376
2023-10-13	13:14:27	2884	[DEBUG]	Checking category
2023-10-13	13:14:27	2884	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:27	2884	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862376
2023-10-13	13:14:27	2884	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:27	2884	[DEBUG]	Executed store
2023-10-13	13:14:27	2884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862376','7359')
2023-10-13	13:14:27	2884	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:27	2884	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862376 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:27	2884	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:27	2884	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862376
2023-10-13	13:14:27	2885	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:27	2885	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:27	2885	[DEBUG]	Use field value for field taille
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:27	2885	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:27	2885	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:27	2885	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:27	2885	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:27	2885	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:27	2885	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:27	2885	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:27	2885	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:27	2885	[DEBUG]	Use field value for field published
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:27	2885	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field override
2023-10-13	13:14:27	2885	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:27	2885	[DEBUG]	Use field value for field slug
2023-10-13	13:14:27	2885	[DEBUG]	Process line 2885
2023-10-13	13:14:27	2885	[DEBUG]	Load a row
2023-10-13	13:14:27	2885	[DEBUG]	Processing item: 8435466297169
2023-10-13	13:14:27	2885	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:27	2885	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:27	2885	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4365_1'
2023-10-13	13:14:27	2885	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:27	2885	[DEBUG]	Processing product tax
2023-10-13	13:14:27	2885	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:27	2885	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:27	2885	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:27	2885	[DEBUG]	Query for Product
2023-10-13	13:14:27	2885	[DEBUG]	Executed store
2023-10-13	13:14:27	2885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862376','8435466297169','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:27	2885	[DEBUG]	No parent found
2023-10-13	13:14:27	2885	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862376 AND customfield_value = 'stockable'
2023-10-13	13:14:27	2885	[DEBUG]	Check product language entry
2023-10-13	13:14:27	2885	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862377
2023-10-13	13:14:27	2885	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:27	2885	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297169' AND `virtuemart_product_id` != 1862377
2023-10-13	13:14:27	2885	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:27	2885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862377, '8435466297169')
2023-10-13	13:14:27	2885	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:27	2885	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-adapteur-de-guidon-pour-smartphone-universel-noir-unitaire' AND `virtuemart_product_id` != 1862377
2023-10-13	13:14:27	2885	[DEBUG]	Query for ProductLang
2023-10-13	13:14:27	2885	[DEBUG]	Executed store
2023-10-13	13:14:27	2885	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='<Null> Adapteur de guidon pour SMARTPHONE universel / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-adapteur-de-guidon-pour-smartphone-universel-noir-unitaire' WHERE `virtuemart_product_id` = '1862377'
2023-10-13	13:14:27	2885	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26811_adapteur_de_guidon_pour_smartphone_universel.jpg
2023-10-13	13:14:27	2885	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:27	2885	[DEBUG]	Process image file
2023-10-13	13:14:27	2885	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:27	2885	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:27	2885	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26811_adapteur_de_guidon_pour_smartphone_universel.jpg
2023-10-13	13:14:27	2885	[DEBUG]	Full name target: bcprisme/26811_adapteur_de_guidon_pour_smartphone_universel.jpg
2023-10-13	13:14:28	2885	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:28	2885	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26811_adapteur_de_guidon_pour_smartphone_universel.jpg'
2023-10-13	13:14:28	2885	[DEBUG]	Query for Media
2023-10-13	13:14:28	2885	[DEBUG]	Executed store
2023-10-13	13:14:28	2885	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26811_adapteur_de_guidon_pour_smartphone_universel.jpg',`file_url_thumb`='bcprisme/26811_adapteur_de_guidon_pour_smartphone_universel.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12996'
2023-10-13	13:14:28	2885	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:28	2885	[DEBUG]	Executed store
2023-10-13	13:14:28	2885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862377','12996','1')
2023-10-13	13:14:28	2885	[DEBUG]	Store product image relation
2023-10-13	13:14:28	2885	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:28	2885	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862377 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:28	2885	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:28	2885	[DEBUG]	Executed store
2023-10-13	13:14:28	2885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862377','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:28	2885	[DEBUG]	Checking manufacturer
2023-10-13	13:14:28	2885	[DEBUG]	Manufacturer exists
2023-10-13	13:14:28	2885	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	13:14:28	2885	[DEBUG]	Load a row
2023-10-13	13:14:28	2885	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:28	2885	[DEBUG]	Executed store
2023-10-13	13:14:28	2885	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:14:28	2885	[DEBUG]	Manufacturer exists
2023-10-13	13:14:28	2885	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:14:28	2885	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:28	2885	[DEBUG]	Executed store
2023-10-13	13:14:28	2885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862377','20')
2023-10-13	13:14:28	2885	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:28	2885	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:28	2885	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862377 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:28	2885	[DEBUG]	Store custom available field
2023-10-13	13:14:28	2885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862377,3,'',1)
2023-10-13	13:14:28	2885	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:28	2885	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:28	2885	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862377 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:28	2885	[DEBUG]	Store custom available field
2023-10-13	13:14:28	2885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862377,6,'Unitaire',3)
2023-10-13	13:14:28	2885	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:28	2885	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:28	2885	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862376
2023-10-13	13:14:28	2885	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:28	2885	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862376\":[1862376,8,1,\"choisir la taille\"],\"1862377\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862376
2023-10-13	13:14:28	2885	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:28	2885	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862377
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:28	2886	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field taille
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:28	2886	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:28	2886	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:28	2886	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:28	2886	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:28	2886	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:28	2886	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field published
2023-10-13	13:14:28	2886	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:28	2886	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field override
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:28	2886	[DEBUG]	Use field value for field slug
2023-10-13	13:14:28	2886	[DEBUG]	Process line 2886
2023-10-13	13:14:28	2886	[DEBUG]	Load a row
2023-10-13	13:14:28	2886	[DEBUG]	Processing item: A_4425_7
2023-10-13	13:14:28	2886	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:28	2886	[DEBUG]	Processing product tax
2023-10-13	13:14:28	2886	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:28	2886	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:28	2886	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:28	2886	[DEBUG]	Query for Product
2023-10-13	13:14:28	2886	[DEBUG]	Executed store
2023-10-13	13:14:28	2886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4425_7','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:28	2886	[DEBUG]	Check product language entry
2023-10-13	13:14:28	2886	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862378
2023-10-13	13:14:28	2886	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:28	2886	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4425_7' AND `virtuemart_product_id` != 1862378
2023-10-13	13:14:28	2886	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:28	2886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862378, 'A_4425_7')
2023-10-13	13:14:28	2886	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:28	2886	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-leather-punch-eva-polyhuretane-rouge' AND `virtuemart_product_id` != 1862378
2023-10-13	13:14:28	2886	[DEBUG]	Query for ProductLang
2023-10-13	13:14:28	2886	[DEBUG]	Executed store
2023-10-13	13:14:28	2886	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='52 g - Fait de cuir, polyuréthane et eva - Autoadhésif - Texture avec effet en nid d\'abeille, facile à nettoyer et avec une bonne prise en main - Longueur 30x2000m...<br><br>N° art fourn : CLP',`product_name`='MSC Guidoline MSC LEATHER PUNCH EVA-POLYHURETANE / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-leather-punch-eva-polyhuretane-rouge' WHERE `virtuemart_product_id` = '1862378'
2023-10-13	13:14:28	2886	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27076_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:28	2886	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:28	2886	[DEBUG]	Process image file
2023-10-13	13:14:28	2886	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:28	2886	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:28	2886	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27076_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:28	2886	[DEBUG]	Full name target: bcprisme/27076_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:29	2886	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:29	2886	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27076_guidoline_msc_leather_punch_eva-polyhuretane.jpg'
2023-10-13	13:14:29	2886	[DEBUG]	Query for Media
2023-10-13	13:14:29	2886	[DEBUG]	Executed store
2023-10-13	13:14:29	2886	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27076_guidoline_msc_leather_punch_eva-polyhuretane.jpg',`file_url_thumb`='bcprisme/27076_guidoline_msc_leather_punch_eva-polyhuretane.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12997'
2023-10-13	13:14:29	2886	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:29	2886	[DEBUG]	Executed store
2023-10-13	13:14:29	2886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862378','12997','1')
2023-10-13	13:14:29	2886	[DEBUG]	Store product image relation
2023-10-13	13:14:29	2886	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:29	2886	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862378 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:29	2886	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:29	2886	[DEBUG]	Executed store
2023-10-13	13:14:29	2886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862378','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:29	2886	[DEBUG]	Checking manufacturer
2023-10-13	13:14:29	2886	[DEBUG]	Load a row
2023-10-13	13:14:29	2886	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:29	2886	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:29	2886	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:29	2886	[DEBUG]	Executed store
2023-10-13	13:14:29	2886	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:29	2886	[DEBUG]	Manufacturer exists
2023-10-13	13:14:29	2886	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:29	2886	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:29	2886	[DEBUG]	Executed store
2023-10-13	13:14:29	2886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862378','32')
2023-10-13	13:14:29	2886	[DEBUG]	Find the custom field ID
2023-10-13	13:14:29	2886	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:29	2886	[DEBUG]	No custom field ID found
2023-10-13	13:14:29	2886	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:29	2886	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:14:29	2886	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862378 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:29	2886	[DEBUG]	Store custom available field
2023-10-13	13:14:29	2886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862378,3,'19.8447222222222',1)
2023-10-13	13:14:29	2886	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:29	2886	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:29	2886	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862378 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:29	2886	[DEBUG]	Store custom available field
2023-10-13	13:14:29	2886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862378,6,'choisir la taille',3)
2023-10-13	13:14:29	2886	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:29	2886	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:29	2886	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:29	2886	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:29	2886	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862378 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:29	2886	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:29	2886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862378,8,1)
2023-10-13	13:14:29	2886	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:29	2886	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862378\":[1862378,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862378
2023-10-13	13:14:29	2886	[DEBUG]	Checking category
2023-10-13	13:14:29	2886	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:29	2886	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862378
2023-10-13	13:14:29	2886	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:29	2886	[DEBUG]	Executed store
2023-10-13	13:14:29	2886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862378','7359')
2023-10-13	13:14:29	2886	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:29	2886	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862378 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:29	2886	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:29	2886	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862378
2023-10-13	13:14:29	2887	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:29	2887	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:29	2887	[DEBUG]	Use field value for field taille
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:29	2887	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:29	2887	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:29	2887	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:29	2887	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:29	2887	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:29	2887	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:29	2887	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:29	2887	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:29	2887	[DEBUG]	Use field value for field published
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:29	2887	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field override
2023-10-13	13:14:29	2887	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:29	2887	[DEBUG]	Use field value for field slug
2023-10-13	13:14:29	2887	[DEBUG]	Process line 2887
2023-10-13	13:14:29	2887	[DEBUG]	Load a row
2023-10-13	13:14:29	2887	[DEBUG]	Processing item: 1000000068122
2023-10-13	13:14:29	2887	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:29	2887	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:29	2887	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4425_7'
2023-10-13	13:14:29	2887	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:29	2887	[DEBUG]	Processing product tax
2023-10-13	13:14:29	2887	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:29	2887	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:29	2887	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:29	2887	[DEBUG]	Query for Product
2023-10-13	13:14:29	2887	[DEBUG]	Executed store
2023-10-13	13:14:29	2887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862378','1000000068122','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:29	2887	[DEBUG]	No parent found
2023-10-13	13:14:29	2887	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862378 AND customfield_value = 'stockable'
2023-10-13	13:14:29	2887	[DEBUG]	Check product language entry
2023-10-13	13:14:29	2887	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862379
2023-10-13	13:14:29	2887	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:29	2887	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000068122' AND `virtuemart_product_id` != 1862379
2023-10-13	13:14:29	2887	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:29	2887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862379, '1000000068122')
2023-10-13	13:14:29	2887	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:29	2887	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-leather-punch-eva-polyhuretane-rouge-unitaire' AND `virtuemart_product_id` != 1862379
2023-10-13	13:14:29	2887	[DEBUG]	Query for ProductLang
2023-10-13	13:14:29	2887	[DEBUG]	Executed store
2023-10-13	13:14:29	2887	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC LEATHER PUNCH EVA-POLYHURETANE / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-leather-punch-eva-polyhuretane-rouge-unitaire' WHERE `virtuemart_product_id` = '1862379'
2023-10-13	13:14:29	2887	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27076_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:29	2887	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:29	2887	[DEBUG]	Process image file
2023-10-13	13:14:29	2887	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:29	2887	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:29	2887	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27076_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:29	2887	[DEBUG]	Full name target: bcprisme/27076_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:30	2887	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:30	2887	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27076_guidoline_msc_leather_punch_eva-polyhuretane.jpg'
2023-10-13	13:14:30	2887	[DEBUG]	Query for Media
2023-10-13	13:14:30	2887	[DEBUG]	Executed store
2023-10-13	13:14:30	2887	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27076_guidoline_msc_leather_punch_eva-polyhuretane.jpg',`file_url_thumb`='bcprisme/27076_guidoline_msc_leather_punch_eva-polyhuretane.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12997'
2023-10-13	13:14:30	2887	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:30	2887	[DEBUG]	Executed store
2023-10-13	13:14:30	2887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862379','12997','1')
2023-10-13	13:14:30	2887	[DEBUG]	Store product image relation
2023-10-13	13:14:30	2887	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:30	2887	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862379 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:30	2887	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:30	2887	[DEBUG]	Executed store
2023-10-13	13:14:30	2887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862379','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:30	2887	[DEBUG]	Checking manufacturer
2023-10-13	13:14:30	2887	[DEBUG]	Load a row
2023-10-13	13:14:30	2887	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:30	2887	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:30	2887	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:30	2887	[DEBUG]	Executed store
2023-10-13	13:14:30	2887	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:30	2887	[DEBUG]	Manufacturer exists
2023-10-13	13:14:30	2887	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:30	2887	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:30	2887	[DEBUG]	Executed store
2023-10-13	13:14:30	2887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862379','32')
2023-10-13	13:14:30	2887	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:30	2887	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:30	2887	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862379 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:30	2887	[DEBUG]	Store custom available field
2023-10-13	13:14:30	2887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862379,3,'',1)
2023-10-13	13:14:30	2887	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:30	2887	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:30	2887	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862379 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:30	2887	[DEBUG]	Store custom available field
2023-10-13	13:14:30	2887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862379,6,'Unitaire',3)
2023-10-13	13:14:30	2887	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:30	2887	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:30	2887	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862378
2023-10-13	13:14:30	2887	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:30	2887	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862378\":[1862378,8,1,\"choisir la taille\"],\"1862379\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862378
2023-10-13	13:14:30	2887	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:30	2887	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862379
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:30	2888	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field taille
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:30	2888	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:30	2888	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:30	2888	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:30	2888	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:30	2888	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:30	2888	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field published
2023-10-13	13:14:30	2888	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:30	2888	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field override
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:30	2888	[DEBUG]	Use field value for field slug
2023-10-13	13:14:30	2888	[DEBUG]	Process line 2888
2023-10-13	13:14:30	2888	[DEBUG]	Load a row
2023-10-13	13:14:30	2888	[DEBUG]	Processing item: A_4425_12
2023-10-13	13:14:30	2888	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:30	2888	[DEBUG]	Processing product tax
2023-10-13	13:14:30	2888	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:30	2888	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:30	2888	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:30	2888	[DEBUG]	Query for Product
2023-10-13	13:14:30	2888	[DEBUG]	Executed store
2023-10-13	13:14:30	2888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4425_12','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:30	2888	[DEBUG]	Check product language entry
2023-10-13	13:14:30	2888	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862380
2023-10-13	13:14:30	2888	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:30	2888	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4425_12' AND `virtuemart_product_id` != 1862380
2023-10-13	13:14:30	2888	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:30	2888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862380, 'A_4425_12')
2023-10-13	13:14:30	2888	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:30	2888	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-leather-punch-eva-polyhuretane-blanc' AND `virtuemart_product_id` != 1862380
2023-10-13	13:14:30	2888	[DEBUG]	Query for ProductLang
2023-10-13	13:14:30	2888	[DEBUG]	Executed store
2023-10-13	13:14:30	2888	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='52 g - Fait de cuir, polyuréthane et eva - Autoadhésif - Texture avec effet en nid d\'abeille, facile à nettoyer et avec une bonne prise en main - Longueur 30x2000m...<br><br>N° art fourn : CLP',`product_name`='MSC Guidoline MSC LEATHER PUNCH EVA-POLYHURETANE / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-leather-punch-eva-polyhuretane-blanc' WHERE `virtuemart_product_id` = '1862380'
2023-10-13	13:14:30	2888	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27072_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:30	2888	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:30	2888	[DEBUG]	Process image file
2023-10-13	13:14:30	2888	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:30	2888	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:30	2888	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27072_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:30	2888	[DEBUG]	Full name target: bcprisme/27072_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:31	2888	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:31	2888	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27072_guidoline_msc_leather_punch_eva-polyhuretane.jpg'
2023-10-13	13:14:31	2888	[DEBUG]	Query for Media
2023-10-13	13:14:31	2888	[DEBUG]	Executed store
2023-10-13	13:14:31	2888	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27072_guidoline_msc_leather_punch_eva-polyhuretane.jpg',`file_url_thumb`='bcprisme/27072_guidoline_msc_leather_punch_eva-polyhuretane.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12998'
2023-10-13	13:14:31	2888	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:31	2888	[DEBUG]	Executed store
2023-10-13	13:14:31	2888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862380','12998','1')
2023-10-13	13:14:31	2888	[DEBUG]	Store product image relation
2023-10-13	13:14:31	2888	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:31	2888	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862380 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:31	2888	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:31	2888	[DEBUG]	Executed store
2023-10-13	13:14:31	2888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862380','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:31	2888	[DEBUG]	Checking manufacturer
2023-10-13	13:14:31	2888	[DEBUG]	Load a row
2023-10-13	13:14:31	2888	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:31	2888	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:31	2888	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:31	2888	[DEBUG]	Executed store
2023-10-13	13:14:31	2888	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:31	2888	[DEBUG]	Manufacturer exists
2023-10-13	13:14:31	2888	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:31	2888	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:31	2888	[DEBUG]	Executed store
2023-10-13	13:14:31	2888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862380','32')
2023-10-13	13:14:31	2888	[DEBUG]	Find the custom field ID
2023-10-13	13:14:31	2888	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:31	2888	[DEBUG]	No custom field ID found
2023-10-13	13:14:31	2888	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:31	2888	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:14:31	2888	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862380 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:31	2888	[DEBUG]	Store custom available field
2023-10-13	13:14:31	2888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862380,3,'19.8447222222222',1)
2023-10-13	13:14:31	2888	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:31	2888	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:31	2888	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862380 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:31	2888	[DEBUG]	Store custom available field
2023-10-13	13:14:31	2888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862380,6,'choisir la taille',3)
2023-10-13	13:14:31	2888	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:31	2888	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:31	2888	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:31	2888	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:31	2888	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862380 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:31	2888	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:31	2888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862380,8,1)
2023-10-13	13:14:31	2888	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:31	2888	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862380\":[1862380,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862380
2023-10-13	13:14:31	2888	[DEBUG]	Checking category
2023-10-13	13:14:31	2888	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:31	2888	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862380
2023-10-13	13:14:31	2888	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:31	2888	[DEBUG]	Executed store
2023-10-13	13:14:31	2888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862380','7359')
2023-10-13	13:14:31	2888	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:31	2888	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862380 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:31	2888	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:31	2888	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862380
2023-10-13	13:14:31	2889	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:31	2889	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:31	2889	[DEBUG]	Use field value for field taille
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:31	2889	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:31	2889	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:31	2889	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:31	2889	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:31	2889	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:31	2889	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:31	2889	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:31	2889	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:31	2889	[DEBUG]	Use field value for field published
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:31	2889	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field override
2023-10-13	13:14:31	2889	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:31	2889	[DEBUG]	Use field value for field slug
2023-10-13	13:14:31	2889	[DEBUG]	Process line 2889
2023-10-13	13:14:31	2889	[DEBUG]	Load a row
2023-10-13	13:14:31	2889	[DEBUG]	Processing item: 1000000068085
2023-10-13	13:14:31	2889	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:31	2889	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:31	2889	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4425_12'
2023-10-13	13:14:31	2889	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:31	2889	[DEBUG]	Processing product tax
2023-10-13	13:14:31	2889	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:31	2889	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:31	2889	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:31	2889	[DEBUG]	Query for Product
2023-10-13	13:14:31	2889	[DEBUG]	Executed store
2023-10-13	13:14:31	2889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862380','1000000068085','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:31	2889	[DEBUG]	No parent found
2023-10-13	13:14:31	2889	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862380 AND customfield_value = 'stockable'
2023-10-13	13:14:31	2889	[DEBUG]	Check product language entry
2023-10-13	13:14:31	2889	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862381
2023-10-13	13:14:31	2889	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:31	2889	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000068085' AND `virtuemart_product_id` != 1862381
2023-10-13	13:14:31	2889	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:31	2889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862381, '1000000068085')
2023-10-13	13:14:31	2889	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:31	2889	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-leather-punch-eva-polyhuretane-blanc-unitaire' AND `virtuemart_product_id` != 1862381
2023-10-13	13:14:31	2889	[DEBUG]	Query for ProductLang
2023-10-13	13:14:31	2889	[DEBUG]	Executed store
2023-10-13	13:14:31	2889	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC LEATHER PUNCH EVA-POLYHURETANE / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-leather-punch-eva-polyhuretane-blanc-unitaire' WHERE `virtuemart_product_id` = '1862381'
2023-10-13	13:14:31	2889	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27072_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:31	2889	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:31	2889	[DEBUG]	Process image file
2023-10-13	13:14:31	2889	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:31	2889	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:31	2889	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27072_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:31	2889	[DEBUG]	Full name target: bcprisme/27072_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:32	2889	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:32	2889	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27072_guidoline_msc_leather_punch_eva-polyhuretane.jpg'
2023-10-13	13:14:32	2889	[DEBUG]	Query for Media
2023-10-13	13:14:32	2889	[DEBUG]	Executed store
2023-10-13	13:14:32	2889	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27072_guidoline_msc_leather_punch_eva-polyhuretane.jpg',`file_url_thumb`='bcprisme/27072_guidoline_msc_leather_punch_eva-polyhuretane.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12998'
2023-10-13	13:14:32	2889	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:32	2889	[DEBUG]	Executed store
2023-10-13	13:14:32	2889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862381','12998','1')
2023-10-13	13:14:32	2889	[DEBUG]	Store product image relation
2023-10-13	13:14:32	2889	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:32	2889	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862381 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:32	2889	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:32	2889	[DEBUG]	Executed store
2023-10-13	13:14:32	2889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862381','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:32	2889	[DEBUG]	Checking manufacturer
2023-10-13	13:14:32	2889	[DEBUG]	Load a row
2023-10-13	13:14:32	2889	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:32	2889	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:32	2889	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:32	2889	[DEBUG]	Executed store
2023-10-13	13:14:32	2889	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:32	2889	[DEBUG]	Manufacturer exists
2023-10-13	13:14:32	2889	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:32	2889	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:32	2889	[DEBUG]	Executed store
2023-10-13	13:14:32	2889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862381','32')
2023-10-13	13:14:32	2889	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:32	2889	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:32	2889	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862381 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:32	2889	[DEBUG]	Store custom available field
2023-10-13	13:14:32	2889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862381,3,'',1)
2023-10-13	13:14:32	2889	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:32	2889	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:32	2889	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862381 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:32	2889	[DEBUG]	Store custom available field
2023-10-13	13:14:32	2889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862381,6,'Unitaire',3)
2023-10-13	13:14:32	2889	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:32	2889	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:32	2889	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862380
2023-10-13	13:14:32	2889	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:32	2889	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862380\":[1862380,8,1,\"choisir la taille\"],\"1862381\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862380
2023-10-13	13:14:32	2889	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:32	2889	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862381
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:32	2890	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field taille
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:32	2890	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:32	2890	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:32	2890	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:32	2890	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:32	2890	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:32	2890	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field published
2023-10-13	13:14:32	2890	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:32	2890	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field override
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:32	2890	[DEBUG]	Use field value for field slug
2023-10-13	13:14:32	2890	[DEBUG]	Process line 2890
2023-10-13	13:14:32	2890	[DEBUG]	Load a row
2023-10-13	13:14:32	2890	[DEBUG]	Processing item: A_4425_27
2023-10-13	13:14:32	2890	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:32	2890	[DEBUG]	Processing product tax
2023-10-13	13:14:32	2890	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:32	2890	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:32	2890	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:32	2890	[DEBUG]	Query for Product
2023-10-13	13:14:32	2890	[DEBUG]	Executed store
2023-10-13	13:14:32	2890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4425_27','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:32	2890	[DEBUG]	Check product language entry
2023-10-13	13:14:32	2890	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862382
2023-10-13	13:14:32	2890	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:32	2890	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4425_27' AND `virtuemart_product_id` != 1862382
2023-10-13	13:14:32	2890	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:32	2890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862382, 'A_4425_27')
2023-10-13	13:14:32	2890	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:32	2890	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-leather-punch-eva-polyhuretane-orange' AND `virtuemart_product_id` != 1862382
2023-10-13	13:14:32	2890	[DEBUG]	Query for ProductLang
2023-10-13	13:14:32	2890	[DEBUG]	Executed store
2023-10-13	13:14:32	2890	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='52 g - Fait de cuir, polyuréthane et eva - Autoadhésif - Texture avec effet en nid d\'abeille, facile à nettoyer et avec une bonne prise en main - Longueur 30x2000m...<br><br>N° art fourn : CLP',`product_name`='MSC Guidoline MSC LEATHER PUNCH EVA-POLYHURETANE / Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-leather-punch-eva-polyhuretane-orange' WHERE `virtuemart_product_id` = '1862382'
2023-10-13	13:14:32	2890	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27075_guidoline_msc_.jpg
2023-10-13	13:14:32	2890	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:32	2890	[DEBUG]	Process image file
2023-10-13	13:14:32	2890	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:32	2890	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:32	2890	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27075_guidoline_msc_.jpg
2023-10-13	13:14:32	2890	[DEBUG]	Full name target: bcprisme/27075_guidoline_msc_.jpg
2023-10-13	13:14:33	2890	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:33	2890	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27075_guidoline_msc_.jpg'
2023-10-13	13:14:33	2890	[DEBUG]	Query for Media
2023-10-13	13:14:33	2890	[DEBUG]	Executed store
2023-10-13	13:14:33	2890	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27075_guidoline_msc_.jpg',`file_url_thumb`='bcprisme/27075_guidoline_msc_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12999'
2023-10-13	13:14:33	2890	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:33	2890	[DEBUG]	Executed store
2023-10-13	13:14:33	2890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862382','12999','1')
2023-10-13	13:14:33	2890	[DEBUG]	Store product image relation
2023-10-13	13:14:33	2890	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:33	2890	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862382 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:33	2890	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:33	2890	[DEBUG]	Executed store
2023-10-13	13:14:33	2890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862382','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:33	2890	[DEBUG]	Checking manufacturer
2023-10-13	13:14:33	2890	[DEBUG]	Load a row
2023-10-13	13:14:33	2890	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:33	2890	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:33	2890	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:33	2890	[DEBUG]	Executed store
2023-10-13	13:14:33	2890	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:33	2890	[DEBUG]	Manufacturer exists
2023-10-13	13:14:33	2890	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:33	2890	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:33	2890	[DEBUG]	Executed store
2023-10-13	13:14:33	2890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862382','32')
2023-10-13	13:14:33	2890	[DEBUG]	Find the custom field ID
2023-10-13	13:14:33	2890	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:33	2890	[DEBUG]	No custom field ID found
2023-10-13	13:14:33	2890	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:33	2890	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:14:33	2890	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862382 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:33	2890	[DEBUG]	Store custom available field
2023-10-13	13:14:33	2890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862382,3,'19.8447222222222',1)
2023-10-13	13:14:33	2890	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:33	2890	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:33	2890	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862382 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:33	2890	[DEBUG]	Store custom available field
2023-10-13	13:14:33	2890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862382,6,'choisir la taille',3)
2023-10-13	13:14:33	2890	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:33	2890	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:33	2890	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:33	2890	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:33	2890	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862382 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:33	2890	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:33	2890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862382,8,1)
2023-10-13	13:14:33	2890	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:33	2890	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862382\":[1862382,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862382
2023-10-13	13:14:33	2890	[DEBUG]	Checking category
2023-10-13	13:14:33	2890	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:33	2890	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862382
2023-10-13	13:14:33	2890	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:33	2890	[DEBUG]	Executed store
2023-10-13	13:14:33	2890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862382','7359')
2023-10-13	13:14:33	2890	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:33	2890	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862382 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:33	2890	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:33	2890	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862382
2023-10-13	13:14:33	2891	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:33	2891	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:33	2891	[DEBUG]	Use field value for field taille
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:33	2891	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:33	2891	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:33	2891	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:33	2891	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:33	2891	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:33	2891	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:33	2891	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:33	2891	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:33	2891	[DEBUG]	Use field value for field published
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:33	2891	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field override
2023-10-13	13:14:33	2891	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:33	2891	[DEBUG]	Use field value for field slug
2023-10-13	13:14:33	2891	[DEBUG]	Process line 2891
2023-10-13	13:14:33	2891	[DEBUG]	Load a row
2023-10-13	13:14:33	2891	[DEBUG]	Processing item: 8435466298265
2023-10-13	13:14:33	2891	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:33	2891	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:33	2891	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4425_27'
2023-10-13	13:14:33	2891	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:33	2891	[DEBUG]	Processing product tax
2023-10-13	13:14:33	2891	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:33	2891	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:33	2891	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:33	2891	[DEBUG]	Query for Product
2023-10-13	13:14:33	2891	[DEBUG]	Executed store
2023-10-13	13:14:33	2891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862382','8435466298265','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:33	2891	[DEBUG]	No parent found
2023-10-13	13:14:33	2891	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862382 AND customfield_value = 'stockable'
2023-10-13	13:14:33	2891	[DEBUG]	Check product language entry
2023-10-13	13:14:33	2891	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862383
2023-10-13	13:14:33	2891	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:33	2891	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466298265' AND `virtuemart_product_id` != 1862383
2023-10-13	13:14:33	2891	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:33	2891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862383, '8435466298265')
2023-10-13	13:14:33	2891	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:33	2891	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-leather-punch-eva-polyhuretane-orange-unitaire' AND `virtuemart_product_id` != 1862383
2023-10-13	13:14:33	2891	[DEBUG]	Query for ProductLang
2023-10-13	13:14:33	2891	[DEBUG]	Executed store
2023-10-13	13:14:33	2891	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC LEATHER PUNCH EVA-POLYHURETANE / Orange (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-leather-punch-eva-polyhuretane-orange-unitaire' WHERE `virtuemart_product_id` = '1862383'
2023-10-13	13:14:33	2891	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27075_guidoline_msc_.jpg
2023-10-13	13:14:33	2891	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:33	2891	[DEBUG]	Process image file
2023-10-13	13:14:33	2891	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:33	2891	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:33	2891	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27075_guidoline_msc_.jpg
2023-10-13	13:14:33	2891	[DEBUG]	Full name target: bcprisme/27075_guidoline_msc_.jpg
2023-10-13	13:14:34	2891	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:34	2891	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27075_guidoline_msc_.jpg'
2023-10-13	13:14:34	2891	[DEBUG]	Query for Media
2023-10-13	13:14:34	2891	[DEBUG]	Executed store
2023-10-13	13:14:34	2891	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27075_guidoline_msc_.jpg',`file_url_thumb`='bcprisme/27075_guidoline_msc_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '12999'
2023-10-13	13:14:34	2891	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:34	2891	[DEBUG]	Executed store
2023-10-13	13:14:34	2891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862383','12999','1')
2023-10-13	13:14:34	2891	[DEBUG]	Store product image relation
2023-10-13	13:14:34	2891	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:34	2891	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862383 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:34	2891	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:34	2891	[DEBUG]	Executed store
2023-10-13	13:14:34	2891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862383','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:34	2891	[DEBUG]	Checking manufacturer
2023-10-13	13:14:34	2891	[DEBUG]	Load a row
2023-10-13	13:14:34	2891	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:34	2891	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:34	2891	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:34	2891	[DEBUG]	Executed store
2023-10-13	13:14:34	2891	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:34	2891	[DEBUG]	Manufacturer exists
2023-10-13	13:14:34	2891	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:34	2891	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:34	2891	[DEBUG]	Executed store
2023-10-13	13:14:34	2891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862383','32')
2023-10-13	13:14:34	2891	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:34	2891	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:34	2891	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862383 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:34	2891	[DEBUG]	Store custom available field
2023-10-13	13:14:34	2891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862383,3,'',1)
2023-10-13	13:14:34	2891	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:34	2891	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:34	2891	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862383 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:34	2891	[DEBUG]	Store custom available field
2023-10-13	13:14:34	2891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862383,6,'Unitaire',3)
2023-10-13	13:14:34	2891	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:34	2891	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:34	2891	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862382
2023-10-13	13:14:34	2891	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:34	2891	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862382\":[1862382,8,1,\"choisir la taille\"],\"1862383\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862382
2023-10-13	13:14:34	2891	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:34	2891	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862383
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:34	2892	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field taille
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:34	2892	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:34	2892	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:34	2892	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:34	2892	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:34	2892	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:34	2892	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field published
2023-10-13	13:14:34	2892	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:34	2892	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field override
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:34	2892	[DEBUG]	Use field value for field slug
2023-10-13	13:14:34	2892	[DEBUG]	Process line 2892
2023-10-13	13:14:34	2892	[DEBUG]	Load a row
2023-10-13	13:14:34	2892	[DEBUG]	Processing item: A_4425_42
2023-10-13	13:14:34	2892	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:34	2892	[DEBUG]	Processing product tax
2023-10-13	13:14:34	2892	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:34	2892	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:34	2892	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:34	2892	[DEBUG]	Query for Product
2023-10-13	13:14:34	2892	[DEBUG]	Executed store
2023-10-13	13:14:34	2892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4425_42','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:34	2892	[DEBUG]	Check product language entry
2023-10-13	13:14:34	2892	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862384
2023-10-13	13:14:34	2892	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:34	2892	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4425_42' AND `virtuemart_product_id` != 1862384
2023-10-13	13:14:34	2892	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:34	2892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862384, 'A_4425_42')
2023-10-13	13:14:34	2892	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:34	2892	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-leather-punch-eva-polyhuretane-brun' AND `virtuemart_product_id` != 1862384
2023-10-13	13:14:34	2892	[DEBUG]	Query for ProductLang
2023-10-13	13:14:34	2892	[DEBUG]	Executed store
2023-10-13	13:14:34	2892	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='52 g - Fait de cuir, polyuréthane et eva - Autoadhésif - Texture avec effet en nid d\'abeille, facile à nettoyer et avec une bonne prise en main - Longueur 30x2000m...<br><br>N° art fourn : CLP',`product_name`='MSC Guidoline MSC LEATHER PUNCH EVA-POLYHURETANE / Brun',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-leather-punch-eva-polyhuretane-brun' WHERE `virtuemart_product_id` = '1862384'
2023-10-13	13:14:34	2892	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27074_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:34	2892	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:34	2892	[DEBUG]	Process image file
2023-10-13	13:14:34	2892	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:34	2892	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:34	2892	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27074_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:34	2892	[DEBUG]	Full name target: bcprisme/27074_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:35	2892	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:35	2892	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27074_guidoline_msc_leather_punch_eva-polyhuretane.jpg'
2023-10-13	13:14:35	2892	[DEBUG]	Query for Media
2023-10-13	13:14:35	2892	[DEBUG]	Executed store
2023-10-13	13:14:35	2892	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27074_guidoline_msc_leather_punch_eva-polyhuretane.jpg',`file_url_thumb`='bcprisme/27074_guidoline_msc_leather_punch_eva-polyhuretane.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13000'
2023-10-13	13:14:35	2892	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:35	2892	[DEBUG]	Executed store
2023-10-13	13:14:35	2892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862384','13000','1')
2023-10-13	13:14:35	2892	[DEBUG]	Store product image relation
2023-10-13	13:14:35	2892	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:35	2892	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862384 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:35	2892	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:35	2892	[DEBUG]	Executed store
2023-10-13	13:14:35	2892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862384','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:35	2892	[DEBUG]	Checking manufacturer
2023-10-13	13:14:35	2892	[DEBUG]	Load a row
2023-10-13	13:14:35	2892	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:35	2892	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:35	2892	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:35	2892	[DEBUG]	Executed store
2023-10-13	13:14:35	2892	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:35	2892	[DEBUG]	Manufacturer exists
2023-10-13	13:14:35	2892	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:35	2892	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:35	2892	[DEBUG]	Executed store
2023-10-13	13:14:35	2892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862384','32')
2023-10-13	13:14:35	2892	[DEBUG]	Find the custom field ID
2023-10-13	13:14:35	2892	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:35	2892	[DEBUG]	No custom field ID found
2023-10-13	13:14:35	2892	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:35	2892	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:14:35	2892	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862384 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:35	2892	[DEBUG]	Store custom available field
2023-10-13	13:14:35	2892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862384,3,'19.8447222222222',1)
2023-10-13	13:14:35	2892	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:35	2892	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:35	2892	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862384 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:35	2892	[DEBUG]	Store custom available field
2023-10-13	13:14:35	2892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862384,6,'choisir la taille',3)
2023-10-13	13:14:35	2892	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:35	2892	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:35	2892	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:35	2892	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:35	2892	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862384 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:35	2892	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:35	2892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862384,8,1)
2023-10-13	13:14:35	2892	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:35	2892	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862384\":[1862384,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862384
2023-10-13	13:14:35	2892	[DEBUG]	Checking category
2023-10-13	13:14:35	2892	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:35	2892	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862384
2023-10-13	13:14:35	2892	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:35	2892	[DEBUG]	Executed store
2023-10-13	13:14:35	2892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862384','7359')
2023-10-13	13:14:35	2892	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:35	2892	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862384 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:35	2892	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:35	2892	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862384
2023-10-13	13:14:35	2893	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:35	2893	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:35	2893	[DEBUG]	Use field value for field taille
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:35	2893	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:35	2893	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:35	2893	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:35	2893	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:35	2893	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:35	2893	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:35	2893	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:35	2893	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:35	2893	[DEBUG]	Use field value for field published
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:35	2893	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field override
2023-10-13	13:14:35	2893	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:35	2893	[DEBUG]	Use field value for field slug
2023-10-13	13:14:35	2893	[DEBUG]	Process line 2893
2023-10-13	13:14:35	2893	[DEBUG]	Load a row
2023-10-13	13:14:35	2893	[DEBUG]	Processing item: 1000000068108
2023-10-13	13:14:35	2893	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:35	2893	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:35	2893	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4425_42'
2023-10-13	13:14:35	2893	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:35	2893	[DEBUG]	Processing product tax
2023-10-13	13:14:35	2893	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:35	2893	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:35	2893	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:35	2893	[DEBUG]	Query for Product
2023-10-13	13:14:35	2893	[DEBUG]	Executed store
2023-10-13	13:14:35	2893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862384','1000000068108','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:35	2893	[DEBUG]	No parent found
2023-10-13	13:14:35	2893	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862384 AND customfield_value = 'stockable'
2023-10-13	13:14:35	2893	[DEBUG]	Check product language entry
2023-10-13	13:14:35	2893	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862385
2023-10-13	13:14:35	2893	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:35	2893	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000068108' AND `virtuemart_product_id` != 1862385
2023-10-13	13:14:35	2893	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:35	2893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862385, '1000000068108')
2023-10-13	13:14:35	2893	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:35	2893	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-leather-punch-eva-polyhuretane-brun-unitaire' AND `virtuemart_product_id` != 1862385
2023-10-13	13:14:35	2893	[DEBUG]	Query for ProductLang
2023-10-13	13:14:35	2893	[DEBUG]	Executed store
2023-10-13	13:14:35	2893	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC LEATHER PUNCH EVA-POLYHURETANE / Brun (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-leather-punch-eva-polyhuretane-brun-unitaire' WHERE `virtuemart_product_id` = '1862385'
2023-10-13	13:14:35	2893	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27074_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:35	2893	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:35	2893	[DEBUG]	Process image file
2023-10-13	13:14:35	2893	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:35	2893	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:35	2893	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27074_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:35	2893	[DEBUG]	Full name target: bcprisme/27074_guidoline_msc_leather_punch_eva-polyhuretane.jpg
2023-10-13	13:14:36	2893	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:36	2893	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27074_guidoline_msc_leather_punch_eva-polyhuretane.jpg'
2023-10-13	13:14:36	2893	[DEBUG]	Query for Media
2023-10-13	13:14:36	2893	[DEBUG]	Executed store
2023-10-13	13:14:36	2893	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27074_guidoline_msc_leather_punch_eva-polyhuretane.jpg',`file_url_thumb`='bcprisme/27074_guidoline_msc_leather_punch_eva-polyhuretane.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13000'
2023-10-13	13:14:36	2893	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:36	2893	[DEBUG]	Executed store
2023-10-13	13:14:36	2893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862385','13000','1')
2023-10-13	13:14:36	2893	[DEBUG]	Store product image relation
2023-10-13	13:14:36	2893	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:36	2893	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862385 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:36	2893	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:36	2893	[DEBUG]	Executed store
2023-10-13	13:14:36	2893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862385','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:36	2893	[DEBUG]	Checking manufacturer
2023-10-13	13:14:36	2893	[DEBUG]	Load a row
2023-10-13	13:14:36	2893	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:36	2893	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:36	2893	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:36	2893	[DEBUG]	Executed store
2023-10-13	13:14:36	2893	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:36	2893	[DEBUG]	Manufacturer exists
2023-10-13	13:14:36	2893	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:36	2893	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:36	2893	[DEBUG]	Executed store
2023-10-13	13:14:36	2893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862385','32')
2023-10-13	13:14:36	2893	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:36	2893	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:36	2893	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862385 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:36	2893	[DEBUG]	Store custom available field
2023-10-13	13:14:36	2893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862385,3,'',1)
2023-10-13	13:14:36	2893	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:36	2893	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:36	2893	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862385 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:36	2893	[DEBUG]	Store custom available field
2023-10-13	13:14:36	2893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862385,6,'Unitaire',3)
2023-10-13	13:14:36	2893	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:36	2893	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:36	2893	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862384
2023-10-13	13:14:36	2893	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:36	2893	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862384\":[1862384,8,1,\"choisir la taille\"],\"1862385\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862384
2023-10-13	13:14:36	2893	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:36	2893	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862385
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:36	2894	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field taille
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:36	2894	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:36	2894	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:36	2894	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:36	2894	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:36	2894	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:36	2894	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field published
2023-10-13	13:14:36	2894	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:36	2894	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field override
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:36	2894	[DEBUG]	Use field value for field slug
2023-10-13	13:14:36	2894	[DEBUG]	Process line 2894
2023-10-13	13:14:36	2894	[DEBUG]	Load a row
2023-10-13	13:14:36	2894	[DEBUG]	Processing item: A_4425_108
2023-10-13	13:14:36	2894	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:36	2894	[DEBUG]	Processing product tax
2023-10-13	13:14:36	2894	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:36	2894	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:36	2894	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:36	2894	[DEBUG]	Query for Product
2023-10-13	13:14:36	2894	[DEBUG]	Executed store
2023-10-13	13:14:36	2894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4425_108','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:36	2894	[DEBUG]	Check product language entry
2023-10-13	13:14:36	2894	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862386
2023-10-13	13:14:36	2894	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:36	2894	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4425_108' AND `virtuemart_product_id` != 1862386
2023-10-13	13:14:36	2894	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:36	2894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862386, 'A_4425_108')
2023-10-13	13:14:36	2894	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:36	2894	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-leather-punch-eva-polyhuretane-noir' AND `virtuemart_product_id` != 1862386
2023-10-13	13:14:36	2894	[DEBUG]	Query for ProductLang
2023-10-13	13:14:36	2894	[DEBUG]	Executed store
2023-10-13	13:14:36	2894	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='52 g - Fait de cuir, polyuréthane et eva - Autoadhésif - Texture avec effet en nid d\'abeille, facile à nettoyer et avec une bonne prise en main - Longueur 30x2000m...<br><br>N° art fourn : CLP',`product_name`='MSC Guidoline MSC LEATHER PUNCH EVA-POLYHURETANE / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-leather-punch-eva-polyhuretane-noir' WHERE `virtuemart_product_id` = '1862386'
2023-10-13	13:14:36	2894	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27073_guidoline_msc_.jpg
2023-10-13	13:14:36	2894	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:36	2894	[DEBUG]	Process image file
2023-10-13	13:14:36	2894	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:36	2894	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:36	2894	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27073_guidoline_msc_.jpg
2023-10-13	13:14:36	2894	[DEBUG]	Full name target: bcprisme/27073_guidoline_msc_.jpg
2023-10-13	13:14:37	2894	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:37	2894	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27073_guidoline_msc_.jpg'
2023-10-13	13:14:37	2894	[DEBUG]	Query for Media
2023-10-13	13:14:37	2894	[DEBUG]	Executed store
2023-10-13	13:14:37	2894	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27073_guidoline_msc_.jpg',`file_url_thumb`='bcprisme/27073_guidoline_msc_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13001'
2023-10-13	13:14:37	2894	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:37	2894	[DEBUG]	Executed store
2023-10-13	13:14:37	2894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862386','13001','1')
2023-10-13	13:14:37	2894	[DEBUG]	Store product image relation
2023-10-13	13:14:37	2894	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:37	2894	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862386 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:37	2894	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:37	2894	[DEBUG]	Executed store
2023-10-13	13:14:37	2894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862386','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:37	2894	[DEBUG]	Checking manufacturer
2023-10-13	13:14:37	2894	[DEBUG]	Load a row
2023-10-13	13:14:37	2894	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:37	2894	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:37	2894	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:37	2894	[DEBUG]	Executed store
2023-10-13	13:14:37	2894	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:37	2894	[DEBUG]	Manufacturer exists
2023-10-13	13:14:37	2894	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:37	2894	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:37	2894	[DEBUG]	Executed store
2023-10-13	13:14:37	2894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862386','32')
2023-10-13	13:14:37	2894	[DEBUG]	Find the custom field ID
2023-10-13	13:14:37	2894	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:37	2894	[DEBUG]	No custom field ID found
2023-10-13	13:14:37	2894	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:37	2894	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:14:37	2894	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862386 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:37	2894	[DEBUG]	Store custom available field
2023-10-13	13:14:37	2894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862386,3,'19.8447222222222',1)
2023-10-13	13:14:37	2894	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:37	2894	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:37	2894	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862386 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:37	2894	[DEBUG]	Store custom available field
2023-10-13	13:14:37	2894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862386,6,'choisir la taille',3)
2023-10-13	13:14:37	2894	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:37	2894	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:37	2894	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:37	2894	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:37	2894	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862386 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:37	2894	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:38	2894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862386,8,1)
2023-10-13	13:14:38	2894	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:38	2894	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862386\":[1862386,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862386
2023-10-13	13:14:38	2894	[DEBUG]	Checking category
2023-10-13	13:14:38	2894	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:38	2894	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862386
2023-10-13	13:14:38	2894	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:38	2894	[DEBUG]	Executed store
2023-10-13	13:14:38	2894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862386','7359')
2023-10-13	13:14:38	2894	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:38	2894	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862386 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:38	2894	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:38	2894	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862386
2023-10-13	13:14:38	2895	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:38	2895	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:38	2895	[DEBUG]	Use field value for field taille
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:38	2895	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:38	2895	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:38	2895	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:38	2895	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:38	2895	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:38	2895	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:38	2895	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:38	2895	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:38	2895	[DEBUG]	Use field value for field published
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:38	2895	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field override
2023-10-13	13:14:38	2895	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:38	2895	[DEBUG]	Use field value for field slug
2023-10-13	13:14:38	2895	[DEBUG]	Process line 2895
2023-10-13	13:14:38	2895	[DEBUG]	Load a row
2023-10-13	13:14:38	2895	[DEBUG]	Processing item: 8435466298241
2023-10-13	13:14:38	2895	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:38	2895	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:38	2895	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4425_108'
2023-10-13	13:14:38	2895	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:38	2895	[DEBUG]	Processing product tax
2023-10-13	13:14:38	2895	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:38	2895	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:38	2895	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:38	2895	[DEBUG]	Query for Product
2023-10-13	13:14:38	2895	[DEBUG]	Executed store
2023-10-13	13:14:38	2895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862386','8435466298241','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:38	2895	[DEBUG]	No parent found
2023-10-13	13:14:38	2895	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862386 AND customfield_value = 'stockable'
2023-10-13	13:14:38	2895	[DEBUG]	Check product language entry
2023-10-13	13:14:38	2895	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862387
2023-10-13	13:14:38	2895	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:38	2895	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466298241' AND `virtuemart_product_id` != 1862387
2023-10-13	13:14:38	2895	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:38	2895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862387, '8435466298241')
2023-10-13	13:14:38	2895	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:38	2895	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-leather-punch-eva-polyhuretane-noir-unitaire' AND `virtuemart_product_id` != 1862387
2023-10-13	13:14:38	2895	[DEBUG]	Query for ProductLang
2023-10-13	13:14:38	2895	[DEBUG]	Executed store
2023-10-13	13:14:38	2895	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC LEATHER PUNCH EVA-POLYHURETANE / Noir  (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-leather-punch-eva-polyhuretane-noir-unitaire' WHERE `virtuemart_product_id` = '1862387'
2023-10-13	13:14:38	2895	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27073_guidoline_msc_.jpg
2023-10-13	13:14:38	2895	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:38	2895	[DEBUG]	Process image file
2023-10-13	13:14:38	2895	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:38	2895	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:38	2895	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27073_guidoline_msc_.jpg
2023-10-13	13:14:38	2895	[DEBUG]	Full name target: bcprisme/27073_guidoline_msc_.jpg
2023-10-13	13:14:39	2895	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:39	2895	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27073_guidoline_msc_.jpg'
2023-10-13	13:14:39	2895	[DEBUG]	Query for Media
2023-10-13	13:14:39	2895	[DEBUG]	Executed store
2023-10-13	13:14:39	2895	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27073_guidoline_msc_.jpg',`file_url_thumb`='bcprisme/27073_guidoline_msc_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13001'
2023-10-13	13:14:39	2895	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:39	2895	[DEBUG]	Executed store
2023-10-13	13:14:39	2895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862387','13001','1')
2023-10-13	13:14:39	2895	[DEBUG]	Store product image relation
2023-10-13	13:14:39	2895	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:39	2895	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862387 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:39	2895	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:39	2895	[DEBUG]	Executed store
2023-10-13	13:14:39	2895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862387','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:39	2895	[DEBUG]	Checking manufacturer
2023-10-13	13:14:39	2895	[DEBUG]	Load a row
2023-10-13	13:14:39	2895	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:39	2895	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:39	2895	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:39	2895	[DEBUG]	Executed store
2023-10-13	13:14:39	2895	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:39	2895	[DEBUG]	Manufacturer exists
2023-10-13	13:14:39	2895	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:39	2895	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:39	2895	[DEBUG]	Executed store
2023-10-13	13:14:39	2895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862387','32')
2023-10-13	13:14:39	2895	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:39	2895	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:39	2895	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862387 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:39	2895	[DEBUG]	Store custom available field
2023-10-13	13:14:39	2895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862387,3,'',1)
2023-10-13	13:14:39	2895	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:39	2895	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:39	2895	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862387 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:39	2895	[DEBUG]	Store custom available field
2023-10-13	13:14:39	2895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862387,6,'Unitaire',3)
2023-10-13	13:14:39	2895	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:39	2895	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:39	2895	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862386
2023-10-13	13:14:39	2895	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:39	2895	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862386\":[1862386,8,1,\"choisir la taille\"],\"1862387\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862386
2023-10-13	13:14:39	2895	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:39	2895	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862387
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:39	2896	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field taille
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:39	2896	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:39	2896	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:39	2896	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:39	2896	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:39	2896	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:39	2896	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field published
2023-10-13	13:14:39	2896	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:39	2896	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field override
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:39	2896	[DEBUG]	Use field value for field slug
2023-10-13	13:14:39	2896	[DEBUG]	Process line 2896
2023-10-13	13:14:39	2896	[DEBUG]	Load a row
2023-10-13	13:14:39	2896	[DEBUG]	Processing item: A_4426_1
2023-10-13	13:14:39	2896	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:39	2896	[DEBUG]	Processing product tax
2023-10-13	13:14:39	2896	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:39	2896	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:39	2896	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:39	2896	[DEBUG]	Query for Product
2023-10-13	13:14:39	2896	[DEBUG]	Executed store
2023-10-13	13:14:39	2896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4426_1','0.052','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:39	2896	[DEBUG]	Check product language entry
2023-10-13	13:14:39	2896	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862388
2023-10-13	13:14:39	2896	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:39	2896	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4426_1' AND `virtuemart_product_id` != 1862388
2023-10-13	13:14:39	2896	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:39	2896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862388, 'A_4426_1')
2023-10-13	13:14:39	2896	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:39	2896	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-microfibre-noir' AND `virtuemart_product_id` != 1862388
2023-10-13	13:14:39	2896	[DEBUG]	Query for ProductLang
2023-10-13	13:14:39	2896	[DEBUG]	Executed store
2023-10-13	13:14:39	2896	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='52 g - Microfibre - Autoadhésif - Texture avec effet en nid d\'abeille, facile à nettoyer et avec une bonne prise en main - Longueur 30x2000mm <br>N° art fourn : CMF',`product_name`='MSC Guidoline MSC MICROFIBRE / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-microfibre-noir' WHERE `virtuemart_product_id` = '1862388'
2023-10-13	13:14:39	2896	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27079_guidoline_msc_microfibre.jpg
2023-10-13	13:14:39	2896	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:39	2896	[DEBUG]	Process image file
2023-10-13	13:14:39	2896	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:39	2896	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:39	2896	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27079_guidoline_msc_microfibre.jpg
2023-10-13	13:14:39	2896	[DEBUG]	Full name target: bcprisme/27079_guidoline_msc_microfibre.jpg
2023-10-13	13:14:40	2896	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:40	2896	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27079_guidoline_msc_microfibre.jpg'
2023-10-13	13:14:40	2896	[DEBUG]	Query for Media
2023-10-13	13:14:40	2896	[DEBUG]	Executed store
2023-10-13	13:14:40	2896	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27079_guidoline_msc_microfibre.jpg',`file_url_thumb`='bcprisme/27079_guidoline_msc_microfibre.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13002'
2023-10-13	13:14:40	2896	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:40	2896	[DEBUG]	Executed store
2023-10-13	13:14:40	2896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862388','13002','1')
2023-10-13	13:14:40	2896	[DEBUG]	Store product image relation
2023-10-13	13:14:40	2896	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:40	2896	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862388 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:40	2896	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:40	2896	[DEBUG]	Executed store
2023-10-13	13:14:40	2896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862388','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:40	2896	[DEBUG]	Checking manufacturer
2023-10-13	13:14:40	2896	[DEBUG]	Load a row
2023-10-13	13:14:40	2896	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:40	2896	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:40	2896	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:40	2896	[DEBUG]	Executed store
2023-10-13	13:14:40	2896	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:40	2896	[DEBUG]	Manufacturer exists
2023-10-13	13:14:40	2896	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:40	2896	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:40	2896	[DEBUG]	Executed store
2023-10-13	13:14:40	2896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862388','32')
2023-10-13	13:14:40	2896	[DEBUG]	Find the custom field ID
2023-10-13	13:14:40	2896	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:40	2896	[DEBUG]	No custom field ID found
2023-10-13	13:14:40	2896	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:40	2896	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:14:40	2896	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862388 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:40	2896	[DEBUG]	Store custom available field
2023-10-13	13:14:40	2896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862388,3,'39.7891666666667',1)
2023-10-13	13:14:40	2896	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:40	2896	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:40	2896	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862388 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:40	2896	[DEBUG]	Store custom available field
2023-10-13	13:14:40	2896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862388,6,'choisir la taille',3)
2023-10-13	13:14:40	2896	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:40	2896	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:40	2896	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:40	2896	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:40	2896	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862388 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:40	2896	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:40	2896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862388,8,1)
2023-10-13	13:14:40	2896	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:40	2896	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862388\":[1862388,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862388
2023-10-13	13:14:40	2896	[DEBUG]	Checking category
2023-10-13	13:14:40	2896	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:40	2896	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862388
2023-10-13	13:14:40	2896	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:40	2896	[DEBUG]	Executed store
2023-10-13	13:14:40	2896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862388','7359')
2023-10-13	13:14:40	2896	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:40	2896	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862388 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:40	2896	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:40	2896	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862388
2023-10-13	13:14:40	2897	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:40	2897	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:40	2897	[DEBUG]	Use field value for field taille
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:40	2897	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:40	2897	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:40	2897	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:40	2897	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:40	2897	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:40	2897	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:40	2897	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:40	2897	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:40	2897	[DEBUG]	Use field value for field published
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:40	2897	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field override
2023-10-13	13:14:40	2897	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:40	2897	[DEBUG]	Use field value for field slug
2023-10-13	13:14:40	2897	[DEBUG]	Process line 2897
2023-10-13	13:14:40	2897	[DEBUG]	Load a row
2023-10-13	13:14:40	2897	[DEBUG]	Processing item: 8435466298333
2023-10-13	13:14:40	2897	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:40	2897	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:40	2897	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4426_1'
2023-10-13	13:14:40	2897	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:40	2897	[DEBUG]	Processing product tax
2023-10-13	13:14:40	2897	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:40	2897	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:40	2897	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:40	2897	[DEBUG]	Query for Product
2023-10-13	13:14:40	2897	[DEBUG]	Executed store
2023-10-13	13:14:40	2897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862388','8435466298333','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:40	2897	[DEBUG]	No parent found
2023-10-13	13:14:40	2897	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862388 AND customfield_value = 'stockable'
2023-10-13	13:14:40	2897	[DEBUG]	Check product language entry
2023-10-13	13:14:40	2897	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862389
2023-10-13	13:14:40	2897	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:40	2897	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466298333' AND `virtuemart_product_id` != 1862389
2023-10-13	13:14:40	2897	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:40	2897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862389, '8435466298333')
2023-10-13	13:14:40	2897	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:40	2897	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-microfibre-noir-unitaire' AND `virtuemart_product_id` != 1862389
2023-10-13	13:14:40	2897	[DEBUG]	Query for ProductLang
2023-10-13	13:14:40	2897	[DEBUG]	Executed store
2023-10-13	13:14:40	2897	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC MICROFIBRE / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-microfibre-noir-unitaire' WHERE `virtuemart_product_id` = '1862389'
2023-10-13	13:14:40	2897	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27079_guidoline_msc_microfibre.jpg
2023-10-13	13:14:40	2897	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:40	2897	[DEBUG]	Process image file
2023-10-13	13:14:40	2897	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:40	2897	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:40	2897	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27079_guidoline_msc_microfibre.jpg
2023-10-13	13:14:40	2897	[DEBUG]	Full name target: bcprisme/27079_guidoline_msc_microfibre.jpg
2023-10-13	13:14:41	2897	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:41	2897	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27079_guidoline_msc_microfibre.jpg'
2023-10-13	13:14:41	2897	[DEBUG]	Query for Media
2023-10-13	13:14:41	2897	[DEBUG]	Executed store
2023-10-13	13:14:41	2897	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27079_guidoline_msc_microfibre.jpg',`file_url_thumb`='bcprisme/27079_guidoline_msc_microfibre.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13002'
2023-10-13	13:14:41	2897	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:41	2897	[DEBUG]	Executed store
2023-10-13	13:14:41	2897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862389','13002','1')
2023-10-13	13:14:41	2897	[DEBUG]	Store product image relation
2023-10-13	13:14:41	2897	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:41	2897	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862389 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:41	2897	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:41	2897	[DEBUG]	Executed store
2023-10-13	13:14:41	2897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862389','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:41	2897	[DEBUG]	Checking manufacturer
2023-10-13	13:14:41	2897	[DEBUG]	Load a row
2023-10-13	13:14:41	2897	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:41	2897	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:41	2897	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:41	2897	[DEBUG]	Executed store
2023-10-13	13:14:41	2897	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:41	2897	[DEBUG]	Manufacturer exists
2023-10-13	13:14:41	2897	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:41	2897	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:41	2897	[DEBUG]	Executed store
2023-10-13	13:14:41	2897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862389','32')
2023-10-13	13:14:41	2897	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:41	2897	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:41	2897	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862389 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:41	2897	[DEBUG]	Store custom available field
2023-10-13	13:14:41	2897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862389,3,'',1)
2023-10-13	13:14:41	2897	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:41	2897	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:41	2897	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862389 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:41	2897	[DEBUG]	Store custom available field
2023-10-13	13:14:41	2897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862389,6,'Unitaire',3)
2023-10-13	13:14:41	2897	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:41	2897	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:41	2897	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862388
2023-10-13	13:14:41	2897	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:41	2897	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862388\":[1862388,8,1,\"choisir la taille\"],\"1862389\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862388
2023-10-13	13:14:41	2897	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:41	2897	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862389
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:41	2898	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field taille
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:41	2898	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:41	2898	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:41	2898	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:41	2898	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:41	2898	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:41	2898	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field published
2023-10-13	13:14:41	2898	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:41	2898	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field override
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:41	2898	[DEBUG]	Use field value for field slug
2023-10-13	13:14:41	2898	[DEBUG]	Process line 2898
2023-10-13	13:14:41	2898	[DEBUG]	Load a row
2023-10-13	13:14:41	2898	[DEBUG]	Processing item: A_4426_42
2023-10-13	13:14:41	2898	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:41	2898	[DEBUG]	Processing product tax
2023-10-13	13:14:41	2898	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:41	2898	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:41	2898	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:41	2898	[DEBUG]	Query for Product
2023-10-13	13:14:41	2898	[DEBUG]	Executed store
2023-10-13	13:14:41	2898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4426_42','0.052','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:41	2898	[DEBUG]	Check product language entry
2023-10-13	13:14:41	2898	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862390
2023-10-13	13:14:41	2898	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:41	2898	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4426_42' AND `virtuemart_product_id` != 1862390
2023-10-13	13:14:41	2898	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:41	2898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862390, 'A_4426_42')
2023-10-13	13:14:41	2898	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:41	2898	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-microfibre-brun' AND `virtuemart_product_id` != 1862390
2023-10-13	13:14:41	2898	[DEBUG]	Query for ProductLang
2023-10-13	13:14:41	2898	[DEBUG]	Executed store
2023-10-13	13:14:41	2898	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='52 g - Microfibre - Autoadhésif - Texture avec effet en nid d\'abeille, facile à nettoyer et avec une bonne prise en main - Longueur 30x2000mm <br>N° art fourn : CMF',`product_name`='MSC Guidoline MSC MICROFIBRE / Brun',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-microfibre-brun' WHERE `virtuemart_product_id` = '1862390'
2023-10-13	13:14:41	2898	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27077_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg
2023-10-13	13:14:41	2898	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:41	2898	[DEBUG]	Process image file
2023-10-13	13:14:41	2898	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:41	2898	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:41	2898	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27077_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg
2023-10-13	13:14:41	2898	[DEBUG]	Full name target: bcprisme/27077_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg
2023-10-13	13:14:42	2898	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:42	2898	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27077_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg'
2023-10-13	13:14:42	2898	[DEBUG]	Query for Media
2023-10-13	13:14:42	2898	[DEBUG]	Executed store
2023-10-13	13:14:42	2898	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27077_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg',`file_url_thumb`='bcprisme/27077_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13003'
2023-10-13	13:14:42	2898	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:42	2898	[DEBUG]	Executed store
2023-10-13	13:14:42	2898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862390','13003','1')
2023-10-13	13:14:42	2898	[DEBUG]	Store product image relation
2023-10-13	13:14:42	2898	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:42	2898	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862390 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:42	2898	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:42	2898	[DEBUG]	Executed store
2023-10-13	13:14:42	2898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862390','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:42	2898	[DEBUG]	Checking manufacturer
2023-10-13	13:14:42	2898	[DEBUG]	Load a row
2023-10-13	13:14:42	2898	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:42	2898	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:42	2898	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:42	2898	[DEBUG]	Executed store
2023-10-13	13:14:42	2898	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:42	2898	[DEBUG]	Manufacturer exists
2023-10-13	13:14:42	2898	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:42	2898	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:42	2898	[DEBUG]	Executed store
2023-10-13	13:14:42	2898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862390','32')
2023-10-13	13:14:42	2898	[DEBUG]	Find the custom field ID
2023-10-13	13:14:42	2898	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:42	2898	[DEBUG]	No custom field ID found
2023-10-13	13:14:42	2898	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:42	2898	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:14:42	2898	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862390 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:42	2898	[DEBUG]	Store custom available field
2023-10-13	13:14:42	2898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862390,3,'39.7891666666667',1)
2023-10-13	13:14:42	2898	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:42	2898	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:42	2898	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862390 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:42	2898	[DEBUG]	Store custom available field
2023-10-13	13:14:42	2898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862390,6,'choisir la taille',3)
2023-10-13	13:14:42	2898	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:42	2898	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:42	2898	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:42	2898	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:42	2898	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862390 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:42	2898	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:42	2898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862390,8,1)
2023-10-13	13:14:42	2898	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:42	2898	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862390\":[1862390,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862390
2023-10-13	13:14:42	2898	[DEBUG]	Checking category
2023-10-13	13:14:42	2898	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:42	2898	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862390
2023-10-13	13:14:42	2898	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:42	2898	[DEBUG]	Executed store
2023-10-13	13:14:42	2898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862390','7359')
2023-10-13	13:14:42	2898	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:42	2898	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862390 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:42	2898	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:42	2898	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862390
2023-10-13	13:14:42	2899	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:42	2899	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:14:42	2899	[DEBUG]	Use field value for field taille
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:14:42	2899	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field category_path
2023-10-13	13:14:42	2899	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:42	2899	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:42	2899	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:42	2899	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:14:42	2899	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field product_weight
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:42	2899	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:42	2899	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:42	2899	[DEBUG]	Use field value for field published
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field custom_title
2023-10-13	13:14:42	2899	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field custom_param
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field override
2023-10-13	13:14:42	2899	[DEBUG]	Use default value for field public_price
2023-10-13	13:14:42	2899	[DEBUG]	Use field value for field slug
2023-10-13	13:14:42	2899	[DEBUG]	Process line 2899
2023-10-13	13:14:42	2899	[DEBUG]	Load a row
2023-10-13	13:14:42	2899	[DEBUG]	Processing item: 1000000068139
2023-10-13	13:14:42	2899	[DEBUG]	Looking for parent SKU
2023-10-13	13:14:42	2899	[DEBUG]	Checking product parent SKU
2023-10-13	13:14:42	2899	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4426_42'
2023-10-13	13:14:42	2899	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:42	2899	[DEBUG]	Processing product tax
2023-10-13	13:14:42	2899	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:42	2899	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:42	2899	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:42	2899	[DEBUG]	Query for Product
2023-10-13	13:14:42	2899	[DEBUG]	Executed store
2023-10-13	13:14:42	2899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862390','1000000068139','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:42	2899	[DEBUG]	No parent found
2023-10-13	13:14:42	2899	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862390 AND customfield_value = 'stockable'
2023-10-13	13:14:42	2899	[DEBUG]	Check product language entry
2023-10-13	13:14:42	2899	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862391
2023-10-13	13:14:42	2899	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:42	2899	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000068139' AND `virtuemart_product_id` != 1862391
2023-10-13	13:14:42	2899	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:42	2899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862391, '1000000068139')
2023-10-13	13:14:42	2899	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:42	2899	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-microfibre-brun-unitaire' AND `virtuemart_product_id` != 1862391
2023-10-13	13:14:42	2899	[DEBUG]	Query for ProductLang
2023-10-13	13:14:42	2899	[DEBUG]	Executed store
2023-10-13	13:14:42	2899	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC MICROFIBRE / Brun (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-microfibre-brun-unitaire' WHERE `virtuemart_product_id` = '1862391'
2023-10-13	13:14:42	2899	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27077_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg
2023-10-13	13:14:42	2899	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:42	2899	[DEBUG]	Process image file
2023-10-13	13:14:42	2899	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:42	2899	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:42	2899	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27077_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg
2023-10-13	13:14:42	2899	[DEBUG]	Full name target: bcprisme/27077_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg
2023-10-13	13:14:43	2899	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:43	2899	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27077_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg'
2023-10-13	13:14:43	2899	[DEBUG]	Query for Media
2023-10-13	13:14:43	2899	[DEBUG]	Executed store
2023-10-13	13:14:43	2899	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27077_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg',`file_url_thumb`='bcprisme/27077_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13003'
2023-10-13	13:14:43	2899	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:43	2899	[DEBUG]	Executed store
2023-10-13	13:14:43	2899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862391','13003','1')
2023-10-13	13:14:43	2899	[DEBUG]	Store product image relation
2023-10-13	13:14:43	2899	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:43	2899	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862391 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:43	2899	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:43	2899	[DEBUG]	Executed store
2023-10-13	13:14:43	2899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862391','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:43	2899	[DEBUG]	Checking manufacturer
2023-10-13	13:14:43	2899	[DEBUG]	Load a row
2023-10-13	13:14:43	2899	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:43	2899	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:43	2899	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:43	2899	[DEBUG]	Executed store
2023-10-13	13:14:43	2899	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:43	2899	[DEBUG]	Manufacturer exists
2023-10-13	13:14:43	2899	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:43	2899	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:43	2899	[DEBUG]	Executed store
2023-10-13	13:14:43	2899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862391','32')
2023-10-13	13:14:43	2899	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:43	2899	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:14:43	2899	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862391 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:43	2899	[DEBUG]	Store custom available field
2023-10-13	13:14:43	2899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862391,3,'',1)
2023-10-13	13:14:43	2899	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:43	2899	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:14:43	2899	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862391 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:43	2899	[DEBUG]	Store custom available field
2023-10-13	13:14:43	2899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862391,6,'Unitaire',3)
2023-10-13	13:14:43	2899	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:43	2899	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:14:43	2899	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862390
2023-10-13	13:14:43	2899	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:43	2899	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862390\":[1862390,8,1,\"choisir la taille\"],\"1862391\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862390
2023-10-13	13:14:43	2899	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:43	2899	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862391
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field product_sku
2023-10-13	13:14:43	2900	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field taille
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field product_name
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field category_path
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field product_price
2023-10-13	13:14:43	2900	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field product_tax
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field file_url
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:14:43	2900	[DEBUG]	Use default value for field product_desc
2023-10-13	13:14:43	2900	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field product_availability
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field product_weight
2023-10-13	13:14:43	2900	[DEBUG]	Use default value for field product_unit
2023-10-13	13:14:43	2900	[DEBUG]	Use default value for field related_products
2023-10-13	13:14:43	2900	[DEBUG]	Use default value for field product_special
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field published
2023-10-13	13:14:43	2900	[DEBUG]	Use default value for field metadesc
2023-10-13	13:14:43	2900	[DEBUG]	Use default value for field metakey
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field custom_title
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field custom_value
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field custom_param
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field override
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field public_price
2023-10-13	13:14:43	2900	[DEBUG]	Use field value for field slug
2023-10-13	13:14:43	2900	[DEBUG]	Process line 2900
2023-10-13	13:14:43	2900	[DEBUG]	Load a row
2023-10-13	13:14:43	2900	[DEBUG]	Processing item: A_4426_171
2023-10-13	13:14:43	2900	[DEBUG]	Product tax: 7.7
2023-10-13	13:14:43	2900	[DEBUG]	Processing product tax
2023-10-13	13:14:43	2900	[DEBUG]	Check if calculation rule exists
2023-10-13	13:14:43	2900	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:14:43	2900	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:14:43	2900	[DEBUG]	Query for Product
2023-10-13	13:14:43	2900	[DEBUG]	Executed store
2023-10-13	13:14:43	2900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4426_171','0.052','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0')
2023-10-13	13:14:43	2900	[DEBUG]	Check product language entry
2023-10-13	13:14:43	2900	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862392
2023-10-13	13:14:43	2900	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:43	2900	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4426_171' AND `virtuemart_product_id` != 1862392
2023-10-13	13:14:43	2900	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:14:43	2900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862392, 'A_4426_171')
2023-10-13	13:14:43	2900	[DEBUG]	Check if the product slug exists
2023-10-13	13:14:43	2900	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-microfibre-marron' AND `virtuemart_product_id` != 1862392
2023-10-13	13:14:43	2900	[DEBUG]	Query for ProductLang
2023-10-13	13:14:43	2900	[DEBUG]	Executed store
2023-10-13	13:14:43	2900	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='52 g - Microfibre - Autoadhésif - Texture avec effet en nid d\'abeille, facile à nettoyer et avec une bonne prise en main - Longueur 30x2000mm <br>N° art fourn : CMF',`product_name`='MSC Guidoline MSC MICROFIBRE / Marron',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-microfibre-marron' WHERE `virtuemart_product_id` = '1862392'
2023-10-13	13:14:43	2900	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27078_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg
2023-10-13	13:14:43	2900	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:43	2900	[DEBUG]	Process image file
2023-10-13	13:14:43	2900	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:14:43	2900	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:14:43	2900	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27078_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg
2023-10-13	13:14:43	2900	[DEBUG]	Full name target: bcprisme/27078_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg
2023-10-13	13:14:44	2900	[DEBUG]	Checking if the file_url exists
2023-10-13	13:14:44	2900	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27078_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg'
2023-10-13	13:14:44	2900	[DEBUG]	Query for Media
2023-10-13	13:14:44	2900	[DEBUG]	Executed store
2023-10-13	13:14:44	2900	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27078_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg',`file_url_thumb`='bcprisme/27078_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13004'
2023-10-13	13:14:44	2900	[DEBUG]	Query for ProductMedia
2023-10-13	13:14:44	2900	[DEBUG]	Executed store
2023-10-13	13:14:44	2900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862392','13004','1')
2023-10-13	13:14:44	2900	[DEBUG]	Store product image relation
2023-10-13	13:14:44	2900	[DEBUG]	Finding a product_price_id
2023-10-13	13:14:44	2900	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862392 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:14:44	2900	[DEBUG]	Query for ProductPrice
2023-10-13	13:14:44	2900	[DEBUG]	Executed store
2023-10-13	13:14:44	2900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862392','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:12:56','1593','2023-10-13 13:12:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:14:44	2900	[DEBUG]	Checking manufacturer
2023-10-13	13:14:44	2900	[DEBUG]	Load a row
2023-10-13	13:14:44	2900	[DEBUG]	Manufacturer already exists
2023-10-13	13:14:44	2900	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:44	2900	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:14:44	2900	[DEBUG]	Executed store
2023-10-13	13:14:44	2900	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:14:44	2900	[DEBUG]	Manufacturer exists
2023-10-13	13:14:44	2900	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:14:44	2900	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:14:44	2900	[DEBUG]	Executed store
2023-10-13	13:14:44	2900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862392','32')
2023-10-13	13:14:44	2900	[DEBUG]	Find the custom field ID
2023-10-13	13:14:44	2900	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:14:44	2900	[DEBUG]	No custom field ID found
2023-10-13	13:14:44	2900	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:14:44	2900	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:14:44	2900	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862392 AND `virtuemart_custom_id` = 3
2023-10-13	13:14:44	2900	[DEBUG]	Store custom available field
2023-10-13	13:14:44	2900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862392,3,'39.7891666666667',1)
2023-10-13	13:14:44	2900	[DEBUG]	Processing custom available field: taille
2023-10-13	13:14:44	2900	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:14:44	2900	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862392 AND `virtuemart_custom_id` = 6
2023-10-13	13:14:44	2900	[DEBUG]	Store custom available field
2023-10-13	13:14:44	2900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862392,6,'choisir la taille',3)
2023-10-13	13:14:44	2900	[DEBUG]	Process multi-variant fields
2023-10-13	13:14:44	2900	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:14:44	2900	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:14:44	2900	[DEBUG]	Find the multi variant product entry
2023-10-13	13:14:44	2900	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862392 AND `virtuemart_custom_id` = 8
2023-10-13	13:14:44	2900	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:14:44	2900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862392,8,1)
2023-10-13	13:14:44	2900	[DEBUG]	Store the updated customfield_params
2023-10-13	13:14:44	2900	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862392\":[1862392,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862392
2023-10-13	13:14:44	2900	[DEBUG]	Checking category
2023-10-13	13:14:44	2900	[DEBUG]	Get the existing categories for the product
2023-10-13	13:14:44	2900	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862392
2023-10-13	13:14:44	2900	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:14:44	2900	[DEBUG]	Executed store
2023-10-13	13:14:44	2900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862392','7359')
2023-10-13	13:14:44	2900	[DEBUG]	Delete leftover product categories
2023-10-13	13:14:44	2900	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862392 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:14:44	2900	[DEBUG]	Update has fields after all processing
2023-10-13	13:14:44	2900	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862392
2023-10-13	13:15:04	2900	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:15:04	2900	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:15:04	2900	[DEBUG]	Load the fields to process
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: product_sku
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: taille
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: product_name
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: category_path
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: product_price
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: product_override_price
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: product_tax
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: file_url
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: product_desc
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: product_availability
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: product_weight
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: product_unit
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: related_products
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: product_special
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: published
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: metadesc
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: metakey
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: custom_title
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: custom_value
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: custom_param
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: override
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: public_price
2023-10-13	13:15:04	2900	[DEBUG]	Setup field: slug
2023-10-13	13:15:04	2900	[DEBUG]	Use the file for configuration
2023-10-13	13:15:04	2900	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:15:04	2900	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:15:04	2900	[DEBUG]	Load the custom fields
2023-10-13	13:15:04	2900	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:15:04	2900	[DEBUG]	Load stockable custom fields
2023-10-13	13:15:04	2900	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:15:04	2900	[DEBUG]	Load custom fields for all
2023-10-13	13:15:04	2900	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:15:04	2901	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:04	2901	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:04	2901	[DEBUG]	Use field value for field taille
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:04	2901	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:04	2901	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:04	2901	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:04	2901	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:04	2901	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:04	2901	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:04	2901	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:04	2901	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:04	2901	[DEBUG]	Use field value for field published
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:04	2901	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field override
2023-10-13	13:15:04	2901	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:04	2901	[DEBUG]	Use field value for field slug
2023-10-13	13:15:04	2901	[DEBUG]	Process line 2901
2023-10-13	13:15:04	2901	[DEBUG]	Check if the vendor exists
2023-10-13	13:15:04	2901	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '1000000068146'
2023-10-13	13:15:04	2901	[DEBUG]	Load a row
2023-10-13	13:15:04	2901	[DEBUG]	Processing item: 1000000068146
2023-10-13	13:15:04	2901	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:04	2901	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:04	2901	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4426_171'
2023-10-13	13:15:04	2901	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:04	2901	[DEBUG]	Processing product tax
2023-10-13	13:15:04	2901	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:04	2901	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:04	2901	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:04	2901	[DEBUG]	Query for Product
2023-10-13	13:15:04	2901	[DEBUG]	Executed store
2023-10-13	13:15:04	2901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862392','1000000068146','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:04	2901	[DEBUG]	No parent found
2023-10-13	13:15:04	2901	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862392 AND customfield_value = 'stockable'
2023-10-13	13:15:04	2901	[DEBUG]	Check product language entry
2023-10-13	13:15:04	2901	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862393
2023-10-13	13:15:04	2901	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:04	2901	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000068146' AND `virtuemart_product_id` != 1862393
2023-10-13	13:15:04	2901	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:04	2901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862393, '1000000068146')
2023-10-13	13:15:04	2901	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:04	2901	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-microfibre-marron-unitaire' AND `virtuemart_product_id` != 1862393
2023-10-13	13:15:04	2901	[DEBUG]	Query for ProductLang
2023-10-13	13:15:04	2901	[DEBUG]	Executed store
2023-10-13	13:15:04	2901	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC MICROFIBRE / Marron (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-microfibre-marron-unitaire' WHERE `virtuemart_product_id` = '1862393'
2023-10-13	13:15:04	2901	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27078_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg
2023-10-13	13:15:04	2901	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:04	2901	[DEBUG]	Process image file
2023-10-13	13:15:04	2901	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:04	2901	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:04	2901	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27078_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg
2023-10-13	13:15:04	2901	[DEBUG]	Full name target: bcprisme/27078_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg
2023-10-13	13:15:05	2901	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:05	2901	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27078_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg'
2023-10-13	13:15:05	2901	[DEBUG]	Query for Media
2023-10-13	13:15:05	2901	[DEBUG]	Executed store
2023-10-13	13:15:05	2901	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27078_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg',`file_url_thumb`='bcprisme/27078_guidoline_msc_leather_punch_eva-polyhuretane_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13004'
2023-10-13	13:15:05	2901	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:05	2901	[DEBUG]	Executed store
2023-10-13	13:15:05	2901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862393','13004','1')
2023-10-13	13:15:05	2901	[DEBUG]	Store product image relation
2023-10-13	13:15:05	2901	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:05	2901	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862393 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:05	2901	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:05	2901	[DEBUG]	Executed store
2023-10-13	13:15:05	2901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862393','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:05	2901	[DEBUG]	Checking manufacturer
2023-10-13	13:15:05	2901	[DEBUG]	Load a row
2023-10-13	13:15:05	2901	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:05	2901	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:05	2901	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:05	2901	[DEBUG]	Executed store
2023-10-13	13:15:05	2901	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:05	2901	[DEBUG]	Manufacturer exists
2023-10-13	13:15:05	2901	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:15:05	2901	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:05	2901	[DEBUG]	Executed store
2023-10-13	13:15:05	2901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862393','32')
2023-10-13	13:15:05	2901	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:05	2901	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:05	2901	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862393 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:05	2901	[DEBUG]	Store custom available field
2023-10-13	13:15:05	2901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862393,3,'',1)
2023-10-13	13:15:05	2901	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:05	2901	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:05	2901	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862393 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:05	2901	[DEBUG]	Store custom available field
2023-10-13	13:15:05	2901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862393,6,'Unitaire',3)
2023-10-13	13:15:05	2901	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:05	2901	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:05	2901	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862392
2023-10-13	13:15:05	2901	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:05	2901	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862392\":[1862392,8,1,\"choisir la taille\"],\"1862393\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862392
2023-10-13	13:15:05	2901	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:05	2901	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862393
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:05	2902	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field taille
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:05	2902	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:05	2902	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:05	2902	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:05	2902	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:05	2902	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:05	2902	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field published
2023-10-13	13:15:05	2902	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:05	2902	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field override
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:05	2902	[DEBUG]	Use field value for field slug
2023-10-13	13:15:05	2902	[DEBUG]	Process line 2902
2023-10-13	13:15:05	2902	[DEBUG]	Load a row
2023-10-13	13:15:05	2902	[DEBUG]	Processing item: A_4656_35
2023-10-13	13:15:05	2902	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:05	2902	[DEBUG]	Processing product tax
2023-10-13	13:15:05	2902	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:05	2902	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:05	2902	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:05	2902	[DEBUG]	Query for Product
2023-10-13	13:15:05	2902	[DEBUG]	Executed store
2023-10-13	13:15:05	2902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4656_35','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:05	2902	[DEBUG]	Check product language entry
2023-10-13	13:15:05	2902	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862394
2023-10-13	13:15:05	2902	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:05	2902	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4656_35' AND `virtuemart_product_id` != 1862394
2023-10-13	13:15:05	2902	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:05	2902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862394, 'A_4656_35')
2023-10-13	13:15:05	2902	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:05	2902	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-en-polyurethane-et-mousse-eva-noir-rouge' AND `virtuemart_product_id` != 1862394
2023-10-13	13:15:05	2902	[DEBUG]	Query for ProductLang
2023-10-13	13:15:05	2902	[DEBUG]	Executed store
2023-10-13	13:15:05	2902	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='52 g Si lorsque vous conduisez votre vélo, votre priorité est le confort entre vos mains, cette sangle de guidon est idéale pour vous. Fabriqué en mousse EVA et en polyuréthane, il est ergonomique, flexible et très confortable pour tous les types de parcours. - Fabriqué en mousse EVA et polyuréthane - Autoadhésif - Texture douce et très adhérente - Longueur 20 x 2000 mm - Comprend des bouchons <br>N° art fourn : CDOTBK',`product_name`='MSC Guidoline MSC en Polyuréthane et mousse EVA / Noir-rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-en-polyurethane-et-mousse-eva-noir-rouge' WHERE `virtuemart_product_id` = '1862394'
2023-10-13	13:15:05	2902	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27924_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:05	2902	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:05	2902	[DEBUG]	Process image file
2023-10-13	13:15:05	2902	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:05	2902	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:05	2902	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27924_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:05	2902	[DEBUG]	Full name target: bcprisme/27924_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:06	2902	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:06	2902	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27924_guidoline_msc_en_polyurethane_et_mousse_eva.jpg'
2023-10-13	13:15:06	2902	[DEBUG]	Query for Media
2023-10-13	13:15:06	2902	[DEBUG]	Executed store
2023-10-13	13:15:06	2902	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27924_guidoline_msc_en_polyurethane_et_mousse_eva.jpg',`file_url_thumb`='bcprisme/27924_guidoline_msc_en_polyurethane_et_mousse_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13005'
2023-10-13	13:15:06	2902	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:06	2902	[DEBUG]	Executed store
2023-10-13	13:15:06	2902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862394','13005','1')
2023-10-13	13:15:06	2902	[DEBUG]	Store product image relation
2023-10-13	13:15:06	2902	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:06	2902	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862394 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:06	2902	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:06	2902	[DEBUG]	Executed store
2023-10-13	13:15:06	2902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862394','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:06	2902	[DEBUG]	Checking manufacturer
2023-10-13	13:15:06	2902	[DEBUG]	Load a row
2023-10-13	13:15:06	2902	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:06	2902	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:06	2902	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:06	2902	[DEBUG]	Executed store
2023-10-13	13:15:06	2902	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:06	2902	[DEBUG]	Manufacturer exists
2023-10-13	13:15:06	2902	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:15:06	2902	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:06	2902	[DEBUG]	Executed store
2023-10-13	13:15:06	2902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862394','32')
2023-10-13	13:15:06	2902	[DEBUG]	Find the custom field ID
2023-10-13	13:15:06	2902	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:06	2902	[DEBUG]	No custom field ID found
2023-10-13	13:15:06	2902	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:06	2902	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:15:06	2902	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862394 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:06	2902	[DEBUG]	Store custom available field
2023-10-13	13:15:06	2902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862394,3,'19.8447222222222',1)
2023-10-13	13:15:06	2902	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:06	2902	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:06	2902	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862394 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:06	2902	[DEBUG]	Store custom available field
2023-10-13	13:15:06	2902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862394,6,'choisir la taille',3)
2023-10-13	13:15:06	2902	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:06	2902	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:06	2902	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:06	2902	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:06	2902	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862394 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:06	2902	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:06	2902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862394,8,1)
2023-10-13	13:15:06	2902	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:06	2902	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862394\":[1862394,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862394
2023-10-13	13:15:06	2902	[DEBUG]	Checking category
2023-10-13	13:15:06	2902	[DEBUG]	Check if category path exists: GUIDONS - LENKER
2023-10-13	13:15:06	2902	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GUIDONS - LENKER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:15:06	2902	[DEBUG]	Check if category path exists: GUIDONS ACCESSOIRES - LENKER ZUBERHÖR
2023-10-13	13:15:06	2902	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'GUIDONS ACCESSOIRES - LENKER ZUBERHÖR' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7356
2023-10-13	13:15:06	2902	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:06	2902	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862394
2023-10-13	13:15:06	2902	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:06	2902	[DEBUG]	Executed store
2023-10-13	13:15:06	2902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862394','7359')
2023-10-13	13:15:06	2902	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:06	2902	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862394 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:15:06	2902	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:06	2902	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862394
2023-10-13	13:15:06	2903	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:06	2903	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:06	2903	[DEBUG]	Use field value for field taille
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:06	2903	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:06	2903	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:06	2903	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:06	2903	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:06	2903	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:06	2903	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:06	2903	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:06	2903	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:06	2903	[DEBUG]	Use field value for field published
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:06	2903	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field override
2023-10-13	13:15:06	2903	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:06	2903	[DEBUG]	Use field value for field slug
2023-10-13	13:15:06	2903	[DEBUG]	Process line 2903
2023-10-13	13:15:06	2903	[DEBUG]	Load a row
2023-10-13	13:15:06	2903	[DEBUG]	Processing item: 8435466213183
2023-10-13	13:15:06	2903	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:06	2903	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:06	2903	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4656_35'
2023-10-13	13:15:06	2903	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:06	2903	[DEBUG]	Processing product tax
2023-10-13	13:15:06	2903	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:06	2903	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:06	2903	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:06	2903	[DEBUG]	Query for Product
2023-10-13	13:15:06	2903	[DEBUG]	Executed store
2023-10-13	13:15:06	2903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862394','8435466213183','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:06	2903	[DEBUG]	No parent found
2023-10-13	13:15:06	2903	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862394 AND customfield_value = 'stockable'
2023-10-13	13:15:06	2903	[DEBUG]	Check product language entry
2023-10-13	13:15:06	2903	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862395
2023-10-13	13:15:06	2903	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:06	2903	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213183' AND `virtuemart_product_id` != 1862395
2023-10-13	13:15:06	2903	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:06	2903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862395, '8435466213183')
2023-10-13	13:15:06	2903	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:06	2903	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-en-polyurethane-et-mousse-eva-noir-rouge-unitaire' AND `virtuemart_product_id` != 1862395
2023-10-13	13:15:06	2903	[DEBUG]	Query for ProductLang
2023-10-13	13:15:06	2903	[DEBUG]	Executed store
2023-10-13	13:15:06	2903	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC en Polyuréthane et mousse EVA / Noir-rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-en-polyurethane-et-mousse-eva-noir-rouge-unitaire' WHERE `virtuemart_product_id` = '1862395'
2023-10-13	13:15:06	2903	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27924_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:06	2903	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:06	2903	[DEBUG]	Process image file
2023-10-13	13:15:06	2903	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:06	2903	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:06	2903	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27924_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:06	2903	[DEBUG]	Full name target: bcprisme/27924_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:07	2903	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:07	2903	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27924_guidoline_msc_en_polyurethane_et_mousse_eva.jpg'
2023-10-13	13:15:07	2903	[DEBUG]	Query for Media
2023-10-13	13:15:07	2903	[DEBUG]	Executed store
2023-10-13	13:15:07	2903	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27924_guidoline_msc_en_polyurethane_et_mousse_eva.jpg',`file_url_thumb`='bcprisme/27924_guidoline_msc_en_polyurethane_et_mousse_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13005'
2023-10-13	13:15:07	2903	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:07	2903	[DEBUG]	Executed store
2023-10-13	13:15:07	2903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862395','13005','1')
2023-10-13	13:15:07	2903	[DEBUG]	Store product image relation
2023-10-13	13:15:07	2903	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:07	2903	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862395 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:07	2903	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:07	2903	[DEBUG]	Executed store
2023-10-13	13:15:07	2903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862395','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:07	2903	[DEBUG]	Checking manufacturer
2023-10-13	13:15:07	2903	[DEBUG]	Load a row
2023-10-13	13:15:07	2903	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:07	2903	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:07	2903	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:07	2903	[DEBUG]	Executed store
2023-10-13	13:15:07	2903	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:07	2903	[DEBUG]	Manufacturer exists
2023-10-13	13:15:07	2903	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:15:07	2903	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:07	2903	[DEBUG]	Executed store
2023-10-13	13:15:07	2903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862395','32')
2023-10-13	13:15:07	2903	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:07	2903	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:07	2903	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862395 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:07	2903	[DEBUG]	Store custom available field
2023-10-13	13:15:07	2903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862395,3,'',1)
2023-10-13	13:15:07	2903	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:07	2903	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:07	2903	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862395 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:07	2903	[DEBUG]	Store custom available field
2023-10-13	13:15:07	2903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862395,6,'Unitaire',3)
2023-10-13	13:15:07	2903	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:07	2903	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:07	2903	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862394
2023-10-13	13:15:07	2903	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:07	2903	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862394\":[1862394,8,1,\"choisir la taille\"],\"1862395\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862394
2023-10-13	13:15:07	2903	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:07	2903	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862395
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:07	2904	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field taille
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:07	2904	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:07	2904	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:07	2904	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:07	2904	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:07	2904	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:07	2904	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field published
2023-10-13	13:15:07	2904	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:07	2904	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field override
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:07	2904	[DEBUG]	Use field value for field slug
2023-10-13	13:15:07	2904	[DEBUG]	Process line 2904
2023-10-13	13:15:07	2904	[DEBUG]	Load a row
2023-10-13	13:15:07	2904	[DEBUG]	Processing item: A_4656_56
2023-10-13	13:15:07	2904	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:07	2904	[DEBUG]	Processing product tax
2023-10-13	13:15:07	2904	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:07	2904	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:07	2904	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:07	2904	[DEBUG]	Query for Product
2023-10-13	13:15:07	2904	[DEBUG]	Executed store
2023-10-13	13:15:07	2904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4656_56','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:07	2904	[DEBUG]	Check product language entry
2023-10-13	13:15:07	2904	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862396
2023-10-13	13:15:07	2904	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:07	2904	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4656_56' AND `virtuemart_product_id` != 1862396
2023-10-13	13:15:07	2904	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:07	2904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862396, 'A_4656_56')
2023-10-13	13:15:07	2904	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:07	2904	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-en-polyurethane-et-mousse-eva-noir-blanche' AND `virtuemart_product_id` != 1862396
2023-10-13	13:15:07	2904	[DEBUG]	Query for ProductLang
2023-10-13	13:15:07	2904	[DEBUG]	Executed store
2023-10-13	13:15:07	2904	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='52 g Si lorsque vous conduisez votre vélo, votre priorité est le confort entre vos mains, cette sangle de guidon est idéale pour vous. Fabriqué en mousse EVA et en polyuréthane, il est ergonomique, flexible et très confortable pour tous les types de parcours. - Fabriqué en mousse EVA et polyuréthane - Autoadhésif - Texture douce et très adhérente - Longueur 20 x 2000 mm - Comprend des bouchons <br>N° art fourn : CDOTBK',`product_name`='MSC Guidoline MSC en Polyuréthane et mousse EVA / Noir-blanche',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-en-polyurethane-et-mousse-eva-noir-blanche' WHERE `virtuemart_product_id` = '1862396'
2023-10-13	13:15:07	2904	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27925_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:07	2904	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:07	2904	[DEBUG]	Process image file
2023-10-13	13:15:07	2904	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:07	2904	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:07	2904	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27925_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:07	2904	[DEBUG]	Full name target: bcprisme/27925_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:08	2904	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:08	2904	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27925_guidoline_msc_en_polyurethane_et_mousse_eva.jpg'
2023-10-13	13:15:08	2904	[DEBUG]	Query for Media
2023-10-13	13:15:08	2904	[DEBUG]	Executed store
2023-10-13	13:15:08	2904	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27925_guidoline_msc_en_polyurethane_et_mousse_eva.jpg',`file_url_thumb`='bcprisme/27925_guidoline_msc_en_polyurethane_et_mousse_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13006'
2023-10-13	13:15:08	2904	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:08	2904	[DEBUG]	Executed store
2023-10-13	13:15:08	2904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862396','13006','1')
2023-10-13	13:15:08	2904	[DEBUG]	Store product image relation
2023-10-13	13:15:08	2904	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:08	2904	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862396 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:08	2904	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:08	2904	[DEBUG]	Executed store
2023-10-13	13:15:08	2904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862396','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:08	2904	[DEBUG]	Checking manufacturer
2023-10-13	13:15:08	2904	[DEBUG]	Load a row
2023-10-13	13:15:08	2904	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:08	2904	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:08	2904	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:08	2904	[DEBUG]	Executed store
2023-10-13	13:15:08	2904	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:08	2904	[DEBUG]	Manufacturer exists
2023-10-13	13:15:08	2904	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:15:08	2904	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:08	2904	[DEBUG]	Executed store
2023-10-13	13:15:08	2904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862396','32')
2023-10-13	13:15:08	2904	[DEBUG]	Find the custom field ID
2023-10-13	13:15:08	2904	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:08	2904	[DEBUG]	No custom field ID found
2023-10-13	13:15:08	2904	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:08	2904	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:15:08	2904	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862396 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:08	2904	[DEBUG]	Store custom available field
2023-10-13	13:15:08	2904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862396,3,'19.8447222222222',1)
2023-10-13	13:15:08	2904	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:08	2904	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:08	2904	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862396 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:08	2904	[DEBUG]	Store custom available field
2023-10-13	13:15:08	2904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862396,6,'choisir la taille',3)
2023-10-13	13:15:08	2904	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:08	2904	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:08	2904	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:08	2904	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:08	2904	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862396 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:08	2904	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:08	2904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862396,8,1)
2023-10-13	13:15:08	2904	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:08	2904	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862396\":[1862396,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862396
2023-10-13	13:15:08	2904	[DEBUG]	Checking category
2023-10-13	13:15:08	2904	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:08	2904	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862396
2023-10-13	13:15:08	2904	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:08	2904	[DEBUG]	Executed store
2023-10-13	13:15:08	2904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862396','7359')
2023-10-13	13:15:08	2904	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:08	2904	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862396 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:15:08	2904	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:08	2904	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862396
2023-10-13	13:15:08	2905	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:08	2905	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:08	2905	[DEBUG]	Use field value for field taille
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:08	2905	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:08	2905	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:08	2905	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:08	2905	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:08	2905	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:08	2905	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:08	2905	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:08	2905	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:08	2905	[DEBUG]	Use field value for field published
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:08	2905	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field override
2023-10-13	13:15:08	2905	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:08	2905	[DEBUG]	Use field value for field slug
2023-10-13	13:15:08	2905	[DEBUG]	Process line 2905
2023-10-13	13:15:08	2905	[DEBUG]	Load a row
2023-10-13	13:15:08	2905	[DEBUG]	Processing item: 8435466213206
2023-10-13	13:15:08	2905	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:08	2905	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:08	2905	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4656_56'
2023-10-13	13:15:08	2905	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:08	2905	[DEBUG]	Processing product tax
2023-10-13	13:15:08	2905	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:08	2905	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:08	2905	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:08	2905	[DEBUG]	Query for Product
2023-10-13	13:15:08	2905	[DEBUG]	Executed store
2023-10-13	13:15:08	2905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862396','8435466213206','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:08	2905	[DEBUG]	No parent found
2023-10-13	13:15:08	2905	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862396 AND customfield_value = 'stockable'
2023-10-13	13:15:08	2905	[DEBUG]	Check product language entry
2023-10-13	13:15:08	2905	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862397
2023-10-13	13:15:08	2905	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:08	2905	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213206' AND `virtuemart_product_id` != 1862397
2023-10-13	13:15:08	2905	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:08	2905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862397, '8435466213206')
2023-10-13	13:15:08	2905	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:08	2905	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-en-polyurethane-et-mousse-eva-noir-blanche-unitaire' AND `virtuemart_product_id` != 1862397
2023-10-13	13:15:08	2905	[DEBUG]	Query for ProductLang
2023-10-13	13:15:08	2905	[DEBUG]	Executed store
2023-10-13	13:15:08	2905	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC en Polyuréthane et mousse EVA / Noir-blanche (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-en-polyurethane-et-mousse-eva-noir-blanche-unitaire' WHERE `virtuemart_product_id` = '1862397'
2023-10-13	13:15:08	2905	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27925_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:08	2905	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:08	2905	[DEBUG]	Process image file
2023-10-13	13:15:08	2905	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:08	2905	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:08	2905	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27925_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:08	2905	[DEBUG]	Full name target: bcprisme/27925_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:09	2905	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:09	2905	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27925_guidoline_msc_en_polyurethane_et_mousse_eva.jpg'
2023-10-13	13:15:09	2905	[DEBUG]	Query for Media
2023-10-13	13:15:09	2905	[DEBUG]	Executed store
2023-10-13	13:15:09	2905	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27925_guidoline_msc_en_polyurethane_et_mousse_eva.jpg',`file_url_thumb`='bcprisme/27925_guidoline_msc_en_polyurethane_et_mousse_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13006'
2023-10-13	13:15:09	2905	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:09	2905	[DEBUG]	Executed store
2023-10-13	13:15:09	2905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862397','13006','1')
2023-10-13	13:15:09	2905	[DEBUG]	Store product image relation
2023-10-13	13:15:09	2905	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:09	2905	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862397 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:09	2905	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:09	2905	[DEBUG]	Executed store
2023-10-13	13:15:09	2905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862397','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:09	2905	[DEBUG]	Checking manufacturer
2023-10-13	13:15:09	2905	[DEBUG]	Load a row
2023-10-13	13:15:09	2905	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:09	2905	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:09	2905	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:09	2905	[DEBUG]	Executed store
2023-10-13	13:15:09	2905	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:09	2905	[DEBUG]	Manufacturer exists
2023-10-13	13:15:09	2905	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:15:09	2905	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:09	2905	[DEBUG]	Executed store
2023-10-13	13:15:10	2905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862397','32')
2023-10-13	13:15:10	2905	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:10	2905	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:10	2905	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862397 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:10	2905	[DEBUG]	Store custom available field
2023-10-13	13:15:10	2905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862397,3,'',1)
2023-10-13	13:15:10	2905	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:10	2905	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:10	2905	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862397 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:10	2905	[DEBUG]	Store custom available field
2023-10-13	13:15:10	2905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862397,6,'Unitaire',3)
2023-10-13	13:15:10	2905	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:10	2905	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:10	2905	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862396
2023-10-13	13:15:10	2905	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:10	2905	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862396\":[1862396,8,1,\"choisir la taille\"],\"1862397\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862396
2023-10-13	13:15:10	2905	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:10	2905	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862397
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:10	2906	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field taille
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:10	2906	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:10	2906	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:10	2906	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:10	2906	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:10	2906	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:10	2906	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field published
2023-10-13	13:15:10	2906	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:10	2906	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field override
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:10	2906	[DEBUG]	Use field value for field slug
2023-10-13	13:15:10	2906	[DEBUG]	Process line 2906
2023-10-13	13:15:10	2906	[DEBUG]	Load a row
2023-10-13	13:15:10	2906	[DEBUG]	Processing item: A_4656_71
2023-10-13	13:15:10	2906	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:10	2906	[DEBUG]	Processing product tax
2023-10-13	13:15:10	2906	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:10	2906	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:10	2906	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:10	2906	[DEBUG]	Query for Product
2023-10-13	13:15:10	2906	[DEBUG]	Executed store
2023-10-13	13:15:10	2906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4656_71','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:10	2906	[DEBUG]	Check product language entry
2023-10-13	13:15:10	2906	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862398
2023-10-13	13:15:10	2906	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:10	2906	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4656_71' AND `virtuemart_product_id` != 1862398
2023-10-13	13:15:10	2906	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:10	2906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862398, 'A_4656_71')
2023-10-13	13:15:10	2906	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:10	2906	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-en-polyurethane-et-mousse-eva-bleu-noir' AND `virtuemart_product_id` != 1862398
2023-10-13	13:15:10	2906	[DEBUG]	Query for ProductLang
2023-10-13	13:15:10	2906	[DEBUG]	Executed store
2023-10-13	13:15:10	2906	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='52 g Si lorsque vous conduisez votre vélo, votre priorité est le confort entre vos mains, cette sangle de guidon est idéale pour vous. Fabriqué en mousse EVA et en polyuréthane, il est ergonomique, flexible et très confortable pour tous les types de parcours. - Fabriqué en mousse EVA et polyuréthane - Autoadhésif - Texture douce et très adhérente - Longueur 20 x 2000 mm - Comprend des bouchons <br>N° art fourn : CDOTBK',`product_name`='MSC Guidoline MSC en Polyuréthane et mousse EVA / Bleu-noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-en-polyurethane-et-mousse-eva-bleu-noir' WHERE `virtuemart_product_id` = '1862398'
2023-10-13	13:15:10	2906	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27923_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:10	2906	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:10	2906	[DEBUG]	Process image file
2023-10-13	13:15:10	2906	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:10	2906	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:10	2906	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27923_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:10	2906	[DEBUG]	Full name target: bcprisme/27923_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:10	2906	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:10	2906	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27923_guidoline_msc_en_polyurethane_et_mousse_eva.jpg'
2023-10-13	13:15:10	2906	[DEBUG]	Query for Media
2023-10-13	13:15:10	2906	[DEBUG]	Executed store
2023-10-13	13:15:10	2906	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27923_guidoline_msc_en_polyurethane_et_mousse_eva.jpg',`file_url_thumb`='bcprisme/27923_guidoline_msc_en_polyurethane_et_mousse_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13007'
2023-10-13	13:15:10	2906	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:10	2906	[DEBUG]	Executed store
2023-10-13	13:15:10	2906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862398','13007','1')
2023-10-13	13:15:10	2906	[DEBUG]	Store product image relation
2023-10-13	13:15:10	2906	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:10	2906	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862398 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:10	2906	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:10	2906	[DEBUG]	Executed store
2023-10-13	13:15:11	2906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862398','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:11	2906	[DEBUG]	Checking manufacturer
2023-10-13	13:15:11	2906	[DEBUG]	Load a row
2023-10-13	13:15:11	2906	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:11	2906	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:11	2906	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:11	2906	[DEBUG]	Executed store
2023-10-13	13:15:11	2906	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:11	2906	[DEBUG]	Manufacturer exists
2023-10-13	13:15:11	2906	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:15:11	2906	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:11	2906	[DEBUG]	Executed store
2023-10-13	13:15:11	2906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862398','32')
2023-10-13	13:15:11	2906	[DEBUG]	Find the custom field ID
2023-10-13	13:15:11	2906	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:11	2906	[DEBUG]	No custom field ID found
2023-10-13	13:15:11	2906	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:11	2906	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:15:11	2906	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862398 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:11	2906	[DEBUG]	Store custom available field
2023-10-13	13:15:11	2906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862398,3,'19.8447222222222',1)
2023-10-13	13:15:11	2906	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:11	2906	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:11	2906	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862398 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:11	2906	[DEBUG]	Store custom available field
2023-10-13	13:15:11	2906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862398,6,'choisir la taille',3)
2023-10-13	13:15:11	2906	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:11	2906	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:11	2906	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:11	2906	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:11	2906	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862398 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:11	2906	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:11	2906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862398,8,1)
2023-10-13	13:15:11	2906	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:11	2906	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862398\":[1862398,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862398
2023-10-13	13:15:11	2906	[DEBUG]	Checking category
2023-10-13	13:15:11	2906	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:11	2906	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862398
2023-10-13	13:15:11	2906	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:11	2906	[DEBUG]	Executed store
2023-10-13	13:15:11	2906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862398','7359')
2023-10-13	13:15:11	2906	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:11	2906	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862398 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:15:11	2906	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:11	2906	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862398
2023-10-13	13:15:11	2907	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:11	2907	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:11	2907	[DEBUG]	Use field value for field taille
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:11	2907	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:11	2907	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:11	2907	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:11	2907	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:11	2907	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:11	2907	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:11	2907	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:11	2907	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:11	2907	[DEBUG]	Use field value for field published
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:11	2907	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field override
2023-10-13	13:15:11	2907	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:11	2907	[DEBUG]	Use field value for field slug
2023-10-13	13:15:11	2907	[DEBUG]	Process line 2907
2023-10-13	13:15:11	2907	[DEBUG]	Load a row
2023-10-13	13:15:11	2907	[DEBUG]	Processing item: 8435466213190
2023-10-13	13:15:11	2907	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:11	2907	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:11	2907	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4656_71'
2023-10-13	13:15:11	2907	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:11	2907	[DEBUG]	Processing product tax
2023-10-13	13:15:11	2907	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:11	2907	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:11	2907	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:11	2907	[DEBUG]	Query for Product
2023-10-13	13:15:11	2907	[DEBUG]	Executed store
2023-10-13	13:15:11	2907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862398','8435466213190','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:11	2907	[DEBUG]	No parent found
2023-10-13	13:15:11	2907	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862398 AND customfield_value = 'stockable'
2023-10-13	13:15:11	2907	[DEBUG]	Check product language entry
2023-10-13	13:15:11	2907	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862399
2023-10-13	13:15:11	2907	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:11	2907	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213190' AND `virtuemart_product_id` != 1862399
2023-10-13	13:15:11	2907	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:11	2907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862399, '8435466213190')
2023-10-13	13:15:11	2907	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:11	2907	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-msc-en-polyurethane-et-mousse-eva-bleu-noir-unitaire' AND `virtuemart_product_id` != 1862399
2023-10-13	13:15:11	2907	[DEBUG]	Query for ProductLang
2023-10-13	13:15:11	2907	[DEBUG]	Executed store
2023-10-13	13:15:11	2907	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline MSC en Polyuréthane et mousse EVA / Bleu-noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-msc-en-polyurethane-et-mousse-eva-bleu-noir-unitaire' WHERE `virtuemart_product_id` = '1862399'
2023-10-13	13:15:11	2907	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27923_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:11	2907	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:11	2907	[DEBUG]	Process image file
2023-10-13	13:15:11	2907	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:11	2907	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:11	2907	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27923_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:11	2907	[DEBUG]	Full name target: bcprisme/27923_guidoline_msc_en_polyurethane_et_mousse_eva.jpg
2023-10-13	13:15:12	2907	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:12	2907	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27923_guidoline_msc_en_polyurethane_et_mousse_eva.jpg'
2023-10-13	13:15:12	2907	[DEBUG]	Query for Media
2023-10-13	13:15:12	2907	[DEBUG]	Executed store
2023-10-13	13:15:12	2907	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27923_guidoline_msc_en_polyurethane_et_mousse_eva.jpg',`file_url_thumb`='bcprisme/27923_guidoline_msc_en_polyurethane_et_mousse_eva.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13007'
2023-10-13	13:15:12	2907	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:12	2907	[DEBUG]	Executed store
2023-10-13	13:15:12	2907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862399','13007','1')
2023-10-13	13:15:12	2907	[DEBUG]	Store product image relation
2023-10-13	13:15:12	2907	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:12	2907	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862399 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:12	2907	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:12	2907	[DEBUG]	Executed store
2023-10-13	13:15:12	2907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862399','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:12	2907	[DEBUG]	Checking manufacturer
2023-10-13	13:15:12	2907	[DEBUG]	Load a row
2023-10-13	13:15:12	2907	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:12	2907	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:12	2907	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:12	2907	[DEBUG]	Executed store
2023-10-13	13:15:12	2907	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:12	2907	[DEBUG]	Manufacturer exists
2023-10-13	13:15:12	2907	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:15:12	2907	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:12	2907	[DEBUG]	Executed store
2023-10-13	13:15:12	2907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862399','32')
2023-10-13	13:15:12	2907	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:12	2907	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:12	2907	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862399 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:12	2907	[DEBUG]	Store custom available field
2023-10-13	13:15:12	2907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862399,3,'',1)
2023-10-13	13:15:12	2907	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:12	2907	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:12	2907	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862399 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:12	2907	[DEBUG]	Store custom available field
2023-10-13	13:15:12	2907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862399,6,'Unitaire',3)
2023-10-13	13:15:12	2907	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:12	2907	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:12	2907	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862398
2023-10-13	13:15:12	2907	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:12	2907	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862398\":[1862398,8,1,\"choisir la taille\"],\"1862399\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862398
2023-10-13	13:15:12	2907	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:12	2907	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862399
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:12	2908	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field taille
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:12	2908	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:12	2908	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:12	2908	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:12	2908	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:12	2908	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:12	2908	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field published
2023-10-13	13:15:12	2908	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:12	2908	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field override
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:12	2908	[DEBUG]	Use field value for field slug
2023-10-13	13:15:12	2908	[DEBUG]	Process line 2908
2023-10-13	13:15:12	2908	[DEBUG]	Load a row
2023-10-13	13:15:12	2908	[DEBUG]	Processing item: A_5433_12
2023-10-13	13:15:12	2908	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:12	2908	[DEBUG]	Processing product tax
2023-10-13	13:15:12	2908	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:12	2908	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:12	2908	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:12	2908	[DEBUG]	Query for Product
2023-10-13	13:15:12	2908	[DEBUG]	Executed store
2023-10-13	13:15:12	2908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5433_12','0.08','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:12	2908	[DEBUG]	Check product language entry
2023-10-13	13:15:12	2908	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862400
2023-10-13	13:15:12	2908	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:12	2908	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5433_12' AND `virtuemart_product_id` != 1862400
2023-10-13	13:15:12	2908	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:12	2908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862400, 'A_5433_12')
2023-10-13	13:15:12	2908	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:12	2908	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-guidoline-pro-powers-your-performance-blanc' AND `virtuemart_product_id` != 1862400
2023-10-13	13:15:12	2908	[DEBUG]	Query for ProductLang
2023-10-13	13:15:12	2908	[DEBUG]	Executed store
2023-10-13	13:15:12	2908	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 93.65736',`product_name`='Pro Guidoline Pro Powers Your Performance / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-guidoline-pro-powers-your-performance-blanc' WHERE `virtuemart_product_id` = '1862400'
2023-10-13	13:15:12	2908	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_65736.jpg
2023-10-13	13:15:12	2908	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:12	2908	[DEBUG]	Process image file
2023-10-13	13:15:12	2908	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:12	2908	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:12	2908	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_65736.jpg
2023-10-13	13:15:12	2908	[DEBUG]	Full name target: bcprisme/93_65736.jpg
2023-10-13	13:15:13	2908	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:13	2908	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/93_65736.jpg'
2023-10-13	13:15:13	2908	[DEBUG]	Query for Media
2023-10-13	13:15:13	2908	[DEBUG]	Executed store
2023-10-13	13:15:13	2908	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/93_65736.jpg',`file_url_thumb`='bcprisme/93_65736.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '367181'
2023-10-13	13:15:13	2908	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:13	2908	[DEBUG]	Executed store
2023-10-13	13:15:13	2908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862400','367181','1')
2023-10-13	13:15:13	2908	[DEBUG]	Store product image relation
2023-10-13	13:15:13	2908	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:13	2908	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862400 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:13	2908	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:13	2908	[DEBUG]	Executed store
2023-10-13	13:15:13	2908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862400','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:13	2908	[DEBUG]	Checking manufacturer
2023-10-13	13:15:13	2908	[DEBUG]	Load a row
2023-10-13	13:15:13	2908	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:13	2908	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:13	2908	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:13	2908	[DEBUG]	Executed store
2023-10-13	13:15:13	2908	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:13	2908	[DEBUG]	Manufacturer exists
2023-10-13	13:15:13	2908	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:15:13	2908	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:13	2908	[DEBUG]	Executed store
2023-10-13	13:15:13	2908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862400','75')
2023-10-13	13:15:13	2908	[DEBUG]	Find the custom field ID
2023-10-13	13:15:13	2908	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:13	2908	[DEBUG]	No custom field ID found
2023-10-13	13:15:13	2908	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:13	2908	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:15:13	2908	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862400 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:13	2908	[DEBUG]	Store custom available field
2023-10-13	13:15:13	2908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862400,3,'14.8586111111111',1)
2023-10-13	13:15:13	2908	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:13	2908	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:13	2908	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862400 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:13	2908	[DEBUG]	Store custom available field
2023-10-13	13:15:13	2908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862400,6,'choisir la taille',3)
2023-10-13	13:15:13	2908	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:13	2908	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:13	2908	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:13	2908	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:13	2908	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862400 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:13	2908	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:13	2908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862400,8,1)
2023-10-13	13:15:13	2908	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:13	2908	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862400\":[1862400,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862400
2023-10-13	13:15:13	2908	[DEBUG]	Checking category
2023-10-13	13:15:13	2908	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:13	2908	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862400
2023-10-13	13:15:13	2908	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:13	2908	[DEBUG]	Executed store
2023-10-13	13:15:13	2908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862400','7359')
2023-10-13	13:15:13	2908	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:13	2908	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862400 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:15:13	2908	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:13	2908	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862400
2023-10-13	13:15:13	2909	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:13	2909	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:13	2909	[DEBUG]	Use field value for field taille
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:13	2909	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:13	2909	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:13	2909	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:13	2909	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:13	2909	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:13	2909	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:13	2909	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:13	2909	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:13	2909	[DEBUG]	Use field value for field published
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:13	2909	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field override
2023-10-13	13:15:13	2909	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:13	2909	[DEBUG]	Use field value for field slug
2023-10-13	13:15:13	2909	[DEBUG]	Process line 2909
2023-10-13	13:15:13	2909	[DEBUG]	Load a row
2023-10-13	13:15:13	2909	[DEBUG]	Processing item: 8717009351577
2023-10-13	13:15:13	2909	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:13	2909	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:13	2909	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5433_12'
2023-10-13	13:15:13	2909	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:13	2909	[DEBUG]	Processing product tax
2023-10-13	13:15:13	2909	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:13	2909	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:13	2909	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:13	2909	[DEBUG]	Query for Product
2023-10-13	13:15:13	2909	[DEBUG]	Executed store
2023-10-13	13:15:13	2909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862400','8717009351577','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:13	2909	[DEBUG]	No parent found
2023-10-13	13:15:13	2909	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862400 AND customfield_value = 'stockable'
2023-10-13	13:15:13	2909	[DEBUG]	Check product language entry
2023-10-13	13:15:13	2909	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862401
2023-10-13	13:15:13	2909	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:13	2909	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717009351577' AND `virtuemart_product_id` != 1862401
2023-10-13	13:15:13	2909	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:13	2909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862401, '8717009351577')
2023-10-13	13:15:13	2909	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:13	2909	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-guidoline-pro-powers-your-performance-blanc-unitaire' AND `virtuemart_product_id` != 1862401
2023-10-13	13:15:13	2909	[DEBUG]	Query for ProductLang
2023-10-13	13:15:13	2909	[DEBUG]	Executed store
2023-10-13	13:15:13	2909	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pro Guidoline Pro Powers Your Performance / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-guidoline-pro-powers-your-performance-blanc-unitaire' WHERE `virtuemart_product_id` = '1862401'
2023-10-13	13:15:13	2909	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_65736.jpg
2023-10-13	13:15:13	2909	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:13	2909	[DEBUG]	Process image file
2023-10-13	13:15:13	2909	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:13	2909	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:13	2909	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_65736.jpg
2023-10-13	13:15:13	2909	[DEBUG]	Full name target: bcprisme/93_65736.jpg
2023-10-13	13:15:14	2909	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:14	2909	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/93_65736.jpg'
2023-10-13	13:15:14	2909	[DEBUG]	Query for Media
2023-10-13	13:15:14	2909	[DEBUG]	Executed store
2023-10-13	13:15:14	2909	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/93_65736.jpg',`file_url_thumb`='bcprisme/93_65736.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '367181'
2023-10-13	13:15:14	2909	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:14	2909	[DEBUG]	Executed store
2023-10-13	13:15:14	2909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862401','367181','1')
2023-10-13	13:15:14	2909	[DEBUG]	Store product image relation
2023-10-13	13:15:14	2909	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:14	2909	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862401 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:14	2909	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:14	2909	[DEBUG]	Executed store
2023-10-13	13:15:14	2909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862401','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:14	2909	[DEBUG]	Checking manufacturer
2023-10-13	13:15:14	2909	[DEBUG]	Load a row
2023-10-13	13:15:14	2909	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:14	2909	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:14	2909	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:14	2909	[DEBUG]	Executed store
2023-10-13	13:15:14	2909	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:14	2909	[DEBUG]	Manufacturer exists
2023-10-13	13:15:14	2909	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:15:14	2909	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:14	2909	[DEBUG]	Executed store
2023-10-13	13:15:14	2909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862401','75')
2023-10-13	13:15:14	2909	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:14	2909	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:14	2909	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862401 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:14	2909	[DEBUG]	Store custom available field
2023-10-13	13:15:14	2909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862401,3,'',1)
2023-10-13	13:15:14	2909	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:14	2909	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:14	2909	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862401 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:14	2909	[DEBUG]	Store custom available field
2023-10-13	13:15:14	2909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862401,6,'Unitaire',3)
2023-10-13	13:15:14	2909	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:14	2909	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:14	2909	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862400
2023-10-13	13:15:14	2909	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:14	2909	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862400\":[1862400,8,1,\"choisir la taille\"],\"1862401\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862400
2023-10-13	13:15:14	2909	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:14	2909	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862401
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:14	2910	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field taille
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:14	2910	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:14	2910	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:14	2910	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:14	2910	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:14	2910	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:14	2910	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field published
2023-10-13	13:15:14	2910	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:14	2910	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field override
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:14	2910	[DEBUG]	Use field value for field slug
2023-10-13	13:15:14	2910	[DEBUG]	Process line 2910
2023-10-13	13:15:14	2910	[DEBUG]	Load a row
2023-10-13	13:15:14	2910	[DEBUG]	Processing item: A_5434_236
2023-10-13	13:15:14	2910	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:14	2910	[DEBUG]	Processing product tax
2023-10-13	13:15:14	2910	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:14	2910	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:14	2910	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:14	2910	[DEBUG]	Query for Product
2023-10-13	13:15:14	2910	[DEBUG]	Executed store
2023-10-13	13:15:14	2910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5434_236','0.08','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:14	2910	[DEBUG]	Check product language entry
2023-10-13	13:15:14	2910	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862402
2023-10-13	13:15:14	2910	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:14	2910	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5434_236' AND `virtuemart_product_id` != 1862402
2023-10-13	13:15:14	2910	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:14	2910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862402, 'A_5434_236')
2023-10-13	13:15:14	2910	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:14	2910	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-pro-lenker-gel-pads-transparent-transparent' AND `virtuemart_product_id` != 1862402
2023-10-13	13:15:14	2910	[DEBUG]	Query for ProductLang
2023-10-13	13:15:14	2910	[DEBUG]	Executed store
2023-10-13	13:15:14	2910	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 93.65711',`product_name`='Pro Pro Lenker Gel Pads transparent / Transparent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-pro-lenker-gel-pads-transparent-transparent' WHERE `virtuemart_product_id` = '1862402'
2023-10-13	13:15:14	2910	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_65711.jpg
2023-10-13	13:15:14	2910	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:14	2910	[DEBUG]	Process image file
2023-10-13	13:15:14	2910	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:14	2910	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:14	2910	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_65711.jpg
2023-10-13	13:15:14	2910	[DEBUG]	Full name target: bcprisme/93_65711.jpg
2023-10-13	13:15:15	2910	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:15	2910	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/93_65711.jpg'
2023-10-13	13:15:15	2910	[DEBUG]	Query for Media
2023-10-13	13:15:15	2910	[DEBUG]	Executed store
2023-10-13	13:15:15	2910	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/93_65711.jpg',`file_url_thumb`='bcprisme/93_65711.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437213'
2023-10-13	13:15:15	2910	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:15	2910	[DEBUG]	Executed store
2023-10-13	13:15:15	2910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862402','437213','1')
2023-10-13	13:15:15	2910	[DEBUG]	Store product image relation
2023-10-13	13:15:15	2910	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:15	2910	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862402 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:15	2910	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:15	2910	[DEBUG]	Executed store
2023-10-13	13:15:15	2910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862402','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:15	2910	[DEBUG]	Checking manufacturer
2023-10-13	13:15:15	2910	[DEBUG]	Load a row
2023-10-13	13:15:15	2910	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:15	2910	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:15	2910	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:15	2910	[DEBUG]	Executed store
2023-10-13	13:15:15	2910	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:15	2910	[DEBUG]	Manufacturer exists
2023-10-13	13:15:15	2910	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:15:15	2910	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:15	2910	[DEBUG]	Executed store
2023-10-13	13:15:15	2910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862402','75')
2023-10-13	13:15:15	2910	[DEBUG]	Find the custom field ID
2023-10-13	13:15:15	2910	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:15	2910	[DEBUG]	No custom field ID found
2023-10-13	13:15:15	2910	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:15	2910	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:15:15	2910	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862402 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:15	2910	[DEBUG]	Store custom available field
2023-10-13	13:15:15	2910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862402,3,'14.8586111111111',1)
2023-10-13	13:15:15	2910	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:15	2910	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:15	2910	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862402 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:15	2910	[DEBUG]	Store custom available field
2023-10-13	13:15:15	2910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862402,6,'choisir la taille',3)
2023-10-13	13:15:15	2910	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:15	2910	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:15	2910	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:15	2910	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:15	2910	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862402 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:15	2910	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:15	2910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862402,8,1)
2023-10-13	13:15:15	2910	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:15	2910	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862402\":[1862402,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862402
2023-10-13	13:15:15	2910	[DEBUG]	Checking category
2023-10-13	13:15:15	2910	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:15	2910	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862402
2023-10-13	13:15:15	2910	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:15	2910	[DEBUG]	Executed store
2023-10-13	13:15:15	2910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862402','7359')
2023-10-13	13:15:15	2910	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:15	2910	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862402 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:15:15	2910	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:15	2910	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862402
2023-10-13	13:15:15	2911	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:15	2911	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:15	2911	[DEBUG]	Use field value for field taille
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:15	2911	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:15	2911	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:15	2911	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:15	2911	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:15	2911	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:15	2911	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:15	2911	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:15	2911	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:15	2911	[DEBUG]	Use field value for field published
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:15	2911	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field override
2023-10-13	13:15:15	2911	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:15	2911	[DEBUG]	Use field value for field slug
2023-10-13	13:15:15	2911	[DEBUG]	Process line 2911
2023-10-13	13:15:15	2911	[DEBUG]	Load a row
2023-10-13	13:15:15	2911	[DEBUG]	Processing item: 8717009351638
2023-10-13	13:15:15	2911	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:15	2911	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:15	2911	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5434_236'
2023-10-13	13:15:15	2911	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:15	2911	[DEBUG]	Processing product tax
2023-10-13	13:15:15	2911	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:15	2911	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:15	2911	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:15	2911	[DEBUG]	Query for Product
2023-10-13	13:15:15	2911	[DEBUG]	Executed store
2023-10-13	13:15:15	2911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862402','8717009351638','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:15	2911	[DEBUG]	No parent found
2023-10-13	13:15:15	2911	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862402 AND customfield_value = 'stockable'
2023-10-13	13:15:15	2911	[DEBUG]	Check product language entry
2023-10-13	13:15:15	2911	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862403
2023-10-13	13:15:15	2911	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:15	2911	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717009351638' AND `virtuemart_product_id` != 1862403
2023-10-13	13:15:15	2911	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:15	2911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862403, '8717009351638')
2023-10-13	13:15:15	2911	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:15	2911	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-pro-lenker-gel-pads-transparent-transparent-unitaire' AND `virtuemart_product_id` != 1862403
2023-10-13	13:15:15	2911	[DEBUG]	Query for ProductLang
2023-10-13	13:15:15	2911	[DEBUG]	Executed store
2023-10-13	13:15:15	2911	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pro Pro Lenker Gel Pads transparent / Transparent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-pro-lenker-gel-pads-transparent-transparent-unitaire' WHERE `virtuemart_product_id` = '1862403'
2023-10-13	13:15:15	2911	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_65711.jpg
2023-10-13	13:15:15	2911	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:15	2911	[DEBUG]	Process image file
2023-10-13	13:15:15	2911	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:15	2911	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:15	2911	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_65711.jpg
2023-10-13	13:15:15	2911	[DEBUG]	Full name target: bcprisme/93_65711.jpg
2023-10-13	13:15:16	2911	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:16	2911	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/93_65711.jpg'
2023-10-13	13:15:16	2911	[DEBUG]	Query for Media
2023-10-13	13:15:16	2911	[DEBUG]	Executed store
2023-10-13	13:15:16	2911	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/93_65711.jpg',`file_url_thumb`='bcprisme/93_65711.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437213'
2023-10-13	13:15:16	2911	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:16	2911	[DEBUG]	Executed store
2023-10-13	13:15:16	2911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862403','437213','1')
2023-10-13	13:15:16	2911	[DEBUG]	Store product image relation
2023-10-13	13:15:16	2911	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:16	2911	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862403 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:16	2911	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:16	2911	[DEBUG]	Executed store
2023-10-13	13:15:16	2911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862403','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:16	2911	[DEBUG]	Checking manufacturer
2023-10-13	13:15:16	2911	[DEBUG]	Load a row
2023-10-13	13:15:16	2911	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:16	2911	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:16	2911	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:16	2911	[DEBUG]	Executed store
2023-10-13	13:15:16	2911	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:16	2911	[DEBUG]	Manufacturer exists
2023-10-13	13:15:16	2911	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:15:16	2911	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:16	2911	[DEBUG]	Executed store
2023-10-13	13:15:16	2911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862403','75')
2023-10-13	13:15:16	2911	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:16	2911	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:16	2911	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862403 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:16	2911	[DEBUG]	Store custom available field
2023-10-13	13:15:16	2911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862403,3,'',1)
2023-10-13	13:15:16	2911	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:16	2911	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:16	2911	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862403 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:16	2911	[DEBUG]	Store custom available field
2023-10-13	13:15:16	2911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862403,6,'Unitaire',3)
2023-10-13	13:15:16	2911	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:16	2911	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:16	2911	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862402
2023-10-13	13:15:16	2911	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:16	2911	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862402\":[1862402,8,1,\"choisir la taille\"],\"1862403\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862402
2023-10-13	13:15:16	2911	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:16	2911	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862403
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:16	2912	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field taille
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:16	2912	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:16	2912	[DEBUG]	Use default value for field file_url
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:16	2912	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:16	2912	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:16	2912	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:16	2912	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:16	2912	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:16	2912	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field published
2023-10-13	13:15:16	2912	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:16	2912	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field override
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:16	2912	[DEBUG]	Use field value for field slug
2023-10-13	13:15:16	2912	[DEBUG]	Process line 2912
2023-10-13	13:15:16	2912	[DEBUG]	Load a row
2023-10-13	13:15:16	2912	[DEBUG]	Processing item: A_5649_208
2023-10-13	13:15:16	2912	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:16	2912	[DEBUG]	Processing product tax
2023-10-13	13:15:16	2912	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:16	2912	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:16	2912	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:16	2912	[DEBUG]	Query for Product
2023-10-13	13:15:16	2912	[DEBUG]	Executed store
2023-10-13	13:15:16	2912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5649_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:16	2912	[DEBUG]	Check product language entry
2023-10-13	13:15:16	2912	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862404
2023-10-13	13:15:16	2912	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:16	2912	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5649_208' AND `virtuemart_product_id` != 1862404
2023-10-13	13:15:16	2912	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:16	2912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862404, 'A_5649_208')
2023-10-13	13:15:16	2912	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:16	2912	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-pro-glip-guidon-course-contre-la-montre-missile-s-bend-clip-on-alu-noir-aucune' AND `virtuemart_product_id` != 1862404
2023-10-13	13:15:16	2912	[DEBUG]	Query for ProductLang
2023-10-13	13:15:16	2912	[DEBUG]	Executed store
2023-10-13	13:15:16	2912	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 93.62520',`product_name`='Pro PRO Glip-guidon course contre la montre Missile S-Bend Clip-on alu noir / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-pro-glip-guidon-course-contre-la-montre-missile-s-bend-clip-on-alu-noir-aucune' WHERE `virtuemart_product_id` = '1862404'
2023-10-13	13:15:16	2912	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:16	2912	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862404 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:16	2912	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:16	2912	[DEBUG]	Executed store
2023-10-13	13:15:16	2912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862404','0','162.395543175487','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:16	2912	[DEBUG]	Checking manufacturer
2023-10-13	13:15:16	2912	[DEBUG]	Load a row
2023-10-13	13:15:16	2912	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:16	2912	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:16	2912	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:16	2912	[DEBUG]	Executed store
2023-10-13	13:15:16	2912	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:16	2912	[DEBUG]	Manufacturer exists
2023-10-13	13:15:16	2912	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:15:16	2912	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:16	2912	[DEBUG]	Executed store
2023-10-13	13:15:16	2912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862404','75')
2023-10-13	13:15:16	2912	[DEBUG]	Find the custom field ID
2023-10-13	13:15:16	2912	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:16	2912	[DEBUG]	No custom field ID found
2023-10-13	13:15:16	2912	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:16	2912	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:15:16	2912	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862404 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:16	2912	[DEBUG]	Store custom available field
2023-10-13	13:15:16	2912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862404,3,'0',1)
2023-10-13	13:15:16	2912	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:16	2912	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:16	2912	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862404 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:16	2912	[DEBUG]	Store custom available field
2023-10-13	13:15:16	2912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862404,6,'choisir la taille',3)
2023-10-13	13:15:16	2912	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:16	2912	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:16	2912	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:16	2912	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:16	2912	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862404 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:16	2912	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:16	2912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862404,8,1)
2023-10-13	13:15:16	2912	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:16	2912	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862404\":[1862404,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862404
2023-10-13	13:15:16	2912	[DEBUG]	Checking category
2023-10-13	13:15:16	2912	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:16	2912	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862404
2023-10-13	13:15:16	2912	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:16	2912	[DEBUG]	Executed store
2023-10-13	13:15:16	2912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862404','7359')
2023-10-13	13:15:16	2912	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:16	2912	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862404 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:15:16	2912	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:16	2912	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862404
2023-10-13	13:15:16	2913	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:16	2913	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:16	2913	[DEBUG]	Use field value for field taille
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:16	2913	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:16	2913	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:16	2913	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field file_url
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:16	2913	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:16	2913	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:16	2913	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:16	2913	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:16	2913	[DEBUG]	Use field value for field published
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:16	2913	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field override
2023-10-13	13:15:16	2913	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:16	2913	[DEBUG]	Use field value for field slug
2023-10-13	13:15:16	2913	[DEBUG]	Process line 2913
2023-10-13	13:15:16	2913	[DEBUG]	Load a row
2023-10-13	13:15:16	2913	[DEBUG]	Processing item: 8717009339124
2023-10-13	13:15:16	2913	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:16	2913	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:16	2913	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5649_208'
2023-10-13	13:15:16	2913	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:16	2913	[DEBUG]	Processing product tax
2023-10-13	13:15:16	2913	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:16	2913	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:16	2913	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:16	2913	[DEBUG]	Query for Product
2023-10-13	13:15:16	2913	[DEBUG]	Executed store
2023-10-13	13:15:16	2913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862404','8717009339124','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:16	2913	[DEBUG]	No parent found
2023-10-13	13:15:16	2913	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862404 AND customfield_value = 'stockable'
2023-10-13	13:15:16	2913	[DEBUG]	Check product language entry
2023-10-13	13:15:16	2913	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862405
2023-10-13	13:15:16	2913	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:16	2913	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717009339124' AND `virtuemart_product_id` != 1862405
2023-10-13	13:15:16	2913	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:16	2913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862405, '8717009339124')
2023-10-13	13:15:16	2913	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:16	2913	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-pro-glip-guidon-course-contre-la-montre-missile-s-bend-clip-on-alu-noir-aucune-all' AND `virtuemart_product_id` != 1862405
2023-10-13	13:15:16	2913	[DEBUG]	Query for ProductLang
2023-10-13	13:15:16	2913	[DEBUG]	Executed store
2023-10-13	13:15:16	2913	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pro PRO Glip-guidon course contre la montre Missile S-Bend Clip-on alu noir / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-pro-glip-guidon-course-contre-la-montre-missile-s-bend-clip-on-alu-noir-aucune-all' WHERE `virtuemart_product_id` = '1862405'
2023-10-13	13:15:16	2913	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:16	2913	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862405 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:16	2913	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:16	2913	[DEBUG]	Executed store
2023-10-13	13:15:16	2913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862405','0','162.395543175487','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:16	2913	[DEBUG]	Checking manufacturer
2023-10-13	13:15:16	2913	[DEBUG]	Load a row
2023-10-13	13:15:16	2913	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:16	2913	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:16	2913	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:16	2913	[DEBUG]	Executed store
2023-10-13	13:15:16	2913	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:16	2913	[DEBUG]	Manufacturer exists
2023-10-13	13:15:16	2913	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:15:16	2913	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:16	2913	[DEBUG]	Executed store
2023-10-13	13:15:16	2913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862405','75')
2023-10-13	13:15:16	2913	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:16	2913	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:16	2913	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862405 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:16	2913	[DEBUG]	Store custom available field
2023-10-13	13:15:16	2913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862405,3,'',1)
2023-10-13	13:15:16	2913	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:16	2913	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:15:16	2913	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862405 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:16	2913	[DEBUG]	Store custom available field
2023-10-13	13:15:16	2913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862405,6,'All',3)
2023-10-13	13:15:16	2913	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:16	2913	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:16	2913	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862404
2023-10-13	13:15:16	2913	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:16	2913	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862404\":[1862404,8,1,\"choisir la taille\"],\"1862405\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862404
2023-10-13	13:15:16	2913	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:16	2913	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862405
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:16	2914	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field taille
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:16	2914	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:16	2914	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:16	2914	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:16	2914	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:16	2914	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:16	2914	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field published
2023-10-13	13:15:16	2914	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:16	2914	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field override
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:16	2914	[DEBUG]	Use field value for field slug
2023-10-13	13:15:16	2914	[DEBUG]	Process line 2914
2023-10-13	13:15:16	2914	[DEBUG]	Load a row
2023-10-13	13:15:16	2914	[DEBUG]	Processing item: A_7352_1
2023-10-13	13:15:16	2914	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:16	2914	[DEBUG]	Processing product tax
2023-10-13	13:15:16	2914	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:16	2914	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:16	2914	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:16	2914	[DEBUG]	Query for Product
2023-10-13	13:15:16	2914	[DEBUG]	Executed store
2023-10-13	13:15:16	2914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7352_1','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:16	2914	[DEBUG]	Check product language entry
2023-10-13	13:15:16	2914	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862406
2023-10-13	13:15:16	2914	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:16	2914	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7352_1' AND `virtuemart_product_id` != 1862406
2023-10-13	13:15:16	2914	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:16	2914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862406, 'A_7352_1')
2023-10-13	13:15:16	2914	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:16	2914	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-guidoline-silicone-haut-de-gamme-pour-velo-de-route-copie-noir' AND `virtuemart_product_id` != 1862406
2023-10-13	13:15:16	2914	[DEBUG]	Query for ProductLang
2023-10-13	13:15:16	2914	[DEBUG]	Executed store
2023-10-13	13:15:16	2914	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline silicone haut de gamme pour vélo de route<br>Poids : 210 gr.<br>Avec bouchons<br>30x2000mm <br><br><br>N° art fourn : 220.100.038',`product_name`='ABUS Guidoline silicone haut de gamme pour vélo de route (copie) / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-guidoline-silicone-haut-de-gamme-pour-velo-de-route-copie-noir' WHERE `virtuemart_product_id` = '1862406'
2023-10-13	13:15:16	2914	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34588_guidoline_silicone_haut_de_gamme_pour_velo_de_route_(copie).jpg
2023-10-13	13:15:16	2914	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:16	2914	[DEBUG]	Process image file
2023-10-13	13:15:16	2914	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:16	2914	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:16	2914	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34588_guidoline_silicone_haut_de_gamme_pour_velo_de_route_(copie).jpg
2023-10-13	13:15:16	2914	[DEBUG]	Full name target: bcprisme/34588_guidoline_silicone_haut_de_gamme_pour_velo_de_route_(copie).jpg
2023-10-13	13:15:17	2914	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:17	2914	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34588_guidoline_silicone_haut_de_gamme_pour_velo_de_route_(copie).jpg'
2023-10-13	13:15:17	2914	[DEBUG]	Query for Media
2023-10-13	13:15:17	2914	[DEBUG]	Executed store
2023-10-13	13:15:17	2914	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34588_guidoline_silicone_haut_de_gamme_pour_velo_de_route_(copie).jpg',`file_url_thumb`='bcprisme/34588_guidoline_silicone_haut_de_gamme_pour_velo_de_route_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '165026'
2023-10-13	13:15:17	2914	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:17	2914	[DEBUG]	Executed store
2023-10-13	13:15:17	2914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862406','165026','1')
2023-10-13	13:15:17	2914	[DEBUG]	Store product image relation
2023-10-13	13:15:17	2914	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:17	2914	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862406 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:17	2914	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:17	2914	[DEBUG]	Executed store
2023-10-13	13:15:17	2914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862406','0','42.6183844011142','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:17	2914	[DEBUG]	Checking manufacturer
2023-10-13	13:15:17	2914	[DEBUG]	Load a row
2023-10-13	13:15:17	2914	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:17	2914	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	13:15:17	2914	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:17	2914	[DEBUG]	Executed store
2023-10-13	13:15:17	2914	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	13:15:17	2914	[DEBUG]	Manufacturer exists
2023-10-13	13:15:17	2914	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	13:15:17	2914	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:17	2914	[DEBUG]	Executed store
2023-10-13	13:15:17	2914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862406','162')
2023-10-13	13:15:17	2914	[DEBUG]	Find the custom field ID
2023-10-13	13:15:17	2914	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:17	2914	[DEBUG]	No custom field ID found
2023-10-13	13:15:17	2914	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:17	2914	[DEBUG]	Get existing row with customfield value 59.7336111111111
2023-10-13	13:15:17	2914	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862406 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:17	2914	[DEBUG]	Store custom available field
2023-10-13	13:15:17	2914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862406,3,'59.7336111111111',1)
2023-10-13	13:15:17	2914	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:17	2914	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:17	2914	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862406 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:17	2914	[DEBUG]	Store custom available field
2023-10-13	13:15:17	2914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862406,6,'choisir la taille',3)
2023-10-13	13:15:17	2914	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:17	2914	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:17	2914	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:17	2914	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:17	2914	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862406 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:17	2914	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:17	2914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862406,8,1)
2023-10-13	13:15:17	2914	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:17	2914	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862406\":[1862406,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862406
2023-10-13	13:15:17	2914	[DEBUG]	Checking category
2023-10-13	13:15:17	2914	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:17	2914	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862406
2023-10-13	13:15:17	2914	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:17	2914	[DEBUG]	Executed store
2023-10-13	13:15:17	2914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862406','7359')
2023-10-13	13:15:17	2914	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:17	2914	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862406 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:15:17	2914	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:17	2914	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862406
2023-10-13	13:15:17	2915	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:17	2915	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:17	2915	[DEBUG]	Use field value for field taille
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:17	2915	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:17	2915	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:17	2915	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:17	2915	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:17	2915	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:17	2915	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:17	2915	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:17	2915	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:17	2915	[DEBUG]	Use field value for field published
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:17	2915	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field override
2023-10-13	13:15:17	2915	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:17	2915	[DEBUG]	Use field value for field slug
2023-10-13	13:15:17	2915	[DEBUG]	Process line 2915
2023-10-13	13:15:17	2915	[DEBUG]	Load a row
2023-10-13	13:15:17	2915	[DEBUG]	Processing item: 8021890466747
2023-10-13	13:15:17	2915	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:17	2915	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:17	2915	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7352_1'
2023-10-13	13:15:17	2915	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:17	2915	[DEBUG]	Processing product tax
2023-10-13	13:15:17	2915	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:17	2915	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:17	2915	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:17	2915	[DEBUG]	Query for Product
2023-10-13	13:15:17	2915	[DEBUG]	Executed store
2023-10-13	13:15:17	2915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862406','8021890466747','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:17	2915	[DEBUG]	No parent found
2023-10-13	13:15:17	2915	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862406 AND customfield_value = 'stockable'
2023-10-13	13:15:17	2915	[DEBUG]	Check product language entry
2023-10-13	13:15:17	2915	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862407
2023-10-13	13:15:17	2915	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:17	2915	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8021890466747' AND `virtuemart_product_id` != 1862407
2023-10-13	13:15:17	2915	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:17	2915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862407, '8021890466747')
2023-10-13	13:15:17	2915	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:17	2915	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'abus-guidoline-silicone-haut-de-gamme-pour-velo-de-route-copie-noir-unitaire' AND `virtuemart_product_id` != 1862407
2023-10-13	13:15:17	2915	[DEBUG]	Query for ProductLang
2023-10-13	13:15:17	2915	[DEBUG]	Executed store
2023-10-13	13:15:17	2915	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ABUS Guidoline silicone haut de gamme pour vélo de route (copie) / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='abus-guidoline-silicone-haut-de-gamme-pour-velo-de-route-copie-noir-unitaire' WHERE `virtuemart_product_id` = '1862407'
2023-10-13	13:15:17	2915	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34588_guidoline_silicone_haut_de_gamme_pour_velo_de_route_(copie).jpg
2023-10-13	13:15:17	2915	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:17	2915	[DEBUG]	Process image file
2023-10-13	13:15:17	2915	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:17	2915	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:17	2915	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34588_guidoline_silicone_haut_de_gamme_pour_velo_de_route_(copie).jpg
2023-10-13	13:15:17	2915	[DEBUG]	Full name target: bcprisme/34588_guidoline_silicone_haut_de_gamme_pour_velo_de_route_(copie).jpg
2023-10-13	13:15:18	2915	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:18	2915	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34588_guidoline_silicone_haut_de_gamme_pour_velo_de_route_(copie).jpg'
2023-10-13	13:15:18	2915	[DEBUG]	Query for Media
2023-10-13	13:15:18	2915	[DEBUG]	Executed store
2023-10-13	13:15:18	2915	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34588_guidoline_silicone_haut_de_gamme_pour_velo_de_route_(copie).jpg',`file_url_thumb`='bcprisme/34588_guidoline_silicone_haut_de_gamme_pour_velo_de_route_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '165026'
2023-10-13	13:15:18	2915	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:18	2915	[DEBUG]	Executed store
2023-10-13	13:15:18	2915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862407','165026','1')
2023-10-13	13:15:18	2915	[DEBUG]	Store product image relation
2023-10-13	13:15:18	2915	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:18	2915	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862407 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:18	2915	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:18	2915	[DEBUG]	Executed store
2023-10-13	13:15:18	2915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862407','0','42.6183844011142','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:18	2915	[DEBUG]	Checking manufacturer
2023-10-13	13:15:18	2915	[DEBUG]	Load a row
2023-10-13	13:15:18	2915	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:18	2915	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	13:15:18	2915	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:18	2915	[DEBUG]	Executed store
2023-10-13	13:15:18	2915	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-481651659860' WHERE `virtuemart_manufacturer_id` = '162'
2023-10-13	13:15:18	2915	[DEBUG]	Manufacturer exists
2023-10-13	13:15:18	2915	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 162
2023-10-13	13:15:18	2915	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:18	2915	[DEBUG]	Executed store
2023-10-13	13:15:18	2915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862407','162')
2023-10-13	13:15:18	2915	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:18	2915	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:18	2915	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862407 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:18	2915	[DEBUG]	Store custom available field
2023-10-13	13:15:18	2915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862407,3,'',1)
2023-10-13	13:15:18	2915	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:18	2915	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:18	2915	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862407 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:18	2915	[DEBUG]	Store custom available field
2023-10-13	13:15:18	2915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862407,6,'Unitaire',3)
2023-10-13	13:15:18	2915	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:18	2915	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:18	2915	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862406
2023-10-13	13:15:18	2915	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:18	2915	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862406\":[1862406,8,1,\"choisir la taille\"],\"1862407\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862406
2023-10-13	13:15:18	2915	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:18	2915	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862407
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:18	2916	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field taille
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:18	2916	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:18	2916	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:18	2916	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:18	2916	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:18	2916	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:18	2916	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field published
2023-10-13	13:15:18	2916	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:18	2916	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field override
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:18	2916	[DEBUG]	Use field value for field slug
2023-10-13	13:15:18	2916	[DEBUG]	Process line 2916
2023-10-13	13:15:18	2916	[DEBUG]	Load a row
2023-10-13	13:15:18	2916	[DEBUG]	Processing item: A_7436_65
2023-10-13	13:15:18	2916	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:18	2916	[DEBUG]	Processing product tax
2023-10-13	13:15:18	2916	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:18	2916	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:18	2916	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:18	2916	[DEBUG]	Query for Product
2023-10-13	13:15:18	2916	[DEBUG]	Executed store
2023-10-13	13:15:18	2916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7436_65','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:18	2916	[DEBUG]	Check product language entry
2023-10-13	13:15:18	2916	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862408
2023-10-13	13:15:18	2916	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:18	2916	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7436_65' AND `virtuemart_product_id` != 1862408
2023-10-13	13:15:18	2916	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:18	2916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862408, 'A_7436_65')
2023-10-13	13:15:18	2916	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:18	2916	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-fizik-superlight-tacky-touch-logo-jaune' AND `virtuemart_product_id` != 1862408
2023-10-13	13:15:18	2916	[DEBUG]	Query for ProductLang
2023-10-13	13:15:18	2916	[DEBUG]	Executed store
2023-10-13	13:15:18	2916	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC EVA<br>N° art fourn : 220.100.004',`product_name`='MSC Guidoline Fizik Superlight Tacky Touch Logo / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-fizik-superlight-tacky-touch-logo-jaune' WHERE `virtuemart_product_id` = '1862408'
2023-10-13	13:15:18	2916	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34719_guidoline_.jpg
2023-10-13	13:15:18	2916	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:18	2916	[DEBUG]	Process image file
2023-10-13	13:15:18	2916	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:18	2916	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:18	2916	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34719_guidoline_.jpg
2023-10-13	13:15:18	2916	[DEBUG]	Full name target: bcprisme/34719_guidoline_.jpg
2023-10-13	13:15:19	2916	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:19	2916	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34719_guidoline_.jpg'
2023-10-13	13:15:19	2916	[DEBUG]	Query for Media
2023-10-13	13:15:19	2916	[DEBUG]	Executed store
2023-10-13	13:15:19	2916	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34719_guidoline_.jpg',`file_url_thumb`='bcprisme/34719_guidoline_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '215880'
2023-10-13	13:15:19	2916	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:19	2916	[DEBUG]	Executed store
2023-10-13	13:15:19	2916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862408','215880','1')
2023-10-13	13:15:19	2916	[DEBUG]	Store product image relation
2023-10-13	13:15:19	2916	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:19	2916	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862408 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:19	2916	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:19	2916	[DEBUG]	Executed store
2023-10-13	13:15:19	2916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862408','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:19	2916	[DEBUG]	Checking manufacturer
2023-10-13	13:15:19	2916	[DEBUG]	Load a row
2023-10-13	13:15:19	2916	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:19	2916	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:19	2916	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:19	2916	[DEBUG]	Executed store
2023-10-13	13:15:19	2916	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:19	2916	[DEBUG]	Manufacturer exists
2023-10-13	13:15:19	2916	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:15:19	2916	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:19	2916	[DEBUG]	Executed store
2023-10-13	13:15:19	2916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862408','32')
2023-10-13	13:15:19	2916	[DEBUG]	Find the custom field ID
2023-10-13	13:15:19	2916	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:19	2916	[DEBUG]	No custom field ID found
2023-10-13	13:15:19	2916	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:19	2916	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:15:19	2916	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862408 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:19	2916	[DEBUG]	Store custom available field
2023-10-13	13:15:19	2916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862408,3,'8.87527777777778',1)
2023-10-13	13:15:19	2916	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:19	2916	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:19	2916	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862408 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:19	2916	[DEBUG]	Store custom available field
2023-10-13	13:15:19	2916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862408,6,'choisir la taille',3)
2023-10-13	13:15:19	2916	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:19	2916	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:19	2916	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:19	2916	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:19	2916	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862408 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:19	2916	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:19	2916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862408,8,1)
2023-10-13	13:15:19	2916	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:19	2916	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862408\":[1862408,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862408
2023-10-13	13:15:19	2916	[DEBUG]	Checking category
2023-10-13	13:15:19	2916	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:19	2916	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862408
2023-10-13	13:15:19	2916	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:19	2916	[DEBUG]	Executed store
2023-10-13	13:15:19	2916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862408','7359')
2023-10-13	13:15:19	2916	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:19	2916	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862408 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:15:19	2916	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:19	2916	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862408
2023-10-13	13:15:19	2917	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:19	2917	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:19	2917	[DEBUG]	Use field value for field taille
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:19	2917	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:19	2917	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:19	2917	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:19	2917	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:19	2917	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:19	2917	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:19	2917	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:19	2917	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:19	2917	[DEBUG]	Use field value for field published
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:19	2917	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field override
2023-10-13	13:15:19	2917	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:19	2917	[DEBUG]	Use field value for field slug
2023-10-13	13:15:19	2917	[DEBUG]	Process line 2917
2023-10-13	13:15:19	2917	[DEBUG]	Load a row
2023-10-13	13:15:19	2917	[DEBUG]	Processing item: 8021890422347
2023-10-13	13:15:19	2917	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:19	2917	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:19	2917	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7436_65'
2023-10-13	13:15:19	2917	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:19	2917	[DEBUG]	Processing product tax
2023-10-13	13:15:19	2917	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:19	2917	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:19	2917	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:19	2917	[DEBUG]	Query for Product
2023-10-13	13:15:19	2917	[DEBUG]	Executed store
2023-10-13	13:15:19	2917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862408','8021890422347','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:19	2917	[DEBUG]	No parent found
2023-10-13	13:15:19	2917	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862408 AND customfield_value = 'stockable'
2023-10-13	13:15:19	2917	[DEBUG]	Check product language entry
2023-10-13	13:15:19	2917	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862409
2023-10-13	13:15:19	2917	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:19	2917	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8021890422347' AND `virtuemart_product_id` != 1862409
2023-10-13	13:15:19	2917	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:19	2917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862409, '8021890422347')
2023-10-13	13:15:19	2917	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:19	2917	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-fizik-superlight-tacky-touch-logo-jaune-unitaire' AND `virtuemart_product_id` != 1862409
2023-10-13	13:15:19	2917	[DEBUG]	Query for ProductLang
2023-10-13	13:15:19	2917	[DEBUG]	Executed store
2023-10-13	13:15:19	2917	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline Fizik Superlight Tacky Touch Logo / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-fizik-superlight-tacky-touch-logo-jaune-unitaire' WHERE `virtuemart_product_id` = '1862409'
2023-10-13	13:15:19	2917	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34719_guidoline_.jpg
2023-10-13	13:15:19	2917	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:19	2917	[DEBUG]	Process image file
2023-10-13	13:15:19	2917	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:19	2917	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:19	2917	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34719_guidoline_.jpg
2023-10-13	13:15:19	2917	[DEBUG]	Full name target: bcprisme/34719_guidoline_.jpg
2023-10-13	13:15:20	2917	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:20	2917	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34719_guidoline_.jpg'
2023-10-13	13:15:20	2917	[DEBUG]	Query for Media
2023-10-13	13:15:20	2917	[DEBUG]	Executed store
2023-10-13	13:15:20	2917	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34719_guidoline_.jpg',`file_url_thumb`='bcprisme/34719_guidoline_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '215880'
2023-10-13	13:15:20	2917	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:20	2917	[DEBUG]	Executed store
2023-10-13	13:15:20	2917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862409','215880','1')
2023-10-13	13:15:20	2917	[DEBUG]	Store product image relation
2023-10-13	13:15:20	2917	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:20	2917	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862409 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:20	2917	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:20	2917	[DEBUG]	Executed store
2023-10-13	13:15:20	2917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862409','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:20	2917	[DEBUG]	Checking manufacturer
2023-10-13	13:15:20	2917	[DEBUG]	Load a row
2023-10-13	13:15:20	2917	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:20	2917	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:20	2917	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:20	2917	[DEBUG]	Executed store
2023-10-13	13:15:20	2917	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:20	2917	[DEBUG]	Manufacturer exists
2023-10-13	13:15:20	2917	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:15:20	2917	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:20	2917	[DEBUG]	Executed store
2023-10-13	13:15:20	2917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862409','32')
2023-10-13	13:15:20	2917	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:20	2917	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:20	2917	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862409 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:20	2917	[DEBUG]	Store custom available field
2023-10-13	13:15:20	2917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862409,3,'',1)
2023-10-13	13:15:20	2917	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:20	2917	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:20	2917	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862409 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:20	2917	[DEBUG]	Store custom available field
2023-10-13	13:15:20	2917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862409,6,'Unitaire',3)
2023-10-13	13:15:20	2917	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:20	2917	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:20	2917	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862408
2023-10-13	13:15:20	2917	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:20	2917	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862408\":[1862408,8,1,\"choisir la taille\"],\"1862409\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862408
2023-10-13	13:15:20	2917	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:20	2917	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862409
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:20	2918	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field taille
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:20	2918	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:20	2918	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:20	2918	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:20	2918	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:20	2918	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:20	2918	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field published
2023-10-13	13:15:20	2918	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:20	2918	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field override
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:20	2918	[DEBUG]	Use field value for field slug
2023-10-13	13:15:20	2918	[DEBUG]	Process line 2918
2023-10-13	13:15:20	2918	[DEBUG]	Load a row
2023-10-13	13:15:20	2918	[DEBUG]	Processing item: A_7585_1
2023-10-13	13:15:20	2918	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:20	2918	[DEBUG]	Processing product tax
2023-10-13	13:15:20	2918	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:20	2918	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:20	2918	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:20	2918	[DEBUG]	Query for Product
2023-10-13	13:15:20	2918	[DEBUG]	Executed store
2023-10-13	13:15:20	2918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7585_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:20	2918	[DEBUG]	Check product language entry
2023-10-13	13:15:20	2918	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862410
2023-10-13	13:15:20	2918	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:20	2918	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7585_1' AND `virtuemart_product_id` != 1862410
2023-10-13	13:15:20	2918	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:20	2918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862410, 'A_7585_1')
2023-10-13	13:15:20	2918	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:20	2918	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-fizik-superlight-split-touch-classic-noir' AND `virtuemart_product_id` != 1862410
2023-10-13	13:15:20	2918	[DEBUG]	Query for ProductLang
2023-10-13	13:15:20	2918	[DEBUG]	Executed store
2023-10-13	13:15:20	2918	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline MSC EVA<br>N° art fourn : 220.100.002',`product_name`='MSC Guidoline Fizik Superlight Split Touch Classic / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-fizik-superlight-split-touch-classic-noir' WHERE `virtuemart_product_id` = '1862410'
2023-10-13	13:15:20	2918	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35022_guidoline_fizik_superlight_split_touch_classic.png
2023-10-13	13:15:20	2918	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000003ee
2023-10-13	13:15:20	2918	[DEBUG]	Process image file
2023-10-13	13:15:20	2918	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000003ee
2023-10-13	13:15:20	2918	[DEBUG]	Mime type found: image/png
2023-10-13	13:15:20	2918	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35022_guidoline_fizik_superlight_split_touch_classic.png
2023-10-13	13:15:20	2918	[DEBUG]	Full name target: bcprisme/35022_guidoline_fizik_superlight_split_touch_classic.png
2023-10-13	13:15:21	2918	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:21	2918	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35022_guidoline_fizik_superlight_split_touch_classic.png'
2023-10-13	13:15:21	2918	[DEBUG]	Query for Media
2023-10-13	13:15:21	2918	[DEBUG]	Executed store
2023-10-13	13:15:21	2918	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/35022_guidoline_fizik_superlight_split_touch_classic.png',`file_url_thumb`='bcprisme/35022_guidoline_fizik_superlight_split_touch_classic.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '330798'
2023-10-13	13:15:21	2918	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:21	2918	[DEBUG]	Executed store
2023-10-13	13:15:21	2918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862410','330798','1')
2023-10-13	13:15:21	2918	[DEBUG]	Store product image relation
2023-10-13	13:15:21	2918	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:21	2918	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862410 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:21	2918	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:21	2918	[DEBUG]	Executed store
2023-10-13	13:15:21	2918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862410','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:21	2918	[DEBUG]	Checking manufacturer
2023-10-13	13:15:21	2918	[DEBUG]	Load a row
2023-10-13	13:15:21	2918	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:21	2918	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:21	2918	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:21	2918	[DEBUG]	Executed store
2023-10-13	13:15:21	2918	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:21	2918	[DEBUG]	Manufacturer exists
2023-10-13	13:15:21	2918	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:15:21	2918	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:21	2918	[DEBUG]	Executed store
2023-10-13	13:15:21	2918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862410','32')
2023-10-13	13:15:21	2918	[DEBUG]	Find the custom field ID
2023-10-13	13:15:21	2918	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:21	2918	[DEBUG]	No custom field ID found
2023-10-13	13:15:21	2918	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:21	2918	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:15:21	2918	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862410 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:21	2918	[DEBUG]	Store custom available field
2023-10-13	13:15:21	2918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862410,3,'8.87527777777778',1)
2023-10-13	13:15:21	2918	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:21	2918	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:21	2918	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862410 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:21	2918	[DEBUG]	Store custom available field
2023-10-13	13:15:21	2918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862410,6,'choisir la taille',3)
2023-10-13	13:15:21	2918	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:21	2918	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:21	2918	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:21	2918	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:21	2918	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862410 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:21	2918	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:21	2918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862410,8,1)
2023-10-13	13:15:21	2918	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:21	2918	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862410\":[1862410,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862410
2023-10-13	13:15:21	2918	[DEBUG]	Checking category
2023-10-13	13:15:21	2918	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:21	2918	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862410
2023-10-13	13:15:21	2918	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:21	2918	[DEBUG]	Executed store
2023-10-13	13:15:21	2918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862410','7359')
2023-10-13	13:15:21	2918	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:21	2918	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862410 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:15:21	2918	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:21	2918	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862410
2023-10-13	13:15:21	2919	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:21	2919	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:21	2919	[DEBUG]	Use field value for field taille
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:21	2919	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:21	2919	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:21	2919	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:21	2919	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:21	2919	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:21	2919	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:21	2919	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:21	2919	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:21	2919	[DEBUG]	Use field value for field published
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:21	2919	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field override
2023-10-13	13:15:21	2919	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:21	2919	[DEBUG]	Use field value for field slug
2023-10-13	13:15:21	2919	[DEBUG]	Process line 2919
2023-10-13	13:15:21	2919	[DEBUG]	Load a row
2023-10-13	13:15:21	2919	[DEBUG]	Processing item: 8021890405548
2023-10-13	13:15:21	2919	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:21	2919	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:21	2919	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7585_1'
2023-10-13	13:15:21	2919	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:21	2919	[DEBUG]	Processing product tax
2023-10-13	13:15:21	2919	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:21	2919	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:21	2919	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:21	2919	[DEBUG]	Query for Product
2023-10-13	13:15:21	2919	[DEBUG]	Executed store
2023-10-13	13:15:21	2919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862410','8021890405548','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:21	2919	[DEBUG]	No parent found
2023-10-13	13:15:21	2919	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862410 AND customfield_value = 'stockable'
2023-10-13	13:15:21	2919	[DEBUG]	Check product language entry
2023-10-13	13:15:21	2919	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862411
2023-10-13	13:15:21	2919	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:21	2919	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8021890405548' AND `virtuemart_product_id` != 1862411
2023-10-13	13:15:21	2919	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:21	2919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862411, '8021890405548')
2023-10-13	13:15:21	2919	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:21	2919	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-guidoline-fizik-superlight-split-touch-classic-noir-unitaire' AND `virtuemart_product_id` != 1862411
2023-10-13	13:15:21	2919	[DEBUG]	Query for ProductLang
2023-10-13	13:15:21	2919	[DEBUG]	Executed store
2023-10-13	13:15:21	2919	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Guidoline Fizik Superlight Split Touch Classic / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-guidoline-fizik-superlight-split-touch-classic-noir-unitaire' WHERE `virtuemart_product_id` = '1862411'
2023-10-13	13:15:21	2919	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35022_guidoline_fizik_superlight_split_touch_classic.png
2023-10-13	13:15:21	2919	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000003ee
2023-10-13	13:15:21	2919	[DEBUG]	Process image file
2023-10-13	13:15:21	2919	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000003ee
2023-10-13	13:15:21	2919	[DEBUG]	Mime type found: image/png
2023-10-13	13:15:21	2919	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35022_guidoline_fizik_superlight_split_touch_classic.png
2023-10-13	13:15:21	2919	[DEBUG]	Full name target: bcprisme/35022_guidoline_fizik_superlight_split_touch_classic.png
2023-10-13	13:15:22	2919	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:22	2919	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35022_guidoline_fizik_superlight_split_touch_classic.png'
2023-10-13	13:15:22	2919	[DEBUG]	Query for Media
2023-10-13	13:15:22	2919	[DEBUG]	Executed store
2023-10-13	13:15:22	2919	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/35022_guidoline_fizik_superlight_split_touch_classic.png',`file_url_thumb`='bcprisme/35022_guidoline_fizik_superlight_split_touch_classic.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '330798'
2023-10-13	13:15:22	2919	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:22	2919	[DEBUG]	Executed store
2023-10-13	13:15:22	2919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862411','330798','1')
2023-10-13	13:15:22	2919	[DEBUG]	Store product image relation
2023-10-13	13:15:22	2919	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:22	2919	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862411 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:22	2919	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:22	2919	[DEBUG]	Executed store
2023-10-13	13:15:22	2919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862411','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:22	2919	[DEBUG]	Checking manufacturer
2023-10-13	13:15:22	2919	[DEBUG]	Load a row
2023-10-13	13:15:22	2919	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:22	2919	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:22	2919	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:22	2919	[DEBUG]	Executed store
2023-10-13	13:15:22	2919	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:15:22	2919	[DEBUG]	Manufacturer exists
2023-10-13	13:15:22	2919	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:15:22	2919	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:22	2919	[DEBUG]	Executed store
2023-10-13	13:15:22	2919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862411','32')
2023-10-13	13:15:22	2919	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:22	2919	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:22	2919	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862411 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:22	2919	[DEBUG]	Store custom available field
2023-10-13	13:15:22	2919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862411,3,'',1)
2023-10-13	13:15:22	2919	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:22	2919	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:22	2919	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862411 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:22	2919	[DEBUG]	Store custom available field
2023-10-13	13:15:22	2919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862411,6,'Unitaire',3)
2023-10-13	13:15:22	2919	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:22	2919	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:22	2919	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862410
2023-10-13	13:15:22	2919	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:22	2919	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862410\":[1862410,8,1,\"choisir la taille\"],\"1862411\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862410
2023-10-13	13:15:22	2919	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:22	2919	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862411
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:22	2920	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field taille
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:22	2920	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:22	2920	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:22	2920	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:22	2920	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:22	2920	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:22	2920	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:22	2920	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field published
2023-10-13	13:15:22	2920	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:22	2920	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field override
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:22	2920	[DEBUG]	Use field value for field slug
2023-10-13	13:15:22	2920	[DEBUG]	Process line 2920
2023-10-13	13:15:22	2920	[DEBUG]	Load a row
2023-10-13	13:15:22	2920	[DEBUG]	Processing item: A_8930_1
2023-10-13	13:15:22	2920	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:22	2920	[DEBUG]	Processing product tax
2023-10-13	13:15:22	2920	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:22	2920	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:22	2920	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:22	2920	[DEBUG]	Query for Product
2023-10-13	13:15:22	2920	[DEBUG]	Executed store
2023-10-13	13:15:22	2920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8930_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:22	2920	[DEBUG]	Check product language entry
2023-10-13	13:15:22	2920	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862412
2023-10-13	13:15:22	2920	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:22	2920	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8930_1' AND `virtuemart_product_id` != 1862412
2023-10-13	13:15:22	2920	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:22	2920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862412, 'A_8930_1')
2023-10-13	13:15:22	2920	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:22	2920	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-guidoline-race-comfort-3mm-noir-noir' AND `virtuemart_product_id` != 1862412
2023-10-13	13:15:22	2920	[DEBUG]	Query for ProductLang
2023-10-13	13:15:22	2920	[DEBUG]	Executed store
2023-10-13	13:15:22	2920	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 93.74485',`product_name`='Pro Guidoline Race comfort 3mm noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-guidoline-race-comfort-3mm-noir-noir' WHERE `virtuemart_product_id` = '1862412'
2023-10-13	13:15:22	2920	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_74485_jpg.jpg has not been found.
2023-10-13	13:15:22	2920	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:22	2920	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862412 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:22	2920	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:22	2920	[DEBUG]	Executed store
2023-10-13	13:15:22	2920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862412','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:22	2920	[DEBUG]	Checking manufacturer
2023-10-13	13:15:22	2920	[DEBUG]	Load a row
2023-10-13	13:15:22	2920	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:22	2920	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:22	2920	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:22	2920	[DEBUG]	Executed store
2023-10-13	13:15:22	2920	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:22	2920	[DEBUG]	Manufacturer exists
2023-10-13	13:15:22	2920	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:15:22	2920	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:22	2920	[DEBUG]	Executed store
2023-10-13	13:15:22	2920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862412','75')
2023-10-13	13:15:22	2920	[DEBUG]	Find the custom field ID
2023-10-13	13:15:22	2920	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:22	2920	[DEBUG]	No custom field ID found
2023-10-13	13:15:22	2920	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:22	2920	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:15:22	2920	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862412 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:22	2920	[DEBUG]	Store custom available field
2023-10-13	13:15:22	2920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862412,3,'0',1)
2023-10-13	13:15:22	2920	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:22	2920	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:22	2920	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862412 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:22	2920	[DEBUG]	Store custom available field
2023-10-13	13:15:22	2920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862412,6,'choisir la taille',3)
2023-10-13	13:15:22	2920	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:22	2920	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:22	2920	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:22	2920	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:22	2920	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862412 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:22	2920	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:22	2920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862412,8,1)
2023-10-13	13:15:22	2920	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:22	2920	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862412\":[1862412,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862412
2023-10-13	13:15:22	2920	[DEBUG]	Checking category
2023-10-13	13:15:22	2920	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:22	2920	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862412
2023-10-13	13:15:22	2920	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:22	2920	[DEBUG]	Executed store
2023-10-13	13:15:22	2920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862412','7359')
2023-10-13	13:15:22	2920	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:22	2920	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862412 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:15:22	2920	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:22	2920	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862412
2023-10-13	13:15:22	2921	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:22	2921	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:22	2921	[DEBUG]	Use field value for field taille
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:22	2921	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:22	2921	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:22	2921	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:22	2921	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:22	2921	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:22	2921	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:22	2921	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:22	2921	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:22	2921	[DEBUG]	Use field value for field published
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:22	2921	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field override
2023-10-13	13:15:22	2921	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:22	2921	[DEBUG]	Use field value for field slug
2023-10-13	13:15:22	2921	[DEBUG]	Process line 2921
2023-10-13	13:15:22	2921	[DEBUG]	Load a row
2023-10-13	13:15:22	2921	[DEBUG]	Processing item: 8717009390361
2023-10-13	13:15:22	2921	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:22	2921	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:22	2921	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8930_1'
2023-10-13	13:15:22	2921	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:22	2921	[DEBUG]	Processing product tax
2023-10-13	13:15:22	2921	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:22	2921	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:22	2921	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:22	2921	[DEBUG]	Query for Product
2023-10-13	13:15:22	2921	[DEBUG]	Executed store
2023-10-13	13:15:22	2921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862412','8717009390361','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:22	2921	[DEBUG]	No parent found
2023-10-13	13:15:22	2921	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862412 AND customfield_value = 'stockable'
2023-10-13	13:15:22	2921	[DEBUG]	Check product language entry
2023-10-13	13:15:22	2921	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862413
2023-10-13	13:15:22	2921	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:22	2921	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717009390361' AND `virtuemart_product_id` != 1862413
2023-10-13	13:15:22	2921	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:22	2921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862413, '8717009390361')
2023-10-13	13:15:22	2921	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:22	2921	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-guidoline-race-comfort-3mm-noir-noir-unitaire' AND `virtuemart_product_id` != 1862413
2023-10-13	13:15:22	2921	[DEBUG]	Query for ProductLang
2023-10-13	13:15:22	2921	[DEBUG]	Executed store
2023-10-13	13:15:22	2921	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pro Guidoline Race comfort 3mm noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-guidoline-race-comfort-3mm-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1862413'
2023-10-13	13:15:22	2921	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_74485_jpg.jpg has not been found.
2023-10-13	13:15:22	2921	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:22	2921	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862413 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:22	2921	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:22	2921	[DEBUG]	Executed store
2023-10-13	13:15:22	2921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862413','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:22	2921	[DEBUG]	Checking manufacturer
2023-10-13	13:15:22	2921	[DEBUG]	Load a row
2023-10-13	13:15:22	2921	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:22	2921	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:22	2921	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:22	2921	[DEBUG]	Executed store
2023-10-13	13:15:22	2921	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:22	2921	[DEBUG]	Manufacturer exists
2023-10-13	13:15:22	2921	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:15:22	2921	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:22	2921	[DEBUG]	Executed store
2023-10-13	13:15:22	2921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862413','75')
2023-10-13	13:15:22	2921	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:22	2921	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:22	2921	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862413 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:22	2921	[DEBUG]	Store custom available field
2023-10-13	13:15:22	2921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862413,3,'',1)
2023-10-13	13:15:22	2921	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:22	2921	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:22	2921	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862413 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:22	2921	[DEBUG]	Store custom available field
2023-10-13	13:15:22	2921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862413,6,'Unitaire',3)
2023-10-13	13:15:22	2921	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:22	2921	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:22	2921	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862412
2023-10-13	13:15:22	2921	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:22	2921	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862412\":[1862412,8,1,\"choisir la taille\"],\"1862413\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862412
2023-10-13	13:15:22	2921	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:22	2921	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862413
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:22	2922	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field taille
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:22	2922	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:22	2922	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:22	2922	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:22	2922	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:22	2922	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:22	2922	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field published
2023-10-13	13:15:22	2922	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:22	2922	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field override
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:22	2922	[DEBUG]	Use field value for field slug
2023-10-13	13:15:22	2922	[DEBUG]	Process line 2922
2023-10-13	13:15:22	2922	[DEBUG]	Load a row
2023-10-13	13:15:22	2922	[DEBUG]	Processing item: A_9559_207
2023-10-13	13:15:22	2922	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:22	2922	[DEBUG]	Processing product tax
2023-10-13	13:15:22	2922	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:22	2922	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:22	2922	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:22	2922	[DEBUG]	Query for Product
2023-10-13	13:15:22	2922	[DEBUG]	Executed store
2023-10-13	13:15:22	2922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9559_207','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:22	2922	[DEBUG]	Check product language entry
2023-10-13	13:15:22	2922	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862414
2023-10-13	13:15:22	2922	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:22	2922	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9559_207' AND `virtuemart_product_id` != 1862414
2023-10-13	13:15:22	2922	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:22	2922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862414, 'A_9559_207')
2023-10-13	13:15:22	2922	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:22	2922	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ciclovation-guidoline-leather-touch-fusion-3-0-mm-x-2000-pink' AND `virtuemart_product_id` != 1862414
2023-10-13	13:15:22	2922	[DEBUG]	Query for ProductLang
2023-10-13	13:15:22	2922	[DEBUG]	Executed store
2023-10-13	13:15:22	2922	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline silicone haut de gamme pour vélo de route<br>Poids : 210 gr.<br>Avec bouchons<br>30x2000mm <br><br><br>N° art fourn : 25.123.252',`product_name`='Ciclovation Guidoline Leather Touch Fusion 3.0 mm x 2000 / Pink',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ciclovation-guidoline-leather-touch-fusion-3-0-mm-x-2000-pink' WHERE `virtuemart_product_id` = '1862414'
2023-10-13	13:15:22	2922	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38928_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg
2023-10-13	13:15:22	2922	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:22	2922	[DEBUG]	Process image file
2023-10-13	13:15:22	2922	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:22	2922	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:22	2922	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38928_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg
2023-10-13	13:15:22	2922	[DEBUG]	Full name target: bcprisme/38928_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg
2023-10-13	13:15:23	2922	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:23	2922	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38928_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg'
2023-10-13	13:15:23	2922	[DEBUG]	Query for Media
2023-10-13	13:15:23	2922	[DEBUG]	Executed store
2023-10-13	13:15:23	2922	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38928_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg',`file_url_thumb`='bcprisme/38928_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1479113'
2023-10-13	13:15:23	2922	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:23	2922	[DEBUG]	Executed store
2023-10-13	13:15:23	2922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862414','1479113','1')
2023-10-13	13:15:23	2922	[DEBUG]	Store product image relation
2023-10-13	13:15:23	2922	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:23	2922	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862414 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:23	2922	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:23	2922	[DEBUG]	Executed store
2023-10-13	13:15:23	2922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862414','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:23	2922	[DEBUG]	Checking manufacturer
2023-10-13	13:15:23	2922	[DEBUG]	Load a row
2023-10-13	13:15:23	2922	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:23	2922	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '295'
2023-10-13	13:15:23	2922	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:23	2922	[DEBUG]	Executed store
2023-10-13	13:15:23	2922	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Truvativ',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='truvativ' WHERE `virtuemart_manufacturer_id` = '295'
2023-10-13	13:15:23	2922	[DEBUG]	Manufacturer exists
2023-10-13	13:15:23	2922	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 295
2023-10-13	13:15:23	2922	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:23	2922	[DEBUG]	Executed store
2023-10-13	13:15:23	2922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862414','295')
2023-10-13	13:15:23	2922	[DEBUG]	Find the custom field ID
2023-10-13	13:15:23	2922	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:23	2922	[DEBUG]	No custom field ID found
2023-10-13	13:15:23	2922	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:23	2922	[DEBUG]	Get existing row with customfield value 59.7336111111111
2023-10-13	13:15:23	2922	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862414 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:23	2922	[DEBUG]	Store custom available field
2023-10-13	13:15:23	2922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862414,3,'59.7336111111111',1)
2023-10-13	13:15:23	2922	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:23	2922	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:23	2922	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862414 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:23	2922	[DEBUG]	Store custom available field
2023-10-13	13:15:23	2922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862414,6,'choisir la taille',3)
2023-10-13	13:15:23	2922	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:23	2922	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:23	2922	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:23	2922	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:23	2922	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862414 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:23	2922	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:23	2922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862414,8,1)
2023-10-13	13:15:23	2922	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:23	2922	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862414\":[1862414,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862414
2023-10-13	13:15:23	2922	[DEBUG]	Checking category
2023-10-13	13:15:23	2922	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:23	2922	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862414
2023-10-13	13:15:23	2922	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:23	2922	[DEBUG]	Executed store
2023-10-13	13:15:23	2922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862414','7359')
2023-10-13	13:15:23	2922	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:23	2922	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862414 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:15:23	2922	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:23	2922	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862414
2023-10-13	13:15:23	2923	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:23	2923	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:23	2923	[DEBUG]	Use field value for field taille
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:23	2923	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:23	2923	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:23	2923	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:23	2923	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:23	2923	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:23	2923	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:23	2923	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:23	2923	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:23	2923	[DEBUG]	Use field value for field published
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:23	2923	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field override
2023-10-13	13:15:23	2923	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:23	2923	[DEBUG]	Use field value for field slug
2023-10-13	13:15:23	2923	[DEBUG]	Process line 2923
2023-10-13	13:15:23	2923	[DEBUG]	Load a row
2023-10-13	13:15:23	2923	[DEBUG]	Processing item: 4713057602887
2023-10-13	13:15:23	2923	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:23	2923	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:23	2923	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9559_207'
2023-10-13	13:15:23	2923	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:23	2923	[DEBUG]	Processing product tax
2023-10-13	13:15:23	2923	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:23	2923	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:23	2923	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:23	2923	[DEBUG]	Query for Product
2023-10-13	13:15:23	2923	[DEBUG]	Executed store
2023-10-13	13:15:23	2923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862414','4713057602887','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:23	2923	[DEBUG]	No parent found
2023-10-13	13:15:23	2923	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862414 AND customfield_value = 'stockable'
2023-10-13	13:15:23	2923	[DEBUG]	Check product language entry
2023-10-13	13:15:23	2923	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862415
2023-10-13	13:15:23	2923	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:23	2923	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713057602887' AND `virtuemart_product_id` != 1862415
2023-10-13	13:15:23	2923	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:23	2923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862415, '4713057602887')
2023-10-13	13:15:23	2923	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:23	2923	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ciclovation-guidoline-leather-touch-fusion-3-0-mm-x-2000-pink-unitaire' AND `virtuemart_product_id` != 1862415
2023-10-13	13:15:23	2923	[DEBUG]	Query for ProductLang
2023-10-13	13:15:23	2923	[DEBUG]	Executed store
2023-10-13	13:15:23	2923	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Ciclovation Guidoline Leather Touch Fusion 3.0 mm x 2000 / Pink (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ciclovation-guidoline-leather-touch-fusion-3-0-mm-x-2000-pink-unitaire' WHERE `virtuemart_product_id` = '1862415'
2023-10-13	13:15:23	2923	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38928_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg
2023-10-13	13:15:23	2923	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:23	2923	[DEBUG]	Process image file
2023-10-13	13:15:23	2923	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:23	2923	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:23	2923	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38928_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg
2023-10-13	13:15:23	2923	[DEBUG]	Full name target: bcprisme/38928_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg
2023-10-13	13:15:24	2923	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:24	2923	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38928_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg'
2023-10-13	13:15:24	2923	[DEBUG]	Query for Media
2023-10-13	13:15:24	2923	[DEBUG]	Executed store
2023-10-13	13:15:24	2923	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38928_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg',`file_url_thumb`='bcprisme/38928_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1479113'
2023-10-13	13:15:24	2923	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:24	2923	[DEBUG]	Executed store
2023-10-13	13:15:24	2923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862415','1479113','1')
2023-10-13	13:15:24	2923	[DEBUG]	Store product image relation
2023-10-13	13:15:24	2923	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:24	2923	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862415 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:24	2923	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:24	2923	[DEBUG]	Executed store
2023-10-13	13:15:24	2923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862415','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:24	2923	[DEBUG]	Checking manufacturer
2023-10-13	13:15:24	2923	[DEBUG]	Load a row
2023-10-13	13:15:24	2923	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:24	2923	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '295'
2023-10-13	13:15:24	2923	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:24	2923	[DEBUG]	Executed store
2023-10-13	13:15:24	2923	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Truvativ',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='truvativ' WHERE `virtuemart_manufacturer_id` = '295'
2023-10-13	13:15:24	2923	[DEBUG]	Manufacturer exists
2023-10-13	13:15:24	2923	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 295
2023-10-13	13:15:24	2923	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:24	2923	[DEBUG]	Executed store
2023-10-13	13:15:24	2923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862415','295')
2023-10-13	13:15:24	2923	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:24	2923	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:24	2923	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862415 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:24	2923	[DEBUG]	Store custom available field
2023-10-13	13:15:24	2923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862415,3,'',1)
2023-10-13	13:15:24	2923	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:24	2923	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:24	2923	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862415 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:24	2923	[DEBUG]	Store custom available field
2023-10-13	13:15:24	2923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862415,6,'Unitaire',3)
2023-10-13	13:15:24	2923	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:24	2923	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:24	2923	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862414
2023-10-13	13:15:24	2923	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:24	2923	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862414\":[1862414,8,1,\"choisir la taille\"],\"1862415\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862414
2023-10-13	13:15:24	2923	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:24	2923	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862415
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:24	2924	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field taille
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:24	2924	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:24	2924	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:24	2924	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:24	2924	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:24	2924	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:24	2924	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field published
2023-10-13	13:15:24	2924	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:24	2924	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field override
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:24	2924	[DEBUG]	Use field value for field slug
2023-10-13	13:15:24	2924	[DEBUG]	Process line 2924
2023-10-13	13:15:24	2924	[DEBUG]	Load a row
2023-10-13	13:15:24	2924	[DEBUG]	Processing item: A_9559_808
2023-10-13	13:15:24	2924	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:24	2924	[DEBUG]	Processing product tax
2023-10-13	13:15:24	2924	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:24	2924	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:24	2924	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:24	2924	[DEBUG]	Query for Product
2023-10-13	13:15:24	2924	[DEBUG]	Executed store
2023-10-13	13:15:24	2924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9559_808','0.21','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:24	2924	[DEBUG]	Check product language entry
2023-10-13	13:15:24	2924	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862416
2023-10-13	13:15:24	2924	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:24	2924	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9559_808' AND `virtuemart_product_id` != 1862416
2023-10-13	13:15:24	2924	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:24	2924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862416, 'A_9559_808')
2023-10-13	13:15:24	2924	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:24	2924	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ciclovation-guidoline-leather-touch-fusion-3-0-mm-x-2000-metallic-gold' AND `virtuemart_product_id` != 1862416
2023-10-13	13:15:24	2924	[DEBUG]	Query for ProductLang
2023-10-13	13:15:24	2924	[DEBUG]	Executed store
2023-10-13	13:15:24	2924	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Guidoline silicone haut de gamme pour vélo de route<br>Poids : 210 gr.<br>Avec bouchons<br>30x2000mm <br><br><br>N° art fourn : 25.123.252',`product_name`='Ciclovation Guidoline Leather Touch Fusion 3.0 mm x 2000 / Metallic-Gold',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ciclovation-guidoline-leather-touch-fusion-3-0-mm-x-2000-metallic-gold' WHERE `virtuemart_product_id` = '1862416'
2023-10-13	13:15:24	2924	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38929_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg
2023-10-13	13:15:24	2924	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:24	2924	[DEBUG]	Process image file
2023-10-13	13:15:24	2924	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:24	2924	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:24	2924	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38929_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg
2023-10-13	13:15:24	2924	[DEBUG]	Full name target: bcprisme/38929_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg
2023-10-13	13:15:25	2924	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:25	2924	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38929_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg'
2023-10-13	13:15:25	2924	[DEBUG]	Query for Media
2023-10-13	13:15:25	2924	[DEBUG]	Executed store
2023-10-13	13:15:25	2924	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38929_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg',`file_url_thumb`='bcprisme/38929_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1479115'
2023-10-13	13:15:25	2924	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:25	2924	[DEBUG]	Executed store
2023-10-13	13:15:25	2924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862416','1479115','1')
2023-10-13	13:15:25	2924	[DEBUG]	Store product image relation
2023-10-13	13:15:25	2924	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:25	2924	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862416 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:25	2924	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:25	2924	[DEBUG]	Executed store
2023-10-13	13:15:25	2924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862416','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:25	2924	[DEBUG]	Checking manufacturer
2023-10-13	13:15:25	2924	[DEBUG]	Load a row
2023-10-13	13:15:25	2924	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:25	2924	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '295'
2023-10-13	13:15:25	2924	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:25	2924	[DEBUG]	Executed store
2023-10-13	13:15:25	2924	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Truvativ',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='truvativ' WHERE `virtuemart_manufacturer_id` = '295'
2023-10-13	13:15:25	2924	[DEBUG]	Manufacturer exists
2023-10-13	13:15:25	2924	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 295
2023-10-13	13:15:25	2924	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:25	2924	[DEBUG]	Executed store
2023-10-13	13:15:25	2924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862416','295')
2023-10-13	13:15:25	2924	[DEBUG]	Find the custom field ID
2023-10-13	13:15:25	2924	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:25	2924	[DEBUG]	No custom field ID found
2023-10-13	13:15:25	2924	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:25	2924	[DEBUG]	Get existing row with customfield value 59.7336111111111
2023-10-13	13:15:25	2924	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862416 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:25	2924	[DEBUG]	Store custom available field
2023-10-13	13:15:25	2924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862416,3,'59.7336111111111',1)
2023-10-13	13:15:25	2924	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:25	2924	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:25	2924	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862416 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:25	2924	[DEBUG]	Store custom available field
2023-10-13	13:15:25	2924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862416,6,'choisir la taille',3)
2023-10-13	13:15:25	2924	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:25	2924	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:25	2924	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:25	2924	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:25	2924	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862416 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:25	2924	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:25	2924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862416,8,1)
2023-10-13	13:15:25	2924	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:25	2924	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862416\":[1862416,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862416
2023-10-13	13:15:25	2924	[DEBUG]	Checking category
2023-10-13	13:15:25	2924	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:25	2924	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862416
2023-10-13	13:15:25	2924	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:25	2924	[DEBUG]	Executed store
2023-10-13	13:15:25	2924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862416','7359')
2023-10-13	13:15:25	2924	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:25	2924	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862416 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:15:25	2924	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:25	2924	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862416
2023-10-13	13:15:25	2925	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:25	2925	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:25	2925	[DEBUG]	Use field value for field taille
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:25	2925	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:25	2925	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:25	2925	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:25	2925	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:25	2925	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:25	2925	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:25	2925	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:25	2925	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:25	2925	[DEBUG]	Use field value for field published
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:25	2925	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field override
2023-10-13	13:15:25	2925	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:25	2925	[DEBUG]	Use field value for field slug
2023-10-13	13:15:25	2925	[DEBUG]	Process line 2925
2023-10-13	13:15:25	2925	[DEBUG]	Load a row
2023-10-13	13:15:25	2925	[DEBUG]	Processing item: 4713057602689
2023-10-13	13:15:25	2925	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:25	2925	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:25	2925	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9559_808'
2023-10-13	13:15:25	2925	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:25	2925	[DEBUG]	Processing product tax
2023-10-13	13:15:25	2925	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:25	2925	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:25	2925	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:25	2925	[DEBUG]	Query for Product
2023-10-13	13:15:25	2925	[DEBUG]	Executed store
2023-10-13	13:15:25	2925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862416','4713057602689','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:25	2925	[DEBUG]	No parent found
2023-10-13	13:15:25	2925	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862416 AND customfield_value = 'stockable'
2023-10-13	13:15:25	2925	[DEBUG]	Check product language entry
2023-10-13	13:15:25	2925	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862417
2023-10-13	13:15:25	2925	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:25	2925	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713057602689' AND `virtuemart_product_id` != 1862417
2023-10-13	13:15:25	2925	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:25	2925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862417, '4713057602689')
2023-10-13	13:15:25	2925	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:25	2925	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'ciclovation-guidoline-leather-touch-fusion-3-0-mm-x-2000-metallic-gold-unitaire' AND `virtuemart_product_id` != 1862417
2023-10-13	13:15:25	2925	[DEBUG]	Query for ProductLang
2023-10-13	13:15:25	2925	[DEBUG]	Executed store
2023-10-13	13:15:25	2925	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Ciclovation Guidoline Leather Touch Fusion 3.0 mm x 2000 / Metallic-Gold (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='ciclovation-guidoline-leather-touch-fusion-3-0-mm-x-2000-metallic-gold-unitaire' WHERE `virtuemart_product_id` = '1862417'
2023-10-13	13:15:25	2925	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38929_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg
2023-10-13	13:15:25	2925	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:25	2925	[DEBUG]	Process image file
2023-10-13	13:15:25	2925	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:25	2925	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:25	2925	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38929_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg
2023-10-13	13:15:25	2925	[DEBUG]	Full name target: bcprisme/38929_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg
2023-10-13	13:15:26	2925	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:26	2925	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38929_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg'
2023-10-13	13:15:26	2925	[DEBUG]	Query for Media
2023-10-13	13:15:26	2925	[DEBUG]	Executed store
2023-10-13	13:15:26	2925	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38929_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg',`file_url_thumb`='bcprisme/38929_guidoline_leather_touch_fusion_3_0_mm_x_2000.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1479115'
2023-10-13	13:15:26	2925	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:26	2925	[DEBUG]	Executed store
2023-10-13	13:15:26	2925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862417','1479115','1')
2023-10-13	13:15:26	2925	[DEBUG]	Store product image relation
2023-10-13	13:15:26	2925	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:26	2925	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862417 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:26	2925	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:26	2925	[DEBUG]	Executed store
2023-10-13	13:15:26	2925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862417','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:26	2925	[DEBUG]	Checking manufacturer
2023-10-13	13:15:26	2925	[DEBUG]	Load a row
2023-10-13	13:15:26	2925	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:26	2925	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '295'
2023-10-13	13:15:26	2925	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:26	2925	[DEBUG]	Executed store
2023-10-13	13:15:26	2925	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Truvativ',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='truvativ' WHERE `virtuemart_manufacturer_id` = '295'
2023-10-13	13:15:26	2925	[DEBUG]	Manufacturer exists
2023-10-13	13:15:26	2925	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 295
2023-10-13	13:15:26	2925	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:26	2925	[DEBUG]	Executed store
2023-10-13	13:15:26	2925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862417','295')
2023-10-13	13:15:26	2925	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:26	2925	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:26	2925	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862417 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:26	2925	[DEBUG]	Store custom available field
2023-10-13	13:15:26	2925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862417,3,'',1)
2023-10-13	13:15:26	2925	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:26	2925	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:26	2925	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862417 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:26	2925	[DEBUG]	Store custom available field
2023-10-13	13:15:26	2925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862417,6,'Unitaire',3)
2023-10-13	13:15:26	2925	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:26	2925	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:26	2925	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862416
2023-10-13	13:15:26	2925	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:26	2925	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862416\":[1862416,8,1,\"choisir la taille\"],\"1862417\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862416
2023-10-13	13:15:26	2925	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:26	2925	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862417
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:26	2926	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field taille
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:26	2926	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:26	2926	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:26	2926	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:26	2926	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:26	2926	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:26	2926	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field published
2023-10-13	13:15:26	2926	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:26	2926	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field override
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:26	2926	[DEBUG]	Use field value for field slug
2023-10-13	13:15:26	2926	[DEBUG]	Process line 2926
2023-10-13	13:15:26	2926	[DEBUG]	Load a row
2023-10-13	13:15:26	2926	[DEBUG]	Processing item: A_9637_12
2023-10-13	13:15:26	2926	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:26	2926	[DEBUG]	Processing product tax
2023-10-13	13:15:26	2926	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:26	2926	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:26	2926	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:26	2926	[DEBUG]	Query for Product
2023-10-13	13:15:26	2926	[DEBUG]	Executed store
2023-10-13	13:15:26	2926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9637_12','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:26	2926	[DEBUG]	Check product language entry
2023-10-13	13:15:26	2926	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862418
2023-10-13	13:15:26	2926	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:26	2926	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9637_12' AND `virtuemart_product_id` != 1862418
2023-10-13	13:15:26	2926	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:26	2926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862418, 'A_9637_12')
2023-10-13	13:15:26	2926	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:26	2926	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-ribbon-guidoline-spugna-blanc-blanc' AND `virtuemart_product_id` != 1862418
2023-10-13	13:15:26	2926	[DEBUG]	Query for ProductLang
2023-10-13	13:15:26	2926	[DEBUG]	Executed store
2023-10-13	13:15:26	2926	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 32.52398',`product_name`='Bike Ribbon Guidoline Spugna blanc / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-ribbon-guidoline-spugna-blanc-blanc' WHERE `virtuemart_product_id` = '1862418'
2023-10-13	13:15:26	2926	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32_5239.jpg
2023-10-13	13:15:26	2926	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:26	2926	[DEBUG]	Process image file
2023-10-13	13:15:26	2926	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:26	2926	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:26	2926	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32_5239.jpg
2023-10-13	13:15:26	2926	[DEBUG]	Full name target: bcprisme/32_5239.jpg
2023-10-13	13:15:27	2926	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:27	2926	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32_5239.jpg'
2023-10-13	13:15:27	2926	[DEBUG]	Query for Media
2023-10-13	13:15:27	2926	[DEBUG]	Executed store
2023-10-13	13:15:27	2926	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32_5239.jpg',`file_url_thumb`='bcprisme/32_5239.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1501561'
2023-10-13	13:15:27	2926	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:27	2926	[DEBUG]	Executed store
2023-10-13	13:15:27	2926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862418','1501561','1')
2023-10-13	13:15:27	2926	[DEBUG]	Store product image relation
2023-10-13	13:15:27	2926	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:27	2926	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862418 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:27	2926	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:27	2926	[DEBUG]	Executed store
2023-10-13	13:15:27	2926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862418','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:27	2926	[DEBUG]	Checking manufacturer
2023-10-13	13:15:27	2926	[DEBUG]	Load a row
2023-10-13	13:15:27	2926	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:27	2926	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '299'
2023-10-13	13:15:27	2926	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:27	2926	[DEBUG]	Executed store
2023-10-13	13:15:27	2926	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV-Bike (SH)',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh' WHERE `virtuemart_manufacturer_id` = '299'
2023-10-13	13:15:27	2926	[DEBUG]	Manufacturer exists
2023-10-13	13:15:27	2926	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 299
2023-10-13	13:15:27	2926	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:27	2926	[DEBUG]	Executed store
2023-10-13	13:15:27	2926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862418','299')
2023-10-13	13:15:27	2926	[DEBUG]	Find the custom field ID
2023-10-13	13:15:27	2926	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:27	2926	[DEBUG]	No custom field ID found
2023-10-13	13:15:27	2926	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:27	2926	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:15:27	2926	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862418 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:27	2926	[DEBUG]	Store custom available field
2023-10-13	13:15:27	2926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862418,3,'0',1)
2023-10-13	13:15:27	2926	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:27	2926	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:27	2926	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862418 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:27	2926	[DEBUG]	Store custom available field
2023-10-13	13:15:27	2926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862418,6,'choisir la taille',3)
2023-10-13	13:15:27	2926	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:27	2926	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:27	2926	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:27	2926	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:27	2926	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862418 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:27	2926	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:27	2926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862418,8,1)
2023-10-13	13:15:27	2926	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:27	2926	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862418\":[1862418,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862418
2023-10-13	13:15:27	2926	[DEBUG]	Checking category
2023-10-13	13:15:27	2926	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:27	2926	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862418
2023-10-13	13:15:27	2926	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:27	2926	[DEBUG]	Executed store
2023-10-13	13:15:27	2926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862418','7359')
2023-10-13	13:15:27	2926	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:27	2926	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862418 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:15:27	2926	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:27	2926	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862418
2023-10-13	13:15:27	2927	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:27	2927	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:27	2927	[DEBUG]	Use field value for field taille
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:27	2927	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:27	2927	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:27	2927	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:27	2927	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:27	2927	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:27	2927	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:27	2927	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:27	2927	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:27	2927	[DEBUG]	Use field value for field published
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:27	2927	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field override
2023-10-13	13:15:27	2927	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:27	2927	[DEBUG]	Use field value for field slug
2023-10-13	13:15:27	2927	[DEBUG]	Process line 2927
2023-10-13	13:15:27	2927	[DEBUG]	Load a row
2023-10-13	13:15:27	2927	[DEBUG]	Processing item: 8027312003873
2023-10-13	13:15:27	2927	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:27	2927	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:27	2927	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9637_12'
2023-10-13	13:15:27	2927	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:27	2927	[DEBUG]	Processing product tax
2023-10-13	13:15:27	2927	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:27	2927	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:27	2927	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:27	2927	[DEBUG]	Query for Product
2023-10-13	13:15:27	2927	[DEBUG]	Executed store
2023-10-13	13:15:27	2927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862418','8027312003873','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:27	2927	[DEBUG]	No parent found
2023-10-13	13:15:27	2927	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862418 AND customfield_value = 'stockable'
2023-10-13	13:15:27	2927	[DEBUG]	Check product language entry
2023-10-13	13:15:27	2927	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862419
2023-10-13	13:15:27	2927	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:27	2927	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8027312003873' AND `virtuemart_product_id` != 1862419
2023-10-13	13:15:27	2927	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:27	2927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862419, '8027312003873')
2023-10-13	13:15:27	2927	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:27	2927	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-ribbon-guidoline-spugna-blanc-blanc-unitaire' AND `virtuemart_product_id` != 1862419
2023-10-13	13:15:27	2927	[DEBUG]	Query for ProductLang
2023-10-13	13:15:27	2927	[DEBUG]	Executed store
2023-10-13	13:15:27	2927	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bike Ribbon Guidoline Spugna blanc / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-ribbon-guidoline-spugna-blanc-blanc-unitaire' WHERE `virtuemart_product_id` = '1862419'
2023-10-13	13:15:27	2927	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32_5239.jpg
2023-10-13	13:15:27	2927	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:27	2927	[DEBUG]	Process image file
2023-10-13	13:15:27	2927	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:27	2927	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:27	2927	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32_5239.jpg
2023-10-13	13:15:27	2927	[DEBUG]	Full name target: bcprisme/32_5239.jpg
2023-10-13	13:15:28	2927	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:28	2927	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32_5239.jpg'
2023-10-13	13:15:28	2927	[DEBUG]	Query for Media
2023-10-13	13:15:28	2927	[DEBUG]	Executed store
2023-10-13	13:15:28	2927	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32_5239.jpg',`file_url_thumb`='bcprisme/32_5239.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1501561'
2023-10-13	13:15:28	2927	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:28	2927	[DEBUG]	Executed store
2023-10-13	13:15:28	2927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862419','1501561','1')
2023-10-13	13:15:28	2927	[DEBUG]	Store product image relation
2023-10-13	13:15:28	2927	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:28	2927	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862419 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:28	2927	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:28	2927	[DEBUG]	Executed store
2023-10-13	13:15:28	2927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862419','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:28	2927	[DEBUG]	Checking manufacturer
2023-10-13	13:15:28	2927	[DEBUG]	Load a row
2023-10-13	13:15:28	2927	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:28	2927	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '299'
2023-10-13	13:15:28	2927	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:28	2927	[DEBUG]	Executed store
2023-10-13	13:15:28	2927	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV-Bike (SH)',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh' WHERE `virtuemart_manufacturer_id` = '299'
2023-10-13	13:15:28	2927	[DEBUG]	Manufacturer exists
2023-10-13	13:15:28	2927	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 299
2023-10-13	13:15:28	2927	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:28	2927	[DEBUG]	Executed store
2023-10-13	13:15:28	2927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862419','299')
2023-10-13	13:15:28	2927	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:28	2927	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:28	2927	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862419 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:28	2927	[DEBUG]	Store custom available field
2023-10-13	13:15:28	2927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862419,3,'',1)
2023-10-13	13:15:28	2927	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:28	2927	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:28	2927	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862419 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:28	2927	[DEBUG]	Store custom available field
2023-10-13	13:15:28	2927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862419,6,'Unitaire',3)
2023-10-13	13:15:28	2927	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:28	2927	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:28	2927	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862418
2023-10-13	13:15:28	2927	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:28	2927	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862418\":[1862418,8,1,\"choisir la taille\"],\"1862419\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862418
2023-10-13	13:15:28	2927	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:28	2927	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862419
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:28	2928	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field taille
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:28	2928	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:28	2928	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:28	2928	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:28	2928	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:28	2928	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:28	2928	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field published
2023-10-13	13:15:28	2928	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:28	2928	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field override
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:28	2928	[DEBUG]	Use field value for field slug
2023-10-13	13:15:28	2928	[DEBUG]	Process line 2928
2023-10-13	13:15:28	2928	[DEBUG]	Load a row
2023-10-13	13:15:28	2928	[DEBUG]	Processing item: A_9638_12
2023-10-13	13:15:28	2928	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:28	2928	[DEBUG]	Processing product tax
2023-10-13	13:15:28	2928	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:28	2928	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:28	2928	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:28	2928	[DEBUG]	Query for Product
2023-10-13	13:15:28	2928	[DEBUG]	Executed store
2023-10-13	13:15:28	2928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9638_12','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:28	2928	[DEBUG]	Check product language entry
2023-10-13	13:15:28	2928	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862420
2023-10-13	13:15:28	2928	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:28	2928	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9638_12' AND `virtuemart_product_id` != 1862420
2023-10-13	13:15:28	2928	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:28	2928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862420, 'A_9638_12')
2023-10-13	13:15:28	2928	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:28	2928	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-guidoline-liege-classic-comfort-eva-blanc-blanc' AND `virtuemart_product_id` != 1862420
2023-10-13	13:15:28	2928	[DEBUG]	Query for ProductLang
2023-10-13	13:15:28	2928	[DEBUG]	Executed store
2023-10-13	13:15:28	2928	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 93.65738',`product_name`='Pro Guidoline liège classic comfort EVA blanc / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-guidoline-liege-classic-comfort-eva-blanc-blanc' WHERE `virtuemart_product_id` = '1862420'
2023-10-13	13:15:28	2928	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_6573.jpg
2023-10-13	13:15:28	2928	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:28	2928	[DEBUG]	Process image file
2023-10-13	13:15:28	2928	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:28	2928	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:28	2928	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_6573.jpg
2023-10-13	13:15:28	2928	[DEBUG]	Full name target: bcprisme/93_6573.jpg
2023-10-13	13:15:29	2928	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:29	2928	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/93_6573.jpg'
2023-10-13	13:15:29	2928	[DEBUG]	Query for Media
2023-10-13	13:15:29	2928	[DEBUG]	Executed store
2023-10-13	13:15:29	2928	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/93_6573.jpg',`file_url_thumb`='bcprisme/93_6573.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1501563'
2023-10-13	13:15:29	2928	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:29	2928	[DEBUG]	Executed store
2023-10-13	13:15:29	2928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862420','1501563','1')
2023-10-13	13:15:29	2928	[DEBUG]	Store product image relation
2023-10-13	13:15:29	2928	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:29	2928	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862420 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:29	2928	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:29	2928	[DEBUG]	Executed store
2023-10-13	13:15:29	2928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862420','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:29	2928	[DEBUG]	Checking manufacturer
2023-10-13	13:15:29	2928	[DEBUG]	Load a row
2023-10-13	13:15:29	2928	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:29	2928	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:29	2928	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:29	2928	[DEBUG]	Executed store
2023-10-13	13:15:29	2928	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:29	2928	[DEBUG]	Manufacturer exists
2023-10-13	13:15:29	2928	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:15:29	2928	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:29	2928	[DEBUG]	Executed store
2023-10-13	13:15:29	2928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862420','75')
2023-10-13	13:15:29	2928	[DEBUG]	Find the custom field ID
2023-10-13	13:15:29	2928	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:29	2928	[DEBUG]	No custom field ID found
2023-10-13	13:15:29	2928	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:29	2928	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:15:29	2928	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862420 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:29	2928	[DEBUG]	Store custom available field
2023-10-13	13:15:29	2928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862420,3,'0',1)
2023-10-13	13:15:29	2928	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:29	2928	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:29	2928	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862420 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:29	2928	[DEBUG]	Store custom available field
2023-10-13	13:15:29	2928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862420,6,'choisir la taille',3)
2023-10-13	13:15:29	2928	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:29	2928	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:29	2928	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:29	2928	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:29	2928	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862420 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:29	2928	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:29	2928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862420,8,1)
2023-10-13	13:15:29	2928	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:29	2928	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862420\":[1862420,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862420
2023-10-13	13:15:29	2928	[DEBUG]	Checking category
2023-10-13	13:15:29	2928	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:29	2928	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862420
2023-10-13	13:15:29	2928	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:29	2928	[DEBUG]	Executed store
2023-10-13	13:15:29	2928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862420','7359')
2023-10-13	13:15:29	2928	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:29	2928	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862420 AND `virtuemart_category_id` NOT IN (7359)
2023-10-13	13:15:29	2928	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:29	2928	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862420
2023-10-13	13:15:29	2929	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:29	2929	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:29	2929	[DEBUG]	Use field value for field taille
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:29	2929	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:29	2929	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:29	2929	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:29	2929	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:29	2929	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:29	2929	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:29	2929	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:29	2929	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:29	2929	[DEBUG]	Use field value for field published
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:29	2929	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field override
2023-10-13	13:15:29	2929	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:29	2929	[DEBUG]	Use field value for field slug
2023-10-13	13:15:29	2929	[DEBUG]	Process line 2929
2023-10-13	13:15:29	2929	[DEBUG]	Load a row
2023-10-13	13:15:29	2929	[DEBUG]	Processing item: 8717009351614
2023-10-13	13:15:29	2929	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:29	2929	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:29	2929	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9638_12'
2023-10-13	13:15:29	2929	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:29	2929	[DEBUG]	Processing product tax
2023-10-13	13:15:29	2929	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:29	2929	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:29	2929	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:29	2929	[DEBUG]	Query for Product
2023-10-13	13:15:29	2929	[DEBUG]	Executed store
2023-10-13	13:15:29	2929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862420','8717009351614','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:29	2929	[DEBUG]	No parent found
2023-10-13	13:15:29	2929	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862420 AND customfield_value = 'stockable'
2023-10-13	13:15:29	2929	[DEBUG]	Check product language entry
2023-10-13	13:15:29	2929	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862421
2023-10-13	13:15:29	2929	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:29	2929	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717009351614' AND `virtuemart_product_id` != 1862421
2023-10-13	13:15:29	2929	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:29	2929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862421, '8717009351614')
2023-10-13	13:15:29	2929	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:29	2929	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-guidoline-liege-classic-comfort-eva-blanc-blanc-unitaire' AND `virtuemart_product_id` != 1862421
2023-10-13	13:15:29	2929	[DEBUG]	Query for ProductLang
2023-10-13	13:15:29	2929	[DEBUG]	Executed store
2023-10-13	13:15:29	2929	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pro Guidoline liège classic comfort EVA blanc / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-guidoline-liege-classic-comfort-eva-blanc-blanc-unitaire' WHERE `virtuemart_product_id` = '1862421'
2023-10-13	13:15:29	2929	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_6573.jpg
2023-10-13	13:15:29	2929	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:29	2929	[DEBUG]	Process image file
2023-10-13	13:15:29	2929	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:29	2929	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:29	2929	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_6573.jpg
2023-10-13	13:15:29	2929	[DEBUG]	Full name target: bcprisme/93_6573.jpg
2023-10-13	13:15:30	2929	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:30	2929	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/93_6573.jpg'
2023-10-13	13:15:30	2929	[DEBUG]	Query for Media
2023-10-13	13:15:30	2929	[DEBUG]	Executed store
2023-10-13	13:15:30	2929	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/93_6573.jpg',`file_url_thumb`='bcprisme/93_6573.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1501563'
2023-10-13	13:15:30	2929	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:30	2929	[DEBUG]	Executed store
2023-10-13	13:15:30	2929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862421','1501563','1')
2023-10-13	13:15:30	2929	[DEBUG]	Store product image relation
2023-10-13	13:15:30	2929	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:30	2929	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862421 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:30	2929	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:30	2929	[DEBUG]	Executed store
2023-10-13	13:15:30	2929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862421','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:30	2929	[DEBUG]	Checking manufacturer
2023-10-13	13:15:30	2929	[DEBUG]	Load a row
2023-10-13	13:15:30	2929	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:30	2929	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:30	2929	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:30	2929	[DEBUG]	Executed store
2023-10-13	13:15:30	2929	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:15:30	2929	[DEBUG]	Manufacturer exists
2023-10-13	13:15:30	2929	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:15:30	2929	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:30	2929	[DEBUG]	Executed store
2023-10-13	13:15:30	2929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862421','75')
2023-10-13	13:15:30	2929	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:30	2929	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:30	2929	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862421 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:30	2929	[DEBUG]	Store custom available field
2023-10-13	13:15:30	2929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862421,3,'',1)
2023-10-13	13:15:30	2929	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:30	2929	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:30	2929	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862421 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:30	2929	[DEBUG]	Store custom available field
2023-10-13	13:15:30	2929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862421,6,'Unitaire',3)
2023-10-13	13:15:30	2929	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:30	2929	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:30	2929	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862420
2023-10-13	13:15:30	2929	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:30	2929	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862420\":[1862420,8,1,\"choisir la taille\"],\"1862421\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862420
2023-10-13	13:15:30	2929	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:30	2929	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862421
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:30	2930	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field taille
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:30	2930	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:30	2930	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:30	2930	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:30	2930	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:30	2930	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:30	2930	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:30	2930	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field published
2023-10-13	13:15:30	2930	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:30	2930	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field override
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:30	2930	[DEBUG]	Use field value for field slug
2023-10-13	13:15:30	2930	[DEBUG]	Process line 2930
2023-10-13	13:15:30	2930	[DEBUG]	Load a row
2023-10-13	13:15:30	2930	[DEBUG]	Processing item: A_5252_208
2023-10-13	13:15:30	2930	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:30	2930	[DEBUG]	Processing product tax
2023-10-13	13:15:30	2930	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:30	2930	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:30	2930	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:30	2930	[DEBUG]	Query for Product
2023-10-13	13:15:30	2930	[DEBUG]	Executed store
2023-10-13	13:15:30	2930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5252_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:30	2930	[DEBUG]	Check product language entry
2023-10-13	13:15:30	2930	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862422
2023-10-13	13:15:30	2930	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:30	2930	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5252_208' AND `virtuemart_product_id` != 1862422
2023-10-13	13:15:30	2930	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:30	2930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862422, 'A_5252_208')
2023-10-13	13:15:30	2930	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:30	2930	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'elite-elite-hometrainer-elevation-roue-avant-elastogel-aucune' AND `virtuemart_product_id` != 1862422
2023-10-13	13:15:30	2930	[DEBUG]	Query for ProductLang
2023-10-13	13:15:30	2930	[DEBUG]	Executed store
2023-10-13	13:15:30	2930	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 19.40844',`product_name`='Elite Elite Hometrainer Elevation roue avant Elastogel / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='elite-elite-hometrainer-elevation-roue-avant-elastogel-aucune' WHERE `virtuemart_product_id` = '1862422'
2023-10-13	13:15:30	2930	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/19_40844_out_nov_de.jpg has not been found.
2023-10-13	13:15:30	2930	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:30	2930	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862422 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:30	2930	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:30	2930	[DEBUG]	Executed store
2023-10-13	13:15:30	2930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862422','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:30	2930	[DEBUG]	Checking manufacturer
2023-10-13	13:15:30	2930	[DEBUG]	Load a row
2023-10-13	13:15:30	2930	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:30	2930	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:30	2930	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:30	2930	[DEBUG]	Executed store
2023-10-13	13:15:30	2930	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-3390137955' WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:30	2930	[DEBUG]	Manufacturer exists
2023-10-13	13:15:30	2930	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 58
2023-10-13	13:15:30	2930	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:30	2930	[DEBUG]	Executed store
2023-10-13	13:15:30	2930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862422','58')
2023-10-13	13:15:30	2930	[DEBUG]	Find the custom field ID
2023-10-13	13:15:30	2930	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:30	2930	[DEBUG]	No custom field ID found
2023-10-13	13:15:30	2930	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:31	2930	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:15:31	2930	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862422 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:31	2930	[DEBUG]	Store custom available field
2023-10-13	13:15:31	2930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862422,3,'0',1)
2023-10-13	13:15:31	2930	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:31	2930	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:31	2930	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862422 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:31	2930	[DEBUG]	Store custom available field
2023-10-13	13:15:31	2930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862422,6,'choisir la taille',3)
2023-10-13	13:15:31	2930	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:31	2930	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:31	2930	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:31	2930	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:31	2930	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862422 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:31	2930	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:31	2930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862422,8,1)
2023-10-13	13:15:31	2930	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:31	2930	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862422\":[1862422,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862422
2023-10-13	13:15:31	2930	[DEBUG]	Checking category
2023-10-13	13:15:31	2930	[DEBUG]	Check if category path exists: HOMETRAINER
2023-10-13	13:15:31	2930	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'HOMETRAINER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:15:31	2930	[DEBUG]	Check if category path exists: HOMETRAINER
2023-10-13	13:15:31	2930	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'HOMETRAINER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7360
2023-10-13	13:15:31	2930	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:31	2930	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862422
2023-10-13	13:15:31	2930	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:31	2930	[DEBUG]	Executed store
2023-10-13	13:15:31	2930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862422','7361')
2023-10-13	13:15:31	2930	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:31	2930	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862422 AND `virtuemart_category_id` NOT IN (7361)
2023-10-13	13:15:31	2930	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:31	2930	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862422
2023-10-13	13:15:31	2931	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:31	2931	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:31	2931	[DEBUG]	Use field value for field taille
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:31	2931	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:31	2931	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:31	2931	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:31	2931	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:31	2931	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:31	2931	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:31	2931	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:31	2931	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:31	2931	[DEBUG]	Use field value for field published
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:31	2931	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field override
2023-10-13	13:15:31	2931	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:31	2931	[DEBUG]	Use field value for field slug
2023-10-13	13:15:31	2931	[DEBUG]	Process line 2931
2023-10-13	13:15:31	2931	[DEBUG]	Load a row
2023-10-13	13:15:31	2931	[DEBUG]	Processing item: 8020775010006
2023-10-13	13:15:31	2931	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:31	2931	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:31	2931	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5252_208'
2023-10-13	13:15:31	2931	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:31	2931	[DEBUG]	Processing product tax
2023-10-13	13:15:31	2931	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:31	2931	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:31	2931	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:31	2931	[DEBUG]	Query for Product
2023-10-13	13:15:31	2931	[DEBUG]	Executed store
2023-10-13	13:15:31	2931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862422','8020775010006','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:31	2931	[DEBUG]	No parent found
2023-10-13	13:15:31	2931	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862422 AND customfield_value = 'stockable'
2023-10-13	13:15:31	2931	[DEBUG]	Check product language entry
2023-10-13	13:15:31	2931	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862423
2023-10-13	13:15:31	2931	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:31	2931	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8020775010006' AND `virtuemart_product_id` != 1862423
2023-10-13	13:15:31	2931	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:31	2931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862423, '8020775010006')
2023-10-13	13:15:31	2931	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:31	2931	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'elite-elite-hometrainer-elevation-roue-avant-elastogel-aucune-all' AND `virtuemart_product_id` != 1862423
2023-10-13	13:15:31	2931	[DEBUG]	Query for ProductLang
2023-10-13	13:15:31	2931	[DEBUG]	Executed store
2023-10-13	13:15:31	2931	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Elite Elite Hometrainer Elevation roue avant Elastogel / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='elite-elite-hometrainer-elevation-roue-avant-elastogel-aucune-all' WHERE `virtuemart_product_id` = '1862423'
2023-10-13	13:15:31	2931	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/19_40844_out_nov_de.jpg has not been found.
2023-10-13	13:15:31	2931	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:31	2931	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862423 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:31	2931	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:31	2931	[DEBUG]	Executed store
2023-10-13	13:15:31	2931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862423','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:31	2931	[DEBUG]	Checking manufacturer
2023-10-13	13:15:31	2931	[DEBUG]	Load a row
2023-10-13	13:15:31	2931	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:31	2931	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:31	2931	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:31	2931	[DEBUG]	Executed store
2023-10-13	13:15:31	2931	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-3390137955' WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:31	2931	[DEBUG]	Manufacturer exists
2023-10-13	13:15:31	2931	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 58
2023-10-13	13:15:31	2931	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:31	2931	[DEBUG]	Executed store
2023-10-13	13:15:31	2931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862423','58')
2023-10-13	13:15:31	2931	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:31	2931	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:31	2931	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862423 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:31	2931	[DEBUG]	Store custom available field
2023-10-13	13:15:31	2931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862423,3,'',1)
2023-10-13	13:15:31	2931	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:31	2931	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:15:31	2931	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862423 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:31	2931	[DEBUG]	Store custom available field
2023-10-13	13:15:31	2931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862423,6,'All',3)
2023-10-13	13:15:31	2931	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:31	2931	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:31	2931	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862422
2023-10-13	13:15:31	2931	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:31	2931	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862422\":[1862422,8,1,\"choisir la taille\"],\"1862423\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862422
2023-10-13	13:15:31	2931	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:31	2931	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862423
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:31	2932	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field taille
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:31	2932	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:31	2932	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:31	2932	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:31	2932	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:31	2932	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:31	2932	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field published
2023-10-13	13:15:31	2932	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:31	2932	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field override
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:31	2932	[DEBUG]	Use field value for field slug
2023-10-13	13:15:31	2932	[DEBUG]	Process line 2932
2023-10-13	13:15:31	2932	[DEBUG]	Load a row
2023-10-13	13:15:31	2932	[DEBUG]	Processing item: A_5931_1
2023-10-13	13:15:31	2932	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:31	2932	[DEBUG]	Processing product tax
2023-10-13	13:15:31	2932	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:31	2932	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:31	2932	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:31	2932	[DEBUG]	Query for Product
2023-10-13	13:15:31	2932	[DEBUG]	Executed store
2023-10-13	13:15:31	2932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5931_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:31	2932	[DEBUG]	Check product language entry
2023-10-13	13:15:31	2932	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862424
2023-10-13	13:15:31	2932	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:31	2932	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5931_1' AND `virtuemart_product_id` != 1862424
2023-10-13	13:15:31	2932	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:31	2932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862424, 'A_5931_1')
2023-10-13	13:15:31	2932	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:31	2932	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'elite-elite-hometrainer-arion-roller-noir' AND `virtuemart_product_id` != 1862424
2023-10-13	13:15:31	2932	[DEBUG]	Query for ProductLang
2023-10-13	13:15:31	2932	[DEBUG]	Executed store
2023-10-13	13:15:31	2932	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 19.51224',`product_name`='Elite Elite Hometrainer Arion Roller / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='elite-elite-hometrainer-arion-roller-noir' WHERE `virtuemart_product_id` = '1862424'
2023-10-13	13:15:31	2932	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31529_elite_hometrainer_arion_roller.jpg
2023-10-13	13:15:31	2932	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:15:31	2932	[DEBUG]	Process image file
2023-10-13	13:15:31	2932	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:15:31	2932	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:31	2932	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31529_elite_hometrainer_arion_roller.jpg
2023-10-13	13:15:31	2932	[DEBUG]	Full name target: bcprisme/31529_elite_hometrainer_arion_roller.jpg
2023-10-13	13:15:32	2932	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:32	2932	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31529_elite_hometrainer_arion_roller.jpg'
2023-10-13	13:15:32	2932	[DEBUG]	Query for Media
2023-10-13	13:15:32	2932	[DEBUG]	Executed store
2023-10-13	13:15:32	2932	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31529_elite_hometrainer_arion_roller.jpg',`file_url_thumb`='bcprisme/31529_elite_hometrainer_arion_roller.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '367205'
2023-10-13	13:15:32	2932	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:32	2932	[DEBUG]	Executed store
2023-10-13	13:15:32	2932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862424','367205','1')
2023-10-13	13:15:32	2932	[DEBUG]	Store product image relation
2023-10-13	13:15:32	2932	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:32	2932	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862424 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:32	2932	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:32	2932	[DEBUG]	Executed store
2023-10-13	13:15:32	2932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862424','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:32	2932	[DEBUG]	Checking manufacturer
2023-10-13	13:15:32	2932	[DEBUG]	Load a row
2023-10-13	13:15:32	2932	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:32	2932	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:32	2932	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:32	2932	[DEBUG]	Executed store
2023-10-13	13:15:32	2932	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-3390137955' WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:32	2932	[DEBUG]	Manufacturer exists
2023-10-13	13:15:32	2932	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 58
2023-10-13	13:15:32	2932	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:32	2932	[DEBUG]	Executed store
2023-10-13	13:15:32	2932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862424','58')
2023-10-13	13:15:32	2932	[DEBUG]	Find the custom field ID
2023-10-13	13:15:32	2932	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:32	2932	[DEBUG]	No custom field ID found
2023-10-13	13:15:32	2932	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:32	2932	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:15:32	2932	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862424 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:32	2932	[DEBUG]	Store custom available field
2023-10-13	13:15:32	2932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862424,3,'0',1)
2023-10-13	13:15:32	2932	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:32	2932	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:32	2932	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862424 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:32	2932	[DEBUG]	Store custom available field
2023-10-13	13:15:32	2932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862424,6,'choisir la taille',3)
2023-10-13	13:15:32	2932	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:32	2932	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:32	2932	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:32	2932	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:32	2932	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862424 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:32	2932	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:32	2932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862424,8,1)
2023-10-13	13:15:32	2932	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:32	2932	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862424\":[1862424,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862424
2023-10-13	13:15:32	2932	[DEBUG]	Checking category
2023-10-13	13:15:32	2932	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:32	2932	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862424
2023-10-13	13:15:32	2932	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:32	2932	[DEBUG]	Executed store
2023-10-13	13:15:32	2932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862424','7361')
2023-10-13	13:15:32	2932	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:32	2932	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862424 AND `virtuemart_category_id` NOT IN (7361)
2023-10-13	13:15:32	2932	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:32	2932	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862424
2023-10-13	13:15:32	2933	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:32	2933	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:32	2933	[DEBUG]	Use field value for field taille
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:32	2933	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:32	2933	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:32	2933	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:32	2933	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:32	2933	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:32	2933	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:32	2933	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:32	2933	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:32	2933	[DEBUG]	Use field value for field published
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:32	2933	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field override
2023-10-13	13:15:32	2933	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:32	2933	[DEBUG]	Use field value for field slug
2023-10-13	13:15:32	2933	[DEBUG]	Process line 2933
2023-10-13	13:15:32	2933	[DEBUG]	Load a row
2023-10-13	13:15:32	2933	[DEBUG]	Processing item: 1000000088953
2023-10-13	13:15:32	2933	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:32	2933	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:32	2933	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5931_1'
2023-10-13	13:15:32	2933	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:32	2933	[DEBUG]	Processing product tax
2023-10-13	13:15:32	2933	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:32	2933	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:32	2933	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:32	2933	[DEBUG]	Query for Product
2023-10-13	13:15:32	2933	[DEBUG]	Executed store
2023-10-13	13:15:32	2933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862424','1000000088953','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:32	2933	[DEBUG]	No parent found
2023-10-13	13:15:32	2933	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862424 AND customfield_value = 'stockable'
2023-10-13	13:15:32	2933	[DEBUG]	Check product language entry
2023-10-13	13:15:32	2933	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862425
2023-10-13	13:15:32	2933	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:32	2933	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000088953' AND `virtuemart_product_id` != 1862425
2023-10-13	13:15:32	2933	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:32	2933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862425, '1000000088953')
2023-10-13	13:15:32	2933	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:32	2933	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'elite-elite-hometrainer-arion-roller-noir-all' AND `virtuemart_product_id` != 1862425
2023-10-13	13:15:32	2933	[DEBUG]	Query for ProductLang
2023-10-13	13:15:32	2933	[DEBUG]	Executed store
2023-10-13	13:15:32	2933	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Elite Elite Hometrainer Arion Roller / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='elite-elite-hometrainer-arion-roller-noir-all' WHERE `virtuemart_product_id` = '1862425'
2023-10-13	13:15:32	2933	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31529_elite_hometrainer_arion_roller.jpg
2023-10-13	13:15:32	2933	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:15:32	2933	[DEBUG]	Process image file
2023-10-13	13:15:32	2933	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:15:32	2933	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:32	2933	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31529_elite_hometrainer_arion_roller.jpg
2023-10-13	13:15:32	2933	[DEBUG]	Full name target: bcprisme/31529_elite_hometrainer_arion_roller.jpg
2023-10-13	13:15:33	2933	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:33	2933	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31529_elite_hometrainer_arion_roller.jpg'
2023-10-13	13:15:33	2933	[DEBUG]	Query for Media
2023-10-13	13:15:33	2933	[DEBUG]	Executed store
2023-10-13	13:15:33	2933	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31529_elite_hometrainer_arion_roller.jpg',`file_url_thumb`='bcprisme/31529_elite_hometrainer_arion_roller.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '367205'
2023-10-13	13:15:33	2933	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:33	2933	[DEBUG]	Executed store
2023-10-13	13:15:33	2933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862425','367205','1')
2023-10-13	13:15:33	2933	[DEBUG]	Store product image relation
2023-10-13	13:15:33	2933	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:33	2933	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862425 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:33	2933	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:33	2933	[DEBUG]	Executed store
2023-10-13	13:15:33	2933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862425','0','277.623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:33	2933	[DEBUG]	Checking manufacturer
2023-10-13	13:15:33	2933	[DEBUG]	Load a row
2023-10-13	13:15:33	2933	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:33	2933	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:33	2933	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:33	2933	[DEBUG]	Executed store
2023-10-13	13:15:33	2933	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-3390137955' WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:33	2933	[DEBUG]	Manufacturer exists
2023-10-13	13:15:33	2933	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 58
2023-10-13	13:15:33	2933	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:33	2933	[DEBUG]	Executed store
2023-10-13	13:15:33	2933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862425','58')
2023-10-13	13:15:33	2933	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:33	2933	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:33	2933	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862425 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:33	2933	[DEBUG]	Store custom available field
2023-10-13	13:15:33	2933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862425,3,'',1)
2023-10-13	13:15:33	2933	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:33	2933	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:15:33	2933	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862425 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:33	2933	[DEBUG]	Store custom available field
2023-10-13	13:15:33	2933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862425,6,'All',3)
2023-10-13	13:15:33	2933	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:33	2933	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:33	2933	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862424
2023-10-13	13:15:33	2933	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:33	2933	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862424\":[1862424,8,1,\"choisir la taille\"],\"1862425\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862424
2023-10-13	13:15:33	2933	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:33	2933	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862425
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:33	2934	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field taille
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:33	2934	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:33	2934	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:33	2934	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:33	2934	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:33	2934	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:33	2934	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field published
2023-10-13	13:15:33	2934	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:33	2934	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field override
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:33	2934	[DEBUG]	Use field value for field slug
2023-10-13	13:15:33	2934	[DEBUG]	Process line 2934
2023-10-13	13:15:33	2934	[DEBUG]	Load a row
2023-10-13	13:15:33	2934	[DEBUG]	Processing item: A_6787_1
2023-10-13	13:15:33	2934	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:33	2934	[DEBUG]	Processing product tax
2023-10-13	13:15:33	2934	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:33	2934	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:33	2934	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:33	2934	[DEBUG]	Query for Product
2023-10-13	13:15:33	2934	[DEBUG]	Executed store
2023-10-13	13:15:33	2934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6787_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:33	2934	[DEBUG]	Check product language entry
2023-10-13	13:15:33	2934	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862426
2023-10-13	13:15:33	2934	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:33	2934	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6787_1' AND `virtuemart_product_id` != 1862426
2023-10-13	13:15:33	2934	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:33	2934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862426, 'A_6787_1')
2023-10-13	13:15:33	2934	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:33	2934	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-kickr-snap-142x12-kit-s-axes-m12-x-1-75-1-5-1-0-noir' AND `virtuemart_product_id` != 1862426
2023-10-13	13:15:33	2934	[DEBUG]	Query for ProductLang
2023-10-13	13:15:33	2934	[DEBUG]	Executed store
2023-10-13	13:15:33	2934	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : WOO-WFSNAP142',`product_name`='WAHOO KICKR SNAP 142x12 kit s\'axes M12 x 1.75/1.5/1.0 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-kickr-snap-142x12-kit-s-axes-m12-x-1-75-1-5-1-0-noir' WHERE `virtuemart_product_id` = '1862426'
2023-10-13	13:15:33	2934	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33023_wahoo_kickr_snap_142x12_kit_s_axes_m12_x_1_75-1_5-1_0.jpg
2023-10-13	13:15:33	2934	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:33	2934	[DEBUG]	Process image file
2023-10-13	13:15:33	2934	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:33	2934	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:33	2934	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33023_wahoo_kickr_snap_142x12_kit_s_axes_m12_x_1_75-1_5-1_0.jpg
2023-10-13	13:15:33	2934	[DEBUG]	Full name target: bcprisme/33023_wahoo_kickr_snap_142x12_kit_s_axes_m12_x_1_75-1_5-1_0.jpg
2023-10-13	13:15:34	2934	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:34	2934	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33023_wahoo_kickr_snap_142x12_kit_s_axes_m12_x_1_75-1_5-1_0.jpg'
2023-10-13	13:15:34	2934	[DEBUG]	Query for Media
2023-10-13	13:15:34	2934	[DEBUG]	Executed store
2023-10-13	13:15:34	2934	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33023_wahoo_kickr_snap_142x12_kit_s_axes_m12_x_1_75-1_5-1_0.jpg',`file_url_thumb`='bcprisme/33023_wahoo_kickr_snap_142x12_kit_s_axes_m12_x_1_75-1_5-1_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13011'
2023-10-13	13:15:34	2934	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:34	2934	[DEBUG]	Executed store
2023-10-13	13:15:34	2934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862426','13011','1')
2023-10-13	13:15:34	2934	[DEBUG]	Store product image relation
2023-10-13	13:15:34	2934	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:34	2934	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862426 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:34	2934	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:34	2934	[DEBUG]	Executed store
2023-10-13	13:15:34	2934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862426','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:34	2934	[DEBUG]	Checking manufacturer
2023-10-13	13:15:34	2934	[DEBUG]	Load a row
2023-10-13	13:15:34	2934	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:34	2934	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:34	2934	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:34	2934	[DEBUG]	Executed store
2023-10-13	13:15:34	2934	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:34	2934	[DEBUG]	Manufacturer exists
2023-10-13	13:15:34	2934	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	13:15:34	2934	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:34	2934	[DEBUG]	Executed store
2023-10-13	13:15:34	2934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862426','207')
2023-10-13	13:15:34	2934	[DEBUG]	Find the custom field ID
2023-10-13	13:15:34	2934	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:34	2934	[DEBUG]	No custom field ID found
2023-10-13	13:15:34	2934	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:34	2934	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:15:34	2934	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862426 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:34	2934	[DEBUG]	Store custom available field
2023-10-13	13:15:34	2934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862426,3,'0',1)
2023-10-13	13:15:34	2934	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:34	2934	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:34	2934	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862426 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:34	2934	[DEBUG]	Store custom available field
2023-10-13	13:15:34	2934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862426,6,'choisir la taille',3)
2023-10-13	13:15:34	2934	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:34	2934	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:34	2934	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:34	2934	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:34	2934	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862426 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:34	2934	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:34	2934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862426,8,1)
2023-10-13	13:15:34	2934	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:34	2934	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862426\":[1862426,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862426
2023-10-13	13:15:34	2934	[DEBUG]	Checking category
2023-10-13	13:15:34	2934	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:34	2934	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862426
2023-10-13	13:15:34	2934	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:34	2934	[DEBUG]	Executed store
2023-10-13	13:15:34	2934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862426','7361')
2023-10-13	13:15:34	2934	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:34	2934	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862426 AND `virtuemart_category_id` NOT IN (7361)
2023-10-13	13:15:34	2934	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:34	2934	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862426
2023-10-13	13:15:34	2935	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:34	2935	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:34	2935	[DEBUG]	Use field value for field taille
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:34	2935	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:34	2935	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:34	2935	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:34	2935	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:34	2935	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:34	2935	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:34	2935	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:34	2935	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:34	2935	[DEBUG]	Use field value for field published
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:34	2935	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field override
2023-10-13	13:15:34	2935	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:34	2935	[DEBUG]	Use field value for field slug
2023-10-13	13:15:34	2935	[DEBUG]	Process line 2935
2023-10-13	13:15:34	2935	[DEBUG]	Load a row
2023-10-13	13:15:34	2935	[DEBUG]	Processing item: 853988006010
2023-10-13	13:15:34	2935	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:34	2935	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:34	2935	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6787_1'
2023-10-13	13:15:34	2935	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:34	2935	[DEBUG]	Processing product tax
2023-10-13	13:15:34	2935	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:34	2935	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:34	2935	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:34	2935	[DEBUG]	Query for Product
2023-10-13	13:15:34	2935	[DEBUG]	Executed store
2023-10-13	13:15:34	2935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862426','853988006010','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:34	2935	[DEBUG]	No parent found
2023-10-13	13:15:34	2935	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862426 AND customfield_value = 'stockable'
2023-10-13	13:15:34	2935	[DEBUG]	Check product language entry
2023-10-13	13:15:34	2935	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862427
2023-10-13	13:15:34	2935	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:34	2935	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '853988006010' AND `virtuemart_product_id` != 1862427
2023-10-13	13:15:34	2935	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:34	2935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862427, '853988006010')
2023-10-13	13:15:34	2935	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:34	2935	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-kickr-snap-142x12-kit-s-axes-m12-x-1-75-1-5-1-0-noir-all' AND `virtuemart_product_id` != 1862427
2023-10-13	13:15:34	2935	[DEBUG]	Query for ProductLang
2023-10-13	13:15:34	2935	[DEBUG]	Executed store
2023-10-13	13:15:34	2935	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='WAHOO KICKR SNAP 142x12 kit s\'axes M12 x 1.75/1.5/1.0 / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-kickr-snap-142x12-kit-s-axes-m12-x-1-75-1-5-1-0-noir-all' WHERE `virtuemart_product_id` = '1862427'
2023-10-13	13:15:34	2935	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33023_wahoo_kickr_snap_142x12_kit_s_axes_m12_x_1_75-1_5-1_0.jpg
2023-10-13	13:15:34	2935	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:34	2935	[DEBUG]	Process image file
2023-10-13	13:15:34	2935	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:34	2935	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:34	2935	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33023_wahoo_kickr_snap_142x12_kit_s_axes_m12_x_1_75-1_5-1_0.jpg
2023-10-13	13:15:34	2935	[DEBUG]	Full name target: bcprisme/33023_wahoo_kickr_snap_142x12_kit_s_axes_m12_x_1_75-1_5-1_0.jpg
2023-10-13	13:15:35	2935	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:35	2935	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33023_wahoo_kickr_snap_142x12_kit_s_axes_m12_x_1_75-1_5-1_0.jpg'
2023-10-13	13:15:35	2935	[DEBUG]	Query for Media
2023-10-13	13:15:35	2935	[DEBUG]	Executed store
2023-10-13	13:15:35	2935	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33023_wahoo_kickr_snap_142x12_kit_s_axes_m12_x_1_75-1_5-1_0.jpg',`file_url_thumb`='bcprisme/33023_wahoo_kickr_snap_142x12_kit_s_axes_m12_x_1_75-1_5-1_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13011'
2023-10-13	13:15:35	2935	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:35	2935	[DEBUG]	Executed store
2023-10-13	13:15:35	2935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862427','13011','1')
2023-10-13	13:15:35	2935	[DEBUG]	Store product image relation
2023-10-13	13:15:35	2935	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:35	2935	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862427 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:35	2935	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:35	2935	[DEBUG]	Executed store
2023-10-13	13:15:35	2935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862427','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:35	2935	[DEBUG]	Checking manufacturer
2023-10-13	13:15:35	2935	[DEBUG]	Load a row
2023-10-13	13:15:35	2935	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:35	2935	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:35	2935	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:35	2935	[DEBUG]	Executed store
2023-10-13	13:15:35	2935	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:35	2935	[DEBUG]	Manufacturer exists
2023-10-13	13:15:35	2935	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	13:15:35	2935	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:35	2935	[DEBUG]	Executed store
2023-10-13	13:15:35	2935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862427','207')
2023-10-13	13:15:35	2935	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:35	2935	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:35	2935	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862427 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:35	2935	[DEBUG]	Store custom available field
2023-10-13	13:15:35	2935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862427,3,'',1)
2023-10-13	13:15:35	2935	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:35	2935	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:15:35	2935	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862427 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:35	2935	[DEBUG]	Store custom available field
2023-10-13	13:15:35	2935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862427,6,'All',3)
2023-10-13	13:15:35	2935	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:35	2935	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:35	2935	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862426
2023-10-13	13:15:35	2935	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:35	2935	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862426\":[1862426,8,1,\"choisir la taille\"],\"1862427\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862426
2023-10-13	13:15:35	2935	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:35	2935	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862427
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:35	2936	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field taille
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:35	2936	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:35	2936	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:35	2936	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:35	2936	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:35	2936	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:35	2936	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field published
2023-10-13	13:15:35	2936	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:35	2936	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field override
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:35	2936	[DEBUG]	Use field value for field slug
2023-10-13	13:15:35	2936	[DEBUG]	Process line 2936
2023-10-13	13:15:35	2936	[DEBUG]	Load a row
2023-10-13	13:15:35	2936	[DEBUG]	Processing item: A_6788_1
2023-10-13	13:15:35	2936	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:35	2936	[DEBUG]	Processing product tax
2023-10-13	13:15:35	2936	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:35	2936	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:35	2936	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:35	2936	[DEBUG]	Query for Product
2023-10-13	13:15:35	2936	[DEBUG]	Executed store
2023-10-13	13:15:35	2936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6788_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:35	2936	[DEBUG]	Check product language entry
2023-10-13	13:15:35	2936	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862428
2023-10-13	13:15:35	2936	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:35	2936	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6788_1' AND `virtuemart_product_id` != 1862428
2023-10-13	13:15:35	2936	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:35	2936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862428, 'A_6788_1')
2023-10-13	13:15:35	2936	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:35	2936	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-kickr-core-smart-trainer-noir' AND `virtuemart_product_id` != 1862428
2023-10-13	13:15:35	2936	[DEBUG]	Query for ProductLang
2023-10-13	13:15:35	2936	[DEBUG]	Executed store
2023-10-13	13:15:35	2936	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : WOO-WFBKTR4',`product_name`='WAHOO KICKR CORE SMART Trainer  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-kickr-core-smart-trainer-noir' WHERE `virtuemart_product_id` = '1862428'
2023-10-13	13:15:35	2936	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33024_wahoo_kickr_core_smart_trainer_.jpg
2023-10-13	13:15:35	2936	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:35	2936	[DEBUG]	Process image file
2023-10-13	13:15:35	2936	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:35	2936	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:35	2936	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33024_wahoo_kickr_core_smart_trainer_.jpg
2023-10-13	13:15:35	2936	[DEBUG]	Full name target: bcprisme/33024_wahoo_kickr_core_smart_trainer_.jpg
2023-10-13	13:15:36	2936	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:36	2936	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33024_wahoo_kickr_core_smart_trainer_.jpg'
2023-10-13	13:15:36	2936	[DEBUG]	Query for Media
2023-10-13	13:15:36	2936	[DEBUG]	Executed store
2023-10-13	13:15:36	2936	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33024_wahoo_kickr_core_smart_trainer_.jpg',`file_url_thumb`='bcprisme/33024_wahoo_kickr_core_smart_trainer_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13012'
2023-10-13	13:15:36	2936	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:36	2936	[DEBUG]	Executed store
2023-10-13	13:15:36	2936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862428','13012','1')
2023-10-13	13:15:36	2936	[DEBUG]	Store product image relation
2023-10-13	13:15:36	2936	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:36	2936	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862428 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:36	2936	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:36	2936	[DEBUG]	Executed store
2023-10-13	13:15:36	2936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862428','0','899.721448467967','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:36	2936	[DEBUG]	Checking manufacturer
2023-10-13	13:15:36	2936	[DEBUG]	Load a row
2023-10-13	13:15:36	2936	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:36	2936	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:36	2936	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:36	2936	[DEBUG]	Executed store
2023-10-13	13:15:36	2936	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:36	2936	[DEBUG]	Manufacturer exists
2023-10-13	13:15:36	2936	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	13:15:36	2936	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:36	2936	[DEBUG]	Executed store
2023-10-13	13:15:36	2936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862428','207')
2023-10-13	13:15:36	2936	[DEBUG]	Find the custom field ID
2023-10-13	13:15:36	2936	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:36	2936	[DEBUG]	No custom field ID found
2023-10-13	13:15:36	2936	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:36	2936	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:15:36	2936	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862428 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:36	2936	[DEBUG]	Store custom available field
2023-10-13	13:15:36	2936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862428,3,'0',1)
2023-10-13	13:15:36	2936	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:36	2936	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:36	2936	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862428 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:36	2936	[DEBUG]	Store custom available field
2023-10-13	13:15:36	2936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862428,6,'choisir la taille',3)
2023-10-13	13:15:36	2936	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:36	2936	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:36	2936	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:36	2936	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:36	2936	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862428 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:36	2936	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:36	2936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862428,8,1)
2023-10-13	13:15:36	2936	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:36	2936	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862428\":[1862428,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862428
2023-10-13	13:15:36	2936	[DEBUG]	Checking category
2023-10-13	13:15:36	2936	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:36	2936	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862428
2023-10-13	13:15:36	2936	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:36	2936	[DEBUG]	Executed store
2023-10-13	13:15:36	2936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862428','7361')
2023-10-13	13:15:36	2936	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:36	2936	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862428 AND `virtuemart_category_id` NOT IN (7361)
2023-10-13	13:15:36	2936	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:36	2936	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862428
2023-10-13	13:15:36	2937	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:36	2937	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:36	2937	[DEBUG]	Use field value for field taille
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:36	2937	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:36	2937	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:36	2937	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:36	2937	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:36	2937	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:36	2937	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:36	2937	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:36	2937	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:36	2937	[DEBUG]	Use field value for field published
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:36	2937	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field override
2023-10-13	13:15:36	2937	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:36	2937	[DEBUG]	Use field value for field slug
2023-10-13	13:15:36	2937	[DEBUG]	Process line 2937
2023-10-13	13:15:36	2937	[DEBUG]	Load a row
2023-10-13	13:15:36	2937	[DEBUG]	Processing item: 1000000109535
2023-10-13	13:15:36	2937	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:36	2937	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:36	2937	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6788_1'
2023-10-13	13:15:36	2937	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:36	2937	[DEBUG]	Processing product tax
2023-10-13	13:15:36	2937	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:36	2937	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:36	2937	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:36	2937	[DEBUG]	Query for Product
2023-10-13	13:15:36	2937	[DEBUG]	Executed store
2023-10-13	13:15:36	2937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862428','1000000109535','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:36	2937	[DEBUG]	No parent found
2023-10-13	13:15:36	2937	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862428 AND customfield_value = 'stockable'
2023-10-13	13:15:36	2937	[DEBUG]	Check product language entry
2023-10-13	13:15:36	2937	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862429
2023-10-13	13:15:36	2937	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:36	2937	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000109535' AND `virtuemart_product_id` != 1862429
2023-10-13	13:15:36	2937	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:36	2937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862429, '1000000109535')
2023-10-13	13:15:36	2937	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:36	2937	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-kickr-core-smart-trainer-noir-all' AND `virtuemart_product_id` != 1862429
2023-10-13	13:15:36	2937	[DEBUG]	Query for ProductLang
2023-10-13	13:15:36	2937	[DEBUG]	Executed store
2023-10-13	13:15:36	2937	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='WAHOO KICKR CORE SMART Trainer  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-kickr-core-smart-trainer-noir-all' WHERE `virtuemart_product_id` = '1862429'
2023-10-13	13:15:36	2937	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33024_wahoo_kickr_core_smart_trainer_.jpg
2023-10-13	13:15:36	2937	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:36	2937	[DEBUG]	Process image file
2023-10-13	13:15:36	2937	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:36	2937	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:36	2937	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33024_wahoo_kickr_core_smart_trainer_.jpg
2023-10-13	13:15:36	2937	[DEBUG]	Full name target: bcprisme/33024_wahoo_kickr_core_smart_trainer_.jpg
2023-10-13	13:15:37	2937	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:37	2937	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33024_wahoo_kickr_core_smart_trainer_.jpg'
2023-10-13	13:15:37	2937	[DEBUG]	Query for Media
2023-10-13	13:15:37	2937	[DEBUG]	Executed store
2023-10-13	13:15:37	2937	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33024_wahoo_kickr_core_smart_trainer_.jpg',`file_url_thumb`='bcprisme/33024_wahoo_kickr_core_smart_trainer_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13012'
2023-10-13	13:15:37	2937	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:37	2937	[DEBUG]	Executed store
2023-10-13	13:15:37	2937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862429','13012','1')
2023-10-13	13:15:37	2937	[DEBUG]	Store product image relation
2023-10-13	13:15:37	2937	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:37	2937	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862429 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:37	2937	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:37	2937	[DEBUG]	Executed store
2023-10-13	13:15:37	2937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862429','0','899.721448467967','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:37	2937	[DEBUG]	Checking manufacturer
2023-10-13	13:15:37	2937	[DEBUG]	Load a row
2023-10-13	13:15:37	2937	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:37	2937	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:37	2937	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:37	2937	[DEBUG]	Executed store
2023-10-13	13:15:37	2937	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:37	2937	[DEBUG]	Manufacturer exists
2023-10-13	13:15:37	2937	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	13:15:37	2937	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:37	2937	[DEBUG]	Executed store
2023-10-13	13:15:37	2937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862429','207')
2023-10-13	13:15:37	2937	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:37	2937	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:37	2937	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862429 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:37	2937	[DEBUG]	Store custom available field
2023-10-13	13:15:37	2937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862429,3,'',1)
2023-10-13	13:15:37	2937	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:37	2937	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:15:37	2937	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862429 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:37	2937	[DEBUG]	Store custom available field
2023-10-13	13:15:37	2937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862429,6,'All',3)
2023-10-13	13:15:37	2937	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:37	2937	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:37	2937	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862428
2023-10-13	13:15:37	2937	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:37	2937	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862428\":[1862428,8,1,\"choisir la taille\"],\"1862429\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862428
2023-10-13	13:15:37	2937	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:37	2937	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862429
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:37	2938	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field taille
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:37	2938	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:37	2938	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:37	2938	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:37	2938	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:37	2938	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:37	2938	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field published
2023-10-13	13:15:37	2938	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:37	2938	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field override
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:37	2938	[DEBUG]	Use field value for field slug
2023-10-13	13:15:37	2938	[DEBUG]	Process line 2938
2023-10-13	13:15:37	2938	[DEBUG]	Load a row
2023-10-13	13:15:37	2938	[DEBUG]	Processing item: A_7717_1
2023-10-13	13:15:37	2938	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:37	2938	[DEBUG]	Processing product tax
2023-10-13	13:15:37	2938	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:37	2938	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:37	2938	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:37	2938	[DEBUG]	Query for Product
2023-10-13	13:15:37	2938	[DEBUG]	Executed store
2023-10-13	13:15:37	2938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7717_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:37	2938	[DEBUG]	Check product language entry
2023-10-13	13:15:37	2938	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862430
2023-10-13	13:15:37	2938	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:37	2938	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7717_1' AND `virtuemart_product_id` != 1862430
2023-10-13	13:15:37	2938	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:37	2938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862430, 'A_7717_1')
2023-10-13	13:15:37	2938	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:37	2938	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-kickr-v5-power-trainer-noir' AND `virtuemart_product_id` != 1862430
2023-10-13	13:15:37	2938	[DEBUG]	Query for ProductLang
2023-10-13	13:15:37	2938	[DEBUG]	Executed store
2023-10-13	13:15:37	2938	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : WOO-WFBKTR120',`product_name`='WAHOO KICKR V5 Power Trainer  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-kickr-v5-power-trainer-noir' WHERE `virtuemart_product_id` = '1862430'
2023-10-13	13:15:37	2938	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35904_wahoo_kickr_v5_power_trainer_.jpg
2023-10-13	13:15:37	2938	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:37	2938	[DEBUG]	Process image file
2023-10-13	13:15:37	2938	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:37	2938	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:37	2938	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35904_wahoo_kickr_v5_power_trainer_.jpg
2023-10-13	13:15:37	2938	[DEBUG]	Full name target: bcprisme/35904_wahoo_kickr_v5_power_trainer_.jpg
2023-10-13	13:15:38	2938	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:38	2938	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35904_wahoo_kickr_v5_power_trainer_.jpg'
2023-10-13	13:15:38	2938	[DEBUG]	Query for Media
2023-10-13	13:15:38	2938	[DEBUG]	Executed store
2023-10-13	13:15:38	2938	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35904_wahoo_kickr_v5_power_trainer_.jpg',`file_url_thumb`='bcprisme/35904_wahoo_kickr_v5_power_trainer_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '408949'
2023-10-13	13:15:38	2938	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:38	2938	[DEBUG]	Executed store
2023-10-13	13:15:38	2938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862430','408949','1')
2023-10-13	13:15:38	2938	[DEBUG]	Store product image relation
2023-10-13	13:15:38	2938	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:38	2938	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862430 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:38	2938	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:38	2938	[DEBUG]	Executed store
2023-10-13	13:15:38	2938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862430','0','1206.12813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:38	2938	[DEBUG]	Checking manufacturer
2023-10-13	13:15:38	2938	[DEBUG]	Load a row
2023-10-13	13:15:38	2938	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:38	2938	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:38	2938	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:38	2938	[DEBUG]	Executed store
2023-10-13	13:15:38	2938	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:38	2938	[DEBUG]	Manufacturer exists
2023-10-13	13:15:38	2938	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	13:15:38	2938	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:38	2938	[DEBUG]	Executed store
2023-10-13	13:15:38	2938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862430','207')
2023-10-13	13:15:38	2938	[DEBUG]	Find the custom field ID
2023-10-13	13:15:38	2938	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:38	2938	[DEBUG]	No custom field ID found
2023-10-13	13:15:38	2938	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:38	2938	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:15:38	2938	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862430 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:38	2938	[DEBUG]	Store custom available field
2023-10-13	13:15:38	2938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862430,3,'0',1)
2023-10-13	13:15:38	2938	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:38	2938	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:38	2938	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862430 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:38	2938	[DEBUG]	Store custom available field
2023-10-13	13:15:38	2938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862430,6,'choisir la taille',3)
2023-10-13	13:15:38	2938	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:38	2938	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:38	2938	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:38	2938	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:38	2938	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862430 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:38	2938	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:38	2938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862430,8,1)
2023-10-13	13:15:38	2938	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:38	2938	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862430\":[1862430,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862430
2023-10-13	13:15:38	2938	[DEBUG]	Checking category
2023-10-13	13:15:38	2938	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:38	2938	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862430
2023-10-13	13:15:38	2938	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:38	2938	[DEBUG]	Executed store
2023-10-13	13:15:38	2938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862430','7361')
2023-10-13	13:15:38	2938	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:38	2938	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862430 AND `virtuemart_category_id` NOT IN (7361)
2023-10-13	13:15:38	2938	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:38	2938	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862430
2023-10-13	13:15:38	2939	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:38	2939	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:38	2939	[DEBUG]	Use field value for field taille
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:38	2939	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:38	2939	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:38	2939	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:38	2939	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:38	2939	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:38	2939	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:38	2939	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:38	2939	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:38	2939	[DEBUG]	Use field value for field published
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:38	2939	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field override
2023-10-13	13:15:38	2939	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:38	2939	[DEBUG]	Use field value for field slug
2023-10-13	13:15:38	2939	[DEBUG]	Process line 2939
2023-10-13	13:15:38	2939	[DEBUG]	Load a row
2023-10-13	13:15:38	2939	[DEBUG]	Processing item: 1000000134742
2023-10-13	13:15:38	2939	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:38	2939	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:38	2939	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7717_1'
2023-10-13	13:15:38	2939	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:38	2939	[DEBUG]	Processing product tax
2023-10-13	13:15:38	2939	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:38	2939	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:38	2939	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:38	2939	[DEBUG]	Query for Product
2023-10-13	13:15:38	2939	[DEBUG]	Executed store
2023-10-13	13:15:38	2939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862430','1000000134742','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:38	2939	[DEBUG]	No parent found
2023-10-13	13:15:38	2939	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862430 AND customfield_value = 'stockable'
2023-10-13	13:15:38	2939	[DEBUG]	Check product language entry
2023-10-13	13:15:38	2939	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862431
2023-10-13	13:15:38	2939	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:38	2939	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000134742' AND `virtuemart_product_id` != 1862431
2023-10-13	13:15:38	2939	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:38	2939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862431, '1000000134742')
2023-10-13	13:15:38	2939	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:38	2939	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-kickr-v5-power-trainer-noir-all' AND `virtuemart_product_id` != 1862431
2023-10-13	13:15:38	2939	[DEBUG]	Query for ProductLang
2023-10-13	13:15:38	2939	[DEBUG]	Executed store
2023-10-13	13:15:38	2939	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='WAHOO KICKR V5 Power Trainer  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-kickr-v5-power-trainer-noir-all' WHERE `virtuemart_product_id` = '1862431'
2023-10-13	13:15:38	2939	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35904_wahoo_kickr_v5_power_trainer_.jpg
2023-10-13	13:15:38	2939	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:38	2939	[DEBUG]	Process image file
2023-10-13	13:15:38	2939	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:38	2939	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:38	2939	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35904_wahoo_kickr_v5_power_trainer_.jpg
2023-10-13	13:15:38	2939	[DEBUG]	Full name target: bcprisme/35904_wahoo_kickr_v5_power_trainer_.jpg
2023-10-13	13:15:39	2939	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:39	2939	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35904_wahoo_kickr_v5_power_trainer_.jpg'
2023-10-13	13:15:39	2939	[DEBUG]	Query for Media
2023-10-13	13:15:39	2939	[DEBUG]	Executed store
2023-10-13	13:15:39	2939	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35904_wahoo_kickr_v5_power_trainer_.jpg',`file_url_thumb`='bcprisme/35904_wahoo_kickr_v5_power_trainer_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '408949'
2023-10-13	13:15:39	2939	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:39	2939	[DEBUG]	Executed store
2023-10-13	13:15:39	2939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862431','408949','1')
2023-10-13	13:15:39	2939	[DEBUG]	Store product image relation
2023-10-13	13:15:39	2939	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:39	2939	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862431 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:39	2939	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:39	2939	[DEBUG]	Executed store
2023-10-13	13:15:39	2939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862431','0','1206.12813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:39	2939	[DEBUG]	Checking manufacturer
2023-10-13	13:15:39	2939	[DEBUG]	Load a row
2023-10-13	13:15:39	2939	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:39	2939	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:39	2939	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:39	2939	[DEBUG]	Executed store
2023-10-13	13:15:39	2939	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:39	2939	[DEBUG]	Manufacturer exists
2023-10-13	13:15:39	2939	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	13:15:39	2939	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:39	2939	[DEBUG]	Executed store
2023-10-13	13:15:39	2939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862431','207')
2023-10-13	13:15:39	2939	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:39	2939	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:39	2939	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862431 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:39	2939	[DEBUG]	Store custom available field
2023-10-13	13:15:39	2939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862431,3,'',1)
2023-10-13	13:15:39	2939	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:39	2939	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:15:39	2939	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862431 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:39	2939	[DEBUG]	Store custom available field
2023-10-13	13:15:39	2939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862431,6,'All',3)
2023-10-13	13:15:39	2939	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:39	2939	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:39	2939	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862430
2023-10-13	13:15:39	2939	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:39	2939	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862430\":[1862430,8,1,\"choisir la taille\"],\"1862431\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862430
2023-10-13	13:15:39	2939	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:39	2939	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862431
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:39	2940	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field taille
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:39	2940	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:39	2940	[DEBUG]	Use default value for field file_url
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:39	2940	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:39	2940	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:39	2940	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:39	2940	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:39	2940	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field published
2023-10-13	13:15:39	2940	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:39	2940	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field override
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:39	2940	[DEBUG]	Use field value for field slug
2023-10-13	13:15:39	2940	[DEBUG]	Process line 2940
2023-10-13	13:15:39	2940	[DEBUG]	Load a row
2023-10-13	13:15:39	2940	[DEBUG]	Processing item: A_7904_1
2023-10-13	13:15:39	2940	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:39	2940	[DEBUG]	Processing product tax
2023-10-13	13:15:39	2940	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:39	2940	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:39	2940	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:39	2940	[DEBUG]	Query for Product
2023-10-13	13:15:39	2940	[DEBUG]	Executed store
2023-10-13	13:15:39	2940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7904_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:39	2940	[DEBUG]	Check product language entry
2023-10-13	13:15:39	2940	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862432
2023-10-13	13:15:39	2940	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:39	2940	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7904_1' AND `virtuemart_product_id` != 1862432
2023-10-13	13:15:39	2940	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:39	2940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862432, 'A_7904_1')
2023-10-13	13:15:39	2940	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:39	2940	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-kickr-snap-power-trainer-noir' AND `virtuemart_product_id` != 1862432
2023-10-13	13:15:39	2940	[DEBUG]	Query for ProductLang
2023-10-13	13:15:39	2940	[DEBUG]	Executed store
2023-10-13	13:15:39	2940	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : WOO-WFBKTR120',`product_name`='WAHOO KICKR SNAP Power Trainer / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-kickr-snap-power-trainer-noir' WHERE `virtuemart_product_id` = '1862432'
2023-10-13	13:15:39	2940	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:39	2940	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862432 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:39	2940	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:39	2940	[DEBUG]	Executed store
2023-10-13	13:15:39	2940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862432','0','500.464252553389','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:39	2940	[DEBUG]	Checking manufacturer
2023-10-13	13:15:39	2940	[DEBUG]	Load a row
2023-10-13	13:15:39	2940	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:39	2940	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:39	2940	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:39	2940	[DEBUG]	Executed store
2023-10-13	13:15:39	2940	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:39	2940	[DEBUG]	Manufacturer exists
2023-10-13	13:15:39	2940	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	13:15:39	2940	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:39	2940	[DEBUG]	Executed store
2023-10-13	13:15:39	2940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862432','207')
2023-10-13	13:15:39	2940	[DEBUG]	Find the custom field ID
2023-10-13	13:15:39	2940	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:39	2940	[DEBUG]	No custom field ID found
2023-10-13	13:15:39	2940	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:39	2940	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:15:39	2940	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862432 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:39	2940	[DEBUG]	Store custom available field
2023-10-13	13:15:39	2940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862432,3,'0',1)
2023-10-13	13:15:39	2940	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:39	2940	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:39	2940	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862432 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:39	2940	[DEBUG]	Store custom available field
2023-10-13	13:15:39	2940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862432,6,'choisir la taille',3)
2023-10-13	13:15:39	2940	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:39	2940	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:39	2940	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:39	2940	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:39	2940	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862432 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:39	2940	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:39	2940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862432,8,1)
2023-10-13	13:15:39	2940	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:39	2940	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862432\":[1862432,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862432
2023-10-13	13:15:39	2940	[DEBUG]	Checking category
2023-10-13	13:15:39	2940	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:39	2940	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862432
2023-10-13	13:15:39	2940	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:39	2940	[DEBUG]	Executed store
2023-10-13	13:15:39	2940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862432','7361')
2023-10-13	13:15:39	2940	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:39	2940	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862432 AND `virtuemart_category_id` NOT IN (7361)
2023-10-13	13:15:39	2940	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:39	2940	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862432
2023-10-13	13:15:39	2941	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:39	2941	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:39	2941	[DEBUG]	Use field value for field taille
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:39	2941	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:39	2941	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:39	2941	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field file_url
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:39	2941	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:39	2941	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:39	2941	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:39	2941	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:39	2941	[DEBUG]	Use field value for field published
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:39	2941	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field override
2023-10-13	13:15:39	2941	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:39	2941	[DEBUG]	Use field value for field slug
2023-10-13	13:15:39	2941	[DEBUG]	Process line 2941
2023-10-13	13:15:39	2941	[DEBUG]	Load a row
2023-10-13	13:15:39	2941	[DEBUG]	Processing item: 1000000139761
2023-10-13	13:15:39	2941	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:39	2941	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:39	2941	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7904_1'
2023-10-13	13:15:39	2941	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:39	2941	[DEBUG]	Processing product tax
2023-10-13	13:15:39	2941	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:39	2941	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:39	2941	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:39	2941	[DEBUG]	Query for Product
2023-10-13	13:15:39	2941	[DEBUG]	Executed store
2023-10-13	13:15:39	2941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862432','1000000139761','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:39	2941	[DEBUG]	No parent found
2023-10-13	13:15:39	2941	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862432 AND customfield_value = 'stockable'
2023-10-13	13:15:39	2941	[DEBUG]	Check product language entry
2023-10-13	13:15:39	2941	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862433
2023-10-13	13:15:39	2941	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:39	2941	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000139761' AND `virtuemart_product_id` != 1862433
2023-10-13	13:15:39	2941	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:39	2941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862433, '1000000139761')
2023-10-13	13:15:39	2941	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:39	2941	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-kickr-snap-power-trainer-noir-all' AND `virtuemart_product_id` != 1862433
2023-10-13	13:15:39	2941	[DEBUG]	Query for ProductLang
2023-10-13	13:15:39	2941	[DEBUG]	Executed store
2023-10-13	13:15:39	2941	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='WAHOO KICKR SNAP Power Trainer / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-kickr-snap-power-trainer-noir-all' WHERE `virtuemart_product_id` = '1862433'
2023-10-13	13:15:39	2941	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:39	2941	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862433 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:39	2941	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:39	2941	[DEBUG]	Executed store
2023-10-13	13:15:39	2941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862433','0','500.464252553389','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:39	2941	[DEBUG]	Checking manufacturer
2023-10-13	13:15:39	2941	[DEBUG]	Load a row
2023-10-13	13:15:39	2941	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:39	2941	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:39	2941	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:39	2941	[DEBUG]	Executed store
2023-10-13	13:15:39	2941	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:39	2941	[DEBUG]	Manufacturer exists
2023-10-13	13:15:39	2941	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	13:15:39	2941	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:39	2941	[DEBUG]	Executed store
2023-10-13	13:15:39	2941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862433','207')
2023-10-13	13:15:39	2941	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:39	2941	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:39	2941	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862433 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:39	2941	[DEBUG]	Store custom available field
2023-10-13	13:15:39	2941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862433,3,'',1)
2023-10-13	13:15:39	2941	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:39	2941	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:15:39	2941	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862433 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:39	2941	[DEBUG]	Store custom available field
2023-10-13	13:15:39	2941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862433,6,'All',3)
2023-10-13	13:15:39	2941	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:39	2941	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:39	2941	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862432
2023-10-13	13:15:39	2941	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:39	2941	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862432\":[1862432,8,1,\"choisir la taille\"],\"1862433\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862432
2023-10-13	13:15:39	2941	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:39	2941	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862433
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:39	2942	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field taille
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:39	2942	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:39	2942	[DEBUG]	Use default value for field file_url
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:39	2942	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:39	2942	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:39	2942	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:39	2942	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:39	2942	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:39	2942	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field published
2023-10-13	13:15:39	2942	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:39	2942	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field override
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:39	2942	[DEBUG]	Use field value for field slug
2023-10-13	13:15:39	2942	[DEBUG]	Process line 2942
2023-10-13	13:15:39	2942	[DEBUG]	Load a row
2023-10-13	13:15:39	2942	[DEBUG]	Processing item: A_5926_208
2023-10-13	13:15:39	2942	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:39	2942	[DEBUG]	Processing product tax
2023-10-13	13:15:39	2942	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:39	2942	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:39	2942	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:39	2942	[DEBUG]	Query for Product
2023-10-13	13:15:39	2942	[DEBUG]	Executed store
2023-10-13	13:15:39	2942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5926_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:39	2942	[DEBUG]	Check product language entry
2023-10-13	13:15:39	2942	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862434
2023-10-13	13:15:39	2942	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:39	2942	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5926_208' AND `virtuemart_product_id` != 1862434
2023-10-13	13:15:39	2942	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:39	2942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862434, 'A_5926_208')
2023-10-13	13:15:39	2942	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:39	2942	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'elite-elite-hometrainer-elevation-roue-avant-susta-block-gel-aucune' AND `virtuemart_product_id` != 1862434
2023-10-13	13:15:39	2942	[DEBUG]	Query for ProductLang
2023-10-13	13:15:39	2942	[DEBUG]	Executed store
2023-10-13	13:15:39	2942	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 19.55494',`product_name`='Elite Elite Hometrainer Elevation roue avant Susta Block Gel / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='elite-elite-hometrainer-elevation-roue-avant-susta-block-gel-aucune' WHERE `virtuemart_product_id` = '1862434'
2023-10-13	13:15:39	2942	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:39	2942	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862434 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:39	2942	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:39	2942	[DEBUG]	Executed store
2023-10-13	13:15:39	2942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862434','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:39	2942	[DEBUG]	Checking manufacturer
2023-10-13	13:15:39	2942	[DEBUG]	Load a row
2023-10-13	13:15:39	2942	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:39	2942	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:39	2942	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:39	2942	[DEBUG]	Executed store
2023-10-13	13:15:39	2942	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-3390137955' WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:39	2942	[DEBUG]	Manufacturer exists
2023-10-13	13:15:39	2942	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 58
2023-10-13	13:15:39	2942	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:39	2942	[DEBUG]	Executed store
2023-10-13	13:15:39	2942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862434','58')
2023-10-13	13:15:39	2942	[DEBUG]	Find the custom field ID
2023-10-13	13:15:39	2942	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:39	2942	[DEBUG]	No custom field ID found
2023-10-13	13:15:39	2942	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:39	2942	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:15:39	2942	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862434 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:39	2942	[DEBUG]	Store custom available field
2023-10-13	13:15:39	2942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862434,3,'0',1)
2023-10-13	13:15:39	2942	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:39	2942	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:39	2942	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862434 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:39	2942	[DEBUG]	Store custom available field
2023-10-13	13:15:39	2942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862434,6,'choisir la taille',3)
2023-10-13	13:15:39	2942	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:39	2942	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:39	2942	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:39	2942	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:39	2942	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862434 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:39	2942	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:39	2942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862434,8,1)
2023-10-13	13:15:39	2942	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:39	2942	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862434\":[1862434,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862434
2023-10-13	13:15:39	2942	[DEBUG]	Checking category
2023-10-13	13:15:39	2942	[DEBUG]	Check if category path exists: HOMETRAINER ACCESSOIRES
2023-10-13	13:15:39	2942	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'HOMETRAINER ACCESSOIRES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7360
2023-10-13	13:15:39	2942	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:39	2942	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862434
2023-10-13	13:15:39	2942	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:39	2942	[DEBUG]	Executed store
2023-10-13	13:15:39	2942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862434','7362')
2023-10-13	13:15:39	2942	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:39	2942	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862434 AND `virtuemart_category_id` NOT IN (7362)
2023-10-13	13:15:39	2942	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:39	2942	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862434
2023-10-13	13:15:39	2943	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:39	2943	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:39	2943	[DEBUG]	Use field value for field taille
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:39	2943	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:39	2943	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:39	2943	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field file_url
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:39	2943	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:39	2943	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:39	2943	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:39	2943	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:39	2943	[DEBUG]	Use field value for field published
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:39	2943	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field override
2023-10-13	13:15:39	2943	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:39	2943	[DEBUG]	Use field value for field slug
2023-10-13	13:15:39	2943	[DEBUG]	Process line 2943
2023-10-13	13:15:39	2943	[DEBUG]	Load a row
2023-10-13	13:15:39	2943	[DEBUG]	Processing item: 8020775017999
2023-10-13	13:15:39	2943	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:39	2943	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:39	2943	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5926_208'
2023-10-13	13:15:39	2943	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:39	2943	[DEBUG]	Processing product tax
2023-10-13	13:15:39	2943	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:39	2943	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:39	2943	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:39	2943	[DEBUG]	Query for Product
2023-10-13	13:15:39	2943	[DEBUG]	Executed store
2023-10-13	13:15:39	2943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862434','8020775017999','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:39	2943	[DEBUG]	No parent found
2023-10-13	13:15:39	2943	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862434 AND customfield_value = 'stockable'
2023-10-13	13:15:39	2943	[DEBUG]	Check product language entry
2023-10-13	13:15:39	2943	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862435
2023-10-13	13:15:39	2943	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:39	2943	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8020775017999' AND `virtuemart_product_id` != 1862435
2023-10-13	13:15:39	2943	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:39	2943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862435, '8020775017999')
2023-10-13	13:15:39	2943	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:39	2943	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'elite-elite-hometrainer-elevation-roue-avant-susta-block-gel-aucune-all' AND `virtuemart_product_id` != 1862435
2023-10-13	13:15:39	2943	[DEBUG]	Query for ProductLang
2023-10-13	13:15:39	2943	[DEBUG]	Executed store
2023-10-13	13:15:39	2943	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Elite Elite Hometrainer Elevation roue avant Susta Block Gel / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='elite-elite-hometrainer-elevation-roue-avant-susta-block-gel-aucune-all' WHERE `virtuemart_product_id` = '1862435'
2023-10-13	13:15:39	2943	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:39	2943	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862435 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:39	2943	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:39	2943	[DEBUG]	Executed store
2023-10-13	13:15:39	2943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862435','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:39	2943	[DEBUG]	Checking manufacturer
2023-10-13	13:15:39	2943	[DEBUG]	Load a row
2023-10-13	13:15:39	2943	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:39	2943	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:39	2943	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:39	2943	[DEBUG]	Executed store
2023-10-13	13:15:39	2943	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-3390137955' WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:39	2943	[DEBUG]	Manufacturer exists
2023-10-13	13:15:39	2943	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 58
2023-10-13	13:15:39	2943	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:39	2943	[DEBUG]	Executed store
2023-10-13	13:15:39	2943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862435','58')
2023-10-13	13:15:39	2943	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:39	2943	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:39	2943	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862435 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:39	2943	[DEBUG]	Store custom available field
2023-10-13	13:15:39	2943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862435,3,'',1)
2023-10-13	13:15:39	2943	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:39	2943	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:15:39	2943	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862435 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:39	2943	[DEBUG]	Store custom available field
2023-10-13	13:15:39	2943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862435,6,'All',3)
2023-10-13	13:15:39	2943	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:39	2943	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:39	2943	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862434
2023-10-13	13:15:39	2943	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:39	2943	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862434\":[1862434,8,1,\"choisir la taille\"],\"1862435\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862434
2023-10-13	13:15:39	2943	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:39	2943	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862435
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:39	2944	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field taille
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:39	2944	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:39	2944	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:39	2944	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:39	2944	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:39	2944	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:39	2944	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field published
2023-10-13	13:15:39	2944	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:39	2944	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field override
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:39	2944	[DEBUG]	Use field value for field slug
2023-10-13	13:15:39	2944	[DEBUG]	Process line 2944
2023-10-13	13:15:39	2944	[DEBUG]	Load a row
2023-10-13	13:15:39	2944	[DEBUG]	Processing item: A_6074_13
2023-10-13	13:15:39	2944	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:39	2944	[DEBUG]	Processing product tax
2023-10-13	13:15:39	2944	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:39	2944	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:39	2944	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:39	2944	[DEBUG]	Query for Product
2023-10-13	13:15:39	2944	[DEBUG]	Executed store
2023-10-13	13:15:39	2944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6074_13','12','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:39	2944	[DEBUG]	Check product language entry
2023-10-13	13:15:39	2944	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862436
2023-10-13	13:15:39	2944	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:39	2944	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6074_13' AND `virtuemart_product_id` != 1862436
2023-10-13	13:15:39	2944	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:39	2944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862436, 'A_6074_13')
2023-10-13	13:15:39	2944	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:39	2944	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'elite-elite-hometrainer-axe-traversant-10-12-mm-argent' AND `virtuemart_product_id` != 1862436
2023-10-13	13:15:39	2944	[DEBUG]	Query for ProductLang
2023-10-13	13:15:39	2944	[DEBUG]	Executed store
2023-10-13	13:15:39	2944	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 19.59768',`product_name`='Elite Elite Hometrainer axe traversant 10/12 mm / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='elite-elite-hometrainer-axe-traversant-10-12-mm-argent' WHERE `virtuemart_product_id` = '1862436'
2023-10-13	13:15:39	2944	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/19_59768_out_.jpg
2023-10-13	13:15:39	2944	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:39	2944	[DEBUG]	Process image file
2023-10-13	13:15:39	2944	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:39	2944	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:39	2944	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/19_59768_out_.jpg
2023-10-13	13:15:39	2944	[DEBUG]	Full name target: bcprisme/19_59768_out_.jpg
2023-10-13	13:15:40	2944	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:40	2944	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/19_59768_out_.jpg'
2023-10-13	13:15:40	2944	[DEBUG]	Query for Media
2023-10-13	13:15:40	2944	[DEBUG]	Executed store
2023-10-13	13:15:40	2944	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/19_59768_out_.jpg',`file_url_thumb`='bcprisme/19_59768_out_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481248'
2023-10-13	13:15:40	2944	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:40	2944	[DEBUG]	Executed store
2023-10-13	13:15:40	2944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862436','481248','1')
2023-10-13	13:15:40	2944	[DEBUG]	Store product image relation
2023-10-13	13:15:40	2944	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:40	2944	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862436 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:40	2944	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:40	2944	[DEBUG]	Executed store
2023-10-13	13:15:40	2944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862436','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:40	2944	[DEBUG]	Checking manufacturer
2023-10-13	13:15:40	2944	[DEBUG]	Load a row
2023-10-13	13:15:40	2944	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:40	2944	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:40	2944	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:40	2944	[DEBUG]	Executed store
2023-10-13	13:15:40	2944	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-3390137955' WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:40	2944	[DEBUG]	Manufacturer exists
2023-10-13	13:15:40	2944	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 58
2023-10-13	13:15:40	2944	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:40	2944	[DEBUG]	Executed store
2023-10-13	13:15:40	2944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862436','58')
2023-10-13	13:15:40	2944	[DEBUG]	Find the custom field ID
2023-10-13	13:15:40	2944	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:40	2944	[DEBUG]	No custom field ID found
2023-10-13	13:15:40	2944	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:40	2944	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:15:40	2944	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862436 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:40	2944	[DEBUG]	Store custom available field
2023-10-13	13:15:40	2944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862436,3,'0',1)
2023-10-13	13:15:40	2944	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:40	2944	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:40	2944	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862436 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:40	2944	[DEBUG]	Store custom available field
2023-10-13	13:15:40	2944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862436,6,'choisir la taille',3)
2023-10-13	13:15:40	2944	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:40	2944	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:40	2944	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:40	2944	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:40	2944	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862436 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:40	2944	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:40	2944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862436,8,1)
2023-10-13	13:15:40	2944	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:40	2944	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862436\":[1862436,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862436
2023-10-13	13:15:40	2944	[DEBUG]	Checking category
2023-10-13	13:15:40	2944	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:40	2944	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862436
2023-10-13	13:15:40	2944	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:40	2944	[DEBUG]	Executed store
2023-10-13	13:15:40	2944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862436','7362')
2023-10-13	13:15:40	2944	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:40	2944	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862436 AND `virtuemart_category_id` NOT IN (7362)
2023-10-13	13:15:40	2944	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:40	2944	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862436
2023-10-13	13:15:40	2945	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:40	2945	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:40	2945	[DEBUG]	Use field value for field taille
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:40	2945	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:40	2945	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:40	2945	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:40	2945	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:40	2945	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:40	2945	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:40	2945	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:40	2945	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:40	2945	[DEBUG]	Use field value for field published
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:40	2945	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field override
2023-10-13	13:15:40	2945	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:40	2945	[DEBUG]	Use field value for field slug
2023-10-13	13:15:40	2945	[DEBUG]	Process line 2945
2023-10-13	13:15:40	2945	[DEBUG]	Load a row
2023-10-13	13:15:40	2945	[DEBUG]	Processing item: 8020775023785
2023-10-13	13:15:40	2945	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:40	2945	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:40	2945	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6074_13'
2023-10-13	13:15:40	2945	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:40	2945	[DEBUG]	Processing product tax
2023-10-13	13:15:40	2945	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:40	2945	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:40	2945	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:40	2945	[DEBUG]	Query for Product
2023-10-13	13:15:40	2945	[DEBUG]	Executed store
2023-10-13	13:15:40	2945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862436','8020775023785','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:40	2945	[DEBUG]	No parent found
2023-10-13	13:15:40	2945	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862436 AND customfield_value = 'stockable'
2023-10-13	13:15:40	2945	[DEBUG]	Check product language entry
2023-10-13	13:15:40	2945	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862437
2023-10-13	13:15:40	2945	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:40	2945	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8020775023785' AND `virtuemart_product_id` != 1862437
2023-10-13	13:15:40	2945	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:40	2945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862437, '8020775023785')
2023-10-13	13:15:40	2945	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:40	2945	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'elite-elite-hometrainer-axe-traversant-10-12-mm-argent-all' AND `virtuemart_product_id` != 1862437
2023-10-13	13:15:40	2945	[DEBUG]	Query for ProductLang
2023-10-13	13:15:40	2945	[DEBUG]	Executed store
2023-10-13	13:15:40	2945	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Elite Elite Hometrainer axe traversant 10/12 mm / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='elite-elite-hometrainer-axe-traversant-10-12-mm-argent-all' WHERE `virtuemart_product_id` = '1862437'
2023-10-13	13:15:40	2945	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/19_59768_out_.jpg
2023-10-13	13:15:40	2945	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:40	2945	[DEBUG]	Process image file
2023-10-13	13:15:40	2945	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:40	2945	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:40	2945	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/19_59768_out_.jpg
2023-10-13	13:15:40	2945	[DEBUG]	Full name target: bcprisme/19_59768_out_.jpg
2023-10-13	13:15:41	2945	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:41	2945	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/19_59768_out_.jpg'
2023-10-13	13:15:41	2945	[DEBUG]	Query for Media
2023-10-13	13:15:41	2945	[DEBUG]	Executed store
2023-10-13	13:15:41	2945	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/19_59768_out_.jpg',`file_url_thumb`='bcprisme/19_59768_out_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481248'
2023-10-13	13:15:41	2945	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:41	2945	[DEBUG]	Executed store
2023-10-13	13:15:41	2945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862437','481248','1')
2023-10-13	13:15:41	2945	[DEBUG]	Store product image relation
2023-10-13	13:15:41	2945	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:41	2945	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862437 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:41	2945	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:41	2945	[DEBUG]	Executed store
2023-10-13	13:15:41	2945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862437','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:41	2945	[DEBUG]	Checking manufacturer
2023-10-13	13:15:41	2945	[DEBUG]	Load a row
2023-10-13	13:15:41	2945	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:41	2945	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:41	2945	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:41	2945	[DEBUG]	Executed store
2023-10-13	13:15:41	2945	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-3390137955' WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:15:41	2945	[DEBUG]	Manufacturer exists
2023-10-13	13:15:41	2945	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 58
2023-10-13	13:15:41	2945	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:41	2945	[DEBUG]	Executed store
2023-10-13	13:15:41	2945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862437','58')
2023-10-13	13:15:41	2945	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:41	2945	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:41	2945	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862437 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:41	2945	[DEBUG]	Store custom available field
2023-10-13	13:15:41	2945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862437,3,'',1)
2023-10-13	13:15:41	2945	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:41	2945	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:15:41	2945	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862437 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:41	2945	[DEBUG]	Store custom available field
2023-10-13	13:15:41	2945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862437,6,'All',3)
2023-10-13	13:15:41	2945	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:41	2945	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:41	2945	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862436
2023-10-13	13:15:41	2945	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:41	2945	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862436\":[1862436,8,1,\"choisir la taille\"],\"1862437\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862436
2023-10-13	13:15:41	2945	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:41	2945	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862437
2023-10-13	13:15:41	2946	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:41	2946	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:41	2946	[DEBUG]	Use field value for field taille
2023-10-13	13:15:41	2946	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:41	2946	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:41	2946	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:41	2946	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:41	2946	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:42	2946	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:42	2946	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:42	2946	[DEBUG]	Use default value for field file_url
2023-10-13	13:15:42	2946	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:42	2946	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:42	2946	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:42	2946	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:42	2946	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:42	2946	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:42	2946	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:42	2946	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:42	2946	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:42	2946	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:42	2946	[DEBUG]	Use field value for field published
2023-10-13	13:15:42	2946	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:42	2946	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:42	2946	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:42	2946	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:42	2946	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:42	2946	[DEBUG]	Use field value for field override
2023-10-13	13:15:42	2946	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:42	2946	[DEBUG]	Use field value for field slug
2023-10-13	13:15:42	2946	[DEBUG]	Process line 2946
2023-10-13	13:15:42	2946	[DEBUG]	Load a row
2023-10-13	13:15:42	2946	[DEBUG]	Processing item: A_6802_1
2023-10-13	13:15:42	2946	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:42	2946	[DEBUG]	Processing product tax
2023-10-13	13:15:42	2946	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:42	2946	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:42	2946	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:42	2946	[DEBUG]	Query for Product
2023-10-13	13:15:42	2946	[DEBUG]	Executed store
2023-10-13	13:15:42	2946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6802_1','150','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:42	2946	[DEBUG]	Check product language entry
2023-10-13	13:15:42	2946	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862438
2023-10-13	13:15:42	2946	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:42	2946	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6802_1' AND `virtuemart_product_id` != 1862438
2023-10-13	13:15:42	2946	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:42	2946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862438, 'A_6802_1')
2023-10-13	13:15:42	2946	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:42	2946	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-tapis-de-course-pro-sole-f85-3417-ceinture-cardiaque-noir' AND `virtuemart_product_id` != 1862438
2023-10-13	13:15:42	2946	[DEBUG]	Query for ProductLang
2023-10-13	13:15:42	2946	[DEBUG]	Executed store
2023-10-13	13:15:42	2946	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 95069110',`product_name`='WAHOO Tapis de course Pro Sole F85 / 3417 / Ceinture cardiaque / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-tapis-de-course-pro-sole-f85-3417-ceinture-cardiaque-noir' WHERE `virtuemart_product_id` = '1862438'
2023-10-13	13:15:42	2946	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:42	2946	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862438 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:42	2946	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:42	2946	[DEBUG]	Executed store
2023-10-13	13:15:42	2946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862438','0','2691.73630454968','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:42	2946	[DEBUG]	Checking manufacturer
2023-10-13	13:15:42	2946	[DEBUG]	Load a row
2023-10-13	13:15:42	2946	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:42	2946	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:42	2946	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:42	2946	[DEBUG]	Executed store
2023-10-13	13:15:42	2946	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:42	2946	[DEBUG]	Manufacturer exists
2023-10-13	13:15:42	2946	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	13:15:42	2946	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:42	2946	[DEBUG]	Executed store
2023-10-13	13:15:42	2946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862438','207')
2023-10-13	13:15:42	2946	[DEBUG]	Find the custom field ID
2023-10-13	13:15:42	2946	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:42	2946	[DEBUG]	No custom field ID found
2023-10-13	13:15:42	2946	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:42	2946	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:15:42	2946	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862438 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:42	2946	[DEBUG]	Store custom available field
2023-10-13	13:15:42	2946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862438,3,'0',1)
2023-10-13	13:15:42	2946	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:42	2946	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:42	2946	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862438 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:42	2946	[DEBUG]	Store custom available field
2023-10-13	13:15:42	2946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862438,6,'choisir la taille',3)
2023-10-13	13:15:42	2946	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:42	2946	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:42	2946	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:42	2946	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:42	2946	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862438 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:42	2946	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:42	2946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862438,8,1)
2023-10-13	13:15:42	2946	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:42	2946	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862438\":[1862438,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862438
2023-10-13	13:15:42	2946	[DEBUG]	Checking category
2023-10-13	13:15:42	2946	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:42	2946	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862438
2023-10-13	13:15:42	2946	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:42	2946	[DEBUG]	Executed store
2023-10-13	13:15:42	2946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862438','7362')
2023-10-13	13:15:42	2946	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:42	2946	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862438 AND `virtuemart_category_id` NOT IN (7362)
2023-10-13	13:15:42	2946	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:42	2946	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862438
2023-10-13	13:15:42	2947	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:42	2947	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:42	2947	[DEBUG]	Use field value for field taille
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:42	2947	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:42	2947	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:42	2947	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field file_url
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:42	2947	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:42	2947	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:42	2947	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:42	2947	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:42	2947	[DEBUG]	Use field value for field published
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:42	2947	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field override
2023-10-13	13:15:42	2947	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:42	2947	[DEBUG]	Use field value for field slug
2023-10-13	13:15:42	2947	[DEBUG]	Process line 2947
2023-10-13	13:15:42	2947	[DEBUG]	Load a row
2023-10-13	13:15:42	2947	[DEBUG]	Processing item: 1000000109702
2023-10-13	13:15:42	2947	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:42	2947	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:42	2947	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6802_1'
2023-10-13	13:15:42	2947	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:42	2947	[DEBUG]	Processing product tax
2023-10-13	13:15:42	2947	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:42	2947	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:42	2947	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:42	2947	[DEBUG]	Query for Product
2023-10-13	13:15:42	2947	[DEBUG]	Executed store
2023-10-13	13:15:42	2947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862438','1000000109702','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:42	2947	[DEBUG]	No parent found
2023-10-13	13:15:42	2947	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862438 AND customfield_value = 'stockable'
2023-10-13	13:15:42	2947	[DEBUG]	Check product language entry
2023-10-13	13:15:42	2947	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862439
2023-10-13	13:15:42	2947	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:42	2947	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000109702' AND `virtuemart_product_id` != 1862439
2023-10-13	13:15:42	2947	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:42	2947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862439, '1000000109702')
2023-10-13	13:15:42	2947	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:42	2947	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'wahoo-tapis-de-course-pro-sole-f85-3417-ceinture-cardiaque-noir-all' AND `virtuemart_product_id` != 1862439
2023-10-13	13:15:42	2947	[DEBUG]	Query for ProductLang
2023-10-13	13:15:42	2947	[DEBUG]	Executed store
2023-10-13	13:15:42	2947	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='WAHOO Tapis de course Pro Sole F85 / 3417 / Ceinture cardiaque / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='wahoo-tapis-de-course-pro-sole-f85-3417-ceinture-cardiaque-noir-all' WHERE `virtuemart_product_id` = '1862439'
2023-10-13	13:15:42	2947	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:42	2947	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862439 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:42	2947	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:42	2947	[DEBUG]	Executed store
2023-10-13	13:15:42	2947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862439','0','2691.73630454968','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:42	2947	[DEBUG]	Checking manufacturer
2023-10-13	13:15:42	2947	[DEBUG]	Load a row
2023-10-13	13:15:42	2947	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:42	2947	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:42	2947	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:42	2947	[DEBUG]	Executed store
2023-10-13	13:15:42	2947	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='manufacturer_id',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='manufacturer-id' WHERE `virtuemart_manufacturer_id` = '207'
2023-10-13	13:15:42	2947	[DEBUG]	Manufacturer exists
2023-10-13	13:15:42	2947	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 207
2023-10-13	13:15:42	2947	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:42	2947	[DEBUG]	Executed store
2023-10-13	13:15:42	2947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862439','207')
2023-10-13	13:15:42	2947	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:42	2947	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:42	2947	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862439 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:42	2947	[DEBUG]	Store custom available field
2023-10-13	13:15:42	2947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862439,3,'',1)
2023-10-13	13:15:42	2947	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:42	2947	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:15:42	2947	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862439 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:42	2947	[DEBUG]	Store custom available field
2023-10-13	13:15:42	2947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862439,6,'All',3)
2023-10-13	13:15:42	2947	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:42	2947	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:42	2947	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862438
2023-10-13	13:15:42	2947	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:42	2947	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862438\":[1862438,8,1,\"choisir la taille\"],\"1862439\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862438
2023-10-13	13:15:42	2947	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:42	2947	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862439
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:42	2948	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field taille
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:42	2948	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:42	2948	[DEBUG]	Use default value for field file_url
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:42	2948	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:42	2948	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:42	2948	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:42	2948	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:42	2948	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:42	2948	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field published
2023-10-13	13:15:42	2948	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:42	2948	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field override
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:42	2948	[DEBUG]	Use field value for field slug
2023-10-13	13:15:42	2948	[DEBUG]	Process line 2948
2023-10-13	13:15:42	2948	[DEBUG]	Load a row
2023-10-13	13:15:42	2948	[DEBUG]	Processing item: A_5613_22
2023-10-13	13:15:42	2948	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:42	2948	[DEBUG]	Processing product tax
2023-10-13	13:15:42	2948	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:42	2948	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:42	2948	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:42	2948	[DEBUG]	Query for Product
2023-10-13	13:15:42	2948	[DEBUG]	Executed store
2023-10-13	13:15:42	2948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5613_22','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:42	2948	[DEBUG]	Check product language entry
2023-10-13	13:15:42	2948	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862440
2023-10-13	13:15:42	2948	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:42	2948	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5613_22' AND `virtuemart_product_id` != 1862440
2023-10-13	13:15:42	2948	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:42	2948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862440, 'A_5613_22')
2023-10-13	13:15:42	2948	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:42	2948	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-adaptateur-camelbak-quick-link-bleu' AND `virtuemart_product_id` != 1862440
2023-10-13	13:15:42	2948	[DEBUG]	Query for ProductLang
2023-10-13	13:15:42	2948	[DEBUG]	Executed store
2023-10-13	13:15:42	2948	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 482-143-101-35',`product_name`='CAMELBAK ADAPTATEUR CAMELBAK QUICK LINK / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-adaptateur-camelbak-quick-link-bleu' WHERE `virtuemart_product_id` = '1862440'
2023-10-13	13:15:42	2948	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:42	2948	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862440 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:42	2948	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:42	2948	[DEBUG]	Executed store
2023-10-13	13:15:42	2948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862440','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:42	2948	[DEBUG]	Checking manufacturer
2023-10-13	13:15:42	2948	[DEBUG]	Load a row
2023-10-13	13:15:42	2948	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:42	2948	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:15:42	2948	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:42	2948	[DEBUG]	Executed store
2023-10-13	13:15:42	2948	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331040431707' WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:15:42	2948	[DEBUG]	Manufacturer exists
2023-10-13	13:15:42	2948	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 157
2023-10-13	13:15:42	2948	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:42	2948	[DEBUG]	Executed store
2023-10-13	13:15:42	2948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862440','157')
2023-10-13	13:15:42	2948	[DEBUG]	Find the custom field ID
2023-10-13	13:15:42	2948	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:42	2948	[DEBUG]	No custom field ID found
2023-10-13	13:15:42	2948	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:42	2948	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:15:42	2948	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862440 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:42	2948	[DEBUG]	Store custom available field
2023-10-13	13:15:42	2948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862440,3,'0',1)
2023-10-13	13:15:42	2948	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:42	2948	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:42	2948	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862440 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:42	2948	[DEBUG]	Store custom available field
2023-10-13	13:15:42	2948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862440,6,'choisir la taille',3)
2023-10-13	13:15:42	2948	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:42	2948	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:42	2948	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:42	2948	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:42	2948	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862440 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:42	2948	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:42	2948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862440,8,1)
2023-10-13	13:15:42	2948	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:42	2948	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862440\":[1862440,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862440
2023-10-13	13:15:42	2948	[DEBUG]	Checking category
2023-10-13	13:15:42	2948	[DEBUG]	Check if category path exists: HYDRATATION - HYDRATATION
2023-10-13	13:15:42	2948	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'HYDRATATION - HYDRATATION' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:15:42	2948	[DEBUG]	Check if category path exists: ACCESSOIRES SAC A EAU
2023-10-13	13:15:42	2948	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'ACCESSOIRES SAC A EAU' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7363
2023-10-13	13:15:42	2948	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:42	2948	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862440
2023-10-13	13:15:42	2948	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:42	2948	[DEBUG]	Executed store
2023-10-13	13:15:42	2948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862440','7364')
2023-10-13	13:15:42	2948	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:42	2948	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862440 AND `virtuemart_category_id` NOT IN (7364)
2023-10-13	13:15:42	2948	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:42	2948	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862440
2023-10-13	13:15:42	2949	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:42	2949	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:42	2949	[DEBUG]	Use field value for field taille
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:42	2949	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:42	2949	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:42	2949	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field file_url
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:42	2949	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:42	2949	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:42	2949	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:42	2949	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:42	2949	[DEBUG]	Use field value for field published
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:42	2949	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field override
2023-10-13	13:15:42	2949	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:42	2949	[DEBUG]	Use field value for field slug
2023-10-13	13:15:42	2949	[DEBUG]	Process line 2949
2023-10-13	13:15:42	2949	[DEBUG]	Load a row
2023-10-13	13:15:42	2949	[DEBUG]	Processing item: 713852907785
2023-10-13	13:15:42	2949	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:42	2949	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:42	2949	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5613_22'
2023-10-13	13:15:42	2949	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:42	2949	[DEBUG]	Processing product tax
2023-10-13	13:15:42	2949	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:42	2949	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:42	2949	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:42	2949	[DEBUG]	Query for Product
2023-10-13	13:15:42	2949	[DEBUG]	Executed store
2023-10-13	13:15:42	2949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862440','713852907785','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:42	2949	[DEBUG]	No parent found
2023-10-13	13:15:42	2949	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862440 AND customfield_value = 'stockable'
2023-10-13	13:15:42	2949	[DEBUG]	Check product language entry
2023-10-13	13:15:42	2949	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862441
2023-10-13	13:15:42	2949	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:42	2949	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '713852907785' AND `virtuemart_product_id` != 1862441
2023-10-13	13:15:42	2949	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:42	2949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862441, '713852907785')
2023-10-13	13:15:42	2949	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:42	2949	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-adaptateur-camelbak-quick-link-bleu-unitaire' AND `virtuemart_product_id` != 1862441
2023-10-13	13:15:42	2949	[DEBUG]	Query for ProductLang
2023-10-13	13:15:42	2949	[DEBUG]	Executed store
2023-10-13	13:15:42	2949	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CAMELBAK ADAPTATEUR CAMELBAK QUICK LINK / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-adaptateur-camelbak-quick-link-bleu-unitaire' WHERE `virtuemart_product_id` = '1862441'
2023-10-13	13:15:42	2949	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:42	2949	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862441 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:42	2949	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:42	2949	[DEBUG]	Executed store
2023-10-13	13:15:42	2949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862441','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:42	2949	[DEBUG]	Checking manufacturer
2023-10-13	13:15:42	2949	[DEBUG]	Load a row
2023-10-13	13:15:42	2949	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:42	2949	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:15:42	2949	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:42	2949	[DEBUG]	Executed store
2023-10-13	13:15:42	2949	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331040431707' WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:15:42	2949	[DEBUG]	Manufacturer exists
2023-10-13	13:15:42	2949	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 157
2023-10-13	13:15:42	2949	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:42	2949	[DEBUG]	Executed store
2023-10-13	13:15:42	2949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862441','157')
2023-10-13	13:15:42	2949	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:42	2949	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:42	2949	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862441 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:42	2949	[DEBUG]	Store custom available field
2023-10-13	13:15:42	2949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862441,3,'',1)
2023-10-13	13:15:42	2949	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:42	2949	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:42	2949	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862441 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:42	2949	[DEBUG]	Store custom available field
2023-10-13	13:15:42	2949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862441,6,'Unitaire',3)
2023-10-13	13:15:42	2949	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:42	2949	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:42	2949	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862440
2023-10-13	13:15:42	2949	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:42	2949	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862440\":[1862440,8,1,\"choisir la taille\"],\"1862441\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862440
2023-10-13	13:15:42	2949	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:42	2949	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862441
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:42	2950	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field taille
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:42	2950	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:42	2950	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:42	2950	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:42	2950	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:42	2950	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:42	2950	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field published
2023-10-13	13:15:42	2950	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:42	2950	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field override
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:42	2950	[DEBUG]	Use field value for field slug
2023-10-13	13:15:42	2950	[DEBUG]	Process line 2950
2023-10-13	13:15:42	2950	[DEBUG]	Load a row
2023-10-13	13:15:42	2950	[DEBUG]	Processing item: A_35_12
2023-10-13	13:15:42	2950	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:42	2950	[DEBUG]	Processing product tax
2023-10-13	13:15:42	2950	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:42	2950	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:42	2950	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:42	2950	[DEBUG]	Query for Product
2023-10-13	13:15:42	2950	[DEBUG]	Executed store
2023-10-13	13:15:42	2950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_35_12','0.066','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:42	2950	[DEBUG]	Check product language entry
2023-10-13	13:15:42	2950	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862442
2023-10-13	13:15:42	2950	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:42	2950	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_35_12' AND `virtuemart_product_id` != 1862442
2023-10-13	13:15:42	2950	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:42	2950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862442, 'A_35_12')
2023-10-13	13:15:42	2950	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:42	2950	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-avec-serrage-hermetique-600cc-blanc' AND `virtuemart_product_id` != 1862442
2023-10-13	13:15:42	2950	[DEBUG]	Query for ProductLang
2023-10-13	13:15:42	2950	[DEBUG]	Executed store
2023-10-13	13:15:42	2950	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lavage lave-vaisselle possible<br>N° art fourn : 9984',`product_name`='MSC Bidon MSC avec serrage hermétique. 600cc  / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-avec-serrage-hermetique-600cc-blanc' WHERE `virtuemart_product_id` = '1862442'
2023-10-13	13:15:42	2950	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_35.jpg
2023-10-13	13:15:42	2950	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:42	2950	[DEBUG]	Process image file
2023-10-13	13:15:42	2950	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:42	2950	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:42	2950	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_35.jpg
2023-10-13	13:15:42	2950	[DEBUG]	Full name target: bcprisme/image_35.jpg
2023-10-13	13:15:43	2950	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:43	2950	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_35.jpg'
2023-10-13	13:15:43	2950	[DEBUG]	Query for Media
2023-10-13	13:15:43	2950	[DEBUG]	Executed store
2023-10-13	13:15:43	2950	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_35.jpg',`file_url_thumb`='bcprisme/image_35.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13014'
2023-10-13	13:15:43	2950	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:43	2950	[DEBUG]	Executed store
2023-10-13	13:15:43	2950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862442','13014','1')
2023-10-13	13:15:43	2950	[DEBUG]	Store product image relation
2023-10-13	13:15:43	2950	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:43	2950	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862442 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:43	2950	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:43	2950	[DEBUG]	Executed store
2023-10-13	13:15:43	2950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862442','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:43	2950	[DEBUG]	Checking manufacturer
2023-10-13	13:15:43	2950	[DEBUG]	Load a row
2023-10-13	13:15:43	2950	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:43	2950	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:43	2950	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:43	2950	[DEBUG]	Executed store
2023-10-13	13:15:43	2950	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:43	2950	[DEBUG]	Manufacturer exists
2023-10-13	13:15:43	2950	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:43	2950	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:43	2950	[DEBUG]	Executed store
2023-10-13	13:15:43	2950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862442','206')
2023-10-13	13:15:43	2950	[DEBUG]	Find the custom field ID
2023-10-13	13:15:43	2950	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:43	2950	[DEBUG]	No custom field ID found
2023-10-13	13:15:43	2950	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:43	2950	[DEBUG]	Get existing row with customfield value 6.88083333333333
2023-10-13	13:15:43	2950	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862442 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:43	2950	[DEBUG]	Store custom available field
2023-10-13	13:15:43	2950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862442,3,'6.88083333333333',1)
2023-10-13	13:15:43	2950	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:43	2950	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:43	2950	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862442 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:43	2950	[DEBUG]	Store custom available field
2023-10-13	13:15:43	2950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862442,6,'choisir la taille',3)
2023-10-13	13:15:43	2950	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:43	2950	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:43	2950	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:43	2950	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:43	2950	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862442 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:43	2950	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:43	2950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862442,8,1)
2023-10-13	13:15:43	2950	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:43	2950	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862442\":[1862442,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862442
2023-10-13	13:15:43	2950	[DEBUG]	Checking category
2023-10-13	13:15:43	2950	[DEBUG]	Check if category path exists: BIDONS - FLASCHEN
2023-10-13	13:15:43	2950	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BIDONS - FLASCHEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7363
2023-10-13	13:15:43	2950	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:43	2950	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862442
2023-10-13	13:15:43	2950	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:43	2950	[DEBUG]	Executed store
2023-10-13	13:15:43	2950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862442','7365')
2023-10-13	13:15:43	2950	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:43	2950	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862442 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:15:43	2950	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:43	2950	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862442
2023-10-13	13:15:43	2951	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:43	2951	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:43	2951	[DEBUG]	Use field value for field taille
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:43	2951	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:43	2951	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:43	2951	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:43	2951	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:43	2951	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:43	2951	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:43	2951	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:43	2951	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:43	2951	[DEBUG]	Use field value for field published
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:43	2951	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field override
2023-10-13	13:15:43	2951	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:43	2951	[DEBUG]	Use field value for field slug
2023-10-13	13:15:43	2951	[DEBUG]	Process line 2951
2023-10-13	13:15:43	2951	[DEBUG]	Load a row
2023-10-13	13:15:43	2951	[DEBUG]	Processing item: 1000000000351
2023-10-13	13:15:43	2951	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:43	2951	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:43	2951	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_35_12'
2023-10-13	13:15:43	2951	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:43	2951	[DEBUG]	Processing product tax
2023-10-13	13:15:43	2951	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:43	2951	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:43	2951	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:43	2951	[DEBUG]	Query for Product
2023-10-13	13:15:43	2951	[DEBUG]	Executed store
2023-10-13	13:15:43	2951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862442','1000000000351','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:43	2951	[DEBUG]	No parent found
2023-10-13	13:15:43	2951	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862442 AND customfield_value = 'stockable'
2023-10-13	13:15:43	2951	[DEBUG]	Check product language entry
2023-10-13	13:15:43	2951	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862443
2023-10-13	13:15:43	2951	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:43	2951	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000000351' AND `virtuemart_product_id` != 1862443
2023-10-13	13:15:43	2951	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:43	2951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862443, '1000000000351')
2023-10-13	13:15:43	2951	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:43	2951	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-avec-serrage-hermetique-600cc-blanc-unitaire' AND `virtuemart_product_id` != 1862443
2023-10-13	13:15:43	2951	[DEBUG]	Query for ProductLang
2023-10-13	13:15:43	2951	[DEBUG]	Executed store
2023-10-13	13:15:43	2951	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC avec serrage hermétique. 600cc  / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-avec-serrage-hermetique-600cc-blanc-unitaire' WHERE `virtuemart_product_id` = '1862443'
2023-10-13	13:15:43	2951	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_35.jpg
2023-10-13	13:15:43	2951	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:43	2951	[DEBUG]	Process image file
2023-10-13	13:15:43	2951	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:43	2951	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:43	2951	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_35.jpg
2023-10-13	13:15:43	2951	[DEBUG]	Full name target: bcprisme/image_35.jpg
2023-10-13	13:15:44	2951	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:44	2951	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_35.jpg'
2023-10-13	13:15:44	2951	[DEBUG]	Query for Media
2023-10-13	13:15:44	2951	[DEBUG]	Executed store
2023-10-13	13:15:44	2951	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_35.jpg',`file_url_thumb`='bcprisme/image_35.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13014'
2023-10-13	13:15:44	2951	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:44	2951	[DEBUG]	Executed store
2023-10-13	13:15:44	2951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862443','13014','1')
2023-10-13	13:15:44	2951	[DEBUG]	Store product image relation
2023-10-13	13:15:44	2951	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:44	2951	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862443 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:44	2951	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:44	2951	[DEBUG]	Executed store
2023-10-13	13:15:44	2951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862443','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:44	2951	[DEBUG]	Checking manufacturer
2023-10-13	13:15:44	2951	[DEBUG]	Load a row
2023-10-13	13:15:44	2951	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:44	2951	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:44	2951	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:44	2951	[DEBUG]	Executed store
2023-10-13	13:15:44	2951	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:44	2951	[DEBUG]	Manufacturer exists
2023-10-13	13:15:44	2951	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:44	2951	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:44	2951	[DEBUG]	Executed store
2023-10-13	13:15:44	2951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862443','206')
2023-10-13	13:15:44	2951	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:44	2951	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:44	2951	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862443 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:44	2951	[DEBUG]	Store custom available field
2023-10-13	13:15:44	2951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862443,3,'',1)
2023-10-13	13:15:44	2951	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:44	2951	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:44	2951	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862443 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:44	2951	[DEBUG]	Store custom available field
2023-10-13	13:15:44	2951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862443,6,'Unitaire',3)
2023-10-13	13:15:44	2951	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:44	2951	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:44	2951	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862442
2023-10-13	13:15:44	2951	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:44	2951	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862442\":[1862442,8,1,\"choisir la taille\"],\"1862443\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862442
2023-10-13	13:15:44	2951	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:44	2951	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862443
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:44	2952	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field taille
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:44	2952	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:44	2952	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:44	2952	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:44	2952	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:44	2952	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:44	2952	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field published
2023-10-13	13:15:44	2952	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:44	2952	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field override
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:44	2952	[DEBUG]	Use field value for field slug
2023-10-13	13:15:44	2952	[DEBUG]	Process line 2952
2023-10-13	13:15:44	2952	[DEBUG]	Load a row
2023-10-13	13:15:44	2952	[DEBUG]	Processing item: A_309_12
2023-10-13	13:15:44	2952	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:44	2952	[DEBUG]	Processing product tax
2023-10-13	13:15:44	2952	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:44	2952	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:44	2952	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:44	2952	[DEBUG]	Query for Product
2023-10-13	13:15:44	2952	[DEBUG]	Executed store
2023-10-13	13:15:44	2952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_309_12','0.072','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:44	2952	[DEBUG]	Check product language entry
2023-10-13	13:15:44	2952	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862444
2023-10-13	13:15:44	2952	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:44	2952	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_309_12' AND `virtuemart_product_id` != 1862444
2023-10-13	13:15:44	2952	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:44	2952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862444, 'A_309_12')
2023-10-13	13:15:44	2952	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:44	2952	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-avec-serrage-hermetique-600cc-blanc' AND `virtuemart_product_id` != 1862444
2023-10-13	13:15:44	2952	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:15:44	2952	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-bidon-msc-avec-serrage-hermetique-600cc-blanc', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-bidon-msc-avec-serrage-hermetique-600cc-blanc' OR `slug` LIKE 'msc-bidon-msc-avec-serrage-hermetique-600cc-blanc-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862444 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:15:44	2952	[DEBUG]	Query for ProductLang
2023-10-13	13:15:44	2952	[DEBUG]	Executed store
2023-10-13	13:15:44	2952	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lavage lave-vaisselle possible<br>N° art fourn : B60001',`product_name`='MSC Bidon MSC avec serrage hermétique. 600cc / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-avec-serrage-hermetique-600cc-blanc-1' WHERE `virtuemart_product_id` = '1862444'
2023-10-13	13:15:44	2952	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_351.jpg
2023-10-13	13:15:44	2952	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:15:44	2952	[DEBUG]	Process image file
2023-10-13	13:15:44	2952	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:15:44	2952	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:44	2952	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_351.jpg
2023-10-13	13:15:44	2952	[DEBUG]	Full name target: bcprisme/image_351.jpg
2023-10-13	13:15:45	2952	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:45	2952	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_351.jpg'
2023-10-13	13:15:45	2952	[DEBUG]	Query for Media
2023-10-13	13:15:45	2952	[DEBUG]	Executed store
2023-10-13	13:15:45	2952	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_351.jpg',`file_url_thumb`='bcprisme/image_351.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13015'
2023-10-13	13:15:45	2952	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:45	2952	[DEBUG]	Executed store
2023-10-13	13:15:45	2952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862444','13015','1')
2023-10-13	13:15:45	2952	[DEBUG]	Store product image relation
2023-10-13	13:15:45	2952	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:45	2952	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862444 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:45	2952	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:45	2952	[DEBUG]	Executed store
2023-10-13	13:15:45	2952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862444','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:45	2952	[DEBUG]	Checking manufacturer
2023-10-13	13:15:45	2952	[DEBUG]	Load a row
2023-10-13	13:15:45	2952	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:45	2952	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:45	2952	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:45	2952	[DEBUG]	Executed store
2023-10-13	13:15:45	2952	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:45	2952	[DEBUG]	Manufacturer exists
2023-10-13	13:15:45	2952	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:45	2952	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:45	2952	[DEBUG]	Executed store
2023-10-13	13:15:45	2952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862444','206')
2023-10-13	13:15:45	2952	[DEBUG]	Find the custom field ID
2023-10-13	13:15:45	2952	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:45	2952	[DEBUG]	No custom field ID found
2023-10-13	13:15:45	2952	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:45	2952	[DEBUG]	Get existing row with customfield value 6.48194444444444
2023-10-13	13:15:45	2952	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862444 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:45	2952	[DEBUG]	Store custom available field
2023-10-13	13:15:45	2952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862444,3,'6.48194444444444',1)
2023-10-13	13:15:45	2952	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:45	2952	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:45	2952	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862444 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:45	2952	[DEBUG]	Store custom available field
2023-10-13	13:15:45	2952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862444,6,'choisir la taille',3)
2023-10-13	13:15:45	2952	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:45	2952	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:45	2952	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:45	2952	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:45	2952	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862444 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:45	2952	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:45	2952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862444,8,1)
2023-10-13	13:15:45	2952	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:45	2952	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862444\":[1862444,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862444
2023-10-13	13:15:45	2952	[DEBUG]	Checking category
2023-10-13	13:15:45	2952	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:45	2952	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862444
2023-10-13	13:15:45	2952	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:45	2952	[DEBUG]	Executed store
2023-10-13	13:15:45	2952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862444','7365')
2023-10-13	13:15:45	2952	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:45	2952	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862444 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:15:45	2952	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:45	2952	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862444
2023-10-13	13:15:45	2953	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:45	2953	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:45	2953	[DEBUG]	Use field value for field taille
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:45	2953	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:45	2953	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:45	2953	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:45	2953	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:45	2953	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:45	2953	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:45	2953	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:45	2953	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:45	2953	[DEBUG]	Use field value for field published
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:45	2953	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field override
2023-10-13	13:15:45	2953	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:45	2953	[DEBUG]	Use field value for field slug
2023-10-13	13:15:45	2953	[DEBUG]	Process line 2953
2023-10-13	13:15:45	2953	[DEBUG]	Load a row
2023-10-13	13:15:45	2953	[DEBUG]	Processing item: 1000000003611
2023-10-13	13:15:45	2953	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:45	2953	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:45	2953	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_309_12'
2023-10-13	13:15:45	2953	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:45	2953	[DEBUG]	Processing product tax
2023-10-13	13:15:45	2953	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:45	2953	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:45	2953	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:45	2953	[DEBUG]	Query for Product
2023-10-13	13:15:45	2953	[DEBUG]	Executed store
2023-10-13	13:15:45	2953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862444','1000000003611','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:45	2953	[DEBUG]	No parent found
2023-10-13	13:15:45	2953	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862444 AND customfield_value = 'stockable'
2023-10-13	13:15:45	2953	[DEBUG]	Check product language entry
2023-10-13	13:15:45	2953	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862445
2023-10-13	13:15:45	2953	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:45	2953	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000003611' AND `virtuemart_product_id` != 1862445
2023-10-13	13:15:45	2953	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:45	2953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862445, '1000000003611')
2023-10-13	13:15:45	2953	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:45	2953	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-avec-serrage-hermetique-600cc-blanc-unitaire' AND `virtuemart_product_id` != 1862445
2023-10-13	13:15:45	2953	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:15:45	2953	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-bidon-msc-avec-serrage-hermetique-600cc-blanc-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-bidon-msc-avec-serrage-hermetique-600cc-blanc-unitaire' OR `slug` LIKE 'msc-bidon-msc-avec-serrage-hermetique-600cc-blanc-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862445 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:15:45	2953	[DEBUG]	Query for ProductLang
2023-10-13	13:15:45	2953	[DEBUG]	Executed store
2023-10-13	13:15:45	2953	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC avec serrage hermétique. 600cc / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-avec-serrage-hermetique-600cc-blanc-unitaire-1' WHERE `virtuemart_product_id` = '1862445'
2023-10-13	13:15:45	2953	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_351.jpg
2023-10-13	13:15:45	2953	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:15:45	2953	[DEBUG]	Process image file
2023-10-13	13:15:45	2953	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:15:45	2953	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:45	2953	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_351.jpg
2023-10-13	13:15:45	2953	[DEBUG]	Full name target: bcprisme/image_351.jpg
2023-10-13	13:15:46	2953	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:46	2953	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_351.jpg'
2023-10-13	13:15:46	2953	[DEBUG]	Query for Media
2023-10-13	13:15:46	2953	[DEBUG]	Executed store
2023-10-13	13:15:46	2953	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_351.jpg',`file_url_thumb`='bcprisme/image_351.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13015'
2023-10-13	13:15:46	2953	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:46	2953	[DEBUG]	Executed store
2023-10-13	13:15:46	2953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862445','13015','1')
2023-10-13	13:15:46	2953	[DEBUG]	Store product image relation
2023-10-13	13:15:46	2953	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:46	2953	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862445 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:46	2953	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:46	2953	[DEBUG]	Executed store
2023-10-13	13:15:46	2953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862445','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:46	2953	[DEBUG]	Checking manufacturer
2023-10-13	13:15:46	2953	[DEBUG]	Load a row
2023-10-13	13:15:46	2953	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:46	2953	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:46	2953	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:46	2953	[DEBUG]	Executed store
2023-10-13	13:15:46	2953	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:46	2953	[DEBUG]	Manufacturer exists
2023-10-13	13:15:46	2953	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:46	2953	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:46	2953	[DEBUG]	Executed store
2023-10-13	13:15:46	2953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862445','206')
2023-10-13	13:15:46	2953	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:46	2953	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:46	2953	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862445 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:46	2953	[DEBUG]	Store custom available field
2023-10-13	13:15:46	2953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862445,3,'',1)
2023-10-13	13:15:46	2953	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:46	2953	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:46	2953	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862445 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:46	2953	[DEBUG]	Store custom available field
2023-10-13	13:15:46	2953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862445,6,'Unitaire',3)
2023-10-13	13:15:46	2953	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:46	2953	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:46	2953	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862444
2023-10-13	13:15:46	2953	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:46	2953	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862444\":[1862444,8,1,\"choisir la taille\"],\"1862445\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862444
2023-10-13	13:15:46	2953	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:46	2953	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862445
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:46	2954	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field taille
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:46	2954	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:46	2954	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:46	2954	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:46	2954	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:46	2954	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:46	2954	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field published
2023-10-13	13:15:46	2954	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:46	2954	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field override
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:46	2954	[DEBUG]	Use field value for field slug
2023-10-13	13:15:46	2954	[DEBUG]	Process line 2954
2023-10-13	13:15:46	2954	[DEBUG]	Load a row
2023-10-13	13:15:46	2954	[DEBUG]	Processing item: A_438_12
2023-10-13	13:15:46	2954	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:46	2954	[DEBUG]	Processing product tax
2023-10-13	13:15:46	2954	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:46	2954	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:46	2954	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:46	2954	[DEBUG]	Query for Product
2023-10-13	13:15:46	2954	[DEBUG]	Executed store
2023-10-13	13:15:46	2954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_438_12','0.072','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:46	2954	[DEBUG]	Check product language entry
2023-10-13	13:15:46	2954	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862446
2023-10-13	13:15:46	2954	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:46	2954	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_438_12' AND `virtuemart_product_id` != 1862446
2023-10-13	13:15:46	2954	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:46	2954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862446, 'A_438_12')
2023-10-13	13:15:46	2954	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:46	2954	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-avec-serrage-hermetique-800cc-blanc' AND `virtuemart_product_id` != 1862446
2023-10-13	13:15:46	2954	[DEBUG]	Query for ProductLang
2023-10-13	13:15:46	2954	[DEBUG]	Executed store
2023-10-13	13:15:46	2954	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pour longues distances avec indicateur de volume<br>N° art fourn : CSB5281',`product_name`='MSC Bidon MSC avec serrage hermétique. 800cc / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-avec-serrage-hermetique-800cc-blanc' WHERE `virtuemart_product_id` = '1862446'
2023-10-13	13:15:46	2954	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_504.jpg
2023-10-13	13:15:46	2954	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:46	2954	[DEBUG]	Process image file
2023-10-13	13:15:46	2954	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:46	2954	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:46	2954	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_504.jpg
2023-10-13	13:15:46	2954	[DEBUG]	Full name target: bcprisme/image_504.jpg
2023-10-13	13:15:47	2954	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:47	2954	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_504.jpg'
2023-10-13	13:15:47	2954	[DEBUG]	Query for Media
2023-10-13	13:15:47	2954	[DEBUG]	Executed store
2023-10-13	13:15:47	2954	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_504.jpg',`file_url_thumb`='bcprisme/image_504.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13016'
2023-10-13	13:15:47	2954	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:47	2954	[DEBUG]	Executed store
2023-10-13	13:15:47	2954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862446','13016','1')
2023-10-13	13:15:47	2954	[DEBUG]	Store product image relation
2023-10-13	13:15:47	2954	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:47	2954	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862446 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:47	2954	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:47	2954	[DEBUG]	Executed store
2023-10-13	13:15:47	2954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862446','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:47	2954	[DEBUG]	Checking manufacturer
2023-10-13	13:15:47	2954	[DEBUG]	Load a row
2023-10-13	13:15:47	2954	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:47	2954	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:47	2954	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:47	2954	[DEBUG]	Executed store
2023-10-13	13:15:47	2954	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:47	2954	[DEBUG]	Manufacturer exists
2023-10-13	13:15:47	2954	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:47	2954	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:47	2954	[DEBUG]	Executed store
2023-10-13	13:15:47	2954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862446','206')
2023-10-13	13:15:47	2954	[DEBUG]	Find the custom field ID
2023-10-13	13:15:47	2954	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:47	2954	[DEBUG]	No custom field ID found
2023-10-13	13:15:47	2954	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:47	2954	[DEBUG]	Get existing row with customfield value 6.88083333333333
2023-10-13	13:15:47	2954	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862446 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:47	2954	[DEBUG]	Store custom available field
2023-10-13	13:15:47	2954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862446,3,'6.88083333333333',1)
2023-10-13	13:15:47	2954	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:47	2954	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:47	2954	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862446 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:47	2954	[DEBUG]	Store custom available field
2023-10-13	13:15:47	2954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862446,6,'choisir la taille',3)
2023-10-13	13:15:47	2954	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:47	2954	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:47	2954	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:47	2954	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:47	2954	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862446 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:47	2954	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:47	2954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862446,8,1)
2023-10-13	13:15:47	2954	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:47	2954	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862446\":[1862446,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862446
2023-10-13	13:15:47	2954	[DEBUG]	Checking category
2023-10-13	13:15:47	2954	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:47	2954	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862446
2023-10-13	13:15:47	2954	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:47	2954	[DEBUG]	Executed store
2023-10-13	13:15:47	2954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862446','7365')
2023-10-13	13:15:47	2954	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:47	2954	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862446 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:15:47	2954	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:47	2954	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862446
2023-10-13	13:15:47	2955	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:47	2955	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:47	2955	[DEBUG]	Use field value for field taille
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:47	2955	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:47	2955	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:47	2955	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:47	2955	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:47	2955	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:47	2955	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:47	2955	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:47	2955	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:47	2955	[DEBUG]	Use field value for field published
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:47	2955	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field override
2023-10-13	13:15:47	2955	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:47	2955	[DEBUG]	Use field value for field slug
2023-10-13	13:15:47	2955	[DEBUG]	Process line 2955
2023-10-13	13:15:47	2955	[DEBUG]	Load a row
2023-10-13	13:15:47	2955	[DEBUG]	Processing item: 1000000005400
2023-10-13	13:15:47	2955	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:47	2955	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:47	2955	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_438_12'
2023-10-13	13:15:47	2955	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:47	2955	[DEBUG]	Processing product tax
2023-10-13	13:15:47	2955	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:47	2955	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:47	2955	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:47	2955	[DEBUG]	Query for Product
2023-10-13	13:15:47	2955	[DEBUG]	Executed store
2023-10-13	13:15:47	2955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862446','1000000005400','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:47	2955	[DEBUG]	No parent found
2023-10-13	13:15:47	2955	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862446 AND customfield_value = 'stockable'
2023-10-13	13:15:47	2955	[DEBUG]	Check product language entry
2023-10-13	13:15:47	2955	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862447
2023-10-13	13:15:47	2955	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:47	2955	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000005400' AND `virtuemart_product_id` != 1862447
2023-10-13	13:15:47	2955	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:47	2955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862447, '1000000005400')
2023-10-13	13:15:47	2955	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:47	2955	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-avec-serrage-hermetique-800cc-blanc-unitaire' AND `virtuemart_product_id` != 1862447
2023-10-13	13:15:47	2955	[DEBUG]	Query for ProductLang
2023-10-13	13:15:47	2955	[DEBUG]	Executed store
2023-10-13	13:15:47	2955	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC avec serrage hermétique. 800cc / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-avec-serrage-hermetique-800cc-blanc-unitaire' WHERE `virtuemart_product_id` = '1862447'
2023-10-13	13:15:47	2955	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_504.jpg
2023-10-13	13:15:47	2955	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:47	2955	[DEBUG]	Process image file
2023-10-13	13:15:47	2955	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:47	2955	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:47	2955	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_504.jpg
2023-10-13	13:15:47	2955	[DEBUG]	Full name target: bcprisme/image_504.jpg
2023-10-13	13:15:48	2955	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:48	2955	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_504.jpg'
2023-10-13	13:15:48	2955	[DEBUG]	Query for Media
2023-10-13	13:15:48	2955	[DEBUG]	Executed store
2023-10-13	13:15:48	2955	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_504.jpg',`file_url_thumb`='bcprisme/image_504.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13016'
2023-10-13	13:15:48	2955	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:48	2955	[DEBUG]	Executed store
2023-10-13	13:15:48	2955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862447','13016','1')
2023-10-13	13:15:48	2955	[DEBUG]	Store product image relation
2023-10-13	13:15:48	2955	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:48	2955	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862447 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:48	2955	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:48	2955	[DEBUG]	Executed store
2023-10-13	13:15:48	2955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862447','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:48	2955	[DEBUG]	Checking manufacturer
2023-10-13	13:15:48	2955	[DEBUG]	Load a row
2023-10-13	13:15:48	2955	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:48	2955	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:48	2955	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:48	2955	[DEBUG]	Executed store
2023-10-13	13:15:48	2955	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:48	2955	[DEBUG]	Manufacturer exists
2023-10-13	13:15:48	2955	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:48	2955	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:48	2955	[DEBUG]	Executed store
2023-10-13	13:15:48	2955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862447','206')
2023-10-13	13:15:48	2955	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:48	2955	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:48	2955	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862447 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:48	2955	[DEBUG]	Store custom available field
2023-10-13	13:15:48	2955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862447,3,'',1)
2023-10-13	13:15:48	2955	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:48	2955	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:48	2955	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862447 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:48	2955	[DEBUG]	Store custom available field
2023-10-13	13:15:48	2955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862447,6,'Unitaire',3)
2023-10-13	13:15:48	2955	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:48	2955	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:48	2955	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862446
2023-10-13	13:15:48	2955	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:48	2955	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862446\":[1862446,8,1,\"choisir la taille\"],\"1862447\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862446
2023-10-13	13:15:48	2955	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:48	2955	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862447
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:48	2956	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field taille
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:48	2956	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:48	2956	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:48	2956	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:48	2956	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:48	2956	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:48	2956	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field published
2023-10-13	13:15:48	2956	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:48	2956	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field override
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:48	2956	[DEBUG]	Use field value for field slug
2023-10-13	13:15:48	2956	[DEBUG]	Process line 2956
2023-10-13	13:15:48	2956	[DEBUG]	Load a row
2023-10-13	13:15:48	2956	[DEBUG]	Processing item: A_1793_0
2023-10-13	13:15:48	2956	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:48	2956	[DEBUG]	Processing product tax
2023-10-13	13:15:48	2956	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:48	2956	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:48	2956	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:48	2956	[DEBUG]	Query for Product
2023-10-13	13:15:48	2956	[DEBUG]	Executed store
2023-10-13	13:15:48	2956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1793_0','0.005','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:48	2956	[DEBUG]	Check product language entry
2023-10-13	13:15:48	2956	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862448
2023-10-13	13:15:48	2956	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:48	2956	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1793_0' AND `virtuemart_product_id` != 1862448
2023-10-13	13:15:48	2956	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:48	2956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862448, 'A_1793_0')
2023-10-13	13:15:48	2956	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:48	2956	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-600cc-unique' AND `virtuemart_product_id` != 1862448
2023-10-13	13:15:48	2956	[DEBUG]	Query for ProductLang
2023-10-13	13:15:48	2956	[DEBUG]	Executed store
2023-10-13	13:15:48	2956	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Bidon MSC SQUEEZE&DRINK. 600cc<br>N° art fourn : B60001SP1',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 600cc / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-600cc-unique' WHERE `virtuemart_product_id` = '1862448'
2023-10-13	13:15:48	2956	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5955.jpg
2023-10-13	13:15:48	2956	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:48	2956	[DEBUG]	Process image file
2023-10-13	13:15:48	2956	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:48	2956	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:48	2956	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5955.jpg
2023-10-13	13:15:48	2956	[DEBUG]	Full name target: bcprisme/image_5955.jpg
2023-10-13	13:15:49	2956	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:49	2956	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5955.jpg'
2023-10-13	13:15:49	2956	[DEBUG]	Query for Media
2023-10-13	13:15:49	2956	[DEBUG]	Executed store
2023-10-13	13:15:49	2956	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5955.jpg',`file_url_thumb`='bcprisme/image_5955.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13017'
2023-10-13	13:15:49	2956	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:49	2956	[DEBUG]	Executed store
2023-10-13	13:15:49	2956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862448','13017','1')
2023-10-13	13:15:49	2956	[DEBUG]	Store product image relation
2023-10-13	13:15:49	2956	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:49	2956	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862448 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:49	2956	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:49	2956	[DEBUG]	Executed store
2023-10-13	13:15:49	2956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862448','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:49	2956	[DEBUG]	Checking manufacturer
2023-10-13	13:15:49	2956	[DEBUG]	Load a row
2023-10-13	13:15:49	2956	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:49	2956	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:49	2956	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:49	2956	[DEBUG]	Executed store
2023-10-13	13:15:49	2956	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:49	2956	[DEBUG]	Manufacturer exists
2023-10-13	13:15:49	2956	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:49	2956	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:49	2956	[DEBUG]	Executed store
2023-10-13	13:15:49	2956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862448','206')
2023-10-13	13:15:49	2956	[DEBUG]	Find the custom field ID
2023-10-13	13:15:49	2956	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:49	2956	[DEBUG]	No custom field ID found
2023-10-13	13:15:49	2956	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:49	2956	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	13:15:49	2956	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862448 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:49	2956	[DEBUG]	Store custom available field
2023-10-13	13:15:49	2956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862448,3,'9.8725',1)
2023-10-13	13:15:49	2956	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:49	2956	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:49	2956	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862448 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:49	2956	[DEBUG]	Store custom available field
2023-10-13	13:15:49	2956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862448,6,'choisir la taille',3)
2023-10-13	13:15:49	2956	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:49	2956	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:49	2956	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:49	2956	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:49	2956	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862448 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:49	2956	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:49	2956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862448,8,1)
2023-10-13	13:15:49	2956	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:49	2956	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862448\":[1862448,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862448
2023-10-13	13:15:49	2956	[DEBUG]	Checking category
2023-10-13	13:15:49	2956	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:49	2956	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862448
2023-10-13	13:15:49	2956	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:49	2956	[DEBUG]	Executed store
2023-10-13	13:15:49	2956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862448','7365')
2023-10-13	13:15:49	2956	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:49	2956	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862448 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:15:49	2956	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:49	2956	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862448
2023-10-13	13:15:49	2957	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:49	2957	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:49	2957	[DEBUG]	Use field value for field taille
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:49	2957	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:49	2957	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:49	2957	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:49	2957	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:49	2957	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:49	2957	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:49	2957	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:49	2957	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:49	2957	[DEBUG]	Use field value for field published
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:49	2957	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field override
2023-10-13	13:15:49	2957	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:49	2957	[DEBUG]	Use field value for field slug
2023-10-13	13:15:49	2957	[DEBUG]	Process line 2957
2023-10-13	13:15:49	2957	[DEBUG]	Load a row
2023-10-13	13:15:49	2957	[DEBUG]	Processing item: 1000000031423
2023-10-13	13:15:49	2957	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:49	2957	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:49	2957	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1793_0'
2023-10-13	13:15:49	2957	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:49	2957	[DEBUG]	Processing product tax
2023-10-13	13:15:49	2957	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:49	2957	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:49	2957	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:49	2957	[DEBUG]	Query for Product
2023-10-13	13:15:49	2957	[DEBUG]	Executed store
2023-10-13	13:15:49	2957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862448','1000000031423','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:49	2957	[DEBUG]	No parent found
2023-10-13	13:15:49	2957	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862448 AND customfield_value = 'stockable'
2023-10-13	13:15:49	2957	[DEBUG]	Check product language entry
2023-10-13	13:15:49	2957	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862449
2023-10-13	13:15:49	2957	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:49	2957	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000031423' AND `virtuemart_product_id` != 1862449
2023-10-13	13:15:49	2957	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:49	2957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862449, '1000000031423')
2023-10-13	13:15:49	2957	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:49	2957	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-600cc-unique-unitaire' AND `virtuemart_product_id` != 1862449
2023-10-13	13:15:49	2957	[DEBUG]	Query for ProductLang
2023-10-13	13:15:49	2957	[DEBUG]	Executed store
2023-10-13	13:15:49	2957	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 600cc / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-600cc-unique-unitaire' WHERE `virtuemart_product_id` = '1862449'
2023-10-13	13:15:49	2957	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5955.jpg
2023-10-13	13:15:49	2957	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:49	2957	[DEBUG]	Process image file
2023-10-13	13:15:49	2957	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:15:49	2957	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:49	2957	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5955.jpg
2023-10-13	13:15:49	2957	[DEBUG]	Full name target: bcprisme/image_5955.jpg
2023-10-13	13:15:50	2957	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:50	2957	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5955.jpg'
2023-10-13	13:15:50	2957	[DEBUG]	Query for Media
2023-10-13	13:15:50	2957	[DEBUG]	Executed store
2023-10-13	13:15:50	2957	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5955.jpg',`file_url_thumb`='bcprisme/image_5955.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13017'
2023-10-13	13:15:50	2957	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:50	2957	[DEBUG]	Executed store
2023-10-13	13:15:50	2957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862449','13017','1')
2023-10-13	13:15:50	2957	[DEBUG]	Store product image relation
2023-10-13	13:15:50	2957	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:50	2957	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862449 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:50	2957	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:50	2957	[DEBUG]	Executed store
2023-10-13	13:15:50	2957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862449','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:50	2957	[DEBUG]	Checking manufacturer
2023-10-13	13:15:50	2957	[DEBUG]	Load a row
2023-10-13	13:15:50	2957	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:50	2957	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:50	2957	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:50	2957	[DEBUG]	Executed store
2023-10-13	13:15:50	2957	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:50	2957	[DEBUG]	Manufacturer exists
2023-10-13	13:15:50	2957	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:50	2957	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:50	2957	[DEBUG]	Executed store
2023-10-13	13:15:50	2957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862449','206')
2023-10-13	13:15:50	2957	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:50	2957	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:50	2957	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862449 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:50	2957	[DEBUG]	Store custom available field
2023-10-13	13:15:50	2957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862449,3,'',1)
2023-10-13	13:15:50	2957	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:50	2957	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:50	2957	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862449 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:50	2957	[DEBUG]	Store custom available field
2023-10-13	13:15:50	2957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862449,6,'Unitaire',3)
2023-10-13	13:15:50	2957	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:50	2957	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:50	2957	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862448
2023-10-13	13:15:50	2957	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:50	2957	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862448\":[1862448,8,1,\"choisir la taille\"],\"1862449\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862448
2023-10-13	13:15:50	2957	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:50	2957	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862449
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:50	2958	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field taille
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:50	2958	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:50	2958	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:50	2958	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:50	2958	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:50	2958	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:50	2958	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field published
2023-10-13	13:15:50	2958	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:50	2958	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field override
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:50	2958	[DEBUG]	Use field value for field slug
2023-10-13	13:15:50	2958	[DEBUG]	Process line 2958
2023-10-13	13:15:50	2958	[DEBUG]	Load a row
2023-10-13	13:15:50	2958	[DEBUG]	Processing item: A_3247_6
2023-10-13	13:15:50	2958	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:50	2958	[DEBUG]	Processing product tax
2023-10-13	13:15:50	2958	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:50	2958	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:50	2958	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:50	2958	[DEBUG]	Query for Product
2023-10-13	13:15:50	2958	[DEBUG]	Executed store
2023-10-13	13:15:50	2958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3247_6','0.72','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:50	2958	[DEBUG]	Check product language entry
2023-10-13	13:15:50	2958	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862450
2023-10-13	13:15:50	2958	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:50	2958	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3247_6' AND `virtuemart_product_id` != 1862450
2023-10-13	13:15:50	2958	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:50	2958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862450, 'A_3247_6')
2023-10-13	13:15:50	2958	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:50	2958	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-600cc-blanc-noir' AND `virtuemart_product_id` != 1862450
2023-10-13	13:15:50	2958	[DEBUG]	Query for ProductLang
2023-10-13	13:15:50	2958	[DEBUG]	Executed store
2023-10-13	13:15:50	2958	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>Bidon MSC SQUEEZE&DRINK. 600cc <br><br><br><br>squeeze and drink\" <br>  <br><br> <br><br><br>POIDS: 72 gr<br><br>N° art fourn : B600SP2\"',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 600cc / Blanc-noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-600cc-blanc-noir' WHERE `virtuemart_product_id` = '1862450'
2023-10-13	13:15:50	2958	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15700.jpg
2023-10-13	13:15:50	2958	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:50	2958	[DEBUG]	Process image file
2023-10-13	13:15:50	2958	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:50	2958	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:50	2958	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15700.jpg
2023-10-13	13:15:50	2958	[DEBUG]	Full name target: bcprisme/image_15700.jpg
2023-10-13	13:15:51	2958	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:51	2958	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15700.jpg'
2023-10-13	13:15:51	2958	[DEBUG]	Query for Media
2023-10-13	13:15:51	2958	[DEBUG]	Executed store
2023-10-13	13:15:51	2958	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15700.jpg',`file_url_thumb`='bcprisme/image_15700.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13018'
2023-10-13	13:15:51	2958	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:51	2958	[DEBUG]	Executed store
2023-10-13	13:15:51	2958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862450','13018','1')
2023-10-13	13:15:51	2958	[DEBUG]	Store product image relation
2023-10-13	13:15:51	2958	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:51	2958	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862450 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:51	2958	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:51	2958	[DEBUG]	Executed store
2023-10-13	13:15:51	2958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862450','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:51	2958	[DEBUG]	Checking manufacturer
2023-10-13	13:15:51	2958	[DEBUG]	Load a row
2023-10-13	13:15:51	2958	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:51	2958	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:51	2958	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:51	2958	[DEBUG]	Executed store
2023-10-13	13:15:51	2958	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:51	2958	[DEBUG]	Manufacturer exists
2023-10-13	13:15:51	2958	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:51	2958	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:51	2958	[DEBUG]	Executed store
2023-10-13	13:15:51	2958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862450','206')
2023-10-13	13:15:51	2958	[DEBUG]	Find the custom field ID
2023-10-13	13:15:51	2958	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:51	2958	[DEBUG]	No custom field ID found
2023-10-13	13:15:51	2958	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:51	2958	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	13:15:51	2958	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862450 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:51	2958	[DEBUG]	Store custom available field
2023-10-13	13:15:51	2958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862450,3,'9.8725',1)
2023-10-13	13:15:51	2958	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:51	2958	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:51	2958	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862450 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:51	2958	[DEBUG]	Store custom available field
2023-10-13	13:15:51	2958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862450,6,'choisir la taille',3)
2023-10-13	13:15:51	2958	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:51	2958	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:51	2958	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:51	2958	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:51	2958	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862450 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:51	2958	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:51	2958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862450,8,1)
2023-10-13	13:15:51	2958	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:51	2958	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862450\":[1862450,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862450
2023-10-13	13:15:51	2958	[DEBUG]	Checking category
2023-10-13	13:15:51	2958	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:51	2958	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862450
2023-10-13	13:15:51	2958	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:51	2958	[DEBUG]	Executed store
2023-10-13	13:15:51	2958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862450','7365')
2023-10-13	13:15:51	2958	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:51	2958	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862450 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:15:51	2958	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:51	2958	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862450
2023-10-13	13:15:51	2959	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:51	2959	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:51	2959	[DEBUG]	Use field value for field taille
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:51	2959	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:51	2959	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:51	2959	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:51	2959	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:51	2959	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:51	2959	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:51	2959	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:51	2959	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:51	2959	[DEBUG]	Use field value for field published
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:51	2959	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field override
2023-10-13	13:15:51	2959	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:51	2959	[DEBUG]	Use field value for field slug
2023-10-13	13:15:51	2959	[DEBUG]	Process line 2959
2023-10-13	13:15:51	2959	[DEBUG]	Load a row
2023-10-13	13:15:51	2959	[DEBUG]	Processing item: 8436550196900
2023-10-13	13:15:51	2959	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:51	2959	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:51	2959	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3247_6'
2023-10-13	13:15:51	2959	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:51	2959	[DEBUG]	Processing product tax
2023-10-13	13:15:51	2959	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:51	2959	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:51	2959	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:51	2959	[DEBUG]	Query for Product
2023-10-13	13:15:51	2959	[DEBUG]	Executed store
2023-10-13	13:15:51	2959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862450','8436550196900','0','KG','M','','12','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:51	2959	[DEBUG]	No parent found
2023-10-13	13:15:51	2959	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862450 AND customfield_value = 'stockable'
2023-10-13	13:15:51	2959	[DEBUG]	Check product language entry
2023-10-13	13:15:51	2959	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862451
2023-10-13	13:15:51	2959	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:51	2959	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550196900' AND `virtuemart_product_id` != 1862451
2023-10-13	13:15:51	2959	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:51	2959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862451, '8436550196900')
2023-10-13	13:15:51	2959	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:51	2959	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-600cc-blanc-noir-unitaire' AND `virtuemart_product_id` != 1862451
2023-10-13	13:15:51	2959	[DEBUG]	Query for ProductLang
2023-10-13	13:15:51	2959	[DEBUG]	Executed store
2023-10-13	13:15:51	2959	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 600cc / Blanc-noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-600cc-blanc-noir-unitaire' WHERE `virtuemart_product_id` = '1862451'
2023-10-13	13:15:51	2959	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15700.jpg
2023-10-13	13:15:51	2959	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:51	2959	[DEBUG]	Process image file
2023-10-13	13:15:51	2959	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:51	2959	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:51	2959	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15700.jpg
2023-10-13	13:15:51	2959	[DEBUG]	Full name target: bcprisme/image_15700.jpg
2023-10-13	13:15:52	2959	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:52	2959	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15700.jpg'
2023-10-13	13:15:52	2959	[DEBUG]	Query for Media
2023-10-13	13:15:52	2959	[DEBUG]	Executed store
2023-10-13	13:15:52	2959	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15700.jpg',`file_url_thumb`='bcprisme/image_15700.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13018'
2023-10-13	13:15:52	2959	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:52	2959	[DEBUG]	Executed store
2023-10-13	13:15:52	2959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862451','13018','1')
2023-10-13	13:15:52	2959	[DEBUG]	Store product image relation
2023-10-13	13:15:52	2959	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:52	2959	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862451 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:52	2959	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:52	2959	[DEBUG]	Executed store
2023-10-13	13:15:52	2959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862451','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:52	2959	[DEBUG]	Checking manufacturer
2023-10-13	13:15:52	2959	[DEBUG]	Load a row
2023-10-13	13:15:52	2959	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:52	2959	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:52	2959	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:52	2959	[DEBUG]	Executed store
2023-10-13	13:15:52	2959	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:52	2959	[DEBUG]	Manufacturer exists
2023-10-13	13:15:52	2959	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:53	2959	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:53	2959	[DEBUG]	Executed store
2023-10-13	13:15:53	2959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862451','206')
2023-10-13	13:15:53	2959	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:53	2959	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:53	2959	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862451 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:53	2959	[DEBUG]	Store custom available field
2023-10-13	13:15:53	2959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862451,3,'',1)
2023-10-13	13:15:53	2959	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:53	2959	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:53	2959	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862451 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:53	2959	[DEBUG]	Store custom available field
2023-10-13	13:15:53	2959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862451,6,'Unitaire',3)
2023-10-13	13:15:53	2959	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:53	2959	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:53	2959	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862450
2023-10-13	13:15:53	2959	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:53	2959	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862450\":[1862450,8,1,\"choisir la taille\"],\"1862451\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862450
2023-10-13	13:15:53	2959	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:53	2959	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862451
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:53	2960	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field taille
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:53	2960	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:53	2960	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:53	2960	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:53	2960	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:53	2960	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:53	2960	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field published
2023-10-13	13:15:53	2960	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:53	2960	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field override
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:53	2960	[DEBUG]	Use field value for field slug
2023-10-13	13:15:53	2960	[DEBUG]	Process line 2960
2023-10-13	13:15:53	2960	[DEBUG]	Load a row
2023-10-13	13:15:53	2960	[DEBUG]	Processing item: A_3247_44
2023-10-13	13:15:53	2960	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:53	2960	[DEBUG]	Processing product tax
2023-10-13	13:15:53	2960	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:53	2960	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:53	2960	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:53	2960	[DEBUG]	Query for Product
2023-10-13	13:15:53	2960	[DEBUG]	Executed store
2023-10-13	13:15:53	2960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3247_44','0.72','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:53	2960	[DEBUG]	Check product language entry
2023-10-13	13:15:53	2960	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862452
2023-10-13	13:15:53	2960	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:53	2960	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3247_44' AND `virtuemart_product_id` != 1862452
2023-10-13	13:15:53	2960	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:53	2960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862452, 'A_3247_44')
2023-10-13	13:15:53	2960	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:53	2960	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-600cc-blanc-rouge' AND `virtuemart_product_id` != 1862452
2023-10-13	13:15:53	2960	[DEBUG]	Query for ProductLang
2023-10-13	13:15:53	2960	[DEBUG]	Executed store
2023-10-13	13:15:53	2960	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>Bidon MSC SQUEEZE&DRINK. 600cc <br><br><br><br>squeeze and drink\" <br>  <br><br> <br><br><br>POIDS: 72 gr<br><br>N° art fourn : B600SP2\"',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 600cc / Blanc-rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-600cc-blanc-rouge' WHERE `virtuemart_product_id` = '1862452'
2023-10-13	13:15:53	2960	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15702.jpg
2023-10-13	13:15:53	2960	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:53	2960	[DEBUG]	Process image file
2023-10-13	13:15:53	2960	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:53	2960	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:53	2960	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15702.jpg
2023-10-13	13:15:53	2960	[DEBUG]	Full name target: bcprisme/image_15702.jpg
2023-10-13	13:15:54	2960	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:54	2960	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15702.jpg'
2023-10-13	13:15:54	2960	[DEBUG]	Query for Media
2023-10-13	13:15:54	2960	[DEBUG]	Executed store
2023-10-13	13:15:54	2960	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15702.jpg',`file_url_thumb`='bcprisme/image_15702.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13019'
2023-10-13	13:15:54	2960	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:54	2960	[DEBUG]	Executed store
2023-10-13	13:15:54	2960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862452','13019','1')
2023-10-13	13:15:54	2960	[DEBUG]	Store product image relation
2023-10-13	13:15:54	2960	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:54	2960	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862452 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:54	2960	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:54	2960	[DEBUG]	Executed store
2023-10-13	13:15:54	2960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862452','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:54	2960	[DEBUG]	Checking manufacturer
2023-10-13	13:15:54	2960	[DEBUG]	Load a row
2023-10-13	13:15:54	2960	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:54	2960	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:54	2960	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:54	2960	[DEBUG]	Executed store
2023-10-13	13:15:54	2960	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:54	2960	[DEBUG]	Manufacturer exists
2023-10-13	13:15:54	2960	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:54	2960	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:54	2960	[DEBUG]	Executed store
2023-10-13	13:15:54	2960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862452','206')
2023-10-13	13:15:54	2960	[DEBUG]	Find the custom field ID
2023-10-13	13:15:54	2960	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:54	2960	[DEBUG]	No custom field ID found
2023-10-13	13:15:54	2960	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:54	2960	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	13:15:54	2960	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862452 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:54	2960	[DEBUG]	Store custom available field
2023-10-13	13:15:54	2960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862452,3,'9.8725',1)
2023-10-13	13:15:54	2960	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:54	2960	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:54	2960	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862452 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:54	2960	[DEBUG]	Store custom available field
2023-10-13	13:15:54	2960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862452,6,'choisir la taille',3)
2023-10-13	13:15:54	2960	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:54	2960	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:54	2960	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:54	2960	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:54	2960	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862452 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:54	2960	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:54	2960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862452,8,1)
2023-10-13	13:15:54	2960	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:54	2960	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862452\":[1862452,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862452
2023-10-13	13:15:54	2960	[DEBUG]	Checking category
2023-10-13	13:15:54	2960	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:54	2960	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862452
2023-10-13	13:15:54	2960	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:54	2960	[DEBUG]	Executed store
2023-10-13	13:15:54	2960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862452','7365')
2023-10-13	13:15:54	2960	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:54	2960	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862452 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:15:54	2960	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:54	2960	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862452
2023-10-13	13:15:54	2961	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:54	2961	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:54	2961	[DEBUG]	Use field value for field taille
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:54	2961	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:54	2961	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:54	2961	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:54	2961	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:54	2961	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:54	2961	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:54	2961	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:54	2961	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:54	2961	[DEBUG]	Use field value for field published
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:54	2961	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field override
2023-10-13	13:15:54	2961	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:54	2961	[DEBUG]	Use field value for field slug
2023-10-13	13:15:54	2961	[DEBUG]	Process line 2961
2023-10-13	13:15:54	2961	[DEBUG]	Load a row
2023-10-13	13:15:54	2961	[DEBUG]	Processing item: 8436550196948
2023-10-13	13:15:54	2961	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:54	2961	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:54	2961	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3247_44'
2023-10-13	13:15:54	2961	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:54	2961	[DEBUG]	Processing product tax
2023-10-13	13:15:54	2961	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:54	2961	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:54	2961	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:54	2961	[DEBUG]	Query for Product
2023-10-13	13:15:54	2961	[DEBUG]	Executed store
2023-10-13	13:15:54	2961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862452','8436550196948','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:54	2961	[DEBUG]	No parent found
2023-10-13	13:15:54	2961	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862452 AND customfield_value = 'stockable'
2023-10-13	13:15:54	2961	[DEBUG]	Check product language entry
2023-10-13	13:15:54	2961	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862453
2023-10-13	13:15:54	2961	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:54	2961	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550196948' AND `virtuemart_product_id` != 1862453
2023-10-13	13:15:54	2961	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:54	2961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862453, '8436550196948')
2023-10-13	13:15:54	2961	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:54	2961	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-600cc-blanc-rouge-unitaire' AND `virtuemart_product_id` != 1862453
2023-10-13	13:15:54	2961	[DEBUG]	Query for ProductLang
2023-10-13	13:15:54	2961	[DEBUG]	Executed store
2023-10-13	13:15:54	2961	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 600cc / Blanc-rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-600cc-blanc-rouge-unitaire' WHERE `virtuemart_product_id` = '1862453'
2023-10-13	13:15:54	2961	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15702.jpg
2023-10-13	13:15:54	2961	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:54	2961	[DEBUG]	Process image file
2023-10-13	13:15:54	2961	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:54	2961	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:54	2961	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15702.jpg
2023-10-13	13:15:54	2961	[DEBUG]	Full name target: bcprisme/image_15702.jpg
2023-10-13	13:15:55	2961	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:55	2961	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15702.jpg'
2023-10-13	13:15:55	2961	[DEBUG]	Query for Media
2023-10-13	13:15:55	2961	[DEBUG]	Executed store
2023-10-13	13:15:55	2961	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15702.jpg',`file_url_thumb`='bcprisme/image_15702.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13019'
2023-10-13	13:15:55	2961	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:55	2961	[DEBUG]	Executed store
2023-10-13	13:15:55	2961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862453','13019','1')
2023-10-13	13:15:55	2961	[DEBUG]	Store product image relation
2023-10-13	13:15:55	2961	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:55	2961	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862453 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:55	2961	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:55	2961	[DEBUG]	Executed store
2023-10-13	13:15:55	2961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862453','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:55	2961	[DEBUG]	Checking manufacturer
2023-10-13	13:15:55	2961	[DEBUG]	Load a row
2023-10-13	13:15:55	2961	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:55	2961	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:55	2961	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:55	2961	[DEBUG]	Executed store
2023-10-13	13:15:55	2961	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:55	2961	[DEBUG]	Manufacturer exists
2023-10-13	13:15:55	2961	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:55	2961	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:55	2961	[DEBUG]	Executed store
2023-10-13	13:15:55	2961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862453','206')
2023-10-13	13:15:55	2961	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:55	2961	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:55	2961	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862453 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:55	2961	[DEBUG]	Store custom available field
2023-10-13	13:15:55	2961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862453,3,'',1)
2023-10-13	13:15:55	2961	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:55	2961	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:55	2961	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862453 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:55	2961	[DEBUG]	Store custom available field
2023-10-13	13:15:55	2961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862453,6,'Unitaire',3)
2023-10-13	13:15:55	2961	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:55	2961	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:55	2961	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862452
2023-10-13	13:15:55	2961	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:55	2961	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862452\":[1862452,8,1,\"choisir la taille\"],\"1862453\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862452
2023-10-13	13:15:55	2961	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:55	2961	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862453
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:55	2962	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field taille
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:55	2962	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:55	2962	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:55	2962	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:55	2962	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:55	2962	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:55	2962	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field published
2023-10-13	13:15:55	2962	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:55	2962	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field override
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:55	2962	[DEBUG]	Use field value for field slug
2023-10-13	13:15:55	2962	[DEBUG]	Process line 2962
2023-10-13	13:15:55	2962	[DEBUG]	Load a row
2023-10-13	13:15:55	2962	[DEBUG]	Processing item: A_3247_47
2023-10-13	13:15:55	2962	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:55	2962	[DEBUG]	Processing product tax
2023-10-13	13:15:55	2962	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:55	2962	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:55	2962	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:55	2962	[DEBUG]	Query for Product
2023-10-13	13:15:55	2962	[DEBUG]	Executed store
2023-10-13	13:15:55	2962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3247_47','0.72','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:55	2962	[DEBUG]	Check product language entry
2023-10-13	13:15:55	2962	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862454
2023-10-13	13:15:55	2962	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:55	2962	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3247_47' AND `virtuemart_product_id` != 1862454
2023-10-13	13:15:55	2962	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:55	2962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862454, 'A_3247_47')
2023-10-13	13:15:55	2962	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:55	2962	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-600cc-blanc-bleu' AND `virtuemart_product_id` != 1862454
2023-10-13	13:15:55	2962	[DEBUG]	Query for ProductLang
2023-10-13	13:15:55	2962	[DEBUG]	Executed store
2023-10-13	13:15:55	2962	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>Bidon MSC SQUEEZE&DRINK. 600cc <br><br><br><br>squeeze and drink\" <br>  <br><br> <br><br><br>POIDS: 72 gr<br><br>N° art fourn : B600SP2\"',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 600cc / Blanc-bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-600cc-blanc-bleu' WHERE `virtuemart_product_id` = '1862454'
2023-10-13	13:15:55	2962	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17059.jpg
2023-10-13	13:15:55	2962	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:15:55	2962	[DEBUG]	Process image file
2023-10-13	13:15:55	2962	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:15:55	2962	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:55	2962	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17059.jpg
2023-10-13	13:15:55	2962	[DEBUG]	Full name target: bcprisme/image_17059.jpg
2023-10-13	13:15:56	2962	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:56	2962	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17059.jpg'
2023-10-13	13:15:56	2962	[DEBUG]	Query for Media
2023-10-13	13:15:56	2962	[DEBUG]	Executed store
2023-10-13	13:15:56	2962	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17059.jpg',`file_url_thumb`='bcprisme/image_17059.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13020'
2023-10-13	13:15:56	2962	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:56	2962	[DEBUG]	Executed store
2023-10-13	13:15:56	2962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862454','13020','1')
2023-10-13	13:15:56	2962	[DEBUG]	Store product image relation
2023-10-13	13:15:56	2962	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:56	2962	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862454 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:56	2962	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:56	2962	[DEBUG]	Executed store
2023-10-13	13:15:56	2962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862454','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:56	2962	[DEBUG]	Checking manufacturer
2023-10-13	13:15:56	2962	[DEBUG]	Load a row
2023-10-13	13:15:56	2962	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:56	2962	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:56	2962	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:56	2962	[DEBUG]	Executed store
2023-10-13	13:15:56	2962	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:56	2962	[DEBUG]	Manufacturer exists
2023-10-13	13:15:56	2962	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:56	2962	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:56	2962	[DEBUG]	Executed store
2023-10-13	13:15:56	2962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862454','206')
2023-10-13	13:15:56	2962	[DEBUG]	Find the custom field ID
2023-10-13	13:15:56	2962	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:56	2962	[DEBUG]	No custom field ID found
2023-10-13	13:15:56	2962	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:56	2962	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	13:15:56	2962	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862454 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:56	2962	[DEBUG]	Store custom available field
2023-10-13	13:15:56	2962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862454,3,'9.8725',1)
2023-10-13	13:15:56	2962	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:56	2962	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:56	2962	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862454 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:56	2962	[DEBUG]	Store custom available field
2023-10-13	13:15:56	2962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862454,6,'choisir la taille',3)
2023-10-13	13:15:56	2962	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:56	2962	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:56	2962	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:56	2962	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:56	2962	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862454 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:56	2962	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:56	2962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862454,8,1)
2023-10-13	13:15:56	2962	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:56	2962	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862454\":[1862454,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862454
2023-10-13	13:15:56	2962	[DEBUG]	Checking category
2023-10-13	13:15:56	2962	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:56	2962	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862454
2023-10-13	13:15:56	2962	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:56	2962	[DEBUG]	Executed store
2023-10-13	13:15:56	2962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862454','7365')
2023-10-13	13:15:56	2962	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:56	2962	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862454 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:15:56	2962	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:56	2962	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862454
2023-10-13	13:15:56	2963	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:56	2963	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:56	2963	[DEBUG]	Use field value for field taille
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:56	2963	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:56	2963	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:56	2963	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:56	2963	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:56	2963	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:56	2963	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:56	2963	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:56	2963	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:56	2963	[DEBUG]	Use field value for field published
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:56	2963	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field override
2023-10-13	13:15:56	2963	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:56	2963	[DEBUG]	Use field value for field slug
2023-10-13	13:15:56	2963	[DEBUG]	Process line 2963
2023-10-13	13:15:56	2963	[DEBUG]	Load a row
2023-10-13	13:15:56	2963	[DEBUG]	Processing item: 8436550196917
2023-10-13	13:15:56	2963	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:56	2963	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:56	2963	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3247_47'
2023-10-13	13:15:56	2963	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:56	2963	[DEBUG]	Processing product tax
2023-10-13	13:15:56	2963	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:56	2963	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:56	2963	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:56	2963	[DEBUG]	Query for Product
2023-10-13	13:15:56	2963	[DEBUG]	Executed store
2023-10-13	13:15:56	2963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862454','8436550196917','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:56	2963	[DEBUG]	No parent found
2023-10-13	13:15:56	2963	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862454 AND customfield_value = 'stockable'
2023-10-13	13:15:56	2963	[DEBUG]	Check product language entry
2023-10-13	13:15:56	2963	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862455
2023-10-13	13:15:56	2963	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:56	2963	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550196917' AND `virtuemart_product_id` != 1862455
2023-10-13	13:15:56	2963	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:56	2963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862455, '8436550196917')
2023-10-13	13:15:56	2963	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:56	2963	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-600cc-blanc-bleu-unitaire' AND `virtuemart_product_id` != 1862455
2023-10-13	13:15:56	2963	[DEBUG]	Query for ProductLang
2023-10-13	13:15:56	2963	[DEBUG]	Executed store
2023-10-13	13:15:56	2963	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 600cc / Blanc-bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-600cc-blanc-bleu-unitaire' WHERE `virtuemart_product_id` = '1862455'
2023-10-13	13:15:56	2963	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17059.jpg
2023-10-13	13:15:56	2963	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:15:56	2963	[DEBUG]	Process image file
2023-10-13	13:15:56	2963	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:15:56	2963	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:56	2963	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17059.jpg
2023-10-13	13:15:56	2963	[DEBUG]	Full name target: bcprisme/image_17059.jpg
2023-10-13	13:15:57	2963	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:57	2963	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17059.jpg'
2023-10-13	13:15:57	2963	[DEBUG]	Query for Media
2023-10-13	13:15:57	2963	[DEBUG]	Executed store
2023-10-13	13:15:57	2963	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17059.jpg',`file_url_thumb`='bcprisme/image_17059.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13020'
2023-10-13	13:15:57	2963	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:57	2963	[DEBUG]	Executed store
2023-10-13	13:15:57	2963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862455','13020','1')
2023-10-13	13:15:57	2963	[DEBUG]	Store product image relation
2023-10-13	13:15:57	2963	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:57	2963	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862455 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:57	2963	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:57	2963	[DEBUG]	Executed store
2023-10-13	13:15:57	2963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862455','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:57	2963	[DEBUG]	Checking manufacturer
2023-10-13	13:15:57	2963	[DEBUG]	Load a row
2023-10-13	13:15:57	2963	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:57	2963	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:57	2963	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:57	2963	[DEBUG]	Executed store
2023-10-13	13:15:57	2963	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:57	2963	[DEBUG]	Manufacturer exists
2023-10-13	13:15:57	2963	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:57	2963	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:57	2963	[DEBUG]	Executed store
2023-10-13	13:15:57	2963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862455','206')
2023-10-13	13:15:57	2963	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:57	2963	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:57	2963	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862455 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:57	2963	[DEBUG]	Store custom available field
2023-10-13	13:15:57	2963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862455,3,'',1)
2023-10-13	13:15:57	2963	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:57	2963	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:57	2963	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862455 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:57	2963	[DEBUG]	Store custom available field
2023-10-13	13:15:57	2963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862455,6,'Unitaire',3)
2023-10-13	13:15:57	2963	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:57	2963	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:57	2963	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862454
2023-10-13	13:15:57	2963	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:57	2963	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862454\":[1862454,8,1,\"choisir la taille\"],\"1862455\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862454
2023-10-13	13:15:57	2963	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:57	2963	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862455
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:57	2964	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field taille
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:57	2964	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:57	2964	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:57	2964	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:57	2964	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:57	2964	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:57	2964	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field published
2023-10-13	13:15:57	2964	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:57	2964	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field override
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:57	2964	[DEBUG]	Use field value for field slug
2023-10-13	13:15:57	2964	[DEBUG]	Process line 2964
2023-10-13	13:15:57	2964	[DEBUG]	Load a row
2023-10-13	13:15:57	2964	[DEBUG]	Processing item: A_3247_152
2023-10-13	13:15:57	2964	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:57	2964	[DEBUG]	Processing product tax
2023-10-13	13:15:57	2964	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:57	2964	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:57	2964	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:57	2964	[DEBUG]	Query for Product
2023-10-13	13:15:57	2964	[DEBUG]	Executed store
2023-10-13	13:15:57	2964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3247_152','0.72','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:57	2964	[DEBUG]	Check product language entry
2023-10-13	13:15:57	2964	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862456
2023-10-13	13:15:57	2964	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:57	2964	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3247_152' AND `virtuemart_product_id` != 1862456
2023-10-13	13:15:57	2964	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:57	2964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862456, 'A_3247_152')
2023-10-13	13:15:57	2964	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:57	2964	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-600cc-blanc-vert' AND `virtuemart_product_id` != 1862456
2023-10-13	13:15:57	2964	[DEBUG]	Query for ProductLang
2023-10-13	13:15:57	2964	[DEBUG]	Executed store
2023-10-13	13:15:57	2964	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>Bidon MSC SQUEEZE&DRINK. 600cc <br><br><br><br>squeeze and drink\" <br>  <br><br> <br><br><br>POIDS: 72 gr<br><br>N° art fourn : B600SP2\"',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 600cc / Blanc-vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-600cc-blanc-vert' WHERE `virtuemart_product_id` = '1862456'
2023-10-13	13:15:57	2964	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15703.jpg
2023-10-13	13:15:57	2964	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:57	2964	[DEBUG]	Process image file
2023-10-13	13:15:57	2964	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:57	2964	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:57	2964	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15703.jpg
2023-10-13	13:15:57	2964	[DEBUG]	Full name target: bcprisme/image_15703.jpg
2023-10-13	13:15:58	2964	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:58	2964	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15703.jpg'
2023-10-13	13:15:58	2964	[DEBUG]	Query for Media
2023-10-13	13:15:58	2964	[DEBUG]	Executed store
2023-10-13	13:15:58	2964	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15703.jpg',`file_url_thumb`='bcprisme/image_15703.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13021'
2023-10-13	13:15:58	2964	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:58	2964	[DEBUG]	Executed store
2023-10-13	13:15:58	2964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862456','13021','1')
2023-10-13	13:15:58	2964	[DEBUG]	Store product image relation
2023-10-13	13:15:58	2964	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:58	2964	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862456 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:58	2964	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:58	2964	[DEBUG]	Executed store
2023-10-13	13:15:58	2964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862456','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:58	2964	[DEBUG]	Checking manufacturer
2023-10-13	13:15:58	2964	[DEBUG]	Load a row
2023-10-13	13:15:58	2964	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:58	2964	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:58	2964	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:58	2964	[DEBUG]	Executed store
2023-10-13	13:15:58	2964	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:58	2964	[DEBUG]	Manufacturer exists
2023-10-13	13:15:58	2964	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:58	2964	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:58	2964	[DEBUG]	Executed store
2023-10-13	13:15:58	2964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862456','206')
2023-10-13	13:15:58	2964	[DEBUG]	Find the custom field ID
2023-10-13	13:15:58	2964	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:15:58	2964	[DEBUG]	No custom field ID found
2023-10-13	13:15:58	2964	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:58	2964	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	13:15:58	2964	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862456 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:58	2964	[DEBUG]	Store custom available field
2023-10-13	13:15:58	2964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862456,3,'9.8725',1)
2023-10-13	13:15:58	2964	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:58	2964	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:15:58	2964	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862456 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:58	2964	[DEBUG]	Store custom available field
2023-10-13	13:15:58	2964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862456,6,'choisir la taille',3)
2023-10-13	13:15:58	2964	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:58	2964	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:15:58	2964	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:15:58	2964	[DEBUG]	Find the multi variant product entry
2023-10-13	13:15:58	2964	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862456 AND `virtuemart_custom_id` = 8
2023-10-13	13:15:58	2964	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:15:58	2964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862456,8,1)
2023-10-13	13:15:58	2964	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:58	2964	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862456\":[1862456,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862456
2023-10-13	13:15:58	2964	[DEBUG]	Checking category
2023-10-13	13:15:58	2964	[DEBUG]	Get the existing categories for the product
2023-10-13	13:15:58	2964	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862456
2023-10-13	13:15:58	2964	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:15:58	2964	[DEBUG]	Executed store
2023-10-13	13:15:58	2964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862456','7365')
2023-10-13	13:15:58	2964	[DEBUG]	Delete leftover product categories
2023-10-13	13:15:58	2964	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862456 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:15:58	2964	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:58	2964	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862456
2023-10-13	13:15:58	2965	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:58	2965	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:15:58	2965	[DEBUG]	Use field value for field taille
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:15:58	2965	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field category_path
2023-10-13	13:15:58	2965	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:58	2965	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:58	2965	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:58	2965	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:15:58	2965	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field product_weight
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:58	2965	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:58	2965	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:58	2965	[DEBUG]	Use field value for field published
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field custom_title
2023-10-13	13:15:58	2965	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field custom_param
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field override
2023-10-13	13:15:58	2965	[DEBUG]	Use default value for field public_price
2023-10-13	13:15:58	2965	[DEBUG]	Use field value for field slug
2023-10-13	13:15:58	2965	[DEBUG]	Process line 2965
2023-10-13	13:15:58	2965	[DEBUG]	Load a row
2023-10-13	13:15:58	2965	[DEBUG]	Processing item: 8436550196924
2023-10-13	13:15:58	2965	[DEBUG]	Looking for parent SKU
2023-10-13	13:15:58	2965	[DEBUG]	Checking product parent SKU
2023-10-13	13:15:58	2965	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3247_152'
2023-10-13	13:15:58	2965	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:58	2965	[DEBUG]	Processing product tax
2023-10-13	13:15:58	2965	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:58	2965	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:58	2965	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:58	2965	[DEBUG]	Query for Product
2023-10-13	13:15:58	2965	[DEBUG]	Executed store
2023-10-13	13:15:58	2965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862456','8436550196924','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:58	2965	[DEBUG]	No parent found
2023-10-13	13:15:58	2965	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862456 AND customfield_value = 'stockable'
2023-10-13	13:15:58	2965	[DEBUG]	Check product language entry
2023-10-13	13:15:58	2965	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862457
2023-10-13	13:15:58	2965	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:58	2965	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550196924' AND `virtuemart_product_id` != 1862457
2023-10-13	13:15:58	2965	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:58	2965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862457, '8436550196924')
2023-10-13	13:15:58	2965	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:58	2965	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-600cc-blanc-vert-unitaire' AND `virtuemart_product_id` != 1862457
2023-10-13	13:15:58	2965	[DEBUG]	Query for ProductLang
2023-10-13	13:15:58	2965	[DEBUG]	Executed store
2023-10-13	13:15:58	2965	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 600cc / Blanc-vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-600cc-blanc-vert-unitaire' WHERE `virtuemart_product_id` = '1862457'
2023-10-13	13:15:58	2965	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15703.jpg
2023-10-13	13:15:58	2965	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:58	2965	[DEBUG]	Process image file
2023-10-13	13:15:58	2965	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:58	2965	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:58	2965	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15703.jpg
2023-10-13	13:15:58	2965	[DEBUG]	Full name target: bcprisme/image_15703.jpg
2023-10-13	13:15:59	2965	[DEBUG]	Checking if the file_url exists
2023-10-13	13:15:59	2965	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15703.jpg'
2023-10-13	13:15:59	2965	[DEBUG]	Query for Media
2023-10-13	13:15:59	2965	[DEBUG]	Executed store
2023-10-13	13:15:59	2965	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15703.jpg',`file_url_thumb`='bcprisme/image_15703.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13021'
2023-10-13	13:15:59	2965	[DEBUG]	Query for ProductMedia
2023-10-13	13:15:59	2965	[DEBUG]	Executed store
2023-10-13	13:15:59	2965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862457','13021','1')
2023-10-13	13:15:59	2965	[DEBUG]	Store product image relation
2023-10-13	13:15:59	2965	[DEBUG]	Finding a product_price_id
2023-10-13	13:15:59	2965	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862457 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:15:59	2965	[DEBUG]	Query for ProductPrice
2023-10-13	13:15:59	2965	[DEBUG]	Executed store
2023-10-13	13:15:59	2965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862457','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:15:59	2965	[DEBUG]	Checking manufacturer
2023-10-13	13:15:59	2965	[DEBUG]	Load a row
2023-10-13	13:15:59	2965	[DEBUG]	Manufacturer already exists
2023-10-13	13:15:59	2965	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:59	2965	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:15:59	2965	[DEBUG]	Executed store
2023-10-13	13:15:59	2965	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:15:59	2965	[DEBUG]	Manufacturer exists
2023-10-13	13:15:59	2965	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:15:59	2965	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:15:59	2965	[DEBUG]	Executed store
2023-10-13	13:15:59	2965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862457','206')
2023-10-13	13:15:59	2965	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:15:59	2965	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:15:59	2965	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862457 AND `virtuemart_custom_id` = 3
2023-10-13	13:15:59	2965	[DEBUG]	Store custom available field
2023-10-13	13:15:59	2965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862457,3,'',1)
2023-10-13	13:15:59	2965	[DEBUG]	Processing custom available field: taille
2023-10-13	13:15:59	2965	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:15:59	2965	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862457 AND `virtuemart_custom_id` = 6
2023-10-13	13:15:59	2965	[DEBUG]	Store custom available field
2023-10-13	13:15:59	2965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862457,6,'Unitaire',3)
2023-10-13	13:15:59	2965	[DEBUG]	Process multi-variant fields
2023-10-13	13:15:59	2965	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:15:59	2965	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862456
2023-10-13	13:15:59	2965	[DEBUG]	Store the updated customfield_params
2023-10-13	13:15:59	2965	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862456\":[1862456,8,1,\"choisir la taille\"],\"1862457\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862456
2023-10-13	13:15:59	2965	[DEBUG]	Update has fields after all processing
2023-10-13	13:15:59	2965	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862457
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field product_sku
2023-10-13	13:15:59	2966	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field taille
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field product_name
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field category_path
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field product_price
2023-10-13	13:15:59	2966	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field product_tax
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field file_url
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:15:59	2966	[DEBUG]	Use default value for field product_desc
2023-10-13	13:15:59	2966	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field product_availability
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field product_weight
2023-10-13	13:15:59	2966	[DEBUG]	Use default value for field product_unit
2023-10-13	13:15:59	2966	[DEBUG]	Use default value for field related_products
2023-10-13	13:15:59	2966	[DEBUG]	Use default value for field product_special
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field published
2023-10-13	13:15:59	2966	[DEBUG]	Use default value for field metadesc
2023-10-13	13:15:59	2966	[DEBUG]	Use default value for field metakey
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field custom_title
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field custom_value
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field custom_param
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field override
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field public_price
2023-10-13	13:15:59	2966	[DEBUG]	Use field value for field slug
2023-10-13	13:15:59	2966	[DEBUG]	Process line 2966
2023-10-13	13:15:59	2966	[DEBUG]	Load a row
2023-10-13	13:15:59	2966	[DEBUG]	Processing item: A_3247_158
2023-10-13	13:15:59	2966	[DEBUG]	Product tax: 7.7
2023-10-13	13:15:59	2966	[DEBUG]	Processing product tax
2023-10-13	13:15:59	2966	[DEBUG]	Check if calculation rule exists
2023-10-13	13:15:59	2966	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:15:59	2966	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:15:59	2966	[DEBUG]	Query for Product
2023-10-13	13:15:59	2966	[DEBUG]	Executed store
2023-10-13	13:15:59	2966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3247_158','0.72','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:15:59	2966	[DEBUG]	Check product language entry
2023-10-13	13:15:59	2966	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862458
2023-10-13	13:15:59	2966	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:59	2966	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3247_158' AND `virtuemart_product_id` != 1862458
2023-10-13	13:15:59	2966	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:15:59	2966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862458, 'A_3247_158')
2023-10-13	13:15:59	2966	[DEBUG]	Check if the product slug exists
2023-10-13	13:15:59	2966	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-600cc-blanc-rose' AND `virtuemart_product_id` != 1862458
2023-10-13	13:15:59	2966	[DEBUG]	Query for ProductLang
2023-10-13	13:15:59	2966	[DEBUG]	Executed store
2023-10-13	13:15:59	2966	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>Bidon MSC SQUEEZE&DRINK. 600cc <br><br><br><br>squeeze and drink\" <br>  <br><br> <br><br><br>POIDS: 72 gr<br><br>N° art fourn : B600SP2\"',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 600cc / Blanc-rose',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-600cc-blanc-rose' WHERE `virtuemart_product_id` = '1862458'
2023-10-13	13:15:59	2966	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15701.jpg
2023-10-13	13:15:59	2966	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:59	2966	[DEBUG]	Process image file
2023-10-13	13:15:59	2966	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:15:59	2966	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:15:59	2966	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15701.jpg
2023-10-13	13:15:59	2966	[DEBUG]	Full name target: bcprisme/image_15701.jpg
2023-10-13	13:16:00	2966	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:00	2966	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15701.jpg'
2023-10-13	13:16:00	2966	[DEBUG]	Query for Media
2023-10-13	13:16:00	2966	[DEBUG]	Executed store
2023-10-13	13:16:00	2966	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15701.jpg',`file_url_thumb`='bcprisme/image_15701.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13022'
2023-10-13	13:16:00	2966	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:00	2966	[DEBUG]	Executed store
2023-10-13	13:16:00	2966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862458','13022','1')
2023-10-13	13:16:00	2966	[DEBUG]	Store product image relation
2023-10-13	13:16:00	2966	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:00	2966	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862458 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:00	2966	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:00	2966	[DEBUG]	Executed store
2023-10-13	13:16:00	2966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862458','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:00	2966	[DEBUG]	Checking manufacturer
2023-10-13	13:16:00	2966	[DEBUG]	Load a row
2023-10-13	13:16:00	2966	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:00	2966	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:00	2966	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:00	2966	[DEBUG]	Executed store
2023-10-13	13:16:00	2966	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:00	2966	[DEBUG]	Manufacturer exists
2023-10-13	13:16:00	2966	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:00	2966	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:00	2966	[DEBUG]	Executed store
2023-10-13	13:16:00	2966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862458','206')
2023-10-13	13:16:00	2966	[DEBUG]	Find the custom field ID
2023-10-13	13:16:00	2966	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:00	2966	[DEBUG]	No custom field ID found
2023-10-13	13:16:00	2966	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:00	2966	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	13:16:00	2966	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862458 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:00	2966	[DEBUG]	Store custom available field
2023-10-13	13:16:00	2966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862458,3,'9.8725',1)
2023-10-13	13:16:00	2966	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:00	2966	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:00	2966	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862458 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:00	2966	[DEBUG]	Store custom available field
2023-10-13	13:16:00	2966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862458,6,'choisir la taille',3)
2023-10-13	13:16:00	2966	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:00	2966	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:00	2966	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:00	2966	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:00	2966	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862458 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:00	2966	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:00	2966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862458,8,1)
2023-10-13	13:16:00	2966	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:00	2966	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862458\":[1862458,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862458
2023-10-13	13:16:00	2966	[DEBUG]	Checking category
2023-10-13	13:16:00	2966	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:00	2966	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862458
2023-10-13	13:16:00	2966	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:00	2966	[DEBUG]	Executed store
2023-10-13	13:16:00	2966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862458','7365')
2023-10-13	13:16:00	2966	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:00	2966	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862458 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:00	2966	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:00	2966	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862458
2023-10-13	13:16:00	2967	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:00	2967	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:00	2967	[DEBUG]	Use field value for field taille
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:00	2967	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:00	2967	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:00	2967	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:00	2967	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:00	2967	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:00	2967	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:00	2967	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:00	2967	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:00	2967	[DEBUG]	Use field value for field published
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:00	2967	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field override
2023-10-13	13:16:00	2967	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:00	2967	[DEBUG]	Use field value for field slug
2023-10-13	13:16:00	2967	[DEBUG]	Process line 2967
2023-10-13	13:16:00	2967	[DEBUG]	Load a row
2023-10-13	13:16:00	2967	[DEBUG]	Processing item: 8436550196931
2023-10-13	13:16:00	2967	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:00	2967	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:00	2967	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3247_158'
2023-10-13	13:16:00	2967	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:00	2967	[DEBUG]	Processing product tax
2023-10-13	13:16:00	2967	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:00	2967	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:00	2967	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:00	2967	[DEBUG]	Query for Product
2023-10-13	13:16:00	2967	[DEBUG]	Executed store
2023-10-13	13:16:00	2967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862458','8436550196931','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:00	2967	[DEBUG]	No parent found
2023-10-13	13:16:00	2967	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862458 AND customfield_value = 'stockable'
2023-10-13	13:16:00	2967	[DEBUG]	Check product language entry
2023-10-13	13:16:00	2967	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862459
2023-10-13	13:16:00	2967	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:00	2967	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550196931' AND `virtuemart_product_id` != 1862459
2023-10-13	13:16:00	2967	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:00	2967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862459, '8436550196931')
2023-10-13	13:16:00	2967	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:00	2967	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-600cc-blanc-rose-unitaire' AND `virtuemart_product_id` != 1862459
2023-10-13	13:16:00	2967	[DEBUG]	Query for ProductLang
2023-10-13	13:16:00	2967	[DEBUG]	Executed store
2023-10-13	13:16:00	2967	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 600cc / Blanc-rose (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-600cc-blanc-rose-unitaire' WHERE `virtuemart_product_id` = '1862459'
2023-10-13	13:16:00	2967	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15701.jpg
2023-10-13	13:16:00	2967	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:00	2967	[DEBUG]	Process image file
2023-10-13	13:16:00	2967	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:00	2967	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:00	2967	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15701.jpg
2023-10-13	13:16:00	2967	[DEBUG]	Full name target: bcprisme/image_15701.jpg
2023-10-13	13:16:01	2967	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:01	2967	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15701.jpg'
2023-10-13	13:16:01	2967	[DEBUG]	Query for Media
2023-10-13	13:16:01	2967	[DEBUG]	Executed store
2023-10-13	13:16:01	2967	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15701.jpg',`file_url_thumb`='bcprisme/image_15701.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13022'
2023-10-13	13:16:01	2967	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:01	2967	[DEBUG]	Executed store
2023-10-13	13:16:01	2967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862459','13022','1')
2023-10-13	13:16:01	2967	[DEBUG]	Store product image relation
2023-10-13	13:16:01	2967	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:01	2967	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862459 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:01	2967	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:01	2967	[DEBUG]	Executed store
2023-10-13	13:16:01	2967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862459','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:01	2967	[DEBUG]	Checking manufacturer
2023-10-13	13:16:01	2967	[DEBUG]	Load a row
2023-10-13	13:16:01	2967	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:01	2967	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:01	2967	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:01	2967	[DEBUG]	Executed store
2023-10-13	13:16:01	2967	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:01	2967	[DEBUG]	Manufacturer exists
2023-10-13	13:16:01	2967	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:01	2967	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:01	2967	[DEBUG]	Executed store
2023-10-13	13:16:01	2967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862459','206')
2023-10-13	13:16:01	2967	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:01	2967	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:01	2967	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862459 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:01	2967	[DEBUG]	Store custom available field
2023-10-13	13:16:01	2967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862459,3,'',1)
2023-10-13	13:16:01	2967	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:01	2967	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:01	2967	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862459 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:01	2967	[DEBUG]	Store custom available field
2023-10-13	13:16:01	2967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862459,6,'Unitaire',3)
2023-10-13	13:16:01	2967	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:01	2967	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:01	2967	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862458
2023-10-13	13:16:01	2967	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:01	2967	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862458\":[1862458,8,1,\"choisir la taille\"],\"1862459\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862458
2023-10-13	13:16:01	2967	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:01	2967	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862459
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:01	2968	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field taille
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:01	2968	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:01	2968	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:01	2968	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:01	2968	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:01	2968	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:01	2968	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field published
2023-10-13	13:16:01	2968	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:01	2968	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field override
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:01	2968	[DEBUG]	Use field value for field slug
2023-10-13	13:16:01	2968	[DEBUG]	Process line 2968
2023-10-13	13:16:01	2968	[DEBUG]	Load a row
2023-10-13	13:16:01	2968	[DEBUG]	Processing item: A_3391_1
2023-10-13	13:16:01	2968	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:01	2968	[DEBUG]	Processing product tax
2023-10-13	13:16:01	2968	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:01	2968	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:01	2968	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:01	2968	[DEBUG]	Query for Product
2023-10-13	13:16:01	2968	[DEBUG]	Executed store
2023-10-13	13:16:01	2968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3391_1','0.093','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:01	2968	[DEBUG]	Check product language entry
2023-10-13	13:16:01	2968	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862460
2023-10-13	13:16:01	2968	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:01	2968	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3391_1' AND `virtuemart_product_id` != 1862460
2023-10-13	13:16:01	2968	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:01	2968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862460, 'A_3391_1')
2023-10-13	13:16:01	2968	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:01	2968	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-800cc-93-gr-noir' AND `virtuemart_product_id` != 1862460
2023-10-13	13:16:01	2968	[DEBUG]	Query for ProductLang
2023-10-13	13:16:01	2968	[DEBUG]	Executed store
2023-10-13	13:16:01	2968	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Bidon MSC SQUEEZE&DRINK. 800cc, 93 GR.<br>N° art fourn : B800SP2BU',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 800cc, 93 GR. / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-800cc-93-gr-noir' WHERE `virtuemart_product_id` = '1862460'
2023-10-13	13:16:01	2968	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17046.jpg
2023-10-13	13:16:01	2968	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:01	2968	[DEBUG]	Process image file
2023-10-13	13:16:01	2968	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:01	2968	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:01	2968	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17046.jpg
2023-10-13	13:16:01	2968	[DEBUG]	Full name target: bcprisme/image_17046.jpg
2023-10-13	13:16:02	2968	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:02	2968	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17046.jpg'
2023-10-13	13:16:02	2968	[DEBUG]	Query for Media
2023-10-13	13:16:02	2968	[DEBUG]	Executed store
2023-10-13	13:16:02	2968	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17046.jpg',`file_url_thumb`='bcprisme/image_17046.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13023'
2023-10-13	13:16:02	2968	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:02	2968	[DEBUG]	Executed store
2023-10-13	13:16:02	2968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862460','13023','1')
2023-10-13	13:16:02	2968	[DEBUG]	Store product image relation
2023-10-13	13:16:02	2968	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:02	2968	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862460 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:02	2968	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:02	2968	[DEBUG]	Executed store
2023-10-13	13:16:02	2968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862460','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:02	2968	[DEBUG]	Checking manufacturer
2023-10-13	13:16:02	2968	[DEBUG]	Load a row
2023-10-13	13:16:02	2968	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:02	2968	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:02	2968	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:02	2968	[DEBUG]	Executed store
2023-10-13	13:16:02	2968	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:02	2968	[DEBUG]	Manufacturer exists
2023-10-13	13:16:02	2968	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:02	2968	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:02	2968	[DEBUG]	Executed store
2023-10-13	13:16:02	2968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862460','206')
2023-10-13	13:16:02	2968	[DEBUG]	Find the custom field ID
2023-10-13	13:16:02	2968	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:02	2968	[DEBUG]	No custom field ID found
2023-10-13	13:16:02	2968	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:02	2968	[DEBUG]	Get existing row with customfield value 10.8697222222222
2023-10-13	13:16:02	2968	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862460 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:02	2968	[DEBUG]	Store custom available field
2023-10-13	13:16:02	2968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862460,3,'10.8697222222222',1)
2023-10-13	13:16:02	2968	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:02	2968	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:02	2968	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862460 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:02	2968	[DEBUG]	Store custom available field
2023-10-13	13:16:02	2968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862460,6,'choisir la taille',3)
2023-10-13	13:16:02	2968	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:02	2968	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:02	2968	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:02	2968	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:02	2968	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862460 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:02	2968	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:02	2968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862460,8,1)
2023-10-13	13:16:02	2968	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:02	2968	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862460\":[1862460,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862460
2023-10-13	13:16:02	2968	[DEBUG]	Checking category
2023-10-13	13:16:02	2968	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:02	2968	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862460
2023-10-13	13:16:02	2968	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:02	2968	[DEBUG]	Executed store
2023-10-13	13:16:02	2968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862460','7365')
2023-10-13	13:16:02	2968	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:02	2968	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862460 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:02	2968	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:02	2968	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862460
2023-10-13	13:16:02	2969	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:02	2969	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:02	2969	[DEBUG]	Use field value for field taille
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:02	2969	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:02	2969	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:02	2969	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:02	2969	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:02	2969	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:02	2969	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:02	2969	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:02	2969	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:02	2969	[DEBUG]	Use field value for field published
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:02	2969	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field override
2023-10-13	13:16:02	2969	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:02	2969	[DEBUG]	Use field value for field slug
2023-10-13	13:16:02	2969	[DEBUG]	Process line 2969
2023-10-13	13:16:02	2969	[DEBUG]	Load a row
2023-10-13	13:16:02	2969	[DEBUG]	Processing item: 8436550197006
2023-10-13	13:16:02	2969	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:02	2969	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:02	2969	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3391_1'
2023-10-13	13:16:02	2969	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:02	2969	[DEBUG]	Processing product tax
2023-10-13	13:16:02	2969	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:02	2969	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:02	2969	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:02	2969	[DEBUG]	Query for Product
2023-10-13	13:16:02	2969	[DEBUG]	Executed store
2023-10-13	13:16:02	2969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862460','8436550197006','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:02	2969	[DEBUG]	No parent found
2023-10-13	13:16:02	2969	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862460 AND customfield_value = 'stockable'
2023-10-13	13:16:02	2969	[DEBUG]	Check product language entry
2023-10-13	13:16:02	2969	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862461
2023-10-13	13:16:02	2969	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:02	2969	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550197006' AND `virtuemart_product_id` != 1862461
2023-10-13	13:16:02	2969	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:02	2969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862461, '8436550197006')
2023-10-13	13:16:02	2969	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:02	2969	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-800cc-93-gr-noir-unitaire' AND `virtuemart_product_id` != 1862461
2023-10-13	13:16:02	2969	[DEBUG]	Query for ProductLang
2023-10-13	13:16:02	2969	[DEBUG]	Executed store
2023-10-13	13:16:02	2969	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 800cc, 93 GR. / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-800cc-93-gr-noir-unitaire' WHERE `virtuemart_product_id` = '1862461'
2023-10-13	13:16:02	2969	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17046.jpg
2023-10-13	13:16:02	2969	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:02	2969	[DEBUG]	Process image file
2023-10-13	13:16:02	2969	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:02	2969	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:02	2969	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17046.jpg
2023-10-13	13:16:02	2969	[DEBUG]	Full name target: bcprisme/image_17046.jpg
2023-10-13	13:16:03	2969	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:03	2969	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17046.jpg'
2023-10-13	13:16:03	2969	[DEBUG]	Query for Media
2023-10-13	13:16:03	2969	[DEBUG]	Executed store
2023-10-13	13:16:03	2969	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17046.jpg',`file_url_thumb`='bcprisme/image_17046.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13023'
2023-10-13	13:16:03	2969	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:03	2969	[DEBUG]	Executed store
2023-10-13	13:16:03	2969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862461','13023','1')
2023-10-13	13:16:03	2969	[DEBUG]	Store product image relation
2023-10-13	13:16:03	2969	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:03	2969	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862461 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:03	2969	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:03	2969	[DEBUG]	Executed store
2023-10-13	13:16:03	2969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862461','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:03	2969	[DEBUG]	Checking manufacturer
2023-10-13	13:16:03	2969	[DEBUG]	Load a row
2023-10-13	13:16:03	2969	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:03	2969	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:03	2969	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:03	2969	[DEBUG]	Executed store
2023-10-13	13:16:03	2969	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:03	2969	[DEBUG]	Manufacturer exists
2023-10-13	13:16:03	2969	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:03	2969	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:03	2969	[DEBUG]	Executed store
2023-10-13	13:16:03	2969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862461','206')
2023-10-13	13:16:03	2969	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:03	2969	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:03	2969	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862461 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:03	2969	[DEBUG]	Store custom available field
2023-10-13	13:16:03	2969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862461,3,'',1)
2023-10-13	13:16:03	2969	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:03	2969	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:03	2969	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862461 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:03	2969	[DEBUG]	Store custom available field
2023-10-13	13:16:03	2969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862461,6,'Unitaire',3)
2023-10-13	13:16:03	2969	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:03	2969	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:03	2969	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862460
2023-10-13	13:16:03	2969	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:03	2969	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862460\":[1862460,8,1,\"choisir la taille\"],\"1862461\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862460
2023-10-13	13:16:03	2969	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:03	2969	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862461
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:03	2970	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field taille
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:03	2970	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:03	2970	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:03	2970	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:03	2970	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:03	2970	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:03	2970	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field published
2023-10-13	13:16:03	2970	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:03	2970	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field override
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:03	2970	[DEBUG]	Use field value for field slug
2023-10-13	13:16:03	2970	[DEBUG]	Process line 2970
2023-10-13	13:16:03	2970	[DEBUG]	Load a row
2023-10-13	13:16:03	2970	[DEBUG]	Processing item: A_3391_7
2023-10-13	13:16:03	2970	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:03	2970	[DEBUG]	Processing product tax
2023-10-13	13:16:03	2970	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:03	2970	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:03	2970	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:03	2970	[DEBUG]	Query for Product
2023-10-13	13:16:03	2970	[DEBUG]	Executed store
2023-10-13	13:16:03	2970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3391_7','0.093','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:03	2970	[DEBUG]	Check product language entry
2023-10-13	13:16:03	2970	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862462
2023-10-13	13:16:03	2970	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:03	2970	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3391_7' AND `virtuemart_product_id` != 1862462
2023-10-13	13:16:03	2970	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:03	2970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862462, 'A_3391_7')
2023-10-13	13:16:03	2970	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:03	2970	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-800cc-93-gr-rouge' AND `virtuemart_product_id` != 1862462
2023-10-13	13:16:03	2970	[DEBUG]	Query for ProductLang
2023-10-13	13:16:03	2970	[DEBUG]	Executed store
2023-10-13	13:16:03	2970	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Bidon MSC SQUEEZE&DRINK. 800cc, 93 GR.<br>N° art fourn : B800SP2BU',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 800cc, 93 GR. / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-800cc-93-gr-rouge' WHERE `virtuemart_product_id` = '1862462'
2023-10-13	13:16:03	2970	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17049.jpg
2023-10-13	13:16:03	2970	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:03	2970	[DEBUG]	Process image file
2023-10-13	13:16:03	2970	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:03	2970	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:03	2970	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17049.jpg
2023-10-13	13:16:03	2970	[DEBUG]	Full name target: bcprisme/image_17049.jpg
2023-10-13	13:16:04	2970	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:04	2970	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17049.jpg'
2023-10-13	13:16:04	2970	[DEBUG]	Query for Media
2023-10-13	13:16:04	2970	[DEBUG]	Executed store
2023-10-13	13:16:04	2970	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17049.jpg',`file_url_thumb`='bcprisme/image_17049.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13024'
2023-10-13	13:16:04	2970	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:04	2970	[DEBUG]	Executed store
2023-10-13	13:16:04	2970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862462','13024','1')
2023-10-13	13:16:04	2970	[DEBUG]	Store product image relation
2023-10-13	13:16:04	2970	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:04	2970	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862462 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:04	2970	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:04	2970	[DEBUG]	Executed store
2023-10-13	13:16:04	2970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862462','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:04	2970	[DEBUG]	Checking manufacturer
2023-10-13	13:16:04	2970	[DEBUG]	Load a row
2023-10-13	13:16:04	2970	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:04	2970	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:04	2970	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:04	2970	[DEBUG]	Executed store
2023-10-13	13:16:04	2970	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:04	2970	[DEBUG]	Manufacturer exists
2023-10-13	13:16:04	2970	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:04	2970	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:04	2970	[DEBUG]	Executed store
2023-10-13	13:16:04	2970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862462','206')
2023-10-13	13:16:04	2970	[DEBUG]	Find the custom field ID
2023-10-13	13:16:04	2970	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:04	2970	[DEBUG]	No custom field ID found
2023-10-13	13:16:04	2970	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:04	2970	[DEBUG]	Get existing row with customfield value 10.8697222222222
2023-10-13	13:16:04	2970	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862462 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:04	2970	[DEBUG]	Store custom available field
2023-10-13	13:16:04	2970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862462,3,'10.8697222222222',1)
2023-10-13	13:16:04	2970	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:04	2970	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:04	2970	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862462 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:04	2970	[DEBUG]	Store custom available field
2023-10-13	13:16:04	2970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862462,6,'choisir la taille',3)
2023-10-13	13:16:04	2970	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:04	2970	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:04	2970	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:04	2970	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:04	2970	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862462 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:04	2970	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:04	2970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862462,8,1)
2023-10-13	13:16:04	2970	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:04	2970	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862462\":[1862462,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862462
2023-10-13	13:16:04	2970	[DEBUG]	Checking category
2023-10-13	13:16:04	2970	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:04	2970	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862462
2023-10-13	13:16:04	2970	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:04	2970	[DEBUG]	Executed store
2023-10-13	13:16:04	2970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862462','7365')
2023-10-13	13:16:04	2970	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:04	2970	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862462 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:04	2970	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:04	2970	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862462
2023-10-13	13:16:04	2971	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:04	2971	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:04	2971	[DEBUG]	Use field value for field taille
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:04	2971	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:04	2971	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:04	2971	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:04	2971	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:04	2971	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:04	2971	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:04	2971	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:04	2971	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:04	2971	[DEBUG]	Use field value for field published
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:04	2971	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field override
2023-10-13	13:16:04	2971	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:04	2971	[DEBUG]	Use field value for field slug
2023-10-13	13:16:04	2971	[DEBUG]	Process line 2971
2023-10-13	13:16:04	2971	[DEBUG]	Load a row
2023-10-13	13:16:04	2971	[DEBUG]	Processing item: 8436550197037
2023-10-13	13:16:04	2971	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:04	2971	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:04	2971	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3391_7'
2023-10-13	13:16:04	2971	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:04	2971	[DEBUG]	Processing product tax
2023-10-13	13:16:04	2971	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:04	2971	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:04	2971	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:04	2971	[DEBUG]	Query for Product
2023-10-13	13:16:04	2971	[DEBUG]	Executed store
2023-10-13	13:16:04	2971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862462','8436550197037','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:04	2971	[DEBUG]	No parent found
2023-10-13	13:16:04	2971	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862462 AND customfield_value = 'stockable'
2023-10-13	13:16:04	2971	[DEBUG]	Check product language entry
2023-10-13	13:16:04	2971	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862463
2023-10-13	13:16:04	2971	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:04	2971	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550197037' AND `virtuemart_product_id` != 1862463
2023-10-13	13:16:04	2971	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:04	2971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862463, '8436550197037')
2023-10-13	13:16:04	2971	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:04	2971	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-800cc-93-gr-rouge-unitaire' AND `virtuemart_product_id` != 1862463
2023-10-13	13:16:04	2971	[DEBUG]	Query for ProductLang
2023-10-13	13:16:04	2971	[DEBUG]	Executed store
2023-10-13	13:16:04	2971	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 800cc, 93 GR. / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-800cc-93-gr-rouge-unitaire' WHERE `virtuemart_product_id` = '1862463'
2023-10-13	13:16:04	2971	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17049.jpg
2023-10-13	13:16:04	2971	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:04	2971	[DEBUG]	Process image file
2023-10-13	13:16:04	2971	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:04	2971	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:04	2971	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17049.jpg
2023-10-13	13:16:04	2971	[DEBUG]	Full name target: bcprisme/image_17049.jpg
2023-10-13	13:16:05	2971	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:05	2971	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17049.jpg'
2023-10-13	13:16:05	2971	[DEBUG]	Query for Media
2023-10-13	13:16:05	2971	[DEBUG]	Executed store
2023-10-13	13:16:05	2971	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17049.jpg',`file_url_thumb`='bcprisme/image_17049.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13024'
2023-10-13	13:16:05	2971	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:05	2971	[DEBUG]	Executed store
2023-10-13	13:16:05	2971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862463','13024','1')
2023-10-13	13:16:05	2971	[DEBUG]	Store product image relation
2023-10-13	13:16:05	2971	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:05	2971	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862463 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:05	2971	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:05	2971	[DEBUG]	Executed store
2023-10-13	13:16:05	2971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862463','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:05	2971	[DEBUG]	Checking manufacturer
2023-10-13	13:16:05	2971	[DEBUG]	Load a row
2023-10-13	13:16:05	2971	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:05	2971	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:05	2971	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:05	2971	[DEBUG]	Executed store
2023-10-13	13:16:05	2971	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:05	2971	[DEBUG]	Manufacturer exists
2023-10-13	13:16:05	2971	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:05	2971	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:05	2971	[DEBUG]	Executed store
2023-10-13	13:16:05	2971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862463','206')
2023-10-13	13:16:05	2971	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:05	2971	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:05	2971	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862463 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:05	2971	[DEBUG]	Store custom available field
2023-10-13	13:16:05	2971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862463,3,'',1)
2023-10-13	13:16:05	2971	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:05	2971	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:05	2971	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862463 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:05	2971	[DEBUG]	Store custom available field
2023-10-13	13:16:05	2971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862463,6,'Unitaire',3)
2023-10-13	13:16:05	2971	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:05	2971	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:05	2971	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862462
2023-10-13	13:16:05	2971	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:05	2971	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862462\":[1862462,8,1,\"choisir la taille\"],\"1862463\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862462
2023-10-13	13:16:05	2971	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:05	2971	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862463
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:05	2972	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field taille
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:05	2972	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:05	2972	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:05	2972	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:05	2972	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:05	2972	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:05	2972	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field published
2023-10-13	13:16:05	2972	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:05	2972	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field override
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:05	2972	[DEBUG]	Use field value for field slug
2023-10-13	13:16:05	2972	[DEBUG]	Process line 2972
2023-10-13	13:16:05	2972	[DEBUG]	Load a row
2023-10-13	13:16:05	2972	[DEBUG]	Processing item: A_3391_22
2023-10-13	13:16:05	2972	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:05	2972	[DEBUG]	Processing product tax
2023-10-13	13:16:05	2972	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:05	2972	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:05	2972	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:05	2972	[DEBUG]	Query for Product
2023-10-13	13:16:05	2972	[DEBUG]	Executed store
2023-10-13	13:16:05	2972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3391_22','0.093','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:05	2972	[DEBUG]	Check product language entry
2023-10-13	13:16:05	2972	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862464
2023-10-13	13:16:05	2972	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:05	2972	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3391_22' AND `virtuemart_product_id` != 1862464
2023-10-13	13:16:05	2972	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:05	2972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862464, 'A_3391_22')
2023-10-13	13:16:05	2972	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:05	2972	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-800cc-93-gr-bleu' AND `virtuemart_product_id` != 1862464
2023-10-13	13:16:05	2972	[DEBUG]	Query for ProductLang
2023-10-13	13:16:05	2972	[DEBUG]	Executed store
2023-10-13	13:16:05	2972	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Bidon MSC SQUEEZE&DRINK. 800cc, 93 GR.<br>N° art fourn : B800SP2BU',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 800cc, 93 GR. / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-800cc-93-gr-bleu' WHERE `virtuemart_product_id` = '1862464'
2023-10-13	13:16:05	2972	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17045.jpg
2023-10-13	13:16:05	2972	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:05	2972	[DEBUG]	Process image file
2023-10-13	13:16:05	2972	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:05	2972	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:05	2972	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17045.jpg
2023-10-13	13:16:05	2972	[DEBUG]	Full name target: bcprisme/image_17045.jpg
2023-10-13	13:16:06	2972	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:06	2972	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17045.jpg'
2023-10-13	13:16:06	2972	[DEBUG]	Query for Media
2023-10-13	13:16:06	2972	[DEBUG]	Executed store
2023-10-13	13:16:06	2972	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17045.jpg',`file_url_thumb`='bcprisme/image_17045.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13025'
2023-10-13	13:16:06	2972	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:06	2972	[DEBUG]	Executed store
2023-10-13	13:16:06	2972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862464','13025','1')
2023-10-13	13:16:06	2972	[DEBUG]	Store product image relation
2023-10-13	13:16:06	2972	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:06	2972	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862464 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:06	2972	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:06	2972	[DEBUG]	Executed store
2023-10-13	13:16:06	2972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862464','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:06	2972	[DEBUG]	Checking manufacturer
2023-10-13	13:16:06	2972	[DEBUG]	Load a row
2023-10-13	13:16:06	2972	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:06	2972	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:06	2972	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:06	2972	[DEBUG]	Executed store
2023-10-13	13:16:06	2972	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:06	2972	[DEBUG]	Manufacturer exists
2023-10-13	13:16:06	2972	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:06	2972	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:06	2972	[DEBUG]	Executed store
2023-10-13	13:16:06	2972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862464','206')
2023-10-13	13:16:06	2972	[DEBUG]	Find the custom field ID
2023-10-13	13:16:06	2972	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:06	2972	[DEBUG]	No custom field ID found
2023-10-13	13:16:06	2972	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:06	2972	[DEBUG]	Get existing row with customfield value 10.8697222222222
2023-10-13	13:16:06	2972	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862464 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:06	2972	[DEBUG]	Store custom available field
2023-10-13	13:16:06	2972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862464,3,'10.8697222222222',1)
2023-10-13	13:16:06	2972	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:06	2972	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:06	2972	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862464 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:06	2972	[DEBUG]	Store custom available field
2023-10-13	13:16:06	2972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862464,6,'choisir la taille',3)
2023-10-13	13:16:06	2972	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:06	2972	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:06	2972	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:06	2972	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:06	2972	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862464 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:06	2972	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:06	2972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862464,8,1)
2023-10-13	13:16:06	2972	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:06	2972	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862464\":[1862464,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862464
2023-10-13	13:16:06	2972	[DEBUG]	Checking category
2023-10-13	13:16:06	2972	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:06	2972	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862464
2023-10-13	13:16:06	2972	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:06	2972	[DEBUG]	Executed store
2023-10-13	13:16:06	2972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862464','7365')
2023-10-13	13:16:06	2972	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:06	2972	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862464 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:06	2972	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:06	2972	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862464
2023-10-13	13:16:06	2973	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:06	2973	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:06	2973	[DEBUG]	Use field value for field taille
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:06	2973	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:06	2973	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:06	2973	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:06	2973	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:06	2973	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:06	2973	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:06	2973	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:06	2973	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:06	2973	[DEBUG]	Use field value for field published
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:06	2973	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field override
2023-10-13	13:16:06	2973	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:06	2973	[DEBUG]	Use field value for field slug
2023-10-13	13:16:06	2973	[DEBUG]	Process line 2973
2023-10-13	13:16:06	2973	[DEBUG]	Load a row
2023-10-13	13:16:06	2973	[DEBUG]	Processing item: 8436550193367
2023-10-13	13:16:06	2973	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:06	2973	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:06	2973	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3391_22'
2023-10-13	13:16:06	2973	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:06	2973	[DEBUG]	Processing product tax
2023-10-13	13:16:06	2973	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:06	2973	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:06	2973	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:06	2973	[DEBUG]	Query for Product
2023-10-13	13:16:06	2973	[DEBUG]	Executed store
2023-10-13	13:16:06	2973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862464','8436550193367','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:06	2973	[DEBUG]	No parent found
2023-10-13	13:16:06	2973	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862464 AND customfield_value = 'stockable'
2023-10-13	13:16:06	2973	[DEBUG]	Check product language entry
2023-10-13	13:16:06	2973	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862465
2023-10-13	13:16:06	2973	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:06	2973	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550193367' AND `virtuemart_product_id` != 1862465
2023-10-13	13:16:06	2973	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:06	2973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862465, '8436550193367')
2023-10-13	13:16:06	2973	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:06	2973	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-800cc-93-gr-bleu-unitaire' AND `virtuemart_product_id` != 1862465
2023-10-13	13:16:06	2973	[DEBUG]	Query for ProductLang
2023-10-13	13:16:06	2973	[DEBUG]	Executed store
2023-10-13	13:16:06	2973	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 800cc, 93 GR. / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-800cc-93-gr-bleu-unitaire' WHERE `virtuemart_product_id` = '1862465'
2023-10-13	13:16:06	2973	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17045.jpg
2023-10-13	13:16:06	2973	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:06	2973	[DEBUG]	Process image file
2023-10-13	13:16:06	2973	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:06	2973	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:06	2973	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17045.jpg
2023-10-13	13:16:06	2973	[DEBUG]	Full name target: bcprisme/image_17045.jpg
2023-10-13	13:16:07	2973	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:07	2973	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17045.jpg'
2023-10-13	13:16:07	2973	[DEBUG]	Query for Media
2023-10-13	13:16:07	2973	[DEBUG]	Executed store
2023-10-13	13:16:07	2973	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17045.jpg',`file_url_thumb`='bcprisme/image_17045.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13025'
2023-10-13	13:16:07	2973	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:07	2973	[DEBUG]	Executed store
2023-10-13	13:16:07	2973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862465','13025','1')
2023-10-13	13:16:07	2973	[DEBUG]	Store product image relation
2023-10-13	13:16:07	2973	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:07	2973	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862465 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:07	2973	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:07	2973	[DEBUG]	Executed store
2023-10-13	13:16:07	2973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862465','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:07	2973	[DEBUG]	Checking manufacturer
2023-10-13	13:16:07	2973	[DEBUG]	Load a row
2023-10-13	13:16:07	2973	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:07	2973	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:07	2973	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:07	2973	[DEBUG]	Executed store
2023-10-13	13:16:07	2973	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:07	2973	[DEBUG]	Manufacturer exists
2023-10-13	13:16:07	2973	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:07	2973	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:07	2973	[DEBUG]	Executed store
2023-10-13	13:16:07	2973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862465','206')
2023-10-13	13:16:07	2973	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:07	2973	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:07	2973	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862465 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:07	2973	[DEBUG]	Store custom available field
2023-10-13	13:16:07	2973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862465,3,'',1)
2023-10-13	13:16:07	2973	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:07	2973	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:07	2973	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862465 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:07	2973	[DEBUG]	Store custom available field
2023-10-13	13:16:07	2973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862465,6,'Unitaire',3)
2023-10-13	13:16:07	2973	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:07	2973	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:07	2973	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862464
2023-10-13	13:16:07	2973	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:07	2973	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862464\":[1862464,8,1,\"choisir la taille\"],\"1862465\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862464
2023-10-13	13:16:07	2973	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:07	2973	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862465
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:07	2974	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field taille
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:07	2974	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:07	2974	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:07	2974	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:07	2974	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:07	2974	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:07	2974	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field published
2023-10-13	13:16:07	2974	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:07	2974	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field override
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:07	2974	[DEBUG]	Use field value for field slug
2023-10-13	13:16:07	2974	[DEBUG]	Process line 2974
2023-10-13	13:16:07	2974	[DEBUG]	Load a row
2023-10-13	13:16:07	2974	[DEBUG]	Processing item: A_3391_40
2023-10-13	13:16:07	2974	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:07	2974	[DEBUG]	Processing product tax
2023-10-13	13:16:07	2974	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:07	2974	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:07	2974	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:07	2974	[DEBUG]	Query for Product
2023-10-13	13:16:07	2974	[DEBUG]	Executed store
2023-10-13	13:16:07	2974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3391_40','0.093','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:07	2974	[DEBUG]	Check product language entry
2023-10-13	13:16:07	2974	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862466
2023-10-13	13:16:07	2974	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:07	2974	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3391_40' AND `virtuemart_product_id` != 1862466
2023-10-13	13:16:07	2974	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:07	2974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862466, 'A_3391_40')
2023-10-13	13:16:07	2974	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:07	2974	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-800cc-93-gr-vert' AND `virtuemart_product_id` != 1862466
2023-10-13	13:16:07	2974	[DEBUG]	Query for ProductLang
2023-10-13	13:16:07	2974	[DEBUG]	Executed store
2023-10-13	13:16:07	2974	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Bidon MSC SQUEEZE&DRINK. 800cc, 93 GR.<br>N° art fourn : B800SP2BU',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 800cc, 93 GR. / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-800cc-93-gr-vert' WHERE `virtuemart_product_id` = '1862466'
2023-10-13	13:16:07	2974	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17047.jpg
2023-10-13	13:16:07	2974	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:07	2974	[DEBUG]	Process image file
2023-10-13	13:16:07	2974	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:07	2974	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:07	2974	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17047.jpg
2023-10-13	13:16:07	2974	[DEBUG]	Full name target: bcprisme/image_17047.jpg
2023-10-13	13:16:08	2974	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:08	2974	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17047.jpg'
2023-10-13	13:16:08	2974	[DEBUG]	Query for Media
2023-10-13	13:16:08	2974	[DEBUG]	Executed store
2023-10-13	13:16:08	2974	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17047.jpg',`file_url_thumb`='bcprisme/image_17047.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13026'
2023-10-13	13:16:08	2974	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:08	2974	[DEBUG]	Executed store
2023-10-13	13:16:08	2974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862466','13026','1')
2023-10-13	13:16:08	2974	[DEBUG]	Store product image relation
2023-10-13	13:16:08	2974	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:08	2974	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862466 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:08	2974	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:08	2974	[DEBUG]	Executed store
2023-10-13	13:16:08	2974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862466','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:08	2974	[DEBUG]	Checking manufacturer
2023-10-13	13:16:08	2974	[DEBUG]	Load a row
2023-10-13	13:16:08	2974	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:08	2974	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:08	2974	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:08	2974	[DEBUG]	Executed store
2023-10-13	13:16:08	2974	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:08	2974	[DEBUG]	Manufacturer exists
2023-10-13	13:16:08	2974	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:08	2974	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:08	2974	[DEBUG]	Executed store
2023-10-13	13:16:08	2974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862466','206')
2023-10-13	13:16:08	2974	[DEBUG]	Find the custom field ID
2023-10-13	13:16:08	2974	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:08	2974	[DEBUG]	No custom field ID found
2023-10-13	13:16:08	2974	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:08	2974	[DEBUG]	Get existing row with customfield value 10.8697222222222
2023-10-13	13:16:08	2974	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862466 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:08	2974	[DEBUG]	Store custom available field
2023-10-13	13:16:08	2974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862466,3,'10.8697222222222',1)
2023-10-13	13:16:08	2974	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:08	2974	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:08	2974	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862466 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:08	2974	[DEBUG]	Store custom available field
2023-10-13	13:16:08	2974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862466,6,'choisir la taille',3)
2023-10-13	13:16:08	2974	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:08	2974	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:08	2974	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:08	2974	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:08	2974	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862466 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:08	2974	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:08	2974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862466,8,1)
2023-10-13	13:16:08	2974	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:08	2974	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862466\":[1862466,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862466
2023-10-13	13:16:08	2974	[DEBUG]	Checking category
2023-10-13	13:16:08	2974	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:08	2974	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862466
2023-10-13	13:16:08	2974	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:08	2974	[DEBUG]	Executed store
2023-10-13	13:16:08	2974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862466','7365')
2023-10-13	13:16:08	2974	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:08	2974	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862466 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:08	2974	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:08	2974	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862466
2023-10-13	13:16:08	2975	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:08	2975	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:08	2975	[DEBUG]	Use field value for field taille
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:08	2975	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:08	2975	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:08	2975	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:08	2975	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:08	2975	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:08	2975	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:08	2975	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:08	2975	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:08	2975	[DEBUG]	Use field value for field published
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:08	2975	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field override
2023-10-13	13:16:08	2975	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:08	2975	[DEBUG]	Use field value for field slug
2023-10-13	13:16:08	2975	[DEBUG]	Process line 2975
2023-10-13	13:16:08	2975	[DEBUG]	Load a row
2023-10-13	13:16:08	2975	[DEBUG]	Processing item: 8436550197013
2023-10-13	13:16:08	2975	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:08	2975	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:08	2975	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3391_40'
2023-10-13	13:16:08	2975	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:08	2975	[DEBUG]	Processing product tax
2023-10-13	13:16:08	2975	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:08	2975	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:08	2975	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:08	2975	[DEBUG]	Query for Product
2023-10-13	13:16:08	2975	[DEBUG]	Executed store
2023-10-13	13:16:08	2975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862466','8436550197013','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:08	2975	[DEBUG]	No parent found
2023-10-13	13:16:08	2975	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862466 AND customfield_value = 'stockable'
2023-10-13	13:16:08	2975	[DEBUG]	Check product language entry
2023-10-13	13:16:08	2975	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862467
2023-10-13	13:16:08	2975	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:08	2975	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550197013' AND `virtuemart_product_id` != 1862467
2023-10-13	13:16:08	2975	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:08	2975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862467, '8436550197013')
2023-10-13	13:16:08	2975	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:08	2975	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-800cc-93-gr-vert-unitaire' AND `virtuemart_product_id` != 1862467
2023-10-13	13:16:08	2975	[DEBUG]	Query for ProductLang
2023-10-13	13:16:08	2975	[DEBUG]	Executed store
2023-10-13	13:16:08	2975	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 800cc, 93 GR. / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-800cc-93-gr-vert-unitaire' WHERE `virtuemart_product_id` = '1862467'
2023-10-13	13:16:08	2975	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17047.jpg
2023-10-13	13:16:08	2975	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:08	2975	[DEBUG]	Process image file
2023-10-13	13:16:08	2975	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:08	2975	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:08	2975	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17047.jpg
2023-10-13	13:16:08	2975	[DEBUG]	Full name target: bcprisme/image_17047.jpg
2023-10-13	13:16:09	2975	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:09	2975	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17047.jpg'
2023-10-13	13:16:09	2975	[DEBUG]	Query for Media
2023-10-13	13:16:09	2975	[DEBUG]	Executed store
2023-10-13	13:16:09	2975	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17047.jpg',`file_url_thumb`='bcprisme/image_17047.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13026'
2023-10-13	13:16:09	2975	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:09	2975	[DEBUG]	Executed store
2023-10-13	13:16:09	2975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862467','13026','1')
2023-10-13	13:16:09	2975	[DEBUG]	Store product image relation
2023-10-13	13:16:09	2975	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:09	2975	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862467 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:09	2975	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:09	2975	[DEBUG]	Executed store
2023-10-13	13:16:09	2975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862467','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:09	2975	[DEBUG]	Checking manufacturer
2023-10-13	13:16:09	2975	[DEBUG]	Load a row
2023-10-13	13:16:09	2975	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:09	2975	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:09	2975	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:09	2975	[DEBUG]	Executed store
2023-10-13	13:16:09	2975	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:09	2975	[DEBUG]	Manufacturer exists
2023-10-13	13:16:09	2975	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:09	2975	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:09	2975	[DEBUG]	Executed store
2023-10-13	13:16:09	2975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862467','206')
2023-10-13	13:16:09	2975	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:09	2975	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:09	2975	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862467 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:09	2975	[DEBUG]	Store custom available field
2023-10-13	13:16:09	2975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862467,3,'',1)
2023-10-13	13:16:09	2975	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:09	2975	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:09	2975	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862467 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:09	2975	[DEBUG]	Store custom available field
2023-10-13	13:16:09	2975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862467,6,'Unitaire',3)
2023-10-13	13:16:09	2975	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:09	2975	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:09	2975	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862466
2023-10-13	13:16:09	2975	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:09	2975	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862466\":[1862466,8,1,\"choisir la taille\"],\"1862467\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862466
2023-10-13	13:16:09	2975	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:09	2975	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862467
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:09	2976	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field taille
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:09	2976	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:09	2976	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:09	2976	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:09	2976	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:09	2976	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:09	2976	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field published
2023-10-13	13:16:09	2976	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:09	2976	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field override
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:09	2976	[DEBUG]	Use field value for field slug
2023-10-13	13:16:09	2976	[DEBUG]	Process line 2976
2023-10-13	13:16:09	2976	[DEBUG]	Load a row
2023-10-13	13:16:09	2976	[DEBUG]	Processing item: A_3391_150
2023-10-13	13:16:09	2976	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:09	2976	[DEBUG]	Processing product tax
2023-10-13	13:16:09	2976	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:09	2976	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:09	2976	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:09	2976	[DEBUG]	Query for Product
2023-10-13	13:16:09	2976	[DEBUG]	Executed store
2023-10-13	13:16:09	2976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3391_150','0.093','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:09	2976	[DEBUG]	Check product language entry
2023-10-13	13:16:09	2976	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862468
2023-10-13	13:16:09	2976	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:09	2976	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3391_150' AND `virtuemart_product_id` != 1862468
2023-10-13	13:16:09	2976	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:09	2976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862468, 'A_3391_150')
2023-10-13	13:16:09	2976	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:09	2976	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-800cc-93-gr-rose' AND `virtuemart_product_id` != 1862468
2023-10-13	13:16:09	2976	[DEBUG]	Query for ProductLang
2023-10-13	13:16:09	2976	[DEBUG]	Executed store
2023-10-13	13:16:09	2976	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Bidon MSC SQUEEZE&DRINK. 800cc, 93 GR.<br>N° art fourn : B800SP2BU',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 800cc, 93 GR. / Rose',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-800cc-93-gr-rose' WHERE `virtuemart_product_id` = '1862468'
2023-10-13	13:16:09	2976	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17048.jpg
2023-10-13	13:16:09	2976	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:09	2976	[DEBUG]	Process image file
2023-10-13	13:16:09	2976	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:09	2976	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:09	2976	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17048.jpg
2023-10-13	13:16:09	2976	[DEBUG]	Full name target: bcprisme/image_17048.jpg
2023-10-13	13:16:10	2976	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:10	2976	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17048.jpg'
2023-10-13	13:16:10	2976	[DEBUG]	Query for Media
2023-10-13	13:16:10	2976	[DEBUG]	Executed store
2023-10-13	13:16:10	2976	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17048.jpg',`file_url_thumb`='bcprisme/image_17048.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13027'
2023-10-13	13:16:10	2976	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:10	2976	[DEBUG]	Executed store
2023-10-13	13:16:10	2976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862468','13027','1')
2023-10-13	13:16:10	2976	[DEBUG]	Store product image relation
2023-10-13	13:16:10	2976	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:10	2976	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862468 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:10	2976	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:10	2976	[DEBUG]	Executed store
2023-10-13	13:16:10	2976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862468','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:10	2976	[DEBUG]	Checking manufacturer
2023-10-13	13:16:10	2976	[DEBUG]	Load a row
2023-10-13	13:16:10	2976	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:10	2976	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:10	2976	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:10	2976	[DEBUG]	Executed store
2023-10-13	13:16:10	2976	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:10	2976	[DEBUG]	Manufacturer exists
2023-10-13	13:16:10	2976	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:10	2976	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:10	2976	[DEBUG]	Executed store
2023-10-13	13:16:10	2976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862468','206')
2023-10-13	13:16:10	2976	[DEBUG]	Find the custom field ID
2023-10-13	13:16:10	2976	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:10	2976	[DEBUG]	No custom field ID found
2023-10-13	13:16:10	2976	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:10	2976	[DEBUG]	Get existing row with customfield value 10.8697222222222
2023-10-13	13:16:10	2976	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862468 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:10	2976	[DEBUG]	Store custom available field
2023-10-13	13:16:10	2976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862468,3,'10.8697222222222',1)
2023-10-13	13:16:10	2976	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:10	2976	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:10	2976	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862468 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:10	2976	[DEBUG]	Store custom available field
2023-10-13	13:16:10	2976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862468,6,'choisir la taille',3)
2023-10-13	13:16:10	2976	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:10	2976	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:10	2976	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:10	2976	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:10	2976	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862468 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:10	2976	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:10	2976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862468,8,1)
2023-10-13	13:16:10	2976	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:10	2976	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862468\":[1862468,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862468
2023-10-13	13:16:10	2976	[DEBUG]	Checking category
2023-10-13	13:16:10	2976	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:10	2976	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862468
2023-10-13	13:16:10	2976	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:10	2976	[DEBUG]	Executed store
2023-10-13	13:16:10	2976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862468','7365')
2023-10-13	13:16:10	2976	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:10	2976	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862468 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:10	2976	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:10	2976	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862468
2023-10-13	13:16:10	2977	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:10	2977	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:10	2977	[DEBUG]	Use field value for field taille
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:10	2977	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:10	2977	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:10	2977	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:10	2977	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:10	2977	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:10	2977	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:10	2977	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:10	2977	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:10	2977	[DEBUG]	Use field value for field published
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:10	2977	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field override
2023-10-13	13:16:10	2977	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:10	2977	[DEBUG]	Use field value for field slug
2023-10-13	13:16:10	2977	[DEBUG]	Process line 2977
2023-10-13	13:16:11	2977	[DEBUG]	Load a row
2023-10-13	13:16:11	2977	[DEBUG]	Processing item: 8436550197020
2023-10-13	13:16:11	2977	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:11	2977	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:11	2977	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3391_150'
2023-10-13	13:16:11	2977	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:11	2977	[DEBUG]	Processing product tax
2023-10-13	13:16:11	2977	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:11	2977	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:11	2977	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:11	2977	[DEBUG]	Query for Product
2023-10-13	13:16:11	2977	[DEBUG]	Executed store
2023-10-13	13:16:11	2977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862468','8436550197020','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:11	2977	[DEBUG]	No parent found
2023-10-13	13:16:11	2977	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862468 AND customfield_value = 'stockable'
2023-10-13	13:16:11	2977	[DEBUG]	Check product language entry
2023-10-13	13:16:11	2977	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862469
2023-10-13	13:16:11	2977	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:11	2977	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550197020' AND `virtuemart_product_id` != 1862469
2023-10-13	13:16:11	2977	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:11	2977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862469, '8436550197020')
2023-10-13	13:16:11	2977	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:11	2977	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-squeeze-drink-800cc-93-gr-rose-unitaire' AND `virtuemart_product_id` != 1862469
2023-10-13	13:16:11	2977	[DEBUG]	Query for ProductLang
2023-10-13	13:16:11	2977	[DEBUG]	Executed store
2023-10-13	13:16:11	2977	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC SQUEEZE & DRINK. 800cc, 93 GR. / Rose (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-squeeze-drink-800cc-93-gr-rose-unitaire' WHERE `virtuemart_product_id` = '1862469'
2023-10-13	13:16:11	2977	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17048.jpg
2023-10-13	13:16:11	2977	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:11	2977	[DEBUG]	Process image file
2023-10-13	13:16:11	2977	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:11	2977	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:11	2977	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17048.jpg
2023-10-13	13:16:11	2977	[DEBUG]	Full name target: bcprisme/image_17048.jpg
2023-10-13	13:16:11	2977	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:11	2977	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17048.jpg'
2023-10-13	13:16:11	2977	[DEBUG]	Query for Media
2023-10-13	13:16:11	2977	[DEBUG]	Executed store
2023-10-13	13:16:11	2977	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17048.jpg',`file_url_thumb`='bcprisme/image_17048.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13027'
2023-10-13	13:16:11	2977	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:11	2977	[DEBUG]	Executed store
2023-10-13	13:16:11	2977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862469','13027','1')
2023-10-13	13:16:11	2977	[DEBUG]	Store product image relation
2023-10-13	13:16:11	2977	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:11	2977	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862469 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:11	2977	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:11	2977	[DEBUG]	Executed store
2023-10-13	13:16:11	2977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862469','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:11	2977	[DEBUG]	Checking manufacturer
2023-10-13	13:16:11	2977	[DEBUG]	Load a row
2023-10-13	13:16:11	2977	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:11	2977	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:11	2977	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:11	2977	[DEBUG]	Executed store
2023-10-13	13:16:11	2977	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:11	2977	[DEBUG]	Manufacturer exists
2023-10-13	13:16:11	2977	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:11	2977	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:12	2977	[DEBUG]	Executed store
2023-10-13	13:16:12	2977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862469','206')
2023-10-13	13:16:12	2977	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:12	2977	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:12	2977	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862469 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:12	2977	[DEBUG]	Store custom available field
2023-10-13	13:16:12	2977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862469,3,'',1)
2023-10-13	13:16:12	2977	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:12	2977	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:12	2977	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862469 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:12	2977	[DEBUG]	Store custom available field
2023-10-13	13:16:12	2977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862469,6,'Unitaire',3)
2023-10-13	13:16:12	2977	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:12	2977	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:12	2977	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862468
2023-10-13	13:16:12	2977	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:12	2977	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862468\":[1862468,8,1,\"choisir la taille\"],\"1862469\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862468
2023-10-13	13:16:12	2977	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:12	2977	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862469
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:12	2978	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field taille
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:12	2978	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:12	2978	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:12	2978	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:12	2978	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:12	2978	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:12	2978	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field published
2023-10-13	13:16:12	2978	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:12	2978	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field override
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:12	2978	[DEBUG]	Use field value for field slug
2023-10-13	13:16:12	2978	[DEBUG]	Process line 2978
2023-10-13	13:16:12	2978	[DEBUG]	Load a row
2023-10-13	13:16:12	2978	[DEBUG]	Processing item: A_3463_7
2023-10-13	13:16:12	2978	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:12	2978	[DEBUG]	Processing product tax
2023-10-13	13:16:12	2978	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:12	2978	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:12	2978	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:12	2978	[DEBUG]	Query for Product
2023-10-13	13:16:12	2978	[DEBUG]	Executed store
2023-10-13	13:16:12	2978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3463_7','0.147','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:12	2978	[DEBUG]	Check product language entry
2023-10-13	13:16:12	2978	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862470
2023-10-13	13:16:12	2978	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:12	2978	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3463_7' AND `virtuemart_product_id` != 1862470
2023-10-13	13:16:12	2978	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:12	2978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862470, 'A_3463_7')
2023-10-13	13:16:12	2978	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:12	2978	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-thermique-hot-cold-500cl-souple-rouge' AND `virtuemart_product_id` != 1862470
2023-10-13	13:16:12	2978	[DEBUG]	Query for ProductLang
2023-10-13	13:16:12	2978	[DEBUG]	Executed store
2023-10-13	13:16:12	2978	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='BIDON MSC THERMIQUE HOT&COLD 500cl<br>N° art fourn : B9999',`product_name`='MSC Bidon MSC THERMIQUE HOT & COLD 500cl souple / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-thermique-hot-cold-500cl-souple-rouge' WHERE `virtuemart_product_id` = '1862470'
2023-10-13	13:16:12	2978	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17230.jpg
2023-10-13	13:16:12	2978	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:12	2978	[DEBUG]	Process image file
2023-10-13	13:16:12	2978	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:12	2978	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:12	2978	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17230.jpg
2023-10-13	13:16:12	2978	[DEBUG]	Full name target: bcprisme/image_17230.jpg
2023-10-13	13:16:13	2978	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:13	2978	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17230.jpg'
2023-10-13	13:16:13	2978	[DEBUG]	Query for Media
2023-10-13	13:16:13	2978	[DEBUG]	Executed store
2023-10-13	13:16:13	2978	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17230.jpg',`file_url_thumb`='bcprisme/image_17230.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13028'
2023-10-13	13:16:13	2978	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:13	2978	[DEBUG]	Executed store
2023-10-13	13:16:13	2978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862470','13028','1')
2023-10-13	13:16:13	2978	[DEBUG]	Store product image relation
2023-10-13	13:16:13	2978	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:13	2978	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862470 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:13	2978	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:13	2978	[DEBUG]	Executed store
2023-10-13	13:16:13	2978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862470','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:13	2978	[DEBUG]	Checking manufacturer
2023-10-13	13:16:13	2978	[DEBUG]	Load a row
2023-10-13	13:16:13	2978	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:13	2978	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:13	2978	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:13	2978	[DEBUG]	Executed store
2023-10-13	13:16:13	2978	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:13	2978	[DEBUG]	Manufacturer exists
2023-10-13	13:16:13	2978	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:13	2978	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:13	2978	[DEBUG]	Executed store
2023-10-13	13:16:13	2978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862470','206')
2023-10-13	13:16:13	2978	[DEBUG]	Find the custom field ID
2023-10-13	13:16:13	2978	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:13	2978	[DEBUG]	No custom field ID found
2023-10-13	13:16:13	2978	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:13	2978	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:16:13	2978	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862470 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:13	2978	[DEBUG]	Store custom available field
2023-10-13	13:16:13	2978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862470,3,'16.8530555555556',1)
2023-10-13	13:16:13	2978	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:13	2978	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:13	2978	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862470 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:13	2978	[DEBUG]	Store custom available field
2023-10-13	13:16:13	2978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862470,6,'choisir la taille',3)
2023-10-13	13:16:13	2978	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:13	2978	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:13	2978	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:13	2978	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:13	2978	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862470 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:13	2978	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:13	2978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862470,8,1)
2023-10-13	13:16:13	2978	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:13	2978	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862470\":[1862470,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862470
2023-10-13	13:16:13	2978	[DEBUG]	Checking category
2023-10-13	13:16:13	2978	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:13	2978	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862470
2023-10-13	13:16:13	2978	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:13	2978	[DEBUG]	Executed store
2023-10-13	13:16:13	2978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862470','7365')
2023-10-13	13:16:13	2978	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:13	2978	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862470 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:13	2978	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:13	2978	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862470
2023-10-13	13:16:13	2979	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:13	2979	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:13	2979	[DEBUG]	Use field value for field taille
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:13	2979	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:13	2979	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:13	2979	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:13	2979	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:13	2979	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:13	2979	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:13	2979	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:13	2979	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:13	2979	[DEBUG]	Use field value for field published
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:13	2979	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field override
2023-10-13	13:16:13	2979	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:13	2979	[DEBUG]	Use field value for field slug
2023-10-13	13:16:13	2979	[DEBUG]	Process line 2979
2023-10-13	13:16:13	2979	[DEBUG]	Load a row
2023-10-13	13:16:13	2979	[DEBUG]	Processing item: 8436550197471
2023-10-13	13:16:13	2979	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:13	2979	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:13	2979	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3463_7'
2023-10-13	13:16:13	2979	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:13	2979	[DEBUG]	Processing product tax
2023-10-13	13:16:13	2979	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:13	2979	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:13	2979	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:13	2979	[DEBUG]	Query for Product
2023-10-13	13:16:13	2979	[DEBUG]	Executed store
2023-10-13	13:16:13	2979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862470','8436550197471','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:13	2979	[DEBUG]	No parent found
2023-10-13	13:16:13	2979	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862470 AND customfield_value = 'stockable'
2023-10-13	13:16:13	2979	[DEBUG]	Check product language entry
2023-10-13	13:16:13	2979	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862471
2023-10-13	13:16:13	2979	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:13	2979	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550197471' AND `virtuemart_product_id` != 1862471
2023-10-13	13:16:13	2979	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:13	2979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862471, '8436550197471')
2023-10-13	13:16:13	2979	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:13	2979	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-thermique-hot-cold-500cl-souple-rouge-unitaire' AND `virtuemart_product_id` != 1862471
2023-10-13	13:16:13	2979	[DEBUG]	Query for ProductLang
2023-10-13	13:16:13	2979	[DEBUG]	Executed store
2023-10-13	13:16:13	2979	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC THERMIQUE HOT & COLD 500cl souple / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-thermique-hot-cold-500cl-souple-rouge-unitaire' WHERE `virtuemart_product_id` = '1862471'
2023-10-13	13:16:13	2979	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17230.jpg
2023-10-13	13:16:13	2979	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:13	2979	[DEBUG]	Process image file
2023-10-13	13:16:13	2979	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:13	2979	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:13	2979	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17230.jpg
2023-10-13	13:16:13	2979	[DEBUG]	Full name target: bcprisme/image_17230.jpg
2023-10-13	13:16:14	2979	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:14	2979	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17230.jpg'
2023-10-13	13:16:14	2979	[DEBUG]	Query for Media
2023-10-13	13:16:14	2979	[DEBUG]	Executed store
2023-10-13	13:16:14	2979	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17230.jpg',`file_url_thumb`='bcprisme/image_17230.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13028'
2023-10-13	13:16:14	2979	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:14	2979	[DEBUG]	Executed store
2023-10-13	13:16:14	2979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862471','13028','1')
2023-10-13	13:16:14	2979	[DEBUG]	Store product image relation
2023-10-13	13:16:14	2979	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:14	2979	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862471 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:14	2979	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:14	2979	[DEBUG]	Executed store
2023-10-13	13:16:14	2979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862471','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:14	2979	[DEBUG]	Checking manufacturer
2023-10-13	13:16:14	2979	[DEBUG]	Load a row
2023-10-13	13:16:14	2979	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:14	2979	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:14	2979	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:14	2979	[DEBUG]	Executed store
2023-10-13	13:16:14	2979	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:14	2979	[DEBUG]	Manufacturer exists
2023-10-13	13:16:14	2979	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:14	2979	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:14	2979	[DEBUG]	Executed store
2023-10-13	13:16:14	2979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862471','206')
2023-10-13	13:16:14	2979	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:14	2979	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:14	2979	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862471 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:14	2979	[DEBUG]	Store custom available field
2023-10-13	13:16:14	2979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862471,3,'',1)
2023-10-13	13:16:14	2979	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:14	2979	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:14	2979	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862471 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:14	2979	[DEBUG]	Store custom available field
2023-10-13	13:16:14	2979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862471,6,'Unitaire',3)
2023-10-13	13:16:14	2979	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:14	2979	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:14	2979	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862470
2023-10-13	13:16:14	2979	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:14	2979	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862470\":[1862470,8,1,\"choisir la taille\"],\"1862471\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862470
2023-10-13	13:16:14	2979	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:14	2979	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862471
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:14	2980	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field taille
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:14	2980	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:14	2980	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:14	2980	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:14	2980	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:14	2980	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:14	2980	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field published
2023-10-13	13:16:14	2980	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:14	2980	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field override
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:14	2980	[DEBUG]	Use field value for field slug
2023-10-13	13:16:14	2980	[DEBUG]	Process line 2980
2023-10-13	13:16:14	2980	[DEBUG]	Load a row
2023-10-13	13:16:14	2980	[DEBUG]	Processing item: A_3463_12
2023-10-13	13:16:14	2980	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:14	2980	[DEBUG]	Processing product tax
2023-10-13	13:16:14	2980	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:14	2980	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:14	2980	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:14	2980	[DEBUG]	Query for Product
2023-10-13	13:16:14	2980	[DEBUG]	Executed store
2023-10-13	13:16:14	2980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3463_12','0.147','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:14	2980	[DEBUG]	Check product language entry
2023-10-13	13:16:14	2980	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862472
2023-10-13	13:16:14	2980	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:14	2980	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3463_12' AND `virtuemart_product_id` != 1862472
2023-10-13	13:16:14	2980	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:14	2980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862472, 'A_3463_12')
2023-10-13	13:16:14	2980	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:14	2980	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-thermique-hot-cold-500cl-souple-blanc' AND `virtuemart_product_id` != 1862472
2023-10-13	13:16:14	2980	[DEBUG]	Query for ProductLang
2023-10-13	13:16:14	2980	[DEBUG]	Executed store
2023-10-13	13:16:14	2980	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='BIDON MSC THERMIQUE HOT&COLD 500cl<br>N° art fourn : B9999',`product_name`='MSC Bidon MSC THERMIQUE HOT & COLD 500cl souple / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-thermique-hot-cold-500cl-souple-blanc' WHERE `virtuemart_product_id` = '1862472'
2023-10-13	13:16:14	2980	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17226.jpg
2023-10-13	13:16:14	2980	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:14	2980	[DEBUG]	Process image file
2023-10-13	13:16:14	2980	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:14	2980	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:14	2980	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17226.jpg
2023-10-13	13:16:14	2980	[DEBUG]	Full name target: bcprisme/image_17226.jpg
2023-10-13	13:16:15	2980	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:15	2980	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17226.jpg'
2023-10-13	13:16:15	2980	[DEBUG]	Query for Media
2023-10-13	13:16:15	2980	[DEBUG]	Executed store
2023-10-13	13:16:15	2980	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17226.jpg',`file_url_thumb`='bcprisme/image_17226.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13029'
2023-10-13	13:16:15	2980	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:15	2980	[DEBUG]	Executed store
2023-10-13	13:16:15	2980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862472','13029','1')
2023-10-13	13:16:15	2980	[DEBUG]	Store product image relation
2023-10-13	13:16:15	2980	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:15	2980	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862472 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:15	2980	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:15	2980	[DEBUG]	Executed store
2023-10-13	13:16:15	2980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862472','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:15	2980	[DEBUG]	Checking manufacturer
2023-10-13	13:16:15	2980	[DEBUG]	Load a row
2023-10-13	13:16:15	2980	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:15	2980	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:15	2980	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:15	2980	[DEBUG]	Executed store
2023-10-13	13:16:15	2980	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:15	2980	[DEBUG]	Manufacturer exists
2023-10-13	13:16:15	2980	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:15	2980	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:15	2980	[DEBUG]	Executed store
2023-10-13	13:16:15	2980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862472','206')
2023-10-13	13:16:15	2980	[DEBUG]	Find the custom field ID
2023-10-13	13:16:15	2980	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:15	2980	[DEBUG]	No custom field ID found
2023-10-13	13:16:15	2980	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:15	2980	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:16:15	2980	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862472 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:15	2980	[DEBUG]	Store custom available field
2023-10-13	13:16:15	2980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862472,3,'16.8530555555556',1)
2023-10-13	13:16:15	2980	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:15	2980	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:15	2980	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862472 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:15	2980	[DEBUG]	Store custom available field
2023-10-13	13:16:15	2980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862472,6,'choisir la taille',3)
2023-10-13	13:16:15	2980	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:15	2980	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:15	2980	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:15	2980	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:15	2980	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862472 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:15	2980	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:15	2980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862472,8,1)
2023-10-13	13:16:15	2980	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:15	2980	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862472\":[1862472,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862472
2023-10-13	13:16:15	2980	[DEBUG]	Checking category
2023-10-13	13:16:15	2980	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:15	2980	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862472
2023-10-13	13:16:15	2980	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:15	2980	[DEBUG]	Executed store
2023-10-13	13:16:15	2980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862472','7365')
2023-10-13	13:16:15	2980	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:15	2980	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862472 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:15	2980	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:15	2980	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862472
2023-10-13	13:16:15	2981	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:15	2981	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:15	2981	[DEBUG]	Use field value for field taille
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:15	2981	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:15	2981	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:15	2981	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:15	2981	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:15	2981	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:15	2981	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:15	2981	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:15	2981	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:15	2981	[DEBUG]	Use field value for field published
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:15	2981	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field override
2023-10-13	13:16:15	2981	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:15	2981	[DEBUG]	Use field value for field slug
2023-10-13	13:16:15	2981	[DEBUG]	Process line 2981
2023-10-13	13:16:15	2981	[DEBUG]	Load a row
2023-10-13	13:16:15	2981	[DEBUG]	Processing item: 8436550197488
2023-10-13	13:16:15	2981	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:15	2981	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:15	2981	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3463_12'
2023-10-13	13:16:15	2981	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:15	2981	[DEBUG]	Processing product tax
2023-10-13	13:16:15	2981	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:15	2981	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:15	2981	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:15	2981	[DEBUG]	Query for Product
2023-10-13	13:16:15	2981	[DEBUG]	Executed store
2023-10-13	13:16:15	2981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862472','8436550197488','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:15	2981	[DEBUG]	No parent found
2023-10-13	13:16:15	2981	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862472 AND customfield_value = 'stockable'
2023-10-13	13:16:15	2981	[DEBUG]	Check product language entry
2023-10-13	13:16:15	2981	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862473
2023-10-13	13:16:15	2981	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:15	2981	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550197488' AND `virtuemart_product_id` != 1862473
2023-10-13	13:16:15	2981	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:15	2981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862473, '8436550197488')
2023-10-13	13:16:15	2981	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:15	2981	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-thermique-hot-cold-500cl-souple-blanc-unitaire' AND `virtuemart_product_id` != 1862473
2023-10-13	13:16:15	2981	[DEBUG]	Query for ProductLang
2023-10-13	13:16:15	2981	[DEBUG]	Executed store
2023-10-13	13:16:15	2981	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC THERMIQUE HOT & COLD 500cl souple / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-thermique-hot-cold-500cl-souple-blanc-unitaire' WHERE `virtuemart_product_id` = '1862473'
2023-10-13	13:16:15	2981	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17226.jpg
2023-10-13	13:16:15	2981	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:15	2981	[DEBUG]	Process image file
2023-10-13	13:16:15	2981	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:15	2981	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:15	2981	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17226.jpg
2023-10-13	13:16:15	2981	[DEBUG]	Full name target: bcprisme/image_17226.jpg
2023-10-13	13:16:16	2981	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:16	2981	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17226.jpg'
2023-10-13	13:16:16	2981	[DEBUG]	Query for Media
2023-10-13	13:16:16	2981	[DEBUG]	Executed store
2023-10-13	13:16:16	2981	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17226.jpg',`file_url_thumb`='bcprisme/image_17226.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13029'
2023-10-13	13:16:16	2981	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:16	2981	[DEBUG]	Executed store
2023-10-13	13:16:16	2981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862473','13029','1')
2023-10-13	13:16:16	2981	[DEBUG]	Store product image relation
2023-10-13	13:16:16	2981	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:16	2981	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862473 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:16	2981	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:16	2981	[DEBUG]	Executed store
2023-10-13	13:16:16	2981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862473','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:16	2981	[DEBUG]	Checking manufacturer
2023-10-13	13:16:16	2981	[DEBUG]	Load a row
2023-10-13	13:16:16	2981	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:16	2981	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:16	2981	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:16	2981	[DEBUG]	Executed store
2023-10-13	13:16:16	2981	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:16	2981	[DEBUG]	Manufacturer exists
2023-10-13	13:16:16	2981	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:16	2981	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:16	2981	[DEBUG]	Executed store
2023-10-13	13:16:16	2981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862473','206')
2023-10-13	13:16:16	2981	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:16	2981	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:16	2981	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862473 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:16	2981	[DEBUG]	Store custom available field
2023-10-13	13:16:16	2981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862473,3,'',1)
2023-10-13	13:16:16	2981	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:16	2981	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:16	2981	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862473 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:16	2981	[DEBUG]	Store custom available field
2023-10-13	13:16:16	2981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862473,6,'Unitaire',3)
2023-10-13	13:16:16	2981	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:16	2981	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:16	2981	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862472
2023-10-13	13:16:16	2981	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:16	2981	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862472\":[1862472,8,1,\"choisir la taille\"],\"1862473\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862472
2023-10-13	13:16:16	2981	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:16	2981	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862473
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:16	2982	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field taille
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:16	2982	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:16	2982	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:16	2982	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:16	2982	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:16	2982	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:16	2982	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field published
2023-10-13	13:16:16	2982	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:16	2982	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field override
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:16	2982	[DEBUG]	Use field value for field slug
2023-10-13	13:16:16	2982	[DEBUG]	Process line 2982
2023-10-13	13:16:16	2982	[DEBUG]	Load a row
2023-10-13	13:16:16	2982	[DEBUG]	Processing item: A_3463_22
2023-10-13	13:16:16	2982	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:16	2982	[DEBUG]	Processing product tax
2023-10-13	13:16:16	2982	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:16	2982	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:16	2982	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:16	2982	[DEBUG]	Query for Product
2023-10-13	13:16:16	2982	[DEBUG]	Executed store
2023-10-13	13:16:16	2982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3463_22','0.147','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:16	2982	[DEBUG]	Check product language entry
2023-10-13	13:16:16	2982	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862474
2023-10-13	13:16:16	2982	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:16	2982	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3463_22' AND `virtuemart_product_id` != 1862474
2023-10-13	13:16:16	2982	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:16	2982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862474, 'A_3463_22')
2023-10-13	13:16:16	2982	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:16	2982	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-thermique-hot-cold-500cl-souple-bleu' AND `virtuemart_product_id` != 1862474
2023-10-13	13:16:16	2982	[DEBUG]	Query for ProductLang
2023-10-13	13:16:16	2982	[DEBUG]	Executed store
2023-10-13	13:16:16	2982	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='BIDON MSC THERMIQUE HOT&COLD 500cl<br>N° art fourn : B9999',`product_name`='MSC Bidon MSC THERMIQUE HOT & COLD 500cl souple / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-thermique-hot-cold-500cl-souple-bleu' WHERE `virtuemart_product_id` = '1862474'
2023-10-13	13:16:16	2982	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17228.jpg
2023-10-13	13:16:16	2982	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:16	2982	[DEBUG]	Process image file
2023-10-13	13:16:16	2982	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:16	2982	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:16	2982	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17228.jpg
2023-10-13	13:16:16	2982	[DEBUG]	Full name target: bcprisme/image_17228.jpg
2023-10-13	13:16:17	2982	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:17	2982	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17228.jpg'
2023-10-13	13:16:17	2982	[DEBUG]	Query for Media
2023-10-13	13:16:17	2982	[DEBUG]	Executed store
2023-10-13	13:16:17	2982	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17228.jpg',`file_url_thumb`='bcprisme/image_17228.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13030'
2023-10-13	13:16:17	2982	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:17	2982	[DEBUG]	Executed store
2023-10-13	13:16:17	2982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862474','13030','1')
2023-10-13	13:16:17	2982	[DEBUG]	Store product image relation
2023-10-13	13:16:17	2982	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:17	2982	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862474 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:17	2982	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:17	2982	[DEBUG]	Executed store
2023-10-13	13:16:17	2982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862474','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:17	2982	[DEBUG]	Checking manufacturer
2023-10-13	13:16:17	2982	[DEBUG]	Load a row
2023-10-13	13:16:17	2982	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:17	2982	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:17	2982	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:17	2982	[DEBUG]	Executed store
2023-10-13	13:16:17	2982	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:17	2982	[DEBUG]	Manufacturer exists
2023-10-13	13:16:17	2982	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:17	2982	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:17	2982	[DEBUG]	Executed store
2023-10-13	13:16:17	2982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862474','206')
2023-10-13	13:16:17	2982	[DEBUG]	Find the custom field ID
2023-10-13	13:16:17	2982	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:17	2982	[DEBUG]	No custom field ID found
2023-10-13	13:16:17	2982	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:17	2982	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:16:17	2982	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862474 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:17	2982	[DEBUG]	Store custom available field
2023-10-13	13:16:17	2982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862474,3,'16.8530555555556',1)
2023-10-13	13:16:17	2982	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:17	2982	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:17	2982	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862474 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:17	2982	[DEBUG]	Store custom available field
2023-10-13	13:16:17	2982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862474,6,'choisir la taille',3)
2023-10-13	13:16:17	2982	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:17	2982	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:17	2982	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:17	2982	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:17	2982	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862474 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:17	2982	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:17	2982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862474,8,1)
2023-10-13	13:16:17	2982	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:17	2982	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862474\":[1862474,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862474
2023-10-13	13:16:17	2982	[DEBUG]	Checking category
2023-10-13	13:16:17	2982	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:17	2982	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862474
2023-10-13	13:16:17	2982	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:17	2982	[DEBUG]	Executed store
2023-10-13	13:16:17	2982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862474','7365')
2023-10-13	13:16:17	2982	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:17	2982	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862474 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:17	2982	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:17	2982	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862474
2023-10-13	13:16:17	2983	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:17	2983	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:17	2983	[DEBUG]	Use field value for field taille
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:17	2983	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:17	2983	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:17	2983	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:17	2983	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:17	2983	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:17	2983	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:17	2983	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:17	2983	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:17	2983	[DEBUG]	Use field value for field published
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:17	2983	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field override
2023-10-13	13:16:17	2983	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:17	2983	[DEBUG]	Use field value for field slug
2023-10-13	13:16:17	2983	[DEBUG]	Process line 2983
2023-10-13	13:16:17	2983	[DEBUG]	Load a row
2023-10-13	13:16:17	2983	[DEBUG]	Processing item: 8436550197457
2023-10-13	13:16:17	2983	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:17	2983	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:17	2983	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3463_22'
2023-10-13	13:16:17	2983	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:17	2983	[DEBUG]	Processing product tax
2023-10-13	13:16:17	2983	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:17	2983	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:17	2983	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:17	2983	[DEBUG]	Query for Product
2023-10-13	13:16:17	2983	[DEBUG]	Executed store
2023-10-13	13:16:17	2983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862474','8436550197457','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:17	2983	[DEBUG]	No parent found
2023-10-13	13:16:17	2983	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862474 AND customfield_value = 'stockable'
2023-10-13	13:16:17	2983	[DEBUG]	Check product language entry
2023-10-13	13:16:17	2983	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862475
2023-10-13	13:16:17	2983	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:17	2983	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550197457' AND `virtuemart_product_id` != 1862475
2023-10-13	13:16:17	2983	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:17	2983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862475, '8436550197457')
2023-10-13	13:16:17	2983	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:17	2983	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-thermique-hot-cold-500cl-souple-bleu-unitaire' AND `virtuemart_product_id` != 1862475
2023-10-13	13:16:17	2983	[DEBUG]	Query for ProductLang
2023-10-13	13:16:17	2983	[DEBUG]	Executed store
2023-10-13	13:16:17	2983	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC THERMIQUE HOT & COLD 500cl souple / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-thermique-hot-cold-500cl-souple-bleu-unitaire' WHERE `virtuemart_product_id` = '1862475'
2023-10-13	13:16:17	2983	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17228.jpg
2023-10-13	13:16:17	2983	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:17	2983	[DEBUG]	Process image file
2023-10-13	13:16:17	2983	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:17	2983	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:17	2983	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17228.jpg
2023-10-13	13:16:17	2983	[DEBUG]	Full name target: bcprisme/image_17228.jpg
2023-10-13	13:16:18	2983	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:18	2983	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17228.jpg'
2023-10-13	13:16:18	2983	[DEBUG]	Query for Media
2023-10-13	13:16:18	2983	[DEBUG]	Executed store
2023-10-13	13:16:18	2983	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17228.jpg',`file_url_thumb`='bcprisme/image_17228.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13030'
2023-10-13	13:16:18	2983	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:18	2983	[DEBUG]	Executed store
2023-10-13	13:16:18	2983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862475','13030','1')
2023-10-13	13:16:18	2983	[DEBUG]	Store product image relation
2023-10-13	13:16:18	2983	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:18	2983	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862475 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:18	2983	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:18	2983	[DEBUG]	Executed store
2023-10-13	13:16:18	2983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862475','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:18	2983	[DEBUG]	Checking manufacturer
2023-10-13	13:16:18	2983	[DEBUG]	Load a row
2023-10-13	13:16:18	2983	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:18	2983	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:18	2983	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:18	2983	[DEBUG]	Executed store
2023-10-13	13:16:18	2983	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:18	2983	[DEBUG]	Manufacturer exists
2023-10-13	13:16:18	2983	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:18	2983	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:18	2983	[DEBUG]	Executed store
2023-10-13	13:16:18	2983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862475','206')
2023-10-13	13:16:18	2983	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:18	2983	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:18	2983	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862475 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:18	2983	[DEBUG]	Store custom available field
2023-10-13	13:16:18	2983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862475,3,'',1)
2023-10-13	13:16:18	2983	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:18	2983	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:18	2983	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862475 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:18	2983	[DEBUG]	Store custom available field
2023-10-13	13:16:18	2983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862475,6,'Unitaire',3)
2023-10-13	13:16:18	2983	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:18	2983	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:18	2983	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862474
2023-10-13	13:16:18	2983	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:18	2983	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862474\":[1862474,8,1,\"choisir la taille\"],\"1862475\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862474
2023-10-13	13:16:18	2983	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:18	2983	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862475
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:18	2984	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field taille
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:18	2984	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:18	2984	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:18	2984	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:18	2984	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:18	2984	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:18	2984	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field published
2023-10-13	13:16:18	2984	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:18	2984	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field override
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:18	2984	[DEBUG]	Use field value for field slug
2023-10-13	13:16:18	2984	[DEBUG]	Process line 2984
2023-10-13	13:16:18	2984	[DEBUG]	Load a row
2023-10-13	13:16:18	2984	[DEBUG]	Processing item: A_3463_65
2023-10-13	13:16:18	2984	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:18	2984	[DEBUG]	Processing product tax
2023-10-13	13:16:18	2984	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:18	2984	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:18	2984	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:18	2984	[DEBUG]	Query for Product
2023-10-13	13:16:18	2984	[DEBUG]	Executed store
2023-10-13	13:16:18	2984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3463_65','0.147','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:18	2984	[DEBUG]	Check product language entry
2023-10-13	13:16:18	2984	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862476
2023-10-13	13:16:18	2984	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:18	2984	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3463_65' AND `virtuemart_product_id` != 1862476
2023-10-13	13:16:18	2984	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:18	2984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862476, 'A_3463_65')
2023-10-13	13:16:18	2984	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:18	2984	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-thermique-hot-cold-500cl-souple-jaune' AND `virtuemart_product_id` != 1862476
2023-10-13	13:16:18	2984	[DEBUG]	Query for ProductLang
2023-10-13	13:16:18	2984	[DEBUG]	Executed store
2023-10-13	13:16:18	2984	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='BIDON MSC THERMIQUE HOT&COLD 500cl<br>N° art fourn : B9999',`product_name`='MSC Bidon MSC THERMIQUE HOT & COLD 500cl souple / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-thermique-hot-cold-500cl-souple-jaune' WHERE `virtuemart_product_id` = '1862476'
2023-10-13	13:16:18	2984	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17229.jpg
2023-10-13	13:16:18	2984	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:18	2984	[DEBUG]	Process image file
2023-10-13	13:16:18	2984	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:18	2984	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:18	2984	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17229.jpg
2023-10-13	13:16:18	2984	[DEBUG]	Full name target: bcprisme/image_17229.jpg
2023-10-13	13:16:19	2984	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:19	2984	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17229.jpg'
2023-10-13	13:16:19	2984	[DEBUG]	Query for Media
2023-10-13	13:16:19	2984	[DEBUG]	Executed store
2023-10-13	13:16:19	2984	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17229.jpg',`file_url_thumb`='bcprisme/image_17229.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13032'
2023-10-13	13:16:19	2984	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:19	2984	[DEBUG]	Executed store
2023-10-13	13:16:19	2984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862476','13032','1')
2023-10-13	13:16:19	2984	[DEBUG]	Store product image relation
2023-10-13	13:16:19	2984	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:19	2984	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862476 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:19	2984	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:19	2984	[DEBUG]	Executed store
2023-10-13	13:16:19	2984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862476','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:19	2984	[DEBUG]	Checking manufacturer
2023-10-13	13:16:19	2984	[DEBUG]	Load a row
2023-10-13	13:16:19	2984	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:19	2984	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:19	2984	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:19	2984	[DEBUG]	Executed store
2023-10-13	13:16:19	2984	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:19	2984	[DEBUG]	Manufacturer exists
2023-10-13	13:16:19	2984	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:19	2984	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:19	2984	[DEBUG]	Executed store
2023-10-13	13:16:19	2984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862476','206')
2023-10-13	13:16:19	2984	[DEBUG]	Find the custom field ID
2023-10-13	13:16:19	2984	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:19	2984	[DEBUG]	No custom field ID found
2023-10-13	13:16:19	2984	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:19	2984	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:16:19	2984	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862476 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:19	2984	[DEBUG]	Store custom available field
2023-10-13	13:16:19	2984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862476,3,'16.8530555555556',1)
2023-10-13	13:16:19	2984	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:19	2984	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:19	2984	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862476 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:19	2984	[DEBUG]	Store custom available field
2023-10-13	13:16:19	2984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862476,6,'choisir la taille',3)
2023-10-13	13:16:19	2984	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:19	2984	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:19	2984	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:19	2984	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:19	2984	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862476 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:19	2984	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:19	2984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862476,8,1)
2023-10-13	13:16:19	2984	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:19	2984	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862476\":[1862476,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862476
2023-10-13	13:16:19	2984	[DEBUG]	Checking category
2023-10-13	13:16:19	2984	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:19	2984	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862476
2023-10-13	13:16:19	2984	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:19	2984	[DEBUG]	Executed store
2023-10-13	13:16:19	2984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862476','7365')
2023-10-13	13:16:19	2984	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:19	2984	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862476 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:19	2984	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:19	2984	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862476
2023-10-13	13:16:19	2985	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:19	2985	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:19	2985	[DEBUG]	Use field value for field taille
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:19	2985	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:19	2985	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:19	2985	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:19	2985	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:19	2985	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:19	2985	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:19	2985	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:19	2985	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:19	2985	[DEBUG]	Use field value for field published
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:19	2985	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field override
2023-10-13	13:16:19	2985	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:19	2985	[DEBUG]	Use field value for field slug
2023-10-13	13:16:19	2985	[DEBUG]	Process line 2985
2023-10-13	13:16:19	2985	[DEBUG]	Load a row
2023-10-13	13:16:19	2985	[DEBUG]	Processing item: 8436550197495
2023-10-13	13:16:19	2985	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:19	2985	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:19	2985	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3463_65'
2023-10-13	13:16:19	2985	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:19	2985	[DEBUG]	Processing product tax
2023-10-13	13:16:19	2985	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:19	2985	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:19	2985	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:19	2985	[DEBUG]	Query for Product
2023-10-13	13:16:19	2985	[DEBUG]	Executed store
2023-10-13	13:16:19	2985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862476','8436550197495','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:19	2985	[DEBUG]	No parent found
2023-10-13	13:16:19	2985	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862476 AND customfield_value = 'stockable'
2023-10-13	13:16:19	2985	[DEBUG]	Check product language entry
2023-10-13	13:16:19	2985	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862477
2023-10-13	13:16:19	2985	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:19	2985	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550197495' AND `virtuemart_product_id` != 1862477
2023-10-13	13:16:19	2985	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:19	2985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862477, '8436550197495')
2023-10-13	13:16:19	2985	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:19	2985	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-thermique-hot-cold-500cl-souple-jaune-unitaire' AND `virtuemart_product_id` != 1862477
2023-10-13	13:16:19	2985	[DEBUG]	Query for ProductLang
2023-10-13	13:16:19	2985	[DEBUG]	Executed store
2023-10-13	13:16:19	2985	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC THERMIQUE HOT & COLD 500cl souple / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-thermique-hot-cold-500cl-souple-jaune-unitaire' WHERE `virtuemart_product_id` = '1862477'
2023-10-13	13:16:19	2985	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17229.jpg
2023-10-13	13:16:19	2985	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:19	2985	[DEBUG]	Process image file
2023-10-13	13:16:19	2985	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:19	2985	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:19	2985	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17229.jpg
2023-10-13	13:16:19	2985	[DEBUG]	Full name target: bcprisme/image_17229.jpg
2023-10-13	13:16:20	2985	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:20	2985	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17229.jpg'
2023-10-13	13:16:20	2985	[DEBUG]	Query for Media
2023-10-13	13:16:20	2985	[DEBUG]	Executed store
2023-10-13	13:16:20	2985	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17229.jpg',`file_url_thumb`='bcprisme/image_17229.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13032'
2023-10-13	13:16:20	2985	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:20	2985	[DEBUG]	Executed store
2023-10-13	13:16:20	2985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862477','13032','1')
2023-10-13	13:16:20	2985	[DEBUG]	Store product image relation
2023-10-13	13:16:20	2985	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:20	2985	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862477 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:20	2985	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:20	2985	[DEBUG]	Executed store
2023-10-13	13:16:20	2985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862477','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:20	2985	[DEBUG]	Checking manufacturer
2023-10-13	13:16:20	2985	[DEBUG]	Load a row
2023-10-13	13:16:20	2985	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:20	2985	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:20	2985	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:20	2985	[DEBUG]	Executed store
2023-10-13	13:16:20	2985	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:20	2985	[DEBUG]	Manufacturer exists
2023-10-13	13:16:20	2985	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:20	2985	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:20	2985	[DEBUG]	Executed store
2023-10-13	13:16:20	2985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862477','206')
2023-10-13	13:16:20	2985	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:20	2985	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:20	2985	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862477 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:20	2985	[DEBUG]	Store custom available field
2023-10-13	13:16:20	2985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862477,3,'',1)
2023-10-13	13:16:20	2985	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:20	2985	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:20	2985	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862477 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:20	2985	[DEBUG]	Store custom available field
2023-10-13	13:16:20	2985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862477,6,'Unitaire',3)
2023-10-13	13:16:20	2985	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:20	2985	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:20	2985	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862476
2023-10-13	13:16:20	2985	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:20	2985	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862476\":[1862476,8,1,\"choisir la taille\"],\"1862477\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862476
2023-10-13	13:16:20	2985	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:20	2985	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862477
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:20	2986	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field taille
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:20	2986	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:20	2986	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:20	2986	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:20	2986	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:20	2986	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:20	2986	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field published
2023-10-13	13:16:20	2986	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:20	2986	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field override
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:20	2986	[DEBUG]	Use field value for field slug
2023-10-13	13:16:20	2986	[DEBUG]	Process line 2986
2023-10-13	13:16:20	2986	[DEBUG]	Load a row
2023-10-13	13:16:20	2986	[DEBUG]	Processing item: A_3463_108
2023-10-13	13:16:20	2986	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:20	2986	[DEBUG]	Processing product tax
2023-10-13	13:16:20	2986	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:20	2986	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:20	2986	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:20	2986	[DEBUG]	Query for Product
2023-10-13	13:16:20	2986	[DEBUG]	Executed store
2023-10-13	13:16:20	2986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3463_108','0.147','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:20	2986	[DEBUG]	Check product language entry
2023-10-13	13:16:20	2986	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862478
2023-10-13	13:16:20	2986	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:20	2986	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3463_108' AND `virtuemart_product_id` != 1862478
2023-10-13	13:16:20	2986	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:20	2986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862478, 'A_3463_108')
2023-10-13	13:16:20	2986	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:20	2986	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-thermique-hot-cold-500cl-souple-noir' AND `virtuemart_product_id` != 1862478
2023-10-13	13:16:20	2986	[DEBUG]	Query for ProductLang
2023-10-13	13:16:20	2986	[DEBUG]	Executed store
2023-10-13	13:16:20	2986	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='BIDON MSC THERMIQUE HOT&COLD 500cl<br>N° art fourn : B9999',`product_name`='MSC Bidon MSC THERMIQUE HOT & COLD 500cl souple / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-thermique-hot-cold-500cl-souple-noir' WHERE `virtuemart_product_id` = '1862478'
2023-10-13	13:16:20	2986	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17227.jpg
2023-10-13	13:16:20	2986	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:20	2986	[DEBUG]	Process image file
2023-10-13	13:16:20	2986	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:20	2986	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:20	2986	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17227.jpg
2023-10-13	13:16:20	2986	[DEBUG]	Full name target: bcprisme/image_17227.jpg
2023-10-13	13:16:21	2986	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:21	2986	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17227.jpg'
2023-10-13	13:16:21	2986	[DEBUG]	Query for Media
2023-10-13	13:16:21	2986	[DEBUG]	Executed store
2023-10-13	13:16:21	2986	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17227.jpg',`file_url_thumb`='bcprisme/image_17227.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13033'
2023-10-13	13:16:21	2986	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:21	2986	[DEBUG]	Executed store
2023-10-13	13:16:21	2986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862478','13033','1')
2023-10-13	13:16:21	2986	[DEBUG]	Store product image relation
2023-10-13	13:16:21	2986	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:21	2986	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862478 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:21	2986	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:21	2986	[DEBUG]	Executed store
2023-10-13	13:16:21	2986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862478','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:21	2986	[DEBUG]	Checking manufacturer
2023-10-13	13:16:21	2986	[DEBUG]	Load a row
2023-10-13	13:16:21	2986	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:21	2986	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:21	2986	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:21	2986	[DEBUG]	Executed store
2023-10-13	13:16:21	2986	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:21	2986	[DEBUG]	Manufacturer exists
2023-10-13	13:16:21	2986	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:21	2986	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:21	2986	[DEBUG]	Executed store
2023-10-13	13:16:21	2986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862478','206')
2023-10-13	13:16:21	2986	[DEBUG]	Find the custom field ID
2023-10-13	13:16:21	2986	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:21	2986	[DEBUG]	No custom field ID found
2023-10-13	13:16:21	2986	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:21	2986	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:16:21	2986	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862478 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:21	2986	[DEBUG]	Store custom available field
2023-10-13	13:16:21	2986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862478,3,'16.8530555555556',1)
2023-10-13	13:16:21	2986	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:21	2986	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:21	2986	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862478 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:21	2986	[DEBUG]	Store custom available field
2023-10-13	13:16:21	2986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862478,6,'choisir la taille',3)
2023-10-13	13:16:21	2986	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:21	2986	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:21	2986	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:21	2986	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:21	2986	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862478 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:21	2986	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:21	2986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862478,8,1)
2023-10-13	13:16:21	2986	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:21	2986	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862478\":[1862478,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862478
2023-10-13	13:16:21	2986	[DEBUG]	Checking category
2023-10-13	13:16:21	2986	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:21	2986	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862478
2023-10-13	13:16:21	2986	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:21	2986	[DEBUG]	Executed store
2023-10-13	13:16:21	2986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862478','7365')
2023-10-13	13:16:21	2986	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:21	2986	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862478 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:21	2986	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:21	2986	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862478
2023-10-13	13:16:21	2987	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:21	2987	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:21	2987	[DEBUG]	Use field value for field taille
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:21	2987	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:21	2987	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:21	2987	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:21	2987	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:21	2987	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:21	2987	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:21	2987	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:21	2987	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:21	2987	[DEBUG]	Use field value for field published
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:21	2987	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field override
2023-10-13	13:16:21	2987	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:21	2987	[DEBUG]	Use field value for field slug
2023-10-13	13:16:21	2987	[DEBUG]	Process line 2987
2023-10-13	13:16:21	2987	[DEBUG]	Load a row
2023-10-13	13:16:21	2987	[DEBUG]	Processing item: 1000000056617
2023-10-13	13:16:21	2987	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:21	2987	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:21	2987	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3463_108'
2023-10-13	13:16:21	2987	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:21	2987	[DEBUG]	Processing product tax
2023-10-13	13:16:21	2987	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:21	2987	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:21	2987	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:21	2987	[DEBUG]	Query for Product
2023-10-13	13:16:21	2987	[DEBUG]	Executed store
2023-10-13	13:16:21	2987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862478','1000000056617','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:21	2987	[DEBUG]	No parent found
2023-10-13	13:16:21	2987	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862478 AND customfield_value = 'stockable'
2023-10-13	13:16:21	2987	[DEBUG]	Check product language entry
2023-10-13	13:16:21	2987	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862479
2023-10-13	13:16:21	2987	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:21	2987	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000056617' AND `virtuemart_product_id` != 1862479
2023-10-13	13:16:21	2987	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:21	2987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862479, '1000000056617')
2023-10-13	13:16:21	2987	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:21	2987	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-msc-thermique-hot-cold-500cl-souple-noir-unitaire' AND `virtuemart_product_id` != 1862479
2023-10-13	13:16:21	2987	[DEBUG]	Query for ProductLang
2023-10-13	13:16:21	2987	[DEBUG]	Executed store
2023-10-13	13:16:21	2987	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon MSC THERMIQUE HOT & COLD 500cl souple / Noir  (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-msc-thermique-hot-cold-500cl-souple-noir-unitaire' WHERE `virtuemart_product_id` = '1862479'
2023-10-13	13:16:21	2987	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17227.jpg
2023-10-13	13:16:21	2987	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:21	2987	[DEBUG]	Process image file
2023-10-13	13:16:21	2987	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:21	2987	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:21	2987	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_17227.jpg
2023-10-13	13:16:21	2987	[DEBUG]	Full name target: bcprisme/image_17227.jpg
2023-10-13	13:16:22	2987	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:22	2987	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_17227.jpg'
2023-10-13	13:16:22	2987	[DEBUG]	Query for Media
2023-10-13	13:16:22	2987	[DEBUG]	Executed store
2023-10-13	13:16:22	2987	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_17227.jpg',`file_url_thumb`='bcprisme/image_17227.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13033'
2023-10-13	13:16:22	2987	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:22	2987	[DEBUG]	Executed store
2023-10-13	13:16:22	2987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862479','13033','1')
2023-10-13	13:16:22	2987	[DEBUG]	Store product image relation
2023-10-13	13:16:22	2987	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:22	2987	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862479 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:22	2987	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:22	2987	[DEBUG]	Executed store
2023-10-13	13:16:22	2987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862479','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:22	2987	[DEBUG]	Checking manufacturer
2023-10-13	13:16:22	2987	[DEBUG]	Load a row
2023-10-13	13:16:22	2987	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:22	2987	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:22	2987	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:22	2987	[DEBUG]	Executed store
2023-10-13	13:16:22	2987	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:22	2987	[DEBUG]	Manufacturer exists
2023-10-13	13:16:22	2987	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:22	2987	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:22	2987	[DEBUG]	Executed store
2023-10-13	13:16:22	2987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862479','206')
2023-10-13	13:16:22	2987	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:22	2987	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:22	2987	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862479 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:22	2987	[DEBUG]	Store custom available field
2023-10-13	13:16:22	2987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862479,3,'',1)
2023-10-13	13:16:22	2987	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:22	2987	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:22	2987	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862479 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:22	2987	[DEBUG]	Store custom available field
2023-10-13	13:16:22	2987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862479,6,'Unitaire',3)
2023-10-13	13:16:22	2987	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:22	2987	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:22	2987	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862478
2023-10-13	13:16:22	2987	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:22	2987	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862478\":[1862478,8,1,\"choisir la taille\"],\"1862479\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862478
2023-10-13	13:16:22	2987	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:22	2987	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862479
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:22	2988	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field taille
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:22	2988	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:22	2988	[DEBUG]	Use default value for field file_url
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:22	2988	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:22	2988	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:22	2988	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:22	2988	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:22	2988	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field published
2023-10-13	13:16:22	2988	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:22	2988	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field override
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:22	2988	[DEBUG]	Use field value for field slug
2023-10-13	13:16:22	2988	[DEBUG]	Process line 2988
2023-10-13	13:16:22	2988	[DEBUG]	Load a row
2023-10-13	13:16:22	2988	[DEBUG]	Processing item: A_5286_22
2023-10-13	13:16:22	2988	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:22	2988	[DEBUG]	Processing product tax
2023-10-13	13:16:22	2988	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:22	2988	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:22	2988	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:22	2988	[DEBUG]	Query for Product
2023-10-13	13:16:22	2988	[DEBUG]	Executed store
2023-10-13	13:16:22	2988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5286_22','0.072','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:22	2988	[DEBUG]	Check product language entry
2023-10-13	13:16:22	2988	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862480
2023-10-13	13:16:22	2988	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:22	2988	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5286_22' AND `virtuemart_product_id` != 1862480
2023-10-13	13:16:22	2988	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:22	2988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862480, 'A_5286_22')
2023-10-13	13:16:22	2988	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:22	2988	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'zefal-bidon-enfants-bleu' AND `virtuemart_product_id` != 1862480
2023-10-13	13:16:22	2988	[DEBUG]	Query for ProductLang
2023-10-13	13:16:22	2988	[DEBUG]	Executed store
2023-10-13	13:16:22	2988	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lavage lave-vaisselle possible<br>N° art fourn : 22.712040',`product_name`='ZEFAL Bidon enfants / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='zefal-bidon-enfants-bleu' WHERE `virtuemart_product_id` = '1862480'
2023-10-13	13:16:22	2988	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:22	2988	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862480 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:22	2988	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:22	2988	[DEBUG]	Executed store
2023-10-13	13:16:22	2988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862480','0','5.19962859795729','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:22	2988	[DEBUG]	Checking manufacturer
2023-10-13	13:16:22	2988	[DEBUG]	Load a row
2023-10-13	13:16:22	2988	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:22	2988	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:22	2988	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:22	2988	[DEBUG]	Executed store
2023-10-13	13:16:22	2988	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52666636290' WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:22	2988	[DEBUG]	Manufacturer exists
2023-10-13	13:16:22	2988	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 132
2023-10-13	13:16:22	2988	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:22	2988	[DEBUG]	Executed store
2023-10-13	13:16:22	2988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862480','132')
2023-10-13	13:16:22	2988	[DEBUG]	Find the custom field ID
2023-10-13	13:16:22	2988	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:22	2988	[DEBUG]	No custom field ID found
2023-10-13	13:16:22	2988	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:22	2988	[DEBUG]	Get existing row with customfield value 6.48194444444445
2023-10-13	13:16:22	2988	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862480 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:22	2988	[DEBUG]	Store custom available field
2023-10-13	13:16:22	2988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862480,3,'6.48194444444445',1)
2023-10-13	13:16:22	2988	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:22	2988	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:22	2988	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862480 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:22	2988	[DEBUG]	Store custom available field
2023-10-13	13:16:22	2988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862480,6,'choisir la taille',3)
2023-10-13	13:16:22	2988	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:22	2988	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:22	2988	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:22	2988	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:22	2988	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862480 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:22	2988	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:22	2988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862480,8,1)
2023-10-13	13:16:22	2988	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:22	2988	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862480\":[1862480,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862480
2023-10-13	13:16:22	2988	[DEBUG]	Checking category
2023-10-13	13:16:22	2988	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:22	2988	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862480
2023-10-13	13:16:22	2988	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:22	2988	[DEBUG]	Executed store
2023-10-13	13:16:22	2988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862480','7365')
2023-10-13	13:16:22	2988	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:22	2988	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862480 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:22	2988	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:22	2988	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862480
2023-10-13	13:16:22	2989	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:22	2989	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:22	2989	[DEBUG]	Use field value for field taille
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:22	2989	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:22	2989	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:22	2989	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field file_url
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:22	2989	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:22	2989	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:22	2989	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:22	2989	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:22	2989	[DEBUG]	Use field value for field published
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:22	2989	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field override
2023-10-13	13:16:22	2989	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:22	2989	[DEBUG]	Use field value for field slug
2023-10-13	13:16:22	2989	[DEBUG]	Process line 2989
2023-10-13	13:16:22	2989	[DEBUG]	Load a row
2023-10-13	13:16:22	2989	[DEBUG]	Processing item: 1000000080933
2023-10-13	13:16:22	2989	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:22	2989	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:22	2989	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5286_22'
2023-10-13	13:16:22	2989	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:22	2989	[DEBUG]	Processing product tax
2023-10-13	13:16:22	2989	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:22	2989	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:22	2989	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:22	2989	[DEBUG]	Query for Product
2023-10-13	13:16:22	2989	[DEBUG]	Executed store
2023-10-13	13:16:22	2989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862480','1000000080933','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:22	2989	[DEBUG]	No parent found
2023-10-13	13:16:22	2989	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862480 AND customfield_value = 'stockable'
2023-10-13	13:16:22	2989	[DEBUG]	Check product language entry
2023-10-13	13:16:22	2989	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862481
2023-10-13	13:16:22	2989	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:22	2989	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000080933' AND `virtuemart_product_id` != 1862481
2023-10-13	13:16:22	2989	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:22	2989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862481, '1000000080933')
2023-10-13	13:16:22	2989	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:22	2989	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'zefal-bidon-enfants-bleu-unitaire' AND `virtuemart_product_id` != 1862481
2023-10-13	13:16:22	2989	[DEBUG]	Query for ProductLang
2023-10-13	13:16:22	2989	[DEBUG]	Executed store
2023-10-13	13:16:22	2989	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ZEFAL Bidon enfants / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='zefal-bidon-enfants-bleu-unitaire' WHERE `virtuemart_product_id` = '1862481'
2023-10-13	13:16:22	2989	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:22	2989	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862481 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:22	2989	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:22	2989	[DEBUG]	Executed store
2023-10-13	13:16:22	2989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862481','0','5.19962859795729','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:22	2989	[DEBUG]	Checking manufacturer
2023-10-13	13:16:22	2989	[DEBUG]	Load a row
2023-10-13	13:16:22	2989	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:22	2989	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:22	2989	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:22	2989	[DEBUG]	Executed store
2023-10-13	13:16:22	2989	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52666636290' WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:22	2989	[DEBUG]	Manufacturer exists
2023-10-13	13:16:22	2989	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 132
2023-10-13	13:16:22	2989	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:22	2989	[DEBUG]	Executed store
2023-10-13	13:16:22	2989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862481','132')
2023-10-13	13:16:22	2989	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:22	2989	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:22	2989	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862481 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:22	2989	[DEBUG]	Store custom available field
2023-10-13	13:16:22	2989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862481,3,'',1)
2023-10-13	13:16:22	2989	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:22	2989	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:22	2989	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862481 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:22	2989	[DEBUG]	Store custom available field
2023-10-13	13:16:22	2989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862481,6,'Unitaire',3)
2023-10-13	13:16:22	2989	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:22	2989	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:22	2989	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862480
2023-10-13	13:16:22	2989	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:22	2989	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862480\":[1862480,8,1,\"choisir la taille\"],\"1862481\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862480
2023-10-13	13:16:22	2989	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:22	2989	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862481
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:22	2990	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field taille
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:22	2990	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:22	2990	[DEBUG]	Use default value for field file_url
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:22	2990	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:22	2990	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:22	2990	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:22	2990	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:22	2990	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field published
2023-10-13	13:16:22	2990	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:22	2990	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field override
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:22	2990	[DEBUG]	Use field value for field slug
2023-10-13	13:16:22	2990	[DEBUG]	Process line 2990
2023-10-13	13:16:23	2990	[DEBUG]	Load a row
2023-10-13	13:16:23	2990	[DEBUG]	Processing item: A_5287_158
2023-10-13	13:16:23	2990	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:23	2990	[DEBUG]	Processing product tax
2023-10-13	13:16:23	2990	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:23	2990	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:23	2990	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:23	2990	[DEBUG]	Query for Product
2023-10-13	13:16:23	2990	[DEBUG]	Executed store
2023-10-13	13:16:23	2990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5287_158','0.072','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:23	2990	[DEBUG]	Check product language entry
2023-10-13	13:16:23	2990	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862482
2023-10-13	13:16:23	2990	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:23	2990	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5287_158' AND `virtuemart_product_id` != 1862482
2023-10-13	13:16:23	2990	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:23	2990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862482, 'A_5287_158')
2023-10-13	13:16:23	2990	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:23	2990	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'zefal-bidon-enfants-blanc-rose' AND `virtuemart_product_id` != 1862482
2023-10-13	13:16:23	2990	[DEBUG]	Query for ProductLang
2023-10-13	13:16:23	2990	[DEBUG]	Executed store
2023-10-13	13:16:23	2990	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lavage lave-vaisselle possible<br>N° art fourn : 22.712050',`product_name`='ZEFAL Bidon enfants / Blanc-rose',`metadesc`='',`metakey`='',`customtitle`='',`slug`='zefal-bidon-enfants-blanc-rose' WHERE `virtuemart_product_id` = '1862482'
2023-10-13	13:16:23	2990	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:23	2990	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862482 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:23	2990	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:23	2990	[DEBUG]	Executed store
2023-10-13	13:16:23	2990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862482','0','5.19962859795729','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:23	2990	[DEBUG]	Checking manufacturer
2023-10-13	13:16:23	2990	[DEBUG]	Load a row
2023-10-13	13:16:23	2990	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:23	2990	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:23	2990	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:23	2990	[DEBUG]	Executed store
2023-10-13	13:16:23	2990	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52666636290' WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:23	2990	[DEBUG]	Manufacturer exists
2023-10-13	13:16:23	2990	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 132
2023-10-13	13:16:23	2990	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:23	2990	[DEBUG]	Executed store
2023-10-13	13:16:23	2990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862482','132')
2023-10-13	13:16:23	2990	[DEBUG]	Find the custom field ID
2023-10-13	13:16:23	2990	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:23	2990	[DEBUG]	No custom field ID found
2023-10-13	13:16:23	2990	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:23	2990	[DEBUG]	Get existing row with customfield value 6.48194444444445
2023-10-13	13:16:23	2990	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862482 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:23	2990	[DEBUG]	Store custom available field
2023-10-13	13:16:23	2990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862482,3,'6.48194444444445',1)
2023-10-13	13:16:23	2990	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:23	2990	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:23	2990	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862482 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:23	2990	[DEBUG]	Store custom available field
2023-10-13	13:16:23	2990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862482,6,'choisir la taille',3)
2023-10-13	13:16:23	2990	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:23	2990	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:23	2990	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:23	2990	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:23	2990	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862482 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:23	2990	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:23	2990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862482,8,1)
2023-10-13	13:16:23	2990	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:23	2990	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862482\":[1862482,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862482
2023-10-13	13:16:23	2990	[DEBUG]	Checking category
2023-10-13	13:16:23	2990	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:23	2990	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862482
2023-10-13	13:16:23	2990	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:23	2990	[DEBUG]	Executed store
2023-10-13	13:16:23	2990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862482','7365')
2023-10-13	13:16:23	2990	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:23	2990	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862482 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:23	2990	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:23	2990	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862482
2023-10-13	13:16:23	2991	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:23	2991	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:23	2991	[DEBUG]	Use field value for field taille
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:23	2991	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:23	2991	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:23	2991	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field file_url
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:23	2991	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:23	2991	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:23	2991	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:23	2991	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:23	2991	[DEBUG]	Use field value for field published
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:23	2991	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field override
2023-10-13	13:16:23	2991	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:23	2991	[DEBUG]	Use field value for field slug
2023-10-13	13:16:23	2991	[DEBUG]	Process line 2991
2023-10-13	13:16:23	2991	[DEBUG]	Load a row
2023-10-13	13:16:23	2991	[DEBUG]	Processing item: 1000000080940
2023-10-13	13:16:23	2991	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:23	2991	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:23	2991	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5287_158'
2023-10-13	13:16:23	2991	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:23	2991	[DEBUG]	Processing product tax
2023-10-13	13:16:23	2991	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:23	2991	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:23	2991	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:23	2991	[DEBUG]	Query for Product
2023-10-13	13:16:23	2991	[DEBUG]	Executed store
2023-10-13	13:16:23	2991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862482','1000000080940','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:23	2991	[DEBUG]	No parent found
2023-10-13	13:16:23	2991	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862482 AND customfield_value = 'stockable'
2023-10-13	13:16:23	2991	[DEBUG]	Check product language entry
2023-10-13	13:16:23	2991	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862483
2023-10-13	13:16:23	2991	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:23	2991	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000080940' AND `virtuemart_product_id` != 1862483
2023-10-13	13:16:23	2991	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:23	2991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862483, '1000000080940')
2023-10-13	13:16:23	2991	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:23	2991	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'zefal-bidon-enfants-blanc-rose-unitaire' AND `virtuemart_product_id` != 1862483
2023-10-13	13:16:23	2991	[DEBUG]	Query for ProductLang
2023-10-13	13:16:23	2991	[DEBUG]	Executed store
2023-10-13	13:16:23	2991	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ZEFAL Bidon enfants / Blanc-rose (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='zefal-bidon-enfants-blanc-rose-unitaire' WHERE `virtuemart_product_id` = '1862483'
2023-10-13	13:16:23	2991	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:23	2991	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862483 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:23	2991	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:23	2991	[DEBUG]	Executed store
2023-10-13	13:16:23	2991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862483','0','5.19962859795729','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:23	2991	[DEBUG]	Checking manufacturer
2023-10-13	13:16:23	2991	[DEBUG]	Load a row
2023-10-13	13:16:23	2991	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:23	2991	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:23	2991	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:23	2991	[DEBUG]	Executed store
2023-10-13	13:16:23	2991	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52666636290' WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:23	2991	[DEBUG]	Manufacturer exists
2023-10-13	13:16:23	2991	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 132
2023-10-13	13:16:23	2991	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:23	2991	[DEBUG]	Executed store
2023-10-13	13:16:23	2991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862483','132')
2023-10-13	13:16:23	2991	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:23	2991	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:23	2991	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862483 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:23	2991	[DEBUG]	Store custom available field
2023-10-13	13:16:23	2991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862483,3,'',1)
2023-10-13	13:16:23	2991	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:23	2991	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:23	2991	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862483 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:23	2991	[DEBUG]	Store custom available field
2023-10-13	13:16:23	2991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862483,6,'Unitaire',3)
2023-10-13	13:16:23	2991	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:23	2991	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:23	2991	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862482
2023-10-13	13:16:23	2991	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:23	2991	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862482\":[1862482,8,1,\"choisir la taille\"],\"1862483\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862482
2023-10-13	13:16:23	2991	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:23	2991	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862483
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:23	2992	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field taille
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:23	2992	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:23	2992	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:23	2992	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:23	2992	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:23	2992	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:23	2992	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field published
2023-10-13	13:16:23	2992	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:23	2992	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field override
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:23	2992	[DEBUG]	Use field value for field slug
2023-10-13	13:16:23	2992	[DEBUG]	Process line 2992
2023-10-13	13:16:23	2992	[DEBUG]	Load a row
2023-10-13	13:16:23	2992	[DEBUG]	Processing item: A_5812_268
2023-10-13	13:16:23	2992	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:23	2992	[DEBUG]	Processing product tax
2023-10-13	13:16:23	2992	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:23	2992	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:23	2992	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:23	2992	[DEBUG]	Query for Product
2023-10-13	13:16:23	2992	[DEBUG]	Executed store
2023-10-13	13:16:23	2992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5812_268','0.072','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:23	2992	[DEBUG]	Check product language entry
2023-10-13	13:16:23	2992	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862484
2023-10-13	13:16:23	2992	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:23	2992	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5812_268' AND `virtuemart_product_id` != 1862484
2023-10-13	13:16:23	2992	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:23	2992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862484, 'A_5812_268')
2023-10-13	13:16:23	2992	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:23	2992	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'syncros-porte-bidon-et-bidon-syncros-differentes-couleurs-disponibles-au-magasin-bunt' AND `virtuemart_product_id` != 1862484
2023-10-13	13:16:23	2992	[DEBUG]	Query for ProductLang
2023-10-13	13:16:23	2992	[DEBUG]	Executed store
2023-10-13	13:16:23	2992	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lavage lave-vaisselle possible<br>N° art fourn : 31025870',`product_name`='Syncros Porte-bidon et bidon Syncros (différentes couleurs disponibles au magasin) / BUNT',`metadesc`='',`metakey`='',`customtitle`='',`slug`='syncros-porte-bidon-et-bidon-syncros-differentes-couleurs-disponibles-au-magasin-bunt' WHERE `virtuemart_product_id` = '1862484'
2023-10-13	13:16:23	2992	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30331_porte-bidon_et_bidon_syncros_.jpg
2023-10-13	13:16:23	2992	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:23	2992	[DEBUG]	Process image file
2023-10-13	13:16:23	2992	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:23	2992	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:23	2992	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30331_porte-bidon_et_bidon_syncros_.jpg
2023-10-13	13:16:23	2992	[DEBUG]	Full name target: bcprisme/30331_porte-bidon_et_bidon_syncros_.jpg
2023-10-13	13:16:24	2992	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:24	2992	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30331_porte-bidon_et_bidon_syncros_.jpg'
2023-10-13	13:16:24	2992	[DEBUG]	Query for Media
2023-10-13	13:16:24	2992	[DEBUG]	Executed store
2023-10-13	13:16:24	2992	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30331_porte-bidon_et_bidon_syncros_.jpg',`file_url_thumb`='bcprisme/30331_porte-bidon_et_bidon_syncros_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '183451'
2023-10-13	13:16:24	2992	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:24	2992	[DEBUG]	Executed store
2023-10-13	13:16:24	2992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862484','183451','1')
2023-10-13	13:16:24	2992	[DEBUG]	Store product image relation
2023-10-13	13:16:24	2992	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:24	2992	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862484 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:24	2992	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:24	2992	[DEBUG]	Executed store
2023-10-13	13:16:24	2992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862484','0','11.142061281337','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:24	2992	[DEBUG]	Checking manufacturer
2023-10-13	13:16:24	2992	[DEBUG]	Load a row
2023-10-13	13:16:24	2992	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:24	2992	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '169'
2023-10-13	13:16:24	2992	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:24	2992	[DEBUG]	Executed store
2023-10-13	13:16:24	2992	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-11-05-04-54-43892420529' WHERE `virtuemart_manufacturer_id` = '169'
2023-10-13	13:16:24	2992	[DEBUG]	Manufacturer exists
2023-10-13	13:16:24	2992	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 169
2023-10-13	13:16:24	2992	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:24	2992	[DEBUG]	Executed store
2023-10-13	13:16:24	2992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862484','169')
2023-10-13	13:16:24	2992	[DEBUG]	Find the custom field ID
2023-10-13	13:16:24	2992	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:24	2992	[DEBUG]	No custom field ID found
2023-10-13	13:16:24	2992	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:24	2992	[DEBUG]	Get existing row with customfield value 6.48194444444445
2023-10-13	13:16:24	2992	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862484 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:24	2992	[DEBUG]	Store custom available field
2023-10-13	13:16:24	2992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862484,3,'6.48194444444445',1)
2023-10-13	13:16:24	2992	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:24	2992	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:24	2992	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862484 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:24	2992	[DEBUG]	Store custom available field
2023-10-13	13:16:24	2992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862484,6,'choisir la taille',3)
2023-10-13	13:16:24	2992	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:24	2992	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:24	2992	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:24	2992	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:24	2992	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862484 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:24	2992	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:24	2992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862484,8,1)
2023-10-13	13:16:24	2992	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:24	2992	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862484\":[1862484,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862484
2023-10-13	13:16:24	2992	[DEBUG]	Checking category
2023-10-13	13:16:24	2992	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:24	2992	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862484
2023-10-13	13:16:24	2992	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:24	2992	[DEBUG]	Executed store
2023-10-13	13:16:24	2992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862484','7365')
2023-10-13	13:16:24	2992	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:24	2992	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862484 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:24	2992	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:24	2992	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862484
2023-10-13	13:16:24	2993	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:24	2993	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:24	2993	[DEBUG]	Use field value for field taille
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:24	2993	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:24	2993	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:24	2993	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:24	2993	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:24	2993	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:24	2993	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:24	2993	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:24	2993	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:24	2993	[DEBUG]	Use field value for field published
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:24	2993	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field override
2023-10-13	13:16:24	2993	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:24	2993	[DEBUG]	Use field value for field slug
2023-10-13	13:16:24	2993	[DEBUG]	Process line 2993
2023-10-13	13:16:24	2993	[DEBUG]	Load a row
2023-10-13	13:16:24	2993	[DEBUG]	Processing item: 7613368439547
2023-10-13	13:16:24	2993	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:24	2993	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:24	2993	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5812_268'
2023-10-13	13:16:24	2993	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:24	2993	[DEBUG]	Processing product tax
2023-10-13	13:16:24	2993	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:24	2993	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:24	2993	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:24	2993	[DEBUG]	Query for Product
2023-10-13	13:16:24	2993	[DEBUG]	Executed store
2023-10-13	13:16:24	2993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862484','7613368439547','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:24	2993	[DEBUG]	No parent found
2023-10-13	13:16:24	2993	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862484 AND customfield_value = 'stockable'
2023-10-13	13:16:24	2993	[DEBUG]	Check product language entry
2023-10-13	13:16:24	2993	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862485
2023-10-13	13:16:24	2993	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:24	2993	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7613368439547' AND `virtuemart_product_id` != 1862485
2023-10-13	13:16:24	2993	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:24	2993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862485, '7613368439547')
2023-10-13	13:16:24	2993	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:24	2993	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'syncros-porte-bidon-et-bidon-syncros-differentes-couleurs-disponibles-au-magasin-bunt-unitaire' AND `virtuemart_product_id` != 1862485
2023-10-13	13:16:24	2993	[DEBUG]	Query for ProductLang
2023-10-13	13:16:24	2993	[DEBUG]	Executed store
2023-10-13	13:16:24	2993	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Syncros Porte-bidon et bidon Syncros (différentes couleurs disponibles au magasin) / BUNT (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='syncros-porte-bidon-et-bidon-syncros-differentes-couleurs-disponibles-au-magasin-bunt-unitaire' WHERE `virtuemart_product_id` = '1862485'
2023-10-13	13:16:24	2993	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30331_porte-bidon_et_bidon_syncros_.jpg
2023-10-13	13:16:24	2993	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:24	2993	[DEBUG]	Process image file
2023-10-13	13:16:24	2993	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:24	2993	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:24	2993	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30331_porte-bidon_et_bidon_syncros_.jpg
2023-10-13	13:16:24	2993	[DEBUG]	Full name target: bcprisme/30331_porte-bidon_et_bidon_syncros_.jpg
2023-10-13	13:16:25	2993	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:25	2993	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30331_porte-bidon_et_bidon_syncros_.jpg'
2023-10-13	13:16:25	2993	[DEBUG]	Query for Media
2023-10-13	13:16:25	2993	[DEBUG]	Executed store
2023-10-13	13:16:25	2993	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30331_porte-bidon_et_bidon_syncros_.jpg',`file_url_thumb`='bcprisme/30331_porte-bidon_et_bidon_syncros_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '183451'
2023-10-13	13:16:25	2993	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:25	2993	[DEBUG]	Executed store
2023-10-13	13:16:25	2993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862485','183451','1')
2023-10-13	13:16:25	2993	[DEBUG]	Store product image relation
2023-10-13	13:16:25	2993	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:25	2993	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862485 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:25	2993	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:25	2993	[DEBUG]	Executed store
2023-10-13	13:16:25	2993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862485','0','11.142061281337','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:25	2993	[DEBUG]	Checking manufacturer
2023-10-13	13:16:25	2993	[DEBUG]	Load a row
2023-10-13	13:16:25	2993	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:25	2993	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '169'
2023-10-13	13:16:25	2993	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:25	2993	[DEBUG]	Executed store
2023-10-13	13:16:25	2993	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-11-05-04-54-43892420529' WHERE `virtuemart_manufacturer_id` = '169'
2023-10-13	13:16:25	2993	[DEBUG]	Manufacturer exists
2023-10-13	13:16:25	2993	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 169
2023-10-13	13:16:25	2993	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:25	2993	[DEBUG]	Executed store
2023-10-13	13:16:25	2993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862485','169')
2023-10-13	13:16:25	2993	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:25	2993	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:25	2993	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862485 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:25	2993	[DEBUG]	Store custom available field
2023-10-13	13:16:25	2993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862485,3,'',1)
2023-10-13	13:16:25	2993	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:25	2993	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:25	2993	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862485 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:25	2993	[DEBUG]	Store custom available field
2023-10-13	13:16:25	2993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862485,6,'Unitaire',3)
2023-10-13	13:16:25	2993	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:25	2993	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:25	2993	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862484
2023-10-13	13:16:25	2993	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:25	2993	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862484\":[1862484,8,1,\"choisir la taille\"],\"1862485\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862484
2023-10-13	13:16:25	2993	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:25	2993	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862485
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:25	2994	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field taille
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:25	2994	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:25	2994	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:25	2994	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:25	2994	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:25	2994	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:25	2994	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field published
2023-10-13	13:16:25	2994	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:25	2994	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field override
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:25	2994	[DEBUG]	Use field value for field slug
2023-10-13	13:16:25	2994	[DEBUG]	Process line 2994
2023-10-13	13:16:25	2994	[DEBUG]	Load a row
2023-10-13	13:16:25	2994	[DEBUG]	Processing item: A_7380_1
2023-10-13	13:16:25	2994	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:25	2994	[DEBUG]	Processing product tax
2023-10-13	13:16:25	2994	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:25	2994	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:25	2994	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:25	2994	[DEBUG]	Query for Product
2023-10-13	13:16:25	2994	[DEBUG]	Executed store
2023-10-13	13:16:25	2994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7380_1','0.072','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:25	2994	[DEBUG]	Check product language entry
2023-10-13	13:16:25	2994	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862486
2023-10-13	13:16:25	2994	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:25	2994	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7380_1' AND `virtuemart_product_id` != 1862486
2023-10-13	13:16:25	2994	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:25	2994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862486, 'A_7380_1')
2023-10-13	13:16:25	2994	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:25	2994	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'zefal-porte-bidon-zefal-wiiz-noir' AND `virtuemart_product_id` != 1862486
2023-10-13	13:16:25	2994	[DEBUG]	Query for ProductLang
2023-10-13	13:16:25	2994	[DEBUG]	Executed store
2023-10-13	13:16:25	2994	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lavage lave-vaisselle possible<br>N° art fourn : 22.741333',`product_name`='ZEFAL Porte-bidon Zefal WIIZ / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='zefal-porte-bidon-zefal-wiiz-noir' WHERE `virtuemart_product_id` = '1862486'
2023-10-13	13:16:25	2994	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34621_porte-bidon_zefal_wiz.jpg
2023-10-13	13:16:25	2994	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:25	2994	[DEBUG]	Process image file
2023-10-13	13:16:25	2994	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:25	2994	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:25	2994	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34621_porte-bidon_zefal_wiz.jpg
2023-10-13	13:16:25	2994	[DEBUG]	Full name target: bcprisme/34621_porte-bidon_zefal_wiz.jpg
2023-10-13	13:16:26	2994	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:26	2994	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34621_porte-bidon_zefal_wiz.jpg'
2023-10-13	13:16:26	2994	[DEBUG]	Query for Media
2023-10-13	13:16:26	2994	[DEBUG]	Executed store
2023-10-13	13:16:26	2994	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34621_porte-bidon_zefal_wiz.jpg',`file_url_thumb`='bcprisme/34621_porte-bidon_zefal_wiz.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '183453'
2023-10-13	13:16:26	2994	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:26	2994	[DEBUG]	Executed store
2023-10-13	13:16:26	2994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862486','183453','1')
2023-10-13	13:16:26	2994	[DEBUG]	Store product image relation
2023-10-13	13:16:26	2994	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:26	2994	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862486 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:26	2994	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:26	2994	[DEBUG]	Executed store
2023-10-13	13:16:26	2994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862486','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:26	2994	[DEBUG]	Checking manufacturer
2023-10-13	13:16:26	2994	[DEBUG]	Load a row
2023-10-13	13:16:26	2994	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:26	2994	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:26	2994	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:26	2994	[DEBUG]	Executed store
2023-10-13	13:16:26	2994	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52666636290' WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:26	2994	[DEBUG]	Manufacturer exists
2023-10-13	13:16:26	2994	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 132
2023-10-13	13:16:26	2994	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:26	2994	[DEBUG]	Executed store
2023-10-13	13:16:26	2994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862486','132')
2023-10-13	13:16:26	2994	[DEBUG]	Find the custom field ID
2023-10-13	13:16:26	2994	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:26	2994	[DEBUG]	No custom field ID found
2023-10-13	13:16:26	2994	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:26	2994	[DEBUG]	Get existing row with customfield value 6.48194444444445
2023-10-13	13:16:26	2994	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862486 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:26	2994	[DEBUG]	Store custom available field
2023-10-13	13:16:26	2994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862486,3,'6.48194444444445',1)
2023-10-13	13:16:26	2994	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:26	2994	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:26	2994	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862486 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:26	2994	[DEBUG]	Store custom available field
2023-10-13	13:16:26	2994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862486,6,'choisir la taille',3)
2023-10-13	13:16:26	2994	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:26	2994	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:26	2994	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:26	2994	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:26	2994	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862486 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:26	2994	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:26	2994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862486,8,1)
2023-10-13	13:16:26	2994	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:26	2994	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862486\":[1862486,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862486
2023-10-13	13:16:26	2994	[DEBUG]	Checking category
2023-10-13	13:16:26	2994	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:26	2994	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862486
2023-10-13	13:16:26	2994	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:26	2994	[DEBUG]	Executed store
2023-10-13	13:16:26	2994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862486','7365')
2023-10-13	13:16:26	2994	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:26	2994	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862486 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:26	2994	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:26	2994	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862486
2023-10-13	13:16:26	2995	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:26	2995	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:26	2995	[DEBUG]	Use field value for field taille
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:26	2995	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:26	2995	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:26	2995	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:26	2995	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:26	2995	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:26	2995	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:26	2995	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:26	2995	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:26	2995	[DEBUG]	Use field value for field published
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:26	2995	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field override
2023-10-13	13:16:26	2995	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:26	2995	[DEBUG]	Use field value for field slug
2023-10-13	13:16:26	2995	[DEBUG]	Process line 2995
2023-10-13	13:16:26	2995	[DEBUG]	Load a row
2023-10-13	13:16:26	2995	[DEBUG]	Processing item: 643187007341
2023-10-13	13:16:26	2995	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:26	2995	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:26	2995	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7380_1'
2023-10-13	13:16:26	2995	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:26	2995	[DEBUG]	Processing product tax
2023-10-13	13:16:26	2995	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:26	2995	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:26	2995	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:26	2995	[DEBUG]	Query for Product
2023-10-13	13:16:26	2995	[DEBUG]	Executed store
2023-10-13	13:16:26	2995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862486','643187007341','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:26	2995	[DEBUG]	No parent found
2023-10-13	13:16:26	2995	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862486 AND customfield_value = 'stockable'
2023-10-13	13:16:26	2995	[DEBUG]	Check product language entry
2023-10-13	13:16:26	2995	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862487
2023-10-13	13:16:26	2995	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:26	2995	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '643187007341' AND `virtuemart_product_id` != 1862487
2023-10-13	13:16:26	2995	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:26	2995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862487, '643187007341')
2023-10-13	13:16:26	2995	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:26	2995	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'zefal-porte-bidon-zefal-wiiz-noir-unitaire' AND `virtuemart_product_id` != 1862487
2023-10-13	13:16:26	2995	[DEBUG]	Query for ProductLang
2023-10-13	13:16:26	2995	[DEBUG]	Executed store
2023-10-13	13:16:26	2995	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ZEFAL Porte-bidon Zefal WIIZ / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='zefal-porte-bidon-zefal-wiiz-noir-unitaire' WHERE `virtuemart_product_id` = '1862487'
2023-10-13	13:16:26	2995	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34621_porte-bidon_zefal_wiz.jpg
2023-10-13	13:16:26	2995	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:26	2995	[DEBUG]	Process image file
2023-10-13	13:16:26	2995	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:26	2995	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:26	2995	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34621_porte-bidon_zefal_wiz.jpg
2023-10-13	13:16:26	2995	[DEBUG]	Full name target: bcprisme/34621_porte-bidon_zefal_wiz.jpg
2023-10-13	13:16:27	2995	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:27	2995	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34621_porte-bidon_zefal_wiz.jpg'
2023-10-13	13:16:27	2995	[DEBUG]	Query for Media
2023-10-13	13:16:27	2995	[DEBUG]	Executed store
2023-10-13	13:16:27	2995	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34621_porte-bidon_zefal_wiz.jpg',`file_url_thumb`='bcprisme/34621_porte-bidon_zefal_wiz.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '183453'
2023-10-13	13:16:27	2995	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:27	2995	[DEBUG]	Executed store
2023-10-13	13:16:27	2995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862487','183453','1')
2023-10-13	13:16:27	2995	[DEBUG]	Store product image relation
2023-10-13	13:16:27	2995	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:27	2995	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862487 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:27	2995	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:27	2995	[DEBUG]	Executed store
2023-10-13	13:16:27	2995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862487','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:27	2995	[DEBUG]	Checking manufacturer
2023-10-13	13:16:27	2995	[DEBUG]	Load a row
2023-10-13	13:16:27	2995	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:27	2995	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:27	2995	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:27	2995	[DEBUG]	Executed store
2023-10-13	13:16:27	2995	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52666636290' WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:27	2995	[DEBUG]	Manufacturer exists
2023-10-13	13:16:27	2995	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 132
2023-10-13	13:16:27	2995	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:27	2995	[DEBUG]	Executed store
2023-10-13	13:16:27	2995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862487','132')
2023-10-13	13:16:27	2995	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:27	2995	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:27	2995	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862487 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:27	2995	[DEBUG]	Store custom available field
2023-10-13	13:16:27	2995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862487,3,'',1)
2023-10-13	13:16:27	2995	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:27	2995	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:27	2995	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862487 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:27	2995	[DEBUG]	Store custom available field
2023-10-13	13:16:27	2995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862487,6,'Unitaire',3)
2023-10-13	13:16:27	2995	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:27	2995	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:27	2995	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862486
2023-10-13	13:16:27	2995	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:27	2995	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862486\":[1862486,8,1,\"choisir la taille\"],\"1862487\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862486
2023-10-13	13:16:27	2995	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:27	2995	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862487
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:27	2996	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field taille
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:27	2996	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:27	2996	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:27	2996	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:27	2996	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:27	2996	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:27	2996	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:27	2996	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field published
2023-10-13	13:16:27	2996	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:27	2996	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field override
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:27	2996	[DEBUG]	Use field value for field slug
2023-10-13	13:16:27	2996	[DEBUG]	Process line 2996
2023-10-13	13:16:27	2996	[DEBUG]	Load a row
2023-10-13	13:16:27	2996	[DEBUG]	Processing item: A_7852_575
2023-10-13	13:16:27	2996	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:27	2996	[DEBUG]	Processing product tax
2023-10-13	13:16:27	2996	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:27	2996	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:27	2996	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:27	2996	[DEBUG]	Query for Product
2023-10-13	13:16:27	2996	[DEBUG]	Executed store
2023-10-13	13:16:27	2996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7852_575','0.72','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:27	2996	[DEBUG]	Check product language entry
2023-10-13	13:16:27	2996	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862488
2023-10-13	13:16:27	2996	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:27	2996	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7852_575' AND `virtuemart_product_id` != 1862488
2023-10-13	13:16:27	2996	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:27	2996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862488, 'A_7852_575')
2023-10-13	13:16:27	2996	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:27	2996	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-bidon-powerbar-600-ml-jaune-rouge' AND `virtuemart_product_id` != 1862488
2023-10-13	13:16:27	2996	[DEBUG]	Query for ProductLang
2023-10-13	13:16:27	2996	[DEBUG]	Executed store
2023-10-13	13:16:27	2996	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Bidon PowerBar 600 ml / Jaune/Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-bidon-powerbar-600-ml-jaune-rouge' WHERE `virtuemart_product_id` = '1862488'
2023-10-13	13:16:27	2996	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36251_bidon_powerbar.jpg has not been found.
2023-10-13	13:16:27	2996	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:27	2996	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862488 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:27	2996	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:27	2996	[DEBUG]	Executed store
2023-10-13	13:16:27	2996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862488','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:27	2996	[DEBUG]	Checking manufacturer
2023-10-13	13:16:27	2996	[DEBUG]	Load a row
2023-10-13	13:16:27	2996	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:27	2996	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:27	2996	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:27	2996	[DEBUG]	Executed store
2023-10-13	13:16:27	2996	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:27	2996	[DEBUG]	Manufacturer exists
2023-10-13	13:16:27	2996	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:16:27	2996	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:27	2996	[DEBUG]	Executed store
2023-10-13	13:16:27	2996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862488','121')
2023-10-13	13:16:27	2996	[DEBUG]	Find the custom field ID
2023-10-13	13:16:27	2996	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:27	2996	[DEBUG]	No custom field ID found
2023-10-13	13:16:27	2996	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:27	2996	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	13:16:27	2996	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862488 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:27	2996	[DEBUG]	Store custom available field
2023-10-13	13:16:27	2996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862488,3,'9.8725',1)
2023-10-13	13:16:27	2996	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:27	2996	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:27	2996	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862488 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:27	2996	[DEBUG]	Store custom available field
2023-10-13	13:16:27	2996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862488,6,'choisir la taille',3)
2023-10-13	13:16:27	2996	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:27	2996	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:27	2996	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:27	2996	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:27	2996	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862488 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:27	2996	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:27	2996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862488,8,1)
2023-10-13	13:16:27	2996	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:27	2996	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862488\":[1862488,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862488
2023-10-13	13:16:27	2996	[DEBUG]	Checking category
2023-10-13	13:16:27	2996	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:27	2996	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862488
2023-10-13	13:16:27	2996	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:27	2996	[DEBUG]	Executed store
2023-10-13	13:16:27	2996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862488','7365')
2023-10-13	13:16:27	2996	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:27	2996	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862488 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:27	2996	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:27	2996	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862488
2023-10-13	13:16:27	2997	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:27	2997	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:27	2997	[DEBUG]	Use field value for field taille
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:27	2997	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:27	2997	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:27	2997	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:27	2997	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:27	2997	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:27	2997	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:27	2997	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:27	2997	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:27	2997	[DEBUG]	Use field value for field published
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:27	2997	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field override
2023-10-13	13:16:27	2997	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:27	2997	[DEBUG]	Use field value for field slug
2023-10-13	13:16:27	2997	[DEBUG]	Process line 2997
2023-10-13	13:16:27	2997	[DEBUG]	Load a row
2023-10-13	13:16:27	2997	[DEBUG]	Processing item: 4029679865242
2023-10-13	13:16:27	2997	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:27	2997	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:27	2997	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7852_575'
2023-10-13	13:16:27	2997	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:27	2997	[DEBUG]	Processing product tax
2023-10-13	13:16:27	2997	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:27	2997	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:27	2997	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:27	2997	[DEBUG]	Query for Product
2023-10-13	13:16:27	2997	[DEBUG]	Executed store
2023-10-13	13:16:27	2997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862488','4029679865242','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:27	2997	[DEBUG]	No parent found
2023-10-13	13:16:27	2997	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862488 AND customfield_value = 'stockable'
2023-10-13	13:16:27	2997	[DEBUG]	Check product language entry
2023-10-13	13:16:27	2997	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862489
2023-10-13	13:16:27	2997	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:27	2997	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679865242' AND `virtuemart_product_id` != 1862489
2023-10-13	13:16:27	2997	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:27	2997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862489, '4029679865242')
2023-10-13	13:16:27	2997	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:27	2997	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-bidon-powerbar-600-ml-jaune-rouge-unitaire' AND `virtuemart_product_id` != 1862489
2023-10-13	13:16:27	2997	[DEBUG]	Query for ProductLang
2023-10-13	13:16:27	2997	[DEBUG]	Executed store
2023-10-13	13:16:27	2997	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Bidon PowerBar 600 ml / Jaune/Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-bidon-powerbar-600-ml-jaune-rouge-unitaire' WHERE `virtuemart_product_id` = '1862489'
2023-10-13	13:16:27	2997	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36251_bidon_powerbar.jpg has not been found.
2023-10-13	13:16:27	2997	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:27	2997	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862489 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:27	2997	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:27	2997	[DEBUG]	Executed store
2023-10-13	13:16:27	2997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862489','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:27	2997	[DEBUG]	Checking manufacturer
2023-10-13	13:16:27	2997	[DEBUG]	Load a row
2023-10-13	13:16:27	2997	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:27	2997	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:27	2997	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:27	2997	[DEBUG]	Executed store
2023-10-13	13:16:27	2997	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:27	2997	[DEBUG]	Manufacturer exists
2023-10-13	13:16:27	2997	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:16:27	2997	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:27	2997	[DEBUG]	Executed store
2023-10-13	13:16:27	2997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862489','121')
2023-10-13	13:16:27	2997	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:27	2997	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:27	2997	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862489 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:27	2997	[DEBUG]	Store custom available field
2023-10-13	13:16:27	2997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862489,3,'',1)
2023-10-13	13:16:27	2997	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:27	2997	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:27	2997	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862489 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:27	2997	[DEBUG]	Store custom available field
2023-10-13	13:16:27	2997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862489,6,'Unitaire',3)
2023-10-13	13:16:27	2997	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:27	2997	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:27	2997	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862488
2023-10-13	13:16:27	2997	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:27	2997	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862488\":[1862488,8,1,\"choisir la taille\"],\"1862489\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862488
2023-10-13	13:16:27	2997	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:27	2997	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862489
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:27	2998	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field taille
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:27	2998	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:27	2998	[DEBUG]	Use default value for field file_url
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:27	2998	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:27	2998	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:27	2998	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:27	2998	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:27	2998	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field published
2023-10-13	13:16:27	2998	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:27	2998	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field override
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:27	2998	[DEBUG]	Use field value for field slug
2023-10-13	13:16:27	2998	[DEBUG]	Process line 2998
2023-10-13	13:16:27	2998	[DEBUG]	Load a row
2023-10-13	13:16:27	2998	[DEBUG]	Processing item: A_8523_65
2023-10-13	13:16:27	2998	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:27	2998	[DEBUG]	Processing product tax
2023-10-13	13:16:27	2998	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:27	2998	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:27	2998	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:27	2998	[DEBUG]	Query for Product
2023-10-13	13:16:27	2998	[DEBUG]	Executed store
2023-10-13	13:16:27	2998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8523_65','0.72','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:27	2998	[DEBUG]	Check product language entry
2023-10-13	13:16:27	2998	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862490
2023-10-13	13:16:27	2998	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:27	2998	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8523_65' AND `virtuemart_product_id` != 1862490
2023-10-13	13:16:27	2998	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:27	2998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862490, 'A_8523_65')
2023-10-13	13:16:27	2998	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:27	2998	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-bidon-powerbar-1000ml-jaune' AND `virtuemart_product_id` != 1862490
2023-10-13	13:16:27	2998	[DEBUG]	Query for ProductLang
2023-10-13	13:16:27	2998	[DEBUG]	Executed store
2023-10-13	13:16:27	2998	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>',`product_name`='POWERBAR Bidon PowerBar 1000ml / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-bidon-powerbar-1000ml-jaune' WHERE `virtuemart_product_id` = '1862490'
2023-10-13	13:16:27	2998	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:27	2998	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862490 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:27	2998	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:27	2998	[DEBUG]	Executed store
2023-10-13	13:16:27	2998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862490','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:27	2998	[DEBUG]	Checking manufacturer
2023-10-13	13:16:27	2998	[DEBUG]	Load a row
2023-10-13	13:16:27	2998	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:27	2998	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:27	2998	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:27	2998	[DEBUG]	Executed store
2023-10-13	13:16:27	2998	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:27	2998	[DEBUG]	Manufacturer exists
2023-10-13	13:16:27	2998	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:16:27	2998	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:27	2998	[DEBUG]	Executed store
2023-10-13	13:16:27	2998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862490','121')
2023-10-13	13:16:27	2998	[DEBUG]	Find the custom field ID
2023-10-13	13:16:27	2998	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:27	2998	[DEBUG]	No custom field ID found
2023-10-13	13:16:27	2998	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:27	2998	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	13:16:27	2998	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862490 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:27	2998	[DEBUG]	Store custom available field
2023-10-13	13:16:27	2998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862490,3,'9.8725',1)
2023-10-13	13:16:27	2998	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:27	2998	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:27	2998	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862490 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:27	2998	[DEBUG]	Store custom available field
2023-10-13	13:16:27	2998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862490,6,'choisir la taille',3)
2023-10-13	13:16:27	2998	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:27	2998	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:27	2998	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:27	2998	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:27	2998	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862490 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:27	2998	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:27	2998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862490,8,1)
2023-10-13	13:16:27	2998	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:27	2998	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862490\":[1862490,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862490
2023-10-13	13:16:27	2998	[DEBUG]	Checking category
2023-10-13	13:16:27	2998	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:27	2998	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862490
2023-10-13	13:16:27	2998	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:27	2998	[DEBUG]	Executed store
2023-10-13	13:16:27	2998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862490','7365')
2023-10-13	13:16:27	2998	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:27	2998	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862490 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:27	2998	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:27	2998	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862490
2023-10-13	13:16:27	2999	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:27	2999	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:27	2999	[DEBUG]	Use field value for field taille
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:27	2999	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:27	2999	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:27	2999	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field file_url
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:27	2999	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:27	2999	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:27	2999	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:27	2999	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:27	2999	[DEBUG]	Use field value for field published
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:27	2999	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field override
2023-10-13	13:16:27	2999	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:27	2999	[DEBUG]	Use field value for field slug
2023-10-13	13:16:27	2999	[DEBUG]	Process line 2999
2023-10-13	13:16:27	2999	[DEBUG]	Load a row
2023-10-13	13:16:27	2999	[DEBUG]	Processing item: 1000000155129
2023-10-13	13:16:27	2999	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:27	2999	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:27	2999	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8523_65'
2023-10-13	13:16:27	2999	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:27	2999	[DEBUG]	Processing product tax
2023-10-13	13:16:27	2999	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:27	2999	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:27	2999	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:27	2999	[DEBUG]	Query for Product
2023-10-13	13:16:27	2999	[DEBUG]	Executed store
2023-10-13	13:16:27	2999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862490','1000000155129','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:27	2999	[DEBUG]	No parent found
2023-10-13	13:16:27	2999	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862490 AND customfield_value = 'stockable'
2023-10-13	13:16:27	2999	[DEBUG]	Check product language entry
2023-10-13	13:16:27	2999	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862491
2023-10-13	13:16:27	2999	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:27	2999	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000155129' AND `virtuemart_product_id` != 1862491
2023-10-13	13:16:27	2999	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:27	2999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862491, '1000000155129')
2023-10-13	13:16:27	2999	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:27	2999	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-bidon-powerbar-1000ml-jaune-unitaire' AND `virtuemart_product_id` != 1862491
2023-10-13	13:16:27	2999	[DEBUG]	Query for ProductLang
2023-10-13	13:16:27	2999	[DEBUG]	Executed store
2023-10-13	13:16:27	2999	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Bidon PowerBar 1000ml / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-bidon-powerbar-1000ml-jaune-unitaire' WHERE `virtuemart_product_id` = '1862491'
2023-10-13	13:16:27	2999	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:27	2999	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862491 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:27	2999	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:27	2999	[DEBUG]	Executed store
2023-10-13	13:16:27	2999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862491','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:27	2999	[DEBUG]	Checking manufacturer
2023-10-13	13:16:27	2999	[DEBUG]	Load a row
2023-10-13	13:16:27	2999	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:27	2999	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:27	2999	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:27	2999	[DEBUG]	Executed store
2023-10-13	13:16:27	2999	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:27	2999	[DEBUG]	Manufacturer exists
2023-10-13	13:16:27	2999	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:16:27	2999	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:27	2999	[DEBUG]	Executed store
2023-10-13	13:16:27	2999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862491','121')
2023-10-13	13:16:27	2999	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:27	2999	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:27	2999	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862491 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:27	2999	[DEBUG]	Store custom available field
2023-10-13	13:16:27	2999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862491,3,'',1)
2023-10-13	13:16:27	2999	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:27	2999	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:27	2999	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862491 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:27	2999	[DEBUG]	Store custom available field
2023-10-13	13:16:27	2999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862491,6,'Unitaire',3)
2023-10-13	13:16:27	2999	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:27	2999	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:27	2999	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862490
2023-10-13	13:16:27	2999	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:27	2999	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862490\":[1862490,8,1,\"choisir la taille\"],\"1862491\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862490
2023-10-13	13:16:27	2999	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:27	2999	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862491
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:27	3000	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field taille
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:27	3000	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:27	3000	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:27	3000	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:27	3000	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:27	3000	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:27	3000	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field published
2023-10-13	13:16:27	3000	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:27	3000	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field override
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:27	3000	[DEBUG]	Use field value for field slug
2023-10-13	13:16:27	3000	[DEBUG]	Process line 3000
2023-10-13	13:16:27	3000	[DEBUG]	Load a row
2023-10-13	13:16:27	3000	[DEBUG]	Processing item: A_9339_179
2023-10-13	13:16:27	3000	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:27	3000	[DEBUG]	Processing product tax
2023-10-13	13:16:27	3000	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:27	3000	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:27	3000	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:27	3000	[DEBUG]	Query for Product
2023-10-13	13:16:27	3000	[DEBUG]	Executed store
2023-10-13	13:16:27	3000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9339_179','0.005','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0')
2023-10-13	13:16:27	3000	[DEBUG]	Check product language entry
2023-10-13	13:16:27	3000	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862492
2023-10-13	13:16:27	3000	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:27	3000	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9339_179' AND `virtuemart_product_id` != 1862492
2023-10-13	13:16:27	3000	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:27	3000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862492, 'A_9339_179')
2023-10-13	13:16:27	3000	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:27	3000	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-bidon-powerbar-1000-ml-jaune-noir' AND `virtuemart_product_id` != 1862492
2023-10-13	13:16:27	3000	[DEBUG]	Query for ProductLang
2023-10-13	13:16:27	3000	[DEBUG]	Executed store
2023-10-13	13:16:27	3000	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Bidon MSC SQUEEZE&DRINK. 600cc<br>N° art fourn : 31030001',`product_name`='POWERBAR Bidon Powerbar 1000 ml / Jaune-noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-bidon-powerbar-1000-ml-jaune-noir' WHERE `virtuemart_product_id` = '1862492'
2023-10-13	13:16:27	3000	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38427_bidon_powerbar_1000_ml.jpg
2023-10-13	13:16:27	3000	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:16:27	3000	[DEBUG]	Process image file
2023-10-13	13:16:27	3000	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:16:27	3000	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:27	3000	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38427_bidon_powerbar_1000_ml.jpg
2023-10-13	13:16:27	3000	[DEBUG]	Full name target: bcprisme/38427_bidon_powerbar_1000_ml.jpg
2023-10-13	13:16:28	3000	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:28	3000	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38427_bidon_powerbar_1000_ml.jpg'
2023-10-13	13:16:28	3000	[DEBUG]	Query for Media
2023-10-13	13:16:28	3000	[DEBUG]	Executed store
2023-10-13	13:16:28	3000	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38427_bidon_powerbar_1000_ml.jpg',`file_url_thumb`='bcprisme/38427_bidon_powerbar_1000_ml.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1375893'
2023-10-13	13:16:28	3000	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:28	3000	[DEBUG]	Executed store
2023-10-13	13:16:28	3000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862492','1375893','1')
2023-10-13	13:16:28	3000	[DEBUG]	Store product image relation
2023-10-13	13:16:28	3000	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:28	3000	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862492 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:28	3000	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:28	3000	[DEBUG]	Executed store
2023-10-13	13:16:28	3000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862492','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:15:04','1593','2023-10-13 13:15:04','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:28	3000	[DEBUG]	Checking manufacturer
2023-10-13	13:16:28	3000	[DEBUG]	Load a row
2023-10-13	13:16:28	3000	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:28	3000	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:28	3000	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:28	3000	[DEBUG]	Executed store
2023-10-13	13:16:28	3000	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:28	3000	[DEBUG]	Manufacturer exists
2023-10-13	13:16:28	3000	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:16:28	3000	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:28	3000	[DEBUG]	Executed store
2023-10-13	13:16:28	3000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862492','121')
2023-10-13	13:16:28	3000	[DEBUG]	Find the custom field ID
2023-10-13	13:16:28	3000	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:28	3000	[DEBUG]	No custom field ID found
2023-10-13	13:16:28	3000	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:28	3000	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	13:16:28	3000	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862492 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:28	3000	[DEBUG]	Store custom available field
2023-10-13	13:16:28	3000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862492,3,'9.8725',1)
2023-10-13	13:16:28	3000	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:28	3000	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:28	3000	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862492 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:28	3000	[DEBUG]	Store custom available field
2023-10-13	13:16:28	3000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862492,6,'choisir la taille',3)
2023-10-13	13:16:28	3000	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:28	3000	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:28	3000	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:28	3000	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:28	3000	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862492 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:28	3000	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:28	3000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862492,8,1)
2023-10-13	13:16:28	3000	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:28	3000	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862492\":[1862492,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862492
2023-10-13	13:16:28	3000	[DEBUG]	Checking category
2023-10-13	13:16:28	3000	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:28	3000	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862492
2023-10-13	13:16:28	3000	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:28	3000	[DEBUG]	Executed store
2023-10-13	13:16:28	3000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862492','7365')
2023-10-13	13:16:28	3000	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:28	3000	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862492 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:28	3000	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:28	3000	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862492
2023-10-13	13:16:48	3000	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:16:48	3000	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:16:48	3000	[DEBUG]	Load the fields to process
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: product_sku
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: taille
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: product_name
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: category_path
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: product_price
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: product_override_price
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: product_tax
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: file_url
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: product_desc
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: product_availability
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: product_weight
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: product_unit
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: related_products
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: product_special
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: published
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: metadesc
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: metakey
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: custom_title
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: custom_value
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: custom_param
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: override
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: public_price
2023-10-13	13:16:48	3000	[DEBUG]	Setup field: slug
2023-10-13	13:16:48	3000	[DEBUG]	Use the file for configuration
2023-10-13	13:16:48	3000	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:16:48	3000	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:16:48	3000	[DEBUG]	Load the custom fields
2023-10-13	13:16:48	3000	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:16:48	3000	[DEBUG]	Load stockable custom fields
2023-10-13	13:16:48	3000	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:16:48	3000	[DEBUG]	Load custom fields for all
2023-10-13	13:16:48	3000	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:16:48	3001	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:48	3001	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:48	3001	[DEBUG]	Use field value for field taille
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:48	3001	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:48	3001	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:48	3001	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:48	3001	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:48	3001	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:48	3001	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:48	3001	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:48	3001	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:48	3001	[DEBUG]	Use field value for field published
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:48	3001	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field override
2023-10-13	13:16:48	3001	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:48	3001	[DEBUG]	Use field value for field slug
2023-10-13	13:16:48	3001	[DEBUG]	Process line 3001
2023-10-13	13:16:48	3001	[DEBUG]	Check if the vendor exists
2023-10-13	13:16:48	3001	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '4029679677517'
2023-10-13	13:16:48	3001	[DEBUG]	Load a row
2023-10-13	13:16:48	3001	[DEBUG]	Processing item: 4029679677517
2023-10-13	13:16:48	3001	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:48	3001	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:48	3001	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9339_179'
2023-10-13	13:16:48	3001	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:48	3001	[DEBUG]	Processing product tax
2023-10-13	13:16:48	3001	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:48	3001	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:48	3001	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:48	3001	[DEBUG]	Query for Product
2023-10-13	13:16:48	3001	[DEBUG]	Executed store
2023-10-13	13:16:48	3001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862492','4029679677517','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:48	3001	[DEBUG]	No parent found
2023-10-13	13:16:48	3001	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862492 AND customfield_value = 'stockable'
2023-10-13	13:16:48	3001	[DEBUG]	Check product language entry
2023-10-13	13:16:48	3001	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862493
2023-10-13	13:16:48	3001	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:48	3001	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679677517' AND `virtuemart_product_id` != 1862493
2023-10-13	13:16:48	3001	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:48	3001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862493, '4029679677517')
2023-10-13	13:16:48	3001	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:48	3001	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-bidon-powerbar-1000-ml-jaune-noir-unitaire' AND `virtuemart_product_id` != 1862493
2023-10-13	13:16:48	3001	[DEBUG]	Query for ProductLang
2023-10-13	13:16:48	3001	[DEBUG]	Executed store
2023-10-13	13:16:48	3001	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Bidon Powerbar 1000 ml / Jaune-noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-bidon-powerbar-1000-ml-jaune-noir-unitaire' WHERE `virtuemart_product_id` = '1862493'
2023-10-13	13:16:48	3001	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38427_bidon_powerbar_1000_ml.jpg
2023-10-13	13:16:48	3001	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:16:48	3001	[DEBUG]	Process image file
2023-10-13	13:16:48	3001	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:16:48	3001	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:48	3001	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38427_bidon_powerbar_1000_ml.jpg
2023-10-13	13:16:48	3001	[DEBUG]	Full name target: bcprisme/38427_bidon_powerbar_1000_ml.jpg
2023-10-13	13:16:49	3001	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:49	3001	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38427_bidon_powerbar_1000_ml.jpg'
2023-10-13	13:16:49	3001	[DEBUG]	Query for Media
2023-10-13	13:16:49	3001	[DEBUG]	Executed store
2023-10-13	13:16:49	3001	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38427_bidon_powerbar_1000_ml.jpg',`file_url_thumb`='bcprisme/38427_bidon_powerbar_1000_ml.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1375893'
2023-10-13	13:16:49	3001	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:49	3001	[DEBUG]	Executed store
2023-10-13	13:16:49	3001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862493','1375893','1')
2023-10-13	13:16:49	3001	[DEBUG]	Store product image relation
2023-10-13	13:16:49	3001	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:49	3001	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862493 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:49	3001	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:49	3001	[DEBUG]	Executed store
2023-10-13	13:16:49	3001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862493','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:49	3001	[DEBUG]	Checking manufacturer
2023-10-13	13:16:49	3001	[DEBUG]	Load a row
2023-10-13	13:16:49	3001	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:49	3001	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:49	3001	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:49	3001	[DEBUG]	Executed store
2023-10-13	13:16:49	3001	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:49	3001	[DEBUG]	Manufacturer exists
2023-10-13	13:16:49	3001	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:16:49	3001	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:49	3001	[DEBUG]	Executed store
2023-10-13	13:16:49	3001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862493','121')
2023-10-13	13:16:49	3001	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:49	3001	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:49	3001	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862493 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:49	3001	[DEBUG]	Store custom available field
2023-10-13	13:16:49	3001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862493,3,'',1)
2023-10-13	13:16:49	3001	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:49	3001	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:49	3001	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862493 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:49	3001	[DEBUG]	Store custom available field
2023-10-13	13:16:49	3001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862493,6,'Unitaire',3)
2023-10-13	13:16:49	3001	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:49	3001	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:49	3001	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862492
2023-10-13	13:16:49	3001	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:49	3001	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862492\":[1862492,8,1,\"choisir la taille\"],\"1862493\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862492
2023-10-13	13:16:49	3001	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:49	3001	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862493
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:49	3002	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field taille
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:49	3002	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:49	3002	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:49	3002	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:49	3002	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:49	3002	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:49	3002	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:49	3002	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field published
2023-10-13	13:16:49	3002	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:49	3002	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field override
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:49	3002	[DEBUG]	Use field value for field slug
2023-10-13	13:16:49	3002	[DEBUG]	Process line 3002
2023-10-13	13:16:49	3002	[DEBUG]	Load a row
2023-10-13	13:16:49	3002	[DEBUG]	Processing item: A_9505_1
2023-10-13	13:16:49	3002	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:49	3002	[DEBUG]	Processing product tax
2023-10-13	13:16:49	3002	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:49	3002	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:49	3002	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:49	3002	[DEBUG]	Query for Product
2023-10-13	13:16:49	3002	[DEBUG]	Executed store
2023-10-13	13:16:49	3002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9505_1','0.72','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:49	3002	[DEBUG]	Check product language entry
2023-10-13	13:16:49	3002	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862494
2023-10-13	13:16:49	3002	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:49	3002	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9505_1' AND `virtuemart_product_id` != 1862494
2023-10-13	13:16:49	3002	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:49	3002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862494, 'A_9505_1')
2023-10-13	13:16:49	3002	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:49	3002	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-bidon-powerbar-750-mml-noir' AND `virtuemart_product_id` != 1862494
2023-10-13	13:16:49	3002	[DEBUG]	Query for ProductLang
2023-10-13	13:16:49	3002	[DEBUG]	Executed store
2023-10-13	13:16:49	3002	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Bidon PowerBar 750 mml / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-bidon-powerbar-750-mml-noir' WHERE `virtuemart_product_id` = '1862494'
2023-10-13	13:16:49	3002	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38854_bidon_powerbar_750_mml.png has not been found.
2023-10-13	13:16:49	3002	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:49	3002	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862494 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:49	3002	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:49	3002	[DEBUG]	Executed store
2023-10-13	13:16:49	3002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862494','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:49	3002	[DEBUG]	Checking manufacturer
2023-10-13	13:16:49	3002	[DEBUG]	Load a row
2023-10-13	13:16:49	3002	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:49	3002	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:49	3002	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:49	3002	[DEBUG]	Executed store
2023-10-13	13:16:49	3002	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:49	3002	[DEBUG]	Manufacturer exists
2023-10-13	13:16:49	3002	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:16:49	3002	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:49	3002	[DEBUG]	Executed store
2023-10-13	13:16:49	3002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862494','121')
2023-10-13	13:16:49	3002	[DEBUG]	Find the custom field ID
2023-10-13	13:16:49	3002	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:49	3002	[DEBUG]	No custom field ID found
2023-10-13	13:16:49	3002	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:49	3002	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	13:16:49	3002	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862494 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:49	3002	[DEBUG]	Store custom available field
2023-10-13	13:16:50	3002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862494,3,'9.8725',1)
2023-10-13	13:16:50	3002	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:50	3002	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:50	3002	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862494 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:50	3002	[DEBUG]	Store custom available field
2023-10-13	13:16:50	3002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862494,6,'choisir la taille',3)
2023-10-13	13:16:50	3002	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:50	3002	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:50	3002	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:50	3002	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:50	3002	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862494 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:50	3002	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:50	3002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862494,8,1)
2023-10-13	13:16:50	3002	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:50	3002	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862494\":[1862494,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862494
2023-10-13	13:16:50	3002	[DEBUG]	Checking category
2023-10-13	13:16:50	3002	[DEBUG]	Check if category path exists: HYDRATATION - HYDRATATION
2023-10-13	13:16:50	3002	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'HYDRATATION - HYDRATATION' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:16:50	3002	[DEBUG]	Check if category path exists: BIDONS - FLASCHEN
2023-10-13	13:16:50	3002	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BIDONS - FLASCHEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7363
2023-10-13	13:16:50	3002	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:50	3002	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862494
2023-10-13	13:16:50	3002	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:50	3002	[DEBUG]	Executed store
2023-10-13	13:16:50	3002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862494','7365')
2023-10-13	13:16:50	3002	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:50	3002	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862494 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:50	3002	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:50	3002	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862494
2023-10-13	13:16:50	3003	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:50	3003	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:50	3003	[DEBUG]	Use field value for field taille
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:50	3003	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:50	3003	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:50	3003	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:50	3003	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:50	3003	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:50	3003	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:50	3003	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:50	3003	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:50	3003	[DEBUG]	Use field value for field published
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:50	3003	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field override
2023-10-13	13:16:50	3003	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:50	3003	[DEBUG]	Use field value for field slug
2023-10-13	13:16:50	3003	[DEBUG]	Process line 3003
2023-10-13	13:16:50	3003	[DEBUG]	Load a row
2023-10-13	13:16:50	3003	[DEBUG]	Processing item: 4029679677593
2023-10-13	13:16:50	3003	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:50	3003	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:50	3003	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9505_1'
2023-10-13	13:16:50	3003	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:50	3003	[DEBUG]	Processing product tax
2023-10-13	13:16:50	3003	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:50	3003	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:50	3003	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:50	3003	[DEBUG]	Query for Product
2023-10-13	13:16:50	3003	[DEBUG]	Executed store
2023-10-13	13:16:50	3003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862494','4029679677593','0','KG','M','','10','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:50	3003	[DEBUG]	No parent found
2023-10-13	13:16:50	3003	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862494 AND customfield_value = 'stockable'
2023-10-13	13:16:50	3003	[DEBUG]	Check product language entry
2023-10-13	13:16:50	3003	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862495
2023-10-13	13:16:50	3003	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:50	3003	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679677593' AND `virtuemart_product_id` != 1862495
2023-10-13	13:16:50	3003	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:50	3003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862495, '4029679677593')
2023-10-13	13:16:50	3003	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:50	3003	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-bidon-powerbar-750-mml-noir-unitaire' AND `virtuemart_product_id` != 1862495
2023-10-13	13:16:50	3003	[DEBUG]	Query for ProductLang
2023-10-13	13:16:50	3003	[DEBUG]	Executed store
2023-10-13	13:16:50	3003	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Bidon PowerBar 750 mml / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-bidon-powerbar-750-mml-noir-unitaire' WHERE `virtuemart_product_id` = '1862495'
2023-10-13	13:16:50	3003	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38854_bidon_powerbar_750_mml.png has not been found.
2023-10-13	13:16:50	3003	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:50	3003	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862495 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:50	3003	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:50	3003	[DEBUG]	Executed store
2023-10-13	13:16:50	3003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862495','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:50	3003	[DEBUG]	Checking manufacturer
2023-10-13	13:16:50	3003	[DEBUG]	Load a row
2023-10-13	13:16:50	3003	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:50	3003	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:50	3003	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:50	3003	[DEBUG]	Executed store
2023-10-13	13:16:50	3003	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:16:50	3003	[DEBUG]	Manufacturer exists
2023-10-13	13:16:50	3003	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:16:50	3003	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:50	3003	[DEBUG]	Executed store
2023-10-13	13:16:50	3003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862495','121')
2023-10-13	13:16:50	3003	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:50	3003	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:50	3003	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862495 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:50	3003	[DEBUG]	Store custom available field
2023-10-13	13:16:50	3003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862495,3,'',1)
2023-10-13	13:16:50	3003	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:50	3003	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:50	3003	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862495 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:50	3003	[DEBUG]	Store custom available field
2023-10-13	13:16:50	3003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862495,6,'Unitaire',3)
2023-10-13	13:16:50	3003	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:50	3003	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:50	3003	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862494
2023-10-13	13:16:50	3003	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:50	3003	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862494\":[1862494,8,1,\"choisir la taille\"],\"1862495\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862494
2023-10-13	13:16:50	3003	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:50	3003	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862495
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:50	3004	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field taille
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:50	3004	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:50	3004	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:50	3004	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:50	3004	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:50	3004	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:50	3004	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field published
2023-10-13	13:16:50	3004	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:50	3004	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field override
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:50	3004	[DEBUG]	Use field value for field slug
2023-10-13	13:16:50	3004	[DEBUG]	Process line 3004
2023-10-13	13:16:50	3004	[DEBUG]	Load a row
2023-10-13	13:16:50	3004	[DEBUG]	Processing item: A_9588_207
2023-10-13	13:16:50	3004	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:50	3004	[DEBUG]	Processing product tax
2023-10-13	13:16:50	3004	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:50	3004	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:50	3004	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:50	3004	[DEBUG]	Query for Product
2023-10-13	13:16:50	3004	[DEBUG]	Executed store
2023-10-13	13:16:50	3004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9588_207','0.005','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:50	3004	[DEBUG]	Check product language entry
2023-10-13	13:16:50	3004	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862496
2023-10-13	13:16:50	3004	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:50	3004	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9588_207' AND `virtuemart_product_id` != 1862496
2023-10-13	13:16:50	3004	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:50	3004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862496, 'A_9588_207')
2023-10-13	13:16:50	3004	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:50	3004	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-fox-oz-600ml-pink' AND `virtuemart_product_id` != 1862496
2023-10-13	13:16:50	3004	[DEBUG]	Query for ProductLang
2023-10-13	13:16:50	3004	[DEBUG]	Executed store
2023-10-13	13:16:50	3004	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Bidon MSC SQUEEZE&DRINK. 600cc<br>N° art fourn : 31190',`product_name`='MSC Bidon FOX OZ 600ml / Pink',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-fox-oz-600ml-pink' WHERE `virtuemart_product_id` = '1862496'
2023-10-13	13:16:50	3004	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38964_bidon_fox_oz_600ml.jpg has not been found.
2023-10-13	13:16:50	3004	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:50	3004	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862496 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:50	3004	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:50	3004	[DEBUG]	Executed store
2023-10-13	13:16:50	3004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862496','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:50	3004	[DEBUG]	Checking manufacturer
2023-10-13	13:16:50	3004	[DEBUG]	Load a row
2023-10-13	13:16:50	3004	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:50	3004	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:50	3004	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:50	3004	[DEBUG]	Executed store
2023-10-13	13:16:50	3004	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:50	3004	[DEBUG]	Manufacturer exists
2023-10-13	13:16:50	3004	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:50	3004	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:50	3004	[DEBUG]	Executed store
2023-10-13	13:16:50	3004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862496','206')
2023-10-13	13:16:50	3004	[DEBUG]	Find the custom field ID
2023-10-13	13:16:50	3004	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:50	3004	[DEBUG]	No custom field ID found
2023-10-13	13:16:50	3004	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:50	3004	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	13:16:50	3004	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862496 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:50	3004	[DEBUG]	Store custom available field
2023-10-13	13:16:50	3004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862496,3,'9.8725',1)
2023-10-13	13:16:50	3004	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:50	3004	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:50	3004	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862496 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:50	3004	[DEBUG]	Store custom available field
2023-10-13	13:16:50	3004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862496,6,'choisir la taille',3)
2023-10-13	13:16:50	3004	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:50	3004	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:50	3004	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:50	3004	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:50	3004	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862496 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:50	3004	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:50	3004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862496,8,1)
2023-10-13	13:16:50	3004	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:50	3004	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862496\":[1862496,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862496
2023-10-13	13:16:50	3004	[DEBUG]	Checking category
2023-10-13	13:16:50	3004	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:50	3004	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862496
2023-10-13	13:16:50	3004	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:50	3004	[DEBUG]	Executed store
2023-10-13	13:16:50	3004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862496','7365')
2023-10-13	13:16:50	3004	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:50	3004	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862496 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:50	3004	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:50	3004	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862496
2023-10-13	13:16:50	3005	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:50	3005	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:50	3005	[DEBUG]	Use field value for field taille
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:50	3005	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:50	3005	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:50	3005	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:50	3005	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:50	3005	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:50	3005	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:50	3005	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:50	3005	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:50	3005	[DEBUG]	Use field value for field published
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:50	3005	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field override
2023-10-13	13:16:50	3005	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:50	3005	[DEBUG]	Use field value for field slug
2023-10-13	13:16:50	3005	[DEBUG]	Process line 3005
2023-10-13	13:16:50	3005	[DEBUG]	Load a row
2023-10-13	13:16:50	3005	[DEBUG]	Processing item: 1000005785758
2023-10-13	13:16:50	3005	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:50	3005	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:50	3005	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9588_207'
2023-10-13	13:16:50	3005	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:50	3005	[DEBUG]	Processing product tax
2023-10-13	13:16:50	3005	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:50	3005	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:50	3005	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:50	3005	[DEBUG]	Query for Product
2023-10-13	13:16:50	3005	[DEBUG]	Executed store
2023-10-13	13:16:50	3005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862496','1000005785758','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:50	3005	[DEBUG]	No parent found
2023-10-13	13:16:50	3005	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862496 AND customfield_value = 'stockable'
2023-10-13	13:16:50	3005	[DEBUG]	Check product language entry
2023-10-13	13:16:50	3005	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862497
2023-10-13	13:16:50	3005	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:50	3005	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000005785758' AND `virtuemart_product_id` != 1862497
2023-10-13	13:16:50	3005	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:50	3005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862497, '1000005785758')
2023-10-13	13:16:50	3005	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:50	3005	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-fox-oz-600ml-pink-unitaire' AND `virtuemart_product_id` != 1862497
2023-10-13	13:16:50	3005	[DEBUG]	Query for ProductLang
2023-10-13	13:16:50	3005	[DEBUG]	Executed store
2023-10-13	13:16:50	3005	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon FOX OZ 600ml / Pink (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-fox-oz-600ml-pink-unitaire' WHERE `virtuemart_product_id` = '1862497'
2023-10-13	13:16:50	3005	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38964_bidon_fox_oz_600ml.jpg has not been found.
2023-10-13	13:16:50	3005	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:50	3005	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862497 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:50	3005	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:50	3005	[DEBUG]	Executed store
2023-10-13	13:16:50	3005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862497','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:50	3005	[DEBUG]	Checking manufacturer
2023-10-13	13:16:50	3005	[DEBUG]	Load a row
2023-10-13	13:16:50	3005	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:50	3005	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:50	3005	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:50	3005	[DEBUG]	Executed store
2023-10-13	13:16:50	3005	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:50	3005	[DEBUG]	Manufacturer exists
2023-10-13	13:16:50	3005	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:50	3005	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:50	3005	[DEBUG]	Executed store
2023-10-13	13:16:50	3005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862497','206')
2023-10-13	13:16:50	3005	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:50	3005	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:50	3005	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862497 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:50	3005	[DEBUG]	Store custom available field
2023-10-13	13:16:50	3005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862497,3,'',1)
2023-10-13	13:16:50	3005	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:50	3005	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:50	3005	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862497 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:50	3005	[DEBUG]	Store custom available field
2023-10-13	13:16:50	3005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862497,6,'Unitaire',3)
2023-10-13	13:16:50	3005	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:50	3005	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:50	3005	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862496
2023-10-13	13:16:50	3005	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:50	3005	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862496\":[1862496,8,1,\"choisir la taille\"],\"1862497\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862496
2023-10-13	13:16:50	3005	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:50	3005	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862497
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:50	3006	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field taille
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:50	3006	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:50	3006	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:50	3006	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:50	3006	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:50	3006	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:50	3006	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field published
2023-10-13	13:16:50	3006	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:50	3006	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field override
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:50	3006	[DEBUG]	Use field value for field slug
2023-10-13	13:16:50	3006	[DEBUG]	Process line 3006
2023-10-13	13:16:50	3006	[DEBUG]	Load a row
2023-10-13	13:16:50	3006	[DEBUG]	Processing item: A_9588_812
2023-10-13	13:16:50	3006	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:50	3006	[DEBUG]	Processing product tax
2023-10-13	13:16:50	3006	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:50	3006	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:50	3006	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:50	3006	[DEBUG]	Query for Product
2023-10-13	13:16:50	3006	[DEBUG]	Executed store
2023-10-13	13:16:50	3006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9588_812','0.005','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:50	3006	[DEBUG]	Check product language entry
2023-10-13	13:16:50	3006	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862498
2023-10-13	13:16:50	3006	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:50	3006	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9588_812' AND `virtuemart_product_id` != 1862498
2023-10-13	13:16:50	3006	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:50	3006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862498, 'A_9588_812')
2023-10-13	13:16:50	3006	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:50	3006	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-fox-oz-600ml-mocca' AND `virtuemart_product_id` != 1862498
2023-10-13	13:16:50	3006	[DEBUG]	Query for ProductLang
2023-10-13	13:16:50	3006	[DEBUG]	Executed store
2023-10-13	13:16:50	3006	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Bidon MSC SQUEEZE&DRINK. 600cc<br>N° art fourn : 31190',`product_name`='MSC Bidon FOX OZ 600ml / Mocca',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-fox-oz-600ml-mocca' WHERE `virtuemart_product_id` = '1862498'
2023-10-13	13:16:50	3006	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38963_bidon_fox_oz_600ml.jpg has not been found.
2023-10-13	13:16:50	3006	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:50	3006	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862498 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:50	3006	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:50	3006	[DEBUG]	Executed store
2023-10-13	13:16:50	3006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862498','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:50	3006	[DEBUG]	Checking manufacturer
2023-10-13	13:16:50	3006	[DEBUG]	Load a row
2023-10-13	13:16:50	3006	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:50	3006	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:50	3006	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:50	3006	[DEBUG]	Executed store
2023-10-13	13:16:50	3006	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:50	3006	[DEBUG]	Manufacturer exists
2023-10-13	13:16:50	3006	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:50	3006	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:50	3006	[DEBUG]	Executed store
2023-10-13	13:16:50	3006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862498','206')
2023-10-13	13:16:50	3006	[DEBUG]	Find the custom field ID
2023-10-13	13:16:50	3006	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:50	3006	[DEBUG]	No custom field ID found
2023-10-13	13:16:50	3006	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:50	3006	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	13:16:50	3006	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862498 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:50	3006	[DEBUG]	Store custom available field
2023-10-13	13:16:50	3006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862498,3,'9.8725',1)
2023-10-13	13:16:50	3006	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:50	3006	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:50	3006	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862498 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:50	3006	[DEBUG]	Store custom available field
2023-10-13	13:16:50	3006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862498,6,'choisir la taille',3)
2023-10-13	13:16:50	3006	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:50	3006	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:50	3006	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:50	3006	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:50	3006	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862498 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:50	3006	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:50	3006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862498,8,1)
2023-10-13	13:16:50	3006	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:50	3006	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862498\":[1862498,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862498
2023-10-13	13:16:50	3006	[DEBUG]	Checking category
2023-10-13	13:16:50	3006	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:50	3006	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862498
2023-10-13	13:16:50	3006	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:50	3006	[DEBUG]	Executed store
2023-10-13	13:16:50	3006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862498','7365')
2023-10-13	13:16:50	3006	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:50	3006	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862498 AND `virtuemart_category_id` NOT IN (7365)
2023-10-13	13:16:50	3006	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:50	3006	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862498
2023-10-13	13:16:50	3007	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:50	3007	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:50	3007	[DEBUG]	Use field value for field taille
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:50	3007	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:50	3007	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:50	3007	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:50	3007	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:50	3007	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:50	3007	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:50	3007	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:50	3007	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:50	3007	[DEBUG]	Use field value for field published
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:50	3007	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field override
2023-10-13	13:16:50	3007	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:50	3007	[DEBUG]	Use field value for field slug
2023-10-13	13:16:50	3007	[DEBUG]	Process line 3007
2023-10-13	13:16:50	3007	[DEBUG]	Load a row
2023-10-13	13:16:50	3007	[DEBUG]	Processing item: 1000005785741
2023-10-13	13:16:50	3007	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:50	3007	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:50	3007	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9588_812'
2023-10-13	13:16:50	3007	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:50	3007	[DEBUG]	Processing product tax
2023-10-13	13:16:50	3007	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:50	3007	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:50	3007	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:50	3007	[DEBUG]	Query for Product
2023-10-13	13:16:50	3007	[DEBUG]	Executed store
2023-10-13	13:16:50	3007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862498','1000005785741','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:50	3007	[DEBUG]	No parent found
2023-10-13	13:16:50	3007	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862498 AND customfield_value = 'stockable'
2023-10-13	13:16:50	3007	[DEBUG]	Check product language entry
2023-10-13	13:16:50	3007	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862499
2023-10-13	13:16:50	3007	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:50	3007	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000005785741' AND `virtuemart_product_id` != 1862499
2023-10-13	13:16:50	3007	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:50	3007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862499, '1000005785741')
2023-10-13	13:16:50	3007	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:50	3007	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bidon-fox-oz-600ml-mocca-unitaire' AND `virtuemart_product_id` != 1862499
2023-10-13	13:16:50	3007	[DEBUG]	Query for ProductLang
2023-10-13	13:16:50	3007	[DEBUG]	Executed store
2023-10-13	13:16:50	3007	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bidon FOX OZ 600ml / Mocca (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bidon-fox-oz-600ml-mocca-unitaire' WHERE `virtuemart_product_id` = '1862499'
2023-10-13	13:16:50	3007	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38963_bidon_fox_oz_600ml.jpg has not been found.
2023-10-13	13:16:50	3007	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:50	3007	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862499 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:50	3007	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:50	3007	[DEBUG]	Executed store
2023-10-13	13:16:50	3007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862499','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:50	3007	[DEBUG]	Checking manufacturer
2023-10-13	13:16:50	3007	[DEBUG]	Load a row
2023-10-13	13:16:50	3007	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:50	3007	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:50	3007	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:50	3007	[DEBUG]	Executed store
2023-10-13	13:16:50	3007	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:16:50	3007	[DEBUG]	Manufacturer exists
2023-10-13	13:16:50	3007	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:16:50	3007	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:50	3007	[DEBUG]	Executed store
2023-10-13	13:16:50	3007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862499','206')
2023-10-13	13:16:50	3007	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:50	3007	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:50	3007	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862499 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:50	3007	[DEBUG]	Store custom available field
2023-10-13	13:16:50	3007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862499,3,'',1)
2023-10-13	13:16:50	3007	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:50	3007	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:50	3007	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862499 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:50	3007	[DEBUG]	Store custom available field
2023-10-13	13:16:50	3007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862499,6,'Unitaire',3)
2023-10-13	13:16:50	3007	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:50	3007	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:50	3007	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862498
2023-10-13	13:16:50	3007	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:50	3007	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862498\":[1862498,8,1,\"choisir la taille\"],\"1862499\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862498
2023-10-13	13:16:50	3007	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:50	3007	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862499
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:50	3008	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field taille
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:50	3008	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:50	3008	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:50	3008	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:50	3008	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:50	3008	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:50	3008	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field published
2023-10-13	13:16:50	3008	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:50	3008	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field override
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:50	3008	[DEBUG]	Use field value for field slug
2023-10-13	13:16:50	3008	[DEBUG]	Process line 3008
2023-10-13	13:16:50	3008	[DEBUG]	Load a row
2023-10-13	13:16:50	3008	[DEBUG]	Processing item: A_5108_208
2023-10-13	13:16:50	3008	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:50	3008	[DEBUG]	Processing product tax
2023-10-13	13:16:50	3008	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:50	3008	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:50	3008	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:50	3008	[DEBUG]	Query for Product
2023-10-13	13:16:50	3008	[DEBUG]	Executed store
2023-10-13	13:16:50	3008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5108_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:50	3008	[DEBUG]	Check product language entry
2023-10-13	13:16:50	3008	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862500
2023-10-13	13:16:50	3008	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:50	3008	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5108_208' AND `virtuemart_product_id` != 1862500
2023-10-13	13:16:50	3008	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:50	3008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862500, 'A_5108_208')
2023-10-13	13:16:50	3008	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:50	3008	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-fixation-porte-bidon-plastique-noir-aucune' AND `virtuemart_product_id` != 1862500
2023-10-13	13:16:50	3008	[DEBUG]	Query for ProductLang
2023-10-13	13:16:50	3008	[DEBUG]	Executed store
2023-10-13	13:16:50	3008	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 17.52038',`product_name`='SKS SKS Fixation porte-bidon plastique noir / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-fixation-porte-bidon-plastique-noir-aucune' WHERE `virtuemart_product_id` = '1862500'
2023-10-13	13:16:50	3008	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29570_sks_fixation_porte-bidon_plastique_noir.jpg
2023-10-13	13:16:50	3008	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:50	3008	[DEBUG]	Process image file
2023-10-13	13:16:50	3008	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:50	3008	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:50	3008	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29570_sks_fixation_porte-bidon_plastique_noir.jpg
2023-10-13	13:16:50	3008	[DEBUG]	Full name target: bcprisme/29570_sks_fixation_porte-bidon_plastique_noir.jpg
2023-10-13	13:16:51	3008	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:51	3008	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29570_sks_fixation_porte-bidon_plastique_noir.jpg'
2023-10-13	13:16:51	3008	[DEBUG]	Query for Media
2023-10-13	13:16:51	3008	[DEBUG]	Executed store
2023-10-13	13:16:51	3008	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29570_sks_fixation_porte-bidon_plastique_noir.jpg',`file_url_thumb`='bcprisme/29570_sks_fixation_porte-bidon_plastique_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13034'
2023-10-13	13:16:51	3008	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:51	3008	[DEBUG]	Executed store
2023-10-13	13:16:51	3008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862500','13034','1')
2023-10-13	13:16:51	3008	[DEBUG]	Store product image relation
2023-10-13	13:16:51	3008	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:51	3008	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862500 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:51	3008	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:51	3008	[DEBUG]	Executed store
2023-10-13	13:16:51	3008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862500','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:51	3008	[DEBUG]	Checking manufacturer
2023-10-13	13:16:51	3008	[DEBUG]	Load a row
2023-10-13	13:16:51	3008	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:51	3008	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:16:51	3008	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:51	3008	[DEBUG]	Executed store
2023-10-13	13:16:51	3008	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:16:51	3008	[DEBUG]	Manufacturer exists
2023-10-13	13:16:51	3008	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:16:51	3008	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:51	3008	[DEBUG]	Executed store
2023-10-13	13:16:51	3008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862500','8')
2023-10-13	13:16:51	3008	[DEBUG]	Find the custom field ID
2023-10-13	13:16:51	3008	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:51	3008	[DEBUG]	No custom field ID found
2023-10-13	13:16:51	3008	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:51	3008	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:16:51	3008	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862500 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:51	3008	[DEBUG]	Store custom available field
2023-10-13	13:16:51	3008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862500,3,'0',1)
2023-10-13	13:16:51	3008	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:51	3008	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:51	3008	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862500 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:51	3008	[DEBUG]	Store custom available field
2023-10-13	13:16:51	3008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862500,6,'choisir la taille',3)
2023-10-13	13:16:51	3008	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:51	3008	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:51	3008	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:51	3008	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:51	3008	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862500 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:51	3008	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:51	3008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862500,8,1)
2023-10-13	13:16:51	3008	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:51	3008	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862500\":[1862500,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862500
2023-10-13	13:16:51	3008	[DEBUG]	Checking category
2023-10-13	13:16:51	3008	[DEBUG]	Check if category path exists: PORTE-BIDONS - BIDONHALTER
2023-10-13	13:16:51	3008	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PORTE-BIDONS - BIDONHALTER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7363
2023-10-13	13:16:51	3008	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:51	3008	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862500
2023-10-13	13:16:51	3008	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:51	3008	[DEBUG]	Executed store
2023-10-13	13:16:51	3008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862500','7366')
2023-10-13	13:16:51	3008	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:51	3008	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862500 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:16:51	3008	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:51	3008	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862500
2023-10-13	13:16:51	3009	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:51	3009	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:51	3009	[DEBUG]	Use field value for field taille
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:51	3009	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:51	3009	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:51	3009	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:51	3009	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:51	3009	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:51	3009	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:51	3009	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:51	3009	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:51	3009	[DEBUG]	Use field value for field published
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:51	3009	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field override
2023-10-13	13:16:51	3009	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:51	3009	[DEBUG]	Use field value for field slug
2023-10-13	13:16:51	3009	[DEBUG]	Process line 3009
2023-10-13	13:16:51	3009	[DEBUG]	Load a row
2023-10-13	13:16:51	3009	[DEBUG]	Processing item: 4002556443399
2023-10-13	13:16:51	3009	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:51	3009	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:51	3009	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5108_208'
2023-10-13	13:16:51	3009	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:51	3009	[DEBUG]	Processing product tax
2023-10-13	13:16:51	3009	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:51	3009	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:51	3009	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:51	3009	[DEBUG]	Query for Product
2023-10-13	13:16:51	3009	[DEBUG]	Executed store
2023-10-13	13:16:51	3009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862500','4002556443399','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:51	3009	[DEBUG]	No parent found
2023-10-13	13:16:51	3009	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862500 AND customfield_value = 'stockable'
2023-10-13	13:16:51	3009	[DEBUG]	Check product language entry
2023-10-13	13:16:51	3009	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862501
2023-10-13	13:16:51	3009	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:51	3009	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4002556443399' AND `virtuemart_product_id` != 1862501
2023-10-13	13:16:51	3009	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:51	3009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862501, '4002556443399')
2023-10-13	13:16:51	3009	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:51	3009	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sks-sks-fixation-porte-bidon-plastique-noir-aucune-all' AND `virtuemart_product_id` != 1862501
2023-10-13	13:16:51	3009	[DEBUG]	Query for ProductLang
2023-10-13	13:16:51	3009	[DEBUG]	Executed store
2023-10-13	13:16:51	3009	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SKS SKS Fixation porte-bidon plastique noir / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sks-sks-fixation-porte-bidon-plastique-noir-aucune-all' WHERE `virtuemart_product_id` = '1862501'
2023-10-13	13:16:51	3009	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29570_sks_fixation_porte-bidon_plastique_noir.jpg
2023-10-13	13:16:51	3009	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:51	3009	[DEBUG]	Process image file
2023-10-13	13:16:51	3009	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:51	3009	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:51	3009	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29570_sks_fixation_porte-bidon_plastique_noir.jpg
2023-10-13	13:16:51	3009	[DEBUG]	Full name target: bcprisme/29570_sks_fixation_porte-bidon_plastique_noir.jpg
2023-10-13	13:16:52	3009	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:52	3009	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29570_sks_fixation_porte-bidon_plastique_noir.jpg'
2023-10-13	13:16:52	3009	[DEBUG]	Query for Media
2023-10-13	13:16:52	3009	[DEBUG]	Executed store
2023-10-13	13:16:52	3009	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29570_sks_fixation_porte-bidon_plastique_noir.jpg',`file_url_thumb`='bcprisme/29570_sks_fixation_porte-bidon_plastique_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13034'
2023-10-13	13:16:52	3009	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:52	3009	[DEBUG]	Executed store
2023-10-13	13:16:52	3009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862501','13034','1')
2023-10-13	13:16:52	3009	[DEBUG]	Store product image relation
2023-10-13	13:16:52	3009	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:52	3009	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862501 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:52	3009	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:52	3009	[DEBUG]	Executed store
2023-10-13	13:16:52	3009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862501','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:52	3009	[DEBUG]	Checking manufacturer
2023-10-13	13:16:52	3009	[DEBUG]	Load a row
2023-10-13	13:16:52	3009	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:52	3009	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:16:52	3009	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:52	3009	[DEBUG]	Executed store
2023-10-13	13:16:52	3009	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SUPER B',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='super-b' WHERE `virtuemart_manufacturer_id` = '8'
2023-10-13	13:16:52	3009	[DEBUG]	Manufacturer exists
2023-10-13	13:16:52	3009	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 8
2023-10-13	13:16:52	3009	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:52	3009	[DEBUG]	Executed store
2023-10-13	13:16:52	3009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862501','8')
2023-10-13	13:16:52	3009	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:52	3009	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:52	3009	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862501 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:52	3009	[DEBUG]	Store custom available field
2023-10-13	13:16:52	3009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862501,3,'',1)
2023-10-13	13:16:52	3009	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:52	3009	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:16:52	3009	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862501 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:52	3009	[DEBUG]	Store custom available field
2023-10-13	13:16:52	3009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862501,6,'All',3)
2023-10-13	13:16:52	3009	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:52	3009	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:52	3009	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862500
2023-10-13	13:16:52	3009	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:52	3009	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862500\":[1862500,8,1,\"choisir la taille\"],\"1862501\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862500
2023-10-13	13:16:52	3009	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:52	3009	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862501
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:52	3010	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field taille
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:52	3010	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:52	3010	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:52	3010	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:52	3010	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:52	3010	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:52	3010	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field published
2023-10-13	13:16:52	3010	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:52	3010	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field override
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:52	3010	[DEBUG]	Use field value for field slug
2023-10-13	13:16:52	3010	[DEBUG]	Process line 3010
2023-10-13	13:16:52	3010	[DEBUG]	Load a row
2023-10-13	13:16:52	3010	[DEBUG]	Processing item: A_5130_1
2023-10-13	13:16:52	3010	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:52	3010	[DEBUG]	Processing product tax
2023-10-13	13:16:52	3010	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:52	3010	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:52	3010	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:52	3010	[DEBUG]	Query for Product
2023-10-13	13:16:52	3010	[DEBUG]	Executed store
2023-10-13	13:16:52	3010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5130_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:52	3010	[DEBUG]	Check product language entry
2023-10-13	13:16:52	3010	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862502
2023-10-13	13:16:52	3010	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:52	3010	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5130_1' AND `virtuemart_product_id` != 1862502
2023-10-13	13:16:52	3010	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:52	3010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862502, 'A_5130_1')
2023-10-13	13:16:52	3010	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:52	3010	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-support-porte-gourde-klick-fix-43-mm-noir-noir' AND `virtuemart_product_id` != 1862502
2023-10-13	13:16:52	3010	[DEBUG]	Query for ProductLang
2023-10-13	13:16:52	3010	[DEBUG]	Executed store
2023-10-13	13:16:52	3010	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 480.003.006',`product_name`='KLICKFIX SUPPORT PORTE-GOURDE KLICK-FIX 43 MM NOIR / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-support-porte-gourde-klick-fix-43-mm-noir-noir' WHERE `virtuemart_product_id` = '1862502'
2023-10-13	13:16:52	3010	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29592_support_porte-gourde_klick-fix_43_mm_noir.jpg
2023-10-13	13:16:52	3010	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:52	3010	[DEBUG]	Process image file
2023-10-13	13:16:52	3010	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:52	3010	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:52	3010	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29592_support_porte-gourde_klick-fix_43_mm_noir.jpg
2023-10-13	13:16:52	3010	[DEBUG]	Full name target: bcprisme/29592_support_porte-gourde_klick-fix_43_mm_noir.jpg
2023-10-13	13:16:53	3010	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:53	3010	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29592_support_porte-gourde_klick-fix_43_mm_noir.jpg'
2023-10-13	13:16:53	3010	[DEBUG]	Query for Media
2023-10-13	13:16:53	3010	[DEBUG]	Executed store
2023-10-13	13:16:53	3010	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29592_support_porte-gourde_klick-fix_43_mm_noir.jpg',`file_url_thumb`='bcprisme/29592_support_porte-gourde_klick-fix_43_mm_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13035'
2023-10-13	13:16:53	3010	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:53	3010	[DEBUG]	Executed store
2023-10-13	13:16:53	3010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862502','13035','1')
2023-10-13	13:16:53	3010	[DEBUG]	Store product image relation
2023-10-13	13:16:53	3010	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:53	3010	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862502 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:53	3010	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:53	3010	[DEBUG]	Executed store
2023-10-13	13:16:53	3010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862502','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:53	3010	[DEBUG]	Checking manufacturer
2023-10-13	13:16:53	3010	[DEBUG]	Load a row
2023-10-13	13:16:53	3010	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:53	3010	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:16:53	3010	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:53	3010	[DEBUG]	Executed store
2023-10-13	13:16:53	3010	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-58992307618' WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:16:53	3010	[DEBUG]	Manufacturer exists
2023-10-13	13:16:53	3010	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 167
2023-10-13	13:16:53	3010	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:53	3010	[DEBUG]	Executed store
2023-10-13	13:16:53	3010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862502','167')
2023-10-13	13:16:53	3010	[DEBUG]	Find the custom field ID
2023-10-13	13:16:53	3010	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:53	3010	[DEBUG]	No custom field ID found
2023-10-13	13:16:53	3010	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:53	3010	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:16:53	3010	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862502 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:53	3010	[DEBUG]	Store custom available field
2023-10-13	13:16:53	3010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862502,3,'0',1)
2023-10-13	13:16:53	3010	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:53	3010	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:53	3010	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862502 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:53	3010	[DEBUG]	Store custom available field
2023-10-13	13:16:53	3010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862502,6,'choisir la taille',3)
2023-10-13	13:16:53	3010	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:53	3010	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:53	3010	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:53	3010	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:53	3010	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862502 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:53	3010	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:53	3010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862502,8,1)
2023-10-13	13:16:53	3010	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:53	3010	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862502\":[1862502,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862502
2023-10-13	13:16:53	3010	[DEBUG]	Checking category
2023-10-13	13:16:53	3010	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:53	3010	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862502
2023-10-13	13:16:53	3010	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:53	3010	[DEBUG]	Executed store
2023-10-13	13:16:53	3010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862502','7366')
2023-10-13	13:16:53	3010	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:53	3010	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862502 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:16:53	3010	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:53	3010	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862502
2023-10-13	13:16:53	3011	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:53	3011	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:53	3011	[DEBUG]	Use field value for field taille
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:53	3011	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:53	3011	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:53	3011	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:53	3011	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:53	3011	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:53	3011	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:53	3011	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:53	3011	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:53	3011	[DEBUG]	Use field value for field published
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:53	3011	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field override
2023-10-13	13:16:53	3011	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:53	3011	[DEBUG]	Use field value for field slug
2023-10-13	13:16:53	3011	[DEBUG]	Process line 3011
2023-10-13	13:16:53	3011	[DEBUG]	Load a row
2023-10-13	13:16:53	3011	[DEBUG]	Processing item: 4030572104000
2023-10-13	13:16:53	3011	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:53	3011	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:53	3011	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5130_1'
2023-10-13	13:16:53	3011	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:53	3011	[DEBUG]	Processing product tax
2023-10-13	13:16:53	3011	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:53	3011	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:53	3011	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:53	3011	[DEBUG]	Query for Product
2023-10-13	13:16:53	3011	[DEBUG]	Executed store
2023-10-13	13:16:53	3011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862502','4030572104000','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:53	3011	[DEBUG]	No parent found
2023-10-13	13:16:53	3011	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862502 AND customfield_value = 'stockable'
2023-10-13	13:16:53	3011	[DEBUG]	Check product language entry
2023-10-13	13:16:53	3011	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862503
2023-10-13	13:16:53	3011	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:53	3011	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572104000' AND `virtuemart_product_id` != 1862503
2023-10-13	13:16:53	3011	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:53	3011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862503, '4030572104000')
2023-10-13	13:16:53	3011	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:53	3011	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-support-porte-gourde-klick-fix-43-mm-noir-noir-all' AND `virtuemart_product_id` != 1862503
2023-10-13	13:16:53	3011	[DEBUG]	Query for ProductLang
2023-10-13	13:16:53	3011	[DEBUG]	Executed store
2023-10-13	13:16:53	3011	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKFIX SUPPORT PORTE-GOURDE KLICK-FIX 43 MM NOIR / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-support-porte-gourde-klick-fix-43-mm-noir-noir-all' WHERE `virtuemart_product_id` = '1862503'
2023-10-13	13:16:53	3011	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29592_support_porte-gourde_klick-fix_43_mm_noir.jpg
2023-10-13	13:16:53	3011	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:53	3011	[DEBUG]	Process image file
2023-10-13	13:16:53	3011	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:53	3011	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:53	3011	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29592_support_porte-gourde_klick-fix_43_mm_noir.jpg
2023-10-13	13:16:53	3011	[DEBUG]	Full name target: bcprisme/29592_support_porte-gourde_klick-fix_43_mm_noir.jpg
2023-10-13	13:16:54	3011	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:54	3011	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29592_support_porte-gourde_klick-fix_43_mm_noir.jpg'
2023-10-13	13:16:54	3011	[DEBUG]	Query for Media
2023-10-13	13:16:54	3011	[DEBUG]	Executed store
2023-10-13	13:16:54	3011	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29592_support_porte-gourde_klick-fix_43_mm_noir.jpg',`file_url_thumb`='bcprisme/29592_support_porte-gourde_klick-fix_43_mm_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13035'
2023-10-13	13:16:54	3011	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:54	3011	[DEBUG]	Executed store
2023-10-13	13:16:54	3011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862503','13035','1')
2023-10-13	13:16:54	3011	[DEBUG]	Store product image relation
2023-10-13	13:16:54	3011	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:54	3011	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862503 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:54	3011	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:54	3011	[DEBUG]	Executed store
2023-10-13	13:16:54	3011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862503','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:54	3011	[DEBUG]	Checking manufacturer
2023-10-13	13:16:54	3011	[DEBUG]	Load a row
2023-10-13	13:16:54	3011	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:54	3011	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:16:54	3011	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:54	3011	[DEBUG]	Executed store
2023-10-13	13:16:54	3011	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-58992307618' WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:16:54	3011	[DEBUG]	Manufacturer exists
2023-10-13	13:16:54	3011	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 167
2023-10-13	13:16:54	3011	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:54	3011	[DEBUG]	Executed store
2023-10-13	13:16:54	3011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862503','167')
2023-10-13	13:16:54	3011	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:54	3011	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:54	3011	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862503 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:54	3011	[DEBUG]	Store custom available field
2023-10-13	13:16:54	3011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862503,3,'',1)
2023-10-13	13:16:54	3011	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:54	3011	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:16:54	3011	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862503 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:54	3011	[DEBUG]	Store custom available field
2023-10-13	13:16:54	3011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862503,6,'All',3)
2023-10-13	13:16:54	3011	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:54	3011	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:54	3011	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862502
2023-10-13	13:16:54	3011	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:54	3011	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862502\":[1862502,8,1,\"choisir la taille\"],\"1862503\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862502
2023-10-13	13:16:54	3011	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:54	3011	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862503
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:54	3012	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field taille
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:54	3012	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:54	3012	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:54	3012	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:54	3012	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:54	3012	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:54	3012	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field published
2023-10-13	13:16:54	3012	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:54	3012	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field override
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:54	3012	[DEBUG]	Use field value for field slug
2023-10-13	13:16:54	3012	[DEBUG]	Process line 3012
2023-10-13	13:16:54	3012	[DEBUG]	Load a row
2023-10-13	13:16:54	3012	[DEBUG]	Processing item: A_5131_1
2023-10-13	13:16:54	3012	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:54	3012	[DEBUG]	Processing product tax
2023-10-13	13:16:54	3012	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:54	3012	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:54	3012	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:54	3012	[DEBUG]	Query for Product
2023-10-13	13:16:54	3012	[DEBUG]	Executed store
2023-10-13	13:16:54	3012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5131_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:54	3012	[DEBUG]	Check product language entry
2023-10-13	13:16:54	3012	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862504
2023-10-13	13:16:54	3012	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:54	3012	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5131_1' AND `virtuemart_product_id` != 1862504
2023-10-13	13:16:54	3012	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:54	3012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862504, 'A_5131_1')
2023-10-13	13:16:54	3012	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:54	3012	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-support-porte-gourde-klick-fix-bottle-klick-noir' AND `virtuemart_product_id` != 1862504
2023-10-13	13:16:54	3012	[DEBUG]	Query for ProductLang
2023-10-13	13:16:54	3012	[DEBUG]	Executed store
2023-10-13	13:16:54	3012	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 22.751',`product_name`='KLICKFIX SUPPORT PORTE-GOURDE KLICK-FIX BOTTLE KLICK / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-support-porte-gourde-klick-fix-bottle-klick-noir' WHERE `virtuemart_product_id` = '1862504'
2023-10-13	13:16:54	3012	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29593_support_porte-gourde_klick-fix_bottle_klick.jpg
2023-10-13	13:16:54	3012	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:54	3012	[DEBUG]	Process image file
2023-10-13	13:16:54	3012	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:54	3012	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:54	3012	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29593_support_porte-gourde_klick-fix_bottle_klick.jpg
2023-10-13	13:16:54	3012	[DEBUG]	Full name target: bcprisme/29593_support_porte-gourde_klick-fix_bottle_klick.jpg
2023-10-13	13:16:55	3012	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:55	3012	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29593_support_porte-gourde_klick-fix_bottle_klick.jpg'
2023-10-13	13:16:55	3012	[DEBUG]	Query for Media
2023-10-13	13:16:55	3012	[DEBUG]	Executed store
2023-10-13	13:16:55	3012	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29593_support_porte-gourde_klick-fix_bottle_klick.jpg',`file_url_thumb`='bcprisme/29593_support_porte-gourde_klick-fix_bottle_klick.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13036'
2023-10-13	13:16:55	3012	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:55	3012	[DEBUG]	Executed store
2023-10-13	13:16:55	3012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862504','13036','1')
2023-10-13	13:16:55	3012	[DEBUG]	Store product image relation
2023-10-13	13:16:55	3012	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:55	3012	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862504 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:55	3012	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:55	3012	[DEBUG]	Executed store
2023-10-13	13:16:55	3012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862504','0','21.2627669452182','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:55	3012	[DEBUG]	Checking manufacturer
2023-10-13	13:16:55	3012	[DEBUG]	Load a row
2023-10-13	13:16:55	3012	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:55	3012	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:16:55	3012	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:55	3012	[DEBUG]	Executed store
2023-10-13	13:16:55	3012	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-58992307618' WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:16:55	3012	[DEBUG]	Manufacturer exists
2023-10-13	13:16:55	3012	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 167
2023-10-13	13:16:55	3012	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:55	3012	[DEBUG]	Executed store
2023-10-13	13:16:55	3012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862504','167')
2023-10-13	13:16:55	3012	[DEBUG]	Find the custom field ID
2023-10-13	13:16:55	3012	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:55	3012	[DEBUG]	No custom field ID found
2023-10-13	13:16:55	3012	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:55	3012	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:16:55	3012	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862504 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:55	3012	[DEBUG]	Store custom available field
2023-10-13	13:16:55	3012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862504,3,'0',1)
2023-10-13	13:16:55	3012	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:55	3012	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:55	3012	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862504 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:55	3012	[DEBUG]	Store custom available field
2023-10-13	13:16:55	3012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862504,6,'choisir la taille',3)
2023-10-13	13:16:55	3012	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:55	3012	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:55	3012	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:55	3012	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:55	3012	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862504 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:55	3012	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:55	3012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862504,8,1)
2023-10-13	13:16:55	3012	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:55	3012	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862504\":[1862504,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862504
2023-10-13	13:16:55	3012	[DEBUG]	Checking category
2023-10-13	13:16:55	3012	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:55	3012	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862504
2023-10-13	13:16:55	3012	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:55	3012	[DEBUG]	Executed store
2023-10-13	13:16:55	3012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862504','7366')
2023-10-13	13:16:55	3012	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:55	3012	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862504 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:16:55	3012	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:55	3012	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862504
2023-10-13	13:16:55	3013	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:55	3013	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:55	3013	[DEBUG]	Use field value for field taille
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:55	3013	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:55	3013	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:55	3013	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:55	3013	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:55	3013	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:55	3013	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:55	3013	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:55	3013	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:55	3013	[DEBUG]	Use field value for field published
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:55	3013	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field override
2023-10-13	13:16:55	3013	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:55	3013	[DEBUG]	Use field value for field slug
2023-10-13	13:16:55	3013	[DEBUG]	Process line 3013
2023-10-13	13:16:55	3013	[DEBUG]	Load a row
2023-10-13	13:16:55	3013	[DEBUG]	Processing item: 4030572002184
2023-10-13	13:16:55	3013	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:55	3013	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:55	3013	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5131_1'
2023-10-13	13:16:55	3013	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:55	3013	[DEBUG]	Processing product tax
2023-10-13	13:16:55	3013	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:55	3013	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:55	3013	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:55	3013	[DEBUG]	Query for Product
2023-10-13	13:16:55	3013	[DEBUG]	Executed store
2023-10-13	13:16:55	3013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862504','4030572002184','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:55	3013	[DEBUG]	No parent found
2023-10-13	13:16:55	3013	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862504 AND customfield_value = 'stockable'
2023-10-13	13:16:55	3013	[DEBUG]	Check product language entry
2023-10-13	13:16:55	3013	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862505
2023-10-13	13:16:55	3013	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:55	3013	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572002184' AND `virtuemart_product_id` != 1862505
2023-10-13	13:16:55	3013	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:55	3013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862505, '4030572002184')
2023-10-13	13:16:55	3013	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:55	3013	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-support-porte-gourde-klick-fix-bottle-klick-noir-all' AND `virtuemart_product_id` != 1862505
2023-10-13	13:16:55	3013	[DEBUG]	Query for ProductLang
2023-10-13	13:16:55	3013	[DEBUG]	Executed store
2023-10-13	13:16:55	3013	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKFIX SUPPORT PORTE-GOURDE KLICK-FIX BOTTLE KLICK / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-support-porte-gourde-klick-fix-bottle-klick-noir-all' WHERE `virtuemart_product_id` = '1862505'
2023-10-13	13:16:55	3013	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29593_support_porte-gourde_klick-fix_bottle_klick.jpg
2023-10-13	13:16:55	3013	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:55	3013	[DEBUG]	Process image file
2023-10-13	13:16:55	3013	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:16:55	3013	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:55	3013	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29593_support_porte-gourde_klick-fix_bottle_klick.jpg
2023-10-13	13:16:55	3013	[DEBUG]	Full name target: bcprisme/29593_support_porte-gourde_klick-fix_bottle_klick.jpg
2023-10-13	13:16:56	3013	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:56	3013	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29593_support_porte-gourde_klick-fix_bottle_klick.jpg'
2023-10-13	13:16:56	3013	[DEBUG]	Query for Media
2023-10-13	13:16:56	3013	[DEBUG]	Executed store
2023-10-13	13:16:56	3013	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29593_support_porte-gourde_klick-fix_bottle_klick.jpg',`file_url_thumb`='bcprisme/29593_support_porte-gourde_klick-fix_bottle_klick.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13036'
2023-10-13	13:16:56	3013	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:56	3013	[DEBUG]	Executed store
2023-10-13	13:16:56	3013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862505','13036','1')
2023-10-13	13:16:56	3013	[DEBUG]	Store product image relation
2023-10-13	13:16:56	3013	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:56	3013	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862505 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:56	3013	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:56	3013	[DEBUG]	Executed store
2023-10-13	13:16:56	3013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862505','0','21.2627669452182','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:56	3013	[DEBUG]	Checking manufacturer
2023-10-13	13:16:56	3013	[DEBUG]	Load a row
2023-10-13	13:16:56	3013	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:56	3013	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:16:56	3013	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:56	3013	[DEBUG]	Executed store
2023-10-13	13:16:56	3013	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-58992307618' WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:16:56	3013	[DEBUG]	Manufacturer exists
2023-10-13	13:16:56	3013	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 167
2023-10-13	13:16:56	3013	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:56	3013	[DEBUG]	Executed store
2023-10-13	13:16:56	3013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862505','167')
2023-10-13	13:16:56	3013	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:56	3013	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:56	3013	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862505 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:56	3013	[DEBUG]	Store custom available field
2023-10-13	13:16:56	3013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862505,3,'',1)
2023-10-13	13:16:56	3013	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:56	3013	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:16:56	3013	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862505 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:56	3013	[DEBUG]	Store custom available field
2023-10-13	13:16:56	3013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862505,6,'All',3)
2023-10-13	13:16:56	3013	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:56	3013	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:56	3013	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862504
2023-10-13	13:16:56	3013	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:56	3013	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862504\":[1862504,8,1,\"choisir la taille\"],\"1862505\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862504
2023-10-13	13:16:56	3013	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:56	3013	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862505
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:56	3014	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field taille
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:56	3014	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:56	3014	[DEBUG]	Use default value for field file_url
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:56	3014	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:56	3014	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:56	3014	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:56	3014	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:56	3014	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:56	3014	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field published
2023-10-13	13:16:56	3014	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:56	3014	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field override
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:56	3014	[DEBUG]	Use field value for field slug
2023-10-13	13:16:56	3014	[DEBUG]	Process line 3014
2023-10-13	13:16:56	3014	[DEBUG]	Load a row
2023-10-13	13:16:56	3014	[DEBUG]	Processing item: A_5288_1
2023-10-13	13:16:56	3014	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:56	3014	[DEBUG]	Processing product tax
2023-10-13	13:16:56	3014	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:56	3014	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:56	3014	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:56	3014	[DEBUG]	Query for Product
2023-10-13	13:16:56	3014	[DEBUG]	Executed store
2023-10-13	13:16:56	3014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5288_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:56	3014	[DEBUG]	Check product language entry
2023-10-13	13:16:56	3014	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862506
2023-10-13	13:16:56	3014	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:56	3014	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5288_1' AND `virtuemart_product_id` != 1862506
2023-10-13	13:16:56	3014	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:56	3014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862506, 'A_5288_1')
2023-10-13	13:16:56	3014	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:56	3014	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'zefal-bottlefix-ahead-noir' AND `virtuemart_product_id` != 1862506
2023-10-13	13:16:56	3014	[DEBUG]	Query for ProductLang
2023-10-13	13:16:56	3014	[DEBUG]	Executed store
2023-10-13	13:16:56	3014	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 22.750122',`product_name`='ZEFAL BottleFix ahead / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='zefal-bottlefix-ahead-noir' WHERE `virtuemart_product_id` = '1862506'
2023-10-13	13:16:56	3014	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:56	3014	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862506 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:56	3014	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:56	3014	[DEBUG]	Executed store
2023-10-13	13:16:56	3014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862506','0','15.1810584958217','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:56	3014	[DEBUG]	Checking manufacturer
2023-10-13	13:16:56	3014	[DEBUG]	Load a row
2023-10-13	13:16:56	3014	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:56	3014	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:56	3014	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:56	3014	[DEBUG]	Executed store
2023-10-13	13:16:56	3014	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52666636290' WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:56	3014	[DEBUG]	Manufacturer exists
2023-10-13	13:16:56	3014	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 132
2023-10-13	13:16:56	3014	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:56	3014	[DEBUG]	Executed store
2023-10-13	13:16:56	3014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862506','132')
2023-10-13	13:16:56	3014	[DEBUG]	Find the custom field ID
2023-10-13	13:16:56	3014	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:56	3014	[DEBUG]	No custom field ID found
2023-10-13	13:16:56	3014	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:56	3014	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:16:56	3014	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862506 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:56	3014	[DEBUG]	Store custom available field
2023-10-13	13:16:56	3014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862506,3,'0',1)
2023-10-13	13:16:56	3014	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:56	3014	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:56	3014	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862506 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:56	3014	[DEBUG]	Store custom available field
2023-10-13	13:16:56	3014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862506,6,'choisir la taille',3)
2023-10-13	13:16:56	3014	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:56	3014	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:56	3014	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:56	3014	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:56	3014	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862506 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:56	3014	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:56	3014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862506,8,1)
2023-10-13	13:16:56	3014	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:56	3014	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862506\":[1862506,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862506
2023-10-13	13:16:56	3014	[DEBUG]	Checking category
2023-10-13	13:16:56	3014	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:56	3014	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862506
2023-10-13	13:16:56	3014	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:56	3014	[DEBUG]	Executed store
2023-10-13	13:16:56	3014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862506','7366')
2023-10-13	13:16:56	3014	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:56	3014	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862506 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:16:56	3014	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:56	3014	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862506
2023-10-13	13:16:56	3015	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:56	3015	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:56	3015	[DEBUG]	Use field value for field taille
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:56	3015	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:56	3015	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:56	3015	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field file_url
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:56	3015	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:56	3015	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:56	3015	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:56	3015	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:56	3015	[DEBUG]	Use field value for field published
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:56	3015	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field override
2023-10-13	13:16:56	3015	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:56	3015	[DEBUG]	Use field value for field slug
2023-10-13	13:16:56	3015	[DEBUG]	Process line 3015
2023-10-13	13:16:56	3015	[DEBUG]	Load a row
2023-10-13	13:16:56	3015	[DEBUG]	Processing item: 1000000080957
2023-10-13	13:16:56	3015	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:56	3015	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:56	3015	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5288_1'
2023-10-13	13:16:56	3015	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:56	3015	[DEBUG]	Processing product tax
2023-10-13	13:16:56	3015	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:56	3015	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:56	3015	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:56	3015	[DEBUG]	Query for Product
2023-10-13	13:16:56	3015	[DEBUG]	Executed store
2023-10-13	13:16:56	3015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862506','1000000080957','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:56	3015	[DEBUG]	No parent found
2023-10-13	13:16:56	3015	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862506 AND customfield_value = 'stockable'
2023-10-13	13:16:56	3015	[DEBUG]	Check product language entry
2023-10-13	13:16:56	3015	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862507
2023-10-13	13:16:56	3015	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:56	3015	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000080957' AND `virtuemart_product_id` != 1862507
2023-10-13	13:16:56	3015	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:56	3015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862507, '1000000080957')
2023-10-13	13:16:56	3015	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:56	3015	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'zefal-bottlefix-ahead-noir-unitaire' AND `virtuemart_product_id` != 1862507
2023-10-13	13:16:56	3015	[DEBUG]	Query for ProductLang
2023-10-13	13:16:56	3015	[DEBUG]	Executed store
2023-10-13	13:16:56	3015	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ZEFAL BottleFix ahead / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='zefal-bottlefix-ahead-noir-unitaire' WHERE `virtuemart_product_id` = '1862507'
2023-10-13	13:16:56	3015	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:56	3015	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862507 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:56	3015	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:56	3015	[DEBUG]	Executed store
2023-10-13	13:16:56	3015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862507','0','15.1810584958217','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:56	3015	[DEBUG]	Checking manufacturer
2023-10-13	13:16:56	3015	[DEBUG]	Load a row
2023-10-13	13:16:56	3015	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:56	3015	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:56	3015	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:56	3015	[DEBUG]	Executed store
2023-10-13	13:16:56	3015	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52666636290' WHERE `virtuemart_manufacturer_id` = '132'
2023-10-13	13:16:56	3015	[DEBUG]	Manufacturer exists
2023-10-13	13:16:56	3015	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 132
2023-10-13	13:16:56	3015	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:56	3015	[DEBUG]	Executed store
2023-10-13	13:16:56	3015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862507','132')
2023-10-13	13:16:56	3015	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:56	3015	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:56	3015	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862507 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:56	3015	[DEBUG]	Store custom available field
2023-10-13	13:16:56	3015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862507,3,'',1)
2023-10-13	13:16:56	3015	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:56	3015	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:16:56	3015	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862507 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:56	3015	[DEBUG]	Store custom available field
2023-10-13	13:16:56	3015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862507,6,'Unitaire',3)
2023-10-13	13:16:56	3015	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:56	3015	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:56	3015	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862506
2023-10-13	13:16:56	3015	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:56	3015	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862506\":[1862506,8,1,\"choisir la taille\"],\"1862507\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862506
2023-10-13	13:16:56	3015	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:56	3015	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862507
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:56	3016	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field taille
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:56	3016	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:56	3016	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:56	3016	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:56	3016	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:56	3016	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:56	3016	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field published
2023-10-13	13:16:56	3016	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:56	3016	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field override
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:56	3016	[DEBUG]	Use field value for field slug
2023-10-13	13:16:56	3016	[DEBUG]	Process line 3016
2023-10-13	13:16:56	3016	[DEBUG]	Load a row
2023-10-13	13:16:56	3016	[DEBUG]	Processing item: A_8190_1
2023-10-13	13:16:56	3016	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:56	3016	[DEBUG]	Processing product tax
2023-10-13	13:16:56	3016	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:56	3016	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:56	3016	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:56	3016	[DEBUG]	Query for Product
2023-10-13	13:16:56	3016	[DEBUG]	Executed store
2023-10-13	13:16:56	3016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8190_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:56	3016	[DEBUG]	Check product language entry
2023-10-13	13:16:56	3016	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862508
2023-10-13	13:16:56	3016	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:56	3016	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8190_1' AND `virtuemart_product_id` != 1862508
2023-10-13	13:16:56	3016	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:56	3016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862508, 'A_8190_1')
2023-10-13	13:16:56	3016	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:56	3016	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-support-porte-gourde-topeak-cagemount-noir' AND `virtuemart_product_id` != 1862508
2023-10-13	13:16:56	3016	[DEBUG]	Query for ProductLang
2023-10-13	13:16:56	3016	[DEBUG]	Executed store
2023-10-13	13:16:56	3016	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 220.513',`product_name`='Topeak SUPPORT PORTE-GOURDE TOPEAK CageMount  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-support-porte-gourde-topeak-cagemount-noir' WHERE `virtuemart_product_id` = '1862508'
2023-10-13	13:16:56	3016	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36767_support_porte-gourde_topeak_cagemount_.jpg has not been found.
2023-10-13	13:16:56	3016	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:56	3016	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862508 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:56	3016	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:56	3016	[DEBUG]	Executed store
2023-10-13	13:16:56	3016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862508','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:56	3016	[DEBUG]	Checking manufacturer
2023-10-13	13:16:56	3016	[DEBUG]	Load a row
2023-10-13	13:16:56	3016	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:56	3016	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:16:56	3016	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:56	3016	[DEBUG]	Executed store
2023-10-13	13:16:56	3016	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:16:56	3016	[DEBUG]	Manufacturer exists
2023-10-13	13:16:56	3016	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:16:56	3016	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:56	3016	[DEBUG]	Executed store
2023-10-13	13:16:56	3016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862508','149')
2023-10-13	13:16:56	3016	[DEBUG]	Find the custom field ID
2023-10-13	13:16:56	3016	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:56	3016	[DEBUG]	No custom field ID found
2023-10-13	13:16:56	3016	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:56	3016	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:16:56	3016	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862508 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:56	3016	[DEBUG]	Store custom available field
2023-10-13	13:16:56	3016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862508,3,'0',1)
2023-10-13	13:16:56	3016	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:56	3016	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:56	3016	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862508 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:56	3016	[DEBUG]	Store custom available field
2023-10-13	13:16:56	3016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862508,6,'choisir la taille',3)
2023-10-13	13:16:56	3016	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:56	3016	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:56	3016	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:56	3016	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:56	3016	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862508 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:56	3016	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:56	3016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862508,8,1)
2023-10-13	13:16:56	3016	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:56	3016	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862508\":[1862508,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862508
2023-10-13	13:16:56	3016	[DEBUG]	Checking category
2023-10-13	13:16:56	3016	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:56	3016	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862508
2023-10-13	13:16:56	3016	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:56	3016	[DEBUG]	Executed store
2023-10-13	13:16:56	3016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862508','7366')
2023-10-13	13:16:56	3016	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:56	3016	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862508 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:16:56	3016	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:56	3016	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862508
2023-10-13	13:16:56	3017	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:56	3017	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:56	3017	[DEBUG]	Use field value for field taille
2023-10-13	13:16:56	3017	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:56	3017	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:56	3017	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:56	3017	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:56	3017	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:56	3017	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:56	3017	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:56	3017	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:56	3017	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:56	3017	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:56	3017	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:56	3017	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:57	3017	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:57	3017	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:57	3017	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:57	3017	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:57	3017	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:57	3017	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:57	3017	[DEBUG]	Use field value for field published
2023-10-13	13:16:57	3017	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:57	3017	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:57	3017	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:57	3017	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:57	3017	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:57	3017	[DEBUG]	Use default value for field override
2023-10-13	13:16:57	3017	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:57	3017	[DEBUG]	Use field value for field slug
2023-10-13	13:16:57	3017	[DEBUG]	Process line 3017
2023-10-13	13:16:57	3017	[DEBUG]	Load a row
2023-10-13	13:16:57	3017	[DEBUG]	Processing item: 4710069680414
2023-10-13	13:16:57	3017	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:57	3017	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:57	3017	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8190_1'
2023-10-13	13:16:57	3017	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:57	3017	[DEBUG]	Processing product tax
2023-10-13	13:16:57	3017	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:57	3017	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:57	3017	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:57	3017	[DEBUG]	Query for Product
2023-10-13	13:16:57	3017	[DEBUG]	Executed store
2023-10-13	13:16:57	3017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862508','4710069680414','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:57	3017	[DEBUG]	No parent found
2023-10-13	13:16:57	3017	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862508 AND customfield_value = 'stockable'
2023-10-13	13:16:57	3017	[DEBUG]	Check product language entry
2023-10-13	13:16:57	3017	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862509
2023-10-13	13:16:57	3017	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:57	3017	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4710069680414' AND `virtuemart_product_id` != 1862509
2023-10-13	13:16:57	3017	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:57	3017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862509, '4710069680414')
2023-10-13	13:16:57	3017	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:57	3017	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-support-porte-gourde-topeak-cagemount-noir-all' AND `virtuemart_product_id` != 1862509
2023-10-13	13:16:57	3017	[DEBUG]	Query for ProductLang
2023-10-13	13:16:57	3017	[DEBUG]	Executed store
2023-10-13	13:16:57	3017	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Topeak SUPPORT PORTE-GOURDE TOPEAK CageMount  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-support-porte-gourde-topeak-cagemount-noir-all' WHERE `virtuemart_product_id` = '1862509'
2023-10-13	13:16:57	3017	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36767_support_porte-gourde_topeak_cagemount_.jpg has not been found.
2023-10-13	13:16:57	3017	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:57	3017	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862509 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:57	3017	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:57	3017	[DEBUG]	Executed store
2023-10-13	13:16:57	3017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862509','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:57	3017	[DEBUG]	Checking manufacturer
2023-10-13	13:16:57	3017	[DEBUG]	Load a row
2023-10-13	13:16:57	3017	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:57	3017	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:16:57	3017	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:57	3017	[DEBUG]	Executed store
2023-10-13	13:16:57	3017	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:16:57	3017	[DEBUG]	Manufacturer exists
2023-10-13	13:16:57	3017	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:16:57	3017	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:57	3017	[DEBUG]	Executed store
2023-10-13	13:16:57	3017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862509','149')
2023-10-13	13:16:57	3017	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:57	3017	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:57	3017	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862509 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:57	3017	[DEBUG]	Store custom available field
2023-10-13	13:16:57	3017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862509,3,'',1)
2023-10-13	13:16:57	3017	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:57	3017	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:16:57	3017	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862509 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:57	3017	[DEBUG]	Store custom available field
2023-10-13	13:16:57	3017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862509,6,'All',3)
2023-10-13	13:16:57	3017	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:57	3017	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:57	3017	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862508
2023-10-13	13:16:57	3017	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:57	3017	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862508\":[1862508,8,1,\"choisir la taille\"],\"1862509\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862508
2023-10-13	13:16:57	3017	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:57	3017	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862509
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:57	3018	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field taille
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:57	3018	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:57	3018	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:57	3018	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:57	3018	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:57	3018	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:57	3018	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field published
2023-10-13	13:16:57	3018	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:57	3018	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field override
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:57	3018	[DEBUG]	Use field value for field slug
2023-10-13	13:16:57	3018	[DEBUG]	Process line 3018
2023-10-13	13:16:57	3018	[DEBUG]	Load a row
2023-10-13	13:16:57	3018	[DEBUG]	Processing item: A_8482_1
2023-10-13	13:16:57	3018	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:57	3018	[DEBUG]	Processing product tax
2023-10-13	13:16:57	3018	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:57	3018	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:57	3018	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:57	3018	[DEBUG]	Query for Product
2023-10-13	13:16:57	3018	[DEBUG]	Executed store
2023-10-13	13:16:57	3018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8482_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:57	3018	[DEBUG]	Check product language entry
2023-10-13	13:16:57	3018	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862510
2023-10-13	13:16:57	3018	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:57	3018	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8482_1' AND `virtuemart_product_id` != 1862510
2023-10-13	13:16:57	3018	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:57	3018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862510, 'A_8482_1')
2023-10-13	13:16:57	3018	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:57	3018	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-support-porte-gourde-pour-tige-de-selle-telescopiques-noir' AND `virtuemart_product_id` != 1862510
2023-10-13	13:16:57	3018	[DEBUG]	Query for ProductLang
2023-10-13	13:16:57	3018	[DEBUG]	Executed store
2023-10-13	13:16:57	3018	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 220.003.006',`product_name`='KLICKFIX SUPPORT PORTE-GOURDE POUR TIGE DE SELLE TELESCOPIQUES / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-support-porte-gourde-pour-tige-de-selle-telescopiques-noir' WHERE `virtuemart_product_id` = '1862510'
2023-10-13	13:16:57	3018	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37247_support_porte-gourde_pour_tige_de_selle_telescopiques.jpg
2023-10-13	13:16:57	3018	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:16:57	3018	[DEBUG]	Process image file
2023-10-13	13:16:57	3018	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:16:57	3018	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:57	3018	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37247_support_porte-gourde_pour_tige_de_selle_telescopiques.jpg
2023-10-13	13:16:57	3018	[DEBUG]	Full name target: bcprisme/37247_support_porte-gourde_pour_tige_de_selle_telescopiques.jpg
2023-10-13	13:16:58	3018	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:58	3018	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37247_support_porte-gourde_pour_tige_de_selle_telescopiques.jpg'
2023-10-13	13:16:58	3018	[DEBUG]	Query for Media
2023-10-13	13:16:58	3018	[DEBUG]	Executed store
2023-10-13	13:16:58	3018	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37247_support_porte-gourde_pour_tige_de_selle_telescopiques.jpg',`file_url_thumb`='bcprisme/37247_support_porte-gourde_pour_tige_de_selle_telescopiques.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '900640'
2023-10-13	13:16:58	3018	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:58	3018	[DEBUG]	Executed store
2023-10-13	13:16:58	3018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862510','900640','1')
2023-10-13	13:16:58	3018	[DEBUG]	Store product image relation
2023-10-13	13:16:58	3018	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:58	3018	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862510 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:58	3018	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:58	3018	[DEBUG]	Executed store
2023-10-13	13:16:58	3018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862510','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:58	3018	[DEBUG]	Checking manufacturer
2023-10-13	13:16:58	3018	[DEBUG]	Load a row
2023-10-13	13:16:58	3018	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:58	3018	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:16:58	3018	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:58	3018	[DEBUG]	Executed store
2023-10-13	13:16:58	3018	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-58992307618' WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:16:58	3018	[DEBUG]	Manufacturer exists
2023-10-13	13:16:58	3018	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 167
2023-10-13	13:16:58	3018	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:58	3018	[DEBUG]	Executed store
2023-10-13	13:16:58	3018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862510','167')
2023-10-13	13:16:58	3018	[DEBUG]	Find the custom field ID
2023-10-13	13:16:58	3018	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:16:58	3018	[DEBUG]	No custom field ID found
2023-10-13	13:16:58	3018	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:58	3018	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:16:58	3018	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862510 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:58	3018	[DEBUG]	Store custom available field
2023-10-13	13:16:58	3018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862510,3,'0',1)
2023-10-13	13:16:58	3018	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:58	3018	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:16:58	3018	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862510 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:58	3018	[DEBUG]	Store custom available field
2023-10-13	13:16:58	3018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862510,6,'choisir la taille',3)
2023-10-13	13:16:58	3018	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:58	3018	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:16:58	3018	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:16:58	3018	[DEBUG]	Find the multi variant product entry
2023-10-13	13:16:58	3018	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862510 AND `virtuemart_custom_id` = 8
2023-10-13	13:16:58	3018	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:16:58	3018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862510,8,1)
2023-10-13	13:16:58	3018	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:58	3018	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862510\":[1862510,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862510
2023-10-13	13:16:58	3018	[DEBUG]	Checking category
2023-10-13	13:16:58	3018	[DEBUG]	Get the existing categories for the product
2023-10-13	13:16:58	3018	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862510
2023-10-13	13:16:58	3018	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:16:58	3018	[DEBUG]	Executed store
2023-10-13	13:16:58	3018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862510','7366')
2023-10-13	13:16:58	3018	[DEBUG]	Delete leftover product categories
2023-10-13	13:16:58	3018	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862510 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:16:58	3018	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:58	3018	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862510
2023-10-13	13:16:58	3019	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:58	3019	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:16:58	3019	[DEBUG]	Use field value for field taille
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:16:58	3019	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field category_path
2023-10-13	13:16:58	3019	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:58	3019	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:58	3019	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:58	3019	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:16:58	3019	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field product_weight
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:58	3019	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:58	3019	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:58	3019	[DEBUG]	Use field value for field published
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field custom_title
2023-10-13	13:16:58	3019	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field custom_param
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field override
2023-10-13	13:16:58	3019	[DEBUG]	Use default value for field public_price
2023-10-13	13:16:58	3019	[DEBUG]	Use field value for field slug
2023-10-13	13:16:58	3019	[DEBUG]	Process line 3019
2023-10-13	13:16:58	3019	[DEBUG]	Load a row
2023-10-13	13:16:58	3019	[DEBUG]	Processing item: 1000000153552
2023-10-13	13:16:58	3019	[DEBUG]	Looking for parent SKU
2023-10-13	13:16:58	3019	[DEBUG]	Checking product parent SKU
2023-10-13	13:16:58	3019	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8482_1'
2023-10-13	13:16:58	3019	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:58	3019	[DEBUG]	Processing product tax
2023-10-13	13:16:58	3019	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:58	3019	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:58	3019	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:58	3019	[DEBUG]	Query for Product
2023-10-13	13:16:58	3019	[DEBUG]	Executed store
2023-10-13	13:16:58	3019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862510','1000000153552','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:58	3019	[DEBUG]	No parent found
2023-10-13	13:16:58	3019	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862510 AND customfield_value = 'stockable'
2023-10-13	13:16:58	3019	[DEBUG]	Check product language entry
2023-10-13	13:16:58	3019	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862511
2023-10-13	13:16:58	3019	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:58	3019	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000153552' AND `virtuemart_product_id` != 1862511
2023-10-13	13:16:58	3019	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:58	3019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862511, '1000000153552')
2023-10-13	13:16:58	3019	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:58	3019	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-support-porte-gourde-pour-tige-de-selle-telescopiques-noir-all' AND `virtuemart_product_id` != 1862511
2023-10-13	13:16:58	3019	[DEBUG]	Query for ProductLang
2023-10-13	13:16:58	3019	[DEBUG]	Executed store
2023-10-13	13:16:58	3019	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKFIX SUPPORT PORTE-GOURDE POUR TIGE DE SELLE TELESCOPIQUES / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-support-porte-gourde-pour-tige-de-selle-telescopiques-noir-all' WHERE `virtuemart_product_id` = '1862511'
2023-10-13	13:16:58	3019	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37247_support_porte-gourde_pour_tige_de_selle_telescopiques.jpg
2023-10-13	13:16:58	3019	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:16:58	3019	[DEBUG]	Process image file
2023-10-13	13:16:58	3019	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:16:58	3019	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:58	3019	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37247_support_porte-gourde_pour_tige_de_selle_telescopiques.jpg
2023-10-13	13:16:58	3019	[DEBUG]	Full name target: bcprisme/37247_support_porte-gourde_pour_tige_de_selle_telescopiques.jpg
2023-10-13	13:16:59	3019	[DEBUG]	Checking if the file_url exists
2023-10-13	13:16:59	3019	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37247_support_porte-gourde_pour_tige_de_selle_telescopiques.jpg'
2023-10-13	13:16:59	3019	[DEBUG]	Query for Media
2023-10-13	13:16:59	3019	[DEBUG]	Executed store
2023-10-13	13:16:59	3019	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37247_support_porte-gourde_pour_tige_de_selle_telescopiques.jpg',`file_url_thumb`='bcprisme/37247_support_porte-gourde_pour_tige_de_selle_telescopiques.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '900640'
2023-10-13	13:16:59	3019	[DEBUG]	Query for ProductMedia
2023-10-13	13:16:59	3019	[DEBUG]	Executed store
2023-10-13	13:16:59	3019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862511','900640','1')
2023-10-13	13:16:59	3019	[DEBUG]	Store product image relation
2023-10-13	13:16:59	3019	[DEBUG]	Finding a product_price_id
2023-10-13	13:16:59	3019	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862511 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:16:59	3019	[DEBUG]	Query for ProductPrice
2023-10-13	13:16:59	3019	[DEBUG]	Executed store
2023-10-13	13:16:59	3019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862511','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:16:59	3019	[DEBUG]	Checking manufacturer
2023-10-13	13:16:59	3019	[DEBUG]	Load a row
2023-10-13	13:16:59	3019	[DEBUG]	Manufacturer already exists
2023-10-13	13:16:59	3019	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:16:59	3019	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:16:59	3019	[DEBUG]	Executed store
2023-10-13	13:16:59	3019	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-58992307618' WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:16:59	3019	[DEBUG]	Manufacturer exists
2023-10-13	13:16:59	3019	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 167
2023-10-13	13:16:59	3019	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:16:59	3019	[DEBUG]	Executed store
2023-10-13	13:16:59	3019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862511','167')
2023-10-13	13:16:59	3019	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:16:59	3019	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:16:59	3019	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862511 AND `virtuemart_custom_id` = 3
2023-10-13	13:16:59	3019	[DEBUG]	Store custom available field
2023-10-13	13:16:59	3019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862511,3,'',1)
2023-10-13	13:16:59	3019	[DEBUG]	Processing custom available field: taille
2023-10-13	13:16:59	3019	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:16:59	3019	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862511 AND `virtuemart_custom_id` = 6
2023-10-13	13:16:59	3019	[DEBUG]	Store custom available field
2023-10-13	13:16:59	3019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862511,6,'All',3)
2023-10-13	13:16:59	3019	[DEBUG]	Process multi-variant fields
2023-10-13	13:16:59	3019	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:16:59	3019	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862510
2023-10-13	13:16:59	3019	[DEBUG]	Store the updated customfield_params
2023-10-13	13:16:59	3019	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862510\":[1862510,8,1,\"choisir la taille\"],\"1862511\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862510
2023-10-13	13:16:59	3019	[DEBUG]	Update has fields after all processing
2023-10-13	13:16:59	3019	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862511
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field product_sku
2023-10-13	13:16:59	3020	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field taille
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field product_name
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field category_path
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field product_price
2023-10-13	13:16:59	3020	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field product_tax
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field file_url
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:16:59	3020	[DEBUG]	Use default value for field product_desc
2023-10-13	13:16:59	3020	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field product_availability
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field product_weight
2023-10-13	13:16:59	3020	[DEBUG]	Use default value for field product_unit
2023-10-13	13:16:59	3020	[DEBUG]	Use default value for field related_products
2023-10-13	13:16:59	3020	[DEBUG]	Use default value for field product_special
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field published
2023-10-13	13:16:59	3020	[DEBUG]	Use default value for field metadesc
2023-10-13	13:16:59	3020	[DEBUG]	Use default value for field metakey
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field custom_title
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field custom_value
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field custom_param
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field override
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field public_price
2023-10-13	13:16:59	3020	[DEBUG]	Use field value for field slug
2023-10-13	13:16:59	3020	[DEBUG]	Process line 3020
2023-10-13	13:16:59	3020	[DEBUG]	Load a row
2023-10-13	13:16:59	3020	[DEBUG]	Processing item: A_8741_1
2023-10-13	13:16:59	3020	[DEBUG]	Product tax: 7.7
2023-10-13	13:16:59	3020	[DEBUG]	Processing product tax
2023-10-13	13:16:59	3020	[DEBUG]	Check if calculation rule exists
2023-10-13	13:16:59	3020	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:16:59	3020	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:16:59	3020	[DEBUG]	Query for Product
2023-10-13	13:16:59	3020	[DEBUG]	Executed store
2023-10-13	13:16:59	3020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8741_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:16:59	3020	[DEBUG]	Check product language entry
2023-10-13	13:16:59	3020	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862512
2023-10-13	13:16:59	3020	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:59	3020	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8741_1' AND `virtuemart_product_id` != 1862512
2023-10-13	13:16:59	3020	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:16:59	3020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862512, 'A_8741_1')
2023-10-13	13:16:59	3020	[DEBUG]	Check if the product slug exists
2023-10-13	13:16:59	3020	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-support-porte-gourde-topeak-ninjy-t-mountain-avec-multi-outil-23-fonctions-noir' AND `virtuemart_product_id` != 1862512
2023-10-13	13:16:59	3020	[DEBUG]	Query for ProductLang
2023-10-13	13:16:59	3020	[DEBUG]	Executed store
2023-10-13	13:16:59	3020	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 330.001.002',`product_name`='KLICKFIX Support porte-gourde Topeak Ninjy T Mountain avec multi-outil 23 fonctions / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-support-porte-gourde-topeak-ninjy-t-mountain-avec-multi-outil-23-fonctions-noir' WHERE `virtuemart_product_id` = '1862512'
2023-10-13	13:16:59	3020	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37705_support_porte-gourde_topeak_ninjy_t_mountain_avec_multi-outil_23_fonctions.jpg
2023-10-13	13:16:59	3020	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:16:59	3020	[DEBUG]	Process image file
2023-10-13	13:16:59	3020	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:16:59	3020	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:16:59	3020	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37705_support_porte-gourde_topeak_ninjy_t_mountain_avec_multi-outil_23_fonctions.jpg
2023-10-13	13:16:59	3020	[DEBUG]	Full name target: bcprisme/37705_support_porte-gourde_topeak_ninjy_t_mountain_avec_multi-outil_23_fonctions.jpg
2023-10-13	13:17:00	3020	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:00	3020	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37705_support_porte-gourde_topeak_ninjy_t_mountain_avec_multi-outil_23_fonctions.jpg'
2023-10-13	13:17:00	3020	[DEBUG]	Query for Media
2023-10-13	13:17:00	3020	[DEBUG]	Executed store
2023-10-13	13:17:00	3020	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37705_support_porte-gourde_topeak_ninjy_t_mountain_avec_multi-outil_23_fonctions.jpg',`file_url_thumb`='bcprisme/37705_support_porte-gourde_topeak_ninjy_t_mountain_avec_multi-outil_23_fonctions.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1061385'
2023-10-13	13:17:00	3020	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:00	3020	[DEBUG]	Executed store
2023-10-13	13:17:00	3020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862512','1061385','1')
2023-10-13	13:17:00	3020	[DEBUG]	Store product image relation
2023-10-13	13:17:00	3020	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:00	3020	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862512 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:00	3020	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:00	3020	[DEBUG]	Executed store
2023-10-13	13:17:00	3020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862512','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:00	3020	[DEBUG]	Checking manufacturer
2023-10-13	13:17:00	3020	[DEBUG]	Load a row
2023-10-13	13:17:00	3020	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:00	3020	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:17:00	3020	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:00	3020	[DEBUG]	Executed store
2023-10-13	13:17:00	3020	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-58992307618' WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:17:00	3020	[DEBUG]	Manufacturer exists
2023-10-13	13:17:00	3020	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 167
2023-10-13	13:17:00	3020	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:00	3020	[DEBUG]	Executed store
2023-10-13	13:17:00	3020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862512','167')
2023-10-13	13:17:00	3020	[DEBUG]	Find the custom field ID
2023-10-13	13:17:00	3020	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:00	3020	[DEBUG]	No custom field ID found
2023-10-13	13:17:00	3020	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:00	3020	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:17:00	3020	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862512 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:00	3020	[DEBUG]	Store custom available field
2023-10-13	13:17:00	3020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862512,3,'0',1)
2023-10-13	13:17:00	3020	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:00	3020	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:00	3020	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862512 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:00	3020	[DEBUG]	Store custom available field
2023-10-13	13:17:00	3020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862512,6,'choisir la taille',3)
2023-10-13	13:17:00	3020	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:00	3020	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:00	3020	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:00	3020	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:00	3020	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862512 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:00	3020	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:00	3020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862512,8,1)
2023-10-13	13:17:00	3020	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:00	3020	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862512\":[1862512,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862512
2023-10-13	13:17:00	3020	[DEBUG]	Checking category
2023-10-13	13:17:00	3020	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:00	3020	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862512
2023-10-13	13:17:00	3020	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:00	3020	[DEBUG]	Executed store
2023-10-13	13:17:00	3020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862512','7366')
2023-10-13	13:17:00	3020	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:00	3020	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862512 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:00	3020	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:00	3020	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862512
2023-10-13	13:17:00	3021	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:00	3021	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:00	3021	[DEBUG]	Use field value for field taille
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:00	3021	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:00	3021	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:00	3021	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:00	3021	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:00	3021	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:00	3021	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:00	3021	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:00	3021	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:00	3021	[DEBUG]	Use field value for field published
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:00	3021	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field override
2023-10-13	13:17:00	3021	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:00	3021	[DEBUG]	Use field value for field slug
2023-10-13	13:17:00	3021	[DEBUG]	Process line 3021
2023-10-13	13:17:00	3021	[DEBUG]	Load a row
2023-10-13	13:17:00	3021	[DEBUG]	Processing item: 4712511836851
2023-10-13	13:17:00	3021	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:00	3021	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:00	3021	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8741_1'
2023-10-13	13:17:00	3021	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:00	3021	[DEBUG]	Processing product tax
2023-10-13	13:17:00	3021	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:00	3021	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:00	3021	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:00	3021	[DEBUG]	Query for Product
2023-10-13	13:17:00	3021	[DEBUG]	Executed store
2023-10-13	13:17:00	3021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862512','4712511836851','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:00	3021	[DEBUG]	No parent found
2023-10-13	13:17:00	3021	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862512 AND customfield_value = 'stockable'
2023-10-13	13:17:00	3021	[DEBUG]	Check product language entry
2023-10-13	13:17:00	3021	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862513
2023-10-13	13:17:00	3021	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:00	3021	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4712511836851' AND `virtuemart_product_id` != 1862513
2023-10-13	13:17:00	3021	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:00	3021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862513, '4712511836851')
2023-10-13	13:17:00	3021	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:00	3021	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-support-porte-gourde-topeak-ninjy-t-mountain-avec-multi-outil-23-fonctions-noir-all' AND `virtuemart_product_id` != 1862513
2023-10-13	13:17:00	3021	[DEBUG]	Query for ProductLang
2023-10-13	13:17:00	3021	[DEBUG]	Executed store
2023-10-13	13:17:00	3021	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKFIX Support porte-gourde Topeak Ninjy T Mountain avec multi-outil 23 fonctions / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-support-porte-gourde-topeak-ninjy-t-mountain-avec-multi-outil-23-fonctions-noir-all' WHERE `virtuemart_product_id` = '1862513'
2023-10-13	13:17:00	3021	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37705_support_porte-gourde_topeak_ninjy_t_mountain_avec_multi-outil_23_fonctions.jpg
2023-10-13	13:17:00	3021	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:17:00	3021	[DEBUG]	Process image file
2023-10-13	13:17:00	3021	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:17:00	3021	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:00	3021	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37705_support_porte-gourde_topeak_ninjy_t_mountain_avec_multi-outil_23_fonctions.jpg
2023-10-13	13:17:00	3021	[DEBUG]	Full name target: bcprisme/37705_support_porte-gourde_topeak_ninjy_t_mountain_avec_multi-outil_23_fonctions.jpg
2023-10-13	13:17:01	3021	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:01	3021	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37705_support_porte-gourde_topeak_ninjy_t_mountain_avec_multi-outil_23_fonctions.jpg'
2023-10-13	13:17:01	3021	[DEBUG]	Query for Media
2023-10-13	13:17:01	3021	[DEBUG]	Executed store
2023-10-13	13:17:01	3021	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37705_support_porte-gourde_topeak_ninjy_t_mountain_avec_multi-outil_23_fonctions.jpg',`file_url_thumb`='bcprisme/37705_support_porte-gourde_topeak_ninjy_t_mountain_avec_multi-outil_23_fonctions.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1061385'
2023-10-13	13:17:01	3021	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:01	3021	[DEBUG]	Executed store
2023-10-13	13:17:01	3021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862513','1061385','1')
2023-10-13	13:17:01	3021	[DEBUG]	Store product image relation
2023-10-13	13:17:01	3021	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:01	3021	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862513 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:01	3021	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:01	3021	[DEBUG]	Executed store
2023-10-13	13:17:01	3021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862513','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:01	3021	[DEBUG]	Checking manufacturer
2023-10-13	13:17:01	3021	[DEBUG]	Load a row
2023-10-13	13:17:01	3021	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:01	3021	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:17:01	3021	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:01	3021	[DEBUG]	Executed store
2023-10-13	13:17:01	3021	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-58992307618' WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:17:01	3021	[DEBUG]	Manufacturer exists
2023-10-13	13:17:01	3021	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 167
2023-10-13	13:17:01	3021	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:01	3021	[DEBUG]	Executed store
2023-10-13	13:17:01	3021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862513','167')
2023-10-13	13:17:01	3021	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:01	3021	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:01	3021	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862513 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:01	3021	[DEBUG]	Store custom available field
2023-10-13	13:17:01	3021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862513,3,'',1)
2023-10-13	13:17:01	3021	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:01	3021	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:17:01	3021	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862513 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:01	3021	[DEBUG]	Store custom available field
2023-10-13	13:17:01	3021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862513,6,'All',3)
2023-10-13	13:17:01	3021	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:01	3021	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:01	3021	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862512
2023-10-13	13:17:01	3021	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:01	3021	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862512\":[1862512,8,1,\"choisir la taille\"],\"1862513\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862512
2023-10-13	13:17:01	3021	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:01	3021	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862513
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:01	3022	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field taille
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:01	3022	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:01	3022	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:01	3022	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:01	3022	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:01	3022	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:01	3022	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field published
2023-10-13	13:17:01	3022	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:01	3022	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field override
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:01	3022	[DEBUG]	Use field value for field slug
2023-10-13	13:17:01	3022	[DEBUG]	Process line 3022
2023-10-13	13:17:01	3022	[DEBUG]	Load a row
2023-10-13	13:17:01	3022	[DEBUG]	Processing item: A_405_1
2023-10-13	13:17:01	3022	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:01	3022	[DEBUG]	Processing product tax
2023-10-13	13:17:01	3022	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:01	3022	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:01	3022	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:01	3022	[DEBUG]	Query for Product
2023-10-13	13:17:01	3022	[DEBUG]	Executed store
2023-10-13	13:17:01	3022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_405_1','0.065','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:01	3022	[DEBUG]	Check product language entry
2023-10-13	13:17:01	3022	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862514
2023-10-13	13:17:01	3022	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:01	3022	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_405_1' AND `virtuemart_product_id` != 1862514
2023-10-13	13:17:01	3022	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:01	3022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862514, 'A_405_1')
2023-10-13	13:17:01	3022	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:01	3022	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-avec-rotation-90-noir' AND `virtuemart_product_id` != 1862514
2023-10-13	13:17:01	3022	[DEBUG]	Query for ProductLang
2023-10-13	13:17:01	3022	[DEBUG]	Executed store
2023-10-13	13:17:01	3022	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Idéal pour les petits cadres<br>N° art fourn : CL047C',`product_name`='MSC Porte-bidon MSC avec rotation 90º / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-avec-rotation-90-noir' WHERE `virtuemart_product_id` = '1862514'
2023-10-13	13:17:01	3022	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_447.jpg
2023-10-13	13:17:01	3022	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:17:01	3022	[DEBUG]	Process image file
2023-10-13	13:17:01	3022	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:17:01	3022	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:01	3022	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_447.jpg
2023-10-13	13:17:01	3022	[DEBUG]	Full name target: bcprisme/image_447.jpg
2023-10-13	13:17:02	3022	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:02	3022	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_447.jpg'
2023-10-13	13:17:02	3022	[DEBUG]	Query for Media
2023-10-13	13:17:02	3022	[DEBUG]	Executed store
2023-10-13	13:17:02	3022	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_447.jpg',`file_url_thumb`='bcprisme/image_447.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13037'
2023-10-13	13:17:02	3022	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:02	3022	[DEBUG]	Executed store
2023-10-13	13:17:02	3022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862514','13037','1')
2023-10-13	13:17:02	3022	[DEBUG]	Store product image relation
2023-10-13	13:17:02	3022	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:02	3022	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862514 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:02	3022	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:02	3022	[DEBUG]	Executed store
2023-10-13	13:17:02	3022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862514','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:02	3022	[DEBUG]	Checking manufacturer
2023-10-13	13:17:02	3022	[DEBUG]	Load a row
2023-10-13	13:17:02	3022	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:02	3022	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:02	3022	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:02	3022	[DEBUG]	Executed store
2023-10-13	13:17:02	3022	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:02	3022	[DEBUG]	Manufacturer exists
2023-10-13	13:17:02	3022	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:02	3022	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:02	3022	[DEBUG]	Executed store
2023-10-13	13:17:02	3022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862514','206')
2023-10-13	13:17:03	3022	[DEBUG]	Find the custom field ID
2023-10-13	13:17:03	3022	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:03	3022	[DEBUG]	No custom field ID found
2023-10-13	13:17:03	3022	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:03	3022	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:17:03	3022	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862514 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:03	3022	[DEBUG]	Store custom available field
2023-10-13	13:17:03	3022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862514,3,'12.8641666666667',1)
2023-10-13	13:17:03	3022	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:03	3022	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:03	3022	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862514 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:03	3022	[DEBUG]	Store custom available field
2023-10-13	13:17:03	3022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862514,6,'choisir la taille',3)
2023-10-13	13:17:03	3022	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:03	3022	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:03	3022	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:03	3022	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:03	3022	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862514 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:03	3022	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:03	3022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862514,8,1)
2023-10-13	13:17:03	3022	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:03	3022	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862514\":[1862514,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862514
2023-10-13	13:17:03	3022	[DEBUG]	Checking category
2023-10-13	13:17:03	3022	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:03	3022	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862514
2023-10-13	13:17:03	3022	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:03	3022	[DEBUG]	Executed store
2023-10-13	13:17:03	3022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862514','7366')
2023-10-13	13:17:03	3022	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:03	3022	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862514 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:03	3022	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:03	3022	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862514
2023-10-13	13:17:03	3023	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:03	3023	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:03	3023	[DEBUG]	Use field value for field taille
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:03	3023	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:03	3023	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:03	3023	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:03	3023	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:03	3023	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:03	3023	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:03	3023	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:03	3023	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:03	3023	[DEBUG]	Use field value for field published
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:03	3023	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field override
2023-10-13	13:17:03	3023	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:03	3023	[DEBUG]	Use field value for field slug
2023-10-13	13:17:03	3023	[DEBUG]	Process line 3023
2023-10-13	13:17:03	3023	[DEBUG]	Load a row
2023-10-13	13:17:03	3023	[DEBUG]	Processing item: 8436041526988
2023-10-13	13:17:03	3023	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:03	3023	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:03	3023	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_405_1'
2023-10-13	13:17:03	3023	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:03	3023	[DEBUG]	Processing product tax
2023-10-13	13:17:03	3023	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:03	3023	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:03	3023	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:03	3023	[DEBUG]	Query for Product
2023-10-13	13:17:03	3023	[DEBUG]	Executed store
2023-10-13	13:17:03	3023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862514','8436041526988','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:03	3023	[DEBUG]	No parent found
2023-10-13	13:17:03	3023	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862514 AND customfield_value = 'stockable'
2023-10-13	13:17:03	3023	[DEBUG]	Check product language entry
2023-10-13	13:17:03	3023	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862515
2023-10-13	13:17:03	3023	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:03	3023	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526988' AND `virtuemart_product_id` != 1862515
2023-10-13	13:17:03	3023	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:03	3023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862515, '8436041526988')
2023-10-13	13:17:03	3023	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:03	3023	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-avec-rotation-90-noir-unitaire' AND `virtuemart_product_id` != 1862515
2023-10-13	13:17:03	3023	[DEBUG]	Query for ProductLang
2023-10-13	13:17:03	3023	[DEBUG]	Executed store
2023-10-13	13:17:03	3023	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC avec rotation 90º / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-avec-rotation-90-noir-unitaire' WHERE `virtuemart_product_id` = '1862515'
2023-10-13	13:17:04	3023	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_447.jpg
2023-10-13	13:17:04	3023	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:17:04	3023	[DEBUG]	Process image file
2023-10-13	13:17:04	3023	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:17:04	3023	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:04	3023	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_447.jpg
2023-10-13	13:17:04	3023	[DEBUG]	Full name target: bcprisme/image_447.jpg
2023-10-13	13:17:05	3023	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:05	3023	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_447.jpg'
2023-10-13	13:17:05	3023	[DEBUG]	Query for Media
2023-10-13	13:17:05	3023	[DEBUG]	Executed store
2023-10-13	13:17:05	3023	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_447.jpg',`file_url_thumb`='bcprisme/image_447.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13037'
2023-10-13	13:17:05	3023	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:05	3023	[DEBUG]	Executed store
2023-10-13	13:17:05	3023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862515','13037','1')
2023-10-13	13:17:05	3023	[DEBUG]	Store product image relation
2023-10-13	13:17:05	3023	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:05	3023	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862515 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:05	3023	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:05	3023	[DEBUG]	Executed store
2023-10-13	13:17:05	3023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862515','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:05	3023	[DEBUG]	Checking manufacturer
2023-10-13	13:17:05	3023	[DEBUG]	Load a row
2023-10-13	13:17:05	3023	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:05	3023	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:05	3023	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:05	3023	[DEBUG]	Executed store
2023-10-13	13:17:05	3023	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:05	3023	[DEBUG]	Manufacturer exists
2023-10-13	13:17:05	3023	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:05	3023	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:05	3023	[DEBUG]	Executed store
2023-10-13	13:17:05	3023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862515','206')
2023-10-13	13:17:05	3023	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:05	3023	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:05	3023	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862515 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:05	3023	[DEBUG]	Store custom available field
2023-10-13	13:17:05	3023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862515,3,'',1)
2023-10-13	13:17:05	3023	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:05	3023	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:05	3023	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862515 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:05	3023	[DEBUG]	Store custom available field
2023-10-13	13:17:05	3023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862515,6,'Unitaire',3)
2023-10-13	13:17:05	3023	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:05	3023	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:05	3023	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862514
2023-10-13	13:17:05	3023	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:05	3023	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862514\":[1862514,8,1,\"choisir la taille\"],\"1862515\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862514
2023-10-13	13:17:05	3023	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:05	3023	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862515
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:05	3024	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field taille
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:05	3024	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:05	3024	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:05	3024	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:05	3024	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:05	3024	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:05	3024	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field published
2023-10-13	13:17:05	3024	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:05	3024	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field override
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:05	3024	[DEBUG]	Use field value for field slug
2023-10-13	13:17:05	3024	[DEBUG]	Process line 3024
2023-10-13	13:17:05	3024	[DEBUG]	Load a row
2023-10-13	13:17:05	3024	[DEBUG]	Processing item: A_1155_1
2023-10-13	13:17:05	3024	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:05	3024	[DEBUG]	Processing product tax
2023-10-13	13:17:05	3024	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:05	3024	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:05	3024	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:05	3024	[DEBUG]	Query for Product
2023-10-13	13:17:05	3024	[DEBUG]	Executed store
2023-10-13	13:17:05	3024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1155_1','0.06','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:05	3024	[DEBUG]	Check product language entry
2023-10-13	13:17:05	3024	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862516
2023-10-13	13:17:05	3024	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:05	3024	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1155_1' AND `virtuemart_product_id` != 1862516
2023-10-13	13:17:05	3024	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:05	3024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862516, 'A_1155_1')
2023-10-13	13:17:05	3024	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:05	3024	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-aluminium-anodise-noir' AND `virtuemart_product_id` != 1862516
2023-10-13	13:17:05	3024	[DEBUG]	Query for ProductLang
2023-10-13	13:17:05	3024	[DEBUG]	Executed store
2023-10-13	13:17:05	3024	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Entraxe standard<br>N° art fourn : ZLSHJ004P',`product_name`='MSC Porte-bidon MSC aluminium anodisé / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-aluminium-anodise-noir' WHERE `virtuemart_product_id` = '1862516'
2023-10-13	13:17:05	3024	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1482.jpg
2023-10-13	13:17:05	3024	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:17:05	3024	[DEBUG]	Process image file
2023-10-13	13:17:05	3024	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:17:05	3024	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:05	3024	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1482.jpg
2023-10-13	13:17:05	3024	[DEBUG]	Full name target: bcprisme/image_1482.jpg
2023-10-13	13:17:06	3024	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:06	3024	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1482.jpg'
2023-10-13	13:17:06	3024	[DEBUG]	Query for Media
2023-10-13	13:17:06	3024	[DEBUG]	Executed store
2023-10-13	13:17:06	3024	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1482.jpg',`file_url_thumb`='bcprisme/image_1482.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13038'
2023-10-13	13:17:06	3024	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:06	3024	[DEBUG]	Executed store
2023-10-13	13:17:06	3024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862516','13038','1')
2023-10-13	13:17:06	3024	[DEBUG]	Store product image relation
2023-10-13	13:17:06	3024	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:06	3024	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862516 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:06	3024	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:06	3024	[DEBUG]	Executed store
2023-10-13	13:17:06	3024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862516','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:06	3024	[DEBUG]	Checking manufacturer
2023-10-13	13:17:06	3024	[DEBUG]	Load a row
2023-10-13	13:17:06	3024	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:06	3024	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:06	3024	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:06	3024	[DEBUG]	Executed store
2023-10-13	13:17:06	3024	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:06	3024	[DEBUG]	Manufacturer exists
2023-10-13	13:17:06	3024	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:06	3024	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:06	3024	[DEBUG]	Executed store
2023-10-13	13:17:06	3024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862516','206')
2023-10-13	13:17:06	3024	[DEBUG]	Find the custom field ID
2023-10-13	13:17:06	3024	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:06	3024	[DEBUG]	No custom field ID found
2023-10-13	13:17:06	3024	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:06	3024	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:06	3024	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862516 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:06	3024	[DEBUG]	Store custom available field
2023-10-13	13:17:06	3024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862516,3,'8.87527777777778',1)
2023-10-13	13:17:06	3024	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:06	3024	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:06	3024	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862516 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:06	3024	[DEBUG]	Store custom available field
2023-10-13	13:17:06	3024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862516,6,'choisir la taille',3)
2023-10-13	13:17:06	3024	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:06	3024	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:06	3024	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:06	3024	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:06	3024	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862516 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:06	3024	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:06	3024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862516,8,1)
2023-10-13	13:17:06	3024	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:06	3024	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862516\":[1862516,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862516
2023-10-13	13:17:06	3024	[DEBUG]	Checking category
2023-10-13	13:17:06	3024	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:06	3024	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862516
2023-10-13	13:17:06	3024	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:06	3024	[DEBUG]	Executed store
2023-10-13	13:17:06	3024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862516','7366')
2023-10-13	13:17:06	3024	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:06	3024	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862516 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:06	3024	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:06	3024	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862516
2023-10-13	13:17:06	3025	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:06	3025	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:06	3025	[DEBUG]	Use field value for field taille
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:06	3025	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:06	3025	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:06	3025	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:06	3025	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:06	3025	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:06	3025	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:06	3025	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:06	3025	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:06	3025	[DEBUG]	Use field value for field published
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:06	3025	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field override
2023-10-13	13:17:06	3025	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:06	3025	[DEBUG]	Use field value for field slug
2023-10-13	13:17:06	3025	[DEBUG]	Process line 3025
2023-10-13	13:17:06	3025	[DEBUG]	Load a row
2023-10-13	13:17:06	3025	[DEBUG]	Processing item: 8436047354141
2023-10-13	13:17:06	3025	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:06	3025	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:06	3025	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1155_1'
2023-10-13	13:17:06	3025	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:06	3025	[DEBUG]	Processing product tax
2023-10-13	13:17:06	3025	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:06	3025	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:06	3025	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:06	3025	[DEBUG]	Query for Product
2023-10-13	13:17:06	3025	[DEBUG]	Executed store
2023-10-13	13:17:06	3025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862516','8436047354141','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:06	3025	[DEBUG]	No parent found
2023-10-13	13:17:06	3025	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862516 AND customfield_value = 'stockable'
2023-10-13	13:17:06	3025	[DEBUG]	Check product language entry
2023-10-13	13:17:06	3025	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862517
2023-10-13	13:17:06	3025	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:06	3025	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047354141' AND `virtuemart_product_id` != 1862517
2023-10-13	13:17:06	3025	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:06	3025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862517, '8436047354141')
2023-10-13	13:17:06	3025	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:06	3025	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-aluminium-anodise-noir-unitaire' AND `virtuemart_product_id` != 1862517
2023-10-13	13:17:06	3025	[DEBUG]	Query for ProductLang
2023-10-13	13:17:06	3025	[DEBUG]	Executed store
2023-10-13	13:17:06	3025	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC aluminium anodisé / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-aluminium-anodise-noir-unitaire' WHERE `virtuemart_product_id` = '1862517'
2023-10-13	13:17:06	3025	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1482.jpg
2023-10-13	13:17:06	3025	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:17:06	3025	[DEBUG]	Process image file
2023-10-13	13:17:06	3025	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:17:06	3025	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:06	3025	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1482.jpg
2023-10-13	13:17:06	3025	[DEBUG]	Full name target: bcprisme/image_1482.jpg
2023-10-13	13:17:07	3025	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:07	3025	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1482.jpg'
2023-10-13	13:17:07	3025	[DEBUG]	Query for Media
2023-10-13	13:17:07	3025	[DEBUG]	Executed store
2023-10-13	13:17:07	3025	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1482.jpg',`file_url_thumb`='bcprisme/image_1482.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13038'
2023-10-13	13:17:07	3025	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:07	3025	[DEBUG]	Executed store
2023-10-13	13:17:07	3025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862517','13038','1')
2023-10-13	13:17:07	3025	[DEBUG]	Store product image relation
2023-10-13	13:17:07	3025	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:07	3025	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862517 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:07	3025	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:07	3025	[DEBUG]	Executed store
2023-10-13	13:17:07	3025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862517','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:07	3025	[DEBUG]	Checking manufacturer
2023-10-13	13:17:07	3025	[DEBUG]	Load a row
2023-10-13	13:17:07	3025	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:07	3025	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:07	3025	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:07	3025	[DEBUG]	Executed store
2023-10-13	13:17:07	3025	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:07	3025	[DEBUG]	Manufacturer exists
2023-10-13	13:17:07	3025	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:07	3025	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:07	3025	[DEBUG]	Executed store
2023-10-13	13:17:07	3025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862517','206')
2023-10-13	13:17:07	3025	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:07	3025	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:07	3025	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862517 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:07	3025	[DEBUG]	Store custom available field
2023-10-13	13:17:07	3025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862517,3,'',1)
2023-10-13	13:17:07	3025	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:07	3025	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:07	3025	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862517 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:07	3025	[DEBUG]	Store custom available field
2023-10-13	13:17:07	3025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862517,6,'Unitaire',3)
2023-10-13	13:17:07	3025	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:07	3025	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:07	3025	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862516
2023-10-13	13:17:07	3025	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:07	3025	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862516\":[1862516,8,1,\"choisir la taille\"],\"1862517\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862516
2023-10-13	13:17:07	3025	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:07	3025	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862517
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:07	3026	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field taille
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:07	3026	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:07	3026	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:07	3026	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:07	3026	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:07	3026	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:07	3026	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field published
2023-10-13	13:17:07	3026	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:07	3026	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field override
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:07	3026	[DEBUG]	Use field value for field slug
2023-10-13	13:17:07	3026	[DEBUG]	Process line 3026
2023-10-13	13:17:07	3026	[DEBUG]	Load a row
2023-10-13	13:17:07	3026	[DEBUG]	Processing item: A_1155_7
2023-10-13	13:17:07	3026	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:07	3026	[DEBUG]	Processing product tax
2023-10-13	13:17:07	3026	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:07	3026	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:07	3026	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:07	3026	[DEBUG]	Query for Product
2023-10-13	13:17:07	3026	[DEBUG]	Executed store
2023-10-13	13:17:07	3026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1155_7','0.06','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:07	3026	[DEBUG]	Check product language entry
2023-10-13	13:17:07	3026	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862518
2023-10-13	13:17:07	3026	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:07	3026	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1155_7' AND `virtuemart_product_id` != 1862518
2023-10-13	13:17:07	3026	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:07	3026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862518, 'A_1155_7')
2023-10-13	13:17:07	3026	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:07	3026	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-aluminium-anodise-rouge' AND `virtuemart_product_id` != 1862518
2023-10-13	13:17:07	3026	[DEBUG]	Query for ProductLang
2023-10-13	13:17:07	3026	[DEBUG]	Executed store
2023-10-13	13:17:07	3026	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Entraxe standard<br>N° art fourn : ZLSHJ004P',`product_name`='MSC Porte-bidon MSC aluminium anodisé / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-aluminium-anodise-rouge' WHERE `virtuemart_product_id` = '1862518'
2023-10-13	13:17:07	3026	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1484.jpg
2023-10-13	13:17:07	3026	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:17:07	3026	[DEBUG]	Process image file
2023-10-13	13:17:07	3026	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:17:07	3026	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:07	3026	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1484.jpg
2023-10-13	13:17:07	3026	[DEBUG]	Full name target: bcprisme/image_1484.jpg
2023-10-13	13:17:08	3026	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:08	3026	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1484.jpg'
2023-10-13	13:17:08	3026	[DEBUG]	Query for Media
2023-10-13	13:17:08	3026	[DEBUG]	Executed store
2023-10-13	13:17:08	3026	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1484.jpg',`file_url_thumb`='bcprisme/image_1484.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13039'
2023-10-13	13:17:08	3026	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:08	3026	[DEBUG]	Executed store
2023-10-13	13:17:08	3026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862518','13039','1')
2023-10-13	13:17:08	3026	[DEBUG]	Store product image relation
2023-10-13	13:17:08	3026	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:08	3026	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862518 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:08	3026	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:08	3026	[DEBUG]	Executed store
2023-10-13	13:17:08	3026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862518','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:08	3026	[DEBUG]	Checking manufacturer
2023-10-13	13:17:08	3026	[DEBUG]	Load a row
2023-10-13	13:17:08	3026	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:08	3026	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:08	3026	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:08	3026	[DEBUG]	Executed store
2023-10-13	13:17:08	3026	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:08	3026	[DEBUG]	Manufacturer exists
2023-10-13	13:17:08	3026	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:08	3026	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:08	3026	[DEBUG]	Executed store
2023-10-13	13:17:08	3026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862518','206')
2023-10-13	13:17:08	3026	[DEBUG]	Find the custom field ID
2023-10-13	13:17:08	3026	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:08	3026	[DEBUG]	No custom field ID found
2023-10-13	13:17:08	3026	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:08	3026	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:08	3026	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862518 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:08	3026	[DEBUG]	Store custom available field
2023-10-13	13:17:08	3026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862518,3,'8.87527777777778',1)
2023-10-13	13:17:08	3026	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:08	3026	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:08	3026	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862518 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:08	3026	[DEBUG]	Store custom available field
2023-10-13	13:17:08	3026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862518,6,'choisir la taille',3)
2023-10-13	13:17:08	3026	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:08	3026	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:08	3026	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:08	3026	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:08	3026	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862518 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:08	3026	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:08	3026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862518,8,1)
2023-10-13	13:17:08	3026	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:08	3026	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862518\":[1862518,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862518
2023-10-13	13:17:08	3026	[DEBUG]	Checking category
2023-10-13	13:17:08	3026	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:08	3026	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862518
2023-10-13	13:17:08	3026	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:08	3026	[DEBUG]	Executed store
2023-10-13	13:17:08	3026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862518','7366')
2023-10-13	13:17:08	3026	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:08	3026	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862518 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:08	3026	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:08	3026	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862518
2023-10-13	13:17:08	3027	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:08	3027	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:08	3027	[DEBUG]	Use field value for field taille
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:08	3027	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:08	3027	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:08	3027	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:08	3027	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:08	3027	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:08	3027	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:08	3027	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:08	3027	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:08	3027	[DEBUG]	Use field value for field published
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:08	3027	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field override
2023-10-13	13:17:08	3027	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:08	3027	[DEBUG]	Use field value for field slug
2023-10-13	13:17:08	3027	[DEBUG]	Process line 3027
2023-10-13	13:17:08	3027	[DEBUG]	Load a row
2023-10-13	13:17:08	3027	[DEBUG]	Processing item: 8436047354165
2023-10-13	13:17:08	3027	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:08	3027	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:08	3027	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1155_7'
2023-10-13	13:17:08	3027	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:08	3027	[DEBUG]	Processing product tax
2023-10-13	13:17:08	3027	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:08	3027	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:08	3027	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:08	3027	[DEBUG]	Query for Product
2023-10-13	13:17:08	3027	[DEBUG]	Executed store
2023-10-13	13:17:08	3027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862518','8436047354165','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:08	3027	[DEBUG]	No parent found
2023-10-13	13:17:08	3027	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862518 AND customfield_value = 'stockable'
2023-10-13	13:17:08	3027	[DEBUG]	Check product language entry
2023-10-13	13:17:08	3027	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862519
2023-10-13	13:17:08	3027	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:08	3027	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047354165' AND `virtuemart_product_id` != 1862519
2023-10-13	13:17:08	3027	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:08	3027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862519, '8436047354165')
2023-10-13	13:17:08	3027	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:08	3027	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-aluminium-anodise-rouge-unitaire' AND `virtuemart_product_id` != 1862519
2023-10-13	13:17:08	3027	[DEBUG]	Query for ProductLang
2023-10-13	13:17:08	3027	[DEBUG]	Executed store
2023-10-13	13:17:08	3027	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC aluminium anodisé / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-aluminium-anodise-rouge-unitaire' WHERE `virtuemart_product_id` = '1862519'
2023-10-13	13:17:08	3027	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1484.jpg
2023-10-13	13:17:08	3027	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:17:08	3027	[DEBUG]	Process image file
2023-10-13	13:17:08	3027	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:17:08	3027	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:08	3027	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1484.jpg
2023-10-13	13:17:08	3027	[DEBUG]	Full name target: bcprisme/image_1484.jpg
2023-10-13	13:17:09	3027	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:09	3027	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1484.jpg'
2023-10-13	13:17:09	3027	[DEBUG]	Query for Media
2023-10-13	13:17:09	3027	[DEBUG]	Executed store
2023-10-13	13:17:09	3027	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1484.jpg',`file_url_thumb`='bcprisme/image_1484.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13039'
2023-10-13	13:17:09	3027	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:09	3027	[DEBUG]	Executed store
2023-10-13	13:17:09	3027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862519','13039','1')
2023-10-13	13:17:09	3027	[DEBUG]	Store product image relation
2023-10-13	13:17:09	3027	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:09	3027	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862519 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:09	3027	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:09	3027	[DEBUG]	Executed store
2023-10-13	13:17:09	3027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862519','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:09	3027	[DEBUG]	Checking manufacturer
2023-10-13	13:17:09	3027	[DEBUG]	Load a row
2023-10-13	13:17:09	3027	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:09	3027	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:09	3027	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:09	3027	[DEBUG]	Executed store
2023-10-13	13:17:09	3027	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:09	3027	[DEBUG]	Manufacturer exists
2023-10-13	13:17:09	3027	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:09	3027	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:09	3027	[DEBUG]	Executed store
2023-10-13	13:17:09	3027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862519','206')
2023-10-13	13:17:09	3027	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:09	3027	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:09	3027	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862519 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:09	3027	[DEBUG]	Store custom available field
2023-10-13	13:17:09	3027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862519,3,'',1)
2023-10-13	13:17:09	3027	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:09	3027	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:09	3027	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862519 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:09	3027	[DEBUG]	Store custom available field
2023-10-13	13:17:09	3027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862519,6,'Unitaire',3)
2023-10-13	13:17:09	3027	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:09	3027	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:09	3027	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862518
2023-10-13	13:17:09	3027	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:09	3027	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862518\":[1862518,8,1,\"choisir la taille\"],\"1862519\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862518
2023-10-13	13:17:09	3027	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:09	3027	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862519
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:09	3028	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field taille
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:09	3028	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:09	3028	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:09	3028	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:09	3028	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:09	3028	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:09	3028	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field published
2023-10-13	13:17:09	3028	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:09	3028	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field override
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:09	3028	[DEBUG]	Use field value for field slug
2023-10-13	13:17:09	3028	[DEBUG]	Process line 3028
2023-10-13	13:17:09	3028	[DEBUG]	Load a row
2023-10-13	13:17:09	3028	[DEBUG]	Processing item: A_1155_13
2023-10-13	13:17:09	3028	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:09	3028	[DEBUG]	Processing product tax
2023-10-13	13:17:09	3028	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:09	3028	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:09	3028	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:09	3028	[DEBUG]	Query for Product
2023-10-13	13:17:09	3028	[DEBUG]	Executed store
2023-10-13	13:17:09	3028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1155_13','0.06','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:09	3028	[DEBUG]	Check product language entry
2023-10-13	13:17:09	3028	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862520
2023-10-13	13:17:09	3028	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:09	3028	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1155_13' AND `virtuemart_product_id` != 1862520
2023-10-13	13:17:09	3028	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:09	3028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862520, 'A_1155_13')
2023-10-13	13:17:09	3028	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:09	3028	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-aluminium-anodise-argent' AND `virtuemart_product_id` != 1862520
2023-10-13	13:17:09	3028	[DEBUG]	Query for ProductLang
2023-10-13	13:17:09	3028	[DEBUG]	Executed store
2023-10-13	13:17:09	3028	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Entraxe standard<br>N° art fourn : ZLSHJ004P',`product_name`='MSC Porte-bidon MSC aluminium anodisé / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-aluminium-anodise-argent' WHERE `virtuemart_product_id` = '1862520'
2023-10-13	13:17:09	3028	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1483.jpg
2023-10-13	13:17:09	3028	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:17:09	3028	[DEBUG]	Process image file
2023-10-13	13:17:09	3028	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:17:09	3028	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:09	3028	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1483.jpg
2023-10-13	13:17:09	3028	[DEBUG]	Full name target: bcprisme/image_1483.jpg
2023-10-13	13:17:10	3028	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:10	3028	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1483.jpg'
2023-10-13	13:17:10	3028	[DEBUG]	Query for Media
2023-10-13	13:17:10	3028	[DEBUG]	Executed store
2023-10-13	13:17:10	3028	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1483.jpg',`file_url_thumb`='bcprisme/image_1483.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13040'
2023-10-13	13:17:10	3028	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:10	3028	[DEBUG]	Executed store
2023-10-13	13:17:10	3028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862520','13040','1')
2023-10-13	13:17:10	3028	[DEBUG]	Store product image relation
2023-10-13	13:17:10	3028	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:10	3028	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862520 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:10	3028	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:10	3028	[DEBUG]	Executed store
2023-10-13	13:17:10	3028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862520','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:10	3028	[DEBUG]	Checking manufacturer
2023-10-13	13:17:10	3028	[DEBUG]	Load a row
2023-10-13	13:17:10	3028	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:10	3028	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:10	3028	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:11	3028	[DEBUG]	Executed store
2023-10-13	13:17:11	3028	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:11	3028	[DEBUG]	Manufacturer exists
2023-10-13	13:17:11	3028	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:11	3028	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:11	3028	[DEBUG]	Executed store
2023-10-13	13:17:11	3028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862520','206')
2023-10-13	13:17:11	3028	[DEBUG]	Find the custom field ID
2023-10-13	13:17:11	3028	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:11	3028	[DEBUG]	No custom field ID found
2023-10-13	13:17:11	3028	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:11	3028	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:11	3028	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862520 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:11	3028	[DEBUG]	Store custom available field
2023-10-13	13:17:11	3028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862520,3,'8.87527777777778',1)
2023-10-13	13:17:11	3028	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:11	3028	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:11	3028	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862520 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:11	3028	[DEBUG]	Store custom available field
2023-10-13	13:17:11	3028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862520,6,'choisir la taille',3)
2023-10-13	13:17:11	3028	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:11	3028	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:11	3028	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:11	3028	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:11	3028	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862520 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:11	3028	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:11	3028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862520,8,1)
2023-10-13	13:17:11	3028	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:11	3028	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862520\":[1862520,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862520
2023-10-13	13:17:11	3028	[DEBUG]	Checking category
2023-10-13	13:17:11	3028	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:11	3028	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862520
2023-10-13	13:17:11	3028	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:11	3028	[DEBUG]	Executed store
2023-10-13	13:17:11	3028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862520','7366')
2023-10-13	13:17:11	3028	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:11	3028	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862520 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:11	3028	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:11	3028	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862520
2023-10-13	13:17:11	3029	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:11	3029	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:11	3029	[DEBUG]	Use field value for field taille
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:11	3029	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:11	3029	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:11	3029	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:11	3029	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:11	3029	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:11	3029	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:11	3029	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:11	3029	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:11	3029	[DEBUG]	Use field value for field published
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:11	3029	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field override
2023-10-13	13:17:11	3029	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:11	3029	[DEBUG]	Use field value for field slug
2023-10-13	13:17:11	3029	[DEBUG]	Process line 3029
2023-10-13	13:17:11	3029	[DEBUG]	Load a row
2023-10-13	13:17:11	3029	[DEBUG]	Processing item: 8436047354158
2023-10-13	13:17:11	3029	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:11	3029	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:11	3029	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1155_13'
2023-10-13	13:17:11	3029	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:11	3029	[DEBUG]	Processing product tax
2023-10-13	13:17:11	3029	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:11	3029	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:11	3029	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:11	3029	[DEBUG]	Query for Product
2023-10-13	13:17:11	3029	[DEBUG]	Executed store
2023-10-13	13:17:11	3029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862520','8436047354158','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:11	3029	[DEBUG]	No parent found
2023-10-13	13:17:11	3029	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862520 AND customfield_value = 'stockable'
2023-10-13	13:17:11	3029	[DEBUG]	Check product language entry
2023-10-13	13:17:11	3029	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862521
2023-10-13	13:17:11	3029	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:11	3029	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047354158' AND `virtuemart_product_id` != 1862521
2023-10-13	13:17:11	3029	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:11	3029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862521, '8436047354158')
2023-10-13	13:17:11	3029	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:11	3029	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-aluminium-anodise-argent-unitaire' AND `virtuemart_product_id` != 1862521
2023-10-13	13:17:11	3029	[DEBUG]	Query for ProductLang
2023-10-13	13:17:11	3029	[DEBUG]	Executed store
2023-10-13	13:17:11	3029	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC aluminium anodisé / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-aluminium-anodise-argent-unitaire' WHERE `virtuemart_product_id` = '1862521'
2023-10-13	13:17:11	3029	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1483.jpg
2023-10-13	13:17:11	3029	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:17:11	3029	[DEBUG]	Process image file
2023-10-13	13:17:11	3029	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:17:11	3029	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:11	3029	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1483.jpg
2023-10-13	13:17:11	3029	[DEBUG]	Full name target: bcprisme/image_1483.jpg
2023-10-13	13:17:12	3029	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:12	3029	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1483.jpg'
2023-10-13	13:17:12	3029	[DEBUG]	Query for Media
2023-10-13	13:17:12	3029	[DEBUG]	Executed store
2023-10-13	13:17:12	3029	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1483.jpg',`file_url_thumb`='bcprisme/image_1483.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13040'
2023-10-13	13:17:12	3029	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:12	3029	[DEBUG]	Executed store
2023-10-13	13:17:12	3029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862521','13040','1')
2023-10-13	13:17:12	3029	[DEBUG]	Store product image relation
2023-10-13	13:17:12	3029	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:12	3029	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862521 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:12	3029	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:12	3029	[DEBUG]	Executed store
2023-10-13	13:17:12	3029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862521','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:12	3029	[DEBUG]	Checking manufacturer
2023-10-13	13:17:12	3029	[DEBUG]	Load a row
2023-10-13	13:17:12	3029	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:12	3029	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:12	3029	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:12	3029	[DEBUG]	Executed store
2023-10-13	13:17:12	3029	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:12	3029	[DEBUG]	Manufacturer exists
2023-10-13	13:17:12	3029	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:12	3029	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:12	3029	[DEBUG]	Executed store
2023-10-13	13:17:12	3029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862521','206')
2023-10-13	13:17:12	3029	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:12	3029	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:12	3029	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862521 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:12	3029	[DEBUG]	Store custom available field
2023-10-13	13:17:12	3029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862521,3,'',1)
2023-10-13	13:17:12	3029	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:12	3029	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:12	3029	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862521 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:12	3029	[DEBUG]	Store custom available field
2023-10-13	13:17:12	3029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862521,6,'Unitaire',3)
2023-10-13	13:17:12	3029	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:12	3029	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:12	3029	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862520
2023-10-13	13:17:12	3029	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:12	3029	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862520\":[1862520,8,1,\"choisir la taille\"],\"1862521\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862520
2023-10-13	13:17:12	3029	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:12	3029	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862521
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:12	3030	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field taille
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:12	3030	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:12	3030	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:12	3030	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:12	3030	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:12	3030	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:12	3030	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field published
2023-10-13	13:17:12	3030	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:12	3030	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field override
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:12	3030	[DEBUG]	Use field value for field slug
2023-10-13	13:17:12	3030	[DEBUG]	Process line 3030
2023-10-13	13:17:12	3030	[DEBUG]	Load a row
2023-10-13	13:17:12	3030	[DEBUG]	Processing item: A_1155_22
2023-10-13	13:17:12	3030	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:12	3030	[DEBUG]	Processing product tax
2023-10-13	13:17:12	3030	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:12	3030	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:12	3030	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:12	3030	[DEBUG]	Query for Product
2023-10-13	13:17:12	3030	[DEBUG]	Executed store
2023-10-13	13:17:12	3030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1155_22','0.06','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:12	3030	[DEBUG]	Check product language entry
2023-10-13	13:17:12	3030	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862522
2023-10-13	13:17:12	3030	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:12	3030	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1155_22' AND `virtuemart_product_id` != 1862522
2023-10-13	13:17:12	3030	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:12	3030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862522, 'A_1155_22')
2023-10-13	13:17:12	3030	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:12	3030	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-aluminium-anodise-bleu' AND `virtuemart_product_id` != 1862522
2023-10-13	13:17:12	3030	[DEBUG]	Query for ProductLang
2023-10-13	13:17:12	3030	[DEBUG]	Executed store
2023-10-13	13:17:12	3030	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Entraxe standard<br>N° art fourn : ZLSHJ004P',`product_name`='MSC Porte-bidon MSC aluminium anodisé / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-aluminium-anodise-bleu' WHERE `virtuemart_product_id` = '1862522'
2023-10-13	13:17:12	3030	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1481.jpg
2023-10-13	13:17:12	3030	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:17:12	3030	[DEBUG]	Process image file
2023-10-13	13:17:12	3030	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:17:12	3030	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:12	3030	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1481.jpg
2023-10-13	13:17:12	3030	[DEBUG]	Full name target: bcprisme/image_1481.jpg
2023-10-13	13:17:13	3030	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:13	3030	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1481.jpg'
2023-10-13	13:17:13	3030	[DEBUG]	Query for Media
2023-10-13	13:17:13	3030	[DEBUG]	Executed store
2023-10-13	13:17:13	3030	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1481.jpg',`file_url_thumb`='bcprisme/image_1481.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13041'
2023-10-13	13:17:13	3030	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:13	3030	[DEBUG]	Executed store
2023-10-13	13:17:13	3030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862522','13041','1')
2023-10-13	13:17:13	3030	[DEBUG]	Store product image relation
2023-10-13	13:17:13	3030	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:13	3030	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862522 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:13	3030	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:13	3030	[DEBUG]	Executed store
2023-10-13	13:17:13	3030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862522','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:13	3030	[DEBUG]	Checking manufacturer
2023-10-13	13:17:13	3030	[DEBUG]	Load a row
2023-10-13	13:17:13	3030	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:13	3030	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:13	3030	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:13	3030	[DEBUG]	Executed store
2023-10-13	13:17:13	3030	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:13	3030	[DEBUG]	Manufacturer exists
2023-10-13	13:17:13	3030	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:13	3030	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:13	3030	[DEBUG]	Executed store
2023-10-13	13:17:13	3030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862522','206')
2023-10-13	13:17:13	3030	[DEBUG]	Find the custom field ID
2023-10-13	13:17:13	3030	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:13	3030	[DEBUG]	No custom field ID found
2023-10-13	13:17:13	3030	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:13	3030	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:13	3030	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862522 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:13	3030	[DEBUG]	Store custom available field
2023-10-13	13:17:13	3030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862522,3,'8.87527777777778',1)
2023-10-13	13:17:13	3030	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:13	3030	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:13	3030	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862522 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:13	3030	[DEBUG]	Store custom available field
2023-10-13	13:17:13	3030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862522,6,'choisir la taille',3)
2023-10-13	13:17:13	3030	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:13	3030	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:13	3030	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:13	3030	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:13	3030	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862522 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:13	3030	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:13	3030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862522,8,1)
2023-10-13	13:17:13	3030	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:13	3030	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862522\":[1862522,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862522
2023-10-13	13:17:13	3030	[DEBUG]	Checking category
2023-10-13	13:17:13	3030	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:13	3030	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862522
2023-10-13	13:17:13	3030	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:13	3030	[DEBUG]	Executed store
2023-10-13	13:17:13	3030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862522','7366')
2023-10-13	13:17:13	3030	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:13	3030	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862522 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:13	3030	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:13	3030	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862522
2023-10-13	13:17:13	3031	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:13	3031	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:13	3031	[DEBUG]	Use field value for field taille
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:13	3031	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:13	3031	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:13	3031	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:13	3031	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:13	3031	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:13	3031	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:13	3031	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:13	3031	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:13	3031	[DEBUG]	Use field value for field published
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:13	3031	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field override
2023-10-13	13:17:13	3031	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:13	3031	[DEBUG]	Use field value for field slug
2023-10-13	13:17:13	3031	[DEBUG]	Process line 3031
2023-10-13	13:17:13	3031	[DEBUG]	Load a row
2023-10-13	13:17:13	3031	[DEBUG]	Processing item: 8436047354134
2023-10-13	13:17:13	3031	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:13	3031	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:13	3031	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1155_22'
2023-10-13	13:17:13	3031	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:13	3031	[DEBUG]	Processing product tax
2023-10-13	13:17:13	3031	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:13	3031	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:13	3031	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:13	3031	[DEBUG]	Query for Product
2023-10-13	13:17:13	3031	[DEBUG]	Executed store
2023-10-13	13:17:13	3031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862522','8436047354134','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:13	3031	[DEBUG]	No parent found
2023-10-13	13:17:13	3031	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862522 AND customfield_value = 'stockable'
2023-10-13	13:17:13	3031	[DEBUG]	Check product language entry
2023-10-13	13:17:13	3031	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862523
2023-10-13	13:17:13	3031	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:13	3031	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047354134' AND `virtuemart_product_id` != 1862523
2023-10-13	13:17:13	3031	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:13	3031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862523, '8436047354134')
2023-10-13	13:17:13	3031	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:13	3031	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-aluminium-anodise-bleu-unitaire' AND `virtuemart_product_id` != 1862523
2023-10-13	13:17:13	3031	[DEBUG]	Query for ProductLang
2023-10-13	13:17:13	3031	[DEBUG]	Executed store
2023-10-13	13:17:13	3031	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC aluminium anodisé / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-aluminium-anodise-bleu-unitaire' WHERE `virtuemart_product_id` = '1862523'
2023-10-13	13:17:13	3031	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1481.jpg
2023-10-13	13:17:13	3031	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:17:13	3031	[DEBUG]	Process image file
2023-10-13	13:17:13	3031	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:17:13	3031	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:13	3031	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1481.jpg
2023-10-13	13:17:13	3031	[DEBUG]	Full name target: bcprisme/image_1481.jpg
2023-10-13	13:17:14	3031	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:14	3031	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1481.jpg'
2023-10-13	13:17:14	3031	[DEBUG]	Query for Media
2023-10-13	13:17:14	3031	[DEBUG]	Executed store
2023-10-13	13:17:14	3031	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1481.jpg',`file_url_thumb`='bcprisme/image_1481.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13041'
2023-10-13	13:17:14	3031	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:14	3031	[DEBUG]	Executed store
2023-10-13	13:17:14	3031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862523','13041','1')
2023-10-13	13:17:14	3031	[DEBUG]	Store product image relation
2023-10-13	13:17:14	3031	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:14	3031	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862523 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:14	3031	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:14	3031	[DEBUG]	Executed store
2023-10-13	13:17:14	3031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862523','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:14	3031	[DEBUG]	Checking manufacturer
2023-10-13	13:17:14	3031	[DEBUG]	Load a row
2023-10-13	13:17:14	3031	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:14	3031	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:14	3031	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:14	3031	[DEBUG]	Executed store
2023-10-13	13:17:14	3031	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:14	3031	[DEBUG]	Manufacturer exists
2023-10-13	13:17:14	3031	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:14	3031	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:14	3031	[DEBUG]	Executed store
2023-10-13	13:17:14	3031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862523','206')
2023-10-13	13:17:14	3031	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:14	3031	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:14	3031	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862523 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:14	3031	[DEBUG]	Store custom available field
2023-10-13	13:17:14	3031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862523,3,'',1)
2023-10-13	13:17:14	3031	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:14	3031	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:14	3031	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862523 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:14	3031	[DEBUG]	Store custom available field
2023-10-13	13:17:14	3031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862523,6,'Unitaire',3)
2023-10-13	13:17:14	3031	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:14	3031	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:14	3031	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862522
2023-10-13	13:17:14	3031	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:14	3031	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862522\":[1862522,8,1,\"choisir la taille\"],\"1862523\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862522
2023-10-13	13:17:14	3031	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:14	3031	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862523
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:14	3032	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field taille
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:14	3032	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:14	3032	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:14	3032	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:14	3032	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:14	3032	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:14	3032	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field published
2023-10-13	13:17:14	3032	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:14	3032	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field override
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:14	3032	[DEBUG]	Use field value for field slug
2023-10-13	13:17:14	3032	[DEBUG]	Process line 3032
2023-10-13	13:17:14	3032	[DEBUG]	Load a row
2023-10-13	13:17:14	3032	[DEBUG]	Processing item: A_1155_31
2023-10-13	13:17:14	3032	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:14	3032	[DEBUG]	Processing product tax
2023-10-13	13:17:14	3032	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:14	3032	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:14	3032	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:14	3032	[DEBUG]	Query for Product
2023-10-13	13:17:14	3032	[DEBUG]	Executed store
2023-10-13	13:17:14	3032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1155_31','0.06','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:14	3032	[DEBUG]	Check product language entry
2023-10-13	13:17:14	3032	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862524
2023-10-13	13:17:14	3032	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:14	3032	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1155_31' AND `virtuemart_product_id` != 1862524
2023-10-13	13:17:14	3032	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:14	3032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862524, 'A_1155_31')
2023-10-13	13:17:14	3032	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:14	3032	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-aluminium-anodise-or' AND `virtuemart_product_id` != 1862524
2023-10-13	13:17:14	3032	[DEBUG]	Query for ProductLang
2023-10-13	13:17:14	3032	[DEBUG]	Executed store
2023-10-13	13:17:14	3032	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Entraxe standard<br>N° art fourn : ZLSHJ004P',`product_name`='MSC Porte-bidon MSC aluminium anodisé / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-aluminium-anodise-or' WHERE `virtuemart_product_id` = '1862524'
2023-10-13	13:17:14	3032	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1480.jpg
2023-10-13	13:17:14	3032	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:17:14	3032	[DEBUG]	Process image file
2023-10-13	13:17:14	3032	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:17:14	3032	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:14	3032	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1480.jpg
2023-10-13	13:17:14	3032	[DEBUG]	Full name target: bcprisme/image_1480.jpg
2023-10-13	13:17:15	3032	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:15	3032	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1480.jpg'
2023-10-13	13:17:15	3032	[DEBUG]	Query for Media
2023-10-13	13:17:15	3032	[DEBUG]	Executed store
2023-10-13	13:17:15	3032	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1480.jpg',`file_url_thumb`='bcprisme/image_1480.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13042'
2023-10-13	13:17:15	3032	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:15	3032	[DEBUG]	Executed store
2023-10-13	13:17:15	3032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862524','13042','1')
2023-10-13	13:17:15	3032	[DEBUG]	Store product image relation
2023-10-13	13:17:15	3032	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:15	3032	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862524 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:15	3032	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:15	3032	[DEBUG]	Executed store
2023-10-13	13:17:15	3032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862524','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:15	3032	[DEBUG]	Checking manufacturer
2023-10-13	13:17:15	3032	[DEBUG]	Load a row
2023-10-13	13:17:15	3032	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:15	3032	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:15	3032	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:15	3032	[DEBUG]	Executed store
2023-10-13	13:17:15	3032	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:15	3032	[DEBUG]	Manufacturer exists
2023-10-13	13:17:15	3032	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:15	3032	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:15	3032	[DEBUG]	Executed store
2023-10-13	13:17:15	3032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862524','206')
2023-10-13	13:17:15	3032	[DEBUG]	Find the custom field ID
2023-10-13	13:17:15	3032	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:15	3032	[DEBUG]	No custom field ID found
2023-10-13	13:17:15	3032	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:15	3032	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:15	3032	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862524 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:15	3032	[DEBUG]	Store custom available field
2023-10-13	13:17:15	3032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862524,3,'8.87527777777778',1)
2023-10-13	13:17:15	3032	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:15	3032	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:15	3032	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862524 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:15	3032	[DEBUG]	Store custom available field
2023-10-13	13:17:15	3032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862524,6,'choisir la taille',3)
2023-10-13	13:17:15	3032	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:15	3032	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:15	3032	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:15	3032	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:15	3032	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862524 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:15	3032	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:15	3032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862524,8,1)
2023-10-13	13:17:15	3032	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:15	3032	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862524\":[1862524,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862524
2023-10-13	13:17:15	3032	[DEBUG]	Checking category
2023-10-13	13:17:15	3032	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:15	3032	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862524
2023-10-13	13:17:15	3032	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:15	3032	[DEBUG]	Executed store
2023-10-13	13:17:15	3032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862524','7366')
2023-10-13	13:17:15	3032	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:15	3032	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862524 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:15	3032	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:15	3032	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862524
2023-10-13	13:17:15	3033	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:15	3033	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:15	3033	[DEBUG]	Use field value for field taille
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:15	3033	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:15	3033	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:15	3033	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:15	3033	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:15	3033	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:15	3033	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:15	3033	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:15	3033	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:15	3033	[DEBUG]	Use field value for field published
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:15	3033	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field override
2023-10-13	13:17:15	3033	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:15	3033	[DEBUG]	Use field value for field slug
2023-10-13	13:17:15	3033	[DEBUG]	Process line 3033
2023-10-13	13:17:15	3033	[DEBUG]	Load a row
2023-10-13	13:17:15	3033	[DEBUG]	Processing item: 8436047354127
2023-10-13	13:17:15	3033	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:15	3033	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:15	3033	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1155_31'
2023-10-13	13:17:15	3033	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:15	3033	[DEBUG]	Processing product tax
2023-10-13	13:17:15	3033	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:15	3033	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:15	3033	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:15	3033	[DEBUG]	Query for Product
2023-10-13	13:17:15	3033	[DEBUG]	Executed store
2023-10-13	13:17:15	3033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862524','8436047354127','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:15	3033	[DEBUG]	No parent found
2023-10-13	13:17:15	3033	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862524 AND customfield_value = 'stockable'
2023-10-13	13:17:15	3033	[DEBUG]	Check product language entry
2023-10-13	13:17:15	3033	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862525
2023-10-13	13:17:15	3033	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:15	3033	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047354127' AND `virtuemart_product_id` != 1862525
2023-10-13	13:17:15	3033	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:15	3033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862525, '8436047354127')
2023-10-13	13:17:15	3033	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:15	3033	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-aluminium-anodise-or-unitaire' AND `virtuemart_product_id` != 1862525
2023-10-13	13:17:15	3033	[DEBUG]	Query for ProductLang
2023-10-13	13:17:15	3033	[DEBUG]	Executed store
2023-10-13	13:17:15	3033	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC aluminium anodisé / Or  (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-aluminium-anodise-or-unitaire' WHERE `virtuemart_product_id` = '1862525'
2023-10-13	13:17:15	3033	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1480.jpg
2023-10-13	13:17:15	3033	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:17:15	3033	[DEBUG]	Process image file
2023-10-13	13:17:15	3033	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:17:15	3033	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:15	3033	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1480.jpg
2023-10-13	13:17:15	3033	[DEBUG]	Full name target: bcprisme/image_1480.jpg
2023-10-13	13:17:16	3033	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:16	3033	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1480.jpg'
2023-10-13	13:17:16	3033	[DEBUG]	Query for Media
2023-10-13	13:17:16	3033	[DEBUG]	Executed store
2023-10-13	13:17:16	3033	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1480.jpg',`file_url_thumb`='bcprisme/image_1480.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13042'
2023-10-13	13:17:16	3033	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:16	3033	[DEBUG]	Executed store
2023-10-13	13:17:16	3033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862525','13042','1')
2023-10-13	13:17:16	3033	[DEBUG]	Store product image relation
2023-10-13	13:17:16	3033	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:16	3033	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862525 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:16	3033	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:16	3033	[DEBUG]	Executed store
2023-10-13	13:17:16	3033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862525','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:16	3033	[DEBUG]	Checking manufacturer
2023-10-13	13:17:16	3033	[DEBUG]	Load a row
2023-10-13	13:17:16	3033	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:16	3033	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:16	3033	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:16	3033	[DEBUG]	Executed store
2023-10-13	13:17:16	3033	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:16	3033	[DEBUG]	Manufacturer exists
2023-10-13	13:17:16	3033	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:16	3033	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:16	3033	[DEBUG]	Executed store
2023-10-13	13:17:16	3033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862525','206')
2023-10-13	13:17:16	3033	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:16	3033	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:16	3033	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862525 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:16	3033	[DEBUG]	Store custom available field
2023-10-13	13:17:16	3033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862525,3,'',1)
2023-10-13	13:17:16	3033	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:16	3033	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:16	3033	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862525 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:16	3033	[DEBUG]	Store custom available field
2023-10-13	13:17:16	3033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862525,6,'Unitaire',3)
2023-10-13	13:17:16	3033	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:16	3033	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:16	3033	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862524
2023-10-13	13:17:16	3033	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:16	3033	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862524\":[1862524,8,1,\"choisir la taille\"],\"1862525\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862524
2023-10-13	13:17:16	3033	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:16	3033	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862525
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:16	3034	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field taille
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:16	3034	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:16	3034	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:16	3034	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:16	3034	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:16	3034	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:16	3034	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field published
2023-10-13	13:17:16	3034	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:16	3034	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field override
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:16	3034	[DEBUG]	Use field value for field slug
2023-10-13	13:17:16	3034	[DEBUG]	Process line 3034
2023-10-13	13:17:16	3034	[DEBUG]	Load a row
2023-10-13	13:17:16	3034	[DEBUG]	Processing item: A_1155_40
2023-10-13	13:17:16	3034	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:16	3034	[DEBUG]	Processing product tax
2023-10-13	13:17:16	3034	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:16	3034	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:16	3034	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:16	3034	[DEBUG]	Query for Product
2023-10-13	13:17:16	3034	[DEBUG]	Executed store
2023-10-13	13:17:16	3034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1155_40','0.06','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:16	3034	[DEBUG]	Check product language entry
2023-10-13	13:17:16	3034	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862526
2023-10-13	13:17:16	3034	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:16	3034	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1155_40' AND `virtuemart_product_id` != 1862526
2023-10-13	13:17:16	3034	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:16	3034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862526, 'A_1155_40')
2023-10-13	13:17:16	3034	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:16	3034	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-aluminium-anodise-vert' AND `virtuemart_product_id` != 1862526
2023-10-13	13:17:16	3034	[DEBUG]	Query for ProductLang
2023-10-13	13:17:16	3034	[DEBUG]	Executed store
2023-10-13	13:17:16	3034	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Entraxe standard<br>N° art fourn : ZLSHJ004P',`product_name`='MSC Porte-bidon MSC aluminium anodisé / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-aluminium-anodise-vert' WHERE `virtuemart_product_id` = '1862526'
2023-10-13	13:17:16	3034	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13959.jpg
2023-10-13	13:17:16	3034	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:16	3034	[DEBUG]	Process image file
2023-10-13	13:17:16	3034	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:16	3034	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:16	3034	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13959.jpg
2023-10-13	13:17:16	3034	[DEBUG]	Full name target: bcprisme/image_13959.jpg
2023-10-13	13:17:17	3034	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:17	3034	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13959.jpg'
2023-10-13	13:17:17	3034	[DEBUG]	Query for Media
2023-10-13	13:17:17	3034	[DEBUG]	Executed store
2023-10-13	13:17:17	3034	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13959.jpg',`file_url_thumb`='bcprisme/image_13959.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13043'
2023-10-13	13:17:17	3034	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:17	3034	[DEBUG]	Executed store
2023-10-13	13:17:17	3034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862526','13043','1')
2023-10-13	13:17:17	3034	[DEBUG]	Store product image relation
2023-10-13	13:17:17	3034	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:17	3034	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862526 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:17	3034	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:17	3034	[DEBUG]	Executed store
2023-10-13	13:17:17	3034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862526','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:17	3034	[DEBUG]	Checking manufacturer
2023-10-13	13:17:17	3034	[DEBUG]	Load a row
2023-10-13	13:17:17	3034	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:17	3034	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:17	3034	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:17	3034	[DEBUG]	Executed store
2023-10-13	13:17:17	3034	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:17	3034	[DEBUG]	Manufacturer exists
2023-10-13	13:17:17	3034	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:17	3034	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:17	3034	[DEBUG]	Executed store
2023-10-13	13:17:17	3034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862526','206')
2023-10-13	13:17:17	3034	[DEBUG]	Find the custom field ID
2023-10-13	13:17:17	3034	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:17	3034	[DEBUG]	No custom field ID found
2023-10-13	13:17:17	3034	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:17	3034	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:17	3034	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862526 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:17	3034	[DEBUG]	Store custom available field
2023-10-13	13:17:17	3034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862526,3,'8.87527777777778',1)
2023-10-13	13:17:17	3034	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:17	3034	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:17	3034	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862526 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:17	3034	[DEBUG]	Store custom available field
2023-10-13	13:17:17	3034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862526,6,'choisir la taille',3)
2023-10-13	13:17:17	3034	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:17	3034	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:17	3034	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:17	3034	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:17	3034	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862526 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:17	3034	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:17	3034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862526,8,1)
2023-10-13	13:17:17	3034	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:17	3034	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862526\":[1862526,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862526
2023-10-13	13:17:17	3034	[DEBUG]	Checking category
2023-10-13	13:17:17	3034	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:17	3034	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862526
2023-10-13	13:17:17	3034	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:17	3034	[DEBUG]	Executed store
2023-10-13	13:17:17	3034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862526','7366')
2023-10-13	13:17:17	3034	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:17	3034	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862526 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:17	3034	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:17	3034	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862526
2023-10-13	13:17:17	3035	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:17	3035	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:17	3035	[DEBUG]	Use field value for field taille
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:17	3035	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:17	3035	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:17	3035	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:17	3035	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:17	3035	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:17	3035	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:17	3035	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:17	3035	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:17	3035	[DEBUG]	Use field value for field published
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:17	3035	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field override
2023-10-13	13:17:17	3035	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:17	3035	[DEBUG]	Use field value for field slug
2023-10-13	13:17:17	3035	[DEBUG]	Process line 3035
2023-10-13	13:17:17	3035	[DEBUG]	Load a row
2023-10-13	13:17:17	3035	[DEBUG]	Processing item: 8436550194296
2023-10-13	13:17:17	3035	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:17	3035	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:17	3035	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1155_40'
2023-10-13	13:17:17	3035	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:17	3035	[DEBUG]	Processing product tax
2023-10-13	13:17:17	3035	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:17	3035	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:17	3035	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:17	3035	[DEBUG]	Query for Product
2023-10-13	13:17:17	3035	[DEBUG]	Executed store
2023-10-13	13:17:17	3035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862526','8436550194296','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:17	3035	[DEBUG]	No parent found
2023-10-13	13:17:17	3035	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862526 AND customfield_value = 'stockable'
2023-10-13	13:17:17	3035	[DEBUG]	Check product language entry
2023-10-13	13:17:17	3035	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862527
2023-10-13	13:17:17	3035	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:17	3035	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550194296' AND `virtuemart_product_id` != 1862527
2023-10-13	13:17:17	3035	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:17	3035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862527, '8436550194296')
2023-10-13	13:17:17	3035	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:17	3035	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-aluminium-anodise-vert-unitaire' AND `virtuemart_product_id` != 1862527
2023-10-13	13:17:17	3035	[DEBUG]	Query for ProductLang
2023-10-13	13:17:17	3035	[DEBUG]	Executed store
2023-10-13	13:17:17	3035	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC aluminium anodisé / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-aluminium-anodise-vert-unitaire' WHERE `virtuemart_product_id` = '1862527'
2023-10-13	13:17:18	3035	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13959.jpg
2023-10-13	13:17:18	3035	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:18	3035	[DEBUG]	Process image file
2023-10-13	13:17:18	3035	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:18	3035	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:18	3035	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13959.jpg
2023-10-13	13:17:18	3035	[DEBUG]	Full name target: bcprisme/image_13959.jpg
2023-10-13	13:17:18	3035	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:18	3035	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13959.jpg'
2023-10-13	13:17:18	3035	[DEBUG]	Query for Media
2023-10-13	13:17:18	3035	[DEBUG]	Executed store
2023-10-13	13:17:18	3035	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13959.jpg',`file_url_thumb`='bcprisme/image_13959.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13043'
2023-10-13	13:17:18	3035	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:18	3035	[DEBUG]	Executed store
2023-10-13	13:17:18	3035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862527','13043','1')
2023-10-13	13:17:18	3035	[DEBUG]	Store product image relation
2023-10-13	13:17:18	3035	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:18	3035	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862527 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:18	3035	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:18	3035	[DEBUG]	Executed store
2023-10-13	13:17:18	3035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862527','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:18	3035	[DEBUG]	Checking manufacturer
2023-10-13	13:17:18	3035	[DEBUG]	Load a row
2023-10-13	13:17:18	3035	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:18	3035	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:18	3035	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:18	3035	[DEBUG]	Executed store
2023-10-13	13:17:18	3035	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:18	3035	[DEBUG]	Manufacturer exists
2023-10-13	13:17:18	3035	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:18	3035	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:19	3035	[DEBUG]	Executed store
2023-10-13	13:17:19	3035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862527','206')
2023-10-13	13:17:19	3035	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:19	3035	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:19	3035	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862527 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:19	3035	[DEBUG]	Store custom available field
2023-10-13	13:17:19	3035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862527,3,'',1)
2023-10-13	13:17:19	3035	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:19	3035	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:19	3035	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862527 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:19	3035	[DEBUG]	Store custom available field
2023-10-13	13:17:19	3035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862527,6,'Unitaire',3)
2023-10-13	13:17:19	3035	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:19	3035	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:19	3035	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862526
2023-10-13	13:17:19	3035	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:19	3035	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862526\":[1862526,8,1,\"choisir la taille\"],\"1862527\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862526
2023-10-13	13:17:19	3035	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:19	3035	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862527
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:19	3036	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field taille
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:19	3036	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:19	3036	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:19	3036	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:19	3036	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:19	3036	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:19	3036	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field published
2023-10-13	13:17:19	3036	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:19	3036	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field override
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:19	3036	[DEBUG]	Use field value for field slug
2023-10-13	13:17:19	3036	[DEBUG]	Process line 3036
2023-10-13	13:17:19	3036	[DEBUG]	Load a row
2023-10-13	13:17:19	3036	[DEBUG]	Processing item: A_1790_1
2023-10-13	13:17:19	3036	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:19	3036	[DEBUG]	Processing product tax
2023-10-13	13:17:19	3036	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:19	3036	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:19	3036	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:19	3036	[DEBUG]	Query for Product
2023-10-13	13:17:19	3036	[DEBUG]	Executed store
2023-10-13	13:17:19	3036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1790_1','0.0039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:19	3036	[DEBUG]	Check product language entry
2023-10-13	13:17:19	3036	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862528
2023-10-13	13:17:19	3036	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:19	3036	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1790_1' AND `virtuemart_product_id` != 1862528
2023-10-13	13:17:19	3036	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:19	3036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862528, 'A_1790_1')
2023-10-13	13:17:19	3036	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:19	3036	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-noir' AND `virtuemart_product_id` != 1862528
2023-10-13	13:17:19	3036	[DEBUG]	Query for ProductLang
2023-10-13	13:17:19	3036	[DEBUG]	Executed store
2023-10-13	13:17:19	3036	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon en Nylon MSC, 39 gr.<br>N° art fourn : XONE',`product_name`='MSC Porte-bidon MSC nylon  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-noir' WHERE `virtuemart_product_id` = '1862528'
2023-10-13	13:17:19	3036	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5956.jpg has not been found.
2023-10-13	13:17:19	3036	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:19	3036	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862528 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:19	3036	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:19	3036	[DEBUG]	Executed store
2023-10-13	13:17:19	3036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862528','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:19	3036	[DEBUG]	Checking manufacturer
2023-10-13	13:17:19	3036	[DEBUG]	Load a row
2023-10-13	13:17:19	3036	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:19	3036	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:19	3036	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:19	3036	[DEBUG]	Executed store
2023-10-13	13:17:19	3036	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:19	3036	[DEBUG]	Manufacturer exists
2023-10-13	13:17:19	3036	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:19	3036	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:19	3036	[DEBUG]	Executed store
2023-10-13	13:17:19	3036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862528','206')
2023-10-13	13:17:19	3036	[DEBUG]	Find the custom field ID
2023-10-13	13:17:19	3036	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:19	3036	[DEBUG]	No custom field ID found
2023-10-13	13:17:19	3036	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:19	3036	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:19	3036	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862528 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:19	3036	[DEBUG]	Store custom available field
2023-10-13	13:17:19	3036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862528,3,'8.87527777777778',1)
2023-10-13	13:17:19	3036	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:19	3036	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:19	3036	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862528 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:19	3036	[DEBUG]	Store custom available field
2023-10-13	13:17:19	3036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862528,6,'choisir la taille',3)
2023-10-13	13:17:19	3036	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:19	3036	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:19	3036	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:19	3036	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:19	3036	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862528 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:19	3036	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:19	3036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862528,8,1)
2023-10-13	13:17:19	3036	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:19	3036	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862528\":[1862528,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862528
2023-10-13	13:17:19	3036	[DEBUG]	Checking category
2023-10-13	13:17:19	3036	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:19	3036	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862528
2023-10-13	13:17:19	3036	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:19	3036	[DEBUG]	Executed store
2023-10-13	13:17:19	3036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862528','7366')
2023-10-13	13:17:19	3036	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:19	3036	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862528 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:19	3036	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:19	3036	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862528
2023-10-13	13:17:19	3037	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:19	3037	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:19	3037	[DEBUG]	Use field value for field taille
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:19	3037	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:19	3037	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:19	3037	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:19	3037	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:19	3037	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:19	3037	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:19	3037	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:19	3037	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:19	3037	[DEBUG]	Use field value for field published
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:19	3037	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field override
2023-10-13	13:17:19	3037	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:19	3037	[DEBUG]	Use field value for field slug
2023-10-13	13:17:19	3037	[DEBUG]	Process line 3037
2023-10-13	13:17:19	3037	[DEBUG]	Load a row
2023-10-13	13:17:19	3037	[DEBUG]	Processing item: 8436041552017
2023-10-13	13:17:19	3037	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:19	3037	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:19	3037	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1790_1'
2023-10-13	13:17:19	3037	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:19	3037	[DEBUG]	Processing product tax
2023-10-13	13:17:19	3037	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:19	3037	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:19	3037	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:19	3037	[DEBUG]	Query for Product
2023-10-13	13:17:19	3037	[DEBUG]	Executed store
2023-10-13	13:17:19	3037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862528','8436041552017','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:19	3037	[DEBUG]	No parent found
2023-10-13	13:17:19	3037	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862528 AND customfield_value = 'stockable'
2023-10-13	13:17:19	3037	[DEBUG]	Check product language entry
2023-10-13	13:17:19	3037	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862529
2023-10-13	13:17:19	3037	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:19	3037	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041552017' AND `virtuemart_product_id` != 1862529
2023-10-13	13:17:19	3037	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:19	3037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862529, '8436041552017')
2023-10-13	13:17:19	3037	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:19	3037	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-noir-unitaire' AND `virtuemart_product_id` != 1862529
2023-10-13	13:17:19	3037	[DEBUG]	Query for ProductLang
2023-10-13	13:17:19	3037	[DEBUG]	Executed store
2023-10-13	13:17:19	3037	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC nylon  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-noir-unitaire' WHERE `virtuemart_product_id` = '1862529'
2023-10-13	13:17:19	3037	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5956.jpg has not been found.
2023-10-13	13:17:19	3037	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:19	3037	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862529 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:19	3037	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:19	3037	[DEBUG]	Executed store
2023-10-13	13:17:19	3037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862529','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:19	3037	[DEBUG]	Checking manufacturer
2023-10-13	13:17:19	3037	[DEBUG]	Load a row
2023-10-13	13:17:19	3037	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:19	3037	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:19	3037	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:19	3037	[DEBUG]	Executed store
2023-10-13	13:17:19	3037	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:19	3037	[DEBUG]	Manufacturer exists
2023-10-13	13:17:19	3037	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:19	3037	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:19	3037	[DEBUG]	Executed store
2023-10-13	13:17:19	3037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862529','206')
2023-10-13	13:17:19	3037	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:19	3037	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:19	3037	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862529 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:19	3037	[DEBUG]	Store custom available field
2023-10-13	13:17:19	3037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862529,3,'',1)
2023-10-13	13:17:19	3037	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:19	3037	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:19	3037	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862529 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:19	3037	[DEBUG]	Store custom available field
2023-10-13	13:17:19	3037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862529,6,'Unitaire',3)
2023-10-13	13:17:19	3037	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:19	3037	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:19	3037	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862528
2023-10-13	13:17:19	3037	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:19	3037	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862528\":[1862528,8,1,\"choisir la taille\"],\"1862529\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862528
2023-10-13	13:17:19	3037	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:19	3037	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862529
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:19	3038	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field taille
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:19	3038	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:19	3038	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:19	3038	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:19	3038	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:19	3038	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:19	3038	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field published
2023-10-13	13:17:19	3038	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:19	3038	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field override
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:19	3038	[DEBUG]	Use field value for field slug
2023-10-13	13:17:19	3038	[DEBUG]	Process line 3038
2023-10-13	13:17:19	3038	[DEBUG]	Load a row
2023-10-13	13:17:19	3038	[DEBUG]	Processing item: A_2770_1
2023-10-13	13:17:19	3038	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:19	3038	[DEBUG]	Processing product tax
2023-10-13	13:17:19	3038	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:19	3038	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:19	3038	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:19	3038	[DEBUG]	Query for Product
2023-10-13	13:17:19	3038	[DEBUG]	Executed store
2023-10-13	13:17:19	3038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2770_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:19	3038	[DEBUG]	Check product language entry
2023-10-13	13:17:19	3038	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862530
2023-10-13	13:17:19	3038	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:19	3038	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2770_1' AND `virtuemart_product_id` != 1862530
2023-10-13	13:17:19	3038	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:19	3038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862530, 'A_2770_1')
2023-10-13	13:17:19	3038	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:19	3038	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-noir' AND `virtuemart_product_id` != 1862530
2023-10-13	13:17:19	3038	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:17:19	3038	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-porte-bidon-msc-nylon-noir', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-porte-bidon-msc-nylon-noir' OR `slug` LIKE 'msc-porte-bidon-msc-nylon-noir-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862530 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:17:19	3038	[DEBUG]	Query for ProductLang
2023-10-13	13:17:19	3038	[DEBUG]	Executed store
2023-10-13	13:17:19	3038	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon plastique MSC XONE <br>N° art fourn : NXONE',`product_name`='MSC Porte-bidon MSC nylon / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-noir-1' WHERE `virtuemart_product_id` = '1862530'
2023-10-13	13:17:19	3038	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11639.jpg
2023-10-13	13:17:19	3038	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:19	3038	[DEBUG]	Process image file
2023-10-13	13:17:19	3038	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:19	3038	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:19	3038	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11639.jpg
2023-10-13	13:17:19	3038	[DEBUG]	Full name target: bcprisme/image_11639.jpg
2023-10-13	13:17:20	3038	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:20	3038	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11639.jpg'
2023-10-13	13:17:20	3038	[DEBUG]	Query for Media
2023-10-13	13:17:20	3038	[DEBUG]	Executed store
2023-10-13	13:17:20	3038	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11639.jpg',`file_url_thumb`='bcprisme/image_11639.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13044'
2023-10-13	13:17:20	3038	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:20	3038	[DEBUG]	Executed store
2023-10-13	13:17:20	3038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862530','13044','1')
2023-10-13	13:17:20	3038	[DEBUG]	Store product image relation
2023-10-13	13:17:20	3038	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:20	3038	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862530 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:20	3038	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:20	3038	[DEBUG]	Executed store
2023-10-13	13:17:20	3038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862530','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:20	3038	[DEBUG]	Checking manufacturer
2023-10-13	13:17:20	3038	[DEBUG]	Load a row
2023-10-13	13:17:20	3038	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:20	3038	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:20	3038	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:20	3038	[DEBUG]	Executed store
2023-10-13	13:17:20	3038	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:20	3038	[DEBUG]	Manufacturer exists
2023-10-13	13:17:20	3038	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:20	3038	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:20	3038	[DEBUG]	Executed store
2023-10-13	13:17:20	3038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862530','206')
2023-10-13	13:17:20	3038	[DEBUG]	Find the custom field ID
2023-10-13	13:17:20	3038	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:20	3038	[DEBUG]	No custom field ID found
2023-10-13	13:17:20	3038	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:20	3038	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:20	3038	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862530 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:20	3038	[DEBUG]	Store custom available field
2023-10-13	13:17:20	3038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862530,3,'8.87527777777778',1)
2023-10-13	13:17:20	3038	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:20	3038	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:20	3038	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862530 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:20	3038	[DEBUG]	Store custom available field
2023-10-13	13:17:20	3038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862530,6,'choisir la taille',3)
2023-10-13	13:17:20	3038	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:20	3038	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:20	3038	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:20	3038	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:20	3038	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862530 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:20	3038	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:20	3038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862530,8,1)
2023-10-13	13:17:20	3038	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:20	3038	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862530\":[1862530,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862530
2023-10-13	13:17:20	3038	[DEBUG]	Checking category
2023-10-13	13:17:20	3038	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:20	3038	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862530
2023-10-13	13:17:20	3038	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:20	3038	[DEBUG]	Executed store
2023-10-13	13:17:20	3038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862530','7366')
2023-10-13	13:17:20	3038	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:20	3038	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862530 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:20	3038	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:20	3038	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862530
2023-10-13	13:17:20	3039	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:20	3039	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:20	3039	[DEBUG]	Use field value for field taille
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:20	3039	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:20	3039	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:20	3039	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:20	3039	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:20	3039	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:20	3039	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:20	3039	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:20	3039	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:20	3039	[DEBUG]	Use field value for field published
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:20	3039	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field override
2023-10-13	13:17:20	3039	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:20	3039	[DEBUG]	Use field value for field slug
2023-10-13	13:17:20	3039	[DEBUG]	Process line 3039
2023-10-13	13:17:20	3039	[DEBUG]	Load a row
2023-10-13	13:17:20	3039	[DEBUG]	Processing item: 8436550192834
2023-10-13	13:17:20	3039	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:20	3039	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:20	3039	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2770_1'
2023-10-13	13:17:20	3039	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:20	3039	[DEBUG]	Processing product tax
2023-10-13	13:17:20	3039	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:20	3039	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:20	3039	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:20	3039	[DEBUG]	Query for Product
2023-10-13	13:17:20	3039	[DEBUG]	Executed store
2023-10-13	13:17:20	3039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862530','8436550192834','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:20	3039	[DEBUG]	No parent found
2023-10-13	13:17:20	3039	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862530 AND customfield_value = 'stockable'
2023-10-13	13:17:20	3039	[DEBUG]	Check product language entry
2023-10-13	13:17:20	3039	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862531
2023-10-13	13:17:20	3039	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:20	3039	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550192834' AND `virtuemart_product_id` != 1862531
2023-10-13	13:17:20	3039	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:20	3039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862531, '8436550192834')
2023-10-13	13:17:20	3039	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:20	3039	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-noir-unitaire' AND `virtuemart_product_id` != 1862531
2023-10-13	13:17:20	3039	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:17:20	3039	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-porte-bidon-msc-nylon-noir-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-porte-bidon-msc-nylon-noir-unitaire' OR `slug` LIKE 'msc-porte-bidon-msc-nylon-noir-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862531 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:17:20	3039	[DEBUG]	Query for ProductLang
2023-10-13	13:17:20	3039	[DEBUG]	Executed store
2023-10-13	13:17:20	3039	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC nylon / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-noir-unitaire-1' WHERE `virtuemart_product_id` = '1862531'
2023-10-13	13:17:20	3039	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11639.jpg
2023-10-13	13:17:20	3039	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:20	3039	[DEBUG]	Process image file
2023-10-13	13:17:20	3039	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:20	3039	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:20	3039	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11639.jpg
2023-10-13	13:17:20	3039	[DEBUG]	Full name target: bcprisme/image_11639.jpg
2023-10-13	13:17:21	3039	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:21	3039	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11639.jpg'
2023-10-13	13:17:21	3039	[DEBUG]	Query for Media
2023-10-13	13:17:21	3039	[DEBUG]	Executed store
2023-10-13	13:17:21	3039	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11639.jpg',`file_url_thumb`='bcprisme/image_11639.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13044'
2023-10-13	13:17:21	3039	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:21	3039	[DEBUG]	Executed store
2023-10-13	13:17:21	3039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862531','13044','1')
2023-10-13	13:17:21	3039	[DEBUG]	Store product image relation
2023-10-13	13:17:21	3039	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:21	3039	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862531 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:21	3039	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:21	3039	[DEBUG]	Executed store
2023-10-13	13:17:21	3039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862531','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:21	3039	[DEBUG]	Checking manufacturer
2023-10-13	13:17:21	3039	[DEBUG]	Load a row
2023-10-13	13:17:21	3039	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:21	3039	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:21	3039	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:21	3039	[DEBUG]	Executed store
2023-10-13	13:17:21	3039	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:21	3039	[DEBUG]	Manufacturer exists
2023-10-13	13:17:21	3039	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:21	3039	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:21	3039	[DEBUG]	Executed store
2023-10-13	13:17:21	3039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862531','206')
2023-10-13	13:17:21	3039	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:21	3039	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:21	3039	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862531 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:21	3039	[DEBUG]	Store custom available field
2023-10-13	13:17:21	3039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862531,3,'',1)
2023-10-13	13:17:21	3039	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:21	3039	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:21	3039	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862531 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:21	3039	[DEBUG]	Store custom available field
2023-10-13	13:17:21	3039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862531,6,'Unitaire',3)
2023-10-13	13:17:21	3039	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:21	3039	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:21	3039	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862530
2023-10-13	13:17:21	3039	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:21	3039	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862530\":[1862530,8,1,\"choisir la taille\"],\"1862531\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862530
2023-10-13	13:17:21	3039	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:21	3039	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862531
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:21	3040	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field taille
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:21	3040	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:21	3040	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:21	3040	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:21	3040	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:21	3040	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:21	3040	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field published
2023-10-13	13:17:21	3040	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:21	3040	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field override
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:21	3040	[DEBUG]	Use field value for field slug
2023-10-13	13:17:21	3040	[DEBUG]	Process line 3040
2023-10-13	13:17:21	3040	[DEBUG]	Load a row
2023-10-13	13:17:21	3040	[DEBUG]	Processing item: A_2770_12
2023-10-13	13:17:21	3040	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:21	3040	[DEBUG]	Processing product tax
2023-10-13	13:17:21	3040	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:21	3040	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:21	3040	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:21	3040	[DEBUG]	Query for Product
2023-10-13	13:17:21	3040	[DEBUG]	Executed store
2023-10-13	13:17:21	3040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2770_12','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:21	3040	[DEBUG]	Check product language entry
2023-10-13	13:17:21	3040	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862532
2023-10-13	13:17:21	3040	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:21	3040	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2770_12' AND `virtuemart_product_id` != 1862532
2023-10-13	13:17:21	3040	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:21	3040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862532, 'A_2770_12')
2023-10-13	13:17:21	3040	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:21	3040	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-blanc' AND `virtuemart_product_id` != 1862532
2023-10-13	13:17:21	3040	[DEBUG]	Query for ProductLang
2023-10-13	13:17:21	3040	[DEBUG]	Executed store
2023-10-13	13:17:21	3040	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon plastique MSC XONE <br>N° art fourn : NXONE',`product_name`='MSC Porte-bidon MSC nylon / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-blanc' WHERE `virtuemart_product_id` = '1862532'
2023-10-13	13:17:21	3040	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11640.jpg
2023-10-13	13:17:21	3040	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:21	3040	[DEBUG]	Process image file
2023-10-13	13:17:21	3040	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:21	3040	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:21	3040	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11640.jpg
2023-10-13	13:17:21	3040	[DEBUG]	Full name target: bcprisme/image_11640.jpg
2023-10-13	13:17:22	3040	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:22	3040	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11640.jpg'
2023-10-13	13:17:22	3040	[DEBUG]	Query for Media
2023-10-13	13:17:22	3040	[DEBUG]	Executed store
2023-10-13	13:17:22	3040	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11640.jpg',`file_url_thumb`='bcprisme/image_11640.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13045'
2023-10-13	13:17:22	3040	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:22	3040	[DEBUG]	Executed store
2023-10-13	13:17:22	3040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862532','13045','1')
2023-10-13	13:17:22	3040	[DEBUG]	Store product image relation
2023-10-13	13:17:22	3040	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:22	3040	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862532 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:22	3040	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:22	3040	[DEBUG]	Executed store
2023-10-13	13:17:22	3040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862532','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:22	3040	[DEBUG]	Checking manufacturer
2023-10-13	13:17:22	3040	[DEBUG]	Load a row
2023-10-13	13:17:22	3040	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:22	3040	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:22	3040	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:22	3040	[DEBUG]	Executed store
2023-10-13	13:17:22	3040	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:22	3040	[DEBUG]	Manufacturer exists
2023-10-13	13:17:22	3040	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:22	3040	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:22	3040	[DEBUG]	Executed store
2023-10-13	13:17:22	3040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862532','206')
2023-10-13	13:17:22	3040	[DEBUG]	Find the custom field ID
2023-10-13	13:17:22	3040	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:22	3040	[DEBUG]	No custom field ID found
2023-10-13	13:17:22	3040	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:22	3040	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:22	3040	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862532 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:22	3040	[DEBUG]	Store custom available field
2023-10-13	13:17:22	3040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862532,3,'8.87527777777778',1)
2023-10-13	13:17:22	3040	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:22	3040	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:22	3040	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862532 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:22	3040	[DEBUG]	Store custom available field
2023-10-13	13:17:22	3040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862532,6,'choisir la taille',3)
2023-10-13	13:17:22	3040	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:22	3040	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:22	3040	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:22	3040	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:22	3040	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862532 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:22	3040	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:22	3040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862532,8,1)
2023-10-13	13:17:22	3040	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:22	3040	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862532\":[1862532,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862532
2023-10-13	13:17:22	3040	[DEBUG]	Checking category
2023-10-13	13:17:22	3040	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:22	3040	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862532
2023-10-13	13:17:22	3040	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:22	3040	[DEBUG]	Executed store
2023-10-13	13:17:22	3040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862532','7366')
2023-10-13	13:17:22	3040	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:22	3040	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862532 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:22	3040	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:22	3040	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862532
2023-10-13	13:17:22	3041	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:22	3041	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:22	3041	[DEBUG]	Use field value for field taille
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:22	3041	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:22	3041	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:22	3041	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:22	3041	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:22	3041	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:22	3041	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:22	3041	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:22	3041	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:22	3041	[DEBUG]	Use field value for field published
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:22	3041	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field override
2023-10-13	13:17:22	3041	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:22	3041	[DEBUG]	Use field value for field slug
2023-10-13	13:17:22	3041	[DEBUG]	Process line 3041
2023-10-13	13:17:22	3041	[DEBUG]	Load a row
2023-10-13	13:17:22	3041	[DEBUG]	Processing item: 8436550192841
2023-10-13	13:17:22	3041	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:22	3041	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:22	3041	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2770_12'
2023-10-13	13:17:22	3041	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:22	3041	[DEBUG]	Processing product tax
2023-10-13	13:17:22	3041	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:22	3041	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:22	3041	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:22	3041	[DEBUG]	Query for Product
2023-10-13	13:17:22	3041	[DEBUG]	Executed store
2023-10-13	13:17:22	3041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862532','8436550192841','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:22	3041	[DEBUG]	No parent found
2023-10-13	13:17:22	3041	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862532 AND customfield_value = 'stockable'
2023-10-13	13:17:22	3041	[DEBUG]	Check product language entry
2023-10-13	13:17:22	3041	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862533
2023-10-13	13:17:22	3041	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:22	3041	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550192841' AND `virtuemart_product_id` != 1862533
2023-10-13	13:17:22	3041	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:22	3041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862533, '8436550192841')
2023-10-13	13:17:22	3041	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:22	3041	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-blanc-unitaire' AND `virtuemart_product_id` != 1862533
2023-10-13	13:17:22	3041	[DEBUG]	Query for ProductLang
2023-10-13	13:17:22	3041	[DEBUG]	Executed store
2023-10-13	13:17:22	3041	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC nylon / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-blanc-unitaire' WHERE `virtuemart_product_id` = '1862533'
2023-10-13	13:17:22	3041	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11640.jpg
2023-10-13	13:17:22	3041	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:22	3041	[DEBUG]	Process image file
2023-10-13	13:17:22	3041	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:22	3041	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:22	3041	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11640.jpg
2023-10-13	13:17:22	3041	[DEBUG]	Full name target: bcprisme/image_11640.jpg
2023-10-13	13:17:23	3041	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:23	3041	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11640.jpg'
2023-10-13	13:17:23	3041	[DEBUG]	Query for Media
2023-10-13	13:17:23	3041	[DEBUG]	Executed store
2023-10-13	13:17:23	3041	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11640.jpg',`file_url_thumb`='bcprisme/image_11640.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13045'
2023-10-13	13:17:23	3041	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:23	3041	[DEBUG]	Executed store
2023-10-13	13:17:23	3041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862533','13045','1')
2023-10-13	13:17:23	3041	[DEBUG]	Store product image relation
2023-10-13	13:17:23	3041	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:23	3041	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862533 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:23	3041	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:23	3041	[DEBUG]	Executed store
2023-10-13	13:17:23	3041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862533','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:23	3041	[DEBUG]	Checking manufacturer
2023-10-13	13:17:23	3041	[DEBUG]	Load a row
2023-10-13	13:17:23	3041	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:23	3041	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:23	3041	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:23	3041	[DEBUG]	Executed store
2023-10-13	13:17:23	3041	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:23	3041	[DEBUG]	Manufacturer exists
2023-10-13	13:17:23	3041	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:23	3041	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:23	3041	[DEBUG]	Executed store
2023-10-13	13:17:23	3041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862533','206')
2023-10-13	13:17:23	3041	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:23	3041	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:23	3041	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862533 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:23	3041	[DEBUG]	Store custom available field
2023-10-13	13:17:23	3041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862533,3,'',1)
2023-10-13	13:17:23	3041	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:23	3041	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:23	3041	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862533 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:23	3041	[DEBUG]	Store custom available field
2023-10-13	13:17:23	3041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862533,6,'Unitaire',3)
2023-10-13	13:17:23	3041	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:23	3041	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:23	3041	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862532
2023-10-13	13:17:23	3041	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:23	3041	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862532\":[1862532,8,1,\"choisir la taille\"],\"1862533\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862532
2023-10-13	13:17:23	3041	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:23	3041	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862533
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:23	3042	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field taille
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:23	3042	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:23	3042	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:23	3042	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:23	3042	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:23	3042	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:23	3042	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field published
2023-10-13	13:17:23	3042	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:23	3042	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field override
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:23	3042	[DEBUG]	Use field value for field slug
2023-10-13	13:17:23	3042	[DEBUG]	Process line 3042
2023-10-13	13:17:23	3042	[DEBUG]	Load a row
2023-10-13	13:17:23	3042	[DEBUG]	Processing item: A_2917_1
2023-10-13	13:17:23	3042	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:23	3042	[DEBUG]	Processing product tax
2023-10-13	13:17:23	3042	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:23	3042	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:23	3042	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:23	3042	[DEBUG]	Query for Product
2023-10-13	13:17:23	3042	[DEBUG]	Executed store
2023-10-13	13:17:23	3042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2917_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:23	3042	[DEBUG]	Check product language entry
2023-10-13	13:17:23	3042	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862534
2023-10-13	13:17:23	3042	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:23	3042	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2917_1' AND `virtuemart_product_id` != 1862534
2023-10-13	13:17:23	3042	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:23	3042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862534, 'A_2917_1')
2023-10-13	13:17:23	3042	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:23	3042	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-sur-rail-de-selle-noir' AND `virtuemart_product_id` != 1862534
2023-10-13	13:17:23	3042	[DEBUG]	Query for ProductLang
2023-10-13	13:17:23	3042	[DEBUG]	Executed store
2023-10-13	13:17:23	3042	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='PORTE-BIDON SUR RAIL DE SELLE<br>N° art fourn : RT905200',`product_name`='MSC PORTE-BIDON SUR RAIL DE SELLE / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-sur-rail-de-selle-noir' WHERE `virtuemart_product_id` = '1862534'
2023-10-13	13:17:23	3042	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12151.jpg
2023-10-13	13:17:23	3042	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:23	3042	[DEBUG]	Process image file
2023-10-13	13:17:23	3042	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:23	3042	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:23	3042	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12151.jpg
2023-10-13	13:17:23	3042	[DEBUG]	Full name target: bcprisme/image_12151.jpg
2023-10-13	13:17:24	3042	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:24	3042	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12151.jpg'
2023-10-13	13:17:24	3042	[DEBUG]	Query for Media
2023-10-13	13:17:24	3042	[DEBUG]	Executed store
2023-10-13	13:17:24	3042	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12151.jpg',`file_url_thumb`='bcprisme/image_12151.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13046'
2023-10-13	13:17:24	3042	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:24	3042	[DEBUG]	Executed store
2023-10-13	13:17:24	3042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862534','13046','1')
2023-10-13	13:17:24	3042	[DEBUG]	Store product image relation
2023-10-13	13:17:24	3042	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:24	3042	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862534 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:24	3042	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:24	3042	[DEBUG]	Executed store
2023-10-13	13:17:24	3042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862534','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:24	3042	[DEBUG]	Checking manufacturer
2023-10-13	13:17:24	3042	[DEBUG]	Load a row
2023-10-13	13:17:24	3042	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:24	3042	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:24	3042	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:24	3042	[DEBUG]	Executed store
2023-10-13	13:17:24	3042	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:24	3042	[DEBUG]	Manufacturer exists
2023-10-13	13:17:24	3042	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:24	3042	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:24	3042	[DEBUG]	Executed store
2023-10-13	13:17:24	3042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862534','206')
2023-10-13	13:17:24	3042	[DEBUG]	Find the custom field ID
2023-10-13	13:17:24	3042	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:24	3042	[DEBUG]	No custom field ID found
2023-10-13	13:17:24	3042	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:24	3042	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:24	3042	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862534 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:24	3042	[DEBUG]	Store custom available field
2023-10-13	13:17:24	3042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862534,3,'8.87527777777778',1)
2023-10-13	13:17:24	3042	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:24	3042	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:24	3042	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862534 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:24	3042	[DEBUG]	Store custom available field
2023-10-13	13:17:24	3042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862534,6,'choisir la taille',3)
2023-10-13	13:17:24	3042	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:24	3042	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:24	3042	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:24	3042	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:24	3042	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862534 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:24	3042	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:24	3042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862534,8,1)
2023-10-13	13:17:24	3042	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:24	3042	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862534\":[1862534,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862534
2023-10-13	13:17:24	3042	[DEBUG]	Checking category
2023-10-13	13:17:24	3042	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:24	3042	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862534
2023-10-13	13:17:24	3042	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:24	3042	[DEBUG]	Executed store
2023-10-13	13:17:24	3042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862534','7366')
2023-10-13	13:17:24	3042	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:24	3042	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862534 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:24	3042	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:24	3042	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862534
2023-10-13	13:17:24	3043	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:24	3043	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:24	3043	[DEBUG]	Use field value for field taille
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:24	3043	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:24	3043	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:24	3043	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:24	3043	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:24	3043	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:24	3043	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:24	3043	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:24	3043	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:24	3043	[DEBUG]	Use field value for field published
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:24	3043	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field override
2023-10-13	13:17:24	3043	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:24	3043	[DEBUG]	Use field value for field slug
2023-10-13	13:17:24	3043	[DEBUG]	Process line 3043
2023-10-13	13:17:24	3043	[DEBUG]	Load a row
2023-10-13	13:17:24	3043	[DEBUG]	Processing item: 8436550193343
2023-10-13	13:17:24	3043	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:24	3043	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:24	3043	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2917_1'
2023-10-13	13:17:24	3043	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:24	3043	[DEBUG]	Processing product tax
2023-10-13	13:17:24	3043	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:24	3043	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:24	3043	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:24	3043	[DEBUG]	Query for Product
2023-10-13	13:17:24	3043	[DEBUG]	Executed store
2023-10-13	13:17:24	3043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862534','8436550193343','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:24	3043	[DEBUG]	No parent found
2023-10-13	13:17:24	3043	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862534 AND customfield_value = 'stockable'
2023-10-13	13:17:24	3043	[DEBUG]	Check product language entry
2023-10-13	13:17:24	3043	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862535
2023-10-13	13:17:24	3043	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:24	3043	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550193343' AND `virtuemart_product_id` != 1862535
2023-10-13	13:17:24	3043	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:24	3043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862535, '8436550193343')
2023-10-13	13:17:24	3043	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:24	3043	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-sur-rail-de-selle-noir-unitaire' AND `virtuemart_product_id` != 1862535
2023-10-13	13:17:24	3043	[DEBUG]	Query for ProductLang
2023-10-13	13:17:24	3043	[DEBUG]	Executed store
2023-10-13	13:17:24	3043	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PORTE-BIDON SUR RAIL DE SELLE / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-sur-rail-de-selle-noir-unitaire' WHERE `virtuemart_product_id` = '1862535'
2023-10-13	13:17:24	3043	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12151.jpg
2023-10-13	13:17:24	3043	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:24	3043	[DEBUG]	Process image file
2023-10-13	13:17:24	3043	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:24	3043	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:24	3043	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12151.jpg
2023-10-13	13:17:24	3043	[DEBUG]	Full name target: bcprisme/image_12151.jpg
2023-10-13	13:17:25	3043	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:25	3043	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12151.jpg'
2023-10-13	13:17:25	3043	[DEBUG]	Query for Media
2023-10-13	13:17:25	3043	[DEBUG]	Executed store
2023-10-13	13:17:25	3043	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12151.jpg',`file_url_thumb`='bcprisme/image_12151.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13046'
2023-10-13	13:17:25	3043	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:25	3043	[DEBUG]	Executed store
2023-10-13	13:17:25	3043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862535','13046','1')
2023-10-13	13:17:25	3043	[DEBUG]	Store product image relation
2023-10-13	13:17:25	3043	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:25	3043	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862535 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:25	3043	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:25	3043	[DEBUG]	Executed store
2023-10-13	13:17:25	3043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862535','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:25	3043	[DEBUG]	Checking manufacturer
2023-10-13	13:17:25	3043	[DEBUG]	Load a row
2023-10-13	13:17:25	3043	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:25	3043	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:25	3043	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:25	3043	[DEBUG]	Executed store
2023-10-13	13:17:25	3043	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:25	3043	[DEBUG]	Manufacturer exists
2023-10-13	13:17:25	3043	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:25	3043	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:25	3043	[DEBUG]	Executed store
2023-10-13	13:17:25	3043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862535','206')
2023-10-13	13:17:25	3043	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:25	3043	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:25	3043	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862535 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:25	3043	[DEBUG]	Store custom available field
2023-10-13	13:17:25	3043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862535,3,'',1)
2023-10-13	13:17:25	3043	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:25	3043	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:25	3043	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862535 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:25	3043	[DEBUG]	Store custom available field
2023-10-13	13:17:25	3043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862535,6,'Unitaire',3)
2023-10-13	13:17:25	3043	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:25	3043	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:25	3043	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862534
2023-10-13	13:17:25	3043	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:25	3043	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862534\":[1862534,8,1,\"choisir la taille\"],\"1862535\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862534
2023-10-13	13:17:25	3043	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:25	3043	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862535
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:25	3044	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field taille
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:25	3044	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:25	3044	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:25	3044	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:25	3044	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:25	3044	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:25	3044	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field published
2023-10-13	13:17:25	3044	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:25	3044	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field override
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:25	3044	[DEBUG]	Use field value for field slug
2023-10-13	13:17:25	3044	[DEBUG]	Process line 3044
2023-10-13	13:17:25	3044	[DEBUG]	Load a row
2023-10-13	13:17:25	3044	[DEBUG]	Processing item: A_3104_1
2023-10-13	13:17:25	3044	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:25	3044	[DEBUG]	Processing product tax
2023-10-13	13:17:25	3044	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:25	3044	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:25	3044	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:25	3044	[DEBUG]	Query for Product
2023-10-13	13:17:25	3044	[DEBUG]	Executed store
2023-10-13	13:17:25	3044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3104_1','0.0267','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:25	3044	[DEBUG]	Check product language entry
2023-10-13	13:17:25	3044	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862536
2023-10-13	13:17:25	3044	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:25	3044	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3104_1' AND `virtuemart_product_id` != 1862536
2023-10-13	13:17:25	3044	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:25	3044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862536, 'A_3104_1')
2023-10-13	13:17:25	3044	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:25	3044	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-noir' AND `virtuemart_product_id` != 1862536
2023-10-13	13:17:25	3044	[DEBUG]	Query for ProductLang
2023-10-13	13:17:25	3044	[DEBUG]	Executed store
2023-10-13	13:17:25	3044	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon polyamide MSC, livré avec visserie<br>N° art fourn : CSC045BK',`product_name`='MSC Porte bidon MSC polyamide  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-noir' WHERE `virtuemart_product_id` = '1862536'
2023-10-13	13:17:25	3044	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14460.jpg
2023-10-13	13:17:25	3044	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:25	3044	[DEBUG]	Process image file
2023-10-13	13:17:25	3044	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:25	3044	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:25	3044	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14460.jpg
2023-10-13	13:17:25	3044	[DEBUG]	Full name target: bcprisme/image_14460.jpg
2023-10-13	13:17:26	3044	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:26	3044	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_14460.jpg'
2023-10-13	13:17:26	3044	[DEBUG]	Query for Media
2023-10-13	13:17:26	3044	[DEBUG]	Executed store
2023-10-13	13:17:26	3044	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_14460.jpg',`file_url_thumb`='bcprisme/image_14460.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13047'
2023-10-13	13:17:26	3044	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:26	3044	[DEBUG]	Executed store
2023-10-13	13:17:26	3044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862536','13047','1')
2023-10-13	13:17:26	3044	[DEBUG]	Store product image relation
2023-10-13	13:17:26	3044	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:26	3044	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862536 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:26	3044	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:26	3044	[DEBUG]	Executed store
2023-10-13	13:17:26	3044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862536','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:26	3044	[DEBUG]	Checking manufacturer
2023-10-13	13:17:26	3044	[DEBUG]	Load a row
2023-10-13	13:17:26	3044	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:26	3044	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:26	3044	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:26	3044	[DEBUG]	Executed store
2023-10-13	13:17:26	3044	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:26	3044	[DEBUG]	Manufacturer exists
2023-10-13	13:17:26	3044	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:26	3044	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:26	3044	[DEBUG]	Executed store
2023-10-13	13:17:26	3044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862536','206')
2023-10-13	13:17:26	3044	[DEBUG]	Find the custom field ID
2023-10-13	13:17:26	3044	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:26	3044	[DEBUG]	No custom field ID found
2023-10-13	13:17:26	3044	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:26	3044	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:26	3044	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862536 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:26	3044	[DEBUG]	Store custom available field
2023-10-13	13:17:26	3044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862536,3,'8.87527777777778',1)
2023-10-13	13:17:26	3044	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:26	3044	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:26	3044	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862536 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:26	3044	[DEBUG]	Store custom available field
2023-10-13	13:17:26	3044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862536,6,'choisir la taille',3)
2023-10-13	13:17:26	3044	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:26	3044	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:26	3044	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:26	3044	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:26	3044	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862536 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:26	3044	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:26	3044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862536,8,1)
2023-10-13	13:17:26	3044	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:26	3044	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862536\":[1862536,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862536
2023-10-13	13:17:26	3044	[DEBUG]	Checking category
2023-10-13	13:17:26	3044	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:26	3044	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862536
2023-10-13	13:17:26	3044	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:26	3044	[DEBUG]	Executed store
2023-10-13	13:17:26	3044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862536','7366')
2023-10-13	13:17:26	3044	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:26	3044	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862536 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:26	3044	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:26	3044	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862536
2023-10-13	13:17:26	3045	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:26	3045	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:26	3045	[DEBUG]	Use field value for field taille
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:26	3045	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:26	3045	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:26	3045	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:26	3045	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:26	3045	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:26	3045	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:26	3045	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:26	3045	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:26	3045	[DEBUG]	Use field value for field published
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:26	3045	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field override
2023-10-13	13:17:26	3045	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:26	3045	[DEBUG]	Use field value for field slug
2023-10-13	13:17:26	3045	[DEBUG]	Process line 3045
2023-10-13	13:17:26	3045	[DEBUG]	Load a row
2023-10-13	13:17:26	3045	[DEBUG]	Processing item: 8436550194128
2023-10-13	13:17:26	3045	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:26	3045	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:26	3045	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3104_1'
2023-10-13	13:17:26	3045	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:26	3045	[DEBUG]	Processing product tax
2023-10-13	13:17:26	3045	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:26	3045	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:26	3045	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:26	3045	[DEBUG]	Query for Product
2023-10-13	13:17:26	3045	[DEBUG]	Executed store
2023-10-13	13:17:26	3045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862536','8436550194128','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:26	3045	[DEBUG]	No parent found
2023-10-13	13:17:26	3045	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862536 AND customfield_value = 'stockable'
2023-10-13	13:17:26	3045	[DEBUG]	Check product language entry
2023-10-13	13:17:26	3045	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862537
2023-10-13	13:17:26	3045	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:26	3045	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550194128' AND `virtuemart_product_id` != 1862537
2023-10-13	13:17:26	3045	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:26	3045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862537, '8436550194128')
2023-10-13	13:17:26	3045	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:26	3045	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-noir-unitaire' AND `virtuemart_product_id` != 1862537
2023-10-13	13:17:26	3045	[DEBUG]	Query for ProductLang
2023-10-13	13:17:26	3045	[DEBUG]	Executed store
2023-10-13	13:17:26	3045	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte bidon MSC polyamide  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-noir-unitaire' WHERE `virtuemart_product_id` = '1862537'
2023-10-13	13:17:26	3045	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14460.jpg
2023-10-13	13:17:26	3045	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:26	3045	[DEBUG]	Process image file
2023-10-13	13:17:26	3045	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:26	3045	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:26	3045	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14460.jpg
2023-10-13	13:17:26	3045	[DEBUG]	Full name target: bcprisme/image_14460.jpg
2023-10-13	13:17:27	3045	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:27	3045	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_14460.jpg'
2023-10-13	13:17:27	3045	[DEBUG]	Query for Media
2023-10-13	13:17:27	3045	[DEBUG]	Executed store
2023-10-13	13:17:27	3045	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_14460.jpg',`file_url_thumb`='bcprisme/image_14460.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13047'
2023-10-13	13:17:27	3045	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:27	3045	[DEBUG]	Executed store
2023-10-13	13:17:27	3045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862537','13047','1')
2023-10-13	13:17:27	3045	[DEBUG]	Store product image relation
2023-10-13	13:17:27	3045	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:27	3045	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862537 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:27	3045	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:27	3045	[DEBUG]	Executed store
2023-10-13	13:17:27	3045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862537','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:27	3045	[DEBUG]	Checking manufacturer
2023-10-13	13:17:27	3045	[DEBUG]	Load a row
2023-10-13	13:17:27	3045	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:27	3045	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:27	3045	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:27	3045	[DEBUG]	Executed store
2023-10-13	13:17:27	3045	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:27	3045	[DEBUG]	Manufacturer exists
2023-10-13	13:17:27	3045	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:27	3045	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:27	3045	[DEBUG]	Executed store
2023-10-13	13:17:27	3045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862537','206')
2023-10-13	13:17:27	3045	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:27	3045	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:27	3045	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862537 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:27	3045	[DEBUG]	Store custom available field
2023-10-13	13:17:27	3045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862537,3,'',1)
2023-10-13	13:17:27	3045	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:27	3045	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:27	3045	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862537 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:27	3045	[DEBUG]	Store custom available field
2023-10-13	13:17:27	3045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862537,6,'Unitaire',3)
2023-10-13	13:17:27	3045	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:27	3045	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:27	3045	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862536
2023-10-13	13:17:27	3045	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:27	3045	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862536\":[1862536,8,1,\"choisir la taille\"],\"1862537\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862536
2023-10-13	13:17:27	3045	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:27	3045	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862537
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:27	3046	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field taille
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:27	3046	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:27	3046	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:27	3046	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:27	3046	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:27	3046	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:27	3046	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field published
2023-10-13	13:17:27	3046	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:27	3046	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field override
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:27	3046	[DEBUG]	Use field value for field slug
2023-10-13	13:17:27	3046	[DEBUG]	Process line 3046
2023-10-13	13:17:27	3046	[DEBUG]	Load a row
2023-10-13	13:17:27	3046	[DEBUG]	Processing item: A_3104_12
2023-10-13	13:17:27	3046	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:27	3046	[DEBUG]	Processing product tax
2023-10-13	13:17:27	3046	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:27	3046	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:27	3046	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:27	3046	[DEBUG]	Query for Product
2023-10-13	13:17:27	3046	[DEBUG]	Executed store
2023-10-13	13:17:27	3046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3104_12','0.0267','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:27	3046	[DEBUG]	Check product language entry
2023-10-13	13:17:27	3046	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862538
2023-10-13	13:17:27	3046	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:27	3046	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3104_12' AND `virtuemart_product_id` != 1862538
2023-10-13	13:17:27	3046	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:27	3046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862538, 'A_3104_12')
2023-10-13	13:17:27	3046	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:27	3046	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-blanc' AND `virtuemart_product_id` != 1862538
2023-10-13	13:17:27	3046	[DEBUG]	Query for ProductLang
2023-10-13	13:17:27	3046	[DEBUG]	Executed store
2023-10-13	13:17:27	3046	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon polyamide MSC, livré avec visserie<br>N° art fourn : CSC045BK',`product_name`='MSC Porte bidon MSC polyamide  / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-blanc' WHERE `virtuemart_product_id` = '1862538'
2023-10-13	13:17:27	3046	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14461.jpg
2023-10-13	13:17:27	3046	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:27	3046	[DEBUG]	Process image file
2023-10-13	13:17:27	3046	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:27	3046	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:27	3046	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14461.jpg
2023-10-13	13:17:27	3046	[DEBUG]	Full name target: bcprisme/image_14461.jpg
2023-10-13	13:17:28	3046	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:28	3046	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_14461.jpg'
2023-10-13	13:17:28	3046	[DEBUG]	Query for Media
2023-10-13	13:17:28	3046	[DEBUG]	Executed store
2023-10-13	13:17:28	3046	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_14461.jpg',`file_url_thumb`='bcprisme/image_14461.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13048'
2023-10-13	13:17:28	3046	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:28	3046	[DEBUG]	Executed store
2023-10-13	13:17:28	3046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862538','13048','1')
2023-10-13	13:17:28	3046	[DEBUG]	Store product image relation
2023-10-13	13:17:28	3046	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:28	3046	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862538 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:28	3046	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:28	3046	[DEBUG]	Executed store
2023-10-13	13:17:28	3046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862538','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:28	3046	[DEBUG]	Checking manufacturer
2023-10-13	13:17:28	3046	[DEBUG]	Load a row
2023-10-13	13:17:28	3046	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:28	3046	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:28	3046	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:28	3046	[DEBUG]	Executed store
2023-10-13	13:17:28	3046	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:28	3046	[DEBUG]	Manufacturer exists
2023-10-13	13:17:28	3046	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:28	3046	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:28	3046	[DEBUG]	Executed store
2023-10-13	13:17:28	3046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862538','206')
2023-10-13	13:17:28	3046	[DEBUG]	Find the custom field ID
2023-10-13	13:17:28	3046	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:28	3046	[DEBUG]	No custom field ID found
2023-10-13	13:17:28	3046	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:28	3046	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:28	3046	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862538 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:28	3046	[DEBUG]	Store custom available field
2023-10-13	13:17:28	3046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862538,3,'8.87527777777778',1)
2023-10-13	13:17:28	3046	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:28	3046	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:28	3046	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862538 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:28	3046	[DEBUG]	Store custom available field
2023-10-13	13:17:28	3046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862538,6,'choisir la taille',3)
2023-10-13	13:17:28	3046	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:28	3046	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:28	3046	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:28	3046	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:28	3046	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862538 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:28	3046	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:28	3046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862538,8,1)
2023-10-13	13:17:28	3046	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:28	3046	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862538\":[1862538,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862538
2023-10-13	13:17:28	3046	[DEBUG]	Checking category
2023-10-13	13:17:28	3046	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:28	3046	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862538
2023-10-13	13:17:28	3046	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:28	3046	[DEBUG]	Executed store
2023-10-13	13:17:28	3046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862538','7366')
2023-10-13	13:17:28	3046	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:28	3046	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862538 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:28	3046	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:28	3046	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862538
2023-10-13	13:17:28	3047	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:28	3047	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:28	3047	[DEBUG]	Use field value for field taille
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:28	3047	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:28	3047	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:28	3047	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:28	3047	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:28	3047	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:28	3047	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:28	3047	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:28	3047	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:28	3047	[DEBUG]	Use field value for field published
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:28	3047	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field override
2023-10-13	13:17:28	3047	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:28	3047	[DEBUG]	Use field value for field slug
2023-10-13	13:17:28	3047	[DEBUG]	Process line 3047
2023-10-13	13:17:28	3047	[DEBUG]	Load a row
2023-10-13	13:17:28	3047	[DEBUG]	Processing item: 8436550194166
2023-10-13	13:17:28	3047	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:28	3047	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:28	3047	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3104_12'
2023-10-13	13:17:28	3047	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:28	3047	[DEBUG]	Processing product tax
2023-10-13	13:17:28	3047	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:28	3047	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:28	3047	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:29	3047	[DEBUG]	Query for Product
2023-10-13	13:17:29	3047	[DEBUG]	Executed store
2023-10-13	13:17:29	3047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862538','8436550194166','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:29	3047	[DEBUG]	No parent found
2023-10-13	13:17:29	3047	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862538 AND customfield_value = 'stockable'
2023-10-13	13:17:29	3047	[DEBUG]	Check product language entry
2023-10-13	13:17:29	3047	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862539
2023-10-13	13:17:29	3047	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:29	3047	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550194166' AND `virtuemart_product_id` != 1862539
2023-10-13	13:17:29	3047	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:29	3047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862539, '8436550194166')
2023-10-13	13:17:29	3047	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:29	3047	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-blanc-unitaire' AND `virtuemart_product_id` != 1862539
2023-10-13	13:17:29	3047	[DEBUG]	Query for ProductLang
2023-10-13	13:17:29	3047	[DEBUG]	Executed store
2023-10-13	13:17:29	3047	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte bidon MSC polyamide  / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-blanc-unitaire' WHERE `virtuemart_product_id` = '1862539'
2023-10-13	13:17:29	3047	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14461.jpg
2023-10-13	13:17:29	3047	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:29	3047	[DEBUG]	Process image file
2023-10-13	13:17:29	3047	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:29	3047	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:29	3047	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_14461.jpg
2023-10-13	13:17:29	3047	[DEBUG]	Full name target: bcprisme/image_14461.jpg
2023-10-13	13:17:30	3047	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:30	3047	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_14461.jpg'
2023-10-13	13:17:30	3047	[DEBUG]	Query for Media
2023-10-13	13:17:30	3047	[DEBUG]	Executed store
2023-10-13	13:17:30	3047	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_14461.jpg',`file_url_thumb`='bcprisme/image_14461.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13048'
2023-10-13	13:17:30	3047	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:30	3047	[DEBUG]	Executed store
2023-10-13	13:17:30	3047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862539','13048','1')
2023-10-13	13:17:30	3047	[DEBUG]	Store product image relation
2023-10-13	13:17:30	3047	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:30	3047	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862539 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:30	3047	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:30	3047	[DEBUG]	Executed store
2023-10-13	13:17:30	3047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862539','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:30	3047	[DEBUG]	Checking manufacturer
2023-10-13	13:17:30	3047	[DEBUG]	Load a row
2023-10-13	13:17:30	3047	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:30	3047	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:30	3047	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:30	3047	[DEBUG]	Executed store
2023-10-13	13:17:30	3047	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:30	3047	[DEBUG]	Manufacturer exists
2023-10-13	13:17:30	3047	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:30	3047	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:30	3047	[DEBUG]	Executed store
2023-10-13	13:17:30	3047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862539','206')
2023-10-13	13:17:30	3047	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:30	3047	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:30	3047	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862539 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:30	3047	[DEBUG]	Store custom available field
2023-10-13	13:17:30	3047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862539,3,'',1)
2023-10-13	13:17:30	3047	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:30	3047	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:30	3047	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862539 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:30	3047	[DEBUG]	Store custom available field
2023-10-13	13:17:30	3047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862539,6,'Unitaire',3)
2023-10-13	13:17:30	3047	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:30	3047	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:30	3047	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862538
2023-10-13	13:17:30	3047	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:30	3047	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862538\":[1862538,8,1,\"choisir la taille\"],\"1862539\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862538
2023-10-13	13:17:30	3047	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:30	3047	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862539
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:30	3048	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field taille
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:30	3048	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:30	3048	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:30	3048	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:30	3048	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:30	3048	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:30	3048	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field published
2023-10-13	13:17:30	3048	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:30	3048	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field override
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:30	3048	[DEBUG]	Use field value for field slug
2023-10-13	13:17:30	3048	[DEBUG]	Process line 3048
2023-10-13	13:17:30	3048	[DEBUG]	Load a row
2023-10-13	13:17:30	3048	[DEBUG]	Processing item: A_4375_7
2023-10-13	13:17:30	3048	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:30	3048	[DEBUG]	Processing product tax
2023-10-13	13:17:30	3048	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:30	3048	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:30	3048	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:30	3048	[DEBUG]	Query for Product
2023-10-13	13:17:30	3048	[DEBUG]	Executed store
2023-10-13	13:17:30	3048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4375_7','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:30	3048	[DEBUG]	Check product language entry
2023-10-13	13:17:30	3048	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862540
2023-10-13	13:17:30	3048	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:30	3048	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4375_7' AND `virtuemart_product_id` != 1862540
2023-10-13	13:17:30	3048	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:30	3048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862540, 'A_4375_7')
2023-10-13	13:17:30	3048	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:30	3048	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-rouge' AND `virtuemart_product_id` != 1862540
2023-10-13	13:17:30	3048	[DEBUG]	Query for ProductLang
2023-10-13	13:17:30	3048	[DEBUG]	Executed store
2023-10-13	13:17:30	3048	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon nylon MSC blanc Side Entry (entrée latérale)<br>N° art fourn : MSC318',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-rouge' WHERE `virtuemart_product_id` = '1862540'
2023-10-13	13:17:30	3048	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26985_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:30	3048	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:30	3048	[DEBUG]	Process image file
2023-10-13	13:17:30	3048	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:30	3048	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:30	3048	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26985_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:30	3048	[DEBUG]	Full name target: bcprisme/26985_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:31	3048	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:31	3048	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26985_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg'
2023-10-13	13:17:31	3048	[DEBUG]	Query for Media
2023-10-13	13:17:31	3048	[DEBUG]	Executed store
2023-10-13	13:17:31	3048	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26985_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_url_thumb`='bcprisme/26985_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13049'
2023-10-13	13:17:31	3048	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:31	3048	[DEBUG]	Executed store
2023-10-13	13:17:31	3048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862540','13049','1')
2023-10-13	13:17:31	3048	[DEBUG]	Store product image relation
2023-10-13	13:17:31	3048	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:31	3048	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862540 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:31	3048	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:31	3048	[DEBUG]	Executed store
2023-10-13	13:17:31	3048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862540','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:31	3048	[DEBUG]	Checking manufacturer
2023-10-13	13:17:31	3048	[DEBUG]	Load a row
2023-10-13	13:17:31	3048	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:31	3048	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:31	3048	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:31	3048	[DEBUG]	Executed store
2023-10-13	13:17:31	3048	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:31	3048	[DEBUG]	Manufacturer exists
2023-10-13	13:17:31	3048	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:31	3048	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:31	3048	[DEBUG]	Executed store
2023-10-13	13:17:31	3048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862540','206')
2023-10-13	13:17:31	3048	[DEBUG]	Find the custom field ID
2023-10-13	13:17:31	3048	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:31	3048	[DEBUG]	No custom field ID found
2023-10-13	13:17:31	3048	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:31	3048	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:31	3048	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862540 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:31	3048	[DEBUG]	Store custom available field
2023-10-13	13:17:31	3048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862540,3,'8.87527777777778',1)
2023-10-13	13:17:31	3048	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:31	3048	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:31	3048	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862540 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:31	3048	[DEBUG]	Store custom available field
2023-10-13	13:17:31	3048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862540,6,'choisir la taille',3)
2023-10-13	13:17:31	3048	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:31	3048	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:31	3048	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:31	3048	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:31	3048	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862540 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:31	3048	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:31	3048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862540,8,1)
2023-10-13	13:17:31	3048	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:31	3048	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862540\":[1862540,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862540
2023-10-13	13:17:31	3048	[DEBUG]	Checking category
2023-10-13	13:17:31	3048	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:31	3048	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862540
2023-10-13	13:17:31	3048	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:31	3048	[DEBUG]	Executed store
2023-10-13	13:17:31	3048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862540','7366')
2023-10-13	13:17:31	3048	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:31	3048	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862540 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:31	3048	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:31	3048	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862540
2023-10-13	13:17:31	3049	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:31	3049	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:31	3049	[DEBUG]	Use field value for field taille
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:31	3049	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:31	3049	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:31	3049	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:31	3049	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:31	3049	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:31	3049	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:31	3049	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:31	3049	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:31	3049	[DEBUG]	Use field value for field published
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:31	3049	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field override
2023-10-13	13:17:31	3049	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:31	3049	[DEBUG]	Use field value for field slug
2023-10-13	13:17:31	3049	[DEBUG]	Process line 3049
2023-10-13	13:17:31	3049	[DEBUG]	Load a row
2023-10-13	13:17:31	3049	[DEBUG]	Processing item: 8435466297329
2023-10-13	13:17:31	3049	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:31	3049	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:31	3049	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4375_7'
2023-10-13	13:17:31	3049	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:31	3049	[DEBUG]	Processing product tax
2023-10-13	13:17:31	3049	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:31	3049	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:31	3049	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:31	3049	[DEBUG]	Query for Product
2023-10-13	13:17:31	3049	[DEBUG]	Executed store
2023-10-13	13:17:31	3049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862540','8435466297329','0','KG','M','','12','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:31	3049	[DEBUG]	No parent found
2023-10-13	13:17:31	3049	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862540 AND customfield_value = 'stockable'
2023-10-13	13:17:31	3049	[DEBUG]	Check product language entry
2023-10-13	13:17:31	3049	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862541
2023-10-13	13:17:31	3049	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:31	3049	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297329' AND `virtuemart_product_id` != 1862541
2023-10-13	13:17:31	3049	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:31	3049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862541, '8435466297329')
2023-10-13	13:17:31	3049	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:31	3049	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-rouge-unitaire' AND `virtuemart_product_id` != 1862541
2023-10-13	13:17:31	3049	[DEBUG]	Query for ProductLang
2023-10-13	13:17:31	3049	[DEBUG]	Executed store
2023-10-13	13:17:31	3049	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-rouge-unitaire' WHERE `virtuemart_product_id` = '1862541'
2023-10-13	13:17:31	3049	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26985_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:31	3049	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:31	3049	[DEBUG]	Process image file
2023-10-13	13:17:31	3049	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:31	3049	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:31	3049	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26985_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:31	3049	[DEBUG]	Full name target: bcprisme/26985_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:32	3049	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:32	3049	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26985_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg'
2023-10-13	13:17:32	3049	[DEBUG]	Query for Media
2023-10-13	13:17:32	3049	[DEBUG]	Executed store
2023-10-13	13:17:32	3049	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26985_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_url_thumb`='bcprisme/26985_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13049'
2023-10-13	13:17:32	3049	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:32	3049	[DEBUG]	Executed store
2023-10-13	13:17:32	3049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862541','13049','1')
2023-10-13	13:17:32	3049	[DEBUG]	Store product image relation
2023-10-13	13:17:32	3049	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:32	3049	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862541 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:32	3049	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:32	3049	[DEBUG]	Executed store
2023-10-13	13:17:32	3049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862541','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:32	3049	[DEBUG]	Checking manufacturer
2023-10-13	13:17:32	3049	[DEBUG]	Load a row
2023-10-13	13:17:32	3049	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:32	3049	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:32	3049	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:32	3049	[DEBUG]	Executed store
2023-10-13	13:17:32	3049	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:32	3049	[DEBUG]	Manufacturer exists
2023-10-13	13:17:32	3049	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:32	3049	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:32	3049	[DEBUG]	Executed store
2023-10-13	13:17:32	3049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862541','206')
2023-10-13	13:17:32	3049	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:32	3049	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:32	3049	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862541 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:32	3049	[DEBUG]	Store custom available field
2023-10-13	13:17:32	3049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862541,3,'',1)
2023-10-13	13:17:32	3049	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:32	3049	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:32	3049	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862541 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:32	3049	[DEBUG]	Store custom available field
2023-10-13	13:17:32	3049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862541,6,'Unitaire',3)
2023-10-13	13:17:32	3049	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:32	3049	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:32	3049	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862540
2023-10-13	13:17:32	3049	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:32	3049	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862540\":[1862540,8,1,\"choisir la taille\"],\"1862541\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862540
2023-10-13	13:17:32	3049	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:32	3049	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862541
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:32	3050	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field taille
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:32	3050	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:32	3050	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:32	3050	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:32	3050	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:32	3050	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:32	3050	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field published
2023-10-13	13:17:32	3050	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:32	3050	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field override
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:32	3050	[DEBUG]	Use field value for field slug
2023-10-13	13:17:32	3050	[DEBUG]	Process line 3050
2023-10-13	13:17:32	3050	[DEBUG]	Load a row
2023-10-13	13:17:32	3050	[DEBUG]	Processing item: A_4375_12
2023-10-13	13:17:32	3050	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:32	3050	[DEBUG]	Processing product tax
2023-10-13	13:17:32	3050	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:32	3050	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:32	3050	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:32	3050	[DEBUG]	Query for Product
2023-10-13	13:17:32	3050	[DEBUG]	Executed store
2023-10-13	13:17:32	3050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4375_12','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:32	3050	[DEBUG]	Check product language entry
2023-10-13	13:17:32	3050	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862542
2023-10-13	13:17:32	3050	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:32	3050	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4375_12' AND `virtuemart_product_id` != 1862542
2023-10-13	13:17:32	3050	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:32	3050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862542, 'A_4375_12')
2023-10-13	13:17:32	3050	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:32	3050	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-blanc' AND `virtuemart_product_id` != 1862542
2023-10-13	13:17:32	3050	[DEBUG]	Query for ProductLang
2023-10-13	13:17:32	3050	[DEBUG]	Executed store
2023-10-13	13:17:32	3050	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon nylon MSC blanc Side Entry (entrée latérale)<br>N° art fourn : MSC318',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-blanc' WHERE `virtuemart_product_id` = '1862542'
2023-10-13	13:17:32	3050	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26980_porte_bidon_polyamide_msc_(copie).jpg
2023-10-13	13:17:32	3050	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:32	3050	[DEBUG]	Process image file
2023-10-13	13:17:32	3050	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:32	3050	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:32	3050	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26980_porte_bidon_polyamide_msc_(copie).jpg
2023-10-13	13:17:32	3050	[DEBUG]	Full name target: bcprisme/26980_porte_bidon_polyamide_msc_(copie).jpg
2023-10-13	13:17:33	3050	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:33	3050	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26980_porte_bidon_polyamide_msc_(copie).jpg'
2023-10-13	13:17:33	3050	[DEBUG]	Query for Media
2023-10-13	13:17:33	3050	[DEBUG]	Executed store
2023-10-13	13:17:33	3050	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26980_porte_bidon_polyamide_msc_(copie).jpg',`file_url_thumb`='bcprisme/26980_porte_bidon_polyamide_msc_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13050'
2023-10-13	13:17:33	3050	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:33	3050	[DEBUG]	Executed store
2023-10-13	13:17:33	3050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862542','13050','1')
2023-10-13	13:17:33	3050	[DEBUG]	Store product image relation
2023-10-13	13:17:33	3050	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:33	3050	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862542 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:33	3050	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:33	3050	[DEBUG]	Executed store
2023-10-13	13:17:33	3050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862542','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:33	3050	[DEBUG]	Checking manufacturer
2023-10-13	13:17:33	3050	[DEBUG]	Load a row
2023-10-13	13:17:33	3050	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:33	3050	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:33	3050	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:33	3050	[DEBUG]	Executed store
2023-10-13	13:17:33	3050	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:33	3050	[DEBUG]	Manufacturer exists
2023-10-13	13:17:33	3050	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:33	3050	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:33	3050	[DEBUG]	Executed store
2023-10-13	13:17:33	3050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862542','206')
2023-10-13	13:17:33	3050	[DEBUG]	Find the custom field ID
2023-10-13	13:17:33	3050	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:33	3050	[DEBUG]	No custom field ID found
2023-10-13	13:17:33	3050	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:33	3050	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:33	3050	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862542 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:33	3050	[DEBUG]	Store custom available field
2023-10-13	13:17:33	3050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862542,3,'8.87527777777778',1)
2023-10-13	13:17:33	3050	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:33	3050	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:33	3050	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862542 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:33	3050	[DEBUG]	Store custom available field
2023-10-13	13:17:33	3050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862542,6,'choisir la taille',3)
2023-10-13	13:17:33	3050	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:33	3050	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:33	3050	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:33	3050	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:33	3050	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862542 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:33	3050	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:33	3050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862542,8,1)
2023-10-13	13:17:33	3050	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:33	3050	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862542\":[1862542,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862542
2023-10-13	13:17:33	3050	[DEBUG]	Checking category
2023-10-13	13:17:33	3050	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:33	3050	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862542
2023-10-13	13:17:33	3050	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:33	3050	[DEBUG]	Executed store
2023-10-13	13:17:33	3050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862542','7366')
2023-10-13	13:17:33	3050	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:33	3050	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862542 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:33	3050	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:33	3050	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862542
2023-10-13	13:17:33	3051	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:33	3051	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:33	3051	[DEBUG]	Use field value for field taille
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:33	3051	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:33	3051	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:33	3051	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:33	3051	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:33	3051	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:33	3051	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:33	3051	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:33	3051	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:33	3051	[DEBUG]	Use field value for field published
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:33	3051	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field override
2023-10-13	13:17:33	3051	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:33	3051	[DEBUG]	Use field value for field slug
2023-10-13	13:17:33	3051	[DEBUG]	Process line 3051
2023-10-13	13:17:33	3051	[DEBUG]	Load a row
2023-10-13	13:17:33	3051	[DEBUG]	Processing item: 8435466297312
2023-10-13	13:17:33	3051	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:33	3051	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:33	3051	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4375_12'
2023-10-13	13:17:33	3051	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:33	3051	[DEBUG]	Processing product tax
2023-10-13	13:17:33	3051	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:33	3051	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:33	3051	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:33	3051	[DEBUG]	Query for Product
2023-10-13	13:17:33	3051	[DEBUG]	Executed store
2023-10-13	13:17:33	3051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862542','8435466297312','0','KG','M','','17','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:33	3051	[DEBUG]	No parent found
2023-10-13	13:17:33	3051	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862542 AND customfield_value = 'stockable'
2023-10-13	13:17:33	3051	[DEBUG]	Check product language entry
2023-10-13	13:17:33	3051	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862543
2023-10-13	13:17:33	3051	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:33	3051	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297312' AND `virtuemart_product_id` != 1862543
2023-10-13	13:17:33	3051	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:33	3051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862543, '8435466297312')
2023-10-13	13:17:33	3051	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:33	3051	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-blanc-unitaire' AND `virtuemart_product_id` != 1862543
2023-10-13	13:17:33	3051	[DEBUG]	Query for ProductLang
2023-10-13	13:17:33	3051	[DEBUG]	Executed store
2023-10-13	13:17:33	3051	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-blanc-unitaire' WHERE `virtuemart_product_id` = '1862543'
2023-10-13	13:17:33	3051	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26980_porte_bidon_polyamide_msc_(copie).jpg
2023-10-13	13:17:33	3051	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:33	3051	[DEBUG]	Process image file
2023-10-13	13:17:33	3051	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:33	3051	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:33	3051	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26980_porte_bidon_polyamide_msc_(copie).jpg
2023-10-13	13:17:33	3051	[DEBUG]	Full name target: bcprisme/26980_porte_bidon_polyamide_msc_(copie).jpg
2023-10-13	13:17:34	3051	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:34	3051	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26980_porte_bidon_polyamide_msc_(copie).jpg'
2023-10-13	13:17:34	3051	[DEBUG]	Query for Media
2023-10-13	13:17:34	3051	[DEBUG]	Executed store
2023-10-13	13:17:34	3051	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26980_porte_bidon_polyamide_msc_(copie).jpg',`file_url_thumb`='bcprisme/26980_porte_bidon_polyamide_msc_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13050'
2023-10-13	13:17:34	3051	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:34	3051	[DEBUG]	Executed store
2023-10-13	13:17:34	3051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862543','13050','1')
2023-10-13	13:17:34	3051	[DEBUG]	Store product image relation
2023-10-13	13:17:34	3051	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:34	3051	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862543 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:34	3051	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:34	3051	[DEBUG]	Executed store
2023-10-13	13:17:34	3051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862543','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:34	3051	[DEBUG]	Checking manufacturer
2023-10-13	13:17:34	3051	[DEBUG]	Load a row
2023-10-13	13:17:34	3051	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:34	3051	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:34	3051	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:34	3051	[DEBUG]	Executed store
2023-10-13	13:17:34	3051	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:34	3051	[DEBUG]	Manufacturer exists
2023-10-13	13:17:34	3051	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:34	3051	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:34	3051	[DEBUG]	Executed store
2023-10-13	13:17:34	3051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862543','206')
2023-10-13	13:17:34	3051	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:34	3051	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:34	3051	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862543 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:34	3051	[DEBUG]	Store custom available field
2023-10-13	13:17:34	3051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862543,3,'',1)
2023-10-13	13:17:34	3051	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:34	3051	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:34	3051	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862543 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:34	3051	[DEBUG]	Store custom available field
2023-10-13	13:17:34	3051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862543,6,'Unitaire',3)
2023-10-13	13:17:34	3051	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:34	3051	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:34	3051	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862542
2023-10-13	13:17:34	3051	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:34	3051	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862542\":[1862542,8,1,\"choisir la taille\"],\"1862543\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862542
2023-10-13	13:17:34	3051	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:34	3051	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862543
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:34	3052	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field taille
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:34	3052	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:34	3052	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:34	3052	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:34	3052	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:34	3052	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:34	3052	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field published
2023-10-13	13:17:34	3052	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:34	3052	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field override
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:34	3052	[DEBUG]	Use field value for field slug
2023-10-13	13:17:34	3052	[DEBUG]	Process line 3052
2023-10-13	13:17:34	3052	[DEBUG]	Load a row
2023-10-13	13:17:34	3052	[DEBUG]	Processing item: A_4375_22
2023-10-13	13:17:34	3052	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:34	3052	[DEBUG]	Processing product tax
2023-10-13	13:17:34	3052	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:34	3052	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:34	3052	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:34	3052	[DEBUG]	Query for Product
2023-10-13	13:17:34	3052	[DEBUG]	Executed store
2023-10-13	13:17:34	3052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4375_22','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:34	3052	[DEBUG]	Check product language entry
2023-10-13	13:17:34	3052	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862544
2023-10-13	13:17:34	3052	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:34	3052	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4375_22' AND `virtuemart_product_id` != 1862544
2023-10-13	13:17:34	3052	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:34	3052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862544, 'A_4375_22')
2023-10-13	13:17:34	3052	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:34	3052	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-bleu' AND `virtuemart_product_id` != 1862544
2023-10-13	13:17:34	3052	[DEBUG]	Query for ProductLang
2023-10-13	13:17:34	3052	[DEBUG]	Executed store
2023-10-13	13:17:34	3052	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon nylon MSC blanc Side Entry (entrée latérale)<br>N° art fourn : MSC318',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-bleu' WHERE `virtuemart_product_id` = '1862544'
2023-10-13	13:17:34	3052	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26982_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:34	3052	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:34	3052	[DEBUG]	Process image file
2023-10-13	13:17:34	3052	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:34	3052	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:34	3052	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26982_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:34	3052	[DEBUG]	Full name target: bcprisme/26982_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:35	3052	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:35	3052	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26982_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg'
2023-10-13	13:17:35	3052	[DEBUG]	Query for Media
2023-10-13	13:17:35	3052	[DEBUG]	Executed store
2023-10-13	13:17:35	3052	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26982_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_url_thumb`='bcprisme/26982_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13051'
2023-10-13	13:17:35	3052	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:35	3052	[DEBUG]	Executed store
2023-10-13	13:17:35	3052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862544','13051','1')
2023-10-13	13:17:35	3052	[DEBUG]	Store product image relation
2023-10-13	13:17:35	3052	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:35	3052	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862544 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:35	3052	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:35	3052	[DEBUG]	Executed store
2023-10-13	13:17:35	3052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862544','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:35	3052	[DEBUG]	Checking manufacturer
2023-10-13	13:17:35	3052	[DEBUG]	Load a row
2023-10-13	13:17:35	3052	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:35	3052	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:35	3052	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:35	3052	[DEBUG]	Executed store
2023-10-13	13:17:35	3052	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:35	3052	[DEBUG]	Manufacturer exists
2023-10-13	13:17:35	3052	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:35	3052	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:35	3052	[DEBUG]	Executed store
2023-10-13	13:17:35	3052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862544','206')
2023-10-13	13:17:35	3052	[DEBUG]	Find the custom field ID
2023-10-13	13:17:35	3052	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:35	3052	[DEBUG]	No custom field ID found
2023-10-13	13:17:35	3052	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:35	3052	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:35	3052	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862544 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:35	3052	[DEBUG]	Store custom available field
2023-10-13	13:17:35	3052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862544,3,'8.87527777777778',1)
2023-10-13	13:17:35	3052	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:35	3052	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:35	3052	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862544 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:35	3052	[DEBUG]	Store custom available field
2023-10-13	13:17:35	3052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862544,6,'choisir la taille',3)
2023-10-13	13:17:35	3052	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:35	3052	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:35	3052	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:35	3052	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:35	3052	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862544 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:35	3052	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:35	3052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862544,8,1)
2023-10-13	13:17:35	3052	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:35	3052	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862544\":[1862544,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862544
2023-10-13	13:17:35	3052	[DEBUG]	Checking category
2023-10-13	13:17:35	3052	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:35	3052	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862544
2023-10-13	13:17:35	3052	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:35	3052	[DEBUG]	Executed store
2023-10-13	13:17:35	3052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862544','7366')
2023-10-13	13:17:35	3052	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:35	3052	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862544 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:35	3052	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:35	3052	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862544
2023-10-13	13:17:35	3053	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:35	3053	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:35	3053	[DEBUG]	Use field value for field taille
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:35	3053	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:35	3053	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:35	3053	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:35	3053	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:35	3053	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:35	3053	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:35	3053	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:35	3053	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:35	3053	[DEBUG]	Use field value for field published
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:35	3053	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field override
2023-10-13	13:17:35	3053	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:35	3053	[DEBUG]	Use field value for field slug
2023-10-13	13:17:35	3053	[DEBUG]	Process line 3053
2023-10-13	13:17:35	3053	[DEBUG]	Load a row
2023-10-13	13:17:35	3053	[DEBUG]	Processing item: 8435466297343
2023-10-13	13:17:35	3053	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:35	3053	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:35	3053	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4375_22'
2023-10-13	13:17:35	3053	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:35	3053	[DEBUG]	Processing product tax
2023-10-13	13:17:35	3053	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:35	3053	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:35	3053	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:35	3053	[DEBUG]	Query for Product
2023-10-13	13:17:35	3053	[DEBUG]	Executed store
2023-10-13	13:17:35	3053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862544','8435466297343','0','KG','M','','10','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:35	3053	[DEBUG]	No parent found
2023-10-13	13:17:35	3053	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862544 AND customfield_value = 'stockable'
2023-10-13	13:17:35	3053	[DEBUG]	Check product language entry
2023-10-13	13:17:35	3053	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862545
2023-10-13	13:17:35	3053	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:35	3053	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297343' AND `virtuemart_product_id` != 1862545
2023-10-13	13:17:35	3053	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:35	3053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862545, '8435466297343')
2023-10-13	13:17:35	3053	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:35	3053	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-bleu-unitaire' AND `virtuemart_product_id` != 1862545
2023-10-13	13:17:35	3053	[DEBUG]	Query for ProductLang
2023-10-13	13:17:35	3053	[DEBUG]	Executed store
2023-10-13	13:17:35	3053	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-bleu-unitaire' WHERE `virtuemart_product_id` = '1862545'
2023-10-13	13:17:35	3053	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26982_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:35	3053	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:35	3053	[DEBUG]	Process image file
2023-10-13	13:17:35	3053	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:35	3053	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:35	3053	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26982_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:35	3053	[DEBUG]	Full name target: bcprisme/26982_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:36	3053	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:36	3053	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26982_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg'
2023-10-13	13:17:36	3053	[DEBUG]	Query for Media
2023-10-13	13:17:36	3053	[DEBUG]	Executed store
2023-10-13	13:17:36	3053	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26982_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_url_thumb`='bcprisme/26982_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13051'
2023-10-13	13:17:36	3053	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:36	3053	[DEBUG]	Executed store
2023-10-13	13:17:36	3053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862545','13051','1')
2023-10-13	13:17:36	3053	[DEBUG]	Store product image relation
2023-10-13	13:17:36	3053	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:36	3053	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862545 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:36	3053	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:36	3053	[DEBUG]	Executed store
2023-10-13	13:17:36	3053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862545','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:36	3053	[DEBUG]	Checking manufacturer
2023-10-13	13:17:36	3053	[DEBUG]	Load a row
2023-10-13	13:17:36	3053	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:36	3053	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:36	3053	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:36	3053	[DEBUG]	Executed store
2023-10-13	13:17:36	3053	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:36	3053	[DEBUG]	Manufacturer exists
2023-10-13	13:17:36	3053	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:36	3053	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:36	3053	[DEBUG]	Executed store
2023-10-13	13:17:36	3053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862545','206')
2023-10-13	13:17:36	3053	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:36	3053	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:36	3053	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862545 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:36	3053	[DEBUG]	Store custom available field
2023-10-13	13:17:36	3053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862545,3,'',1)
2023-10-13	13:17:36	3053	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:36	3053	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:36	3053	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862545 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:36	3053	[DEBUG]	Store custom available field
2023-10-13	13:17:36	3053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862545,6,'Unitaire',3)
2023-10-13	13:17:36	3053	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:36	3053	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:36	3053	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862544
2023-10-13	13:17:36	3053	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:36	3053	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862544\":[1862544,8,1,\"choisir la taille\"],\"1862545\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862544
2023-10-13	13:17:36	3053	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:36	3053	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862545
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:36	3054	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field taille
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:36	3054	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:36	3054	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:36	3054	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:36	3054	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:36	3054	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:36	3054	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field published
2023-10-13	13:17:36	3054	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:36	3054	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field override
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:36	3054	[DEBUG]	Use field value for field slug
2023-10-13	13:17:36	3054	[DEBUG]	Process line 3054
2023-10-13	13:17:36	3054	[DEBUG]	Load a row
2023-10-13	13:17:36	3054	[DEBUG]	Processing item: A_4375_27
2023-10-13	13:17:36	3054	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:36	3054	[DEBUG]	Processing product tax
2023-10-13	13:17:36	3054	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:36	3054	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:36	3054	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:36	3054	[DEBUG]	Query for Product
2023-10-13	13:17:36	3054	[DEBUG]	Executed store
2023-10-13	13:17:36	3054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4375_27','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:36	3054	[DEBUG]	Check product language entry
2023-10-13	13:17:36	3054	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862546
2023-10-13	13:17:36	3054	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:36	3054	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4375_27' AND `virtuemart_product_id` != 1862546
2023-10-13	13:17:36	3054	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:36	3054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862546, 'A_4375_27')
2023-10-13	13:17:36	3054	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:36	3054	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-orange' AND `virtuemart_product_id` != 1862546
2023-10-13	13:17:36	3054	[DEBUG]	Query for ProductLang
2023-10-13	13:17:36	3054	[DEBUG]	Executed store
2023-10-13	13:17:36	3054	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon nylon MSC blanc Side Entry (entrée latérale)<br>N° art fourn : MSC318',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-orange' WHERE `virtuemart_product_id` = '1862546'
2023-10-13	13:17:36	3054	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26984_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:36	3054	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:36	3054	[DEBUG]	Process image file
2023-10-13	13:17:36	3054	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:36	3054	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:36	3054	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26984_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:36	3054	[DEBUG]	Full name target: bcprisme/26984_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:37	3054	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:37	3054	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26984_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg'
2023-10-13	13:17:37	3054	[DEBUG]	Query for Media
2023-10-13	13:17:37	3054	[DEBUG]	Executed store
2023-10-13	13:17:37	3054	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26984_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_url_thumb`='bcprisme/26984_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13052'
2023-10-13	13:17:37	3054	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:37	3054	[DEBUG]	Executed store
2023-10-13	13:17:37	3054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862546','13052','1')
2023-10-13	13:17:37	3054	[DEBUG]	Store product image relation
2023-10-13	13:17:37	3054	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:37	3054	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862546 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:37	3054	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:37	3054	[DEBUG]	Executed store
2023-10-13	13:17:37	3054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862546','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:37	3054	[DEBUG]	Checking manufacturer
2023-10-13	13:17:37	3054	[DEBUG]	Load a row
2023-10-13	13:17:37	3054	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:37	3054	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:37	3054	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:37	3054	[DEBUG]	Executed store
2023-10-13	13:17:37	3054	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:37	3054	[DEBUG]	Manufacturer exists
2023-10-13	13:17:37	3054	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:37	3054	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:37	3054	[DEBUG]	Executed store
2023-10-13	13:17:37	3054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862546','206')
2023-10-13	13:17:37	3054	[DEBUG]	Find the custom field ID
2023-10-13	13:17:37	3054	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:37	3054	[DEBUG]	No custom field ID found
2023-10-13	13:17:37	3054	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:37	3054	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:37	3054	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862546 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:37	3054	[DEBUG]	Store custom available field
2023-10-13	13:17:37	3054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862546,3,'8.87527777777778',1)
2023-10-13	13:17:37	3054	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:37	3054	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:37	3054	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862546 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:37	3054	[DEBUG]	Store custom available field
2023-10-13	13:17:37	3054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862546,6,'choisir la taille',3)
2023-10-13	13:17:37	3054	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:37	3054	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:37	3054	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:37	3054	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:37	3054	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862546 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:37	3054	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:37	3054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862546,8,1)
2023-10-13	13:17:37	3054	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:37	3054	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862546\":[1862546,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862546
2023-10-13	13:17:37	3054	[DEBUG]	Checking category
2023-10-13	13:17:37	3054	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:37	3054	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862546
2023-10-13	13:17:37	3054	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:37	3054	[DEBUG]	Executed store
2023-10-13	13:17:37	3054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862546','7366')
2023-10-13	13:17:37	3054	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:37	3054	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862546 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:37	3054	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:37	3054	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862546
2023-10-13	13:17:37	3055	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:37	3055	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:37	3055	[DEBUG]	Use field value for field taille
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:37	3055	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:37	3055	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:37	3055	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:37	3055	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:37	3055	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:37	3055	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:37	3055	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:37	3055	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:37	3055	[DEBUG]	Use field value for field published
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:37	3055	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field override
2023-10-13	13:17:37	3055	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:37	3055	[DEBUG]	Use field value for field slug
2023-10-13	13:17:37	3055	[DEBUG]	Process line 3055
2023-10-13	13:17:37	3055	[DEBUG]	Load a row
2023-10-13	13:17:37	3055	[DEBUG]	Processing item: 8435466297374
2023-10-13	13:17:37	3055	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:37	3055	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:37	3055	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4375_27'
2023-10-13	13:17:37	3055	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:37	3055	[DEBUG]	Processing product tax
2023-10-13	13:17:37	3055	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:37	3055	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:37	3055	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:37	3055	[DEBUG]	Query for Product
2023-10-13	13:17:37	3055	[DEBUG]	Executed store
2023-10-13	13:17:37	3055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862546','8435466297374','0','KG','M','','24','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:37	3055	[DEBUG]	No parent found
2023-10-13	13:17:37	3055	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862546 AND customfield_value = 'stockable'
2023-10-13	13:17:37	3055	[DEBUG]	Check product language entry
2023-10-13	13:17:37	3055	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862547
2023-10-13	13:17:37	3055	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:37	3055	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297374' AND `virtuemart_product_id` != 1862547
2023-10-13	13:17:37	3055	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:37	3055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862547, '8435466297374')
2023-10-13	13:17:37	3055	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:37	3055	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-orange-unitaire' AND `virtuemart_product_id` != 1862547
2023-10-13	13:17:37	3055	[DEBUG]	Query for ProductLang
2023-10-13	13:17:37	3055	[DEBUG]	Executed store
2023-10-13	13:17:37	3055	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / Orange (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-orange-unitaire' WHERE `virtuemart_product_id` = '1862547'
2023-10-13	13:17:37	3055	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26984_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:37	3055	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:37	3055	[DEBUG]	Process image file
2023-10-13	13:17:37	3055	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:37	3055	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:37	3055	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26984_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:37	3055	[DEBUG]	Full name target: bcprisme/26984_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:39	3055	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:39	3055	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26984_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg'
2023-10-13	13:17:39	3055	[DEBUG]	Query for Media
2023-10-13	13:17:39	3055	[DEBUG]	Executed store
2023-10-13	13:17:39	3055	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26984_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_url_thumb`='bcprisme/26984_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13052'
2023-10-13	13:17:39	3055	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:39	3055	[DEBUG]	Executed store
2023-10-13	13:17:39	3055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862547','13052','1')
2023-10-13	13:17:39	3055	[DEBUG]	Store product image relation
2023-10-13	13:17:39	3055	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:39	3055	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862547 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:39	3055	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:39	3055	[DEBUG]	Executed store
2023-10-13	13:17:39	3055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862547','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:39	3055	[DEBUG]	Checking manufacturer
2023-10-13	13:17:39	3055	[DEBUG]	Load a row
2023-10-13	13:17:39	3055	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:39	3055	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:39	3055	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:39	3055	[DEBUG]	Executed store
2023-10-13	13:17:39	3055	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:39	3055	[DEBUG]	Manufacturer exists
2023-10-13	13:17:39	3055	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:39	3055	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:39	3055	[DEBUG]	Executed store
2023-10-13	13:17:39	3055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862547','206')
2023-10-13	13:17:39	3055	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:39	3055	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:39	3055	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862547 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:39	3055	[DEBUG]	Store custom available field
2023-10-13	13:17:39	3055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862547,3,'',1)
2023-10-13	13:17:39	3055	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:39	3055	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:39	3055	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862547 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:39	3055	[DEBUG]	Store custom available field
2023-10-13	13:17:39	3055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862547,6,'Unitaire',3)
2023-10-13	13:17:39	3055	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:39	3055	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:39	3055	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862546
2023-10-13	13:17:39	3055	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:39	3055	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862546\":[1862546,8,1,\"choisir la taille\"],\"1862547\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862546
2023-10-13	13:17:39	3055	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:39	3055	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862547
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:39	3056	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field taille
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:39	3056	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:39	3056	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:39	3056	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:39	3056	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:39	3056	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:39	3056	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field published
2023-10-13	13:17:39	3056	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:39	3056	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field override
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:39	3056	[DEBUG]	Use field value for field slug
2023-10-13	13:17:39	3056	[DEBUG]	Process line 3056
2023-10-13	13:17:39	3056	[DEBUG]	Load a row
2023-10-13	13:17:39	3056	[DEBUG]	Processing item: A_4375_40
2023-10-13	13:17:39	3056	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:39	3056	[DEBUG]	Processing product tax
2023-10-13	13:17:39	3056	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:39	3056	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:39	3056	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:39	3056	[DEBUG]	Query for Product
2023-10-13	13:17:39	3056	[DEBUG]	Executed store
2023-10-13	13:17:39	3056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4375_40','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:39	3056	[DEBUG]	Check product language entry
2023-10-13	13:17:39	3056	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862548
2023-10-13	13:17:39	3056	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:39	3056	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4375_40' AND `virtuemart_product_id` != 1862548
2023-10-13	13:17:39	3056	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:39	3056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862548, 'A_4375_40')
2023-10-13	13:17:39	3056	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:39	3056	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-vert' AND `virtuemart_product_id` != 1862548
2023-10-13	13:17:39	3056	[DEBUG]	Query for ProductLang
2023-10-13	13:17:39	3056	[DEBUG]	Executed store
2023-10-13	13:17:39	3056	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon nylon MSC blanc Side Entry (entrée latérale)<br>N° art fourn : MSC318',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-vert' WHERE `virtuemart_product_id` = '1862548'
2023-10-13	13:17:39	3056	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26987_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:39	3056	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:39	3056	[DEBUG]	Process image file
2023-10-13	13:17:39	3056	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:39	3056	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:39	3056	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26987_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:39	3056	[DEBUG]	Full name target: bcprisme/26987_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:40	3056	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:40	3056	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26987_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg'
2023-10-13	13:17:40	3056	[DEBUG]	Query for Media
2023-10-13	13:17:40	3056	[DEBUG]	Executed store
2023-10-13	13:17:40	3056	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26987_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_url_thumb`='bcprisme/26987_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13053'
2023-10-13	13:17:40	3056	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:40	3056	[DEBUG]	Executed store
2023-10-13	13:17:40	3056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862548','13053','1')
2023-10-13	13:17:40	3056	[DEBUG]	Store product image relation
2023-10-13	13:17:40	3056	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:40	3056	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862548 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:40	3056	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:40	3056	[DEBUG]	Executed store
2023-10-13	13:17:40	3056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862548','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:40	3056	[DEBUG]	Checking manufacturer
2023-10-13	13:17:40	3056	[DEBUG]	Load a row
2023-10-13	13:17:40	3056	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:40	3056	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:40	3056	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:40	3056	[DEBUG]	Executed store
2023-10-13	13:17:40	3056	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:40	3056	[DEBUG]	Manufacturer exists
2023-10-13	13:17:40	3056	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:40	3056	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:40	3056	[DEBUG]	Executed store
2023-10-13	13:17:40	3056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862548','206')
2023-10-13	13:17:40	3056	[DEBUG]	Find the custom field ID
2023-10-13	13:17:40	3056	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:40	3056	[DEBUG]	No custom field ID found
2023-10-13	13:17:40	3056	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:40	3056	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:40	3056	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862548 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:40	3056	[DEBUG]	Store custom available field
2023-10-13	13:17:40	3056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862548,3,'8.87527777777778',1)
2023-10-13	13:17:40	3056	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:40	3056	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:40	3056	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862548 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:40	3056	[DEBUG]	Store custom available field
2023-10-13	13:17:40	3056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862548,6,'choisir la taille',3)
2023-10-13	13:17:40	3056	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:40	3056	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:40	3056	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:40	3056	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:40	3056	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862548 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:40	3056	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:40	3056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862548,8,1)
2023-10-13	13:17:40	3056	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:40	3056	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862548\":[1862548,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862548
2023-10-13	13:17:40	3056	[DEBUG]	Checking category
2023-10-13	13:17:40	3056	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:40	3056	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862548
2023-10-13	13:17:40	3056	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:40	3056	[DEBUG]	Executed store
2023-10-13	13:17:40	3056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862548','7366')
2023-10-13	13:17:40	3056	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:40	3056	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862548 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:40	3056	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:40	3056	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862548
2023-10-13	13:17:40	3057	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:40	3057	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:40	3057	[DEBUG]	Use field value for field taille
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:40	3057	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:40	3057	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:40	3057	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:40	3057	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:40	3057	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:40	3057	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:40	3057	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:40	3057	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:40	3057	[DEBUG]	Use field value for field published
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:40	3057	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field override
2023-10-13	13:17:40	3057	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:40	3057	[DEBUG]	Use field value for field slug
2023-10-13	13:17:40	3057	[DEBUG]	Process line 3057
2023-10-13	13:17:40	3057	[DEBUG]	Load a row
2023-10-13	13:17:40	3057	[DEBUG]	Processing item: 8435466297350
2023-10-13	13:17:40	3057	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:40	3057	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:40	3057	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4375_40'
2023-10-13	13:17:40	3057	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:40	3057	[DEBUG]	Processing product tax
2023-10-13	13:17:40	3057	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:40	3057	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:40	3057	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:40	3057	[DEBUG]	Query for Product
2023-10-13	13:17:40	3057	[DEBUG]	Executed store
2023-10-13	13:17:40	3057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862548','8435466297350','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:40	3057	[DEBUG]	No parent found
2023-10-13	13:17:40	3057	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862548 AND customfield_value = 'stockable'
2023-10-13	13:17:40	3057	[DEBUG]	Check product language entry
2023-10-13	13:17:40	3057	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862549
2023-10-13	13:17:40	3057	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:40	3057	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297350' AND `virtuemart_product_id` != 1862549
2023-10-13	13:17:40	3057	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:40	3057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862549, '8435466297350')
2023-10-13	13:17:40	3057	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:40	3057	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-vert-unitaire' AND `virtuemart_product_id` != 1862549
2023-10-13	13:17:40	3057	[DEBUG]	Query for ProductLang
2023-10-13	13:17:40	3057	[DEBUG]	Executed store
2023-10-13	13:17:40	3057	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-vert-unitaire' WHERE `virtuemart_product_id` = '1862549'
2023-10-13	13:17:40	3057	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26987_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:40	3057	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:40	3057	[DEBUG]	Process image file
2023-10-13	13:17:40	3057	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:40	3057	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:40	3057	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26987_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:40	3057	[DEBUG]	Full name target: bcprisme/26987_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:42	3057	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:42	3057	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26987_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg'
2023-10-13	13:17:42	3057	[DEBUG]	Query for Media
2023-10-13	13:17:42	3057	[DEBUG]	Executed store
2023-10-13	13:17:42	3057	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26987_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_url_thumb`='bcprisme/26987_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13053'
2023-10-13	13:17:42	3057	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:42	3057	[DEBUG]	Executed store
2023-10-13	13:17:42	3057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862549','13053','1')
2023-10-13	13:17:42	3057	[DEBUG]	Store product image relation
2023-10-13	13:17:42	3057	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:42	3057	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862549 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:42	3057	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:42	3057	[DEBUG]	Executed store
2023-10-13	13:17:42	3057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862549','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:42	3057	[DEBUG]	Checking manufacturer
2023-10-13	13:17:42	3057	[DEBUG]	Load a row
2023-10-13	13:17:42	3057	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:42	3057	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:42	3057	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:42	3057	[DEBUG]	Executed store
2023-10-13	13:17:42	3057	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:42	3057	[DEBUG]	Manufacturer exists
2023-10-13	13:17:42	3057	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:42	3057	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:42	3057	[DEBUG]	Executed store
2023-10-13	13:17:42	3057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862549','206')
2023-10-13	13:17:42	3057	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:42	3057	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:42	3057	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862549 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:42	3057	[DEBUG]	Store custom available field
2023-10-13	13:17:42	3057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862549,3,'',1)
2023-10-13	13:17:42	3057	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:42	3057	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:42	3057	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862549 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:42	3057	[DEBUG]	Store custom available field
2023-10-13	13:17:42	3057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862549,6,'Unitaire',3)
2023-10-13	13:17:42	3057	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:42	3057	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:42	3057	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862548
2023-10-13	13:17:42	3057	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:42	3057	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862548\":[1862548,8,1,\"choisir la taille\"],\"1862549\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862548
2023-10-13	13:17:42	3057	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:42	3057	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862549
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:42	3058	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field taille
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:42	3058	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:42	3058	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:42	3058	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:42	3058	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:42	3058	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:42	3058	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field published
2023-10-13	13:17:42	3058	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:42	3058	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field override
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:42	3058	[DEBUG]	Use field value for field slug
2023-10-13	13:17:42	3058	[DEBUG]	Process line 3058
2023-10-13	13:17:42	3058	[DEBUG]	Load a row
2023-10-13	13:17:42	3058	[DEBUG]	Processing item: A_4375_65
2023-10-13	13:17:42	3058	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:42	3058	[DEBUG]	Processing product tax
2023-10-13	13:17:42	3058	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:42	3058	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:42	3058	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:42	3058	[DEBUG]	Query for Product
2023-10-13	13:17:42	3058	[DEBUG]	Executed store
2023-10-13	13:17:42	3058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4375_65','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:42	3058	[DEBUG]	Check product language entry
2023-10-13	13:17:42	3058	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862550
2023-10-13	13:17:42	3058	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:42	3058	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4375_65' AND `virtuemart_product_id` != 1862550
2023-10-13	13:17:42	3058	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:42	3058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862550, 'A_4375_65')
2023-10-13	13:17:42	3058	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:42	3058	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-jaune' AND `virtuemart_product_id` != 1862550
2023-10-13	13:17:42	3058	[DEBUG]	Query for ProductLang
2023-10-13	13:17:42	3058	[DEBUG]	Executed store
2023-10-13	13:17:42	3058	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon nylon MSC blanc Side Entry (entrée latérale)<br>N° art fourn : MSC318',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-jaune' WHERE `virtuemart_product_id` = '1862550'
2023-10-13	13:17:42	3058	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26983_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:42	3058	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:42	3058	[DEBUG]	Process image file
2023-10-13	13:17:42	3058	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:42	3058	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:42	3058	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26983_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:42	3058	[DEBUG]	Full name target: bcprisme/26983_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:44	3058	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:44	3058	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26983_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg'
2023-10-13	13:17:44	3058	[DEBUG]	Query for Media
2023-10-13	13:17:44	3058	[DEBUG]	Executed store
2023-10-13	13:17:44	3058	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26983_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_url_thumb`='bcprisme/26983_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13054'
2023-10-13	13:17:44	3058	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:44	3058	[DEBUG]	Executed store
2023-10-13	13:17:44	3058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862550','13054','1')
2023-10-13	13:17:44	3058	[DEBUG]	Store product image relation
2023-10-13	13:17:44	3058	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:44	3058	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862550 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:44	3058	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:44	3058	[DEBUG]	Executed store
2023-10-13	13:17:44	3058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862550','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:44	3058	[DEBUG]	Checking manufacturer
2023-10-13	13:17:44	3058	[DEBUG]	Load a row
2023-10-13	13:17:44	3058	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:44	3058	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:44	3058	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:44	3058	[DEBUG]	Executed store
2023-10-13	13:17:44	3058	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:44	3058	[DEBUG]	Manufacturer exists
2023-10-13	13:17:44	3058	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:44	3058	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:44	3058	[DEBUG]	Executed store
2023-10-13	13:17:44	3058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862550','206')
2023-10-13	13:17:44	3058	[DEBUG]	Find the custom field ID
2023-10-13	13:17:44	3058	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:44	3058	[DEBUG]	No custom field ID found
2023-10-13	13:17:44	3058	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:44	3058	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:44	3058	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862550 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:44	3058	[DEBUG]	Store custom available field
2023-10-13	13:17:44	3058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862550,3,'8.87527777777778',1)
2023-10-13	13:17:44	3058	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:44	3058	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:44	3058	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862550 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:44	3058	[DEBUG]	Store custom available field
2023-10-13	13:17:44	3058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862550,6,'choisir la taille',3)
2023-10-13	13:17:44	3058	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:44	3058	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:44	3058	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:44	3058	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:44	3058	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862550 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:44	3058	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:44	3058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862550,8,1)
2023-10-13	13:17:44	3058	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:44	3058	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862550\":[1862550,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862550
2023-10-13	13:17:44	3058	[DEBUG]	Checking category
2023-10-13	13:17:44	3058	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:44	3058	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862550
2023-10-13	13:17:44	3058	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:44	3058	[DEBUG]	Executed store
2023-10-13	13:17:44	3058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862550','7366')
2023-10-13	13:17:44	3058	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:44	3058	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862550 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:44	3058	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:44	3058	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862550
2023-10-13	13:17:44	3059	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:44	3059	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:44	3059	[DEBUG]	Use field value for field taille
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:44	3059	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:44	3059	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:44	3059	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:44	3059	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:44	3059	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:44	3059	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:44	3059	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:44	3059	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:44	3059	[DEBUG]	Use field value for field published
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:44	3059	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field override
2023-10-13	13:17:44	3059	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:44	3059	[DEBUG]	Use field value for field slug
2023-10-13	13:17:44	3059	[DEBUG]	Process line 3059
2023-10-13	13:17:44	3059	[DEBUG]	Load a row
2023-10-13	13:17:44	3059	[DEBUG]	Processing item: 8435466297336
2023-10-13	13:17:44	3059	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:44	3059	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:44	3059	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4375_65'
2023-10-13	13:17:44	3059	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:44	3059	[DEBUG]	Processing product tax
2023-10-13	13:17:44	3059	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:44	3059	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:44	3059	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:44	3059	[DEBUG]	Query for Product
2023-10-13	13:17:44	3059	[DEBUG]	Executed store
2023-10-13	13:17:44	3059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862550','8435466297336','0','KG','M','','29','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:44	3059	[DEBUG]	No parent found
2023-10-13	13:17:44	3059	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862550 AND customfield_value = 'stockable'
2023-10-13	13:17:44	3059	[DEBUG]	Check product language entry
2023-10-13	13:17:44	3059	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862551
2023-10-13	13:17:44	3059	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:44	3059	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297336' AND `virtuemart_product_id` != 1862551
2023-10-13	13:17:44	3059	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:44	3059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862551, '8435466297336')
2023-10-13	13:17:44	3059	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:44	3059	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-jaune-unitaire' AND `virtuemart_product_id` != 1862551
2023-10-13	13:17:44	3059	[DEBUG]	Query for ProductLang
2023-10-13	13:17:44	3059	[DEBUG]	Executed store
2023-10-13	13:17:44	3059	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-jaune-unitaire' WHERE `virtuemart_product_id` = '1862551'
2023-10-13	13:17:44	3059	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26983_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:44	3059	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:44	3059	[DEBUG]	Process image file
2023-10-13	13:17:44	3059	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:44	3059	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:44	3059	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26983_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:44	3059	[DEBUG]	Full name target: bcprisme/26983_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:47	3059	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:47	3059	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26983_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg'
2023-10-13	13:17:47	3059	[DEBUG]	Query for Media
2023-10-13	13:17:47	3059	[DEBUG]	Executed store
2023-10-13	13:17:47	3059	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26983_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_url_thumb`='bcprisme/26983_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13054'
2023-10-13	13:17:47	3059	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:47	3059	[DEBUG]	Executed store
2023-10-13	13:17:47	3059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862551','13054','1')
2023-10-13	13:17:47	3059	[DEBUG]	Store product image relation
2023-10-13	13:17:47	3059	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:47	3059	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862551 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:47	3059	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:47	3059	[DEBUG]	Executed store
2023-10-13	13:17:47	3059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862551','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:47	3059	[DEBUG]	Checking manufacturer
2023-10-13	13:17:47	3059	[DEBUG]	Load a row
2023-10-13	13:17:47	3059	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:47	3059	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:47	3059	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:47	3059	[DEBUG]	Executed store
2023-10-13	13:17:47	3059	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:47	3059	[DEBUG]	Manufacturer exists
2023-10-13	13:17:47	3059	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:47	3059	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:47	3059	[DEBUG]	Executed store
2023-10-13	13:17:47	3059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862551','206')
2023-10-13	13:17:47	3059	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:47	3059	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:47	3059	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862551 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:47	3059	[DEBUG]	Store custom available field
2023-10-13	13:17:47	3059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862551,3,'',1)
2023-10-13	13:17:47	3059	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:47	3059	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:47	3059	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862551 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:47	3059	[DEBUG]	Store custom available field
2023-10-13	13:17:47	3059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862551,6,'Unitaire',3)
2023-10-13	13:17:47	3059	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:47	3059	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:47	3059	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862550
2023-10-13	13:17:47	3059	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:47	3059	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862550\":[1862550,8,1,\"choisir la taille\"],\"1862551\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862550
2023-10-13	13:17:47	3059	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:47	3059	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862551
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:47	3060	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field taille
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:47	3060	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:47	3060	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:47	3060	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:47	3060	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:47	3060	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:47	3060	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field published
2023-10-13	13:17:47	3060	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:47	3060	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field override
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:47	3060	[DEBUG]	Use field value for field slug
2023-10-13	13:17:47	3060	[DEBUG]	Process line 3060
2023-10-13	13:17:47	3060	[DEBUG]	Load a row
2023-10-13	13:17:47	3060	[DEBUG]	Processing item: A_4375_108
2023-10-13	13:17:47	3060	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:47	3060	[DEBUG]	Processing product tax
2023-10-13	13:17:47	3060	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:47	3060	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:47	3060	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:47	3060	[DEBUG]	Query for Product
2023-10-13	13:17:47	3060	[DEBUG]	Executed store
2023-10-13	13:17:47	3060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4375_108','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:47	3060	[DEBUG]	Check product language entry
2023-10-13	13:17:47	3060	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862552
2023-10-13	13:17:47	3060	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:47	3060	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4375_108' AND `virtuemart_product_id` != 1862552
2023-10-13	13:17:47	3060	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:47	3060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862552, 'A_4375_108')
2023-10-13	13:17:47	3060	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:47	3060	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-noir' AND `virtuemart_product_id` != 1862552
2023-10-13	13:17:47	3060	[DEBUG]	Query for ProductLang
2023-10-13	13:17:47	3060	[DEBUG]	Executed store
2023-10-13	13:17:47	3060	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon nylon MSC blanc Side Entry (entrée latérale)<br>N° art fourn : MSC318',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-noir' WHERE `virtuemart_product_id` = '1862552'
2023-10-13	13:17:47	3060	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26981_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:47	3060	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:47	3060	[DEBUG]	Process image file
2023-10-13	13:17:47	3060	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:47	3060	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:47	3060	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26981_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:47	3060	[DEBUG]	Full name target: bcprisme/26981_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:50	3060	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:50	3060	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26981_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg'
2023-10-13	13:17:50	3060	[DEBUG]	Query for Media
2023-10-13	13:17:50	3060	[DEBUG]	Executed store
2023-10-13	13:17:50	3060	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26981_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_url_thumb`='bcprisme/26981_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13055'
2023-10-13	13:17:50	3060	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:50	3060	[DEBUG]	Executed store
2023-10-13	13:17:50	3060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862552','13055','1')
2023-10-13	13:17:50	3060	[DEBUG]	Store product image relation
2023-10-13	13:17:50	3060	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:50	3060	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862552 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:50	3060	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:50	3060	[DEBUG]	Executed store
2023-10-13	13:17:50	3060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862552','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:50	3060	[DEBUG]	Checking manufacturer
2023-10-13	13:17:50	3060	[DEBUG]	Load a row
2023-10-13	13:17:50	3060	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:50	3060	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:50	3060	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:50	3060	[DEBUG]	Executed store
2023-10-13	13:17:50	3060	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:50	3060	[DEBUG]	Manufacturer exists
2023-10-13	13:17:50	3060	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:50	3060	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:50	3060	[DEBUG]	Executed store
2023-10-13	13:17:50	3060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862552','206')
2023-10-13	13:17:50	3060	[DEBUG]	Find the custom field ID
2023-10-13	13:17:50	3060	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:50	3060	[DEBUG]	No custom field ID found
2023-10-13	13:17:50	3060	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:50	3060	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:50	3060	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862552 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:50	3060	[DEBUG]	Store custom available field
2023-10-13	13:17:50	3060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862552,3,'8.87527777777778',1)
2023-10-13	13:17:50	3060	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:50	3060	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:50	3060	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862552 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:50	3060	[DEBUG]	Store custom available field
2023-10-13	13:17:50	3060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862552,6,'choisir la taille',3)
2023-10-13	13:17:50	3060	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:50	3060	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:50	3060	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:50	3060	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:50	3060	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862552 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:50	3060	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:50	3060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862552,8,1)
2023-10-13	13:17:50	3060	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:50	3060	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862552\":[1862552,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862552
2023-10-13	13:17:50	3060	[DEBUG]	Checking category
2023-10-13	13:17:50	3060	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:50	3060	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862552
2023-10-13	13:17:50	3060	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:50	3060	[DEBUG]	Executed store
2023-10-13	13:17:50	3060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862552','7366')
2023-10-13	13:17:50	3060	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:50	3060	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862552 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:50	3060	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:50	3060	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862552
2023-10-13	13:17:50	3061	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:50	3061	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:50	3061	[DEBUG]	Use field value for field taille
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:50	3061	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:50	3061	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:50	3061	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:50	3061	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:50	3061	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:50	3061	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:50	3061	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:50	3061	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:50	3061	[DEBUG]	Use field value for field published
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:50	3061	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field override
2023-10-13	13:17:50	3061	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:50	3061	[DEBUG]	Use field value for field slug
2023-10-13	13:17:50	3061	[DEBUG]	Process line 3061
2023-10-13	13:17:50	3061	[DEBUG]	Load a row
2023-10-13	13:17:50	3061	[DEBUG]	Processing item: 8435466297305
2023-10-13	13:17:50	3061	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:50	3061	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:50	3061	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4375_108'
2023-10-13	13:17:50	3061	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:50	3061	[DEBUG]	Processing product tax
2023-10-13	13:17:50	3061	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:50	3061	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:50	3061	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:50	3061	[DEBUG]	Query for Product
2023-10-13	13:17:50	3061	[DEBUG]	Executed store
2023-10-13	13:17:50	3061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862552','8435466297305','0','KG','M','','19','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:50	3061	[DEBUG]	No parent found
2023-10-13	13:17:50	3061	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862552 AND customfield_value = 'stockable'
2023-10-13	13:17:50	3061	[DEBUG]	Check product language entry
2023-10-13	13:17:50	3061	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862553
2023-10-13	13:17:50	3061	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:50	3061	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297305' AND `virtuemart_product_id` != 1862553
2023-10-13	13:17:50	3061	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:50	3061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862553, '8435466297305')
2023-10-13	13:17:50	3061	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:50	3061	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-noir-unitaire' AND `virtuemart_product_id` != 1862553
2023-10-13	13:17:50	3061	[DEBUG]	Query for ProductLang
2023-10-13	13:17:50	3061	[DEBUG]	Executed store
2023-10-13	13:17:50	3061	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / Noir  (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-noir-unitaire' WHERE `virtuemart_product_id` = '1862553'
2023-10-13	13:17:50	3061	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26981_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:50	3061	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:50	3061	[DEBUG]	Process image file
2023-10-13	13:17:50	3061	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:50	3061	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:50	3061	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26981_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:50	3061	[DEBUG]	Full name target: bcprisme/26981_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:52	3061	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:52	3061	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26981_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg'
2023-10-13	13:17:52	3061	[DEBUG]	Query for Media
2023-10-13	13:17:52	3061	[DEBUG]	Executed store
2023-10-13	13:17:52	3061	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26981_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_url_thumb`='bcprisme/26981_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13055'
2023-10-13	13:17:52	3061	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:52	3061	[DEBUG]	Executed store
2023-10-13	13:17:52	3061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862553','13055','1')
2023-10-13	13:17:52	3061	[DEBUG]	Store product image relation
2023-10-13	13:17:52	3061	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:52	3061	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862553 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:52	3061	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:52	3061	[DEBUG]	Executed store
2023-10-13	13:17:52	3061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862553','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:52	3061	[DEBUG]	Checking manufacturer
2023-10-13	13:17:52	3061	[DEBUG]	Load a row
2023-10-13	13:17:52	3061	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:52	3061	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:52	3061	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:52	3061	[DEBUG]	Executed store
2023-10-13	13:17:52	3061	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:52	3061	[DEBUG]	Manufacturer exists
2023-10-13	13:17:52	3061	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:52	3061	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:52	3061	[DEBUG]	Executed store
2023-10-13	13:17:52	3061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862553','206')
2023-10-13	13:17:52	3061	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:52	3061	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:52	3061	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862553 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:52	3061	[DEBUG]	Store custom available field
2023-10-13	13:17:52	3061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862553,3,'',1)
2023-10-13	13:17:52	3061	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:52	3061	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:52	3061	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862553 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:52	3061	[DEBUG]	Store custom available field
2023-10-13	13:17:52	3061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862553,6,'Unitaire',3)
2023-10-13	13:17:52	3061	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:52	3061	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:52	3061	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862552
2023-10-13	13:17:52	3061	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:52	3061	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862552\":[1862552,8,1,\"choisir la taille\"],\"1862553\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862552
2023-10-13	13:17:52	3061	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:52	3061	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862553
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:52	3062	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field taille
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:52	3062	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:52	3062	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:52	3062	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:52	3062	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:52	3062	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:52	3062	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field published
2023-10-13	13:17:52	3062	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:52	3062	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field override
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:52	3062	[DEBUG]	Use field value for field slug
2023-10-13	13:17:52	3062	[DEBUG]	Process line 3062
2023-10-13	13:17:52	3062	[DEBUG]	Load a row
2023-10-13	13:17:52	3062	[DEBUG]	Processing item: A_4375_170
2023-10-13	13:17:52	3062	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:52	3062	[DEBUG]	Processing product tax
2023-10-13	13:17:52	3062	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:52	3062	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:52	3062	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:52	3062	[DEBUG]	Query for Product
2023-10-13	13:17:52	3062	[DEBUG]	Executed store
2023-10-13	13:17:52	3062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4375_170','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:52	3062	[DEBUG]	Check product language entry
2023-10-13	13:17:52	3062	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862554
2023-10-13	13:17:52	3062	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:52	3062	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4375_170' AND `virtuemart_product_id` != 1862554
2023-10-13	13:17:52	3062	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:52	3062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862554, 'A_4375_170')
2023-10-13	13:17:52	3062	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:52	3062	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-fuchsia' AND `virtuemart_product_id` != 1862554
2023-10-13	13:17:52	3062	[DEBUG]	Query for ProductLang
2023-10-13	13:17:52	3062	[DEBUG]	Executed store
2023-10-13	13:17:52	3062	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon nylon MSC blanc Side Entry (entrée latérale)<br>N° art fourn : MSC318',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / FUCHSIA',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-fuchsia' WHERE `virtuemart_product_id` = '1862554'
2023-10-13	13:17:52	3062	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26986_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:52	3062	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:52	3062	[DEBUG]	Process image file
2023-10-13	13:17:52	3062	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:52	3062	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:52	3062	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26986_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:52	3062	[DEBUG]	Full name target: bcprisme/26986_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:53	3062	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:53	3062	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26986_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg'
2023-10-13	13:17:53	3062	[DEBUG]	Query for Media
2023-10-13	13:17:53	3062	[DEBUG]	Executed store
2023-10-13	13:17:53	3062	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26986_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_url_thumb`='bcprisme/26986_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13056'
2023-10-13	13:17:53	3062	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:53	3062	[DEBUG]	Executed store
2023-10-13	13:17:53	3062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862554','13056','1')
2023-10-13	13:17:53	3062	[DEBUG]	Store product image relation
2023-10-13	13:17:53	3062	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:53	3062	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862554 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:53	3062	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:53	3062	[DEBUG]	Executed store
2023-10-13	13:17:53	3062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862554','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:53	3062	[DEBUG]	Checking manufacturer
2023-10-13	13:17:53	3062	[DEBUG]	Load a row
2023-10-13	13:17:53	3062	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:53	3062	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:53	3062	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:53	3062	[DEBUG]	Executed store
2023-10-13	13:17:53	3062	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:53	3062	[DEBUG]	Manufacturer exists
2023-10-13	13:17:53	3062	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:53	3062	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:53	3062	[DEBUG]	Executed store
2023-10-13	13:17:53	3062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862554','206')
2023-10-13	13:17:53	3062	[DEBUG]	Find the custom field ID
2023-10-13	13:17:53	3062	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:53	3062	[DEBUG]	No custom field ID found
2023-10-13	13:17:53	3062	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:53	3062	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:53	3062	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862554 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:53	3062	[DEBUG]	Store custom available field
2023-10-13	13:17:53	3062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862554,3,'8.87527777777778',1)
2023-10-13	13:17:53	3062	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:53	3062	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:53	3062	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862554 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:53	3062	[DEBUG]	Store custom available field
2023-10-13	13:17:53	3062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862554,6,'choisir la taille',3)
2023-10-13	13:17:53	3062	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:53	3062	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:53	3062	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:53	3062	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:53	3062	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862554 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:53	3062	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:53	3062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862554,8,1)
2023-10-13	13:17:53	3062	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:53	3062	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862554\":[1862554,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862554
2023-10-13	13:17:53	3062	[DEBUG]	Checking category
2023-10-13	13:17:53	3062	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:53	3062	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862554
2023-10-13	13:17:53	3062	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:53	3062	[DEBUG]	Executed store
2023-10-13	13:17:53	3062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862554','7366')
2023-10-13	13:17:53	3062	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:53	3062	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862554 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:53	3062	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:53	3062	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862554
2023-10-13	13:17:53	3063	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:53	3063	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:53	3063	[DEBUG]	Use field value for field taille
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:53	3063	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:53	3063	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:53	3063	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:53	3063	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:53	3063	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:53	3063	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:53	3063	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:53	3063	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:53	3063	[DEBUG]	Use field value for field published
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:53	3063	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field override
2023-10-13	13:17:53	3063	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:53	3063	[DEBUG]	Use field value for field slug
2023-10-13	13:17:53	3063	[DEBUG]	Process line 3063
2023-10-13	13:17:53	3063	[DEBUG]	Load a row
2023-10-13	13:17:53	3063	[DEBUG]	Processing item: 8435466297367
2023-10-13	13:17:53	3063	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:53	3063	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:53	3063	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4375_170'
2023-10-13	13:17:53	3063	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:53	3063	[DEBUG]	Processing product tax
2023-10-13	13:17:53	3063	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:53	3063	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:53	3063	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:53	3063	[DEBUG]	Query for Product
2023-10-13	13:17:53	3063	[DEBUG]	Executed store
2023-10-13	13:17:53	3063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862554','8435466297367','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:53	3063	[DEBUG]	No parent found
2023-10-13	13:17:53	3063	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862554 AND customfield_value = 'stockable'
2023-10-13	13:17:53	3063	[DEBUG]	Check product language entry
2023-10-13	13:17:53	3063	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862555
2023-10-13	13:17:53	3063	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:53	3063	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297367' AND `virtuemart_product_id` != 1862555
2023-10-13	13:17:53	3063	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:53	3063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862555, '8435466297367')
2023-10-13	13:17:53	3063	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:53	3063	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-nylon-side-entry-entree-laterale-fuchsia-unitaire' AND `virtuemart_product_id` != 1862555
2023-10-13	13:17:53	3063	[DEBUG]	Query for ProductLang
2023-10-13	13:17:53	3063	[DEBUG]	Executed store
2023-10-13	13:17:53	3063	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC nylon SIDE ENTRY (entrée latérale) / FUCHSIA (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-nylon-side-entry-entree-laterale-fuchsia-unitaire' WHERE `virtuemart_product_id` = '1862555'
2023-10-13	13:17:53	3063	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26986_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:53	3063	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:53	3063	[DEBUG]	Process image file
2023-10-13	13:17:53	3063	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:53	3063	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:53	3063	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26986_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:53	3063	[DEBUG]	Full name target: bcprisme/26986_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg
2023-10-13	13:17:54	3063	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:54	3063	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26986_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg'
2023-10-13	13:17:54	3063	[DEBUG]	Query for Media
2023-10-13	13:17:54	3063	[DEBUG]	Executed store
2023-10-13	13:17:54	3063	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26986_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_url_thumb`='bcprisme/26986_porte-bidon_nylon_msc_blanc_side_entry_(entree_laterale).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13056'
2023-10-13	13:17:54	3063	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:54	3063	[DEBUG]	Executed store
2023-10-13	13:17:54	3063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862555','13056','1')
2023-10-13	13:17:54	3063	[DEBUG]	Store product image relation
2023-10-13	13:17:54	3063	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:54	3063	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862555 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:54	3063	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:54	3063	[DEBUG]	Executed store
2023-10-13	13:17:54	3063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862555','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:54	3063	[DEBUG]	Checking manufacturer
2023-10-13	13:17:54	3063	[DEBUG]	Load a row
2023-10-13	13:17:54	3063	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:54	3063	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:54	3063	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:54	3063	[DEBUG]	Executed store
2023-10-13	13:17:54	3063	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:54	3063	[DEBUG]	Manufacturer exists
2023-10-13	13:17:54	3063	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:54	3063	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:54	3063	[DEBUG]	Executed store
2023-10-13	13:17:54	3063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862555','206')
2023-10-13	13:17:54	3063	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:54	3063	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:54	3063	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862555 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:54	3063	[DEBUG]	Store custom available field
2023-10-13	13:17:54	3063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862555,3,'',1)
2023-10-13	13:17:54	3063	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:54	3063	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:54	3063	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862555 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:54	3063	[DEBUG]	Store custom available field
2023-10-13	13:17:54	3063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862555,6,'Unitaire',3)
2023-10-13	13:17:54	3063	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:54	3063	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:54	3063	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862554
2023-10-13	13:17:54	3063	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:54	3063	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862554\":[1862554,8,1,\"choisir la taille\"],\"1862555\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862554
2023-10-13	13:17:54	3063	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:54	3063	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862555
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:54	3064	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field taille
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:54	3064	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:54	3064	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:54	3064	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:54	3064	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:54	3064	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:54	3064	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field published
2023-10-13	13:17:54	3064	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:54	3064	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field override
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:54	3064	[DEBUG]	Use field value for field slug
2023-10-13	13:17:54	3064	[DEBUG]	Process line 3064
2023-10-13	13:17:54	3064	[DEBUG]	Load a row
2023-10-13	13:17:54	3064	[DEBUG]	Processing item: A_4376_7
2023-10-13	13:17:54	3064	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:54	3064	[DEBUG]	Processing product tax
2023-10-13	13:17:54	3064	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:54	3064	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:54	3064	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:54	3064	[DEBUG]	Query for Product
2023-10-13	13:17:54	3064	[DEBUG]	Executed store
2023-10-13	13:17:54	3064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4376_7','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:54	3064	[DEBUG]	Check product language entry
2023-10-13	13:17:54	3064	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862556
2023-10-13	13:17:54	3064	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:54	3064	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4376_7' AND `virtuemart_product_id` != 1862556
2023-10-13	13:17:54	3064	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:54	3064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862556, 'A_4376_7')
2023-10-13	13:17:54	3064	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:54	3064	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-rouge' AND `virtuemart_product_id` != 1862556
2023-10-13	13:17:54	3064	[DEBUG]	Query for ProductLang
2023-10-13	13:17:54	3064	[DEBUG]	Executed store
2023-10-13	13:17:54	3064	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC315BK',`product_name`='MSC Porte-bidon MSC polycarbonate / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-rouge' WHERE `virtuemart_product_id` = '1862556'
2023-10-13	13:17:54	3064	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26993_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:17:54	3064	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:54	3064	[DEBUG]	Process image file
2023-10-13	13:17:54	3064	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:54	3064	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:54	3064	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26993_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:17:54	3064	[DEBUG]	Full name target: bcprisme/26993_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:17:55	3064	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:55	3064	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26993_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:17:55	3064	[DEBUG]	Query for Media
2023-10-13	13:17:55	3064	[DEBUG]	Executed store
2023-10-13	13:17:55	3064	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26993_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26993_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13057'
2023-10-13	13:17:55	3064	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:55	3064	[DEBUG]	Executed store
2023-10-13	13:17:55	3064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862556','13057','1')
2023-10-13	13:17:55	3064	[DEBUG]	Store product image relation
2023-10-13	13:17:55	3064	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:55	3064	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862556 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:55	3064	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:55	3064	[DEBUG]	Executed store
2023-10-13	13:17:55	3064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862556','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:55	3064	[DEBUG]	Checking manufacturer
2023-10-13	13:17:55	3064	[DEBUG]	Load a row
2023-10-13	13:17:55	3064	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:55	3064	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:55	3064	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:55	3064	[DEBUG]	Executed store
2023-10-13	13:17:55	3064	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:55	3064	[DEBUG]	Manufacturer exists
2023-10-13	13:17:55	3064	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:55	3064	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:55	3064	[DEBUG]	Executed store
2023-10-13	13:17:55	3064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862556','206')
2023-10-13	13:17:55	3064	[DEBUG]	Find the custom field ID
2023-10-13	13:17:55	3064	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:55	3064	[DEBUG]	No custom field ID found
2023-10-13	13:17:55	3064	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:55	3064	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:55	3064	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862556 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:55	3064	[DEBUG]	Store custom available field
2023-10-13	13:17:55	3064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862556,3,'8.87527777777778',1)
2023-10-13	13:17:55	3064	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:55	3064	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:55	3064	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862556 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:55	3064	[DEBUG]	Store custom available field
2023-10-13	13:17:55	3064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862556,6,'choisir la taille',3)
2023-10-13	13:17:55	3064	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:55	3064	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:55	3064	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:55	3064	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:55	3064	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862556 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:55	3064	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:55	3064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862556,8,1)
2023-10-13	13:17:55	3064	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:55	3064	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862556\":[1862556,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862556
2023-10-13	13:17:55	3064	[DEBUG]	Checking category
2023-10-13	13:17:55	3064	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:55	3064	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862556
2023-10-13	13:17:55	3064	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:55	3064	[DEBUG]	Executed store
2023-10-13	13:17:55	3064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862556','7366')
2023-10-13	13:17:55	3064	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:55	3064	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862556 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:55	3064	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:55	3064	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862556
2023-10-13	13:17:55	3065	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:55	3065	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:55	3065	[DEBUG]	Use field value for field taille
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:55	3065	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:55	3065	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:55	3065	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:55	3065	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:55	3065	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:55	3065	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:55	3065	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:55	3065	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:55	3065	[DEBUG]	Use field value for field published
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:55	3065	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field override
2023-10-13	13:17:55	3065	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:55	3065	[DEBUG]	Use field value for field slug
2023-10-13	13:17:55	3065	[DEBUG]	Process line 3065
2023-10-13	13:17:55	3065	[DEBUG]	Load a row
2023-10-13	13:17:55	3065	[DEBUG]	Processing item: 8435466297244
2023-10-13	13:17:55	3065	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:55	3065	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:55	3065	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4376_7'
2023-10-13	13:17:55	3065	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:55	3065	[DEBUG]	Processing product tax
2023-10-13	13:17:55	3065	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:55	3065	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:55	3065	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:55	3065	[DEBUG]	Query for Product
2023-10-13	13:17:55	3065	[DEBUG]	Executed store
2023-10-13	13:17:55	3065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862556','8435466297244','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:55	3065	[DEBUG]	No parent found
2023-10-13	13:17:55	3065	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862556 AND customfield_value = 'stockable'
2023-10-13	13:17:55	3065	[DEBUG]	Check product language entry
2023-10-13	13:17:55	3065	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862557
2023-10-13	13:17:55	3065	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:55	3065	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297244' AND `virtuemart_product_id` != 1862557
2023-10-13	13:17:55	3065	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:55	3065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862557, '8435466297244')
2023-10-13	13:17:55	3065	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:55	3065	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-rouge-unitaire' AND `virtuemart_product_id` != 1862557
2023-10-13	13:17:55	3065	[DEBUG]	Query for ProductLang
2023-10-13	13:17:55	3065	[DEBUG]	Executed store
2023-10-13	13:17:55	3065	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC polycarbonate / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-rouge-unitaire' WHERE `virtuemart_product_id` = '1862557'
2023-10-13	13:17:55	3065	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26993_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:17:55	3065	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:55	3065	[DEBUG]	Process image file
2023-10-13	13:17:55	3065	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:55	3065	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:55	3065	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26993_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:17:55	3065	[DEBUG]	Full name target: bcprisme/26993_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:17:56	3065	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:56	3065	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26993_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:17:56	3065	[DEBUG]	Query for Media
2023-10-13	13:17:56	3065	[DEBUG]	Executed store
2023-10-13	13:17:56	3065	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26993_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26993_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13057'
2023-10-13	13:17:56	3065	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:56	3065	[DEBUG]	Executed store
2023-10-13	13:17:56	3065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862557','13057','1')
2023-10-13	13:17:56	3065	[DEBUG]	Store product image relation
2023-10-13	13:17:56	3065	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:56	3065	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862557 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:56	3065	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:57	3065	[DEBUG]	Executed store
2023-10-13	13:17:57	3065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862557','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:57	3065	[DEBUG]	Checking manufacturer
2023-10-13	13:17:57	3065	[DEBUG]	Load a row
2023-10-13	13:17:57	3065	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:57	3065	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:57	3065	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:57	3065	[DEBUG]	Executed store
2023-10-13	13:17:57	3065	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:57	3065	[DEBUG]	Manufacturer exists
2023-10-13	13:17:57	3065	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:57	3065	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:57	3065	[DEBUG]	Executed store
2023-10-13	13:17:57	3065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862557','206')
2023-10-13	13:17:57	3065	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:57	3065	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:57	3065	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862557 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:57	3065	[DEBUG]	Store custom available field
2023-10-13	13:17:57	3065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862557,3,'',1)
2023-10-13	13:17:57	3065	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:57	3065	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:57	3065	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862557 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:57	3065	[DEBUG]	Store custom available field
2023-10-13	13:17:57	3065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862557,6,'Unitaire',3)
2023-10-13	13:17:57	3065	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:57	3065	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:57	3065	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862556
2023-10-13	13:17:57	3065	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:57	3065	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862556\":[1862556,8,1,\"choisir la taille\"],\"1862557\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862556
2023-10-13	13:17:57	3065	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:57	3065	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862557
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:57	3066	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field taille
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:57	3066	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:57	3066	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:57	3066	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:57	3066	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:57	3066	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:57	3066	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field published
2023-10-13	13:17:57	3066	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:57	3066	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field override
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:57	3066	[DEBUG]	Use field value for field slug
2023-10-13	13:17:57	3066	[DEBUG]	Process line 3066
2023-10-13	13:17:57	3066	[DEBUG]	Load a row
2023-10-13	13:17:57	3066	[DEBUG]	Processing item: A_4376_12
2023-10-13	13:17:57	3066	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:57	3066	[DEBUG]	Processing product tax
2023-10-13	13:17:57	3066	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:57	3066	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:57	3066	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:57	3066	[DEBUG]	Query for Product
2023-10-13	13:17:57	3066	[DEBUG]	Executed store
2023-10-13	13:17:57	3066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4376_12','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:57	3066	[DEBUG]	Check product language entry
2023-10-13	13:17:57	3066	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862558
2023-10-13	13:17:57	3066	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:57	3066	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4376_12' AND `virtuemart_product_id` != 1862558
2023-10-13	13:17:57	3066	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:57	3066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862558, 'A_4376_12')
2023-10-13	13:17:57	3066	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:57	3066	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-blanc' AND `virtuemart_product_id` != 1862558
2023-10-13	13:17:57	3066	[DEBUG]	Query for ProductLang
2023-10-13	13:17:57	3066	[DEBUG]	Executed store
2023-10-13	13:17:57	3066	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC315BK',`product_name`='MSC Porte-bidon MSC polycarbonate / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-blanc' WHERE `virtuemart_product_id` = '1862558'
2023-10-13	13:17:57	3066	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26989_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:17:57	3066	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:57	3066	[DEBUG]	Process image file
2023-10-13	13:17:57	3066	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:57	3066	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:57	3066	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26989_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:17:57	3066	[DEBUG]	Full name target: bcprisme/26989_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:17:58	3066	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:58	3066	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26989_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:17:58	3066	[DEBUG]	Query for Media
2023-10-13	13:17:58	3066	[DEBUG]	Executed store
2023-10-13	13:17:58	3066	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26989_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26989_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13058'
2023-10-13	13:17:58	3066	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:58	3066	[DEBUG]	Executed store
2023-10-13	13:17:58	3066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862558','13058','1')
2023-10-13	13:17:58	3066	[DEBUG]	Store product image relation
2023-10-13	13:17:58	3066	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:58	3066	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862558 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:58	3066	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:58	3066	[DEBUG]	Executed store
2023-10-13	13:17:58	3066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862558','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:58	3066	[DEBUG]	Checking manufacturer
2023-10-13	13:17:58	3066	[DEBUG]	Load a row
2023-10-13	13:17:58	3066	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:58	3066	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:58	3066	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:58	3066	[DEBUG]	Executed store
2023-10-13	13:17:58	3066	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:58	3066	[DEBUG]	Manufacturer exists
2023-10-13	13:17:58	3066	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:58	3066	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:58	3066	[DEBUG]	Executed store
2023-10-13	13:17:58	3066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862558','206')
2023-10-13	13:17:58	3066	[DEBUG]	Find the custom field ID
2023-10-13	13:17:58	3066	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:17:58	3066	[DEBUG]	No custom field ID found
2023-10-13	13:17:58	3066	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:58	3066	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:17:58	3066	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862558 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:58	3066	[DEBUG]	Store custom available field
2023-10-13	13:17:58	3066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862558,3,'8.87527777777778',1)
2023-10-13	13:17:58	3066	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:58	3066	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:17:58	3066	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862558 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:58	3066	[DEBUG]	Store custom available field
2023-10-13	13:17:58	3066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862558,6,'choisir la taille',3)
2023-10-13	13:17:58	3066	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:58	3066	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:17:58	3066	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:17:58	3066	[DEBUG]	Find the multi variant product entry
2023-10-13	13:17:58	3066	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862558 AND `virtuemart_custom_id` = 8
2023-10-13	13:17:58	3066	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:17:58	3066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862558,8,1)
2023-10-13	13:17:58	3066	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:58	3066	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862558\":[1862558,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862558
2023-10-13	13:17:58	3066	[DEBUG]	Checking category
2023-10-13	13:17:58	3066	[DEBUG]	Get the existing categories for the product
2023-10-13	13:17:58	3066	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862558
2023-10-13	13:17:58	3066	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:17:58	3066	[DEBUG]	Executed store
2023-10-13	13:17:58	3066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862558','7366')
2023-10-13	13:17:58	3066	[DEBUG]	Delete leftover product categories
2023-10-13	13:17:58	3066	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862558 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:17:58	3066	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:58	3066	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862558
2023-10-13	13:17:58	3067	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:58	3067	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:17:58	3067	[DEBUG]	Use field value for field taille
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:17:58	3067	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field category_path
2023-10-13	13:17:58	3067	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:58	3067	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:58	3067	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:58	3067	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:17:58	3067	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field product_weight
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:58	3067	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:58	3067	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:58	3067	[DEBUG]	Use field value for field published
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field custom_title
2023-10-13	13:17:58	3067	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field custom_param
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field override
2023-10-13	13:17:58	3067	[DEBUG]	Use default value for field public_price
2023-10-13	13:17:58	3067	[DEBUG]	Use field value for field slug
2023-10-13	13:17:58	3067	[DEBUG]	Process line 3067
2023-10-13	13:17:58	3067	[DEBUG]	Load a row
2023-10-13	13:17:58	3067	[DEBUG]	Processing item: 8435466297237
2023-10-13	13:17:58	3067	[DEBUG]	Looking for parent SKU
2023-10-13	13:17:58	3067	[DEBUG]	Checking product parent SKU
2023-10-13	13:17:58	3067	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4376_12'
2023-10-13	13:17:58	3067	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:58	3067	[DEBUG]	Processing product tax
2023-10-13	13:17:58	3067	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:58	3067	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:58	3067	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:58	3067	[DEBUG]	Query for Product
2023-10-13	13:17:58	3067	[DEBUG]	Executed store
2023-10-13	13:17:58	3067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862558','8435466297237','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:58	3067	[DEBUG]	No parent found
2023-10-13	13:17:58	3067	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862558 AND customfield_value = 'stockable'
2023-10-13	13:17:58	3067	[DEBUG]	Check product language entry
2023-10-13	13:17:58	3067	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862559
2023-10-13	13:17:58	3067	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:58	3067	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297237' AND `virtuemart_product_id` != 1862559
2023-10-13	13:17:58	3067	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:58	3067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862559, '8435466297237')
2023-10-13	13:17:58	3067	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:58	3067	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-blanc-unitaire' AND `virtuemart_product_id` != 1862559
2023-10-13	13:17:58	3067	[DEBUG]	Query for ProductLang
2023-10-13	13:17:58	3067	[DEBUG]	Executed store
2023-10-13	13:17:58	3067	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC polycarbonate / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-blanc-unitaire' WHERE `virtuemart_product_id` = '1862559'
2023-10-13	13:17:58	3067	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26989_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:17:58	3067	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:58	3067	[DEBUG]	Process image file
2023-10-13	13:17:58	3067	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:58	3067	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:58	3067	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26989_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:17:58	3067	[DEBUG]	Full name target: bcprisme/26989_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:17:59	3067	[DEBUG]	Checking if the file_url exists
2023-10-13	13:17:59	3067	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26989_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:17:59	3067	[DEBUG]	Query for Media
2023-10-13	13:17:59	3067	[DEBUG]	Executed store
2023-10-13	13:17:59	3067	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26989_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26989_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13058'
2023-10-13	13:17:59	3067	[DEBUG]	Query for ProductMedia
2023-10-13	13:17:59	3067	[DEBUG]	Executed store
2023-10-13	13:17:59	3067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862559','13058','1')
2023-10-13	13:17:59	3067	[DEBUG]	Store product image relation
2023-10-13	13:17:59	3067	[DEBUG]	Finding a product_price_id
2023-10-13	13:17:59	3067	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862559 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:17:59	3067	[DEBUG]	Query for ProductPrice
2023-10-13	13:17:59	3067	[DEBUG]	Executed store
2023-10-13	13:17:59	3067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862559','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:17:59	3067	[DEBUG]	Checking manufacturer
2023-10-13	13:17:59	3067	[DEBUG]	Load a row
2023-10-13	13:17:59	3067	[DEBUG]	Manufacturer already exists
2023-10-13	13:17:59	3067	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:59	3067	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:17:59	3067	[DEBUG]	Executed store
2023-10-13	13:17:59	3067	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:17:59	3067	[DEBUG]	Manufacturer exists
2023-10-13	13:17:59	3067	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:17:59	3067	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:17:59	3067	[DEBUG]	Executed store
2023-10-13	13:17:59	3067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862559','206')
2023-10-13	13:17:59	3067	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:17:59	3067	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:17:59	3067	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862559 AND `virtuemart_custom_id` = 3
2023-10-13	13:17:59	3067	[DEBUG]	Store custom available field
2023-10-13	13:17:59	3067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862559,3,'',1)
2023-10-13	13:17:59	3067	[DEBUG]	Processing custom available field: taille
2023-10-13	13:17:59	3067	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:17:59	3067	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862559 AND `virtuemart_custom_id` = 6
2023-10-13	13:17:59	3067	[DEBUG]	Store custom available field
2023-10-13	13:17:59	3067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862559,6,'Unitaire',3)
2023-10-13	13:17:59	3067	[DEBUG]	Process multi-variant fields
2023-10-13	13:17:59	3067	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:17:59	3067	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862558
2023-10-13	13:17:59	3067	[DEBUG]	Store the updated customfield_params
2023-10-13	13:17:59	3067	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862558\":[1862558,8,1,\"choisir la taille\"],\"1862559\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862558
2023-10-13	13:17:59	3067	[DEBUG]	Update has fields after all processing
2023-10-13	13:17:59	3067	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862559
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field product_sku
2023-10-13	13:17:59	3068	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field taille
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field product_name
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field category_path
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field product_price
2023-10-13	13:17:59	3068	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field product_tax
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field file_url
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:17:59	3068	[DEBUG]	Use default value for field product_desc
2023-10-13	13:17:59	3068	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field product_availability
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field product_weight
2023-10-13	13:17:59	3068	[DEBUG]	Use default value for field product_unit
2023-10-13	13:17:59	3068	[DEBUG]	Use default value for field related_products
2023-10-13	13:17:59	3068	[DEBUG]	Use default value for field product_special
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field published
2023-10-13	13:17:59	3068	[DEBUG]	Use default value for field metadesc
2023-10-13	13:17:59	3068	[DEBUG]	Use default value for field metakey
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field custom_title
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field custom_value
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field custom_param
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field override
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field public_price
2023-10-13	13:17:59	3068	[DEBUG]	Use field value for field slug
2023-10-13	13:17:59	3068	[DEBUG]	Process line 3068
2023-10-13	13:17:59	3068	[DEBUG]	Load a row
2023-10-13	13:17:59	3068	[DEBUG]	Processing item: A_4376_22
2023-10-13	13:17:59	3068	[DEBUG]	Product tax: 7.7
2023-10-13	13:17:59	3068	[DEBUG]	Processing product tax
2023-10-13	13:17:59	3068	[DEBUG]	Check if calculation rule exists
2023-10-13	13:17:59	3068	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:17:59	3068	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:17:59	3068	[DEBUG]	Query for Product
2023-10-13	13:17:59	3068	[DEBUG]	Executed store
2023-10-13	13:17:59	3068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4376_22','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:17:59	3068	[DEBUG]	Check product language entry
2023-10-13	13:17:59	3068	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862560
2023-10-13	13:17:59	3068	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:59	3068	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4376_22' AND `virtuemart_product_id` != 1862560
2023-10-13	13:17:59	3068	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:17:59	3068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862560, 'A_4376_22')
2023-10-13	13:17:59	3068	[DEBUG]	Check if the product slug exists
2023-10-13	13:17:59	3068	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-bleu' AND `virtuemart_product_id` != 1862560
2023-10-13	13:17:59	3068	[DEBUG]	Query for ProductLang
2023-10-13	13:17:59	3068	[DEBUG]	Executed store
2023-10-13	13:17:59	3068	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC315BK',`product_name`='MSC Porte-bidon MSC polycarbonate / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-bleu' WHERE `virtuemart_product_id` = '1862560'
2023-10-13	13:17:59	3068	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26988_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:17:59	3068	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:59	3068	[DEBUG]	Process image file
2023-10-13	13:17:59	3068	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:17:59	3068	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:17:59	3068	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26988_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:17:59	3068	[DEBUG]	Full name target: bcprisme/26988_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:00	3068	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:00	3068	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26988_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:18:00	3068	[DEBUG]	Query for Media
2023-10-13	13:18:00	3068	[DEBUG]	Executed store
2023-10-13	13:18:00	3068	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26988_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26988_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13059'
2023-10-13	13:18:00	3068	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:00	3068	[DEBUG]	Executed store
2023-10-13	13:18:00	3068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862560','13059','1')
2023-10-13	13:18:00	3068	[DEBUG]	Store product image relation
2023-10-13	13:18:00	3068	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:00	3068	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862560 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:00	3068	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:00	3068	[DEBUG]	Executed store
2023-10-13	13:18:00	3068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862560','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:00	3068	[DEBUG]	Checking manufacturer
2023-10-13	13:18:00	3068	[DEBUG]	Load a row
2023-10-13	13:18:00	3068	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:00	3068	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:00	3068	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:00	3068	[DEBUG]	Executed store
2023-10-13	13:18:00	3068	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:00	3068	[DEBUG]	Manufacturer exists
2023-10-13	13:18:00	3068	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:00	3068	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:00	3068	[DEBUG]	Executed store
2023-10-13	13:18:00	3068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862560','206')
2023-10-13	13:18:00	3068	[DEBUG]	Find the custom field ID
2023-10-13	13:18:00	3068	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:00	3068	[DEBUG]	No custom field ID found
2023-10-13	13:18:00	3068	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:00	3068	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:00	3068	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862560 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:00	3068	[DEBUG]	Store custom available field
2023-10-13	13:18:00	3068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862560,3,'8.87527777777778',1)
2023-10-13	13:18:00	3068	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:00	3068	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:00	3068	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862560 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:00	3068	[DEBUG]	Store custom available field
2023-10-13	13:18:00	3068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862560,6,'choisir la taille',3)
2023-10-13	13:18:00	3068	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:00	3068	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:00	3068	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:00	3068	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:00	3068	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862560 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:00	3068	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:00	3068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862560,8,1)
2023-10-13	13:18:00	3068	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:00	3068	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862560\":[1862560,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862560
2023-10-13	13:18:00	3068	[DEBUG]	Checking category
2023-10-13	13:18:00	3068	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:00	3068	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862560
2023-10-13	13:18:00	3068	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:00	3068	[DEBUG]	Executed store
2023-10-13	13:18:00	3068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862560','7366')
2023-10-13	13:18:00	3068	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:00	3068	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862560 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:00	3068	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:00	3068	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862560
2023-10-13	13:18:00	3069	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:00	3069	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:00	3069	[DEBUG]	Use field value for field taille
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:00	3069	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:00	3069	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:00	3069	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:00	3069	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:00	3069	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:00	3069	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:00	3069	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:00	3069	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:00	3069	[DEBUG]	Use field value for field published
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:00	3069	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field override
2023-10-13	13:18:00	3069	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:00	3069	[DEBUG]	Use field value for field slug
2023-10-13	13:18:00	3069	[DEBUG]	Process line 3069
2023-10-13	13:18:00	3069	[DEBUG]	Load a row
2023-10-13	13:18:00	3069	[DEBUG]	Processing item: 8435466297268
2023-10-13	13:18:00	3069	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:00	3069	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:00	3069	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4376_22'
2023-10-13	13:18:00	3069	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:00	3069	[DEBUG]	Processing product tax
2023-10-13	13:18:00	3069	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:00	3069	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:00	3069	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:00	3069	[DEBUG]	Query for Product
2023-10-13	13:18:00	3069	[DEBUG]	Executed store
2023-10-13	13:18:00	3069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862560','8435466297268','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:00	3069	[DEBUG]	No parent found
2023-10-13	13:18:00	3069	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862560 AND customfield_value = 'stockable'
2023-10-13	13:18:00	3069	[DEBUG]	Check product language entry
2023-10-13	13:18:00	3069	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862561
2023-10-13	13:18:00	3069	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:00	3069	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297268' AND `virtuemart_product_id` != 1862561
2023-10-13	13:18:00	3069	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:00	3069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862561, '8435466297268')
2023-10-13	13:18:00	3069	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:00	3069	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-bleu-unitaire' AND `virtuemart_product_id` != 1862561
2023-10-13	13:18:00	3069	[DEBUG]	Query for ProductLang
2023-10-13	13:18:00	3069	[DEBUG]	Executed store
2023-10-13	13:18:00	3069	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC polycarbonate / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-bleu-unitaire' WHERE `virtuemart_product_id` = '1862561'
2023-10-13	13:18:00	3069	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26988_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:00	3069	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:00	3069	[DEBUG]	Process image file
2023-10-13	13:18:00	3069	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:00	3069	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:00	3069	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26988_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:00	3069	[DEBUG]	Full name target: bcprisme/26988_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:01	3069	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:01	3069	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26988_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:18:01	3069	[DEBUG]	Query for Media
2023-10-13	13:18:01	3069	[DEBUG]	Executed store
2023-10-13	13:18:01	3069	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26988_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26988_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13059'
2023-10-13	13:18:01	3069	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:01	3069	[DEBUG]	Executed store
2023-10-13	13:18:01	3069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862561','13059','1')
2023-10-13	13:18:01	3069	[DEBUG]	Store product image relation
2023-10-13	13:18:01	3069	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:01	3069	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862561 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:01	3069	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:01	3069	[DEBUG]	Executed store
2023-10-13	13:18:01	3069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862561','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:01	3069	[DEBUG]	Checking manufacturer
2023-10-13	13:18:01	3069	[DEBUG]	Load a row
2023-10-13	13:18:01	3069	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:01	3069	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:01	3069	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:01	3069	[DEBUG]	Executed store
2023-10-13	13:18:01	3069	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:01	3069	[DEBUG]	Manufacturer exists
2023-10-13	13:18:01	3069	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:01	3069	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:01	3069	[DEBUG]	Executed store
2023-10-13	13:18:01	3069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862561','206')
2023-10-13	13:18:01	3069	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:01	3069	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:01	3069	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862561 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:01	3069	[DEBUG]	Store custom available field
2023-10-13	13:18:01	3069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862561,3,'',1)
2023-10-13	13:18:01	3069	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:01	3069	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:01	3069	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862561 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:01	3069	[DEBUG]	Store custom available field
2023-10-13	13:18:01	3069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862561,6,'Unitaire',3)
2023-10-13	13:18:01	3069	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:01	3069	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:01	3069	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862560
2023-10-13	13:18:01	3069	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:01	3069	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862560\":[1862560,8,1,\"choisir la taille\"],\"1862561\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862560
2023-10-13	13:18:01	3069	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:01	3069	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862561
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:01	3070	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field taille
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:01	3070	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:01	3070	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:01	3070	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:01	3070	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:01	3070	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:01	3070	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field published
2023-10-13	13:18:01	3070	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:01	3070	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field override
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:01	3070	[DEBUG]	Use field value for field slug
2023-10-13	13:18:01	3070	[DEBUG]	Process line 3070
2023-10-13	13:18:01	3070	[DEBUG]	Load a row
2023-10-13	13:18:01	3070	[DEBUG]	Processing item: A_4376_27
2023-10-13	13:18:01	3070	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:01	3070	[DEBUG]	Processing product tax
2023-10-13	13:18:01	3070	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:01	3070	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:01	3070	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:01	3070	[DEBUG]	Query for Product
2023-10-13	13:18:01	3070	[DEBUG]	Executed store
2023-10-13	13:18:01	3070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4376_27','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:01	3070	[DEBUG]	Check product language entry
2023-10-13	13:18:01	3070	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862562
2023-10-13	13:18:01	3070	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:01	3070	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4376_27' AND `virtuemart_product_id` != 1862562
2023-10-13	13:18:01	3070	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:01	3070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862562, 'A_4376_27')
2023-10-13	13:18:01	3070	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:01	3070	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-orange' AND `virtuemart_product_id` != 1862562
2023-10-13	13:18:01	3070	[DEBUG]	Query for ProductLang
2023-10-13	13:18:01	3070	[DEBUG]	Executed store
2023-10-13	13:18:01	3070	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC315BK',`product_name`='MSC Porte-bidon MSC polycarbonate / Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-orange' WHERE `virtuemart_product_id` = '1862562'
2023-10-13	13:18:01	3070	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26994_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:01	3070	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:01	3070	[DEBUG]	Process image file
2023-10-13	13:18:01	3070	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:01	3070	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:01	3070	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26994_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:01	3070	[DEBUG]	Full name target: bcprisme/26994_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:02	3070	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:02	3070	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26994_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:18:02	3070	[DEBUG]	Query for Media
2023-10-13	13:18:02	3070	[DEBUG]	Executed store
2023-10-13	13:18:02	3070	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26994_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26994_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13060'
2023-10-13	13:18:02	3070	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:02	3070	[DEBUG]	Executed store
2023-10-13	13:18:02	3070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862562','13060','1')
2023-10-13	13:18:02	3070	[DEBUG]	Store product image relation
2023-10-13	13:18:02	3070	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:02	3070	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862562 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:02	3070	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:02	3070	[DEBUG]	Executed store
2023-10-13	13:18:02	3070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862562','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:02	3070	[DEBUG]	Checking manufacturer
2023-10-13	13:18:02	3070	[DEBUG]	Load a row
2023-10-13	13:18:02	3070	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:02	3070	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:02	3070	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:02	3070	[DEBUG]	Executed store
2023-10-13	13:18:02	3070	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:02	3070	[DEBUG]	Manufacturer exists
2023-10-13	13:18:02	3070	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:02	3070	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:02	3070	[DEBUG]	Executed store
2023-10-13	13:18:02	3070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862562','206')
2023-10-13	13:18:02	3070	[DEBUG]	Find the custom field ID
2023-10-13	13:18:02	3070	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:02	3070	[DEBUG]	No custom field ID found
2023-10-13	13:18:02	3070	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:02	3070	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:02	3070	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862562 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:02	3070	[DEBUG]	Store custom available field
2023-10-13	13:18:02	3070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862562,3,'8.87527777777778',1)
2023-10-13	13:18:02	3070	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:02	3070	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:02	3070	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862562 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:02	3070	[DEBUG]	Store custom available field
2023-10-13	13:18:02	3070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862562,6,'choisir la taille',3)
2023-10-13	13:18:02	3070	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:02	3070	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:02	3070	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:02	3070	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:02	3070	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862562 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:02	3070	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:02	3070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862562,8,1)
2023-10-13	13:18:02	3070	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:02	3070	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862562\":[1862562,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862562
2023-10-13	13:18:02	3070	[DEBUG]	Checking category
2023-10-13	13:18:02	3070	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:02	3070	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862562
2023-10-13	13:18:02	3070	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:02	3070	[DEBUG]	Executed store
2023-10-13	13:18:02	3070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862562','7366')
2023-10-13	13:18:02	3070	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:02	3070	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862562 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:02	3070	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:02	3070	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862562
2023-10-13	13:18:02	3071	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:02	3071	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:02	3071	[DEBUG]	Use field value for field taille
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:02	3071	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:02	3071	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:02	3071	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:02	3071	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:02	3071	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:02	3071	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:02	3071	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:02	3071	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:02	3071	[DEBUG]	Use field value for field published
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:02	3071	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field override
2023-10-13	13:18:02	3071	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:02	3071	[DEBUG]	Use field value for field slug
2023-10-13	13:18:02	3071	[DEBUG]	Process line 3071
2023-10-13	13:18:02	3071	[DEBUG]	Load a row
2023-10-13	13:18:02	3071	[DEBUG]	Processing item: 8435466297299
2023-10-13	13:18:02	3071	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:02	3071	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:02	3071	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4376_27'
2023-10-13	13:18:02	3071	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:02	3071	[DEBUG]	Processing product tax
2023-10-13	13:18:02	3071	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:02	3071	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:02	3071	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:02	3071	[DEBUG]	Query for Product
2023-10-13	13:18:02	3071	[DEBUG]	Executed store
2023-10-13	13:18:02	3071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862562','8435466297299','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:02	3071	[DEBUG]	No parent found
2023-10-13	13:18:02	3071	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862562 AND customfield_value = 'stockable'
2023-10-13	13:18:02	3071	[DEBUG]	Check product language entry
2023-10-13	13:18:02	3071	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862563
2023-10-13	13:18:02	3071	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:02	3071	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297299' AND `virtuemart_product_id` != 1862563
2023-10-13	13:18:02	3071	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:02	3071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862563, '8435466297299')
2023-10-13	13:18:02	3071	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:02	3071	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-orange-unitaire' AND `virtuemart_product_id` != 1862563
2023-10-13	13:18:02	3071	[DEBUG]	Query for ProductLang
2023-10-13	13:18:02	3071	[DEBUG]	Executed store
2023-10-13	13:18:02	3071	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC polycarbonate / Orange (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-orange-unitaire' WHERE `virtuemart_product_id` = '1862563'
2023-10-13	13:18:02	3071	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26994_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:02	3071	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:02	3071	[DEBUG]	Process image file
2023-10-13	13:18:02	3071	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:02	3071	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:02	3071	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26994_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:02	3071	[DEBUG]	Full name target: bcprisme/26994_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:03	3071	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:03	3071	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26994_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:18:03	3071	[DEBUG]	Query for Media
2023-10-13	13:18:03	3071	[DEBUG]	Executed store
2023-10-13	13:18:03	3071	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26994_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26994_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13060'
2023-10-13	13:18:03	3071	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:03	3071	[DEBUG]	Executed store
2023-10-13	13:18:03	3071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862563','13060','1')
2023-10-13	13:18:03	3071	[DEBUG]	Store product image relation
2023-10-13	13:18:03	3071	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:03	3071	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862563 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:03	3071	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:03	3071	[DEBUG]	Executed store
2023-10-13	13:18:03	3071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862563','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:03	3071	[DEBUG]	Checking manufacturer
2023-10-13	13:18:03	3071	[DEBUG]	Load a row
2023-10-13	13:18:03	3071	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:03	3071	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:03	3071	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:03	3071	[DEBUG]	Executed store
2023-10-13	13:18:03	3071	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:03	3071	[DEBUG]	Manufacturer exists
2023-10-13	13:18:03	3071	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:03	3071	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:03	3071	[DEBUG]	Executed store
2023-10-13	13:18:03	3071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862563','206')
2023-10-13	13:18:03	3071	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:03	3071	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:03	3071	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862563 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:03	3071	[DEBUG]	Store custom available field
2023-10-13	13:18:03	3071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862563,3,'',1)
2023-10-13	13:18:03	3071	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:03	3071	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:03	3071	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862563 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:03	3071	[DEBUG]	Store custom available field
2023-10-13	13:18:03	3071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862563,6,'Unitaire',3)
2023-10-13	13:18:03	3071	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:03	3071	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:03	3071	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862562
2023-10-13	13:18:03	3071	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:03	3071	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862562\":[1862562,8,1,\"choisir la taille\"],\"1862563\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862562
2023-10-13	13:18:03	3071	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:03	3071	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862563
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:03	3072	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field taille
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:03	3072	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:03	3072	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:03	3072	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:03	3072	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:03	3072	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:03	3072	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field published
2023-10-13	13:18:03	3072	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:03	3072	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field override
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:03	3072	[DEBUG]	Use field value for field slug
2023-10-13	13:18:03	3072	[DEBUG]	Process line 3072
2023-10-13	13:18:03	3072	[DEBUG]	Load a row
2023-10-13	13:18:03	3072	[DEBUG]	Processing item: A_4376_40
2023-10-13	13:18:03	3072	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:03	3072	[DEBUG]	Processing product tax
2023-10-13	13:18:03	3072	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:03	3072	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:03	3072	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:03	3072	[DEBUG]	Query for Product
2023-10-13	13:18:03	3072	[DEBUG]	Executed store
2023-10-13	13:18:03	3072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4376_40','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:03	3072	[DEBUG]	Check product language entry
2023-10-13	13:18:03	3072	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862564
2023-10-13	13:18:03	3072	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:03	3072	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4376_40' AND `virtuemart_product_id` != 1862564
2023-10-13	13:18:03	3072	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:03	3072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862564, 'A_4376_40')
2023-10-13	13:18:03	3072	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:03	3072	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-vert' AND `virtuemart_product_id` != 1862564
2023-10-13	13:18:03	3072	[DEBUG]	Query for ProductLang
2023-10-13	13:18:03	3072	[DEBUG]	Executed store
2023-10-13	13:18:03	3072	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC315BK',`product_name`='MSC Porte-bidon MSC polycarbonate / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-vert' WHERE `virtuemart_product_id` = '1862564'
2023-10-13	13:18:03	3072	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26992_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:03	3072	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:03	3072	[DEBUG]	Process image file
2023-10-13	13:18:03	3072	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:03	3072	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:03	3072	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26992_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:03	3072	[DEBUG]	Full name target: bcprisme/26992_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:04	3072	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:04	3072	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26992_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:18:04	3072	[DEBUG]	Query for Media
2023-10-13	13:18:04	3072	[DEBUG]	Executed store
2023-10-13	13:18:04	3072	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26992_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26992_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13061'
2023-10-13	13:18:04	3072	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:04	3072	[DEBUG]	Executed store
2023-10-13	13:18:04	3072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862564','13061','1')
2023-10-13	13:18:04	3072	[DEBUG]	Store product image relation
2023-10-13	13:18:04	3072	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:04	3072	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862564 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:04	3072	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:04	3072	[DEBUG]	Executed store
2023-10-13	13:18:04	3072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862564','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:04	3072	[DEBUG]	Checking manufacturer
2023-10-13	13:18:04	3072	[DEBUG]	Load a row
2023-10-13	13:18:04	3072	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:04	3072	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:04	3072	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:04	3072	[DEBUG]	Executed store
2023-10-13	13:18:04	3072	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:04	3072	[DEBUG]	Manufacturer exists
2023-10-13	13:18:04	3072	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:04	3072	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:04	3072	[DEBUG]	Executed store
2023-10-13	13:18:04	3072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862564','206')
2023-10-13	13:18:04	3072	[DEBUG]	Find the custom field ID
2023-10-13	13:18:04	3072	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:04	3072	[DEBUG]	No custom field ID found
2023-10-13	13:18:04	3072	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:04	3072	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:04	3072	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862564 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:04	3072	[DEBUG]	Store custom available field
2023-10-13	13:18:04	3072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862564,3,'8.87527777777778',1)
2023-10-13	13:18:04	3072	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:04	3072	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:04	3072	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862564 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:04	3072	[DEBUG]	Store custom available field
2023-10-13	13:18:04	3072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862564,6,'choisir la taille',3)
2023-10-13	13:18:04	3072	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:04	3072	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:04	3072	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:04	3072	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:04	3072	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862564 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:04	3072	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:04	3072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862564,8,1)
2023-10-13	13:18:04	3072	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:04	3072	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862564\":[1862564,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862564
2023-10-13	13:18:04	3072	[DEBUG]	Checking category
2023-10-13	13:18:04	3072	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:04	3072	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862564
2023-10-13	13:18:04	3072	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:04	3072	[DEBUG]	Executed store
2023-10-13	13:18:04	3072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862564','7366')
2023-10-13	13:18:04	3072	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:04	3072	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862564 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:04	3072	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:04	3072	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862564
2023-10-13	13:18:04	3073	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:04	3073	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:04	3073	[DEBUG]	Use field value for field taille
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:04	3073	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:04	3073	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:04	3073	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:04	3073	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:04	3073	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:04	3073	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:04	3073	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:04	3073	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:04	3073	[DEBUG]	Use field value for field published
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:04	3073	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field override
2023-10-13	13:18:04	3073	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:04	3073	[DEBUG]	Use field value for field slug
2023-10-13	13:18:04	3073	[DEBUG]	Process line 3073
2023-10-13	13:18:04	3073	[DEBUG]	Load a row
2023-10-13	13:18:04	3073	[DEBUG]	Processing item: 8435466297275
2023-10-13	13:18:04	3073	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:04	3073	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:04	3073	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4376_40'
2023-10-13	13:18:04	3073	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:04	3073	[DEBUG]	Processing product tax
2023-10-13	13:18:04	3073	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:04	3073	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:04	3073	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:04	3073	[DEBUG]	Query for Product
2023-10-13	13:18:04	3073	[DEBUG]	Executed store
2023-10-13	13:18:04	3073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862564','8435466297275','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:04	3073	[DEBUG]	No parent found
2023-10-13	13:18:04	3073	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862564 AND customfield_value = 'stockable'
2023-10-13	13:18:04	3073	[DEBUG]	Check product language entry
2023-10-13	13:18:04	3073	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862565
2023-10-13	13:18:04	3073	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:04	3073	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297275' AND `virtuemart_product_id` != 1862565
2023-10-13	13:18:04	3073	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:04	3073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862565, '8435466297275')
2023-10-13	13:18:04	3073	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:04	3073	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-vert-unitaire' AND `virtuemart_product_id` != 1862565
2023-10-13	13:18:04	3073	[DEBUG]	Query for ProductLang
2023-10-13	13:18:04	3073	[DEBUG]	Executed store
2023-10-13	13:18:04	3073	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC polycarbonate / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-vert-unitaire' WHERE `virtuemart_product_id` = '1862565'
2023-10-13	13:18:04	3073	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26992_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:04	3073	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:04	3073	[DEBUG]	Process image file
2023-10-13	13:18:04	3073	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:04	3073	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:04	3073	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26992_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:04	3073	[DEBUG]	Full name target: bcprisme/26992_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:05	3073	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:05	3073	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26992_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:18:05	3073	[DEBUG]	Query for Media
2023-10-13	13:18:05	3073	[DEBUG]	Executed store
2023-10-13	13:18:05	3073	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26992_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26992_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13061'
2023-10-13	13:18:05	3073	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:05	3073	[DEBUG]	Executed store
2023-10-13	13:18:05	3073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862565','13061','1')
2023-10-13	13:18:05	3073	[DEBUG]	Store product image relation
2023-10-13	13:18:05	3073	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:05	3073	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862565 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:05	3073	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:05	3073	[DEBUG]	Executed store
2023-10-13	13:18:05	3073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862565','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:05	3073	[DEBUG]	Checking manufacturer
2023-10-13	13:18:05	3073	[DEBUG]	Load a row
2023-10-13	13:18:05	3073	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:05	3073	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:05	3073	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:05	3073	[DEBUG]	Executed store
2023-10-13	13:18:05	3073	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:05	3073	[DEBUG]	Manufacturer exists
2023-10-13	13:18:05	3073	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:05	3073	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:05	3073	[DEBUG]	Executed store
2023-10-13	13:18:05	3073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862565','206')
2023-10-13	13:18:05	3073	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:05	3073	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:05	3073	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862565 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:05	3073	[DEBUG]	Store custom available field
2023-10-13	13:18:05	3073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862565,3,'',1)
2023-10-13	13:18:05	3073	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:05	3073	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:05	3073	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862565 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:05	3073	[DEBUG]	Store custom available field
2023-10-13	13:18:05	3073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862565,6,'Unitaire',3)
2023-10-13	13:18:05	3073	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:05	3073	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:05	3073	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862564
2023-10-13	13:18:05	3073	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:05	3073	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862564\":[1862564,8,1,\"choisir la taille\"],\"1862565\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862564
2023-10-13	13:18:05	3073	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:05	3073	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862565
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:05	3074	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field taille
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:05	3074	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:05	3074	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:05	3074	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:05	3074	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:05	3074	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:05	3074	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field published
2023-10-13	13:18:05	3074	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:05	3074	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field override
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:05	3074	[DEBUG]	Use field value for field slug
2023-10-13	13:18:05	3074	[DEBUG]	Process line 3074
2023-10-13	13:18:05	3074	[DEBUG]	Load a row
2023-10-13	13:18:05	3074	[DEBUG]	Processing item: A_4376_65
2023-10-13	13:18:05	3074	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:05	3074	[DEBUG]	Processing product tax
2023-10-13	13:18:05	3074	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:05	3074	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:05	3074	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:05	3074	[DEBUG]	Query for Product
2023-10-13	13:18:05	3074	[DEBUG]	Executed store
2023-10-13	13:18:05	3074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4376_65','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:05	3074	[DEBUG]	Check product language entry
2023-10-13	13:18:05	3074	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862566
2023-10-13	13:18:05	3074	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:05	3074	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4376_65' AND `virtuemart_product_id` != 1862566
2023-10-13	13:18:05	3074	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:05	3074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862566, 'A_4376_65')
2023-10-13	13:18:05	3074	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:05	3074	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-jaune' AND `virtuemart_product_id` != 1862566
2023-10-13	13:18:05	3074	[DEBUG]	Query for ProductLang
2023-10-13	13:18:05	3074	[DEBUG]	Executed store
2023-10-13	13:18:05	3074	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC315BK',`product_name`='MSC Porte-bidon MSC polycarbonate / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-jaune' WHERE `virtuemart_product_id` = '1862566'
2023-10-13	13:18:05	3074	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26995_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:05	3074	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:05	3074	[DEBUG]	Process image file
2023-10-13	13:18:05	3074	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:05	3074	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:05	3074	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26995_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:05	3074	[DEBUG]	Full name target: bcprisme/26995_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:06	3074	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:06	3074	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26995_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:18:06	3074	[DEBUG]	Query for Media
2023-10-13	13:18:06	3074	[DEBUG]	Executed store
2023-10-13	13:18:06	3074	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26995_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26995_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13062'
2023-10-13	13:18:06	3074	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:06	3074	[DEBUG]	Executed store
2023-10-13	13:18:06	3074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862566','13062','1')
2023-10-13	13:18:06	3074	[DEBUG]	Store product image relation
2023-10-13	13:18:06	3074	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:06	3074	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862566 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:06	3074	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:06	3074	[DEBUG]	Executed store
2023-10-13	13:18:06	3074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862566','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:06	3074	[DEBUG]	Checking manufacturer
2023-10-13	13:18:06	3074	[DEBUG]	Load a row
2023-10-13	13:18:06	3074	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:06	3074	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:06	3074	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:06	3074	[DEBUG]	Executed store
2023-10-13	13:18:06	3074	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:06	3074	[DEBUG]	Manufacturer exists
2023-10-13	13:18:06	3074	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:06	3074	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:06	3074	[DEBUG]	Executed store
2023-10-13	13:18:06	3074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862566','206')
2023-10-13	13:18:06	3074	[DEBUG]	Find the custom field ID
2023-10-13	13:18:06	3074	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:06	3074	[DEBUG]	No custom field ID found
2023-10-13	13:18:06	3074	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:06	3074	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:06	3074	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862566 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:06	3074	[DEBUG]	Store custom available field
2023-10-13	13:18:06	3074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862566,3,'8.87527777777778',1)
2023-10-13	13:18:06	3074	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:06	3074	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:06	3074	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862566 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:06	3074	[DEBUG]	Store custom available field
2023-10-13	13:18:06	3074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862566,6,'choisir la taille',3)
2023-10-13	13:18:06	3074	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:06	3074	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:06	3074	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:06	3074	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:06	3074	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862566 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:06	3074	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:06	3074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862566,8,1)
2023-10-13	13:18:06	3074	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:06	3074	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862566\":[1862566,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862566
2023-10-13	13:18:06	3074	[DEBUG]	Checking category
2023-10-13	13:18:06	3074	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:06	3074	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862566
2023-10-13	13:18:06	3074	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:06	3074	[DEBUG]	Executed store
2023-10-13	13:18:06	3074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862566','7366')
2023-10-13	13:18:06	3074	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:06	3074	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862566 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:06	3074	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:06	3074	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862566
2023-10-13	13:18:06	3075	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:06	3075	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:06	3075	[DEBUG]	Use field value for field taille
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:06	3075	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:06	3075	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:06	3075	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:06	3075	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:06	3075	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:06	3075	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:06	3075	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:06	3075	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:06	3075	[DEBUG]	Use field value for field published
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:06	3075	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field override
2023-10-13	13:18:06	3075	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:06	3075	[DEBUG]	Use field value for field slug
2023-10-13	13:18:06	3075	[DEBUG]	Process line 3075
2023-10-13	13:18:06	3075	[DEBUG]	Load a row
2023-10-13	13:18:06	3075	[DEBUG]	Processing item: 8435466297251
2023-10-13	13:18:06	3075	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:06	3075	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:06	3075	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4376_65'
2023-10-13	13:18:06	3075	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:06	3075	[DEBUG]	Processing product tax
2023-10-13	13:18:06	3075	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:06	3075	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:06	3075	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:06	3075	[DEBUG]	Query for Product
2023-10-13	13:18:06	3075	[DEBUG]	Executed store
2023-10-13	13:18:06	3075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862566','8435466297251','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:06	3075	[DEBUG]	No parent found
2023-10-13	13:18:06	3075	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862566 AND customfield_value = 'stockable'
2023-10-13	13:18:06	3075	[DEBUG]	Check product language entry
2023-10-13	13:18:06	3075	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862567
2023-10-13	13:18:06	3075	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:06	3075	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297251' AND `virtuemart_product_id` != 1862567
2023-10-13	13:18:06	3075	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:06	3075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862567, '8435466297251')
2023-10-13	13:18:06	3075	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:06	3075	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-jaune-unitaire' AND `virtuemart_product_id` != 1862567
2023-10-13	13:18:06	3075	[DEBUG]	Query for ProductLang
2023-10-13	13:18:06	3075	[DEBUG]	Executed store
2023-10-13	13:18:06	3075	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC polycarbonate / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-jaune-unitaire' WHERE `virtuemart_product_id` = '1862567'
2023-10-13	13:18:06	3075	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26995_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:06	3075	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:06	3075	[DEBUG]	Process image file
2023-10-13	13:18:06	3075	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:06	3075	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:06	3075	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26995_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:06	3075	[DEBUG]	Full name target: bcprisme/26995_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:07	3075	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:07	3075	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26995_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:18:07	3075	[DEBUG]	Query for Media
2023-10-13	13:18:07	3075	[DEBUG]	Executed store
2023-10-13	13:18:07	3075	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26995_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26995_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13062'
2023-10-13	13:18:07	3075	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:07	3075	[DEBUG]	Executed store
2023-10-13	13:18:07	3075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862567','13062','1')
2023-10-13	13:18:07	3075	[DEBUG]	Store product image relation
2023-10-13	13:18:07	3075	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:07	3075	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862567 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:07	3075	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:07	3075	[DEBUG]	Executed store
2023-10-13	13:18:07	3075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862567','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:07	3075	[DEBUG]	Checking manufacturer
2023-10-13	13:18:07	3075	[DEBUG]	Load a row
2023-10-13	13:18:07	3075	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:07	3075	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:07	3075	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:07	3075	[DEBUG]	Executed store
2023-10-13	13:18:07	3075	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:07	3075	[DEBUG]	Manufacturer exists
2023-10-13	13:18:07	3075	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:07	3075	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:07	3075	[DEBUG]	Executed store
2023-10-13	13:18:07	3075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862567','206')
2023-10-13	13:18:07	3075	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:07	3075	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:07	3075	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862567 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:07	3075	[DEBUG]	Store custom available field
2023-10-13	13:18:07	3075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862567,3,'',1)
2023-10-13	13:18:07	3075	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:07	3075	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:07	3075	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862567 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:07	3075	[DEBUG]	Store custom available field
2023-10-13	13:18:07	3075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862567,6,'Unitaire',3)
2023-10-13	13:18:07	3075	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:07	3075	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:07	3075	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862566
2023-10-13	13:18:07	3075	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:07	3075	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862566\":[1862566,8,1,\"choisir la taille\"],\"1862567\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862566
2023-10-13	13:18:07	3075	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:07	3075	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862567
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:07	3076	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field taille
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:07	3076	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:07	3076	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:07	3076	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:07	3076	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:07	3076	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:07	3076	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field published
2023-10-13	13:18:07	3076	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:07	3076	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field override
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:07	3076	[DEBUG]	Use field value for field slug
2023-10-13	13:18:07	3076	[DEBUG]	Process line 3076
2023-10-13	13:18:07	3076	[DEBUG]	Load a row
2023-10-13	13:18:07	3076	[DEBUG]	Processing item: A_4376_108
2023-10-13	13:18:07	3076	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:07	3076	[DEBUG]	Processing product tax
2023-10-13	13:18:07	3076	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:07	3076	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:07	3076	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:07	3076	[DEBUG]	Query for Product
2023-10-13	13:18:07	3076	[DEBUG]	Executed store
2023-10-13	13:18:07	3076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4376_108','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:07	3076	[DEBUG]	Check product language entry
2023-10-13	13:18:07	3076	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862568
2023-10-13	13:18:07	3076	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:07	3076	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4376_108' AND `virtuemart_product_id` != 1862568
2023-10-13	13:18:07	3076	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:07	3076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862568, 'A_4376_108')
2023-10-13	13:18:07	3076	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:07	3076	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-noir' AND `virtuemart_product_id` != 1862568
2023-10-13	13:18:07	3076	[DEBUG]	Query for ProductLang
2023-10-13	13:18:07	3076	[DEBUG]	Executed store
2023-10-13	13:18:07	3076	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC315BK',`product_name`='MSC Porte-bidon MSC polycarbonate / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-noir' WHERE `virtuemart_product_id` = '1862568'
2023-10-13	13:18:07	3076	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26991_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:07	3076	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:07	3076	[DEBUG]	Process image file
2023-10-13	13:18:07	3076	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:07	3076	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:07	3076	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26991_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:07	3076	[DEBUG]	Full name target: bcprisme/26991_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:08	3076	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:08	3076	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26991_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:18:08	3076	[DEBUG]	Query for Media
2023-10-13	13:18:08	3076	[DEBUG]	Executed store
2023-10-13	13:18:08	3076	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26991_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26991_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13063'
2023-10-13	13:18:08	3076	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:08	3076	[DEBUG]	Executed store
2023-10-13	13:18:08	3076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862568','13063','1')
2023-10-13	13:18:08	3076	[DEBUG]	Store product image relation
2023-10-13	13:18:08	3076	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:08	3076	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862568 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:08	3076	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:08	3076	[DEBUG]	Executed store
2023-10-13	13:18:08	3076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862568','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:08	3076	[DEBUG]	Checking manufacturer
2023-10-13	13:18:08	3076	[DEBUG]	Load a row
2023-10-13	13:18:08	3076	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:08	3076	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:08	3076	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:08	3076	[DEBUG]	Executed store
2023-10-13	13:18:08	3076	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:08	3076	[DEBUG]	Manufacturer exists
2023-10-13	13:18:08	3076	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:08	3076	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:08	3076	[DEBUG]	Executed store
2023-10-13	13:18:08	3076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862568','206')
2023-10-13	13:18:08	3076	[DEBUG]	Find the custom field ID
2023-10-13	13:18:08	3076	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:08	3076	[DEBUG]	No custom field ID found
2023-10-13	13:18:08	3076	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:08	3076	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:08	3076	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862568 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:08	3076	[DEBUG]	Store custom available field
2023-10-13	13:18:08	3076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862568,3,'8.87527777777778',1)
2023-10-13	13:18:08	3076	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:08	3076	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:08	3076	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862568 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:08	3076	[DEBUG]	Store custom available field
2023-10-13	13:18:08	3076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862568,6,'choisir la taille',3)
2023-10-13	13:18:08	3076	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:08	3076	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:08	3076	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:08	3076	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:08	3076	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862568 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:08	3076	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:08	3076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862568,8,1)
2023-10-13	13:18:08	3076	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:08	3076	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862568\":[1862568,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862568
2023-10-13	13:18:08	3076	[DEBUG]	Checking category
2023-10-13	13:18:08	3076	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:08	3076	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862568
2023-10-13	13:18:08	3076	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:08	3076	[DEBUG]	Executed store
2023-10-13	13:18:08	3076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862568','7366')
2023-10-13	13:18:08	3076	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:08	3076	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862568 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:08	3076	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:08	3076	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862568
2023-10-13	13:18:08	3077	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:08	3077	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:08	3077	[DEBUG]	Use field value for field taille
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:08	3077	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:08	3077	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:08	3077	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:08	3077	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:08	3077	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:08	3077	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:08	3077	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:08	3077	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:08	3077	[DEBUG]	Use field value for field published
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:08	3077	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field override
2023-10-13	13:18:08	3077	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:08	3077	[DEBUG]	Use field value for field slug
2023-10-13	13:18:08	3077	[DEBUG]	Process line 3077
2023-10-13	13:18:08	3077	[DEBUG]	Load a row
2023-10-13	13:18:08	3077	[DEBUG]	Processing item: 8435466297220
2023-10-13	13:18:08	3077	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:08	3077	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:08	3077	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4376_108'
2023-10-13	13:18:08	3077	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:08	3077	[DEBUG]	Processing product tax
2023-10-13	13:18:08	3077	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:08	3077	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:08	3077	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:08	3077	[DEBUG]	Query for Product
2023-10-13	13:18:08	3077	[DEBUG]	Executed store
2023-10-13	13:18:08	3077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862568','8435466297220','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:08	3077	[DEBUG]	No parent found
2023-10-13	13:18:08	3077	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862568 AND customfield_value = 'stockable'
2023-10-13	13:18:08	3077	[DEBUG]	Check product language entry
2023-10-13	13:18:08	3077	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862569
2023-10-13	13:18:08	3077	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:08	3077	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297220' AND `virtuemart_product_id` != 1862569
2023-10-13	13:18:08	3077	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:08	3077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862569, '8435466297220')
2023-10-13	13:18:08	3077	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:08	3077	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-noir-unitaire' AND `virtuemart_product_id` != 1862569
2023-10-13	13:18:08	3077	[DEBUG]	Query for ProductLang
2023-10-13	13:18:08	3077	[DEBUG]	Executed store
2023-10-13	13:18:08	3077	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC polycarbonate / Noir  (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-noir-unitaire' WHERE `virtuemart_product_id` = '1862569'
2023-10-13	13:18:08	3077	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26991_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:08	3077	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:08	3077	[DEBUG]	Process image file
2023-10-13	13:18:08	3077	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:08	3077	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:08	3077	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26991_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:08	3077	[DEBUG]	Full name target: bcprisme/26991_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:09	3077	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:09	3077	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26991_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:18:09	3077	[DEBUG]	Query for Media
2023-10-13	13:18:09	3077	[DEBUG]	Executed store
2023-10-13	13:18:09	3077	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26991_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26991_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13063'
2023-10-13	13:18:09	3077	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:09	3077	[DEBUG]	Executed store
2023-10-13	13:18:09	3077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862569','13063','1')
2023-10-13	13:18:09	3077	[DEBUG]	Store product image relation
2023-10-13	13:18:09	3077	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:09	3077	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862569 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:09	3077	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:09	3077	[DEBUG]	Executed store
2023-10-13	13:18:09	3077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862569','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:09	3077	[DEBUG]	Checking manufacturer
2023-10-13	13:18:09	3077	[DEBUG]	Load a row
2023-10-13	13:18:09	3077	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:09	3077	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:09	3077	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:09	3077	[DEBUG]	Executed store
2023-10-13	13:18:09	3077	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:09	3077	[DEBUG]	Manufacturer exists
2023-10-13	13:18:09	3077	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:09	3077	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:09	3077	[DEBUG]	Executed store
2023-10-13	13:18:09	3077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862569','206')
2023-10-13	13:18:09	3077	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:09	3077	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:09	3077	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862569 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:09	3077	[DEBUG]	Store custom available field
2023-10-13	13:18:09	3077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862569,3,'',1)
2023-10-13	13:18:09	3077	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:09	3077	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:09	3077	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862569 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:09	3077	[DEBUG]	Store custom available field
2023-10-13	13:18:09	3077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862569,6,'Unitaire',3)
2023-10-13	13:18:09	3077	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:09	3077	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:09	3077	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862568
2023-10-13	13:18:09	3077	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:09	3077	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862568\":[1862568,8,1,\"choisir la taille\"],\"1862569\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862568
2023-10-13	13:18:09	3077	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:09	3077	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862569
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:09	3078	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field taille
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:09	3078	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:09	3078	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:09	3078	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:09	3078	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:09	3078	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:09	3078	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field published
2023-10-13	13:18:09	3078	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:09	3078	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field override
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:09	3078	[DEBUG]	Use field value for field slug
2023-10-13	13:18:09	3078	[DEBUG]	Process line 3078
2023-10-13	13:18:09	3078	[DEBUG]	Load a row
2023-10-13	13:18:09	3078	[DEBUG]	Processing item: A_4376_170
2023-10-13	13:18:09	3078	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:09	3078	[DEBUG]	Processing product tax
2023-10-13	13:18:09	3078	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:09	3078	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:09	3078	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:09	3078	[DEBUG]	Query for Product
2023-10-13	13:18:09	3078	[DEBUG]	Executed store
2023-10-13	13:18:09	3078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4376_170','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:09	3078	[DEBUG]	Check product language entry
2023-10-13	13:18:09	3078	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862570
2023-10-13	13:18:09	3078	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:09	3078	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4376_170' AND `virtuemart_product_id` != 1862570
2023-10-13	13:18:09	3078	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:09	3078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862570, 'A_4376_170')
2023-10-13	13:18:09	3078	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:09	3078	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-fuchsia' AND `virtuemart_product_id` != 1862570
2023-10-13	13:18:09	3078	[DEBUG]	Query for ProductLang
2023-10-13	13:18:09	3078	[DEBUG]	Executed store
2023-10-13	13:18:09	3078	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC315BK',`product_name`='MSC Porte-bidon MSC polycarbonate / FUCHSIA',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-fuchsia' WHERE `virtuemart_product_id` = '1862570'
2023-10-13	13:18:09	3078	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26990_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:09	3078	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:09	3078	[DEBUG]	Process image file
2023-10-13	13:18:09	3078	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:09	3078	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:09	3078	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26990_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:09	3078	[DEBUG]	Full name target: bcprisme/26990_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:11	3078	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:11	3078	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26990_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:18:11	3078	[DEBUG]	Query for Media
2023-10-13	13:18:11	3078	[DEBUG]	Executed store
2023-10-13	13:18:11	3078	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26990_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26990_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13064'
2023-10-13	13:18:11	3078	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:11	3078	[DEBUG]	Executed store
2023-10-13	13:18:11	3078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862570','13064','1')
2023-10-13	13:18:11	3078	[DEBUG]	Store product image relation
2023-10-13	13:18:11	3078	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:11	3078	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862570 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:11	3078	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:11	3078	[DEBUG]	Executed store
2023-10-13	13:18:11	3078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862570','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:11	3078	[DEBUG]	Checking manufacturer
2023-10-13	13:18:11	3078	[DEBUG]	Load a row
2023-10-13	13:18:11	3078	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:11	3078	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:11	3078	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:11	3078	[DEBUG]	Executed store
2023-10-13	13:18:11	3078	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:11	3078	[DEBUG]	Manufacturer exists
2023-10-13	13:18:11	3078	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:11	3078	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:11	3078	[DEBUG]	Executed store
2023-10-13	13:18:11	3078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862570','206')
2023-10-13	13:18:11	3078	[DEBUG]	Find the custom field ID
2023-10-13	13:18:11	3078	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:11	3078	[DEBUG]	No custom field ID found
2023-10-13	13:18:11	3078	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:11	3078	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:11	3078	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862570 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:11	3078	[DEBUG]	Store custom available field
2023-10-13	13:18:11	3078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862570,3,'8.87527777777778',1)
2023-10-13	13:18:11	3078	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:11	3078	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:11	3078	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862570 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:11	3078	[DEBUG]	Store custom available field
2023-10-13	13:18:11	3078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862570,6,'choisir la taille',3)
2023-10-13	13:18:11	3078	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:11	3078	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:11	3078	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:11	3078	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:11	3078	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862570 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:11	3078	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:11	3078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862570,8,1)
2023-10-13	13:18:11	3078	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:11	3078	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862570\":[1862570,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862570
2023-10-13	13:18:11	3078	[DEBUG]	Checking category
2023-10-13	13:18:11	3078	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:11	3078	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862570
2023-10-13	13:18:11	3078	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:11	3078	[DEBUG]	Executed store
2023-10-13	13:18:11	3078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862570','7366')
2023-10-13	13:18:11	3078	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:11	3078	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862570 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:11	3078	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:11	3078	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862570
2023-10-13	13:18:11	3079	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:11	3079	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:11	3079	[DEBUG]	Use field value for field taille
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:11	3079	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:11	3079	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:11	3079	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:11	3079	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:11	3079	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:11	3079	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:11	3079	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:11	3079	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:11	3079	[DEBUG]	Use field value for field published
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:11	3079	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field override
2023-10-13	13:18:11	3079	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:11	3079	[DEBUG]	Use field value for field slug
2023-10-13	13:18:11	3079	[DEBUG]	Process line 3079
2023-10-13	13:18:11	3079	[DEBUG]	Load a row
2023-10-13	13:18:11	3079	[DEBUG]	Processing item: 8435466297282
2023-10-13	13:18:11	3079	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:11	3079	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:11	3079	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4376_170'
2023-10-13	13:18:11	3079	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:11	3079	[DEBUG]	Processing product tax
2023-10-13	13:18:11	3079	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:11	3079	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:11	3079	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:11	3079	[DEBUG]	Query for Product
2023-10-13	13:18:11	3079	[DEBUG]	Executed store
2023-10-13	13:18:11	3079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862570','8435466297282','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:11	3079	[DEBUG]	No parent found
2023-10-13	13:18:11	3079	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862570 AND customfield_value = 'stockable'
2023-10-13	13:18:11	3079	[DEBUG]	Check product language entry
2023-10-13	13:18:11	3079	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862571
2023-10-13	13:18:11	3079	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:11	3079	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297282' AND `virtuemart_product_id` != 1862571
2023-10-13	13:18:11	3079	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:11	3079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862571, '8435466297282')
2023-10-13	13:18:11	3079	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:11	3079	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polycarbonate-fuchsia-unitaire' AND `virtuemart_product_id` != 1862571
2023-10-13	13:18:11	3079	[DEBUG]	Query for ProductLang
2023-10-13	13:18:11	3079	[DEBUG]	Executed store
2023-10-13	13:18:11	3079	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC polycarbonate / FUCHSIA (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polycarbonate-fuchsia-unitaire' WHERE `virtuemart_product_id` = '1862571'
2023-10-13	13:18:11	3079	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26990_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:11	3079	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:11	3079	[DEBUG]	Process image file
2023-10-13	13:18:11	3079	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:11	3079	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:11	3079	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26990_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:11	3079	[DEBUG]	Full name target: bcprisme/26990_porte-bdon_msc_en_polycarbonate.jpg
2023-10-13	13:18:12	3079	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:12	3079	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26990_porte-bdon_msc_en_polycarbonate.jpg'
2023-10-13	13:18:12	3079	[DEBUG]	Query for Media
2023-10-13	13:18:12	3079	[DEBUG]	Executed store
2023-10-13	13:18:12	3079	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26990_porte-bdon_msc_en_polycarbonate.jpg',`file_url_thumb`='bcprisme/26990_porte-bdon_msc_en_polycarbonate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13064'
2023-10-13	13:18:12	3079	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:12	3079	[DEBUG]	Executed store
2023-10-13	13:18:12	3079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862571','13064','1')
2023-10-13	13:18:12	3079	[DEBUG]	Store product image relation
2023-10-13	13:18:12	3079	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:12	3079	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862571 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:12	3079	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:12	3079	[DEBUG]	Executed store
2023-10-13	13:18:12	3079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862571','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:12	3079	[DEBUG]	Checking manufacturer
2023-10-13	13:18:12	3079	[DEBUG]	Load a row
2023-10-13	13:18:12	3079	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:12	3079	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:12	3079	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:12	3079	[DEBUG]	Executed store
2023-10-13	13:18:12	3079	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:12	3079	[DEBUG]	Manufacturer exists
2023-10-13	13:18:12	3079	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:12	3079	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:12	3079	[DEBUG]	Executed store
2023-10-13	13:18:12	3079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862571','206')
2023-10-13	13:18:12	3079	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:12	3079	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:12	3079	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862571 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:12	3079	[DEBUG]	Store custom available field
2023-10-13	13:18:12	3079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862571,3,'',1)
2023-10-13	13:18:12	3079	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:12	3079	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:12	3079	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862571 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:12	3079	[DEBUG]	Store custom available field
2023-10-13	13:18:12	3079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862571,6,'Unitaire',3)
2023-10-13	13:18:12	3079	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:12	3079	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:12	3079	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862570
2023-10-13	13:18:12	3079	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:12	3079	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862570\":[1862570,8,1,\"choisir la taille\"],\"1862571\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862570
2023-10-13	13:18:12	3079	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:12	3079	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862571
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:12	3080	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field taille
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:12	3080	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:12	3080	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:12	3080	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:12	3080	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:12	3080	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:12	3080	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field published
2023-10-13	13:18:12	3080	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:12	3080	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field override
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:12	3080	[DEBUG]	Use field value for field slug
2023-10-13	13:18:12	3080	[DEBUG]	Process line 3080
2023-10-13	13:18:12	3080	[DEBUG]	Load a row
2023-10-13	13:18:12	3080	[DEBUG]	Processing item: A_5478_1
2023-10-13	13:18:12	3080	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:12	3080	[DEBUG]	Processing product tax
2023-10-13	13:18:12	3080	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:12	3080	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:12	3080	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:12	3080	[DEBUG]	Query for Product
2023-10-13	13:18:12	3080	[DEBUG]	Executed store
2023-10-13	13:18:12	3080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5478_1','0.0267','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:12	3080	[DEBUG]	Check product language entry
2023-10-13	13:18:12	3080	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862572
2023-10-13	13:18:12	3080	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:12	3080	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5478_1' AND `virtuemart_product_id` != 1862572
2023-10-13	13:18:12	3080	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:12	3080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862572, 'A_5478_1')
2023-10-13	13:18:12	3080	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:12	3080	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-noir' AND `virtuemart_product_id` != 1862572
2023-10-13	13:18:12	3080	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:18:12	3080	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-porte-bidon-msc-polyamide-noir', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-porte-bidon-msc-polyamide-noir' OR `slug` LIKE 'msc-porte-bidon-msc-polyamide-noir-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862572 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:18:12	3080	[DEBUG]	Query for ProductLang
2023-10-13	13:18:12	3080	[DEBUG]	Executed store
2023-10-13	13:18:12	3080	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon polyamide MSC, livré avec visserie<br>N° art fourn : STAR',`product_name`='MSC Porte bidon MSC polyamide  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-noir-1' WHERE `virtuemart_product_id` = '1862572'
2023-10-13	13:18:12	3080	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29972_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:12	3080	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:12	3080	[DEBUG]	Process image file
2023-10-13	13:18:12	3080	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:12	3080	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:12	3080	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29972_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:12	3080	[DEBUG]	Full name target: bcprisme/29972_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:13	3080	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:13	3080	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29972_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:13	3080	[DEBUG]	Query for Media
2023-10-13	13:18:13	3080	[DEBUG]	Executed store
2023-10-13	13:18:13	3080	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29972_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29972_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13065'
2023-10-13	13:18:13	3080	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:13	3080	[DEBUG]	Executed store
2023-10-13	13:18:13	3080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862572','13065','1')
2023-10-13	13:18:13	3080	[DEBUG]	Store product image relation
2023-10-13	13:18:13	3080	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:13	3080	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862572 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:13	3080	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:13	3080	[DEBUG]	Executed store
2023-10-13	13:18:13	3080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862572','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:13	3080	[DEBUG]	Checking manufacturer
2023-10-13	13:18:13	3080	[DEBUG]	Load a row
2023-10-13	13:18:13	3080	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:13	3080	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:13	3080	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:13	3080	[DEBUG]	Executed store
2023-10-13	13:18:13	3080	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:13	3080	[DEBUG]	Manufacturer exists
2023-10-13	13:18:13	3080	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:13	3080	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:13	3080	[DEBUG]	Executed store
2023-10-13	13:18:13	3080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862572','206')
2023-10-13	13:18:13	3080	[DEBUG]	Find the custom field ID
2023-10-13	13:18:13	3080	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:13	3080	[DEBUG]	No custom field ID found
2023-10-13	13:18:13	3080	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:13	3080	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:13	3080	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862572 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:13	3080	[DEBUG]	Store custom available field
2023-10-13	13:18:13	3080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862572,3,'8.87527777777778',1)
2023-10-13	13:18:13	3080	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:13	3080	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:13	3080	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862572 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:13	3080	[DEBUG]	Store custom available field
2023-10-13	13:18:13	3080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862572,6,'choisir la taille',3)
2023-10-13	13:18:13	3080	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:13	3080	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:13	3080	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:13	3080	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:13	3080	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862572 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:13	3080	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:13	3080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862572,8,1)
2023-10-13	13:18:13	3080	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:13	3080	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862572\":[1862572,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862572
2023-10-13	13:18:13	3080	[DEBUG]	Checking category
2023-10-13	13:18:13	3080	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:13	3080	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862572
2023-10-13	13:18:13	3080	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:13	3080	[DEBUG]	Executed store
2023-10-13	13:18:13	3080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862572','7366')
2023-10-13	13:18:13	3080	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:13	3080	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862572 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:13	3080	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:13	3080	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862572
2023-10-13	13:18:13	3081	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:13	3081	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:13	3081	[DEBUG]	Use field value for field taille
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:13	3081	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:13	3081	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:13	3081	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:13	3081	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:13	3081	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:13	3081	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:13	3081	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:13	3081	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:13	3081	[DEBUG]	Use field value for field published
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:13	3081	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field override
2023-10-13	13:18:13	3081	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:13	3081	[DEBUG]	Use field value for field slug
2023-10-13	13:18:13	3081	[DEBUG]	Process line 3081
2023-10-13	13:18:13	3081	[DEBUG]	Load a row
2023-10-13	13:18:13	3081	[DEBUG]	Processing item: 8435466214500
2023-10-13	13:18:13	3081	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:13	3081	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:13	3081	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5478_1'
2023-10-13	13:18:13	3081	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:13	3081	[DEBUG]	Processing product tax
2023-10-13	13:18:13	3081	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:13	3081	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:13	3081	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:13	3081	[DEBUG]	Query for Product
2023-10-13	13:18:13	3081	[DEBUG]	Executed store
2023-10-13	13:18:13	3081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862572','8435466214500','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:13	3081	[DEBUG]	No parent found
2023-10-13	13:18:13	3081	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862572 AND customfield_value = 'stockable'
2023-10-13	13:18:13	3081	[DEBUG]	Check product language entry
2023-10-13	13:18:13	3081	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862573
2023-10-13	13:18:13	3081	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:13	3081	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214500' AND `virtuemart_product_id` != 1862573
2023-10-13	13:18:13	3081	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:13	3081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862573, '8435466214500')
2023-10-13	13:18:13	3081	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:13	3081	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-noir-unitaire' AND `virtuemart_product_id` != 1862573
2023-10-13	13:18:13	3081	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:18:13	3081	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-porte-bidon-msc-polyamide-noir-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-porte-bidon-msc-polyamide-noir-unitaire' OR `slug` LIKE 'msc-porte-bidon-msc-polyamide-noir-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862573 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:18:13	3081	[DEBUG]	Query for ProductLang
2023-10-13	13:18:13	3081	[DEBUG]	Executed store
2023-10-13	13:18:13	3081	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte bidon MSC polyamide  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-noir-unitaire-1' WHERE `virtuemart_product_id` = '1862573'
2023-10-13	13:18:13	3081	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29972_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:13	3081	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:13	3081	[DEBUG]	Process image file
2023-10-13	13:18:13	3081	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:13	3081	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:13	3081	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29972_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:13	3081	[DEBUG]	Full name target: bcprisme/29972_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:14	3081	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:14	3081	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29972_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:14	3081	[DEBUG]	Query for Media
2023-10-13	13:18:14	3081	[DEBUG]	Executed store
2023-10-13	13:18:14	3081	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29972_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29972_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13065'
2023-10-13	13:18:14	3081	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:14	3081	[DEBUG]	Executed store
2023-10-13	13:18:14	3081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862573','13065','1')
2023-10-13	13:18:14	3081	[DEBUG]	Store product image relation
2023-10-13	13:18:14	3081	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:14	3081	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862573 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:14	3081	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:14	3081	[DEBUG]	Executed store
2023-10-13	13:18:14	3081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862573','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:14	3081	[DEBUG]	Checking manufacturer
2023-10-13	13:18:14	3081	[DEBUG]	Load a row
2023-10-13	13:18:14	3081	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:14	3081	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:14	3081	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:14	3081	[DEBUG]	Executed store
2023-10-13	13:18:14	3081	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:14	3081	[DEBUG]	Manufacturer exists
2023-10-13	13:18:14	3081	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:14	3081	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:14	3081	[DEBUG]	Executed store
2023-10-13	13:18:14	3081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862573','206')
2023-10-13	13:18:14	3081	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:14	3081	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:14	3081	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862573 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:14	3081	[DEBUG]	Store custom available field
2023-10-13	13:18:14	3081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862573,3,'',1)
2023-10-13	13:18:14	3081	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:14	3081	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:14	3081	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862573 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:14	3081	[DEBUG]	Store custom available field
2023-10-13	13:18:14	3081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862573,6,'Unitaire',3)
2023-10-13	13:18:14	3081	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:14	3081	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:14	3081	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862572
2023-10-13	13:18:14	3081	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:14	3081	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862572\":[1862572,8,1,\"choisir la taille\"],\"1862573\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862572
2023-10-13	13:18:14	3081	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:14	3081	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862573
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:14	3082	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field taille
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:14	3082	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:14	3082	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:14	3082	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:14	3082	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:14	3082	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:14	3082	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field published
2023-10-13	13:18:14	3082	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:14	3082	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field override
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:14	3082	[DEBUG]	Use field value for field slug
2023-10-13	13:18:14	3082	[DEBUG]	Process line 3082
2023-10-13	13:18:14	3082	[DEBUG]	Load a row
2023-10-13	13:18:14	3082	[DEBUG]	Processing item: A_5478_7
2023-10-13	13:18:14	3082	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:14	3082	[DEBUG]	Processing product tax
2023-10-13	13:18:14	3082	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:14	3082	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:14	3082	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:14	3082	[DEBUG]	Query for Product
2023-10-13	13:18:14	3082	[DEBUG]	Executed store
2023-10-13	13:18:14	3082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5478_7','0.0267','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:14	3082	[DEBUG]	Check product language entry
2023-10-13	13:18:14	3082	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862574
2023-10-13	13:18:14	3082	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:14	3082	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5478_7' AND `virtuemart_product_id` != 1862574
2023-10-13	13:18:14	3082	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:14	3082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862574, 'A_5478_7')
2023-10-13	13:18:14	3082	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:14	3082	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-rouge' AND `virtuemart_product_id` != 1862574
2023-10-13	13:18:14	3082	[DEBUG]	Query for ProductLang
2023-10-13	13:18:14	3082	[DEBUG]	Executed store
2023-10-13	13:18:14	3082	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon polyamide MSC, livré avec visserie<br>N° art fourn : STAR',`product_name`='MSC Porte bidon MSC polyamide  / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-rouge' WHERE `virtuemart_product_id` = '1862574'
2023-10-13	13:18:14	3082	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29967_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:14	3082	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:14	3082	[DEBUG]	Process image file
2023-10-13	13:18:14	3082	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:14	3082	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:14	3082	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29967_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:14	3082	[DEBUG]	Full name target: bcprisme/29967_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:15	3082	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:15	3082	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29967_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:15	3082	[DEBUG]	Query for Media
2023-10-13	13:18:15	3082	[DEBUG]	Executed store
2023-10-13	13:18:15	3082	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29967_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29967_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13066'
2023-10-13	13:18:15	3082	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:15	3082	[DEBUG]	Executed store
2023-10-13	13:18:15	3082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862574','13066','1')
2023-10-13	13:18:15	3082	[DEBUG]	Store product image relation
2023-10-13	13:18:15	3082	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:15	3082	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862574 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:15	3082	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:15	3082	[DEBUG]	Executed store
2023-10-13	13:18:15	3082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862574','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:15	3082	[DEBUG]	Checking manufacturer
2023-10-13	13:18:15	3082	[DEBUG]	Load a row
2023-10-13	13:18:15	3082	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:15	3082	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:15	3082	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:15	3082	[DEBUG]	Executed store
2023-10-13	13:18:15	3082	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:15	3082	[DEBUG]	Manufacturer exists
2023-10-13	13:18:15	3082	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:15	3082	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:15	3082	[DEBUG]	Executed store
2023-10-13	13:18:15	3082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862574','206')
2023-10-13	13:18:15	3082	[DEBUG]	Find the custom field ID
2023-10-13	13:18:15	3082	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:15	3082	[DEBUG]	No custom field ID found
2023-10-13	13:18:15	3082	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:15	3082	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:15	3082	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862574 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:15	3082	[DEBUG]	Store custom available field
2023-10-13	13:18:15	3082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862574,3,'8.87527777777778',1)
2023-10-13	13:18:15	3082	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:15	3082	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:15	3082	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862574 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:15	3082	[DEBUG]	Store custom available field
2023-10-13	13:18:15	3082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862574,6,'choisir la taille',3)
2023-10-13	13:18:15	3082	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:15	3082	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:15	3082	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:15	3082	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:15	3082	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862574 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:15	3082	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:15	3082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862574,8,1)
2023-10-13	13:18:15	3082	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:15	3082	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862574\":[1862574,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862574
2023-10-13	13:18:15	3082	[DEBUG]	Checking category
2023-10-13	13:18:15	3082	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:15	3082	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862574
2023-10-13	13:18:15	3082	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:15	3082	[DEBUG]	Executed store
2023-10-13	13:18:15	3082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862574','7366')
2023-10-13	13:18:15	3082	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:15	3082	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862574 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:15	3082	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:15	3082	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862574
2023-10-13	13:18:15	3083	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:15	3083	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:15	3083	[DEBUG]	Use field value for field taille
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:15	3083	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:15	3083	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:15	3083	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:15	3083	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:15	3083	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:15	3083	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:15	3083	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:15	3083	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:15	3083	[DEBUG]	Use field value for field published
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:15	3083	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field override
2023-10-13	13:18:15	3083	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:15	3083	[DEBUG]	Use field value for field slug
2023-10-13	13:18:15	3083	[DEBUG]	Process line 3083
2023-10-13	13:18:15	3083	[DEBUG]	Load a row
2023-10-13	13:18:15	3083	[DEBUG]	Processing item: 8435466214524
2023-10-13	13:18:15	3083	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:15	3083	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:15	3083	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5478_7'
2023-10-13	13:18:15	3083	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:15	3083	[DEBUG]	Processing product tax
2023-10-13	13:18:15	3083	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:15	3083	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:15	3083	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:15	3083	[DEBUG]	Query for Product
2023-10-13	13:18:15	3083	[DEBUG]	Executed store
2023-10-13	13:18:15	3083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862574','8435466214524','0','KG','M','','13','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:15	3083	[DEBUG]	No parent found
2023-10-13	13:18:15	3083	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862574 AND customfield_value = 'stockable'
2023-10-13	13:18:15	3083	[DEBUG]	Check product language entry
2023-10-13	13:18:15	3083	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862575
2023-10-13	13:18:15	3083	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:15	3083	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214524' AND `virtuemart_product_id` != 1862575
2023-10-13	13:18:15	3083	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:15	3083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862575, '8435466214524')
2023-10-13	13:18:15	3083	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:15	3083	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-rouge-unitaire' AND `virtuemart_product_id` != 1862575
2023-10-13	13:18:15	3083	[DEBUG]	Query for ProductLang
2023-10-13	13:18:15	3083	[DEBUG]	Executed store
2023-10-13	13:18:15	3083	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte bidon MSC polyamide  / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-rouge-unitaire' WHERE `virtuemart_product_id` = '1862575'
2023-10-13	13:18:15	3083	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29967_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:15	3083	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:15	3083	[DEBUG]	Process image file
2023-10-13	13:18:15	3083	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:15	3083	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:15	3083	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29967_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:15	3083	[DEBUG]	Full name target: bcprisme/29967_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:16	3083	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:16	3083	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29967_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:16	3083	[DEBUG]	Query for Media
2023-10-13	13:18:16	3083	[DEBUG]	Executed store
2023-10-13	13:18:16	3083	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29967_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29967_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13066'
2023-10-13	13:18:16	3083	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:16	3083	[DEBUG]	Executed store
2023-10-13	13:18:16	3083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862575','13066','1')
2023-10-13	13:18:16	3083	[DEBUG]	Store product image relation
2023-10-13	13:18:16	3083	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:16	3083	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862575 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:16	3083	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:16	3083	[DEBUG]	Executed store
2023-10-13	13:18:16	3083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862575','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:16	3083	[DEBUG]	Checking manufacturer
2023-10-13	13:18:16	3083	[DEBUG]	Load a row
2023-10-13	13:18:16	3083	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:16	3083	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:16	3083	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:16	3083	[DEBUG]	Executed store
2023-10-13	13:18:16	3083	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:16	3083	[DEBUG]	Manufacturer exists
2023-10-13	13:18:16	3083	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:16	3083	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:16	3083	[DEBUG]	Executed store
2023-10-13	13:18:16	3083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862575','206')
2023-10-13	13:18:16	3083	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:16	3083	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:16	3083	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862575 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:16	3083	[DEBUG]	Store custom available field
2023-10-13	13:18:16	3083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862575,3,'',1)
2023-10-13	13:18:16	3083	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:16	3083	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:16	3083	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862575 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:16	3083	[DEBUG]	Store custom available field
2023-10-13	13:18:16	3083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862575,6,'Unitaire',3)
2023-10-13	13:18:16	3083	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:16	3083	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:16	3083	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862574
2023-10-13	13:18:16	3083	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:16	3083	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862574\":[1862574,8,1,\"choisir la taille\"],\"1862575\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862574
2023-10-13	13:18:16	3083	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:16	3083	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862575
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:16	3084	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field taille
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:16	3084	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:16	3084	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:16	3084	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:16	3084	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:16	3084	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:16	3084	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field published
2023-10-13	13:18:16	3084	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:16	3084	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field override
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:16	3084	[DEBUG]	Use field value for field slug
2023-10-13	13:18:16	3084	[DEBUG]	Process line 3084
2023-10-13	13:18:16	3084	[DEBUG]	Load a row
2023-10-13	13:18:16	3084	[DEBUG]	Processing item: A_5478_12
2023-10-13	13:18:16	3084	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:16	3084	[DEBUG]	Processing product tax
2023-10-13	13:18:16	3084	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:16	3084	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:16	3084	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:16	3084	[DEBUG]	Query for Product
2023-10-13	13:18:16	3084	[DEBUG]	Executed store
2023-10-13	13:18:16	3084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5478_12','0.0267','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:16	3084	[DEBUG]	Check product language entry
2023-10-13	13:18:16	3084	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862576
2023-10-13	13:18:16	3084	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:16	3084	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5478_12' AND `virtuemart_product_id` != 1862576
2023-10-13	13:18:16	3084	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:16	3084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862576, 'A_5478_12')
2023-10-13	13:18:16	3084	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:16	3084	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-blanc' AND `virtuemart_product_id` != 1862576
2023-10-13	13:18:16	3084	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:18:16	3084	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-porte-bidon-msc-polyamide-blanc', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-porte-bidon-msc-polyamide-blanc' OR `slug` LIKE 'msc-porte-bidon-msc-polyamide-blanc-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862576 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:18:16	3084	[DEBUG]	Query for ProductLang
2023-10-13	13:18:16	3084	[DEBUG]	Executed store
2023-10-13	13:18:16	3084	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon polyamide MSC, livré avec visserie<br>N° art fourn : STAR',`product_name`='MSC Porte bidon MSC polyamide  / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-blanc-1' WHERE `virtuemart_product_id` = '1862576'
2023-10-13	13:18:16	3084	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29973_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:16	3084	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:16	3084	[DEBUG]	Process image file
2023-10-13	13:18:16	3084	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:16	3084	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:16	3084	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29973_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:16	3084	[DEBUG]	Full name target: bcprisme/29973_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:17	3084	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:17	3084	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29973_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:17	3084	[DEBUG]	Query for Media
2023-10-13	13:18:17	3084	[DEBUG]	Executed store
2023-10-13	13:18:17	3084	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29973_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29973_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13067'
2023-10-13	13:18:17	3084	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:17	3084	[DEBUG]	Executed store
2023-10-13	13:18:17	3084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862576','13067','1')
2023-10-13	13:18:17	3084	[DEBUG]	Store product image relation
2023-10-13	13:18:17	3084	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:17	3084	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862576 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:17	3084	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:17	3084	[DEBUG]	Executed store
2023-10-13	13:18:17	3084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862576','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:17	3084	[DEBUG]	Checking manufacturer
2023-10-13	13:18:17	3084	[DEBUG]	Load a row
2023-10-13	13:18:17	3084	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:17	3084	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:17	3084	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:17	3084	[DEBUG]	Executed store
2023-10-13	13:18:17	3084	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:17	3084	[DEBUG]	Manufacturer exists
2023-10-13	13:18:17	3084	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:17	3084	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:17	3084	[DEBUG]	Executed store
2023-10-13	13:18:17	3084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862576','206')
2023-10-13	13:18:17	3084	[DEBUG]	Find the custom field ID
2023-10-13	13:18:17	3084	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:17	3084	[DEBUG]	No custom field ID found
2023-10-13	13:18:17	3084	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:17	3084	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:17	3084	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862576 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:17	3084	[DEBUG]	Store custom available field
2023-10-13	13:18:17	3084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862576,3,'8.87527777777778',1)
2023-10-13	13:18:17	3084	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:17	3084	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:17	3084	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862576 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:17	3084	[DEBUG]	Store custom available field
2023-10-13	13:18:17	3084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862576,6,'choisir la taille',3)
2023-10-13	13:18:17	3084	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:17	3084	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:17	3084	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:17	3084	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:17	3084	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862576 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:17	3084	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:17	3084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862576,8,1)
2023-10-13	13:18:17	3084	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:17	3084	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862576\":[1862576,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862576
2023-10-13	13:18:17	3084	[DEBUG]	Checking category
2023-10-13	13:18:17	3084	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:17	3084	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862576
2023-10-13	13:18:17	3084	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:17	3084	[DEBUG]	Executed store
2023-10-13	13:18:17	3084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862576','7366')
2023-10-13	13:18:17	3084	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:17	3084	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862576 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:17	3084	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:17	3084	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862576
2023-10-13	13:18:17	3085	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:17	3085	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:17	3085	[DEBUG]	Use field value for field taille
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:17	3085	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:17	3085	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:17	3085	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:17	3085	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:17	3085	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:17	3085	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:17	3085	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:17	3085	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:17	3085	[DEBUG]	Use field value for field published
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:17	3085	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field override
2023-10-13	13:18:17	3085	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:17	3085	[DEBUG]	Use field value for field slug
2023-10-13	13:18:17	3085	[DEBUG]	Process line 3085
2023-10-13	13:18:17	3085	[DEBUG]	Load a row
2023-10-13	13:18:17	3085	[DEBUG]	Processing item: 8435466214531
2023-10-13	13:18:17	3085	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:17	3085	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:17	3085	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5478_12'
2023-10-13	13:18:17	3085	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:17	3085	[DEBUG]	Processing product tax
2023-10-13	13:18:17	3085	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:17	3085	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:17	3085	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:17	3085	[DEBUG]	Query for Product
2023-10-13	13:18:17	3085	[DEBUG]	Executed store
2023-10-13	13:18:17	3085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862576','8435466214531','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:17	3085	[DEBUG]	No parent found
2023-10-13	13:18:17	3085	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862576 AND customfield_value = 'stockable'
2023-10-13	13:18:17	3085	[DEBUG]	Check product language entry
2023-10-13	13:18:17	3085	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862577
2023-10-13	13:18:17	3085	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:17	3085	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214531' AND `virtuemart_product_id` != 1862577
2023-10-13	13:18:17	3085	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:17	3085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862577, '8435466214531')
2023-10-13	13:18:17	3085	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:17	3085	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-blanc-unitaire' AND `virtuemart_product_id` != 1862577
2023-10-13	13:18:17	3085	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:18:17	3085	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-porte-bidon-msc-polyamide-blanc-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-porte-bidon-msc-polyamide-blanc-unitaire' OR `slug` LIKE 'msc-porte-bidon-msc-polyamide-blanc-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862577 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:18:17	3085	[DEBUG]	Query for ProductLang
2023-10-13	13:18:17	3085	[DEBUG]	Executed store
2023-10-13	13:18:17	3085	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte bidon MSC polyamide  / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-blanc-unitaire-1' WHERE `virtuemart_product_id` = '1862577'
2023-10-13	13:18:17	3085	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29973_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:17	3085	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:17	3085	[DEBUG]	Process image file
2023-10-13	13:18:17	3085	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:17	3085	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:17	3085	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29973_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:17	3085	[DEBUG]	Full name target: bcprisme/29973_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:18	3085	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:18	3085	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29973_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:18	3085	[DEBUG]	Query for Media
2023-10-13	13:18:18	3085	[DEBUG]	Executed store
2023-10-13	13:18:18	3085	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29973_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29973_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13067'
2023-10-13	13:18:18	3085	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:18	3085	[DEBUG]	Executed store
2023-10-13	13:18:18	3085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862577','13067','1')
2023-10-13	13:18:18	3085	[DEBUG]	Store product image relation
2023-10-13	13:18:18	3085	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:18	3085	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862577 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:18	3085	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:18	3085	[DEBUG]	Executed store
2023-10-13	13:18:18	3085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862577','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:18	3085	[DEBUG]	Checking manufacturer
2023-10-13	13:18:18	3085	[DEBUG]	Load a row
2023-10-13	13:18:18	3085	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:18	3085	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:18	3085	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:18	3085	[DEBUG]	Executed store
2023-10-13	13:18:18	3085	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:18	3085	[DEBUG]	Manufacturer exists
2023-10-13	13:18:18	3085	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:18	3085	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:18	3085	[DEBUG]	Executed store
2023-10-13	13:18:18	3085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862577','206')
2023-10-13	13:18:18	3085	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:18	3085	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:18	3085	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862577 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:18	3085	[DEBUG]	Store custom available field
2023-10-13	13:18:18	3085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862577,3,'',1)
2023-10-13	13:18:18	3085	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:18	3085	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:18	3085	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862577 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:18	3085	[DEBUG]	Store custom available field
2023-10-13	13:18:18	3085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862577,6,'Unitaire',3)
2023-10-13	13:18:18	3085	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:18	3085	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:18	3085	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862576
2023-10-13	13:18:18	3085	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:18	3085	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862576\":[1862576,8,1,\"choisir la taille\"],\"1862577\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862576
2023-10-13	13:18:18	3085	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:18	3085	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862577
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:18	3086	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field taille
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:18	3086	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:18	3086	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:18	3086	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:18	3086	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:18	3086	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:18	3086	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field published
2023-10-13	13:18:18	3086	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:18	3086	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field override
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:18	3086	[DEBUG]	Use field value for field slug
2023-10-13	13:18:18	3086	[DEBUG]	Process line 3086
2023-10-13	13:18:18	3086	[DEBUG]	Load a row
2023-10-13	13:18:18	3086	[DEBUG]	Processing item: A_5478_22
2023-10-13	13:18:18	3086	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:18	3086	[DEBUG]	Processing product tax
2023-10-13	13:18:18	3086	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:18	3086	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:18	3086	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:18	3086	[DEBUG]	Query for Product
2023-10-13	13:18:18	3086	[DEBUG]	Executed store
2023-10-13	13:18:18	3086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5478_22','0.0267','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:18	3086	[DEBUG]	Check product language entry
2023-10-13	13:18:18	3086	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862578
2023-10-13	13:18:18	3086	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:18	3086	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5478_22' AND `virtuemart_product_id` != 1862578
2023-10-13	13:18:18	3086	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:18	3086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862578, 'A_5478_22')
2023-10-13	13:18:18	3086	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:18	3086	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-bleu' AND `virtuemart_product_id` != 1862578
2023-10-13	13:18:18	3086	[DEBUG]	Query for ProductLang
2023-10-13	13:18:18	3086	[DEBUG]	Executed store
2023-10-13	13:18:18	3086	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon polyamide MSC, livré avec visserie<br>N° art fourn : STAR',`product_name`='MSC Porte bidon MSC polyamide  / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-bleu' WHERE `virtuemart_product_id` = '1862578'
2023-10-13	13:18:18	3086	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29968_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:18	3086	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:18	3086	[DEBUG]	Process image file
2023-10-13	13:18:18	3086	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:18	3086	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:18	3086	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29968_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:18	3086	[DEBUG]	Full name target: bcprisme/29968_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:19	3086	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:19	3086	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29968_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:19	3086	[DEBUG]	Query for Media
2023-10-13	13:18:19	3086	[DEBUG]	Executed store
2023-10-13	13:18:19	3086	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29968_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29968_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13068'
2023-10-13	13:18:19	3086	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:19	3086	[DEBUG]	Executed store
2023-10-13	13:18:19	3086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862578','13068','1')
2023-10-13	13:18:19	3086	[DEBUG]	Store product image relation
2023-10-13	13:18:19	3086	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:19	3086	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862578 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:19	3086	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:19	3086	[DEBUG]	Executed store
2023-10-13	13:18:19	3086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862578','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:19	3086	[DEBUG]	Checking manufacturer
2023-10-13	13:18:19	3086	[DEBUG]	Load a row
2023-10-13	13:18:19	3086	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:19	3086	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:19	3086	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:19	3086	[DEBUG]	Executed store
2023-10-13	13:18:19	3086	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:19	3086	[DEBUG]	Manufacturer exists
2023-10-13	13:18:19	3086	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:19	3086	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:19	3086	[DEBUG]	Executed store
2023-10-13	13:18:19	3086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862578','206')
2023-10-13	13:18:19	3086	[DEBUG]	Find the custom field ID
2023-10-13	13:18:19	3086	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:19	3086	[DEBUG]	No custom field ID found
2023-10-13	13:18:19	3086	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:19	3086	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:19	3086	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862578 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:19	3086	[DEBUG]	Store custom available field
2023-10-13	13:18:19	3086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862578,3,'8.87527777777778',1)
2023-10-13	13:18:19	3086	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:19	3086	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:19	3086	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862578 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:19	3086	[DEBUG]	Store custom available field
2023-10-13	13:18:19	3086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862578,6,'choisir la taille',3)
2023-10-13	13:18:19	3086	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:19	3086	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:19	3086	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:19	3086	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:19	3086	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862578 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:19	3086	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:19	3086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862578,8,1)
2023-10-13	13:18:19	3086	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:19	3086	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862578\":[1862578,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862578
2023-10-13	13:18:19	3086	[DEBUG]	Checking category
2023-10-13	13:18:19	3086	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:19	3086	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862578
2023-10-13	13:18:19	3086	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:19	3086	[DEBUG]	Executed store
2023-10-13	13:18:19	3086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862578','7366')
2023-10-13	13:18:19	3086	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:19	3086	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862578 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:19	3086	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:19	3086	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862578
2023-10-13	13:18:19	3087	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:19	3087	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:19	3087	[DEBUG]	Use field value for field taille
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:19	3087	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:19	3087	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:19	3087	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:19	3087	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:19	3087	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:19	3087	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:19	3087	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:19	3087	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:19	3087	[DEBUG]	Use field value for field published
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:19	3087	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field override
2023-10-13	13:18:19	3087	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:19	3087	[DEBUG]	Use field value for field slug
2023-10-13	13:18:19	3087	[DEBUG]	Process line 3087
2023-10-13	13:18:19	3087	[DEBUG]	Load a row
2023-10-13	13:18:19	3087	[DEBUG]	Processing item: 8435466214517
2023-10-13	13:18:19	3087	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:19	3087	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:19	3087	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5478_22'
2023-10-13	13:18:19	3087	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:19	3087	[DEBUG]	Processing product tax
2023-10-13	13:18:19	3087	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:19	3087	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:19	3087	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:19	3087	[DEBUG]	Query for Product
2023-10-13	13:18:19	3087	[DEBUG]	Executed store
2023-10-13	13:18:19	3087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862578','8435466214517','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:19	3087	[DEBUG]	No parent found
2023-10-13	13:18:19	3087	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862578 AND customfield_value = 'stockable'
2023-10-13	13:18:19	3087	[DEBUG]	Check product language entry
2023-10-13	13:18:19	3087	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862579
2023-10-13	13:18:19	3087	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:19	3087	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214517' AND `virtuemart_product_id` != 1862579
2023-10-13	13:18:19	3087	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:19	3087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862579, '8435466214517')
2023-10-13	13:18:19	3087	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:19	3087	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-bleu-unitaire' AND `virtuemart_product_id` != 1862579
2023-10-13	13:18:19	3087	[DEBUG]	Query for ProductLang
2023-10-13	13:18:19	3087	[DEBUG]	Executed store
2023-10-13	13:18:19	3087	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte bidon MSC polyamide  / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-bleu-unitaire' WHERE `virtuemart_product_id` = '1862579'
2023-10-13	13:18:19	3087	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29968_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:19	3087	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:19	3087	[DEBUG]	Process image file
2023-10-13	13:18:19	3087	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:19	3087	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:19	3087	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29968_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:19	3087	[DEBUG]	Full name target: bcprisme/29968_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:20	3087	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:20	3087	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29968_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:20	3087	[DEBUG]	Query for Media
2023-10-13	13:18:20	3087	[DEBUG]	Executed store
2023-10-13	13:18:20	3087	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29968_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29968_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13068'
2023-10-13	13:18:20	3087	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:20	3087	[DEBUG]	Executed store
2023-10-13	13:18:20	3087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862579','13068','1')
2023-10-13	13:18:20	3087	[DEBUG]	Store product image relation
2023-10-13	13:18:20	3087	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:20	3087	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862579 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:20	3087	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:20	3087	[DEBUG]	Executed store
2023-10-13	13:18:20	3087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862579','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:20	3087	[DEBUG]	Checking manufacturer
2023-10-13	13:18:20	3087	[DEBUG]	Load a row
2023-10-13	13:18:20	3087	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:20	3087	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:20	3087	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:20	3087	[DEBUG]	Executed store
2023-10-13	13:18:20	3087	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:20	3087	[DEBUG]	Manufacturer exists
2023-10-13	13:18:20	3087	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:20	3087	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:20	3087	[DEBUG]	Executed store
2023-10-13	13:18:20	3087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862579','206')
2023-10-13	13:18:20	3087	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:20	3087	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:20	3087	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862579 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:20	3087	[DEBUG]	Store custom available field
2023-10-13	13:18:20	3087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862579,3,'',1)
2023-10-13	13:18:20	3087	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:20	3087	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:20	3087	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862579 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:20	3087	[DEBUG]	Store custom available field
2023-10-13	13:18:20	3087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862579,6,'Unitaire',3)
2023-10-13	13:18:20	3087	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:20	3087	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:20	3087	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862578
2023-10-13	13:18:20	3087	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:20	3087	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862578\":[1862578,8,1,\"choisir la taille\"],\"1862579\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862578
2023-10-13	13:18:20	3087	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:20	3087	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862579
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:20	3088	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field taille
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:20	3088	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:20	3088	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:20	3088	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:20	3088	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:20	3088	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:20	3088	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field published
2023-10-13	13:18:20	3088	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:20	3088	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field override
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:20	3088	[DEBUG]	Use field value for field slug
2023-10-13	13:18:20	3088	[DEBUG]	Process line 3088
2023-10-13	13:18:20	3088	[DEBUG]	Load a row
2023-10-13	13:18:20	3088	[DEBUG]	Processing item: A_5478_27
2023-10-13	13:18:20	3088	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:20	3088	[DEBUG]	Processing product tax
2023-10-13	13:18:20	3088	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:20	3088	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:20	3088	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:20	3088	[DEBUG]	Query for Product
2023-10-13	13:18:20	3088	[DEBUG]	Executed store
2023-10-13	13:18:20	3088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5478_27','0.0267','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:20	3088	[DEBUG]	Check product language entry
2023-10-13	13:18:20	3088	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862580
2023-10-13	13:18:20	3088	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:20	3088	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5478_27' AND `virtuemart_product_id` != 1862580
2023-10-13	13:18:20	3088	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:20	3088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862580, 'A_5478_27')
2023-10-13	13:18:20	3088	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:20	3088	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-orange' AND `virtuemart_product_id` != 1862580
2023-10-13	13:18:20	3088	[DEBUG]	Query for ProductLang
2023-10-13	13:18:20	3088	[DEBUG]	Executed store
2023-10-13	13:18:20	3088	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon polyamide MSC, livré avec visserie<br>N° art fourn : STAR',`product_name`='MSC Porte bidon MSC polyamide  / Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-orange' WHERE `virtuemart_product_id` = '1862580'
2023-10-13	13:18:20	3088	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29966_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:20	3088	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:20	3088	[DEBUG]	Process image file
2023-10-13	13:18:20	3088	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:20	3088	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:20	3088	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29966_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:20	3088	[DEBUG]	Full name target: bcprisme/29966_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:21	3088	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:21	3088	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29966_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:21	3088	[DEBUG]	Query for Media
2023-10-13	13:18:21	3088	[DEBUG]	Executed store
2023-10-13	13:18:21	3088	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29966_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29966_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13069'
2023-10-13	13:18:21	3088	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:21	3088	[DEBUG]	Executed store
2023-10-13	13:18:21	3088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862580','13069','1')
2023-10-13	13:18:21	3088	[DEBUG]	Store product image relation
2023-10-13	13:18:21	3088	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:21	3088	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862580 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:21	3088	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:21	3088	[DEBUG]	Executed store
2023-10-13	13:18:21	3088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862580','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:21	3088	[DEBUG]	Checking manufacturer
2023-10-13	13:18:21	3088	[DEBUG]	Load a row
2023-10-13	13:18:21	3088	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:21	3088	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:21	3088	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:21	3088	[DEBUG]	Executed store
2023-10-13	13:18:21	3088	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:21	3088	[DEBUG]	Manufacturer exists
2023-10-13	13:18:21	3088	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:21	3088	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:21	3088	[DEBUG]	Executed store
2023-10-13	13:18:21	3088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862580','206')
2023-10-13	13:18:21	3088	[DEBUG]	Find the custom field ID
2023-10-13	13:18:21	3088	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:21	3088	[DEBUG]	No custom field ID found
2023-10-13	13:18:21	3088	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:21	3088	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:21	3088	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862580 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:21	3088	[DEBUG]	Store custom available field
2023-10-13	13:18:21	3088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862580,3,'8.87527777777778',1)
2023-10-13	13:18:21	3088	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:21	3088	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:21	3088	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862580 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:21	3088	[DEBUG]	Store custom available field
2023-10-13	13:18:21	3088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862580,6,'choisir la taille',3)
2023-10-13	13:18:21	3088	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:21	3088	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:21	3088	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:21	3088	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:21	3088	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862580 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:21	3088	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:21	3088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862580,8,1)
2023-10-13	13:18:21	3088	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:21	3088	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862580\":[1862580,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862580
2023-10-13	13:18:21	3088	[DEBUG]	Checking category
2023-10-13	13:18:21	3088	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:21	3088	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862580
2023-10-13	13:18:21	3088	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:21	3088	[DEBUG]	Executed store
2023-10-13	13:18:21	3088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862580','7366')
2023-10-13	13:18:21	3088	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:21	3088	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862580 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:21	3088	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:21	3088	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862580
2023-10-13	13:18:21	3089	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:21	3089	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:21	3089	[DEBUG]	Use field value for field taille
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:21	3089	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:21	3089	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:21	3089	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:21	3089	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:21	3089	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:21	3089	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:21	3089	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:21	3089	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:21	3089	[DEBUG]	Use field value for field published
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:21	3089	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field override
2023-10-13	13:18:21	3089	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:21	3089	[DEBUG]	Use field value for field slug
2023-10-13	13:18:21	3089	[DEBUG]	Process line 3089
2023-10-13	13:18:21	3089	[DEBUG]	Load a row
2023-10-13	13:18:21	3089	[DEBUG]	Processing item: 8435466215217
2023-10-13	13:18:21	3089	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:21	3089	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:21	3089	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5478_27'
2023-10-13	13:18:21	3089	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:21	3089	[DEBUG]	Processing product tax
2023-10-13	13:18:21	3089	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:21	3089	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:21	3089	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:21	3089	[DEBUG]	Query for Product
2023-10-13	13:18:21	3089	[DEBUG]	Executed store
2023-10-13	13:18:21	3089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862580','8435466215217','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:21	3089	[DEBUG]	No parent found
2023-10-13	13:18:21	3089	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862580 AND customfield_value = 'stockable'
2023-10-13	13:18:21	3089	[DEBUG]	Check product language entry
2023-10-13	13:18:21	3089	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862581
2023-10-13	13:18:21	3089	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:21	3089	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215217' AND `virtuemart_product_id` != 1862581
2023-10-13	13:18:21	3089	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:21	3089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862581, '8435466215217')
2023-10-13	13:18:21	3089	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:21	3089	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-orange-unitaire' AND `virtuemart_product_id` != 1862581
2023-10-13	13:18:21	3089	[DEBUG]	Query for ProductLang
2023-10-13	13:18:21	3089	[DEBUG]	Executed store
2023-10-13	13:18:21	3089	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte bidon MSC polyamide  / Orange (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-orange-unitaire' WHERE `virtuemart_product_id` = '1862581'
2023-10-13	13:18:21	3089	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29966_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:21	3089	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:21	3089	[DEBUG]	Process image file
2023-10-13	13:18:21	3089	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:21	3089	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:21	3089	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29966_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:21	3089	[DEBUG]	Full name target: bcprisme/29966_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:22	3089	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:22	3089	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29966_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:22	3089	[DEBUG]	Query for Media
2023-10-13	13:18:22	3089	[DEBUG]	Executed store
2023-10-13	13:18:22	3089	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29966_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29966_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13069'
2023-10-13	13:18:22	3089	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:22	3089	[DEBUG]	Executed store
2023-10-13	13:18:22	3089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862581','13069','1')
2023-10-13	13:18:22	3089	[DEBUG]	Store product image relation
2023-10-13	13:18:22	3089	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:22	3089	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862581 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:22	3089	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:22	3089	[DEBUG]	Executed store
2023-10-13	13:18:22	3089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862581','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:22	3089	[DEBUG]	Checking manufacturer
2023-10-13	13:18:22	3089	[DEBUG]	Load a row
2023-10-13	13:18:22	3089	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:22	3089	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:22	3089	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:22	3089	[DEBUG]	Executed store
2023-10-13	13:18:22	3089	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:22	3089	[DEBUG]	Manufacturer exists
2023-10-13	13:18:22	3089	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:22	3089	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:22	3089	[DEBUG]	Executed store
2023-10-13	13:18:22	3089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862581','206')
2023-10-13	13:18:22	3089	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:22	3089	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:22	3089	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862581 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:22	3089	[DEBUG]	Store custom available field
2023-10-13	13:18:22	3089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862581,3,'',1)
2023-10-13	13:18:22	3089	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:22	3089	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:22	3089	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862581 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:22	3089	[DEBUG]	Store custom available field
2023-10-13	13:18:22	3089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862581,6,'Unitaire',3)
2023-10-13	13:18:22	3089	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:22	3089	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:22	3089	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862580
2023-10-13	13:18:22	3089	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:22	3089	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862580\":[1862580,8,1,\"choisir la taille\"],\"1862581\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862580
2023-10-13	13:18:22	3089	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:22	3089	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862581
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:22	3090	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field taille
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:22	3090	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:22	3090	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:22	3090	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:22	3090	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:22	3090	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:22	3090	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field published
2023-10-13	13:18:22	3090	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:22	3090	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field override
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:22	3090	[DEBUG]	Use field value for field slug
2023-10-13	13:18:22	3090	[DEBUG]	Process line 3090
2023-10-13	13:18:22	3090	[DEBUG]	Load a row
2023-10-13	13:18:22	3090	[DEBUG]	Processing item: A_5478_40
2023-10-13	13:18:22	3090	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:22	3090	[DEBUG]	Processing product tax
2023-10-13	13:18:22	3090	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:22	3090	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:22	3090	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:22	3090	[DEBUG]	Query for Product
2023-10-13	13:18:22	3090	[DEBUG]	Executed store
2023-10-13	13:18:22	3090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5478_40','0.0267','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:22	3090	[DEBUG]	Check product language entry
2023-10-13	13:18:22	3090	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862582
2023-10-13	13:18:22	3090	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:22	3090	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5478_40' AND `virtuemart_product_id` != 1862582
2023-10-13	13:18:22	3090	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:22	3090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862582, 'A_5478_40')
2023-10-13	13:18:22	3090	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:22	3090	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-vert' AND `virtuemart_product_id` != 1862582
2023-10-13	13:18:22	3090	[DEBUG]	Query for ProductLang
2023-10-13	13:18:22	3090	[DEBUG]	Executed store
2023-10-13	13:18:22	3090	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon polyamide MSC, livré avec visserie<br>N° art fourn : STAR',`product_name`='MSC Porte bidon MSC polyamide  / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-vert' WHERE `virtuemart_product_id` = '1862582'
2023-10-13	13:18:22	3090	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29965_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:22	3090	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:22	3090	[DEBUG]	Process image file
2023-10-13	13:18:22	3090	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:22	3090	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:22	3090	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29965_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:22	3090	[DEBUG]	Full name target: bcprisme/29965_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:23	3090	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:23	3090	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29965_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:23	3090	[DEBUG]	Query for Media
2023-10-13	13:18:23	3090	[DEBUG]	Executed store
2023-10-13	13:18:23	3090	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29965_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29965_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13070'
2023-10-13	13:18:23	3090	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:23	3090	[DEBUG]	Executed store
2023-10-13	13:18:23	3090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862582','13070','1')
2023-10-13	13:18:23	3090	[DEBUG]	Store product image relation
2023-10-13	13:18:23	3090	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:23	3090	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862582 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:23	3090	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:23	3090	[DEBUG]	Executed store
2023-10-13	13:18:23	3090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862582','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:23	3090	[DEBUG]	Checking manufacturer
2023-10-13	13:18:23	3090	[DEBUG]	Load a row
2023-10-13	13:18:23	3090	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:23	3090	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:23	3090	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:23	3090	[DEBUG]	Executed store
2023-10-13	13:18:23	3090	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:23	3090	[DEBUG]	Manufacturer exists
2023-10-13	13:18:23	3090	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:23	3090	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:23	3090	[DEBUG]	Executed store
2023-10-13	13:18:23	3090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862582','206')
2023-10-13	13:18:23	3090	[DEBUG]	Find the custom field ID
2023-10-13	13:18:23	3090	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:23	3090	[DEBUG]	No custom field ID found
2023-10-13	13:18:23	3090	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:23	3090	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:23	3090	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862582 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:23	3090	[DEBUG]	Store custom available field
2023-10-13	13:18:23	3090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862582,3,'8.87527777777778',1)
2023-10-13	13:18:23	3090	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:23	3090	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:23	3090	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862582 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:23	3090	[DEBUG]	Store custom available field
2023-10-13	13:18:23	3090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862582,6,'choisir la taille',3)
2023-10-13	13:18:23	3090	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:23	3090	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:23	3090	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:23	3090	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:23	3090	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862582 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:23	3090	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:23	3090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862582,8,1)
2023-10-13	13:18:23	3090	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:23	3090	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862582\":[1862582,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862582
2023-10-13	13:18:23	3090	[DEBUG]	Checking category
2023-10-13	13:18:23	3090	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:23	3090	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862582
2023-10-13	13:18:23	3090	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:23	3090	[DEBUG]	Executed store
2023-10-13	13:18:23	3090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862582','7366')
2023-10-13	13:18:23	3090	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:23	3090	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862582 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:23	3090	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:23	3090	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862582
2023-10-13	13:18:23	3091	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:23	3091	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:23	3091	[DEBUG]	Use field value for field taille
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:23	3091	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:23	3091	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:23	3091	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:23	3091	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:23	3091	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:23	3091	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:23	3091	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:23	3091	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:23	3091	[DEBUG]	Use field value for field published
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:23	3091	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field override
2023-10-13	13:18:23	3091	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:23	3091	[DEBUG]	Use field value for field slug
2023-10-13	13:18:23	3091	[DEBUG]	Process line 3091
2023-10-13	13:18:23	3091	[DEBUG]	Load a row
2023-10-13	13:18:23	3091	[DEBUG]	Processing item: 8435466215200
2023-10-13	13:18:23	3091	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:23	3091	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:23	3091	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5478_40'
2023-10-13	13:18:23	3091	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:23	3091	[DEBUG]	Processing product tax
2023-10-13	13:18:23	3091	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:23	3091	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:23	3091	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:23	3091	[DEBUG]	Query for Product
2023-10-13	13:18:23	3091	[DEBUG]	Executed store
2023-10-13	13:18:23	3091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862582','8435466215200','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:23	3091	[DEBUG]	No parent found
2023-10-13	13:18:23	3091	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862582 AND customfield_value = 'stockable'
2023-10-13	13:18:23	3091	[DEBUG]	Check product language entry
2023-10-13	13:18:23	3091	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862583
2023-10-13	13:18:23	3091	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:23	3091	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215200' AND `virtuemart_product_id` != 1862583
2023-10-13	13:18:23	3091	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:23	3091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862583, '8435466215200')
2023-10-13	13:18:23	3091	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:23	3091	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-vert-unitaire' AND `virtuemart_product_id` != 1862583
2023-10-13	13:18:23	3091	[DEBUG]	Query for ProductLang
2023-10-13	13:18:23	3091	[DEBUG]	Executed store
2023-10-13	13:18:23	3091	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte bidon MSC polyamide  / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-vert-unitaire' WHERE `virtuemart_product_id` = '1862583'
2023-10-13	13:18:24	3091	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29965_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:24	3091	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:24	3091	[DEBUG]	Process image file
2023-10-13	13:18:24	3091	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:24	3091	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:24	3091	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29965_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:24	3091	[DEBUG]	Full name target: bcprisme/29965_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:24	3091	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:24	3091	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29965_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:24	3091	[DEBUG]	Query for Media
2023-10-13	13:18:24	3091	[DEBUG]	Executed store
2023-10-13	13:18:24	3091	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29965_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29965_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13070'
2023-10-13	13:18:24	3091	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:24	3091	[DEBUG]	Executed store
2023-10-13	13:18:24	3091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862583','13070','1')
2023-10-13	13:18:24	3091	[DEBUG]	Store product image relation
2023-10-13	13:18:24	3091	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:24	3091	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862583 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:24	3091	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:24	3091	[DEBUG]	Executed store
2023-10-13	13:18:24	3091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862583','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:24	3091	[DEBUG]	Checking manufacturer
2023-10-13	13:18:24	3091	[DEBUG]	Load a row
2023-10-13	13:18:25	3091	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:25	3091	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:25	3091	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:25	3091	[DEBUG]	Executed store
2023-10-13	13:18:25	3091	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:25	3091	[DEBUG]	Manufacturer exists
2023-10-13	13:18:25	3091	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:25	3091	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:25	3091	[DEBUG]	Executed store
2023-10-13	13:18:25	3091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862583','206')
2023-10-13	13:18:25	3091	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:25	3091	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:25	3091	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862583 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:25	3091	[DEBUG]	Store custom available field
2023-10-13	13:18:25	3091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862583,3,'',1)
2023-10-13	13:18:25	3091	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:25	3091	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:25	3091	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862583 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:25	3091	[DEBUG]	Store custom available field
2023-10-13	13:18:25	3091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862583,6,'Unitaire',3)
2023-10-13	13:18:25	3091	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:25	3091	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:25	3091	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862582
2023-10-13	13:18:25	3091	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:25	3091	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862582\":[1862582,8,1,\"choisir la taille\"],\"1862583\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862582
2023-10-13	13:18:25	3091	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:25	3091	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862583
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:25	3092	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field taille
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:25	3092	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:25	3092	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:25	3092	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:25	3092	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:25	3092	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:25	3092	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field published
2023-10-13	13:18:25	3092	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:25	3092	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field override
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:25	3092	[DEBUG]	Use field value for field slug
2023-10-13	13:18:25	3092	[DEBUG]	Process line 3092
2023-10-13	13:18:25	3092	[DEBUG]	Load a row
2023-10-13	13:18:25	3092	[DEBUG]	Processing item: A_5478_65
2023-10-13	13:18:25	3092	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:25	3092	[DEBUG]	Processing product tax
2023-10-13	13:18:25	3092	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:25	3092	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:25	3092	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:25	3092	[DEBUG]	Query for Product
2023-10-13	13:18:25	3092	[DEBUG]	Executed store
2023-10-13	13:18:25	3092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5478_65','0.0267','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:25	3092	[DEBUG]	Check product language entry
2023-10-13	13:18:25	3092	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862584
2023-10-13	13:18:25	3092	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:25	3092	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5478_65' AND `virtuemart_product_id` != 1862584
2023-10-13	13:18:25	3092	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:25	3092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862584, 'A_5478_65')
2023-10-13	13:18:25	3092	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:25	3092	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-jaune' AND `virtuemart_product_id` != 1862584
2023-10-13	13:18:25	3092	[DEBUG]	Query for ProductLang
2023-10-13	13:18:25	3092	[DEBUG]	Executed store
2023-10-13	13:18:25	3092	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon polyamide MSC, livré avec visserie<br>N° art fourn : STAR',`product_name`='MSC Porte bidon MSC polyamide  / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-jaune' WHERE `virtuemart_product_id` = '1862584'
2023-10-13	13:18:25	3092	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29971_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:25	3092	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:25	3092	[DEBUG]	Process image file
2023-10-13	13:18:25	3092	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:25	3092	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:25	3092	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29971_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:25	3092	[DEBUG]	Full name target: bcprisme/29971_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:26	3092	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:26	3092	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29971_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:26	3092	[DEBUG]	Query for Media
2023-10-13	13:18:26	3092	[DEBUG]	Executed store
2023-10-13	13:18:26	3092	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29971_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29971_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13071'
2023-10-13	13:18:26	3092	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:26	3092	[DEBUG]	Executed store
2023-10-13	13:18:26	3092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862584','13071','1')
2023-10-13	13:18:26	3092	[DEBUG]	Store product image relation
2023-10-13	13:18:26	3092	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:26	3092	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862584 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:26	3092	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:26	3092	[DEBUG]	Executed store
2023-10-13	13:18:26	3092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862584','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:26	3092	[DEBUG]	Checking manufacturer
2023-10-13	13:18:26	3092	[DEBUG]	Load a row
2023-10-13	13:18:26	3092	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:26	3092	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:26	3092	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:26	3092	[DEBUG]	Executed store
2023-10-13	13:18:26	3092	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:26	3092	[DEBUG]	Manufacturer exists
2023-10-13	13:18:26	3092	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:26	3092	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:26	3092	[DEBUG]	Executed store
2023-10-13	13:18:26	3092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862584','206')
2023-10-13	13:18:26	3092	[DEBUG]	Find the custom field ID
2023-10-13	13:18:26	3092	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:26	3092	[DEBUG]	No custom field ID found
2023-10-13	13:18:26	3092	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:26	3092	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:26	3092	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862584 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:26	3092	[DEBUG]	Store custom available field
2023-10-13	13:18:26	3092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862584,3,'8.87527777777778',1)
2023-10-13	13:18:26	3092	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:26	3092	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:26	3092	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862584 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:26	3092	[DEBUG]	Store custom available field
2023-10-13	13:18:26	3092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862584,6,'choisir la taille',3)
2023-10-13	13:18:26	3092	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:26	3092	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:26	3092	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:26	3092	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:26	3092	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862584 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:26	3092	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:26	3092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862584,8,1)
2023-10-13	13:18:26	3092	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:26	3092	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862584\":[1862584,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862584
2023-10-13	13:18:26	3092	[DEBUG]	Checking category
2023-10-13	13:18:26	3092	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:26	3092	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862584
2023-10-13	13:18:26	3092	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:26	3092	[DEBUG]	Executed store
2023-10-13	13:18:26	3092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862584','7366')
2023-10-13	13:18:26	3092	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:26	3092	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862584 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:26	3092	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:26	3092	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862584
2023-10-13	13:18:26	3093	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:26	3093	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:26	3093	[DEBUG]	Use field value for field taille
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:26	3093	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:26	3093	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:26	3093	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:26	3093	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:26	3093	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:26	3093	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:26	3093	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:26	3093	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:26	3093	[DEBUG]	Use field value for field published
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:26	3093	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field override
2023-10-13	13:18:26	3093	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:26	3093	[DEBUG]	Use field value for field slug
2023-10-13	13:18:26	3093	[DEBUG]	Process line 3093
2023-10-13	13:18:26	3093	[DEBUG]	Load a row
2023-10-13	13:18:26	3093	[DEBUG]	Processing item: 8435466215231
2023-10-13	13:18:26	3093	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:26	3093	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:26	3093	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5478_65'
2023-10-13	13:18:26	3093	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:26	3093	[DEBUG]	Processing product tax
2023-10-13	13:18:26	3093	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:26	3093	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:26	3093	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:26	3093	[DEBUG]	Query for Product
2023-10-13	13:18:26	3093	[DEBUG]	Executed store
2023-10-13	13:18:26	3093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862584','8435466215231','0','KG','M','','13','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:26	3093	[DEBUG]	No parent found
2023-10-13	13:18:26	3093	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862584 AND customfield_value = 'stockable'
2023-10-13	13:18:26	3093	[DEBUG]	Check product language entry
2023-10-13	13:18:26	3093	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862585
2023-10-13	13:18:26	3093	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:26	3093	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215231' AND `virtuemart_product_id` != 1862585
2023-10-13	13:18:26	3093	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:26	3093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862585, '8435466215231')
2023-10-13	13:18:26	3093	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:26	3093	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-jaune-unitaire' AND `virtuemart_product_id` != 1862585
2023-10-13	13:18:26	3093	[DEBUG]	Query for ProductLang
2023-10-13	13:18:26	3093	[DEBUG]	Executed store
2023-10-13	13:18:26	3093	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte bidon MSC polyamide  / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-jaune-unitaire' WHERE `virtuemart_product_id` = '1862585'
2023-10-13	13:18:26	3093	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29971_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:26	3093	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:26	3093	[DEBUG]	Process image file
2023-10-13	13:18:26	3093	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:26	3093	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:26	3093	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29971_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:26	3093	[DEBUG]	Full name target: bcprisme/29971_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:27	3093	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:27	3093	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29971_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:27	3093	[DEBUG]	Query for Media
2023-10-13	13:18:27	3093	[DEBUG]	Executed store
2023-10-13	13:18:27	3093	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29971_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29971_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13071'
2023-10-13	13:18:27	3093	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:27	3093	[DEBUG]	Executed store
2023-10-13	13:18:27	3093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862585','13071','1')
2023-10-13	13:18:27	3093	[DEBUG]	Store product image relation
2023-10-13	13:18:27	3093	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:27	3093	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862585 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:27	3093	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:27	3093	[DEBUG]	Executed store
2023-10-13	13:18:27	3093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862585','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:27	3093	[DEBUG]	Checking manufacturer
2023-10-13	13:18:27	3093	[DEBUG]	Load a row
2023-10-13	13:18:27	3093	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:27	3093	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:27	3093	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:27	3093	[DEBUG]	Executed store
2023-10-13	13:18:27	3093	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:27	3093	[DEBUG]	Manufacturer exists
2023-10-13	13:18:27	3093	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:27	3093	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:27	3093	[DEBUG]	Executed store
2023-10-13	13:18:27	3093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862585','206')
2023-10-13	13:18:27	3093	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:27	3093	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:27	3093	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862585 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:27	3093	[DEBUG]	Store custom available field
2023-10-13	13:18:27	3093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862585,3,'',1)
2023-10-13	13:18:27	3093	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:27	3093	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:27	3093	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862585 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:27	3093	[DEBUG]	Store custom available field
2023-10-13	13:18:27	3093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862585,6,'Unitaire',3)
2023-10-13	13:18:27	3093	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:27	3093	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:27	3093	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862584
2023-10-13	13:18:27	3093	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:27	3093	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862584\":[1862584,8,1,\"choisir la taille\"],\"1862585\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862584
2023-10-13	13:18:27	3093	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:27	3093	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862585
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:27	3094	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field taille
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:27	3094	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:27	3094	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:27	3094	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:27	3094	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:27	3094	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:27	3094	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field published
2023-10-13	13:18:27	3094	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:27	3094	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field override
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:27	3094	[DEBUG]	Use field value for field slug
2023-10-13	13:18:27	3094	[DEBUG]	Process line 3094
2023-10-13	13:18:27	3094	[DEBUG]	Load a row
2023-10-13	13:18:27	3094	[DEBUG]	Processing item: A_5478_150
2023-10-13	13:18:27	3094	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:27	3094	[DEBUG]	Processing product tax
2023-10-13	13:18:27	3094	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:27	3094	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:27	3094	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:27	3094	[DEBUG]	Query for Product
2023-10-13	13:18:27	3094	[DEBUG]	Executed store
2023-10-13	13:18:27	3094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5478_150','0.0267','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:27	3094	[DEBUG]	Check product language entry
2023-10-13	13:18:27	3094	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862586
2023-10-13	13:18:27	3094	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:27	3094	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5478_150' AND `virtuemart_product_id` != 1862586
2023-10-13	13:18:27	3094	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:27	3094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862586, 'A_5478_150')
2023-10-13	13:18:27	3094	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:27	3094	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-rose' AND `virtuemart_product_id` != 1862586
2023-10-13	13:18:27	3094	[DEBUG]	Query for ProductLang
2023-10-13	13:18:27	3094	[DEBUG]	Executed store
2023-10-13	13:18:27	3094	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon polyamide MSC, livré avec visserie<br>N° art fourn : STAR',`product_name`='MSC Porte bidon MSC polyamide  / Rose',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-rose' WHERE `virtuemart_product_id` = '1862586'
2023-10-13	13:18:27	3094	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29970_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:27	3094	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:27	3094	[DEBUG]	Process image file
2023-10-13	13:18:27	3094	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:27	3094	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:27	3094	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29970_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:27	3094	[DEBUG]	Full name target: bcprisme/29970_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:28	3094	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:28	3094	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29970_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:28	3094	[DEBUG]	Query for Media
2023-10-13	13:18:28	3094	[DEBUG]	Executed store
2023-10-13	13:18:28	3094	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29970_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29970_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13072'
2023-10-13	13:18:28	3094	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:28	3094	[DEBUG]	Executed store
2023-10-13	13:18:28	3094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862586','13072','1')
2023-10-13	13:18:28	3094	[DEBUG]	Store product image relation
2023-10-13	13:18:28	3094	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:28	3094	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862586 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:28	3094	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:28	3094	[DEBUG]	Executed store
2023-10-13	13:18:28	3094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862586','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:28	3094	[DEBUG]	Checking manufacturer
2023-10-13	13:18:28	3094	[DEBUG]	Load a row
2023-10-13	13:18:28	3094	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:28	3094	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:28	3094	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:28	3094	[DEBUG]	Executed store
2023-10-13	13:18:28	3094	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:28	3094	[DEBUG]	Manufacturer exists
2023-10-13	13:18:28	3094	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:28	3094	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:28	3094	[DEBUG]	Executed store
2023-10-13	13:18:28	3094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862586','206')
2023-10-13	13:18:28	3094	[DEBUG]	Find the custom field ID
2023-10-13	13:18:28	3094	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:28	3094	[DEBUG]	No custom field ID found
2023-10-13	13:18:28	3094	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:28	3094	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:28	3094	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862586 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:28	3094	[DEBUG]	Store custom available field
2023-10-13	13:18:28	3094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862586,3,'8.87527777777778',1)
2023-10-13	13:18:28	3094	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:28	3094	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:28	3094	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862586 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:28	3094	[DEBUG]	Store custom available field
2023-10-13	13:18:28	3094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862586,6,'choisir la taille',3)
2023-10-13	13:18:28	3094	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:28	3094	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:28	3094	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:28	3094	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:28	3094	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862586 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:28	3094	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:28	3094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862586,8,1)
2023-10-13	13:18:28	3094	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:28	3094	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862586\":[1862586,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862586
2023-10-13	13:18:28	3094	[DEBUG]	Checking category
2023-10-13	13:18:28	3094	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:28	3094	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862586
2023-10-13	13:18:28	3094	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:28	3094	[DEBUG]	Executed store
2023-10-13	13:18:28	3094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862586','7366')
2023-10-13	13:18:28	3094	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:28	3094	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862586 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:28	3094	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:28	3094	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862586
2023-10-13	13:18:28	3095	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:28	3095	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:28	3095	[DEBUG]	Use field value for field taille
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:28	3095	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:28	3095	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:28	3095	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:28	3095	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:28	3095	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:28	3095	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:28	3095	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:28	3095	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:28	3095	[DEBUG]	Use field value for field published
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:28	3095	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field override
2023-10-13	13:18:28	3095	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:28	3095	[DEBUG]	Use field value for field slug
2023-10-13	13:18:28	3095	[DEBUG]	Process line 3095
2023-10-13	13:18:28	3095	[DEBUG]	Load a row
2023-10-13	13:18:28	3095	[DEBUG]	Processing item: 8435466215194
2023-10-13	13:18:28	3095	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:28	3095	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:28	3095	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5478_150'
2023-10-13	13:18:28	3095	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:28	3095	[DEBUG]	Processing product tax
2023-10-13	13:18:28	3095	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:28	3095	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:28	3095	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:28	3095	[DEBUG]	Query for Product
2023-10-13	13:18:28	3095	[DEBUG]	Executed store
2023-10-13	13:18:28	3095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862586','8435466215194','0','KG','M','','12','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:28	3095	[DEBUG]	No parent found
2023-10-13	13:18:28	3095	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862586 AND customfield_value = 'stockable'
2023-10-13	13:18:28	3095	[DEBUG]	Check product language entry
2023-10-13	13:18:28	3095	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862587
2023-10-13	13:18:28	3095	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:28	3095	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215194' AND `virtuemart_product_id` != 1862587
2023-10-13	13:18:28	3095	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:28	3095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862587, '8435466215194')
2023-10-13	13:18:28	3095	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:28	3095	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-rose-unitaire' AND `virtuemart_product_id` != 1862587
2023-10-13	13:18:28	3095	[DEBUG]	Query for ProductLang
2023-10-13	13:18:28	3095	[DEBUG]	Executed store
2023-10-13	13:18:28	3095	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte bidon MSC polyamide  / Rose (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-rose-unitaire' WHERE `virtuemart_product_id` = '1862587'
2023-10-13	13:18:28	3095	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29970_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:28	3095	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:28	3095	[DEBUG]	Process image file
2023-10-13	13:18:28	3095	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:28	3095	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:28	3095	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29970_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:28	3095	[DEBUG]	Full name target: bcprisme/29970_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:29	3095	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:29	3095	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29970_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:29	3095	[DEBUG]	Query for Media
2023-10-13	13:18:29	3095	[DEBUG]	Executed store
2023-10-13	13:18:29	3095	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29970_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29970_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13072'
2023-10-13	13:18:29	3095	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:29	3095	[DEBUG]	Executed store
2023-10-13	13:18:29	3095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862587','13072','1')
2023-10-13	13:18:29	3095	[DEBUG]	Store product image relation
2023-10-13	13:18:29	3095	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:29	3095	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862587 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:29	3095	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:29	3095	[DEBUG]	Executed store
2023-10-13	13:18:29	3095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862587','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:29	3095	[DEBUG]	Checking manufacturer
2023-10-13	13:18:29	3095	[DEBUG]	Load a row
2023-10-13	13:18:29	3095	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:29	3095	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:29	3095	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:29	3095	[DEBUG]	Executed store
2023-10-13	13:18:29	3095	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:29	3095	[DEBUG]	Manufacturer exists
2023-10-13	13:18:29	3095	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:29	3095	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:29	3095	[DEBUG]	Executed store
2023-10-13	13:18:29	3095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862587','206')
2023-10-13	13:18:29	3095	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:29	3095	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:29	3095	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862587 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:29	3095	[DEBUG]	Store custom available field
2023-10-13	13:18:29	3095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862587,3,'',1)
2023-10-13	13:18:29	3095	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:29	3095	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:29	3095	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862587 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:29	3095	[DEBUG]	Store custom available field
2023-10-13	13:18:29	3095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862587,6,'Unitaire',3)
2023-10-13	13:18:29	3095	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:29	3095	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:29	3095	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862586
2023-10-13	13:18:29	3095	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:29	3095	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862586\":[1862586,8,1,\"choisir la taille\"],\"1862587\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862586
2023-10-13	13:18:29	3095	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:29	3095	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862587
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:29	3096	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field taille
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:29	3096	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:29	3096	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:29	3096	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:29	3096	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:29	3096	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:29	3096	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field published
2023-10-13	13:18:29	3096	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:29	3096	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field override
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:29	3096	[DEBUG]	Use field value for field slug
2023-10-13	13:18:29	3096	[DEBUG]	Process line 3096
2023-10-13	13:18:29	3096	[DEBUG]	Load a row
2023-10-13	13:18:29	3096	[DEBUG]	Processing item: A_5478_175
2023-10-13	13:18:29	3096	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:29	3096	[DEBUG]	Processing product tax
2023-10-13	13:18:29	3096	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:29	3096	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:29	3096	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:29	3096	[DEBUG]	Query for Product
2023-10-13	13:18:29	3096	[DEBUG]	Executed store
2023-10-13	13:18:29	3096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5478_175','0.0267','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:29	3096	[DEBUG]	Check product language entry
2023-10-13	13:18:29	3096	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862588
2023-10-13	13:18:29	3096	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:29	3096	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5478_175' AND `virtuemart_product_id` != 1862588
2023-10-13	13:18:29	3096	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:29	3096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862588, 'A_5478_175')
2023-10-13	13:18:29	3096	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:29	3096	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-turquoise' AND `virtuemart_product_id` != 1862588
2023-10-13	13:18:29	3096	[DEBUG]	Query for ProductLang
2023-10-13	13:18:29	3096	[DEBUG]	Executed store
2023-10-13	13:18:29	3096	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon polyamide MSC, livré avec visserie<br>N° art fourn : STAR',`product_name`='MSC Porte bidon MSC polyamide  / Turquoise',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-turquoise' WHERE `virtuemart_product_id` = '1862588'
2023-10-13	13:18:29	3096	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29969_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:29	3096	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:29	3096	[DEBUG]	Process image file
2023-10-13	13:18:29	3096	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:29	3096	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:29	3096	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29969_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:29	3096	[DEBUG]	Full name target: bcprisme/29969_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:30	3096	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:30	3096	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29969_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:30	3096	[DEBUG]	Query for Media
2023-10-13	13:18:30	3096	[DEBUG]	Executed store
2023-10-13	13:18:30	3096	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29969_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29969_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13073'
2023-10-13	13:18:30	3096	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:30	3096	[DEBUG]	Executed store
2023-10-13	13:18:30	3096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862588','13073','1')
2023-10-13	13:18:30	3096	[DEBUG]	Store product image relation
2023-10-13	13:18:30	3096	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:30	3096	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862588 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:30	3096	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:30	3096	[DEBUG]	Executed store
2023-10-13	13:18:30	3096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862588','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:30	3096	[DEBUG]	Checking manufacturer
2023-10-13	13:18:30	3096	[DEBUG]	Load a row
2023-10-13	13:18:30	3096	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:30	3096	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:30	3096	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:30	3096	[DEBUG]	Executed store
2023-10-13	13:18:30	3096	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:30	3096	[DEBUG]	Manufacturer exists
2023-10-13	13:18:30	3096	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:30	3096	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:30	3096	[DEBUG]	Executed store
2023-10-13	13:18:30	3096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862588','206')
2023-10-13	13:18:30	3096	[DEBUG]	Find the custom field ID
2023-10-13	13:18:30	3096	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:30	3096	[DEBUG]	No custom field ID found
2023-10-13	13:18:30	3096	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:30	3096	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:30	3096	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862588 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:30	3096	[DEBUG]	Store custom available field
2023-10-13	13:18:30	3096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862588,3,'8.87527777777778',1)
2023-10-13	13:18:30	3096	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:30	3096	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:30	3096	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862588 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:30	3096	[DEBUG]	Store custom available field
2023-10-13	13:18:30	3096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862588,6,'choisir la taille',3)
2023-10-13	13:18:30	3096	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:30	3096	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:30	3096	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:30	3096	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:30	3096	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862588 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:30	3096	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:30	3096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862588,8,1)
2023-10-13	13:18:30	3096	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:30	3096	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862588\":[1862588,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862588
2023-10-13	13:18:30	3096	[DEBUG]	Checking category
2023-10-13	13:18:30	3096	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:30	3096	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862588
2023-10-13	13:18:30	3096	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:30	3096	[DEBUG]	Executed store
2023-10-13	13:18:30	3096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862588','7366')
2023-10-13	13:18:30	3096	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:30	3096	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862588 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:30	3096	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:30	3096	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862588
2023-10-13	13:18:30	3097	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:30	3097	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:30	3097	[DEBUG]	Use field value for field taille
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:30	3097	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:30	3097	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:30	3097	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:30	3097	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:30	3097	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:30	3097	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:30	3097	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:30	3097	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:30	3097	[DEBUG]	Use field value for field published
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:30	3097	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field override
2023-10-13	13:18:30	3097	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:30	3097	[DEBUG]	Use field value for field slug
2023-10-13	13:18:30	3097	[DEBUG]	Process line 3097
2023-10-13	13:18:30	3097	[DEBUG]	Load a row
2023-10-13	13:18:30	3097	[DEBUG]	Processing item: 8435466215224
2023-10-13	13:18:30	3097	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:30	3097	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:30	3097	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5478_175'
2023-10-13	13:18:30	3097	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:30	3097	[DEBUG]	Processing product tax
2023-10-13	13:18:30	3097	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:30	3097	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:30	3097	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:30	3097	[DEBUG]	Query for Product
2023-10-13	13:18:30	3097	[DEBUG]	Executed store
2023-10-13	13:18:30	3097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862588','8435466215224','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:30	3097	[DEBUG]	No parent found
2023-10-13	13:18:30	3097	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862588 AND customfield_value = 'stockable'
2023-10-13	13:18:30	3097	[DEBUG]	Check product language entry
2023-10-13	13:18:30	3097	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862589
2023-10-13	13:18:30	3097	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:30	3097	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215224' AND `virtuemart_product_id` != 1862589
2023-10-13	13:18:30	3097	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:30	3097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862589, '8435466215224')
2023-10-13	13:18:30	3097	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:30	3097	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-polyamide-turquoise-unitaire' AND `virtuemart_product_id` != 1862589
2023-10-13	13:18:30	3097	[DEBUG]	Query for ProductLang
2023-10-13	13:18:30	3097	[DEBUG]	Executed store
2023-10-13	13:18:30	3097	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte bidon MSC polyamide  / Turquoise (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-polyamide-turquoise-unitaire' WHERE `virtuemart_product_id` = '1862589'
2023-10-13	13:18:30	3097	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29969_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:30	3097	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:30	3097	[DEBUG]	Process image file
2023-10-13	13:18:30	3097	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:30	3097	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:30	3097	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29969_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:30	3097	[DEBUG]	Full name target: bcprisme/29969_porte_bidon_msc_polyamide_.jpg
2023-10-13	13:18:31	3097	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:31	3097	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29969_porte_bidon_msc_polyamide_.jpg'
2023-10-13	13:18:31	3097	[DEBUG]	Query for Media
2023-10-13	13:18:31	3097	[DEBUG]	Executed store
2023-10-13	13:18:31	3097	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29969_porte_bidon_msc_polyamide_.jpg',`file_url_thumb`='bcprisme/29969_porte_bidon_msc_polyamide_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13073'
2023-10-13	13:18:31	3097	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:31	3097	[DEBUG]	Executed store
2023-10-13	13:18:31	3097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862589','13073','1')
2023-10-13	13:18:31	3097	[DEBUG]	Store product image relation
2023-10-13	13:18:31	3097	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:31	3097	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862589 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:31	3097	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:31	3097	[DEBUG]	Executed store
2023-10-13	13:18:31	3097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862589','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:31	3097	[DEBUG]	Checking manufacturer
2023-10-13	13:18:31	3097	[DEBUG]	Load a row
2023-10-13	13:18:31	3097	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:31	3097	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:31	3097	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:31	3097	[DEBUG]	Executed store
2023-10-13	13:18:31	3097	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:18:31	3097	[DEBUG]	Manufacturer exists
2023-10-13	13:18:31	3097	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:18:31	3097	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:31	3097	[DEBUG]	Executed store
2023-10-13	13:18:31	3097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862589','206')
2023-10-13	13:18:31	3097	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:31	3097	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:31	3097	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862589 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:31	3097	[DEBUG]	Store custom available field
2023-10-13	13:18:31	3097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862589,3,'',1)
2023-10-13	13:18:31	3097	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:31	3097	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:31	3097	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862589 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:31	3097	[DEBUG]	Store custom available field
2023-10-13	13:18:31	3097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862589,6,'Unitaire',3)
2023-10-13	13:18:31	3097	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:31	3097	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:31	3097	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862588
2023-10-13	13:18:31	3097	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:31	3097	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862588\":[1862588,8,1,\"choisir la taille\"],\"1862589\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862588
2023-10-13	13:18:31	3097	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:31	3097	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862589
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:31	3098	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field taille
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:31	3098	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:31	3098	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:31	3098	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:31	3098	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:31	3098	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:31	3098	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field published
2023-10-13	13:18:31	3098	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:31	3098	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field override
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:31	3098	[DEBUG]	Use field value for field slug
2023-10-13	13:18:31	3098	[DEBUG]	Process line 3098
2023-10-13	13:18:31	3098	[DEBUG]	Load a row
2023-10-13	13:18:31	3098	[DEBUG]	Processing item: A_5483_53
2023-10-13	13:18:31	3098	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:31	3098	[DEBUG]	Processing product tax
2023-10-13	13:18:31	3098	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:31	3098	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:31	3098	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:31	3098	[DEBUG]	Query for Product
2023-10-13	13:18:31	3098	[DEBUG]	Executed store
2023-10-13	13:18:31	3098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5483_53','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:31	3098	[DEBUG]	Check product language entry
2023-10-13	13:18:31	3098	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862590
2023-10-13	13:18:31	3098	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:31	3098	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5483_53' AND `virtuemart_product_id` != 1862590
2023-10-13	13:18:31	3098	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:31	3098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862590, 'A_5483_53')
2023-10-13	13:18:31	3098	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:31	3098	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-rouge-noir' AND `virtuemart_product_id` != 1862590
2023-10-13	13:18:31	3098	[DEBUG]	Query for ProductLang
2023-10-13	13:18:31	3098	[DEBUG]	Executed store
2023-10-13	13:18:31	3098	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC320BK',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / Rouge-noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-rouge-noir' WHERE `virtuemart_product_id` = '1862590'
2023-10-13	13:18:31	3098	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29983_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:31	3098	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:31	3098	[DEBUG]	Process image file
2023-10-13	13:18:31	3098	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:31	3098	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:31	3098	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29983_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:31	3098	[DEBUG]	Full name target: bcprisme/29983_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:32	3098	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:32	3098	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29983_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:18:32	3098	[DEBUG]	Query for Media
2023-10-13	13:18:32	3098	[DEBUG]	Executed store
2023-10-13	13:18:32	3098	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29983_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29983_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13074'
2023-10-13	13:18:32	3098	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:32	3098	[DEBUG]	Executed store
2023-10-13	13:18:32	3098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862590','13074','1')
2023-10-13	13:18:32	3098	[DEBUG]	Store product image relation
2023-10-13	13:18:32	3098	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:32	3098	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862590 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:32	3098	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:32	3098	[DEBUG]	Executed store
2023-10-13	13:18:32	3098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862590','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:32	3098	[DEBUG]	Checking manufacturer
2023-10-13	13:18:32	3098	[DEBUG]	Load a row
2023-10-13	13:18:32	3098	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:32	3098	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:18:32	3098	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:32	3098	[DEBUG]	Executed store
2023-10-13	13:18:32	3098	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:18:32	3098	[DEBUG]	Manufacturer exists
2023-10-13	13:18:32	3098	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:18:32	3098	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:32	3098	[DEBUG]	Executed store
2023-10-13	13:18:32	3098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862590','22')
2023-10-13	13:18:32	3098	[DEBUG]	Find the custom field ID
2023-10-13	13:18:32	3098	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:32	3098	[DEBUG]	No custom field ID found
2023-10-13	13:18:32	3098	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:32	3098	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:32	3098	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862590 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:32	3098	[DEBUG]	Store custom available field
2023-10-13	13:18:32	3098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862590,3,'8.87527777777778',1)
2023-10-13	13:18:32	3098	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:32	3098	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:32	3098	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862590 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:32	3098	[DEBUG]	Store custom available field
2023-10-13	13:18:32	3098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862590,6,'choisir la taille',3)
2023-10-13	13:18:32	3098	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:32	3098	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:32	3098	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:32	3098	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:32	3098	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862590 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:32	3098	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:32	3098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862590,8,1)
2023-10-13	13:18:32	3098	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:32	3098	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862590\":[1862590,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862590
2023-10-13	13:18:32	3098	[DEBUG]	Checking category
2023-10-13	13:18:32	3098	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:32	3098	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862590
2023-10-13	13:18:32	3098	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:32	3098	[DEBUG]	Executed store
2023-10-13	13:18:32	3098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862590','7366')
2023-10-13	13:18:32	3098	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:32	3098	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862590 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:32	3098	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:32	3098	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862590
2023-10-13	13:18:32	3099	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:32	3099	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:32	3099	[DEBUG]	Use field value for field taille
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:32	3099	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:32	3099	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:32	3099	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:32	3099	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:32	3099	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:32	3099	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:32	3099	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:32	3099	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:32	3099	[DEBUG]	Use field value for field published
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:32	3099	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field override
2023-10-13	13:18:32	3099	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:32	3099	[DEBUG]	Use field value for field slug
2023-10-13	13:18:32	3099	[DEBUG]	Process line 3099
2023-10-13	13:18:32	3099	[DEBUG]	Load a row
2023-10-13	13:18:32	3099	[DEBUG]	Processing item: 8435466214876
2023-10-13	13:18:32	3099	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:32	3099	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:32	3099	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5483_53'
2023-10-13	13:18:32	3099	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:32	3099	[DEBUG]	Processing product tax
2023-10-13	13:18:32	3099	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:32	3099	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:32	3099	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:32	3099	[DEBUG]	Query for Product
2023-10-13	13:18:32	3099	[DEBUG]	Executed store
2023-10-13	13:18:32	3099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862590','8435466214876','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:32	3099	[DEBUG]	No parent found
2023-10-13	13:18:32	3099	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862590 AND customfield_value = 'stockable'
2023-10-13	13:18:32	3099	[DEBUG]	Check product language entry
2023-10-13	13:18:32	3099	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862591
2023-10-13	13:18:32	3099	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:32	3099	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214876' AND `virtuemart_product_id` != 1862591
2023-10-13	13:18:32	3099	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:32	3099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862591, '8435466214876')
2023-10-13	13:18:32	3099	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:32	3099	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-rouge-noir-unitaire' AND `virtuemart_product_id` != 1862591
2023-10-13	13:18:32	3099	[DEBUG]	Query for ProductLang
2023-10-13	13:18:32	3099	[DEBUG]	Executed store
2023-10-13	13:18:32	3099	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / Rouge-noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-rouge-noir-unitaire' WHERE `virtuemart_product_id` = '1862591'
2023-10-13	13:18:32	3099	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29983_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:32	3099	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:32	3099	[DEBUG]	Process image file
2023-10-13	13:18:32	3099	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:32	3099	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:32	3099	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29983_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:32	3099	[DEBUG]	Full name target: bcprisme/29983_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:33	3099	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:33	3099	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29983_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:18:33	3099	[DEBUG]	Query for Media
2023-10-13	13:18:33	3099	[DEBUG]	Executed store
2023-10-13	13:18:33	3099	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29983_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29983_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13074'
2023-10-13	13:18:33	3099	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:33	3099	[DEBUG]	Executed store
2023-10-13	13:18:33	3099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862591','13074','1')
2023-10-13	13:18:33	3099	[DEBUG]	Store product image relation
2023-10-13	13:18:33	3099	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:33	3099	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862591 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:33	3099	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:33	3099	[DEBUG]	Executed store
2023-10-13	13:18:33	3099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862591','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:33	3099	[DEBUG]	Checking manufacturer
2023-10-13	13:18:33	3099	[DEBUG]	Load a row
2023-10-13	13:18:33	3099	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:33	3099	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:18:33	3099	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:33	3099	[DEBUG]	Executed store
2023-10-13	13:18:33	3099	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:18:33	3099	[DEBUG]	Manufacturer exists
2023-10-13	13:18:33	3099	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:18:33	3099	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:33	3099	[DEBUG]	Executed store
2023-10-13	13:18:33	3099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862591','22')
2023-10-13	13:18:33	3099	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:33	3099	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:33	3099	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862591 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:33	3099	[DEBUG]	Store custom available field
2023-10-13	13:18:33	3099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862591,3,'',1)
2023-10-13	13:18:33	3099	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:33	3099	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:33	3099	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862591 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:33	3099	[DEBUG]	Store custom available field
2023-10-13	13:18:33	3099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862591,6,'Unitaire',3)
2023-10-13	13:18:33	3099	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:33	3099	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:33	3099	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862590
2023-10-13	13:18:33	3099	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:33	3099	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862590\":[1862590,8,1,\"choisir la taille\"],\"1862591\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862590
2023-10-13	13:18:33	3099	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:33	3099	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862591
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:33	3100	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field taille
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:33	3100	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:33	3100	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:33	3100	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:33	3100	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:33	3100	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:33	3100	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field published
2023-10-13	13:18:33	3100	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:33	3100	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field override
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:33	3100	[DEBUG]	Use field value for field slug
2023-10-13	13:18:33	3100	[DEBUG]	Process line 3100
2023-10-13	13:18:33	3100	[DEBUG]	Load a row
2023-10-13	13:18:33	3100	[DEBUG]	Processing item: A_5483_71
2023-10-13	13:18:33	3100	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:33	3100	[DEBUG]	Processing product tax
2023-10-13	13:18:33	3100	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:33	3100	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:33	3100	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:33	3100	[DEBUG]	Query for Product
2023-10-13	13:18:33	3100	[DEBUG]	Executed store
2023-10-13	13:18:33	3100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5483_71','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0')
2023-10-13	13:18:33	3100	[DEBUG]	Check product language entry
2023-10-13	13:18:33	3100	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862592
2023-10-13	13:18:33	3100	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:33	3100	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5483_71' AND `virtuemart_product_id` != 1862592
2023-10-13	13:18:33	3100	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:33	3100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862592, 'A_5483_71')
2023-10-13	13:18:33	3100	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:33	3100	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-bleu-noir' AND `virtuemart_product_id` != 1862592
2023-10-13	13:18:33	3100	[DEBUG]	Query for ProductLang
2023-10-13	13:18:33	3100	[DEBUG]	Executed store
2023-10-13	13:18:33	3100	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC320BK',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / Bleu-noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-bleu-noir' WHERE `virtuemart_product_id` = '1862592'
2023-10-13	13:18:33	3100	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29981_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:33	3100	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:33	3100	[DEBUG]	Process image file
2023-10-13	13:18:33	3100	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:33	3100	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:33	3100	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29981_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:33	3100	[DEBUG]	Full name target: bcprisme/29981_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:34	3100	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:34	3100	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29981_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:18:34	3100	[DEBUG]	Query for Media
2023-10-13	13:18:34	3100	[DEBUG]	Executed store
2023-10-13	13:18:34	3100	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29981_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29981_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13075'
2023-10-13	13:18:34	3100	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:34	3100	[DEBUG]	Executed store
2023-10-13	13:18:34	3100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862592','13075','1')
2023-10-13	13:18:34	3100	[DEBUG]	Store product image relation
2023-10-13	13:18:34	3100	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:34	3100	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862592 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:34	3100	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:34	3100	[DEBUG]	Executed store
2023-10-13	13:18:34	3100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862592','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:16:48','1593','2023-10-13 13:16:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:34	3100	[DEBUG]	Checking manufacturer
2023-10-13	13:18:34	3100	[DEBUG]	Load a row
2023-10-13	13:18:34	3100	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:34	3100	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:18:34	3100	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:34	3100	[DEBUG]	Executed store
2023-10-13	13:18:34	3100	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:18:34	3100	[DEBUG]	Manufacturer exists
2023-10-13	13:18:34	3100	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:18:34	3100	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:34	3100	[DEBUG]	Executed store
2023-10-13	13:18:34	3100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862592','22')
2023-10-13	13:18:34	3100	[DEBUG]	Find the custom field ID
2023-10-13	13:18:34	3100	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:34	3100	[DEBUG]	No custom field ID found
2023-10-13	13:18:34	3100	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:34	3100	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:34	3100	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862592 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:34	3100	[DEBUG]	Store custom available field
2023-10-13	13:18:34	3100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862592,3,'8.87527777777778',1)
2023-10-13	13:18:34	3100	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:34	3100	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:34	3100	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862592 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:34	3100	[DEBUG]	Store custom available field
2023-10-13	13:18:34	3100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862592,6,'choisir la taille',3)
2023-10-13	13:18:34	3100	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:34	3100	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:34	3100	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:34	3100	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:34	3100	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862592 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:34	3100	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:34	3100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862592,8,1)
2023-10-13	13:18:34	3100	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:34	3100	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862592\":[1862592,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862592
2023-10-13	13:18:34	3100	[DEBUG]	Checking category
2023-10-13	13:18:34	3100	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:34	3100	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862592
2023-10-13	13:18:34	3100	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:34	3100	[DEBUG]	Executed store
2023-10-13	13:18:34	3100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862592','7366')
2023-10-13	13:18:34	3100	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:34	3100	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862592 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:34	3100	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:34	3100	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862592
2023-10-13	13:18:54	3100	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:18:54	3100	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:18:54	3100	[DEBUG]	Load the fields to process
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: product_sku
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: taille
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: product_name
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: category_path
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: product_price
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: product_override_price
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: product_tax
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: file_url
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: product_desc
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: product_availability
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: product_weight
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: product_unit
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: related_products
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: product_special
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: published
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: metadesc
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: metakey
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: custom_title
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: custom_value
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: custom_param
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: override
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: public_price
2023-10-13	13:18:54	3100	[DEBUG]	Setup field: slug
2023-10-13	13:18:54	3100	[DEBUG]	Use the file for configuration
2023-10-13	13:18:54	3100	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:18:54	3100	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:18:54	3100	[DEBUG]	Load the custom fields
2023-10-13	13:18:54	3100	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:18:54	3100	[DEBUG]	Load stockable custom fields
2023-10-13	13:18:54	3100	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:18:54	3100	[DEBUG]	Load custom fields for all
2023-10-13	13:18:54	3100	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:18:54	3101	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:54	3101	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:54	3101	[DEBUG]	Use field value for field taille
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:54	3101	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:54	3101	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:54	3101	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:54	3101	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:54	3101	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:54	3101	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:54	3101	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:54	3101	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:54	3101	[DEBUG]	Use field value for field published
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:54	3101	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field override
2023-10-13	13:18:54	3101	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:54	3101	[DEBUG]	Use field value for field slug
2023-10-13	13:18:54	3101	[DEBUG]	Process line 3101
2023-10-13	13:18:54	3101	[DEBUG]	Check if the vendor exists
2023-10-13	13:18:54	3101	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '8435466214883'
2023-10-13	13:18:54	3101	[DEBUG]	Load a row
2023-10-13	13:18:54	3101	[DEBUG]	Processing item: 8435466214883
2023-10-13	13:18:54	3101	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:54	3101	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:54	3101	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5483_71'
2023-10-13	13:18:54	3101	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:54	3101	[DEBUG]	Processing product tax
2023-10-13	13:18:54	3101	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:54	3101	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:54	3101	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:54	3101	[DEBUG]	Query for Product
2023-10-13	13:18:54	3101	[DEBUG]	Executed store
2023-10-13	13:18:54	3101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862592','8435466214883','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:18:54	3101	[DEBUG]	No parent found
2023-10-13	13:18:54	3101	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862592 AND customfield_value = 'stockable'
2023-10-13	13:18:54	3101	[DEBUG]	Check product language entry
2023-10-13	13:18:54	3101	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862593
2023-10-13	13:18:54	3101	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:54	3101	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214883' AND `virtuemart_product_id` != 1862593
2023-10-13	13:18:54	3101	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:54	3101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862593, '8435466214883')
2023-10-13	13:18:54	3101	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:54	3101	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-bleu-noir-unitaire' AND `virtuemart_product_id` != 1862593
2023-10-13	13:18:54	3101	[DEBUG]	Query for ProductLang
2023-10-13	13:18:54	3101	[DEBUG]	Executed store
2023-10-13	13:18:54	3101	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / Bleu-noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-bleu-noir-unitaire' WHERE `virtuemart_product_id` = '1862593'
2023-10-13	13:18:54	3101	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29981_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:54	3101	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:54	3101	[DEBUG]	Process image file
2023-10-13	13:18:54	3101	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:54	3101	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:54	3101	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29981_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:54	3101	[DEBUG]	Full name target: bcprisme/29981_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:55	3101	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:55	3101	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29981_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:18:55	3101	[DEBUG]	Query for Media
2023-10-13	13:18:55	3101	[DEBUG]	Executed store
2023-10-13	13:18:55	3101	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29981_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29981_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13075'
2023-10-13	13:18:55	3101	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:55	3101	[DEBUG]	Executed store
2023-10-13	13:18:55	3101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862593','13075','1')
2023-10-13	13:18:55	3101	[DEBUG]	Store product image relation
2023-10-13	13:18:55	3101	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:55	3101	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862593 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:55	3101	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:55	3101	[DEBUG]	Executed store
2023-10-13	13:18:55	3101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862593','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:55	3101	[DEBUG]	Checking manufacturer
2023-10-13	13:18:55	3101	[DEBUG]	Load a row
2023-10-13	13:18:55	3101	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:55	3101	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:18:55	3101	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:55	3101	[DEBUG]	Executed store
2023-10-13	13:18:55	3101	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:18:55	3101	[DEBUG]	Manufacturer exists
2023-10-13	13:18:55	3101	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:18:55	3101	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:55	3101	[DEBUG]	Executed store
2023-10-13	13:18:55	3101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862593','22')
2023-10-13	13:18:55	3101	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:55	3101	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:55	3101	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862593 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:55	3101	[DEBUG]	Store custom available field
2023-10-13	13:18:55	3101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862593,3,'',1)
2023-10-13	13:18:55	3101	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:55	3101	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:55	3101	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862593 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:55	3101	[DEBUG]	Store custom available field
2023-10-13	13:18:55	3101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862593,6,'Unitaire',3)
2023-10-13	13:18:55	3101	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:55	3101	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:55	3101	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862592
2023-10-13	13:18:55	3101	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:55	3101	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862592\":[1862592,8,1,\"choisir la taille\"],\"1862593\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862592
2023-10-13	13:18:55	3101	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:55	3101	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862593
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:55	3102	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field taille
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:55	3102	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:55	3102	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:55	3102	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:55	3102	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:55	3102	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:55	3102	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field published
2023-10-13	13:18:55	3102	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:55	3102	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field override
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:55	3102	[DEBUG]	Use field value for field slug
2023-10-13	13:18:55	3102	[DEBUG]	Process line 3102
2023-10-13	13:18:55	3102	[DEBUG]	Load a row
2023-10-13	13:18:55	3102	[DEBUG]	Processing item: A_5483_149
2023-10-13	13:18:55	3102	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:55	3102	[DEBUG]	Processing product tax
2023-10-13	13:18:55	3102	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:55	3102	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:55	3102	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:55	3102	[DEBUG]	Query for Product
2023-10-13	13:18:55	3102	[DEBUG]	Executed store
2023-10-13	13:18:55	3102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5483_149','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:18:55	3102	[DEBUG]	Check product language entry
2023-10-13	13:18:55	3102	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862594
2023-10-13	13:18:55	3102	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:55	3102	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5483_149' AND `virtuemart_product_id` != 1862594
2023-10-13	13:18:55	3102	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:55	3102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862594, 'A_5483_149')
2023-10-13	13:18:55	3102	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:55	3102	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-vert-noir' AND `virtuemart_product_id` != 1862594
2023-10-13	13:18:55	3102	[DEBUG]	Query for ProductLang
2023-10-13	13:18:55	3102	[DEBUG]	Executed store
2023-10-13	13:18:55	3102	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC320BK',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / VERT-NOIR',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-vert-noir' WHERE `virtuemart_product_id` = '1862594'
2023-10-13	13:18:55	3102	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29980_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:55	3102	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:55	3102	[DEBUG]	Process image file
2023-10-13	13:18:55	3102	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:55	3102	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:55	3102	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29980_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:55	3102	[DEBUG]	Full name target: bcprisme/29980_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:56	3102	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:56	3102	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29980_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:18:56	3102	[DEBUG]	Query for Media
2023-10-13	13:18:56	3102	[DEBUG]	Executed store
2023-10-13	13:18:56	3102	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29980_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29980_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13076'
2023-10-13	13:18:56	3102	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:56	3102	[DEBUG]	Executed store
2023-10-13	13:18:56	3102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862594','13076','1')
2023-10-13	13:18:56	3102	[DEBUG]	Store product image relation
2023-10-13	13:18:56	3102	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:56	3102	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862594 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:56	3102	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:56	3102	[DEBUG]	Executed store
2023-10-13	13:18:56	3102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862594','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:56	3102	[DEBUG]	Checking manufacturer
2023-10-13	13:18:56	3102	[DEBUG]	Load a row
2023-10-13	13:18:56	3102	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:56	3102	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:18:56	3102	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:56	3102	[DEBUG]	Executed store
2023-10-13	13:18:56	3102	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:18:56	3102	[DEBUG]	Manufacturer exists
2023-10-13	13:18:56	3102	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:18:56	3102	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:56	3102	[DEBUG]	Executed store
2023-10-13	13:18:56	3102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862594','22')
2023-10-13	13:18:56	3102	[DEBUG]	Find the custom field ID
2023-10-13	13:18:56	3102	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:56	3102	[DEBUG]	No custom field ID found
2023-10-13	13:18:56	3102	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:56	3102	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:56	3102	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862594 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:56	3102	[DEBUG]	Store custom available field
2023-10-13	13:18:56	3102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862594,3,'8.87527777777778',1)
2023-10-13	13:18:56	3102	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:56	3102	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:56	3102	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862594 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:56	3102	[DEBUG]	Store custom available field
2023-10-13	13:18:56	3102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862594,6,'choisir la taille',3)
2023-10-13	13:18:56	3102	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:56	3102	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:56	3102	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:56	3102	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:56	3102	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862594 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:56	3102	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:56	3102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862594,8,1)
2023-10-13	13:18:56	3102	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:56	3102	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862594\":[1862594,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862594
2023-10-13	13:18:56	3102	[DEBUG]	Checking category
2023-10-13	13:18:56	3102	[DEBUG]	Check if category path exists: HYDRATATION - HYDRATATION
2023-10-13	13:18:56	3102	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'HYDRATATION - HYDRATATION' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:18:56	3102	[DEBUG]	Check if category path exists: PORTE-BIDONS - BIDONHALTER
2023-10-13	13:18:56	3102	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PORTE-BIDONS - BIDONHALTER' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7363
2023-10-13	13:18:56	3102	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:56	3102	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862594
2023-10-13	13:18:56	3102	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:56	3102	[DEBUG]	Executed store
2023-10-13	13:18:56	3102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862594','7366')
2023-10-13	13:18:56	3102	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:56	3102	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862594 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:56	3102	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:56	3102	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862594
2023-10-13	13:18:56	3103	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:56	3103	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:56	3103	[DEBUG]	Use field value for field taille
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:56	3103	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:56	3103	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:56	3103	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:56	3103	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:56	3103	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:56	3103	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:56	3103	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:56	3103	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:56	3103	[DEBUG]	Use field value for field published
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:56	3103	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field override
2023-10-13	13:18:56	3103	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:56	3103	[DEBUG]	Use field value for field slug
2023-10-13	13:18:56	3103	[DEBUG]	Process line 3103
2023-10-13	13:18:56	3103	[DEBUG]	Load a row
2023-10-13	13:18:56	3103	[DEBUG]	Processing item: 8435466214944
2023-10-13	13:18:56	3103	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:56	3103	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:56	3103	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5483_149'
2023-10-13	13:18:56	3103	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:56	3103	[DEBUG]	Processing product tax
2023-10-13	13:18:56	3103	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:56	3103	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:56	3103	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:56	3103	[DEBUG]	Query for Product
2023-10-13	13:18:56	3103	[DEBUG]	Executed store
2023-10-13	13:18:56	3103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862594','8435466214944','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:18:56	3103	[DEBUG]	No parent found
2023-10-13	13:18:56	3103	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862594 AND customfield_value = 'stockable'
2023-10-13	13:18:56	3103	[DEBUG]	Check product language entry
2023-10-13	13:18:56	3103	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862595
2023-10-13	13:18:56	3103	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:56	3103	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214944' AND `virtuemart_product_id` != 1862595
2023-10-13	13:18:56	3103	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:56	3103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862595, '8435466214944')
2023-10-13	13:18:56	3103	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:56	3103	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-vert-noir-unitaire' AND `virtuemart_product_id` != 1862595
2023-10-13	13:18:56	3103	[DEBUG]	Query for ProductLang
2023-10-13	13:18:56	3103	[DEBUG]	Executed store
2023-10-13	13:18:56	3103	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / VERT-NOIR (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-vert-noir-unitaire' WHERE `virtuemart_product_id` = '1862595'
2023-10-13	13:18:56	3103	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29980_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:56	3103	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:56	3103	[DEBUG]	Process image file
2023-10-13	13:18:56	3103	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:56	3103	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:56	3103	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29980_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:56	3103	[DEBUG]	Full name target: bcprisme/29980_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:57	3103	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:57	3103	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29980_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:18:57	3103	[DEBUG]	Query for Media
2023-10-13	13:18:57	3103	[DEBUG]	Executed store
2023-10-13	13:18:57	3103	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29980_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29980_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13076'
2023-10-13	13:18:57	3103	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:57	3103	[DEBUG]	Executed store
2023-10-13	13:18:57	3103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862595','13076','1')
2023-10-13	13:18:57	3103	[DEBUG]	Store product image relation
2023-10-13	13:18:57	3103	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:57	3103	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862595 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:57	3103	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:57	3103	[DEBUG]	Executed store
2023-10-13	13:18:57	3103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862595','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:57	3103	[DEBUG]	Checking manufacturer
2023-10-13	13:18:57	3103	[DEBUG]	Load a row
2023-10-13	13:18:57	3103	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:57	3103	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:18:57	3103	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:57	3103	[DEBUG]	Executed store
2023-10-13	13:18:57	3103	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:18:57	3103	[DEBUG]	Manufacturer exists
2023-10-13	13:18:57	3103	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:18:57	3103	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:57	3103	[DEBUG]	Executed store
2023-10-13	13:18:57	3103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862595','22')
2023-10-13	13:18:57	3103	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:57	3103	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:18:57	3103	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862595 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:57	3103	[DEBUG]	Store custom available field
2023-10-13	13:18:57	3103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862595,3,'',1)
2023-10-13	13:18:57	3103	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:57	3103	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:18:57	3103	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862595 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:57	3103	[DEBUG]	Store custom available field
2023-10-13	13:18:57	3103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862595,6,'Unitaire',3)
2023-10-13	13:18:57	3103	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:57	3103	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:18:57	3103	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862594
2023-10-13	13:18:57	3103	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:57	3103	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862594\":[1862594,8,1,\"choisir la taille\"],\"1862595\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862594
2023-10-13	13:18:57	3103	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:57	3103	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862595
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:57	3104	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field taille
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field category_path
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:57	3104	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:18:57	3104	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:57	3104	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field product_weight
2023-10-13	13:18:57	3104	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:57	3104	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:57	3104	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field published
2023-10-13	13:18:57	3104	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:57	3104	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field custom_title
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field custom_param
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field override
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field public_price
2023-10-13	13:18:57	3104	[DEBUG]	Use field value for field slug
2023-10-13	13:18:57	3104	[DEBUG]	Process line 3104
2023-10-13	13:18:57	3104	[DEBUG]	Load a row
2023-10-13	13:18:57	3104	[DEBUG]	Processing item: A_5483_177
2023-10-13	13:18:57	3104	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:57	3104	[DEBUG]	Processing product tax
2023-10-13	13:18:57	3104	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:57	3104	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:57	3104	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:57	3104	[DEBUG]	Query for Product
2023-10-13	13:18:57	3104	[DEBUG]	Executed store
2023-10-13	13:18:57	3104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5483_177','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:18:57	3104	[DEBUG]	Check product language entry
2023-10-13	13:18:57	3104	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862596
2023-10-13	13:18:57	3104	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:57	3104	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5483_177' AND `virtuemart_product_id` != 1862596
2023-10-13	13:18:57	3104	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:57	3104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862596, 'A_5483_177')
2023-10-13	13:18:57	3104	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:57	3104	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-orange-noir' AND `virtuemart_product_id` != 1862596
2023-10-13	13:18:57	3104	[DEBUG]	Query for ProductLang
2023-10-13	13:18:57	3104	[DEBUG]	Executed store
2023-10-13	13:18:57	3104	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC320BK',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / ORANGE-NOIR',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-orange-noir' WHERE `virtuemart_product_id` = '1862596'
2023-10-13	13:18:57	3104	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29978_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:57	3104	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:57	3104	[DEBUG]	Process image file
2023-10-13	13:18:58	3104	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:58	3104	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:58	3104	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29978_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:58	3104	[DEBUG]	Full name target: bcprisme/29978_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:58	3104	[DEBUG]	Checking if the file_url exists
2023-10-13	13:18:58	3104	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29978_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:18:58	3104	[DEBUG]	Query for Media
2023-10-13	13:18:58	3104	[DEBUG]	Executed store
2023-10-13	13:18:58	3104	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29978_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29978_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13077'
2023-10-13	13:18:58	3104	[DEBUG]	Query for ProductMedia
2023-10-13	13:18:58	3104	[DEBUG]	Executed store
2023-10-13	13:18:58	3104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862596','13077','1')
2023-10-13	13:18:58	3104	[DEBUG]	Store product image relation
2023-10-13	13:18:58	3104	[DEBUG]	Finding a product_price_id
2023-10-13	13:18:58	3104	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862596 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:18:58	3104	[DEBUG]	Query for ProductPrice
2023-10-13	13:18:58	3104	[DEBUG]	Executed store
2023-10-13	13:18:58	3104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862596','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:18:58	3104	[DEBUG]	Checking manufacturer
2023-10-13	13:18:58	3104	[DEBUG]	Load a row
2023-10-13	13:18:58	3104	[DEBUG]	Manufacturer already exists
2023-10-13	13:18:58	3104	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:18:58	3104	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:18:58	3104	[DEBUG]	Executed store
2023-10-13	13:18:58	3104	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:18:58	3104	[DEBUG]	Manufacturer exists
2023-10-13	13:18:58	3104	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:18:58	3104	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:18:58	3104	[DEBUG]	Executed store
2023-10-13	13:18:58	3104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862596','22')
2023-10-13	13:18:59	3104	[DEBUG]	Find the custom field ID
2023-10-13	13:18:59	3104	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:18:59	3104	[DEBUG]	No custom field ID found
2023-10-13	13:18:59	3104	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:18:59	3104	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:18:59	3104	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862596 AND `virtuemart_custom_id` = 3
2023-10-13	13:18:59	3104	[DEBUG]	Store custom available field
2023-10-13	13:18:59	3104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862596,3,'8.87527777777778',1)
2023-10-13	13:18:59	3104	[DEBUG]	Processing custom available field: taille
2023-10-13	13:18:59	3104	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:18:59	3104	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862596 AND `virtuemart_custom_id` = 6
2023-10-13	13:18:59	3104	[DEBUG]	Store custom available field
2023-10-13	13:18:59	3104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862596,6,'choisir la taille',3)
2023-10-13	13:18:59	3104	[DEBUG]	Process multi-variant fields
2023-10-13	13:18:59	3104	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:18:59	3104	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:18:59	3104	[DEBUG]	Find the multi variant product entry
2023-10-13	13:18:59	3104	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862596 AND `virtuemart_custom_id` = 8
2023-10-13	13:18:59	3104	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:18:59	3104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862596,8,1)
2023-10-13	13:18:59	3104	[DEBUG]	Store the updated customfield_params
2023-10-13	13:18:59	3104	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862596\":[1862596,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862596
2023-10-13	13:18:59	3104	[DEBUG]	Checking category
2023-10-13	13:18:59	3104	[DEBUG]	Get the existing categories for the product
2023-10-13	13:18:59	3104	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862596
2023-10-13	13:18:59	3104	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:18:59	3104	[DEBUG]	Executed store
2023-10-13	13:18:59	3104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862596','7366')
2023-10-13	13:18:59	3104	[DEBUG]	Delete leftover product categories
2023-10-13	13:18:59	3104	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862596 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:18:59	3104	[DEBUG]	Update has fields after all processing
2023-10-13	13:18:59	3104	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862596
2023-10-13	13:18:59	3105	[DEBUG]	Use field value for field product_sku
2023-10-13	13:18:59	3105	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:18:59	3105	[DEBUG]	Use field value for field taille
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:18:59	3105	[DEBUG]	Use field value for field product_name
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field category_path
2023-10-13	13:18:59	3105	[DEBUG]	Use field value for field product_price
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:18:59	3105	[DEBUG]	Use field value for field product_tax
2023-10-13	13:18:59	3105	[DEBUG]	Use field value for field file_url
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field product_desc
2023-10-13	13:18:59	3105	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:18:59	3105	[DEBUG]	Use field value for field product_availability
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field product_weight
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field product_unit
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field related_products
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field product_special
2023-10-13	13:18:59	3105	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:18:59	3105	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:18:59	3105	[DEBUG]	Use field value for field published
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field metadesc
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field metakey
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field custom_title
2023-10-13	13:18:59	3105	[DEBUG]	Use field value for field custom_value
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field custom_param
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field override
2023-10-13	13:18:59	3105	[DEBUG]	Use default value for field public_price
2023-10-13	13:18:59	3105	[DEBUG]	Use field value for field slug
2023-10-13	13:18:59	3105	[DEBUG]	Process line 3105
2023-10-13	13:18:59	3105	[DEBUG]	Load a row
2023-10-13	13:18:59	3105	[DEBUG]	Processing item: 8435466214920
2023-10-13	13:18:59	3105	[DEBUG]	Looking for parent SKU
2023-10-13	13:18:59	3105	[DEBUG]	Checking product parent SKU
2023-10-13	13:18:59	3105	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5483_177'
2023-10-13	13:18:59	3105	[DEBUG]	Product tax: 7.7
2023-10-13	13:18:59	3105	[DEBUG]	Processing product tax
2023-10-13	13:18:59	3105	[DEBUG]	Check if calculation rule exists
2023-10-13	13:18:59	3105	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:18:59	3105	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:18:59	3105	[DEBUG]	Query for Product
2023-10-13	13:18:59	3105	[DEBUG]	Executed store
2023-10-13	13:18:59	3105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862596','8435466214920','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:18:59	3105	[DEBUG]	No parent found
2023-10-13	13:18:59	3105	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862596 AND customfield_value = 'stockable'
2023-10-13	13:18:59	3105	[DEBUG]	Check product language entry
2023-10-13	13:18:59	3105	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862597
2023-10-13	13:18:59	3105	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:59	3105	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214920' AND `virtuemart_product_id` != 1862597
2023-10-13	13:18:59	3105	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:18:59	3105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862597, '8435466214920')
2023-10-13	13:18:59	3105	[DEBUG]	Check if the product slug exists
2023-10-13	13:18:59	3105	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-orange-noir-unitaire' AND `virtuemart_product_id` != 1862597
2023-10-13	13:18:59	3105	[DEBUG]	Query for ProductLang
2023-10-13	13:18:59	3105	[DEBUG]	Executed store
2023-10-13	13:18:59	3105	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / ORANGE-NOIR (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-orange-noir-unitaire' WHERE `virtuemart_product_id` = '1862597'
2023-10-13	13:18:59	3105	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29978_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:59	3105	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:59	3105	[DEBUG]	Process image file
2023-10-13	13:18:59	3105	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:18:59	3105	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:18:59	3105	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29978_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:18:59	3105	[DEBUG]	Full name target: bcprisme/29978_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:00	3105	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:00	3105	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29978_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:19:00	3105	[DEBUG]	Query for Media
2023-10-13	13:19:00	3105	[DEBUG]	Executed store
2023-10-13	13:19:00	3105	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29978_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29978_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13077'
2023-10-13	13:19:00	3105	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:00	3105	[DEBUG]	Executed store
2023-10-13	13:19:00	3105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862597','13077','1')
2023-10-13	13:19:00	3105	[DEBUG]	Store product image relation
2023-10-13	13:19:00	3105	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:00	3105	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862597 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:00	3105	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:00	3105	[DEBUG]	Executed store
2023-10-13	13:19:00	3105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862597','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:00	3105	[DEBUG]	Checking manufacturer
2023-10-13	13:19:00	3105	[DEBUG]	Load a row
2023-10-13	13:19:00	3105	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:00	3105	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:00	3105	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:00	3105	[DEBUG]	Executed store
2023-10-13	13:19:00	3105	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:00	3105	[DEBUG]	Manufacturer exists
2023-10-13	13:19:00	3105	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:19:00	3105	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:00	3105	[DEBUG]	Executed store
2023-10-13	13:19:00	3105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862597','22')
2023-10-13	13:19:00	3105	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:00	3105	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:00	3105	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862597 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:00	3105	[DEBUG]	Store custom available field
2023-10-13	13:19:00	3105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862597,3,'',1)
2023-10-13	13:19:00	3105	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:00	3105	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:00	3105	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862597 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:00	3105	[DEBUG]	Store custom available field
2023-10-13	13:19:00	3105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862597,6,'Unitaire',3)
2023-10-13	13:19:00	3105	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:00	3105	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:00	3105	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862596
2023-10-13	13:19:00	3105	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:00	3105	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862596\":[1862596,8,1,\"choisir la taille\"],\"1862597\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862596
2023-10-13	13:19:00	3105	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:00	3105	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862597
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:00	3106	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field taille
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:00	3106	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:00	3106	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:00	3106	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:00	3106	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:00	3106	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:00	3106	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field published
2023-10-13	13:19:00	3106	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:00	3106	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field override
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:00	3106	[DEBUG]	Use field value for field slug
2023-10-13	13:19:00	3106	[DEBUG]	Process line 3106
2023-10-13	13:19:00	3106	[DEBUG]	Load a row
2023-10-13	13:19:00	3106	[DEBUG]	Processing item: A_5483_179
2023-10-13	13:19:00	3106	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:00	3106	[DEBUG]	Processing product tax
2023-10-13	13:19:00	3106	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:00	3106	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:00	3106	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:00	3106	[DEBUG]	Query for Product
2023-10-13	13:19:00	3106	[DEBUG]	Executed store
2023-10-13	13:19:00	3106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5483_179','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:00	3106	[DEBUG]	Check product language entry
2023-10-13	13:19:00	3106	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862598
2023-10-13	13:19:00	3106	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:00	3106	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5483_179' AND `virtuemart_product_id` != 1862598
2023-10-13	13:19:00	3106	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:00	3106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862598, 'A_5483_179')
2023-10-13	13:19:00	3106	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:00	3106	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-jaune-noir' AND `virtuemart_product_id` != 1862598
2023-10-13	13:19:00	3106	[DEBUG]	Query for ProductLang
2023-10-13	13:19:00	3106	[DEBUG]	Executed store
2023-10-13	13:19:00	3106	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC320BK',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / Jaune-noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-jaune-noir' WHERE `virtuemart_product_id` = '1862598'
2023-10-13	13:19:00	3106	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29979_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:00	3106	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:00	3106	[DEBUG]	Process image file
2023-10-13	13:19:00	3106	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:00	3106	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:00	3106	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29979_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:00	3106	[DEBUG]	Full name target: bcprisme/29979_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:01	3106	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:01	3106	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29979_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:19:01	3106	[DEBUG]	Query for Media
2023-10-13	13:19:01	3106	[DEBUG]	Executed store
2023-10-13	13:19:01	3106	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29979_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29979_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13078'
2023-10-13	13:19:01	3106	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:01	3106	[DEBUG]	Executed store
2023-10-13	13:19:01	3106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862598','13078','1')
2023-10-13	13:19:01	3106	[DEBUG]	Store product image relation
2023-10-13	13:19:01	3106	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:01	3106	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862598 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:01	3106	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:01	3106	[DEBUG]	Executed store
2023-10-13	13:19:01	3106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862598','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:01	3106	[DEBUG]	Checking manufacturer
2023-10-13	13:19:01	3106	[DEBUG]	Load a row
2023-10-13	13:19:01	3106	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:01	3106	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:01	3106	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:01	3106	[DEBUG]	Executed store
2023-10-13	13:19:01	3106	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:01	3106	[DEBUG]	Manufacturer exists
2023-10-13	13:19:01	3106	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:19:01	3106	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:01	3106	[DEBUG]	Executed store
2023-10-13	13:19:01	3106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862598','22')
2023-10-13	13:19:01	3106	[DEBUG]	Find the custom field ID
2023-10-13	13:19:01	3106	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:01	3106	[DEBUG]	No custom field ID found
2023-10-13	13:19:01	3106	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:01	3106	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:01	3106	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862598 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:01	3106	[DEBUG]	Store custom available field
2023-10-13	13:19:01	3106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862598,3,'8.87527777777778',1)
2023-10-13	13:19:01	3106	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:01	3106	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:01	3106	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862598 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:01	3106	[DEBUG]	Store custom available field
2023-10-13	13:19:01	3106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862598,6,'choisir la taille',3)
2023-10-13	13:19:01	3106	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:01	3106	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:01	3106	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:01	3106	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:01	3106	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862598 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:01	3106	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:01	3106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862598,8,1)
2023-10-13	13:19:01	3106	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:01	3106	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862598\":[1862598,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862598
2023-10-13	13:19:01	3106	[DEBUG]	Checking category
2023-10-13	13:19:01	3106	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:01	3106	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862598
2023-10-13	13:19:01	3106	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:01	3106	[DEBUG]	Executed store
2023-10-13	13:19:01	3106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862598','7366')
2023-10-13	13:19:01	3106	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:01	3106	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862598 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:01	3106	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:01	3106	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862598
2023-10-13	13:19:01	3107	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:01	3107	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:01	3107	[DEBUG]	Use field value for field taille
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:01	3107	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:01	3107	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:01	3107	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:01	3107	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:01	3107	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:01	3107	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:01	3107	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:01	3107	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:01	3107	[DEBUG]	Use field value for field published
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:01	3107	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field override
2023-10-13	13:19:01	3107	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:01	3107	[DEBUG]	Use field value for field slug
2023-10-13	13:19:01	3107	[DEBUG]	Process line 3107
2023-10-13	13:19:01	3107	[DEBUG]	Load a row
2023-10-13	13:19:01	3107	[DEBUG]	Processing item: 8435466214906
2023-10-13	13:19:01	3107	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:01	3107	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:01	3107	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5483_179'
2023-10-13	13:19:01	3107	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:01	3107	[DEBUG]	Processing product tax
2023-10-13	13:19:01	3107	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:01	3107	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:01	3107	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:01	3107	[DEBUG]	Query for Product
2023-10-13	13:19:01	3107	[DEBUG]	Executed store
2023-10-13	13:19:01	3107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862598','8435466214906','0','KG','M','','11','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:01	3107	[DEBUG]	No parent found
2023-10-13	13:19:01	3107	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862598 AND customfield_value = 'stockable'
2023-10-13	13:19:01	3107	[DEBUG]	Check product language entry
2023-10-13	13:19:01	3107	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862599
2023-10-13	13:19:01	3107	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:01	3107	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214906' AND `virtuemart_product_id` != 1862599
2023-10-13	13:19:01	3107	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:01	3107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862599, '8435466214906')
2023-10-13	13:19:01	3107	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:01	3107	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-jaune-noir-unitaire' AND `virtuemart_product_id` != 1862599
2023-10-13	13:19:01	3107	[DEBUG]	Query for ProductLang
2023-10-13	13:19:01	3107	[DEBUG]	Executed store
2023-10-13	13:19:01	3107	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / Jaune-noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-jaune-noir-unitaire' WHERE `virtuemart_product_id` = '1862599'
2023-10-13	13:19:01	3107	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29979_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:01	3107	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:01	3107	[DEBUG]	Process image file
2023-10-13	13:19:01	3107	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:01	3107	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:01	3107	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29979_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:01	3107	[DEBUG]	Full name target: bcprisme/29979_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:02	3107	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:02	3107	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29979_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:19:02	3107	[DEBUG]	Query for Media
2023-10-13	13:19:02	3107	[DEBUG]	Executed store
2023-10-13	13:19:02	3107	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29979_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29979_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13078'
2023-10-13	13:19:02	3107	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:02	3107	[DEBUG]	Executed store
2023-10-13	13:19:02	3107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862599','13078','1')
2023-10-13	13:19:02	3107	[DEBUG]	Store product image relation
2023-10-13	13:19:02	3107	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:02	3107	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862599 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:02	3107	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:02	3107	[DEBUG]	Executed store
2023-10-13	13:19:02	3107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862599','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:02	3107	[DEBUG]	Checking manufacturer
2023-10-13	13:19:02	3107	[DEBUG]	Load a row
2023-10-13	13:19:02	3107	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:02	3107	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:02	3107	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:02	3107	[DEBUG]	Executed store
2023-10-13	13:19:02	3107	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:02	3107	[DEBUG]	Manufacturer exists
2023-10-13	13:19:02	3107	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:19:02	3107	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:02	3107	[DEBUG]	Executed store
2023-10-13	13:19:02	3107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862599','22')
2023-10-13	13:19:02	3107	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:02	3107	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:02	3107	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862599 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:02	3107	[DEBUG]	Store custom available field
2023-10-13	13:19:02	3107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862599,3,'',1)
2023-10-13	13:19:02	3107	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:02	3107	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:02	3107	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862599 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:02	3107	[DEBUG]	Store custom available field
2023-10-13	13:19:02	3107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862599,6,'Unitaire',3)
2023-10-13	13:19:02	3107	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:02	3107	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:02	3107	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862598
2023-10-13	13:19:02	3107	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:02	3107	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862598\":[1862598,8,1,\"choisir la taille\"],\"1862599\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862598
2023-10-13	13:19:02	3107	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:02	3107	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862599
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:02	3108	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field taille
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:02	3108	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:02	3108	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:02	3108	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:02	3108	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:02	3108	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:02	3108	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field published
2023-10-13	13:19:02	3108	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:02	3108	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field override
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:02	3108	[DEBUG]	Use field value for field slug
2023-10-13	13:19:02	3108	[DEBUG]	Process line 3108
2023-10-13	13:19:02	3108	[DEBUG]	Load a row
2023-10-13	13:19:02	3108	[DEBUG]	Processing item: A_5483_180
2023-10-13	13:19:02	3108	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:02	3108	[DEBUG]	Processing product tax
2023-10-13	13:19:02	3108	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:02	3108	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:02	3108	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:02	3108	[DEBUG]	Query for Product
2023-10-13	13:19:02	3108	[DEBUG]	Executed store
2023-10-13	13:19:02	3108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5483_180','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:02	3108	[DEBUG]	Check product language entry
2023-10-13	13:19:02	3108	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862600
2023-10-13	13:19:02	3108	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:02	3108	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5483_180' AND `virtuemart_product_id` != 1862600
2023-10-13	13:19:02	3108	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:02	3108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862600, 'A_5483_180')
2023-10-13	13:19:02	3108	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:02	3108	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-rose-noir' AND `virtuemart_product_id` != 1862600
2023-10-13	13:19:02	3108	[DEBUG]	Query for ProductLang
2023-10-13	13:19:02	3108	[DEBUG]	Executed store
2023-10-13	13:19:02	3108	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC320BK',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / Rose-noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-rose-noir' WHERE `virtuemart_product_id` = '1862600'
2023-10-13	13:19:02	3108	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29984_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:02	3108	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:02	3108	[DEBUG]	Process image file
2023-10-13	13:19:02	3108	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:02	3108	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:02	3108	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29984_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:02	3108	[DEBUG]	Full name target: bcprisme/29984_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:03	3108	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:03	3108	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29984_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:19:03	3108	[DEBUG]	Query for Media
2023-10-13	13:19:03	3108	[DEBUG]	Executed store
2023-10-13	13:19:03	3108	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29984_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29984_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13079'
2023-10-13	13:19:03	3108	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:03	3108	[DEBUG]	Executed store
2023-10-13	13:19:03	3108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862600','13079','1')
2023-10-13	13:19:03	3108	[DEBUG]	Store product image relation
2023-10-13	13:19:03	3108	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:03	3108	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862600 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:03	3108	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:03	3108	[DEBUG]	Executed store
2023-10-13	13:19:03	3108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862600','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:03	3108	[DEBUG]	Checking manufacturer
2023-10-13	13:19:03	3108	[DEBUG]	Load a row
2023-10-13	13:19:03	3108	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:03	3108	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:03	3108	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:03	3108	[DEBUG]	Executed store
2023-10-13	13:19:03	3108	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:03	3108	[DEBUG]	Manufacturer exists
2023-10-13	13:19:03	3108	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:19:03	3108	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:03	3108	[DEBUG]	Executed store
2023-10-13	13:19:03	3108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862600','22')
2023-10-13	13:19:03	3108	[DEBUG]	Find the custom field ID
2023-10-13	13:19:03	3108	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:03	3108	[DEBUG]	No custom field ID found
2023-10-13	13:19:03	3108	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:03	3108	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:03	3108	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862600 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:03	3108	[DEBUG]	Store custom available field
2023-10-13	13:19:03	3108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862600,3,'8.87527777777778',1)
2023-10-13	13:19:03	3108	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:03	3108	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:03	3108	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862600 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:03	3108	[DEBUG]	Store custom available field
2023-10-13	13:19:03	3108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862600,6,'choisir la taille',3)
2023-10-13	13:19:03	3108	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:03	3108	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:03	3108	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:03	3108	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:03	3108	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862600 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:03	3108	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:03	3108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862600,8,1)
2023-10-13	13:19:03	3108	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:03	3108	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862600\":[1862600,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862600
2023-10-13	13:19:03	3108	[DEBUG]	Checking category
2023-10-13	13:19:03	3108	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:03	3108	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862600
2023-10-13	13:19:03	3108	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:03	3108	[DEBUG]	Executed store
2023-10-13	13:19:03	3108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862600','7366')
2023-10-13	13:19:03	3108	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:03	3108	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862600 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:03	3108	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:03	3108	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862600
2023-10-13	13:19:03	3109	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:03	3109	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:03	3109	[DEBUG]	Use field value for field taille
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:03	3109	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:03	3109	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:03	3109	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:03	3109	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:03	3109	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:03	3109	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:03	3109	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:03	3109	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:03	3109	[DEBUG]	Use field value for field published
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:03	3109	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field override
2023-10-13	13:19:03	3109	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:03	3109	[DEBUG]	Use field value for field slug
2023-10-13	13:19:03	3109	[DEBUG]	Process line 3109
2023-10-13	13:19:03	3109	[DEBUG]	Load a row
2023-10-13	13:19:03	3109	[DEBUG]	Processing item: 8435466214913
2023-10-13	13:19:03	3109	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:03	3109	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:03	3109	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5483_180'
2023-10-13	13:19:03	3109	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:03	3109	[DEBUG]	Processing product tax
2023-10-13	13:19:03	3109	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:03	3109	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:03	3109	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:03	3109	[DEBUG]	Query for Product
2023-10-13	13:19:03	3109	[DEBUG]	Executed store
2023-10-13	13:19:03	3109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862600','8435466214913','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:03	3109	[DEBUG]	No parent found
2023-10-13	13:19:03	3109	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862600 AND customfield_value = 'stockable'
2023-10-13	13:19:03	3109	[DEBUG]	Check product language entry
2023-10-13	13:19:03	3109	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862601
2023-10-13	13:19:03	3109	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:03	3109	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214913' AND `virtuemart_product_id` != 1862601
2023-10-13	13:19:03	3109	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:03	3109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862601, '8435466214913')
2023-10-13	13:19:03	3109	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:03	3109	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-rose-noir-unitaire' AND `virtuemart_product_id` != 1862601
2023-10-13	13:19:03	3109	[DEBUG]	Query for ProductLang
2023-10-13	13:19:03	3109	[DEBUG]	Executed store
2023-10-13	13:19:03	3109	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / Rose-noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-rose-noir-unitaire' WHERE `virtuemart_product_id` = '1862601'
2023-10-13	13:19:03	3109	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29984_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:03	3109	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:03	3109	[DEBUG]	Process image file
2023-10-13	13:19:03	3109	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:03	3109	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:03	3109	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29984_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:03	3109	[DEBUG]	Full name target: bcprisme/29984_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:04	3109	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:04	3109	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29984_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:19:04	3109	[DEBUG]	Query for Media
2023-10-13	13:19:04	3109	[DEBUG]	Executed store
2023-10-13	13:19:04	3109	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29984_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29984_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13079'
2023-10-13	13:19:04	3109	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:04	3109	[DEBUG]	Executed store
2023-10-13	13:19:04	3109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862601','13079','1')
2023-10-13	13:19:04	3109	[DEBUG]	Store product image relation
2023-10-13	13:19:04	3109	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:04	3109	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862601 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:04	3109	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:04	3109	[DEBUG]	Executed store
2023-10-13	13:19:04	3109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862601','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:04	3109	[DEBUG]	Checking manufacturer
2023-10-13	13:19:04	3109	[DEBUG]	Load a row
2023-10-13	13:19:04	3109	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:04	3109	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:04	3109	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:04	3109	[DEBUG]	Executed store
2023-10-13	13:19:04	3109	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:04	3109	[DEBUG]	Manufacturer exists
2023-10-13	13:19:04	3109	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:19:04	3109	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:04	3109	[DEBUG]	Executed store
2023-10-13	13:19:04	3109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862601','22')
2023-10-13	13:19:04	3109	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:04	3109	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:04	3109	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862601 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:04	3109	[DEBUG]	Store custom available field
2023-10-13	13:19:04	3109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862601,3,'',1)
2023-10-13	13:19:04	3109	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:04	3109	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:04	3109	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862601 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:04	3109	[DEBUG]	Store custom available field
2023-10-13	13:19:04	3109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862601,6,'Unitaire',3)
2023-10-13	13:19:04	3109	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:04	3109	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:04	3109	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862600
2023-10-13	13:19:04	3109	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:04	3109	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862600\":[1862600,8,1,\"choisir la taille\"],\"1862601\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862600
2023-10-13	13:19:04	3109	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:04	3109	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862601
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:04	3110	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field taille
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:04	3110	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:04	3110	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:04	3110	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:04	3110	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:04	3110	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:04	3110	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field published
2023-10-13	13:19:04	3110	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:04	3110	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field override
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:04	3110	[DEBUG]	Use field value for field slug
2023-10-13	13:19:04	3110	[DEBUG]	Process line 3110
2023-10-13	13:19:04	3110	[DEBUG]	Load a row
2023-10-13	13:19:04	3110	[DEBUG]	Processing item: A_5483_241
2023-10-13	13:19:04	3110	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:04	3110	[DEBUG]	Processing product tax
2023-10-13	13:19:04	3110	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:04	3110	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:04	3110	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:04	3110	[DEBUG]	Query for Product
2023-10-13	13:19:04	3110	[DEBUG]	Executed store
2023-10-13	13:19:04	3110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5483_241','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:04	3110	[DEBUG]	Check product language entry
2023-10-13	13:19:04	3110	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862602
2023-10-13	13:19:04	3110	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:04	3110	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5483_241' AND `virtuemart_product_id` != 1862602
2023-10-13	13:19:04	3110	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:04	3110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862602, 'A_5483_241')
2023-10-13	13:19:04	3110	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:04	3110	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-turquoise-noir' AND `virtuemart_product_id` != 1862602
2023-10-13	13:19:04	3110	[DEBUG]	Query for ProductLang
2023-10-13	13:19:04	3110	[DEBUG]	Executed store
2023-10-13	13:19:04	3110	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC320BK',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / TURQUOISE-NOIR',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-turquoise-noir' WHERE `virtuemart_product_id` = '1862602'
2023-10-13	13:19:04	3110	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29982_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:04	3110	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:04	3110	[DEBUG]	Process image file
2023-10-13	13:19:04	3110	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:04	3110	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:04	3110	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29982_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:04	3110	[DEBUG]	Full name target: bcprisme/29982_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:05	3110	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:05	3110	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29982_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:19:05	3110	[DEBUG]	Query for Media
2023-10-13	13:19:05	3110	[DEBUG]	Executed store
2023-10-13	13:19:05	3110	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29982_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29982_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13080'
2023-10-13	13:19:05	3110	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:05	3110	[DEBUG]	Executed store
2023-10-13	13:19:05	3110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862602','13080','1')
2023-10-13	13:19:05	3110	[DEBUG]	Store product image relation
2023-10-13	13:19:05	3110	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:05	3110	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862602 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:05	3110	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:05	3110	[DEBUG]	Executed store
2023-10-13	13:19:05	3110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862602','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:05	3110	[DEBUG]	Checking manufacturer
2023-10-13	13:19:05	3110	[DEBUG]	Load a row
2023-10-13	13:19:05	3110	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:05	3110	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:05	3110	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:05	3110	[DEBUG]	Executed store
2023-10-13	13:19:05	3110	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:05	3110	[DEBUG]	Manufacturer exists
2023-10-13	13:19:05	3110	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:19:05	3110	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:05	3110	[DEBUG]	Executed store
2023-10-13	13:19:05	3110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862602','22')
2023-10-13	13:19:05	3110	[DEBUG]	Find the custom field ID
2023-10-13	13:19:05	3110	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:05	3110	[DEBUG]	No custom field ID found
2023-10-13	13:19:05	3110	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:05	3110	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:05	3110	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862602 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:05	3110	[DEBUG]	Store custom available field
2023-10-13	13:19:05	3110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862602,3,'8.87527777777778',1)
2023-10-13	13:19:05	3110	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:05	3110	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:05	3110	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862602 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:05	3110	[DEBUG]	Store custom available field
2023-10-13	13:19:05	3110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862602,6,'choisir la taille',3)
2023-10-13	13:19:05	3110	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:05	3110	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:05	3110	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:05	3110	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:05	3110	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862602 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:05	3110	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:05	3110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862602,8,1)
2023-10-13	13:19:05	3110	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:05	3110	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862602\":[1862602,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862602
2023-10-13	13:19:05	3110	[DEBUG]	Checking category
2023-10-13	13:19:05	3110	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:05	3110	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862602
2023-10-13	13:19:05	3110	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:05	3110	[DEBUG]	Executed store
2023-10-13	13:19:05	3110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862602','7366')
2023-10-13	13:19:05	3110	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:05	3110	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862602 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:05	3110	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:05	3110	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862602
2023-10-13	13:19:05	3111	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:05	3111	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:05	3111	[DEBUG]	Use field value for field taille
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:05	3111	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:05	3111	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:05	3111	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:05	3111	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:05	3111	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:05	3111	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:05	3111	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:05	3111	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:05	3111	[DEBUG]	Use field value for field published
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:05	3111	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field override
2023-10-13	13:19:05	3111	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:05	3111	[DEBUG]	Use field value for field slug
2023-10-13	13:19:05	3111	[DEBUG]	Process line 3111
2023-10-13	13:19:05	3111	[DEBUG]	Load a row
2023-10-13	13:19:05	3111	[DEBUG]	Processing item: 8435466214951
2023-10-13	13:19:05	3111	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:05	3111	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:05	3111	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5483_241'
2023-10-13	13:19:05	3111	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:05	3111	[DEBUG]	Processing product tax
2023-10-13	13:19:05	3111	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:05	3111	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:05	3111	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:05	3111	[DEBUG]	Query for Product
2023-10-13	13:19:05	3111	[DEBUG]	Executed store
2023-10-13	13:19:05	3111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862602','8435466214951','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:05	3111	[DEBUG]	No parent found
2023-10-13	13:19:05	3111	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862602 AND customfield_value = 'stockable'
2023-10-13	13:19:05	3111	[DEBUG]	Check product language entry
2023-10-13	13:19:05	3111	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862603
2023-10-13	13:19:05	3111	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:05	3111	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214951' AND `virtuemart_product_id` != 1862603
2023-10-13	13:19:05	3111	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:05	3111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862603, '8435466214951')
2023-10-13	13:19:05	3111	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:05	3111	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-turquoise-noir-unitaire' AND `virtuemart_product_id` != 1862603
2023-10-13	13:19:05	3111	[DEBUG]	Query for ProductLang
2023-10-13	13:19:05	3111	[DEBUG]	Executed store
2023-10-13	13:19:05	3111	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / TURQUOISE-NOIR (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-turquoise-noir-unitaire' WHERE `virtuemart_product_id` = '1862603'
2023-10-13	13:19:05	3111	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29982_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:05	3111	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:05	3111	[DEBUG]	Process image file
2023-10-13	13:19:05	3111	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:05	3111	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:05	3111	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29982_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:05	3111	[DEBUG]	Full name target: bcprisme/29982_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:06	3111	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:06	3111	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29982_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:19:06	3111	[DEBUG]	Query for Media
2023-10-13	13:19:06	3111	[DEBUG]	Executed store
2023-10-13	13:19:06	3111	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29982_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29982_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13080'
2023-10-13	13:19:06	3111	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:06	3111	[DEBUG]	Executed store
2023-10-13	13:19:06	3111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862603','13080','1')
2023-10-13	13:19:06	3111	[DEBUG]	Store product image relation
2023-10-13	13:19:06	3111	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:06	3111	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862603 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:06	3111	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:06	3111	[DEBUG]	Executed store
2023-10-13	13:19:06	3111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862603','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:06	3111	[DEBUG]	Checking manufacturer
2023-10-13	13:19:06	3111	[DEBUG]	Load a row
2023-10-13	13:19:06	3111	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:06	3111	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:06	3111	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:06	3111	[DEBUG]	Executed store
2023-10-13	13:19:06	3111	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:06	3111	[DEBUG]	Manufacturer exists
2023-10-13	13:19:06	3111	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:19:06	3111	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:06	3111	[DEBUG]	Executed store
2023-10-13	13:19:06	3111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862603','22')
2023-10-13	13:19:06	3111	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:06	3111	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:06	3111	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862603 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:06	3111	[DEBUG]	Store custom available field
2023-10-13	13:19:06	3111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862603,3,'',1)
2023-10-13	13:19:06	3111	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:06	3111	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:06	3111	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862603 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:06	3111	[DEBUG]	Store custom available field
2023-10-13	13:19:06	3111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862603,6,'Unitaire',3)
2023-10-13	13:19:06	3111	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:06	3111	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:06	3111	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862602
2023-10-13	13:19:06	3111	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:06	3111	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862602\":[1862602,8,1,\"choisir la taille\"],\"1862603\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862602
2023-10-13	13:19:06	3111	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:06	3111	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862603
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:06	3112	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field taille
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:06	3112	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:06	3112	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:06	3112	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:06	3112	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:06	3112	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:06	3112	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field published
2023-10-13	13:19:06	3112	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:06	3112	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field override
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:06	3112	[DEBUG]	Use field value for field slug
2023-10-13	13:19:06	3112	[DEBUG]	Process line 3112
2023-10-13	13:19:06	3112	[DEBUG]	Load a row
2023-10-13	13:19:06	3112	[DEBUG]	Processing item: A_5483_242
2023-10-13	13:19:06	3112	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:06	3112	[DEBUG]	Processing product tax
2023-10-13	13:19:06	3112	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:06	3112	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:06	3112	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:06	3112	[DEBUG]	Query for Product
2023-10-13	13:19:06	3112	[DEBUG]	Executed store
2023-10-13	13:19:06	3112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5483_242','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:06	3112	[DEBUG]	Check product language entry
2023-10-13	13:19:06	3112	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862604
2023-10-13	13:19:06	3112	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:06	3112	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5483_242' AND `virtuemart_product_id` != 1862604
2023-10-13	13:19:06	3112	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:06	3112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862604, 'A_5483_242')
2023-10-13	13:19:06	3112	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:06	3112	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-blanc-noir' AND `virtuemart_product_id` != 1862604
2023-10-13	13:19:06	3112	[DEBUG]	Query for ProductLang
2023-10-13	13:19:06	3112	[DEBUG]	Executed store
2023-10-13	13:19:06	3112	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : MSC320BK',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / BLANC-NOIR',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-blanc-noir' WHERE `virtuemart_product_id` = '1862604'
2023-10-13	13:19:06	3112	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29985_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:06	3112	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:06	3112	[DEBUG]	Process image file
2023-10-13	13:19:06	3112	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:06	3112	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:06	3112	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29985_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:06	3112	[DEBUG]	Full name target: bcprisme/29985_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:07	3112	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:07	3112	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29985_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:19:07	3112	[DEBUG]	Query for Media
2023-10-13	13:19:07	3112	[DEBUG]	Executed store
2023-10-13	13:19:07	3112	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29985_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29985_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13081'
2023-10-13	13:19:07	3112	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:07	3112	[DEBUG]	Executed store
2023-10-13	13:19:07	3112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862604','13081','1')
2023-10-13	13:19:07	3112	[DEBUG]	Store product image relation
2023-10-13	13:19:07	3112	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:07	3112	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862604 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:07	3112	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:07	3112	[DEBUG]	Executed store
2023-10-13	13:19:07	3112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862604','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:07	3112	[DEBUG]	Checking manufacturer
2023-10-13	13:19:07	3112	[DEBUG]	Load a row
2023-10-13	13:19:07	3112	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:07	3112	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:07	3112	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:07	3112	[DEBUG]	Executed store
2023-10-13	13:19:07	3112	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:07	3112	[DEBUG]	Manufacturer exists
2023-10-13	13:19:07	3112	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:19:07	3112	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:07	3112	[DEBUG]	Executed store
2023-10-13	13:19:07	3112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862604','22')
2023-10-13	13:19:07	3112	[DEBUG]	Find the custom field ID
2023-10-13	13:19:07	3112	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:07	3112	[DEBUG]	No custom field ID found
2023-10-13	13:19:07	3112	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:07	3112	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:07	3112	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862604 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:07	3112	[DEBUG]	Store custom available field
2023-10-13	13:19:07	3112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862604,3,'8.87527777777778',1)
2023-10-13	13:19:07	3112	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:07	3112	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:07	3112	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862604 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:07	3112	[DEBUG]	Store custom available field
2023-10-13	13:19:07	3112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862604,6,'choisir la taille',3)
2023-10-13	13:19:07	3112	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:07	3112	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:07	3112	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:07	3112	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:07	3112	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862604 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:07	3112	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:07	3112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862604,8,1)
2023-10-13	13:19:07	3112	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:07	3112	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862604\":[1862604,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862604
2023-10-13	13:19:07	3112	[DEBUG]	Checking category
2023-10-13	13:19:07	3112	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:07	3112	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862604
2023-10-13	13:19:07	3112	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:07	3112	[DEBUG]	Executed store
2023-10-13	13:19:07	3112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862604','7366')
2023-10-13	13:19:07	3112	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:07	3112	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862604 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:07	3112	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:07	3112	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862604
2023-10-13	13:19:07	3113	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:07	3113	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:07	3113	[DEBUG]	Use field value for field taille
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:07	3113	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:07	3113	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:07	3113	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:07	3113	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:07	3113	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:07	3113	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:07	3113	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:07	3113	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:07	3113	[DEBUG]	Use field value for field published
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:07	3113	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field override
2023-10-13	13:19:07	3113	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:07	3113	[DEBUG]	Use field value for field slug
2023-10-13	13:19:07	3113	[DEBUG]	Process line 3113
2023-10-13	13:19:07	3113	[DEBUG]	Load a row
2023-10-13	13:19:07	3113	[DEBUG]	Processing item: 8435466214890
2023-10-13	13:19:07	3113	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:07	3113	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:07	3113	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5483_242'
2023-10-13	13:19:07	3113	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:07	3113	[DEBUG]	Processing product tax
2023-10-13	13:19:07	3113	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:07	3113	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:07	3113	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:07	3113	[DEBUG]	Query for Product
2023-10-13	13:19:07	3113	[DEBUG]	Executed store
2023-10-13	13:19:07	3113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862604','8435466214890','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:07	3113	[DEBUG]	No parent found
2023-10-13	13:19:07	3113	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862604 AND customfield_value = 'stockable'
2023-10-13	13:19:07	3113	[DEBUG]	Check product language entry
2023-10-13	13:19:07	3113	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862605
2023-10-13	13:19:07	3113	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:07	3113	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214890' AND `virtuemart_product_id` != 1862605
2023-10-13	13:19:07	3113	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:07	3113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862605, '8435466214890')
2023-10-13	13:19:07	3113	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:07	3113	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-sh-porte-bidon-msc-polycarbonate-blanc-noir-unitaire' AND `virtuemart_product_id` != 1862605
2023-10-13	13:19:07	3113	[DEBUG]	Query for ProductLang
2023-10-13	13:19:07	3113	[DEBUG]	Executed store
2023-10-13	13:19:07	3113	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike (SH) Porte-bidon MSC polycarbonate  / BLANC-NOIR (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-sh-porte-bidon-msc-polycarbonate-blanc-noir-unitaire' WHERE `virtuemart_product_id` = '1862605'
2023-10-13	13:19:07	3113	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29985_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:07	3113	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:07	3113	[DEBUG]	Process image file
2023-10-13	13:19:07	3113	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:07	3113	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:07	3113	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29985_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:07	3113	[DEBUG]	Full name target: bcprisme/29985_porte-bidon_msc_polycarbonate_.jpg
2023-10-13	13:19:08	3113	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:08	3113	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29985_porte-bidon_msc_polycarbonate_.jpg'
2023-10-13	13:19:08	3113	[DEBUG]	Query for Media
2023-10-13	13:19:08	3113	[DEBUG]	Executed store
2023-10-13	13:19:08	3113	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29985_porte-bidon_msc_polycarbonate_.jpg',`file_url_thumb`='bcprisme/29985_porte-bidon_msc_polycarbonate_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13081'
2023-10-13	13:19:08	3113	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:08	3113	[DEBUG]	Executed store
2023-10-13	13:19:08	3113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862605','13081','1')
2023-10-13	13:19:08	3113	[DEBUG]	Store product image relation
2023-10-13	13:19:08	3113	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:08	3113	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862605 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:08	3113	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:08	3113	[DEBUG]	Executed store
2023-10-13	13:19:08	3113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862605','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:08	3113	[DEBUG]	Checking manufacturer
2023-10-13	13:19:08	3113	[DEBUG]	Load a row
2023-10-13	13:19:08	3113	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:08	3113	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:08	3113	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:08	3113	[DEBUG]	Executed store
2023-10-13	13:19:08	3113	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2016-12-02-07-34-501714850137' WHERE `virtuemart_manufacturer_id` = '22'
2023-10-13	13:19:08	3113	[DEBUG]	Manufacturer exists
2023-10-13	13:19:08	3113	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 22
2023-10-13	13:19:08	3113	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:08	3113	[DEBUG]	Executed store
2023-10-13	13:19:08	3113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862605','22')
2023-10-13	13:19:08	3113	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:08	3113	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:08	3113	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862605 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:08	3113	[DEBUG]	Store custom available field
2023-10-13	13:19:08	3113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862605,3,'',1)
2023-10-13	13:19:08	3113	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:08	3113	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:08	3113	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862605 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:08	3113	[DEBUG]	Store custom available field
2023-10-13	13:19:08	3113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862605,6,'Unitaire',3)
2023-10-13	13:19:08	3113	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:08	3113	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:08	3113	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862604
2023-10-13	13:19:08	3113	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:08	3113	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862604\":[1862604,8,1,\"choisir la taille\"],\"1862605\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862604
2023-10-13	13:19:08	3113	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:08	3113	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862605
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:08	3114	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field taille
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:08	3114	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:08	3114	[DEBUG]	Use default value for field file_url
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:08	3114	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:08	3114	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:08	3114	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:08	3114	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:08	3114	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field published
2023-10-13	13:19:08	3114	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:08	3114	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field override
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:08	3114	[DEBUG]	Use field value for field slug
2023-10-13	13:19:08	3114	[DEBUG]	Process line 3114
2023-10-13	13:19:08	3114	[DEBUG]	Load a row
2023-10-13	13:19:08	3114	[DEBUG]	Processing item: A_5729_1
2023-10-13	13:19:08	3114	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:08	3114	[DEBUG]	Processing product tax
2023-10-13	13:19:08	3114	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:08	3114	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:08	3114	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:08	3114	[DEBUG]	Query for Product
2023-10-13	13:19:08	3114	[DEBUG]	Executed store
2023-10-13	13:19:08	3114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5729_1','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:08	3114	[DEBUG]	Check product language entry
2023-10-13	13:19:08	3114	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862606
2023-10-13	13:19:08	3114	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:08	3114	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5729_1' AND `virtuemart_product_id` != 1862606
2023-10-13	13:19:08	3114	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:08	3114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862606, 'A_5729_1')
2023-10-13	13:19:08	3114	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:08	3114	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-porte-bidon-dual-attack-composite-42-gr-composite-noir' AND `virtuemart_product_id` != 1862606
2023-10-13	13:19:08	3114	[DEBUG]	Query for ProductLang
2023-10-13	13:19:08	3114	[DEBUG]	Executed store
2023-10-13	13:19:08	3114	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : H8239D',`product_name`='<Null> Porte-bidon Dual Attack composite 42 gr. composite / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-porte-bidon-dual-attack-composite-42-gr-composite-noir' WHERE `virtuemart_product_id` = '1862606'
2023-10-13	13:19:08	3114	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:08	3114	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862606 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:08	3114	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:08	3114	[DEBUG]	Executed store
2023-10-13	13:19:08	3114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862606','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:08	3114	[DEBUG]	Checking manufacturer
2023-10-13	13:19:08	3114	[DEBUG]	Manufacturer exists
2023-10-13	13:19:08	3114	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	13:19:08	3114	[DEBUG]	Load a row
2023-10-13	13:19:08	3114	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:08	3114	[DEBUG]	Executed store
2023-10-13	13:19:08	3114	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:19:08	3114	[DEBUG]	Manufacturer exists
2023-10-13	13:19:08	3114	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:19:08	3114	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:08	3114	[DEBUG]	Executed store
2023-10-13	13:19:08	3114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862606','20')
2023-10-13	13:19:08	3114	[DEBUG]	Find the custom field ID
2023-10-13	13:19:08	3114	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:08	3114	[DEBUG]	No custom field ID found
2023-10-13	13:19:08	3114	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:08	3114	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:08	3114	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862606 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:08	3114	[DEBUG]	Store custom available field
2023-10-13	13:19:08	3114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862606,3,'8.87527777777778',1)
2023-10-13	13:19:08	3114	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:08	3114	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:08	3114	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862606 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:08	3114	[DEBUG]	Store custom available field
2023-10-13	13:19:08	3114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862606,6,'choisir la taille',3)
2023-10-13	13:19:08	3114	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:08	3114	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:08	3114	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:08	3114	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:08	3114	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862606 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:08	3114	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:08	3114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862606,8,1)
2023-10-13	13:19:08	3114	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:08	3114	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862606\":[1862606,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862606
2023-10-13	13:19:08	3114	[DEBUG]	Checking category
2023-10-13	13:19:08	3114	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:08	3114	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862606
2023-10-13	13:19:08	3114	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:08	3114	[DEBUG]	Executed store
2023-10-13	13:19:08	3114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862606','7366')
2023-10-13	13:19:08	3114	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:08	3114	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862606 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:08	3114	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:08	3114	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862606
2023-10-13	13:19:08	3115	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:08	3115	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:08	3115	[DEBUG]	Use field value for field taille
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:08	3115	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:08	3115	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:08	3115	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field file_url
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:08	3115	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:08	3115	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:08	3115	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:08	3115	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:08	3115	[DEBUG]	Use field value for field published
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:08	3115	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field override
2023-10-13	13:19:08	3115	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:08	3115	[DEBUG]	Use field value for field slug
2023-10-13	13:19:08	3115	[DEBUG]	Process line 3115
2023-10-13	13:19:08	3115	[DEBUG]	Load a row
2023-10-13	13:19:08	3115	[DEBUG]	Processing item: 8716683109238
2023-10-13	13:19:08	3115	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:08	3115	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:08	3115	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5729_1'
2023-10-13	13:19:08	3115	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:08	3115	[DEBUG]	Processing product tax
2023-10-13	13:19:08	3115	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:08	3115	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:08	3115	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:08	3115	[DEBUG]	Query for Product
2023-10-13	13:19:08	3115	[DEBUG]	Executed store
2023-10-13	13:19:08	3115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862606','8716683109238','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:08	3115	[DEBUG]	No parent found
2023-10-13	13:19:08	3115	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862606 AND customfield_value = 'stockable'
2023-10-13	13:19:08	3115	[DEBUG]	Check product language entry
2023-10-13	13:19:08	3115	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862607
2023-10-13	13:19:08	3115	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:08	3115	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8716683109238' AND `virtuemart_product_id` != 1862607
2023-10-13	13:19:08	3115	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:08	3115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862607, '8716683109238')
2023-10-13	13:19:08	3115	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:08	3115	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-porte-bidon-dual-attack-composite-42-gr-composite-noir-unitaire' AND `virtuemart_product_id` != 1862607
2023-10-13	13:19:08	3115	[DEBUG]	Query for ProductLang
2023-10-13	13:19:08	3115	[DEBUG]	Executed store
2023-10-13	13:19:08	3115	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='<Null> Porte-bidon Dual Attack composite 42 gr. composite / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-porte-bidon-dual-attack-composite-42-gr-composite-noir-unitaire' WHERE `virtuemart_product_id` = '1862607'
2023-10-13	13:19:08	3115	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:08	3115	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862607 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:08	3115	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:08	3115	[DEBUG]	Executed store
2023-10-13	13:19:08	3115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862607','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:08	3115	[DEBUG]	Checking manufacturer
2023-10-13	13:19:08	3115	[DEBUG]	Manufacturer exists
2023-10-13	13:19:08	3115	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	13:19:08	3115	[DEBUG]	Load a row
2023-10-13	13:19:08	3115	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:08	3115	[DEBUG]	Executed store
2023-10-13	13:19:08	3115	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:19:08	3115	[DEBUG]	Manufacturer exists
2023-10-13	13:19:08	3115	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:19:08	3115	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:08	3115	[DEBUG]	Executed store
2023-10-13	13:19:08	3115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862607','20')
2023-10-13	13:19:08	3115	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:08	3115	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:08	3115	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862607 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:08	3115	[DEBUG]	Store custom available field
2023-10-13	13:19:08	3115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862607,3,'',1)
2023-10-13	13:19:08	3115	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:08	3115	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:08	3115	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862607 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:08	3115	[DEBUG]	Store custom available field
2023-10-13	13:19:08	3115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862607,6,'Unitaire',3)
2023-10-13	13:19:08	3115	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:08	3115	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:08	3115	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862606
2023-10-13	13:19:08	3115	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:08	3115	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862606\":[1862606,8,1,\"choisir la taille\"],\"1862607\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862606
2023-10-13	13:19:08	3115	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:08	3115	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862607
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:08	3116	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field taille
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:08	3116	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:08	3116	[DEBUG]	Use default value for field file_url
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:08	3116	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:08	3116	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:08	3116	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:08	3116	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:08	3116	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field published
2023-10-13	13:19:08	3116	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:08	3116	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field override
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:08	3116	[DEBUG]	Use field value for field slug
2023-10-13	13:19:08	3116	[DEBUG]	Process line 3116
2023-10-13	13:19:08	3116	[DEBUG]	Load a row
2023-10-13	13:19:08	3116	[DEBUG]	Processing item: A_5729_53
2023-10-13	13:19:08	3116	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:08	3116	[DEBUG]	Processing product tax
2023-10-13	13:19:08	3116	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:08	3116	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:08	3116	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:08	3116	[DEBUG]	Query for Product
2023-10-13	13:19:08	3116	[DEBUG]	Executed store
2023-10-13	13:19:08	3116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5729_53','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:08	3116	[DEBUG]	Check product language entry
2023-10-13	13:19:08	3116	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862608
2023-10-13	13:19:08	3116	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:08	3116	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5729_53' AND `virtuemart_product_id` != 1862608
2023-10-13	13:19:08	3116	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:08	3116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862608, 'A_5729_53')
2023-10-13	13:19:08	3116	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:08	3116	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-porte-bidon-dual-attack-composite-42-gr-composite-rouge-noir' AND `virtuemart_product_id` != 1862608
2023-10-13	13:19:08	3116	[DEBUG]	Query for ProductLang
2023-10-13	13:19:08	3116	[DEBUG]	Executed store
2023-10-13	13:19:08	3116	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : H8239D',`product_name`='<Null> Porte-bidon Dual Attack composite 42 gr. composite / Rouge-noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-porte-bidon-dual-attack-composite-42-gr-composite-rouge-noir' WHERE `virtuemart_product_id` = '1862608'
2023-10-13	13:19:08	3116	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:08	3116	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862608 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:08	3116	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:08	3116	[DEBUG]	Executed store
2023-10-13	13:19:08	3116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862608','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:08	3116	[DEBUG]	Checking manufacturer
2023-10-13	13:19:08	3116	[DEBUG]	Manufacturer exists
2023-10-13	13:19:08	3116	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	13:19:08	3116	[DEBUG]	Load a row
2023-10-13	13:19:08	3116	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:08	3116	[DEBUG]	Executed store
2023-10-13	13:19:08	3116	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:19:08	3116	[DEBUG]	Manufacturer exists
2023-10-13	13:19:08	3116	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:19:08	3116	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:08	3116	[DEBUG]	Executed store
2023-10-13	13:19:08	3116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862608','20')
2023-10-13	13:19:08	3116	[DEBUG]	Find the custom field ID
2023-10-13	13:19:08	3116	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:08	3116	[DEBUG]	No custom field ID found
2023-10-13	13:19:08	3116	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:08	3116	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:08	3116	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862608 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:08	3116	[DEBUG]	Store custom available field
2023-10-13	13:19:08	3116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862608,3,'8.87527777777778',1)
2023-10-13	13:19:08	3116	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:08	3116	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:08	3116	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862608 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:08	3116	[DEBUG]	Store custom available field
2023-10-13	13:19:08	3116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862608,6,'choisir la taille',3)
2023-10-13	13:19:08	3116	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:08	3116	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:08	3116	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:08	3116	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:08	3116	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862608 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:08	3116	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:08	3116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862608,8,1)
2023-10-13	13:19:08	3116	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:08	3116	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862608\":[1862608,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862608
2023-10-13	13:19:08	3116	[DEBUG]	Checking category
2023-10-13	13:19:08	3116	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:08	3116	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862608
2023-10-13	13:19:08	3116	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:08	3116	[DEBUG]	Executed store
2023-10-13	13:19:08	3116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862608','7366')
2023-10-13	13:19:08	3116	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:08	3116	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862608 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:08	3116	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:08	3116	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862608
2023-10-13	13:19:08	3117	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:08	3117	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:08	3117	[DEBUG]	Use field value for field taille
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:08	3117	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:08	3117	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:08	3117	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field file_url
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:08	3117	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:08	3117	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:08	3117	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:08	3117	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:08	3117	[DEBUG]	Use field value for field published
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:08	3117	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field override
2023-10-13	13:19:08	3117	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:08	3117	[DEBUG]	Use field value for field slug
2023-10-13	13:19:08	3117	[DEBUG]	Process line 3117
2023-10-13	13:19:08	3117	[DEBUG]	Load a row
2023-10-13	13:19:08	3117	[DEBUG]	Processing item: 8716683109252
2023-10-13	13:19:08	3117	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:08	3117	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:08	3117	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5729_53'
2023-10-13	13:19:08	3117	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:08	3117	[DEBUG]	Processing product tax
2023-10-13	13:19:08	3117	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:08	3117	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:08	3117	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:08	3117	[DEBUG]	Query for Product
2023-10-13	13:19:08	3117	[DEBUG]	Executed store
2023-10-13	13:19:08	3117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862608','8716683109252','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:08	3117	[DEBUG]	No parent found
2023-10-13	13:19:08	3117	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862608 AND customfield_value = 'stockable'
2023-10-13	13:19:08	3117	[DEBUG]	Check product language entry
2023-10-13	13:19:08	3117	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862609
2023-10-13	13:19:08	3117	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:08	3117	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8716683109252' AND `virtuemart_product_id` != 1862609
2023-10-13	13:19:08	3117	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:08	3117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862609, '8716683109252')
2023-10-13	13:19:08	3117	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:08	3117	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-porte-bidon-dual-attack-composite-42-gr-composite-rouge-noir-unitaire' AND `virtuemart_product_id` != 1862609
2023-10-13	13:19:08	3117	[DEBUG]	Query for ProductLang
2023-10-13	13:19:08	3117	[DEBUG]	Executed store
2023-10-13	13:19:08	3117	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='<Null> Porte-bidon Dual Attack composite 42 gr. composite / Rouge-noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-porte-bidon-dual-attack-composite-42-gr-composite-rouge-noir-unitaire' WHERE `virtuemart_product_id` = '1862609'
2023-10-13	13:19:08	3117	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:08	3117	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862609 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:08	3117	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:08	3117	[DEBUG]	Executed store
2023-10-13	13:19:08	3117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862609','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:08	3117	[DEBUG]	Checking manufacturer
2023-10-13	13:19:08	3117	[DEBUG]	Manufacturer exists
2023-10-13	13:19:08	3117	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	13:19:08	3117	[DEBUG]	Load a row
2023-10-13	13:19:08	3117	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:08	3117	[DEBUG]	Executed store
2023-10-13	13:19:08	3117	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:19:08	3117	[DEBUG]	Manufacturer exists
2023-10-13	13:19:08	3117	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:19:08	3117	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:08	3117	[DEBUG]	Executed store
2023-10-13	13:19:08	3117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862609','20')
2023-10-13	13:19:08	3117	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:08	3117	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:08	3117	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862609 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:08	3117	[DEBUG]	Store custom available field
2023-10-13	13:19:08	3117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862609,3,'',1)
2023-10-13	13:19:08	3117	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:08	3117	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:08	3117	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862609 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:08	3117	[DEBUG]	Store custom available field
2023-10-13	13:19:08	3117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862609,6,'Unitaire',3)
2023-10-13	13:19:08	3117	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:08	3117	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:08	3117	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862608
2023-10-13	13:19:08	3117	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:08	3117	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862608\":[1862608,8,1,\"choisir la taille\"],\"1862609\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862608
2023-10-13	13:19:08	3117	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:08	3117	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862609
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:08	3118	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field taille
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:08	3118	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:08	3118	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:08	3118	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:08	3118	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:08	3118	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:08	3118	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field published
2023-10-13	13:19:08	3118	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:08	3118	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field override
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:08	3118	[DEBUG]	Use field value for field slug
2023-10-13	13:19:08	3118	[DEBUG]	Process line 3118
2023-10-13	13:19:08	3118	[DEBUG]	Load a row
2023-10-13	13:19:08	3118	[DEBUG]	Processing item: A_6297_1
2023-10-13	13:19:08	3118	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:08	3118	[DEBUG]	Processing product tax
2023-10-13	13:19:08	3118	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:08	3118	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:08	3118	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:08	3118	[DEBUG]	Query for Product
2023-10-13	13:19:08	3118	[DEBUG]	Executed store
2023-10-13	13:19:08	3118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6297_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:08	3118	[DEBUG]	Check product language entry
2023-10-13	13:19:08	3118	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862610
2023-10-13	13:19:08	3118	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:08	3118	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6297_1' AND `virtuemart_product_id` != 1862610
2023-10-13	13:19:08	3118	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:08	3118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862610, 'A_6297_1')
2023-10-13	13:19:08	3118	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:08	3118	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-noir' AND `virtuemart_product_id` != 1862610
2023-10-13	13:19:08	3118	[DEBUG]	Query for ProductLang
2023-10-13	13:19:08	3118	[DEBUG]	Executed store
2023-10-13	13:19:08	3118	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon plastique MSC XONE <br>N° art fourn : BAT',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-noir' WHERE `virtuemart_product_id` = '1862610'
2023-10-13	13:19:08	3118	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32151_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:08	3118	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:08	3118	[DEBUG]	Process image file
2023-10-13	13:19:08	3118	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:08	3118	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:08	3118	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32151_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:08	3118	[DEBUG]	Full name target: bcprisme/32151_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:09	3118	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:09	3118	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32151_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:09	3118	[DEBUG]	Query for Media
2023-10-13	13:19:09	3118	[DEBUG]	Executed store
2023-10-13	13:19:09	3118	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32151_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32151_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13082'
2023-10-13	13:19:09	3118	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:09	3118	[DEBUG]	Executed store
2023-10-13	13:19:09	3118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862610','13082','1')
2023-10-13	13:19:09	3118	[DEBUG]	Store product image relation
2023-10-13	13:19:09	3118	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:09	3118	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862610 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:09	3118	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:09	3118	[DEBUG]	Executed store
2023-10-13	13:19:09	3118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862610','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:09	3118	[DEBUG]	Checking manufacturer
2023-10-13	13:19:09	3118	[DEBUG]	Load a row
2023-10-13	13:19:09	3118	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:09	3118	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:09	3118	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:09	3118	[DEBUG]	Executed store
2023-10-13	13:19:09	3118	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:09	3118	[DEBUG]	Manufacturer exists
2023-10-13	13:19:09	3118	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:09	3118	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:09	3118	[DEBUG]	Executed store
2023-10-13	13:19:09	3118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862610','32')
2023-10-13	13:19:09	3118	[DEBUG]	Find the custom field ID
2023-10-13	13:19:09	3118	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:09	3118	[DEBUG]	No custom field ID found
2023-10-13	13:19:09	3118	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:09	3118	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:09	3118	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862610 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:09	3118	[DEBUG]	Store custom available field
2023-10-13	13:19:09	3118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862610,3,'8.87527777777778',1)
2023-10-13	13:19:09	3118	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:09	3118	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:09	3118	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862610 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:09	3118	[DEBUG]	Store custom available field
2023-10-13	13:19:09	3118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862610,6,'choisir la taille',3)
2023-10-13	13:19:09	3118	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:09	3118	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:09	3118	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:09	3118	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:09	3118	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862610 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:09	3118	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:09	3118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862610,8,1)
2023-10-13	13:19:09	3118	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:09	3118	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862610\":[1862610,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862610
2023-10-13	13:19:10	3118	[DEBUG]	Checking category
2023-10-13	13:19:10	3118	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:10	3118	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862610
2023-10-13	13:19:10	3118	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:10	3118	[DEBUG]	Executed store
2023-10-13	13:19:10	3118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862610','7366')
2023-10-13	13:19:10	3118	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:10	3118	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862610 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:10	3118	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:10	3118	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862610
2023-10-13	13:19:10	3119	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:10	3119	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:10	3119	[DEBUG]	Use field value for field taille
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:10	3119	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:10	3119	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:10	3119	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:10	3119	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:10	3119	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:10	3119	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:10	3119	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:10	3119	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:10	3119	[DEBUG]	Use field value for field published
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:10	3119	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field override
2023-10-13	13:19:10	3119	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:10	3119	[DEBUG]	Use field value for field slug
2023-10-13	13:19:10	3119	[DEBUG]	Process line 3119
2023-10-13	13:19:10	3119	[DEBUG]	Load a row
2023-10-13	13:19:10	3119	[DEBUG]	Processing item: 8435466216207
2023-10-13	13:19:10	3119	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:10	3119	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:10	3119	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6297_1'
2023-10-13	13:19:10	3119	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:10	3119	[DEBUG]	Processing product tax
2023-10-13	13:19:10	3119	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:10	3119	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:10	3119	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:10	3119	[DEBUG]	Query for Product
2023-10-13	13:19:10	3119	[DEBUG]	Executed store
2023-10-13	13:19:10	3119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862610','8435466216207','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:10	3119	[DEBUG]	No parent found
2023-10-13	13:19:10	3119	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862610 AND customfield_value = 'stockable'
2023-10-13	13:19:10	3119	[DEBUG]	Check product language entry
2023-10-13	13:19:10	3119	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862611
2023-10-13	13:19:10	3119	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:10	3119	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216207' AND `virtuemart_product_id` != 1862611
2023-10-13	13:19:10	3119	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:10	3119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862611, '8435466216207')
2023-10-13	13:19:10	3119	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:10	3119	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-noir-unitaire' AND `virtuemart_product_id` != 1862611
2023-10-13	13:19:10	3119	[DEBUG]	Query for ProductLang
2023-10-13	13:19:10	3119	[DEBUG]	Executed store
2023-10-13	13:19:10	3119	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-noir-unitaire' WHERE `virtuemart_product_id` = '1862611'
2023-10-13	13:19:10	3119	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32151_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:10	3119	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:10	3119	[DEBUG]	Process image file
2023-10-13	13:19:10	3119	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:10	3119	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:10	3119	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32151_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:10	3119	[DEBUG]	Full name target: bcprisme/32151_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:10	3119	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:10	3119	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32151_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:10	3119	[DEBUG]	Query for Media
2023-10-13	13:19:11	3119	[DEBUG]	Executed store
2023-10-13	13:19:11	3119	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32151_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32151_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13082'
2023-10-13	13:19:11	3119	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:11	3119	[DEBUG]	Executed store
2023-10-13	13:19:11	3119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862611','13082','1')
2023-10-13	13:19:11	3119	[DEBUG]	Store product image relation
2023-10-13	13:19:11	3119	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:11	3119	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862611 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:11	3119	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:11	3119	[DEBUG]	Executed store
2023-10-13	13:19:11	3119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862611','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:11	3119	[DEBUG]	Checking manufacturer
2023-10-13	13:19:11	3119	[DEBUG]	Load a row
2023-10-13	13:19:11	3119	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:11	3119	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:11	3119	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:11	3119	[DEBUG]	Executed store
2023-10-13	13:19:11	3119	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:11	3119	[DEBUG]	Manufacturer exists
2023-10-13	13:19:11	3119	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:11	3119	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:11	3119	[DEBUG]	Executed store
2023-10-13	13:19:11	3119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862611','32')
2023-10-13	13:19:11	3119	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:11	3119	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:11	3119	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862611 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:11	3119	[DEBUG]	Store custom available field
2023-10-13	13:19:11	3119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862611,3,'',1)
2023-10-13	13:19:11	3119	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:11	3119	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:11	3119	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862611 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:11	3119	[DEBUG]	Store custom available field
2023-10-13	13:19:11	3119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862611,6,'Unitaire',3)
2023-10-13	13:19:11	3119	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:11	3119	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:11	3119	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862610
2023-10-13	13:19:11	3119	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:11	3119	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862610\":[1862610,8,1,\"choisir la taille\"],\"1862611\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862610
2023-10-13	13:19:11	3119	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:11	3119	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862611
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:11	3120	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field taille
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:11	3120	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:11	3120	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:11	3120	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:11	3120	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:11	3120	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:11	3120	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field published
2023-10-13	13:19:11	3120	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:11	3120	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field override
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:11	3120	[DEBUG]	Use field value for field slug
2023-10-13	13:19:11	3120	[DEBUG]	Process line 3120
2023-10-13	13:19:11	3120	[DEBUG]	Load a row
2023-10-13	13:19:11	3120	[DEBUG]	Processing item: A_6297_7
2023-10-13	13:19:11	3120	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:11	3120	[DEBUG]	Processing product tax
2023-10-13	13:19:11	3120	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:11	3120	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:11	3120	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:11	3120	[DEBUG]	Query for Product
2023-10-13	13:19:11	3120	[DEBUG]	Executed store
2023-10-13	13:19:11	3120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6297_7','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:11	3120	[DEBUG]	Check product language entry
2023-10-13	13:19:11	3120	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862612
2023-10-13	13:19:11	3120	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:11	3120	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6297_7' AND `virtuemart_product_id` != 1862612
2023-10-13	13:19:11	3120	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:11	3120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862612, 'A_6297_7')
2023-10-13	13:19:11	3120	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:11	3120	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-rouge' AND `virtuemart_product_id` != 1862612
2023-10-13	13:19:11	3120	[DEBUG]	Query for ProductLang
2023-10-13	13:19:11	3120	[DEBUG]	Executed store
2023-10-13	13:19:11	3120	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon plastique MSC XONE <br>N° art fourn : BAT',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-rouge' WHERE `virtuemart_product_id` = '1862612'
2023-10-13	13:19:11	3120	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32153_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:11	3120	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:11	3120	[DEBUG]	Process image file
2023-10-13	13:19:11	3120	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:11	3120	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:11	3120	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32153_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:11	3120	[DEBUG]	Full name target: bcprisme/32153_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:12	3120	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:12	3120	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32153_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:12	3120	[DEBUG]	Query for Media
2023-10-13	13:19:12	3120	[DEBUG]	Executed store
2023-10-13	13:19:12	3120	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32153_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32153_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13083'
2023-10-13	13:19:12	3120	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:12	3120	[DEBUG]	Executed store
2023-10-13	13:19:12	3120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862612','13083','1')
2023-10-13	13:19:12	3120	[DEBUG]	Store product image relation
2023-10-13	13:19:12	3120	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:12	3120	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862612 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:12	3120	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:12	3120	[DEBUG]	Executed store
2023-10-13	13:19:12	3120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862612','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:12	3120	[DEBUG]	Checking manufacturer
2023-10-13	13:19:12	3120	[DEBUG]	Load a row
2023-10-13	13:19:12	3120	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:12	3120	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:12	3120	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:12	3120	[DEBUG]	Executed store
2023-10-13	13:19:12	3120	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:12	3120	[DEBUG]	Manufacturer exists
2023-10-13	13:19:12	3120	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:12	3120	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:12	3120	[DEBUG]	Executed store
2023-10-13	13:19:12	3120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862612','32')
2023-10-13	13:19:12	3120	[DEBUG]	Find the custom field ID
2023-10-13	13:19:12	3120	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:12	3120	[DEBUG]	No custom field ID found
2023-10-13	13:19:12	3120	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:12	3120	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:12	3120	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862612 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:12	3120	[DEBUG]	Store custom available field
2023-10-13	13:19:12	3120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862612,3,'8.87527777777778',1)
2023-10-13	13:19:12	3120	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:12	3120	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:12	3120	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862612 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:12	3120	[DEBUG]	Store custom available field
2023-10-13	13:19:12	3120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862612,6,'choisir la taille',3)
2023-10-13	13:19:12	3120	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:12	3120	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:12	3120	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:12	3120	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:12	3120	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862612 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:12	3120	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:12	3120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862612,8,1)
2023-10-13	13:19:12	3120	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:12	3120	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862612\":[1862612,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862612
2023-10-13	13:19:12	3120	[DEBUG]	Checking category
2023-10-13	13:19:12	3120	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:12	3120	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862612
2023-10-13	13:19:12	3120	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:12	3120	[DEBUG]	Executed store
2023-10-13	13:19:12	3120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862612','7366')
2023-10-13	13:19:12	3120	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:12	3120	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862612 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:12	3120	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:12	3120	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862612
2023-10-13	13:19:12	3121	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:12	3121	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:12	3121	[DEBUG]	Use field value for field taille
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:12	3121	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:12	3121	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:12	3121	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:12	3121	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:12	3121	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:12	3121	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:12	3121	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:12	3121	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:12	3121	[DEBUG]	Use field value for field published
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:12	3121	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field override
2023-10-13	13:19:12	3121	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:12	3121	[DEBUG]	Use field value for field slug
2023-10-13	13:19:12	3121	[DEBUG]	Process line 3121
2023-10-13	13:19:12	3121	[DEBUG]	Load a row
2023-10-13	13:19:12	3121	[DEBUG]	Processing item: 8435466216283
2023-10-13	13:19:12	3121	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:12	3121	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:12	3121	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6297_7'
2023-10-13	13:19:12	3121	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:12	3121	[DEBUG]	Processing product tax
2023-10-13	13:19:12	3121	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:12	3121	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:12	3121	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:12	3121	[DEBUG]	Query for Product
2023-10-13	13:19:12	3121	[DEBUG]	Executed store
2023-10-13	13:19:12	3121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862612','8435466216283','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:12	3121	[DEBUG]	No parent found
2023-10-13	13:19:12	3121	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862612 AND customfield_value = 'stockable'
2023-10-13	13:19:12	3121	[DEBUG]	Check product language entry
2023-10-13	13:19:12	3121	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862613
2023-10-13	13:19:12	3121	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:12	3121	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216283' AND `virtuemart_product_id` != 1862613
2023-10-13	13:19:12	3121	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:12	3121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862613, '8435466216283')
2023-10-13	13:19:12	3121	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:12	3121	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-rouge-unitaire' AND `virtuemart_product_id` != 1862613
2023-10-13	13:19:12	3121	[DEBUG]	Query for ProductLang
2023-10-13	13:19:12	3121	[DEBUG]	Executed store
2023-10-13	13:19:12	3121	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-rouge-unitaire' WHERE `virtuemart_product_id` = '1862613'
2023-10-13	13:19:12	3121	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32153_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:12	3121	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:12	3121	[DEBUG]	Process image file
2023-10-13	13:19:12	3121	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:12	3121	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:12	3121	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32153_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:12	3121	[DEBUG]	Full name target: bcprisme/32153_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:13	3121	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:13	3121	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32153_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:13	3121	[DEBUG]	Query for Media
2023-10-13	13:19:13	3121	[DEBUG]	Executed store
2023-10-13	13:19:13	3121	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32153_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32153_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13083'
2023-10-13	13:19:13	3121	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:13	3121	[DEBUG]	Executed store
2023-10-13	13:19:13	3121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862613','13083','1')
2023-10-13	13:19:13	3121	[DEBUG]	Store product image relation
2023-10-13	13:19:13	3121	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:13	3121	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862613 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:13	3121	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:13	3121	[DEBUG]	Executed store
2023-10-13	13:19:13	3121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862613','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:13	3121	[DEBUG]	Checking manufacturer
2023-10-13	13:19:13	3121	[DEBUG]	Load a row
2023-10-13	13:19:13	3121	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:13	3121	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:13	3121	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:13	3121	[DEBUG]	Executed store
2023-10-13	13:19:13	3121	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:13	3121	[DEBUG]	Manufacturer exists
2023-10-13	13:19:13	3121	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:13	3121	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:13	3121	[DEBUG]	Executed store
2023-10-13	13:19:13	3121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862613','32')
2023-10-13	13:19:13	3121	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:13	3121	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:13	3121	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862613 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:13	3121	[DEBUG]	Store custom available field
2023-10-13	13:19:13	3121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862613,3,'',1)
2023-10-13	13:19:13	3121	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:13	3121	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:13	3121	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862613 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:13	3121	[DEBUG]	Store custom available field
2023-10-13	13:19:13	3121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862613,6,'Unitaire',3)
2023-10-13	13:19:13	3121	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:13	3121	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:13	3121	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862612
2023-10-13	13:19:13	3121	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:13	3121	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862612\":[1862612,8,1,\"choisir la taille\"],\"1862613\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862612
2023-10-13	13:19:13	3121	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:13	3121	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862613
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:13	3122	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field taille
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:13	3122	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:13	3122	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:13	3122	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:13	3122	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:13	3122	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:13	3122	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field published
2023-10-13	13:19:13	3122	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:13	3122	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field override
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:13	3122	[DEBUG]	Use field value for field slug
2023-10-13	13:19:13	3122	[DEBUG]	Process line 3122
2023-10-13	13:19:13	3122	[DEBUG]	Load a row
2023-10-13	13:19:13	3122	[DEBUG]	Processing item: A_6297_12
2023-10-13	13:19:13	3122	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:13	3122	[DEBUG]	Processing product tax
2023-10-13	13:19:13	3122	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:13	3122	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:13	3122	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:13	3122	[DEBUG]	Query for Product
2023-10-13	13:19:13	3122	[DEBUG]	Executed store
2023-10-13	13:19:13	3122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6297_12','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:13	3122	[DEBUG]	Check product language entry
2023-10-13	13:19:13	3122	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862614
2023-10-13	13:19:13	3122	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:13	3122	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6297_12' AND `virtuemart_product_id` != 1862614
2023-10-13	13:19:13	3122	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:13	3122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862614, 'A_6297_12')
2023-10-13	13:19:13	3122	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:13	3122	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-blanc' AND `virtuemart_product_id` != 1862614
2023-10-13	13:19:13	3122	[DEBUG]	Query for ProductLang
2023-10-13	13:19:13	3122	[DEBUG]	Executed store
2023-10-13	13:19:13	3122	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon plastique MSC XONE <br>N° art fourn : BAT',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-blanc' WHERE `virtuemart_product_id` = '1862614'
2023-10-13	13:19:13	3122	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32147_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:13	3122	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:13	3122	[DEBUG]	Process image file
2023-10-13	13:19:13	3122	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:13	3122	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:13	3122	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32147_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:13	3122	[DEBUG]	Full name target: bcprisme/32147_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:14	3122	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:14	3122	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32147_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:14	3122	[DEBUG]	Query for Media
2023-10-13	13:19:14	3122	[DEBUG]	Executed store
2023-10-13	13:19:14	3122	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32147_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32147_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13084'
2023-10-13	13:19:14	3122	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:14	3122	[DEBUG]	Executed store
2023-10-13	13:19:14	3122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862614','13084','1')
2023-10-13	13:19:14	3122	[DEBUG]	Store product image relation
2023-10-13	13:19:14	3122	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:14	3122	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862614 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:14	3122	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:14	3122	[DEBUG]	Executed store
2023-10-13	13:19:14	3122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862614','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:14	3122	[DEBUG]	Checking manufacturer
2023-10-13	13:19:14	3122	[DEBUG]	Load a row
2023-10-13	13:19:14	3122	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:14	3122	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:14	3122	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:14	3122	[DEBUG]	Executed store
2023-10-13	13:19:14	3122	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:14	3122	[DEBUG]	Manufacturer exists
2023-10-13	13:19:14	3122	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:14	3122	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:14	3122	[DEBUG]	Executed store
2023-10-13	13:19:14	3122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862614','32')
2023-10-13	13:19:14	3122	[DEBUG]	Find the custom field ID
2023-10-13	13:19:14	3122	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:14	3122	[DEBUG]	No custom field ID found
2023-10-13	13:19:14	3122	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:14	3122	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:14	3122	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862614 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:14	3122	[DEBUG]	Store custom available field
2023-10-13	13:19:14	3122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862614,3,'8.87527777777778',1)
2023-10-13	13:19:14	3122	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:14	3122	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:14	3122	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862614 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:14	3122	[DEBUG]	Store custom available field
2023-10-13	13:19:14	3122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862614,6,'choisir la taille',3)
2023-10-13	13:19:14	3122	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:14	3122	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:14	3122	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:14	3122	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:14	3122	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862614 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:14	3122	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:14	3122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862614,8,1)
2023-10-13	13:19:14	3122	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:14	3122	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862614\":[1862614,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862614
2023-10-13	13:19:14	3122	[DEBUG]	Checking category
2023-10-13	13:19:14	3122	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:14	3122	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862614
2023-10-13	13:19:14	3122	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:14	3122	[DEBUG]	Executed store
2023-10-13	13:19:14	3122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862614','7366')
2023-10-13	13:19:14	3122	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:14	3122	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862614 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:14	3122	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:14	3122	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862614
2023-10-13	13:19:14	3123	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:14	3123	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:14	3123	[DEBUG]	Use field value for field taille
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:14	3123	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:14	3123	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:14	3123	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:14	3123	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:14	3123	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:14	3123	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:14	3123	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:14	3123	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:14	3123	[DEBUG]	Use field value for field published
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:14	3123	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field override
2023-10-13	13:19:14	3123	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:14	3123	[DEBUG]	Use field value for field slug
2023-10-13	13:19:14	3123	[DEBUG]	Process line 3123
2023-10-13	13:19:14	3123	[DEBUG]	Load a row
2023-10-13	13:19:14	3123	[DEBUG]	Processing item: 8435466216276
2023-10-13	13:19:14	3123	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:14	3123	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:14	3123	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6297_12'
2023-10-13	13:19:14	3123	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:14	3123	[DEBUG]	Processing product tax
2023-10-13	13:19:14	3123	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:14	3123	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:14	3123	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:14	3123	[DEBUG]	Query for Product
2023-10-13	13:19:14	3123	[DEBUG]	Executed store
2023-10-13	13:19:14	3123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862614','8435466216276','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:14	3123	[DEBUG]	No parent found
2023-10-13	13:19:14	3123	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862614 AND customfield_value = 'stockable'
2023-10-13	13:19:14	3123	[DEBUG]	Check product language entry
2023-10-13	13:19:14	3123	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862615
2023-10-13	13:19:14	3123	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:14	3123	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216276' AND `virtuemart_product_id` != 1862615
2023-10-13	13:19:14	3123	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:14	3123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862615, '8435466216276')
2023-10-13	13:19:14	3123	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:14	3123	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-blanc-unitaire' AND `virtuemart_product_id` != 1862615
2023-10-13	13:19:14	3123	[DEBUG]	Query for ProductLang
2023-10-13	13:19:14	3123	[DEBUG]	Executed store
2023-10-13	13:19:14	3123	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-blanc-unitaire' WHERE `virtuemart_product_id` = '1862615'
2023-10-13	13:19:14	3123	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32147_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:14	3123	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:14	3123	[DEBUG]	Process image file
2023-10-13	13:19:14	3123	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:14	3123	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:14	3123	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32147_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:14	3123	[DEBUG]	Full name target: bcprisme/32147_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:15	3123	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:15	3123	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32147_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:15	3123	[DEBUG]	Query for Media
2023-10-13	13:19:15	3123	[DEBUG]	Executed store
2023-10-13	13:19:15	3123	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32147_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32147_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13084'
2023-10-13	13:19:15	3123	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:15	3123	[DEBUG]	Executed store
2023-10-13	13:19:15	3123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862615','13084','1')
2023-10-13	13:19:15	3123	[DEBUG]	Store product image relation
2023-10-13	13:19:15	3123	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:15	3123	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862615 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:15	3123	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:15	3123	[DEBUG]	Executed store
2023-10-13	13:19:15	3123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862615','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:15	3123	[DEBUG]	Checking manufacturer
2023-10-13	13:19:15	3123	[DEBUG]	Load a row
2023-10-13	13:19:15	3123	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:15	3123	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:15	3123	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:15	3123	[DEBUG]	Executed store
2023-10-13	13:19:15	3123	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:15	3123	[DEBUG]	Manufacturer exists
2023-10-13	13:19:15	3123	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:15	3123	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:15	3123	[DEBUG]	Executed store
2023-10-13	13:19:15	3123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862615','32')
2023-10-13	13:19:15	3123	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:15	3123	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:15	3123	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862615 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:15	3123	[DEBUG]	Store custom available field
2023-10-13	13:19:15	3123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862615,3,'',1)
2023-10-13	13:19:15	3123	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:15	3123	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:15	3123	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862615 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:15	3123	[DEBUG]	Store custom available field
2023-10-13	13:19:15	3123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862615,6,'Unitaire',3)
2023-10-13	13:19:15	3123	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:15	3123	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:15	3123	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862614
2023-10-13	13:19:15	3123	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:15	3123	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862614\":[1862614,8,1,\"choisir la taille\"],\"1862615\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862614
2023-10-13	13:19:15	3123	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:15	3123	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862615
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:15	3124	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field taille
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:15	3124	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:15	3124	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:15	3124	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:15	3124	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:15	3124	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:15	3124	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field published
2023-10-13	13:19:15	3124	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:15	3124	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field override
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:15	3124	[DEBUG]	Use field value for field slug
2023-10-13	13:19:15	3124	[DEBUG]	Process line 3124
2023-10-13	13:19:15	3124	[DEBUG]	Load a row
2023-10-13	13:19:15	3124	[DEBUG]	Processing item: A_6297_22
2023-10-13	13:19:15	3124	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:15	3124	[DEBUG]	Processing product tax
2023-10-13	13:19:15	3124	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:15	3124	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:15	3124	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:15	3124	[DEBUG]	Query for Product
2023-10-13	13:19:15	3124	[DEBUG]	Executed store
2023-10-13	13:19:15	3124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6297_22','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:15	3124	[DEBUG]	Check product language entry
2023-10-13	13:19:15	3124	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862616
2023-10-13	13:19:15	3124	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:15	3124	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6297_22' AND `virtuemart_product_id` != 1862616
2023-10-13	13:19:15	3124	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:15	3124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862616, 'A_6297_22')
2023-10-13	13:19:15	3124	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:15	3124	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-bleu' AND `virtuemart_product_id` != 1862616
2023-10-13	13:19:15	3124	[DEBUG]	Query for ProductLang
2023-10-13	13:19:15	3124	[DEBUG]	Executed store
2023-10-13	13:19:15	3124	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon plastique MSC XONE <br>N° art fourn : BAT',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-bleu' WHERE `virtuemart_product_id` = '1862616'
2023-10-13	13:19:15	3124	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32148_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:15	3124	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:15	3124	[DEBUG]	Process image file
2023-10-13	13:19:15	3124	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:15	3124	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:15	3124	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32148_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:15	3124	[DEBUG]	Full name target: bcprisme/32148_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:16	3124	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:16	3124	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32148_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:16	3124	[DEBUG]	Query for Media
2023-10-13	13:19:16	3124	[DEBUG]	Executed store
2023-10-13	13:19:16	3124	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32148_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32148_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13085'
2023-10-13	13:19:16	3124	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:16	3124	[DEBUG]	Executed store
2023-10-13	13:19:16	3124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862616','13085','1')
2023-10-13	13:19:16	3124	[DEBUG]	Store product image relation
2023-10-13	13:19:16	3124	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:16	3124	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862616 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:16	3124	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:16	3124	[DEBUG]	Executed store
2023-10-13	13:19:16	3124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862616','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:16	3124	[DEBUG]	Checking manufacturer
2023-10-13	13:19:16	3124	[DEBUG]	Load a row
2023-10-13	13:19:16	3124	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:16	3124	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:16	3124	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:16	3124	[DEBUG]	Executed store
2023-10-13	13:19:16	3124	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:16	3124	[DEBUG]	Manufacturer exists
2023-10-13	13:19:16	3124	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:16	3124	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:16	3124	[DEBUG]	Executed store
2023-10-13	13:19:16	3124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862616','32')
2023-10-13	13:19:16	3124	[DEBUG]	Find the custom field ID
2023-10-13	13:19:16	3124	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:16	3124	[DEBUG]	No custom field ID found
2023-10-13	13:19:16	3124	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:16	3124	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:16	3124	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862616 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:16	3124	[DEBUG]	Store custom available field
2023-10-13	13:19:16	3124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862616,3,'8.87527777777778',1)
2023-10-13	13:19:16	3124	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:16	3124	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:16	3124	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862616 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:16	3124	[DEBUG]	Store custom available field
2023-10-13	13:19:16	3124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862616,6,'choisir la taille',3)
2023-10-13	13:19:16	3124	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:16	3124	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:16	3124	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:16	3124	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:16	3124	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862616 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:16	3124	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:16	3124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862616,8,1)
2023-10-13	13:19:16	3124	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:16	3124	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862616\":[1862616,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862616
2023-10-13	13:19:16	3124	[DEBUG]	Checking category
2023-10-13	13:19:16	3124	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:16	3124	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862616
2023-10-13	13:19:16	3124	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:16	3124	[DEBUG]	Executed store
2023-10-13	13:19:16	3124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862616','7366')
2023-10-13	13:19:16	3124	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:16	3124	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862616 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:16	3124	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:16	3124	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862616
2023-10-13	13:19:16	3125	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:16	3125	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:16	3125	[DEBUG]	Use field value for field taille
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:16	3125	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:16	3125	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:16	3125	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:16	3125	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:16	3125	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:16	3125	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:16	3125	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:16	3125	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:16	3125	[DEBUG]	Use field value for field published
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:16	3125	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field override
2023-10-13	13:19:16	3125	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:16	3125	[DEBUG]	Use field value for field slug
2023-10-13	13:19:16	3125	[DEBUG]	Process line 3125
2023-10-13	13:19:16	3125	[DEBUG]	Load a row
2023-10-13	13:19:16	3125	[DEBUG]	Processing item: 8435466216214
2023-10-13	13:19:16	3125	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:16	3125	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:16	3125	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6297_22'
2023-10-13	13:19:16	3125	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:16	3125	[DEBUG]	Processing product tax
2023-10-13	13:19:16	3125	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:16	3125	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:16	3125	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:16	3125	[DEBUG]	Query for Product
2023-10-13	13:19:16	3125	[DEBUG]	Executed store
2023-10-13	13:19:16	3125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862616','8435466216214','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:16	3125	[DEBUG]	No parent found
2023-10-13	13:19:16	3125	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862616 AND customfield_value = 'stockable'
2023-10-13	13:19:16	3125	[DEBUG]	Check product language entry
2023-10-13	13:19:16	3125	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862617
2023-10-13	13:19:16	3125	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:16	3125	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216214' AND `virtuemart_product_id` != 1862617
2023-10-13	13:19:16	3125	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:16	3125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862617, '8435466216214')
2023-10-13	13:19:16	3125	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:16	3125	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-bleu-unitaire' AND `virtuemart_product_id` != 1862617
2023-10-13	13:19:16	3125	[DEBUG]	Query for ProductLang
2023-10-13	13:19:16	3125	[DEBUG]	Executed store
2023-10-13	13:19:16	3125	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-bleu-unitaire' WHERE `virtuemart_product_id` = '1862617'
2023-10-13	13:19:16	3125	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32148_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:16	3125	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:16	3125	[DEBUG]	Process image file
2023-10-13	13:19:16	3125	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:16	3125	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:16	3125	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32148_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:16	3125	[DEBUG]	Full name target: bcprisme/32148_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:17	3125	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:17	3125	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32148_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:17	3125	[DEBUG]	Query for Media
2023-10-13	13:19:17	3125	[DEBUG]	Executed store
2023-10-13	13:19:17	3125	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32148_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32148_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13085'
2023-10-13	13:19:17	3125	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:17	3125	[DEBUG]	Executed store
2023-10-13	13:19:17	3125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862617','13085','1')
2023-10-13	13:19:17	3125	[DEBUG]	Store product image relation
2023-10-13	13:19:17	3125	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:17	3125	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862617 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:17	3125	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:17	3125	[DEBUG]	Executed store
2023-10-13	13:19:17	3125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862617','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:17	3125	[DEBUG]	Checking manufacturer
2023-10-13	13:19:17	3125	[DEBUG]	Load a row
2023-10-13	13:19:17	3125	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:17	3125	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:17	3125	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:17	3125	[DEBUG]	Executed store
2023-10-13	13:19:17	3125	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:17	3125	[DEBUG]	Manufacturer exists
2023-10-13	13:19:17	3125	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:17	3125	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:17	3125	[DEBUG]	Executed store
2023-10-13	13:19:17	3125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862617','32')
2023-10-13	13:19:17	3125	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:17	3125	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:17	3125	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862617 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:17	3125	[DEBUG]	Store custom available field
2023-10-13	13:19:17	3125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862617,3,'',1)
2023-10-13	13:19:17	3125	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:17	3125	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:17	3125	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862617 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:17	3125	[DEBUG]	Store custom available field
2023-10-13	13:19:17	3125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862617,6,'Unitaire',3)
2023-10-13	13:19:17	3125	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:17	3125	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:17	3125	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862616
2023-10-13	13:19:17	3125	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:17	3125	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862616\":[1862616,8,1,\"choisir la taille\"],\"1862617\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862616
2023-10-13	13:19:17	3125	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:17	3125	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862617
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:17	3126	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field taille
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:17	3126	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:17	3126	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:17	3126	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:17	3126	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:17	3126	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:17	3126	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field published
2023-10-13	13:19:17	3126	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:17	3126	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field override
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:17	3126	[DEBUG]	Use field value for field slug
2023-10-13	13:19:17	3126	[DEBUG]	Process line 3126
2023-10-13	13:19:17	3126	[DEBUG]	Load a row
2023-10-13	13:19:17	3126	[DEBUG]	Processing item: A_6297_27
2023-10-13	13:19:17	3126	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:17	3126	[DEBUG]	Processing product tax
2023-10-13	13:19:17	3126	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:17	3126	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:17	3126	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:17	3126	[DEBUG]	Query for Product
2023-10-13	13:19:17	3126	[DEBUG]	Executed store
2023-10-13	13:19:17	3126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6297_27','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:17	3126	[DEBUG]	Check product language entry
2023-10-13	13:19:17	3126	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862618
2023-10-13	13:19:17	3126	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:17	3126	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6297_27' AND `virtuemart_product_id` != 1862618
2023-10-13	13:19:17	3126	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:17	3126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862618, 'A_6297_27')
2023-10-13	13:19:17	3126	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:17	3126	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-orange' AND `virtuemart_product_id` != 1862618
2023-10-13	13:19:17	3126	[DEBUG]	Query for ProductLang
2023-10-13	13:19:17	3126	[DEBUG]	Executed store
2023-10-13	13:19:17	3126	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon plastique MSC XONE <br>N° art fourn : BAT',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-orange' WHERE `virtuemart_product_id` = '1862618'
2023-10-13	13:19:17	3126	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32152_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:17	3126	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:17	3126	[DEBUG]	Process image file
2023-10-13	13:19:17	3126	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:17	3126	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:17	3126	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32152_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:17	3126	[DEBUG]	Full name target: bcprisme/32152_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:18	3126	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:18	3126	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32152_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:18	3126	[DEBUG]	Query for Media
2023-10-13	13:19:18	3126	[DEBUG]	Executed store
2023-10-13	13:19:18	3126	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32152_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32152_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13086'
2023-10-13	13:19:18	3126	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:18	3126	[DEBUG]	Executed store
2023-10-13	13:19:18	3126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862618','13086','1')
2023-10-13	13:19:18	3126	[DEBUG]	Store product image relation
2023-10-13	13:19:18	3126	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:18	3126	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862618 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:18	3126	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:18	3126	[DEBUG]	Executed store
2023-10-13	13:19:18	3126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862618','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:18	3126	[DEBUG]	Checking manufacturer
2023-10-13	13:19:18	3126	[DEBUG]	Load a row
2023-10-13	13:19:18	3126	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:18	3126	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:18	3126	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:18	3126	[DEBUG]	Executed store
2023-10-13	13:19:18	3126	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:18	3126	[DEBUG]	Manufacturer exists
2023-10-13	13:19:18	3126	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:18	3126	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:18	3126	[DEBUG]	Executed store
2023-10-13	13:19:18	3126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862618','32')
2023-10-13	13:19:18	3126	[DEBUG]	Find the custom field ID
2023-10-13	13:19:18	3126	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:18	3126	[DEBUG]	No custom field ID found
2023-10-13	13:19:18	3126	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:18	3126	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:18	3126	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862618 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:18	3126	[DEBUG]	Store custom available field
2023-10-13	13:19:18	3126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862618,3,'8.87527777777778',1)
2023-10-13	13:19:18	3126	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:18	3126	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:18	3126	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862618 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:18	3126	[DEBUG]	Store custom available field
2023-10-13	13:19:18	3126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862618,6,'choisir la taille',3)
2023-10-13	13:19:18	3126	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:18	3126	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:18	3126	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:18	3126	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:18	3126	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862618 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:18	3126	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:18	3126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862618,8,1)
2023-10-13	13:19:18	3126	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:18	3126	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862618\":[1862618,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862618
2023-10-13	13:19:18	3126	[DEBUG]	Checking category
2023-10-13	13:19:18	3126	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:18	3126	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862618
2023-10-13	13:19:18	3126	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:18	3126	[DEBUG]	Executed store
2023-10-13	13:19:18	3126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862618','7366')
2023-10-13	13:19:18	3126	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:18	3126	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862618 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:18	3126	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:18	3126	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862618
2023-10-13	13:19:18	3127	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:18	3127	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:18	3127	[DEBUG]	Use field value for field taille
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:18	3127	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:18	3127	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:18	3127	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:18	3127	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:18	3127	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:18	3127	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:18	3127	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:18	3127	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:18	3127	[DEBUG]	Use field value for field published
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:18	3127	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field override
2023-10-13	13:19:18	3127	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:18	3127	[DEBUG]	Use field value for field slug
2023-10-13	13:19:18	3127	[DEBUG]	Process line 3127
2023-10-13	13:19:18	3127	[DEBUG]	Load a row
2023-10-13	13:19:18	3127	[DEBUG]	Processing item: 8435466216252
2023-10-13	13:19:18	3127	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:18	3127	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:18	3127	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6297_27'
2023-10-13	13:19:18	3127	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:18	3127	[DEBUG]	Processing product tax
2023-10-13	13:19:18	3127	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:18	3127	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:18	3127	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:18	3127	[DEBUG]	Query for Product
2023-10-13	13:19:18	3127	[DEBUG]	Executed store
2023-10-13	13:19:18	3127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862618','8435466216252','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:18	3127	[DEBUG]	No parent found
2023-10-13	13:19:18	3127	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862618 AND customfield_value = 'stockable'
2023-10-13	13:19:18	3127	[DEBUG]	Check product language entry
2023-10-13	13:19:18	3127	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862619
2023-10-13	13:19:18	3127	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:18	3127	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216252' AND `virtuemart_product_id` != 1862619
2023-10-13	13:19:18	3127	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:18	3127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862619, '8435466216252')
2023-10-13	13:19:18	3127	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:18	3127	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-orange-unitaire' AND `virtuemart_product_id` != 1862619
2023-10-13	13:19:18	3127	[DEBUG]	Query for ProductLang
2023-10-13	13:19:18	3127	[DEBUG]	Executed store
2023-10-13	13:19:18	3127	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Orange (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-orange-unitaire' WHERE `virtuemart_product_id` = '1862619'
2023-10-13	13:19:18	3127	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32152_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:18	3127	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:18	3127	[DEBUG]	Process image file
2023-10-13	13:19:18	3127	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:18	3127	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:18	3127	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32152_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:18	3127	[DEBUG]	Full name target: bcprisme/32152_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:19	3127	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:19	3127	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32152_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:19	3127	[DEBUG]	Query for Media
2023-10-13	13:19:19	3127	[DEBUG]	Executed store
2023-10-13	13:19:19	3127	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32152_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32152_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13086'
2023-10-13	13:19:19	3127	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:19	3127	[DEBUG]	Executed store
2023-10-13	13:19:19	3127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862619','13086','1')
2023-10-13	13:19:19	3127	[DEBUG]	Store product image relation
2023-10-13	13:19:19	3127	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:19	3127	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862619 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:19	3127	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:19	3127	[DEBUG]	Executed store
2023-10-13	13:19:19	3127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862619','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:19	3127	[DEBUG]	Checking manufacturer
2023-10-13	13:19:19	3127	[DEBUG]	Load a row
2023-10-13	13:19:19	3127	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:19	3127	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:19	3127	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:19	3127	[DEBUG]	Executed store
2023-10-13	13:19:19	3127	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:19	3127	[DEBUG]	Manufacturer exists
2023-10-13	13:19:19	3127	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:19	3127	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:19	3127	[DEBUG]	Executed store
2023-10-13	13:19:19	3127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862619','32')
2023-10-13	13:19:19	3127	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:19	3127	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:19	3127	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862619 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:19	3127	[DEBUG]	Store custom available field
2023-10-13	13:19:19	3127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862619,3,'',1)
2023-10-13	13:19:19	3127	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:19	3127	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:19	3127	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862619 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:19	3127	[DEBUG]	Store custom available field
2023-10-13	13:19:19	3127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862619,6,'Unitaire',3)
2023-10-13	13:19:19	3127	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:19	3127	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:19	3127	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862618
2023-10-13	13:19:19	3127	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:19	3127	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862618\":[1862618,8,1,\"choisir la taille\"],\"1862619\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862618
2023-10-13	13:19:19	3127	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:19	3127	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862619
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:19	3128	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field taille
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:19	3128	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:19	3128	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:19	3128	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:19	3128	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:19	3128	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:19	3128	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field published
2023-10-13	13:19:19	3128	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:19	3128	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field override
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:19	3128	[DEBUG]	Use field value for field slug
2023-10-13	13:19:19	3128	[DEBUG]	Process line 3128
2023-10-13	13:19:19	3128	[DEBUG]	Load a row
2023-10-13	13:19:19	3128	[DEBUG]	Processing item: A_6297_40
2023-10-13	13:19:19	3128	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:19	3128	[DEBUG]	Processing product tax
2023-10-13	13:19:19	3128	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:19	3128	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:19	3128	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:19	3128	[DEBUG]	Query for Product
2023-10-13	13:19:19	3128	[DEBUG]	Executed store
2023-10-13	13:19:19	3128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6297_40','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:19	3128	[DEBUG]	Check product language entry
2023-10-13	13:19:19	3128	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862620
2023-10-13	13:19:19	3128	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:19	3128	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6297_40' AND `virtuemart_product_id` != 1862620
2023-10-13	13:19:19	3128	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:19	3128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862620, 'A_6297_40')
2023-10-13	13:19:19	3128	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:19	3128	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-vert' AND `virtuemart_product_id` != 1862620
2023-10-13	13:19:19	3128	[DEBUG]	Query for ProductLang
2023-10-13	13:19:19	3128	[DEBUG]	Executed store
2023-10-13	13:19:19	3128	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon plastique MSC XONE <br>N° art fourn : BAT',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-vert' WHERE `virtuemart_product_id` = '1862620'
2023-10-13	13:19:19	3128	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32155_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:19	3128	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:19	3128	[DEBUG]	Process image file
2023-10-13	13:19:19	3128	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:19	3128	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:19	3128	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32155_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:19	3128	[DEBUG]	Full name target: bcprisme/32155_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:20	3128	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:20	3128	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32155_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:20	3128	[DEBUG]	Query for Media
2023-10-13	13:19:20	3128	[DEBUG]	Executed store
2023-10-13	13:19:20	3128	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32155_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32155_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13087'
2023-10-13	13:19:20	3128	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:20	3128	[DEBUG]	Executed store
2023-10-13	13:19:20	3128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862620','13087','1')
2023-10-13	13:19:20	3128	[DEBUG]	Store product image relation
2023-10-13	13:19:20	3128	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:20	3128	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862620 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:20	3128	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:20	3128	[DEBUG]	Executed store
2023-10-13	13:19:20	3128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862620','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:20	3128	[DEBUG]	Checking manufacturer
2023-10-13	13:19:20	3128	[DEBUG]	Load a row
2023-10-13	13:19:20	3128	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:20	3128	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:20	3128	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:20	3128	[DEBUG]	Executed store
2023-10-13	13:19:20	3128	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:20	3128	[DEBUG]	Manufacturer exists
2023-10-13	13:19:20	3128	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:20	3128	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:20	3128	[DEBUG]	Executed store
2023-10-13	13:19:20	3128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862620','32')
2023-10-13	13:19:20	3128	[DEBUG]	Find the custom field ID
2023-10-13	13:19:20	3128	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:20	3128	[DEBUG]	No custom field ID found
2023-10-13	13:19:20	3128	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:20	3128	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:20	3128	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862620 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:20	3128	[DEBUG]	Store custom available field
2023-10-13	13:19:20	3128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862620,3,'8.87527777777778',1)
2023-10-13	13:19:20	3128	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:20	3128	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:20	3128	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862620 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:20	3128	[DEBUG]	Store custom available field
2023-10-13	13:19:20	3128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862620,6,'choisir la taille',3)
2023-10-13	13:19:20	3128	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:20	3128	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:20	3128	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:20	3128	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:20	3128	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862620 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:20	3128	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:20	3128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862620,8,1)
2023-10-13	13:19:20	3128	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:20	3128	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862620\":[1862620,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862620
2023-10-13	13:19:20	3128	[DEBUG]	Checking category
2023-10-13	13:19:20	3128	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:20	3128	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862620
2023-10-13	13:19:20	3128	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:20	3128	[DEBUG]	Executed store
2023-10-13	13:19:20	3128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862620','7366')
2023-10-13	13:19:20	3128	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:20	3128	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862620 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:20	3128	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:20	3128	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862620
2023-10-13	13:19:20	3129	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:20	3129	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:20	3129	[DEBUG]	Use field value for field taille
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:20	3129	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:20	3129	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:20	3129	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:20	3129	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:20	3129	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:20	3129	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:20	3129	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:20	3129	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:20	3129	[DEBUG]	Use field value for field published
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:20	3129	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field override
2023-10-13	13:19:20	3129	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:20	3129	[DEBUG]	Use field value for field slug
2023-10-13	13:19:20	3129	[DEBUG]	Process line 3129
2023-10-13	13:19:20	3129	[DEBUG]	Load a row
2023-10-13	13:19:20	3129	[DEBUG]	Processing item: 8435466216221
2023-10-13	13:19:20	3129	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:20	3129	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:20	3129	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6297_40'
2023-10-13	13:19:20	3129	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:20	3129	[DEBUG]	Processing product tax
2023-10-13	13:19:20	3129	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:20	3129	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:20	3129	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:20	3129	[DEBUG]	Query for Product
2023-10-13	13:19:20	3129	[DEBUG]	Executed store
2023-10-13	13:19:20	3129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862620','8435466216221','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:20	3129	[DEBUG]	No parent found
2023-10-13	13:19:20	3129	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862620 AND customfield_value = 'stockable'
2023-10-13	13:19:20	3129	[DEBUG]	Check product language entry
2023-10-13	13:19:20	3129	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862621
2023-10-13	13:19:20	3129	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:20	3129	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216221' AND `virtuemart_product_id` != 1862621
2023-10-13	13:19:20	3129	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:20	3129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862621, '8435466216221')
2023-10-13	13:19:20	3129	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:20	3129	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-vert-unitaire' AND `virtuemart_product_id` != 1862621
2023-10-13	13:19:20	3129	[DEBUG]	Query for ProductLang
2023-10-13	13:19:20	3129	[DEBUG]	Executed store
2023-10-13	13:19:20	3129	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-vert-unitaire' WHERE `virtuemart_product_id` = '1862621'
2023-10-13	13:19:20	3129	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32155_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:20	3129	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:20	3129	[DEBUG]	Process image file
2023-10-13	13:19:20	3129	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:20	3129	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:20	3129	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32155_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:20	3129	[DEBUG]	Full name target: bcprisme/32155_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:21	3129	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:21	3129	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32155_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:21	3129	[DEBUG]	Query for Media
2023-10-13	13:19:21	3129	[DEBUG]	Executed store
2023-10-13	13:19:21	3129	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32155_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32155_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13087'
2023-10-13	13:19:21	3129	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:21	3129	[DEBUG]	Executed store
2023-10-13	13:19:21	3129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862621','13087','1')
2023-10-13	13:19:21	3129	[DEBUG]	Store product image relation
2023-10-13	13:19:21	3129	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:21	3129	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862621 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:21	3129	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:21	3129	[DEBUG]	Executed store
2023-10-13	13:19:21	3129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862621','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:21	3129	[DEBUG]	Checking manufacturer
2023-10-13	13:19:21	3129	[DEBUG]	Load a row
2023-10-13	13:19:21	3129	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:21	3129	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:21	3129	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:21	3129	[DEBUG]	Executed store
2023-10-13	13:19:21	3129	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:21	3129	[DEBUG]	Manufacturer exists
2023-10-13	13:19:21	3129	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:21	3129	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:21	3129	[DEBUG]	Executed store
2023-10-13	13:19:21	3129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862621','32')
2023-10-13	13:19:21	3129	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:21	3129	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:21	3129	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862621 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:21	3129	[DEBUG]	Store custom available field
2023-10-13	13:19:21	3129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862621,3,'',1)
2023-10-13	13:19:21	3129	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:21	3129	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:21	3129	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862621 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:21	3129	[DEBUG]	Store custom available field
2023-10-13	13:19:21	3129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862621,6,'Unitaire',3)
2023-10-13	13:19:21	3129	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:21	3129	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:21	3129	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862620
2023-10-13	13:19:21	3129	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:21	3129	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862620\":[1862620,8,1,\"choisir la taille\"],\"1862621\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862620
2023-10-13	13:19:21	3129	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:21	3129	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862621
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:21	3130	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field taille
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:21	3130	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:21	3130	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:21	3130	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:21	3130	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:21	3130	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:21	3130	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field published
2023-10-13	13:19:21	3130	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:21	3130	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field override
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:21	3130	[DEBUG]	Use field value for field slug
2023-10-13	13:19:21	3130	[DEBUG]	Process line 3130
2023-10-13	13:19:21	3130	[DEBUG]	Load a row
2023-10-13	13:19:21	3130	[DEBUG]	Processing item: A_6297_65
2023-10-13	13:19:21	3130	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:21	3130	[DEBUG]	Processing product tax
2023-10-13	13:19:21	3130	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:21	3130	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:21	3130	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:21	3130	[DEBUG]	Query for Product
2023-10-13	13:19:21	3130	[DEBUG]	Executed store
2023-10-13	13:19:21	3130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6297_65','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:21	3130	[DEBUG]	Check product language entry
2023-10-13	13:19:21	3130	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862622
2023-10-13	13:19:21	3130	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:21	3130	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6297_65' AND `virtuemart_product_id` != 1862622
2023-10-13	13:19:21	3130	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:21	3130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862622, 'A_6297_65')
2023-10-13	13:19:21	3130	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:21	3130	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-jaune' AND `virtuemart_product_id` != 1862622
2023-10-13	13:19:21	3130	[DEBUG]	Query for ProductLang
2023-10-13	13:19:21	3130	[DEBUG]	Executed store
2023-10-13	13:19:21	3130	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon plastique MSC XONE <br>N° art fourn : BAT',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-jaune' WHERE `virtuemart_product_id` = '1862622'
2023-10-13	13:19:21	3130	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32150_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:21	3130	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:21	3130	[DEBUG]	Process image file
2023-10-13	13:19:21	3130	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:21	3130	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:21	3130	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32150_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:21	3130	[DEBUG]	Full name target: bcprisme/32150_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:22	3130	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:22	3130	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32150_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:22	3130	[DEBUG]	Query for Media
2023-10-13	13:19:22	3130	[DEBUG]	Executed store
2023-10-13	13:19:22	3130	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32150_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32150_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13088'
2023-10-13	13:19:22	3130	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:22	3130	[DEBUG]	Executed store
2023-10-13	13:19:22	3130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862622','13088','1')
2023-10-13	13:19:22	3130	[DEBUG]	Store product image relation
2023-10-13	13:19:22	3130	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:22	3130	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862622 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:22	3130	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:22	3130	[DEBUG]	Executed store
2023-10-13	13:19:22	3130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862622','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:22	3130	[DEBUG]	Checking manufacturer
2023-10-13	13:19:22	3130	[DEBUG]	Load a row
2023-10-13	13:19:22	3130	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:22	3130	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:22	3130	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:22	3130	[DEBUG]	Executed store
2023-10-13	13:19:22	3130	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:22	3130	[DEBUG]	Manufacturer exists
2023-10-13	13:19:22	3130	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:22	3130	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:22	3130	[DEBUG]	Executed store
2023-10-13	13:19:22	3130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862622','32')
2023-10-13	13:19:22	3130	[DEBUG]	Find the custom field ID
2023-10-13	13:19:22	3130	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:22	3130	[DEBUG]	No custom field ID found
2023-10-13	13:19:22	3130	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:22	3130	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:22	3130	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862622 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:22	3130	[DEBUG]	Store custom available field
2023-10-13	13:19:22	3130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862622,3,'8.87527777777778',1)
2023-10-13	13:19:22	3130	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:22	3130	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:22	3130	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862622 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:22	3130	[DEBUG]	Store custom available field
2023-10-13	13:19:22	3130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862622,6,'choisir la taille',3)
2023-10-13	13:19:22	3130	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:22	3130	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:22	3130	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:22	3130	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:22	3130	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862622 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:22	3130	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:22	3130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862622,8,1)
2023-10-13	13:19:22	3130	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:22	3130	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862622\":[1862622,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862622
2023-10-13	13:19:22	3130	[DEBUG]	Checking category
2023-10-13	13:19:22	3130	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:22	3130	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862622
2023-10-13	13:19:22	3130	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:22	3130	[DEBUG]	Executed store
2023-10-13	13:19:22	3130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862622','7366')
2023-10-13	13:19:22	3130	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:22	3130	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862622 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:22	3130	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:22	3130	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862622
2023-10-13	13:19:22	3131	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:22	3131	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:22	3131	[DEBUG]	Use field value for field taille
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:22	3131	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:22	3131	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:22	3131	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:22	3131	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:22	3131	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:22	3131	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:22	3131	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:22	3131	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:22	3131	[DEBUG]	Use field value for field published
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:22	3131	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field override
2023-10-13	13:19:22	3131	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:22	3131	[DEBUG]	Use field value for field slug
2023-10-13	13:19:22	3131	[DEBUG]	Process line 3131
2023-10-13	13:19:22	3131	[DEBUG]	Load a row
2023-10-13	13:19:22	3131	[DEBUG]	Processing item: 8435466216269
2023-10-13	13:19:22	3131	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:22	3131	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:22	3131	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6297_65'
2023-10-13	13:19:22	3131	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:22	3131	[DEBUG]	Processing product tax
2023-10-13	13:19:22	3131	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:22	3131	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:22	3131	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:22	3131	[DEBUG]	Query for Product
2023-10-13	13:19:22	3131	[DEBUG]	Executed store
2023-10-13	13:19:22	3131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862622','8435466216269','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:22	3131	[DEBUG]	No parent found
2023-10-13	13:19:22	3131	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862622 AND customfield_value = 'stockable'
2023-10-13	13:19:22	3131	[DEBUG]	Check product language entry
2023-10-13	13:19:22	3131	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862623
2023-10-13	13:19:22	3131	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:22	3131	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216269' AND `virtuemart_product_id` != 1862623
2023-10-13	13:19:22	3131	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:22	3131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862623, '8435466216269')
2023-10-13	13:19:22	3131	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:22	3131	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-jaune-unitaire' AND `virtuemart_product_id` != 1862623
2023-10-13	13:19:22	3131	[DEBUG]	Query for ProductLang
2023-10-13	13:19:22	3131	[DEBUG]	Executed store
2023-10-13	13:19:22	3131	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-jaune-unitaire' WHERE `virtuemart_product_id` = '1862623'
2023-10-13	13:19:22	3131	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32150_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:22	3131	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:22	3131	[DEBUG]	Process image file
2023-10-13	13:19:22	3131	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:22	3131	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:22	3131	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32150_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:22	3131	[DEBUG]	Full name target: bcprisme/32150_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:23	3131	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:23	3131	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32150_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:23	3131	[DEBUG]	Query for Media
2023-10-13	13:19:23	3131	[DEBUG]	Executed store
2023-10-13	13:19:23	3131	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32150_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32150_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13088'
2023-10-13	13:19:23	3131	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:23	3131	[DEBUG]	Executed store
2023-10-13	13:19:23	3131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862623','13088','1')
2023-10-13	13:19:23	3131	[DEBUG]	Store product image relation
2023-10-13	13:19:23	3131	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:23	3131	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862623 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:23	3131	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:23	3131	[DEBUG]	Executed store
2023-10-13	13:19:23	3131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862623','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:23	3131	[DEBUG]	Checking manufacturer
2023-10-13	13:19:23	3131	[DEBUG]	Load a row
2023-10-13	13:19:23	3131	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:23	3131	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:23	3131	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:23	3131	[DEBUG]	Executed store
2023-10-13	13:19:23	3131	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:23	3131	[DEBUG]	Manufacturer exists
2023-10-13	13:19:23	3131	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:23	3131	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:23	3131	[DEBUG]	Executed store
2023-10-13	13:19:23	3131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862623','32')
2023-10-13	13:19:23	3131	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:23	3131	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:23	3131	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862623 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:23	3131	[DEBUG]	Store custom available field
2023-10-13	13:19:23	3131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862623,3,'',1)
2023-10-13	13:19:23	3131	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:23	3131	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:23	3131	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862623 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:23	3131	[DEBUG]	Store custom available field
2023-10-13	13:19:23	3131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862623,6,'Unitaire',3)
2023-10-13	13:19:23	3131	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:23	3131	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:23	3131	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862622
2023-10-13	13:19:23	3131	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:23	3131	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862622\":[1862622,8,1,\"choisir la taille\"],\"1862623\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862622
2023-10-13	13:19:23	3131	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:23	3131	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862623
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:23	3132	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field taille
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:23	3132	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:23	3132	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:23	3132	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:23	3132	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:23	3132	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:23	3132	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field published
2023-10-13	13:19:23	3132	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:23	3132	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field override
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:23	3132	[DEBUG]	Use field value for field slug
2023-10-13	13:19:23	3132	[DEBUG]	Process line 3132
2023-10-13	13:19:23	3132	[DEBUG]	Load a row
2023-10-13	13:19:23	3132	[DEBUG]	Processing item: A_6297_170
2023-10-13	13:19:23	3132	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:23	3132	[DEBUG]	Processing product tax
2023-10-13	13:19:23	3132	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:23	3132	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:23	3132	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:23	3132	[DEBUG]	Query for Product
2023-10-13	13:19:23	3132	[DEBUG]	Executed store
2023-10-13	13:19:23	3132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6297_170','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:23	3132	[DEBUG]	Check product language entry
2023-10-13	13:19:23	3132	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862624
2023-10-13	13:19:23	3132	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:23	3132	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6297_170' AND `virtuemart_product_id` != 1862624
2023-10-13	13:19:23	3132	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:23	3132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862624, 'A_6297_170')
2023-10-13	13:19:23	3132	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:23	3132	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-fuchsia' AND `virtuemart_product_id` != 1862624
2023-10-13	13:19:23	3132	[DEBUG]	Query for ProductLang
2023-10-13	13:19:23	3132	[DEBUG]	Executed store
2023-10-13	13:19:23	3132	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon plastique MSC XONE <br>N° art fourn : BAT',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / FUCHSIA',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-fuchsia' WHERE `virtuemart_product_id` = '1862624'
2023-10-13	13:19:23	3132	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32149_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:23	3132	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:23	3132	[DEBUG]	Process image file
2023-10-13	13:19:23	3132	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:23	3132	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:23	3132	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32149_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:23	3132	[DEBUG]	Full name target: bcprisme/32149_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:24	3132	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:24	3132	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32149_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:24	3132	[DEBUG]	Query for Media
2023-10-13	13:19:24	3132	[DEBUG]	Executed store
2023-10-13	13:19:24	3132	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32149_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32149_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13089'
2023-10-13	13:19:24	3132	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:24	3132	[DEBUG]	Executed store
2023-10-13	13:19:24	3132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862624','13089','1')
2023-10-13	13:19:24	3132	[DEBUG]	Store product image relation
2023-10-13	13:19:24	3132	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:24	3132	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862624 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:24	3132	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:24	3132	[DEBUG]	Executed store
2023-10-13	13:19:24	3132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862624','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:24	3132	[DEBUG]	Checking manufacturer
2023-10-13	13:19:24	3132	[DEBUG]	Load a row
2023-10-13	13:19:24	3132	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:24	3132	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:24	3132	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:24	3132	[DEBUG]	Executed store
2023-10-13	13:19:24	3132	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:24	3132	[DEBUG]	Manufacturer exists
2023-10-13	13:19:24	3132	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:24	3132	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:24	3132	[DEBUG]	Executed store
2023-10-13	13:19:24	3132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862624','32')
2023-10-13	13:19:24	3132	[DEBUG]	Find the custom field ID
2023-10-13	13:19:24	3132	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:24	3132	[DEBUG]	No custom field ID found
2023-10-13	13:19:24	3132	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:24	3132	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:24	3132	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862624 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:24	3132	[DEBUG]	Store custom available field
2023-10-13	13:19:24	3132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862624,3,'8.87527777777778',1)
2023-10-13	13:19:24	3132	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:24	3132	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:24	3132	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862624 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:24	3132	[DEBUG]	Store custom available field
2023-10-13	13:19:24	3132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862624,6,'choisir la taille',3)
2023-10-13	13:19:24	3132	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:24	3132	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:24	3132	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:24	3132	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:24	3132	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862624 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:24	3132	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:24	3132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862624,8,1)
2023-10-13	13:19:24	3132	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:24	3132	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862624\":[1862624,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862624
2023-10-13	13:19:24	3132	[DEBUG]	Checking category
2023-10-13	13:19:24	3132	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:24	3132	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862624
2023-10-13	13:19:24	3132	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:24	3132	[DEBUG]	Executed store
2023-10-13	13:19:24	3132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862624','7366')
2023-10-13	13:19:24	3132	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:24	3132	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862624 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:24	3132	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:24	3132	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862624
2023-10-13	13:19:24	3133	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:24	3133	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:24	3133	[DEBUG]	Use field value for field taille
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:24	3133	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:24	3133	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:24	3133	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:24	3133	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:24	3133	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:24	3133	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:24	3133	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:24	3133	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:24	3133	[DEBUG]	Use field value for field published
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:24	3133	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field override
2023-10-13	13:19:24	3133	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:24	3133	[DEBUG]	Use field value for field slug
2023-10-13	13:19:24	3133	[DEBUG]	Process line 3133
2023-10-13	13:19:24	3133	[DEBUG]	Load a row
2023-10-13	13:19:24	3133	[DEBUG]	Processing item: 8435466216238
2023-10-13	13:19:24	3133	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:24	3133	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:24	3133	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6297_170'
2023-10-13	13:19:24	3133	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:24	3133	[DEBUG]	Processing product tax
2023-10-13	13:19:24	3133	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:24	3133	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:24	3133	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:24	3133	[DEBUG]	Query for Product
2023-10-13	13:19:24	3133	[DEBUG]	Executed store
2023-10-13	13:19:24	3133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862624','8435466216238','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:24	3133	[DEBUG]	No parent found
2023-10-13	13:19:24	3133	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862624 AND customfield_value = 'stockable'
2023-10-13	13:19:24	3133	[DEBUG]	Check product language entry
2023-10-13	13:19:24	3133	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862625
2023-10-13	13:19:24	3133	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:24	3133	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216238' AND `virtuemart_product_id` != 1862625
2023-10-13	13:19:24	3133	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:24	3133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862625, '8435466216238')
2023-10-13	13:19:24	3133	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:24	3133	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-fuchsia-unitaire' AND `virtuemart_product_id` != 1862625
2023-10-13	13:19:24	3133	[DEBUG]	Query for ProductLang
2023-10-13	13:19:24	3133	[DEBUG]	Executed store
2023-10-13	13:19:24	3133	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / FUCHSIA (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-fuchsia-unitaire' WHERE `virtuemart_product_id` = '1862625'
2023-10-13	13:19:24	3133	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32149_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:24	3133	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:24	3133	[DEBUG]	Process image file
2023-10-13	13:19:24	3133	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:24	3133	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:24	3133	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32149_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:24	3133	[DEBUG]	Full name target: bcprisme/32149_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:25	3133	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:25	3133	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32149_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:25	3133	[DEBUG]	Query for Media
2023-10-13	13:19:25	3133	[DEBUG]	Executed store
2023-10-13	13:19:25	3133	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32149_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32149_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13089'
2023-10-13	13:19:25	3133	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:25	3133	[DEBUG]	Executed store
2023-10-13	13:19:25	3133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862625','13089','1')
2023-10-13	13:19:25	3133	[DEBUG]	Store product image relation
2023-10-13	13:19:25	3133	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:25	3133	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862625 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:25	3133	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:25	3133	[DEBUG]	Executed store
2023-10-13	13:19:25	3133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862625','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:25	3133	[DEBUG]	Checking manufacturer
2023-10-13	13:19:25	3133	[DEBUG]	Load a row
2023-10-13	13:19:25	3133	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:25	3133	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:25	3133	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:25	3133	[DEBUG]	Executed store
2023-10-13	13:19:25	3133	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:25	3133	[DEBUG]	Manufacturer exists
2023-10-13	13:19:25	3133	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:25	3133	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:25	3133	[DEBUG]	Executed store
2023-10-13	13:19:25	3133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862625','32')
2023-10-13	13:19:25	3133	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:25	3133	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:25	3133	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862625 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:25	3133	[DEBUG]	Store custom available field
2023-10-13	13:19:25	3133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862625,3,'',1)
2023-10-13	13:19:25	3133	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:25	3133	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:25	3133	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862625 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:25	3133	[DEBUG]	Store custom available field
2023-10-13	13:19:25	3133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862625,6,'Unitaire',3)
2023-10-13	13:19:25	3133	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:25	3133	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:25	3133	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862624
2023-10-13	13:19:25	3133	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:25	3133	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862624\":[1862624,8,1,\"choisir la taille\"],\"1862625\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862624
2023-10-13	13:19:25	3133	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:25	3133	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862625
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:25	3134	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field taille
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:25	3134	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:25	3134	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:25	3134	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:25	3134	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:25	3134	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:25	3134	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field published
2023-10-13	13:19:25	3134	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:25	3134	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field override
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:25	3134	[DEBUG]	Use field value for field slug
2023-10-13	13:19:25	3134	[DEBUG]	Process line 3134
2023-10-13	13:19:25	3134	[DEBUG]	Load a row
2023-10-13	13:19:25	3134	[DEBUG]	Processing item: A_6297_175
2023-10-13	13:19:25	3134	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:25	3134	[DEBUG]	Processing product tax
2023-10-13	13:19:25	3134	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:25	3134	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:25	3134	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:25	3134	[DEBUG]	Query for Product
2023-10-13	13:19:25	3134	[DEBUG]	Executed store
2023-10-13	13:19:25	3134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6297_175','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:25	3134	[DEBUG]	Check product language entry
2023-10-13	13:19:25	3134	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862626
2023-10-13	13:19:25	3134	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:25	3134	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6297_175' AND `virtuemart_product_id` != 1862626
2023-10-13	13:19:25	3134	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:25	3134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862626, 'A_6297_175')
2023-10-13	13:19:25	3134	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:25	3134	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-turquoise' AND `virtuemart_product_id` != 1862626
2023-10-13	13:19:25	3134	[DEBUG]	Query for ProductLang
2023-10-13	13:19:25	3134	[DEBUG]	Executed store
2023-10-13	13:19:25	3134	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon plastique MSC XONE <br>N° art fourn : BAT',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Turquoise',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-turquoise' WHERE `virtuemart_product_id` = '1862626'
2023-10-13	13:19:25	3134	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32154_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:25	3134	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:25	3134	[DEBUG]	Process image file
2023-10-13	13:19:25	3134	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:25	3134	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:25	3134	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32154_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:25	3134	[DEBUG]	Full name target: bcprisme/32154_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:26	3134	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:26	3134	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32154_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:26	3134	[DEBUG]	Query for Media
2023-10-13	13:19:26	3134	[DEBUG]	Executed store
2023-10-13	13:19:26	3134	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32154_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32154_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13090'
2023-10-13	13:19:26	3134	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:26	3134	[DEBUG]	Executed store
2023-10-13	13:19:26	3134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862626','13090','1')
2023-10-13	13:19:26	3134	[DEBUG]	Store product image relation
2023-10-13	13:19:26	3134	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:26	3134	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862626 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:26	3134	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:26	3134	[DEBUG]	Executed store
2023-10-13	13:19:26	3134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862626','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:26	3134	[DEBUG]	Checking manufacturer
2023-10-13	13:19:26	3134	[DEBUG]	Load a row
2023-10-13	13:19:26	3134	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:26	3134	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:26	3134	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:26	3134	[DEBUG]	Executed store
2023-10-13	13:19:26	3134	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:26	3134	[DEBUG]	Manufacturer exists
2023-10-13	13:19:26	3134	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:26	3134	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:26	3134	[DEBUG]	Executed store
2023-10-13	13:19:26	3134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862626','32')
2023-10-13	13:19:26	3134	[DEBUG]	Find the custom field ID
2023-10-13	13:19:26	3134	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:26	3134	[DEBUG]	No custom field ID found
2023-10-13	13:19:26	3134	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:26	3134	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:26	3134	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862626 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:26	3134	[DEBUG]	Store custom available field
2023-10-13	13:19:26	3134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862626,3,'8.87527777777778',1)
2023-10-13	13:19:26	3134	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:26	3134	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:26	3134	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862626 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:26	3134	[DEBUG]	Store custom available field
2023-10-13	13:19:26	3134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862626,6,'choisir la taille',3)
2023-10-13	13:19:26	3134	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:26	3134	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:26	3134	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:26	3134	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:26	3134	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862626 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:26	3134	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:26	3134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862626,8,1)
2023-10-13	13:19:26	3134	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:26	3134	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862626\":[1862626,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862626
2023-10-13	13:19:26	3134	[DEBUG]	Checking category
2023-10-13	13:19:26	3134	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:26	3134	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862626
2023-10-13	13:19:26	3134	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:26	3134	[DEBUG]	Executed store
2023-10-13	13:19:26	3134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862626','7366')
2023-10-13	13:19:26	3134	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:26	3134	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862626 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:26	3134	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:26	3134	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862626
2023-10-13	13:19:26	3135	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:26	3135	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:26	3135	[DEBUG]	Use field value for field taille
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:26	3135	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:26	3135	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:26	3135	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:26	3135	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:26	3135	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:26	3135	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:26	3135	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:26	3135	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:26	3135	[DEBUG]	Use field value for field published
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:26	3135	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field override
2023-10-13	13:19:26	3135	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:26	3135	[DEBUG]	Use field value for field slug
2023-10-13	13:19:26	3135	[DEBUG]	Process line 3135
2023-10-13	13:19:26	3135	[DEBUG]	Load a row
2023-10-13	13:19:26	3135	[DEBUG]	Processing item: 8435466216245
2023-10-13	13:19:26	3135	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:26	3135	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:26	3135	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6297_175'
2023-10-13	13:19:26	3135	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:26	3135	[DEBUG]	Processing product tax
2023-10-13	13:19:26	3135	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:26	3135	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:26	3135	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:26	3135	[DEBUG]	Query for Product
2023-10-13	13:19:26	3135	[DEBUG]	Executed store
2023-10-13	13:19:26	3135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862626','8435466216245','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:26	3135	[DEBUG]	No parent found
2023-10-13	13:19:26	3135	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862626 AND customfield_value = 'stockable'
2023-10-13	13:19:26	3135	[DEBUG]	Check product language entry
2023-10-13	13:19:26	3135	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862627
2023-10-13	13:19:26	3135	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:26	3135	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216245' AND `virtuemart_product_id` != 1862627
2023-10-13	13:19:26	3135	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:26	3135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862627, '8435466216245')
2023-10-13	13:19:26	3135	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:26	3135	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-bat-24-gr-turquoise-unitaire' AND `virtuemart_product_id` != 1862627
2023-10-13	13:19:26	3135	[DEBUG]	Query for ProductLang
2023-10-13	13:19:26	3135	[DEBUG]	Executed store
2023-10-13	13:19:26	3135	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-Bidon MSC BAT, 24 gr. / Turquoise (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-bat-24-gr-turquoise-unitaire' WHERE `virtuemart_product_id` = '1862627'
2023-10-13	13:19:26	3135	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32154_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:26	3135	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:26	3135	[DEBUG]	Process image file
2023-10-13	13:19:26	3135	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:26	3135	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:26	3135	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32154_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:26	3135	[DEBUG]	Full name target: bcprisme/32154_porte-bidon_msc_bat,_24_gr_.jpg
2023-10-13	13:19:27	3135	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:27	3135	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32154_porte-bidon_msc_bat,_24_gr_.jpg'
2023-10-13	13:19:27	3135	[DEBUG]	Query for Media
2023-10-13	13:19:27	3135	[DEBUG]	Executed store
2023-10-13	13:19:27	3135	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32154_porte-bidon_msc_bat,_24_gr_.jpg',`file_url_thumb`='bcprisme/32154_porte-bidon_msc_bat,_24_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13090'
2023-10-13	13:19:27	3135	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:27	3135	[DEBUG]	Executed store
2023-10-13	13:19:27	3135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862627','13090','1')
2023-10-13	13:19:27	3135	[DEBUG]	Store product image relation
2023-10-13	13:19:27	3135	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:27	3135	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862627 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:27	3135	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:27	3135	[DEBUG]	Executed store
2023-10-13	13:19:27	3135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862627','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:27	3135	[DEBUG]	Checking manufacturer
2023-10-13	13:19:27	3135	[DEBUG]	Load a row
2023-10-13	13:19:27	3135	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:27	3135	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:27	3135	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:27	3135	[DEBUG]	Executed store
2023-10-13	13:19:27	3135	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:27	3135	[DEBUG]	Manufacturer exists
2023-10-13	13:19:27	3135	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:27	3135	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:27	3135	[DEBUG]	Executed store
2023-10-13	13:19:27	3135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862627','32')
2023-10-13	13:19:27	3135	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:27	3135	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:27	3135	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862627 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:27	3135	[DEBUG]	Store custom available field
2023-10-13	13:19:27	3135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862627,3,'',1)
2023-10-13	13:19:27	3135	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:27	3135	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:27	3135	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862627 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:27	3135	[DEBUG]	Store custom available field
2023-10-13	13:19:27	3135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862627,6,'Unitaire',3)
2023-10-13	13:19:27	3135	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:27	3135	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:27	3135	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862626
2023-10-13	13:19:27	3135	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:27	3135	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862626\":[1862626,8,1,\"choisir la taille\"],\"1862627\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862626
2023-10-13	13:19:27	3135	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:27	3135	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862627
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:27	3136	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field taille
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:27	3136	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:27	3136	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:27	3136	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:27	3136	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:27	3136	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:27	3136	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field published
2023-10-13	13:19:27	3136	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:27	3136	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field override
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:27	3136	[DEBUG]	Use field value for field slug
2023-10-13	13:19:27	3136	[DEBUG]	Process line 3136
2023-10-13	13:19:27	3136	[DEBUG]	Load a row
2023-10-13	13:19:27	3136	[DEBUG]	Processing item: A_7223_1
2023-10-13	13:19:27	3136	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:27	3136	[DEBUG]	Processing product tax
2023-10-13	13:19:27	3136	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:27	3136	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:27	3136	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:27	3136	[DEBUG]	Query for Product
2023-10-13	13:19:27	3136	[DEBUG]	Executed store
2023-10-13	13:19:27	3136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7223_1','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:27	3136	[DEBUG]	Check product language entry
2023-10-13	13:19:27	3136	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862628
2023-10-13	13:19:27	3136	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:27	3136	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7223_1' AND `virtuemart_product_id` != 1862628
2023-10-13	13:19:27	3136	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:27	3136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862628, 'A_7223_1')
2023-10-13	13:19:27	3136	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:27	3136	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'elite-porte-bidon-elite-custom-race-noir' AND `virtuemart_product_id` != 1862628
2023-10-13	13:19:27	3136	[DEBUG]	Query for ProductLang
2023-10-13	13:19:27	3136	[DEBUG]	Executed store
2023-10-13	13:19:27	3136	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : 17.43884',`product_name`='Elite Porte-bidon Elite Custom Race / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='elite-porte-bidon-elite-custom-race-noir' WHERE `virtuemart_product_id` = '1862628'
2023-10-13	13:19:28	3136	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34407_porte-bidon_elite_custom_race.jpg
2023-10-13	13:19:28	3136	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:28	3136	[DEBUG]	Process image file
2023-10-13	13:19:28	3136	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:28	3136	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:28	3136	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34407_porte-bidon_elite_custom_race.jpg
2023-10-13	13:19:28	3136	[DEBUG]	Full name target: bcprisme/34407_porte-bidon_elite_custom_race.jpg
2023-10-13	13:19:28	3136	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:28	3136	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34407_porte-bidon_elite_custom_race.jpg'
2023-10-13	13:19:28	3136	[DEBUG]	Query for Media
2023-10-13	13:19:29	3136	[DEBUG]	Executed store
2023-10-13	13:19:29	3136	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34407_porte-bidon_elite_custom_race.jpg',`file_url_thumb`='bcprisme/34407_porte-bidon_elite_custom_race.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147031'
2023-10-13	13:19:29	3136	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:29	3136	[DEBUG]	Executed store
2023-10-13	13:19:29	3136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862628','147031','1')
2023-10-13	13:19:29	3136	[DEBUG]	Store product image relation
2023-10-13	13:19:29	3136	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:29	3136	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862628 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:29	3136	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:29	3136	[DEBUG]	Executed store
2023-10-13	13:19:29	3136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862628','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:29	3136	[DEBUG]	Checking manufacturer
2023-10-13	13:19:29	3136	[DEBUG]	Load a row
2023-10-13	13:19:29	3136	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:29	3136	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:19:29	3136	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:29	3136	[DEBUG]	Executed store
2023-10-13	13:19:29	3136	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-3390137955' WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:19:29	3136	[DEBUG]	Manufacturer exists
2023-10-13	13:19:29	3136	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 58
2023-10-13	13:19:29	3136	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:29	3136	[DEBUG]	Executed store
2023-10-13	13:19:29	3136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862628','58')
2023-10-13	13:19:29	3136	[DEBUG]	Find the custom field ID
2023-10-13	13:19:29	3136	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:29	3136	[DEBUG]	No custom field ID found
2023-10-13	13:19:29	3136	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:29	3136	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:29	3136	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862628 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:29	3136	[DEBUG]	Store custom available field
2023-10-13	13:19:29	3136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862628,3,'8.87527777777778',1)
2023-10-13	13:19:29	3136	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:29	3136	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:29	3136	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862628 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:29	3136	[DEBUG]	Store custom available field
2023-10-13	13:19:29	3136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862628,6,'choisir la taille',3)
2023-10-13	13:19:29	3136	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:29	3136	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:29	3136	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:29	3136	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:29	3136	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862628 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:29	3136	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:29	3136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862628,8,1)
2023-10-13	13:19:29	3136	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:29	3136	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862628\":[1862628,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862628
2023-10-13	13:19:29	3136	[DEBUG]	Checking category
2023-10-13	13:19:29	3136	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:29	3136	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862628
2023-10-13	13:19:29	3136	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:29	3136	[DEBUG]	Executed store
2023-10-13	13:19:29	3136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862628','7366')
2023-10-13	13:19:29	3136	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:29	3136	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862628 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:29	3136	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:29	3136	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862628
2023-10-13	13:19:29	3137	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:29	3137	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:29	3137	[DEBUG]	Use field value for field taille
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:29	3137	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:29	3137	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:29	3137	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:29	3137	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:29	3137	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:29	3137	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:29	3137	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:29	3137	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:29	3137	[DEBUG]	Use field value for field published
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:29	3137	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field override
2023-10-13	13:19:29	3137	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:29	3137	[DEBUG]	Use field value for field slug
2023-10-13	13:19:29	3137	[DEBUG]	Process line 3137
2023-10-13	13:19:29	3137	[DEBUG]	Load a row
2023-10-13	13:19:29	3137	[DEBUG]	Processing item: 8020775016855
2023-10-13	13:19:29	3137	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:29	3137	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:29	3137	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7223_1'
2023-10-13	13:19:29	3137	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:29	3137	[DEBUG]	Processing product tax
2023-10-13	13:19:29	3137	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:29	3137	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:29	3137	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:29	3137	[DEBUG]	Query for Product
2023-10-13	13:19:29	3137	[DEBUG]	Executed store
2023-10-13	13:19:29	3137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862628','8020775016855','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:29	3137	[DEBUG]	No parent found
2023-10-13	13:19:29	3137	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862628 AND customfield_value = 'stockable'
2023-10-13	13:19:29	3137	[DEBUG]	Check product language entry
2023-10-13	13:19:29	3137	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862629
2023-10-13	13:19:29	3137	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:29	3137	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8020775016855' AND `virtuemart_product_id` != 1862629
2023-10-13	13:19:29	3137	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:29	3137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862629, '8020775016855')
2023-10-13	13:19:29	3137	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:29	3137	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'elite-porte-bidon-elite-custom-race-noir-unitaire' AND `virtuemart_product_id` != 1862629
2023-10-13	13:19:29	3137	[DEBUG]	Query for ProductLang
2023-10-13	13:19:29	3137	[DEBUG]	Executed store
2023-10-13	13:19:29	3137	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Elite Porte-bidon Elite Custom Race / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='elite-porte-bidon-elite-custom-race-noir-unitaire' WHERE `virtuemart_product_id` = '1862629'
2023-10-13	13:19:29	3137	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34407_porte-bidon_elite_custom_race.jpg
2023-10-13	13:19:29	3137	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:29	3137	[DEBUG]	Process image file
2023-10-13	13:19:29	3137	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:29	3137	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:29	3137	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34407_porte-bidon_elite_custom_race.jpg
2023-10-13	13:19:29	3137	[DEBUG]	Full name target: bcprisme/34407_porte-bidon_elite_custom_race.jpg
2023-10-13	13:19:30	3137	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:30	3137	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34407_porte-bidon_elite_custom_race.jpg'
2023-10-13	13:19:30	3137	[DEBUG]	Query for Media
2023-10-13	13:19:30	3137	[DEBUG]	Executed store
2023-10-13	13:19:30	3137	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34407_porte-bidon_elite_custom_race.jpg',`file_url_thumb`='bcprisme/34407_porte-bidon_elite_custom_race.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147031'
2023-10-13	13:19:30	3137	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:30	3137	[DEBUG]	Executed store
2023-10-13	13:19:30	3137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862629','147031','1')
2023-10-13	13:19:30	3137	[DEBUG]	Store product image relation
2023-10-13	13:19:30	3137	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:30	3137	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862629 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:30	3137	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:30	3137	[DEBUG]	Executed store
2023-10-13	13:19:30	3137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862629','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:30	3137	[DEBUG]	Checking manufacturer
2023-10-13	13:19:30	3137	[DEBUG]	Load a row
2023-10-13	13:19:30	3137	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:30	3137	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:19:30	3137	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:30	3137	[DEBUG]	Executed store
2023-10-13	13:19:30	3137	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-3390137955' WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:19:30	3137	[DEBUG]	Manufacturer exists
2023-10-13	13:19:30	3137	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 58
2023-10-13	13:19:30	3137	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:30	3137	[DEBUG]	Executed store
2023-10-13	13:19:30	3137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862629','58')
2023-10-13	13:19:30	3137	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:30	3137	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:30	3137	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862629 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:30	3137	[DEBUG]	Store custom available field
2023-10-13	13:19:30	3137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862629,3,'',1)
2023-10-13	13:19:30	3137	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:30	3137	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:30	3137	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862629 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:30	3137	[DEBUG]	Store custom available field
2023-10-13	13:19:30	3137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862629,6,'Unitaire',3)
2023-10-13	13:19:30	3137	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:30	3137	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:30	3137	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862628
2023-10-13	13:19:30	3137	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:30	3137	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862628\":[1862628,8,1,\"choisir la taille\"],\"1862629\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862628
2023-10-13	13:19:30	3137	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:30	3137	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862629
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:30	3138	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field taille
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:30	3138	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:30	3138	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:30	3138	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:30	3138	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:30	3138	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:30	3138	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field published
2023-10-13	13:19:30	3138	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:30	3138	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field override
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:30	3138	[DEBUG]	Use field value for field slug
2023-10-13	13:19:30	3138	[DEBUG]	Process line 3138
2023-10-13	13:19:30	3138	[DEBUG]	Load a row
2023-10-13	13:19:30	3138	[DEBUG]	Processing item: A_7241_1
2023-10-13	13:19:30	3138	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:30	3138	[DEBUG]	Processing product tax
2023-10-13	13:19:30	3138	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:30	3138	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:30	3138	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:30	3138	[DEBUG]	Query for Product
2023-10-13	13:19:30	3138	[DEBUG]	Executed store
2023-10-13	13:19:30	3138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7241_1','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:30	3138	[DEBUG]	Check product language entry
2023-10-13	13:19:30	3138	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862630
2023-10-13	13:19:30	3138	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:30	3138	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7241_1' AND `virtuemart_product_id` != 1862630
2023-10-13	13:19:30	3138	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:30	3138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862630, 'A_7241_1')
2023-10-13	13:19:30	3138	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:30	3138	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-topeak-alt-position-cage-mount-adapter-aluminium-set-a-2-pieces-noir' AND `virtuemart_product_id` != 1862630
2023-10-13	13:19:30	3138	[DEBUG]	Query for ProductLang
2023-10-13	13:19:30	3138	[DEBUG]	Executed store
2023-10-13	13:19:30	3138	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon MSC en polycarbonate, 39 GR.<br>N° art fourn : 220.003.003',`product_name`='Topeak Topeak Alt-Position Cage Mount Adapter, Aluminium, Set à 2 pièces / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-topeak-alt-position-cage-mount-adapter-aluminium-set-a-2-pieces-noir' WHERE `virtuemart_product_id` = '1862630'
2023-10-13	13:19:30	3138	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34425_topeak_alt-position_cage_mount_adapter,_aluminium,_set_à_2_pieces.jpg
2023-10-13	13:19:30	3138	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:30	3138	[DEBUG]	Process image file
2023-10-13	13:19:30	3138	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:30	3138	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:30	3138	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34425_topeak_alt-position_cage_mount_adapter,_aluminium,_set_à_2_pieces.jpg
2023-10-13	13:19:30	3138	[DEBUG]	Full name target: bcprisme/34425_topeak_alt-position_cage_mount_adapter,_aluminium,_set_à_2_pieces.jpg
2023-10-13	13:19:31	3138	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:31	3138	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34425_topeak_alt-position_cage_mount_adapter,_aluminium,_set_à_2_pieces.jpg'
2023-10-13	13:19:31	3138	[DEBUG]	Query for Media
2023-10-13	13:19:31	3138	[DEBUG]	Executed store
2023-10-13	13:19:31	3138	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34425_topeak_alt-position_cage_mount_adapter,_aluminium,_set_à_2_pieces.jpg',`file_url_thumb`='bcprisme/34425_topeak_alt-position_cage_mount_adapter,_aluminium,_set_à_2_pieces.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147033'
2023-10-13	13:19:31	3138	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:31	3138	[DEBUG]	Executed store
2023-10-13	13:19:31	3138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862630','147033','1')
2023-10-13	13:19:31	3138	[DEBUG]	Store product image relation
2023-10-13	13:19:31	3138	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:31	3138	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862630 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:31	3138	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:31	3138	[DEBUG]	Executed store
2023-10-13	13:19:31	3138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862630','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:31	3138	[DEBUG]	Checking manufacturer
2023-10-13	13:19:31	3138	[DEBUG]	Load a row
2023-10-13	13:19:31	3138	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:31	3138	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:19:31	3138	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:31	3138	[DEBUG]	Executed store
2023-10-13	13:19:31	3138	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:19:31	3138	[DEBUG]	Manufacturer exists
2023-10-13	13:19:31	3138	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:19:31	3138	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:31	3138	[DEBUG]	Executed store
2023-10-13	13:19:31	3138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862630','149')
2023-10-13	13:19:31	3138	[DEBUG]	Find the custom field ID
2023-10-13	13:19:31	3138	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:31	3138	[DEBUG]	No custom field ID found
2023-10-13	13:19:31	3138	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:31	3138	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:31	3138	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862630 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:31	3138	[DEBUG]	Store custom available field
2023-10-13	13:19:31	3138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862630,3,'8.87527777777778',1)
2023-10-13	13:19:31	3138	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:31	3138	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:31	3138	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862630 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:31	3138	[DEBUG]	Store custom available field
2023-10-13	13:19:31	3138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862630,6,'choisir la taille',3)
2023-10-13	13:19:31	3138	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:31	3138	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:31	3138	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:31	3138	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:31	3138	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862630 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:31	3138	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:31	3138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862630,8,1)
2023-10-13	13:19:31	3138	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:31	3138	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862630\":[1862630,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862630
2023-10-13	13:19:31	3138	[DEBUG]	Checking category
2023-10-13	13:19:31	3138	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:31	3138	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862630
2023-10-13	13:19:31	3138	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:31	3138	[DEBUG]	Executed store
2023-10-13	13:19:31	3138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862630','7366')
2023-10-13	13:19:31	3138	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:31	3138	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862630 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:31	3138	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:31	3138	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862630
2023-10-13	13:19:31	3139	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:31	3139	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:31	3139	[DEBUG]	Use field value for field taille
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:31	3139	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:31	3139	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:31	3139	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:31	3139	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:31	3139	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:31	3139	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:31	3139	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:31	3139	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:31	3139	[DEBUG]	Use field value for field published
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:31	3139	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field override
2023-10-13	13:19:31	3139	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:31	3139	[DEBUG]	Use field value for field slug
2023-10-13	13:19:31	3139	[DEBUG]	Process line 3139
2023-10-13	13:19:31	3139	[DEBUG]	Load a row
2023-10-13	13:19:31	3139	[DEBUG]	Processing item: 1000000119015
2023-10-13	13:19:31	3139	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:31	3139	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:31	3139	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7241_1'
2023-10-13	13:19:31	3139	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:31	3139	[DEBUG]	Processing product tax
2023-10-13	13:19:31	3139	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:31	3139	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:31	3139	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:31	3139	[DEBUG]	Query for Product
2023-10-13	13:19:31	3139	[DEBUG]	Executed store
2023-10-13	13:19:31	3139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862630','1000000119015','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:31	3139	[DEBUG]	No parent found
2023-10-13	13:19:31	3139	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862630 AND customfield_value = 'stockable'
2023-10-13	13:19:31	3139	[DEBUG]	Check product language entry
2023-10-13	13:19:31	3139	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862631
2023-10-13	13:19:31	3139	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:31	3139	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000119015' AND `virtuemart_product_id` != 1862631
2023-10-13	13:19:31	3139	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:31	3139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862631, '1000000119015')
2023-10-13	13:19:31	3139	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:31	3139	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-topeak-alt-position-cage-mount-adapter-aluminium-set-a-2-pieces-noir-unitaire' AND `virtuemart_product_id` != 1862631
2023-10-13	13:19:31	3139	[DEBUG]	Query for ProductLang
2023-10-13	13:19:31	3139	[DEBUG]	Executed store
2023-10-13	13:19:31	3139	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Topeak Topeak Alt-Position Cage Mount Adapter, Aluminium, Set à 2 pièces / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-topeak-alt-position-cage-mount-adapter-aluminium-set-a-2-pieces-noir-unitaire' WHERE `virtuemart_product_id` = '1862631'
2023-10-13	13:19:31	3139	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34425_topeak_alt-position_cage_mount_adapter,_aluminium,_set_à_2_pieces.jpg
2023-10-13	13:19:31	3139	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:31	3139	[DEBUG]	Process image file
2023-10-13	13:19:31	3139	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:31	3139	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:31	3139	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34425_topeak_alt-position_cage_mount_adapter,_aluminium,_set_à_2_pieces.jpg
2023-10-13	13:19:31	3139	[DEBUG]	Full name target: bcprisme/34425_topeak_alt-position_cage_mount_adapter,_aluminium,_set_à_2_pieces.jpg
2023-10-13	13:19:32	3139	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:32	3139	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34425_topeak_alt-position_cage_mount_adapter,_aluminium,_set_à_2_pieces.jpg'
2023-10-13	13:19:32	3139	[DEBUG]	Query for Media
2023-10-13	13:19:32	3139	[DEBUG]	Executed store
2023-10-13	13:19:32	3139	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34425_topeak_alt-position_cage_mount_adapter,_aluminium,_set_à_2_pieces.jpg',`file_url_thumb`='bcprisme/34425_topeak_alt-position_cage_mount_adapter,_aluminium,_set_à_2_pieces.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147033'
2023-10-13	13:19:32	3139	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:32	3139	[DEBUG]	Executed store
2023-10-13	13:19:32	3139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862631','147033','1')
2023-10-13	13:19:32	3139	[DEBUG]	Store product image relation
2023-10-13	13:19:32	3139	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:32	3139	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862631 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:32	3139	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:32	3139	[DEBUG]	Executed store
2023-10-13	13:19:32	3139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862631','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:32	3139	[DEBUG]	Checking manufacturer
2023-10-13	13:19:32	3139	[DEBUG]	Load a row
2023-10-13	13:19:32	3139	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:32	3139	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:19:32	3139	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:32	3139	[DEBUG]	Executed store
2023-10-13	13:19:32	3139	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:19:32	3139	[DEBUG]	Manufacturer exists
2023-10-13	13:19:32	3139	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:19:32	3139	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:32	3139	[DEBUG]	Executed store
2023-10-13	13:19:32	3139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862631','149')
2023-10-13	13:19:32	3139	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:32	3139	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:32	3139	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862631 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:32	3139	[DEBUG]	Store custom available field
2023-10-13	13:19:32	3139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862631,3,'',1)
2023-10-13	13:19:32	3139	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:32	3139	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:32	3139	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862631 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:32	3139	[DEBUG]	Store custom available field
2023-10-13	13:19:32	3139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862631,6,'Unitaire',3)
2023-10-13	13:19:32	3139	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:32	3139	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:32	3139	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862630
2023-10-13	13:19:32	3139	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:32	3139	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862630\":[1862630,8,1,\"choisir la taille\"],\"1862631\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862630
2023-10-13	13:19:32	3139	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:32	3139	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862631
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:32	3140	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field taille
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:32	3140	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:32	3140	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:32	3140	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:32	3140	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:32	3140	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:32	3140	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field published
2023-10-13	13:19:32	3140	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:32	3140	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field override
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:32	3140	[DEBUG]	Use field value for field slug
2023-10-13	13:19:32	3140	[DEBUG]	Process line 3140
2023-10-13	13:19:32	3140	[DEBUG]	Load a row
2023-10-13	13:19:32	3140	[DEBUG]	Processing item: A_7588_1
2023-10-13	13:19:32	3140	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:32	3140	[DEBUG]	Processing product tax
2023-10-13	13:19:32	3140	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:32	3140	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:32	3140	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:32	3140	[DEBUG]	Query for Product
2023-10-13	13:19:32	3140	[DEBUG]	Executed store
2023-10-13	13:19:32	3140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7588_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:32	3140	[DEBUG]	Check product language entry
2023-10-13	13:19:32	3140	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862632
2023-10-13	13:19:32	3140	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:32	3140	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7588_1' AND `virtuemart_product_id` != 1862632
2023-10-13	13:19:32	3140	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:32	3140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862632, 'A_7588_1')
2023-10-13	13:19:32	3140	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:32	3140	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'elite-porte-bidon-prism-soft-touch-gauche-noir-noir-noir' AND `virtuemart_product_id` != 1862632
2023-10-13	13:19:32	3140	[DEBUG]	Query for ProductLang
2023-10-13	13:19:32	3140	[DEBUG]	Executed store
2023-10-13	13:19:32	3140	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 17.74278',`product_name`='Elite Porte-bidon Prism soft touch gauche noir-noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='elite-porte-bidon-prism-soft-touch-gauche-noir-noir-noir' WHERE `virtuemart_product_id` = '1862632'
2023-10-13	13:19:32	3140	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35029_porte-bidon_prism_soft_touch_gauche_noir-noir.jpg
2023-10-13	13:19:32	3140	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:32	3140	[DEBUG]	Process image file
2023-10-13	13:19:32	3140	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:32	3140	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:32	3140	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35029_porte-bidon_prism_soft_touch_gauche_noir-noir.jpg
2023-10-13	13:19:32	3140	[DEBUG]	Full name target: bcprisme/35029_porte-bidon_prism_soft_touch_gauche_noir-noir.jpg
2023-10-13	13:19:33	3140	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:33	3140	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35029_porte-bidon_prism_soft_touch_gauche_noir-noir.jpg'
2023-10-13	13:19:33	3140	[DEBUG]	Query for Media
2023-10-13	13:19:33	3140	[DEBUG]	Executed store
2023-10-13	13:19:33	3140	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35029_porte-bidon_prism_soft_touch_gauche_noir-noir.jpg',`file_url_thumb`='bcprisme/35029_porte-bidon_prism_soft_touch_gauche_noir-noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '330960'
2023-10-13	13:19:33	3140	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:33	3140	[DEBUG]	Executed store
2023-10-13	13:19:33	3140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862632','330960','1')
2023-10-13	13:19:33	3140	[DEBUG]	Store product image relation
2023-10-13	13:19:33	3140	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:33	3140	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862632 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:33	3140	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:33	3140	[DEBUG]	Executed store
2023-10-13	13:19:33	3140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862632','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:33	3140	[DEBUG]	Checking manufacturer
2023-10-13	13:19:33	3140	[DEBUG]	Load a row
2023-10-13	13:19:33	3140	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:33	3140	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:19:33	3140	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:33	3140	[DEBUG]	Executed store
2023-10-13	13:19:33	3140	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-3390137955' WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:19:33	3140	[DEBUG]	Manufacturer exists
2023-10-13	13:19:33	3140	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 58
2023-10-13	13:19:33	3140	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:33	3140	[DEBUG]	Executed store
2023-10-13	13:19:33	3140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862632','58')
2023-10-13	13:19:33	3140	[DEBUG]	Find the custom field ID
2023-10-13	13:19:33	3140	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:33	3140	[DEBUG]	No custom field ID found
2023-10-13	13:19:33	3140	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:33	3140	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:19:33	3140	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862632 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:33	3140	[DEBUG]	Store custom available field
2023-10-13	13:19:33	3140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862632,3,'0',1)
2023-10-13	13:19:33	3140	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:33	3140	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:33	3140	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862632 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:33	3140	[DEBUG]	Store custom available field
2023-10-13	13:19:33	3140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862632,6,'choisir la taille',3)
2023-10-13	13:19:33	3140	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:33	3140	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:33	3140	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:33	3140	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:33	3140	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862632 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:33	3140	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:33	3140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862632,8,1)
2023-10-13	13:19:33	3140	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:33	3140	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862632\":[1862632,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862632
2023-10-13	13:19:33	3140	[DEBUG]	Checking category
2023-10-13	13:19:33	3140	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:33	3140	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862632
2023-10-13	13:19:33	3140	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:33	3140	[DEBUG]	Executed store
2023-10-13	13:19:33	3140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862632','7366')
2023-10-13	13:19:33	3140	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:33	3140	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862632 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:33	3140	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:33	3140	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862632
2023-10-13	13:19:33	3141	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:33	3141	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:33	3141	[DEBUG]	Use field value for field taille
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:33	3141	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:33	3141	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:33	3141	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:33	3141	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:33	3141	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:33	3141	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:33	3141	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:33	3141	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:33	3141	[DEBUG]	Use field value for field published
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:33	3141	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field override
2023-10-13	13:19:33	3141	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:33	3141	[DEBUG]	Use field value for field slug
2023-10-13	13:19:33	3141	[DEBUG]	Process line 3141
2023-10-13	13:19:33	3141	[DEBUG]	Load a row
2023-10-13	13:19:33	3141	[DEBUG]	Processing item: 8020775032244
2023-10-13	13:19:33	3141	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:33	3141	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:33	3141	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7588_1'
2023-10-13	13:19:33	3141	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:33	3141	[DEBUG]	Processing product tax
2023-10-13	13:19:33	3141	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:33	3141	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:33	3141	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:33	3141	[DEBUG]	Query for Product
2023-10-13	13:19:33	3141	[DEBUG]	Executed store
2023-10-13	13:19:33	3141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862632','8020775032244','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:33	3141	[DEBUG]	No parent found
2023-10-13	13:19:33	3141	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862632 AND customfield_value = 'stockable'
2023-10-13	13:19:33	3141	[DEBUG]	Check product language entry
2023-10-13	13:19:33	3141	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862633
2023-10-13	13:19:33	3141	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:33	3141	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8020775032244' AND `virtuemart_product_id` != 1862633
2023-10-13	13:19:33	3141	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:33	3141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862633, '8020775032244')
2023-10-13	13:19:33	3141	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:33	3141	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'elite-porte-bidon-prism-soft-touch-gauche-noir-noir-noir-unitaire' AND `virtuemart_product_id` != 1862633
2023-10-13	13:19:33	3141	[DEBUG]	Query for ProductLang
2023-10-13	13:19:33	3141	[DEBUG]	Executed store
2023-10-13	13:19:33	3141	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Elite Porte-bidon Prism soft touch gauche noir-noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='elite-porte-bidon-prism-soft-touch-gauche-noir-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1862633'
2023-10-13	13:19:33	3141	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35029_porte-bidon_prism_soft_touch_gauche_noir-noir.jpg
2023-10-13	13:19:33	3141	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:33	3141	[DEBUG]	Process image file
2023-10-13	13:19:33	3141	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:33	3141	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:33	3141	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35029_porte-bidon_prism_soft_touch_gauche_noir-noir.jpg
2023-10-13	13:19:33	3141	[DEBUG]	Full name target: bcprisme/35029_porte-bidon_prism_soft_touch_gauche_noir-noir.jpg
2023-10-13	13:19:34	3141	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:34	3141	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35029_porte-bidon_prism_soft_touch_gauche_noir-noir.jpg'
2023-10-13	13:19:34	3141	[DEBUG]	Query for Media
2023-10-13	13:19:34	3141	[DEBUG]	Executed store
2023-10-13	13:19:34	3141	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35029_porte-bidon_prism_soft_touch_gauche_noir-noir.jpg',`file_url_thumb`='bcprisme/35029_porte-bidon_prism_soft_touch_gauche_noir-noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '330960'
2023-10-13	13:19:34	3141	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:34	3141	[DEBUG]	Executed store
2023-10-13	13:19:34	3141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862633','330960','1')
2023-10-13	13:19:34	3141	[DEBUG]	Store product image relation
2023-10-13	13:19:34	3141	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:34	3141	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862633 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:34	3141	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:34	3141	[DEBUG]	Executed store
2023-10-13	13:19:34	3141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862633','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:34	3141	[DEBUG]	Checking manufacturer
2023-10-13	13:19:34	3141	[DEBUG]	Load a row
2023-10-13	13:19:34	3141	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:34	3141	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:19:34	3141	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:34	3141	[DEBUG]	Executed store
2023-10-13	13:19:34	3141	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-3390137955' WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:19:34	3141	[DEBUG]	Manufacturer exists
2023-10-13	13:19:34	3141	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 58
2023-10-13	13:19:34	3141	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:34	3141	[DEBUG]	Executed store
2023-10-13	13:19:34	3141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862633','58')
2023-10-13	13:19:34	3141	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:34	3141	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:34	3141	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862633 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:34	3141	[DEBUG]	Store custom available field
2023-10-13	13:19:34	3141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862633,3,'',1)
2023-10-13	13:19:34	3141	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:34	3141	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:34	3141	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862633 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:34	3141	[DEBUG]	Store custom available field
2023-10-13	13:19:34	3141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862633,6,'Unitaire',3)
2023-10-13	13:19:34	3141	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:34	3141	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:34	3141	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862632
2023-10-13	13:19:34	3141	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:34	3141	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862632\":[1862632,8,1,\"choisir la taille\"],\"1862633\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862632
2023-10-13	13:19:34	3141	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:34	3141	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862633
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:34	3142	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field taille
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:34	3142	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:34	3142	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:34	3142	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:34	3142	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:34	3142	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:34	3142	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field published
2023-10-13	13:19:34	3142	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:34	3142	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field override
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:34	3142	[DEBUG]	Use field value for field slug
2023-10-13	13:19:34	3142	[DEBUG]	Process line 3142
2023-10-13	13:19:34	3142	[DEBUG]	Load a row
2023-10-13	13:19:34	3142	[DEBUG]	Processing item: A_7971_1
2023-10-13	13:19:34	3142	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:34	3142	[DEBUG]	Processing product tax
2023-10-13	13:19:34	3142	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:34	3142	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:34	3142	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:34	3142	[DEBUG]	Query for Product
2023-10-13	13:19:34	3142	[DEBUG]	Executed store
2023-10-13	13:19:34	3142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7971_1','0.0039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:34	3142	[DEBUG]	Check product language entry
2023-10-13	13:19:34	3142	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862634
2023-10-13	13:19:34	3142	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:34	3142	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7971_1' AND `virtuemart_product_id` != 1862634
2023-10-13	13:19:34	3142	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:34	3142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862634, 'A_7971_1')
2023-10-13	13:19:34	3142	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:34	3142	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-giant-proway-side-entry-noir' AND `virtuemart_product_id` != 1862634
2023-10-13	13:19:34	3142	[DEBUG]	Query for ProductLang
2023-10-13	13:19:34	3142	[DEBUG]	Executed store
2023-10-13	13:19:34	3142	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon en Nylon MSC, 39 gr.<br>N° art fourn : 220.500.011',`product_name`='MSC Porte-bidon Giant Proway Side Entry / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-giant-proway-side-entry-noir' WHERE `virtuemart_product_id` = '1862634'
2023-10-13	13:19:34	3142	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36434_porte-bidon_giant_proway_side_entry.jpg
2023-10-13	13:19:34	3142	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:19:34	3142	[DEBUG]	Process image file
2023-10-13	13:19:34	3142	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:19:34	3142	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:34	3142	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36434_porte-bidon_giant_proway_side_entry.jpg
2023-10-13	13:19:34	3142	[DEBUG]	Full name target: bcprisme/36434_porte-bidon_giant_proway_side_entry.jpg
2023-10-13	13:19:35	3142	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:35	3142	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36434_porte-bidon_giant_proway_side_entry.jpg'
2023-10-13	13:19:35	3142	[DEBUG]	Query for Media
2023-10-13	13:19:35	3142	[DEBUG]	Executed store
2023-10-13	13:19:35	3142	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36434_porte-bidon_giant_proway_side_entry.jpg',`file_url_thumb`='bcprisme/36434_porte-bidon_giant_proway_side_entry.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '577789'
2023-10-13	13:19:35	3142	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:35	3142	[DEBUG]	Executed store
2023-10-13	13:19:35	3142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862634','577789','1')
2023-10-13	13:19:35	3142	[DEBUG]	Store product image relation
2023-10-13	13:19:35	3142	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:35	3142	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862634 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:35	3142	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:35	3142	[DEBUG]	Executed store
2023-10-13	13:19:35	3142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862634','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:35	3142	[DEBUG]	Checking manufacturer
2023-10-13	13:19:35	3142	[DEBUG]	Load a row
2023-10-13	13:19:35	3142	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:35	3142	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:35	3142	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:35	3142	[DEBUG]	Executed store
2023-10-13	13:19:35	3142	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:35	3142	[DEBUG]	Manufacturer exists
2023-10-13	13:19:35	3142	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:19:35	3142	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:35	3142	[DEBUG]	Executed store
2023-10-13	13:19:35	3142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862634','206')
2023-10-13	13:19:35	3142	[DEBUG]	Find the custom field ID
2023-10-13	13:19:35	3142	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:35	3142	[DEBUG]	No custom field ID found
2023-10-13	13:19:35	3142	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:35	3142	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:35	3142	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862634 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:35	3142	[DEBUG]	Store custom available field
2023-10-13	13:19:35	3142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862634,3,'8.87527777777778',1)
2023-10-13	13:19:35	3142	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:35	3142	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:35	3142	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862634 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:35	3142	[DEBUG]	Store custom available field
2023-10-13	13:19:35	3142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862634,6,'choisir la taille',3)
2023-10-13	13:19:35	3142	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:35	3142	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:35	3142	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:35	3142	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:35	3142	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862634 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:35	3142	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:35	3142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862634,8,1)
2023-10-13	13:19:35	3142	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:35	3142	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862634\":[1862634,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862634
2023-10-13	13:19:35	3142	[DEBUG]	Checking category
2023-10-13	13:19:35	3142	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:35	3142	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862634
2023-10-13	13:19:35	3142	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:35	3142	[DEBUG]	Executed store
2023-10-13	13:19:35	3142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862634','7366')
2023-10-13	13:19:35	3142	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:35	3142	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862634 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:35	3142	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:35	3142	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862634
2023-10-13	13:19:35	3143	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:35	3143	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:35	3143	[DEBUG]	Use field value for field taille
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:35	3143	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:35	3143	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:35	3143	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:35	3143	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:35	3143	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:35	3143	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:35	3143	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:35	3143	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:35	3143	[DEBUG]	Use field value for field published
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:35	3143	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field override
2023-10-13	13:19:35	3143	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:35	3143	[DEBUG]	Use field value for field slug
2023-10-13	13:19:35	3143	[DEBUG]	Process line 3143
2023-10-13	13:19:35	3143	[DEBUG]	Load a row
2023-10-13	13:19:35	3143	[DEBUG]	Processing item: 4713250803395
2023-10-13	13:19:35	3143	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:35	3143	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:35	3143	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7971_1'
2023-10-13	13:19:35	3143	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:35	3143	[DEBUG]	Processing product tax
2023-10-13	13:19:35	3143	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:35	3143	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:35	3143	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:35	3143	[DEBUG]	Query for Product
2023-10-13	13:19:35	3143	[DEBUG]	Executed store
2023-10-13	13:19:35	3143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862634','4713250803395','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:35	3143	[DEBUG]	No parent found
2023-10-13	13:19:35	3143	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862634 AND customfield_value = 'stockable'
2023-10-13	13:19:35	3143	[DEBUG]	Check product language entry
2023-10-13	13:19:35	3143	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862635
2023-10-13	13:19:35	3143	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:35	3143	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713250803395' AND `virtuemart_product_id` != 1862635
2023-10-13	13:19:35	3143	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:35	3143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862635, '4713250803395')
2023-10-13	13:19:35	3143	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:35	3143	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-giant-proway-side-entry-noir-unitaire' AND `virtuemart_product_id` != 1862635
2023-10-13	13:19:35	3143	[DEBUG]	Query for ProductLang
2023-10-13	13:19:35	3143	[DEBUG]	Executed store
2023-10-13	13:19:35	3143	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon Giant Proway Side Entry / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-giant-proway-side-entry-noir-unitaire' WHERE `virtuemart_product_id` = '1862635'
2023-10-13	13:19:35	3143	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36434_porte-bidon_giant_proway_side_entry.jpg
2023-10-13	13:19:35	3143	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:19:35	3143	[DEBUG]	Process image file
2023-10-13	13:19:35	3143	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:19:35	3143	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:35	3143	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36434_porte-bidon_giant_proway_side_entry.jpg
2023-10-13	13:19:35	3143	[DEBUG]	Full name target: bcprisme/36434_porte-bidon_giant_proway_side_entry.jpg
2023-10-13	13:19:36	3143	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:36	3143	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36434_porte-bidon_giant_proway_side_entry.jpg'
2023-10-13	13:19:36	3143	[DEBUG]	Query for Media
2023-10-13	13:19:36	3143	[DEBUG]	Executed store
2023-10-13	13:19:36	3143	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36434_porte-bidon_giant_proway_side_entry.jpg',`file_url_thumb`='bcprisme/36434_porte-bidon_giant_proway_side_entry.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '577789'
2023-10-13	13:19:36	3143	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:36	3143	[DEBUG]	Executed store
2023-10-13	13:19:36	3143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862635','577789','1')
2023-10-13	13:19:36	3143	[DEBUG]	Store product image relation
2023-10-13	13:19:36	3143	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:36	3143	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862635 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:36	3143	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:36	3143	[DEBUG]	Executed store
2023-10-13	13:19:36	3143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862635','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:36	3143	[DEBUG]	Checking manufacturer
2023-10-13	13:19:36	3143	[DEBUG]	Load a row
2023-10-13	13:19:36	3143	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:36	3143	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:36	3143	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:36	3143	[DEBUG]	Executed store
2023-10-13	13:19:36	3143	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:36	3143	[DEBUG]	Manufacturer exists
2023-10-13	13:19:36	3143	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:19:36	3143	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:36	3143	[DEBUG]	Executed store
2023-10-13	13:19:36	3143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862635','206')
2023-10-13	13:19:36	3143	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:36	3143	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:36	3143	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862635 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:36	3143	[DEBUG]	Store custom available field
2023-10-13	13:19:36	3143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862635,3,'',1)
2023-10-13	13:19:36	3143	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:36	3143	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:36	3143	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862635 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:36	3143	[DEBUG]	Store custom available field
2023-10-13	13:19:36	3143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862635,6,'Unitaire',3)
2023-10-13	13:19:36	3143	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:36	3143	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:36	3143	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862634
2023-10-13	13:19:36	3143	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:36	3143	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862634\":[1862634,8,1,\"choisir la taille\"],\"1862635\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862634
2023-10-13	13:19:36	3143	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:36	3143	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862635
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:36	3144	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field taille
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:36	3144	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:36	3144	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:36	3144	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:36	3144	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:36	3144	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:36	3144	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field published
2023-10-13	13:19:36	3144	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:36	3144	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field override
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:36	3144	[DEBUG]	Use field value for field slug
2023-10-13	13:19:36	3144	[DEBUG]	Process line 3144
2023-10-13	13:19:36	3144	[DEBUG]	Load a row
2023-10-13	13:19:36	3144	[DEBUG]	Processing item: A_9166_1
2023-10-13	13:19:36	3144	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:36	3144	[DEBUG]	Processing product tax
2023-10-13	13:19:36	3144	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:36	3144	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:36	3144	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:36	3144	[DEBUG]	Query for Product
2023-10-13	13:19:36	3144	[DEBUG]	Executed store
2023-10-13	13:19:36	3144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9166_1','0.039','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:36	3144	[DEBUG]	Check product language entry
2023-10-13	13:19:36	3144	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862636
2023-10-13	13:19:36	3144	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:36	3144	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9166_1' AND `virtuemart_product_id` != 1862636
2023-10-13	13:19:36	3144	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:36	3144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862636, 'A_9166_1')
2023-10-13	13:19:36	3144	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:36	3144	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-noir-entree-laterale-left-right-noir' AND `virtuemart_product_id` != 1862636
2023-10-13	13:19:36	3144	[DEBUG]	Query for ProductLang
2023-10-13	13:19:36	3144	[DEBUG]	Executed store
2023-10-13	13:19:36	3144	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>NYLON<br>39 g<br>N° art fourn : MSCLEFTRIGHT',`product_name`='MSC PORTE BIDON MSC NOIR ENTRÉE LATÉRALE LEFT & RIGHT / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-noir-entree-laterale-left-right-noir' WHERE `virtuemart_product_id` = '1862636'
2023-10-13	13:19:36	3144	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38235_porte_bidon_msc_noir_entree_laterale_left_&_right.png
2023-10-13	13:19:36	3144	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f4
2023-10-13	13:19:36	3144	[DEBUG]	Process image file
2023-10-13	13:19:36	3144	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f4
2023-10-13	13:19:36	3144	[DEBUG]	Mime type found: image/png
2023-10-13	13:19:36	3144	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38235_porte_bidon_msc_noir_entree_laterale_left_&_right.png
2023-10-13	13:19:36	3144	[DEBUG]	Full name target: bcprisme/38235_porte_bidon_msc_noir_entree_laterale_left_&_right.png
2023-10-13	13:19:37	3144	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:37	3144	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38235_porte_bidon_msc_noir_entree_laterale_left_&_right.png'
2023-10-13	13:19:37	3144	[DEBUG]	Query for Media
2023-10-13	13:19:37	3144	[DEBUG]	Executed store
2023-10-13	13:19:37	3144	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38235_porte_bidon_msc_noir_entree_laterale_left_&_right.png',`file_url_thumb`='bcprisme/38235_porte_bidon_msc_noir_entree_laterale_left_&_right.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1310276'
2023-10-13	13:19:37	3144	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:37	3144	[DEBUG]	Executed store
2023-10-13	13:19:37	3144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862636','1310276','1')
2023-10-13	13:19:37	3144	[DEBUG]	Store product image relation
2023-10-13	13:19:37	3144	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:37	3144	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862636 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:37	3144	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:37	3144	[DEBUG]	Executed store
2023-10-13	13:19:37	3144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862636','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:37	3144	[DEBUG]	Checking manufacturer
2023-10-13	13:19:37	3144	[DEBUG]	Load a row
2023-10-13	13:19:37	3144	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:37	3144	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:37	3144	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:37	3144	[DEBUG]	Executed store
2023-10-13	13:19:37	3144	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:37	3144	[DEBUG]	Manufacturer exists
2023-10-13	13:19:37	3144	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:19:37	3144	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:37	3144	[DEBUG]	Executed store
2023-10-13	13:19:37	3144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862636','206')
2023-10-13	13:19:37	3144	[DEBUG]	Find the custom field ID
2023-10-13	13:19:37	3144	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:37	3144	[DEBUG]	No custom field ID found
2023-10-13	13:19:37	3144	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:37	3144	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:19:37	3144	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862636 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:37	3144	[DEBUG]	Store custom available field
2023-10-13	13:19:37	3144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862636,3,'8.87527777777778',1)
2023-10-13	13:19:37	3144	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:37	3144	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:37	3144	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862636 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:37	3144	[DEBUG]	Store custom available field
2023-10-13	13:19:37	3144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862636,6,'choisir la taille',3)
2023-10-13	13:19:37	3144	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:37	3144	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:37	3144	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:37	3144	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:37	3144	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862636 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:37	3144	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:37	3144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862636,8,1)
2023-10-13	13:19:37	3144	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:37	3144	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862636\":[1862636,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862636
2023-10-13	13:19:37	3144	[DEBUG]	Checking category
2023-10-13	13:19:37	3144	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:37	3144	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862636
2023-10-13	13:19:37	3144	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:37	3144	[DEBUG]	Executed store
2023-10-13	13:19:37	3144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862636','7366')
2023-10-13	13:19:37	3144	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:37	3144	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862636 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:37	3144	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:37	3144	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862636
2023-10-13	13:19:37	3145	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:37	3145	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:37	3145	[DEBUG]	Use field value for field taille
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:37	3145	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:37	3145	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:37	3145	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:37	3145	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:37	3145	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:37	3145	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:37	3145	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:37	3145	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:37	3145	[DEBUG]	Use field value for field published
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:37	3145	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field override
2023-10-13	13:19:37	3145	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:37	3145	[DEBUG]	Use field value for field slug
2023-10-13	13:19:37	3145	[DEBUG]	Process line 3145
2023-10-13	13:19:37	3145	[DEBUG]	Load a row
2023-10-13	13:19:37	3145	[DEBUG]	Processing item: 8435466217570
2023-10-13	13:19:37	3145	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:37	3145	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:37	3145	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9166_1'
2023-10-13	13:19:37	3145	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:37	3145	[DEBUG]	Processing product tax
2023-10-13	13:19:37	3145	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:37	3145	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:37	3145	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:37	3145	[DEBUG]	Query for Product
2023-10-13	13:19:37	3145	[DEBUG]	Executed store
2023-10-13	13:19:37	3145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862636','8435466217570','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:37	3145	[DEBUG]	No parent found
2023-10-13	13:19:37	3145	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862636 AND customfield_value = 'stockable'
2023-10-13	13:19:37	3145	[DEBUG]	Check product language entry
2023-10-13	13:19:37	3145	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862637
2023-10-13	13:19:37	3145	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:37	3145	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466217570' AND `virtuemart_product_id` != 1862637
2023-10-13	13:19:37	3145	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:37	3145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862637, '8435466217570')
2023-10-13	13:19:37	3145	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:37	3145	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-noir-entree-laterale-left-right-noir-unitaire' AND `virtuemart_product_id` != 1862637
2023-10-13	13:19:37	3145	[DEBUG]	Query for ProductLang
2023-10-13	13:19:37	3145	[DEBUG]	Executed store
2023-10-13	13:19:37	3145	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PORTE BIDON MSC NOIR ENTRÉE LATÉRALE LEFT & RIGHT / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-noir-entree-laterale-left-right-noir-unitaire' WHERE `virtuemart_product_id` = '1862637'
2023-10-13	13:19:37	3145	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38235_porte_bidon_msc_noir_entree_laterale_left_&_right.png
2023-10-13	13:19:37	3145	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f4
2023-10-13	13:19:37	3145	[DEBUG]	Process image file
2023-10-13	13:19:37	3145	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f4
2023-10-13	13:19:37	3145	[DEBUG]	Mime type found: image/png
2023-10-13	13:19:37	3145	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38235_porte_bidon_msc_noir_entree_laterale_left_&_right.png
2023-10-13	13:19:37	3145	[DEBUG]	Full name target: bcprisme/38235_porte_bidon_msc_noir_entree_laterale_left_&_right.png
2023-10-13	13:19:38	3145	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:38	3145	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38235_porte_bidon_msc_noir_entree_laterale_left_&_right.png'
2023-10-13	13:19:38	3145	[DEBUG]	Query for Media
2023-10-13	13:19:38	3145	[DEBUG]	Executed store
2023-10-13	13:19:38	3145	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38235_porte_bidon_msc_noir_entree_laterale_left_&_right.png',`file_url_thumb`='bcprisme/38235_porte_bidon_msc_noir_entree_laterale_left_&_right.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1310276'
2023-10-13	13:19:38	3145	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:38	3145	[DEBUG]	Executed store
2023-10-13	13:19:38	3145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862637','1310276','1')
2023-10-13	13:19:38	3145	[DEBUG]	Store product image relation
2023-10-13	13:19:38	3145	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:38	3145	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862637 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:38	3145	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:38	3145	[DEBUG]	Executed store
2023-10-13	13:19:38	3145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862637','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:38	3145	[DEBUG]	Checking manufacturer
2023-10-13	13:19:38	3145	[DEBUG]	Load a row
2023-10-13	13:19:38	3145	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:38	3145	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:38	3145	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:38	3145	[DEBUG]	Executed store
2023-10-13	13:19:38	3145	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:38	3145	[DEBUG]	Manufacturer exists
2023-10-13	13:19:38	3145	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:19:38	3145	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:38	3145	[DEBUG]	Executed store
2023-10-13	13:19:38	3145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862637','206')
2023-10-13	13:19:38	3145	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:38	3145	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:38	3145	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862637 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:38	3145	[DEBUG]	Store custom available field
2023-10-13	13:19:38	3145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862637,3,'',1)
2023-10-13	13:19:38	3145	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:38	3145	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:38	3145	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862637 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:38	3145	[DEBUG]	Store custom available field
2023-10-13	13:19:38	3145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862637,6,'Unitaire',3)
2023-10-13	13:19:38	3145	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:38	3145	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:38	3145	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862636
2023-10-13	13:19:38	3145	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:38	3145	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862636\":[1862636,8,1,\"choisir la taille\"],\"1862637\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862636
2023-10-13	13:19:38	3145	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:38	3145	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862637
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:38	3146	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field taille
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:38	3146	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:38	3146	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:38	3146	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:38	3146	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:38	3146	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:38	3146	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field published
2023-10-13	13:19:38	3146	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:38	3146	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field override
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:38	3146	[DEBUG]	Use field value for field slug
2023-10-13	13:19:38	3146	[DEBUG]	Process line 3146
2023-10-13	13:19:38	3146	[DEBUG]	Load a row
2023-10-13	13:19:38	3146	[DEBUG]	Processing item: A_9594_1
2023-10-13	13:19:38	3146	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:38	3146	[DEBUG]	Processing product tax
2023-10-13	13:19:38	3146	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:38	3146	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:38	3146	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:38	3146	[DEBUG]	Query for Product
2023-10-13	13:19:38	3146	[DEBUG]	Executed store
2023-10-13	13:19:38	3146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9594_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:38	3146	[DEBUG]	Check product language entry
2023-10-13	13:19:38	3146	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862638
2023-10-13	13:19:38	3146	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:38	3146	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9594_1' AND `virtuemart_product_id` != 1862638
2023-10-13	13:19:38	3146	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:38	3146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862638, 'A_9594_1')
2023-10-13	13:19:38	3146	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:38	3146	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'elite-vip-cage-fixation-o-25-70-mm-fixation-pour-porte-bidon-noir' AND `virtuemart_product_id` != 1862638
2023-10-13	13:19:38	3146	[DEBUG]	Query for ProductLang
2023-10-13	13:19:38	3146	[DEBUG]	Executed store
2023-10-13	13:19:38	3146	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 17.62578',`product_name`='Elite VIP cage fixation Ø 25-70 mm fixation pour porte-bidon / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='elite-vip-cage-fixation-o-25-70-mm-fixation-pour-porte-bidon-noir' WHERE `virtuemart_product_id` = '1862638'
2023-10-13	13:19:38	3146	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/17_6257.jpg
2023-10-13	13:19:38	3146	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:19:38	3146	[DEBUG]	Process image file
2023-10-13	13:19:38	3146	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:19:38	3146	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:38	3146	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/17_6257.jpg
2023-10-13	13:19:38	3146	[DEBUG]	Full name target: bcprisme/17_6257.jpg
2023-10-13	13:19:39	3146	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:39	3146	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/17_6257.jpg'
2023-10-13	13:19:39	3146	[DEBUG]	Query for Media
2023-10-13	13:19:39	3146	[DEBUG]	Executed store
2023-10-13	13:19:39	3146	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/17_6257.jpg',`file_url_thumb`='bcprisme/17_6257.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1501743'
2023-10-13	13:19:39	3146	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:39	3146	[DEBUG]	Executed store
2023-10-13	13:19:39	3146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862638','1501743','1')
2023-10-13	13:19:39	3146	[DEBUG]	Store product image relation
2023-10-13	13:19:39	3146	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:39	3146	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862638 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:39	3146	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:39	3146	[DEBUG]	Executed store
2023-10-13	13:19:39	3146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862638','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:39	3146	[DEBUG]	Checking manufacturer
2023-10-13	13:19:39	3146	[DEBUG]	Load a row
2023-10-13	13:19:39	3146	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:39	3146	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:19:39	3146	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:39	3146	[DEBUG]	Executed store
2023-10-13	13:19:39	3146	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-3390137955' WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:19:39	3146	[DEBUG]	Manufacturer exists
2023-10-13	13:19:39	3146	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 58
2023-10-13	13:19:39	3146	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:39	3146	[DEBUG]	Executed store
2023-10-13	13:19:39	3146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862638','58')
2023-10-13	13:19:39	3146	[DEBUG]	Find the custom field ID
2023-10-13	13:19:39	3146	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:39	3146	[DEBUG]	No custom field ID found
2023-10-13	13:19:39	3146	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:39	3146	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:19:39	3146	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862638 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:39	3146	[DEBUG]	Store custom available field
2023-10-13	13:19:39	3146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862638,3,'0',1)
2023-10-13	13:19:39	3146	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:39	3146	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:39	3146	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862638 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:39	3146	[DEBUG]	Store custom available field
2023-10-13	13:19:39	3146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862638,6,'choisir la taille',3)
2023-10-13	13:19:39	3146	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:39	3146	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:39	3146	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:39	3146	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:39	3146	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862638 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:39	3146	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:39	3146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862638,8,1)
2023-10-13	13:19:39	3146	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:39	3146	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862638\":[1862638,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862638
2023-10-13	13:19:39	3146	[DEBUG]	Checking category
2023-10-13	13:19:39	3146	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:39	3146	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862638
2023-10-13	13:19:39	3146	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:39	3146	[DEBUG]	Executed store
2023-10-13	13:19:39	3146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862638','7366')
2023-10-13	13:19:39	3146	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:39	3146	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862638 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:39	3146	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:39	3146	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862638
2023-10-13	13:19:39	3147	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:39	3147	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:39	3147	[DEBUG]	Use field value for field taille
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:39	3147	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:39	3147	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:39	3147	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:39	3147	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:39	3147	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:39	3147	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:39	3147	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:39	3147	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:39	3147	[DEBUG]	Use field value for field published
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:39	3147	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field override
2023-10-13	13:19:39	3147	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:39	3147	[DEBUG]	Use field value for field slug
2023-10-13	13:19:39	3147	[DEBUG]	Process line 3147
2023-10-13	13:19:39	3147	[DEBUG]	Load a row
2023-10-13	13:19:39	3147	[DEBUG]	Processing item: 8020775018989
2023-10-13	13:19:39	3147	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:39	3147	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:39	3147	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9594_1'
2023-10-13	13:19:39	3147	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:39	3147	[DEBUG]	Processing product tax
2023-10-13	13:19:39	3147	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:39	3147	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:39	3147	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:39	3147	[DEBUG]	Query for Product
2023-10-13	13:19:39	3147	[DEBUG]	Executed store
2023-10-13	13:19:39	3147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862638','8020775018989','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:39	3147	[DEBUG]	No parent found
2023-10-13	13:19:39	3147	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862638 AND customfield_value = 'stockable'
2023-10-13	13:19:39	3147	[DEBUG]	Check product language entry
2023-10-13	13:19:39	3147	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862639
2023-10-13	13:19:39	3147	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:39	3147	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8020775018989' AND `virtuemart_product_id` != 1862639
2023-10-13	13:19:39	3147	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:39	3147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862639, '8020775018989')
2023-10-13	13:19:39	3147	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:39	3147	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'elite-vip-cage-fixation-o-25-70-mm-fixation-pour-porte-bidon-noir-unitaire' AND `virtuemart_product_id` != 1862639
2023-10-13	13:19:39	3147	[DEBUG]	Query for ProductLang
2023-10-13	13:19:39	3147	[DEBUG]	Executed store
2023-10-13	13:19:39	3147	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Elite VIP cage fixation Ø 25-70 mm fixation pour porte-bidon / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='elite-vip-cage-fixation-o-25-70-mm-fixation-pour-porte-bidon-noir-unitaire' WHERE `virtuemart_product_id` = '1862639'
2023-10-13	13:19:39	3147	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/17_6257.jpg
2023-10-13	13:19:39	3147	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:19:39	3147	[DEBUG]	Process image file
2023-10-13	13:19:39	3147	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:19:39	3147	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:39	3147	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/17_6257.jpg
2023-10-13	13:19:39	3147	[DEBUG]	Full name target: bcprisme/17_6257.jpg
2023-10-13	13:19:40	3147	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:40	3147	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/17_6257.jpg'
2023-10-13	13:19:40	3147	[DEBUG]	Query for Media
2023-10-13	13:19:40	3147	[DEBUG]	Executed store
2023-10-13	13:19:40	3147	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/17_6257.jpg',`file_url_thumb`='bcprisme/17_6257.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1501743'
2023-10-13	13:19:40	3147	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:40	3147	[DEBUG]	Executed store
2023-10-13	13:19:40	3147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862639','1501743','1')
2023-10-13	13:19:40	3147	[DEBUG]	Store product image relation
2023-10-13	13:19:40	3147	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:40	3147	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862639 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:40	3147	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:40	3147	[DEBUG]	Executed store
2023-10-13	13:19:40	3147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862639','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:40	3147	[DEBUG]	Checking manufacturer
2023-10-13	13:19:40	3147	[DEBUG]	Load a row
2023-10-13	13:19:40	3147	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:40	3147	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:19:40	3147	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:40	3147	[DEBUG]	Executed store
2023-10-13	13:19:40	3147	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-3390137955' WHERE `virtuemart_manufacturer_id` = '58'
2023-10-13	13:19:40	3147	[DEBUG]	Manufacturer exists
2023-10-13	13:19:40	3147	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 58
2023-10-13	13:19:40	3147	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:40	3147	[DEBUG]	Executed store
2023-10-13	13:19:40	3147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862639','58')
2023-10-13	13:19:40	3147	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:40	3147	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:40	3147	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862639 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:40	3147	[DEBUG]	Store custom available field
2023-10-13	13:19:40	3147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862639,3,'',1)
2023-10-13	13:19:40	3147	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:40	3147	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:40	3147	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862639 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:40	3147	[DEBUG]	Store custom available field
2023-10-13	13:19:40	3147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862639,6,'Unitaire',3)
2023-10-13	13:19:40	3147	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:40	3147	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:40	3147	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862638
2023-10-13	13:19:40	3147	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:40	3147	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862638\":[1862638,8,1,\"choisir la taille\"],\"1862639\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862638
2023-10-13	13:19:40	3147	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:40	3147	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862639
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:40	3148	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field taille
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:40	3148	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:40	3148	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:40	3148	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:40	3148	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:40	3148	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:40	3148	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field published
2023-10-13	13:19:40	3148	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:40	3148	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field override
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:40	3148	[DEBUG]	Use field value for field slug
2023-10-13	13:19:40	3148	[DEBUG]	Process line 3148
2023-10-13	13:19:40	3148	[DEBUG]	Load a row
2023-10-13	13:19:40	3148	[DEBUG]	Processing item: A_2913_2
2023-10-13	13:19:40	3148	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:40	3148	[DEBUG]	Processing product tax
2023-10-13	13:19:40	3148	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:40	3148	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:40	3148	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:40	3148	[DEBUG]	Query for Product
2023-10-13	13:19:40	3148	[DEBUG]	Executed store
2023-10-13	13:19:40	3148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2913_2','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:40	3148	[DEBUG]	Check product language entry
2023-10-13	13:19:40	3148	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862640
2023-10-13	13:19:40	3148	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:40	3148	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2913_2' AND `virtuemart_product_id` != 1862640
2023-10-13	13:19:40	3148	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:40	3148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862640, 'A_2913_2')
2023-10-13	13:19:40	3148	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:40	3148	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-carbone-ultralight-20-gr-carbone' AND `virtuemart_product_id` != 1862640
2023-10-13	13:19:40	3148	[DEBUG]	Query for ProductLang
2023-10-13	13:19:40	3148	[DEBUG]	Executed store
2023-10-13	13:19:40	3148	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon MSC Ultralight carbone<br>Avec design anti-chute pour éviter que le bidon tombe en route <br>20gr <br>N° art fourn : BCR103',`product_name`='MSC Porte bidon MSC carbone Ultralight 20 gr. / Carbone',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-carbone-ultralight-20-gr-carbone' WHERE `virtuemart_product_id` = '1862640'
2023-10-13	13:19:40	3148	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12144.jpg
2023-10-13	13:19:40	3148	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:40	3148	[DEBUG]	Process image file
2023-10-13	13:19:40	3148	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:40	3148	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:40	3148	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12144.jpg
2023-10-13	13:19:40	3148	[DEBUG]	Full name target: bcprisme/image_12144.jpg
2023-10-13	13:19:41	3148	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:41	3148	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12144.jpg'
2023-10-13	13:19:41	3148	[DEBUG]	Query for Media
2023-10-13	13:19:41	3148	[DEBUG]	Executed store
2023-10-13	13:19:41	3148	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12144.jpg',`file_url_thumb`='bcprisme/image_12144.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13091'
2023-10-13	13:19:41	3148	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:41	3148	[DEBUG]	Executed store
2023-10-13	13:19:41	3148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862640','13091','1')
2023-10-13	13:19:41	3148	[DEBUG]	Store product image relation
2023-10-13	13:19:41	3148	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:41	3148	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862640 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:41	3148	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:41	3148	[DEBUG]	Executed store
2023-10-13	13:19:41	3148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862640','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:41	3148	[DEBUG]	Checking manufacturer
2023-10-13	13:19:41	3148	[DEBUG]	Load a row
2023-10-13	13:19:41	3148	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:41	3148	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:41	3148	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:41	3148	[DEBUG]	Executed store
2023-10-13	13:19:41	3148	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:41	3148	[DEBUG]	Manufacturer exists
2023-10-13	13:19:41	3148	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:19:41	3148	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:41	3148	[DEBUG]	Executed store
2023-10-13	13:19:41	3148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862640','206')
2023-10-13	13:19:41	3148	[DEBUG]	Find the custom field ID
2023-10-13	13:19:41	3148	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:41	3148	[DEBUG]	No custom field ID found
2023-10-13	13:19:41	3148	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:41	3148	[DEBUG]	Get existing row with customfield value 64.7197222222222
2023-10-13	13:19:41	3148	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862640 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:41	3148	[DEBUG]	Store custom available field
2023-10-13	13:19:41	3148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862640,3,'64.7197222222222',1)
2023-10-13	13:19:41	3148	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:41	3148	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:41	3148	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862640 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:41	3148	[DEBUG]	Store custom available field
2023-10-13	13:19:41	3148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862640,6,'choisir la taille',3)
2023-10-13	13:19:41	3148	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:41	3148	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:41	3148	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:41	3148	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:41	3148	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862640 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:41	3148	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:41	3148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862640,8,1)
2023-10-13	13:19:41	3148	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:41	3148	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862640\":[1862640,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862640
2023-10-13	13:19:41	3148	[DEBUG]	Checking category
2023-10-13	13:19:41	3148	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:41	3148	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862640
2023-10-13	13:19:41	3148	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:41	3148	[DEBUG]	Executed store
2023-10-13	13:19:41	3148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862640','7366')
2023-10-13	13:19:41	3148	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:41	3148	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862640 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:41	3148	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:41	3148	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862640
2023-10-13	13:19:41	3149	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:41	3149	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:41	3149	[DEBUG]	Use field value for field taille
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:41	3149	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:41	3149	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:41	3149	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:41	3149	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:41	3149	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:41	3149	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:41	3149	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:41	3149	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:41	3149	[DEBUG]	Use field value for field published
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:41	3149	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field override
2023-10-13	13:19:41	3149	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:41	3149	[DEBUG]	Use field value for field slug
2023-10-13	13:19:41	3149	[DEBUG]	Process line 3149
2023-10-13	13:19:41	3149	[DEBUG]	Load a row
2023-10-13	13:19:41	3149	[DEBUG]	Processing item: 8436041526940
2023-10-13	13:19:41	3149	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:41	3149	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:41	3149	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2913_2'
2023-10-13	13:19:41	3149	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:41	3149	[DEBUG]	Processing product tax
2023-10-13	13:19:41	3149	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:41	3149	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:41	3149	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:41	3149	[DEBUG]	Query for Product
2023-10-13	13:19:41	3149	[DEBUG]	Executed store
2023-10-13	13:19:41	3149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862640','8436041526940','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:41	3149	[DEBUG]	No parent found
2023-10-13	13:19:41	3149	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862640 AND customfield_value = 'stockable'
2023-10-13	13:19:41	3149	[DEBUG]	Check product language entry
2023-10-13	13:19:41	3149	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862641
2023-10-13	13:19:41	3149	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:41	3149	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526940' AND `virtuemart_product_id` != 1862641
2023-10-13	13:19:41	3149	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:41	3149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862641, '8436041526940')
2023-10-13	13:19:41	3149	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:41	3149	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-carbone-ultralight-20-gr-carbone-unitaire' AND `virtuemart_product_id` != 1862641
2023-10-13	13:19:41	3149	[DEBUG]	Query for ProductLang
2023-10-13	13:19:41	3149	[DEBUG]	Executed store
2023-10-13	13:19:41	3149	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte bidon MSC carbone Ultralight 20 gr. / Carbone (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-carbone-ultralight-20-gr-carbone-unitaire' WHERE `virtuemart_product_id` = '1862641'
2023-10-13	13:19:41	3149	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12144.jpg
2023-10-13	13:19:41	3149	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:41	3149	[DEBUG]	Process image file
2023-10-13	13:19:41	3149	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:41	3149	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:41	3149	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12144.jpg
2023-10-13	13:19:41	3149	[DEBUG]	Full name target: bcprisme/image_12144.jpg
2023-10-13	13:19:42	3149	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:42	3149	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12144.jpg'
2023-10-13	13:19:42	3149	[DEBUG]	Query for Media
2023-10-13	13:19:42	3149	[DEBUG]	Executed store
2023-10-13	13:19:42	3149	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12144.jpg',`file_url_thumb`='bcprisme/image_12144.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13091'
2023-10-13	13:19:42	3149	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:42	3149	[DEBUG]	Executed store
2023-10-13	13:19:42	3149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862641','13091','1')
2023-10-13	13:19:42	3149	[DEBUG]	Store product image relation
2023-10-13	13:19:42	3149	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:42	3149	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862641 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:42	3149	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:42	3149	[DEBUG]	Executed store
2023-10-13	13:19:42	3149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862641','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:42	3149	[DEBUG]	Checking manufacturer
2023-10-13	13:19:42	3149	[DEBUG]	Load a row
2023-10-13	13:19:42	3149	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:42	3149	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:42	3149	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:42	3149	[DEBUG]	Executed store
2023-10-13	13:19:42	3149	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:42	3149	[DEBUG]	Manufacturer exists
2023-10-13	13:19:42	3149	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:19:42	3149	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:42	3149	[DEBUG]	Executed store
2023-10-13	13:19:42	3149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862641','206')
2023-10-13	13:19:42	3149	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:42	3149	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:42	3149	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862641 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:42	3149	[DEBUG]	Store custom available field
2023-10-13	13:19:42	3149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862641,3,'',1)
2023-10-13	13:19:42	3149	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:42	3149	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:42	3149	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862641 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:42	3149	[DEBUG]	Store custom available field
2023-10-13	13:19:42	3149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862641,6,'Unitaire',3)
2023-10-13	13:19:42	3149	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:42	3149	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:42	3149	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862640
2023-10-13	13:19:42	3149	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:42	3149	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862640\":[1862640,8,1,\"choisir la taille\"],\"1862641\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862640
2023-10-13	13:19:42	3149	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:42	3149	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862641
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:42	3150	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field taille
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:42	3150	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:42	3150	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:42	3150	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:42	3150	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:42	3150	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:42	3150	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field published
2023-10-13	13:19:42	3150	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:42	3150	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field override
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:42	3150	[DEBUG]	Use field value for field slug
2023-10-13	13:19:42	3150	[DEBUG]	Process line 3150
2023-10-13	13:19:42	3150	[DEBUG]	Load a row
2023-10-13	13:19:42	3150	[DEBUG]	Processing item: A_3054_2
2023-10-13	13:19:42	3150	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:42	3150	[DEBUG]	Processing product tax
2023-10-13	13:19:42	3150	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:42	3150	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:42	3150	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:42	3150	[DEBUG]	Query for Product
2023-10-13	13:19:42	3150	[DEBUG]	Executed store
2023-10-13	13:19:42	3150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3054_2','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:42	3150	[DEBUG]	Check product language entry
2023-10-13	13:19:42	3150	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862642
2023-10-13	13:19:42	3150	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:42	3150	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3054_2' AND `virtuemart_product_id` != 1862642
2023-10-13	13:19:42	3150	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:42	3150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862642, 'A_3054_2')
2023-10-13	13:19:42	3150	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:42	3150	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-carbone-ultralight-side-entry-17-9-gr-pour-tout-suspendus-carbone' AND `virtuemart_product_id` != 1862642
2023-10-13	13:19:42	3150	[DEBUG]	Query for ProductLang
2023-10-13	13:19:42	3150	[DEBUG]	Executed store
2023-10-13	13:19:42	3150	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte-bidon carbone Ultralight 17.9 gr. pour tout-suspendus<br>N° art fourn : BCBCN601',`product_name`='MSC Porte-bidon MSC carbone Ultralight SIDE ENTRY 17.9 gr. pour tout-suspendus / Carbone',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-carbone-ultralight-side-entry-17-9-gr-pour-tout-suspendus-carbone' WHERE `virtuemart_product_id` = '1862642'
2023-10-13	13:19:42	3150	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/13960_porte-bidon_carbone_ultralight_side_entry_17_9_gr__pour_tout-suspendus.jpg
2023-10-13	13:19:42	3150	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:42	3150	[DEBUG]	Process image file
2023-10-13	13:19:42	3150	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:42	3150	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:42	3150	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/13960_porte-bidon_carbone_ultralight_side_entry_17_9_gr__pour_tout-suspendus.jpg
2023-10-13	13:19:42	3150	[DEBUG]	Full name target: bcprisme/13960_porte-bidon_carbone_ultralight_side_entry_17_9_gr__pour_tout-suspendus.jpg
2023-10-13	13:19:43	3150	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:43	3150	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/13960_porte-bidon_carbone_ultralight_side_entry_17_9_gr__pour_tout-suspendus.jpg'
2023-10-13	13:19:43	3150	[DEBUG]	Query for Media
2023-10-13	13:19:43	3150	[DEBUG]	Executed store
2023-10-13	13:19:43	3150	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/13960_porte-bidon_carbone_ultralight_side_entry_17_9_gr__pour_tout-suspendus.jpg',`file_url_thumb`='bcprisme/13960_porte-bidon_carbone_ultralight_side_entry_17_9_gr__pour_tout-suspendus.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13092'
2023-10-13	13:19:43	3150	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:43	3150	[DEBUG]	Executed store
2023-10-13	13:19:43	3150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862642','13092','1')
2023-10-13	13:19:43	3150	[DEBUG]	Store product image relation
2023-10-13	13:19:43	3150	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:43	3150	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862642 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:43	3150	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:43	3150	[DEBUG]	Executed store
2023-10-13	13:19:43	3150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862642','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:43	3150	[DEBUG]	Checking manufacturer
2023-10-13	13:19:43	3150	[DEBUG]	Load a row
2023-10-13	13:19:43	3150	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:43	3150	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:43	3150	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:43	3150	[DEBUG]	Executed store
2023-10-13	13:19:43	3150	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:43	3150	[DEBUG]	Manufacturer exists
2023-10-13	13:19:43	3150	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:19:43	3150	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:43	3150	[DEBUG]	Executed store
2023-10-13	13:19:43	3150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862642','206')
2023-10-13	13:19:43	3150	[DEBUG]	Find the custom field ID
2023-10-13	13:19:43	3150	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:43	3150	[DEBUG]	No custom field ID found
2023-10-13	13:19:43	3150	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:43	3150	[DEBUG]	Get existing row with customfield value 59.7336111111111
2023-10-13	13:19:43	3150	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862642 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:43	3150	[DEBUG]	Store custom available field
2023-10-13	13:19:43	3150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862642,3,'59.7336111111111',1)
2023-10-13	13:19:43	3150	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:43	3150	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:43	3150	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862642 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:43	3150	[DEBUG]	Store custom available field
2023-10-13	13:19:43	3150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862642,6,'choisir la taille',3)
2023-10-13	13:19:43	3150	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:43	3150	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:43	3150	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:43	3150	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:43	3150	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862642 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:43	3150	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:43	3150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862642,8,1)
2023-10-13	13:19:43	3150	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:43	3150	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862642\":[1862642,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862642
2023-10-13	13:19:43	3150	[DEBUG]	Checking category
2023-10-13	13:19:43	3150	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:43	3150	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862642
2023-10-13	13:19:43	3150	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:43	3150	[DEBUG]	Executed store
2023-10-13	13:19:43	3150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862642','7366')
2023-10-13	13:19:43	3150	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:43	3150	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862642 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:43	3150	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:43	3150	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862642
2023-10-13	13:19:43	3151	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:43	3151	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:43	3151	[DEBUG]	Use field value for field taille
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:43	3151	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:43	3151	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:43	3151	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:43	3151	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:43	3151	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:43	3151	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:43	3151	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:43	3151	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:43	3151	[DEBUG]	Use field value for field published
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:43	3151	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field override
2023-10-13	13:19:43	3151	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:43	3151	[DEBUG]	Use field value for field slug
2023-10-13	13:19:43	3151	[DEBUG]	Process line 3151
2023-10-13	13:19:43	3151	[DEBUG]	Load a row
2023-10-13	13:19:43	3151	[DEBUG]	Processing item: 8436550194289
2023-10-13	13:19:43	3151	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:43	3151	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:43	3151	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3054_2'
2023-10-13	13:19:43	3151	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:43	3151	[DEBUG]	Processing product tax
2023-10-13	13:19:43	3151	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:43	3151	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:43	3151	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:43	3151	[DEBUG]	Query for Product
2023-10-13	13:19:43	3151	[DEBUG]	Executed store
2023-10-13	13:19:43	3151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862642','8436550194289','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:43	3151	[DEBUG]	No parent found
2023-10-13	13:19:43	3151	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862642 AND customfield_value = 'stockable'
2023-10-13	13:19:43	3151	[DEBUG]	Check product language entry
2023-10-13	13:19:43	3151	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862643
2023-10-13	13:19:43	3151	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:43	3151	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550194289' AND `virtuemart_product_id` != 1862643
2023-10-13	13:19:43	3151	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:43	3151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862643, '8436550194289')
2023-10-13	13:19:43	3151	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:43	3151	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-porte-bidon-msc-carbone-ultralight-side-entry-17-9-gr-pour-tout-suspendus-carbone-unitaire' AND `virtuemart_product_id` != 1862643
2023-10-13	13:19:43	3151	[DEBUG]	Query for ProductLang
2023-10-13	13:19:43	3151	[DEBUG]	Executed store
2023-10-13	13:19:43	3151	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Porte-bidon MSC carbone Ultralight SIDE ENTRY 17.9 gr. pour tout-suspendus / Carbone (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-porte-bidon-msc-carbone-ultralight-side-entry-17-9-gr-pour-tout-suspendus-carbone-unitaire' WHERE `virtuemart_product_id` = '1862643'
2023-10-13	13:19:43	3151	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/13960_porte-bidon_carbone_ultralight_side_entry_17_9_gr__pour_tout-suspendus.jpg
2023-10-13	13:19:43	3151	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:43	3151	[DEBUG]	Process image file
2023-10-13	13:19:43	3151	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:43	3151	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:43	3151	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/13960_porte-bidon_carbone_ultralight_side_entry_17_9_gr__pour_tout-suspendus.jpg
2023-10-13	13:19:43	3151	[DEBUG]	Full name target: bcprisme/13960_porte-bidon_carbone_ultralight_side_entry_17_9_gr__pour_tout-suspendus.jpg
2023-10-13	13:19:44	3151	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:44	3151	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/13960_porte-bidon_carbone_ultralight_side_entry_17_9_gr__pour_tout-suspendus.jpg'
2023-10-13	13:19:44	3151	[DEBUG]	Query for Media
2023-10-13	13:19:44	3151	[DEBUG]	Executed store
2023-10-13	13:19:44	3151	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/13960_porte-bidon_carbone_ultralight_side_entry_17_9_gr__pour_tout-suspendus.jpg',`file_url_thumb`='bcprisme/13960_porte-bidon_carbone_ultralight_side_entry_17_9_gr__pour_tout-suspendus.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13092'
2023-10-13	13:19:44	3151	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:44	3151	[DEBUG]	Executed store
2023-10-13	13:19:44	3151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862643','13092','1')
2023-10-13	13:19:44	3151	[DEBUG]	Store product image relation
2023-10-13	13:19:44	3151	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:44	3151	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862643 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:44	3151	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:44	3151	[DEBUG]	Executed store
2023-10-13	13:19:44	3151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862643','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:44	3151	[DEBUG]	Checking manufacturer
2023-10-13	13:19:44	3151	[DEBUG]	Load a row
2023-10-13	13:19:44	3151	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:44	3151	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:44	3151	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:44	3151	[DEBUG]	Executed store
2023-10-13	13:19:44	3151	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:44	3151	[DEBUG]	Manufacturer exists
2023-10-13	13:19:44	3151	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:19:44	3151	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:44	3151	[DEBUG]	Executed store
2023-10-13	13:19:44	3151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862643','206')
2023-10-13	13:19:44	3151	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:44	3151	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:44	3151	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862643 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:44	3151	[DEBUG]	Store custom available field
2023-10-13	13:19:44	3151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862643,3,'',1)
2023-10-13	13:19:44	3151	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:44	3151	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:44	3151	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862643 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:44	3151	[DEBUG]	Store custom available field
2023-10-13	13:19:44	3151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862643,6,'Unitaire',3)
2023-10-13	13:19:44	3151	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:44	3151	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:44	3151	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862642
2023-10-13	13:19:44	3151	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:44	3151	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862642\":[1862642,8,1,\"choisir la taille\"],\"1862643\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862642
2023-10-13	13:19:44	3151	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:44	3151	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862643
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:44	3152	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field taille
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:44	3152	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:44	3152	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:44	3152	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:44	3152	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:44	3152	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:44	3152	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field published
2023-10-13	13:19:44	3152	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:44	3152	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field override
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:44	3152	[DEBUG]	Use field value for field slug
2023-10-13	13:19:44	3152	[DEBUG]	Process line 3152
2023-10-13	13:19:44	3152	[DEBUG]	Load a row
2023-10-13	13:19:44	3152	[DEBUG]	Processing item: A_9568_2
2023-10-13	13:19:44	3152	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:44	3152	[DEBUG]	Processing product tax
2023-10-13	13:19:44	3152	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:44	3152	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:44	3152	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:44	3152	[DEBUG]	Query for Product
2023-10-13	13:19:44	3152	[DEBUG]	Executed store
2023-10-13	13:19:44	3152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9568_2','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:44	3152	[DEBUG]	Check product language entry
2023-10-13	13:19:44	3152	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862644
2023-10-13	13:19:44	3152	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:44	3152	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9568_2' AND `virtuemart_product_id` != 1862644
2023-10-13	13:19:44	3152	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:44	3152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862644, 'A_9568_2')
2023-10-13	13:19:44	3152	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:44	3152	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'c-bear-porte-bidon-arundel-dtr-droite-carbone-ud-carbone' AND `virtuemart_product_id` != 1862644
2023-10-13	13:19:44	3152	[DEBUG]	Query for ProductLang
2023-10-13	13:19:44	3152	[DEBUG]	Executed store
2023-10-13	13:19:44	3152	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon MSC Ultralight carbone<br>Avec design anti-chute pour éviter que le bidon tombe en route <br>20gr <br>N° art fourn : 7900703',`product_name`='C-Bear Porte bidon Arundel DTR (droite) Carbone UD / Carbone',`metadesc`='',`metakey`='',`customtitle`='',`slug`='c-bear-porte-bidon-arundel-dtr-droite-carbone-ud-carbone' WHERE `virtuemart_product_id` = '1862644'
2023-10-13	13:19:44	3152	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38938_porte_bidon_arundel_dtr_(droite)_carbone_ud.png
2023-10-13	13:19:44	3152	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001fe
2023-10-13	13:19:44	3152	[DEBUG]	Process image file
2023-10-13	13:19:44	3152	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001fe
2023-10-13	13:19:44	3152	[DEBUG]	Mime type found: image/png
2023-10-13	13:19:44	3152	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38938_porte_bidon_arundel_dtr_(droite)_carbone_ud.png
2023-10-13	13:19:44	3152	[DEBUG]	Full name target: bcprisme/38938_porte_bidon_arundel_dtr_(droite)_carbone_ud.png
2023-10-13	13:19:45	3152	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:45	3152	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38938_porte_bidon_arundel_dtr_(droite)_carbone_ud.png'
2023-10-13	13:19:45	3152	[DEBUG]	Query for Media
2023-10-13	13:19:45	3152	[DEBUG]	Executed store
2023-10-13	13:19:45	3152	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38938_porte_bidon_arundel_dtr_(droite)_carbone_ud.png',`file_url_thumb`='bcprisme/38938_porte_bidon_arundel_dtr_(droite)_carbone_ud.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1479299'
2023-10-13	13:19:45	3152	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:45	3152	[DEBUG]	Executed store
2023-10-13	13:19:45	3152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862644','1479299','1')
2023-10-13	13:19:45	3152	[DEBUG]	Store product image relation
2023-10-13	13:19:45	3152	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:45	3152	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862644 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:45	3152	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:45	3152	[DEBUG]	Executed store
2023-10-13	13:19:45	3152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862644','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:45	3152	[DEBUG]	Checking manufacturer
2023-10-13	13:19:45	3152	[DEBUG]	Load a row
2023-10-13	13:19:45	3152	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:45	3152	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '289'
2023-10-13	13:19:45	3152	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:45	3152	[DEBUG]	Executed store
2023-10-13	13:19:45	3152	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='203',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='203' WHERE `virtuemart_manufacturer_id` = '289'
2023-10-13	13:19:45	3152	[DEBUG]	Manufacturer exists
2023-10-13	13:19:45	3152	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 289
2023-10-13	13:19:45	3152	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:45	3152	[DEBUG]	Executed store
2023-10-13	13:19:45	3152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862644','289')
2023-10-13	13:19:45	3152	[DEBUG]	Find the custom field ID
2023-10-13	13:19:45	3152	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:45	3152	[DEBUG]	No custom field ID found
2023-10-13	13:19:45	3152	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:45	3152	[DEBUG]	Get existing row with customfield value 64.7197222222222
2023-10-13	13:19:45	3152	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862644 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:45	3152	[DEBUG]	Store custom available field
2023-10-13	13:19:45	3152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862644,3,'64.7197222222222',1)
2023-10-13	13:19:45	3152	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:45	3152	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:45	3152	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862644 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:45	3152	[DEBUG]	Store custom available field
2023-10-13	13:19:45	3152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862644,6,'choisir la taille',3)
2023-10-13	13:19:45	3152	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:45	3152	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:45	3152	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:45	3152	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:45	3152	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862644 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:45	3152	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:45	3152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862644,8,1)
2023-10-13	13:19:45	3152	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:45	3152	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862644\":[1862644,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862644
2023-10-13	13:19:45	3152	[DEBUG]	Checking category
2023-10-13	13:19:45	3152	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:45	3152	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862644
2023-10-13	13:19:45	3152	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:45	3152	[DEBUG]	Executed store
2023-10-13	13:19:45	3152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862644','7366')
2023-10-13	13:19:45	3152	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:45	3152	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862644 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:45	3152	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:45	3152	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862644
2023-10-13	13:19:45	3153	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:45	3153	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:45	3153	[DEBUG]	Use field value for field taille
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:45	3153	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:45	3153	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:45	3153	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:45	3153	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:45	3153	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:45	3153	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:45	3153	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:45	3153	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:45	3153	[DEBUG]	Use field value for field published
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:45	3153	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field override
2023-10-13	13:19:45	3153	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:45	3153	[DEBUG]	Use field value for field slug
2023-10-13	13:19:45	3153	[DEBUG]	Process line 3153
2023-10-13	13:19:45	3153	[DEBUG]	Load a row
2023-10-13	13:19:45	3153	[DEBUG]	Processing item: 729440175733
2023-10-13	13:19:45	3153	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:45	3153	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:45	3153	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9568_2'
2023-10-13	13:19:45	3153	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:45	3153	[DEBUG]	Processing product tax
2023-10-13	13:19:45	3153	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:45	3153	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:45	3153	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:45	3153	[DEBUG]	Query for Product
2023-10-13	13:19:45	3153	[DEBUG]	Executed store
2023-10-13	13:19:45	3153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862644','729440175733','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:45	3153	[DEBUG]	No parent found
2023-10-13	13:19:45	3153	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862644 AND customfield_value = 'stockable'
2023-10-13	13:19:45	3153	[DEBUG]	Check product language entry
2023-10-13	13:19:45	3153	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862645
2023-10-13	13:19:45	3153	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:45	3153	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '729440175733' AND `virtuemart_product_id` != 1862645
2023-10-13	13:19:45	3153	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:45	3153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862645, '729440175733')
2023-10-13	13:19:45	3153	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:45	3153	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'c-bear-porte-bidon-arundel-dtr-droite-carbone-ud-carbone-unitaire' AND `virtuemart_product_id` != 1862645
2023-10-13	13:19:45	3153	[DEBUG]	Query for ProductLang
2023-10-13	13:19:45	3153	[DEBUG]	Executed store
2023-10-13	13:19:45	3153	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='C-Bear Porte bidon Arundel DTR (droite) Carbone UD / Carbone (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='c-bear-porte-bidon-arundel-dtr-droite-carbone-ud-carbone-unitaire' WHERE `virtuemart_product_id` = '1862645'
2023-10-13	13:19:45	3153	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38938_porte_bidon_arundel_dtr_(droite)_carbone_ud.png
2023-10-13	13:19:45	3153	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001fe
2023-10-13	13:19:45	3153	[DEBUG]	Process image file
2023-10-13	13:19:45	3153	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001fe
2023-10-13	13:19:45	3153	[DEBUG]	Mime type found: image/png
2023-10-13	13:19:45	3153	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38938_porte_bidon_arundel_dtr_(droite)_carbone_ud.png
2023-10-13	13:19:45	3153	[DEBUG]	Full name target: bcprisme/38938_porte_bidon_arundel_dtr_(droite)_carbone_ud.png
2023-10-13	13:19:46	3153	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:46	3153	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38938_porte_bidon_arundel_dtr_(droite)_carbone_ud.png'
2023-10-13	13:19:46	3153	[DEBUG]	Query for Media
2023-10-13	13:19:46	3153	[DEBUG]	Executed store
2023-10-13	13:19:46	3153	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38938_porte_bidon_arundel_dtr_(droite)_carbone_ud.png',`file_url_thumb`='bcprisme/38938_porte_bidon_arundel_dtr_(droite)_carbone_ud.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1479299'
2023-10-13	13:19:46	3153	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:46	3153	[DEBUG]	Executed store
2023-10-13	13:19:46	3153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862645','1479299','1')
2023-10-13	13:19:46	3153	[DEBUG]	Store product image relation
2023-10-13	13:19:46	3153	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:46	3153	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862645 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:46	3153	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:46	3153	[DEBUG]	Executed store
2023-10-13	13:19:46	3153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862645','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:46	3153	[DEBUG]	Checking manufacturer
2023-10-13	13:19:46	3153	[DEBUG]	Load a row
2023-10-13	13:19:46	3153	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:46	3153	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '289'
2023-10-13	13:19:46	3153	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:46	3153	[DEBUG]	Executed store
2023-10-13	13:19:46	3153	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='203',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='203' WHERE `virtuemart_manufacturer_id` = '289'
2023-10-13	13:19:46	3153	[DEBUG]	Manufacturer exists
2023-10-13	13:19:46	3153	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 289
2023-10-13	13:19:46	3153	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:46	3153	[DEBUG]	Executed store
2023-10-13	13:19:46	3153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862645','289')
2023-10-13	13:19:46	3153	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:46	3153	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:46	3153	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862645 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:46	3153	[DEBUG]	Store custom available field
2023-10-13	13:19:46	3153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862645,3,'',1)
2023-10-13	13:19:46	3153	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:46	3153	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:46	3153	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862645 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:46	3153	[DEBUG]	Store custom available field
2023-10-13	13:19:46	3153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862645,6,'Unitaire',3)
2023-10-13	13:19:46	3153	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:46	3153	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:46	3153	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862644
2023-10-13	13:19:46	3153	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:46	3153	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862644\":[1862644,8,1,\"choisir la taille\"],\"1862645\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862644
2023-10-13	13:19:46	3153	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:46	3153	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862645
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:46	3154	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field taille
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:46	3154	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:46	3154	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:46	3154	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:46	3154	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:46	3154	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:46	3154	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field published
2023-10-13	13:19:46	3154	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:46	3154	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field override
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:46	3154	[DEBUG]	Use field value for field slug
2023-10-13	13:19:46	3154	[DEBUG]	Process line 3154
2023-10-13	13:19:46	3154	[DEBUG]	Load a row
2023-10-13	13:19:46	3154	[DEBUG]	Processing item: A_9569_2
2023-10-13	13:19:46	3154	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:46	3154	[DEBUG]	Processing product tax
2023-10-13	13:19:46	3154	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:46	3154	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:46	3154	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:46	3154	[DEBUG]	Query for Product
2023-10-13	13:19:46	3154	[DEBUG]	Executed store
2023-10-13	13:19:46	3154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9569_2','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:46	3154	[DEBUG]	Check product language entry
2023-10-13	13:19:46	3154	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862646
2023-10-13	13:19:46	3154	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:46	3154	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9569_2' AND `virtuemart_product_id` != 1862646
2023-10-13	13:19:46	3154	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:46	3154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862646, 'A_9569_2')
2023-10-13	13:19:46	3154	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:46	3154	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'c-bear-porte-bidon-arundel-str-gauche-carbone-ud-carbone' AND `virtuemart_product_id` != 1862646
2023-10-13	13:19:46	3154	[DEBUG]	Query for ProductLang
2023-10-13	13:19:46	3154	[DEBUG]	Executed store
2023-10-13	13:19:46	3154	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon MSC Ultralight carbone<br>Avec design anti-chute pour éviter que le bidon tombe en route <br>20gr <br>N° art fourn : 7900701',`product_name`='C-Bear Porte bidon Arundel STR (GAUCHE) Carbone UD  / Carbone',`metadesc`='',`metakey`='',`customtitle`='',`slug`='c-bear-porte-bidon-arundel-str-gauche-carbone-ud-carbone' WHERE `virtuemart_product_id` = '1862646'
2023-10-13	13:19:46	3154	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38939_porte_bidon_arundel_str_(gauche)_carbone_ud_.jpg
2023-10-13	13:19:46	3154	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:19:46	3154	[DEBUG]	Process image file
2023-10-13	13:19:46	3154	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:19:46	3154	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:46	3154	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38939_porte_bidon_arundel_str_(gauche)_carbone_ud_.jpg
2023-10-13	13:19:46	3154	[DEBUG]	Full name target: bcprisme/38939_porte_bidon_arundel_str_(gauche)_carbone_ud_.jpg
2023-10-13	13:19:47	3154	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:47	3154	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38939_porte_bidon_arundel_str_(gauche)_carbone_ud_.jpg'
2023-10-13	13:19:47	3154	[DEBUG]	Query for Media
2023-10-13	13:19:47	3154	[DEBUG]	Executed store
2023-10-13	13:19:47	3154	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38939_porte_bidon_arundel_str_(gauche)_carbone_ud_.jpg',`file_url_thumb`='bcprisme/38939_porte_bidon_arundel_str_(gauche)_carbone_ud_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1479301'
2023-10-13	13:19:47	3154	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:47	3154	[DEBUG]	Executed store
2023-10-13	13:19:47	3154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862646','1479301','1')
2023-10-13	13:19:47	3154	[DEBUG]	Store product image relation
2023-10-13	13:19:47	3154	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:47	3154	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862646 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:47	3154	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:47	3154	[DEBUG]	Executed store
2023-10-13	13:19:47	3154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862646','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:47	3154	[DEBUG]	Checking manufacturer
2023-10-13	13:19:47	3154	[DEBUG]	Load a row
2023-10-13	13:19:47	3154	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:47	3154	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '289'
2023-10-13	13:19:47	3154	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:47	3154	[DEBUG]	Executed store
2023-10-13	13:19:47	3154	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='203',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='203' WHERE `virtuemart_manufacturer_id` = '289'
2023-10-13	13:19:47	3154	[DEBUG]	Manufacturer exists
2023-10-13	13:19:47	3154	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 289
2023-10-13	13:19:47	3154	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:47	3154	[DEBUG]	Executed store
2023-10-13	13:19:47	3154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862646','289')
2023-10-13	13:19:47	3154	[DEBUG]	Find the custom field ID
2023-10-13	13:19:47	3154	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:47	3154	[DEBUG]	No custom field ID found
2023-10-13	13:19:47	3154	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:47	3154	[DEBUG]	Get existing row with customfield value 64.7197222222222
2023-10-13	13:19:47	3154	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862646 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:47	3154	[DEBUG]	Store custom available field
2023-10-13	13:19:47	3154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862646,3,'64.7197222222222',1)
2023-10-13	13:19:47	3154	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:47	3154	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:47	3154	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862646 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:47	3154	[DEBUG]	Store custom available field
2023-10-13	13:19:47	3154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862646,6,'choisir la taille',3)
2023-10-13	13:19:47	3154	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:47	3154	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:47	3154	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:47	3154	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:47	3154	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862646 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:47	3154	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:47	3154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862646,8,1)
2023-10-13	13:19:47	3154	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:47	3154	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862646\":[1862646,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862646
2023-10-13	13:19:47	3154	[DEBUG]	Checking category
2023-10-13	13:19:47	3154	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:47	3154	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862646
2023-10-13	13:19:47	3154	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:47	3154	[DEBUG]	Executed store
2023-10-13	13:19:47	3154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862646','7366')
2023-10-13	13:19:47	3154	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:47	3154	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862646 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:47	3154	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:47	3154	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862646
2023-10-13	13:19:47	3155	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:47	3155	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:47	3155	[DEBUG]	Use field value for field taille
2023-10-13	13:19:47	3155	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:47	3155	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:47	3155	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:47	3155	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:47	3155	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:47	3155	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:47	3155	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:47	3155	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:47	3155	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:47	3155	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:47	3155	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:47	3155	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:47	3155	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:47	3155	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:47	3155	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:47	3155	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:48	3155	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:48	3155	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:48	3155	[DEBUG]	Use field value for field published
2023-10-13	13:19:48	3155	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:48	3155	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:48	3155	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:48	3155	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:48	3155	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:48	3155	[DEBUG]	Use default value for field override
2023-10-13	13:19:48	3155	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:48	3155	[DEBUG]	Use field value for field slug
2023-10-13	13:19:48	3155	[DEBUG]	Process line 3155
2023-10-13	13:19:48	3155	[DEBUG]	Load a row
2023-10-13	13:19:48	3155	[DEBUG]	Processing item: 729440175771
2023-10-13	13:19:48	3155	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:48	3155	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:48	3155	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9569_2'
2023-10-13	13:19:48	3155	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:48	3155	[DEBUG]	Processing product tax
2023-10-13	13:19:48	3155	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:48	3155	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:48	3155	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:48	3155	[DEBUG]	Query for Product
2023-10-13	13:19:48	3155	[DEBUG]	Executed store
2023-10-13	13:19:48	3155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862646','729440175771','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:48	3155	[DEBUG]	No parent found
2023-10-13	13:19:48	3155	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862646 AND customfield_value = 'stockable'
2023-10-13	13:19:48	3155	[DEBUG]	Check product language entry
2023-10-13	13:19:48	3155	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862647
2023-10-13	13:19:48	3155	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:48	3155	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '729440175771' AND `virtuemart_product_id` != 1862647
2023-10-13	13:19:48	3155	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:48	3155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862647, '729440175771')
2023-10-13	13:19:48	3155	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:48	3155	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'c-bear-porte-bidon-arundel-str-gauche-carbone-ud-carbone-unitaire' AND `virtuemart_product_id` != 1862647
2023-10-13	13:19:48	3155	[DEBUG]	Query for ProductLang
2023-10-13	13:19:48	3155	[DEBUG]	Executed store
2023-10-13	13:19:48	3155	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='C-Bear Porte bidon Arundel STR (GAUCHE) Carbone UD  / Carbone (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='c-bear-porte-bidon-arundel-str-gauche-carbone-ud-carbone-unitaire' WHERE `virtuemart_product_id` = '1862647'
2023-10-13	13:19:48	3155	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38939_porte_bidon_arundel_str_(gauche)_carbone_ud_.jpg
2023-10-13	13:19:48	3155	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:19:48	3155	[DEBUG]	Process image file
2023-10-13	13:19:48	3155	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:19:48	3155	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:48	3155	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38939_porte_bidon_arundel_str_(gauche)_carbone_ud_.jpg
2023-10-13	13:19:48	3155	[DEBUG]	Full name target: bcprisme/38939_porte_bidon_arundel_str_(gauche)_carbone_ud_.jpg
2023-10-13	13:19:49	3155	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:49	3155	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38939_porte_bidon_arundel_str_(gauche)_carbone_ud_.jpg'
2023-10-13	13:19:49	3155	[DEBUG]	Query for Media
2023-10-13	13:19:49	3155	[DEBUG]	Executed store
2023-10-13	13:19:49	3155	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38939_porte_bidon_arundel_str_(gauche)_carbone_ud_.jpg',`file_url_thumb`='bcprisme/38939_porte_bidon_arundel_str_(gauche)_carbone_ud_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1479301'
2023-10-13	13:19:49	3155	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:49	3155	[DEBUG]	Executed store
2023-10-13	13:19:49	3155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862647','1479301','1')
2023-10-13	13:19:49	3155	[DEBUG]	Store product image relation
2023-10-13	13:19:49	3155	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:49	3155	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862647 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:49	3155	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:49	3155	[DEBUG]	Executed store
2023-10-13	13:19:49	3155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862647','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:49	3155	[DEBUG]	Checking manufacturer
2023-10-13	13:19:49	3155	[DEBUG]	Load a row
2023-10-13	13:19:49	3155	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:49	3155	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '289'
2023-10-13	13:19:49	3155	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:49	3155	[DEBUG]	Executed store
2023-10-13	13:19:49	3155	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='203',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='203' WHERE `virtuemart_manufacturer_id` = '289'
2023-10-13	13:19:49	3155	[DEBUG]	Manufacturer exists
2023-10-13	13:19:49	3155	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 289
2023-10-13	13:19:49	3155	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:49	3155	[DEBUG]	Executed store
2023-10-13	13:19:49	3155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862647','289')
2023-10-13	13:19:49	3155	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:49	3155	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:49	3155	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862647 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:49	3155	[DEBUG]	Store custom available field
2023-10-13	13:19:49	3155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862647,3,'',1)
2023-10-13	13:19:49	3155	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:49	3155	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:49	3155	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862647 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:49	3155	[DEBUG]	Store custom available field
2023-10-13	13:19:49	3155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862647,6,'Unitaire',3)
2023-10-13	13:19:49	3155	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:49	3155	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:49	3155	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862646
2023-10-13	13:19:49	3155	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:49	3155	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862646\":[1862646,8,1,\"choisir la taille\"],\"1862647\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862646
2023-10-13	13:19:49	3155	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:49	3155	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862647
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:49	3156	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field taille
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:49	3156	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:49	3156	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:49	3156	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:49	3156	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:49	3156	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:49	3156	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field published
2023-10-13	13:19:49	3156	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:49	3156	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field override
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:49	3156	[DEBUG]	Use field value for field slug
2023-10-13	13:19:49	3156	[DEBUG]	Process line 3156
2023-10-13	13:19:49	3156	[DEBUG]	Load a row
2023-10-13	13:19:49	3156	[DEBUG]	Processing item: A_9785_2
2023-10-13	13:19:49	3156	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:49	3156	[DEBUG]	Processing product tax
2023-10-13	13:19:49	3156	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:49	3156	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:49	3156	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:49	3156	[DEBUG]	Query for Product
2023-10-13	13:19:49	3156	[DEBUG]	Executed store
2023-10-13	13:19:49	3156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9785_2','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:49	3156	[DEBUG]	Check product language entry
2023-10-13	13:19:49	3156	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862648
2023-10-13	13:19:49	3156	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:49	3156	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9785_2' AND `virtuemart_product_id` != 1862648
2023-10-13	13:19:49	3156	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:49	3156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862648, 'A_9785_2')
2023-10-13	13:19:49	3156	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:49	3156	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'c-bear-porte-bidon-arundel-mandible-ud-carbone' AND `virtuemart_product_id` != 1862648
2023-10-13	13:19:49	3156	[DEBUG]	Query for ProductLang
2023-10-13	13:19:49	3156	[DEBUG]	Executed store
2023-10-13	13:19:49	3156	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Porte bidon MSC Ultralight carbone<br>Avec design anti-chute pour éviter que le bidon tombe en route <br>20gr <br>N° art fourn : 7900697',`product_name`='C-Bear Porte bidon Arundel Mandible UD / Carbone',`metadesc`='',`metakey`='',`customtitle`='',`slug`='c-bear-porte-bidon-arundel-mandible-ud-carbone' WHERE `virtuemart_product_id` = '1862648'
2023-10-13	13:19:49	3156	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39224_porte_bidon_arundel_mandible_ud.jpg
2023-10-13	13:19:49	3156	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:19:49	3156	[DEBUG]	Process image file
2023-10-13	13:19:49	3156	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:19:49	3156	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:49	3156	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39224_porte_bidon_arundel_mandible_ud.jpg
2023-10-13	13:19:49	3156	[DEBUG]	Full name target: bcprisme/39224_porte_bidon_arundel_mandible_ud.jpg
2023-10-13	13:19:50	3156	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:50	3156	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39224_porte_bidon_arundel_mandible_ud.jpg'
2023-10-13	13:19:50	3156	[DEBUG]	Query for Media
2023-10-13	13:19:50	3156	[DEBUG]	Executed store
2023-10-13	13:19:50	3156	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39224_porte_bidon_arundel_mandible_ud.jpg',`file_url_thumb`='bcprisme/39224_porte_bidon_arundel_mandible_ud.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1598228'
2023-10-13	13:19:50	3156	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:50	3156	[DEBUG]	Executed store
2023-10-13	13:19:50	3156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862648','1598228','1')
2023-10-13	13:19:50	3156	[DEBUG]	Store product image relation
2023-10-13	13:19:50	3156	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:50	3156	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862648 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:50	3156	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:50	3156	[DEBUG]	Executed store
2023-10-13	13:19:50	3156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862648','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:50	3156	[DEBUG]	Checking manufacturer
2023-10-13	13:19:50	3156	[DEBUG]	Load a row
2023-10-13	13:19:50	3156	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:50	3156	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '289'
2023-10-13	13:19:50	3156	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:50	3156	[DEBUG]	Executed store
2023-10-13	13:19:50	3156	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='203',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='203' WHERE `virtuemart_manufacturer_id` = '289'
2023-10-13	13:19:50	3156	[DEBUG]	Manufacturer exists
2023-10-13	13:19:50	3156	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 289
2023-10-13	13:19:50	3156	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:50	3156	[DEBUG]	Executed store
2023-10-13	13:19:50	3156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862648','289')
2023-10-13	13:19:50	3156	[DEBUG]	Find the custom field ID
2023-10-13	13:19:50	3156	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:50	3156	[DEBUG]	No custom field ID found
2023-10-13	13:19:50	3156	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:50	3156	[DEBUG]	Get existing row with customfield value 64.7197222222222
2023-10-13	13:19:50	3156	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862648 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:50	3156	[DEBUG]	Store custom available field
2023-10-13	13:19:50	3156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862648,3,'64.7197222222222',1)
2023-10-13	13:19:50	3156	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:50	3156	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:50	3156	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862648 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:50	3156	[DEBUG]	Store custom available field
2023-10-13	13:19:50	3156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862648,6,'choisir la taille',3)
2023-10-13	13:19:50	3156	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:50	3156	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:50	3156	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:50	3156	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:50	3156	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862648 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:50	3156	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:50	3156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862648,8,1)
2023-10-13	13:19:50	3156	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:50	3156	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862648\":[1862648,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862648
2023-10-13	13:19:50	3156	[DEBUG]	Checking category
2023-10-13	13:19:50	3156	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:50	3156	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862648
2023-10-13	13:19:50	3156	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:50	3156	[DEBUG]	Executed store
2023-10-13	13:19:50	3156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862648','7366')
2023-10-13	13:19:50	3156	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:50	3156	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862648 AND `virtuemart_category_id` NOT IN (7366)
2023-10-13	13:19:50	3156	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:50	3156	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862648
2023-10-13	13:19:50	3157	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:50	3157	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:50	3157	[DEBUG]	Use field value for field taille
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:50	3157	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:50	3157	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:50	3157	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:50	3157	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:50	3157	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:50	3157	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:50	3157	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:50	3157	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:50	3157	[DEBUG]	Use field value for field published
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:50	3157	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field override
2023-10-13	13:19:50	3157	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:50	3157	[DEBUG]	Use field value for field slug
2023-10-13	13:19:50	3157	[DEBUG]	Process line 3157
2023-10-13	13:19:50	3157	[DEBUG]	Load a row
2023-10-13	13:19:50	3157	[DEBUG]	Processing item: 1000019720363
2023-10-13	13:19:50	3157	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:50	3157	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:50	3157	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9785_2'
2023-10-13	13:19:50	3157	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:50	3157	[DEBUG]	Processing product tax
2023-10-13	13:19:50	3157	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:50	3157	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:50	3157	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:50	3157	[DEBUG]	Query for Product
2023-10-13	13:19:50	3157	[DEBUG]	Executed store
2023-10-13	13:19:50	3157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862648','1000019720363','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:50	3157	[DEBUG]	No parent found
2023-10-13	13:19:50	3157	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862648 AND customfield_value = 'stockable'
2023-10-13	13:19:50	3157	[DEBUG]	Check product language entry
2023-10-13	13:19:50	3157	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862649
2023-10-13	13:19:50	3157	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:50	3157	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000019720363' AND `virtuemart_product_id` != 1862649
2023-10-13	13:19:50	3157	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:50	3157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862649, '1000019720363')
2023-10-13	13:19:50	3157	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:50	3157	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'c-bear-porte-bidon-arundel-mandible-ud-carbone-unitaire' AND `virtuemart_product_id` != 1862649
2023-10-13	13:19:50	3157	[DEBUG]	Query for ProductLang
2023-10-13	13:19:50	3157	[DEBUG]	Executed store
2023-10-13	13:19:50	3157	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='C-Bear Porte bidon Arundel Mandible UD / Carbone (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='c-bear-porte-bidon-arundel-mandible-ud-carbone-unitaire' WHERE `virtuemart_product_id` = '1862649'
2023-10-13	13:19:50	3157	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39224_porte_bidon_arundel_mandible_ud.jpg
2023-10-13	13:19:50	3157	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:19:50	3157	[DEBUG]	Process image file
2023-10-13	13:19:50	3157	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:19:50	3157	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:50	3157	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39224_porte_bidon_arundel_mandible_ud.jpg
2023-10-13	13:19:50	3157	[DEBUG]	Full name target: bcprisme/39224_porte_bidon_arundel_mandible_ud.jpg
2023-10-13	13:19:51	3157	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:51	3157	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39224_porte_bidon_arundel_mandible_ud.jpg'
2023-10-13	13:19:51	3157	[DEBUG]	Query for Media
2023-10-13	13:19:51	3157	[DEBUG]	Executed store
2023-10-13	13:19:51	3157	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39224_porte_bidon_arundel_mandible_ud.jpg',`file_url_thumb`='bcprisme/39224_porte_bidon_arundel_mandible_ud.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1598228'
2023-10-13	13:19:51	3157	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:51	3157	[DEBUG]	Executed store
2023-10-13	13:19:51	3157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862649','1598228','1')
2023-10-13	13:19:51	3157	[DEBUG]	Store product image relation
2023-10-13	13:19:51	3157	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:51	3157	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862649 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:51	3157	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:51	3157	[DEBUG]	Executed store
2023-10-13	13:19:51	3157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862649','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:51	3157	[DEBUG]	Checking manufacturer
2023-10-13	13:19:51	3157	[DEBUG]	Load a row
2023-10-13	13:19:51	3157	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:51	3157	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '289'
2023-10-13	13:19:51	3157	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:51	3157	[DEBUG]	Executed store
2023-10-13	13:19:51	3157	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='203',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='203' WHERE `virtuemart_manufacturer_id` = '289'
2023-10-13	13:19:51	3157	[DEBUG]	Manufacturer exists
2023-10-13	13:19:51	3157	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 289
2023-10-13	13:19:51	3157	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:51	3157	[DEBUG]	Executed store
2023-10-13	13:19:51	3157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862649','289')
2023-10-13	13:19:51	3157	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:51	3157	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:51	3157	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862649 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:51	3157	[DEBUG]	Store custom available field
2023-10-13	13:19:51	3157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862649,3,'',1)
2023-10-13	13:19:51	3157	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:51	3157	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:51	3157	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862649 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:51	3157	[DEBUG]	Store custom available field
2023-10-13	13:19:51	3157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862649,6,'Unitaire',3)
2023-10-13	13:19:51	3157	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:51	3157	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:51	3157	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862648
2023-10-13	13:19:51	3157	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:51	3157	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862648\":[1862648,8,1,\"choisir la taille\"],\"1862649\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862648
2023-10-13	13:19:51	3157	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:51	3157	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862649
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:51	3158	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field taille
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:51	3158	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:51	3158	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:51	3158	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:51	3158	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:51	3158	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:51	3158	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field published
2023-10-13	13:19:51	3158	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:51	3158	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field override
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:51	3158	[DEBUG]	Use field value for field slug
2023-10-13	13:19:51	3158	[DEBUG]	Process line 3158
2023-10-13	13:19:51	3158	[DEBUG]	Load a row
2023-10-13	13:19:51	3158	[DEBUG]	Processing item: A_551_10
2023-10-13	13:19:51	3158	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:51	3158	[DEBUG]	Processing product tax
2023-10-13	13:19:51	3158	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:51	3158	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:51	3158	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:51	3158	[DEBUG]	Query for Product
2023-10-13	13:19:51	3158	[DEBUG]	Executed store
2023-10-13	13:19:51	3158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_551_10','0.46','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:51	3158	[DEBUG]	Check product language entry
2023-10-13	13:19:51	3158	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862650
2023-10-13	13:19:51	3158	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:51	3158	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_551_10' AND `virtuemart_product_id` != 1862650
2023-10-13	13:19:51	3158	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:51	3158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862650, 'A_551_10')
2023-10-13	13:19:51	3158	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:51	3158	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-sac-a-dos-porte-boisson-msc-dromeback-noir-argent' AND `virtuemart_product_id` != 1862650
2023-10-13	13:19:51	3158	[DEBUG]	Query for ProductLang
2023-10-13	13:19:51	3158	[DEBUG]	Executed store
2023-10-13	13:19:51	3158	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Poches latérales en filet et arraignée pour fixation divers éléments. Livré avec poche à eau de 1.5 litres.<br>N° art fourn : G37P',`product_name`='MSC Sac à dos porte-boisson MSC Dromeback  / Noir-argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-sac-a-dos-porte-boisson-msc-dromeback-noir-argent' WHERE `virtuemart_product_id` = '1862650'
2023-10-13	13:19:51	3158	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_658.jpg
2023-10-13	13:19:51	3158	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:19:51	3158	[DEBUG]	Process image file
2023-10-13	13:19:51	3158	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:19:51	3158	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:51	3158	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_658.jpg
2023-10-13	13:19:51	3158	[DEBUG]	Full name target: bcprisme/image_658.jpg
2023-10-13	13:19:52	3158	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:52	3158	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_658.jpg'
2023-10-13	13:19:52	3158	[DEBUG]	Query for Media
2023-10-13	13:19:52	3158	[DEBUG]	Executed store
2023-10-13	13:19:52	3158	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_658.jpg',`file_url_thumb`='bcprisme/image_658.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13093'
2023-10-13	13:19:52	3158	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:52	3158	[DEBUG]	Executed store
2023-10-13	13:19:52	3158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862650','13093','1')
2023-10-13	13:19:52	3158	[DEBUG]	Store product image relation
2023-10-13	13:19:52	3158	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:52	3158	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862650 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:52	3158	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:52	3158	[DEBUG]	Executed store
2023-10-13	13:19:52	3158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862650','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:52	3158	[DEBUG]	Checking manufacturer
2023-10-13	13:19:52	3158	[DEBUG]	Load a row
2023-10-13	13:19:52	3158	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:52	3158	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:52	3158	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:52	3158	[DEBUG]	Executed store
2023-10-13	13:19:52	3158	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:52	3158	[DEBUG]	Manufacturer exists
2023-10-13	13:19:52	3158	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:19:52	3158	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:52	3158	[DEBUG]	Executed store
2023-10-13	13:19:52	3158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862650','206')
2023-10-13	13:19:52	3158	[DEBUG]	Find the custom field ID
2023-10-13	13:19:52	3158	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:52	3158	[DEBUG]	No custom field ID found
2023-10-13	13:19:52	3158	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:52	3158	[DEBUG]	Get existing row with customfield value 69.7058333333333
2023-10-13	13:19:52	3158	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862650 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:52	3158	[DEBUG]	Store custom available field
2023-10-13	13:19:52	3158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862650,3,'69.7058333333333',1)
2023-10-13	13:19:52	3158	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:52	3158	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:52	3158	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862650 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:52	3158	[DEBUG]	Store custom available field
2023-10-13	13:19:52	3158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862650,6,'choisir la taille',3)
2023-10-13	13:19:52	3158	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:52	3158	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:52	3158	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:52	3158	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:52	3158	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862650 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:52	3158	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:52	3158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862650,8,1)
2023-10-13	13:19:52	3158	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:52	3158	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862650\":[1862650,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862650
2023-10-13	13:19:52	3158	[DEBUG]	Checking category
2023-10-13	13:19:52	3158	[DEBUG]	Check if category path exists: SACS A EAU - WASSERHÜLLE
2023-10-13	13:19:52	3158	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'SACS A EAU - WASSERHÜLLE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7363
2023-10-13	13:19:52	3158	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:52	3158	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862650
2023-10-13	13:19:52	3158	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:52	3158	[DEBUG]	Executed store
2023-10-13	13:19:52	3158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862650','7367')
2023-10-13	13:19:52	3158	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:52	3158	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862650 AND `virtuemart_category_id` NOT IN (7367)
2023-10-13	13:19:52	3158	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:52	3158	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862650
2023-10-13	13:19:52	3159	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:52	3159	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:52	3159	[DEBUG]	Use field value for field taille
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:52	3159	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:52	3159	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:52	3159	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:52	3159	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:52	3159	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:52	3159	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:52	3159	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:52	3159	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:52	3159	[DEBUG]	Use field value for field published
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:52	3159	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field override
2023-10-13	13:19:52	3159	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:52	3159	[DEBUG]	Use field value for field slug
2023-10-13	13:19:52	3159	[DEBUG]	Process line 3159
2023-10-13	13:19:52	3159	[DEBUG]	Load a row
2023-10-13	13:19:52	3159	[DEBUG]	Processing item: 8436041525042
2023-10-13	13:19:52	3159	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:52	3159	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:52	3159	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_551_10'
2023-10-13	13:19:52	3159	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:52	3159	[DEBUG]	Processing product tax
2023-10-13	13:19:52	3159	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:52	3159	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:52	3159	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:52	3159	[DEBUG]	Query for Product
2023-10-13	13:19:52	3159	[DEBUG]	Executed store
2023-10-13	13:19:52	3159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862650','8436041525042','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:52	3159	[DEBUG]	No parent found
2023-10-13	13:19:52	3159	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862650 AND customfield_value = 'stockable'
2023-10-13	13:19:52	3159	[DEBUG]	Check product language entry
2023-10-13	13:19:52	3159	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862651
2023-10-13	13:19:52	3159	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:52	3159	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041525042' AND `virtuemart_product_id` != 1862651
2023-10-13	13:19:52	3159	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:52	3159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862651, '8436041525042')
2023-10-13	13:19:52	3159	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:52	3159	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-sac-a-dos-porte-boisson-msc-dromeback-noir-argent-unitaire' AND `virtuemart_product_id` != 1862651
2023-10-13	13:19:52	3159	[DEBUG]	Query for ProductLang
2023-10-13	13:19:52	3159	[DEBUG]	Executed store
2023-10-13	13:19:52	3159	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Sac à dos porte-boisson MSC Dromeback  / Noir-argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-sac-a-dos-porte-boisson-msc-dromeback-noir-argent-unitaire' WHERE `virtuemart_product_id` = '1862651'
2023-10-13	13:19:52	3159	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_658.jpg
2023-10-13	13:19:52	3159	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:19:52	3159	[DEBUG]	Process image file
2023-10-13	13:19:52	3159	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:19:52	3159	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:52	3159	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_658.jpg
2023-10-13	13:19:52	3159	[DEBUG]	Full name target: bcprisme/image_658.jpg
2023-10-13	13:19:53	3159	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:53	3159	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_658.jpg'
2023-10-13	13:19:53	3159	[DEBUG]	Query for Media
2023-10-13	13:19:53	3159	[DEBUG]	Executed store
2023-10-13	13:19:53	3159	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_658.jpg',`file_url_thumb`='bcprisme/image_658.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13093'
2023-10-13	13:19:53	3159	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:53	3159	[DEBUG]	Executed store
2023-10-13	13:19:53	3159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862651','13093','1')
2023-10-13	13:19:53	3159	[DEBUG]	Store product image relation
2023-10-13	13:19:53	3159	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:53	3159	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862651 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:53	3159	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:53	3159	[DEBUG]	Executed store
2023-10-13	13:19:53	3159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862651','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:53	3159	[DEBUG]	Checking manufacturer
2023-10-13	13:19:53	3159	[DEBUG]	Load a row
2023-10-13	13:19:53	3159	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:53	3159	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:53	3159	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:53	3159	[DEBUG]	Executed store
2023-10-13	13:19:53	3159	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:53	3159	[DEBUG]	Manufacturer exists
2023-10-13	13:19:53	3159	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:19:53	3159	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:53	3159	[DEBUG]	Executed store
2023-10-13	13:19:53	3159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862651','206')
2023-10-13	13:19:53	3159	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:53	3159	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:53	3159	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862651 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:53	3159	[DEBUG]	Store custom available field
2023-10-13	13:19:53	3159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862651,3,'',1)
2023-10-13	13:19:53	3159	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:53	3159	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:53	3159	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862651 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:53	3159	[DEBUG]	Store custom available field
2023-10-13	13:19:53	3159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862651,6,'Unitaire',3)
2023-10-13	13:19:53	3159	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:53	3159	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:53	3159	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862650
2023-10-13	13:19:53	3159	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:53	3159	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862650\":[1862650,8,1,\"choisir la taille\"],\"1862651\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862650
2023-10-13	13:19:53	3159	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:53	3159	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862651
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:53	3160	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field taille
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:53	3160	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:53	3160	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:53	3160	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:53	3160	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:53	3160	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:53	3160	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field published
2023-10-13	13:19:53	3160	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:53	3160	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field override
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:53	3160	[DEBUG]	Use field value for field slug
2023-10-13	13:19:53	3160	[DEBUG]	Process line 3160
2023-10-13	13:19:53	3160	[DEBUG]	Load a row
2023-10-13	13:19:53	3160	[DEBUG]	Processing item: A_923_54
2023-10-13	13:19:53	3160	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:53	3160	[DEBUG]	Processing product tax
2023-10-13	13:19:53	3160	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:53	3160	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:53	3160	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:53	3160	[DEBUG]	Query for Product
2023-10-13	13:19:53	3160	[DEBUG]	Executed store
2023-10-13	13:19:53	3160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_923_54','0.16','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:53	3160	[DEBUG]	Check product language entry
2023-10-13	13:19:53	3160	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862652
2023-10-13	13:19:53	3160	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:53	3160	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_923_54' AND `virtuemart_product_id` != 1862652
2023-10-13	13:19:53	3160	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:53	3160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862652, 'A_923_54')
2023-10-13	13:19:53	3160	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:53	3160	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-poche-a-eau-msc-dromeback-1-5-litres-transparent' AND `virtuemart_product_id` != 1862652
2023-10-13	13:19:53	3160	[DEBUG]	Query for ProductLang
2023-10-13	13:19:53	3160	[DEBUG]	Executed store
2023-10-13	13:19:53	3160	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plastique alimentaire, ne garde pas les odeurs, grand orifice pour le lavage.<br>N° art fourn : SL61',`product_name`='MSC Poche à eau MSC Dromeback 1.5 litres / Transparent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-poche-a-eau-msc-dromeback-1-5-litres-transparent' WHERE `virtuemart_product_id` = '1862652'
2023-10-13	13:19:53	3160	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1217.jpg
2023-10-13	13:19:53	3160	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:53	3160	[DEBUG]	Process image file
2023-10-13	13:19:53	3160	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:53	3160	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:53	3160	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1217.jpg
2023-10-13	13:19:53	3160	[DEBUG]	Full name target: bcprisme/image_1217.jpg
2023-10-13	13:19:54	3160	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:54	3160	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1217.jpg'
2023-10-13	13:19:54	3160	[DEBUG]	Query for Media
2023-10-13	13:19:54	3160	[DEBUG]	Executed store
2023-10-13	13:19:54	3160	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1217.jpg',`file_url_thumb`='bcprisme/image_1217.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13094'
2023-10-13	13:19:54	3160	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:54	3160	[DEBUG]	Executed store
2023-10-13	13:19:54	3160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862652','13094','1')
2023-10-13	13:19:54	3160	[DEBUG]	Store product image relation
2023-10-13	13:19:54	3160	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:54	3160	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862652 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:54	3160	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:54	3160	[DEBUG]	Executed store
2023-10-13	13:19:54	3160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862652','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:54	3160	[DEBUG]	Checking manufacturer
2023-10-13	13:19:54	3160	[DEBUG]	Load a row
2023-10-13	13:19:54	3160	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:54	3160	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:54	3160	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:54	3160	[DEBUG]	Executed store
2023-10-13	13:19:54	3160	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:54	3160	[DEBUG]	Manufacturer exists
2023-10-13	13:19:54	3160	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:19:54	3160	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:54	3160	[DEBUG]	Executed store
2023-10-13	13:19:54	3160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862652','206')
2023-10-13	13:19:54	3160	[DEBUG]	Find the custom field ID
2023-10-13	13:19:54	3160	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:54	3160	[DEBUG]	No custom field ID found
2023-10-13	13:19:54	3160	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:54	3160	[DEBUG]	Get existing row with customfield value 26.8252777777778
2023-10-13	13:19:54	3160	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862652 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:54	3160	[DEBUG]	Store custom available field
2023-10-13	13:19:54	3160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862652,3,'26.8252777777778',1)
2023-10-13	13:19:54	3160	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:54	3160	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:54	3160	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862652 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:54	3160	[DEBUG]	Store custom available field
2023-10-13	13:19:54	3160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862652,6,'choisir la taille',3)
2023-10-13	13:19:54	3160	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:54	3160	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:54	3160	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:54	3160	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:54	3160	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862652 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:54	3160	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:54	3160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862652,8,1)
2023-10-13	13:19:54	3160	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:54	3160	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862652\":[1862652,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862652
2023-10-13	13:19:54	3160	[DEBUG]	Checking category
2023-10-13	13:19:54	3160	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:54	3160	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862652
2023-10-13	13:19:54	3160	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:54	3160	[DEBUG]	Executed store
2023-10-13	13:19:54	3160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862652','7367')
2023-10-13	13:19:54	3160	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:54	3160	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862652 AND `virtuemart_category_id` NOT IN (7367)
2023-10-13	13:19:54	3160	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:54	3160	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862652
2023-10-13	13:19:54	3161	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:54	3161	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:54	3161	[DEBUG]	Use field value for field taille
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:54	3161	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:54	3161	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:54	3161	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:54	3161	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:54	3161	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:54	3161	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:54	3161	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:54	3161	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:54	3161	[DEBUG]	Use field value for field published
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:54	3161	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field override
2023-10-13	13:19:54	3161	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:54	3161	[DEBUG]	Use field value for field slug
2023-10-13	13:19:54	3161	[DEBUG]	Process line 3161
2023-10-13	13:19:54	3161	[DEBUG]	Load a row
2023-10-13	13:19:54	3161	[DEBUG]	Processing item: 8436041525059
2023-10-13	13:19:54	3161	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:54	3161	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:54	3161	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_923_54'
2023-10-13	13:19:54	3161	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:54	3161	[DEBUG]	Processing product tax
2023-10-13	13:19:54	3161	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:54	3161	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:54	3161	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:54	3161	[DEBUG]	Query for Product
2023-10-13	13:19:54	3161	[DEBUG]	Executed store
2023-10-13	13:19:54	3161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862652','8436041525059','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:54	3161	[DEBUG]	No parent found
2023-10-13	13:19:54	3161	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862652 AND customfield_value = 'stockable'
2023-10-13	13:19:54	3161	[DEBUG]	Check product language entry
2023-10-13	13:19:54	3161	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862653
2023-10-13	13:19:54	3161	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:54	3161	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041525059' AND `virtuemart_product_id` != 1862653
2023-10-13	13:19:54	3161	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:54	3161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862653, '8436041525059')
2023-10-13	13:19:54	3161	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:54	3161	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-poche-a-eau-msc-dromeback-1-5-litres-transparent-unitaire' AND `virtuemart_product_id` != 1862653
2023-10-13	13:19:54	3161	[DEBUG]	Query for ProductLang
2023-10-13	13:19:54	3161	[DEBUG]	Executed store
2023-10-13	13:19:54	3161	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Poche à eau MSC Dromeback 1.5 litres / Transparent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-poche-a-eau-msc-dromeback-1-5-litres-transparent-unitaire' WHERE `virtuemart_product_id` = '1862653'
2023-10-13	13:19:54	3161	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1217.jpg
2023-10-13	13:19:54	3161	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:54	3161	[DEBUG]	Process image file
2023-10-13	13:19:54	3161	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:19:54	3161	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:54	3161	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1217.jpg
2023-10-13	13:19:54	3161	[DEBUG]	Full name target: bcprisme/image_1217.jpg
2023-10-13	13:19:55	3161	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:55	3161	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1217.jpg'
2023-10-13	13:19:55	3161	[DEBUG]	Query for Media
2023-10-13	13:19:55	3161	[DEBUG]	Executed store
2023-10-13	13:19:55	3161	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1217.jpg',`file_url_thumb`='bcprisme/image_1217.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13094'
2023-10-13	13:19:55	3161	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:55	3161	[DEBUG]	Executed store
2023-10-13	13:19:55	3161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862653','13094','1')
2023-10-13	13:19:55	3161	[DEBUG]	Store product image relation
2023-10-13	13:19:55	3161	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:55	3161	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862653 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:55	3161	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:55	3161	[DEBUG]	Executed store
2023-10-13	13:19:55	3161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862653','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:55	3161	[DEBUG]	Checking manufacturer
2023-10-13	13:19:55	3161	[DEBUG]	Load a row
2023-10-13	13:19:55	3161	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:55	3161	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:55	3161	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:55	3161	[DEBUG]	Executed store
2023-10-13	13:19:55	3161	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-09288787771' WHERE `virtuemart_manufacturer_id` = '206'
2023-10-13	13:19:55	3161	[DEBUG]	Manufacturer exists
2023-10-13	13:19:55	3161	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 206
2023-10-13	13:19:55	3161	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:55	3161	[DEBUG]	Executed store
2023-10-13	13:19:55	3161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862653','206')
2023-10-13	13:19:55	3161	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:55	3161	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:55	3161	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862653 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:55	3161	[DEBUG]	Store custom available field
2023-10-13	13:19:55	3161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862653,3,'',1)
2023-10-13	13:19:55	3161	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:55	3161	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:55	3161	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862653 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:55	3161	[DEBUG]	Store custom available field
2023-10-13	13:19:55	3161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862653,6,'Unitaire',3)
2023-10-13	13:19:55	3161	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:55	3161	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:55	3161	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862652
2023-10-13	13:19:55	3161	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:55	3161	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862652\":[1862652,8,1,\"choisir la taille\"],\"1862653\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862652
2023-10-13	13:19:55	3161	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:55	3161	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862653
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:55	3162	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field taille
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:55	3162	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:55	3162	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:55	3162	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:55	3162	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:55	3162	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:55	3162	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field published
2023-10-13	13:19:55	3162	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:55	3162	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field override
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:55	3162	[DEBUG]	Use field value for field slug
2023-10-13	13:19:55	3162	[DEBUG]	Process line 3162
2023-10-13	13:19:55	3162	[DEBUG]	Load a row
2023-10-13	13:19:55	3162	[DEBUG]	Processing item: A_360_1
2023-10-13	13:19:55	3162	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:55	3162	[DEBUG]	Processing product tax
2023-10-13	13:19:55	3162	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:55	3162	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:55	3162	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:55	3162	[DEBUG]	Query for Product
2023-10-13	13:19:55	3162	[DEBUG]	Executed store
2023-10-13	13:19:55	3162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_360_1','0.112','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:55	3162	[DEBUG]	Check product language entry
2023-10-13	13:19:55	3162	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862654
2023-10-13	13:19:55	3162	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:55	3162	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_360_1' AND `virtuemart_product_id` != 1862654
2023-10-13	13:19:55	3162	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:55	3162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862654, 'A_360_1')
2023-10-13	13:19:55	3162	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:55	3162	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-kit-reparation-msc-pour-pneus-tubeless-noir' AND `virtuemart_product_id` != 1862654
2023-10-13	13:19:55	3162	[DEBUG]	Query for ProductLang
2023-10-13	13:19:55	3162	[DEBUG]	Executed store
2023-10-13	13:19:55	3162	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Réparation Tubeless<br>N° art fourn : CH004N',`product_name`='MSC Kit réparation MSC pour pneus tubeless / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-kit-reparation-msc-pour-pneus-tubeless-noir' WHERE `virtuemart_product_id` = '1862654'
2023-10-13	13:19:55	3162	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/402_kit_reparation_msc_pour_pneus_tubeless.jpg
2023-10-13	13:19:55	3162	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:19:55	3162	[DEBUG]	Process image file
2023-10-13	13:19:55	3162	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:19:55	3162	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:55	3162	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/402_kit_reparation_msc_pour_pneus_tubeless.jpg
2023-10-13	13:19:55	3162	[DEBUG]	Full name target: bcprisme/402_kit_reparation_msc_pour_pneus_tubeless.jpg
2023-10-13	13:19:56	3162	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:56	3162	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/402_kit_reparation_msc_pour_pneus_tubeless.jpg'
2023-10-13	13:19:56	3162	[DEBUG]	Query for Media
2023-10-13	13:19:56	3162	[DEBUG]	Executed store
2023-10-13	13:19:56	3162	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/402_kit_reparation_msc_pour_pneus_tubeless.jpg',`file_url_thumb`='bcprisme/402_kit_reparation_msc_pour_pneus_tubeless.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14465'
2023-10-13	13:19:56	3162	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:56	3162	[DEBUG]	Executed store
2023-10-13	13:19:56	3162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862654','14465','1')
2023-10-13	13:19:56	3162	[DEBUG]	Store product image relation
2023-10-13	13:19:56	3162	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:56	3162	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862654 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:56	3162	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:56	3162	[DEBUG]	Executed store
2023-10-13	13:19:56	3162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862654','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:56	3162	[DEBUG]	Checking manufacturer
2023-10-13	13:19:56	3162	[DEBUG]	Load a row
2023-10-13	13:19:56	3162	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:56	3162	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:56	3162	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:56	3162	[DEBUG]	Executed store
2023-10-13	13:19:56	3162	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:56	3162	[DEBUG]	Manufacturer exists
2023-10-13	13:19:56	3162	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:56	3162	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:56	3162	[DEBUG]	Executed store
2023-10-13	13:19:56	3162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862654','32')
2023-10-13	13:19:56	3162	[DEBUG]	Find the custom field ID
2023-10-13	13:19:56	3162	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:56	3162	[DEBUG]	No custom field ID found
2023-10-13	13:19:56	3162	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:56	3162	[DEBUG]	Get existing row with customfield value 24.8308333333333
2023-10-13	13:19:56	3162	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862654 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:56	3162	[DEBUG]	Store custom available field
2023-10-13	13:19:56	3162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862654,3,'24.8308333333333',1)
2023-10-13	13:19:56	3162	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:56	3162	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:56	3162	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862654 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:56	3162	[DEBUG]	Store custom available field
2023-10-13	13:19:56	3162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862654,6,'choisir la taille',3)
2023-10-13	13:19:56	3162	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:56	3162	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:56	3162	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:56	3162	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:56	3162	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862654 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:56	3162	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:56	3162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862654,8,1)
2023-10-13	13:19:56	3162	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:56	3162	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862654\":[1862654,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862654
2023-10-13	13:19:56	3162	[DEBUG]	Checking category
2023-10-13	13:19:56	3162	[DEBUG]	Check if category path exists: KIT REPARATION
2023-10-13	13:19:56	3162	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'KIT REPARATION' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:19:56	3162	[DEBUG]	Check if category path exists: KIT REPARATION
2023-10-13	13:19:56	3162	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'KIT REPARATION' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7368
2023-10-13	13:19:56	3162	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:56	3162	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862654
2023-10-13	13:19:56	3162	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:56	3162	[DEBUG]	Executed store
2023-10-13	13:19:56	3162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862654','7369')
2023-10-13	13:19:56	3162	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:56	3162	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862654 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:19:56	3162	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:56	3162	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862654
2023-10-13	13:19:56	3163	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:56	3163	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:56	3163	[DEBUG]	Use field value for field taille
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:56	3163	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:56	3163	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:56	3163	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:56	3163	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:56	3163	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:56	3163	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:56	3163	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:56	3163	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:56	3163	[DEBUG]	Use field value for field published
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:56	3163	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field override
2023-10-13	13:19:56	3163	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:56	3163	[DEBUG]	Use field value for field slug
2023-10-13	13:19:56	3163	[DEBUG]	Process line 3163
2023-10-13	13:19:56	3163	[DEBUG]	Load a row
2023-10-13	13:19:56	3163	[DEBUG]	Processing item: 8436041527770
2023-10-13	13:19:56	3163	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:56	3163	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:56	3163	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_360_1'
2023-10-13	13:19:56	3163	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:56	3163	[DEBUG]	Processing product tax
2023-10-13	13:19:56	3163	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:56	3163	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:56	3163	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:56	3163	[DEBUG]	Query for Product
2023-10-13	13:19:56	3163	[DEBUG]	Executed store
2023-10-13	13:19:56	3163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862654','8436041527770','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:56	3163	[DEBUG]	No parent found
2023-10-13	13:19:56	3163	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862654 AND customfield_value = 'stockable'
2023-10-13	13:19:56	3163	[DEBUG]	Check product language entry
2023-10-13	13:19:56	3163	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862655
2023-10-13	13:19:56	3163	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:56	3163	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041527770' AND `virtuemart_product_id` != 1862655
2023-10-13	13:19:56	3163	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:56	3163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862655, '8436041527770')
2023-10-13	13:19:56	3163	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:56	3163	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-kit-reparation-msc-pour-pneus-tubeless-noir-unitaire' AND `virtuemart_product_id` != 1862655
2023-10-13	13:19:56	3163	[DEBUG]	Query for ProductLang
2023-10-13	13:19:56	3163	[DEBUG]	Executed store
2023-10-13	13:19:56	3163	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Kit réparation MSC pour pneus tubeless / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-kit-reparation-msc-pour-pneus-tubeless-noir-unitaire' WHERE `virtuemart_product_id` = '1862655'
2023-10-13	13:19:56	3163	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/402_kit_reparation_msc_pour_pneus_tubeless.jpg
2023-10-13	13:19:56	3163	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:19:56	3163	[DEBUG]	Process image file
2023-10-13	13:19:56	3163	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:19:56	3163	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:56	3163	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/402_kit_reparation_msc_pour_pneus_tubeless.jpg
2023-10-13	13:19:56	3163	[DEBUG]	Full name target: bcprisme/402_kit_reparation_msc_pour_pneus_tubeless.jpg
2023-10-13	13:19:57	3163	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:57	3163	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/402_kit_reparation_msc_pour_pneus_tubeless.jpg'
2023-10-13	13:19:57	3163	[DEBUG]	Query for Media
2023-10-13	13:19:57	3163	[DEBUG]	Executed store
2023-10-13	13:19:57	3163	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/402_kit_reparation_msc_pour_pneus_tubeless.jpg',`file_url_thumb`='bcprisme/402_kit_reparation_msc_pour_pneus_tubeless.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14465'
2023-10-13	13:19:57	3163	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:57	3163	[DEBUG]	Executed store
2023-10-13	13:19:57	3163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862655','14465','1')
2023-10-13	13:19:57	3163	[DEBUG]	Store product image relation
2023-10-13	13:19:57	3163	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:57	3163	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862655 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:57	3163	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:57	3163	[DEBUG]	Executed store
2023-10-13	13:19:57	3163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862655','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:57	3163	[DEBUG]	Checking manufacturer
2023-10-13	13:19:57	3163	[DEBUG]	Load a row
2023-10-13	13:19:57	3163	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:57	3163	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:57	3163	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:57	3163	[DEBUG]	Executed store
2023-10-13	13:19:57	3163	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:57	3163	[DEBUG]	Manufacturer exists
2023-10-13	13:19:57	3163	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:57	3163	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:57	3163	[DEBUG]	Executed store
2023-10-13	13:19:57	3163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862655','32')
2023-10-13	13:19:57	3163	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:57	3163	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:57	3163	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862655 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:57	3163	[DEBUG]	Store custom available field
2023-10-13	13:19:57	3163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862655,3,'',1)
2023-10-13	13:19:57	3163	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:57	3163	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:57	3163	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862655 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:57	3163	[DEBUG]	Store custom available field
2023-10-13	13:19:57	3163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862655,6,'Unitaire',3)
2023-10-13	13:19:57	3163	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:57	3163	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:57	3163	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862654
2023-10-13	13:19:57	3163	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:57	3163	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862654\":[1862654,8,1,\"choisir la taille\"],\"1862655\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862654
2023-10-13	13:19:57	3163	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:57	3163	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862655
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:57	3164	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field taille
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:57	3164	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:57	3164	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:57	3164	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:57	3164	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:57	3164	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:57	3164	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field published
2023-10-13	13:19:57	3164	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:57	3164	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field override
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:57	3164	[DEBUG]	Use field value for field slug
2023-10-13	13:19:57	3164	[DEBUG]	Process line 3164
2023-10-13	13:19:57	3164	[DEBUG]	Load a row
2023-10-13	13:19:57	3164	[DEBUG]	Processing item: A_1095_3
2023-10-13	13:19:57	3164	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:57	3164	[DEBUG]	Processing product tax
2023-10-13	13:19:57	3164	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:57	3164	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:57	3164	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:57	3164	[DEBUG]	Query for Product
2023-10-13	13:19:57	3164	[DEBUG]	Executed store
2023-10-13	13:19:57	3164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1095_3','0.141','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:57	3164	[DEBUG]	Check product language entry
2023-10-13	13:19:57	3164	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862656
2023-10-13	13:19:57	3164	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:57	3164	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1095_3' AND `virtuemart_product_id` != 1862656
2023-10-13	13:19:57	3164	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:57	3164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862656, 'A_1095_3')
2023-10-13	13:19:57	3164	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:57	3164	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-kit-de-purge-freins-a-disques-hydrauliques-universel-none' AND `virtuemart_product_id` != 1862656
2023-10-13	13:19:57	3164	[DEBUG]	Query for ProductLang
2023-10-13	13:19:57	3164	[DEBUG]	Executed store
2023-10-13	13:19:57	3164	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Seringues et divers embouts pour purger tous les freins du marché<br>N° art fourn : UBK001',`product_name`='MSC Kit de purge freins à disques hydrauliques universel / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-kit-de-purge-freins-a-disques-hydrauliques-universel-none' WHERE `virtuemart_product_id` = '1862656'
2023-10-13	13:19:57	3164	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1405.jpg
2023-10-13	13:19:57	3164	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:19:57	3164	[DEBUG]	Process image file
2023-10-13	13:19:57	3164	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:19:57	3164	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:57	3164	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1405.jpg
2023-10-13	13:19:57	3164	[DEBUG]	Full name target: bcprisme/image_1405.jpg
2023-10-13	13:19:58	3164	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:58	3164	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1405.jpg'
2023-10-13	13:19:58	3164	[DEBUG]	Query for Media
2023-10-13	13:19:58	3164	[DEBUG]	Executed store
2023-10-13	13:19:58	3164	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1405.jpg',`file_url_thumb`='bcprisme/image_1405.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '146425'
2023-10-13	13:19:58	3164	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:58	3164	[DEBUG]	Executed store
2023-10-13	13:19:58	3164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862656','146425','1')
2023-10-13	13:19:58	3164	[DEBUG]	Store product image relation
2023-10-13	13:19:58	3164	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:58	3164	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862656 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:58	3164	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:58	3164	[DEBUG]	Executed store
2023-10-13	13:19:58	3164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862656','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:58	3164	[DEBUG]	Checking manufacturer
2023-10-13	13:19:58	3164	[DEBUG]	Load a row
2023-10-13	13:19:58	3164	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:58	3164	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:58	3164	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:58	3164	[DEBUG]	Executed store
2023-10-13	13:19:58	3164	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:58	3164	[DEBUG]	Manufacturer exists
2023-10-13	13:19:58	3164	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:58	3164	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:58	3164	[DEBUG]	Executed store
2023-10-13	13:19:58	3164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862656','32')
2023-10-13	13:19:58	3164	[DEBUG]	Find the custom field ID
2023-10-13	13:19:58	3164	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:19:58	3164	[DEBUG]	No custom field ID found
2023-10-13	13:19:58	3164	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:58	3164	[DEBUG]	Get existing row with customfield value 89.6502777777778
2023-10-13	13:19:58	3164	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862656 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:58	3164	[DEBUG]	Store custom available field
2023-10-13	13:19:58	3164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862656,3,'89.6502777777778',1)
2023-10-13	13:19:58	3164	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:58	3164	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:19:58	3164	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862656 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:58	3164	[DEBUG]	Store custom available field
2023-10-13	13:19:58	3164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862656,6,'choisir la taille',3)
2023-10-13	13:19:58	3164	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:58	3164	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:19:58	3164	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:19:58	3164	[DEBUG]	Find the multi variant product entry
2023-10-13	13:19:58	3164	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862656 AND `virtuemart_custom_id` = 8
2023-10-13	13:19:58	3164	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:19:58	3164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862656,8,1)
2023-10-13	13:19:58	3164	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:58	3164	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862656\":[1862656,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862656
2023-10-13	13:19:58	3164	[DEBUG]	Checking category
2023-10-13	13:19:58	3164	[DEBUG]	Get the existing categories for the product
2023-10-13	13:19:58	3164	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862656
2023-10-13	13:19:58	3164	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:19:58	3164	[DEBUG]	Executed store
2023-10-13	13:19:58	3164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862656','7369')
2023-10-13	13:19:58	3164	[DEBUG]	Delete leftover product categories
2023-10-13	13:19:58	3164	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862656 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:19:58	3164	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:58	3164	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862656
2023-10-13	13:19:58	3165	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:58	3165	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:19:58	3165	[DEBUG]	Use field value for field taille
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:19:58	3165	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field category_path
2023-10-13	13:19:58	3165	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:58	3165	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:58	3165	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:58	3165	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:19:58	3165	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field product_weight
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:58	3165	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:58	3165	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:58	3165	[DEBUG]	Use field value for field published
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field custom_title
2023-10-13	13:19:58	3165	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field custom_param
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field override
2023-10-13	13:19:58	3165	[DEBUG]	Use default value for field public_price
2023-10-13	13:19:58	3165	[DEBUG]	Use field value for field slug
2023-10-13	13:19:58	3165	[DEBUG]	Process line 3165
2023-10-13	13:19:58	3165	[DEBUG]	Load a row
2023-10-13	13:19:58	3165	[DEBUG]	Processing item: 8436041554127
2023-10-13	13:19:58	3165	[DEBUG]	Looking for parent SKU
2023-10-13	13:19:58	3165	[DEBUG]	Checking product parent SKU
2023-10-13	13:19:58	3165	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1095_3'
2023-10-13	13:19:58	3165	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:58	3165	[DEBUG]	Processing product tax
2023-10-13	13:19:58	3165	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:58	3165	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:58	3165	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:58	3165	[DEBUG]	Query for Product
2023-10-13	13:19:58	3165	[DEBUG]	Executed store
2023-10-13	13:19:58	3165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862656','8436041554127','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:58	3165	[DEBUG]	No parent found
2023-10-13	13:19:58	3165	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862656 AND customfield_value = 'stockable'
2023-10-13	13:19:58	3165	[DEBUG]	Check product language entry
2023-10-13	13:19:58	3165	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862657
2023-10-13	13:19:58	3165	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:58	3165	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041554127' AND `virtuemart_product_id` != 1862657
2023-10-13	13:19:58	3165	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:58	3165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862657, '8436041554127')
2023-10-13	13:19:58	3165	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:58	3165	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-kit-de-purge-freins-a-disques-hydrauliques-universel-none-unitaire' AND `virtuemart_product_id` != 1862657
2023-10-13	13:19:58	3165	[DEBUG]	Query for ProductLang
2023-10-13	13:19:58	3165	[DEBUG]	Executed store
2023-10-13	13:19:58	3165	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Kit de purge freins à disques hydrauliques universel / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-kit-de-purge-freins-a-disques-hydrauliques-universel-none-unitaire' WHERE `virtuemart_product_id` = '1862657'
2023-10-13	13:19:58	3165	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1405.jpg
2023-10-13	13:19:58	3165	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:19:58	3165	[DEBUG]	Process image file
2023-10-13	13:19:58	3165	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:19:58	3165	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:58	3165	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1405.jpg
2023-10-13	13:19:58	3165	[DEBUG]	Full name target: bcprisme/image_1405.jpg
2023-10-13	13:19:59	3165	[DEBUG]	Checking if the file_url exists
2023-10-13	13:19:59	3165	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1405.jpg'
2023-10-13	13:19:59	3165	[DEBUG]	Query for Media
2023-10-13	13:19:59	3165	[DEBUG]	Executed store
2023-10-13	13:19:59	3165	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1405.jpg',`file_url_thumb`='bcprisme/image_1405.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '146425'
2023-10-13	13:19:59	3165	[DEBUG]	Query for ProductMedia
2023-10-13	13:19:59	3165	[DEBUG]	Executed store
2023-10-13	13:19:59	3165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862657','146425','1')
2023-10-13	13:19:59	3165	[DEBUG]	Store product image relation
2023-10-13	13:19:59	3165	[DEBUG]	Finding a product_price_id
2023-10-13	13:19:59	3165	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862657 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:19:59	3165	[DEBUG]	Query for ProductPrice
2023-10-13	13:19:59	3165	[DEBUG]	Executed store
2023-10-13	13:19:59	3165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862657','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:19:59	3165	[DEBUG]	Checking manufacturer
2023-10-13	13:19:59	3165	[DEBUG]	Load a row
2023-10-13	13:19:59	3165	[DEBUG]	Manufacturer already exists
2023-10-13	13:19:59	3165	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:59	3165	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:19:59	3165	[DEBUG]	Executed store
2023-10-13	13:19:59	3165	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:19:59	3165	[DEBUG]	Manufacturer exists
2023-10-13	13:19:59	3165	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:19:59	3165	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:19:59	3165	[DEBUG]	Executed store
2023-10-13	13:19:59	3165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862657','32')
2023-10-13	13:19:59	3165	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:19:59	3165	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:19:59	3165	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862657 AND `virtuemart_custom_id` = 3
2023-10-13	13:19:59	3165	[DEBUG]	Store custom available field
2023-10-13	13:19:59	3165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862657,3,'',1)
2023-10-13	13:19:59	3165	[DEBUG]	Processing custom available field: taille
2023-10-13	13:19:59	3165	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:19:59	3165	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862657 AND `virtuemart_custom_id` = 6
2023-10-13	13:19:59	3165	[DEBUG]	Store custom available field
2023-10-13	13:19:59	3165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862657,6,'Unitaire',3)
2023-10-13	13:19:59	3165	[DEBUG]	Process multi-variant fields
2023-10-13	13:19:59	3165	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:19:59	3165	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862656
2023-10-13	13:19:59	3165	[DEBUG]	Store the updated customfield_params
2023-10-13	13:19:59	3165	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862656\":[1862656,8,1,\"choisir la taille\"],\"1862657\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862656
2023-10-13	13:19:59	3165	[DEBUG]	Update has fields after all processing
2023-10-13	13:19:59	3165	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862657
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field product_sku
2023-10-13	13:19:59	3166	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field taille
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field product_name
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field category_path
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field product_price
2023-10-13	13:19:59	3166	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field product_tax
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field file_url
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:19:59	3166	[DEBUG]	Use default value for field product_desc
2023-10-13	13:19:59	3166	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field product_availability
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field product_weight
2023-10-13	13:19:59	3166	[DEBUG]	Use default value for field product_unit
2023-10-13	13:19:59	3166	[DEBUG]	Use default value for field related_products
2023-10-13	13:19:59	3166	[DEBUG]	Use default value for field product_special
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field published
2023-10-13	13:19:59	3166	[DEBUG]	Use default value for field metadesc
2023-10-13	13:19:59	3166	[DEBUG]	Use default value for field metakey
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field custom_title
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field custom_value
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field custom_param
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field override
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field public_price
2023-10-13	13:19:59	3166	[DEBUG]	Use field value for field slug
2023-10-13	13:19:59	3166	[DEBUG]	Process line 3166
2023-10-13	13:19:59	3166	[DEBUG]	Load a row
2023-10-13	13:19:59	3166	[DEBUG]	Processing item: A_1553_0
2023-10-13	13:19:59	3166	[DEBUG]	Product tax: 7.7
2023-10-13	13:19:59	3166	[DEBUG]	Processing product tax
2023-10-13	13:19:59	3166	[DEBUG]	Check if calculation rule exists
2023-10-13	13:19:59	3166	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:19:59	3166	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:19:59	3166	[DEBUG]	Query for Product
2023-10-13	13:19:59	3166	[DEBUG]	Executed store
2023-10-13	13:19:59	3166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1553_0','0.052','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:19:59	3166	[DEBUG]	Check product language entry
2023-10-13	13:19:59	3166	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862658
2023-10-13	13:19:59	3166	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:59	3166	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1553_0' AND `virtuemart_product_id` != 1862658
2023-10-13	13:19:59	3166	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:19:59	3166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862658, 'A_1553_0')
2023-10-13	13:19:59	3166	[DEBUG]	Check if the product slug exists
2023-10-13	13:19:59	3166	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-kit-reparation-chambre-a-air-unique' AND `virtuemart_product_id` != 1862658
2023-10-13	13:19:59	3166	[DEBUG]	Query for ProductLang
2023-10-13	13:19:59	3166	[DEBUG]	Executed store
2023-10-13	13:19:59	3166	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1 Kit comprend :<br>8 rustines autocollantes + 1grattoir en acier inoxydable + 1 paire de leviers contenus dans une boite de plastique PC noire Meqix. <br>N° art fourn : QIXPATCHKITS',`product_name`='MSC Kit réparation chambre-à-air / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-kit-reparation-chambre-a-air-unique' WHERE `virtuemart_product_id` = '1862658'
2023-10-13	13:19:59	3166	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3857.jpg
2023-10-13	13:19:59	3166	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:19:59	3166	[DEBUG]	Process image file
2023-10-13	13:19:59	3166	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:19:59	3166	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:19:59	3166	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3857.jpg
2023-10-13	13:19:59	3166	[DEBUG]	Full name target: bcprisme/image_3857.jpg
2023-10-13	13:20:00	3166	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:00	3166	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3857.jpg'
2023-10-13	13:20:00	3166	[DEBUG]	Query for Media
2023-10-13	13:20:00	3166	[DEBUG]	Executed store
2023-10-13	13:20:00	3166	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3857.jpg',`file_url_thumb`='bcprisme/image_3857.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14468'
2023-10-13	13:20:00	3166	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:00	3166	[DEBUG]	Executed store
2023-10-13	13:20:00	3166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862658','14468','1')
2023-10-13	13:20:00	3166	[DEBUG]	Store product image relation
2023-10-13	13:20:00	3166	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:00	3166	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862658 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:00	3166	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:00	3166	[DEBUG]	Executed store
2023-10-13	13:20:00	3166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862658','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:00	3166	[DEBUG]	Checking manufacturer
2023-10-13	13:20:00	3166	[DEBUG]	Load a row
2023-10-13	13:20:00	3166	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:00	3166	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:00	3166	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:00	3166	[DEBUG]	Executed store
2023-10-13	13:20:00	3166	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:00	3166	[DEBUG]	Manufacturer exists
2023-10-13	13:20:00	3166	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:20:00	3166	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:00	3166	[DEBUG]	Executed store
2023-10-13	13:20:00	3166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862658','32')
2023-10-13	13:20:00	3166	[DEBUG]	Find the custom field ID
2023-10-13	13:20:00	3166	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:00	3166	[DEBUG]	No custom field ID found
2023-10-13	13:20:00	3166	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:00	3166	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:20:00	3166	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862658 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:00	3166	[DEBUG]	Store custom available field
2023-10-13	13:20:00	3166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862658,3,'16.8530555555556',1)
2023-10-13	13:20:00	3166	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:00	3166	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:00	3166	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862658 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:00	3166	[DEBUG]	Store custom available field
2023-10-13	13:20:00	3166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862658,6,'choisir la taille',3)
2023-10-13	13:20:00	3166	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:00	3166	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:00	3166	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:00	3166	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:00	3166	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862658 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:00	3166	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:00	3166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862658,8,1)
2023-10-13	13:20:00	3166	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:00	3166	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862658\":[1862658,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862658
2023-10-13	13:20:00	3166	[DEBUG]	Checking category
2023-10-13	13:20:00	3166	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:00	3166	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862658
2023-10-13	13:20:00	3166	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:00	3166	[DEBUG]	Executed store
2023-10-13	13:20:00	3166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862658','7369')
2023-10-13	13:20:00	3166	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:00	3166	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862658 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:00	3166	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:00	3166	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862658
2023-10-13	13:20:00	3167	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:00	3167	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:00	3167	[DEBUG]	Use field value for field taille
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:00	3167	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:00	3167	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:00	3167	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:00	3167	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:00	3167	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:00	3167	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:00	3167	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:00	3167	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:00	3167	[DEBUG]	Use field value for field published
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:00	3167	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field override
2023-10-13	13:20:00	3167	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:00	3167	[DEBUG]	Use field value for field slug
2023-10-13	13:20:00	3167	[DEBUG]	Process line 3167
2023-10-13	13:20:00	3167	[DEBUG]	Load a row
2023-10-13	13:20:00	3167	[DEBUG]	Processing item: 8436041551126
2023-10-13	13:20:00	3167	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:00	3167	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:00	3167	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1553_0'
2023-10-13	13:20:00	3167	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:00	3167	[DEBUG]	Processing product tax
2023-10-13	13:20:00	3167	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:00	3167	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:00	3167	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:00	3167	[DEBUG]	Query for Product
2023-10-13	13:20:00	3167	[DEBUG]	Executed store
2023-10-13	13:20:00	3167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862658','8436041551126','0','KG','M','','11','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:00	3167	[DEBUG]	No parent found
2023-10-13	13:20:00	3167	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862658 AND customfield_value = 'stockable'
2023-10-13	13:20:00	3167	[DEBUG]	Check product language entry
2023-10-13	13:20:00	3167	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862659
2023-10-13	13:20:00	3167	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:00	3167	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041551126' AND `virtuemart_product_id` != 1862659
2023-10-13	13:20:00	3167	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:00	3167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862659, '8436041551126')
2023-10-13	13:20:00	3167	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:00	3167	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-kit-reparation-chambre-a-air-unique-unitaire' AND `virtuemart_product_id` != 1862659
2023-10-13	13:20:00	3167	[DEBUG]	Query for ProductLang
2023-10-13	13:20:00	3167	[DEBUG]	Executed store
2023-10-13	13:20:00	3167	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Kit réparation chambre-à-air / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-kit-reparation-chambre-a-air-unique-unitaire' WHERE `virtuemart_product_id` = '1862659'
2023-10-13	13:20:00	3167	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3857.jpg
2023-10-13	13:20:00	3167	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:00	3167	[DEBUG]	Process image file
2023-10-13	13:20:00	3167	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:00	3167	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:00	3167	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3857.jpg
2023-10-13	13:20:00	3167	[DEBUG]	Full name target: bcprisme/image_3857.jpg
2023-10-13	13:20:01	3167	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:01	3167	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3857.jpg'
2023-10-13	13:20:01	3167	[DEBUG]	Query for Media
2023-10-13	13:20:01	3167	[DEBUG]	Executed store
2023-10-13	13:20:01	3167	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3857.jpg',`file_url_thumb`='bcprisme/image_3857.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14468'
2023-10-13	13:20:01	3167	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:01	3167	[DEBUG]	Executed store
2023-10-13	13:20:01	3167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862659','14468','1')
2023-10-13	13:20:01	3167	[DEBUG]	Store product image relation
2023-10-13	13:20:01	3167	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:01	3167	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862659 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:01	3167	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:01	3167	[DEBUG]	Executed store
2023-10-13	13:20:01	3167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862659','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:01	3167	[DEBUG]	Checking manufacturer
2023-10-13	13:20:01	3167	[DEBUG]	Load a row
2023-10-13	13:20:01	3167	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:01	3167	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:01	3167	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:01	3167	[DEBUG]	Executed store
2023-10-13	13:20:01	3167	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:01	3167	[DEBUG]	Manufacturer exists
2023-10-13	13:20:01	3167	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:20:01	3167	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:01	3167	[DEBUG]	Executed store
2023-10-13	13:20:01	3167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862659','32')
2023-10-13	13:20:01	3167	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:01	3167	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:01	3167	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862659 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:01	3167	[DEBUG]	Store custom available field
2023-10-13	13:20:01	3167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862659,3,'',1)
2023-10-13	13:20:01	3167	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:01	3167	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:01	3167	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862659 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:01	3167	[DEBUG]	Store custom available field
2023-10-13	13:20:01	3167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862659,6,'Unitaire',3)
2023-10-13	13:20:01	3167	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:01	3167	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:01	3167	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862658
2023-10-13	13:20:01	3167	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:01	3167	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862658\":[1862658,8,1,\"choisir la taille\"],\"1862659\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862658
2023-10-13	13:20:01	3167	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:01	3167	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862659
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:01	3168	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field taille
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:01	3168	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:01	3168	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:01	3168	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:01	3168	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:01	3168	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:01	3168	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field published
2023-10-13	13:20:01	3168	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:01	3168	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field override
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:01	3168	[DEBUG]	Use field value for field slug
2023-10-13	13:20:01	3168	[DEBUG]	Process line 3168
2023-10-13	13:20:01	3168	[DEBUG]	Load a row
2023-10-13	13:20:01	3168	[DEBUG]	Processing item: A_3256_70
2023-10-13	13:20:01	3168	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:01	3168	[DEBUG]	Processing product tax
2023-10-13	13:20:01	3168	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:01	3168	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:01	3168	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:01	3168	[DEBUG]	Query for Product
2023-10-13	13:20:02	3168	[DEBUG]	Executed store
2023-10-13	13:20:02	3168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3256_70','0.1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:02	3168	[DEBUG]	Check product language entry
2023-10-13	13:20:02	3168	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862660
2023-10-13	13:20:02	3168	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:02	3168	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3256_70' AND `virtuemart_product_id` != 1862660
2023-10-13	13:20:02	3168	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:02	3168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862660, 'A_3256_70')
2023-10-13	13:20:02	3168	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:02	3168	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-kit-reparation-chambre-a-air-4-rustines-colle-grattoir-rouge-blanc' AND `virtuemart_product_id` != 1862660
2023-10-13	13:20:02	3168	[DEBUG]	Query for ProductLang
2023-10-13	13:20:02	3168	[DEBUG]	Executed store
2023-10-13	13:20:02	3168	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='KIT REPARATION CHAMBRE-A-AIR (rustine, colle, papier), 19 gr.<br>N° art fourn : PK1029B',`product_name`='MSC KIT REPARATION CHAMBRE-A-AIR (4 rustines, colle, grattoir) / Rouge-blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-kit-reparation-chambre-a-air-4-rustines-colle-grattoir-rouge-blanc' WHERE `virtuemart_product_id` = '1862660'
2023-10-13	13:20:02	3168	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15724.jpg
2023-10-13	13:20:02	3168	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:02	3168	[DEBUG]	Process image file
2023-10-13	13:20:02	3168	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:02	3168	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:02	3168	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15724.jpg
2023-10-13	13:20:02	3168	[DEBUG]	Full name target: bcprisme/image_15724.jpg
2023-10-13	13:20:03	3168	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:03	3168	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15724.jpg'
2023-10-13	13:20:03	3168	[DEBUG]	Query for Media
2023-10-13	13:20:03	3168	[DEBUG]	Executed store
2023-10-13	13:20:03	3168	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15724.jpg',`file_url_thumb`='bcprisme/image_15724.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14474'
2023-10-13	13:20:03	3168	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:03	3168	[DEBUG]	Executed store
2023-10-13	13:20:03	3168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862660','14474','1')
2023-10-13	13:20:03	3168	[DEBUG]	Store product image relation
2023-10-13	13:20:03	3168	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:03	3168	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862660 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:03	3168	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:03	3168	[DEBUG]	Executed store
2023-10-13	13:20:03	3168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862660','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:03	3168	[DEBUG]	Checking manufacturer
2023-10-13	13:20:03	3168	[DEBUG]	Load a row
2023-10-13	13:20:03	3168	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:03	3168	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:03	3168	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:03	3168	[DEBUG]	Executed store
2023-10-13	13:20:03	3168	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:03	3168	[DEBUG]	Manufacturer exists
2023-10-13	13:20:03	3168	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:20:03	3168	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:03	3168	[DEBUG]	Executed store
2023-10-13	13:20:03	3168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862660','32')
2023-10-13	13:20:03	3168	[DEBUG]	Find the custom field ID
2023-10-13	13:20:03	3168	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:03	3168	[DEBUG]	No custom field ID found
2023-10-13	13:20:03	3168	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:03	3168	[DEBUG]	Get existing row with customfield value 2.39333333333333
2023-10-13	13:20:03	3168	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862660 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:03	3168	[DEBUG]	Store custom available field
2023-10-13	13:20:03	3168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862660,3,'2.39333333333333',1)
2023-10-13	13:20:03	3168	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:03	3168	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:03	3168	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862660 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:03	3168	[DEBUG]	Store custom available field
2023-10-13	13:20:03	3168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862660,6,'choisir la taille',3)
2023-10-13	13:20:03	3168	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:03	3168	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:03	3168	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:03	3168	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:03	3168	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862660 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:03	3168	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:03	3168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862660,8,1)
2023-10-13	13:20:03	3168	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:03	3168	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862660\":[1862660,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862660
2023-10-13	13:20:03	3168	[DEBUG]	Checking category
2023-10-13	13:20:03	3168	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:03	3168	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862660
2023-10-13	13:20:03	3168	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:03	3168	[DEBUG]	Executed store
2023-10-13	13:20:03	3168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862660','7369')
2023-10-13	13:20:03	3168	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:03	3168	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862660 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:03	3168	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:03	3168	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862660
2023-10-13	13:20:03	3169	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:03	3169	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:03	3169	[DEBUG]	Use field value for field taille
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:03	3169	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:03	3169	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:03	3169	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:03	3169	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:03	3169	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:03	3169	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:03	3169	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:03	3169	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:03	3169	[DEBUG]	Use field value for field published
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:03	3169	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field override
2023-10-13	13:20:03	3169	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:03	3169	[DEBUG]	Use field value for field slug
2023-10-13	13:20:03	3169	[DEBUG]	Process line 3169
2023-10-13	13:20:03	3169	[DEBUG]	Load a row
2023-10-13	13:20:03	3169	[DEBUG]	Processing item: 8436550194005
2023-10-13	13:20:03	3169	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:03	3169	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:03	3169	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3256_70'
2023-10-13	13:20:03	3169	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:03	3169	[DEBUG]	Processing product tax
2023-10-13	13:20:03	3169	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:03	3169	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:03	3169	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:03	3169	[DEBUG]	Query for Product
2023-10-13	13:20:03	3169	[DEBUG]	Executed store
2023-10-13	13:20:03	3169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862660','8436550194005','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:03	3169	[DEBUG]	No parent found
2023-10-13	13:20:03	3169	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862660 AND customfield_value = 'stockable'
2023-10-13	13:20:03	3169	[DEBUG]	Check product language entry
2023-10-13	13:20:03	3169	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862661
2023-10-13	13:20:03	3169	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:03	3169	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550194005' AND `virtuemart_product_id` != 1862661
2023-10-13	13:20:03	3169	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:03	3169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862661, '8436550194005')
2023-10-13	13:20:03	3169	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:03	3169	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-kit-reparation-chambre-a-air-4-rustines-colle-grattoir-rouge-blanc-unitaire' AND `virtuemart_product_id` != 1862661
2023-10-13	13:20:03	3169	[DEBUG]	Query for ProductLang
2023-10-13	13:20:03	3169	[DEBUG]	Executed store
2023-10-13	13:20:03	3169	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC KIT REPARATION CHAMBRE-A-AIR (4 rustines, colle, grattoir) / Rouge-blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-kit-reparation-chambre-a-air-4-rustines-colle-grattoir-rouge-blanc-unitaire' WHERE `virtuemart_product_id` = '1862661'
2023-10-13	13:20:03	3169	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15724.jpg
2023-10-13	13:20:03	3169	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:03	3169	[DEBUG]	Process image file
2023-10-13	13:20:03	3169	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:03	3169	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:03	3169	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15724.jpg
2023-10-13	13:20:03	3169	[DEBUG]	Full name target: bcprisme/image_15724.jpg
2023-10-13	13:20:04	3169	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:04	3169	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15724.jpg'
2023-10-13	13:20:04	3169	[DEBUG]	Query for Media
2023-10-13	13:20:04	3169	[DEBUG]	Executed store
2023-10-13	13:20:04	3169	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15724.jpg',`file_url_thumb`='bcprisme/image_15724.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14474'
2023-10-13	13:20:04	3169	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:04	3169	[DEBUG]	Executed store
2023-10-13	13:20:04	3169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862661','14474','1')
2023-10-13	13:20:04	3169	[DEBUG]	Store product image relation
2023-10-13	13:20:04	3169	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:04	3169	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862661 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:04	3169	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:04	3169	[DEBUG]	Executed store
2023-10-13	13:20:04	3169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862661','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:04	3169	[DEBUG]	Checking manufacturer
2023-10-13	13:20:04	3169	[DEBUG]	Load a row
2023-10-13	13:20:04	3169	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:04	3169	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:04	3169	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:04	3169	[DEBUG]	Executed store
2023-10-13	13:20:04	3169	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:04	3169	[DEBUG]	Manufacturer exists
2023-10-13	13:20:04	3169	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:20:04	3169	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:04	3169	[DEBUG]	Executed store
2023-10-13	13:20:04	3169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862661','32')
2023-10-13	13:20:04	3169	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:04	3169	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:04	3169	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862661 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:04	3169	[DEBUG]	Store custom available field
2023-10-13	13:20:04	3169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862661,3,'',1)
2023-10-13	13:20:04	3169	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:04	3169	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:04	3169	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862661 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:04	3169	[DEBUG]	Store custom available field
2023-10-13	13:20:04	3169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862661,6,'Unitaire',3)
2023-10-13	13:20:04	3169	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:04	3169	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:04	3169	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862660
2023-10-13	13:20:04	3169	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:04	3169	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862660\":[1862660,8,1,\"choisir la taille\"],\"1862661\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862660
2023-10-13	13:20:04	3169	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:04	3169	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862661
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:04	3170	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field taille
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:04	3170	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:04	3170	[DEBUG]	Use default value for field file_url
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:04	3170	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:04	3170	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:04	3170	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:04	3170	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:04	3170	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field published
2023-10-13	13:20:04	3170	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:04	3170	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field override
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:04	3170	[DEBUG]	Use field value for field slug
2023-10-13	13:20:04	3170	[DEBUG]	Process line 3170
2023-10-13	13:20:04	3170	[DEBUG]	Load a row
2023-10-13	13:20:04	3170	[DEBUG]	Processing item: A_5189_3
2023-10-13	13:20:04	3170	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:04	3170	[DEBUG]	Processing product tax
2023-10-13	13:20:04	3170	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:04	3170	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:04	3170	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:04	3170	[DEBUG]	Query for Product
2023-10-13	13:20:04	3170	[DEBUG]	Executed store
2023-10-13	13:20:04	3170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5189_3','0.1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:04	3170	[DEBUG]	Check product language entry
2023-10-13	13:20:04	3170	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862662
2023-10-13	13:20:04	3170	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:04	3170	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5189_3' AND `virtuemart_product_id` != 1862662
2023-10-13	13:20:04	3170	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:04	3170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862662, 'A_5189_3')
2023-10-13	13:20:04	3170	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:04	3170	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'parktool-kit-de-reparation-tb-2-none' AND `virtuemart_product_id` != 1862662
2023-10-13	13:20:04	3170	[DEBUG]	Query for ProductLang
2023-10-13	13:20:04	3170	[DEBUG]	Executed store
2023-10-13	13:20:04	3170	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='KIT DE REPARATION CHAMBRE-A-AIR FOSS Uniquement compatible avec les chambres-à-air Foss !<br>N° art fourn : 320718',`product_name`='ParkTool KIT DE REPARATION TB-2 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='parktool-kit-de-reparation-tb-2-none' WHERE `virtuemart_product_id` = '1862662'
2023-10-13	13:20:04	3170	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:04	3170	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862662 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:04	3170	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:04	3170	[DEBUG]	Executed store
2023-10-13	13:20:04	3170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862662','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:04	3170	[DEBUG]	Checking manufacturer
2023-10-13	13:20:04	3170	[DEBUG]	Load a row
2023-10-13	13:20:04	3170	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:04	3170	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '124'
2023-10-13	13:20:04	3170	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:04	3170	[DEBUG]	Executed store
2023-10-13	13:20:04	3170	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-471509857656' WHERE `virtuemart_manufacturer_id` = '124'
2023-10-13	13:20:04	3170	[DEBUG]	Manufacturer exists
2023-10-13	13:20:04	3170	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 124
2023-10-13	13:20:04	3170	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:04	3170	[DEBUG]	Executed store
2023-10-13	13:20:04	3170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862662','124')
2023-10-13	13:20:04	3170	[DEBUG]	Find the custom field ID
2023-10-13	13:20:04	3170	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:04	3170	[DEBUG]	No custom field ID found
2023-10-13	13:20:04	3170	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:04	3170	[DEBUG]	Get existing row with customfield value 9.8725
2023-10-13	13:20:04	3170	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862662 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:04	3170	[DEBUG]	Store custom available field
2023-10-13	13:20:04	3170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862662,3,'9.8725',1)
2023-10-13	13:20:04	3170	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:04	3170	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:04	3170	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862662 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:04	3170	[DEBUG]	Store custom available field
2023-10-13	13:20:04	3170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862662,6,'choisir la taille',3)
2023-10-13	13:20:04	3170	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:04	3170	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:04	3170	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:04	3170	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:04	3170	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862662 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:04	3170	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:04	3170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862662,8,1)
2023-10-13	13:20:04	3170	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:04	3170	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862662\":[1862662,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862662
2023-10-13	13:20:04	3170	[DEBUG]	Checking category
2023-10-13	13:20:04	3170	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:04	3170	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862662
2023-10-13	13:20:04	3170	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:04	3170	[DEBUG]	Executed store
2023-10-13	13:20:04	3170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862662','7369')
2023-10-13	13:20:04	3170	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:04	3170	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862662 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:04	3170	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:04	3170	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862662
2023-10-13	13:20:04	3171	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:04	3171	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:04	3171	[DEBUG]	Use field value for field taille
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:04	3171	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:04	3171	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:04	3171	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field file_url
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:04	3171	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:04	3171	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:04	3171	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:04	3171	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:04	3171	[DEBUG]	Use field value for field published
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:04	3171	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field override
2023-10-13	13:20:04	3171	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:04	3171	[DEBUG]	Use field value for field slug
2023-10-13	13:20:04	3171	[DEBUG]	Process line 3171
2023-10-13	13:20:04	3171	[DEBUG]	Load a row
2023-10-13	13:20:04	3171	[DEBUG]	Processing item: 763477007711
2023-10-13	13:20:04	3171	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:04	3171	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:04	3171	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5189_3'
2023-10-13	13:20:04	3171	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:04	3171	[DEBUG]	Processing product tax
2023-10-13	13:20:04	3171	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:04	3171	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:04	3171	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:04	3171	[DEBUG]	Query for Product
2023-10-13	13:20:04	3171	[DEBUG]	Executed store
2023-10-13	13:20:04	3171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862662','763477007711','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:04	3171	[DEBUG]	No parent found
2023-10-13	13:20:04	3171	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862662 AND customfield_value = 'stockable'
2023-10-13	13:20:04	3171	[DEBUG]	Check product language entry
2023-10-13	13:20:04	3171	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862663
2023-10-13	13:20:04	3171	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:04	3171	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '763477007711' AND `virtuemart_product_id` != 1862663
2023-10-13	13:20:04	3171	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:04	3171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862663, '763477007711')
2023-10-13	13:20:04	3171	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:04	3171	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'parktool-kit-de-reparation-tb-2-none-unitaire' AND `virtuemart_product_id` != 1862663
2023-10-13	13:20:04	3171	[DEBUG]	Query for ProductLang
2023-10-13	13:20:04	3171	[DEBUG]	Executed store
2023-10-13	13:20:04	3171	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ParkTool KIT DE REPARATION TB-2 / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='parktool-kit-de-reparation-tb-2-none-unitaire' WHERE `virtuemart_product_id` = '1862663'
2023-10-13	13:20:04	3171	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:04	3171	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862663 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:04	3171	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:04	3171	[DEBUG]	Executed store
2023-10-13	13:20:04	3171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862663','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:04	3171	[DEBUG]	Checking manufacturer
2023-10-13	13:20:04	3171	[DEBUG]	Load a row
2023-10-13	13:20:04	3171	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:04	3171	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '124'
2023-10-13	13:20:04	3171	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:04	3171	[DEBUG]	Executed store
2023-10-13	13:20:04	3171	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-471509857656' WHERE `virtuemart_manufacturer_id` = '124'
2023-10-13	13:20:04	3171	[DEBUG]	Manufacturer exists
2023-10-13	13:20:04	3171	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 124
2023-10-13	13:20:04	3171	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:04	3171	[DEBUG]	Executed store
2023-10-13	13:20:04	3171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862663','124')
2023-10-13	13:20:04	3171	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:04	3171	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:04	3171	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862663 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:04	3171	[DEBUG]	Store custom available field
2023-10-13	13:20:04	3171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862663,3,'',1)
2023-10-13	13:20:04	3171	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:04	3171	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:04	3171	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862663 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:04	3171	[DEBUG]	Store custom available field
2023-10-13	13:20:04	3171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862663,6,'Unitaire',3)
2023-10-13	13:20:04	3171	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:04	3171	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:04	3171	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862662
2023-10-13	13:20:04	3171	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:04	3171	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862662\":[1862662,8,1,\"choisir la taille\"],\"1862663\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862662
2023-10-13	13:20:04	3171	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:04	3171	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862663
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:04	3172	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field taille
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:04	3172	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:04	3172	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:04	3172	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:04	3172	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:04	3172	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:04	3172	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field published
2023-10-13	13:20:04	3172	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:04	3172	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field override
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:04	3172	[DEBUG]	Use field value for field slug
2023-10-13	13:20:04	3172	[DEBUG]	Process line 3172
2023-10-13	13:20:04	3172	[DEBUG]	Load a row
2023-10-13	13:20:04	3172	[DEBUG]	Processing item: A_6398_1
2023-10-13	13:20:04	3172	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:04	3172	[DEBUG]	Processing product tax
2023-10-13	13:20:04	3172	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:04	3172	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:04	3172	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:04	3172	[DEBUG]	Query for Product
2023-10-13	13:20:04	3172	[DEBUG]	Executed store
2023-10-13	13:20:04	3172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6398_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:04	3172	[DEBUG]	Check product language entry
2023-10-13	13:20:04	3172	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862664
2023-10-13	13:20:04	3172	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:04	3172	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6398_1' AND `virtuemart_product_id` != 1862664
2023-10-13	13:20:04	3172	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:04	3172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862664, 'A_6398_1')
2023-10-13	13:20:04	3172	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:04	3172	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-lever-internal-gen-2-guide-r-re-db5-code-r-noir' AND `virtuemart_product_id` != 1862664
2023-10-13	13:20:04	3172	[DEBUG]	Query for ProductLang
2023-10-13	13:20:04	3172	[DEBUG]	Executed store
2023-10-13	13:20:04	3172	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11.5018.005.008',`product_name`='SRAM Lever internal Gen 2 Guide R/RE/DB5/Code R / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-lever-internal-gen-2-guide-r-re-db5-code-r-noir' WHERE `virtuemart_product_id` = '1862664'
2023-10-13	13:20:04	3172	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32283_lever_internal_gen_2_guide_r-re-db5-code_r.jpg
2023-10-13	13:20:04	3172	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:04	3172	[DEBUG]	Process image file
2023-10-13	13:20:04	3172	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:04	3172	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:04	3172	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32283_lever_internal_gen_2_guide_r-re-db5-code_r.jpg
2023-10-13	13:20:04	3172	[DEBUG]	Full name target: bcprisme/32283_lever_internal_gen_2_guide_r-re-db5-code_r.jpg
2023-10-13	13:20:05	3172	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:05	3172	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32283_lever_internal_gen_2_guide_r-re-db5-code_r.jpg'
2023-10-13	13:20:05	3172	[DEBUG]	Query for Media
2023-10-13	13:20:05	3172	[DEBUG]	Executed store
2023-10-13	13:20:05	3172	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32283_lever_internal_gen_2_guide_r-re-db5-code_r.jpg',`file_url_thumb`='bcprisme/32283_lever_internal_gen_2_guide_r-re-db5-code_r.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15290'
2023-10-13	13:20:05	3172	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:05	3172	[DEBUG]	Executed store
2023-10-13	13:20:05	3172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862664','15290','1')
2023-10-13	13:20:05	3172	[DEBUG]	Store product image relation
2023-10-13	13:20:05	3172	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:05	3172	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862664 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:05	3172	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:05	3172	[DEBUG]	Executed store
2023-10-13	13:20:05	3172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862664','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:05	3172	[DEBUG]	Checking manufacturer
2023-10-13	13:20:05	3172	[DEBUG]	Load a row
2023-10-13	13:20:05	3172	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:05	3172	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:20:05	3172	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:05	3172	[DEBUG]	Executed store
2023-10-13	13:20:05	3172	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:20:05	3172	[DEBUG]	Manufacturer exists
2023-10-13	13:20:05	3172	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:20:05	3172	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:05	3172	[DEBUG]	Executed store
2023-10-13	13:20:05	3172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862664','35')
2023-10-13	13:20:05	3172	[DEBUG]	Find the custom field ID
2023-10-13	13:20:05	3172	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:05	3172	[DEBUG]	No custom field ID found
2023-10-13	13:20:05	3172	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:05	3172	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:20:05	3172	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862664 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:05	3172	[DEBUG]	Store custom available field
2023-10-13	13:20:05	3172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862664,3,'0',1)
2023-10-13	13:20:05	3172	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:05	3172	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:05	3172	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862664 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:05	3172	[DEBUG]	Store custom available field
2023-10-13	13:20:05	3172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862664,6,'choisir la taille',3)
2023-10-13	13:20:05	3172	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:05	3172	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:05	3172	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:05	3172	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:05	3172	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862664 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:05	3172	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:05	3172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862664,8,1)
2023-10-13	13:20:05	3172	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:05	3172	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862664\":[1862664,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862664
2023-10-13	13:20:05	3172	[DEBUG]	Checking category
2023-10-13	13:20:05	3172	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:05	3172	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862664
2023-10-13	13:20:05	3172	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:05	3172	[DEBUG]	Executed store
2023-10-13	13:20:05	3172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862664','7369')
2023-10-13	13:20:05	3172	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:05	3172	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862664 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:05	3172	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:05	3172	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862664
2023-10-13	13:20:05	3173	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:05	3173	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:05	3173	[DEBUG]	Use field value for field taille
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:05	3173	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:05	3173	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:05	3173	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:05	3173	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:05	3173	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:05	3173	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:05	3173	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:05	3173	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:05	3173	[DEBUG]	Use field value for field published
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:05	3173	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field override
2023-10-13	13:20:05	3173	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:05	3173	[DEBUG]	Use field value for field slug
2023-10-13	13:20:05	3173	[DEBUG]	Process line 3173
2023-10-13	13:20:05	3173	[DEBUG]	Load a row
2023-10-13	13:20:05	3173	[DEBUG]	Processing item: 710845809293
2023-10-13	13:20:05	3173	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:05	3173	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:05	3173	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6398_1'
2023-10-13	13:20:05	3173	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:05	3173	[DEBUG]	Processing product tax
2023-10-13	13:20:05	3173	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:05	3173	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:05	3173	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:05	3173	[DEBUG]	Query for Product
2023-10-13	13:20:05	3173	[DEBUG]	Executed store
2023-10-13	13:20:05	3173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862664','710845809293','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:05	3173	[DEBUG]	No parent found
2023-10-13	13:20:05	3173	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862664 AND customfield_value = 'stockable'
2023-10-13	13:20:05	3173	[DEBUG]	Check product language entry
2023-10-13	13:20:05	3173	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862665
2023-10-13	13:20:05	3173	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:05	3173	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845809293' AND `virtuemart_product_id` != 1862665
2023-10-13	13:20:05	3173	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:05	3173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862665, '710845809293')
2023-10-13	13:20:05	3173	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:05	3173	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-lever-internal-gen-2-guide-r-re-db5-code-r-noir-unitaire' AND `virtuemart_product_id` != 1862665
2023-10-13	13:20:05	3173	[DEBUG]	Query for ProductLang
2023-10-13	13:20:05	3173	[DEBUG]	Executed store
2023-10-13	13:20:05	3173	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Lever internal Gen 2 Guide R/RE/DB5/Code R / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-lever-internal-gen-2-guide-r-re-db5-code-r-noir-unitaire' WHERE `virtuemart_product_id` = '1862665'
2023-10-13	13:20:05	3173	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32283_lever_internal_gen_2_guide_r-re-db5-code_r.jpg
2023-10-13	13:20:05	3173	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:05	3173	[DEBUG]	Process image file
2023-10-13	13:20:05	3173	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:05	3173	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:05	3173	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32283_lever_internal_gen_2_guide_r-re-db5-code_r.jpg
2023-10-13	13:20:05	3173	[DEBUG]	Full name target: bcprisme/32283_lever_internal_gen_2_guide_r-re-db5-code_r.jpg
2023-10-13	13:20:06	3173	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:06	3173	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32283_lever_internal_gen_2_guide_r-re-db5-code_r.jpg'
2023-10-13	13:20:06	3173	[DEBUG]	Query for Media
2023-10-13	13:20:06	3173	[DEBUG]	Executed store
2023-10-13	13:20:06	3173	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32283_lever_internal_gen_2_guide_r-re-db5-code_r.jpg',`file_url_thumb`='bcprisme/32283_lever_internal_gen_2_guide_r-re-db5-code_r.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15290'
2023-10-13	13:20:06	3173	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:06	3173	[DEBUG]	Executed store
2023-10-13	13:20:06	3173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862665','15290','1')
2023-10-13	13:20:06	3173	[DEBUG]	Store product image relation
2023-10-13	13:20:06	3173	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:06	3173	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862665 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:06	3173	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:06	3173	[DEBUG]	Executed store
2023-10-13	13:20:06	3173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862665','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:06	3173	[DEBUG]	Checking manufacturer
2023-10-13	13:20:06	3173	[DEBUG]	Load a row
2023-10-13	13:20:06	3173	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:06	3173	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:20:06	3173	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:06	3173	[DEBUG]	Executed store
2023-10-13	13:20:06	3173	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:20:06	3173	[DEBUG]	Manufacturer exists
2023-10-13	13:20:06	3173	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:20:06	3173	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:06	3173	[DEBUG]	Executed store
2023-10-13	13:20:06	3173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862665','35')
2023-10-13	13:20:06	3173	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:06	3173	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:06	3173	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862665 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:06	3173	[DEBUG]	Store custom available field
2023-10-13	13:20:06	3173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862665,3,'',1)
2023-10-13	13:20:06	3173	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:06	3173	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:06	3173	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862665 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:06	3173	[DEBUG]	Store custom available field
2023-10-13	13:20:06	3173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862665,6,'Unitaire',3)
2023-10-13	13:20:06	3173	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:06	3173	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:06	3173	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862664
2023-10-13	13:20:06	3173	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:06	3173	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862664\":[1862664,8,1,\"choisir la taille\"],\"1862665\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862664
2023-10-13	13:20:06	3173	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:06	3173	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862665
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:06	3174	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field taille
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:06	3174	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:06	3174	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:06	3174	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:06	3174	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:06	3174	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:06	3174	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field published
2023-10-13	13:20:06	3174	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:06	3174	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field override
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:06	3174	[DEBUG]	Use field value for field slug
2023-10-13	13:20:06	3174	[DEBUG]	Process line 3174
2023-10-13	13:20:06	3174	[DEBUG]	Load a row
2023-10-13	13:20:06	3174	[DEBUG]	Processing item: A_6781_0
2023-10-13	13:20:06	3174	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:06	3174	[DEBUG]	Processing product tax
2023-10-13	13:20:06	3174	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:06	3174	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:06	3174	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:06	3174	[DEBUG]	Query for Product
2023-10-13	13:20:06	3174	[DEBUG]	Executed store
2023-10-13	13:20:06	3174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6781_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:06	3174	[DEBUG]	Check product language entry
2023-10-13	13:20:06	3174	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862666
2023-10-13	13:20:06	3174	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:06	3174	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6781_0' AND `virtuemart_product_id` != 1862666
2023-10-13	13:20:06	3174	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:06	3174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862666, 'A_6781_0')
2023-10-13	13:20:06	3174	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:06	3174	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bbb-lever-internals-gen-2-guide-r-re-db5-code-r-unique' AND `virtuemart_product_id` != 1862666
2023-10-13	13:20:06	3174	[DEBUG]	Query for ProductLang
2023-10-13	13:20:06	3174	[DEBUG]	Executed store
2023-10-13	13:20:06	3174	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : DS1750D',`product_name`='BBB Lever Internals Gen 2 Guide R/RE/DB5/Code R / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bbb-lever-internals-gen-2-guide-r-re-db5-code-r-unique' WHERE `virtuemart_product_id` = '1862666'
2023-10-13	13:20:06	3174	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33018_lever_internals_gen_2_guide_r-re-db5-code_r.jpg
2023-10-13	13:20:06	3174	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:06	3174	[DEBUG]	Process image file
2023-10-13	13:20:06	3174	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:06	3174	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:06	3174	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33018_lever_internals_gen_2_guide_r-re-db5-code_r.jpg
2023-10-13	13:20:06	3174	[DEBUG]	Full name target: bcprisme/33018_lever_internals_gen_2_guide_r-re-db5-code_r.jpg
2023-10-13	13:20:07	3174	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:07	3174	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33018_lever_internals_gen_2_guide_r-re-db5-code_r.jpg'
2023-10-13	13:20:07	3174	[DEBUG]	Query for Media
2023-10-13	13:20:07	3174	[DEBUG]	Executed store
2023-10-13	13:20:07	3174	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33018_lever_internals_gen_2_guide_r-re-db5-code_r.jpg',`file_url_thumb`='bcprisme/33018_lever_internals_gen_2_guide_r-re-db5-code_r.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15289'
2023-10-13	13:20:07	3174	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:07	3174	[DEBUG]	Executed store
2023-10-13	13:20:07	3174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862666','15289','1')
2023-10-13	13:20:07	3174	[DEBUG]	Store product image relation
2023-10-13	13:20:07	3174	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:07	3174	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862666 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:07	3174	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:07	3174	[DEBUG]	Executed store
2023-10-13	13:20:07	3174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862666','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:07	3174	[DEBUG]	Checking manufacturer
2023-10-13	13:20:07	3174	[DEBUG]	Load a row
2023-10-13	13:20:07	3174	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:07	3174	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '191'
2023-10-13	13:20:07	3174	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:07	3174	[DEBUG]	Executed store
2023-10-13	13:20:07	3174	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-442047189881' WHERE `virtuemart_manufacturer_id` = '191'
2023-10-13	13:20:07	3174	[DEBUG]	Manufacturer exists
2023-10-13	13:20:07	3174	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 191
2023-10-13	13:20:07	3174	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:07	3174	[DEBUG]	Executed store
2023-10-13	13:20:07	3174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862666','191')
2023-10-13	13:20:07	3174	[DEBUG]	Find the custom field ID
2023-10-13	13:20:07	3174	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:07	3174	[DEBUG]	No custom field ID found
2023-10-13	13:20:07	3174	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:07	3174	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:20:07	3174	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862666 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:07	3174	[DEBUG]	Store custom available field
2023-10-13	13:20:07	3174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862666,3,'0',1)
2023-10-13	13:20:07	3174	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:08	3174	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:08	3174	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862666 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:08	3174	[DEBUG]	Store custom available field
2023-10-13	13:20:08	3174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862666,6,'choisir la taille',3)
2023-10-13	13:20:08	3174	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:08	3174	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:08	3174	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:08	3174	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:08	3174	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862666 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:08	3174	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:08	3174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862666,8,1)
2023-10-13	13:20:08	3174	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:08	3174	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862666\":[1862666,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862666
2023-10-13	13:20:08	3174	[DEBUG]	Checking category
2023-10-13	13:20:08	3174	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:08	3174	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862666
2023-10-13	13:20:08	3174	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:08	3174	[DEBUG]	Executed store
2023-10-13	13:20:08	3174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862666','7369')
2023-10-13	13:20:08	3174	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:08	3174	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862666 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:08	3174	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:08	3174	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862666
2023-10-13	13:20:08	3175	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:08	3175	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:08	3175	[DEBUG]	Use field value for field taille
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:08	3175	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:08	3175	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:08	3175	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:08	3175	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:08	3175	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:08	3175	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:08	3175	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:08	3175	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:08	3175	[DEBUG]	Use field value for field published
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:08	3175	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field override
2023-10-13	13:20:08	3175	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:08	3175	[DEBUG]	Use field value for field slug
2023-10-13	13:20:08	3175	[DEBUG]	Process line 3175
2023-10-13	13:20:08	3175	[DEBUG]	Load a row
2023-10-13	13:20:08	3175	[DEBUG]	Processing item: 1000000109474
2023-10-13	13:20:08	3175	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:08	3175	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:08	3175	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6781_0'
2023-10-13	13:20:08	3175	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:08	3175	[DEBUG]	Processing product tax
2023-10-13	13:20:08	3175	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:08	3175	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:08	3175	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:08	3175	[DEBUG]	Query for Product
2023-10-13	13:20:08	3175	[DEBUG]	Executed store
2023-10-13	13:20:08	3175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862666','1000000109474','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:08	3175	[DEBUG]	No parent found
2023-10-13	13:20:08	3175	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862666 AND customfield_value = 'stockable'
2023-10-13	13:20:08	3175	[DEBUG]	Check product language entry
2023-10-13	13:20:08	3175	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862667
2023-10-13	13:20:08	3175	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:08	3175	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000109474' AND `virtuemart_product_id` != 1862667
2023-10-13	13:20:08	3175	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:08	3175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862667, '1000000109474')
2023-10-13	13:20:08	3175	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:08	3175	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bbb-lever-internals-gen-2-guide-r-re-db5-code-r-unique-unitaire' AND `virtuemart_product_id` != 1862667
2023-10-13	13:20:08	3175	[DEBUG]	Query for ProductLang
2023-10-13	13:20:08	3175	[DEBUG]	Executed store
2023-10-13	13:20:08	3175	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BBB Lever Internals Gen 2 Guide R/RE/DB5/Code R / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bbb-lever-internals-gen-2-guide-r-re-db5-code-r-unique-unitaire' WHERE `virtuemart_product_id` = '1862667'
2023-10-13	13:20:08	3175	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33018_lever_internals_gen_2_guide_r-re-db5-code_r.jpg
2023-10-13	13:20:08	3175	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:08	3175	[DEBUG]	Process image file
2023-10-13	13:20:08	3175	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:08	3175	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:08	3175	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33018_lever_internals_gen_2_guide_r-re-db5-code_r.jpg
2023-10-13	13:20:08	3175	[DEBUG]	Full name target: bcprisme/33018_lever_internals_gen_2_guide_r-re-db5-code_r.jpg
2023-10-13	13:20:09	3175	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:09	3175	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33018_lever_internals_gen_2_guide_r-re-db5-code_r.jpg'
2023-10-13	13:20:09	3175	[DEBUG]	Query for Media
2023-10-13	13:20:09	3175	[DEBUG]	Executed store
2023-10-13	13:20:09	3175	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33018_lever_internals_gen_2_guide_r-re-db5-code_r.jpg',`file_url_thumb`='bcprisme/33018_lever_internals_gen_2_guide_r-re-db5-code_r.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15289'
2023-10-13	13:20:09	3175	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:09	3175	[DEBUG]	Executed store
2023-10-13	13:20:09	3175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862667','15289','1')
2023-10-13	13:20:09	3175	[DEBUG]	Store product image relation
2023-10-13	13:20:09	3175	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:09	3175	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862667 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:09	3175	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:09	3175	[DEBUG]	Executed store
2023-10-13	13:20:09	3175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862667','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:09	3175	[DEBUG]	Checking manufacturer
2023-10-13	13:20:09	3175	[DEBUG]	Load a row
2023-10-13	13:20:09	3175	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:09	3175	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '191'
2023-10-13	13:20:09	3175	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:09	3175	[DEBUG]	Executed store
2023-10-13	13:20:09	3175	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-442047189881' WHERE `virtuemart_manufacturer_id` = '191'
2023-10-13	13:20:09	3175	[DEBUG]	Manufacturer exists
2023-10-13	13:20:09	3175	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 191
2023-10-13	13:20:09	3175	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:09	3175	[DEBUG]	Executed store
2023-10-13	13:20:09	3175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862667','191')
2023-10-13	13:20:09	3175	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:09	3175	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:09	3175	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862667 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:09	3175	[DEBUG]	Store custom available field
2023-10-13	13:20:09	3175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862667,3,'',1)
2023-10-13	13:20:09	3175	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:09	3175	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:09	3175	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862667 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:09	3175	[DEBUG]	Store custom available field
2023-10-13	13:20:09	3175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862667,6,'Unitaire',3)
2023-10-13	13:20:09	3175	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:09	3175	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:09	3175	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862666
2023-10-13	13:20:09	3175	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:09	3175	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862666\":[1862666,8,1,\"choisir la taille\"],\"1862667\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862666
2023-10-13	13:20:09	3175	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:09	3175	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862667
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:09	3176	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field taille
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:09	3176	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:09	3176	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:09	3176	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:09	3176	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:09	3176	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:09	3176	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field published
2023-10-13	13:20:09	3176	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:09	3176	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field override
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:09	3176	[DEBUG]	Use field value for field slug
2023-10-13	13:20:09	3176	[DEBUG]	Process line 3176
2023-10-13	13:20:09	3176	[DEBUG]	Load a row
2023-10-13	13:20:09	3176	[DEBUG]	Processing item: A_7506_1
2023-10-13	13:20:09	3176	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:09	3176	[DEBUG]	Processing product tax
2023-10-13	13:20:09	3176	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:09	3176	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:09	3176	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:09	3176	[DEBUG]	Query for Product
2023-10-13	13:20:09	3176	[DEBUG]	Executed store
2023-10-13	13:20:09	3176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7506_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:09	3176	[DEBUG]	Check product language entry
2023-10-13	13:20:09	3176	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862668
2023-10-13	13:20:09	3176	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:09	3176	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7506_1' AND `virtuemart_product_id` != 1862668
2023-10-13	13:20:09	3176	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:09	3176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862668, 'A_7506_1')
2023-10-13	13:20:09	3176	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:09	3176	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bbb-lever-internals-gen-2-guide-rsc-ultimate-code-rsc-noir' AND `virtuemart_product_id` != 1862668
2023-10-13	13:20:09	3176	[DEBUG]	Query for ProductLang
2023-10-13	13:20:09	3176	[DEBUG]	Executed store
2023-10-13	13:20:09	3176	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : DS1750F',`product_name`='BBB Lever Internals Gen 2 Guide RSC / Ultimate / Code RSC / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bbb-lever-internals-gen-2-guide-rsc-ultimate-code-rsc-noir' WHERE `virtuemart_product_id` = '1862668'
2023-10-13	13:20:09	3176	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34901_lever_internals_gen_2_guide_rsc_-_ultimate_-_code_rsc.jpg
2023-10-13	13:20:09	3176	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:09	3176	[DEBUG]	Process image file
2023-10-13	13:20:09	3176	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:09	3176	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:09	3176	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34901_lever_internals_gen_2_guide_rsc_-_ultimate_-_code_rsc.jpg
2023-10-13	13:20:09	3176	[DEBUG]	Full name target: bcprisme/34901_lever_internals_gen_2_guide_rsc_-_ultimate_-_code_rsc.jpg
2023-10-13	13:20:10	3176	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:10	3176	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34901_lever_internals_gen_2_guide_rsc_-_ultimate_-_code_rsc.jpg'
2023-10-13	13:20:10	3176	[DEBUG]	Query for Media
2023-10-13	13:20:10	3176	[DEBUG]	Executed store
2023-10-13	13:20:10	3176	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34901_lever_internals_gen_2_guide_rsc_-_ultimate_-_code_rsc.jpg',`file_url_thumb`='bcprisme/34901_lever_internals_gen_2_guide_rsc_-_ultimate_-_code_rsc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265756'
2023-10-13	13:20:10	3176	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:10	3176	[DEBUG]	Executed store
2023-10-13	13:20:10	3176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862668','265756','1')
2023-10-13	13:20:10	3176	[DEBUG]	Store product image relation
2023-10-13	13:20:10	3176	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:10	3176	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862668 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:10	3176	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:10	3176	[DEBUG]	Executed store
2023-10-13	13:20:10	3176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862668','0','46.8895078922934','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:10	3176	[DEBUG]	Checking manufacturer
2023-10-13	13:20:10	3176	[DEBUG]	Load a row
2023-10-13	13:20:10	3176	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:10	3176	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '191'
2023-10-13	13:20:10	3176	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:10	3176	[DEBUG]	Executed store
2023-10-13	13:20:10	3176	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-442047189881' WHERE `virtuemart_manufacturer_id` = '191'
2023-10-13	13:20:10	3176	[DEBUG]	Manufacturer exists
2023-10-13	13:20:10	3176	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 191
2023-10-13	13:20:10	3176	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:10	3176	[DEBUG]	Executed store
2023-10-13	13:20:10	3176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862668','191')
2023-10-13	13:20:10	3176	[DEBUG]	Find the custom field ID
2023-10-13	13:20:10	3176	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:10	3176	[DEBUG]	No custom field ID found
2023-10-13	13:20:10	3176	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:10	3176	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:20:10	3176	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862668 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:10	3176	[DEBUG]	Store custom available field
2023-10-13	13:20:10	3176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862668,3,'0',1)
2023-10-13	13:20:10	3176	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:10	3176	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:10	3176	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862668 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:10	3176	[DEBUG]	Store custom available field
2023-10-13	13:20:10	3176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862668,6,'choisir la taille',3)
2023-10-13	13:20:10	3176	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:10	3176	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:10	3176	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:10	3176	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:10	3176	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862668 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:10	3176	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:10	3176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862668,8,1)
2023-10-13	13:20:10	3176	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:10	3176	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862668\":[1862668,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862668
2023-10-13	13:20:10	3176	[DEBUG]	Checking category
2023-10-13	13:20:10	3176	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:10	3176	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862668
2023-10-13	13:20:10	3176	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:10	3176	[DEBUG]	Executed store
2023-10-13	13:20:10	3176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862668','7369')
2023-10-13	13:20:10	3176	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:10	3176	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862668 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:10	3176	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:10	3176	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862668
2023-10-13	13:20:10	3177	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:10	3177	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:10	3177	[DEBUG]	Use field value for field taille
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:10	3177	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:10	3177	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:10	3177	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:10	3177	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:10	3177	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:10	3177	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:10	3177	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:10	3177	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:10	3177	[DEBUG]	Use field value for field published
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:10	3177	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field override
2023-10-13	13:20:10	3177	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:10	3177	[DEBUG]	Use field value for field slug
2023-10-13	13:20:10	3177	[DEBUG]	Process line 3177
2023-10-13	13:20:10	3177	[DEBUG]	Load a row
2023-10-13	13:20:10	3177	[DEBUG]	Processing item: 710845809316
2023-10-13	13:20:10	3177	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:10	3177	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:10	3177	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7506_1'
2023-10-13	13:20:10	3177	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:10	3177	[DEBUG]	Processing product tax
2023-10-13	13:20:10	3177	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:10	3177	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:10	3177	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:10	3177	[DEBUG]	Query for Product
2023-10-13	13:20:10	3177	[DEBUG]	Executed store
2023-10-13	13:20:10	3177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862668','710845809316','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:10	3177	[DEBUG]	No parent found
2023-10-13	13:20:10	3177	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862668 AND customfield_value = 'stockable'
2023-10-13	13:20:10	3177	[DEBUG]	Check product language entry
2023-10-13	13:20:10	3177	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862669
2023-10-13	13:20:10	3177	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:10	3177	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845809316' AND `virtuemart_product_id` != 1862669
2023-10-13	13:20:10	3177	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:10	3177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862669, '710845809316')
2023-10-13	13:20:10	3177	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:10	3177	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bbb-lever-internals-gen-2-guide-rsc-ultimate-code-rsc-noir-unitaire' AND `virtuemart_product_id` != 1862669
2023-10-13	13:20:10	3177	[DEBUG]	Query for ProductLang
2023-10-13	13:20:10	3177	[DEBUG]	Executed store
2023-10-13	13:20:10	3177	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BBB Lever Internals Gen 2 Guide RSC / Ultimate / Code RSC / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bbb-lever-internals-gen-2-guide-rsc-ultimate-code-rsc-noir-unitaire' WHERE `virtuemart_product_id` = '1862669'
2023-10-13	13:20:10	3177	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34901_lever_internals_gen_2_guide_rsc_-_ultimate_-_code_rsc.jpg
2023-10-13	13:20:10	3177	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:10	3177	[DEBUG]	Process image file
2023-10-13	13:20:10	3177	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:10	3177	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:10	3177	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34901_lever_internals_gen_2_guide_rsc_-_ultimate_-_code_rsc.jpg
2023-10-13	13:20:10	3177	[DEBUG]	Full name target: bcprisme/34901_lever_internals_gen_2_guide_rsc_-_ultimate_-_code_rsc.jpg
2023-10-13	13:20:11	3177	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:11	3177	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34901_lever_internals_gen_2_guide_rsc_-_ultimate_-_code_rsc.jpg'
2023-10-13	13:20:11	3177	[DEBUG]	Query for Media
2023-10-13	13:20:11	3177	[DEBUG]	Executed store
2023-10-13	13:20:11	3177	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34901_lever_internals_gen_2_guide_rsc_-_ultimate_-_code_rsc.jpg',`file_url_thumb`='bcprisme/34901_lever_internals_gen_2_guide_rsc_-_ultimate_-_code_rsc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '265756'
2023-10-13	13:20:11	3177	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:11	3177	[DEBUG]	Executed store
2023-10-13	13:20:11	3177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862669','265756','1')
2023-10-13	13:20:11	3177	[DEBUG]	Store product image relation
2023-10-13	13:20:11	3177	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:11	3177	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862669 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:11	3177	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:11	3177	[DEBUG]	Executed store
2023-10-13	13:20:11	3177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862669','0','46.8895078922934','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:11	3177	[DEBUG]	Checking manufacturer
2023-10-13	13:20:11	3177	[DEBUG]	Load a row
2023-10-13	13:20:11	3177	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:11	3177	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '191'
2023-10-13	13:20:11	3177	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:11	3177	[DEBUG]	Executed store
2023-10-13	13:20:11	3177	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-442047189881' WHERE `virtuemart_manufacturer_id` = '191'
2023-10-13	13:20:11	3177	[DEBUG]	Manufacturer exists
2023-10-13	13:20:11	3177	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 191
2023-10-13	13:20:11	3177	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:11	3177	[DEBUG]	Executed store
2023-10-13	13:20:11	3177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862669','191')
2023-10-13	13:20:11	3177	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:11	3177	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:11	3177	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862669 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:11	3177	[DEBUG]	Store custom available field
2023-10-13	13:20:11	3177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862669,3,'',1)
2023-10-13	13:20:11	3177	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:11	3177	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:11	3177	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862669 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:11	3177	[DEBUG]	Store custom available field
2023-10-13	13:20:11	3177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862669,6,'Unitaire',3)
2023-10-13	13:20:11	3177	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:11	3177	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:11	3177	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862668
2023-10-13	13:20:11	3177	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:11	3177	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862668\":[1862668,8,1,\"choisir la taille\"],\"1862669\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862668
2023-10-13	13:20:11	3177	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:11	3177	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862669
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:11	3178	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field taille
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:11	3178	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:11	3178	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:11	3178	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:11	3178	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:11	3178	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:11	3178	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field published
2023-10-13	13:20:11	3178	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:11	3178	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field override
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:11	3178	[DEBUG]	Use field value for field slug
2023-10-13	13:20:11	3178	[DEBUG]	Process line 3178
2023-10-13	13:20:11	3178	[DEBUG]	Load a row
2023-10-13	13:20:11	3178	[DEBUG]	Processing item: A_7515_1
2023-10-13	13:20:11	3178	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:11	3178	[DEBUG]	Processing product tax
2023-10-13	13:20:11	3178	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:11	3178	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:11	3178	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:11	3178	[DEBUG]	Query for Product
2023-10-13	13:20:11	3178	[DEBUG]	Executed store
2023-10-13	13:20:11	3178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7515_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:11	3178	[DEBUG]	Check product language entry
2023-10-13	13:20:11	3178	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862670
2023-10-13	13:20:11	3178	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:11	3178	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7515_1' AND `virtuemart_product_id` != 1862670
2023-10-13	13:20:11	3178	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:11	3178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862670, 'A_7515_1')
2023-10-13	13:20:11	3178	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:11	3178	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-kit-reparation-topeak-noir' AND `virtuemart_product_id` != 1862670
2023-10-13	13:20:11	3178	[DEBUG]	Query for ProductLang
2023-10-13	13:20:11	3178	[DEBUG]	Executed store
2023-10-13	13:20:11	3178	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 910.001.042',`product_name`='Topeak Kit réparation TOPEAK / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-kit-reparation-topeak-noir' WHERE `virtuemart_product_id` = '1862670'
2023-10-13	13:20:11	3178	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34914_kit_reparation_topeak.jpg
2023-10-13	13:20:11	3178	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:11	3178	[DEBUG]	Process image file
2023-10-13	13:20:11	3178	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:11	3178	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:11	3178	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34914_kit_reparation_topeak.jpg
2023-10-13	13:20:11	3178	[DEBUG]	Full name target: bcprisme/34914_kit_reparation_topeak.jpg
2023-10-13	13:20:12	3178	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:12	3178	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34914_kit_reparation_topeak.jpg'
2023-10-13	13:20:12	3178	[DEBUG]	Query for Media
2023-10-13	13:20:12	3178	[DEBUG]	Executed store
2023-10-13	13:20:12	3178	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34914_kit_reparation_topeak.jpg',`file_url_thumb`='bcprisme/34914_kit_reparation_topeak.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '269089'
2023-10-13	13:20:12	3178	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:12	3178	[DEBUG]	Executed store
2023-10-13	13:20:12	3178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862670','269089','1')
2023-10-13	13:20:12	3178	[DEBUG]	Store product image relation
2023-10-13	13:20:12	3178	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:12	3178	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862670 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:12	3178	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:12	3178	[DEBUG]	Executed store
2023-10-13	13:20:12	3178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862670','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:12	3178	[DEBUG]	Checking manufacturer
2023-10-13	13:20:12	3178	[DEBUG]	Load a row
2023-10-13	13:20:12	3178	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:12	3178	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:20:12	3178	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:12	3178	[DEBUG]	Executed store
2023-10-13	13:20:12	3178	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:20:12	3178	[DEBUG]	Manufacturer exists
2023-10-13	13:20:12	3178	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:20:12	3178	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:12	3178	[DEBUG]	Executed store
2023-10-13	13:20:12	3178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862670','149')
2023-10-13	13:20:12	3178	[DEBUG]	Find the custom field ID
2023-10-13	13:20:12	3178	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:12	3178	[DEBUG]	No custom field ID found
2023-10-13	13:20:12	3178	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:12	3178	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:20:12	3178	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862670 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:12	3178	[DEBUG]	Store custom available field
2023-10-13	13:20:12	3178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862670,3,'0',1)
2023-10-13	13:20:12	3178	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:12	3178	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:12	3178	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862670 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:12	3178	[DEBUG]	Store custom available field
2023-10-13	13:20:12	3178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862670,6,'choisir la taille',3)
2023-10-13	13:20:12	3178	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:12	3178	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:12	3178	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:12	3178	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:12	3178	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862670 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:12	3178	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:12	3178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862670,8,1)
2023-10-13	13:20:12	3178	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:12	3178	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862670\":[1862670,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862670
2023-10-13	13:20:12	3178	[DEBUG]	Checking category
2023-10-13	13:20:12	3178	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:12	3178	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862670
2023-10-13	13:20:12	3178	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:12	3178	[DEBUG]	Executed store
2023-10-13	13:20:12	3178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862670','7369')
2023-10-13	13:20:12	3178	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:12	3178	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862670 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:12	3178	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:12	3178	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862670
2023-10-13	13:20:12	3179	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:12	3179	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:12	3179	[DEBUG]	Use field value for field taille
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:12	3179	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:12	3179	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:12	3179	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:12	3179	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:12	3179	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:12	3179	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:12	3179	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:12	3179	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:12	3179	[DEBUG]	Use field value for field published
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:12	3179	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field override
2023-10-13	13:20:12	3179	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:12	3179	[DEBUG]	Use field value for field slug
2023-10-13	13:20:12	3179	[DEBUG]	Process line 3179
2023-10-13	13:20:12	3179	[DEBUG]	Load a row
2023-10-13	13:20:12	3179	[DEBUG]	Processing item: 883466019492
2023-10-13	13:20:12	3179	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:12	3179	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:12	3179	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7515_1'
2023-10-13	13:20:12	3179	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:12	3179	[DEBUG]	Processing product tax
2023-10-13	13:20:12	3179	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:12	3179	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:12	3179	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:12	3179	[DEBUG]	Query for Product
2023-10-13	13:20:12	3179	[DEBUG]	Executed store
2023-10-13	13:20:12	3179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862670','883466019492','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:12	3179	[DEBUG]	No parent found
2023-10-13	13:20:12	3179	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862670 AND customfield_value = 'stockable'
2023-10-13	13:20:12	3179	[DEBUG]	Check product language entry
2023-10-13	13:20:12	3179	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862671
2023-10-13	13:20:12	3179	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:12	3179	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '883466019492' AND `virtuemart_product_id` != 1862671
2023-10-13	13:20:12	3179	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:12	3179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862671, '883466019492')
2023-10-13	13:20:12	3179	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:12	3179	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-kit-reparation-topeak-noir-unitaire' AND `virtuemart_product_id` != 1862671
2023-10-13	13:20:12	3179	[DEBUG]	Query for ProductLang
2023-10-13	13:20:12	3179	[DEBUG]	Executed store
2023-10-13	13:20:12	3179	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Topeak Kit réparation TOPEAK / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-kit-reparation-topeak-noir-unitaire' WHERE `virtuemart_product_id` = '1862671'
2023-10-13	13:20:12	3179	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34914_kit_reparation_topeak.jpg
2023-10-13	13:20:12	3179	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:12	3179	[DEBUG]	Process image file
2023-10-13	13:20:12	3179	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:12	3179	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:12	3179	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34914_kit_reparation_topeak.jpg
2023-10-13	13:20:12	3179	[DEBUG]	Full name target: bcprisme/34914_kit_reparation_topeak.jpg
2023-10-13	13:20:13	3179	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:13	3179	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34914_kit_reparation_topeak.jpg'
2023-10-13	13:20:13	3179	[DEBUG]	Query for Media
2023-10-13	13:20:13	3179	[DEBUG]	Executed store
2023-10-13	13:20:13	3179	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34914_kit_reparation_topeak.jpg',`file_url_thumb`='bcprisme/34914_kit_reparation_topeak.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '269089'
2023-10-13	13:20:13	3179	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:13	3179	[DEBUG]	Executed store
2023-10-13	13:20:13	3179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862671','269089','1')
2023-10-13	13:20:13	3179	[DEBUG]	Store product image relation
2023-10-13	13:20:13	3179	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:13	3179	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862671 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:13	3179	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:13	3179	[DEBUG]	Executed store
2023-10-13	13:20:13	3179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862671','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:13	3179	[DEBUG]	Checking manufacturer
2023-10-13	13:20:13	3179	[DEBUG]	Load a row
2023-10-13	13:20:13	3179	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:13	3179	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:20:13	3179	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:13	3179	[DEBUG]	Executed store
2023-10-13	13:20:13	3179	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:20:13	3179	[DEBUG]	Manufacturer exists
2023-10-13	13:20:13	3179	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:20:13	3179	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:13	3179	[DEBUG]	Executed store
2023-10-13	13:20:13	3179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862671','149')
2023-10-13	13:20:13	3179	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:13	3179	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:13	3179	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862671 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:13	3179	[DEBUG]	Store custom available field
2023-10-13	13:20:13	3179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862671,3,'',1)
2023-10-13	13:20:13	3179	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:13	3179	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:13	3179	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862671 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:13	3179	[DEBUG]	Store custom available field
2023-10-13	13:20:13	3179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862671,6,'Unitaire',3)
2023-10-13	13:20:13	3179	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:13	3179	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:13	3179	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862670
2023-10-13	13:20:13	3179	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:13	3179	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862670\":[1862670,8,1,\"choisir la taille\"],\"1862671\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862670
2023-10-13	13:20:13	3179	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:13	3179	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862671
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:13	3180	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field taille
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:13	3180	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:13	3180	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:13	3180	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:13	3180	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:13	3180	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:13	3180	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field published
2023-10-13	13:20:13	3180	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:13	3180	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field override
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:13	3180	[DEBUG]	Use field value for field slug
2023-10-13	13:20:13	3180	[DEBUG]	Process line 3180
2023-10-13	13:20:13	3180	[DEBUG]	Load a row
2023-10-13	13:20:13	3180	[DEBUG]	Processing item: A_7516_1
2023-10-13	13:20:13	3180	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:13	3180	[DEBUG]	Processing product tax
2023-10-13	13:20:13	3180	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:13	3180	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:13	3180	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:13	3180	[DEBUG]	Query for Product
2023-10-13	13:20:13	3180	[DEBUG]	Executed store
2023-10-13	13:20:13	3180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7516_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:13	3180	[DEBUG]	Check product language entry
2023-10-13	13:20:13	3180	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862672
2023-10-13	13:20:13	3180	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:13	3180	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7516_1' AND `virtuemart_product_id` != 1862672
2023-10-13	13:20:13	3180	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:13	3180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862672, 'A_7516_1')
2023-10-13	13:20:13	3180	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:13	3180	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-kit-reparation-topeak-noir' AND `virtuemart_product_id` != 1862672
2023-10-13	13:20:13	3180	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:20:13	3180	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'topeak-kit-reparation-topeak-noir', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'topeak-kit-reparation-topeak-noir' OR `slug` LIKE 'topeak-kit-reparation-topeak-noir-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862672 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:20:13	3180	[DEBUG]	Query for ProductLang
2023-10-13	13:20:13	3180	[DEBUG]	Executed store
2023-10-13	13:20:13	3180	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 910.001.043',`product_name`='Topeak Kit réparation TOPEAK / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-kit-reparation-topeak-noir-1' WHERE `virtuemart_product_id` = '1862672'
2023-10-13	13:20:13	3180	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34915_kit_reparation_topeak.jpg
2023-10-13	13:20:13	3180	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:13	3180	[DEBUG]	Process image file
2023-10-13	13:20:13	3180	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:13	3180	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:13	3180	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34915_kit_reparation_topeak.jpg
2023-10-13	13:20:13	3180	[DEBUG]	Full name target: bcprisme/34915_kit_reparation_topeak.jpg
2023-10-13	13:20:14	3180	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:14	3180	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34915_kit_reparation_topeak.jpg'
2023-10-13	13:20:14	3180	[DEBUG]	Query for Media
2023-10-13	13:20:14	3180	[DEBUG]	Executed store
2023-10-13	13:20:14	3180	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34915_kit_reparation_topeak.jpg',`file_url_thumb`='bcprisme/34915_kit_reparation_topeak.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '269091'
2023-10-13	13:20:14	3180	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:14	3180	[DEBUG]	Executed store
2023-10-13	13:20:14	3180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862672','269091','1')
2023-10-13	13:20:14	3180	[DEBUG]	Store product image relation
2023-10-13	13:20:14	3180	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:14	3180	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862672 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:14	3180	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:14	3180	[DEBUG]	Executed store
2023-10-13	13:20:14	3180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862672','0','30.1764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:14	3180	[DEBUG]	Checking manufacturer
2023-10-13	13:20:14	3180	[DEBUG]	Load a row
2023-10-13	13:20:14	3180	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:14	3180	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:20:14	3180	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:14	3180	[DEBUG]	Executed store
2023-10-13	13:20:14	3180	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:20:14	3180	[DEBUG]	Manufacturer exists
2023-10-13	13:20:14	3180	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:20:14	3180	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:14	3180	[DEBUG]	Executed store
2023-10-13	13:20:14	3180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862672','149')
2023-10-13	13:20:14	3180	[DEBUG]	Find the custom field ID
2023-10-13	13:20:14	3180	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:14	3180	[DEBUG]	No custom field ID found
2023-10-13	13:20:14	3180	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:14	3180	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:20:14	3180	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862672 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:14	3180	[DEBUG]	Store custom available field
2023-10-13	13:20:14	3180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862672,3,'0',1)
2023-10-13	13:20:14	3180	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:14	3180	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:14	3180	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862672 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:14	3180	[DEBUG]	Store custom available field
2023-10-13	13:20:14	3180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862672,6,'choisir la taille',3)
2023-10-13	13:20:14	3180	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:14	3180	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:14	3180	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:14	3180	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:14	3180	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862672 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:14	3180	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:14	3180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862672,8,1)
2023-10-13	13:20:14	3180	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:14	3180	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862672\":[1862672,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862672
2023-10-13	13:20:14	3180	[DEBUG]	Checking category
2023-10-13	13:20:14	3180	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:14	3180	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862672
2023-10-13	13:20:14	3180	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:14	3180	[DEBUG]	Executed store
2023-10-13	13:20:14	3180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862672','7369')
2023-10-13	13:20:14	3180	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:14	3180	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862672 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:14	3180	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:14	3180	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862672
2023-10-13	13:20:14	3181	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:14	3181	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:14	3181	[DEBUG]	Use field value for field taille
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:14	3181	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:14	3181	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:14	3181	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:14	3181	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:14	3181	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:14	3181	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:14	3181	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:14	3181	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:14	3181	[DEBUG]	Use field value for field published
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:14	3181	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field override
2023-10-13	13:20:14	3181	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:14	3181	[DEBUG]	Use field value for field slug
2023-10-13	13:20:14	3181	[DEBUG]	Process line 3181
2023-10-13	13:20:14	3181	[DEBUG]	Load a row
2023-10-13	13:20:14	3181	[DEBUG]	Processing item: 883466019508
2023-10-13	13:20:14	3181	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:14	3181	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:14	3181	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7516_1'
2023-10-13	13:20:14	3181	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:14	3181	[DEBUG]	Processing product tax
2023-10-13	13:20:14	3181	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:14	3181	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:14	3181	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:14	3181	[DEBUG]	Query for Product
2023-10-13	13:20:15	3181	[DEBUG]	Executed store
2023-10-13	13:20:15	3181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862672','883466019508','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:15	3181	[DEBUG]	No parent found
2023-10-13	13:20:15	3181	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862672 AND customfield_value = 'stockable'
2023-10-13	13:20:15	3181	[DEBUG]	Check product language entry
2023-10-13	13:20:15	3181	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862673
2023-10-13	13:20:15	3181	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:15	3181	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '883466019508' AND `virtuemart_product_id` != 1862673
2023-10-13	13:20:15	3181	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:15	3181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862673, '883466019508')
2023-10-13	13:20:15	3181	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:15	3181	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-kit-reparation-topeak-noir-unitaire' AND `virtuemart_product_id` != 1862673
2023-10-13	13:20:15	3181	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:20:15	3181	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'topeak-kit-reparation-topeak-noir-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'topeak-kit-reparation-topeak-noir-unitaire' OR `slug` LIKE 'topeak-kit-reparation-topeak-noir-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862673 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:20:15	3181	[DEBUG]	Query for ProductLang
2023-10-13	13:20:15	3181	[DEBUG]	Executed store
2023-10-13	13:20:15	3181	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Topeak Kit réparation TOPEAK / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-kit-reparation-topeak-noir-unitaire-1' WHERE `virtuemart_product_id` = '1862673'
2023-10-13	13:20:15	3181	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34915_kit_reparation_topeak.jpg
2023-10-13	13:20:15	3181	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:15	3181	[DEBUG]	Process image file
2023-10-13	13:20:15	3181	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:15	3181	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:15	3181	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34915_kit_reparation_topeak.jpg
2023-10-13	13:20:15	3181	[DEBUG]	Full name target: bcprisme/34915_kit_reparation_topeak.jpg
2023-10-13	13:20:16	3181	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:16	3181	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34915_kit_reparation_topeak.jpg'
2023-10-13	13:20:16	3181	[DEBUG]	Query for Media
2023-10-13	13:20:16	3181	[DEBUG]	Executed store
2023-10-13	13:20:16	3181	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34915_kit_reparation_topeak.jpg',`file_url_thumb`='bcprisme/34915_kit_reparation_topeak.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '269091'
2023-10-13	13:20:16	3181	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:16	3181	[DEBUG]	Executed store
2023-10-13	13:20:16	3181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862673','269091','1')
2023-10-13	13:20:16	3181	[DEBUG]	Store product image relation
2023-10-13	13:20:16	3181	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:16	3181	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862673 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:16	3181	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:16	3181	[DEBUG]	Executed store
2023-10-13	13:20:16	3181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862673','0','30.1764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:16	3181	[DEBUG]	Checking manufacturer
2023-10-13	13:20:16	3181	[DEBUG]	Load a row
2023-10-13	13:20:16	3181	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:16	3181	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:20:16	3181	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:16	3181	[DEBUG]	Executed store
2023-10-13	13:20:16	3181	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:20:16	3181	[DEBUG]	Manufacturer exists
2023-10-13	13:20:16	3181	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:20:16	3181	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:16	3181	[DEBUG]	Executed store
2023-10-13	13:20:16	3181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862673','149')
2023-10-13	13:20:16	3181	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:16	3181	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:16	3181	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862673 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:16	3181	[DEBUG]	Store custom available field
2023-10-13	13:20:16	3181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862673,3,'',1)
2023-10-13	13:20:16	3181	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:16	3181	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:16	3181	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862673 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:16	3181	[DEBUG]	Store custom available field
2023-10-13	13:20:16	3181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862673,6,'Unitaire',3)
2023-10-13	13:20:16	3181	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:16	3181	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:16	3181	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862672
2023-10-13	13:20:16	3181	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:16	3181	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862672\":[1862672,8,1,\"choisir la taille\"],\"1862673\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862672
2023-10-13	13:20:16	3181	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:16	3181	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862673
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:16	3182	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field taille
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:16	3182	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:16	3182	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:16	3182	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:16	3182	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:16	3182	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:16	3182	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field published
2023-10-13	13:20:16	3182	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:16	3182	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field override
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:16	3182	[DEBUG]	Use field value for field slug
2023-10-13	13:20:16	3182	[DEBUG]	Process line 3182
2023-10-13	13:20:16	3182	[DEBUG]	Load a row
2023-10-13	13:20:16	3182	[DEBUG]	Processing item: A_7984_585
2023-10-13	13:20:16	3182	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:16	3182	[DEBUG]	Processing product tax
2023-10-13	13:20:16	3182	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:16	3182	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:16	3182	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:16	3182	[DEBUG]	Query for Product
2023-10-13	13:20:16	3182	[DEBUG]	Executed store
2023-10-13	13:20:16	3182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7984_585','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:16	3182	[DEBUG]	Check product language entry
2023-10-13	13:20:16	3182	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862674
2023-10-13	13:20:16	3182	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:16	3182	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7984_585' AND `virtuemart_product_id` != 1862674
2023-10-13	13:20:16	3182	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:16	3182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862674, 'A_7984_585')
2023-10-13	13:20:16	3182	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:16	3182	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-kit-pour-purger-tl-bt03s-pour-one-way-bleeding-box-blanc' AND `virtuemart_product_id` != 1862674
2023-10-13	13:20:16	3182	[DEBUG]	Query for ProductLang
2023-10-13	13:20:16	3182	[DEBUG]	Executed store
2023-10-13	13:20:16	3182	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 90.62793',`product_name`='SHIMANO Kit pour purger TL-BT03S pour one way bleeding box / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-kit-pour-purger-tl-bt03s-pour-one-way-bleeding-box-blanc' WHERE `virtuemart_product_id` = '1862674'
2023-10-13	13:20:16	3182	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36452_shimano_kit_pour_purger_tl-bt03s_pour_one_way_bleeding_box.jpg
2023-10-13	13:20:16	3182	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:16	3182	[DEBUG]	Process image file
2023-10-13	13:20:16	3182	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:16	3182	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:16	3182	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36452_shimano_kit_pour_purger_tl-bt03s_pour_one_way_bleeding_box.jpg
2023-10-13	13:20:16	3182	[DEBUG]	Full name target: bcprisme/36452_shimano_kit_pour_purger_tl-bt03s_pour_one_way_bleeding_box.jpg
2023-10-13	13:20:17	3182	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:17	3182	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36452_shimano_kit_pour_purger_tl-bt03s_pour_one_way_bleeding_box.jpg'
2023-10-13	13:20:17	3182	[DEBUG]	Query for Media
2023-10-13	13:20:17	3182	[DEBUG]	Executed store
2023-10-13	13:20:17	3182	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36452_shimano_kit_pour_purger_tl-bt03s_pour_one_way_bleeding_box.jpg',`file_url_thumb`='bcprisme/36452_shimano_kit_pour_purger_tl-bt03s_pour_one_way_bleeding_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '577117'
2023-10-13	13:20:17	3182	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:17	3182	[DEBUG]	Executed store
2023-10-13	13:20:17	3182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862674','577117','1')
2023-10-13	13:20:17	3182	[DEBUG]	Store product image relation
2023-10-13	13:20:17	3182	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:17	3182	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862674 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:17	3182	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:17	3182	[DEBUG]	Executed store
2023-10-13	13:20:17	3182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862674','0','44.4753946146704','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:17	3182	[DEBUG]	Checking manufacturer
2023-10-13	13:20:17	3182	[DEBUG]	Load a row
2023-10-13	13:20:17	3182	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:17	3182	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:20:17	3182	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:17	3182	[DEBUG]	Executed store
2023-10-13	13:20:17	3182	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:20:17	3182	[DEBUG]	Manufacturer exists
2023-10-13	13:20:17	3182	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:20:17	3182	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:17	3182	[DEBUG]	Executed store
2023-10-13	13:20:17	3182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862674','123')
2023-10-13	13:20:17	3182	[DEBUG]	Find the custom field ID
2023-10-13	13:20:17	3182	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:17	3182	[DEBUG]	No custom field ID found
2023-10-13	13:20:17	3182	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:17	3182	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:20:17	3182	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862674 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:17	3182	[DEBUG]	Store custom available field
2023-10-13	13:20:17	3182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862674,3,'0',1)
2023-10-13	13:20:17	3182	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:17	3182	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:17	3182	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862674 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:17	3182	[DEBUG]	Store custom available field
2023-10-13	13:20:17	3182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862674,6,'choisir la taille',3)
2023-10-13	13:20:17	3182	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:17	3182	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:17	3182	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:17	3182	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:17	3182	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862674 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:17	3182	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:17	3182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862674,8,1)
2023-10-13	13:20:17	3182	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:17	3182	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862674\":[1862674,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862674
2023-10-13	13:20:17	3182	[DEBUG]	Checking category
2023-10-13	13:20:17	3182	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:17	3182	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862674
2023-10-13	13:20:17	3182	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:17	3182	[DEBUG]	Executed store
2023-10-13	13:20:17	3182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862674','7369')
2023-10-13	13:20:17	3182	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:17	3182	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862674 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:17	3182	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:17	3182	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862674
2023-10-13	13:20:17	3183	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:17	3183	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:17	3183	[DEBUG]	Use field value for field taille
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:17	3183	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:17	3183	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:17	3183	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:17	3183	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:17	3183	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:17	3183	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:17	3183	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:17	3183	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:17	3183	[DEBUG]	Use field value for field published
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:17	3183	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field override
2023-10-13	13:20:17	3183	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:17	3183	[DEBUG]	Use field value for field slug
2023-10-13	13:20:17	3183	[DEBUG]	Process line 3183
2023-10-13	13:20:17	3183	[DEBUG]	Load a row
2023-10-13	13:20:17	3183	[DEBUG]	Processing item: 4524667904069
2023-10-13	13:20:17	3183	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:17	3183	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:17	3183	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7984_585'
2023-10-13	13:20:17	3183	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:17	3183	[DEBUG]	Processing product tax
2023-10-13	13:20:17	3183	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:17	3183	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:17	3183	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:17	3183	[DEBUG]	Query for Product
2023-10-13	13:20:17	3183	[DEBUG]	Executed store
2023-10-13	13:20:17	3183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862674','4524667904069','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:17	3183	[DEBUG]	No parent found
2023-10-13	13:20:17	3183	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862674 AND customfield_value = 'stockable'
2023-10-13	13:20:17	3183	[DEBUG]	Check product language entry
2023-10-13	13:20:17	3183	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862675
2023-10-13	13:20:17	3183	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:17	3183	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667904069' AND `virtuemart_product_id` != 1862675
2023-10-13	13:20:17	3183	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:17	3183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862675, '4524667904069')
2023-10-13	13:20:17	3183	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:17	3183	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-kit-pour-purger-tl-bt03s-pour-one-way-bleeding-box-blanc-all' AND `virtuemart_product_id` != 1862675
2023-10-13	13:20:17	3183	[DEBUG]	Query for ProductLang
2023-10-13	13:20:17	3183	[DEBUG]	Executed store
2023-10-13	13:20:17	3183	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Kit pour purger TL-BT03S pour one way bleeding box / Blanc (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-kit-pour-purger-tl-bt03s-pour-one-way-bleeding-box-blanc-all' WHERE `virtuemart_product_id` = '1862675'
2023-10-13	13:20:17	3183	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36452_shimano_kit_pour_purger_tl-bt03s_pour_one_way_bleeding_box.jpg
2023-10-13	13:20:17	3183	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:17	3183	[DEBUG]	Process image file
2023-10-13	13:20:17	3183	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:17	3183	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:17	3183	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36452_shimano_kit_pour_purger_tl-bt03s_pour_one_way_bleeding_box.jpg
2023-10-13	13:20:17	3183	[DEBUG]	Full name target: bcprisme/36452_shimano_kit_pour_purger_tl-bt03s_pour_one_way_bleeding_box.jpg
2023-10-13	13:20:18	3183	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:18	3183	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36452_shimano_kit_pour_purger_tl-bt03s_pour_one_way_bleeding_box.jpg'
2023-10-13	13:20:18	3183	[DEBUG]	Query for Media
2023-10-13	13:20:18	3183	[DEBUG]	Executed store
2023-10-13	13:20:18	3183	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36452_shimano_kit_pour_purger_tl-bt03s_pour_one_way_bleeding_box.jpg',`file_url_thumb`='bcprisme/36452_shimano_kit_pour_purger_tl-bt03s_pour_one_way_bleeding_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '577117'
2023-10-13	13:20:18	3183	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:18	3183	[DEBUG]	Executed store
2023-10-13	13:20:18	3183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862675','577117','1')
2023-10-13	13:20:18	3183	[DEBUG]	Store product image relation
2023-10-13	13:20:18	3183	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:18	3183	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862675 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:18	3183	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:18	3183	[DEBUG]	Executed store
2023-10-13	13:20:18	3183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862675','0','44.4753946146704','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:18	3183	[DEBUG]	Checking manufacturer
2023-10-13	13:20:18	3183	[DEBUG]	Load a row
2023-10-13	13:20:18	3183	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:18	3183	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:20:18	3183	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:18	3183	[DEBUG]	Executed store
2023-10-13	13:20:18	3183	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:20:18	3183	[DEBUG]	Manufacturer exists
2023-10-13	13:20:18	3183	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:20:18	3183	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:18	3183	[DEBUG]	Executed store
2023-10-13	13:20:18	3183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862675','123')
2023-10-13	13:20:18	3183	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:18	3183	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:18	3183	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862675 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:18	3183	[DEBUG]	Store custom available field
2023-10-13	13:20:18	3183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862675,3,'',1)
2023-10-13	13:20:18	3183	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:18	3183	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:20:18	3183	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862675 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:18	3183	[DEBUG]	Store custom available field
2023-10-13	13:20:18	3183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862675,6,'All',3)
2023-10-13	13:20:18	3183	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:18	3183	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:18	3183	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862674
2023-10-13	13:20:18	3183	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:18	3183	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862674\":[1862674,8,1,\"choisir la taille\"],\"1862675\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862674
2023-10-13	13:20:18	3183	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:18	3183	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862675
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:18	3184	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field taille
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:18	3184	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:18	3184	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:18	3184	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:18	3184	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:18	3184	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:18	3184	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field published
2023-10-13	13:20:18	3184	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:18	3184	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field override
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:18	3184	[DEBUG]	Use field value for field slug
2023-10-13	13:20:18	3184	[DEBUG]	Process line 3184
2023-10-13	13:20:18	3184	[DEBUG]	Load a row
2023-10-13	13:20:18	3184	[DEBUG]	Processing item: A_8229_1
2023-10-13	13:20:18	3184	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:18	3184	[DEBUG]	Processing product tax
2023-10-13	13:20:18	3184	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:18	3184	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:18	3184	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:18	3184	[DEBUG]	Query for Product
2023-10-13	13:20:18	3184	[DEBUG]	Executed store
2023-10-13	13:20:18	3184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8229_1','0.141','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:18	3184	[DEBUG]	Check product language entry
2023-10-13	13:20:18	3184	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862676
2023-10-13	13:20:18	3184	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:18	3184	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8229_1' AND `virtuemart_product_id` != 1862676
2023-10-13	13:20:18	3184	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:18	3184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862676, 'A_8229_1')
2023-10-13	13:20:18	3184	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:18	3184	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'trp-kit-de-purge-freins-a-disques-noir' AND `virtuemart_product_id` != 1862676
2023-10-13	13:20:18	3184	[DEBUG]	Query for ProductLang
2023-10-13	13:20:18	3184	[DEBUG]	Executed store
2023-10-13	13:20:18	3184	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Seringues et divers embouts pour purger tous les freins du marché<br>N° art fourn : 125498',`product_name`='TRP Kit de purge freins à disques  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='trp-kit-de-purge-freins-a-disques-noir' WHERE `virtuemart_product_id` = '1862676'
2023-10-13	13:20:18	3184	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36817_kit_de_purge_freins_à_disques_.jpg
2023-10-13	13:20:18	3184	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:18	3184	[DEBUG]	Process image file
2023-10-13	13:20:18	3184	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:18	3184	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:18	3184	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36817_kit_de_purge_freins_à_disques_.jpg
2023-10-13	13:20:18	3184	[DEBUG]	Full name target: bcprisme/36817_kit_de_purge_freins_à_disques_.jpg
2023-10-13	13:20:19	3184	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:19	3184	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36817_kit_de_purge_freins_à_disques_.jpg'
2023-10-13	13:20:19	3184	[DEBUG]	Query for Media
2023-10-13	13:20:19	3184	[DEBUG]	Executed store
2023-10-13	13:20:19	3184	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36817_kit_de_purge_freins_à_disques_.jpg',`file_url_thumb`='bcprisme/36817_kit_de_purge_freins_à_disques_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '716429'
2023-10-13	13:20:19	3184	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:19	3184	[DEBUG]	Executed store
2023-10-13	13:20:19	3184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862676','716429','1')
2023-10-13	13:20:19	3184	[DEBUG]	Store product image relation
2023-10-13	13:20:19	3184	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:19	3184	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862676 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:19	3184	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:19	3184	[DEBUG]	Executed store
2023-10-13	13:20:19	3184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862676','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:19	3184	[DEBUG]	Checking manufacturer
2023-10-13	13:20:19	3184	[DEBUG]	Load a row
2023-10-13	13:20:19	3184	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:19	3184	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '260'
2023-10-13	13:20:19	3184	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:19	3184	[DEBUG]	Executed store
2023-10-13	13:20:19	3184	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='34',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='34' WHERE `virtuemart_manufacturer_id` = '260'
2023-10-13	13:20:19	3184	[DEBUG]	Manufacturer exists
2023-10-13	13:20:19	3184	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 260
2023-10-13	13:20:19	3184	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:19	3184	[DEBUG]	Executed store
2023-10-13	13:20:19	3184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862676','260')
2023-10-13	13:20:19	3184	[DEBUG]	Find the custom field ID
2023-10-13	13:20:19	3184	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:19	3184	[DEBUG]	No custom field ID found
2023-10-13	13:20:19	3184	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:19	3184	[DEBUG]	Get existing row with customfield value 89.6502777777778
2023-10-13	13:20:19	3184	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862676 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:19	3184	[DEBUG]	Store custom available field
2023-10-13	13:20:19	3184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862676,3,'89.6502777777778',1)
2023-10-13	13:20:19	3184	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:19	3184	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:19	3184	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862676 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:19	3184	[DEBUG]	Store custom available field
2023-10-13	13:20:19	3184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862676,6,'choisir la taille',3)
2023-10-13	13:20:19	3184	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:19	3184	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:19	3184	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:19	3184	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:19	3184	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862676 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:19	3184	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:19	3184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862676,8,1)
2023-10-13	13:20:19	3184	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:19	3184	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862676\":[1862676,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862676
2023-10-13	13:20:19	3184	[DEBUG]	Checking category
2023-10-13	13:20:19	3184	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:19	3184	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862676
2023-10-13	13:20:19	3184	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:19	3184	[DEBUG]	Executed store
2023-10-13	13:20:19	3184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862676','7369')
2023-10-13	13:20:19	3184	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:19	3184	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862676 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:19	3184	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:19	3184	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862676
2023-10-13	13:20:19	3185	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:19	3185	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:19	3185	[DEBUG]	Use field value for field taille
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:19	3185	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:19	3185	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:19	3185	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:19	3185	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:19	3185	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:19	3185	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:19	3185	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:19	3185	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:19	3185	[DEBUG]	Use field value for field published
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:19	3185	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field override
2023-10-13	13:20:19	3185	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:19	3185	[DEBUG]	Use field value for field slug
2023-10-13	13:20:19	3185	[DEBUG]	Process line 3185
2023-10-13	13:20:19	3185	[DEBUG]	Load a row
2023-10-13	13:20:19	3185	[DEBUG]	Processing item: 4717592028805
2023-10-13	13:20:19	3185	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:19	3185	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:19	3185	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8229_1'
2023-10-13	13:20:19	3185	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:19	3185	[DEBUG]	Processing product tax
2023-10-13	13:20:19	3185	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:19	3185	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:19	3185	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:19	3185	[DEBUG]	Query for Product
2023-10-13	13:20:19	3185	[DEBUG]	Executed store
2023-10-13	13:20:19	3185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862676','4717592028805','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:19	3185	[DEBUG]	No parent found
2023-10-13	13:20:19	3185	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862676 AND customfield_value = 'stockable'
2023-10-13	13:20:19	3185	[DEBUG]	Check product language entry
2023-10-13	13:20:19	3185	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862677
2023-10-13	13:20:19	3185	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:19	3185	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4717592028805' AND `virtuemart_product_id` != 1862677
2023-10-13	13:20:19	3185	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:19	3185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862677, '4717592028805')
2023-10-13	13:20:19	3185	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:19	3185	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'trp-kit-de-purge-freins-a-disques-noir-unitaire' AND `virtuemart_product_id` != 1862677
2023-10-13	13:20:19	3185	[DEBUG]	Query for ProductLang
2023-10-13	13:20:19	3185	[DEBUG]	Executed store
2023-10-13	13:20:19	3185	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='TRP Kit de purge freins à disques  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='trp-kit-de-purge-freins-a-disques-noir-unitaire' WHERE `virtuemart_product_id` = '1862677'
2023-10-13	13:20:19	3185	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36817_kit_de_purge_freins_à_disques_.jpg
2023-10-13	13:20:19	3185	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:19	3185	[DEBUG]	Process image file
2023-10-13	13:20:19	3185	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:19	3185	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:19	3185	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36817_kit_de_purge_freins_à_disques_.jpg
2023-10-13	13:20:19	3185	[DEBUG]	Full name target: bcprisme/36817_kit_de_purge_freins_à_disques_.jpg
2023-10-13	13:20:20	3185	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:20	3185	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36817_kit_de_purge_freins_à_disques_.jpg'
2023-10-13	13:20:20	3185	[DEBUG]	Query for Media
2023-10-13	13:20:20	3185	[DEBUG]	Executed store
2023-10-13	13:20:20	3185	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36817_kit_de_purge_freins_à_disques_.jpg',`file_url_thumb`='bcprisme/36817_kit_de_purge_freins_à_disques_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '716429'
2023-10-13	13:20:20	3185	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:20	3185	[DEBUG]	Executed store
2023-10-13	13:20:20	3185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862677','716429','1')
2023-10-13	13:20:20	3185	[DEBUG]	Store product image relation
2023-10-13	13:20:20	3185	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:20	3185	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862677 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:20	3185	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:20	3185	[DEBUG]	Executed store
2023-10-13	13:20:20	3185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862677','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:20	3185	[DEBUG]	Checking manufacturer
2023-10-13	13:20:20	3185	[DEBUG]	Load a row
2023-10-13	13:20:20	3185	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:20	3185	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '260'
2023-10-13	13:20:20	3185	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:20	3185	[DEBUG]	Executed store
2023-10-13	13:20:20	3185	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='34',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='34' WHERE `virtuemart_manufacturer_id` = '260'
2023-10-13	13:20:20	3185	[DEBUG]	Manufacturer exists
2023-10-13	13:20:20	3185	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 260
2023-10-13	13:20:20	3185	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:20	3185	[DEBUG]	Executed store
2023-10-13	13:20:20	3185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862677','260')
2023-10-13	13:20:20	3185	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:20	3185	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:20	3185	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862677 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:20	3185	[DEBUG]	Store custom available field
2023-10-13	13:20:20	3185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862677,3,'',1)
2023-10-13	13:20:20	3185	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:20	3185	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:20	3185	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862677 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:20	3185	[DEBUG]	Store custom available field
2023-10-13	13:20:20	3185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862677,6,'Unitaire',3)
2023-10-13	13:20:20	3185	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:20	3185	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:20	3185	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862676
2023-10-13	13:20:20	3185	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:20	3185	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862676\":[1862676,8,1,\"choisir la taille\"],\"1862677\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862676
2023-10-13	13:20:20	3185	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:20	3185	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862677
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:20	3186	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field taille
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:20	3186	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:20	3186	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:20	3186	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:20	3186	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:20	3186	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:20	3186	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field published
2023-10-13	13:20:20	3186	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:20	3186	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field override
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:20	3186	[DEBUG]	Use field value for field slug
2023-10-13	13:20:20	3186	[DEBUG]	Process line 3186
2023-10-13	13:20:20	3186	[DEBUG]	Load a row
2023-10-13	13:20:20	3186	[DEBUG]	Processing item: A_8635_0
2023-10-13	13:20:20	3186	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:20	3186	[DEBUG]	Processing product tax
2023-10-13	13:20:20	3186	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:20	3186	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:20	3186	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:20	3186	[DEBUG]	Query for Product
2023-10-13	13:20:20	3186	[DEBUG]	Executed store
2023-10-13	13:20:20	3186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8635_0','0.141','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:20	3186	[DEBUG]	Check product language entry
2023-10-13	13:20:20	3186	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862678
2023-10-13	13:20:20	3186	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:20	3186	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8635_0' AND `virtuemart_product_id` != 1862678
2023-10-13	13:20:20	3186	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:20	3186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862678, 'A_8635_0')
2023-10-13	13:20:20	3186	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:20	3186	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'trp-kit-de-purge-freins-a-disques-trp-advanced-bleed-kits-unique' AND `virtuemart_product_id` != 1862678
2023-10-13	13:20:20	3186	[DEBUG]	Query for ProductLang
2023-10-13	13:20:20	3186	[DEBUG]	Executed store
2023-10-13	13:20:20	3186	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 125525',`product_name`='TRP Kit de purge freins à disques TRP Advanced Bleed Kits / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='trp-kit-de-purge-freins-a-disques-trp-advanced-bleed-kits-unique' WHERE `virtuemart_product_id` = '1862678'
2023-10-13	13:20:20	3186	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37524_kit_de_purge_freins_à_disques_trp_advanced_bleed_kits.jpg
2023-10-13	13:20:20	3186	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:20	3186	[DEBUG]	Process image file
2023-10-13	13:20:20	3186	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:20	3186	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:20	3186	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37524_kit_de_purge_freins_à_disques_trp_advanced_bleed_kits.jpg
2023-10-13	13:20:20	3186	[DEBUG]	Full name target: bcprisme/37524_kit_de_purge_freins_à_disques_trp_advanced_bleed_kits.jpg
2023-10-13	13:20:21	3186	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:21	3186	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37524_kit_de_purge_freins_à_disques_trp_advanced_bleed_kits.jpg'
2023-10-13	13:20:21	3186	[DEBUG]	Query for Media
2023-10-13	13:20:21	3186	[DEBUG]	Executed store
2023-10-13	13:20:21	3186	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37524_kit_de_purge_freins_à_disques_trp_advanced_bleed_kits.jpg',`file_url_thumb`='bcprisme/37524_kit_de_purge_freins_à_disques_trp_advanced_bleed_kits.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1001157'
2023-10-13	13:20:21	3186	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:21	3186	[DEBUG]	Executed store
2023-10-13	13:20:21	3186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862678','1001157','1')
2023-10-13	13:20:21	3186	[DEBUG]	Store product image relation
2023-10-13	13:20:21	3186	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:21	3186	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862678 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:21	3186	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:21	3186	[DEBUG]	Executed store
2023-10-13	13:20:21	3186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862678','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:21	3186	[DEBUG]	Checking manufacturer
2023-10-13	13:20:21	3186	[DEBUG]	Load a row
2023-10-13	13:20:21	3186	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:21	3186	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '260'
2023-10-13	13:20:21	3186	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:21	3186	[DEBUG]	Executed store
2023-10-13	13:20:21	3186	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='34',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='34' WHERE `virtuemart_manufacturer_id` = '260'
2023-10-13	13:20:21	3186	[DEBUG]	Manufacturer exists
2023-10-13	13:20:21	3186	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 260
2023-10-13	13:20:21	3186	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:21	3186	[DEBUG]	Executed store
2023-10-13	13:20:21	3186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862678','260')
2023-10-13	13:20:21	3186	[DEBUG]	Find the custom field ID
2023-10-13	13:20:21	3186	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:21	3186	[DEBUG]	No custom field ID found
2023-10-13	13:20:21	3186	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:21	3186	[DEBUG]	Get existing row with customfield value 89.6502777777778
2023-10-13	13:20:21	3186	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862678 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:21	3186	[DEBUG]	Store custom available field
2023-10-13	13:20:21	3186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862678,3,'89.6502777777778',1)
2023-10-13	13:20:21	3186	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:21	3186	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:21	3186	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862678 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:21	3186	[DEBUG]	Store custom available field
2023-10-13	13:20:21	3186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862678,6,'choisir la taille',3)
2023-10-13	13:20:21	3186	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:21	3186	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:21	3186	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:21	3186	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:21	3186	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862678 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:21	3186	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:21	3186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862678,8,1)
2023-10-13	13:20:21	3186	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:21	3186	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862678\":[1862678,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862678
2023-10-13	13:20:21	3186	[DEBUG]	Checking category
2023-10-13	13:20:21	3186	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:21	3186	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862678
2023-10-13	13:20:21	3186	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:21	3186	[DEBUG]	Executed store
2023-10-13	13:20:21	3186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862678','7369')
2023-10-13	13:20:21	3186	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:21	3186	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862678 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:21	3186	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:21	3186	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862678
2023-10-13	13:20:21	3187	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:21	3187	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:21	3187	[DEBUG]	Use field value for field taille
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:21	3187	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:21	3187	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:21	3187	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:21	3187	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:21	3187	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:21	3187	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:21	3187	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:21	3187	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:21	3187	[DEBUG]	Use field value for field published
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:21	3187	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field override
2023-10-13	13:20:21	3187	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:21	3187	[DEBUG]	Use field value for field slug
2023-10-13	13:20:21	3187	[DEBUG]	Process line 3187
2023-10-13	13:20:21	3187	[DEBUG]	Load a row
2023-10-13	13:20:21	3187	[DEBUG]	Processing item: 1000000158328
2023-10-13	13:20:21	3187	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:21	3187	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:21	3187	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8635_0'
2023-10-13	13:20:21	3187	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:21	3187	[DEBUG]	Processing product tax
2023-10-13	13:20:21	3187	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:21	3187	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:21	3187	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:21	3187	[DEBUG]	Query for Product
2023-10-13	13:20:21	3187	[DEBUG]	Executed store
2023-10-13	13:20:21	3187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862678','1000000158328','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:21	3187	[DEBUG]	No parent found
2023-10-13	13:20:21	3187	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862678 AND customfield_value = 'stockable'
2023-10-13	13:20:21	3187	[DEBUG]	Check product language entry
2023-10-13	13:20:21	3187	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862679
2023-10-13	13:20:21	3187	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:21	3187	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000158328' AND `virtuemart_product_id` != 1862679
2023-10-13	13:20:21	3187	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:21	3187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862679, '1000000158328')
2023-10-13	13:20:21	3187	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:21	3187	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'trp-kit-de-purge-freins-a-disques-trp-advanced-bleed-kits-unique-unitaire' AND `virtuemart_product_id` != 1862679
2023-10-13	13:20:21	3187	[DEBUG]	Query for ProductLang
2023-10-13	13:20:21	3187	[DEBUG]	Executed store
2023-10-13	13:20:21	3187	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='TRP Kit de purge freins à disques TRP Advanced Bleed Kits / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='trp-kit-de-purge-freins-a-disques-trp-advanced-bleed-kits-unique-unitaire' WHERE `virtuemart_product_id` = '1862679'
2023-10-13	13:20:21	3187	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37524_kit_de_purge_freins_à_disques_trp_advanced_bleed_kits.jpg
2023-10-13	13:20:21	3187	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:21	3187	[DEBUG]	Process image file
2023-10-13	13:20:21	3187	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:21	3187	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:21	3187	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37524_kit_de_purge_freins_à_disques_trp_advanced_bleed_kits.jpg
2023-10-13	13:20:21	3187	[DEBUG]	Full name target: bcprisme/37524_kit_de_purge_freins_à_disques_trp_advanced_bleed_kits.jpg
2023-10-13	13:20:22	3187	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:22	3187	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37524_kit_de_purge_freins_à_disques_trp_advanced_bleed_kits.jpg'
2023-10-13	13:20:22	3187	[DEBUG]	Query for Media
2023-10-13	13:20:22	3187	[DEBUG]	Executed store
2023-10-13	13:20:22	3187	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37524_kit_de_purge_freins_à_disques_trp_advanced_bleed_kits.jpg',`file_url_thumb`='bcprisme/37524_kit_de_purge_freins_à_disques_trp_advanced_bleed_kits.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1001157'
2023-10-13	13:20:22	3187	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:22	3187	[DEBUG]	Executed store
2023-10-13	13:20:22	3187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862679','1001157','1')
2023-10-13	13:20:22	3187	[DEBUG]	Store product image relation
2023-10-13	13:20:22	3187	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:22	3187	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862679 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:22	3187	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:22	3187	[DEBUG]	Executed store
2023-10-13	13:20:22	3187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862679','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:22	3187	[DEBUG]	Checking manufacturer
2023-10-13	13:20:22	3187	[DEBUG]	Load a row
2023-10-13	13:20:22	3187	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:22	3187	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '260'
2023-10-13	13:20:22	3187	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:22	3187	[DEBUG]	Executed store
2023-10-13	13:20:22	3187	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='34',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='34' WHERE `virtuemart_manufacturer_id` = '260'
2023-10-13	13:20:22	3187	[DEBUG]	Manufacturer exists
2023-10-13	13:20:22	3187	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 260
2023-10-13	13:20:22	3187	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:22	3187	[DEBUG]	Executed store
2023-10-13	13:20:22	3187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862679','260')
2023-10-13	13:20:22	3187	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:22	3187	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:22	3187	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862679 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:22	3187	[DEBUG]	Store custom available field
2023-10-13	13:20:22	3187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862679,3,'',1)
2023-10-13	13:20:22	3187	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:22	3187	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:22	3187	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862679 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:22	3187	[DEBUG]	Store custom available field
2023-10-13	13:20:22	3187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862679,6,'Unitaire',3)
2023-10-13	13:20:22	3187	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:22	3187	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:22	3187	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862678
2023-10-13	13:20:22	3187	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:22	3187	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862678\":[1862678,8,1,\"choisir la taille\"],\"1862679\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862678
2023-10-13	13:20:22	3187	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:22	3187	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862679
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:22	3188	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field taille
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:22	3188	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:22	3188	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:22	3188	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:22	3188	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:22	3188	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:22	3188	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field published
2023-10-13	13:20:22	3188	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:22	3188	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field override
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:22	3188	[DEBUG]	Use field value for field slug
2023-10-13	13:20:22	3188	[DEBUG]	Process line 3188
2023-10-13	13:20:22	3188	[DEBUG]	Load a row
2023-10-13	13:20:22	3188	[DEBUG]	Processing item: A_8803_1
2023-10-13	13:20:22	3188	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:22	3188	[DEBUG]	Processing product tax
2023-10-13	13:20:22	3188	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:22	3188	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:22	3188	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:22	3188	[DEBUG]	Query for Product
2023-10-13	13:20:22	3188	[DEBUG]	Executed store
2023-10-13	13:20:22	3188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8803_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:22	3188	[DEBUG]	Check product language entry
2023-10-13	13:20:22	3188	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862680
2023-10-13	13:20:22	3188	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:22	3188	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8803_1' AND `virtuemart_product_id` != 1862680
2023-10-13	13:20:22	3188	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:22	3188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862680, 'A_8803_1')
2023-10-13	13:20:22	3188	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:22	3188	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bbb-lever-internals-svc-kit-elixir-3-qty-1-avid-noir' AND `virtuemart_product_id` != 1862680
2023-10-13	13:20:22	3188	[DEBUG]	Query for ProductLang
2023-10-13	13:20:22	3188	[DEBUG]	Executed store
2023-10-13	13:20:22	3188	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : DS1725T',`product_name`='BBB Lever internals/svc Kit Elixir 3 QTY 1 AVID / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bbb-lever-internals-svc-kit-elixir-3-qty-1-avid-noir' WHERE `virtuemart_product_id` = '1862680'
2023-10-13	13:20:22	3188	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37786_lever_internals-svc_kit_elixir_3_qty_1_avid.jpg
2023-10-13	13:20:22	3188	[DEBUG]	Identity string: ffd8ffe100224578696600004d4d002a00000008
2023-10-13	13:20:22	3188	[DEBUG]	Process image file
2023-10-13	13:20:22	3188	[DEBUG]	Identity string: ffd8ffe100224578696600004d4d002a00000008
2023-10-13	13:20:22	3188	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:22	3188	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37786_lever_internals-svc_kit_elixir_3_qty_1_avid.jpg
2023-10-13	13:20:22	3188	[DEBUG]	Full name target: bcprisme/37786_lever_internals-svc_kit_elixir_3_qty_1_avid.jpg
2023-10-13	13:20:23	3188	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:23	3188	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37786_lever_internals-svc_kit_elixir_3_qty_1_avid.jpg'
2023-10-13	13:20:23	3188	[DEBUG]	Query for Media
2023-10-13	13:20:23	3188	[DEBUG]	Executed store
2023-10-13	13:20:23	3188	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37786_lever_internals-svc_kit_elixir_3_qty_1_avid.jpg',`file_url_thumb`='bcprisme/37786_lever_internals-svc_kit_elixir_3_qty_1_avid.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1090729'
2023-10-13	13:20:23	3188	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:23	3188	[DEBUG]	Executed store
2023-10-13	13:20:23	3188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862680','1090729','1')
2023-10-13	13:20:23	3188	[DEBUG]	Store product image relation
2023-10-13	13:20:23	3188	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:23	3188	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862680 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:23	3188	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:23	3188	[DEBUG]	Executed store
2023-10-13	13:20:23	3188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862680','0','29.8978644382544','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:23	3188	[DEBUG]	Checking manufacturer
2023-10-13	13:20:23	3188	[DEBUG]	Load a row
2023-10-13	13:20:23	3188	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:23	3188	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '191'
2023-10-13	13:20:23	3188	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:23	3188	[DEBUG]	Executed store
2023-10-13	13:20:23	3188	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-442047189881' WHERE `virtuemart_manufacturer_id` = '191'
2023-10-13	13:20:23	3188	[DEBUG]	Manufacturer exists
2023-10-13	13:20:23	3188	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 191
2023-10-13	13:20:23	3188	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:23	3188	[DEBUG]	Executed store
2023-10-13	13:20:23	3188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862680','191')
2023-10-13	13:20:23	3188	[DEBUG]	Find the custom field ID
2023-10-13	13:20:23	3188	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:23	3188	[DEBUG]	No custom field ID found
2023-10-13	13:20:23	3188	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:23	3188	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:20:23	3188	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862680 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:23	3188	[DEBUG]	Store custom available field
2023-10-13	13:20:23	3188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862680,3,'0',1)
2023-10-13	13:20:23	3188	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:23	3188	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:23	3188	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862680 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:23	3188	[DEBUG]	Store custom available field
2023-10-13	13:20:23	3188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862680,6,'choisir la taille',3)
2023-10-13	13:20:23	3188	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:23	3188	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:23	3188	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:23	3188	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:23	3188	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862680 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:23	3188	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:23	3188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862680,8,1)
2023-10-13	13:20:23	3188	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:23	3188	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862680\":[1862680,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862680
2023-10-13	13:20:23	3188	[DEBUG]	Checking category
2023-10-13	13:20:23	3188	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:23	3188	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862680
2023-10-13	13:20:23	3188	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:23	3188	[DEBUG]	Executed store
2023-10-13	13:20:23	3188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862680','7369')
2023-10-13	13:20:23	3188	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:23	3188	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862680 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:23	3188	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:23	3188	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862680
2023-10-13	13:20:23	3189	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:23	3189	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:23	3189	[DEBUG]	Use field value for field taille
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:23	3189	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:23	3189	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:23	3189	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:23	3189	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:23	3189	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:23	3189	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:23	3189	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:23	3189	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:23	3189	[DEBUG]	Use field value for field published
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:23	3189	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field override
2023-10-13	13:20:23	3189	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:23	3189	[DEBUG]	Use field value for field slug
2023-10-13	13:20:23	3189	[DEBUG]	Process line 3189
2023-10-13	13:20:23	3189	[DEBUG]	Load a row
2023-10-13	13:20:23	3189	[DEBUG]	Processing item: 1000000164435
2023-10-13	13:20:23	3189	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:23	3189	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:23	3189	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8803_1'
2023-10-13	13:20:23	3189	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:23	3189	[DEBUG]	Processing product tax
2023-10-13	13:20:23	3189	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:23	3189	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:23	3189	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:23	3189	[DEBUG]	Query for Product
2023-10-13	13:20:23	3189	[DEBUG]	Executed store
2023-10-13	13:20:23	3189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862680','1000000164435','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:23	3189	[DEBUG]	No parent found
2023-10-13	13:20:23	3189	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862680 AND customfield_value = 'stockable'
2023-10-13	13:20:23	3189	[DEBUG]	Check product language entry
2023-10-13	13:20:23	3189	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862681
2023-10-13	13:20:23	3189	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:23	3189	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000164435' AND `virtuemart_product_id` != 1862681
2023-10-13	13:20:23	3189	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:23	3189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862681, '1000000164435')
2023-10-13	13:20:23	3189	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:23	3189	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bbb-lever-internals-svc-kit-elixir-3-qty-1-avid-noir-unitaire' AND `virtuemart_product_id` != 1862681
2023-10-13	13:20:23	3189	[DEBUG]	Query for ProductLang
2023-10-13	13:20:23	3189	[DEBUG]	Executed store
2023-10-13	13:20:23	3189	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BBB Lever internals/svc Kit Elixir 3 QTY 1 AVID / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bbb-lever-internals-svc-kit-elixir-3-qty-1-avid-noir-unitaire' WHERE `virtuemart_product_id` = '1862681'
2023-10-13	13:20:23	3189	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37786_lever_internals-svc_kit_elixir_3_qty_1_avid.jpg
2023-10-13	13:20:23	3189	[DEBUG]	Identity string: ffd8ffe100224578696600004d4d002a00000008
2023-10-13	13:20:23	3189	[DEBUG]	Process image file
2023-10-13	13:20:23	3189	[DEBUG]	Identity string: ffd8ffe100224578696600004d4d002a00000008
2023-10-13	13:20:23	3189	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:23	3189	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37786_lever_internals-svc_kit_elixir_3_qty_1_avid.jpg
2023-10-13	13:20:23	3189	[DEBUG]	Full name target: bcprisme/37786_lever_internals-svc_kit_elixir_3_qty_1_avid.jpg
2023-10-13	13:20:24	3189	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:24	3189	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37786_lever_internals-svc_kit_elixir_3_qty_1_avid.jpg'
2023-10-13	13:20:24	3189	[DEBUG]	Query for Media
2023-10-13	13:20:24	3189	[DEBUG]	Executed store
2023-10-13	13:20:24	3189	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37786_lever_internals-svc_kit_elixir_3_qty_1_avid.jpg',`file_url_thumb`='bcprisme/37786_lever_internals-svc_kit_elixir_3_qty_1_avid.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1090729'
2023-10-13	13:20:24	3189	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:24	3189	[DEBUG]	Executed store
2023-10-13	13:20:24	3189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862681','1090729','1')
2023-10-13	13:20:24	3189	[DEBUG]	Store product image relation
2023-10-13	13:20:24	3189	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:24	3189	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862681 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:24	3189	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:24	3189	[DEBUG]	Executed store
2023-10-13	13:20:24	3189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862681','0','29.8978644382544','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:24	3189	[DEBUG]	Checking manufacturer
2023-10-13	13:20:24	3189	[DEBUG]	Load a row
2023-10-13	13:20:24	3189	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:24	3189	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '191'
2023-10-13	13:20:24	3189	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:24	3189	[DEBUG]	Executed store
2023-10-13	13:20:24	3189	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-38-442047189881' WHERE `virtuemart_manufacturer_id` = '191'
2023-10-13	13:20:24	3189	[DEBUG]	Manufacturer exists
2023-10-13	13:20:24	3189	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 191
2023-10-13	13:20:24	3189	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:24	3189	[DEBUG]	Executed store
2023-10-13	13:20:24	3189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862681','191')
2023-10-13	13:20:24	3189	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:24	3189	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:24	3189	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862681 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:24	3189	[DEBUG]	Store custom available field
2023-10-13	13:20:24	3189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862681,3,'',1)
2023-10-13	13:20:24	3189	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:24	3189	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:24	3189	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862681 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:24	3189	[DEBUG]	Store custom available field
2023-10-13	13:20:24	3189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862681,6,'Unitaire',3)
2023-10-13	13:20:24	3189	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:24	3189	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:24	3189	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862680
2023-10-13	13:20:24	3189	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:24	3189	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862680\":[1862680,8,1,\"choisir la taille\"],\"1862681\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862680
2023-10-13	13:20:24	3189	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:24	3189	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862681
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:24	3190	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field taille
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:24	3190	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:24	3190	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:24	3190	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:24	3190	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:24	3190	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:24	3190	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field published
2023-10-13	13:20:24	3190	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:24	3190	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field override
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:24	3190	[DEBUG]	Use field value for field slug
2023-10-13	13:20:24	3190	[DEBUG]	Process line 3190
2023-10-13	13:20:24	3190	[DEBUG]	Load a row
2023-10-13	13:20:24	3190	[DEBUG]	Processing item: A_9192_1
2023-10-13	13:20:24	3190	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:24	3190	[DEBUG]	Processing product tax
2023-10-13	13:20:24	3190	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:24	3190	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:24	3190	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:24	3190	[DEBUG]	Query for Product
2023-10-13	13:20:24	3190	[DEBUG]	Executed store
2023-10-13	13:20:24	3190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9192_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:24	3190	[DEBUG]	Check product language entry
2023-10-13	13:20:24	3190	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862682
2023-10-13	13:20:24	3190	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:24	3190	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9192_1' AND `virtuemart_product_id` != 1862682
2023-10-13	13:20:24	3190	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:24	3190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862682, 'A_9192_1')
2023-10-13	13:20:24	3190	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:24	3190	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'muc-off-tubeless-kit-de-reparation-muc-off-noir' AND `virtuemart_product_id` != 1862682
2023-10-13	13:20:24	3190	[DEBUG]	Query for ProductLang
2023-10-13	13:20:24	3190	[DEBUG]	Executed store
2023-10-13	13:20:24	3190	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 492-039-720301',`product_name`='Muc-Off Tubeless kit de réparation Muc-Off  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='muc-off-tubeless-kit-de-reparation-muc-off-noir' WHERE `virtuemart_product_id` = '1862682'
2023-10-13	13:20:24	3190	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39076_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:24	3190	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:24	3190	[DEBUG]	Process image file
2023-10-13	13:20:24	3190	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:24	3190	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:24	3190	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39076_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:24	3190	[DEBUG]	Full name target: bcprisme/39076_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:25	3190	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:25	3190	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39076_tubeless_kit_de_reparation_muc-off_.jpg'
2023-10-13	13:20:25	3190	[DEBUG]	Query for Media
2023-10-13	13:20:25	3190	[DEBUG]	Executed store
2023-10-13	13:20:25	3190	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39076_tubeless_kit_de_reparation_muc-off_.jpg',`file_url_thumb`='bcprisme/39076_tubeless_kit_de_reparation_muc-off_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1525776'
2023-10-13	13:20:25	3190	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:25	3190	[DEBUG]	Executed store
2023-10-13	13:20:25	3190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862682','1525776','1')
2023-10-13	13:20:25	3190	[DEBUG]	Store product image relation
2023-10-13	13:20:25	3190	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:25	3190	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862682 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:25	3190	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:25	3190	[DEBUG]	Executed store
2023-10-13	13:20:25	3190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862682','0','52.8319405756732','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:25	3190	[DEBUG]	Checking manufacturer
2023-10-13	13:20:25	3190	[DEBUG]	Load a row
2023-10-13	13:20:25	3190	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:25	3190	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:20:25	3190	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:25	3190	[DEBUG]	Executed store
2023-10-13	13:20:25	3190	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52681237990' WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:20:25	3190	[DEBUG]	Manufacturer exists
2023-10-13	13:20:25	3190	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 133
2023-10-13	13:20:25	3190	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:25	3190	[DEBUG]	Executed store
2023-10-13	13:20:25	3190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862682','133')
2023-10-13	13:20:25	3190	[DEBUG]	Find the custom field ID
2023-10-13	13:20:25	3190	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:25	3190	[DEBUG]	No custom field ID found
2023-10-13	13:20:25	3190	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:25	3190	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:20:25	3190	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862682 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:25	3190	[DEBUG]	Store custom available field
2023-10-13	13:20:25	3190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862682,3,'0',1)
2023-10-13	13:20:25	3190	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:25	3190	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:25	3190	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862682 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:25	3190	[DEBUG]	Store custom available field
2023-10-13	13:20:25	3190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862682,6,'choisir la taille',3)
2023-10-13	13:20:25	3190	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:25	3190	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:25	3190	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:25	3190	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:25	3190	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862682 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:25	3190	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:25	3190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862682,8,1)
2023-10-13	13:20:25	3190	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:25	3190	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862682\":[1862682,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862682
2023-10-13	13:20:25	3190	[DEBUG]	Checking category
2023-10-13	13:20:25	3190	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:25	3190	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862682
2023-10-13	13:20:25	3190	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:25	3190	[DEBUG]	Executed store
2023-10-13	13:20:25	3190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862682','7369')
2023-10-13	13:20:25	3190	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:25	3190	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862682 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:25	3190	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:25	3190	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862682
2023-10-13	13:20:25	3191	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:25	3191	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:25	3191	[DEBUG]	Use field value for field taille
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:25	3191	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:25	3191	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:25	3191	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:25	3191	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:25	3191	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:25	3191	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:25	3191	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:25	3191	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:25	3191	[DEBUG]	Use field value for field published
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:25	3191	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field override
2023-10-13	13:20:25	3191	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:25	3191	[DEBUG]	Use field value for field slug
2023-10-13	13:20:25	3191	[DEBUG]	Process line 3191
2023-10-13	13:20:25	3191	[DEBUG]	Load a row
2023-10-13	13:20:25	3191	[DEBUG]	Processing item: 5037835207927
2023-10-13	13:20:25	3191	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:25	3191	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:25	3191	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9192_1'
2023-10-13	13:20:25	3191	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:25	3191	[DEBUG]	Processing product tax
2023-10-13	13:20:25	3191	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:25	3191	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:25	3191	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:25	3191	[DEBUG]	Query for Product
2023-10-13	13:20:25	3191	[DEBUG]	Executed store
2023-10-13	13:20:25	3191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862682','5037835207927','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:25	3191	[DEBUG]	No parent found
2023-10-13	13:20:25	3191	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862682 AND customfield_value = 'stockable'
2023-10-13	13:20:25	3191	[DEBUG]	Check product language entry
2023-10-13	13:20:25	3191	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862683
2023-10-13	13:20:25	3191	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:25	3191	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '5037835207927' AND `virtuemart_product_id` != 1862683
2023-10-13	13:20:25	3191	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:25	3191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862683, '5037835207927')
2023-10-13	13:20:25	3191	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:25	3191	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'muc-off-tubeless-kit-de-reparation-muc-off-noir-unitaire' AND `virtuemart_product_id` != 1862683
2023-10-13	13:20:25	3191	[DEBUG]	Query for ProductLang
2023-10-13	13:20:25	3191	[DEBUG]	Executed store
2023-10-13	13:20:25	3191	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Muc-Off Tubeless kit de réparation Muc-Off  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='muc-off-tubeless-kit-de-reparation-muc-off-noir-unitaire' WHERE `virtuemart_product_id` = '1862683'
2023-10-13	13:20:25	3191	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39076_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:25	3191	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:25	3191	[DEBUG]	Process image file
2023-10-13	13:20:25	3191	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:25	3191	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:25	3191	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39076_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:25	3191	[DEBUG]	Full name target: bcprisme/39076_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:26	3191	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:26	3191	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39076_tubeless_kit_de_reparation_muc-off_.jpg'
2023-10-13	13:20:26	3191	[DEBUG]	Query for Media
2023-10-13	13:20:26	3191	[DEBUG]	Executed store
2023-10-13	13:20:26	3191	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39076_tubeless_kit_de_reparation_muc-off_.jpg',`file_url_thumb`='bcprisme/39076_tubeless_kit_de_reparation_muc-off_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1525776'
2023-10-13	13:20:26	3191	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:26	3191	[DEBUG]	Executed store
2023-10-13	13:20:26	3191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862683','1525776','1')
2023-10-13	13:20:26	3191	[DEBUG]	Store product image relation
2023-10-13	13:20:26	3191	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:26	3191	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862683 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:26	3191	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:26	3191	[DEBUG]	Executed store
2023-10-13	13:20:26	3191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862683','0','52.8319405756732','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:26	3191	[DEBUG]	Checking manufacturer
2023-10-13	13:20:26	3191	[DEBUG]	Load a row
2023-10-13	13:20:26	3191	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:26	3191	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:20:26	3191	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:26	3191	[DEBUG]	Executed store
2023-10-13	13:20:26	3191	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52681237990' WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:20:26	3191	[DEBUG]	Manufacturer exists
2023-10-13	13:20:26	3191	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 133
2023-10-13	13:20:26	3191	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:26	3191	[DEBUG]	Executed store
2023-10-13	13:20:26	3191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862683','133')
2023-10-13	13:20:26	3191	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:26	3191	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:26	3191	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862683 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:26	3191	[DEBUG]	Store custom available field
2023-10-13	13:20:26	3191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862683,3,'',1)
2023-10-13	13:20:26	3191	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:26	3191	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:26	3191	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862683 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:26	3191	[DEBUG]	Store custom available field
2023-10-13	13:20:26	3191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862683,6,'Unitaire',3)
2023-10-13	13:20:26	3191	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:26	3191	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:26	3191	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862682
2023-10-13	13:20:26	3191	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:26	3191	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862682\":[1862682,8,1,\"choisir la taille\"],\"1862683\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862682
2023-10-13	13:20:26	3191	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:26	3191	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862683
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:26	3192	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field taille
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:26	3192	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:26	3192	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:26	3192	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:26	3192	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:26	3192	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:26	3192	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field published
2023-10-13	13:20:26	3192	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:26	3192	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field override
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:26	3192	[DEBUG]	Use field value for field slug
2023-10-13	13:20:26	3192	[DEBUG]	Process line 3192
2023-10-13	13:20:26	3192	[DEBUG]	Load a row
2023-10-13	13:20:26	3192	[DEBUG]	Processing item: A_9192_207
2023-10-13	13:20:26	3192	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:26	3192	[DEBUG]	Processing product tax
2023-10-13	13:20:26	3192	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:26	3192	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:26	3192	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:26	3192	[DEBUG]	Query for Product
2023-10-13	13:20:26	3192	[DEBUG]	Executed store
2023-10-13	13:20:26	3192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9192_207','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:26	3192	[DEBUG]	Check product language entry
2023-10-13	13:20:26	3192	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862684
2023-10-13	13:20:26	3192	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:26	3192	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9192_207' AND `virtuemart_product_id` != 1862684
2023-10-13	13:20:26	3192	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:26	3192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862684, 'A_9192_207')
2023-10-13	13:20:26	3192	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:26	3192	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'muc-off-tubeless-kit-de-reparation-muc-off-pink' AND `virtuemart_product_id` != 1862684
2023-10-13	13:20:26	3192	[DEBUG]	Query for ProductLang
2023-10-13	13:20:26	3192	[DEBUG]	Executed store
2023-10-13	13:20:26	3192	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 492-039-720301',`product_name`='Muc-Off Tubeless kit de réparation Muc-Off  / Pink',`metadesc`='',`metakey`='',`customtitle`='',`slug`='muc-off-tubeless-kit-de-reparation-muc-off-pink' WHERE `virtuemart_product_id` = '1862684'
2023-10-13	13:20:26	3192	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38263_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:26	3192	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:20:26	3192	[DEBUG]	Process image file
2023-10-13	13:20:26	3192	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:20:26	3192	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:26	3192	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38263_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:26	3192	[DEBUG]	Full name target: bcprisme/38263_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:27	3192	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:27	3192	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38263_tubeless_kit_de_reparation_muc-off_.jpg'
2023-10-13	13:20:27	3192	[DEBUG]	Query for Media
2023-10-13	13:20:27	3192	[DEBUG]	Executed store
2023-10-13	13:20:27	3192	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38263_tubeless_kit_de_reparation_muc-off_.jpg',`file_url_thumb`='bcprisme/38263_tubeless_kit_de_reparation_muc-off_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1337936'
2023-10-13	13:20:27	3192	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:27	3192	[DEBUG]	Executed store
2023-10-13	13:20:27	3192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862684','1337936','1')
2023-10-13	13:20:27	3192	[DEBUG]	Store product image relation
2023-10-13	13:20:27	3192	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:27	3192	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862684 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:27	3192	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:27	3192	[DEBUG]	Executed store
2023-10-13	13:20:27	3192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862684','0','52.8319405756732','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:27	3192	[DEBUG]	Checking manufacturer
2023-10-13	13:20:27	3192	[DEBUG]	Load a row
2023-10-13	13:20:27	3192	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:27	3192	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:20:27	3192	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:27	3192	[DEBUG]	Executed store
2023-10-13	13:20:27	3192	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52681237990' WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:20:27	3192	[DEBUG]	Manufacturer exists
2023-10-13	13:20:27	3192	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 133
2023-10-13	13:20:27	3192	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:27	3192	[DEBUG]	Executed store
2023-10-13	13:20:27	3192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862684','133')
2023-10-13	13:20:27	3192	[DEBUG]	Find the custom field ID
2023-10-13	13:20:27	3192	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:27	3192	[DEBUG]	No custom field ID found
2023-10-13	13:20:27	3192	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:27	3192	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:20:27	3192	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862684 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:27	3192	[DEBUG]	Store custom available field
2023-10-13	13:20:27	3192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862684,3,'0',1)
2023-10-13	13:20:27	3192	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:27	3192	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:27	3192	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862684 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:27	3192	[DEBUG]	Store custom available field
2023-10-13	13:20:27	3192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862684,6,'choisir la taille',3)
2023-10-13	13:20:27	3192	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:27	3192	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:27	3192	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:27	3192	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:27	3192	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862684 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:27	3192	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:27	3192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862684,8,1)
2023-10-13	13:20:27	3192	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:27	3192	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862684\":[1862684,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862684
2023-10-13	13:20:27	3192	[DEBUG]	Checking category
2023-10-13	13:20:27	3192	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:27	3192	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862684
2023-10-13	13:20:27	3192	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:27	3192	[DEBUG]	Executed store
2023-10-13	13:20:27	3192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862684','7369')
2023-10-13	13:20:27	3192	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:27	3192	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862684 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:27	3192	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:27	3192	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862684
2023-10-13	13:20:27	3193	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:27	3193	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:27	3193	[DEBUG]	Use field value for field taille
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:27	3193	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:27	3193	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:27	3193	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:27	3193	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:27	3193	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:27	3193	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:27	3193	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:27	3193	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:27	3193	[DEBUG]	Use field value for field published
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:27	3193	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field override
2023-10-13	13:20:27	3193	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:27	3193	[DEBUG]	Use field value for field slug
2023-10-13	13:20:27	3193	[DEBUG]	Process line 3193
2023-10-13	13:20:27	3193	[DEBUG]	Load a row
2023-10-13	13:20:27	3193	[DEBUG]	Processing item: 5037835207996
2023-10-13	13:20:27	3193	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:27	3193	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:27	3193	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9192_207'
2023-10-13	13:20:27	3193	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:27	3193	[DEBUG]	Processing product tax
2023-10-13	13:20:27	3193	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:27	3193	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:27	3193	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:27	3193	[DEBUG]	Query for Product
2023-10-13	13:20:27	3193	[DEBUG]	Executed store
2023-10-13	13:20:27	3193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862684','5037835207996','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:27	3193	[DEBUG]	No parent found
2023-10-13	13:20:27	3193	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862684 AND customfield_value = 'stockable'
2023-10-13	13:20:27	3193	[DEBUG]	Check product language entry
2023-10-13	13:20:27	3193	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862685
2023-10-13	13:20:27	3193	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:27	3193	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '5037835207996' AND `virtuemart_product_id` != 1862685
2023-10-13	13:20:27	3193	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:27	3193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862685, '5037835207996')
2023-10-13	13:20:27	3193	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:27	3193	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'muc-off-tubeless-kit-de-reparation-muc-off-pink-unitaire' AND `virtuemart_product_id` != 1862685
2023-10-13	13:20:27	3193	[DEBUG]	Query for ProductLang
2023-10-13	13:20:27	3193	[DEBUG]	Executed store
2023-10-13	13:20:27	3193	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Muc-Off Tubeless kit de réparation Muc-Off  / Pink (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='muc-off-tubeless-kit-de-reparation-muc-off-pink-unitaire' WHERE `virtuemart_product_id` = '1862685'
2023-10-13	13:20:27	3193	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38263_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:27	3193	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:20:27	3193	[DEBUG]	Process image file
2023-10-13	13:20:27	3193	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:20:27	3193	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:27	3193	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38263_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:27	3193	[DEBUG]	Full name target: bcprisme/38263_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:28	3193	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:28	3193	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38263_tubeless_kit_de_reparation_muc-off_.jpg'
2023-10-13	13:20:28	3193	[DEBUG]	Query for Media
2023-10-13	13:20:28	3193	[DEBUG]	Executed store
2023-10-13	13:20:28	3193	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38263_tubeless_kit_de_reparation_muc-off_.jpg',`file_url_thumb`='bcprisme/38263_tubeless_kit_de_reparation_muc-off_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1337936'
2023-10-13	13:20:28	3193	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:28	3193	[DEBUG]	Executed store
2023-10-13	13:20:28	3193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862685','1337936','1')
2023-10-13	13:20:28	3193	[DEBUG]	Store product image relation
2023-10-13	13:20:28	3193	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:28	3193	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862685 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:28	3193	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:28	3193	[DEBUG]	Executed store
2023-10-13	13:20:28	3193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862685','0','52.8319405756732','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:28	3193	[DEBUG]	Checking manufacturer
2023-10-13	13:20:28	3193	[DEBUG]	Load a row
2023-10-13	13:20:28	3193	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:28	3193	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:20:28	3193	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:28	3193	[DEBUG]	Executed store
2023-10-13	13:20:28	3193	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52681237990' WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:20:28	3193	[DEBUG]	Manufacturer exists
2023-10-13	13:20:28	3193	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 133
2023-10-13	13:20:28	3193	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:28	3193	[DEBUG]	Executed store
2023-10-13	13:20:28	3193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862685','133')
2023-10-13	13:20:28	3193	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:28	3193	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:28	3193	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862685 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:28	3193	[DEBUG]	Store custom available field
2023-10-13	13:20:28	3193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862685,3,'',1)
2023-10-13	13:20:28	3193	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:28	3193	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:28	3193	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862685 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:28	3193	[DEBUG]	Store custom available field
2023-10-13	13:20:28	3193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862685,6,'Unitaire',3)
2023-10-13	13:20:28	3193	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:28	3193	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:28	3193	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862684
2023-10-13	13:20:28	3193	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:28	3193	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862684\":[1862684,8,1,\"choisir la taille\"],\"1862685\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862684
2023-10-13	13:20:28	3193	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:28	3193	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862685
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:28	3194	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field taille
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:28	3194	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:28	3194	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:28	3194	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:28	3194	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:28	3194	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:28	3194	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field published
2023-10-13	13:20:28	3194	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:28	3194	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field override
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:28	3194	[DEBUG]	Use field value for field slug
2023-10-13	13:20:28	3194	[DEBUG]	Process line 3194
2023-10-13	13:20:28	3194	[DEBUG]	Load a row
2023-10-13	13:20:28	3194	[DEBUG]	Processing item: A_9192_745
2023-10-13	13:20:28	3194	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:28	3194	[DEBUG]	Processing product tax
2023-10-13	13:20:28	3194	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:28	3194	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:28	3194	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:28	3194	[DEBUG]	Query for Product
2023-10-13	13:20:28	3194	[DEBUG]	Executed store
2023-10-13	13:20:28	3194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9192_745','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:28	3194	[DEBUG]	Check product language entry
2023-10-13	13:20:28	3194	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862686
2023-10-13	13:20:28	3194	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:28	3194	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9192_745' AND `virtuemart_product_id` != 1862686
2023-10-13	13:20:28	3194	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:28	3194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862686, 'A_9192_745')
2023-10-13	13:20:28	3194	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:28	3194	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'muc-off-tubeless-kit-de-reparation-muc-off-iridescent-purple-white' AND `virtuemart_product_id` != 1862686
2023-10-13	13:20:28	3194	[DEBUG]	Query for ProductLang
2023-10-13	13:20:28	3194	[DEBUG]	Executed store
2023-10-13	13:20:28	3194	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 492-039-720301',`product_name`='Muc-Off Tubeless kit de réparation Muc-Off  / Iridescent Purple/White',`metadesc`='',`metakey`='',`customtitle`='',`slug`='muc-off-tubeless-kit-de-reparation-muc-off-iridescent-purple-white' WHERE `virtuemart_product_id` = '1862686'
2023-10-13	13:20:28	3194	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39077_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:28	3194	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:20:28	3194	[DEBUG]	Process image file
2023-10-13	13:20:28	3194	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:20:28	3194	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:28	3194	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39077_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:28	3194	[DEBUG]	Full name target: bcprisme/39077_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:29	3194	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:29	3194	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39077_tubeless_kit_de_reparation_muc-off_.jpg'
2023-10-13	13:20:29	3194	[DEBUG]	Query for Media
2023-10-13	13:20:29	3194	[DEBUG]	Executed store
2023-10-13	13:20:29	3194	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39077_tubeless_kit_de_reparation_muc-off_.jpg',`file_url_thumb`='bcprisme/39077_tubeless_kit_de_reparation_muc-off_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1525780'
2023-10-13	13:20:29	3194	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:29	3194	[DEBUG]	Executed store
2023-10-13	13:20:29	3194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862686','1525780','1')
2023-10-13	13:20:29	3194	[DEBUG]	Store product image relation
2023-10-13	13:20:29	3194	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:29	3194	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862686 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:29	3194	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:29	3194	[DEBUG]	Executed store
2023-10-13	13:20:29	3194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862686','0','52.8319405756732','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:29	3194	[DEBUG]	Checking manufacturer
2023-10-13	13:20:29	3194	[DEBUG]	Load a row
2023-10-13	13:20:29	3194	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:29	3194	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:20:29	3194	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:29	3194	[DEBUG]	Executed store
2023-10-13	13:20:29	3194	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52681237990' WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:20:29	3194	[DEBUG]	Manufacturer exists
2023-10-13	13:20:29	3194	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 133
2023-10-13	13:20:29	3194	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:29	3194	[DEBUG]	Executed store
2023-10-13	13:20:29	3194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862686','133')
2023-10-13	13:20:29	3194	[DEBUG]	Find the custom field ID
2023-10-13	13:20:29	3194	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:29	3194	[DEBUG]	No custom field ID found
2023-10-13	13:20:29	3194	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:29	3194	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:20:29	3194	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862686 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:29	3194	[DEBUG]	Store custom available field
2023-10-13	13:20:29	3194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862686,3,'0',1)
2023-10-13	13:20:29	3194	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:29	3194	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:29	3194	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862686 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:29	3194	[DEBUG]	Store custom available field
2023-10-13	13:20:29	3194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862686,6,'choisir la taille',3)
2023-10-13	13:20:29	3194	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:29	3194	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:29	3194	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:29	3194	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:29	3194	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862686 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:29	3194	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:29	3194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862686,8,1)
2023-10-13	13:20:29	3194	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:29	3194	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862686\":[1862686,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862686
2023-10-13	13:20:29	3194	[DEBUG]	Checking category
2023-10-13	13:20:29	3194	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:29	3194	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862686
2023-10-13	13:20:29	3194	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:29	3194	[DEBUG]	Executed store
2023-10-13	13:20:29	3194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862686','7369')
2023-10-13	13:20:29	3194	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:29	3194	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862686 AND `virtuemart_category_id` NOT IN (7369)
2023-10-13	13:20:29	3194	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:29	3194	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862686
2023-10-13	13:20:29	3195	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:29	3195	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:29	3195	[DEBUG]	Use field value for field taille
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:29	3195	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:29	3195	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:29	3195	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:29	3195	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:29	3195	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:29	3195	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:29	3195	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:29	3195	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:29	3195	[DEBUG]	Use field value for field published
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:29	3195	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field override
2023-10-13	13:20:29	3195	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:29	3195	[DEBUG]	Use field value for field slug
2023-10-13	13:20:29	3195	[DEBUG]	Process line 3195
2023-10-13	13:20:29	3195	[DEBUG]	Load a row
2023-10-13	13:20:29	3195	[DEBUG]	Processing item: 5037835208023
2023-10-13	13:20:29	3195	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:29	3195	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:29	3195	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9192_745'
2023-10-13	13:20:29	3195	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:29	3195	[DEBUG]	Processing product tax
2023-10-13	13:20:29	3195	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:29	3195	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:29	3195	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:29	3195	[DEBUG]	Query for Product
2023-10-13	13:20:29	3195	[DEBUG]	Executed store
2023-10-13	13:20:29	3195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862686','5037835208023','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:29	3195	[DEBUG]	No parent found
2023-10-13	13:20:29	3195	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862686 AND customfield_value = 'stockable'
2023-10-13	13:20:29	3195	[DEBUG]	Check product language entry
2023-10-13	13:20:29	3195	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862687
2023-10-13	13:20:29	3195	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:29	3195	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '5037835208023' AND `virtuemart_product_id` != 1862687
2023-10-13	13:20:29	3195	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:29	3195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862687, '5037835208023')
2023-10-13	13:20:29	3195	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:29	3195	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'muc-off-tubeless-kit-de-reparation-muc-off-iridescent-purple-white-unitaire' AND `virtuemart_product_id` != 1862687
2023-10-13	13:20:29	3195	[DEBUG]	Query for ProductLang
2023-10-13	13:20:29	3195	[DEBUG]	Executed store
2023-10-13	13:20:29	3195	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Muc-Off Tubeless kit de réparation Muc-Off  / Iridescent Purple/White (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='muc-off-tubeless-kit-de-reparation-muc-off-iridescent-purple-white-unitaire' WHERE `virtuemart_product_id` = '1862687'
2023-10-13	13:20:29	3195	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39077_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:29	3195	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:20:29	3195	[DEBUG]	Process image file
2023-10-13	13:20:29	3195	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:20:29	3195	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:29	3195	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39077_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:29	3195	[DEBUG]	Full name target: bcprisme/39077_tubeless_kit_de_reparation_muc-off_.jpg
2023-10-13	13:20:30	3195	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:30	3195	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39077_tubeless_kit_de_reparation_muc-off_.jpg'
2023-10-13	13:20:30	3195	[DEBUG]	Query for Media
2023-10-13	13:20:30	3195	[DEBUG]	Executed store
2023-10-13	13:20:30	3195	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39077_tubeless_kit_de_reparation_muc-off_.jpg',`file_url_thumb`='bcprisme/39077_tubeless_kit_de_reparation_muc-off_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1525780'
2023-10-13	13:20:30	3195	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:30	3195	[DEBUG]	Executed store
2023-10-13	13:20:30	3195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862687','1525780','1')
2023-10-13	13:20:30	3195	[DEBUG]	Store product image relation
2023-10-13	13:20:30	3195	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:30	3195	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862687 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:30	3195	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:30	3195	[DEBUG]	Executed store
2023-10-13	13:20:30	3195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862687','0','52.8319405756732','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:30	3195	[DEBUG]	Checking manufacturer
2023-10-13	13:20:30	3195	[DEBUG]	Load a row
2023-10-13	13:20:30	3195	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:30	3195	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:20:30	3195	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:30	3195	[DEBUG]	Executed store
2023-10-13	13:20:30	3195	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52681237990' WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:20:30	3195	[DEBUG]	Manufacturer exists
2023-10-13	13:20:30	3195	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 133
2023-10-13	13:20:30	3195	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:30	3195	[DEBUG]	Executed store
2023-10-13	13:20:30	3195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862687','133')
2023-10-13	13:20:30	3195	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:30	3195	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:30	3195	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862687 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:30	3195	[DEBUG]	Store custom available field
2023-10-13	13:20:30	3195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862687,3,'',1)
2023-10-13	13:20:30	3195	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:30	3195	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:30	3195	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862687 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:30	3195	[DEBUG]	Store custom available field
2023-10-13	13:20:30	3195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862687,6,'Unitaire',3)
2023-10-13	13:20:30	3195	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:30	3195	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:30	3195	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862686
2023-10-13	13:20:30	3195	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:30	3195	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862686\":[1862686,8,1,\"choisir la taille\"],\"1862687\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862686
2023-10-13	13:20:30	3195	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:30	3195	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862687
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:30	3196	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field taille
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:30	3196	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:30	3196	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:30	3196	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:30	3196	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:30	3196	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:30	3196	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field published
2023-10-13	13:20:30	3196	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:30	3196	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field override
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:30	3196	[DEBUG]	Use field value for field slug
2023-10-13	13:20:30	3196	[DEBUG]	Process line 3196
2023-10-13	13:20:30	3196	[DEBUG]	Load a row
2023-10-13	13:20:30	3196	[DEBUG]	Processing item: A_42_3
2023-10-13	13:20:30	3196	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:30	3196	[DEBUG]	Processing product tax
2023-10-13	13:20:30	3196	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:30	3196	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:30	3196	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:30	3196	[DEBUG]	Query for Product
2023-10-13	13:20:30	3196	[DEBUG]	Executed store
2023-10-13	13:20:30	3196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_42_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:30	3196	[DEBUG]	Check product language entry
2023-10-13	13:20:30	3196	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862688
2023-10-13	13:20:30	3196	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:30	3196	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_42_3' AND `virtuemart_product_id` != 1862688
2023-10-13	13:20:30	3196	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:30	3196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862688, 'A_42_3')
2023-10-13	13:20:30	3196	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:30	3196	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-graisse-pour-roulements-rsp-ultra-grease-1000gr-none' AND `virtuemart_product_id` != 1862688
2023-10-13	13:20:30	3196	[DEBUG]	Query for ProductLang
2023-10-13	13:20:30	3196	[DEBUG]	Executed store
2023-10-13	13:20:30	3196	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Graisse 1 kg au PTFE spécialement concue pour les roulements à billes subissants de fortes pressions. Hydrophobe (repousse l\'eau) et excellemente protection contre la corrosion<br>N° art fourn : 62007',`product_name`='MLV-Bike Graisse pour roulements RSP Ultra Grease 1000gr / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-graisse-pour-roulements-rsp-ultra-grease-1000gr-none' WHERE `virtuemart_product_id` = '1862688'
2023-10-13	13:20:30	3196	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/42_graisse_pour_roulements_rsp_ultra_grease_1000gr.jpg
2023-10-13	13:20:30	3196	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:30	3196	[DEBUG]	Process image file
2023-10-13	13:20:30	3196	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:30	3196	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:30	3196	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/42_graisse_pour_roulements_rsp_ultra_grease_1000gr.jpg
2023-10-13	13:20:30	3196	[DEBUG]	Full name target: bcprisme/42_graisse_pour_roulements_rsp_ultra_grease_1000gr.jpg
2023-10-13	13:20:31	3196	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:31	3196	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/42_graisse_pour_roulements_rsp_ultra_grease_1000gr.jpg'
2023-10-13	13:20:31	3196	[DEBUG]	Query for Media
2023-10-13	13:20:31	3196	[DEBUG]	Executed store
2023-10-13	13:20:31	3196	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/42_graisse_pour_roulements_rsp_ultra_grease_1000gr.jpg',`file_url_thumb`='bcprisme/42_graisse_pour_roulements_rsp_ultra_grease_1000gr.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437417'
2023-10-13	13:20:31	3196	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:31	3196	[DEBUG]	Executed store
2023-10-13	13:20:31	3196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862688','437417','1')
2023-10-13	13:20:31	3196	[DEBUG]	Store product image relation
2023-10-13	13:20:31	3196	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:31	3196	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862688 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:31	3196	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:31	3196	[DEBUG]	Executed store
2023-10-13	13:20:31	3196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862688','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:31	3196	[DEBUG]	Checking manufacturer
2023-10-13	13:20:31	3196	[DEBUG]	Load a row
2023-10-13	13:20:31	3196	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:31	3196	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:20:31	3196	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:31	3196	[DEBUG]	Executed store
2023-10-13	13:20:31	3196	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:20:31	3196	[DEBUG]	Manufacturer exists
2023-10-13	13:20:31	3196	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:20:31	3196	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:31	3196	[DEBUG]	Executed store
2023-10-13	13:20:31	3196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862688','2')
2023-10-13	13:20:31	3196	[DEBUG]	Find the custom field ID
2023-10-13	13:20:31	3196	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:31	3196	[DEBUG]	No custom field ID found
2023-10-13	13:20:31	3196	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:31	3196	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	13:20:31	3196	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862688 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:31	3196	[DEBUG]	Store custom available field
2023-10-13	13:20:31	3196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862688,3,'49.7613888888889',1)
2023-10-13	13:20:31	3196	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:31	3196	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:31	3196	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862688 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:31	3196	[DEBUG]	Store custom available field
2023-10-13	13:20:31	3196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862688,6,'choisir la taille',3)
2023-10-13	13:20:31	3196	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:31	3196	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:31	3196	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:31	3196	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:31	3196	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862688 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:31	3196	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:31	3196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862688,8,1)
2023-10-13	13:20:31	3196	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:31	3196	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862688\":[1862688,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862688
2023-10-13	13:20:31	3196	[DEBUG]	Checking category
2023-10-13	13:20:31	3196	[DEBUG]	Check if category path exists: LUBRIFIANTS ET NETTOYANTS - REINIGUNGS UND SCHMIERMITTEL
2023-10-13	13:20:31	3196	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'LUBRIFIANTS ET NETTOYANTS - REINIGUNGS UND SCHMIERMITTEL' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:20:31	3196	[DEBUG]	Check if category path exists: LUBRIFIANTS ET NETTOYANTS - REINIGUNGS UND SCHMIERMITTEL
2023-10-13	13:20:31	3196	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'LUBRIFIANTS ET NETTOYANTS - REINIGUNGS UND SCHMIERMITTEL' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7370
2023-10-13	13:20:31	3196	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:31	3196	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862688
2023-10-13	13:20:31	3196	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:31	3196	[DEBUG]	Executed store
2023-10-13	13:20:31	3196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862688','7371')
2023-10-13	13:20:31	3196	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:31	3196	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862688 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:20:31	3196	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:31	3196	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862688
2023-10-13	13:20:31	3197	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:31	3197	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:31	3197	[DEBUG]	Use field value for field taille
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:31	3197	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:31	3197	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:31	3197	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:31	3197	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:31	3197	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:31	3197	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:31	3197	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:31	3197	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:31	3197	[DEBUG]	Use field value for field published
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:31	3197	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field override
2023-10-13	13:20:31	3197	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:31	3197	[DEBUG]	Use field value for field slug
2023-10-13	13:20:31	3197	[DEBUG]	Process line 3197
2023-10-13	13:20:31	3197	[DEBUG]	Load a row
2023-10-13	13:20:31	3197	[DEBUG]	Processing item: 1000000000429
2023-10-13	13:20:31	3197	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:31	3197	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:31	3197	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_42_3'
2023-10-13	13:20:31	3197	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:31	3197	[DEBUG]	Processing product tax
2023-10-13	13:20:31	3197	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:31	3197	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:31	3197	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:31	3197	[DEBUG]	Query for Product
2023-10-13	13:20:31	3197	[DEBUG]	Executed store
2023-10-13	13:20:31	3197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862688','1000000000429','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:31	3197	[DEBUG]	No parent found
2023-10-13	13:20:31	3197	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862688 AND customfield_value = 'stockable'
2023-10-13	13:20:31	3197	[DEBUG]	Check product language entry
2023-10-13	13:20:31	3197	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862689
2023-10-13	13:20:31	3197	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:31	3197	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000000429' AND `virtuemart_product_id` != 1862689
2023-10-13	13:20:31	3197	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:31	3197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862689, '1000000000429')
2023-10-13	13:20:31	3197	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:31	3197	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-graisse-pour-roulements-rsp-ultra-grease-1000gr-none-unitaire' AND `virtuemart_product_id` != 1862689
2023-10-13	13:20:31	3197	[DEBUG]	Query for ProductLang
2023-10-13	13:20:31	3197	[DEBUG]	Executed store
2023-10-13	13:20:31	3197	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Graisse pour roulements RSP Ultra Grease 1000gr / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-graisse-pour-roulements-rsp-ultra-grease-1000gr-none-unitaire' WHERE `virtuemart_product_id` = '1862689'
2023-10-13	13:20:31	3197	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/42_graisse_pour_roulements_rsp_ultra_grease_1000gr.jpg
2023-10-13	13:20:31	3197	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:31	3197	[DEBUG]	Process image file
2023-10-13	13:20:31	3197	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:31	3197	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:31	3197	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/42_graisse_pour_roulements_rsp_ultra_grease_1000gr.jpg
2023-10-13	13:20:31	3197	[DEBUG]	Full name target: bcprisme/42_graisse_pour_roulements_rsp_ultra_grease_1000gr.jpg
2023-10-13	13:20:32	3197	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:32	3197	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/42_graisse_pour_roulements_rsp_ultra_grease_1000gr.jpg'
2023-10-13	13:20:32	3197	[DEBUG]	Query for Media
2023-10-13	13:20:32	3197	[DEBUG]	Executed store
2023-10-13	13:20:32	3197	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/42_graisse_pour_roulements_rsp_ultra_grease_1000gr.jpg',`file_url_thumb`='bcprisme/42_graisse_pour_roulements_rsp_ultra_grease_1000gr.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437417'
2023-10-13	13:20:32	3197	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:32	3197	[DEBUG]	Executed store
2023-10-13	13:20:32	3197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862689','437417','1')
2023-10-13	13:20:32	3197	[DEBUG]	Store product image relation
2023-10-13	13:20:32	3197	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:32	3197	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862689 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:32	3197	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:32	3197	[DEBUG]	Executed store
2023-10-13	13:20:32	3197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862689','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:32	3197	[DEBUG]	Checking manufacturer
2023-10-13	13:20:32	3197	[DEBUG]	Load a row
2023-10-13	13:20:32	3197	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:32	3197	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:20:32	3197	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:32	3197	[DEBUG]	Executed store
2023-10-13	13:20:32	3197	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:20:32	3197	[DEBUG]	Manufacturer exists
2023-10-13	13:20:32	3197	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:20:32	3197	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:32	3197	[DEBUG]	Executed store
2023-10-13	13:20:32	3197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862689','2')
2023-10-13	13:20:32	3197	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:32	3197	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:32	3197	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862689 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:32	3197	[DEBUG]	Store custom available field
2023-10-13	13:20:32	3197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862689,3,'',1)
2023-10-13	13:20:32	3197	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:32	3197	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:32	3197	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862689 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:32	3197	[DEBUG]	Store custom available field
2023-10-13	13:20:32	3197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862689,6,'Unitaire',3)
2023-10-13	13:20:32	3197	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:32	3197	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:32	3197	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862688
2023-10-13	13:20:32	3197	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:32	3197	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862688\":[1862688,8,1,\"choisir la taille\"],\"1862689\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862688
2023-10-13	13:20:32	3197	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:32	3197	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862689
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:32	3198	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field taille
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:32	3198	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:32	3198	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:32	3198	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:32	3198	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:32	3198	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:32	3198	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field published
2023-10-13	13:20:32	3198	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:32	3198	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field override
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:32	3198	[DEBUG]	Use field value for field slug
2023-10-13	13:20:32	3198	[DEBUG]	Process line 3198
2023-10-13	13:20:32	3198	[DEBUG]	Load a row
2023-10-13	13:20:32	3198	[DEBUG]	Processing item: A_44_3
2023-10-13	13:20:32	3198	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:32	3198	[DEBUG]	Processing product tax
2023-10-13	13:20:32	3198	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:32	3198	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:32	3198	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:32	3198	[DEBUG]	Query for Product
2023-10-13	13:20:32	3198	[DEBUG]	Executed store
2023-10-13	13:20:32	3198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_44_3','0.054','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:32	3198	[DEBUG]	Check product language entry
2023-10-13	13:20:32	3198	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862690
2023-10-13	13:20:32	3198	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:32	3198	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_44_3' AND `virtuemart_product_id` != 1862690
2023-10-13	13:20:32	3198	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:32	3198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862690, 'A_44_3')
2023-10-13	13:20:32	3198	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:32	3198	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-graisse-pour-visserie-titane-blue-grease-50-gr-none' AND `virtuemart_product_id` != 1862690
2023-10-13	13:20:32	3198	[DEBUG]	Query for ProductLang
2023-10-13	13:20:32	3198	[DEBUG]	Executed store
2023-10-13	13:20:32	3198	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Graisse 50gr, pour visserie titane<br>N° art fourn : 62048',`product_name`='MLV-Bike Graisse pour visserie titane Blue Grease 50 gr  / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-graisse-pour-visserie-titane-blue-grease-50-gr-none' WHERE `virtuemart_product_id` = '1862690'
2023-10-13	13:20:32	3198	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_44.jpg
2023-10-13	13:20:32	3198	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:20:32	3198	[DEBUG]	Process image file
2023-10-13	13:20:32	3198	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:20:32	3198	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:32	3198	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_44.jpg
2023-10-13	13:20:32	3198	[DEBUG]	Full name target: bcprisme/image_44.jpg
2023-10-13	13:20:34	3198	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:34	3198	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_44.jpg'
2023-10-13	13:20:34	3198	[DEBUG]	Query for Media
2023-10-13	13:20:34	3198	[DEBUG]	Executed store
2023-10-13	13:20:34	3198	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_44.jpg',`file_url_thumb`='bcprisme/image_44.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381128'
2023-10-13	13:20:34	3198	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:34	3198	[DEBUG]	Executed store
2023-10-13	13:20:34	3198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862690','381128','1')
2023-10-13	13:20:34	3198	[DEBUG]	Store product image relation
2023-10-13	13:20:34	3198	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:34	3198	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862690 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:34	3198	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:34	3198	[DEBUG]	Executed store
2023-10-13	13:20:34	3198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862690','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:34	3198	[DEBUG]	Checking manufacturer
2023-10-13	13:20:34	3198	[DEBUG]	Load a row
2023-10-13	13:20:34	3198	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:34	3198	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:20:34	3198	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:34	3198	[DEBUG]	Executed store
2023-10-13	13:20:34	3198	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:20:34	3198	[DEBUG]	Manufacturer exists
2023-10-13	13:20:34	3198	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:20:34	3198	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:34	3198	[DEBUG]	Executed store
2023-10-13	13:20:34	3198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862690','2')
2023-10-13	13:20:34	3198	[DEBUG]	Find the custom field ID
2023-10-13	13:20:34	3198	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:34	3198	[DEBUG]	No custom field ID found
2023-10-13	13:20:34	3198	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:34	3198	[DEBUG]	Get existing row with customfield value 18.8475
2023-10-13	13:20:34	3198	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862690 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:34	3198	[DEBUG]	Store custom available field
2023-10-13	13:20:34	3198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862690,3,'18.8475',1)
2023-10-13	13:20:34	3198	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:34	3198	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:34	3198	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862690 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:34	3198	[DEBUG]	Store custom available field
2023-10-13	13:20:34	3198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862690,6,'choisir la taille',3)
2023-10-13	13:20:34	3198	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:34	3198	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:34	3198	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:34	3198	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:34	3198	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862690 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:34	3198	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:34	3198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862690,8,1)
2023-10-13	13:20:34	3198	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:34	3198	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862690\":[1862690,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862690
2023-10-13	13:20:34	3198	[DEBUG]	Checking category
2023-10-13	13:20:34	3198	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:34	3198	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862690
2023-10-13	13:20:34	3198	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:34	3198	[DEBUG]	Executed store
2023-10-13	13:20:34	3198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862690','7371')
2023-10-13	13:20:34	3198	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:34	3198	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862690 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:20:34	3198	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:34	3198	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862690
2023-10-13	13:20:34	3199	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:34	3199	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:34	3199	[DEBUG]	Use field value for field taille
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:34	3199	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:34	3199	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:34	3199	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:34	3199	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:34	3199	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:34	3199	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:34	3199	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:34	3199	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:34	3199	[DEBUG]	Use field value for field published
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:34	3199	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field override
2023-10-13	13:20:34	3199	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:34	3199	[DEBUG]	Use field value for field slug
2023-10-13	13:20:34	3199	[DEBUG]	Process line 3199
2023-10-13	13:20:34	3199	[DEBUG]	Load a row
2023-10-13	13:20:34	3199	[DEBUG]	Processing item: 1000000000443
2023-10-13	13:20:34	3199	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:34	3199	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:34	3199	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_44_3'
2023-10-13	13:20:34	3199	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:34	3199	[DEBUG]	Processing product tax
2023-10-13	13:20:34	3199	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:34	3199	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:34	3199	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:34	3199	[DEBUG]	Query for Product
2023-10-13	13:20:34	3199	[DEBUG]	Executed store
2023-10-13	13:20:34	3199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862690','1000000000443','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:34	3199	[DEBUG]	No parent found
2023-10-13	13:20:34	3199	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862690 AND customfield_value = 'stockable'
2023-10-13	13:20:34	3199	[DEBUG]	Check product language entry
2023-10-13	13:20:34	3199	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862691
2023-10-13	13:20:34	3199	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:34	3199	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000000443' AND `virtuemart_product_id` != 1862691
2023-10-13	13:20:34	3199	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:34	3199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862691, '1000000000443')
2023-10-13	13:20:34	3199	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:34	3199	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-graisse-pour-visserie-titane-blue-grease-50-gr-none-unitaire' AND `virtuemart_product_id` != 1862691
2023-10-13	13:20:34	3199	[DEBUG]	Query for ProductLang
2023-10-13	13:20:34	3199	[DEBUG]	Executed store
2023-10-13	13:20:34	3199	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Graisse pour visserie titane Blue Grease 50 gr  / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-graisse-pour-visserie-titane-blue-grease-50-gr-none-unitaire' WHERE `virtuemart_product_id` = '1862691'
2023-10-13	13:20:34	3199	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_44.jpg
2023-10-13	13:20:34	3199	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:20:34	3199	[DEBUG]	Process image file
2023-10-13	13:20:34	3199	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:20:34	3199	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:34	3199	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_44.jpg
2023-10-13	13:20:34	3199	[DEBUG]	Full name target: bcprisme/image_44.jpg
2023-10-13	13:20:35	3199	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:35	3199	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_44.jpg'
2023-10-13	13:20:35	3199	[DEBUG]	Query for Media
2023-10-13	13:20:35	3199	[DEBUG]	Executed store
2023-10-13	13:20:35	3199	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_44.jpg',`file_url_thumb`='bcprisme/image_44.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381128'
2023-10-13	13:20:35	3199	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:35	3199	[DEBUG]	Executed store
2023-10-13	13:20:35	3199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862691','381128','1')
2023-10-13	13:20:35	3199	[DEBUG]	Store product image relation
2023-10-13	13:20:35	3199	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:35	3199	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862691 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:35	3199	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:35	3199	[DEBUG]	Executed store
2023-10-13	13:20:35	3199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862691','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:35	3199	[DEBUG]	Checking manufacturer
2023-10-13	13:20:35	3199	[DEBUG]	Load a row
2023-10-13	13:20:35	3199	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:35	3199	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:20:35	3199	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:35	3199	[DEBUG]	Executed store
2023-10-13	13:20:35	3199	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:20:35	3199	[DEBUG]	Manufacturer exists
2023-10-13	13:20:35	3199	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:20:35	3199	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:35	3199	[DEBUG]	Executed store
2023-10-13	13:20:35	3199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862691','2')
2023-10-13	13:20:35	3199	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:35	3199	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:35	3199	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862691 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:35	3199	[DEBUG]	Store custom available field
2023-10-13	13:20:35	3199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862691,3,'',1)
2023-10-13	13:20:35	3199	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:35	3199	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:35	3199	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862691 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:35	3199	[DEBUG]	Store custom available field
2023-10-13	13:20:35	3199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862691,6,'Unitaire',3)
2023-10-13	13:20:35	3199	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:35	3199	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:35	3199	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862690
2023-10-13	13:20:35	3199	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:35	3199	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862690\":[1862690,8,1,\"choisir la taille\"],\"1862691\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862690
2023-10-13	13:20:35	3199	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:35	3199	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862691
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:35	3200	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field taille
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:35	3200	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:35	3200	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:35	3200	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:35	3200	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:35	3200	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:35	3200	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field published
2023-10-13	13:20:35	3200	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:35	3200	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field override
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:35	3200	[DEBUG]	Use field value for field slug
2023-10-13	13:20:35	3200	[DEBUG]	Process line 3200
2023-10-13	13:20:35	3200	[DEBUG]	Load a row
2023-10-13	13:20:35	3200	[DEBUG]	Processing item: A_1679_0
2023-10-13	13:20:35	3200	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:35	3200	[DEBUG]	Processing product tax
2023-10-13	13:20:35	3200	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:35	3200	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:35	3200	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:35	3200	[DEBUG]	Query for Product
2023-10-13	13:20:35	3200	[DEBUG]	Executed store
2023-10-13	13:20:35	3200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1679_0','0.1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0')
2023-10-13	13:20:35	3200	[DEBUG]	Check product language entry
2023-10-13	13:20:35	3200	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862692
2023-10-13	13:20:35	3200	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:35	3200	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1679_0' AND `virtuemart_product_id` != 1862692
2023-10-13	13:20:35	3200	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:35	3200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862692, 'A_1679_0')
2023-10-13	13:20:35	3200	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:35	3200	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-brunox-deo-entretien-fourche-100ml-1unite-unique' AND `virtuemart_product_id` != 1862692
2023-10-13	13:20:35	3200	[DEBUG]	Query for ProductLang
2023-10-13	13:20:35	3200	[DEBUG]	Executed store
2023-10-13	13:20:35	3200	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Brunox Deo 100 ml pour fourches, 1 unité<br>N° art fourn : BD100UNIT',`product_name`='MSC BRUNOX Deo entretien fourche 100ml (1unité) / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-brunox-deo-entretien-fourche-100ml-1unite-unique' WHERE `virtuemart_product_id` = '1862692'
2023-10-13	13:20:35	3200	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5764.jpg
2023-10-13	13:20:35	3200	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:35	3200	[DEBUG]	Process image file
2023-10-13	13:20:35	3200	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:35	3200	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:35	3200	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5764.jpg
2023-10-13	13:20:35	3200	[DEBUG]	Full name target: bcprisme/image_5764.jpg
2023-10-13	13:20:36	3200	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:36	3200	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5764.jpg'
2023-10-13	13:20:36	3200	[DEBUG]	Query for Media
2023-10-13	13:20:36	3200	[DEBUG]	Executed store
2023-10-13	13:20:36	3200	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5764.jpg',`file_url_thumb`='bcprisme/image_5764.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '177439'
2023-10-13	13:20:36	3200	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:36	3200	[DEBUG]	Executed store
2023-10-13	13:20:36	3200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862692','177439','1')
2023-10-13	13:20:36	3200	[DEBUG]	Store product image relation
2023-10-13	13:20:36	3200	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:36	3200	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862692 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:36	3200	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:36	3200	[DEBUG]	Executed store
2023-10-13	13:20:36	3200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862692','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:18:54','1593','2023-10-13 13:18:54','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:36	3200	[DEBUG]	Checking manufacturer
2023-10-13	13:20:36	3200	[DEBUG]	Load a row
2023-10-13	13:20:36	3200	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:36	3200	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:36	3200	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:36	3200	[DEBUG]	Executed store
2023-10-13	13:20:36	3200	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:36	3200	[DEBUG]	Manufacturer exists
2023-10-13	13:20:36	3200	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:20:36	3200	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:36	3200	[DEBUG]	Executed store
2023-10-13	13:20:36	3200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862692','32')
2023-10-13	13:20:36	3200	[DEBUG]	Find the custom field ID
2023-10-13	13:20:36	3200	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:36	3200	[DEBUG]	No custom field ID found
2023-10-13	13:20:36	3200	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:36	3200	[DEBUG]	Get existing row with customfield value 9.47361111111111
2023-10-13	13:20:36	3200	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862692 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:36	3200	[DEBUG]	Store custom available field
2023-10-13	13:20:36	3200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862692,3,'9.47361111111111',1)
2023-10-13	13:20:36	3200	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:36	3200	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:36	3200	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862692 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:36	3200	[DEBUG]	Store custom available field
2023-10-13	13:20:36	3200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862692,6,'choisir la taille',3)
2023-10-13	13:20:36	3200	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:36	3200	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:36	3200	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:36	3200	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:36	3200	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862692 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:36	3200	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:36	3200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862692,8,1)
2023-10-13	13:20:36	3200	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:36	3200	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862692\":[1862692,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862692
2023-10-13	13:20:36	3200	[DEBUG]	Checking category
2023-10-13	13:20:36	3200	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:36	3200	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862692
2023-10-13	13:20:36	3200	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:36	3200	[DEBUG]	Executed store
2023-10-13	13:20:36	3200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862692','7371')
2023-10-13	13:20:36	3200	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:36	3200	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862692 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:20:36	3200	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:36	3200	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862692
2023-10-13	13:20:56	3200	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:20:56	3200	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:20:56	3200	[DEBUG]	Load the fields to process
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: product_sku
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: taille
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: product_name
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: category_path
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: product_price
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: product_override_price
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: product_tax
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: file_url
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: product_desc
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: product_availability
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: product_weight
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: product_unit
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: related_products
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: product_special
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: published
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: metadesc
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: metakey
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: custom_title
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: custom_value
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: custom_param
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: override
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: public_price
2023-10-13	13:20:56	3200	[DEBUG]	Setup field: slug
2023-10-13	13:20:56	3200	[DEBUG]	Use the file for configuration
2023-10-13	13:20:56	3200	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:20:56	3200	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:20:56	3200	[DEBUG]	Load the custom fields
2023-10-13	13:20:56	3200	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:20:56	3200	[DEBUG]	Load stockable custom fields
2023-10-13	13:20:56	3200	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:20:56	3200	[DEBUG]	Load custom fields for all
2023-10-13	13:20:56	3200	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:20:56	3201	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:56	3201	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:56	3201	[DEBUG]	Use field value for field taille
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:56	3201	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:56	3201	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:56	3201	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:56	3201	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:56	3201	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:56	3201	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:56	3201	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:56	3201	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:56	3201	[DEBUG]	Use field value for field published
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:56	3201	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field override
2023-10-13	13:20:56	3201	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:56	3201	[DEBUG]	Use field value for field slug
2023-10-13	13:20:56	3201	[DEBUG]	Process line 3201
2023-10-13	13:20:56	3201	[DEBUG]	Check if the vendor exists
2023-10-13	13:20:56	3201	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '7610567953119'
2023-10-13	13:20:56	3201	[DEBUG]	Load a row
2023-10-13	13:20:56	3201	[DEBUG]	Processing item: 7610567953119
2023-10-13	13:20:56	3201	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:56	3201	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:56	3201	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1679_0'
2023-10-13	13:20:56	3201	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:56	3201	[DEBUG]	Processing product tax
2023-10-13	13:20:56	3201	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:56	3201	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:56	3201	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:56	3201	[DEBUG]	Query for Product
2023-10-13	13:20:56	3201	[DEBUG]	Executed store
2023-10-13	13:20:56	3201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862692','7610567953119','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:20:56	3201	[DEBUG]	No parent found
2023-10-13	13:20:56	3201	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862692 AND customfield_value = 'stockable'
2023-10-13	13:20:56	3201	[DEBUG]	Check product language entry
2023-10-13	13:20:56	3201	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862693
2023-10-13	13:20:56	3201	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:56	3201	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7610567953119' AND `virtuemart_product_id` != 1862693
2023-10-13	13:20:56	3201	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:56	3201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862693, '7610567953119')
2023-10-13	13:20:56	3201	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:56	3201	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-brunox-deo-entretien-fourche-100ml-1unite-unique-unitaire' AND `virtuemart_product_id` != 1862693
2023-10-13	13:20:56	3201	[DEBUG]	Query for ProductLang
2023-10-13	13:20:56	3201	[DEBUG]	Executed store
2023-10-13	13:20:56	3201	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC BRUNOX Deo entretien fourche 100ml (1unité) / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-brunox-deo-entretien-fourche-100ml-1unite-unique-unitaire' WHERE `virtuemart_product_id` = '1862693'
2023-10-13	13:20:56	3201	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5764.jpg
2023-10-13	13:20:56	3201	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:56	3201	[DEBUG]	Process image file
2023-10-13	13:20:56	3201	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:56	3201	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:56	3201	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5764.jpg
2023-10-13	13:20:56	3201	[DEBUG]	Full name target: bcprisme/image_5764.jpg
2023-10-13	13:20:57	3201	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:57	3201	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5764.jpg'
2023-10-13	13:20:57	3201	[DEBUG]	Query for Media
2023-10-13	13:20:57	3201	[DEBUG]	Executed store
2023-10-13	13:20:57	3201	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5764.jpg',`file_url_thumb`='bcprisme/image_5764.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '177439'
2023-10-13	13:20:57	3201	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:57	3201	[DEBUG]	Executed store
2023-10-13	13:20:57	3201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862693','177439','1')
2023-10-13	13:20:57	3201	[DEBUG]	Store product image relation
2023-10-13	13:20:57	3201	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:57	3201	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862693 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:57	3201	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:57	3201	[DEBUG]	Executed store
2023-10-13	13:20:57	3201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862693','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:57	3201	[DEBUG]	Checking manufacturer
2023-10-13	13:20:57	3201	[DEBUG]	Load a row
2023-10-13	13:20:57	3201	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:57	3201	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:57	3201	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:57	3201	[DEBUG]	Executed store
2023-10-13	13:20:57	3201	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:57	3201	[DEBUG]	Manufacturer exists
2023-10-13	13:20:57	3201	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:20:57	3201	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:57	3201	[DEBUG]	Executed store
2023-10-13	13:20:57	3201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862693','32')
2023-10-13	13:20:57	3201	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:57	3201	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:57	3201	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862693 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:57	3201	[DEBUG]	Store custom available field
2023-10-13	13:20:57	3201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862693,3,'',1)
2023-10-13	13:20:57	3201	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:57	3201	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:57	3201	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862693 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:57	3201	[DEBUG]	Store custom available field
2023-10-13	13:20:57	3201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862693,6,'Unitaire',3)
2023-10-13	13:20:57	3201	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:57	3201	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:57	3201	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862692
2023-10-13	13:20:57	3201	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:57	3201	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862692\":[1862692,8,1,\"choisir la taille\"],\"1862693\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862692
2023-10-13	13:20:57	3201	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:57	3201	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862693
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:57	3202	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field taille
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:57	3202	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:57	3202	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:57	3202	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:57	3202	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:57	3202	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:57	3202	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field published
2023-10-13	13:20:57	3202	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:57	3202	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field override
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:57	3202	[DEBUG]	Use field value for field slug
2023-10-13	13:20:57	3202	[DEBUG]	Process line 3202
2023-10-13	13:20:57	3202	[DEBUG]	Load a row
2023-10-13	13:20:57	3202	[DEBUG]	Processing item: A_1681_0
2023-10-13	13:20:57	3202	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:57	3202	[DEBUG]	Processing product tax
2023-10-13	13:20:57	3202	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:57	3202	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:57	3202	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:57	3202	[DEBUG]	Query for Product
2023-10-13	13:20:57	3202	[DEBUG]	Executed store
2023-10-13	13:20:57	3202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1681_0','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:20:57	3202	[DEBUG]	Check product language entry
2023-10-13	13:20:57	3202	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862694
2023-10-13	13:20:57	3202	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:57	3202	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1681_0' AND `virtuemart_product_id` != 1862694
2023-10-13	13:20:57	3202	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:57	3202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862694, 'A_1681_0')
2023-10-13	13:20:57	3202	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:57	3202	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-brunox-turbo-spray-400ml-1unite-unique' AND `virtuemart_product_id` != 1862694
2023-10-13	13:20:57	3202	[DEBUG]	Query for ProductLang
2023-10-13	13:20:57	3202	[DEBUG]	Executed store
2023-10-13	13:20:57	3202	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='BRUNOX Turbo-Spray 300ml (1unité), lubrifiant, anti-corrosion, spray de contact, nettoyant<br>N° art fourn : H0030',`product_name`='MSC BRUNOX Turbo-Spray 400ml (1unité) / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-brunox-turbo-spray-400ml-1unite-unique' WHERE `virtuemart_product_id` = '1862694'
2023-10-13	13:20:57	3202	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5766.jpg
2023-10-13	13:20:57	3202	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:57	3202	[DEBUG]	Process image file
2023-10-13	13:20:57	3202	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:57	3202	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:57	3202	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5766.jpg
2023-10-13	13:20:57	3202	[DEBUG]	Full name target: bcprisme/image_5766.jpg
2023-10-13	13:20:58	3202	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:58	3202	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5766.jpg'
2023-10-13	13:20:58	3202	[DEBUG]	Query for Media
2023-10-13	13:20:58	3202	[DEBUG]	Executed store
2023-10-13	13:20:58	3202	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5766.jpg',`file_url_thumb`='bcprisme/image_5766.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '209887'
2023-10-13	13:20:58	3202	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:58	3202	[DEBUG]	Executed store
2023-10-13	13:20:58	3202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862694','209887','1')
2023-10-13	13:20:58	3202	[DEBUG]	Store product image relation
2023-10-13	13:20:58	3202	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:58	3202	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862694 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:58	3202	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:58	3202	[DEBUG]	Executed store
2023-10-13	13:20:58	3202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862694','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:58	3202	[DEBUG]	Checking manufacturer
2023-10-13	13:20:58	3202	[DEBUG]	Load a row
2023-10-13	13:20:58	3202	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:58	3202	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:58	3202	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:58	3202	[DEBUG]	Executed store
2023-10-13	13:20:58	3202	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:58	3202	[DEBUG]	Manufacturer exists
2023-10-13	13:20:58	3202	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:20:58	3202	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:58	3202	[DEBUG]	Executed store
2023-10-13	13:20:58	3202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862694','32')
2023-10-13	13:20:58	3202	[DEBUG]	Find the custom field ID
2023-10-13	13:20:58	3202	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:20:58	3202	[DEBUG]	No custom field ID found
2023-10-13	13:20:58	3202	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:58	3202	[DEBUG]	Get existing row with customfield value 11.8669444444444
2023-10-13	13:20:58	3202	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862694 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:58	3202	[DEBUG]	Store custom available field
2023-10-13	13:20:58	3202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862694,3,'11.8669444444444',1)
2023-10-13	13:20:58	3202	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:58	3202	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:20:58	3202	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862694 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:58	3202	[DEBUG]	Store custom available field
2023-10-13	13:20:58	3202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862694,6,'choisir la taille',3)
2023-10-13	13:20:58	3202	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:58	3202	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:20:58	3202	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:20:58	3202	[DEBUG]	Find the multi variant product entry
2023-10-13	13:20:58	3202	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862694 AND `virtuemart_custom_id` = 8
2023-10-13	13:20:58	3202	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:20:58	3202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862694,8,1)
2023-10-13	13:20:58	3202	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:58	3202	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862694\":[1862694,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862694
2023-10-13	13:20:58	3202	[DEBUG]	Checking category
2023-10-13	13:20:58	3202	[DEBUG]	Check if category path exists: LUBRIFIANTS ET NETTOYANTS - REINIGUNGS UND SCHMIERMITTEL
2023-10-13	13:20:58	3202	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'LUBRIFIANTS ET NETTOYANTS - REINIGUNGS UND SCHMIERMITTEL' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:20:58	3202	[DEBUG]	Check if category path exists: LUBRIFIANTS ET NETTOYANTS - REINIGUNGS UND SCHMIERMITTEL
2023-10-13	13:20:58	3202	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'LUBRIFIANTS ET NETTOYANTS - REINIGUNGS UND SCHMIERMITTEL' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7370
2023-10-13	13:20:58	3202	[DEBUG]	Get the existing categories for the product
2023-10-13	13:20:58	3202	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862694
2023-10-13	13:20:58	3202	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:20:58	3202	[DEBUG]	Executed store
2023-10-13	13:20:58	3202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862694','7371')
2023-10-13	13:20:58	3202	[DEBUG]	Delete leftover product categories
2023-10-13	13:20:58	3202	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862694 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:20:58	3202	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:58	3202	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862694
2023-10-13	13:20:58	3203	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:58	3203	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:20:58	3203	[DEBUG]	Use field value for field taille
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:20:58	3203	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field category_path
2023-10-13	13:20:58	3203	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:58	3203	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:58	3203	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:58	3203	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:20:58	3203	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field product_weight
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:58	3203	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:58	3203	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:58	3203	[DEBUG]	Use field value for field published
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field custom_title
2023-10-13	13:20:58	3203	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field custom_param
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field override
2023-10-13	13:20:58	3203	[DEBUG]	Use default value for field public_price
2023-10-13	13:20:58	3203	[DEBUG]	Use field value for field slug
2023-10-13	13:20:58	3203	[DEBUG]	Process line 3203
2023-10-13	13:20:58	3203	[DEBUG]	Load a row
2023-10-13	13:20:58	3203	[DEBUG]	Processing item: 7610567953041
2023-10-13	13:20:58	3203	[DEBUG]	Looking for parent SKU
2023-10-13	13:20:58	3203	[DEBUG]	Checking product parent SKU
2023-10-13	13:20:58	3203	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1681_0'
2023-10-13	13:20:58	3203	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:58	3203	[DEBUG]	Processing product tax
2023-10-13	13:20:58	3203	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:58	3203	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:58	3203	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:58	3203	[DEBUG]	Query for Product
2023-10-13	13:20:58	3203	[DEBUG]	Executed store
2023-10-13	13:20:58	3203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862694','7610567953041','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:20:58	3203	[DEBUG]	No parent found
2023-10-13	13:20:58	3203	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862694 AND customfield_value = 'stockable'
2023-10-13	13:20:58	3203	[DEBUG]	Check product language entry
2023-10-13	13:20:58	3203	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862695
2023-10-13	13:20:58	3203	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:58	3203	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7610567953041' AND `virtuemart_product_id` != 1862695
2023-10-13	13:20:58	3203	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:58	3203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862695, '7610567953041')
2023-10-13	13:20:58	3203	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:58	3203	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-brunox-turbo-spray-400ml-1unite-unique-unitaire' AND `virtuemart_product_id` != 1862695
2023-10-13	13:20:58	3203	[DEBUG]	Query for ProductLang
2023-10-13	13:20:58	3203	[DEBUG]	Executed store
2023-10-13	13:20:58	3203	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC BRUNOX Turbo-Spray 400ml (1unité) / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-brunox-turbo-spray-400ml-1unite-unique-unitaire' WHERE `virtuemart_product_id` = '1862695'
2023-10-13	13:20:58	3203	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5766.jpg
2023-10-13	13:20:58	3203	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:58	3203	[DEBUG]	Process image file
2023-10-13	13:20:58	3203	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:20:58	3203	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:58	3203	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5766.jpg
2023-10-13	13:20:58	3203	[DEBUG]	Full name target: bcprisme/image_5766.jpg
2023-10-13	13:20:59	3203	[DEBUG]	Checking if the file_url exists
2023-10-13	13:20:59	3203	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5766.jpg'
2023-10-13	13:20:59	3203	[DEBUG]	Query for Media
2023-10-13	13:20:59	3203	[DEBUG]	Executed store
2023-10-13	13:20:59	3203	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5766.jpg',`file_url_thumb`='bcprisme/image_5766.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '209887'
2023-10-13	13:20:59	3203	[DEBUG]	Query for ProductMedia
2023-10-13	13:20:59	3203	[DEBUG]	Executed store
2023-10-13	13:20:59	3203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862695','209887','1')
2023-10-13	13:20:59	3203	[DEBUG]	Store product image relation
2023-10-13	13:20:59	3203	[DEBUG]	Finding a product_price_id
2023-10-13	13:20:59	3203	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862695 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:20:59	3203	[DEBUG]	Query for ProductPrice
2023-10-13	13:20:59	3203	[DEBUG]	Executed store
2023-10-13	13:20:59	3203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862695','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:20:59	3203	[DEBUG]	Checking manufacturer
2023-10-13	13:20:59	3203	[DEBUG]	Load a row
2023-10-13	13:20:59	3203	[DEBUG]	Manufacturer already exists
2023-10-13	13:20:59	3203	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:59	3203	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:20:59	3203	[DEBUG]	Executed store
2023-10-13	13:20:59	3203	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:20:59	3203	[DEBUG]	Manufacturer exists
2023-10-13	13:20:59	3203	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:20:59	3203	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:20:59	3203	[DEBUG]	Executed store
2023-10-13	13:20:59	3203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862695','32')
2023-10-13	13:20:59	3203	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:20:59	3203	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:20:59	3203	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862695 AND `virtuemart_custom_id` = 3
2023-10-13	13:20:59	3203	[DEBUG]	Store custom available field
2023-10-13	13:20:59	3203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862695,3,'',1)
2023-10-13	13:20:59	3203	[DEBUG]	Processing custom available field: taille
2023-10-13	13:20:59	3203	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:20:59	3203	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862695 AND `virtuemart_custom_id` = 6
2023-10-13	13:20:59	3203	[DEBUG]	Store custom available field
2023-10-13	13:20:59	3203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862695,6,'Unitaire',3)
2023-10-13	13:20:59	3203	[DEBUG]	Process multi-variant fields
2023-10-13	13:20:59	3203	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:20:59	3203	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862694
2023-10-13	13:20:59	3203	[DEBUG]	Store the updated customfield_params
2023-10-13	13:20:59	3203	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862694\":[1862694,8,1,\"choisir la taille\"],\"1862695\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862694
2023-10-13	13:20:59	3203	[DEBUG]	Update has fields after all processing
2023-10-13	13:20:59	3203	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862695
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field product_sku
2023-10-13	13:20:59	3204	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field taille
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field product_name
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field category_path
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field product_price
2023-10-13	13:20:59	3204	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field product_tax
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field file_url
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:20:59	3204	[DEBUG]	Use default value for field product_desc
2023-10-13	13:20:59	3204	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field product_availability
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field product_weight
2023-10-13	13:20:59	3204	[DEBUG]	Use default value for field product_unit
2023-10-13	13:20:59	3204	[DEBUG]	Use default value for field related_products
2023-10-13	13:20:59	3204	[DEBUG]	Use default value for field product_special
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field published
2023-10-13	13:20:59	3204	[DEBUG]	Use default value for field metadesc
2023-10-13	13:20:59	3204	[DEBUG]	Use default value for field metakey
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field custom_title
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field custom_value
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field custom_param
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field override
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field public_price
2023-10-13	13:20:59	3204	[DEBUG]	Use field value for field slug
2023-10-13	13:20:59	3204	[DEBUG]	Process line 3204
2023-10-13	13:20:59	3204	[DEBUG]	Load a row
2023-10-13	13:20:59	3204	[DEBUG]	Processing item: A_1717_27
2023-10-13	13:20:59	3204	[DEBUG]	Product tax: 7.7
2023-10-13	13:20:59	3204	[DEBUG]	Processing product tax
2023-10-13	13:20:59	3204	[DEBUG]	Check if calculation rule exists
2023-10-13	13:20:59	3204	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:20:59	3204	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:20:59	3204	[DEBUG]	Query for Product
2023-10-13	13:20:59	3204	[DEBUG]	Executed store
2023-10-13	13:20:59	3204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1717_27','0.1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:20:59	3204	[DEBUG]	Check product language entry
2023-10-13	13:20:59	3204	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862696
2023-10-13	13:20:59	3204	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:59	3204	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1717_27' AND `virtuemart_product_id` != 1862696
2023-10-13	13:20:59	3204	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:20:59	3204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862696, 'A_1717_27')
2023-10-13	13:20:59	3204	[DEBUG]	Check if the product slug exists
2023-10-13	13:20:59	3204	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-brunox-carbon-care-100ml-1unite-orange' AND `virtuemart_product_id` != 1862696
2023-10-13	13:20:59	3204	[DEBUG]	Query for ProductLang
2023-10-13	13:20:59	3204	[DEBUG]	Executed store
2023-10-13	13:20:59	3204	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='BRUNOX Carbon Care 100ml (1unité), protège le carbone d\'une fine pellicule<br>N° art fourn : BCC100',`product_name`='MSC BRUNOX Carbon Care 100ml (1unité) / Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-brunox-carbon-care-100ml-1unite-orange' WHERE `virtuemart_product_id` = '1862696'
2023-10-13	13:20:59	3204	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5837.jpg
2023-10-13	13:20:59	3204	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:59	3204	[DEBUG]	Process image file
2023-10-13	13:20:59	3204	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:20:59	3204	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:20:59	3204	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5837.jpg
2023-10-13	13:20:59	3204	[DEBUG]	Full name target: bcprisme/image_5837.jpg
2023-10-13	13:21:00	3204	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:00	3204	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5837.jpg'
2023-10-13	13:21:00	3204	[DEBUG]	Query for Media
2023-10-13	13:21:00	3204	[DEBUG]	Executed store
2023-10-13	13:21:00	3204	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5837.jpg',`file_url_thumb`='bcprisme/image_5837.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381134'
2023-10-13	13:21:00	3204	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:00	3204	[DEBUG]	Executed store
2023-10-13	13:21:00	3204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862696','381134','1')
2023-10-13	13:21:00	3204	[DEBUG]	Store product image relation
2023-10-13	13:21:00	3204	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:00	3204	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862696 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:00	3204	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:00	3204	[DEBUG]	Executed store
2023-10-13	13:21:00	3204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862696','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:00	3204	[DEBUG]	Checking manufacturer
2023-10-13	13:21:00	3204	[DEBUG]	Load a row
2023-10-13	13:21:00	3204	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:00	3204	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:21:00	3204	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:00	3204	[DEBUG]	Executed store
2023-10-13	13:21:00	3204	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:21:00	3204	[DEBUG]	Manufacturer exists
2023-10-13	13:21:00	3204	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:21:00	3204	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:00	3204	[DEBUG]	Executed store
2023-10-13	13:21:00	3204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862696','32')
2023-10-13	13:21:00	3204	[DEBUG]	Find the custom field ID
2023-10-13	13:21:00	3204	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:00	3204	[DEBUG]	No custom field ID found
2023-10-13	13:21:00	3204	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:00	3204	[DEBUG]	Get existing row with customfield value 11.7672222222222
2023-10-13	13:21:00	3204	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862696 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:00	3204	[DEBUG]	Store custom available field
2023-10-13	13:21:00	3204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862696,3,'11.7672222222222',1)
2023-10-13	13:21:00	3204	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:00	3204	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:00	3204	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862696 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:00	3204	[DEBUG]	Store custom available field
2023-10-13	13:21:00	3204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862696,6,'choisir la taille',3)
2023-10-13	13:21:00	3204	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:00	3204	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:00	3204	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:00	3204	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:00	3204	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862696 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:00	3204	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:00	3204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862696,8,1)
2023-10-13	13:21:00	3204	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:00	3204	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862696\":[1862696,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862696
2023-10-13	13:21:00	3204	[DEBUG]	Checking category
2023-10-13	13:21:00	3204	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:00	3204	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862696
2023-10-13	13:21:00	3204	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:00	3204	[DEBUG]	Executed store
2023-10-13	13:21:00	3204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862696','7371')
2023-10-13	13:21:00	3204	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:00	3204	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862696 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:00	3204	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:00	3204	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862696
2023-10-13	13:21:00	3205	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:00	3205	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:00	3205	[DEBUG]	Use field value for field taille
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:00	3205	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:00	3205	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:00	3205	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:00	3205	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:00	3205	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:00	3205	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:00	3205	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:00	3205	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:00	3205	[DEBUG]	Use field value for field published
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:00	3205	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field override
2023-10-13	13:21:00	3205	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:00	3205	[DEBUG]	Use field value for field slug
2023-10-13	13:21:00	3205	[DEBUG]	Process line 3205
2023-10-13	13:21:00	3205	[DEBUG]	Load a row
2023-10-13	13:21:00	3205	[DEBUG]	Processing item: 7610567953188
2023-10-13	13:21:00	3205	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:00	3205	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:00	3205	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1717_27'
2023-10-13	13:21:00	3205	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:00	3205	[DEBUG]	Processing product tax
2023-10-13	13:21:00	3205	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:00	3205	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:00	3205	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:00	3205	[DEBUG]	Query for Product
2023-10-13	13:21:00	3205	[DEBUG]	Executed store
2023-10-13	13:21:00	3205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862696','7610567953188','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:00	3205	[DEBUG]	No parent found
2023-10-13	13:21:00	3205	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862696 AND customfield_value = 'stockable'
2023-10-13	13:21:00	3205	[DEBUG]	Check product language entry
2023-10-13	13:21:00	3205	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862697
2023-10-13	13:21:00	3205	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:00	3205	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7610567953188' AND `virtuemart_product_id` != 1862697
2023-10-13	13:21:00	3205	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:00	3205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862697, '7610567953188')
2023-10-13	13:21:00	3205	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:00	3205	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-brunox-carbon-care-100ml-1unite-orange-unitaire' AND `virtuemart_product_id` != 1862697
2023-10-13	13:21:00	3205	[DEBUG]	Query for ProductLang
2023-10-13	13:21:00	3205	[DEBUG]	Executed store
2023-10-13	13:21:00	3205	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC BRUNOX Carbon Care 100ml (1unité) / Orange (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-brunox-carbon-care-100ml-1unite-orange-unitaire' WHERE `virtuemart_product_id` = '1862697'
2023-10-13	13:21:00	3205	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5837.jpg
2023-10-13	13:21:00	3205	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:00	3205	[DEBUG]	Process image file
2023-10-13	13:21:00	3205	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:00	3205	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:00	3205	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_5837.jpg
2023-10-13	13:21:00	3205	[DEBUG]	Full name target: bcprisme/image_5837.jpg
2023-10-13	13:21:01	3205	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:01	3205	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_5837.jpg'
2023-10-13	13:21:01	3205	[DEBUG]	Query for Media
2023-10-13	13:21:01	3205	[DEBUG]	Executed store
2023-10-13	13:21:01	3205	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_5837.jpg',`file_url_thumb`='bcprisme/image_5837.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381134'
2023-10-13	13:21:01	3205	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:01	3205	[DEBUG]	Executed store
2023-10-13	13:21:01	3205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862697','381134','1')
2023-10-13	13:21:01	3205	[DEBUG]	Store product image relation
2023-10-13	13:21:01	3205	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:01	3205	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862697 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:01	3205	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:01	3205	[DEBUG]	Executed store
2023-10-13	13:21:01	3205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862697','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:01	3205	[DEBUG]	Checking manufacturer
2023-10-13	13:21:01	3205	[DEBUG]	Load a row
2023-10-13	13:21:01	3205	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:01	3205	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:21:01	3205	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:01	3205	[DEBUG]	Executed store
2023-10-13	13:21:01	3205	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:21:01	3205	[DEBUG]	Manufacturer exists
2023-10-13	13:21:01	3205	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:21:01	3205	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:01	3205	[DEBUG]	Executed store
2023-10-13	13:21:01	3205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862697','32')
2023-10-13	13:21:01	3205	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:01	3205	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:01	3205	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862697 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:01	3205	[DEBUG]	Store custom available field
2023-10-13	13:21:01	3205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862697,3,'',1)
2023-10-13	13:21:01	3205	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:01	3205	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:01	3205	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862697 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:01	3205	[DEBUG]	Store custom available field
2023-10-13	13:21:01	3205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862697,6,'Unitaire',3)
2023-10-13	13:21:01	3205	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:01	3205	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:01	3205	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862696
2023-10-13	13:21:01	3205	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:01	3205	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862696\":[1862696,8,1,\"choisir la taille\"],\"1862697\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862696
2023-10-13	13:21:01	3205	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:01	3205	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862697
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:01	3206	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field taille
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:01	3206	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:01	3206	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:01	3206	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:01	3206	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:01	3206	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:01	3206	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field published
2023-10-13	13:21:01	3206	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:01	3206	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field override
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:01	3206	[DEBUG]	Use field value for field slug
2023-10-13	13:21:01	3206	[DEBUG]	Process line 3206
2023-10-13	13:21:01	3206	[DEBUG]	Load a row
2023-10-13	13:21:01	3206	[DEBUG]	Processing item: A_4445_158
2023-10-13	13:21:01	3206	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:01	3206	[DEBUG]	Processing product tax
2023-10-13	13:21:01	3206	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:01	3206	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:01	3206	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:01	3206	[DEBUG]	Query for Product
2023-10-13	13:21:01	3206	[DEBUG]	Executed store
2023-10-13	13:21:01	3206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4445_158','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:01	3206	[DEBUG]	Check product language entry
2023-10-13	13:21:01	3206	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862698
2023-10-13	13:21:01	3206	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:01	3206	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4445_158' AND `virtuemart_product_id` != 1862698
2023-10-13	13:21:01	3206	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:01	3206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862698, 'A_4445_158')
2023-10-13	13:21:01	3206	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:01	3206	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lubrifiant-pour-chaine-msc-a-base-de-cire-et-ceramique-pour-temps-sec-blanc-rose' AND `virtuemart_product_id` != 1862698
2023-10-13	13:21:01	3206	[DEBUG]	Query for ProductLang
2023-10-13	13:21:01	3206	[DEBUG]	Executed store
2023-10-13	13:21:01	3206	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lubrifiant à la cire avec des particules de nitrure de bore (céramique) pour chaîne. D\'aspect blanchâtre et de texture liquide, très peu épais. - 100% biodégradable - Haute durabilité - Protège la transmission - Ne laissez pas de résidus - Idéal pour les conditions sèches, les terrains poussiéreux et la faible humidité - **** Fabriqués en Espagne***** MODE D\'EMPLOI: Lors de la première application, il est très important que toute la transmission (chaîne, pignons et poulies) soit propre et sèche, sans résidus d\'huile et saleté. Ainsi nous obtenons une correcte adhérence du produit. Ensuite, nous pourrons lubrifier à nouveau tant que le vélo n\'est pas besoin d\'un nouveau nettoyage. BIEN AGITER AVANT EMPLOI. La première application doit être généreuse, laisser sécher et ré-appliquer après quelques minutes. Ne jamais l\'utiliser juste avant de faire de la route. Sinon si le produit n\'est pas encore sec, il se perdra rapidement. Généralement il faut compter une marge de temps supérieure à une heure <br>N° art fourn : DRYWAX',`product_name`='MSC Lubrifiant pour chaine MSC à base de cire et céramique pour temps sec / Blanc-rose',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lubrifiant-pour-chaine-msc-a-base-de-cire-et-ceramique-pour-temps-sec-blanc-rose' WHERE `virtuemart_product_id` = '1862698'
2023-10-13	13:21:01	3206	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27100_.jpg
2023-10-13	13:21:01	3206	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:01	3206	[DEBUG]	Process image file
2023-10-13	13:21:01	3206	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:01	3206	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:01	3206	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27100_.jpg
2023-10-13	13:21:01	3206	[DEBUG]	Full name target: bcprisme/27100_.jpg
2023-10-13	13:21:02	3206	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:02	3206	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27100_.jpg'
2023-10-13	13:21:02	3206	[DEBUG]	Query for Media
2023-10-13	13:21:02	3206	[DEBUG]	Executed store
2023-10-13	13:21:02	3206	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27100_.jpg',`file_url_thumb`='bcprisme/27100_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '71558'
2023-10-13	13:21:02	3206	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:02	3206	[DEBUG]	Executed store
2023-10-13	13:21:02	3206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862698','71558','1')
2023-10-13	13:21:02	3206	[DEBUG]	Store product image relation
2023-10-13	13:21:02	3206	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:02	3206	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862698 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:02	3206	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:02	3206	[DEBUG]	Executed store
2023-10-13	13:21:02	3206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862698','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:02	3206	[DEBUG]	Checking manufacturer
2023-10-13	13:21:02	3206	[DEBUG]	Load a row
2023-10-13	13:21:02	3206	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:02	3206	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:21:02	3206	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:02	3206	[DEBUG]	Executed store
2023-10-13	13:21:02	3206	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:21:02	3206	[DEBUG]	Manufacturer exists
2023-10-13	13:21:02	3206	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:21:02	3206	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:02	3206	[DEBUG]	Executed store
2023-10-13	13:21:02	3206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862698','32')
2023-10-13	13:21:02	3206	[DEBUG]	Find the custom field ID
2023-10-13	13:21:02	3206	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:02	3206	[DEBUG]	No custom field ID found
2023-10-13	13:21:02	3206	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:02	3206	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:21:02	3206	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862698 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:02	3206	[DEBUG]	Store custom available field
2023-10-13	13:21:02	3206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862698,3,'14.8586111111111',1)
2023-10-13	13:21:02	3206	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:02	3206	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:02	3206	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862698 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:02	3206	[DEBUG]	Store custom available field
2023-10-13	13:21:02	3206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862698,6,'choisir la taille',3)
2023-10-13	13:21:02	3206	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:02	3206	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:02	3206	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:02	3206	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:02	3206	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862698 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:02	3206	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:02	3206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862698,8,1)
2023-10-13	13:21:02	3206	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:02	3206	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862698\":[1862698,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862698
2023-10-13	13:21:02	3206	[DEBUG]	Checking category
2023-10-13	13:21:02	3206	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:02	3206	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862698
2023-10-13	13:21:02	3206	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:02	3206	[DEBUG]	Executed store
2023-10-13	13:21:02	3206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862698','7371')
2023-10-13	13:21:02	3206	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:02	3206	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862698 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:02	3206	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:02	3206	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862698
2023-10-13	13:21:02	3207	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:02	3207	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:02	3207	[DEBUG]	Use field value for field taille
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:02	3207	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:02	3207	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:02	3207	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:02	3207	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:02	3207	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:02	3207	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:02	3207	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:02	3207	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:02	3207	[DEBUG]	Use field value for field published
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:02	3207	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field override
2023-10-13	13:21:02	3207	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:02	3207	[DEBUG]	Use field value for field slug
2023-10-13	13:21:02	3207	[DEBUG]	Process line 3207
2023-10-13	13:21:02	3207	[DEBUG]	Load a row
2023-10-13	13:21:02	3207	[DEBUG]	Processing item: 8435466210519
2023-10-13	13:21:02	3207	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:02	3207	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:02	3207	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4445_158'
2023-10-13	13:21:02	3207	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:02	3207	[DEBUG]	Processing product tax
2023-10-13	13:21:02	3207	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:02	3207	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:02	3207	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:02	3207	[DEBUG]	Query for Product
2023-10-13	13:21:02	3207	[DEBUG]	Executed store
2023-10-13	13:21:02	3207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862698','8435466210519','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:02	3207	[DEBUG]	No parent found
2023-10-13	13:21:02	3207	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862698 AND customfield_value = 'stockable'
2023-10-13	13:21:02	3207	[DEBUG]	Check product language entry
2023-10-13	13:21:02	3207	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862699
2023-10-13	13:21:02	3207	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:02	3207	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466210519' AND `virtuemart_product_id` != 1862699
2023-10-13	13:21:02	3207	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:02	3207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862699, '8435466210519')
2023-10-13	13:21:02	3207	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:02	3207	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lubrifiant-pour-chaine-msc-a-base-de-cire-et-ceramique-pour-temps-sec-blanc-rose-unitaire' AND `virtuemart_product_id` != 1862699
2023-10-13	13:21:02	3207	[DEBUG]	Query for ProductLang
2023-10-13	13:21:02	3207	[DEBUG]	Executed store
2023-10-13	13:21:02	3207	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lubrifiant pour chaine MSC à base de cire et céramique pour temps sec / Blanc-rose (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lubrifiant-pour-chaine-msc-a-base-de-cire-et-ceramique-pour-temps-sec-blanc-rose-unitaire' WHERE `virtuemart_product_id` = '1862699'
2023-10-13	13:21:02	3207	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27100_.jpg
2023-10-13	13:21:02	3207	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:02	3207	[DEBUG]	Process image file
2023-10-13	13:21:02	3207	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:02	3207	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:02	3207	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27100_.jpg
2023-10-13	13:21:02	3207	[DEBUG]	Full name target: bcprisme/27100_.jpg
2023-10-13	13:21:03	3207	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:03	3207	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27100_.jpg'
2023-10-13	13:21:03	3207	[DEBUG]	Query for Media
2023-10-13	13:21:03	3207	[DEBUG]	Executed store
2023-10-13	13:21:03	3207	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27100_.jpg',`file_url_thumb`='bcprisme/27100_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '71558'
2023-10-13	13:21:03	3207	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:03	3207	[DEBUG]	Executed store
2023-10-13	13:21:03	3207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862699','71558','1')
2023-10-13	13:21:03	3207	[DEBUG]	Store product image relation
2023-10-13	13:21:03	3207	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:03	3207	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862699 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:03	3207	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:03	3207	[DEBUG]	Executed store
2023-10-13	13:21:03	3207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862699','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:03	3207	[DEBUG]	Checking manufacturer
2023-10-13	13:21:03	3207	[DEBUG]	Load a row
2023-10-13	13:21:03	3207	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:03	3207	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:21:03	3207	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:03	3207	[DEBUG]	Executed store
2023-10-13	13:21:03	3207	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:21:03	3207	[DEBUG]	Manufacturer exists
2023-10-13	13:21:03	3207	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:21:03	3207	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:03	3207	[DEBUG]	Executed store
2023-10-13	13:21:03	3207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862699','32')
2023-10-13	13:21:03	3207	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:03	3207	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:03	3207	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862699 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:03	3207	[DEBUG]	Store custom available field
2023-10-13	13:21:03	3207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862699,3,'',1)
2023-10-13	13:21:03	3207	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:03	3207	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:03	3207	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862699 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:03	3207	[DEBUG]	Store custom available field
2023-10-13	13:21:03	3207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862699,6,'Unitaire',3)
2023-10-13	13:21:03	3207	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:03	3207	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:03	3207	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862698
2023-10-13	13:21:03	3207	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:03	3207	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862698\":[1862698,8,1,\"choisir la taille\"],\"1862699\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862698
2023-10-13	13:21:03	3207	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:03	3207	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862699
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:03	3208	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field taille
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:03	3208	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:03	3208	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:03	3208	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:03	3208	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:03	3208	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:03	3208	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field published
2023-10-13	13:21:03	3208	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:03	3208	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field override
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:03	3208	[DEBUG]	Use field value for field slug
2023-10-13	13:21:03	3208	[DEBUG]	Process line 3208
2023-10-13	13:21:03	3208	[DEBUG]	Load a row
2023-10-13	13:21:03	3208	[DEBUG]	Processing item: A_4932_3
2023-10-13	13:21:03	3208	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:03	3208	[DEBUG]	Processing product tax
2023-10-13	13:21:03	3208	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:03	3208	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:03	3208	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:03	3208	[DEBUG]	Query for Product
2023-10-13	13:21:03	3208	[DEBUG]	Executed store
2023-10-13	13:21:03	3208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4932_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:03	3208	[DEBUG]	Check product language entry
2023-10-13	13:21:03	3208	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862700
2023-10-13	13:21:03	3208	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:03	3208	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4932_3' AND `virtuemart_product_id` != 1862700
2023-10-13	13:21:03	3208	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:03	3208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862700, 'A_4932_3')
2023-10-13	13:21:03	3208	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:03	3208	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-drive-unit-grease-bosch-ebike-systems-none' AND `virtuemart_product_id` != 1862700
2023-10-13	13:21:03	3208	[DEBUG]	Query for ProductLang
2023-10-13	13:21:03	3208	[DEBUG]	Executed store
2023-10-13	13:21:03	3208	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn :  56.58373',`product_name`='Bosch Drive Unit Grease Bosch eBike Systems / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-drive-unit-grease-bosch-ebike-systems-none' WHERE `virtuemart_product_id` = '1862700'
2023-10-13	13:21:03	3208	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28799_drive_unit_grease_bosch_ebike_systems.jpg
2023-10-13	13:21:03	3208	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:03	3208	[DEBUG]	Process image file
2023-10-13	13:21:03	3208	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:03	3208	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:03	3208	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28799_drive_unit_grease_bosch_ebike_systems.jpg
2023-10-13	13:21:03	3208	[DEBUG]	Full name target: bcprisme/28799_drive_unit_grease_bosch_ebike_systems.jpg
2023-10-13	13:21:04	3208	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:04	3208	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28799_drive_unit_grease_bosch_ebike_systems.jpg'
2023-10-13	13:21:04	3208	[DEBUG]	Query for Media
2023-10-13	13:21:04	3208	[DEBUG]	Executed store
2023-10-13	13:21:04	3208	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28799_drive_unit_grease_bosch_ebike_systems.jpg',`file_url_thumb`='bcprisme/28799_drive_unit_grease_bosch_ebike_systems.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381140'
2023-10-13	13:21:04	3208	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:04	3208	[DEBUG]	Executed store
2023-10-13	13:21:04	3208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862700','381140','1')
2023-10-13	13:21:04	3208	[DEBUG]	Store product image relation
2023-10-13	13:21:04	3208	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:05	3208	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862700 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:05	3208	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:05	3208	[DEBUG]	Executed store
2023-10-13	13:21:05	3208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862700','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:05	3208	[DEBUG]	Checking manufacturer
2023-10-13	13:21:05	3208	[DEBUG]	Load a row
2023-10-13	13:21:05	3208	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:05	3208	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	13:21:05	3208	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:05	3208	[DEBUG]	Executed store
2023-10-13	13:21:05	3208	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	13:21:05	3208	[DEBUG]	Manufacturer exists
2023-10-13	13:21:05	3208	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	13:21:05	3208	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:05	3208	[DEBUG]	Executed store
2023-10-13	13:21:05	3208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862700','33')
2023-10-13	13:21:05	3208	[DEBUG]	Find the custom field ID
2023-10-13	13:21:05	3208	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:05	3208	[DEBUG]	No custom field ID found
2023-10-13	13:21:05	3208	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:05	3208	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:05	3208	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862700 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:05	3208	[DEBUG]	Store custom available field
2023-10-13	13:21:05	3208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862700,3,'0',1)
2023-10-13	13:21:05	3208	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:05	3208	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:05	3208	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862700 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:05	3208	[DEBUG]	Store custom available field
2023-10-13	13:21:05	3208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862700,6,'choisir la taille',3)
2023-10-13	13:21:05	3208	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:05	3208	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:05	3208	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:05	3208	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:05	3208	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862700 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:05	3208	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:05	3208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862700,8,1)
2023-10-13	13:21:05	3208	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:05	3208	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862700\":[1862700,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862700
2023-10-13	13:21:05	3208	[DEBUG]	Checking category
2023-10-13	13:21:05	3208	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:05	3208	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862700
2023-10-13	13:21:05	3208	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:05	3208	[DEBUG]	Executed store
2023-10-13	13:21:05	3208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862700','7371')
2023-10-13	13:21:05	3208	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:05	3208	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862700 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:05	3208	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:05	3208	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862700
2023-10-13	13:21:05	3209	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:05	3209	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:05	3209	[DEBUG]	Use field value for field taille
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:05	3209	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:05	3209	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:05	3209	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:05	3209	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:05	3209	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:05	3209	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:05	3209	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:05	3209	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:05	3209	[DEBUG]	Use field value for field published
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:05	3209	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field override
2023-10-13	13:21:05	3209	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:05	3209	[DEBUG]	Use field value for field slug
2023-10-13	13:21:05	3209	[DEBUG]	Process line 3209
2023-10-13	13:21:05	3209	[DEBUG]	Load a row
2023-10-13	13:21:05	3209	[DEBUG]	Processing item: 4047025671361
2023-10-13	13:21:05	3209	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:05	3209	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:05	3209	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4932_3'
2023-10-13	13:21:05	3209	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:05	3209	[DEBUG]	Processing product tax
2023-10-13	13:21:05	3209	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:05	3209	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:05	3209	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:05	3209	[DEBUG]	Query for Product
2023-10-13	13:21:05	3209	[DEBUG]	Executed store
2023-10-13	13:21:05	3209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862700','4047025671361','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:05	3209	[DEBUG]	No parent found
2023-10-13	13:21:05	3209	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862700 AND customfield_value = 'stockable'
2023-10-13	13:21:05	3209	[DEBUG]	Check product language entry
2023-10-13	13:21:05	3209	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862701
2023-10-13	13:21:05	3209	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:05	3209	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4047025671361' AND `virtuemart_product_id` != 1862701
2023-10-13	13:21:05	3209	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:05	3209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862701, '4047025671361')
2023-10-13	13:21:05	3209	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:05	3209	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bosch-drive-unit-grease-bosch-ebike-systems-none-unitaire' AND `virtuemart_product_id` != 1862701
2023-10-13	13:21:05	3209	[DEBUG]	Query for ProductLang
2023-10-13	13:21:05	3209	[DEBUG]	Executed store
2023-10-13	13:21:05	3209	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bosch Drive Unit Grease Bosch eBike Systems / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bosch-drive-unit-grease-bosch-ebike-systems-none-unitaire' WHERE `virtuemart_product_id` = '1862701'
2023-10-13	13:21:05	3209	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28799_drive_unit_grease_bosch_ebike_systems.jpg
2023-10-13	13:21:05	3209	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:05	3209	[DEBUG]	Process image file
2023-10-13	13:21:05	3209	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:05	3209	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:05	3209	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28799_drive_unit_grease_bosch_ebike_systems.jpg
2023-10-13	13:21:05	3209	[DEBUG]	Full name target: bcprisme/28799_drive_unit_grease_bosch_ebike_systems.jpg
2023-10-13	13:21:06	3209	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:06	3209	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28799_drive_unit_grease_bosch_ebike_systems.jpg'
2023-10-13	13:21:06	3209	[DEBUG]	Query for Media
2023-10-13	13:21:06	3209	[DEBUG]	Executed store
2023-10-13	13:21:06	3209	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28799_drive_unit_grease_bosch_ebike_systems.jpg',`file_url_thumb`='bcprisme/28799_drive_unit_grease_bosch_ebike_systems.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381140'
2023-10-13	13:21:06	3209	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:06	3209	[DEBUG]	Executed store
2023-10-13	13:21:06	3209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862701','381140','1')
2023-10-13	13:21:06	3209	[DEBUG]	Store product image relation
2023-10-13	13:21:06	3209	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:06	3209	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862701 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:06	3209	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:06	3209	[DEBUG]	Executed store
2023-10-13	13:21:06	3209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862701','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:06	3209	[DEBUG]	Checking manufacturer
2023-10-13	13:21:06	3209	[DEBUG]	Load a row
2023-10-13	13:21:06	3209	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:06	3209	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	13:21:06	3209	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:06	3209	[DEBUG]	Executed store
2023-10-13	13:21:06	3209	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-32-48621336828' WHERE `virtuemart_manufacturer_id` = '33'
2023-10-13	13:21:06	3209	[DEBUG]	Manufacturer exists
2023-10-13	13:21:06	3209	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 33
2023-10-13	13:21:06	3209	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:06	3209	[DEBUG]	Executed store
2023-10-13	13:21:06	3209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862701','33')
2023-10-13	13:21:06	3209	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:06	3209	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:06	3209	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862701 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:06	3209	[DEBUG]	Store custom available field
2023-10-13	13:21:06	3209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862701,3,'',1)
2023-10-13	13:21:06	3209	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:06	3209	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:06	3209	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862701 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:06	3209	[DEBUG]	Store custom available field
2023-10-13	13:21:06	3209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862701,6,'Unitaire',3)
2023-10-13	13:21:06	3209	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:06	3209	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:06	3209	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862700
2023-10-13	13:21:06	3209	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:06	3209	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862700\":[1862700,8,1,\"choisir la taille\"],\"1862701\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862700
2023-10-13	13:21:06	3209	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:06	3209	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862701
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:06	3210	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field taille
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:06	3210	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:06	3210	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:06	3210	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:06	3210	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:06	3210	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:06	3210	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field published
2023-10-13	13:21:06	3210	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:06	3210	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field override
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:06	3210	[DEBUG]	Use field value for field slug
2023-10-13	13:21:06	3210	[DEBUG]	Process line 3210
2023-10-13	13:21:06	3210	[DEBUG]	Load a row
2023-10-13	13:21:06	3210	[DEBUG]	Processing item: A_4933_3
2023-10-13	13:21:06	3210	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:06	3210	[DEBUG]	Processing product tax
2023-10-13	13:21:06	3210	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:06	3210	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:06	3210	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:06	3210	[DEBUG]	Query for Product
2023-10-13	13:21:06	3210	[DEBUG]	Executed store
2023-10-13	13:21:06	3210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4933_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:06	3210	[DEBUG]	Check product language entry
2023-10-13	13:21:06	3210	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862702
2023-10-13	13:21:06	3210	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:06	3210	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4933_3' AND `virtuemart_product_id` != 1862702
2023-10-13	13:21:06	3210	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:06	3210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862702, 'A_4933_3')
2023-10-13	13:21:06	3210	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:06	3210	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'liguimoly-batterie-pol-fett-none' AND `virtuemart_product_id` != 1862702
2023-10-13	13:21:06	3210	[DEBUG]	Query for ProductLang
2023-10-13	13:21:06	3210	[DEBUG]	Executed store
2023-10-13	13:21:06	3210	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 56.57224',`product_name`='LIGUIMOLY Batterie-Pol-Fett / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='liguimoly-batterie-pol-fett-none' WHERE `virtuemart_product_id` = '1862702'
2023-10-13	13:21:06	3210	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28800_batterie-pol-fett.jpg
2023-10-13	13:21:06	3210	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:06	3210	[DEBUG]	Process image file
2023-10-13	13:21:06	3210	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:06	3210	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:06	3210	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28800_batterie-pol-fett.jpg
2023-10-13	13:21:06	3210	[DEBUG]	Full name target: bcprisme/28800_batterie-pol-fett.jpg
2023-10-13	13:21:07	3210	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:07	3210	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28800_batterie-pol-fett.jpg'
2023-10-13	13:21:07	3210	[DEBUG]	Query for Media
2023-10-13	13:21:07	3210	[DEBUG]	Executed store
2023-10-13	13:21:07	3210	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28800_batterie-pol-fett.jpg',`file_url_thumb`='bcprisme/28800_batterie-pol-fett.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '141070'
2023-10-13	13:21:07	3210	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:07	3210	[DEBUG]	Executed store
2023-10-13	13:21:07	3210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862702','141070','1')
2023-10-13	13:21:07	3210	[DEBUG]	Store product image relation
2023-10-13	13:21:07	3210	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:07	3210	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862702 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:07	3210	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:07	3210	[DEBUG]	Executed store
2023-10-13	13:21:07	3210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862702','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:07	3210	[DEBUG]	Checking manufacturer
2023-10-13	13:21:07	3210	[DEBUG]	Load a row
2023-10-13	13:21:07	3210	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:07	3210	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '34'
2023-10-13	13:21:07	3210	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:07	3210	[DEBUG]	Executed store
2023-10-13	13:21:07	3210	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-07-07-02-07-481406255331' WHERE `virtuemart_manufacturer_id` = '34'
2023-10-13	13:21:07	3210	[DEBUG]	Manufacturer exists
2023-10-13	13:21:07	3210	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 34
2023-10-13	13:21:07	3210	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:07	3210	[DEBUG]	Executed store
2023-10-13	13:21:07	3210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862702','34')
2023-10-13	13:21:07	3210	[DEBUG]	Find the custom field ID
2023-10-13	13:21:07	3210	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:07	3210	[DEBUG]	No custom field ID found
2023-10-13	13:21:07	3210	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:07	3210	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:07	3210	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862702 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:07	3210	[DEBUG]	Store custom available field
2023-10-13	13:21:07	3210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862702,3,'0',1)
2023-10-13	13:21:07	3210	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:07	3210	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:07	3210	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862702 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:07	3210	[DEBUG]	Store custom available field
2023-10-13	13:21:07	3210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862702,6,'choisir la taille',3)
2023-10-13	13:21:07	3210	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:07	3210	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:07	3210	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:07	3210	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:07	3210	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862702 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:07	3210	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:07	3210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862702,8,1)
2023-10-13	13:21:07	3210	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:07	3210	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862702\":[1862702,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862702
2023-10-13	13:21:07	3210	[DEBUG]	Checking category
2023-10-13	13:21:07	3210	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:07	3210	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862702
2023-10-13	13:21:07	3210	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:07	3210	[DEBUG]	Executed store
2023-10-13	13:21:07	3210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862702','7371')
2023-10-13	13:21:07	3210	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:07	3210	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862702 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:07	3210	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:07	3210	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862702
2023-10-13	13:21:07	3211	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:07	3211	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:07	3211	[DEBUG]	Use field value for field taille
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:07	3211	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:07	3211	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:07	3211	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:07	3211	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:07	3211	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:07	3211	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:07	3211	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:07	3211	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:07	3211	[DEBUG]	Use field value for field published
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:07	3211	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field override
2023-10-13	13:21:07	3211	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:07	3211	[DEBUG]	Use field value for field slug
2023-10-13	13:21:07	3211	[DEBUG]	Process line 3211
2023-10-13	13:21:07	3211	[DEBUG]	Load a row
2023-10-13	13:21:07	3211	[DEBUG]	Processing item: 4100420031403
2023-10-13	13:21:07	3211	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:07	3211	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:07	3211	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4933_3'
2023-10-13	13:21:07	3211	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:07	3211	[DEBUG]	Processing product tax
2023-10-13	13:21:07	3211	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:07	3211	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:07	3211	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:07	3211	[DEBUG]	Query for Product
2023-10-13	13:21:07	3211	[DEBUG]	Executed store
2023-10-13	13:21:07	3211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862702','4100420031403','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:07	3211	[DEBUG]	No parent found
2023-10-13	13:21:07	3211	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862702 AND customfield_value = 'stockable'
2023-10-13	13:21:07	3211	[DEBUG]	Check product language entry
2023-10-13	13:21:07	3211	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862703
2023-10-13	13:21:07	3211	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:07	3211	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4100420031403' AND `virtuemart_product_id` != 1862703
2023-10-13	13:21:07	3211	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:07	3211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862703, '4100420031403')
2023-10-13	13:21:07	3211	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:07	3211	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'liguimoly-batterie-pol-fett-none-unitaire' AND `virtuemart_product_id` != 1862703
2023-10-13	13:21:07	3211	[DEBUG]	Query for ProductLang
2023-10-13	13:21:07	3211	[DEBUG]	Executed store
2023-10-13	13:21:07	3211	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='LIGUIMOLY Batterie-Pol-Fett / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='liguimoly-batterie-pol-fett-none-unitaire' WHERE `virtuemart_product_id` = '1862703'
2023-10-13	13:21:07	3211	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28800_batterie-pol-fett.jpg
2023-10-13	13:21:07	3211	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:07	3211	[DEBUG]	Process image file
2023-10-13	13:21:07	3211	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:07	3211	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:07	3211	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28800_batterie-pol-fett.jpg
2023-10-13	13:21:07	3211	[DEBUG]	Full name target: bcprisme/28800_batterie-pol-fett.jpg
2023-10-13	13:21:08	3211	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:08	3211	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28800_batterie-pol-fett.jpg'
2023-10-13	13:21:08	3211	[DEBUG]	Query for Media
2023-10-13	13:21:08	3211	[DEBUG]	Executed store
2023-10-13	13:21:08	3211	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28800_batterie-pol-fett.jpg',`file_url_thumb`='bcprisme/28800_batterie-pol-fett.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '141070'
2023-10-13	13:21:08	3211	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:08	3211	[DEBUG]	Executed store
2023-10-13	13:21:08	3211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862703','141070','1')
2023-10-13	13:21:08	3211	[DEBUG]	Store product image relation
2023-10-13	13:21:08	3211	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:08	3211	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862703 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:08	3211	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:08	3211	[DEBUG]	Executed store
2023-10-13	13:21:08	3211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862703','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:08	3211	[DEBUG]	Checking manufacturer
2023-10-13	13:21:08	3211	[DEBUG]	Load a row
2023-10-13	13:21:08	3211	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:08	3211	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '34'
2023-10-13	13:21:08	3211	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:08	3211	[DEBUG]	Executed store
2023-10-13	13:21:08	3211	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-07-07-02-07-481406255331' WHERE `virtuemart_manufacturer_id` = '34'
2023-10-13	13:21:08	3211	[DEBUG]	Manufacturer exists
2023-10-13	13:21:08	3211	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 34
2023-10-13	13:21:08	3211	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:08	3211	[DEBUG]	Executed store
2023-10-13	13:21:08	3211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862703','34')
2023-10-13	13:21:08	3211	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:08	3211	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:08	3211	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862703 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:08	3211	[DEBUG]	Store custom available field
2023-10-13	13:21:08	3211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862703,3,'',1)
2023-10-13	13:21:08	3211	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:08	3211	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:08	3211	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862703 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:08	3211	[DEBUG]	Store custom available field
2023-10-13	13:21:08	3211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862703,6,'Unitaire',3)
2023-10-13	13:21:08	3211	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:08	3211	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:08	3211	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862702
2023-10-13	13:21:08	3211	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:08	3211	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862702\":[1862702,8,1,\"choisir la taille\"],\"1862703\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862702
2023-10-13	13:21:08	3211	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:08	3211	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862703
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:08	3212	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field taille
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:08	3212	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:08	3212	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:08	3212	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:08	3212	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:08	3212	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:08	3212	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field published
2023-10-13	13:21:08	3212	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:08	3212	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field override
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:08	3212	[DEBUG]	Use field value for field slug
2023-10-13	13:21:08	3212	[DEBUG]	Process line 3212
2023-10-13	13:21:08	3212	[DEBUG]	Load a row
2023-10-13	13:21:08	3212	[DEBUG]	Processing item: A_4935_3
2023-10-13	13:21:08	3212	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:08	3212	[DEBUG]	Processing product tax
2023-10-13	13:21:08	3212	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:08	3212	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:08	3212	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:08	3212	[DEBUG]	Query for Product
2023-10-13	13:21:08	3212	[DEBUG]	Executed store
2023-10-13	13:21:08	3212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4935_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:08	3212	[DEBUG]	Check product language entry
2023-10-13	13:21:08	3212	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862704
2023-10-13	13:21:08	3212	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:08	3212	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4935_3' AND `virtuemart_product_id` != 1862704
2023-10-13	13:21:08	3212	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:08	3212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862704, 'A_4935_3')
2023-10-13	13:21:08	3212	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:08	3212	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-high-performance-5-1-dot-fluid-hydraulic-disc-brakes-none' AND `virtuemart_product_id` != 1862704
2023-10-13	13:21:08	3212	[DEBUG]	Query for ProductLang
2023-10-13	13:21:08	3212	[DEBUG]	Executed store
2023-10-13	13:21:08	3212	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : DOT5.1',`product_name`='SRAM HIGH-PERFORMANCE 5.1 DOT FLUID HYDRAULIC DISC BRAKES / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-high-performance-5-1-dot-fluid-hydraulic-disc-brakes-none' WHERE `virtuemart_product_id` = '1862704'
2023-10-13	13:21:08	3212	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28802_high-performance_5_1_dot_fluid_hydraulic_disc_brakes.jpg
2023-10-13	13:21:08	3212	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:08	3212	[DEBUG]	Process image file
2023-10-13	13:21:08	3212	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:08	3212	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:08	3212	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28802_high-performance_5_1_dot_fluid_hydraulic_disc_brakes.jpg
2023-10-13	13:21:08	3212	[DEBUG]	Full name target: bcprisme/28802_high-performance_5_1_dot_fluid_hydraulic_disc_brakes.jpg
2023-10-13	13:21:09	3212	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:09	3212	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28802_high-performance_5_1_dot_fluid_hydraulic_disc_brakes.jpg'
2023-10-13	13:21:09	3212	[DEBUG]	Query for Media
2023-10-13	13:21:09	3212	[DEBUG]	Executed store
2023-10-13	13:21:09	3212	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28802_high-performance_5_1_dot_fluid_hydraulic_disc_brakes.jpg',`file_url_thumb`='bcprisme/28802_high-performance_5_1_dot_fluid_hydraulic_disc_brakes.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15292'
2023-10-13	13:21:09	3212	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:09	3212	[DEBUG]	Executed store
2023-10-13	13:21:09	3212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862704','15292','1')
2023-10-13	13:21:09	3212	[DEBUG]	Store product image relation
2023-10-13	13:21:09	3212	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:09	3212	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862704 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:09	3212	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:09	3212	[DEBUG]	Executed store
2023-10-13	13:21:09	3212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862704','0','13.9275766016713','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:09	3212	[DEBUG]	Checking manufacturer
2023-10-13	13:21:09	3212	[DEBUG]	Load a row
2023-10-13	13:21:09	3212	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:09	3212	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:21:09	3212	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:09	3212	[DEBUG]	Executed store
2023-10-13	13:21:09	3212	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:21:09	3212	[DEBUG]	Manufacturer exists
2023-10-13	13:21:09	3212	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:21:09	3212	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:09	3212	[DEBUG]	Executed store
2023-10-13	13:21:09	3212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862704','35')
2023-10-13	13:21:09	3212	[DEBUG]	Find the custom field ID
2023-10-13	13:21:09	3212	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:09	3212	[DEBUG]	No custom field ID found
2023-10-13	13:21:09	3212	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:09	3212	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:09	3212	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862704 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:09	3212	[DEBUG]	Store custom available field
2023-10-13	13:21:09	3212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862704,3,'0',1)
2023-10-13	13:21:09	3212	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:09	3212	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:09	3212	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862704 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:09	3212	[DEBUG]	Store custom available field
2023-10-13	13:21:09	3212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862704,6,'choisir la taille',3)
2023-10-13	13:21:09	3212	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:09	3212	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:09	3212	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:09	3212	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:09	3212	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862704 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:09	3212	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:09	3212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862704,8,1)
2023-10-13	13:21:09	3212	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:09	3212	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862704\":[1862704,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862704
2023-10-13	13:21:09	3212	[DEBUG]	Checking category
2023-10-13	13:21:09	3212	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:09	3212	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862704
2023-10-13	13:21:09	3212	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:09	3212	[DEBUG]	Executed store
2023-10-13	13:21:09	3212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862704','7371')
2023-10-13	13:21:09	3212	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:09	3212	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862704 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:09	3212	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:09	3212	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862704
2023-10-13	13:21:09	3213	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:09	3213	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:09	3213	[DEBUG]	Use field value for field taille
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:09	3213	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:09	3213	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:09	3213	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:09	3213	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:09	3213	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:09	3213	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:09	3213	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:09	3213	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:09	3213	[DEBUG]	Use field value for field published
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:09	3213	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field override
2023-10-13	13:21:09	3213	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:09	3213	[DEBUG]	Use field value for field slug
2023-10-13	13:21:09	3213	[DEBUG]	Process line 3213
2023-10-13	13:21:09	3213	[DEBUG]	Load a row
2023-10-13	13:21:09	3213	[DEBUG]	Processing item: 710845764776
2023-10-13	13:21:09	3213	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:09	3213	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:09	3213	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4935_3'
2023-10-13	13:21:09	3213	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:09	3213	[DEBUG]	Processing product tax
2023-10-13	13:21:09	3213	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:09	3213	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:09	3213	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:09	3213	[DEBUG]	Query for Product
2023-10-13	13:21:09	3213	[DEBUG]	Executed store
2023-10-13	13:21:09	3213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862704','710845764776','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:09	3213	[DEBUG]	No parent found
2023-10-13	13:21:09	3213	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862704 AND customfield_value = 'stockable'
2023-10-13	13:21:09	3213	[DEBUG]	Check product language entry
2023-10-13	13:21:09	3213	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862705
2023-10-13	13:21:09	3213	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:09	3213	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845764776' AND `virtuemart_product_id` != 1862705
2023-10-13	13:21:09	3213	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:09	3213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862705, '710845764776')
2023-10-13	13:21:09	3213	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:09	3213	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-high-performance-5-1-dot-fluid-hydraulic-disc-brakes-none-unitaire' AND `virtuemart_product_id` != 1862705
2023-10-13	13:21:09	3213	[DEBUG]	Query for ProductLang
2023-10-13	13:21:09	3213	[DEBUG]	Executed store
2023-10-13	13:21:09	3213	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM HIGH-PERFORMANCE 5.1 DOT FLUID HYDRAULIC DISC BRAKES / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-high-performance-5-1-dot-fluid-hydraulic-disc-brakes-none-unitaire' WHERE `virtuemart_product_id` = '1862705'
2023-10-13	13:21:09	3213	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28802_high-performance_5_1_dot_fluid_hydraulic_disc_brakes.jpg
2023-10-13	13:21:09	3213	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:09	3213	[DEBUG]	Process image file
2023-10-13	13:21:09	3213	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:09	3213	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:09	3213	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28802_high-performance_5_1_dot_fluid_hydraulic_disc_brakes.jpg
2023-10-13	13:21:09	3213	[DEBUG]	Full name target: bcprisme/28802_high-performance_5_1_dot_fluid_hydraulic_disc_brakes.jpg
2023-10-13	13:21:10	3213	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:10	3213	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28802_high-performance_5_1_dot_fluid_hydraulic_disc_brakes.jpg'
2023-10-13	13:21:10	3213	[DEBUG]	Query for Media
2023-10-13	13:21:10	3213	[DEBUG]	Executed store
2023-10-13	13:21:10	3213	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28802_high-performance_5_1_dot_fluid_hydraulic_disc_brakes.jpg',`file_url_thumb`='bcprisme/28802_high-performance_5_1_dot_fluid_hydraulic_disc_brakes.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15292'
2023-10-13	13:21:10	3213	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:10	3213	[DEBUG]	Executed store
2023-10-13	13:21:10	3213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862705','15292','1')
2023-10-13	13:21:10	3213	[DEBUG]	Store product image relation
2023-10-13	13:21:10	3213	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:10	3213	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862705 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:10	3213	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:10	3213	[DEBUG]	Executed store
2023-10-13	13:21:10	3213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862705','0','13.9275766016713','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:10	3213	[DEBUG]	Checking manufacturer
2023-10-13	13:21:10	3213	[DEBUG]	Load a row
2023-10-13	13:21:10	3213	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:10	3213	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:21:10	3213	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:10	3213	[DEBUG]	Executed store
2023-10-13	13:21:10	3213	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:21:10	3213	[DEBUG]	Manufacturer exists
2023-10-13	13:21:10	3213	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:21:10	3213	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:10	3213	[DEBUG]	Executed store
2023-10-13	13:21:10	3213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862705','35')
2023-10-13	13:21:10	3213	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:10	3213	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:10	3213	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862705 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:10	3213	[DEBUG]	Store custom available field
2023-10-13	13:21:10	3213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862705,3,'',1)
2023-10-13	13:21:10	3213	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:10	3213	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:10	3213	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862705 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:10	3213	[DEBUG]	Store custom available field
2023-10-13	13:21:10	3213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862705,6,'Unitaire',3)
2023-10-13	13:21:10	3213	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:10	3213	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:10	3213	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862704
2023-10-13	13:21:10	3213	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:10	3213	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862704\":[1862704,8,1,\"choisir la taille\"],\"1862705\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862704
2023-10-13	13:21:10	3213	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:10	3213	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862705
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:10	3214	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field taille
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:10	3214	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:10	3214	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:10	3214	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:10	3214	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:10	3214	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:10	3214	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field published
2023-10-13	13:21:10	3214	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:10	3214	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field override
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:10	3214	[DEBUG]	Use field value for field slug
2023-10-13	13:21:10	3214	[DEBUG]	Process line 3214
2023-10-13	13:21:10	3214	[DEBUG]	Load a row
2023-10-13	13:21:10	3214	[DEBUG]	Processing item: A_4936_3
2023-10-13	13:21:10	3214	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:10	3214	[DEBUG]	Processing product tax
2023-10-13	13:21:10	3214	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:10	3214	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:10	3214	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:10	3214	[DEBUG]	Query for Product
2023-10-13	13:21:10	3214	[DEBUG]	Executed store
2023-10-13	13:21:10	3214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4936_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:10	3214	[DEBUG]	Check product language entry
2023-10-13	13:21:10	3214	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862706
2023-10-13	13:21:10	3214	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:10	3214	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4936_3' AND `virtuemart_product_id` != 1862706
2023-10-13	13:21:10	3214	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:10	3214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862706, 'A_4936_3')
2023-10-13	13:21:10	3214	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:10	3214	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-high-performance-suspension-fluid-3wt-120ml-none' AND `virtuemart_product_id` != 1862706
2023-10-13	13:21:10	3214	[DEBUG]	Query for ProductLang
2023-10-13	13:21:10	3214	[DEBUG]	Executed store
2023-10-13	13:21:10	3214	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D8425S',`product_name`='ROCK SHOK HIGH PERFORMANCE SUSPENSION FLUID 3WT 120ML / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rock-shok-high-performance-suspension-fluid-3wt-120ml-none' WHERE `virtuemart_product_id` = '1862706'
2023-10-13	13:21:10	3214	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28803_high_performance_suspension_fluid_3wt_120ml.jpg
2023-10-13	13:21:10	3214	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:10	3214	[DEBUG]	Process image file
2023-10-13	13:21:10	3214	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:10	3214	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:10	3214	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28803_high_performance_suspension_fluid_3wt_120ml.jpg
2023-10-13	13:21:10	3214	[DEBUG]	Full name target: bcprisme/28803_high_performance_suspension_fluid_3wt_120ml.jpg
2023-10-13	13:21:11	3214	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:11	3214	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28803_high_performance_suspension_fluid_3wt_120ml.jpg'
2023-10-13	13:21:11	3214	[DEBUG]	Query for Media
2023-10-13	13:21:11	3214	[DEBUG]	Executed store
2023-10-13	13:21:11	3214	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28803_high_performance_suspension_fluid_3wt_120ml.jpg',`file_url_thumb`='bcprisme/28803_high_performance_suspension_fluid_3wt_120ml.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15293'
2023-10-13	13:21:11	3214	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:11	3214	[DEBUG]	Executed store
2023-10-13	13:21:11	3214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862706','15293','1')
2023-10-13	13:21:11	3214	[DEBUG]	Store product image relation
2023-10-13	13:21:11	3214	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:11	3214	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862706 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:11	3214	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:11	3214	[DEBUG]	Executed store
2023-10-13	13:21:11	3214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862706','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:11	3214	[DEBUG]	Checking manufacturer
2023-10-13	13:21:11	3214	[DEBUG]	Load a row
2023-10-13	13:21:11	3214	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:11	3214	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:21:11	3214	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:11	3214	[DEBUG]	Executed store
2023-10-13	13:21:11	3214	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411920883369' WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:21:11	3214	[DEBUG]	Manufacturer exists
2023-10-13	13:21:11	3214	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 36
2023-10-13	13:21:11	3214	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:11	3214	[DEBUG]	Executed store
2023-10-13	13:21:11	3214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862706','36')
2023-10-13	13:21:11	3214	[DEBUG]	Find the custom field ID
2023-10-13	13:21:11	3214	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:11	3214	[DEBUG]	No custom field ID found
2023-10-13	13:21:11	3214	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:11	3214	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:11	3214	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862706 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:11	3214	[DEBUG]	Store custom available field
2023-10-13	13:21:11	3214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862706,3,'0',1)
2023-10-13	13:21:11	3214	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:11	3214	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:11	3214	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862706 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:11	3214	[DEBUG]	Store custom available field
2023-10-13	13:21:11	3214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862706,6,'choisir la taille',3)
2023-10-13	13:21:11	3214	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:11	3214	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:11	3214	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:11	3214	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:11	3214	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862706 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:11	3214	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:11	3214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862706,8,1)
2023-10-13	13:21:11	3214	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:11	3214	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862706\":[1862706,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862706
2023-10-13	13:21:11	3214	[DEBUG]	Checking category
2023-10-13	13:21:11	3214	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:11	3214	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862706
2023-10-13	13:21:11	3214	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:11	3214	[DEBUG]	Executed store
2023-10-13	13:21:11	3214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862706','7371')
2023-10-13	13:21:11	3214	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:11	3214	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862706 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:11	3214	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:11	3214	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862706
2023-10-13	13:21:11	3215	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:11	3215	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:11	3215	[DEBUG]	Use field value for field taille
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:11	3215	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:11	3215	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:11	3215	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:11	3215	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:11	3215	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:11	3215	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:11	3215	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:11	3215	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:11	3215	[DEBUG]	Use field value for field published
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:11	3215	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field override
2023-10-13	13:21:11	3215	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:11	3215	[DEBUG]	Use field value for field slug
2023-10-13	13:21:11	3215	[DEBUG]	Process line 3215
2023-10-13	13:21:11	3215	[DEBUG]	Load a row
2023-10-13	13:21:11	3215	[DEBUG]	Processing item: 710845655203
2023-10-13	13:21:11	3215	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:11	3215	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:11	3215	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4936_3'
2023-10-13	13:21:11	3215	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:11	3215	[DEBUG]	Processing product tax
2023-10-13	13:21:11	3215	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:11	3215	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:11	3215	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:11	3215	[DEBUG]	Query for Product
2023-10-13	13:21:11	3215	[DEBUG]	Executed store
2023-10-13	13:21:11	3215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862706','710845655203','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:11	3215	[DEBUG]	No parent found
2023-10-13	13:21:11	3215	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862706 AND customfield_value = 'stockable'
2023-10-13	13:21:11	3215	[DEBUG]	Check product language entry
2023-10-13	13:21:11	3215	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862707
2023-10-13	13:21:11	3215	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:11	3215	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845655203' AND `virtuemart_product_id` != 1862707
2023-10-13	13:21:11	3215	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:11	3215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862707, '710845655203')
2023-10-13	13:21:11	3215	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:11	3215	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-high-performance-suspension-fluid-3wt-120ml-none-unitaire' AND `virtuemart_product_id` != 1862707
2023-10-13	13:21:11	3215	[DEBUG]	Query for ProductLang
2023-10-13	13:21:11	3215	[DEBUG]	Executed store
2023-10-13	13:21:11	3215	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ROCK SHOK HIGH PERFORMANCE SUSPENSION FLUID 3WT 120ML / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rock-shok-high-performance-suspension-fluid-3wt-120ml-none-unitaire' WHERE `virtuemart_product_id` = '1862707'
2023-10-13	13:21:11	3215	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28803_high_performance_suspension_fluid_3wt_120ml.jpg
2023-10-13	13:21:11	3215	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:11	3215	[DEBUG]	Process image file
2023-10-13	13:21:11	3215	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:11	3215	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:11	3215	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28803_high_performance_suspension_fluid_3wt_120ml.jpg
2023-10-13	13:21:11	3215	[DEBUG]	Full name target: bcprisme/28803_high_performance_suspension_fluid_3wt_120ml.jpg
2023-10-13	13:21:12	3215	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:12	3215	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28803_high_performance_suspension_fluid_3wt_120ml.jpg'
2023-10-13	13:21:12	3215	[DEBUG]	Query for Media
2023-10-13	13:21:12	3215	[DEBUG]	Executed store
2023-10-13	13:21:12	3215	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28803_high_performance_suspension_fluid_3wt_120ml.jpg',`file_url_thumb`='bcprisme/28803_high_performance_suspension_fluid_3wt_120ml.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15293'
2023-10-13	13:21:12	3215	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:12	3215	[DEBUG]	Executed store
2023-10-13	13:21:12	3215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862707','15293','1')
2023-10-13	13:21:12	3215	[DEBUG]	Store product image relation
2023-10-13	13:21:12	3215	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:12	3215	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862707 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:12	3215	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:12	3215	[DEBUG]	Executed store
2023-10-13	13:21:12	3215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862707','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:12	3215	[DEBUG]	Checking manufacturer
2023-10-13	13:21:12	3215	[DEBUG]	Load a row
2023-10-13	13:21:12	3215	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:12	3215	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:21:12	3215	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:12	3215	[DEBUG]	Executed store
2023-10-13	13:21:12	3215	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411920883369' WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:21:12	3215	[DEBUG]	Manufacturer exists
2023-10-13	13:21:12	3215	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 36
2023-10-13	13:21:12	3215	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:12	3215	[DEBUG]	Executed store
2023-10-13	13:21:12	3215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862707','36')
2023-10-13	13:21:12	3215	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:12	3215	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:12	3215	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862707 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:12	3215	[DEBUG]	Store custom available field
2023-10-13	13:21:12	3215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862707,3,'',1)
2023-10-13	13:21:12	3215	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:12	3215	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:12	3215	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862707 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:12	3215	[DEBUG]	Store custom available field
2023-10-13	13:21:12	3215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862707,6,'Unitaire',3)
2023-10-13	13:21:12	3215	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:12	3215	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:12	3215	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862706
2023-10-13	13:21:12	3215	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:12	3215	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862706\":[1862706,8,1,\"choisir la taille\"],\"1862707\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862706
2023-10-13	13:21:12	3215	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:12	3215	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862707
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:12	3216	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field taille
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:12	3216	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:12	3216	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:12	3216	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:12	3216	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:12	3216	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:12	3216	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field published
2023-10-13	13:21:12	3216	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:12	3216	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field override
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:12	3216	[DEBUG]	Use field value for field slug
2023-10-13	13:21:12	3216	[DEBUG]	Process line 3216
2023-10-13	13:21:12	3216	[DEBUG]	Load a row
2023-10-13	13:21:12	3216	[DEBUG]	Processing item: A_4937_3
2023-10-13	13:21:12	3216	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:12	3216	[DEBUG]	Processing product tax
2023-10-13	13:21:12	3216	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:12	3216	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:12	3216	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:12	3216	[DEBUG]	Query for Product
2023-10-13	13:21:12	3216	[DEBUG]	Executed store
2023-10-13	13:21:12	3216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4937_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:12	3216	[DEBUG]	Check product language entry
2023-10-13	13:21:12	3216	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862708
2023-10-13	13:21:12	3216	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:12	3216	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4937_3' AND `virtuemart_product_id` != 1862708
2023-10-13	13:21:12	3216	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:12	3216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862708, 'A_4937_3')
2023-10-13	13:21:12	3216	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:12	3216	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-high-performance-hydraulic-fluid-reverb-120ml-none' AND `virtuemart_product_id` != 1862708
2023-10-13	13:21:12	3216	[DEBUG]	Query for ProductLang
2023-10-13	13:21:12	3216	[DEBUG]	Executed store
2023-10-13	13:21:12	3216	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D8402K',`product_name`='ROCK SHOK HIGH PERFORMANCE HYDRAULIC FLUID REVERB 120ML / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rock-shok-high-performance-hydraulic-fluid-reverb-120ml-none' WHERE `virtuemart_product_id` = '1862708'
2023-10-13	13:21:12	3216	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28804_high_performance_hydraulic_fluid_reverb_120ml.jpg
2023-10-13	13:21:12	3216	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:12	3216	[DEBUG]	Process image file
2023-10-13	13:21:12	3216	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:12	3216	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:12	3216	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28804_high_performance_hydraulic_fluid_reverb_120ml.jpg
2023-10-13	13:21:12	3216	[DEBUG]	Full name target: bcprisme/28804_high_performance_hydraulic_fluid_reverb_120ml.jpg
2023-10-13	13:21:13	3216	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:13	3216	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28804_high_performance_hydraulic_fluid_reverb_120ml.jpg'
2023-10-13	13:21:13	3216	[DEBUG]	Query for Media
2023-10-13	13:21:13	3216	[DEBUG]	Executed store
2023-10-13	13:21:13	3216	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28804_high_performance_hydraulic_fluid_reverb_120ml.jpg',`file_url_thumb`='bcprisme/28804_high_performance_hydraulic_fluid_reverb_120ml.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15294'
2023-10-13	13:21:13	3216	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:13	3216	[DEBUG]	Executed store
2023-10-13	13:21:13	3216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862708','15294','1')
2023-10-13	13:21:13	3216	[DEBUG]	Store product image relation
2023-10-13	13:21:13	3216	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:13	3216	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862708 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:13	3216	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:13	3216	[DEBUG]	Executed store
2023-10-13	13:21:13	3216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862708','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:13	3216	[DEBUG]	Checking manufacturer
2023-10-13	13:21:13	3216	[DEBUG]	Load a row
2023-10-13	13:21:13	3216	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:13	3216	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:21:13	3216	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:13	3216	[DEBUG]	Executed store
2023-10-13	13:21:13	3216	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411920883369' WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:21:13	3216	[DEBUG]	Manufacturer exists
2023-10-13	13:21:13	3216	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 36
2023-10-13	13:21:13	3216	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:13	3216	[DEBUG]	Executed store
2023-10-13	13:21:13	3216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862708','36')
2023-10-13	13:21:13	3216	[DEBUG]	Find the custom field ID
2023-10-13	13:21:13	3216	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:13	3216	[DEBUG]	No custom field ID found
2023-10-13	13:21:13	3216	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:13	3216	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:13	3216	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862708 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:13	3216	[DEBUG]	Store custom available field
2023-10-13	13:21:13	3216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862708,3,'0',1)
2023-10-13	13:21:13	3216	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:13	3216	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:13	3216	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862708 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:13	3216	[DEBUG]	Store custom available field
2023-10-13	13:21:13	3216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862708,6,'choisir la taille',3)
2023-10-13	13:21:13	3216	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:13	3216	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:13	3216	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:13	3216	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:13	3216	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862708 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:13	3216	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:13	3216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862708,8,1)
2023-10-13	13:21:13	3216	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:13	3216	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862708\":[1862708,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862708
2023-10-13	13:21:13	3216	[DEBUG]	Checking category
2023-10-13	13:21:13	3216	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:13	3216	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862708
2023-10-13	13:21:13	3216	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:13	3216	[DEBUG]	Executed store
2023-10-13	13:21:13	3216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862708','7371')
2023-10-13	13:21:13	3216	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:13	3216	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862708 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:13	3216	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:13	3216	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862708
2023-10-13	13:21:13	3217	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:13	3217	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:13	3217	[DEBUG]	Use field value for field taille
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:13	3217	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:13	3217	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:13	3217	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:13	3217	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:13	3217	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:13	3217	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:13	3217	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:13	3217	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:13	3217	[DEBUG]	Use field value for field published
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:13	3217	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field override
2023-10-13	13:21:13	3217	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:13	3217	[DEBUG]	Use field value for field slug
2023-10-13	13:21:13	3217	[DEBUG]	Process line 3217
2023-10-13	13:21:13	3217	[DEBUG]	Load a row
2023-10-13	13:21:13	3217	[DEBUG]	Processing item: 710845665899
2023-10-13	13:21:13	3217	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:13	3217	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:13	3217	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4937_3'
2023-10-13	13:21:13	3217	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:13	3217	[DEBUG]	Processing product tax
2023-10-13	13:21:13	3217	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:13	3217	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:13	3217	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:13	3217	[DEBUG]	Query for Product
2023-10-13	13:21:13	3217	[DEBUG]	Executed store
2023-10-13	13:21:13	3217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862708','710845665899','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:13	3217	[DEBUG]	No parent found
2023-10-13	13:21:13	3217	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862708 AND customfield_value = 'stockable'
2023-10-13	13:21:13	3217	[DEBUG]	Check product language entry
2023-10-13	13:21:13	3217	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862709
2023-10-13	13:21:13	3217	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:13	3217	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845665899' AND `virtuemart_product_id` != 1862709
2023-10-13	13:21:13	3217	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:13	3217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862709, '710845665899')
2023-10-13	13:21:13	3217	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:13	3217	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-high-performance-hydraulic-fluid-reverb-120ml-none-unitaire' AND `virtuemart_product_id` != 1862709
2023-10-13	13:21:13	3217	[DEBUG]	Query for ProductLang
2023-10-13	13:21:13	3217	[DEBUG]	Executed store
2023-10-13	13:21:13	3217	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ROCK SHOK HIGH PERFORMANCE HYDRAULIC FLUID REVERB 120ML / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rock-shok-high-performance-hydraulic-fluid-reverb-120ml-none-unitaire' WHERE `virtuemart_product_id` = '1862709'
2023-10-13	13:21:13	3217	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28804_high_performance_hydraulic_fluid_reverb_120ml.jpg
2023-10-13	13:21:13	3217	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:13	3217	[DEBUG]	Process image file
2023-10-13	13:21:13	3217	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:13	3217	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:13	3217	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28804_high_performance_hydraulic_fluid_reverb_120ml.jpg
2023-10-13	13:21:13	3217	[DEBUG]	Full name target: bcprisme/28804_high_performance_hydraulic_fluid_reverb_120ml.jpg
2023-10-13	13:21:14	3217	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:14	3217	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28804_high_performance_hydraulic_fluid_reverb_120ml.jpg'
2023-10-13	13:21:14	3217	[DEBUG]	Query for Media
2023-10-13	13:21:14	3217	[DEBUG]	Executed store
2023-10-13	13:21:14	3217	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28804_high_performance_hydraulic_fluid_reverb_120ml.jpg',`file_url_thumb`='bcprisme/28804_high_performance_hydraulic_fluid_reverb_120ml.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15294'
2023-10-13	13:21:14	3217	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:14	3217	[DEBUG]	Executed store
2023-10-13	13:21:14	3217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862709','15294','1')
2023-10-13	13:21:14	3217	[DEBUG]	Store product image relation
2023-10-13	13:21:14	3217	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:14	3217	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862709 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:14	3217	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:14	3217	[DEBUG]	Executed store
2023-10-13	13:21:14	3217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862709','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:14	3217	[DEBUG]	Checking manufacturer
2023-10-13	13:21:14	3217	[DEBUG]	Load a row
2023-10-13	13:21:14	3217	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:14	3217	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:21:14	3217	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:14	3217	[DEBUG]	Executed store
2023-10-13	13:21:14	3217	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411920883369' WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:21:14	3217	[DEBUG]	Manufacturer exists
2023-10-13	13:21:14	3217	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 36
2023-10-13	13:21:14	3217	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:14	3217	[DEBUG]	Executed store
2023-10-13	13:21:14	3217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862709','36')
2023-10-13	13:21:14	3217	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:14	3217	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:14	3217	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862709 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:14	3217	[DEBUG]	Store custom available field
2023-10-13	13:21:14	3217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862709,3,'',1)
2023-10-13	13:21:14	3217	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:14	3217	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:14	3217	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862709 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:14	3217	[DEBUG]	Store custom available field
2023-10-13	13:21:14	3217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862709,6,'Unitaire',3)
2023-10-13	13:21:14	3217	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:14	3217	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:14	3217	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862708
2023-10-13	13:21:14	3217	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:14	3217	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862708\":[1862708,8,1,\"choisir la taille\"],\"1862709\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862708
2023-10-13	13:21:14	3217	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:14	3217	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862709
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:14	3218	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field taille
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:14	3218	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:14	3218	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:14	3218	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:14	3218	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:14	3218	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:14	3218	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field published
2023-10-13	13:21:14	3218	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:14	3218	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field override
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:14	3218	[DEBUG]	Use field value for field slug
2023-10-13	13:21:14	3218	[DEBUG]	Process line 3218
2023-10-13	13:21:14	3218	[DEBUG]	Load a row
2023-10-13	13:21:14	3218	[DEBUG]	Processing item: A_4938_3
2023-10-13	13:21:14	3218	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:14	3218	[DEBUG]	Processing product tax
2023-10-13	13:21:14	3218	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:14	3218	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:14	3218	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:14	3218	[DEBUG]	Query for Product
2023-10-13	13:21:14	3218	[DEBUG]	Executed store
2023-10-13	13:21:14	3218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4938_3','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:14	3218	[DEBUG]	Check product language entry
2023-10-13	13:21:14	3218	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862710
2023-10-13	13:21:14	3218	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:14	3218	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4938_3' AND `virtuemart_product_id` != 1862710
2023-10-13	13:21:14	3218	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:14	3218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862710, 'A_4938_3')
2023-10-13	13:21:14	3218	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:14	3218	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-royal-blood-100-ml-hydraulic-oil-none' AND `virtuemart_product_id` != 1862710
2023-10-13	13:21:14	3218	[DEBUG]	Query for ProductLang
2023-10-13	13:21:14	3218	[DEBUG]	Executed store
2023-10-13	13:21:14	3218	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H9577M',`product_name`='MAGURA ROYAL BLOOD, 100 ML HYDRAULIC OIL / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-royal-blood-100-ml-hydraulic-oil-none' WHERE `virtuemart_product_id` = '1862710'
2023-10-13	13:21:14	3218	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28809_magura_royal_blood,_100_ml_hydraulic_oil.jpg
2023-10-13	13:21:14	3218	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:14	3218	[DEBUG]	Process image file
2023-10-13	13:21:14	3218	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:14	3218	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:14	3218	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28809_magura_royal_blood,_100_ml_hydraulic_oil.jpg
2023-10-13	13:21:14	3218	[DEBUG]	Full name target: bcprisme/28809_magura_royal_blood,_100_ml_hydraulic_oil.jpg
2023-10-13	13:21:15	3218	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:15	3218	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28809_magura_royal_blood,_100_ml_hydraulic_oil.jpg'
2023-10-13	13:21:15	3218	[DEBUG]	Query for Media
2023-10-13	13:21:15	3218	[DEBUG]	Executed store
2023-10-13	13:21:15	3218	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28809_magura_royal_blood,_100_ml_hydraulic_oil.jpg',`file_url_thumb`='bcprisme/28809_magura_royal_blood,_100_ml_hydraulic_oil.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481442'
2023-10-13	13:21:15	3218	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:15	3218	[DEBUG]	Executed store
2023-10-13	13:21:15	3218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862710','481442','1')
2023-10-13	13:21:15	3218	[DEBUG]	Store product image relation
2023-10-13	13:21:15	3218	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:15	3218	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862710 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:15	3218	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:15	3218	[DEBUG]	Executed store
2023-10-13	13:21:15	3218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862710','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:15	3218	[DEBUG]	Checking manufacturer
2023-10-13	13:21:15	3218	[DEBUG]	Load a row
2023-10-13	13:21:15	3218	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:15	3218	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:21:15	3218	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:15	3218	[DEBUG]	Executed store
2023-10-13	13:21:15	3218	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:21:15	3218	[DEBUG]	Manufacturer exists
2023-10-13	13:21:15	3218	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:21:15	3218	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:15	3218	[DEBUG]	Executed store
2023-10-13	13:21:15	3218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862710','38')
2023-10-13	13:21:15	3218	[DEBUG]	Find the custom field ID
2023-10-13	13:21:15	3218	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:15	3218	[DEBUG]	No custom field ID found
2023-10-13	13:21:15	3218	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:15	3218	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:15	3218	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862710 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:15	3218	[DEBUG]	Store custom available field
2023-10-13	13:21:15	3218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862710,3,'0',1)
2023-10-13	13:21:15	3218	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:15	3218	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:15	3218	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862710 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:15	3218	[DEBUG]	Store custom available field
2023-10-13	13:21:15	3218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862710,6,'choisir la taille',3)
2023-10-13	13:21:15	3218	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:15	3218	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:15	3218	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:15	3218	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:15	3218	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862710 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:15	3218	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:15	3218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862710,8,1)
2023-10-13	13:21:15	3218	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:15	3218	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862710\":[1862710,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862710
2023-10-13	13:21:15	3218	[DEBUG]	Checking category
2023-10-13	13:21:15	3218	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:15	3218	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862710
2023-10-13	13:21:15	3218	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:15	3218	[DEBUG]	Executed store
2023-10-13	13:21:15	3218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862710','7371')
2023-10-13	13:21:15	3218	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:15	3218	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862710 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:15	3218	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:15	3218	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862710
2023-10-13	13:21:15	3219	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:15	3219	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:15	3219	[DEBUG]	Use field value for field taille
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:15	3219	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:15	3219	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:15	3219	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:15	3219	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:15	3219	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:15	3219	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:15	3219	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:15	3219	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:15	3219	[DEBUG]	Use field value for field published
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:15	3219	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field override
2023-10-13	13:21:15	3219	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:15	3219	[DEBUG]	Use field value for field slug
2023-10-13	13:21:15	3219	[DEBUG]	Process line 3219
2023-10-13	13:21:15	3219	[DEBUG]	Load a row
2023-10-13	13:21:15	3219	[DEBUG]	Processing item: 4055184027981
2023-10-13	13:21:15	3219	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:15	3219	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:15	3219	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4938_3'
2023-10-13	13:21:15	3219	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:15	3219	[DEBUG]	Processing product tax
2023-10-13	13:21:15	3219	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:15	3219	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:15	3219	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:15	3219	[DEBUG]	Query for Product
2023-10-13	13:21:15	3219	[DEBUG]	Executed store
2023-10-13	13:21:15	3219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862710','4055184027981','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:15	3219	[DEBUG]	No parent found
2023-10-13	13:21:15	3219	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862710 AND customfield_value = 'stockable'
2023-10-13	13:21:15	3219	[DEBUG]	Check product language entry
2023-10-13	13:21:15	3219	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862711
2023-10-13	13:21:15	3219	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:15	3219	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184027981' AND `virtuemart_product_id` != 1862711
2023-10-13	13:21:15	3219	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:15	3219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862711, '4055184027981')
2023-10-13	13:21:15	3219	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:15	3219	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-royal-blood-100-ml-hydraulic-oil-none-unitaire' AND `virtuemart_product_id` != 1862711
2023-10-13	13:21:15	3219	[DEBUG]	Query for ProductLang
2023-10-13	13:21:15	3219	[DEBUG]	Executed store
2023-10-13	13:21:15	3219	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA ROYAL BLOOD, 100 ML HYDRAULIC OIL / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-royal-blood-100-ml-hydraulic-oil-none-unitaire' WHERE `virtuemart_product_id` = '1862711'
2023-10-13	13:21:15	3219	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28809_magura_royal_blood,_100_ml_hydraulic_oil.jpg
2023-10-13	13:21:15	3219	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:15	3219	[DEBUG]	Process image file
2023-10-13	13:21:15	3219	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:15	3219	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:15	3219	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28809_magura_royal_blood,_100_ml_hydraulic_oil.jpg
2023-10-13	13:21:15	3219	[DEBUG]	Full name target: bcprisme/28809_magura_royal_blood,_100_ml_hydraulic_oil.jpg
2023-10-13	13:21:16	3219	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:16	3219	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28809_magura_royal_blood,_100_ml_hydraulic_oil.jpg'
2023-10-13	13:21:16	3219	[DEBUG]	Query for Media
2023-10-13	13:21:16	3219	[DEBUG]	Executed store
2023-10-13	13:21:16	3219	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28809_magura_royal_blood,_100_ml_hydraulic_oil.jpg',`file_url_thumb`='bcprisme/28809_magura_royal_blood,_100_ml_hydraulic_oil.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481442'
2023-10-13	13:21:16	3219	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:16	3219	[DEBUG]	Executed store
2023-10-13	13:21:16	3219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862711','481442','1')
2023-10-13	13:21:16	3219	[DEBUG]	Store product image relation
2023-10-13	13:21:16	3219	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:16	3219	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862711 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:16	3219	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:16	3219	[DEBUG]	Executed store
2023-10-13	13:21:16	3219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862711','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:16	3219	[DEBUG]	Checking manufacturer
2023-10-13	13:21:16	3219	[DEBUG]	Load a row
2023-10-13	13:21:16	3219	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:16	3219	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:21:16	3219	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:16	3219	[DEBUG]	Executed store
2023-10-13	13:21:16	3219	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:21:16	3219	[DEBUG]	Manufacturer exists
2023-10-13	13:21:16	3219	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:21:16	3219	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:16	3219	[DEBUG]	Executed store
2023-10-13	13:21:16	3219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862711','38')
2023-10-13	13:21:16	3219	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:16	3219	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:16	3219	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862711 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:16	3219	[DEBUG]	Store custom available field
2023-10-13	13:21:16	3219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862711,3,'',1)
2023-10-13	13:21:16	3219	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:16	3219	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:16	3219	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862711 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:16	3219	[DEBUG]	Store custom available field
2023-10-13	13:21:16	3219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862711,6,'Unitaire',3)
2023-10-13	13:21:16	3219	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:16	3219	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:16	3219	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862710
2023-10-13	13:21:16	3219	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:16	3219	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862710\":[1862710,8,1,\"choisir la taille\"],\"1862711\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862710
2023-10-13	13:21:16	3219	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:16	3219	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862711
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:16	3220	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field taille
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:16	3220	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:16	3220	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:16	3220	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:16	3220	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:16	3220	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:16	3220	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field published
2023-10-13	13:21:16	3220	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:16	3220	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field override
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:16	3220	[DEBUG]	Use field value for field slug
2023-10-13	13:21:16	3220	[DEBUG]	Process line 3220
2023-10-13	13:21:16	3220	[DEBUG]	Load a row
2023-10-13	13:21:16	3220	[DEBUG]	Processing item: A_4939_3
2023-10-13	13:21:16	3220	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:16	3220	[DEBUG]	Processing product tax
2023-10-13	13:21:16	3220	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:16	3220	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:16	3220	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:16	3220	[DEBUG]	Query for Product
2023-10-13	13:21:16	3220	[DEBUG]	Executed store
2023-10-13	13:21:16	3220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4939_3','4','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:16	3220	[DEBUG]	Check product language entry
2023-10-13	13:21:16	3220	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862712
2023-10-13	13:21:16	3220	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:16	3220	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4939_3' AND `virtuemart_product_id` != 1862712
2023-10-13	13:21:16	3220	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:16	3220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862712, 'A_4939_3')
2023-10-13	13:21:16	3220	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:16	3220	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'velopurol-spray-produit-de-nettoyage-520ml-none' AND `virtuemart_product_id` != 1862712
2023-10-13	13:21:16	3220	[DEBUG]	Query for ProductLang
2023-10-13	13:21:16	3220	[DEBUG]	Executed store
2023-10-13	13:21:16	3220	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.17211',`product_name`='VELOPUROL SPRAY  produit de nettoyage 520ML  / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='velopurol-spray-produit-de-nettoyage-520ml-none' WHERE `virtuemart_product_id` = '1862712'
2023-10-13	13:21:16	3220	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28810_velopurol_spray__520ml_.jpg
2023-10-13	13:21:16	3220	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:16	3220	[DEBUG]	Process image file
2023-10-13	13:21:16	3220	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:16	3220	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:16	3220	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28810_velopurol_spray__520ml_.jpg
2023-10-13	13:21:16	3220	[DEBUG]	Full name target: bcprisme/28810_velopurol_spray__520ml_.jpg
2023-10-13	13:21:17	3220	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:17	3220	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28810_velopurol_spray__520ml_.jpg'
2023-10-13	13:21:17	3220	[DEBUG]	Query for Media
2023-10-13	13:21:17	3220	[DEBUG]	Executed store
2023-10-13	13:21:17	3220	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28810_velopurol_spray__520ml_.jpg',`file_url_thumb`='bcprisme/28810_velopurol_spray__520ml_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437443'
2023-10-13	13:21:17	3220	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:17	3220	[DEBUG]	Executed store
2023-10-13	13:21:17	3220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862712','437443','1')
2023-10-13	13:21:17	3220	[DEBUG]	Store product image relation
2023-10-13	13:21:17	3220	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:17	3220	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862712 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:17	3220	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:17	3220	[DEBUG]	Executed store
2023-10-13	13:21:17	3220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862712','0','15.7845868152275','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:17	3220	[DEBUG]	Checking manufacturer
2023-10-13	13:21:17	3220	[DEBUG]	Load a row
2023-10-13	13:21:17	3220	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:17	3220	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '39'
2023-10-13	13:21:17	3220	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:17	3220	[DEBUG]	Executed store
2023-10-13	13:21:17	3220	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-12-24-10-18-59409853737' WHERE `virtuemart_manufacturer_id` = '39'
2023-10-13	13:21:17	3220	[DEBUG]	Manufacturer exists
2023-10-13	13:21:17	3220	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 39
2023-10-13	13:21:17	3220	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:17	3220	[DEBUG]	Executed store
2023-10-13	13:21:17	3220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862712','39')
2023-10-13	13:21:17	3220	[DEBUG]	Find the custom field ID
2023-10-13	13:21:17	3220	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:17	3220	[DEBUG]	No custom field ID found
2023-10-13	13:21:17	3220	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:17	3220	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:17	3220	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862712 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:17	3220	[DEBUG]	Store custom available field
2023-10-13	13:21:17	3220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862712,3,'0',1)
2023-10-13	13:21:17	3220	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:17	3220	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:17	3220	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862712 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:17	3220	[DEBUG]	Store custom available field
2023-10-13	13:21:17	3220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862712,6,'choisir la taille',3)
2023-10-13	13:21:17	3220	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:17	3220	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:17	3220	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:17	3220	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:17	3220	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862712 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:17	3220	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:17	3220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862712,8,1)
2023-10-13	13:21:17	3220	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:17	3220	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862712\":[1862712,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862712
2023-10-13	13:21:17	3220	[DEBUG]	Checking category
2023-10-13	13:21:17	3220	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:17	3220	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862712
2023-10-13	13:21:17	3220	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:17	3220	[DEBUG]	Executed store
2023-10-13	13:21:17	3220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862712','7371')
2023-10-13	13:21:17	3220	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:17	3220	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862712 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:17	3220	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:17	3220	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862712
2023-10-13	13:21:17	3221	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:17	3221	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:17	3221	[DEBUG]	Use field value for field taille
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:17	3221	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:17	3221	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:17	3221	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:17	3221	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:17	3221	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:17	3221	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:17	3221	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:17	3221	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:17	3221	[DEBUG]	Use field value for field published
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:17	3221	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field override
2023-10-13	13:21:17	3221	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:17	3221	[DEBUG]	Use field value for field slug
2023-10-13	13:21:17	3221	[DEBUG]	Process line 3221
2023-10-13	13:21:17	3221	[DEBUG]	Load a row
2023-10-13	13:21:17	3221	[DEBUG]	Processing item: 7630017828101
2023-10-13	13:21:17	3221	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:17	3221	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:17	3221	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4939_3'
2023-10-13	13:21:17	3221	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:17	3221	[DEBUG]	Processing product tax
2023-10-13	13:21:17	3221	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:17	3221	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:17	3221	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:17	3221	[DEBUG]	Query for Product
2023-10-13	13:21:17	3221	[DEBUG]	Executed store
2023-10-13	13:21:17	3221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862712','7630017828101','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:17	3221	[DEBUG]	No parent found
2023-10-13	13:21:17	3221	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862712 AND customfield_value = 'stockable'
2023-10-13	13:21:17	3221	[DEBUG]	Check product language entry
2023-10-13	13:21:17	3221	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862713
2023-10-13	13:21:17	3221	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:17	3221	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7630017828101' AND `virtuemart_product_id` != 1862713
2023-10-13	13:21:17	3221	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:17	3221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862713, '7630017828101')
2023-10-13	13:21:17	3221	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:17	3221	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'velopurol-spray-produit-de-nettoyage-520ml-none-unitaire' AND `virtuemart_product_id` != 1862713
2023-10-13	13:21:17	3221	[DEBUG]	Query for ProductLang
2023-10-13	13:21:17	3221	[DEBUG]	Executed store
2023-10-13	13:21:17	3221	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='VELOPUROL SPRAY  produit de nettoyage 520ML  / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='velopurol-spray-produit-de-nettoyage-520ml-none-unitaire' WHERE `virtuemart_product_id` = '1862713'
2023-10-13	13:21:17	3221	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28810_velopurol_spray__520ml_.jpg
2023-10-13	13:21:17	3221	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:17	3221	[DEBUG]	Process image file
2023-10-13	13:21:17	3221	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:17	3221	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:17	3221	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28810_velopurol_spray__520ml_.jpg
2023-10-13	13:21:17	3221	[DEBUG]	Full name target: bcprisme/28810_velopurol_spray__520ml_.jpg
2023-10-13	13:21:18	3221	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:18	3221	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28810_velopurol_spray__520ml_.jpg'
2023-10-13	13:21:18	3221	[DEBUG]	Query for Media
2023-10-13	13:21:18	3221	[DEBUG]	Executed store
2023-10-13	13:21:18	3221	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28810_velopurol_spray__520ml_.jpg',`file_url_thumb`='bcprisme/28810_velopurol_spray__520ml_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437443'
2023-10-13	13:21:18	3221	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:18	3221	[DEBUG]	Executed store
2023-10-13	13:21:18	3221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862713','437443','1')
2023-10-13	13:21:18	3221	[DEBUG]	Store product image relation
2023-10-13	13:21:18	3221	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:18	3221	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862713 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:18	3221	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:18	3221	[DEBUG]	Executed store
2023-10-13	13:21:18	3221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862713','0','15.7845868152275','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:18	3221	[DEBUG]	Checking manufacturer
2023-10-13	13:21:18	3221	[DEBUG]	Load a row
2023-10-13	13:21:18	3221	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:18	3221	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '39'
2023-10-13	13:21:18	3221	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:18	3221	[DEBUG]	Executed store
2023-10-13	13:21:18	3221	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-12-24-10-18-59409853737' WHERE `virtuemart_manufacturer_id` = '39'
2023-10-13	13:21:18	3221	[DEBUG]	Manufacturer exists
2023-10-13	13:21:18	3221	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 39
2023-10-13	13:21:18	3221	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:18	3221	[DEBUG]	Executed store
2023-10-13	13:21:18	3221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862713','39')
2023-10-13	13:21:18	3221	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:18	3221	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:18	3221	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862713 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:18	3221	[DEBUG]	Store custom available field
2023-10-13	13:21:18	3221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862713,3,'',1)
2023-10-13	13:21:18	3221	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:18	3221	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:18	3221	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862713 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:18	3221	[DEBUG]	Store custom available field
2023-10-13	13:21:18	3221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862713,6,'Unitaire',3)
2023-10-13	13:21:18	3221	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:18	3221	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:18	3221	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862712
2023-10-13	13:21:18	3221	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:18	3221	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862712\":[1862712,8,1,\"choisir la taille\"],\"1862713\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862712
2023-10-13	13:21:18	3221	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:18	3221	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862713
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:18	3222	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field taille
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:18	3222	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:18	3222	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:18	3222	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:18	3222	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:18	3222	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:18	3222	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field published
2023-10-13	13:21:18	3222	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:18	3222	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field override
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:18	3222	[DEBUG]	Use field value for field slug
2023-10-13	13:21:18	3222	[DEBUG]	Process line 3222
2023-10-13	13:21:18	3222	[DEBUG]	Load a row
2023-10-13	13:21:18	3222	[DEBUG]	Processing item: A_4974_3
2023-10-13	13:21:18	3222	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:18	3222	[DEBUG]	Processing product tax
2023-10-13	13:21:18	3222	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:18	3222	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:18	3222	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:18	3222	[DEBUG]	Query for Product
2023-10-13	13:21:18	3222	[DEBUG]	Executed store
2023-10-13	13:21:18	3222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4974_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:18	3222	[DEBUG]	Check product language entry
2023-10-13	13:21:18	3222	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862714
2023-10-13	13:21:18	3222	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:18	3222	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4974_3' AND `virtuemart_product_id` != 1862714
2023-10-13	13:21:18	3222	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:18	3222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862714, 'A_4974_3')
2023-10-13	13:21:18	3222	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:18	3222	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-royal-blood-1-liter-hydraulic-oil-none' AND `virtuemart_product_id` != 1862714
2023-10-13	13:21:18	3222	[DEBUG]	Query for ProductLang
2023-10-13	13:21:18	3222	[DEBUG]	Executed store
2023-10-13	13:21:18	3222	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : H9577S',`product_name`='MAGURA ROYAL BLOOD, 1 LITER HYDRAULIC OIL / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-royal-blood-1-liter-hydraulic-oil-none' WHERE `virtuemart_product_id` = '1862714'
2023-10-13	13:21:18	3222	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29342_magura_royal_blood,_1_liter_hydraulic_oil.jpg
2023-10-13	13:21:18	3222	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:18	3222	[DEBUG]	Process image file
2023-10-13	13:21:18	3222	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:18	3222	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:18	3222	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29342_magura_royal_blood,_1_liter_hydraulic_oil.jpg
2023-10-13	13:21:18	3222	[DEBUG]	Full name target: bcprisme/29342_magura_royal_blood,_1_liter_hydraulic_oil.jpg
2023-10-13	13:21:19	3222	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:19	3222	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29342_magura_royal_blood,_1_liter_hydraulic_oil.jpg'
2023-10-13	13:21:19	3222	[DEBUG]	Query for Media
2023-10-13	13:21:19	3222	[DEBUG]	Executed store
2023-10-13	13:21:19	3222	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29342_magura_royal_blood,_1_liter_hydraulic_oil.jpg',`file_url_thumb`='bcprisme/29342_magura_royal_blood,_1_liter_hydraulic_oil.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '687022'
2023-10-13	13:21:19	3222	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:19	3222	[DEBUG]	Executed store
2023-10-13	13:21:19	3222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862714','687022','1')
2023-10-13	13:21:19	3222	[DEBUG]	Store product image relation
2023-10-13	13:21:19	3222	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:19	3222	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862714 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:19	3222	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:19	3222	[DEBUG]	Executed store
2023-10-13	13:21:19	3222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862714','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:19	3222	[DEBUG]	Checking manufacturer
2023-10-13	13:21:19	3222	[DEBUG]	Load a row
2023-10-13	13:21:19	3222	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:19	3222	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:21:19	3222	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:19	3222	[DEBUG]	Executed store
2023-10-13	13:21:19	3222	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:21:19	3222	[DEBUG]	Manufacturer exists
2023-10-13	13:21:19	3222	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:21:19	3222	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:19	3222	[DEBUG]	Executed store
2023-10-13	13:21:19	3222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862714','38')
2023-10-13	13:21:19	3222	[DEBUG]	Find the custom field ID
2023-10-13	13:21:19	3222	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:19	3222	[DEBUG]	No custom field ID found
2023-10-13	13:21:19	3222	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:19	3222	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:19	3222	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862714 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:19	3222	[DEBUG]	Store custom available field
2023-10-13	13:21:19	3222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862714,3,'0',1)
2023-10-13	13:21:19	3222	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:19	3222	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:19	3222	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862714 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:19	3222	[DEBUG]	Store custom available field
2023-10-13	13:21:19	3222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862714,6,'choisir la taille',3)
2023-10-13	13:21:19	3222	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:19	3222	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:19	3222	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:19	3222	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:19	3222	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862714 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:19	3222	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:19	3222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862714,8,1)
2023-10-13	13:21:19	3222	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:19	3222	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862714\":[1862714,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862714
2023-10-13	13:21:19	3222	[DEBUG]	Checking category
2023-10-13	13:21:19	3222	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:19	3222	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862714
2023-10-13	13:21:19	3222	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:19	3222	[DEBUG]	Executed store
2023-10-13	13:21:19	3222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862714','7371')
2023-10-13	13:21:19	3222	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:19	3222	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862714 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:19	3222	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:19	3222	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862714
2023-10-13	13:21:19	3223	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:19	3223	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:19	3223	[DEBUG]	Use field value for field taille
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:19	3223	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:19	3223	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:19	3223	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:19	3223	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:19	3223	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:19	3223	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:19	3223	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:19	3223	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:19	3223	[DEBUG]	Use field value for field published
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:19	3223	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field override
2023-10-13	13:21:19	3223	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:19	3223	[DEBUG]	Use field value for field slug
2023-10-13	13:21:19	3223	[DEBUG]	Process line 3223
2023-10-13	13:21:19	3223	[DEBUG]	Load a row
2023-10-13	13:21:19	3223	[DEBUG]	Processing item: 4055184028001
2023-10-13	13:21:19	3223	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:19	3223	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:19	3223	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4974_3'
2023-10-13	13:21:19	3223	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:19	3223	[DEBUG]	Processing product tax
2023-10-13	13:21:19	3223	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:19	3223	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:19	3223	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:19	3223	[DEBUG]	Query for Product
2023-10-13	13:21:19	3223	[DEBUG]	Executed store
2023-10-13	13:21:19	3223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862714','4055184028001','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:19	3223	[DEBUG]	No parent found
2023-10-13	13:21:19	3223	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862714 AND customfield_value = 'stockable'
2023-10-13	13:21:19	3223	[DEBUG]	Check product language entry
2023-10-13	13:21:19	3223	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862715
2023-10-13	13:21:19	3223	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:19	3223	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4055184028001' AND `virtuemart_product_id` != 1862715
2023-10-13	13:21:19	3223	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:19	3223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862715, '4055184028001')
2023-10-13	13:21:19	3223	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:19	3223	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'magura-royal-blood-1-liter-hydraulic-oil-none-unitaire' AND `virtuemart_product_id` != 1862715
2023-10-13	13:21:19	3223	[DEBUG]	Query for ProductLang
2023-10-13	13:21:19	3223	[DEBUG]	Executed store
2023-10-13	13:21:19	3223	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAGURA ROYAL BLOOD, 1 LITER HYDRAULIC OIL / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='magura-royal-blood-1-liter-hydraulic-oil-none-unitaire' WHERE `virtuemart_product_id` = '1862715'
2023-10-13	13:21:19	3223	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29342_magura_royal_blood,_1_liter_hydraulic_oil.jpg
2023-10-13	13:21:19	3223	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:19	3223	[DEBUG]	Process image file
2023-10-13	13:21:19	3223	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:19	3223	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:19	3223	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29342_magura_royal_blood,_1_liter_hydraulic_oil.jpg
2023-10-13	13:21:19	3223	[DEBUG]	Full name target: bcprisme/29342_magura_royal_blood,_1_liter_hydraulic_oil.jpg
2023-10-13	13:21:20	3223	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:20	3223	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29342_magura_royal_blood,_1_liter_hydraulic_oil.jpg'
2023-10-13	13:21:20	3223	[DEBUG]	Query for Media
2023-10-13	13:21:20	3223	[DEBUG]	Executed store
2023-10-13	13:21:20	3223	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29342_magura_royal_blood,_1_liter_hydraulic_oil.jpg',`file_url_thumb`='bcprisme/29342_magura_royal_blood,_1_liter_hydraulic_oil.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '687022'
2023-10-13	13:21:20	3223	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:20	3223	[DEBUG]	Executed store
2023-10-13	13:21:20	3223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862715','687022','1')
2023-10-13	13:21:20	3223	[DEBUG]	Store product image relation
2023-10-13	13:21:20	3223	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:20	3223	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862715 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:20	3223	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:20	3223	[DEBUG]	Executed store
2023-10-13	13:21:20	3223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862715','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:20	3223	[DEBUG]	Checking manufacturer
2023-10-13	13:21:20	3223	[DEBUG]	Load a row
2023-10-13	13:21:20	3223	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:20	3223	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:21:20	3223	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:20	3223	[DEBUG]	Executed store
2023-10-13	13:21:20	3223	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411473139674' WHERE `virtuemart_manufacturer_id` = '38'
2023-10-13	13:21:20	3223	[DEBUG]	Manufacturer exists
2023-10-13	13:21:20	3223	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 38
2023-10-13	13:21:20	3223	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:20	3223	[DEBUG]	Executed store
2023-10-13	13:21:20	3223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862715','38')
2023-10-13	13:21:20	3223	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:20	3223	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:20	3223	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862715 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:20	3223	[DEBUG]	Store custom available field
2023-10-13	13:21:20	3223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862715,3,'',1)
2023-10-13	13:21:20	3223	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:20	3223	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:20	3223	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862715 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:20	3223	[DEBUG]	Store custom available field
2023-10-13	13:21:20	3223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862715,6,'Unitaire',3)
2023-10-13	13:21:20	3223	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:20	3223	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:20	3223	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862714
2023-10-13	13:21:20	3223	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:20	3223	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862714\":[1862714,8,1,\"choisir la taille\"],\"1862715\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862714
2023-10-13	13:21:20	3223	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:20	3223	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862715
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:20	3224	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field taille
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:20	3224	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:20	3224	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:20	3224	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:20	3224	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:20	3224	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:20	3224	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field published
2023-10-13	13:21:20	3224	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:20	3224	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field override
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:20	3224	[DEBUG]	Use field value for field slug
2023-10-13	13:21:20	3224	[DEBUG]	Process line 3224
2023-10-13	13:21:20	3224	[DEBUG]	Load a row
2023-10-13	13:21:20	3224	[DEBUG]	Processing item: A_5118_3
2023-10-13	13:21:20	3224	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:20	3224	[DEBUG]	Processing product tax
2023-10-13	13:21:20	3224	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:20	3224	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:20	3224	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:20	3224	[DEBUG]	Query for Product
2023-10-13	13:21:20	3224	[DEBUG]	Executed store
2023-10-13	13:21:20	3224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5118_3','0.164','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:20	3224	[DEBUG]	Check product language entry
2023-10-13	13:21:20	3224	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862716
2023-10-13	13:21:20	3224	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:20	3224	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5118_3' AND `virtuemart_product_id` != 1862716
2023-10-13	13:21:20	3224	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:20	3224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862716, 'A_5118_3')
2023-10-13	13:21:20	3224	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:20	3224	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rolhoff-service-kit-rolhoff-none' AND `virtuemart_product_id` != 1862716
2023-10-13	13:21:20	3224	[DEBUG]	Query for ProductLang
2023-10-13	13:21:20	3224	[DEBUG]	Executed store
2023-10-13	13:21:20	3224	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Ultra Slide Oil 150 ml<br>N° art fourn : 3507',`product_name`='Rolhoff Service Kit Rolhoff / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rolhoff-service-kit-rolhoff-none' WHERE `virtuemart_product_id` = '1862716'
2023-10-13	13:21:20	3224	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29580_service_kit_rolhoff.jpg
2023-10-13	13:21:20	3224	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:20	3224	[DEBUG]	Process image file
2023-10-13	13:21:20	3224	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:20	3224	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:20	3224	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29580_service_kit_rolhoff.jpg
2023-10-13	13:21:20	3224	[DEBUG]	Full name target: bcprisme/29580_service_kit_rolhoff.jpg
2023-10-13	13:21:21	3224	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:21	3224	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29580_service_kit_rolhoff.jpg'
2023-10-13	13:21:21	3224	[DEBUG]	Query for Media
2023-10-13	13:21:21	3224	[DEBUG]	Executed store
2023-10-13	13:21:21	3224	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29580_service_kit_rolhoff.jpg',`file_url_thumb`='bcprisme/29580_service_kit_rolhoff.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1456975'
2023-10-13	13:21:21	3224	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:21	3224	[DEBUG]	Executed store
2023-10-13	13:21:21	3224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862716','1456975','1')
2023-10-13	13:21:21	3224	[DEBUG]	Store product image relation
2023-10-13	13:21:21	3224	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:21	3224	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862716 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:21	3224	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:21	3224	[DEBUG]	Executed store
2023-10-13	13:21:21	3224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862716','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:21	3224	[DEBUG]	Checking manufacturer
2023-10-13	13:21:21	3224	[DEBUG]	Load a row
2023-10-13	13:21:21	3224	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:21	3224	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '294'
2023-10-13	13:21:21	3224	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:21	3224	[DEBUG]	Executed store
2023-10-13	13:21:21	3224	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SHIMANO',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano' WHERE `virtuemart_manufacturer_id` = '294'
2023-10-13	13:21:21	3224	[DEBUG]	Manufacturer exists
2023-10-13	13:21:21	3224	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 294
2023-10-13	13:21:21	3224	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:21	3224	[DEBUG]	Executed store
2023-10-13	13:21:21	3224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862716','294')
2023-10-13	13:21:21	3224	[DEBUG]	Find the custom field ID
2023-10-13	13:21:21	3224	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:21	3224	[DEBUG]	No custom field ID found
2023-10-13	13:21:21	3224	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:21	3224	[DEBUG]	Get existing row with customfield value 13.9611111111111
2023-10-13	13:21:21	3224	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862716 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:21	3224	[DEBUG]	Store custom available field
2023-10-13	13:21:21	3224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862716,3,'13.9611111111111',1)
2023-10-13	13:21:21	3224	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:21	3224	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:21	3224	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862716 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:21	3224	[DEBUG]	Store custom available field
2023-10-13	13:21:21	3224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862716,6,'choisir la taille',3)
2023-10-13	13:21:21	3224	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:21	3224	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:21	3224	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:21	3224	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:21	3224	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862716 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:21	3224	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:21	3224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862716,8,1)
2023-10-13	13:21:21	3224	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:21	3224	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862716\":[1862716,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862716
2023-10-13	13:21:21	3224	[DEBUG]	Checking category
2023-10-13	13:21:21	3224	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:21	3224	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862716
2023-10-13	13:21:21	3224	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:21	3224	[DEBUG]	Executed store
2023-10-13	13:21:21	3224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862716','7371')
2023-10-13	13:21:21	3224	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:21	3224	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862716 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:21	3224	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:21	3224	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862716
2023-10-13	13:21:21	3225	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:21	3225	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:21	3225	[DEBUG]	Use field value for field taille
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:21	3225	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:21	3225	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:21	3225	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:21	3225	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:21	3225	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:21	3225	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:21	3225	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:21	3225	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:21	3225	[DEBUG]	Use field value for field published
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:21	3225	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:21	3225	[DEBUG]	Use default value for field override
2023-10-13	13:21:22	3225	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:22	3225	[DEBUG]	Use field value for field slug
2023-10-13	13:21:22	3225	[DEBUG]	Process line 3225
2023-10-13	13:21:22	3225	[DEBUG]	Load a row
2023-10-13	13:21:22	3225	[DEBUG]	Processing item: 4250307402601
2023-10-13	13:21:22	3225	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:22	3225	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:22	3225	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5118_3'
2023-10-13	13:21:22	3225	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:22	3225	[DEBUG]	Processing product tax
2023-10-13	13:21:22	3225	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:22	3225	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:22	3225	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:22	3225	[DEBUG]	Query for Product
2023-10-13	13:21:22	3225	[DEBUG]	Executed store
2023-10-13	13:21:22	3225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862716','4250307402601','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:22	3225	[DEBUG]	No parent found
2023-10-13	13:21:22	3225	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862716 AND customfield_value = 'stockable'
2023-10-13	13:21:22	3225	[DEBUG]	Check product language entry
2023-10-13	13:21:22	3225	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862717
2023-10-13	13:21:22	3225	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:22	3225	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4250307402601' AND `virtuemart_product_id` != 1862717
2023-10-13	13:21:22	3225	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:22	3225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862717, '4250307402601')
2023-10-13	13:21:22	3225	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:22	3225	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rolhoff-service-kit-rolhoff-none-unitaire' AND `virtuemart_product_id` != 1862717
2023-10-13	13:21:22	3225	[DEBUG]	Query for ProductLang
2023-10-13	13:21:22	3225	[DEBUG]	Executed store
2023-10-13	13:21:22	3225	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Rolhoff Service Kit Rolhoff / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rolhoff-service-kit-rolhoff-none-unitaire' WHERE `virtuemart_product_id` = '1862717'
2023-10-13	13:21:22	3225	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29580_service_kit_rolhoff.jpg
2023-10-13	13:21:22	3225	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:22	3225	[DEBUG]	Process image file
2023-10-13	13:21:22	3225	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:22	3225	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:22	3225	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29580_service_kit_rolhoff.jpg
2023-10-13	13:21:22	3225	[DEBUG]	Full name target: bcprisme/29580_service_kit_rolhoff.jpg
2023-10-13	13:21:22	3225	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:22	3225	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29580_service_kit_rolhoff.jpg'
2023-10-13	13:21:22	3225	[DEBUG]	Query for Media
2023-10-13	13:21:22	3225	[DEBUG]	Executed store
2023-10-13	13:21:22	3225	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29580_service_kit_rolhoff.jpg',`file_url_thumb`='bcprisme/29580_service_kit_rolhoff.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1456975'
2023-10-13	13:21:22	3225	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:22	3225	[DEBUG]	Executed store
2023-10-13	13:21:22	3225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862717','1456975','1')
2023-10-13	13:21:22	3225	[DEBUG]	Store product image relation
2023-10-13	13:21:22	3225	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:22	3225	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862717 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:22	3225	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:22	3225	[DEBUG]	Executed store
2023-10-13	13:21:22	3225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862717','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:22	3225	[DEBUG]	Checking manufacturer
2023-10-13	13:21:22	3225	[DEBUG]	Load a row
2023-10-13	13:21:22	3225	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:22	3225	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '294'
2023-10-13	13:21:22	3225	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:22	3225	[DEBUG]	Executed store
2023-10-13	13:21:22	3225	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='SHIMANO',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano' WHERE `virtuemart_manufacturer_id` = '294'
2023-10-13	13:21:23	3225	[DEBUG]	Manufacturer exists
2023-10-13	13:21:23	3225	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 294
2023-10-13	13:21:23	3225	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:23	3225	[DEBUG]	Executed store
2023-10-13	13:21:23	3225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862717','294')
2023-10-13	13:21:23	3225	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:23	3225	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:23	3225	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862717 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:23	3225	[DEBUG]	Store custom available field
2023-10-13	13:21:23	3225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862717,3,'',1)
2023-10-13	13:21:23	3225	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:23	3225	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:23	3225	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862717 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:23	3225	[DEBUG]	Store custom available field
2023-10-13	13:21:23	3225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862717,6,'Unitaire',3)
2023-10-13	13:21:23	3225	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:23	3225	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:23	3225	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862716
2023-10-13	13:21:23	3225	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:23	3225	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862716\":[1862716,8,1,\"choisir la taille\"],\"1862717\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862716
2023-10-13	13:21:23	3225	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:23	3225	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862717
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:23	3226	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field taille
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:23	3226	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:23	3226	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:23	3226	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:23	3226	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:23	3226	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:23	3226	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field published
2023-10-13	13:21:23	3226	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:23	3226	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field override
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:23	3226	[DEBUG]	Use field value for field slug
2023-10-13	13:21:23	3226	[DEBUG]	Process line 3226
2023-10-13	13:21:23	3226	[DEBUG]	Load a row
2023-10-13	13:21:23	3226	[DEBUG]	Processing item: A_5123_208
2023-10-13	13:21:23	3226	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:23	3226	[DEBUG]	Processing product tax
2023-10-13	13:21:23	3226	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:23	3226	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:23	3226	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:23	3226	[DEBUG]	Query for Product
2023-10-13	13:21:23	3226	[DEBUG]	Executed store
2023-10-13	13:21:23	3226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5123_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:23	3226	[DEBUG]	Check product language entry
2023-10-13	13:21:23	3226	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862718
2023-10-13	13:21:23	3226	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:23	3226	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5123_208' AND `virtuemart_product_id` != 1862718
2023-10-13	13:21:23	3226	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:23	3226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862718, 'A_5123_208')
2023-10-13	13:21:23	3226	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:23	3226	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-graisse-silicone-p-gaines-de-cable-sp41-pot-de-50g-aucune' AND `virtuemart_product_id` != 1862718
2023-10-13	13:21:23	3226	[DEBUG]	Query for ProductLang
2023-10-13	13:21:23	3226	[DEBUG]	Executed store
2023-10-13	13:21:23	3226	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 91.34256',`product_name`='SHIMANO Graisse silicone p/gaines de câble SP41 pot de 50g / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-graisse-silicone-p-gaines-de-cable-sp41-pot-de-50g-aucune' WHERE `virtuemart_product_id` = '1862718'
2023-10-13	13:21:23	3226	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29585_shimano_graisse_silicone_p-gaines_de_ceble_sp41_pot_de_50g.jpg
2023-10-13	13:21:23	3226	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:23	3226	[DEBUG]	Process image file
2023-10-13	13:21:23	3226	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:23	3226	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:23	3226	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29585_shimano_graisse_silicone_p-gaines_de_ceble_sp41_pot_de_50g.jpg
2023-10-13	13:21:23	3226	[DEBUG]	Full name target: bcprisme/29585_shimano_graisse_silicone_p-gaines_de_ceble_sp41_pot_de_50g.jpg
2023-10-13	13:21:24	3226	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:24	3226	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29585_shimano_graisse_silicone_p-gaines_de_ceble_sp41_pot_de_50g.jpg'
2023-10-13	13:21:24	3226	[DEBUG]	Query for Media
2023-10-13	13:21:24	3226	[DEBUG]	Executed store
2023-10-13	13:21:24	3226	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29585_shimano_graisse_silicone_p-gaines_de_ceble_sp41_pot_de_50g.jpg',`file_url_thumb`='bcprisme/29585_shimano_graisse_silicone_p-gaines_de_ceble_sp41_pot_de_50g.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '279217'
2023-10-13	13:21:24	3226	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:24	3226	[DEBUG]	Executed store
2023-10-13	13:21:24	3226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862718','279217','1')
2023-10-13	13:21:24	3226	[DEBUG]	Store product image relation
2023-10-13	13:21:24	3226	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:24	3226	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862718 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:24	3226	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:24	3226	[DEBUG]	Executed store
2023-10-13	13:21:24	3226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862718','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:24	3226	[DEBUG]	Checking manufacturer
2023-10-13	13:21:24	3226	[DEBUG]	Load a row
2023-10-13	13:21:24	3226	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:24	3226	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:21:24	3226	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:24	3226	[DEBUG]	Executed store
2023-10-13	13:21:24	3226	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:21:24	3226	[DEBUG]	Manufacturer exists
2023-10-13	13:21:24	3226	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:21:24	3226	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:24	3226	[DEBUG]	Executed store
2023-10-13	13:21:24	3226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862718','26')
2023-10-13	13:21:24	3226	[DEBUG]	Find the custom field ID
2023-10-13	13:21:24	3226	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:24	3226	[DEBUG]	No custom field ID found
2023-10-13	13:21:24	3226	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:24	3226	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:24	3226	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862718 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:24	3226	[DEBUG]	Store custom available field
2023-10-13	13:21:24	3226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862718,3,'0',1)
2023-10-13	13:21:24	3226	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:24	3226	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:24	3226	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862718 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:24	3226	[DEBUG]	Store custom available field
2023-10-13	13:21:24	3226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862718,6,'choisir la taille',3)
2023-10-13	13:21:24	3226	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:24	3226	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:24	3226	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:24	3226	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:24	3226	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862718 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:24	3226	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:24	3226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862718,8,1)
2023-10-13	13:21:24	3226	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:24	3226	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862718\":[1862718,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862718
2023-10-13	13:21:24	3226	[DEBUG]	Checking category
2023-10-13	13:21:24	3226	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:24	3226	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862718
2023-10-13	13:21:24	3226	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:24	3226	[DEBUG]	Executed store
2023-10-13	13:21:24	3226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862718','7371')
2023-10-13	13:21:24	3226	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:24	3226	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862718 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:24	3226	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:24	3226	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862718
2023-10-13	13:21:24	3227	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:24	3227	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:24	3227	[DEBUG]	Use field value for field taille
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:24	3227	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:24	3227	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:24	3227	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:24	3227	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:24	3227	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:24	3227	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:24	3227	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:24	3227	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:24	3227	[DEBUG]	Use field value for field published
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:24	3227	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field override
2023-10-13	13:21:24	3227	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:24	3227	[DEBUG]	Use field value for field slug
2023-10-13	13:21:24	3227	[DEBUG]	Process line 3227
2023-10-13	13:21:24	3227	[DEBUG]	Load a row
2023-10-13	13:21:24	3227	[DEBUG]	Processing item: 4524667145714
2023-10-13	13:21:24	3227	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:24	3227	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:24	3227	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5123_208'
2023-10-13	13:21:24	3227	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:24	3227	[DEBUG]	Processing product tax
2023-10-13	13:21:24	3227	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:24	3227	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:24	3227	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:24	3227	[DEBUG]	Query for Product
2023-10-13	13:21:24	3227	[DEBUG]	Executed store
2023-10-13	13:21:24	3227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862718','4524667145714','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:24	3227	[DEBUG]	No parent found
2023-10-13	13:21:24	3227	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862718 AND customfield_value = 'stockable'
2023-10-13	13:21:24	3227	[DEBUG]	Check product language entry
2023-10-13	13:21:24	3227	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862719
2023-10-13	13:21:24	3227	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:24	3227	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667145714' AND `virtuemart_product_id` != 1862719
2023-10-13	13:21:24	3227	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:24	3227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862719, '4524667145714')
2023-10-13	13:21:24	3227	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:24	3227	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-graisse-silicone-p-gaines-de-cable-sp41-pot-de-50g-aucune-all' AND `virtuemart_product_id` != 1862719
2023-10-13	13:21:24	3227	[DEBUG]	Query for ProductLang
2023-10-13	13:21:24	3227	[DEBUG]	Executed store
2023-10-13	13:21:24	3227	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Graisse silicone p/gaines de câble SP41 pot de 50g / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-graisse-silicone-p-gaines-de-cable-sp41-pot-de-50g-aucune-all' WHERE `virtuemart_product_id` = '1862719'
2023-10-13	13:21:24	3227	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29585_shimano_graisse_silicone_p-gaines_de_ceble_sp41_pot_de_50g.jpg
2023-10-13	13:21:24	3227	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:24	3227	[DEBUG]	Process image file
2023-10-13	13:21:24	3227	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:24	3227	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:24	3227	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29585_shimano_graisse_silicone_p-gaines_de_ceble_sp41_pot_de_50g.jpg
2023-10-13	13:21:24	3227	[DEBUG]	Full name target: bcprisme/29585_shimano_graisse_silicone_p-gaines_de_ceble_sp41_pot_de_50g.jpg
2023-10-13	13:21:25	3227	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:25	3227	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29585_shimano_graisse_silicone_p-gaines_de_ceble_sp41_pot_de_50g.jpg'
2023-10-13	13:21:25	3227	[DEBUG]	Query for Media
2023-10-13	13:21:25	3227	[DEBUG]	Executed store
2023-10-13	13:21:25	3227	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29585_shimano_graisse_silicone_p-gaines_de_ceble_sp41_pot_de_50g.jpg',`file_url_thumb`='bcprisme/29585_shimano_graisse_silicone_p-gaines_de_ceble_sp41_pot_de_50g.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '279217'
2023-10-13	13:21:25	3227	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:25	3227	[DEBUG]	Executed store
2023-10-13	13:21:25	3227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862719','279217','1')
2023-10-13	13:21:25	3227	[DEBUG]	Store product image relation
2023-10-13	13:21:25	3227	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:25	3227	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862719 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:25	3227	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:25	3227	[DEBUG]	Executed store
2023-10-13	13:21:25	3227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862719','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:25	3227	[DEBUG]	Checking manufacturer
2023-10-13	13:21:25	3227	[DEBUG]	Load a row
2023-10-13	13:21:25	3227	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:25	3227	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:21:25	3227	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:25	3227	[DEBUG]	Executed store
2023-10-13	13:21:25	3227	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:21:25	3227	[DEBUG]	Manufacturer exists
2023-10-13	13:21:25	3227	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:21:25	3227	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:25	3227	[DEBUG]	Executed store
2023-10-13	13:21:25	3227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862719','26')
2023-10-13	13:21:25	3227	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:25	3227	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:25	3227	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862719 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:25	3227	[DEBUG]	Store custom available field
2023-10-13	13:21:25	3227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862719,3,'',1)
2023-10-13	13:21:25	3227	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:25	3227	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:21:25	3227	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862719 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:25	3227	[DEBUG]	Store custom available field
2023-10-13	13:21:25	3227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862719,6,'All',3)
2023-10-13	13:21:25	3227	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:25	3227	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:25	3227	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862718
2023-10-13	13:21:25	3227	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:25	3227	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862718\":[1862718,8,1,\"choisir la taille\"],\"1862719\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862718
2023-10-13	13:21:25	3227	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:25	3227	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862719
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:25	3228	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field taille
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:25	3228	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:25	3228	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:25	3228	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:25	3228	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:25	3228	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:25	3228	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field published
2023-10-13	13:21:25	3228	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:25	3228	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field override
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:25	3228	[DEBUG]	Use field value for field slug
2023-10-13	13:21:25	3228	[DEBUG]	Process line 3228
2023-10-13	13:21:25	3228	[DEBUG]	Load a row
2023-10-13	13:21:25	3228	[DEBUG]	Processing item: A_5124_3
2023-10-13	13:21:25	3228	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:25	3228	[DEBUG]	Processing product tax
2023-10-13	13:21:25	3228	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:25	3228	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:25	3228	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:25	3228	[DEBUG]	Query for Product
2023-10-13	13:21:25	3228	[DEBUG]	Executed store
2023-10-13	13:21:25	3228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5124_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:25	3228	[DEBUG]	Check product language entry
2023-10-13	13:21:25	3228	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862720
2023-10-13	13:21:25	3228	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:25	3228	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5124_3' AND `virtuemart_product_id` != 1862720
2023-10-13	13:21:25	3228	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:25	3228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862720, 'A_5124_3')
2023-10-13	13:21:25	3228	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:25	3228	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-spray-chaines-city-lube-300ml-none' AND `virtuemart_product_id` != 1862720
2023-10-13	13:21:25	3228	[DEBUG]	Query for ProductLang
2023-10-13	13:21:25	3228	[DEBUG]	Executed store
2023-10-13	13:21:25	3228	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.65192',`product_name`='MOTOREX Lubrifiant spray chaines City Lube 300ml / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-spray-chaines-city-lube-300ml-none' WHERE `virtuemart_product_id` = '1862720'
2023-10-13	13:21:25	3228	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_65192.jpg has not been found.
2023-10-13	13:21:25	3228	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:25	3228	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862720 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:25	3228	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:25	3228	[DEBUG]	Executed store
2023-10-13	13:21:25	3228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862720','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:25	3228	[DEBUG]	Checking manufacturer
2023-10-13	13:21:25	3228	[DEBUG]	Load a row
2023-10-13	13:21:25	3228	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:25	3228	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:25	3228	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:25	3228	[DEBUG]	Executed store
2023-10-13	13:21:25	3228	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:25	3228	[DEBUG]	Manufacturer exists
2023-10-13	13:21:25	3228	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:25	3228	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:25	3228	[DEBUG]	Executed store
2023-10-13	13:21:25	3228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862720','307')
2023-10-13	13:21:25	3228	[DEBUG]	Find the custom field ID
2023-10-13	13:21:25	3228	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:25	3228	[DEBUG]	No custom field ID found
2023-10-13	13:21:25	3228	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:25	3228	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:25	3228	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862720 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:25	3228	[DEBUG]	Store custom available field
2023-10-13	13:21:25	3228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862720,3,'0',1)
2023-10-13	13:21:25	3228	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:25	3228	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:25	3228	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862720 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:25	3228	[DEBUG]	Store custom available field
2023-10-13	13:21:25	3228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862720,6,'choisir la taille',3)
2023-10-13	13:21:25	3228	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:25	3228	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:25	3228	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:25	3228	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:25	3228	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862720 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:25	3228	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:25	3228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862720,8,1)
2023-10-13	13:21:25	3228	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:25	3228	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862720\":[1862720,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862720
2023-10-13	13:21:25	3228	[DEBUG]	Checking category
2023-10-13	13:21:25	3228	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:25	3228	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862720
2023-10-13	13:21:25	3228	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:25	3228	[DEBUG]	Executed store
2023-10-13	13:21:25	3228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862720','7371')
2023-10-13	13:21:25	3228	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:25	3228	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862720 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:25	3228	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:25	3228	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862720
2023-10-13	13:21:25	3229	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:25	3229	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:25	3229	[DEBUG]	Use field value for field taille
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:25	3229	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:25	3229	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:25	3229	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:25	3229	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:25	3229	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:25	3229	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:25	3229	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:25	3229	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:25	3229	[DEBUG]	Use field value for field published
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:25	3229	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field override
2023-10-13	13:21:25	3229	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:25	3229	[DEBUG]	Use field value for field slug
2023-10-13	13:21:25	3229	[DEBUG]	Process line 3229
2023-10-13	13:21:25	3229	[DEBUG]	Load a row
2023-10-13	13:21:25	3229	[DEBUG]	Processing item: 7611197137993
2023-10-13	13:21:25	3229	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:25	3229	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:25	3229	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5124_3'
2023-10-13	13:21:25	3229	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:25	3229	[DEBUG]	Processing product tax
2023-10-13	13:21:25	3229	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:25	3229	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:25	3229	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:25	3229	[DEBUG]	Query for Product
2023-10-13	13:21:25	3229	[DEBUG]	Executed store
2023-10-13	13:21:25	3229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862720','7611197137993','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:25	3229	[DEBUG]	No parent found
2023-10-13	13:21:25	3229	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862720 AND customfield_value = 'stockable'
2023-10-13	13:21:25	3229	[DEBUG]	Check product language entry
2023-10-13	13:21:25	3229	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862721
2023-10-13	13:21:25	3229	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:25	3229	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197137993' AND `virtuemart_product_id` != 1862721
2023-10-13	13:21:25	3229	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:25	3229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862721, '7611197137993')
2023-10-13	13:21:25	3229	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:25	3229	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-spray-chaines-city-lube-300ml-none-unitaire' AND `virtuemart_product_id` != 1862721
2023-10-13	13:21:25	3229	[DEBUG]	Query for ProductLang
2023-10-13	13:21:25	3229	[DEBUG]	Executed store
2023-10-13	13:21:25	3229	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Lubrifiant spray chaines City Lube 300ml / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-spray-chaines-city-lube-300ml-none-unitaire' WHERE `virtuemart_product_id` = '1862721'
2023-10-13	13:21:25	3229	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_65192.jpg has not been found.
2023-10-13	13:21:25	3229	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:25	3229	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862721 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:25	3229	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:25	3229	[DEBUG]	Executed store
2023-10-13	13:21:25	3229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862721','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:25	3229	[DEBUG]	Checking manufacturer
2023-10-13	13:21:25	3229	[DEBUG]	Load a row
2023-10-13	13:21:25	3229	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:25	3229	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:25	3229	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:25	3229	[DEBUG]	Executed store
2023-10-13	13:21:25	3229	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:25	3229	[DEBUG]	Manufacturer exists
2023-10-13	13:21:25	3229	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:25	3229	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:25	3229	[DEBUG]	Executed store
2023-10-13	13:21:25	3229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862721','307')
2023-10-13	13:21:25	3229	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:25	3229	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:25	3229	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862721 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:25	3229	[DEBUG]	Store custom available field
2023-10-13	13:21:25	3229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862721,3,'',1)
2023-10-13	13:21:25	3229	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:25	3229	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:25	3229	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862721 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:25	3229	[DEBUG]	Store custom available field
2023-10-13	13:21:25	3229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862721,6,'Unitaire',3)
2023-10-13	13:21:25	3229	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:25	3229	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:25	3229	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862720
2023-10-13	13:21:25	3229	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:25	3229	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862720\":[1862720,8,1,\"choisir la taille\"],\"1862721\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862720
2023-10-13	13:21:25	3229	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:25	3229	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862721
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:25	3230	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field taille
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:25	3230	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:25	3230	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:25	3230	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:25	3230	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:25	3230	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:25	3230	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field published
2023-10-13	13:21:25	3230	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:25	3230	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field override
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:25	3230	[DEBUG]	Use field value for field slug
2023-10-13	13:21:25	3230	[DEBUG]	Process line 3230
2023-10-13	13:21:25	3230	[DEBUG]	Load a row
2023-10-13	13:21:25	3230	[DEBUG]	Processing item: A_5248_208
2023-10-13	13:21:25	3230	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:25	3230	[DEBUG]	Processing product tax
2023-10-13	13:21:25	3230	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:25	3230	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:25	3230	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:25	3230	[DEBUG]	Query for Product
2023-10-13	13:21:25	3230	[DEBUG]	Executed store
2023-10-13	13:21:25	3230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5248_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:25	3230	[DEBUG]	Check product language entry
2023-10-13	13:21:25	3230	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862722
2023-10-13	13:21:25	3230	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:25	3230	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5248_208' AND `virtuemart_product_id` != 1862722
2023-10-13	13:21:25	3230	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:25	3230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862722, 'A_5248_208')
2023-10-13	13:21:25	3230	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:25	3230	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-degraissant-spray-easy-clean-500-ml-aucune' AND `virtuemart_product_id` != 1862722
2023-10-13	13:21:25	3230	[DEBUG]	Query for ProductLang
2023-10-13	13:21:25	3230	[DEBUG]	Executed store
2023-10-13	13:21:25	3230	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.55824',`product_name`='MOTOREX Dégraissant spray Easy Clean 500 ml / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-degraissant-spray-easy-clean-500-ml-aucune' WHERE `virtuemart_product_id` = '1862722'
2023-10-13	13:21:25	3230	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29719_motorex_easy_clean_degraissant_spray_500_ml.jpg
2023-10-13	13:21:25	3230	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:25	3230	[DEBUG]	Process image file
2023-10-13	13:21:25	3230	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:25	3230	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:25	3230	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29719_motorex_easy_clean_degraissant_spray_500_ml.jpg
2023-10-13	13:21:25	3230	[DEBUG]	Full name target: bcprisme/29719_motorex_easy_clean_degraissant_spray_500_ml.jpg
2023-10-13	13:21:26	3230	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:26	3230	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29719_motorex_easy_clean_degraissant_spray_500_ml.jpg'
2023-10-13	13:21:26	3230	[DEBUG]	Query for Media
2023-10-13	13:21:26	3230	[DEBUG]	Executed store
2023-10-13	13:21:26	3230	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29719_motorex_easy_clean_degraissant_spray_500_ml.jpg',`file_url_thumb`='bcprisme/29719_motorex_easy_clean_degraissant_spray_500_ml.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '141078'
2023-10-13	13:21:26	3230	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:26	3230	[DEBUG]	Executed store
2023-10-13	13:21:26	3230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862722','141078','1')
2023-10-13	13:21:26	3230	[DEBUG]	Store product image relation
2023-10-13	13:21:26	3230	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:26	3230	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862722 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:26	3230	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:26	3230	[DEBUG]	Executed store
2023-10-13	13:21:26	3230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862722','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:26	3230	[DEBUG]	Checking manufacturer
2023-10-13	13:21:26	3230	[DEBUG]	Load a row
2023-10-13	13:21:26	3230	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:26	3230	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:26	3230	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:26	3230	[DEBUG]	Executed store
2023-10-13	13:21:26	3230	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:26	3230	[DEBUG]	Manufacturer exists
2023-10-13	13:21:26	3230	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:26	3230	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:26	3230	[DEBUG]	Executed store
2023-10-13	13:21:26	3230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862722','307')
2023-10-13	13:21:26	3230	[DEBUG]	Find the custom field ID
2023-10-13	13:21:26	3230	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:26	3230	[DEBUG]	No custom field ID found
2023-10-13	13:21:26	3230	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:26	3230	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:26	3230	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862722 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:26	3230	[DEBUG]	Store custom available field
2023-10-13	13:21:26	3230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862722,3,'0',1)
2023-10-13	13:21:26	3230	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:26	3230	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:26	3230	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862722 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:26	3230	[DEBUG]	Store custom available field
2023-10-13	13:21:26	3230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862722,6,'choisir la taille',3)
2023-10-13	13:21:26	3230	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:26	3230	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:26	3230	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:26	3230	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:26	3230	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862722 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:26	3230	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:26	3230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862722,8,1)
2023-10-13	13:21:26	3230	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:26	3230	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862722\":[1862722,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862722
2023-10-13	13:21:26	3230	[DEBUG]	Checking category
2023-10-13	13:21:26	3230	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:26	3230	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862722
2023-10-13	13:21:26	3230	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:26	3230	[DEBUG]	Executed store
2023-10-13	13:21:26	3230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862722','7371')
2023-10-13	13:21:26	3230	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:26	3230	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862722 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:26	3230	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:26	3230	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862722
2023-10-13	13:21:26	3231	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:26	3231	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:26	3231	[DEBUG]	Use field value for field taille
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:26	3231	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:26	3231	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:26	3231	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:26	3231	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:26	3231	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:26	3231	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:26	3231	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:26	3231	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:26	3231	[DEBUG]	Use field value for field published
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:26	3231	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field override
2023-10-13	13:21:26	3231	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:26	3231	[DEBUG]	Use field value for field slug
2023-10-13	13:21:26	3231	[DEBUG]	Process line 3231
2023-10-13	13:21:26	3231	[DEBUG]	Load a row
2023-10-13	13:21:26	3231	[DEBUG]	Processing item: 7611197137801
2023-10-13	13:21:26	3231	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:26	3231	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:26	3231	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5248_208'
2023-10-13	13:21:26	3231	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:26	3231	[DEBUG]	Processing product tax
2023-10-13	13:21:26	3231	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:26	3231	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:26	3231	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:26	3231	[DEBUG]	Query for Product
2023-10-13	13:21:26	3231	[DEBUG]	Executed store
2023-10-13	13:21:26	3231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862722','7611197137801','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:26	3231	[DEBUG]	No parent found
2023-10-13	13:21:26	3231	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862722 AND customfield_value = 'stockable'
2023-10-13	13:21:26	3231	[DEBUG]	Check product language entry
2023-10-13	13:21:26	3231	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862723
2023-10-13	13:21:26	3231	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:26	3231	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197137801' AND `virtuemart_product_id` != 1862723
2023-10-13	13:21:26	3231	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:26	3231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862723, '7611197137801')
2023-10-13	13:21:26	3231	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:26	3231	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-degraissant-spray-easy-clean-500-ml-aucune-all' AND `virtuemart_product_id` != 1862723
2023-10-13	13:21:26	3231	[DEBUG]	Query for ProductLang
2023-10-13	13:21:26	3231	[DEBUG]	Executed store
2023-10-13	13:21:26	3231	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Dégraissant spray Easy Clean 500 ml / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-degraissant-spray-easy-clean-500-ml-aucune-all' WHERE `virtuemart_product_id` = '1862723'
2023-10-13	13:21:26	3231	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29719_motorex_easy_clean_degraissant_spray_500_ml.jpg
2023-10-13	13:21:26	3231	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:26	3231	[DEBUG]	Process image file
2023-10-13	13:21:26	3231	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:26	3231	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:26	3231	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29719_motorex_easy_clean_degraissant_spray_500_ml.jpg
2023-10-13	13:21:26	3231	[DEBUG]	Full name target: bcprisme/29719_motorex_easy_clean_degraissant_spray_500_ml.jpg
2023-10-13	13:21:27	3231	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:27	3231	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29719_motorex_easy_clean_degraissant_spray_500_ml.jpg'
2023-10-13	13:21:27	3231	[DEBUG]	Query for Media
2023-10-13	13:21:27	3231	[DEBUG]	Executed store
2023-10-13	13:21:27	3231	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29719_motorex_easy_clean_degraissant_spray_500_ml.jpg',`file_url_thumb`='bcprisme/29719_motorex_easy_clean_degraissant_spray_500_ml.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '141078'
2023-10-13	13:21:27	3231	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:27	3231	[DEBUG]	Executed store
2023-10-13	13:21:27	3231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862723','141078','1')
2023-10-13	13:21:27	3231	[DEBUG]	Store product image relation
2023-10-13	13:21:27	3231	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:27	3231	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862723 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:27	3231	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:27	3231	[DEBUG]	Executed store
2023-10-13	13:21:27	3231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862723','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:27	3231	[DEBUG]	Checking manufacturer
2023-10-13	13:21:27	3231	[DEBUG]	Load a row
2023-10-13	13:21:27	3231	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:27	3231	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:27	3231	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:27	3231	[DEBUG]	Executed store
2023-10-13	13:21:27	3231	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:27	3231	[DEBUG]	Manufacturer exists
2023-10-13	13:21:27	3231	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:27	3231	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:27	3231	[DEBUG]	Executed store
2023-10-13	13:21:27	3231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862723','307')
2023-10-13	13:21:27	3231	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:27	3231	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:27	3231	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862723 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:27	3231	[DEBUG]	Store custom available field
2023-10-13	13:21:27	3231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862723,3,'',1)
2023-10-13	13:21:27	3231	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:27	3231	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:21:27	3231	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862723 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:27	3231	[DEBUG]	Store custom available field
2023-10-13	13:21:27	3231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862723,6,'All',3)
2023-10-13	13:21:27	3231	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:27	3231	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:27	3231	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862722
2023-10-13	13:21:27	3231	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:27	3231	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862722\":[1862722,8,1,\"choisir la taille\"],\"1862723\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862722
2023-10-13	13:21:27	3231	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:27	3231	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862723
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:27	3232	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field taille
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:27	3232	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:27	3232	[DEBUG]	Use default value for field file_url
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:27	3232	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:27	3232	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:27	3232	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:27	3232	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:27	3232	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field published
2023-10-13	13:21:27	3232	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:27	3232	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field override
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:27	3232	[DEBUG]	Use field value for field slug
2023-10-13	13:21:27	3232	[DEBUG]	Process line 3232
2023-10-13	13:21:27	3232	[DEBUG]	Load a row
2023-10-13	13:21:27	3232	[DEBUG]	Processing item: A_5305_142
2023-10-13	13:21:27	3232	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:27	3232	[DEBUG]	Processing product tax
2023-10-13	13:21:27	3232	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:27	3232	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:27	3232	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:27	3232	[DEBUG]	Query for Product
2023-10-13	13:21:27	3232	[DEBUG]	Executed store
2023-10-13	13:21:27	3232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5305_142','0.564','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:27	3232	[DEBUG]	Check product language entry
2023-10-13	13:21:27	3232	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862724
2023-10-13	13:21:27	3232	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:27	3232	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5305_142' AND `virtuemart_product_id` != 1862724
2023-10-13	13:21:27	3232	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:27	3232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862724, 'A_5305_142')
2023-10-13	13:21:27	3232	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:27	3232	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'muc-off-tapis-de-protection-muc-off-bike-mat-noir-blanc' AND `virtuemart_product_id` != 1862724
2023-10-13	13:21:27	3232	[DEBUG]	Query for ProductLang
2023-10-13	13:21:27	3232	[DEBUG]	Executed store
2023-10-13	13:21:27	3232	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='RSP ultra clean. 500ml<br>N° art fourn : 492-039-0196',`product_name`='Muc-Off Tapis de protection Muc-Off Bike-Mat / Noir-Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='muc-off-tapis-de-protection-muc-off-bike-mat-noir-blanc' WHERE `virtuemart_product_id` = '1862724'
2023-10-13	13:21:27	3232	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:27	3232	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862724 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:27	3232	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:27	3232	[DEBUG]	Executed store
2023-10-13	13:21:27	3232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862724','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:27	3232	[DEBUG]	Checking manufacturer
2023-10-13	13:21:27	3232	[DEBUG]	Load a row
2023-10-13	13:21:27	3232	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:27	3232	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:21:27	3232	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:27	3232	[DEBUG]	Executed store
2023-10-13	13:21:27	3232	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52681237990' WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:21:27	3232	[DEBUG]	Manufacturer exists
2023-10-13	13:21:27	3232	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 133
2023-10-13	13:21:27	3232	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:27	3232	[DEBUG]	Executed store
2023-10-13	13:21:27	3232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862724','133')
2023-10-13	13:21:27	3232	[DEBUG]	Find the custom field ID
2023-10-13	13:21:27	3232	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:27	3232	[DEBUG]	No custom field ID found
2023-10-13	13:21:27	3232	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:27	3232	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:21:27	3232	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862724 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:27	3232	[DEBUG]	Store custom available field
2023-10-13	13:21:27	3232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862724,3,'14.8586111111111',1)
2023-10-13	13:21:27	3232	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:27	3232	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:27	3232	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862724 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:27	3232	[DEBUG]	Store custom available field
2023-10-13	13:21:27	3232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862724,6,'choisir la taille',3)
2023-10-13	13:21:27	3232	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:27	3232	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:27	3232	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:27	3232	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:27	3232	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862724 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:27	3232	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:27	3232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862724,8,1)
2023-10-13	13:21:27	3232	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:27	3232	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862724\":[1862724,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862724
2023-10-13	13:21:27	3232	[DEBUG]	Checking category
2023-10-13	13:21:27	3232	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:27	3232	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862724
2023-10-13	13:21:27	3232	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:27	3232	[DEBUG]	Executed store
2023-10-13	13:21:27	3232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862724','7371')
2023-10-13	13:21:27	3232	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:27	3232	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862724 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:27	3232	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:27	3232	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862724
2023-10-13	13:21:27	3233	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:27	3233	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:27	3233	[DEBUG]	Use field value for field taille
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:27	3233	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:27	3233	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:27	3233	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field file_url
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:27	3233	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:27	3233	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:27	3233	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:27	3233	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:27	3233	[DEBUG]	Use field value for field published
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:27	3233	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field override
2023-10-13	13:21:27	3233	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:27	3233	[DEBUG]	Use field value for field slug
2023-10-13	13:21:27	3233	[DEBUG]	Process line 3233
2023-10-13	13:21:27	3233	[DEBUG]	Load a row
2023-10-13	13:21:27	3233	[DEBUG]	Processing item: 5037835186000
2023-10-13	13:21:27	3233	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:27	3233	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:27	3233	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5305_142'
2023-10-13	13:21:27	3233	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:27	3233	[DEBUG]	Processing product tax
2023-10-13	13:21:27	3233	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:27	3233	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:27	3233	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:27	3233	[DEBUG]	Query for Product
2023-10-13	13:21:27	3233	[DEBUG]	Executed store
2023-10-13	13:21:27	3233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862724','5037835186000','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:27	3233	[DEBUG]	No parent found
2023-10-13	13:21:27	3233	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862724 AND customfield_value = 'stockable'
2023-10-13	13:21:27	3233	[DEBUG]	Check product language entry
2023-10-13	13:21:27	3233	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862725
2023-10-13	13:21:27	3233	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:27	3233	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '5037835186000' AND `virtuemart_product_id` != 1862725
2023-10-13	13:21:27	3233	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:27	3233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862725, '5037835186000')
2023-10-13	13:21:27	3233	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:27	3233	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'muc-off-tapis-de-protection-muc-off-bike-mat-noir-blanc-unitaire' AND `virtuemart_product_id` != 1862725
2023-10-13	13:21:27	3233	[DEBUG]	Query for ProductLang
2023-10-13	13:21:27	3233	[DEBUG]	Executed store
2023-10-13	13:21:27	3233	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Muc-Off Tapis de protection Muc-Off Bike-Mat / Noir-Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='muc-off-tapis-de-protection-muc-off-bike-mat-noir-blanc-unitaire' WHERE `virtuemart_product_id` = '1862725'
2023-10-13	13:21:27	3233	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:27	3233	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862725 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:27	3233	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:27	3233	[DEBUG]	Executed store
2023-10-13	13:21:27	3233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862725','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:27	3233	[DEBUG]	Checking manufacturer
2023-10-13	13:21:27	3233	[DEBUG]	Load a row
2023-10-13	13:21:27	3233	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:27	3233	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:21:27	3233	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:27	3233	[DEBUG]	Executed store
2023-10-13	13:21:27	3233	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52681237990' WHERE `virtuemart_manufacturer_id` = '133'
2023-10-13	13:21:27	3233	[DEBUG]	Manufacturer exists
2023-10-13	13:21:27	3233	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 133
2023-10-13	13:21:27	3233	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:27	3233	[DEBUG]	Executed store
2023-10-13	13:21:27	3233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862725','133')
2023-10-13	13:21:27	3233	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:27	3233	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:27	3233	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862725 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:27	3233	[DEBUG]	Store custom available field
2023-10-13	13:21:27	3233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862725,3,'',1)
2023-10-13	13:21:27	3233	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:27	3233	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:27	3233	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862725 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:27	3233	[DEBUG]	Store custom available field
2023-10-13	13:21:27	3233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862725,6,'Unitaire',3)
2023-10-13	13:21:27	3233	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:27	3233	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:27	3233	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862724
2023-10-13	13:21:27	3233	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:27	3233	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862724\":[1862724,8,1,\"choisir la taille\"],\"1862725\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862724
2023-10-13	13:21:27	3233	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:27	3233	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862725
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:27	3234	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field taille
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:27	3234	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:27	3234	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:27	3234	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:27	3234	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:27	3234	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:27	3234	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field published
2023-10-13	13:21:27	3234	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:27	3234	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field override
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:27	3234	[DEBUG]	Use field value for field slug
2023-10-13	13:21:27	3234	[DEBUG]	Process line 3234
2023-10-13	13:21:27	3234	[DEBUG]	Load a row
2023-10-13	13:21:27	3234	[DEBUG]	Processing item: A_5398_208
2023-10-13	13:21:27	3234	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:27	3234	[DEBUG]	Processing product tax
2023-10-13	13:21:27	3234	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:27	3234	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:27	3234	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:27	3234	[DEBUG]	Query for Product
2023-10-13	13:21:27	3234	[DEBUG]	Executed store
2023-10-13	13:21:27	3234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5398_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:27	3234	[DEBUG]	Check product language entry
2023-10-13	13:21:27	3234	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862726
2023-10-13	13:21:27	3234	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:27	3234	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5398_208' AND `virtuemart_product_id` != 1862726
2023-10-13	13:21:27	3234	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:27	3234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862726, 'A_5398_208')
2023-10-13	13:21:27	3234	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:27	3234	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-huile-minerale-1-litre-aucune' AND `virtuemart_product_id` != 1862726
2023-10-13	13:21:27	3234	[DEBUG]	Query for ProductLang
2023-10-13	13:21:27	3234	[DEBUG]	Executed store
2023-10-13	13:21:27	3234	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.24010',`product_name`='SHIMANO Huile minérale 1 litre / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-huile-minerale-1-litre-aucune' WHERE `virtuemart_product_id` = '1862726'
2023-10-13	13:21:27	3234	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29886_shimano_huile_minerale_1_litre.jpg
2023-10-13	13:21:27	3234	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:27	3234	[DEBUG]	Process image file
2023-10-13	13:21:27	3234	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:27	3234	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:27	3234	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29886_shimano_huile_minerale_1_litre.jpg
2023-10-13	13:21:27	3234	[DEBUG]	Full name target: bcprisme/29886_shimano_huile_minerale_1_litre.jpg
2023-10-13	13:21:28	3234	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:28	3234	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29886_shimano_huile_minerale_1_litre.jpg'
2023-10-13	13:21:28	3234	[DEBUG]	Query for Media
2023-10-13	13:21:28	3234	[DEBUG]	Executed store
2023-10-13	13:21:28	3234	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29886_shimano_huile_minerale_1_litre.jpg',`file_url_thumb`='bcprisme/29886_shimano_huile_minerale_1_litre.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '60093'
2023-10-13	13:21:28	3234	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:28	3234	[DEBUG]	Executed store
2023-10-13	13:21:28	3234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862726','60093','1')
2023-10-13	13:21:28	3234	[DEBUG]	Store product image relation
2023-10-13	13:21:28	3234	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:28	3234	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862726 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:28	3234	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:28	3234	[DEBUG]	Executed store
2023-10-13	13:21:28	3234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862726','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:28	3234	[DEBUG]	Checking manufacturer
2023-10-13	13:21:28	3234	[DEBUG]	Load a row
2023-10-13	13:21:28	3234	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:28	3234	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:21:28	3234	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:28	3234	[DEBUG]	Executed store
2023-10-13	13:21:28	3234	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:21:28	3234	[DEBUG]	Manufacturer exists
2023-10-13	13:21:28	3234	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:21:28	3234	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:28	3234	[DEBUG]	Executed store
2023-10-13	13:21:28	3234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862726','26')
2023-10-13	13:21:28	3234	[DEBUG]	Find the custom field ID
2023-10-13	13:21:28	3234	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:28	3234	[DEBUG]	No custom field ID found
2023-10-13	13:21:28	3234	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:28	3234	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:28	3234	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862726 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:28	3234	[DEBUG]	Store custom available field
2023-10-13	13:21:28	3234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862726,3,'0',1)
2023-10-13	13:21:28	3234	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:28	3234	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:28	3234	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862726 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:28	3234	[DEBUG]	Store custom available field
2023-10-13	13:21:28	3234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862726,6,'choisir la taille',3)
2023-10-13	13:21:28	3234	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:28	3234	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:28	3234	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:28	3234	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:28	3234	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862726 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:28	3234	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:28	3234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862726,8,1)
2023-10-13	13:21:28	3234	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:28	3234	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862726\":[1862726,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862726
2023-10-13	13:21:28	3234	[DEBUG]	Checking category
2023-10-13	13:21:28	3234	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:28	3234	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862726
2023-10-13	13:21:28	3234	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:28	3234	[DEBUG]	Executed store
2023-10-13	13:21:28	3234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862726','7371')
2023-10-13	13:21:28	3234	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:28	3234	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862726 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:28	3234	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:28	3234	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862726
2023-10-13	13:21:28	3235	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:28	3235	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:28	3235	[DEBUG]	Use field value for field taille
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:28	3235	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:28	3235	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:28	3235	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:28	3235	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:28	3235	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:28	3235	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:28	3235	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:28	3235	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:28	3235	[DEBUG]	Use field value for field published
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:28	3235	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field override
2023-10-13	13:21:28	3235	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:28	3235	[DEBUG]	Use field value for field slug
2023-10-13	13:21:28	3235	[DEBUG]	Process line 3235
2023-10-13	13:21:28	3235	[DEBUG]	Load a row
2023-10-13	13:21:28	3235	[DEBUG]	Processing item: 7630017810793
2023-10-13	13:21:28	3235	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:28	3235	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:28	3235	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5398_208'
2023-10-13	13:21:28	3235	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:28	3235	[DEBUG]	Processing product tax
2023-10-13	13:21:28	3235	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:28	3235	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:28	3235	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:28	3235	[DEBUG]	Query for Product
2023-10-13	13:21:28	3235	[DEBUG]	Executed store
2023-10-13	13:21:28	3235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862726','7630017810793','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:28	3235	[DEBUG]	No parent found
2023-10-13	13:21:28	3235	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862726 AND customfield_value = 'stockable'
2023-10-13	13:21:28	3235	[DEBUG]	Check product language entry
2023-10-13	13:21:28	3235	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862727
2023-10-13	13:21:28	3235	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:28	3235	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7630017810793' AND `virtuemart_product_id` != 1862727
2023-10-13	13:21:28	3235	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:28	3235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862727, '7630017810793')
2023-10-13	13:21:28	3235	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:28	3235	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-huile-minerale-1-litre-aucune-all' AND `virtuemart_product_id` != 1862727
2023-10-13	13:21:28	3235	[DEBUG]	Query for ProductLang
2023-10-13	13:21:28	3235	[DEBUG]	Executed store
2023-10-13	13:21:28	3235	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Huile minérale 1 litre / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-huile-minerale-1-litre-aucune-all' WHERE `virtuemart_product_id` = '1862727'
2023-10-13	13:21:28	3235	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29886_shimano_huile_minerale_1_litre.jpg
2023-10-13	13:21:28	3235	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:28	3235	[DEBUG]	Process image file
2023-10-13	13:21:28	3235	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:28	3235	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:28	3235	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29886_shimano_huile_minerale_1_litre.jpg
2023-10-13	13:21:28	3235	[DEBUG]	Full name target: bcprisme/29886_shimano_huile_minerale_1_litre.jpg
2023-10-13	13:21:29	3235	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:29	3235	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29886_shimano_huile_minerale_1_litre.jpg'
2023-10-13	13:21:29	3235	[DEBUG]	Query for Media
2023-10-13	13:21:29	3235	[DEBUG]	Executed store
2023-10-13	13:21:29	3235	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29886_shimano_huile_minerale_1_litre.jpg',`file_url_thumb`='bcprisme/29886_shimano_huile_minerale_1_litre.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '60093'
2023-10-13	13:21:29	3235	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:29	3235	[DEBUG]	Executed store
2023-10-13	13:21:29	3235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862727','60093','1')
2023-10-13	13:21:29	3235	[DEBUG]	Store product image relation
2023-10-13	13:21:29	3235	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:29	3235	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862727 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:29	3235	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:29	3235	[DEBUG]	Executed store
2023-10-13	13:21:29	3235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862727','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:29	3235	[DEBUG]	Checking manufacturer
2023-10-13	13:21:29	3235	[DEBUG]	Load a row
2023-10-13	13:21:29	3235	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:29	3235	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:21:29	3235	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:29	3235	[DEBUG]	Executed store
2023-10-13	13:21:29	3235	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:21:29	3235	[DEBUG]	Manufacturer exists
2023-10-13	13:21:29	3235	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:21:29	3235	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:29	3235	[DEBUG]	Executed store
2023-10-13	13:21:29	3235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862727','26')
2023-10-13	13:21:29	3235	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:29	3235	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:29	3235	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862727 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:29	3235	[DEBUG]	Store custom available field
2023-10-13	13:21:29	3235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862727,3,'',1)
2023-10-13	13:21:29	3235	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:29	3235	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:21:29	3235	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862727 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:29	3235	[DEBUG]	Store custom available field
2023-10-13	13:21:29	3235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862727,6,'All',3)
2023-10-13	13:21:29	3235	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:29	3235	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:29	3235	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862726
2023-10-13	13:21:29	3235	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:29	3235	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862726\":[1862726,8,1,\"choisir la taille\"],\"1862727\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862726
2023-10-13	13:21:29	3235	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:29	3235	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862727
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:29	3236	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field taille
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:29	3236	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:29	3236	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:29	3236	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:29	3236	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:29	3236	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:29	3236	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field published
2023-10-13	13:21:29	3236	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:29	3236	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field override
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:29	3236	[DEBUG]	Use field value for field slug
2023-10-13	13:21:29	3236	[DEBUG]	Process line 3236
2023-10-13	13:21:29	3236	[DEBUG]	Load a row
2023-10-13	13:21:29	3236	[DEBUG]	Processing item: A_5482_208
2023-10-13	13:21:29	3236	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:29	3236	[DEBUG]	Processing product tax
2023-10-13	13:21:29	3236	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:29	3236	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:29	3236	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:29	3236	[DEBUG]	Query for Product
2023-10-13	13:21:29	3236	[DEBUG]	Executed store
2023-10-13	13:21:29	3236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5482_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:29	3236	[DEBUG]	Check product language entry
2023-10-13	13:21:29	3236	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862728
2023-10-13	13:21:29	3236	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:29	3236	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5482_208' AND `virtuemart_product_id` != 1862728
2023-10-13	13:21:29	3236	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:29	3236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862728, 'A_5482_208')
2023-10-13	13:21:29	3236	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:29	3236	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-spray-chaines-dry-power-300-ml-aucune' AND `virtuemart_product_id` != 1862728
2023-10-13	13:21:29	3236	[DEBUG]	Query for ProductLang
2023-10-13	13:21:29	3236	[DEBUG]	Executed store
2023-10-13	13:21:29	3236	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Préconisation: Pour conditions sèchaes et poussiéreuses<br>Entièrement synthétique<br>Protège contre la poussière et les salissures<br>Lubrifie dérailleurs, axes libres<br>Diodégradable<br>Lubrifiant biodégradable entièrement synthétique à base d\'huile/cire. MOTOREX CHAINLUBE DRY pénètre rapidement, et forme une surface homogène qui protège la chaîne de la saleté et de la poussière. Ce lubrifiant offre une lubrification élevée avec une excellente protection contre la corrosion et l\'usure, il diminue la friction. Convient idéalement pour une utilisation en conditions sèches et poussiéreuses.<br>N° art fourn : 51.55829',`product_name`='MOTOREX Lubrifiant spray chaines Dry Power 300 ml / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-spray-chaines-dry-power-300-ml-aucune' WHERE `virtuemart_product_id` = '1862728'
2023-10-13	13:21:29	3236	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29977_motorex_dry_power_lubrifant_pour_chaîn_spray_300_ml.jpg
2023-10-13	13:21:29	3236	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:29	3236	[DEBUG]	Process image file
2023-10-13	13:21:29	3236	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:29	3236	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:29	3236	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29977_motorex_dry_power_lubrifant_pour_chaîn_spray_300_ml.jpg
2023-10-13	13:21:29	3236	[DEBUG]	Full name target: bcprisme/29977_motorex_dry_power_lubrifant_pour_chaîn_spray_300_ml.jpg
2023-10-13	13:21:30	3236	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:30	3236	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29977_motorex_dry_power_lubrifant_pour_chaîn_spray_300_ml.jpg'
2023-10-13	13:21:30	3236	[DEBUG]	Query for Media
2023-10-13	13:21:30	3236	[DEBUG]	Executed store
2023-10-13	13:21:30	3236	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29977_motorex_dry_power_lubrifant_pour_chaîn_spray_300_ml.jpg',`file_url_thumb`='bcprisme/29977_motorex_dry_power_lubrifant_pour_chaîn_spray_300_ml.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16595'
2023-10-13	13:21:30	3236	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:30	3236	[DEBUG]	Executed store
2023-10-13	13:21:30	3236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862728','16595','1')
2023-10-13	13:21:30	3236	[DEBUG]	Store product image relation
2023-10-13	13:21:30	3236	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:30	3236	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862728 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:30	3236	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:30	3236	[DEBUG]	Executed store
2023-10-13	13:21:30	3236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862728','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:30	3236	[DEBUG]	Checking manufacturer
2023-10-13	13:21:30	3236	[DEBUG]	Load a row
2023-10-13	13:21:30	3236	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:30	3236	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:30	3236	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:30	3236	[DEBUG]	Executed store
2023-10-13	13:21:30	3236	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:30	3236	[DEBUG]	Manufacturer exists
2023-10-13	13:21:30	3236	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:30	3236	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:30	3236	[DEBUG]	Executed store
2023-10-13	13:21:30	3236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862728','307')
2023-10-13	13:21:30	3236	[DEBUG]	Find the custom field ID
2023-10-13	13:21:30	3236	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:30	3236	[DEBUG]	No custom field ID found
2023-10-13	13:21:30	3236	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:30	3236	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:30	3236	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862728 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:30	3236	[DEBUG]	Store custom available field
2023-10-13	13:21:30	3236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862728,3,'0',1)
2023-10-13	13:21:30	3236	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:30	3236	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:30	3236	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862728 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:30	3236	[DEBUG]	Store custom available field
2023-10-13	13:21:30	3236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862728,6,'choisir la taille',3)
2023-10-13	13:21:30	3236	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:30	3236	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:30	3236	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:30	3236	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:30	3236	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862728 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:30	3236	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:30	3236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862728,8,1)
2023-10-13	13:21:30	3236	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:30	3236	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862728\":[1862728,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862728
2023-10-13	13:21:30	3236	[DEBUG]	Checking category
2023-10-13	13:21:30	3236	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:30	3236	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862728
2023-10-13	13:21:30	3236	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:30	3236	[DEBUG]	Executed store
2023-10-13	13:21:30	3236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862728','7371')
2023-10-13	13:21:30	3236	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:30	3236	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862728 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:30	3236	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:30	3236	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862728
2023-10-13	13:21:30	3237	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:30	3237	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:30	3237	[DEBUG]	Use field value for field taille
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:30	3237	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:30	3237	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:30	3237	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:30	3237	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:30	3237	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:30	3237	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:30	3237	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:30	3237	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:30	3237	[DEBUG]	Use field value for field published
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:30	3237	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field override
2023-10-13	13:21:30	3237	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:30	3237	[DEBUG]	Use field value for field slug
2023-10-13	13:21:30	3237	[DEBUG]	Process line 3237
2023-10-13	13:21:30	3237	[DEBUG]	Load a row
2023-10-13	13:21:30	3237	[DEBUG]	Processing item: 7611197115458
2023-10-13	13:21:30	3237	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:30	3237	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:30	3237	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5482_208'
2023-10-13	13:21:30	3237	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:30	3237	[DEBUG]	Processing product tax
2023-10-13	13:21:30	3237	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:30	3237	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:30	3237	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:30	3237	[DEBUG]	Query for Product
2023-10-13	13:21:30	3237	[DEBUG]	Executed store
2023-10-13	13:21:30	3237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862728','7611197115458','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:30	3237	[DEBUG]	No parent found
2023-10-13	13:21:30	3237	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862728 AND customfield_value = 'stockable'
2023-10-13	13:21:30	3237	[DEBUG]	Check product language entry
2023-10-13	13:21:30	3237	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862729
2023-10-13	13:21:30	3237	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:30	3237	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197115458' AND `virtuemart_product_id` != 1862729
2023-10-13	13:21:30	3237	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:30	3237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862729, '7611197115458')
2023-10-13	13:21:30	3237	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:30	3237	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-spray-chaines-dry-power-300-ml-aucune-all' AND `virtuemart_product_id` != 1862729
2023-10-13	13:21:30	3237	[DEBUG]	Query for ProductLang
2023-10-13	13:21:30	3237	[DEBUG]	Executed store
2023-10-13	13:21:30	3237	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Lubrifiant spray chaines Dry Power 300 ml / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-spray-chaines-dry-power-300-ml-aucune-all' WHERE `virtuemart_product_id` = '1862729'
2023-10-13	13:21:30	3237	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29977_motorex_dry_power_lubrifant_pour_chaîn_spray_300_ml.jpg
2023-10-13	13:21:30	3237	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:30	3237	[DEBUG]	Process image file
2023-10-13	13:21:30	3237	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:30	3237	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:30	3237	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29977_motorex_dry_power_lubrifant_pour_chaîn_spray_300_ml.jpg
2023-10-13	13:21:30	3237	[DEBUG]	Full name target: bcprisme/29977_motorex_dry_power_lubrifant_pour_chaîn_spray_300_ml.jpg
2023-10-13	13:21:31	3237	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:31	3237	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29977_motorex_dry_power_lubrifant_pour_chaîn_spray_300_ml.jpg'
2023-10-13	13:21:31	3237	[DEBUG]	Query for Media
2023-10-13	13:21:31	3237	[DEBUG]	Executed store
2023-10-13	13:21:31	3237	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29977_motorex_dry_power_lubrifant_pour_chaîn_spray_300_ml.jpg',`file_url_thumb`='bcprisme/29977_motorex_dry_power_lubrifant_pour_chaîn_spray_300_ml.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16595'
2023-10-13	13:21:31	3237	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:31	3237	[DEBUG]	Executed store
2023-10-13	13:21:31	3237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862729','16595','1')
2023-10-13	13:21:31	3237	[DEBUG]	Store product image relation
2023-10-13	13:21:31	3237	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:31	3237	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862729 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:31	3237	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:31	3237	[DEBUG]	Executed store
2023-10-13	13:21:31	3237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862729','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:31	3237	[DEBUG]	Checking manufacturer
2023-10-13	13:21:31	3237	[DEBUG]	Load a row
2023-10-13	13:21:31	3237	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:31	3237	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:31	3237	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:31	3237	[DEBUG]	Executed store
2023-10-13	13:21:31	3237	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:31	3237	[DEBUG]	Manufacturer exists
2023-10-13	13:21:31	3237	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:31	3237	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:31	3237	[DEBUG]	Executed store
2023-10-13	13:21:31	3237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862729','307')
2023-10-13	13:21:31	3237	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:31	3237	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:31	3237	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862729 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:31	3237	[DEBUG]	Store custom available field
2023-10-13	13:21:31	3237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862729,3,'',1)
2023-10-13	13:21:31	3237	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:31	3237	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:21:31	3237	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862729 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:31	3237	[DEBUG]	Store custom available field
2023-10-13	13:21:31	3237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862729,6,'All',3)
2023-10-13	13:21:31	3237	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:31	3237	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:31	3237	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862728
2023-10-13	13:21:31	3237	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:31	3237	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862728\":[1862728,8,1,\"choisir la taille\"],\"1862729\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862728
2023-10-13	13:21:31	3237	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:31	3237	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862729
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:31	3238	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field taille
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:31	3238	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:31	3238	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:31	3238	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:31	3238	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:31	3238	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:31	3238	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field published
2023-10-13	13:21:31	3238	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:31	3238	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field override
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:31	3238	[DEBUG]	Use field value for field slug
2023-10-13	13:21:31	3238	[DEBUG]	Process line 3238
2023-10-13	13:21:31	3238	[DEBUG]	Load a row
2023-10-13	13:21:31	3238	[DEBUG]	Processing item: A_5731_1
2023-10-13	13:21:31	3238	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:31	3238	[DEBUG]	Processing product tax
2023-10-13	13:21:31	3238	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:31	3238	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:31	3238	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:31	3238	[DEBUG]	Query for Product
2023-10-13	13:21:31	3238	[DEBUG]	Executed store
2023-10-13	13:21:31	3238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5731_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:31	3238	[DEBUG]	Check product language entry
2023-10-13	13:21:31	3238	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862730
2023-10-13	13:21:31	3238	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:31	3238	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5731_1' AND `virtuemart_product_id` != 1862730
2023-10-13	13:21:31	3238	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:31	3238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862730, 'A_5731_1')
2023-10-13	13:21:31	3238	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:31	3238	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-spray-chaines-wet-protect-condition-humide-300-ml-noir' AND `virtuemart_product_id` != 1862730
2023-10-13	13:21:31	3238	[DEBUG]	Query for ProductLang
2023-10-13	13:21:31	3238	[DEBUG]	Executed store
2023-10-13	13:21:31	3238	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Préconisation: Pour conditions humides et boueuses<br>Entièrement synthétique<br>Lubrifian pour conditions extrêmes<br>Fort pouvoir hydrophobe<br>Diodégradable<br>Lubrifiant biodégradable entièrement synthétique. MOTOREX CHAINLUBE WET possède grâce à ses additifs une excellente pénétration, une lubrification et un pouvoir anticorrosion optimal. Développé spécialement pour les conditions d\'utilisation requérant une adhérence de longue durée sur la chaîne. Il se distingue par un fort pouvoir hydrophobe. Convient idéalement pour une utilisation en conditions humides et boueuses.<br>N° art fourn : 51.55832',`product_name`='MOTOREX Lubrifiant spray chaines wet Protect condition humide 300 ml ( / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-spray-chaines-wet-protect-condition-humide-300-ml-noir' WHERE `virtuemart_product_id` = '1862730'
2023-10-13	13:21:31	3238	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32453_motorex_wet_protect_lubrifant_pour_chaîn_condition_humide_spray_300_ml_(.jpg
2023-10-13	13:21:31	3238	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:31	3238	[DEBUG]	Process image file
2023-10-13	13:21:31	3238	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:31	3238	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:31	3238	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32453_motorex_wet_protect_lubrifant_pour_chaîn_condition_humide_spray_300_ml_(.jpg
2023-10-13	13:21:31	3238	[DEBUG]	Full name target: bcprisme/32453_motorex_wet_protect_lubrifant_pour_chaîn_condition_humide_spray_300_ml_(.jpg
2023-10-13	13:21:32	3238	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:32	3238	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32453_motorex_wet_protect_lubrifant_pour_chaîn_condition_humide_spray_300_ml_(.jpg'
2023-10-13	13:21:32	3238	[DEBUG]	Query for Media
2023-10-13	13:21:32	3238	[DEBUG]	Executed store
2023-10-13	13:21:32	3238	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32453_motorex_wet_protect_lubrifant_pour_chaîn_condition_humide_spray_300_ml_(.jpg',`file_url_thumb`='bcprisme/32453_motorex_wet_protect_lubrifant_pour_chaîn_condition_humide_spray_300_ml_(.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16596'
2023-10-13	13:21:32	3238	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:32	3238	[DEBUG]	Executed store
2023-10-13	13:21:32	3238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862730','16596','1')
2023-10-13	13:21:32	3238	[DEBUG]	Store product image relation
2023-10-13	13:21:32	3238	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:32	3238	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862730 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:32	3238	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:32	3238	[DEBUG]	Executed store
2023-10-13	13:21:32	3238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862730','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:32	3238	[DEBUG]	Checking manufacturer
2023-10-13	13:21:32	3238	[DEBUG]	Load a row
2023-10-13	13:21:32	3238	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:32	3238	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:32	3238	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:32	3238	[DEBUG]	Executed store
2023-10-13	13:21:32	3238	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:32	3238	[DEBUG]	Manufacturer exists
2023-10-13	13:21:32	3238	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:32	3238	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:32	3238	[DEBUG]	Executed store
2023-10-13	13:21:32	3238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862730','307')
2023-10-13	13:21:32	3238	[DEBUG]	Find the custom field ID
2023-10-13	13:21:32	3238	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:32	3238	[DEBUG]	No custom field ID found
2023-10-13	13:21:32	3238	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:32	3238	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:32	3238	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862730 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:32	3238	[DEBUG]	Store custom available field
2023-10-13	13:21:32	3238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862730,3,'0',1)
2023-10-13	13:21:32	3238	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:32	3238	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:32	3238	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862730 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:32	3238	[DEBUG]	Store custom available field
2023-10-13	13:21:32	3238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862730,6,'choisir la taille',3)
2023-10-13	13:21:32	3238	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:32	3238	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:32	3238	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:32	3238	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:32	3238	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862730 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:32	3238	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:32	3238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862730,8,1)
2023-10-13	13:21:32	3238	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:32	3238	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862730\":[1862730,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862730
2023-10-13	13:21:32	3238	[DEBUG]	Checking category
2023-10-13	13:21:32	3238	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:32	3238	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862730
2023-10-13	13:21:32	3238	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:32	3238	[DEBUG]	Executed store
2023-10-13	13:21:32	3238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862730','7371')
2023-10-13	13:21:32	3238	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:32	3238	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862730 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:32	3238	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:32	3238	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862730
2023-10-13	13:21:32	3239	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:32	3239	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:32	3239	[DEBUG]	Use field value for field taille
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:32	3239	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:32	3239	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:32	3239	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:32	3239	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:32	3239	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:32	3239	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:32	3239	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:32	3239	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:32	3239	[DEBUG]	Use field value for field published
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:32	3239	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field override
2023-10-13	13:21:32	3239	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:32	3239	[DEBUG]	Use field value for field slug
2023-10-13	13:21:32	3239	[DEBUG]	Process line 3239
2023-10-13	13:21:32	3239	[DEBUG]	Load a row
2023-10-13	13:21:32	3239	[DEBUG]	Processing item: 1000000106732
2023-10-13	13:21:32	3239	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:32	3239	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:32	3239	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5731_1'
2023-10-13	13:21:32	3239	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:32	3239	[DEBUG]	Processing product tax
2023-10-13	13:21:32	3239	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:32	3239	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:32	3239	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:32	3239	[DEBUG]	Query for Product
2023-10-13	13:21:32	3239	[DEBUG]	Executed store
2023-10-13	13:21:32	3239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862730','1000000106732','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:32	3239	[DEBUG]	No parent found
2023-10-13	13:21:32	3239	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862730 AND customfield_value = 'stockable'
2023-10-13	13:21:32	3239	[DEBUG]	Check product language entry
2023-10-13	13:21:32	3239	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862731
2023-10-13	13:21:32	3239	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:32	3239	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000106732' AND `virtuemart_product_id` != 1862731
2023-10-13	13:21:32	3239	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:32	3239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862731, '1000000106732')
2023-10-13	13:21:32	3239	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:32	3239	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-spray-chaines-wet-protect-condition-humide-300-ml-noir-all' AND `virtuemart_product_id` != 1862731
2023-10-13	13:21:32	3239	[DEBUG]	Query for ProductLang
2023-10-13	13:21:32	3239	[DEBUG]	Executed store
2023-10-13	13:21:32	3239	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Lubrifiant spray chaines wet Protect condition humide 300 ml ( / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-spray-chaines-wet-protect-condition-humide-300-ml-noir-all' WHERE `virtuemart_product_id` = '1862731'
2023-10-13	13:21:32	3239	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32453_motorex_wet_protect_lubrifant_pour_chaîn_condition_humide_spray_300_ml_(.jpg
2023-10-13	13:21:32	3239	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:32	3239	[DEBUG]	Process image file
2023-10-13	13:21:32	3239	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:32	3239	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:32	3239	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32453_motorex_wet_protect_lubrifant_pour_chaîn_condition_humide_spray_300_ml_(.jpg
2023-10-13	13:21:32	3239	[DEBUG]	Full name target: bcprisme/32453_motorex_wet_protect_lubrifant_pour_chaîn_condition_humide_spray_300_ml_(.jpg
2023-10-13	13:21:33	3239	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:33	3239	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32453_motorex_wet_protect_lubrifant_pour_chaîn_condition_humide_spray_300_ml_(.jpg'
2023-10-13	13:21:33	3239	[DEBUG]	Query for Media
2023-10-13	13:21:33	3239	[DEBUG]	Executed store
2023-10-13	13:21:33	3239	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32453_motorex_wet_protect_lubrifant_pour_chaîn_condition_humide_spray_300_ml_(.jpg',`file_url_thumb`='bcprisme/32453_motorex_wet_protect_lubrifant_pour_chaîn_condition_humide_spray_300_ml_(.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16596'
2023-10-13	13:21:33	3239	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:33	3239	[DEBUG]	Executed store
2023-10-13	13:21:33	3239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862731','16596','1')
2023-10-13	13:21:33	3239	[DEBUG]	Store product image relation
2023-10-13	13:21:33	3239	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:33	3239	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862731 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:33	3239	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:33	3239	[DEBUG]	Executed store
2023-10-13	13:21:33	3239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862731','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:33	3239	[DEBUG]	Checking manufacturer
2023-10-13	13:21:33	3239	[DEBUG]	Load a row
2023-10-13	13:21:33	3239	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:33	3239	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:33	3239	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:33	3239	[DEBUG]	Executed store
2023-10-13	13:21:33	3239	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:33	3239	[DEBUG]	Manufacturer exists
2023-10-13	13:21:33	3239	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:33	3239	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:33	3239	[DEBUG]	Executed store
2023-10-13	13:21:33	3239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862731','307')
2023-10-13	13:21:33	3239	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:33	3239	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:33	3239	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862731 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:33	3239	[DEBUG]	Store custom available field
2023-10-13	13:21:33	3239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862731,3,'',1)
2023-10-13	13:21:33	3239	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:33	3239	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:21:33	3239	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862731 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:33	3239	[DEBUG]	Store custom available field
2023-10-13	13:21:33	3239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862731,6,'All',3)
2023-10-13	13:21:33	3239	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:33	3239	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:33	3239	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862730
2023-10-13	13:21:33	3239	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:33	3239	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862730\":[1862730,8,1,\"choisir la taille\"],\"1862731\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862730
2023-10-13	13:21:33	3239	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:33	3239	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862731
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:33	3240	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field taille
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:33	3240	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:33	3240	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:33	3240	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:33	3240	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:33	3240	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:33	3240	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:33	3240	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field published
2023-10-13	13:21:33	3240	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:33	3240	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field override
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:33	3240	[DEBUG]	Use field value for field slug
2023-10-13	13:21:33	3240	[DEBUG]	Process line 3240
2023-10-13	13:21:33	3240	[DEBUG]	Load a row
2023-10-13	13:21:33	3240	[DEBUG]	Processing item: A_6273_208
2023-10-13	13:21:33	3240	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:33	3240	[DEBUG]	Processing product tax
2023-10-13	13:21:33	3240	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:33	3240	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:33	3240	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:33	3240	[DEBUG]	Query for Product
2023-10-13	13:21:33	3240	[DEBUG]	Executed store
2023-10-13	13:21:33	3240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6273_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:33	3240	[DEBUG]	Check product language entry
2023-10-13	13:21:33	3240	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862732
2023-10-13	13:21:33	3240	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:33	3240	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6273_208' AND `virtuemart_product_id` != 1862732
2023-10-13	13:21:33	3240	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:33	3240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862732, 'A_6273_208')
2023-10-13	13:21:33	3240	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:33	3240	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-spray-intact-mx-50-200-ml-aucune' AND `virtuemart_product_id` != 1862732
2023-10-13	13:21:33	3240	[DEBUG]	Query for ProductLang
2023-10-13	13:21:33	3240	[DEBUG]	Executed store
2023-10-13	13:21:33	3240	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.55848',`product_name`='MOTOREX Lubrifiant spray Intact MX 50  200 ml / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-spray-intact-mx-50-200-ml-aucune' WHERE `virtuemart_product_id` = '1862732'
2023-10-13	13:21:33	3240	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55849.jpg
2023-10-13	13:21:33	3240	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:33	3240	[DEBUG]	Process image file
2023-10-13	13:21:33	3240	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:33	3240	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:33	3240	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55849.jpg
2023-10-13	13:21:33	3240	[DEBUG]	Full name target: bcprisme/51_55849.jpg
2023-10-13	13:21:34	3240	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:34	3240	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_55849.jpg'
2023-10-13	13:21:34	3240	[DEBUG]	Query for Media
2023-10-13	13:21:34	3240	[DEBUG]	Executed store
2023-10-13	13:21:34	3240	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_55849.jpg',`file_url_thumb`='bcprisme/51_55849.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381162'
2023-10-13	13:21:34	3240	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:34	3240	[DEBUG]	Executed store
2023-10-13	13:21:34	3240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862732','381162','1')
2023-10-13	13:21:34	3240	[DEBUG]	Store product image relation
2023-10-13	13:21:34	3240	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:34	3240	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862732 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:34	3240	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:34	3240	[DEBUG]	Executed store
2023-10-13	13:21:34	3240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862732','0','9.74930362116992','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:34	3240	[DEBUG]	Checking manufacturer
2023-10-13	13:21:34	3240	[DEBUG]	Load a row
2023-10-13	13:21:34	3240	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:34	3240	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:34	3240	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:34	3240	[DEBUG]	Executed store
2023-10-13	13:21:34	3240	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:34	3240	[DEBUG]	Manufacturer exists
2023-10-13	13:21:34	3240	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:34	3240	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:34	3240	[DEBUG]	Executed store
2023-10-13	13:21:34	3240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862732','307')
2023-10-13	13:21:34	3240	[DEBUG]	Find the custom field ID
2023-10-13	13:21:34	3240	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:34	3240	[DEBUG]	No custom field ID found
2023-10-13	13:21:34	3240	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:34	3240	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:34	3240	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862732 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:34	3240	[DEBUG]	Store custom available field
2023-10-13	13:21:34	3240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862732,3,'0',1)
2023-10-13	13:21:34	3240	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:34	3240	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:34	3240	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862732 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:34	3240	[DEBUG]	Store custom available field
2023-10-13	13:21:34	3240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862732,6,'choisir la taille',3)
2023-10-13	13:21:34	3240	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:34	3240	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:34	3240	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:34	3240	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:34	3240	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862732 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:34	3240	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:34	3240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862732,8,1)
2023-10-13	13:21:34	3240	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:34	3240	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862732\":[1862732,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862732
2023-10-13	13:21:34	3240	[DEBUG]	Checking category
2023-10-13	13:21:34	3240	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:34	3240	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862732
2023-10-13	13:21:34	3240	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:34	3240	[DEBUG]	Executed store
2023-10-13	13:21:34	3240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862732','7371')
2023-10-13	13:21:34	3240	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:34	3240	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862732 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:34	3240	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:34	3240	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862732
2023-10-13	13:21:34	3241	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:34	3241	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:34	3241	[DEBUG]	Use field value for field taille
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:34	3241	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:34	3241	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:34	3241	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:34	3241	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:34	3241	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:34	3241	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:34	3241	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:34	3241	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:34	3241	[DEBUG]	Use field value for field published
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:34	3241	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field override
2023-10-13	13:21:34	3241	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:34	3241	[DEBUG]	Use field value for field slug
2023-10-13	13:21:34	3241	[DEBUG]	Process line 3241
2023-10-13	13:21:34	3241	[DEBUG]	Load a row
2023-10-13	13:21:34	3241	[DEBUG]	Processing item: 7611197104513
2023-10-13	13:21:34	3241	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:34	3241	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:34	3241	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6273_208'
2023-10-13	13:21:34	3241	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:34	3241	[DEBUG]	Processing product tax
2023-10-13	13:21:34	3241	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:34	3241	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:34	3241	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:34	3241	[DEBUG]	Query for Product
2023-10-13	13:21:34	3241	[DEBUG]	Executed store
2023-10-13	13:21:34	3241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862732','7611197104513','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:34	3241	[DEBUG]	No parent found
2023-10-13	13:21:34	3241	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862732 AND customfield_value = 'stockable'
2023-10-13	13:21:34	3241	[DEBUG]	Check product language entry
2023-10-13	13:21:34	3241	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862733
2023-10-13	13:21:34	3241	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:34	3241	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197104513' AND `virtuemart_product_id` != 1862733
2023-10-13	13:21:34	3241	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:34	3241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862733, '7611197104513')
2023-10-13	13:21:34	3241	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:34	3241	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-spray-intact-mx-50-200-ml-aucune-all' AND `virtuemart_product_id` != 1862733
2023-10-13	13:21:34	3241	[DEBUG]	Query for ProductLang
2023-10-13	13:21:34	3241	[DEBUG]	Executed store
2023-10-13	13:21:34	3241	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Lubrifiant spray Intact MX 50  200 ml / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-spray-intact-mx-50-200-ml-aucune-all' WHERE `virtuemart_product_id` = '1862733'
2023-10-13	13:21:34	3241	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55849.jpg
2023-10-13	13:21:34	3241	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:34	3241	[DEBUG]	Process image file
2023-10-13	13:21:34	3241	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:34	3241	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:34	3241	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55849.jpg
2023-10-13	13:21:34	3241	[DEBUG]	Full name target: bcprisme/51_55849.jpg
2023-10-13	13:21:35	3241	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:35	3241	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_55849.jpg'
2023-10-13	13:21:35	3241	[DEBUG]	Query for Media
2023-10-13	13:21:35	3241	[DEBUG]	Executed store
2023-10-13	13:21:35	3241	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_55849.jpg',`file_url_thumb`='bcprisme/51_55849.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381162'
2023-10-13	13:21:35	3241	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:35	3241	[DEBUG]	Executed store
2023-10-13	13:21:35	3241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862733','381162','1')
2023-10-13	13:21:35	3241	[DEBUG]	Store product image relation
2023-10-13	13:21:35	3241	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:35	3241	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862733 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:35	3241	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:35	3241	[DEBUG]	Executed store
2023-10-13	13:21:35	3241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862733','0','9.74930362116992','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:35	3241	[DEBUG]	Checking manufacturer
2023-10-13	13:21:35	3241	[DEBUG]	Load a row
2023-10-13	13:21:35	3241	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:35	3241	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:35	3241	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:35	3241	[DEBUG]	Executed store
2023-10-13	13:21:35	3241	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:35	3241	[DEBUG]	Manufacturer exists
2023-10-13	13:21:35	3241	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:35	3241	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:35	3241	[DEBUG]	Executed store
2023-10-13	13:21:35	3241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862733','307')
2023-10-13	13:21:35	3241	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:35	3241	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:35	3241	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862733 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:35	3241	[DEBUG]	Store custom available field
2023-10-13	13:21:35	3241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862733,3,'',1)
2023-10-13	13:21:35	3241	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:35	3241	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:21:35	3241	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862733 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:35	3241	[DEBUG]	Store custom available field
2023-10-13	13:21:35	3241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862733,6,'All',3)
2023-10-13	13:21:35	3241	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:35	3241	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:35	3241	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862732
2023-10-13	13:21:35	3241	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:35	3241	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862732\":[1862732,8,1,\"choisir la taille\"],\"1862733\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862732
2023-10-13	13:21:35	3241	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:35	3241	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862733
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:35	3242	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field taille
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:35	3242	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:35	3242	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:35	3242	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:35	3242	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:35	3242	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:35	3242	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:35	3242	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field published
2023-10-13	13:21:35	3242	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:35	3242	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field override
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:35	3242	[DEBUG]	Use field value for field slug
2023-10-13	13:21:35	3242	[DEBUG]	Process line 3242
2023-10-13	13:21:35	3242	[DEBUG]	Load a row
2023-10-13	13:21:35	3242	[DEBUG]	Processing item: A_6278_208
2023-10-13	13:21:35	3242	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:35	3242	[DEBUG]	Processing product tax
2023-10-13	13:21:35	3242	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:35	3242	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:35	3242	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:35	3242	[DEBUG]	Query for Product
2023-10-13	13:21:35	3242	[DEBUG]	Executed store
2023-10-13	13:21:35	3242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6278_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:35	3242	[DEBUG]	Check product language entry
2023-10-13	13:21:35	3242	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862734
2023-10-13	13:21:35	3242	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:35	3242	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6278_208' AND `virtuemart_product_id` != 1862734
2023-10-13	13:21:35	3242	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:35	3242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862734, 'A_6278_208')
2023-10-13	13:21:35	3242	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:35	3242	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-spray-joker-440-500-ml-aucune' AND `virtuemart_product_id` != 1862734
2023-10-13	13:21:35	3242	[DEBUG]	Query for ProductLang
2023-10-13	13:21:35	3242	[DEBUG]	Executed store
2023-10-13	13:21:35	3242	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.55845',`product_name`='MOTOREX Lubrifiant spray Joker 440 500 ml / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-spray-joker-440-500-ml-aucune' WHERE `virtuemart_product_id` = '1862734'
2023-10-13	13:21:35	3242	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55845.jpg
2023-10-13	13:21:35	3242	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:35	3242	[DEBUG]	Process image file
2023-10-13	13:21:35	3242	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:35	3242	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:35	3242	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55845.jpg
2023-10-13	13:21:35	3242	[DEBUG]	Full name target: bcprisme/51_55845.jpg
2023-10-13	13:21:36	3242	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:36	3242	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_55845.jpg'
2023-10-13	13:21:36	3242	[DEBUG]	Query for Media
2023-10-13	13:21:36	3242	[DEBUG]	Executed store
2023-10-13	13:21:36	3242	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_55845.jpg',`file_url_thumb`='bcprisme/51_55845.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381164'
2023-10-13	13:21:36	3242	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:36	3242	[DEBUG]	Executed store
2023-10-13	13:21:36	3242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862734','381164','1')
2023-10-13	13:21:36	3242	[DEBUG]	Store product image relation
2023-10-13	13:21:36	3242	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:36	3242	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862734 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:36	3242	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:36	3242	[DEBUG]	Executed store
2023-10-13	13:21:36	3242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862734','0','16.7130919220056','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:36	3242	[DEBUG]	Checking manufacturer
2023-10-13	13:21:36	3242	[DEBUG]	Load a row
2023-10-13	13:21:36	3242	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:36	3242	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:36	3242	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:36	3242	[DEBUG]	Executed store
2023-10-13	13:21:36	3242	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:36	3242	[DEBUG]	Manufacturer exists
2023-10-13	13:21:36	3242	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:36	3242	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:36	3242	[DEBUG]	Executed store
2023-10-13	13:21:36	3242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862734','307')
2023-10-13	13:21:36	3242	[DEBUG]	Find the custom field ID
2023-10-13	13:21:36	3242	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:36	3242	[DEBUG]	No custom field ID found
2023-10-13	13:21:36	3242	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:36	3242	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:36	3242	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862734 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:36	3242	[DEBUG]	Store custom available field
2023-10-13	13:21:36	3242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862734,3,'0',1)
2023-10-13	13:21:36	3242	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:36	3242	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:36	3242	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862734 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:36	3242	[DEBUG]	Store custom available field
2023-10-13	13:21:36	3242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862734,6,'choisir la taille',3)
2023-10-13	13:21:36	3242	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:36	3242	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:36	3242	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:36	3242	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:36	3242	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862734 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:36	3242	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:36	3242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862734,8,1)
2023-10-13	13:21:36	3242	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:36	3242	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862734\":[1862734,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862734
2023-10-13	13:21:36	3242	[DEBUG]	Checking category
2023-10-13	13:21:36	3242	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:36	3242	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862734
2023-10-13	13:21:36	3242	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:36	3242	[DEBUG]	Executed store
2023-10-13	13:21:36	3242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862734','7371')
2023-10-13	13:21:36	3242	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:36	3242	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862734 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:36	3242	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:36	3242	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862734
2023-10-13	13:21:36	3243	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:36	3243	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:36	3243	[DEBUG]	Use field value for field taille
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:36	3243	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:36	3243	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:36	3243	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:36	3243	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:36	3243	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:36	3243	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:36	3243	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:36	3243	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:36	3243	[DEBUG]	Use field value for field published
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:36	3243	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field override
2023-10-13	13:21:36	3243	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:36	3243	[DEBUG]	Use field value for field slug
2023-10-13	13:21:36	3243	[DEBUG]	Process line 3243
2023-10-13	13:21:36	3243	[DEBUG]	Load a row
2023-10-13	13:21:36	3243	[DEBUG]	Processing item: 7611197160656
2023-10-13	13:21:36	3243	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:36	3243	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:36	3243	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6278_208'
2023-10-13	13:21:36	3243	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:36	3243	[DEBUG]	Processing product tax
2023-10-13	13:21:36	3243	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:36	3243	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:36	3243	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:36	3243	[DEBUG]	Query for Product
2023-10-13	13:21:36	3243	[DEBUG]	Executed store
2023-10-13	13:21:36	3243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862734','7611197160656','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:36	3243	[DEBUG]	No parent found
2023-10-13	13:21:36	3243	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862734 AND customfield_value = 'stockable'
2023-10-13	13:21:36	3243	[DEBUG]	Check product language entry
2023-10-13	13:21:36	3243	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862735
2023-10-13	13:21:36	3243	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:36	3243	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197160656' AND `virtuemart_product_id` != 1862735
2023-10-13	13:21:36	3243	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:36	3243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862735, '7611197160656')
2023-10-13	13:21:36	3243	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:36	3243	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-spray-joker-440-500-ml-aucune-all' AND `virtuemart_product_id` != 1862735
2023-10-13	13:21:36	3243	[DEBUG]	Query for ProductLang
2023-10-13	13:21:36	3243	[DEBUG]	Executed store
2023-10-13	13:21:36	3243	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Lubrifiant spray Joker 440 500 ml / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-spray-joker-440-500-ml-aucune-all' WHERE `virtuemart_product_id` = '1862735'
2023-10-13	13:21:36	3243	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55845.jpg
2023-10-13	13:21:36	3243	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:36	3243	[DEBUG]	Process image file
2023-10-13	13:21:36	3243	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:36	3243	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:36	3243	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55845.jpg
2023-10-13	13:21:36	3243	[DEBUG]	Full name target: bcprisme/51_55845.jpg
2023-10-13	13:21:37	3243	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:37	3243	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_55845.jpg'
2023-10-13	13:21:37	3243	[DEBUG]	Query for Media
2023-10-13	13:21:37	3243	[DEBUG]	Executed store
2023-10-13	13:21:37	3243	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_55845.jpg',`file_url_thumb`='bcprisme/51_55845.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381164'
2023-10-13	13:21:37	3243	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:37	3243	[DEBUG]	Executed store
2023-10-13	13:21:37	3243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862735','381164','1')
2023-10-13	13:21:37	3243	[DEBUG]	Store product image relation
2023-10-13	13:21:37	3243	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:37	3243	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862735 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:37	3243	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:37	3243	[DEBUG]	Executed store
2023-10-13	13:21:37	3243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862735','0','16.7130919220056','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:37	3243	[DEBUG]	Checking manufacturer
2023-10-13	13:21:37	3243	[DEBUG]	Load a row
2023-10-13	13:21:37	3243	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:37	3243	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:37	3243	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:37	3243	[DEBUG]	Executed store
2023-10-13	13:21:37	3243	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:37	3243	[DEBUG]	Manufacturer exists
2023-10-13	13:21:37	3243	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:37	3243	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:37	3243	[DEBUG]	Executed store
2023-10-13	13:21:37	3243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862735','307')
2023-10-13	13:21:37	3243	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:37	3243	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:37	3243	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862735 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:37	3243	[DEBUG]	Store custom available field
2023-10-13	13:21:37	3243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862735,3,'',1)
2023-10-13	13:21:37	3243	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:37	3243	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:21:37	3243	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862735 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:37	3243	[DEBUG]	Store custom available field
2023-10-13	13:21:37	3243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862735,6,'All',3)
2023-10-13	13:21:37	3243	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:37	3243	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:37	3243	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862734
2023-10-13	13:21:37	3243	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:37	3243	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862734\":[1862734,8,1,\"choisir la taille\"],\"1862735\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862734
2023-10-13	13:21:37	3243	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:37	3243	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862735
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:37	3244	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field taille
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:37	3244	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:37	3244	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:37	3244	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:37	3244	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:37	3244	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:37	3244	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field published
2023-10-13	13:21:37	3244	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:37	3244	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field override
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:37	3244	[DEBUG]	Use field value for field slug
2023-10-13	13:21:38	3244	[DEBUG]	Process line 3244
2023-10-13	13:21:38	3244	[DEBUG]	Load a row
2023-10-13	13:21:38	3244	[DEBUG]	Processing item: A_6397_5
2023-10-13	13:21:38	3244	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:38	3244	[DEBUG]	Processing product tax
2023-10-13	13:21:38	3244	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:38	3244	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:38	3244	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:38	3244	[DEBUG]	Query for Product
2023-10-13	13:21:38	3244	[DEBUG]	Executed store
2023-10-13	13:21:38	3244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6397_5','0.052','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:38	3244	[DEBUG]	Check product language entry
2023-10-13	13:21:38	3244	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862736
2023-10-13	13:21:38	3244	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:38	3244	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6397_5' AND `virtuemart_product_id` != 1862736
2023-10-13	13:21:38	3244	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:38	3244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862736, 'A_6397_5')
2023-10-13	13:21:38	3244	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:38	3244	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-dot-5-1-120-ml-or' AND `virtuemart_product_id` != 1862736
2023-10-13	13:21:38	3244	[DEBUG]	Query for ProductLang
2023-10-13	13:21:38	3244	[DEBUG]	Executed store
2023-10-13	13:21:38	3244	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Huile de chaînes avec bas densité. Maintient la chaîne bien propre et graissée. Éprouvée en compétition. Capacité: 45ml <br>N° art fourn : D7086V',`product_name`='MLV-Bike DOT 5.1 120 ml / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-dot-5-1-120-ml-or' WHERE `virtuemart_product_id` = '1862736'
2023-10-13	13:21:38	3244	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32282_dot_5_1_120_ml.jpg
2023-10-13	13:21:38	3244	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:38	3244	[DEBUG]	Process image file
2023-10-13	13:21:38	3244	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:38	3244	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:38	3244	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32282_dot_5_1_120_ml.jpg
2023-10-13	13:21:38	3244	[DEBUG]	Full name target: bcprisme/32282_dot_5_1_120_ml.jpg
2023-10-13	13:21:38	3244	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:38	3244	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32282_dot_5_1_120_ml.jpg'
2023-10-13	13:21:38	3244	[DEBUG]	Query for Media
2023-10-13	13:21:38	3244	[DEBUG]	Executed store
2023-10-13	13:21:38	3244	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32282_dot_5_1_120_ml.jpg',`file_url_thumb`='bcprisme/32282_dot_5_1_120_ml.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437461'
2023-10-13	13:21:38	3244	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:38	3244	[DEBUG]	Executed store
2023-10-13	13:21:38	3244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862736','437461','1')
2023-10-13	13:21:38	3244	[DEBUG]	Store product image relation
2023-10-13	13:21:38	3244	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:38	3244	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862736 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:38	3244	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:38	3244	[DEBUG]	Executed store
2023-10-13	13:21:38	3244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862736','0','13.9275766016713','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:38	3244	[DEBUG]	Checking manufacturer
2023-10-13	13:21:38	3244	[DEBUG]	Load a row
2023-10-13	13:21:38	3244	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:38	3244	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:21:38	3244	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:38	3244	[DEBUG]	Executed store
2023-10-13	13:21:38	3244	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:21:38	3244	[DEBUG]	Manufacturer exists
2023-10-13	13:21:38	3244	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:21:38	3244	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:38	3244	[DEBUG]	Executed store
2023-10-13	13:21:38	3244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862736','2')
2023-10-13	13:21:39	3244	[DEBUG]	Find the custom field ID
2023-10-13	13:21:39	3244	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:39	3244	[DEBUG]	No custom field ID found
2023-10-13	13:21:39	3244	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:39	3244	[DEBUG]	Get existing row with customfield value 3.88916666666667
2023-10-13	13:21:39	3244	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862736 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:39	3244	[DEBUG]	Store custom available field
2023-10-13	13:21:39	3244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862736,3,'3.88916666666667',1)
2023-10-13	13:21:39	3244	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:39	3244	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:39	3244	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862736 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:39	3244	[DEBUG]	Store custom available field
2023-10-13	13:21:39	3244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862736,6,'choisir la taille',3)
2023-10-13	13:21:39	3244	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:39	3244	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:39	3244	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:39	3244	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:39	3244	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862736 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:39	3244	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:39	3244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862736,8,1)
2023-10-13	13:21:39	3244	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:39	3244	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862736\":[1862736,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862736
2023-10-13	13:21:39	3244	[DEBUG]	Checking category
2023-10-13	13:21:39	3244	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:39	3244	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862736
2023-10-13	13:21:39	3244	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:39	3244	[DEBUG]	Executed store
2023-10-13	13:21:39	3244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862736','7371')
2023-10-13	13:21:39	3244	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:39	3244	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862736 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:39	3244	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:39	3244	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862736
2023-10-13	13:21:39	3245	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:39	3245	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:39	3245	[DEBUG]	Use field value for field taille
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:39	3245	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:39	3245	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:39	3245	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:39	3245	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:39	3245	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:39	3245	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:39	3245	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:39	3245	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:39	3245	[DEBUG]	Use field value for field published
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:39	3245	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field override
2023-10-13	13:21:39	3245	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:39	3245	[DEBUG]	Use field value for field slug
2023-10-13	13:21:39	3245	[DEBUG]	Process line 3245
2023-10-13	13:21:39	3245	[DEBUG]	Load a row
2023-10-13	13:21:39	3245	[DEBUG]	Processing item: 710845310300
2023-10-13	13:21:39	3245	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:39	3245	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:39	3245	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6397_5'
2023-10-13	13:21:39	3245	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:39	3245	[DEBUG]	Processing product tax
2023-10-13	13:21:39	3245	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:39	3245	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:39	3245	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:39	3245	[DEBUG]	Query for Product
2023-10-13	13:21:39	3245	[DEBUG]	Executed store
2023-10-13	13:21:39	3245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862736','710845310300','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:39	3245	[DEBUG]	No parent found
2023-10-13	13:21:39	3245	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862736 AND customfield_value = 'stockable'
2023-10-13	13:21:39	3245	[DEBUG]	Check product language entry
2023-10-13	13:21:39	3245	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862737
2023-10-13	13:21:39	3245	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:39	3245	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845310300' AND `virtuemart_product_id` != 1862737
2023-10-13	13:21:39	3245	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:39	3245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862737, '710845310300')
2023-10-13	13:21:39	3245	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:39	3245	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-dot-5-1-120-ml-or-unitaire' AND `virtuemart_product_id` != 1862737
2023-10-13	13:21:39	3245	[DEBUG]	Query for ProductLang
2023-10-13	13:21:39	3245	[DEBUG]	Executed store
2023-10-13	13:21:39	3245	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike DOT 5.1 120 ml / Or (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-dot-5-1-120-ml-or-unitaire' WHERE `virtuemart_product_id` = '1862737'
2023-10-13	13:21:39	3245	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32282_dot_5_1_120_ml.jpg
2023-10-13	13:21:39	3245	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:39	3245	[DEBUG]	Process image file
2023-10-13	13:21:39	3245	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:39	3245	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:39	3245	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32282_dot_5_1_120_ml.jpg
2023-10-13	13:21:39	3245	[DEBUG]	Full name target: bcprisme/32282_dot_5_1_120_ml.jpg
2023-10-13	13:21:40	3245	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:40	3245	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32282_dot_5_1_120_ml.jpg'
2023-10-13	13:21:40	3245	[DEBUG]	Query for Media
2023-10-13	13:21:40	3245	[DEBUG]	Executed store
2023-10-13	13:21:40	3245	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32282_dot_5_1_120_ml.jpg',`file_url_thumb`='bcprisme/32282_dot_5_1_120_ml.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437461'
2023-10-13	13:21:40	3245	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:40	3245	[DEBUG]	Executed store
2023-10-13	13:21:40	3245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862737','437461','1')
2023-10-13	13:21:40	3245	[DEBUG]	Store product image relation
2023-10-13	13:21:40	3245	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:40	3245	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862737 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:40	3245	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:40	3245	[DEBUG]	Executed store
2023-10-13	13:21:40	3245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862737','0','13.9275766016713','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:40	3245	[DEBUG]	Checking manufacturer
2023-10-13	13:21:40	3245	[DEBUG]	Load a row
2023-10-13	13:21:40	3245	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:40	3245	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:21:40	3245	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:40	3245	[DEBUG]	Executed store
2023-10-13	13:21:40	3245	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:21:40	3245	[DEBUG]	Manufacturer exists
2023-10-13	13:21:40	3245	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:21:40	3245	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:40	3245	[DEBUG]	Executed store
2023-10-13	13:21:40	3245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862737','2')
2023-10-13	13:21:40	3245	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:40	3245	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:40	3245	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862737 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:40	3245	[DEBUG]	Store custom available field
2023-10-13	13:21:40	3245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862737,3,'',1)
2023-10-13	13:21:40	3245	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:40	3245	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:40	3245	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862737 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:40	3245	[DEBUG]	Store custom available field
2023-10-13	13:21:40	3245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862737,6,'Unitaire',3)
2023-10-13	13:21:40	3245	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:40	3245	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:40	3245	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862736
2023-10-13	13:21:40	3245	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:40	3245	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862736\":[1862736,8,1,\"choisir la taille\"],\"1862737\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862736
2023-10-13	13:21:40	3245	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:40	3245	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862737
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:40	3246	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field taille
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:40	3246	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:40	3246	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:40	3246	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:40	3246	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:40	3246	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:40	3246	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field published
2023-10-13	13:21:40	3246	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:40	3246	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field override
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:40	3246	[DEBUG]	Use field value for field slug
2023-10-13	13:21:40	3246	[DEBUG]	Process line 3246
2023-10-13	13:21:40	3246	[DEBUG]	Load a row
2023-10-13	13:21:40	3246	[DEBUG]	Processing item: A_6452_1
2023-10-13	13:21:40	3246	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:40	3246	[DEBUG]	Processing product tax
2023-10-13	13:21:40	3246	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:40	3246	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:40	3246	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:40	3246	[DEBUG]	Query for Product
2023-10-13	13:21:40	3246	[DEBUG]	Executed store
2023-10-13	13:21:40	3246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6452_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:40	3246	[DEBUG]	Check product language entry
2023-10-13	13:21:40	3246	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862738
2023-10-13	13:21:40	3246	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:40	3246	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6452_1' AND `virtuemart_product_id` != 1862738
2023-10-13	13:21:40	3246	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:40	3246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862738, 'A_6452_1')
2023-10-13	13:21:40	3246	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:40	3246	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-degraissant-ungrease-unpass-pour-chaine-velo-750-ml-noir' AND `virtuemart_product_id` != 1862738
2023-10-13	13:21:40	3246	[DEBUG]	Query for ProductLang
2023-10-13	13:21:40	3246	[DEBUG]	Executed store
2023-10-13	13:21:40	3246	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Graisse 1 kg au PTFE spécialement concue pour les roulements à billes subissants de fortes pressions. Hydrophobe (repousse l\'eau) et excellemente protection contre la corrosion<br>N° art fourn : 920561V',`product_name`='MLV-Bike Dégraissant UNGREASE UNPASS pour chaine vélo 750 ml / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-degraissant-ungrease-unpass-pour-chaine-velo-750-ml-noir' WHERE `virtuemart_product_id` = '1862738'
2023-10-13	13:21:40	3246	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32336_degraissant_ungrease_unpass_pour_chaine.png
2023-10-13	13:21:40	3246	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000190
2023-10-13	13:21:40	3246	[DEBUG]	Process image file
2023-10-13	13:21:40	3246	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000190
2023-10-13	13:21:40	3246	[DEBUG]	Mime type found: image/png
2023-10-13	13:21:40	3246	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32336_degraissant_ungrease_unpass_pour_chaine.png
2023-10-13	13:21:40	3246	[DEBUG]	Full name target: bcprisme/32336_degraissant_ungrease_unpass_pour_chaine.png
2023-10-13	13:21:41	3246	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:41	3246	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32336_degraissant_ungrease_unpass_pour_chaine.png'
2023-10-13	13:21:41	3246	[DEBUG]	Query for Media
2023-10-13	13:21:41	3246	[DEBUG]	Executed store
2023-10-13	13:21:41	3246	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/32336_degraissant_ungrease_unpass_pour_chaine.png',`file_url_thumb`='bcprisme/32336_degraissant_ungrease_unpass_pour_chaine.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '117712'
2023-10-13	13:21:41	3246	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:41	3246	[DEBUG]	Executed store
2023-10-13	13:21:41	3246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862738','117712','1')
2023-10-13	13:21:41	3246	[DEBUG]	Store product image relation
2023-10-13	13:21:41	3246	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:41	3246	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862738 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:41	3246	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:41	3246	[DEBUG]	Executed store
2023-10-13	13:21:41	3246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862738','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:41	3246	[DEBUG]	Checking manufacturer
2023-10-13	13:21:41	3246	[DEBUG]	Load a row
2023-10-13	13:21:41	3246	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:41	3246	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:21:41	3246	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:41	3246	[DEBUG]	Executed store
2023-10-13	13:21:41	3246	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:21:41	3246	[DEBUG]	Manufacturer exists
2023-10-13	13:21:41	3246	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:21:41	3246	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:41	3246	[DEBUG]	Executed store
2023-10-13	13:21:41	3246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862738','2')
2023-10-13	13:21:41	3246	[DEBUG]	Find the custom field ID
2023-10-13	13:21:41	3246	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:41	3246	[DEBUG]	No custom field ID found
2023-10-13	13:21:41	3246	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:41	3246	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	13:21:41	3246	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862738 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:41	3246	[DEBUG]	Store custom available field
2023-10-13	13:21:41	3246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862738,3,'49.7613888888889',1)
2023-10-13	13:21:41	3246	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:41	3246	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:41	3246	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862738 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:41	3246	[DEBUG]	Store custom available field
2023-10-13	13:21:41	3246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862738,6,'choisir la taille',3)
2023-10-13	13:21:41	3246	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:41	3246	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:41	3246	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:41	3246	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:41	3246	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862738 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:41	3246	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:41	3246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862738,8,1)
2023-10-13	13:21:41	3246	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:41	3246	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862738\":[1862738,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862738
2023-10-13	13:21:41	3246	[DEBUG]	Checking category
2023-10-13	13:21:41	3246	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:41	3246	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862738
2023-10-13	13:21:41	3246	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:41	3246	[DEBUG]	Executed store
2023-10-13	13:21:41	3246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862738','7371')
2023-10-13	13:21:41	3246	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:41	3246	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862738 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:41	3246	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:41	3246	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862738
2023-10-13	13:21:41	3247	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:41	3247	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:41	3247	[DEBUG]	Use field value for field taille
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:41	3247	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:41	3247	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:41	3247	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:41	3247	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:41	3247	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:41	3247	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:41	3247	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:41	3247	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:41	3247	[DEBUG]	Use field value for field published
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:41	3247	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field override
2023-10-13	13:21:41	3247	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:41	3247	[DEBUG]	Use field value for field slug
2023-10-13	13:21:41	3247	[DEBUG]	Process line 3247
2023-10-13	13:21:41	3247	[DEBUG]	Load a row
2023-10-13	13:21:41	3247	[DEBUG]	Processing item: 3760257187097
2023-10-13	13:21:41	3247	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:41	3247	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:41	3247	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6452_1'
2023-10-13	13:21:41	3247	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:41	3247	[DEBUG]	Processing product tax
2023-10-13	13:21:41	3247	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:41	3247	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:41	3247	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:41	3247	[DEBUG]	Query for Product
2023-10-13	13:21:41	3247	[DEBUG]	Executed store
2023-10-13	13:21:41	3247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862738','3760257187097','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:41	3247	[DEBUG]	No parent found
2023-10-13	13:21:41	3247	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862738 AND customfield_value = 'stockable'
2023-10-13	13:21:41	3247	[DEBUG]	Check product language entry
2023-10-13	13:21:41	3247	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862739
2023-10-13	13:21:41	3247	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:41	3247	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3760257187097' AND `virtuemart_product_id` != 1862739
2023-10-13	13:21:41	3247	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:41	3247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862739, '3760257187097')
2023-10-13	13:21:41	3247	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:41	3247	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-degraissant-ungrease-unpass-pour-chaine-velo-750-ml-noir-unitaire' AND `virtuemart_product_id` != 1862739
2023-10-13	13:21:41	3247	[DEBUG]	Query for ProductLang
2023-10-13	13:21:41	3247	[DEBUG]	Executed store
2023-10-13	13:21:41	3247	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Dégraissant UNGREASE UNPASS pour chaine vélo 750 ml / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-degraissant-ungrease-unpass-pour-chaine-velo-750-ml-noir-unitaire' WHERE `virtuemart_product_id` = '1862739'
2023-10-13	13:21:41	3247	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32336_degraissant_ungrease_unpass_pour_chaine.png
2023-10-13	13:21:41	3247	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000190
2023-10-13	13:21:41	3247	[DEBUG]	Process image file
2023-10-13	13:21:41	3247	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000190
2023-10-13	13:21:41	3247	[DEBUG]	Mime type found: image/png
2023-10-13	13:21:41	3247	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32336_degraissant_ungrease_unpass_pour_chaine.png
2023-10-13	13:21:41	3247	[DEBUG]	Full name target: bcprisme/32336_degraissant_ungrease_unpass_pour_chaine.png
2023-10-13	13:21:42	3247	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:42	3247	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32336_degraissant_ungrease_unpass_pour_chaine.png'
2023-10-13	13:21:42	3247	[DEBUG]	Query for Media
2023-10-13	13:21:42	3247	[DEBUG]	Executed store
2023-10-13	13:21:42	3247	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/32336_degraissant_ungrease_unpass_pour_chaine.png',`file_url_thumb`='bcprisme/32336_degraissant_ungrease_unpass_pour_chaine.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '117712'
2023-10-13	13:21:42	3247	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:42	3247	[DEBUG]	Executed store
2023-10-13	13:21:42	3247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862739','117712','1')
2023-10-13	13:21:42	3247	[DEBUG]	Store product image relation
2023-10-13	13:21:42	3247	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:42	3247	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862739 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:42	3247	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:42	3247	[DEBUG]	Executed store
2023-10-13	13:21:42	3247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862739','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:42	3247	[DEBUG]	Checking manufacturer
2023-10-13	13:21:42	3247	[DEBUG]	Load a row
2023-10-13	13:21:42	3247	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:42	3247	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:21:42	3247	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:42	3247	[DEBUG]	Executed store
2023-10-13	13:21:42	3247	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:21:42	3247	[DEBUG]	Manufacturer exists
2023-10-13	13:21:42	3247	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:21:42	3247	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:42	3247	[DEBUG]	Executed store
2023-10-13	13:21:42	3247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862739','2')
2023-10-13	13:21:42	3247	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:42	3247	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:42	3247	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862739 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:42	3247	[DEBUG]	Store custom available field
2023-10-13	13:21:42	3247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862739,3,'',1)
2023-10-13	13:21:42	3247	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:42	3247	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:42	3247	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862739 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:42	3247	[DEBUG]	Store custom available field
2023-10-13	13:21:42	3247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862739,6,'Unitaire',3)
2023-10-13	13:21:42	3247	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:42	3247	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:42	3247	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862738
2023-10-13	13:21:42	3247	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:42	3247	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862738\":[1862738,8,1,\"choisir la taille\"],\"1862739\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862738
2023-10-13	13:21:42	3247	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:42	3247	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862739
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:42	3248	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field taille
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:42	3248	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:42	3248	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:42	3248	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:42	3248	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:42	3248	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:42	3248	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field published
2023-10-13	13:21:42	3248	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:42	3248	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field override
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:42	3248	[DEBUG]	Use field value for field slug
2023-10-13	13:21:42	3248	[DEBUG]	Process line 3248
2023-10-13	13:21:42	3248	[DEBUG]	Load a row
2023-10-13	13:21:42	3248	[DEBUG]	Processing item: A_6883_1
2023-10-13	13:21:42	3248	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:42	3248	[DEBUG]	Processing product tax
2023-10-13	13:21:42	3248	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:42	3248	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:42	3248	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:42	3248	[DEBUG]	Query for Product
2023-10-13	13:21:42	3248	[DEBUG]	Executed store
2023-10-13	13:21:42	3248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6883_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:42	3248	[DEBUG]	Check product language entry
2023-10-13	13:21:42	3248	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862740
2023-10-13	13:21:42	3248	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:42	3248	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6883_1' AND `virtuemart_product_id` != 1862740
2023-10-13	13:21:42	3248	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:42	3248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862740, 'A_6883_1')
2023-10-13	13:21:42	3248	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:42	3248	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-thunderbolt-chiffon-micro-fibre-35-x-35-cm-noir' AND `virtuemart_product_id` != 1862740
2023-10-13	13:21:42	3248	[DEBUG]	Query for ProductLang
2023-10-13	13:21:42	3248	[DEBUG]	Executed store
2023-10-13	13:21:42	3248	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Graisse 1 kg au PTFE spécialement concue pour les roulements à billes subissants de fortes pressions. Hydrophobe (repousse l\'eau) et excellemente protection contre la corrosion<br>N° art fourn : 910507MF',`product_name`='MLV-Bike Thunderbolt, chiffon micro-fibre 35 x 35 cm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-thunderbolt-chiffon-micro-fibre-35-x-35-cm-noir' WHERE `virtuemart_product_id` = '1862740'
2023-10-13	13:21:42	3248	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33994_thunderbolt,_chiffon_micro-fibre_35_x_35_cm.jpg
2023-10-13	13:21:42	3248	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:42	3248	[DEBUG]	Process image file
2023-10-13	13:21:42	3248	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:42	3248	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:42	3248	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33994_thunderbolt,_chiffon_micro-fibre_35_x_35_cm.jpg
2023-10-13	13:21:42	3248	[DEBUG]	Full name target: bcprisme/33994_thunderbolt,_chiffon_micro-fibre_35_x_35_cm.jpg
2023-10-13	13:21:43	3248	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:43	3248	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33994_thunderbolt,_chiffon_micro-fibre_35_x_35_cm.jpg'
2023-10-13	13:21:43	3248	[DEBUG]	Query for Media
2023-10-13	13:21:43	3248	[DEBUG]	Executed store
2023-10-13	13:21:43	3248	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33994_thunderbolt,_chiffon_micro-fibre_35_x_35_cm.jpg',`file_url_thumb`='bcprisme/33994_thunderbolt,_chiffon_micro-fibre_35_x_35_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15907'
2023-10-13	13:21:43	3248	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:43	3248	[DEBUG]	Executed store
2023-10-13	13:21:43	3248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862740','15907','1')
2023-10-13	13:21:43	3248	[DEBUG]	Store product image relation
2023-10-13	13:21:43	3248	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:43	3248	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862740 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:43	3248	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:43	3248	[DEBUG]	Executed store
2023-10-13	13:21:43	3248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862740','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:43	3248	[DEBUG]	Checking manufacturer
2023-10-13	13:21:43	3248	[DEBUG]	Load a row
2023-10-13	13:21:43	3248	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:43	3248	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:21:43	3248	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:43	3248	[DEBUG]	Executed store
2023-10-13	13:21:43	3248	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:21:43	3248	[DEBUG]	Manufacturer exists
2023-10-13	13:21:43	3248	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:21:43	3248	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:43	3248	[DEBUG]	Executed store
2023-10-13	13:21:43	3248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862740','2')
2023-10-13	13:21:43	3248	[DEBUG]	Find the custom field ID
2023-10-13	13:21:43	3248	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:43	3248	[DEBUG]	No custom field ID found
2023-10-13	13:21:43	3248	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:43	3248	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	13:21:43	3248	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862740 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:43	3248	[DEBUG]	Store custom available field
2023-10-13	13:21:43	3248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862740,3,'49.7613888888889',1)
2023-10-13	13:21:43	3248	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:43	3248	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:43	3248	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862740 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:43	3248	[DEBUG]	Store custom available field
2023-10-13	13:21:43	3248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862740,6,'choisir la taille',3)
2023-10-13	13:21:43	3248	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:43	3248	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:43	3248	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:43	3248	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:43	3248	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862740 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:43	3248	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:43	3248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862740,8,1)
2023-10-13	13:21:43	3248	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:43	3248	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862740\":[1862740,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862740
2023-10-13	13:21:43	3248	[DEBUG]	Checking category
2023-10-13	13:21:43	3248	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:43	3248	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862740
2023-10-13	13:21:43	3248	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:43	3248	[DEBUG]	Executed store
2023-10-13	13:21:43	3248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862740','7371')
2023-10-13	13:21:43	3248	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:43	3248	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862740 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:43	3248	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:43	3248	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862740
2023-10-13	13:21:43	3249	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:43	3249	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:43	3249	[DEBUG]	Use field value for field taille
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:43	3249	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:43	3249	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:43	3249	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:43	3249	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:43	3249	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:43	3249	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:43	3249	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:43	3249	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:43	3249	[DEBUG]	Use field value for field published
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:43	3249	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field override
2023-10-13	13:21:43	3249	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:43	3249	[DEBUG]	Use field value for field slug
2023-10-13	13:21:43	3249	[DEBUG]	Process line 3249
2023-10-13	13:21:43	3249	[DEBUG]	Load a row
2023-10-13	13:21:43	3249	[DEBUG]	Processing item: 1000000110623
2023-10-13	13:21:43	3249	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:43	3249	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:43	3249	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6883_1'
2023-10-13	13:21:43	3249	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:43	3249	[DEBUG]	Processing product tax
2023-10-13	13:21:43	3249	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:43	3249	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:43	3249	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:43	3249	[DEBUG]	Query for Product
2023-10-13	13:21:43	3249	[DEBUG]	Executed store
2023-10-13	13:21:43	3249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862740','1000000110623','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:43	3249	[DEBUG]	No parent found
2023-10-13	13:21:43	3249	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862740 AND customfield_value = 'stockable'
2023-10-13	13:21:43	3249	[DEBUG]	Check product language entry
2023-10-13	13:21:43	3249	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862741
2023-10-13	13:21:43	3249	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:43	3249	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000110623' AND `virtuemart_product_id` != 1862741
2023-10-13	13:21:43	3249	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:43	3249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862741, '1000000110623')
2023-10-13	13:21:43	3249	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:43	3249	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-thunderbolt-chiffon-micro-fibre-35-x-35-cm-noir-unitaire' AND `virtuemart_product_id` != 1862741
2023-10-13	13:21:43	3249	[DEBUG]	Query for ProductLang
2023-10-13	13:21:43	3249	[DEBUG]	Executed store
2023-10-13	13:21:43	3249	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Thunderbolt, chiffon micro-fibre 35 x 35 cm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-thunderbolt-chiffon-micro-fibre-35-x-35-cm-noir-unitaire' WHERE `virtuemart_product_id` = '1862741'
2023-10-13	13:21:43	3249	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33994_thunderbolt,_chiffon_micro-fibre_35_x_35_cm.jpg
2023-10-13	13:21:43	3249	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:43	3249	[DEBUG]	Process image file
2023-10-13	13:21:43	3249	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:43	3249	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:43	3249	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33994_thunderbolt,_chiffon_micro-fibre_35_x_35_cm.jpg
2023-10-13	13:21:43	3249	[DEBUG]	Full name target: bcprisme/33994_thunderbolt,_chiffon_micro-fibre_35_x_35_cm.jpg
2023-10-13	13:21:44	3249	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:44	3249	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33994_thunderbolt,_chiffon_micro-fibre_35_x_35_cm.jpg'
2023-10-13	13:21:44	3249	[DEBUG]	Query for Media
2023-10-13	13:21:44	3249	[DEBUG]	Executed store
2023-10-13	13:21:44	3249	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33994_thunderbolt,_chiffon_micro-fibre_35_x_35_cm.jpg',`file_url_thumb`='bcprisme/33994_thunderbolt,_chiffon_micro-fibre_35_x_35_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15907'
2023-10-13	13:21:44	3249	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:44	3249	[DEBUG]	Executed store
2023-10-13	13:21:44	3249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862741','15907','1')
2023-10-13	13:21:44	3249	[DEBUG]	Store product image relation
2023-10-13	13:21:44	3249	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:44	3249	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862741 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:44	3249	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:44	3249	[DEBUG]	Executed store
2023-10-13	13:21:44	3249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862741','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:44	3249	[DEBUG]	Checking manufacturer
2023-10-13	13:21:44	3249	[DEBUG]	Load a row
2023-10-13	13:21:44	3249	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:44	3249	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:21:44	3249	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:44	3249	[DEBUG]	Executed store
2023-10-13	13:21:44	3249	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:21:44	3249	[DEBUG]	Manufacturer exists
2023-10-13	13:21:44	3249	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:21:44	3249	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:44	3249	[DEBUG]	Executed store
2023-10-13	13:21:44	3249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862741','2')
2023-10-13	13:21:44	3249	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:44	3249	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:44	3249	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862741 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:44	3249	[DEBUG]	Store custom available field
2023-10-13	13:21:44	3249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862741,3,'',1)
2023-10-13	13:21:44	3249	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:44	3249	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:44	3249	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862741 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:44	3249	[DEBUG]	Store custom available field
2023-10-13	13:21:44	3249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862741,6,'Unitaire',3)
2023-10-13	13:21:44	3249	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:44	3249	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:44	3249	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862740
2023-10-13	13:21:44	3249	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:44	3249	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862740\":[1862740,8,1,\"choisir la taille\"],\"1862741\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862740
2023-10-13	13:21:44	3249	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:44	3249	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862741
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:44	3250	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field taille
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:44	3250	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:44	3250	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:44	3250	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:44	3250	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:44	3250	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:44	3250	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field published
2023-10-13	13:21:44	3250	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:44	3250	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field override
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:44	3250	[DEBUG]	Use field value for field slug
2023-10-13	13:21:44	3250	[DEBUG]	Process line 3250
2023-10-13	13:21:44	3250	[DEBUG]	Load a row
2023-10-13	13:21:44	3250	[DEBUG]	Processing item: A_7204_0
2023-10-13	13:21:44	3250	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:44	3250	[DEBUG]	Processing product tax
2023-10-13	13:21:44	3250	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:44	3250	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:44	3250	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:44	3250	[DEBUG]	Query for Product
2023-10-13	13:21:44	3250	[DEBUG]	Executed store
2023-10-13	13:21:44	3250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7204_0','0.052','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:44	3250	[DEBUG]	Check product language entry
2023-10-13	13:21:44	3250	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862742
2023-10-13	13:21:44	3250	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:44	3250	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7204_0' AND `virtuemart_product_id` != 1862742
2023-10-13	13:21:44	3250	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:44	3250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862742, 'A_7204_0')
2023-10-13	13:21:44	3250	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:44	3250	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-dot-5-1-250-ml-motorex-unique' AND `virtuemart_product_id` != 1862742
2023-10-13	13:21:44	3250	[DEBUG]	Query for ProductLang
2023-10-13	13:21:44	3250	[DEBUG]	Executed store
2023-10-13	13:21:44	3250	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Huile de chaînes avec bas densité. Maintient la chaîne bien propre et graissée. Éprouvée en compétition. Capacité: 45ml <br>N° art fourn : 51.55859',`product_name`='MOTOREX DOT 5.1 250 ml, MOTOREX / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-dot-5-1-250-ml-motorex-unique' WHERE `virtuemart_product_id` = '1862742'
2023-10-13	13:21:44	3250	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34384_dot_5_1_250_ml,_motorex.jpg
2023-10-13	13:21:44	3250	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:44	3250	[DEBUG]	Process image file
2023-10-13	13:21:44	3250	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:44	3250	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:44	3250	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34384_dot_5_1_250_ml,_motorex.jpg
2023-10-13	13:21:44	3250	[DEBUG]	Full name target: bcprisme/34384_dot_5_1_250_ml,_motorex.jpg
2023-10-13	13:21:45	3250	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:45	3250	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34384_dot_5_1_250_ml,_motorex.jpg'
2023-10-13	13:21:45	3250	[DEBUG]	Query for Media
2023-10-13	13:21:45	3250	[DEBUG]	Executed store
2023-10-13	13:21:45	3250	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34384_dot_5_1_250_ml,_motorex.jpg',`file_url_thumb`='bcprisme/34384_dot_5_1_250_ml,_motorex.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '141094'
2023-10-13	13:21:45	3250	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:45	3250	[DEBUG]	Executed store
2023-10-13	13:21:45	3250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862742','141094','1')
2023-10-13	13:21:45	3250	[DEBUG]	Store product image relation
2023-10-13	13:21:45	3250	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:45	3250	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862742 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:45	3250	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:45	3250	[DEBUG]	Executed store
2023-10-13	13:21:45	3250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862742','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:45	3250	[DEBUG]	Checking manufacturer
2023-10-13	13:21:45	3250	[DEBUG]	Load a row
2023-10-13	13:21:45	3250	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:45	3250	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:45	3250	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:45	3250	[DEBUG]	Executed store
2023-10-13	13:21:45	3250	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:45	3250	[DEBUG]	Manufacturer exists
2023-10-13	13:21:45	3250	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:45	3250	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:45	3250	[DEBUG]	Executed store
2023-10-13	13:21:45	3250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862742','307')
2023-10-13	13:21:45	3250	[DEBUG]	Find the custom field ID
2023-10-13	13:21:45	3250	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:45	3250	[DEBUG]	No custom field ID found
2023-10-13	13:21:45	3250	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:45	3250	[DEBUG]	Get existing row with customfield value 3.88916666666667
2023-10-13	13:21:45	3250	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862742 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:45	3250	[DEBUG]	Store custom available field
2023-10-13	13:21:45	3250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862742,3,'3.88916666666667',1)
2023-10-13	13:21:45	3250	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:45	3250	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:45	3250	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862742 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:45	3250	[DEBUG]	Store custom available field
2023-10-13	13:21:45	3250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862742,6,'choisir la taille',3)
2023-10-13	13:21:45	3250	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:45	3250	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:45	3250	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:45	3250	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:45	3250	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862742 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:45	3250	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:45	3250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862742,8,1)
2023-10-13	13:21:45	3250	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:45	3250	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862742\":[1862742,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862742
2023-10-13	13:21:45	3250	[DEBUG]	Checking category
2023-10-13	13:21:45	3250	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:45	3250	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862742
2023-10-13	13:21:45	3250	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:45	3250	[DEBUG]	Executed store
2023-10-13	13:21:45	3250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862742','7371')
2023-10-13	13:21:45	3250	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:45	3250	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862742 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:45	3250	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:45	3250	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862742
2023-10-13	13:21:45	3251	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:45	3251	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:45	3251	[DEBUG]	Use field value for field taille
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:45	3251	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:45	3251	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:45	3251	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:45	3251	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:45	3251	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:45	3251	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:45	3251	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:45	3251	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:45	3251	[DEBUG]	Use field value for field published
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:45	3251	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field override
2023-10-13	13:21:45	3251	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:45	3251	[DEBUG]	Use field value for field slug
2023-10-13	13:21:45	3251	[DEBUG]	Process line 3251
2023-10-13	13:21:45	3251	[DEBUG]	Load a row
2023-10-13	13:21:45	3251	[DEBUG]	Processing item: 7611197113577
2023-10-13	13:21:45	3251	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:45	3251	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:45	3251	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7204_0'
2023-10-13	13:21:45	3251	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:45	3251	[DEBUG]	Processing product tax
2023-10-13	13:21:45	3251	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:45	3251	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:45	3251	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:45	3251	[DEBUG]	Query for Product
2023-10-13	13:21:45	3251	[DEBUG]	Executed store
2023-10-13	13:21:45	3251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862742','7611197113577','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:45	3251	[DEBUG]	No parent found
2023-10-13	13:21:45	3251	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862742 AND customfield_value = 'stockable'
2023-10-13	13:21:45	3251	[DEBUG]	Check product language entry
2023-10-13	13:21:45	3251	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862743
2023-10-13	13:21:45	3251	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:45	3251	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197113577' AND `virtuemart_product_id` != 1862743
2023-10-13	13:21:45	3251	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:45	3251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862743, '7611197113577')
2023-10-13	13:21:45	3251	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:45	3251	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-dot-5-1-250-ml-motorex-unique-unitaire' AND `virtuemart_product_id` != 1862743
2023-10-13	13:21:45	3251	[DEBUG]	Query for ProductLang
2023-10-13	13:21:45	3251	[DEBUG]	Executed store
2023-10-13	13:21:45	3251	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX DOT 5.1 250 ml, MOTOREX / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-dot-5-1-250-ml-motorex-unique-unitaire' WHERE `virtuemart_product_id` = '1862743'
2023-10-13	13:21:45	3251	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34384_dot_5_1_250_ml,_motorex.jpg
2023-10-13	13:21:45	3251	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:45	3251	[DEBUG]	Process image file
2023-10-13	13:21:45	3251	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:45	3251	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:45	3251	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34384_dot_5_1_250_ml,_motorex.jpg
2023-10-13	13:21:45	3251	[DEBUG]	Full name target: bcprisme/34384_dot_5_1_250_ml,_motorex.jpg
2023-10-13	13:21:46	3251	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:46	3251	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34384_dot_5_1_250_ml,_motorex.jpg'
2023-10-13	13:21:46	3251	[DEBUG]	Query for Media
2023-10-13	13:21:46	3251	[DEBUG]	Executed store
2023-10-13	13:21:46	3251	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34384_dot_5_1_250_ml,_motorex.jpg',`file_url_thumb`='bcprisme/34384_dot_5_1_250_ml,_motorex.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '141094'
2023-10-13	13:21:46	3251	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:46	3251	[DEBUG]	Executed store
2023-10-13	13:21:46	3251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862743','141094','1')
2023-10-13	13:21:46	3251	[DEBUG]	Store product image relation
2023-10-13	13:21:46	3251	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:46	3251	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862743 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:46	3251	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:46	3251	[DEBUG]	Executed store
2023-10-13	13:21:46	3251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862743','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:46	3251	[DEBUG]	Checking manufacturer
2023-10-13	13:21:46	3251	[DEBUG]	Load a row
2023-10-13	13:21:46	3251	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:46	3251	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:46	3251	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:46	3251	[DEBUG]	Executed store
2023-10-13	13:21:46	3251	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:46	3251	[DEBUG]	Manufacturer exists
2023-10-13	13:21:46	3251	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:46	3251	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:46	3251	[DEBUG]	Executed store
2023-10-13	13:21:46	3251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862743','307')
2023-10-13	13:21:46	3251	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:46	3251	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:46	3251	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862743 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:46	3251	[DEBUG]	Store custom available field
2023-10-13	13:21:46	3251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862743,3,'',1)
2023-10-13	13:21:46	3251	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:46	3251	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:46	3251	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862743 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:46	3251	[DEBUG]	Store custom available field
2023-10-13	13:21:46	3251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862743,6,'Unitaire',3)
2023-10-13	13:21:46	3251	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:46	3251	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:46	3251	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862742
2023-10-13	13:21:46	3251	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:46	3251	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862742\":[1862742,8,1,\"choisir la taille\"],\"1862743\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862742
2023-10-13	13:21:46	3251	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:46	3251	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862743
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:46	3252	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field taille
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:46	3252	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:46	3252	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:46	3252	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:46	3252	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:46	3252	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:46	3252	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field published
2023-10-13	13:21:46	3252	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:46	3252	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field override
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:46	3252	[DEBUG]	Use field value for field slug
2023-10-13	13:21:46	3252	[DEBUG]	Process line 3252
2023-10-13	13:21:46	3252	[DEBUG]	Load a row
2023-10-13	13:21:46	3252	[DEBUG]	Processing item: A_7774_0
2023-10-13	13:21:46	3252	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:46	3252	[DEBUG]	Processing product tax
2023-10-13	13:21:46	3252	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:46	3252	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:46	3252	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:46	3252	[DEBUG]	Query for Product
2023-10-13	13:21:46	3252	[DEBUG]	Executed store
2023-10-13	13:21:46	3252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7774_0','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:46	3252	[DEBUG]	Check product language entry
2023-10-13	13:21:46	3252	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862744
2023-10-13	13:21:46	3252	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:46	3252	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7774_0' AND `virtuemart_product_id` != 1862744
2023-10-13	13:21:46	3252	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:46	3252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862744, 'A_7774_0')
2023-10-13	13:21:46	3252	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:46	3252	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-maxima-suspension-oil-plush-3wt-1-liter-bottle---rear-shock-charger-damper-unique' AND `virtuemart_product_id` != 1862744
2023-10-13	13:21:46	3252	[DEBUG]	Query for ProductLang
2023-10-13	13:21:46	3252	[DEBUG]	Executed store
2023-10-13	13:21:46	3252	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D8468P',`product_name`='ROCK SHOK MAXIMA SUSPENSION OIL PLUSH, 3WT 1 LITER BOTTLE - REAR SHOCK/CHARGER DAMPER / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rock-shok-maxima-suspension-oil-plush-3wt-1-liter-bottle---rear-shock-charger-damper-unique' WHERE `virtuemart_product_id` = '1862744'
2023-10-13	13:21:46	3252	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36143__maxima_suspension_oil_plush,_3wt_1_liter_bottle_-_rear_shock-charger_damper.jpg
2023-10-13	13:21:46	3252	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:46	3252	[DEBUG]	Process image file
2023-10-13	13:21:46	3252	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:46	3252	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:46	3252	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36143__maxima_suspension_oil_plush,_3wt_1_liter_bottle_-_rear_shock-charger_damper.jpg
2023-10-13	13:21:46	3252	[DEBUG]	Full name target: bcprisme/36143__maxima_suspension_oil_plush,_3wt_1_liter_bottle_-_rear_shock-charger_damper.jpg
2023-10-13	13:21:47	3252	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:47	3252	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36143__maxima_suspension_oil_plush,_3wt_1_liter_bottle_-_rear_shock-charger_damper.jpg'
2023-10-13	13:21:47	3252	[DEBUG]	Query for Media
2023-10-13	13:21:47	3252	[DEBUG]	Executed store
2023-10-13	13:21:47	3252	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36143__maxima_suspension_oil_plush,_3wt_1_liter_bottle_-_rear_shock-charger_damper.jpg',`file_url_thumb`='bcprisme/36143__maxima_suspension_oil_plush,_3wt_1_liter_bottle_-_rear_shock-charger_damper.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '466744'
2023-10-13	13:21:47	3252	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:47	3252	[DEBUG]	Executed store
2023-10-13	13:21:47	3252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862744','466744','1')
2023-10-13	13:21:47	3252	[DEBUG]	Store product image relation
2023-10-13	13:21:47	3252	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:47	3252	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862744 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:47	3252	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:47	3252	[DEBUG]	Executed store
2023-10-13	13:21:47	3252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862744','0','25.9052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:47	3252	[DEBUG]	Checking manufacturer
2023-10-13	13:21:47	3252	[DEBUG]	Load a row
2023-10-13	13:21:47	3252	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:47	3252	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:21:47	3252	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:47	3252	[DEBUG]	Executed store
2023-10-13	13:21:47	3252	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411920883369' WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:21:47	3252	[DEBUG]	Manufacturer exists
2023-10-13	13:21:47	3252	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 36
2023-10-13	13:21:47	3252	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:47	3252	[DEBUG]	Executed store
2023-10-13	13:21:47	3252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862744','36')
2023-10-13	13:21:47	3252	[DEBUG]	Find the custom field ID
2023-10-13	13:21:47	3252	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:47	3252	[DEBUG]	No custom field ID found
2023-10-13	13:21:47	3252	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:47	3252	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:47	3252	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862744 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:47	3252	[DEBUG]	Store custom available field
2023-10-13	13:21:47	3252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862744,3,'0',1)
2023-10-13	13:21:47	3252	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:47	3252	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:47	3252	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862744 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:47	3252	[DEBUG]	Store custom available field
2023-10-13	13:21:47	3252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862744,6,'choisir la taille',3)
2023-10-13	13:21:47	3252	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:47	3252	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:47	3252	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:47	3252	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:47	3252	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862744 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:47	3252	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:47	3252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862744,8,1)
2023-10-13	13:21:47	3252	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:47	3252	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862744\":[1862744,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862744
2023-10-13	13:21:47	3252	[DEBUG]	Checking category
2023-10-13	13:21:47	3252	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:47	3252	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862744
2023-10-13	13:21:47	3252	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:47	3252	[DEBUG]	Executed store
2023-10-13	13:21:47	3252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862744','7371')
2023-10-13	13:21:47	3252	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:47	3252	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862744 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:47	3252	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:47	3252	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862744
2023-10-13	13:21:47	3253	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:47	3253	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:47	3253	[DEBUG]	Use field value for field taille
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:47	3253	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:47	3253	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:47	3253	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:47	3253	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:47	3253	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:47	3253	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:47	3253	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:47	3253	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:47	3253	[DEBUG]	Use field value for field published
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:47	3253	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field override
2023-10-13	13:21:47	3253	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:47	3253	[DEBUG]	Use field value for field slug
2023-10-13	13:21:47	3253	[DEBUG]	Process line 3253
2023-10-13	13:21:47	3253	[DEBUG]	Load a row
2023-10-13	13:21:47	3253	[DEBUG]	Processing item: 1000000136920
2023-10-13	13:21:47	3253	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:47	3253	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:47	3253	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7774_0'
2023-10-13	13:21:47	3253	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:47	3253	[DEBUG]	Processing product tax
2023-10-13	13:21:47	3253	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:47	3253	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:47	3253	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:47	3253	[DEBUG]	Query for Product
2023-10-13	13:21:47	3253	[DEBUG]	Executed store
2023-10-13	13:21:47	3253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862744','1000000136920','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:47	3253	[DEBUG]	No parent found
2023-10-13	13:21:47	3253	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862744 AND customfield_value = 'stockable'
2023-10-13	13:21:47	3253	[DEBUG]	Check product language entry
2023-10-13	13:21:47	3253	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862745
2023-10-13	13:21:47	3253	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:47	3253	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000136920' AND `virtuemart_product_id` != 1862745
2023-10-13	13:21:47	3253	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:47	3253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862745, '1000000136920')
2023-10-13	13:21:47	3253	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:47	3253	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-maxima-suspension-oil-plush-3wt-1-liter-bottle---rear-shock-charger-damper-unique-all' AND `virtuemart_product_id` != 1862745
2023-10-13	13:21:47	3253	[DEBUG]	Query for ProductLang
2023-10-13	13:21:47	3253	[DEBUG]	Executed store
2023-10-13	13:21:47	3253	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ROCK SHOK MAXIMA SUSPENSION OIL PLUSH, 3WT 1 LITER BOTTLE - REAR SHOCK/CHARGER DAMPER / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rock-shok-maxima-suspension-oil-plush-3wt-1-liter-bottle---rear-shock-charger-damper-unique-all' WHERE `virtuemart_product_id` = '1862745'
2023-10-13	13:21:47	3253	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36143__maxima_suspension_oil_plush,_3wt_1_liter_bottle_-_rear_shock-charger_damper.jpg
2023-10-13	13:21:47	3253	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:47	3253	[DEBUG]	Process image file
2023-10-13	13:21:47	3253	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:47	3253	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:47	3253	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36143__maxima_suspension_oil_plush,_3wt_1_liter_bottle_-_rear_shock-charger_damper.jpg
2023-10-13	13:21:47	3253	[DEBUG]	Full name target: bcprisme/36143__maxima_suspension_oil_plush,_3wt_1_liter_bottle_-_rear_shock-charger_damper.jpg
2023-10-13	13:21:48	3253	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:48	3253	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36143__maxima_suspension_oil_plush,_3wt_1_liter_bottle_-_rear_shock-charger_damper.jpg'
2023-10-13	13:21:48	3253	[DEBUG]	Query for Media
2023-10-13	13:21:48	3253	[DEBUG]	Executed store
2023-10-13	13:21:48	3253	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36143__maxima_suspension_oil_plush,_3wt_1_liter_bottle_-_rear_shock-charger_damper.jpg',`file_url_thumb`='bcprisme/36143__maxima_suspension_oil_plush,_3wt_1_liter_bottle_-_rear_shock-charger_damper.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '466744'
2023-10-13	13:21:48	3253	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:48	3253	[DEBUG]	Executed store
2023-10-13	13:21:48	3253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862745','466744','1')
2023-10-13	13:21:48	3253	[DEBUG]	Store product image relation
2023-10-13	13:21:48	3253	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:48	3253	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862745 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:48	3253	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:48	3253	[DEBUG]	Executed store
2023-10-13	13:21:48	3253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862745','0','25.9052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:48	3253	[DEBUG]	Checking manufacturer
2023-10-13	13:21:48	3253	[DEBUG]	Load a row
2023-10-13	13:21:48	3253	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:48	3253	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:21:48	3253	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:48	3253	[DEBUG]	Executed store
2023-10-13	13:21:48	3253	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411920883369' WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:21:48	3253	[DEBUG]	Manufacturer exists
2023-10-13	13:21:48	3253	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 36
2023-10-13	13:21:48	3253	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:48	3253	[DEBUG]	Executed store
2023-10-13	13:21:48	3253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862745','36')
2023-10-13	13:21:48	3253	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:48	3253	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:48	3253	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862745 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:48	3253	[DEBUG]	Store custom available field
2023-10-13	13:21:48	3253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862745,3,'',1)
2023-10-13	13:21:48	3253	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:48	3253	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:21:48	3253	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862745 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:48	3253	[DEBUG]	Store custom available field
2023-10-13	13:21:48	3253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862745,6,'All',3)
2023-10-13	13:21:48	3253	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:48	3253	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:48	3253	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862744
2023-10-13	13:21:48	3253	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:48	3253	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862744\":[1862744,8,1,\"choisir la taille\"],\"1862745\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862744
2023-10-13	13:21:48	3253	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:48	3253	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862745
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:48	3254	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field taille
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:48	3254	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:48	3254	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:48	3254	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:48	3254	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:48	3254	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:48	3254	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field published
2023-10-13	13:21:48	3254	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:48	3254	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field override
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:48	3254	[DEBUG]	Use field value for field slug
2023-10-13	13:21:48	3254	[DEBUG]	Process line 3254
2023-10-13	13:21:48	3254	[DEBUG]	Load a row
2023-10-13	13:21:48	3254	[DEBUG]	Processing item: A_7871_208
2023-10-13	13:21:48	3254	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:48	3254	[DEBUG]	Processing product tax
2023-10-13	13:21:48	3254	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:48	3254	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:48	3254	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:48	3254	[DEBUG]	Query for Product
2023-10-13	13:21:48	3254	[DEBUG]	Executed store
2023-10-13	13:21:48	3254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7871_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:48	3254	[DEBUG]	Check product language entry
2023-10-13	13:21:48	3254	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862746
2023-10-13	13:21:48	3254	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:48	3254	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7871_208' AND `virtuemart_product_id` != 1862746
2023-10-13	13:21:48	3254	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:48	3254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862746, 'A_7871_208')
2023-10-13	13:21:48	3254	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:48	3254	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-graisse-jaune-grease-2000-850-g-aucune' AND `virtuemart_product_id` != 1862746
2023-10-13	13:21:48	3254	[DEBUG]	Query for ProductLang
2023-10-13	13:21:48	3254	[DEBUG]	Executed store
2023-10-13	13:21:48	3254	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.55841',`product_name`='MOTOREX Graisse jaune Grease 2000  850 g / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-graisse-jaune-grease-2000-850-g-aucune' WHERE `virtuemart_product_id` = '1862746'
2023-10-13	13:21:48	3254	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55841_jpg.jpg
2023-10-13	13:21:48	3254	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:48	3254	[DEBUG]	Process image file
2023-10-13	13:21:48	3254	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:48	3254	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:48	3254	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55841_jpg.jpg
2023-10-13	13:21:48	3254	[DEBUG]	Full name target: bcprisme/51_55841_jpg.jpg
2023-10-13	13:21:49	3254	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:49	3254	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_55841_jpg.jpg'
2023-10-13	13:21:49	3254	[DEBUG]	Query for Media
2023-10-13	13:21:49	3254	[DEBUG]	Executed store
2023-10-13	13:21:49	3254	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_55841_jpg.jpg',`file_url_thumb`='bcprisme/51_55841_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '503936'
2023-10-13	13:21:49	3254	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:49	3254	[DEBUG]	Executed store
2023-10-13	13:21:49	3254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862746','503936','1')
2023-10-13	13:21:49	3254	[DEBUG]	Store product image relation
2023-10-13	13:21:49	3254	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:49	3254	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862746 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:49	3254	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:49	3254	[DEBUG]	Executed store
2023-10-13	13:21:49	3254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862746','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:49	3254	[DEBUG]	Checking manufacturer
2023-10-13	13:21:49	3254	[DEBUG]	Load a row
2023-10-13	13:21:49	3254	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:49	3254	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:49	3254	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:49	3254	[DEBUG]	Executed store
2023-10-13	13:21:49	3254	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:49	3254	[DEBUG]	Manufacturer exists
2023-10-13	13:21:49	3254	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:49	3254	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:49	3254	[DEBUG]	Executed store
2023-10-13	13:21:49	3254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862746','307')
2023-10-13	13:21:49	3254	[DEBUG]	Find the custom field ID
2023-10-13	13:21:49	3254	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:49	3254	[DEBUG]	No custom field ID found
2023-10-13	13:21:49	3254	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:49	3254	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:49	3254	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862746 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:49	3254	[DEBUG]	Store custom available field
2023-10-13	13:21:49	3254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862746,3,'0',1)
2023-10-13	13:21:49	3254	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:49	3254	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:49	3254	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862746 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:49	3254	[DEBUG]	Store custom available field
2023-10-13	13:21:49	3254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862746,6,'choisir la taille',3)
2023-10-13	13:21:49	3254	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:49	3254	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:49	3254	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:49	3254	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:49	3254	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862746 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:49	3254	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:49	3254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862746,8,1)
2023-10-13	13:21:49	3254	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:49	3254	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862746\":[1862746,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862746
2023-10-13	13:21:49	3254	[DEBUG]	Checking category
2023-10-13	13:21:49	3254	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:49	3254	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862746
2023-10-13	13:21:49	3254	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:49	3254	[DEBUG]	Executed store
2023-10-13	13:21:49	3254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862746','7371')
2023-10-13	13:21:49	3254	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:49	3254	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862746 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:49	3254	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:49	3254	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862746
2023-10-13	13:21:49	3255	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:49	3255	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:49	3255	[DEBUG]	Use field value for field taille
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:49	3255	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:49	3255	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:49	3255	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:49	3255	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:49	3255	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:49	3255	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:49	3255	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:49	3255	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:49	3255	[DEBUG]	Use field value for field published
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:49	3255	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field override
2023-10-13	13:21:49	3255	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:49	3255	[DEBUG]	Use field value for field slug
2023-10-13	13:21:49	3255	[DEBUG]	Process line 3255
2023-10-13	13:21:49	3255	[DEBUG]	Load a row
2023-10-13	13:21:49	3255	[DEBUG]	Processing item: 7611197143710
2023-10-13	13:21:49	3255	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:49	3255	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:49	3255	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7871_208'
2023-10-13	13:21:49	3255	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:49	3255	[DEBUG]	Processing product tax
2023-10-13	13:21:49	3255	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:49	3255	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:49	3255	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:49	3255	[DEBUG]	Query for Product
2023-10-13	13:21:49	3255	[DEBUG]	Executed store
2023-10-13	13:21:49	3255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862746','7611197143710','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:49	3255	[DEBUG]	No parent found
2023-10-13	13:21:49	3255	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862746 AND customfield_value = 'stockable'
2023-10-13	13:21:49	3255	[DEBUG]	Check product language entry
2023-10-13	13:21:49	3255	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862747
2023-10-13	13:21:49	3255	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:49	3255	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197143710' AND `virtuemart_product_id` != 1862747
2023-10-13	13:21:49	3255	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:49	3255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862747, '7611197143710')
2023-10-13	13:21:49	3255	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:49	3255	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-graisse-jaune-grease-2000-850-g-aucune-unitaire' AND `virtuemart_product_id` != 1862747
2023-10-13	13:21:49	3255	[DEBUG]	Query for ProductLang
2023-10-13	13:21:49	3255	[DEBUG]	Executed store
2023-10-13	13:21:49	3255	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Graisse jaune Grease 2000  850 g / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-graisse-jaune-grease-2000-850-g-aucune-unitaire' WHERE `virtuemart_product_id` = '1862747'
2023-10-13	13:21:49	3255	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55841_jpg.jpg
2023-10-13	13:21:49	3255	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:49	3255	[DEBUG]	Process image file
2023-10-13	13:21:49	3255	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:49	3255	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:49	3255	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55841_jpg.jpg
2023-10-13	13:21:49	3255	[DEBUG]	Full name target: bcprisme/51_55841_jpg.jpg
2023-10-13	13:21:50	3255	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:50	3255	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_55841_jpg.jpg'
2023-10-13	13:21:50	3255	[DEBUG]	Query for Media
2023-10-13	13:21:50	3255	[DEBUG]	Executed store
2023-10-13	13:21:50	3255	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_55841_jpg.jpg',`file_url_thumb`='bcprisme/51_55841_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '503936'
2023-10-13	13:21:50	3255	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:50	3255	[DEBUG]	Executed store
2023-10-13	13:21:50	3255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862747','503936','1')
2023-10-13	13:21:50	3255	[DEBUG]	Store product image relation
2023-10-13	13:21:50	3255	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:50	3255	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862747 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:50	3255	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:50	3255	[DEBUG]	Executed store
2023-10-13	13:21:50	3255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862747','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:50	3255	[DEBUG]	Checking manufacturer
2023-10-13	13:21:50	3255	[DEBUG]	Load a row
2023-10-13	13:21:50	3255	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:50	3255	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:50	3255	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:50	3255	[DEBUG]	Executed store
2023-10-13	13:21:50	3255	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:50	3255	[DEBUG]	Manufacturer exists
2023-10-13	13:21:50	3255	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:50	3255	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:50	3255	[DEBUG]	Executed store
2023-10-13	13:21:50	3255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862747','307')
2023-10-13	13:21:50	3255	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:50	3255	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:50	3255	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862747 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:50	3255	[DEBUG]	Store custom available field
2023-10-13	13:21:50	3255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862747,3,'',1)
2023-10-13	13:21:50	3255	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:50	3255	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:50	3255	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862747 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:50	3255	[DEBUG]	Store custom available field
2023-10-13	13:21:50	3255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862747,6,'Unitaire',3)
2023-10-13	13:21:50	3255	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:50	3255	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:50	3255	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862746
2023-10-13	13:21:50	3255	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:50	3255	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862746\":[1862746,8,1,\"choisir la taille\"],\"1862747\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862746
2023-10-13	13:21:50	3255	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:50	3255	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862747
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:50	3256	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field taille
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:50	3256	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:50	3256	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:50	3256	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:50	3256	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:50	3256	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:50	3256	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field published
2023-10-13	13:21:50	3256	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:50	3256	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field override
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:50	3256	[DEBUG]	Use field value for field slug
2023-10-13	13:21:50	3256	[DEBUG]	Process line 3256
2023-10-13	13:21:50	3256	[DEBUG]	Load a row
2023-10-13	13:21:50	3256	[DEBUG]	Processing item: A_8074_0
2023-10-13	13:21:50	3256	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:50	3256	[DEBUG]	Processing product tax
2023-10-13	13:21:50	3256	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:50	3256	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:50	3256	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:50	3256	[DEBUG]	Query for Product
2023-10-13	13:21:50	3256	[DEBUG]	Executed store
2023-10-13	13:21:50	3256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8074_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:50	3256	[DEBUG]	Check product language entry
2023-10-13	13:21:50	3256	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862748
2023-10-13	13:21:50	3256	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:50	3256	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8074_0' AND `virtuemart_product_id` != 1862748
2023-10-13	13:21:50	3256	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:50	3256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862748, 'A_8074_0')
2023-10-13	13:21:50	3256	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:50	3256	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-kit-nettoyage-sceau-bike-clean-kit-unique' AND `virtuemart_product_id` != 1862748
2023-10-13	13:21:50	3256	[DEBUG]	Query for ProductLang
2023-10-13	13:21:50	3256	[DEBUG]	Executed store
2023-10-13	13:21:50	3256	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.55843',`product_name`='MOTOREX Kit nettoyage sceau Bike Clean Kit / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-kit-nettoyage-sceau-bike-clean-kit-unique' WHERE `virtuemart_product_id` = '1862748'
2023-10-13	13:21:50	3256	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36587_motorex_bike_cleaning_kit_sceau.jpg
2023-10-13	13:21:50	3256	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:50	3256	[DEBUG]	Process image file
2023-10-13	13:21:50	3256	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:50	3256	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:50	3256	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36587_motorex_bike_cleaning_kit_sceau.jpg
2023-10-13	13:21:50	3256	[DEBUG]	Full name target: bcprisme/36587_motorex_bike_cleaning_kit_sceau.jpg
2023-10-13	13:21:51	3256	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:51	3256	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36587_motorex_bike_cleaning_kit_sceau.jpg'
2023-10-13	13:21:51	3256	[DEBUG]	Query for Media
2023-10-13	13:21:51	3256	[DEBUG]	Executed store
2023-10-13	13:21:51	3256	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36587_motorex_bike_cleaning_kit_sceau.jpg',`file_url_thumb`='bcprisme/36587_motorex_bike_cleaning_kit_sceau.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '647159'
2023-10-13	13:21:51	3256	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:51	3256	[DEBUG]	Executed store
2023-10-13	13:21:51	3256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862748','647159','1')
2023-10-13	13:21:51	3256	[DEBUG]	Store product image relation
2023-10-13	13:21:51	3256	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:51	3256	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862748 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:51	3256	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:51	3256	[DEBUG]	Executed store
2023-10-13	13:21:51	3256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862748','0','50.6035283194058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:51	3256	[DEBUG]	Checking manufacturer
2023-10-13	13:21:51	3256	[DEBUG]	Load a row
2023-10-13	13:21:51	3256	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:51	3256	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:51	3256	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:51	3256	[DEBUG]	Executed store
2023-10-13	13:21:51	3256	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:51	3256	[DEBUG]	Manufacturer exists
2023-10-13	13:21:51	3256	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:51	3256	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:51	3256	[DEBUG]	Executed store
2023-10-13	13:21:51	3256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862748','307')
2023-10-13	13:21:51	3256	[DEBUG]	Find the custom field ID
2023-10-13	13:21:51	3256	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:51	3256	[DEBUG]	No custom field ID found
2023-10-13	13:21:51	3256	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:51	3256	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:51	3256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862748 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:51	3256	[DEBUG]	Store custom available field
2023-10-13	13:21:51	3256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862748,3,'0',1)
2023-10-13	13:21:51	3256	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:51	3256	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:51	3256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862748 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:51	3256	[DEBUG]	Store custom available field
2023-10-13	13:21:51	3256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862748,6,'choisir la taille',3)
2023-10-13	13:21:51	3256	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:51	3256	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:51	3256	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:51	3256	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:51	3256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862748 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:51	3256	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:51	3256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862748,8,1)
2023-10-13	13:21:51	3256	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:51	3256	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862748\":[1862748,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862748
2023-10-13	13:21:51	3256	[DEBUG]	Checking category
2023-10-13	13:21:51	3256	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:51	3256	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862748
2023-10-13	13:21:51	3256	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:51	3256	[DEBUG]	Executed store
2023-10-13	13:21:51	3256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862748','7371')
2023-10-13	13:21:51	3256	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:51	3256	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862748 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:51	3256	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:51	3256	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862748
2023-10-13	13:21:51	3257	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:51	3257	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:51	3257	[DEBUG]	Use field value for field taille
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:51	3257	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:51	3257	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:51	3257	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:51	3257	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:51	3257	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:51	3257	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:51	3257	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:51	3257	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:51	3257	[DEBUG]	Use field value for field published
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:51	3257	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field override
2023-10-13	13:21:51	3257	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:51	3257	[DEBUG]	Use field value for field slug
2023-10-13	13:21:51	3257	[DEBUG]	Process line 3257
2023-10-13	13:21:51	3257	[DEBUG]	Load a row
2023-10-13	13:21:51	3257	[DEBUG]	Processing item: 7611197390190
2023-10-13	13:21:51	3257	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:51	3257	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:51	3257	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8074_0'
2023-10-13	13:21:51	3257	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:51	3257	[DEBUG]	Processing product tax
2023-10-13	13:21:51	3257	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:51	3257	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:51	3257	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:51	3257	[DEBUG]	Query for Product
2023-10-13	13:21:51	3257	[DEBUG]	Executed store
2023-10-13	13:21:51	3257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862748','7611197390190','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:51	3257	[DEBUG]	No parent found
2023-10-13	13:21:51	3257	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862748 AND customfield_value = 'stockable'
2023-10-13	13:21:51	3257	[DEBUG]	Check product language entry
2023-10-13	13:21:51	3257	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862749
2023-10-13	13:21:51	3257	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:51	3257	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197390190' AND `virtuemart_product_id` != 1862749
2023-10-13	13:21:51	3257	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:51	3257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862749, '7611197390190')
2023-10-13	13:21:51	3257	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:51	3257	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-kit-nettoyage-sceau-bike-clean-kit-unique-all' AND `virtuemart_product_id` != 1862749
2023-10-13	13:21:51	3257	[DEBUG]	Query for ProductLang
2023-10-13	13:21:51	3257	[DEBUG]	Executed store
2023-10-13	13:21:51	3257	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Kit nettoyage sceau Bike Clean Kit / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-kit-nettoyage-sceau-bike-clean-kit-unique-all' WHERE `virtuemart_product_id` = '1862749'
2023-10-13	13:21:51	3257	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36587_motorex_bike_cleaning_kit_sceau.jpg
2023-10-13	13:21:51	3257	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:51	3257	[DEBUG]	Process image file
2023-10-13	13:21:51	3257	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:51	3257	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:51	3257	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36587_motorex_bike_cleaning_kit_sceau.jpg
2023-10-13	13:21:51	3257	[DEBUG]	Full name target: bcprisme/36587_motorex_bike_cleaning_kit_sceau.jpg
2023-10-13	13:21:52	3257	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:52	3257	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36587_motorex_bike_cleaning_kit_sceau.jpg'
2023-10-13	13:21:52	3257	[DEBUG]	Query for Media
2023-10-13	13:21:52	3257	[DEBUG]	Executed store
2023-10-13	13:21:52	3257	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36587_motorex_bike_cleaning_kit_sceau.jpg',`file_url_thumb`='bcprisme/36587_motorex_bike_cleaning_kit_sceau.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '647159'
2023-10-13	13:21:52	3257	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:52	3257	[DEBUG]	Executed store
2023-10-13	13:21:52	3257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862749','647159','1')
2023-10-13	13:21:52	3257	[DEBUG]	Store product image relation
2023-10-13	13:21:52	3257	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:52	3257	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862749 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:52	3257	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:52	3257	[DEBUG]	Executed store
2023-10-13	13:21:52	3257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862749','0','50.6035283194058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:52	3257	[DEBUG]	Checking manufacturer
2023-10-13	13:21:52	3257	[DEBUG]	Load a row
2023-10-13	13:21:52	3257	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:52	3257	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:52	3257	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:52	3257	[DEBUG]	Executed store
2023-10-13	13:21:52	3257	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:52	3257	[DEBUG]	Manufacturer exists
2023-10-13	13:21:52	3257	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:52	3257	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:52	3257	[DEBUG]	Executed store
2023-10-13	13:21:52	3257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862749','307')
2023-10-13	13:21:52	3257	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:52	3257	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:52	3257	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862749 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:52	3257	[DEBUG]	Store custom available field
2023-10-13	13:21:52	3257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862749,3,'',1)
2023-10-13	13:21:52	3257	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:52	3257	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:21:52	3257	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862749 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:52	3257	[DEBUG]	Store custom available field
2023-10-13	13:21:52	3257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862749,6,'All',3)
2023-10-13	13:21:52	3257	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:52	3257	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:52	3257	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862748
2023-10-13	13:21:52	3257	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:52	3257	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862748\":[1862748,8,1,\"choisir la taille\"],\"1862749\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862748
2023-10-13	13:21:52	3257	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:52	3257	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862749
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:52	3258	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field taille
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:52	3258	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:52	3258	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:52	3258	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:52	3258	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:52	3258	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:52	3258	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field published
2023-10-13	13:21:52	3258	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:52	3258	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field override
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:52	3258	[DEBUG]	Use field value for field slug
2023-10-13	13:21:52	3258	[DEBUG]	Process line 3258
2023-10-13	13:21:52	3258	[DEBUG]	Load a row
2023-10-13	13:21:52	3258	[DEBUG]	Processing item: A_8810_208
2023-10-13	13:21:52	3258	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:52	3258	[DEBUG]	Processing product tax
2023-10-13	13:21:52	3258	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:52	3258	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:52	3258	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:52	3258	[DEBUG]	Query for Product
2023-10-13	13:21:52	3258	[DEBUG]	Executed store
2023-10-13	13:21:52	3258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8810_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:52	3258	[DEBUG]	Check product language entry
2023-10-13	13:21:52	3258	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862750
2023-10-13	13:21:52	3258	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:52	3258	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8810_208' AND `virtuemart_product_id` != 1862750
2023-10-13	13:21:52	3258	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:52	3258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862750, 'A_8810_208')
2023-10-13	13:21:52	3258	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:52	3258	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-nettoyant-spray-freins-disques-power-brake-clean-750-ml-aucune' AND `virtuemart_product_id` != 1862750
2023-10-13	13:21:52	3258	[DEBUG]	Query for ProductLang
2023-10-13	13:21:52	3258	[DEBUG]	Executed store
2023-10-13	13:21:52	3258	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.55851',`product_name`='MOTOREX Nettoyant spray freins disques Power Brake Clean 750 ml / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-nettoyant-spray-freins-disques-power-brake-clean-750-ml-aucune' WHERE `virtuemart_product_id` = '1862750'
2023-10-13	13:21:52	3258	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55851_jpg.jpg
2023-10-13	13:21:52	3258	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:52	3258	[DEBUG]	Process image file
2023-10-13	13:21:52	3258	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:52	3258	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:52	3258	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55851_jpg.jpg
2023-10-13	13:21:52	3258	[DEBUG]	Full name target: bcprisme/51_55851_jpg.jpg
2023-10-13	13:21:53	3258	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:53	3258	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_55851_jpg.jpg'
2023-10-13	13:21:53	3258	[DEBUG]	Query for Media
2023-10-13	13:21:53	3258	[DEBUG]	Executed store
2023-10-13	13:21:53	3258	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_55851_jpg.jpg',`file_url_thumb`='bcprisme/51_55851_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1091505'
2023-10-13	13:21:53	3258	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:53	3258	[DEBUG]	Executed store
2023-10-13	13:21:53	3258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862750','1091505','1')
2023-10-13	13:21:53	3258	[DEBUG]	Store product image relation
2023-10-13	13:21:53	3258	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:53	3258	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862750 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:53	3258	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:53	3258	[DEBUG]	Executed store
2023-10-13	13:21:53	3258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862750','0','19.405756731662','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:53	3258	[DEBUG]	Checking manufacturer
2023-10-13	13:21:53	3258	[DEBUG]	Load a row
2023-10-13	13:21:53	3258	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:53	3258	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:53	3258	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:53	3258	[DEBUG]	Executed store
2023-10-13	13:21:53	3258	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:53	3258	[DEBUG]	Manufacturer exists
2023-10-13	13:21:53	3258	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:53	3258	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:53	3258	[DEBUG]	Executed store
2023-10-13	13:21:53	3258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862750','307')
2023-10-13	13:21:53	3258	[DEBUG]	Find the custom field ID
2023-10-13	13:21:53	3258	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:53	3258	[DEBUG]	No custom field ID found
2023-10-13	13:21:53	3258	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:53	3258	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:53	3258	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862750 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:53	3258	[DEBUG]	Store custom available field
2023-10-13	13:21:53	3258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862750,3,'0',1)
2023-10-13	13:21:53	3258	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:53	3258	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:53	3258	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862750 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:53	3258	[DEBUG]	Store custom available field
2023-10-13	13:21:53	3258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862750,6,'choisir la taille',3)
2023-10-13	13:21:53	3258	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:53	3258	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:53	3258	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:53	3258	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:53	3258	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862750 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:53	3258	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:53	3258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862750,8,1)
2023-10-13	13:21:53	3258	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:53	3258	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862750\":[1862750,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862750
2023-10-13	13:21:53	3258	[DEBUG]	Checking category
2023-10-13	13:21:53	3258	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:53	3258	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862750
2023-10-13	13:21:53	3258	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:53	3258	[DEBUG]	Executed store
2023-10-13	13:21:53	3258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862750','7371')
2023-10-13	13:21:53	3258	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:53	3258	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862750 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:53	3258	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:53	3258	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862750
2023-10-13	13:21:53	3259	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:53	3259	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:53	3259	[DEBUG]	Use field value for field taille
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:53	3259	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:53	3259	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:53	3259	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:53	3259	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:53	3259	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:53	3259	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:53	3259	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:53	3259	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:53	3259	[DEBUG]	Use field value for field published
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:53	3259	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field override
2023-10-13	13:21:53	3259	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:53	3259	[DEBUG]	Use field value for field slug
2023-10-13	13:21:53	3259	[DEBUG]	Process line 3259
2023-10-13	13:21:53	3259	[DEBUG]	Load a row
2023-10-13	13:21:53	3259	[DEBUG]	Processing item: 7611197164067
2023-10-13	13:21:53	3259	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:53	3259	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:53	3259	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8810_208'
2023-10-13	13:21:53	3259	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:53	3259	[DEBUG]	Processing product tax
2023-10-13	13:21:53	3259	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:53	3259	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:53	3259	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:53	3259	[DEBUG]	Query for Product
2023-10-13	13:21:53	3259	[DEBUG]	Executed store
2023-10-13	13:21:53	3259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862750','7611197164067','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:53	3259	[DEBUG]	No parent found
2023-10-13	13:21:53	3259	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862750 AND customfield_value = 'stockable'
2023-10-13	13:21:53	3259	[DEBUG]	Check product language entry
2023-10-13	13:21:53	3259	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862751
2023-10-13	13:21:53	3259	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:53	3259	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197164067' AND `virtuemart_product_id` != 1862751
2023-10-13	13:21:53	3259	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:53	3259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862751, '7611197164067')
2023-10-13	13:21:53	3259	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:53	3259	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-nettoyant-spray-freins-disques-power-brake-clean-750-ml-aucune-unitaire' AND `virtuemart_product_id` != 1862751
2023-10-13	13:21:53	3259	[DEBUG]	Query for ProductLang
2023-10-13	13:21:53	3259	[DEBUG]	Executed store
2023-10-13	13:21:53	3259	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Nettoyant spray freins disques Power Brake Clean 750 ml / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-nettoyant-spray-freins-disques-power-brake-clean-750-ml-aucune-unitaire' WHERE `virtuemart_product_id` = '1862751'
2023-10-13	13:21:53	3259	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55851_jpg.jpg
2023-10-13	13:21:53	3259	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:53	3259	[DEBUG]	Process image file
2023-10-13	13:21:53	3259	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:53	3259	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:53	3259	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55851_jpg.jpg
2023-10-13	13:21:53	3259	[DEBUG]	Full name target: bcprisme/51_55851_jpg.jpg
2023-10-13	13:21:54	3259	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:54	3259	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_55851_jpg.jpg'
2023-10-13	13:21:54	3259	[DEBUG]	Query for Media
2023-10-13	13:21:54	3259	[DEBUG]	Executed store
2023-10-13	13:21:54	3259	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_55851_jpg.jpg',`file_url_thumb`='bcprisme/51_55851_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1091505'
2023-10-13	13:21:54	3259	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:54	3259	[DEBUG]	Executed store
2023-10-13	13:21:54	3259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862751','1091505','1')
2023-10-13	13:21:54	3259	[DEBUG]	Store product image relation
2023-10-13	13:21:54	3259	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:54	3259	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862751 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:54	3259	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:54	3259	[DEBUG]	Executed store
2023-10-13	13:21:54	3259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862751','0','19.405756731662','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:54	3259	[DEBUG]	Checking manufacturer
2023-10-13	13:21:54	3259	[DEBUG]	Load a row
2023-10-13	13:21:54	3259	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:54	3259	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:54	3259	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:54	3259	[DEBUG]	Executed store
2023-10-13	13:21:54	3259	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:54	3259	[DEBUG]	Manufacturer exists
2023-10-13	13:21:54	3259	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:54	3259	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:54	3259	[DEBUG]	Executed store
2023-10-13	13:21:54	3259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862751','307')
2023-10-13	13:21:54	3259	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:54	3259	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:54	3259	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862751 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:54	3259	[DEBUG]	Store custom available field
2023-10-13	13:21:54	3259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862751,3,'',1)
2023-10-13	13:21:54	3259	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:54	3259	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:54	3259	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862751 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:54	3259	[DEBUG]	Store custom available field
2023-10-13	13:21:54	3259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862751,6,'Unitaire',3)
2023-10-13	13:21:54	3259	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:54	3259	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:54	3259	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862750
2023-10-13	13:21:54	3259	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:54	3259	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862750\":[1862750,8,1,\"choisir la taille\"],\"1862751\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862750
2023-10-13	13:21:54	3259	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:54	3259	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862751
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:54	3260	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field taille
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:54	3260	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:54	3260	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:54	3260	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:54	3260	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:54	3260	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:54	3260	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:54	3260	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field published
2023-10-13	13:21:54	3260	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:54	3260	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field override
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:54	3260	[DEBUG]	Use field value for field slug
2023-10-13	13:21:54	3260	[DEBUG]	Process line 3260
2023-10-13	13:21:54	3260	[DEBUG]	Load a row
2023-10-13	13:21:54	3260	[DEBUG]	Processing item: A_9015_208
2023-10-13	13:21:54	3260	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:54	3260	[DEBUG]	Processing product tax
2023-10-13	13:21:54	3260	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:54	3260	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:54	3260	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:54	3260	[DEBUG]	Query for Product
2023-10-13	13:21:54	3260	[DEBUG]	Executed store
2023-10-13	13:21:54	3260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9015_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:54	3260	[DEBUG]	Check product language entry
2023-10-13	13:21:54	3260	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862752
2023-10-13	13:21:54	3260	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:54	3260	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9015_208' AND `virtuemart_product_id` != 1862752
2023-10-13	13:21:54	3260	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:54	3260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862752, 'A_9015_208')
2023-10-13	13:21:54	3260	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:54	3260	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-graisse-a-corps-de-roue-libre-50-g-pour-fh-7800-7801-m800-m805-aucune' AND `virtuemart_product_id` != 1862752
2023-10-13	13:21:54	3260	[DEBUG]	Query for ProductLang
2023-10-13	13:21:54	3260	[DEBUG]	Executed store
2023-10-13	13:21:54	3260	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 90.34258',`product_name`='SHIMANO Graisse à corps de roue libre 50 g pour FH-7800/7801/M800/M805 / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-graisse-a-corps-de-roue-libre-50-g-pour-fh-7800-7801-m800-m805-aucune' WHERE `virtuemart_product_id` = '1862752'
2023-10-13	13:21:54	3260	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/90_34258_.jpg has not been found.
2023-10-13	13:21:54	3260	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:54	3260	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862752 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:54	3260	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:54	3260	[DEBUG]	Executed store
2023-10-13	13:21:54	3260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862752','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:54	3260	[DEBUG]	Checking manufacturer
2023-10-13	13:21:54	3260	[DEBUG]	Load a row
2023-10-13	13:21:54	3260	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:54	3260	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:21:54	3260	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:54	3260	[DEBUG]	Executed store
2023-10-13	13:21:54	3260	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:21:54	3260	[DEBUG]	Manufacturer exists
2023-10-13	13:21:54	3260	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:21:54	3260	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:54	3260	[DEBUG]	Executed store
2023-10-13	13:21:54	3260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862752','26')
2023-10-13	13:21:54	3260	[DEBUG]	Find the custom field ID
2023-10-13	13:21:54	3260	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:54	3260	[DEBUG]	No custom field ID found
2023-10-13	13:21:54	3260	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:54	3260	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:54	3260	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862752 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:54	3260	[DEBUG]	Store custom available field
2023-10-13	13:21:54	3260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862752,3,'0',1)
2023-10-13	13:21:54	3260	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:54	3260	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:54	3260	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862752 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:54	3260	[DEBUG]	Store custom available field
2023-10-13	13:21:54	3260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862752,6,'choisir la taille',3)
2023-10-13	13:21:54	3260	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:54	3260	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:54	3260	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:54	3260	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:54	3260	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862752 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:54	3260	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:54	3260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862752,8,1)
2023-10-13	13:21:54	3260	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:54	3260	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862752\":[1862752,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862752
2023-10-13	13:21:54	3260	[DEBUG]	Checking category
2023-10-13	13:21:54	3260	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:54	3260	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862752
2023-10-13	13:21:54	3260	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:54	3260	[DEBUG]	Executed store
2023-10-13	13:21:54	3260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862752','7371')
2023-10-13	13:21:54	3260	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:54	3260	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862752 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:54	3260	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:54	3260	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862752
2023-10-13	13:21:54	3261	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:54	3261	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:54	3261	[DEBUG]	Use field value for field taille
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:54	3261	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:54	3261	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:54	3261	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:54	3261	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:54	3261	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:54	3261	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:54	3261	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:54	3261	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:54	3261	[DEBUG]	Use field value for field published
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:54	3261	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field override
2023-10-13	13:21:54	3261	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:54	3261	[DEBUG]	Use field value for field slug
2023-10-13	13:21:54	3261	[DEBUG]	Process line 3261
2023-10-13	13:21:54	3261	[DEBUG]	Load a row
2023-10-13	13:21:54	3261	[DEBUG]	Processing item: 4550170901127
2023-10-13	13:21:54	3261	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:54	3261	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:54	3261	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9015_208'
2023-10-13	13:21:54	3261	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:54	3261	[DEBUG]	Processing product tax
2023-10-13	13:21:54	3261	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:54	3261	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:54	3261	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:54	3261	[DEBUG]	Query for Product
2023-10-13	13:21:54	3261	[DEBUG]	Executed store
2023-10-13	13:21:54	3261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862752','4550170901127','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:54	3261	[DEBUG]	No parent found
2023-10-13	13:21:54	3261	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862752 AND customfield_value = 'stockable'
2023-10-13	13:21:54	3261	[DEBUG]	Check product language entry
2023-10-13	13:21:54	3261	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862753
2023-10-13	13:21:54	3261	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:54	3261	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170901127' AND `virtuemart_product_id` != 1862753
2023-10-13	13:21:54	3261	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:54	3261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862753, '4550170901127')
2023-10-13	13:21:54	3261	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:54	3261	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-graisse-a-corps-de-roue-libre-50-g-pour-fh-7800-7801-m800-m805-aucune-unitaire' AND `virtuemart_product_id` != 1862753
2023-10-13	13:21:54	3261	[DEBUG]	Query for ProductLang
2023-10-13	13:21:54	3261	[DEBUG]	Executed store
2023-10-13	13:21:54	3261	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Graisse à corps de roue libre 50 g pour FH-7800/7801/M800/M805 / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-graisse-a-corps-de-roue-libre-50-g-pour-fh-7800-7801-m800-m805-aucune-unitaire' WHERE `virtuemart_product_id` = '1862753'
2023-10-13	13:21:54	3261	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/90_34258_.jpg has not been found.
2023-10-13	13:21:54	3261	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:54	3261	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862753 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:54	3261	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:54	3261	[DEBUG]	Executed store
2023-10-13	13:21:54	3261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862753','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:54	3261	[DEBUG]	Checking manufacturer
2023-10-13	13:21:54	3261	[DEBUG]	Load a row
2023-10-13	13:21:54	3261	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:54	3261	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:21:54	3261	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:54	3261	[DEBUG]	Executed store
2023-10-13	13:21:54	3261	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:21:54	3261	[DEBUG]	Manufacturer exists
2023-10-13	13:21:54	3261	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:21:54	3261	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:54	3261	[DEBUG]	Executed store
2023-10-13	13:21:54	3261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862753','26')
2023-10-13	13:21:54	3261	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:54	3261	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:54	3261	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862753 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:54	3261	[DEBUG]	Store custom available field
2023-10-13	13:21:54	3261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862753,3,'',1)
2023-10-13	13:21:54	3261	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:54	3261	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:54	3261	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862753 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:54	3261	[DEBUG]	Store custom available field
2023-10-13	13:21:54	3261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862753,6,'Unitaire',3)
2023-10-13	13:21:54	3261	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:54	3261	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:54	3261	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862752
2023-10-13	13:21:54	3261	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:54	3261	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862752\":[1862752,8,1,\"choisir la taille\"],\"1862753\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862752
2023-10-13	13:21:54	3261	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:54	3261	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862753
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:54	3262	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field taille
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:54	3262	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:54	3262	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:54	3262	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:54	3262	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:54	3262	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:54	3262	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field published
2023-10-13	13:21:54	3262	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:54	3262	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field override
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:54	3262	[DEBUG]	Use field value for field slug
2023-10-13	13:21:54	3262	[DEBUG]	Process line 3262
2023-10-13	13:21:54	3262	[DEBUG]	Load a row
2023-10-13	13:21:54	3262	[DEBUG]	Processing item: A_9067_208
2023-10-13	13:21:54	3262	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:54	3262	[DEBUG]	Processing product tax
2023-10-13	13:21:54	3262	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:54	3262	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:54	3262	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:54	3262	[DEBUG]	Query for Product
2023-10-13	13:21:54	3262	[DEBUG]	Executed store
2023-10-13	13:21:54	3262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9067_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:54	3262	[DEBUG]	Check product language entry
2023-10-13	13:21:54	3262	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862754
2023-10-13	13:21:54	3262	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:54	3262	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9067_208' AND `virtuemart_product_id` != 1862754
2023-10-13	13:21:54	3262	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:54	3262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862754, 'A_9067_208')
2023-10-13	13:21:54	3262	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:54	3262	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-liquide-freins-fluid-dot-4-250-ml-aucune' AND `virtuemart_product_id` != 1862754
2023-10-13	13:21:54	3262	[DEBUG]	Query for ProductLang
2023-10-13	13:21:54	3262	[DEBUG]	Executed store
2023-10-13	13:21:54	3262	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.55858',`product_name`='MOTOREX Liquide freins Fluid DOT 4 250 ml / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-liquide-freins-fluid-dot-4-250-ml-aucune' WHERE `virtuemart_product_id` = '1862754'
2023-10-13	13:21:54	3262	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_5585.jpg
2023-10-13	13:21:54	3262	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:54	3262	[DEBUG]	Process image file
2023-10-13	13:21:54	3262	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:54	3262	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:54	3262	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_5585.jpg
2023-10-13	13:21:54	3262	[DEBUG]	Full name target: bcprisme/51_5585.jpg
2023-10-13	13:21:55	3262	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:55	3262	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_5585.jpg'
2023-10-13	13:21:55	3262	[DEBUG]	Query for Media
2023-10-13	13:21:55	3262	[DEBUG]	Executed store
2023-10-13	13:21:55	3262	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_5585.jpg',`file_url_thumb`='bcprisme/51_5585.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1256023'
2023-10-13	13:21:55	3262	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:55	3262	[DEBUG]	Executed store
2023-10-13	13:21:55	3262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862754','1256023','1')
2023-10-13	13:21:55	3262	[DEBUG]	Store product image relation
2023-10-13	13:21:55	3262	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:55	3262	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862754 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:55	3262	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:55	3262	[DEBUG]	Executed store
2023-10-13	13:21:55	3262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862754','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:55	3262	[DEBUG]	Checking manufacturer
2023-10-13	13:21:55	3262	[DEBUG]	Load a row
2023-10-13	13:21:55	3262	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:55	3262	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:55	3262	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:55	3262	[DEBUG]	Executed store
2023-10-13	13:21:55	3262	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:55	3262	[DEBUG]	Manufacturer exists
2023-10-13	13:21:55	3262	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:55	3262	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:55	3262	[DEBUG]	Executed store
2023-10-13	13:21:55	3262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862754','307')
2023-10-13	13:21:55	3262	[DEBUG]	Find the custom field ID
2023-10-13	13:21:55	3262	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:55	3262	[DEBUG]	No custom field ID found
2023-10-13	13:21:55	3262	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:55	3262	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:55	3262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862754 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:55	3262	[DEBUG]	Store custom available field
2023-10-13	13:21:55	3262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862754,3,'0',1)
2023-10-13	13:21:55	3262	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:55	3262	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:55	3262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862754 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:55	3262	[DEBUG]	Store custom available field
2023-10-13	13:21:55	3262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862754,6,'choisir la taille',3)
2023-10-13	13:21:55	3262	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:55	3262	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:55	3262	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:55	3262	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:55	3262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862754 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:55	3262	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:55	3262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862754,8,1)
2023-10-13	13:21:55	3262	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:55	3262	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862754\":[1862754,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862754
2023-10-13	13:21:55	3262	[DEBUG]	Checking category
2023-10-13	13:21:55	3262	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:55	3262	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862754
2023-10-13	13:21:55	3262	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:55	3262	[DEBUG]	Executed store
2023-10-13	13:21:55	3262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862754','7371')
2023-10-13	13:21:55	3262	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:55	3262	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862754 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:55	3262	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:55	3262	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862754
2023-10-13	13:21:55	3263	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:55	3263	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:55	3263	[DEBUG]	Use field value for field taille
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:55	3263	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:55	3263	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:55	3263	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:55	3263	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:55	3263	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:55	3263	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:55	3263	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:55	3263	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:55	3263	[DEBUG]	Use field value for field published
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:55	3263	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field override
2023-10-13	13:21:55	3263	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:55	3263	[DEBUG]	Use field value for field slug
2023-10-13	13:21:55	3263	[DEBUG]	Process line 3263
2023-10-13	13:21:55	3263	[DEBUG]	Load a row
2023-10-13	13:21:55	3263	[DEBUG]	Processing item: 7611197113584
2023-10-13	13:21:55	3263	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:55	3263	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:55	3263	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9067_208'
2023-10-13	13:21:55	3263	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:55	3263	[DEBUG]	Processing product tax
2023-10-13	13:21:55	3263	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:55	3263	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:55	3263	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:55	3263	[DEBUG]	Query for Product
2023-10-13	13:21:55	3263	[DEBUG]	Executed store
2023-10-13	13:21:55	3263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862754','7611197113584','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:55	3263	[DEBUG]	No parent found
2023-10-13	13:21:55	3263	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862754 AND customfield_value = 'stockable'
2023-10-13	13:21:55	3263	[DEBUG]	Check product language entry
2023-10-13	13:21:55	3263	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862755
2023-10-13	13:21:55	3263	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:55	3263	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197113584' AND `virtuemart_product_id` != 1862755
2023-10-13	13:21:55	3263	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:55	3263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862755, '7611197113584')
2023-10-13	13:21:55	3263	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:55	3263	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-liquide-freins-fluid-dot-4-250-ml-aucune-unitaire' AND `virtuemart_product_id` != 1862755
2023-10-13	13:21:55	3263	[DEBUG]	Query for ProductLang
2023-10-13	13:21:55	3263	[DEBUG]	Executed store
2023-10-13	13:21:55	3263	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Liquide freins Fluid DOT 4 250 ml / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-liquide-freins-fluid-dot-4-250-ml-aucune-unitaire' WHERE `virtuemart_product_id` = '1862755'
2023-10-13	13:21:55	3263	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_5585.jpg
2023-10-13	13:21:55	3263	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:55	3263	[DEBUG]	Process image file
2023-10-13	13:21:55	3263	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:55	3263	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:55	3263	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_5585.jpg
2023-10-13	13:21:55	3263	[DEBUG]	Full name target: bcprisme/51_5585.jpg
2023-10-13	13:21:56	3263	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:56	3263	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_5585.jpg'
2023-10-13	13:21:56	3263	[DEBUG]	Query for Media
2023-10-13	13:21:56	3263	[DEBUG]	Executed store
2023-10-13	13:21:56	3263	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_5585.jpg',`file_url_thumb`='bcprisme/51_5585.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1256023'
2023-10-13	13:21:56	3263	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:56	3263	[DEBUG]	Executed store
2023-10-13	13:21:56	3263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862755','1256023','1')
2023-10-13	13:21:56	3263	[DEBUG]	Store product image relation
2023-10-13	13:21:56	3263	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:56	3263	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862755 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:56	3263	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:56	3263	[DEBUG]	Executed store
2023-10-13	13:21:56	3263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862755','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:56	3263	[DEBUG]	Checking manufacturer
2023-10-13	13:21:56	3263	[DEBUG]	Load a row
2023-10-13	13:21:56	3263	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:56	3263	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:56	3263	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:56	3263	[DEBUG]	Executed store
2023-10-13	13:21:56	3263	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:56	3263	[DEBUG]	Manufacturer exists
2023-10-13	13:21:56	3263	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:56	3263	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:56	3263	[DEBUG]	Executed store
2023-10-13	13:21:56	3263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862755','307')
2023-10-13	13:21:56	3263	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:56	3263	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:56	3263	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862755 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:56	3263	[DEBUG]	Store custom available field
2023-10-13	13:21:56	3263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862755,3,'',1)
2023-10-13	13:21:56	3263	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:56	3263	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:56	3263	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862755 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:56	3263	[DEBUG]	Store custom available field
2023-10-13	13:21:56	3263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862755,6,'Unitaire',3)
2023-10-13	13:21:56	3263	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:56	3263	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:56	3263	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862754
2023-10-13	13:21:56	3263	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:56	3263	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862754\":[1862754,8,1,\"choisir la taille\"],\"1862755\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862754
2023-10-13	13:21:56	3263	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:56	3263	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862755
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:56	3264	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field taille
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:56	3264	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:56	3264	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:56	3264	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field product_weight
2023-10-13	13:21:56	3264	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:56	3264	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:56	3264	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field published
2023-10-13	13:21:56	3264	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:56	3264	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field override
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:56	3264	[DEBUG]	Use field value for field slug
2023-10-13	13:21:56	3264	[DEBUG]	Process line 3264
2023-10-13	13:21:56	3264	[DEBUG]	Load a row
2023-10-13	13:21:56	3264	[DEBUG]	Processing item: A_9493_227
2023-10-13	13:21:56	3264	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:56	3264	[DEBUG]	Processing product tax
2023-10-13	13:21:56	3264	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:56	3264	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:56	3264	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:56	3264	[DEBUG]	Query for Product
2023-10-13	13:21:56	3264	[DEBUG]	Executed store
2023-10-13	13:21:56	3264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9493_227','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:56	3264	[DEBUG]	Check product language entry
2023-10-13	13:21:56	3264	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862756
2023-10-13	13:21:56	3264	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:56	3264	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9493_227' AND `virtuemart_product_id` != 1862756
2023-10-13	13:21:56	3264	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:56	3264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862756, 'A_9493_227')
2023-10-13	13:21:56	3264	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:56	3264	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-chaines-chainlube-for-dry-conditions-motorex-gris-vert' AND `virtuemart_product_id` != 1862756
2023-10-13	13:21:56	3264	[DEBUG]	Query for ProductLang
2023-10-13	13:21:56	3264	[DEBUG]	Executed store
2023-10-13	13:21:56	3264	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 308984',`product_name`='MOTOREX Lubrifiant chaines Chainlube for dry conditions Motorex / GRIS-VERT',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-chaines-chainlube-for-dry-conditions-motorex-gris-vert' WHERE `virtuemart_product_id` = '1862756'
2023-10-13	13:21:56	3264	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55828.jpg
2023-10-13	13:21:56	3264	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:56	3264	[DEBUG]	Process image file
2023-10-13	13:21:56	3264	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:56	3264	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:56	3264	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55828.jpg
2023-10-13	13:21:56	3264	[DEBUG]	Full name target: bcprisme/51_55828.jpg
2023-10-13	13:21:57	3264	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:57	3264	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_55828.jpg'
2023-10-13	13:21:57	3264	[DEBUG]	Query for Media
2023-10-13	13:21:57	3264	[DEBUG]	Executed store
2023-10-13	13:21:57	3264	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_55828.jpg',`file_url_thumb`='bcprisme/51_55828.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1501833'
2023-10-13	13:21:57	3264	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:57	3264	[DEBUG]	Executed store
2023-10-13	13:21:57	3264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862756','1501833','1')
2023-10-13	13:21:57	3264	[DEBUG]	Store product image relation
2023-10-13	13:21:57	3264	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:57	3264	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862756 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:57	3264	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:57	3264	[DEBUG]	Executed store
2023-10-13	13:21:57	3264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862756','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:57	3264	[DEBUG]	Checking manufacturer
2023-10-13	13:21:57	3264	[DEBUG]	Load a row
2023-10-13	13:21:57	3264	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:57	3264	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:57	3264	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:57	3264	[DEBUG]	Executed store
2023-10-13	13:21:57	3264	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:57	3264	[DEBUG]	Manufacturer exists
2023-10-13	13:21:57	3264	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:57	3264	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:57	3264	[DEBUG]	Executed store
2023-10-13	13:21:57	3264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862756','307')
2023-10-13	13:21:57	3264	[DEBUG]	Find the custom field ID
2023-10-13	13:21:57	3264	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:57	3264	[DEBUG]	No custom field ID found
2023-10-13	13:21:57	3264	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:57	3264	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:57	3264	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862756 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:57	3264	[DEBUG]	Store custom available field
2023-10-13	13:21:57	3264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862756,3,'0',1)
2023-10-13	13:21:57	3264	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:57	3264	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:57	3264	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862756 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:57	3264	[DEBUG]	Store custom available field
2023-10-13	13:21:57	3264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862756,6,'choisir la taille',3)
2023-10-13	13:21:57	3264	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:57	3264	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:57	3264	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:57	3264	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:57	3264	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862756 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:57	3264	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:57	3264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862756,8,1)
2023-10-13	13:21:57	3264	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:57	3264	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862756\":[1862756,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862756
2023-10-13	13:21:57	3264	[DEBUG]	Checking category
2023-10-13	13:21:57	3264	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:57	3264	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862756
2023-10-13	13:21:57	3264	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:57	3264	[DEBUG]	Executed store
2023-10-13	13:21:57	3264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862756','7371')
2023-10-13	13:21:57	3264	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:57	3264	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862756 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:57	3264	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:57	3264	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862756
2023-10-13	13:21:57	3265	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:57	3265	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:57	3265	[DEBUG]	Use field value for field taille
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:21:57	3265	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field category_path
2023-10-13	13:21:57	3265	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:57	3265	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:57	3265	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:57	3265	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:21:57	3265	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:57	3265	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:57	3265	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:57	3265	[DEBUG]	Use field value for field published
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field custom_title
2023-10-13	13:21:57	3265	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field custom_param
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field override
2023-10-13	13:21:57	3265	[DEBUG]	Use default value for field public_price
2023-10-13	13:21:57	3265	[DEBUG]	Use field value for field slug
2023-10-13	13:21:57	3265	[DEBUG]	Process line 3265
2023-10-13	13:21:57	3265	[DEBUG]	Load a row
2023-10-13	13:21:57	3265	[DEBUG]	Processing item: 7611197137856
2023-10-13	13:21:57	3265	[DEBUG]	Looking for parent SKU
2023-10-13	13:21:57	3265	[DEBUG]	Checking product parent SKU
2023-10-13	13:21:57	3265	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9493_227'
2023-10-13	13:21:57	3265	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:57	3265	[DEBUG]	Processing product tax
2023-10-13	13:21:57	3265	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:57	3265	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:57	3265	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:57	3265	[DEBUG]	Query for Product
2023-10-13	13:21:57	3265	[DEBUG]	Executed store
2023-10-13	13:21:57	3265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862756','7611197137856','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:57	3265	[DEBUG]	No parent found
2023-10-13	13:21:57	3265	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862756 AND customfield_value = 'stockable'
2023-10-13	13:21:57	3265	[DEBUG]	Check product language entry
2023-10-13	13:21:57	3265	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862757
2023-10-13	13:21:57	3265	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:57	3265	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197137856' AND `virtuemart_product_id` != 1862757
2023-10-13	13:21:57	3265	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:57	3265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862757, '7611197137856')
2023-10-13	13:21:57	3265	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:57	3265	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-chaines-chainlube-for-dry-conditions-motorex-gris-vert-unitaire' AND `virtuemart_product_id` != 1862757
2023-10-13	13:21:57	3265	[DEBUG]	Query for ProductLang
2023-10-13	13:21:57	3265	[DEBUG]	Executed store
2023-10-13	13:21:57	3265	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Lubrifiant chaines Chainlube for dry conditions Motorex / GRIS-VERT (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-chaines-chainlube-for-dry-conditions-motorex-gris-vert-unitaire' WHERE `virtuemart_product_id` = '1862757'
2023-10-13	13:21:57	3265	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55828.jpg
2023-10-13	13:21:57	3265	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:57	3265	[DEBUG]	Process image file
2023-10-13	13:21:57	3265	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:21:57	3265	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:57	3265	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_55828.jpg
2023-10-13	13:21:57	3265	[DEBUG]	Full name target: bcprisme/51_55828.jpg
2023-10-13	13:21:58	3265	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:58	3265	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_55828.jpg'
2023-10-13	13:21:58	3265	[DEBUG]	Query for Media
2023-10-13	13:21:58	3265	[DEBUG]	Executed store
2023-10-13	13:21:58	3265	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_55828.jpg',`file_url_thumb`='bcprisme/51_55828.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1501833'
2023-10-13	13:21:58	3265	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:58	3265	[DEBUG]	Executed store
2023-10-13	13:21:58	3265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862757','1501833','1')
2023-10-13	13:21:58	3265	[DEBUG]	Store product image relation
2023-10-13	13:21:58	3265	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:58	3265	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862757 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:58	3265	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:58	3265	[DEBUG]	Executed store
2023-10-13	13:21:58	3265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862757','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:58	3265	[DEBUG]	Checking manufacturer
2023-10-13	13:21:58	3265	[DEBUG]	Load a row
2023-10-13	13:21:58	3265	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:58	3265	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:58	3265	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:58	3265	[DEBUG]	Executed store
2023-10-13	13:21:58	3265	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:58	3265	[DEBUG]	Manufacturer exists
2023-10-13	13:21:58	3265	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:58	3265	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:58	3265	[DEBUG]	Executed store
2023-10-13	13:21:58	3265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862757','307')
2023-10-13	13:21:58	3265	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:58	3265	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:21:58	3265	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862757 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:58	3265	[DEBUG]	Store custom available field
2023-10-13	13:21:58	3265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862757,3,'',1)
2023-10-13	13:21:58	3265	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:58	3265	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:21:58	3265	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862757 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:58	3265	[DEBUG]	Store custom available field
2023-10-13	13:21:58	3265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862757,6,'Unitaire',3)
2023-10-13	13:21:58	3265	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:58	3265	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:21:58	3265	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862756
2023-10-13	13:21:58	3265	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:58	3265	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862756\":[1862756,8,1,\"choisir la taille\"],\"1862757\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862756
2023-10-13	13:21:58	3265	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:58	3265	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862757
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:58	3266	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field taille
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field product_name
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field category_path
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field product_price
2023-10-13	13:21:58	3266	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field product_tax
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field file_url
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:21:58	3266	[DEBUG]	Use default value for field product_desc
2023-10-13	13:21:58	3266	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field product_availability
2023-10-13	13:21:58	3266	[DEBUG]	Use default value for field product_weight
2023-10-13	13:21:58	3266	[DEBUG]	Use default value for field product_unit
2023-10-13	13:21:58	3266	[DEBUG]	Use default value for field related_products
2023-10-13	13:21:58	3266	[DEBUG]	Use default value for field product_special
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field published
2023-10-13	13:21:58	3266	[DEBUG]	Use default value for field metadesc
2023-10-13	13:21:58	3266	[DEBUG]	Use default value for field metakey
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field custom_title
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field custom_value
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field custom_param
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field override
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field public_price
2023-10-13	13:21:58	3266	[DEBUG]	Use field value for field slug
2023-10-13	13:21:58	3266	[DEBUG]	Process line 3266
2023-10-13	13:21:58	3266	[DEBUG]	Load a row
2023-10-13	13:21:58	3266	[DEBUG]	Processing item: A_9499_208
2023-10-13	13:21:58	3266	[DEBUG]	Product tax: 7.7
2023-10-13	13:21:58	3266	[DEBUG]	Processing product tax
2023-10-13	13:21:58	3266	[DEBUG]	Check if calculation rule exists
2023-10-13	13:21:58	3266	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:21:58	3266	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:21:58	3266	[DEBUG]	Query for Product
2023-10-13	13:21:58	3266	[DEBUG]	Executed store
2023-10-13	13:21:58	3266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9499_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:21:58	3266	[DEBUG]	Check product language entry
2023-10-13	13:21:58	3266	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862758
2023-10-13	13:21:58	3266	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:58	3266	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9499_208' AND `virtuemart_product_id` != 1862758
2023-10-13	13:21:58	3266	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:21:58	3266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862758, 'A_9499_208')
2023-10-13	13:21:58	3266	[DEBUG]	Check if the product slug exists
2023-10-13	13:21:58	3266	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-nettoyant-vaporisateur-bike-clean-500-ml-aucune' AND `virtuemart_product_id` != 1862758
2023-10-13	13:21:58	3266	[DEBUG]	Query for ProductLang
2023-10-13	13:21:59	3266	[DEBUG]	Executed store
2023-10-13	13:21:59	3266	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.55825',`product_name`='MOTOREX Nettoyant Vaporisateur Bike Clean 500 ml / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-nettoyant-vaporisateur-bike-clean-500-ml-aucune' WHERE `virtuemart_product_id` = '1862758'
2023-10-13	13:21:59	3266	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_5582.jpg
2023-10-13	13:21:59	3266	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:59	3266	[DEBUG]	Process image file
2023-10-13	13:21:59	3266	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:21:59	3266	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:21:59	3266	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_5582.jpg
2023-10-13	13:21:59	3266	[DEBUG]	Full name target: bcprisme/51_5582.jpg
2023-10-13	13:21:59	3266	[DEBUG]	Checking if the file_url exists
2023-10-13	13:21:59	3266	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_5582.jpg'
2023-10-13	13:21:59	3266	[DEBUG]	Query for Media
2023-10-13	13:21:59	3266	[DEBUG]	Executed store
2023-10-13	13:21:59	3266	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_5582.jpg',`file_url_thumb`='bcprisme/51_5582.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1434813'
2023-10-13	13:21:59	3266	[DEBUG]	Query for ProductMedia
2023-10-13	13:21:59	3266	[DEBUG]	Executed store
2023-10-13	13:21:59	3266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862758','1434813','1')
2023-10-13	13:21:59	3266	[DEBUG]	Store product image relation
2023-10-13	13:21:59	3266	[DEBUG]	Finding a product_price_id
2023-10-13	13:21:59	3266	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862758 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:21:59	3266	[DEBUG]	Query for ProductPrice
2023-10-13	13:21:59	3266	[DEBUG]	Executed store
2023-10-13	13:21:59	3266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862758','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:21:59	3266	[DEBUG]	Checking manufacturer
2023-10-13	13:21:59	3266	[DEBUG]	Load a row
2023-10-13	13:21:59	3266	[DEBUG]	Manufacturer already exists
2023-10-13	13:21:59	3266	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:59	3266	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:21:59	3266	[DEBUG]	Executed store
2023-10-13	13:21:59	3266	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:21:59	3266	[DEBUG]	Manufacturer exists
2023-10-13	13:21:59	3266	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:21:59	3266	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:21:59	3266	[DEBUG]	Executed store
2023-10-13	13:21:59	3266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862758','307')
2023-10-13	13:21:59	3266	[DEBUG]	Find the custom field ID
2023-10-13	13:21:59	3266	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:21:59	3266	[DEBUG]	No custom field ID found
2023-10-13	13:21:59	3266	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:21:59	3266	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:21:59	3266	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862758 AND `virtuemart_custom_id` = 3
2023-10-13	13:21:59	3266	[DEBUG]	Store custom available field
2023-10-13	13:21:59	3266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862758,3,'0',1)
2023-10-13	13:21:59	3266	[DEBUG]	Processing custom available field: taille
2023-10-13	13:21:59	3266	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:21:59	3266	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862758 AND `virtuemart_custom_id` = 6
2023-10-13	13:21:59	3266	[DEBUG]	Store custom available field
2023-10-13	13:21:59	3266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862758,6,'choisir la taille',3)
2023-10-13	13:21:59	3266	[DEBUG]	Process multi-variant fields
2023-10-13	13:21:59	3266	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:21:59	3266	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:21:59	3266	[DEBUG]	Find the multi variant product entry
2023-10-13	13:21:59	3266	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862758 AND `virtuemart_custom_id` = 8
2023-10-13	13:21:59	3266	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:21:59	3266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862758,8,1)
2023-10-13	13:21:59	3266	[DEBUG]	Store the updated customfield_params
2023-10-13	13:21:59	3266	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862758\":[1862758,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862758
2023-10-13	13:21:59	3266	[DEBUG]	Checking category
2023-10-13	13:21:59	3266	[DEBUG]	Get the existing categories for the product
2023-10-13	13:21:59	3266	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862758
2023-10-13	13:21:59	3266	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:21:59	3266	[DEBUG]	Executed store
2023-10-13	13:21:59	3266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862758','7371')
2023-10-13	13:21:59	3266	[DEBUG]	Delete leftover product categories
2023-10-13	13:21:59	3266	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862758 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:21:59	3266	[DEBUG]	Update has fields after all processing
2023-10-13	13:21:59	3266	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862758
2023-10-13	13:21:59	3267	[DEBUG]	Use field value for field product_sku
2023-10-13	13:21:59	3267	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:21:59	3267	[DEBUG]	Use field value for field taille
2023-10-13	13:21:59	3267	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:21:59	3267	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:00	3267	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:00	3267	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:00	3267	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:00	3267	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:00	3267	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:00	3267	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:00	3267	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:00	3267	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:00	3267	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:00	3267	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:00	3267	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:00	3267	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:00	3267	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:00	3267	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:00	3267	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:00	3267	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:00	3267	[DEBUG]	Use field value for field published
2023-10-13	13:22:00	3267	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:00	3267	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:00	3267	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:00	3267	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:00	3267	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:00	3267	[DEBUG]	Use default value for field override
2023-10-13	13:22:00	3267	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:00	3267	[DEBUG]	Use field value for field slug
2023-10-13	13:22:00	3267	[DEBUG]	Process line 3267
2023-10-13	13:22:00	3267	[DEBUG]	Load a row
2023-10-13	13:22:00	3267	[DEBUG]	Processing item: 7611197115380
2023-10-13	13:22:00	3267	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:00	3267	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:00	3267	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9499_208'
2023-10-13	13:22:00	3267	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:00	3267	[DEBUG]	Processing product tax
2023-10-13	13:22:00	3267	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:00	3267	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:00	3267	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:00	3267	[DEBUG]	Query for Product
2023-10-13	13:22:00	3267	[DEBUG]	Executed store
2023-10-13	13:22:00	3267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862758','7611197115380','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:00	3267	[DEBUG]	No parent found
2023-10-13	13:22:00	3267	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862758 AND customfield_value = 'stockable'
2023-10-13	13:22:00	3267	[DEBUG]	Check product language entry
2023-10-13	13:22:00	3267	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862759
2023-10-13	13:22:00	3267	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:00	3267	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197115380' AND `virtuemart_product_id` != 1862759
2023-10-13	13:22:00	3267	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:00	3267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862759, '7611197115380')
2023-10-13	13:22:00	3267	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:00	3267	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-nettoyant-vaporisateur-bike-clean-500-ml-aucune-unitaire' AND `virtuemart_product_id` != 1862759
2023-10-13	13:22:00	3267	[DEBUG]	Query for ProductLang
2023-10-13	13:22:00	3267	[DEBUG]	Executed store
2023-10-13	13:22:00	3267	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Nettoyant Vaporisateur Bike Clean 500 ml / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-nettoyant-vaporisateur-bike-clean-500-ml-aucune-unitaire' WHERE `virtuemart_product_id` = '1862759'
2023-10-13	13:22:00	3267	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_5582.jpg
2023-10-13	13:22:00	3267	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:00	3267	[DEBUG]	Process image file
2023-10-13	13:22:00	3267	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:00	3267	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:00	3267	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_5582.jpg
2023-10-13	13:22:00	3267	[DEBUG]	Full name target: bcprisme/51_5582.jpg
2023-10-13	13:22:01	3267	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:01	3267	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_5582.jpg'
2023-10-13	13:22:01	3267	[DEBUG]	Query for Media
2023-10-13	13:22:01	3267	[DEBUG]	Executed store
2023-10-13	13:22:01	3267	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_5582.jpg',`file_url_thumb`='bcprisme/51_5582.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1434813'
2023-10-13	13:22:01	3267	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:01	3267	[DEBUG]	Executed store
2023-10-13	13:22:01	3267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862759','1434813','1')
2023-10-13	13:22:01	3267	[DEBUG]	Store product image relation
2023-10-13	13:22:01	3267	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:01	3267	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862759 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:01	3267	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:01	3267	[DEBUG]	Executed store
2023-10-13	13:22:01	3267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862759','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:01	3267	[DEBUG]	Checking manufacturer
2023-10-13	13:22:01	3267	[DEBUG]	Load a row
2023-10-13	13:22:01	3267	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:01	3267	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:01	3267	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:01	3267	[DEBUG]	Executed store
2023-10-13	13:22:01	3267	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:01	3267	[DEBUG]	Manufacturer exists
2023-10-13	13:22:01	3267	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:22:01	3267	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:01	3267	[DEBUG]	Executed store
2023-10-13	13:22:01	3267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862759','307')
2023-10-13	13:22:01	3267	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:01	3267	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:01	3267	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862759 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:01	3267	[DEBUG]	Store custom available field
2023-10-13	13:22:01	3267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862759,3,'',1)
2023-10-13	13:22:01	3267	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:01	3267	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:01	3267	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862759 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:01	3267	[DEBUG]	Store custom available field
2023-10-13	13:22:01	3267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862759,6,'Unitaire',3)
2023-10-13	13:22:01	3267	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:01	3267	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:01	3267	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862758
2023-10-13	13:22:01	3267	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:01	3267	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862758\":[1862758,8,1,\"choisir la taille\"],\"1862759\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862758
2023-10-13	13:22:01	3267	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:01	3267	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862759
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:01	3268	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field taille
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:01	3268	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:01	3268	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:01	3268	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:01	3268	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:01	3268	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:01	3268	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field published
2023-10-13	13:22:01	3268	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:01	3268	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field override
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:01	3268	[DEBUG]	Use field value for field slug
2023-10-13	13:22:01	3268	[DEBUG]	Process line 3268
2023-10-13	13:22:01	3268	[DEBUG]	Load a row
2023-10-13	13:22:01	3268	[DEBUG]	Processing item: A_9504_208
2023-10-13	13:22:01	3268	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:01	3268	[DEBUG]	Processing product tax
2023-10-13	13:22:01	3268	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:01	3268	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:01	3268	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:01	3268	[DEBUG]	Query for Product
2023-10-13	13:22:01	3268	[DEBUG]	Executed store
2023-10-13	13:22:01	3268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9504_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:01	3268	[DEBUG]	Check product language entry
2023-10-13	13:22:01	3268	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862760
2023-10-13	13:22:01	3268	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:01	3268	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9504_208' AND `virtuemart_product_id` != 1862760
2023-10-13	13:22:01	3268	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:01	3268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862760, 'A_9504_208')
2023-10-13	13:22:01	3268	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:01	3268	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-chaines-chainlube-allround-100-ml-aucune' AND `virtuemart_product_id` != 1862760
2023-10-13	13:22:01	3268	[DEBUG]	Query for ProductLang
2023-10-13	13:22:01	3268	[DEBUG]	Executed store
2023-10-13	13:22:01	3268	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.65191',`product_name`='MOTOREX Lubrifiant chaines Chainlube ALLROUND 100 ml / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-chaines-chainlube-allround-100-ml-aucune' WHERE `virtuemart_product_id` = '1862760'
2023-10-13	13:22:01	3268	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_6519.jpg
2023-10-13	13:22:01	3268	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:01	3268	[DEBUG]	Process image file
2023-10-13	13:22:01	3268	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:01	3268	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:01	3268	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_6519.jpg
2023-10-13	13:22:01	3268	[DEBUG]	Full name target: bcprisme/51_6519.jpg
2023-10-13	13:22:02	3268	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:02	3268	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_6519.jpg'
2023-10-13	13:22:02	3268	[DEBUG]	Query for Media
2023-10-13	13:22:02	3268	[DEBUG]	Executed store
2023-10-13	13:22:02	3268	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_6519.jpg',`file_url_thumb`='bcprisme/51_6519.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1501837'
2023-10-13	13:22:02	3268	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:02	3268	[DEBUG]	Executed store
2023-10-13	13:22:02	3268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862760','1501837','1')
2023-10-13	13:22:02	3268	[DEBUG]	Store product image relation
2023-10-13	13:22:02	3268	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:02	3268	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862760 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:02	3268	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:02	3268	[DEBUG]	Executed store
2023-10-13	13:22:02	3268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862760','0','10.677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:02	3268	[DEBUG]	Checking manufacturer
2023-10-13	13:22:02	3268	[DEBUG]	Load a row
2023-10-13	13:22:02	3268	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:02	3268	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:02	3268	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:02	3268	[DEBUG]	Executed store
2023-10-13	13:22:02	3268	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:02	3268	[DEBUG]	Manufacturer exists
2023-10-13	13:22:02	3268	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:22:02	3268	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:02	3268	[DEBUG]	Executed store
2023-10-13	13:22:02	3268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862760','307')
2023-10-13	13:22:02	3268	[DEBUG]	Find the custom field ID
2023-10-13	13:22:02	3268	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:02	3268	[DEBUG]	No custom field ID found
2023-10-13	13:22:02	3268	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:02	3268	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:22:02	3268	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862760 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:02	3268	[DEBUG]	Store custom available field
2023-10-13	13:22:02	3268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862760,3,'0',1)
2023-10-13	13:22:02	3268	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:02	3268	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:02	3268	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862760 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:02	3268	[DEBUG]	Store custom available field
2023-10-13	13:22:02	3268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862760,6,'choisir la taille',3)
2023-10-13	13:22:02	3268	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:02	3268	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:02	3268	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:02	3268	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:02	3268	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862760 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:02	3268	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:02	3268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862760,8,1)
2023-10-13	13:22:02	3268	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:02	3268	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862760\":[1862760,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862760
2023-10-13	13:22:02	3268	[DEBUG]	Checking category
2023-10-13	13:22:02	3268	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:02	3268	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862760
2023-10-13	13:22:02	3268	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:02	3268	[DEBUG]	Executed store
2023-10-13	13:22:02	3268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862760','7371')
2023-10-13	13:22:02	3268	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:02	3268	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862760 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:22:02	3268	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:02	3268	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862760
2023-10-13	13:22:02	3269	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:02	3269	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:02	3269	[DEBUG]	Use field value for field taille
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:02	3269	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:02	3269	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:02	3269	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:02	3269	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:02	3269	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:02	3269	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:02	3269	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:02	3269	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:02	3269	[DEBUG]	Use field value for field published
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:02	3269	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field override
2023-10-13	13:22:02	3269	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:02	3269	[DEBUG]	Use field value for field slug
2023-10-13	13:22:02	3269	[DEBUG]	Process line 3269
2023-10-13	13:22:02	3269	[DEBUG]	Load a row
2023-10-13	13:22:02	3269	[DEBUG]	Processing item: 7611197137979
2023-10-13	13:22:02	3269	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:02	3269	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:02	3269	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9504_208'
2023-10-13	13:22:02	3269	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:02	3269	[DEBUG]	Processing product tax
2023-10-13	13:22:02	3269	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:02	3269	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:02	3269	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:02	3269	[DEBUG]	Query for Product
2023-10-13	13:22:02	3269	[DEBUG]	Executed store
2023-10-13	13:22:02	3269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862760','7611197137979','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:02	3269	[DEBUG]	No parent found
2023-10-13	13:22:02	3269	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862760 AND customfield_value = 'stockable'
2023-10-13	13:22:02	3269	[DEBUG]	Check product language entry
2023-10-13	13:22:02	3269	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862761
2023-10-13	13:22:02	3269	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:02	3269	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197137979' AND `virtuemart_product_id` != 1862761
2023-10-13	13:22:02	3269	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:02	3269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862761, '7611197137979')
2023-10-13	13:22:02	3269	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:02	3269	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-chaines-chainlube-allround-100-ml-aucune-unitaire' AND `virtuemart_product_id` != 1862761
2023-10-13	13:22:02	3269	[DEBUG]	Query for ProductLang
2023-10-13	13:22:02	3269	[DEBUG]	Executed store
2023-10-13	13:22:02	3269	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Lubrifiant chaines Chainlube ALLROUND 100 ml / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-chaines-chainlube-allround-100-ml-aucune-unitaire' WHERE `virtuemart_product_id` = '1862761'
2023-10-13	13:22:02	3269	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_6519.jpg
2023-10-13	13:22:02	3269	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:02	3269	[DEBUG]	Process image file
2023-10-13	13:22:02	3269	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:02	3269	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:02	3269	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_6519.jpg
2023-10-13	13:22:02	3269	[DEBUG]	Full name target: bcprisme/51_6519.jpg
2023-10-13	13:22:03	3269	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:03	3269	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_6519.jpg'
2023-10-13	13:22:03	3269	[DEBUG]	Query for Media
2023-10-13	13:22:03	3269	[DEBUG]	Executed store
2023-10-13	13:22:03	3269	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_6519.jpg',`file_url_thumb`='bcprisme/51_6519.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1501837'
2023-10-13	13:22:03	3269	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:03	3269	[DEBUG]	Executed store
2023-10-13	13:22:03	3269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862761','1501837','1')
2023-10-13	13:22:03	3269	[DEBUG]	Store product image relation
2023-10-13	13:22:03	3269	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:03	3269	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862761 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:03	3269	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:03	3269	[DEBUG]	Executed store
2023-10-13	13:22:03	3269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862761','0','10.677808727948','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:03	3269	[DEBUG]	Checking manufacturer
2023-10-13	13:22:03	3269	[DEBUG]	Load a row
2023-10-13	13:22:03	3269	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:03	3269	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:03	3269	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:03	3269	[DEBUG]	Executed store
2023-10-13	13:22:03	3269	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:03	3269	[DEBUG]	Manufacturer exists
2023-10-13	13:22:03	3269	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:22:03	3269	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:03	3269	[DEBUG]	Executed store
2023-10-13	13:22:03	3269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862761','307')
2023-10-13	13:22:03	3269	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:03	3269	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:03	3269	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862761 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:03	3269	[DEBUG]	Store custom available field
2023-10-13	13:22:03	3269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862761,3,'',1)
2023-10-13	13:22:03	3269	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:03	3269	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:03	3269	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862761 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:03	3269	[DEBUG]	Store custom available field
2023-10-13	13:22:03	3269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862761,6,'Unitaire',3)
2023-10-13	13:22:03	3269	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:03	3269	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:03	3269	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862760
2023-10-13	13:22:03	3269	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:03	3269	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862760\":[1862760,8,1,\"choisir la taille\"],\"1862761\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862760
2023-10-13	13:22:03	3269	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:03	3269	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862761
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:03	3270	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field taille
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:03	3270	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:03	3270	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:03	3270	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:03	3270	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:03	3270	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:03	3270	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field published
2023-10-13	13:22:03	3270	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:03	3270	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field override
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:03	3270	[DEBUG]	Use field value for field slug
2023-10-13	13:22:03	3270	[DEBUG]	Process line 3270
2023-10-13	13:22:03	3270	[DEBUG]	Load a row
2023-10-13	13:22:03	3270	[DEBUG]	Processing item: A_9635_208
2023-10-13	13:22:03	3270	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:03	3270	[DEBUG]	Processing product tax
2023-10-13	13:22:03	3270	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:03	3270	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:03	3270	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:03	3270	[DEBUG]	Query for Product
2023-10-13	13:22:03	3270	[DEBUG]	Executed store
2023-10-13	13:22:03	3270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9635_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:03	3270	[DEBUG]	Check product language entry
2023-10-13	13:22:03	3270	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862762
2023-10-13	13:22:03	3270	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:03	3270	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9635_208' AND `virtuemart_product_id` != 1862762
2023-10-13	13:22:03	3270	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:03	3270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862762, 'A_9635_208')
2023-10-13	13:22:03	3270	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:03	3270	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-chaines-chainlube-ptfe-bouteile-100-ml-motorex-aucune' AND `virtuemart_product_id` != 1862762
2023-10-13	13:22:03	3270	[DEBUG]	Query for ProductLang
2023-10-13	13:22:03	3270	[DEBUG]	Executed store
2023-10-13	13:22:03	3270	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 51.85212',`product_name`='MOTOREX Lubrifiant chaines Chainlube PTFE bouteile 100 ml Motorex / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-chaines-chainlube-ptfe-bouteile-100-ml-motorex-aucune' WHERE `virtuemart_product_id` = '1862762'
2023-10-13	13:22:03	3270	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_8521.jpg
2023-10-13	13:22:03	3270	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:03	3270	[DEBUG]	Process image file
2023-10-13	13:22:03	3270	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:03	3270	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:03	3270	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_8521.jpg
2023-10-13	13:22:03	3270	[DEBUG]	Full name target: bcprisme/51_8521.jpg
2023-10-13	13:22:04	3270	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:04	3270	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_8521.jpg'
2023-10-13	13:22:04	3270	[DEBUG]	Query for Media
2023-10-13	13:22:04	3270	[DEBUG]	Executed store
2023-10-13	13:22:04	3270	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_8521.jpg',`file_url_thumb`='bcprisme/51_8521.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1501839'
2023-10-13	13:22:04	3270	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:04	3270	[DEBUG]	Executed store
2023-10-13	13:22:04	3270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862762','1501839','1')
2023-10-13	13:22:04	3270	[DEBUG]	Store product image relation
2023-10-13	13:22:04	3270	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:04	3270	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862762 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:04	3270	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:04	3270	[DEBUG]	Executed store
2023-10-13	13:22:04	3270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862762','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:04	3270	[DEBUG]	Checking manufacturer
2023-10-13	13:22:04	3270	[DEBUG]	Load a row
2023-10-13	13:22:04	3270	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:04	3270	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:04	3270	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:04	3270	[DEBUG]	Executed store
2023-10-13	13:22:04	3270	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:04	3270	[DEBUG]	Manufacturer exists
2023-10-13	13:22:04	3270	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:22:04	3270	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:04	3270	[DEBUG]	Executed store
2023-10-13	13:22:04	3270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862762','307')
2023-10-13	13:22:04	3270	[DEBUG]	Find the custom field ID
2023-10-13	13:22:04	3270	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:04	3270	[DEBUG]	No custom field ID found
2023-10-13	13:22:04	3270	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:04	3270	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:22:04	3270	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862762 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:04	3270	[DEBUG]	Store custom available field
2023-10-13	13:22:04	3270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862762,3,'0',1)
2023-10-13	13:22:04	3270	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:04	3270	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:04	3270	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862762 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:04	3270	[DEBUG]	Store custom available field
2023-10-13	13:22:04	3270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862762,6,'choisir la taille',3)
2023-10-13	13:22:04	3270	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:04	3270	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:04	3270	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:04	3270	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:04	3270	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862762 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:04	3270	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:04	3270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862762,8,1)
2023-10-13	13:22:04	3270	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:04	3270	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862762\":[1862762,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862762
2023-10-13	13:22:04	3270	[DEBUG]	Checking category
2023-10-13	13:22:04	3270	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:04	3270	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862762
2023-10-13	13:22:04	3270	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:04	3270	[DEBUG]	Executed store
2023-10-13	13:22:04	3270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862762','7371')
2023-10-13	13:22:04	3270	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:04	3270	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862762 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:22:04	3270	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:04	3270	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862762
2023-10-13	13:22:04	3271	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:04	3271	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:04	3271	[DEBUG]	Use field value for field taille
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:04	3271	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:04	3271	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:04	3271	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:04	3271	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:04	3271	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:04	3271	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:04	3271	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:04	3271	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:04	3271	[DEBUG]	Use field value for field published
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:04	3271	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field override
2023-10-13	13:22:04	3271	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:04	3271	[DEBUG]	Use field value for field slug
2023-10-13	13:22:04	3271	[DEBUG]	Process line 3271
2023-10-13	13:22:04	3271	[DEBUG]	Load a row
2023-10-13	13:22:04	3271	[DEBUG]	Processing item: 7611197000242
2023-10-13	13:22:04	3271	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:04	3271	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:04	3271	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9635_208'
2023-10-13	13:22:04	3271	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:04	3271	[DEBUG]	Processing product tax
2023-10-13	13:22:04	3271	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:04	3271	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:04	3271	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:04	3271	[DEBUG]	Query for Product
2023-10-13	13:22:04	3271	[DEBUG]	Executed store
2023-10-13	13:22:04	3271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862762','7611197000242','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:04	3271	[DEBUG]	No parent found
2023-10-13	13:22:04	3271	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862762 AND customfield_value = 'stockable'
2023-10-13	13:22:04	3271	[DEBUG]	Check product language entry
2023-10-13	13:22:04	3271	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862763
2023-10-13	13:22:04	3271	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:04	3271	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197000242' AND `virtuemart_product_id` != 1862763
2023-10-13	13:22:04	3271	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:04	3271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862763, '7611197000242')
2023-10-13	13:22:04	3271	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:04	3271	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-chaines-chainlube-ptfe-bouteile-100-ml-motorex-aucune-unitaire' AND `virtuemart_product_id` != 1862763
2023-10-13	13:22:04	3271	[DEBUG]	Query for ProductLang
2023-10-13	13:22:04	3271	[DEBUG]	Executed store
2023-10-13	13:22:04	3271	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Lubrifiant chaines Chainlube PTFE bouteile 100 ml Motorex / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-chaines-chainlube-ptfe-bouteile-100-ml-motorex-aucune-unitaire' WHERE `virtuemart_product_id` = '1862763'
2023-10-13	13:22:04	3271	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_8521.jpg
2023-10-13	13:22:04	3271	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:04	3271	[DEBUG]	Process image file
2023-10-13	13:22:04	3271	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:04	3271	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:04	3271	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/51_8521.jpg
2023-10-13	13:22:04	3271	[DEBUG]	Full name target: bcprisme/51_8521.jpg
2023-10-13	13:22:05	3271	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:05	3271	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/51_8521.jpg'
2023-10-13	13:22:05	3271	[DEBUG]	Query for Media
2023-10-13	13:22:05	3271	[DEBUG]	Executed store
2023-10-13	13:22:05	3271	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/51_8521.jpg',`file_url_thumb`='bcprisme/51_8521.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1501839'
2023-10-13	13:22:05	3271	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:05	3271	[DEBUG]	Executed store
2023-10-13	13:22:05	3271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862763','1501839','1')
2023-10-13	13:22:05	3271	[DEBUG]	Store product image relation
2023-10-13	13:22:05	3271	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:05	3271	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862763 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:05	3271	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:05	3271	[DEBUG]	Executed store
2023-10-13	13:22:05	3271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862763','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:05	3271	[DEBUG]	Checking manufacturer
2023-10-13	13:22:05	3271	[DEBUG]	Load a row
2023-10-13	13:22:05	3271	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:05	3271	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:05	3271	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:05	3271	[DEBUG]	Executed store
2023-10-13	13:22:05	3271	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:05	3271	[DEBUG]	Manufacturer exists
2023-10-13	13:22:05	3271	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:22:05	3271	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:05	3271	[DEBUG]	Executed store
2023-10-13	13:22:05	3271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862763','307')
2023-10-13	13:22:05	3271	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:05	3271	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:05	3271	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862763 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:05	3271	[DEBUG]	Store custom available field
2023-10-13	13:22:05	3271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862763,3,'',1)
2023-10-13	13:22:05	3271	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:05	3271	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:05	3271	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862763 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:05	3271	[DEBUG]	Store custom available field
2023-10-13	13:22:05	3271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862763,6,'Unitaire',3)
2023-10-13	13:22:05	3271	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:05	3271	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:05	3271	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862762
2023-10-13	13:22:05	3271	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:05	3271	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862762\":[1862762,8,1,\"choisir la taille\"],\"1862763\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862762
2023-10-13	13:22:05	3271	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:05	3271	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862763
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:05	3272	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field taille
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:05	3272	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:05	3272	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:05	3272	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:05	3272	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:05	3272	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:05	3272	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field published
2023-10-13	13:22:05	3272	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:05	3272	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field override
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:05	3272	[DEBUG]	Use field value for field slug
2023-10-13	13:22:05	3272	[DEBUG]	Process line 3272
2023-10-13	13:22:05	3272	[DEBUG]	Load a row
2023-10-13	13:22:05	3272	[DEBUG]	Processing item: A_9742_0
2023-10-13	13:22:05	3272	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:05	3272	[DEBUG]	Processing product tax
2023-10-13	13:22:05	3272	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:05	3272	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:05	3272	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:05	3272	[DEBUG]	Query for Product
2023-10-13	13:22:05	3272	[DEBUG]	Executed store
2023-10-13	13:22:05	3272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9742_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:05	3272	[DEBUG]	Check product language entry
2023-10-13	13:22:05	3272	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862764
2023-10-13	13:22:05	3272	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:05	3272	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9742_0' AND `virtuemart_product_id` != 1862764
2023-10-13	13:22:05	3272	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:05	3272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862764, 'A_9742_0')
2023-10-13	13:22:05	3272	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:05	3272	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-spray-chaines-amstutz-unique' AND `virtuemart_product_id` != 1862764
2023-10-13	13:22:05	3272	[DEBUG]	Query for ProductLang
2023-10-13	13:22:05	3272	[DEBUG]	Executed store
2023-10-13	13:22:05	3272	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Préconisation: Pour conditions sèchaes et poussiéreuses<br>Entièrement synthétique<br>Protège contre la poussière et les salissures<br>Lubrifie dérailleurs, axes libres<br>Diodégradable<br>Lubrifiant biodégradable entièrement synthétique à base d\'huile/cire. MOTOREX CHAINLUBE DRY pénètre rapidement, et forme une surface homogène qui protège la chaîne de la saleté et de la poussière. Ce lubrifiant offre une lubrification élevée avec une excellente protection contre la corrosion et l\'usure, il diminue la friction. Convient idéalement pour une utilisation en conditions sèches et poussiéreuses.<br>N° art fourn : spray amstutz',`product_name`='MOTOREX Spray chaines Amstutz / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-spray-chaines-amstutz-unique' WHERE `virtuemart_product_id` = '1862764'
2023-10-13	13:22:05	3272	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39171_spray_de_chaine_amstutz.jpg
2023-10-13	13:22:05	3272	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:22:05	3272	[DEBUG]	Process image file
2023-10-13	13:22:05	3272	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:22:05	3272	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:05	3272	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39171_spray_de_chaine_amstutz.jpg
2023-10-13	13:22:05	3272	[DEBUG]	Full name target: bcprisme/39171_spray_de_chaine_amstutz.jpg
2023-10-13	13:22:06	3272	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:06	3272	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39171_spray_de_chaine_amstutz.jpg'
2023-10-13	13:22:06	3272	[DEBUG]	Query for Media
2023-10-13	13:22:06	3272	[DEBUG]	Executed store
2023-10-13	13:22:06	3272	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39171_spray_de_chaine_amstutz.jpg',`file_url_thumb`='bcprisme/39171_spray_de_chaine_amstutz.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1587631'
2023-10-13	13:22:06	3272	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:06	3272	[DEBUG]	Executed store
2023-10-13	13:22:06	3272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862764','1587631','1')
2023-10-13	13:22:06	3272	[DEBUG]	Store product image relation
2023-10-13	13:22:06	3272	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:06	3272	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862764 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:06	3272	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:06	3272	[DEBUG]	Executed store
2023-10-13	13:22:06	3272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862764','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:06	3272	[DEBUG]	Checking manufacturer
2023-10-13	13:22:06	3272	[DEBUG]	Load a row
2023-10-13	13:22:06	3272	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:06	3272	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:06	3272	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:06	3272	[DEBUG]	Executed store
2023-10-13	13:22:06	3272	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:06	3272	[DEBUG]	Manufacturer exists
2023-10-13	13:22:06	3272	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:22:06	3272	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:06	3272	[DEBUG]	Executed store
2023-10-13	13:22:06	3272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862764','307')
2023-10-13	13:22:06	3272	[DEBUG]	Find the custom field ID
2023-10-13	13:22:06	3272	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:06	3272	[DEBUG]	No custom field ID found
2023-10-13	13:22:06	3272	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:06	3272	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:22:06	3272	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862764 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:06	3272	[DEBUG]	Store custom available field
2023-10-13	13:22:06	3272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862764,3,'0',1)
2023-10-13	13:22:06	3272	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:06	3272	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:06	3272	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862764 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:06	3272	[DEBUG]	Store custom available field
2023-10-13	13:22:06	3272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862764,6,'choisir la taille',3)
2023-10-13	13:22:06	3272	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:06	3272	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:06	3272	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:06	3272	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:06	3272	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862764 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:06	3272	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:06	3272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862764,8,1)
2023-10-13	13:22:06	3272	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:06	3272	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862764\":[1862764,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862764
2023-10-13	13:22:06	3272	[DEBUG]	Checking category
2023-10-13	13:22:06	3272	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:06	3272	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862764
2023-10-13	13:22:06	3272	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:06	3272	[DEBUG]	Executed store
2023-10-13	13:22:06	3272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862764','7371')
2023-10-13	13:22:06	3272	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:06	3272	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862764 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:22:06	3272	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:06	3272	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862764
2023-10-13	13:22:06	3273	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:06	3273	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:06	3273	[DEBUG]	Use field value for field taille
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:06	3273	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:06	3273	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:06	3273	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:06	3273	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:06	3273	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:06	3273	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:06	3273	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:06	3273	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:06	3273	[DEBUG]	Use field value for field published
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:06	3273	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field override
2023-10-13	13:22:06	3273	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:06	3273	[DEBUG]	Use field value for field slug
2023-10-13	13:22:06	3273	[DEBUG]	Process line 3273
2023-10-13	13:22:06	3273	[DEBUG]	Load a row
2023-10-13	13:22:06	3273	[DEBUG]	Processing item: 7612912610111
2023-10-13	13:22:06	3273	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:06	3273	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:06	3273	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9742_0'
2023-10-13	13:22:06	3273	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:06	3273	[DEBUG]	Processing product tax
2023-10-13	13:22:06	3273	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:06	3273	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:06	3273	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:06	3273	[DEBUG]	Query for Product
2023-10-13	13:22:06	3273	[DEBUG]	Executed store
2023-10-13	13:22:06	3273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862764','7612912610111','0','KG','M','','15','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:06	3273	[DEBUG]	No parent found
2023-10-13	13:22:06	3273	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862764 AND customfield_value = 'stockable'
2023-10-13	13:22:06	3273	[DEBUG]	Check product language entry
2023-10-13	13:22:06	3273	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862765
2023-10-13	13:22:06	3273	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:06	3273	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7612912610111' AND `virtuemart_product_id` != 1862765
2023-10-13	13:22:06	3273	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:06	3273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862765, '7612912610111')
2023-10-13	13:22:06	3273	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:06	3273	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-spray-chaines-amstutz-unique-all' AND `virtuemart_product_id` != 1862765
2023-10-13	13:22:06	3273	[DEBUG]	Query for ProductLang
2023-10-13	13:22:06	3273	[DEBUG]	Executed store
2023-10-13	13:22:06	3273	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Spray chaines Amstutz / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-spray-chaines-amstutz-unique-all' WHERE `virtuemart_product_id` = '1862765'
2023-10-13	13:22:06	3273	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39171_spray_de_chaine_amstutz.jpg
2023-10-13	13:22:06	3273	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:22:06	3273	[DEBUG]	Process image file
2023-10-13	13:22:06	3273	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:22:06	3273	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:06	3273	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39171_spray_de_chaine_amstutz.jpg
2023-10-13	13:22:06	3273	[DEBUG]	Full name target: bcprisme/39171_spray_de_chaine_amstutz.jpg
2023-10-13	13:22:07	3273	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:07	3273	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39171_spray_de_chaine_amstutz.jpg'
2023-10-13	13:22:07	3273	[DEBUG]	Query for Media
2023-10-13	13:22:07	3273	[DEBUG]	Executed store
2023-10-13	13:22:07	3273	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39171_spray_de_chaine_amstutz.jpg',`file_url_thumb`='bcprisme/39171_spray_de_chaine_amstutz.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1587631'
2023-10-13	13:22:07	3273	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:07	3273	[DEBUG]	Executed store
2023-10-13	13:22:07	3273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862765','1587631','1')
2023-10-13	13:22:07	3273	[DEBUG]	Store product image relation
2023-10-13	13:22:07	3273	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:07	3273	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862765 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:07	3273	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:07	3273	[DEBUG]	Executed store
2023-10-13	13:22:07	3273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862765','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:07	3273	[DEBUG]	Checking manufacturer
2023-10-13	13:22:07	3273	[DEBUG]	Load a row
2023-10-13	13:22:07	3273	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:07	3273	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:07	3273	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:07	3273	[DEBUG]	Executed store
2023-10-13	13:22:07	3273	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:07	3273	[DEBUG]	Manufacturer exists
2023-10-13	13:22:07	3273	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:22:07	3273	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:07	3273	[DEBUG]	Executed store
2023-10-13	13:22:07	3273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862765','307')
2023-10-13	13:22:07	3273	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:07	3273	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:07	3273	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862765 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:07	3273	[DEBUG]	Store custom available field
2023-10-13	13:22:07	3273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862765,3,'',1)
2023-10-13	13:22:07	3273	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:07	3273	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:22:07	3273	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862765 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:07	3273	[DEBUG]	Store custom available field
2023-10-13	13:22:07	3273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862765,6,'All',3)
2023-10-13	13:22:07	3273	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:07	3273	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:07	3273	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862764
2023-10-13	13:22:07	3273	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:07	3273	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862764\":[1862764,8,1,\"choisir la taille\"],\"1862765\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862764
2023-10-13	13:22:07	3273	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:07	3273	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862765
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:07	3274	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field taille
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:07	3274	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:07	3274	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:07	3274	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:07	3274	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:07	3274	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:07	3274	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field published
2023-10-13	13:22:07	3274	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:07	3274	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field override
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:07	3274	[DEBUG]	Use field value for field slug
2023-10-13	13:22:07	3274	[DEBUG]	Process line 3274
2023-10-13	13:22:07	3274	[DEBUG]	Load a row
2023-10-13	13:22:07	3274	[DEBUG]	Processing item: A_9820_40
2023-10-13	13:22:07	3274	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:07	3274	[DEBUG]	Processing product tax
2023-10-13	13:22:07	3274	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:07	3274	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:07	3274	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:07	3274	[DEBUG]	Query for Product
2023-10-13	13:22:07	3274	[DEBUG]	Executed store
2023-10-13	13:22:07	3274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9820_40','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:07	3274	[DEBUG]	Check product language entry
2023-10-13	13:22:07	3274	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862766
2023-10-13	13:22:07	3274	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:07	3274	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9820_40' AND `virtuemart_product_id` != 1862766
2023-10-13	13:22:07	3274	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:07	3274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862766, 'A_9820_40')
2023-10-13	13:22:07	3274	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:07	3274	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-chaines-chainlube-for-dry-conditions-vert' AND `virtuemart_product_id` != 1862766
2023-10-13	13:22:07	3274	[DEBUG]	Query for ProductLang
2023-10-13	13:22:07	3274	[DEBUG]	Executed store
2023-10-13	13:22:07	3274	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 310215',`product_name`='MOTOREX Lubrifiant chaines Chainlube for dry conditions  / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-chaines-chainlube-for-dry-conditions-vert' WHERE `virtuemart_product_id` = '1862766'
2023-10-13	13:22:07	3274	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39289_chainelub_for_dry_conditions_motorex_.jpg
2023-10-13	13:22:07	3274	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:22:07	3274	[DEBUG]	Process image file
2023-10-13	13:22:07	3274	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:22:07	3274	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:07	3274	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39289_chainelub_for_dry_conditions_motorex_.jpg
2023-10-13	13:22:07	3274	[DEBUG]	Full name target: bcprisme/39289_chainelub_for_dry_conditions_motorex_.jpg
2023-10-13	13:22:08	3274	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:08	3274	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39289_chainelub_for_dry_conditions_motorex_.jpg'
2023-10-13	13:22:08	3274	[DEBUG]	Query for Media
2023-10-13	13:22:08	3274	[DEBUG]	Executed store
2023-10-13	13:22:08	3274	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39289_chainelub_for_dry_conditions_motorex_.jpg',`file_url_thumb`='bcprisme/39289_chainelub_for_dry_conditions_motorex_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1619825'
2023-10-13	13:22:08	3274	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:08	3274	[DEBUG]	Executed store
2023-10-13	13:22:08	3274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862766','1619825','1')
2023-10-13	13:22:08	3274	[DEBUG]	Store product image relation
2023-10-13	13:22:08	3274	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:08	3274	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862766 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:08	3274	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:08	3274	[DEBUG]	Executed store
2023-10-13	13:22:08	3274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862766','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:08	3274	[DEBUG]	Checking manufacturer
2023-10-13	13:22:08	3274	[DEBUG]	Load a row
2023-10-13	13:22:08	3274	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:08	3274	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:08	3274	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:08	3274	[DEBUG]	Executed store
2023-10-13	13:22:08	3274	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:08	3274	[DEBUG]	Manufacturer exists
2023-10-13	13:22:08	3274	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:22:08	3274	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:08	3274	[DEBUG]	Executed store
2023-10-13	13:22:08	3274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862766','307')
2023-10-13	13:22:08	3274	[DEBUG]	Find the custom field ID
2023-10-13	13:22:08	3274	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:08	3274	[DEBUG]	No custom field ID found
2023-10-13	13:22:08	3274	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:08	3274	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:22:08	3274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862766 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:08	3274	[DEBUG]	Store custom available field
2023-10-13	13:22:08	3274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862766,3,'0',1)
2023-10-13	13:22:08	3274	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:08	3274	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:08	3274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862766 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:08	3274	[DEBUG]	Store custom available field
2023-10-13	13:22:08	3274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862766,6,'choisir la taille',3)
2023-10-13	13:22:08	3274	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:08	3274	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:08	3274	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:08	3274	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:08	3274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862766 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:08	3274	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:08	3274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862766,8,1)
2023-10-13	13:22:08	3274	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:08	3274	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862766\":[1862766,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862766
2023-10-13	13:22:08	3274	[DEBUG]	Checking category
2023-10-13	13:22:08	3274	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:08	3274	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862766
2023-10-13	13:22:08	3274	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:08	3274	[DEBUG]	Executed store
2023-10-13	13:22:08	3274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862766','7371')
2023-10-13	13:22:08	3274	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:08	3274	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862766 AND `virtuemart_category_id` NOT IN (7371)
2023-10-13	13:22:08	3274	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:08	3274	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862766
2023-10-13	13:22:08	3275	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:08	3275	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:08	3275	[DEBUG]	Use field value for field taille
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:08	3275	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:08	3275	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:08	3275	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:08	3275	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:08	3275	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:08	3275	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:08	3275	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:08	3275	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:08	3275	[DEBUG]	Use field value for field published
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:08	3275	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field override
2023-10-13	13:22:08	3275	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:08	3275	[DEBUG]	Use field value for field slug
2023-10-13	13:22:08	3275	[DEBUG]	Process line 3275
2023-10-13	13:22:08	3275	[DEBUG]	Load a row
2023-10-13	13:22:08	3275	[DEBUG]	Processing item: 7611197000907
2023-10-13	13:22:08	3275	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:08	3275	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:08	3275	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9820_40'
2023-10-13	13:22:08	3275	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:08	3275	[DEBUG]	Processing product tax
2023-10-13	13:22:08	3275	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:08	3275	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:08	3275	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:08	3275	[DEBUG]	Query for Product
2023-10-13	13:22:08	3275	[DEBUG]	Executed store
2023-10-13	13:22:08	3275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862766','7611197000907','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:08	3275	[DEBUG]	No parent found
2023-10-13	13:22:08	3275	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862766 AND customfield_value = 'stockable'
2023-10-13	13:22:08	3275	[DEBUG]	Check product language entry
2023-10-13	13:22:08	3275	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862767
2023-10-13	13:22:08	3275	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:08	3275	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611197000907' AND `virtuemart_product_id` != 1862767
2023-10-13	13:22:08	3275	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:08	3275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862767, '7611197000907')
2023-10-13	13:22:08	3275	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:08	3275	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'motorex-lubrifiant-chaines-chainlube-for-dry-conditions-vert-unitaire' AND `virtuemart_product_id` != 1862767
2023-10-13	13:22:08	3275	[DEBUG]	Query for ProductLang
2023-10-13	13:22:08	3275	[DEBUG]	Executed store
2023-10-13	13:22:08	3275	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MOTOREX Lubrifiant chaines Chainlube for dry conditions  / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='motorex-lubrifiant-chaines-chainlube-for-dry-conditions-vert-unitaire' WHERE `virtuemart_product_id` = '1862767'
2023-10-13	13:22:08	3275	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39289_chainelub_for_dry_conditions_motorex_.jpg
2023-10-13	13:22:08	3275	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:22:08	3275	[DEBUG]	Process image file
2023-10-13	13:22:08	3275	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:22:08	3275	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:08	3275	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39289_chainelub_for_dry_conditions_motorex_.jpg
2023-10-13	13:22:08	3275	[DEBUG]	Full name target: bcprisme/39289_chainelub_for_dry_conditions_motorex_.jpg
2023-10-13	13:22:09	3275	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:09	3275	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39289_chainelub_for_dry_conditions_motorex_.jpg'
2023-10-13	13:22:09	3275	[DEBUG]	Query for Media
2023-10-13	13:22:09	3275	[DEBUG]	Executed store
2023-10-13	13:22:09	3275	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39289_chainelub_for_dry_conditions_motorex_.jpg',`file_url_thumb`='bcprisme/39289_chainelub_for_dry_conditions_motorex_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1619825'
2023-10-13	13:22:09	3275	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:09	3275	[DEBUG]	Executed store
2023-10-13	13:22:09	3275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862767','1619825','1')
2023-10-13	13:22:09	3275	[DEBUG]	Store product image relation
2023-10-13	13:22:09	3275	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:09	3275	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862767 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:09	3275	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:09	3275	[DEBUG]	Executed store
2023-10-13	13:22:09	3275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862767','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:09	3275	[DEBUG]	Checking manufacturer
2023-10-13	13:22:09	3275	[DEBUG]	Load a row
2023-10-13	13:22:09	3275	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:09	3275	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:09	3275	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:09	3275	[DEBUG]	Executed store
2023-10-13	13:22:09	3275	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='DUX',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='dux' WHERE `virtuemart_manufacturer_id` = '307'
2023-10-13	13:22:09	3275	[DEBUG]	Manufacturer exists
2023-10-13	13:22:09	3275	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 307
2023-10-13	13:22:09	3275	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:09	3275	[DEBUG]	Executed store
2023-10-13	13:22:09	3275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862767','307')
2023-10-13	13:22:09	3275	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:09	3275	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:09	3275	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862767 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:09	3275	[DEBUG]	Store custom available field
2023-10-13	13:22:09	3275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862767,3,'',1)
2023-10-13	13:22:09	3275	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:09	3275	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:09	3275	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862767 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:09	3275	[DEBUG]	Store custom available field
2023-10-13	13:22:09	3275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862767,6,'Unitaire',3)
2023-10-13	13:22:09	3275	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:09	3275	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:09	3275	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862766
2023-10-13	13:22:09	3275	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:09	3275	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862766\":[1862766,8,1,\"choisir la taille\"],\"1862767\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862766
2023-10-13	13:22:09	3275	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:09	3275	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862767
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:09	3276	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field taille
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:09	3276	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:09	3276	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:09	3276	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:09	3276	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:09	3276	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:09	3276	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field published
2023-10-13	13:22:09	3276	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:09	3276	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field override
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:09	3276	[DEBUG]	Use field value for field slug
2023-10-13	13:22:09	3276	[DEBUG]	Process line 3276
2023-10-13	13:22:09	3276	[DEBUG]	Load a row
2023-10-13	13:22:09	3276	[DEBUG]	Processing item: A_7602_1
2023-10-13	13:22:09	3276	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:09	3276	[DEBUG]	Processing product tax
2023-10-13	13:22:09	3276	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:09	3276	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:09	3276	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:09	3276	[DEBUG]	Query for Product
2023-10-13	13:22:09	3276	[DEBUG]	Executed store
2023-10-13	13:22:09	3276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7602_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:09	3276	[DEBUG]	Check product language entry
2023-10-13	13:22:09	3276	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862768
2023-10-13	13:22:09	3276	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:09	3276	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7602_1' AND `virtuemart_product_id` != 1862768
2023-10-13	13:22:09	3276	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:09	3276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862768, 'A_7602_1')
2023-10-13	13:22:09	3276	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:09	3276	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-cable-y-supernova-m99-tail-light-pour-m99-noir' AND `virtuemart_product_id` != 1862768
2023-10-13	13:22:09	3276	[DEBUG]	Query for ProductLang
2023-10-13	13:22:09	3276	[DEBUG]	Executed store
2023-10-13	13:22:09	3276	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.033',`product_name`='SUPERNOVA Câble Y Supernova M99 Tail Light pour M99 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-cable-y-supernova-m99-tail-light-pour-m99-noir' WHERE `virtuemart_product_id` = '1862768'
2023-10-13	13:22:09	3276	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35065_ceble_y_supernova_m99_tail_light_pour_m99.jpg
2023-10-13	13:22:09	3276	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:09	3276	[DEBUG]	Process image file
2023-10-13	13:22:09	3276	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:09	3276	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:09	3276	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35065_ceble_y_supernova_m99_tail_light_pour_m99.jpg
2023-10-13	13:22:09	3276	[DEBUG]	Full name target: bcprisme/35065_ceble_y_supernova_m99_tail_light_pour_m99.jpg
2023-10-13	13:22:10	3276	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:10	3276	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35065_ceble_y_supernova_m99_tail_light_pour_m99.jpg'
2023-10-13	13:22:10	3276	[DEBUG]	Query for Media
2023-10-13	13:22:10	3276	[DEBUG]	Executed store
2023-10-13	13:22:10	3276	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35065_ceble_y_supernova_m99_tail_light_pour_m99.jpg',`file_url_thumb`='bcprisme/35065_ceble_y_supernova_m99_tail_light_pour_m99.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337611'
2023-10-13	13:22:10	3276	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:10	3276	[DEBUG]	Executed store
2023-10-13	13:22:10	3276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862768','337611','1')
2023-10-13	13:22:10	3276	[DEBUG]	Store product image relation
2023-10-13	13:22:10	3276	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:10	3276	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862768 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:10	3276	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:10	3276	[DEBUG]	Executed store
2023-10-13	13:22:10	3276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862768','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:10	3276	[DEBUG]	Checking manufacturer
2023-10-13	13:22:10	3276	[DEBUG]	Load a row
2023-10-13	13:22:10	3276	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:10	3276	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:10	3276	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:10	3276	[DEBUG]	Executed store
2023-10-13	13:22:10	3276	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:10	3276	[DEBUG]	Manufacturer exists
2023-10-13	13:22:10	3276	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:10	3276	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:10	3276	[DEBUG]	Executed store
2023-10-13	13:22:10	3276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862768','242')
2023-10-13	13:22:10	3276	[DEBUG]	Find the custom field ID
2023-10-13	13:22:10	3276	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:10	3276	[DEBUG]	No custom field ID found
2023-10-13	13:22:10	3276	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:10	3276	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:22:10	3276	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862768 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:10	3276	[DEBUG]	Store custom available field
2023-10-13	13:22:10	3276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862768,3,'29.8169444444444',1)
2023-10-13	13:22:10	3276	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:10	3276	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:10	3276	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862768 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:10	3276	[DEBUG]	Store custom available field
2023-10-13	13:22:10	3276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862768,6,'choisir la taille',3)
2023-10-13	13:22:10	3276	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:10	3276	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:10	3276	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:10	3276	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:10	3276	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862768 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:10	3276	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:10	3276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862768,8,1)
2023-10-13	13:22:10	3276	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:10	3276	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862768\":[1862768,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862768
2023-10-13	13:22:10	3276	[DEBUG]	Checking category
2023-10-13	13:22:10	3276	[DEBUG]	Check if category path exists: LUMIERES - LAMPEN
2023-10-13	13:22:10	3276	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'LUMIERES - LAMPEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:22:10	3276	[DEBUG]	Check if category path exists: Accessoires Lumiière
2023-10-13	13:22:10	3276	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'Accessoires Lumiière' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7373
2023-10-13	13:22:10	3276	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:10	3276	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862768
2023-10-13	13:22:10	3276	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:10	3276	[DEBUG]	Executed store
2023-10-13	13:22:10	3276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862768','7374')
2023-10-13	13:22:10	3276	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:10	3276	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862768 AND `virtuemart_category_id` NOT IN (7374)
2023-10-13	13:22:10	3276	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:10	3276	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862768
2023-10-13	13:22:10	3277	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:10	3277	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:10	3277	[DEBUG]	Use field value for field taille
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:10	3277	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:10	3277	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:10	3277	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:10	3277	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:10	3277	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:10	3277	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:10	3277	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:10	3277	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:10	3277	[DEBUG]	Use field value for field published
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:10	3277	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field override
2023-10-13	13:22:10	3277	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:10	3277	[DEBUG]	Use field value for field slug
2023-10-13	13:22:10	3277	[DEBUG]	Process line 3277
2023-10-13	13:22:10	3277	[DEBUG]	Load a row
2023-10-13	13:22:10	3277	[DEBUG]	Processing item: 4260224793621
2023-10-13	13:22:10	3277	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:10	3277	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:10	3277	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7602_1'
2023-10-13	13:22:10	3277	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:10	3277	[DEBUG]	Processing product tax
2023-10-13	13:22:10	3277	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:10	3277	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:10	3277	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:10	3277	[DEBUG]	Query for Product
2023-10-13	13:22:10	3277	[DEBUG]	Executed store
2023-10-13	13:22:10	3277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862768','4260224793621','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:10	3277	[DEBUG]	No parent found
2023-10-13	13:22:10	3277	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862768 AND customfield_value = 'stockable'
2023-10-13	13:22:10	3277	[DEBUG]	Check product language entry
2023-10-13	13:22:10	3277	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862769
2023-10-13	13:22:10	3277	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:10	3277	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224793621' AND `virtuemart_product_id` != 1862769
2023-10-13	13:22:10	3277	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:10	3277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862769, '4260224793621')
2023-10-13	13:22:10	3277	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:10	3277	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-cable-y-supernova-m99-tail-light-pour-m99-noir-unitaire' AND `virtuemart_product_id` != 1862769
2023-10-13	13:22:10	3277	[DEBUG]	Query for ProductLang
2023-10-13	13:22:10	3277	[DEBUG]	Executed store
2023-10-13	13:22:10	3277	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Câble Y Supernova M99 Tail Light pour M99 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-cable-y-supernova-m99-tail-light-pour-m99-noir-unitaire' WHERE `virtuemart_product_id` = '1862769'
2023-10-13	13:22:10	3277	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35065_ceble_y_supernova_m99_tail_light_pour_m99.jpg
2023-10-13	13:22:10	3277	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:10	3277	[DEBUG]	Process image file
2023-10-13	13:22:10	3277	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:10	3277	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:10	3277	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35065_ceble_y_supernova_m99_tail_light_pour_m99.jpg
2023-10-13	13:22:10	3277	[DEBUG]	Full name target: bcprisme/35065_ceble_y_supernova_m99_tail_light_pour_m99.jpg
2023-10-13	13:22:11	3277	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:11	3277	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35065_ceble_y_supernova_m99_tail_light_pour_m99.jpg'
2023-10-13	13:22:11	3277	[DEBUG]	Query for Media
2023-10-13	13:22:11	3277	[DEBUG]	Executed store
2023-10-13	13:22:11	3277	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35065_ceble_y_supernova_m99_tail_light_pour_m99.jpg',`file_url_thumb`='bcprisme/35065_ceble_y_supernova_m99_tail_light_pour_m99.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337611'
2023-10-13	13:22:11	3277	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:11	3277	[DEBUG]	Executed store
2023-10-13	13:22:11	3277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862769','337611','1')
2023-10-13	13:22:11	3277	[DEBUG]	Store product image relation
2023-10-13	13:22:11	3277	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:11	3277	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862769 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:11	3277	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:11	3277	[DEBUG]	Executed store
2023-10-13	13:22:11	3277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862769','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:11	3277	[DEBUG]	Checking manufacturer
2023-10-13	13:22:11	3277	[DEBUG]	Load a row
2023-10-13	13:22:11	3277	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:11	3277	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:11	3277	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:11	3277	[DEBUG]	Executed store
2023-10-13	13:22:11	3277	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:11	3277	[DEBUG]	Manufacturer exists
2023-10-13	13:22:11	3277	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:11	3277	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:11	3277	[DEBUG]	Executed store
2023-10-13	13:22:11	3277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862769','242')
2023-10-13	13:22:11	3277	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:11	3277	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:11	3277	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862769 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:11	3277	[DEBUG]	Store custom available field
2023-10-13	13:22:11	3277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862769,3,'',1)
2023-10-13	13:22:11	3277	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:11	3277	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:11	3277	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862769 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:11	3277	[DEBUG]	Store custom available field
2023-10-13	13:22:11	3277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862769,6,'Unitaire',3)
2023-10-13	13:22:11	3277	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:11	3277	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:11	3277	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862768
2023-10-13	13:22:11	3277	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:11	3277	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862768\":[1862768,8,1,\"choisir la taille\"],\"1862769\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862768
2023-10-13	13:22:11	3277	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:11	3277	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862769
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:11	3278	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field taille
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:11	3278	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:11	3278	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:11	3278	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:11	3278	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:11	3278	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:11	3278	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field published
2023-10-13	13:22:11	3278	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:11	3278	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field override
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:11	3278	[DEBUG]	Use field value for field slug
2023-10-13	13:22:11	3278	[DEBUG]	Process line 3278
2023-10-13	13:22:11	3278	[DEBUG]	Load a row
2023-10-13	13:22:11	3278	[DEBUG]	Processing item: A_7603_1
2023-10-13	13:22:11	3278	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:11	3278	[DEBUG]	Processing product tax
2023-10-13	13:22:11	3278	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:11	3278	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:11	3278	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:11	3278	[DEBUG]	Query for Product
2023-10-13	13:22:11	3278	[DEBUG]	Executed store
2023-10-13	13:22:11	3278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7603_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:11	3278	[DEBUG]	Check product language entry
2023-10-13	13:22:11	3278	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862770
2023-10-13	13:22:11	3278	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:11	3278	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7603_1' AND `virtuemart_product_id` != 1862770
2023-10-13	13:22:11	3278	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:11	3278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862770, 'A_7603_1')
2023-10-13	13:22:11	3278	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:11	3278	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-cable-de-lumiere-pour-e-bike-yamaha-noir' AND `virtuemart_product_id` != 1862770
2023-10-13	13:22:11	3278	[DEBUG]	Query for ProductLang
2023-10-13	13:22:11	3278	[DEBUG]	Executed store
2023-10-13	13:22:11	3278	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.062',`product_name`='SUPERNOVA câble de lumière pour E-bike Yamaha / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-cable-de-lumiere-pour-e-bike-yamaha-noir' WHERE `virtuemart_product_id` = '1862770'
2023-10-13	13:22:11	3278	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35067_supernova_anschlusskabel_fur_yamaha.jpg
2023-10-13	13:22:11	3278	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:11	3278	[DEBUG]	Process image file
2023-10-13	13:22:11	3278	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:11	3278	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:11	3278	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35067_supernova_anschlusskabel_fur_yamaha.jpg
2023-10-13	13:22:11	3278	[DEBUG]	Full name target: bcprisme/35067_supernova_anschlusskabel_fur_yamaha.jpg
2023-10-13	13:22:12	3278	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:12	3278	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35067_supernova_anschlusskabel_fur_yamaha.jpg'
2023-10-13	13:22:12	3278	[DEBUG]	Query for Media
2023-10-13	13:22:12	3278	[DEBUG]	Executed store
2023-10-13	13:22:12	3278	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35067_supernova_anschlusskabel_fur_yamaha.jpg',`file_url_thumb`='bcprisme/35067_supernova_anschlusskabel_fur_yamaha.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337613'
2023-10-13	13:22:12	3278	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:12	3278	[DEBUG]	Executed store
2023-10-13	13:22:12	3278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862770','337613','1')
2023-10-13	13:22:12	3278	[DEBUG]	Store product image relation
2023-10-13	13:22:12	3278	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:12	3278	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862770 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:12	3278	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:12	3278	[DEBUG]	Executed store
2023-10-13	13:22:12	3278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862770','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:12	3278	[DEBUG]	Checking manufacturer
2023-10-13	13:22:12	3278	[DEBUG]	Load a row
2023-10-13	13:22:12	3278	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:12	3278	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:12	3278	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:12	3278	[DEBUG]	Executed store
2023-10-13	13:22:12	3278	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:12	3278	[DEBUG]	Manufacturer exists
2023-10-13	13:22:12	3278	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:12	3278	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:12	3278	[DEBUG]	Executed store
2023-10-13	13:22:12	3278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862770','242')
2023-10-13	13:22:12	3278	[DEBUG]	Find the custom field ID
2023-10-13	13:22:12	3278	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:12	3278	[DEBUG]	No custom field ID found
2023-10-13	13:22:12	3278	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:12	3278	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:22:12	3278	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862770 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:12	3278	[DEBUG]	Store custom available field
2023-10-13	13:22:12	3278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862770,3,'29.8169444444444',1)
2023-10-13	13:22:12	3278	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:12	3278	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:12	3278	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862770 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:12	3278	[DEBUG]	Store custom available field
2023-10-13	13:22:12	3278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862770,6,'choisir la taille',3)
2023-10-13	13:22:12	3278	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:12	3278	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:12	3278	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:12	3278	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:12	3278	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862770 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:12	3278	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:12	3278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862770,8,1)
2023-10-13	13:22:12	3278	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:12	3278	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862770\":[1862770,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862770
2023-10-13	13:22:12	3278	[DEBUG]	Checking category
2023-10-13	13:22:12	3278	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:12	3278	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862770
2023-10-13	13:22:12	3278	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:12	3278	[DEBUG]	Executed store
2023-10-13	13:22:12	3278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862770','7374')
2023-10-13	13:22:12	3278	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:12	3278	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862770 AND `virtuemart_category_id` NOT IN (7374)
2023-10-13	13:22:12	3278	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:12	3278	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862770
2023-10-13	13:22:12	3279	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:12	3279	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:12	3279	[DEBUG]	Use field value for field taille
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:12	3279	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:12	3279	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:12	3279	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:12	3279	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:12	3279	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:12	3279	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:12	3279	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:12	3279	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:12	3279	[DEBUG]	Use field value for field published
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:12	3279	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field override
2023-10-13	13:22:12	3279	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:12	3279	[DEBUG]	Use field value for field slug
2023-10-13	13:22:12	3279	[DEBUG]	Process line 3279
2023-10-13	13:22:12	3279	[DEBUG]	Load a row
2023-10-13	13:22:12	3279	[DEBUG]	Processing item: 4260224793508
2023-10-13	13:22:12	3279	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:12	3279	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:12	3279	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7603_1'
2023-10-13	13:22:12	3279	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:12	3279	[DEBUG]	Processing product tax
2023-10-13	13:22:12	3279	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:12	3279	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:12	3279	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:12	3279	[DEBUG]	Query for Product
2023-10-13	13:22:12	3279	[DEBUG]	Executed store
2023-10-13	13:22:12	3279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862770','4260224793508','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:12	3279	[DEBUG]	No parent found
2023-10-13	13:22:12	3279	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862770 AND customfield_value = 'stockable'
2023-10-13	13:22:12	3279	[DEBUG]	Check product language entry
2023-10-13	13:22:12	3279	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862771
2023-10-13	13:22:12	3279	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:12	3279	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224793508' AND `virtuemart_product_id` != 1862771
2023-10-13	13:22:12	3279	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:12	3279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862771, '4260224793508')
2023-10-13	13:22:12	3279	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:12	3279	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-cable-de-lumiere-pour-e-bike-yamaha-noir-unitaire' AND `virtuemart_product_id` != 1862771
2023-10-13	13:22:12	3279	[DEBUG]	Query for ProductLang
2023-10-13	13:22:12	3279	[DEBUG]	Executed store
2023-10-13	13:22:12	3279	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA câble de lumière pour E-bike Yamaha / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-cable-de-lumiere-pour-e-bike-yamaha-noir-unitaire' WHERE `virtuemart_product_id` = '1862771'
2023-10-13	13:22:12	3279	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35067_supernova_anschlusskabel_fur_yamaha.jpg
2023-10-13	13:22:12	3279	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:12	3279	[DEBUG]	Process image file
2023-10-13	13:22:12	3279	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:12	3279	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:12	3279	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35067_supernova_anschlusskabel_fur_yamaha.jpg
2023-10-13	13:22:12	3279	[DEBUG]	Full name target: bcprisme/35067_supernova_anschlusskabel_fur_yamaha.jpg
2023-10-13	13:22:13	3279	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:13	3279	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35067_supernova_anschlusskabel_fur_yamaha.jpg'
2023-10-13	13:22:13	3279	[DEBUG]	Query for Media
2023-10-13	13:22:13	3279	[DEBUG]	Executed store
2023-10-13	13:22:13	3279	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35067_supernova_anschlusskabel_fur_yamaha.jpg',`file_url_thumb`='bcprisme/35067_supernova_anschlusskabel_fur_yamaha.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337613'
2023-10-13	13:22:13	3279	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:13	3279	[DEBUG]	Executed store
2023-10-13	13:22:13	3279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862771','337613','1')
2023-10-13	13:22:13	3279	[DEBUG]	Store product image relation
2023-10-13	13:22:13	3279	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:13	3279	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862771 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:13	3279	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:13	3279	[DEBUG]	Executed store
2023-10-13	13:22:13	3279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862771','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:13	3279	[DEBUG]	Checking manufacturer
2023-10-13	13:22:13	3279	[DEBUG]	Load a row
2023-10-13	13:22:13	3279	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:13	3279	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:13	3279	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:13	3279	[DEBUG]	Executed store
2023-10-13	13:22:13	3279	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:13	3279	[DEBUG]	Manufacturer exists
2023-10-13	13:22:13	3279	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:13	3279	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:13	3279	[DEBUG]	Executed store
2023-10-13	13:22:13	3279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862771','242')
2023-10-13	13:22:13	3279	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:13	3279	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:13	3279	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862771 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:13	3279	[DEBUG]	Store custom available field
2023-10-13	13:22:13	3279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862771,3,'',1)
2023-10-13	13:22:13	3279	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:13	3279	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:13	3279	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862771 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:13	3279	[DEBUG]	Store custom available field
2023-10-13	13:22:13	3279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862771,6,'Unitaire',3)
2023-10-13	13:22:13	3279	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:13	3279	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:13	3279	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862770
2023-10-13	13:22:13	3279	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:13	3279	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862770\":[1862770,8,1,\"choisir la taille\"],\"1862771\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862770
2023-10-13	13:22:13	3279	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:13	3279	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862771
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:13	3280	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field taille
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:13	3280	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:13	3280	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:13	3280	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:13	3280	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:13	3280	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:13	3280	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field published
2023-10-13	13:22:13	3280	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:13	3280	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field override
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:13	3280	[DEBUG]	Use field value for field slug
2023-10-13	13:22:13	3280	[DEBUG]	Process line 3280
2023-10-13	13:22:13	3280	[DEBUG]	Load a row
2023-10-13	13:22:13	3280	[DEBUG]	Processing item: A_7604_1
2023-10-13	13:22:13	3280	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:13	3280	[DEBUG]	Processing product tax
2023-10-13	13:22:13	3280	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:13	3280	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:13	3280	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:13	3280	[DEBUG]	Query for Product
2023-10-13	13:22:13	3280	[DEBUG]	Executed store
2023-10-13	13:22:13	3280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7604_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:13	3280	[DEBUG]	Check product language entry
2023-10-13	13:22:13	3280	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862772
2023-10-13	13:22:13	3280	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:13	3280	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7604_1' AND `virtuemart_product_id` != 1862772
2023-10-13	13:22:13	3280	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:13	3280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862772, 'A_7604_1')
2023-10-13	13:22:13	3280	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:13	3280	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-guide-calbe-autocollant-4-pieces-noir' AND `virtuemart_product_id` != 1862772
2023-10-13	13:22:13	3280	[DEBUG]	Query for ProductLang
2023-10-13	13:22:13	3280	[DEBUG]	Executed store
2023-10-13	13:22:13	3280	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.090',`product_name`='SUPERNOVA guide-câlbe autocollant, 4 pièces / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-guide-calbe-autocollant-4-pieces-noir' WHERE `virtuemart_product_id` = '1862772'
2023-10-13	13:22:13	3280	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35069_supernova_kabelfuhrungs-kit.jpg
2023-10-13	13:22:13	3280	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:13	3280	[DEBUG]	Process image file
2023-10-13	13:22:13	3280	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:13	3280	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:13	3280	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35069_supernova_kabelfuhrungs-kit.jpg
2023-10-13	13:22:13	3280	[DEBUG]	Full name target: bcprisme/35069_supernova_kabelfuhrungs-kit.jpg
2023-10-13	13:22:14	3280	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:14	3280	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35069_supernova_kabelfuhrungs-kit.jpg'
2023-10-13	13:22:14	3280	[DEBUG]	Query for Media
2023-10-13	13:22:14	3280	[DEBUG]	Executed store
2023-10-13	13:22:14	3280	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35069_supernova_kabelfuhrungs-kit.jpg',`file_url_thumb`='bcprisme/35069_supernova_kabelfuhrungs-kit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337615'
2023-10-13	13:22:14	3280	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:14	3280	[DEBUG]	Executed store
2023-10-13	13:22:14	3280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862772','337615','1')
2023-10-13	13:22:14	3280	[DEBUG]	Store product image relation
2023-10-13	13:22:14	3280	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:14	3280	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862772 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:14	3280	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:14	3280	[DEBUG]	Executed store
2023-10-13	13:22:14	3280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862772','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:14	3280	[DEBUG]	Checking manufacturer
2023-10-13	13:22:14	3280	[DEBUG]	Load a row
2023-10-13	13:22:14	3280	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:14	3280	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:14	3280	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:14	3280	[DEBUG]	Executed store
2023-10-13	13:22:14	3280	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:14	3280	[DEBUG]	Manufacturer exists
2023-10-13	13:22:14	3280	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:14	3280	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:14	3280	[DEBUG]	Executed store
2023-10-13	13:22:14	3280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862772','242')
2023-10-13	13:22:14	3280	[DEBUG]	Find the custom field ID
2023-10-13	13:22:14	3280	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:14	3280	[DEBUG]	No custom field ID found
2023-10-13	13:22:14	3280	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:14	3280	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:22:14	3280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862772 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:14	3280	[DEBUG]	Store custom available field
2023-10-13	13:22:14	3280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862772,3,'29.8169444444444',1)
2023-10-13	13:22:14	3280	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:14	3280	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:14	3280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862772 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:14	3280	[DEBUG]	Store custom available field
2023-10-13	13:22:14	3280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862772,6,'choisir la taille',3)
2023-10-13	13:22:14	3280	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:14	3280	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:14	3280	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:14	3280	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:14	3280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862772 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:14	3280	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:14	3280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862772,8,1)
2023-10-13	13:22:14	3280	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:14	3280	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862772\":[1862772,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862772
2023-10-13	13:22:14	3280	[DEBUG]	Checking category
2023-10-13	13:22:14	3280	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:14	3280	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862772
2023-10-13	13:22:14	3280	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:14	3280	[DEBUG]	Executed store
2023-10-13	13:22:14	3280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862772','7374')
2023-10-13	13:22:14	3280	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:14	3280	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862772 AND `virtuemart_category_id` NOT IN (7374)
2023-10-13	13:22:14	3280	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:14	3280	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862772
2023-10-13	13:22:14	3281	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:14	3281	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:14	3281	[DEBUG]	Use field value for field taille
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:14	3281	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:14	3281	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:14	3281	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:14	3281	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:14	3281	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:14	3281	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:14	3281	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:14	3281	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:14	3281	[DEBUG]	Use field value for field published
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:14	3281	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field override
2023-10-13	13:22:14	3281	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:14	3281	[DEBUG]	Use field value for field slug
2023-10-13	13:22:14	3281	[DEBUG]	Process line 3281
2023-10-13	13:22:14	3281	[DEBUG]	Load a row
2023-10-13	13:22:14	3281	[DEBUG]	Processing item: 4260224790675
2023-10-13	13:22:14	3281	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:14	3281	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:14	3281	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7604_1'
2023-10-13	13:22:14	3281	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:14	3281	[DEBUG]	Processing product tax
2023-10-13	13:22:14	3281	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:14	3281	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:14	3281	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:14	3281	[DEBUG]	Query for Product
2023-10-13	13:22:14	3281	[DEBUG]	Executed store
2023-10-13	13:22:14	3281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862772','4260224790675','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:14	3281	[DEBUG]	No parent found
2023-10-13	13:22:14	3281	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862772 AND customfield_value = 'stockable'
2023-10-13	13:22:14	3281	[DEBUG]	Check product language entry
2023-10-13	13:22:14	3281	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862773
2023-10-13	13:22:14	3281	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:14	3281	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224790675' AND `virtuemart_product_id` != 1862773
2023-10-13	13:22:14	3281	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:14	3281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862773, '4260224790675')
2023-10-13	13:22:14	3281	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:14	3281	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-guide-calbe-autocollant-4-pieces-noir-unitaire' AND `virtuemart_product_id` != 1862773
2023-10-13	13:22:14	3281	[DEBUG]	Query for ProductLang
2023-10-13	13:22:14	3281	[DEBUG]	Executed store
2023-10-13	13:22:14	3281	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA guide-câlbe autocollant, 4 pièces / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-guide-calbe-autocollant-4-pieces-noir-unitaire' WHERE `virtuemart_product_id` = '1862773'
2023-10-13	13:22:14	3281	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35069_supernova_kabelfuhrungs-kit.jpg
2023-10-13	13:22:14	3281	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:14	3281	[DEBUG]	Process image file
2023-10-13	13:22:14	3281	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:14	3281	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:14	3281	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35069_supernova_kabelfuhrungs-kit.jpg
2023-10-13	13:22:14	3281	[DEBUG]	Full name target: bcprisme/35069_supernova_kabelfuhrungs-kit.jpg
2023-10-13	13:22:15	3281	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:15	3281	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35069_supernova_kabelfuhrungs-kit.jpg'
2023-10-13	13:22:15	3281	[DEBUG]	Query for Media
2023-10-13	13:22:15	3281	[DEBUG]	Executed store
2023-10-13	13:22:15	3281	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35069_supernova_kabelfuhrungs-kit.jpg',`file_url_thumb`='bcprisme/35069_supernova_kabelfuhrungs-kit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337615'
2023-10-13	13:22:15	3281	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:15	3281	[DEBUG]	Executed store
2023-10-13	13:22:15	3281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862773','337615','1')
2023-10-13	13:22:15	3281	[DEBUG]	Store product image relation
2023-10-13	13:22:15	3281	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:15	3281	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862773 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:15	3281	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:15	3281	[DEBUG]	Executed store
2023-10-13	13:22:15	3281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862773','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:15	3281	[DEBUG]	Checking manufacturer
2023-10-13	13:22:15	3281	[DEBUG]	Load a row
2023-10-13	13:22:15	3281	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:15	3281	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:15	3281	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:15	3281	[DEBUG]	Executed store
2023-10-13	13:22:15	3281	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:15	3281	[DEBUG]	Manufacturer exists
2023-10-13	13:22:15	3281	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:15	3281	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:15	3281	[DEBUG]	Executed store
2023-10-13	13:22:15	3281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862773','242')
2023-10-13	13:22:15	3281	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:15	3281	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:15	3281	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862773 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:15	3281	[DEBUG]	Store custom available field
2023-10-13	13:22:15	3281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862773,3,'',1)
2023-10-13	13:22:15	3281	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:15	3281	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:15	3281	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862773 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:15	3281	[DEBUG]	Store custom available field
2023-10-13	13:22:15	3281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862773,6,'Unitaire',3)
2023-10-13	13:22:15	3281	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:15	3281	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:15	3281	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862772
2023-10-13	13:22:15	3281	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:15	3281	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862772\":[1862772,8,1,\"choisir la taille\"],\"1862773\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862772
2023-10-13	13:22:15	3281	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:15	3281	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862773
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:15	3282	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field taille
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:15	3282	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:15	3282	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:15	3282	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:15	3282	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:15	3282	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:15	3282	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field published
2023-10-13	13:22:15	3282	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:15	3282	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field override
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:15	3282	[DEBUG]	Use field value for field slug
2023-10-13	13:22:15	3282	[DEBUG]	Process line 3282
2023-10-13	13:22:15	3282	[DEBUG]	Load a row
2023-10-13	13:22:15	3282	[DEBUG]	Processing item: A_7605_1
2023-10-13	13:22:15	3282	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:15	3282	[DEBUG]	Processing product tax
2023-10-13	13:22:15	3282	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:15	3282	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:15	3282	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:15	3282	[DEBUG]	Query for Product
2023-10-13	13:22:15	3282	[DEBUG]	Executed store
2023-10-13	13:22:15	3282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7605_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:15	3282	[DEBUG]	Check product language entry
2023-10-13	13:22:15	3282	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862774
2023-10-13	13:22:15	3282	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:15	3282	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7605_1' AND `virtuemart_product_id` != 1862774
2023-10-13	13:22:15	3282	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:15	3282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862774, 'A_7605_1')
2023-10-13	13:22:15	3282	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:15	3282	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-goldstecker-set-noir' AND `virtuemart_product_id` != 1862774
2023-10-13	13:22:15	3282	[DEBUG]	Query for ProductLang
2023-10-13	13:22:15	3282	[DEBUG]	Executed store
2023-10-13	13:22:15	3282	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.089',`product_name`='SUPERNOVA Goldstecker-Set / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-goldstecker-set-noir' WHERE `virtuemart_product_id` = '1862774'
2023-10-13	13:22:15	3282	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35070_supernova_goldstecker-set.jpg
2023-10-13	13:22:15	3282	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:15	3282	[DEBUG]	Process image file
2023-10-13	13:22:15	3282	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:15	3282	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:15	3282	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35070_supernova_goldstecker-set.jpg
2023-10-13	13:22:15	3282	[DEBUG]	Full name target: bcprisme/35070_supernova_goldstecker-set.jpg
2023-10-13	13:22:16	3282	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:16	3282	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35070_supernova_goldstecker-set.jpg'
2023-10-13	13:22:16	3282	[DEBUG]	Query for Media
2023-10-13	13:22:16	3282	[DEBUG]	Executed store
2023-10-13	13:22:16	3282	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35070_supernova_goldstecker-set.jpg',`file_url_thumb`='bcprisme/35070_supernova_goldstecker-set.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337617'
2023-10-13	13:22:16	3282	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:16	3282	[DEBUG]	Executed store
2023-10-13	13:22:16	3282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862774','337617','1')
2023-10-13	13:22:16	3282	[DEBUG]	Store product image relation
2023-10-13	13:22:16	3282	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:16	3282	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862774 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:16	3282	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:16	3282	[DEBUG]	Executed store
2023-10-13	13:22:16	3282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862774','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:16	3282	[DEBUG]	Checking manufacturer
2023-10-13	13:22:16	3282	[DEBUG]	Load a row
2023-10-13	13:22:16	3282	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:16	3282	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:16	3282	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:16	3282	[DEBUG]	Executed store
2023-10-13	13:22:16	3282	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:16	3282	[DEBUG]	Manufacturer exists
2023-10-13	13:22:16	3282	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:16	3282	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:16	3282	[DEBUG]	Executed store
2023-10-13	13:22:16	3282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862774','242')
2023-10-13	13:22:16	3282	[DEBUG]	Find the custom field ID
2023-10-13	13:22:16	3282	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:16	3282	[DEBUG]	No custom field ID found
2023-10-13	13:22:16	3282	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:16	3282	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:22:16	3282	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862774 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:16	3282	[DEBUG]	Store custom available field
2023-10-13	13:22:16	3282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862774,3,'29.8169444444444',1)
2023-10-13	13:22:16	3282	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:16	3282	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:16	3282	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862774 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:16	3282	[DEBUG]	Store custom available field
2023-10-13	13:22:16	3282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862774,6,'choisir la taille',3)
2023-10-13	13:22:16	3282	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:16	3282	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:16	3282	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:16	3282	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:16	3282	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862774 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:16	3282	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:16	3282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862774,8,1)
2023-10-13	13:22:16	3282	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:16	3282	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862774\":[1862774,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862774
2023-10-13	13:22:16	3282	[DEBUG]	Checking category
2023-10-13	13:22:16	3282	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:16	3282	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862774
2023-10-13	13:22:16	3282	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:16	3282	[DEBUG]	Executed store
2023-10-13	13:22:16	3282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862774','7374')
2023-10-13	13:22:16	3282	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:16	3282	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862774 AND `virtuemart_category_id` NOT IN (7374)
2023-10-13	13:22:16	3282	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:16	3282	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862774
2023-10-13	13:22:16	3283	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:16	3283	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:16	3283	[DEBUG]	Use field value for field taille
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:16	3283	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:16	3283	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:16	3283	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:16	3283	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:16	3283	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:16	3283	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:16	3283	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:16	3283	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:16	3283	[DEBUG]	Use field value for field published
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:16	3283	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field override
2023-10-13	13:22:16	3283	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:16	3283	[DEBUG]	Use field value for field slug
2023-10-13	13:22:16	3283	[DEBUG]	Process line 3283
2023-10-13	13:22:16	3283	[DEBUG]	Load a row
2023-10-13	13:22:16	3283	[DEBUG]	Processing item: 4260224793003
2023-10-13	13:22:16	3283	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:16	3283	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:16	3283	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7605_1'
2023-10-13	13:22:16	3283	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:16	3283	[DEBUG]	Processing product tax
2023-10-13	13:22:16	3283	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:16	3283	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:16	3283	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:16	3283	[DEBUG]	Query for Product
2023-10-13	13:22:16	3283	[DEBUG]	Executed store
2023-10-13	13:22:16	3283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862774','4260224793003','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:16	3283	[DEBUG]	No parent found
2023-10-13	13:22:16	3283	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862774 AND customfield_value = 'stockable'
2023-10-13	13:22:16	3283	[DEBUG]	Check product language entry
2023-10-13	13:22:16	3283	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862775
2023-10-13	13:22:16	3283	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:16	3283	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224793003' AND `virtuemart_product_id` != 1862775
2023-10-13	13:22:16	3283	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:16	3283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862775, '4260224793003')
2023-10-13	13:22:16	3283	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:16	3283	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-goldstecker-set-noir-unitaire' AND `virtuemart_product_id` != 1862775
2023-10-13	13:22:16	3283	[DEBUG]	Query for ProductLang
2023-10-13	13:22:16	3283	[DEBUG]	Executed store
2023-10-13	13:22:16	3283	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Goldstecker-Set / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-goldstecker-set-noir-unitaire' WHERE `virtuemart_product_id` = '1862775'
2023-10-13	13:22:16	3283	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35070_supernova_goldstecker-set.jpg
2023-10-13	13:22:16	3283	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:16	3283	[DEBUG]	Process image file
2023-10-13	13:22:16	3283	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:16	3283	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:16	3283	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35070_supernova_goldstecker-set.jpg
2023-10-13	13:22:16	3283	[DEBUG]	Full name target: bcprisme/35070_supernova_goldstecker-set.jpg
2023-10-13	13:22:17	3283	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:17	3283	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35070_supernova_goldstecker-set.jpg'
2023-10-13	13:22:17	3283	[DEBUG]	Query for Media
2023-10-13	13:22:17	3283	[DEBUG]	Executed store
2023-10-13	13:22:17	3283	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35070_supernova_goldstecker-set.jpg',`file_url_thumb`='bcprisme/35070_supernova_goldstecker-set.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337617'
2023-10-13	13:22:17	3283	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:17	3283	[DEBUG]	Executed store
2023-10-13	13:22:17	3283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862775','337617','1')
2023-10-13	13:22:17	3283	[DEBUG]	Store product image relation
2023-10-13	13:22:17	3283	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:17	3283	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862775 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:17	3283	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:17	3283	[DEBUG]	Executed store
2023-10-13	13:22:17	3283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862775','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:17	3283	[DEBUG]	Checking manufacturer
2023-10-13	13:22:17	3283	[DEBUG]	Load a row
2023-10-13	13:22:17	3283	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:17	3283	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:17	3283	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:17	3283	[DEBUG]	Executed store
2023-10-13	13:22:17	3283	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:17	3283	[DEBUG]	Manufacturer exists
2023-10-13	13:22:17	3283	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:17	3283	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:17	3283	[DEBUG]	Executed store
2023-10-13	13:22:17	3283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862775','242')
2023-10-13	13:22:17	3283	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:17	3283	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:17	3283	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862775 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:17	3283	[DEBUG]	Store custom available field
2023-10-13	13:22:17	3283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862775,3,'',1)
2023-10-13	13:22:17	3283	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:17	3283	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:17	3283	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862775 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:17	3283	[DEBUG]	Store custom available field
2023-10-13	13:22:17	3283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862775,6,'Unitaire',3)
2023-10-13	13:22:17	3283	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:17	3283	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:17	3283	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862774
2023-10-13	13:22:17	3283	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:17	3283	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862774\":[1862774,8,1,\"choisir la taille\"],\"1862775\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862774
2023-10-13	13:22:17	3283	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:17	3283	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862775
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:17	3284	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field taille
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:17	3284	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:17	3284	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:17	3284	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:17	3284	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:17	3284	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:17	3284	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field published
2023-10-13	13:22:17	3284	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:17	3284	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field override
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:17	3284	[DEBUG]	Use field value for field slug
2023-10-13	13:22:17	3284	[DEBUG]	Process line 3284
2023-10-13	13:22:17	3284	[DEBUG]	Load a row
2023-10-13	13:22:17	3284	[DEBUG]	Processing item: A_7781_1
2023-10-13	13:22:17	3284	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:17	3284	[DEBUG]	Processing product tax
2023-10-13	13:22:17	3284	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:17	3284	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:17	3284	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:17	3284	[DEBUG]	Query for Product
2023-10-13	13:22:17	3284	[DEBUG]	Executed store
2023-10-13	13:22:17	3284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7781_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:17	3284	[DEBUG]	Check product language entry
2023-10-13	13:22:17	3284	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862776
2023-10-13	13:22:17	3284	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:17	3284	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7781_1' AND `virtuemart_product_id` != 1862776
2023-10-13	13:22:17	3284	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:17	3284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862776, 'A_7781_1')
2023-10-13	13:22:17	3284	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:17	3284	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-collier-de-selle-supernova-pour-tail-light-diametre-exterieur-32-mm-noir' AND `virtuemart_product_id` != 1862776
2023-10-13	13:22:17	3284	[DEBUG]	Query for ProductLang
2023-10-13	13:22:17	3284	[DEBUG]	Executed store
2023-10-13	13:22:17	3284	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.016',`product_name`='SUPERNOVA Collier de selle Supernova pour Tail-Light (diamètre extérieur 32 mm) / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-collier-de-selle-supernova-pour-tail-light-diametre-exterieur-32-mm-noir' WHERE `virtuemart_product_id` = '1862776'
2023-10-13	13:22:17	3284	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36152_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_32_mm).jpg
2023-10-13	13:22:17	3284	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:17	3284	[DEBUG]	Process image file
2023-10-13	13:22:17	3284	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:17	3284	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:17	3284	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36152_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_32_mm).jpg
2023-10-13	13:22:17	3284	[DEBUG]	Full name target: bcprisme/36152_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_32_mm).jpg
2023-10-13	13:22:18	3284	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:18	3284	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36152_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_32_mm).jpg'
2023-10-13	13:22:18	3284	[DEBUG]	Query for Media
2023-10-13	13:22:18	3284	[DEBUG]	Executed store
2023-10-13	13:22:18	3284	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36152_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_32_mm).jpg',`file_url_thumb`='bcprisme/36152_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_32_mm).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481484'
2023-10-13	13:22:18	3284	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:18	3284	[DEBUG]	Executed store
2023-10-13	13:22:18	3284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862776','481484','1')
2023-10-13	13:22:18	3284	[DEBUG]	Store product image relation
2023-10-13	13:22:18	3284	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:18	3284	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862776 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:18	3284	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:18	3284	[DEBUG]	Executed store
2023-10-13	13:22:18	3284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862776','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:18	3284	[DEBUG]	Checking manufacturer
2023-10-13	13:22:18	3284	[DEBUG]	Load a row
2023-10-13	13:22:18	3284	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:18	3284	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:18	3284	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:18	3284	[DEBUG]	Executed store
2023-10-13	13:22:18	3284	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:18	3284	[DEBUG]	Manufacturer exists
2023-10-13	13:22:18	3284	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:18	3284	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:18	3284	[DEBUG]	Executed store
2023-10-13	13:22:18	3284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862776','242')
2023-10-13	13:22:18	3284	[DEBUG]	Find the custom field ID
2023-10-13	13:22:18	3284	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:18	3284	[DEBUG]	No custom field ID found
2023-10-13	13:22:18	3284	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:18	3284	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:22:18	3284	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862776 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:18	3284	[DEBUG]	Store custom available field
2023-10-13	13:22:18	3284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862776,3,'29.8169444444444',1)
2023-10-13	13:22:18	3284	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:18	3284	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:18	3284	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862776 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:18	3284	[DEBUG]	Store custom available field
2023-10-13	13:22:18	3284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862776,6,'choisir la taille',3)
2023-10-13	13:22:18	3284	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:18	3284	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:18	3284	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:18	3284	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:18	3284	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862776 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:18	3284	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:18	3284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862776,8,1)
2023-10-13	13:22:18	3284	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:18	3284	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862776\":[1862776,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862776
2023-10-13	13:22:18	3284	[DEBUG]	Checking category
2023-10-13	13:22:18	3284	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:18	3284	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862776
2023-10-13	13:22:18	3284	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:18	3284	[DEBUG]	Executed store
2023-10-13	13:22:18	3284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862776','7374')
2023-10-13	13:22:18	3284	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:18	3284	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862776 AND `virtuemart_category_id` NOT IN (7374)
2023-10-13	13:22:18	3284	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:18	3284	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862776
2023-10-13	13:22:18	3285	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:18	3285	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:18	3285	[DEBUG]	Use field value for field taille
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:18	3285	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:18	3285	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:18	3285	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:18	3285	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:18	3285	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:18	3285	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:18	3285	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:18	3285	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:18	3285	[DEBUG]	Use field value for field published
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:18	3285	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field override
2023-10-13	13:22:18	3285	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:18	3285	[DEBUG]	Use field value for field slug
2023-10-13	13:22:18	3285	[DEBUG]	Process line 3285
2023-10-13	13:22:18	3285	[DEBUG]	Load a row
2023-10-13	13:22:18	3285	[DEBUG]	Processing item: 4260224792228
2023-10-13	13:22:18	3285	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:18	3285	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:18	3285	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7781_1'
2023-10-13	13:22:18	3285	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:18	3285	[DEBUG]	Processing product tax
2023-10-13	13:22:18	3285	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:18	3285	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:18	3285	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:18	3285	[DEBUG]	Query for Product
2023-10-13	13:22:18	3285	[DEBUG]	Executed store
2023-10-13	13:22:18	3285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862776','4260224792228','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:18	3285	[DEBUG]	No parent found
2023-10-13	13:22:18	3285	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862776 AND customfield_value = 'stockable'
2023-10-13	13:22:18	3285	[DEBUG]	Check product language entry
2023-10-13	13:22:18	3285	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862777
2023-10-13	13:22:18	3285	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:18	3285	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224792228' AND `virtuemart_product_id` != 1862777
2023-10-13	13:22:18	3285	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:18	3285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862777, '4260224792228')
2023-10-13	13:22:18	3285	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:18	3285	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-collier-de-selle-supernova-pour-tail-light-diametre-exterieur-32-mm-noir-unitaire' AND `virtuemart_product_id` != 1862777
2023-10-13	13:22:18	3285	[DEBUG]	Query for ProductLang
2023-10-13	13:22:18	3285	[DEBUG]	Executed store
2023-10-13	13:22:18	3285	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Collier de selle Supernova pour Tail-Light (diamètre extérieur 32 mm) / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-collier-de-selle-supernova-pour-tail-light-diametre-exterieur-32-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862777'
2023-10-13	13:22:18	3285	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36152_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_32_mm).jpg
2023-10-13	13:22:18	3285	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:18	3285	[DEBUG]	Process image file
2023-10-13	13:22:18	3285	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:18	3285	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:18	3285	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36152_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_32_mm).jpg
2023-10-13	13:22:18	3285	[DEBUG]	Full name target: bcprisme/36152_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_32_mm).jpg
2023-10-13	13:22:20	3285	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:20	3285	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36152_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_32_mm).jpg'
2023-10-13	13:22:20	3285	[DEBUG]	Query for Media
2023-10-13	13:22:20	3285	[DEBUG]	Executed store
2023-10-13	13:22:20	3285	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36152_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_32_mm).jpg',`file_url_thumb`='bcprisme/36152_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_32_mm).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481484'
2023-10-13	13:22:20	3285	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:20	3285	[DEBUG]	Executed store
2023-10-13	13:22:20	3285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862777','481484','1')
2023-10-13	13:22:20	3285	[DEBUG]	Store product image relation
2023-10-13	13:22:20	3285	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:20	3285	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862777 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:20	3285	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:20	3285	[DEBUG]	Executed store
2023-10-13	13:22:20	3285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862777','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:20	3285	[DEBUG]	Checking manufacturer
2023-10-13	13:22:20	3285	[DEBUG]	Load a row
2023-10-13	13:22:20	3285	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:20	3285	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:20	3285	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:20	3285	[DEBUG]	Executed store
2023-10-13	13:22:20	3285	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:20	3285	[DEBUG]	Manufacturer exists
2023-10-13	13:22:20	3285	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:20	3285	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:20	3285	[DEBUG]	Executed store
2023-10-13	13:22:20	3285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862777','242')
2023-10-13	13:22:20	3285	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:20	3285	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:20	3285	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862777 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:20	3285	[DEBUG]	Store custom available field
2023-10-13	13:22:20	3285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862777,3,'',1)
2023-10-13	13:22:20	3285	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:20	3285	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:20	3285	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862777 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:20	3285	[DEBUG]	Store custom available field
2023-10-13	13:22:20	3285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862777,6,'Unitaire',3)
2023-10-13	13:22:20	3285	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:20	3285	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:20	3285	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862776
2023-10-13	13:22:20	3285	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:20	3285	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862776\":[1862776,8,1,\"choisir la taille\"],\"1862777\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862776
2023-10-13	13:22:20	3285	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:20	3285	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862777
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:20	3286	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field taille
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:20	3286	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:20	3286	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:20	3286	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:20	3286	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:20	3286	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:20	3286	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field published
2023-10-13	13:22:20	3286	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:20	3286	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field override
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:20	3286	[DEBUG]	Use field value for field slug
2023-10-13	13:22:20	3286	[DEBUG]	Process line 3286
2023-10-13	13:22:20	3286	[DEBUG]	Load a row
2023-10-13	13:22:20	3286	[DEBUG]	Processing item: A_7783_1
2023-10-13	13:22:20	3286	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:20	3286	[DEBUG]	Processing product tax
2023-10-13	13:22:20	3286	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:20	3286	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:20	3286	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:20	3286	[DEBUG]	Query for Product
2023-10-13	13:22:20	3286	[DEBUG]	Executed store
2023-10-13	13:22:20	3286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7783_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:20	3286	[DEBUG]	Check product language entry
2023-10-13	13:22:20	3286	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862778
2023-10-13	13:22:20	3286	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:20	3286	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7783_1' AND `virtuemart_product_id` != 1862778
2023-10-13	13:22:20	3286	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:20	3286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862778, 'A_7783_1')
2023-10-13	13:22:20	3286	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:20	3286	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-collier-de-selle-supernova-pour-tail-light-diametre-exterieur-35-mm-noir' AND `virtuemart_product_id` != 1862778
2023-10-13	13:22:20	3286	[DEBUG]	Query for ProductLang
2023-10-13	13:22:20	3286	[DEBUG]	Executed store
2023-10-13	13:22:20	3286	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.017',`product_name`='SUPERNOVA Collier de selle Supernova pour Tail-Light (diamètre extérieur 35 mm)  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-collier-de-selle-supernova-pour-tail-light-diametre-exterieur-35-mm-noir' WHERE `virtuemart_product_id` = '1862778'
2023-10-13	13:22:20	3286	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36153_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_35_mm)_.jpg
2023-10-13	13:22:20	3286	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:20	3286	[DEBUG]	Process image file
2023-10-13	13:22:20	3286	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:20	3286	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:20	3286	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36153_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_35_mm)_.jpg
2023-10-13	13:22:20	3286	[DEBUG]	Full name target: bcprisme/36153_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_35_mm)_.jpg
2023-10-13	13:22:21	3286	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:21	3286	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36153_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_35_mm)_.jpg'
2023-10-13	13:22:21	3286	[DEBUG]	Query for Media
2023-10-13	13:22:21	3286	[DEBUG]	Executed store
2023-10-13	13:22:21	3286	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36153_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_35_mm)_.jpg',`file_url_thumb`='bcprisme/36153_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_35_mm)_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481486'
2023-10-13	13:22:21	3286	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:21	3286	[DEBUG]	Executed store
2023-10-13	13:22:21	3286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862778','481486','1')
2023-10-13	13:22:21	3286	[DEBUG]	Store product image relation
2023-10-13	13:22:21	3286	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:21	3286	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862778 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:21	3286	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:21	3286	[DEBUG]	Executed store
2023-10-13	13:22:21	3286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862778','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:21	3286	[DEBUG]	Checking manufacturer
2023-10-13	13:22:21	3286	[DEBUG]	Load a row
2023-10-13	13:22:21	3286	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:21	3286	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:21	3286	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:21	3286	[DEBUG]	Executed store
2023-10-13	13:22:21	3286	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:21	3286	[DEBUG]	Manufacturer exists
2023-10-13	13:22:21	3286	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:21	3286	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:21	3286	[DEBUG]	Executed store
2023-10-13	13:22:21	3286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862778','242')
2023-10-13	13:22:21	3286	[DEBUG]	Find the custom field ID
2023-10-13	13:22:21	3286	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:21	3286	[DEBUG]	No custom field ID found
2023-10-13	13:22:21	3286	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:21	3286	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:22:21	3286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862778 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:21	3286	[DEBUG]	Store custom available field
2023-10-13	13:22:21	3286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862778,3,'29.8169444444444',1)
2023-10-13	13:22:21	3286	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:21	3286	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:21	3286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862778 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:21	3286	[DEBUG]	Store custom available field
2023-10-13	13:22:21	3286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862778,6,'choisir la taille',3)
2023-10-13	13:22:21	3286	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:21	3286	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:21	3286	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:21	3286	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:21	3286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862778 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:21	3286	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:21	3286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862778,8,1)
2023-10-13	13:22:21	3286	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:21	3286	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862778\":[1862778,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862778
2023-10-13	13:22:21	3286	[DEBUG]	Checking category
2023-10-13	13:22:21	3286	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:21	3286	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862778
2023-10-13	13:22:21	3286	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:21	3286	[DEBUG]	Executed store
2023-10-13	13:22:21	3286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862778','7374')
2023-10-13	13:22:21	3286	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:21	3286	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862778 AND `virtuemart_category_id` NOT IN (7374)
2023-10-13	13:22:21	3286	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:21	3286	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862778
2023-10-13	13:22:21	3287	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:21	3287	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:21	3287	[DEBUG]	Use field value for field taille
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:21	3287	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:21	3287	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:21	3287	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:21	3287	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:21	3287	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:21	3287	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:21	3287	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:21	3287	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:21	3287	[DEBUG]	Use field value for field published
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:21	3287	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field override
2023-10-13	13:22:21	3287	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:21	3287	[DEBUG]	Use field value for field slug
2023-10-13	13:22:21	3287	[DEBUG]	Process line 3287
2023-10-13	13:22:21	3287	[DEBUG]	Load a row
2023-10-13	13:22:21	3287	[DEBUG]	Processing item: 4260224792235
2023-10-13	13:22:21	3287	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:21	3287	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:21	3287	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7783_1'
2023-10-13	13:22:21	3287	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:21	3287	[DEBUG]	Processing product tax
2023-10-13	13:22:21	3287	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:21	3287	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:21	3287	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:21	3287	[DEBUG]	Query for Product
2023-10-13	13:22:21	3287	[DEBUG]	Executed store
2023-10-13	13:22:21	3287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862778','4260224792235','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:21	3287	[DEBUG]	No parent found
2023-10-13	13:22:21	3287	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862778 AND customfield_value = 'stockable'
2023-10-13	13:22:21	3287	[DEBUG]	Check product language entry
2023-10-13	13:22:21	3287	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862779
2023-10-13	13:22:21	3287	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:21	3287	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224792235' AND `virtuemart_product_id` != 1862779
2023-10-13	13:22:21	3287	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:21	3287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862779, '4260224792235')
2023-10-13	13:22:21	3287	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:21	3287	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-collier-de-selle-supernova-pour-tail-light-diametre-exterieur-35-mm-noir-unitaire' AND `virtuemart_product_id` != 1862779
2023-10-13	13:22:21	3287	[DEBUG]	Query for ProductLang
2023-10-13	13:22:21	3287	[DEBUG]	Executed store
2023-10-13	13:22:21	3287	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Collier de selle Supernova pour Tail-Light (diamètre extérieur 35 mm)  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-collier-de-selle-supernova-pour-tail-light-diametre-exterieur-35-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862779'
2023-10-13	13:22:21	3287	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36153_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_35_mm)_.jpg
2023-10-13	13:22:21	3287	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:21	3287	[DEBUG]	Process image file
2023-10-13	13:22:21	3287	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:21	3287	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:21	3287	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36153_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_35_mm)_.jpg
2023-10-13	13:22:21	3287	[DEBUG]	Full name target: bcprisme/36153_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_35_mm)_.jpg
2023-10-13	13:22:22	3287	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:22	3287	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36153_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_35_mm)_.jpg'
2023-10-13	13:22:22	3287	[DEBUG]	Query for Media
2023-10-13	13:22:22	3287	[DEBUG]	Executed store
2023-10-13	13:22:22	3287	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36153_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_35_mm)_.jpg',`file_url_thumb`='bcprisme/36153_supernova_collier_de_selle_supernova_pour_tail-light_(diametre_exterieur_35_mm)_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481486'
2023-10-13	13:22:22	3287	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:22	3287	[DEBUG]	Executed store
2023-10-13	13:22:22	3287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862779','481486','1')
2023-10-13	13:22:22	3287	[DEBUG]	Store product image relation
2023-10-13	13:22:22	3287	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:22	3287	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862779 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:22	3287	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:22	3287	[DEBUG]	Executed store
2023-10-13	13:22:22	3287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862779','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:22	3287	[DEBUG]	Checking manufacturer
2023-10-13	13:22:22	3287	[DEBUG]	Load a row
2023-10-13	13:22:22	3287	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:22	3287	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:22	3287	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:22	3287	[DEBUG]	Executed store
2023-10-13	13:22:22	3287	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:22	3287	[DEBUG]	Manufacturer exists
2023-10-13	13:22:22	3287	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:22	3287	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:22	3287	[DEBUG]	Executed store
2023-10-13	13:22:22	3287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862779','242')
2023-10-13	13:22:22	3287	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:22	3287	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:22	3287	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862779 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:22	3287	[DEBUG]	Store custom available field
2023-10-13	13:22:22	3287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862779,3,'',1)
2023-10-13	13:22:22	3287	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:22	3287	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:22	3287	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862779 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:22	3287	[DEBUG]	Store custom available field
2023-10-13	13:22:22	3287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862779,6,'Unitaire',3)
2023-10-13	13:22:22	3287	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:22	3287	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:22	3287	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862778
2023-10-13	13:22:22	3287	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:22	3287	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862778\":[1862778,8,1,\"choisir la taille\"],\"1862779\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862778
2023-10-13	13:22:22	3287	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:22	3287	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862779
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:22	3288	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field taille
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:22	3288	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:22	3288	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:22	3288	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:22	3288	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:22	3288	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:22	3288	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field published
2023-10-13	13:22:22	3288	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:22	3288	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field override
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:22	3288	[DEBUG]	Use field value for field slug
2023-10-13	13:22:22	3288	[DEBUG]	Process line 3288
2023-10-13	13:22:22	3288	[DEBUG]	Load a row
2023-10-13	13:22:22	3288	[DEBUG]	Processing item: A_7861_1
2023-10-13	13:22:22	3288	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:22	3288	[DEBUG]	Processing product tax
2023-10-13	13:22:22	3288	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:22	3288	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:22	3288	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:22	3288	[DEBUG]	Query for Product
2023-10-13	13:22:22	3288	[DEBUG]	Executed store
2023-10-13	13:22:22	3288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7861_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:22	3288	[DEBUG]	Check product language entry
2023-10-13	13:22:22	3288	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862780
2023-10-13	13:22:22	3288	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:22	3288	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7861_1' AND `virtuemart_product_id` != 1862780
2023-10-13	13:22:22	3288	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:22	3288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862780, 'A_7861_1')
2023-10-13	13:22:22	3288	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:22	3288	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-multimount-cs-noir' AND `virtuemart_product_id` != 1862780
2023-10-13	13:22:22	3288	[DEBUG]	Query for ProductLang
2023-10-13	13:22:22	3288	[DEBUG]	Executed store
2023-10-13	13:22:22	3288	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.046',`product_name`='SUPERNOVA Multimount CS / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-multimount-cs-noir' WHERE `virtuemart_product_id` = '1862780'
2023-10-13	13:22:22	3288	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36266_supernova_multimount_cs.jpg
2023-10-13	13:22:22	3288	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:22	3288	[DEBUG]	Process image file
2023-10-13	13:22:22	3288	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:22	3288	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:22	3288	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36266_supernova_multimount_cs.jpg
2023-10-13	13:22:22	3288	[DEBUG]	Full name target: bcprisme/36266_supernova_multimount_cs.jpg
2023-10-13	13:22:23	3288	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:23	3288	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36266_supernova_multimount_cs.jpg'
2023-10-13	13:22:23	3288	[DEBUG]	Query for Media
2023-10-13	13:22:23	3288	[DEBUG]	Executed store
2023-10-13	13:22:23	3288	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36266_supernova_multimount_cs.jpg',`file_url_thumb`='bcprisme/36266_supernova_multimount_cs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '503950'
2023-10-13	13:22:23	3288	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:23	3288	[DEBUG]	Executed store
2023-10-13	13:22:23	3288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862780','503950','1')
2023-10-13	13:22:23	3288	[DEBUG]	Store product image relation
2023-10-13	13:22:23	3288	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:23	3288	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862780 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:23	3288	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:23	3288	[DEBUG]	Executed store
2023-10-13	13:22:23	3288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862780','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:23	3288	[DEBUG]	Checking manufacturer
2023-10-13	13:22:23	3288	[DEBUG]	Load a row
2023-10-13	13:22:23	3288	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:23	3288	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:23	3288	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:23	3288	[DEBUG]	Executed store
2023-10-13	13:22:23	3288	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:23	3288	[DEBUG]	Manufacturer exists
2023-10-13	13:22:23	3288	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:23	3288	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:23	3288	[DEBUG]	Executed store
2023-10-13	13:22:23	3288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862780','242')
2023-10-13	13:22:23	3288	[DEBUG]	Find the custom field ID
2023-10-13	13:22:23	3288	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:23	3288	[DEBUG]	No custom field ID found
2023-10-13	13:22:23	3288	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:23	3288	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:22:23	3288	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862780 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:23	3288	[DEBUG]	Store custom available field
2023-10-13	13:22:23	3288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862780,3,'29.8169444444444',1)
2023-10-13	13:22:23	3288	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:23	3288	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:23	3288	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862780 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:23	3288	[DEBUG]	Store custom available field
2023-10-13	13:22:23	3288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862780,6,'choisir la taille',3)
2023-10-13	13:22:23	3288	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:23	3288	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:23	3288	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:23	3288	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:23	3288	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862780 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:23	3288	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:23	3288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862780,8,1)
2023-10-13	13:22:23	3288	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:23	3288	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862780\":[1862780,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862780
2023-10-13	13:22:23	3288	[DEBUG]	Checking category
2023-10-13	13:22:23	3288	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:23	3288	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862780
2023-10-13	13:22:23	3288	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:23	3288	[DEBUG]	Executed store
2023-10-13	13:22:23	3288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862780','7374')
2023-10-13	13:22:23	3288	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:23	3288	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862780 AND `virtuemart_category_id` NOT IN (7374)
2023-10-13	13:22:23	3288	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:23	3288	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862780
2023-10-13	13:22:23	3289	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:23	3289	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:23	3289	[DEBUG]	Use field value for field taille
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:23	3289	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:23	3289	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:23	3289	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:23	3289	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:23	3289	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:23	3289	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:23	3289	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:23	3289	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:23	3289	[DEBUG]	Use field value for field published
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:23	3289	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field override
2023-10-13	13:22:23	3289	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:23	3289	[DEBUG]	Use field value for field slug
2023-10-13	13:22:23	3289	[DEBUG]	Process line 3289
2023-10-13	13:22:23	3289	[DEBUG]	Load a row
2023-10-13	13:22:23	3289	[DEBUG]	Processing item: 4260224793034
2023-10-13	13:22:23	3289	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:23	3289	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:23	3289	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7861_1'
2023-10-13	13:22:23	3289	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:23	3289	[DEBUG]	Processing product tax
2023-10-13	13:22:23	3289	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:23	3289	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:23	3289	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:23	3289	[DEBUG]	Query for Product
2023-10-13	13:22:23	3289	[DEBUG]	Executed store
2023-10-13	13:22:23	3289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862780','4260224793034','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:23	3289	[DEBUG]	No parent found
2023-10-13	13:22:23	3289	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862780 AND customfield_value = 'stockable'
2023-10-13	13:22:23	3289	[DEBUG]	Check product language entry
2023-10-13	13:22:23	3289	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862781
2023-10-13	13:22:23	3289	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:23	3289	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224793034' AND `virtuemart_product_id` != 1862781
2023-10-13	13:22:23	3289	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:23	3289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862781, '4260224793034')
2023-10-13	13:22:23	3289	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:23	3289	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-multimount-cs-noir-unitaire' AND `virtuemart_product_id` != 1862781
2023-10-13	13:22:23	3289	[DEBUG]	Query for ProductLang
2023-10-13	13:22:23	3289	[DEBUG]	Executed store
2023-10-13	13:22:23	3289	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Multimount CS / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-multimount-cs-noir-unitaire' WHERE `virtuemart_product_id` = '1862781'
2023-10-13	13:22:23	3289	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36266_supernova_multimount_cs.jpg
2023-10-13	13:22:23	3289	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:23	3289	[DEBUG]	Process image file
2023-10-13	13:22:23	3289	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:23	3289	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:23	3289	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36266_supernova_multimount_cs.jpg
2023-10-13	13:22:23	3289	[DEBUG]	Full name target: bcprisme/36266_supernova_multimount_cs.jpg
2023-10-13	13:22:24	3289	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:24	3289	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36266_supernova_multimount_cs.jpg'
2023-10-13	13:22:24	3289	[DEBUG]	Query for Media
2023-10-13	13:22:24	3289	[DEBUG]	Executed store
2023-10-13	13:22:24	3289	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36266_supernova_multimount_cs.jpg',`file_url_thumb`='bcprisme/36266_supernova_multimount_cs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '503950'
2023-10-13	13:22:24	3289	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:24	3289	[DEBUG]	Executed store
2023-10-13	13:22:24	3289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862781','503950','1')
2023-10-13	13:22:24	3289	[DEBUG]	Store product image relation
2023-10-13	13:22:24	3289	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:24	3289	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862781 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:24	3289	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:24	3289	[DEBUG]	Executed store
2023-10-13	13:22:24	3289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862781','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:24	3289	[DEBUG]	Checking manufacturer
2023-10-13	13:22:24	3289	[DEBUG]	Load a row
2023-10-13	13:22:24	3289	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:24	3289	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:24	3289	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:24	3289	[DEBUG]	Executed store
2023-10-13	13:22:24	3289	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:24	3289	[DEBUG]	Manufacturer exists
2023-10-13	13:22:24	3289	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:24	3289	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:24	3289	[DEBUG]	Executed store
2023-10-13	13:22:24	3289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862781','242')
2023-10-13	13:22:24	3289	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:24	3289	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:24	3289	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862781 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:24	3289	[DEBUG]	Store custom available field
2023-10-13	13:22:24	3289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862781,3,'',1)
2023-10-13	13:22:24	3289	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:24	3289	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:24	3289	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862781 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:24	3289	[DEBUG]	Store custom available field
2023-10-13	13:22:24	3289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862781,6,'Unitaire',3)
2023-10-13	13:22:24	3289	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:24	3289	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:24	3289	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862780
2023-10-13	13:22:24	3289	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:24	3289	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862780\":[1862780,8,1,\"choisir la taille\"],\"1862781\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862780
2023-10-13	13:22:24	3289	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:24	3289	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862781
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:24	3290	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field taille
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:24	3290	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:24	3290	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:24	3290	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:24	3290	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:24	3290	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:24	3290	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field published
2023-10-13	13:22:24	3290	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:24	3290	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field override
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:24	3290	[DEBUG]	Use field value for field slug
2023-10-13	13:22:24	3290	[DEBUG]	Process line 3290
2023-10-13	13:22:24	3290	[DEBUG]	Load a row
2023-10-13	13:22:24	3290	[DEBUG]	Processing item: A_7862_1
2023-10-13	13:22:24	3290	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:24	3290	[DEBUG]	Processing product tax
2023-10-13	13:22:24	3290	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:24	3290	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:24	3290	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:24	3290	[DEBUG]	Query for Product
2023-10-13	13:22:24	3290	[DEBUG]	Executed store
2023-10-13	13:22:24	3290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7862_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:24	3290	[DEBUG]	Check product language entry
2023-10-13	13:22:24	3290	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862782
2023-10-13	13:22:24	3290	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:24	3290	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7862_1' AND `virtuemart_product_id` != 1862782
2023-10-13	13:22:24	3290	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:24	3290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862782, 'A_7862_1')
2023-10-13	13:22:24	3290	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:24	3290	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-multimount-sa-noir' AND `virtuemart_product_id` != 1862782
2023-10-13	13:22:24	3290	[DEBUG]	Query for ProductLang
2023-10-13	13:22:24	3290	[DEBUG]	Executed store
2023-10-13	13:22:24	3290	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.082',`product_name`='SUPERNOVA Multimount SA / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-multimount-sa-noir' WHERE `virtuemart_product_id` = '1862782'
2023-10-13	13:22:24	3290	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36268_supernova_multimount_sa.jpg
2023-10-13	13:22:24	3290	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:24	3290	[DEBUG]	Process image file
2023-10-13	13:22:24	3290	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:24	3290	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:24	3290	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36268_supernova_multimount_sa.jpg
2023-10-13	13:22:24	3290	[DEBUG]	Full name target: bcprisme/36268_supernova_multimount_sa.jpg
2023-10-13	13:22:25	3290	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:25	3290	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36268_supernova_multimount_sa.jpg'
2023-10-13	13:22:25	3290	[DEBUG]	Query for Media
2023-10-13	13:22:25	3290	[DEBUG]	Executed store
2023-10-13	13:22:25	3290	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36268_supernova_multimount_sa.jpg',`file_url_thumb`='bcprisme/36268_supernova_multimount_sa.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '503952'
2023-10-13	13:22:25	3290	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:25	3290	[DEBUG]	Executed store
2023-10-13	13:22:25	3290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862782','503952','1')
2023-10-13	13:22:25	3290	[DEBUG]	Store product image relation
2023-10-13	13:22:25	3290	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:25	3290	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862782 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:25	3290	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:25	3290	[DEBUG]	Executed store
2023-10-13	13:22:25	3290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862782','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:25	3290	[DEBUG]	Checking manufacturer
2023-10-13	13:22:25	3290	[DEBUG]	Load a row
2023-10-13	13:22:25	3290	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:25	3290	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:25	3290	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:25	3290	[DEBUG]	Executed store
2023-10-13	13:22:25	3290	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:25	3290	[DEBUG]	Manufacturer exists
2023-10-13	13:22:25	3290	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:25	3290	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:25	3290	[DEBUG]	Executed store
2023-10-13	13:22:25	3290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862782','242')
2023-10-13	13:22:25	3290	[DEBUG]	Find the custom field ID
2023-10-13	13:22:25	3290	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:25	3290	[DEBUG]	No custom field ID found
2023-10-13	13:22:25	3290	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:25	3290	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:22:25	3290	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862782 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:25	3290	[DEBUG]	Store custom available field
2023-10-13	13:22:25	3290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862782,3,'29.8169444444444',1)
2023-10-13	13:22:25	3290	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:25	3290	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:25	3290	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862782 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:25	3290	[DEBUG]	Store custom available field
2023-10-13	13:22:25	3290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862782,6,'choisir la taille',3)
2023-10-13	13:22:25	3290	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:25	3290	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:25	3290	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:25	3290	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:25	3290	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862782 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:25	3290	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:25	3290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862782,8,1)
2023-10-13	13:22:25	3290	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:25	3290	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862782\":[1862782,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862782
2023-10-13	13:22:25	3290	[DEBUG]	Checking category
2023-10-13	13:22:25	3290	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:25	3290	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862782
2023-10-13	13:22:25	3290	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:25	3290	[DEBUG]	Executed store
2023-10-13	13:22:25	3290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862782','7374')
2023-10-13	13:22:25	3290	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:25	3290	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862782 AND `virtuemart_category_id` NOT IN (7374)
2023-10-13	13:22:25	3290	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:25	3290	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862782
2023-10-13	13:22:25	3291	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:25	3291	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:25	3291	[DEBUG]	Use field value for field taille
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:25	3291	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:25	3291	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:25	3291	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:25	3291	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:25	3291	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:25	3291	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:25	3291	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:25	3291	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:25	3291	[DEBUG]	Use field value for field published
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:25	3291	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field override
2023-10-13	13:22:25	3291	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:25	3291	[DEBUG]	Use field value for field slug
2023-10-13	13:22:25	3291	[DEBUG]	Process line 3291
2023-10-13	13:22:25	3291	[DEBUG]	Load a row
2023-10-13	13:22:25	3291	[DEBUG]	Processing item: 4260224791054
2023-10-13	13:22:25	3291	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:25	3291	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:25	3291	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7862_1'
2023-10-13	13:22:25	3291	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:25	3291	[DEBUG]	Processing product tax
2023-10-13	13:22:25	3291	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:25	3291	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:25	3291	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:25	3291	[DEBUG]	Query for Product
2023-10-13	13:22:25	3291	[DEBUG]	Executed store
2023-10-13	13:22:25	3291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862782','4260224791054','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:25	3291	[DEBUG]	No parent found
2023-10-13	13:22:25	3291	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862782 AND customfield_value = 'stockable'
2023-10-13	13:22:25	3291	[DEBUG]	Check product language entry
2023-10-13	13:22:25	3291	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862783
2023-10-13	13:22:25	3291	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:25	3291	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224791054' AND `virtuemart_product_id` != 1862783
2023-10-13	13:22:25	3291	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:25	3291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862783, '4260224791054')
2023-10-13	13:22:25	3291	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:25	3291	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-multimount-sa-noir-unitaire' AND `virtuemart_product_id` != 1862783
2023-10-13	13:22:25	3291	[DEBUG]	Query for ProductLang
2023-10-13	13:22:25	3291	[DEBUG]	Executed store
2023-10-13	13:22:25	3291	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Multimount SA / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-multimount-sa-noir-unitaire' WHERE `virtuemart_product_id` = '1862783'
2023-10-13	13:22:25	3291	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36268_supernova_multimount_sa.jpg
2023-10-13	13:22:25	3291	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:25	3291	[DEBUG]	Process image file
2023-10-13	13:22:25	3291	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:25	3291	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:25	3291	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36268_supernova_multimount_sa.jpg
2023-10-13	13:22:25	3291	[DEBUG]	Full name target: bcprisme/36268_supernova_multimount_sa.jpg
2023-10-13	13:22:26	3291	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:26	3291	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36268_supernova_multimount_sa.jpg'
2023-10-13	13:22:26	3291	[DEBUG]	Query for Media
2023-10-13	13:22:26	3291	[DEBUG]	Executed store
2023-10-13	13:22:26	3291	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36268_supernova_multimount_sa.jpg',`file_url_thumb`='bcprisme/36268_supernova_multimount_sa.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '503952'
2023-10-13	13:22:26	3291	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:26	3291	[DEBUG]	Executed store
2023-10-13	13:22:26	3291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862783','503952','1')
2023-10-13	13:22:26	3291	[DEBUG]	Store product image relation
2023-10-13	13:22:26	3291	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:26	3291	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862783 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:26	3291	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:26	3291	[DEBUG]	Executed store
2023-10-13	13:22:26	3291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862783','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:26	3291	[DEBUG]	Checking manufacturer
2023-10-13	13:22:26	3291	[DEBUG]	Load a row
2023-10-13	13:22:26	3291	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:26	3291	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:26	3291	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:26	3291	[DEBUG]	Executed store
2023-10-13	13:22:26	3291	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:26	3291	[DEBUG]	Manufacturer exists
2023-10-13	13:22:26	3291	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:26	3291	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:26	3291	[DEBUG]	Executed store
2023-10-13	13:22:26	3291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862783','242')
2023-10-13	13:22:26	3291	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:26	3291	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:26	3291	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862783 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:26	3291	[DEBUG]	Store custom available field
2023-10-13	13:22:26	3291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862783,3,'',1)
2023-10-13	13:22:26	3291	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:26	3291	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:26	3291	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862783 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:26	3291	[DEBUG]	Store custom available field
2023-10-13	13:22:26	3291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862783,6,'Unitaire',3)
2023-10-13	13:22:26	3291	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:26	3291	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:26	3291	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862782
2023-10-13	13:22:26	3291	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:26	3291	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862782\":[1862782,8,1,\"choisir la taille\"],\"1862783\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862782
2023-10-13	13:22:26	3291	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:26	3291	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862783
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:26	3292	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field taille
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:26	3292	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:26	3292	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:26	3292	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:26	3292	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:26	3292	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:26	3292	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field published
2023-10-13	13:22:26	3292	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:26	3292	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field override
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:26	3292	[DEBUG]	Use field value for field slug
2023-10-13	13:22:26	3292	[DEBUG]	Process line 3292
2023-10-13	13:22:26	3292	[DEBUG]	Load a row
2023-10-13	13:22:26	3292	[DEBUG]	Processing item: A_8095_1
2023-10-13	13:22:26	3292	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:26	3292	[DEBUG]	Processing product tax
2023-10-13	13:22:26	3292	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:26	3292	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:26	3292	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:26	3292	[DEBUG]	Query for Product
2023-10-13	13:22:26	3292	[DEBUG]	Executed store
2023-10-13	13:22:26	3292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8095_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:26	3292	[DEBUG]	Check product language entry
2023-10-13	13:22:26	3292	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862784
2023-10-13	13:22:26	3292	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:26	3292	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8095_1' AND `virtuemart_product_id` != 1862784
2023-10-13	13:22:26	3292	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:26	3292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862784, 'A_8095_1')
2023-10-13	13:22:26	3292	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:26	3292	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-multimount-hsop-pour-e3-pure-et-v521-noir' AND `virtuemart_product_id` != 1862784
2023-10-13	13:22:26	3292	[DEBUG]	Query for ProductLang
2023-10-13	13:22:26	3292	[DEBUG]	Executed store
2023-10-13	13:22:26	3292	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.012',`product_name`='SUPERNOVA Multimount HSOP pour E3 Pure et V521 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-multimount-hsop-pour-e3-pure-et-v521-noir' WHERE `virtuemart_product_id` = '1862784'
2023-10-13	13:22:26	3292	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36618_supernova_multimount_hsop_pour_e3_pure_et_v521.jpg
2023-10-13	13:22:26	3292	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:26	3292	[DEBUG]	Process image file
2023-10-13	13:22:26	3292	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:26	3292	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:26	3292	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36618_supernova_multimount_hsop_pour_e3_pure_et_v521.jpg
2023-10-13	13:22:26	3292	[DEBUG]	Full name target: bcprisme/36618_supernova_multimount_hsop_pour_e3_pure_et_v521.jpg
2023-10-13	13:22:27	3292	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:27	3292	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36618_supernova_multimount_hsop_pour_e3_pure_et_v521.jpg'
2023-10-13	13:22:27	3292	[DEBUG]	Query for Media
2023-10-13	13:22:27	3292	[DEBUG]	Executed store
2023-10-13	13:22:27	3292	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36618_supernova_multimount_hsop_pour_e3_pure_et_v521.jpg',`file_url_thumb`='bcprisme/36618_supernova_multimount_hsop_pour_e3_pure_et_v521.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '667102'
2023-10-13	13:22:27	3292	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:27	3292	[DEBUG]	Executed store
2023-10-13	13:22:27	3292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862784','667102','1')
2023-10-13	13:22:27	3292	[DEBUG]	Store product image relation
2023-10-13	13:22:27	3292	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:27	3292	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862784 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:27	3292	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:27	3292	[DEBUG]	Executed store
2023-10-13	13:22:27	3292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862784','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:27	3292	[DEBUG]	Checking manufacturer
2023-10-13	13:22:27	3292	[DEBUG]	Load a row
2023-10-13	13:22:27	3292	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:27	3292	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:27	3292	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:27	3292	[DEBUG]	Executed store
2023-10-13	13:22:27	3292	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:27	3292	[DEBUG]	Manufacturer exists
2023-10-13	13:22:27	3292	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:27	3292	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:27	3292	[DEBUG]	Executed store
2023-10-13	13:22:27	3292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862784','242')
2023-10-13	13:22:27	3292	[DEBUG]	Find the custom field ID
2023-10-13	13:22:27	3292	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:27	3292	[DEBUG]	No custom field ID found
2023-10-13	13:22:27	3292	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:27	3292	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:22:27	3292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862784 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:27	3292	[DEBUG]	Store custom available field
2023-10-13	13:22:27	3292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862784,3,'29.8169444444444',1)
2023-10-13	13:22:27	3292	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:27	3292	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:27	3292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862784 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:27	3292	[DEBUG]	Store custom available field
2023-10-13	13:22:27	3292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862784,6,'choisir la taille',3)
2023-10-13	13:22:27	3292	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:27	3292	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:27	3292	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:27	3292	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:27	3292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862784 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:27	3292	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:27	3292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862784,8,1)
2023-10-13	13:22:27	3292	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:27	3292	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862784\":[1862784,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862784
2023-10-13	13:22:27	3292	[DEBUG]	Checking category
2023-10-13	13:22:27	3292	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:27	3292	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862784
2023-10-13	13:22:27	3292	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:27	3292	[DEBUG]	Executed store
2023-10-13	13:22:27	3292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862784','7374')
2023-10-13	13:22:27	3292	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:27	3292	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862784 AND `virtuemart_category_id` NOT IN (7374)
2023-10-13	13:22:27	3292	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:27	3292	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862784
2023-10-13	13:22:27	3293	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:27	3293	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:27	3293	[DEBUG]	Use field value for field taille
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:27	3293	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:27	3293	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:27	3293	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:27	3293	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:27	3293	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:27	3293	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:27	3293	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:27	3293	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:27	3293	[DEBUG]	Use field value for field published
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:27	3293	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field override
2023-10-13	13:22:27	3293	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:27	3293	[DEBUG]	Use field value for field slug
2023-10-13	13:22:27	3293	[DEBUG]	Process line 3293
2023-10-13	13:22:27	3293	[DEBUG]	Load a row
2023-10-13	13:22:27	3293	[DEBUG]	Processing item: 4260224793317
2023-10-13	13:22:27	3293	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:27	3293	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:27	3293	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8095_1'
2023-10-13	13:22:27	3293	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:27	3293	[DEBUG]	Processing product tax
2023-10-13	13:22:27	3293	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:27	3293	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:27	3293	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:27	3293	[DEBUG]	Query for Product
2023-10-13	13:22:27	3293	[DEBUG]	Executed store
2023-10-13	13:22:27	3293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862784','4260224793317','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:27	3293	[DEBUG]	No parent found
2023-10-13	13:22:27	3293	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862784 AND customfield_value = 'stockable'
2023-10-13	13:22:27	3293	[DEBUG]	Check product language entry
2023-10-13	13:22:27	3293	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862785
2023-10-13	13:22:27	3293	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:27	3293	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224793317' AND `virtuemart_product_id` != 1862785
2023-10-13	13:22:27	3293	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:27	3293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862785, '4260224793317')
2023-10-13	13:22:27	3293	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:27	3293	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-multimount-hsop-pour-e3-pure-et-v521-noir-unitaire' AND `virtuemart_product_id` != 1862785
2023-10-13	13:22:27	3293	[DEBUG]	Query for ProductLang
2023-10-13	13:22:27	3293	[DEBUG]	Executed store
2023-10-13	13:22:27	3293	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Multimount HSOP pour E3 Pure et V521 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-multimount-hsop-pour-e3-pure-et-v521-noir-unitaire' WHERE `virtuemart_product_id` = '1862785'
2023-10-13	13:22:27	3293	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36618_supernova_multimount_hsop_pour_e3_pure_et_v521.jpg
2023-10-13	13:22:27	3293	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:27	3293	[DEBUG]	Process image file
2023-10-13	13:22:27	3293	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:22:27	3293	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:27	3293	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36618_supernova_multimount_hsop_pour_e3_pure_et_v521.jpg
2023-10-13	13:22:27	3293	[DEBUG]	Full name target: bcprisme/36618_supernova_multimount_hsop_pour_e3_pure_et_v521.jpg
2023-10-13	13:22:28	3293	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:28	3293	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36618_supernova_multimount_hsop_pour_e3_pure_et_v521.jpg'
2023-10-13	13:22:28	3293	[DEBUG]	Query for Media
2023-10-13	13:22:28	3293	[DEBUG]	Executed store
2023-10-13	13:22:28	3293	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36618_supernova_multimount_hsop_pour_e3_pure_et_v521.jpg',`file_url_thumb`='bcprisme/36618_supernova_multimount_hsop_pour_e3_pure_et_v521.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '667102'
2023-10-13	13:22:28	3293	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:28	3293	[DEBUG]	Executed store
2023-10-13	13:22:28	3293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862785','667102','1')
2023-10-13	13:22:28	3293	[DEBUG]	Store product image relation
2023-10-13	13:22:28	3293	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:28	3293	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862785 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:28	3293	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:28	3293	[DEBUG]	Executed store
2023-10-13	13:22:28	3293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862785','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:28	3293	[DEBUG]	Checking manufacturer
2023-10-13	13:22:28	3293	[DEBUG]	Load a row
2023-10-13	13:22:28	3293	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:28	3293	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:28	3293	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:28	3293	[DEBUG]	Executed store
2023-10-13	13:22:28	3293	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:28	3293	[DEBUG]	Manufacturer exists
2023-10-13	13:22:28	3293	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:28	3293	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:28	3293	[DEBUG]	Executed store
2023-10-13	13:22:28	3293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862785','242')
2023-10-13	13:22:28	3293	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:28	3293	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:28	3293	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862785 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:28	3293	[DEBUG]	Store custom available field
2023-10-13	13:22:28	3293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862785,3,'',1)
2023-10-13	13:22:28	3293	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:28	3293	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:28	3293	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862785 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:28	3293	[DEBUG]	Store custom available field
2023-10-13	13:22:28	3293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862785,6,'Unitaire',3)
2023-10-13	13:22:28	3293	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:28	3293	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:28	3293	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862784
2023-10-13	13:22:28	3293	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:28	3293	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862784\":[1862784,8,1,\"choisir la taille\"],\"1862785\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862784
2023-10-13	13:22:28	3293	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:28	3293	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862785
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:28	3294	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field taille
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:28	3294	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:28	3294	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:28	3294	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:28	3294	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:28	3294	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:28	3294	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field published
2023-10-13	13:22:28	3294	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:28	3294	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field override
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:28	3294	[DEBUG]	Use field value for field slug
2023-10-13	13:22:28	3294	[DEBUG]	Process line 3294
2023-10-13	13:22:28	3294	[DEBUG]	Load a row
2023-10-13	13:22:28	3294	[DEBUG]	Processing item: A_8712_1
2023-10-13	13:22:28	3294	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:28	3294	[DEBUG]	Processing product tax
2023-10-13	13:22:28	3294	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:28	3294	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:28	3294	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:28	3294	[DEBUG]	Query for Product
2023-10-13	13:22:28	3294	[DEBUG]	Executed store
2023-10-13	13:22:28	3294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8712_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:28	3294	[DEBUG]	Check product language entry
2023-10-13	13:22:28	3294	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862786
2023-10-13	13:22:28	3294	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:28	3294	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8712_1' AND `virtuemart_product_id` != 1862786
2023-10-13	13:22:28	3294	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:28	3294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862786, 'A_8712_1')
2023-10-13	13:22:28	3294	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:28	3294	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-cable-de-lumiere-pour-e-bike-bosch-des-gen-2-150-mm-noir' AND `virtuemart_product_id` != 1862786
2023-10-13	13:22:28	3294	[DEBUG]	Query for ProductLang
2023-10-13	13:22:28	3294	[DEBUG]	Executed store
2023-10-13	13:22:28	3294	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.059',`product_name`='SUPERNOVA câble de lumière pour E-bike Bosch dès gén. 2 150 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-cable-de-lumiere-pour-e-bike-bosch-des-gen-2-150-mm-noir' WHERE `virtuemart_product_id` = '1862786'
2023-10-13	13:22:28	3294	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37674_supernova_cable_de_lumiere_pour_e-bike_bosch_des_gen__2_150_mm.jpg
2023-10-13	13:22:28	3294	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:22:28	3294	[DEBUG]	Process image file
2023-10-13	13:22:28	3294	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:22:28	3294	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:28	3294	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37674_supernova_cable_de_lumiere_pour_e-bike_bosch_des_gen__2_150_mm.jpg
2023-10-13	13:22:28	3294	[DEBUG]	Full name target: bcprisme/37674_supernova_cable_de_lumiere_pour_e-bike_bosch_des_gen__2_150_mm.jpg
2023-10-13	13:22:29	3294	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:29	3294	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37674_supernova_cable_de_lumiere_pour_e-bike_bosch_des_gen__2_150_mm.jpg'
2023-10-13	13:22:29	3294	[DEBUG]	Query for Media
2023-10-13	13:22:29	3294	[DEBUG]	Executed store
2023-10-13	13:22:29	3294	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37674_supernova_cable_de_lumiere_pour_e-bike_bosch_des_gen__2_150_mm.jpg',`file_url_thumb`='bcprisme/37674_supernova_cable_de_lumiere_pour_e-bike_bosch_des_gen__2_150_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041003'
2023-10-13	13:22:29	3294	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:29	3294	[DEBUG]	Executed store
2023-10-13	13:22:29	3294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862786','1041003','1')
2023-10-13	13:22:29	3294	[DEBUG]	Store product image relation
2023-10-13	13:22:29	3294	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:29	3294	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862786 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:29	3294	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:29	3294	[DEBUG]	Executed store
2023-10-13	13:22:29	3294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862786','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:29	3294	[DEBUG]	Checking manufacturer
2023-10-13	13:22:29	3294	[DEBUG]	Load a row
2023-10-13	13:22:29	3294	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:29	3294	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:29	3294	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:29	3294	[DEBUG]	Executed store
2023-10-13	13:22:29	3294	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:29	3294	[DEBUG]	Manufacturer exists
2023-10-13	13:22:29	3294	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:29	3294	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:29	3294	[DEBUG]	Executed store
2023-10-13	13:22:29	3294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862786','242')
2023-10-13	13:22:29	3294	[DEBUG]	Find the custom field ID
2023-10-13	13:22:29	3294	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:29	3294	[DEBUG]	No custom field ID found
2023-10-13	13:22:29	3294	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:29	3294	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:22:29	3294	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862786 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:29	3294	[DEBUG]	Store custom available field
2023-10-13	13:22:29	3294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862786,3,'29.8169444444444',1)
2023-10-13	13:22:29	3294	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:29	3294	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:29	3294	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862786 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:29	3294	[DEBUG]	Store custom available field
2023-10-13	13:22:29	3294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862786,6,'choisir la taille',3)
2023-10-13	13:22:29	3294	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:29	3294	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:29	3294	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:29	3294	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:29	3294	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862786 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:29	3294	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:29	3294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862786,8,1)
2023-10-13	13:22:29	3294	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:29	3294	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862786\":[1862786,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862786
2023-10-13	13:22:29	3294	[DEBUG]	Checking category
2023-10-13	13:22:29	3294	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:29	3294	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862786
2023-10-13	13:22:29	3294	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:29	3294	[DEBUG]	Executed store
2023-10-13	13:22:29	3294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862786','7374')
2023-10-13	13:22:29	3294	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:29	3294	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862786 AND `virtuemart_category_id` NOT IN (7374)
2023-10-13	13:22:29	3294	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:29	3294	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862786
2023-10-13	13:22:29	3295	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:29	3295	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:29	3295	[DEBUG]	Use field value for field taille
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:29	3295	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:29	3295	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:29	3295	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:29	3295	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:29	3295	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:29	3295	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:29	3295	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:29	3295	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:29	3295	[DEBUG]	Use field value for field published
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:29	3295	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field override
2023-10-13	13:22:29	3295	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:29	3295	[DEBUG]	Use field value for field slug
2023-10-13	13:22:29	3295	[DEBUG]	Process line 3295
2023-10-13	13:22:29	3295	[DEBUG]	Load a row
2023-10-13	13:22:29	3295	[DEBUG]	Processing item: 1000000161854
2023-10-13	13:22:29	3295	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:29	3295	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:29	3295	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8712_1'
2023-10-13	13:22:29	3295	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:29	3295	[DEBUG]	Processing product tax
2023-10-13	13:22:29	3295	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:29	3295	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:29	3295	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:29	3295	[DEBUG]	Query for Product
2023-10-13	13:22:29	3295	[DEBUG]	Executed store
2023-10-13	13:22:29	3295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862786','1000000161854','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:29	3295	[DEBUG]	No parent found
2023-10-13	13:22:29	3295	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862786 AND customfield_value = 'stockable'
2023-10-13	13:22:29	3295	[DEBUG]	Check product language entry
2023-10-13	13:22:29	3295	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862787
2023-10-13	13:22:29	3295	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:29	3295	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000161854' AND `virtuemart_product_id` != 1862787
2023-10-13	13:22:29	3295	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:29	3295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862787, '1000000161854')
2023-10-13	13:22:29	3295	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:29	3295	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-cable-de-lumiere-pour-e-bike-bosch-des-gen-2-150-mm-noir-unitaire' AND `virtuemart_product_id` != 1862787
2023-10-13	13:22:29	3295	[DEBUG]	Query for ProductLang
2023-10-13	13:22:29	3295	[DEBUG]	Executed store
2023-10-13	13:22:29	3295	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA câble de lumière pour E-bike Bosch dès gén. 2 150 mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-cable-de-lumiere-pour-e-bike-bosch-des-gen-2-150-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862787'
2023-10-13	13:22:29	3295	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37674_supernova_cable_de_lumiere_pour_e-bike_bosch_des_gen__2_150_mm.jpg
2023-10-13	13:22:29	3295	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:22:29	3295	[DEBUG]	Process image file
2023-10-13	13:22:29	3295	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:22:29	3295	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:29	3295	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37674_supernova_cable_de_lumiere_pour_e-bike_bosch_des_gen__2_150_mm.jpg
2023-10-13	13:22:29	3295	[DEBUG]	Full name target: bcprisme/37674_supernova_cable_de_lumiere_pour_e-bike_bosch_des_gen__2_150_mm.jpg
2023-10-13	13:22:30	3295	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:30	3295	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37674_supernova_cable_de_lumiere_pour_e-bike_bosch_des_gen__2_150_mm.jpg'
2023-10-13	13:22:30	3295	[DEBUG]	Query for Media
2023-10-13	13:22:30	3295	[DEBUG]	Executed store
2023-10-13	13:22:30	3295	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37674_supernova_cable_de_lumiere_pour_e-bike_bosch_des_gen__2_150_mm.jpg',`file_url_thumb`='bcprisme/37674_supernova_cable_de_lumiere_pour_e-bike_bosch_des_gen__2_150_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041003'
2023-10-13	13:22:30	3295	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:30	3295	[DEBUG]	Executed store
2023-10-13	13:22:30	3295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862787','1041003','1')
2023-10-13	13:22:30	3295	[DEBUG]	Store product image relation
2023-10-13	13:22:30	3295	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:30	3295	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862787 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:30	3295	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:30	3295	[DEBUG]	Executed store
2023-10-13	13:22:30	3295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862787','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:30	3295	[DEBUG]	Checking manufacturer
2023-10-13	13:22:30	3295	[DEBUG]	Load a row
2023-10-13	13:22:30	3295	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:30	3295	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:30	3295	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:30	3295	[DEBUG]	Executed store
2023-10-13	13:22:30	3295	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:30	3295	[DEBUG]	Manufacturer exists
2023-10-13	13:22:30	3295	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:30	3295	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:30	3295	[DEBUG]	Executed store
2023-10-13	13:22:30	3295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862787','242')
2023-10-13	13:22:30	3295	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:30	3295	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:30	3295	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862787 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:30	3295	[DEBUG]	Store custom available field
2023-10-13	13:22:30	3295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862787,3,'',1)
2023-10-13	13:22:30	3295	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:30	3295	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:30	3295	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862787 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:30	3295	[DEBUG]	Store custom available field
2023-10-13	13:22:30	3295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862787,6,'Unitaire',3)
2023-10-13	13:22:30	3295	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:30	3295	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:30	3295	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862786
2023-10-13	13:22:30	3295	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:30	3295	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862786\":[1862786,8,1,\"choisir la taille\"],\"1862787\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862786
2023-10-13	13:22:30	3295	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:30	3295	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862787
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:30	3296	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field taille
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:30	3296	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:30	3296	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:30	3296	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:30	3296	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:30	3296	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:30	3296	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field published
2023-10-13	13:22:30	3296	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:30	3296	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field override
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:30	3296	[DEBUG]	Use field value for field slug
2023-10-13	13:22:30	3296	[DEBUG]	Process line 3296
2023-10-13	13:22:30	3296	[DEBUG]	Load a row
2023-10-13	13:22:30	3296	[DEBUG]	Processing item: A_8740_1
2023-10-13	13:22:30	3296	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:30	3296	[DEBUG]	Processing product tax
2023-10-13	13:22:30	3296	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:30	3296	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:30	3296	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:30	3296	[DEBUG]	Query for Product
2023-10-13	13:22:30	3296	[DEBUG]	Executed store
2023-10-13	13:22:30	3296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8740_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:30	3296	[DEBUG]	Check product language entry
2023-10-13	13:22:30	3296	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862788
2023-10-13	13:22:30	3296	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:30	3296	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8740_1' AND `virtuemart_product_id` != 1862788
2023-10-13	13:22:30	3296	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:30	3296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862788, 'A_8740_1')
2023-10-13	13:22:30	3296	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:30	3296	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-feu-avant-supernova-e-bike-mini-2-ldm-5-21-v-noir' AND `virtuemart_product_id` != 1862788
2023-10-13	13:22:30	3296	[DEBUG]	Query for ProductLang
2023-10-13	13:22:30	3296	[DEBUG]	Executed store
2023-10-13	13:22:30	3296	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='La deuxième génération améliorée et optimisée de mini feux avant Supernova convainc encore et toujours avec son petit boîtier en aluminium! Un poids imbattable de 55 grammes fait du Mini 2 un classique compact et haut de gamme. Avec son support Low Direct Mount, ce poids plume se monte facilement sur le cintre. En plus de sa lumière exceptionnelle et de sa légèreté, le Mini 2 possède un look élégant. La LED, qui produit une lumière de 205 Lumen, est commandé par le système Softstart qui contribue à augmenter la durée de vie et la constance de l\'éclairage. En combinaison avec la lentille Terraflux 2, elle constitue un système d\'éclairage extrêmement performant de 6 V 3,4 W et 12 V 4 W. Le Mini 2 de Supernova est compatible avec les ports USB 5 V ainsi qu\'avec les systèmes de vélos électriques 6 V et 12 V. Il est homologué pour des vélos électriques allant jusqu\'à 25 km/h.<br><br>Caractéristiques:<br><br>Feu avant séduisant et compact de Supernova<br>Excellente performance grâce au boîtier léger en aluminium<br>Lentille haut de gamme Terraflux 2<br>LED puissante fournit un éclairage de 205 lumen<br>Puissances élevées: 6 V - 3.4 W: 12 V - 4 W<br>Fonction Softstart pour une durée de vie imbattable et un éclairage constant<br>Montage aisé grâce à la technologie Low Direct Mount<br>Tension d\'entrée: 5 – 21 V DC<br>Compatible avec vélos électriques jusqu\'à 25 km/h<br>N° art fourn : 600.003.098',`product_name`='SUPERNOVA Feu avant Supernova E-bike Mini 2 LDM 5-21 V / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-feu-avant-supernova-e-bike-mini-2-ldm-5-21-v-noir' WHERE `virtuemart_product_id` = '1862788'
2023-10-13	13:22:30	3296	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37704_feu_avant_supernova_e-bike_mini_2_ldm_5-21_v.png
2023-10-13	13:22:30	3296	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000003ed
2023-10-13	13:22:30	3296	[DEBUG]	Process image file
2023-10-13	13:22:30	3296	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000003ed
2023-10-13	13:22:30	3296	[DEBUG]	Mime type found: image/png
2023-10-13	13:22:30	3296	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37704_feu_avant_supernova_e-bike_mini_2_ldm_5-21_v.png
2023-10-13	13:22:30	3296	[DEBUG]	Full name target: bcprisme/37704_feu_avant_supernova_e-bike_mini_2_ldm_5-21_v.png
2023-10-13	13:22:31	3296	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:31	3296	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37704_feu_avant_supernova_e-bike_mini_2_ldm_5-21_v.png'
2023-10-13	13:22:31	3296	[DEBUG]	Query for Media
2023-10-13	13:22:31	3296	[DEBUG]	Executed store
2023-10-13	13:22:31	3296	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37704_feu_avant_supernova_e-bike_mini_2_ldm_5-21_v.png',`file_url_thumb`='bcprisme/37704_feu_avant_supernova_e-bike_mini_2_ldm_5-21_v.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1061599'
2023-10-13	13:22:31	3296	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:31	3296	[DEBUG]	Executed store
2023-10-13	13:22:31	3296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862788','1061599','1')
2023-10-13	13:22:31	3296	[DEBUG]	Store product image relation
2023-10-13	13:22:31	3296	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:31	3296	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862788 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:31	3296	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:31	3296	[DEBUG]	Executed store
2023-10-13	13:22:31	3296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862788','0','156.917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:31	3296	[DEBUG]	Checking manufacturer
2023-10-13	13:22:31	3296	[DEBUG]	Load a row
2023-10-13	13:22:31	3296	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:31	3296	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:31	3296	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:31	3296	[DEBUG]	Executed store
2023-10-13	13:22:31	3296	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:31	3296	[DEBUG]	Manufacturer exists
2023-10-13	13:22:31	3296	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:31	3296	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:31	3296	[DEBUG]	Executed store
2023-10-13	13:22:31	3296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862788','242')
2023-10-13	13:22:31	3296	[DEBUG]	Find the custom field ID
2023-10-13	13:22:31	3296	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:31	3296	[DEBUG]	No custom field ID found
2023-10-13	13:22:31	3296	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:31	3296	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:22:31	3296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862788 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:31	3296	[DEBUG]	Store custom available field
2023-10-13	13:22:31	3296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862788,3,'29.8169444444444',1)
2023-10-13	13:22:31	3296	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:31	3296	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:31	3296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862788 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:31	3296	[DEBUG]	Store custom available field
2023-10-13	13:22:31	3296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862788,6,'choisir la taille',3)
2023-10-13	13:22:31	3296	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:31	3296	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:31	3296	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:31	3296	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:31	3296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862788 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:31	3296	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:31	3296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862788,8,1)
2023-10-13	13:22:31	3296	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:31	3296	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862788\":[1862788,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862788
2023-10-13	13:22:31	3296	[DEBUG]	Checking category
2023-10-13	13:22:31	3296	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:31	3296	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862788
2023-10-13	13:22:31	3296	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:31	3296	[DEBUG]	Executed store
2023-10-13	13:22:31	3296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862788','7374')
2023-10-13	13:22:31	3296	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:31	3296	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862788 AND `virtuemart_category_id` NOT IN (7374)
2023-10-13	13:22:31	3296	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:31	3296	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862788
2023-10-13	13:22:31	3297	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:31	3297	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:31	3297	[DEBUG]	Use field value for field taille
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:31	3297	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:31	3297	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:31	3297	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:31	3297	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:31	3297	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:31	3297	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:31	3297	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:31	3297	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:31	3297	[DEBUG]	Use field value for field published
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:31	3297	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field override
2023-10-13	13:22:31	3297	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:31	3297	[DEBUG]	Use field value for field slug
2023-10-13	13:22:31	3297	[DEBUG]	Process line 3297
2023-10-13	13:22:31	3297	[DEBUG]	Load a row
2023-10-13	13:22:31	3297	[DEBUG]	Processing item: 4260224791290
2023-10-13	13:22:31	3297	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:31	3297	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:31	3297	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8740_1'
2023-10-13	13:22:31	3297	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:31	3297	[DEBUG]	Processing product tax
2023-10-13	13:22:31	3297	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:31	3297	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:31	3297	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:31	3297	[DEBUG]	Query for Product
2023-10-13	13:22:31	3297	[DEBUG]	Executed store
2023-10-13	13:22:31	3297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862788','4260224791290','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:31	3297	[DEBUG]	No parent found
2023-10-13	13:22:31	3297	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862788 AND customfield_value = 'stockable'
2023-10-13	13:22:31	3297	[DEBUG]	Check product language entry
2023-10-13	13:22:31	3297	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862789
2023-10-13	13:22:31	3297	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:31	3297	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224791290' AND `virtuemart_product_id` != 1862789
2023-10-13	13:22:31	3297	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:31	3297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862789, '4260224791290')
2023-10-13	13:22:31	3297	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:31	3297	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-feu-avant-supernova-e-bike-mini-2-ldm-5-21-v-noir-unitaire' AND `virtuemart_product_id` != 1862789
2023-10-13	13:22:31	3297	[DEBUG]	Query for ProductLang
2023-10-13	13:22:31	3297	[DEBUG]	Executed store
2023-10-13	13:22:31	3297	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Feu avant Supernova E-bike Mini 2 LDM 5-21 V / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-feu-avant-supernova-e-bike-mini-2-ldm-5-21-v-noir-unitaire' WHERE `virtuemart_product_id` = '1862789'
2023-10-13	13:22:31	3297	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37704_feu_avant_supernova_e-bike_mini_2_ldm_5-21_v.png
2023-10-13	13:22:31	3297	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000003ed
2023-10-13	13:22:31	3297	[DEBUG]	Process image file
2023-10-13	13:22:31	3297	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000003ed
2023-10-13	13:22:31	3297	[DEBUG]	Mime type found: image/png
2023-10-13	13:22:31	3297	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37704_feu_avant_supernova_e-bike_mini_2_ldm_5-21_v.png
2023-10-13	13:22:31	3297	[DEBUG]	Full name target: bcprisme/37704_feu_avant_supernova_e-bike_mini_2_ldm_5-21_v.png
2023-10-13	13:22:32	3297	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:32	3297	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37704_feu_avant_supernova_e-bike_mini_2_ldm_5-21_v.png'
2023-10-13	13:22:32	3297	[DEBUG]	Query for Media
2023-10-13	13:22:32	3297	[DEBUG]	Executed store
2023-10-13	13:22:32	3297	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37704_feu_avant_supernova_e-bike_mini_2_ldm_5-21_v.png',`file_url_thumb`='bcprisme/37704_feu_avant_supernova_e-bike_mini_2_ldm_5-21_v.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1061599'
2023-10-13	13:22:32	3297	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:32	3297	[DEBUG]	Executed store
2023-10-13	13:22:32	3297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862789','1061599','1')
2023-10-13	13:22:32	3297	[DEBUG]	Store product image relation
2023-10-13	13:22:32	3297	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:32	3297	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862789 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:32	3297	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:32	3297	[DEBUG]	Executed store
2023-10-13	13:22:32	3297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862789','0','156.917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:32	3297	[DEBUG]	Checking manufacturer
2023-10-13	13:22:32	3297	[DEBUG]	Load a row
2023-10-13	13:22:32	3297	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:32	3297	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:32	3297	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:32	3297	[DEBUG]	Executed store
2023-10-13	13:22:32	3297	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:32	3297	[DEBUG]	Manufacturer exists
2023-10-13	13:22:32	3297	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:32	3297	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:32	3297	[DEBUG]	Executed store
2023-10-13	13:22:32	3297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862789','242')
2023-10-13	13:22:32	3297	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:32	3297	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:32	3297	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862789 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:32	3297	[DEBUG]	Store custom available field
2023-10-13	13:22:32	3297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862789,3,'',1)
2023-10-13	13:22:32	3297	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:32	3297	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:32	3297	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862789 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:32	3297	[DEBUG]	Store custom available field
2023-10-13	13:22:32	3297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862789,6,'Unitaire',3)
2023-10-13	13:22:32	3297	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:32	3297	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:32	3297	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862788
2023-10-13	13:22:32	3297	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:32	3297	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862788\":[1862788,8,1,\"choisir la taille\"],\"1862789\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862788
2023-10-13	13:22:32	3297	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:32	3297	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862789
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:32	3298	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field taille
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:32	3298	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:32	3298	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:32	3298	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:32	3298	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:32	3298	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:32	3298	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field published
2023-10-13	13:22:32	3298	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:32	3298	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field override
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:32	3298	[DEBUG]	Use field value for field slug
2023-10-13	13:22:32	3298	[DEBUG]	Process line 3298
2023-10-13	13:22:32	3298	[DEBUG]	Load a row
2023-10-13	13:22:32	3298	[DEBUG]	Processing item: A_8981_1
2023-10-13	13:22:32	3298	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:32	3298	[DEBUG]	Processing product tax
2023-10-13	13:22:32	3298	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:32	3298	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:32	3298	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:32	3298	[DEBUG]	Query for Product
2023-10-13	13:22:32	3298	[DEBUG]	Executed store
2023-10-13	13:22:32	3298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8981_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:32	3298	[DEBUG]	Check product language entry
2023-10-13	13:22:32	3298	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862790
2023-10-13	13:22:32	3298	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:32	3298	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8981_1' AND `virtuemart_product_id` != 1862790
2023-10-13	13:22:32	3298	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:32	3298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862790, 'A_8981_1')
2023-10-13	13:22:32	3298	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:32	3298	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-cable-d-alimentation-supernova-power-connector-giant-500-mm-noir' AND `virtuemart_product_id` != 1862790
2023-10-13	13:22:32	3298	[DEBUG]	Query for ProductLang
2023-10-13	13:22:32	3298	[DEBUG]	Executed store
2023-10-13	13:22:32	3298	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.118',`product_name`='SUPERNOVA Câble d\'alimentation supernova Power Connector giant 500 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-cable-d-alimentation-supernova-power-connector-giant-500-mm-noir' WHERE `virtuemart_product_id` = '1862790'
2023-10-13	13:22:32	3298	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37983_cable_d_alimentation_supernova_power_connector_giant_500_mm.jpg
2023-10-13	13:22:32	3298	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:22:32	3298	[DEBUG]	Process image file
2023-10-13	13:22:32	3298	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:22:32	3298	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:32	3298	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37983_cable_d_alimentation_supernova_power_connector_giant_500_mm.jpg
2023-10-13	13:22:32	3298	[DEBUG]	Full name target: bcprisme/37983_cable_d_alimentation_supernova_power_connector_giant_500_mm.jpg
2023-10-13	13:22:33	3298	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:33	3298	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37983_cable_d_alimentation_supernova_power_connector_giant_500_mm.jpg'
2023-10-13	13:22:33	3298	[DEBUG]	Query for Media
2023-10-13	13:22:33	3298	[DEBUG]	Executed store
2023-10-13	13:22:33	3298	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37983_cable_d_alimentation_supernova_power_connector_giant_500_mm.jpg',`file_url_thumb`='bcprisme/37983_cable_d_alimentation_supernova_power_connector_giant_500_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1196659'
2023-10-13	13:22:33	3298	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:33	3298	[DEBUG]	Executed store
2023-10-13	13:22:33	3298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862790','1196659','1')
2023-10-13	13:22:33	3298	[DEBUG]	Store product image relation
2023-10-13	13:22:33	3298	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:33	3298	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862790 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:33	3298	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:33	3298	[DEBUG]	Executed store
2023-10-13	13:22:33	3298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862790','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:33	3298	[DEBUG]	Checking manufacturer
2023-10-13	13:22:33	3298	[DEBUG]	Load a row
2023-10-13	13:22:33	3298	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:33	3298	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:33	3298	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:33	3298	[DEBUG]	Executed store
2023-10-13	13:22:33	3298	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:33	3298	[DEBUG]	Manufacturer exists
2023-10-13	13:22:33	3298	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:33	3298	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:33	3298	[DEBUG]	Executed store
2023-10-13	13:22:33	3298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862790','242')
2023-10-13	13:22:33	3298	[DEBUG]	Find the custom field ID
2023-10-13	13:22:33	3298	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:33	3298	[DEBUG]	No custom field ID found
2023-10-13	13:22:33	3298	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:33	3298	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:22:33	3298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862790 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:33	3298	[DEBUG]	Store custom available field
2023-10-13	13:22:33	3298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862790,3,'29.8169444444444',1)
2023-10-13	13:22:33	3298	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:33	3298	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:33	3298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862790 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:33	3298	[DEBUG]	Store custom available field
2023-10-13	13:22:33	3298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862790,6,'choisir la taille',3)
2023-10-13	13:22:33	3298	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:33	3298	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:33	3298	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:33	3298	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:33	3298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862790 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:33	3298	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:33	3298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862790,8,1)
2023-10-13	13:22:33	3298	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:33	3298	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862790\":[1862790,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862790
2023-10-13	13:22:33	3298	[DEBUG]	Checking category
2023-10-13	13:22:33	3298	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:33	3298	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862790
2023-10-13	13:22:33	3298	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:33	3298	[DEBUG]	Executed store
2023-10-13	13:22:33	3298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862790','7374')
2023-10-13	13:22:33	3298	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:33	3298	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862790 AND `virtuemart_category_id` NOT IN (7374)
2023-10-13	13:22:33	3298	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:33	3298	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862790
2023-10-13	13:22:33	3299	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:33	3299	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:33	3299	[DEBUG]	Use field value for field taille
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:33	3299	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:33	3299	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:33	3299	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:33	3299	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:33	3299	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:33	3299	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:33	3299	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:33	3299	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:33	3299	[DEBUG]	Use field value for field published
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:33	3299	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field override
2023-10-13	13:22:33	3299	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:33	3299	[DEBUG]	Use field value for field slug
2023-10-13	13:22:33	3299	[DEBUG]	Process line 3299
2023-10-13	13:22:33	3299	[DEBUG]	Load a row
2023-10-13	13:22:33	3299	[DEBUG]	Processing item: 4260224791542
2023-10-13	13:22:33	3299	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:33	3299	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:33	3299	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8981_1'
2023-10-13	13:22:33	3299	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:33	3299	[DEBUG]	Processing product tax
2023-10-13	13:22:33	3299	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:33	3299	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:33	3299	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:33	3299	[DEBUG]	Query for Product
2023-10-13	13:22:33	3299	[DEBUG]	Executed store
2023-10-13	13:22:33	3299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862790','4260224791542','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:33	3299	[DEBUG]	No parent found
2023-10-13	13:22:33	3299	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862790 AND customfield_value = 'stockable'
2023-10-13	13:22:33	3299	[DEBUG]	Check product language entry
2023-10-13	13:22:33	3299	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862791
2023-10-13	13:22:33	3299	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:33	3299	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224791542' AND `virtuemart_product_id` != 1862791
2023-10-13	13:22:33	3299	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:33	3299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862791, '4260224791542')
2023-10-13	13:22:33	3299	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:33	3299	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-cable-d-alimentation-supernova-power-connector-giant-500-mm-noir-unitaire' AND `virtuemart_product_id` != 1862791
2023-10-13	13:22:33	3299	[DEBUG]	Query for ProductLang
2023-10-13	13:22:33	3299	[DEBUG]	Executed store
2023-10-13	13:22:33	3299	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Câble d\'alimentation supernova Power Connector giant 500 mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-cable-d-alimentation-supernova-power-connector-giant-500-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862791'
2023-10-13	13:22:33	3299	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37983_cable_d_alimentation_supernova_power_connector_giant_500_mm.jpg
2023-10-13	13:22:33	3299	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:22:33	3299	[DEBUG]	Process image file
2023-10-13	13:22:33	3299	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:22:33	3299	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:33	3299	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37983_cable_d_alimentation_supernova_power_connector_giant_500_mm.jpg
2023-10-13	13:22:33	3299	[DEBUG]	Full name target: bcprisme/37983_cable_d_alimentation_supernova_power_connector_giant_500_mm.jpg
2023-10-13	13:22:34	3299	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:34	3299	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37983_cable_d_alimentation_supernova_power_connector_giant_500_mm.jpg'
2023-10-13	13:22:34	3299	[DEBUG]	Query for Media
2023-10-13	13:22:34	3299	[DEBUG]	Executed store
2023-10-13	13:22:34	3299	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37983_cable_d_alimentation_supernova_power_connector_giant_500_mm.jpg',`file_url_thumb`='bcprisme/37983_cable_d_alimentation_supernova_power_connector_giant_500_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1196659'
2023-10-13	13:22:34	3299	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:34	3299	[DEBUG]	Executed store
2023-10-13	13:22:34	3299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862791','1196659','1')
2023-10-13	13:22:34	3299	[DEBUG]	Store product image relation
2023-10-13	13:22:34	3299	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:34	3299	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862791 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:34	3299	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:34	3299	[DEBUG]	Executed store
2023-10-13	13:22:34	3299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862791','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:34	3299	[DEBUG]	Checking manufacturer
2023-10-13	13:22:34	3299	[DEBUG]	Load a row
2023-10-13	13:22:34	3299	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:34	3299	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:34	3299	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:34	3299	[DEBUG]	Executed store
2023-10-13	13:22:34	3299	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:22:34	3299	[DEBUG]	Manufacturer exists
2023-10-13	13:22:34	3299	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:22:34	3299	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:34	3299	[DEBUG]	Executed store
2023-10-13	13:22:34	3299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862791','242')
2023-10-13	13:22:34	3299	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:34	3299	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:34	3299	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862791 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:34	3299	[DEBUG]	Store custom available field
2023-10-13	13:22:34	3299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862791,3,'',1)
2023-10-13	13:22:34	3299	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:34	3299	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:34	3299	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862791 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:34	3299	[DEBUG]	Store custom available field
2023-10-13	13:22:34	3299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862791,6,'Unitaire',3)
2023-10-13	13:22:34	3299	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:34	3299	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:34	3299	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862790
2023-10-13	13:22:34	3299	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:34	3299	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862790\":[1862790,8,1,\"choisir la taille\"],\"1862791\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862790
2023-10-13	13:22:34	3299	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:34	3299	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862791
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:34	3300	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field taille
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:34	3300	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:34	3300	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:34	3300	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:34	3300	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:34	3300	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:34	3300	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field published
2023-10-13	13:22:34	3300	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:34	3300	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field override
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:34	3300	[DEBUG]	Use field value for field slug
2023-10-13	13:22:34	3300	[DEBUG]	Process line 3300
2023-10-13	13:22:34	3300	[DEBUG]	Load a row
2023-10-13	13:22:34	3300	[DEBUG]	Processing item: A_862_22
2023-10-13	13:22:34	3300	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:34	3300	[DEBUG]	Processing product tax
2023-10-13	13:22:34	3300	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:34	3300	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:34	3300	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:34	3300	[DEBUG]	Query for Product
2023-10-13	13:22:34	3300	[DEBUG]	Executed store
2023-10-13	13:22:34	3300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_862_22','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0')
2023-10-13	13:22:34	3300	[DEBUG]	Check product language entry
2023-10-13	13:22:34	3300	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862792
2023-10-13	13:22:34	3300	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:34	3300	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_862_22' AND `virtuemart_product_id` != 1862792
2023-10-13	13:22:34	3300	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:34	3300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862792, 'A_862_22')
2023-10-13	13:22:34	3300	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:34	3300	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-bande-reflechissante-bleue-bleu' AND `virtuemart_product_id` != 1862792
2023-10-13	13:22:34	3300	[DEBUG]	Query for ProductLang
2023-10-13	13:22:34	3300	[DEBUG]	Executed store
2023-10-13	13:22:34	3300	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pliable<br>N° art fourn : REFBLUE',`product_name`='MLV-Bike Bande réfléchissante bleue / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-bande-reflechissante-bleue-bleu' WHERE `virtuemart_product_id` = '1862792'
2023-10-13	13:22:34	3300	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1147.jpg has not been found.
2023-10-13	13:22:34	3300	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:34	3300	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862792 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:34	3300	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:34	3300	[DEBUG]	Executed store
2023-10-13	13:22:34	3300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862792','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:20:56','1593','2023-10-13 13:20:56','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:34	3300	[DEBUG]	Checking manufacturer
2023-10-13	13:22:34	3300	[DEBUG]	Load a row
2023-10-13	13:22:34	3300	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:34	3300	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:34	3300	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:34	3300	[DEBUG]	Executed store
2023-10-13	13:22:34	3300	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:34	3300	[DEBUG]	Manufacturer exists
2023-10-13	13:22:34	3300	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:22:34	3300	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:34	3300	[DEBUG]	Executed store
2023-10-13	13:22:34	3300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862792','2')
2023-10-13	13:22:34	3300	[DEBUG]	Find the custom field ID
2023-10-13	13:22:34	3300	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:34	3300	[DEBUG]	No custom field ID found
2023-10-13	13:22:34	3300	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:34	3300	[DEBUG]	Get existing row with customfield value 2.99166666666667
2023-10-13	13:22:34	3300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862792 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:34	3300	[DEBUG]	Store custom available field
2023-10-13	13:22:34	3300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862792,3,'2.99166666666667',1)
2023-10-13	13:22:34	3300	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:34	3300	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:34	3300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862792 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:34	3300	[DEBUG]	Store custom available field
2023-10-13	13:22:34	3300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862792,6,'choisir la taille',3)
2023-10-13	13:22:34	3300	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:34	3300	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:34	3300	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:34	3300	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:34	3300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862792 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:34	3300	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:34	3300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862792,8,1)
2023-10-13	13:22:34	3300	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:34	3300	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862792\":[1862792,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862792
2023-10-13	13:22:34	3300	[DEBUG]	Checking category
2023-10-13	13:22:34	3300	[DEBUG]	Check if category path exists: LUMIERES - LAMPEN
2023-10-13	13:22:34	3300	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'LUMIERES - LAMPEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7373
2023-10-13	13:22:34	3300	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:34	3300	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862792
2023-10-13	13:22:34	3300	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:34	3300	[DEBUG]	Executed store
2023-10-13	13:22:34	3300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862792','7375')
2023-10-13	13:22:34	3300	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:34	3300	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862792 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:22:34	3300	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:34	3300	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862792
2023-10-13	13:22:54	3300	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:22:54	3300	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:22:54	3300	[DEBUG]	Load the fields to process
2023-10-13	13:22:54	3300	[DEBUG]	Setup field: product_sku
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: taille
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: product_name
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: category_path
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: product_price
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: product_override_price
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: product_tax
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: file_url
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: product_desc
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: product_availability
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: product_weight
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: product_unit
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: related_products
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: product_special
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: published
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: metadesc
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: metakey
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: custom_title
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: custom_value
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: custom_param
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: override
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: public_price
2023-10-13	13:22:55	3300	[DEBUG]	Setup field: slug
2023-10-13	13:22:55	3300	[DEBUG]	Use the file for configuration
2023-10-13	13:22:55	3300	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:22:55	3300	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:22:55	3300	[DEBUG]	Load the custom fields
2023-10-13	13:22:55	3300	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:22:55	3300	[DEBUG]	Load stockable custom fields
2023-10-13	13:22:55	3300	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:22:55	3300	[DEBUG]	Load custom fields for all
2023-10-13	13:22:55	3300	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:22:55	3301	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:55	3301	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:55	3301	[DEBUG]	Use field value for field taille
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:55	3301	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:55	3301	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:55	3301	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:55	3301	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:55	3301	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:55	3301	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:55	3301	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:55	3301	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:55	3301	[DEBUG]	Use field value for field published
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:55	3301	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field override
2023-10-13	13:22:55	3301	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:55	3301	[DEBUG]	Use field value for field slug
2023-10-13	13:22:55	3301	[DEBUG]	Process line 3301
2023-10-13	13:22:55	3301	[DEBUG]	Check if the vendor exists
2023-10-13	13:22:55	3301	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '1000000012378'
2023-10-13	13:22:55	3301	[DEBUG]	Load a row
2023-10-13	13:22:55	3301	[DEBUG]	Processing item: 1000000012378
2023-10-13	13:22:55	3301	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:55	3301	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:55	3301	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_862_22'
2023-10-13	13:22:55	3301	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:55	3301	[DEBUG]	Processing product tax
2023-10-13	13:22:55	3301	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:55	3301	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:55	3301	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:55	3301	[DEBUG]	Query for Product
2023-10-13	13:22:55	3301	[DEBUG]	Executed store
2023-10-13	13:22:55	3301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862792','1000000012378','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:22:55	3301	[DEBUG]	No parent found
2023-10-13	13:22:55	3301	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862792 AND customfield_value = 'stockable'
2023-10-13	13:22:55	3301	[DEBUG]	Check product language entry
2023-10-13	13:22:55	3301	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862793
2023-10-13	13:22:55	3301	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3301	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000012378' AND `virtuemart_product_id` != 1862793
2023-10-13	13:22:55	3301	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:55	3301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862793, '1000000012378')
2023-10-13	13:22:55	3301	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3301	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-bande-reflechissante-bleue-bleu-unitaire' AND `virtuemart_product_id` != 1862793
2023-10-13	13:22:55	3301	[DEBUG]	Query for ProductLang
2023-10-13	13:22:55	3301	[DEBUG]	Executed store
2023-10-13	13:22:55	3301	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Bande réfléchissante bleue / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-bande-reflechissante-bleue-bleu-unitaire' WHERE `virtuemart_product_id` = '1862793'
2023-10-13	13:22:55	3301	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1147.jpg has not been found.
2023-10-13	13:22:55	3301	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:55	3301	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862793 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:55	3301	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:55	3301	[DEBUG]	Executed store
2023-10-13	13:22:55	3301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862793','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:55	3301	[DEBUG]	Checking manufacturer
2023-10-13	13:22:55	3301	[DEBUG]	Load a row
2023-10-13	13:22:55	3301	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:55	3301	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:55	3301	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:55	3301	[DEBUG]	Executed store
2023-10-13	13:22:55	3301	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:55	3301	[DEBUG]	Manufacturer exists
2023-10-13	13:22:55	3301	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:22:55	3301	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:55	3301	[DEBUG]	Executed store
2023-10-13	13:22:55	3301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862793','2')
2023-10-13	13:22:55	3301	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:55	3301	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:55	3301	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862793 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:55	3301	[DEBUG]	Store custom available field
2023-10-13	13:22:55	3301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862793,3,'',1)
2023-10-13	13:22:55	3301	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:55	3301	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:55	3301	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862793 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:55	3301	[DEBUG]	Store custom available field
2023-10-13	13:22:55	3301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862793,6,'Unitaire',3)
2023-10-13	13:22:55	3301	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:55	3301	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:55	3301	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862792
2023-10-13	13:22:55	3301	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:55	3301	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862792\":[1862792,8,1,\"choisir la taille\"],\"1862793\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862792
2023-10-13	13:22:55	3301	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:55	3301	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862793
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:55	3302	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field taille
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:55	3302	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:55	3302	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:55	3302	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:55	3302	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:55	3302	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:55	3302	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field published
2023-10-13	13:22:55	3302	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:55	3302	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field override
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:55	3302	[DEBUG]	Use field value for field slug
2023-10-13	13:22:55	3302	[DEBUG]	Process line 3302
2023-10-13	13:22:55	3302	[DEBUG]	Load a row
2023-10-13	13:22:55	3302	[DEBUG]	Processing item: A_863_40
2023-10-13	13:22:55	3302	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:55	3302	[DEBUG]	Processing product tax
2023-10-13	13:22:55	3302	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:55	3302	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:55	3302	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:55	3302	[DEBUG]	Query for Product
2023-10-13	13:22:55	3302	[DEBUG]	Executed store
2023-10-13	13:22:55	3302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_863_40','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:22:55	3302	[DEBUG]	Check product language entry
2023-10-13	13:22:55	3302	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862794
2023-10-13	13:22:55	3302	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3302	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_863_40' AND `virtuemart_product_id` != 1862794
2023-10-13	13:22:55	3302	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:55	3302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862794, 'A_863_40')
2023-10-13	13:22:55	3302	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3302	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-bande-reflechissante-verte-vert' AND `virtuemart_product_id` != 1862794
2023-10-13	13:22:55	3302	[DEBUG]	Query for ProductLang
2023-10-13	13:22:55	3302	[DEBUG]	Executed store
2023-10-13	13:22:55	3302	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pliable<br>N° art fourn : REFGREEN',`product_name`='MLV-Bike Bande réfléchissante verte / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-bande-reflechissante-verte-vert' WHERE `virtuemart_product_id` = '1862794'
2023-10-13	13:22:55	3302	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1148.jpg has not been found.
2023-10-13	13:22:55	3302	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:55	3302	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862794 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:55	3302	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:55	3302	[DEBUG]	Executed store
2023-10-13	13:22:55	3302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862794','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:55	3302	[DEBUG]	Checking manufacturer
2023-10-13	13:22:55	3302	[DEBUG]	Load a row
2023-10-13	13:22:55	3302	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:55	3302	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:55	3302	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:55	3302	[DEBUG]	Executed store
2023-10-13	13:22:55	3302	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:55	3302	[DEBUG]	Manufacturer exists
2023-10-13	13:22:55	3302	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:22:55	3302	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:55	3302	[DEBUG]	Executed store
2023-10-13	13:22:55	3302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862794','2')
2023-10-13	13:22:55	3302	[DEBUG]	Find the custom field ID
2023-10-13	13:22:55	3302	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:55	3302	[DEBUG]	No custom field ID found
2023-10-13	13:22:55	3302	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:55	3302	[DEBUG]	Get existing row with customfield value 2.99166666666667
2023-10-13	13:22:55	3302	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862794 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:55	3302	[DEBUG]	Store custom available field
2023-10-13	13:22:55	3302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862794,3,'2.99166666666667',1)
2023-10-13	13:22:55	3302	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:55	3302	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:55	3302	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862794 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:55	3302	[DEBUG]	Store custom available field
2023-10-13	13:22:55	3302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862794,6,'choisir la taille',3)
2023-10-13	13:22:55	3302	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:55	3302	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:55	3302	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:55	3302	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:55	3302	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862794 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:55	3302	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:55	3302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862794,8,1)
2023-10-13	13:22:55	3302	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:55	3302	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862794\":[1862794,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862794
2023-10-13	13:22:55	3302	[DEBUG]	Checking category
2023-10-13	13:22:55	3302	[DEBUG]	Check if category path exists: LUMIERES - LAMPEN
2023-10-13	13:22:55	3302	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'LUMIERES - LAMPEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:22:55	3302	[DEBUG]	Check if category path exists: LUMIERES - LAMPEN
2023-10-13	13:22:55	3302	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'LUMIERES - LAMPEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7373
2023-10-13	13:22:55	3302	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:55	3302	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862794
2023-10-13	13:22:55	3302	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:55	3302	[DEBUG]	Executed store
2023-10-13	13:22:55	3302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862794','7375')
2023-10-13	13:22:55	3302	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:55	3302	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862794 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:22:55	3302	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:55	3302	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862794
2023-10-13	13:22:55	3303	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:55	3303	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:55	3303	[DEBUG]	Use field value for field taille
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:55	3303	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:55	3303	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:55	3303	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:55	3303	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:55	3303	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:55	3303	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:55	3303	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:55	3303	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:55	3303	[DEBUG]	Use field value for field published
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:55	3303	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field override
2023-10-13	13:22:55	3303	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:55	3303	[DEBUG]	Use field value for field slug
2023-10-13	13:22:55	3303	[DEBUG]	Process line 3303
2023-10-13	13:22:55	3303	[DEBUG]	Load a row
2023-10-13	13:22:55	3303	[DEBUG]	Processing item: 1000000012385
2023-10-13	13:22:55	3303	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:55	3303	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:55	3303	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_863_40'
2023-10-13	13:22:55	3303	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:55	3303	[DEBUG]	Processing product tax
2023-10-13	13:22:55	3303	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:55	3303	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:55	3303	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:55	3303	[DEBUG]	Query for Product
2023-10-13	13:22:55	3303	[DEBUG]	Executed store
2023-10-13	13:22:55	3303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862794','1000000012385','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:22:55	3303	[DEBUG]	No parent found
2023-10-13	13:22:55	3303	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862794 AND customfield_value = 'stockable'
2023-10-13	13:22:55	3303	[DEBUG]	Check product language entry
2023-10-13	13:22:55	3303	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862795
2023-10-13	13:22:55	3303	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3303	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000012385' AND `virtuemart_product_id` != 1862795
2023-10-13	13:22:55	3303	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:55	3303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862795, '1000000012385')
2023-10-13	13:22:55	3303	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3303	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-bande-reflechissante-verte-vert-unitaire' AND `virtuemart_product_id` != 1862795
2023-10-13	13:22:55	3303	[DEBUG]	Query for ProductLang
2023-10-13	13:22:55	3303	[DEBUG]	Executed store
2023-10-13	13:22:55	3303	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Bande réfléchissante verte / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-bande-reflechissante-verte-vert-unitaire' WHERE `virtuemart_product_id` = '1862795'
2023-10-13	13:22:55	3303	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1148.jpg has not been found.
2023-10-13	13:22:55	3303	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:55	3303	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862795 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:55	3303	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:55	3303	[DEBUG]	Executed store
2023-10-13	13:22:55	3303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862795','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:55	3303	[DEBUG]	Checking manufacturer
2023-10-13	13:22:55	3303	[DEBUG]	Load a row
2023-10-13	13:22:55	3303	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:55	3303	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:55	3303	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:55	3303	[DEBUG]	Executed store
2023-10-13	13:22:55	3303	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:55	3303	[DEBUG]	Manufacturer exists
2023-10-13	13:22:55	3303	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:22:55	3303	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:55	3303	[DEBUG]	Executed store
2023-10-13	13:22:55	3303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862795','2')
2023-10-13	13:22:55	3303	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:55	3303	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:55	3303	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862795 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:55	3303	[DEBUG]	Store custom available field
2023-10-13	13:22:55	3303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862795,3,'',1)
2023-10-13	13:22:55	3303	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:55	3303	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:55	3303	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862795 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:55	3303	[DEBUG]	Store custom available field
2023-10-13	13:22:55	3303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862795,6,'Unitaire',3)
2023-10-13	13:22:55	3303	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:55	3303	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:55	3303	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862794
2023-10-13	13:22:55	3303	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:55	3303	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862794\":[1862794,8,1,\"choisir la taille\"],\"1862795\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862794
2023-10-13	13:22:55	3303	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:55	3303	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862795
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:55	3304	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field taille
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:55	3304	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:55	3304	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:55	3304	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:55	3304	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:55	3304	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:55	3304	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field published
2023-10-13	13:22:55	3304	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:55	3304	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field override
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:55	3304	[DEBUG]	Use field value for field slug
2023-10-13	13:22:55	3304	[DEBUG]	Process line 3304
2023-10-13	13:22:55	3304	[DEBUG]	Load a row
2023-10-13	13:22:55	3304	[DEBUG]	Processing item: A_864_7
2023-10-13	13:22:55	3304	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:55	3304	[DEBUG]	Processing product tax
2023-10-13	13:22:55	3304	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:55	3304	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:55	3304	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:55	3304	[DEBUG]	Query for Product
2023-10-13	13:22:55	3304	[DEBUG]	Executed store
2023-10-13	13:22:55	3304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_864_7','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:22:55	3304	[DEBUG]	Check product language entry
2023-10-13	13:22:55	3304	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862796
2023-10-13	13:22:55	3304	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3304	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_864_7' AND `virtuemart_product_id` != 1862796
2023-10-13	13:22:55	3304	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:55	3304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862796, 'A_864_7')
2023-10-13	13:22:55	3304	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3304	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-bande-reflechissante-rouge-rouge' AND `virtuemart_product_id` != 1862796
2023-10-13	13:22:55	3304	[DEBUG]	Query for ProductLang
2023-10-13	13:22:55	3304	[DEBUG]	Executed store
2023-10-13	13:22:55	3304	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pliable<br>N° art fourn : REFRED',`product_name`='MLV-Bike Bande réfléchissante rouge / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-bande-reflechissante-rouge-rouge' WHERE `virtuemart_product_id` = '1862796'
2023-10-13	13:22:55	3304	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1149.jpg has not been found.
2023-10-13	13:22:55	3304	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:55	3304	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862796 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:55	3304	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:55	3304	[DEBUG]	Executed store
2023-10-13	13:22:55	3304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862796','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:55	3304	[DEBUG]	Checking manufacturer
2023-10-13	13:22:55	3304	[DEBUG]	Load a row
2023-10-13	13:22:55	3304	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:55	3304	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:55	3304	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:55	3304	[DEBUG]	Executed store
2023-10-13	13:22:55	3304	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:55	3304	[DEBUG]	Manufacturer exists
2023-10-13	13:22:55	3304	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:22:55	3304	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:55	3304	[DEBUG]	Executed store
2023-10-13	13:22:55	3304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862796','2')
2023-10-13	13:22:55	3304	[DEBUG]	Find the custom field ID
2023-10-13	13:22:55	3304	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:55	3304	[DEBUG]	No custom field ID found
2023-10-13	13:22:55	3304	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:55	3304	[DEBUG]	Get existing row with customfield value 2.99166666666667
2023-10-13	13:22:55	3304	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862796 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:55	3304	[DEBUG]	Store custom available field
2023-10-13	13:22:55	3304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862796,3,'2.99166666666667',1)
2023-10-13	13:22:55	3304	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:55	3304	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:55	3304	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862796 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:55	3304	[DEBUG]	Store custom available field
2023-10-13	13:22:55	3304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862796,6,'choisir la taille',3)
2023-10-13	13:22:55	3304	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:55	3304	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:55	3304	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:55	3304	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:55	3304	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862796 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:55	3304	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:55	3304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862796,8,1)
2023-10-13	13:22:55	3304	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:55	3304	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862796\":[1862796,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862796
2023-10-13	13:22:55	3304	[DEBUG]	Checking category
2023-10-13	13:22:55	3304	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:55	3304	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862796
2023-10-13	13:22:55	3304	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:55	3304	[DEBUG]	Executed store
2023-10-13	13:22:55	3304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862796','7375')
2023-10-13	13:22:55	3304	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:55	3304	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862796 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:22:55	3304	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:55	3304	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862796
2023-10-13	13:22:55	3305	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:55	3305	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:55	3305	[DEBUG]	Use field value for field taille
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:55	3305	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:55	3305	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:55	3305	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:55	3305	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:55	3305	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:55	3305	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:55	3305	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:55	3305	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:55	3305	[DEBUG]	Use field value for field published
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:55	3305	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field override
2023-10-13	13:22:55	3305	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:55	3305	[DEBUG]	Use field value for field slug
2023-10-13	13:22:55	3305	[DEBUG]	Process line 3305
2023-10-13	13:22:55	3305	[DEBUG]	Load a row
2023-10-13	13:22:55	3305	[DEBUG]	Processing item: 1000000012392
2023-10-13	13:22:55	3305	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:55	3305	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:55	3305	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_864_7'
2023-10-13	13:22:55	3305	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:55	3305	[DEBUG]	Processing product tax
2023-10-13	13:22:55	3305	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:55	3305	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:55	3305	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:55	3305	[DEBUG]	Query for Product
2023-10-13	13:22:55	3305	[DEBUG]	Executed store
2023-10-13	13:22:55	3305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862796','1000000012392','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:22:55	3305	[DEBUG]	No parent found
2023-10-13	13:22:55	3305	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862796 AND customfield_value = 'stockable'
2023-10-13	13:22:55	3305	[DEBUG]	Check product language entry
2023-10-13	13:22:55	3305	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862797
2023-10-13	13:22:55	3305	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3305	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000012392' AND `virtuemart_product_id` != 1862797
2023-10-13	13:22:55	3305	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:55	3305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862797, '1000000012392')
2023-10-13	13:22:55	3305	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3305	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-bande-reflechissante-rouge-rouge-unitaire' AND `virtuemart_product_id` != 1862797
2023-10-13	13:22:55	3305	[DEBUG]	Query for ProductLang
2023-10-13	13:22:55	3305	[DEBUG]	Executed store
2023-10-13	13:22:55	3305	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Bande réfléchissante rouge / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-bande-reflechissante-rouge-rouge-unitaire' WHERE `virtuemart_product_id` = '1862797'
2023-10-13	13:22:55	3305	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1149.jpg has not been found.
2023-10-13	13:22:55	3305	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:55	3305	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862797 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:55	3305	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:55	3305	[DEBUG]	Executed store
2023-10-13	13:22:55	3305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862797','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:55	3305	[DEBUG]	Checking manufacturer
2023-10-13	13:22:55	3305	[DEBUG]	Load a row
2023-10-13	13:22:55	3305	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:55	3305	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:55	3305	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:55	3305	[DEBUG]	Executed store
2023-10-13	13:22:55	3305	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:55	3305	[DEBUG]	Manufacturer exists
2023-10-13	13:22:55	3305	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:22:55	3305	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:55	3305	[DEBUG]	Executed store
2023-10-13	13:22:55	3305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862797','2')
2023-10-13	13:22:55	3305	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:55	3305	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:55	3305	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862797 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:55	3305	[DEBUG]	Store custom available field
2023-10-13	13:22:55	3305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862797,3,'',1)
2023-10-13	13:22:55	3305	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:55	3305	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:55	3305	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862797 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:55	3305	[DEBUG]	Store custom available field
2023-10-13	13:22:55	3305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862797,6,'Unitaire',3)
2023-10-13	13:22:55	3305	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:55	3305	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:55	3305	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862796
2023-10-13	13:22:55	3305	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:55	3305	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862796\":[1862796,8,1,\"choisir la taille\"],\"1862797\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862796
2023-10-13	13:22:55	3305	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:55	3305	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862797
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:55	3306	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field taille
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:55	3306	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:55	3306	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:55	3306	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:55	3306	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:55	3306	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:55	3306	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field published
2023-10-13	13:22:55	3306	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:55	3306	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field override
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:55	3306	[DEBUG]	Use field value for field slug
2023-10-13	13:22:55	3306	[DEBUG]	Process line 3306
2023-10-13	13:22:55	3306	[DEBUG]	Load a row
2023-10-13	13:22:55	3306	[DEBUG]	Processing item: A_865_12
2023-10-13	13:22:55	3306	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:55	3306	[DEBUG]	Processing product tax
2023-10-13	13:22:55	3306	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:55	3306	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:55	3306	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:55	3306	[DEBUG]	Query for Product
2023-10-13	13:22:55	3306	[DEBUG]	Executed store
2023-10-13	13:22:55	3306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_865_12','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:22:55	3306	[DEBUG]	Check product language entry
2023-10-13	13:22:55	3306	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862798
2023-10-13	13:22:55	3306	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3306	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_865_12' AND `virtuemart_product_id` != 1862798
2023-10-13	13:22:55	3306	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:55	3306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862798, 'A_865_12')
2023-10-13	13:22:55	3306	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3306	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-bande-reflechissante-blanche-blanc' AND `virtuemart_product_id` != 1862798
2023-10-13	13:22:55	3306	[DEBUG]	Query for ProductLang
2023-10-13	13:22:55	3306	[DEBUG]	Executed store
2023-10-13	13:22:55	3306	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pliable<br>N° art fourn : REFWHITE',`product_name`='MLV-Bike Bande réfléchissante blanche / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-bande-reflechissante-blanche-blanc' WHERE `virtuemart_product_id` = '1862798'
2023-10-13	13:22:55	3306	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1150.jpg has not been found.
2023-10-13	13:22:55	3306	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:55	3306	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862798 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:55	3306	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:55	3306	[DEBUG]	Executed store
2023-10-13	13:22:55	3306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862798','0','2.32126276694522','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:55	3306	[DEBUG]	Checking manufacturer
2023-10-13	13:22:55	3306	[DEBUG]	Load a row
2023-10-13	13:22:55	3306	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:55	3306	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:55	3306	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:55	3306	[DEBUG]	Executed store
2023-10-13	13:22:55	3306	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:55	3306	[DEBUG]	Manufacturer exists
2023-10-13	13:22:55	3306	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:22:55	3306	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:55	3306	[DEBUG]	Executed store
2023-10-13	13:22:55	3306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862798','2')
2023-10-13	13:22:55	3306	[DEBUG]	Find the custom field ID
2023-10-13	13:22:55	3306	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:55	3306	[DEBUG]	No custom field ID found
2023-10-13	13:22:55	3306	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:55	3306	[DEBUG]	Get existing row with customfield value 2.49305555555556
2023-10-13	13:22:55	3306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862798 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:55	3306	[DEBUG]	Store custom available field
2023-10-13	13:22:55	3306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862798,3,'2.49305555555556',1)
2023-10-13	13:22:55	3306	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:55	3306	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:55	3306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862798 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:55	3306	[DEBUG]	Store custom available field
2023-10-13	13:22:55	3306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862798,6,'choisir la taille',3)
2023-10-13	13:22:55	3306	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:55	3306	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:55	3306	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:55	3306	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:55	3306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862798 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:55	3306	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:55	3306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862798,8,1)
2023-10-13	13:22:55	3306	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:55	3306	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862798\":[1862798,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862798
2023-10-13	13:22:55	3306	[DEBUG]	Checking category
2023-10-13	13:22:55	3306	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:55	3306	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862798
2023-10-13	13:22:55	3306	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:55	3306	[DEBUG]	Executed store
2023-10-13	13:22:55	3306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862798','7375')
2023-10-13	13:22:55	3306	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:55	3306	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862798 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:22:55	3306	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:55	3306	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862798
2023-10-13	13:22:55	3307	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:55	3307	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:55	3307	[DEBUG]	Use field value for field taille
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:55	3307	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:55	3307	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:55	3307	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:55	3307	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:55	3307	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:55	3307	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:55	3307	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:55	3307	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:55	3307	[DEBUG]	Use field value for field published
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:55	3307	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field override
2023-10-13	13:22:55	3307	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:55	3307	[DEBUG]	Use field value for field slug
2023-10-13	13:22:55	3307	[DEBUG]	Process line 3307
2023-10-13	13:22:55	3307	[DEBUG]	Load a row
2023-10-13	13:22:55	3307	[DEBUG]	Processing item: 1000000012408
2023-10-13	13:22:55	3307	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:55	3307	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:55	3307	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_865_12'
2023-10-13	13:22:55	3307	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:55	3307	[DEBUG]	Processing product tax
2023-10-13	13:22:55	3307	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:55	3307	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:55	3307	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:55	3307	[DEBUG]	Query for Product
2023-10-13	13:22:55	3307	[DEBUG]	Executed store
2023-10-13	13:22:55	3307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862798','1000000012408','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:22:55	3307	[DEBUG]	No parent found
2023-10-13	13:22:55	3307	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862798 AND customfield_value = 'stockable'
2023-10-13	13:22:55	3307	[DEBUG]	Check product language entry
2023-10-13	13:22:55	3307	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862799
2023-10-13	13:22:55	3307	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3307	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000012408' AND `virtuemart_product_id` != 1862799
2023-10-13	13:22:55	3307	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:55	3307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862799, '1000000012408')
2023-10-13	13:22:55	3307	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3307	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-bande-reflechissante-blanche-blanc-unitaire' AND `virtuemart_product_id` != 1862799
2023-10-13	13:22:55	3307	[DEBUG]	Query for ProductLang
2023-10-13	13:22:55	3307	[DEBUG]	Executed store
2023-10-13	13:22:55	3307	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Bande réfléchissante blanche / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-bande-reflechissante-blanche-blanc-unitaire' WHERE `virtuemart_product_id` = '1862799'
2023-10-13	13:22:55	3307	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1150.jpg has not been found.
2023-10-13	13:22:55	3307	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:55	3307	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862799 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:55	3307	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:55	3307	[DEBUG]	Executed store
2023-10-13	13:22:55	3307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862799','0','2.32126276694522','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:55	3307	[DEBUG]	Checking manufacturer
2023-10-13	13:22:55	3307	[DEBUG]	Load a row
2023-10-13	13:22:55	3307	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:55	3307	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:55	3307	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:55	3307	[DEBUG]	Executed store
2023-10-13	13:22:55	3307	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:22:55	3307	[DEBUG]	Manufacturer exists
2023-10-13	13:22:55	3307	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:22:55	3307	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:55	3307	[DEBUG]	Executed store
2023-10-13	13:22:55	3307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862799','2')
2023-10-13	13:22:55	3307	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:55	3307	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:55	3307	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862799 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:55	3307	[DEBUG]	Store custom available field
2023-10-13	13:22:55	3307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862799,3,'',1)
2023-10-13	13:22:55	3307	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:55	3307	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:55	3307	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862799 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:55	3307	[DEBUG]	Store custom available field
2023-10-13	13:22:55	3307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862799,6,'Unitaire',3)
2023-10-13	13:22:55	3307	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:55	3307	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:55	3307	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862798
2023-10-13	13:22:55	3307	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:55	3307	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862798\":[1862798,8,1,\"choisir la taille\"],\"1862799\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862798
2023-10-13	13:22:55	3307	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:55	3307	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862799
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:55	3308	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field taille
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:55	3308	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:55	3308	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:55	3308	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:55	3308	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:55	3308	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:55	3308	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field published
2023-10-13	13:22:55	3308	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:55	3308	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field override
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:55	3308	[DEBUG]	Use field value for field slug
2023-10-13	13:22:55	3308	[DEBUG]	Process line 3308
2023-10-13	13:22:55	3308	[DEBUG]	Load a row
2023-10-13	13:22:55	3308	[DEBUG]	Processing item: A_866_65
2023-10-13	13:22:55	3308	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:55	3308	[DEBUG]	Processing product tax
2023-10-13	13:22:55	3308	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:55	3308	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:55	3308	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:55	3308	[DEBUG]	Query for Product
2023-10-13	13:22:55	3308	[DEBUG]	Executed store
2023-10-13	13:22:55	3308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_866_65','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:22:55	3308	[DEBUG]	Check product language entry
2023-10-13	13:22:55	3308	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862800
2023-10-13	13:22:55	3308	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3308	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_866_65' AND `virtuemart_product_id` != 1862800
2023-10-13	13:22:55	3308	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:55	3308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862800, 'A_866_65')
2023-10-13	13:22:55	3308	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:55	3308	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bande-reflechissante-jaune-jaune' AND `virtuemart_product_id` != 1862800
2023-10-13	13:22:55	3308	[DEBUG]	Query for ProductLang
2023-10-13	13:22:55	3308	[DEBUG]	Executed store
2023-10-13	13:22:55	3308	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pliable<br>N° art fourn : REFYELLOW',`product_name`='MSC Bande réfléchissante jaune / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bande-reflechissante-jaune-jaune' WHERE `virtuemart_product_id` = '1862800'
2023-10-13	13:22:55	3308	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1151.jpg
2023-10-13	13:22:55	3308	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:22:55	3308	[DEBUG]	Process image file
2023-10-13	13:22:55	3308	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:22:55	3308	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:55	3308	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1151.jpg
2023-10-13	13:22:55	3308	[DEBUG]	Full name target: bcprisme/image_1151.jpg
2023-10-13	13:22:56	3308	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:56	3308	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1151.jpg'
2023-10-13	13:22:56	3308	[DEBUG]	Query for Media
2023-10-13	13:22:56	3308	[DEBUG]	Executed store
2023-10-13	13:22:56	3308	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1151.jpg',`file_url_thumb`='bcprisme/image_1151.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '788322'
2023-10-13	13:22:56	3308	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:56	3308	[DEBUG]	Executed store
2023-10-13	13:22:56	3308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862800','788322','1')
2023-10-13	13:22:56	3308	[DEBUG]	Store product image relation
2023-10-13	13:22:56	3308	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:56	3308	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862800 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:56	3308	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:56	3308	[DEBUG]	Executed store
2023-10-13	13:22:56	3308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862800','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:56	3308	[DEBUG]	Checking manufacturer
2023-10-13	13:22:56	3308	[DEBUG]	Load a row
2023-10-13	13:22:56	3308	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:56	3308	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:22:56	3308	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:56	3308	[DEBUG]	Executed store
2023-10-13	13:22:56	3308	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:22:56	3308	[DEBUG]	Manufacturer exists
2023-10-13	13:22:56	3308	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:22:56	3308	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:56	3308	[DEBUG]	Executed store
2023-10-13	13:22:56	3308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862800','32')
2023-10-13	13:22:56	3308	[DEBUG]	Find the custom field ID
2023-10-13	13:22:56	3308	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:56	3308	[DEBUG]	No custom field ID found
2023-10-13	13:22:56	3308	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:56	3308	[DEBUG]	Get existing row with customfield value 2.99166666666667
2023-10-13	13:22:56	3308	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862800 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:56	3308	[DEBUG]	Store custom available field
2023-10-13	13:22:56	3308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862800,3,'2.99166666666667',1)
2023-10-13	13:22:56	3308	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:56	3308	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:56	3308	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862800 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:56	3308	[DEBUG]	Store custom available field
2023-10-13	13:22:56	3308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862800,6,'choisir la taille',3)
2023-10-13	13:22:56	3308	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:56	3308	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:56	3308	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:56	3308	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:56	3308	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862800 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:56	3308	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:56	3308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862800,8,1)
2023-10-13	13:22:56	3308	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:56	3308	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862800\":[1862800,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862800
2023-10-13	13:22:56	3308	[DEBUG]	Checking category
2023-10-13	13:22:56	3308	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:56	3308	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862800
2023-10-13	13:22:56	3308	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:56	3308	[DEBUG]	Executed store
2023-10-13	13:22:56	3308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862800','7375')
2023-10-13	13:22:56	3308	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:56	3308	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862800 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:22:56	3308	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:56	3308	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862800
2023-10-13	13:22:56	3309	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:56	3309	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:56	3309	[DEBUG]	Use field value for field taille
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:56	3309	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:56	3309	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:56	3309	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:56	3309	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:56	3309	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:56	3309	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:56	3309	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:56	3309	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:56	3309	[DEBUG]	Use field value for field published
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:56	3309	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field override
2023-10-13	13:22:56	3309	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:56	3309	[DEBUG]	Use field value for field slug
2023-10-13	13:22:56	3309	[DEBUG]	Process line 3309
2023-10-13	13:22:56	3309	[DEBUG]	Load a row
2023-10-13	13:22:56	3309	[DEBUG]	Processing item: 8436550193718
2023-10-13	13:22:56	3309	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:56	3309	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:56	3309	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_866_65'
2023-10-13	13:22:56	3309	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:56	3309	[DEBUG]	Processing product tax
2023-10-13	13:22:56	3309	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:56	3309	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:56	3309	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:56	3309	[DEBUG]	Query for Product
2023-10-13	13:22:56	3309	[DEBUG]	Executed store
2023-10-13	13:22:56	3309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862800','8436550193718','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:22:56	3309	[DEBUG]	No parent found
2023-10-13	13:22:56	3309	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862800 AND customfield_value = 'stockable'
2023-10-13	13:22:56	3309	[DEBUG]	Check product language entry
2023-10-13	13:22:56	3309	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862801
2023-10-13	13:22:56	3309	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:56	3309	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550193718' AND `virtuemart_product_id` != 1862801
2023-10-13	13:22:56	3309	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:56	3309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862801, '8436550193718')
2023-10-13	13:22:56	3309	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:56	3309	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bande-reflechissante-jaune-jaune-unitaire' AND `virtuemart_product_id` != 1862801
2023-10-13	13:22:56	3309	[DEBUG]	Query for ProductLang
2023-10-13	13:22:56	3309	[DEBUG]	Executed store
2023-10-13	13:22:56	3309	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bande réfléchissante jaune / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bande-reflechissante-jaune-jaune-unitaire' WHERE `virtuemart_product_id` = '1862801'
2023-10-13	13:22:56	3309	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1151.jpg
2023-10-13	13:22:56	3309	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:22:56	3309	[DEBUG]	Process image file
2023-10-13	13:22:56	3309	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:22:56	3309	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:56	3309	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1151.jpg
2023-10-13	13:22:56	3309	[DEBUG]	Full name target: bcprisme/image_1151.jpg
2023-10-13	13:22:57	3309	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:57	3309	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1151.jpg'
2023-10-13	13:22:57	3309	[DEBUG]	Query for Media
2023-10-13	13:22:57	3309	[DEBUG]	Executed store
2023-10-13	13:22:57	3309	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1151.jpg',`file_url_thumb`='bcprisme/image_1151.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '788322'
2023-10-13	13:22:57	3309	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:57	3309	[DEBUG]	Executed store
2023-10-13	13:22:57	3309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862801','788322','1')
2023-10-13	13:22:57	3309	[DEBUG]	Store product image relation
2023-10-13	13:22:57	3309	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:57	3309	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862801 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:57	3309	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:57	3309	[DEBUG]	Executed store
2023-10-13	13:22:57	3309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862801','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:57	3309	[DEBUG]	Checking manufacturer
2023-10-13	13:22:57	3309	[DEBUG]	Load a row
2023-10-13	13:22:57	3309	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:57	3309	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:22:57	3309	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:57	3309	[DEBUG]	Executed store
2023-10-13	13:22:57	3309	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:22:57	3309	[DEBUG]	Manufacturer exists
2023-10-13	13:22:57	3309	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:22:57	3309	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:57	3309	[DEBUG]	Executed store
2023-10-13	13:22:57	3309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862801','32')
2023-10-13	13:22:57	3309	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:57	3309	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:57	3309	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862801 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:57	3309	[DEBUG]	Store custom available field
2023-10-13	13:22:57	3309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862801,3,'',1)
2023-10-13	13:22:57	3309	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:57	3309	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:57	3309	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862801 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:57	3309	[DEBUG]	Store custom available field
2023-10-13	13:22:57	3309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862801,6,'Unitaire',3)
2023-10-13	13:22:57	3309	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:57	3309	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:57	3309	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862800
2023-10-13	13:22:57	3309	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:57	3309	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862800\":[1862800,8,1,\"choisir la taille\"],\"1862801\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862800
2023-10-13	13:22:57	3309	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:57	3309	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862801
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:57	3310	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field taille
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:57	3310	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:57	3310	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:57	3310	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:57	3310	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:57	3310	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:57	3310	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field published
2023-10-13	13:22:57	3310	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:57	3310	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field override
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:57	3310	[DEBUG]	Use field value for field slug
2023-10-13	13:22:57	3310	[DEBUG]	Process line 3310
2023-10-13	13:22:57	3310	[DEBUG]	Load a row
2023-10-13	13:22:57	3310	[DEBUG]	Processing item: A_2930_1
2023-10-13	13:22:57	3310	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:57	3310	[DEBUG]	Processing product tax
2023-10-13	13:22:57	3310	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:57	3310	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:57	3310	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:57	3310	[DEBUG]	Query for Product
2023-10-13	13:22:57	3310	[DEBUG]	Executed store
2023-10-13	13:22:57	3310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2930_1','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:22:57	3310	[DEBUG]	Check product language entry
2023-10-13	13:22:57	3310	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862802
2023-10-13	13:22:57	3310	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:57	3310	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2930_1' AND `virtuemart_product_id` != 1862802
2023-10-13	13:22:57	3310	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:57	3310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862802, 'A_2930_1')
2023-10-13	13:22:57	3310	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:57	3310	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-200-lumens-msc-noir' AND `virtuemart_product_id` != 1862802
2023-10-13	13:22:57	3310	[DEBUG]	Query for ProductLang
2023-10-13	13:22:57	3310	[DEBUG]	Executed store
2023-10-13	13:22:57	3310	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Eclairage avant -200 Lumens Eclairage avant rechargable Batterie : 18650 3.7v/2400mah (5 heures ppour charge totale) Eclairage : 3w cree XPE-R3 Potenciel : 200lm Resistence à l\'eau : IPX3 Fonctions : 100% de brillance(4hrs) / 50% (8hrs) / intermitant (8hrs) (2.5Hz)<br>N° art fourn : LIGHTJY7012',`product_name`='MSC Lumière avant 200 Lumens MSC / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-200-lumens-msc-noir' WHERE `virtuemart_product_id` = '1862802'
2023-10-13	13:22:57	3310	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12176.jpg
2023-10-13	13:22:57	3310	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:57	3310	[DEBUG]	Process image file
2023-10-13	13:22:57	3310	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:57	3310	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:57	3310	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12176.jpg
2023-10-13	13:22:57	3310	[DEBUG]	Full name target: bcprisme/image_12176.jpg
2023-10-13	13:22:58	3310	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:58	3310	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12176.jpg'
2023-10-13	13:22:58	3310	[DEBUG]	Query for Media
2023-10-13	13:22:58	3310	[DEBUG]	Executed store
2023-10-13	13:22:58	3310	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12176.jpg',`file_url_thumb`='bcprisme/image_12176.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13099'
2023-10-13	13:22:58	3310	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:58	3310	[DEBUG]	Executed store
2023-10-13	13:22:58	3310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862802','13099','1')
2023-10-13	13:22:58	3310	[DEBUG]	Store product image relation
2023-10-13	13:22:58	3310	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:58	3310	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862802 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:58	3310	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:58	3310	[DEBUG]	Executed store
2023-10-13	13:22:58	3310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862802','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:58	3310	[DEBUG]	Checking manufacturer
2023-10-13	13:22:58	3310	[DEBUG]	Load a row
2023-10-13	13:22:58	3310	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:58	3310	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:22:58	3310	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:58	3310	[DEBUG]	Executed store
2023-10-13	13:22:58	3310	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:22:58	3310	[DEBUG]	Manufacturer exists
2023-10-13	13:22:58	3310	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:22:58	3310	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:58	3310	[DEBUG]	Executed store
2023-10-13	13:22:58	3310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862802','32')
2023-10-13	13:22:58	3310	[DEBUG]	Find the custom field ID
2023-10-13	13:22:58	3310	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:22:58	3310	[DEBUG]	No custom field ID found
2023-10-13	13:22:58	3310	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:58	3310	[DEBUG]	Get existing row with customfield value 44.7752777777778
2023-10-13	13:22:58	3310	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862802 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:58	3310	[DEBUG]	Store custom available field
2023-10-13	13:22:58	3310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862802,3,'44.7752777777778',1)
2023-10-13	13:22:58	3310	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:58	3310	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:22:58	3310	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862802 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:58	3310	[DEBUG]	Store custom available field
2023-10-13	13:22:58	3310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862802,6,'choisir la taille',3)
2023-10-13	13:22:58	3310	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:58	3310	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:22:58	3310	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:22:58	3310	[DEBUG]	Find the multi variant product entry
2023-10-13	13:22:58	3310	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862802 AND `virtuemart_custom_id` = 8
2023-10-13	13:22:58	3310	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:22:58	3310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862802,8,1)
2023-10-13	13:22:58	3310	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:58	3310	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862802\":[1862802,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862802
2023-10-13	13:22:58	3310	[DEBUG]	Checking category
2023-10-13	13:22:58	3310	[DEBUG]	Get the existing categories for the product
2023-10-13	13:22:58	3310	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862802
2023-10-13	13:22:58	3310	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:22:58	3310	[DEBUG]	Executed store
2023-10-13	13:22:58	3310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862802','7375')
2023-10-13	13:22:58	3310	[DEBUG]	Delete leftover product categories
2023-10-13	13:22:58	3310	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862802 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:22:58	3310	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:58	3310	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862802
2023-10-13	13:22:58	3311	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:58	3311	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:22:58	3311	[DEBUG]	Use field value for field taille
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:22:58	3311	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field category_path
2023-10-13	13:22:58	3311	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:58	3311	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:58	3311	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:58	3311	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:22:58	3311	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field product_weight
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:58	3311	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:58	3311	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:58	3311	[DEBUG]	Use field value for field published
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field custom_title
2023-10-13	13:22:58	3311	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field custom_param
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field override
2023-10-13	13:22:58	3311	[DEBUG]	Use default value for field public_price
2023-10-13	13:22:58	3311	[DEBUG]	Use field value for field slug
2023-10-13	13:22:58	3311	[DEBUG]	Process line 3311
2023-10-13	13:22:58	3311	[DEBUG]	Load a row
2023-10-13	13:22:58	3311	[DEBUG]	Processing item: 1000000048858
2023-10-13	13:22:58	3311	[DEBUG]	Looking for parent SKU
2023-10-13	13:22:58	3311	[DEBUG]	Checking product parent SKU
2023-10-13	13:22:58	3311	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2930_1'
2023-10-13	13:22:58	3311	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:58	3311	[DEBUG]	Processing product tax
2023-10-13	13:22:58	3311	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:58	3311	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:58	3311	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:58	3311	[DEBUG]	Query for Product
2023-10-13	13:22:58	3311	[DEBUG]	Executed store
2023-10-13	13:22:58	3311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862802','1000000048858','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:22:58	3311	[DEBUG]	No parent found
2023-10-13	13:22:58	3311	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862802 AND customfield_value = 'stockable'
2023-10-13	13:22:58	3311	[DEBUG]	Check product language entry
2023-10-13	13:22:58	3311	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862803
2023-10-13	13:22:58	3311	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:58	3311	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000048858' AND `virtuemart_product_id` != 1862803
2023-10-13	13:22:58	3311	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:58	3311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862803, '1000000048858')
2023-10-13	13:22:58	3311	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:58	3311	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-200-lumens-msc-noir-unitaire' AND `virtuemart_product_id` != 1862803
2023-10-13	13:22:58	3311	[DEBUG]	Query for ProductLang
2023-10-13	13:22:58	3311	[DEBUG]	Executed store
2023-10-13	13:22:58	3311	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 200 Lumens MSC / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-200-lumens-msc-noir-unitaire' WHERE `virtuemart_product_id` = '1862803'
2023-10-13	13:22:58	3311	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12176.jpg
2023-10-13	13:22:58	3311	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:58	3311	[DEBUG]	Process image file
2023-10-13	13:22:58	3311	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:58	3311	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:58	3311	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12176.jpg
2023-10-13	13:22:58	3311	[DEBUG]	Full name target: bcprisme/image_12176.jpg
2023-10-13	13:22:59	3311	[DEBUG]	Checking if the file_url exists
2023-10-13	13:22:59	3311	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12176.jpg'
2023-10-13	13:22:59	3311	[DEBUG]	Query for Media
2023-10-13	13:22:59	3311	[DEBUG]	Executed store
2023-10-13	13:22:59	3311	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12176.jpg',`file_url_thumb`='bcprisme/image_12176.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13099'
2023-10-13	13:22:59	3311	[DEBUG]	Query for ProductMedia
2023-10-13	13:22:59	3311	[DEBUG]	Executed store
2023-10-13	13:22:59	3311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862803','13099','1')
2023-10-13	13:22:59	3311	[DEBUG]	Store product image relation
2023-10-13	13:22:59	3311	[DEBUG]	Finding a product_price_id
2023-10-13	13:22:59	3311	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862803 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:22:59	3311	[DEBUG]	Query for ProductPrice
2023-10-13	13:22:59	3311	[DEBUG]	Executed store
2023-10-13	13:22:59	3311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862803','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:22:59	3311	[DEBUG]	Checking manufacturer
2023-10-13	13:22:59	3311	[DEBUG]	Load a row
2023-10-13	13:22:59	3311	[DEBUG]	Manufacturer already exists
2023-10-13	13:22:59	3311	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:22:59	3311	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:22:59	3311	[DEBUG]	Executed store
2023-10-13	13:22:59	3311	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:22:59	3311	[DEBUG]	Manufacturer exists
2023-10-13	13:22:59	3311	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:22:59	3311	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:22:59	3311	[DEBUG]	Executed store
2023-10-13	13:22:59	3311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862803','32')
2023-10-13	13:22:59	3311	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:22:59	3311	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:22:59	3311	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862803 AND `virtuemart_custom_id` = 3
2023-10-13	13:22:59	3311	[DEBUG]	Store custom available field
2023-10-13	13:22:59	3311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862803,3,'',1)
2023-10-13	13:22:59	3311	[DEBUG]	Processing custom available field: taille
2023-10-13	13:22:59	3311	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:22:59	3311	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862803 AND `virtuemart_custom_id` = 6
2023-10-13	13:22:59	3311	[DEBUG]	Store custom available field
2023-10-13	13:22:59	3311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862803,6,'Unitaire',3)
2023-10-13	13:22:59	3311	[DEBUG]	Process multi-variant fields
2023-10-13	13:22:59	3311	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:22:59	3311	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862802
2023-10-13	13:22:59	3311	[DEBUG]	Store the updated customfield_params
2023-10-13	13:22:59	3311	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862802\":[1862802,8,1,\"choisir la taille\"],\"1862803\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862802
2023-10-13	13:22:59	3311	[DEBUG]	Update has fields after all processing
2023-10-13	13:22:59	3311	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862803
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field product_sku
2023-10-13	13:22:59	3312	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field taille
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field product_name
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field category_path
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field product_price
2023-10-13	13:22:59	3312	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field product_tax
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field file_url
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:22:59	3312	[DEBUG]	Use default value for field product_desc
2023-10-13	13:22:59	3312	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field product_availability
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field product_weight
2023-10-13	13:22:59	3312	[DEBUG]	Use default value for field product_unit
2023-10-13	13:22:59	3312	[DEBUG]	Use default value for field related_products
2023-10-13	13:22:59	3312	[DEBUG]	Use default value for field product_special
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field published
2023-10-13	13:22:59	3312	[DEBUG]	Use default value for field metadesc
2023-10-13	13:22:59	3312	[DEBUG]	Use default value for field metakey
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field custom_title
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field custom_value
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field custom_param
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field override
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field public_price
2023-10-13	13:22:59	3312	[DEBUG]	Use field value for field slug
2023-10-13	13:22:59	3312	[DEBUG]	Process line 3312
2023-10-13	13:22:59	3312	[DEBUG]	Load a row
2023-10-13	13:22:59	3312	[DEBUG]	Processing item: A_2931_137
2023-10-13	13:22:59	3312	[DEBUG]	Product tax: 7.7
2023-10-13	13:22:59	3312	[DEBUG]	Processing product tax
2023-10-13	13:22:59	3312	[DEBUG]	Check if calculation rule exists
2023-10-13	13:22:59	3312	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:22:59	3312	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:22:59	3312	[DEBUG]	Query for Product
2023-10-13	13:22:59	3312	[DEBUG]	Executed store
2023-10-13	13:22:59	3312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2931_137','0.1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:22:59	3312	[DEBUG]	Check product language entry
2023-10-13	13:22:59	3312	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862804
2023-10-13	13:22:59	3312	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:59	3312	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2931_137' AND `virtuemart_product_id` != 1862804
2023-10-13	13:22:59	3312	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:22:59	3312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862804, 'A_2931_137')
2023-10-13	13:22:59	3312	[DEBUG]	Check if the product slug exists
2023-10-13	13:22:59	3312	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-led-rechargeable-usb-blanc' AND `virtuemart_product_id` != 1862804
2023-10-13	13:22:59	3312	[DEBUG]	Query for ProductLang
2023-10-13	13:22:59	3312	[DEBUG]	Executed store
2023-10-13	13:22:59	3312	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Eclairage avant led Batterie: 4.2V 300MAH (indicateur de charge) Eclairage : 2 LEDS blanches Fonctions: 100% constant, 50% constant, clignotant. Cable USB inclu. <br>N° art fourn : LIGHTLED7016',`product_name`='MSC Lumière avant LED rechargeable USB / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-led-rechargeable-usb-blanc' WHERE `virtuemart_product_id` = '1862804'
2023-10-13	13:22:59	3312	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13938.jpg
2023-10-13	13:22:59	3312	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:59	3312	[DEBUG]	Process image file
2023-10-13	13:22:59	3312	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:22:59	3312	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:22:59	3312	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13938.jpg
2023-10-13	13:22:59	3312	[DEBUG]	Full name target: bcprisme/image_13938.jpg
2023-10-13	13:23:00	3312	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:00	3312	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13938.jpg'
2023-10-13	13:23:00	3312	[DEBUG]	Query for Media
2023-10-13	13:23:00	3312	[DEBUG]	Executed store
2023-10-13	13:23:00	3312	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13938.jpg',`file_url_thumb`='bcprisme/image_13938.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13102'
2023-10-13	13:23:00	3312	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:00	3312	[DEBUG]	Executed store
2023-10-13	13:23:00	3312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862804','13102','1')
2023-10-13	13:23:00	3312	[DEBUG]	Store product image relation
2023-10-13	13:23:00	3312	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:00	3312	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862804 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:00	3312	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:00	3312	[DEBUG]	Executed store
2023-10-13	13:23:00	3312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862804','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:00	3312	[DEBUG]	Checking manufacturer
2023-10-13	13:23:00	3312	[DEBUG]	Load a row
2023-10-13	13:23:00	3312	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:00	3312	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:00	3312	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:00	3312	[DEBUG]	Executed store
2023-10-13	13:23:00	3312	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:00	3312	[DEBUG]	Manufacturer exists
2023-10-13	13:23:00	3312	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:00	3312	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:00	3312	[DEBUG]	Executed store
2023-10-13	13:23:00	3312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862804','32')
2023-10-13	13:23:00	3312	[DEBUG]	Find the custom field ID
2023-10-13	13:23:00	3312	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:00	3312	[DEBUG]	No custom field ID found
2023-10-13	13:23:00	3312	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:00	3312	[DEBUG]	Get existing row with customfield value 24.8308333333333
2023-10-13	13:23:00	3312	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862804 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:00	3312	[DEBUG]	Store custom available field
2023-10-13	13:23:00	3312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862804,3,'24.8308333333333',1)
2023-10-13	13:23:00	3312	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:00	3312	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:00	3312	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862804 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:00	3312	[DEBUG]	Store custom available field
2023-10-13	13:23:00	3312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862804,6,'choisir la taille',3)
2023-10-13	13:23:00	3312	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:00	3312	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:00	3312	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:00	3312	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:00	3312	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862804 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:00	3312	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:00	3312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862804,8,1)
2023-10-13	13:23:00	3312	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:00	3312	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862804\":[1862804,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862804
2023-10-13	13:23:00	3312	[DEBUG]	Checking category
2023-10-13	13:23:00	3312	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:00	3312	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862804
2023-10-13	13:23:00	3312	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:00	3312	[DEBUG]	Executed store
2023-10-13	13:23:00	3312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862804','7375')
2023-10-13	13:23:00	3312	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:00	3312	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862804 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:00	3312	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:00	3312	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862804
2023-10-13	13:23:00	3313	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:00	3313	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:00	3313	[DEBUG]	Use field value for field taille
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:00	3313	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:00	3313	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:00	3313	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:00	3313	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:00	3313	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:00	3313	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:00	3313	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:00	3313	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:00	3313	[DEBUG]	Use field value for field published
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:00	3313	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field override
2023-10-13	13:23:00	3313	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:00	3313	[DEBUG]	Use field value for field slug
2023-10-13	13:23:00	3313	[DEBUG]	Process line 3313
2023-10-13	13:23:00	3313	[DEBUG]	Load a row
2023-10-13	13:23:00	3313	[DEBUG]	Processing item: 8436550194234
2023-10-13	13:23:00	3313	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:00	3313	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:00	3313	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2931_137'
2023-10-13	13:23:00	3313	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:00	3313	[DEBUG]	Processing product tax
2023-10-13	13:23:00	3313	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:00	3313	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:00	3313	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:00	3313	[DEBUG]	Query for Product
2023-10-13	13:23:00	3313	[DEBUG]	Executed store
2023-10-13	13:23:00	3313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862804','8436550194234','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:00	3313	[DEBUG]	No parent found
2023-10-13	13:23:00	3313	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862804 AND customfield_value = 'stockable'
2023-10-13	13:23:00	3313	[DEBUG]	Check product language entry
2023-10-13	13:23:00	3313	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862805
2023-10-13	13:23:00	3313	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:00	3313	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550194234' AND `virtuemart_product_id` != 1862805
2023-10-13	13:23:00	3313	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:00	3313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862805, '8436550194234')
2023-10-13	13:23:00	3313	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:00	3313	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-led-rechargeable-usb-blanc-unitaire' AND `virtuemart_product_id` != 1862805
2023-10-13	13:23:00	3313	[DEBUG]	Query for ProductLang
2023-10-13	13:23:00	3313	[DEBUG]	Executed store
2023-10-13	13:23:00	3313	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant LED rechargeable USB / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-led-rechargeable-usb-blanc-unitaire' WHERE `virtuemart_product_id` = '1862805'
2023-10-13	13:23:00	3313	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13938.jpg
2023-10-13	13:23:00	3313	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:00	3313	[DEBUG]	Process image file
2023-10-13	13:23:00	3313	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:00	3313	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:00	3313	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_13938.jpg
2023-10-13	13:23:00	3313	[DEBUG]	Full name target: bcprisme/image_13938.jpg
2023-10-13	13:23:01	3313	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:01	3313	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_13938.jpg'
2023-10-13	13:23:01	3313	[DEBUG]	Query for Media
2023-10-13	13:23:01	3313	[DEBUG]	Executed store
2023-10-13	13:23:01	3313	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_13938.jpg',`file_url_thumb`='bcprisme/image_13938.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13102'
2023-10-13	13:23:01	3313	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:01	3313	[DEBUG]	Executed store
2023-10-13	13:23:01	3313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862805','13102','1')
2023-10-13	13:23:01	3313	[DEBUG]	Store product image relation
2023-10-13	13:23:01	3313	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:01	3313	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862805 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:01	3313	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:01	3313	[DEBUG]	Executed store
2023-10-13	13:23:01	3313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862805','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:01	3313	[DEBUG]	Checking manufacturer
2023-10-13	13:23:01	3313	[DEBUG]	Load a row
2023-10-13	13:23:01	3313	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:01	3313	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:01	3313	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:01	3313	[DEBUG]	Executed store
2023-10-13	13:23:01	3313	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:01	3313	[DEBUG]	Manufacturer exists
2023-10-13	13:23:01	3313	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:01	3313	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:01	3313	[DEBUG]	Executed store
2023-10-13	13:23:01	3313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862805','32')
2023-10-13	13:23:01	3313	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:01	3313	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:01	3313	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862805 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:01	3313	[DEBUG]	Store custom available field
2023-10-13	13:23:01	3313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862805,3,'',1)
2023-10-13	13:23:01	3313	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:01	3313	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:01	3313	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862805 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:01	3313	[DEBUG]	Store custom available field
2023-10-13	13:23:01	3313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862805,6,'Unitaire',3)
2023-10-13	13:23:01	3313	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:01	3313	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:01	3313	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862804
2023-10-13	13:23:01	3313	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:01	3313	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862804\":[1862804,8,1,\"choisir la taille\"],\"1862805\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862804
2023-10-13	13:23:01	3313	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:01	3313	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862805
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:01	3314	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field taille
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:01	3314	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:01	3314	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:01	3314	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:01	3314	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:01	3314	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:01	3314	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field published
2023-10-13	13:23:01	3314	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:01	3314	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field override
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:01	3314	[DEBUG]	Use field value for field slug
2023-10-13	13:23:01	3314	[DEBUG]	Process line 3314
2023-10-13	13:23:01	3314	[DEBUG]	Load a row
2023-10-13	13:23:01	3314	[DEBUG]	Processing item: A_3212_7
2023-10-13	13:23:01	3314	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:01	3314	[DEBUG]	Processing product tax
2023-10-13	13:23:01	3314	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:01	3314	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:01	3314	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:01	3314	[DEBUG]	Query for Product
2023-10-13	13:23:01	3314	[DEBUG]	Executed store
2023-10-13	13:23:01	3314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3212_7','0.135','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:01	3314	[DEBUG]	Check product language entry
2023-10-13	13:23:01	3314	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862806
2023-10-13	13:23:01	3314	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:01	3314	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3212_7' AND `virtuemart_product_id` != 1862806
2023-10-13	13:23:01	3314	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:01	3314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862806, 'A_3212_7')
2023-10-13	13:23:01	3314	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:01	3314	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-1000-lumens-msc-rouge' AND `virtuemart_product_id` != 1862806
2023-10-13	13:23:01	3314	[DEBUG]	Query for ProductLang
2023-10-13	13:23:01	3314	[DEBUG]	Executed store
2023-10-13	13:23:01	3314	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lumière 1000 Lumens Lumens : 1000 Autonomie: puissance de 3h en puissance max , 11h en puissance moyenne Poids: 135g Pile incluse : OUI Voyant Batterie : OUI POIDS: 113 gr <br><br>  <br><br> <br><br><br>POIDS: 113 gr<br><br>N° art fourn : LIGHT1000',`product_name`='MSC Lumière avant 1000 Lumens MSC / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-1000-lumens-msc-rouge' WHERE `virtuemart_product_id` = '1862806'
2023-10-13	13:23:01	3314	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15580.jpg
2023-10-13	13:23:01	3314	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:01	3314	[DEBUG]	Process image file
2023-10-13	13:23:01	3314	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:01	3314	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:01	3314	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15580.jpg
2023-10-13	13:23:01	3314	[DEBUG]	Full name target: bcprisme/image_15580.jpg
2023-10-13	13:23:02	3314	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:02	3314	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15580.jpg'
2023-10-13	13:23:02	3314	[DEBUG]	Query for Media
2023-10-13	13:23:02	3314	[DEBUG]	Executed store
2023-10-13	13:23:02	3314	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15580.jpg',`file_url_thumb`='bcprisme/image_15580.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13104'
2023-10-13	13:23:02	3314	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:02	3314	[DEBUG]	Executed store
2023-10-13	13:23:02	3314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862806','13104','1')
2023-10-13	13:23:02	3314	[DEBUG]	Store product image relation
2023-10-13	13:23:02	3314	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:02	3314	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862806 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:02	3314	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:02	3314	[DEBUG]	Executed store
2023-10-13	13:23:02	3314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862806','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:02	3314	[DEBUG]	Checking manufacturer
2023-10-13	13:23:02	3314	[DEBUG]	Load a row
2023-10-13	13:23:02	3314	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:02	3314	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:02	3314	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:02	3314	[DEBUG]	Executed store
2023-10-13	13:23:02	3314	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:02	3314	[DEBUG]	Manufacturer exists
2023-10-13	13:23:02	3314	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:02	3314	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:02	3314	[DEBUG]	Executed store
2023-10-13	13:23:02	3314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862806','32')
2023-10-13	13:23:02	3314	[DEBUG]	Find the custom field ID
2023-10-13	13:23:02	3314	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:02	3314	[DEBUG]	No custom field ID found
2023-10-13	13:23:02	3314	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:02	3314	[DEBUG]	Get existing row with customfield value 149.483611111111
2023-10-13	13:23:02	3314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862806 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:02	3314	[DEBUG]	Store custom available field
2023-10-13	13:23:02	3314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862806,3,'149.483611111111',1)
2023-10-13	13:23:02	3314	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:02	3314	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:02	3314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862806 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:02	3314	[DEBUG]	Store custom available field
2023-10-13	13:23:02	3314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862806,6,'choisir la taille',3)
2023-10-13	13:23:02	3314	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:02	3314	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:02	3314	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:02	3314	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:02	3314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862806 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:02	3314	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:02	3314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862806,8,1)
2023-10-13	13:23:02	3314	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:02	3314	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862806\":[1862806,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862806
2023-10-13	13:23:02	3314	[DEBUG]	Checking category
2023-10-13	13:23:02	3314	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:02	3314	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862806
2023-10-13	13:23:02	3314	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:02	3314	[DEBUG]	Executed store
2023-10-13	13:23:02	3314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862806','7375')
2023-10-13	13:23:02	3314	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:02	3314	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862806 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:02	3314	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:02	3314	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862806
2023-10-13	13:23:02	3315	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:02	3315	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:02	3315	[DEBUG]	Use field value for field taille
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:02	3315	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:02	3315	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:02	3315	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:02	3315	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:02	3315	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:02	3315	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:02	3315	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:02	3315	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:02	3315	[DEBUG]	Use field value for field published
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:02	3315	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field override
2023-10-13	13:23:02	3315	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:02	3315	[DEBUG]	Use field value for field slug
2023-10-13	13:23:02	3315	[DEBUG]	Process line 3315
2023-10-13	13:23:02	3315	[DEBUG]	Load a row
2023-10-13	13:23:02	3315	[DEBUG]	Processing item: 1000000052121
2023-10-13	13:23:02	3315	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:02	3315	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:02	3315	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3212_7'
2023-10-13	13:23:02	3315	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:02	3315	[DEBUG]	Processing product tax
2023-10-13	13:23:02	3315	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:02	3315	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:02	3315	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:02	3315	[DEBUG]	Query for Product
2023-10-13	13:23:02	3315	[DEBUG]	Executed store
2023-10-13	13:23:02	3315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862806','1000000052121','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:02	3315	[DEBUG]	No parent found
2023-10-13	13:23:02	3315	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862806 AND customfield_value = 'stockable'
2023-10-13	13:23:02	3315	[DEBUG]	Check product language entry
2023-10-13	13:23:02	3315	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862807
2023-10-13	13:23:02	3315	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:02	3315	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000052121' AND `virtuemart_product_id` != 1862807
2023-10-13	13:23:02	3315	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:02	3315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862807, '1000000052121')
2023-10-13	13:23:02	3315	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:02	3315	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-1000-lumens-msc-rouge-unitaire' AND `virtuemart_product_id` != 1862807
2023-10-13	13:23:02	3315	[DEBUG]	Query for ProductLang
2023-10-13	13:23:02	3315	[DEBUG]	Executed store
2023-10-13	13:23:02	3315	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 1000 Lumens MSC / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-1000-lumens-msc-rouge-unitaire' WHERE `virtuemart_product_id` = '1862807'
2023-10-13	13:23:02	3315	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15580.jpg
2023-10-13	13:23:02	3315	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:02	3315	[DEBUG]	Process image file
2023-10-13	13:23:02	3315	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:02	3315	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:02	3315	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15580.jpg
2023-10-13	13:23:02	3315	[DEBUG]	Full name target: bcprisme/image_15580.jpg
2023-10-13	13:23:03	3315	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:03	3315	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15580.jpg'
2023-10-13	13:23:03	3315	[DEBUG]	Query for Media
2023-10-13	13:23:03	3315	[DEBUG]	Executed store
2023-10-13	13:23:03	3315	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15580.jpg',`file_url_thumb`='bcprisme/image_15580.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13104'
2023-10-13	13:23:03	3315	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:03	3315	[DEBUG]	Executed store
2023-10-13	13:23:03	3315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862807','13104','1')
2023-10-13	13:23:03	3315	[DEBUG]	Store product image relation
2023-10-13	13:23:03	3315	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:03	3315	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862807 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:03	3315	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:03	3315	[DEBUG]	Executed store
2023-10-13	13:23:03	3315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862807','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:03	3315	[DEBUG]	Checking manufacturer
2023-10-13	13:23:03	3315	[DEBUG]	Load a row
2023-10-13	13:23:03	3315	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:03	3315	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:03	3315	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:03	3315	[DEBUG]	Executed store
2023-10-13	13:23:03	3315	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:03	3315	[DEBUG]	Manufacturer exists
2023-10-13	13:23:03	3315	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:03	3315	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:03	3315	[DEBUG]	Executed store
2023-10-13	13:23:03	3315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862807','32')
2023-10-13	13:23:03	3315	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:03	3315	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:03	3315	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862807 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:03	3315	[DEBUG]	Store custom available field
2023-10-13	13:23:03	3315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862807,3,'',1)
2023-10-13	13:23:03	3315	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:03	3315	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:03	3315	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862807 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:03	3315	[DEBUG]	Store custom available field
2023-10-13	13:23:03	3315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862807,6,'Unitaire',3)
2023-10-13	13:23:03	3315	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:03	3315	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:03	3315	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862806
2023-10-13	13:23:03	3315	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:03	3315	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862806\":[1862806,8,1,\"choisir la taille\"],\"1862807\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862806
2023-10-13	13:23:03	3315	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:03	3315	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862807
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:03	3316	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field taille
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:03	3316	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:03	3316	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:03	3316	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:03	3316	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:03	3316	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:03	3316	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field published
2023-10-13	13:23:03	3316	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:03	3316	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field override
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:03	3316	[DEBUG]	Use field value for field slug
2023-10-13	13:23:03	3316	[DEBUG]	Process line 3316
2023-10-13	13:23:03	3316	[DEBUG]	Load a row
2023-10-13	13:23:03	3316	[DEBUG]	Processing item: A_3213_7
2023-10-13	13:23:03	3316	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:03	3316	[DEBUG]	Processing product tax
2023-10-13	13:23:03	3316	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:03	3316	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:03	3316	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:03	3316	[DEBUG]	Query for Product
2023-10-13	13:23:03	3316	[DEBUG]	Executed store
2023-10-13	13:23:03	3316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3213_7','0.135','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:03	3316	[DEBUG]	Check product language entry
2023-10-13	13:23:03	3316	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862808
2023-10-13	13:23:03	3316	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:03	3316	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3213_7' AND `virtuemart_product_id` != 1862808
2023-10-13	13:23:03	3316	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:03	3316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862808, 'A_3213_7')
2023-10-13	13:23:03	3316	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:03	3316	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-1000-lumens-msc-rechargeable-rouge' AND `virtuemart_product_id` != 1862808
2023-10-13	13:23:03	3316	[DEBUG]	Query for ProductLang
2023-10-13	13:23:03	3316	[DEBUG]	Executed store
2023-10-13	13:23:03	3316	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lumière 1000 Lumens MSC Lumens rechargeable : 1000 Autonomie: 2.5h pleine puissance, puissance moyenne 10h Poids: 135g Pile incluse : OUI Batterie voyant : OUI POIDS: 135 gr <br>  <br><br> <br><br><br><br><br>N° art fourn : LIGHT1000P',`product_name`='MSC Lumière avant 1000 Lumens MSC rechargeable / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-1000-lumens-msc-rechargeable-rouge' WHERE `virtuemart_product_id` = '1862808'
2023-10-13	13:23:03	3316	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15581.jpg
2023-10-13	13:23:03	3316	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:03	3316	[DEBUG]	Process image file
2023-10-13	13:23:03	3316	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:03	3316	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:03	3316	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15581.jpg
2023-10-13	13:23:03	3316	[DEBUG]	Full name target: bcprisme/image_15581.jpg
2023-10-13	13:23:04	3316	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:04	3316	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15581.jpg'
2023-10-13	13:23:04	3316	[DEBUG]	Query for Media
2023-10-13	13:23:04	3316	[DEBUG]	Executed store
2023-10-13	13:23:04	3316	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15581.jpg',`file_url_thumb`='bcprisme/image_15581.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13106'
2023-10-13	13:23:04	3316	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:04	3316	[DEBUG]	Executed store
2023-10-13	13:23:04	3316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862808','13106','1')
2023-10-13	13:23:04	3316	[DEBUG]	Store product image relation
2023-10-13	13:23:04	3316	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:04	3316	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862808 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:04	3316	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:04	3316	[DEBUG]	Executed store
2023-10-13	13:23:04	3316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862808','0','148.467966573816','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:04	3316	[DEBUG]	Checking manufacturer
2023-10-13	13:23:04	3316	[DEBUG]	Load a row
2023-10-13	13:23:04	3316	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:04	3316	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:04	3316	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:04	3316	[DEBUG]	Executed store
2023-10-13	13:23:04	3316	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:04	3316	[DEBUG]	Manufacturer exists
2023-10-13	13:23:04	3316	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:04	3316	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:04	3316	[DEBUG]	Executed store
2023-10-13	13:23:04	3316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862808','32')
2023-10-13	13:23:04	3316	[DEBUG]	Find the custom field ID
2023-10-13	13:23:04	3316	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:04	3316	[DEBUG]	No custom field ID found
2023-10-13	13:23:04	3316	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:04	3316	[DEBUG]	Get existing row with customfield value 159.455833333333
2023-10-13	13:23:04	3316	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862808 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:04	3316	[DEBUG]	Store custom available field
2023-10-13	13:23:04	3316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862808,3,'159.455833333333',1)
2023-10-13	13:23:04	3316	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:04	3316	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:04	3316	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862808 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:04	3316	[DEBUG]	Store custom available field
2023-10-13	13:23:04	3316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862808,6,'choisir la taille',3)
2023-10-13	13:23:04	3316	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:04	3316	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:04	3316	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:04	3316	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:04	3316	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862808 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:04	3316	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:04	3316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862808,8,1)
2023-10-13	13:23:04	3316	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:04	3316	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862808\":[1862808,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862808
2023-10-13	13:23:04	3316	[DEBUG]	Checking category
2023-10-13	13:23:04	3316	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:04	3316	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862808
2023-10-13	13:23:04	3316	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:04	3316	[DEBUG]	Executed store
2023-10-13	13:23:04	3316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862808','7375')
2023-10-13	13:23:04	3316	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:04	3316	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862808 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:04	3316	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:04	3316	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862808
2023-10-13	13:23:04	3317	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:04	3317	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:04	3317	[DEBUG]	Use field value for field taille
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:04	3317	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:04	3317	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:04	3317	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:04	3317	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:04	3317	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:04	3317	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:04	3317	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:04	3317	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:04	3317	[DEBUG]	Use field value for field published
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:04	3317	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field override
2023-10-13	13:23:04	3317	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:04	3317	[DEBUG]	Use field value for field slug
2023-10-13	13:23:04	3317	[DEBUG]	Process line 3317
2023-10-13	13:23:04	3317	[DEBUG]	Load a row
2023-10-13	13:23:04	3317	[DEBUG]	Processing item: 1000000052138
2023-10-13	13:23:04	3317	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:04	3317	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:04	3317	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3213_7'
2023-10-13	13:23:04	3317	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:04	3317	[DEBUG]	Processing product tax
2023-10-13	13:23:04	3317	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:04	3317	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:04	3317	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:04	3317	[DEBUG]	Query for Product
2023-10-13	13:23:04	3317	[DEBUG]	Executed store
2023-10-13	13:23:04	3317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862808','1000000052138','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:04	3317	[DEBUG]	No parent found
2023-10-13	13:23:04	3317	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862808 AND customfield_value = 'stockable'
2023-10-13	13:23:04	3317	[DEBUG]	Check product language entry
2023-10-13	13:23:04	3317	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862809
2023-10-13	13:23:04	3317	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:04	3317	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000052138' AND `virtuemart_product_id` != 1862809
2023-10-13	13:23:04	3317	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:04	3317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862809, '1000000052138')
2023-10-13	13:23:04	3317	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:04	3317	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-1000-lumens-msc-rechargeable-rouge-unitaire' AND `virtuemart_product_id` != 1862809
2023-10-13	13:23:04	3317	[DEBUG]	Query for ProductLang
2023-10-13	13:23:04	3317	[DEBUG]	Executed store
2023-10-13	13:23:04	3317	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 1000 Lumens MSC rechargeable / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-1000-lumens-msc-rechargeable-rouge-unitaire' WHERE `virtuemart_product_id` = '1862809'
2023-10-13	13:23:04	3317	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15581.jpg
2023-10-13	13:23:04	3317	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:04	3317	[DEBUG]	Process image file
2023-10-13	13:23:04	3317	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:04	3317	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:04	3317	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15581.jpg
2023-10-13	13:23:04	3317	[DEBUG]	Full name target: bcprisme/image_15581.jpg
2023-10-13	13:23:05	3317	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:05	3317	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15581.jpg'
2023-10-13	13:23:05	3317	[DEBUG]	Query for Media
2023-10-13	13:23:05	3317	[DEBUG]	Executed store
2023-10-13	13:23:05	3317	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15581.jpg',`file_url_thumb`='bcprisme/image_15581.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13106'
2023-10-13	13:23:05	3317	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:05	3317	[DEBUG]	Executed store
2023-10-13	13:23:05	3317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862809','13106','1')
2023-10-13	13:23:05	3317	[DEBUG]	Store product image relation
2023-10-13	13:23:05	3317	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:05	3317	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862809 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:05	3317	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:05	3317	[DEBUG]	Executed store
2023-10-13	13:23:05	3317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862809','0','148.467966573816','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:05	3317	[DEBUG]	Checking manufacturer
2023-10-13	13:23:05	3317	[DEBUG]	Load a row
2023-10-13	13:23:05	3317	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:05	3317	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:05	3317	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:05	3317	[DEBUG]	Executed store
2023-10-13	13:23:05	3317	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:05	3317	[DEBUG]	Manufacturer exists
2023-10-13	13:23:05	3317	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:05	3317	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:05	3317	[DEBUG]	Executed store
2023-10-13	13:23:05	3317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862809','32')
2023-10-13	13:23:05	3317	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:05	3317	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:05	3317	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862809 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:05	3317	[DEBUG]	Store custom available field
2023-10-13	13:23:05	3317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862809,3,'',1)
2023-10-13	13:23:05	3317	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:05	3317	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:05	3317	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862809 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:05	3317	[DEBUG]	Store custom available field
2023-10-13	13:23:05	3317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862809,6,'Unitaire',3)
2023-10-13	13:23:05	3317	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:05	3317	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:05	3317	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862808
2023-10-13	13:23:05	3317	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:05	3317	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862808\":[1862808,8,1,\"choisir la taille\"],\"1862809\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862808
2023-10-13	13:23:05	3317	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:05	3317	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862809
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:05	3318	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field taille
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:05	3318	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:05	3318	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:05	3318	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:05	3318	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:05	3318	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:05	3318	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field published
2023-10-13	13:23:05	3318	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:05	3318	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field override
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:05	3318	[DEBUG]	Use field value for field slug
2023-10-13	13:23:05	3318	[DEBUG]	Process line 3318
2023-10-13	13:23:05	3318	[DEBUG]	Load a row
2023-10-13	13:23:05	3318	[DEBUG]	Processing item: A_3566_1
2023-10-13	13:23:05	3318	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:05	3318	[DEBUG]	Processing product tax
2023-10-13	13:23:05	3318	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:05	3318	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:05	3318	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:05	3318	[DEBUG]	Query for Product
2023-10-13	13:23:05	3318	[DEBUG]	Executed store
2023-10-13	13:23:05	3318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3566_1','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:05	3318	[DEBUG]	Check product language entry
2023-10-13	13:23:05	3318	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862810
2023-10-13	13:23:05	3318	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:05	3318	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3566_1' AND `virtuemart_product_id` != 1862810
2023-10-13	13:23:05	3318	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:05	3318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862810, 'A_3566_1')
2023-10-13	13:23:05	3318	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:05	3318	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-300-lumens-msc-support-casque-inclus-usb-noir' AND `virtuemart_product_id` != 1862810
2023-10-13	13:23:05	3318	[DEBUG]	Query for ProductLang
2023-10-13	13:23:05	3318	[DEBUG]	Executed store
2023-10-13	13:23:05	3318	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='LUMIERE 300 LUMENS, support casque inclus, USB, 113 gr. Dimension: 69x43x24mm Poids: 54g Lumière: LED Puissance: 300 lumens Modes de fonctionnement: 3 Batterie: Batterie au lithium rechargeable Chargeur USB inclus Autonomie: luminosité moyenne 6h <br>N° art fourn : LIGHT300',`product_name`='MSC Lumière avant 300 Lumens MSC support casque inclus, USB / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-300-lumens-msc-support-casque-inclus-usb-noir' WHERE `virtuemart_product_id` = '1862810'
2023-10-13	13:23:05	3318	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18150.jpg
2023-10-13	13:23:05	3318	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:05	3318	[DEBUG]	Process image file
2023-10-13	13:23:05	3318	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:05	3318	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:05	3318	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18150.jpg
2023-10-13	13:23:05	3318	[DEBUG]	Full name target: bcprisme/image_18150.jpg
2023-10-13	13:23:07	3318	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:07	3318	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18150.jpg'
2023-10-13	13:23:07	3318	[DEBUG]	Query for Media
2023-10-13	13:23:07	3318	[DEBUG]	Executed store
2023-10-13	13:23:07	3318	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18150.jpg',`file_url_thumb`='bcprisme/image_18150.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13113'
2023-10-13	13:23:07	3318	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:07	3318	[DEBUG]	Executed store
2023-10-13	13:23:07	3318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862810','13113','1')
2023-10-13	13:23:07	3318	[DEBUG]	Store product image relation
2023-10-13	13:23:07	3318	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:07	3318	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862810 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:07	3318	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:07	3318	[DEBUG]	Executed store
2023-10-13	13:23:07	3318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862810','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:07	3318	[DEBUG]	Checking manufacturer
2023-10-13	13:23:07	3318	[DEBUG]	Load a row
2023-10-13	13:23:07	3318	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:07	3318	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:07	3318	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:07	3318	[DEBUG]	Executed store
2023-10-13	13:23:07	3318	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:07	3318	[DEBUG]	Manufacturer exists
2023-10-13	13:23:07	3318	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:07	3318	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:07	3318	[DEBUG]	Executed store
2023-10-13	13:23:07	3318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862810','32')
2023-10-13	13:23:07	3318	[DEBUG]	Find the custom field ID
2023-10-13	13:23:07	3318	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:07	3318	[DEBUG]	No custom field ID found
2023-10-13	13:23:07	3318	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:07	3318	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	13:23:07	3318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862810 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:07	3318	[DEBUG]	Store custom available field
2023-10-13	13:23:07	3318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862810,3,'49.7613888888889',1)
2023-10-13	13:23:07	3318	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:07	3318	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:07	3318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862810 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:07	3318	[DEBUG]	Store custom available field
2023-10-13	13:23:07	3318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862810,6,'choisir la taille',3)
2023-10-13	13:23:07	3318	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:07	3318	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:07	3318	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:07	3318	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:07	3318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862810 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:07	3318	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:07	3318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862810,8,1)
2023-10-13	13:23:07	3318	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:07	3318	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862810\":[1862810,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862810
2023-10-13	13:23:07	3318	[DEBUG]	Checking category
2023-10-13	13:23:07	3318	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:07	3318	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862810
2023-10-13	13:23:07	3318	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:07	3318	[DEBUG]	Executed store
2023-10-13	13:23:07	3318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862810','7375')
2023-10-13	13:23:07	3318	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:07	3318	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862810 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:07	3318	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:07	3318	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862810
2023-10-13	13:23:07	3319	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:07	3319	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:07	3319	[DEBUG]	Use field value for field taille
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:07	3319	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:07	3319	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:07	3319	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:07	3319	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:07	3319	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:07	3319	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:07	3319	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:07	3319	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:07	3319	[DEBUG]	Use field value for field published
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:07	3319	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field override
2023-10-13	13:23:07	3319	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:07	3319	[DEBUG]	Use field value for field slug
2023-10-13	13:23:07	3319	[DEBUG]	Process line 3319
2023-10-13	13:23:07	3319	[DEBUG]	Load a row
2023-10-13	13:23:07	3319	[DEBUG]	Processing item: 8436550197518
2023-10-13	13:23:07	3319	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:07	3319	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:07	3319	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3566_1'
2023-10-13	13:23:07	3319	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:07	3319	[DEBUG]	Processing product tax
2023-10-13	13:23:07	3319	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:07	3319	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:07	3319	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:07	3319	[DEBUG]	Query for Product
2023-10-13	13:23:07	3319	[DEBUG]	Executed store
2023-10-13	13:23:07	3319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862810','8436550197518','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:07	3319	[DEBUG]	No parent found
2023-10-13	13:23:07	3319	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862810 AND customfield_value = 'stockable'
2023-10-13	13:23:07	3319	[DEBUG]	Check product language entry
2023-10-13	13:23:07	3319	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862811
2023-10-13	13:23:07	3319	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:07	3319	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550197518' AND `virtuemart_product_id` != 1862811
2023-10-13	13:23:07	3319	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:07	3319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862811, '8436550197518')
2023-10-13	13:23:07	3319	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:07	3319	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-300-lumens-msc-support-casque-inclus-usb-noir-unitaire' AND `virtuemart_product_id` != 1862811
2023-10-13	13:23:07	3319	[DEBUG]	Query for ProductLang
2023-10-13	13:23:07	3319	[DEBUG]	Executed store
2023-10-13	13:23:07	3319	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 300 Lumens MSC support casque inclus, USB / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-300-lumens-msc-support-casque-inclus-usb-noir-unitaire' WHERE `virtuemart_product_id` = '1862811'
2023-10-13	13:23:07	3319	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18150.jpg
2023-10-13	13:23:07	3319	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:07	3319	[DEBUG]	Process image file
2023-10-13	13:23:07	3319	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:07	3319	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:07	3319	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18150.jpg
2023-10-13	13:23:07	3319	[DEBUG]	Full name target: bcprisme/image_18150.jpg
2023-10-13	13:23:08	3319	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:08	3319	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18150.jpg'
2023-10-13	13:23:08	3319	[DEBUG]	Query for Media
2023-10-13	13:23:08	3319	[DEBUG]	Executed store
2023-10-13	13:23:08	3319	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18150.jpg',`file_url_thumb`='bcprisme/image_18150.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13113'
2023-10-13	13:23:08	3319	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:08	3319	[DEBUG]	Executed store
2023-10-13	13:23:08	3319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862811','13113','1')
2023-10-13	13:23:08	3319	[DEBUG]	Store product image relation
2023-10-13	13:23:08	3319	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:08	3319	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862811 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:08	3319	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:08	3319	[DEBUG]	Executed store
2023-10-13	13:23:08	3319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862811','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:08	3319	[DEBUG]	Checking manufacturer
2023-10-13	13:23:08	3319	[DEBUG]	Load a row
2023-10-13	13:23:08	3319	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:08	3319	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:08	3319	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:08	3319	[DEBUG]	Executed store
2023-10-13	13:23:08	3319	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:08	3319	[DEBUG]	Manufacturer exists
2023-10-13	13:23:08	3319	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:08	3319	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:08	3319	[DEBUG]	Executed store
2023-10-13	13:23:08	3319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862811','32')
2023-10-13	13:23:08	3319	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:08	3319	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:08	3319	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862811 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:08	3319	[DEBUG]	Store custom available field
2023-10-13	13:23:08	3319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862811,3,'',1)
2023-10-13	13:23:08	3319	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:08	3319	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:08	3319	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862811 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:08	3319	[DEBUG]	Store custom available field
2023-10-13	13:23:08	3319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862811,6,'Unitaire',3)
2023-10-13	13:23:08	3319	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:08	3319	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:08	3319	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862810
2023-10-13	13:23:08	3319	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:08	3319	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862810\":[1862810,8,1,\"choisir la taille\"],\"1862811\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862810
2023-10-13	13:23:08	3319	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:08	3319	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862811
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:08	3320	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field taille
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:08	3320	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:08	3320	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:08	3320	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:08	3320	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:08	3320	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:08	3320	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field published
2023-10-13	13:23:08	3320	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:08	3320	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field override
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:08	3320	[DEBUG]	Use field value for field slug
2023-10-13	13:23:08	3320	[DEBUG]	Process line 3320
2023-10-13	13:23:08	3320	[DEBUG]	Load a row
2023-10-13	13:23:08	3320	[DEBUG]	Processing item: A_3567_1
2023-10-13	13:23:08	3320	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:08	3320	[DEBUG]	Processing product tax
2023-10-13	13:23:08	3320	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:08	3320	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:08	3320	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:08	3320	[DEBUG]	Query for Product
2023-10-13	13:23:08	3320	[DEBUG]	Executed store
2023-10-13	13:23:08	3320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3567_1','0.113','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:08	3320	[DEBUG]	Check product language entry
2023-10-13	13:23:08	3320	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862812
2023-10-13	13:23:08	3320	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:08	3320	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3567_1' AND `virtuemart_product_id` != 1862812
2023-10-13	13:23:08	3320	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:08	3320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862812, 'A_3567_1')
2023-10-13	13:23:08	3320	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:08	3320	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-400-lumens-msc-led-rechargeable-noir' AND `virtuemart_product_id` != 1862812
2023-10-13	13:23:08	3320	[DEBUG]	Query for ProductLang
2023-10-13	13:23:08	3320	[DEBUG]	Executed store
2023-10-13	13:23:08	3320	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='LUMIERE AVANT LED 400 LUMENS RECHARGEABLE  Dimension: 34x27x105mm Poids: 130g avec batterie Lumière: LED Puissance: 400 lumens Modes de fonctionnement: 3 Batterie: les batteries et chargeur inclus Autonomie: 10h luminosité moyenne sur la batterie MSC BIKES, S.L. <br>N° art fourn : LIGHT400',`product_name`='MSC Lumière avant 400 Lumens MSC LED rechargeable / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-400-lumens-msc-led-rechargeable-noir' WHERE `virtuemart_product_id` = '1862812'
2023-10-13	13:23:08	3320	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18151.jpg
2023-10-13	13:23:08	3320	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:08	3320	[DEBUG]	Process image file
2023-10-13	13:23:08	3320	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:08	3320	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:08	3320	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18151.jpg
2023-10-13	13:23:08	3320	[DEBUG]	Full name target: bcprisme/image_18151.jpg
2023-10-13	13:23:09	3320	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:09	3320	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18151.jpg'
2023-10-13	13:23:09	3320	[DEBUG]	Query for Media
2023-10-13	13:23:09	3320	[DEBUG]	Executed store
2023-10-13	13:23:09	3320	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18151.jpg',`file_url_thumb`='bcprisme/image_18151.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13114'
2023-10-13	13:23:09	3320	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:09	3320	[DEBUG]	Executed store
2023-10-13	13:23:09	3320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862812','13114','1')
2023-10-13	13:23:09	3320	[DEBUG]	Store product image relation
2023-10-13	13:23:09	3320	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:09	3320	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862812 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:09	3320	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:09	3320	[DEBUG]	Executed store
2023-10-13	13:23:09	3320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862812','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:09	3320	[DEBUG]	Checking manufacturer
2023-10-13	13:23:09	3320	[DEBUG]	Load a row
2023-10-13	13:23:09	3320	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:09	3320	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:09	3320	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:09	3320	[DEBUG]	Executed store
2023-10-13	13:23:09	3320	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:09	3320	[DEBUG]	Manufacturer exists
2023-10-13	13:23:09	3320	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:09	3320	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:09	3320	[DEBUG]	Executed store
2023-10-13	13:23:09	3320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862812','32')
2023-10-13	13:23:09	3320	[DEBUG]	Find the custom field ID
2023-10-13	13:23:09	3320	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:09	3320	[DEBUG]	No custom field ID found
2023-10-13	13:23:09	3320	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:09	3320	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	13:23:09	3320	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862812 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:09	3320	[DEBUG]	Store custom available field
2023-10-13	13:23:09	3320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862812,3,'49.7613888888889',1)
2023-10-13	13:23:09	3320	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:09	3320	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:09	3320	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862812 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:09	3320	[DEBUG]	Store custom available field
2023-10-13	13:23:09	3320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862812,6,'choisir la taille',3)
2023-10-13	13:23:09	3320	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:09	3320	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:09	3320	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:09	3320	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:09	3320	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862812 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:09	3320	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:09	3320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862812,8,1)
2023-10-13	13:23:09	3320	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:09	3320	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862812\":[1862812,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862812
2023-10-13	13:23:09	3320	[DEBUG]	Checking category
2023-10-13	13:23:09	3320	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:09	3320	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862812
2023-10-13	13:23:09	3320	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:09	3320	[DEBUG]	Executed store
2023-10-13	13:23:09	3320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862812','7375')
2023-10-13	13:23:09	3320	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:09	3320	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862812 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:09	3320	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:09	3320	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862812
2023-10-13	13:23:09	3321	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:09	3321	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:09	3321	[DEBUG]	Use field value for field taille
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:09	3321	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:09	3321	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:09	3321	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:09	3321	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:09	3321	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:09	3321	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:09	3321	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:09	3321	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:09	3321	[DEBUG]	Use field value for field published
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:09	3321	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field override
2023-10-13	13:23:09	3321	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:09	3321	[DEBUG]	Use field value for field slug
2023-10-13	13:23:09	3321	[DEBUG]	Process line 3321
2023-10-13	13:23:09	3321	[DEBUG]	Load a row
2023-10-13	13:23:09	3321	[DEBUG]	Processing item: 1000000056365
2023-10-13	13:23:09	3321	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:09	3321	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:09	3321	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3567_1'
2023-10-13	13:23:09	3321	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:09	3321	[DEBUG]	Processing product tax
2023-10-13	13:23:09	3321	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:09	3321	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:09	3321	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:09	3321	[DEBUG]	Query for Product
2023-10-13	13:23:09	3321	[DEBUG]	Executed store
2023-10-13	13:23:09	3321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862812','1000000056365','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:09	3321	[DEBUG]	No parent found
2023-10-13	13:23:09	3321	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862812 AND customfield_value = 'stockable'
2023-10-13	13:23:09	3321	[DEBUG]	Check product language entry
2023-10-13	13:23:09	3321	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862813
2023-10-13	13:23:09	3321	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:09	3321	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000056365' AND `virtuemart_product_id` != 1862813
2023-10-13	13:23:09	3321	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:09	3321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862813, '1000000056365')
2023-10-13	13:23:09	3321	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:09	3321	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-400-lumens-msc-led-rechargeable-noir-unitaire' AND `virtuemart_product_id` != 1862813
2023-10-13	13:23:09	3321	[DEBUG]	Query for ProductLang
2023-10-13	13:23:09	3321	[DEBUG]	Executed store
2023-10-13	13:23:09	3321	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 400 Lumens MSC LED rechargeable / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-400-lumens-msc-led-rechargeable-noir-unitaire' WHERE `virtuemart_product_id` = '1862813'
2023-10-13	13:23:09	3321	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18151.jpg
2023-10-13	13:23:09	3321	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:09	3321	[DEBUG]	Process image file
2023-10-13	13:23:09	3321	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:09	3321	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:09	3321	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_18151.jpg
2023-10-13	13:23:09	3321	[DEBUG]	Full name target: bcprisme/image_18151.jpg
2023-10-13	13:23:10	3321	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:10	3321	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_18151.jpg'
2023-10-13	13:23:10	3321	[DEBUG]	Query for Media
2023-10-13	13:23:10	3321	[DEBUG]	Executed store
2023-10-13	13:23:10	3321	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_18151.jpg',`file_url_thumb`='bcprisme/image_18151.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13114'
2023-10-13	13:23:10	3321	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:10	3321	[DEBUG]	Executed store
2023-10-13	13:23:10	3321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862813','13114','1')
2023-10-13	13:23:10	3321	[DEBUG]	Store product image relation
2023-10-13	13:23:10	3321	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:10	3321	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862813 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:10	3321	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:10	3321	[DEBUG]	Executed store
2023-10-13	13:23:10	3321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862813','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:10	3321	[DEBUG]	Checking manufacturer
2023-10-13	13:23:10	3321	[DEBUG]	Load a row
2023-10-13	13:23:10	3321	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:10	3321	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:10	3321	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:10	3321	[DEBUG]	Executed store
2023-10-13	13:23:10	3321	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:10	3321	[DEBUG]	Manufacturer exists
2023-10-13	13:23:10	3321	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:10	3321	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:10	3321	[DEBUG]	Executed store
2023-10-13	13:23:10	3321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862813','32')
2023-10-13	13:23:10	3321	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:10	3321	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:10	3321	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862813 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:10	3321	[DEBUG]	Store custom available field
2023-10-13	13:23:10	3321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862813,3,'',1)
2023-10-13	13:23:10	3321	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:10	3321	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:10	3321	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862813 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:10	3321	[DEBUG]	Store custom available field
2023-10-13	13:23:10	3321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862813,6,'Unitaire',3)
2023-10-13	13:23:10	3321	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:10	3321	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:10	3321	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862812
2023-10-13	13:23:10	3321	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:10	3321	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862812\":[1862812,8,1,\"choisir la taille\"],\"1862813\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862812
2023-10-13	13:23:10	3321	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:10	3321	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862813
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:10	3322	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field taille
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:10	3322	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:10	3322	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:10	3322	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:10	3322	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:10	3322	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:10	3322	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field published
2023-10-13	13:23:10	3322	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:10	3322	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field override
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:10	3322	[DEBUG]	Use field value for field slug
2023-10-13	13:23:10	3322	[DEBUG]	Process line 3322
2023-10-13	13:23:10	3322	[DEBUG]	Load a row
2023-10-13	13:23:10	3322	[DEBUG]	Processing item: A_3569_1
2023-10-13	13:23:10	3322	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:10	3322	[DEBUG]	Processing product tax
2023-10-13	13:23:10	3322	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:10	3322	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:10	3322	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:10	3322	[DEBUG]	Query for Product
2023-10-13	13:23:10	3322	[DEBUG]	Executed store
2023-10-13	13:23:10	3322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3569_1','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:10	3322	[DEBUG]	Check product language entry
2023-10-13	13:23:10	3322	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862814
2023-10-13	13:23:10	3322	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:10	3322	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3569_1' AND `virtuemart_product_id` != 1862814
2023-10-13	13:23:10	3322	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:10	3322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862814, 'A_3569_1')
2023-10-13	13:23:10	3322	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:10	3322	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-silicone-pour-guidon-de-route-diametre-de-16-a-33-mm-noir' AND `virtuemart_product_id` != 1862814
2023-10-13	13:23:10	3322	[DEBUG]	Query for ProductLang
2023-10-13	13:23:10	3322	[DEBUG]	Executed store
2023-10-13	13:23:10	3322	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>Diamètre du cintre route intérieur de 16 à 33 mm. Poids : 20 gr. / unité. Lumière : 2 batteries bouton. Lumière en silicone résistant à la pluie<br>N° art fourn : LIGHTAPBK',`product_name`='MSC Lumière silicone pour guidon de route, diamètre de 16 à 33 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-silicone-pour-guidon-de-route-diametre-de-16-a-33-mm-noir' WHERE `virtuemart_product_id` = '1862814'
2023-10-13	13:23:10	3322	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/18153_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg
2023-10-13	13:23:10	3322	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:10	3322	[DEBUG]	Process image file
2023-10-13	13:23:10	3322	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:10	3322	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:10	3322	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/18153_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg
2023-10-13	13:23:10	3322	[DEBUG]	Full name target: bcprisme/18153_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg
2023-10-13	13:23:11	3322	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:11	3322	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/18153_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg'
2023-10-13	13:23:11	3322	[DEBUG]	Query for Media
2023-10-13	13:23:11	3322	[DEBUG]	Executed store
2023-10-13	13:23:11	3322	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/18153_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg',`file_url_thumb`='bcprisme/18153_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337659'
2023-10-13	13:23:11	3322	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:11	3322	[DEBUG]	Executed store
2023-10-13	13:23:11	3322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862814','337659','1')
2023-10-13	13:23:11	3322	[DEBUG]	Store product image relation
2023-10-13	13:23:11	3322	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:11	3322	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862814 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:11	3322	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:11	3322	[DEBUG]	Executed store
2023-10-13	13:23:11	3322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862814','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:11	3322	[DEBUG]	Checking manufacturer
2023-10-13	13:23:11	3322	[DEBUG]	Load a row
2023-10-13	13:23:11	3322	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:11	3322	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:11	3322	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:11	3322	[DEBUG]	Executed store
2023-10-13	13:23:11	3322	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:11	3322	[DEBUG]	Manufacturer exists
2023-10-13	13:23:11	3322	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:11	3322	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:11	3322	[DEBUG]	Executed store
2023-10-13	13:23:11	3322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862814','32')
2023-10-13	13:23:11	3322	[DEBUG]	Find the custom field ID
2023-10-13	13:23:11	3322	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:11	3322	[DEBUG]	No custom field ID found
2023-10-13	13:23:11	3322	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:11	3322	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:23:11	3322	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862814 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:11	3322	[DEBUG]	Store custom available field
2023-10-13	13:23:11	3322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862814,3,'8.87527777777778',1)
2023-10-13	13:23:11	3322	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:11	3322	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:11	3322	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862814 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:11	3322	[DEBUG]	Store custom available field
2023-10-13	13:23:11	3322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862814,6,'choisir la taille',3)
2023-10-13	13:23:11	3322	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:11	3322	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:11	3322	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:11	3322	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:11	3322	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862814 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:11	3322	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:11	3322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862814,8,1)
2023-10-13	13:23:11	3322	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:11	3322	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862814\":[1862814,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862814
2023-10-13	13:23:11	3322	[DEBUG]	Checking category
2023-10-13	13:23:11	3322	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:11	3322	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862814
2023-10-13	13:23:11	3322	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:11	3322	[DEBUG]	Executed store
2023-10-13	13:23:11	3322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862814','7375')
2023-10-13	13:23:11	3322	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:11	3322	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862814 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:11	3322	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:11	3322	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862814
2023-10-13	13:23:11	3323	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:11	3323	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:11	3323	[DEBUG]	Use field value for field taille
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:11	3323	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:11	3323	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:11	3323	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:11	3323	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:11	3323	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:11	3323	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:11	3323	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:11	3323	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:11	3323	[DEBUG]	Use field value for field published
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:11	3323	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field override
2023-10-13	13:23:11	3323	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:11	3323	[DEBUG]	Use field value for field slug
2023-10-13	13:23:11	3323	[DEBUG]	Process line 3323
2023-10-13	13:23:11	3323	[DEBUG]	Load a row
2023-10-13	13:23:11	3323	[DEBUG]	Processing item: 1000000056389
2023-10-13	13:23:11	3323	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:11	3323	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:11	3323	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3569_1'
2023-10-13	13:23:11	3323	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:11	3323	[DEBUG]	Processing product tax
2023-10-13	13:23:11	3323	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:11	3323	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:11	3323	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:11	3323	[DEBUG]	Query for Product
2023-10-13	13:23:11	3323	[DEBUG]	Executed store
2023-10-13	13:23:11	3323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862814','1000000056389','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:11	3323	[DEBUG]	No parent found
2023-10-13	13:23:11	3323	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862814 AND customfield_value = 'stockable'
2023-10-13	13:23:11	3323	[DEBUG]	Check product language entry
2023-10-13	13:23:11	3323	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862815
2023-10-13	13:23:11	3323	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:11	3323	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000056389' AND `virtuemart_product_id` != 1862815
2023-10-13	13:23:11	3323	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:11	3323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862815, '1000000056389')
2023-10-13	13:23:11	3323	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:11	3323	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-silicone-pour-guidon-de-route-diametre-de-16-a-33-mm-noir-unitaire' AND `virtuemart_product_id` != 1862815
2023-10-13	13:23:11	3323	[DEBUG]	Query for ProductLang
2023-10-13	13:23:11	3323	[DEBUG]	Executed store
2023-10-13	13:23:11	3323	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière silicone pour guidon de route, diamètre de 16 à 33 mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-silicone-pour-guidon-de-route-diametre-de-16-a-33-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862815'
2023-10-13	13:23:11	3323	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/18153_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg
2023-10-13	13:23:11	3323	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:11	3323	[DEBUG]	Process image file
2023-10-13	13:23:11	3323	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:11	3323	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:11	3323	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/18153_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg
2023-10-13	13:23:11	3323	[DEBUG]	Full name target: bcprisme/18153_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg
2023-10-13	13:23:12	3323	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:12	3323	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/18153_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg'
2023-10-13	13:23:12	3323	[DEBUG]	Query for Media
2023-10-13	13:23:12	3323	[DEBUG]	Executed store
2023-10-13	13:23:12	3323	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/18153_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg',`file_url_thumb`='bcprisme/18153_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337659'
2023-10-13	13:23:12	3323	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:12	3323	[DEBUG]	Executed store
2023-10-13	13:23:12	3323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862815','337659','1')
2023-10-13	13:23:12	3323	[DEBUG]	Store product image relation
2023-10-13	13:23:12	3323	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:12	3323	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862815 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:12	3323	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:12	3323	[DEBUG]	Executed store
2023-10-13	13:23:12	3323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862815','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:12	3323	[DEBUG]	Checking manufacturer
2023-10-13	13:23:12	3323	[DEBUG]	Load a row
2023-10-13	13:23:12	3323	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:12	3323	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:12	3323	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:12	3323	[DEBUG]	Executed store
2023-10-13	13:23:12	3323	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:12	3323	[DEBUG]	Manufacturer exists
2023-10-13	13:23:12	3323	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:12	3323	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:12	3323	[DEBUG]	Executed store
2023-10-13	13:23:12	3323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862815','32')
2023-10-13	13:23:12	3323	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:12	3323	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:12	3323	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862815 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:12	3323	[DEBUG]	Store custom available field
2023-10-13	13:23:12	3323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862815,3,'',1)
2023-10-13	13:23:12	3323	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:12	3323	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:12	3323	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862815 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:12	3323	[DEBUG]	Store custom available field
2023-10-13	13:23:12	3323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862815,6,'Unitaire',3)
2023-10-13	13:23:12	3323	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:12	3323	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:12	3323	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862814
2023-10-13	13:23:12	3323	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:12	3323	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862814\":[1862814,8,1,\"choisir la taille\"],\"1862815\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862814
2023-10-13	13:23:12	3323	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:12	3323	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862815
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:12	3324	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field taille
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:12	3324	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:12	3324	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:12	3324	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:12	3324	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:12	3324	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:12	3324	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field published
2023-10-13	13:23:12	3324	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:12	3324	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field override
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:12	3324	[DEBUG]	Use field value for field slug
2023-10-13	13:23:12	3324	[DEBUG]	Process line 3324
2023-10-13	13:23:12	3324	[DEBUG]	Load a row
2023-10-13	13:23:12	3324	[DEBUG]	Processing item: A_3569_7
2023-10-13	13:23:12	3324	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:12	3324	[DEBUG]	Processing product tax
2023-10-13	13:23:12	3324	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:12	3324	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:12	3324	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:12	3324	[DEBUG]	Query for Product
2023-10-13	13:23:12	3324	[DEBUG]	Executed store
2023-10-13	13:23:12	3324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3569_7','0.04','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:12	3324	[DEBUG]	Check product language entry
2023-10-13	13:23:12	3324	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862816
2023-10-13	13:23:12	3324	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:12	3324	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3569_7' AND `virtuemart_product_id` != 1862816
2023-10-13	13:23:12	3324	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:12	3324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862816, 'A_3569_7')
2023-10-13	13:23:12	3324	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:12	3324	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-silicone-pour-guidon-de-route-diametre-de-16-a-33-mm-rouge' AND `virtuemart_product_id` != 1862816
2023-10-13	13:23:12	3324	[DEBUG]	Query for ProductLang
2023-10-13	13:23:12	3324	[DEBUG]	Executed store
2023-10-13	13:23:12	3324	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>Diamètre du cintre route intérieur de 16 à 33 mm. Poids : 20 gr. / unité. Lumière : 2 batteries bouton. Lumière en silicone résistant à la pluie<br>N° art fourn : LIGHTAPBK',`product_name`='MSC Lumière silicone pour guidon de route, diamètre de 16 à 33 mm / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-silicone-pour-guidon-de-route-diametre-de-16-a-33-mm-rouge' WHERE `virtuemart_product_id` = '1862816'
2023-10-13	13:23:12	3324	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/18154_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg
2023-10-13	13:23:12	3324	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:12	3324	[DEBUG]	Process image file
2023-10-13	13:23:12	3324	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:12	3324	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:12	3324	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/18154_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg
2023-10-13	13:23:12	3324	[DEBUG]	Full name target: bcprisme/18154_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg
2023-10-13	13:23:13	3324	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:13	3324	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/18154_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg'
2023-10-13	13:23:13	3324	[DEBUG]	Query for Media
2023-10-13	13:23:13	3324	[DEBUG]	Executed store
2023-10-13	13:23:13	3324	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/18154_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg',`file_url_thumb`='bcprisme/18154_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337661'
2023-10-13	13:23:13	3324	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:13	3324	[DEBUG]	Executed store
2023-10-13	13:23:13	3324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862816','337661','1')
2023-10-13	13:23:13	3324	[DEBUG]	Store product image relation
2023-10-13	13:23:13	3324	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:13	3324	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862816 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:13	3324	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:13	3324	[DEBUG]	Executed store
2023-10-13	13:23:13	3324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862816','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:13	3324	[DEBUG]	Checking manufacturer
2023-10-13	13:23:13	3324	[DEBUG]	Load a row
2023-10-13	13:23:13	3324	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:13	3324	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:13	3324	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:13	3324	[DEBUG]	Executed store
2023-10-13	13:23:13	3324	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:13	3324	[DEBUG]	Manufacturer exists
2023-10-13	13:23:13	3324	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:13	3324	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:13	3324	[DEBUG]	Executed store
2023-10-13	13:23:13	3324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862816','32')
2023-10-13	13:23:13	3324	[DEBUG]	Find the custom field ID
2023-10-13	13:23:13	3324	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:13	3324	[DEBUG]	No custom field ID found
2023-10-13	13:23:13	3324	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:13	3324	[DEBUG]	Get existing row with customfield value 8.87527777777778
2023-10-13	13:23:13	3324	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862816 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:13	3324	[DEBUG]	Store custom available field
2023-10-13	13:23:13	3324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862816,3,'8.87527777777778',1)
2023-10-13	13:23:13	3324	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:13	3324	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:13	3324	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862816 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:13	3324	[DEBUG]	Store custom available field
2023-10-13	13:23:13	3324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862816,6,'choisir la taille',3)
2023-10-13	13:23:13	3324	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:13	3324	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:13	3324	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:13	3324	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:13	3324	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862816 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:13	3324	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:13	3324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862816,8,1)
2023-10-13	13:23:13	3324	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:13	3324	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862816\":[1862816,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862816
2023-10-13	13:23:13	3324	[DEBUG]	Checking category
2023-10-13	13:23:13	3324	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:13	3324	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862816
2023-10-13	13:23:13	3324	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:13	3324	[DEBUG]	Executed store
2023-10-13	13:23:13	3324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862816','7375')
2023-10-13	13:23:13	3324	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:13	3324	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862816 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:13	3324	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:13	3324	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862816
2023-10-13	13:23:13	3325	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:13	3325	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:13	3325	[DEBUG]	Use field value for field taille
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:13	3325	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:13	3325	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:13	3325	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:13	3325	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:13	3325	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:13	3325	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:13	3325	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:13	3325	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:13	3325	[DEBUG]	Use field value for field published
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:13	3325	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field override
2023-10-13	13:23:13	3325	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:13	3325	[DEBUG]	Use field value for field slug
2023-10-13	13:23:13	3325	[DEBUG]	Process line 3325
2023-10-13	13:23:13	3325	[DEBUG]	Load a row
2023-10-13	13:23:13	3325	[DEBUG]	Processing item: 1000000056396
2023-10-13	13:23:13	3325	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:13	3325	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:13	3325	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3569_7'
2023-10-13	13:23:13	3325	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:13	3325	[DEBUG]	Processing product tax
2023-10-13	13:23:13	3325	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:13	3325	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:13	3325	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:13	3325	[DEBUG]	Query for Product
2023-10-13	13:23:13	3325	[DEBUG]	Executed store
2023-10-13	13:23:13	3325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862816','1000000056396','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:13	3325	[DEBUG]	No parent found
2023-10-13	13:23:13	3325	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862816 AND customfield_value = 'stockable'
2023-10-13	13:23:13	3325	[DEBUG]	Check product language entry
2023-10-13	13:23:13	3325	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862817
2023-10-13	13:23:13	3325	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:13	3325	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000056396' AND `virtuemart_product_id` != 1862817
2023-10-13	13:23:13	3325	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:13	3325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862817, '1000000056396')
2023-10-13	13:23:13	3325	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:13	3325	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-silicone-pour-guidon-de-route-diametre-de-16-a-33-mm-rouge-unitaire' AND `virtuemart_product_id` != 1862817
2023-10-13	13:23:13	3325	[DEBUG]	Query for ProductLang
2023-10-13	13:23:13	3325	[DEBUG]	Executed store
2023-10-13	13:23:13	3325	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière silicone pour guidon de route, diamètre de 16 à 33 mm / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-silicone-pour-guidon-de-route-diametre-de-16-a-33-mm-rouge-unitaire' WHERE `virtuemart_product_id` = '1862817'
2023-10-13	13:23:13	3325	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/18154_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg
2023-10-13	13:23:13	3325	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:13	3325	[DEBUG]	Process image file
2023-10-13	13:23:13	3325	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:13	3325	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:13	3325	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/18154_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg
2023-10-13	13:23:13	3325	[DEBUG]	Full name target: bcprisme/18154_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg
2023-10-13	13:23:14	3325	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:14	3325	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/18154_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg'
2023-10-13	13:23:14	3325	[DEBUG]	Query for Media
2023-10-13	13:23:14	3325	[DEBUG]	Executed store
2023-10-13	13:23:14	3325	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/18154_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg',`file_url_thumb`='bcprisme/18154_lumiere_silicone_pour_guidon_de_route,_diametre_de_16_à_33_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337661'
2023-10-13	13:23:14	3325	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:14	3325	[DEBUG]	Executed store
2023-10-13	13:23:14	3325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862817','337661','1')
2023-10-13	13:23:14	3325	[DEBUG]	Store product image relation
2023-10-13	13:23:14	3325	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:14	3325	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862817 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:14	3325	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:14	3325	[DEBUG]	Executed store
2023-10-13	13:23:14	3325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862817','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:14	3325	[DEBUG]	Checking manufacturer
2023-10-13	13:23:14	3325	[DEBUG]	Load a row
2023-10-13	13:23:14	3325	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:14	3325	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:14	3325	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:14	3325	[DEBUG]	Executed store
2023-10-13	13:23:14	3325	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:14	3325	[DEBUG]	Manufacturer exists
2023-10-13	13:23:14	3325	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:14	3325	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:14	3325	[DEBUG]	Executed store
2023-10-13	13:23:14	3325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862817','32')
2023-10-13	13:23:14	3325	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:14	3325	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:14	3325	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862817 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:14	3325	[DEBUG]	Store custom available field
2023-10-13	13:23:14	3325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862817,3,'',1)
2023-10-13	13:23:14	3325	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:14	3325	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:14	3325	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862817 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:14	3325	[DEBUG]	Store custom available field
2023-10-13	13:23:14	3325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862817,6,'Unitaire',3)
2023-10-13	13:23:14	3325	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:14	3325	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:14	3325	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862816
2023-10-13	13:23:14	3325	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:14	3325	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862816\":[1862816,8,1,\"choisir la taille\"],\"1862817\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862816
2023-10-13	13:23:14	3325	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:14	3325	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862817
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:14	3326	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field taille
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:14	3326	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:14	3326	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:14	3326	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:14	3326	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:14	3326	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:14	3326	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field published
2023-10-13	13:23:14	3326	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:14	3326	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field override
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:14	3326	[DEBUG]	Use field value for field slug
2023-10-13	13:23:14	3326	[DEBUG]	Process line 3326
2023-10-13	13:23:14	3326	[DEBUG]	Load a row
2023-10-13	13:23:14	3326	[DEBUG]	Processing item: A_3773_1
2023-10-13	13:23:14	3326	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:14	3326	[DEBUG]	Processing product tax
2023-10-13	13:23:14	3326	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:14	3326	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:14	3326	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:14	3326	[DEBUG]	Query for Product
2023-10-13	13:23:14	3326	[DEBUG]	Executed store
2023-10-13	13:23:14	3326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3773_1','0.065','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:14	3326	[DEBUG]	Check product language entry
2023-10-13	13:23:14	3326	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862818
2023-10-13	13:23:14	3326	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:14	3326	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3773_1' AND `virtuemart_product_id` != 1862818
2023-10-13	13:23:14	3326	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:14	3326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862818, 'A_3773_1')
2023-10-13	13:23:14	3326	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:14	3326	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-100-lumens-msc-rechargeable-usb-65-gr-noir' AND `virtuemart_product_id` != 1862818
2023-10-13	13:23:14	3326	[DEBUG]	Query for ProductLang
2023-10-13	13:23:14	3326	[DEBUG]	Executed store
2023-10-13	13:23:14	3326	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lumières 100 Lumens rechargeable USB, 65 gr.<br>N° art fourn : LIGHT100W',`product_name`='MSC Lumière avant 100 Lumens MSC rechargeable USB, 65 gr. / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-100-lumens-msc-rechargeable-usb-65-gr-noir' WHERE `virtuemart_product_id` = '1862818'
2023-10-13	13:23:14	3326	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20113.jpg
2023-10-13	13:23:14	3326	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:14	3326	[DEBUG]	Process image file
2023-10-13	13:23:14	3326	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:14	3326	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:14	3326	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20113.jpg
2023-10-13	13:23:14	3326	[DEBUG]	Full name target: bcprisme/image_20113.jpg
2023-10-13	13:23:15	3326	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:15	3326	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20113.jpg'
2023-10-13	13:23:15	3326	[DEBUG]	Query for Media
2023-10-13	13:23:15	3326	[DEBUG]	Executed store
2023-10-13	13:23:15	3326	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20113.jpg',`file_url_thumb`='bcprisme/image_20113.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13120'
2023-10-13	13:23:15	3326	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:15	3326	[DEBUG]	Executed store
2023-10-13	13:23:15	3326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862818','13120','1')
2023-10-13	13:23:15	3326	[DEBUG]	Store product image relation
2023-10-13	13:23:15	3326	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:15	3326	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862818 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:15	3326	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:15	3326	[DEBUG]	Executed store
2023-10-13	13:23:15	3326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862818','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:15	3326	[DEBUG]	Checking manufacturer
2023-10-13	13:23:15	3326	[DEBUG]	Load a row
2023-10-13	13:23:15	3326	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:15	3326	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:15	3326	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:15	3326	[DEBUG]	Executed store
2023-10-13	13:23:15	3326	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:15	3326	[DEBUG]	Manufacturer exists
2023-10-13	13:23:15	3326	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:15	3326	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:15	3326	[DEBUG]	Executed store
2023-10-13	13:23:15	3326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862818','32')
2023-10-13	13:23:15	3326	[DEBUG]	Find the custom field ID
2023-10-13	13:23:15	3326	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:15	3326	[DEBUG]	No custom field ID found
2023-10-13	13:23:15	3326	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:15	3326	[DEBUG]	Get existing row with customfield value 24.8308333333333
2023-10-13	13:23:15	3326	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862818 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:15	3326	[DEBUG]	Store custom available field
2023-10-13	13:23:15	3326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862818,3,'24.8308333333333',1)
2023-10-13	13:23:15	3326	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:15	3326	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:15	3326	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862818 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:15	3326	[DEBUG]	Store custom available field
2023-10-13	13:23:15	3326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862818,6,'choisir la taille',3)
2023-10-13	13:23:15	3326	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:15	3326	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:15	3326	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:15	3326	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:15	3326	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862818 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:15	3326	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:15	3326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862818,8,1)
2023-10-13	13:23:15	3326	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:15	3326	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862818\":[1862818,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862818
2023-10-13	13:23:15	3326	[DEBUG]	Checking category
2023-10-13	13:23:15	3326	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:15	3326	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862818
2023-10-13	13:23:15	3326	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:15	3326	[DEBUG]	Executed store
2023-10-13	13:23:15	3326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862818','7375')
2023-10-13	13:23:15	3326	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:15	3326	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862818 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:15	3326	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:15	3326	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862818
2023-10-13	13:23:15	3327	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:15	3327	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:15	3327	[DEBUG]	Use field value for field taille
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:15	3327	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:15	3327	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:15	3327	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:15	3327	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:15	3327	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:15	3327	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:15	3327	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:15	3327	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:15	3327	[DEBUG]	Use field value for field published
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:15	3327	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field override
2023-10-13	13:23:15	3327	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:15	3327	[DEBUG]	Use field value for field slug
2023-10-13	13:23:15	3327	[DEBUG]	Process line 3327
2023-10-13	13:23:15	3327	[DEBUG]	Load a row
2023-10-13	13:23:15	3327	[DEBUG]	Processing item: 8435466291662
2023-10-13	13:23:15	3327	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:15	3327	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:15	3327	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3773_1'
2023-10-13	13:23:15	3327	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:15	3327	[DEBUG]	Processing product tax
2023-10-13	13:23:15	3327	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:15	3327	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:15	3327	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:15	3327	[DEBUG]	Query for Product
2023-10-13	13:23:15	3327	[DEBUG]	Executed store
2023-10-13	13:23:15	3327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862818','8435466291662','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:15	3327	[DEBUG]	No parent found
2023-10-13	13:23:15	3327	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862818 AND customfield_value = 'stockable'
2023-10-13	13:23:15	3327	[DEBUG]	Check product language entry
2023-10-13	13:23:15	3327	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862819
2023-10-13	13:23:15	3327	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:15	3327	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291662' AND `virtuemart_product_id` != 1862819
2023-10-13	13:23:15	3327	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:15	3327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862819, '8435466291662')
2023-10-13	13:23:15	3327	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:15	3327	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-100-lumens-msc-rechargeable-usb-65-gr-noir-unitaire' AND `virtuemart_product_id` != 1862819
2023-10-13	13:23:15	3327	[DEBUG]	Query for ProductLang
2023-10-13	13:23:15	3327	[DEBUG]	Executed store
2023-10-13	13:23:15	3327	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 100 Lumens MSC rechargeable USB, 65 gr. / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-100-lumens-msc-rechargeable-usb-65-gr-noir-unitaire' WHERE `virtuemart_product_id` = '1862819'
2023-10-13	13:23:15	3327	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20113.jpg
2023-10-13	13:23:15	3327	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:15	3327	[DEBUG]	Process image file
2023-10-13	13:23:15	3327	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:15	3327	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:15	3327	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20113.jpg
2023-10-13	13:23:15	3327	[DEBUG]	Full name target: bcprisme/image_20113.jpg
2023-10-13	13:23:16	3327	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:16	3327	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20113.jpg'
2023-10-13	13:23:16	3327	[DEBUG]	Query for Media
2023-10-13	13:23:16	3327	[DEBUG]	Executed store
2023-10-13	13:23:16	3327	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20113.jpg',`file_url_thumb`='bcprisme/image_20113.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13120'
2023-10-13	13:23:16	3327	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:16	3327	[DEBUG]	Executed store
2023-10-13	13:23:16	3327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862819','13120','1')
2023-10-13	13:23:16	3327	[DEBUG]	Store product image relation
2023-10-13	13:23:16	3327	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:16	3327	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862819 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:16	3327	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:16	3327	[DEBUG]	Executed store
2023-10-13	13:23:16	3327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862819','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:16	3327	[DEBUG]	Checking manufacturer
2023-10-13	13:23:16	3327	[DEBUG]	Load a row
2023-10-13	13:23:16	3327	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:16	3327	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:16	3327	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:16	3327	[DEBUG]	Executed store
2023-10-13	13:23:16	3327	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:16	3327	[DEBUG]	Manufacturer exists
2023-10-13	13:23:16	3327	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:16	3327	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:16	3327	[DEBUG]	Executed store
2023-10-13	13:23:16	3327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862819','32')
2023-10-13	13:23:16	3327	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:16	3327	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:16	3327	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862819 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:16	3327	[DEBUG]	Store custom available field
2023-10-13	13:23:16	3327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862819,3,'',1)
2023-10-13	13:23:16	3327	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:16	3327	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:16	3327	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862819 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:16	3327	[DEBUG]	Store custom available field
2023-10-13	13:23:16	3327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862819,6,'Unitaire',3)
2023-10-13	13:23:16	3327	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:16	3327	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:16	3327	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862818
2023-10-13	13:23:16	3327	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:16	3327	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862818\":[1862818,8,1,\"choisir la taille\"],\"1862819\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862818
2023-10-13	13:23:16	3327	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:16	3327	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862819
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:16	3328	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field taille
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:16	3328	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:16	3328	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:16	3328	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:16	3328	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:16	3328	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:16	3328	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field published
2023-10-13	13:23:16	3328	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:16	3328	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field override
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:16	3328	[DEBUG]	Use field value for field slug
2023-10-13	13:23:16	3328	[DEBUG]	Process line 3328
2023-10-13	13:23:16	3328	[DEBUG]	Load a row
2023-10-13	13:23:16	3328	[DEBUG]	Processing item: A_3779_1
2023-10-13	13:23:16	3328	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:16	3328	[DEBUG]	Processing product tax
2023-10-13	13:23:16	3328	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:16	3328	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:16	3328	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:16	3328	[DEBUG]	Query for Product
2023-10-13	13:23:16	3328	[DEBUG]	Executed store
2023-10-13	13:23:16	3328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3779_1','0.065','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:16	3328	[DEBUG]	Check product language entry
2023-10-13	13:23:16	3328	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862820
2023-10-13	13:23:16	3328	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:16	3328	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3779_1' AND `virtuemart_product_id` != 1862820
2023-10-13	13:23:16	3328	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:16	3328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862820, 'A_3779_1')
2023-10-13	13:23:16	3328	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:16	3328	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-arriere-50-lumens-msc-rechargeable-usb-65-gr-noir' AND `virtuemart_product_id` != 1862820
2023-10-13	13:23:16	3328	[DEBUG]	Query for ProductLang
2023-10-13	13:23:16	3328	[DEBUG]	Executed store
2023-10-13	13:23:16	3328	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lumière arrière 50 Lumens MSC rechargeable USB, 65 gr.<br>N° art fourn : LIGHT50R',`product_name`='MSC Lumière arrière 50 Lumens MSC rechargeable USB, 65 gr. / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-arriere-50-lumens-msc-rechargeable-usb-65-gr-noir' WHERE `virtuemart_product_id` = '1862820'
2023-10-13	13:23:16	3328	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20119.jpg
2023-10-13	13:23:16	3328	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:16	3328	[DEBUG]	Process image file
2023-10-13	13:23:16	3328	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:16	3328	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:16	3328	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20119.jpg
2023-10-13	13:23:16	3328	[DEBUG]	Full name target: bcprisme/image_20119.jpg
2023-10-13	13:23:17	3328	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:17	3328	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20119.jpg'
2023-10-13	13:23:17	3328	[DEBUG]	Query for Media
2023-10-13	13:23:17	3328	[DEBUG]	Executed store
2023-10-13	13:23:17	3328	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20119.jpg',`file_url_thumb`='bcprisme/image_20119.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13122'
2023-10-13	13:23:17	3328	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:17	3328	[DEBUG]	Executed store
2023-10-13	13:23:17	3328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862820','13122','1')
2023-10-13	13:23:17	3328	[DEBUG]	Store product image relation
2023-10-13	13:23:17	3328	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:17	3328	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862820 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:17	3328	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:17	3328	[DEBUG]	Executed store
2023-10-13	13:23:17	3328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862820','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:17	3328	[DEBUG]	Checking manufacturer
2023-10-13	13:23:17	3328	[DEBUG]	Load a row
2023-10-13	13:23:17	3328	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:17	3328	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:17	3328	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:17	3328	[DEBUG]	Executed store
2023-10-13	13:23:17	3328	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:17	3328	[DEBUG]	Manufacturer exists
2023-10-13	13:23:17	3328	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:17	3328	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:17	3328	[DEBUG]	Executed store
2023-10-13	13:23:17	3328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862820','32')
2023-10-13	13:23:17	3328	[DEBUG]	Find the custom field ID
2023-10-13	13:23:17	3328	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:17	3328	[DEBUG]	No custom field ID found
2023-10-13	13:23:17	3328	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:17	3328	[DEBUG]	Get existing row with customfield value 24.8308333333333
2023-10-13	13:23:17	3328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862820 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:17	3328	[DEBUG]	Store custom available field
2023-10-13	13:23:17	3328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862820,3,'24.8308333333333',1)
2023-10-13	13:23:17	3328	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:17	3328	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:17	3328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862820 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:17	3328	[DEBUG]	Store custom available field
2023-10-13	13:23:17	3328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862820,6,'choisir la taille',3)
2023-10-13	13:23:17	3328	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:17	3328	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:17	3328	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:17	3328	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:17	3328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862820 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:17	3328	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:17	3328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862820,8,1)
2023-10-13	13:23:17	3328	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:17	3328	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862820\":[1862820,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862820
2023-10-13	13:23:17	3328	[DEBUG]	Checking category
2023-10-13	13:23:17	3328	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:17	3328	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862820
2023-10-13	13:23:17	3328	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:17	3328	[DEBUG]	Executed store
2023-10-13	13:23:17	3328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862820','7375')
2023-10-13	13:23:17	3328	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:17	3328	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862820 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:17	3328	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:17	3328	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862820
2023-10-13	13:23:17	3329	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:17	3329	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:17	3329	[DEBUG]	Use field value for field taille
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:17	3329	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:17	3329	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:17	3329	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:17	3329	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:17	3329	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:17	3329	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:17	3329	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:17	3329	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:17	3329	[DEBUG]	Use field value for field published
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:17	3329	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field override
2023-10-13	13:23:17	3329	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:17	3329	[DEBUG]	Use field value for field slug
2023-10-13	13:23:17	3329	[DEBUG]	Process line 3329
2023-10-13	13:23:17	3329	[DEBUG]	Load a row
2023-10-13	13:23:17	3329	[DEBUG]	Processing item: 8435466291679
2023-10-13	13:23:17	3329	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:17	3329	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:17	3329	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3779_1'
2023-10-13	13:23:17	3329	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:17	3329	[DEBUG]	Processing product tax
2023-10-13	13:23:17	3329	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:18	3329	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:18	3329	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:18	3329	[DEBUG]	Query for Product
2023-10-13	13:23:18	3329	[DEBUG]	Executed store
2023-10-13	13:23:18	3329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862820','8435466291679','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:18	3329	[DEBUG]	No parent found
2023-10-13	13:23:18	3329	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862820 AND customfield_value = 'stockable'
2023-10-13	13:23:18	3329	[DEBUG]	Check product language entry
2023-10-13	13:23:18	3329	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862821
2023-10-13	13:23:18	3329	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:18	3329	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291679' AND `virtuemart_product_id` != 1862821
2023-10-13	13:23:18	3329	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:18	3329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862821, '8435466291679')
2023-10-13	13:23:18	3329	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:18	3329	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-arriere-50-lumens-msc-rechargeable-usb-65-gr-noir-unitaire' AND `virtuemart_product_id` != 1862821
2023-10-13	13:23:18	3329	[DEBUG]	Query for ProductLang
2023-10-13	13:23:18	3329	[DEBUG]	Executed store
2023-10-13	13:23:18	3329	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière arrière 50 Lumens MSC rechargeable USB, 65 gr. / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-arriere-50-lumens-msc-rechargeable-usb-65-gr-noir-unitaire' WHERE `virtuemart_product_id` = '1862821'
2023-10-13	13:23:18	3329	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20119.jpg
2023-10-13	13:23:18	3329	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:18	3329	[DEBUG]	Process image file
2023-10-13	13:23:18	3329	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:18	3329	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:18	3329	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20119.jpg
2023-10-13	13:23:18	3329	[DEBUG]	Full name target: bcprisme/image_20119.jpg
2023-10-13	13:23:18	3329	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:18	3329	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20119.jpg'
2023-10-13	13:23:18	3329	[DEBUG]	Query for Media
2023-10-13	13:23:18	3329	[DEBUG]	Executed store
2023-10-13	13:23:18	3329	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20119.jpg',`file_url_thumb`='bcprisme/image_20119.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13122'
2023-10-13	13:23:18	3329	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:18	3329	[DEBUG]	Executed store
2023-10-13	13:23:18	3329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862821','13122','1')
2023-10-13	13:23:18	3329	[DEBUG]	Store product image relation
2023-10-13	13:23:18	3329	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:18	3329	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862821 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:18	3329	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:18	3329	[DEBUG]	Executed store
2023-10-13	13:23:18	3329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862821','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:19	3329	[DEBUG]	Checking manufacturer
2023-10-13	13:23:19	3329	[DEBUG]	Load a row
2023-10-13	13:23:19	3329	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:19	3329	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:19	3329	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:19	3329	[DEBUG]	Executed store
2023-10-13	13:23:19	3329	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:19	3329	[DEBUG]	Manufacturer exists
2023-10-13	13:23:19	3329	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:19	3329	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:19	3329	[DEBUG]	Executed store
2023-10-13	13:23:19	3329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862821','32')
2023-10-13	13:23:19	3329	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:19	3329	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:19	3329	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862821 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:19	3329	[DEBUG]	Store custom available field
2023-10-13	13:23:19	3329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862821,3,'',1)
2023-10-13	13:23:19	3329	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:19	3329	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:19	3329	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862821 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:19	3329	[DEBUG]	Store custom available field
2023-10-13	13:23:19	3329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862821,6,'Unitaire',3)
2023-10-13	13:23:19	3329	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:19	3329	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:19	3329	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862820
2023-10-13	13:23:19	3329	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:19	3329	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862820\":[1862820,8,1,\"choisir la taille\"],\"1862821\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862820
2023-10-13	13:23:19	3329	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:19	3329	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862821
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:19	3330	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field taille
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:19	3330	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:19	3330	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:19	3330	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:19	3330	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:19	3330	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:19	3330	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field published
2023-10-13	13:23:19	3330	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:19	3330	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field override
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:19	3330	[DEBUG]	Use field value for field slug
2023-10-13	13:23:19	3330	[DEBUG]	Process line 3330
2023-10-13	13:23:19	3330	[DEBUG]	Load a row
2023-10-13	13:23:19	3330	[DEBUG]	Processing item: A_3780_45
2023-10-13	13:23:19	3330	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:19	3330	[DEBUG]	Processing product tax
2023-10-13	13:23:19	3330	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:19	3330	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:19	3330	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:19	3330	[DEBUG]	Query for Product
2023-10-13	13:23:19	3330	[DEBUG]	Executed store
2023-10-13	13:23:19	3330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3780_45','0.065','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:19	3330	[DEBUG]	Check product language entry
2023-10-13	13:23:19	3330	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862822
2023-10-13	13:23:19	3330	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:19	3330	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3780_45' AND `virtuemart_product_id` != 1862822
2023-10-13	13:23:19	3330	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:19	3330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862822, 'A_3780_45')
2023-10-13	13:23:19	3330	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:19	3330	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-50-lumens-msc-rechargeable-usb-65-gr-blanche' AND `virtuemart_product_id` != 1862822
2023-10-13	13:23:19	3330	[DEBUG]	Query for ProductLang
2023-10-13	13:23:19	3330	[DEBUG]	Executed store
2023-10-13	13:23:19	3330	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lumière avant MSC rechargeable USB, 65 gr.<br>N° art fourn : LIGHT50W',`product_name`='MSC Lumière avant 50 Lumens MSC rechargeable USB, 65 gr.  / Blanche',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-50-lumens-msc-rechargeable-usb-65-gr-blanche' WHERE `virtuemart_product_id` = '1862822'
2023-10-13	13:23:19	3330	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20120.jpg
2023-10-13	13:23:19	3330	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:19	3330	[DEBUG]	Process image file
2023-10-13	13:23:19	3330	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:19	3330	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:19	3330	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20120.jpg
2023-10-13	13:23:19	3330	[DEBUG]	Full name target: bcprisme/image_20120.jpg
2023-10-13	13:23:20	3330	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:20	3330	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20120.jpg'
2023-10-13	13:23:20	3330	[DEBUG]	Query for Media
2023-10-13	13:23:20	3330	[DEBUG]	Executed store
2023-10-13	13:23:20	3330	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20120.jpg',`file_url_thumb`='bcprisme/image_20120.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13123'
2023-10-13	13:23:20	3330	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:20	3330	[DEBUG]	Executed store
2023-10-13	13:23:20	3330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862822','13123','1')
2023-10-13	13:23:20	3330	[DEBUG]	Store product image relation
2023-10-13	13:23:20	3330	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:20	3330	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862822 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:20	3330	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:20	3330	[DEBUG]	Executed store
2023-10-13	13:23:20	3330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862822','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:20	3330	[DEBUG]	Checking manufacturer
2023-10-13	13:23:20	3330	[DEBUG]	Load a row
2023-10-13	13:23:20	3330	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:20	3330	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:20	3330	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:20	3330	[DEBUG]	Executed store
2023-10-13	13:23:20	3330	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:20	3330	[DEBUG]	Manufacturer exists
2023-10-13	13:23:20	3330	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:20	3330	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:20	3330	[DEBUG]	Executed store
2023-10-13	13:23:20	3330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862822','32')
2023-10-13	13:23:20	3330	[DEBUG]	Find the custom field ID
2023-10-13	13:23:20	3330	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:20	3330	[DEBUG]	No custom field ID found
2023-10-13	13:23:20	3330	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:20	3330	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:23:20	3330	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862822 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:20	3330	[DEBUG]	Store custom available field
2023-10-13	13:23:20	3330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862822,3,'21.8391666666667',1)
2023-10-13	13:23:20	3330	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:20	3330	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:20	3330	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862822 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:20	3330	[DEBUG]	Store custom available field
2023-10-13	13:23:20	3330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862822,6,'choisir la taille',3)
2023-10-13	13:23:20	3330	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:20	3330	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:20	3330	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:20	3330	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:20	3330	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862822 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:20	3330	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:20	3330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862822,8,1)
2023-10-13	13:23:20	3330	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:20	3330	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862822\":[1862822,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862822
2023-10-13	13:23:20	3330	[DEBUG]	Checking category
2023-10-13	13:23:20	3330	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:20	3330	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862822
2023-10-13	13:23:20	3330	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:20	3330	[DEBUG]	Executed store
2023-10-13	13:23:20	3330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862822','7375')
2023-10-13	13:23:20	3330	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:20	3330	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862822 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:20	3330	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:20	3330	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862822
2023-10-13	13:23:20	3331	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:20	3331	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:20	3331	[DEBUG]	Use field value for field taille
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:20	3331	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:20	3331	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:20	3331	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:20	3331	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:20	3331	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:20	3331	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:20	3331	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:20	3331	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:20	3331	[DEBUG]	Use field value for field published
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:20	3331	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field override
2023-10-13	13:23:20	3331	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:20	3331	[DEBUG]	Use field value for field slug
2023-10-13	13:23:20	3331	[DEBUG]	Process line 3331
2023-10-13	13:23:20	3331	[DEBUG]	Load a row
2023-10-13	13:23:20	3331	[DEBUG]	Processing item: 1000000059670
2023-10-13	13:23:20	3331	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:20	3331	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:20	3331	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3780_45'
2023-10-13	13:23:20	3331	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:20	3331	[DEBUG]	Processing product tax
2023-10-13	13:23:20	3331	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:20	3331	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:20	3331	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:20	3331	[DEBUG]	Query for Product
2023-10-13	13:23:20	3331	[DEBUG]	Executed store
2023-10-13	13:23:20	3331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862822','1000000059670','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:20	3331	[DEBUG]	No parent found
2023-10-13	13:23:20	3331	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862822 AND customfield_value = 'stockable'
2023-10-13	13:23:20	3331	[DEBUG]	Check product language entry
2023-10-13	13:23:20	3331	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862823
2023-10-13	13:23:20	3331	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:20	3331	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000059670' AND `virtuemart_product_id` != 1862823
2023-10-13	13:23:20	3331	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:20	3331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862823, '1000000059670')
2023-10-13	13:23:20	3331	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:20	3331	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-50-lumens-msc-rechargeable-usb-65-gr-blanche-unitaire' AND `virtuemart_product_id` != 1862823
2023-10-13	13:23:20	3331	[DEBUG]	Query for ProductLang
2023-10-13	13:23:20	3331	[DEBUG]	Executed store
2023-10-13	13:23:20	3331	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 50 Lumens MSC rechargeable USB, 65 gr.  / Blanche (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-50-lumens-msc-rechargeable-usb-65-gr-blanche-unitaire' WHERE `virtuemart_product_id` = '1862823'
2023-10-13	13:23:20	3331	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20120.jpg
2023-10-13	13:23:20	3331	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:20	3331	[DEBUG]	Process image file
2023-10-13	13:23:20	3331	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:20	3331	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:20	3331	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20120.jpg
2023-10-13	13:23:20	3331	[DEBUG]	Full name target: bcprisme/image_20120.jpg
2023-10-13	13:23:21	3331	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:21	3331	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20120.jpg'
2023-10-13	13:23:21	3331	[DEBUG]	Query for Media
2023-10-13	13:23:21	3331	[DEBUG]	Executed store
2023-10-13	13:23:21	3331	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20120.jpg',`file_url_thumb`='bcprisme/image_20120.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13123'
2023-10-13	13:23:21	3331	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:21	3331	[DEBUG]	Executed store
2023-10-13	13:23:21	3331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862823','13123','1')
2023-10-13	13:23:21	3331	[DEBUG]	Store product image relation
2023-10-13	13:23:21	3331	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:21	3331	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862823 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:21	3331	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:21	3331	[DEBUG]	Executed store
2023-10-13	13:23:21	3331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862823','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:21	3331	[DEBUG]	Checking manufacturer
2023-10-13	13:23:21	3331	[DEBUG]	Load a row
2023-10-13	13:23:21	3331	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:21	3331	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:21	3331	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:21	3331	[DEBUG]	Executed store
2023-10-13	13:23:21	3331	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:21	3331	[DEBUG]	Manufacturer exists
2023-10-13	13:23:21	3331	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:21	3331	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:21	3331	[DEBUG]	Executed store
2023-10-13	13:23:21	3331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862823','32')
2023-10-13	13:23:21	3331	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:21	3331	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:21	3331	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862823 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:21	3331	[DEBUG]	Store custom available field
2023-10-13	13:23:21	3331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862823,3,'',1)
2023-10-13	13:23:21	3331	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:21	3331	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:21	3331	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862823 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:21	3331	[DEBUG]	Store custom available field
2023-10-13	13:23:21	3331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862823,6,'Unitaire',3)
2023-10-13	13:23:21	3331	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:21	3331	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:21	3331	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862822
2023-10-13	13:23:21	3331	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:21	3331	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862822\":[1862822,8,1,\"choisir la taille\"],\"1862823\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862822
2023-10-13	13:23:21	3331	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:21	3331	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862823
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:21	3332	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field taille
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:21	3332	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:21	3332	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:21	3332	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:21	3332	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:21	3332	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:21	3332	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field published
2023-10-13	13:23:21	3332	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:21	3332	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field override
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:21	3332	[DEBUG]	Use field value for field slug
2023-10-13	13:23:21	3332	[DEBUG]	Process line 3332
2023-10-13	13:23:21	3332	[DEBUG]	Load a row
2023-10-13	13:23:21	3332	[DEBUG]	Processing item: A_3781_1
2023-10-13	13:23:21	3332	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:21	3332	[DEBUG]	Processing product tax
2023-10-13	13:23:21	3332	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:21	3332	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:21	3332	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:21	3332	[DEBUG]	Query for Product
2023-10-13	13:23:21	3332	[DEBUG]	Executed store
2023-10-13	13:23:21	3332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3781_1','0.065','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:21	3332	[DEBUG]	Check product language entry
2023-10-13	13:23:21	3332	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862824
2023-10-13	13:23:21	3332	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:21	3332	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3781_1' AND `virtuemart_product_id` != 1862824
2023-10-13	13:23:21	3332	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:21	3332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862824, 'A_3781_1')
2023-10-13	13:23:21	3332	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:21	3332	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-80-lumens-msc-rechargeable-65-gr-noir' AND `virtuemart_product_id` != 1862824
2023-10-13	13:23:21	3332	[DEBUG]	Query for ProductLang
2023-10-13	13:23:21	3332	[DEBUG]	Executed store
2023-10-13	13:23:21	3332	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lumière avant MSC rechargeable<br>N° art fourn : LIGHT80W',`product_name`='MSC Lumière avant 80 Lumens MSC rechargeable 65 gr.  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-80-lumens-msc-rechargeable-65-gr-noir' WHERE `virtuemart_product_id` = '1862824'
2023-10-13	13:23:21	3332	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20121.jpg
2023-10-13	13:23:21	3332	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:21	3332	[DEBUG]	Process image file
2023-10-13	13:23:21	3332	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:21	3332	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:21	3332	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20121.jpg
2023-10-13	13:23:21	3332	[DEBUG]	Full name target: bcprisme/image_20121.jpg
2023-10-13	13:23:22	3332	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:22	3332	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20121.jpg'
2023-10-13	13:23:22	3332	[DEBUG]	Query for Media
2023-10-13	13:23:22	3332	[DEBUG]	Executed store
2023-10-13	13:23:22	3332	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20121.jpg',`file_url_thumb`='bcprisme/image_20121.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13124'
2023-10-13	13:23:22	3332	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:22	3332	[DEBUG]	Executed store
2023-10-13	13:23:22	3332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862824','13124','1')
2023-10-13	13:23:22	3332	[DEBUG]	Store product image relation
2023-10-13	13:23:22	3332	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:22	3332	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862824 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:22	3332	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:22	3332	[DEBUG]	Executed store
2023-10-13	13:23:22	3332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862824','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:22	3332	[DEBUG]	Checking manufacturer
2023-10-13	13:23:22	3332	[DEBUG]	Load a row
2023-10-13	13:23:22	3332	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:22	3332	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:22	3332	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:22	3332	[DEBUG]	Executed store
2023-10-13	13:23:22	3332	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:22	3332	[DEBUG]	Manufacturer exists
2023-10-13	13:23:22	3332	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:22	3332	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:22	3332	[DEBUG]	Executed store
2023-10-13	13:23:22	3332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862824','32')
2023-10-13	13:23:22	3332	[DEBUG]	Find the custom field ID
2023-10-13	13:23:22	3332	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:22	3332	[DEBUG]	No custom field ID found
2023-10-13	13:23:22	3332	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:22	3332	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:23:22	3332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862824 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:22	3332	[DEBUG]	Store custom available field
2023-10-13	13:23:22	3332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862824,3,'21.8391666666667',1)
2023-10-13	13:23:22	3332	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:22	3332	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:22	3332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862824 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:22	3332	[DEBUG]	Store custom available field
2023-10-13	13:23:22	3332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862824,6,'choisir la taille',3)
2023-10-13	13:23:22	3332	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:22	3332	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:22	3332	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:22	3332	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:22	3332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862824 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:22	3332	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:22	3332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862824,8,1)
2023-10-13	13:23:22	3332	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:22	3332	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862824\":[1862824,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862824
2023-10-13	13:23:22	3332	[DEBUG]	Checking category
2023-10-13	13:23:22	3332	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:22	3332	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862824
2023-10-13	13:23:22	3332	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:22	3332	[DEBUG]	Executed store
2023-10-13	13:23:22	3332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862824','7375')
2023-10-13	13:23:22	3332	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:22	3332	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862824 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:22	3332	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:22	3332	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862824
2023-10-13	13:23:22	3333	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:22	3333	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:22	3333	[DEBUG]	Use field value for field taille
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:22	3333	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:22	3333	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:22	3333	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:22	3333	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:22	3333	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:22	3333	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:22	3333	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:22	3333	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:22	3333	[DEBUG]	Use field value for field published
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:22	3333	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field override
2023-10-13	13:23:22	3333	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:22	3333	[DEBUG]	Use field value for field slug
2023-10-13	13:23:22	3333	[DEBUG]	Process line 3333
2023-10-13	13:23:22	3333	[DEBUG]	Load a row
2023-10-13	13:23:22	3333	[DEBUG]	Processing item: 8435466291631
2023-10-13	13:23:22	3333	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:22	3333	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:22	3333	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3781_1'
2023-10-13	13:23:22	3333	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:22	3333	[DEBUG]	Processing product tax
2023-10-13	13:23:22	3333	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:22	3333	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:22	3333	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:22	3333	[DEBUG]	Query for Product
2023-10-13	13:23:22	3333	[DEBUG]	Executed store
2023-10-13	13:23:22	3333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862824','8435466291631','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:22	3333	[DEBUG]	No parent found
2023-10-13	13:23:22	3333	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862824 AND customfield_value = 'stockable'
2023-10-13	13:23:22	3333	[DEBUG]	Check product language entry
2023-10-13	13:23:22	3333	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862825
2023-10-13	13:23:22	3333	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:22	3333	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291631' AND `virtuemart_product_id` != 1862825
2023-10-13	13:23:22	3333	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:22	3333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862825, '8435466291631')
2023-10-13	13:23:22	3333	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:22	3333	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-80-lumens-msc-rechargeable-65-gr-noir-unitaire' AND `virtuemart_product_id` != 1862825
2023-10-13	13:23:22	3333	[DEBUG]	Query for ProductLang
2023-10-13	13:23:22	3333	[DEBUG]	Executed store
2023-10-13	13:23:22	3333	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 80 Lumens MSC rechargeable 65 gr.  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-80-lumens-msc-rechargeable-65-gr-noir-unitaire' WHERE `virtuemart_product_id` = '1862825'
2023-10-13	13:23:22	3333	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20121.jpg
2023-10-13	13:23:22	3333	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:22	3333	[DEBUG]	Process image file
2023-10-13	13:23:22	3333	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:22	3333	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:22	3333	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20121.jpg
2023-10-13	13:23:22	3333	[DEBUG]	Full name target: bcprisme/image_20121.jpg
2023-10-13	13:23:23	3333	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:23	3333	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20121.jpg'
2023-10-13	13:23:23	3333	[DEBUG]	Query for Media
2023-10-13	13:23:23	3333	[DEBUG]	Executed store
2023-10-13	13:23:23	3333	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20121.jpg',`file_url_thumb`='bcprisme/image_20121.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13124'
2023-10-13	13:23:23	3333	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:23	3333	[DEBUG]	Executed store
2023-10-13	13:23:23	3333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862825','13124','1')
2023-10-13	13:23:23	3333	[DEBUG]	Store product image relation
2023-10-13	13:23:23	3333	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:23	3333	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862825 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:23	3333	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:23	3333	[DEBUG]	Executed store
2023-10-13	13:23:23	3333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862825','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:23	3333	[DEBUG]	Checking manufacturer
2023-10-13	13:23:23	3333	[DEBUG]	Load a row
2023-10-13	13:23:23	3333	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:23	3333	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:23	3333	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:23	3333	[DEBUG]	Executed store
2023-10-13	13:23:23	3333	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:23	3333	[DEBUG]	Manufacturer exists
2023-10-13	13:23:23	3333	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:23	3333	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:23	3333	[DEBUG]	Executed store
2023-10-13	13:23:23	3333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862825','32')
2023-10-13	13:23:23	3333	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:23	3333	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:23	3333	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862825 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:23	3333	[DEBUG]	Store custom available field
2023-10-13	13:23:23	3333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862825,3,'',1)
2023-10-13	13:23:23	3333	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:23	3333	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:23	3333	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862825 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:23	3333	[DEBUG]	Store custom available field
2023-10-13	13:23:23	3333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862825,6,'Unitaire',3)
2023-10-13	13:23:23	3333	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:23	3333	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:23	3333	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862824
2023-10-13	13:23:23	3333	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:23	3333	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862824\":[1862824,8,1,\"choisir la taille\"],\"1862825\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862824
2023-10-13	13:23:23	3333	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:23	3333	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862825
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:23	3334	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field taille
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:23	3334	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:23	3334	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:23	3334	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:23	3334	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:23	3334	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:23	3334	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field published
2023-10-13	13:23:23	3334	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:23	3334	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field override
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:23	3334	[DEBUG]	Use field value for field slug
2023-10-13	13:23:23	3334	[DEBUG]	Process line 3334
2023-10-13	13:23:23	3334	[DEBUG]	Load a row
2023-10-13	13:23:23	3334	[DEBUG]	Processing item: A_3782_0
2023-10-13	13:23:23	3334	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:23	3334	[DEBUG]	Processing product tax
2023-10-13	13:23:23	3334	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:23	3334	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:23	3334	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:23	3334	[DEBUG]	Query for Product
2023-10-13	13:23:23	3334	[DEBUG]	Executed store
2023-10-13	13:23:23	3334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3782_0','0.065','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:23	3334	[DEBUG]	Check product language entry
2023-10-13	13:23:23	3334	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862826
2023-10-13	13:23:23	3334	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:23	3334	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3782_0' AND `virtuemart_product_id` != 1862826
2023-10-13	13:23:23	3334	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:23	3334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862826, 'A_3782_0')
2023-10-13	13:23:23	3334	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:23	3334	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-et-arriere-kit-unique' AND `virtuemart_product_id` != 1862826
2023-10-13	13:23:23	3334	[DEBUG]	Query for ProductLang
2023-10-13	13:23:23	3334	[DEBUG]	Executed store
2023-10-13	13:23:23	3334	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Kit de lumières MSC LED rechargeable USB, 56 gr.<br>N° art fourn : LIGHTSETFR4',`product_name`='MSC Lumière avant et arrière kit / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-et-arriere-kit-unique' WHERE `virtuemart_product_id` = '1862826'
2023-10-13	13:23:23	3334	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20122.jpg
2023-10-13	13:23:23	3334	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:23	3334	[DEBUG]	Process image file
2023-10-13	13:23:23	3334	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:23	3334	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:23	3334	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20122.jpg
2023-10-13	13:23:23	3334	[DEBUG]	Full name target: bcprisme/image_20122.jpg
2023-10-13	13:23:24	3334	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:24	3334	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20122.jpg'
2023-10-13	13:23:24	3334	[DEBUG]	Query for Media
2023-10-13	13:23:24	3334	[DEBUG]	Executed store
2023-10-13	13:23:24	3334	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20122.jpg',`file_url_thumb`='bcprisme/image_20122.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13125'
2023-10-13	13:23:24	3334	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:24	3334	[DEBUG]	Executed store
2023-10-13	13:23:24	3334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862826','13125','1')
2023-10-13	13:23:24	3334	[DEBUG]	Store product image relation
2023-10-13	13:23:24	3334	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:24	3334	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862826 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:24	3334	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:24	3334	[DEBUG]	Executed store
2023-10-13	13:23:24	3334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862826','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:24	3334	[DEBUG]	Checking manufacturer
2023-10-13	13:23:24	3334	[DEBUG]	Load a row
2023-10-13	13:23:24	3334	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:24	3334	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:24	3334	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:24	3334	[DEBUG]	Executed store
2023-10-13	13:23:24	3334	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:24	3334	[DEBUG]	Manufacturer exists
2023-10-13	13:23:24	3334	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:24	3334	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:24	3334	[DEBUG]	Executed store
2023-10-13	13:23:24	3334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862826','32')
2023-10-13	13:23:24	3334	[DEBUG]	Find the custom field ID
2023-10-13	13:23:24	3334	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:24	3334	[DEBUG]	No custom field ID found
2023-10-13	13:23:24	3334	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:24	3334	[DEBUG]	Get existing row with customfield value 26.8252777777778
2023-10-13	13:23:24	3334	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862826 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:24	3334	[DEBUG]	Store custom available field
2023-10-13	13:23:24	3334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862826,3,'26.8252777777778',1)
2023-10-13	13:23:24	3334	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:24	3334	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:24	3334	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862826 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:24	3334	[DEBUG]	Store custom available field
2023-10-13	13:23:24	3334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862826,6,'choisir la taille',3)
2023-10-13	13:23:24	3334	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:24	3334	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:24	3334	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:24	3334	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:24	3334	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862826 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:24	3334	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:24	3334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862826,8,1)
2023-10-13	13:23:24	3334	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:24	3334	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862826\":[1862826,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862826
2023-10-13	13:23:24	3334	[DEBUG]	Checking category
2023-10-13	13:23:24	3334	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:24	3334	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862826
2023-10-13	13:23:24	3334	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:24	3334	[DEBUG]	Executed store
2023-10-13	13:23:24	3334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862826','7375')
2023-10-13	13:23:24	3334	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:24	3334	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862826 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:24	3334	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:24	3334	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862826
2023-10-13	13:23:24	3335	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:24	3335	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:24	3335	[DEBUG]	Use field value for field taille
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:24	3335	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:24	3335	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:24	3335	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:24	3335	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:24	3335	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:24	3335	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:24	3335	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:24	3335	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:24	3335	[DEBUG]	Use field value for field published
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:24	3335	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field override
2023-10-13	13:23:24	3335	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:24	3335	[DEBUG]	Use field value for field slug
2023-10-13	13:23:24	3335	[DEBUG]	Process line 3335
2023-10-13	13:23:24	3335	[DEBUG]	Load a row
2023-10-13	13:23:24	3335	[DEBUG]	Processing item: 8435466291723
2023-10-13	13:23:24	3335	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:24	3335	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:24	3335	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3782_0'
2023-10-13	13:23:24	3335	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:24	3335	[DEBUG]	Processing product tax
2023-10-13	13:23:24	3335	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:24	3335	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:24	3335	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:24	3335	[DEBUG]	Query for Product
2023-10-13	13:23:24	3335	[DEBUG]	Executed store
2023-10-13	13:23:24	3335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862826','8435466291723','0','KG','M','','16','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:24	3335	[DEBUG]	No parent found
2023-10-13	13:23:24	3335	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862826 AND customfield_value = 'stockable'
2023-10-13	13:23:24	3335	[DEBUG]	Check product language entry
2023-10-13	13:23:24	3335	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862827
2023-10-13	13:23:24	3335	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:24	3335	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291723' AND `virtuemart_product_id` != 1862827
2023-10-13	13:23:24	3335	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:24	3335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862827, '8435466291723')
2023-10-13	13:23:24	3335	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:24	3335	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-et-arriere-kit-unique-unitaire' AND `virtuemart_product_id` != 1862827
2023-10-13	13:23:24	3335	[DEBUG]	Query for ProductLang
2023-10-13	13:23:24	3335	[DEBUG]	Executed store
2023-10-13	13:23:24	3335	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant et arrière kit / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-et-arriere-kit-unique-unitaire' WHERE `virtuemart_product_id` = '1862827'
2023-10-13	13:23:24	3335	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20122.jpg
2023-10-13	13:23:24	3335	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:24	3335	[DEBUG]	Process image file
2023-10-13	13:23:24	3335	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:24	3335	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:24	3335	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20122.jpg
2023-10-13	13:23:24	3335	[DEBUG]	Full name target: bcprisme/image_20122.jpg
2023-10-13	13:23:25	3335	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:25	3335	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20122.jpg'
2023-10-13	13:23:25	3335	[DEBUG]	Query for Media
2023-10-13	13:23:25	3335	[DEBUG]	Executed store
2023-10-13	13:23:25	3335	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20122.jpg',`file_url_thumb`='bcprisme/image_20122.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13125'
2023-10-13	13:23:25	3335	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:25	3335	[DEBUG]	Executed store
2023-10-13	13:23:25	3335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862827','13125','1')
2023-10-13	13:23:25	3335	[DEBUG]	Store product image relation
2023-10-13	13:23:25	3335	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:25	3335	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862827 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:25	3335	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:25	3335	[DEBUG]	Executed store
2023-10-13	13:23:25	3335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862827','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:25	3335	[DEBUG]	Checking manufacturer
2023-10-13	13:23:25	3335	[DEBUG]	Load a row
2023-10-13	13:23:25	3335	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:25	3335	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:25	3335	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:25	3335	[DEBUG]	Executed store
2023-10-13	13:23:25	3335	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:25	3335	[DEBUG]	Manufacturer exists
2023-10-13	13:23:25	3335	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:25	3335	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:25	3335	[DEBUG]	Executed store
2023-10-13	13:23:25	3335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862827','32')
2023-10-13	13:23:25	3335	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:25	3335	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:25	3335	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862827 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:25	3335	[DEBUG]	Store custom available field
2023-10-13	13:23:25	3335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862827,3,'',1)
2023-10-13	13:23:25	3335	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:25	3335	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:25	3335	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862827 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:25	3335	[DEBUG]	Store custom available field
2023-10-13	13:23:25	3335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862827,6,'Unitaire',3)
2023-10-13	13:23:25	3335	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:25	3335	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:25	3335	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862826
2023-10-13	13:23:25	3335	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:25	3335	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862826\":[1862826,8,1,\"choisir la taille\"],\"1862827\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862826
2023-10-13	13:23:25	3335	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:25	3335	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862827
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:25	3336	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field taille
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:25	3336	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:25	3336	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:25	3336	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:25	3336	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:25	3336	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:25	3336	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field published
2023-10-13	13:23:25	3336	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:25	3336	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field override
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:25	3336	[DEBUG]	Use field value for field slug
2023-10-13	13:23:25	3336	[DEBUG]	Process line 3336
2023-10-13	13:23:25	3336	[DEBUG]	Load a row
2023-10-13	13:23:25	3336	[DEBUG]	Processing item: A_4429_0
2023-10-13	13:23:25	3336	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:25	3336	[DEBUG]	Processing product tax
2023-10-13	13:23:25	3336	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:25	3336	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:25	3336	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:25	3336	[DEBUG]	Query for Product
2023-10-13	13:23:25	3336	[DEBUG]	Executed store
2023-10-13	13:23:25	3336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4429_0','0.12','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:25	3336	[DEBUG]	Check product language entry
2023-10-13	13:23:25	3336	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862828
2023-10-13	13:23:25	3336	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:25	3336	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4429_0' AND `virtuemart_product_id` != 1862828
2023-10-13	13:23:25	3336	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:25	3336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862828, 'A_4429_0')
2023-10-13	13:23:25	3336	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:25	3336	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-300-lumens-unique' AND `virtuemart_product_id` != 1862828
2023-10-13	13:23:25	3336	[DEBUG]	Query for ProductLang
2023-10-13	13:23:25	3336	[DEBUG]	Executed store
2023-10-13	13:23:25	3336	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Eclairage 300 lumens Noir 113 g Eclairage avant MSC. - 300 lumens de puissance (LED CREE) Autonomie de 2h30 à pleine puissance, 6h à puissance moyenne et 8 heures en intermittent. - 3 modes : intense, moyen et flash. - batterie interne de 1200mah et 8.4V - Chargeur inclut, temps de charge 3h. - Fixation avec lanière en caoutchouc - Garantie de 2 ans <br>N° art fourn : LIGHT3001200',`product_name`='MSC Lumière avant 300 lumens  / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-300-lumens-unique' WHERE `virtuemart_product_id` = '1862828'
2023-10-13	13:23:25	3336	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27084_eclairage_300_lumens_.jpg
2023-10-13	13:23:25	3336	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:25	3336	[DEBUG]	Process image file
2023-10-13	13:23:25	3336	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:25	3336	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:25	3336	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27084_eclairage_300_lumens_.jpg
2023-10-13	13:23:25	3336	[DEBUG]	Full name target: bcprisme/27084_eclairage_300_lumens_.jpg
2023-10-13	13:23:26	3336	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:26	3336	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27084_eclairage_300_lumens_.jpg'
2023-10-13	13:23:26	3336	[DEBUG]	Query for Media
2023-10-13	13:23:26	3336	[DEBUG]	Executed store
2023-10-13	13:23:26	3336	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27084_eclairage_300_lumens_.jpg',`file_url_thumb`='bcprisme/27084_eclairage_300_lumens_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13127'
2023-10-13	13:23:26	3336	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:26	3336	[DEBUG]	Executed store
2023-10-13	13:23:26	3336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862828','13127','1')
2023-10-13	13:23:26	3336	[DEBUG]	Store product image relation
2023-10-13	13:23:26	3336	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:26	3336	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862828 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:26	3336	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:26	3336	[DEBUG]	Executed store
2023-10-13	13:23:26	3336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862828','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:26	3336	[DEBUG]	Checking manufacturer
2023-10-13	13:23:26	3336	[DEBUG]	Load a row
2023-10-13	13:23:26	3336	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:26	3336	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:26	3336	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:26	3336	[DEBUG]	Executed store
2023-10-13	13:23:26	3336	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:26	3336	[DEBUG]	Manufacturer exists
2023-10-13	13:23:26	3336	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:26	3336	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:26	3336	[DEBUG]	Executed store
2023-10-13	13:23:26	3336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862828','32')
2023-10-13	13:23:26	3336	[DEBUG]	Find the custom field ID
2023-10-13	13:23:26	3336	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:26	3336	[DEBUG]	No custom field ID found
2023-10-13	13:23:26	3336	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:26	3336	[DEBUG]	Get existing row with customfield value 46.7697222222222
2023-10-13	13:23:26	3336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862828 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:26	3336	[DEBUG]	Store custom available field
2023-10-13	13:23:26	3336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862828,3,'46.7697222222222',1)
2023-10-13	13:23:26	3336	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:26	3336	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:26	3336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862828 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:26	3336	[DEBUG]	Store custom available field
2023-10-13	13:23:26	3336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862828,6,'choisir la taille',3)
2023-10-13	13:23:26	3336	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:26	3336	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:26	3336	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:26	3336	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:26	3336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862828 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:26	3336	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:26	3336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862828,8,1)
2023-10-13	13:23:26	3336	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:26	3336	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862828\":[1862828,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862828
2023-10-13	13:23:26	3336	[DEBUG]	Checking category
2023-10-13	13:23:26	3336	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:26	3336	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862828
2023-10-13	13:23:26	3336	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:26	3336	[DEBUG]	Executed store
2023-10-13	13:23:26	3336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862828','7375')
2023-10-13	13:23:26	3336	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:26	3336	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862828 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:26	3336	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:26	3336	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862828
2023-10-13	13:23:26	3337	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:26	3337	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:26	3337	[DEBUG]	Use field value for field taille
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:26	3337	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:26	3337	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:26	3337	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:26	3337	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:26	3337	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:26	3337	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:26	3337	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:26	3337	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:26	3337	[DEBUG]	Use field value for field published
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:26	3337	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field override
2023-10-13	13:23:26	3337	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:26	3337	[DEBUG]	Use field value for field slug
2023-10-13	13:23:26	3337	[DEBUG]	Process line 3337
2023-10-13	13:23:26	3337	[DEBUG]	Load a row
2023-10-13	13:23:26	3337	[DEBUG]	Processing item: 8435466297534
2023-10-13	13:23:26	3337	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:26	3337	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:26	3337	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4429_0'
2023-10-13	13:23:26	3337	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:26	3337	[DEBUG]	Processing product tax
2023-10-13	13:23:26	3337	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:26	3337	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:26	3337	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:26	3337	[DEBUG]	Query for Product
2023-10-13	13:23:26	3337	[DEBUG]	Executed store
2023-10-13	13:23:26	3337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862828','8435466297534','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:26	3337	[DEBUG]	No parent found
2023-10-13	13:23:26	3337	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862828 AND customfield_value = 'stockable'
2023-10-13	13:23:26	3337	[DEBUG]	Check product language entry
2023-10-13	13:23:26	3337	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862829
2023-10-13	13:23:26	3337	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:26	3337	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297534' AND `virtuemart_product_id` != 1862829
2023-10-13	13:23:26	3337	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:26	3337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862829, '8435466297534')
2023-10-13	13:23:26	3337	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:26	3337	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-300-lumens-unique-unitaire' AND `virtuemart_product_id` != 1862829
2023-10-13	13:23:26	3337	[DEBUG]	Query for ProductLang
2023-10-13	13:23:26	3337	[DEBUG]	Executed store
2023-10-13	13:23:26	3337	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 300 lumens  / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-300-lumens-unique-unitaire' WHERE `virtuemart_product_id` = '1862829'
2023-10-13	13:23:26	3337	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27084_eclairage_300_lumens_.jpg
2023-10-13	13:23:26	3337	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:26	3337	[DEBUG]	Process image file
2023-10-13	13:23:26	3337	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:26	3337	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:26	3337	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27084_eclairage_300_lumens_.jpg
2023-10-13	13:23:26	3337	[DEBUG]	Full name target: bcprisme/27084_eclairage_300_lumens_.jpg
2023-10-13	13:23:27	3337	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:27	3337	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27084_eclairage_300_lumens_.jpg'
2023-10-13	13:23:27	3337	[DEBUG]	Query for Media
2023-10-13	13:23:27	3337	[DEBUG]	Executed store
2023-10-13	13:23:27	3337	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27084_eclairage_300_lumens_.jpg',`file_url_thumb`='bcprisme/27084_eclairage_300_lumens_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13127'
2023-10-13	13:23:27	3337	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:27	3337	[DEBUG]	Executed store
2023-10-13	13:23:27	3337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862829','13127','1')
2023-10-13	13:23:27	3337	[DEBUG]	Store product image relation
2023-10-13	13:23:27	3337	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:27	3337	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862829 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:27	3337	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:27	3337	[DEBUG]	Executed store
2023-10-13	13:23:27	3337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862829','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:27	3337	[DEBUG]	Checking manufacturer
2023-10-13	13:23:27	3337	[DEBUG]	Load a row
2023-10-13	13:23:27	3337	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:27	3337	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:27	3337	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:27	3337	[DEBUG]	Executed store
2023-10-13	13:23:27	3337	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:27	3337	[DEBUG]	Manufacturer exists
2023-10-13	13:23:27	3337	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:27	3337	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:27	3337	[DEBUG]	Executed store
2023-10-13	13:23:27	3337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862829','32')
2023-10-13	13:23:27	3337	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:27	3337	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:27	3337	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862829 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:27	3337	[DEBUG]	Store custom available field
2023-10-13	13:23:27	3337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862829,3,'',1)
2023-10-13	13:23:27	3337	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:27	3337	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:27	3337	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862829 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:27	3337	[DEBUG]	Store custom available field
2023-10-13	13:23:27	3337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862829,6,'Unitaire',3)
2023-10-13	13:23:27	3337	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:27	3337	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:27	3337	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862828
2023-10-13	13:23:27	3337	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:27	3337	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862828\":[1862828,8,1,\"choisir la taille\"],\"1862829\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862828
2023-10-13	13:23:27	3337	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:27	3337	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862829
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:27	3338	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field taille
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:27	3338	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:27	3338	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:27	3338	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:27	3338	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:27	3338	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:27	3338	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field published
2023-10-13	13:23:27	3338	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:27	3338	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field override
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:27	3338	[DEBUG]	Use field value for field slug
2023-10-13	13:23:27	3338	[DEBUG]	Process line 3338
2023-10-13	13:23:27	3338	[DEBUG]	Load a row
2023-10-13	13:23:27	3338	[DEBUG]	Processing item: A_4431_0
2023-10-13	13:23:27	3338	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:27	3338	[DEBUG]	Processing product tax
2023-10-13	13:23:27	3338	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:27	3338	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:27	3338	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:27	3338	[DEBUG]	Query for Product
2023-10-13	13:23:27	3338	[DEBUG]	Executed store
2023-10-13	13:23:27	3338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4431_0','0.12','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:27	3338	[DEBUG]	Check product language entry
2023-10-13	13:23:27	3338	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862830
2023-10-13	13:23:27	3338	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:27	3338	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4431_0' AND `virtuemart_product_id` != 1862830
2023-10-13	13:23:27	3338	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:27	3338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862830, 'A_4431_0')
2023-10-13	13:23:27	3338	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:27	3338	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-120-lumens-arriere-unique' AND `virtuemart_product_id` != 1862830
2023-10-13	13:23:27	3338	[DEBUG]	Query for ProductLang
2023-10-13	13:23:27	3338	[DEBUG]	Executed store
2023-10-13	13:23:27	3338	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Eclairage LED avant arrière MSC. - 120 lumens de puissance à l\'avant et 10 lumens à l\'arrière. - Batterie de 800 mha à l\'avant et 220mha à l\'arrière. Autonomie avant, 2h en pleine puissance et 5h à puissance moyenne. Autonomie arrière, de 3 à 8h selon l\'usage. : - 3 modes : intense, moyen et intermittent. - Batterie intégré de 350 mha, rechargeable par USB, 2 heures de charge à l\'avant et 1h à l\'arrière. - Chargeur USB inclut - fixation sangle en caoutchouc - Garantie de 2 ans <br>N° art fourn : LIGHTSETFR5',`product_name`='MSC Lumière avant 120 lumens + arriere  / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-120-lumens-arriere-unique' WHERE `virtuemart_product_id` = '1862830'
2023-10-13	13:23:27	3338	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27086_.jpg
2023-10-13	13:23:27	3338	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:27	3338	[DEBUG]	Process image file
2023-10-13	13:23:27	3338	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:27	3338	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:27	3338	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27086_.jpg
2023-10-13	13:23:27	3338	[DEBUG]	Full name target: bcprisme/27086_.jpg
2023-10-13	13:23:28	3338	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:28	3338	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27086_.jpg'
2023-10-13	13:23:28	3338	[DEBUG]	Query for Media
2023-10-13	13:23:28	3338	[DEBUG]	Executed store
2023-10-13	13:23:28	3338	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27086_.jpg',`file_url_thumb`='bcprisme/27086_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13128'
2023-10-13	13:23:28	3338	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:28	3338	[DEBUG]	Executed store
2023-10-13	13:23:28	3338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862830','13128','1')
2023-10-13	13:23:28	3338	[DEBUG]	Store product image relation
2023-10-13	13:23:28	3338	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:28	3338	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862830 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:28	3338	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:28	3338	[DEBUG]	Executed store
2023-10-13	13:23:28	3338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862830','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:28	3338	[DEBUG]	Checking manufacturer
2023-10-13	13:23:28	3338	[DEBUG]	Load a row
2023-10-13	13:23:28	3338	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:28	3338	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:28	3338	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:28	3338	[DEBUG]	Executed store
2023-10-13	13:23:28	3338	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:28	3338	[DEBUG]	Manufacturer exists
2023-10-13	13:23:28	3338	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:28	3338	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:28	3338	[DEBUG]	Executed store
2023-10-13	13:23:28	3338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862830','32')
2023-10-13	13:23:28	3338	[DEBUG]	Find the custom field ID
2023-10-13	13:23:28	3338	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:28	3338	[DEBUG]	No custom field ID found
2023-10-13	13:23:28	3338	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:28	3338	[DEBUG]	Get existing row with customfield value 36.7975
2023-10-13	13:23:28	3338	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862830 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:28	3338	[DEBUG]	Store custom available field
2023-10-13	13:23:28	3338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862830,3,'36.7975',1)
2023-10-13	13:23:28	3338	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:28	3338	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:28	3338	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862830 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:28	3338	[DEBUG]	Store custom available field
2023-10-13	13:23:28	3338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862830,6,'choisir la taille',3)
2023-10-13	13:23:28	3338	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:28	3338	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:28	3338	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:28	3338	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:28	3338	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862830 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:28	3338	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:28	3338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862830,8,1)
2023-10-13	13:23:28	3338	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:28	3338	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862830\":[1862830,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862830
2023-10-13	13:23:28	3338	[DEBUG]	Checking category
2023-10-13	13:23:28	3338	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:28	3338	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862830
2023-10-13	13:23:28	3338	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:28	3338	[DEBUG]	Executed store
2023-10-13	13:23:28	3338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862830','7375')
2023-10-13	13:23:28	3338	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:28	3338	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862830 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:28	3338	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:28	3338	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862830
2023-10-13	13:23:28	3339	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:28	3339	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:28	3339	[DEBUG]	Use field value for field taille
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:28	3339	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:28	3339	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:28	3339	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:28	3339	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:28	3339	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:28	3339	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:28	3339	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:28	3339	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:28	3339	[DEBUG]	Use field value for field published
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:28	3339	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field override
2023-10-13	13:23:28	3339	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:28	3339	[DEBUG]	Use field value for field slug
2023-10-13	13:23:28	3339	[DEBUG]	Process line 3339
2023-10-13	13:23:28	3339	[DEBUG]	Load a row
2023-10-13	13:23:28	3339	[DEBUG]	Processing item: 8435466297589
2023-10-13	13:23:28	3339	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:28	3339	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:28	3339	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4431_0'
2023-10-13	13:23:28	3339	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:28	3339	[DEBUG]	Processing product tax
2023-10-13	13:23:28	3339	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:28	3339	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:28	3339	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:28	3339	[DEBUG]	Query for Product
2023-10-13	13:23:28	3339	[DEBUG]	Executed store
2023-10-13	13:23:28	3339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862830','8435466297589','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:28	3339	[DEBUG]	No parent found
2023-10-13	13:23:28	3339	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862830 AND customfield_value = 'stockable'
2023-10-13	13:23:28	3339	[DEBUG]	Check product language entry
2023-10-13	13:23:28	3339	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862831
2023-10-13	13:23:28	3339	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:28	3339	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297589' AND `virtuemart_product_id` != 1862831
2023-10-13	13:23:28	3339	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:28	3339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862831, '8435466297589')
2023-10-13	13:23:28	3339	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:28	3339	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-120-lumens-arriere-unique-unitaire' AND `virtuemart_product_id` != 1862831
2023-10-13	13:23:28	3339	[DEBUG]	Query for ProductLang
2023-10-13	13:23:28	3339	[DEBUG]	Executed store
2023-10-13	13:23:28	3339	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 120 lumens + arriere  / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-120-lumens-arriere-unique-unitaire' WHERE `virtuemart_product_id` = '1862831'
2023-10-13	13:23:28	3339	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27086_.jpg
2023-10-13	13:23:28	3339	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:28	3339	[DEBUG]	Process image file
2023-10-13	13:23:28	3339	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:28	3339	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:28	3339	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27086_.jpg
2023-10-13	13:23:28	3339	[DEBUG]	Full name target: bcprisme/27086_.jpg
2023-10-13	13:23:29	3339	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:29	3339	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27086_.jpg'
2023-10-13	13:23:29	3339	[DEBUG]	Query for Media
2023-10-13	13:23:29	3339	[DEBUG]	Executed store
2023-10-13	13:23:29	3339	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27086_.jpg',`file_url_thumb`='bcprisme/27086_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13128'
2023-10-13	13:23:29	3339	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:29	3339	[DEBUG]	Executed store
2023-10-13	13:23:29	3339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862831','13128','1')
2023-10-13	13:23:29	3339	[DEBUG]	Store product image relation
2023-10-13	13:23:29	3339	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:29	3339	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862831 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:29	3339	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:29	3339	[DEBUG]	Executed store
2023-10-13	13:23:29	3339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862831','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:29	3339	[DEBUG]	Checking manufacturer
2023-10-13	13:23:29	3339	[DEBUG]	Load a row
2023-10-13	13:23:29	3339	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:29	3339	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:29	3339	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:29	3339	[DEBUG]	Executed store
2023-10-13	13:23:29	3339	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:29	3339	[DEBUG]	Manufacturer exists
2023-10-13	13:23:29	3339	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:29	3339	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:29	3339	[DEBUG]	Executed store
2023-10-13	13:23:29	3339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862831','32')
2023-10-13	13:23:29	3339	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:29	3339	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:29	3339	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862831 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:29	3339	[DEBUG]	Store custom available field
2023-10-13	13:23:29	3339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862831,3,'',1)
2023-10-13	13:23:29	3339	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:29	3339	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:29	3339	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862831 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:29	3339	[DEBUG]	Store custom available field
2023-10-13	13:23:29	3339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862831,6,'Unitaire',3)
2023-10-13	13:23:29	3339	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:29	3339	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:29	3339	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862830
2023-10-13	13:23:29	3339	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:29	3339	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862830\":[1862830,8,1,\"choisir la taille\"],\"1862831\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862830
2023-10-13	13:23:29	3339	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:29	3339	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862831
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:29	3340	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field taille
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:29	3340	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:29	3340	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:29	3340	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:29	3340	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:29	3340	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:29	3340	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field published
2023-10-13	13:23:29	3340	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:29	3340	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field override
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:29	3340	[DEBUG]	Use field value for field slug
2023-10-13	13:23:29	3340	[DEBUG]	Process line 3340
2023-10-13	13:23:29	3340	[DEBUG]	Load a row
2023-10-13	13:23:29	3340	[DEBUG]	Processing item: A_4434_0
2023-10-13	13:23:29	3340	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:29	3340	[DEBUG]	Processing product tax
2023-10-13	13:23:29	3340	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:29	3340	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:29	3340	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:29	3340	[DEBUG]	Query for Product
2023-10-13	13:23:29	3340	[DEBUG]	Executed store
2023-10-13	13:23:29	3340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4434_0','0.12','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:29	3340	[DEBUG]	Check product language entry
2023-10-13	13:23:29	3340	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862832
2023-10-13	13:23:29	3340	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:29	3340	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4434_0' AND `virtuemart_product_id` != 1862832
2023-10-13	13:23:29	3340	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:29	3340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862832, 'A_4434_0')
2023-10-13	13:23:29	3340	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:29	3340	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-arriere-cob-rechargeable-usb-unique' AND `virtuemart_product_id` != 1862832
2023-10-13	13:23:29	3340	[DEBUG]	Query for ProductLang
2023-10-13	13:23:29	3340	[DEBUG]	Executed store
2023-10-13	13:23:29	3340	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Eclairage led arrière COB rechargeable USB <br>N° art fourn : STICKLIGHTRED',`product_name`='MSC Lumière arrière COB rechargeable USB  / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-arriere-cob-rechargeable-usb-unique' WHERE `virtuemart_product_id` = '1862832'
2023-10-13	13:23:29	3340	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27089_eclairage_led_avant_rechargeable_usb_650_mah_(copie).jpg
2023-10-13	13:23:29	3340	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:29	3340	[DEBUG]	Process image file
2023-10-13	13:23:29	3340	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:29	3340	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:29	3340	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27089_eclairage_led_avant_rechargeable_usb_650_mah_(copie).jpg
2023-10-13	13:23:29	3340	[DEBUG]	Full name target: bcprisme/27089_eclairage_led_avant_rechargeable_usb_650_mah_(copie).jpg
2023-10-13	13:23:30	3340	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:30	3340	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27089_eclairage_led_avant_rechargeable_usb_650_mah_(copie).jpg'
2023-10-13	13:23:30	3340	[DEBUG]	Query for Media
2023-10-13	13:23:30	3340	[DEBUG]	Executed store
2023-10-13	13:23:30	3340	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27089_eclairage_led_avant_rechargeable_usb_650_mah_(copie).jpg',`file_url_thumb`='bcprisme/27089_eclairage_led_avant_rechargeable_usb_650_mah_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13130'
2023-10-13	13:23:30	3340	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:30	3340	[DEBUG]	Executed store
2023-10-13	13:23:30	3340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862832','13130','1')
2023-10-13	13:23:30	3340	[DEBUG]	Store product image relation
2023-10-13	13:23:30	3340	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:30	3340	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862832 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:30	3340	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:30	3340	[DEBUG]	Executed store
2023-10-13	13:23:30	3340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862832','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:30	3340	[DEBUG]	Checking manufacturer
2023-10-13	13:23:30	3340	[DEBUG]	Load a row
2023-10-13	13:23:30	3340	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:30	3340	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:30	3340	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:30	3340	[DEBUG]	Executed store
2023-10-13	13:23:30	3340	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:30	3340	[DEBUG]	Manufacturer exists
2023-10-13	13:23:30	3340	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:30	3340	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:30	3340	[DEBUG]	Executed store
2023-10-13	13:23:30	3340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862832','32')
2023-10-13	13:23:30	3340	[DEBUG]	Find the custom field ID
2023-10-13	13:23:30	3340	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:30	3340	[DEBUG]	No custom field ID found
2023-10-13	13:23:30	3340	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:30	3340	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:23:30	3340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862832 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:30	3340	[DEBUG]	Store custom available field
2023-10-13	13:23:30	3340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862832,3,'19.8447222222222',1)
2023-10-13	13:23:30	3340	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:30	3340	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:30	3340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862832 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:30	3340	[DEBUG]	Store custom available field
2023-10-13	13:23:30	3340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862832,6,'choisir la taille',3)
2023-10-13	13:23:30	3340	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:30	3340	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:30	3340	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:30	3340	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:30	3340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862832 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:30	3340	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:30	3340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862832,8,1)
2023-10-13	13:23:30	3340	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:30	3340	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862832\":[1862832,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862832
2023-10-13	13:23:30	3340	[DEBUG]	Checking category
2023-10-13	13:23:30	3340	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:30	3340	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862832
2023-10-13	13:23:30	3340	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:30	3340	[DEBUG]	Executed store
2023-10-13	13:23:30	3340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862832','7375')
2023-10-13	13:23:30	3340	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:30	3340	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862832 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:30	3340	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:30	3340	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862832
2023-10-13	13:23:30	3341	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:30	3341	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:30	3341	[DEBUG]	Use field value for field taille
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:30	3341	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:30	3341	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:30	3341	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:30	3341	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:30	3341	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:30	3341	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:30	3341	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:30	3341	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:30	3341	[DEBUG]	Use field value for field published
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:30	3341	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field override
2023-10-13	13:23:30	3341	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:30	3341	[DEBUG]	Use field value for field slug
2023-10-13	13:23:30	3341	[DEBUG]	Process line 3341
2023-10-13	13:23:30	3341	[DEBUG]	Load a row
2023-10-13	13:23:30	3341	[DEBUG]	Processing item: 8435466297565
2023-10-13	13:23:30	3341	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:30	3341	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:30	3341	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4434_0'
2023-10-13	13:23:30	3341	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:30	3341	[DEBUG]	Processing product tax
2023-10-13	13:23:30	3341	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:30	3341	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:30	3341	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:30	3341	[DEBUG]	Query for Product
2023-10-13	13:23:30	3341	[DEBUG]	Executed store
2023-10-13	13:23:30	3341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862832','8435466297565','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:30	3341	[DEBUG]	No parent found
2023-10-13	13:23:30	3341	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862832 AND customfield_value = 'stockable'
2023-10-13	13:23:30	3341	[DEBUG]	Check product language entry
2023-10-13	13:23:30	3341	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862833
2023-10-13	13:23:30	3341	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:30	3341	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297565' AND `virtuemart_product_id` != 1862833
2023-10-13	13:23:30	3341	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:30	3341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862833, '8435466297565')
2023-10-13	13:23:30	3341	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:30	3341	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-arriere-cob-rechargeable-usb-unique-unitaire' AND `virtuemart_product_id` != 1862833
2023-10-13	13:23:30	3341	[DEBUG]	Query for ProductLang
2023-10-13	13:23:30	3341	[DEBUG]	Executed store
2023-10-13	13:23:30	3341	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière arrière COB rechargeable USB  / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-arriere-cob-rechargeable-usb-unique-unitaire' WHERE `virtuemart_product_id` = '1862833'
2023-10-13	13:23:30	3341	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27089_eclairage_led_avant_rechargeable_usb_650_mah_(copie).jpg
2023-10-13	13:23:30	3341	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:30	3341	[DEBUG]	Process image file
2023-10-13	13:23:30	3341	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:30	3341	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:30	3341	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27089_eclairage_led_avant_rechargeable_usb_650_mah_(copie).jpg
2023-10-13	13:23:30	3341	[DEBUG]	Full name target: bcprisme/27089_eclairage_led_avant_rechargeable_usb_650_mah_(copie).jpg
2023-10-13	13:23:31	3341	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:31	3341	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27089_eclairage_led_avant_rechargeable_usb_650_mah_(copie).jpg'
2023-10-13	13:23:31	3341	[DEBUG]	Query for Media
2023-10-13	13:23:31	3341	[DEBUG]	Executed store
2023-10-13	13:23:31	3341	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27089_eclairage_led_avant_rechargeable_usb_650_mah_(copie).jpg',`file_url_thumb`='bcprisme/27089_eclairage_led_avant_rechargeable_usb_650_mah_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13130'
2023-10-13	13:23:31	3341	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:31	3341	[DEBUG]	Executed store
2023-10-13	13:23:31	3341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862833','13130','1')
2023-10-13	13:23:31	3341	[DEBUG]	Store product image relation
2023-10-13	13:23:31	3341	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:31	3341	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862833 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:31	3341	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:31	3341	[DEBUG]	Executed store
2023-10-13	13:23:31	3341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862833','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:31	3341	[DEBUG]	Checking manufacturer
2023-10-13	13:23:31	3341	[DEBUG]	Load a row
2023-10-13	13:23:31	3341	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:31	3341	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:31	3341	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:31	3341	[DEBUG]	Executed store
2023-10-13	13:23:31	3341	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:31	3341	[DEBUG]	Manufacturer exists
2023-10-13	13:23:31	3341	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:31	3341	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:31	3341	[DEBUG]	Executed store
2023-10-13	13:23:31	3341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862833','32')
2023-10-13	13:23:31	3341	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:31	3341	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:31	3341	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862833 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:31	3341	[DEBUG]	Store custom available field
2023-10-13	13:23:31	3341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862833,3,'',1)
2023-10-13	13:23:31	3341	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:31	3341	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:31	3341	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862833 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:31	3341	[DEBUG]	Store custom available field
2023-10-13	13:23:31	3341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862833,6,'Unitaire',3)
2023-10-13	13:23:31	3341	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:31	3341	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:31	3341	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862832
2023-10-13	13:23:31	3341	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:31	3341	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862832\":[1862832,8,1,\"choisir la taille\"],\"1862833\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862832
2023-10-13	13:23:31	3341	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:31	3341	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862833
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:31	3342	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field taille
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:31	3342	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:31	3342	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:31	3342	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:31	3342	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:31	3342	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:31	3342	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field published
2023-10-13	13:23:31	3342	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:31	3342	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field override
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:31	3342	[DEBUG]	Use field value for field slug
2023-10-13	13:23:31	3342	[DEBUG]	Process line 3342
2023-10-13	13:23:31	3342	[DEBUG]	Load a row
2023-10-13	13:23:31	3342	[DEBUG]	Processing item: A_4435_0
2023-10-13	13:23:31	3342	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:31	3342	[DEBUG]	Processing product tax
2023-10-13	13:23:31	3342	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:31	3342	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:31	3342	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:31	3342	[DEBUG]	Query for Product
2023-10-13	13:23:31	3342	[DEBUG]	Executed store
2023-10-13	13:23:31	3342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4435_0','0.12','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:31	3342	[DEBUG]	Check product language entry
2023-10-13	13:23:31	3342	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862834
2023-10-13	13:23:31	3342	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:31	3342	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4435_0' AND `virtuemart_product_id` != 1862834
2023-10-13	13:23:31	3342	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:31	3342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862834, 'A_4435_0')
2023-10-13	13:23:31	3342	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:31	3342	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-cob-rechargeable-usb-unique' AND `virtuemart_product_id` != 1862834
2023-10-13	13:23:31	3342	[DEBUG]	Query for ProductLang
2023-10-13	13:23:31	3342	[DEBUG]	Executed store
2023-10-13	13:23:31	3342	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Eclairage led arrière COB rechargeable USB <br>N° art fourn : STICKLIGHTWHITE',`product_name`='MSC Lumière avant COB rechargeable USB   / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-cob-rechargeable-usb-unique' WHERE `virtuemart_product_id` = '1862834'
2023-10-13	13:23:31	3342	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27090_eclairage_led_avant_cob_rechargeable_usb__.jpg
2023-10-13	13:23:31	3342	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:31	3342	[DEBUG]	Process image file
2023-10-13	13:23:31	3342	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:31	3342	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:31	3342	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27090_eclairage_led_avant_cob_rechargeable_usb__.jpg
2023-10-13	13:23:31	3342	[DEBUG]	Full name target: bcprisme/27090_eclairage_led_avant_cob_rechargeable_usb__.jpg
2023-10-13	13:23:32	3342	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:32	3342	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27090_eclairage_led_avant_cob_rechargeable_usb__.jpg'
2023-10-13	13:23:32	3342	[DEBUG]	Query for Media
2023-10-13	13:23:32	3342	[DEBUG]	Executed store
2023-10-13	13:23:32	3342	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27090_eclairage_led_avant_cob_rechargeable_usb__.jpg',`file_url_thumb`='bcprisme/27090_eclairage_led_avant_cob_rechargeable_usb__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13131'
2023-10-13	13:23:32	3342	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:32	3342	[DEBUG]	Executed store
2023-10-13	13:23:32	3342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862834','13131','1')
2023-10-13	13:23:32	3342	[DEBUG]	Store product image relation
2023-10-13	13:23:32	3342	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:32	3342	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862834 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:32	3342	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:32	3342	[DEBUG]	Executed store
2023-10-13	13:23:32	3342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862834','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:32	3342	[DEBUG]	Checking manufacturer
2023-10-13	13:23:32	3342	[DEBUG]	Load a row
2023-10-13	13:23:32	3342	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:32	3342	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:32	3342	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:32	3342	[DEBUG]	Executed store
2023-10-13	13:23:32	3342	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:32	3342	[DEBUG]	Manufacturer exists
2023-10-13	13:23:32	3342	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:32	3342	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:32	3342	[DEBUG]	Executed store
2023-10-13	13:23:32	3342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862834','32')
2023-10-13	13:23:32	3342	[DEBUG]	Find the custom field ID
2023-10-13	13:23:32	3342	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:32	3342	[DEBUG]	No custom field ID found
2023-10-13	13:23:32	3342	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:32	3342	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:23:32	3342	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862834 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:32	3342	[DEBUG]	Store custom available field
2023-10-13	13:23:32	3342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862834,3,'19.8447222222222',1)
2023-10-13	13:23:32	3342	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:32	3342	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:32	3342	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862834 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:32	3342	[DEBUG]	Store custom available field
2023-10-13	13:23:32	3342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862834,6,'choisir la taille',3)
2023-10-13	13:23:32	3342	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:32	3342	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:32	3342	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:32	3342	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:32	3342	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862834 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:32	3342	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:32	3342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862834,8,1)
2023-10-13	13:23:32	3342	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:32	3342	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862834\":[1862834,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862834
2023-10-13	13:23:32	3342	[DEBUG]	Checking category
2023-10-13	13:23:32	3342	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:32	3342	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862834
2023-10-13	13:23:32	3342	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:32	3342	[DEBUG]	Executed store
2023-10-13	13:23:32	3342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862834','7375')
2023-10-13	13:23:32	3342	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:32	3342	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862834 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:32	3342	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:32	3342	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862834
2023-10-13	13:23:32	3343	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:32	3343	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:32	3343	[DEBUG]	Use field value for field taille
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:32	3343	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:32	3343	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:32	3343	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:32	3343	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:32	3343	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:32	3343	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:32	3343	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:32	3343	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:32	3343	[DEBUG]	Use field value for field published
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:32	3343	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field override
2023-10-13	13:23:32	3343	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:32	3343	[DEBUG]	Use field value for field slug
2023-10-13	13:23:32	3343	[DEBUG]	Process line 3343
2023-10-13	13:23:32	3343	[DEBUG]	Load a row
2023-10-13	13:23:32	3343	[DEBUG]	Processing item: 8435466297572
2023-10-13	13:23:32	3343	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:32	3343	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:32	3343	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4435_0'
2023-10-13	13:23:32	3343	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:32	3343	[DEBUG]	Processing product tax
2023-10-13	13:23:32	3343	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:32	3343	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:32	3343	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:32	3343	[DEBUG]	Query for Product
2023-10-13	13:23:32	3343	[DEBUG]	Executed store
2023-10-13	13:23:32	3343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862834','8435466297572','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:32	3343	[DEBUG]	No parent found
2023-10-13	13:23:32	3343	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862834 AND customfield_value = 'stockable'
2023-10-13	13:23:32	3343	[DEBUG]	Check product language entry
2023-10-13	13:23:32	3343	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862835
2023-10-13	13:23:32	3343	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:32	3343	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297572' AND `virtuemart_product_id` != 1862835
2023-10-13	13:23:32	3343	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:32	3343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862835, '8435466297572')
2023-10-13	13:23:32	3343	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:32	3343	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-cob-rechargeable-usb-unique-unitaire' AND `virtuemart_product_id` != 1862835
2023-10-13	13:23:32	3343	[DEBUG]	Query for ProductLang
2023-10-13	13:23:32	3343	[DEBUG]	Executed store
2023-10-13	13:23:32	3343	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant COB rechargeable USB   / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-cob-rechargeable-usb-unique-unitaire' WHERE `virtuemart_product_id` = '1862835'
2023-10-13	13:23:32	3343	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27090_eclairage_led_avant_cob_rechargeable_usb__.jpg
2023-10-13	13:23:32	3343	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:32	3343	[DEBUG]	Process image file
2023-10-13	13:23:32	3343	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:32	3343	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:32	3343	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27090_eclairage_led_avant_cob_rechargeable_usb__.jpg
2023-10-13	13:23:32	3343	[DEBUG]	Full name target: bcprisme/27090_eclairage_led_avant_cob_rechargeable_usb__.jpg
2023-10-13	13:23:33	3343	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:33	3343	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27090_eclairage_led_avant_cob_rechargeable_usb__.jpg'
2023-10-13	13:23:33	3343	[DEBUG]	Query for Media
2023-10-13	13:23:33	3343	[DEBUG]	Executed store
2023-10-13	13:23:33	3343	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27090_eclairage_led_avant_cob_rechargeable_usb__.jpg',`file_url_thumb`='bcprisme/27090_eclairage_led_avant_cob_rechargeable_usb__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13131'
2023-10-13	13:23:33	3343	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:33	3343	[DEBUG]	Executed store
2023-10-13	13:23:33	3343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862835','13131','1')
2023-10-13	13:23:33	3343	[DEBUG]	Store product image relation
2023-10-13	13:23:33	3343	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:33	3343	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862835 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:33	3343	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:33	3343	[DEBUG]	Executed store
2023-10-13	13:23:33	3343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862835','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:33	3343	[DEBUG]	Checking manufacturer
2023-10-13	13:23:33	3343	[DEBUG]	Load a row
2023-10-13	13:23:33	3343	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:33	3343	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:33	3343	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:33	3343	[DEBUG]	Executed store
2023-10-13	13:23:33	3343	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:33	3343	[DEBUG]	Manufacturer exists
2023-10-13	13:23:33	3343	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:33	3343	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:33	3343	[DEBUG]	Executed store
2023-10-13	13:23:33	3343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862835','32')
2023-10-13	13:23:33	3343	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:33	3343	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:33	3343	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862835 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:33	3343	[DEBUG]	Store custom available field
2023-10-13	13:23:33	3343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862835,3,'',1)
2023-10-13	13:23:33	3343	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:33	3343	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:33	3343	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862835 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:33	3343	[DEBUG]	Store custom available field
2023-10-13	13:23:33	3343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862835,6,'Unitaire',3)
2023-10-13	13:23:33	3343	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:33	3343	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:33	3343	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862834
2023-10-13	13:23:33	3343	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:33	3343	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862834\":[1862834,8,1,\"choisir la taille\"],\"1862835\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862834
2023-10-13	13:23:33	3343	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:33	3343	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862835
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:33	3344	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field taille
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:33	3344	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:33	3344	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:33	3344	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:33	3344	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:33	3344	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:33	3344	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field published
2023-10-13	13:23:33	3344	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:33	3344	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field override
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:33	3344	[DEBUG]	Use field value for field slug
2023-10-13	13:23:33	3344	[DEBUG]	Process line 3344
2023-10-13	13:23:33	3344	[DEBUG]	Load a row
2023-10-13	13:23:33	3344	[DEBUG]	Processing item: A_4620_1
2023-10-13	13:23:33	3344	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:33	3344	[DEBUG]	Processing product tax
2023-10-13	13:23:33	3344	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:33	3344	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:33	3344	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:33	3344	[DEBUG]	Query for Product
2023-10-13	13:23:33	3344	[DEBUG]	Executed store
2023-10-13	13:23:33	3344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4620_1','0.12','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:33	3344	[DEBUG]	Check product language entry
2023-10-13	13:23:33	3344	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862836
2023-10-13	13:23:33	3344	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:33	3344	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4620_1' AND `virtuemart_product_id` != 1862836
2023-10-13	13:23:33	3344	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:33	3344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862836, 'A_4620_1')
2023-10-13	13:23:33	3344	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:33	3344	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-800-lumens-1-led-cree-batterie-interne-noir' AND `virtuemart_product_id` != 1862836
2023-10-13	13:23:33	3344	[DEBUG]	Query for ProductLang
2023-10-13	13:23:33	3344	[DEBUG]	Executed store
2023-10-13	13:23:33	3344	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lumiere 800 lumens 1 led cree batterie interne ALUMINIO 102 g Lumière: LED CREE Puissance: 800 lumens Modes de fonctionnement: 3 Batterie: Batterie au lithium rechargeable chargeur inclus Autonomie de la batterie: 5 heures en moyenne de la batterie luminosité<br>N° art fourn : LIGHTCREE800',`product_name`='MSC Lumiere avant 800 lumens 1 led cree batterie interne  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-800-lumens-1-led-cree-batterie-interne-noir' WHERE `virtuemart_product_id` = '1862836'
2023-10-13	13:23:33	3344	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27415_.jpg
2023-10-13	13:23:33	3344	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:33	3344	[DEBUG]	Process image file
2023-10-13	13:23:33	3344	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:33	3344	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:33	3344	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27415_.jpg
2023-10-13	13:23:33	3344	[DEBUG]	Full name target: bcprisme/27415_.jpg
2023-10-13	13:23:34	3344	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:34	3344	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27415_.jpg'
2023-10-13	13:23:34	3344	[DEBUG]	Query for Media
2023-10-13	13:23:34	3344	[DEBUG]	Executed store
2023-10-13	13:23:34	3344	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27415_.jpg',`file_url_thumb`='bcprisme/27415_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13137'
2023-10-13	13:23:34	3344	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:34	3344	[DEBUG]	Executed store
2023-10-13	13:23:34	3344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862836','13137','1')
2023-10-13	13:23:34	3344	[DEBUG]	Store product image relation
2023-10-13	13:23:34	3344	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:34	3344	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862836 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:34	3344	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:34	3344	[DEBUG]	Executed store
2023-10-13	13:23:34	3344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862836','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:34	3344	[DEBUG]	Checking manufacturer
2023-10-13	13:23:34	3344	[DEBUG]	Load a row
2023-10-13	13:23:34	3344	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:34	3344	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:34	3344	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:34	3344	[DEBUG]	Executed store
2023-10-13	13:23:34	3344	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:34	3344	[DEBUG]	Manufacturer exists
2023-10-13	13:23:34	3344	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:34	3344	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:34	3344	[DEBUG]	Executed store
2023-10-13	13:23:34	3344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862836','32')
2023-10-13	13:23:34	3344	[DEBUG]	Find the custom field ID
2023-10-13	13:23:34	3344	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:34	3344	[DEBUG]	No custom field ID found
2023-10-13	13:23:34	3344	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:34	3344	[DEBUG]	Get existing row with customfield value 59.7336111111111
2023-10-13	13:23:34	3344	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862836 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:34	3344	[DEBUG]	Store custom available field
2023-10-13	13:23:34	3344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862836,3,'59.7336111111111',1)
2023-10-13	13:23:34	3344	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:34	3344	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:34	3344	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862836 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:34	3344	[DEBUG]	Store custom available field
2023-10-13	13:23:34	3344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862836,6,'choisir la taille',3)
2023-10-13	13:23:34	3344	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:34	3344	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:34	3344	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:34	3344	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:34	3344	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862836 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:34	3344	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:34	3344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862836,8,1)
2023-10-13	13:23:34	3344	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:34	3344	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862836\":[1862836,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862836
2023-10-13	13:23:34	3344	[DEBUG]	Checking category
2023-10-13	13:23:34	3344	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:34	3344	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862836
2023-10-13	13:23:34	3344	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:34	3344	[DEBUG]	Executed store
2023-10-13	13:23:34	3344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862836','7375')
2023-10-13	13:23:34	3344	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:34	3344	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862836 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:34	3344	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:34	3344	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862836
2023-10-13	13:23:34	3345	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:34	3345	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:34	3345	[DEBUG]	Use field value for field taille
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:34	3345	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:34	3345	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:34	3345	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:34	3345	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:34	3345	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:34	3345	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:34	3345	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:34	3345	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:34	3345	[DEBUG]	Use field value for field published
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:34	3345	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field override
2023-10-13	13:23:34	3345	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:34	3345	[DEBUG]	Use field value for field slug
2023-10-13	13:23:34	3345	[DEBUG]	Process line 3345
2023-10-13	13:23:34	3345	[DEBUG]	Load a row
2023-10-13	13:23:34	3345	[DEBUG]	Processing item: 8435466213251
2023-10-13	13:23:34	3345	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:34	3345	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:34	3345	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4620_1'
2023-10-13	13:23:34	3345	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:34	3345	[DEBUG]	Processing product tax
2023-10-13	13:23:34	3345	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:34	3345	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:34	3345	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:34	3345	[DEBUG]	Query for Product
2023-10-13	13:23:34	3345	[DEBUG]	Executed store
2023-10-13	13:23:34	3345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862836','8435466213251','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:34	3345	[DEBUG]	No parent found
2023-10-13	13:23:34	3345	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862836 AND customfield_value = 'stockable'
2023-10-13	13:23:34	3345	[DEBUG]	Check product language entry
2023-10-13	13:23:34	3345	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862837
2023-10-13	13:23:34	3345	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:34	3345	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466213251' AND `virtuemart_product_id` != 1862837
2023-10-13	13:23:34	3345	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:34	3345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862837, '8435466213251')
2023-10-13	13:23:34	3345	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:34	3345	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-800-lumens-1-led-cree-batterie-interne-noir-unitaire' AND `virtuemart_product_id` != 1862837
2023-10-13	13:23:34	3345	[DEBUG]	Query for ProductLang
2023-10-13	13:23:34	3345	[DEBUG]	Executed store
2023-10-13	13:23:34	3345	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumiere avant 800 lumens 1 led cree batterie interne  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-800-lumens-1-led-cree-batterie-interne-noir-unitaire' WHERE `virtuemart_product_id` = '1862837'
2023-10-13	13:23:34	3345	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27415_.jpg
2023-10-13	13:23:34	3345	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:34	3345	[DEBUG]	Process image file
2023-10-13	13:23:34	3345	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:34	3345	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:34	3345	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27415_.jpg
2023-10-13	13:23:34	3345	[DEBUG]	Full name target: bcprisme/27415_.jpg
2023-10-13	13:23:35	3345	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:35	3345	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27415_.jpg'
2023-10-13	13:23:35	3345	[DEBUG]	Query for Media
2023-10-13	13:23:35	3345	[DEBUG]	Executed store
2023-10-13	13:23:35	3345	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27415_.jpg',`file_url_thumb`='bcprisme/27415_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13137'
2023-10-13	13:23:35	3345	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:35	3345	[DEBUG]	Executed store
2023-10-13	13:23:35	3345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862837','13137','1')
2023-10-13	13:23:35	3345	[DEBUG]	Store product image relation
2023-10-13	13:23:35	3345	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:35	3345	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862837 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:35	3345	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:35	3345	[DEBUG]	Executed store
2023-10-13	13:23:35	3345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862837','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:35	3345	[DEBUG]	Checking manufacturer
2023-10-13	13:23:35	3345	[DEBUG]	Load a row
2023-10-13	13:23:35	3345	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:35	3345	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:35	3345	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:35	3345	[DEBUG]	Executed store
2023-10-13	13:23:35	3345	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:35	3345	[DEBUG]	Manufacturer exists
2023-10-13	13:23:35	3345	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:35	3345	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:35	3345	[DEBUG]	Executed store
2023-10-13	13:23:35	3345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862837','32')
2023-10-13	13:23:35	3345	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:35	3345	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:35	3345	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862837 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:35	3345	[DEBUG]	Store custom available field
2023-10-13	13:23:35	3345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862837,3,'',1)
2023-10-13	13:23:35	3345	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:35	3345	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:35	3345	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862837 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:35	3345	[DEBUG]	Store custom available field
2023-10-13	13:23:35	3345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862837,6,'Unitaire',3)
2023-10-13	13:23:35	3345	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:35	3345	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:35	3345	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862836
2023-10-13	13:23:35	3345	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:35	3345	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862836\":[1862836,8,1,\"choisir la taille\"],\"1862837\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862836
2023-10-13	13:23:35	3345	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:35	3345	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862837
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:35	3346	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field taille
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:35	3346	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:35	3346	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:35	3346	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:35	3346	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:35	3346	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:35	3346	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field published
2023-10-13	13:23:35	3346	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:35	3346	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field override
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:35	3346	[DEBUG]	Use field value for field slug
2023-10-13	13:23:35	3346	[DEBUG]	Process line 3346
2023-10-13	13:23:35	3346	[DEBUG]	Load a row
2023-10-13	13:23:35	3346	[DEBUG]	Processing item: A_5496_1
2023-10-13	13:23:35	3346	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:35	3346	[DEBUG]	Processing product tax
2023-10-13	13:23:35	3346	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:35	3346	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:35	3346	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:35	3346	[DEBUG]	Query for Product
2023-10-13	13:23:35	3346	[DEBUG]	Executed store
2023-10-13	13:23:35	3346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5496_1','0.12','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:35	3346	[DEBUG]	Check product language entry
2023-10-13	13:23:35	3346	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862838
2023-10-13	13:23:35	3346	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:35	3346	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5496_1' AND `virtuemart_product_id` != 1862838
2023-10-13	13:23:35	3346	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:35	3346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862838, 'A_5496_1')
2023-10-13	13:23:35	3346	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:35	3346	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-500-lumens-1-led-cree-batterie-interne-noir' AND `virtuemart_product_id` != 1862838
2023-10-13	13:23:35	3346	[DEBUG]	Query for ProductLang
2023-10-13	13:23:35	3346	[DEBUG]	Executed store
2023-10-13	13:23:35	3346	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>ALUMINIO<br>83 g<br>AVANT :<br><br>- LED CREE XP-G2<br><br>- Corps Aluminium et plastique<br><br>- Batterie chargeable (3.7V 850 mAh)<br><br>- Temps de charge 1-2.hrs<br><br>- Temps d\'utilisation 100% 2h - 50% 4h 25% 8h FLASH 4h.<br><br>Poids : 83g<br>N° art fourn : LIGHTCREE500',`product_name`='MSC Lumiere avant 500 lumens 1 led cree batterie interne   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-500-lumens-1-led-cree-batterie-interne-noir' WHERE `virtuemart_product_id` = '1862838'
2023-10-13	13:23:35	3346	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29999_lumiere_500_lumens_1_led_cree_batterie_interne__.jpg
2023-10-13	13:23:35	3346	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:35	3346	[DEBUG]	Process image file
2023-10-13	13:23:35	3346	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:35	3346	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:35	3346	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29999_lumiere_500_lumens_1_led_cree_batterie_interne__.jpg
2023-10-13	13:23:35	3346	[DEBUG]	Full name target: bcprisme/29999_lumiere_500_lumens_1_led_cree_batterie_interne__.jpg
2023-10-13	13:23:36	3346	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:36	3346	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29999_lumiere_500_lumens_1_led_cree_batterie_interne__.jpg'
2023-10-13	13:23:36	3346	[DEBUG]	Query for Media
2023-10-13	13:23:36	3346	[DEBUG]	Executed store
2023-10-13	13:23:36	3346	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29999_lumiere_500_lumens_1_led_cree_batterie_interne__.jpg',`file_url_thumb`='bcprisme/29999_lumiere_500_lumens_1_led_cree_batterie_interne__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13139'
2023-10-13	13:23:36	3346	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:36	3346	[DEBUG]	Executed store
2023-10-13	13:23:36	3346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862838','13139','1')
2023-10-13	13:23:36	3346	[DEBUG]	Store product image relation
2023-10-13	13:23:36	3346	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:36	3346	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862838 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:36	3346	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:36	3346	[DEBUG]	Executed store
2023-10-13	13:23:36	3346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862838','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:36	3346	[DEBUG]	Checking manufacturer
2023-10-13	13:23:36	3346	[DEBUG]	Load a row
2023-10-13	13:23:36	3346	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:36	3346	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:36	3346	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:36	3346	[DEBUG]	Executed store
2023-10-13	13:23:36	3346	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:36	3346	[DEBUG]	Manufacturer exists
2023-10-13	13:23:36	3346	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:36	3346	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:36	3346	[DEBUG]	Executed store
2023-10-13	13:23:36	3346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862838','32')
2023-10-13	13:23:36	3346	[DEBUG]	Find the custom field ID
2023-10-13	13:23:36	3346	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:36	3346	[DEBUG]	No custom field ID found
2023-10-13	13:23:36	3346	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:36	3346	[DEBUG]	Get existing row with customfield value 59.7336111111111
2023-10-13	13:23:36	3346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862838 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:36	3346	[DEBUG]	Store custom available field
2023-10-13	13:23:36	3346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862838,3,'59.7336111111111',1)
2023-10-13	13:23:36	3346	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:36	3346	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:36	3346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862838 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:36	3346	[DEBUG]	Store custom available field
2023-10-13	13:23:36	3346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862838,6,'choisir la taille',3)
2023-10-13	13:23:36	3346	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:36	3346	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:36	3346	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:36	3346	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:36	3346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862838 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:36	3346	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:36	3346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862838,8,1)
2023-10-13	13:23:36	3346	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:36	3346	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862838\":[1862838,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862838
2023-10-13	13:23:36	3346	[DEBUG]	Checking category
2023-10-13	13:23:36	3346	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:36	3346	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862838
2023-10-13	13:23:36	3346	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:36	3346	[DEBUG]	Executed store
2023-10-13	13:23:36	3346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862838','7375')
2023-10-13	13:23:36	3346	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:36	3346	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862838 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:36	3346	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:36	3346	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862838
2023-10-13	13:23:36	3347	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:36	3347	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:36	3347	[DEBUG]	Use field value for field taille
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:36	3347	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:36	3347	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:36	3347	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:36	3347	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:36	3347	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:36	3347	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:36	3347	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:36	3347	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:36	3347	[DEBUG]	Use field value for field published
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:36	3347	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field override
2023-10-13	13:23:36	3347	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:36	3347	[DEBUG]	Use field value for field slug
2023-10-13	13:23:36	3347	[DEBUG]	Process line 3347
2023-10-13	13:23:36	3347	[DEBUG]	Load a row
2023-10-13	13:23:36	3347	[DEBUG]	Processing item: 8435466214739
2023-10-13	13:23:36	3347	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:36	3347	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:36	3347	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5496_1'
2023-10-13	13:23:36	3347	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:36	3347	[DEBUG]	Processing product tax
2023-10-13	13:23:36	3347	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:36	3347	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:36	3347	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:36	3347	[DEBUG]	Query for Product
2023-10-13	13:23:36	3347	[DEBUG]	Executed store
2023-10-13	13:23:36	3347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862838','8435466214739','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:36	3347	[DEBUG]	No parent found
2023-10-13	13:23:36	3347	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862838 AND customfield_value = 'stockable'
2023-10-13	13:23:36	3347	[DEBUG]	Check product language entry
2023-10-13	13:23:36	3347	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862839
2023-10-13	13:23:36	3347	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:36	3347	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214739' AND `virtuemart_product_id` != 1862839
2023-10-13	13:23:36	3347	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:36	3347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862839, '8435466214739')
2023-10-13	13:23:36	3347	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:36	3347	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-500-lumens-1-led-cree-batterie-interne-noir-unitaire' AND `virtuemart_product_id` != 1862839
2023-10-13	13:23:36	3347	[DEBUG]	Query for ProductLang
2023-10-13	13:23:36	3347	[DEBUG]	Executed store
2023-10-13	13:23:36	3347	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumiere avant 500 lumens 1 led cree batterie interne   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-500-lumens-1-led-cree-batterie-interne-noir-unitaire' WHERE `virtuemart_product_id` = '1862839'
2023-10-13	13:23:36	3347	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29999_lumiere_500_lumens_1_led_cree_batterie_interne__.jpg
2023-10-13	13:23:36	3347	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:36	3347	[DEBUG]	Process image file
2023-10-13	13:23:36	3347	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:36	3347	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:36	3347	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29999_lumiere_500_lumens_1_led_cree_batterie_interne__.jpg
2023-10-13	13:23:36	3347	[DEBUG]	Full name target: bcprisme/29999_lumiere_500_lumens_1_led_cree_batterie_interne__.jpg
2023-10-13	13:23:37	3347	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:37	3347	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29999_lumiere_500_lumens_1_led_cree_batterie_interne__.jpg'
2023-10-13	13:23:37	3347	[DEBUG]	Query for Media
2023-10-13	13:23:37	3347	[DEBUG]	Executed store
2023-10-13	13:23:37	3347	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29999_lumiere_500_lumens_1_led_cree_batterie_interne__.jpg',`file_url_thumb`='bcprisme/29999_lumiere_500_lumens_1_led_cree_batterie_interne__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13139'
2023-10-13	13:23:37	3347	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:37	3347	[DEBUG]	Executed store
2023-10-13	13:23:37	3347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862839','13139','1')
2023-10-13	13:23:37	3347	[DEBUG]	Store product image relation
2023-10-13	13:23:37	3347	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:37	3347	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862839 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:37	3347	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:37	3347	[DEBUG]	Executed store
2023-10-13	13:23:37	3347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862839','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:37	3347	[DEBUG]	Checking manufacturer
2023-10-13	13:23:37	3347	[DEBUG]	Load a row
2023-10-13	13:23:37	3347	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:37	3347	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:37	3347	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:37	3347	[DEBUG]	Executed store
2023-10-13	13:23:37	3347	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:37	3347	[DEBUG]	Manufacturer exists
2023-10-13	13:23:37	3347	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:37	3347	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:37	3347	[DEBUG]	Executed store
2023-10-13	13:23:37	3347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862839','32')
2023-10-13	13:23:37	3347	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:37	3347	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:37	3347	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862839 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:37	3347	[DEBUG]	Store custom available field
2023-10-13	13:23:37	3347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862839,3,'',1)
2023-10-13	13:23:37	3347	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:37	3347	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:37	3347	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862839 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:37	3347	[DEBUG]	Store custom available field
2023-10-13	13:23:37	3347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862839,6,'Unitaire',3)
2023-10-13	13:23:37	3347	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:37	3347	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:37	3347	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862838
2023-10-13	13:23:37	3347	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:37	3347	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862838\":[1862838,8,1,\"choisir la taille\"],\"1862839\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862838
2023-10-13	13:23:37	3347	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:37	3347	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862839
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:37	3348	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field taille
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:37	3348	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:37	3348	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:37	3348	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:37	3348	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:37	3348	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:37	3348	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field published
2023-10-13	13:23:37	3348	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:37	3348	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field override
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:37	3348	[DEBUG]	Use field value for field slug
2023-10-13	13:23:37	3348	[DEBUG]	Process line 3348
2023-10-13	13:23:37	3348	[DEBUG]	Load a row
2023-10-13	13:23:37	3348	[DEBUG]	Processing item: A_5497_1
2023-10-13	13:23:37	3348	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:37	3348	[DEBUG]	Processing product tax
2023-10-13	13:23:37	3348	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:37	3348	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:37	3348	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:37	3348	[DEBUG]	Query for Product
2023-10-13	13:23:37	3348	[DEBUG]	Executed store
2023-10-13	13:23:37	3348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5497_1','0.062','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:37	3348	[DEBUG]	Check product language entry
2023-10-13	13:23:37	3348	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862840
2023-10-13	13:23:37	3348	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:37	3348	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5497_1' AND `virtuemart_product_id` != 1862840
2023-10-13	13:23:37	3348	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:37	3348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862840, 'A_5497_1')
2023-10-13	13:23:37	3348	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:37	3348	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-arriere-40-lumens-msc-rechargeable-usb-65-gr-noir' AND `virtuemart_product_id` != 1862840
2023-10-13	13:23:37	3348	[DEBUG]	Query for ProductLang
2023-10-13	13:23:37	3348	[DEBUG]	Executed store
2023-10-13	13:23:37	3348	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lumière arrière MSC rechargeable USB, 65 gr. <br>N° art fourn : LIGHT40R',`product_name`='MSC Lumière arrière 40 Lumens MSC rechargeable USB 65 gr.  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-arriere-40-lumens-msc-rechargeable-usb-65-gr-noir' WHERE `virtuemart_product_id` = '1862840'
2023-10-13	13:23:37	3348	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30000_lumiere_arriere_40_lumens_msc_rechargeable_usb_65_gr__.jpg
2023-10-13	13:23:37	3348	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:37	3348	[DEBUG]	Process image file
2023-10-13	13:23:37	3348	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:37	3348	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:37	3348	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30000_lumiere_arriere_40_lumens_msc_rechargeable_usb_65_gr__.jpg
2023-10-13	13:23:37	3348	[DEBUG]	Full name target: bcprisme/30000_lumiere_arriere_40_lumens_msc_rechargeable_usb_65_gr__.jpg
2023-10-13	13:23:38	3348	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:38	3348	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30000_lumiere_arriere_40_lumens_msc_rechargeable_usb_65_gr__.jpg'
2023-10-13	13:23:38	3348	[DEBUG]	Query for Media
2023-10-13	13:23:38	3348	[DEBUG]	Executed store
2023-10-13	13:23:38	3348	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30000_lumiere_arriere_40_lumens_msc_rechargeable_usb_65_gr__.jpg',`file_url_thumb`='bcprisme/30000_lumiere_arriere_40_lumens_msc_rechargeable_usb_65_gr__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13140'
2023-10-13	13:23:38	3348	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:38	3348	[DEBUG]	Executed store
2023-10-13	13:23:38	3348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862840','13140','1')
2023-10-13	13:23:38	3348	[DEBUG]	Store product image relation
2023-10-13	13:23:38	3348	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:38	3348	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862840 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:38	3348	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:38	3348	[DEBUG]	Executed store
2023-10-13	13:23:38	3348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862840','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:38	3348	[DEBUG]	Checking manufacturer
2023-10-13	13:23:38	3348	[DEBUG]	Load a row
2023-10-13	13:23:38	3348	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:38	3348	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:38	3348	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:38	3348	[DEBUG]	Executed store
2023-10-13	13:23:38	3348	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:38	3348	[DEBUG]	Manufacturer exists
2023-10-13	13:23:38	3348	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:38	3348	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:38	3348	[DEBUG]	Executed store
2023-10-13	13:23:38	3348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862840','32')
2023-10-13	13:23:38	3348	[DEBUG]	Find the custom field ID
2023-10-13	13:23:38	3348	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:38	3348	[DEBUG]	No custom field ID found
2023-10-13	13:23:38	3348	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:38	3348	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:23:38	3348	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862840 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:38	3348	[DEBUG]	Store custom available field
2023-10-13	13:23:38	3348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862840,3,'21.8391666666667',1)
2023-10-13	13:23:38	3348	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:38	3348	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:38	3348	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862840 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:38	3348	[DEBUG]	Store custom available field
2023-10-13	13:23:38	3348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862840,6,'choisir la taille',3)
2023-10-13	13:23:38	3348	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:38	3348	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:38	3348	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:38	3348	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:38	3348	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862840 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:38	3348	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:38	3348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862840,8,1)
2023-10-13	13:23:38	3348	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:38	3348	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862840\":[1862840,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862840
2023-10-13	13:23:38	3348	[DEBUG]	Checking category
2023-10-13	13:23:38	3348	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:38	3348	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862840
2023-10-13	13:23:38	3348	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:38	3348	[DEBUG]	Executed store
2023-10-13	13:23:38	3348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862840','7375')
2023-10-13	13:23:38	3348	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:38	3348	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862840 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:38	3348	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:38	3348	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862840
2023-10-13	13:23:38	3349	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:38	3349	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:38	3349	[DEBUG]	Use field value for field taille
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:38	3349	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:38	3349	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:38	3349	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:38	3349	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:38	3349	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:38	3349	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:38	3349	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:38	3349	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:38	3349	[DEBUG]	Use field value for field published
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:38	3349	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field override
2023-10-13	13:23:38	3349	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:38	3349	[DEBUG]	Use field value for field slug
2023-10-13	13:23:38	3349	[DEBUG]	Process line 3349
2023-10-13	13:23:38	3349	[DEBUG]	Load a row
2023-10-13	13:23:38	3349	[DEBUG]	Processing item: 8435466291648
2023-10-13	13:23:38	3349	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:38	3349	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:38	3349	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5497_1'
2023-10-13	13:23:38	3349	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:38	3349	[DEBUG]	Processing product tax
2023-10-13	13:23:38	3349	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:38	3349	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:38	3349	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:38	3349	[DEBUG]	Query for Product
2023-10-13	13:23:38	3349	[DEBUG]	Executed store
2023-10-13	13:23:38	3349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862840','8435466291648','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:38	3349	[DEBUG]	No parent found
2023-10-13	13:23:38	3349	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862840 AND customfield_value = 'stockable'
2023-10-13	13:23:38	3349	[DEBUG]	Check product language entry
2023-10-13	13:23:38	3349	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862841
2023-10-13	13:23:38	3349	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:38	3349	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466291648' AND `virtuemart_product_id` != 1862841
2023-10-13	13:23:38	3349	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:38	3349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862841, '8435466291648')
2023-10-13	13:23:38	3349	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:38	3349	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-arriere-40-lumens-msc-rechargeable-usb-65-gr-noir-unitaire' AND `virtuemart_product_id` != 1862841
2023-10-13	13:23:38	3349	[DEBUG]	Query for ProductLang
2023-10-13	13:23:38	3349	[DEBUG]	Executed store
2023-10-13	13:23:38	3349	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière arrière 40 Lumens MSC rechargeable USB 65 gr.  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-arriere-40-lumens-msc-rechargeable-usb-65-gr-noir-unitaire' WHERE `virtuemart_product_id` = '1862841'
2023-10-13	13:23:38	3349	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30000_lumiere_arriere_40_lumens_msc_rechargeable_usb_65_gr__.jpg
2023-10-13	13:23:38	3349	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:38	3349	[DEBUG]	Process image file
2023-10-13	13:23:38	3349	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:38	3349	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:38	3349	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30000_lumiere_arriere_40_lumens_msc_rechargeable_usb_65_gr__.jpg
2023-10-13	13:23:38	3349	[DEBUG]	Full name target: bcprisme/30000_lumiere_arriere_40_lumens_msc_rechargeable_usb_65_gr__.jpg
2023-10-13	13:23:39	3349	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:39	3349	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30000_lumiere_arriere_40_lumens_msc_rechargeable_usb_65_gr__.jpg'
2023-10-13	13:23:39	3349	[DEBUG]	Query for Media
2023-10-13	13:23:39	3349	[DEBUG]	Executed store
2023-10-13	13:23:39	3349	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30000_lumiere_arriere_40_lumens_msc_rechargeable_usb_65_gr__.jpg',`file_url_thumb`='bcprisme/30000_lumiere_arriere_40_lumens_msc_rechargeable_usb_65_gr__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13140'
2023-10-13	13:23:39	3349	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:39	3349	[DEBUG]	Executed store
2023-10-13	13:23:39	3349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862841','13140','1')
2023-10-13	13:23:39	3349	[DEBUG]	Store product image relation
2023-10-13	13:23:39	3349	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:39	3349	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862841 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:39	3349	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:39	3349	[DEBUG]	Executed store
2023-10-13	13:23:39	3349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862841','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:39	3349	[DEBUG]	Checking manufacturer
2023-10-13	13:23:39	3349	[DEBUG]	Load a row
2023-10-13	13:23:39	3349	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:39	3349	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:39	3349	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:39	3349	[DEBUG]	Executed store
2023-10-13	13:23:39	3349	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:39	3349	[DEBUG]	Manufacturer exists
2023-10-13	13:23:39	3349	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:39	3349	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:39	3349	[DEBUG]	Executed store
2023-10-13	13:23:39	3349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862841','32')
2023-10-13	13:23:39	3349	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:39	3349	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:39	3349	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862841 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:39	3349	[DEBUG]	Store custom available field
2023-10-13	13:23:39	3349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862841,3,'',1)
2023-10-13	13:23:39	3349	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:39	3349	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:39	3349	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862841 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:39	3349	[DEBUG]	Store custom available field
2023-10-13	13:23:39	3349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862841,6,'Unitaire',3)
2023-10-13	13:23:39	3349	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:39	3349	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:39	3349	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862840
2023-10-13	13:23:39	3349	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:39	3349	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862840\":[1862840,8,1,\"choisir la taille\"],\"1862841\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862840
2023-10-13	13:23:39	3349	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:39	3349	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862841
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:39	3350	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field taille
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:39	3350	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:39	3350	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:39	3350	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:39	3350	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:39	3350	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:39	3350	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field published
2023-10-13	13:23:39	3350	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:39	3350	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field override
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:39	3350	[DEBUG]	Use field value for field slug
2023-10-13	13:23:39	3350	[DEBUG]	Process line 3350
2023-10-13	13:23:39	3350	[DEBUG]	Load a row
2023-10-13	13:23:39	3350	[DEBUG]	Processing item: A_5499_65
2023-10-13	13:23:39	3350	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:39	3350	[DEBUG]	Processing product tax
2023-10-13	13:23:39	3350	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:39	3350	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:39	3350	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:39	3350	[DEBUG]	Query for Product
2023-10-13	13:23:39	3350	[DEBUG]	Executed store
2023-10-13	13:23:39	3350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5499_65','0.065','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:39	3350	[DEBUG]	Check product language entry
2023-10-13	13:23:39	3350	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862842
2023-10-13	13:23:39	3350	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:39	3350	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5499_65' AND `virtuemart_product_id` != 1862842
2023-10-13	13:23:39	3350	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:39	3350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862842, 'A_5499_65')
2023-10-13	13:23:39	3350	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:39	3350	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-200-lumens-msc-rechargeable-jaune' AND `virtuemart_product_id` != 1862842
2023-10-13	13:23:39	3350	[DEBUG]	Query for ProductLang
2023-10-13	13:23:39	3350	[DEBUG]	Executed store
2023-10-13	13:23:39	3350	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>ALUMINIO<br>42 g<br>CARACTÉRISTIQUES<br><br>- LED COB forte et brillante<br><br>- Aluminium CNC avec traitement chaleur<br><br>- Mode fonction ménoire<br><br>- Batterie rechargeable au lithium USB (3.7V 800mAh)<br><br>- Mode flash diurne<br><br>- Mode économie d\'énergie.<br><br>- 4 modes fixes, 4 modes flash<br><br>- Serrage rapide universel<br><br>- indicateur de batterie : faible, en charge, charge terminée.<br><br>- Le système s\'éteint automatiquement lorsque la charge est terminée.<br><br>- Visibilité latérale<br><br>- Temps de charge 2.5Hrs<br><br>- Résistante à l\'eau (IPX4)<br><br>- poids  52g<br>N° art fourn : LIGHTTAILWH',`product_name`='MSC Lumière avant 200 Lumens MSC rechargeable  / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-200-lumens-msc-rechargeable-jaune' WHERE `virtuemart_product_id` = '1862842'
2023-10-13	13:23:39	3350	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30002_lumiere_avant_200_lumens_msc_rechargeable_.jpg
2023-10-13	13:23:39	3350	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:39	3350	[DEBUG]	Process image file
2023-10-13	13:23:39	3350	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:39	3350	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:39	3350	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30002_lumiere_avant_200_lumens_msc_rechargeable_.jpg
2023-10-13	13:23:39	3350	[DEBUG]	Full name target: bcprisme/30002_lumiere_avant_200_lumens_msc_rechargeable_.jpg
2023-10-13	13:23:40	3350	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:40	3350	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30002_lumiere_avant_200_lumens_msc_rechargeable_.jpg'
2023-10-13	13:23:40	3350	[DEBUG]	Query for Media
2023-10-13	13:23:40	3350	[DEBUG]	Executed store
2023-10-13	13:23:40	3350	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30002_lumiere_avant_200_lumens_msc_rechargeable_.jpg',`file_url_thumb`='bcprisme/30002_lumiere_avant_200_lumens_msc_rechargeable_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13141'
2023-10-13	13:23:40	3350	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:40	3350	[DEBUG]	Executed store
2023-10-13	13:23:40	3350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862842','13141','1')
2023-10-13	13:23:40	3350	[DEBUG]	Store product image relation
2023-10-13	13:23:40	3350	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:40	3350	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862842 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:40	3350	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:40	3350	[DEBUG]	Executed store
2023-10-13	13:23:40	3350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862842','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:40	3350	[DEBUG]	Checking manufacturer
2023-10-13	13:23:40	3350	[DEBUG]	Load a row
2023-10-13	13:23:40	3350	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:40	3350	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:40	3350	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:40	3350	[DEBUG]	Executed store
2023-10-13	13:23:40	3350	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:40	3350	[DEBUG]	Manufacturer exists
2023-10-13	13:23:40	3350	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:40	3350	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:40	3350	[DEBUG]	Executed store
2023-10-13	13:23:40	3350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862842','32')
2023-10-13	13:23:40	3350	[DEBUG]	Find the custom field ID
2023-10-13	13:23:40	3350	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:40	3350	[DEBUG]	No custom field ID found
2023-10-13	13:23:40	3350	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:40	3350	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:23:40	3350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862842 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:40	3350	[DEBUG]	Store custom available field
2023-10-13	13:23:40	3350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862842,3,'21.8391666666667',1)
2023-10-13	13:23:40	3350	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:40	3350	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:40	3350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862842 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:40	3350	[DEBUG]	Store custom available field
2023-10-13	13:23:40	3350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862842,6,'choisir la taille',3)
2023-10-13	13:23:40	3350	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:40	3350	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:40	3350	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:40	3350	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:40	3350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862842 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:40	3350	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:40	3350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862842,8,1)
2023-10-13	13:23:40	3350	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:40	3350	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862842\":[1862842,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862842
2023-10-13	13:23:40	3350	[DEBUG]	Checking category
2023-10-13	13:23:40	3350	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:40	3350	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862842
2023-10-13	13:23:40	3350	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:40	3350	[DEBUG]	Executed store
2023-10-13	13:23:40	3350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862842','7375')
2023-10-13	13:23:40	3350	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:40	3350	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862842 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:40	3350	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:40	3350	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862842
2023-10-13	13:23:40	3351	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:40	3351	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:40	3351	[DEBUG]	Use field value for field taille
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:40	3351	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:40	3351	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:40	3351	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:40	3351	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:40	3351	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:40	3351	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:40	3351	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:40	3351	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:40	3351	[DEBUG]	Use field value for field published
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:40	3351	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field override
2023-10-13	13:23:40	3351	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:40	3351	[DEBUG]	Use field value for field slug
2023-10-13	13:23:40	3351	[DEBUG]	Process line 3351
2023-10-13	13:23:40	3351	[DEBUG]	Load a row
2023-10-13	13:23:40	3351	[DEBUG]	Processing item: 8435466214692
2023-10-13	13:23:40	3351	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:40	3351	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:40	3351	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5499_65'
2023-10-13	13:23:40	3351	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:40	3351	[DEBUG]	Processing product tax
2023-10-13	13:23:40	3351	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:40	3351	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:40	3351	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:40	3351	[DEBUG]	Query for Product
2023-10-13	13:23:40	3351	[DEBUG]	Executed store
2023-10-13	13:23:40	3351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862842','8435466214692','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:40	3351	[DEBUG]	No parent found
2023-10-13	13:23:40	3351	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862842 AND customfield_value = 'stockable'
2023-10-13	13:23:40	3351	[DEBUG]	Check product language entry
2023-10-13	13:23:40	3351	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862843
2023-10-13	13:23:40	3351	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:40	3351	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214692' AND `virtuemart_product_id` != 1862843
2023-10-13	13:23:40	3351	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:40	3351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862843, '8435466214692')
2023-10-13	13:23:40	3351	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:40	3351	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-200-lumens-msc-rechargeable-jaune-unitaire' AND `virtuemart_product_id` != 1862843
2023-10-13	13:23:40	3351	[DEBUG]	Query for ProductLang
2023-10-13	13:23:40	3351	[DEBUG]	Executed store
2023-10-13	13:23:40	3351	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 200 Lumens MSC rechargeable  / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-200-lumens-msc-rechargeable-jaune-unitaire' WHERE `virtuemart_product_id` = '1862843'
2023-10-13	13:23:40	3351	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30002_lumiere_avant_200_lumens_msc_rechargeable_.jpg
2023-10-13	13:23:40	3351	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:40	3351	[DEBUG]	Process image file
2023-10-13	13:23:40	3351	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:40	3351	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:40	3351	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30002_lumiere_avant_200_lumens_msc_rechargeable_.jpg
2023-10-13	13:23:40	3351	[DEBUG]	Full name target: bcprisme/30002_lumiere_avant_200_lumens_msc_rechargeable_.jpg
2023-10-13	13:23:41	3351	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:41	3351	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30002_lumiere_avant_200_lumens_msc_rechargeable_.jpg'
2023-10-13	13:23:41	3351	[DEBUG]	Query for Media
2023-10-13	13:23:41	3351	[DEBUG]	Executed store
2023-10-13	13:23:41	3351	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30002_lumiere_avant_200_lumens_msc_rechargeable_.jpg',`file_url_thumb`='bcprisme/30002_lumiere_avant_200_lumens_msc_rechargeable_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13141'
2023-10-13	13:23:41	3351	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:41	3351	[DEBUG]	Executed store
2023-10-13	13:23:41	3351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862843','13141','1')
2023-10-13	13:23:41	3351	[DEBUG]	Store product image relation
2023-10-13	13:23:41	3351	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:41	3351	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862843 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:41	3351	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:41	3351	[DEBUG]	Executed store
2023-10-13	13:23:41	3351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862843','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:41	3351	[DEBUG]	Checking manufacturer
2023-10-13	13:23:41	3351	[DEBUG]	Load a row
2023-10-13	13:23:41	3351	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:41	3351	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:41	3351	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:41	3351	[DEBUG]	Executed store
2023-10-13	13:23:41	3351	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:41	3351	[DEBUG]	Manufacturer exists
2023-10-13	13:23:41	3351	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:41	3351	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:41	3351	[DEBUG]	Executed store
2023-10-13	13:23:41	3351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862843','32')
2023-10-13	13:23:41	3351	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:41	3351	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:41	3351	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862843 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:41	3351	[DEBUG]	Store custom available field
2023-10-13	13:23:41	3351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862843,3,'',1)
2023-10-13	13:23:41	3351	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:41	3351	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:41	3351	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862843 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:41	3351	[DEBUG]	Store custom available field
2023-10-13	13:23:41	3351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862843,6,'Unitaire',3)
2023-10-13	13:23:41	3351	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:41	3351	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:41	3351	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862842
2023-10-13	13:23:41	3351	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:41	3351	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862842\":[1862842,8,1,\"choisir la taille\"],\"1862843\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862842
2023-10-13	13:23:41	3351	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:41	3351	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862843
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:41	3352	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field taille
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:41	3352	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:41	3352	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:41	3352	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:41	3352	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:41	3352	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:41	3352	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field published
2023-10-13	13:23:41	3352	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:41	3352	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field override
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:41	3352	[DEBUG]	Use field value for field slug
2023-10-13	13:23:41	3352	[DEBUG]	Process line 3352
2023-10-13	13:23:41	3352	[DEBUG]	Load a row
2023-10-13	13:23:41	3352	[DEBUG]	Processing item: A_5500_1
2023-10-13	13:23:41	3352	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:41	3352	[DEBUG]	Processing product tax
2023-10-13	13:23:41	3352	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:41	3352	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:41	3352	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:41	3352	[DEBUG]	Query for Product
2023-10-13	13:23:41	3352	[DEBUG]	Executed store
2023-10-13	13:23:41	3352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5500_1','0.113','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:41	3352	[DEBUG]	Check product language entry
2023-10-13	13:23:41	3352	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862844
2023-10-13	13:23:41	3352	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:41	3352	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5500_1' AND `virtuemart_product_id` != 1862844
2023-10-13	13:23:41	3352	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:41	3352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862844, 'A_5500_1')
2023-10-13	13:23:41	3352	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:41	3352	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-400-lumens-msc-noir' AND `virtuemart_product_id` != 1862844
2023-10-13	13:23:41	3352	[DEBUG]	Query for ProductLang
2023-10-13	13:23:41	3352	[DEBUG]	Executed store
2023-10-13	13:23:41	3352	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='LUMIERE AVANT LED 400 LUMENS RECHARGEABLE  Dimension: 34x27x105mm Poids: 130g avec batterie Lumière: LED Puissance: 400 lumens Modes de fonctionnement: 3 Batterie: les batteries et chargeur inclus Autonomie: 10h luminosité moyenne sur la batterie MSC BIKES, S.L. <br>N° art fourn : LIGHTSENSOR400',`product_name`='MSC Lumière avant 400 Lumens MSC / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-400-lumens-msc-noir' WHERE `virtuemart_product_id` = '1862844'
2023-10-13	13:23:41	3352	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30003_lumiere_avant_400_lumens_msc.jpg
2023-10-13	13:23:41	3352	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:41	3352	[DEBUG]	Process image file
2023-10-13	13:23:41	3352	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:41	3352	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:41	3352	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30003_lumiere_avant_400_lumens_msc.jpg
2023-10-13	13:23:41	3352	[DEBUG]	Full name target: bcprisme/30003_lumiere_avant_400_lumens_msc.jpg
2023-10-13	13:23:42	3352	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:42	3352	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30003_lumiere_avant_400_lumens_msc.jpg'
2023-10-13	13:23:42	3352	[DEBUG]	Query for Media
2023-10-13	13:23:42	3352	[DEBUG]	Executed store
2023-10-13	13:23:42	3352	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30003_lumiere_avant_400_lumens_msc.jpg',`file_url_thumb`='bcprisme/30003_lumiere_avant_400_lumens_msc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '331104'
2023-10-13	13:23:42	3352	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:42	3352	[DEBUG]	Executed store
2023-10-13	13:23:42	3352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862844','331104','1')
2023-10-13	13:23:42	3352	[DEBUG]	Store product image relation
2023-10-13	13:23:42	3352	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:42	3352	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862844 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:42	3352	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:42	3352	[DEBUG]	Executed store
2023-10-13	13:23:42	3352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862844','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:42	3352	[DEBUG]	Checking manufacturer
2023-10-13	13:23:42	3352	[DEBUG]	Load a row
2023-10-13	13:23:42	3352	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:42	3352	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:42	3352	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:42	3352	[DEBUG]	Executed store
2023-10-13	13:23:42	3352	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:42	3352	[DEBUG]	Manufacturer exists
2023-10-13	13:23:42	3352	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:42	3352	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:42	3352	[DEBUG]	Executed store
2023-10-13	13:23:42	3352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862844','32')
2023-10-13	13:23:42	3352	[DEBUG]	Find the custom field ID
2023-10-13	13:23:42	3352	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:42	3352	[DEBUG]	No custom field ID found
2023-10-13	13:23:42	3352	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:42	3352	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	13:23:42	3352	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862844 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:42	3352	[DEBUG]	Store custom available field
2023-10-13	13:23:42	3352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862844,3,'49.7613888888889',1)
2023-10-13	13:23:42	3352	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:42	3352	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:42	3352	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862844 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:42	3352	[DEBUG]	Store custom available field
2023-10-13	13:23:42	3352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862844,6,'choisir la taille',3)
2023-10-13	13:23:42	3352	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:42	3352	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:42	3352	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:42	3352	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:42	3352	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862844 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:42	3352	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:42	3352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862844,8,1)
2023-10-13	13:23:42	3352	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:42	3352	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862844\":[1862844,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862844
2023-10-13	13:23:42	3352	[DEBUG]	Checking category
2023-10-13	13:23:42	3352	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:42	3352	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862844
2023-10-13	13:23:42	3352	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:42	3352	[DEBUG]	Executed store
2023-10-13	13:23:42	3352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862844','7375')
2023-10-13	13:23:42	3352	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:42	3352	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862844 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:42	3352	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:42	3352	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862844
2023-10-13	13:23:42	3353	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:42	3353	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:42	3353	[DEBUG]	Use field value for field taille
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:42	3353	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:42	3353	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:42	3353	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:42	3353	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:42	3353	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:42	3353	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:42	3353	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:42	3353	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:42	3353	[DEBUG]	Use field value for field published
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:42	3353	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field override
2023-10-13	13:23:42	3353	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:42	3353	[DEBUG]	Use field value for field slug
2023-10-13	13:23:42	3353	[DEBUG]	Process line 3353
2023-10-13	13:23:42	3353	[DEBUG]	Load a row
2023-10-13	13:23:42	3353	[DEBUG]	Processing item: 8435466214777
2023-10-13	13:23:42	3353	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:42	3353	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:42	3353	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5500_1'
2023-10-13	13:23:42	3353	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:42	3353	[DEBUG]	Processing product tax
2023-10-13	13:23:42	3353	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:42	3353	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:42	3353	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:42	3353	[DEBUG]	Query for Product
2023-10-13	13:23:42	3353	[DEBUG]	Executed store
2023-10-13	13:23:42	3353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862844','8435466214777','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:42	3353	[DEBUG]	No parent found
2023-10-13	13:23:42	3353	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862844 AND customfield_value = 'stockable'
2023-10-13	13:23:42	3353	[DEBUG]	Check product language entry
2023-10-13	13:23:42	3353	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862845
2023-10-13	13:23:42	3353	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:42	3353	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214777' AND `virtuemart_product_id` != 1862845
2023-10-13	13:23:42	3353	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:42	3353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862845, '8435466214777')
2023-10-13	13:23:42	3353	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:42	3353	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-400-lumens-msc-noir-unitaire' AND `virtuemart_product_id` != 1862845
2023-10-13	13:23:42	3353	[DEBUG]	Query for ProductLang
2023-10-13	13:23:42	3353	[DEBUG]	Executed store
2023-10-13	13:23:42	3353	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 400 Lumens MSC / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-400-lumens-msc-noir-unitaire' WHERE `virtuemart_product_id` = '1862845'
2023-10-13	13:23:42	3353	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30003_lumiere_avant_400_lumens_msc.jpg
2023-10-13	13:23:42	3353	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:42	3353	[DEBUG]	Process image file
2023-10-13	13:23:42	3353	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:42	3353	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:42	3353	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30003_lumiere_avant_400_lumens_msc.jpg
2023-10-13	13:23:42	3353	[DEBUG]	Full name target: bcprisme/30003_lumiere_avant_400_lumens_msc.jpg
2023-10-13	13:23:43	3353	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:43	3353	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30003_lumiere_avant_400_lumens_msc.jpg'
2023-10-13	13:23:43	3353	[DEBUG]	Query for Media
2023-10-13	13:23:43	3353	[DEBUG]	Executed store
2023-10-13	13:23:43	3353	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30003_lumiere_avant_400_lumens_msc.jpg',`file_url_thumb`='bcprisme/30003_lumiere_avant_400_lumens_msc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '331104'
2023-10-13	13:23:43	3353	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:43	3353	[DEBUG]	Executed store
2023-10-13	13:23:43	3353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862845','331104','1')
2023-10-13	13:23:43	3353	[DEBUG]	Store product image relation
2023-10-13	13:23:43	3353	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:43	3353	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862845 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:43	3353	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:43	3353	[DEBUG]	Executed store
2023-10-13	13:23:43	3353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862845','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:43	3353	[DEBUG]	Checking manufacturer
2023-10-13	13:23:43	3353	[DEBUG]	Load a row
2023-10-13	13:23:43	3353	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:43	3353	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:43	3353	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:43	3353	[DEBUG]	Executed store
2023-10-13	13:23:43	3353	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:43	3353	[DEBUG]	Manufacturer exists
2023-10-13	13:23:43	3353	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:43	3353	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:43	3353	[DEBUG]	Executed store
2023-10-13	13:23:43	3353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862845','32')
2023-10-13	13:23:43	3353	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:43	3353	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:43	3353	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862845 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:43	3353	[DEBUG]	Store custom available field
2023-10-13	13:23:43	3353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862845,3,'',1)
2023-10-13	13:23:43	3353	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:43	3353	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:43	3353	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862845 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:43	3353	[DEBUG]	Store custom available field
2023-10-13	13:23:43	3353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862845,6,'Unitaire',3)
2023-10-13	13:23:43	3353	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:44	3353	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:44	3353	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862844
2023-10-13	13:23:44	3353	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:44	3353	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862844\":[1862844,8,1,\"choisir la taille\"],\"1862845\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862844
2023-10-13	13:23:44	3353	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:44	3353	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862845
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:44	3354	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field taille
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:44	3354	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:44	3354	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:44	3354	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:44	3354	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:44	3354	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:44	3354	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field published
2023-10-13	13:23:44	3354	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:44	3354	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field override
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:44	3354	[DEBUG]	Use field value for field slug
2023-10-13	13:23:44	3354	[DEBUG]	Process line 3354
2023-10-13	13:23:44	3354	[DEBUG]	Load a row
2023-10-13	13:23:44	3354	[DEBUG]	Processing item: A_5501_7
2023-10-13	13:23:44	3354	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:44	3354	[DEBUG]	Processing product tax
2023-10-13	13:23:44	3354	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:44	3354	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:44	3354	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:44	3354	[DEBUG]	Query for Product
2023-10-13	13:23:44	3354	[DEBUG]	Executed store
2023-10-13	13:23:44	3354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5501_7','0.065','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:44	3354	[DEBUG]	Check product language entry
2023-10-13	13:23:44	3354	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862846
2023-10-13	13:23:44	3354	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:44	3354	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5501_7' AND `virtuemart_product_id` != 1862846
2023-10-13	13:23:44	3354	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:44	3354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862846, 'A_5501_7')
2023-10-13	13:23:44	3354	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:44	3354	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-arriere-50-lumens-msc-rouge' AND `virtuemart_product_id` != 1862846
2023-10-13	13:23:44	3354	[DEBUG]	Query for ProductLang
2023-10-13	13:23:44	3354	[DEBUG]	Executed store
2023-10-13	13:23:44	3354	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>ALUMINIO<br>32 g<br>*LED COB rouge forte et brillante<br><br>*Aluminium CNC avec traitement chaleur<br><br>*Mode fonction ménoire<br><br>*Batterie rechargeable au lithium (3.7V 500mAh)<br><br>*6 modes : Mode1/Mode2/Mode3/FL1/FL2/FL3<br><br>*Serrage rapide<br><br>*Temps de charge : 1-2h<br><br>*Indicateur de batterie : faible, en charge, charge terminée.<br><br>*Le système s\'éteint automatiquement lorsque la charge est terminée.<br><br>*Visibilité latérale<br><br>*Résistante à l\'eau (IPX4)<br><br>*Visibilité nocturne : 3km<br><br>* Visibilité diurne : 1.5km<br><br>N° art fourn : LIGHTDAYTONA',`product_name`='MSC Lumière arrière 50 Lumens MSC  / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-arriere-50-lumens-msc-rouge' WHERE `virtuemart_product_id` = '1862846'
2023-10-13	13:23:44	3354	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30004_lumiere_arriere_50_lumens_msc_.jpg
2023-10-13	13:23:44	3354	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:44	3354	[DEBUG]	Process image file
2023-10-13	13:23:44	3354	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:44	3354	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:44	3354	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30004_lumiere_arriere_50_lumens_msc_.jpg
2023-10-13	13:23:44	3354	[DEBUG]	Full name target: bcprisme/30004_lumiere_arriere_50_lumens_msc_.jpg
2023-10-13	13:23:45	3354	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:45	3354	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30004_lumiere_arriere_50_lumens_msc_.jpg'
2023-10-13	13:23:45	3354	[DEBUG]	Query for Media
2023-10-13	13:23:45	3354	[DEBUG]	Executed store
2023-10-13	13:23:45	3354	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30004_lumiere_arriere_50_lumens_msc_.jpg',`file_url_thumb`='bcprisme/30004_lumiere_arriere_50_lumens_msc_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13142'
2023-10-13	13:23:45	3354	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:45	3354	[DEBUG]	Executed store
2023-10-13	13:23:45	3354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862846','13142','1')
2023-10-13	13:23:45	3354	[DEBUG]	Store product image relation
2023-10-13	13:23:45	3354	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:45	3354	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862846 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:45	3354	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:45	3354	[DEBUG]	Executed store
2023-10-13	13:23:45	3354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862846','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:45	3354	[DEBUG]	Checking manufacturer
2023-10-13	13:23:45	3354	[DEBUG]	Load a row
2023-10-13	13:23:45	3354	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:45	3354	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:45	3354	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:45	3354	[DEBUG]	Executed store
2023-10-13	13:23:45	3354	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:45	3354	[DEBUG]	Manufacturer exists
2023-10-13	13:23:45	3354	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:45	3354	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:45	3354	[DEBUG]	Executed store
2023-10-13	13:23:45	3354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862846','32')
2023-10-13	13:23:45	3354	[DEBUG]	Find the custom field ID
2023-10-13	13:23:45	3354	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:45	3354	[DEBUG]	No custom field ID found
2023-10-13	13:23:45	3354	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:45	3354	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:23:45	3354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862846 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:45	3354	[DEBUG]	Store custom available field
2023-10-13	13:23:45	3354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862846,3,'21.8391666666667',1)
2023-10-13	13:23:45	3354	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:45	3354	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:45	3354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862846 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:45	3354	[DEBUG]	Store custom available field
2023-10-13	13:23:45	3354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862846,6,'choisir la taille',3)
2023-10-13	13:23:45	3354	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:45	3354	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:45	3354	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:45	3354	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:45	3354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862846 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:45	3354	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:45	3354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862846,8,1)
2023-10-13	13:23:45	3354	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:45	3354	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862846\":[1862846,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862846
2023-10-13	13:23:45	3354	[DEBUG]	Checking category
2023-10-13	13:23:45	3354	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:45	3354	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862846
2023-10-13	13:23:45	3354	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:45	3354	[DEBUG]	Executed store
2023-10-13	13:23:45	3354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862846','7375')
2023-10-13	13:23:45	3354	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:45	3354	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862846 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:45	3354	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:45	3354	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862846
2023-10-13	13:23:45	3355	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:45	3355	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:45	3355	[DEBUG]	Use field value for field taille
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:45	3355	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:45	3355	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:45	3355	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:45	3355	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:45	3355	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:45	3355	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:45	3355	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:45	3355	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:45	3355	[DEBUG]	Use field value for field published
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:45	3355	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field override
2023-10-13	13:23:45	3355	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:45	3355	[DEBUG]	Use field value for field slug
2023-10-13	13:23:45	3355	[DEBUG]	Process line 3355
2023-10-13	13:23:45	3355	[DEBUG]	Load a row
2023-10-13	13:23:45	3355	[DEBUG]	Processing item: 8435466214746
2023-10-13	13:23:45	3355	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:45	3355	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:45	3355	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5501_7'
2023-10-13	13:23:45	3355	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:45	3355	[DEBUG]	Processing product tax
2023-10-13	13:23:45	3355	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:45	3355	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:45	3355	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:45	3355	[DEBUG]	Query for Product
2023-10-13	13:23:45	3355	[DEBUG]	Executed store
2023-10-13	13:23:45	3355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862846','8435466214746','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:45	3355	[DEBUG]	No parent found
2023-10-13	13:23:45	3355	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862846 AND customfield_value = 'stockable'
2023-10-13	13:23:45	3355	[DEBUG]	Check product language entry
2023-10-13	13:23:45	3355	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862847
2023-10-13	13:23:45	3355	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:45	3355	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214746' AND `virtuemart_product_id` != 1862847
2023-10-13	13:23:45	3355	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:45	3355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862847, '8435466214746')
2023-10-13	13:23:45	3355	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:45	3355	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-arriere-50-lumens-msc-rouge-unitaire' AND `virtuemart_product_id` != 1862847
2023-10-13	13:23:45	3355	[DEBUG]	Query for ProductLang
2023-10-13	13:23:45	3355	[DEBUG]	Executed store
2023-10-13	13:23:45	3355	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière arrière 50 Lumens MSC  / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-arriere-50-lumens-msc-rouge-unitaire' WHERE `virtuemart_product_id` = '1862847'
2023-10-13	13:23:45	3355	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30004_lumiere_arriere_50_lumens_msc_.jpg
2023-10-13	13:23:45	3355	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:45	3355	[DEBUG]	Process image file
2023-10-13	13:23:45	3355	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:45	3355	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:45	3355	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30004_lumiere_arriere_50_lumens_msc_.jpg
2023-10-13	13:23:45	3355	[DEBUG]	Full name target: bcprisme/30004_lumiere_arriere_50_lumens_msc_.jpg
2023-10-13	13:23:46	3355	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:46	3355	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30004_lumiere_arriere_50_lumens_msc_.jpg'
2023-10-13	13:23:46	3355	[DEBUG]	Query for Media
2023-10-13	13:23:46	3355	[DEBUG]	Executed store
2023-10-13	13:23:46	3355	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30004_lumiere_arriere_50_lumens_msc_.jpg',`file_url_thumb`='bcprisme/30004_lumiere_arriere_50_lumens_msc_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13142'
2023-10-13	13:23:46	3355	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:46	3355	[DEBUG]	Executed store
2023-10-13	13:23:46	3355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862847','13142','1')
2023-10-13	13:23:46	3355	[DEBUG]	Store product image relation
2023-10-13	13:23:46	3355	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:46	3355	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862847 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:46	3355	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:46	3355	[DEBUG]	Executed store
2023-10-13	13:23:46	3355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862847','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:46	3355	[DEBUG]	Checking manufacturer
2023-10-13	13:23:46	3355	[DEBUG]	Load a row
2023-10-13	13:23:46	3355	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:46	3355	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:46	3355	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:46	3355	[DEBUG]	Executed store
2023-10-13	13:23:46	3355	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:46	3355	[DEBUG]	Manufacturer exists
2023-10-13	13:23:46	3355	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:46	3355	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:46	3355	[DEBUG]	Executed store
2023-10-13	13:23:46	3355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862847','32')
2023-10-13	13:23:46	3355	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:46	3355	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:46	3355	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862847 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:46	3355	[DEBUG]	Store custom available field
2023-10-13	13:23:46	3355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862847,3,'',1)
2023-10-13	13:23:46	3355	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:46	3355	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:46	3355	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862847 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:46	3355	[DEBUG]	Store custom available field
2023-10-13	13:23:46	3355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862847,6,'Unitaire',3)
2023-10-13	13:23:46	3355	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:46	3355	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:46	3355	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862846
2023-10-13	13:23:46	3355	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:46	3355	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862846\":[1862846,8,1,\"choisir la taille\"],\"1862847\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862846
2023-10-13	13:23:46	3355	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:46	3355	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862847
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:46	3356	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field taille
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:46	3356	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:46	3356	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:46	3356	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:46	3356	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:46	3356	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:46	3356	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field published
2023-10-13	13:23:46	3356	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:46	3356	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field override
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:46	3356	[DEBUG]	Use field value for field slug
2023-10-13	13:23:46	3356	[DEBUG]	Process line 3356
2023-10-13	13:23:46	3356	[DEBUG]	Load a row
2023-10-13	13:23:46	3356	[DEBUG]	Processing item: A_5502_7
2023-10-13	13:23:46	3356	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:46	3356	[DEBUG]	Processing product tax
2023-10-13	13:23:46	3356	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:46	3356	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:46	3356	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:46	3356	[DEBUG]	Query for Product
2023-10-13	13:23:46	3356	[DEBUG]	Executed store
2023-10-13	13:23:46	3356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5502_7','0.065','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:46	3356	[DEBUG]	Check product language entry
2023-10-13	13:23:46	3356	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862848
2023-10-13	13:23:46	3356	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:46	3356	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5502_7' AND `virtuemart_product_id` != 1862848
2023-10-13	13:23:46	3356	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:46	3356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862848, 'A_5502_7')
2023-10-13	13:23:46	3356	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:46	3356	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-arriere-80-lumens-msc-rouge' AND `virtuemart_product_id` != 1862848
2023-10-13	13:23:46	3356	[DEBUG]	Query for ProductLang
2023-10-13	13:23:46	3356	[DEBUG]	Executed store
2023-10-13	13:23:46	3356	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>ALUMINIO<br>42 g<br>CARACTÉRISTIQUES<br><br>- LED COB rouge forte et brillante<br><br>- Aluminium CNC avec traitement chaleur<br><br>- Mode fonction ménoire<br><br>- Batterie rechargeable au lithium (3.7V 800mAh)<br><br>- Mode flash diurne<br><br>- Mode économie d\'énergie.<br><br>- 4 modes fixes, 4 modes flash<br><br>- Serrage rapide universel<br><br>- ndicateur de batterie : faible, en charge, charge terminée.<br><br>- Le système s\'éteint automatiquement lorsque la charge est terminée.<br><br>- Visibilité latérale<br><br>- Temps de charge 2.5Hrs<br><br>- Résistante à l\'eau (IPX4)<br>N° art fourn : LIGHTTAILRD',`product_name`='MSC Lumière arrière 80 Lumens MSC   / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-arriere-80-lumens-msc-rouge' WHERE `virtuemart_product_id` = '1862848'
2023-10-13	13:23:46	3356	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30005_lumiere_arriere_80_lumens_msc__(copie).jpg
2023-10-13	13:23:46	3356	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:46	3356	[DEBUG]	Process image file
2023-10-13	13:23:46	3356	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:46	3356	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:46	3356	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30005_lumiere_arriere_80_lumens_msc__(copie).jpg
2023-10-13	13:23:46	3356	[DEBUG]	Full name target: bcprisme/30005_lumiere_arriere_80_lumens_msc__(copie).jpg
2023-10-13	13:23:47	3356	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:47	3356	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30005_lumiere_arriere_80_lumens_msc__(copie).jpg'
2023-10-13	13:23:47	3356	[DEBUG]	Query for Media
2023-10-13	13:23:47	3356	[DEBUG]	Executed store
2023-10-13	13:23:47	3356	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30005_lumiere_arriere_80_lumens_msc__(copie).jpg',`file_url_thumb`='bcprisme/30005_lumiere_arriere_80_lumens_msc__(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13143'
2023-10-13	13:23:47	3356	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:47	3356	[DEBUG]	Executed store
2023-10-13	13:23:47	3356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862848','13143','1')
2023-10-13	13:23:47	3356	[DEBUG]	Store product image relation
2023-10-13	13:23:47	3356	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:47	3356	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862848 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:47	3356	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:47	3356	[DEBUG]	Executed store
2023-10-13	13:23:47	3356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862848','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:47	3356	[DEBUG]	Checking manufacturer
2023-10-13	13:23:47	3356	[DEBUG]	Load a row
2023-10-13	13:23:47	3356	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:47	3356	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:47	3356	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:47	3356	[DEBUG]	Executed store
2023-10-13	13:23:47	3356	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:47	3356	[DEBUG]	Manufacturer exists
2023-10-13	13:23:47	3356	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:47	3356	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:47	3356	[DEBUG]	Executed store
2023-10-13	13:23:47	3356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862848','32')
2023-10-13	13:23:47	3356	[DEBUG]	Find the custom field ID
2023-10-13	13:23:47	3356	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:47	3356	[DEBUG]	No custom field ID found
2023-10-13	13:23:47	3356	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:47	3356	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:23:47	3356	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862848 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:47	3356	[DEBUG]	Store custom available field
2023-10-13	13:23:47	3356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862848,3,'21.8391666666667',1)
2023-10-13	13:23:47	3356	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:47	3356	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:47	3356	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862848 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:47	3356	[DEBUG]	Store custom available field
2023-10-13	13:23:47	3356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862848,6,'choisir la taille',3)
2023-10-13	13:23:47	3356	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:47	3356	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:47	3356	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:47	3356	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:47	3356	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862848 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:47	3356	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:47	3356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862848,8,1)
2023-10-13	13:23:47	3356	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:47	3356	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862848\":[1862848,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862848
2023-10-13	13:23:47	3356	[DEBUG]	Checking category
2023-10-13	13:23:47	3356	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:47	3356	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862848
2023-10-13	13:23:47	3356	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:47	3356	[DEBUG]	Executed store
2023-10-13	13:23:47	3356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862848','7375')
2023-10-13	13:23:47	3356	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:47	3356	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862848 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:47	3356	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:47	3356	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862848
2023-10-13	13:23:47	3357	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:47	3357	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:47	3357	[DEBUG]	Use field value for field taille
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:47	3357	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:47	3357	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:47	3357	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:47	3357	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:47	3357	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:47	3357	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:47	3357	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:47	3357	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:47	3357	[DEBUG]	Use field value for field published
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:47	3357	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field override
2023-10-13	13:23:47	3357	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:47	3357	[DEBUG]	Use field value for field slug
2023-10-13	13:23:47	3357	[DEBUG]	Process line 3357
2023-10-13	13:23:47	3357	[DEBUG]	Load a row
2023-10-13	13:23:47	3357	[DEBUG]	Processing item: 8435466214685
2023-10-13	13:23:47	3357	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:47	3357	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:47	3357	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5502_7'
2023-10-13	13:23:47	3357	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:47	3357	[DEBUG]	Processing product tax
2023-10-13	13:23:47	3357	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:47	3357	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:47	3357	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:47	3357	[DEBUG]	Query for Product
2023-10-13	13:23:47	3357	[DEBUG]	Executed store
2023-10-13	13:23:47	3357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862848','8435466214685','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:47	3357	[DEBUG]	No parent found
2023-10-13	13:23:47	3357	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862848 AND customfield_value = 'stockable'
2023-10-13	13:23:47	3357	[DEBUG]	Check product language entry
2023-10-13	13:23:47	3357	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862849
2023-10-13	13:23:47	3357	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:47	3357	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214685' AND `virtuemart_product_id` != 1862849
2023-10-13	13:23:47	3357	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:47	3357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862849, '8435466214685')
2023-10-13	13:23:47	3357	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:47	3357	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-arriere-80-lumens-msc-rouge-unitaire' AND `virtuemart_product_id` != 1862849
2023-10-13	13:23:47	3357	[DEBUG]	Query for ProductLang
2023-10-13	13:23:47	3357	[DEBUG]	Executed store
2023-10-13	13:23:47	3357	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière arrière 80 Lumens MSC   / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-arriere-80-lumens-msc-rouge-unitaire' WHERE `virtuemart_product_id` = '1862849'
2023-10-13	13:23:47	3357	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30005_lumiere_arriere_80_lumens_msc__(copie).jpg
2023-10-13	13:23:47	3357	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:47	3357	[DEBUG]	Process image file
2023-10-13	13:23:47	3357	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:47	3357	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:47	3357	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30005_lumiere_arriere_80_lumens_msc__(copie).jpg
2023-10-13	13:23:47	3357	[DEBUG]	Full name target: bcprisme/30005_lumiere_arriere_80_lumens_msc__(copie).jpg
2023-10-13	13:23:48	3357	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:48	3357	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30005_lumiere_arriere_80_lumens_msc__(copie).jpg'
2023-10-13	13:23:48	3357	[DEBUG]	Query for Media
2023-10-13	13:23:48	3357	[DEBUG]	Executed store
2023-10-13	13:23:48	3357	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30005_lumiere_arriere_80_lumens_msc__(copie).jpg',`file_url_thumb`='bcprisme/30005_lumiere_arriere_80_lumens_msc__(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13143'
2023-10-13	13:23:48	3357	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:48	3357	[DEBUG]	Executed store
2023-10-13	13:23:48	3357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862849','13143','1')
2023-10-13	13:23:48	3357	[DEBUG]	Store product image relation
2023-10-13	13:23:48	3357	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:48	3357	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862849 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:48	3357	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:48	3357	[DEBUG]	Executed store
2023-10-13	13:23:48	3357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862849','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:48	3357	[DEBUG]	Checking manufacturer
2023-10-13	13:23:48	3357	[DEBUG]	Load a row
2023-10-13	13:23:48	3357	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:48	3357	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:48	3357	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:48	3357	[DEBUG]	Executed store
2023-10-13	13:23:48	3357	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:48	3357	[DEBUG]	Manufacturer exists
2023-10-13	13:23:48	3357	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:48	3357	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:48	3357	[DEBUG]	Executed store
2023-10-13	13:23:48	3357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862849','32')
2023-10-13	13:23:48	3357	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:48	3357	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:48	3357	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862849 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:48	3357	[DEBUG]	Store custom available field
2023-10-13	13:23:48	3357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862849,3,'',1)
2023-10-13	13:23:48	3357	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:48	3357	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:48	3357	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862849 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:48	3357	[DEBUG]	Store custom available field
2023-10-13	13:23:48	3357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862849,6,'Unitaire',3)
2023-10-13	13:23:48	3357	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:48	3357	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:48	3357	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862848
2023-10-13	13:23:48	3357	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:48	3357	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862848\":[1862848,8,1,\"choisir la taille\"],\"1862849\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862848
2023-10-13	13:23:48	3357	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:48	3357	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862849
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:48	3358	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field taille
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:48	3358	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:48	3358	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:48	3358	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:48	3358	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:48	3358	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:48	3358	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field published
2023-10-13	13:23:48	3358	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:48	3358	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field override
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:48	3358	[DEBUG]	Use field value for field slug
2023-10-13	13:23:48	3358	[DEBUG]	Process line 3358
2023-10-13	13:23:48	3358	[DEBUG]	Load a row
2023-10-13	13:23:48	3358	[DEBUG]	Processing item: A_5503_7
2023-10-13	13:23:48	3358	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:48	3358	[DEBUG]	Processing product tax
2023-10-13	13:23:48	3358	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:48	3358	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:48	3358	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:48	3358	[DEBUG]	Query for Product
2023-10-13	13:23:48	3358	[DEBUG]	Executed store
2023-10-13	13:23:48	3358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5503_7','0.065','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:48	3358	[DEBUG]	Check product language entry
2023-10-13	13:23:48	3358	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862850
2023-10-13	13:23:48	3358	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:48	3358	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5503_7' AND `virtuemart_product_id` != 1862850
2023-10-13	13:23:48	3358	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:48	3358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862850, 'A_5503_7')
2023-10-13	13:23:48	3358	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:48	3358	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-arriere-80-lumens-msc-rouge' AND `virtuemart_product_id` != 1862850
2023-10-13	13:23:48	3358	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:23:48	3358	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-lumiere-arriere-80-lumens-msc-rouge', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-lumiere-arriere-80-lumens-msc-rouge' OR `slug` LIKE 'msc-lumiere-arriere-80-lumens-msc-rouge-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862850 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:23:48	3358	[DEBUG]	Query for ProductLang
2023-10-13	13:23:48	3358	[DEBUG]	Executed store
2023-10-13	13:23:48	3358	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>26.3 g<br>*LED CREE XP-E, éclairage rouge fort et brillant.<br><br>*Batterie rechargeable Lithium (3.7V 800mAh)<br><br>*USB<br><br>*3 modes : fort/moyen/flash/éteint<br><br>*Adapteur serrage rapide<br><br>*Résistant à l\'eau<br><br>*Visibilité nocturne : 4.4km<br><br>*Visibilité diurne : 2.2km<br>N° art fourn : LIGHTEYE',`product_name`='MSC Lumière arrière 80 Lumens MSC / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-arriere-80-lumens-msc-rouge-1' WHERE `virtuemart_product_id` = '1862850'
2023-10-13	13:23:48	3358	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30006_lumiere_arriere_80_lumens_msc.jpg
2023-10-13	13:23:48	3358	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:48	3358	[DEBUG]	Process image file
2023-10-13	13:23:48	3358	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:48	3358	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:48	3358	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30006_lumiere_arriere_80_lumens_msc.jpg
2023-10-13	13:23:48	3358	[DEBUG]	Full name target: bcprisme/30006_lumiere_arriere_80_lumens_msc.jpg
2023-10-13	13:23:49	3358	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:49	3358	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30006_lumiere_arriere_80_lumens_msc.jpg'
2023-10-13	13:23:49	3358	[DEBUG]	Query for Media
2023-10-13	13:23:49	3358	[DEBUG]	Executed store
2023-10-13	13:23:49	3358	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30006_lumiere_arriere_80_lumens_msc.jpg',`file_url_thumb`='bcprisme/30006_lumiere_arriere_80_lumens_msc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13144'
2023-10-13	13:23:49	3358	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:49	3358	[DEBUG]	Executed store
2023-10-13	13:23:49	3358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862850','13144','1')
2023-10-13	13:23:49	3358	[DEBUG]	Store product image relation
2023-10-13	13:23:49	3358	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:49	3358	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862850 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:49	3358	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:49	3358	[DEBUG]	Executed store
2023-10-13	13:23:49	3358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862850','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:49	3358	[DEBUG]	Checking manufacturer
2023-10-13	13:23:49	3358	[DEBUG]	Load a row
2023-10-13	13:23:49	3358	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:49	3358	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:49	3358	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:49	3358	[DEBUG]	Executed store
2023-10-13	13:23:49	3358	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:49	3358	[DEBUG]	Manufacturer exists
2023-10-13	13:23:49	3358	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:49	3358	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:49	3358	[DEBUG]	Executed store
2023-10-13	13:23:49	3358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862850','32')
2023-10-13	13:23:49	3358	[DEBUG]	Find the custom field ID
2023-10-13	13:23:49	3358	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:49	3358	[DEBUG]	No custom field ID found
2023-10-13	13:23:49	3358	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:49	3358	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:23:49	3358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862850 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:49	3358	[DEBUG]	Store custom available field
2023-10-13	13:23:49	3358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862850,3,'21.8391666666667',1)
2023-10-13	13:23:49	3358	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:49	3358	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:49	3358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862850 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:49	3358	[DEBUG]	Store custom available field
2023-10-13	13:23:49	3358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862850,6,'choisir la taille',3)
2023-10-13	13:23:49	3358	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:49	3358	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:49	3358	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:49	3358	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:49	3358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862850 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:49	3358	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:49	3358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862850,8,1)
2023-10-13	13:23:49	3358	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:49	3358	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862850\":[1862850,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862850
2023-10-13	13:23:49	3358	[DEBUG]	Checking category
2023-10-13	13:23:49	3358	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:49	3358	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862850
2023-10-13	13:23:49	3358	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:49	3358	[DEBUG]	Executed store
2023-10-13	13:23:49	3358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862850','7375')
2023-10-13	13:23:49	3358	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:49	3358	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862850 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:49	3358	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:49	3358	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862850
2023-10-13	13:23:49	3359	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:49	3359	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:49	3359	[DEBUG]	Use field value for field taille
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:49	3359	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:49	3359	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:49	3359	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:49	3359	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:49	3359	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:49	3359	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:49	3359	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:49	3359	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:49	3359	[DEBUG]	Use field value for field published
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:49	3359	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field override
2023-10-13	13:23:49	3359	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:49	3359	[DEBUG]	Use field value for field slug
2023-10-13	13:23:49	3359	[DEBUG]	Process line 3359
2023-10-13	13:23:49	3359	[DEBUG]	Load a row
2023-10-13	13:23:49	3359	[DEBUG]	Processing item: 8435466214708
2023-10-13	13:23:49	3359	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:49	3359	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:49	3359	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5503_7'
2023-10-13	13:23:49	3359	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:49	3359	[DEBUG]	Processing product tax
2023-10-13	13:23:49	3359	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:49	3359	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:49	3359	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:49	3359	[DEBUG]	Query for Product
2023-10-13	13:23:49	3359	[DEBUG]	Executed store
2023-10-13	13:23:49	3359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862850','8435466214708','0','KG','M','','14','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:49	3359	[DEBUG]	No parent found
2023-10-13	13:23:49	3359	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862850 AND customfield_value = 'stockable'
2023-10-13	13:23:49	3359	[DEBUG]	Check product language entry
2023-10-13	13:23:49	3359	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862851
2023-10-13	13:23:49	3359	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:49	3359	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214708' AND `virtuemart_product_id` != 1862851
2023-10-13	13:23:49	3359	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:49	3359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862851, '8435466214708')
2023-10-13	13:23:49	3359	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:49	3359	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-arriere-80-lumens-msc-rouge-unitaire' AND `virtuemart_product_id` != 1862851
2023-10-13	13:23:49	3359	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:23:49	3359	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'msc-lumiere-arriere-80-lumens-msc-rouge-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'msc-lumiere-arriere-80-lumens-msc-rouge-unitaire' OR `slug` LIKE 'msc-lumiere-arriere-80-lumens-msc-rouge-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1862851 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:23:49	3359	[DEBUG]	Query for ProductLang
2023-10-13	13:23:49	3359	[DEBUG]	Executed store
2023-10-13	13:23:49	3359	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière arrière 80 Lumens MSC / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-arriere-80-lumens-msc-rouge-unitaire-1' WHERE `virtuemart_product_id` = '1862851'
2023-10-13	13:23:49	3359	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30006_lumiere_arriere_80_lumens_msc.jpg
2023-10-13	13:23:49	3359	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:49	3359	[DEBUG]	Process image file
2023-10-13	13:23:49	3359	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:49	3359	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:49	3359	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30006_lumiere_arriere_80_lumens_msc.jpg
2023-10-13	13:23:49	3359	[DEBUG]	Full name target: bcprisme/30006_lumiere_arriere_80_lumens_msc.jpg
2023-10-13	13:23:50	3359	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:50	3359	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30006_lumiere_arriere_80_lumens_msc.jpg'
2023-10-13	13:23:50	3359	[DEBUG]	Query for Media
2023-10-13	13:23:50	3359	[DEBUG]	Executed store
2023-10-13	13:23:50	3359	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30006_lumiere_arriere_80_lumens_msc.jpg',`file_url_thumb`='bcprisme/30006_lumiere_arriere_80_lumens_msc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13144'
2023-10-13	13:23:50	3359	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:50	3359	[DEBUG]	Executed store
2023-10-13	13:23:50	3359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862851','13144','1')
2023-10-13	13:23:50	3359	[DEBUG]	Store product image relation
2023-10-13	13:23:50	3359	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:50	3359	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862851 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:50	3359	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:50	3359	[DEBUG]	Executed store
2023-10-13	13:23:50	3359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862851','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:50	3359	[DEBUG]	Checking manufacturer
2023-10-13	13:23:50	3359	[DEBUG]	Load a row
2023-10-13	13:23:50	3359	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:50	3359	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:50	3359	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:50	3359	[DEBUG]	Executed store
2023-10-13	13:23:50	3359	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:50	3359	[DEBUG]	Manufacturer exists
2023-10-13	13:23:50	3359	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:50	3359	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:50	3359	[DEBUG]	Executed store
2023-10-13	13:23:50	3359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862851','32')
2023-10-13	13:23:50	3359	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:50	3359	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:50	3359	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862851 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:50	3359	[DEBUG]	Store custom available field
2023-10-13	13:23:50	3359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862851,3,'',1)
2023-10-13	13:23:50	3359	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:50	3359	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:50	3359	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862851 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:50	3359	[DEBUG]	Store custom available field
2023-10-13	13:23:50	3359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862851,6,'Unitaire',3)
2023-10-13	13:23:50	3359	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:50	3359	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:50	3359	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862850
2023-10-13	13:23:50	3359	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:50	3359	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862850\":[1862850,8,1,\"choisir la taille\"],\"1862851\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862850
2023-10-13	13:23:50	3359	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:50	3359	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862851
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:50	3360	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field taille
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:50	3360	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:50	3360	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:50	3360	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:50	3360	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:50	3360	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:50	3360	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field published
2023-10-13	13:23:50	3360	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:50	3360	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field override
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:50	3360	[DEBUG]	Use field value for field slug
2023-10-13	13:23:50	3360	[DEBUG]	Process line 3360
2023-10-13	13:23:50	3360	[DEBUG]	Load a row
2023-10-13	13:23:50	3360	[DEBUG]	Processing item: A_5504_1
2023-10-13	13:23:50	3360	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:50	3360	[DEBUG]	Processing product tax
2023-10-13	13:23:50	3360	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:50	3360	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:50	3360	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:50	3360	[DEBUG]	Query for Product
2023-10-13	13:23:50	3360	[DEBUG]	Executed store
2023-10-13	13:23:50	3360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5504_1','0.065','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:50	3360	[DEBUG]	Check product language entry
2023-10-13	13:23:50	3360	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862852
2023-10-13	13:23:50	3360	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:50	3360	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5504_1' AND `virtuemart_product_id` != 1862852
2023-10-13	13:23:50	3360	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:50	3360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862852, 'A_5504_1')
2023-10-13	13:23:50	3360	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:50	3360	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-500-lumens-arriere-50-lumens-msc-noir' AND `virtuemart_product_id` != 1862852
2023-10-13	13:23:50	3360	[DEBUG]	Query for ProductLang
2023-10-13	13:23:50	3360	[DEBUG]	Executed store
2023-10-13	13:23:50	3360	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>ALUMINIO<br>115 g<br>AVANT (500LM) :<br><br>- LED CREE XP-G2<br><br>- Aluminium et plastique.<br><br>- Batterie rechargeable au lithium (3.7V 850 mAh)<br><br>- Adaptateur de serrage rapide universel<br><br>- Temps de charge 1-2.hrs<br><br><br>ARRIÈRE (50LM) :<br><br>- (30 chips) LED COB<br><br>- Aluminium avec traitement chaleur<br><br>- Mode fonction mémoire<br><br>- Batterie rechargeable au lithium (3.7V 500 mAh)<br><br>- 6 modes: Mode1 / Mode2 / Mode3 / FL1 / FL 2 / FL 3<br><br>- Attache rapide en gomme<br><br>- Temps de charge 1-2.hrs<br><br>- Indicateur batterie faible, en charge, charge terminée<br><br>- Le système s\'éteint automatiquement lorsque la charge est terminée.<br><br>- Visibilité latérale<br><br>- Resistante à l\'eau (IPX4)<br><br>- Distance visibilité nocturne : 3km<br><br>- Distance visibilité diurne : 1.5km<br>N° art fourn : LIGHTSETFR10',`product_name`='MSC Lumière avant 500 lumens + arrière 50 lumens MSC / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-500-lumens-arriere-50-lumens-msc-noir' WHERE `virtuemart_product_id` = '1862852'
2023-10-13	13:23:50	3360	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30007_lumiere_avant_500_lumens_+_arriere_50_lumens_msc.jpg
2023-10-13	13:23:50	3360	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:50	3360	[DEBUG]	Process image file
2023-10-13	13:23:50	3360	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:50	3360	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:50	3360	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30007_lumiere_avant_500_lumens_+_arriere_50_lumens_msc.jpg
2023-10-13	13:23:50	3360	[DEBUG]	Full name target: bcprisme/30007_lumiere_avant_500_lumens_+_arriere_50_lumens_msc.jpg
2023-10-13	13:23:51	3360	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:51	3360	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30007_lumiere_avant_500_lumens_+_arriere_50_lumens_msc.jpg'
2023-10-13	13:23:51	3360	[DEBUG]	Query for Media
2023-10-13	13:23:51	3360	[DEBUG]	Executed store
2023-10-13	13:23:51	3360	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30007_lumiere_avant_500_lumens_+_arriere_50_lumens_msc.jpg',`file_url_thumb`='bcprisme/30007_lumiere_avant_500_lumens_+_arriere_50_lumens_msc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13145'
2023-10-13	13:23:51	3360	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:51	3360	[DEBUG]	Executed store
2023-10-13	13:23:51	3360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862852','13145','1')
2023-10-13	13:23:51	3360	[DEBUG]	Store product image relation
2023-10-13	13:23:51	3360	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:51	3360	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862852 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:51	3360	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:51	3360	[DEBUG]	Executed store
2023-10-13	13:23:51	3360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862852','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:51	3360	[DEBUG]	Checking manufacturer
2023-10-13	13:23:51	3360	[DEBUG]	Load a row
2023-10-13	13:23:51	3360	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:51	3360	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:51	3360	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:51	3360	[DEBUG]	Executed store
2023-10-13	13:23:51	3360	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:51	3360	[DEBUG]	Manufacturer exists
2023-10-13	13:23:51	3360	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:51	3360	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:51	3360	[DEBUG]	Executed store
2023-10-13	13:23:51	3360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862852','32')
2023-10-13	13:23:51	3360	[DEBUG]	Find the custom field ID
2023-10-13	13:23:51	3360	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:51	3360	[DEBUG]	No custom field ID found
2023-10-13	13:23:51	3360	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:51	3360	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:23:51	3360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862852 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:51	3360	[DEBUG]	Store custom available field
2023-10-13	13:23:51	3360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862852,3,'21.8391666666667',1)
2023-10-13	13:23:51	3360	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:51	3360	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:51	3360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862852 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:51	3360	[DEBUG]	Store custom available field
2023-10-13	13:23:51	3360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862852,6,'choisir la taille',3)
2023-10-13	13:23:51	3360	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:51	3360	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:51	3360	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:51	3360	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:51	3360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862852 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:51	3360	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:51	3360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862852,8,1)
2023-10-13	13:23:51	3360	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:51	3360	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862852\":[1862852,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862852
2023-10-13	13:23:51	3360	[DEBUG]	Checking category
2023-10-13	13:23:51	3360	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:51	3360	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862852
2023-10-13	13:23:51	3360	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:51	3360	[DEBUG]	Executed store
2023-10-13	13:23:51	3360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862852','7375')
2023-10-13	13:23:51	3360	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:51	3360	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862852 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:51	3360	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:51	3360	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862852
2023-10-13	13:23:51	3361	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:51	3361	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:51	3361	[DEBUG]	Use field value for field taille
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:51	3361	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:51	3361	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:51	3361	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:51	3361	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:51	3361	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:51	3361	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:51	3361	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:51	3361	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:51	3361	[DEBUG]	Use field value for field published
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:51	3361	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field override
2023-10-13	13:23:51	3361	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:51	3361	[DEBUG]	Use field value for field slug
2023-10-13	13:23:51	3361	[DEBUG]	Process line 3361
2023-10-13	13:23:51	3361	[DEBUG]	Load a row
2023-10-13	13:23:51	3361	[DEBUG]	Processing item: 8435466214722
2023-10-13	13:23:51	3361	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:51	3361	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:51	3361	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5504_1'
2023-10-13	13:23:51	3361	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:51	3361	[DEBUG]	Processing product tax
2023-10-13	13:23:51	3361	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:51	3361	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:51	3361	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:51	3361	[DEBUG]	Query for Product
2023-10-13	13:23:51	3361	[DEBUG]	Executed store
2023-10-13	13:23:51	3361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862852','8435466214722','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:51	3361	[DEBUG]	No parent found
2023-10-13	13:23:51	3361	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862852 AND customfield_value = 'stockable'
2023-10-13	13:23:51	3361	[DEBUG]	Check product language entry
2023-10-13	13:23:51	3361	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862853
2023-10-13	13:23:51	3361	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:51	3361	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214722' AND `virtuemart_product_id` != 1862853
2023-10-13	13:23:51	3361	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:51	3361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862853, '8435466214722')
2023-10-13	13:23:51	3361	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:51	3361	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-500-lumens-arriere-50-lumens-msc-noir-unitaire' AND `virtuemart_product_id` != 1862853
2023-10-13	13:23:51	3361	[DEBUG]	Query for ProductLang
2023-10-13	13:23:51	3361	[DEBUG]	Executed store
2023-10-13	13:23:51	3361	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 500 lumens + arrière 50 lumens MSC / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-500-lumens-arriere-50-lumens-msc-noir-unitaire' WHERE `virtuemart_product_id` = '1862853'
2023-10-13	13:23:51	3361	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30007_lumiere_avant_500_lumens_+_arriere_50_lumens_msc.jpg
2023-10-13	13:23:51	3361	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:51	3361	[DEBUG]	Process image file
2023-10-13	13:23:51	3361	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:51	3361	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:51	3361	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30007_lumiere_avant_500_lumens_+_arriere_50_lumens_msc.jpg
2023-10-13	13:23:51	3361	[DEBUG]	Full name target: bcprisme/30007_lumiere_avant_500_lumens_+_arriere_50_lumens_msc.jpg
2023-10-13	13:23:52	3361	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:52	3361	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30007_lumiere_avant_500_lumens_+_arriere_50_lumens_msc.jpg'
2023-10-13	13:23:52	3361	[DEBUG]	Query for Media
2023-10-13	13:23:52	3361	[DEBUG]	Executed store
2023-10-13	13:23:52	3361	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30007_lumiere_avant_500_lumens_+_arriere_50_lumens_msc.jpg',`file_url_thumb`='bcprisme/30007_lumiere_avant_500_lumens_+_arriere_50_lumens_msc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13145'
2023-10-13	13:23:52	3361	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:52	3361	[DEBUG]	Executed store
2023-10-13	13:23:52	3361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862853','13145','1')
2023-10-13	13:23:52	3361	[DEBUG]	Store product image relation
2023-10-13	13:23:52	3361	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:52	3361	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862853 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:52	3361	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:52	3361	[DEBUG]	Executed store
2023-10-13	13:23:52	3361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862853','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:52	3361	[DEBUG]	Checking manufacturer
2023-10-13	13:23:52	3361	[DEBUG]	Load a row
2023-10-13	13:23:52	3361	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:52	3361	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:52	3361	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:52	3361	[DEBUG]	Executed store
2023-10-13	13:23:52	3361	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:52	3361	[DEBUG]	Manufacturer exists
2023-10-13	13:23:52	3361	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:52	3361	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:52	3361	[DEBUG]	Executed store
2023-10-13	13:23:52	3361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862853','32')
2023-10-13	13:23:52	3361	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:52	3361	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:52	3361	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862853 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:52	3361	[DEBUG]	Store custom available field
2023-10-13	13:23:52	3361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862853,3,'',1)
2023-10-13	13:23:52	3361	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:52	3361	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:52	3361	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862853 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:52	3361	[DEBUG]	Store custom available field
2023-10-13	13:23:52	3361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862853,6,'Unitaire',3)
2023-10-13	13:23:52	3361	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:52	3361	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:52	3361	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862852
2023-10-13	13:23:52	3361	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:52	3361	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862852\":[1862852,8,1,\"choisir la taille\"],\"1862853\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862852
2023-10-13	13:23:52	3361	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:52	3361	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862853
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:52	3362	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field taille
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:52	3362	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:52	3362	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:52	3362	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:52	3362	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:52	3362	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:52	3362	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field published
2023-10-13	13:23:52	3362	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:52	3362	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field override
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:52	3362	[DEBUG]	Use field value for field slug
2023-10-13	13:23:52	3362	[DEBUG]	Process line 3362
2023-10-13	13:23:52	3362	[DEBUG]	Load a row
2023-10-13	13:23:52	3362	[DEBUG]	Processing item: A_6480_1
2023-10-13	13:23:52	3362	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:52	3362	[DEBUG]	Processing product tax
2023-10-13	13:23:52	3362	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:52	3362	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:52	3362	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:52	3362	[DEBUG]	Query for Product
2023-10-13	13:23:52	3362	[DEBUG]	Executed store
2023-10-13	13:23:52	3362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6480_1','0.135','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:52	3362	[DEBUG]	Check product language entry
2023-10-13	13:23:52	3362	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862854
2023-10-13	13:23:52	3362	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:52	3362	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6480_1' AND `virtuemart_product_id` != 1862854
2023-10-13	13:23:52	3362	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:52	3362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862854, 'A_6480_1')
2023-10-13	13:23:52	3362	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:52	3362	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axa-lumiere-axa-blueline-50-eg-e-bike-noir' AND `virtuemart_product_id` != 1862854
2023-10-13	13:23:52	3362	[DEBUG]	Query for ProductLang
2023-10-13	13:23:52	3362	[DEBUG]	Executed store
2023-10-13	13:23:52	3362	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lumière 1000 Lumens MSC Lumens rechargeable : 1000 Autonomie: 2.5h pleine puissance, puissance moyenne 10h Poids: 135g Pile incluse : OUI Batterie voyant : OUI POIDS: 135 gr <br>  <br><br> <br><br><br><br><br>N° art fourn : 10.65778',`product_name`='AXA Lumière AXA Blueline 50 Eg E-bike / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axa-lumiere-axa-blueline-50-eg-e-bike-noir' WHERE `virtuemart_product_id` = '1862854'
2023-10-13	13:23:52	3362	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32362_lumiere_axa_blueline_50_eg_e-bike.jpg
2023-10-13	13:23:52	3362	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:52	3362	[DEBUG]	Process image file
2023-10-13	13:23:52	3362	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:52	3362	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:52	3362	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32362_lumiere_axa_blueline_50_eg_e-bike.jpg
2023-10-13	13:23:52	3362	[DEBUG]	Full name target: bcprisme/32362_lumiere_axa_blueline_50_eg_e-bike.jpg
2023-10-13	13:23:53	3362	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:53	3362	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32362_lumiere_axa_blueline_50_eg_e-bike.jpg'
2023-10-13	13:23:53	3362	[DEBUG]	Query for Media
2023-10-13	13:23:53	3362	[DEBUG]	Executed store
2023-10-13	13:23:53	3362	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32362_lumiere_axa_blueline_50_eg_e-bike.jpg',`file_url_thumb`='bcprisme/32362_lumiere_axa_blueline_50_eg_e-bike.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13146'
2023-10-13	13:23:53	3362	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:53	3362	[DEBUG]	Executed store
2023-10-13	13:23:53	3362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862854','13146','1')
2023-10-13	13:23:53	3362	[DEBUG]	Store product image relation
2023-10-13	13:23:53	3362	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:53	3362	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862854 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:53	3362	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:53	3362	[DEBUG]	Executed store
2023-10-13	13:23:53	3362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862854','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:53	3362	[DEBUG]	Checking manufacturer
2023-10-13	13:23:53	3362	[DEBUG]	Load a row
2023-10-13	13:23:53	3362	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:53	3362	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:23:53	3362	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:53	3362	[DEBUG]	Executed store
2023-10-13	13:23:53	3362	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33203411673' WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:23:53	3362	[DEBUG]	Manufacturer exists
2023-10-13	13:23:53	3362	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 195
2023-10-13	13:23:53	3362	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:53	3362	[DEBUG]	Executed store
2023-10-13	13:23:53	3362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862854','195')
2023-10-13	13:23:53	3362	[DEBUG]	Find the custom field ID
2023-10-13	13:23:53	3362	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:53	3362	[DEBUG]	No custom field ID found
2023-10-13	13:23:53	3362	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:53	3362	[DEBUG]	Get existing row with customfield value 159.455833333333
2023-10-13	13:23:53	3362	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862854 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:53	3362	[DEBUG]	Store custom available field
2023-10-13	13:23:53	3362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862854,3,'159.455833333333',1)
2023-10-13	13:23:53	3362	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:53	3362	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:53	3362	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862854 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:53	3362	[DEBUG]	Store custom available field
2023-10-13	13:23:53	3362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862854,6,'choisir la taille',3)
2023-10-13	13:23:53	3362	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:53	3362	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:53	3362	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:53	3362	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:53	3362	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862854 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:53	3362	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:53	3362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862854,8,1)
2023-10-13	13:23:53	3362	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:53	3362	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862854\":[1862854,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862854
2023-10-13	13:23:53	3362	[DEBUG]	Checking category
2023-10-13	13:23:53	3362	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:53	3362	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862854
2023-10-13	13:23:53	3362	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:53	3362	[DEBUG]	Executed store
2023-10-13	13:23:53	3362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862854','7375')
2023-10-13	13:23:53	3362	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:53	3362	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862854 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:53	3362	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:53	3362	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862854
2023-10-13	13:23:53	3363	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:53	3363	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:53	3363	[DEBUG]	Use field value for field taille
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:53	3363	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:53	3363	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:53	3363	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:53	3363	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:53	3363	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:53	3363	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:53	3363	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:53	3363	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:53	3363	[DEBUG]	Use field value for field published
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:53	3363	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field override
2023-10-13	13:23:53	3363	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:53	3363	[DEBUG]	Use field value for field slug
2023-10-13	13:23:53	3363	[DEBUG]	Process line 3363
2023-10-13	13:23:53	3363	[DEBUG]	Load a row
2023-10-13	13:23:53	3363	[DEBUG]	Processing item: 3379399395200
2023-10-13	13:23:53	3363	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:53	3363	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:53	3363	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6480_1'
2023-10-13	13:23:53	3363	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:53	3363	[DEBUG]	Processing product tax
2023-10-13	13:23:53	3363	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:53	3363	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:53	3363	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:53	3363	[DEBUG]	Query for Product
2023-10-13	13:23:53	3363	[DEBUG]	Executed store
2023-10-13	13:23:53	3363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862854','3379399395200','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:53	3363	[DEBUG]	No parent found
2023-10-13	13:23:53	3363	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862854 AND customfield_value = 'stockable'
2023-10-13	13:23:53	3363	[DEBUG]	Check product language entry
2023-10-13	13:23:53	3363	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862855
2023-10-13	13:23:53	3363	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:53	3363	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3379399395200' AND `virtuemart_product_id` != 1862855
2023-10-13	13:23:53	3363	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:53	3363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862855, '3379399395200')
2023-10-13	13:23:53	3363	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:53	3363	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axa-lumiere-axa-blueline-50-eg-e-bike-noir-unitaire' AND `virtuemart_product_id` != 1862855
2023-10-13	13:23:53	3363	[DEBUG]	Query for ProductLang
2023-10-13	13:23:53	3363	[DEBUG]	Executed store
2023-10-13	13:23:53	3363	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXA Lumière AXA Blueline 50 Eg E-bike / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axa-lumiere-axa-blueline-50-eg-e-bike-noir-unitaire' WHERE `virtuemart_product_id` = '1862855'
2023-10-13	13:23:53	3363	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32362_lumiere_axa_blueline_50_eg_e-bike.jpg
2023-10-13	13:23:53	3363	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:53	3363	[DEBUG]	Process image file
2023-10-13	13:23:53	3363	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:53	3363	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:53	3363	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32362_lumiere_axa_blueline_50_eg_e-bike.jpg
2023-10-13	13:23:53	3363	[DEBUG]	Full name target: bcprisme/32362_lumiere_axa_blueline_50_eg_e-bike.jpg
2023-10-13	13:23:54	3363	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:54	3363	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32362_lumiere_axa_blueline_50_eg_e-bike.jpg'
2023-10-13	13:23:54	3363	[DEBUG]	Query for Media
2023-10-13	13:23:54	3363	[DEBUG]	Executed store
2023-10-13	13:23:54	3363	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32362_lumiere_axa_blueline_50_eg_e-bike.jpg',`file_url_thumb`='bcprisme/32362_lumiere_axa_blueline_50_eg_e-bike.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13146'
2023-10-13	13:23:54	3363	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:54	3363	[DEBUG]	Executed store
2023-10-13	13:23:54	3363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862855','13146','1')
2023-10-13	13:23:54	3363	[DEBUG]	Store product image relation
2023-10-13	13:23:54	3363	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:54	3363	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862855 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:54	3363	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:54	3363	[DEBUG]	Executed store
2023-10-13	13:23:54	3363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862855','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:54	3363	[DEBUG]	Checking manufacturer
2023-10-13	13:23:54	3363	[DEBUG]	Load a row
2023-10-13	13:23:54	3363	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:54	3363	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:23:54	3363	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:54	3363	[DEBUG]	Executed store
2023-10-13	13:23:54	3363	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33203411673' WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:23:54	3363	[DEBUG]	Manufacturer exists
2023-10-13	13:23:54	3363	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 195
2023-10-13	13:23:54	3363	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:54	3363	[DEBUG]	Executed store
2023-10-13	13:23:54	3363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862855','195')
2023-10-13	13:23:54	3363	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:54	3363	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:54	3363	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862855 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:54	3363	[DEBUG]	Store custom available field
2023-10-13	13:23:54	3363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862855,3,'',1)
2023-10-13	13:23:54	3363	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:54	3363	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:54	3363	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862855 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:54	3363	[DEBUG]	Store custom available field
2023-10-13	13:23:54	3363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862855,6,'Unitaire',3)
2023-10-13	13:23:54	3363	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:54	3363	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:54	3363	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862854
2023-10-13	13:23:54	3363	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:54	3363	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862854\":[1862854,8,1,\"choisir la taille\"],\"1862855\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862854
2023-10-13	13:23:54	3363	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:54	3363	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862855
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:54	3364	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field taille
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:54	3364	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:54	3364	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:54	3364	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:54	3364	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:54	3364	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:54	3364	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field published
2023-10-13	13:23:54	3364	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:54	3364	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field override
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:54	3364	[DEBUG]	Use field value for field slug
2023-10-13	13:23:54	3364	[DEBUG]	Process line 3364
2023-10-13	13:23:54	3364	[DEBUG]	Load a row
2023-10-13	13:23:54	3364	[DEBUG]	Processing item: A_6481_3
2023-10-13	13:23:54	3364	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:54	3364	[DEBUG]	Processing product tax
2023-10-13	13:23:54	3364	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:54	3364	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:54	3364	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:54	3364	[DEBUG]	Query for Product
2023-10-13	13:23:54	3364	[DEBUG]	Executed store
2023-10-13	13:23:54	3364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6481_3','0.135','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:54	3364	[DEBUG]	Check product language entry
2023-10-13	13:23:54	3364	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862856
2023-10-13	13:23:54	3364	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:54	3364	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6481_3' AND `virtuemart_product_id` != 1862856
2023-10-13	13:23:54	3364	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:54	3364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862856, 'A_6481_3')
2023-10-13	13:23:54	3364	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:54	3364	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axa-lumiere-axa-compactline-35-e6-12-none' AND `virtuemart_product_id` != 1862856
2023-10-13	13:23:54	3364	[DEBUG]	Query for ProductLang
2023-10-13	13:23:54	3364	[DEBUG]	Executed store
2023-10-13	13:23:54	3364	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lumière 1000 Lumens MSC Lumens rechargeable : 1000 Autonomie: 2.5h pleine puissance, puissance moyenne 10h Poids: 135g Pile incluse : OUI Batterie voyant : OUI POIDS: 135 gr <br>  <br><br> <br><br><br><br><br>N° art fourn : 10.74510',`product_name`='AXA Lumière AXA Compactline 35 E6-12 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axa-lumiere-axa-compactline-35-e6-12-none' WHERE `virtuemart_product_id` = '1862856'
2023-10-13	13:23:54	3364	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32363_lumiere_axa_compactline_35_e6-12.jpg
2023-10-13	13:23:54	3364	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:54	3364	[DEBUG]	Process image file
2023-10-13	13:23:54	3364	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:54	3364	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:54	3364	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32363_lumiere_axa_compactline_35_e6-12.jpg
2023-10-13	13:23:54	3364	[DEBUG]	Full name target: bcprisme/32363_lumiere_axa_compactline_35_e6-12.jpg
2023-10-13	13:23:55	3364	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:55	3364	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32363_lumiere_axa_compactline_35_e6-12.jpg'
2023-10-13	13:23:55	3364	[DEBUG]	Query for Media
2023-10-13	13:23:55	3364	[DEBUG]	Executed store
2023-10-13	13:23:55	3364	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32363_lumiere_axa_compactline_35_e6-12.jpg',`file_url_thumb`='bcprisme/32363_lumiere_axa_compactline_35_e6-12.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13147'
2023-10-13	13:23:55	3364	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:55	3364	[DEBUG]	Executed store
2023-10-13	13:23:55	3364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862856','13147','1')
2023-10-13	13:23:55	3364	[DEBUG]	Store product image relation
2023-10-13	13:23:55	3364	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:55	3364	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862856 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:55	3364	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:55	3364	[DEBUG]	Executed store
2023-10-13	13:23:55	3364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862856','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:55	3364	[DEBUG]	Checking manufacturer
2023-10-13	13:23:55	3364	[DEBUG]	Load a row
2023-10-13	13:23:55	3364	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:55	3364	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:23:55	3364	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:55	3364	[DEBUG]	Executed store
2023-10-13	13:23:55	3364	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33203411673' WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:23:55	3364	[DEBUG]	Manufacturer exists
2023-10-13	13:23:55	3364	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 195
2023-10-13	13:23:55	3364	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:55	3364	[DEBUG]	Executed store
2023-10-13	13:23:55	3364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862856','195')
2023-10-13	13:23:55	3364	[DEBUG]	Find the custom field ID
2023-10-13	13:23:55	3364	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:55	3364	[DEBUG]	No custom field ID found
2023-10-13	13:23:55	3364	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:55	3364	[DEBUG]	Get existing row with customfield value 159.455833333333
2023-10-13	13:23:55	3364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862856 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:55	3364	[DEBUG]	Store custom available field
2023-10-13	13:23:55	3364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862856,3,'159.455833333333',1)
2023-10-13	13:23:55	3364	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:55	3364	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:55	3364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862856 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:55	3364	[DEBUG]	Store custom available field
2023-10-13	13:23:55	3364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862856,6,'choisir la taille',3)
2023-10-13	13:23:55	3364	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:55	3364	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:55	3364	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:56	3364	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:56	3364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862856 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:56	3364	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:56	3364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862856,8,1)
2023-10-13	13:23:56	3364	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:56	3364	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862856\":[1862856,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862856
2023-10-13	13:23:56	3364	[DEBUG]	Checking category
2023-10-13	13:23:56	3364	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:56	3364	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862856
2023-10-13	13:23:56	3364	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:56	3364	[DEBUG]	Executed store
2023-10-13	13:23:56	3364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862856','7375')
2023-10-13	13:23:56	3364	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:56	3364	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862856 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:56	3364	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:56	3364	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862856
2023-10-13	13:23:56	3365	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:56	3365	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:56	3365	[DEBUG]	Use field value for field taille
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:56	3365	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:56	3365	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:56	3365	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:56	3365	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:56	3365	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:56	3365	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:56	3365	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:56	3365	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:56	3365	[DEBUG]	Use field value for field published
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:56	3365	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field override
2023-10-13	13:23:56	3365	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:56	3365	[DEBUG]	Use field value for field slug
2023-10-13	13:23:56	3365	[DEBUG]	Process line 3365
2023-10-13	13:23:56	3365	[DEBUG]	Load a row
2023-10-13	13:23:56	3365	[DEBUG]	Processing item: 8713249266275
2023-10-13	13:23:56	3365	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:56	3365	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:56	3365	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6481_3'
2023-10-13	13:23:56	3365	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:56	3365	[DEBUG]	Processing product tax
2023-10-13	13:23:56	3365	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:56	3365	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:56	3365	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:56	3365	[DEBUG]	Query for Product
2023-10-13	13:23:56	3365	[DEBUG]	Executed store
2023-10-13	13:23:56	3365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862856','8713249266275','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:56	3365	[DEBUG]	No parent found
2023-10-13	13:23:56	3365	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862856 AND customfield_value = 'stockable'
2023-10-13	13:23:56	3365	[DEBUG]	Check product language entry
2023-10-13	13:23:56	3365	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862857
2023-10-13	13:23:56	3365	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:56	3365	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8713249266275' AND `virtuemart_product_id` != 1862857
2023-10-13	13:23:56	3365	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:56	3365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862857, '8713249266275')
2023-10-13	13:23:56	3365	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:56	3365	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axa-lumiere-axa-compactline-35-e6-12-none-unitaire' AND `virtuemart_product_id` != 1862857
2023-10-13	13:23:56	3365	[DEBUG]	Query for ProductLang
2023-10-13	13:23:56	3365	[DEBUG]	Executed store
2023-10-13	13:23:56	3365	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXA Lumière AXA Compactline 35 E6-12 / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axa-lumiere-axa-compactline-35-e6-12-none-unitaire' WHERE `virtuemart_product_id` = '1862857'
2023-10-13	13:23:56	3365	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32363_lumiere_axa_compactline_35_e6-12.jpg
2023-10-13	13:23:56	3365	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:56	3365	[DEBUG]	Process image file
2023-10-13	13:23:56	3365	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:56	3365	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:56	3365	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32363_lumiere_axa_compactline_35_e6-12.jpg
2023-10-13	13:23:56	3365	[DEBUG]	Full name target: bcprisme/32363_lumiere_axa_compactline_35_e6-12.jpg
2023-10-13	13:23:57	3365	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:57	3365	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32363_lumiere_axa_compactline_35_e6-12.jpg'
2023-10-13	13:23:57	3365	[DEBUG]	Query for Media
2023-10-13	13:23:57	3365	[DEBUG]	Executed store
2023-10-13	13:23:57	3365	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32363_lumiere_axa_compactline_35_e6-12.jpg',`file_url_thumb`='bcprisme/32363_lumiere_axa_compactline_35_e6-12.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13147'
2023-10-13	13:23:57	3365	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:57	3365	[DEBUG]	Executed store
2023-10-13	13:23:57	3365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862857','13147','1')
2023-10-13	13:23:57	3365	[DEBUG]	Store product image relation
2023-10-13	13:23:57	3365	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:57	3365	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862857 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:57	3365	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:57	3365	[DEBUG]	Executed store
2023-10-13	13:23:57	3365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862857','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:57	3365	[DEBUG]	Checking manufacturer
2023-10-13	13:23:57	3365	[DEBUG]	Load a row
2023-10-13	13:23:57	3365	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:57	3365	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:23:57	3365	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:57	3365	[DEBUG]	Executed store
2023-10-13	13:23:57	3365	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33203411673' WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:23:57	3365	[DEBUG]	Manufacturer exists
2023-10-13	13:23:57	3365	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 195
2023-10-13	13:23:57	3365	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:57	3365	[DEBUG]	Executed store
2023-10-13	13:23:57	3365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862857','195')
2023-10-13	13:23:57	3365	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:57	3365	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:57	3365	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862857 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:57	3365	[DEBUG]	Store custom available field
2023-10-13	13:23:57	3365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862857,3,'',1)
2023-10-13	13:23:57	3365	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:57	3365	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:57	3365	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862857 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:57	3365	[DEBUG]	Store custom available field
2023-10-13	13:23:57	3365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862857,6,'Unitaire',3)
2023-10-13	13:23:57	3365	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:57	3365	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:57	3365	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862856
2023-10-13	13:23:57	3365	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:57	3365	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862856\":[1862856,8,1,\"choisir la taille\"],\"1862857\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862856
2023-10-13	13:23:57	3365	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:57	3365	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862857
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:57	3366	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field taille
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:57	3366	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:57	3366	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:57	3366	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:57	3366	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:57	3366	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:57	3366	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field published
2023-10-13	13:23:57	3366	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:57	3366	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field override
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:57	3366	[DEBUG]	Use field value for field slug
2023-10-13	13:23:57	3366	[DEBUG]	Process line 3366
2023-10-13	13:23:57	3366	[DEBUG]	Load a row
2023-10-13	13:23:57	3366	[DEBUG]	Processing item: A_7244_1
2023-10-13	13:23:57	3366	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:57	3366	[DEBUG]	Processing product tax
2023-10-13	13:23:57	3366	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:57	3366	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:57	3366	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:57	3366	[DEBUG]	Query for Product
2023-10-13	13:23:57	3366	[DEBUG]	Executed store
2023-10-13	13:23:57	3366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7244_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:57	3366	[DEBUG]	Check product language entry
2023-10-13	13:23:57	3366	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862858
2023-10-13	13:23:57	3366	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:57	3366	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7244_1' AND `virtuemart_product_id` != 1862858
2023-10-13	13:23:57	3366	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:57	3366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862858, 'A_7244_1')
2023-10-13	13:23:57	3366	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:57	3366	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-1000-lumens-msc-rechargeable-usb-etanche-ip65-en-aluminuim-noir' AND `virtuemart_product_id` != 1862858
2023-10-13	13:23:57	3366	[DEBUG]	Query for ProductLang
2023-10-13	13:23:57	3366	[DEBUG]	Executed store
2023-10-13	13:23:57	3366	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lumières 100 Lumens rechargeable USB, 65 gr.<br>N° art fourn : Light1000BAT',`product_name`='MSC Lumière avant 1000 Lumens MSC rechargeable USB, étanche IP65 en aluminuim / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-1000-lumens-msc-rechargeable-usb-etanche-ip65-en-aluminuim-noir' WHERE `virtuemart_product_id` = '1862858'
2023-10-13	13:23:57	3366	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34428_lumiere_avant_1000_lumens_msc_rechargeable_usb.jpg
2023-10-13	13:23:57	3366	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:57	3366	[DEBUG]	Process image file
2023-10-13	13:23:57	3366	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:57	3366	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:57	3366	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34428_lumiere_avant_1000_lumens_msc_rechargeable_usb.jpg
2023-10-13	13:23:57	3366	[DEBUG]	Full name target: bcprisme/34428_lumiere_avant_1000_lumens_msc_rechargeable_usb.jpg
2023-10-13	13:23:58	3366	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:58	3366	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34428_lumiere_avant_1000_lumens_msc_rechargeable_usb.jpg'
2023-10-13	13:23:58	3366	[DEBUG]	Query for Media
2023-10-13	13:23:58	3366	[DEBUG]	Executed store
2023-10-13	13:23:58	3366	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34428_lumiere_avant_1000_lumens_msc_rechargeable_usb.jpg',`file_url_thumb`='bcprisme/34428_lumiere_avant_1000_lumens_msc_rechargeable_usb.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147183'
2023-10-13	13:23:58	3366	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:58	3366	[DEBUG]	Executed store
2023-10-13	13:23:58	3366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862858','147183','1')
2023-10-13	13:23:58	3366	[DEBUG]	Store product image relation
2023-10-13	13:23:58	3366	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:58	3366	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862858 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:58	3366	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:58	3366	[DEBUG]	Executed store
2023-10-13	13:23:58	3366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862858','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:58	3366	[DEBUG]	Checking manufacturer
2023-10-13	13:23:58	3366	[DEBUG]	Load a row
2023-10-13	13:23:58	3366	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:58	3366	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:58	3366	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:58	3366	[DEBUG]	Executed store
2023-10-13	13:23:58	3366	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:58	3366	[DEBUG]	Manufacturer exists
2023-10-13	13:23:58	3366	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:58	3366	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:58	3366	[DEBUG]	Executed store
2023-10-13	13:23:58	3366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862858','32')
2023-10-13	13:23:58	3366	[DEBUG]	Find the custom field ID
2023-10-13	13:23:58	3366	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:58	3366	[DEBUG]	No custom field ID found
2023-10-13	13:23:58	3366	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:58	3366	[DEBUG]	Get existing row with customfield value 24.8308333333333
2023-10-13	13:23:58	3366	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862858 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:58	3366	[DEBUG]	Store custom available field
2023-10-13	13:23:58	3366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862858,3,'24.8308333333333',1)
2023-10-13	13:23:58	3366	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:58	3366	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:58	3366	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862858 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:58	3366	[DEBUG]	Store custom available field
2023-10-13	13:23:58	3366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862858,6,'choisir la taille',3)
2023-10-13	13:23:58	3366	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:58	3366	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:58	3366	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:58	3366	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:58	3366	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862858 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:58	3366	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:58	3366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862858,8,1)
2023-10-13	13:23:58	3366	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:58	3366	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862858\":[1862858,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862858
2023-10-13	13:23:58	3366	[DEBUG]	Checking category
2023-10-13	13:23:58	3366	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:58	3366	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862858
2023-10-13	13:23:58	3366	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:58	3366	[DEBUG]	Executed store
2023-10-13	13:23:58	3366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862858','7375')
2023-10-13	13:23:58	3366	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:58	3366	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862858 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:58	3366	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:58	3366	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862858
2023-10-13	13:23:58	3367	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:58	3367	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:58	3367	[DEBUG]	Use field value for field taille
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:58	3367	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:58	3367	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:58	3367	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:58	3367	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:58	3367	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:58	3367	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:58	3367	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:58	3367	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:58	3367	[DEBUG]	Use field value for field published
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:58	3367	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field override
2023-10-13	13:23:58	3367	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:58	3367	[DEBUG]	Use field value for field slug
2023-10-13	13:23:58	3367	[DEBUG]	Process line 3367
2023-10-13	13:23:58	3367	[DEBUG]	Load a row
2023-10-13	13:23:58	3367	[DEBUG]	Processing item: 8435466216863
2023-10-13	13:23:58	3367	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:58	3367	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:58	3367	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7244_1'
2023-10-13	13:23:58	3367	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:58	3367	[DEBUG]	Processing product tax
2023-10-13	13:23:58	3367	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:58	3367	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:58	3367	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:58	3367	[DEBUG]	Query for Product
2023-10-13	13:23:58	3367	[DEBUG]	Executed store
2023-10-13	13:23:58	3367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862858','8435466216863','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:58	3367	[DEBUG]	No parent found
2023-10-13	13:23:58	3367	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862858 AND customfield_value = 'stockable'
2023-10-13	13:23:58	3367	[DEBUG]	Check product language entry
2023-10-13	13:23:58	3367	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862859
2023-10-13	13:23:58	3367	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:58	3367	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216863' AND `virtuemart_product_id` != 1862859
2023-10-13	13:23:58	3367	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:58	3367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862859, '8435466216863')
2023-10-13	13:23:58	3367	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:58	3367	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-1000-lumens-msc-rechargeable-usb-etanche-ip65-en-aluminuim-noir-unitaire' AND `virtuemart_product_id` != 1862859
2023-10-13	13:23:58	3367	[DEBUG]	Query for ProductLang
2023-10-13	13:23:58	3367	[DEBUG]	Executed store
2023-10-13	13:23:58	3367	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 1000 Lumens MSC rechargeable USB, étanche IP65 en aluminuim / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-1000-lumens-msc-rechargeable-usb-etanche-ip65-en-aluminuim-noir-unitaire' WHERE `virtuemart_product_id` = '1862859'
2023-10-13	13:23:58	3367	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34428_lumiere_avant_1000_lumens_msc_rechargeable_usb.jpg
2023-10-13	13:23:58	3367	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:58	3367	[DEBUG]	Process image file
2023-10-13	13:23:58	3367	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:23:58	3367	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:23:58	3367	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34428_lumiere_avant_1000_lumens_msc_rechargeable_usb.jpg
2023-10-13	13:23:58	3367	[DEBUG]	Full name target: bcprisme/34428_lumiere_avant_1000_lumens_msc_rechargeable_usb.jpg
2023-10-13	13:23:59	3367	[DEBUG]	Checking if the file_url exists
2023-10-13	13:23:59	3367	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34428_lumiere_avant_1000_lumens_msc_rechargeable_usb.jpg'
2023-10-13	13:23:59	3367	[DEBUG]	Query for Media
2023-10-13	13:23:59	3367	[DEBUG]	Executed store
2023-10-13	13:23:59	3367	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34428_lumiere_avant_1000_lumens_msc_rechargeable_usb.jpg',`file_url_thumb`='bcprisme/34428_lumiere_avant_1000_lumens_msc_rechargeable_usb.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147183'
2023-10-13	13:23:59	3367	[DEBUG]	Query for ProductMedia
2023-10-13	13:23:59	3367	[DEBUG]	Executed store
2023-10-13	13:23:59	3367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862859','147183','1')
2023-10-13	13:23:59	3367	[DEBUG]	Store product image relation
2023-10-13	13:23:59	3367	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:59	3367	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862859 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:59	3367	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:59	3367	[DEBUG]	Executed store
2023-10-13	13:23:59	3367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862859','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:59	3367	[DEBUG]	Checking manufacturer
2023-10-13	13:23:59	3367	[DEBUG]	Load a row
2023-10-13	13:23:59	3367	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:59	3367	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:59	3367	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:59	3367	[DEBUG]	Executed store
2023-10-13	13:23:59	3367	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:23:59	3367	[DEBUG]	Manufacturer exists
2023-10-13	13:23:59	3367	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:23:59	3367	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:59	3367	[DEBUG]	Executed store
2023-10-13	13:23:59	3367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862859','32')
2023-10-13	13:23:59	3367	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:59	3367	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:59	3367	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862859 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:59	3367	[DEBUG]	Store custom available field
2023-10-13	13:23:59	3367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862859,3,'',1)
2023-10-13	13:23:59	3367	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:59	3367	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:59	3367	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862859 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:59	3367	[DEBUG]	Store custom available field
2023-10-13	13:23:59	3367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862859,6,'Unitaire',3)
2023-10-13	13:23:59	3367	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:59	3367	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:59	3367	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862858
2023-10-13	13:23:59	3367	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:59	3367	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862858\":[1862858,8,1,\"choisir la taille\"],\"1862859\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862858
2023-10-13	13:23:59	3367	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:59	3367	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862859
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:59	3368	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field taille
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:59	3368	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:59	3368	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:59	3368	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:59	3368	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:59	3368	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:59	3368	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field published
2023-10-13	13:23:59	3368	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:59	3368	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field override
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:59	3368	[DEBUG]	Use field value for field slug
2023-10-13	13:23:59	3368	[DEBUG]	Process line 3368
2023-10-13	13:23:59	3368	[DEBUG]	Load a row
2023-10-13	13:23:59	3368	[DEBUG]	Processing item: A_7246_1
2023-10-13	13:23:59	3368	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:59	3368	[DEBUG]	Processing product tax
2023-10-13	13:23:59	3368	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:59	3368	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:59	3368	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:59	3368	[DEBUG]	Query for Product
2023-10-13	13:23:59	3368	[DEBUG]	Executed store
2023-10-13	13:23:59	3368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7246_1','0.068','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:59	3368	[DEBUG]	Check product language entry
2023-10-13	13:23:59	3368	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862860
2023-10-13	13:23:59	3368	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:59	3368	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7246_1' AND `virtuemart_product_id` != 1862860
2023-10-13	13:23:59	3368	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:59	3368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862860, 'A_7246_1')
2023-10-13	13:23:59	3368	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:59	3368	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-lumiere-60-lumens-arriere-usb-noir' AND `virtuemart_product_id` != 1862860
2023-10-13	13:23:59	3368	[DEBUG]	Query for ProductLang
2023-10-13	13:23:59	3368	[DEBUG]	Executed store
2023-10-13	13:23:59	3368	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>65 g<br>- LED COB, 60 lumens , avec autonomie de plus de 2 heures en puissance max, et 4h30 en puissance moyenne.<br><br>- 2 positions (constante et intermitante) avec différends modes d\'intensités.<br><br>- Fonccione avec batterie interne de 500 mah<br><br>- chargeur USB<br><br>- Attache en gomme<br><br>N° art fourn : LIGHT60R',`product_name`='MLV-Bike Lumiere 60 lumens arrière, USB / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-lumiere-60-lumens-arriere-usb-noir' WHERE `virtuemart_product_id` = '1862860'
2023-10-13	13:23:59	3368	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34430_lumiere_60_lumens_arriere,_usb.jpg has not been found.
2023-10-13	13:23:59	3368	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:59	3368	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862860 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:59	3368	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:59	3368	[DEBUG]	Executed store
2023-10-13	13:23:59	3368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862860','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:59	3368	[DEBUG]	Checking manufacturer
2023-10-13	13:23:59	3368	[DEBUG]	Load a row
2023-10-13	13:23:59	3368	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:59	3368	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:23:59	3368	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:59	3368	[DEBUG]	Executed store
2023-10-13	13:23:59	3368	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:23:59	3368	[DEBUG]	Manufacturer exists
2023-10-13	13:23:59	3368	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:23:59	3368	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:59	3368	[DEBUG]	Executed store
2023-10-13	13:23:59	3368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862860','2')
2023-10-13	13:23:59	3368	[DEBUG]	Find the custom field ID
2023-10-13	13:23:59	3368	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:59	3368	[DEBUG]	No custom field ID found
2023-10-13	13:23:59	3368	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:59	3368	[DEBUG]	Get existing row with customfield value 22.8363888888889
2023-10-13	13:23:59	3368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862860 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:59	3368	[DEBUG]	Store custom available field
2023-10-13	13:23:59	3368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862860,3,'22.8363888888889',1)
2023-10-13	13:23:59	3368	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:59	3368	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:59	3368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862860 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:59	3368	[DEBUG]	Store custom available field
2023-10-13	13:23:59	3368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862860,6,'choisir la taille',3)
2023-10-13	13:23:59	3368	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:59	3368	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:59	3368	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:59	3368	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:59	3368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862860 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:59	3368	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:59	3368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862860,8,1)
2023-10-13	13:23:59	3368	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:59	3368	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862860\":[1862860,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862860
2023-10-13	13:23:59	3368	[DEBUG]	Checking category
2023-10-13	13:23:59	3368	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:59	3368	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862860
2023-10-13	13:23:59	3368	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:59	3368	[DEBUG]	Executed store
2023-10-13	13:23:59	3368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862860','7375')
2023-10-13	13:23:59	3368	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:59	3368	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862860 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:59	3368	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:59	3368	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862860
2023-10-13	13:23:59	3369	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:59	3369	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:59	3369	[DEBUG]	Use field value for field taille
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:59	3369	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:59	3369	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:59	3369	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:59	3369	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:59	3369	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:59	3369	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:59	3369	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:59	3369	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:59	3369	[DEBUG]	Use field value for field published
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:59	3369	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field override
2023-10-13	13:23:59	3369	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:59	3369	[DEBUG]	Use field value for field slug
2023-10-13	13:23:59	3369	[DEBUG]	Process line 3369
2023-10-13	13:23:59	3369	[DEBUG]	Load a row
2023-10-13	13:23:59	3369	[DEBUG]	Processing item: 8435466216832
2023-10-13	13:23:59	3369	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:59	3369	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:59	3369	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7246_1'
2023-10-13	13:23:59	3369	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:59	3369	[DEBUG]	Processing product tax
2023-10-13	13:23:59	3369	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:59	3369	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:59	3369	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:59	3369	[DEBUG]	Query for Product
2023-10-13	13:23:59	3369	[DEBUG]	Executed store
2023-10-13	13:23:59	3369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862860','8435466216832','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:59	3369	[DEBUG]	No parent found
2023-10-13	13:23:59	3369	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862860 AND customfield_value = 'stockable'
2023-10-13	13:23:59	3369	[DEBUG]	Check product language entry
2023-10-13	13:23:59	3369	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862861
2023-10-13	13:23:59	3369	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:59	3369	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216832' AND `virtuemart_product_id` != 1862861
2023-10-13	13:23:59	3369	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:59	3369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862861, '8435466216832')
2023-10-13	13:23:59	3369	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:59	3369	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-lumiere-60-lumens-arriere-usb-noir-unitaire' AND `virtuemart_product_id` != 1862861
2023-10-13	13:23:59	3369	[DEBUG]	Query for ProductLang
2023-10-13	13:23:59	3369	[DEBUG]	Executed store
2023-10-13	13:23:59	3369	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Lumiere 60 lumens arrière, USB / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-lumiere-60-lumens-arriere-usb-noir-unitaire' WHERE `virtuemart_product_id` = '1862861'
2023-10-13	13:23:59	3369	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34430_lumiere_60_lumens_arriere,_usb.jpg has not been found.
2023-10-13	13:23:59	3369	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:59	3369	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862861 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:59	3369	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:59	3369	[DEBUG]	Executed store
2023-10-13	13:23:59	3369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862861','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:59	3369	[DEBUG]	Checking manufacturer
2023-10-13	13:23:59	3369	[DEBUG]	Load a row
2023-10-13	13:23:59	3369	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:59	3369	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:23:59	3369	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:59	3369	[DEBUG]	Executed store
2023-10-13	13:23:59	3369	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:23:59	3369	[DEBUG]	Manufacturer exists
2023-10-13	13:23:59	3369	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:23:59	3369	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:59	3369	[DEBUG]	Executed store
2023-10-13	13:23:59	3369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862861','2')
2023-10-13	13:23:59	3369	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:59	3369	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:59	3369	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862861 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:59	3369	[DEBUG]	Store custom available field
2023-10-13	13:23:59	3369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862861,3,'',1)
2023-10-13	13:23:59	3369	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:59	3369	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:59	3369	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862861 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:59	3369	[DEBUG]	Store custom available field
2023-10-13	13:23:59	3369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862861,6,'Unitaire',3)
2023-10-13	13:23:59	3369	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:59	3369	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:59	3369	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862860
2023-10-13	13:23:59	3369	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:59	3369	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862860\":[1862860,8,1,\"choisir la taille\"],\"1862861\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862860
2023-10-13	13:23:59	3369	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:59	3369	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862861
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:59	3370	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field taille
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:59	3370	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:59	3370	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:59	3370	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:59	3370	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:59	3370	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:59	3370	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field published
2023-10-13	13:23:59	3370	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:59	3370	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field override
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:59	3370	[DEBUG]	Use field value for field slug
2023-10-13	13:23:59	3370	[DEBUG]	Process line 3370
2023-10-13	13:23:59	3370	[DEBUG]	Load a row
2023-10-13	13:23:59	3370	[DEBUG]	Processing item: A_7598_1
2023-10-13	13:23:59	3370	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:59	3370	[DEBUG]	Processing product tax
2023-10-13	13:23:59	3370	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:59	3370	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:59	3370	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:59	3370	[DEBUG]	Query for Product
2023-10-13	13:23:59	3370	[DEBUG]	Executed store
2023-10-13	13:23:59	3370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7598_1','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:59	3370	[DEBUG]	Check product language entry
2023-10-13	13:23:59	3370	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862862
2023-10-13	13:23:59	3370	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:59	3370	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7598_1' AND `virtuemart_product_id` != 1862862
2023-10-13	13:23:59	3370	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:59	3370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862862, 'A_7598_1')
2023-10-13	13:23:59	3370	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:59	3370	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-handlerdisplay-inkl-6-lampes-noir' AND `virtuemart_product_id` != 1862862
2023-10-13	13:23:59	3370	[DEBUG]	Query for ProductLang
2023-10-13	13:23:59	3370	[DEBUG]	Executed store
2023-10-13	13:23:59	3370	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 990.001.030',`product_name`='SUPERNOVA Handlerdisplay inkl. 6 lampes / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-handlerdisplay-inkl-6-lampes-noir' WHERE `virtuemart_product_id` = '1862862'
2023-10-13	13:23:59	3370	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35049_supernova_handlerdisplay_inkl__6_lampes.jpg has not been found.
2023-10-13	13:23:59	3370	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:59	3370	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862862 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` IS NULL AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:59	3370	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:59	3370	[DEBUG]	Executed store
2023-10-13	13:23:59	3370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862862','0','0','0','3631','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:59	3370	[DEBUG]	Checking manufacturer
2023-10-13	13:23:59	3370	[DEBUG]	Load a row
2023-10-13	13:23:59	3370	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:59	3370	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:23:59	3370	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:59	3370	[DEBUG]	Executed store
2023-10-13	13:23:59	3370	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:23:59	3370	[DEBUG]	Manufacturer exists
2023-10-13	13:23:59	3370	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:23:59	3370	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:59	3370	[DEBUG]	Executed store
2023-10-13	13:23:59	3370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862862','242')
2023-10-13	13:23:59	3370	[DEBUG]	Find the custom field ID
2023-10-13	13:23:59	3370	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:23:59	3370	[DEBUG]	No custom field ID found
2023-10-13	13:23:59	3370	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:59	3370	[DEBUG]	Get existing row with customfield value 5.88361111111111
2023-10-13	13:23:59	3370	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862862 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:59	3370	[DEBUG]	Store custom available field
2023-10-13	13:23:59	3370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862862,3,'5.88361111111111',1)
2023-10-13	13:23:59	3370	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:59	3370	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:23:59	3370	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862862 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:59	3370	[DEBUG]	Store custom available field
2023-10-13	13:23:59	3370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862862,6,'choisir la taille',3)
2023-10-13	13:23:59	3370	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:59	3370	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:23:59	3370	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:23:59	3370	[DEBUG]	Find the multi variant product entry
2023-10-13	13:23:59	3370	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862862 AND `virtuemart_custom_id` = 8
2023-10-13	13:23:59	3370	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:23:59	3370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862862,8,1)
2023-10-13	13:23:59	3370	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:59	3370	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862862\":[1862862,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862862
2023-10-13	13:23:59	3370	[DEBUG]	Checking category
2023-10-13	13:23:59	3370	[DEBUG]	Get the existing categories for the product
2023-10-13	13:23:59	3370	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862862
2023-10-13	13:23:59	3370	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:23:59	3370	[DEBUG]	Executed store
2023-10-13	13:23:59	3370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862862','7375')
2023-10-13	13:23:59	3370	[DEBUG]	Delete leftover product categories
2023-10-13	13:23:59	3370	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862862 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:23:59	3370	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:59	3370	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862862
2023-10-13	13:23:59	3371	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:59	3371	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:23:59	3371	[DEBUG]	Use field value for field taille
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:23:59	3371	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field category_path
2023-10-13	13:23:59	3371	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:59	3371	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:59	3371	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:59	3371	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:23:59	3371	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field product_weight
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:59	3371	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:59	3371	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:59	3371	[DEBUG]	Use field value for field published
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field custom_title
2023-10-13	13:23:59	3371	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field custom_param
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field override
2023-10-13	13:23:59	3371	[DEBUG]	Use default value for field public_price
2023-10-13	13:23:59	3371	[DEBUG]	Use field value for field slug
2023-10-13	13:23:59	3371	[DEBUG]	Process line 3371
2023-10-13	13:23:59	3371	[DEBUG]	Load a row
2023-10-13	13:23:59	3371	[DEBUG]	Processing item: 1000000130980
2023-10-13	13:23:59	3371	[DEBUG]	Looking for parent SKU
2023-10-13	13:23:59	3371	[DEBUG]	Checking product parent SKU
2023-10-13	13:23:59	3371	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7598_1'
2023-10-13	13:23:59	3371	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:59	3371	[DEBUG]	Processing product tax
2023-10-13	13:23:59	3371	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:59	3371	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:59	3371	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:59	3371	[DEBUG]	Query for Product
2023-10-13	13:23:59	3371	[DEBUG]	Executed store
2023-10-13	13:23:59	3371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862862','1000000130980','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:59	3371	[DEBUG]	No parent found
2023-10-13	13:23:59	3371	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862862 AND customfield_value = 'stockable'
2023-10-13	13:23:59	3371	[DEBUG]	Check product language entry
2023-10-13	13:23:59	3371	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862863
2023-10-13	13:23:59	3371	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:59	3371	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000130980' AND `virtuemart_product_id` != 1862863
2023-10-13	13:23:59	3371	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:59	3371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862863, '1000000130980')
2023-10-13	13:23:59	3371	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:59	3371	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-handlerdisplay-inkl-6-lampes-noir-unitaire' AND `virtuemart_product_id` != 1862863
2023-10-13	13:23:59	3371	[DEBUG]	Query for ProductLang
2023-10-13	13:23:59	3371	[DEBUG]	Executed store
2023-10-13	13:23:59	3371	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Handlerdisplay inkl. 6 lampes / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-handlerdisplay-inkl-6-lampes-noir-unitaire' WHERE `virtuemart_product_id` = '1862863'
2023-10-13	13:23:59	3371	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35049_supernova_handlerdisplay_inkl__6_lampes.jpg has not been found.
2023-10-13	13:23:59	3371	[DEBUG]	Finding a product_price_id
2023-10-13	13:23:59	3371	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862863 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` IS NULL AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:23:59	3371	[DEBUG]	Query for ProductPrice
2023-10-13	13:23:59	3371	[DEBUG]	Executed store
2023-10-13	13:23:59	3371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862863','0','0','0','3631','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:23:59	3371	[DEBUG]	Checking manufacturer
2023-10-13	13:23:59	3371	[DEBUG]	Load a row
2023-10-13	13:23:59	3371	[DEBUG]	Manufacturer already exists
2023-10-13	13:23:59	3371	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:23:59	3371	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:23:59	3371	[DEBUG]	Executed store
2023-10-13	13:23:59	3371	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:23:59	3371	[DEBUG]	Manufacturer exists
2023-10-13	13:23:59	3371	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:23:59	3371	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:23:59	3371	[DEBUG]	Executed store
2023-10-13	13:23:59	3371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862863','242')
2023-10-13	13:23:59	3371	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:23:59	3371	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:23:59	3371	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862863 AND `virtuemart_custom_id` = 3
2023-10-13	13:23:59	3371	[DEBUG]	Store custom available field
2023-10-13	13:23:59	3371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862863,3,'',1)
2023-10-13	13:23:59	3371	[DEBUG]	Processing custom available field: taille
2023-10-13	13:23:59	3371	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:23:59	3371	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862863 AND `virtuemart_custom_id` = 6
2023-10-13	13:23:59	3371	[DEBUG]	Store custom available field
2023-10-13	13:23:59	3371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862863,6,'Unitaire',3)
2023-10-13	13:23:59	3371	[DEBUG]	Process multi-variant fields
2023-10-13	13:23:59	3371	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:23:59	3371	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862862
2023-10-13	13:23:59	3371	[DEBUG]	Store the updated customfield_params
2023-10-13	13:23:59	3371	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862862\":[1862862,8,1,\"choisir la taille\"],\"1862863\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862862
2023-10-13	13:23:59	3371	[DEBUG]	Update has fields after all processing
2023-10-13	13:23:59	3371	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862863
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field product_sku
2023-10-13	13:23:59	3372	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field taille
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field product_name
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field category_path
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field product_price
2023-10-13	13:23:59	3372	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field product_tax
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field file_url
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:23:59	3372	[DEBUG]	Use default value for field product_desc
2023-10-13	13:23:59	3372	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field product_availability
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field product_weight
2023-10-13	13:23:59	3372	[DEBUG]	Use default value for field product_unit
2023-10-13	13:23:59	3372	[DEBUG]	Use default value for field related_products
2023-10-13	13:23:59	3372	[DEBUG]	Use default value for field product_special
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field published
2023-10-13	13:23:59	3372	[DEBUG]	Use default value for field metadesc
2023-10-13	13:23:59	3372	[DEBUG]	Use default value for field metakey
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field custom_title
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field custom_value
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field custom_param
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field override
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field public_price
2023-10-13	13:23:59	3372	[DEBUG]	Use field value for field slug
2023-10-13	13:23:59	3372	[DEBUG]	Process line 3372
2023-10-13	13:23:59	3372	[DEBUG]	Load a row
2023-10-13	13:23:59	3372	[DEBUG]	Processing item: A_7601_1
2023-10-13	13:23:59	3372	[DEBUG]	Product tax: 7.7
2023-10-13	13:23:59	3372	[DEBUG]	Processing product tax
2023-10-13	13:23:59	3372	[DEBUG]	Check if calculation rule exists
2023-10-13	13:23:59	3372	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:23:59	3372	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:23:59	3372	[DEBUG]	Query for Product
2023-10-13	13:23:59	3372	[DEBUG]	Executed store
2023-10-13	13:23:59	3372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7601_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:23:59	3372	[DEBUG]	Check product language entry
2023-10-13	13:23:59	3372	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862864
2023-10-13	13:23:59	3372	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:59	3372	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7601_1' AND `virtuemart_product_id` != 1862864
2023-10-13	13:23:59	3372	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:23:59	3372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862864, 'A_7601_1')
2023-10-13	13:23:59	3372	[DEBUG]	Check if the product slug exists
2023-10-13	13:23:59	3372	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-e-bike-m99-mini-pro25-noir' AND `virtuemart_product_id` != 1862864
2023-10-13	13:23:59	3372	[DEBUG]	Query for ProductLang
2023-10-13	13:23:59	3372	[DEBUG]	Executed store
2023-10-13	13:23:59	3372	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Avec le Mini Pro de Supernova, tu peux monter un éclairage révolutionnaire sur ton vélo! Ce feu avant high-tech homologué pour vélos électriques jusqu\'à 25 km/h dispose, en plus du feu de croisement, d\'un feu de route. Grâce au savoir-faire de Supernova, son supplément d\'intensité lumineuse améliore sensiblement la sécurité. Lors de randonnées, les branches basses ainsi que les objets périphériques sont éclairés. À la fin de la sortie nocturne, il est possible de passer du feu de route au feu de croisement pour pouvoir circuler sans problème sur la route. Les 1150 lumen du feu de route sont produits par une matrice brevetée de 10 LED issue de l\'industrie automobile. Et cela sans miroirs mobiles ce qui permet au M99 Mini Pro d\'être 50 % plus petit et 40 % plus léger. Un atout supplémentaire: presque tous les moteurs de vélos électriques équipés d\'une sortie éclairage de 5 V, 6 V et 12 V sont compatibles avec ce feu haut de gamme. La propulsion utilisée est en effet reconnue par le processeur qui adopte automatiquement la meilleure configuration.<br><br>Caractéristiques:<br><br>Feu avant professionnel avec technologie d\'éclairage révolutionnaire<br>Combinaison high-tech d\'un feu de route et de croisement<br>Homologué pour vélos électriques jusqu\'à 25 km/h<br>Sécurité sensiblement augmentée grâce au choix entre feu de route et feu de croisement<br>50 % plus petit et 40 % plus léger<br>Compatible avec tous les moteurs de vélos électriques avec sortie éclairage de 5 V, 6 V ou 12 V<br>Processeur reconnaît le moteur et optimise le fonctionnement<br>Poids léger de seulement 123 g<br>Feu de route de 1150 lumen et 260 lx fournis par 10 LED issues de l\'industrie automobile<br>Feu de croisement de 450 lm et 150 lx<br>Tension d\'alimentation 5-13.5V DC<br>Inclus:<br><br>1 x feu avant Supernova M99 Mini Pro-25 pour E-Bikes<br>Bouton magnétique de feu de route inclus<br>N° art fourn : 600.003.068',`product_name`='SUPERNOVA Lumière E-bike M99 mini PRO25 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-e-bike-m99-mini-pro25-noir' WHERE `virtuemart_product_id` = '1862864'
2023-10-13	13:23:59	3372	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35062_lumiere_e-bike_m99_mini_pro25.png
2023-10-13	13:23:59	3372	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000003c4
2023-10-13	13:23:59	3372	[DEBUG]	Process image file
2023-10-13	13:23:59	3372	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000003c4
2023-10-13	13:23:59	3372	[DEBUG]	Mime type found: image/png
2023-10-13	13:23:59	3372	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35062_lumiere_e-bike_m99_mini_pro25.png
2023-10-13	13:23:59	3372	[DEBUG]	Full name target: bcprisme/35062_lumiere_e-bike_m99_mini_pro25.png
2023-10-13	13:24:00	3372	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:00	3372	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35062_lumiere_e-bike_m99_mini_pro25.png'
2023-10-13	13:24:00	3372	[DEBUG]	Query for Media
2023-10-13	13:24:00	3372	[DEBUG]	Executed store
2023-10-13	13:24:00	3372	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/35062_lumiere_e-bike_m99_mini_pro25.png',`file_url_thumb`='bcprisme/35062_lumiere_e-bike_m99_mini_pro25.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337731'
2023-10-13	13:24:00	3372	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:00	3372	[DEBUG]	Executed store
2023-10-13	13:24:00	3372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862864','337731','1')
2023-10-13	13:24:00	3372	[DEBUG]	Store product image relation
2023-10-13	13:24:00	3372	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:00	3372	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862864 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:00	3372	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:00	3372	[DEBUG]	Executed store
2023-10-13	13:24:00	3372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862864','0','305.478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:00	3372	[DEBUG]	Checking manufacturer
2023-10-13	13:24:00	3372	[DEBUG]	Load a row
2023-10-13	13:24:00	3372	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:00	3372	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:00	3372	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:00	3372	[DEBUG]	Executed store
2023-10-13	13:24:00	3372	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:00	3372	[DEBUG]	Manufacturer exists
2023-10-13	13:24:00	3372	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:00	3372	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:00	3372	[DEBUG]	Executed store
2023-10-13	13:24:00	3372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862864','242')
2023-10-13	13:24:00	3372	[DEBUG]	Find the custom field ID
2023-10-13	13:24:00	3372	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:00	3372	[DEBUG]	No custom field ID found
2023-10-13	13:24:00	3372	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:00	3372	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:24:00	3372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862864 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:00	3372	[DEBUG]	Store custom available field
2023-10-13	13:24:00	3372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862864,3,'29.8169444444444',1)
2023-10-13	13:24:00	3372	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:00	3372	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:00	3372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862864 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:00	3372	[DEBUG]	Store custom available field
2023-10-13	13:24:00	3372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862864,6,'choisir la taille',3)
2023-10-13	13:24:00	3372	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:00	3372	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:00	3372	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:00	3372	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:00	3372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862864 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:00	3372	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:00	3372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862864,8,1)
2023-10-13	13:24:00	3372	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:00	3372	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862864\":[1862864,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862864
2023-10-13	13:24:00	3372	[DEBUG]	Checking category
2023-10-13	13:24:00	3372	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:00	3372	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862864
2023-10-13	13:24:00	3372	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:00	3372	[DEBUG]	Executed store
2023-10-13	13:24:00	3372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862864','7375')
2023-10-13	13:24:00	3372	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:00	3372	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862864 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:00	3372	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:00	3372	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862864
2023-10-13	13:24:00	3373	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:00	3373	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:00	3373	[DEBUG]	Use field value for field taille
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:00	3373	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:00	3373	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:00	3373	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:00	3373	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:00	3373	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:00	3373	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:00	3373	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:00	3373	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:00	3373	[DEBUG]	Use field value for field published
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:00	3373	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field override
2023-10-13	13:24:00	3373	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:00	3373	[DEBUG]	Use field value for field slug
2023-10-13	13:24:00	3373	[DEBUG]	Process line 3373
2023-10-13	13:24:00	3373	[DEBUG]	Load a row
2023-10-13	13:24:00	3373	[DEBUG]	Processing item: 4260224791139
2023-10-13	13:24:00	3373	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:00	3373	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:00	3373	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7601_1'
2023-10-13	13:24:00	3373	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:00	3373	[DEBUG]	Processing product tax
2023-10-13	13:24:00	3373	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:00	3373	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:00	3373	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:00	3373	[DEBUG]	Query for Product
2023-10-13	13:24:00	3373	[DEBUG]	Executed store
2023-10-13	13:24:00	3373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862864','4260224791139','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:00	3373	[DEBUG]	No parent found
2023-10-13	13:24:00	3373	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862864 AND customfield_value = 'stockable'
2023-10-13	13:24:00	3373	[DEBUG]	Check product language entry
2023-10-13	13:24:00	3373	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862865
2023-10-13	13:24:00	3373	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:00	3373	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224791139' AND `virtuemart_product_id` != 1862865
2023-10-13	13:24:00	3373	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:00	3373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862865, '4260224791139')
2023-10-13	13:24:00	3373	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:00	3373	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-e-bike-m99-mini-pro25-noir-unitaire' AND `virtuemart_product_id` != 1862865
2023-10-13	13:24:00	3373	[DEBUG]	Query for ProductLang
2023-10-13	13:24:00	3373	[DEBUG]	Executed store
2023-10-13	13:24:00	3373	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Lumière E-bike M99 mini PRO25 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-e-bike-m99-mini-pro25-noir-unitaire' WHERE `virtuemart_product_id` = '1862865'
2023-10-13	13:24:00	3373	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35062_lumiere_e-bike_m99_mini_pro25.png
2023-10-13	13:24:00	3373	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000003c4
2023-10-13	13:24:00	3373	[DEBUG]	Process image file
2023-10-13	13:24:00	3373	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000003c4
2023-10-13	13:24:00	3373	[DEBUG]	Mime type found: image/png
2023-10-13	13:24:00	3373	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35062_lumiere_e-bike_m99_mini_pro25.png
2023-10-13	13:24:00	3373	[DEBUG]	Full name target: bcprisme/35062_lumiere_e-bike_m99_mini_pro25.png
2023-10-13	13:24:01	3373	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:01	3373	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35062_lumiere_e-bike_m99_mini_pro25.png'
2023-10-13	13:24:01	3373	[DEBUG]	Query for Media
2023-10-13	13:24:01	3373	[DEBUG]	Executed store
2023-10-13	13:24:01	3373	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/35062_lumiere_e-bike_m99_mini_pro25.png',`file_url_thumb`='bcprisme/35062_lumiere_e-bike_m99_mini_pro25.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337731'
2023-10-13	13:24:01	3373	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:01	3373	[DEBUG]	Executed store
2023-10-13	13:24:01	3373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862865','337731','1')
2023-10-13	13:24:01	3373	[DEBUG]	Store product image relation
2023-10-13	13:24:01	3373	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:01	3373	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862865 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:01	3373	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:01	3373	[DEBUG]	Executed store
2023-10-13	13:24:01	3373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862865','0','305.478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:01	3373	[DEBUG]	Checking manufacturer
2023-10-13	13:24:01	3373	[DEBUG]	Load a row
2023-10-13	13:24:01	3373	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:01	3373	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:01	3373	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:01	3373	[DEBUG]	Executed store
2023-10-13	13:24:01	3373	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:01	3373	[DEBUG]	Manufacturer exists
2023-10-13	13:24:01	3373	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:01	3373	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:01	3373	[DEBUG]	Executed store
2023-10-13	13:24:01	3373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862865','242')
2023-10-13	13:24:01	3373	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:01	3373	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:01	3373	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862865 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:01	3373	[DEBUG]	Store custom available field
2023-10-13	13:24:01	3373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862865,3,'',1)
2023-10-13	13:24:01	3373	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:01	3373	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:01	3373	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862865 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:01	3373	[DEBUG]	Store custom available field
2023-10-13	13:24:01	3373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862865,6,'Unitaire',3)
2023-10-13	13:24:01	3373	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:01	3373	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:01	3373	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862864
2023-10-13	13:24:01	3373	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:01	3373	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862864\":[1862864,8,1,\"choisir la taille\"],\"1862865\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862864
2023-10-13	13:24:01	3373	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:01	3373	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862865
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:01	3374	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field taille
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:01	3374	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:01	3374	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:01	3374	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:01	3374	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:01	3374	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:01	3374	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field published
2023-10-13	13:24:01	3374	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:01	3374	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field override
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:01	3374	[DEBUG]	Use field value for field slug
2023-10-13	13:24:01	3374	[DEBUG]	Process line 3374
2023-10-13	13:24:01	3374	[DEBUG]	Load a row
2023-10-13	13:24:01	3374	[DEBUG]	Processing item: A_7671_1
2023-10-13	13:24:01	3374	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:01	3374	[DEBUG]	Processing product tax
2023-10-13	13:24:01	3374	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:01	3374	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:01	3374	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:01	3374	[DEBUG]	Query for Product
2023-10-13	13:24:01	3374	[DEBUG]	Executed store
2023-10-13	13:24:01	3374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7671_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:01	3374	[DEBUG]	Check product language entry
2023-10-13	13:24:01	3374	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862866
2023-10-13	13:24:01	3374	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:01	3374	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7671_1' AND `virtuemart_product_id` != 1862866
2023-10-13	13:24:01	3374	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:01	3374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862866, 'A_7671_1')
2023-10-13	13:24:01	3374	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:01	3374	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axa-lumiere-blueline-50-t-steady-auto-pour-moyeu-dynamo-noir' AND `virtuemart_product_id` != 1862866
2023-10-13	13:24:01	3374	[DEBUG]	Query for ProductLang
2023-10-13	13:24:01	3374	[DEBUG]	Executed store
2023-10-13	13:24:01	3374	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.65779',`product_name`='AXA Lumière Blueline 50 T Steady Auto pour moyeu dynamo / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axa-lumiere-blueline-50-t-steady-auto-pour-moyeu-dynamo-noir' WHERE `virtuemart_product_id` = '1862866'
2023-10-13	13:24:01	3374	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_65779.jpg has not been found.
2023-10-13	13:24:01	3374	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:01	3374	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862866 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:01	3374	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:01	3374	[DEBUG]	Executed store
2023-10-13	13:24:01	3374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862866','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:01	3374	[DEBUG]	Checking manufacturer
2023-10-13	13:24:01	3374	[DEBUG]	Load a row
2023-10-13	13:24:01	3374	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:01	3374	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:24:01	3374	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:01	3374	[DEBUG]	Executed store
2023-10-13	13:24:01	3374	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33203411673' WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:24:01	3374	[DEBUG]	Manufacturer exists
2023-10-13	13:24:01	3374	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 195
2023-10-13	13:24:01	3374	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:01	3374	[DEBUG]	Executed store
2023-10-13	13:24:01	3374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862866','195')
2023-10-13	13:24:01	3374	[DEBUG]	Find the custom field ID
2023-10-13	13:24:01	3374	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:01	3374	[DEBUG]	No custom field ID found
2023-10-13	13:24:01	3374	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:01	3374	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:24:01	3374	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862866 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:01	3374	[DEBUG]	Store custom available field
2023-10-13	13:24:01	3374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862866,3,'0',1)
2023-10-13	13:24:01	3374	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:01	3374	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:01	3374	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862866 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:01	3374	[DEBUG]	Store custom available field
2023-10-13	13:24:01	3374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862866,6,'choisir la taille',3)
2023-10-13	13:24:01	3374	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:01	3374	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:01	3374	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:01	3374	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:01	3374	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862866 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:01	3374	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:01	3374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862866,8,1)
2023-10-13	13:24:01	3374	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:01	3374	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862866\":[1862866,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862866
2023-10-13	13:24:01	3374	[DEBUG]	Checking category
2023-10-13	13:24:01	3374	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:01	3374	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862866
2023-10-13	13:24:01	3374	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:01	3374	[DEBUG]	Executed store
2023-10-13	13:24:01	3374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862866','7375')
2023-10-13	13:24:01	3374	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:01	3374	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862866 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:01	3374	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:01	3374	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862866
2023-10-13	13:24:01	3375	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:01	3375	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:01	3375	[DEBUG]	Use field value for field taille
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:01	3375	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:01	3375	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:01	3375	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:01	3375	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:01	3375	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:01	3375	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:01	3375	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:01	3375	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:01	3375	[DEBUG]	Use field value for field published
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:01	3375	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field override
2023-10-13	13:24:01	3375	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:01	3375	[DEBUG]	Use field value for field slug
2023-10-13	13:24:01	3375	[DEBUG]	Process line 3375
2023-10-13	13:24:01	3375	[DEBUG]	Load a row
2023-10-13	13:24:01	3375	[DEBUG]	Processing item: 3379399395378
2023-10-13	13:24:01	3375	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:01	3375	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:01	3375	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7671_1'
2023-10-13	13:24:01	3375	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:01	3375	[DEBUG]	Processing product tax
2023-10-13	13:24:01	3375	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:01	3375	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:01	3375	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:01	3375	[DEBUG]	Query for Product
2023-10-13	13:24:01	3375	[DEBUG]	Executed store
2023-10-13	13:24:01	3375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862866','3379399395378','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:01	3375	[DEBUG]	No parent found
2023-10-13	13:24:01	3375	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862866 AND customfield_value = 'stockable'
2023-10-13	13:24:01	3375	[DEBUG]	Check product language entry
2023-10-13	13:24:01	3375	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862867
2023-10-13	13:24:01	3375	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:01	3375	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3379399395378' AND `virtuemart_product_id` != 1862867
2023-10-13	13:24:01	3375	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:01	3375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862867, '3379399395378')
2023-10-13	13:24:01	3375	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:01	3375	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axa-lumiere-blueline-50-t-steady-auto-pour-moyeu-dynamo-noir-unitaire' AND `virtuemart_product_id` != 1862867
2023-10-13	13:24:01	3375	[DEBUG]	Query for ProductLang
2023-10-13	13:24:01	3375	[DEBUG]	Executed store
2023-10-13	13:24:01	3375	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXA Lumière Blueline 50 T Steady Auto pour moyeu dynamo / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axa-lumiere-blueline-50-t-steady-auto-pour-moyeu-dynamo-noir-unitaire' WHERE `virtuemart_product_id` = '1862867'
2023-10-13	13:24:01	3375	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_65779.jpg has not been found.
2023-10-13	13:24:01	3375	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:01	3375	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862867 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:01	3375	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:01	3375	[DEBUG]	Executed store
2023-10-13	13:24:01	3375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862867','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:01	3375	[DEBUG]	Checking manufacturer
2023-10-13	13:24:01	3375	[DEBUG]	Load a row
2023-10-13	13:24:01	3375	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:01	3375	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:24:01	3375	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:01	3375	[DEBUG]	Executed store
2023-10-13	13:24:01	3375	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33203411673' WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:24:01	3375	[DEBUG]	Manufacturer exists
2023-10-13	13:24:01	3375	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 195
2023-10-13	13:24:01	3375	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:01	3375	[DEBUG]	Executed store
2023-10-13	13:24:01	3375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862867','195')
2023-10-13	13:24:01	3375	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:01	3375	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:01	3375	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862867 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:01	3375	[DEBUG]	Store custom available field
2023-10-13	13:24:01	3375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862867,3,'',1)
2023-10-13	13:24:01	3375	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:01	3375	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:01	3375	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862867 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:01	3375	[DEBUG]	Store custom available field
2023-10-13	13:24:01	3375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862867,6,'Unitaire',3)
2023-10-13	13:24:01	3375	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:01	3375	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:01	3375	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862866
2023-10-13	13:24:01	3375	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:01	3375	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862866\":[1862866,8,1,\"choisir la taille\"],\"1862867\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862866
2023-10-13	13:24:01	3375	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:01	3375	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862867
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:01	3376	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field taille
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:01	3376	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:01	3376	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:01	3376	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:01	3376	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:01	3376	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:01	3376	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field published
2023-10-13	13:24:01	3376	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:01	3376	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field override
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:01	3376	[DEBUG]	Use field value for field slug
2023-10-13	13:24:01	3376	[DEBUG]	Process line 3376
2023-10-13	13:24:01	3376	[DEBUG]	Load a row
2023-10-13	13:24:01	3376	[DEBUG]	Processing item: A_7672_1
2023-10-13	13:24:01	3376	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:01	3376	[DEBUG]	Processing product tax
2023-10-13	13:24:01	3376	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:01	3376	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:01	3376	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:01	3376	[DEBUG]	Query for Product
2023-10-13	13:24:01	3376	[DEBUG]	Executed store
2023-10-13	13:24:01	3376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7672_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:01	3376	[DEBUG]	Check product language entry
2023-10-13	13:24:01	3376	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862868
2023-10-13	13:24:01	3376	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:01	3376	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7672_1' AND `virtuemart_product_id` != 1862868
2023-10-13	13:24:01	3376	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:01	3376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862868, 'A_7672_1')
2023-10-13	13:24:01	3376	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:01	3376	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axa-lumiere-blueline-30-t-steady-auto-pour-moyeu-dynamo-noir' AND `virtuemart_product_id` != 1862868
2023-10-13	13:24:01	3376	[DEBUG]	Query for ProductLang
2023-10-13	13:24:01	3376	[DEBUG]	Executed store
2023-10-13	13:24:01	3376	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.65780',`product_name`='AXA Lumière Blueline 30 T Steady Auto pour moyeu dynamo / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axa-lumiere-blueline-30-t-steady-auto-pour-moyeu-dynamo-noir' WHERE `virtuemart_product_id` = '1862868'
2023-10-13	13:24:01	3376	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_65780.jpg
2023-10-13	13:24:01	3376	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:01	3376	[DEBUG]	Process image file
2023-10-13	13:24:01	3376	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:01	3376	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:01	3376	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_65780.jpg
2023-10-13	13:24:01	3376	[DEBUG]	Full name target: bcprisme/10_65780.jpg
2023-10-13	13:24:02	3376	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:02	3376	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/10_65780.jpg'
2023-10-13	13:24:02	3376	[DEBUG]	Query for Media
2023-10-13	13:24:02	3376	[DEBUG]	Executed store
2023-10-13	13:24:02	3376	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/10_65780.jpg',`file_url_thumb`='bcprisme/10_65780.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '367543'
2023-10-13	13:24:02	3376	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:02	3376	[DEBUG]	Executed store
2023-10-13	13:24:02	3376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862868','367543','1')
2023-10-13	13:24:02	3376	[DEBUG]	Store product image relation
2023-10-13	13:24:02	3376	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:02	3376	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862868 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:02	3376	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:02	3376	[DEBUG]	Executed store
2023-10-13	13:24:02	3376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862868','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:02	3376	[DEBUG]	Checking manufacturer
2023-10-13	13:24:02	3376	[DEBUG]	Load a row
2023-10-13	13:24:02	3376	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:02	3376	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:24:02	3376	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:02	3376	[DEBUG]	Executed store
2023-10-13	13:24:02	3376	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33203411673' WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:24:02	3376	[DEBUG]	Manufacturer exists
2023-10-13	13:24:02	3376	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 195
2023-10-13	13:24:02	3376	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:02	3376	[DEBUG]	Executed store
2023-10-13	13:24:02	3376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862868','195')
2023-10-13	13:24:02	3376	[DEBUG]	Find the custom field ID
2023-10-13	13:24:02	3376	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:02	3376	[DEBUG]	No custom field ID found
2023-10-13	13:24:02	3376	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:02	3376	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:24:02	3376	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862868 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:02	3376	[DEBUG]	Store custom available field
2023-10-13	13:24:02	3376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862868,3,'0',1)
2023-10-13	13:24:02	3376	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:02	3376	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:02	3376	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862868 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:02	3376	[DEBUG]	Store custom available field
2023-10-13	13:24:02	3376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862868,6,'choisir la taille',3)
2023-10-13	13:24:02	3376	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:02	3376	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:02	3376	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:02	3376	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:02	3376	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862868 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:02	3376	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:02	3376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862868,8,1)
2023-10-13	13:24:02	3376	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:02	3376	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862868\":[1862868,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862868
2023-10-13	13:24:02	3376	[DEBUG]	Checking category
2023-10-13	13:24:02	3376	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:02	3376	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862868
2023-10-13	13:24:02	3376	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:02	3376	[DEBUG]	Executed store
2023-10-13	13:24:02	3376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862868','7375')
2023-10-13	13:24:02	3376	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:02	3376	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862868 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:02	3376	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:02	3376	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862868
2023-10-13	13:24:02	3377	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:02	3377	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:02	3377	[DEBUG]	Use field value for field taille
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:02	3377	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:02	3377	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:02	3377	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:02	3377	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:02	3377	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:02	3377	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:02	3377	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:02	3377	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:02	3377	[DEBUG]	Use field value for field published
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:02	3377	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field override
2023-10-13	13:24:02	3377	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:02	3377	[DEBUG]	Use field value for field slug
2023-10-13	13:24:02	3377	[DEBUG]	Process line 3377
2023-10-13	13:24:02	3377	[DEBUG]	Load a row
2023-10-13	13:24:02	3377	[DEBUG]	Processing item: 3379399395170
2023-10-13	13:24:02	3377	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:02	3377	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:02	3377	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7672_1'
2023-10-13	13:24:02	3377	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:02	3377	[DEBUG]	Processing product tax
2023-10-13	13:24:02	3377	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:02	3377	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:02	3377	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:02	3377	[DEBUG]	Query for Product
2023-10-13	13:24:02	3377	[DEBUG]	Executed store
2023-10-13	13:24:02	3377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862868','3379399395170','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:02	3377	[DEBUG]	No parent found
2023-10-13	13:24:02	3377	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862868 AND customfield_value = 'stockable'
2023-10-13	13:24:02	3377	[DEBUG]	Check product language entry
2023-10-13	13:24:02	3377	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862869
2023-10-13	13:24:02	3377	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:02	3377	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3379399395170' AND `virtuemart_product_id` != 1862869
2023-10-13	13:24:02	3377	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:02	3377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862869, '3379399395170')
2023-10-13	13:24:02	3377	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:02	3377	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axa-lumiere-blueline-30-t-steady-auto-pour-moyeu-dynamo-noir-unitaire' AND `virtuemart_product_id` != 1862869
2023-10-13	13:24:02	3377	[DEBUG]	Query for ProductLang
2023-10-13	13:24:02	3377	[DEBUG]	Executed store
2023-10-13	13:24:02	3377	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXA Lumière Blueline 30 T Steady Auto pour moyeu dynamo / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axa-lumiere-blueline-30-t-steady-auto-pour-moyeu-dynamo-noir-unitaire' WHERE `virtuemart_product_id` = '1862869'
2023-10-13	13:24:02	3377	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_65780.jpg
2023-10-13	13:24:02	3377	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:02	3377	[DEBUG]	Process image file
2023-10-13	13:24:02	3377	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:02	3377	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:02	3377	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_65780.jpg
2023-10-13	13:24:02	3377	[DEBUG]	Full name target: bcprisme/10_65780.jpg
2023-10-13	13:24:03	3377	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:03	3377	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/10_65780.jpg'
2023-10-13	13:24:03	3377	[DEBUG]	Query for Media
2023-10-13	13:24:03	3377	[DEBUG]	Executed store
2023-10-13	13:24:03	3377	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/10_65780.jpg',`file_url_thumb`='bcprisme/10_65780.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '367543'
2023-10-13	13:24:03	3377	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:03	3377	[DEBUG]	Executed store
2023-10-13	13:24:03	3377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862869','367543','1')
2023-10-13	13:24:03	3377	[DEBUG]	Store product image relation
2023-10-13	13:24:03	3377	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:03	3377	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862869 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:03	3377	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:03	3377	[DEBUG]	Executed store
2023-10-13	13:24:03	3377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862869','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:03	3377	[DEBUG]	Checking manufacturer
2023-10-13	13:24:03	3377	[DEBUG]	Load a row
2023-10-13	13:24:03	3377	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:03	3377	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:24:03	3377	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:03	3377	[DEBUG]	Executed store
2023-10-13	13:24:03	3377	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33203411673' WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:24:03	3377	[DEBUG]	Manufacturer exists
2023-10-13	13:24:03	3377	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 195
2023-10-13	13:24:03	3377	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:03	3377	[DEBUG]	Executed store
2023-10-13	13:24:03	3377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862869','195')
2023-10-13	13:24:03	3377	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:03	3377	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:03	3377	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862869 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:03	3377	[DEBUG]	Store custom available field
2023-10-13	13:24:03	3377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862869,3,'',1)
2023-10-13	13:24:03	3377	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:03	3377	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:03	3377	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862869 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:03	3377	[DEBUG]	Store custom available field
2023-10-13	13:24:03	3377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862869,6,'Unitaire',3)
2023-10-13	13:24:03	3377	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:03	3377	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:03	3377	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862868
2023-10-13	13:24:03	3377	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:03	3377	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862868\":[1862868,8,1,\"choisir la taille\"],\"1862869\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862868
2023-10-13	13:24:03	3377	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:03	3377	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862869
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:03	3378	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field taille
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:03	3378	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:03	3378	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:03	3378	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:03	3378	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:03	3378	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:03	3378	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field published
2023-10-13	13:24:03	3378	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:03	3378	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field override
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:03	3378	[DEBUG]	Use field value for field slug
2023-10-13	13:24:03	3378	[DEBUG]	Process line 3378
2023-10-13	13:24:03	3378	[DEBUG]	Load a row
2023-10-13	13:24:03	3378	[DEBUG]	Processing item: A_7731_1
2023-10-13	13:24:03	3378	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:03	3378	[DEBUG]	Processing product tax
2023-10-13	13:24:03	3378	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:03	3378	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:03	3378	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:03	3378	[DEBUG]	Query for Product
2023-10-13	13:24:03	3378	[DEBUG]	Executed store
2023-10-13	13:24:03	3378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7731_1','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:03	3378	[DEBUG]	Check product language entry
2023-10-13	13:24:03	3378	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862870
2023-10-13	13:24:03	3378	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:03	3378	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7731_1' AND `virtuemart_product_id` != 1862870
2023-10-13	13:24:03	3378	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:03	3378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862870, 'A_7731_1')
2023-10-13	13:24:03	3378	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:03	3378	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-avant-m99-pro-24v-e-bike-noir' AND `virtuemart_product_id` != 1862870
2023-10-13	13:24:03	3378	[DEBUG]	Query for ProductLang
2023-10-13	13:24:03	3378	[DEBUG]	Executed store
2023-10-13	13:24:03	3378	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.024',`product_name`='SUPERNOVA Lumière avant M99 Pro 24V E-Bike / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-avant-m99-pro-24v-e-bike-noir' WHERE `virtuemart_product_id` = '1862870'
2023-10-13	13:24:03	3378	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35955_supernova_feu_avant_m99_pro_24v_e-bike.jpg
2023-10-13	13:24:03	3378	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:03	3378	[DEBUG]	Process image file
2023-10-13	13:24:03	3378	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:03	3378	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:03	3378	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35955_supernova_feu_avant_m99_pro_24v_e-bike.jpg
2023-10-13	13:24:03	3378	[DEBUG]	Full name target: bcprisme/35955_supernova_feu_avant_m99_pro_24v_e-bike.jpg
2023-10-13	13:24:04	3378	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:04	3378	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35955_supernova_feu_avant_m99_pro_24v_e-bike.jpg'
2023-10-13	13:24:04	3378	[DEBUG]	Query for Media
2023-10-13	13:24:04	3378	[DEBUG]	Executed store
2023-10-13	13:24:04	3378	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35955_supernova_feu_avant_m99_pro_24v_e-bike.jpg',`file_url_thumb`='bcprisme/35955_supernova_feu_avant_m99_pro_24v_e-bike.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437601'
2023-10-13	13:24:04	3378	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:04	3378	[DEBUG]	Executed store
2023-10-13	13:24:04	3378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862870','437601','1')
2023-10-13	13:24:04	3378	[DEBUG]	Store product image relation
2023-10-13	13:24:04	3378	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:04	3378	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862870 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:04	3378	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:04	3378	[DEBUG]	Executed store
2023-10-13	13:24:04	3378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862870','0','463.324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:04	3378	[DEBUG]	Checking manufacturer
2023-10-13	13:24:04	3378	[DEBUG]	Load a row
2023-10-13	13:24:04	3378	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:04	3378	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:04	3378	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:04	3378	[DEBUG]	Executed store
2023-10-13	13:24:04	3378	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:04	3378	[DEBUG]	Manufacturer exists
2023-10-13	13:24:04	3378	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:04	3378	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:04	3378	[DEBUG]	Executed store
2023-10-13	13:24:04	3378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862870','242')
2023-10-13	13:24:04	3378	[DEBUG]	Find the custom field ID
2023-10-13	13:24:04	3378	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:04	3378	[DEBUG]	No custom field ID found
2023-10-13	13:24:04	3378	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:04	3378	[DEBUG]	Get existing row with customfield value 5.88361111111111
2023-10-13	13:24:04	3378	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862870 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:04	3378	[DEBUG]	Store custom available field
2023-10-13	13:24:04	3378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862870,3,'5.88361111111111',1)
2023-10-13	13:24:04	3378	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:04	3378	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:04	3378	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862870 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:04	3378	[DEBUG]	Store custom available field
2023-10-13	13:24:04	3378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862870,6,'choisir la taille',3)
2023-10-13	13:24:04	3378	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:04	3378	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:04	3378	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:04	3378	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:04	3378	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862870 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:04	3378	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:04	3378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862870,8,1)
2023-10-13	13:24:04	3378	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:04	3378	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862870\":[1862870,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862870
2023-10-13	13:24:04	3378	[DEBUG]	Checking category
2023-10-13	13:24:04	3378	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:04	3378	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862870
2023-10-13	13:24:04	3378	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:04	3378	[DEBUG]	Executed store
2023-10-13	13:24:04	3378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862870','7375')
2023-10-13	13:24:04	3378	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:04	3378	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862870 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:04	3378	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:04	3378	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862870
2023-10-13	13:24:04	3379	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:04	3379	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:04	3379	[DEBUG]	Use field value for field taille
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:04	3379	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:04	3379	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:04	3379	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:04	3379	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:04	3379	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:04	3379	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:04	3379	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:04	3379	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:04	3379	[DEBUG]	Use field value for field published
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:04	3379	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field override
2023-10-13	13:24:04	3379	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:04	3379	[DEBUG]	Use field value for field slug
2023-10-13	13:24:04	3379	[DEBUG]	Process line 3379
2023-10-13	13:24:04	3379	[DEBUG]	Load a row
2023-10-13	13:24:04	3379	[DEBUG]	Processing item: 1000000135671
2023-10-13	13:24:04	3379	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:04	3379	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:04	3379	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7731_1'
2023-10-13	13:24:04	3379	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:04	3379	[DEBUG]	Processing product tax
2023-10-13	13:24:04	3379	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:04	3379	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:04	3379	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:04	3379	[DEBUG]	Query for Product
2023-10-13	13:24:04	3379	[DEBUG]	Executed store
2023-10-13	13:24:04	3379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862870','1000000135671','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:04	3379	[DEBUG]	No parent found
2023-10-13	13:24:04	3379	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862870 AND customfield_value = 'stockable'
2023-10-13	13:24:04	3379	[DEBUG]	Check product language entry
2023-10-13	13:24:04	3379	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862871
2023-10-13	13:24:04	3379	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:04	3379	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000135671' AND `virtuemart_product_id` != 1862871
2023-10-13	13:24:04	3379	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:04	3379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862871, '1000000135671')
2023-10-13	13:24:04	3379	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:04	3379	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-avant-m99-pro-24v-e-bike-noir-unitaire' AND `virtuemart_product_id` != 1862871
2023-10-13	13:24:04	3379	[DEBUG]	Query for ProductLang
2023-10-13	13:24:04	3379	[DEBUG]	Executed store
2023-10-13	13:24:04	3379	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Lumière avant M99 Pro 24V E-Bike / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-avant-m99-pro-24v-e-bike-noir-unitaire' WHERE `virtuemart_product_id` = '1862871'
2023-10-13	13:24:04	3379	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35955_supernova_feu_avant_m99_pro_24v_e-bike.jpg
2023-10-13	13:24:04	3379	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:04	3379	[DEBUG]	Process image file
2023-10-13	13:24:04	3379	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:04	3379	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:04	3379	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35955_supernova_feu_avant_m99_pro_24v_e-bike.jpg
2023-10-13	13:24:04	3379	[DEBUG]	Full name target: bcprisme/35955_supernova_feu_avant_m99_pro_24v_e-bike.jpg
2023-10-13	13:24:05	3379	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:05	3379	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35955_supernova_feu_avant_m99_pro_24v_e-bike.jpg'
2023-10-13	13:24:05	3379	[DEBUG]	Query for Media
2023-10-13	13:24:05	3379	[DEBUG]	Executed store
2023-10-13	13:24:05	3379	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35955_supernova_feu_avant_m99_pro_24v_e-bike.jpg',`file_url_thumb`='bcprisme/35955_supernova_feu_avant_m99_pro_24v_e-bike.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437601'
2023-10-13	13:24:05	3379	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:05	3379	[DEBUG]	Executed store
2023-10-13	13:24:05	3379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862871','437601','1')
2023-10-13	13:24:05	3379	[DEBUG]	Store product image relation
2023-10-13	13:24:05	3379	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:05	3379	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862871 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:05	3379	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:05	3379	[DEBUG]	Executed store
2023-10-13	13:24:05	3379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862871','0','463.324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:05	3379	[DEBUG]	Checking manufacturer
2023-10-13	13:24:05	3379	[DEBUG]	Load a row
2023-10-13	13:24:05	3379	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:05	3379	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:05	3379	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:05	3379	[DEBUG]	Executed store
2023-10-13	13:24:05	3379	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:05	3379	[DEBUG]	Manufacturer exists
2023-10-13	13:24:05	3379	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:05	3379	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:05	3379	[DEBUG]	Executed store
2023-10-13	13:24:05	3379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862871','242')
2023-10-13	13:24:05	3379	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:05	3379	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:05	3379	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862871 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:05	3379	[DEBUG]	Store custom available field
2023-10-13	13:24:05	3379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862871,3,'',1)
2023-10-13	13:24:05	3379	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:05	3379	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:05	3379	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862871 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:05	3379	[DEBUG]	Store custom available field
2023-10-13	13:24:05	3379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862871,6,'Unitaire',3)
2023-10-13	13:24:05	3379	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:05	3379	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:05	3379	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862870
2023-10-13	13:24:05	3379	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:05	3379	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862870\":[1862870,8,1,\"choisir la taille\"],\"1862871\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862870
2023-10-13	13:24:05	3379	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:05	3379	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862871
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:05	3380	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field taille
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:05	3380	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:05	3380	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:05	3380	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:05	3380	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:05	3380	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:05	3380	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field published
2023-10-13	13:24:05	3380	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:05	3380	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field override
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:05	3380	[DEBUG]	Use field value for field slug
2023-10-13	13:24:05	3380	[DEBUG]	Process line 3380
2023-10-13	13:24:05	3380	[DEBUG]	Load a row
2023-10-13	13:24:05	3380	[DEBUG]	Processing item: A_7732_1
2023-10-13	13:24:05	3380	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:05	3380	[DEBUG]	Processing product tax
2023-10-13	13:24:05	3380	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:05	3380	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:05	3380	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:05	3380	[DEBUG]	Query for Product
2023-10-13	13:24:05	3380	[DEBUG]	Executed store
2023-10-13	13:24:05	3380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7732_1','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:05	3380	[DEBUG]	Check product language entry
2023-10-13	13:24:05	3380	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862872
2023-10-13	13:24:05	3380	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:05	3380	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7732_1' AND `virtuemart_product_id` != 1862872
2023-10-13	13:24:05	3380	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:05	3380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862872, 'A_7732_1')
2023-10-13	13:24:05	3380	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:05	3380	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-avant-m99-mini-pro-45-12v-e-bike-noir' AND `virtuemart_product_id` != 1862872
2023-10-13	13:24:05	3380	[DEBUG]	Query for ProductLang
2023-10-13	13:24:05	3380	[DEBUG]	Executed store
2023-10-13	13:24:05	3380	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.067',`product_name`='SUPERNOVA Lumière avant M99 Mini Pro-45 12V E-Bike / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-avant-m99-mini-pro-45-12v-e-bike-noir' WHERE `virtuemart_product_id` = '1862872'
2023-10-13	13:24:05	3380	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35956_supernova_feu_avant_m99_mini_pro-45_12v_e-bike.png
2023-10-13	13:24:05	3380	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:24:05	3380	[DEBUG]	Process image file
2023-10-13	13:24:05	3380	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:24:05	3380	[DEBUG]	Mime type found: image/png
2023-10-13	13:24:05	3380	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35956_supernova_feu_avant_m99_mini_pro-45_12v_e-bike.png
2023-10-13	13:24:05	3380	[DEBUG]	Full name target: bcprisme/35956_supernova_feu_avant_m99_mini_pro-45_12v_e-bike.png
2023-10-13	13:24:06	3380	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:06	3380	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35956_supernova_feu_avant_m99_mini_pro-45_12v_e-bike.png'
2023-10-13	13:24:06	3380	[DEBUG]	Query for Media
2023-10-13	13:24:06	3380	[DEBUG]	Executed store
2023-10-13	13:24:06	3380	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/35956_supernova_feu_avant_m99_mini_pro-45_12v_e-bike.png',`file_url_thumb`='bcprisme/35956_supernova_feu_avant_m99_mini_pro-45_12v_e-bike.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437603'
2023-10-13	13:24:06	3380	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:06	3380	[DEBUG]	Executed store
2023-10-13	13:24:06	3380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862872','437603','1')
2023-10-13	13:24:06	3380	[DEBUG]	Store product image relation
2023-10-13	13:24:06	3380	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:06	3380	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862872 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:06	3380	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:06	3380	[DEBUG]	Executed store
2023-10-13	13:24:06	3380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862872','0','351.903435468895','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:06	3380	[DEBUG]	Checking manufacturer
2023-10-13	13:24:06	3380	[DEBUG]	Load a row
2023-10-13	13:24:06	3380	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:06	3380	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:06	3380	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:06	3380	[DEBUG]	Executed store
2023-10-13	13:24:06	3380	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:06	3380	[DEBUG]	Manufacturer exists
2023-10-13	13:24:06	3380	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:06	3380	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:06	3380	[DEBUG]	Executed store
2023-10-13	13:24:06	3380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862872','242')
2023-10-13	13:24:06	3380	[DEBUG]	Find the custom field ID
2023-10-13	13:24:06	3380	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:06	3380	[DEBUG]	No custom field ID found
2023-10-13	13:24:06	3380	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:06	3380	[DEBUG]	Get existing row with customfield value 5.88361111111111
2023-10-13	13:24:06	3380	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862872 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:06	3380	[DEBUG]	Store custom available field
2023-10-13	13:24:06	3380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862872,3,'5.88361111111111',1)
2023-10-13	13:24:06	3380	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:06	3380	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:06	3380	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862872 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:06	3380	[DEBUG]	Store custom available field
2023-10-13	13:24:06	3380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862872,6,'choisir la taille',3)
2023-10-13	13:24:06	3380	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:06	3380	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:06	3380	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:06	3380	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:06	3380	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862872 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:06	3380	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:06	3380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862872,8,1)
2023-10-13	13:24:06	3380	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:06	3380	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862872\":[1862872,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862872
2023-10-13	13:24:06	3380	[DEBUG]	Checking category
2023-10-13	13:24:06	3380	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:06	3380	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862872
2023-10-13	13:24:06	3380	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:06	3380	[DEBUG]	Executed store
2023-10-13	13:24:06	3380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862872','7375')
2023-10-13	13:24:06	3380	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:06	3380	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862872 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:06	3380	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:06	3380	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862872
2023-10-13	13:24:06	3381	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:06	3381	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:06	3381	[DEBUG]	Use field value for field taille
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:06	3381	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:06	3381	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:06	3381	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:06	3381	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:06	3381	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:06	3381	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:06	3381	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:06	3381	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:06	3381	[DEBUG]	Use field value for field published
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:06	3381	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field override
2023-10-13	13:24:06	3381	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:06	3381	[DEBUG]	Use field value for field slug
2023-10-13	13:24:06	3381	[DEBUG]	Process line 3381
2023-10-13	13:24:06	3381	[DEBUG]	Load a row
2023-10-13	13:24:06	3381	[DEBUG]	Processing item: 1000000135688
2023-10-13	13:24:06	3381	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:06	3381	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:06	3381	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7732_1'
2023-10-13	13:24:06	3381	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:06	3381	[DEBUG]	Processing product tax
2023-10-13	13:24:06	3381	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:06	3381	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:06	3381	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:06	3381	[DEBUG]	Query for Product
2023-10-13	13:24:06	3381	[DEBUG]	Executed store
2023-10-13	13:24:06	3381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862872','1000000135688','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:06	3381	[DEBUG]	No parent found
2023-10-13	13:24:06	3381	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862872 AND customfield_value = 'stockable'
2023-10-13	13:24:06	3381	[DEBUG]	Check product language entry
2023-10-13	13:24:06	3381	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862873
2023-10-13	13:24:06	3381	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:06	3381	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000135688' AND `virtuemart_product_id` != 1862873
2023-10-13	13:24:06	3381	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:06	3381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862873, '1000000135688')
2023-10-13	13:24:06	3381	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:06	3381	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-avant-m99-mini-pro-45-12v-e-bike-noir-unitaire' AND `virtuemart_product_id` != 1862873
2023-10-13	13:24:06	3381	[DEBUG]	Query for ProductLang
2023-10-13	13:24:06	3381	[DEBUG]	Executed store
2023-10-13	13:24:06	3381	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Lumière avant M99 Mini Pro-45 12V E-Bike / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-avant-m99-mini-pro-45-12v-e-bike-noir-unitaire' WHERE `virtuemart_product_id` = '1862873'
2023-10-13	13:24:06	3381	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35956_supernova_feu_avant_m99_mini_pro-45_12v_e-bike.png
2023-10-13	13:24:06	3381	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:24:06	3381	[DEBUG]	Process image file
2023-10-13	13:24:06	3381	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:24:06	3381	[DEBUG]	Mime type found: image/png
2023-10-13	13:24:06	3381	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35956_supernova_feu_avant_m99_mini_pro-45_12v_e-bike.png
2023-10-13	13:24:06	3381	[DEBUG]	Full name target: bcprisme/35956_supernova_feu_avant_m99_mini_pro-45_12v_e-bike.png
2023-10-13	13:24:07	3381	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:07	3381	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35956_supernova_feu_avant_m99_mini_pro-45_12v_e-bike.png'
2023-10-13	13:24:07	3381	[DEBUG]	Query for Media
2023-10-13	13:24:07	3381	[DEBUG]	Executed store
2023-10-13	13:24:07	3381	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/35956_supernova_feu_avant_m99_mini_pro-45_12v_e-bike.png',`file_url_thumb`='bcprisme/35956_supernova_feu_avant_m99_mini_pro-45_12v_e-bike.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437603'
2023-10-13	13:24:07	3381	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:07	3381	[DEBUG]	Executed store
2023-10-13	13:24:07	3381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862873','437603','1')
2023-10-13	13:24:07	3381	[DEBUG]	Store product image relation
2023-10-13	13:24:07	3381	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:07	3381	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862873 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:07	3381	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:07	3381	[DEBUG]	Executed store
2023-10-13	13:24:07	3381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862873','0','351.903435468895','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:07	3381	[DEBUG]	Checking manufacturer
2023-10-13	13:24:07	3381	[DEBUG]	Load a row
2023-10-13	13:24:07	3381	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:07	3381	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:07	3381	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:07	3381	[DEBUG]	Executed store
2023-10-13	13:24:07	3381	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:07	3381	[DEBUG]	Manufacturer exists
2023-10-13	13:24:07	3381	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:07	3381	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:07	3381	[DEBUG]	Executed store
2023-10-13	13:24:07	3381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862873','242')
2023-10-13	13:24:07	3381	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:07	3381	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:07	3381	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862873 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:07	3381	[DEBUG]	Store custom available field
2023-10-13	13:24:07	3381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862873,3,'',1)
2023-10-13	13:24:07	3381	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:07	3381	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:07	3381	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862873 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:07	3381	[DEBUG]	Store custom available field
2023-10-13	13:24:07	3381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862873,6,'Unitaire',3)
2023-10-13	13:24:07	3381	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:07	3381	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:07	3381	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862872
2023-10-13	13:24:07	3381	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:07	3381	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862872\":[1862872,8,1,\"choisir la taille\"],\"1862873\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862872
2023-10-13	13:24:07	3381	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:07	3381	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862873
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:07	3382	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field taille
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:07	3382	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:07	3382	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:07	3382	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:07	3382	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:07	3382	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:07	3382	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field published
2023-10-13	13:24:07	3382	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:07	3382	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field override
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:07	3382	[DEBUG]	Use field value for field slug
2023-10-13	13:24:07	3382	[DEBUG]	Process line 3382
2023-10-13	13:24:07	3382	[DEBUG]	Load a row
2023-10-13	13:24:07	3382	[DEBUG]	Processing item: A_7733_1
2023-10-13	13:24:07	3382	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:07	3382	[DEBUG]	Processing product tax
2023-10-13	13:24:07	3382	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:07	3382	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:07	3382	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:07	3382	[DEBUG]	Query for Product
2023-10-13	13:24:07	3382	[DEBUG]	Executed store
2023-10-13	13:24:07	3382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7733_1','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:07	3382	[DEBUG]	Check product language entry
2023-10-13	13:24:07	3382	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862874
2023-10-13	13:24:07	3382	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:07	3382	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7733_1' AND `virtuemart_product_id` != 1862874
2023-10-13	13:24:07	3382	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:07	3382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862874, 'A_7733_1')
2023-10-13	13:24:07	3382	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:07	3382	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-avant-e3-v521s-hbm-e-bike-noir' AND `virtuemart_product_id` != 1862874
2023-10-13	13:24:07	3382	[DEBUG]	Query for ProductLang
2023-10-13	13:24:07	3382	[DEBUG]	Executed store
2023-10-13	13:24:07	3382	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.096',`product_name`='SUPERNOVA Lumière avant E3 V521s HBM E-Bike / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-avant-e3-v521s-hbm-e-bike-noir' WHERE `virtuemart_product_id` = '1862874'
2023-10-13	13:24:07	3382	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35957_supernova_feu_avant_e3_v521s_hbm_e-bike.jpg
2023-10-13	13:24:07	3382	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:07	3382	[DEBUG]	Process image file
2023-10-13	13:24:07	3382	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:07	3382	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:07	3382	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35957_supernova_feu_avant_e3_v521s_hbm_e-bike.jpg
2023-10-13	13:24:07	3382	[DEBUG]	Full name target: bcprisme/35957_supernova_feu_avant_e3_v521s_hbm_e-bike.jpg
2023-10-13	13:24:08	3382	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:08	3382	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35957_supernova_feu_avant_e3_v521s_hbm_e-bike.jpg'
2023-10-13	13:24:08	3382	[DEBUG]	Query for Media
2023-10-13	13:24:08	3382	[DEBUG]	Executed store
2023-10-13	13:24:08	3382	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35957_supernova_feu_avant_e3_v521s_hbm_e-bike.jpg',`file_url_thumb`='bcprisme/35957_supernova_feu_avant_e3_v521s_hbm_e-bike.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437605'
2023-10-13	13:24:08	3382	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:08	3382	[DEBUG]	Executed store
2023-10-13	13:24:08	3382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862874','437605','1')
2023-10-13	13:24:08	3382	[DEBUG]	Store product image relation
2023-10-13	13:24:08	3382	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:08	3382	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862874 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:08	3382	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:08	3382	[DEBUG]	Executed store
2023-10-13	13:24:08	3382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862874','0','162.488393686165','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:08	3382	[DEBUG]	Checking manufacturer
2023-10-13	13:24:08	3382	[DEBUG]	Load a row
2023-10-13	13:24:08	3382	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:08	3382	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:08	3382	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:08	3382	[DEBUG]	Executed store
2023-10-13	13:24:08	3382	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:08	3382	[DEBUG]	Manufacturer exists
2023-10-13	13:24:08	3382	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:08	3382	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:08	3382	[DEBUG]	Executed store
2023-10-13	13:24:08	3382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862874','242')
2023-10-13	13:24:08	3382	[DEBUG]	Find the custom field ID
2023-10-13	13:24:08	3382	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:08	3382	[DEBUG]	No custom field ID found
2023-10-13	13:24:08	3382	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:08	3382	[DEBUG]	Get existing row with customfield value 5.88361111111111
2023-10-13	13:24:08	3382	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862874 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:08	3382	[DEBUG]	Store custom available field
2023-10-13	13:24:08	3382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862874,3,'5.88361111111111',1)
2023-10-13	13:24:08	3382	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:08	3382	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:08	3382	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862874 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:08	3382	[DEBUG]	Store custom available field
2023-10-13	13:24:08	3382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862874,6,'choisir la taille',3)
2023-10-13	13:24:08	3382	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:08	3382	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:08	3382	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:08	3382	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:08	3382	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862874 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:08	3382	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:08	3382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862874,8,1)
2023-10-13	13:24:08	3382	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:08	3382	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862874\":[1862874,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862874
2023-10-13	13:24:08	3382	[DEBUG]	Checking category
2023-10-13	13:24:08	3382	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:08	3382	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862874
2023-10-13	13:24:08	3382	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:08	3382	[DEBUG]	Executed store
2023-10-13	13:24:08	3382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862874','7375')
2023-10-13	13:24:08	3382	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:08	3382	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862874 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:08	3382	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:08	3382	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862874
2023-10-13	13:24:08	3383	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:08	3383	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:08	3383	[DEBUG]	Use field value for field taille
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:08	3383	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:08	3383	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:08	3383	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:08	3383	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:08	3383	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:08	3383	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:08	3383	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:08	3383	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:08	3383	[DEBUG]	Use field value for field published
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:08	3383	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field override
2023-10-13	13:24:08	3383	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:08	3383	[DEBUG]	Use field value for field slug
2023-10-13	13:24:08	3383	[DEBUG]	Process line 3383
2023-10-13	13:24:08	3383	[DEBUG]	Load a row
2023-10-13	13:24:08	3383	[DEBUG]	Processing item: 1000000135695
2023-10-13	13:24:08	3383	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:08	3383	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:08	3383	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7733_1'
2023-10-13	13:24:08	3383	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:08	3383	[DEBUG]	Processing product tax
2023-10-13	13:24:08	3383	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:08	3383	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:08	3383	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:08	3383	[DEBUG]	Query for Product
2023-10-13	13:24:08	3383	[DEBUG]	Executed store
2023-10-13	13:24:08	3383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862874','1000000135695','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:08	3383	[DEBUG]	No parent found
2023-10-13	13:24:08	3383	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862874 AND customfield_value = 'stockable'
2023-10-13	13:24:08	3383	[DEBUG]	Check product language entry
2023-10-13	13:24:08	3383	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862875
2023-10-13	13:24:08	3383	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:08	3383	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000135695' AND `virtuemart_product_id` != 1862875
2023-10-13	13:24:08	3383	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:08	3383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862875, '1000000135695')
2023-10-13	13:24:08	3383	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:08	3383	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-avant-e3-v521s-hbm-e-bike-noir-unitaire' AND `virtuemart_product_id` != 1862875
2023-10-13	13:24:08	3383	[DEBUG]	Query for ProductLang
2023-10-13	13:24:08	3383	[DEBUG]	Executed store
2023-10-13	13:24:08	3383	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Lumière avant E3 V521s HBM E-Bike / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-avant-e3-v521s-hbm-e-bike-noir-unitaire' WHERE `virtuemart_product_id` = '1862875'
2023-10-13	13:24:08	3383	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35957_supernova_feu_avant_e3_v521s_hbm_e-bike.jpg
2023-10-13	13:24:08	3383	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:08	3383	[DEBUG]	Process image file
2023-10-13	13:24:08	3383	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:08	3383	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:08	3383	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35957_supernova_feu_avant_e3_v521s_hbm_e-bike.jpg
2023-10-13	13:24:08	3383	[DEBUG]	Full name target: bcprisme/35957_supernova_feu_avant_e3_v521s_hbm_e-bike.jpg
2023-10-13	13:24:10	3383	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:10	3383	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35957_supernova_feu_avant_e3_v521s_hbm_e-bike.jpg'
2023-10-13	13:24:10	3383	[DEBUG]	Query for Media
2023-10-13	13:24:10	3383	[DEBUG]	Executed store
2023-10-13	13:24:10	3383	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35957_supernova_feu_avant_e3_v521s_hbm_e-bike.jpg',`file_url_thumb`='bcprisme/35957_supernova_feu_avant_e3_v521s_hbm_e-bike.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437605'
2023-10-13	13:24:10	3383	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:10	3383	[DEBUG]	Executed store
2023-10-13	13:24:10	3383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862875','437605','1')
2023-10-13	13:24:10	3383	[DEBUG]	Store product image relation
2023-10-13	13:24:10	3383	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:10	3383	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862875 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:10	3383	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:10	3383	[DEBUG]	Executed store
2023-10-13	13:24:10	3383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862875','0','162.488393686165','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:10	3383	[DEBUG]	Checking manufacturer
2023-10-13	13:24:10	3383	[DEBUG]	Load a row
2023-10-13	13:24:10	3383	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:10	3383	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:10	3383	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:10	3383	[DEBUG]	Executed store
2023-10-13	13:24:10	3383	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:10	3383	[DEBUG]	Manufacturer exists
2023-10-13	13:24:10	3383	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:10	3383	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:10	3383	[DEBUG]	Executed store
2023-10-13	13:24:10	3383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862875','242')
2023-10-13	13:24:10	3383	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:10	3383	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:10	3383	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862875 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:10	3383	[DEBUG]	Store custom available field
2023-10-13	13:24:10	3383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862875,3,'',1)
2023-10-13	13:24:10	3383	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:10	3383	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:10	3383	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862875 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:10	3383	[DEBUG]	Store custom available field
2023-10-13	13:24:10	3383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862875,6,'Unitaire',3)
2023-10-13	13:24:10	3383	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:10	3383	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:10	3383	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862874
2023-10-13	13:24:10	3383	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:10	3383	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862874\":[1862874,8,1,\"choisir la taille\"],\"1862875\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862874
2023-10-13	13:24:10	3383	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:10	3383	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862875
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:10	3384	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field taille
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:10	3384	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:10	3384	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:10	3384	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:10	3384	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:10	3384	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:10	3384	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field published
2023-10-13	13:24:10	3384	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:10	3384	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field override
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:10	3384	[DEBUG]	Use field value for field slug
2023-10-13	13:24:10	3384	[DEBUG]	Process line 3384
2023-10-13	13:24:10	3384	[DEBUG]	Load a row
2023-10-13	13:24:10	3384	[DEBUG]	Processing item: A_7734_1
2023-10-13	13:24:10	3384	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:10	3384	[DEBUG]	Processing product tax
2023-10-13	13:24:10	3384	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:10	3384	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:10	3384	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:10	3384	[DEBUG]	Query for Product
2023-10-13	13:24:10	3384	[DEBUG]	Executed store
2023-10-13	13:24:10	3384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7734_1','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:10	3384	[DEBUG]	Check product language entry
2023-10-13	13:24:10	3384	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862876
2023-10-13	13:24:10	3384	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:10	3384	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7734_1' AND `virtuemart_product_id` != 1862876
2023-10-13	13:24:10	3384	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:10	3384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862876, 'A_7734_1')
2023-10-13	13:24:10	3384	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:10	3384	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-avant-e3-pro-2-noir' AND `virtuemart_product_id` != 1862876
2023-10-13	13:24:10	3384	[DEBUG]	Query for ProductLang
2023-10-13	13:24:10	3384	[DEBUG]	Executed store
2023-10-13	13:24:10	3384	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.162',`product_name`='SUPERNOVA Lumière avant E3 Pro 2 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-avant-e3-pro-2-noir' WHERE `virtuemart_product_id` = '1862876'
2023-10-13	13:24:10	3384	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35958_supernova_feu_avant_e3_pro_2.jpg
2023-10-13	13:24:10	3384	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:10	3384	[DEBUG]	Process image file
2023-10-13	13:24:10	3384	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:10	3384	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:10	3384	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35958_supernova_feu_avant_e3_pro_2.jpg
2023-10-13	13:24:10	3384	[DEBUG]	Full name target: bcprisme/35958_supernova_feu_avant_e3_pro_2.jpg
2023-10-13	13:24:11	3384	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:11	3384	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35958_supernova_feu_avant_e3_pro_2.jpg'
2023-10-13	13:24:11	3384	[DEBUG]	Query for Media
2023-10-13	13:24:11	3384	[DEBUG]	Executed store
2023-10-13	13:24:11	3384	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35958_supernova_feu_avant_e3_pro_2.jpg',`file_url_thumb`='bcprisme/35958_supernova_feu_avant_e3_pro_2.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437607'
2023-10-13	13:24:11	3384	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:11	3384	[DEBUG]	Executed store
2023-10-13	13:24:11	3384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862876','437607','1')
2023-10-13	13:24:11	3384	[DEBUG]	Store product image relation
2023-10-13	13:24:11	3384	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:11	3384	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862876 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:11	3384	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:11	3384	[DEBUG]	Executed store
2023-10-13	13:24:11	3384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862876','0','176.323119777159','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:11	3384	[DEBUG]	Checking manufacturer
2023-10-13	13:24:11	3384	[DEBUG]	Load a row
2023-10-13	13:24:11	3384	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:11	3384	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:11	3384	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:11	3384	[DEBUG]	Executed store
2023-10-13	13:24:11	3384	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:11	3384	[DEBUG]	Manufacturer exists
2023-10-13	13:24:11	3384	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:11	3384	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:11	3384	[DEBUG]	Executed store
2023-10-13	13:24:11	3384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862876','242')
2023-10-13	13:24:11	3384	[DEBUG]	Find the custom field ID
2023-10-13	13:24:11	3384	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:11	3384	[DEBUG]	No custom field ID found
2023-10-13	13:24:11	3384	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:11	3384	[DEBUG]	Get existing row with customfield value 5.88361111111111
2023-10-13	13:24:11	3384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862876 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:11	3384	[DEBUG]	Store custom available field
2023-10-13	13:24:11	3384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862876,3,'5.88361111111111',1)
2023-10-13	13:24:11	3384	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:11	3384	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:11	3384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862876 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:11	3384	[DEBUG]	Store custom available field
2023-10-13	13:24:11	3384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862876,6,'choisir la taille',3)
2023-10-13	13:24:11	3384	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:11	3384	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:11	3384	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:11	3384	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:11	3384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862876 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:11	3384	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:11	3384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862876,8,1)
2023-10-13	13:24:11	3384	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:11	3384	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862876\":[1862876,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862876
2023-10-13	13:24:11	3384	[DEBUG]	Checking category
2023-10-13	13:24:11	3384	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:11	3384	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862876
2023-10-13	13:24:11	3384	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:11	3384	[DEBUG]	Executed store
2023-10-13	13:24:11	3384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862876','7375')
2023-10-13	13:24:11	3384	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:11	3384	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862876 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:11	3384	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:11	3384	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862876
2023-10-13	13:24:11	3385	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:11	3385	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:11	3385	[DEBUG]	Use field value for field taille
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:11	3385	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:11	3385	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:11	3385	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:11	3385	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:11	3385	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:11	3385	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:11	3385	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:11	3385	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:11	3385	[DEBUG]	Use field value for field published
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:11	3385	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field override
2023-10-13	13:24:11	3385	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:11	3385	[DEBUG]	Use field value for field slug
2023-10-13	13:24:11	3385	[DEBUG]	Process line 3385
2023-10-13	13:24:11	3385	[DEBUG]	Load a row
2023-10-13	13:24:11	3385	[DEBUG]	Processing item: 4260224790453
2023-10-13	13:24:11	3385	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:11	3385	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:11	3385	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7734_1'
2023-10-13	13:24:11	3385	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:11	3385	[DEBUG]	Processing product tax
2023-10-13	13:24:11	3385	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:11	3385	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:11	3385	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:11	3385	[DEBUG]	Query for Product
2023-10-13	13:24:11	3385	[DEBUG]	Executed store
2023-10-13	13:24:11	3385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862876','4260224790453','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:11	3385	[DEBUG]	No parent found
2023-10-13	13:24:11	3385	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862876 AND customfield_value = 'stockable'
2023-10-13	13:24:11	3385	[DEBUG]	Check product language entry
2023-10-13	13:24:11	3385	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862877
2023-10-13	13:24:11	3385	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:11	3385	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224790453' AND `virtuemart_product_id` != 1862877
2023-10-13	13:24:11	3385	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:11	3385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862877, '4260224790453')
2023-10-13	13:24:11	3385	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:11	3385	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-avant-e3-pro-2-noir-unitaire' AND `virtuemart_product_id` != 1862877
2023-10-13	13:24:11	3385	[DEBUG]	Query for ProductLang
2023-10-13	13:24:11	3385	[DEBUG]	Executed store
2023-10-13	13:24:11	3385	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Lumière avant E3 Pro 2 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-avant-e3-pro-2-noir-unitaire' WHERE `virtuemart_product_id` = '1862877'
2023-10-13	13:24:11	3385	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35958_supernova_feu_avant_e3_pro_2.jpg
2023-10-13	13:24:11	3385	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:11	3385	[DEBUG]	Process image file
2023-10-13	13:24:11	3385	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:11	3385	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:11	3385	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35958_supernova_feu_avant_e3_pro_2.jpg
2023-10-13	13:24:11	3385	[DEBUG]	Full name target: bcprisme/35958_supernova_feu_avant_e3_pro_2.jpg
2023-10-13	13:24:12	3385	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:12	3385	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35958_supernova_feu_avant_e3_pro_2.jpg'
2023-10-13	13:24:12	3385	[DEBUG]	Query for Media
2023-10-13	13:24:12	3385	[DEBUG]	Executed store
2023-10-13	13:24:12	3385	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35958_supernova_feu_avant_e3_pro_2.jpg',`file_url_thumb`='bcprisme/35958_supernova_feu_avant_e3_pro_2.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437607'
2023-10-13	13:24:12	3385	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:12	3385	[DEBUG]	Executed store
2023-10-13	13:24:12	3385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862877','437607','1')
2023-10-13	13:24:12	3385	[DEBUG]	Store product image relation
2023-10-13	13:24:12	3385	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:12	3385	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862877 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:12	3385	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:12	3385	[DEBUG]	Executed store
2023-10-13	13:24:12	3385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862877','0','176.323119777159','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:12	3385	[DEBUG]	Checking manufacturer
2023-10-13	13:24:12	3385	[DEBUG]	Load a row
2023-10-13	13:24:12	3385	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:12	3385	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:12	3385	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:12	3385	[DEBUG]	Executed store
2023-10-13	13:24:12	3385	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:12	3385	[DEBUG]	Manufacturer exists
2023-10-13	13:24:12	3385	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:12	3385	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:12	3385	[DEBUG]	Executed store
2023-10-13	13:24:12	3385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862877','242')
2023-10-13	13:24:12	3385	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:12	3385	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:12	3385	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862877 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:12	3385	[DEBUG]	Store custom available field
2023-10-13	13:24:12	3385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862877,3,'',1)
2023-10-13	13:24:12	3385	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:12	3385	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:12	3385	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862877 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:12	3385	[DEBUG]	Store custom available field
2023-10-13	13:24:12	3385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862877,6,'Unitaire',3)
2023-10-13	13:24:12	3385	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:12	3385	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:12	3385	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862876
2023-10-13	13:24:12	3385	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:12	3385	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862876\":[1862876,8,1,\"choisir la taille\"],\"1862877\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862876
2023-10-13	13:24:12	3385	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:12	3385	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862877
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:12	3386	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field taille
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:12	3386	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:12	3386	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:12	3386	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:12	3386	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:12	3386	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:12	3386	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field published
2023-10-13	13:24:12	3386	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:12	3386	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field override
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:12	3386	[DEBUG]	Use field value for field slug
2023-10-13	13:24:12	3386	[DEBUG]	Process line 3386
2023-10-13	13:24:12	3386	[DEBUG]	Load a row
2023-10-13	13:24:12	3386	[DEBUG]	Processing item: A_7735_1
2023-10-13	13:24:12	3386	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:12	3386	[DEBUG]	Processing product tax
2023-10-13	13:24:12	3386	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:12	3386	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:12	3386	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:12	3386	[DEBUG]	Query for Product
2023-10-13	13:24:12	3386	[DEBUG]	Executed store
2023-10-13	13:24:12	3386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7735_1','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:12	3386	[DEBUG]	Check product language entry
2023-10-13	13:24:12	3386	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862878
2023-10-13	13:24:12	3386	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:12	3386	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7735_1' AND `virtuemart_product_id` != 1862878
2023-10-13	13:24:12	3386	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:12	3386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862878, 'A_7735_1')
2023-10-13	13:24:12	3386	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:12	3386	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-avant-airstream-2-noir' AND `virtuemart_product_id` != 1862878
2023-10-13	13:24:12	3386	[DEBUG]	Query for ProductLang
2023-10-13	13:24:12	3386	[DEBUG]	Executed store
2023-10-13	13:24:12	3386	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.041',`product_name`='SUPERNOVA Lumière avant Airstream 2 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-avant-airstream-2-noir' WHERE `virtuemart_product_id` = '1862878'
2023-10-13	13:24:12	3386	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35959_supernova_feu_avant_airstream_2.jpg
2023-10-13	13:24:12	3386	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:12	3386	[DEBUG]	Process image file
2023-10-13	13:24:12	3386	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:12	3386	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:12	3386	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35959_supernova_feu_avant_airstream_2.jpg
2023-10-13	13:24:12	3386	[DEBUG]	Full name target: bcprisme/35959_supernova_feu_avant_airstream_2.jpg
2023-10-13	13:24:13	3386	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:13	3386	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35959_supernova_feu_avant_airstream_2.jpg'
2023-10-13	13:24:13	3386	[DEBUG]	Query for Media
2023-10-13	13:24:13	3386	[DEBUG]	Executed store
2023-10-13	13:24:13	3386	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35959_supernova_feu_avant_airstream_2.jpg',`file_url_thumb`='bcprisme/35959_supernova_feu_avant_airstream_2.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437609'
2023-10-13	13:24:13	3386	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:13	3386	[DEBUG]	Executed store
2023-10-13	13:24:13	3386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862878','437609','1')
2023-10-13	13:24:13	3386	[DEBUG]	Store product image relation
2023-10-13	13:24:13	3386	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:13	3386	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862878 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:13	3386	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:13	3386	[DEBUG]	Executed store
2023-10-13	13:24:13	3386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862878','0','203.342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:13	3386	[DEBUG]	Checking manufacturer
2023-10-13	13:24:13	3386	[DEBUG]	Load a row
2023-10-13	13:24:13	3386	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:13	3386	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:13	3386	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:13	3386	[DEBUG]	Executed store
2023-10-13	13:24:13	3386	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:13	3386	[DEBUG]	Manufacturer exists
2023-10-13	13:24:13	3386	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:13	3386	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:13	3386	[DEBUG]	Executed store
2023-10-13	13:24:13	3386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862878','242')
2023-10-13	13:24:13	3386	[DEBUG]	Find the custom field ID
2023-10-13	13:24:13	3386	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:13	3386	[DEBUG]	No custom field ID found
2023-10-13	13:24:13	3386	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:13	3386	[DEBUG]	Get existing row with customfield value 5.88361111111111
2023-10-13	13:24:13	3386	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862878 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:13	3386	[DEBUG]	Store custom available field
2023-10-13	13:24:13	3386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862878,3,'5.88361111111111',1)
2023-10-13	13:24:13	3386	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:13	3386	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:13	3386	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862878 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:13	3386	[DEBUG]	Store custom available field
2023-10-13	13:24:13	3386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862878,6,'choisir la taille',3)
2023-10-13	13:24:13	3386	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:13	3386	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:13	3386	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:13	3386	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:13	3386	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862878 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:13	3386	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:13	3386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862878,8,1)
2023-10-13	13:24:13	3386	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:13	3386	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862878\":[1862878,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862878
2023-10-13	13:24:13	3386	[DEBUG]	Checking category
2023-10-13	13:24:13	3386	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:13	3386	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862878
2023-10-13	13:24:13	3386	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:13	3386	[DEBUG]	Executed store
2023-10-13	13:24:13	3386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862878','7375')
2023-10-13	13:24:13	3386	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:13	3386	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862878 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:13	3386	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:13	3386	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862878
2023-10-13	13:24:13	3387	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:13	3387	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:13	3387	[DEBUG]	Use field value for field taille
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:13	3387	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:13	3387	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:13	3387	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:13	3387	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:13	3387	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:13	3387	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:13	3387	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:13	3387	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:13	3387	[DEBUG]	Use field value for field published
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:13	3387	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field override
2023-10-13	13:24:13	3387	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:13	3387	[DEBUG]	Use field value for field slug
2023-10-13	13:24:13	3387	[DEBUG]	Process line 3387
2023-10-13	13:24:13	3387	[DEBUG]	Load a row
2023-10-13	13:24:13	3387	[DEBUG]	Processing item: 1000000135718
2023-10-13	13:24:13	3387	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:13	3387	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:13	3387	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7735_1'
2023-10-13	13:24:13	3387	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:13	3387	[DEBUG]	Processing product tax
2023-10-13	13:24:13	3387	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:13	3387	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:13	3387	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:13	3387	[DEBUG]	Query for Product
2023-10-13	13:24:13	3387	[DEBUG]	Executed store
2023-10-13	13:24:13	3387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862878','1000000135718','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:13	3387	[DEBUG]	No parent found
2023-10-13	13:24:13	3387	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862878 AND customfield_value = 'stockable'
2023-10-13	13:24:13	3387	[DEBUG]	Check product language entry
2023-10-13	13:24:13	3387	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862879
2023-10-13	13:24:13	3387	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:13	3387	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000135718' AND `virtuemart_product_id` != 1862879
2023-10-13	13:24:13	3387	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:13	3387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862879, '1000000135718')
2023-10-13	13:24:13	3387	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:13	3387	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-avant-airstream-2-noir-unitaire' AND `virtuemart_product_id` != 1862879
2023-10-13	13:24:13	3387	[DEBUG]	Query for ProductLang
2023-10-13	13:24:13	3387	[DEBUG]	Executed store
2023-10-13	13:24:13	3387	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Lumière avant Airstream 2 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-avant-airstream-2-noir-unitaire' WHERE `virtuemart_product_id` = '1862879'
2023-10-13	13:24:13	3387	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35959_supernova_feu_avant_airstream_2.jpg
2023-10-13	13:24:13	3387	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:13	3387	[DEBUG]	Process image file
2023-10-13	13:24:13	3387	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:13	3387	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:13	3387	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35959_supernova_feu_avant_airstream_2.jpg
2023-10-13	13:24:13	3387	[DEBUG]	Full name target: bcprisme/35959_supernova_feu_avant_airstream_2.jpg
2023-10-13	13:24:14	3387	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:14	3387	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35959_supernova_feu_avant_airstream_2.jpg'
2023-10-13	13:24:14	3387	[DEBUG]	Query for Media
2023-10-13	13:24:14	3387	[DEBUG]	Executed store
2023-10-13	13:24:14	3387	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35959_supernova_feu_avant_airstream_2.jpg',`file_url_thumb`='bcprisme/35959_supernova_feu_avant_airstream_2.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437609'
2023-10-13	13:24:14	3387	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:14	3387	[DEBUG]	Executed store
2023-10-13	13:24:14	3387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862879','437609','1')
2023-10-13	13:24:14	3387	[DEBUG]	Store product image relation
2023-10-13	13:24:14	3387	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:14	3387	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862879 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:14	3387	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:14	3387	[DEBUG]	Executed store
2023-10-13	13:24:14	3387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862879','0','203.342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:14	3387	[DEBUG]	Checking manufacturer
2023-10-13	13:24:14	3387	[DEBUG]	Load a row
2023-10-13	13:24:14	3387	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:14	3387	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:14	3387	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:14	3387	[DEBUG]	Executed store
2023-10-13	13:24:14	3387	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:14	3387	[DEBUG]	Manufacturer exists
2023-10-13	13:24:14	3387	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:14	3387	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:14	3387	[DEBUG]	Executed store
2023-10-13	13:24:14	3387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862879','242')
2023-10-13	13:24:14	3387	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:14	3387	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:14	3387	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862879 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:14	3387	[DEBUG]	Store custom available field
2023-10-13	13:24:14	3387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862879,3,'',1)
2023-10-13	13:24:14	3387	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:14	3387	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:14	3387	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862879 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:14	3387	[DEBUG]	Store custom available field
2023-10-13	13:24:14	3387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862879,6,'Unitaire',3)
2023-10-13	13:24:14	3387	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:14	3387	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:14	3387	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862878
2023-10-13	13:24:14	3387	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:14	3387	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862878\":[1862878,8,1,\"choisir la taille\"],\"1862879\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862878
2023-10-13	13:24:14	3387	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:14	3387	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862879
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:14	3388	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field taille
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:14	3388	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:14	3388	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:14	3388	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:14	3388	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:14	3388	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:14	3388	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field published
2023-10-13	13:24:14	3388	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:14	3388	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field override
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:14	3388	[DEBUG]	Use field value for field slug
2023-10-13	13:24:14	3388	[DEBUG]	Process line 3388
2023-10-13	13:24:14	3388	[DEBUG]	Load a row
2023-10-13	13:24:14	3388	[DEBUG]	Processing item: A_7736_1
2023-10-13	13:24:14	3388	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:14	3388	[DEBUG]	Processing product tax
2023-10-13	13:24:14	3388	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:14	3388	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:14	3388	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:14	3388	[DEBUG]	Query for Product
2023-10-13	13:24:14	3388	[DEBUG]	Executed store
2023-10-13	13:24:14	3388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7736_1','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:14	3388	[DEBUG]	Check product language entry
2023-10-13	13:24:14	3388	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862880
2023-10-13	13:24:14	3388	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:14	3388	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7736_1' AND `virtuemart_product_id` != 1862880
2023-10-13	13:24:14	3388	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:14	3388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862880, 'A_7736_1')
2023-10-13	13:24:14	3388	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:14	3388	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-arriere-e3-tail-light-2-noir' AND `virtuemart_product_id` != 1862880
2023-10-13	13:24:14	3388	[DEBUG]	Query for ProductLang
2023-10-13	13:24:14	3388	[DEBUG]	Executed store
2023-10-13	13:24:14	3388	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.037',`product_name`='SUPERNOVA Lumière arrière E3 Tail light 2 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-arriere-e3-tail-light-2-noir' WHERE `virtuemart_product_id` = '1862880'
2023-10-13	13:24:14	3388	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35960_supernova_feu_arriere_e3_tail_light_2.jpg
2023-10-13	13:24:14	3388	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:14	3388	[DEBUG]	Process image file
2023-10-13	13:24:14	3388	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:14	3388	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:14	3388	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35960_supernova_feu_arriere_e3_tail_light_2.jpg
2023-10-13	13:24:14	3388	[DEBUG]	Full name target: bcprisme/35960_supernova_feu_arriere_e3_tail_light_2.jpg
2023-10-13	13:24:15	3388	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:15	3388	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35960_supernova_feu_arriere_e3_tail_light_2.jpg'
2023-10-13	13:24:15	3388	[DEBUG]	Query for Media
2023-10-13	13:24:15	3388	[DEBUG]	Executed store
2023-10-13	13:24:15	3388	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35960_supernova_feu_arriere_e3_tail_light_2.jpg',`file_url_thumb`='bcprisme/35960_supernova_feu_arriere_e3_tail_light_2.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437611'
2023-10-13	13:24:15	3388	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:15	3388	[DEBUG]	Executed store
2023-10-13	13:24:15	3388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862880','437611','1')
2023-10-13	13:24:15	3388	[DEBUG]	Store product image relation
2023-10-13	13:24:15	3388	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:15	3388	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862880 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:15	3388	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:15	3388	[DEBUG]	Executed store
2023-10-13	13:24:15	3388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862880','0','49.1179201485608','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:15	3388	[DEBUG]	Checking manufacturer
2023-10-13	13:24:15	3388	[DEBUG]	Load a row
2023-10-13	13:24:15	3388	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:15	3388	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:15	3388	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:15	3388	[DEBUG]	Executed store
2023-10-13	13:24:15	3388	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:15	3388	[DEBUG]	Manufacturer exists
2023-10-13	13:24:15	3388	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:15	3388	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:15	3388	[DEBUG]	Executed store
2023-10-13	13:24:15	3388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862880','242')
2023-10-13	13:24:15	3388	[DEBUG]	Find the custom field ID
2023-10-13	13:24:15	3388	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:15	3388	[DEBUG]	No custom field ID found
2023-10-13	13:24:15	3388	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:15	3388	[DEBUG]	Get existing row with customfield value 5.88361111111111
2023-10-13	13:24:15	3388	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862880 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:15	3388	[DEBUG]	Store custom available field
2023-10-13	13:24:15	3388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862880,3,'5.88361111111111',1)
2023-10-13	13:24:15	3388	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:15	3388	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:15	3388	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862880 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:15	3388	[DEBUG]	Store custom available field
2023-10-13	13:24:15	3388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862880,6,'choisir la taille',3)
2023-10-13	13:24:15	3388	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:15	3388	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:15	3388	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:15	3388	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:15	3388	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862880 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:15	3388	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:15	3388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862880,8,1)
2023-10-13	13:24:15	3388	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:15	3388	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862880\":[1862880,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862880
2023-10-13	13:24:15	3388	[DEBUG]	Checking category
2023-10-13	13:24:15	3388	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:15	3388	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862880
2023-10-13	13:24:15	3388	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:15	3388	[DEBUG]	Executed store
2023-10-13	13:24:15	3388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862880','7375')
2023-10-13	13:24:15	3388	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:15	3388	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862880 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:15	3388	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:15	3388	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862880
2023-10-13	13:24:15	3389	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:15	3389	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:15	3389	[DEBUG]	Use field value for field taille
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:15	3389	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:15	3389	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:15	3389	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:15	3389	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:15	3389	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:15	3389	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:15	3389	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:15	3389	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:15	3389	[DEBUG]	Use field value for field published
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:15	3389	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field override
2023-10-13	13:24:15	3389	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:15	3389	[DEBUG]	Use field value for field slug
2023-10-13	13:24:15	3389	[DEBUG]	Process line 3389
2023-10-13	13:24:15	3389	[DEBUG]	Load a row
2023-10-13	13:24:15	3389	[DEBUG]	Processing item: 1000000135725
2023-10-13	13:24:15	3389	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:15	3389	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:15	3389	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7736_1'
2023-10-13	13:24:15	3389	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:15	3389	[DEBUG]	Processing product tax
2023-10-13	13:24:15	3389	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:15	3389	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:15	3389	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:15	3389	[DEBUG]	Query for Product
2023-10-13	13:24:15	3389	[DEBUG]	Executed store
2023-10-13	13:24:15	3389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862880','1000000135725','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:15	3389	[DEBUG]	No parent found
2023-10-13	13:24:15	3389	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862880 AND customfield_value = 'stockable'
2023-10-13	13:24:15	3389	[DEBUG]	Check product language entry
2023-10-13	13:24:15	3389	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862881
2023-10-13	13:24:15	3389	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:15	3389	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000135725' AND `virtuemart_product_id` != 1862881
2023-10-13	13:24:15	3389	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:15	3389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862881, '1000000135725')
2023-10-13	13:24:15	3389	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:15	3389	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-arriere-e3-tail-light-2-noir-unitaire' AND `virtuemart_product_id` != 1862881
2023-10-13	13:24:15	3389	[DEBUG]	Query for ProductLang
2023-10-13	13:24:15	3389	[DEBUG]	Executed store
2023-10-13	13:24:15	3389	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Lumière arrière E3 Tail light 2 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-arriere-e3-tail-light-2-noir-unitaire' WHERE `virtuemart_product_id` = '1862881'
2023-10-13	13:24:15	3389	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35960_supernova_feu_arriere_e3_tail_light_2.jpg
2023-10-13	13:24:15	3389	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:15	3389	[DEBUG]	Process image file
2023-10-13	13:24:15	3389	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:15	3389	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:15	3389	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35960_supernova_feu_arriere_e3_tail_light_2.jpg
2023-10-13	13:24:15	3389	[DEBUG]	Full name target: bcprisme/35960_supernova_feu_arriere_e3_tail_light_2.jpg
2023-10-13	13:24:16	3389	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:16	3389	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35960_supernova_feu_arriere_e3_tail_light_2.jpg'
2023-10-13	13:24:16	3389	[DEBUG]	Query for Media
2023-10-13	13:24:16	3389	[DEBUG]	Executed store
2023-10-13	13:24:16	3389	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35960_supernova_feu_arriere_e3_tail_light_2.jpg',`file_url_thumb`='bcprisme/35960_supernova_feu_arriere_e3_tail_light_2.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437611'
2023-10-13	13:24:16	3389	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:16	3389	[DEBUG]	Executed store
2023-10-13	13:24:16	3389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862881','437611','1')
2023-10-13	13:24:16	3389	[DEBUG]	Store product image relation
2023-10-13	13:24:16	3389	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:16	3389	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862881 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:16	3389	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:16	3389	[DEBUG]	Executed store
2023-10-13	13:24:16	3389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862881','0','49.1179201485608','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:16	3389	[DEBUG]	Checking manufacturer
2023-10-13	13:24:16	3389	[DEBUG]	Load a row
2023-10-13	13:24:16	3389	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:16	3389	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:16	3389	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:16	3389	[DEBUG]	Executed store
2023-10-13	13:24:16	3389	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:16	3389	[DEBUG]	Manufacturer exists
2023-10-13	13:24:16	3389	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:16	3389	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:16	3389	[DEBUG]	Executed store
2023-10-13	13:24:16	3389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862881','242')
2023-10-13	13:24:16	3389	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:16	3389	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:16	3389	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862881 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:16	3389	[DEBUG]	Store custom available field
2023-10-13	13:24:16	3389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862881,3,'',1)
2023-10-13	13:24:16	3389	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:16	3389	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:16	3389	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862881 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:16	3389	[DEBUG]	Store custom available field
2023-10-13	13:24:16	3389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862881,6,'Unitaire',3)
2023-10-13	13:24:16	3389	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:16	3389	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:16	3389	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862880
2023-10-13	13:24:16	3389	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:16	3389	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862880\":[1862880,8,1,\"choisir la taille\"],\"1862881\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862880
2023-10-13	13:24:16	3389	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:16	3389	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862881
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:16	3390	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field taille
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:16	3390	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:16	3390	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:16	3390	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:16	3390	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:16	3390	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:16	3390	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field published
2023-10-13	13:24:16	3390	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:16	3390	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field override
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:16	3390	[DEBUG]	Use field value for field slug
2023-10-13	13:24:16	3390	[DEBUG]	Process line 3390
2023-10-13	13:24:16	3390	[DEBUG]	Load a row
2023-10-13	13:24:16	3390	[DEBUG]	Processing item: A_7776_1
2023-10-13	13:24:16	3390	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:16	3390	[DEBUG]	Processing product tax
2023-10-13	13:24:16	3390	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:16	3390	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:16	3390	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:16	3390	[DEBUG]	Query for Product
2023-10-13	13:24:16	3390	[DEBUG]	Executed store
2023-10-13	13:24:16	3390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7776_1','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:16	3390	[DEBUG]	Check product language entry
2023-10-13	13:24:16	3390	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862882
2023-10-13	13:24:16	3390	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:16	3390	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7776_1' AND `virtuemart_product_id` != 1862882
2023-10-13	13:24:16	3390	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:16	3390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862882, 'A_7776_1')
2023-10-13	13:24:16	3390	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:16	3390	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-arriere-supernova-e3-tail-light-2-12v-noir' AND `virtuemart_product_id` != 1862882
2023-10-13	13:24:16	3390	[DEBUG]	Query for ProductLang
2023-10-13	13:24:16	3390	[DEBUG]	Executed store
2023-10-13	13:24:16	3390	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Description du produit Le Supernova E3 Tail Light 2 assure une sécurité optimale à l\'arrière. Grâce à sa nouvelle technologie Twin Beam, il offre un éclairage puissant vers l\'arrière ainsi que sur les côtés sur un angle de 250°. Avec seulement 18 g, il est le feu arrière étanche à dynamo le plus compact du monde. La fonction feu de position est réalisée via le feu avant Supernova. Le feu arrière dispose d\'un corps en aluminium usiné sur CNC et ravit par son élégance discrète. Il se monte sur la tige de selle. Twin Beam Technology Tous les feux arrière Supernova sont équipés de la technologie Twin Beam. Elle consiste en la combinaison de 2 angles de diffusion différents. Cette technologie rend le feu arrière particulièrement efficace en éclairant toute la zone de danger. Le feu arrière Supernova E3 Tail Light 2 se distingue par les caractéristiques suivantes: Angle de diffusion de 250° Puissance: 0.3 W Inclus: 1 x feu arrière Supernova E3 Tail Light 2 12V <br>N° art fourn : 600.003.038',`product_name`='SUPERNOVA Lumière arrière Supernova E3 Tail Light 2, 12V / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-arriere-supernova-e3-tail-light-2-12v-noir' WHERE `virtuemart_product_id` = '1862882'
2023-10-13	13:24:16	3390	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36147_feu_arriere_supernova_e3_tail_light_2,_12v.png
2023-10-13	13:24:16	3390	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000000c5
2023-10-13	13:24:16	3390	[DEBUG]	Process image file
2023-10-13	13:24:16	3390	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000000c5
2023-10-13	13:24:16	3390	[DEBUG]	Mime type found: image/png
2023-10-13	13:24:16	3390	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36147_feu_arriere_supernova_e3_tail_light_2,_12v.png
2023-10-13	13:24:16	3390	[DEBUG]	Full name target: bcprisme/36147_feu_arriere_supernova_e3_tail_light_2,_12v.png
2023-10-13	13:24:17	3390	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:17	3390	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36147_feu_arriere_supernova_e3_tail_light_2,_12v.png'
2023-10-13	13:24:17	3390	[DEBUG]	Query for Media
2023-10-13	13:24:17	3390	[DEBUG]	Executed store
2023-10-13	13:24:17	3390	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36147_feu_arriere_supernova_e3_tail_light_2,_12v.png',`file_url_thumb`='bcprisme/36147_feu_arriere_supernova_e3_tail_light_2,_12v.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481620'
2023-10-13	13:24:17	3390	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:17	3390	[DEBUG]	Executed store
2023-10-13	13:24:17	3390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862882','481620','1')
2023-10-13	13:24:17	3390	[DEBUG]	Store product image relation
2023-10-13	13:24:17	3390	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:17	3390	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862882 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:17	3390	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:17	3390	[DEBUG]	Executed store
2023-10-13	13:24:17	3390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862882','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:17	3390	[DEBUG]	Checking manufacturer
2023-10-13	13:24:17	3390	[DEBUG]	Load a row
2023-10-13	13:24:17	3390	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:17	3390	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:17	3390	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:17	3390	[DEBUG]	Executed store
2023-10-13	13:24:17	3390	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:17	3390	[DEBUG]	Manufacturer exists
2023-10-13	13:24:17	3390	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:17	3390	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:17	3390	[DEBUG]	Executed store
2023-10-13	13:24:17	3390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862882','242')
2023-10-13	13:24:17	3390	[DEBUG]	Find the custom field ID
2023-10-13	13:24:17	3390	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:17	3390	[DEBUG]	No custom field ID found
2023-10-13	13:24:17	3390	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:17	3390	[DEBUG]	Get existing row with customfield value 5.88361111111111
2023-10-13	13:24:17	3390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862882 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:17	3390	[DEBUG]	Store custom available field
2023-10-13	13:24:17	3390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862882,3,'5.88361111111111',1)
2023-10-13	13:24:17	3390	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:17	3390	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:17	3390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862882 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:17	3390	[DEBUG]	Store custom available field
2023-10-13	13:24:17	3390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862882,6,'choisir la taille',3)
2023-10-13	13:24:17	3390	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:17	3390	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:17	3390	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:17	3390	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:17	3390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862882 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:17	3390	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:17	3390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862882,8,1)
2023-10-13	13:24:17	3390	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:17	3390	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862882\":[1862882,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862882
2023-10-13	13:24:17	3390	[DEBUG]	Checking category
2023-10-13	13:24:17	3390	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:17	3390	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862882
2023-10-13	13:24:17	3390	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:17	3390	[DEBUG]	Executed store
2023-10-13	13:24:17	3390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862882','7375')
2023-10-13	13:24:17	3390	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:17	3390	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862882 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:17	3390	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:17	3390	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862882
2023-10-13	13:24:17	3391	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:17	3391	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:17	3391	[DEBUG]	Use field value for field taille
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:17	3391	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:17	3391	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:17	3391	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:17	3391	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:17	3391	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:17	3391	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:17	3391	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:17	3391	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:17	3391	[DEBUG]	Use field value for field published
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:17	3391	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field override
2023-10-13	13:24:17	3391	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:17	3391	[DEBUG]	Use field value for field slug
2023-10-13	13:24:17	3391	[DEBUG]	Process line 3391
2023-10-13	13:24:17	3391	[DEBUG]	Load a row
2023-10-13	13:24:17	3391	[DEBUG]	Processing item: 4260224790804
2023-10-13	13:24:17	3391	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:17	3391	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:17	3391	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7776_1'
2023-10-13	13:24:17	3391	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:17	3391	[DEBUG]	Processing product tax
2023-10-13	13:24:17	3391	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:17	3391	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:17	3391	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:17	3391	[DEBUG]	Query for Product
2023-10-13	13:24:17	3391	[DEBUG]	Executed store
2023-10-13	13:24:17	3391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862882','4260224790804','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:17	3391	[DEBUG]	No parent found
2023-10-13	13:24:17	3391	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862882 AND customfield_value = 'stockable'
2023-10-13	13:24:17	3391	[DEBUG]	Check product language entry
2023-10-13	13:24:17	3391	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862883
2023-10-13	13:24:17	3391	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:17	3391	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224790804' AND `virtuemart_product_id` != 1862883
2023-10-13	13:24:17	3391	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:17	3391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862883, '4260224790804')
2023-10-13	13:24:17	3391	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:17	3391	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-arriere-supernova-e3-tail-light-2-12v-noir-unitaire' AND `virtuemart_product_id` != 1862883
2023-10-13	13:24:17	3391	[DEBUG]	Query for ProductLang
2023-10-13	13:24:17	3391	[DEBUG]	Executed store
2023-10-13	13:24:17	3391	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Lumière arrière Supernova E3 Tail Light 2, 12V / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-arriere-supernova-e3-tail-light-2-12v-noir-unitaire' WHERE `virtuemart_product_id` = '1862883'
2023-10-13	13:24:17	3391	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36147_feu_arriere_supernova_e3_tail_light_2,_12v.png
2023-10-13	13:24:17	3391	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000000c5
2023-10-13	13:24:17	3391	[DEBUG]	Process image file
2023-10-13	13:24:17	3391	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000000c5
2023-10-13	13:24:17	3391	[DEBUG]	Mime type found: image/png
2023-10-13	13:24:17	3391	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36147_feu_arriere_supernova_e3_tail_light_2,_12v.png
2023-10-13	13:24:17	3391	[DEBUG]	Full name target: bcprisme/36147_feu_arriere_supernova_e3_tail_light_2,_12v.png
2023-10-13	13:24:18	3391	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:18	3391	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36147_feu_arriere_supernova_e3_tail_light_2,_12v.png'
2023-10-13	13:24:18	3391	[DEBUG]	Query for Media
2023-10-13	13:24:18	3391	[DEBUG]	Executed store
2023-10-13	13:24:18	3391	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36147_feu_arriere_supernova_e3_tail_light_2,_12v.png',`file_url_thumb`='bcprisme/36147_feu_arriere_supernova_e3_tail_light_2,_12v.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481620'
2023-10-13	13:24:18	3391	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:18	3391	[DEBUG]	Executed store
2023-10-13	13:24:18	3391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862883','481620','1')
2023-10-13	13:24:18	3391	[DEBUG]	Store product image relation
2023-10-13	13:24:18	3391	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:18	3391	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862883 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:18	3391	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:18	3391	[DEBUG]	Executed store
2023-10-13	13:24:18	3391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862883','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:18	3391	[DEBUG]	Checking manufacturer
2023-10-13	13:24:18	3391	[DEBUG]	Load a row
2023-10-13	13:24:18	3391	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:18	3391	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:18	3391	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:18	3391	[DEBUG]	Executed store
2023-10-13	13:24:18	3391	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:18	3391	[DEBUG]	Manufacturer exists
2023-10-13	13:24:18	3391	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:18	3391	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:18	3391	[DEBUG]	Executed store
2023-10-13	13:24:18	3391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862883','242')
2023-10-13	13:24:18	3391	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:18	3391	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:18	3391	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862883 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:18	3391	[DEBUG]	Store custom available field
2023-10-13	13:24:18	3391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862883,3,'',1)
2023-10-13	13:24:18	3391	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:18	3391	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:18	3391	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862883 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:18	3391	[DEBUG]	Store custom available field
2023-10-13	13:24:18	3391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862883,6,'Unitaire',3)
2023-10-13	13:24:18	3391	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:18	3391	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:18	3391	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862882
2023-10-13	13:24:18	3391	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:18	3391	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862882\":[1862882,8,1,\"choisir la taille\"],\"1862883\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862882
2023-10-13	13:24:18	3391	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:18	3391	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862883
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:18	3392	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field taille
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:18	3392	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:18	3392	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:18	3392	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:18	3392	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:18	3392	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:18	3392	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field published
2023-10-13	13:24:18	3392	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:18	3392	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field override
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:18	3392	[DEBUG]	Use field value for field slug
2023-10-13	13:24:18	3392	[DEBUG]	Process line 3392
2023-10-13	13:24:18	3392	[DEBUG]	Load a row
2023-10-13	13:24:18	3392	[DEBUG]	Processing item: A_7779_1
2023-10-13	13:24:18	3392	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:18	3392	[DEBUG]	Processing product tax
2023-10-13	13:24:18	3392	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:18	3392	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:18	3392	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:18	3392	[DEBUG]	Query for Product
2023-10-13	13:24:18	3392	[DEBUG]	Executed store
2023-10-13	13:24:18	3392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7779_1','0.058','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:18	3392	[DEBUG]	Check product language entry
2023-10-13	13:24:18	3392	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862884
2023-10-13	13:24:18	3392	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:18	3392	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7779_1' AND `virtuemart_product_id` != 1862884
2023-10-13	13:24:18	3392	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:18	3392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862884, 'A_7779_1')
2023-10-13	13:24:18	3392	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:18	3392	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-collier-de-guidon-pour-supernova-35-mm-noir' AND `virtuemart_product_id` != 1862884
2023-10-13	13:24:18	3392	[DEBUG]	Query for ProductLang
2023-10-13	13:24:18	3392	[DEBUG]	Executed store
2023-10-13	13:24:18	3392	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lumière Xeccon - Link - 300 Lumen Lumens: 300 LED: 2*Cree XM-L Battery: Lithium Polymer Run Times: 1.2Hr High / 4Hr Low / 9.9Hr Strobe Charge Time: 5 Hrs Voltage/Capacity: 4.2V / 1000mAh Mount: Handlebar Power: USB 5V Waterproof level: IPX7 Accessories included: Manual, USB cable, handlebar mount Certifications: CE/ RoHS 58 gr.<br>N° art fourn : 600.003.048',`product_name`='SHIMANO Collier de guidon pour Supernova 35 mm  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-collier-de-guidon-pour-supernova-35-mm-noir' WHERE `virtuemart_product_id` = '1862884'
2023-10-13	13:24:18	3392	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36150_collier_de_guidon_pour_supernova_35_mm_(copie).jpg
2023-10-13	13:24:18	3392	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:24:18	3392	[DEBUG]	Process image file
2023-10-13	13:24:18	3392	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:24:18	3392	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:18	3392	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36150_collier_de_guidon_pour_supernova_35_mm_(copie).jpg
2023-10-13	13:24:18	3392	[DEBUG]	Full name target: bcprisme/36150_collier_de_guidon_pour_supernova_35_mm_(copie).jpg
2023-10-13	13:24:19	3392	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:19	3392	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36150_collier_de_guidon_pour_supernova_35_mm_(copie).jpg'
2023-10-13	13:24:19	3392	[DEBUG]	Query for Media
2023-10-13	13:24:19	3392	[DEBUG]	Executed store
2023-10-13	13:24:19	3392	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36150_collier_de_guidon_pour_supernova_35_mm_(copie).jpg',`file_url_thumb`='bcprisme/36150_collier_de_guidon_pour_supernova_35_mm_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481622'
2023-10-13	13:24:19	3392	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:19	3392	[DEBUG]	Executed store
2023-10-13	13:24:19	3392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862884','481622','1')
2023-10-13	13:24:19	3392	[DEBUG]	Store product image relation
2023-10-13	13:24:19	3392	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:19	3392	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862884 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:19	3392	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:19	3392	[DEBUG]	Executed store
2023-10-13	13:24:19	3392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862884','0','35.1903435468895','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:19	3392	[DEBUG]	Checking manufacturer
2023-10-13	13:24:19	3392	[DEBUG]	Load a row
2023-10-13	13:24:19	3392	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:19	3392	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:24:19	3392	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:19	3392	[DEBUG]	Executed store
2023-10-13	13:24:19	3392	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:24:19	3392	[DEBUG]	Manufacturer exists
2023-10-13	13:24:19	3392	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:24:19	3392	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:19	3392	[DEBUG]	Executed store
2023-10-13	13:24:19	3392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862884','123')
2023-10-13	13:24:19	3392	[DEBUG]	Find the custom field ID
2023-10-13	13:24:19	3392	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:19	3392	[DEBUG]	No custom field ID found
2023-10-13	13:24:19	3392	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:19	3392	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:24:19	3392	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862884 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:19	3392	[DEBUG]	Store custom available field
2023-10-13	13:24:19	3392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862884,3,'99.6225',1)
2023-10-13	13:24:19	3392	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:19	3392	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:19	3392	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862884 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:19	3392	[DEBUG]	Store custom available field
2023-10-13	13:24:19	3392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862884,6,'choisir la taille',3)
2023-10-13	13:24:19	3392	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:19	3392	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:19	3392	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:19	3392	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:19	3392	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862884 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:19	3392	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:19	3392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862884,8,1)
2023-10-13	13:24:19	3392	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:19	3392	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862884\":[1862884,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862884
2023-10-13	13:24:19	3392	[DEBUG]	Checking category
2023-10-13	13:24:19	3392	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:19	3392	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862884
2023-10-13	13:24:19	3392	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:19	3392	[DEBUG]	Executed store
2023-10-13	13:24:19	3392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862884','7375')
2023-10-13	13:24:19	3392	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:19	3392	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862884 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:19	3392	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:19	3392	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862884
2023-10-13	13:24:19	3393	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:19	3393	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:19	3393	[DEBUG]	Use field value for field taille
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:19	3393	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:19	3393	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:19	3393	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:19	3393	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:19	3393	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:19	3393	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:19	3393	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:19	3393	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:19	3393	[DEBUG]	Use field value for field published
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:19	3393	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field override
2023-10-13	13:24:19	3393	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:19	3393	[DEBUG]	Use field value for field slug
2023-10-13	13:24:19	3393	[DEBUG]	Process line 3393
2023-10-13	13:24:19	3393	[DEBUG]	Load a row
2023-10-13	13:24:19	3393	[DEBUG]	Processing item: 4260224793591
2023-10-13	13:24:19	3393	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:19	3393	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:19	3393	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7779_1'
2023-10-13	13:24:19	3393	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:19	3393	[DEBUG]	Processing product tax
2023-10-13	13:24:19	3393	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:19	3393	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:19	3393	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:19	3393	[DEBUG]	Query for Product
2023-10-13	13:24:19	3393	[DEBUG]	Executed store
2023-10-13	13:24:19	3393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862884','4260224793591','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:19	3393	[DEBUG]	No parent found
2023-10-13	13:24:19	3393	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862884 AND customfield_value = 'stockable'
2023-10-13	13:24:19	3393	[DEBUG]	Check product language entry
2023-10-13	13:24:19	3393	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862885
2023-10-13	13:24:19	3393	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:19	3393	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224793591' AND `virtuemart_product_id` != 1862885
2023-10-13	13:24:19	3393	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:19	3393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862885, '4260224793591')
2023-10-13	13:24:19	3393	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:19	3393	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-collier-de-guidon-pour-supernova-35-mm-noir-unitaire' AND `virtuemart_product_id` != 1862885
2023-10-13	13:24:19	3393	[DEBUG]	Query for ProductLang
2023-10-13	13:24:19	3393	[DEBUG]	Executed store
2023-10-13	13:24:19	3393	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Collier de guidon pour Supernova 35 mm  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-collier-de-guidon-pour-supernova-35-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862885'
2023-10-13	13:24:19	3393	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36150_collier_de_guidon_pour_supernova_35_mm_(copie).jpg
2023-10-13	13:24:19	3393	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:24:19	3393	[DEBUG]	Process image file
2023-10-13	13:24:19	3393	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:24:19	3393	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:19	3393	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36150_collier_de_guidon_pour_supernova_35_mm_(copie).jpg
2023-10-13	13:24:19	3393	[DEBUG]	Full name target: bcprisme/36150_collier_de_guidon_pour_supernova_35_mm_(copie).jpg
2023-10-13	13:24:20	3393	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:20	3393	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36150_collier_de_guidon_pour_supernova_35_mm_(copie).jpg'
2023-10-13	13:24:20	3393	[DEBUG]	Query for Media
2023-10-13	13:24:20	3393	[DEBUG]	Executed store
2023-10-13	13:24:20	3393	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36150_collier_de_guidon_pour_supernova_35_mm_(copie).jpg',`file_url_thumb`='bcprisme/36150_collier_de_guidon_pour_supernova_35_mm_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481622'
2023-10-13	13:24:20	3393	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:20	3393	[DEBUG]	Executed store
2023-10-13	13:24:20	3393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862885','481622','1')
2023-10-13	13:24:20	3393	[DEBUG]	Store product image relation
2023-10-13	13:24:20	3393	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:20	3393	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862885 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:20	3393	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:20	3393	[DEBUG]	Executed store
2023-10-13	13:24:20	3393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862885','0','35.1903435468895','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:20	3393	[DEBUG]	Checking manufacturer
2023-10-13	13:24:20	3393	[DEBUG]	Load a row
2023-10-13	13:24:20	3393	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:20	3393	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:24:20	3393	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:20	3393	[DEBUG]	Executed store
2023-10-13	13:24:20	3393	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:24:20	3393	[DEBUG]	Manufacturer exists
2023-10-13	13:24:20	3393	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:24:20	3393	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:20	3393	[DEBUG]	Executed store
2023-10-13	13:24:20	3393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862885','123')
2023-10-13	13:24:20	3393	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:20	3393	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:20	3393	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862885 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:20	3393	[DEBUG]	Store custom available field
2023-10-13	13:24:20	3393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862885,3,'',1)
2023-10-13	13:24:20	3393	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:20	3393	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:20	3393	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862885 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:20	3393	[DEBUG]	Store custom available field
2023-10-13	13:24:20	3393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862885,6,'Unitaire',3)
2023-10-13	13:24:20	3393	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:20	3393	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:20	3393	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862884
2023-10-13	13:24:20	3393	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:20	3393	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862884\":[1862884,8,1,\"choisir la taille\"],\"1862885\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862884
2023-10-13	13:24:20	3393	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:20	3393	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862885
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:20	3394	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field taille
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:20	3394	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:20	3394	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:20	3394	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:20	3394	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:20	3394	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:20	3394	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field published
2023-10-13	13:24:20	3394	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:20	3394	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field override
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:20	3394	[DEBUG]	Use field value for field slug
2023-10-13	13:24:20	3394	[DEBUG]	Process line 3394
2023-10-13	13:24:20	3394	[DEBUG]	Load a row
2023-10-13	13:24:20	3394	[DEBUG]	Processing item: A_7863_1
2023-10-13	13:24:20	3394	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:20	3394	[DEBUG]	Processing product tax
2023-10-13	13:24:20	3394	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:20	3394	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:20	3394	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:20	3394	[DEBUG]	Query for Product
2023-10-13	13:24:20	3394	[DEBUG]	Executed store
2023-10-13	13:24:20	3394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7863_1','0.058','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:20	3394	[DEBUG]	Check product language entry
2023-10-13	13:24:20	3394	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862886
2023-10-13	13:24:20	3394	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:20	3394	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7863_1' AND `virtuemart_product_id` != 1862886
2023-10-13	13:24:20	3394	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:20	3394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862886, 'A_7863_1')
2023-10-13	13:24:20	3394	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:20	3394	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-e3-v521s-hbm-noir' AND `virtuemart_product_id` != 1862886
2023-10-13	13:24:20	3394	[DEBUG]	Query for ProductLang
2023-10-13	13:24:20	3394	[DEBUG]	Executed store
2023-10-13	13:24:20	3394	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lumière Xeccon - Link - 300 Lumen Lumens: 300 LED: 2*Cree XM-L Battery: Lithium Polymer Run Times: 1.2Hr High / 4Hr Low / 9.9Hr Strobe Charge Time: 5 Hrs Voltage/Capacity: 4.2V / 1000mAh Mount: Handlebar Power: USB 5V Waterproof level: IPX7 Accessories included: Manual, USB cable, handlebar mount Certifications: CE/ RoHS 58 gr.<br>N° art fourn : 600.003.096',`product_name`='SUPERNOVA E3 V521s HBM  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-e3-v521s-hbm-noir' WHERE `virtuemart_product_id` = '1862886'
2023-10-13	13:24:20	3394	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36269_supernova_e3_v521s_hbm_.jpg
2023-10-13	13:24:20	3394	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:20	3394	[DEBUG]	Process image file
2023-10-13	13:24:20	3394	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:20	3394	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:20	3394	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36269_supernova_e3_v521s_hbm_.jpg
2023-10-13	13:24:20	3394	[DEBUG]	Full name target: bcprisme/36269_supernova_e3_v521s_hbm_.jpg
2023-10-13	13:24:21	3394	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:21	3394	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36269_supernova_e3_v521s_hbm_.jpg'
2023-10-13	13:24:21	3394	[DEBUG]	Query for Media
2023-10-13	13:24:21	3394	[DEBUG]	Executed store
2023-10-13	13:24:21	3394	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36269_supernova_e3_v521s_hbm_.jpg',`file_url_thumb`='bcprisme/36269_supernova_e3_v521s_hbm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '504088'
2023-10-13	13:24:21	3394	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:21	3394	[DEBUG]	Executed store
2023-10-13	13:24:21	3394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862886','504088','1')
2023-10-13	13:24:21	3394	[DEBUG]	Store product image relation
2023-10-13	13:24:21	3394	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:21	3394	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862886 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:21	3394	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:21	3394	[DEBUG]	Executed store
2023-10-13	13:24:21	3394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862886','0','162.488393686165','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:21	3394	[DEBUG]	Checking manufacturer
2023-10-13	13:24:21	3394	[DEBUG]	Load a row
2023-10-13	13:24:21	3394	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:21	3394	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:21	3394	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:21	3394	[DEBUG]	Executed store
2023-10-13	13:24:21	3394	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:21	3394	[DEBUG]	Manufacturer exists
2023-10-13	13:24:21	3394	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:21	3394	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:21	3394	[DEBUG]	Executed store
2023-10-13	13:24:21	3394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862886','242')
2023-10-13	13:24:21	3394	[DEBUG]	Find the custom field ID
2023-10-13	13:24:21	3394	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:21	3394	[DEBUG]	No custom field ID found
2023-10-13	13:24:21	3394	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:21	3394	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:24:21	3394	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862886 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:21	3394	[DEBUG]	Store custom available field
2023-10-13	13:24:21	3394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862886,3,'99.6225',1)
2023-10-13	13:24:21	3394	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:21	3394	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:21	3394	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862886 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:21	3394	[DEBUG]	Store custom available field
2023-10-13	13:24:21	3394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862886,6,'choisir la taille',3)
2023-10-13	13:24:21	3394	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:21	3394	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:21	3394	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:21	3394	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:21	3394	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862886 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:21	3394	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:21	3394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862886,8,1)
2023-10-13	13:24:21	3394	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:21	3394	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862886\":[1862886,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862886
2023-10-13	13:24:21	3394	[DEBUG]	Checking category
2023-10-13	13:24:21	3394	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:21	3394	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862886
2023-10-13	13:24:21	3394	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:21	3394	[DEBUG]	Executed store
2023-10-13	13:24:21	3394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862886','7375')
2023-10-13	13:24:21	3394	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:21	3394	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862886 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:21	3394	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:21	3394	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862886
2023-10-13	13:24:21	3395	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:21	3395	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:21	3395	[DEBUG]	Use field value for field taille
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:21	3395	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:21	3395	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:21	3395	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:21	3395	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:21	3395	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:21	3395	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:21	3395	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:21	3395	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:21	3395	[DEBUG]	Use field value for field published
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:21	3395	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field override
2023-10-13	13:24:21	3395	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:21	3395	[DEBUG]	Use field value for field slug
2023-10-13	13:24:21	3395	[DEBUG]	Process line 3395
2023-10-13	13:24:21	3395	[DEBUG]	Load a row
2023-10-13	13:24:21	3395	[DEBUG]	Processing item: 4260224791313
2023-10-13	13:24:21	3395	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:21	3395	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:21	3395	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7863_1'
2023-10-13	13:24:21	3395	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:21	3395	[DEBUG]	Processing product tax
2023-10-13	13:24:21	3395	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:21	3395	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:21	3395	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:21	3395	[DEBUG]	Query for Product
2023-10-13	13:24:21	3395	[DEBUG]	Executed store
2023-10-13	13:24:21	3395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862886','4260224791313','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:21	3395	[DEBUG]	No parent found
2023-10-13	13:24:21	3395	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862886 AND customfield_value = 'stockable'
2023-10-13	13:24:21	3395	[DEBUG]	Check product language entry
2023-10-13	13:24:21	3395	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862887
2023-10-13	13:24:21	3395	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:21	3395	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224791313' AND `virtuemart_product_id` != 1862887
2023-10-13	13:24:21	3395	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:21	3395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862887, '4260224791313')
2023-10-13	13:24:21	3395	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:21	3395	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-e3-v521s-hbm-noir-unitaire' AND `virtuemart_product_id` != 1862887
2023-10-13	13:24:21	3395	[DEBUG]	Query for ProductLang
2023-10-13	13:24:21	3395	[DEBUG]	Executed store
2023-10-13	13:24:21	3395	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA E3 V521s HBM  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-e3-v521s-hbm-noir-unitaire' WHERE `virtuemart_product_id` = '1862887'
2023-10-13	13:24:21	3395	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36269_supernova_e3_v521s_hbm_.jpg
2023-10-13	13:24:21	3395	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:21	3395	[DEBUG]	Process image file
2023-10-13	13:24:21	3395	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:21	3395	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:21	3395	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36269_supernova_e3_v521s_hbm_.jpg
2023-10-13	13:24:21	3395	[DEBUG]	Full name target: bcprisme/36269_supernova_e3_v521s_hbm_.jpg
2023-10-13	13:24:22	3395	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:22	3395	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36269_supernova_e3_v521s_hbm_.jpg'
2023-10-13	13:24:22	3395	[DEBUG]	Query for Media
2023-10-13	13:24:22	3395	[DEBUG]	Executed store
2023-10-13	13:24:22	3395	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36269_supernova_e3_v521s_hbm_.jpg',`file_url_thumb`='bcprisme/36269_supernova_e3_v521s_hbm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '504088'
2023-10-13	13:24:22	3395	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:22	3395	[DEBUG]	Executed store
2023-10-13	13:24:22	3395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862887','504088','1')
2023-10-13	13:24:22	3395	[DEBUG]	Store product image relation
2023-10-13	13:24:22	3395	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:22	3395	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862887 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:22	3395	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:22	3395	[DEBUG]	Executed store
2023-10-13	13:24:22	3395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862887','0','162.488393686165','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:22	3395	[DEBUG]	Checking manufacturer
2023-10-13	13:24:22	3395	[DEBUG]	Load a row
2023-10-13	13:24:22	3395	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:22	3395	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:22	3395	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:22	3395	[DEBUG]	Executed store
2023-10-13	13:24:22	3395	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:22	3395	[DEBUG]	Manufacturer exists
2023-10-13	13:24:22	3395	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:22	3395	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:22	3395	[DEBUG]	Executed store
2023-10-13	13:24:22	3395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862887','242')
2023-10-13	13:24:22	3395	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:22	3395	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:22	3395	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862887 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:22	3395	[DEBUG]	Store custom available field
2023-10-13	13:24:22	3395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862887,3,'',1)
2023-10-13	13:24:22	3395	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:22	3395	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:22	3395	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862887 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:22	3395	[DEBUG]	Store custom available field
2023-10-13	13:24:22	3395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862887,6,'Unitaire',3)
2023-10-13	13:24:22	3395	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:22	3395	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:22	3395	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862886
2023-10-13	13:24:22	3395	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:22	3395	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862886\":[1862886,8,1,\"choisir la taille\"],\"1862887\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862886
2023-10-13	13:24:22	3395	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:22	3395	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862887
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:22	3396	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field taille
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:22	3396	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:22	3396	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:22	3396	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:22	3396	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:22	3396	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:22	3396	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field published
2023-10-13	13:24:22	3396	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:22	3396	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field override
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:22	3396	[DEBUG]	Use field value for field slug
2023-10-13	13:24:22	3396	[DEBUG]	Process line 3396
2023-10-13	13:24:22	3396	[DEBUG]	Load a row
2023-10-13	13:24:22	3396	[DEBUG]	Processing item: A_7870_1
2023-10-13	13:24:22	3396	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:22	3396	[DEBUG]	Processing product tax
2023-10-13	13:24:22	3396	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:22	3396	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:22	3396	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:22	3396	[DEBUG]	Query for Product
2023-10-13	13:24:22	3396	[DEBUG]	Executed store
2023-10-13	13:24:22	3396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7870_1','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:22	3396	[DEBUG]	Check product language entry
2023-10-13	13:24:22	3396	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862888
2023-10-13	13:24:22	3396	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:22	3396	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7870_1' AND `virtuemart_product_id` != 1862888
2023-10-13	13:24:22	3396	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:22	3396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862888, 'A_7870_1')
2023-10-13	13:24:22	3396	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:22	3396	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-arriere-airstream-2-led-noir' AND `virtuemart_product_id` != 1862888
2023-10-13	13:24:22	3396	[DEBUG]	Query for ProductLang
2023-10-13	13:24:22	3396	[DEBUG]	Executed store
2023-10-13	13:24:22	3396	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.004',`product_name`='SUPERNOVA Lumière arrière Airstream 2 LED  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-arriere-airstream-2-led-noir' WHERE `virtuemart_product_id` = '1862888'
2023-10-13	13:24:22	3396	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36281_supernova_feu_arriere_airstream_2_led_.jpg
2023-10-13	13:24:22	3396	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:22	3396	[DEBUG]	Process image file
2023-10-13	13:24:22	3396	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:22	3396	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:22	3396	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36281_supernova_feu_arriere_airstream_2_led_.jpg
2023-10-13	13:24:22	3396	[DEBUG]	Full name target: bcprisme/36281_supernova_feu_arriere_airstream_2_led_.jpg
2023-10-13	13:24:23	3396	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:23	3396	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36281_supernova_feu_arriere_airstream_2_led_.jpg'
2023-10-13	13:24:23	3396	[DEBUG]	Query for Media
2023-10-13	13:24:23	3396	[DEBUG]	Executed store
2023-10-13	13:24:23	3396	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36281_supernova_feu_arriere_airstream_2_led_.jpg',`file_url_thumb`='bcprisme/36281_supernova_feu_arriere_airstream_2_led_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '504090'
2023-10-13	13:24:23	3396	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:23	3396	[DEBUG]	Executed store
2023-10-13	13:24:23	3396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862888','504090','1')
2023-10-13	13:24:23	3396	[DEBUG]	Store product image relation
2023-10-13	13:24:23	3396	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:23	3396	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862888 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:23	3396	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:23	3396	[DEBUG]	Executed store
2023-10-13	13:24:23	3396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862888','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:23	3396	[DEBUG]	Checking manufacturer
2023-10-13	13:24:23	3396	[DEBUG]	Load a row
2023-10-13	13:24:23	3396	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:23	3396	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:23	3396	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:23	3396	[DEBUG]	Executed store
2023-10-13	13:24:23	3396	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:23	3396	[DEBUG]	Manufacturer exists
2023-10-13	13:24:23	3396	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:23	3396	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:23	3396	[DEBUG]	Executed store
2023-10-13	13:24:23	3396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862888','242')
2023-10-13	13:24:23	3396	[DEBUG]	Find the custom field ID
2023-10-13	13:24:23	3396	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:23	3396	[DEBUG]	No custom field ID found
2023-10-13	13:24:23	3396	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:23	3396	[DEBUG]	Get existing row with customfield value 5.88361111111111
2023-10-13	13:24:23	3396	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862888 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:23	3396	[DEBUG]	Store custom available field
2023-10-13	13:24:23	3396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862888,3,'5.88361111111111',1)
2023-10-13	13:24:23	3396	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:23	3396	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:23	3396	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862888 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:23	3396	[DEBUG]	Store custom available field
2023-10-13	13:24:23	3396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862888,6,'choisir la taille',3)
2023-10-13	13:24:23	3396	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:23	3396	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:23	3396	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:23	3396	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:23	3396	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862888 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:23	3396	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:23	3396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862888,8,1)
2023-10-13	13:24:23	3396	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:23	3396	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862888\":[1862888,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862888
2023-10-13	13:24:23	3396	[DEBUG]	Checking category
2023-10-13	13:24:23	3396	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:23	3396	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862888
2023-10-13	13:24:23	3396	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:23	3396	[DEBUG]	Executed store
2023-10-13	13:24:23	3396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862888','7375')
2023-10-13	13:24:23	3396	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:23	3396	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862888 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:23	3396	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:23	3396	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862888
2023-10-13	13:24:23	3397	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:23	3397	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:23	3397	[DEBUG]	Use field value for field taille
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:23	3397	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:23	3397	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:23	3397	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:23	3397	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:23	3397	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:23	3397	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:23	3397	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:23	3397	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:23	3397	[DEBUG]	Use field value for field published
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:23	3397	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field override
2023-10-13	13:24:23	3397	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:23	3397	[DEBUG]	Use field value for field slug
2023-10-13	13:24:23	3397	[DEBUG]	Process line 3397
2023-10-13	13:24:23	3397	[DEBUG]	Load a row
2023-10-13	13:24:23	3397	[DEBUG]	Processing item: 4260224796233
2023-10-13	13:24:23	3397	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:23	3397	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:23	3397	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7870_1'
2023-10-13	13:24:23	3397	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:23	3397	[DEBUG]	Processing product tax
2023-10-13	13:24:23	3397	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:23	3397	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:23	3397	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:23	3397	[DEBUG]	Query for Product
2023-10-13	13:24:23	3397	[DEBUG]	Executed store
2023-10-13	13:24:23	3397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862888','4260224796233','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:23	3397	[DEBUG]	No parent found
2023-10-13	13:24:23	3397	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862888 AND customfield_value = 'stockable'
2023-10-13	13:24:23	3397	[DEBUG]	Check product language entry
2023-10-13	13:24:23	3397	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862889
2023-10-13	13:24:23	3397	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:23	3397	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224796233' AND `virtuemart_product_id` != 1862889
2023-10-13	13:24:23	3397	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:23	3397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862889, '4260224796233')
2023-10-13	13:24:23	3397	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:23	3397	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-arriere-airstream-2-led-noir-unitaire' AND `virtuemart_product_id` != 1862889
2023-10-13	13:24:23	3397	[DEBUG]	Query for ProductLang
2023-10-13	13:24:23	3397	[DEBUG]	Executed store
2023-10-13	13:24:23	3397	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Lumière arrière Airstream 2 LED  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-arriere-airstream-2-led-noir-unitaire' WHERE `virtuemart_product_id` = '1862889'
2023-10-13	13:24:23	3397	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36281_supernova_feu_arriere_airstream_2_led_.jpg
2023-10-13	13:24:23	3397	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:23	3397	[DEBUG]	Process image file
2023-10-13	13:24:23	3397	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:23	3397	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:23	3397	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36281_supernova_feu_arriere_airstream_2_led_.jpg
2023-10-13	13:24:23	3397	[DEBUG]	Full name target: bcprisme/36281_supernova_feu_arriere_airstream_2_led_.jpg
2023-10-13	13:24:24	3397	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:24	3397	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36281_supernova_feu_arriere_airstream_2_led_.jpg'
2023-10-13	13:24:24	3397	[DEBUG]	Query for Media
2023-10-13	13:24:24	3397	[DEBUG]	Executed store
2023-10-13	13:24:24	3397	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36281_supernova_feu_arriere_airstream_2_led_.jpg',`file_url_thumb`='bcprisme/36281_supernova_feu_arriere_airstream_2_led_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '504090'
2023-10-13	13:24:24	3397	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:24	3397	[DEBUG]	Executed store
2023-10-13	13:24:24	3397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862889','504090','1')
2023-10-13	13:24:24	3397	[DEBUG]	Store product image relation
2023-10-13	13:24:24	3397	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:24	3397	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862889 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:24	3397	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:24	3397	[DEBUG]	Executed store
2023-10-13	13:24:24	3397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862889','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:24	3397	[DEBUG]	Checking manufacturer
2023-10-13	13:24:24	3397	[DEBUG]	Load a row
2023-10-13	13:24:24	3397	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:24	3397	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:24	3397	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:24	3397	[DEBUG]	Executed store
2023-10-13	13:24:24	3397	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:24	3397	[DEBUG]	Manufacturer exists
2023-10-13	13:24:24	3397	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:24	3397	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:24	3397	[DEBUG]	Executed store
2023-10-13	13:24:24	3397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862889','242')
2023-10-13	13:24:24	3397	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:24	3397	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:24	3397	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862889 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:24	3397	[DEBUG]	Store custom available field
2023-10-13	13:24:24	3397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862889,3,'',1)
2023-10-13	13:24:24	3397	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:24	3397	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:24	3397	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862889 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:24	3397	[DEBUG]	Store custom available field
2023-10-13	13:24:24	3397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862889,6,'Unitaire',3)
2023-10-13	13:24:24	3397	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:24	3397	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:24	3397	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862888
2023-10-13	13:24:24	3397	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:24	3397	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862888\":[1862888,8,1,\"choisir la taille\"],\"1862889\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862888
2023-10-13	13:24:24	3397	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:24	3397	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862889
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:24	3398	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field taille
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:24	3398	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:24	3398	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:24	3398	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:24	3398	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:24	3398	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:24	3398	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field published
2023-10-13	13:24:24	3398	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:24	3398	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field override
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:24	3398	[DEBUG]	Use field value for field slug
2023-10-13	13:24:24	3398	[DEBUG]	Process line 3398
2023-10-13	13:24:24	3398	[DEBUG]	Load a row
2023-10-13	13:24:24	3398	[DEBUG]	Processing item: A_7877_1
2023-10-13	13:24:24	3398	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:24	3398	[DEBUG]	Processing product tax
2023-10-13	13:24:24	3398	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:24	3398	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:24	3398	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:24	3398	[DEBUG]	Query for Product
2023-10-13	13:24:24	3398	[DEBUG]	Executed store
2023-10-13	13:24:24	3398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7877_1','0.019','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:24	3398	[DEBUG]	Check product language entry
2023-10-13	13:24:24	3398	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862890
2023-10-13	13:24:24	3398	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:24	3398	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7877_1' AND `virtuemart_product_id` != 1862890
2023-10-13	13:24:24	3398	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:24	3398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862890, 'A_7877_1')
2023-10-13	13:24:24	3398	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:24	3398	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-avant-e3-pure-3-hbm-noir' AND `virtuemart_product_id` != 1862890
2023-10-13	13:24:24	3398	[DEBUG]	Query for ProductLang
2023-10-13	13:24:24	3398	[DEBUG]	Executed store
2023-10-13	13:24:24	3398	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 600.003.001',`product_name`='SUPERNOVA Lumière avant E3 Pure 3 HBM / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-avant-e3-pure-3-hbm-noir' WHERE `virtuemart_product_id` = '1862890'
2023-10-13	13:24:24	3398	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36290_supernova_feu_avant_e3_pure_3_hbm.png
2023-10-13	13:24:24	3398	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000027c
2023-10-13	13:24:24	3398	[DEBUG]	Process image file
2023-10-13	13:24:24	3398	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000027c
2023-10-13	13:24:24	3398	[DEBUG]	Mime type found: image/png
2023-10-13	13:24:24	3398	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36290_supernova_feu_avant_e3_pure_3_hbm.png
2023-10-13	13:24:24	3398	[DEBUG]	Full name target: bcprisme/36290_supernova_feu_avant_e3_pure_3_hbm.png
2023-10-13	13:24:25	3398	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:25	3398	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36290_supernova_feu_avant_e3_pure_3_hbm.png'
2023-10-13	13:24:25	3398	[DEBUG]	Query for Media
2023-10-13	13:24:25	3398	[DEBUG]	Executed store
2023-10-13	13:24:25	3398	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36290_supernova_feu_avant_e3_pure_3_hbm.png',`file_url_thumb`='bcprisme/36290_supernova_feu_avant_e3_pure_3_hbm.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '647315'
2023-10-13	13:24:25	3398	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:25	3398	[DEBUG]	Executed store
2023-10-13	13:24:25	3398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862890','647315','1')
2023-10-13	13:24:25	3398	[DEBUG]	Store product image relation
2023-10-13	13:24:25	3398	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:25	3398	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862890 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:25	3398	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:25	3398	[DEBUG]	Executed store
2023-10-13	13:24:25	3398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862890','0','148.467966573816','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:25	3398	[DEBUG]	Checking manufacturer
2023-10-13	13:24:25	3398	[DEBUG]	Load a row
2023-10-13	13:24:25	3398	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:25	3398	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:25	3398	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:25	3398	[DEBUG]	Executed store
2023-10-13	13:24:25	3398	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:25	3398	[DEBUG]	Manufacturer exists
2023-10-13	13:24:25	3398	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:25	3398	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:25	3398	[DEBUG]	Executed store
2023-10-13	13:24:25	3398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862890','242')
2023-10-13	13:24:25	3398	[DEBUG]	Find the custom field ID
2023-10-13	13:24:25	3398	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:25	3398	[DEBUG]	No custom field ID found
2023-10-13	13:24:25	3398	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:25	3398	[DEBUG]	Get existing row with customfield value 5.88361111111111
2023-10-13	13:24:25	3398	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862890 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:25	3398	[DEBUG]	Store custom available field
2023-10-13	13:24:25	3398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862890,3,'5.88361111111111',1)
2023-10-13	13:24:25	3398	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:25	3398	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:25	3398	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862890 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:25	3398	[DEBUG]	Store custom available field
2023-10-13	13:24:25	3398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862890,6,'choisir la taille',3)
2023-10-13	13:24:25	3398	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:25	3398	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:25	3398	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:25	3398	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:25	3398	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862890 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:25	3398	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:25	3398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862890,8,1)
2023-10-13	13:24:25	3398	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:25	3398	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862890\":[1862890,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862890
2023-10-13	13:24:25	3398	[DEBUG]	Checking category
2023-10-13	13:24:25	3398	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:25	3398	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862890
2023-10-13	13:24:25	3398	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:25	3398	[DEBUG]	Executed store
2023-10-13	13:24:25	3398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862890','7375')
2023-10-13	13:24:25	3398	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:25	3398	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862890 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:25	3398	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:25	3398	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862890
2023-10-13	13:24:25	3399	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:25	3399	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:25	3399	[DEBUG]	Use field value for field taille
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:25	3399	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:25	3399	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:25	3399	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:25	3399	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:25	3399	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:25	3399	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:25	3399	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:25	3399	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:25	3399	[DEBUG]	Use field value for field published
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:25	3399	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field override
2023-10-13	13:24:25	3399	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:25	3399	[DEBUG]	Use field value for field slug
2023-10-13	13:24:25	3399	[DEBUG]	Process line 3399
2023-10-13	13:24:25	3399	[DEBUG]	Load a row
2023-10-13	13:24:25	3399	[DEBUG]	Processing item: 4260224790606
2023-10-13	13:24:25	3399	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:25	3399	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:25	3399	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7877_1'
2023-10-13	13:24:25	3399	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:25	3399	[DEBUG]	Processing product tax
2023-10-13	13:24:25	3399	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:25	3399	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:25	3399	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:25	3399	[DEBUG]	Query for Product
2023-10-13	13:24:25	3399	[DEBUG]	Executed store
2023-10-13	13:24:25	3399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862890','4260224790606','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:25	3399	[DEBUG]	No parent found
2023-10-13	13:24:25	3399	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862890 AND customfield_value = 'stockable'
2023-10-13	13:24:25	3399	[DEBUG]	Check product language entry
2023-10-13	13:24:25	3399	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862891
2023-10-13	13:24:25	3399	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:25	3399	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224790606' AND `virtuemart_product_id` != 1862891
2023-10-13	13:24:25	3399	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:25	3399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862891, '4260224790606')
2023-10-13	13:24:25	3399	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:25	3399	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'supernova-lumiere-avant-e3-pure-3-hbm-noir-unitaire' AND `virtuemart_product_id` != 1862891
2023-10-13	13:24:25	3399	[DEBUG]	Query for ProductLang
2023-10-13	13:24:25	3399	[DEBUG]	Executed store
2023-10-13	13:24:25	3399	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SUPERNOVA Lumière avant E3 Pure 3 HBM / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='supernova-lumiere-avant-e3-pure-3-hbm-noir-unitaire' WHERE `virtuemart_product_id` = '1862891'
2023-10-13	13:24:25	3399	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36290_supernova_feu_avant_e3_pure_3_hbm.png
2023-10-13	13:24:25	3399	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000027c
2023-10-13	13:24:25	3399	[DEBUG]	Process image file
2023-10-13	13:24:25	3399	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000027c
2023-10-13	13:24:25	3399	[DEBUG]	Mime type found: image/png
2023-10-13	13:24:25	3399	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36290_supernova_feu_avant_e3_pure_3_hbm.png
2023-10-13	13:24:25	3399	[DEBUG]	Full name target: bcprisme/36290_supernova_feu_avant_e3_pure_3_hbm.png
2023-10-13	13:24:26	3399	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:26	3399	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36290_supernova_feu_avant_e3_pure_3_hbm.png'
2023-10-13	13:24:26	3399	[DEBUG]	Query for Media
2023-10-13	13:24:26	3399	[DEBUG]	Executed store
2023-10-13	13:24:26	3399	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36290_supernova_feu_avant_e3_pure_3_hbm.png',`file_url_thumb`='bcprisme/36290_supernova_feu_avant_e3_pure_3_hbm.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '647315'
2023-10-13	13:24:26	3399	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:26	3399	[DEBUG]	Executed store
2023-10-13	13:24:26	3399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862891','647315','1')
2023-10-13	13:24:26	3399	[DEBUG]	Store product image relation
2023-10-13	13:24:26	3399	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:26	3399	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862891 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:26	3399	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:26	3399	[DEBUG]	Executed store
2023-10-13	13:24:26	3399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862891','0','148.467966573816','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:26	3399	[DEBUG]	Checking manufacturer
2023-10-13	13:24:26	3399	[DEBUG]	Load a row
2023-10-13	13:24:26	3399	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:26	3399	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:26	3399	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:26	3399	[DEBUG]	Executed store
2023-10-13	13:24:26	3399	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='107',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='107' WHERE `virtuemart_manufacturer_id` = '242'
2023-10-13	13:24:26	3399	[DEBUG]	Manufacturer exists
2023-10-13	13:24:26	3399	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 242
2023-10-13	13:24:26	3399	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:26	3399	[DEBUG]	Executed store
2023-10-13	13:24:26	3399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862891','242')
2023-10-13	13:24:26	3399	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:26	3399	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:26	3399	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862891 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:26	3399	[DEBUG]	Store custom available field
2023-10-13	13:24:26	3399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862891,3,'',1)
2023-10-13	13:24:26	3399	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:26	3399	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:26	3399	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862891 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:26	3399	[DEBUG]	Store custom available field
2023-10-13	13:24:26	3399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862891,6,'Unitaire',3)
2023-10-13	13:24:26	3399	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:26	3399	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:26	3399	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862890
2023-10-13	13:24:26	3399	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:26	3399	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862890\":[1862890,8,1,\"choisir la taille\"],\"1862891\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862890
2023-10-13	13:24:26	3399	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:26	3399	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862891
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:26	3400	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field taille
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:26	3400	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:26	3400	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:26	3400	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:26	3400	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:26	3400	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:26	3400	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field published
2023-10-13	13:24:26	3400	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:26	3400	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field override
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:26	3400	[DEBUG]	Use field value for field slug
2023-10-13	13:24:26	3400	[DEBUG]	Process line 3400
2023-10-13	13:24:26	3400	[DEBUG]	Load a row
2023-10-13	13:24:26	3400	[DEBUG]	Processing item: A_8189_65
2023-10-13	13:24:26	3400	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:26	3400	[DEBUG]	Processing product tax
2023-10-13	13:24:26	3400	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:26	3400	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:26	3400	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:26	3400	[DEBUG]	Query for Product
2023-10-13	13:24:26	3400	[DEBUG]	Executed store
2023-10-13	13:24:26	3400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8189_65','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0')
2023-10-13	13:24:26	3400	[DEBUG]	Check product language entry
2023-10-13	13:24:26	3400	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862892
2023-10-13	13:24:26	3400	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:26	3400	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8189_65' AND `virtuemart_product_id` != 1862892
2023-10-13	13:24:26	3400	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:26	3400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862892, 'A_8189_65')
2023-10-13	13:24:26	3400	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:26	3400	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'seppi-bande-reflechissante-3-m-jaune' AND `virtuemart_product_id` != 1862892
2023-10-13	13:24:26	3400	[DEBUG]	Query for ProductLang
2023-10-13	13:24:26	3400	[DEBUG]	Executed store
2023-10-13	13:24:26	3400	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.53804',`product_name`='Seppi Bande réfléchissante 3 M / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='seppi-bande-reflechissante-3-m-jaune' WHERE `virtuemart_product_id` = '1862892'
2023-10-13	13:24:26	3400	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_53804_jpg.jpg
2023-10-13	13:24:26	3400	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:24:26	3400	[DEBUG]	Process image file
2023-10-13	13:24:26	3400	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:24:26	3400	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:26	3400	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_53804_jpg.jpg
2023-10-13	13:24:26	3400	[DEBUG]	Full name target: bcprisme/10_53804_jpg.jpg
2023-10-13	13:24:27	3400	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:27	3400	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/10_53804_jpg.jpg'
2023-10-13	13:24:27	3400	[DEBUG]	Query for Media
2023-10-13	13:24:27	3400	[DEBUG]	Executed store
2023-10-13	13:24:27	3400	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/10_53804_jpg.jpg',`file_url_thumb`='bcprisme/10_53804_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '697234'
2023-10-13	13:24:27	3400	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:27	3400	[DEBUG]	Executed store
2023-10-13	13:24:27	3400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862892','697234','1')
2023-10-13	13:24:27	3400	[DEBUG]	Store product image relation
2023-10-13	13:24:27	3400	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:27	3400	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862892 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:27	3400	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:27	3400	[DEBUG]	Executed store
2023-10-13	13:24:27	3400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862892','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:22:55','1593','2023-10-13 13:22:55','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:27	3400	[DEBUG]	Checking manufacturer
2023-10-13	13:24:27	3400	[DEBUG]	Load a row
2023-10-13	13:24:27	3400	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:27	3400	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '246'
2023-10-13	13:24:27	3400	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:27	3400	[DEBUG]	Executed store
2023-10-13	13:24:27	3400	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='38',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='38' WHERE `virtuemart_manufacturer_id` = '246'
2023-10-13	13:24:27	3400	[DEBUG]	Manufacturer exists
2023-10-13	13:24:27	3400	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 246
2023-10-13	13:24:27	3400	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:27	3400	[DEBUG]	Executed store
2023-10-13	13:24:27	3400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862892','246')
2023-10-13	13:24:27	3400	[DEBUG]	Find the custom field ID
2023-10-13	13:24:27	3400	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:27	3400	[DEBUG]	No custom field ID found
2023-10-13	13:24:27	3400	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:27	3400	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:24:27	3400	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862892 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:27	3400	[DEBUG]	Store custom available field
2023-10-13	13:24:27	3400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862892,3,'0',1)
2023-10-13	13:24:27	3400	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:27	3400	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:27	3400	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862892 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:27	3400	[DEBUG]	Store custom available field
2023-10-13	13:24:27	3400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862892,6,'choisir la taille',3)
2023-10-13	13:24:27	3400	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:27	3400	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:27	3400	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:27	3400	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:27	3400	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862892 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:27	3400	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:27	3400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862892,8,1)
2023-10-13	13:24:27	3400	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:27	3400	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862892\":[1862892,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862892
2023-10-13	13:24:27	3400	[DEBUG]	Checking category
2023-10-13	13:24:27	3400	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:27	3400	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862892
2023-10-13	13:24:27	3400	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:27	3400	[DEBUG]	Executed store
2023-10-13	13:24:27	3400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862892','7375')
2023-10-13	13:24:27	3400	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:27	3400	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862892 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:27	3400	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:27	3400	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862892
2023-10-13	13:24:48	3400	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:24:48	3400	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:24:48	3400	[DEBUG]	Load the fields to process
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: product_sku
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: taille
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: product_name
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: category_path
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: product_price
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: product_override_price
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: product_tax
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: file_url
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: product_desc
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: product_availability
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: product_weight
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: product_unit
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: related_products
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: product_special
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: published
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: metadesc
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: metakey
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: custom_title
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: custom_value
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: custom_param
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: override
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: public_price
2023-10-13	13:24:48	3400	[DEBUG]	Setup field: slug
2023-10-13	13:24:48	3400	[DEBUG]	Use the file for configuration
2023-10-13	13:24:48	3400	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:24:48	3400	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:24:48	3400	[DEBUG]	Load the custom fields
2023-10-13	13:24:48	3400	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:24:48	3400	[DEBUG]	Load stockable custom fields
2023-10-13	13:24:48	3400	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:24:48	3400	[DEBUG]	Load custom fields for all
2023-10-13	13:24:48	3400	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:24:48	3401	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:48	3401	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:48	3401	[DEBUG]	Use field value for field taille
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:48	3401	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:48	3401	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:48	3401	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:48	3401	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:48	3401	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:48	3401	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:48	3401	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:48	3401	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:48	3401	[DEBUG]	Use field value for field published
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:48	3401	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field override
2023-10-13	13:24:48	3401	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:48	3401	[DEBUG]	Use field value for field slug
2023-10-13	13:24:48	3401	[DEBUG]	Process line 3401
2023-10-13	13:24:48	3401	[DEBUG]	Check if the vendor exists
2023-10-13	13:24:48	3401	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '7630017831323'
2023-10-13	13:24:48	3401	[DEBUG]	Load a row
2023-10-13	13:24:48	3401	[DEBUG]	Processing item: 7630017831323
2023-10-13	13:24:48	3401	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:48	3401	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:48	3401	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8189_65'
2023-10-13	13:24:48	3401	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:48	3401	[DEBUG]	Processing product tax
2023-10-13	13:24:48	3401	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:48	3401	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:48	3401	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:48	3401	[DEBUG]	Query for Product
2023-10-13	13:24:48	3401	[DEBUG]	Executed store
2023-10-13	13:24:48	3401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862892','7630017831323','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:24:48	3401	[DEBUG]	No parent found
2023-10-13	13:24:48	3401	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862892 AND customfield_value = 'stockable'
2023-10-13	13:24:48	3401	[DEBUG]	Check product language entry
2023-10-13	13:24:48	3401	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862893
2023-10-13	13:24:48	3401	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:48	3401	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7630017831323' AND `virtuemart_product_id` != 1862893
2023-10-13	13:24:48	3401	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:48	3401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862893, '7630017831323')
2023-10-13	13:24:48	3401	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:48	3401	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'seppi-bande-reflechissante-3-m-jaune-unitaire' AND `virtuemart_product_id` != 1862893
2023-10-13	13:24:48	3401	[DEBUG]	Query for ProductLang
2023-10-13	13:24:48	3401	[DEBUG]	Executed store
2023-10-13	13:24:48	3401	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Seppi Bande réfléchissante 3 M / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='seppi-bande-reflechissante-3-m-jaune-unitaire' WHERE `virtuemart_product_id` = '1862893'
2023-10-13	13:24:48	3401	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_53804_jpg.jpg
2023-10-13	13:24:48	3401	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:24:48	3401	[DEBUG]	Process image file
2023-10-13	13:24:48	3401	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:24:48	3401	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:48	3401	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_53804_jpg.jpg
2023-10-13	13:24:48	3401	[DEBUG]	Full name target: bcprisme/10_53804_jpg.jpg
2023-10-13	13:24:49	3401	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:49	3401	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/10_53804_jpg.jpg'
2023-10-13	13:24:49	3401	[DEBUG]	Query for Media
2023-10-13	13:24:49	3401	[DEBUG]	Executed store
2023-10-13	13:24:49	3401	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/10_53804_jpg.jpg',`file_url_thumb`='bcprisme/10_53804_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '697234'
2023-10-13	13:24:49	3401	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:49	3401	[DEBUG]	Executed store
2023-10-13	13:24:49	3401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862893','697234','1')
2023-10-13	13:24:49	3401	[DEBUG]	Store product image relation
2023-10-13	13:24:49	3401	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:49	3401	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862893 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:49	3401	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:49	3401	[DEBUG]	Executed store
2023-10-13	13:24:49	3401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862893','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:49	3401	[DEBUG]	Checking manufacturer
2023-10-13	13:24:49	3401	[DEBUG]	Load a row
2023-10-13	13:24:49	3401	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:49	3401	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '246'
2023-10-13	13:24:49	3401	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:49	3401	[DEBUG]	Executed store
2023-10-13	13:24:49	3401	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='38',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='38' WHERE `virtuemart_manufacturer_id` = '246'
2023-10-13	13:24:49	3401	[DEBUG]	Manufacturer exists
2023-10-13	13:24:49	3401	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 246
2023-10-13	13:24:49	3401	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:49	3401	[DEBUG]	Executed store
2023-10-13	13:24:49	3401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862893','246')
2023-10-13	13:24:49	3401	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:49	3401	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:49	3401	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862893 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:49	3401	[DEBUG]	Store custom available field
2023-10-13	13:24:49	3401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862893,3,'',1)
2023-10-13	13:24:49	3401	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:49	3401	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:49	3401	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862893 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:49	3401	[DEBUG]	Store custom available field
2023-10-13	13:24:49	3401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862893,6,'Unitaire',3)
2023-10-13	13:24:49	3401	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:49	3401	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:49	3401	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862892
2023-10-13	13:24:49	3401	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:49	3401	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862892\":[1862892,8,1,\"choisir la taille\"],\"1862893\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862892
2023-10-13	13:24:49	3401	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:49	3401	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862893
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:49	3402	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field taille
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:49	3402	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:49	3402	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:49	3402	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:49	3402	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:49	3402	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:49	3402	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field published
2023-10-13	13:24:49	3402	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:49	3402	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field override
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:49	3402	[DEBUG]	Use field value for field slug
2023-10-13	13:24:49	3402	[DEBUG]	Process line 3402
2023-10-13	13:24:49	3402	[DEBUG]	Load a row
2023-10-13	13:24:49	3402	[DEBUG]	Processing item: A_8297_1
2023-10-13	13:24:49	3402	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:49	3402	[DEBUG]	Processing product tax
2023-10-13	13:24:49	3402	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:49	3402	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:49	3402	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:49	3402	[DEBUG]	Query for Product
2023-10-13	13:24:49	3402	[DEBUG]	Executed store
2023-10-13	13:24:49	3402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8297_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:24:49	3402	[DEBUG]	Check product language entry
2023-10-13	13:24:49	3402	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862894
2023-10-13	13:24:49	3402	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:49	3402	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8297_1' AND `virtuemart_product_id` != 1862894
2023-10-13	13:24:49	3402	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:49	3402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862894, 'A_8297_1')
2023-10-13	13:24:49	3402	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:49	3402	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-600-lumens-msc-rechargeable-usb-etanche-ip65-en-aluminuim-copie-noir' AND `virtuemart_product_id` != 1862894
2023-10-13	13:24:49	3402	[DEBUG]	Query for ProductLang
2023-10-13	13:24:49	3402	[DEBUG]	Executed store
2023-10-13	13:24:49	3402	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>PLASTICO Y ALUMINIO<br>113 g<br>- Illumination indépendante du contour et de l’intérieur des faisceaux suivant 3 modes.<br><br>- Recharge sur secteur<br><br>- Batterie : 1800mah (incluse), autonomie 3h en puissance max<br><br>- Avec indicateur de puissance.<br><br>Max Lumens: 600LM (Constant output)<br><br>LED Types: 2*CREE XT-E LED<br><br>Charge time: 2 hours depending on USB charger<br><br>Mode & Runtime: 20%(13h)-50%(5h)-100%(2.5h)-quick flash(10h)-slow flash(8h) (based on 2*2200mah batteries)<br><br>N° art fourn : Light600BAT',`product_name`='MSC Lumière avant 600 Lumens MSC rechargeable USB, étanche IP65 en aluminuim (copie) / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-600-lumens-msc-rechargeable-usb-etanche-ip65-en-aluminuim-copie-noir' WHERE `virtuemart_product_id` = '1862894'
2023-10-13	13:24:49	3402	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36915_lumiere_avant_600_lumens_msc_rechargeable_usb,_etanche_ip65_en_aluminuim_(copie).jpg
2023-10-13	13:24:49	3402	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:49	3402	[DEBUG]	Process image file
2023-10-13	13:24:49	3402	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:49	3402	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:49	3402	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36915_lumiere_avant_600_lumens_msc_rechargeable_usb,_etanche_ip65_en_aluminuim_(copie).jpg
2023-10-13	13:24:49	3402	[DEBUG]	Full name target: bcprisme/36915_lumiere_avant_600_lumens_msc_rechargeable_usb,_etanche_ip65_en_aluminuim_(copie).jpg
2023-10-13	13:24:50	3402	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:50	3402	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36915_lumiere_avant_600_lumens_msc_rechargeable_usb,_etanche_ip65_en_aluminuim_(copie).jpg'
2023-10-13	13:24:50	3402	[DEBUG]	Query for Media
2023-10-13	13:24:50	3402	[DEBUG]	Executed store
2023-10-13	13:24:50	3402	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36915_lumiere_avant_600_lumens_msc_rechargeable_usb,_etanche_ip65_en_aluminuim_(copie).jpg',`file_url_thumb`='bcprisme/36915_lumiere_avant_600_lumens_msc_rechargeable_usb,_etanche_ip65_en_aluminuim_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '778268'
2023-10-13	13:24:50	3402	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:50	3402	[DEBUG]	Executed store
2023-10-13	13:24:50	3402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862894','778268','1')
2023-10-13	13:24:50	3402	[DEBUG]	Store product image relation
2023-10-13	13:24:50	3402	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:50	3402	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862894 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:50	3402	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:50	3402	[DEBUG]	Executed store
2023-10-13	13:24:50	3402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862894','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:50	3402	[DEBUG]	Checking manufacturer
2023-10-13	13:24:50	3402	[DEBUG]	Load a row
2023-10-13	13:24:50	3402	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:50	3402	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:24:50	3402	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:50	3402	[DEBUG]	Executed store
2023-10-13	13:24:50	3402	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:24:50	3402	[DEBUG]	Manufacturer exists
2023-10-13	13:24:50	3402	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:24:50	3402	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:50	3402	[DEBUG]	Executed store
2023-10-13	13:24:50	3402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862894','32')
2023-10-13	13:24:50	3402	[DEBUG]	Find the custom field ID
2023-10-13	13:24:50	3402	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:50	3402	[DEBUG]	No custom field ID found
2023-10-13	13:24:50	3402	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:50	3402	[DEBUG]	Get existing row with customfield value 24.8308333333333
2023-10-13	13:24:50	3402	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862894 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:50	3402	[DEBUG]	Store custom available field
2023-10-13	13:24:50	3402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862894,3,'24.8308333333333',1)
2023-10-13	13:24:50	3402	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:50	3402	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:50	3402	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862894 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:50	3402	[DEBUG]	Store custom available field
2023-10-13	13:24:50	3402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862894,6,'choisir la taille',3)
2023-10-13	13:24:50	3402	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:50	3402	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:50	3402	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:50	3402	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:50	3402	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862894 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:50	3402	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:50	3402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862894,8,1)
2023-10-13	13:24:50	3402	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:50	3402	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862894\":[1862894,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862894
2023-10-13	13:24:50	3402	[DEBUG]	Checking category
2023-10-13	13:24:50	3402	[DEBUG]	Check if category path exists: LUMIERES - LAMPEN
2023-10-13	13:24:50	3402	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'LUMIERES - LAMPEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:24:50	3402	[DEBUG]	Check if category path exists: LUMIERES - LAMPEN
2023-10-13	13:24:50	3402	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'LUMIERES - LAMPEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7373
2023-10-13	13:24:50	3402	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:50	3402	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862894
2023-10-13	13:24:50	3402	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:50	3402	[DEBUG]	Executed store
2023-10-13	13:24:50	3402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862894','7375')
2023-10-13	13:24:50	3402	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:50	3402	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862894 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:50	3402	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:50	3402	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862894
2023-10-13	13:24:50	3403	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:50	3403	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:50	3403	[DEBUG]	Use field value for field taille
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:50	3403	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:50	3403	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:50	3403	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:50	3403	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:50	3403	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:50	3403	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:50	3403	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:50	3403	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:50	3403	[DEBUG]	Use field value for field published
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:50	3403	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field override
2023-10-13	13:24:50	3403	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:50	3403	[DEBUG]	Use field value for field slug
2023-10-13	13:24:50	3403	[DEBUG]	Process line 3403
2023-10-13	13:24:50	3403	[DEBUG]	Load a row
2023-10-13	13:24:50	3403	[DEBUG]	Processing item: 8435466216870
2023-10-13	13:24:50	3403	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:50	3403	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:50	3403	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8297_1'
2023-10-13	13:24:50	3403	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:50	3403	[DEBUG]	Processing product tax
2023-10-13	13:24:50	3403	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:50	3403	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:50	3403	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:50	3403	[DEBUG]	Query for Product
2023-10-13	13:24:50	3403	[DEBUG]	Executed store
2023-10-13	13:24:50	3403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862894','8435466216870','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:24:50	3403	[DEBUG]	No parent found
2023-10-13	13:24:50	3403	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862894 AND customfield_value = 'stockable'
2023-10-13	13:24:50	3403	[DEBUG]	Check product language entry
2023-10-13	13:24:50	3403	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862895
2023-10-13	13:24:50	3403	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:50	3403	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216870' AND `virtuemart_product_id` != 1862895
2023-10-13	13:24:50	3403	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:50	3403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862895, '8435466216870')
2023-10-13	13:24:50	3403	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:50	3403	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-avant-600-lumens-msc-rechargeable-usb-etanche-ip65-en-aluminuim-copie-noir-unitaire' AND `virtuemart_product_id` != 1862895
2023-10-13	13:24:50	3403	[DEBUG]	Query for ProductLang
2023-10-13	13:24:50	3403	[DEBUG]	Executed store
2023-10-13	13:24:50	3403	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière avant 600 Lumens MSC rechargeable USB, étanche IP65 en aluminuim (copie) / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-avant-600-lumens-msc-rechargeable-usb-etanche-ip65-en-aluminuim-copie-noir-unitaire' WHERE `virtuemart_product_id` = '1862895'
2023-10-13	13:24:50	3403	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36915_lumiere_avant_600_lumens_msc_rechargeable_usb,_etanche_ip65_en_aluminuim_(copie).jpg
2023-10-13	13:24:50	3403	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:50	3403	[DEBUG]	Process image file
2023-10-13	13:24:50	3403	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:50	3403	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:50	3403	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36915_lumiere_avant_600_lumens_msc_rechargeable_usb,_etanche_ip65_en_aluminuim_(copie).jpg
2023-10-13	13:24:50	3403	[DEBUG]	Full name target: bcprisme/36915_lumiere_avant_600_lumens_msc_rechargeable_usb,_etanche_ip65_en_aluminuim_(copie).jpg
2023-10-13	13:24:51	3403	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:51	3403	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36915_lumiere_avant_600_lumens_msc_rechargeable_usb,_etanche_ip65_en_aluminuim_(copie).jpg'
2023-10-13	13:24:51	3403	[DEBUG]	Query for Media
2023-10-13	13:24:51	3403	[DEBUG]	Executed store
2023-10-13	13:24:51	3403	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36915_lumiere_avant_600_lumens_msc_rechargeable_usb,_etanche_ip65_en_aluminuim_(copie).jpg',`file_url_thumb`='bcprisme/36915_lumiere_avant_600_lumens_msc_rechargeable_usb,_etanche_ip65_en_aluminuim_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '778268'
2023-10-13	13:24:51	3403	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:51	3403	[DEBUG]	Executed store
2023-10-13	13:24:51	3403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862895','778268','1')
2023-10-13	13:24:51	3403	[DEBUG]	Store product image relation
2023-10-13	13:24:51	3403	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:51	3403	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862895 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:51	3403	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:51	3403	[DEBUG]	Executed store
2023-10-13	13:24:51	3403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862895','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:51	3403	[DEBUG]	Checking manufacturer
2023-10-13	13:24:51	3403	[DEBUG]	Load a row
2023-10-13	13:24:51	3403	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:51	3403	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:24:51	3403	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:51	3403	[DEBUG]	Executed store
2023-10-13	13:24:51	3403	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:24:51	3403	[DEBUG]	Manufacturer exists
2023-10-13	13:24:51	3403	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:24:51	3403	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:51	3403	[DEBUG]	Executed store
2023-10-13	13:24:51	3403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862895','32')
2023-10-13	13:24:51	3403	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:51	3403	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:51	3403	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862895 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:51	3403	[DEBUG]	Store custom available field
2023-10-13	13:24:51	3403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862895,3,'',1)
2023-10-13	13:24:51	3403	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:51	3403	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:51	3403	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862895 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:51	3403	[DEBUG]	Store custom available field
2023-10-13	13:24:51	3403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862895,6,'Unitaire',3)
2023-10-13	13:24:51	3403	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:51	3403	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:51	3403	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862894
2023-10-13	13:24:51	3403	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:51	3403	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862894\":[1862894,8,1,\"choisir la taille\"],\"1862895\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862894
2023-10-13	13:24:51	3403	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:51	3403	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862895
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:51	3404	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field taille
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:51	3404	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:51	3404	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:51	3404	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:51	3404	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:51	3404	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:51	3404	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field published
2023-10-13	13:24:51	3404	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:51	3404	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field override
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:51	3404	[DEBUG]	Use field value for field slug
2023-10-13	13:24:51	3404	[DEBUG]	Process line 3404
2023-10-13	13:24:51	3404	[DEBUG]	Load a row
2023-10-13	13:24:51	3404	[DEBUG]	Processing item: A_8462_7
2023-10-13	13:24:51	3404	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:51	3404	[DEBUG]	Processing product tax
2023-10-13	13:24:51	3404	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:51	3404	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:51	3404	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:51	3404	[DEBUG]	Query for Product
2023-10-13	13:24:51	3404	[DEBUG]	Executed store
2023-10-13	13:24:51	3404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8462_7','0.062','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:24:51	3404	[DEBUG]	Check product language entry
2023-10-13	13:24:51	3404	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862896
2023-10-13	13:24:51	3404	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:51	3404	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8462_7' AND `virtuemart_product_id` != 1862896
2023-10-13	13:24:51	3404	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:51	3404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862896, 'A_8462_7')
2023-10-13	13:24:51	3404	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:51	3404	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-arriere-40-lumens-cob-led-red-msc-rechargeable-usb-rouge' AND `virtuemart_product_id` != 1862896
2023-10-13	13:24:51	3404	[DEBUG]	Query for ProductLang
2023-10-13	13:24:51	3404	[DEBUG]	Executed store
2023-10-13	13:24:51	3404	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>ALUMINIO<br>28 g<br>- (30 chips) LED COB<br><br>- Corps en CNC Aluminium avec traitement chaleur<br><br>- batterie rechargeable litium (3.7V 500 mAh)<br><br>- 7 modes: Mode1 / Mode2 / Mode3 /FL1 / FL 2 / FL 3 / FLASH JOUR (DOUBLE PUISSANCE)<br><br>- Adaptateur serrage rapide universel<br><br>- Indicateur de batterie faible, en charge charge finalisée<br><br>- S\'éteind automatiquement<br><br>- Visibilité laterale<br><br>N° art fourn : LIGHT40RR',`product_name`='MSC Lumière arrière 40 Lumens cob led red MSC rechargeable USB  / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-arriere-40-lumens-cob-led-red-msc-rechargeable-usb-rouge' WHERE `virtuemart_product_id` = '1862896'
2023-10-13	13:24:51	3404	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37220_lumiere_arriere_40_lumens_cob_led_red_msc_rechargeable_usb_.jpg
2023-10-13	13:24:51	3404	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:51	3404	[DEBUG]	Process image file
2023-10-13	13:24:51	3404	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:51	3404	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:51	3404	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37220_lumiere_arriere_40_lumens_cob_led_red_msc_rechargeable_usb_.jpg
2023-10-13	13:24:51	3404	[DEBUG]	Full name target: bcprisme/37220_lumiere_arriere_40_lumens_cob_led_red_msc_rechargeable_usb_.jpg
2023-10-13	13:24:52	3404	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:52	3404	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37220_lumiere_arriere_40_lumens_cob_led_red_msc_rechargeable_usb_.jpg'
2023-10-13	13:24:52	3404	[DEBUG]	Query for Media
2023-10-13	13:24:52	3404	[DEBUG]	Executed store
2023-10-13	13:24:52	3404	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37220_lumiere_arriere_40_lumens_cob_led_red_msc_rechargeable_usb_.jpg',`file_url_thumb`='bcprisme/37220_lumiere_arriere_40_lumens_cob_led_red_msc_rechargeable_usb_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '860957'
2023-10-13	13:24:52	3404	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:52	3404	[DEBUG]	Executed store
2023-10-13	13:24:52	3404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862896','860957','1')
2023-10-13	13:24:52	3404	[DEBUG]	Store product image relation
2023-10-13	13:24:52	3404	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:52	3404	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862896 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:52	3404	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:52	3404	[DEBUG]	Executed store
2023-10-13	13:24:52	3404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862896','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:52	3404	[DEBUG]	Checking manufacturer
2023-10-13	13:24:52	3404	[DEBUG]	Load a row
2023-10-13	13:24:52	3404	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:52	3404	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:24:52	3404	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:52	3404	[DEBUG]	Executed store
2023-10-13	13:24:52	3404	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:24:52	3404	[DEBUG]	Manufacturer exists
2023-10-13	13:24:52	3404	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:24:52	3404	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:52	3404	[DEBUG]	Executed store
2023-10-13	13:24:52	3404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862896','32')
2023-10-13	13:24:52	3404	[DEBUG]	Find the custom field ID
2023-10-13	13:24:52	3404	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:52	3404	[DEBUG]	No custom field ID found
2023-10-13	13:24:52	3404	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:52	3404	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:24:52	3404	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862896 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:52	3404	[DEBUG]	Store custom available field
2023-10-13	13:24:52	3404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862896,3,'21.8391666666667',1)
2023-10-13	13:24:52	3404	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:52	3404	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:52	3404	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862896 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:52	3404	[DEBUG]	Store custom available field
2023-10-13	13:24:52	3404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862896,6,'choisir la taille',3)
2023-10-13	13:24:52	3404	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:52	3404	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:52	3404	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:52	3404	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:52	3404	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862896 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:52	3404	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:52	3404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862896,8,1)
2023-10-13	13:24:52	3404	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:52	3404	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862896\":[1862896,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862896
2023-10-13	13:24:52	3404	[DEBUG]	Checking category
2023-10-13	13:24:52	3404	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:52	3404	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862896
2023-10-13	13:24:52	3404	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:52	3404	[DEBUG]	Executed store
2023-10-13	13:24:52	3404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862896','7375')
2023-10-13	13:24:52	3404	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:52	3404	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862896 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:52	3404	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:52	3404	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862896
2023-10-13	13:24:52	3405	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:52	3405	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:52	3405	[DEBUG]	Use field value for field taille
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:52	3405	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:52	3405	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:52	3405	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:52	3405	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:52	3405	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:52	3405	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:52	3405	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:52	3405	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:52	3405	[DEBUG]	Use field value for field published
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:52	3405	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field override
2023-10-13	13:24:52	3405	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:52	3405	[DEBUG]	Use field value for field slug
2023-10-13	13:24:52	3405	[DEBUG]	Process line 3405
2023-10-13	13:24:52	3405	[DEBUG]	Load a row
2023-10-13	13:24:52	3405	[DEBUG]	Processing item: 8435466214760
2023-10-13	13:24:52	3405	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:52	3405	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:52	3405	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8462_7'
2023-10-13	13:24:52	3405	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:52	3405	[DEBUG]	Processing product tax
2023-10-13	13:24:52	3405	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:52	3405	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:52	3405	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:52	3405	[DEBUG]	Query for Product
2023-10-13	13:24:52	3405	[DEBUG]	Executed store
2023-10-13	13:24:52	3405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862896','8435466214760','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:24:52	3405	[DEBUG]	No parent found
2023-10-13	13:24:52	3405	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862896 AND customfield_value = 'stockable'
2023-10-13	13:24:52	3405	[DEBUG]	Check product language entry
2023-10-13	13:24:52	3405	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862897
2023-10-13	13:24:52	3405	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:52	3405	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214760' AND `virtuemart_product_id` != 1862897
2023-10-13	13:24:52	3405	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:52	3405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862897, '8435466214760')
2023-10-13	13:24:52	3405	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:52	3405	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-lumiere-arriere-40-lumens-cob-led-red-msc-rechargeable-usb-rouge-unitaire' AND `virtuemart_product_id` != 1862897
2023-10-13	13:24:52	3405	[DEBUG]	Query for ProductLang
2023-10-13	13:24:52	3405	[DEBUG]	Executed store
2023-10-13	13:24:52	3405	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Lumière arrière 40 Lumens cob led red MSC rechargeable USB  / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-lumiere-arriere-40-lumens-cob-led-red-msc-rechargeable-usb-rouge-unitaire' WHERE `virtuemart_product_id` = '1862897'
2023-10-13	13:24:52	3405	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37220_lumiere_arriere_40_lumens_cob_led_red_msc_rechargeable_usb_.jpg
2023-10-13	13:24:52	3405	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:52	3405	[DEBUG]	Process image file
2023-10-13	13:24:52	3405	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:24:52	3405	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:52	3405	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37220_lumiere_arriere_40_lumens_cob_led_red_msc_rechargeable_usb_.jpg
2023-10-13	13:24:52	3405	[DEBUG]	Full name target: bcprisme/37220_lumiere_arriere_40_lumens_cob_led_red_msc_rechargeable_usb_.jpg
2023-10-13	13:24:53	3405	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:53	3405	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37220_lumiere_arriere_40_lumens_cob_led_red_msc_rechargeable_usb_.jpg'
2023-10-13	13:24:53	3405	[DEBUG]	Query for Media
2023-10-13	13:24:53	3405	[DEBUG]	Executed store
2023-10-13	13:24:53	3405	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37220_lumiere_arriere_40_lumens_cob_led_red_msc_rechargeable_usb_.jpg',`file_url_thumb`='bcprisme/37220_lumiere_arriere_40_lumens_cob_led_red_msc_rechargeable_usb_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '860957'
2023-10-13	13:24:53	3405	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:53	3405	[DEBUG]	Executed store
2023-10-13	13:24:53	3405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862897','860957','1')
2023-10-13	13:24:53	3405	[DEBUG]	Store product image relation
2023-10-13	13:24:53	3405	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:53	3405	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862897 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:53	3405	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:53	3405	[DEBUG]	Executed store
2023-10-13	13:24:53	3405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862897','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:53	3405	[DEBUG]	Checking manufacturer
2023-10-13	13:24:53	3405	[DEBUG]	Load a row
2023-10-13	13:24:53	3405	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:53	3405	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:24:53	3405	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:53	3405	[DEBUG]	Executed store
2023-10-13	13:24:53	3405	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:24:53	3405	[DEBUG]	Manufacturer exists
2023-10-13	13:24:53	3405	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:24:53	3405	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:53	3405	[DEBUG]	Executed store
2023-10-13	13:24:53	3405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862897','32')
2023-10-13	13:24:53	3405	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:53	3405	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:53	3405	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862897 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:53	3405	[DEBUG]	Store custom available field
2023-10-13	13:24:53	3405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862897,3,'',1)
2023-10-13	13:24:53	3405	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:53	3405	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:53	3405	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862897 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:53	3405	[DEBUG]	Store custom available field
2023-10-13	13:24:53	3405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862897,6,'Unitaire',3)
2023-10-13	13:24:53	3405	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:53	3405	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:53	3405	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862896
2023-10-13	13:24:53	3405	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:53	3405	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862896\":[1862896,8,1,\"choisir la taille\"],\"1862897\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862896
2023-10-13	13:24:53	3405	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:53	3405	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862897
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:53	3406	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field taille
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:53	3406	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:53	3406	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:53	3406	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:53	3406	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:53	3406	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:53	3406	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field published
2023-10-13	13:24:53	3406	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:53	3406	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field override
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:53	3406	[DEBUG]	Use field value for field slug
2023-10-13	13:24:53	3406	[DEBUG]	Process line 3406
2023-10-13	13:24:53	3406	[DEBUG]	Load a row
2023-10-13	13:24:53	3406	[DEBUG]	Processing item: A_8637_1
2023-10-13	13:24:53	3406	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:53	3406	[DEBUG]	Processing product tax
2023-10-13	13:24:53	3406	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:53	3406	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:53	3406	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:53	3406	[DEBUG]	Query for Product
2023-10-13	13:24:53	3406	[DEBUG]	Executed store
2023-10-13	13:24:53	3406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8637_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:24:53	3406	[DEBUG]	Check product language entry
2023-10-13	13:24:53	3406	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862898
2023-10-13	13:24:53	3406	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:53	3406	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8637_1' AND `virtuemart_product_id` != 1862898
2023-10-13	13:24:53	3406	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:53	3406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862898, 'A_8637_1')
2023-10-13	13:24:53	3406	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:53	3406	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'knog-lampe-frontale-pwr-headtorch-1000-avec-bank-small-noir' AND `virtuemart_product_id` != 1862898
2023-10-13	13:24:53	3406	[DEBUG]	Query for ProductLang
2023-10-13	13:24:53	3406	[DEBUG]	Executed store
2023-10-13	13:24:53	3406	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.74795',`product_name`='Knog Lampe frontale PWR Headtorch 1000 avec Bank small / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='knog-lampe-frontale-pwr-headtorch-1000-avec-bank-small-noir' WHERE `virtuemart_product_id` = '1862898'
2023-10-13	13:24:53	3406	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_74794_jpg.jpg
2023-10-13	13:24:53	3406	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:24:53	3406	[DEBUG]	Process image file
2023-10-13	13:24:53	3406	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:24:53	3406	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:53	3406	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_74794_jpg.jpg
2023-10-13	13:24:53	3406	[DEBUG]	Full name target: bcprisme/10_74794_jpg.jpg
2023-10-13	13:24:54	3406	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:54	3406	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/10_74794_jpg.jpg'
2023-10-13	13:24:54	3406	[DEBUG]	Query for Media
2023-10-13	13:24:54	3406	[DEBUG]	Executed store
2023-10-13	13:24:54	3406	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/10_74794_jpg.jpg',`file_url_thumb`='bcprisme/10_74794_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1002049'
2023-10-13	13:24:54	3406	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:54	3406	[DEBUG]	Executed store
2023-10-13	13:24:54	3406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862898','1002049','1')
2023-10-13	13:24:54	3406	[DEBUG]	Store product image relation
2023-10-13	13:24:54	3406	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:54	3406	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862898 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:54	3406	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:54	3406	[DEBUG]	Executed store
2023-10-13	13:24:54	3406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862898','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:54	3406	[DEBUG]	Checking manufacturer
2023-10-13	13:24:54	3406	[DEBUG]	Load a row
2023-10-13	13:24:54	3406	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:54	3406	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '65'
2023-10-13	13:24:54	3406	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:54	3406	[DEBUG]	Executed store
2023-10-13	13:24:54	3406	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2022-01-17-04-10-561323931281' WHERE `virtuemart_manufacturer_id` = '65'
2023-10-13	13:24:54	3406	[DEBUG]	Manufacturer exists
2023-10-13	13:24:54	3406	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 65
2023-10-13	13:24:54	3406	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:54	3406	[DEBUG]	Executed store
2023-10-13	13:24:54	3406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862898','65')
2023-10-13	13:24:54	3406	[DEBUG]	Find the custom field ID
2023-10-13	13:24:54	3406	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:54	3406	[DEBUG]	No custom field ID found
2023-10-13	13:24:54	3406	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:54	3406	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:24:54	3406	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862898 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:54	3406	[DEBUG]	Store custom available field
2023-10-13	13:24:54	3406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862898,3,'0',1)
2023-10-13	13:24:54	3406	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:54	3406	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:54	3406	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862898 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:54	3406	[DEBUG]	Store custom available field
2023-10-13	13:24:54	3406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862898,6,'choisir la taille',3)
2023-10-13	13:24:54	3406	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:54	3406	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:54	3406	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:54	3406	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:54	3406	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862898 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:54	3406	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:54	3406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862898,8,1)
2023-10-13	13:24:54	3406	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:54	3406	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862898\":[1862898,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862898
2023-10-13	13:24:54	3406	[DEBUG]	Checking category
2023-10-13	13:24:54	3406	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:54	3406	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862898
2023-10-13	13:24:54	3406	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:54	3406	[DEBUG]	Executed store
2023-10-13	13:24:54	3406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862898','7375')
2023-10-13	13:24:54	3406	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:54	3406	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862898 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:54	3406	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:54	3406	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862898
2023-10-13	13:24:54	3407	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:54	3407	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:54	3407	[DEBUG]	Use field value for field taille
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:54	3407	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:54	3407	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:54	3407	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:54	3407	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:54	3407	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:54	3407	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:54	3407	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:54	3407	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:54	3407	[DEBUG]	Use field value for field published
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:54	3407	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field override
2023-10-13	13:24:54	3407	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:54	3407	[DEBUG]	Use field value for field slug
2023-10-13	13:24:54	3407	[DEBUG]	Process line 3407
2023-10-13	13:24:54	3407	[DEBUG]	Load a row
2023-10-13	13:24:54	3407	[DEBUG]	Processing item: 9328389028363
2023-10-13	13:24:54	3407	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:54	3407	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:54	3407	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8637_1'
2023-10-13	13:24:54	3407	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:54	3407	[DEBUG]	Processing product tax
2023-10-13	13:24:54	3407	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:54	3407	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:54	3407	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:54	3407	[DEBUG]	Query for Product
2023-10-13	13:24:54	3407	[DEBUG]	Executed store
2023-10-13	13:24:54	3407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862898','9328389028363','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:24:54	3407	[DEBUG]	No parent found
2023-10-13	13:24:54	3407	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862898 AND customfield_value = 'stockable'
2023-10-13	13:24:54	3407	[DEBUG]	Check product language entry
2023-10-13	13:24:54	3407	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862899
2023-10-13	13:24:54	3407	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:54	3407	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '9328389028363' AND `virtuemart_product_id` != 1862899
2023-10-13	13:24:54	3407	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:54	3407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862899, '9328389028363')
2023-10-13	13:24:54	3407	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:54	3407	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'knog-lampe-frontale-pwr-headtorch-1000-avec-bank-small-noir-unitaire' AND `virtuemart_product_id` != 1862899
2023-10-13	13:24:54	3407	[DEBUG]	Query for ProductLang
2023-10-13	13:24:54	3407	[DEBUG]	Executed store
2023-10-13	13:24:54	3407	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Knog Lampe frontale PWR Headtorch 1000 avec Bank small / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='knog-lampe-frontale-pwr-headtorch-1000-avec-bank-small-noir-unitaire' WHERE `virtuemart_product_id` = '1862899'
2023-10-13	13:24:54	3407	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_74794_jpg.jpg
2023-10-13	13:24:54	3407	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:24:54	3407	[DEBUG]	Process image file
2023-10-13	13:24:54	3407	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:24:54	3407	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:54	3407	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_74794_jpg.jpg
2023-10-13	13:24:54	3407	[DEBUG]	Full name target: bcprisme/10_74794_jpg.jpg
2023-10-13	13:24:55	3407	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:55	3407	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/10_74794_jpg.jpg'
2023-10-13	13:24:55	3407	[DEBUG]	Query for Media
2023-10-13	13:24:55	3407	[DEBUG]	Executed store
2023-10-13	13:24:55	3407	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/10_74794_jpg.jpg',`file_url_thumb`='bcprisme/10_74794_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1002049'
2023-10-13	13:24:55	3407	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:55	3407	[DEBUG]	Executed store
2023-10-13	13:24:55	3407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862899','1002049','1')
2023-10-13	13:24:55	3407	[DEBUG]	Store product image relation
2023-10-13	13:24:55	3407	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:55	3407	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862899 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:55	3407	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:55	3407	[DEBUG]	Executed store
2023-10-13	13:24:55	3407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862899','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:55	3407	[DEBUG]	Checking manufacturer
2023-10-13	13:24:55	3407	[DEBUG]	Load a row
2023-10-13	13:24:55	3407	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:55	3407	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '65'
2023-10-13	13:24:55	3407	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:55	3407	[DEBUG]	Executed store
2023-10-13	13:24:55	3407	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2022-01-17-04-10-561323931281' WHERE `virtuemart_manufacturer_id` = '65'
2023-10-13	13:24:55	3407	[DEBUG]	Manufacturer exists
2023-10-13	13:24:55	3407	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 65
2023-10-13	13:24:55	3407	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:55	3407	[DEBUG]	Executed store
2023-10-13	13:24:55	3407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862899','65')
2023-10-13	13:24:55	3407	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:55	3407	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:55	3407	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862899 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:55	3407	[DEBUG]	Store custom available field
2023-10-13	13:24:55	3407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862899,3,'',1)
2023-10-13	13:24:55	3407	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:55	3407	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:55	3407	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862899 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:55	3407	[DEBUG]	Store custom available field
2023-10-13	13:24:55	3407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862899,6,'Unitaire',3)
2023-10-13	13:24:55	3407	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:55	3407	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:55	3407	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862898
2023-10-13	13:24:55	3407	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:55	3407	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862898\":[1862898,8,1,\"choisir la taille\"],\"1862899\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862898
2023-10-13	13:24:55	3407	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:55	3407	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862899
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:55	3408	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field taille
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:55	3408	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:55	3408	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:55	3408	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:55	3408	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:55	3408	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:55	3408	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field published
2023-10-13	13:24:55	3408	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:55	3408	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field override
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:55	3408	[DEBUG]	Use field value for field slug
2023-10-13	13:24:55	3408	[DEBUG]	Process line 3408
2023-10-13	13:24:55	3408	[DEBUG]	Load a row
2023-10-13	13:24:55	3408	[DEBUG]	Processing item: A_8692_1
2023-10-13	13:24:55	3408	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:55	3408	[DEBUG]	Processing product tax
2023-10-13	13:24:55	3408	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:55	3408	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:55	3408	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:55	3408	[DEBUG]	Query for Product
2023-10-13	13:24:55	3408	[DEBUG]	Executed store
2023-10-13	13:24:55	3408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8692_1','0.058','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:24:55	3408	[DEBUG]	Check product language entry
2023-10-13	13:24:55	3408	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862900
2023-10-13	13:24:55	3408	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:55	3408	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8692_1' AND `virtuemart_product_id` != 1862900
2023-10-13	13:24:55	3408	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:55	3408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862900, 'A_8692_1')
2023-10-13	13:24:55	3408	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:55	3408	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-lumiere-arriere-supernova-e3-tail-light-2-6-volts-noir' AND `virtuemart_product_id` != 1862900
2023-10-13	13:24:55	3408	[DEBUG]	Query for ProductLang
2023-10-13	13:24:55	3408	[DEBUG]	Executed store
2023-10-13	13:24:55	3408	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lumière Xeccon - Link - 300 Lumen Lumens: 300 LED: 2*Cree XM-L Battery: Lithium Polymer Run Times: 1.2Hr High / 4Hr Low / 9.9Hr Strobe Charge Time: 5 Hrs Voltage/Capacity: 4.2V / 1000mAh Mount: Handlebar Power: USB 5V Waterproof level: IPX7 Accessories included: Manual, USB cable, handlebar mount Certifications: CE/ RoHS 58 gr.<br>N° art fourn : 600.003.008',`product_name`='SHIMANO Lumière arrière Supernova E3 Tail Light 2, 6 Volts / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-lumiere-arriere-supernova-e3-tail-light-2-6-volts-noir' WHERE `virtuemart_product_id` = '1862900'
2023-10-13	13:24:55	3408	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37650_feu_arriere_supernova_e3_tail_light_2,_6_volts.jpg
2023-10-13	13:24:55	3408	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:24:55	3408	[DEBUG]	Process image file
2023-10-13	13:24:55	3408	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:24:55	3408	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:55	3408	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37650_feu_arriere_supernova_e3_tail_light_2,_6_volts.jpg
2023-10-13	13:24:55	3408	[DEBUG]	Full name target: bcprisme/37650_feu_arriere_supernova_e3_tail_light_2,_6_volts.jpg
2023-10-13	13:24:56	3408	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:56	3408	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37650_feu_arriere_supernova_e3_tail_light_2,_6_volts.jpg'
2023-10-13	13:24:56	3408	[DEBUG]	Query for Media
2023-10-13	13:24:56	3408	[DEBUG]	Executed store
2023-10-13	13:24:56	3408	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37650_feu_arriere_supernova_e3_tail_light_2,_6_volts.jpg',`file_url_thumb`='bcprisme/37650_feu_arriere_supernova_e3_tail_light_2,_6_volts.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041123'
2023-10-13	13:24:56	3408	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:56	3408	[DEBUG]	Executed store
2023-10-13	13:24:56	3408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862900','1041123','1')
2023-10-13	13:24:56	3408	[DEBUG]	Store product image relation
2023-10-13	13:24:56	3408	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:56	3408	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862900 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:56	3408	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:56	3408	[DEBUG]	Executed store
2023-10-13	13:24:56	3408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862900','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:56	3408	[DEBUG]	Checking manufacturer
2023-10-13	13:24:56	3408	[DEBUG]	Load a row
2023-10-13	13:24:56	3408	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:56	3408	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:24:56	3408	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:56	3408	[DEBUG]	Executed store
2023-10-13	13:24:56	3408	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:24:56	3408	[DEBUG]	Manufacturer exists
2023-10-13	13:24:56	3408	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:24:56	3408	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:56	3408	[DEBUG]	Executed store
2023-10-13	13:24:56	3408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862900','123')
2023-10-13	13:24:56	3408	[DEBUG]	Find the custom field ID
2023-10-13	13:24:56	3408	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:56	3408	[DEBUG]	No custom field ID found
2023-10-13	13:24:56	3408	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:56	3408	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:24:56	3408	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862900 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:56	3408	[DEBUG]	Store custom available field
2023-10-13	13:24:56	3408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862900,3,'99.6225',1)
2023-10-13	13:24:56	3408	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:56	3408	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:56	3408	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862900 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:56	3408	[DEBUG]	Store custom available field
2023-10-13	13:24:56	3408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862900,6,'choisir la taille',3)
2023-10-13	13:24:56	3408	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:56	3408	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:56	3408	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:56	3408	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:56	3408	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862900 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:56	3408	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:56	3408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862900,8,1)
2023-10-13	13:24:56	3408	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:56	3408	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862900\":[1862900,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862900
2023-10-13	13:24:56	3408	[DEBUG]	Checking category
2023-10-13	13:24:56	3408	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:56	3408	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862900
2023-10-13	13:24:56	3408	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:56	3408	[DEBUG]	Executed store
2023-10-13	13:24:56	3408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862900','7375')
2023-10-13	13:24:56	3408	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:56	3408	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862900 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:56	3408	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:56	3408	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862900
2023-10-13	13:24:56	3409	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:56	3409	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:56	3409	[DEBUG]	Use field value for field taille
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:56	3409	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:56	3409	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:56	3409	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:56	3409	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:56	3409	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:56	3409	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:56	3409	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:56	3409	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:56	3409	[DEBUG]	Use field value for field published
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:56	3409	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field override
2023-10-13	13:24:56	3409	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:56	3409	[DEBUG]	Use field value for field slug
2023-10-13	13:24:56	3409	[DEBUG]	Process line 3409
2023-10-13	13:24:56	3409	[DEBUG]	Load a row
2023-10-13	13:24:56	3409	[DEBUG]	Processing item: 1000000161106
2023-10-13	13:24:56	3409	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:56	3409	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:56	3409	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8692_1'
2023-10-13	13:24:56	3409	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:56	3409	[DEBUG]	Processing product tax
2023-10-13	13:24:56	3409	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:56	3409	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:56	3409	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:56	3409	[DEBUG]	Query for Product
2023-10-13	13:24:56	3409	[DEBUG]	Executed store
2023-10-13	13:24:56	3409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862900','1000000161106','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:24:56	3409	[DEBUG]	No parent found
2023-10-13	13:24:56	3409	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862900 AND customfield_value = 'stockable'
2023-10-13	13:24:56	3409	[DEBUG]	Check product language entry
2023-10-13	13:24:56	3409	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862901
2023-10-13	13:24:56	3409	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:56	3409	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000161106' AND `virtuemart_product_id` != 1862901
2023-10-13	13:24:56	3409	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:56	3409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862901, '1000000161106')
2023-10-13	13:24:56	3409	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:56	3409	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-lumiere-arriere-supernova-e3-tail-light-2-6-volts-noir-unitaire' AND `virtuemart_product_id` != 1862901
2023-10-13	13:24:56	3409	[DEBUG]	Query for ProductLang
2023-10-13	13:24:56	3409	[DEBUG]	Executed store
2023-10-13	13:24:56	3409	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Lumière arrière Supernova E3 Tail Light 2, 6 Volts / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-lumiere-arriere-supernova-e3-tail-light-2-6-volts-noir-unitaire' WHERE `virtuemart_product_id` = '1862901'
2023-10-13	13:24:56	3409	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37650_feu_arriere_supernova_e3_tail_light_2,_6_volts.jpg
2023-10-13	13:24:56	3409	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:24:56	3409	[DEBUG]	Process image file
2023-10-13	13:24:56	3409	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:24:56	3409	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:56	3409	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37650_feu_arriere_supernova_e3_tail_light_2,_6_volts.jpg
2023-10-13	13:24:56	3409	[DEBUG]	Full name target: bcprisme/37650_feu_arriere_supernova_e3_tail_light_2,_6_volts.jpg
2023-10-13	13:24:57	3409	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:57	3409	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37650_feu_arriere_supernova_e3_tail_light_2,_6_volts.jpg'
2023-10-13	13:24:57	3409	[DEBUG]	Query for Media
2023-10-13	13:24:57	3409	[DEBUG]	Executed store
2023-10-13	13:24:57	3409	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37650_feu_arriere_supernova_e3_tail_light_2,_6_volts.jpg',`file_url_thumb`='bcprisme/37650_feu_arriere_supernova_e3_tail_light_2,_6_volts.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041123'
2023-10-13	13:24:57	3409	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:57	3409	[DEBUG]	Executed store
2023-10-13	13:24:57	3409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862901','1041123','1')
2023-10-13	13:24:57	3409	[DEBUG]	Store product image relation
2023-10-13	13:24:57	3409	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:57	3409	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862901 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:57	3409	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:57	3409	[DEBUG]	Executed store
2023-10-13	13:24:57	3409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862901','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:57	3409	[DEBUG]	Checking manufacturer
2023-10-13	13:24:57	3409	[DEBUG]	Load a row
2023-10-13	13:24:57	3409	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:57	3409	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:24:57	3409	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:57	3409	[DEBUG]	Executed store
2023-10-13	13:24:57	3409	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:24:57	3409	[DEBUG]	Manufacturer exists
2023-10-13	13:24:57	3409	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:24:57	3409	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:57	3409	[DEBUG]	Executed store
2023-10-13	13:24:57	3409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862901','123')
2023-10-13	13:24:57	3409	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:57	3409	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:57	3409	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862901 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:57	3409	[DEBUG]	Store custom available field
2023-10-13	13:24:57	3409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862901,3,'',1)
2023-10-13	13:24:57	3409	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:57	3409	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:57	3409	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862901 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:57	3409	[DEBUG]	Store custom available field
2023-10-13	13:24:57	3409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862901,6,'Unitaire',3)
2023-10-13	13:24:57	3409	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:57	3409	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:57	3409	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862900
2023-10-13	13:24:57	3409	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:57	3409	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862900\":[1862900,8,1,\"choisir la taille\"],\"1862901\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862900
2023-10-13	13:24:57	3409	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:57	3409	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862901
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:57	3410	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field taille
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:57	3410	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:57	3410	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:57	3410	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:57	3410	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:57	3410	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:57	3410	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field published
2023-10-13	13:24:57	3410	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:57	3410	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field override
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:57	3410	[DEBUG]	Use field value for field slug
2023-10-13	13:24:57	3410	[DEBUG]	Process line 3410
2023-10-13	13:24:57	3410	[DEBUG]	Load a row
2023-10-13	13:24:57	3410	[DEBUG]	Processing item: A_8725_1
2023-10-13	13:24:57	3410	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:57	3410	[DEBUG]	Processing product tax
2023-10-13	13:24:57	3410	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:57	3410	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:57	3410	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:57	3410	[DEBUG]	Query for Product
2023-10-13	13:24:57	3410	[DEBUG]	Executed store
2023-10-13	13:24:57	3410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8725_1','0.058','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:24:57	3410	[DEBUG]	Check product language entry
2023-10-13	13:24:57	3410	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862902
2023-10-13	13:24:57	3410	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:57	3410	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8725_1' AND `virtuemart_product_id` != 1862902
2023-10-13	13:24:57	3410	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:57	3410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862902, 'A_8725_1')
2023-10-13	13:24:57	3410	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:57	3410	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-collier-de-guidon-pour-supernova-31-8-mm-noir' AND `virtuemart_product_id` != 1862902
2023-10-13	13:24:57	3410	[DEBUG]	Query for ProductLang
2023-10-13	13:24:57	3410	[DEBUG]	Executed store
2023-10-13	13:24:57	3410	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='L<br>N° art fourn : 600.003.034',`product_name`='SHIMANO Collier de guidon pour Supernova 31.8 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-collier-de-guidon-pour-supernova-31-8-mm-noir' WHERE `virtuemart_product_id` = '1862902'
2023-10-13	13:24:57	3410	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37686_collier_de_guidon_pour_supernova_31_8_mm.jpg
2023-10-13	13:24:57	3410	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:24:57	3410	[DEBUG]	Process image file
2023-10-13	13:24:57	3410	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:24:57	3410	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:57	3410	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37686_collier_de_guidon_pour_supernova_31_8_mm.jpg
2023-10-13	13:24:57	3410	[DEBUG]	Full name target: bcprisme/37686_collier_de_guidon_pour_supernova_31_8_mm.jpg
2023-10-13	13:24:58	3410	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:58	3410	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37686_collier_de_guidon_pour_supernova_31_8_mm.jpg'
2023-10-13	13:24:58	3410	[DEBUG]	Query for Media
2023-10-13	13:24:58	3410	[DEBUG]	Executed store
2023-10-13	13:24:58	3410	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37686_collier_de_guidon_pour_supernova_31_8_mm.jpg',`file_url_thumb`='bcprisme/37686_collier_de_guidon_pour_supernova_31_8_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041125'
2023-10-13	13:24:58	3410	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:58	3410	[DEBUG]	Executed store
2023-10-13	13:24:58	3410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862902','1041125','1')
2023-10-13	13:24:58	3410	[DEBUG]	Store product image relation
2023-10-13	13:24:58	3410	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:58	3410	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862902 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:58	3410	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:58	3410	[DEBUG]	Executed store
2023-10-13	13:24:58	3410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862902','0','35.1903435468895','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:58	3410	[DEBUG]	Checking manufacturer
2023-10-13	13:24:58	3410	[DEBUG]	Load a row
2023-10-13	13:24:58	3410	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:58	3410	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:24:58	3410	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:58	3410	[DEBUG]	Executed store
2023-10-13	13:24:58	3410	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:24:58	3410	[DEBUG]	Manufacturer exists
2023-10-13	13:24:58	3410	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:24:58	3410	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:58	3410	[DEBUG]	Executed store
2023-10-13	13:24:58	3410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862902','123')
2023-10-13	13:24:58	3410	[DEBUG]	Find the custom field ID
2023-10-13	13:24:58	3410	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:24:58	3410	[DEBUG]	No custom field ID found
2023-10-13	13:24:58	3410	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:58	3410	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:24:58	3410	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862902 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:58	3410	[DEBUG]	Store custom available field
2023-10-13	13:24:58	3410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862902,3,'99.6225',1)
2023-10-13	13:24:58	3410	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:58	3410	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:24:58	3410	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862902 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:58	3410	[DEBUG]	Store custom available field
2023-10-13	13:24:58	3410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862902,6,'choisir la taille',3)
2023-10-13	13:24:58	3410	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:58	3410	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:24:58	3410	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:24:58	3410	[DEBUG]	Find the multi variant product entry
2023-10-13	13:24:58	3410	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862902 AND `virtuemart_custom_id` = 8
2023-10-13	13:24:58	3410	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:24:58	3410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862902,8,1)
2023-10-13	13:24:58	3410	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:58	3410	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862902\":[1862902,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862902
2023-10-13	13:24:58	3410	[DEBUG]	Checking category
2023-10-13	13:24:58	3410	[DEBUG]	Get the existing categories for the product
2023-10-13	13:24:58	3410	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862902
2023-10-13	13:24:58	3410	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:24:58	3410	[DEBUG]	Executed store
2023-10-13	13:24:58	3410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862902','7375')
2023-10-13	13:24:58	3410	[DEBUG]	Delete leftover product categories
2023-10-13	13:24:58	3410	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862902 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:24:58	3410	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:58	3410	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862902
2023-10-13	13:24:58	3411	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:58	3411	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:24:58	3411	[DEBUG]	Use field value for field taille
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:24:58	3411	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field category_path
2023-10-13	13:24:58	3411	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:58	3411	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:58	3411	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:58	3411	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:24:58	3411	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field product_weight
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:58	3411	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:58	3411	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:58	3411	[DEBUG]	Use field value for field published
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field custom_title
2023-10-13	13:24:58	3411	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field custom_param
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field override
2023-10-13	13:24:58	3411	[DEBUG]	Use default value for field public_price
2023-10-13	13:24:58	3411	[DEBUG]	Use field value for field slug
2023-10-13	13:24:58	3411	[DEBUG]	Process line 3411
2023-10-13	13:24:58	3411	[DEBUG]	Load a row
2023-10-13	13:24:58	3411	[DEBUG]	Processing item: 4260224793584
2023-10-13	13:24:58	3411	[DEBUG]	Looking for parent SKU
2023-10-13	13:24:58	3411	[DEBUG]	Checking product parent SKU
2023-10-13	13:24:58	3411	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8725_1'
2023-10-13	13:24:58	3411	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:58	3411	[DEBUG]	Processing product tax
2023-10-13	13:24:58	3411	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:58	3411	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:58	3411	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:58	3411	[DEBUG]	Query for Product
2023-10-13	13:24:58	3411	[DEBUG]	Executed store
2023-10-13	13:24:58	3411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862902','4260224793584','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:24:58	3411	[DEBUG]	No parent found
2023-10-13	13:24:58	3411	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862902 AND customfield_value = 'stockable'
2023-10-13	13:24:58	3411	[DEBUG]	Check product language entry
2023-10-13	13:24:58	3411	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862903
2023-10-13	13:24:58	3411	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:58	3411	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4260224793584' AND `virtuemart_product_id` != 1862903
2023-10-13	13:24:58	3411	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:58	3411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862903, '4260224793584')
2023-10-13	13:24:58	3411	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:58	3411	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-collier-de-guidon-pour-supernova-31-8-mm-noir-unitaire' AND `virtuemart_product_id` != 1862903
2023-10-13	13:24:58	3411	[DEBUG]	Query for ProductLang
2023-10-13	13:24:58	3411	[DEBUG]	Executed store
2023-10-13	13:24:58	3411	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Collier de guidon pour Supernova 31.8 mm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-collier-de-guidon-pour-supernova-31-8-mm-noir-unitaire' WHERE `virtuemart_product_id` = '1862903'
2023-10-13	13:24:58	3411	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37686_collier_de_guidon_pour_supernova_31_8_mm.jpg
2023-10-13	13:24:58	3411	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:24:58	3411	[DEBUG]	Process image file
2023-10-13	13:24:58	3411	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:24:58	3411	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:58	3411	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37686_collier_de_guidon_pour_supernova_31_8_mm.jpg
2023-10-13	13:24:58	3411	[DEBUG]	Full name target: bcprisme/37686_collier_de_guidon_pour_supernova_31_8_mm.jpg
2023-10-13	13:24:59	3411	[DEBUG]	Checking if the file_url exists
2023-10-13	13:24:59	3411	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37686_collier_de_guidon_pour_supernova_31_8_mm.jpg'
2023-10-13	13:24:59	3411	[DEBUG]	Query for Media
2023-10-13	13:24:59	3411	[DEBUG]	Executed store
2023-10-13	13:24:59	3411	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37686_collier_de_guidon_pour_supernova_31_8_mm.jpg',`file_url_thumb`='bcprisme/37686_collier_de_guidon_pour_supernova_31_8_mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041125'
2023-10-13	13:24:59	3411	[DEBUG]	Query for ProductMedia
2023-10-13	13:24:59	3411	[DEBUG]	Executed store
2023-10-13	13:24:59	3411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862903','1041125','1')
2023-10-13	13:24:59	3411	[DEBUG]	Store product image relation
2023-10-13	13:24:59	3411	[DEBUG]	Finding a product_price_id
2023-10-13	13:24:59	3411	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862903 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:24:59	3411	[DEBUG]	Query for ProductPrice
2023-10-13	13:24:59	3411	[DEBUG]	Executed store
2023-10-13	13:24:59	3411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862903','0','35.1903435468895','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:24:59	3411	[DEBUG]	Checking manufacturer
2023-10-13	13:24:59	3411	[DEBUG]	Load a row
2023-10-13	13:24:59	3411	[DEBUG]	Manufacturer already exists
2023-10-13	13:24:59	3411	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:24:59	3411	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:24:59	3411	[DEBUG]	Executed store
2023-10-13	13:24:59	3411	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:24:59	3411	[DEBUG]	Manufacturer exists
2023-10-13	13:24:59	3411	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:24:59	3411	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:24:59	3411	[DEBUG]	Executed store
2023-10-13	13:24:59	3411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862903','123')
2023-10-13	13:24:59	3411	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:24:59	3411	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:24:59	3411	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862903 AND `virtuemart_custom_id` = 3
2023-10-13	13:24:59	3411	[DEBUG]	Store custom available field
2023-10-13	13:24:59	3411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862903,3,'',1)
2023-10-13	13:24:59	3411	[DEBUG]	Processing custom available field: taille
2023-10-13	13:24:59	3411	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:24:59	3411	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862903 AND `virtuemart_custom_id` = 6
2023-10-13	13:24:59	3411	[DEBUG]	Store custom available field
2023-10-13	13:24:59	3411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862903,6,'Unitaire',3)
2023-10-13	13:24:59	3411	[DEBUG]	Process multi-variant fields
2023-10-13	13:24:59	3411	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:24:59	3411	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862902
2023-10-13	13:24:59	3411	[DEBUG]	Store the updated customfield_params
2023-10-13	13:24:59	3411	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862902\":[1862902,8,1,\"choisir la taille\"],\"1862903\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862902
2023-10-13	13:24:59	3411	[DEBUG]	Update has fields after all processing
2023-10-13	13:24:59	3411	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862903
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field product_sku
2023-10-13	13:24:59	3412	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field taille
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field product_name
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field category_path
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field product_price
2023-10-13	13:24:59	3412	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field product_tax
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field file_url
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:24:59	3412	[DEBUG]	Use default value for field product_desc
2023-10-13	13:24:59	3412	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field product_availability
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field product_weight
2023-10-13	13:24:59	3412	[DEBUG]	Use default value for field product_unit
2023-10-13	13:24:59	3412	[DEBUG]	Use default value for field related_products
2023-10-13	13:24:59	3412	[DEBUG]	Use default value for field product_special
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field published
2023-10-13	13:24:59	3412	[DEBUG]	Use default value for field metadesc
2023-10-13	13:24:59	3412	[DEBUG]	Use default value for field metakey
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field custom_title
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field custom_value
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field custom_param
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field override
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field public_price
2023-10-13	13:24:59	3412	[DEBUG]	Use field value for field slug
2023-10-13	13:24:59	3412	[DEBUG]	Process line 3412
2023-10-13	13:24:59	3412	[DEBUG]	Load a row
2023-10-13	13:24:59	3412	[DEBUG]	Processing item: A_9017_1
2023-10-13	13:24:59	3412	[DEBUG]	Product tax: 7.7
2023-10-13	13:24:59	3412	[DEBUG]	Processing product tax
2023-10-13	13:24:59	3412	[DEBUG]	Check if calculation rule exists
2023-10-13	13:24:59	3412	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:24:59	3412	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:24:59	3412	[DEBUG]	Query for Product
2023-10-13	13:24:59	3412	[DEBUG]	Executed store
2023-10-13	13:24:59	3412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9017_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:24:59	3412	[DEBUG]	Check product language entry
2023-10-13	13:24:59	3412	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862904
2023-10-13	13:24:59	3412	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:59	3412	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9017_1' AND `virtuemart_product_id` != 1862904
2023-10-13	13:24:59	3412	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:24:59	3412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862904, 'A_9017_1')
2023-10-13	13:24:59	3412	[DEBUG]	Check if the product slug exists
2023-10-13	13:24:59	3412	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axa-lumiere-pico-30-interrupteur-led-6v-42v-noir-noir' AND `virtuemart_product_id` != 1862904
2023-10-13	13:24:59	3412	[DEBUG]	Query for ProductLang
2023-10-13	13:24:59	3412	[DEBUG]	Executed store
2023-10-13	13:24:59	3412	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.59882',`product_name`='AXA Lumière Pico 30 interrupteur LED 6V-42V noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axa-lumiere-pico-30-interrupteur-led-6v-42v-noir-noir' WHERE `virtuemart_product_id` = '1862904'
2023-10-13	13:24:59	3412	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_59882_.jpg
2023-10-13	13:24:59	3412	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:24:59	3412	[DEBUG]	Process image file
2023-10-13	13:24:59	3412	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:24:59	3412	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:24:59	3412	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_59882_.jpg
2023-10-13	13:24:59	3412	[DEBUG]	Full name target: bcprisme/10_59882_.jpg
2023-10-13	13:25:00	3412	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:00	3412	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/10_59882_.jpg'
2023-10-13	13:25:00	3412	[DEBUG]	Query for Media
2023-10-13	13:25:00	3412	[DEBUG]	Executed store
2023-10-13	13:25:00	3412	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/10_59882_.jpg',`file_url_thumb`='bcprisme/10_59882_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1234758'
2023-10-13	13:25:00	3412	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:00	3412	[DEBUG]	Executed store
2023-10-13	13:25:00	3412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862904','1234758','1')
2023-10-13	13:25:00	3412	[DEBUG]	Store product image relation
2023-10-13	13:25:00	3412	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:00	3412	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862904 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:00	3412	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:00	3412	[DEBUG]	Executed store
2023-10-13	13:25:00	3412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862904','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:00	3412	[DEBUG]	Checking manufacturer
2023-10-13	13:25:00	3412	[DEBUG]	Load a row
2023-10-13	13:25:00	3412	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:00	3412	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:25:00	3412	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:00	3412	[DEBUG]	Executed store
2023-10-13	13:25:00	3412	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33203411673' WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:25:00	3412	[DEBUG]	Manufacturer exists
2023-10-13	13:25:00	3412	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 195
2023-10-13	13:25:00	3412	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:00	3412	[DEBUG]	Executed store
2023-10-13	13:25:00	3412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862904','195')
2023-10-13	13:25:00	3412	[DEBUG]	Find the custom field ID
2023-10-13	13:25:00	3412	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:00	3412	[DEBUG]	No custom field ID found
2023-10-13	13:25:00	3412	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:00	3412	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:25:00	3412	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862904 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:00	3412	[DEBUG]	Store custom available field
2023-10-13	13:25:00	3412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862904,3,'0',1)
2023-10-13	13:25:00	3412	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:00	3412	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:00	3412	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862904 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:00	3412	[DEBUG]	Store custom available field
2023-10-13	13:25:00	3412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862904,6,'choisir la taille',3)
2023-10-13	13:25:00	3412	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:00	3412	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:00	3412	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:00	3412	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:00	3412	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862904 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:00	3412	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:00	3412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862904,8,1)
2023-10-13	13:25:00	3412	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:00	3412	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862904\":[1862904,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862904
2023-10-13	13:25:00	3412	[DEBUG]	Checking category
2023-10-13	13:25:00	3412	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:00	3412	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862904
2023-10-13	13:25:00	3412	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:00	3412	[DEBUG]	Executed store
2023-10-13	13:25:00	3412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862904','7375')
2023-10-13	13:25:00	3412	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:00	3412	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862904 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:25:00	3412	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:00	3412	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862904
2023-10-13	13:25:00	3413	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:00	3413	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:00	3413	[DEBUG]	Use field value for field taille
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:00	3413	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:00	3413	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:00	3413	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:00	3413	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:00	3413	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:00	3413	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:00	3413	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:00	3413	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:00	3413	[DEBUG]	Use field value for field published
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:00	3413	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field override
2023-10-13	13:25:00	3413	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:00	3413	[DEBUG]	Use field value for field slug
2023-10-13	13:25:00	3413	[DEBUG]	Process line 3413
2023-10-13	13:25:00	3413	[DEBUG]	Load a row
2023-10-13	13:25:00	3413	[DEBUG]	Processing item: 3379939180952
2023-10-13	13:25:00	3413	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:00	3413	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:00	3413	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9017_1'
2023-10-13	13:25:00	3413	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:00	3413	[DEBUG]	Processing product tax
2023-10-13	13:25:00	3413	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:00	3413	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:00	3413	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:00	3413	[DEBUG]	Query for Product
2023-10-13	13:25:00	3413	[DEBUG]	Executed store
2023-10-13	13:25:00	3413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862904','3379939180952','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:00	3413	[DEBUG]	No parent found
2023-10-13	13:25:00	3413	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862904 AND customfield_value = 'stockable'
2023-10-13	13:25:00	3413	[DEBUG]	Check product language entry
2023-10-13	13:25:00	3413	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862905
2023-10-13	13:25:00	3413	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:00	3413	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3379939180952' AND `virtuemart_product_id` != 1862905
2023-10-13	13:25:00	3413	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:00	3413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862905, '3379939180952')
2023-10-13	13:25:00	3413	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:00	3413	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axa-lumiere-pico-30-interrupteur-led-6v-42v-noir-noir-unitaire' AND `virtuemart_product_id` != 1862905
2023-10-13	13:25:00	3413	[DEBUG]	Query for ProductLang
2023-10-13	13:25:00	3413	[DEBUG]	Executed store
2023-10-13	13:25:00	3413	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXA Lumière Pico 30 interrupteur LED 6V-42V noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axa-lumiere-pico-30-interrupteur-led-6v-42v-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1862905'
2023-10-13	13:25:00	3413	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_59882_.jpg
2023-10-13	13:25:00	3413	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:25:00	3413	[DEBUG]	Process image file
2023-10-13	13:25:00	3413	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:25:00	3413	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:00	3413	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_59882_.jpg
2023-10-13	13:25:00	3413	[DEBUG]	Full name target: bcprisme/10_59882_.jpg
2023-10-13	13:25:01	3413	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:01	3413	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/10_59882_.jpg'
2023-10-13	13:25:01	3413	[DEBUG]	Query for Media
2023-10-13	13:25:01	3413	[DEBUG]	Executed store
2023-10-13	13:25:01	3413	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/10_59882_.jpg',`file_url_thumb`='bcprisme/10_59882_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1234758'
2023-10-13	13:25:01	3413	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:01	3413	[DEBUG]	Executed store
2023-10-13	13:25:01	3413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862905','1234758','1')
2023-10-13	13:25:01	3413	[DEBUG]	Store product image relation
2023-10-13	13:25:01	3413	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:01	3413	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862905 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:01	3413	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:01	3413	[DEBUG]	Executed store
2023-10-13	13:25:01	3413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862905','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:01	3413	[DEBUG]	Checking manufacturer
2023-10-13	13:25:01	3413	[DEBUG]	Load a row
2023-10-13	13:25:01	3413	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:01	3413	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:25:01	3413	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:01	3413	[DEBUG]	Executed store
2023-10-13	13:25:01	3413	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33203411673' WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:25:01	3413	[DEBUG]	Manufacturer exists
2023-10-13	13:25:01	3413	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 195
2023-10-13	13:25:01	3413	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:01	3413	[DEBUG]	Executed store
2023-10-13	13:25:01	3413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862905','195')
2023-10-13	13:25:01	3413	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:01	3413	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:01	3413	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862905 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:01	3413	[DEBUG]	Store custom available field
2023-10-13	13:25:01	3413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862905,3,'',1)
2023-10-13	13:25:01	3413	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:01	3413	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:01	3413	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862905 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:01	3413	[DEBUG]	Store custom available field
2023-10-13	13:25:01	3413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862905,6,'Unitaire',3)
2023-10-13	13:25:01	3413	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:01	3413	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:01	3413	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862904
2023-10-13	13:25:01	3413	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:01	3413	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862904\":[1862904,8,1,\"choisir la taille\"],\"1862905\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862904
2023-10-13	13:25:01	3413	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:01	3413	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862905
2023-10-13	13:25:01	3414	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:01	3414	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:01	3414	[DEBUG]	Use field value for field taille
2023-10-13	13:25:01	3414	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:01	3414	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:01	3414	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:01	3414	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:01	3414	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:01	3414	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:01	3414	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:01	3414	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:01	3414	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:01	3414	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:01	3414	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:01	3414	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:01	3414	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:01	3414	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:01	3414	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:01	3414	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:01	3414	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:01	3414	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:02	3414	[DEBUG]	Use field value for field published
2023-10-13	13:25:02	3414	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:02	3414	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:02	3414	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:02	3414	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:02	3414	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:02	3414	[DEBUG]	Use field value for field override
2023-10-13	13:25:02	3414	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:02	3414	[DEBUG]	Use field value for field slug
2023-10-13	13:25:02	3414	[DEBUG]	Process line 3414
2023-10-13	13:25:02	3414	[DEBUG]	Load a row
2023-10-13	13:25:02	3414	[DEBUG]	Processing item: A_9028_1
2023-10-13	13:25:02	3414	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:02	3414	[DEBUG]	Processing product tax
2023-10-13	13:25:02	3414	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:02	3414	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:02	3414	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:02	3414	[DEBUG]	Query for Product
2023-10-13	13:25:02	3414	[DEBUG]	Executed store
2023-10-13	13:25:02	3414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9028_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:02	3414	[DEBUG]	Check product language entry
2023-10-13	13:25:02	3414	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862906
2023-10-13	13:25:02	3414	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:02	3414	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9028_1' AND `virtuemart_product_id` != 1862906
2023-10-13	13:25:02	3414	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:02	3414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862906, 'A_9028_1')
2023-10-13	13:25:02	3414	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:02	3414	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axa-lumiere-pico-30-interrupteur-led-noir-noir' AND `virtuemart_product_id` != 1862906
2023-10-13	13:25:02	3414	[DEBUG]	Query for ProductLang
2023-10-13	13:25:02	3414	[DEBUG]	Executed store
2023-10-13	13:25:02	3414	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.56417',`product_name`='AXA Lumière Pico 30 interrupteur LED noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axa-lumiere-pico-30-interrupteur-led-noir-noir' WHERE `virtuemart_product_id` = '1862906'
2023-10-13	13:25:02	3414	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_56417.jpg
2023-10-13	13:25:02	3414	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:02	3414	[DEBUG]	Process image file
2023-10-13	13:25:02	3414	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:02	3414	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:02	3414	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_56417.jpg
2023-10-13	13:25:02	3414	[DEBUG]	Full name target: bcprisme/10_56417.jpg
2023-10-13	13:25:02	3414	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:02	3414	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/10_56417.jpg'
2023-10-13	13:25:02	3414	[DEBUG]	Query for Media
2023-10-13	13:25:02	3414	[DEBUG]	Executed store
2023-10-13	13:25:02	3414	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/10_56417.jpg',`file_url_thumb`='bcprisme/10_56417.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1234760'
2023-10-13	13:25:03	3414	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:03	3414	[DEBUG]	Executed store
2023-10-13	13:25:03	3414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862906','1234760','1')
2023-10-13	13:25:03	3414	[DEBUG]	Store product image relation
2023-10-13	13:25:03	3414	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:03	3414	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862906 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:03	3414	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:03	3414	[DEBUG]	Executed store
2023-10-13	13:25:03	3414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862906','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:03	3414	[DEBUG]	Checking manufacturer
2023-10-13	13:25:03	3414	[DEBUG]	Load a row
2023-10-13	13:25:03	3414	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:03	3414	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:25:03	3414	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:03	3414	[DEBUG]	Executed store
2023-10-13	13:25:03	3414	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33203411673' WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:25:03	3414	[DEBUG]	Manufacturer exists
2023-10-13	13:25:03	3414	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 195
2023-10-13	13:25:03	3414	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:03	3414	[DEBUG]	Executed store
2023-10-13	13:25:03	3414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862906','195')
2023-10-13	13:25:03	3414	[DEBUG]	Find the custom field ID
2023-10-13	13:25:03	3414	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:03	3414	[DEBUG]	No custom field ID found
2023-10-13	13:25:03	3414	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:03	3414	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:25:03	3414	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862906 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:03	3414	[DEBUG]	Store custom available field
2023-10-13	13:25:03	3414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862906,3,'0',1)
2023-10-13	13:25:03	3414	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:03	3414	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:03	3414	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862906 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:03	3414	[DEBUG]	Store custom available field
2023-10-13	13:25:03	3414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862906,6,'choisir la taille',3)
2023-10-13	13:25:03	3414	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:03	3414	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:03	3414	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:03	3414	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:03	3414	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862906 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:03	3414	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:03	3414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862906,8,1)
2023-10-13	13:25:03	3414	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:03	3414	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862906\":[1862906,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862906
2023-10-13	13:25:03	3414	[DEBUG]	Checking category
2023-10-13	13:25:03	3414	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:03	3414	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862906
2023-10-13	13:25:03	3414	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:03	3414	[DEBUG]	Executed store
2023-10-13	13:25:03	3414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862906','7375')
2023-10-13	13:25:03	3414	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:03	3414	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862906 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:25:03	3414	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:03	3414	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862906
2023-10-13	13:25:03	3415	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:03	3415	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:03	3415	[DEBUG]	Use field value for field taille
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:03	3415	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:03	3415	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:03	3415	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:03	3415	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:03	3415	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:03	3415	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:03	3415	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:03	3415	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:03	3415	[DEBUG]	Use field value for field published
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:03	3415	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field override
2023-10-13	13:25:03	3415	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:03	3415	[DEBUG]	Use field value for field slug
2023-10-13	13:25:03	3415	[DEBUG]	Process line 3415
2023-10-13	13:25:03	3415	[DEBUG]	Load a row
2023-10-13	13:25:03	3415	[DEBUG]	Processing item: 1000000179248
2023-10-13	13:25:03	3415	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:03	3415	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:03	3415	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9028_1'
2023-10-13	13:25:03	3415	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:03	3415	[DEBUG]	Processing product tax
2023-10-13	13:25:03	3415	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:03	3415	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:03	3415	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:03	3415	[DEBUG]	Query for Product
2023-10-13	13:25:03	3415	[DEBUG]	Executed store
2023-10-13	13:25:03	3415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862906','1000000179248','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:03	3415	[DEBUG]	No parent found
2023-10-13	13:25:03	3415	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862906 AND customfield_value = 'stockable'
2023-10-13	13:25:03	3415	[DEBUG]	Check product language entry
2023-10-13	13:25:03	3415	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862907
2023-10-13	13:25:03	3415	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:03	3415	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000179248' AND `virtuemart_product_id` != 1862907
2023-10-13	13:25:03	3415	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:03	3415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862907, '1000000179248')
2023-10-13	13:25:03	3415	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:03	3415	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axa-lumiere-pico-30-interrupteur-led-noir-noir-unitaire' AND `virtuemart_product_id` != 1862907
2023-10-13	13:25:03	3415	[DEBUG]	Query for ProductLang
2023-10-13	13:25:03	3415	[DEBUG]	Executed store
2023-10-13	13:25:03	3415	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXA Lumière Pico 30 interrupteur LED noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axa-lumiere-pico-30-interrupteur-led-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1862907'
2023-10-13	13:25:03	3415	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_56417.jpg
2023-10-13	13:25:03	3415	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:03	3415	[DEBUG]	Process image file
2023-10-13	13:25:03	3415	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:03	3415	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:03	3415	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_56417.jpg
2023-10-13	13:25:03	3415	[DEBUG]	Full name target: bcprisme/10_56417.jpg
2023-10-13	13:25:04	3415	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:04	3415	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/10_56417.jpg'
2023-10-13	13:25:04	3415	[DEBUG]	Query for Media
2023-10-13	13:25:04	3415	[DEBUG]	Executed store
2023-10-13	13:25:04	3415	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/10_56417.jpg',`file_url_thumb`='bcprisme/10_56417.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1234760'
2023-10-13	13:25:04	3415	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:04	3415	[DEBUG]	Executed store
2023-10-13	13:25:04	3415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862907','1234760','1')
2023-10-13	13:25:04	3415	[DEBUG]	Store product image relation
2023-10-13	13:25:04	3415	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:04	3415	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862907 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:04	3415	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:04	3415	[DEBUG]	Executed store
2023-10-13	13:25:04	3415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862907','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:04	3415	[DEBUG]	Checking manufacturer
2023-10-13	13:25:04	3415	[DEBUG]	Load a row
2023-10-13	13:25:04	3415	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:04	3415	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:25:04	3415	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:04	3415	[DEBUG]	Executed store
2023-10-13	13:25:04	3415	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33203411673' WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:25:04	3415	[DEBUG]	Manufacturer exists
2023-10-13	13:25:04	3415	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 195
2023-10-13	13:25:04	3415	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:04	3415	[DEBUG]	Executed store
2023-10-13	13:25:04	3415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862907','195')
2023-10-13	13:25:04	3415	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:04	3415	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:04	3415	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862907 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:04	3415	[DEBUG]	Store custom available field
2023-10-13	13:25:04	3415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862907,3,'',1)
2023-10-13	13:25:04	3415	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:04	3415	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:04	3415	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862907 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:04	3415	[DEBUG]	Store custom available field
2023-10-13	13:25:04	3415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862907,6,'Unitaire',3)
2023-10-13	13:25:04	3415	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:04	3415	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:04	3415	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862906
2023-10-13	13:25:04	3415	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:04	3415	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862906\":[1862906,8,1,\"choisir la taille\"],\"1862907\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862906
2023-10-13	13:25:04	3415	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:04	3415	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862907
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:04	3416	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field taille
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:04	3416	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:04	3416	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:04	3416	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:04	3416	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:04	3416	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:04	3416	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field published
2023-10-13	13:25:04	3416	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:04	3416	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field override
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:04	3416	[DEBUG]	Use field value for field slug
2023-10-13	13:25:04	3416	[DEBUG]	Process line 3416
2023-10-13	13:25:04	3416	[DEBUG]	Load a row
2023-10-13	13:25:04	3416	[DEBUG]	Processing item: A_9029_1
2023-10-13	13:25:04	3416	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:04	3416	[DEBUG]	Processing product tax
2023-10-13	13:25:04	3416	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:04	3416	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:04	3416	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:04	3416	[DEBUG]	Query for Product
2023-10-13	13:25:04	3416	[DEBUG]	Executed store
2023-10-13	13:25:04	3416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9029_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:04	3416	[DEBUG]	Check product language entry
2023-10-13	13:25:04	3416	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862908
2023-10-13	13:25:04	3416	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:04	3416	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9029_1' AND `virtuemart_product_id` != 1862908
2023-10-13	13:25:04	3416	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:04	3416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862908, 'A_9029_1')
2023-10-13	13:25:04	3416	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:04	3416	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axa-lumiere-pico-30-interrupteur-steady-led-noir-noir' AND `virtuemart_product_id` != 1862908
2023-10-13	13:25:04	3416	[DEBUG]	Query for ProductLang
2023-10-13	13:25:04	3416	[DEBUG]	Executed store
2023-10-13	13:25:04	3416	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.56416',`product_name`='AXA Lumière Pico 30 interrupteur Steady LED noir  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axa-lumiere-pico-30-interrupteur-steady-led-noir-noir' WHERE `virtuemart_product_id` = '1862908'
2023-10-13	13:25:04	3416	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38041_phare_axa_pico_30_interrupteur_steady_led_noir_.jpg
2023-10-13	13:25:04	3416	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:25:04	3416	[DEBUG]	Process image file
2023-10-13	13:25:04	3416	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:25:04	3416	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:04	3416	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38041_phare_axa_pico_30_interrupteur_steady_led_noir_.jpg
2023-10-13	13:25:04	3416	[DEBUG]	Full name target: bcprisme/38041_phare_axa_pico_30_interrupteur_steady_led_noir_.jpg
2023-10-13	13:25:05	3416	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:05	3416	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38041_phare_axa_pico_30_interrupteur_steady_led_noir_.jpg'
2023-10-13	13:25:05	3416	[DEBUG]	Query for Media
2023-10-13	13:25:05	3416	[DEBUG]	Executed store
2023-10-13	13:25:05	3416	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38041_phare_axa_pico_30_interrupteur_steady_led_noir_.jpg',`file_url_thumb`='bcprisme/38041_phare_axa_pico_30_interrupteur_steady_led_noir_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1234762'
2023-10-13	13:25:05	3416	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:05	3416	[DEBUG]	Executed store
2023-10-13	13:25:05	3416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862908','1234762','1')
2023-10-13	13:25:05	3416	[DEBUG]	Store product image relation
2023-10-13	13:25:05	3416	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:05	3416	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862908 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:05	3416	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:05	3416	[DEBUG]	Executed store
2023-10-13	13:25:05	3416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862908','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:05	3416	[DEBUG]	Checking manufacturer
2023-10-13	13:25:05	3416	[DEBUG]	Load a row
2023-10-13	13:25:05	3416	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:05	3416	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:25:05	3416	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:05	3416	[DEBUG]	Executed store
2023-10-13	13:25:05	3416	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33203411673' WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:25:05	3416	[DEBUG]	Manufacturer exists
2023-10-13	13:25:05	3416	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 195
2023-10-13	13:25:05	3416	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:05	3416	[DEBUG]	Executed store
2023-10-13	13:25:05	3416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862908','195')
2023-10-13	13:25:05	3416	[DEBUG]	Find the custom field ID
2023-10-13	13:25:05	3416	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:05	3416	[DEBUG]	No custom field ID found
2023-10-13	13:25:05	3416	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:05	3416	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:25:05	3416	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862908 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:05	3416	[DEBUG]	Store custom available field
2023-10-13	13:25:05	3416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862908,3,'0',1)
2023-10-13	13:25:05	3416	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:05	3416	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:05	3416	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862908 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:05	3416	[DEBUG]	Store custom available field
2023-10-13	13:25:05	3416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862908,6,'choisir la taille',3)
2023-10-13	13:25:05	3416	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:05	3416	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:05	3416	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:05	3416	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:05	3416	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862908 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:05	3416	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:05	3416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862908,8,1)
2023-10-13	13:25:05	3416	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:05	3416	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862908\":[1862908,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862908
2023-10-13	13:25:05	3416	[DEBUG]	Checking category
2023-10-13	13:25:05	3416	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:05	3416	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862908
2023-10-13	13:25:05	3416	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:05	3416	[DEBUG]	Executed store
2023-10-13	13:25:05	3416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862908','7375')
2023-10-13	13:25:05	3416	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:05	3416	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862908 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:25:05	3416	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:05	3416	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862908
2023-10-13	13:25:05	3417	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:05	3417	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:05	3417	[DEBUG]	Use field value for field taille
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:05	3417	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:05	3417	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:05	3417	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:05	3417	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:05	3417	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:05	3417	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:05	3417	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:05	3417	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:05	3417	[DEBUG]	Use field value for field published
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:05	3417	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field override
2023-10-13	13:25:05	3417	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:05	3417	[DEBUG]	Use field value for field slug
2023-10-13	13:25:05	3417	[DEBUG]	Process line 3417
2023-10-13	13:25:05	3417	[DEBUG]	Load a row
2023-10-13	13:25:05	3417	[DEBUG]	Processing item: 3379939179956
2023-10-13	13:25:05	3417	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:05	3417	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:05	3417	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9029_1'
2023-10-13	13:25:05	3417	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:05	3417	[DEBUG]	Processing product tax
2023-10-13	13:25:05	3417	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:05	3417	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:05	3417	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:05	3417	[DEBUG]	Query for Product
2023-10-13	13:25:05	3417	[DEBUG]	Executed store
2023-10-13	13:25:05	3417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862908','3379939179956','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:05	3417	[DEBUG]	No parent found
2023-10-13	13:25:05	3417	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862908 AND customfield_value = 'stockable'
2023-10-13	13:25:05	3417	[DEBUG]	Check product language entry
2023-10-13	13:25:05	3417	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862909
2023-10-13	13:25:05	3417	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:05	3417	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3379939179956' AND `virtuemart_product_id` != 1862909
2023-10-13	13:25:05	3417	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:05	3417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862909, '3379939179956')
2023-10-13	13:25:05	3417	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:05	3417	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'axa-lumiere-pico-30-interrupteur-steady-led-noir-noir-unitaire' AND `virtuemart_product_id` != 1862909
2023-10-13	13:25:05	3417	[DEBUG]	Query for ProductLang
2023-10-13	13:25:05	3417	[DEBUG]	Executed store
2023-10-13	13:25:05	3417	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='AXA Lumière Pico 30 interrupteur Steady LED noir  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='axa-lumiere-pico-30-interrupteur-steady-led-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1862909'
2023-10-13	13:25:05	3417	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38041_phare_axa_pico_30_interrupteur_steady_led_noir_.jpg
2023-10-13	13:25:05	3417	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:25:05	3417	[DEBUG]	Process image file
2023-10-13	13:25:05	3417	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:25:05	3417	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:05	3417	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38041_phare_axa_pico_30_interrupteur_steady_led_noir_.jpg
2023-10-13	13:25:05	3417	[DEBUG]	Full name target: bcprisme/38041_phare_axa_pico_30_interrupteur_steady_led_noir_.jpg
2023-10-13	13:25:06	3417	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:06	3417	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38041_phare_axa_pico_30_interrupteur_steady_led_noir_.jpg'
2023-10-13	13:25:06	3417	[DEBUG]	Query for Media
2023-10-13	13:25:06	3417	[DEBUG]	Executed store
2023-10-13	13:25:06	3417	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38041_phare_axa_pico_30_interrupteur_steady_led_noir_.jpg',`file_url_thumb`='bcprisme/38041_phare_axa_pico_30_interrupteur_steady_led_noir_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1234762'
2023-10-13	13:25:06	3417	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:06	3417	[DEBUG]	Executed store
2023-10-13	13:25:06	3417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862909','1234762','1')
2023-10-13	13:25:06	3417	[DEBUG]	Store product image relation
2023-10-13	13:25:06	3417	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:06	3417	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862909 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:06	3417	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:06	3417	[DEBUG]	Executed store
2023-10-13	13:25:06	3417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862909','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:06	3417	[DEBUG]	Checking manufacturer
2023-10-13	13:25:06	3417	[DEBUG]	Load a row
2023-10-13	13:25:06	3417	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:06	3417	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:25:06	3417	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:06	3417	[DEBUG]	Executed store
2023-10-13	13:25:06	3417	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33203411673' WHERE `virtuemart_manufacturer_id` = '195'
2023-10-13	13:25:06	3417	[DEBUG]	Manufacturer exists
2023-10-13	13:25:06	3417	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 195
2023-10-13	13:25:06	3417	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:06	3417	[DEBUG]	Executed store
2023-10-13	13:25:06	3417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862909','195')
2023-10-13	13:25:06	3417	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:06	3417	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:06	3417	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862909 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:06	3417	[DEBUG]	Store custom available field
2023-10-13	13:25:06	3417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862909,3,'',1)
2023-10-13	13:25:06	3417	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:06	3417	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:06	3417	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862909 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:06	3417	[DEBUG]	Store custom available field
2023-10-13	13:25:06	3417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862909,6,'Unitaire',3)
2023-10-13	13:25:06	3417	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:06	3417	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:06	3417	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862908
2023-10-13	13:25:06	3417	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:06	3417	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862908\":[1862908,8,1,\"choisir la taille\"],\"1862909\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862908
2023-10-13	13:25:06	3417	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:06	3417	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862909
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:06	3418	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field taille
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:06	3418	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:06	3418	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:06	3418	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:06	3418	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:06	3418	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:06	3418	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field published
2023-10-13	13:25:06	3418	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:06	3418	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field override
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:06	3418	[DEBUG]	Use field value for field slug
2023-10-13	13:25:06	3418	[DEBUG]	Process line 3418
2023-10-13	13:25:06	3418	[DEBUG]	Load a row
2023-10-13	13:25:06	3418	[DEBUG]	Processing item: A_9615_65
2023-10-13	13:25:06	3418	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:06	3418	[DEBUG]	Processing product tax
2023-10-13	13:25:06	3418	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:06	3418	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:06	3418	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:06	3418	[DEBUG]	Query for Product
2023-10-13	13:25:06	3418	[DEBUG]	Executed store
2023-10-13	13:25:06	3418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9615_65','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:06	3418	[DEBUG]	Check product language entry
2023-10-13	13:25:06	3418	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862910
2023-10-13	13:25:06	3418	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:06	3418	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9615_65' AND `virtuemart_product_id` != 1862910
2023-10-13	13:25:06	3418	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:06	3418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862910, 'A_9615_65')
2023-10-13	13:25:06	3418	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:06	3418	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fasi-pinces-pantalon-acier-inox-bande-reflechissante-jaune-jaune' AND `virtuemart_product_id` != 1862910
2023-10-13	13:25:06	3418	[DEBUG]	Query for ProductLang
2023-10-13	13:25:06	3418	[DEBUG]	Executed store
2023-10-13	13:25:06	3418	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.82089',`product_name`='FASI Pinces pantalon acier inox bande réflechissante jaune / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fasi-pinces-pantalon-acier-inox-bande-reflechissante-jaune-jaune' WHERE `virtuemart_product_id` = '1862910'
2023-10-13	13:25:06	3418	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_8208.jpg
2023-10-13	13:25:06	3418	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:25:06	3418	[DEBUG]	Process image file
2023-10-13	13:25:06	3418	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:25:06	3418	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:06	3418	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_8208.jpg
2023-10-13	13:25:06	3418	[DEBUG]	Full name target: bcprisme/10_8208.jpg
2023-10-13	13:25:07	3418	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:07	3418	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/10_8208.jpg'
2023-10-13	13:25:07	3418	[DEBUG]	Query for Media
2023-10-13	13:25:07	3418	[DEBUG]	Executed store
2023-10-13	13:25:07	3418	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/10_8208.jpg',`file_url_thumb`='bcprisme/10_8208.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1501987'
2023-10-13	13:25:07	3418	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:07	3418	[DEBUG]	Executed store
2023-10-13	13:25:07	3418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862910','1501987','1')
2023-10-13	13:25:07	3418	[DEBUG]	Store product image relation
2023-10-13	13:25:07	3418	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:07	3418	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862910 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:07	3418	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:07	3418	[DEBUG]	Executed store
2023-10-13	13:25:07	3418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862910','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:07	3418	[DEBUG]	Checking manufacturer
2023-10-13	13:25:07	3418	[DEBUG]	Load a row
2023-10-13	13:25:07	3418	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:07	3418	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '297'
2023-10-13	13:25:07	3418	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:07	3418	[DEBUG]	Executed store
2023-10-13	13:25:07	3418	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Stähli',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='stahli' WHERE `virtuemart_manufacturer_id` = '297'
2023-10-13	13:25:07	3418	[DEBUG]	Manufacturer exists
2023-10-13	13:25:07	3418	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 297
2023-10-13	13:25:07	3418	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:07	3418	[DEBUG]	Executed store
2023-10-13	13:25:07	3418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862910','297')
2023-10-13	13:25:07	3418	[DEBUG]	Find the custom field ID
2023-10-13	13:25:07	3418	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:07	3418	[DEBUG]	No custom field ID found
2023-10-13	13:25:07	3418	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:07	3418	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:25:07	3418	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862910 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:07	3418	[DEBUG]	Store custom available field
2023-10-13	13:25:07	3418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862910,3,'0',1)
2023-10-13	13:25:07	3418	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:07	3418	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:07	3418	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862910 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:07	3418	[DEBUG]	Store custom available field
2023-10-13	13:25:07	3418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862910,6,'choisir la taille',3)
2023-10-13	13:25:07	3418	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:07	3418	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:07	3418	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:07	3418	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:07	3418	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862910 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:07	3418	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:07	3418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862910,8,1)
2023-10-13	13:25:07	3418	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:07	3418	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862910\":[1862910,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862910
2023-10-13	13:25:07	3418	[DEBUG]	Checking category
2023-10-13	13:25:07	3418	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:07	3418	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862910
2023-10-13	13:25:07	3418	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:07	3418	[DEBUG]	Executed store
2023-10-13	13:25:07	3418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862910','7375')
2023-10-13	13:25:07	3418	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:07	3418	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862910 AND `virtuemart_category_id` NOT IN (7375)
2023-10-13	13:25:07	3418	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:07	3418	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862910
2023-10-13	13:25:07	3419	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:07	3419	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:07	3419	[DEBUG]	Use field value for field taille
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:07	3419	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:07	3419	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:07	3419	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:07	3419	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:07	3419	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:07	3419	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:07	3419	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:07	3419	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:07	3419	[DEBUG]	Use field value for field published
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:07	3419	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field override
2023-10-13	13:25:07	3419	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:07	3419	[DEBUG]	Use field value for field slug
2023-10-13	13:25:07	3419	[DEBUG]	Process line 3419
2023-10-13	13:25:07	3419	[DEBUG]	Load a row
2023-10-13	13:25:07	3419	[DEBUG]	Processing item: 4025923000148
2023-10-13	13:25:07	3419	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:07	3419	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:07	3419	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9615_65'
2023-10-13	13:25:07	3419	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:07	3419	[DEBUG]	Processing product tax
2023-10-13	13:25:07	3419	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:07	3419	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:07	3419	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:07	3419	[DEBUG]	Query for Product
2023-10-13	13:25:07	3419	[DEBUG]	Executed store
2023-10-13	13:25:07	3419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862910','4025923000148','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:07	3419	[DEBUG]	No parent found
2023-10-13	13:25:07	3419	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862910 AND customfield_value = 'stockable'
2023-10-13	13:25:07	3419	[DEBUG]	Check product language entry
2023-10-13	13:25:07	3419	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862911
2023-10-13	13:25:07	3419	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:07	3419	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4025923000148' AND `virtuemart_product_id` != 1862911
2023-10-13	13:25:07	3419	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:07	3419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862911, '4025923000148')
2023-10-13	13:25:07	3419	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:07	3419	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fasi-pinces-pantalon-acier-inox-bande-reflechissante-jaune-jaune-unitaire' AND `virtuemart_product_id` != 1862911
2023-10-13	13:25:07	3419	[DEBUG]	Query for ProductLang
2023-10-13	13:25:07	3419	[DEBUG]	Executed store
2023-10-13	13:25:07	3419	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='FASI Pinces pantalon acier inox bande réflechissante jaune / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fasi-pinces-pantalon-acier-inox-bande-reflechissante-jaune-jaune-unitaire' WHERE `virtuemart_product_id` = '1862911'
2023-10-13	13:25:07	3419	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_8208.jpg
2023-10-13	13:25:07	3419	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:25:07	3419	[DEBUG]	Process image file
2023-10-13	13:25:07	3419	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:25:07	3419	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:07	3419	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/10_8208.jpg
2023-10-13	13:25:07	3419	[DEBUG]	Full name target: bcprisme/10_8208.jpg
2023-10-13	13:25:08	3419	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:08	3419	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/10_8208.jpg'
2023-10-13	13:25:08	3419	[DEBUG]	Query for Media
2023-10-13	13:25:08	3419	[DEBUG]	Executed store
2023-10-13	13:25:08	3419	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/10_8208.jpg',`file_url_thumb`='bcprisme/10_8208.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1501987'
2023-10-13	13:25:08	3419	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:08	3419	[DEBUG]	Executed store
2023-10-13	13:25:08	3419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862911','1501987','1')
2023-10-13	13:25:08	3419	[DEBUG]	Store product image relation
2023-10-13	13:25:08	3419	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:08	3419	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862911 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:08	3419	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:08	3419	[DEBUG]	Executed store
2023-10-13	13:25:08	3419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862911','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:08	3419	[DEBUG]	Checking manufacturer
2023-10-13	13:25:08	3419	[DEBUG]	Load a row
2023-10-13	13:25:08	3419	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:08	3419	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '297'
2023-10-13	13:25:08	3419	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:08	3419	[DEBUG]	Executed store
2023-10-13	13:25:08	3419	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Stähli',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='stahli' WHERE `virtuemart_manufacturer_id` = '297'
2023-10-13	13:25:08	3419	[DEBUG]	Manufacturer exists
2023-10-13	13:25:08	3419	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 297
2023-10-13	13:25:08	3419	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:08	3419	[DEBUG]	Executed store
2023-10-13	13:25:08	3419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862911','297')
2023-10-13	13:25:08	3419	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:08	3419	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:08	3419	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862911 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:08	3419	[DEBUG]	Store custom available field
2023-10-13	13:25:08	3419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862911,3,'',1)
2023-10-13	13:25:08	3419	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:08	3419	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:08	3419	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862911 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:08	3419	[DEBUG]	Store custom available field
2023-10-13	13:25:08	3419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862911,6,'Unitaire',3)
2023-10-13	13:25:08	3419	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:08	3419	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:08	3419	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862910
2023-10-13	13:25:08	3419	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:08	3419	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862910\":[1862910,8,1,\"choisir la taille\"],\"1862911\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862910
2023-10-13	13:25:08	3419	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:08	3419	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862911
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:08	3420	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field taille
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:08	3420	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:08	3420	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:08	3420	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:08	3420	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:08	3420	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:08	3420	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field published
2023-10-13	13:25:08	3420	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:08	3420	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field override
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:08	3420	[DEBUG]	Use field value for field slug
2023-10-13	13:25:08	3420	[DEBUG]	Process line 3420
2023-10-13	13:25:08	3420	[DEBUG]	Load a row
2023-10-13	13:25:08	3420	[DEBUG]	Processing item: A_743_13
2023-10-13	13:25:08	3420	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:08	3420	[DEBUG]	Processing product tax
2023-10-13	13:25:08	3420	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:08	3420	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:08	3420	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:08	3420	[DEBUG]	Query for Product
2023-10-13	13:25:08	3420	[DEBUG]	Executed store
2023-10-13	13:25:08	3420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_743_13','0.01','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:08	3420	[DEBUG]	Check product language entry
2023-10-13	13:25:08	3420	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862912
2023-10-13	13:25:08	3420	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:08	3420	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_743_13' AND `virtuemart_product_id` != 1862912
2023-10-13	13:25:08	3420	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:08	3420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862912, 'A_743_13')
2023-10-13	13:25:08	3420	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:08	3420	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pile-lithium-maxell-3v-argent' AND `virtuemart_product_id` != 1862912
2023-10-13	13:25:08	3420	[DEBUG]	Query for ProductLang
2023-10-13	13:25:08	3420	[DEBUG]	Executed store
2023-10-13	13:25:08	3420	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pile 3 volts CR 2032, 3gr, en vrac (DL2032, CR2032, ECR2032)<br>N° art fourn : 20.21725',`product_name`='MSC Pile lithium Maxell 3V / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pile-lithium-maxell-3v-argent' WHERE `virtuemart_product_id` = '1862912'
2023-10-13	13:25:08	3420	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1003.jpg has not been found.
2023-10-13	13:25:08	3420	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:08	3420	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862912 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:08	3420	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:08	3420	[DEBUG]	Executed store
2023-10-13	13:25:08	3420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862912','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:08	3420	[DEBUG]	Checking manufacturer
2023-10-13	13:25:08	3420	[DEBUG]	Load a row
2023-10-13	13:25:08	3420	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:08	3420	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:25:08	3420	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:08	3420	[DEBUG]	Executed store
2023-10-13	13:25:08	3420	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:25:08	3420	[DEBUG]	Manufacturer exists
2023-10-13	13:25:08	3420	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:25:08	3420	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:08	3420	[DEBUG]	Executed store
2023-10-13	13:25:08	3420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862912','32')
2023-10-13	13:25:08	3420	[DEBUG]	Find the custom field ID
2023-10-13	13:25:08	3420	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:08	3420	[DEBUG]	No custom field ID found
2023-10-13	13:25:08	3420	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:08	3420	[DEBUG]	Get existing row with customfield value 2.19388888888889
2023-10-13	13:25:08	3420	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862912 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:08	3420	[DEBUG]	Store custom available field
2023-10-13	13:25:08	3420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862912,3,'2.19388888888889',1)
2023-10-13	13:25:08	3420	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:08	3420	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:08	3420	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862912 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:08	3420	[DEBUG]	Store custom available field
2023-10-13	13:25:08	3420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862912,6,'choisir la taille',3)
2023-10-13	13:25:08	3420	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:08	3420	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:08	3420	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:08	3420	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:08	3420	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862912 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:08	3420	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:08	3420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862912,8,1)
2023-10-13	13:25:08	3420	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:08	3420	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862912\":[1862912,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862912
2023-10-13	13:25:08	3420	[DEBUG]	Checking category
2023-10-13	13:25:08	3420	[DEBUG]	Check if category path exists: PILES
2023-10-13	13:25:08	3420	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PILES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7373
2023-10-13	13:25:08	3420	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:08	3420	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862912
2023-10-13	13:25:08	3420	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:08	3420	[DEBUG]	Executed store
2023-10-13	13:25:08	3420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862912','7376')
2023-10-13	13:25:08	3420	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:08	3420	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862912 AND `virtuemart_category_id` NOT IN (7376)
2023-10-13	13:25:08	3420	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:08	3420	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862912
2023-10-13	13:25:08	3421	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:08	3421	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:08	3421	[DEBUG]	Use field value for field taille
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:08	3421	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:08	3421	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:08	3421	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:08	3421	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:08	3421	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:08	3421	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:08	3421	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:08	3421	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:08	3421	[DEBUG]	Use field value for field published
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:08	3421	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field override
2023-10-13	13:25:08	3421	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:08	3421	[DEBUG]	Use field value for field slug
2023-10-13	13:25:08	3421	[DEBUG]	Process line 3421
2023-10-13	13:25:08	3421	[DEBUG]	Load a row
2023-10-13	13:25:08	3421	[DEBUG]	Processing item: 4902580131258
2023-10-13	13:25:08	3421	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:08	3421	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:08	3421	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_743_13'
2023-10-13	13:25:08	3421	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:08	3421	[DEBUG]	Processing product tax
2023-10-13	13:25:08	3421	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:08	3421	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:08	3421	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:08	3421	[DEBUG]	Query for Product
2023-10-13	13:25:08	3421	[DEBUG]	Executed store
2023-10-13	13:25:08	3421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862912','4902580131258','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:08	3421	[DEBUG]	No parent found
2023-10-13	13:25:08	3421	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862912 AND customfield_value = 'stockable'
2023-10-13	13:25:08	3421	[DEBUG]	Check product language entry
2023-10-13	13:25:08	3421	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862913
2023-10-13	13:25:08	3421	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:08	3421	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4902580131258' AND `virtuemart_product_id` != 1862913
2023-10-13	13:25:08	3421	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:08	3421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862913, '4902580131258')
2023-10-13	13:25:08	3421	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:08	3421	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pile-lithium-maxell-3v-argent-unitaire' AND `virtuemart_product_id` != 1862913
2023-10-13	13:25:08	3421	[DEBUG]	Query for ProductLang
2023-10-13	13:25:08	3421	[DEBUG]	Executed store
2023-10-13	13:25:08	3421	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pile lithium Maxell 3V / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pile-lithium-maxell-3v-argent-unitaire' WHERE `virtuemart_product_id` = '1862913'
2023-10-13	13:25:08	3421	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1003.jpg has not been found.
2023-10-13	13:25:08	3421	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:08	3421	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862913 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:08	3421	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:08	3421	[DEBUG]	Executed store
2023-10-13	13:25:08	3421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862913','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:08	3421	[DEBUG]	Checking manufacturer
2023-10-13	13:25:08	3421	[DEBUG]	Load a row
2023-10-13	13:25:08	3421	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:08	3421	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:25:08	3421	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:08	3421	[DEBUG]	Executed store
2023-10-13	13:25:08	3421	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:25:08	3421	[DEBUG]	Manufacturer exists
2023-10-13	13:25:08	3421	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:25:08	3421	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:08	3421	[DEBUG]	Executed store
2023-10-13	13:25:08	3421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862913','32')
2023-10-13	13:25:08	3421	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:08	3421	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:08	3421	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862913 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:08	3421	[DEBUG]	Store custom available field
2023-10-13	13:25:08	3421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862913,3,'',1)
2023-10-13	13:25:08	3421	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:08	3421	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:08	3421	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862913 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:08	3421	[DEBUG]	Store custom available field
2023-10-13	13:25:08	3421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862913,6,'Unitaire',3)
2023-10-13	13:25:08	3421	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:08	3421	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:08	3421	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862912
2023-10-13	13:25:08	3421	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:08	3421	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862912\":[1862912,8,1,\"choisir la taille\"],\"1862913\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862912
2023-10-13	13:25:08	3421	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:08	3421	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862913
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:08	3422	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field taille
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:08	3422	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:08	3422	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:08	3422	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:08	3422	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:08	3422	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:08	3422	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field published
2023-10-13	13:25:08	3422	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:08	3422	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field override
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:08	3422	[DEBUG]	Use field value for field slug
2023-10-13	13:25:08	3422	[DEBUG]	Process line 3422
2023-10-13	13:25:08	3422	[DEBUG]	Load a row
2023-10-13	13:25:08	3422	[DEBUG]	Processing item: A_4366_13
2023-10-13	13:25:08	3422	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:08	3422	[DEBUG]	Processing product tax
2023-10-13	13:25:08	3422	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:08	3422	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:08	3422	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:08	3422	[DEBUG]	Query for Product
2023-10-13	13:25:08	3422	[DEBUG]	Executed store
2023-10-13	13:25:08	3422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4366_13','0.01','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:08	3422	[DEBUG]	Check product language entry
2023-10-13	13:25:08	3422	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862914
2023-10-13	13:25:08	3422	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:08	3422	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4366_13' AND `virtuemart_product_id` != 1862914
2023-10-13	13:25:08	3422	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:08	3422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862914, 'A_4366_13')
2023-10-13	13:25:08	3422	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:08	3422	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pile-lithium-ovni-light-3v-lr-1130-argent' AND `virtuemart_product_id` != 1862914
2023-10-13	13:25:08	3422	[DEBUG]	Query for ProductLang
2023-10-13	13:25:08	3422	[DEBUG]	Executed store
2023-10-13	13:25:08	3422	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pile lithium OVNI Light 3V LR 1130<br>N° art fourn : LIGHTAPBAT',`product_name`='MSC Pile lithium OVNI Light 3V LR 1130 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pile-lithium-ovni-light-3v-lr-1130-argent' WHERE `virtuemart_product_id` = '1862914'
2023-10-13	13:25:08	3422	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26812_pile_lithium_ovni_light_3v_lr_1130.jpg
2023-10-13	13:25:08	3422	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:08	3422	[DEBUG]	Process image file
2023-10-13	13:25:08	3422	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:08	3422	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:08	3422	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26812_pile_lithium_ovni_light_3v_lr_1130.jpg
2023-10-13	13:25:08	3422	[DEBUG]	Full name target: bcprisme/26812_pile_lithium_ovni_light_3v_lr_1130.jpg
2023-10-13	13:25:09	3422	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:09	3422	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26812_pile_lithium_ovni_light_3v_lr_1130.jpg'
2023-10-13	13:25:09	3422	[DEBUG]	Query for Media
2023-10-13	13:25:09	3422	[DEBUG]	Executed store
2023-10-13	13:25:09	3422	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26812_pile_lithium_ovni_light_3v_lr_1130.jpg',`file_url_thumb`='bcprisme/26812_pile_lithium_ovni_light_3v_lr_1130.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13148'
2023-10-13	13:25:09	3422	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:09	3422	[DEBUG]	Executed store
2023-10-13	13:25:09	3422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862914','13148','1')
2023-10-13	13:25:09	3422	[DEBUG]	Store product image relation
2023-10-13	13:25:09	3422	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:09	3422	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862914 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:09	3422	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:09	3422	[DEBUG]	Executed store
2023-10-13	13:25:09	3422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862914','0','1.85701021355617','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:09	3422	[DEBUG]	Checking manufacturer
2023-10-13	13:25:09	3422	[DEBUG]	Load a row
2023-10-13	13:25:09	3422	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:09	3422	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:25:09	3422	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:09	3422	[DEBUG]	Executed store
2023-10-13	13:25:09	3422	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:25:09	3422	[DEBUG]	Manufacturer exists
2023-10-13	13:25:09	3422	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:25:09	3422	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:09	3422	[DEBUG]	Executed store
2023-10-13	13:25:09	3422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862914','32')
2023-10-13	13:25:09	3422	[DEBUG]	Find the custom field ID
2023-10-13	13:25:09	3422	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:09	3422	[DEBUG]	No custom field ID found
2023-10-13	13:25:09	3422	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:09	3422	[DEBUG]	Get existing row with customfield value 1.99444444444444
2023-10-13	13:25:09	3422	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862914 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:09	3422	[DEBUG]	Store custom available field
2023-10-13	13:25:09	3422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862914,3,'1.99444444444444',1)
2023-10-13	13:25:09	3422	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:09	3422	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:09	3422	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862914 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:09	3422	[DEBUG]	Store custom available field
2023-10-13	13:25:09	3422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862914,6,'choisir la taille',3)
2023-10-13	13:25:09	3422	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:09	3422	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:09	3422	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:09	3422	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:09	3422	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862914 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:09	3422	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:09	3422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862914,8,1)
2023-10-13	13:25:09	3422	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:09	3422	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862914\":[1862914,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862914
2023-10-13	13:25:09	3422	[DEBUG]	Checking category
2023-10-13	13:25:09	3422	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:09	3422	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862914
2023-10-13	13:25:09	3422	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:09	3422	[DEBUG]	Executed store
2023-10-13	13:25:09	3422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862914','7376')
2023-10-13	13:25:09	3422	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:09	3422	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862914 AND `virtuemart_category_id` NOT IN (7376)
2023-10-13	13:25:09	3422	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:09	3422	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862914
2023-10-13	13:25:09	3423	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:09	3423	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:09	3423	[DEBUG]	Use field value for field taille
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:09	3423	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:09	3423	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:09	3423	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:09	3423	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:09	3423	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:09	3423	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:09	3423	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:09	3423	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:09	3423	[DEBUG]	Use field value for field published
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:09	3423	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field override
2023-10-13	13:25:09	3423	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:09	3423	[DEBUG]	Use field value for field slug
2023-10-13	13:25:09	3423	[DEBUG]	Process line 3423
2023-10-13	13:25:09	3423	[DEBUG]	Load a row
2023-10-13	13:25:09	3423	[DEBUG]	Processing item: 8435466297732
2023-10-13	13:25:09	3423	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:09	3423	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:09	3423	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4366_13'
2023-10-13	13:25:09	3423	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:09	3423	[DEBUG]	Processing product tax
2023-10-13	13:25:09	3423	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:09	3423	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:09	3423	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:09	3423	[DEBUG]	Query for Product
2023-10-13	13:25:09	3423	[DEBUG]	Executed store
2023-10-13	13:25:09	3423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862914','8435466297732','0','KG','M','','12','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:09	3423	[DEBUG]	No parent found
2023-10-13	13:25:09	3423	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862914 AND customfield_value = 'stockable'
2023-10-13	13:25:09	3423	[DEBUG]	Check product language entry
2023-10-13	13:25:09	3423	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862915
2023-10-13	13:25:09	3423	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:09	3423	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466297732' AND `virtuemart_product_id` != 1862915
2023-10-13	13:25:09	3423	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:09	3423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862915, '8435466297732')
2023-10-13	13:25:09	3423	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:09	3423	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pile-lithium-ovni-light-3v-lr-1130-argent-unitaire' AND `virtuemart_product_id` != 1862915
2023-10-13	13:25:09	3423	[DEBUG]	Query for ProductLang
2023-10-13	13:25:09	3423	[DEBUG]	Executed store
2023-10-13	13:25:09	3423	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pile lithium OVNI Light 3V LR 1130 / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pile-lithium-ovni-light-3v-lr-1130-argent-unitaire' WHERE `virtuemart_product_id` = '1862915'
2023-10-13	13:25:09	3423	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26812_pile_lithium_ovni_light_3v_lr_1130.jpg
2023-10-13	13:25:09	3423	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:09	3423	[DEBUG]	Process image file
2023-10-13	13:25:09	3423	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:09	3423	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:09	3423	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/26812_pile_lithium_ovni_light_3v_lr_1130.jpg
2023-10-13	13:25:09	3423	[DEBUG]	Full name target: bcprisme/26812_pile_lithium_ovni_light_3v_lr_1130.jpg
2023-10-13	13:25:10	3423	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:10	3423	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/26812_pile_lithium_ovni_light_3v_lr_1130.jpg'
2023-10-13	13:25:10	3423	[DEBUG]	Query for Media
2023-10-13	13:25:10	3423	[DEBUG]	Executed store
2023-10-13	13:25:10	3423	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/26812_pile_lithium_ovni_light_3v_lr_1130.jpg',`file_url_thumb`='bcprisme/26812_pile_lithium_ovni_light_3v_lr_1130.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13148'
2023-10-13	13:25:10	3423	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:10	3423	[DEBUG]	Executed store
2023-10-13	13:25:10	3423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862915','13148','1')
2023-10-13	13:25:10	3423	[DEBUG]	Store product image relation
2023-10-13	13:25:10	3423	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:10	3423	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862915 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:10	3423	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:10	3423	[DEBUG]	Executed store
2023-10-13	13:25:10	3423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862915','0','1.85701021355617','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:10	3423	[DEBUG]	Checking manufacturer
2023-10-13	13:25:10	3423	[DEBUG]	Load a row
2023-10-13	13:25:10	3423	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:10	3423	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:25:10	3423	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:10	3423	[DEBUG]	Executed store
2023-10-13	13:25:10	3423	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:25:10	3423	[DEBUG]	Manufacturer exists
2023-10-13	13:25:10	3423	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:25:10	3423	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:10	3423	[DEBUG]	Executed store
2023-10-13	13:25:10	3423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862915','32')
2023-10-13	13:25:10	3423	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:10	3423	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:10	3423	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862915 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:10	3423	[DEBUG]	Store custom available field
2023-10-13	13:25:10	3423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862915,3,'',1)
2023-10-13	13:25:10	3423	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:10	3423	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:10	3423	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862915 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:10	3423	[DEBUG]	Store custom available field
2023-10-13	13:25:10	3423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862915,6,'Unitaire',3)
2023-10-13	13:25:10	3423	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:10	3423	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:10	3423	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862914
2023-10-13	13:25:10	3423	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:10	3423	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862914\":[1862914,8,1,\"choisir la taille\"],\"1862915\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862914
2023-10-13	13:25:10	3423	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:10	3423	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862915
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:10	3424	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field taille
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:10	3424	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:10	3424	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:10	3424	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:10	3424	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:10	3424	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:10	3424	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field published
2023-10-13	13:25:10	3424	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:10	3424	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field override
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:10	3424	[DEBUG]	Use field value for field slug
2023-10-13	13:25:10	3424	[DEBUG]	Process line 3424
2023-10-13	13:25:10	3424	[DEBUG]	Load a row
2023-10-13	13:25:10	3424	[DEBUG]	Processing item: A_4422_40
2023-10-13	13:25:10	3424	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:10	3424	[DEBUG]	Processing product tax
2023-10-13	13:25:10	3424	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:10	3424	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:10	3424	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:10	3424	[DEBUG]	Query for Product
2023-10-13	13:25:10	3424	[DEBUG]	Executed store
2023-10-13	13:25:10	3424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4422_40','0.225','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:10	3424	[DEBUG]	Check product language entry
2023-10-13	13:25:10	3424	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862916
2023-10-13	13:25:10	3424	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:10	3424	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4422_40' AND `virtuemart_product_id` != 1862916
2023-10-13	13:25:10	3424	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:10	3424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862916, 'A_4422_40')
2023-10-13	13:25:10	3424	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:10	3424	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-batterie-de-remplacement-aa-600mah-1-2-volt-vert' AND `virtuemart_product_id` != 1862916
2023-10-13	13:25:10	3424	[DEBUG]	Query for ProductLang
2023-10-13	13:25:10	3424	[DEBUG]	Executed store
2023-10-13	13:25:10	3424	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pile lithium OVNI Light 3V LR 1130<br>N° art fourn : LIGHTBAT600',`product_name`='MLV-Bike Batterie de remplacement AA 600mah / 1.2 Volt / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-batterie-de-remplacement-aa-600mah-1-2-volt-vert' WHERE `virtuemart_product_id` = '1862916'
2023-10-13	13:25:10	3424	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27065_pile_lithium_ovni_light_3v_lr_1130_(copie).jpg has not been found.
2023-10-13	13:25:10	3424	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:10	3424	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862916 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:10	3424	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:10	3424	[DEBUG]	Executed store
2023-10-13	13:25:10	3424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862916','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:10	3424	[DEBUG]	Checking manufacturer
2023-10-13	13:25:10	3424	[DEBUG]	Load a row
2023-10-13	13:25:10	3424	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:10	3424	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:25:10	3424	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:10	3424	[DEBUG]	Executed store
2023-10-13	13:25:10	3424	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:25:10	3424	[DEBUG]	Manufacturer exists
2023-10-13	13:25:10	3424	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:25:10	3424	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:10	3424	[DEBUG]	Executed store
2023-10-13	13:25:10	3424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862916','2')
2023-10-13	13:25:10	3424	[DEBUG]	Find the custom field ID
2023-10-13	13:25:10	3424	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:10	3424	[DEBUG]	No custom field ID found
2023-10-13	13:25:10	3424	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:10	3424	[DEBUG]	Get existing row with customfield value 5.88361111111111
2023-10-13	13:25:10	3424	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862916 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:10	3424	[DEBUG]	Store custom available field
2023-10-13	13:25:10	3424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862916,3,'5.88361111111111',1)
2023-10-13	13:25:10	3424	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:10	3424	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:10	3424	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862916 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:10	3424	[DEBUG]	Store custom available field
2023-10-13	13:25:10	3424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862916,6,'choisir la taille',3)
2023-10-13	13:25:10	3424	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:10	3424	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:10	3424	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:10	3424	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:10	3424	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862916 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:10	3424	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:10	3424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862916,8,1)
2023-10-13	13:25:10	3424	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:10	3424	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862916\":[1862916,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862916
2023-10-13	13:25:10	3424	[DEBUG]	Checking category
2023-10-13	13:25:10	3424	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:10	3424	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862916
2023-10-13	13:25:10	3424	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:10	3424	[DEBUG]	Executed store
2023-10-13	13:25:10	3424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862916','7376')
2023-10-13	13:25:10	3424	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:10	3424	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862916 AND `virtuemart_category_id` NOT IN (7376)
2023-10-13	13:25:10	3424	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:10	3424	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862916
2023-10-13	13:25:10	3425	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:10	3425	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:10	3425	[DEBUG]	Use field value for field taille
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:10	3425	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:10	3425	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:10	3425	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:10	3425	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:10	3425	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:10	3425	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:10	3425	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:10	3425	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:10	3425	[DEBUG]	Use field value for field published
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:10	3425	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field override
2023-10-13	13:25:10	3425	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:10	3425	[DEBUG]	Use field value for field slug
2023-10-13	13:25:10	3425	[DEBUG]	Process line 3425
2023-10-13	13:25:10	3425	[DEBUG]	Load a row
2023-10-13	13:25:10	3425	[DEBUG]	Processing item: 1000000068016
2023-10-13	13:25:10	3425	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:10	3425	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:10	3425	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4422_40'
2023-10-13	13:25:10	3425	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:10	3425	[DEBUG]	Processing product tax
2023-10-13	13:25:10	3425	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:10	3425	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:10	3425	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:10	3425	[DEBUG]	Query for Product
2023-10-13	13:25:10	3425	[DEBUG]	Executed store
2023-10-13	13:25:10	3425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862916','1000000068016','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:10	3425	[DEBUG]	No parent found
2023-10-13	13:25:10	3425	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862916 AND customfield_value = 'stockable'
2023-10-13	13:25:10	3425	[DEBUG]	Check product language entry
2023-10-13	13:25:10	3425	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862917
2023-10-13	13:25:10	3425	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:10	3425	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000068016' AND `virtuemart_product_id` != 1862917
2023-10-13	13:25:10	3425	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:10	3425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862917, '1000000068016')
2023-10-13	13:25:10	3425	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:10	3425	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-batterie-de-remplacement-aa-600mah-1-2-volt-vert-unitaire' AND `virtuemart_product_id` != 1862917
2023-10-13	13:25:10	3425	[DEBUG]	Query for ProductLang
2023-10-13	13:25:10	3425	[DEBUG]	Executed store
2023-10-13	13:25:10	3425	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Batterie de remplacement AA 600mah / 1.2 Volt / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-batterie-de-remplacement-aa-600mah-1-2-volt-vert-unitaire' WHERE `virtuemart_product_id` = '1862917'
2023-10-13	13:25:10	3425	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27065_pile_lithium_ovni_light_3v_lr_1130_(copie).jpg has not been found.
2023-10-13	13:25:10	3425	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:10	3425	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862917 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:10	3425	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:10	3425	[DEBUG]	Executed store
2023-10-13	13:25:10	3425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862917','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:10	3425	[DEBUG]	Checking manufacturer
2023-10-13	13:25:10	3425	[DEBUG]	Load a row
2023-10-13	13:25:10	3425	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:10	3425	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:25:10	3425	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:10	3425	[DEBUG]	Executed store
2023-10-13	13:25:10	3425	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:25:10	3425	[DEBUG]	Manufacturer exists
2023-10-13	13:25:10	3425	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:25:10	3425	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:10	3425	[DEBUG]	Executed store
2023-10-13	13:25:10	3425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862917','2')
2023-10-13	13:25:10	3425	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:10	3425	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:10	3425	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862917 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:10	3425	[DEBUG]	Store custom available field
2023-10-13	13:25:10	3425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862917,3,'',1)
2023-10-13	13:25:10	3425	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:10	3425	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:10	3425	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862917 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:10	3425	[DEBUG]	Store custom available field
2023-10-13	13:25:10	3425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862917,6,'Unitaire',3)
2023-10-13	13:25:10	3425	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:10	3425	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:10	3425	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862916
2023-10-13	13:25:10	3425	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:10	3425	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862916\":[1862916,8,1,\"choisir la taille\"],\"1862917\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862916
2023-10-13	13:25:10	3425	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:10	3425	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862917
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:10	3426	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field taille
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:10	3426	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:10	3426	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:10	3426	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:10	3426	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:10	3426	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:10	3426	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field published
2023-10-13	13:25:10	3426	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:10	3426	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field override
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:10	3426	[DEBUG]	Use field value for field slug
2023-10-13	13:25:10	3426	[DEBUG]	Process line 3426
2023-10-13	13:25:10	3426	[DEBUG]	Load a row
2023-10-13	13:25:10	3426	[DEBUG]	Processing item: A_5163_4
2023-10-13	13:25:10	3426	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:10	3426	[DEBUG]	Processing product tax
2023-10-13	13:25:10	3426	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:10	3426	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:10	3426	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:10	3426	[DEBUG]	Query for Product
2023-10-13	13:25:10	3426	[DEBUG]	Executed store
2023-10-13	13:25:10	3426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5163_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:10	3426	[DEBUG]	Check product language entry
2023-10-13	13:25:10	3426	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862918
2023-10-13	13:25:10	3426	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:10	3426	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5163_4' AND `virtuemart_product_id` != 1862918
2023-10-13	13:25:10	3426	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:10	3426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862918, 'A_5163_4')
2023-10-13	13:25:10	3426	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:10	3426	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-batterie-lr44-lithium-knopfzelle-1-5v-duracell-acier' AND `virtuemart_product_id` != 1862918
2023-10-13	13:25:10	3426	[DEBUG]	Query for ProductLang
2023-10-13	13:25:10	3426	[DEBUG]	Executed store
2023-10-13	13:25:10	3426	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.53381',`product_name`='Duracell Batterie LR44 Lithium Knopfzelle 1.5V Duracell  / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-batterie-lr44-lithium-knopfzelle-1-5v-duracell-acier' WHERE `virtuemart_product_id` = '1862918'
2023-10-13	13:25:10	3426	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29628_duracell_batterie_lr44_lithium_knopfzelle_1_5v_duracell_.jpg
2023-10-13	13:25:10	3426	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:10	3426	[DEBUG]	Process image file
2023-10-13	13:25:10	3426	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:10	3426	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:10	3426	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29628_duracell_batterie_lr44_lithium_knopfzelle_1_5v_duracell_.jpg
2023-10-13	13:25:10	3426	[DEBUG]	Full name target: bcprisme/29628_duracell_batterie_lr44_lithium_knopfzelle_1_5v_duracell_.jpg
2023-10-13	13:25:11	3426	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:11	3426	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29628_duracell_batterie_lr44_lithium_knopfzelle_1_5v_duracell_.jpg'
2023-10-13	13:25:11	3426	[DEBUG]	Query for Media
2023-10-13	13:25:11	3426	[DEBUG]	Executed store
2023-10-13	13:25:11	3426	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29628_duracell_batterie_lr44_lithium_knopfzelle_1_5v_duracell_.jpg',`file_url_thumb`='bcprisme/29628_duracell_batterie_lr44_lithium_knopfzelle_1_5v_duracell_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13149'
2023-10-13	13:25:11	3426	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:11	3426	[DEBUG]	Executed store
2023-10-13	13:25:11	3426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862918','13149','1')
2023-10-13	13:25:11	3426	[DEBUG]	Store product image relation
2023-10-13	13:25:11	3426	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:11	3426	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862918 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:11	3426	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:11	3426	[DEBUG]	Executed store
2023-10-13	13:25:11	3426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862918','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:11	3426	[DEBUG]	Checking manufacturer
2023-10-13	13:25:11	3426	[DEBUG]	Load a row
2023-10-13	13:25:11	3426	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:11	3426	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:25:11	3426	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:11	3426	[DEBUG]	Executed store
2023-10-13	13:25:11	3426	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:25:11	3426	[DEBUG]	Manufacturer exists
2023-10-13	13:25:11	3426	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:25:11	3426	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:11	3426	[DEBUG]	Executed store
2023-10-13	13:25:11	3426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862918','57')
2023-10-13	13:25:11	3426	[DEBUG]	Find the custom field ID
2023-10-13	13:25:11	3426	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:11	3426	[DEBUG]	No custom field ID found
2023-10-13	13:25:11	3426	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:11	3426	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:25:11	3426	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862918 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:11	3426	[DEBUG]	Store custom available field
2023-10-13	13:25:11	3426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862918,3,'0',1)
2023-10-13	13:25:11	3426	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:11	3426	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:11	3426	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862918 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:11	3426	[DEBUG]	Store custom available field
2023-10-13	13:25:11	3426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862918,6,'choisir la taille',3)
2023-10-13	13:25:11	3426	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:11	3426	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:11	3426	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:11	3426	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:11	3426	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862918 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:11	3426	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:11	3426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862918,8,1)
2023-10-13	13:25:11	3426	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:11	3426	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862918\":[1862918,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862918
2023-10-13	13:25:11	3426	[DEBUG]	Checking category
2023-10-13	13:25:11	3426	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:11	3426	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862918
2023-10-13	13:25:11	3426	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:11	3426	[DEBUG]	Executed store
2023-10-13	13:25:11	3426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862918','7376')
2023-10-13	13:25:11	3426	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:11	3426	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862918 AND `virtuemart_category_id` NOT IN (7376)
2023-10-13	13:25:11	3426	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:11	3426	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862918
2023-10-13	13:25:11	3427	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:11	3427	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:11	3427	[DEBUG]	Use field value for field taille
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:11	3427	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:11	3427	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:11	3427	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:11	3427	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:11	3427	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:11	3427	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:11	3427	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:11	3427	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:11	3427	[DEBUG]	Use field value for field published
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:11	3427	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field override
2023-10-13	13:25:11	3427	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:11	3427	[DEBUG]	Use field value for field slug
2023-10-13	13:25:11	3427	[DEBUG]	Process line 3427
2023-10-13	13:25:11	3427	[DEBUG]	Load a row
2023-10-13	13:25:11	3427	[DEBUG]	Processing item: 5000394504424
2023-10-13	13:25:11	3427	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:11	3427	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:11	3427	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5163_4'
2023-10-13	13:25:11	3427	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:11	3427	[DEBUG]	Processing product tax
2023-10-13	13:25:11	3427	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:11	3427	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:11	3427	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:11	3427	[DEBUG]	Query for Product
2023-10-13	13:25:11	3427	[DEBUG]	Executed store
2023-10-13	13:25:11	3427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862918','5000394504424','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:11	3427	[DEBUG]	No parent found
2023-10-13	13:25:11	3427	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862918 AND customfield_value = 'stockable'
2023-10-13	13:25:11	3427	[DEBUG]	Check product language entry
2023-10-13	13:25:11	3427	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862919
2023-10-13	13:25:11	3427	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:11	3427	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '5000394504424' AND `virtuemart_product_id` != 1862919
2023-10-13	13:25:11	3427	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:11	3427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862919, '5000394504424')
2023-10-13	13:25:11	3427	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:11	3427	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-batterie-lr44-lithium-knopfzelle-1-5v-duracell-acier-unitaire' AND `virtuemart_product_id` != 1862919
2023-10-13	13:25:11	3427	[DEBUG]	Query for ProductLang
2023-10-13	13:25:11	3427	[DEBUG]	Executed store
2023-10-13	13:25:11	3427	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Duracell Batterie LR44 Lithium Knopfzelle 1.5V Duracell  / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-batterie-lr44-lithium-knopfzelle-1-5v-duracell-acier-unitaire' WHERE `virtuemart_product_id` = '1862919'
2023-10-13	13:25:11	3427	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29628_duracell_batterie_lr44_lithium_knopfzelle_1_5v_duracell_.jpg
2023-10-13	13:25:11	3427	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:11	3427	[DEBUG]	Process image file
2023-10-13	13:25:11	3427	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:11	3427	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:11	3427	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29628_duracell_batterie_lr44_lithium_knopfzelle_1_5v_duracell_.jpg
2023-10-13	13:25:11	3427	[DEBUG]	Full name target: bcprisme/29628_duracell_batterie_lr44_lithium_knopfzelle_1_5v_duracell_.jpg
2023-10-13	13:25:12	3427	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:12	3427	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29628_duracell_batterie_lr44_lithium_knopfzelle_1_5v_duracell_.jpg'
2023-10-13	13:25:12	3427	[DEBUG]	Query for Media
2023-10-13	13:25:12	3427	[DEBUG]	Executed store
2023-10-13	13:25:12	3427	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29628_duracell_batterie_lr44_lithium_knopfzelle_1_5v_duracell_.jpg',`file_url_thumb`='bcprisme/29628_duracell_batterie_lr44_lithium_knopfzelle_1_5v_duracell_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13149'
2023-10-13	13:25:12	3427	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:12	3427	[DEBUG]	Executed store
2023-10-13	13:25:12	3427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862919','13149','1')
2023-10-13	13:25:12	3427	[DEBUG]	Store product image relation
2023-10-13	13:25:12	3427	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:12	3427	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862919 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:12	3427	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:12	3427	[DEBUG]	Executed store
2023-10-13	13:25:12	3427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862919','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:12	3427	[DEBUG]	Checking manufacturer
2023-10-13	13:25:12	3427	[DEBUG]	Load a row
2023-10-13	13:25:12	3427	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:12	3427	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:25:12	3427	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:12	3427	[DEBUG]	Executed store
2023-10-13	13:25:12	3427	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:25:12	3427	[DEBUG]	Manufacturer exists
2023-10-13	13:25:12	3427	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:25:12	3427	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:12	3427	[DEBUG]	Executed store
2023-10-13	13:25:12	3427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862919','57')
2023-10-13	13:25:12	3427	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:12	3427	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:12	3427	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862919 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:12	3427	[DEBUG]	Store custom available field
2023-10-13	13:25:12	3427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862919,3,'',1)
2023-10-13	13:25:12	3427	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:12	3427	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:12	3427	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862919 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:12	3427	[DEBUG]	Store custom available field
2023-10-13	13:25:12	3427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862919,6,'Unitaire',3)
2023-10-13	13:25:12	3427	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:12	3427	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:12	3427	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862918
2023-10-13	13:25:12	3427	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:12	3427	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862918\":[1862918,8,1,\"choisir la taille\"],\"1862919\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862918
2023-10-13	13:25:12	3427	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:12	3427	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862919
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:12	3428	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field taille
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:12	3428	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:12	3428	[DEBUG]	Use default value for field file_url
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:12	3428	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:12	3428	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:12	3428	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:12	3428	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:12	3428	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field published
2023-10-13	13:25:12	3428	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:12	3428	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field override
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:12	3428	[DEBUG]	Use field value for field slug
2023-10-13	13:25:12	3428	[DEBUG]	Process line 3428
2023-10-13	13:25:12	3428	[DEBUG]	Load a row
2023-10-13	13:25:12	3428	[DEBUG]	Processing item: A_5186_0
2023-10-13	13:25:12	3428	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:12	3428	[DEBUG]	Processing product tax
2023-10-13	13:25:12	3428	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:12	3428	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:12	3428	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:12	3428	[DEBUG]	Query for Product
2023-10-13	13:25:12	3428	[DEBUG]	Executed store
2023-10-13	13:25:12	3428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5186_0','0.01','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:12	3428	[DEBUG]	Check product language entry
2023-10-13	13:25:12	3428	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862920
2023-10-13	13:25:12	3428	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:12	3428	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5186_0' AND `virtuemart_product_id` != 1862920
2023-10-13	13:25:12	3428	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:12	3428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862920, 'A_5186_0')
2023-10-13	13:25:12	3428	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:12	3428	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-pile-lithium-ovni-light-12-v-pour-compteur-unique' AND `virtuemart_product_id` != 1862920
2023-10-13	13:25:12	3428	[DEBUG]	Query for ProductLang
2023-10-13	13:25:12	3428	[DEBUG]	Executed store
2023-10-13	13:25:12	3428	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pile 3 volts CR 2032, 3gr, en vrac (DL2032, CR2032, ECR2032)<br>N° art fourn : A23',`product_name`='MLV-Bike Pile lithium OVNI Light 12 V pour compteur / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-pile-lithium-ovni-light-12-v-pour-compteur-unique' WHERE `virtuemart_product_id` = '1862920'
2023-10-13	13:25:12	3428	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:12	3428	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862920 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:12	3428	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:12	3428	[DEBUG]	Executed store
2023-10-13	13:25:12	3428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862920','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:12	3428	[DEBUG]	Checking manufacturer
2023-10-13	13:25:12	3428	[DEBUG]	Load a row
2023-10-13	13:25:12	3428	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:12	3428	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:25:12	3428	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:12	3428	[DEBUG]	Executed store
2023-10-13	13:25:12	3428	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:25:12	3428	[DEBUG]	Manufacturer exists
2023-10-13	13:25:12	3428	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:25:12	3428	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:12	3428	[DEBUG]	Executed store
2023-10-13	13:25:12	3428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862920','2')
2023-10-13	13:25:12	3428	[DEBUG]	Find the custom field ID
2023-10-13	13:25:12	3428	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:12	3428	[DEBUG]	No custom field ID found
2023-10-13	13:25:12	3428	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:12	3428	[DEBUG]	Get existing row with customfield value 2.19388888888889
2023-10-13	13:25:12	3428	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862920 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:12	3428	[DEBUG]	Store custom available field
2023-10-13	13:25:12	3428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862920,3,'2.19388888888889',1)
2023-10-13	13:25:12	3428	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:12	3428	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:12	3428	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862920 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:12	3428	[DEBUG]	Store custom available field
2023-10-13	13:25:12	3428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862920,6,'choisir la taille',3)
2023-10-13	13:25:12	3428	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:12	3428	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:12	3428	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:12	3428	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:12	3428	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862920 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:12	3428	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:12	3428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862920,8,1)
2023-10-13	13:25:12	3428	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:12	3428	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862920\":[1862920,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862920
2023-10-13	13:25:12	3428	[DEBUG]	Checking category
2023-10-13	13:25:12	3428	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:12	3428	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862920
2023-10-13	13:25:12	3428	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:12	3428	[DEBUG]	Executed store
2023-10-13	13:25:12	3428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862920','7376')
2023-10-13	13:25:12	3428	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:12	3428	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862920 AND `virtuemart_category_id` NOT IN (7376)
2023-10-13	13:25:12	3428	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:12	3428	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862920
2023-10-13	13:25:12	3429	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:12	3429	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:12	3429	[DEBUG]	Use field value for field taille
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:12	3429	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:12	3429	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:12	3429	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field file_url
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:12	3429	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:12	3429	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:12	3429	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:12	3429	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:12	3429	[DEBUG]	Use field value for field published
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:12	3429	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field override
2023-10-13	13:25:12	3429	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:12	3429	[DEBUG]	Use field value for field slug
2023-10-13	13:25:12	3429	[DEBUG]	Process line 3429
2023-10-13	13:25:12	3429	[DEBUG]	Load a row
2023-10-13	13:25:12	3429	[DEBUG]	Processing item: 4891199042119
2023-10-13	13:25:12	3429	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:12	3429	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:12	3429	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5186_0'
2023-10-13	13:25:12	3429	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:12	3429	[DEBUG]	Processing product tax
2023-10-13	13:25:12	3429	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:12	3429	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:12	3429	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:12	3429	[DEBUG]	Query for Product
2023-10-13	13:25:12	3429	[DEBUG]	Executed store
2023-10-13	13:25:12	3429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862920','4891199042119','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:12	3429	[DEBUG]	No parent found
2023-10-13	13:25:12	3429	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862920 AND customfield_value = 'stockable'
2023-10-13	13:25:12	3429	[DEBUG]	Check product language entry
2023-10-13	13:25:12	3429	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862921
2023-10-13	13:25:12	3429	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:12	3429	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4891199042119' AND `virtuemart_product_id` != 1862921
2023-10-13	13:25:12	3429	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:12	3429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862921, '4891199042119')
2023-10-13	13:25:12	3429	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:12	3429	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-pile-lithium-ovni-light-12-v-pour-compteur-unique-unitaire' AND `virtuemart_product_id` != 1862921
2023-10-13	13:25:12	3429	[DEBUG]	Query for ProductLang
2023-10-13	13:25:12	3429	[DEBUG]	Executed store
2023-10-13	13:25:12	3429	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Pile lithium OVNI Light 12 V pour compteur / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-pile-lithium-ovni-light-12-v-pour-compteur-unique-unitaire' WHERE `virtuemart_product_id` = '1862921'
2023-10-13	13:25:12	3429	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:12	3429	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862921 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:12	3429	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:12	3429	[DEBUG]	Executed store
2023-10-13	13:25:12	3429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862921','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:12	3429	[DEBUG]	Checking manufacturer
2023-10-13	13:25:12	3429	[DEBUG]	Load a row
2023-10-13	13:25:12	3429	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:12	3429	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:25:12	3429	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:12	3429	[DEBUG]	Executed store
2023-10-13	13:25:12	3429	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:25:12	3429	[DEBUG]	Manufacturer exists
2023-10-13	13:25:12	3429	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:25:12	3429	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:12	3429	[DEBUG]	Executed store
2023-10-13	13:25:12	3429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862921','2')
2023-10-13	13:25:12	3429	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:12	3429	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:12	3429	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862921 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:12	3429	[DEBUG]	Store custom available field
2023-10-13	13:25:12	3429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862921,3,'',1)
2023-10-13	13:25:12	3429	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:12	3429	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:12	3429	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862921 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:12	3429	[DEBUG]	Store custom available field
2023-10-13	13:25:12	3429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862921,6,'Unitaire',3)
2023-10-13	13:25:12	3429	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:12	3429	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:12	3429	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862920
2023-10-13	13:25:12	3429	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:12	3429	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862920\":[1862920,8,1,\"choisir la taille\"],\"1862921\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862920
2023-10-13	13:25:12	3429	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:12	3429	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862921
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:12	3430	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field taille
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:12	3430	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:12	3430	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:12	3430	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:12	3430	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:12	3430	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:12	3430	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field published
2023-10-13	13:25:12	3430	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:12	3430	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field override
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:12	3430	[DEBUG]	Use field value for field slug
2023-10-13	13:25:12	3430	[DEBUG]	Process line 3430
2023-10-13	13:25:12	3430	[DEBUG]	Load a row
2023-10-13	13:25:12	3430	[DEBUG]	Processing item: A_8567_0
2023-10-13	13:25:12	3430	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:12	3430	[DEBUG]	Processing product tax
2023-10-13	13:25:12	3430	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:12	3430	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:12	3430	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:12	3430	[DEBUG]	Query for Product
2023-10-13	13:25:12	3430	[DEBUG]	Executed store
2023-10-13	13:25:12	3430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8567_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:12	3430	[DEBUG]	Check product language entry
2023-10-13	13:25:12	3430	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862922
2023-10-13	13:25:12	3430	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:12	3430	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8567_0' AND `virtuemart_product_id` != 1862922
2023-10-13	13:25:12	3430	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:12	3430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862922, 'A_8567_0')
2023-10-13	13:25:12	3430	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:12	3430	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-energizer-batterie-lr43-lithium-knopfzelle-1-5v-unique' AND `virtuemart_product_id` != 1862922
2023-10-13	13:25:12	3430	[DEBUG]	Query for ProductLang
2023-10-13	13:25:12	3430	[DEBUG]	Executed store
2023-10-13	13:25:12	3430	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : LR43',`product_name`='Duracell Energizer Batterie LR43 Lithium Knopfzelle 1.5V  / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-energizer-batterie-lr43-lithium-knopfzelle-1-5v-unique' WHERE `virtuemart_product_id` = '1862922'
2023-10-13	13:25:12	3430	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37384_energizer_batterie_lr43_lithium_knopfzelle_1_5v_.jpg
2023-10-13	13:25:12	3430	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:12	3430	[DEBUG]	Process image file
2023-10-13	13:25:12	3430	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:12	3430	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:12	3430	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37384_energizer_batterie_lr43_lithium_knopfzelle_1_5v_.jpg
2023-10-13	13:25:12	3430	[DEBUG]	Full name target: bcprisme/37384_energizer_batterie_lr43_lithium_knopfzelle_1_5v_.jpg
2023-10-13	13:25:13	3430	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:13	3430	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37384_energizer_batterie_lr43_lithium_knopfzelle_1_5v_.jpg'
2023-10-13	13:25:13	3430	[DEBUG]	Query for Media
2023-10-13	13:25:13	3430	[DEBUG]	Executed store
2023-10-13	13:25:13	3430	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37384_energizer_batterie_lr43_lithium_knopfzelle_1_5v_.jpg',`file_url_thumb`='bcprisme/37384_energizer_batterie_lr43_lithium_knopfzelle_1_5v_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '991900'
2023-10-13	13:25:13	3430	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:13	3430	[DEBUG]	Executed store
2023-10-13	13:25:13	3430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862922','991900','1')
2023-10-13	13:25:13	3430	[DEBUG]	Store product image relation
2023-10-13	13:25:13	3430	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:13	3430	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862922 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:13	3430	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:13	3430	[DEBUG]	Executed store
2023-10-13	13:25:13	3430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862922','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:13	3430	[DEBUG]	Checking manufacturer
2023-10-13	13:25:13	3430	[DEBUG]	Load a row
2023-10-13	13:25:13	3430	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:13	3430	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:25:13	3430	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:13	3430	[DEBUG]	Executed store
2023-10-13	13:25:13	3430	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:25:13	3430	[DEBUG]	Manufacturer exists
2023-10-13	13:25:13	3430	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:25:13	3430	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:13	3430	[DEBUG]	Executed store
2023-10-13	13:25:13	3430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862922','57')
2023-10-13	13:25:13	3430	[DEBUG]	Find the custom field ID
2023-10-13	13:25:13	3430	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:13	3430	[DEBUG]	No custom field ID found
2023-10-13	13:25:13	3430	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:13	3430	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:25:13	3430	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862922 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:13	3430	[DEBUG]	Store custom available field
2023-10-13	13:25:13	3430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862922,3,'0',1)
2023-10-13	13:25:13	3430	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:13	3430	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:13	3430	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862922 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:13	3430	[DEBUG]	Store custom available field
2023-10-13	13:25:13	3430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862922,6,'choisir la taille',3)
2023-10-13	13:25:13	3430	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:13	3430	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:13	3430	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:13	3430	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:13	3430	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862922 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:13	3430	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:13	3430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862922,8,1)
2023-10-13	13:25:13	3430	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:13	3430	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862922\":[1862922,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862922
2023-10-13	13:25:13	3430	[DEBUG]	Checking category
2023-10-13	13:25:13	3430	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:13	3430	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862922
2023-10-13	13:25:13	3430	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:13	3430	[DEBUG]	Executed store
2023-10-13	13:25:13	3430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862922','7376')
2023-10-13	13:25:13	3430	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:13	3430	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862922 AND `virtuemart_category_id` NOT IN (7376)
2023-10-13	13:25:13	3430	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:13	3430	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862922
2023-10-13	13:25:13	3431	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:13	3431	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:13	3431	[DEBUG]	Use field value for field taille
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:13	3431	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:13	3431	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:13	3431	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:13	3431	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:13	3431	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:13	3431	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:13	3431	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:13	3431	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:13	3431	[DEBUG]	Use field value for field published
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:13	3431	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field override
2023-10-13	13:25:13	3431	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:13	3431	[DEBUG]	Use field value for field slug
2023-10-13	13:25:13	3431	[DEBUG]	Process line 3431
2023-10-13	13:25:13	3431	[DEBUG]	Load a row
2023-10-13	13:25:13	3431	[DEBUG]	Processing item: 1000000156393
2023-10-13	13:25:13	3431	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:13	3431	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:13	3431	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8567_0'
2023-10-13	13:25:13	3431	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:13	3431	[DEBUG]	Processing product tax
2023-10-13	13:25:13	3431	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:13	3431	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:13	3431	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:13	3431	[DEBUG]	Query for Product
2023-10-13	13:25:13	3431	[DEBUG]	Executed store
2023-10-13	13:25:13	3431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862922','1000000156393','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:13	3431	[DEBUG]	No parent found
2023-10-13	13:25:13	3431	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862922 AND customfield_value = 'stockable'
2023-10-13	13:25:13	3431	[DEBUG]	Check product language entry
2023-10-13	13:25:13	3431	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862923
2023-10-13	13:25:13	3431	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:13	3431	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000156393' AND `virtuemart_product_id` != 1862923
2023-10-13	13:25:13	3431	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:13	3431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862923, '1000000156393')
2023-10-13	13:25:13	3431	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:13	3431	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-energizer-batterie-lr43-lithium-knopfzelle-1-5v-unique-unitaire' AND `virtuemart_product_id` != 1862923
2023-10-13	13:25:13	3431	[DEBUG]	Query for ProductLang
2023-10-13	13:25:13	3431	[DEBUG]	Executed store
2023-10-13	13:25:13	3431	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Duracell Energizer Batterie LR43 Lithium Knopfzelle 1.5V  / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-energizer-batterie-lr43-lithium-knopfzelle-1-5v-unique-unitaire' WHERE `virtuemart_product_id` = '1862923'
2023-10-13	13:25:13	3431	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37384_energizer_batterie_lr43_lithium_knopfzelle_1_5v_.jpg
2023-10-13	13:25:13	3431	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:13	3431	[DEBUG]	Process image file
2023-10-13	13:25:13	3431	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:13	3431	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:13	3431	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37384_energizer_batterie_lr43_lithium_knopfzelle_1_5v_.jpg
2023-10-13	13:25:13	3431	[DEBUG]	Full name target: bcprisme/37384_energizer_batterie_lr43_lithium_knopfzelle_1_5v_.jpg
2023-10-13	13:25:14	3431	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:14	3431	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37384_energizer_batterie_lr43_lithium_knopfzelle_1_5v_.jpg'
2023-10-13	13:25:14	3431	[DEBUG]	Query for Media
2023-10-13	13:25:14	3431	[DEBUG]	Executed store
2023-10-13	13:25:14	3431	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37384_energizer_batterie_lr43_lithium_knopfzelle_1_5v_.jpg',`file_url_thumb`='bcprisme/37384_energizer_batterie_lr43_lithium_knopfzelle_1_5v_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '991900'
2023-10-13	13:25:14	3431	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:14	3431	[DEBUG]	Executed store
2023-10-13	13:25:14	3431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862923','991900','1')
2023-10-13	13:25:14	3431	[DEBUG]	Store product image relation
2023-10-13	13:25:14	3431	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:14	3431	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862923 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:14	3431	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:14	3431	[DEBUG]	Executed store
2023-10-13	13:25:14	3431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862923','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:14	3431	[DEBUG]	Checking manufacturer
2023-10-13	13:25:14	3431	[DEBUG]	Load a row
2023-10-13	13:25:14	3431	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:14	3431	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:25:14	3431	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:14	3431	[DEBUG]	Executed store
2023-10-13	13:25:14	3431	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:25:14	3431	[DEBUG]	Manufacturer exists
2023-10-13	13:25:14	3431	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:25:14	3431	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:14	3431	[DEBUG]	Executed store
2023-10-13	13:25:14	3431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862923','57')
2023-10-13	13:25:14	3431	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:14	3431	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:14	3431	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862923 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:14	3431	[DEBUG]	Store custom available field
2023-10-13	13:25:14	3431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862923,3,'',1)
2023-10-13	13:25:14	3431	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:14	3431	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:14	3431	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862923 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:14	3431	[DEBUG]	Store custom available field
2023-10-13	13:25:14	3431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862923,6,'Unitaire',3)
2023-10-13	13:25:14	3431	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:14	3431	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:14	3431	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862922
2023-10-13	13:25:14	3431	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:14	3431	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862922\":[1862922,8,1,\"choisir la taille\"],\"1862923\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862922
2023-10-13	13:25:14	3431	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:14	3431	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862923
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:14	3432	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field taille
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:14	3432	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:14	3432	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:14	3432	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:14	3432	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:14	3432	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:14	3432	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field published
2023-10-13	13:25:14	3432	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:14	3432	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field override
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:14	3432	[DEBUG]	Use field value for field slug
2023-10-13	13:25:14	3432	[DEBUG]	Process line 3432
2023-10-13	13:25:14	3432	[DEBUG]	Load a row
2023-10-13	13:25:14	3432	[DEBUG]	Processing item: A_8569_0
2023-10-13	13:25:14	3432	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:14	3432	[DEBUG]	Processing product tax
2023-10-13	13:25:14	3432	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:14	3432	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:14	3432	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:14	3432	[DEBUG]	Query for Product
2023-10-13	13:25:14	3432	[DEBUG]	Executed store
2023-10-13	13:25:14	3432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8569_0','0.01','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:14	3432	[DEBUG]	Check product language entry
2023-10-13	13:25:14	3432	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862924
2023-10-13	13:25:14	3432	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:14	3432	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8569_0' AND `virtuemart_product_id` != 1862924
2023-10-13	13:25:14	3432	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:14	3432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862924, 'A_8569_0')
2023-10-13	13:25:14	3432	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:14	3432	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pile-lithium-vinnic-extra-heavy-duty-lr1-sum5-unique' AND `virtuemart_product_id` != 1862924
2023-10-13	13:25:14	3432	[DEBUG]	Query for ProductLang
2023-10-13	13:25:14	3432	[DEBUG]	Executed store
2023-10-13	13:25:14	3432	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pile lithium OVNI Light 3V LR 1130<br>N° art fourn : Vinnic',`product_name`='MSC Pile lithium Vinnic Extra Heavy Duty LR1 Sum5 / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pile-lithium-vinnic-extra-heavy-duty-lr1-sum5-unique' WHERE `virtuemart_product_id` = '1862924'
2023-10-13	13:25:14	3432	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37387_pile_lithium_vinnic_extra_heavy_duty_lr1_sum5.jpg
2023-10-13	13:25:14	3432	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:14	3432	[DEBUG]	Process image file
2023-10-13	13:25:14	3432	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:14	3432	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:14	3432	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37387_pile_lithium_vinnic_extra_heavy_duty_lr1_sum5.jpg
2023-10-13	13:25:14	3432	[DEBUG]	Full name target: bcprisme/37387_pile_lithium_vinnic_extra_heavy_duty_lr1_sum5.jpg
2023-10-13	13:25:15	3432	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:15	3432	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37387_pile_lithium_vinnic_extra_heavy_duty_lr1_sum5.jpg'
2023-10-13	13:25:15	3432	[DEBUG]	Query for Media
2023-10-13	13:25:15	3432	[DEBUG]	Executed store
2023-10-13	13:25:15	3432	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37387_pile_lithium_vinnic_extra_heavy_duty_lr1_sum5.jpg',`file_url_thumb`='bcprisme/37387_pile_lithium_vinnic_extra_heavy_duty_lr1_sum5.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '991902'
2023-10-13	13:25:15	3432	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:15	3432	[DEBUG]	Executed store
2023-10-13	13:25:15	3432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862924','991902','1')
2023-10-13	13:25:15	3432	[DEBUG]	Store product image relation
2023-10-13	13:25:15	3432	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:15	3432	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862924 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:15	3432	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:15	3432	[DEBUG]	Executed store
2023-10-13	13:25:15	3432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862924','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:15	3432	[DEBUG]	Checking manufacturer
2023-10-13	13:25:15	3432	[DEBUG]	Load a row
2023-10-13	13:25:15	3432	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:15	3432	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:25:15	3432	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:15	3432	[DEBUG]	Executed store
2023-10-13	13:25:15	3432	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:25:15	3432	[DEBUG]	Manufacturer exists
2023-10-13	13:25:15	3432	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:25:15	3432	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:15	3432	[DEBUG]	Executed store
2023-10-13	13:25:15	3432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862924','32')
2023-10-13	13:25:15	3432	[DEBUG]	Find the custom field ID
2023-10-13	13:25:15	3432	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:15	3432	[DEBUG]	No custom field ID found
2023-10-13	13:25:15	3432	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:15	3432	[DEBUG]	Get existing row with customfield value 1.99444444444444
2023-10-13	13:25:15	3432	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862924 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:15	3432	[DEBUG]	Store custom available field
2023-10-13	13:25:15	3432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862924,3,'1.99444444444444',1)
2023-10-13	13:25:15	3432	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:15	3432	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:15	3432	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862924 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:16	3432	[DEBUG]	Store custom available field
2023-10-13	13:25:16	3432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862924,6,'choisir la taille',3)
2023-10-13	13:25:16	3432	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:16	3432	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:16	3432	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:16	3432	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:16	3432	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862924 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:16	3432	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:16	3432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862924,8,1)
2023-10-13	13:25:16	3432	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:16	3432	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862924\":[1862924,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862924
2023-10-13	13:25:16	3432	[DEBUG]	Checking category
2023-10-13	13:25:16	3432	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:16	3432	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862924
2023-10-13	13:25:16	3432	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:16	3432	[DEBUG]	Executed store
2023-10-13	13:25:16	3432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862924','7376')
2023-10-13	13:25:16	3432	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:16	3432	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862924 AND `virtuemart_category_id` NOT IN (7376)
2023-10-13	13:25:16	3432	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:16	3432	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862924
2023-10-13	13:25:16	3433	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:16	3433	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:16	3433	[DEBUG]	Use field value for field taille
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:16	3433	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:16	3433	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:16	3433	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:16	3433	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:16	3433	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:16	3433	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:16	3433	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:16	3433	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:16	3433	[DEBUG]	Use field value for field published
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:16	3433	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field override
2023-10-13	13:25:16	3433	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:16	3433	[DEBUG]	Use field value for field slug
2023-10-13	13:25:16	3433	[DEBUG]	Process line 3433
2023-10-13	13:25:16	3433	[DEBUG]	Load a row
2023-10-13	13:25:16	3433	[DEBUG]	Processing item: 1000000156416
2023-10-13	13:25:16	3433	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:16	3433	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:16	3433	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8569_0'
2023-10-13	13:25:16	3433	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:16	3433	[DEBUG]	Processing product tax
2023-10-13	13:25:16	3433	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:16	3433	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:16	3433	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:16	3433	[DEBUG]	Query for Product
2023-10-13	13:25:16	3433	[DEBUG]	Executed store
2023-10-13	13:25:16	3433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862924','1000000156416','0','KG','M','','18','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:16	3433	[DEBUG]	No parent found
2023-10-13	13:25:16	3433	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862924 AND customfield_value = 'stockable'
2023-10-13	13:25:16	3433	[DEBUG]	Check product language entry
2023-10-13	13:25:16	3433	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862925
2023-10-13	13:25:16	3433	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:16	3433	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000156416' AND `virtuemart_product_id` != 1862925
2023-10-13	13:25:16	3433	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:16	3433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862925, '1000000156416')
2023-10-13	13:25:16	3433	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:16	3433	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pile-lithium-vinnic-extra-heavy-duty-lr1-sum5-unique-unitaire' AND `virtuemart_product_id` != 1862925
2023-10-13	13:25:16	3433	[DEBUG]	Query for ProductLang
2023-10-13	13:25:16	3433	[DEBUG]	Executed store
2023-10-13	13:25:16	3433	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pile lithium Vinnic Extra Heavy Duty LR1 Sum5 / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pile-lithium-vinnic-extra-heavy-duty-lr1-sum5-unique-unitaire' WHERE `virtuemart_product_id` = '1862925'
2023-10-13	13:25:16	3433	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37387_pile_lithium_vinnic_extra_heavy_duty_lr1_sum5.jpg
2023-10-13	13:25:16	3433	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:16	3433	[DEBUG]	Process image file
2023-10-13	13:25:16	3433	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:16	3433	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:16	3433	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37387_pile_lithium_vinnic_extra_heavy_duty_lr1_sum5.jpg
2023-10-13	13:25:16	3433	[DEBUG]	Full name target: bcprisme/37387_pile_lithium_vinnic_extra_heavy_duty_lr1_sum5.jpg
2023-10-13	13:25:17	3433	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:17	3433	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37387_pile_lithium_vinnic_extra_heavy_duty_lr1_sum5.jpg'
2023-10-13	13:25:17	3433	[DEBUG]	Query for Media
2023-10-13	13:25:17	3433	[DEBUG]	Executed store
2023-10-13	13:25:17	3433	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37387_pile_lithium_vinnic_extra_heavy_duty_lr1_sum5.jpg',`file_url_thumb`='bcprisme/37387_pile_lithium_vinnic_extra_heavy_duty_lr1_sum5.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '991902'
2023-10-13	13:25:17	3433	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:17	3433	[DEBUG]	Executed store
2023-10-13	13:25:17	3433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862925','991902','1')
2023-10-13	13:25:17	3433	[DEBUG]	Store product image relation
2023-10-13	13:25:17	3433	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:17	3433	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862925 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:17	3433	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:17	3433	[DEBUG]	Executed store
2023-10-13	13:25:17	3433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862925','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:17	3433	[DEBUG]	Checking manufacturer
2023-10-13	13:25:17	3433	[DEBUG]	Load a row
2023-10-13	13:25:17	3433	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:17	3433	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:25:17	3433	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:17	3433	[DEBUG]	Executed store
2023-10-13	13:25:17	3433	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:25:17	3433	[DEBUG]	Manufacturer exists
2023-10-13	13:25:17	3433	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:25:17	3433	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:17	3433	[DEBUG]	Executed store
2023-10-13	13:25:17	3433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862925','32')
2023-10-13	13:25:17	3433	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:17	3433	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:17	3433	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862925 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:17	3433	[DEBUG]	Store custom available field
2023-10-13	13:25:17	3433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862925,3,'',1)
2023-10-13	13:25:17	3433	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:17	3433	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:17	3433	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862925 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:17	3433	[DEBUG]	Store custom available field
2023-10-13	13:25:17	3433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862925,6,'Unitaire',3)
2023-10-13	13:25:17	3433	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:17	3433	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:17	3433	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862924
2023-10-13	13:25:17	3433	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:17	3433	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862924\":[1862924,8,1,\"choisir la taille\"],\"1862925\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862924
2023-10-13	13:25:17	3433	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:17	3433	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862925
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:17	3434	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field taille
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:17	3434	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:17	3434	[DEBUG]	Use default value for field file_url
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:17	3434	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:17	3434	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:17	3434	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:17	3434	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:17	3434	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field published
2023-10-13	13:25:17	3434	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:17	3434	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field override
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:17	3434	[DEBUG]	Use field value for field slug
2023-10-13	13:25:17	3434	[DEBUG]	Process line 3434
2023-10-13	13:25:17	3434	[DEBUG]	Load a row
2023-10-13	13:25:17	3434	[DEBUG]	Processing item: A_38_27
2023-10-13	13:25:17	3434	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:17	3434	[DEBUG]	Processing product tax
2023-10-13	13:25:17	3434	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:17	3434	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:17	3434	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:17	3434	[DEBUG]	Query for Product
2023-10-13	13:25:17	3434	[DEBUG]	Executed store
2023-10-13	13:25:17	3434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_38_27','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:17	3434	[DEBUG]	Check product language entry
2023-10-13	13:25:17	3434	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862926
2023-10-13	13:25:17	3434	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:17	3434	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_38_27' AND `virtuemart_product_id` != 1862926
2023-10-13	13:25:17	3434	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:17	3434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862926, 'A_38_27')
2023-10-13	13:25:17	3434	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:17	3434	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pyros-lunettes-pyros-orange' AND `virtuemart_product_id` != 1862926
2023-10-13	13:25:17	3434	[DEBUG]	Query for ProductLang
2023-10-13	13:25:17	3434	[DEBUG]	Executed store
2023-10-13	13:25:17	3434	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Protection UV avec standard CE.<br>N° art fourn : 19934',`product_name`='PYROS Lunettes Pyros / Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pyros-lunettes-pyros-orange' WHERE `virtuemart_product_id` = '1862926'
2023-10-13	13:25:17	3434	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:17	3434	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862926 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:17	3434	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:17	3434	[DEBUG]	Executed store
2023-10-13	13:25:17	3434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862926','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:17	3434	[DEBUG]	Checking manufacturer
2023-10-13	13:25:17	3434	[DEBUG]	Load a row
2023-10-13	13:25:17	3434	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:17	3434	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '211'
2023-10-13	13:25:17	3434	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:17	3434	[DEBUG]	Executed store
2023-10-13	13:25:17	3434	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='135',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='135' WHERE `virtuemart_manufacturer_id` = '211'
2023-10-13	13:25:17	3434	[DEBUG]	Manufacturer exists
2023-10-13	13:25:17	3434	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 211
2023-10-13	13:25:17	3434	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:17	3434	[DEBUG]	Executed store
2023-10-13	13:25:17	3434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862926','211')
2023-10-13	13:25:17	3434	[DEBUG]	Find the custom field ID
2023-10-13	13:25:17	3434	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:17	3434	[DEBUG]	No custom field ID found
2023-10-13	13:25:17	3434	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:17	3434	[DEBUG]	Get existing row with customfield value 69.7058333333333
2023-10-13	13:25:17	3434	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862926 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:17	3434	[DEBUG]	Store custom available field
2023-10-13	13:25:17	3434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862926,3,'69.7058333333333',1)
2023-10-13	13:25:17	3434	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:17	3434	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:17	3434	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862926 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:17	3434	[DEBUG]	Store custom available field
2023-10-13	13:25:17	3434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862926,6,'choisir la taille',3)
2023-10-13	13:25:17	3434	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:17	3434	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:17	3434	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:17	3434	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:17	3434	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862926 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:17	3434	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:17	3434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862926,8,1)
2023-10-13	13:25:17	3434	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:17	3434	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862926\":[1862926,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862926
2023-10-13	13:25:17	3434	[DEBUG]	Checking category
2023-10-13	13:25:17	3434	[DEBUG]	Check if category path exists: LUNETTES - BRILLEN
2023-10-13	13:25:17	3434	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'LUNETTES - BRILLEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:25:17	3434	[DEBUG]	Check if category path exists: LUNETTES - BRILLEN
2023-10-13	13:25:17	3434	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'LUNETTES - BRILLEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7377
2023-10-13	13:25:17	3434	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:17	3434	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862926
2023-10-13	13:25:17	3434	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:17	3434	[DEBUG]	Executed store
2023-10-13	13:25:17	3434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862926','7378')
2023-10-13	13:25:17	3434	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:17	3434	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862926 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:17	3434	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:17	3434	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862926
2023-10-13	13:25:17	3435	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:17	3435	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:17	3435	[DEBUG]	Use field value for field taille
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:17	3435	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:17	3435	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:17	3435	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field file_url
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:17	3435	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:17	3435	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:17	3435	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:17	3435	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:17	3435	[DEBUG]	Use field value for field published
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:17	3435	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field override
2023-10-13	13:25:17	3435	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:17	3435	[DEBUG]	Use field value for field slug
2023-10-13	13:25:17	3435	[DEBUG]	Process line 3435
2023-10-13	13:25:17	3435	[DEBUG]	Load a row
2023-10-13	13:25:17	3435	[DEBUG]	Processing item: 1000000244458
2023-10-13	13:25:17	3435	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:17	3435	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:17	3435	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_38_27'
2023-10-13	13:25:17	3435	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:17	3435	[DEBUG]	Processing product tax
2023-10-13	13:25:17	3435	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:17	3435	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:17	3435	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:17	3435	[DEBUG]	Query for Product
2023-10-13	13:25:17	3435	[DEBUG]	Executed store
2023-10-13	13:25:17	3435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862926','1000000244458','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:17	3435	[DEBUG]	No parent found
2023-10-13	13:25:17	3435	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862926 AND customfield_value = 'stockable'
2023-10-13	13:25:17	3435	[DEBUG]	Check product language entry
2023-10-13	13:25:17	3435	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862927
2023-10-13	13:25:17	3435	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:17	3435	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000244458' AND `virtuemart_product_id` != 1862927
2023-10-13	13:25:17	3435	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:17	3435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862927, '1000000244458')
2023-10-13	13:25:17	3435	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:17	3435	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pyros-lunettes-pyros-orange-unitaire' AND `virtuemart_product_id` != 1862927
2023-10-13	13:25:17	3435	[DEBUG]	Query for ProductLang
2023-10-13	13:25:17	3435	[DEBUG]	Executed store
2023-10-13	13:25:17	3435	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='PYROS Lunettes Pyros / Orange (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pyros-lunettes-pyros-orange-unitaire' WHERE `virtuemart_product_id` = '1862927'
2023-10-13	13:25:17	3435	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:17	3435	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862927 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:17	3435	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:17	3435	[DEBUG]	Executed store
2023-10-13	13:25:17	3435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862927','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:17	3435	[DEBUG]	Checking manufacturer
2023-10-13	13:25:17	3435	[DEBUG]	Load a row
2023-10-13	13:25:17	3435	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:17	3435	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '211'
2023-10-13	13:25:17	3435	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:17	3435	[DEBUG]	Executed store
2023-10-13	13:25:17	3435	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='135',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='135' WHERE `virtuemart_manufacturer_id` = '211'
2023-10-13	13:25:17	3435	[DEBUG]	Manufacturer exists
2023-10-13	13:25:17	3435	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 211
2023-10-13	13:25:17	3435	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:17	3435	[DEBUG]	Executed store
2023-10-13	13:25:17	3435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862927','211')
2023-10-13	13:25:17	3435	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:17	3435	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:17	3435	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862927 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:17	3435	[DEBUG]	Store custom available field
2023-10-13	13:25:17	3435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862927,3,'',1)
2023-10-13	13:25:17	3435	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:17	3435	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:17	3435	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862927 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:17	3435	[DEBUG]	Store custom available field
2023-10-13	13:25:17	3435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862927,6,'Unitaire',3)
2023-10-13	13:25:17	3435	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:17	3435	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:17	3435	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862926
2023-10-13	13:25:17	3435	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:17	3435	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862926\":[1862926,8,1,\"choisir la taille\"],\"1862927\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862926
2023-10-13	13:25:17	3435	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:17	3435	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862927
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:17	3436	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field taille
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:17	3436	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:17	3436	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:17	3436	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:17	3436	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:17	3436	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:17	3436	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field published
2023-10-13	13:25:17	3436	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:17	3436	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field override
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:17	3436	[DEBUG]	Use field value for field slug
2023-10-13	13:25:17	3436	[DEBUG]	Process line 3436
2023-10-13	13:25:17	3436	[DEBUG]	Load a row
2023-10-13	13:25:17	3436	[DEBUG]	Processing item: A_189_28
2023-10-13	13:25:17	3436	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:17	3436	[DEBUG]	Processing product tax
2023-10-13	13:25:17	3436	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:17	3436	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:17	3436	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:17	3436	[DEBUG]	Query for Product
2023-10-13	13:25:17	3436	[DEBUG]	Executed store
2023-10-13	13:25:17	3436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_189_28','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:17	3436	[DEBUG]	Check product language entry
2023-10-13	13:25:17	3436	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862928
2023-10-13	13:25:17	3436	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:17	3436	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_189_28' AND `virtuemart_product_id` != 1862928
2023-10-13	13:25:17	3436	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:17	3436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862928, 'A_189_28')
2023-10-13	13:25:17	3436	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:17	3436	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pyros-lunettes-pyros-chili-noir-flamme' AND `virtuemart_product_id` != 1862928
2023-10-13	13:25:17	3436	[DEBUG]	Query for ProductLang
2023-10-13	13:25:17	3436	[DEBUG]	Executed store
2023-10-13	13:25:17	3436	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Protection UV avec standard CE.<br>N° art fourn : 40446P',`product_name`='PYROS Lunettes Pyros Chili / Noir-flamme',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pyros-lunettes-pyros-chili-noir-flamme' WHERE `virtuemart_product_id` = '1862928'
2023-10-13	13:25:17	3436	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_210.jpg has not been found.
2023-10-13	13:25:17	3436	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:17	3436	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862928 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:17	3436	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:17	3436	[DEBUG]	Executed store
2023-10-13	13:25:17	3436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862928','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:17	3436	[DEBUG]	Checking manufacturer
2023-10-13	13:25:17	3436	[DEBUG]	Load a row
2023-10-13	13:25:17	3436	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:17	3436	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '211'
2023-10-13	13:25:17	3436	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:17	3436	[DEBUG]	Executed store
2023-10-13	13:25:17	3436	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='135',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='135' WHERE `virtuemart_manufacturer_id` = '211'
2023-10-13	13:25:17	3436	[DEBUG]	Manufacturer exists
2023-10-13	13:25:17	3436	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 211
2023-10-13	13:25:17	3436	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:17	3436	[DEBUG]	Executed store
2023-10-13	13:25:17	3436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862928','211')
2023-10-13	13:25:17	3436	[DEBUG]	Find the custom field ID
2023-10-13	13:25:17	3436	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:17	3436	[DEBUG]	No custom field ID found
2023-10-13	13:25:17	3436	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:17	3436	[DEBUG]	Get existing row with customfield value 59.7336111111111
2023-10-13	13:25:17	3436	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862928 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:17	3436	[DEBUG]	Store custom available field
2023-10-13	13:25:17	3436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862928,3,'59.7336111111111',1)
2023-10-13	13:25:17	3436	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:17	3436	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:17	3436	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862928 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:17	3436	[DEBUG]	Store custom available field
2023-10-13	13:25:17	3436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862928,6,'choisir la taille',3)
2023-10-13	13:25:17	3436	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:17	3436	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:17	3436	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:17	3436	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:17	3436	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862928 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:17	3436	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:17	3436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862928,8,1)
2023-10-13	13:25:17	3436	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:17	3436	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862928\":[1862928,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862928
2023-10-13	13:25:17	3436	[DEBUG]	Checking category
2023-10-13	13:25:17	3436	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:17	3436	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862928
2023-10-13	13:25:17	3436	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:17	3436	[DEBUG]	Executed store
2023-10-13	13:25:17	3436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862928','7378')
2023-10-13	13:25:17	3436	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:17	3436	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862928 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:17	3436	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:17	3436	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862928
2023-10-13	13:25:17	3437	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:17	3437	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:17	3437	[DEBUG]	Use field value for field taille
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:17	3437	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:17	3437	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:17	3437	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:17	3437	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:17	3437	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:17	3437	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:17	3437	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:17	3437	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:17	3437	[DEBUG]	Use field value for field published
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:17	3437	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field override
2023-10-13	13:25:17	3437	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:17	3437	[DEBUG]	Use field value for field slug
2023-10-13	13:25:17	3437	[DEBUG]	Process line 3437
2023-10-13	13:25:17	3437	[DEBUG]	Load a row
2023-10-13	13:25:17	3437	[DEBUG]	Processing item: 8436041520283
2023-10-13	13:25:17	3437	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:17	3437	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:17	3437	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_189_28'
2023-10-13	13:25:17	3437	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:17	3437	[DEBUG]	Processing product tax
2023-10-13	13:25:17	3437	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:17	3437	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:17	3437	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:17	3437	[DEBUG]	Query for Product
2023-10-13	13:25:17	3437	[DEBUG]	Executed store
2023-10-13	13:25:17	3437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862928','8436041520283','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:17	3437	[DEBUG]	No parent found
2023-10-13	13:25:17	3437	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862928 AND customfield_value = 'stockable'
2023-10-13	13:25:17	3437	[DEBUG]	Check product language entry
2023-10-13	13:25:17	3437	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862929
2023-10-13	13:25:17	3437	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:17	3437	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041520283' AND `virtuemart_product_id` != 1862929
2023-10-13	13:25:17	3437	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:17	3437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862929, '8436041520283')
2023-10-13	13:25:17	3437	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:17	3437	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pyros-lunettes-pyros-chili-noir-flamme-unitaire' AND `virtuemart_product_id` != 1862929
2023-10-13	13:25:17	3437	[DEBUG]	Query for ProductLang
2023-10-13	13:25:17	3437	[DEBUG]	Executed store
2023-10-13	13:25:17	3437	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='PYROS Lunettes Pyros Chili / Noir-flamme (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pyros-lunettes-pyros-chili-noir-flamme-unitaire' WHERE `virtuemart_product_id` = '1862929'
2023-10-13	13:25:17	3437	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_210.jpg has not been found.
2023-10-13	13:25:17	3437	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:17	3437	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862929 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:17	3437	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:17	3437	[DEBUG]	Executed store
2023-10-13	13:25:17	3437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862929','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:17	3437	[DEBUG]	Checking manufacturer
2023-10-13	13:25:17	3437	[DEBUG]	Load a row
2023-10-13	13:25:17	3437	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:17	3437	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '211'
2023-10-13	13:25:17	3437	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:17	3437	[DEBUG]	Executed store
2023-10-13	13:25:17	3437	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='135',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='135' WHERE `virtuemart_manufacturer_id` = '211'
2023-10-13	13:25:17	3437	[DEBUG]	Manufacturer exists
2023-10-13	13:25:17	3437	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 211
2023-10-13	13:25:17	3437	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:17	3437	[DEBUG]	Executed store
2023-10-13	13:25:17	3437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862929','211')
2023-10-13	13:25:17	3437	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:17	3437	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:17	3437	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862929 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:17	3437	[DEBUG]	Store custom available field
2023-10-13	13:25:17	3437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862929,3,'',1)
2023-10-13	13:25:17	3437	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:17	3437	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:17	3437	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862929 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:17	3437	[DEBUG]	Store custom available field
2023-10-13	13:25:17	3437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862929,6,'Unitaire',3)
2023-10-13	13:25:17	3437	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:17	3437	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:17	3437	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862928
2023-10-13	13:25:17	3437	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:17	3437	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862928\":[1862928,8,1,\"choisir la taille\"],\"1862929\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862928
2023-10-13	13:25:17	3437	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:17	3437	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862929
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:17	3438	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field taille
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:17	3438	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:17	3438	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:17	3438	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:17	3438	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:17	3438	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:17	3438	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field published
2023-10-13	13:25:17	3438	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:17	3438	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field override
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:17	3438	[DEBUG]	Use field value for field slug
2023-10-13	13:25:17	3438	[DEBUG]	Process line 3438
2023-10-13	13:25:17	3438	[DEBUG]	Load a row
2023-10-13	13:25:17	3438	[DEBUG]	Processing item: A_507_1
2023-10-13	13:25:17	3438	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:17	3438	[DEBUG]	Processing product tax
2023-10-13	13:25:17	3438	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:17	3438	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:17	3438	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:17	3438	[DEBUG]	Query for Product
2023-10-13	13:25:17	3438	[DEBUG]	Executed store
2023-10-13	13:25:17	3438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_507_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:17	3438	[DEBUG]	Check product language entry
2023-10-13	13:25:17	3438	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862930
2023-10-13	13:25:17	3438	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:17	3438	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_507_1' AND `virtuemart_product_id` != 1862930
2023-10-13	13:25:17	3438	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:17	3438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862930, 'A_507_1')
2023-10-13	13:25:17	3438	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:17	3438	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pyros-lunettes-pyros-egolas-noir' AND `virtuemart_product_id` != 1862930
2023-10-13	13:25:17	3438	[DEBUG]	Query for ProductLang
2023-10-13	13:25:17	3438	[DEBUG]	Executed store
2023-10-13	13:25:17	3438	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Lunettes<br>N° art fourn : EGOLAS',`product_name`='PYROS Lunettes Pyros Egolas / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pyros-lunettes-pyros-egolas-noir' WHERE `virtuemart_product_id` = '1862930'
2023-10-13	13:25:17	3438	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_578.jpg
2023-10-13	13:25:17	3438	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:25:17	3438	[DEBUG]	Process image file
2023-10-13	13:25:17	3438	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:25:17	3438	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:17	3438	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_578.jpg
2023-10-13	13:25:17	3438	[DEBUG]	Full name target: bcprisme/image_578.jpg
2023-10-13	13:25:18	3438	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:18	3438	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_578.jpg'
2023-10-13	13:25:18	3438	[DEBUG]	Query for Media
2023-10-13	13:25:18	3438	[DEBUG]	Executed store
2023-10-13	13:25:18	3438	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_578.jpg',`file_url_thumb`='bcprisme/image_578.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13155'
2023-10-13	13:25:18	3438	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:18	3438	[DEBUG]	Executed store
2023-10-13	13:25:18	3438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862930','13155','1')
2023-10-13	13:25:18	3438	[DEBUG]	Store product image relation
2023-10-13	13:25:18	3438	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:18	3438	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862930 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:18	3438	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:18	3438	[DEBUG]	Executed store
2023-10-13	13:25:18	3438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862930','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:18	3438	[DEBUG]	Checking manufacturer
2023-10-13	13:25:18	3438	[DEBUG]	Load a row
2023-10-13	13:25:18	3438	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:18	3438	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '211'
2023-10-13	13:25:18	3438	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:18	3438	[DEBUG]	Executed store
2023-10-13	13:25:18	3438	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='135',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='135' WHERE `virtuemart_manufacturer_id` = '211'
2023-10-13	13:25:18	3438	[DEBUG]	Manufacturer exists
2023-10-13	13:25:18	3438	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 211
2023-10-13	13:25:18	3438	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:18	3438	[DEBUG]	Executed store
2023-10-13	13:25:18	3438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862930','211')
2023-10-13	13:25:18	3438	[DEBUG]	Find the custom field ID
2023-10-13	13:25:18	3438	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:18	3438	[DEBUG]	No custom field ID found
2023-10-13	13:25:18	3438	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:18	3438	[DEBUG]	Get existing row with customfield value 59.7336111111111
2023-10-13	13:25:18	3438	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862930 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:18	3438	[DEBUG]	Store custom available field
2023-10-13	13:25:18	3438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862930,3,'59.7336111111111',1)
2023-10-13	13:25:18	3438	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:18	3438	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:18	3438	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862930 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:18	3438	[DEBUG]	Store custom available field
2023-10-13	13:25:18	3438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862930,6,'choisir la taille',3)
2023-10-13	13:25:18	3438	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:18	3438	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:18	3438	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:18	3438	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:18	3438	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862930 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:18	3438	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:18	3438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862930,8,1)
2023-10-13	13:25:18	3438	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:18	3438	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862930\":[1862930,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862930
2023-10-13	13:25:18	3438	[DEBUG]	Checking category
2023-10-13	13:25:18	3438	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:18	3438	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862930
2023-10-13	13:25:18	3438	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:18	3438	[DEBUG]	Executed store
2023-10-13	13:25:18	3438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862930','7378')
2023-10-13	13:25:18	3438	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:18	3438	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862930 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:18	3438	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:18	3438	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862930
2023-10-13	13:25:18	3439	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:18	3439	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:18	3439	[DEBUG]	Use field value for field taille
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:18	3439	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:18	3439	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:18	3439	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:18	3439	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:18	3439	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:18	3439	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:18	3439	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:18	3439	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:18	3439	[DEBUG]	Use field value for field published
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:18	3439	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field override
2023-10-13	13:25:18	3439	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:18	3439	[DEBUG]	Use field value for field slug
2023-10-13	13:25:18	3439	[DEBUG]	Process line 3439
2023-10-13	13:25:18	3439	[DEBUG]	Load a row
2023-10-13	13:25:18	3439	[DEBUG]	Processing item: 8436041520344
2023-10-13	13:25:18	3439	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:18	3439	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:18	3439	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_507_1'
2023-10-13	13:25:18	3439	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:18	3439	[DEBUG]	Processing product tax
2023-10-13	13:25:18	3439	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:18	3439	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:18	3439	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:18	3439	[DEBUG]	Query for Product
2023-10-13	13:25:18	3439	[DEBUG]	Executed store
2023-10-13	13:25:18	3439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862930','8436041520344','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:18	3439	[DEBUG]	No parent found
2023-10-13	13:25:18	3439	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862930 AND customfield_value = 'stockable'
2023-10-13	13:25:18	3439	[DEBUG]	Check product language entry
2023-10-13	13:25:18	3439	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862931
2023-10-13	13:25:18	3439	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:18	3439	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041520344' AND `virtuemart_product_id` != 1862931
2023-10-13	13:25:18	3439	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:18	3439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862931, '8436041520344')
2023-10-13	13:25:18	3439	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:18	3439	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pyros-lunettes-pyros-egolas-noir-unitaire' AND `virtuemart_product_id` != 1862931
2023-10-13	13:25:18	3439	[DEBUG]	Query for ProductLang
2023-10-13	13:25:18	3439	[DEBUG]	Executed store
2023-10-13	13:25:18	3439	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='PYROS Lunettes Pyros Egolas / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pyros-lunettes-pyros-egolas-noir-unitaire' WHERE `virtuemart_product_id` = '1862931'
2023-10-13	13:25:18	3439	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_578.jpg
2023-10-13	13:25:18	3439	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:25:18	3439	[DEBUG]	Process image file
2023-10-13	13:25:18	3439	[DEBUG]	Identity string: ffd8ffe000104a46494600010201004800480000
2023-10-13	13:25:18	3439	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:18	3439	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_578.jpg
2023-10-13	13:25:18	3439	[DEBUG]	Full name target: bcprisme/image_578.jpg
2023-10-13	13:25:19	3439	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:19	3439	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_578.jpg'
2023-10-13	13:25:19	3439	[DEBUG]	Query for Media
2023-10-13	13:25:19	3439	[DEBUG]	Executed store
2023-10-13	13:25:19	3439	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_578.jpg',`file_url_thumb`='bcprisme/image_578.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13155'
2023-10-13	13:25:19	3439	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:19	3439	[DEBUG]	Executed store
2023-10-13	13:25:19	3439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862931','13155','1')
2023-10-13	13:25:19	3439	[DEBUG]	Store product image relation
2023-10-13	13:25:19	3439	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:19	3439	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862931 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:19	3439	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:19	3439	[DEBUG]	Executed store
2023-10-13	13:25:19	3439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862931','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:19	3439	[DEBUG]	Checking manufacturer
2023-10-13	13:25:19	3439	[DEBUG]	Load a row
2023-10-13	13:25:19	3439	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:19	3439	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '211'
2023-10-13	13:25:19	3439	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:19	3439	[DEBUG]	Executed store
2023-10-13	13:25:19	3439	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='135',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='135' WHERE `virtuemart_manufacturer_id` = '211'
2023-10-13	13:25:19	3439	[DEBUG]	Manufacturer exists
2023-10-13	13:25:19	3439	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 211
2023-10-13	13:25:19	3439	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:19	3439	[DEBUG]	Executed store
2023-10-13	13:25:19	3439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862931','211')
2023-10-13	13:25:19	3439	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:19	3439	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:19	3439	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862931 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:19	3439	[DEBUG]	Store custom available field
2023-10-13	13:25:19	3439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862931,3,'',1)
2023-10-13	13:25:19	3439	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:19	3439	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:19	3439	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862931 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:19	3439	[DEBUG]	Store custom available field
2023-10-13	13:25:19	3439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862931,6,'Unitaire',3)
2023-10-13	13:25:19	3439	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:19	3439	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:19	3439	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862930
2023-10-13	13:25:19	3439	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:19	3439	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862930\":[1862930,8,1,\"choisir la taille\"],\"1862931\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862930
2023-10-13	13:25:19	3439	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:19	3439	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862931
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:19	3440	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field taille
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:19	3440	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:19	3440	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:19	3440	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:19	3440	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:19	3440	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:19	3440	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field published
2023-10-13	13:25:19	3440	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:19	3440	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field override
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:19	3440	[DEBUG]	Use field value for field slug
2023-10-13	13:25:19	3440	[DEBUG]	Process line 3440
2023-10-13	13:25:19	3440	[DEBUG]	Load a row
2023-10-13	13:25:19	3440	[DEBUG]	Processing item: A_5357_27
2023-10-13	13:25:19	3440	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:19	3440	[DEBUG]	Processing product tax
2023-10-13	13:25:19	3440	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:19	3440	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:19	3440	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:19	3440	[DEBUG]	Query for Product
2023-10-13	13:25:19	3440	[DEBUG]	Executed store
2023-10-13	13:25:19	3440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5357_27','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:19	3440	[DEBUG]	Check product language entry
2023-10-13	13:25:19	3440	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862932
2023-10-13	13:25:19	3440	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:19	3440	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5357_27' AND `virtuemart_product_id` != 1862932
2023-10-13	13:25:19	3440	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:19	3440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862932, 'A_5357_27')
2023-10-13	13:25:19	3440	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:19	3440	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-lunettes-de-motocross-orange' AND `virtuemart_product_id` != 1862932
2023-10-13	13:25:19	3440	[DEBUG]	Query for ProductLang
2023-10-13	13:25:19	3440	[DEBUG]	Executed store
2023-10-13	13:25:19	3440	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Protection UV avec standard CE.<br>N° art fourn : 19969-005-NS',`product_name`='Fox Lunettes de Motocross / Orange',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-lunettes-de-motocross-orange' WHERE `virtuemart_product_id` = '1862932'
2023-10-13	13:25:19	3440	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29835_lunettes_de_motocross.jpg
2023-10-13	13:25:19	3440	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:19	3440	[DEBUG]	Process image file
2023-10-13	13:25:19	3440	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:19	3440	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:19	3440	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29835_lunettes_de_motocross.jpg
2023-10-13	13:25:19	3440	[DEBUG]	Full name target: bcprisme/29835_lunettes_de_motocross.jpg
2023-10-13	13:25:20	3440	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:20	3440	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29835_lunettes_de_motocross.jpg'
2023-10-13	13:25:20	3440	[DEBUG]	Query for Media
2023-10-13	13:25:20	3440	[DEBUG]	Executed store
2023-10-13	13:25:20	3440	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29835_lunettes_de_motocross.jpg',`file_url_thumb`='bcprisme/29835_lunettes_de_motocross.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13159'
2023-10-13	13:25:20	3440	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:20	3440	[DEBUG]	Executed store
2023-10-13	13:25:20	3440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862932','13159','1')
2023-10-13	13:25:20	3440	[DEBUG]	Store product image relation
2023-10-13	13:25:20	3440	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:20	3440	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862932 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:20	3440	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:20	3440	[DEBUG]	Executed store
2023-10-13	13:25:20	3440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862932','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:20	3440	[DEBUG]	Checking manufacturer
2023-10-13	13:25:20	3440	[DEBUG]	Load a row
2023-10-13	13:25:20	3440	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:20	3440	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	13:25:20	3440	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:20	3440	[DEBUG]	Executed store
2023-10-13	13:25:20	3440	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV-Bike',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike' WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	13:25:20	3440	[DEBUG]	Manufacturer exists
2023-10-13	13:25:20	3440	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 1
2023-10-13	13:25:20	3440	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:20	3440	[DEBUG]	Executed store
2023-10-13	13:25:20	3440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862932','1')
2023-10-13	13:25:20	3440	[DEBUG]	Find the custom field ID
2023-10-13	13:25:20	3440	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:20	3440	[DEBUG]	No custom field ID found
2023-10-13	13:25:20	3440	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:20	3440	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:20	3440	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862932 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:20	3440	[DEBUG]	Store custom available field
2023-10-13	13:25:20	3440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862932,3,'69.7058333333334',1)
2023-10-13	13:25:20	3440	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:20	3440	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:20	3440	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862932 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:20	3440	[DEBUG]	Store custom available field
2023-10-13	13:25:20	3440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862932,6,'choisir la taille',3)
2023-10-13	13:25:20	3440	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:20	3440	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:20	3440	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:20	3440	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:20	3440	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862932 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:20	3440	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:20	3440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862932,8,1)
2023-10-13	13:25:20	3440	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:20	3440	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862932\":[1862932,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862932
2023-10-13	13:25:20	3440	[DEBUG]	Checking category
2023-10-13	13:25:20	3440	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:20	3440	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862932
2023-10-13	13:25:20	3440	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:20	3440	[DEBUG]	Executed store
2023-10-13	13:25:20	3440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862932','7378')
2023-10-13	13:25:20	3440	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:20	3440	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862932 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:20	3440	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:20	3440	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862932
2023-10-13	13:25:20	3441	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:20	3441	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:20	3441	[DEBUG]	Use field value for field taille
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:20	3441	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:20	3441	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:20	3441	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:20	3441	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:20	3441	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:20	3441	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:20	3441	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:20	3441	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:20	3441	[DEBUG]	Use field value for field published
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:20	3441	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field override
2023-10-13	13:25:20	3441	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:20	3441	[DEBUG]	Use field value for field slug
2023-10-13	13:25:20	3441	[DEBUG]	Process line 3441
2023-10-13	13:25:20	3441	[DEBUG]	Load a row
2023-10-13	13:25:20	3441	[DEBUG]	Processing item: 884065748479
2023-10-13	13:25:20	3441	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:20	3441	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:20	3441	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5357_27'
2023-10-13	13:25:20	3441	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:20	3441	[DEBUG]	Processing product tax
2023-10-13	13:25:20	3441	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:20	3441	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:20	3441	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:20	3441	[DEBUG]	Query for Product
2023-10-13	13:25:20	3441	[DEBUG]	Executed store
2023-10-13	13:25:20	3441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862932','884065748479','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:20	3441	[DEBUG]	No parent found
2023-10-13	13:25:20	3441	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862932 AND customfield_value = 'stockable'
2023-10-13	13:25:20	3441	[DEBUG]	Check product language entry
2023-10-13	13:25:20	3441	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862933
2023-10-13	13:25:20	3441	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:20	3441	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '884065748479' AND `virtuemart_product_id` != 1862933
2023-10-13	13:25:20	3441	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:20	3441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862933, '884065748479')
2023-10-13	13:25:20	3441	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:20	3441	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-lunettes-de-motocross-orange-unitaire' AND `virtuemart_product_id` != 1862933
2023-10-13	13:25:20	3441	[DEBUG]	Query for ProductLang
2023-10-13	13:25:20	3441	[DEBUG]	Executed store
2023-10-13	13:25:20	3441	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Lunettes de Motocross / Orange (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-lunettes-de-motocross-orange-unitaire' WHERE `virtuemart_product_id` = '1862933'
2023-10-13	13:25:20	3441	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29835_lunettes_de_motocross.jpg
2023-10-13	13:25:20	3441	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:20	3441	[DEBUG]	Process image file
2023-10-13	13:25:20	3441	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:20	3441	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:20	3441	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29835_lunettes_de_motocross.jpg
2023-10-13	13:25:20	3441	[DEBUG]	Full name target: bcprisme/29835_lunettes_de_motocross.jpg
2023-10-13	13:25:21	3441	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:21	3441	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29835_lunettes_de_motocross.jpg'
2023-10-13	13:25:21	3441	[DEBUG]	Query for Media
2023-10-13	13:25:21	3441	[DEBUG]	Executed store
2023-10-13	13:25:21	3441	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29835_lunettes_de_motocross.jpg',`file_url_thumb`='bcprisme/29835_lunettes_de_motocross.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13159'
2023-10-13	13:25:21	3441	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:21	3441	[DEBUG]	Executed store
2023-10-13	13:25:21	3441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862933','13159','1')
2023-10-13	13:25:21	3441	[DEBUG]	Store product image relation
2023-10-13	13:25:21	3441	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:21	3441	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862933 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:21	3441	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:21	3441	[DEBUG]	Executed store
2023-10-13	13:25:21	3441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862933','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:21	3441	[DEBUG]	Checking manufacturer
2023-10-13	13:25:21	3441	[DEBUG]	Load a row
2023-10-13	13:25:21	3441	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:21	3441	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	13:25:21	3441	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:21	3441	[DEBUG]	Executed store
2023-10-13	13:25:21	3441	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV-Bike',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike' WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	13:25:21	3441	[DEBUG]	Manufacturer exists
2023-10-13	13:25:21	3441	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 1
2023-10-13	13:25:21	3441	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:21	3441	[DEBUG]	Executed store
2023-10-13	13:25:21	3441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862933','1')
2023-10-13	13:25:21	3441	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:21	3441	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:21	3441	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862933 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:21	3441	[DEBUG]	Store custom available field
2023-10-13	13:25:21	3441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862933,3,'',1)
2023-10-13	13:25:21	3441	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:21	3441	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:21	3441	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862933 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:21	3441	[DEBUG]	Store custom available field
2023-10-13	13:25:21	3441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862933,6,'Unitaire',3)
2023-10-13	13:25:21	3441	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:21	3441	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:21	3441	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862932
2023-10-13	13:25:21	3441	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:21	3441	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862932\":[1862932,8,1,\"choisir la taille\"],\"1862933\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862932
2023-10-13	13:25:21	3441	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:21	3441	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862933
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:21	3442	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field taille
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:21	3442	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:21	3442	[DEBUG]	Use default value for field file_url
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:21	3442	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:21	3442	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:21	3442	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:21	3442	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:21	3442	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field published
2023-10-13	13:25:21	3442	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:21	3442	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field override
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:21	3442	[DEBUG]	Use field value for field slug
2023-10-13	13:25:21	3442	[DEBUG]	Process line 3442
2023-10-13	13:25:21	3442	[DEBUG]	Load a row
2023-10-13	13:25:21	3442	[DEBUG]	Processing item: A_5358_65
2023-10-13	13:25:21	3442	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:21	3442	[DEBUG]	Processing product tax
2023-10-13	13:25:21	3442	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:21	3442	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:21	3442	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:21	3442	[DEBUG]	Query for Product
2023-10-13	13:25:21	3442	[DEBUG]	Executed store
2023-10-13	13:25:21	3442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5358_65','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:21	3442	[DEBUG]	Check product language entry
2023-10-13	13:25:21	3442	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862934
2023-10-13	13:25:21	3442	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:21	3442	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5358_65' AND `virtuemart_product_id` != 1862934
2023-10-13	13:25:21	3442	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:21	3442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862934, 'A_5358_65')
2023-10-13	13:25:21	3442	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:21	3442	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-lunettes-de-motocross-jaune' AND `virtuemart_product_id` != 1862934
2023-10-13	13:25:21	3442	[DEBUG]	Query for ProductLang
2023-10-13	13:25:21	3442	[DEBUG]	Executed store
2023-10-13	13:25:21	3442	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Protection UV avec standard CE.<br>N° art fourn : 19969-005-NS',`product_name`='Fox Lunettes de Motocross  / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-lunettes-de-motocross-jaune' WHERE `virtuemart_product_id` = '1862934'
2023-10-13	13:25:21	3442	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:21	3442	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862934 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:21	3442	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:21	3442	[DEBUG]	Executed store
2023-10-13	13:25:21	3442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862934','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:21	3442	[DEBUG]	Checking manufacturer
2023-10-13	13:25:21	3442	[DEBUG]	Load a row
2023-10-13	13:25:21	3442	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:21	3442	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	13:25:21	3442	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:21	3442	[DEBUG]	Executed store
2023-10-13	13:25:21	3442	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV-Bike',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike' WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	13:25:21	3442	[DEBUG]	Manufacturer exists
2023-10-13	13:25:21	3442	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 1
2023-10-13	13:25:21	3442	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:21	3442	[DEBUG]	Executed store
2023-10-13	13:25:21	3442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862934','1')
2023-10-13	13:25:21	3442	[DEBUG]	Find the custom field ID
2023-10-13	13:25:21	3442	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:21	3442	[DEBUG]	No custom field ID found
2023-10-13	13:25:21	3442	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:21	3442	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:21	3442	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862934 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:21	3442	[DEBUG]	Store custom available field
2023-10-13	13:25:21	3442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862934,3,'69.7058333333334',1)
2023-10-13	13:25:21	3442	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:21	3442	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:21	3442	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862934 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:21	3442	[DEBUG]	Store custom available field
2023-10-13	13:25:21	3442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862934,6,'choisir la taille',3)
2023-10-13	13:25:21	3442	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:21	3442	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:21	3442	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:21	3442	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:21	3442	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862934 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:21	3442	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:21	3442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862934,8,1)
2023-10-13	13:25:21	3442	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:21	3442	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862934\":[1862934,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862934
2023-10-13	13:25:21	3442	[DEBUG]	Checking category
2023-10-13	13:25:21	3442	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:21	3442	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862934
2023-10-13	13:25:21	3442	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:21	3442	[DEBUG]	Executed store
2023-10-13	13:25:21	3442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862934','7378')
2023-10-13	13:25:21	3442	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:21	3442	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862934 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:21	3442	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:21	3442	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862934
2023-10-13	13:25:21	3443	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:21	3443	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:21	3443	[DEBUG]	Use field value for field taille
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:21	3443	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:21	3443	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:21	3443	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field file_url
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:21	3443	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:21	3443	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:21	3443	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:21	3443	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:21	3443	[DEBUG]	Use field value for field published
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:21	3443	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field override
2023-10-13	13:25:21	3443	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:21	3443	[DEBUG]	Use field value for field slug
2023-10-13	13:25:21	3443	[DEBUG]	Process line 3443
2023-10-13	13:25:21	3443	[DEBUG]	Load a row
2023-10-13	13:25:21	3443	[DEBUG]	Processing item: 884065752582
2023-10-13	13:25:21	3443	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:21	3443	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:21	3443	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5358_65'
2023-10-13	13:25:21	3443	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:21	3443	[DEBUG]	Processing product tax
2023-10-13	13:25:21	3443	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:21	3443	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:21	3443	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:21	3443	[DEBUG]	Query for Product
2023-10-13	13:25:21	3443	[DEBUG]	Executed store
2023-10-13	13:25:21	3443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862934','884065752582','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:21	3443	[DEBUG]	No parent found
2023-10-13	13:25:21	3443	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862934 AND customfield_value = 'stockable'
2023-10-13	13:25:21	3443	[DEBUG]	Check product language entry
2023-10-13	13:25:21	3443	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862935
2023-10-13	13:25:21	3443	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:21	3443	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '884065752582' AND `virtuemart_product_id` != 1862935
2023-10-13	13:25:21	3443	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:21	3443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862935, '884065752582')
2023-10-13	13:25:21	3443	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:21	3443	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fox-lunettes-de-motocross-jaune-unitaire' AND `virtuemart_product_id` != 1862935
2023-10-13	13:25:21	3443	[DEBUG]	Query for ProductLang
2023-10-13	13:25:21	3443	[DEBUG]	Executed store
2023-10-13	13:25:21	3443	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Fox Lunettes de Motocross  / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fox-lunettes-de-motocross-jaune-unitaire' WHERE `virtuemart_product_id` = '1862935'
2023-10-13	13:25:21	3443	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:21	3443	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862935 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:21	3443	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:21	3443	[DEBUG]	Executed store
2023-10-13	13:25:21	3443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862935','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:21	3443	[DEBUG]	Checking manufacturer
2023-10-13	13:25:21	3443	[DEBUG]	Load a row
2023-10-13	13:25:21	3443	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:21	3443	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	13:25:21	3443	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:21	3443	[DEBUG]	Executed store
2023-10-13	13:25:21	3443	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV-Bike',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike' WHERE `virtuemart_manufacturer_id` = '1'
2023-10-13	13:25:21	3443	[DEBUG]	Manufacturer exists
2023-10-13	13:25:21	3443	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 1
2023-10-13	13:25:21	3443	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:21	3443	[DEBUG]	Executed store
2023-10-13	13:25:21	3443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862935','1')
2023-10-13	13:25:21	3443	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:21	3443	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:21	3443	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862935 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:21	3443	[DEBUG]	Store custom available field
2023-10-13	13:25:21	3443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862935,3,'',1)
2023-10-13	13:25:21	3443	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:21	3443	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:21	3443	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862935 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:21	3443	[DEBUG]	Store custom available field
2023-10-13	13:25:21	3443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862935,6,'Unitaire',3)
2023-10-13	13:25:21	3443	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:21	3443	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:21	3443	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862934
2023-10-13	13:25:21	3443	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:21	3443	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862934\":[1862934,8,1,\"choisir la taille\"],\"1862935\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862934
2023-10-13	13:25:21	3443	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:21	3443	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862935
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:21	3444	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field taille
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:21	3444	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:21	3444	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:21	3444	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:21	3444	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:21	3444	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:21	3444	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field published
2023-10-13	13:25:21	3444	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:21	3444	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field override
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:21	3444	[DEBUG]	Use field value for field slug
2023-10-13	13:25:21	3444	[DEBUG]	Process line 3444
2023-10-13	13:25:21	3444	[DEBUG]	Load a row
2023-10-13	13:25:21	3444	[DEBUG]	Processing item: A_5943_275
2023-10-13	13:25:21	3444	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:21	3444	[DEBUG]	Processing product tax
2023-10-13	13:25:21	3444	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:21	3444	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:21	3444	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:21	3444	[DEBUG]	Query for Product
2023-10-13	13:25:21	3444	[DEBUG]	Executed store
2023-10-13	13:25:21	3444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5943_275','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:21	3444	[DEBUG]	Check product language entry
2023-10-13	13:25:21	3444	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862936
2023-10-13	13:25:21	3444	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:21	3444	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5943_275' AND `virtuemart_product_id` != 1862936
2023-10-13	13:25:21	3444	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:21	3444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862936, 'A_5943_275')
2023-10-13	13:25:21	3444	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:21	3444	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-s-way-black-matt' AND `virtuemart_product_id` != 1862936
2023-10-13	13:25:21	3444	[DEBUG]	Query for ProductLang
2023-10-13	13:25:21	3444	[DEBUG]	Executed store
2023-10-13	13:25:21	3444	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Protection UV avec standard CE.<br>N° art fourn : 26678-10',`product_name`='Alpina Lunettes Alpina S-Way / Black matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-s-way-black-matt' WHERE `virtuemart_product_id` = '1862936'
2023-10-13	13:25:21	3444	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31544_lunettes_alpina_s-way.jpg
2023-10-13	13:25:21	3444	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:21	3444	[DEBUG]	Process image file
2023-10-13	13:25:21	3444	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:21	3444	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:21	3444	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31544_lunettes_alpina_s-way.jpg
2023-10-13	13:25:21	3444	[DEBUG]	Full name target: bcprisme/31544_lunettes_alpina_s-way.jpg
2023-10-13	13:25:22	3444	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:22	3444	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31544_lunettes_alpina_s-way.jpg'
2023-10-13	13:25:22	3444	[DEBUG]	Query for Media
2023-10-13	13:25:22	3444	[DEBUG]	Executed store
2023-10-13	13:25:22	3444	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31544_lunettes_alpina_s-way.jpg',`file_url_thumb`='bcprisme/31544_lunettes_alpina_s-way.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13160'
2023-10-13	13:25:22	3444	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:22	3444	[DEBUG]	Executed store
2023-10-13	13:25:22	3444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862936','13160','1')
2023-10-13	13:25:22	3444	[DEBUG]	Store product image relation
2023-10-13	13:25:22	3444	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:22	3444	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862936 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:22	3444	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:22	3444	[DEBUG]	Executed store
2023-10-13	13:25:22	3444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862936','0','240.482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:22	3444	[DEBUG]	Checking manufacturer
2023-10-13	13:25:22	3444	[DEBUG]	Load a row
2023-10-13	13:25:22	3444	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:22	3444	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:22	3444	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:22	3444	[DEBUG]	Executed store
2023-10-13	13:25:22	3444	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:22	3444	[DEBUG]	Manufacturer exists
2023-10-13	13:25:22	3444	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:22	3444	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:22	3444	[DEBUG]	Executed store
2023-10-13	13:25:22	3444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862936','171')
2023-10-13	13:25:22	3444	[DEBUG]	Find the custom field ID
2023-10-13	13:25:22	3444	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:22	3444	[DEBUG]	No custom field ID found
2023-10-13	13:25:22	3444	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:22	3444	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:22	3444	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862936 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:22	3444	[DEBUG]	Store custom available field
2023-10-13	13:25:22	3444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862936,3,'69.7058333333334',1)
2023-10-13	13:25:22	3444	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:22	3444	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:22	3444	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862936 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:22	3444	[DEBUG]	Store custom available field
2023-10-13	13:25:22	3444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862936,6,'choisir la taille',3)
2023-10-13	13:25:22	3444	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:22	3444	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:22	3444	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:22	3444	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:22	3444	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862936 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:22	3444	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:22	3444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862936,8,1)
2023-10-13	13:25:22	3444	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:22	3444	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862936\":[1862936,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862936
2023-10-13	13:25:22	3444	[DEBUG]	Checking category
2023-10-13	13:25:22	3444	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:22	3444	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862936
2023-10-13	13:25:22	3444	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:22	3444	[DEBUG]	Executed store
2023-10-13	13:25:22	3444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862936','7378')
2023-10-13	13:25:22	3444	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:22	3444	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862936 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:22	3444	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:22	3444	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862936
2023-10-13	13:25:22	3445	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:22	3445	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:22	3445	[DEBUG]	Use field value for field taille
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:22	3445	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:22	3445	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:22	3445	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:22	3445	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:22	3445	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:22	3445	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:22	3445	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:22	3445	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:22	3445	[DEBUG]	Use field value for field published
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:22	3445	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field override
2023-10-13	13:25:22	3445	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:22	3445	[DEBUG]	Use field value for field slug
2023-10-13	13:25:22	3445	[DEBUG]	Process line 3445
2023-10-13	13:25:22	3445	[DEBUG]	Load a row
2023-10-13	13:25:22	3445	[DEBUG]	Processing item: 4003692240415
2023-10-13	13:25:22	3445	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:22	3445	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:22	3445	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5943_275'
2023-10-13	13:25:22	3445	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:22	3445	[DEBUG]	Processing product tax
2023-10-13	13:25:22	3445	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:22	3445	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:22	3445	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:22	3445	[DEBUG]	Query for Product
2023-10-13	13:25:22	3445	[DEBUG]	Executed store
2023-10-13	13:25:22	3445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862936','4003692240415','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:22	3445	[DEBUG]	No parent found
2023-10-13	13:25:22	3445	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862936 AND customfield_value = 'stockable'
2023-10-13	13:25:22	3445	[DEBUG]	Check product language entry
2023-10-13	13:25:22	3445	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862937
2023-10-13	13:25:22	3445	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:22	3445	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003692240415' AND `virtuemart_product_id` != 1862937
2023-10-13	13:25:22	3445	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:22	3445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862937, '4003692240415')
2023-10-13	13:25:22	3445	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:22	3445	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-s-way-black-matt-unitaire' AND `virtuemart_product_id` != 1862937
2023-10-13	13:25:22	3445	[DEBUG]	Query for ProductLang
2023-10-13	13:25:22	3445	[DEBUG]	Executed store
2023-10-13	13:25:22	3445	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Lunettes Alpina S-Way / Black matt (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-s-way-black-matt-unitaire' WHERE `virtuemart_product_id` = '1862937'
2023-10-13	13:25:22	3445	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31544_lunettes_alpina_s-way.jpg
2023-10-13	13:25:22	3445	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:22	3445	[DEBUG]	Process image file
2023-10-13	13:25:22	3445	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:22	3445	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:22	3445	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31544_lunettes_alpina_s-way.jpg
2023-10-13	13:25:22	3445	[DEBUG]	Full name target: bcprisme/31544_lunettes_alpina_s-way.jpg
2023-10-13	13:25:23	3445	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:23	3445	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31544_lunettes_alpina_s-way.jpg'
2023-10-13	13:25:23	3445	[DEBUG]	Query for Media
2023-10-13	13:25:23	3445	[DEBUG]	Executed store
2023-10-13	13:25:23	3445	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31544_lunettes_alpina_s-way.jpg',`file_url_thumb`='bcprisme/31544_lunettes_alpina_s-way.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13160'
2023-10-13	13:25:23	3445	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:23	3445	[DEBUG]	Executed store
2023-10-13	13:25:23	3445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862937','13160','1')
2023-10-13	13:25:23	3445	[DEBUG]	Store product image relation
2023-10-13	13:25:23	3445	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:23	3445	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862937 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:23	3445	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:23	3445	[DEBUG]	Executed store
2023-10-13	13:25:23	3445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862937','0','240.482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:23	3445	[DEBUG]	Checking manufacturer
2023-10-13	13:25:23	3445	[DEBUG]	Load a row
2023-10-13	13:25:23	3445	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:23	3445	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:23	3445	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:23	3445	[DEBUG]	Executed store
2023-10-13	13:25:23	3445	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:23	3445	[DEBUG]	Manufacturer exists
2023-10-13	13:25:23	3445	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:23	3445	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:23	3445	[DEBUG]	Executed store
2023-10-13	13:25:23	3445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862937','171')
2023-10-13	13:25:23	3445	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:23	3445	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:23	3445	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862937 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:23	3445	[DEBUG]	Store custom available field
2023-10-13	13:25:23	3445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862937,3,'',1)
2023-10-13	13:25:23	3445	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:23	3445	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:23	3445	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862937 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:23	3445	[DEBUG]	Store custom available field
2023-10-13	13:25:23	3445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862937,6,'Unitaire',3)
2023-10-13	13:25:23	3445	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:23	3445	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:23	3445	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862936
2023-10-13	13:25:23	3445	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:23	3445	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862936\":[1862936,8,1,\"choisir la taille\"],\"1862937\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862936
2023-10-13	13:25:23	3445	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:23	3445	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862937
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:23	3446	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field taille
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:23	3446	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:23	3446	[DEBUG]	Use default value for field file_url
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:23	3446	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:23	3446	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:23	3446	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:23	3446	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:23	3446	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field published
2023-10-13	13:25:23	3446	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:23	3446	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field override
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:23	3446	[DEBUG]	Use field value for field slug
2023-10-13	13:25:23	3446	[DEBUG]	Process line 3446
2023-10-13	13:25:23	3446	[DEBUG]	Load a row
2023-10-13	13:25:23	3446	[DEBUG]	Processing item: A_5992_279
2023-10-13	13:25:23	3446	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:23	3446	[DEBUG]	Processing product tax
2023-10-13	13:25:23	3446	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:23	3446	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:23	3446	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:23	3446	[DEBUG]	Query for Product
2023-10-13	13:25:23	3446	[DEBUG]	Executed store
2023-10-13	13:25:23	3446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5992_279','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:23	3446	[DEBUG]	Check product language entry
2023-10-13	13:25:23	3446	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862938
2023-10-13	13:25:23	3446	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:23	3446	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5992_279' AND `virtuemart_product_id` != 1862938
2023-10-13	13:25:23	3446	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:23	3446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862938, 'A_5992_279')
2023-10-13	13:25:23	3446	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:23	3446	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-rapid-turquoise-silver-mirror' AND `virtuemart_product_id` != 1862938
2023-10-13	13:25:23	3446	[DEBUG]	Query for ProductLang
2023-10-13	13:25:23	3446	[DEBUG]	Executed store
2023-10-13	13:25:23	3446	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Protection UV avec standard CE.<br>N° art fourn : 52702-32',`product_name`='BLIZ Lunettes BLIZ Rapid / Turquoise-Silver Mirror',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-rapid-turquoise-silver-mirror' WHERE `virtuemart_product_id` = '1862938'
2023-10-13	13:25:23	3446	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:23	3446	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862938 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:23	3446	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:24	3446	[DEBUG]	Executed store
2023-10-13	13:25:24	3446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862938','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:24	3446	[DEBUG]	Checking manufacturer
2023-10-13	13:25:24	3446	[DEBUG]	Load a row
2023-10-13	13:25:24	3446	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:24	3446	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:24	3446	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:24	3446	[DEBUG]	Executed store
2023-10-13	13:25:24	3446	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:24	3446	[DEBUG]	Manufacturer exists
2023-10-13	13:25:24	3446	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:24	3446	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:24	3446	[DEBUG]	Executed store
2023-10-13	13:25:24	3446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862938','175')
2023-10-13	13:25:24	3446	[DEBUG]	Find the custom field ID
2023-10-13	13:25:24	3446	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:24	3446	[DEBUG]	No custom field ID found
2023-10-13	13:25:24	3446	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:24	3446	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:24	3446	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862938 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:24	3446	[DEBUG]	Store custom available field
2023-10-13	13:25:24	3446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862938,3,'69.7058333333334',1)
2023-10-13	13:25:24	3446	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:24	3446	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:24	3446	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862938 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:24	3446	[DEBUG]	Store custom available field
2023-10-13	13:25:24	3446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862938,6,'choisir la taille',3)
2023-10-13	13:25:24	3446	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:24	3446	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:24	3446	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:24	3446	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:24	3446	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862938 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:24	3446	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:24	3446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862938,8,1)
2023-10-13	13:25:24	3446	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:24	3446	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862938\":[1862938,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862938
2023-10-13	13:25:24	3446	[DEBUG]	Checking category
2023-10-13	13:25:24	3446	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:24	3446	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862938
2023-10-13	13:25:24	3446	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:24	3446	[DEBUG]	Executed store
2023-10-13	13:25:24	3446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862938','7378')
2023-10-13	13:25:24	3446	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:24	3446	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862938 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:24	3446	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:24	3446	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862938
2023-10-13	13:25:24	3447	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:24	3447	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:24	3447	[DEBUG]	Use field value for field taille
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:24	3447	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:24	3447	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:24	3447	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field file_url
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:24	3447	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:24	3447	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:24	3447	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:24	3447	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:24	3447	[DEBUG]	Use field value for field published
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:24	3447	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field override
2023-10-13	13:25:24	3447	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:24	3447	[DEBUG]	Use field value for field slug
2023-10-13	13:25:24	3447	[DEBUG]	Process line 3447
2023-10-13	13:25:24	3447	[DEBUG]	Load a row
2023-10-13	13:25:24	3447	[DEBUG]	Processing item: 7318480080621
2023-10-13	13:25:24	3447	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:24	3447	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:24	3447	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5992_279'
2023-10-13	13:25:24	3447	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:24	3447	[DEBUG]	Processing product tax
2023-10-13	13:25:24	3447	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:24	3447	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:24	3447	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:24	3447	[DEBUG]	Query for Product
2023-10-13	13:25:24	3447	[DEBUG]	Executed store
2023-10-13	13:25:24	3447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862938','7318480080621','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:24	3447	[DEBUG]	No parent found
2023-10-13	13:25:24	3447	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862938 AND customfield_value = 'stockable'
2023-10-13	13:25:24	3447	[DEBUG]	Check product language entry
2023-10-13	13:25:24	3447	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862939
2023-10-13	13:25:24	3447	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:24	3447	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7318480080621' AND `virtuemart_product_id` != 1862939
2023-10-13	13:25:24	3447	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:24	3447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862939, '7318480080621')
2023-10-13	13:25:24	3447	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:24	3447	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-rapid-turquoise-silver-mirror-unitaire' AND `virtuemart_product_id` != 1862939
2023-10-13	13:25:24	3447	[DEBUG]	Query for ProductLang
2023-10-13	13:25:24	3447	[DEBUG]	Executed store
2023-10-13	13:25:24	3447	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BLIZ Lunettes BLIZ Rapid / Turquoise-Silver Mirror (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-rapid-turquoise-silver-mirror-unitaire' WHERE `virtuemart_product_id` = '1862939'
2023-10-13	13:25:24	3447	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:24	3447	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862939 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:24	3447	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:24	3447	[DEBUG]	Executed store
2023-10-13	13:25:24	3447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862939','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:24	3447	[DEBUG]	Checking manufacturer
2023-10-13	13:25:24	3447	[DEBUG]	Load a row
2023-10-13	13:25:24	3447	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:24	3447	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:24	3447	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:24	3447	[DEBUG]	Executed store
2023-10-13	13:25:24	3447	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:24	3447	[DEBUG]	Manufacturer exists
2023-10-13	13:25:24	3447	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:24	3447	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:24	3447	[DEBUG]	Executed store
2023-10-13	13:25:24	3447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862939','175')
2023-10-13	13:25:24	3447	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:24	3447	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:24	3447	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862939 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:24	3447	[DEBUG]	Store custom available field
2023-10-13	13:25:24	3447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862939,3,'',1)
2023-10-13	13:25:24	3447	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:24	3447	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:24	3447	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862939 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:24	3447	[DEBUG]	Store custom available field
2023-10-13	13:25:24	3447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862939,6,'Unitaire',3)
2023-10-13	13:25:24	3447	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:24	3447	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:24	3447	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862938
2023-10-13	13:25:24	3447	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:24	3447	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862938\":[1862938,8,1,\"choisir la taille\"],\"1862939\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862938
2023-10-13	13:25:24	3447	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:24	3447	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862939
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:24	3448	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field taille
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:24	3448	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:24	3448	[DEBUG]	Use default value for field file_url
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:24	3448	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:24	3448	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:24	3448	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:24	3448	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:24	3448	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field published
2023-10-13	13:25:24	3448	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:24	3448	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field override
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:24	3448	[DEBUG]	Use field value for field slug
2023-10-13	13:25:24	3448	[DEBUG]	Process line 3448
2023-10-13	13:25:24	3448	[DEBUG]	Load a row
2023-10-13	13:25:24	3448	[DEBUG]	Processing item: A_5993_280
2023-10-13	13:25:24	3448	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:24	3448	[DEBUG]	Processing product tax
2023-10-13	13:25:24	3448	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:24	3448	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:24	3448	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:24	3448	[DEBUG]	Query for Product
2023-10-13	13:25:24	3448	[DEBUG]	Executed store
2023-10-13	13:25:24	3448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5993_280','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:24	3448	[DEBUG]	Check product language entry
2023-10-13	13:25:24	3448	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862940
2023-10-13	13:25:24	3448	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:24	3448	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5993_280' AND `virtuemart_product_id` != 1862940
2023-10-13	13:25:24	3448	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:24	3448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862940, 'A_5993_280')
2023-10-13	13:25:24	3448	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:24	3448	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-velo-xt-black-turqoise---silver-mirror' AND `virtuemart_product_id` != 1862940
2023-10-13	13:25:24	3448	[DEBUG]	Query for ProductLang
2023-10-13	13:25:24	3448	[DEBUG]	Executed store
2023-10-13	13:25:24	3448	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Protection UV avec standard CE.<br>N° art fourn : 9026-32',`product_name`='BLIZ Lunettes BLIZ Velo XT / Black Turqoise - Silver Mirror',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-velo-xt-black-turqoise---silver-mirror' WHERE `virtuemart_product_id` = '1862940'
2023-10-13	13:25:24	3448	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:24	3448	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862940 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:24	3448	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:24	3448	[DEBUG]	Executed store
2023-10-13	13:25:24	3448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862940','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:24	3448	[DEBUG]	Checking manufacturer
2023-10-13	13:25:24	3448	[DEBUG]	Load a row
2023-10-13	13:25:24	3448	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:24	3448	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:24	3448	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:24	3448	[DEBUG]	Executed store
2023-10-13	13:25:24	3448	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:24	3448	[DEBUG]	Manufacturer exists
2023-10-13	13:25:24	3448	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:24	3448	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:24	3448	[DEBUG]	Executed store
2023-10-13	13:25:24	3448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862940','175')
2023-10-13	13:25:24	3448	[DEBUG]	Find the custom field ID
2023-10-13	13:25:24	3448	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:24	3448	[DEBUG]	No custom field ID found
2023-10-13	13:25:24	3448	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:24	3448	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:24	3448	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862940 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:24	3448	[DEBUG]	Store custom available field
2023-10-13	13:25:24	3448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862940,3,'69.7058333333334',1)
2023-10-13	13:25:24	3448	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:24	3448	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:24	3448	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862940 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:24	3448	[DEBUG]	Store custom available field
2023-10-13	13:25:24	3448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862940,6,'choisir la taille',3)
2023-10-13	13:25:24	3448	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:24	3448	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:24	3448	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:24	3448	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:24	3448	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862940 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:24	3448	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:24	3448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862940,8,1)
2023-10-13	13:25:24	3448	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:24	3448	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862940\":[1862940,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862940
2023-10-13	13:25:24	3448	[DEBUG]	Checking category
2023-10-13	13:25:24	3448	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:24	3448	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862940
2023-10-13	13:25:24	3448	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:24	3448	[DEBUG]	Executed store
2023-10-13	13:25:24	3448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862940','7378')
2023-10-13	13:25:24	3448	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:24	3448	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862940 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:24	3448	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:24	3448	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862940
2023-10-13	13:25:24	3449	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:24	3449	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:24	3449	[DEBUG]	Use field value for field taille
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:24	3449	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:24	3449	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:24	3449	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field file_url
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:24	3449	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:24	3449	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:24	3449	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:24	3449	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:24	3449	[DEBUG]	Use field value for field published
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:24	3449	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field override
2023-10-13	13:25:24	3449	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:24	3449	[DEBUG]	Use field value for field slug
2023-10-13	13:25:24	3449	[DEBUG]	Process line 3449
2023-10-13	13:25:24	3449	[DEBUG]	Load a row
2023-10-13	13:25:24	3449	[DEBUG]	Processing item: 7318480075573
2023-10-13	13:25:24	3449	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:24	3449	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:24	3449	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5993_280'
2023-10-13	13:25:24	3449	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:24	3449	[DEBUG]	Processing product tax
2023-10-13	13:25:24	3449	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:24	3449	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:24	3449	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:24	3449	[DEBUG]	Query for Product
2023-10-13	13:25:24	3449	[DEBUG]	Executed store
2023-10-13	13:25:24	3449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862940','7318480075573','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:24	3449	[DEBUG]	No parent found
2023-10-13	13:25:24	3449	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862940 AND customfield_value = 'stockable'
2023-10-13	13:25:24	3449	[DEBUG]	Check product language entry
2023-10-13	13:25:24	3449	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862941
2023-10-13	13:25:24	3449	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:24	3449	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7318480075573' AND `virtuemart_product_id` != 1862941
2023-10-13	13:25:24	3449	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:24	3449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862941, '7318480075573')
2023-10-13	13:25:24	3449	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:24	3449	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-velo-xt-black-turqoise---silver-mirror-unitaire' AND `virtuemart_product_id` != 1862941
2023-10-13	13:25:24	3449	[DEBUG]	Query for ProductLang
2023-10-13	13:25:24	3449	[DEBUG]	Executed store
2023-10-13	13:25:24	3449	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BLIZ Lunettes BLIZ Velo XT / Black Turqoise - Silver Mirror (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-velo-xt-black-turqoise---silver-mirror-unitaire' WHERE `virtuemart_product_id` = '1862941'
2023-10-13	13:25:24	3449	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:24	3449	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862941 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:24	3449	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:24	3449	[DEBUG]	Executed store
2023-10-13	13:25:24	3449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862941','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:24	3449	[DEBUG]	Checking manufacturer
2023-10-13	13:25:24	3449	[DEBUG]	Load a row
2023-10-13	13:25:24	3449	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:24	3449	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:24	3449	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:24	3449	[DEBUG]	Executed store
2023-10-13	13:25:24	3449	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:24	3449	[DEBUG]	Manufacturer exists
2023-10-13	13:25:24	3449	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:24	3449	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:24	3449	[DEBUG]	Executed store
2023-10-13	13:25:24	3449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862941','175')
2023-10-13	13:25:24	3449	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:24	3449	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:24	3449	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862941 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:24	3449	[DEBUG]	Store custom available field
2023-10-13	13:25:24	3449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862941,3,'',1)
2023-10-13	13:25:24	3449	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:24	3449	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:24	3449	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862941 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:24	3449	[DEBUG]	Store custom available field
2023-10-13	13:25:24	3449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862941,6,'Unitaire',3)
2023-10-13	13:25:24	3449	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:24	3449	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:24	3449	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862940
2023-10-13	13:25:24	3449	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:24	3449	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862940\":[1862940,8,1,\"choisir la taille\"],\"1862941\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862940
2023-10-13	13:25:24	3449	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:24	3449	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862941
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:24	3450	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field taille
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:24	3450	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:24	3450	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:24	3450	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:24	3450	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:24	3450	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:24	3450	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field published
2023-10-13	13:25:24	3450	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:24	3450	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field override
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:24	3450	[DEBUG]	Use field value for field slug
2023-10-13	13:25:24	3450	[DEBUG]	Process line 3450
2023-10-13	13:25:24	3450	[DEBUG]	Load a row
2023-10-13	13:25:24	3450	[DEBUG]	Processing item: A_5994_1
2023-10-13	13:25:24	3450	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:24	3450	[DEBUG]	Processing product tax
2023-10-13	13:25:24	3450	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:24	3450	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:24	3450	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:24	3450	[DEBUG]	Query for Product
2023-10-13	13:25:24	3450	[DEBUG]	Executed store
2023-10-13	13:25:24	3450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5994_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:24	3450	[DEBUG]	Check product language entry
2023-10-13	13:25:24	3450	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862942
2023-10-13	13:25:24	3450	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:24	3450	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5994_1' AND `virtuemart_product_id` != 1862942
2023-10-13	13:25:24	3450	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:24	3450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862942, 'A_5994_1')
2023-10-13	13:25:24	3450	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:24	3450	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-uls-1-3-photochromique-noir' AND `virtuemart_product_id` != 1862942
2023-10-13	13:25:24	3450	[DEBUG]	Query for ProductLang
2023-10-13	13:25:24	3450	[DEBUG]	Executed store
2023-10-13	13:25:24	3450	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Protection UV avec standard CE.<br>N° art fourn : 52806-14U',`product_name`='BLIZ Lunettes BLIZ ULS 1-3 Photochromique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-uls-1-3-photochromique-noir' WHERE `virtuemart_product_id` = '1862942'
2023-10-13	13:25:24	3450	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31596_lunettes_bliz_uls_1-3_photochromique.jpg
2023-10-13	13:25:24	3450	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:24	3450	[DEBUG]	Process image file
2023-10-13	13:25:24	3450	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:24	3450	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:24	3450	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31596_lunettes_bliz_uls_1-3_photochromique.jpg
2023-10-13	13:25:24	3450	[DEBUG]	Full name target: bcprisme/31596_lunettes_bliz_uls_1-3_photochromique.jpg
2023-10-13	13:25:25	3450	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:25	3450	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31596_lunettes_bliz_uls_1-3_photochromique.jpg'
2023-10-13	13:25:25	3450	[DEBUG]	Query for Media
2023-10-13	13:25:25	3450	[DEBUG]	Executed store
2023-10-13	13:25:25	3450	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31596_lunettes_bliz_uls_1-3_photochromique.jpg',`file_url_thumb`='bcprisme/31596_lunettes_bliz_uls_1-3_photochromique.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13161'
2023-10-13	13:25:25	3450	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:25	3450	[DEBUG]	Executed store
2023-10-13	13:25:25	3450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862942','13161','1')
2023-10-13	13:25:25	3450	[DEBUG]	Store product image relation
2023-10-13	13:25:25	3450	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:25	3450	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862942 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:25	3450	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:25	3450	[DEBUG]	Executed store
2023-10-13	13:25:25	3450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862942','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:25	3450	[DEBUG]	Checking manufacturer
2023-10-13	13:25:25	3450	[DEBUG]	Load a row
2023-10-13	13:25:25	3450	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:25	3450	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:25	3450	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:25	3450	[DEBUG]	Executed store
2023-10-13	13:25:25	3450	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:25	3450	[DEBUG]	Manufacturer exists
2023-10-13	13:25:25	3450	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:25	3450	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:25	3450	[DEBUG]	Executed store
2023-10-13	13:25:25	3450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862942','175')
2023-10-13	13:25:25	3450	[DEBUG]	Find the custom field ID
2023-10-13	13:25:25	3450	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:25	3450	[DEBUG]	No custom field ID found
2023-10-13	13:25:25	3450	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:25	3450	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:25	3450	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862942 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:25	3450	[DEBUG]	Store custom available field
2023-10-13	13:25:25	3450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862942,3,'69.7058333333334',1)
2023-10-13	13:25:25	3450	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:25	3450	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:25	3450	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862942 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:25	3450	[DEBUG]	Store custom available field
2023-10-13	13:25:25	3450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862942,6,'choisir la taille',3)
2023-10-13	13:25:25	3450	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:25	3450	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:25	3450	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:25	3450	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:25	3450	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862942 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:25	3450	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:25	3450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862942,8,1)
2023-10-13	13:25:25	3450	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:25	3450	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862942\":[1862942,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862942
2023-10-13	13:25:25	3450	[DEBUG]	Checking category
2023-10-13	13:25:25	3450	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:25	3450	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862942
2023-10-13	13:25:25	3450	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:25	3450	[DEBUG]	Executed store
2023-10-13	13:25:25	3450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862942','7378')
2023-10-13	13:25:25	3450	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:25	3450	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862942 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:25	3450	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:25	3450	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862942
2023-10-13	13:25:25	3451	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:25	3451	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:25	3451	[DEBUG]	Use field value for field taille
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:25	3451	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:25	3451	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:25	3451	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:25	3451	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:25	3451	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:25	3451	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:25	3451	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:25	3451	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:25	3451	[DEBUG]	Use field value for field published
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:25	3451	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field override
2023-10-13	13:25:25	3451	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:25	3451	[DEBUG]	Use field value for field slug
2023-10-13	13:25:25	3451	[DEBUG]	Process line 3451
2023-10-13	13:25:25	3451	[DEBUG]	Load a row
2023-10-13	13:25:25	3451	[DEBUG]	Processing item: 7318480086784
2023-10-13	13:25:25	3451	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:25	3451	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:25	3451	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5994_1'
2023-10-13	13:25:25	3451	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:25	3451	[DEBUG]	Processing product tax
2023-10-13	13:25:25	3451	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:25	3451	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:25	3451	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:25	3451	[DEBUG]	Query for Product
2023-10-13	13:25:25	3451	[DEBUG]	Executed store
2023-10-13	13:25:25	3451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862942','7318480086784','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:25	3451	[DEBUG]	No parent found
2023-10-13	13:25:25	3451	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862942 AND customfield_value = 'stockable'
2023-10-13	13:25:25	3451	[DEBUG]	Check product language entry
2023-10-13	13:25:25	3451	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862943
2023-10-13	13:25:25	3451	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:25	3451	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7318480086784' AND `virtuemart_product_id` != 1862943
2023-10-13	13:25:25	3451	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:25	3451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862943, '7318480086784')
2023-10-13	13:25:25	3451	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:25	3451	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-uls-1-3-photochromique-noir-unitaire' AND `virtuemart_product_id` != 1862943
2023-10-13	13:25:25	3451	[DEBUG]	Query for ProductLang
2023-10-13	13:25:25	3451	[DEBUG]	Executed store
2023-10-13	13:25:25	3451	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BLIZ Lunettes BLIZ ULS 1-3 Photochromique / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-uls-1-3-photochromique-noir-unitaire' WHERE `virtuemart_product_id` = '1862943'
2023-10-13	13:25:25	3451	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31596_lunettes_bliz_uls_1-3_photochromique.jpg
2023-10-13	13:25:25	3451	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:25	3451	[DEBUG]	Process image file
2023-10-13	13:25:25	3451	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:25	3451	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:25	3451	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31596_lunettes_bliz_uls_1-3_photochromique.jpg
2023-10-13	13:25:25	3451	[DEBUG]	Full name target: bcprisme/31596_lunettes_bliz_uls_1-3_photochromique.jpg
2023-10-13	13:25:26	3451	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:26	3451	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31596_lunettes_bliz_uls_1-3_photochromique.jpg'
2023-10-13	13:25:26	3451	[DEBUG]	Query for Media
2023-10-13	13:25:26	3451	[DEBUG]	Executed store
2023-10-13	13:25:26	3451	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31596_lunettes_bliz_uls_1-3_photochromique.jpg',`file_url_thumb`='bcprisme/31596_lunettes_bliz_uls_1-3_photochromique.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13161'
2023-10-13	13:25:26	3451	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:26	3451	[DEBUG]	Executed store
2023-10-13	13:25:26	3451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862943','13161','1')
2023-10-13	13:25:26	3451	[DEBUG]	Store product image relation
2023-10-13	13:25:26	3451	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:26	3451	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862943 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:26	3451	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:26	3451	[DEBUG]	Executed store
2023-10-13	13:25:26	3451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862943','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:26	3451	[DEBUG]	Checking manufacturer
2023-10-13	13:25:26	3451	[DEBUG]	Load a row
2023-10-13	13:25:26	3451	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:26	3451	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:26	3451	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:26	3451	[DEBUG]	Executed store
2023-10-13	13:25:26	3451	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:26	3451	[DEBUG]	Manufacturer exists
2023-10-13	13:25:26	3451	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:26	3451	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:26	3451	[DEBUG]	Executed store
2023-10-13	13:25:26	3451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862943','175')
2023-10-13	13:25:26	3451	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:26	3451	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:26	3451	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862943 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:26	3451	[DEBUG]	Store custom available field
2023-10-13	13:25:26	3451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862943,3,'',1)
2023-10-13	13:25:26	3451	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:26	3451	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:26	3451	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862943 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:26	3451	[DEBUG]	Store custom available field
2023-10-13	13:25:26	3451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862943,6,'Unitaire',3)
2023-10-13	13:25:26	3451	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:26	3451	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:26	3451	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862942
2023-10-13	13:25:26	3451	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:26	3451	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862942\":[1862942,8,1,\"choisir la taille\"],\"1862943\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862942
2023-10-13	13:25:26	3451	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:26	3451	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862943
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:26	3452	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field taille
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:26	3452	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:26	3452	[DEBUG]	Use default value for field file_url
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:26	3452	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:26	3452	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:26	3452	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:26	3452	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:26	3452	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field published
2023-10-13	13:25:26	3452	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:26	3452	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field override
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:26	3452	[DEBUG]	Use field value for field slug
2023-10-13	13:25:26	3452	[DEBUG]	Process line 3452
2023-10-13	13:25:26	3452	[DEBUG]	Load a row
2023-10-13	13:25:26	3452	[DEBUG]	Processing item: A_5995_1
2023-10-13	13:25:26	3452	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:26	3452	[DEBUG]	Processing product tax
2023-10-13	13:25:26	3452	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:26	3452	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:26	3452	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:26	3452	[DEBUG]	Query for Product
2023-10-13	13:25:26	3452	[DEBUG]	Executed store
2023-10-13	13:25:26	3452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5995_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:26	3452	[DEBUG]	Check product language entry
2023-10-13	13:25:26	3452	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862944
2023-10-13	13:25:26	3452	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:26	3452	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5995_1' AND `virtuemart_product_id` != 1862944
2023-10-13	13:25:26	3452	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:26	3452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862944, 'A_5995_1')
2023-10-13	13:25:26	3452	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:26	3452	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-sf-small-face-1-3-photochromique-noir' AND `virtuemart_product_id` != 1862944
2023-10-13	13:25:26	3452	[DEBUG]	Query for ProductLang
2023-10-13	13:25:26	3452	[DEBUG]	Executed store
2023-10-13	13:25:26	3452	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Protection UV avec standard CE.<br>N° art fourn : 52808-14U',`product_name`='BLIZ Lunettes BLIZ SF (small face) 1-3 Photochromique / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-sf-small-face-1-3-photochromique-noir' WHERE `virtuemart_product_id` = '1862944'
2023-10-13	13:25:26	3452	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:26	3452	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862944 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:26	3452	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:26	3452	[DEBUG]	Executed store
2023-10-13	13:25:26	3452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862944','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:26	3452	[DEBUG]	Checking manufacturer
2023-10-13	13:25:26	3452	[DEBUG]	Load a row
2023-10-13	13:25:26	3452	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:26	3452	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:26	3452	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:26	3452	[DEBUG]	Executed store
2023-10-13	13:25:26	3452	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:26	3452	[DEBUG]	Manufacturer exists
2023-10-13	13:25:26	3452	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:26	3452	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:26	3452	[DEBUG]	Executed store
2023-10-13	13:25:26	3452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862944','175')
2023-10-13	13:25:26	3452	[DEBUG]	Find the custom field ID
2023-10-13	13:25:26	3452	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:26	3452	[DEBUG]	No custom field ID found
2023-10-13	13:25:26	3452	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:26	3452	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:26	3452	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862944 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:26	3452	[DEBUG]	Store custom available field
2023-10-13	13:25:26	3452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862944,3,'69.7058333333334',1)
2023-10-13	13:25:26	3452	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:26	3452	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:26	3452	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862944 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:26	3452	[DEBUG]	Store custom available field
2023-10-13	13:25:26	3452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862944,6,'choisir la taille',3)
2023-10-13	13:25:26	3452	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:26	3452	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:26	3452	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:26	3452	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:26	3452	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862944 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:26	3452	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:26	3452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862944,8,1)
2023-10-13	13:25:26	3452	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:26	3452	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862944\":[1862944,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862944
2023-10-13	13:25:26	3452	[DEBUG]	Checking category
2023-10-13	13:25:26	3452	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:26	3452	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862944
2023-10-13	13:25:26	3452	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:26	3452	[DEBUG]	Executed store
2023-10-13	13:25:26	3452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862944','7378')
2023-10-13	13:25:26	3452	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:26	3452	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862944 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:26	3452	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:26	3452	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862944
2023-10-13	13:25:26	3453	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:26	3453	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:26	3453	[DEBUG]	Use field value for field taille
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:26	3453	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:26	3453	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:26	3453	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field file_url
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:26	3453	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:26	3453	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:26	3453	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:26	3453	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:26	3453	[DEBUG]	Use field value for field published
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:26	3453	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field override
2023-10-13	13:25:26	3453	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:26	3453	[DEBUG]	Use field value for field slug
2023-10-13	13:25:26	3453	[DEBUG]	Process line 3453
2023-10-13	13:25:26	3453	[DEBUG]	Load a row
2023-10-13	13:25:26	3453	[DEBUG]	Processing item: 7318480086975
2023-10-13	13:25:26	3453	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:26	3453	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:26	3453	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5995_1'
2023-10-13	13:25:26	3453	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:26	3453	[DEBUG]	Processing product tax
2023-10-13	13:25:26	3453	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:26	3453	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:26	3453	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:26	3453	[DEBUG]	Query for Product
2023-10-13	13:25:26	3453	[DEBUG]	Executed store
2023-10-13	13:25:26	3453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862944','7318480086975','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:26	3453	[DEBUG]	No parent found
2023-10-13	13:25:26	3453	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862944 AND customfield_value = 'stockable'
2023-10-13	13:25:26	3453	[DEBUG]	Check product language entry
2023-10-13	13:25:26	3453	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862945
2023-10-13	13:25:26	3453	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:26	3453	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7318480086975' AND `virtuemart_product_id` != 1862945
2023-10-13	13:25:26	3453	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:26	3453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862945, '7318480086975')
2023-10-13	13:25:26	3453	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:26	3453	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-sf-small-face-1-3-photochromique-noir-unitaire' AND `virtuemart_product_id` != 1862945
2023-10-13	13:25:26	3453	[DEBUG]	Query for ProductLang
2023-10-13	13:25:26	3453	[DEBUG]	Executed store
2023-10-13	13:25:26	3453	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BLIZ Lunettes BLIZ SF (small face) 1-3 Photochromique / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-sf-small-face-1-3-photochromique-noir-unitaire' WHERE `virtuemart_product_id` = '1862945'
2023-10-13	13:25:26	3453	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:26	3453	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862945 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:26	3453	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:26	3453	[DEBUG]	Executed store
2023-10-13	13:25:26	3453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862945','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:26	3453	[DEBUG]	Checking manufacturer
2023-10-13	13:25:26	3453	[DEBUG]	Load a row
2023-10-13	13:25:26	3453	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:26	3453	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:26	3453	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:26	3453	[DEBUG]	Executed store
2023-10-13	13:25:26	3453	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:26	3453	[DEBUG]	Manufacturer exists
2023-10-13	13:25:26	3453	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:26	3453	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:26	3453	[DEBUG]	Executed store
2023-10-13	13:25:26	3453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862945','175')
2023-10-13	13:25:26	3453	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:26	3453	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:26	3453	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862945 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:26	3453	[DEBUG]	Store custom available field
2023-10-13	13:25:26	3453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862945,3,'',1)
2023-10-13	13:25:26	3453	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:26	3453	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:26	3453	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862945 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:26	3453	[DEBUG]	Store custom available field
2023-10-13	13:25:26	3453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862945,6,'Unitaire',3)
2023-10-13	13:25:26	3453	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:26	3453	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:26	3453	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862944
2023-10-13	13:25:26	3453	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:26	3453	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862944\":[1862944,8,1,\"choisir la taille\"],\"1862945\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862944
2023-10-13	13:25:26	3453	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:26	3453	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862945
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:26	3454	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field taille
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:26	3454	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:26	3454	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:26	3454	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:26	3454	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:26	3454	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:26	3454	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field published
2023-10-13	13:25:26	3454	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:26	3454	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field override
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:26	3454	[DEBUG]	Use field value for field slug
2023-10-13	13:25:26	3454	[DEBUG]	Process line 3454
2023-10-13	13:25:26	3454	[DEBUG]	Load a row
2023-10-13	13:25:26	3454	[DEBUG]	Processing item: A_6303_315
2023-10-13	13:25:26	3454	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:26	3454	[DEBUG]	Processing product tax
2023-10-13	13:25:26	3454	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:26	3454	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:26	3454	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:26	3454	[DEBUG]	Query for Product
2023-10-13	13:25:26	3454	[DEBUG]	Executed store
2023-10-13	13:25:26	3454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6303_315','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:26	3454	[DEBUG]	Check product language entry
2023-10-13	13:25:26	3454	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862946
2023-10-13	13:25:26	3454	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:26	3454	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6303_315' AND `virtuemart_product_id` != 1862946
2023-10-13	13:25:26	3454	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:26	3454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862946, 'A_6303_315')
2023-10-13	13:25:26	3454	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:26	3454	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-rapid-black-smoke' AND `virtuemart_product_id` != 1862946
2023-10-13	13:25:26	3454	[DEBUG]	Query for ProductLang
2023-10-13	13:25:26	3454	[DEBUG]	Executed store
2023-10-13	13:25:26	3454	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Protection UV avec standard CE.<br>N° art fourn : 52702-12',`product_name`='BLIZ Lunettes BLIZ Rapid  / Black-Smoke',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-rapid-black-smoke' WHERE `virtuemart_product_id` = '1862946'
2023-10-13	13:25:26	3454	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32162_lunettes_bliz_rapid_.png
2023-10-13	13:25:26	3454	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000320
2023-10-13	13:25:26	3454	[DEBUG]	Process image file
2023-10-13	13:25:26	3454	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000320
2023-10-13	13:25:26	3454	[DEBUG]	Mime type found: image/png
2023-10-13	13:25:26	3454	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32162_lunettes_bliz_rapid_.png
2023-10-13	13:25:26	3454	[DEBUG]	Full name target: bcprisme/32162_lunettes_bliz_rapid_.png
2023-10-13	13:25:27	3454	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:27	3454	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32162_lunettes_bliz_rapid_.png'
2023-10-13	13:25:27	3454	[DEBUG]	Query for Media
2023-10-13	13:25:27	3454	[DEBUG]	Executed store
2023-10-13	13:25:27	3454	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/32162_lunettes_bliz_rapid_.png',`file_url_thumb`='bcprisme/32162_lunettes_bliz_rapid_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13162'
2023-10-13	13:25:27	3454	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:27	3454	[DEBUG]	Executed store
2023-10-13	13:25:27	3454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862946','13162','1')
2023-10-13	13:25:27	3454	[DEBUG]	Store product image relation
2023-10-13	13:25:27	3454	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:27	3454	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862946 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:27	3454	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:27	3454	[DEBUG]	Executed store
2023-10-13	13:25:27	3454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862946','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:27	3454	[DEBUG]	Checking manufacturer
2023-10-13	13:25:27	3454	[DEBUG]	Load a row
2023-10-13	13:25:27	3454	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:27	3454	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:27	3454	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:27	3454	[DEBUG]	Executed store
2023-10-13	13:25:27	3454	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:27	3454	[DEBUG]	Manufacturer exists
2023-10-13	13:25:27	3454	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:27	3454	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:27	3454	[DEBUG]	Executed store
2023-10-13	13:25:27	3454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862946','175')
2023-10-13	13:25:27	3454	[DEBUG]	Find the custom field ID
2023-10-13	13:25:27	3454	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:27	3454	[DEBUG]	No custom field ID found
2023-10-13	13:25:27	3454	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:27	3454	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:27	3454	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862946 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:27	3454	[DEBUG]	Store custom available field
2023-10-13	13:25:27	3454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862946,3,'69.7058333333334',1)
2023-10-13	13:25:27	3454	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:27	3454	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:27	3454	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862946 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:27	3454	[DEBUG]	Store custom available field
2023-10-13	13:25:27	3454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862946,6,'choisir la taille',3)
2023-10-13	13:25:27	3454	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:27	3454	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:27	3454	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:27	3454	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:27	3454	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862946 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:27	3454	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:27	3454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862946,8,1)
2023-10-13	13:25:27	3454	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:27	3454	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862946\":[1862946,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862946
2023-10-13	13:25:27	3454	[DEBUG]	Checking category
2023-10-13	13:25:27	3454	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:27	3454	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862946
2023-10-13	13:25:27	3454	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:27	3454	[DEBUG]	Executed store
2023-10-13	13:25:27	3454	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862946','7378')
2023-10-13	13:25:27	3454	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:27	3454	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862946 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:27	3454	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:27	3454	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862946
2023-10-13	13:25:27	3455	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:27	3455	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:27	3455	[DEBUG]	Use field value for field taille
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:27	3455	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:27	3455	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:27	3455	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:27	3455	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:27	3455	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:27	3455	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:27	3455	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:27	3455	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:27	3455	[DEBUG]	Use field value for field published
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:27	3455	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field override
2023-10-13	13:25:27	3455	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:27	3455	[DEBUG]	Use field value for field slug
2023-10-13	13:25:27	3455	[DEBUG]	Process line 3455
2023-10-13	13:25:27	3455	[DEBUG]	Load a row
2023-10-13	13:25:27	3455	[DEBUG]	Processing item: 7318480080614
2023-10-13	13:25:27	3455	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:27	3455	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:27	3455	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6303_315'
2023-10-13	13:25:27	3455	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:27	3455	[DEBUG]	Processing product tax
2023-10-13	13:25:27	3455	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:27	3455	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:27	3455	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:27	3455	[DEBUG]	Query for Product
2023-10-13	13:25:27	3455	[DEBUG]	Executed store
2023-10-13	13:25:27	3455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862946','7318480080614','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:27	3455	[DEBUG]	No parent found
2023-10-13	13:25:27	3455	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862946 AND customfield_value = 'stockable'
2023-10-13	13:25:27	3455	[DEBUG]	Check product language entry
2023-10-13	13:25:27	3455	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862947
2023-10-13	13:25:27	3455	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:27	3455	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7318480080614' AND `virtuemart_product_id` != 1862947
2023-10-13	13:25:27	3455	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:27	3455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862947, '7318480080614')
2023-10-13	13:25:27	3455	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:27	3455	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-rapid-black-smoke-unitaire' AND `virtuemart_product_id` != 1862947
2023-10-13	13:25:27	3455	[DEBUG]	Query for ProductLang
2023-10-13	13:25:27	3455	[DEBUG]	Executed store
2023-10-13	13:25:27	3455	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BLIZ Lunettes BLIZ Rapid  / Black-Smoke (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-rapid-black-smoke-unitaire' WHERE `virtuemart_product_id` = '1862947'
2023-10-13	13:25:27	3455	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32162_lunettes_bliz_rapid_.png
2023-10-13	13:25:27	3455	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000320
2023-10-13	13:25:27	3455	[DEBUG]	Process image file
2023-10-13	13:25:27	3455	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000320
2023-10-13	13:25:27	3455	[DEBUG]	Mime type found: image/png
2023-10-13	13:25:27	3455	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32162_lunettes_bliz_rapid_.png
2023-10-13	13:25:27	3455	[DEBUG]	Full name target: bcprisme/32162_lunettes_bliz_rapid_.png
2023-10-13	13:25:28	3455	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:28	3455	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32162_lunettes_bliz_rapid_.png'
2023-10-13	13:25:28	3455	[DEBUG]	Query for Media
2023-10-13	13:25:28	3455	[DEBUG]	Executed store
2023-10-13	13:25:28	3455	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/32162_lunettes_bliz_rapid_.png',`file_url_thumb`='bcprisme/32162_lunettes_bliz_rapid_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13162'
2023-10-13	13:25:28	3455	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:28	3455	[DEBUG]	Executed store
2023-10-13	13:25:28	3455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862947','13162','1')
2023-10-13	13:25:28	3455	[DEBUG]	Store product image relation
2023-10-13	13:25:28	3455	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:28	3455	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862947 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:28	3455	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:28	3455	[DEBUG]	Executed store
2023-10-13	13:25:28	3455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862947','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:28	3455	[DEBUG]	Checking manufacturer
2023-10-13	13:25:28	3455	[DEBUG]	Load a row
2023-10-13	13:25:28	3455	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:28	3455	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:28	3455	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:28	3455	[DEBUG]	Executed store
2023-10-13	13:25:28	3455	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:28	3455	[DEBUG]	Manufacturer exists
2023-10-13	13:25:28	3455	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:28	3455	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:28	3455	[DEBUG]	Executed store
2023-10-13	13:25:28	3455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862947','175')
2023-10-13	13:25:28	3455	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:28	3455	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:28	3455	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862947 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:28	3455	[DEBUG]	Store custom available field
2023-10-13	13:25:28	3455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862947,3,'',1)
2023-10-13	13:25:28	3455	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:28	3455	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:28	3455	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862947 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:28	3455	[DEBUG]	Store custom available field
2023-10-13	13:25:28	3455	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862947,6,'Unitaire',3)
2023-10-13	13:25:28	3455	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:28	3455	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:28	3455	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862946
2023-10-13	13:25:28	3455	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:28	3455	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862946\":[1862946,8,1,\"choisir la taille\"],\"1862947\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862946
2023-10-13	13:25:28	3455	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:28	3455	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862947
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:28	3456	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field taille
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:28	3456	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:28	3456	[DEBUG]	Use default value for field file_url
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:28	3456	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:28	3456	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:28	3456	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:28	3456	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:28	3456	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field published
2023-10-13	13:25:28	3456	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:28	3456	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field override
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:28	3456	[DEBUG]	Use field value for field slug
2023-10-13	13:25:28	3456	[DEBUG]	Process line 3456
2023-10-13	13:25:28	3456	[DEBUG]	Load a row
2023-10-13	13:25:28	3456	[DEBUG]	Processing item: A_6304_316
2023-10-13	13:25:28	3456	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:28	3456	[DEBUG]	Processing product tax
2023-10-13	13:25:28	3456	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:28	3456	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:28	3456	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:28	3456	[DEBUG]	Query for Product
2023-10-13	13:25:28	3456	[DEBUG]	Executed store
2023-10-13	13:25:28	3456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6304_316','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:28	3456	[DEBUG]	Check product language entry
2023-10-13	13:25:28	3456	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862948
2023-10-13	13:25:28	3456	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:28	3456	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6304_316' AND `virtuemart_product_id` != 1862948
2023-10-13	13:25:28	3456	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:28	3456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862948, 'A_6304_316')
2023-10-13	13:25:28	3456	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:28	3456	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-hybrid-multi-lenses-filtre-categorie-3-black-lime' AND `virtuemart_product_id` != 1862948
2023-10-13	13:25:28	3456	[DEBUG]	Query for ProductLang
2023-10-13	13:25:28	3456	[DEBUG]	Executed store
2023-10-13	13:25:28	3456	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Protection UV avec standard CE.<br>N° art fourn : 52806-11',`product_name`='BLIZ Lunettes BLIZ Hybrid multi-lenses, filtre catégorie 3 / BLACK-LIME',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-hybrid-multi-lenses-filtre-categorie-3-black-lime' WHERE `virtuemart_product_id` = '1862948'
2023-10-13	13:25:28	3456	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:28	3456	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862948 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:28	3456	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:28	3456	[DEBUG]	Executed store
2023-10-13	13:25:28	3456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862948','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:28	3456	[DEBUG]	Checking manufacturer
2023-10-13	13:25:28	3456	[DEBUG]	Load a row
2023-10-13	13:25:28	3456	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:28	3456	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:28	3456	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:28	3456	[DEBUG]	Executed store
2023-10-13	13:25:28	3456	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:28	3456	[DEBUG]	Manufacturer exists
2023-10-13	13:25:28	3456	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:28	3456	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:28	3456	[DEBUG]	Executed store
2023-10-13	13:25:28	3456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862948','175')
2023-10-13	13:25:28	3456	[DEBUG]	Find the custom field ID
2023-10-13	13:25:28	3456	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:28	3456	[DEBUG]	No custom field ID found
2023-10-13	13:25:28	3456	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:28	3456	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:28	3456	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862948 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:28	3456	[DEBUG]	Store custom available field
2023-10-13	13:25:28	3456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862948,3,'69.7058333333334',1)
2023-10-13	13:25:28	3456	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:28	3456	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:28	3456	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862948 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:28	3456	[DEBUG]	Store custom available field
2023-10-13	13:25:28	3456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862948,6,'choisir la taille',3)
2023-10-13	13:25:28	3456	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:28	3456	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:28	3456	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:28	3456	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:28	3456	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862948 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:28	3456	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:28	3456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862948,8,1)
2023-10-13	13:25:28	3456	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:28	3456	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862948\":[1862948,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862948
2023-10-13	13:25:28	3456	[DEBUG]	Checking category
2023-10-13	13:25:28	3456	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:28	3456	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862948
2023-10-13	13:25:28	3456	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:28	3456	[DEBUG]	Executed store
2023-10-13	13:25:28	3456	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862948','7378')
2023-10-13	13:25:28	3456	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:28	3456	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862948 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:28	3456	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:28	3456	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862948
2023-10-13	13:25:28	3457	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:28	3457	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:28	3457	[DEBUG]	Use field value for field taille
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:28	3457	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:28	3457	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:28	3457	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field file_url
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:28	3457	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:28	3457	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:28	3457	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:28	3457	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:28	3457	[DEBUG]	Use field value for field published
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:28	3457	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field override
2023-10-13	13:25:28	3457	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:28	3457	[DEBUG]	Use field value for field slug
2023-10-13	13:25:28	3457	[DEBUG]	Process line 3457
2023-10-13	13:25:28	3457	[DEBUG]	Load a row
2023-10-13	13:25:28	3457	[DEBUG]	Processing item: 7318480086869
2023-10-13	13:25:28	3457	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:28	3457	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:28	3457	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6304_316'
2023-10-13	13:25:28	3457	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:28	3457	[DEBUG]	Processing product tax
2023-10-13	13:25:28	3457	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:28	3457	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:28	3457	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:28	3457	[DEBUG]	Query for Product
2023-10-13	13:25:28	3457	[DEBUG]	Executed store
2023-10-13	13:25:28	3457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862948','7318480086869','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:28	3457	[DEBUG]	No parent found
2023-10-13	13:25:28	3457	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862948 AND customfield_value = 'stockable'
2023-10-13	13:25:28	3457	[DEBUG]	Check product language entry
2023-10-13	13:25:28	3457	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862949
2023-10-13	13:25:28	3457	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:28	3457	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7318480086869' AND `virtuemart_product_id` != 1862949
2023-10-13	13:25:28	3457	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:28	3457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862949, '7318480086869')
2023-10-13	13:25:28	3457	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:28	3457	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-hybrid-multi-lenses-filtre-categorie-3-black-lime-unitaire' AND `virtuemart_product_id` != 1862949
2023-10-13	13:25:28	3457	[DEBUG]	Query for ProductLang
2023-10-13	13:25:28	3457	[DEBUG]	Executed store
2023-10-13	13:25:28	3457	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BLIZ Lunettes BLIZ Hybrid multi-lenses, filtre catégorie 3 / BLACK-LIME (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-hybrid-multi-lenses-filtre-categorie-3-black-lime-unitaire' WHERE `virtuemart_product_id` = '1862949'
2023-10-13	13:25:28	3457	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:28	3457	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862949 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:28	3457	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:28	3457	[DEBUG]	Executed store
2023-10-13	13:25:28	3457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862949','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:28	3457	[DEBUG]	Checking manufacturer
2023-10-13	13:25:28	3457	[DEBUG]	Load a row
2023-10-13	13:25:28	3457	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:28	3457	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:28	3457	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:28	3457	[DEBUG]	Executed store
2023-10-13	13:25:28	3457	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:28	3457	[DEBUG]	Manufacturer exists
2023-10-13	13:25:28	3457	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:28	3457	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:28	3457	[DEBUG]	Executed store
2023-10-13	13:25:28	3457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862949','175')
2023-10-13	13:25:28	3457	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:28	3457	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:28	3457	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862949 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:28	3457	[DEBUG]	Store custom available field
2023-10-13	13:25:28	3457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862949,3,'',1)
2023-10-13	13:25:28	3457	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:28	3457	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:28	3457	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862949 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:28	3457	[DEBUG]	Store custom available field
2023-10-13	13:25:28	3457	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862949,6,'Unitaire',3)
2023-10-13	13:25:28	3457	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:28	3457	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:28	3457	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862948
2023-10-13	13:25:28	3457	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:28	3457	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862948\":[1862948,8,1,\"choisir la taille\"],\"1862949\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862948
2023-10-13	13:25:28	3457	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:28	3457	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862949
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:28	3458	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field taille
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field product_override_price
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:28	3458	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:28	3458	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:28	3458	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:28	3458	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:28	3458	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field published
2023-10-13	13:25:28	3458	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:28	3458	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field override
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:28	3458	[DEBUG]	Use field value for field slug
2023-10-13	13:25:28	3458	[DEBUG]	Process line 3458
2023-10-13	13:25:28	3458	[DEBUG]	Load a row
2023-10-13	13:25:28	3458	[DEBUG]	Processing item: A_6577_328
2023-10-13	13:25:28	3458	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:28	3458	[DEBUG]	Processing product tax
2023-10-13	13:25:28	3458	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:28	3458	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:28	3458	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:28	3458	[DEBUG]	Query for Product
2023-10-13	13:25:28	3458	[DEBUG]	Executed store
2023-10-13	13:25:28	3458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6577_328','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:28	3458	[DEBUG]	Check product language entry
2023-10-13	13:25:28	3458	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862950
2023-10-13	13:25:28	3458	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:28	3458	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6577_328' AND `virtuemart_product_id` != 1862950
2023-10-13	13:25:28	3458	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:28	3458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862950, 'A_6577_328')
2023-10-13	13:25:28	3458	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:28	3458	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'craft-lunettes-craft-cross-country-red-black' AND `virtuemart_product_id` != 1862950
2023-10-13	13:25:28	3458	[DEBUG]	Query for ProductLang
2023-10-13	13:25:28	3458	[DEBUG]	Executed store
2023-10-13	13:25:28	3458	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Livré avec 3 verres couleurs en polycarbonate. Protection UV avec standard C.  Structure crymalite pour une flexibilité et résistance maximale.<br>N° art fourn : C101',`product_name`='CRAFT Lunettes CRAFT Cross Country / Red/Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='craft-lunettes-craft-cross-country-red-black' WHERE `virtuemart_product_id` = '1862950'
2023-10-13	13:25:28	3458	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32457_lunettes_craft_cross_country.jpg
2023-10-13	13:25:28	3458	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:25:28	3458	[DEBUG]	Process image file
2023-10-13	13:25:28	3458	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:25:28	3458	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:28	3458	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32457_lunettes_craft_cross_country.jpg
2023-10-13	13:25:28	3458	[DEBUG]	Full name target: bcprisme/32457_lunettes_craft_cross_country.jpg
2023-10-13	13:25:29	3458	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:29	3458	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32457_lunettes_craft_cross_country.jpg'
2023-10-13	13:25:29	3458	[DEBUG]	Query for Media
2023-10-13	13:25:29	3458	[DEBUG]	Executed store
2023-10-13	13:25:29	3458	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32457_lunettes_craft_cross_country.jpg',`file_url_thumb`='bcprisme/32457_lunettes_craft_cross_country.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412827'
2023-10-13	13:25:29	3458	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:29	3458	[DEBUG]	Executed store
2023-10-13	13:25:29	3458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862950','1412827','1')
2023-10-13	13:25:29	3458	[DEBUG]	Store product image relation
2023-10-13	13:25:29	3458	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:29	3458	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862950 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:29	3458	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:29	3458	[DEBUG]	Executed store
2023-10-13	13:25:29	3458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862950','0','166.202414113278','-1','119.777158774373','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:29	3458	[DEBUG]	Checking manufacturer
2023-10-13	13:25:29	3458	[DEBUG]	Load a row
2023-10-13	13:25:29	3458	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:29	3458	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '199'
2023-10-13	13:25:29	3458	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:29	3458	[DEBUG]	Executed store
2023-10-13	13:25:29	3458	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52946321535' WHERE `virtuemart_manufacturer_id` = '199'
2023-10-13	13:25:29	3458	[DEBUG]	Manufacturer exists
2023-10-13	13:25:29	3458	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 199
2023-10-13	13:25:29	3458	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:29	3458	[DEBUG]	Executed store
2023-10-13	13:25:29	3458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862950','199')
2023-10-13	13:25:29	3458	[DEBUG]	Find the custom field ID
2023-10-13	13:25:29	3458	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:29	3458	[DEBUG]	No custom field ID found
2023-10-13	13:25:29	3458	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:29	3458	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:25:29	3458	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862950 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:29	3458	[DEBUG]	Store custom available field
2023-10-13	13:25:29	3458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862950,3,'99.6225',1)
2023-10-13	13:25:29	3458	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:29	3458	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:29	3458	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862950 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:29	3458	[DEBUG]	Store custom available field
2023-10-13	13:25:29	3458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862950,6,'choisir la taille',3)
2023-10-13	13:25:29	3458	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:29	3458	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:29	3458	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:29	3458	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:29	3458	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862950 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:29	3458	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:29	3458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862950,8,1)
2023-10-13	13:25:29	3458	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:29	3458	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862950\":[1862950,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862950
2023-10-13	13:25:29	3458	[DEBUG]	Checking category
2023-10-13	13:25:29	3458	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:29	3458	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862950
2023-10-13	13:25:29	3458	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:29	3458	[DEBUG]	Executed store
2023-10-13	13:25:29	3458	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862950','7378')
2023-10-13	13:25:29	3458	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:29	3458	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862950 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:29	3458	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:29	3458	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862950
2023-10-13	13:25:29	3459	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:29	3459	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:29	3459	[DEBUG]	Use field value for field taille
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:29	3459	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:29	3459	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:29	3459	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:29	3459	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:29	3459	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:29	3459	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:29	3459	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:29	3459	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:29	3459	[DEBUG]	Use field value for field published
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:29	3459	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field override
2023-10-13	13:25:29	3459	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:29	3459	[DEBUG]	Use field value for field slug
2023-10-13	13:25:29	3459	[DEBUG]	Process line 3459
2023-10-13	13:25:29	3459	[DEBUG]	Load a row
2023-10-13	13:25:29	3459	[DEBUG]	Processing item: 7318480035256
2023-10-13	13:25:29	3459	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:29	3459	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:29	3459	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6577_328'
2023-10-13	13:25:29	3459	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:29	3459	[DEBUG]	Processing product tax
2023-10-13	13:25:29	3459	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:29	3459	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:29	3459	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:29	3459	[DEBUG]	Query for Product
2023-10-13	13:25:29	3459	[DEBUG]	Executed store
2023-10-13	13:25:29	3459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862950','7318480035256','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:29	3459	[DEBUG]	No parent found
2023-10-13	13:25:29	3459	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862950 AND customfield_value = 'stockable'
2023-10-13	13:25:29	3459	[DEBUG]	Check product language entry
2023-10-13	13:25:29	3459	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862951
2023-10-13	13:25:29	3459	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:29	3459	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7318480035256' AND `virtuemart_product_id` != 1862951
2023-10-13	13:25:29	3459	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:29	3459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862951, '7318480035256')
2023-10-13	13:25:29	3459	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:29	3459	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'craft-lunettes-craft-cross-country-red-black-unitaire' AND `virtuemart_product_id` != 1862951
2023-10-13	13:25:29	3459	[DEBUG]	Query for ProductLang
2023-10-13	13:25:29	3459	[DEBUG]	Executed store
2023-10-13	13:25:29	3459	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CRAFT Lunettes CRAFT Cross Country / Red/Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='craft-lunettes-craft-cross-country-red-black-unitaire' WHERE `virtuemart_product_id` = '1862951'
2023-10-13	13:25:29	3459	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32457_lunettes_craft_cross_country.jpg
2023-10-13	13:25:29	3459	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:25:29	3459	[DEBUG]	Process image file
2023-10-13	13:25:29	3459	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:25:29	3459	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:29	3459	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32457_lunettes_craft_cross_country.jpg
2023-10-13	13:25:29	3459	[DEBUG]	Full name target: bcprisme/32457_lunettes_craft_cross_country.jpg
2023-10-13	13:25:30	3459	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:30	3459	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32457_lunettes_craft_cross_country.jpg'
2023-10-13	13:25:30	3459	[DEBUG]	Query for Media
2023-10-13	13:25:30	3459	[DEBUG]	Executed store
2023-10-13	13:25:30	3459	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32457_lunettes_craft_cross_country.jpg',`file_url_thumb`='bcprisme/32457_lunettes_craft_cross_country.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412827'
2023-10-13	13:25:30	3459	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:30	3459	[DEBUG]	Executed store
2023-10-13	13:25:30	3459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862951','1412827','1')
2023-10-13	13:25:30	3459	[DEBUG]	Store product image relation
2023-10-13	13:25:30	3459	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:30	3459	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862951 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:30	3459	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:30	3459	[DEBUG]	Executed store
2023-10-13	13:25:30	3459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862951','0','166.202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:30	3459	[DEBUG]	Checking manufacturer
2023-10-13	13:25:30	3459	[DEBUG]	Load a row
2023-10-13	13:25:30	3459	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:30	3459	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '199'
2023-10-13	13:25:30	3459	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:30	3459	[DEBUG]	Executed store
2023-10-13	13:25:30	3459	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52946321535' WHERE `virtuemart_manufacturer_id` = '199'
2023-10-13	13:25:30	3459	[DEBUG]	Manufacturer exists
2023-10-13	13:25:30	3459	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 199
2023-10-13	13:25:30	3459	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:30	3459	[DEBUG]	Executed store
2023-10-13	13:25:30	3459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862951','199')
2023-10-13	13:25:30	3459	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:30	3459	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:30	3459	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862951 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:30	3459	[DEBUG]	Store custom available field
2023-10-13	13:25:30	3459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862951,3,'',1)
2023-10-13	13:25:30	3459	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:30	3459	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:30	3459	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862951 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:30	3459	[DEBUG]	Store custom available field
2023-10-13	13:25:30	3459	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862951,6,'Unitaire',3)
2023-10-13	13:25:30	3459	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:30	3459	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:30	3459	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862950
2023-10-13	13:25:30	3459	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:30	3459	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862950\":[1862950,8,1,\"choisir la taille\"],\"1862951\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862950
2023-10-13	13:25:30	3459	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:30	3459	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862951
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:30	3460	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field taille
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field product_override_price
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:30	3460	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:30	3460	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:30	3460	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:30	3460	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:30	3460	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field published
2023-10-13	13:25:30	3460	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:30	3460	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field override
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:30	3460	[DEBUG]	Use field value for field slug
2023-10-13	13:25:30	3460	[DEBUG]	Process line 3460
2023-10-13	13:25:30	3460	[DEBUG]	Load a row
2023-10-13	13:25:30	3460	[DEBUG]	Processing item: A_6578_330
2023-10-13	13:25:30	3460	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:30	3460	[DEBUG]	Processing product tax
2023-10-13	13:25:30	3460	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:30	3460	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:30	3460	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:30	3460	[DEBUG]	Query for Product
2023-10-13	13:25:30	3460	[DEBUG]	Executed store
2023-10-13	13:25:30	3460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6578_330','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:30	3460	[DEBUG]	Check product language entry
2023-10-13	13:25:30	3460	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862952
2023-10-13	13:25:30	3460	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:30	3460	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6578_330' AND `virtuemart_product_id` != 1862952
2023-10-13	13:25:30	3460	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:30	3460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862952, 'A_6578_330')
2023-10-13	13:25:31	3460	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:31	3460	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'craft-lunettes-craft-run-white-silver' AND `virtuemart_product_id` != 1862952
2023-10-13	13:25:31	3460	[DEBUG]	Query for ProductLang
2023-10-13	13:25:31	3460	[DEBUG]	Executed store
2023-10-13	13:25:31	3460	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Livré avec 3 verres couleurs en polycarbonate. Protection UV avec standard C.  Structure crymalite pour une flexibilité et résistance maximale.<br>N° art fourn : C102',`product_name`='CRAFT Lunettes CRAFT RUN / White/Silver',`metadesc`='',`metakey`='',`customtitle`='',`slug`='craft-lunettes-craft-run-white-silver' WHERE `virtuemart_product_id` = '1862952'
2023-10-13	13:25:31	3460	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32459_lunettes_craft_run.jpg
2023-10-13	13:25:31	3460	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:25:31	3460	[DEBUG]	Process image file
2023-10-13	13:25:31	3460	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:25:31	3460	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:31	3460	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32459_lunettes_craft_run.jpg
2023-10-13	13:25:31	3460	[DEBUG]	Full name target: bcprisme/32459_lunettes_craft_run.jpg
2023-10-13	13:25:32	3460	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:32	3460	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32459_lunettes_craft_run.jpg'
2023-10-13	13:25:32	3460	[DEBUG]	Query for Media
2023-10-13	13:25:32	3460	[DEBUG]	Executed store
2023-10-13	13:25:32	3460	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32459_lunettes_craft_run.jpg',`file_url_thumb`='bcprisme/32459_lunettes_craft_run.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412829'
2023-10-13	13:25:32	3460	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:32	3460	[DEBUG]	Executed store
2023-10-13	13:25:32	3460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862952','1412829','1')
2023-10-13	13:25:32	3460	[DEBUG]	Store product image relation
2023-10-13	13:25:32	3460	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:32	3460	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862952 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:32	3460	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:32	3460	[DEBUG]	Executed store
2023-10-13	13:25:32	3460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862952','0','147.632311977716','-1','110.492107706592','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:32	3460	[DEBUG]	Checking manufacturer
2023-10-13	13:25:32	3460	[DEBUG]	Load a row
2023-10-13	13:25:32	3460	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:32	3460	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '199'
2023-10-13	13:25:32	3460	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:32	3460	[DEBUG]	Executed store
2023-10-13	13:25:32	3460	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52946321535' WHERE `virtuemart_manufacturer_id` = '199'
2023-10-13	13:25:32	3460	[DEBUG]	Manufacturer exists
2023-10-13	13:25:32	3460	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 199
2023-10-13	13:25:32	3460	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:32	3460	[DEBUG]	Executed store
2023-10-13	13:25:32	3460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862952','199')
2023-10-13	13:25:32	3460	[DEBUG]	Find the custom field ID
2023-10-13	13:25:32	3460	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:32	3460	[DEBUG]	No custom field ID found
2023-10-13	13:25:32	3460	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:32	3460	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:25:32	3460	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862952 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:32	3460	[DEBUG]	Store custom available field
2023-10-13	13:25:32	3460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862952,3,'99.6225',1)
2023-10-13	13:25:32	3460	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:32	3460	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:32	3460	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862952 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:32	3460	[DEBUG]	Store custom available field
2023-10-13	13:25:32	3460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862952,6,'choisir la taille',3)
2023-10-13	13:25:32	3460	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:32	3460	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:32	3460	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:32	3460	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:32	3460	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862952 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:32	3460	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:32	3460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862952,8,1)
2023-10-13	13:25:32	3460	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:32	3460	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862952\":[1862952,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862952
2023-10-13	13:25:32	3460	[DEBUG]	Checking category
2023-10-13	13:25:32	3460	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:32	3460	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862952
2023-10-13	13:25:32	3460	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:32	3460	[DEBUG]	Executed store
2023-10-13	13:25:32	3460	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862952','7378')
2023-10-13	13:25:32	3460	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:32	3460	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862952 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:32	3460	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:32	3460	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862952
2023-10-13	13:25:32	3461	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:32	3461	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:32	3461	[DEBUG]	Use field value for field taille
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:32	3461	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:32	3461	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:32	3461	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:32	3461	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:32	3461	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:32	3461	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:32	3461	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:32	3461	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:32	3461	[DEBUG]	Use field value for field published
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:32	3461	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field override
2023-10-13	13:25:32	3461	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:32	3461	[DEBUG]	Use field value for field slug
2023-10-13	13:25:32	3461	[DEBUG]	Process line 3461
2023-10-13	13:25:32	3461	[DEBUG]	Load a row
2023-10-13	13:25:32	3461	[DEBUG]	Processing item: 7318480035287
2023-10-13	13:25:32	3461	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:32	3461	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:32	3461	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6578_330'
2023-10-13	13:25:32	3461	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:32	3461	[DEBUG]	Processing product tax
2023-10-13	13:25:32	3461	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:32	3461	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:32	3461	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:32	3461	[DEBUG]	Query for Product
2023-10-13	13:25:32	3461	[DEBUG]	Executed store
2023-10-13	13:25:32	3461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862952','7318480035287','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:32	3461	[DEBUG]	No parent found
2023-10-13	13:25:32	3461	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862952 AND customfield_value = 'stockable'
2023-10-13	13:25:32	3461	[DEBUG]	Check product language entry
2023-10-13	13:25:32	3461	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862953
2023-10-13	13:25:32	3461	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:32	3461	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7318480035287' AND `virtuemart_product_id` != 1862953
2023-10-13	13:25:32	3461	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:32	3461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862953, '7318480035287')
2023-10-13	13:25:32	3461	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:32	3461	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'craft-lunettes-craft-run-white-silver-unitaire' AND `virtuemart_product_id` != 1862953
2023-10-13	13:25:32	3461	[DEBUG]	Query for ProductLang
2023-10-13	13:25:32	3461	[DEBUG]	Executed store
2023-10-13	13:25:32	3461	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CRAFT Lunettes CRAFT RUN / White/Silver (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='craft-lunettes-craft-run-white-silver-unitaire' WHERE `virtuemart_product_id` = '1862953'
2023-10-13	13:25:32	3461	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32459_lunettes_craft_run.jpg
2023-10-13	13:25:32	3461	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:25:32	3461	[DEBUG]	Process image file
2023-10-13	13:25:32	3461	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:25:32	3461	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:32	3461	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32459_lunettes_craft_run.jpg
2023-10-13	13:25:32	3461	[DEBUG]	Full name target: bcprisme/32459_lunettes_craft_run.jpg
2023-10-13	13:25:33	3461	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:33	3461	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32459_lunettes_craft_run.jpg'
2023-10-13	13:25:33	3461	[DEBUG]	Query for Media
2023-10-13	13:25:33	3461	[DEBUG]	Executed store
2023-10-13	13:25:33	3461	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32459_lunettes_craft_run.jpg',`file_url_thumb`='bcprisme/32459_lunettes_craft_run.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412829'
2023-10-13	13:25:33	3461	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:33	3461	[DEBUG]	Executed store
2023-10-13	13:25:33	3461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862953','1412829','1')
2023-10-13	13:25:33	3461	[DEBUG]	Store product image relation
2023-10-13	13:25:33	3461	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:33	3461	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862953 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:33	3461	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:33	3461	[DEBUG]	Executed store
2023-10-13	13:25:33	3461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862953','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:33	3461	[DEBUG]	Checking manufacturer
2023-10-13	13:25:33	3461	[DEBUG]	Load a row
2023-10-13	13:25:33	3461	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:33	3461	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '199'
2023-10-13	13:25:33	3461	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:33	3461	[DEBUG]	Executed store
2023-10-13	13:25:33	3461	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52946321535' WHERE `virtuemart_manufacturer_id` = '199'
2023-10-13	13:25:33	3461	[DEBUG]	Manufacturer exists
2023-10-13	13:25:33	3461	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 199
2023-10-13	13:25:33	3461	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:33	3461	[DEBUG]	Executed store
2023-10-13	13:25:33	3461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862953','199')
2023-10-13	13:25:33	3461	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:33	3461	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:33	3461	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862953 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:33	3461	[DEBUG]	Store custom available field
2023-10-13	13:25:33	3461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862953,3,'',1)
2023-10-13	13:25:33	3461	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:33	3461	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:33	3461	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862953 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:33	3461	[DEBUG]	Store custom available field
2023-10-13	13:25:33	3461	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862953,6,'Unitaire',3)
2023-10-13	13:25:33	3461	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:33	3461	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:33	3461	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862952
2023-10-13	13:25:33	3461	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:33	3461	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862952\":[1862952,8,1,\"choisir la taille\"],\"1862953\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862952
2023-10-13	13:25:33	3461	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:33	3461	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862953
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:33	3462	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field taille
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field product_override_price
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:33	3462	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:33	3462	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:33	3462	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:33	3462	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:33	3462	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field published
2023-10-13	13:25:33	3462	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:33	3462	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field override
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:33	3462	[DEBUG]	Use field value for field slug
2023-10-13	13:25:33	3462	[DEBUG]	Process line 3462
2023-10-13	13:25:33	3462	[DEBUG]	Load a row
2023-10-13	13:25:33	3462	[DEBUG]	Processing item: A_6580_332
2023-10-13	13:25:33	3462	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:33	3462	[DEBUG]	Processing product tax
2023-10-13	13:25:33	3462	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:33	3462	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:33	3462	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:33	3462	[DEBUG]	Query for Product
2023-10-13	13:25:33	3462	[DEBUG]	Executed store
2023-10-13	13:25:33	3462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6580_332','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:33	3462	[DEBUG]	Check product language entry
2023-10-13	13:25:33	3462	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862954
2023-10-13	13:25:33	3462	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:33	3462	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6580_332' AND `virtuemart_product_id` != 1862954
2023-10-13	13:25:33	3462	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:33	3462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862954, 'A_6580_332')
2023-10-13	13:25:33	3462	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:33	3462	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'craft-lunettes-craft-run-light-pink-white' AND `virtuemart_product_id` != 1862954
2023-10-13	13:25:33	3462	[DEBUG]	Query for ProductLang
2023-10-13	13:25:33	3462	[DEBUG]	Executed store
2023-10-13	13:25:33	3462	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Livré avec 3 verres couleurs en polycarbonate. Protection UV avec standard C.  Structure crymalite pour une flexibilité et résistance maximale.<br>N° art fourn : C104',`product_name`='CRAFT Lunettes CRAFT RUN LIGHT / Pink/White',`metadesc`='',`metakey`='',`customtitle`='',`slug`='craft-lunettes-craft-run-light-pink-white' WHERE `virtuemart_product_id` = '1862954'
2023-10-13	13:25:33	3462	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32466_lunettes_craft_run_light.jpg
2023-10-13	13:25:33	3462	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:25:33	3462	[DEBUG]	Process image file
2023-10-13	13:25:33	3462	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:25:33	3462	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:33	3462	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32466_lunettes_craft_run_light.jpg
2023-10-13	13:25:33	3462	[DEBUG]	Full name target: bcprisme/32466_lunettes_craft_run_light.jpg
2023-10-13	13:25:34	3462	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:34	3462	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32466_lunettes_craft_run_light.jpg'
2023-10-13	13:25:34	3462	[DEBUG]	Query for Media
2023-10-13	13:25:34	3462	[DEBUG]	Executed store
2023-10-13	13:25:34	3462	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32466_lunettes_craft_run_light.jpg',`file_url_thumb`='bcprisme/32466_lunettes_craft_run_light.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412831'
2023-10-13	13:25:34	3462	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:34	3462	[DEBUG]	Executed store
2023-10-13	13:25:34	3462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862954','1412831','1')
2023-10-13	13:25:34	3462	[DEBUG]	Store product image relation
2023-10-13	13:25:34	3462	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:34	3462	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862954 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:34	3462	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:34	3462	[DEBUG]	Executed store
2023-10-13	13:25:34	3462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862954','0','147.632311977716','-1','110.492107706592','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:34	3462	[DEBUG]	Checking manufacturer
2023-10-13	13:25:34	3462	[DEBUG]	Load a row
2023-10-13	13:25:34	3462	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:34	3462	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '199'
2023-10-13	13:25:34	3462	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:34	3462	[DEBUG]	Executed store
2023-10-13	13:25:34	3462	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52946321535' WHERE `virtuemart_manufacturer_id` = '199'
2023-10-13	13:25:34	3462	[DEBUG]	Manufacturer exists
2023-10-13	13:25:34	3462	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 199
2023-10-13	13:25:34	3462	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:34	3462	[DEBUG]	Executed store
2023-10-13	13:25:34	3462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862954','199')
2023-10-13	13:25:34	3462	[DEBUG]	Find the custom field ID
2023-10-13	13:25:34	3462	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:34	3462	[DEBUG]	No custom field ID found
2023-10-13	13:25:34	3462	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:34	3462	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:25:34	3462	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862954 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:34	3462	[DEBUG]	Store custom available field
2023-10-13	13:25:34	3462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862954,3,'99.6225',1)
2023-10-13	13:25:34	3462	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:34	3462	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:34	3462	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862954 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:34	3462	[DEBUG]	Store custom available field
2023-10-13	13:25:34	3462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862954,6,'choisir la taille',3)
2023-10-13	13:25:34	3462	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:34	3462	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:34	3462	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:34	3462	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:34	3462	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862954 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:34	3462	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:34	3462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862954,8,1)
2023-10-13	13:25:34	3462	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:34	3462	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862954\":[1862954,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862954
2023-10-13	13:25:34	3462	[DEBUG]	Checking category
2023-10-13	13:25:34	3462	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:34	3462	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862954
2023-10-13	13:25:34	3462	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:34	3462	[DEBUG]	Executed store
2023-10-13	13:25:34	3462	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862954','7378')
2023-10-13	13:25:34	3462	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:34	3462	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862954 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:34	3462	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:34	3462	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862954
2023-10-13	13:25:34	3463	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:34	3463	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:34	3463	[DEBUG]	Use field value for field taille
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:34	3463	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:34	3463	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:34	3463	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:34	3463	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:34	3463	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:34	3463	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:34	3463	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:34	3463	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:34	3463	[DEBUG]	Use field value for field published
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:34	3463	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field override
2023-10-13	13:25:34	3463	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:34	3463	[DEBUG]	Use field value for field slug
2023-10-13	13:25:34	3463	[DEBUG]	Process line 3463
2023-10-13	13:25:34	3463	[DEBUG]	Load a row
2023-10-13	13:25:34	3463	[DEBUG]	Processing item: 7318480047235
2023-10-13	13:25:34	3463	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:34	3463	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:34	3463	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6580_332'
2023-10-13	13:25:34	3463	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:34	3463	[DEBUG]	Processing product tax
2023-10-13	13:25:34	3463	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:34	3463	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:34	3463	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:34	3463	[DEBUG]	Query for Product
2023-10-13	13:25:34	3463	[DEBUG]	Executed store
2023-10-13	13:25:34	3463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862954','7318480047235','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:34	3463	[DEBUG]	No parent found
2023-10-13	13:25:34	3463	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862954 AND customfield_value = 'stockable'
2023-10-13	13:25:34	3463	[DEBUG]	Check product language entry
2023-10-13	13:25:34	3463	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862955
2023-10-13	13:25:34	3463	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:34	3463	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7318480047235' AND `virtuemart_product_id` != 1862955
2023-10-13	13:25:34	3463	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:34	3463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862955, '7318480047235')
2023-10-13	13:25:34	3463	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:34	3463	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'craft-lunettes-craft-run-light-pink-white-unitaire' AND `virtuemart_product_id` != 1862955
2023-10-13	13:25:34	3463	[DEBUG]	Query for ProductLang
2023-10-13	13:25:34	3463	[DEBUG]	Executed store
2023-10-13	13:25:34	3463	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CRAFT Lunettes CRAFT RUN LIGHT / Pink/White (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='craft-lunettes-craft-run-light-pink-white-unitaire' WHERE `virtuemart_product_id` = '1862955'
2023-10-13	13:25:34	3463	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32466_lunettes_craft_run_light.jpg
2023-10-13	13:25:34	3463	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:25:34	3463	[DEBUG]	Process image file
2023-10-13	13:25:34	3463	[DEBUG]	Identity string: ffd8ffe000104a46494600010100004800480000
2023-10-13	13:25:34	3463	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:34	3463	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32466_lunettes_craft_run_light.jpg
2023-10-13	13:25:34	3463	[DEBUG]	Full name target: bcprisme/32466_lunettes_craft_run_light.jpg
2023-10-13	13:25:35	3463	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:35	3463	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32466_lunettes_craft_run_light.jpg'
2023-10-13	13:25:35	3463	[DEBUG]	Query for Media
2023-10-13	13:25:35	3463	[DEBUG]	Executed store
2023-10-13	13:25:35	3463	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32466_lunettes_craft_run_light.jpg',`file_url_thumb`='bcprisme/32466_lunettes_craft_run_light.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412831'
2023-10-13	13:25:35	3463	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:35	3463	[DEBUG]	Executed store
2023-10-13	13:25:35	3463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862955','1412831','1')
2023-10-13	13:25:35	3463	[DEBUG]	Store product image relation
2023-10-13	13:25:35	3463	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:35	3463	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862955 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:35	3463	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:35	3463	[DEBUG]	Executed store
2023-10-13	13:25:35	3463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862955','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:35	3463	[DEBUG]	Checking manufacturer
2023-10-13	13:25:35	3463	[DEBUG]	Load a row
2023-10-13	13:25:35	3463	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:35	3463	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '199'
2023-10-13	13:25:35	3463	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:35	3463	[DEBUG]	Executed store
2023-10-13	13:25:35	3463	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52946321535' WHERE `virtuemart_manufacturer_id` = '199'
2023-10-13	13:25:35	3463	[DEBUG]	Manufacturer exists
2023-10-13	13:25:35	3463	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 199
2023-10-13	13:25:35	3463	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:35	3463	[DEBUG]	Executed store
2023-10-13	13:25:35	3463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862955','199')
2023-10-13	13:25:35	3463	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:35	3463	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:35	3463	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862955 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:35	3463	[DEBUG]	Store custom available field
2023-10-13	13:25:35	3463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862955,3,'',1)
2023-10-13	13:25:35	3463	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:35	3463	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:35	3463	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862955 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:35	3463	[DEBUG]	Store custom available field
2023-10-13	13:25:35	3463	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862955,6,'Unitaire',3)
2023-10-13	13:25:35	3463	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:35	3463	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:35	3463	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862954
2023-10-13	13:25:35	3463	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:35	3463	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862954\":[1862954,8,1,\"choisir la taille\"],\"1862955\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862954
2023-10-13	13:25:35	3463	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:35	3463	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862955
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:35	3464	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field taille
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:35	3464	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:35	3464	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:35	3464	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:35	3464	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:35	3464	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:35	3464	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field published
2023-10-13	13:25:35	3464	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:35	3464	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field override
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:35	3464	[DEBUG]	Use field value for field slug
2023-10-13	13:25:35	3464	[DEBUG]	Process line 3464
2023-10-13	13:25:35	3464	[DEBUG]	Load a row
2023-10-13	13:25:35	3464	[DEBUG]	Processing item: A_7315_440
2023-10-13	13:25:35	3464	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:35	3464	[DEBUG]	Processing product tax
2023-10-13	13:25:35	3464	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:35	3464	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:35	3464	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:35	3464	[DEBUG]	Query for Product
2023-10-13	13:25:35	3464	[DEBUG]	Executed store
2023-10-13	13:25:35	3464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7315_440','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:35	3464	[DEBUG]	Check product language entry
2023-10-13	13:25:35	3464	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862956
2023-10-13	13:25:35	3464	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:35	3464	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7315_440' AND `virtuemart_product_id` != 1862956
2023-10-13	13:25:35	3464	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:35	3464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862956, 'A_7315_440')
2023-10-13	13:25:35	3464	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:35	3464	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-tracker-ozon-black-turquoise' AND `virtuemart_product_id` != 1862956
2023-10-13	13:25:35	3464	[DEBUG]	Query for ProductLang
2023-10-13	13:25:35	3464	[DEBUG]	Executed store
2023-10-13	13:25:35	3464	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Protection UV avec standard CE.<br>N° art fourn : 9024-32',`product_name`='BLIZ Lunettes BLIZ Tracker Ozon / Black/Turquoise',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-tracker-ozon-black-turquoise' WHERE `virtuemart_product_id` = '1862956'
2023-10-13	13:25:35	3464	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34535_lunettes_bliz_tracker_ozon.jpg
2023-10-13	13:25:35	3464	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:35	3464	[DEBUG]	Process image file
2023-10-13	13:25:35	3464	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:35	3464	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:35	3464	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34535_lunettes_bliz_tracker_ozon.jpg
2023-10-13	13:25:35	3464	[DEBUG]	Full name target: bcprisme/34535_lunettes_bliz_tracker_ozon.jpg
2023-10-13	13:25:36	3464	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:36	3464	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34535_lunettes_bliz_tracker_ozon.jpg'
2023-10-13	13:25:36	3464	[DEBUG]	Query for Media
2023-10-13	13:25:36	3464	[DEBUG]	Executed store
2023-10-13	13:25:36	3464	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34535_lunettes_bliz_tracker_ozon.jpg',`file_url_thumb`='bcprisme/34535_lunettes_bliz_tracker_ozon.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '159275'
2023-10-13	13:25:36	3464	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:36	3464	[DEBUG]	Executed store
2023-10-13	13:25:36	3464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862956','159275','1')
2023-10-13	13:25:36	3464	[DEBUG]	Store product image relation
2023-10-13	13:25:36	3464	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:36	3464	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862956 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:36	3464	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:36	3464	[DEBUG]	Executed store
2023-10-13	13:25:36	3464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862956','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:36	3464	[DEBUG]	Checking manufacturer
2023-10-13	13:25:36	3464	[DEBUG]	Load a row
2023-10-13	13:25:36	3464	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:36	3464	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:36	3464	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:36	3464	[DEBUG]	Executed store
2023-10-13	13:25:36	3464	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:36	3464	[DEBUG]	Manufacturer exists
2023-10-13	13:25:36	3464	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:36	3464	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:36	3464	[DEBUG]	Executed store
2023-10-13	13:25:36	3464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862956','175')
2023-10-13	13:25:36	3464	[DEBUG]	Find the custom field ID
2023-10-13	13:25:36	3464	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:36	3464	[DEBUG]	No custom field ID found
2023-10-13	13:25:36	3464	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:36	3464	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:36	3464	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862956 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:36	3464	[DEBUG]	Store custom available field
2023-10-13	13:25:36	3464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862956,3,'69.7058333333334',1)
2023-10-13	13:25:36	3464	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:36	3464	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:36	3464	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862956 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:36	3464	[DEBUG]	Store custom available field
2023-10-13	13:25:36	3464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862956,6,'choisir la taille',3)
2023-10-13	13:25:36	3464	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:36	3464	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:36	3464	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:36	3464	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:36	3464	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862956 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:36	3464	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:36	3464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862956,8,1)
2023-10-13	13:25:36	3464	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:36	3464	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862956\":[1862956,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862956
2023-10-13	13:25:36	3464	[DEBUG]	Checking category
2023-10-13	13:25:36	3464	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:36	3464	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862956
2023-10-13	13:25:36	3464	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:36	3464	[DEBUG]	Executed store
2023-10-13	13:25:36	3464	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862956','7378')
2023-10-13	13:25:36	3464	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:36	3464	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862956 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:36	3464	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:36	3464	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862956
2023-10-13	13:25:36	3465	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:36	3465	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:36	3465	[DEBUG]	Use field value for field taille
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:36	3465	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:36	3465	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:36	3465	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:36	3465	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:36	3465	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:36	3465	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:36	3465	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:36	3465	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:36	3465	[DEBUG]	Use field value for field published
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:36	3465	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field override
2023-10-13	13:25:36	3465	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:36	3465	[DEBUG]	Use field value for field slug
2023-10-13	13:25:36	3465	[DEBUG]	Process line 3465
2023-10-13	13:25:36	3465	[DEBUG]	Load a row
2023-10-13	13:25:36	3465	[DEBUG]	Processing item: 7318480075542
2023-10-13	13:25:36	3465	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:36	3465	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:36	3465	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7315_440'
2023-10-13	13:25:36	3465	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:36	3465	[DEBUG]	Processing product tax
2023-10-13	13:25:36	3465	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:36	3465	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:36	3465	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:36	3465	[DEBUG]	Query for Product
2023-10-13	13:25:36	3465	[DEBUG]	Executed store
2023-10-13	13:25:36	3465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862956','7318480075542','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:36	3465	[DEBUG]	No parent found
2023-10-13	13:25:36	3465	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862956 AND customfield_value = 'stockable'
2023-10-13	13:25:36	3465	[DEBUG]	Check product language entry
2023-10-13	13:25:36	3465	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862957
2023-10-13	13:25:36	3465	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:36	3465	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7318480075542' AND `virtuemart_product_id` != 1862957
2023-10-13	13:25:36	3465	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:36	3465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862957, '7318480075542')
2023-10-13	13:25:36	3465	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:36	3465	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-tracker-ozon-black-turquoise-unitaire' AND `virtuemart_product_id` != 1862957
2023-10-13	13:25:36	3465	[DEBUG]	Query for ProductLang
2023-10-13	13:25:36	3465	[DEBUG]	Executed store
2023-10-13	13:25:36	3465	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BLIZ Lunettes BLIZ Tracker Ozon / Black/Turquoise (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-tracker-ozon-black-turquoise-unitaire' WHERE `virtuemart_product_id` = '1862957'
2023-10-13	13:25:36	3465	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34535_lunettes_bliz_tracker_ozon.jpg
2023-10-13	13:25:36	3465	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:36	3465	[DEBUG]	Process image file
2023-10-13	13:25:36	3465	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:25:36	3465	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:36	3465	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34535_lunettes_bliz_tracker_ozon.jpg
2023-10-13	13:25:36	3465	[DEBUG]	Full name target: bcprisme/34535_lunettes_bliz_tracker_ozon.jpg
2023-10-13	13:25:37	3465	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:37	3465	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34535_lunettes_bliz_tracker_ozon.jpg'
2023-10-13	13:25:37	3465	[DEBUG]	Query for Media
2023-10-13	13:25:37	3465	[DEBUG]	Executed store
2023-10-13	13:25:37	3465	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34535_lunettes_bliz_tracker_ozon.jpg',`file_url_thumb`='bcprisme/34535_lunettes_bliz_tracker_ozon.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '159275'
2023-10-13	13:25:37	3465	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:37	3465	[DEBUG]	Executed store
2023-10-13	13:25:37	3465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862957','159275','1')
2023-10-13	13:25:37	3465	[DEBUG]	Store product image relation
2023-10-13	13:25:37	3465	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:37	3465	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862957 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:37	3465	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:37	3465	[DEBUG]	Executed store
2023-10-13	13:25:37	3465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862957','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:37	3465	[DEBUG]	Checking manufacturer
2023-10-13	13:25:37	3465	[DEBUG]	Load a row
2023-10-13	13:25:37	3465	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:37	3465	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:37	3465	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:37	3465	[DEBUG]	Executed store
2023-10-13	13:25:37	3465	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:37	3465	[DEBUG]	Manufacturer exists
2023-10-13	13:25:37	3465	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:37	3465	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:37	3465	[DEBUG]	Executed store
2023-10-13	13:25:37	3465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862957','175')
2023-10-13	13:25:37	3465	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:37	3465	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:37	3465	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862957 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:37	3465	[DEBUG]	Store custom available field
2023-10-13	13:25:37	3465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862957,3,'',1)
2023-10-13	13:25:37	3465	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:37	3465	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:37	3465	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862957 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:37	3465	[DEBUG]	Store custom available field
2023-10-13	13:25:37	3465	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862957,6,'Unitaire',3)
2023-10-13	13:25:37	3465	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:37	3465	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:37	3465	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862956
2023-10-13	13:25:37	3465	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:37	3465	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862956\":[1862956,8,1,\"choisir la taille\"],\"1862957\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862956
2023-10-13	13:25:37	3465	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:37	3465	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862957
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:37	3466	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field taille
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:37	3466	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:37	3466	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:37	3466	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:37	3466	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:37	3466	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:37	3466	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field published
2023-10-13	13:25:37	3466	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:37	3466	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field override
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:37	3466	[DEBUG]	Use field value for field slug
2023-10-13	13:25:37	3466	[DEBUG]	Process line 3466
2023-10-13	13:25:37	3466	[DEBUG]	Load a row
2023-10-13	13:25:37	3466	[DEBUG]	Processing item: A_7316_1
2023-10-13	13:25:37	3466	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:37	3466	[DEBUG]	Processing product tax
2023-10-13	13:25:37	3466	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:37	3466	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:37	3466	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:37	3466	[DEBUG]	Query for Product
2023-10-13	13:25:37	3466	[DEBUG]	Executed store
2023-10-13	13:25:37	3466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7316_1','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:37	3466	[DEBUG]	Check product language entry
2023-10-13	13:25:37	3466	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862958
2023-10-13	13:25:37	3466	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:37	3466	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7316_1' AND `virtuemart_product_id` != 1862958
2023-10-13	13:25:37	3466	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:37	3466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862958, 'A_7316_1')
2023-10-13	13:25:37	3466	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:37	3466	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-tracker-noir' AND `virtuemart_product_id` != 1862958
2023-10-13	13:25:37	3466	[DEBUG]	Query for ProductLang
2023-10-13	13:25:37	3466	[DEBUG]	Executed store
2023-10-13	13:25:37	3466	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Protection UV avec standard CE.<br>N° art fourn : 9020-19',`product_name`='BLIZ Lunettes BLIZ Tracker  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-tracker-noir' WHERE `virtuemart_product_id` = '1862958'
2023-10-13	13:25:37	3466	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34536_lunettes_bliz_tracker_.jpg
2023-10-13	13:25:37	3466	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:37	3466	[DEBUG]	Process image file
2023-10-13	13:25:37	3466	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:37	3466	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:37	3466	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34536_lunettes_bliz_tracker_.jpg
2023-10-13	13:25:37	3466	[DEBUG]	Full name target: bcprisme/34536_lunettes_bliz_tracker_.jpg
2023-10-13	13:25:38	3466	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:38	3466	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34536_lunettes_bliz_tracker_.jpg'
2023-10-13	13:25:38	3466	[DEBUG]	Query for Media
2023-10-13	13:25:38	3466	[DEBUG]	Executed store
2023-10-13	13:25:38	3466	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34536_lunettes_bliz_tracker_.jpg',`file_url_thumb`='bcprisme/34536_lunettes_bliz_tracker_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '159277'
2023-10-13	13:25:38	3466	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:38	3466	[DEBUG]	Executed store
2023-10-13	13:25:38	3466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862958','159277','1')
2023-10-13	13:25:38	3466	[DEBUG]	Store product image relation
2023-10-13	13:25:38	3466	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:38	3466	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862958 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:38	3466	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:38	3466	[DEBUG]	Executed store
2023-10-13	13:25:38	3466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862958','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:38	3466	[DEBUG]	Checking manufacturer
2023-10-13	13:25:38	3466	[DEBUG]	Load a row
2023-10-13	13:25:38	3466	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:38	3466	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:38	3466	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:38	3466	[DEBUG]	Executed store
2023-10-13	13:25:38	3466	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:38	3466	[DEBUG]	Manufacturer exists
2023-10-13	13:25:38	3466	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:38	3466	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:38	3466	[DEBUG]	Executed store
2023-10-13	13:25:38	3466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862958','175')
2023-10-13	13:25:38	3466	[DEBUG]	Find the custom field ID
2023-10-13	13:25:38	3466	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:38	3466	[DEBUG]	No custom field ID found
2023-10-13	13:25:38	3466	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:38	3466	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:38	3466	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862958 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:38	3466	[DEBUG]	Store custom available field
2023-10-13	13:25:38	3466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862958,3,'69.7058333333334',1)
2023-10-13	13:25:38	3466	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:38	3466	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:38	3466	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862958 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:38	3466	[DEBUG]	Store custom available field
2023-10-13	13:25:38	3466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862958,6,'choisir la taille',3)
2023-10-13	13:25:38	3466	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:38	3466	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:38	3466	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:38	3466	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:38	3466	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862958 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:38	3466	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:38	3466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862958,8,1)
2023-10-13	13:25:38	3466	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:38	3466	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862958\":[1862958,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862958
2023-10-13	13:25:38	3466	[DEBUG]	Checking category
2023-10-13	13:25:38	3466	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:38	3466	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862958
2023-10-13	13:25:38	3466	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:38	3466	[DEBUG]	Executed store
2023-10-13	13:25:38	3466	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862958','7378')
2023-10-13	13:25:38	3466	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:38	3466	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862958 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:38	3466	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:38	3466	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862958
2023-10-13	13:25:38	3467	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:38	3467	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:38	3467	[DEBUG]	Use field value for field taille
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:38	3467	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:38	3467	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:38	3467	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:38	3467	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:38	3467	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:38	3467	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:38	3467	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:38	3467	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:38	3467	[DEBUG]	Use field value for field published
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:38	3467	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field override
2023-10-13	13:25:38	3467	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:38	3467	[DEBUG]	Use field value for field slug
2023-10-13	13:25:38	3467	[DEBUG]	Process line 3467
2023-10-13	13:25:38	3467	[DEBUG]	Load a row
2023-10-13	13:25:38	3467	[DEBUG]	Processing item: 7318480041851
2023-10-13	13:25:38	3467	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:38	3467	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:38	3467	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7316_1'
2023-10-13	13:25:38	3467	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:38	3467	[DEBUG]	Processing product tax
2023-10-13	13:25:38	3467	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:38	3467	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:38	3467	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:38	3467	[DEBUG]	Query for Product
2023-10-13	13:25:38	3467	[DEBUG]	Executed store
2023-10-13	13:25:38	3467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862958','7318480041851','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:38	3467	[DEBUG]	No parent found
2023-10-13	13:25:38	3467	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862958 AND customfield_value = 'stockable'
2023-10-13	13:25:38	3467	[DEBUG]	Check product language entry
2023-10-13	13:25:38	3467	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862959
2023-10-13	13:25:38	3467	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:38	3467	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7318480041851' AND `virtuemart_product_id` != 1862959
2023-10-13	13:25:38	3467	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:38	3467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862959, '7318480041851')
2023-10-13	13:25:38	3467	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:38	3467	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-tracker-noir-unitaire' AND `virtuemart_product_id` != 1862959
2023-10-13	13:25:38	3467	[DEBUG]	Query for ProductLang
2023-10-13	13:25:38	3467	[DEBUG]	Executed store
2023-10-13	13:25:38	3467	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BLIZ Lunettes BLIZ Tracker  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-tracker-noir-unitaire' WHERE `virtuemart_product_id` = '1862959'
2023-10-13	13:25:38	3467	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34536_lunettes_bliz_tracker_.jpg
2023-10-13	13:25:38	3467	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:38	3467	[DEBUG]	Process image file
2023-10-13	13:25:38	3467	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:38	3467	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:38	3467	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34536_lunettes_bliz_tracker_.jpg
2023-10-13	13:25:38	3467	[DEBUG]	Full name target: bcprisme/34536_lunettes_bliz_tracker_.jpg
2023-10-13	13:25:39	3467	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:39	3467	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34536_lunettes_bliz_tracker_.jpg'
2023-10-13	13:25:39	3467	[DEBUG]	Query for Media
2023-10-13	13:25:39	3467	[DEBUG]	Executed store
2023-10-13	13:25:39	3467	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34536_lunettes_bliz_tracker_.jpg',`file_url_thumb`='bcprisme/34536_lunettes_bliz_tracker_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '159277'
2023-10-13	13:25:39	3467	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:39	3467	[DEBUG]	Executed store
2023-10-13	13:25:39	3467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862959','159277','1')
2023-10-13	13:25:39	3467	[DEBUG]	Store product image relation
2023-10-13	13:25:39	3467	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:39	3467	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862959 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:39	3467	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:39	3467	[DEBUG]	Executed store
2023-10-13	13:25:39	3467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862959','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:39	3467	[DEBUG]	Checking manufacturer
2023-10-13	13:25:39	3467	[DEBUG]	Load a row
2023-10-13	13:25:39	3467	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:39	3467	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:39	3467	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:39	3467	[DEBUG]	Executed store
2023-10-13	13:25:39	3467	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:39	3467	[DEBUG]	Manufacturer exists
2023-10-13	13:25:39	3467	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:39	3467	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:39	3467	[DEBUG]	Executed store
2023-10-13	13:25:39	3467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862959','175')
2023-10-13	13:25:39	3467	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:39	3467	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:39	3467	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862959 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:39	3467	[DEBUG]	Store custom available field
2023-10-13	13:25:39	3467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862959,3,'',1)
2023-10-13	13:25:39	3467	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:39	3467	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:39	3467	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862959 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:39	3467	[DEBUG]	Store custom available field
2023-10-13	13:25:39	3467	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862959,6,'Unitaire',3)
2023-10-13	13:25:39	3467	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:39	3467	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:39	3467	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862958
2023-10-13	13:25:39	3467	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:39	3467	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862958\":[1862958,8,1,\"choisir la taille\"],\"1862959\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862958
2023-10-13	13:25:39	3467	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:39	3467	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862959
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:39	3468	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field taille
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:39	3468	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:39	3468	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:39	3468	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:39	3468	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:39	3468	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:39	3468	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field published
2023-10-13	13:25:39	3468	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:39	3468	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field override
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:39	3468	[DEBUG]	Use field value for field slug
2023-10-13	13:25:39	3468	[DEBUG]	Process line 3468
2023-10-13	13:25:39	3468	[DEBUG]	Load a row
2023-10-13	13:25:39	3468	[DEBUG]	Processing item: A_7317_87
2023-10-13	13:25:39	3468	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:39	3468	[DEBUG]	Processing product tax
2023-10-13	13:25:39	3468	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:39	3468	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:39	3468	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:39	3468	[DEBUG]	Query for Product
2023-10-13	13:25:39	3468	[DEBUG]	Executed store
2023-10-13	13:25:39	3468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7317_87','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:39	3468	[DEBUG]	Check product language entry
2023-10-13	13:25:39	3468	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862960
2023-10-13	13:25:39	3468	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:39	3468	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7317_87' AND `virtuemart_product_id` != 1862960
2023-10-13	13:25:39	3468	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:39	3468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862960, 'A_7317_87')
2023-10-13	13:25:39	3468	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:39	3468	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-motion-white' AND `virtuemart_product_id` != 1862960
2023-10-13	13:25:39	3468	[DEBUG]	Query for ProductLang
2023-10-13	13:25:39	3468	[DEBUG]	Executed store
2023-10-13	13:25:39	3468	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Protection UV avec standard CE.<br>N° art fourn : 9020-19',`product_name`='BLIZ Lunettes BLIZ Motion / White',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-motion-white' WHERE `virtuemart_product_id` = '1862960'
2023-10-13	13:25:39	3468	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34537_lunettes_bliz_motion.jpg
2023-10-13	13:25:39	3468	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:25:39	3468	[DEBUG]	Process image file
2023-10-13	13:25:39	3468	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:25:39	3468	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:39	3468	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34537_lunettes_bliz_motion.jpg
2023-10-13	13:25:39	3468	[DEBUG]	Full name target: bcprisme/34537_lunettes_bliz_motion.jpg
2023-10-13	13:25:40	3468	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:40	3468	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34537_lunettes_bliz_motion.jpg'
2023-10-13	13:25:40	3468	[DEBUG]	Query for Media
2023-10-13	13:25:40	3468	[DEBUG]	Executed store
2023-10-13	13:25:40	3468	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34537_lunettes_bliz_motion.jpg',`file_url_thumb`='bcprisme/34537_lunettes_bliz_motion.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '159279'
2023-10-13	13:25:40	3468	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:40	3468	[DEBUG]	Executed store
2023-10-13	13:25:40	3468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862960','159279','1')
2023-10-13	13:25:40	3468	[DEBUG]	Store product image relation
2023-10-13	13:25:40	3468	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:40	3468	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862960 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:40	3468	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:40	3468	[DEBUG]	Executed store
2023-10-13	13:25:40	3468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862960','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:40	3468	[DEBUG]	Checking manufacturer
2023-10-13	13:25:40	3468	[DEBUG]	Load a row
2023-10-13	13:25:40	3468	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:40	3468	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:40	3468	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:40	3468	[DEBUG]	Executed store
2023-10-13	13:25:40	3468	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:40	3468	[DEBUG]	Manufacturer exists
2023-10-13	13:25:40	3468	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:40	3468	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:40	3468	[DEBUG]	Executed store
2023-10-13	13:25:40	3468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862960','175')
2023-10-13	13:25:40	3468	[DEBUG]	Find the custom field ID
2023-10-13	13:25:40	3468	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:40	3468	[DEBUG]	No custom field ID found
2023-10-13	13:25:40	3468	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:40	3468	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:40	3468	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862960 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:40	3468	[DEBUG]	Store custom available field
2023-10-13	13:25:40	3468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862960,3,'69.7058333333334',1)
2023-10-13	13:25:40	3468	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:40	3468	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:40	3468	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862960 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:40	3468	[DEBUG]	Store custom available field
2023-10-13	13:25:40	3468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862960,6,'choisir la taille',3)
2023-10-13	13:25:40	3468	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:40	3468	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:40	3468	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:40	3468	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:40	3468	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862960 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:40	3468	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:40	3468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862960,8,1)
2023-10-13	13:25:40	3468	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:40	3468	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862960\":[1862960,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862960
2023-10-13	13:25:40	3468	[DEBUG]	Checking category
2023-10-13	13:25:40	3468	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:40	3468	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862960
2023-10-13	13:25:40	3468	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:40	3468	[DEBUG]	Executed store
2023-10-13	13:25:40	3468	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862960','7378')
2023-10-13	13:25:40	3468	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:40	3468	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862960 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:40	3468	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:40	3468	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862960
2023-10-13	13:25:40	3469	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:40	3469	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:40	3469	[DEBUG]	Use field value for field taille
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:40	3469	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:40	3469	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:40	3469	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:40	3469	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:40	3469	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:40	3469	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:40	3469	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:40	3469	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:40	3469	[DEBUG]	Use field value for field published
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:40	3469	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field override
2023-10-13	13:25:40	3469	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:40	3469	[DEBUG]	Use field value for field slug
2023-10-13	13:25:40	3469	[DEBUG]	Process line 3469
2023-10-13	13:25:40	3469	[DEBUG]	Load a row
2023-10-13	13:25:40	3469	[DEBUG]	Processing item: 7318480044296
2023-10-13	13:25:40	3469	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:40	3469	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:40	3469	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7317_87'
2023-10-13	13:25:40	3469	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:40	3469	[DEBUG]	Processing product tax
2023-10-13	13:25:40	3469	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:40	3469	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:40	3469	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:40	3469	[DEBUG]	Query for Product
2023-10-13	13:25:40	3469	[DEBUG]	Executed store
2023-10-13	13:25:40	3469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862960','7318480044296','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:40	3469	[DEBUG]	No parent found
2023-10-13	13:25:40	3469	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862960 AND customfield_value = 'stockable'
2023-10-13	13:25:40	3469	[DEBUG]	Check product language entry
2023-10-13	13:25:40	3469	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862961
2023-10-13	13:25:40	3469	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:40	3469	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7318480044296' AND `virtuemart_product_id` != 1862961
2023-10-13	13:25:40	3469	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:40	3469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862961, '7318480044296')
2023-10-13	13:25:40	3469	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:40	3469	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bliz-lunettes-bliz-motion-white-unitaire' AND `virtuemart_product_id` != 1862961
2023-10-13	13:25:40	3469	[DEBUG]	Query for ProductLang
2023-10-13	13:25:40	3469	[DEBUG]	Executed store
2023-10-13	13:25:40	3469	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BLIZ Lunettes BLIZ Motion / White (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bliz-lunettes-bliz-motion-white-unitaire' WHERE `virtuemart_product_id` = '1862961'
2023-10-13	13:25:40	3469	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34537_lunettes_bliz_motion.jpg
2023-10-13	13:25:40	3469	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:25:40	3469	[DEBUG]	Process image file
2023-10-13	13:25:40	3469	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:25:40	3469	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:40	3469	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34537_lunettes_bliz_motion.jpg
2023-10-13	13:25:40	3469	[DEBUG]	Full name target: bcprisme/34537_lunettes_bliz_motion.jpg
2023-10-13	13:25:41	3469	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:41	3469	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34537_lunettes_bliz_motion.jpg'
2023-10-13	13:25:41	3469	[DEBUG]	Query for Media
2023-10-13	13:25:41	3469	[DEBUG]	Executed store
2023-10-13	13:25:41	3469	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34537_lunettes_bliz_motion.jpg',`file_url_thumb`='bcprisme/34537_lunettes_bliz_motion.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '159279'
2023-10-13	13:25:41	3469	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:41	3469	[DEBUG]	Executed store
2023-10-13	13:25:41	3469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862961','159279','1')
2023-10-13	13:25:41	3469	[DEBUG]	Store product image relation
2023-10-13	13:25:41	3469	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:41	3469	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862961 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:41	3469	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:42	3469	[DEBUG]	Executed store
2023-10-13	13:25:42	3469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862961','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:42	3469	[DEBUG]	Checking manufacturer
2023-10-13	13:25:42	3469	[DEBUG]	Load a row
2023-10-13	13:25:42	3469	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:42	3469	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:42	3469	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:42	3469	[DEBUG]	Executed store
2023-10-13	13:25:42	3469	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-521037427281' WHERE `virtuemart_manufacturer_id` = '175'
2023-10-13	13:25:42	3469	[DEBUG]	Manufacturer exists
2023-10-13	13:25:42	3469	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 175
2023-10-13	13:25:42	3469	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:42	3469	[DEBUG]	Executed store
2023-10-13	13:25:42	3469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862961','175')
2023-10-13	13:25:42	3469	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:42	3469	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:42	3469	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862961 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:42	3469	[DEBUG]	Store custom available field
2023-10-13	13:25:42	3469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862961,3,'',1)
2023-10-13	13:25:42	3469	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:42	3469	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:42	3469	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862961 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:42	3469	[DEBUG]	Store custom available field
2023-10-13	13:25:42	3469	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862961,6,'Unitaire',3)
2023-10-13	13:25:42	3469	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:42	3469	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:42	3469	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862960
2023-10-13	13:25:42	3469	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:42	3469	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862960\":[1862960,8,1,\"choisir la taille\"],\"1862961\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862960
2023-10-13	13:25:42	3469	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:42	3469	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862961
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:42	3470	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field taille
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:42	3470	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:42	3470	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:42	3470	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:42	3470	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:42	3470	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:42	3470	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field published
2023-10-13	13:25:42	3470	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:42	3470	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field override
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:42	3470	[DEBUG]	Use field value for field slug
2023-10-13	13:25:42	3470	[DEBUG]	Process line 3470
2023-10-13	13:25:42	3470	[DEBUG]	Load a row
2023-10-13	13:25:42	3470	[DEBUG]	Processing item: A_8407_677
2023-10-13	13:25:42	3470	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:42	3470	[DEBUG]	Processing product tax
2023-10-13	13:25:42	3470	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:42	3470	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:42	3470	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:42	3470	[DEBUG]	Query for Product
2023-10-13	13:25:42	3470	[DEBUG]	Executed store
2023-10-13	13:25:42	3470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8407_677','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:42	3470	[DEBUG]	Check product language entry
2023-10-13	13:25:42	3470	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862962
2023-10-13	13:25:42	3470	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:42	3470	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8407_677' AND `virtuemart_product_id` != 1862962
2023-10-13	13:25:42	3470	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:42	3470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862962, 'A_8407_677')
2023-10-13	13:25:42	3470	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:42	3470	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-hawkeye-taille-s-q-lite-turquoise-matt-q-lite-green' AND `virtuemart_product_id` != 1862962
2023-10-13	13:25:42	3470	[DEBUG]	Query for ProductLang
2023-10-13	13:25:42	3470	[DEBUG]	Executed store
2023-10-13	13:25:42	3470	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Les verres Hawkeye S peuvent être équipés en option des technologies de pointe QV (forte amélioration du contraste, polarisation et teinte automatique), Q-LITE V (amélioration du contraste et teinte automatique) et Q-LITE (amélioration du contraste). Un revêtement hydrophobe garantit une vision claire et le système Fogstop sur le côté intérieur empêche la formation de buée sur la lentille. Les lunettes peuvent être réglées individuellement grâce à des ailettes nasales ajustables. La monture est équipée d\'un design à 2 composants pour une tenue confortable.<br>N° art fourn : 85190-21',`product_name`='Alpina Lunettes Alpina HAWKEYE Taille S Q-Lite / Turquoise matt Q-LITE green',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-hawkeye-taille-s-q-lite-turquoise-matt-q-lite-green' WHERE `virtuemart_product_id` = '1862962'
2023-10-13	13:25:42	3470	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37069_lunettes_alpina_hawkeye_taille_s_q-lite.jpg
2023-10-13	13:25:42	3470	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:42	3470	[DEBUG]	Process image file
2023-10-13	13:25:42	3470	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:42	3470	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:42	3470	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37069_lunettes_alpina_hawkeye_taille_s_q-lite.jpg
2023-10-13	13:25:42	3470	[DEBUG]	Full name target: bcprisme/37069_lunettes_alpina_hawkeye_taille_s_q-lite.jpg
2023-10-13	13:25:43	3470	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:43	3470	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37069_lunettes_alpina_hawkeye_taille_s_q-lite.jpg'
2023-10-13	13:25:43	3470	[DEBUG]	Query for Media
2023-10-13	13:25:43	3470	[DEBUG]	Executed store
2023-10-13	13:25:43	3470	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37069_lunettes_alpina_hawkeye_taille_s_q-lite.jpg',`file_url_thumb`='bcprisme/37069_lunettes_alpina_hawkeye_taille_s_q-lite.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '821131'
2023-10-13	13:25:43	3470	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:43	3470	[DEBUG]	Executed store
2023-10-13	13:25:43	3470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862962','821131','1')
2023-10-13	13:25:43	3470	[DEBUG]	Store product image relation
2023-10-13	13:25:43	3470	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:43	3470	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862962 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:43	3470	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:43	3470	[DEBUG]	Executed store
2023-10-13	13:25:43	3470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862962','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:43	3470	[DEBUG]	Checking manufacturer
2023-10-13	13:25:43	3470	[DEBUG]	Load a row
2023-10-13	13:25:43	3470	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:43	3470	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:43	3470	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:43	3470	[DEBUG]	Executed store
2023-10-13	13:25:43	3470	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:43	3470	[DEBUG]	Manufacturer exists
2023-10-13	13:25:43	3470	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:43	3470	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:43	3470	[DEBUG]	Executed store
2023-10-13	13:25:43	3470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862962','171')
2023-10-13	13:25:43	3470	[DEBUG]	Find the custom field ID
2023-10-13	13:25:43	3470	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:43	3470	[DEBUG]	No custom field ID found
2023-10-13	13:25:43	3470	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:43	3470	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:43	3470	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862962 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:43	3470	[DEBUG]	Store custom available field
2023-10-13	13:25:43	3470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862962,3,'69.7058333333334',1)
2023-10-13	13:25:43	3470	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:43	3470	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:43	3470	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862962 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:43	3470	[DEBUG]	Store custom available field
2023-10-13	13:25:43	3470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862962,6,'choisir la taille',3)
2023-10-13	13:25:43	3470	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:43	3470	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:43	3470	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:43	3470	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:43	3470	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862962 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:43	3470	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:43	3470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862962,8,1)
2023-10-13	13:25:43	3470	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:43	3470	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862962\":[1862962,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862962
2023-10-13	13:25:43	3470	[DEBUG]	Checking category
2023-10-13	13:25:43	3470	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:43	3470	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862962
2023-10-13	13:25:43	3470	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:43	3470	[DEBUG]	Executed store
2023-10-13	13:25:43	3470	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862962','7378')
2023-10-13	13:25:43	3470	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:43	3470	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862962 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:43	3470	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:43	3470	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862962
2023-10-13	13:25:43	3471	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:43	3471	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:43	3471	[DEBUG]	Use field value for field taille
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:43	3471	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:43	3471	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:43	3471	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:43	3471	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:43	3471	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:43	3471	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:43	3471	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:43	3471	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:43	3471	[DEBUG]	Use field value for field published
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:43	3471	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field override
2023-10-13	13:25:43	3471	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:43	3471	[DEBUG]	Use field value for field slug
2023-10-13	13:25:43	3471	[DEBUG]	Process line 3471
2023-10-13	13:25:43	3471	[DEBUG]	Load a row
2023-10-13	13:25:43	3471	[DEBUG]	Processing item: 4003692311627
2023-10-13	13:25:43	3471	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:43	3471	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:43	3471	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8407_677'
2023-10-13	13:25:43	3471	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:43	3471	[DEBUG]	Processing product tax
2023-10-13	13:25:43	3471	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:43	3471	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:43	3471	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:43	3471	[DEBUG]	Query for Product
2023-10-13	13:25:43	3471	[DEBUG]	Executed store
2023-10-13	13:25:43	3471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862962','4003692311627','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:43	3471	[DEBUG]	No parent found
2023-10-13	13:25:43	3471	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862962 AND customfield_value = 'stockable'
2023-10-13	13:25:43	3471	[DEBUG]	Check product language entry
2023-10-13	13:25:43	3471	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862963
2023-10-13	13:25:43	3471	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:43	3471	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003692311627' AND `virtuemart_product_id` != 1862963
2023-10-13	13:25:43	3471	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:43	3471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862963, '4003692311627')
2023-10-13	13:25:43	3471	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:43	3471	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-hawkeye-taille-s-q-lite-turquoise-matt-q-lite-green-unitaire' AND `virtuemart_product_id` != 1862963
2023-10-13	13:25:43	3471	[DEBUG]	Query for ProductLang
2023-10-13	13:25:43	3471	[DEBUG]	Executed store
2023-10-13	13:25:43	3471	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Lunettes Alpina HAWKEYE Taille S Q-Lite / Turquoise matt Q-LITE green (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-hawkeye-taille-s-q-lite-turquoise-matt-q-lite-green-unitaire' WHERE `virtuemart_product_id` = '1862963'
2023-10-13	13:25:43	3471	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37069_lunettes_alpina_hawkeye_taille_s_q-lite.jpg
2023-10-13	13:25:43	3471	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:43	3471	[DEBUG]	Process image file
2023-10-13	13:25:43	3471	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:43	3471	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:43	3471	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37069_lunettes_alpina_hawkeye_taille_s_q-lite.jpg
2023-10-13	13:25:43	3471	[DEBUG]	Full name target: bcprisme/37069_lunettes_alpina_hawkeye_taille_s_q-lite.jpg
2023-10-13	13:25:44	3471	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:44	3471	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37069_lunettes_alpina_hawkeye_taille_s_q-lite.jpg'
2023-10-13	13:25:44	3471	[DEBUG]	Query for Media
2023-10-13	13:25:44	3471	[DEBUG]	Executed store
2023-10-13	13:25:44	3471	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37069_lunettes_alpina_hawkeye_taille_s_q-lite.jpg',`file_url_thumb`='bcprisme/37069_lunettes_alpina_hawkeye_taille_s_q-lite.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '821131'
2023-10-13	13:25:44	3471	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:44	3471	[DEBUG]	Executed store
2023-10-13	13:25:44	3471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862963','821131','1')
2023-10-13	13:25:44	3471	[DEBUG]	Store product image relation
2023-10-13	13:25:44	3471	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:44	3471	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862963 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:44	3471	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:44	3471	[DEBUG]	Executed store
2023-10-13	13:25:44	3471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862963','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:44	3471	[DEBUG]	Checking manufacturer
2023-10-13	13:25:44	3471	[DEBUG]	Load a row
2023-10-13	13:25:44	3471	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:44	3471	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:44	3471	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:44	3471	[DEBUG]	Executed store
2023-10-13	13:25:44	3471	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:44	3471	[DEBUG]	Manufacturer exists
2023-10-13	13:25:44	3471	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:44	3471	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:44	3471	[DEBUG]	Executed store
2023-10-13	13:25:44	3471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862963','171')
2023-10-13	13:25:44	3471	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:44	3471	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:44	3471	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862963 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:44	3471	[DEBUG]	Store custom available field
2023-10-13	13:25:44	3471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862963,3,'',1)
2023-10-13	13:25:44	3471	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:44	3471	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:44	3471	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862963 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:44	3471	[DEBUG]	Store custom available field
2023-10-13	13:25:44	3471	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862963,6,'Unitaire',3)
2023-10-13	13:25:44	3471	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:44	3471	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:44	3471	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862962
2023-10-13	13:25:44	3471	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:44	3471	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862962\":[1862962,8,1,\"choisir la taille\"],\"1862963\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862962
2023-10-13	13:25:44	3471	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:44	3471	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862963
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:44	3472	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field taille
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:44	3472	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:44	3472	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:44	3472	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:44	3472	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:44	3472	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:44	3472	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field published
2023-10-13	13:25:44	3472	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:44	3472	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field override
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:44	3472	[DEBUG]	Use field value for field slug
2023-10-13	13:25:44	3472	[DEBUG]	Process line 3472
2023-10-13	13:25:44	3472	[DEBUG]	Load a row
2023-10-13	13:25:44	3472	[DEBUG]	Processing item: A_8407_678
2023-10-13	13:25:44	3472	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:44	3472	[DEBUG]	Processing product tax
2023-10-13	13:25:44	3472	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:44	3472	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:44	3472	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:44	3472	[DEBUG]	Query for Product
2023-10-13	13:25:44	3472	[DEBUG]	Executed store
2023-10-13	13:25:44	3472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8407_678','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:44	3472	[DEBUG]	Check product language entry
2023-10-13	13:25:44	3472	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862964
2023-10-13	13:25:44	3472	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:44	3472	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8407_678' AND `virtuemart_product_id` != 1862964
2023-10-13	13:25:44	3472	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:44	3472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862964, 'A_8407_678')
2023-10-13	13:25:44	3472	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:44	3472	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-hawkeye-taille-s-q-lite-peach-matt-q-lite-pink' AND `virtuemart_product_id` != 1862964
2023-10-13	13:25:44	3472	[DEBUG]	Query for ProductLang
2023-10-13	13:25:44	3472	[DEBUG]	Executed store
2023-10-13	13:25:44	3472	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Les verres Hawkeye S peuvent être équipés en option des technologies de pointe QV (forte amélioration du contraste, polarisation et teinte automatique), Q-LITE V (amélioration du contraste et teinte automatique) et Q-LITE (amélioration du contraste). Un revêtement hydrophobe garantit une vision claire et le système Fogstop sur le côté intérieur empêche la formation de buée sur la lentille. Les lunettes peuvent être réglées individuellement grâce à des ailettes nasales ajustables. La monture est équipée d\'un design à 2 composants pour une tenue confortable.<br>N° art fourn : 85190-21',`product_name`='Alpina Lunettes Alpina HAWKEYE Taille S Q-Lite / peach matt Q-LITE pink',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-hawkeye-taille-s-q-lite-peach-matt-q-lite-pink' WHERE `virtuemart_product_id` = '1862964'
2023-10-13	13:25:44	3472	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37070_lunettes_alpina_hawkeye_taille_s_q-lite.jpg
2023-10-13	13:25:44	3472	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:44	3472	[DEBUG]	Process image file
2023-10-13	13:25:44	3472	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:44	3472	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:44	3472	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37070_lunettes_alpina_hawkeye_taille_s_q-lite.jpg
2023-10-13	13:25:44	3472	[DEBUG]	Full name target: bcprisme/37070_lunettes_alpina_hawkeye_taille_s_q-lite.jpg
2023-10-13	13:25:45	3472	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:45	3472	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37070_lunettes_alpina_hawkeye_taille_s_q-lite.jpg'
2023-10-13	13:25:45	3472	[DEBUG]	Query for Media
2023-10-13	13:25:45	3472	[DEBUG]	Executed store
2023-10-13	13:25:45	3472	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37070_lunettes_alpina_hawkeye_taille_s_q-lite.jpg',`file_url_thumb`='bcprisme/37070_lunettes_alpina_hawkeye_taille_s_q-lite.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '821133'
2023-10-13	13:25:45	3472	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:45	3472	[DEBUG]	Executed store
2023-10-13	13:25:45	3472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862964','821133','1')
2023-10-13	13:25:45	3472	[DEBUG]	Store product image relation
2023-10-13	13:25:45	3472	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:45	3472	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862964 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:45	3472	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:45	3472	[DEBUG]	Executed store
2023-10-13	13:25:45	3472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862964','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:45	3472	[DEBUG]	Checking manufacturer
2023-10-13	13:25:45	3472	[DEBUG]	Load a row
2023-10-13	13:25:45	3472	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:45	3472	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:45	3472	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:45	3472	[DEBUG]	Executed store
2023-10-13	13:25:45	3472	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:45	3472	[DEBUG]	Manufacturer exists
2023-10-13	13:25:45	3472	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:45	3472	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:45	3472	[DEBUG]	Executed store
2023-10-13	13:25:45	3472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862964','171')
2023-10-13	13:25:45	3472	[DEBUG]	Find the custom field ID
2023-10-13	13:25:45	3472	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:45	3472	[DEBUG]	No custom field ID found
2023-10-13	13:25:45	3472	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:45	3472	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:45	3472	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862964 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:45	3472	[DEBUG]	Store custom available field
2023-10-13	13:25:45	3472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862964,3,'69.7058333333334',1)
2023-10-13	13:25:45	3472	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:45	3472	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:45	3472	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862964 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:45	3472	[DEBUG]	Store custom available field
2023-10-13	13:25:45	3472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862964,6,'choisir la taille',3)
2023-10-13	13:25:45	3472	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:45	3472	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:45	3472	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:45	3472	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:45	3472	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862964 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:45	3472	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:45	3472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862964,8,1)
2023-10-13	13:25:45	3472	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:45	3472	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862964\":[1862964,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862964
2023-10-13	13:25:45	3472	[DEBUG]	Checking category
2023-10-13	13:25:45	3472	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:45	3472	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862964
2023-10-13	13:25:45	3472	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:45	3472	[DEBUG]	Executed store
2023-10-13	13:25:45	3472	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862964','7378')
2023-10-13	13:25:45	3472	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:45	3472	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862964 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:45	3472	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:45	3472	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862964
2023-10-13	13:25:45	3473	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:45	3473	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:45	3473	[DEBUG]	Use field value for field taille
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:45	3473	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:45	3473	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:45	3473	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:45	3473	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:45	3473	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:45	3473	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:45	3473	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:45	3473	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:45	3473	[DEBUG]	Use field value for field published
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:45	3473	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field override
2023-10-13	13:25:45	3473	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:45	3473	[DEBUG]	Use field value for field slug
2023-10-13	13:25:45	3473	[DEBUG]	Process line 3473
2023-10-13	13:25:45	3473	[DEBUG]	Load a row
2023-10-13	13:25:45	3473	[DEBUG]	Processing item: 4003692311634
2023-10-13	13:25:45	3473	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:45	3473	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:45	3473	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8407_678'
2023-10-13	13:25:45	3473	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:45	3473	[DEBUG]	Processing product tax
2023-10-13	13:25:45	3473	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:45	3473	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:45	3473	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:45	3473	[DEBUG]	Query for Product
2023-10-13	13:25:45	3473	[DEBUG]	Executed store
2023-10-13	13:25:45	3473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862964','4003692311634','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:45	3473	[DEBUG]	No parent found
2023-10-13	13:25:45	3473	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862964 AND customfield_value = 'stockable'
2023-10-13	13:25:45	3473	[DEBUG]	Check product language entry
2023-10-13	13:25:45	3473	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862965
2023-10-13	13:25:45	3473	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:45	3473	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003692311634' AND `virtuemart_product_id` != 1862965
2023-10-13	13:25:45	3473	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:45	3473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862965, '4003692311634')
2023-10-13	13:25:45	3473	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:45	3473	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-hawkeye-taille-s-q-lite-peach-matt-q-lite-pink-unitaire' AND `virtuemart_product_id` != 1862965
2023-10-13	13:25:45	3473	[DEBUG]	Query for ProductLang
2023-10-13	13:25:45	3473	[DEBUG]	Executed store
2023-10-13	13:25:45	3473	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Lunettes Alpina HAWKEYE Taille S Q-Lite / peach matt Q-LITE pink (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-hawkeye-taille-s-q-lite-peach-matt-q-lite-pink-unitaire' WHERE `virtuemart_product_id` = '1862965'
2023-10-13	13:25:45	3473	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37070_lunettes_alpina_hawkeye_taille_s_q-lite.jpg
2023-10-13	13:25:45	3473	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:45	3473	[DEBUG]	Process image file
2023-10-13	13:25:45	3473	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:45	3473	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:45	3473	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37070_lunettes_alpina_hawkeye_taille_s_q-lite.jpg
2023-10-13	13:25:45	3473	[DEBUG]	Full name target: bcprisme/37070_lunettes_alpina_hawkeye_taille_s_q-lite.jpg
2023-10-13	13:25:46	3473	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:46	3473	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37070_lunettes_alpina_hawkeye_taille_s_q-lite.jpg'
2023-10-13	13:25:46	3473	[DEBUG]	Query for Media
2023-10-13	13:25:46	3473	[DEBUG]	Executed store
2023-10-13	13:25:46	3473	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37070_lunettes_alpina_hawkeye_taille_s_q-lite.jpg',`file_url_thumb`='bcprisme/37070_lunettes_alpina_hawkeye_taille_s_q-lite.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '821133'
2023-10-13	13:25:46	3473	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:46	3473	[DEBUG]	Executed store
2023-10-13	13:25:46	3473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862965','821133','1')
2023-10-13	13:25:46	3473	[DEBUG]	Store product image relation
2023-10-13	13:25:46	3473	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:46	3473	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862965 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:46	3473	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:46	3473	[DEBUG]	Executed store
2023-10-13	13:25:46	3473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862965','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:46	3473	[DEBUG]	Checking manufacturer
2023-10-13	13:25:46	3473	[DEBUG]	Load a row
2023-10-13	13:25:46	3473	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:46	3473	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:46	3473	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:46	3473	[DEBUG]	Executed store
2023-10-13	13:25:46	3473	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:46	3473	[DEBUG]	Manufacturer exists
2023-10-13	13:25:46	3473	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:46	3473	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:46	3473	[DEBUG]	Executed store
2023-10-13	13:25:46	3473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862965','171')
2023-10-13	13:25:46	3473	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:46	3473	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:46	3473	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862965 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:46	3473	[DEBUG]	Store custom available field
2023-10-13	13:25:46	3473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862965,3,'',1)
2023-10-13	13:25:46	3473	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:46	3473	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:46	3473	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862965 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:46	3473	[DEBUG]	Store custom available field
2023-10-13	13:25:46	3473	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862965,6,'Unitaire',3)
2023-10-13	13:25:46	3473	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:46	3473	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:46	3473	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862964
2023-10-13	13:25:46	3473	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:46	3473	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862964\":[1862964,8,1,\"choisir la taille\"],\"1862965\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862964
2023-10-13	13:25:46	3473	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:46	3473	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862965
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:46	3474	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field taille
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:46	3474	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:46	3474	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:46	3474	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:46	3474	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:46	3474	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:46	3474	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field published
2023-10-13	13:25:46	3474	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:46	3474	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field override
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:46	3474	[DEBUG]	Use field value for field slug
2023-10-13	13:25:46	3474	[DEBUG]	Process line 3474
2023-10-13	13:25:46	3474	[DEBUG]	Load a row
2023-10-13	13:25:46	3474	[DEBUG]	Processing item: A_8416_679
2023-10-13	13:25:46	3474	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:46	3474	[DEBUG]	Processing product tax
2023-10-13	13:25:46	3474	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:46	3474	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:46	3474	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:46	3474	[DEBUG]	Query for Product
2023-10-13	13:25:46	3474	[DEBUG]	Executed store
2023-10-13	13:25:46	3474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8416_679','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:46	3474	[DEBUG]	Check product language entry
2023-10-13	13:25:46	3474	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862966
2023-10-13	13:25:46	3474	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:46	3474	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8416_679' AND `virtuemart_product_id` != 1862966
2023-10-13	13:25:46	3474	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:46	3474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862966, 'A_8416_679')
2023-10-13	13:25:46	3474	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:46	3474	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-hawkeye-qv-black-matt' AND `virtuemart_product_id` != 1862966
2023-10-13	13:25:46	3474	[DEBUG]	Query for ProductLang
2023-10-13	13:25:46	3474	[DEBUG]	Executed store
2023-10-13	13:25:46	3474	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Die Hawkeye-Scheiben sind wahlweise mit den Top-Technologien QV (stark kontrastverstärkend, polarisierend und selbsttönend), Q-LITE V (kotrastverstärkend und selbsttönend) und Q-LITE (kontrastverstärkend) ausgestattet. Eine Hydrophobic-Beschichtung sorgt für klare Sicht und Fogstop auf der Innenseite verhindert das Beschlagen der Scheibe. Über verstellbare Nasenflügel lässt sich die Brille individuell anpassen. Für einen komfortablen Sitz ist der Rahmen mit einem 2-Komponenten Design ausgestattet.     100% UV-A, -B, -C-Schutz<br><br>TECHNOLOGIES:     100% UV A,  -B, -C-Schutz<br>Fogstop<br>Hydrophobic Lens<br>Mirror<br>Optimized Airflow<br>QuattroVarioflex<br>N° art fourn : A86895',`product_name`='Alpina Lunettes Alpina HAWKEYE QV  / Black matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-hawkeye-qv-black-matt' WHERE `virtuemart_product_id` = '1862966'
2023-10-13	13:25:46	3474	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37082_lunettes_alpina_hawkeye_qv_rainbow.jpg
2023-10-13	13:25:46	3474	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:46	3474	[DEBUG]	Process image file
2023-10-13	13:25:46	3474	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:46	3474	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:46	3474	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37082_lunettes_alpina_hawkeye_qv_rainbow.jpg
2023-10-13	13:25:46	3474	[DEBUG]	Full name target: bcprisme/37082_lunettes_alpina_hawkeye_qv_rainbow.jpg
2023-10-13	13:25:47	3474	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:47	3474	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37082_lunettes_alpina_hawkeye_qv_rainbow.jpg'
2023-10-13	13:25:47	3474	[DEBUG]	Query for Media
2023-10-13	13:25:47	3474	[DEBUG]	Executed store
2023-10-13	13:25:47	3474	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37082_lunettes_alpina_hawkeye_qv_rainbow.jpg',`file_url_thumb`='bcprisme/37082_lunettes_alpina_hawkeye_qv_rainbow.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '831072'
2023-10-13	13:25:47	3474	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:47	3474	[DEBUG]	Executed store
2023-10-13	13:25:47	3474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862966','831072','1')
2023-10-13	13:25:47	3474	[DEBUG]	Store product image relation
2023-10-13	13:25:47	3474	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:47	3474	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862966 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:47	3474	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:47	3474	[DEBUG]	Executed store
2023-10-13	13:25:47	3474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862966','0','249.767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:47	3474	[DEBUG]	Checking manufacturer
2023-10-13	13:25:47	3474	[DEBUG]	Load a row
2023-10-13	13:25:47	3474	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:47	3474	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:47	3474	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:47	3474	[DEBUG]	Executed store
2023-10-13	13:25:47	3474	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:47	3474	[DEBUG]	Manufacturer exists
2023-10-13	13:25:47	3474	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:47	3474	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:47	3474	[DEBUG]	Executed store
2023-10-13	13:25:47	3474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862966','171')
2023-10-13	13:25:47	3474	[DEBUG]	Find the custom field ID
2023-10-13	13:25:47	3474	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:47	3474	[DEBUG]	No custom field ID found
2023-10-13	13:25:47	3474	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:47	3474	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:47	3474	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862966 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:47	3474	[DEBUG]	Store custom available field
2023-10-13	13:25:47	3474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862966,3,'69.7058333333334',1)
2023-10-13	13:25:47	3474	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:47	3474	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:47	3474	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862966 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:47	3474	[DEBUG]	Store custom available field
2023-10-13	13:25:47	3474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862966,6,'choisir la taille',3)
2023-10-13	13:25:47	3474	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:47	3474	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:47	3474	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:47	3474	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:47	3474	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862966 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:47	3474	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:47	3474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862966,8,1)
2023-10-13	13:25:47	3474	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:47	3474	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862966\":[1862966,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862966
2023-10-13	13:25:47	3474	[DEBUG]	Checking category
2023-10-13	13:25:47	3474	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:47	3474	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862966
2023-10-13	13:25:47	3474	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:47	3474	[DEBUG]	Executed store
2023-10-13	13:25:47	3474	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862966','7378')
2023-10-13	13:25:47	3474	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:47	3474	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862966 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:47	3474	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:47	3474	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862966
2023-10-13	13:25:47	3475	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:47	3475	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:47	3475	[DEBUG]	Use field value for field taille
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:47	3475	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:47	3475	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:47	3475	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:47	3475	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:47	3475	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:47	3475	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:47	3475	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:47	3475	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:47	3475	[DEBUG]	Use field value for field published
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:47	3475	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field override
2023-10-13	13:25:47	3475	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:47	3475	[DEBUG]	Use field value for field slug
2023-10-13	13:25:47	3475	[DEBUG]	Process line 3475
2023-10-13	13:25:47	3475	[DEBUG]	Load a row
2023-10-13	13:25:47	3475	[DEBUG]	Processing item: 4003692311511
2023-10-13	13:25:47	3475	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:47	3475	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:47	3475	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8416_679'
2023-10-13	13:25:47	3475	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:47	3475	[DEBUG]	Processing product tax
2023-10-13	13:25:47	3475	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:47	3475	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:47	3475	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:47	3475	[DEBUG]	Query for Product
2023-10-13	13:25:47	3475	[DEBUG]	Executed store
2023-10-13	13:25:47	3475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862966','4003692311511','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:47	3475	[DEBUG]	No parent found
2023-10-13	13:25:47	3475	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862966 AND customfield_value = 'stockable'
2023-10-13	13:25:47	3475	[DEBUG]	Check product language entry
2023-10-13	13:25:47	3475	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862967
2023-10-13	13:25:47	3475	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:47	3475	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003692311511' AND `virtuemart_product_id` != 1862967
2023-10-13	13:25:47	3475	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:47	3475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862967, '4003692311511')
2023-10-13	13:25:47	3475	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:47	3475	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-hawkeye-qv-black-matt-unitaire' AND `virtuemart_product_id` != 1862967
2023-10-13	13:25:47	3475	[DEBUG]	Query for ProductLang
2023-10-13	13:25:47	3475	[DEBUG]	Executed store
2023-10-13	13:25:47	3475	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Lunettes Alpina HAWKEYE QV  / Black matt (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-hawkeye-qv-black-matt-unitaire' WHERE `virtuemart_product_id` = '1862967'
2023-10-13	13:25:47	3475	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37082_lunettes_alpina_hawkeye_qv_rainbow.jpg
2023-10-13	13:25:47	3475	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:47	3475	[DEBUG]	Process image file
2023-10-13	13:25:47	3475	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:47	3475	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:47	3475	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37082_lunettes_alpina_hawkeye_qv_rainbow.jpg
2023-10-13	13:25:47	3475	[DEBUG]	Full name target: bcprisme/37082_lunettes_alpina_hawkeye_qv_rainbow.jpg
2023-10-13	13:25:48	3475	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:48	3475	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37082_lunettes_alpina_hawkeye_qv_rainbow.jpg'
2023-10-13	13:25:48	3475	[DEBUG]	Query for Media
2023-10-13	13:25:48	3475	[DEBUG]	Executed store
2023-10-13	13:25:48	3475	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37082_lunettes_alpina_hawkeye_qv_rainbow.jpg',`file_url_thumb`='bcprisme/37082_lunettes_alpina_hawkeye_qv_rainbow.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '831072'
2023-10-13	13:25:48	3475	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:48	3475	[DEBUG]	Executed store
2023-10-13	13:25:48	3475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862967','831072','1')
2023-10-13	13:25:48	3475	[DEBUG]	Store product image relation
2023-10-13	13:25:48	3475	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:48	3475	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862967 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:48	3475	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:48	3475	[DEBUG]	Executed store
2023-10-13	13:25:48	3475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862967','0','249.767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:48	3475	[DEBUG]	Checking manufacturer
2023-10-13	13:25:48	3475	[DEBUG]	Load a row
2023-10-13	13:25:48	3475	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:48	3475	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:48	3475	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:48	3475	[DEBUG]	Executed store
2023-10-13	13:25:48	3475	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:48	3475	[DEBUG]	Manufacturer exists
2023-10-13	13:25:48	3475	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:48	3475	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:48	3475	[DEBUG]	Executed store
2023-10-13	13:25:48	3475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862967','171')
2023-10-13	13:25:48	3475	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:48	3475	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:48	3475	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862967 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:48	3475	[DEBUG]	Store custom available field
2023-10-13	13:25:48	3475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862967,3,'',1)
2023-10-13	13:25:48	3475	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:48	3475	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:48	3475	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862967 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:48	3475	[DEBUG]	Store custom available field
2023-10-13	13:25:48	3475	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862967,6,'Unitaire',3)
2023-10-13	13:25:48	3475	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:48	3475	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:48	3475	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862966
2023-10-13	13:25:48	3475	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:48	3475	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862966\":[1862966,8,1,\"choisir la taille\"],\"1862967\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862966
2023-10-13	13:25:48	3475	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:48	3475	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862967
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:48	3476	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field taille
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:48	3476	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:48	3476	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:48	3476	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:48	3476	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:48	3476	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:48	3476	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field published
2023-10-13	13:25:48	3476	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:48	3476	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field override
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:48	3476	[DEBUG]	Use field value for field slug
2023-10-13	13:25:48	3476	[DEBUG]	Process line 3476
2023-10-13	13:25:48	3476	[DEBUG]	Load a row
2023-10-13	13:25:48	3476	[DEBUG]	Processing item: A_8416_680
2023-10-13	13:25:48	3476	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:48	3476	[DEBUG]	Processing product tax
2023-10-13	13:25:48	3476	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:48	3476	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:48	3476	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:48	3476	[DEBUG]	Query for Product
2023-10-13	13:25:48	3476	[DEBUG]	Executed store
2023-10-13	13:25:48	3476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8416_680','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:48	3476	[DEBUG]	Check product language entry
2023-10-13	13:25:48	3476	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862968
2023-10-13	13:25:48	3476	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:48	3476	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8416_680' AND `virtuemart_product_id` != 1862968
2023-10-13	13:25:48	3476	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:48	3476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862968, 'A_8416_680')
2023-10-13	13:25:48	3476	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:48	3476	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-hawkeye-qv-cool-grey' AND `virtuemart_product_id` != 1862968
2023-10-13	13:25:48	3476	[DEBUG]	Query for ProductLang
2023-10-13	13:25:48	3476	[DEBUG]	Executed store
2023-10-13	13:25:48	3476	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Die Hawkeye-Scheiben sind wahlweise mit den Top-Technologien QV (stark kontrastverstärkend, polarisierend und selbsttönend), Q-LITE V (kotrastverstärkend und selbsttönend) und Q-LITE (kontrastverstärkend) ausgestattet. Eine Hydrophobic-Beschichtung sorgt für klare Sicht und Fogstop auf der Innenseite verhindert das Beschlagen der Scheibe. Über verstellbare Nasenflügel lässt sich die Brille individuell anpassen. Für einen komfortablen Sitz ist der Rahmen mit einem 2-Komponenten Design ausgestattet.     100% UV-A, -B, -C-Schutz<br><br>TECHNOLOGIES:     100% UV A,  -B, -C-Schutz<br>Fogstop<br>Hydrophobic Lens<br>Mirror<br>Optimized Airflow<br>QuattroVarioflex<br>N° art fourn : A86895',`product_name`='Alpina Lunettes Alpina HAWKEYE QV  / Cool-Grey',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-hawkeye-qv-cool-grey' WHERE `virtuemart_product_id` = '1862968'
2023-10-13	13:25:48	3476	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37083_lunettes_alpina_hawkeye_qv_rainbow.jpg
2023-10-13	13:25:48	3476	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:48	3476	[DEBUG]	Process image file
2023-10-13	13:25:48	3476	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:48	3476	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:48	3476	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37083_lunettes_alpina_hawkeye_qv_rainbow.jpg
2023-10-13	13:25:48	3476	[DEBUG]	Full name target: bcprisme/37083_lunettes_alpina_hawkeye_qv_rainbow.jpg
2023-10-13	13:25:49	3476	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:49	3476	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37083_lunettes_alpina_hawkeye_qv_rainbow.jpg'
2023-10-13	13:25:49	3476	[DEBUG]	Query for Media
2023-10-13	13:25:49	3476	[DEBUG]	Executed store
2023-10-13	13:25:49	3476	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37083_lunettes_alpina_hawkeye_qv_rainbow.jpg',`file_url_thumb`='bcprisme/37083_lunettes_alpina_hawkeye_qv_rainbow.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '831074'
2023-10-13	13:25:49	3476	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:49	3476	[DEBUG]	Executed store
2023-10-13	13:25:49	3476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862968','831074','1')
2023-10-13	13:25:49	3476	[DEBUG]	Store product image relation
2023-10-13	13:25:49	3476	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:49	3476	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862968 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:49	3476	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:49	3476	[DEBUG]	Executed store
2023-10-13	13:25:49	3476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862968','0','249.767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:49	3476	[DEBUG]	Checking manufacturer
2023-10-13	13:25:49	3476	[DEBUG]	Load a row
2023-10-13	13:25:49	3476	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:49	3476	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:49	3476	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:49	3476	[DEBUG]	Executed store
2023-10-13	13:25:49	3476	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:49	3476	[DEBUG]	Manufacturer exists
2023-10-13	13:25:49	3476	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:49	3476	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:49	3476	[DEBUG]	Executed store
2023-10-13	13:25:49	3476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862968','171')
2023-10-13	13:25:49	3476	[DEBUG]	Find the custom field ID
2023-10-13	13:25:49	3476	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:49	3476	[DEBUG]	No custom field ID found
2023-10-13	13:25:49	3476	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:49	3476	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:49	3476	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862968 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:49	3476	[DEBUG]	Store custom available field
2023-10-13	13:25:49	3476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862968,3,'69.7058333333334',1)
2023-10-13	13:25:49	3476	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:49	3476	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:49	3476	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862968 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:49	3476	[DEBUG]	Store custom available field
2023-10-13	13:25:49	3476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862968,6,'choisir la taille',3)
2023-10-13	13:25:49	3476	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:49	3476	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:49	3476	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:49	3476	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:49	3476	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862968 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:49	3476	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:49	3476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862968,8,1)
2023-10-13	13:25:49	3476	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:49	3476	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862968\":[1862968,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862968
2023-10-13	13:25:49	3476	[DEBUG]	Checking category
2023-10-13	13:25:49	3476	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:49	3476	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862968
2023-10-13	13:25:49	3476	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:49	3476	[DEBUG]	Executed store
2023-10-13	13:25:49	3476	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862968','7378')
2023-10-13	13:25:49	3476	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:49	3476	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862968 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:49	3476	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:49	3476	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862968
2023-10-13	13:25:49	3477	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:49	3477	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:49	3477	[DEBUG]	Use field value for field taille
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:49	3477	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:49	3477	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:49	3477	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:49	3477	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:49	3477	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:49	3477	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:49	3477	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:49	3477	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:49	3477	[DEBUG]	Use field value for field published
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:49	3477	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field override
2023-10-13	13:25:49	3477	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:49	3477	[DEBUG]	Use field value for field slug
2023-10-13	13:25:49	3477	[DEBUG]	Process line 3477
2023-10-13	13:25:49	3477	[DEBUG]	Load a row
2023-10-13	13:25:49	3477	[DEBUG]	Processing item: 4003692311528
2023-10-13	13:25:49	3477	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:49	3477	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:49	3477	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8416_680'
2023-10-13	13:25:49	3477	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:49	3477	[DEBUG]	Processing product tax
2023-10-13	13:25:49	3477	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:49	3477	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:49	3477	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:49	3477	[DEBUG]	Query for Product
2023-10-13	13:25:49	3477	[DEBUG]	Executed store
2023-10-13	13:25:49	3477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862968','4003692311528','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:49	3477	[DEBUG]	No parent found
2023-10-13	13:25:49	3477	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862968 AND customfield_value = 'stockable'
2023-10-13	13:25:49	3477	[DEBUG]	Check product language entry
2023-10-13	13:25:49	3477	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862969
2023-10-13	13:25:49	3477	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:49	3477	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003692311528' AND `virtuemart_product_id` != 1862969
2023-10-13	13:25:49	3477	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:49	3477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862969, '4003692311528')
2023-10-13	13:25:49	3477	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:49	3477	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-hawkeye-qv-cool-grey-unitaire' AND `virtuemart_product_id` != 1862969
2023-10-13	13:25:49	3477	[DEBUG]	Query for ProductLang
2023-10-13	13:25:49	3477	[DEBUG]	Executed store
2023-10-13	13:25:49	3477	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Lunettes Alpina HAWKEYE QV  / Cool-Grey (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-hawkeye-qv-cool-grey-unitaire' WHERE `virtuemart_product_id` = '1862969'
2023-10-13	13:25:49	3477	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37083_lunettes_alpina_hawkeye_qv_rainbow.jpg
2023-10-13	13:25:49	3477	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:49	3477	[DEBUG]	Process image file
2023-10-13	13:25:49	3477	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:49	3477	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:49	3477	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37083_lunettes_alpina_hawkeye_qv_rainbow.jpg
2023-10-13	13:25:49	3477	[DEBUG]	Full name target: bcprisme/37083_lunettes_alpina_hawkeye_qv_rainbow.jpg
2023-10-13	13:25:50	3477	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:50	3477	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37083_lunettes_alpina_hawkeye_qv_rainbow.jpg'
2023-10-13	13:25:50	3477	[DEBUG]	Query for Media
2023-10-13	13:25:50	3477	[DEBUG]	Executed store
2023-10-13	13:25:50	3477	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37083_lunettes_alpina_hawkeye_qv_rainbow.jpg',`file_url_thumb`='bcprisme/37083_lunettes_alpina_hawkeye_qv_rainbow.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '831074'
2023-10-13	13:25:50	3477	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:50	3477	[DEBUG]	Executed store
2023-10-13	13:25:50	3477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862969','831074','1')
2023-10-13	13:25:50	3477	[DEBUG]	Store product image relation
2023-10-13	13:25:50	3477	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:50	3477	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862969 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:50	3477	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:50	3477	[DEBUG]	Executed store
2023-10-13	13:25:50	3477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862969','0','249.767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:50	3477	[DEBUG]	Checking manufacturer
2023-10-13	13:25:50	3477	[DEBUG]	Load a row
2023-10-13	13:25:50	3477	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:50	3477	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:50	3477	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:50	3477	[DEBUG]	Executed store
2023-10-13	13:25:50	3477	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:50	3477	[DEBUG]	Manufacturer exists
2023-10-13	13:25:50	3477	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:50	3477	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:50	3477	[DEBUG]	Executed store
2023-10-13	13:25:50	3477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862969','171')
2023-10-13	13:25:50	3477	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:50	3477	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:50	3477	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862969 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:50	3477	[DEBUG]	Store custom available field
2023-10-13	13:25:50	3477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862969,3,'',1)
2023-10-13	13:25:50	3477	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:50	3477	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:50	3477	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862969 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:50	3477	[DEBUG]	Store custom available field
2023-10-13	13:25:50	3477	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862969,6,'Unitaire',3)
2023-10-13	13:25:50	3477	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:50	3477	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:50	3477	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862968
2023-10-13	13:25:50	3477	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:50	3477	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862968\":[1862968,8,1,\"choisir la taille\"],\"1862969\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862968
2023-10-13	13:25:50	3477	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:50	3477	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862969
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:50	3478	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field taille
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:50	3478	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:50	3478	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:50	3478	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:50	3478	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:50	3478	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:50	3478	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field published
2023-10-13	13:25:50	3478	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:50	3478	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field override
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:50	3478	[DEBUG]	Use field value for field slug
2023-10-13	13:25:50	3478	[DEBUG]	Process line 3478
2023-10-13	13:25:50	3478	[DEBUG]	Load a row
2023-10-13	13:25:50	3478	[DEBUG]	Processing item: A_8417_275
2023-10-13	13:25:50	3478	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:50	3478	[DEBUG]	Processing product tax
2023-10-13	13:25:50	3478	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:50	3478	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:50	3478	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:50	3478	[DEBUG]	Query for Product
2023-10-13	13:25:50	3478	[DEBUG]	Executed store
2023-10-13	13:25:50	3478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8417_275','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:50	3478	[DEBUG]	Check product language entry
2023-10-13	13:25:50	3478	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862970
2023-10-13	13:25:50	3478	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:50	3478	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8417_275' AND `virtuemart_product_id` != 1862970
2023-10-13	13:25:50	3478	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:50	3478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862970, 'A_8417_275')
2023-10-13	13:25:50	3478	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:50	3478	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-hawkeye-q-lite-v-black-matt' AND `virtuemart_product_id` != 1862970
2023-10-13	13:25:50	3478	[DEBUG]	Query for ProductLang
2023-10-13	13:25:50	3478	[DEBUG]	Executed store
2023-10-13	13:25:50	3478	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Les verres Hawkeye peuvent être équipés en option des technologies de pointe QV (forte amélioration du contraste, polarisation et teinte automatique), Q-LITE V (amélioration du contraste et teinte automatique) et Q-LITE (amélioration du contraste). Un revêtement hydrophobe garantit une vision claire et le système Fogstop sur le côté intérieur empêche la formation de buée sur la lentille. Les lunettes peuvent être réglées individuellement grâce à des ailettes nasales ajustables. La monture est équipée d\'un design à 2 composants pour une tenue confortable.<br>TECHNOLOGIES:     100% UV-A, -B, -C-Schutz<br>Fogstop<br>Hydrophobic Lens<br>Quattroflex Lite<br>Varioflex<br>N° art fourn : A869201',`product_name`='Alpina Lunettes Alpina HAWKEYE Q-LITE V / Black matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-hawkeye-q-lite-v-black-matt' WHERE `virtuemart_product_id` = '1862970'
2023-10-13	13:25:50	3478	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37084_lunettes_alpina_hawkeye_q-lite_v.jpg
2023-10-13	13:25:50	3478	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:50	3478	[DEBUG]	Process image file
2023-10-13	13:25:50	3478	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:50	3478	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:50	3478	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37084_lunettes_alpina_hawkeye_q-lite_v.jpg
2023-10-13	13:25:50	3478	[DEBUG]	Full name target: bcprisme/37084_lunettes_alpina_hawkeye_q-lite_v.jpg
2023-10-13	13:25:51	3478	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:51	3478	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37084_lunettes_alpina_hawkeye_q-lite_v.jpg'
2023-10-13	13:25:51	3478	[DEBUG]	Query for Media
2023-10-13	13:25:51	3478	[DEBUG]	Executed store
2023-10-13	13:25:51	3478	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37084_lunettes_alpina_hawkeye_q-lite_v.jpg',`file_url_thumb`='bcprisme/37084_lunettes_alpina_hawkeye_q-lite_v.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '831076'
2023-10-13	13:25:51	3478	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:51	3478	[DEBUG]	Executed store
2023-10-13	13:25:51	3478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862970','831076','1')
2023-10-13	13:25:51	3478	[DEBUG]	Store product image relation
2023-10-13	13:25:51	3478	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:51	3478	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862970 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:51	3478	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:51	3478	[DEBUG]	Executed store
2023-10-13	13:25:51	3478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862970','0','203.342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:51	3478	[DEBUG]	Checking manufacturer
2023-10-13	13:25:51	3478	[DEBUG]	Load a row
2023-10-13	13:25:51	3478	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:51	3478	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:51	3478	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:51	3478	[DEBUG]	Executed store
2023-10-13	13:25:51	3478	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:51	3478	[DEBUG]	Manufacturer exists
2023-10-13	13:25:51	3478	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:51	3478	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:51	3478	[DEBUG]	Executed store
2023-10-13	13:25:51	3478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862970','171')
2023-10-13	13:25:51	3478	[DEBUG]	Find the custom field ID
2023-10-13	13:25:51	3478	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:51	3478	[DEBUG]	No custom field ID found
2023-10-13	13:25:51	3478	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:51	3478	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:51	3478	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862970 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:51	3478	[DEBUG]	Store custom available field
2023-10-13	13:25:51	3478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862970,3,'69.7058333333334',1)
2023-10-13	13:25:51	3478	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:51	3478	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:51	3478	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862970 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:51	3478	[DEBUG]	Store custom available field
2023-10-13	13:25:51	3478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862970,6,'choisir la taille',3)
2023-10-13	13:25:51	3478	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:51	3478	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:51	3478	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:51	3478	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:51	3478	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862970 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:51	3478	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:51	3478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862970,8,1)
2023-10-13	13:25:51	3478	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:51	3478	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862970\":[1862970,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862970
2023-10-13	13:25:51	3478	[DEBUG]	Checking category
2023-10-13	13:25:51	3478	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:51	3478	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862970
2023-10-13	13:25:51	3478	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:51	3478	[DEBUG]	Executed store
2023-10-13	13:25:51	3478	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862970','7378')
2023-10-13	13:25:51	3478	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:51	3478	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862970 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:51	3478	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:51	3478	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862970
2023-10-13	13:25:51	3479	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:51	3479	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:51	3479	[DEBUG]	Use field value for field taille
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:51	3479	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:51	3479	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:51	3479	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:51	3479	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:51	3479	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:51	3479	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:51	3479	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:51	3479	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:51	3479	[DEBUG]	Use field value for field published
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:51	3479	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field override
2023-10-13	13:25:51	3479	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:51	3479	[DEBUG]	Use field value for field slug
2023-10-13	13:25:51	3479	[DEBUG]	Process line 3479
2023-10-13	13:25:51	3479	[DEBUG]	Load a row
2023-10-13	13:25:51	3479	[DEBUG]	Processing item: 4003692311535
2023-10-13	13:25:51	3479	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:51	3479	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:51	3479	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8417_275'
2023-10-13	13:25:51	3479	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:51	3479	[DEBUG]	Processing product tax
2023-10-13	13:25:51	3479	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:51	3479	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:51	3479	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:51	3479	[DEBUG]	Query for Product
2023-10-13	13:25:51	3479	[DEBUG]	Executed store
2023-10-13	13:25:51	3479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862970','4003692311535','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:51	3479	[DEBUG]	No parent found
2023-10-13	13:25:51	3479	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862970 AND customfield_value = 'stockable'
2023-10-13	13:25:51	3479	[DEBUG]	Check product language entry
2023-10-13	13:25:51	3479	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862971
2023-10-13	13:25:51	3479	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:51	3479	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003692311535' AND `virtuemart_product_id` != 1862971
2023-10-13	13:25:51	3479	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:51	3479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862971, '4003692311535')
2023-10-13	13:25:51	3479	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:51	3479	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-hawkeye-q-lite-v-black-matt-unitaire' AND `virtuemart_product_id` != 1862971
2023-10-13	13:25:51	3479	[DEBUG]	Query for ProductLang
2023-10-13	13:25:51	3479	[DEBUG]	Executed store
2023-10-13	13:25:51	3479	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Lunettes Alpina HAWKEYE Q-LITE V / Black matt (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-hawkeye-q-lite-v-black-matt-unitaire' WHERE `virtuemart_product_id` = '1862971'
2023-10-13	13:25:51	3479	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37084_lunettes_alpina_hawkeye_q-lite_v.jpg
2023-10-13	13:25:51	3479	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:51	3479	[DEBUG]	Process image file
2023-10-13	13:25:51	3479	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:51	3479	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:51	3479	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37084_lunettes_alpina_hawkeye_q-lite_v.jpg
2023-10-13	13:25:51	3479	[DEBUG]	Full name target: bcprisme/37084_lunettes_alpina_hawkeye_q-lite_v.jpg
2023-10-13	13:25:52	3479	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:52	3479	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37084_lunettes_alpina_hawkeye_q-lite_v.jpg'
2023-10-13	13:25:52	3479	[DEBUG]	Query for Media
2023-10-13	13:25:52	3479	[DEBUG]	Executed store
2023-10-13	13:25:52	3479	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37084_lunettes_alpina_hawkeye_q-lite_v.jpg',`file_url_thumb`='bcprisme/37084_lunettes_alpina_hawkeye_q-lite_v.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '831076'
2023-10-13	13:25:52	3479	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:52	3479	[DEBUG]	Executed store
2023-10-13	13:25:52	3479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862971','831076','1')
2023-10-13	13:25:52	3479	[DEBUG]	Store product image relation
2023-10-13	13:25:52	3479	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:52	3479	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862971 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:52	3479	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:52	3479	[DEBUG]	Executed store
2023-10-13	13:25:52	3479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862971','0','203.342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:52	3479	[DEBUG]	Checking manufacturer
2023-10-13	13:25:52	3479	[DEBUG]	Load a row
2023-10-13	13:25:52	3479	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:52	3479	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:52	3479	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:52	3479	[DEBUG]	Executed store
2023-10-13	13:25:52	3479	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:52	3479	[DEBUG]	Manufacturer exists
2023-10-13	13:25:52	3479	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:52	3479	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:52	3479	[DEBUG]	Executed store
2023-10-13	13:25:52	3479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862971','171')
2023-10-13	13:25:52	3479	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:52	3479	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:52	3479	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862971 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:52	3479	[DEBUG]	Store custom available field
2023-10-13	13:25:52	3479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862971,3,'',1)
2023-10-13	13:25:52	3479	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:52	3479	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:52	3479	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862971 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:52	3479	[DEBUG]	Store custom available field
2023-10-13	13:25:52	3479	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862971,6,'Unitaire',3)
2023-10-13	13:25:52	3479	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:52	3479	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:52	3479	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862970
2023-10-13	13:25:52	3479	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:52	3479	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862970\":[1862970,8,1,\"choisir la taille\"],\"1862971\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862970
2023-10-13	13:25:52	3479	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:52	3479	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862971
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:52	3480	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field taille
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:52	3480	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:52	3480	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:52	3480	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:52	3480	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:52	3480	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:52	3480	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field published
2023-10-13	13:25:52	3480	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:52	3480	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field override
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:52	3480	[DEBUG]	Use field value for field slug
2023-10-13	13:25:52	3480	[DEBUG]	Process line 3480
2023-10-13	13:25:52	3480	[DEBUG]	Load a row
2023-10-13	13:25:52	3480	[DEBUG]	Processing item: A_8417_681
2023-10-13	13:25:52	3480	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:52	3480	[DEBUG]	Processing product tax
2023-10-13	13:25:52	3480	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:52	3480	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:52	3480	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:52	3480	[DEBUG]	Query for Product
2023-10-13	13:25:52	3480	[DEBUG]	Executed store
2023-10-13	13:25:52	3480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8417_681','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:52	3480	[DEBUG]	Check product language entry
2023-10-13	13:25:52	3480	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862972
2023-10-13	13:25:52	3480	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:52	3480	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8417_681' AND `virtuemart_product_id` != 1862972
2023-10-13	13:25:52	3480	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:52	3480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862972, 'A_8417_681')
2023-10-13	13:25:52	3480	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:52	3480	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-hawkeye-q-lite-v-olive-matt' AND `virtuemart_product_id` != 1862972
2023-10-13	13:25:52	3480	[DEBUG]	Query for ProductLang
2023-10-13	13:25:52	3480	[DEBUG]	Executed store
2023-10-13	13:25:52	3480	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Les verres Hawkeye peuvent être équipés en option des technologies de pointe QV (forte amélioration du contraste, polarisation et teinte automatique), Q-LITE V (amélioration du contraste et teinte automatique) et Q-LITE (amélioration du contraste). Un revêtement hydrophobe garantit une vision claire et le système Fogstop sur le côté intérieur empêche la formation de buée sur la lentille. Les lunettes peuvent être réglées individuellement grâce à des ailettes nasales ajustables. La monture est équipée d\'un design à 2 composants pour une tenue confortable.<br>TECHNOLOGIES:     100% UV-A, -B, -C-Schutz<br>Fogstop<br>Hydrophobic Lens<br>Quattroflex Lite<br>Varioflex<br>N° art fourn : A869201',`product_name`='Alpina Lunettes Alpina HAWKEYE Q-LITE V / Olive Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-hawkeye-q-lite-v-olive-matt' WHERE `virtuemart_product_id` = '1862972'
2023-10-13	13:25:52	3480	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37085_lunettes_alpina_hawkeye_q-lite_v.jpg
2023-10-13	13:25:52	3480	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:52	3480	[DEBUG]	Process image file
2023-10-13	13:25:52	3480	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:52	3480	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:52	3480	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37085_lunettes_alpina_hawkeye_q-lite_v.jpg
2023-10-13	13:25:52	3480	[DEBUG]	Full name target: bcprisme/37085_lunettes_alpina_hawkeye_q-lite_v.jpg
2023-10-13	13:25:53	3480	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:53	3480	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37085_lunettes_alpina_hawkeye_q-lite_v.jpg'
2023-10-13	13:25:53	3480	[DEBUG]	Query for Media
2023-10-13	13:25:53	3480	[DEBUG]	Executed store
2023-10-13	13:25:53	3480	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37085_lunettes_alpina_hawkeye_q-lite_v.jpg',`file_url_thumb`='bcprisme/37085_lunettes_alpina_hawkeye_q-lite_v.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '831078'
2023-10-13	13:25:53	3480	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:53	3480	[DEBUG]	Executed store
2023-10-13	13:25:53	3480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862972','831078','1')
2023-10-13	13:25:53	3480	[DEBUG]	Store product image relation
2023-10-13	13:25:53	3480	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:53	3480	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862972 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:53	3480	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:53	3480	[DEBUG]	Executed store
2023-10-13	13:25:53	3480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862972','0','203.342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:53	3480	[DEBUG]	Checking manufacturer
2023-10-13	13:25:53	3480	[DEBUG]	Load a row
2023-10-13	13:25:53	3480	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:53	3480	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:53	3480	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:53	3480	[DEBUG]	Executed store
2023-10-13	13:25:53	3480	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:53	3480	[DEBUG]	Manufacturer exists
2023-10-13	13:25:53	3480	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:53	3480	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:53	3480	[DEBUG]	Executed store
2023-10-13	13:25:53	3480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862972','171')
2023-10-13	13:25:53	3480	[DEBUG]	Find the custom field ID
2023-10-13	13:25:53	3480	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:53	3480	[DEBUG]	No custom field ID found
2023-10-13	13:25:53	3480	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:53	3480	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:53	3480	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862972 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:53	3480	[DEBUG]	Store custom available field
2023-10-13	13:25:53	3480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862972,3,'69.7058333333334',1)
2023-10-13	13:25:53	3480	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:53	3480	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:53	3480	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862972 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:53	3480	[DEBUG]	Store custom available field
2023-10-13	13:25:53	3480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862972,6,'choisir la taille',3)
2023-10-13	13:25:53	3480	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:53	3480	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:53	3480	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:53	3480	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:53	3480	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862972 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:53	3480	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:53	3480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862972,8,1)
2023-10-13	13:25:53	3480	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:53	3480	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862972\":[1862972,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862972
2023-10-13	13:25:53	3480	[DEBUG]	Checking category
2023-10-13	13:25:53	3480	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:53	3480	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862972
2023-10-13	13:25:53	3480	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:53	3480	[DEBUG]	Executed store
2023-10-13	13:25:53	3480	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862972','7378')
2023-10-13	13:25:53	3480	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:53	3480	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862972 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:53	3480	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:53	3480	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862972
2023-10-13	13:25:53	3481	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:53	3481	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:53	3481	[DEBUG]	Use field value for field taille
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:53	3481	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:53	3481	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:53	3481	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:53	3481	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:53	3481	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:53	3481	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:53	3481	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:53	3481	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:53	3481	[DEBUG]	Use field value for field published
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:53	3481	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field override
2023-10-13	13:25:53	3481	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:53	3481	[DEBUG]	Use field value for field slug
2023-10-13	13:25:53	3481	[DEBUG]	Process line 3481
2023-10-13	13:25:53	3481	[DEBUG]	Load a row
2023-10-13	13:25:53	3481	[DEBUG]	Processing item: 4003692311542
2023-10-13	13:25:53	3481	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:53	3481	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:53	3481	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8417_681'
2023-10-13	13:25:53	3481	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:53	3481	[DEBUG]	Processing product tax
2023-10-13	13:25:53	3481	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:53	3481	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:53	3481	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:53	3481	[DEBUG]	Query for Product
2023-10-13	13:25:53	3481	[DEBUG]	Executed store
2023-10-13	13:25:53	3481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862972','4003692311542','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:53	3481	[DEBUG]	No parent found
2023-10-13	13:25:53	3481	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862972 AND customfield_value = 'stockable'
2023-10-13	13:25:53	3481	[DEBUG]	Check product language entry
2023-10-13	13:25:53	3481	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862973
2023-10-13	13:25:53	3481	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:53	3481	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003692311542' AND `virtuemart_product_id` != 1862973
2023-10-13	13:25:53	3481	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:53	3481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862973, '4003692311542')
2023-10-13	13:25:53	3481	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:53	3481	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-hawkeye-q-lite-v-olive-matt-unitaire' AND `virtuemart_product_id` != 1862973
2023-10-13	13:25:53	3481	[DEBUG]	Query for ProductLang
2023-10-13	13:25:53	3481	[DEBUG]	Executed store
2023-10-13	13:25:54	3481	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Lunettes Alpina HAWKEYE Q-LITE V / Olive Matt (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-hawkeye-q-lite-v-olive-matt-unitaire' WHERE `virtuemart_product_id` = '1862973'
2023-10-13	13:25:54	3481	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37085_lunettes_alpina_hawkeye_q-lite_v.jpg
2023-10-13	13:25:54	3481	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:54	3481	[DEBUG]	Process image file
2023-10-13	13:25:54	3481	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:54	3481	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:54	3481	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37085_lunettes_alpina_hawkeye_q-lite_v.jpg
2023-10-13	13:25:54	3481	[DEBUG]	Full name target: bcprisme/37085_lunettes_alpina_hawkeye_q-lite_v.jpg
2023-10-13	13:25:54	3481	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:54	3481	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37085_lunettes_alpina_hawkeye_q-lite_v.jpg'
2023-10-13	13:25:54	3481	[DEBUG]	Query for Media
2023-10-13	13:25:54	3481	[DEBUG]	Executed store
2023-10-13	13:25:54	3481	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37085_lunettes_alpina_hawkeye_q-lite_v.jpg',`file_url_thumb`='bcprisme/37085_lunettes_alpina_hawkeye_q-lite_v.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '831078'
2023-10-13	13:25:54	3481	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:54	3481	[DEBUG]	Executed store
2023-10-13	13:25:54	3481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862973','831078','1')
2023-10-13	13:25:54	3481	[DEBUG]	Store product image relation
2023-10-13	13:25:54	3481	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:54	3481	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862973 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:54	3481	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:54	3481	[DEBUG]	Executed store
2023-10-13	13:25:54	3481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862973','0','203.342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:54	3481	[DEBUG]	Checking manufacturer
2023-10-13	13:25:54	3481	[DEBUG]	Load a row
2023-10-13	13:25:54	3481	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:54	3481	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:54	3481	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:54	3481	[DEBUG]	Executed store
2023-10-13	13:25:54	3481	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:54	3481	[DEBUG]	Manufacturer exists
2023-10-13	13:25:54	3481	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:54	3481	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:54	3481	[DEBUG]	Executed store
2023-10-13	13:25:54	3481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862973','171')
2023-10-13	13:25:54	3481	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:54	3481	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:54	3481	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862973 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:54	3481	[DEBUG]	Store custom available field
2023-10-13	13:25:54	3481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862973,3,'',1)
2023-10-13	13:25:54	3481	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:54	3481	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:54	3481	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862973 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:54	3481	[DEBUG]	Store custom available field
2023-10-13	13:25:54	3481	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862973,6,'Unitaire',3)
2023-10-13	13:25:54	3481	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:54	3481	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:54	3481	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862972
2023-10-13	13:25:54	3481	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:54	3481	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862972\":[1862972,8,1,\"choisir la taille\"],\"1862973\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862972
2023-10-13	13:25:54	3481	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:54	3481	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862973
2023-10-13	13:25:54	3482	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:54	3482	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field taille
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:55	3482	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:55	3482	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:55	3482	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:55	3482	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:55	3482	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:55	3482	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field published
2023-10-13	13:25:55	3482	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:55	3482	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field override
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:55	3482	[DEBUG]	Use field value for field slug
2023-10-13	13:25:55	3482	[DEBUG]	Process line 3482
2023-10-13	13:25:55	3482	[DEBUG]	Load a row
2023-10-13	13:25:55	3482	[DEBUG]	Processing item: A_9384_681
2023-10-13	13:25:55	3482	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:55	3482	[DEBUG]	Processing product tax
2023-10-13	13:25:55	3482	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:55	3482	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:55	3482	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:55	3482	[DEBUG]	Query for Product
2023-10-13	13:25:55	3482	[DEBUG]	Executed store
2023-10-13	13:25:55	3482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9384_681','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:55	3482	[DEBUG]	Check product language entry
2023-10-13	13:25:55	3482	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862974
2023-10-13	13:25:55	3482	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:55	3482	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9384_681' AND `virtuemart_product_id` != 1862974
2023-10-13	13:25:55	3482	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:55	3482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862974, 'A_9384_681')
2023-10-13	13:25:55	3482	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:55	3482	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-ram-hr-hm-olive-matt' AND `virtuemart_product_id` != 1862974
2023-10-13	13:25:55	3482	[DEBUG]	Query for ProductLang
2023-10-13	13:25:55	3482	[DEBUG]	Executed store
2023-10-13	13:25:55	3482	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plus grandes, plus légères, meilleures, RAM. Les nouvelles lunettes d’enduro d’ALPINA est un produit phare en termes d’esthétique. Le design original, le style moderne et la légèreté, non seulement de par sa forme mais aussi par son poids, les lunettes ALPINA RAM sont bien plus qu’un simple outil à la performance. Avec les ALPINA RAM, on a envie d’être vu. La technologie augmente le contraste, accentue les couleurs et offre une vision plus nette. Cela permet aux yeux de subir moins de fatigue en focalisant un point et d’augmenter la performance visuelle dans des moments décisifs. Avec les plaquettes déformables à froid, les ALPINA RAM offrent un ajustement optimal à chaque forme de nez. Avec leurs branches caoutchoutées, les lunettes de sport offrent une tenue confortable et sûre.<br>N° art fourn : A8675081',`product_name`='Alpina Lunettes Alpina Ram HR HM+ / Olive Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-ram-hr-hm-olive-matt' WHERE `virtuemart_product_id` = '1862974'
2023-10-13	13:25:55	3482	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38571_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:25:55	3482	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:55	3482	[DEBUG]	Process image file
2023-10-13	13:25:55	3482	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:55	3482	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:55	3482	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38571_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:25:55	3482	[DEBUG]	Full name target: bcprisme/38571_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:25:55	3482	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:55	3482	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38571_lunettes_alpina_ram_hr_hm+.jpg'
2023-10-13	13:25:55	3482	[DEBUG]	Query for Media
2023-10-13	13:25:55	3482	[DEBUG]	Executed store
2023-10-13	13:25:55	3482	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38571_lunettes_alpina_ram_hr_hm+.jpg',`file_url_thumb`='bcprisme/38571_lunettes_alpina_ram_hr_hm+.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412847'
2023-10-13	13:25:55	3482	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:55	3482	[DEBUG]	Executed store
2023-10-13	13:25:55	3482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862974','1412847','1')
2023-10-13	13:25:55	3482	[DEBUG]	Store product image relation
2023-10-13	13:25:56	3482	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:56	3482	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862974 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:56	3482	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:56	3482	[DEBUG]	Executed store
2023-10-13	13:25:56	3482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862974','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:56	3482	[DEBUG]	Checking manufacturer
2023-10-13	13:25:56	3482	[DEBUG]	Load a row
2023-10-13	13:25:56	3482	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:56	3482	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:56	3482	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:56	3482	[DEBUG]	Executed store
2023-10-13	13:25:56	3482	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:56	3482	[DEBUG]	Manufacturer exists
2023-10-13	13:25:56	3482	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:56	3482	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:56	3482	[DEBUG]	Executed store
2023-10-13	13:25:56	3482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862974','171')
2023-10-13	13:25:56	3482	[DEBUG]	Find the custom field ID
2023-10-13	13:25:56	3482	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:56	3482	[DEBUG]	No custom field ID found
2023-10-13	13:25:56	3482	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:56	3482	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:56	3482	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862974 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:56	3482	[DEBUG]	Store custom available field
2023-10-13	13:25:56	3482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862974,3,'69.7058333333334',1)
2023-10-13	13:25:56	3482	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:56	3482	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:56	3482	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862974 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:56	3482	[DEBUG]	Store custom available field
2023-10-13	13:25:56	3482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862974,6,'choisir la taille',3)
2023-10-13	13:25:56	3482	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:56	3482	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:56	3482	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:56	3482	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:56	3482	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862974 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:56	3482	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:56	3482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862974,8,1)
2023-10-13	13:25:56	3482	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:56	3482	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862974\":[1862974,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862974
2023-10-13	13:25:56	3482	[DEBUG]	Checking category
2023-10-13	13:25:56	3482	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:56	3482	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862974
2023-10-13	13:25:56	3482	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:56	3482	[DEBUG]	Executed store
2023-10-13	13:25:56	3482	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862974','7378')
2023-10-13	13:25:56	3482	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:56	3482	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862974 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:56	3482	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:56	3482	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862974
2023-10-13	13:25:56	3483	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:56	3483	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:56	3483	[DEBUG]	Use field value for field taille
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:56	3483	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:56	3483	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:56	3483	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:56	3483	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:56	3483	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:56	3483	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:56	3483	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:56	3483	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:56	3483	[DEBUG]	Use field value for field published
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:56	3483	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field override
2023-10-13	13:25:56	3483	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:56	3483	[DEBUG]	Use field value for field slug
2023-10-13	13:25:56	3483	[DEBUG]	Process line 3483
2023-10-13	13:25:56	3483	[DEBUG]	Load a row
2023-10-13	13:25:56	3483	[DEBUG]	Processing item: 4003692311290
2023-10-13	13:25:56	3483	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:56	3483	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:56	3483	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9384_681'
2023-10-13	13:25:56	3483	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:56	3483	[DEBUG]	Processing product tax
2023-10-13	13:25:56	3483	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:56	3483	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:56	3483	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:56	3483	[DEBUG]	Query for Product
2023-10-13	13:25:56	3483	[DEBUG]	Executed store
2023-10-13	13:25:56	3483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862974','4003692311290','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:56	3483	[DEBUG]	No parent found
2023-10-13	13:25:56	3483	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862974 AND customfield_value = 'stockable'
2023-10-13	13:25:56	3483	[DEBUG]	Check product language entry
2023-10-13	13:25:56	3483	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862975
2023-10-13	13:25:56	3483	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:56	3483	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003692311290' AND `virtuemart_product_id` != 1862975
2023-10-13	13:25:56	3483	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:56	3483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862975, '4003692311290')
2023-10-13	13:25:56	3483	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:56	3483	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-ram-hr-hm-olive-matt-unitaire' AND `virtuemart_product_id` != 1862975
2023-10-13	13:25:56	3483	[DEBUG]	Query for ProductLang
2023-10-13	13:25:56	3483	[DEBUG]	Executed store
2023-10-13	13:25:56	3483	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Lunettes Alpina Ram HR HM+ / Olive Matt (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-ram-hr-hm-olive-matt-unitaire' WHERE `virtuemart_product_id` = '1862975'
2023-10-13	13:25:56	3483	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38571_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:25:56	3483	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:56	3483	[DEBUG]	Process image file
2023-10-13	13:25:56	3483	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:56	3483	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:56	3483	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38571_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:25:56	3483	[DEBUG]	Full name target: bcprisme/38571_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:25:57	3483	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:57	3483	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38571_lunettes_alpina_ram_hr_hm+.jpg'
2023-10-13	13:25:57	3483	[DEBUG]	Query for Media
2023-10-13	13:25:57	3483	[DEBUG]	Executed store
2023-10-13	13:25:57	3483	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38571_lunettes_alpina_ram_hr_hm+.jpg',`file_url_thumb`='bcprisme/38571_lunettes_alpina_ram_hr_hm+.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412847'
2023-10-13	13:25:57	3483	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:57	3483	[DEBUG]	Executed store
2023-10-13	13:25:57	3483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862975','1412847','1')
2023-10-13	13:25:57	3483	[DEBUG]	Store product image relation
2023-10-13	13:25:57	3483	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:57	3483	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862975 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:57	3483	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:57	3483	[DEBUG]	Executed store
2023-10-13	13:25:57	3483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862975','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:57	3483	[DEBUG]	Checking manufacturer
2023-10-13	13:25:57	3483	[DEBUG]	Load a row
2023-10-13	13:25:57	3483	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:57	3483	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:57	3483	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:57	3483	[DEBUG]	Executed store
2023-10-13	13:25:57	3483	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:57	3483	[DEBUG]	Manufacturer exists
2023-10-13	13:25:57	3483	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:57	3483	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:57	3483	[DEBUG]	Executed store
2023-10-13	13:25:57	3483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862975','171')
2023-10-13	13:25:57	3483	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:57	3483	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:57	3483	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862975 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:57	3483	[DEBUG]	Store custom available field
2023-10-13	13:25:57	3483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862975,3,'',1)
2023-10-13	13:25:57	3483	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:57	3483	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:57	3483	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862975 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:57	3483	[DEBUG]	Store custom available field
2023-10-13	13:25:57	3483	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862975,6,'Unitaire',3)
2023-10-13	13:25:57	3483	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:57	3483	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:57	3483	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862974
2023-10-13	13:25:57	3483	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:57	3483	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862974\":[1862974,8,1,\"choisir la taille\"],\"1862975\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862974
2023-10-13	13:25:57	3483	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:57	3483	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862975
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:57	3484	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field taille
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:57	3484	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:57	3484	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:57	3484	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:57	3484	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:57	3484	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:57	3484	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field published
2023-10-13	13:25:57	3484	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:57	3484	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field override
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:57	3484	[DEBUG]	Use field value for field slug
2023-10-13	13:25:57	3484	[DEBUG]	Process line 3484
2023-10-13	13:25:57	3484	[DEBUG]	Load a row
2023-10-13	13:25:57	3484	[DEBUG]	Processing item: A_9384_777
2023-10-13	13:25:57	3484	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:57	3484	[DEBUG]	Processing product tax
2023-10-13	13:25:57	3484	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:57	3484	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:57	3484	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:57	3484	[DEBUG]	Query for Product
2023-10-13	13:25:57	3484	[DEBUG]	Executed store
2023-10-13	13:25:57	3484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9384_777','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:57	3484	[DEBUG]	Check product language entry
2023-10-13	13:25:57	3484	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862976
2023-10-13	13:25:57	3484	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:57	3484	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9384_777' AND `virtuemart_product_id` != 1862976
2023-10-13	13:25:57	3484	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:57	3484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862976, 'A_9384_777')
2023-10-13	13:25:57	3484	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:57	3484	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-ram-hr-hm-dirt-blue-matt' AND `virtuemart_product_id` != 1862976
2023-10-13	13:25:57	3484	[DEBUG]	Query for ProductLang
2023-10-13	13:25:57	3484	[DEBUG]	Executed store
2023-10-13	13:25:57	3484	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plus grandes, plus légères, meilleures, RAM. Les nouvelles lunettes d’enduro d’ALPINA est un produit phare en termes d’esthétique. Le design original, le style moderne et la légèreté, non seulement de par sa forme mais aussi par son poids, les lunettes ALPINA RAM sont bien plus qu’un simple outil à la performance. Avec les ALPINA RAM, on a envie d’être vu. La technologie augmente le contraste, accentue les couleurs et offre une vision plus nette. Cela permet aux yeux de subir moins de fatigue en focalisant un point et d’augmenter la performance visuelle dans des moments décisifs. Avec les plaquettes déformables à froid, les ALPINA RAM offrent un ajustement optimal à chaque forme de nez. Avec leurs branches caoutchoutées, les lunettes de sport offrent une tenue confortable et sûre.<br>N° art fourn : A8675081',`product_name`='Alpina Lunettes Alpina Ram HR HM+ / dirt-blue-matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-ram-hr-hm-dirt-blue-matt' WHERE `virtuemart_product_id` = '1862976'
2023-10-13	13:25:57	3484	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38565_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:25:57	3484	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:57	3484	[DEBUG]	Process image file
2023-10-13	13:25:57	3484	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:57	3484	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:57	3484	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38565_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:25:57	3484	[DEBUG]	Full name target: bcprisme/38565_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:25:58	3484	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:58	3484	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38565_lunettes_alpina_ram_hr_hm+.jpg'
2023-10-13	13:25:58	3484	[DEBUG]	Query for Media
2023-10-13	13:25:58	3484	[DEBUG]	Executed store
2023-10-13	13:25:58	3484	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38565_lunettes_alpina_ram_hr_hm+.jpg',`file_url_thumb`='bcprisme/38565_lunettes_alpina_ram_hr_hm+.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412849'
2023-10-13	13:25:58	3484	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:58	3484	[DEBUG]	Executed store
2023-10-13	13:25:58	3484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862976','1412849','1')
2023-10-13	13:25:58	3484	[DEBUG]	Store product image relation
2023-10-13	13:25:58	3484	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:58	3484	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862976 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:58	3484	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:58	3484	[DEBUG]	Executed store
2023-10-13	13:25:58	3484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862976','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:58	3484	[DEBUG]	Checking manufacturer
2023-10-13	13:25:58	3484	[DEBUG]	Load a row
2023-10-13	13:25:58	3484	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:58	3484	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:58	3484	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:58	3484	[DEBUG]	Executed store
2023-10-13	13:25:58	3484	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:58	3484	[DEBUG]	Manufacturer exists
2023-10-13	13:25:58	3484	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:58	3484	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:58	3484	[DEBUG]	Executed store
2023-10-13	13:25:58	3484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862976','171')
2023-10-13	13:25:58	3484	[DEBUG]	Find the custom field ID
2023-10-13	13:25:58	3484	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:25:58	3484	[DEBUG]	No custom field ID found
2023-10-13	13:25:58	3484	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:58	3484	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:25:58	3484	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862976 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:58	3484	[DEBUG]	Store custom available field
2023-10-13	13:25:58	3484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862976,3,'69.7058333333334',1)
2023-10-13	13:25:58	3484	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:58	3484	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:25:58	3484	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862976 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:58	3484	[DEBUG]	Store custom available field
2023-10-13	13:25:58	3484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862976,6,'choisir la taille',3)
2023-10-13	13:25:58	3484	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:58	3484	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:25:58	3484	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:25:58	3484	[DEBUG]	Find the multi variant product entry
2023-10-13	13:25:58	3484	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862976 AND `virtuemart_custom_id` = 8
2023-10-13	13:25:58	3484	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:25:58	3484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862976,8,1)
2023-10-13	13:25:58	3484	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:58	3484	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862976\":[1862976,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862976
2023-10-13	13:25:58	3484	[DEBUG]	Checking category
2023-10-13	13:25:58	3484	[DEBUG]	Get the existing categories for the product
2023-10-13	13:25:58	3484	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862976
2023-10-13	13:25:58	3484	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:25:58	3484	[DEBUG]	Executed store
2023-10-13	13:25:58	3484	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862976','7378')
2023-10-13	13:25:58	3484	[DEBUG]	Delete leftover product categories
2023-10-13	13:25:58	3484	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862976 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:25:58	3484	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:58	3484	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862976
2023-10-13	13:25:58	3485	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:58	3485	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:25:58	3485	[DEBUG]	Use field value for field taille
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:25:58	3485	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field category_path
2023-10-13	13:25:58	3485	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:58	3485	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:58	3485	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:58	3485	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:25:58	3485	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field product_weight
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:58	3485	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:58	3485	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:58	3485	[DEBUG]	Use field value for field published
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field custom_title
2023-10-13	13:25:58	3485	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field custom_param
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field override
2023-10-13	13:25:58	3485	[DEBUG]	Use default value for field public_price
2023-10-13	13:25:58	3485	[DEBUG]	Use field value for field slug
2023-10-13	13:25:58	3485	[DEBUG]	Process line 3485
2023-10-13	13:25:58	3485	[DEBUG]	Load a row
2023-10-13	13:25:58	3485	[DEBUG]	Processing item: 1000000237375
2023-10-13	13:25:58	3485	[DEBUG]	Looking for parent SKU
2023-10-13	13:25:58	3485	[DEBUG]	Checking product parent SKU
2023-10-13	13:25:58	3485	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9384_777'
2023-10-13	13:25:58	3485	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:58	3485	[DEBUG]	Processing product tax
2023-10-13	13:25:58	3485	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:58	3485	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:58	3485	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:58	3485	[DEBUG]	Query for Product
2023-10-13	13:25:58	3485	[DEBUG]	Executed store
2023-10-13	13:25:58	3485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862976','1000000237375','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:58	3485	[DEBUG]	No parent found
2023-10-13	13:25:58	3485	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862976 AND customfield_value = 'stockable'
2023-10-13	13:25:58	3485	[DEBUG]	Check product language entry
2023-10-13	13:25:58	3485	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862977
2023-10-13	13:25:58	3485	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:58	3485	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000237375' AND `virtuemart_product_id` != 1862977
2023-10-13	13:25:58	3485	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:58	3485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862977, '1000000237375')
2023-10-13	13:25:58	3485	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:58	3485	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-ram-hr-hm-dirt-blue-matt-unitaire' AND `virtuemart_product_id` != 1862977
2023-10-13	13:25:58	3485	[DEBUG]	Query for ProductLang
2023-10-13	13:25:58	3485	[DEBUG]	Executed store
2023-10-13	13:25:58	3485	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Lunettes Alpina Ram HR HM+ / dirt-blue-matt (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-ram-hr-hm-dirt-blue-matt-unitaire' WHERE `virtuemart_product_id` = '1862977'
2023-10-13	13:25:58	3485	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38565_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:25:58	3485	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:58	3485	[DEBUG]	Process image file
2023-10-13	13:25:58	3485	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:58	3485	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:58	3485	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38565_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:25:58	3485	[DEBUG]	Full name target: bcprisme/38565_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:25:59	3485	[DEBUG]	Checking if the file_url exists
2023-10-13	13:25:59	3485	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38565_lunettes_alpina_ram_hr_hm+.jpg'
2023-10-13	13:25:59	3485	[DEBUG]	Query for Media
2023-10-13	13:25:59	3485	[DEBUG]	Executed store
2023-10-13	13:25:59	3485	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38565_lunettes_alpina_ram_hr_hm+.jpg',`file_url_thumb`='bcprisme/38565_lunettes_alpina_ram_hr_hm+.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412849'
2023-10-13	13:25:59	3485	[DEBUG]	Query for ProductMedia
2023-10-13	13:25:59	3485	[DEBUG]	Executed store
2023-10-13	13:25:59	3485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862977','1412849','1')
2023-10-13	13:25:59	3485	[DEBUG]	Store product image relation
2023-10-13	13:25:59	3485	[DEBUG]	Finding a product_price_id
2023-10-13	13:25:59	3485	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862977 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:25:59	3485	[DEBUG]	Query for ProductPrice
2023-10-13	13:25:59	3485	[DEBUG]	Executed store
2023-10-13	13:25:59	3485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862977','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:25:59	3485	[DEBUG]	Checking manufacturer
2023-10-13	13:25:59	3485	[DEBUG]	Load a row
2023-10-13	13:25:59	3485	[DEBUG]	Manufacturer already exists
2023-10-13	13:25:59	3485	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:59	3485	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:25:59	3485	[DEBUG]	Executed store
2023-10-13	13:25:59	3485	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:25:59	3485	[DEBUG]	Manufacturer exists
2023-10-13	13:25:59	3485	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:25:59	3485	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:25:59	3485	[DEBUG]	Executed store
2023-10-13	13:25:59	3485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862977','171')
2023-10-13	13:25:59	3485	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:25:59	3485	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:25:59	3485	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862977 AND `virtuemart_custom_id` = 3
2023-10-13	13:25:59	3485	[DEBUG]	Store custom available field
2023-10-13	13:25:59	3485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862977,3,'',1)
2023-10-13	13:25:59	3485	[DEBUG]	Processing custom available field: taille
2023-10-13	13:25:59	3485	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:25:59	3485	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862977 AND `virtuemart_custom_id` = 6
2023-10-13	13:25:59	3485	[DEBUG]	Store custom available field
2023-10-13	13:25:59	3485	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862977,6,'Unitaire',3)
2023-10-13	13:25:59	3485	[DEBUG]	Process multi-variant fields
2023-10-13	13:25:59	3485	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:25:59	3485	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862976
2023-10-13	13:25:59	3485	[DEBUG]	Store the updated customfield_params
2023-10-13	13:25:59	3485	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862976\":[1862976,8,1,\"choisir la taille\"],\"1862977\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862976
2023-10-13	13:25:59	3485	[DEBUG]	Update has fields after all processing
2023-10-13	13:25:59	3485	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862977
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field product_sku
2023-10-13	13:25:59	3486	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field taille
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field product_name
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field category_path
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field product_price
2023-10-13	13:25:59	3486	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field product_tax
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field file_url
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:25:59	3486	[DEBUG]	Use default value for field product_desc
2023-10-13	13:25:59	3486	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field product_availability
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field product_weight
2023-10-13	13:25:59	3486	[DEBUG]	Use default value for field product_unit
2023-10-13	13:25:59	3486	[DEBUG]	Use default value for field related_products
2023-10-13	13:25:59	3486	[DEBUG]	Use default value for field product_special
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field published
2023-10-13	13:25:59	3486	[DEBUG]	Use default value for field metadesc
2023-10-13	13:25:59	3486	[DEBUG]	Use default value for field metakey
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field custom_title
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field custom_value
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field custom_param
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field override
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field public_price
2023-10-13	13:25:59	3486	[DEBUG]	Use field value for field slug
2023-10-13	13:25:59	3486	[DEBUG]	Process line 3486
2023-10-13	13:25:59	3486	[DEBUG]	Load a row
2023-10-13	13:25:59	3486	[DEBUG]	Processing item: A_9384_779
2023-10-13	13:25:59	3486	[DEBUG]	Product tax: 7.7
2023-10-13	13:25:59	3486	[DEBUG]	Processing product tax
2023-10-13	13:25:59	3486	[DEBUG]	Check if calculation rule exists
2023-10-13	13:25:59	3486	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:25:59	3486	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:25:59	3486	[DEBUG]	Query for Product
2023-10-13	13:25:59	3486	[DEBUG]	Executed store
2023-10-13	13:25:59	3486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9384_779','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:25:59	3486	[DEBUG]	Check product language entry
2023-10-13	13:25:59	3486	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862978
2023-10-13	13:25:59	3486	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:59	3486	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9384_779' AND `virtuemart_product_id` != 1862978
2023-10-13	13:25:59	3486	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:25:59	3486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862978, 'A_9384_779')
2023-10-13	13:25:59	3486	[DEBUG]	Check if the product slug exists
2023-10-13	13:25:59	3486	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-ram-hr-hm-light-rose-matt' AND `virtuemart_product_id` != 1862978
2023-10-13	13:25:59	3486	[DEBUG]	Query for ProductLang
2023-10-13	13:25:59	3486	[DEBUG]	Executed store
2023-10-13	13:25:59	3486	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plus grandes, plus légères, meilleures, RAM. Les nouvelles lunettes d’enduro d’ALPINA est un produit phare en termes d’esthétique. Le design original, le style moderne et la légèreté, non seulement de par sa forme mais aussi par son poids, les lunettes ALPINA RAM sont bien plus qu’un simple outil à la performance. Avec les ALPINA RAM, on a envie d’être vu. La technologie augmente le contraste, accentue les couleurs et offre une vision plus nette. Cela permet aux yeux de subir moins de fatigue en focalisant un point et d’augmenter la performance visuelle dans des moments décisifs. Avec les plaquettes déformables à froid, les ALPINA RAM offrent un ajustement optimal à chaque forme de nez. Avec leurs branches caoutchoutées, les lunettes de sport offrent une tenue confortable et sûre.<br>N° art fourn : A8675081',`product_name`='Alpina Lunettes Alpina Ram HR HM+ / Light-Rose-Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-ram-hr-hm-light-rose-matt' WHERE `virtuemart_product_id` = '1862978'
2023-10-13	13:25:59	3486	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38568_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:25:59	3486	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:59	3486	[DEBUG]	Process image file
2023-10-13	13:25:59	3486	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:25:59	3486	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:25:59	3486	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38568_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:25:59	3486	[DEBUG]	Full name target: bcprisme/38568_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:26:00	3486	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:00	3486	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38568_lunettes_alpina_ram_hr_hm+.jpg'
2023-10-13	13:26:00	3486	[DEBUG]	Query for Media
2023-10-13	13:26:00	3486	[DEBUG]	Executed store
2023-10-13	13:26:00	3486	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38568_lunettes_alpina_ram_hr_hm+.jpg',`file_url_thumb`='bcprisme/38568_lunettes_alpina_ram_hr_hm+.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412851'
2023-10-13	13:26:00	3486	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:00	3486	[DEBUG]	Executed store
2023-10-13	13:26:00	3486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862978','1412851','1')
2023-10-13	13:26:00	3486	[DEBUG]	Store product image relation
2023-10-13	13:26:00	3486	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:00	3486	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862978 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:00	3486	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:00	3486	[DEBUG]	Executed store
2023-10-13	13:26:00	3486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862978','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:00	3486	[DEBUG]	Checking manufacturer
2023-10-13	13:26:00	3486	[DEBUG]	Load a row
2023-10-13	13:26:00	3486	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:00	3486	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:00	3486	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:00	3486	[DEBUG]	Executed store
2023-10-13	13:26:00	3486	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:00	3486	[DEBUG]	Manufacturer exists
2023-10-13	13:26:00	3486	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:26:00	3486	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:00	3486	[DEBUG]	Executed store
2023-10-13	13:26:00	3486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862978','171')
2023-10-13	13:26:00	3486	[DEBUG]	Find the custom field ID
2023-10-13	13:26:00	3486	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:00	3486	[DEBUG]	No custom field ID found
2023-10-13	13:26:00	3486	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:00	3486	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:26:00	3486	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862978 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:00	3486	[DEBUG]	Store custom available field
2023-10-13	13:26:00	3486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862978,3,'69.7058333333334',1)
2023-10-13	13:26:00	3486	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:00	3486	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:00	3486	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862978 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:00	3486	[DEBUG]	Store custom available field
2023-10-13	13:26:00	3486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862978,6,'choisir la taille',3)
2023-10-13	13:26:00	3486	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:00	3486	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:00	3486	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:00	3486	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:00	3486	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862978 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:00	3486	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:00	3486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862978,8,1)
2023-10-13	13:26:00	3486	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:00	3486	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862978\":[1862978,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862978
2023-10-13	13:26:00	3486	[DEBUG]	Checking category
2023-10-13	13:26:00	3486	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:00	3486	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862978
2023-10-13	13:26:00	3486	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:00	3486	[DEBUG]	Executed store
2023-10-13	13:26:00	3486	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862978','7378')
2023-10-13	13:26:00	3486	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:00	3486	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862978 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:26:00	3486	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:00	3486	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862978
2023-10-13	13:26:00	3487	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:00	3487	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:00	3487	[DEBUG]	Use field value for field taille
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:00	3487	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:00	3487	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:00	3487	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:00	3487	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:00	3487	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:00	3487	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:00	3487	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:00	3487	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:00	3487	[DEBUG]	Use field value for field published
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:00	3487	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field override
2023-10-13	13:26:00	3487	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:00	3487	[DEBUG]	Use field value for field slug
2023-10-13	13:26:00	3487	[DEBUG]	Process line 3487
2023-10-13	13:26:00	3487	[DEBUG]	Load a row
2023-10-13	13:26:00	3487	[DEBUG]	Processing item: 1000000237382
2023-10-13	13:26:00	3487	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:00	3487	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:00	3487	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9384_779'
2023-10-13	13:26:00	3487	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:00	3487	[DEBUG]	Processing product tax
2023-10-13	13:26:00	3487	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:00	3487	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:00	3487	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:00	3487	[DEBUG]	Query for Product
2023-10-13	13:26:00	3487	[DEBUG]	Executed store
2023-10-13	13:26:00	3487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862978','1000000237382','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:26:00	3487	[DEBUG]	No parent found
2023-10-13	13:26:00	3487	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862978 AND customfield_value = 'stockable'
2023-10-13	13:26:00	3487	[DEBUG]	Check product language entry
2023-10-13	13:26:00	3487	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862979
2023-10-13	13:26:00	3487	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:00	3487	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000237382' AND `virtuemart_product_id` != 1862979
2023-10-13	13:26:00	3487	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:00	3487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862979, '1000000237382')
2023-10-13	13:26:00	3487	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:00	3487	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-ram-hr-hm-light-rose-matt-unitaire' AND `virtuemart_product_id` != 1862979
2023-10-13	13:26:00	3487	[DEBUG]	Query for ProductLang
2023-10-13	13:26:00	3487	[DEBUG]	Executed store
2023-10-13	13:26:00	3487	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Lunettes Alpina Ram HR HM+ / Light-Rose-Matt (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-ram-hr-hm-light-rose-matt-unitaire' WHERE `virtuemart_product_id` = '1862979'
2023-10-13	13:26:00	3487	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38568_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:26:00	3487	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:26:00	3487	[DEBUG]	Process image file
2023-10-13	13:26:00	3487	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:26:00	3487	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:00	3487	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38568_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:26:00	3487	[DEBUG]	Full name target: bcprisme/38568_lunettes_alpina_ram_hr_hm+.jpg
2023-10-13	13:26:01	3487	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:01	3487	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38568_lunettes_alpina_ram_hr_hm+.jpg'
2023-10-13	13:26:01	3487	[DEBUG]	Query for Media
2023-10-13	13:26:01	3487	[DEBUG]	Executed store
2023-10-13	13:26:01	3487	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38568_lunettes_alpina_ram_hr_hm+.jpg',`file_url_thumb`='bcprisme/38568_lunettes_alpina_ram_hr_hm+.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412851'
2023-10-13	13:26:01	3487	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:01	3487	[DEBUG]	Executed store
2023-10-13	13:26:01	3487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862979','1412851','1')
2023-10-13	13:26:01	3487	[DEBUG]	Store product image relation
2023-10-13	13:26:01	3487	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:01	3487	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862979 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:01	3487	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:01	3487	[DEBUG]	Executed store
2023-10-13	13:26:01	3487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862979','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:01	3487	[DEBUG]	Checking manufacturer
2023-10-13	13:26:01	3487	[DEBUG]	Load a row
2023-10-13	13:26:01	3487	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:01	3487	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:01	3487	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:01	3487	[DEBUG]	Executed store
2023-10-13	13:26:01	3487	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:01	3487	[DEBUG]	Manufacturer exists
2023-10-13	13:26:01	3487	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:26:01	3487	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:01	3487	[DEBUG]	Executed store
2023-10-13	13:26:01	3487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862979','171')
2023-10-13	13:26:01	3487	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:01	3487	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:01	3487	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862979 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:01	3487	[DEBUG]	Store custom available field
2023-10-13	13:26:01	3487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862979,3,'',1)
2023-10-13	13:26:01	3487	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:01	3487	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:26:01	3487	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862979 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:01	3487	[DEBUG]	Store custom available field
2023-10-13	13:26:01	3487	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862979,6,'Unitaire',3)
2023-10-13	13:26:01	3487	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:01	3487	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:01	3487	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862978
2023-10-13	13:26:01	3487	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:01	3487	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862978\":[1862978,8,1,\"choisir la taille\"],\"1862979\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862978
2023-10-13	13:26:01	3487	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:01	3487	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862979
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:01	3488	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field taille
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:01	3488	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:01	3488	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:01	3488	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:01	3488	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:01	3488	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:01	3488	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field published
2023-10-13	13:26:01	3488	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:01	3488	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field override
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:01	3488	[DEBUG]	Use field value for field slug
2023-10-13	13:26:01	3488	[DEBUG]	Process line 3488
2023-10-13	13:26:01	3488	[DEBUG]	Load a row
2023-10-13	13:26:01	3488	[DEBUG]	Processing item: A_9386_681
2023-10-13	13:26:01	3488	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:01	3488	[DEBUG]	Processing product tax
2023-10-13	13:26:01	3488	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:01	3488	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:01	3488	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:01	3488	[DEBUG]	Query for Product
2023-10-13	13:26:01	3488	[DEBUG]	Executed store
2023-10-13	13:26:01	3488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9386_681','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:26:01	3488	[DEBUG]	Check product language entry
2023-10-13	13:26:01	3488	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862980
2023-10-13	13:26:01	3488	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:01	3488	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9386_681' AND `virtuemart_product_id` != 1862980
2023-10-13	13:26:01	3488	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:01	3488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862980, 'A_9386_681')
2023-10-13	13:26:01	3488	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:01	3488	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-rocket-qv-olive-matt' AND `virtuemart_product_id` != 1862980
2023-10-13	13:26:01	3488	[DEBUG]	Query for ProductLang
2023-10-13	13:26:01	3488	[DEBUG]	Executed store
2023-10-13	13:26:01	3488	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='En plus de beaucoup de style, les technologies de pointe Quatttroflex et Varioflex sont installées dans le Rocket QV. Alors que Quattroflex améliore fortement le contraste et polarise, Varioflex, la technologie photochromique ALPINA, garantit que le verre s\'assombrit et s\'éclaircit automatiquement en fonction des conditions d\'éclairage. Un revêtement hydrophobe maintient l\'extérieur de la vitre propre. Fogstop empêche la vitre de s\'embuer de l\'intérieur. Les verres peuvent être ajustés individuellement via des narines réglables. Le cadre est équipé d\'une conception à 2 composants pour un ajustement confortable.<br><br>N° art fourn : A8676571',`product_name`='Alpina Lunettes Alpina Rocket QV / Olive Matt',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-rocket-qv-olive-matt' WHERE `virtuemart_product_id` = '1862980'
2023-10-13	13:26:01	3488	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38572_lunettes_alpina_rocket.jpg
2023-10-13	13:26:01	3488	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:26:01	3488	[DEBUG]	Process image file
2023-10-13	13:26:01	3488	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:26:01	3488	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:01	3488	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38572_lunettes_alpina_rocket.jpg
2023-10-13	13:26:01	3488	[DEBUG]	Full name target: bcprisme/38572_lunettes_alpina_rocket.jpg
2023-10-13	13:26:02	3488	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:02	3488	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38572_lunettes_alpina_rocket.jpg'
2023-10-13	13:26:02	3488	[DEBUG]	Query for Media
2023-10-13	13:26:02	3488	[DEBUG]	Executed store
2023-10-13	13:26:02	3488	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38572_lunettes_alpina_rocket.jpg',`file_url_thumb`='bcprisme/38572_lunettes_alpina_rocket.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412853'
2023-10-13	13:26:02	3488	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:02	3488	[DEBUG]	Executed store
2023-10-13	13:26:02	3488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862980','1412853','1')
2023-10-13	13:26:02	3488	[DEBUG]	Store product image relation
2023-10-13	13:26:02	3488	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:02	3488	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862980 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:02	3488	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:02	3488	[DEBUG]	Executed store
2023-10-13	13:26:02	3488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862980','0','221.912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:02	3488	[DEBUG]	Checking manufacturer
2023-10-13	13:26:02	3488	[DEBUG]	Load a row
2023-10-13	13:26:02	3488	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:02	3488	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:02	3488	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:02	3488	[DEBUG]	Executed store
2023-10-13	13:26:02	3488	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:02	3488	[DEBUG]	Manufacturer exists
2023-10-13	13:26:02	3488	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:26:02	3488	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:02	3488	[DEBUG]	Executed store
2023-10-13	13:26:02	3488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862980','171')
2023-10-13	13:26:02	3488	[DEBUG]	Find the custom field ID
2023-10-13	13:26:02	3488	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:02	3488	[DEBUG]	No custom field ID found
2023-10-13	13:26:02	3488	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:02	3488	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:26:02	3488	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862980 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:02	3488	[DEBUG]	Store custom available field
2023-10-13	13:26:02	3488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862980,3,'69.7058333333334',1)
2023-10-13	13:26:02	3488	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:02	3488	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:02	3488	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862980 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:02	3488	[DEBUG]	Store custom available field
2023-10-13	13:26:02	3488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862980,6,'choisir la taille',3)
2023-10-13	13:26:02	3488	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:02	3488	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:02	3488	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:02	3488	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:02	3488	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862980 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:02	3488	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:02	3488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862980,8,1)
2023-10-13	13:26:02	3488	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:02	3488	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862980\":[1862980,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862980
2023-10-13	13:26:02	3488	[DEBUG]	Checking category
2023-10-13	13:26:02	3488	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:02	3488	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862980
2023-10-13	13:26:02	3488	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:02	3488	[DEBUG]	Executed store
2023-10-13	13:26:02	3488	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862980','7378')
2023-10-13	13:26:02	3488	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:02	3488	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862980 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:26:02	3488	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:02	3488	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862980
2023-10-13	13:26:02	3489	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:02	3489	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:02	3489	[DEBUG]	Use field value for field taille
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:02	3489	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:02	3489	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:02	3489	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:02	3489	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:02	3489	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:02	3489	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:02	3489	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:02	3489	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:02	3489	[DEBUG]	Use field value for field published
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:02	3489	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field override
2023-10-13	13:26:02	3489	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:02	3489	[DEBUG]	Use field value for field slug
2023-10-13	13:26:02	3489	[DEBUG]	Process line 3489
2023-10-13	13:26:02	3489	[DEBUG]	Load a row
2023-10-13	13:26:02	3489	[DEBUG]	Processing item: 1000000237412
2023-10-13	13:26:02	3489	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:02	3489	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:02	3489	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9386_681'
2023-10-13	13:26:02	3489	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:02	3489	[DEBUG]	Processing product tax
2023-10-13	13:26:02	3489	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:02	3489	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:02	3489	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:02	3489	[DEBUG]	Query for Product
2023-10-13	13:26:02	3489	[DEBUG]	Executed store
2023-10-13	13:26:02	3489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862980','1000000237412','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:26:02	3489	[DEBUG]	No parent found
2023-10-13	13:26:02	3489	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862980 AND customfield_value = 'stockable'
2023-10-13	13:26:02	3489	[DEBUG]	Check product language entry
2023-10-13	13:26:02	3489	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862981
2023-10-13	13:26:02	3489	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:02	3489	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000237412' AND `virtuemart_product_id` != 1862981
2023-10-13	13:26:02	3489	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:02	3489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862981, '1000000237412')
2023-10-13	13:26:02	3489	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:02	3489	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-rocket-qv-olive-matt-unitaire' AND `virtuemart_product_id` != 1862981
2023-10-13	13:26:02	3489	[DEBUG]	Query for ProductLang
2023-10-13	13:26:02	3489	[DEBUG]	Executed store
2023-10-13	13:26:02	3489	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Lunettes Alpina Rocket QV / Olive Matt (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-rocket-qv-olive-matt-unitaire' WHERE `virtuemart_product_id` = '1862981'
2023-10-13	13:26:02	3489	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38572_lunettes_alpina_rocket.jpg
2023-10-13	13:26:02	3489	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:26:02	3489	[DEBUG]	Process image file
2023-10-13	13:26:02	3489	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:26:02	3489	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:02	3489	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38572_lunettes_alpina_rocket.jpg
2023-10-13	13:26:02	3489	[DEBUG]	Full name target: bcprisme/38572_lunettes_alpina_rocket.jpg
2023-10-13	13:26:03	3489	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:03	3489	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38572_lunettes_alpina_rocket.jpg'
2023-10-13	13:26:03	3489	[DEBUG]	Query for Media
2023-10-13	13:26:03	3489	[DEBUG]	Executed store
2023-10-13	13:26:03	3489	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38572_lunettes_alpina_rocket.jpg',`file_url_thumb`='bcprisme/38572_lunettes_alpina_rocket.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412853'
2023-10-13	13:26:03	3489	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:03	3489	[DEBUG]	Executed store
2023-10-13	13:26:03	3489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862981','1412853','1')
2023-10-13	13:26:03	3489	[DEBUG]	Store product image relation
2023-10-13	13:26:03	3489	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:03	3489	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862981 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:03	3489	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:03	3489	[DEBUG]	Executed store
2023-10-13	13:26:03	3489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862981','0','221.912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:03	3489	[DEBUG]	Checking manufacturer
2023-10-13	13:26:03	3489	[DEBUG]	Load a row
2023-10-13	13:26:03	3489	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:03	3489	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:03	3489	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:03	3489	[DEBUG]	Executed store
2023-10-13	13:26:03	3489	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:03	3489	[DEBUG]	Manufacturer exists
2023-10-13	13:26:03	3489	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:26:03	3489	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:03	3489	[DEBUG]	Executed store
2023-10-13	13:26:03	3489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862981','171')
2023-10-13	13:26:03	3489	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:03	3489	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:03	3489	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862981 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:03	3489	[DEBUG]	Store custom available field
2023-10-13	13:26:03	3489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862981,3,'',1)
2023-10-13	13:26:03	3489	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:03	3489	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:26:03	3489	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862981 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:03	3489	[DEBUG]	Store custom available field
2023-10-13	13:26:03	3489	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862981,6,'Unitaire',3)
2023-10-13	13:26:03	3489	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:03	3489	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:03	3489	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862980
2023-10-13	13:26:03	3489	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:03	3489	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862980\":[1862980,8,1,\"choisir la taille\"],\"1862981\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862980
2023-10-13	13:26:03	3489	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:03	3489	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862981
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:03	3490	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field taille
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:03	3490	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:03	3490	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:03	3490	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:03	3490	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:03	3490	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:03	3490	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field published
2023-10-13	13:26:03	3490	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:03	3490	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field override
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:03	3490	[DEBUG]	Use field value for field slug
2023-10-13	13:26:03	3490	[DEBUG]	Process line 3490
2023-10-13	13:26:03	3490	[DEBUG]	Load a row
2023-10-13	13:26:03	3490	[DEBUG]	Processing item: A_9387_680
2023-10-13	13:26:03	3490	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:03	3490	[DEBUG]	Processing product tax
2023-10-13	13:26:03	3490	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:03	3490	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:03	3490	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:03	3490	[DEBUG]	Query for Product
2023-10-13	13:26:03	3490	[DEBUG]	Executed store
2023-10-13	13:26:03	3490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9387_680','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:26:03	3490	[DEBUG]	Check product language entry
2023-10-13	13:26:03	3490	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862982
2023-10-13	13:26:03	3490	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:03	3490	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9387_680' AND `virtuemart_product_id` != 1862982
2023-10-13	13:26:03	3490	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:03	3490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862982, 'A_9387_680')
2023-10-13	13:26:03	3490	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:03	3490	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-rocket-v-cool-grey' AND `virtuemart_product_id` != 1862982
2023-10-13	13:26:03	3490	[DEBUG]	Query for ProductLang
2023-10-13	13:26:03	3490	[DEBUG]	Executed store
2023-10-13	13:26:03	3490	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='En plus de son style imparable, la Rocket est équipée des technologies V ou Q-LITE en option. V désigne Varioflex, la technologie photochromique d\'ALPINA qui assombrit et éclaircit automatiquement les verres en fonction des conditions de luminosité. Q-LITE renforce quant à lui les contrastes. Un revêtement hydrophobe permet de maintenir propre l\'extérieur des verres. De l\'intérieur, Fogstop empêche la formation de buée. Les lunettes peuvent être réglées individuellement grâce à des ailettes nasales ajustables. La monture est équipée d\'un design à 2 composants pour une tenue confortable.<br>N° art fourn : A8677121',`product_name`='Alpina Lunettes Alpina Rocket V / Cool-Grey',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-rocket-v-cool-grey' WHERE `virtuemart_product_id` = '1862982'
2023-10-13	13:26:03	3490	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38573_lunettes_alpina_rocket_v.jpg
2023-10-13	13:26:03	3490	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:26:03	3490	[DEBUG]	Process image file
2023-10-13	13:26:03	3490	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:26:03	3490	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:03	3490	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38573_lunettes_alpina_rocket_v.jpg
2023-10-13	13:26:03	3490	[DEBUG]	Full name target: bcprisme/38573_lunettes_alpina_rocket_v.jpg
2023-10-13	13:26:04	3490	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:04	3490	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38573_lunettes_alpina_rocket_v.jpg'
2023-10-13	13:26:04	3490	[DEBUG]	Query for Media
2023-10-13	13:26:04	3490	[DEBUG]	Executed store
2023-10-13	13:26:04	3490	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38573_lunettes_alpina_rocket_v.jpg',`file_url_thumb`='bcprisme/38573_lunettes_alpina_rocket_v.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412855'
2023-10-13	13:26:04	3490	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:04	3490	[DEBUG]	Executed store
2023-10-13	13:26:04	3490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862982','1412855','1')
2023-10-13	13:26:04	3490	[DEBUG]	Store product image relation
2023-10-13	13:26:04	3490	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:04	3490	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862982 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:04	3490	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:04	3490	[DEBUG]	Executed store
2023-10-13	13:26:04	3490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862982','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:04	3490	[DEBUG]	Checking manufacturer
2023-10-13	13:26:04	3490	[DEBUG]	Load a row
2023-10-13	13:26:04	3490	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:04	3490	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:04	3490	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:04	3490	[DEBUG]	Executed store
2023-10-13	13:26:04	3490	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:04	3490	[DEBUG]	Manufacturer exists
2023-10-13	13:26:04	3490	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:26:04	3490	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:04	3490	[DEBUG]	Executed store
2023-10-13	13:26:04	3490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862982','171')
2023-10-13	13:26:04	3490	[DEBUG]	Find the custom field ID
2023-10-13	13:26:04	3490	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:04	3490	[DEBUG]	No custom field ID found
2023-10-13	13:26:04	3490	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:04	3490	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:26:04	3490	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862982 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:04	3490	[DEBUG]	Store custom available field
2023-10-13	13:26:04	3490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862982,3,'69.7058333333334',1)
2023-10-13	13:26:04	3490	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:04	3490	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:04	3490	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862982 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:04	3490	[DEBUG]	Store custom available field
2023-10-13	13:26:04	3490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862982,6,'choisir la taille',3)
2023-10-13	13:26:04	3490	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:04	3490	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:04	3490	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:04	3490	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:04	3490	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862982 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:04	3490	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:04	3490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862982,8,1)
2023-10-13	13:26:04	3490	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:04	3490	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862982\":[1862982,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862982
2023-10-13	13:26:04	3490	[DEBUG]	Checking category
2023-10-13	13:26:04	3490	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:04	3490	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862982
2023-10-13	13:26:04	3490	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:04	3490	[DEBUG]	Executed store
2023-10-13	13:26:04	3490	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862982','7378')
2023-10-13	13:26:04	3490	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:04	3490	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862982 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:26:04	3490	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:04	3490	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862982
2023-10-13	13:26:04	3491	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:04	3491	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:04	3491	[DEBUG]	Use field value for field taille
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:04	3491	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:04	3491	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:04	3491	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:04	3491	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:04	3491	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:04	3491	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:04	3491	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:04	3491	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:04	3491	[DEBUG]	Use field value for field published
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:04	3491	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field override
2023-10-13	13:26:04	3491	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:04	3491	[DEBUG]	Use field value for field slug
2023-10-13	13:26:04	3491	[DEBUG]	Process line 3491
2023-10-13	13:26:04	3491	[DEBUG]	Load a row
2023-10-13	13:26:04	3491	[DEBUG]	Processing item: 4003692311429
2023-10-13	13:26:04	3491	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:04	3491	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:04	3491	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9387_680'
2023-10-13	13:26:04	3491	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:04	3491	[DEBUG]	Processing product tax
2023-10-13	13:26:04	3491	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:04	3491	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:04	3491	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:04	3491	[DEBUG]	Query for Product
2023-10-13	13:26:04	3491	[DEBUG]	Executed store
2023-10-13	13:26:04	3491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862982','4003692311429','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:26:04	3491	[DEBUG]	No parent found
2023-10-13	13:26:04	3491	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862982 AND customfield_value = 'stockable'
2023-10-13	13:26:04	3491	[DEBUG]	Check product language entry
2023-10-13	13:26:04	3491	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862983
2023-10-13	13:26:04	3491	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:04	3491	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003692311429' AND `virtuemart_product_id` != 1862983
2023-10-13	13:26:04	3491	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:04	3491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862983, '4003692311429')
2023-10-13	13:26:04	3491	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:04	3491	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-rocket-v-cool-grey-unitaire' AND `virtuemart_product_id` != 1862983
2023-10-13	13:26:04	3491	[DEBUG]	Query for ProductLang
2023-10-13	13:26:04	3491	[DEBUG]	Executed store
2023-10-13	13:26:04	3491	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Lunettes Alpina Rocket V / Cool-Grey (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-rocket-v-cool-grey-unitaire' WHERE `virtuemart_product_id` = '1862983'
2023-10-13	13:26:04	3491	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38573_lunettes_alpina_rocket_v.jpg
2023-10-13	13:26:04	3491	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:26:04	3491	[DEBUG]	Process image file
2023-10-13	13:26:04	3491	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:26:04	3491	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:04	3491	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38573_lunettes_alpina_rocket_v.jpg
2023-10-13	13:26:04	3491	[DEBUG]	Full name target: bcprisme/38573_lunettes_alpina_rocket_v.jpg
2023-10-13	13:26:05	3491	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:05	3491	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38573_lunettes_alpina_rocket_v.jpg'
2023-10-13	13:26:05	3491	[DEBUG]	Query for Media
2023-10-13	13:26:05	3491	[DEBUG]	Executed store
2023-10-13	13:26:05	3491	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38573_lunettes_alpina_rocket_v.jpg',`file_url_thumb`='bcprisme/38573_lunettes_alpina_rocket_v.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412855'
2023-10-13	13:26:05	3491	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:05	3491	[DEBUG]	Executed store
2023-10-13	13:26:05	3491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862983','1412855','1')
2023-10-13	13:26:05	3491	[DEBUG]	Store product image relation
2023-10-13	13:26:05	3491	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:05	3491	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862983 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:05	3491	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:05	3491	[DEBUG]	Executed store
2023-10-13	13:26:05	3491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862983','0','184.772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:05	3491	[DEBUG]	Checking manufacturer
2023-10-13	13:26:05	3491	[DEBUG]	Load a row
2023-10-13	13:26:05	3491	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:05	3491	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:05	3491	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:05	3491	[DEBUG]	Executed store
2023-10-13	13:26:05	3491	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:05	3491	[DEBUG]	Manufacturer exists
2023-10-13	13:26:05	3491	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:26:05	3491	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:05	3491	[DEBUG]	Executed store
2023-10-13	13:26:05	3491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862983','171')
2023-10-13	13:26:05	3491	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:05	3491	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:05	3491	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862983 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:05	3491	[DEBUG]	Store custom available field
2023-10-13	13:26:05	3491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862983,3,'',1)
2023-10-13	13:26:05	3491	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:05	3491	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:26:05	3491	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862983 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:05	3491	[DEBUG]	Store custom available field
2023-10-13	13:26:05	3491	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862983,6,'Unitaire',3)
2023-10-13	13:26:05	3491	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:05	3491	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:05	3491	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862982
2023-10-13	13:26:05	3491	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:05	3491	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862982\":[1862982,8,1,\"choisir la taille\"],\"1862983\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862982
2023-10-13	13:26:05	3491	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:05	3491	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862983
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:05	3492	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field taille
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:05	3492	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:05	3492	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:05	3492	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:05	3492	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:05	3492	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:05	3492	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field published
2023-10-13	13:26:05	3492	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:05	3492	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field override
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:05	3492	[DEBUG]	Use field value for field slug
2023-10-13	13:26:05	3492	[DEBUG]	Process line 3492
2023-10-13	13:26:05	3492	[DEBUG]	Load a row
2023-10-13	13:26:05	3492	[DEBUG]	Processing item: A_9484_38
2023-10-13	13:26:05	3492	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:05	3492	[DEBUG]	Processing product tax
2023-10-13	13:26:05	3492	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:05	3492	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:05	3492	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:05	3492	[DEBUG]	Query for Product
2023-10-13	13:26:05	3492	[DEBUG]	Executed store
2023-10-13	13:26:05	3492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9484_38','0.03','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:26:05	3492	[DEBUG]	Check product language entry
2023-10-13	13:26:05	3492	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862984
2023-10-13	13:26:05	3492	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:05	3492	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9484_38' AND `virtuemart_product_id` != 1862984
2023-10-13	13:26:05	3492	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:05	3492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862984, 'A_9484_38')
2023-10-13	13:26:05	3492	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:05	3492	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-ram-michealcina-q-lite-silver' AND `virtuemart_product_id` != 1862984
2023-10-13	13:26:05	3492	[DEBUG]	Query for ProductLang
2023-10-13	13:26:05	3492	[DEBUG]	Executed store
2023-10-13	13:26:05	3492	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Plus grandes, plus légères, meilleures, RAM. Les nouvelles lunettes d’enduro d’ALPINA est un produit phare en termes d’esthétique. Le design original, le style moderne et la légèreté, non seulement de par sa forme mais aussi par son poids, les lunettes ALPINA RAM sont bien plus qu’un simple outil à la performance. Avec les ALPINA RAM, on a envie d’être vu.<br>N° art fourn : 103004-23',`product_name`='Alpina Lunettes Alpina Ram MichealCina Q-Lite / Silver',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-ram-michealcina-q-lite-silver' WHERE `virtuemart_product_id` = '1862984'
2023-10-13	13:26:05	3492	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38697_lunettes_alpina_ram_michealcina_q-lite.jpg
2023-10-13	13:26:05	3492	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:26:05	3492	[DEBUG]	Process image file
2023-10-13	13:26:05	3492	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:26:05	3492	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:05	3492	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38697_lunettes_alpina_ram_michealcina_q-lite.jpg
2023-10-13	13:26:05	3492	[DEBUG]	Full name target: bcprisme/38697_lunettes_alpina_ram_michealcina_q-lite.jpg
2023-10-13	13:26:06	3492	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:06	3492	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38697_lunettes_alpina_ram_michealcina_q-lite.jpg'
2023-10-13	13:26:06	3492	[DEBUG]	Query for Media
2023-10-13	13:26:06	3492	[DEBUG]	Executed store
2023-10-13	13:26:06	3492	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38697_lunettes_alpina_ram_michealcina_q-lite.jpg',`file_url_thumb`='bcprisme/38697_lunettes_alpina_ram_michealcina_q-lite.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1423921'
2023-10-13	13:26:06	3492	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:06	3492	[DEBUG]	Executed store
2023-10-13	13:26:06	3492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862984','1423921','1')
2023-10-13	13:26:06	3492	[DEBUG]	Store product image relation
2023-10-13	13:26:06	3492	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:06	3492	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862984 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:06	3492	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:06	3492	[DEBUG]	Executed store
2023-10-13	13:26:06	3492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862984','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:06	3492	[DEBUG]	Checking manufacturer
2023-10-13	13:26:06	3492	[DEBUG]	Load a row
2023-10-13	13:26:06	3492	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:06	3492	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:06	3492	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:06	3492	[DEBUG]	Executed store
2023-10-13	13:26:06	3492	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:06	3492	[DEBUG]	Manufacturer exists
2023-10-13	13:26:06	3492	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:26:06	3492	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:06	3492	[DEBUG]	Executed store
2023-10-13	13:26:06	3492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862984','171')
2023-10-13	13:26:06	3492	[DEBUG]	Find the custom field ID
2023-10-13	13:26:06	3492	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:06	3492	[DEBUG]	No custom field ID found
2023-10-13	13:26:06	3492	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:06	3492	[DEBUG]	Get existing row with customfield value 69.7058333333334
2023-10-13	13:26:06	3492	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862984 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:06	3492	[DEBUG]	Store custom available field
2023-10-13	13:26:06	3492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862984,3,'69.7058333333334',1)
2023-10-13	13:26:06	3492	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:06	3492	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:06	3492	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862984 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:06	3492	[DEBUG]	Store custom available field
2023-10-13	13:26:06	3492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862984,6,'choisir la taille',3)
2023-10-13	13:26:06	3492	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:06	3492	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:06	3492	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:06	3492	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:06	3492	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862984 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:06	3492	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:06	3492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862984,8,1)
2023-10-13	13:26:06	3492	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:06	3492	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862984\":[1862984,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862984
2023-10-13	13:26:06	3492	[DEBUG]	Checking category
2023-10-13	13:26:06	3492	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:06	3492	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862984
2023-10-13	13:26:06	3492	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:06	3492	[DEBUG]	Executed store
2023-10-13	13:26:06	3492	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862984','7378')
2023-10-13	13:26:06	3492	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:06	3492	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862984 AND `virtuemart_category_id` NOT IN (7378)
2023-10-13	13:26:06	3492	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:06	3492	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862984
2023-10-13	13:26:06	3493	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:06	3493	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:06	3493	[DEBUG]	Use field value for field taille
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:06	3493	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:06	3493	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:06	3493	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:06	3493	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:06	3493	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:06	3493	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:06	3493	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:06	3493	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:06	3493	[DEBUG]	Use field value for field published
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:06	3493	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field override
2023-10-13	13:26:06	3493	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:06	3493	[DEBUG]	Use field value for field slug
2023-10-13	13:26:06	3493	[DEBUG]	Process line 3493
2023-10-13	13:26:06	3493	[DEBUG]	Load a row
2023-10-13	13:26:06	3493	[DEBUG]	Processing item: 1000000553383
2023-10-13	13:26:06	3493	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:06	3493	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:06	3493	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9484_38'
2023-10-13	13:26:06	3493	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:06	3493	[DEBUG]	Processing product tax
2023-10-13	13:26:06	3493	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:06	3493	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:06	3493	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:06	3493	[DEBUG]	Query for Product
2023-10-13	13:26:06	3493	[DEBUG]	Executed store
2023-10-13	13:26:06	3493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862984','1000000553383','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:26:06	3493	[DEBUG]	No parent found
2023-10-13	13:26:06	3493	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862984 AND customfield_value = 'stockable'
2023-10-13	13:26:06	3493	[DEBUG]	Check product language entry
2023-10-13	13:26:06	3493	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862985
2023-10-13	13:26:06	3493	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:06	3493	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000553383' AND `virtuemart_product_id` != 1862985
2023-10-13	13:26:06	3493	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:06	3493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862985, '1000000553383')
2023-10-13	13:26:06	3493	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:06	3493	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'alpina-lunettes-alpina-ram-michealcina-q-lite-silver-unitaire' AND `virtuemart_product_id` != 1862985
2023-10-13	13:26:06	3493	[DEBUG]	Query for ProductLang
2023-10-13	13:26:06	3493	[DEBUG]	Executed store
2023-10-13	13:26:06	3493	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Alpina Lunettes Alpina Ram MichealCina Q-Lite / Silver (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='alpina-lunettes-alpina-ram-michealcina-q-lite-silver-unitaire' WHERE `virtuemart_product_id` = '1862985'
2023-10-13	13:26:06	3493	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38697_lunettes_alpina_ram_michealcina_q-lite.jpg
2023-10-13	13:26:06	3493	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:26:06	3493	[DEBUG]	Process image file
2023-10-13	13:26:06	3493	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:26:06	3493	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:06	3493	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38697_lunettes_alpina_ram_michealcina_q-lite.jpg
2023-10-13	13:26:06	3493	[DEBUG]	Full name target: bcprisme/38697_lunettes_alpina_ram_michealcina_q-lite.jpg
2023-10-13	13:26:07	3493	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:07	3493	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38697_lunettes_alpina_ram_michealcina_q-lite.jpg'
2023-10-13	13:26:07	3493	[DEBUG]	Query for Media
2023-10-13	13:26:07	3493	[DEBUG]	Executed store
2023-10-13	13:26:07	3493	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38697_lunettes_alpina_ram_michealcina_q-lite.jpg',`file_url_thumb`='bcprisme/38697_lunettes_alpina_ram_michealcina_q-lite.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1423921'
2023-10-13	13:26:07	3493	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:07	3493	[DEBUG]	Executed store
2023-10-13	13:26:07	3493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862985','1423921','1')
2023-10-13	13:26:07	3493	[DEBUG]	Store product image relation
2023-10-13	13:26:07	3493	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:07	3493	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862985 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:07	3493	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:07	3493	[DEBUG]	Executed store
2023-10-13	13:26:07	3493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862985','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:07	3493	[DEBUG]	Checking manufacturer
2023-10-13	13:26:07	3493	[DEBUG]	Load a row
2023-10-13	13:26:07	3493	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:07	3493	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:07	3493	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:07	3493	[DEBUG]	Executed store
2023-10-13	13:26:07	3493	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331197911440' WHERE `virtuemart_manufacturer_id` = '171'
2023-10-13	13:26:07	3493	[DEBUG]	Manufacturer exists
2023-10-13	13:26:07	3493	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 171
2023-10-13	13:26:07	3493	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:07	3493	[DEBUG]	Executed store
2023-10-13	13:26:07	3493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862985','171')
2023-10-13	13:26:07	3493	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:07	3493	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:07	3493	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862985 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:07	3493	[DEBUG]	Store custom available field
2023-10-13	13:26:07	3493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862985,3,'',1)
2023-10-13	13:26:07	3493	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:07	3493	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:26:07	3493	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862985 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:07	3493	[DEBUG]	Store custom available field
2023-10-13	13:26:07	3493	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862985,6,'Unitaire',3)
2023-10-13	13:26:07	3493	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:07	3493	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:07	3493	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862984
2023-10-13	13:26:07	3493	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:07	3493	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862984\":[1862984,8,1,\"choisir la taille\"],\"1862985\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862984
2023-10-13	13:26:07	3493	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:07	3493	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862985
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:07	3494	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field taille
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:07	3494	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:07	3494	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:07	3494	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:07	3494	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:07	3494	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:07	3494	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field published
2023-10-13	13:26:07	3494	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:07	3494	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field override
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:07	3494	[DEBUG]	Use field value for field slug
2023-10-13	13:26:07	3494	[DEBUG]	Process line 3494
2023-10-13	13:26:07	3494	[DEBUG]	Load a row
2023-10-13	13:26:07	3494	[DEBUG]	Processing item: A_5199_1
2023-10-13	13:26:07	3494	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:07	3494	[DEBUG]	Processing product tax
2023-10-13	13:26:07	3494	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:07	3494	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:07	3494	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:07	3494	[DEBUG]	Query for Product
2023-10-13	13:26:07	3494	[DEBUG]	Executed store
2023-10-13	13:26:07	3494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5199_1','0.02','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:26:07	3494	[DEBUG]	Check product language entry
2023-10-13	13:26:07	3494	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862986
2023-10-13	13:26:07	3494	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:07	3494	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5199_1' AND `virtuemart_product_id` != 1862986
2023-10-13	13:26:07	3494	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:07	3494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862986, 'A_5199_1')
2023-10-13	13:26:07	3494	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:07	3494	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-tzwinlock-lever-nude-tc-nude-2-noir' AND `virtuemart_product_id` != 1862986
2023-10-13	13:26:07	3494	[DEBUG]	Query for ProductLang
2023-10-13	13:26:07	3494	[DEBUG]	Executed store
2023-10-13	13:26:07	3494	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Gardeboue avant MSC<br>N° art fourn : 216351',`product_name`='MLV-Bike TZwinlock Lever Nude TC/NUDE 2 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-tzwinlock-lever-nude-tc-nude-2-noir' WHERE `virtuemart_product_id` = '1862986'
2023-10-13	13:26:07	3494	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29670_tzwinlock_lever_nude_tc-nude_2.jpg has not been found.
2023-10-13	13:26:07	3494	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:07	3494	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862986 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:07	3494	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:07	3494	[DEBUG]	Executed store
2023-10-13	13:26:07	3494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862986','0','98.4215413184773','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:07	3494	[DEBUG]	Checking manufacturer
2023-10-13	13:26:07	3494	[DEBUG]	Load a row
2023-10-13	13:26:07	3494	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:07	3494	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:26:07	3494	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:07	3494	[DEBUG]	Executed store
2023-10-13	13:26:07	3494	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:26:07	3494	[DEBUG]	Manufacturer exists
2023-10-13	13:26:07	3494	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:26:07	3494	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:07	3494	[DEBUG]	Executed store
2023-10-13	13:26:07	3494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862986','2')
2023-10-13	13:26:07	3494	[DEBUG]	Find the custom field ID
2023-10-13	13:26:07	3494	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:07	3494	[DEBUG]	No custom field ID found
2023-10-13	13:26:07	3494	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:07	3494	[DEBUG]	Get existing row with customfield value 10.8697222222222
2023-10-13	13:26:07	3494	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862986 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:07	3494	[DEBUG]	Store custom available field
2023-10-13	13:26:07	3494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862986,3,'10.8697222222222',1)
2023-10-13	13:26:07	3494	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:07	3494	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:07	3494	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862986 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:07	3494	[DEBUG]	Store custom available field
2023-10-13	13:26:07	3494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862986,6,'choisir la taille',3)
2023-10-13	13:26:07	3494	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:07	3494	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:07	3494	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:07	3494	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:07	3494	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862986 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:07	3494	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:07	3494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862986,8,1)
2023-10-13	13:26:07	3494	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:07	3494	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862986\":[1862986,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862986
2023-10-13	13:26:07	3494	[DEBUG]	Checking category
2023-10-13	13:26:07	3494	[DEBUG]	Check if category path exists: MANETTES DE VITESSES
2023-10-13	13:26:07	3494	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'MANETTES DE VITESSES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:26:07	3494	[DEBUG]	Check if category path exists: MANETTE BLOCAGE FOURCHE
2023-10-13	13:26:07	3494	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'MANETTE BLOCAGE FOURCHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7379
2023-10-13	13:26:07	3494	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:07	3494	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862986
2023-10-13	13:26:07	3494	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:07	3494	[DEBUG]	Executed store
2023-10-13	13:26:07	3494	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862986','7380')
2023-10-13	13:26:07	3494	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:07	3494	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862986 AND `virtuemart_category_id` NOT IN (7380)
2023-10-13	13:26:07	3494	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:07	3494	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862986
2023-10-13	13:26:07	3495	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:07	3495	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:07	3495	[DEBUG]	Use field value for field taille
2023-10-13	13:26:07	3495	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:07	3495	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:07	3495	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:07	3495	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:07	3495	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:07	3495	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:07	3495	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:07	3495	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:07	3495	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:07	3495	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:07	3495	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:07	3495	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:07	3495	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:07	3495	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:08	3495	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:08	3495	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:08	3495	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:08	3495	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:08	3495	[DEBUG]	Use field value for field published
2023-10-13	13:26:08	3495	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:08	3495	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:08	3495	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:08	3495	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:08	3495	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:08	3495	[DEBUG]	Use default value for field override
2023-10-13	13:26:08	3495	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:08	3495	[DEBUG]	Use field value for field slug
2023-10-13	13:26:08	3495	[DEBUG]	Process line 3495
2023-10-13	13:26:08	3495	[DEBUG]	Load a row
2023-10-13	13:26:08	3495	[DEBUG]	Processing item: 1000000079661
2023-10-13	13:26:08	3495	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:08	3495	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:08	3495	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5199_1'
2023-10-13	13:26:08	3495	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:08	3495	[DEBUG]	Processing product tax
2023-10-13	13:26:08	3495	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:08	3495	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:08	3495	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:08	3495	[DEBUG]	Query for Product
2023-10-13	13:26:08	3495	[DEBUG]	Executed store
2023-10-13	13:26:08	3495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862986','1000000079661','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:26:08	3495	[DEBUG]	No parent found
2023-10-13	13:26:08	3495	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862986 AND customfield_value = 'stockable'
2023-10-13	13:26:08	3495	[DEBUG]	Check product language entry
2023-10-13	13:26:08	3495	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862987
2023-10-13	13:26:08	3495	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:08	3495	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000079661' AND `virtuemart_product_id` != 1862987
2023-10-13	13:26:08	3495	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:08	3495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862987, '1000000079661')
2023-10-13	13:26:08	3495	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:08	3495	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-tzwinlock-lever-nude-tc-nude-2-noir-unitaire' AND `virtuemart_product_id` != 1862987
2023-10-13	13:26:08	3495	[DEBUG]	Query for ProductLang
2023-10-13	13:26:08	3495	[DEBUG]	Executed store
2023-10-13	13:26:08	3495	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike TZwinlock Lever Nude TC/NUDE 2 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-tzwinlock-lever-nude-tc-nude-2-noir-unitaire' WHERE `virtuemart_product_id` = '1862987'
2023-10-13	13:26:08	3495	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29670_tzwinlock_lever_nude_tc-nude_2.jpg has not been found.
2023-10-13	13:26:08	3495	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:08	3495	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862987 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:08	3495	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:08	3495	[DEBUG]	Executed store
2023-10-13	13:26:08	3495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862987','0','98.4215413184773','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:08	3495	[DEBUG]	Checking manufacturer
2023-10-13	13:26:08	3495	[DEBUG]	Load a row
2023-10-13	13:26:08	3495	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:08	3495	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:26:08	3495	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:08	3495	[DEBUG]	Executed store
2023-10-13	13:26:08	3495	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:26:08	3495	[DEBUG]	Manufacturer exists
2023-10-13	13:26:08	3495	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:26:08	3495	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:08	3495	[DEBUG]	Executed store
2023-10-13	13:26:08	3495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862987','2')
2023-10-13	13:26:08	3495	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:08	3495	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:08	3495	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862987 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:08	3495	[DEBUG]	Store custom available field
2023-10-13	13:26:08	3495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862987,3,'',1)
2023-10-13	13:26:08	3495	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:08	3495	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:26:08	3495	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862987 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:08	3495	[DEBUG]	Store custom available field
2023-10-13	13:26:08	3495	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862987,6,'Unitaire',3)
2023-10-13	13:26:08	3495	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:08	3495	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:08	3495	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862986
2023-10-13	13:26:08	3495	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:08	3495	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862986\":[1862986,8,1,\"choisir la taille\"],\"1862987\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862986
2023-10-13	13:26:08	3495	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:08	3495	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862987
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:08	3496	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field taille
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:08	3496	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:08	3496	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:08	3496	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:08	3496	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:08	3496	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:08	3496	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field published
2023-10-13	13:26:08	3496	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:08	3496	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field override
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:08	3496	[DEBUG]	Use field value for field slug
2023-10-13	13:26:08	3496	[DEBUG]	Process line 3496
2023-10-13	13:26:08	3496	[DEBUG]	Load a row
2023-10-13	13:26:08	3496	[DEBUG]	Processing item: A_9537_208
2023-10-13	13:26:08	3496	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:08	3496	[DEBUG]	Processing product tax
2023-10-13	13:26:08	3496	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:08	3496	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:08	3496	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:08	3496	[DEBUG]	Query for Product
2023-10-13	13:26:08	3496	[DEBUG]	Executed store
2023-10-13	13:26:08	3496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9537_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:26:08	3496	[DEBUG]	Check product language entry
2023-10-13	13:26:08	3496	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862988
2023-10-13	13:26:08	3496	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:08	3496	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9537_208' AND `virtuemart_product_id` != 1862988
2023-10-13	13:26:08	3496	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:08	3496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862988, 'A_9537_208')
2023-10-13	13:26:08	3496	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:08	3496	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rockshox-rmt-xloc-left-gld-adj-hose-banjo-rockshox-aucune' AND `virtuemart_product_id` != 1862988
2023-10-13	13:26:08	3496	[DEBUG]	Query for ProductLang
2023-10-13	13:26:08	3496	[DEBUG]	Executed store
2023-10-13	13:26:08	3496	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D8426M',`product_name`='ROCKSHOX RMT XLOC LEFT GLD ADJ, HOSE/BANJO ROCKSHOX / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rockshox-rmt-xloc-left-gld-adj-hose-banjo-rockshox-aucune' WHERE `virtuemart_product_id` = '1862988'
2023-10-13	13:26:08	3496	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/d8426.jpg
2023-10-13	13:26:08	3496	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:26:08	3496	[DEBUG]	Process image file
2023-10-13	13:26:08	3496	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:26:08	3496	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:08	3496	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/d8426.jpg
2023-10-13	13:26:08	3496	[DEBUG]	Full name target: bcprisme/d8426.jpg
2023-10-13	13:26:09	3496	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:09	3496	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/d8426.jpg'
2023-10-13	13:26:09	3496	[DEBUG]	Query for Media
2023-10-13	13:26:09	3496	[DEBUG]	Executed store
2023-10-13	13:26:09	3496	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/d8426.jpg',`file_url_thumb`='bcprisme/d8426.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1457205'
2023-10-13	13:26:09	3496	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:09	3496	[DEBUG]	Executed store
2023-10-13	13:26:09	3496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862988','1457205','1')
2023-10-13	13:26:09	3496	[DEBUG]	Store product image relation
2023-10-13	13:26:09	3496	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:09	3496	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862988 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:09	3496	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:09	3496	[DEBUG]	Executed store
2023-10-13	13:26:09	3496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862988','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:09	3496	[DEBUG]	Checking manufacturer
2023-10-13	13:26:09	3496	[DEBUG]	Load a row
2023-10-13	13:26:09	3496	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:09	3496	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '290'
2023-10-13	13:26:09	3496	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:09	3496	[DEBUG]	Executed store
2023-10-13	13:26:09	3496	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='28',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='28' WHERE `virtuemart_manufacturer_id` = '290'
2023-10-13	13:26:09	3496	[DEBUG]	Manufacturer exists
2023-10-13	13:26:09	3496	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 290
2023-10-13	13:26:09	3496	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:09	3496	[DEBUG]	Executed store
2023-10-13	13:26:09	3496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862988','290')
2023-10-13	13:26:09	3496	[DEBUG]	Find the custom field ID
2023-10-13	13:26:09	3496	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:09	3496	[DEBUG]	No custom field ID found
2023-10-13	13:26:09	3496	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:09	3496	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:09	3496	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862988 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:09	3496	[DEBUG]	Store custom available field
2023-10-13	13:26:09	3496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862988,3,'0',1)
2023-10-13	13:26:09	3496	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:09	3496	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:09	3496	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862988 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:09	3496	[DEBUG]	Store custom available field
2023-10-13	13:26:09	3496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862988,6,'choisir la taille',3)
2023-10-13	13:26:09	3496	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:09	3496	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:09	3496	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:09	3496	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:09	3496	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862988 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:09	3496	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:09	3496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862988,8,1)
2023-10-13	13:26:09	3496	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:09	3496	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862988\":[1862988,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862988
2023-10-13	13:26:09	3496	[DEBUG]	Checking category
2023-10-13	13:26:09	3496	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:09	3496	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862988
2023-10-13	13:26:09	3496	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:09	3496	[DEBUG]	Executed store
2023-10-13	13:26:09	3496	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862988','7380')
2023-10-13	13:26:09	3496	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:09	3496	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862988 AND `virtuemart_category_id` NOT IN (7380)
2023-10-13	13:26:09	3496	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:09	3496	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862988
2023-10-13	13:26:09	3497	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:09	3497	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:09	3497	[DEBUG]	Use field value for field taille
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:09	3497	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:09	3497	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:09	3497	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:09	3497	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:09	3497	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:09	3497	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:09	3497	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:09	3497	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:09	3497	[DEBUG]	Use field value for field published
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:09	3497	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field override
2023-10-13	13:26:09	3497	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:09	3497	[DEBUG]	Use field value for field slug
2023-10-13	13:26:09	3497	[DEBUG]	Process line 3497
2023-10-13	13:26:09	3497	[DEBUG]	Load a row
2023-10-13	13:26:09	3497	[DEBUG]	Processing item: 710845741753
2023-10-13	13:26:09	3497	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:09	3497	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:09	3497	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9537_208'
2023-10-13	13:26:09	3497	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:09	3497	[DEBUG]	Processing product tax
2023-10-13	13:26:09	3497	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:09	3497	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:09	3497	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:09	3497	[DEBUG]	Query for Product
2023-10-13	13:26:09	3497	[DEBUG]	Executed store
2023-10-13	13:26:09	3497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862988','710845741753','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:26:09	3497	[DEBUG]	No parent found
2023-10-13	13:26:09	3497	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862988 AND customfield_value = 'stockable'
2023-10-13	13:26:09	3497	[DEBUG]	Check product language entry
2023-10-13	13:26:09	3497	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862989
2023-10-13	13:26:09	3497	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:09	3497	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845741753' AND `virtuemart_product_id` != 1862989
2023-10-13	13:26:09	3497	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:09	3497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862989, '710845741753')
2023-10-13	13:26:09	3497	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:09	3497	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rockshox-rmt-xloc-left-gld-adj-hose-banjo-rockshox-aucune-unitaire' AND `virtuemart_product_id` != 1862989
2023-10-13	13:26:09	3497	[DEBUG]	Query for ProductLang
2023-10-13	13:26:09	3497	[DEBUG]	Executed store
2023-10-13	13:26:09	3497	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ROCKSHOX RMT XLOC LEFT GLD ADJ, HOSE/BANJO ROCKSHOX / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rockshox-rmt-xloc-left-gld-adj-hose-banjo-rockshox-aucune-unitaire' WHERE `virtuemart_product_id` = '1862989'
2023-10-13	13:26:09	3497	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/d8426.jpg
2023-10-13	13:26:09	3497	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:26:09	3497	[DEBUG]	Process image file
2023-10-13	13:26:09	3497	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:26:09	3497	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:09	3497	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/d8426.jpg
2023-10-13	13:26:09	3497	[DEBUG]	Full name target: bcprisme/d8426.jpg
2023-10-13	13:26:10	3497	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:10	3497	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/d8426.jpg'
2023-10-13	13:26:10	3497	[DEBUG]	Query for Media
2023-10-13	13:26:10	3497	[DEBUG]	Executed store
2023-10-13	13:26:10	3497	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/d8426.jpg',`file_url_thumb`='bcprisme/d8426.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1457205'
2023-10-13	13:26:10	3497	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:10	3497	[DEBUG]	Executed store
2023-10-13	13:26:10	3497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862989','1457205','1')
2023-10-13	13:26:10	3497	[DEBUG]	Store product image relation
2023-10-13	13:26:10	3497	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:10	3497	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862989 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:10	3497	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:10	3497	[DEBUG]	Executed store
2023-10-13	13:26:10	3497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862989','0','147.632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:10	3497	[DEBUG]	Checking manufacturer
2023-10-13	13:26:10	3497	[DEBUG]	Load a row
2023-10-13	13:26:10	3497	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:10	3497	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '290'
2023-10-13	13:26:10	3497	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:10	3497	[DEBUG]	Executed store
2023-10-13	13:26:10	3497	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='28',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='28' WHERE `virtuemart_manufacturer_id` = '290'
2023-10-13	13:26:10	3497	[DEBUG]	Manufacturer exists
2023-10-13	13:26:10	3497	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 290
2023-10-13	13:26:10	3497	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:10	3497	[DEBUG]	Executed store
2023-10-13	13:26:10	3497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862989','290')
2023-10-13	13:26:10	3497	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:10	3497	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:10	3497	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862989 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:10	3497	[DEBUG]	Store custom available field
2023-10-13	13:26:10	3497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862989,3,'',1)
2023-10-13	13:26:10	3497	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:10	3497	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:26:10	3497	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862989 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:10	3497	[DEBUG]	Store custom available field
2023-10-13	13:26:10	3497	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862989,6,'Unitaire',3)
2023-10-13	13:26:10	3497	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:10	3497	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:10	3497	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862988
2023-10-13	13:26:10	3497	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:10	3497	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862988\":[1862988,8,1,\"choisir la taille\"],\"1862989\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862988
2023-10-13	13:26:10	3497	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:10	3497	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862989
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:10	3498	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field taille
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:10	3498	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:10	3498	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:10	3498	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:10	3498	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:10	3498	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:10	3498	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:10	3498	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field published
2023-10-13	13:26:10	3498	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:10	3498	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field override
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:10	3498	[DEBUG]	Use field value for field slug
2023-10-13	13:26:10	3498	[DEBUG]	Process line 3498
2023-10-13	13:26:10	3498	[DEBUG]	Load a row
2023-10-13	13:26:10	3498	[DEBUG]	Processing item: A_5207_1
2023-10-13	13:26:10	3498	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:10	3498	[DEBUG]	Processing product tax
2023-10-13	13:26:10	3498	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:10	3498	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:10	3498	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:10	3498	[DEBUG]	Query for Product
2023-10-13	13:26:10	3498	[DEBUG]	Executed store
2023-10-13	13:26:10	3498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5207_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:26:10	3498	[DEBUG]	Check product language entry
2023-10-13	13:26:10	3498	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862990
2023-10-13	13:26:10	3498	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:10	3498	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5207_1' AND `virtuemart_product_id` != 1862990
2023-10-13	13:26:10	3498	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:10	3498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862990, 'A_5207_1')
2023-10-13	13:26:10	3498	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:10	3498	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-vitesses-shimano-si-m511-noir' AND `virtuemart_product_id` != 1862990
2023-10-13	13:26:10	3498	[DEBUG]	Query for ProductLang
2023-10-13	13:26:10	3498	[DEBUG]	Executed store
2023-10-13	13:26:10	3498	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 45.425',`product_name`='SHIMANO Manette vitesses Shimano SI-M511 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-vitesses-shimano-si-m511-noir' WHERE `virtuemart_product_id` = '1862990'
2023-10-13	13:26:10	3498	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29678_manette_vitesses_shimano_si-m511.jpg has not been found.
2023-10-13	13:26:10	3498	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:10	3498	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862990 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:10	3498	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:10	3498	[DEBUG]	Executed store
2023-10-13	13:26:10	3498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862990','0','26.9266480965645','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:10	3498	[DEBUG]	Checking manufacturer
2023-10-13	13:26:10	3498	[DEBUG]	Load a row
2023-10-13	13:26:10	3498	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:10	3498	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:10	3498	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:10	3498	[DEBUG]	Executed store
2023-10-13	13:26:10	3498	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:10	3498	[DEBUG]	Manufacturer exists
2023-10-13	13:26:10	3498	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:10	3498	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:10	3498	[DEBUG]	Executed store
2023-10-13	13:26:10	3498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862990','123')
2023-10-13	13:26:10	3498	[DEBUG]	Find the custom field ID
2023-10-13	13:26:10	3498	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:10	3498	[DEBUG]	No custom field ID found
2023-10-13	13:26:10	3498	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:10	3498	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:10	3498	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862990 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:10	3498	[DEBUG]	Store custom available field
2023-10-13	13:26:10	3498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862990,3,'0',1)
2023-10-13	13:26:10	3498	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:10	3498	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:10	3498	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862990 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:10	3498	[DEBUG]	Store custom available field
2023-10-13	13:26:10	3498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862990,6,'choisir la taille',3)
2023-10-13	13:26:10	3498	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:10	3498	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:10	3498	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:10	3498	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:10	3498	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862990 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:10	3498	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:10	3498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862990,8,1)
2023-10-13	13:26:10	3498	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:10	3498	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862990\":[1862990,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862990
2023-10-13	13:26:10	3498	[DEBUG]	Checking category
2023-10-13	13:26:10	3498	[DEBUG]	Check if category path exists: MANETTES VITESSES
2023-10-13	13:26:10	3498	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'MANETTES VITESSES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7379
2023-10-13	13:26:10	3498	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:10	3498	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862990
2023-10-13	13:26:10	3498	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:10	3498	[DEBUG]	Executed store
2023-10-13	13:26:10	3498	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862990','7381')
2023-10-13	13:26:10	3498	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:10	3498	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862990 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:10	3498	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:10	3498	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862990
2023-10-13	13:26:10	3499	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:10	3499	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:10	3499	[DEBUG]	Use field value for field taille
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:10	3499	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:10	3499	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:10	3499	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:10	3499	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:10	3499	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:10	3499	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:10	3499	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:10	3499	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:10	3499	[DEBUG]	Use field value for field published
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:10	3499	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field override
2023-10-13	13:26:10	3499	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:10	3499	[DEBUG]	Use field value for field slug
2023-10-13	13:26:10	3499	[DEBUG]	Process line 3499
2023-10-13	13:26:10	3499	[DEBUG]	Load a row
2023-10-13	13:26:10	3499	[DEBUG]	Processing item: 1000000079746
2023-10-13	13:26:10	3499	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:10	3499	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:10	3499	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5207_1'
2023-10-13	13:26:10	3499	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:10	3499	[DEBUG]	Processing product tax
2023-10-13	13:26:10	3499	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:10	3499	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:10	3499	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:10	3499	[DEBUG]	Query for Product
2023-10-13	13:26:10	3499	[DEBUG]	Executed store
2023-10-13	13:26:10	3499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862990','1000000079746','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:26:10	3499	[DEBUG]	No parent found
2023-10-13	13:26:10	3499	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862990 AND customfield_value = 'stockable'
2023-10-13	13:26:10	3499	[DEBUG]	Check product language entry
2023-10-13	13:26:10	3499	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862991
2023-10-13	13:26:10	3499	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:10	3499	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000079746' AND `virtuemart_product_id` != 1862991
2023-10-13	13:26:10	3499	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:10	3499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862991, '1000000079746')
2023-10-13	13:26:10	3499	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:10	3499	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-vitesses-shimano-si-m511-noir-unitaire' AND `virtuemart_product_id` != 1862991
2023-10-13	13:26:10	3499	[DEBUG]	Query for ProductLang
2023-10-13	13:26:10	3499	[DEBUG]	Executed store
2023-10-13	13:26:10	3499	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette vitesses Shimano SI-M511 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-vitesses-shimano-si-m511-noir-unitaire' WHERE `virtuemart_product_id` = '1862991'
2023-10-13	13:26:10	3499	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29678_manette_vitesses_shimano_si-m511.jpg has not been found.
2023-10-13	13:26:10	3499	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:10	3499	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862991 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:10	3499	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:10	3499	[DEBUG]	Executed store
2023-10-13	13:26:10	3499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862991','0','26.9266480965645','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:10	3499	[DEBUG]	Checking manufacturer
2023-10-13	13:26:10	3499	[DEBUG]	Load a row
2023-10-13	13:26:10	3499	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:10	3499	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:10	3499	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:10	3499	[DEBUG]	Executed store
2023-10-13	13:26:10	3499	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:10	3499	[DEBUG]	Manufacturer exists
2023-10-13	13:26:10	3499	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:10	3499	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:10	3499	[DEBUG]	Executed store
2023-10-13	13:26:10	3499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862991','123')
2023-10-13	13:26:10	3499	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:10	3499	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:10	3499	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862991 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:10	3499	[DEBUG]	Store custom available field
2023-10-13	13:26:10	3499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862991,3,'',1)
2023-10-13	13:26:10	3499	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:10	3499	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:26:10	3499	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862991 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:10	3499	[DEBUG]	Store custom available field
2023-10-13	13:26:10	3499	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862991,6,'Unitaire',3)
2023-10-13	13:26:10	3499	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:10	3499	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:10	3499	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862990
2023-10-13	13:26:10	3499	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:10	3499	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862990\":[1862990,8,1,\"choisir la taille\"],\"1862991\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862990
2023-10-13	13:26:10	3499	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:10	3499	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862991
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:10	3500	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field taille
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:10	3500	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:10	3500	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:10	3500	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:10	3500	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:10	3500	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:10	3500	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field published
2023-10-13	13:26:10	3500	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:10	3500	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field override
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:10	3500	[DEBUG]	Use field value for field slug
2023-10-13	13:26:10	3500	[DEBUG]	Process line 3500
2023-10-13	13:26:10	3500	[DEBUG]	Load a row
2023-10-13	13:26:10	3500	[DEBUG]	Processing item: A_5300_1
2023-10-13	13:26:10	3500	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:10	3500	[DEBUG]	Processing product tax
2023-10-13	13:26:10	3500	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:10	3500	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:10	3500	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:10	3500	[DEBUG]	Query for Product
2023-10-13	13:26:10	3500	[DEBUG]	Executed store
2023-10-13	13:26:10	3500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5300_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0')
2023-10-13	13:26:10	3500	[DEBUG]	Check product language entry
2023-10-13	13:26:10	3500	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862992
2023-10-13	13:26:10	3500	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:10	3500	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5300_1' AND `virtuemart_product_id` != 1862992
2023-10-13	13:26:10	3500	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:10	3500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862992, 'A_5300_1')
2023-10-13	13:26:10	3500	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:10	3500	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-trigger-clamp-bolt-kit-sblk-qty1-noir' AND `virtuemart_product_id` != 1862992
2023-10-13	13:26:10	3500	[DEBUG]	Query for ProductLang
2023-10-13	13:26:10	3500	[DEBUG]	Executed store
2023-10-13	13:26:10	3500	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7353C',`product_name`='SRAM Trigger Clamp/Bolt Kit SBLK QTY1 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-trigger-clamp-bolt-kit-sblk-qty1-noir' WHERE `virtuemart_product_id` = '1862992'
2023-10-13	13:26:10	3500	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29777_trigger_clamp-bolt_kit_sblk_qty1.jpg
2023-10-13	13:26:10	3500	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:10	3500	[DEBUG]	Process image file
2023-10-13	13:26:10	3500	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:10	3500	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:10	3500	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29777_trigger_clamp-bolt_kit_sblk_qty1.jpg
2023-10-13	13:26:10	3500	[DEBUG]	Full name target: bcprisme/29777_trigger_clamp-bolt_kit_sblk_qty1.jpg
2023-10-13	13:26:11	3500	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:11	3500	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29777_trigger_clamp-bolt_kit_sblk_qty1.jpg'
2023-10-13	13:26:11	3500	[DEBUG]	Query for Media
2023-10-13	13:26:11	3500	[DEBUG]	Executed store
2023-10-13	13:26:11	3500	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29777_trigger_clamp-bolt_kit_sblk_qty1.jpg',`file_url_thumb`='bcprisme/29777_trigger_clamp-bolt_kit_sblk_qty1.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '177611'
2023-10-13	13:26:11	3500	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:11	3500	[DEBUG]	Executed store
2023-10-13	13:26:11	3500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862992','177611','1')
2023-10-13	13:26:11	3500	[DEBUG]	Store product image relation
2023-10-13	13:26:11	3500	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:11	3500	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862992 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:11	3500	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:11	3500	[DEBUG]	Executed store
2023-10-13	13:26:11	3500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862992','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:24:48','1593','2023-10-13 13:24:48','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:11	3500	[DEBUG]	Checking manufacturer
2023-10-13	13:26:11	3500	[DEBUG]	Load a row
2023-10-13	13:26:11	3500	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:11	3500	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:26:11	3500	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:11	3500	[DEBUG]	Executed store
2023-10-13	13:26:11	3500	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:26:11	3500	[DEBUG]	Manufacturer exists
2023-10-13	13:26:11	3500	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:26:11	3500	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:11	3500	[DEBUG]	Executed store
2023-10-13	13:26:11	3500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862992','35')
2023-10-13	13:26:11	3500	[DEBUG]	Find the custom field ID
2023-10-13	13:26:11	3500	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:11	3500	[DEBUG]	No custom field ID found
2023-10-13	13:26:11	3500	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:11	3500	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:11	3500	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862992 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:11	3500	[DEBUG]	Store custom available field
2023-10-13	13:26:11	3500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862992,3,'0',1)
2023-10-13	13:26:11	3500	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:11	3500	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:11	3500	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862992 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:11	3500	[DEBUG]	Store custom available field
2023-10-13	13:26:11	3500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862992,6,'choisir la taille',3)
2023-10-13	13:26:11	3500	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:11	3500	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:11	3500	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:11	3500	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:11	3500	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862992 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:11	3500	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:11	3500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862992,8,1)
2023-10-13	13:26:11	3500	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:11	3500	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862992\":[1862992,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862992
2023-10-13	13:26:11	3500	[DEBUG]	Checking category
2023-10-13	13:26:11	3500	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:11	3500	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862992
2023-10-13	13:26:11	3500	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:11	3500	[DEBUG]	Executed store
2023-10-13	13:26:11	3500	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862992','7381')
2023-10-13	13:26:11	3500	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:11	3500	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862992 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:11	3500	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:11	3500	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862992
2023-10-13	13:26:31	3500	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:26:31	3500	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:26:31	3500	[DEBUG]	Load the fields to process
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: product_sku
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: taille
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: product_name
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: category_path
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: product_price
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: product_override_price
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: product_tax
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: file_url
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: product_desc
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: product_availability
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: product_weight
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: product_unit
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: related_products
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: product_special
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: published
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: metadesc
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: metakey
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: custom_title
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: custom_value
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: custom_param
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: override
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: public_price
2023-10-13	13:26:31	3500	[DEBUG]	Setup field: slug
2023-10-13	13:26:31	3500	[DEBUG]	Use the file for configuration
2023-10-13	13:26:31	3500	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:26:31	3500	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:26:31	3500	[DEBUG]	Load the custom fields
2023-10-13	13:26:31	3500	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:26:31	3500	[DEBUG]	Load stockable custom fields
2023-10-13	13:26:31	3500	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:26:31	3500	[DEBUG]	Load custom fields for all
2023-10-13	13:26:31	3500	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:26:31	3501	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:31	3501	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:31	3501	[DEBUG]	Use field value for field taille
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:31	3501	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:31	3501	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:31	3501	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:31	3501	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:31	3501	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:31	3501	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:31	3501	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:31	3501	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:31	3501	[DEBUG]	Use field value for field published
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:31	3501	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field override
2023-10-13	13:26:31	3501	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:31	3501	[DEBUG]	Use field value for field slug
2023-10-13	13:26:31	3501	[DEBUG]	Process line 3501
2023-10-13	13:26:31	3501	[DEBUG]	Check if the vendor exists
2023-10-13	13:26:31	3501	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '710845663017'
2023-10-13	13:26:31	3501	[DEBUG]	Load a row
2023-10-13	13:26:31	3501	[DEBUG]	Processing item: 710845663017
2023-10-13	13:26:31	3501	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:31	3501	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:31	3501	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5300_1'
2023-10-13	13:26:31	3501	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:31	3501	[DEBUG]	Processing product tax
2023-10-13	13:26:31	3501	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:31	3501	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:31	3501	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:31	3501	[DEBUG]	Query for Product
2023-10-13	13:26:31	3501	[DEBUG]	Executed store
2023-10-13	13:26:31	3501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862992','710845663017','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:31	3501	[DEBUG]	No parent found
2023-10-13	13:26:31	3501	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862992 AND customfield_value = 'stockable'
2023-10-13	13:26:31	3501	[DEBUG]	Check product language entry
2023-10-13	13:26:31	3501	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862993
2023-10-13	13:26:31	3501	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:31	3501	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845663017' AND `virtuemart_product_id` != 1862993
2023-10-13	13:26:31	3501	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:31	3501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862993, '710845663017')
2023-10-13	13:26:31	3501	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:31	3501	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-trigger-clamp-bolt-kit-sblk-qty1-noir-unitaire' AND `virtuemart_product_id` != 1862993
2023-10-13	13:26:31	3501	[DEBUG]	Query for ProductLang
2023-10-13	13:26:31	3501	[DEBUG]	Executed store
2023-10-13	13:26:31	3501	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Trigger Clamp/Bolt Kit SBLK QTY1 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-trigger-clamp-bolt-kit-sblk-qty1-noir-unitaire' WHERE `virtuemart_product_id` = '1862993'
2023-10-13	13:26:31	3501	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29777_trigger_clamp-bolt_kit_sblk_qty1.jpg
2023-10-13	13:26:31	3501	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:31	3501	[DEBUG]	Process image file
2023-10-13	13:26:31	3501	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:31	3501	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:31	3501	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29777_trigger_clamp-bolt_kit_sblk_qty1.jpg
2023-10-13	13:26:31	3501	[DEBUG]	Full name target: bcprisme/29777_trigger_clamp-bolt_kit_sblk_qty1.jpg
2023-10-13	13:26:32	3501	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:32	3501	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29777_trigger_clamp-bolt_kit_sblk_qty1.jpg'
2023-10-13	13:26:32	3501	[DEBUG]	Query for Media
2023-10-13	13:26:32	3501	[DEBUG]	Executed store
2023-10-13	13:26:32	3501	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29777_trigger_clamp-bolt_kit_sblk_qty1.jpg',`file_url_thumb`='bcprisme/29777_trigger_clamp-bolt_kit_sblk_qty1.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '177611'
2023-10-13	13:26:32	3501	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:32	3501	[DEBUG]	Executed store
2023-10-13	13:26:32	3501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862993','177611','1')
2023-10-13	13:26:32	3501	[DEBUG]	Store product image relation
2023-10-13	13:26:32	3501	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:32	3501	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862993 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:32	3501	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:32	3501	[DEBUG]	Executed store
2023-10-13	13:26:32	3501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862993','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:32	3501	[DEBUG]	Checking manufacturer
2023-10-13	13:26:32	3501	[DEBUG]	Load a row
2023-10-13	13:26:32	3501	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:32	3501	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:26:32	3501	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:32	3501	[DEBUG]	Executed store
2023-10-13	13:26:32	3501	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:26:32	3501	[DEBUG]	Manufacturer exists
2023-10-13	13:26:32	3501	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:26:32	3501	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:32	3501	[DEBUG]	Executed store
2023-10-13	13:26:32	3501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862993','35')
2023-10-13	13:26:32	3501	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:32	3501	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:32	3501	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862993 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:32	3501	[DEBUG]	Store custom available field
2023-10-13	13:26:32	3501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862993,3,'',1)
2023-10-13	13:26:32	3501	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:32	3501	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:26:32	3501	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862993 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:32	3501	[DEBUG]	Store custom available field
2023-10-13	13:26:32	3501	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862993,6,'Unitaire',3)
2023-10-13	13:26:32	3501	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:32	3501	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:32	3501	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862992
2023-10-13	13:26:32	3501	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:32	3501	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1862992\":[1862992,8,1,\"choisir la taille\"],\"1862993\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1862992
2023-10-13	13:26:32	3501	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:32	3501	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862993
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:32	3502	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field taille
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:32	3502	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:32	3502	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:32	3502	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:32	3502	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:32	3502	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:32	3502	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field published
2023-10-13	13:26:32	3502	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:32	3502	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field override
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:32	3502	[DEBUG]	Use field value for field slug
2023-10-13	13:26:32	3502	[DEBUG]	Process line 3502
2023-10-13	13:26:32	3502	[DEBUG]	Load a row
2023-10-13	13:26:32	3502	[DEBUG]	Processing item: A_5363_208
2023-10-13	13:26:32	3502	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:32	3502	[DEBUG]	Processing product tax
2023-10-13	13:26:32	3502	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:32	3502	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:32	3502	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:32	3502	[DEBUG]	Query for Product
2023-10-13	13:26:32	3502	[DEBUG]	Executed store
2023-10-13	13:26:32	3502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5363_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:32	3502	[DEBUG]	Check product language entry
2023-10-13	13:26:32	3502	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862994
2023-10-13	13:26:32	3502	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:32	3502	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5363_208' AND `virtuemart_product_id` != 1862994
2023-10-13	13:26:32	3502	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:32	3502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862994, 'A_5363_208')
2023-10-13	13:26:32	3502	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:32	3502	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-tourney-sl-rs45-droite-6-vitesses-revoshift-box-aucune' AND `virtuemart_product_id` != 1862994
2023-10-13	13:26:32	3502	[DEBUG]	Query for ProductLang
2023-10-13	13:26:32	3502	[DEBUG]	Executed store
2023-10-13	13:26:32	3502	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.58241',`product_name`='SHIMANO Manette Tourney SL-RS45 droite 6-vitesses Revoshift box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-tourney-sl-rs45-droite-6-vitesses-revoshift-box-aucune' WHERE `virtuemart_product_id` = '1862994'
2023-10-13	13:26:32	3502	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29841_shimano_manette_tourney_sl-rs45_droite_6-vitesses_revoshift_box.jpg
2023-10-13	13:26:32	3502	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:32	3502	[DEBUG]	Process image file
2023-10-13	13:26:32	3502	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:32	3502	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:32	3502	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29841_shimano_manette_tourney_sl-rs45_droite_6-vitesses_revoshift_box.jpg
2023-10-13	13:26:32	3502	[DEBUG]	Full name target: bcprisme/29841_shimano_manette_tourney_sl-rs45_droite_6-vitesses_revoshift_box.jpg
2023-10-13	13:26:33	3502	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:33	3502	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29841_shimano_manette_tourney_sl-rs45_droite_6-vitesses_revoshift_box.jpg'
2023-10-13	13:26:33	3502	[DEBUG]	Query for Media
2023-10-13	13:26:33	3502	[DEBUG]	Executed store
2023-10-13	13:26:33	3502	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29841_shimano_manette_tourney_sl-rs45_droite_6-vitesses_revoshift_box.jpg',`file_url_thumb`='bcprisme/29841_shimano_manette_tourney_sl-rs45_droite_6-vitesses_revoshift_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '141228'
2023-10-13	13:26:33	3502	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:33	3502	[DEBUG]	Executed store
2023-10-13	13:26:33	3502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862994','141228','1')
2023-10-13	13:26:33	3502	[DEBUG]	Store product image relation
2023-10-13	13:26:33	3502	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:33	3502	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862994 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:33	3502	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:33	3502	[DEBUG]	Executed store
2023-10-13	13:26:33	3502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862994','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:33	3502	[DEBUG]	Checking manufacturer
2023-10-13	13:26:33	3502	[DEBUG]	Load a row
2023-10-13	13:26:33	3502	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:33	3502	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:33	3502	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:33	3502	[DEBUG]	Executed store
2023-10-13	13:26:33	3502	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:33	3502	[DEBUG]	Manufacturer exists
2023-10-13	13:26:33	3502	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:33	3502	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:33	3502	[DEBUG]	Executed store
2023-10-13	13:26:33	3502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862994','26')
2023-10-13	13:26:33	3502	[DEBUG]	Find the custom field ID
2023-10-13	13:26:33	3502	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:33	3502	[DEBUG]	No custom field ID found
2023-10-13	13:26:33	3502	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:33	3502	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:33	3502	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862994 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:33	3502	[DEBUG]	Store custom available field
2023-10-13	13:26:33	3502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862994,3,'0',1)
2023-10-13	13:26:33	3502	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:33	3502	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:33	3502	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862994 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:33	3502	[DEBUG]	Store custom available field
2023-10-13	13:26:33	3502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862994,6,'choisir la taille',3)
2023-10-13	13:26:33	3502	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:33	3502	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:33	3502	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:33	3502	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:33	3502	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862994 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:33	3502	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:33	3502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862994,8,1)
2023-10-13	13:26:33	3502	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:33	3502	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862994\":[1862994,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862994
2023-10-13	13:26:33	3502	[DEBUG]	Checking category
2023-10-13	13:26:33	3502	[DEBUG]	Check if category path exists: MANETTES DE VITESSES
2023-10-13	13:26:33	3502	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'MANETTES DE VITESSES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:26:33	3502	[DEBUG]	Check if category path exists: MANETTES VITESSES
2023-10-13	13:26:33	3502	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'MANETTES VITESSES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7379
2023-10-13	13:26:33	3502	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:33	3502	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862994
2023-10-13	13:26:33	3502	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:33	3502	[DEBUG]	Executed store
2023-10-13	13:26:33	3502	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862994','7381')
2023-10-13	13:26:33	3502	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:33	3502	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862994 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:33	3502	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:33	3502	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862994
2023-10-13	13:26:33	3503	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:33	3503	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:33	3503	[DEBUG]	Use field value for field taille
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:33	3503	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:33	3503	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:33	3503	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:33	3503	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:33	3503	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:33	3503	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:33	3503	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:33	3503	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:33	3503	[DEBUG]	Use field value for field published
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:33	3503	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field override
2023-10-13	13:26:33	3503	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:33	3503	[DEBUG]	Use field value for field slug
2023-10-13	13:26:33	3503	[DEBUG]	Process line 3503
2023-10-13	13:26:33	3503	[DEBUG]	Load a row
2023-10-13	13:26:33	3503	[DEBUG]	Processing item: 4524667337935
2023-10-13	13:26:33	3503	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:33	3503	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:33	3503	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5363_208'
2023-10-13	13:26:33	3503	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:33	3503	[DEBUG]	Processing product tax
2023-10-13	13:26:33	3503	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:33	3503	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:33	3503	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:33	3503	[DEBUG]	Query for Product
2023-10-13	13:26:33	3503	[DEBUG]	Executed store
2023-10-13	13:26:33	3503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862994','4524667337935','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:33	3503	[DEBUG]	No parent found
2023-10-13	13:26:33	3503	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862994 AND customfield_value = 'stockable'
2023-10-13	13:26:33	3503	[DEBUG]	Check product language entry
2023-10-13	13:26:33	3503	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862995
2023-10-13	13:26:33	3503	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:33	3503	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667337935' AND `virtuemart_product_id` != 1862995
2023-10-13	13:26:33	3503	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:33	3503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862995, '4524667337935')
2023-10-13	13:26:33	3503	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:33	3503	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-tourney-sl-rs45-droite-6-vitesses-revoshift-box-aucune-all' AND `virtuemart_product_id` != 1862995
2023-10-13	13:26:33	3503	[DEBUG]	Query for ProductLang
2023-10-13	13:26:33	3503	[DEBUG]	Executed store
2023-10-13	13:26:33	3503	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Tourney SL-RS45 droite 6-vitesses Revoshift box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-tourney-sl-rs45-droite-6-vitesses-revoshift-box-aucune-all' WHERE `virtuemart_product_id` = '1862995'
2023-10-13	13:26:33	3503	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29841_shimano_manette_tourney_sl-rs45_droite_6-vitesses_revoshift_box.jpg
2023-10-13	13:26:33	3503	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:33	3503	[DEBUG]	Process image file
2023-10-13	13:26:33	3503	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:33	3503	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:33	3503	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29841_shimano_manette_tourney_sl-rs45_droite_6-vitesses_revoshift_box.jpg
2023-10-13	13:26:33	3503	[DEBUG]	Full name target: bcprisme/29841_shimano_manette_tourney_sl-rs45_droite_6-vitesses_revoshift_box.jpg
2023-10-13	13:26:34	3503	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:34	3503	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29841_shimano_manette_tourney_sl-rs45_droite_6-vitesses_revoshift_box.jpg'
2023-10-13	13:26:34	3503	[DEBUG]	Query for Media
2023-10-13	13:26:34	3503	[DEBUG]	Executed store
2023-10-13	13:26:34	3503	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29841_shimano_manette_tourney_sl-rs45_droite_6-vitesses_revoshift_box.jpg',`file_url_thumb`='bcprisme/29841_shimano_manette_tourney_sl-rs45_droite_6-vitesses_revoshift_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '141228'
2023-10-13	13:26:34	3503	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:34	3503	[DEBUG]	Executed store
2023-10-13	13:26:34	3503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862995','141228','1')
2023-10-13	13:26:34	3503	[DEBUG]	Store product image relation
2023-10-13	13:26:34	3503	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:34	3503	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862995 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:34	3503	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:34	3503	[DEBUG]	Executed store
2023-10-13	13:26:34	3503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862995','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:34	3503	[DEBUG]	Checking manufacturer
2023-10-13	13:26:34	3503	[DEBUG]	Load a row
2023-10-13	13:26:34	3503	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:34	3503	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:34	3503	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:34	3503	[DEBUG]	Executed store
2023-10-13	13:26:34	3503	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:34	3503	[DEBUG]	Manufacturer exists
2023-10-13	13:26:34	3503	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:34	3503	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:34	3503	[DEBUG]	Executed store
2023-10-13	13:26:34	3503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862995','26')
2023-10-13	13:26:34	3503	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:34	3503	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:34	3503	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862995 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:34	3503	[DEBUG]	Store custom available field
2023-10-13	13:26:34	3503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862995,3,'',1)
2023-10-13	13:26:34	3503	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:34	3503	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:26:34	3503	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862995 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:34	3503	[DEBUG]	Store custom available field
2023-10-13	13:26:34	3503	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862995,6,'All',3)
2023-10-13	13:26:34	3503	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:34	3503	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:34	3503	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862994
2023-10-13	13:26:34	3503	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:34	3503	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862994\":[1862994,8,1,\"choisir la taille\"],\"1862995\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862994
2023-10-13	13:26:34	3503	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:34	3503	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862995
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:34	3504	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field taille
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:34	3504	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:34	3504	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:34	3504	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:34	3504	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:34	3504	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:34	3504	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field published
2023-10-13	13:26:34	3504	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:34	3504	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field override
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:34	3504	[DEBUG]	Use field value for field slug
2023-10-13	13:26:34	3504	[DEBUG]	Process line 3504
2023-10-13	13:26:34	3504	[DEBUG]	Load a row
2023-10-13	13:26:34	3504	[DEBUG]	Processing item: A_5364_208
2023-10-13	13:26:34	3504	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:34	3504	[DEBUG]	Processing product tax
2023-10-13	13:26:34	3504	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:34	3504	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:34	3504	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:34	3504	[DEBUG]	Query for Product
2023-10-13	13:26:34	3504	[DEBUG]	Executed store
2023-10-13	13:26:34	3504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5364_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:34	3504	[DEBUG]	Check product language entry
2023-10-13	13:26:34	3504	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862996
2023-10-13	13:26:34	3504	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:34	3504	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5364_208' AND `virtuemart_product_id` != 1862996
2023-10-13	13:26:34	3504	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:34	3504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862996, 'A_5364_208')
2023-10-13	13:26:34	3504	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:34	3504	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-tourney-sl-rs45-gauche-3-vitesses-revo-shift-box-aucune' AND `virtuemart_product_id` != 1862996
2023-10-13	13:26:34	3504	[DEBUG]	Query for ProductLang
2023-10-13	13:26:34	3504	[DEBUG]	Executed store
2023-10-13	13:26:34	3504	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.58244',`product_name`='SHIMANO Manette Tourney SL-RS45 gauche 3-vitesses Revo-Shift box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-tourney-sl-rs45-gauche-3-vitesses-revo-shift-box-aucune' WHERE `virtuemart_product_id` = '1862996'
2023-10-13	13:26:34	3504	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29842_shimano_manette_tourney_sl-rs45_gauche_3-vitesses_revo-shift_box.jpg
2023-10-13	13:26:34	3504	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:34	3504	[DEBUG]	Process image file
2023-10-13	13:26:34	3504	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:34	3504	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:34	3504	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29842_shimano_manette_tourney_sl-rs45_gauche_3-vitesses_revo-shift_box.jpg
2023-10-13	13:26:34	3504	[DEBUG]	Full name target: bcprisme/29842_shimano_manette_tourney_sl-rs45_gauche_3-vitesses_revo-shift_box.jpg
2023-10-13	13:26:35	3504	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:35	3504	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29842_shimano_manette_tourney_sl-rs45_gauche_3-vitesses_revo-shift_box.jpg'
2023-10-13	13:26:35	3504	[DEBUG]	Query for Media
2023-10-13	13:26:35	3504	[DEBUG]	Executed store
2023-10-13	13:26:35	3504	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29842_shimano_manette_tourney_sl-rs45_gauche_3-vitesses_revo-shift_box.jpg',`file_url_thumb`='bcprisme/29842_shimano_manette_tourney_sl-rs45_gauche_3-vitesses_revo-shift_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135328'
2023-10-13	13:26:35	3504	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:35	3504	[DEBUG]	Executed store
2023-10-13	13:26:35	3504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862996','135328','1')
2023-10-13	13:26:35	3504	[DEBUG]	Store product image relation
2023-10-13	13:26:35	3504	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:35	3504	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862996 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:35	3504	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:35	3504	[DEBUG]	Executed store
2023-10-13	13:26:35	3504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862996','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:35	3504	[DEBUG]	Checking manufacturer
2023-10-13	13:26:35	3504	[DEBUG]	Load a row
2023-10-13	13:26:35	3504	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:35	3504	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:35	3504	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:35	3504	[DEBUG]	Executed store
2023-10-13	13:26:35	3504	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:35	3504	[DEBUG]	Manufacturer exists
2023-10-13	13:26:35	3504	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:35	3504	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:35	3504	[DEBUG]	Executed store
2023-10-13	13:26:35	3504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862996','123')
2023-10-13	13:26:35	3504	[DEBUG]	Find the custom field ID
2023-10-13	13:26:35	3504	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:35	3504	[DEBUG]	No custom field ID found
2023-10-13	13:26:35	3504	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:35	3504	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:35	3504	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862996 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:35	3504	[DEBUG]	Store custom available field
2023-10-13	13:26:35	3504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862996,3,'0',1)
2023-10-13	13:26:35	3504	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:35	3504	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:35	3504	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862996 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:35	3504	[DEBUG]	Store custom available field
2023-10-13	13:26:35	3504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862996,6,'choisir la taille',3)
2023-10-13	13:26:35	3504	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:35	3504	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:35	3504	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:35	3504	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:35	3504	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862996 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:35	3504	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:35	3504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862996,8,1)
2023-10-13	13:26:35	3504	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:35	3504	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862996\":[1862996,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862996
2023-10-13	13:26:35	3504	[DEBUG]	Checking category
2023-10-13	13:26:35	3504	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:35	3504	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862996
2023-10-13	13:26:35	3504	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:35	3504	[DEBUG]	Executed store
2023-10-13	13:26:35	3504	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862996','7381')
2023-10-13	13:26:35	3504	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:35	3504	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862996 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:35	3504	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:35	3504	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862996
2023-10-13	13:26:35	3505	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:35	3505	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:35	3505	[DEBUG]	Use field value for field taille
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:35	3505	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:35	3505	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:35	3505	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:35	3505	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:35	3505	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:35	3505	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:35	3505	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:35	3505	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:35	3505	[DEBUG]	Use field value for field published
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:35	3505	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field override
2023-10-13	13:26:35	3505	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:35	3505	[DEBUG]	Use field value for field slug
2023-10-13	13:26:35	3505	[DEBUG]	Process line 3505
2023-10-13	13:26:35	3505	[DEBUG]	Load a row
2023-10-13	13:26:35	3505	[DEBUG]	Processing item: 4524667338048
2023-10-13	13:26:35	3505	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:35	3505	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:35	3505	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5364_208'
2023-10-13	13:26:35	3505	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:35	3505	[DEBUG]	Processing product tax
2023-10-13	13:26:35	3505	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:35	3505	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:35	3505	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:35	3505	[DEBUG]	Query for Product
2023-10-13	13:26:35	3505	[DEBUG]	Executed store
2023-10-13	13:26:35	3505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862996','4524667338048','0','KG','M','','11','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:35	3505	[DEBUG]	No parent found
2023-10-13	13:26:35	3505	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862996 AND customfield_value = 'stockable'
2023-10-13	13:26:35	3505	[DEBUG]	Check product language entry
2023-10-13	13:26:35	3505	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862997
2023-10-13	13:26:35	3505	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:35	3505	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667338048' AND `virtuemart_product_id` != 1862997
2023-10-13	13:26:35	3505	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:35	3505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862997, '4524667338048')
2023-10-13	13:26:35	3505	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:35	3505	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-tourney-sl-rs45-gauche-3-vitesses-revo-shift-box-aucune-all' AND `virtuemart_product_id` != 1862997
2023-10-13	13:26:35	3505	[DEBUG]	Query for ProductLang
2023-10-13	13:26:35	3505	[DEBUG]	Executed store
2023-10-13	13:26:35	3505	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Tourney SL-RS45 gauche 3-vitesses Revo-Shift box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-tourney-sl-rs45-gauche-3-vitesses-revo-shift-box-aucune-all' WHERE `virtuemart_product_id` = '1862997'
2023-10-13	13:26:35	3505	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29842_shimano_manette_tourney_sl-rs45_gauche_3-vitesses_revo-shift_box.jpg
2023-10-13	13:26:35	3505	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:35	3505	[DEBUG]	Process image file
2023-10-13	13:26:35	3505	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:35	3505	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:35	3505	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29842_shimano_manette_tourney_sl-rs45_gauche_3-vitesses_revo-shift_box.jpg
2023-10-13	13:26:35	3505	[DEBUG]	Full name target: bcprisme/29842_shimano_manette_tourney_sl-rs45_gauche_3-vitesses_revo-shift_box.jpg
2023-10-13	13:26:36	3505	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:36	3505	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29842_shimano_manette_tourney_sl-rs45_gauche_3-vitesses_revo-shift_box.jpg'
2023-10-13	13:26:36	3505	[DEBUG]	Query for Media
2023-10-13	13:26:36	3505	[DEBUG]	Executed store
2023-10-13	13:26:36	3505	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29842_shimano_manette_tourney_sl-rs45_gauche_3-vitesses_revo-shift_box.jpg',`file_url_thumb`='bcprisme/29842_shimano_manette_tourney_sl-rs45_gauche_3-vitesses_revo-shift_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135328'
2023-10-13	13:26:36	3505	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:36	3505	[DEBUG]	Executed store
2023-10-13	13:26:36	3505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862997','135328','1')
2023-10-13	13:26:36	3505	[DEBUG]	Store product image relation
2023-10-13	13:26:36	3505	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:36	3505	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862997 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:36	3505	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:36	3505	[DEBUG]	Executed store
2023-10-13	13:26:36	3505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862997','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:36	3505	[DEBUG]	Checking manufacturer
2023-10-13	13:26:36	3505	[DEBUG]	Load a row
2023-10-13	13:26:36	3505	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:36	3505	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:36	3505	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:36	3505	[DEBUG]	Executed store
2023-10-13	13:26:36	3505	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:36	3505	[DEBUG]	Manufacturer exists
2023-10-13	13:26:36	3505	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:36	3505	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:36	3505	[DEBUG]	Executed store
2023-10-13	13:26:36	3505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862997','123')
2023-10-13	13:26:36	3505	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:36	3505	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:36	3505	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862997 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:36	3505	[DEBUG]	Store custom available field
2023-10-13	13:26:36	3505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862997,3,'',1)
2023-10-13	13:26:36	3505	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:36	3505	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:26:36	3505	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862997 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:36	3505	[DEBUG]	Store custom available field
2023-10-13	13:26:36	3505	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862997,6,'All',3)
2023-10-13	13:26:36	3505	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:36	3505	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:36	3505	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862996
2023-10-13	13:26:36	3505	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:36	3505	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862996\":[1862996,8,1,\"choisir la taille\"],\"1862997\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862996
2023-10-13	13:26:36	3505	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:36	3505	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862997
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:36	3506	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field taille
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:36	3506	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:36	3506	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:36	3506	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:36	3506	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:36	3506	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:36	3506	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field published
2023-10-13	13:26:36	3506	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:36	3506	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field override
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:36	3506	[DEBUG]	Use field value for field slug
2023-10-13	13:26:36	3506	[DEBUG]	Process line 3506
2023-10-13	13:26:36	3506	[DEBUG]	Load a row
2023-10-13	13:26:36	3506	[DEBUG]	Processing item: A_5591_1
2023-10-13	13:26:36	3506	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:36	3506	[DEBUG]	Processing product tax
2023-10-13	13:26:36	3506	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:36	3506	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:36	3506	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:36	3506	[DEBUG]	Query for Product
2023-10-13	13:26:36	3506	[DEBUG]	Executed store
2023-10-13	13:26:36	3506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5591_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:36	3506	[DEBUG]	Check product language entry
2023-10-13	13:26:36	3506	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862998
2023-10-13	13:26:36	3506	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:36	3506	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5591_1' AND `virtuemart_product_id` != 1862998
2023-10-13	13:26:36	3506	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:36	3506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862998, 'A_5591_1')
2023-10-13	13:26:36	3506	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:36	3506	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-tourney-sl-rs45-droite-7-vitesses-revoshift-box-noir' AND `virtuemart_product_id` != 1862998
2023-10-13	13:26:36	3506	[DEBUG]	Query for ProductLang
2023-10-13	13:26:36	3506	[DEBUG]	Executed store
2023-10-13	13:26:36	3506	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.58242',`product_name`='SHIMANO Manette Tourney SL-RS45 droite 7-vitesses Revoshift box  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-tourney-sl-rs45-droite-7-vitesses-revoshift-box-noir' WHERE `virtuemart_product_id` = '1862998'
2023-10-13	13:26:36	3506	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_54681.jpg
2023-10-13	13:26:36	3506	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:36	3506	[DEBUG]	Process image file
2023-10-13	13:26:36	3506	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:36	3506	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:36	3506	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_54681.jpg
2023-10-13	13:26:36	3506	[DEBUG]	Full name target: bcprisme/70_54681.jpg
2023-10-13	13:26:38	3506	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:38	3506	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_54681.jpg'
2023-10-13	13:26:38	3506	[DEBUG]	Query for Media
2023-10-13	13:26:38	3506	[DEBUG]	Executed store
2023-10-13	13:26:38	3506	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_54681.jpg',`file_url_thumb`='bcprisme/70_54681.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1002111'
2023-10-13	13:26:38	3506	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:38	3506	[DEBUG]	Executed store
2023-10-13	13:26:38	3506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862998','1002111','1')
2023-10-13	13:26:38	3506	[DEBUG]	Store product image relation
2023-10-13	13:26:38	3506	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:38	3506	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862998 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:38	3506	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:38	3506	[DEBUG]	Executed store
2023-10-13	13:26:38	3506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862998','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:38	3506	[DEBUG]	Checking manufacturer
2023-10-13	13:26:38	3506	[DEBUG]	Load a row
2023-10-13	13:26:38	3506	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:38	3506	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:38	3506	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:38	3506	[DEBUG]	Executed store
2023-10-13	13:26:38	3506	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:38	3506	[DEBUG]	Manufacturer exists
2023-10-13	13:26:38	3506	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:38	3506	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:38	3506	[DEBUG]	Executed store
2023-10-13	13:26:38	3506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862998','26')
2023-10-13	13:26:38	3506	[DEBUG]	Find the custom field ID
2023-10-13	13:26:38	3506	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:38	3506	[DEBUG]	No custom field ID found
2023-10-13	13:26:38	3506	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:38	3506	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:38	3506	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862998 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:38	3506	[DEBUG]	Store custom available field
2023-10-13	13:26:38	3506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862998,3,'0',1)
2023-10-13	13:26:38	3506	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:38	3506	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:38	3506	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862998 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:38	3506	[DEBUG]	Store custom available field
2023-10-13	13:26:38	3506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862998,6,'choisir la taille',3)
2023-10-13	13:26:38	3506	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:38	3506	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:38	3506	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:38	3506	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:38	3506	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862998 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:38	3506	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:38	3506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1862998,8,1)
2023-10-13	13:26:38	3506	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:38	3506	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1862998\":[1862998,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1862998
2023-10-13	13:26:38	3506	[DEBUG]	Checking category
2023-10-13	13:26:38	3506	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:38	3506	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862998
2023-10-13	13:26:38	3506	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:38	3506	[DEBUG]	Executed store
2023-10-13	13:26:38	3506	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1862998','7381')
2023-10-13	13:26:38	3506	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:38	3506	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1862998 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:38	3506	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:38	3506	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862998
2023-10-13	13:26:38	3507	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:38	3507	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:38	3507	[DEBUG]	Use field value for field taille
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:38	3507	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:38	3507	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:38	3507	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:38	3507	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:38	3507	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:38	3507	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:38	3507	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:38	3507	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:38	3507	[DEBUG]	Use field value for field published
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:38	3507	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field override
2023-10-13	13:26:38	3507	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:38	3507	[DEBUG]	Use field value for field slug
2023-10-13	13:26:38	3507	[DEBUG]	Process line 3507
2023-10-13	13:26:38	3507	[DEBUG]	Load a row
2023-10-13	13:26:38	3507	[DEBUG]	Processing item: 4524667337973
2023-10-13	13:26:38	3507	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:38	3507	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:38	3507	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5591_1'
2023-10-13	13:26:38	3507	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:38	3507	[DEBUG]	Processing product tax
2023-10-13	13:26:38	3507	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:38	3507	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:38	3507	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:38	3507	[DEBUG]	Query for Product
2023-10-13	13:26:38	3507	[DEBUG]	Executed store
2023-10-13	13:26:38	3507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1862998','4524667337973','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:38	3507	[DEBUG]	No parent found
2023-10-13	13:26:38	3507	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1862998 AND customfield_value = 'stockable'
2023-10-13	13:26:38	3507	[DEBUG]	Check product language entry
2023-10-13	13:26:38	3507	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1862999
2023-10-13	13:26:38	3507	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:38	3507	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667337973' AND `virtuemart_product_id` != 1862999
2023-10-13	13:26:38	3507	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:38	3507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1862999, '4524667337973')
2023-10-13	13:26:38	3507	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:38	3507	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-tourney-sl-rs45-droite-7-vitesses-revoshift-box-noir-all' AND `virtuemart_product_id` != 1862999
2023-10-13	13:26:38	3507	[DEBUG]	Query for ProductLang
2023-10-13	13:26:38	3507	[DEBUG]	Executed store
2023-10-13	13:26:38	3507	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Tourney SL-RS45 droite 7-vitesses Revoshift box  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-tourney-sl-rs45-droite-7-vitesses-revoshift-box-noir-all' WHERE `virtuemart_product_id` = '1862999'
2023-10-13	13:26:38	3507	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_54681.jpg
2023-10-13	13:26:38	3507	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:38	3507	[DEBUG]	Process image file
2023-10-13	13:26:38	3507	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:38	3507	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:38	3507	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_54681.jpg
2023-10-13	13:26:38	3507	[DEBUG]	Full name target: bcprisme/70_54681.jpg
2023-10-13	13:26:39	3507	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:39	3507	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_54681.jpg'
2023-10-13	13:26:39	3507	[DEBUG]	Query for Media
2023-10-13	13:26:39	3507	[DEBUG]	Executed store
2023-10-13	13:26:39	3507	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_54681.jpg',`file_url_thumb`='bcprisme/70_54681.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1002111'
2023-10-13	13:26:39	3507	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:39	3507	[DEBUG]	Executed store
2023-10-13	13:26:39	3507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1862999','1002111','1')
2023-10-13	13:26:39	3507	[DEBUG]	Store product image relation
2023-10-13	13:26:39	3507	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:39	3507	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1862999 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:39	3507	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:39	3507	[DEBUG]	Executed store
2023-10-13	13:26:39	3507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1862999','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:39	3507	[DEBUG]	Checking manufacturer
2023-10-13	13:26:39	3507	[DEBUG]	Load a row
2023-10-13	13:26:39	3507	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:39	3507	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:39	3507	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:39	3507	[DEBUG]	Executed store
2023-10-13	13:26:39	3507	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:39	3507	[DEBUG]	Manufacturer exists
2023-10-13	13:26:39	3507	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:39	3507	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:39	3507	[DEBUG]	Executed store
2023-10-13	13:26:39	3507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1862999','26')
2023-10-13	13:26:39	3507	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:39	3507	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:39	3507	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862999 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:39	3507	[DEBUG]	Store custom available field
2023-10-13	13:26:39	3507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862999,3,'',1)
2023-10-13	13:26:39	3507	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:39	3507	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:26:39	3507	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1862999 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:39	3507	[DEBUG]	Store custom available field
2023-10-13	13:26:39	3507	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1862999,6,'All',3)
2023-10-13	13:26:39	3507	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:39	3507	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:39	3507	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1862998
2023-10-13	13:26:39	3507	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:39	3507	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1862998\":[1862998,8,1,\"choisir la taille\"],\"1862999\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1862998
2023-10-13	13:26:39	3507	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:39	3507	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1862999
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:39	3508	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field taille
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:39	3508	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:39	3508	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:39	3508	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:39	3508	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:39	3508	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:39	3508	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field published
2023-10-13	13:26:39	3508	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:39	3508	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field override
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:39	3508	[DEBUG]	Use field value for field slug
2023-10-13	13:26:39	3508	[DEBUG]	Process line 3508
2023-10-13	13:26:39	3508	[DEBUG]	Load a row
2023-10-13	13:26:39	3508	[DEBUG]	Processing item: A_5657_208
2023-10-13	13:26:39	3508	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:39	3508	[DEBUG]	Processing product tax
2023-10-13	13:26:39	3508	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:39	3508	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:39	3508	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:39	3508	[DEBUG]	Query for Product
2023-10-13	13:26:39	3508	[DEBUG]	Executed store
2023-10-13	13:26:39	3508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5657_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:39	3508	[DEBUG]	Check product language entry
2023-10-13	13:26:39	3508	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863000
2023-10-13	13:26:39	3508	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:39	3508	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5657_208' AND `virtuemart_product_id` != 1863000
2023-10-13	13:26:39	3508	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:39	3508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863000, 'A_5657_208')
2023-10-13	13:26:39	3508	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:39	3508	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-xt-sl-m8000-droite-11-vitesses-rapidfire-indicateur-de-vit-aucune' AND `virtuemart_product_id` != 1863000
2023-10-13	13:26:39	3508	[DEBUG]	Query for ProductLang
2023-10-13	13:26:39	3508	[DEBUG]	Executed store
2023-10-13	13:26:39	3508	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.65996',`product_name`='SHIMANO Manette Deore XT SL-M8000 droite 11-vitesses Rapidfire indicateur de vit. / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-xt-sl-m8000-droite-11-vitesses-rapidfire-indicateur-de-vit-aucune' WHERE `virtuemart_product_id` = '1863000'
2023-10-13	13:26:39	3508	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30158_shimano_manette_deore_xt_sl-m8000_droite_11-vitesses_rapidfire_indicateur_de_vit_.jpg
2023-10-13	13:26:39	3508	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:39	3508	[DEBUG]	Process image file
2023-10-13	13:26:39	3508	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:39	3508	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:39	3508	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30158_shimano_manette_deore_xt_sl-m8000_droite_11-vitesses_rapidfire_indicateur_de_vit_.jpg
2023-10-13	13:26:39	3508	[DEBUG]	Full name target: bcprisme/30158_shimano_manette_deore_xt_sl-m8000_droite_11-vitesses_rapidfire_indicateur_de_vit_.jpg
2023-10-13	13:26:40	3508	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:40	3508	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30158_shimano_manette_deore_xt_sl-m8000_droite_11-vitesses_rapidfire_indicateur_de_vit_.jpg'
2023-10-13	13:26:40	3508	[DEBUG]	Query for Media
2023-10-13	13:26:40	3508	[DEBUG]	Executed store
2023-10-13	13:26:40	3508	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30158_shimano_manette_deore_xt_sl-m8000_droite_11-vitesses_rapidfire_indicateur_de_vit_.jpg',`file_url_thumb`='bcprisme/30158_shimano_manette_deore_xt_sl-m8000_droite_11-vitesses_rapidfire_indicateur_de_vit_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481662'
2023-10-13	13:26:40	3508	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:40	3508	[DEBUG]	Executed store
2023-10-13	13:26:40	3508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863000','481662','1')
2023-10-13	13:26:40	3508	[DEBUG]	Store product image relation
2023-10-13	13:26:40	3508	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:40	3508	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863000 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:40	3508	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:40	3508	[DEBUG]	Executed store
2023-10-13	13:26:40	3508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863000','0','77.0659238625812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:40	3508	[DEBUG]	Checking manufacturer
2023-10-13	13:26:40	3508	[DEBUG]	Load a row
2023-10-13	13:26:40	3508	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:40	3508	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:40	3508	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:40	3508	[DEBUG]	Executed store
2023-10-13	13:26:40	3508	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:40	3508	[DEBUG]	Manufacturer exists
2023-10-13	13:26:40	3508	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:40	3508	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:40	3508	[DEBUG]	Executed store
2023-10-13	13:26:40	3508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863000','123')
2023-10-13	13:26:40	3508	[DEBUG]	Find the custom field ID
2023-10-13	13:26:40	3508	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:40	3508	[DEBUG]	No custom field ID found
2023-10-13	13:26:40	3508	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:40	3508	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:40	3508	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863000 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:40	3508	[DEBUG]	Store custom available field
2023-10-13	13:26:40	3508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863000,3,'0',1)
2023-10-13	13:26:40	3508	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:40	3508	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:40	3508	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863000 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:40	3508	[DEBUG]	Store custom available field
2023-10-13	13:26:40	3508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863000,6,'choisir la taille',3)
2023-10-13	13:26:40	3508	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:40	3508	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:40	3508	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:40	3508	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:40	3508	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863000 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:40	3508	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:40	3508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863000,8,1)
2023-10-13	13:26:40	3508	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:40	3508	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863000\":[1863000,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863000
2023-10-13	13:26:40	3508	[DEBUG]	Checking category
2023-10-13	13:26:40	3508	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:40	3508	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863000
2023-10-13	13:26:40	3508	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:40	3508	[DEBUG]	Executed store
2023-10-13	13:26:40	3508	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863000','7381')
2023-10-13	13:26:40	3508	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:40	3508	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863000 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:40	3508	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:40	3508	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863000
2023-10-13	13:26:40	3509	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:40	3509	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:40	3509	[DEBUG]	Use field value for field taille
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:40	3509	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:40	3509	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:40	3509	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:40	3509	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:40	3509	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:40	3509	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:40	3509	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:40	3509	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:40	3509	[DEBUG]	Use field value for field published
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:40	3509	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field override
2023-10-13	13:26:40	3509	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:40	3509	[DEBUG]	Use field value for field slug
2023-10-13	13:26:40	3509	[DEBUG]	Process line 3509
2023-10-13	13:26:40	3509	[DEBUG]	Load a row
2023-10-13	13:26:40	3509	[DEBUG]	Processing item: 4524667866817
2023-10-13	13:26:40	3509	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:40	3509	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:40	3509	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5657_208'
2023-10-13	13:26:40	3509	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:40	3509	[DEBUG]	Processing product tax
2023-10-13	13:26:40	3509	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:40	3509	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:40	3509	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:40	3509	[DEBUG]	Query for Product
2023-10-13	13:26:40	3509	[DEBUG]	Executed store
2023-10-13	13:26:40	3509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863000','4524667866817','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:40	3509	[DEBUG]	No parent found
2023-10-13	13:26:40	3509	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863000 AND customfield_value = 'stockable'
2023-10-13	13:26:40	3509	[DEBUG]	Check product language entry
2023-10-13	13:26:40	3509	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863001
2023-10-13	13:26:40	3509	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:40	3509	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667866817' AND `virtuemart_product_id` != 1863001
2023-10-13	13:26:40	3509	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:40	3509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863001, '4524667866817')
2023-10-13	13:26:40	3509	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:40	3509	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-xt-sl-m8000-droite-11-vitesses-rapidfire-indicateur-de-vit-aucune-all' AND `virtuemart_product_id` != 1863001
2023-10-13	13:26:40	3509	[DEBUG]	Query for ProductLang
2023-10-13	13:26:40	3509	[DEBUG]	Executed store
2023-10-13	13:26:40	3509	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Deore XT SL-M8000 droite 11-vitesses Rapidfire indicateur de vit. / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-xt-sl-m8000-droite-11-vitesses-rapidfire-indicateur-de-vit-aucune-all' WHERE `virtuemart_product_id` = '1863001'
2023-10-13	13:26:40	3509	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30158_shimano_manette_deore_xt_sl-m8000_droite_11-vitesses_rapidfire_indicateur_de_vit_.jpg
2023-10-13	13:26:40	3509	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:40	3509	[DEBUG]	Process image file
2023-10-13	13:26:40	3509	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:40	3509	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:40	3509	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30158_shimano_manette_deore_xt_sl-m8000_droite_11-vitesses_rapidfire_indicateur_de_vit_.jpg
2023-10-13	13:26:40	3509	[DEBUG]	Full name target: bcprisme/30158_shimano_manette_deore_xt_sl-m8000_droite_11-vitesses_rapidfire_indicateur_de_vit_.jpg
2023-10-13	13:26:41	3509	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:41	3509	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30158_shimano_manette_deore_xt_sl-m8000_droite_11-vitesses_rapidfire_indicateur_de_vit_.jpg'
2023-10-13	13:26:41	3509	[DEBUG]	Query for Media
2023-10-13	13:26:41	3509	[DEBUG]	Executed store
2023-10-13	13:26:41	3509	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30158_shimano_manette_deore_xt_sl-m8000_droite_11-vitesses_rapidfire_indicateur_de_vit_.jpg',`file_url_thumb`='bcprisme/30158_shimano_manette_deore_xt_sl-m8000_droite_11-vitesses_rapidfire_indicateur_de_vit_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481662'
2023-10-13	13:26:41	3509	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:41	3509	[DEBUG]	Executed store
2023-10-13	13:26:41	3509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863001','481662','1')
2023-10-13	13:26:41	3509	[DEBUG]	Store product image relation
2023-10-13	13:26:41	3509	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:41	3509	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863001 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:41	3509	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:41	3509	[DEBUG]	Executed store
2023-10-13	13:26:41	3509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863001','0','77.0659238625812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:41	3509	[DEBUG]	Checking manufacturer
2023-10-13	13:26:41	3509	[DEBUG]	Load a row
2023-10-13	13:26:41	3509	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:41	3509	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:41	3509	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:41	3509	[DEBUG]	Executed store
2023-10-13	13:26:41	3509	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:41	3509	[DEBUG]	Manufacturer exists
2023-10-13	13:26:41	3509	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:41	3509	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:41	3509	[DEBUG]	Executed store
2023-10-13	13:26:41	3509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863001','123')
2023-10-13	13:26:41	3509	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:41	3509	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:41	3509	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863001 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:41	3509	[DEBUG]	Store custom available field
2023-10-13	13:26:41	3509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863001,3,'',1)
2023-10-13	13:26:41	3509	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:41	3509	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:26:41	3509	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863001 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:41	3509	[DEBUG]	Store custom available field
2023-10-13	13:26:41	3509	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863001,6,'All',3)
2023-10-13	13:26:41	3509	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:41	3509	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:41	3509	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863000
2023-10-13	13:26:41	3509	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:41	3509	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863000\":[1863000,8,1,\"choisir la taille\"],\"1863001\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863000
2023-10-13	13:26:41	3509	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:41	3509	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863001
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:41	3510	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field taille
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:41	3510	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:41	3510	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:41	3510	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:41	3510	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:41	3510	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:41	3510	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field published
2023-10-13	13:26:41	3510	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:41	3510	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field override
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:41	3510	[DEBUG]	Use field value for field slug
2023-10-13	13:26:41	3510	[DEBUG]	Process line 3510
2023-10-13	13:26:41	3510	[DEBUG]	Load a row
2023-10-13	13:26:41	3510	[DEBUG]	Processing item: A_6019_208
2023-10-13	13:26:41	3510	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:41	3510	[DEBUG]	Processing product tax
2023-10-13	13:26:41	3510	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:41	3510	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:41	3510	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:41	3510	[DEBUG]	Query for Product
2023-10-13	13:26:41	3510	[DEBUG]	Executed store
2023-10-13	13:26:41	3510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6019_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:41	3510	[DEBUG]	Check product language entry
2023-10-13	13:26:41	3510	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863002
2023-10-13	13:26:41	3510	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:41	3510	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6019_208' AND `virtuemart_product_id` != 1863002
2023-10-13	13:26:41	3510	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:41	3510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863002, 'A_6019_208')
2023-10-13	13:26:41	3510	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:41	3510	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-tourney-sl-rs45-droite-8-vitesses-revo-shift-box-aucune' AND `virtuemart_product_id` != 1863002
2023-10-13	13:26:41	3510	[DEBUG]	Query for ProductLang
2023-10-13	13:26:41	3510	[DEBUG]	Executed store
2023-10-13	13:26:41	3510	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.58243',`product_name`='SHIMANO Manette Tourney SL-RS45 droite 8-vitesses Revo-Shift box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-tourney-sl-rs45-droite-8-vitesses-revo-shift-box-aucune' WHERE `virtuemart_product_id` = '1863002'
2023-10-13	13:26:41	3510	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31620_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revo-shift_box.jpg
2023-10-13	13:26:41	3510	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:26:41	3510	[DEBUG]	Process image file
2023-10-13	13:26:41	3510	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:26:41	3510	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:41	3510	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31620_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revo-shift_box.jpg
2023-10-13	13:26:41	3510	[DEBUG]	Full name target: bcprisme/31620_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revo-shift_box.jpg
2023-10-13	13:26:42	3510	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:42	3510	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31620_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revo-shift_box.jpg'
2023-10-13	13:26:42	3510	[DEBUG]	Query for Media
2023-10-13	13:26:42	3510	[DEBUG]	Executed store
2023-10-13	13:26:42	3510	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31620_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revo-shift_box.jpg',`file_url_thumb`='bcprisme/31620_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revo-shift_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041182'
2023-10-13	13:26:42	3510	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:42	3510	[DEBUG]	Executed store
2023-10-13	13:26:42	3510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863002','1041182','1')
2023-10-13	13:26:42	3510	[DEBUG]	Store product image relation
2023-10-13	13:26:42	3510	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:42	3510	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863002 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:42	3510	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:42	3510	[DEBUG]	Executed store
2023-10-13	13:26:42	3510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863002','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:42	3510	[DEBUG]	Checking manufacturer
2023-10-13	13:26:42	3510	[DEBUG]	Load a row
2023-10-13	13:26:42	3510	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:42	3510	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:42	3510	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:42	3510	[DEBUG]	Executed store
2023-10-13	13:26:42	3510	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:42	3510	[DEBUG]	Manufacturer exists
2023-10-13	13:26:42	3510	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:42	3510	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:42	3510	[DEBUG]	Executed store
2023-10-13	13:26:42	3510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863002','123')
2023-10-13	13:26:42	3510	[DEBUG]	Find the custom field ID
2023-10-13	13:26:42	3510	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:42	3510	[DEBUG]	No custom field ID found
2023-10-13	13:26:42	3510	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:42	3510	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:42	3510	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863002 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:42	3510	[DEBUG]	Store custom available field
2023-10-13	13:26:42	3510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863002,3,'0',1)
2023-10-13	13:26:42	3510	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:42	3510	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:42	3510	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863002 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:42	3510	[DEBUG]	Store custom available field
2023-10-13	13:26:42	3510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863002,6,'choisir la taille',3)
2023-10-13	13:26:42	3510	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:42	3510	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:42	3510	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:42	3510	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:42	3510	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863002 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:42	3510	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:42	3510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863002,8,1)
2023-10-13	13:26:42	3510	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:42	3510	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863002\":[1863002,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863002
2023-10-13	13:26:42	3510	[DEBUG]	Checking category
2023-10-13	13:26:42	3510	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:42	3510	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863002
2023-10-13	13:26:42	3510	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:42	3510	[DEBUG]	Executed store
2023-10-13	13:26:42	3510	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863002','7381')
2023-10-13	13:26:42	3510	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:42	3510	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863002 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:42	3510	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:42	3510	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863002
2023-10-13	13:26:42	3511	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:42	3511	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:42	3511	[DEBUG]	Use field value for field taille
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:42	3511	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:42	3511	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:42	3511	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:42	3511	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:42	3511	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:42	3511	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:42	3511	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:42	3511	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:42	3511	[DEBUG]	Use field value for field published
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:42	3511	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field override
2023-10-13	13:26:42	3511	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:42	3511	[DEBUG]	Use field value for field slug
2023-10-13	13:26:42	3511	[DEBUG]	Process line 3511
2023-10-13	13:26:42	3511	[DEBUG]	Load a row
2023-10-13	13:26:42	3511	[DEBUG]	Processing item: 4524667337737
2023-10-13	13:26:42	3511	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:42	3511	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:42	3511	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6019_208'
2023-10-13	13:26:42	3511	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:42	3511	[DEBUG]	Processing product tax
2023-10-13	13:26:42	3511	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:42	3511	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:42	3511	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:42	3511	[DEBUG]	Query for Product
2023-10-13	13:26:42	3511	[DEBUG]	Executed store
2023-10-13	13:26:42	3511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863002','4524667337737','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:42	3511	[DEBUG]	No parent found
2023-10-13	13:26:42	3511	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863002 AND customfield_value = 'stockable'
2023-10-13	13:26:42	3511	[DEBUG]	Check product language entry
2023-10-13	13:26:42	3511	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863003
2023-10-13	13:26:42	3511	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:42	3511	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667337737' AND `virtuemart_product_id` != 1863003
2023-10-13	13:26:42	3511	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:42	3511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863003, '4524667337737')
2023-10-13	13:26:42	3511	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:42	3511	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-tourney-sl-rs45-droite-8-vitesses-revo-shift-box-aucune-all' AND `virtuemart_product_id` != 1863003
2023-10-13	13:26:42	3511	[DEBUG]	Query for ProductLang
2023-10-13	13:26:42	3511	[DEBUG]	Executed store
2023-10-13	13:26:42	3511	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Tourney SL-RS45 droite 8-vitesses Revo-Shift box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-tourney-sl-rs45-droite-8-vitesses-revo-shift-box-aucune-all' WHERE `virtuemart_product_id` = '1863003'
2023-10-13	13:26:42	3511	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31620_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revo-shift_box.jpg
2023-10-13	13:26:42	3511	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:26:42	3511	[DEBUG]	Process image file
2023-10-13	13:26:42	3511	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:26:42	3511	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:42	3511	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31620_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revo-shift_box.jpg
2023-10-13	13:26:42	3511	[DEBUG]	Full name target: bcprisme/31620_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revo-shift_box.jpg
2023-10-13	13:26:43	3511	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:43	3511	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31620_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revo-shift_box.jpg'
2023-10-13	13:26:43	3511	[DEBUG]	Query for Media
2023-10-13	13:26:43	3511	[DEBUG]	Executed store
2023-10-13	13:26:43	3511	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31620_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revo-shift_box.jpg',`file_url_thumb`='bcprisme/31620_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revo-shift_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041182'
2023-10-13	13:26:43	3511	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:43	3511	[DEBUG]	Executed store
2023-10-13	13:26:43	3511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863003','1041182','1')
2023-10-13	13:26:43	3511	[DEBUG]	Store product image relation
2023-10-13	13:26:43	3511	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:43	3511	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863003 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:43	3511	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:43	3511	[DEBUG]	Executed store
2023-10-13	13:26:43	3511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863003','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:43	3511	[DEBUG]	Checking manufacturer
2023-10-13	13:26:43	3511	[DEBUG]	Load a row
2023-10-13	13:26:43	3511	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:43	3511	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:43	3511	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:43	3511	[DEBUG]	Executed store
2023-10-13	13:26:43	3511	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:43	3511	[DEBUG]	Manufacturer exists
2023-10-13	13:26:43	3511	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:43	3511	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:43	3511	[DEBUG]	Executed store
2023-10-13	13:26:43	3511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863003','123')
2023-10-13	13:26:43	3511	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:43	3511	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:43	3511	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863003 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:43	3511	[DEBUG]	Store custom available field
2023-10-13	13:26:43	3511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863003,3,'',1)
2023-10-13	13:26:43	3511	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:43	3511	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:26:43	3511	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863003 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:43	3511	[DEBUG]	Store custom available field
2023-10-13	13:26:43	3511	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863003,6,'All',3)
2023-10-13	13:26:43	3511	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:43	3511	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:43	3511	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863002
2023-10-13	13:26:43	3511	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:43	3511	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863002\":[1863002,8,1,\"choisir la taille\"],\"1863003\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863002
2023-10-13	13:26:43	3511	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:43	3511	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863003
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:43	3512	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field taille
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:43	3512	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:43	3512	[DEBUG]	Use default value for field file_url
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:43	3512	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:43	3512	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:43	3512	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:43	3512	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:43	3512	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:43	3512	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field published
2023-10-13	13:26:43	3512	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:43	3512	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field override
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:43	3512	[DEBUG]	Use field value for field slug
2023-10-13	13:26:43	3512	[DEBUG]	Process line 3512
2023-10-13	13:26:43	3512	[DEBUG]	Load a row
2023-10-13	13:26:43	3512	[DEBUG]	Processing item: A_6484_208
2023-10-13	13:26:43	3512	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:43	3512	[DEBUG]	Processing product tax
2023-10-13	13:26:43	3512	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:43	3512	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:43	3512	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:43	3512	[DEBUG]	Query for Product
2023-10-13	13:26:43	3512	[DEBUG]	Executed store
2023-10-13	13:26:43	3512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6484_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:43	3512	[DEBUG]	Check product language entry
2023-10-13	13:26:43	3512	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863004
2023-10-13	13:26:43	3512	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:43	3512	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6484_208' AND `virtuemart_product_id` != 1863004
2023-10-13	13:26:43	3512	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:43	3512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863004, 'A_6484_208')
2023-10-13	13:26:43	3512	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:43	3512	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-xt-sl-m780-droite-10-vitesses-rapidfire-aucune' AND `virtuemart_product_id` != 1863004
2023-10-13	13:26:43	3512	[DEBUG]	Query for ProductLang
2023-10-13	13:26:43	3512	[DEBUG]	Executed store
2023-10-13	13:26:43	3512	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.52887',`product_name`='SHIMANO Manette Deore XT SL-M780 droite 10-vitesses Rapidfire / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-xt-sl-m780-droite-10-vitesses-rapidfire-aucune' WHERE `virtuemart_product_id` = '1863004'
2023-10-13	13:26:43	3512	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:43	3512	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863004 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:43	3512	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:43	3512	[DEBUG]	Executed store
2023-10-13	13:26:43	3512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863004','0','61.2813370473538','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:43	3512	[DEBUG]	Checking manufacturer
2023-10-13	13:26:43	3512	[DEBUG]	Load a row
2023-10-13	13:26:43	3512	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:43	3512	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:43	3512	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:43	3512	[DEBUG]	Executed store
2023-10-13	13:26:43	3512	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:43	3512	[DEBUG]	Manufacturer exists
2023-10-13	13:26:43	3512	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:43	3512	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:43	3512	[DEBUG]	Executed store
2023-10-13	13:26:43	3512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863004','123')
2023-10-13	13:26:43	3512	[DEBUG]	Find the custom field ID
2023-10-13	13:26:43	3512	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:43	3512	[DEBUG]	No custom field ID found
2023-10-13	13:26:43	3512	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:43	3512	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:43	3512	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863004 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:43	3512	[DEBUG]	Store custom available field
2023-10-13	13:26:43	3512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863004,3,'0',1)
2023-10-13	13:26:43	3512	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:43	3512	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:43	3512	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863004 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:43	3512	[DEBUG]	Store custom available field
2023-10-13	13:26:43	3512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863004,6,'choisir la taille',3)
2023-10-13	13:26:43	3512	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:43	3512	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:43	3512	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:43	3512	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:43	3512	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863004 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:43	3512	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:43	3512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863004,8,1)
2023-10-13	13:26:43	3512	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:43	3512	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863004\":[1863004,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863004
2023-10-13	13:26:43	3512	[DEBUG]	Checking category
2023-10-13	13:26:43	3512	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:43	3512	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863004
2023-10-13	13:26:43	3512	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:43	3512	[DEBUG]	Executed store
2023-10-13	13:26:43	3512	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863004','7381')
2023-10-13	13:26:43	3512	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:43	3512	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863004 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:43	3512	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:43	3512	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863004
2023-10-13	13:26:43	3513	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:43	3513	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:43	3513	[DEBUG]	Use field value for field taille
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:43	3513	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:43	3513	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:43	3513	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field file_url
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:43	3513	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:43	3513	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:43	3513	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:43	3513	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:43	3513	[DEBUG]	Use field value for field published
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:43	3513	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field override
2023-10-13	13:26:43	3513	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:43	3513	[DEBUG]	Use field value for field slug
2023-10-13	13:26:43	3513	[DEBUG]	Process line 3513
2023-10-13	13:26:43	3513	[DEBUG]	Load a row
2023-10-13	13:26:43	3513	[DEBUG]	Processing item: 7630017810021
2023-10-13	13:26:43	3513	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:43	3513	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:43	3513	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6484_208'
2023-10-13	13:26:43	3513	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:43	3513	[DEBUG]	Processing product tax
2023-10-13	13:26:43	3513	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:43	3513	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:43	3513	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:43	3513	[DEBUG]	Query for Product
2023-10-13	13:26:43	3513	[DEBUG]	Executed store
2023-10-13	13:26:43	3513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863004','7630017810021','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:43	3513	[DEBUG]	No parent found
2023-10-13	13:26:43	3513	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863004 AND customfield_value = 'stockable'
2023-10-13	13:26:43	3513	[DEBUG]	Check product language entry
2023-10-13	13:26:43	3513	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863005
2023-10-13	13:26:43	3513	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:43	3513	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7630017810021' AND `virtuemart_product_id` != 1863005
2023-10-13	13:26:43	3513	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:43	3513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863005, '7630017810021')
2023-10-13	13:26:43	3513	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:43	3513	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-xt-sl-m780-droite-10-vitesses-rapidfire-aucune-all' AND `virtuemart_product_id` != 1863005
2023-10-13	13:26:43	3513	[DEBUG]	Query for ProductLang
2023-10-13	13:26:43	3513	[DEBUG]	Executed store
2023-10-13	13:26:43	3513	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Deore XT SL-M780 droite 10-vitesses Rapidfire / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-xt-sl-m780-droite-10-vitesses-rapidfire-aucune-all' WHERE `virtuemart_product_id` = '1863005'
2023-10-13	13:26:43	3513	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:43	3513	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863005 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:43	3513	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:43	3513	[DEBUG]	Executed store
2023-10-13	13:26:43	3513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863005','0','61.2813370473538','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:43	3513	[DEBUG]	Checking manufacturer
2023-10-13	13:26:43	3513	[DEBUG]	Load a row
2023-10-13	13:26:43	3513	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:43	3513	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:43	3513	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:43	3513	[DEBUG]	Executed store
2023-10-13	13:26:43	3513	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:43	3513	[DEBUG]	Manufacturer exists
2023-10-13	13:26:43	3513	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:43	3513	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:43	3513	[DEBUG]	Executed store
2023-10-13	13:26:43	3513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863005','123')
2023-10-13	13:26:43	3513	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:43	3513	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:43	3513	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863005 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:43	3513	[DEBUG]	Store custom available field
2023-10-13	13:26:43	3513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863005,3,'',1)
2023-10-13	13:26:43	3513	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:43	3513	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:26:43	3513	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863005 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:43	3513	[DEBUG]	Store custom available field
2023-10-13	13:26:43	3513	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863005,6,'All',3)
2023-10-13	13:26:43	3513	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:43	3513	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:43	3513	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863004
2023-10-13	13:26:43	3513	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:43	3513	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863004\":[1863004,8,1,\"choisir la taille\"],\"1863005\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863004
2023-10-13	13:26:43	3513	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:43	3513	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863005
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:43	3514	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field taille
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:43	3514	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:43	3514	[DEBUG]	Use default value for field file_url
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:43	3514	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:43	3514	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:43	3514	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:43	3514	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:43	3514	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field published
2023-10-13	13:26:43	3514	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:43	3514	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field override
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:43	3514	[DEBUG]	Use field value for field slug
2023-10-13	13:26:43	3514	[DEBUG]	Process line 3514
2023-10-13	13:26:43	3514	[DEBUG]	Load a row
2023-10-13	13:26:43	3514	[DEBUG]	Processing item: A_6485_208
2023-10-13	13:26:43	3514	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:43	3514	[DEBUG]	Processing product tax
2023-10-13	13:26:43	3514	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:43	3514	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:43	3514	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:43	3514	[DEBUG]	Query for Product
2023-10-13	13:26:43	3514	[DEBUG]	Executed store
2023-10-13	13:26:43	3514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6485_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:43	3514	[DEBUG]	Check product language entry
2023-10-13	13:26:43	3514	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863006
2023-10-13	13:26:43	3514	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:43	3514	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6485_208' AND `virtuemart_product_id` != 1863006
2023-10-13	13:26:43	3514	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:43	3514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863006, 'A_6485_208')
2023-10-13	13:26:43	3514	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:43	3514	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-xt-sl-m780-gauche-2-3-vitesses-rapidfire-aucune' AND `virtuemart_product_id` != 1863006
2023-10-13	13:26:43	3514	[DEBUG]	Query for ProductLang
2023-10-13	13:26:43	3514	[DEBUG]	Executed store
2023-10-13	13:26:43	3514	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.52885',`product_name`='SHIMANO Manette Deore XT SL-M780 gauche 2/3-vitesses Rapidfire / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-xt-sl-m780-gauche-2-3-vitesses-rapidfire-aucune' WHERE `virtuemart_product_id` = '1863006'
2023-10-13	13:26:43	3514	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:43	3514	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863006 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:43	3514	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:43	3514	[DEBUG]	Executed store
2023-10-13	13:26:43	3514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863006','0','61.2813370473538','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:43	3514	[DEBUG]	Checking manufacturer
2023-10-13	13:26:43	3514	[DEBUG]	Load a row
2023-10-13	13:26:43	3514	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:43	3514	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:43	3514	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:43	3514	[DEBUG]	Executed store
2023-10-13	13:26:43	3514	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:43	3514	[DEBUG]	Manufacturer exists
2023-10-13	13:26:43	3514	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:43	3514	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:43	3514	[DEBUG]	Executed store
2023-10-13	13:26:43	3514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863006','123')
2023-10-13	13:26:43	3514	[DEBUG]	Find the custom field ID
2023-10-13	13:26:43	3514	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:43	3514	[DEBUG]	No custom field ID found
2023-10-13	13:26:43	3514	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:43	3514	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:43	3514	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863006 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:43	3514	[DEBUG]	Store custom available field
2023-10-13	13:26:43	3514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863006,3,'0',1)
2023-10-13	13:26:43	3514	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:43	3514	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:43	3514	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863006 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:43	3514	[DEBUG]	Store custom available field
2023-10-13	13:26:43	3514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863006,6,'choisir la taille',3)
2023-10-13	13:26:43	3514	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:43	3514	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:43	3514	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:43	3514	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:43	3514	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863006 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:43	3514	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:43	3514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863006,8,1)
2023-10-13	13:26:43	3514	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:43	3514	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863006\":[1863006,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863006
2023-10-13	13:26:43	3514	[DEBUG]	Checking category
2023-10-13	13:26:43	3514	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:43	3514	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863006
2023-10-13	13:26:43	3514	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:43	3514	[DEBUG]	Executed store
2023-10-13	13:26:43	3514	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863006','7381')
2023-10-13	13:26:43	3514	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:43	3514	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863006 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:43	3514	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:43	3514	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863006
2023-10-13	13:26:43	3515	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:43	3515	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:43	3515	[DEBUG]	Use field value for field taille
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:43	3515	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:43	3515	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:43	3515	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field file_url
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:43	3515	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:43	3515	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:43	3515	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:43	3515	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:43	3515	[DEBUG]	Use field value for field published
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:43	3515	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field override
2023-10-13	13:26:43	3515	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:43	3515	[DEBUG]	Use field value for field slug
2023-10-13	13:26:43	3515	[DEBUG]	Process line 3515
2023-10-13	13:26:43	3515	[DEBUG]	Load a row
2023-10-13	13:26:43	3515	[DEBUG]	Processing item: 7630017810014
2023-10-13	13:26:43	3515	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:43	3515	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:43	3515	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6485_208'
2023-10-13	13:26:43	3515	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:43	3515	[DEBUG]	Processing product tax
2023-10-13	13:26:43	3515	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:43	3515	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:43	3515	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:43	3515	[DEBUG]	Query for Product
2023-10-13	13:26:43	3515	[DEBUG]	Executed store
2023-10-13	13:26:43	3515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863006','7630017810014','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:43	3515	[DEBUG]	No parent found
2023-10-13	13:26:43	3515	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863006 AND customfield_value = 'stockable'
2023-10-13	13:26:43	3515	[DEBUG]	Check product language entry
2023-10-13	13:26:43	3515	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863007
2023-10-13	13:26:43	3515	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:43	3515	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7630017810014' AND `virtuemart_product_id` != 1863007
2023-10-13	13:26:43	3515	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:43	3515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863007, '7630017810014')
2023-10-13	13:26:43	3515	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:43	3515	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-xt-sl-m780-gauche-2-3-vitesses-rapidfire-aucune-all' AND `virtuemart_product_id` != 1863007
2023-10-13	13:26:43	3515	[DEBUG]	Query for ProductLang
2023-10-13	13:26:43	3515	[DEBUG]	Executed store
2023-10-13	13:26:43	3515	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Deore XT SL-M780 gauche 2/3-vitesses Rapidfire / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-xt-sl-m780-gauche-2-3-vitesses-rapidfire-aucune-all' WHERE `virtuemart_product_id` = '1863007'
2023-10-13	13:26:43	3515	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:43	3515	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863007 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:43	3515	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:43	3515	[DEBUG]	Executed store
2023-10-13	13:26:43	3515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863007','0','61.2813370473538','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:43	3515	[DEBUG]	Checking manufacturer
2023-10-13	13:26:43	3515	[DEBUG]	Load a row
2023-10-13	13:26:43	3515	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:43	3515	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:43	3515	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:43	3515	[DEBUG]	Executed store
2023-10-13	13:26:43	3515	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:43	3515	[DEBUG]	Manufacturer exists
2023-10-13	13:26:43	3515	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:43	3515	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:43	3515	[DEBUG]	Executed store
2023-10-13	13:26:43	3515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863007','123')
2023-10-13	13:26:43	3515	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:43	3515	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:43	3515	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863007 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:43	3515	[DEBUG]	Store custom available field
2023-10-13	13:26:43	3515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863007,3,'',1)
2023-10-13	13:26:43	3515	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:43	3515	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:26:43	3515	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863007 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:43	3515	[DEBUG]	Store custom available field
2023-10-13	13:26:43	3515	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863007,6,'All',3)
2023-10-13	13:26:43	3515	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:43	3515	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:43	3515	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863006
2023-10-13	13:26:43	3515	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:43	3515	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863006\":[1863006,8,1,\"choisir la taille\"],\"1863007\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863006
2023-10-13	13:26:43	3515	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:43	3515	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863007
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:43	3516	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field taille
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:43	3516	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:43	3516	[DEBUG]	Use default value for field file_url
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:43	3516	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:43	3516	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:43	3516	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:43	3516	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:43	3516	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field published
2023-10-13	13:26:43	3516	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:43	3516	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field override
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:43	3516	[DEBUG]	Use field value for field slug
2023-10-13	13:26:43	3516	[DEBUG]	Process line 3516
2023-10-13	13:26:43	3516	[DEBUG]	Load a row
2023-10-13	13:26:43	3516	[DEBUG]	Processing item: A_6511_208
2023-10-13	13:26:43	3516	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:43	3516	[DEBUG]	Processing product tax
2023-10-13	13:26:43	3516	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:43	3516	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:43	3516	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:43	3516	[DEBUG]	Query for Product
2023-10-13	13:26:43	3516	[DEBUG]	Executed store
2023-10-13	13:26:43	3516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6511_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:43	3516	[DEBUG]	Check product language entry
2023-10-13	13:26:43	3516	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863008
2023-10-13	13:26:43	3516	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:43	3516	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6511_208' AND `virtuemart_product_id` != 1863008
2023-10-13	13:26:43	3516	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:43	3516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863008, 'A_6511_208')
2023-10-13	13:26:43	3516	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:43	3516	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m310-droite-7-vitesses-rapidfire-a-cable-inox-box-aucune' AND `virtuemart_product_id` != 1863008
2023-10-13	13:26:43	3516	[DEBUG]	Query for ProductLang
2023-10-13	13:26:43	3516	[DEBUG]	Executed store
2023-10-13	13:26:43	3516	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.58016',`product_name`='SHIMANO Manette SL-M310 droite 7-vitesses Rapidfire a/câble inox box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m310-droite-7-vitesses-rapidfire-a-cable-inox-box-aucune' WHERE `virtuemart_product_id` = '1863008'
2023-10-13	13:26:43	3516	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:43	3516	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863008 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:43	3516	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:43	3516	[DEBUG]	Executed store
2023-10-13	13:26:43	3516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863008','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:43	3516	[DEBUG]	Checking manufacturer
2023-10-13	13:26:43	3516	[DEBUG]	Load a row
2023-10-13	13:26:43	3516	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:43	3516	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:43	3516	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:43	3516	[DEBUG]	Executed store
2023-10-13	13:26:43	3516	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:43	3516	[DEBUG]	Manufacturer exists
2023-10-13	13:26:43	3516	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:43	3516	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:43	3516	[DEBUG]	Executed store
2023-10-13	13:26:43	3516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863008','123')
2023-10-13	13:26:43	3516	[DEBUG]	Find the custom field ID
2023-10-13	13:26:43	3516	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:43	3516	[DEBUG]	No custom field ID found
2023-10-13	13:26:43	3516	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:43	3516	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:43	3516	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863008 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:43	3516	[DEBUG]	Store custom available field
2023-10-13	13:26:43	3516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863008,3,'0',1)
2023-10-13	13:26:43	3516	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:43	3516	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:43	3516	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863008 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:43	3516	[DEBUG]	Store custom available field
2023-10-13	13:26:43	3516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863008,6,'choisir la taille',3)
2023-10-13	13:26:43	3516	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:43	3516	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:43	3516	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:43	3516	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:43	3516	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863008 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:43	3516	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:43	3516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863008,8,1)
2023-10-13	13:26:43	3516	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:43	3516	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863008\":[1863008,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863008
2023-10-13	13:26:43	3516	[DEBUG]	Checking category
2023-10-13	13:26:43	3516	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:43	3516	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863008
2023-10-13	13:26:43	3516	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:43	3516	[DEBUG]	Executed store
2023-10-13	13:26:43	3516	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863008','7381')
2023-10-13	13:26:43	3516	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:43	3516	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863008 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:43	3516	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:43	3516	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863008
2023-10-13	13:26:43	3517	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:43	3517	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:43	3517	[DEBUG]	Use field value for field taille
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:43	3517	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:43	3517	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:43	3517	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field file_url
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:43	3517	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:43	3517	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:43	3517	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:43	3517	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:43	3517	[DEBUG]	Use field value for field published
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:43	3517	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field override
2023-10-13	13:26:43	3517	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:43	3517	[DEBUG]	Use field value for field slug
2023-10-13	13:26:43	3517	[DEBUG]	Process line 3517
2023-10-13	13:26:43	3517	[DEBUG]	Load a row
2023-10-13	13:26:43	3517	[DEBUG]	Processing item: 4524667337546
2023-10-13	13:26:43	3517	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:43	3517	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:43	3517	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6511_208'
2023-10-13	13:26:43	3517	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:43	3517	[DEBUG]	Processing product tax
2023-10-13	13:26:43	3517	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:43	3517	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:43	3517	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:43	3517	[DEBUG]	Query for Product
2023-10-13	13:26:43	3517	[DEBUG]	Executed store
2023-10-13	13:26:43	3517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863008','4524667337546','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:43	3517	[DEBUG]	No parent found
2023-10-13	13:26:43	3517	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863008 AND customfield_value = 'stockable'
2023-10-13	13:26:43	3517	[DEBUG]	Check product language entry
2023-10-13	13:26:43	3517	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863009
2023-10-13	13:26:43	3517	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:43	3517	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667337546' AND `virtuemart_product_id` != 1863009
2023-10-13	13:26:43	3517	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:43	3517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863009, '4524667337546')
2023-10-13	13:26:43	3517	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:43	3517	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m310-droite-7-vitesses-rapidfire-a-cable-inox-box-aucune-all' AND `virtuemart_product_id` != 1863009
2023-10-13	13:26:43	3517	[DEBUG]	Query for ProductLang
2023-10-13	13:26:43	3517	[DEBUG]	Executed store
2023-10-13	13:26:43	3517	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette SL-M310 droite 7-vitesses Rapidfire a/câble inox box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m310-droite-7-vitesses-rapidfire-a-cable-inox-box-aucune-all' WHERE `virtuemart_product_id` = '1863009'
2023-10-13	13:26:43	3517	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:43	3517	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863009 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:43	3517	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:43	3517	[DEBUG]	Executed store
2023-10-13	13:26:43	3517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863009','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:43	3517	[DEBUG]	Checking manufacturer
2023-10-13	13:26:43	3517	[DEBUG]	Load a row
2023-10-13	13:26:43	3517	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:43	3517	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:43	3517	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:43	3517	[DEBUG]	Executed store
2023-10-13	13:26:43	3517	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:43	3517	[DEBUG]	Manufacturer exists
2023-10-13	13:26:43	3517	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:43	3517	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:43	3517	[DEBUG]	Executed store
2023-10-13	13:26:43	3517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863009','123')
2023-10-13	13:26:43	3517	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:43	3517	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:43	3517	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863009 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:43	3517	[DEBUG]	Store custom available field
2023-10-13	13:26:43	3517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863009,3,'',1)
2023-10-13	13:26:43	3517	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:43	3517	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:26:43	3517	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863009 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:43	3517	[DEBUG]	Store custom available field
2023-10-13	13:26:43	3517	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863009,6,'All',3)
2023-10-13	13:26:43	3517	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:43	3517	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:43	3517	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863008
2023-10-13	13:26:43	3517	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:43	3517	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863008\":[1863008,8,1,\"choisir la taille\"],\"1863009\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863008
2023-10-13	13:26:43	3517	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:43	3517	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863009
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:43	3518	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field taille
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:43	3518	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:43	3518	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:43	3518	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:43	3518	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:43	3518	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:43	3518	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field published
2023-10-13	13:26:43	3518	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:43	3518	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field override
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:43	3518	[DEBUG]	Use field value for field slug
2023-10-13	13:26:43	3518	[DEBUG]	Process line 3518
2023-10-13	13:26:43	3518	[DEBUG]	Load a row
2023-10-13	13:26:43	3518	[DEBUG]	Processing item: A_6763_1
2023-10-13	13:26:43	3518	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:43	3518	[DEBUG]	Processing product tax
2023-10-13	13:26:43	3518	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:43	3518	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:43	3518	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:43	3518	[DEBUG]	Query for Product
2023-10-13	13:26:43	3518	[DEBUG]	Executed store
2023-10-13	13:26:43	3518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6763_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:43	3518	[DEBUG]	Check product language entry
2023-10-13	13:26:43	3518	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863010
2023-10-13	13:26:43	3518	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:43	3518	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6763_1' AND `virtuemart_product_id` != 1863010
2023-10-13	13:26:43	3518	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:43	3518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863010, 'A_6763_1')
2023-10-13	13:26:43	3518	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:43	3518	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-xt-deore-sl-m8100-i-spec-ev-noir' AND `virtuemart_product_id` != 1863010
2023-10-13	13:26:43	3518	[DEBUG]	Query for ProductLang
2023-10-13	13:26:43	3518	[DEBUG]	Executed store
2023-10-13	13:26:43	3518	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.75122',`product_name`='SHIMANO Manette XT Deore SL-M8100 I-Spec EV / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-xt-deore-sl-m8100-i-spec-ev-noir' WHERE `virtuemart_product_id` = '1863010'
2023-10-13	13:26:43	3518	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32989_shimano_manette_xt_deore_sl-m8100_i-spec_ev.jpg
2023-10-13	13:26:43	3518	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:43	3518	[DEBUG]	Process image file
2023-10-13	13:26:43	3518	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:43	3518	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:43	3518	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32989_shimano_manette_xt_deore_sl-m8100_i-spec_ev.jpg
2023-10-13	13:26:43	3518	[DEBUG]	Full name target: bcprisme/32989_shimano_manette_xt_deore_sl-m8100_i-spec_ev.jpg
2023-10-13	13:26:44	3518	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:44	3518	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32989_shimano_manette_xt_deore_sl-m8100_i-spec_ev.jpg'
2023-10-13	13:26:44	3518	[DEBUG]	Query for Media
2023-10-13	13:26:44	3518	[DEBUG]	Executed store
2023-10-13	13:26:44	3518	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32989_shimano_manette_xt_deore_sl-m8100_i-spec_ev.jpg',`file_url_thumb`='bcprisme/32989_shimano_manette_xt_deore_sl-m8100_i-spec_ev.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1376302'
2023-10-13	13:26:44	3518	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:44	3518	[DEBUG]	Executed store
2023-10-13	13:26:44	3518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863010','1376302','1')
2023-10-13	13:26:44	3518	[DEBUG]	Store product image relation
2023-10-13	13:26:44	3518	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:44	3518	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863010 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:44	3518	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:44	3518	[DEBUG]	Executed store
2023-10-13	13:26:44	3518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863010','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:44	3518	[DEBUG]	Checking manufacturer
2023-10-13	13:26:44	3518	[DEBUG]	Load a row
2023-10-13	13:26:44	3518	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:44	3518	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:44	3518	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:44	3518	[DEBUG]	Executed store
2023-10-13	13:26:44	3518	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:44	3518	[DEBUG]	Manufacturer exists
2023-10-13	13:26:44	3518	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:44	3518	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:44	3518	[DEBUG]	Executed store
2023-10-13	13:26:44	3518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863010','26')
2023-10-13	13:26:44	3518	[DEBUG]	Find the custom field ID
2023-10-13	13:26:44	3518	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:44	3518	[DEBUG]	No custom field ID found
2023-10-13	13:26:44	3518	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:44	3518	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:44	3518	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863010 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:44	3518	[DEBUG]	Store custom available field
2023-10-13	13:26:44	3518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863010,3,'0',1)
2023-10-13	13:26:44	3518	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:44	3518	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:44	3518	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863010 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:44	3518	[DEBUG]	Store custom available field
2023-10-13	13:26:44	3518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863010,6,'choisir la taille',3)
2023-10-13	13:26:44	3518	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:44	3518	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:44	3518	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:44	3518	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:44	3518	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863010 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:44	3518	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:44	3518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863010,8,1)
2023-10-13	13:26:44	3518	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:44	3518	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863010\":[1863010,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863010
2023-10-13	13:26:44	3518	[DEBUG]	Checking category
2023-10-13	13:26:44	3518	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:44	3518	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863010
2023-10-13	13:26:44	3518	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:44	3518	[DEBUG]	Executed store
2023-10-13	13:26:44	3518	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863010','7381')
2023-10-13	13:26:44	3518	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:44	3518	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863010 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:44	3518	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:44	3518	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863010
2023-10-13	13:26:44	3519	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:44	3519	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:44	3519	[DEBUG]	Use field value for field taille
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:44	3519	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:44	3519	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:44	3519	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:44	3519	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:44	3519	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:44	3519	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:44	3519	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:44	3519	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:44	3519	[DEBUG]	Use field value for field published
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:44	3519	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field override
2023-10-13	13:26:44	3519	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:44	3519	[DEBUG]	Use field value for field slug
2023-10-13	13:26:44	3519	[DEBUG]	Process line 3519
2023-10-13	13:26:44	3519	[DEBUG]	Load a row
2023-10-13	13:26:44	3519	[DEBUG]	Processing item: 4550170447830
2023-10-13	13:26:44	3519	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:44	3519	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:44	3519	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6763_1'
2023-10-13	13:26:44	3519	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:44	3519	[DEBUG]	Processing product tax
2023-10-13	13:26:45	3519	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:45	3519	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:45	3519	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:45	3519	[DEBUG]	Query for Product
2023-10-13	13:26:45	3519	[DEBUG]	Executed store
2023-10-13	13:26:45	3519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863010','4550170447830','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:45	3519	[DEBUG]	No parent found
2023-10-13	13:26:45	3519	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863010 AND customfield_value = 'stockable'
2023-10-13	13:26:45	3519	[DEBUG]	Check product language entry
2023-10-13	13:26:45	3519	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863011
2023-10-13	13:26:45	3519	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:45	3519	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170447830' AND `virtuemart_product_id` != 1863011
2023-10-13	13:26:45	3519	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:45	3519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863011, '4550170447830')
2023-10-13	13:26:45	3519	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:45	3519	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-xt-deore-sl-m8100-i-spec-ev-noir-unitaire' AND `virtuemart_product_id` != 1863011
2023-10-13	13:26:45	3519	[DEBUG]	Query for ProductLang
2023-10-13	13:26:45	3519	[DEBUG]	Executed store
2023-10-13	13:26:45	3519	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette XT Deore SL-M8100 I-Spec EV / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-xt-deore-sl-m8100-i-spec-ev-noir-unitaire' WHERE `virtuemart_product_id` = '1863011'
2023-10-13	13:26:45	3519	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32989_shimano_manette_xt_deore_sl-m8100_i-spec_ev.jpg
2023-10-13	13:26:45	3519	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:45	3519	[DEBUG]	Process image file
2023-10-13	13:26:45	3519	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:45	3519	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:45	3519	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32989_shimano_manette_xt_deore_sl-m8100_i-spec_ev.jpg
2023-10-13	13:26:45	3519	[DEBUG]	Full name target: bcprisme/32989_shimano_manette_xt_deore_sl-m8100_i-spec_ev.jpg
2023-10-13	13:26:46	3519	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:46	3519	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32989_shimano_manette_xt_deore_sl-m8100_i-spec_ev.jpg'
2023-10-13	13:26:46	3519	[DEBUG]	Query for Media
2023-10-13	13:26:46	3519	[DEBUG]	Executed store
2023-10-13	13:26:46	3519	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32989_shimano_manette_xt_deore_sl-m8100_i-spec_ev.jpg',`file_url_thumb`='bcprisme/32989_shimano_manette_xt_deore_sl-m8100_i-spec_ev.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1376302'
2023-10-13	13:26:46	3519	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:46	3519	[DEBUG]	Executed store
2023-10-13	13:26:46	3519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863011','1376302','1')
2023-10-13	13:26:46	3519	[DEBUG]	Store product image relation
2023-10-13	13:26:46	3519	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:46	3519	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863011 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:46	3519	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:46	3519	[DEBUG]	Executed store
2023-10-13	13:26:46	3519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863011','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:46	3519	[DEBUG]	Checking manufacturer
2023-10-13	13:26:46	3519	[DEBUG]	Load a row
2023-10-13	13:26:46	3519	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:46	3519	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:46	3519	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:46	3519	[DEBUG]	Executed store
2023-10-13	13:26:46	3519	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:46	3519	[DEBUG]	Manufacturer exists
2023-10-13	13:26:46	3519	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:46	3519	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:46	3519	[DEBUG]	Executed store
2023-10-13	13:26:46	3519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863011','26')
2023-10-13	13:26:46	3519	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:46	3519	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:46	3519	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863011 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:46	3519	[DEBUG]	Store custom available field
2023-10-13	13:26:46	3519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863011,3,'',1)
2023-10-13	13:26:46	3519	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:46	3519	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:26:46	3519	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863011 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:46	3519	[DEBUG]	Store custom available field
2023-10-13	13:26:46	3519	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863011,6,'Unitaire',3)
2023-10-13	13:26:46	3519	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:46	3519	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:46	3519	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863010
2023-10-13	13:26:46	3519	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:46	3519	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863010\":[1863010,8,1,\"choisir la taille\"],\"1863011\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863010
2023-10-13	13:26:46	3519	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:46	3519	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863011
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:46	3520	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field taille
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:46	3520	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:46	3520	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:46	3520	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:46	3520	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:46	3520	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:46	3520	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field published
2023-10-13	13:26:46	3520	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:46	3520	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field override
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:46	3520	[DEBUG]	Use field value for field slug
2023-10-13	13:26:46	3520	[DEBUG]	Process line 3520
2023-10-13	13:26:46	3520	[DEBUG]	Load a row
2023-10-13	13:26:46	3520	[DEBUG]	Processing item: A_6872_1
2023-10-13	13:26:46	3520	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:46	3520	[DEBUG]	Processing product tax
2023-10-13	13:26:46	3520	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:46	3520	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:46	3520	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:46	3520	[DEBUG]	Query for Product
2023-10-13	13:26:46	3520	[DEBUG]	Executed store
2023-10-13	13:26:46	3520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6872_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:46	3520	[DEBUG]	Check product language entry
2023-10-13	13:26:46	3520	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863012
2023-10-13	13:26:46	3520	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:46	3520	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6872_1' AND `virtuemart_product_id` != 1863012
2023-10-13	13:26:46	3520	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:46	3520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863012, 'A_6872_1')
2023-10-13	13:26:46	3520	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:46	3520	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-xt-sl-m8100-droite-12-vitesses-noir' AND `virtuemart_product_id` != 1863012
2023-10-13	13:26:46	3520	[DEBUG]	Query for ProductLang
2023-10-13	13:26:46	3520	[DEBUG]	Executed store
2023-10-13	13:26:46	3520	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.75119',`product_name`='SHIMANO Manette XT SL-M8100 droite 12 vitesses / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-xt-sl-m8100-droite-12-vitesses-noir' WHERE `virtuemart_product_id` = '1863012'
2023-10-13	13:26:46	3520	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33983_shimano_manette_xt_sl-m8100_droite_12_vitesses.jpg
2023-10-13	13:26:46	3520	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:46	3520	[DEBUG]	Process image file
2023-10-13	13:26:46	3520	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:46	3520	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:46	3520	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33983_shimano_manette_xt_sl-m8100_droite_12_vitesses.jpg
2023-10-13	13:26:46	3520	[DEBUG]	Full name target: bcprisme/33983_shimano_manette_xt_sl-m8100_droite_12_vitesses.jpg
2023-10-13	13:26:47	3520	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:47	3520	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33983_shimano_manette_xt_sl-m8100_droite_12_vitesses.jpg'
2023-10-13	13:26:47	3520	[DEBUG]	Query for Media
2023-10-13	13:26:47	3520	[DEBUG]	Executed store
2023-10-13	13:26:47	3520	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33983_shimano_manette_xt_sl-m8100_droite_12_vitesses.jpg',`file_url_thumb`='bcprisme/33983_shimano_manette_xt_sl-m8100_droite_12_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15935'
2023-10-13	13:26:47	3520	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:47	3520	[DEBUG]	Executed store
2023-10-13	13:26:47	3520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863012','15935','1')
2023-10-13	13:26:47	3520	[DEBUG]	Store product image relation
2023-10-13	13:26:47	3520	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:47	3520	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863012 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:47	3520	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:47	3520	[DEBUG]	Executed store
2023-10-13	13:26:47	3520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863012','0','76.0445682451254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:47	3520	[DEBUG]	Checking manufacturer
2023-10-13	13:26:47	3520	[DEBUG]	Load a row
2023-10-13	13:26:47	3520	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:47	3520	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:47	3520	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:47	3520	[DEBUG]	Executed store
2023-10-13	13:26:47	3520	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:47	3520	[DEBUG]	Manufacturer exists
2023-10-13	13:26:47	3520	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:47	3520	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:47	3520	[DEBUG]	Executed store
2023-10-13	13:26:47	3520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863012','26')
2023-10-13	13:26:47	3520	[DEBUG]	Find the custom field ID
2023-10-13	13:26:47	3520	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:47	3520	[DEBUG]	No custom field ID found
2023-10-13	13:26:47	3520	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:47	3520	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:47	3520	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863012 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:47	3520	[DEBUG]	Store custom available field
2023-10-13	13:26:47	3520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863012,3,'0',1)
2023-10-13	13:26:47	3520	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:47	3520	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:47	3520	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863012 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:47	3520	[DEBUG]	Store custom available field
2023-10-13	13:26:47	3520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863012,6,'choisir la taille',3)
2023-10-13	13:26:47	3520	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:47	3520	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:47	3520	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:47	3520	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:47	3520	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863012 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:47	3520	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:47	3520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863012,8,1)
2023-10-13	13:26:47	3520	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:47	3520	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863012\":[1863012,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863012
2023-10-13	13:26:47	3520	[DEBUG]	Checking category
2023-10-13	13:26:47	3520	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:47	3520	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863012
2023-10-13	13:26:47	3520	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:47	3520	[DEBUG]	Executed store
2023-10-13	13:26:47	3520	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863012','7381')
2023-10-13	13:26:47	3520	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:47	3520	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863012 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:47	3520	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:47	3520	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863012
2023-10-13	13:26:47	3521	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:47	3521	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:47	3521	[DEBUG]	Use field value for field taille
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:47	3521	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:47	3521	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:47	3521	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:47	3521	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:47	3521	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:47	3521	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:47	3521	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:47	3521	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:47	3521	[DEBUG]	Use field value for field published
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:47	3521	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field override
2023-10-13	13:26:47	3521	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:47	3521	[DEBUG]	Use field value for field slug
2023-10-13	13:26:47	3521	[DEBUG]	Process line 3521
2023-10-13	13:26:47	3521	[DEBUG]	Load a row
2023-10-13	13:26:47	3521	[DEBUG]	Processing item: 4550170447823
2023-10-13	13:26:47	3521	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:47	3521	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:47	3521	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6872_1'
2023-10-13	13:26:47	3521	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:47	3521	[DEBUG]	Processing product tax
2023-10-13	13:26:47	3521	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:47	3521	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:47	3521	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:47	3521	[DEBUG]	Query for Product
2023-10-13	13:26:47	3521	[DEBUG]	Executed store
2023-10-13	13:26:47	3521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863012','4550170447823','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:47	3521	[DEBUG]	No parent found
2023-10-13	13:26:47	3521	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863012 AND customfield_value = 'stockable'
2023-10-13	13:26:47	3521	[DEBUG]	Check product language entry
2023-10-13	13:26:47	3521	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863013
2023-10-13	13:26:47	3521	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:47	3521	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170447823' AND `virtuemart_product_id` != 1863013
2023-10-13	13:26:47	3521	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:47	3521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863013, '4550170447823')
2023-10-13	13:26:47	3521	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:47	3521	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-xt-sl-m8100-droite-12-vitesses-noir-unitaire' AND `virtuemart_product_id` != 1863013
2023-10-13	13:26:47	3521	[DEBUG]	Query for ProductLang
2023-10-13	13:26:47	3521	[DEBUG]	Executed store
2023-10-13	13:26:47	3521	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette XT SL-M8100 droite 12 vitesses / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-xt-sl-m8100-droite-12-vitesses-noir-unitaire' WHERE `virtuemart_product_id` = '1863013'
2023-10-13	13:26:47	3521	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33983_shimano_manette_xt_sl-m8100_droite_12_vitesses.jpg
2023-10-13	13:26:47	3521	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:47	3521	[DEBUG]	Process image file
2023-10-13	13:26:47	3521	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:47	3521	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:47	3521	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33983_shimano_manette_xt_sl-m8100_droite_12_vitesses.jpg
2023-10-13	13:26:47	3521	[DEBUG]	Full name target: bcprisme/33983_shimano_manette_xt_sl-m8100_droite_12_vitesses.jpg
2023-10-13	13:26:48	3521	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:48	3521	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33983_shimano_manette_xt_sl-m8100_droite_12_vitesses.jpg'
2023-10-13	13:26:48	3521	[DEBUG]	Query for Media
2023-10-13	13:26:48	3521	[DEBUG]	Executed store
2023-10-13	13:26:48	3521	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33983_shimano_manette_xt_sl-m8100_droite_12_vitesses.jpg',`file_url_thumb`='bcprisme/33983_shimano_manette_xt_sl-m8100_droite_12_vitesses.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15935'
2023-10-13	13:26:48	3521	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:48	3521	[DEBUG]	Executed store
2023-10-13	13:26:48	3521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863013','15935','1')
2023-10-13	13:26:48	3521	[DEBUG]	Store product image relation
2023-10-13	13:26:48	3521	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:48	3521	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863013 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:48	3521	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:48	3521	[DEBUG]	Executed store
2023-10-13	13:26:48	3521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863013','0','76.0445682451254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:48	3521	[DEBUG]	Checking manufacturer
2023-10-13	13:26:48	3521	[DEBUG]	Load a row
2023-10-13	13:26:48	3521	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:48	3521	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:48	3521	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:48	3521	[DEBUG]	Executed store
2023-10-13	13:26:48	3521	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:48	3521	[DEBUG]	Manufacturer exists
2023-10-13	13:26:48	3521	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:48	3521	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:48	3521	[DEBUG]	Executed store
2023-10-13	13:26:48	3521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863013','26')
2023-10-13	13:26:48	3521	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:48	3521	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:48	3521	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863013 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:48	3521	[DEBUG]	Store custom available field
2023-10-13	13:26:48	3521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863013,3,'',1)
2023-10-13	13:26:48	3521	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:48	3521	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:26:48	3521	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863013 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:48	3521	[DEBUG]	Store custom available field
2023-10-13	13:26:48	3521	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863013,6,'Unitaire',3)
2023-10-13	13:26:48	3521	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:48	3521	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:48	3521	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863012
2023-10-13	13:26:48	3521	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:48	3521	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863012\":[1863012,8,1,\"choisir la taille\"],\"1863013\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863012
2023-10-13	13:26:48	3521	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:48	3521	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863013
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:48	3522	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field taille
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:48	3522	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:48	3522	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:48	3522	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:48	3522	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:48	3522	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:48	3522	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field published
2023-10-13	13:26:48	3522	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:48	3522	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field override
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:48	3522	[DEBUG]	Use field value for field slug
2023-10-13	13:26:48	3522	[DEBUG]	Process line 3522
2023-10-13	13:26:48	3522	[DEBUG]	Load a row
2023-10-13	13:26:48	3522	[DEBUG]	Processing item: A_6889_1
2023-10-13	13:26:48	3522	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:48	3522	[DEBUG]	Processing product tax
2023-10-13	13:26:48	3522	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:48	3522	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:48	3522	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:48	3522	[DEBUG]	Query for Product
2023-10-13	13:26:48	3522	[DEBUG]	Executed store
2023-10-13	13:26:48	3522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6889_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:48	3522	[DEBUG]	Check product language entry
2023-10-13	13:26:48	3522	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863014
2023-10-13	13:26:48	3522	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:48	3522	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6889_1' AND `virtuemart_product_id` != 1863014
2023-10-13	13:26:48	3522	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:48	3522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863014, 'A_6889_1')
2023-10-13	13:26:48	3522	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:48	3522	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-sl-m6000-gauche-2-3-vitesses-rapidfire-noir' AND `virtuemart_product_id` != 1863014
2023-10-13	13:26:48	3522	[DEBUG]	Query for ProductLang
2023-10-13	13:26:48	3522	[DEBUG]	Executed store
2023-10-13	13:26:48	3522	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.69408',`product_name`='SHIMANO Manette Deore SL-M6000 gauche 2-3 vitesses Rapidfire  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-sl-m6000-gauche-2-3-vitesses-rapidfire-noir' WHERE `virtuemart_product_id` = '1863014'
2023-10-13	13:26:48	3522	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34000_shimano_manette_deore_sl-m6000_gauche_2-3_vitesses_rapidfire_.jpg has not been found.
2023-10-13	13:26:48	3522	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:48	3522	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863014 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:48	3522	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:48	3522	[DEBUG]	Executed store
2023-10-13	13:26:48	3522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863014','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:48	3522	[DEBUG]	Checking manufacturer
2023-10-13	13:26:48	3522	[DEBUG]	Load a row
2023-10-13	13:26:48	3522	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:48	3522	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:48	3522	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:48	3522	[DEBUG]	Executed store
2023-10-13	13:26:48	3522	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:48	3522	[DEBUG]	Manufacturer exists
2023-10-13	13:26:48	3522	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:48	3522	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:48	3522	[DEBUG]	Executed store
2023-10-13	13:26:48	3522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863014','123')
2023-10-13	13:26:48	3522	[DEBUG]	Find the custom field ID
2023-10-13	13:26:48	3522	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:48	3522	[DEBUG]	No custom field ID found
2023-10-13	13:26:48	3522	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:48	3522	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:48	3522	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863014 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:48	3522	[DEBUG]	Store custom available field
2023-10-13	13:26:48	3522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863014,3,'0',1)
2023-10-13	13:26:48	3522	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:48	3522	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:48	3522	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863014 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:48	3522	[DEBUG]	Store custom available field
2023-10-13	13:26:48	3522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863014,6,'choisir la taille',3)
2023-10-13	13:26:48	3522	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:48	3522	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:48	3522	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:48	3522	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:48	3522	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863014 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:48	3522	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:48	3522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863014,8,1)
2023-10-13	13:26:48	3522	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:48	3522	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863014\":[1863014,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863014
2023-10-13	13:26:48	3522	[DEBUG]	Checking category
2023-10-13	13:26:48	3522	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:48	3522	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863014
2023-10-13	13:26:48	3522	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:48	3522	[DEBUG]	Executed store
2023-10-13	13:26:48	3522	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863014','7381')
2023-10-13	13:26:48	3522	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:48	3522	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863014 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:48	3522	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:48	3522	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863014
2023-10-13	13:26:48	3523	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:48	3523	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:48	3523	[DEBUG]	Use field value for field taille
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:48	3523	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:48	3523	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:48	3523	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:48	3523	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:48	3523	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:48	3523	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:48	3523	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:48	3523	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:48	3523	[DEBUG]	Use field value for field published
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:48	3523	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field override
2023-10-13	13:26:48	3523	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:48	3523	[DEBUG]	Use field value for field slug
2023-10-13	13:26:48	3523	[DEBUG]	Process line 3523
2023-10-13	13:26:48	3523	[DEBUG]	Load a row
2023-10-13	13:26:48	3523	[DEBUG]	Processing item: 4524667390923
2023-10-13	13:26:48	3523	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:48	3523	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:48	3523	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6889_1'
2023-10-13	13:26:48	3523	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:48	3523	[DEBUG]	Processing product tax
2023-10-13	13:26:48	3523	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:48	3523	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:48	3523	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:48	3523	[DEBUG]	Query for Product
2023-10-13	13:26:48	3523	[DEBUG]	Executed store
2023-10-13	13:26:48	3523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863014','4524667390923','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:48	3523	[DEBUG]	No parent found
2023-10-13	13:26:48	3523	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863014 AND customfield_value = 'stockable'
2023-10-13	13:26:48	3523	[DEBUG]	Check product language entry
2023-10-13	13:26:48	3523	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863015
2023-10-13	13:26:48	3523	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:48	3523	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667390923' AND `virtuemart_product_id` != 1863015
2023-10-13	13:26:48	3523	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:48	3523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863015, '4524667390923')
2023-10-13	13:26:48	3523	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:48	3523	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-sl-m6000-gauche-2-3-vitesses-rapidfire-noir-all' AND `virtuemart_product_id` != 1863015
2023-10-13	13:26:48	3523	[DEBUG]	Query for ProductLang
2023-10-13	13:26:48	3523	[DEBUG]	Executed store
2023-10-13	13:26:48	3523	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Deore SL-M6000 gauche 2-3 vitesses Rapidfire  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-sl-m6000-gauche-2-3-vitesses-rapidfire-noir-all' WHERE `virtuemart_product_id` = '1863015'
2023-10-13	13:26:48	3523	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34000_shimano_manette_deore_sl-m6000_gauche_2-3_vitesses_rapidfire_.jpg has not been found.
2023-10-13	13:26:48	3523	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:48	3523	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863015 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:48	3523	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:48	3523	[DEBUG]	Executed store
2023-10-13	13:26:48	3523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863015','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:48	3523	[DEBUG]	Checking manufacturer
2023-10-13	13:26:48	3523	[DEBUG]	Load a row
2023-10-13	13:26:48	3523	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:48	3523	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:48	3523	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:48	3523	[DEBUG]	Executed store
2023-10-13	13:26:48	3523	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:48	3523	[DEBUG]	Manufacturer exists
2023-10-13	13:26:48	3523	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:48	3523	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:48	3523	[DEBUG]	Executed store
2023-10-13	13:26:48	3523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863015','123')
2023-10-13	13:26:48	3523	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:48	3523	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:48	3523	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863015 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:48	3523	[DEBUG]	Store custom available field
2023-10-13	13:26:48	3523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863015,3,'',1)
2023-10-13	13:26:48	3523	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:48	3523	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:26:48	3523	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863015 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:48	3523	[DEBUG]	Store custom available field
2023-10-13	13:26:48	3523	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863015,6,'All',3)
2023-10-13	13:26:48	3523	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:48	3523	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:48	3523	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863014
2023-10-13	13:26:48	3523	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:48	3523	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863014\":[1863014,8,1,\"choisir la taille\"],\"1863015\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863014
2023-10-13	13:26:48	3523	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:48	3523	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863015
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:48	3524	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field taille
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:48	3524	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:48	3524	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:48	3524	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:48	3524	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:48	3524	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:48	3524	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field published
2023-10-13	13:26:48	3524	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:48	3524	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field override
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:48	3524	[DEBUG]	Use field value for field slug
2023-10-13	13:26:48	3524	[DEBUG]	Process line 3524
2023-10-13	13:26:48	3524	[DEBUG]	Load a row
2023-10-13	13:26:48	3524	[DEBUG]	Processing item: A_6890_1
2023-10-13	13:26:48	3524	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:48	3524	[DEBUG]	Processing product tax
2023-10-13	13:26:48	3524	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:48	3524	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:48	3524	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:48	3524	[DEBUG]	Query for Product
2023-10-13	13:26:48	3524	[DEBUG]	Executed store
2023-10-13	13:26:48	3524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6890_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:48	3524	[DEBUG]	Check product language entry
2023-10-13	13:26:48	3524	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863016
2023-10-13	13:26:48	3524	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:48	3524	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6890_1' AND `virtuemart_product_id` != 1863016
2023-10-13	13:26:48	3524	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:48	3524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863016, 'A_6890_1')
2023-10-13	13:26:48	3524	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:48	3524	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-sl-m6000-droite-10-vitesses-rapidfire-noir' AND `virtuemart_product_id` != 1863016
2023-10-13	13:26:48	3524	[DEBUG]	Query for ProductLang
2023-10-13	13:26:48	3524	[DEBUG]	Executed store
2023-10-13	13:26:48	3524	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.69409',`product_name`='SHIMANO Manette Deore SL-M6000 droite 10 vitesses Rapidfire  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-sl-m6000-droite-10-vitesses-rapidfire-noir' WHERE `virtuemart_product_id` = '1863016'
2023-10-13	13:26:48	3524	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34001_shimano_manette_deore_sl-m6000_droite_10_vitesses_rapidfire__(copie).jpg has not been found.
2023-10-13	13:26:48	3524	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:48	3524	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863016 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:48	3524	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:48	3524	[DEBUG]	Executed store
2023-10-13	13:26:48	3524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863016','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:48	3524	[DEBUG]	Checking manufacturer
2023-10-13	13:26:48	3524	[DEBUG]	Load a row
2023-10-13	13:26:48	3524	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:48	3524	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:48	3524	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:48	3524	[DEBUG]	Executed store
2023-10-13	13:26:48	3524	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:48	3524	[DEBUG]	Manufacturer exists
2023-10-13	13:26:48	3524	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:48	3524	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:48	3524	[DEBUG]	Executed store
2023-10-13	13:26:48	3524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863016','123')
2023-10-13	13:26:48	3524	[DEBUG]	Find the custom field ID
2023-10-13	13:26:48	3524	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:48	3524	[DEBUG]	No custom field ID found
2023-10-13	13:26:48	3524	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:48	3524	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:48	3524	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863016 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:48	3524	[DEBUG]	Store custom available field
2023-10-13	13:26:48	3524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863016,3,'0',1)
2023-10-13	13:26:48	3524	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:48	3524	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:48	3524	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863016 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:48	3524	[DEBUG]	Store custom available field
2023-10-13	13:26:48	3524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863016,6,'choisir la taille',3)
2023-10-13	13:26:48	3524	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:48	3524	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:48	3524	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:48	3524	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:48	3524	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863016 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:48	3524	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:48	3524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863016,8,1)
2023-10-13	13:26:48	3524	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:48	3524	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863016\":[1863016,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863016
2023-10-13	13:26:48	3524	[DEBUG]	Checking category
2023-10-13	13:26:48	3524	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:48	3524	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863016
2023-10-13	13:26:48	3524	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:48	3524	[DEBUG]	Executed store
2023-10-13	13:26:48	3524	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863016','7381')
2023-10-13	13:26:48	3524	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:48	3524	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863016 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:48	3524	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:48	3524	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863016
2023-10-13	13:26:48	3525	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:48	3525	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:48	3525	[DEBUG]	Use field value for field taille
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:48	3525	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:48	3525	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:48	3525	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:48	3525	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:48	3525	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:48	3525	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:48	3525	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:48	3525	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:48	3525	[DEBUG]	Use field value for field published
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:48	3525	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field override
2023-10-13	13:26:48	3525	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:48	3525	[DEBUG]	Use field value for field slug
2023-10-13	13:26:48	3525	[DEBUG]	Process line 3525
2023-10-13	13:26:48	3525	[DEBUG]	Load a row
2023-10-13	13:26:48	3525	[DEBUG]	Processing item: 4524667390978
2023-10-13	13:26:48	3525	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:48	3525	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:48	3525	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6890_1'
2023-10-13	13:26:48	3525	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:48	3525	[DEBUG]	Processing product tax
2023-10-13	13:26:48	3525	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:48	3525	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:48	3525	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:48	3525	[DEBUG]	Query for Product
2023-10-13	13:26:48	3525	[DEBUG]	Executed store
2023-10-13	13:26:48	3525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863016','4524667390978','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:48	3525	[DEBUG]	No parent found
2023-10-13	13:26:48	3525	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863016 AND customfield_value = 'stockable'
2023-10-13	13:26:48	3525	[DEBUG]	Check product language entry
2023-10-13	13:26:48	3525	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863017
2023-10-13	13:26:48	3525	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:48	3525	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667390978' AND `virtuemart_product_id` != 1863017
2023-10-13	13:26:48	3525	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:48	3525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863017, '4524667390978')
2023-10-13	13:26:48	3525	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:48	3525	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-sl-m6000-droite-10-vitesses-rapidfire-noir-all' AND `virtuemart_product_id` != 1863017
2023-10-13	13:26:48	3525	[DEBUG]	Query for ProductLang
2023-10-13	13:26:48	3525	[DEBUG]	Executed store
2023-10-13	13:26:48	3525	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Deore SL-M6000 droite 10 vitesses Rapidfire  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-sl-m6000-droite-10-vitesses-rapidfire-noir-all' WHERE `virtuemart_product_id` = '1863017'
2023-10-13	13:26:48	3525	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34001_shimano_manette_deore_sl-m6000_droite_10_vitesses_rapidfire__(copie).jpg has not been found.
2023-10-13	13:26:48	3525	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:48	3525	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863017 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:48	3525	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:48	3525	[DEBUG]	Executed store
2023-10-13	13:26:48	3525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863017','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:48	3525	[DEBUG]	Checking manufacturer
2023-10-13	13:26:48	3525	[DEBUG]	Load a row
2023-10-13	13:26:48	3525	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:48	3525	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:48	3525	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:48	3525	[DEBUG]	Executed store
2023-10-13	13:26:48	3525	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:48	3525	[DEBUG]	Manufacturer exists
2023-10-13	13:26:48	3525	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:48	3525	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:48	3525	[DEBUG]	Executed store
2023-10-13	13:26:48	3525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863017','123')
2023-10-13	13:26:48	3525	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:48	3525	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:48	3525	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863017 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:48	3525	[DEBUG]	Store custom available field
2023-10-13	13:26:48	3525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863017,3,'',1)
2023-10-13	13:26:48	3525	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:48	3525	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:26:48	3525	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863017 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:48	3525	[DEBUG]	Store custom available field
2023-10-13	13:26:48	3525	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863017,6,'All',3)
2023-10-13	13:26:48	3525	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:48	3525	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:48	3525	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863016
2023-10-13	13:26:48	3525	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:48	3525	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863016\":[1863016,8,1,\"choisir la taille\"],\"1863017\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863016
2023-10-13	13:26:48	3525	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:48	3525	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863017
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:48	3526	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field taille
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:48	3526	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:48	3526	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:48	3526	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:48	3526	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:48	3526	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:48	3526	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field published
2023-10-13	13:26:48	3526	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:48	3526	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field override
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:48	3526	[DEBUG]	Use field value for field slug
2023-10-13	13:26:48	3526	[DEBUG]	Process line 3526
2023-10-13	13:26:48	3526	[DEBUG]	Load a row
2023-10-13	13:26:48	3526	[DEBUG]	Processing item: A_7133_1
2023-10-13	13:26:48	3526	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:48	3526	[DEBUG]	Processing product tax
2023-10-13	13:26:48	3526	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:48	3526	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:48	3526	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:48	3526	[DEBUG]	Query for Product
2023-10-13	13:26:48	3526	[DEBUG]	Executed store
2023-10-13	13:26:48	3526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7133_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:48	3526	[DEBUG]	Check product language entry
2023-10-13	13:26:48	3526	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863018
2023-10-13	13:26:48	3526	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:48	3526	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7133_1' AND `virtuemart_product_id` != 1863018
2023-10-13	13:26:48	3526	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:48	3526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863018, 'A_7133_1')
2023-10-13	13:26:48	3526	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:48	3526	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-sl-m6000-droite-10-vitesses-rapidfire-copie-noir' AND `virtuemart_product_id` != 1863018
2023-10-13	13:26:48	3526	[DEBUG]	Query for ProductLang
2023-10-13	13:26:48	3526	[DEBUG]	Executed store
2023-10-13	13:26:48	3526	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.69763',`product_name`='SHIMANO Manette Deore SL-M6000 droite 10 vitesses Rapidfire  (copie) / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-sl-m6000-droite-10-vitesses-rapidfire-copie-noir' WHERE `virtuemart_product_id` = '1863018'
2023-10-13	13:26:48	3526	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_69762.jpg has not been found.
2023-10-13	13:26:48	3526	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:48	3526	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863018 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:48	3526	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:48	3526	[DEBUG]	Executed store
2023-10-13	13:26:48	3526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863018','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:48	3526	[DEBUG]	Checking manufacturer
2023-10-13	13:26:48	3526	[DEBUG]	Load a row
2023-10-13	13:26:48	3526	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:48	3526	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:48	3526	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:48	3526	[DEBUG]	Executed store
2023-10-13	13:26:48	3526	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:48	3526	[DEBUG]	Manufacturer exists
2023-10-13	13:26:48	3526	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:48	3526	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:48	3526	[DEBUG]	Executed store
2023-10-13	13:26:48	3526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863018','26')
2023-10-13	13:26:48	3526	[DEBUG]	Find the custom field ID
2023-10-13	13:26:48	3526	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:48	3526	[DEBUG]	No custom field ID found
2023-10-13	13:26:48	3526	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:48	3526	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:48	3526	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863018 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:48	3526	[DEBUG]	Store custom available field
2023-10-13	13:26:48	3526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863018,3,'0',1)
2023-10-13	13:26:48	3526	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:48	3526	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:48	3526	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863018 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:48	3526	[DEBUG]	Store custom available field
2023-10-13	13:26:48	3526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863018,6,'choisir la taille',3)
2023-10-13	13:26:48	3526	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:48	3526	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:48	3526	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:48	3526	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:48	3526	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863018 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:48	3526	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:48	3526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863018,8,1)
2023-10-13	13:26:48	3526	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:48	3526	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863018\":[1863018,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863018
2023-10-13	13:26:48	3526	[DEBUG]	Checking category
2023-10-13	13:26:48	3526	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:48	3526	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863018
2023-10-13	13:26:48	3526	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:48	3526	[DEBUG]	Executed store
2023-10-13	13:26:48	3526	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863018','7381')
2023-10-13	13:26:48	3526	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:48	3526	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863018 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:48	3526	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:48	3526	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863018
2023-10-13	13:26:48	3527	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:48	3527	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:48	3527	[DEBUG]	Use field value for field taille
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:48	3527	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:48	3527	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:48	3527	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:48	3527	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:48	3527	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:48	3527	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:48	3527	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:48	3527	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:48	3527	[DEBUG]	Use field value for field published
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:48	3527	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field override
2023-10-13	13:26:48	3527	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:48	3527	[DEBUG]	Use field value for field slug
2023-10-13	13:26:48	3527	[DEBUG]	Process line 3527
2023-10-13	13:26:48	3527	[DEBUG]	Load a row
2023-10-13	13:26:48	3527	[DEBUG]	Processing item: 4524667390985
2023-10-13	13:26:48	3527	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:48	3527	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:48	3527	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7133_1'
2023-10-13	13:26:48	3527	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:48	3527	[DEBUG]	Processing product tax
2023-10-13	13:26:48	3527	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:48	3527	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:48	3527	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:48	3527	[DEBUG]	Query for Product
2023-10-13	13:26:48	3527	[DEBUG]	Executed store
2023-10-13	13:26:48	3527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863018','4524667390985','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:48	3527	[DEBUG]	No parent found
2023-10-13	13:26:48	3527	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863018 AND customfield_value = 'stockable'
2023-10-13	13:26:48	3527	[DEBUG]	Check product language entry
2023-10-13	13:26:48	3527	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863019
2023-10-13	13:26:48	3527	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:48	3527	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667390985' AND `virtuemart_product_id` != 1863019
2023-10-13	13:26:48	3527	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:48	3527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863019, '4524667390985')
2023-10-13	13:26:48	3527	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:48	3527	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-sl-m6000-droite-10-vitesses-rapidfire-copie-noir-all' AND `virtuemart_product_id` != 1863019
2023-10-13	13:26:48	3527	[DEBUG]	Query for ProductLang
2023-10-13	13:26:48	3527	[DEBUG]	Executed store
2023-10-13	13:26:48	3527	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Deore SL-M6000 droite 10 vitesses Rapidfire  (copie) / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-sl-m6000-droite-10-vitesses-rapidfire-copie-noir-all' WHERE `virtuemart_product_id` = '1863019'
2023-10-13	13:26:48	3527	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_69762.jpg has not been found.
2023-10-13	13:26:48	3527	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:48	3527	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863019 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:48	3527	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:48	3527	[DEBUG]	Executed store
2023-10-13	13:26:48	3527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863019','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:48	3527	[DEBUG]	Checking manufacturer
2023-10-13	13:26:48	3527	[DEBUG]	Load a row
2023-10-13	13:26:48	3527	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:48	3527	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:48	3527	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:48	3527	[DEBUG]	Executed store
2023-10-13	13:26:48	3527	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:48	3527	[DEBUG]	Manufacturer exists
2023-10-13	13:26:48	3527	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:48	3527	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:48	3527	[DEBUG]	Executed store
2023-10-13	13:26:48	3527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863019','26')
2023-10-13	13:26:48	3527	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:48	3527	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:48	3527	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863019 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:48	3527	[DEBUG]	Store custom available field
2023-10-13	13:26:48	3527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863019,3,'',1)
2023-10-13	13:26:48	3527	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:48	3527	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:26:48	3527	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863019 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:48	3527	[DEBUG]	Store custom available field
2023-10-13	13:26:48	3527	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863019,6,'All',3)
2023-10-13	13:26:48	3527	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:48	3527	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:48	3527	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863018
2023-10-13	13:26:48	3527	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:48	3527	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863018\":[1863018,8,1,\"choisir la taille\"],\"1863019\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863018
2023-10-13	13:26:48	3527	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:48	3527	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863019
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:48	3528	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field taille
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:48	3528	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:48	3528	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:48	3528	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:48	3528	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:48	3528	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:48	3528	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field published
2023-10-13	13:26:48	3528	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:48	3528	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field override
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:48	3528	[DEBUG]	Use field value for field slug
2023-10-13	13:26:48	3528	[DEBUG]	Process line 3528
2023-10-13	13:26:48	3528	[DEBUG]	Load a row
2023-10-13	13:26:48	3528	[DEBUG]	Processing item: A_7155_1
2023-10-13	13:26:48	3528	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:48	3528	[DEBUG]	Processing product tax
2023-10-13	13:26:48	3528	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:48	3528	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:48	3528	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:48	3528	[DEBUG]	Query for Product
2023-10-13	13:26:48	3528	[DEBUG]	Executed store
2023-10-13	13:26:48	3528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7155_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:48	3528	[DEBUG]	Check product language entry
2023-10-13	13:26:48	3528	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863020
2023-10-13	13:26:48	3528	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:48	3528	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7155_1' AND `virtuemart_product_id` != 1863020
2023-10-13	13:26:48	3528	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:48	3528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863020, 'A_7155_1')
2023-10-13	13:26:48	3528	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:48	3528	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m315-7-vitesses-rapidfire-noir' AND `virtuemart_product_id` != 1863020
2023-10-13	13:26:48	3528	[DEBUG]	Query for ProductLang
2023-10-13	13:26:48	3528	[DEBUG]	Executed store
2023-10-13	13:26:48	3528	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.75687',`product_name`='SHIMANO Manette SL-M315 7 vitesses Rapidfire / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m315-7-vitesses-rapidfire-noir' WHERE `virtuemart_product_id` = '1863020'
2023-10-13	13:26:48	3528	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34312_shimano_manette_sl-m315_7_vitesses_rapidfire.jpg
2023-10-13	13:26:48	3528	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:48	3528	[DEBUG]	Process image file
2023-10-13	13:26:48	3528	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:48	3528	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:48	3528	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34312_shimano_manette_sl-m315_7_vitesses_rapidfire.jpg
2023-10-13	13:26:48	3528	[DEBUG]	Full name target: bcprisme/34312_shimano_manette_sl-m315_7_vitesses_rapidfire.jpg
2023-10-13	13:26:49	3528	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:49	3528	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34312_shimano_manette_sl-m315_7_vitesses_rapidfire.jpg'
2023-10-13	13:26:49	3528	[DEBUG]	Query for Media
2023-10-13	13:26:49	3528	[DEBUG]	Executed store
2023-10-13	13:26:49	3528	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34312_shimano_manette_sl-m315_7_vitesses_rapidfire.jpg',`file_url_thumb`='bcprisme/34312_shimano_manette_sl-m315_7_vitesses_rapidfire.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135333'
2023-10-13	13:26:49	3528	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:49	3528	[DEBUG]	Executed store
2023-10-13	13:26:49	3528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863020','135333','1')
2023-10-13	13:26:49	3528	[DEBUG]	Store product image relation
2023-10-13	13:26:49	3528	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:49	3528	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863020 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:49	3528	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:49	3528	[DEBUG]	Executed store
2023-10-13	13:26:49	3528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863020','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:49	3528	[DEBUG]	Checking manufacturer
2023-10-13	13:26:49	3528	[DEBUG]	Load a row
2023-10-13	13:26:49	3528	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:49	3528	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:49	3528	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:49	3528	[DEBUG]	Executed store
2023-10-13	13:26:49	3528	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:49	3528	[DEBUG]	Manufacturer exists
2023-10-13	13:26:49	3528	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:49	3528	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:49	3528	[DEBUG]	Executed store
2023-10-13	13:26:49	3528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863020','123')
2023-10-13	13:26:49	3528	[DEBUG]	Find the custom field ID
2023-10-13	13:26:49	3528	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:49	3528	[DEBUG]	No custom field ID found
2023-10-13	13:26:49	3528	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:49	3528	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:49	3528	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863020 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:49	3528	[DEBUG]	Store custom available field
2023-10-13	13:26:49	3528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863020,3,'0',1)
2023-10-13	13:26:49	3528	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:49	3528	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:49	3528	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863020 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:49	3528	[DEBUG]	Store custom available field
2023-10-13	13:26:49	3528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863020,6,'choisir la taille',3)
2023-10-13	13:26:49	3528	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:49	3528	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:49	3528	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:49	3528	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:49	3528	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863020 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:49	3528	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:49	3528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863020,8,1)
2023-10-13	13:26:49	3528	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:49	3528	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863020\":[1863020,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863020
2023-10-13	13:26:49	3528	[DEBUG]	Checking category
2023-10-13	13:26:49	3528	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:49	3528	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863020
2023-10-13	13:26:49	3528	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:49	3528	[DEBUG]	Executed store
2023-10-13	13:26:49	3528	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863020','7381')
2023-10-13	13:26:49	3528	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:49	3528	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863020 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:49	3528	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:49	3528	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863020
2023-10-13	13:26:49	3529	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:49	3529	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:49	3529	[DEBUG]	Use field value for field taille
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:49	3529	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:49	3529	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:49	3529	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:49	3529	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:49	3529	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:49	3529	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:49	3529	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:49	3529	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:49	3529	[DEBUG]	Use field value for field published
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:49	3529	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field override
2023-10-13	13:26:49	3529	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:49	3529	[DEBUG]	Use field value for field slug
2023-10-13	13:26:49	3529	[DEBUG]	Process line 3529
2023-10-13	13:26:49	3529	[DEBUG]	Load a row
2023-10-13	13:26:49	3529	[DEBUG]	Processing item: 4550170447526
2023-10-13	13:26:49	3529	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:49	3529	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:49	3529	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7155_1'
2023-10-13	13:26:49	3529	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:49	3529	[DEBUG]	Processing product tax
2023-10-13	13:26:49	3529	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:49	3529	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:49	3529	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:49	3529	[DEBUG]	Query for Product
2023-10-13	13:26:49	3529	[DEBUG]	Executed store
2023-10-13	13:26:49	3529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863020','4550170447526','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:49	3529	[DEBUG]	No parent found
2023-10-13	13:26:49	3529	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863020 AND customfield_value = 'stockable'
2023-10-13	13:26:49	3529	[DEBUG]	Check product language entry
2023-10-13	13:26:49	3529	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863021
2023-10-13	13:26:49	3529	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:49	3529	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170447526' AND `virtuemart_product_id` != 1863021
2023-10-13	13:26:49	3529	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:49	3529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863021, '4550170447526')
2023-10-13	13:26:49	3529	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:49	3529	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m315-7-vitesses-rapidfire-noir-all' AND `virtuemart_product_id` != 1863021
2023-10-13	13:26:49	3529	[DEBUG]	Query for ProductLang
2023-10-13	13:26:49	3529	[DEBUG]	Executed store
2023-10-13	13:26:49	3529	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette SL-M315 7 vitesses Rapidfire / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m315-7-vitesses-rapidfire-noir-all' WHERE `virtuemart_product_id` = '1863021'
2023-10-13	13:26:49	3529	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34312_shimano_manette_sl-m315_7_vitesses_rapidfire.jpg
2023-10-13	13:26:49	3529	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:49	3529	[DEBUG]	Process image file
2023-10-13	13:26:49	3529	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:49	3529	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:49	3529	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34312_shimano_manette_sl-m315_7_vitesses_rapidfire.jpg
2023-10-13	13:26:49	3529	[DEBUG]	Full name target: bcprisme/34312_shimano_manette_sl-m315_7_vitesses_rapidfire.jpg
2023-10-13	13:26:50	3529	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:50	3529	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34312_shimano_manette_sl-m315_7_vitesses_rapidfire.jpg'
2023-10-13	13:26:50	3529	[DEBUG]	Query for Media
2023-10-13	13:26:50	3529	[DEBUG]	Executed store
2023-10-13	13:26:50	3529	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34312_shimano_manette_sl-m315_7_vitesses_rapidfire.jpg',`file_url_thumb`='bcprisme/34312_shimano_manette_sl-m315_7_vitesses_rapidfire.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135333'
2023-10-13	13:26:50	3529	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:50	3529	[DEBUG]	Executed store
2023-10-13	13:26:50	3529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863021','135333','1')
2023-10-13	13:26:50	3529	[DEBUG]	Store product image relation
2023-10-13	13:26:50	3529	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:50	3529	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863021 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:50	3529	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:50	3529	[DEBUG]	Executed store
2023-10-13	13:26:50	3529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863021','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:50	3529	[DEBUG]	Checking manufacturer
2023-10-13	13:26:50	3529	[DEBUG]	Load a row
2023-10-13	13:26:50	3529	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:50	3529	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:50	3529	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:50	3529	[DEBUG]	Executed store
2023-10-13	13:26:50	3529	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:50	3529	[DEBUG]	Manufacturer exists
2023-10-13	13:26:50	3529	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:50	3529	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:50	3529	[DEBUG]	Executed store
2023-10-13	13:26:50	3529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863021','123')
2023-10-13	13:26:50	3529	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:50	3529	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:50	3529	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863021 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:50	3529	[DEBUG]	Store custom available field
2023-10-13	13:26:50	3529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863021,3,'',1)
2023-10-13	13:26:50	3529	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:50	3529	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:26:50	3529	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863021 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:50	3529	[DEBUG]	Store custom available field
2023-10-13	13:26:50	3529	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863021,6,'All',3)
2023-10-13	13:26:50	3529	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:50	3529	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:50	3529	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863020
2023-10-13	13:26:50	3529	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:50	3529	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863020\":[1863020,8,1,\"choisir la taille\"],\"1863021\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863020
2023-10-13	13:26:50	3529	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:50	3529	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863021
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:50	3530	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field taille
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:50	3530	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:50	3530	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:50	3530	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:50	3530	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:50	3530	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:50	3530	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field published
2023-10-13	13:26:50	3530	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:50	3530	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field override
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:50	3530	[DEBUG]	Use field value for field slug
2023-10-13	13:26:50	3530	[DEBUG]	Process line 3530
2023-10-13	13:26:50	3530	[DEBUG]	Load a row
2023-10-13	13:26:50	3530	[DEBUG]	Processing item: A_7156_1
2023-10-13	13:26:50	3530	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:50	3530	[DEBUG]	Processing product tax
2023-10-13	13:26:50	3530	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:50	3530	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:50	3530	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:50	3530	[DEBUG]	Query for Product
2023-10-13	13:26:50	3530	[DEBUG]	Executed store
2023-10-13	13:26:50	3530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7156_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:50	3530	[DEBUG]	Check product language entry
2023-10-13	13:26:50	3530	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863022
2023-10-13	13:26:50	3530	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:50	3530	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7156_1' AND `virtuemart_product_id` != 1863022
2023-10-13	13:26:50	3530	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:50	3530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863022, 'A_7156_1')
2023-10-13	13:26:50	3530	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:50	3530	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m315-3-vitesses-rapidfire-noir' AND `virtuemart_product_id` != 1863022
2023-10-13	13:26:50	3530	[DEBUG]	Query for ProductLang
2023-10-13	13:26:50	3530	[DEBUG]	Executed store
2023-10-13	13:26:50	3530	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.7686',`product_name`='SHIMANO Manette SL-M315 3 vitesses Rapidfire  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m315-3-vitesses-rapidfire-noir' WHERE `virtuemart_product_id` = '1863022'
2023-10-13	13:26:50	3530	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34313_shimano_manette_sl-m315_3_vitesses_rapidfire_.jpg
2023-10-13	13:26:50	3530	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:50	3530	[DEBUG]	Process image file
2023-10-13	13:26:50	3530	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:50	3530	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:50	3530	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34313_shimano_manette_sl-m315_3_vitesses_rapidfire_.jpg
2023-10-13	13:26:50	3530	[DEBUG]	Full name target: bcprisme/34313_shimano_manette_sl-m315_3_vitesses_rapidfire_.jpg
2023-10-13	13:26:51	3530	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:51	3530	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34313_shimano_manette_sl-m315_3_vitesses_rapidfire_.jpg'
2023-10-13	13:26:51	3530	[DEBUG]	Query for Media
2023-10-13	13:26:51	3530	[DEBUG]	Executed store
2023-10-13	13:26:51	3530	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34313_shimano_manette_sl-m315_3_vitesses_rapidfire_.jpg',`file_url_thumb`='bcprisme/34313_shimano_manette_sl-m315_3_vitesses_rapidfire_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135335'
2023-10-13	13:26:51	3530	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:51	3530	[DEBUG]	Executed store
2023-10-13	13:26:51	3530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863022','135335','1')
2023-10-13	13:26:51	3530	[DEBUG]	Store product image relation
2023-10-13	13:26:51	3530	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:51	3530	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863022 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:51	3530	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:51	3530	[DEBUG]	Executed store
2023-10-13	13:26:51	3530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863022','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:51	3530	[DEBUG]	Checking manufacturer
2023-10-13	13:26:51	3530	[DEBUG]	Load a row
2023-10-13	13:26:51	3530	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:51	3530	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:51	3530	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:51	3530	[DEBUG]	Executed store
2023-10-13	13:26:51	3530	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:51	3530	[DEBUG]	Manufacturer exists
2023-10-13	13:26:51	3530	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:51	3530	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:51	3530	[DEBUG]	Executed store
2023-10-13	13:26:51	3530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863022','123')
2023-10-13	13:26:51	3530	[DEBUG]	Find the custom field ID
2023-10-13	13:26:51	3530	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:51	3530	[DEBUG]	No custom field ID found
2023-10-13	13:26:51	3530	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:51	3530	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:51	3530	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863022 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:51	3530	[DEBUG]	Store custom available field
2023-10-13	13:26:51	3530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863022,3,'0',1)
2023-10-13	13:26:51	3530	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:51	3530	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:51	3530	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863022 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:51	3530	[DEBUG]	Store custom available field
2023-10-13	13:26:51	3530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863022,6,'choisir la taille',3)
2023-10-13	13:26:51	3530	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:51	3530	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:51	3530	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:51	3530	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:51	3530	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863022 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:51	3530	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:51	3530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863022,8,1)
2023-10-13	13:26:51	3530	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:51	3530	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863022\":[1863022,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863022
2023-10-13	13:26:51	3530	[DEBUG]	Checking category
2023-10-13	13:26:51	3530	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:51	3530	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863022
2023-10-13	13:26:51	3530	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:51	3530	[DEBUG]	Executed store
2023-10-13	13:26:51	3530	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863022','7381')
2023-10-13	13:26:51	3530	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:51	3530	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863022 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:51	3530	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:51	3530	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863022
2023-10-13	13:26:51	3531	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:51	3531	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:51	3531	[DEBUG]	Use field value for field taille
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:51	3531	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:51	3531	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:51	3531	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:51	3531	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:51	3531	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:51	3531	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:51	3531	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:51	3531	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:51	3531	[DEBUG]	Use field value for field published
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:51	3531	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field override
2023-10-13	13:26:51	3531	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:51	3531	[DEBUG]	Use field value for field slug
2023-10-13	13:26:51	3531	[DEBUG]	Process line 3531
2023-10-13	13:26:51	3531	[DEBUG]	Load a row
2023-10-13	13:26:51	3531	[DEBUG]	Processing item: 4550170447502
2023-10-13	13:26:51	3531	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:51	3531	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:51	3531	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7156_1'
2023-10-13	13:26:51	3531	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:51	3531	[DEBUG]	Processing product tax
2023-10-13	13:26:51	3531	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:51	3531	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:51	3531	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:51	3531	[DEBUG]	Query for Product
2023-10-13	13:26:51	3531	[DEBUG]	Executed store
2023-10-13	13:26:51	3531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863022','4550170447502','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:51	3531	[DEBUG]	No parent found
2023-10-13	13:26:51	3531	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863022 AND customfield_value = 'stockable'
2023-10-13	13:26:51	3531	[DEBUG]	Check product language entry
2023-10-13	13:26:51	3531	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863023
2023-10-13	13:26:51	3531	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:51	3531	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170447502' AND `virtuemart_product_id` != 1863023
2023-10-13	13:26:51	3531	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:51	3531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863023, '4550170447502')
2023-10-13	13:26:51	3531	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:51	3531	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m315-3-vitesses-rapidfire-noir-all' AND `virtuemart_product_id` != 1863023
2023-10-13	13:26:51	3531	[DEBUG]	Query for ProductLang
2023-10-13	13:26:51	3531	[DEBUG]	Executed store
2023-10-13	13:26:51	3531	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette SL-M315 3 vitesses Rapidfire  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m315-3-vitesses-rapidfire-noir-all' WHERE `virtuemart_product_id` = '1863023'
2023-10-13	13:26:51	3531	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34313_shimano_manette_sl-m315_3_vitesses_rapidfire_.jpg
2023-10-13	13:26:51	3531	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:51	3531	[DEBUG]	Process image file
2023-10-13	13:26:51	3531	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:51	3531	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:51	3531	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34313_shimano_manette_sl-m315_3_vitesses_rapidfire_.jpg
2023-10-13	13:26:51	3531	[DEBUG]	Full name target: bcprisme/34313_shimano_manette_sl-m315_3_vitesses_rapidfire_.jpg
2023-10-13	13:26:52	3531	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:52	3531	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34313_shimano_manette_sl-m315_3_vitesses_rapidfire_.jpg'
2023-10-13	13:26:52	3531	[DEBUG]	Query for Media
2023-10-13	13:26:52	3531	[DEBUG]	Executed store
2023-10-13	13:26:52	3531	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34313_shimano_manette_sl-m315_3_vitesses_rapidfire_.jpg',`file_url_thumb`='bcprisme/34313_shimano_manette_sl-m315_3_vitesses_rapidfire_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135335'
2023-10-13	13:26:52	3531	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:52	3531	[DEBUG]	Executed store
2023-10-13	13:26:52	3531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863023','135335','1')
2023-10-13	13:26:52	3531	[DEBUG]	Store product image relation
2023-10-13	13:26:52	3531	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:52	3531	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863023 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:52	3531	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:52	3531	[DEBUG]	Executed store
2023-10-13	13:26:52	3531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863023','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:52	3531	[DEBUG]	Checking manufacturer
2023-10-13	13:26:52	3531	[DEBUG]	Load a row
2023-10-13	13:26:52	3531	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:52	3531	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:52	3531	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:52	3531	[DEBUG]	Executed store
2023-10-13	13:26:52	3531	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:26:52	3531	[DEBUG]	Manufacturer exists
2023-10-13	13:26:52	3531	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:26:52	3531	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:52	3531	[DEBUG]	Executed store
2023-10-13	13:26:52	3531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863023','123')
2023-10-13	13:26:52	3531	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:52	3531	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:52	3531	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863023 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:52	3531	[DEBUG]	Store custom available field
2023-10-13	13:26:52	3531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863023,3,'',1)
2023-10-13	13:26:52	3531	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:52	3531	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:26:52	3531	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863023 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:52	3531	[DEBUG]	Store custom available field
2023-10-13	13:26:52	3531	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863023,6,'All',3)
2023-10-13	13:26:52	3531	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:52	3531	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:52	3531	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863022
2023-10-13	13:26:52	3531	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:52	3531	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863022\":[1863022,8,1,\"choisir la taille\"],\"1863023\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863022
2023-10-13	13:26:52	3531	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:52	3531	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863023
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:52	3532	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field taille
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:52	3532	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:52	3532	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:52	3532	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:52	3532	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:52	3532	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:52	3532	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field published
2023-10-13	13:26:52	3532	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:52	3532	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field override
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:52	3532	[DEBUG]	Use field value for field slug
2023-10-13	13:26:52	3532	[DEBUG]	Process line 3532
2023-10-13	13:26:52	3532	[DEBUG]	Load a row
2023-10-13	13:26:52	3532	[DEBUG]	Processing item: A_7321_1
2023-10-13	13:26:52	3532	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:52	3532	[DEBUG]	Processing product tax
2023-10-13	13:26:52	3532	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:52	3532	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:52	3532	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:52	3532	[DEBUG]	Query for Product
2023-10-13	13:26:52	3532	[DEBUG]	Executed store
2023-10-13	13:26:52	3532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7321_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:52	3532	[DEBUG]	Check product language entry
2023-10-13	13:26:52	3532	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863024
2023-10-13	13:26:52	3532	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:52	3532	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7321_1' AND `virtuemart_product_id` != 1863024
2023-10-13	13:26:52	3532	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:52	3532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863024, 'A_7321_1')
2023-10-13	13:26:52	3532	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:52	3532	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-rs35-tourney-revoshift-droite-7-vitesses-sis-box-noir' AND `virtuemart_product_id` != 1863024
2023-10-13	13:26:52	3532	[DEBUG]	Query for ProductLang
2023-10-13	13:26:52	3532	[DEBUG]	Executed store
2023-10-13	13:26:52	3532	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.67344',`product_name`='SHIMANO Manette SL-RS35 Tourney Revoshift droite 7-vitesses SIS box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-rs35-tourney-revoshift-droite-7-vitesses-sis-box-noir' WHERE `virtuemart_product_id` = '1863024'
2023-10-13	13:26:52	3532	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_73655.jpg
2023-10-13	13:26:52	3532	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:52	3532	[DEBUG]	Process image file
2023-10-13	13:26:52	3532	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:52	3532	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:52	3532	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_73655.jpg
2023-10-13	13:26:52	3532	[DEBUG]	Full name target: bcprisme/70_73655.jpg
2023-10-13	13:26:53	3532	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:53	3532	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_73655.jpg'
2023-10-13	13:26:53	3532	[DEBUG]	Query for Media
2023-10-13	13:26:53	3532	[DEBUG]	Executed store
2023-10-13	13:26:53	3532	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_73655.jpg',`file_url_thumb`='bcprisme/70_73655.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437659'
2023-10-13	13:26:53	3532	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:53	3532	[DEBUG]	Executed store
2023-10-13	13:26:53	3532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863024','437659','1')
2023-10-13	13:26:53	3532	[DEBUG]	Store product image relation
2023-10-13	13:26:53	3532	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:53	3532	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863024 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:53	3532	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:53	3532	[DEBUG]	Executed store
2023-10-13	13:26:53	3532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863024','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:53	3532	[DEBUG]	Checking manufacturer
2023-10-13	13:26:53	3532	[DEBUG]	Load a row
2023-10-13	13:26:53	3532	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:53	3532	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:53	3532	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:53	3532	[DEBUG]	Executed store
2023-10-13	13:26:53	3532	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:53	3532	[DEBUG]	Manufacturer exists
2023-10-13	13:26:53	3532	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:53	3532	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:53	3532	[DEBUG]	Executed store
2023-10-13	13:26:53	3532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863024','26')
2023-10-13	13:26:53	3532	[DEBUG]	Find the custom field ID
2023-10-13	13:26:53	3532	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:53	3532	[DEBUG]	No custom field ID found
2023-10-13	13:26:53	3532	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:53	3532	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:53	3532	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863024 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:53	3532	[DEBUG]	Store custom available field
2023-10-13	13:26:53	3532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863024,3,'0',1)
2023-10-13	13:26:53	3532	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:53	3532	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:53	3532	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863024 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:53	3532	[DEBUG]	Store custom available field
2023-10-13	13:26:53	3532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863024,6,'choisir la taille',3)
2023-10-13	13:26:53	3532	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:53	3532	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:53	3532	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:53	3532	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:53	3532	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863024 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:53	3532	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:53	3532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863024,8,1)
2023-10-13	13:26:53	3532	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:53	3532	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863024\":[1863024,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863024
2023-10-13	13:26:53	3532	[DEBUG]	Checking category
2023-10-13	13:26:53	3532	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:53	3532	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863024
2023-10-13	13:26:53	3532	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:53	3532	[DEBUG]	Executed store
2023-10-13	13:26:53	3532	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863024','7381')
2023-10-13	13:26:53	3532	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:53	3532	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863024 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:53	3532	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:53	3532	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863024
2023-10-13	13:26:53	3533	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:53	3533	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:53	3533	[DEBUG]	Use field value for field taille
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:53	3533	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:53	3533	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:53	3533	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:53	3533	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:53	3533	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:53	3533	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:53	3533	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:53	3533	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:53	3533	[DEBUG]	Use field value for field published
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:53	3533	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field override
2023-10-13	13:26:53	3533	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:53	3533	[DEBUG]	Use field value for field slug
2023-10-13	13:26:53	3533	[DEBUG]	Process line 3533
2023-10-13	13:26:53	3533	[DEBUG]	Load a row
2023-10-13	13:26:53	3533	[DEBUG]	Processing item: 4524667338031
2023-10-13	13:26:53	3533	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:53	3533	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:53	3533	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7321_1'
2023-10-13	13:26:53	3533	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:53	3533	[DEBUG]	Processing product tax
2023-10-13	13:26:53	3533	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:53	3533	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:53	3533	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:53	3533	[DEBUG]	Query for Product
2023-10-13	13:26:54	3533	[DEBUG]	Executed store
2023-10-13	13:26:54	3533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863024','4524667338031','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:54	3533	[DEBUG]	No parent found
2023-10-13	13:26:54	3533	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863024 AND customfield_value = 'stockable'
2023-10-13	13:26:54	3533	[DEBUG]	Check product language entry
2023-10-13	13:26:54	3533	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863025
2023-10-13	13:26:54	3533	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:54	3533	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667338031' AND `virtuemart_product_id` != 1863025
2023-10-13	13:26:54	3533	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:54	3533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863025, '4524667338031')
2023-10-13	13:26:54	3533	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:54	3533	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-rs35-tourney-revoshift-droite-7-vitesses-sis-box-noir-unitaire' AND `virtuemart_product_id` != 1863025
2023-10-13	13:26:54	3533	[DEBUG]	Query for ProductLang
2023-10-13	13:26:54	3533	[DEBUG]	Executed store
2023-10-13	13:26:54	3533	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette SL-RS35 Tourney Revoshift droite 7-vitesses SIS box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-rs35-tourney-revoshift-droite-7-vitesses-sis-box-noir-unitaire' WHERE `virtuemart_product_id` = '1863025'
2023-10-13	13:26:54	3533	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_73655.jpg
2023-10-13	13:26:54	3533	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:54	3533	[DEBUG]	Process image file
2023-10-13	13:26:54	3533	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:54	3533	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:54	3533	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_73655.jpg
2023-10-13	13:26:54	3533	[DEBUG]	Full name target: bcprisme/70_73655.jpg
2023-10-13	13:26:55	3533	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:55	3533	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_73655.jpg'
2023-10-13	13:26:55	3533	[DEBUG]	Query for Media
2023-10-13	13:26:55	3533	[DEBUG]	Executed store
2023-10-13	13:26:55	3533	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_73655.jpg',`file_url_thumb`='bcprisme/70_73655.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437659'
2023-10-13	13:26:55	3533	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:55	3533	[DEBUG]	Executed store
2023-10-13	13:26:55	3533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863025','437659','1')
2023-10-13	13:26:55	3533	[DEBUG]	Store product image relation
2023-10-13	13:26:55	3533	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:55	3533	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863025 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:55	3533	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:55	3533	[DEBUG]	Executed store
2023-10-13	13:26:55	3533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863025','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:55	3533	[DEBUG]	Checking manufacturer
2023-10-13	13:26:55	3533	[DEBUG]	Load a row
2023-10-13	13:26:55	3533	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:55	3533	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:55	3533	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:55	3533	[DEBUG]	Executed store
2023-10-13	13:26:55	3533	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:55	3533	[DEBUG]	Manufacturer exists
2023-10-13	13:26:55	3533	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:55	3533	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:55	3533	[DEBUG]	Executed store
2023-10-13	13:26:55	3533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863025','26')
2023-10-13	13:26:55	3533	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:55	3533	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:55	3533	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863025 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:55	3533	[DEBUG]	Store custom available field
2023-10-13	13:26:55	3533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863025,3,'',1)
2023-10-13	13:26:55	3533	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:55	3533	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:26:55	3533	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863025 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:55	3533	[DEBUG]	Store custom available field
2023-10-13	13:26:55	3533	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863025,6,'Unitaire',3)
2023-10-13	13:26:55	3533	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:55	3533	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:55	3533	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863024
2023-10-13	13:26:55	3533	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:55	3533	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863024\":[1863024,8,1,\"choisir la taille\"],\"1863025\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863024
2023-10-13	13:26:55	3533	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:55	3533	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863025
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:55	3534	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field taille
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:55	3534	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:55	3534	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:55	3534	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:55	3534	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:55	3534	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:55	3534	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:55	3534	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field published
2023-10-13	13:26:55	3534	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:55	3534	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field override
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:55	3534	[DEBUG]	Use field value for field slug
2023-10-13	13:26:55	3534	[DEBUG]	Process line 3534
2023-10-13	13:26:55	3534	[DEBUG]	Load a row
2023-10-13	13:26:55	3534	[DEBUG]	Processing item: A_7369_1
2023-10-13	13:26:55	3534	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:55	3534	[DEBUG]	Processing product tax
2023-10-13	13:26:55	3534	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:55	3534	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:55	3534	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:55	3534	[DEBUG]	Query for Product
2023-10-13	13:26:55	3534	[DEBUG]	Executed store
2023-10-13	13:26:55	3534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7369_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:55	3534	[DEBUG]	Check product language entry
2023-10-13	13:26:55	3534	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863026
2023-10-13	13:26:55	3534	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:55	3534	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7369_1' AND `virtuemart_product_id` != 1863026
2023-10-13	13:26:55	3534	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:55	3534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863026, 'A_7369_1')
2023-10-13	13:26:55	3534	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:55	3534	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-trigger-gx-eagle-12-vit-lunar-noir' AND `virtuemart_product_id` != 1863026
2023-10-13	13:26:55	3534	[DEBUG]	Query for ProductLang
2023-10-13	13:26:55	3534	[DEBUG]	Executed store
2023-10-13	13:26:55	3534	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn :  D7559Z',`product_name`='SRAM Trigger GX Eagle 12-vit Lunar / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-trigger-gx-eagle-12-vit-lunar-noir' WHERE `virtuemart_product_id` = '1863026'
2023-10-13	13:26:55	3534	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34608_trigger_gx_eagle_12-vit_lunar.jpg has not been found.
2023-10-13	13:26:55	3534	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:55	3534	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863026 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:55	3534	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:55	3534	[DEBUG]	Executed store
2023-10-13	13:26:55	3534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863026','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:55	3534	[DEBUG]	Checking manufacturer
2023-10-13	13:26:55	3534	[DEBUG]	Load a row
2023-10-13	13:26:55	3534	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:55	3534	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:26:55	3534	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:55	3534	[DEBUG]	Executed store
2023-10-13	13:26:55	3534	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:26:55	3534	[DEBUG]	Manufacturer exists
2023-10-13	13:26:55	3534	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:26:55	3534	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:55	3534	[DEBUG]	Executed store
2023-10-13	13:26:55	3534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863026','35')
2023-10-13	13:26:55	3534	[DEBUG]	Find the custom field ID
2023-10-13	13:26:55	3534	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:55	3534	[DEBUG]	No custom field ID found
2023-10-13	13:26:55	3534	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:55	3534	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:55	3534	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863026 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:55	3534	[DEBUG]	Store custom available field
2023-10-13	13:26:55	3534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863026,3,'0',1)
2023-10-13	13:26:55	3534	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:55	3534	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:55	3534	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863026 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:55	3534	[DEBUG]	Store custom available field
2023-10-13	13:26:55	3534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863026,6,'choisir la taille',3)
2023-10-13	13:26:55	3534	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:55	3534	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:55	3534	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:55	3534	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:55	3534	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863026 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:55	3534	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:55	3534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863026,8,1)
2023-10-13	13:26:55	3534	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:55	3534	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863026\":[1863026,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863026
2023-10-13	13:26:55	3534	[DEBUG]	Checking category
2023-10-13	13:26:55	3534	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:55	3534	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863026
2023-10-13	13:26:55	3534	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:55	3534	[DEBUG]	Executed store
2023-10-13	13:26:55	3534	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863026','7381')
2023-10-13	13:26:55	3534	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:55	3534	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863026 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:55	3534	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:55	3534	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863026
2023-10-13	13:26:55	3535	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:55	3535	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:55	3535	[DEBUG]	Use field value for field taille
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:55	3535	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:55	3535	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:55	3535	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:55	3535	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:55	3535	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:55	3535	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:55	3535	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:55	3535	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:55	3535	[DEBUG]	Use field value for field published
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:55	3535	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field override
2023-10-13	13:26:55	3535	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:55	3535	[DEBUG]	Use field value for field slug
2023-10-13	13:26:55	3535	[DEBUG]	Process line 3535
2023-10-13	13:26:55	3535	[DEBUG]	Load a row
2023-10-13	13:26:55	3535	[DEBUG]	Processing item: 23T21853494
2023-10-13	13:26:55	3535	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:55	3535	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:55	3535	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7369_1'
2023-10-13	13:26:55	3535	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:55	3535	[DEBUG]	Processing product tax
2023-10-13	13:26:55	3535	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:55	3535	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:55	3535	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:55	3535	[DEBUG]	Query for Product
2023-10-13	13:26:55	3535	[DEBUG]	Executed store
2023-10-13	13:26:55	3535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863026','23T21853494','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:55	3535	[DEBUG]	No parent found
2023-10-13	13:26:55	3535	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863026 AND customfield_value = 'stockable'
2023-10-13	13:26:55	3535	[DEBUG]	Check product language entry
2023-10-13	13:26:55	3535	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863027
2023-10-13	13:26:55	3535	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:55	3535	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '23T21853494' AND `virtuemart_product_id` != 1863027
2023-10-13	13:26:55	3535	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:55	3535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863027, '23T21853494')
2023-10-13	13:26:55	3535	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:55	3535	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-trigger-gx-eagle-12-vit-lunar-noir-unitaire' AND `virtuemart_product_id` != 1863027
2023-10-13	13:26:55	3535	[DEBUG]	Query for ProductLang
2023-10-13	13:26:55	3535	[DEBUG]	Executed store
2023-10-13	13:26:55	3535	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Trigger GX Eagle 12-vit Lunar / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-trigger-gx-eagle-12-vit-lunar-noir-unitaire' WHERE `virtuemart_product_id` = '1863027'
2023-10-13	13:26:55	3535	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34608_trigger_gx_eagle_12-vit_lunar.jpg has not been found.
2023-10-13	13:26:55	3535	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:55	3535	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863027 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:55	3535	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:55	3535	[DEBUG]	Executed store
2023-10-13	13:26:55	3535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863027','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:55	3535	[DEBUG]	Checking manufacturer
2023-10-13	13:26:55	3535	[DEBUG]	Load a row
2023-10-13	13:26:55	3535	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:55	3535	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:26:55	3535	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:55	3535	[DEBUG]	Executed store
2023-10-13	13:26:55	3535	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:26:55	3535	[DEBUG]	Manufacturer exists
2023-10-13	13:26:55	3535	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:26:55	3535	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:55	3535	[DEBUG]	Executed store
2023-10-13	13:26:55	3535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863027','35')
2023-10-13	13:26:55	3535	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:55	3535	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:55	3535	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863027 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:55	3535	[DEBUG]	Store custom available field
2023-10-13	13:26:55	3535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863027,3,'',1)
2023-10-13	13:26:55	3535	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:55	3535	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:26:55	3535	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863027 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:55	3535	[DEBUG]	Store custom available field
2023-10-13	13:26:55	3535	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863027,6,'Unitaire',3)
2023-10-13	13:26:55	3535	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:55	3535	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:55	3535	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863026
2023-10-13	13:26:55	3535	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:55	3535	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863026\":[1863026,8,1,\"choisir la taille\"],\"1863027\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863026
2023-10-13	13:26:55	3535	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:55	3535	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863027
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:55	3536	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field taille
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:55	3536	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:55	3536	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:55	3536	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:55	3536	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:55	3536	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:55	3536	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field published
2023-10-13	13:26:55	3536	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:55	3536	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field override
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:55	3536	[DEBUG]	Use field value for field slug
2023-10-13	13:26:55	3536	[DEBUG]	Process line 3536
2023-10-13	13:26:55	3536	[DEBUG]	Load a row
2023-10-13	13:26:55	3536	[DEBUG]	Processing item: A_7370_353
2023-10-13	13:26:55	3536	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:55	3536	[DEBUG]	Processing product tax
2023-10-13	13:26:55	3536	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:55	3536	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:55	3536	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:55	3536	[DEBUG]	Query for Product
2023-10-13	13:26:55	3536	[DEBUG]	Executed store
2023-10-13	13:26:55	3536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7370_353','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:55	3536	[DEBUG]	Check product language entry
2023-10-13	13:26:55	3536	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863028
2023-10-13	13:26:55	3536	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:55	3536	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7370_353' AND `virtuemart_product_id` != 1863028
2023-10-13	13:26:55	3536	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:55	3536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863028, 'A_7370_353')
2023-10-13	13:26:55	3536	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:55	3536	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-matchmaker-x-paire-rainbow-rainbow-black' AND `virtuemart_product_id` != 1863028
2023-10-13	13:26:55	3536	[DEBUG]	Query for ProductLang
2023-10-13	13:26:55	3536	[DEBUG]	Executed store
2023-10-13	13:26:55	3536	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7562Q',`product_name`='SRAM MATCHMAKER X, PAIRE, RAINBOW / Rainbow Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-matchmaker-x-paire-rainbow-rainbow-black' WHERE `virtuemart_product_id` = '1863028'
2023-10-13	13:26:55	3536	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34609_matchmaker_x,_paire,_rainbow.jpg
2023-10-13	13:26:55	3536	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:55	3536	[DEBUG]	Process image file
2023-10-13	13:26:55	3536	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:55	3536	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:55	3536	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34609_matchmaker_x,_paire,_rainbow.jpg
2023-10-13	13:26:55	3536	[DEBUG]	Full name target: bcprisme/34609_matchmaker_x,_paire,_rainbow.jpg
2023-10-13	13:26:56	3536	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:56	3536	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34609_matchmaker_x,_paire,_rainbow.jpg'
2023-10-13	13:26:56	3536	[DEBUG]	Query for Media
2023-10-13	13:26:56	3536	[DEBUG]	Executed store
2023-10-13	13:26:56	3536	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34609_matchmaker_x,_paire,_rainbow.jpg',`file_url_thumb`='bcprisme/34609_matchmaker_x,_paire,_rainbow.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '177624'
2023-10-13	13:26:56	3536	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:56	3536	[DEBUG]	Executed store
2023-10-13	13:26:56	3536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863028','177624','1')
2023-10-13	13:26:56	3536	[DEBUG]	Store product image relation
2023-10-13	13:26:56	3536	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:56	3536	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863028 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:56	3536	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:56	3536	[DEBUG]	Executed store
2023-10-13	13:26:56	3536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863028','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:56	3536	[DEBUG]	Checking manufacturer
2023-10-13	13:26:56	3536	[DEBUG]	Load a row
2023-10-13	13:26:56	3536	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:56	3536	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:26:56	3536	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:56	3536	[DEBUG]	Executed store
2023-10-13	13:26:56	3536	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:26:56	3536	[DEBUG]	Manufacturer exists
2023-10-13	13:26:56	3536	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:26:56	3536	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:56	3536	[DEBUG]	Executed store
2023-10-13	13:26:56	3536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863028','35')
2023-10-13	13:26:56	3536	[DEBUG]	Find the custom field ID
2023-10-13	13:26:56	3536	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:56	3536	[DEBUG]	No custom field ID found
2023-10-13	13:26:56	3536	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:56	3536	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:56	3536	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863028 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:56	3536	[DEBUG]	Store custom available field
2023-10-13	13:26:56	3536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863028,3,'0',1)
2023-10-13	13:26:56	3536	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:56	3536	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:56	3536	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863028 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:56	3536	[DEBUG]	Store custom available field
2023-10-13	13:26:56	3536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863028,6,'choisir la taille',3)
2023-10-13	13:26:56	3536	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:56	3536	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:56	3536	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:56	3536	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:56	3536	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863028 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:56	3536	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:56	3536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863028,8,1)
2023-10-13	13:26:56	3536	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:56	3536	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863028\":[1863028,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863028
2023-10-13	13:26:56	3536	[DEBUG]	Checking category
2023-10-13	13:26:56	3536	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:56	3536	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863028
2023-10-13	13:26:56	3536	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:56	3536	[DEBUG]	Executed store
2023-10-13	13:26:56	3536	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863028','7381')
2023-10-13	13:26:56	3536	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:56	3536	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863028 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:56	3536	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:56	3536	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863028
2023-10-13	13:26:56	3537	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:56	3537	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:56	3537	[DEBUG]	Use field value for field taille
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:56	3537	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:56	3537	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:56	3537	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:56	3537	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:56	3537	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:56	3537	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:56	3537	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:56	3537	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:56	3537	[DEBUG]	Use field value for field published
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:56	3537	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field override
2023-10-13	13:26:56	3537	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:56	3537	[DEBUG]	Use field value for field slug
2023-10-13	13:26:56	3537	[DEBUG]	Process line 3537
2023-10-13	13:26:56	3537	[DEBUG]	Load a row
2023-10-13	13:26:56	3537	[DEBUG]	Processing item: 710845843495
2023-10-13	13:26:56	3537	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:56	3537	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:56	3537	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7370_353'
2023-10-13	13:26:56	3537	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:56	3537	[DEBUG]	Processing product tax
2023-10-13	13:26:56	3537	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:56	3537	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:56	3537	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:56	3537	[DEBUG]	Query for Product
2023-10-13	13:26:56	3537	[DEBUG]	Executed store
2023-10-13	13:26:56	3537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863028','710845843495','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:56	3537	[DEBUG]	No parent found
2023-10-13	13:26:56	3537	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863028 AND customfield_value = 'stockable'
2023-10-13	13:26:56	3537	[DEBUG]	Check product language entry
2023-10-13	13:26:56	3537	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863029
2023-10-13	13:26:56	3537	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:56	3537	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845843495' AND `virtuemart_product_id` != 1863029
2023-10-13	13:26:56	3537	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:56	3537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863029, '710845843495')
2023-10-13	13:26:56	3537	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:56	3537	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-matchmaker-x-paire-rainbow-rainbow-black-unitaire' AND `virtuemart_product_id` != 1863029
2023-10-13	13:26:56	3537	[DEBUG]	Query for ProductLang
2023-10-13	13:26:56	3537	[DEBUG]	Executed store
2023-10-13	13:26:56	3537	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM MATCHMAKER X, PAIRE, RAINBOW / Rainbow Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-matchmaker-x-paire-rainbow-rainbow-black-unitaire' WHERE `virtuemart_product_id` = '1863029'
2023-10-13	13:26:56	3537	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34609_matchmaker_x,_paire,_rainbow.jpg
2023-10-13	13:26:56	3537	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:56	3537	[DEBUG]	Process image file
2023-10-13	13:26:56	3537	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:56	3537	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:56	3537	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34609_matchmaker_x,_paire,_rainbow.jpg
2023-10-13	13:26:56	3537	[DEBUG]	Full name target: bcprisme/34609_matchmaker_x,_paire,_rainbow.jpg
2023-10-13	13:26:57	3537	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:57	3537	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34609_matchmaker_x,_paire,_rainbow.jpg'
2023-10-13	13:26:57	3537	[DEBUG]	Query for Media
2023-10-13	13:26:57	3537	[DEBUG]	Executed store
2023-10-13	13:26:57	3537	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34609_matchmaker_x,_paire,_rainbow.jpg',`file_url_thumb`='bcprisme/34609_matchmaker_x,_paire,_rainbow.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '177624'
2023-10-13	13:26:57	3537	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:57	3537	[DEBUG]	Executed store
2023-10-13	13:26:57	3537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863029','177624','1')
2023-10-13	13:26:57	3537	[DEBUG]	Store product image relation
2023-10-13	13:26:57	3537	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:57	3537	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863029 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:57	3537	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:57	3537	[DEBUG]	Executed store
2023-10-13	13:26:57	3537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863029','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:57	3537	[DEBUG]	Checking manufacturer
2023-10-13	13:26:57	3537	[DEBUG]	Load a row
2023-10-13	13:26:57	3537	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:57	3537	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:26:57	3537	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:57	3537	[DEBUG]	Executed store
2023-10-13	13:26:57	3537	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:26:57	3537	[DEBUG]	Manufacturer exists
2023-10-13	13:26:57	3537	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:26:57	3537	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:57	3537	[DEBUG]	Executed store
2023-10-13	13:26:57	3537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863029','35')
2023-10-13	13:26:57	3537	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:57	3537	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:57	3537	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863029 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:57	3537	[DEBUG]	Store custom available field
2023-10-13	13:26:57	3537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863029,3,'',1)
2023-10-13	13:26:57	3537	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:57	3537	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:26:57	3537	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863029 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:57	3537	[DEBUG]	Store custom available field
2023-10-13	13:26:57	3537	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863029,6,'Unitaire',3)
2023-10-13	13:26:57	3537	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:57	3537	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:57	3537	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863028
2023-10-13	13:26:57	3537	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:57	3537	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863028\":[1863028,8,1,\"choisir la taille\"],\"1863029\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863028
2023-10-13	13:26:57	3537	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:57	3537	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863029
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:57	3538	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field taille
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:57	3538	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:57	3538	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:57	3538	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:57	3538	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:57	3538	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:57	3538	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:57	3538	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field published
2023-10-13	13:26:57	3538	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:57	3538	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field override
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:57	3538	[DEBUG]	Use field value for field slug
2023-10-13	13:26:57	3538	[DEBUG]	Process line 3538
2023-10-13	13:26:57	3538	[DEBUG]	Load a row
2023-10-13	13:26:57	3538	[DEBUG]	Processing item: A_7549_1
2023-10-13	13:26:57	3538	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:57	3538	[DEBUG]	Processing product tax
2023-10-13	13:26:57	3538	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:57	3538	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:57	3538	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:57	3538	[DEBUG]	Query for Product
2023-10-13	13:26:57	3538	[DEBUG]	Executed store
2023-10-13	13:26:57	3538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7549_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:57	3538	[DEBUG]	Check product language entry
2023-10-13	13:26:57	3538	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863030
2023-10-13	13:26:57	3538	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:57	3538	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7549_1' AND `virtuemart_product_id` != 1863030
2023-10-13	13:26:57	3538	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:57	3538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863030, 'A_7549_1')
2023-10-13	13:26:57	3538	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:57	3538	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-xt-sl-m8000-gauche-2-3-vitesses-rapidfire-indicateur-de-vi-noir' AND `virtuemart_product_id` != 1863030
2023-10-13	13:26:57	3538	[DEBUG]	Query for ProductLang
2023-10-13	13:26:57	3538	[DEBUG]	Executed store
2023-10-13	13:26:57	3538	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.65997',`product_name`='SHIMANO Manette Deore XT SL-M8000 gauche 2/3-vitesses Rapidfire indicateur de vi / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-xt-sl-m8000-gauche-2-3-vitesses-rapidfire-indicateur-de-vi-noir' WHERE `virtuemart_product_id` = '1863030'
2023-10-13	13:26:57	3538	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_63930_001.jpg has not been found.
2023-10-13	13:26:57	3538	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:57	3538	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863030 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:57	3538	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:57	3538	[DEBUG]	Executed store
2023-10-13	13:26:57	3538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863030','0','75.2089136490251','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:57	3538	[DEBUG]	Checking manufacturer
2023-10-13	13:26:57	3538	[DEBUG]	Load a row
2023-10-13	13:26:57	3538	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:57	3538	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:57	3538	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:57	3538	[DEBUG]	Executed store
2023-10-13	13:26:57	3538	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:57	3538	[DEBUG]	Manufacturer exists
2023-10-13	13:26:57	3538	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:57	3538	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:57	3538	[DEBUG]	Executed store
2023-10-13	13:26:57	3538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863030','26')
2023-10-13	13:26:57	3538	[DEBUG]	Find the custom field ID
2023-10-13	13:26:57	3538	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:57	3538	[DEBUG]	No custom field ID found
2023-10-13	13:26:57	3538	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:57	3538	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:57	3538	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863030 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:57	3538	[DEBUG]	Store custom available field
2023-10-13	13:26:57	3538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863030,3,'0',1)
2023-10-13	13:26:57	3538	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:57	3538	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:57	3538	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863030 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:57	3538	[DEBUG]	Store custom available field
2023-10-13	13:26:57	3538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863030,6,'choisir la taille',3)
2023-10-13	13:26:57	3538	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:57	3538	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:57	3538	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:57	3538	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:57	3538	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863030 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:57	3538	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:57	3538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863030,8,1)
2023-10-13	13:26:57	3538	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:57	3538	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863030\":[1863030,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863030
2023-10-13	13:26:57	3538	[DEBUG]	Checking category
2023-10-13	13:26:57	3538	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:57	3538	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863030
2023-10-13	13:26:57	3538	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:57	3538	[DEBUG]	Executed store
2023-10-13	13:26:57	3538	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863030','7381')
2023-10-13	13:26:57	3538	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:57	3538	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863030 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:57	3538	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:57	3538	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863030
2023-10-13	13:26:57	3539	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:57	3539	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:57	3539	[DEBUG]	Use field value for field taille
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:57	3539	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:57	3539	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:57	3539	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:57	3539	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:57	3539	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:57	3539	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:57	3539	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:57	3539	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:57	3539	[DEBUG]	Use field value for field published
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:57	3539	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field override
2023-10-13	13:26:57	3539	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:57	3539	[DEBUG]	Use field value for field slug
2023-10-13	13:26:57	3539	[DEBUG]	Process line 3539
2023-10-13	13:26:57	3539	[DEBUG]	Load a row
2023-10-13	13:26:57	3539	[DEBUG]	Processing item: 4524667867210
2023-10-13	13:26:57	3539	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:57	3539	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:57	3539	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7549_1'
2023-10-13	13:26:57	3539	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:57	3539	[DEBUG]	Processing product tax
2023-10-13	13:26:57	3539	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:57	3539	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:57	3539	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:57	3539	[DEBUG]	Query for Product
2023-10-13	13:26:57	3539	[DEBUG]	Executed store
2023-10-13	13:26:57	3539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863030','4524667867210','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:57	3539	[DEBUG]	No parent found
2023-10-13	13:26:57	3539	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863030 AND customfield_value = 'stockable'
2023-10-13	13:26:57	3539	[DEBUG]	Check product language entry
2023-10-13	13:26:57	3539	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863031
2023-10-13	13:26:57	3539	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:57	3539	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667867210' AND `virtuemart_product_id` != 1863031
2023-10-13	13:26:57	3539	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:57	3539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863031, '4524667867210')
2023-10-13	13:26:57	3539	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:57	3539	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-xt-sl-m8000-gauche-2-3-vitesses-rapidfire-indicateur-de-vi-noir-unitaire' AND `virtuemart_product_id` != 1863031
2023-10-13	13:26:57	3539	[DEBUG]	Query for ProductLang
2023-10-13	13:26:57	3539	[DEBUG]	Executed store
2023-10-13	13:26:57	3539	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Deore XT SL-M8000 gauche 2/3-vitesses Rapidfire indicateur de vi / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-xt-sl-m8000-gauche-2-3-vitesses-rapidfire-indicateur-de-vi-noir-unitaire' WHERE `virtuemart_product_id` = '1863031'
2023-10-13	13:26:57	3539	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_63930_001.jpg has not been found.
2023-10-13	13:26:57	3539	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:57	3539	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863031 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:57	3539	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:57	3539	[DEBUG]	Executed store
2023-10-13	13:26:57	3539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863031','0','75.2089136490251','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:57	3539	[DEBUG]	Checking manufacturer
2023-10-13	13:26:57	3539	[DEBUG]	Load a row
2023-10-13	13:26:57	3539	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:57	3539	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:57	3539	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:57	3539	[DEBUG]	Executed store
2023-10-13	13:26:57	3539	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:57	3539	[DEBUG]	Manufacturer exists
2023-10-13	13:26:57	3539	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:57	3539	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:57	3539	[DEBUG]	Executed store
2023-10-13	13:26:57	3539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863031','26')
2023-10-13	13:26:57	3539	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:57	3539	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:57	3539	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863031 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:57	3539	[DEBUG]	Store custom available field
2023-10-13	13:26:57	3539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863031,3,'',1)
2023-10-13	13:26:57	3539	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:57	3539	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:26:57	3539	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863031 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:57	3539	[DEBUG]	Store custom available field
2023-10-13	13:26:57	3539	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863031,6,'Unitaire',3)
2023-10-13	13:26:57	3539	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:57	3539	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:26:57	3539	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863030
2023-10-13	13:26:57	3539	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:57	3539	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863030\":[1863030,8,1,\"choisir la taille\"],\"1863031\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863030
2023-10-13	13:26:57	3539	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:57	3539	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863031
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:57	3540	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field taille
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field category_path
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:57	3540	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:26:57	3540	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:57	3540	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field product_weight
2023-10-13	13:26:57	3540	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:57	3540	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:57	3540	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field published
2023-10-13	13:26:57	3540	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:57	3540	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field custom_title
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field custom_param
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field override
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field public_price
2023-10-13	13:26:57	3540	[DEBUG]	Use field value for field slug
2023-10-13	13:26:57	3540	[DEBUG]	Process line 3540
2023-10-13	13:26:57	3540	[DEBUG]	Load a row
2023-10-13	13:26:57	3540	[DEBUG]	Processing item: A_7623_1
2023-10-13	13:26:57	3540	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:57	3540	[DEBUG]	Processing product tax
2023-10-13	13:26:57	3540	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:57	3540	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:57	3540	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:57	3540	[DEBUG]	Query for Product
2023-10-13	13:26:57	3540	[DEBUG]	Executed store
2023-10-13	13:26:57	3540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7623_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:57	3540	[DEBUG]	Check product language entry
2023-10-13	13:26:57	3540	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863032
2023-10-13	13:26:57	3540	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:57	3540	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7623_1' AND `virtuemart_product_id` != 1863032
2023-10-13	13:26:57	3540	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:57	3540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863032, 'A_7623_1')
2023-10-13	13:26:57	3540	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:57	3540	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-alivio-sl-m3100-gauche-3-vitesses-rapidfire-box-noir' AND `virtuemart_product_id` != 1863032
2023-10-13	13:26:57	3540	[DEBUG]	Query for ProductLang
2023-10-13	13:26:57	3540	[DEBUG]	Executed store
2023-10-13	13:26:57	3540	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.78723',`product_name`='SHIMANO Manette Alivio SL-M3100 gauche 3-vitesses Rapidfire box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-alivio-sl-m3100-gauche-3-vitesses-rapidfire-box-noir' WHERE `virtuemart_product_id` = '1863032'
2023-10-13	13:26:57	3540	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_78722_001.jpg
2023-10-13	13:26:57	3540	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:57	3540	[DEBUG]	Process image file
2023-10-13	13:26:57	3540	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:57	3540	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:57	3540	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_78722_001.jpg
2023-10-13	13:26:57	3540	[DEBUG]	Full name target: bcprisme/70_78722_001.jpg
2023-10-13	13:26:58	3540	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:58	3540	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_78722_001.jpg'
2023-10-13	13:26:58	3540	[DEBUG]	Query for Media
2023-10-13	13:26:58	3540	[DEBUG]	Executed store
2023-10-13	13:26:58	3540	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_78722_001.jpg',`file_url_thumb`='bcprisme/70_78722_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337780'
2023-10-13	13:26:58	3540	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:58	3540	[DEBUG]	Executed store
2023-10-13	13:26:58	3540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863032','337780','1')
2023-10-13	13:26:58	3540	[DEBUG]	Store product image relation
2023-10-13	13:26:58	3540	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:58	3540	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863032 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:58	3540	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:58	3540	[DEBUG]	Executed store
2023-10-13	13:26:58	3540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863032','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:58	3540	[DEBUG]	Checking manufacturer
2023-10-13	13:26:58	3540	[DEBUG]	Load a row
2023-10-13	13:26:58	3540	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:58	3540	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:58	3540	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:58	3540	[DEBUG]	Executed store
2023-10-13	13:26:58	3540	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:58	3540	[DEBUG]	Manufacturer exists
2023-10-13	13:26:58	3540	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:58	3540	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:58	3540	[DEBUG]	Executed store
2023-10-13	13:26:58	3540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863032','26')
2023-10-13	13:26:58	3540	[DEBUG]	Find the custom field ID
2023-10-13	13:26:58	3540	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:26:58	3540	[DEBUG]	No custom field ID found
2023-10-13	13:26:58	3540	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:58	3540	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:26:58	3540	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863032 AND `virtuemart_custom_id` = 3
2023-10-13	13:26:58	3540	[DEBUG]	Store custom available field
2023-10-13	13:26:58	3540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863032,3,'0',1)
2023-10-13	13:26:58	3540	[DEBUG]	Processing custom available field: taille
2023-10-13	13:26:58	3540	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:26:58	3540	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863032 AND `virtuemart_custom_id` = 6
2023-10-13	13:26:58	3540	[DEBUG]	Store custom available field
2023-10-13	13:26:58	3540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863032,6,'choisir la taille',3)
2023-10-13	13:26:58	3540	[DEBUG]	Process multi-variant fields
2023-10-13	13:26:58	3540	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:26:58	3540	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:26:58	3540	[DEBUG]	Find the multi variant product entry
2023-10-13	13:26:58	3540	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863032 AND `virtuemart_custom_id` = 8
2023-10-13	13:26:58	3540	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:26:58	3540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863032,8,1)
2023-10-13	13:26:58	3540	[DEBUG]	Store the updated customfield_params
2023-10-13	13:26:58	3540	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863032\":[1863032,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863032
2023-10-13	13:26:58	3540	[DEBUG]	Checking category
2023-10-13	13:26:58	3540	[DEBUG]	Get the existing categories for the product
2023-10-13	13:26:58	3540	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863032
2023-10-13	13:26:58	3540	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:26:58	3540	[DEBUG]	Executed store
2023-10-13	13:26:58	3540	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863032','7381')
2023-10-13	13:26:58	3540	[DEBUG]	Delete leftover product categories
2023-10-13	13:26:58	3540	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863032 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:26:58	3540	[DEBUG]	Update has fields after all processing
2023-10-13	13:26:58	3540	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863032
2023-10-13	13:26:58	3541	[DEBUG]	Use field value for field product_sku
2023-10-13	13:26:58	3541	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:26:58	3541	[DEBUG]	Use field value for field taille
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:26:58	3541	[DEBUG]	Use field value for field product_name
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field category_path
2023-10-13	13:26:58	3541	[DEBUG]	Use field value for field product_price
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:26:58	3541	[DEBUG]	Use field value for field product_tax
2023-10-13	13:26:58	3541	[DEBUG]	Use field value for field file_url
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field product_desc
2023-10-13	13:26:58	3541	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:26:58	3541	[DEBUG]	Use field value for field product_availability
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field product_weight
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field product_unit
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field related_products
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field product_special
2023-10-13	13:26:58	3541	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:26:58	3541	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:26:58	3541	[DEBUG]	Use field value for field published
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field metadesc
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field metakey
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field custom_title
2023-10-13	13:26:58	3541	[DEBUG]	Use field value for field custom_value
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field custom_param
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field override
2023-10-13	13:26:58	3541	[DEBUG]	Use default value for field public_price
2023-10-13	13:26:58	3541	[DEBUG]	Use field value for field slug
2023-10-13	13:26:58	3541	[DEBUG]	Process line 3541
2023-10-13	13:26:58	3541	[DEBUG]	Load a row
2023-10-13	13:26:58	3541	[DEBUG]	Processing item: 4550170620431
2023-10-13	13:26:58	3541	[DEBUG]	Looking for parent SKU
2023-10-13	13:26:58	3541	[DEBUG]	Checking product parent SKU
2023-10-13	13:26:58	3541	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7623_1'
2023-10-13	13:26:58	3541	[DEBUG]	Product tax: 7.7
2023-10-13	13:26:58	3541	[DEBUG]	Processing product tax
2023-10-13	13:26:58	3541	[DEBUG]	Check if calculation rule exists
2023-10-13	13:26:58	3541	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:26:58	3541	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:26:58	3541	[DEBUG]	Query for Product
2023-10-13	13:26:58	3541	[DEBUG]	Executed store
2023-10-13	13:26:58	3541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863032','4550170620431','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:26:58	3541	[DEBUG]	No parent found
2023-10-13	13:26:58	3541	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863032 AND customfield_value = 'stockable'
2023-10-13	13:26:58	3541	[DEBUG]	Check product language entry
2023-10-13	13:26:58	3541	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863033
2023-10-13	13:26:58	3541	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:58	3541	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170620431' AND `virtuemart_product_id` != 1863033
2023-10-13	13:26:58	3541	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:26:58	3541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863033, '4550170620431')
2023-10-13	13:26:58	3541	[DEBUG]	Check if the product slug exists
2023-10-13	13:26:58	3541	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-alivio-sl-m3100-gauche-3-vitesses-rapidfire-box-noir-unitaire' AND `virtuemart_product_id` != 1863033
2023-10-13	13:26:58	3541	[DEBUG]	Query for ProductLang
2023-10-13	13:26:58	3541	[DEBUG]	Executed store
2023-10-13	13:26:58	3541	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Alivio SL-M3100 gauche 3-vitesses Rapidfire box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-alivio-sl-m3100-gauche-3-vitesses-rapidfire-box-noir-unitaire' WHERE `virtuemart_product_id` = '1863033'
2023-10-13	13:26:58	3541	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_78722_001.jpg
2023-10-13	13:26:58	3541	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:58	3541	[DEBUG]	Process image file
2023-10-13	13:26:58	3541	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:26:58	3541	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:26:58	3541	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_78722_001.jpg
2023-10-13	13:26:58	3541	[DEBUG]	Full name target: bcprisme/70_78722_001.jpg
2023-10-13	13:26:59	3541	[DEBUG]	Checking if the file_url exists
2023-10-13	13:26:59	3541	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_78722_001.jpg'
2023-10-13	13:26:59	3541	[DEBUG]	Query for Media
2023-10-13	13:26:59	3541	[DEBUG]	Executed store
2023-10-13	13:26:59	3541	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_78722_001.jpg',`file_url_thumb`='bcprisme/70_78722_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '337780'
2023-10-13	13:26:59	3541	[DEBUG]	Query for ProductMedia
2023-10-13	13:26:59	3541	[DEBUG]	Executed store
2023-10-13	13:26:59	3541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863033','337780','1')
2023-10-13	13:26:59	3541	[DEBUG]	Store product image relation
2023-10-13	13:26:59	3541	[DEBUG]	Finding a product_price_id
2023-10-13	13:26:59	3541	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863033 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:26:59	3541	[DEBUG]	Query for ProductPrice
2023-10-13	13:26:59	3541	[DEBUG]	Executed store
2023-10-13	13:26:59	3541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863033','0','22.1912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:26:59	3541	[DEBUG]	Checking manufacturer
2023-10-13	13:26:59	3541	[DEBUG]	Load a row
2023-10-13	13:26:59	3541	[DEBUG]	Manufacturer already exists
2023-10-13	13:26:59	3541	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:59	3541	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:26:59	3541	[DEBUG]	Executed store
2023-10-13	13:26:59	3541	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:26:59	3541	[DEBUG]	Manufacturer exists
2023-10-13	13:26:59	3541	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:26:59	3541	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:26:59	3541	[DEBUG]	Executed store
2023-10-13	13:26:59	3541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863033','26')
2023-10-13	13:26:59	3541	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:26:59	3541	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:26:59	3541	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863033 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:00	3541	[DEBUG]	Store custom available field
2023-10-13	13:27:00	3541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863033,3,'',1)
2023-10-13	13:27:00	3541	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:00	3541	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:00	3541	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863033 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:00	3541	[DEBUG]	Store custom available field
2023-10-13	13:27:00	3541	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863033,6,'Unitaire',3)
2023-10-13	13:27:00	3541	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:00	3541	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:00	3541	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863032
2023-10-13	13:27:00	3541	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:00	3541	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863032\":[1863032,8,1,\"choisir la taille\"],\"1863033\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863032
2023-10-13	13:27:00	3541	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:00	3541	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863033
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:00	3542	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field taille
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:00	3542	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:00	3542	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:00	3542	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:00	3542	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:00	3542	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:00	3542	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:00	3542	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field published
2023-10-13	13:27:00	3542	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:00	3542	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field override
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:00	3542	[DEBUG]	Use field value for field slug
2023-10-13	13:27:00	3542	[DEBUG]	Process line 3542
2023-10-13	13:27:00	3542	[DEBUG]	Load a row
2023-10-13	13:27:00	3542	[DEBUG]	Processing item: A_7686_1
2023-10-13	13:27:00	3542	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:00	3542	[DEBUG]	Processing product tax
2023-10-13	13:27:00	3542	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:00	3542	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:00	3542	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:00	3542	[DEBUG]	Query for Product
2023-10-13	13:27:00	3542	[DEBUG]	Executed store
2023-10-13	13:27:00	3542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7686_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:00	3542	[DEBUG]	Check product language entry
2023-10-13	13:27:00	3542	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863034
2023-10-13	13:27:00	3542	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:00	3542	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7686_1' AND `virtuemart_product_id` != 1863034
2023-10-13	13:27:00	3542	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:00	3542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863034, 'A_7686_1')
2023-10-13	13:27:00	3542	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:00	3542	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-de-vitesses-sram-eagle-axs-noir' AND `virtuemart_product_id` != 1863034
2023-10-13	13:27:00	3542	[DEBUG]	Query for ProductLang
2023-10-13	13:27:00	3542	[DEBUG]	Executed store
2023-10-13	13:27:00	3542	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7555S',`product_name`='SHIMANO MANETTE DE VITESSES SRAM EAGLE AXS / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-de-vitesses-sram-eagle-axs-noir' WHERE `virtuemart_product_id` = '1863034'
2023-10-13	13:27:00	3542	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35199_manette_de_vitesses_sram_eagle_axs.jpg
2023-10-13	13:27:00	3542	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:27:00	3542	[DEBUG]	Process image file
2023-10-13	13:27:00	3542	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:27:00	3542	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:00	3542	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35199_manette_de_vitesses_sram_eagle_axs.jpg
2023-10-13	13:27:00	3542	[DEBUG]	Full name target: bcprisme/35199_manette_de_vitesses_sram_eagle_axs.jpg
2023-10-13	13:27:01	3542	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:01	3542	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35199_manette_de_vitesses_sram_eagle_axs.jpg'
2023-10-13	13:27:01	3542	[DEBUG]	Query for Media
2023-10-13	13:27:01	3542	[DEBUG]	Executed store
2023-10-13	13:27:01	3542	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35199_manette_de_vitesses_sram_eagle_axs.jpg',`file_url_thumb`='bcprisme/35199_manette_de_vitesses_sram_eagle_axs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381354'
2023-10-13	13:27:01	3542	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:01	3542	[DEBUG]	Executed store
2023-10-13	13:27:01	3542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863034','381354','1')
2023-10-13	13:27:01	3542	[DEBUG]	Store product image relation
2023-10-13	13:27:01	3542	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:01	3542	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863034 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:01	3542	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:01	3542	[DEBUG]	Executed store
2023-10-13	13:27:01	3542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863034','0','221.912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:01	3542	[DEBUG]	Checking manufacturer
2023-10-13	13:27:01	3542	[DEBUG]	Load a row
2023-10-13	13:27:01	3542	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:01	3542	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:01	3542	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:01	3542	[DEBUG]	Executed store
2023-10-13	13:27:01	3542	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:01	3542	[DEBUG]	Manufacturer exists
2023-10-13	13:27:01	3542	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:01	3542	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:01	3542	[DEBUG]	Executed store
2023-10-13	13:27:01	3542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863034','26')
2023-10-13	13:27:01	3542	[DEBUG]	Find the custom field ID
2023-10-13	13:27:01	3542	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:01	3542	[DEBUG]	No custom field ID found
2023-10-13	13:27:01	3542	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:01	3542	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:01	3542	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863034 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:01	3542	[DEBUG]	Store custom available field
2023-10-13	13:27:01	3542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863034,3,'0',1)
2023-10-13	13:27:01	3542	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:01	3542	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:01	3542	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863034 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:01	3542	[DEBUG]	Store custom available field
2023-10-13	13:27:01	3542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863034,6,'choisir la taille',3)
2023-10-13	13:27:01	3542	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:01	3542	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:01	3542	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:01	3542	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:01	3542	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863034 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:01	3542	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:01	3542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863034,8,1)
2023-10-13	13:27:01	3542	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:01	3542	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863034\":[1863034,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863034
2023-10-13	13:27:01	3542	[DEBUG]	Checking category
2023-10-13	13:27:01	3542	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:01	3542	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863034
2023-10-13	13:27:01	3542	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:01	3542	[DEBUG]	Executed store
2023-10-13	13:27:01	3542	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863034','7381')
2023-10-13	13:27:01	3542	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:01	3542	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863034 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:01	3542	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:01	3542	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863034
2023-10-13	13:27:01	3543	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:01	3543	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:01	3543	[DEBUG]	Use field value for field taille
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:01	3543	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:01	3543	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:01	3543	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:01	3543	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:01	3543	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:01	3543	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:01	3543	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:01	3543	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:01	3543	[DEBUG]	Use field value for field published
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:01	3543	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field override
2023-10-13	13:27:01	3543	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:01	3543	[DEBUG]	Use field value for field slug
2023-10-13	13:27:01	3543	[DEBUG]	Process line 3543
2023-10-13	13:27:01	3543	[DEBUG]	Load a row
2023-10-13	13:27:01	3543	[DEBUG]	Processing item: 1000000134155
2023-10-13	13:27:01	3543	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:01	3543	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:01	3543	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7686_1'
2023-10-13	13:27:01	3543	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:01	3543	[DEBUG]	Processing product tax
2023-10-13	13:27:01	3543	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:01	3543	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:01	3543	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:01	3543	[DEBUG]	Query for Product
2023-10-13	13:27:01	3543	[DEBUG]	Executed store
2023-10-13	13:27:01	3543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863034','1000000134155','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:01	3543	[DEBUG]	No parent found
2023-10-13	13:27:01	3543	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863034 AND customfield_value = 'stockable'
2023-10-13	13:27:01	3543	[DEBUG]	Check product language entry
2023-10-13	13:27:01	3543	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863035
2023-10-13	13:27:01	3543	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:01	3543	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000134155' AND `virtuemart_product_id` != 1863035
2023-10-13	13:27:01	3543	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:01	3543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863035, '1000000134155')
2023-10-13	13:27:01	3543	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:01	3543	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-de-vitesses-sram-eagle-axs-noir-unitaire' AND `virtuemart_product_id` != 1863035
2023-10-13	13:27:01	3543	[DEBUG]	Query for ProductLang
2023-10-13	13:27:01	3543	[DEBUG]	Executed store
2023-10-13	13:27:01	3543	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO MANETTE DE VITESSES SRAM EAGLE AXS / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-de-vitesses-sram-eagle-axs-noir-unitaire' WHERE `virtuemart_product_id` = '1863035'
2023-10-13	13:27:01	3543	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35199_manette_de_vitesses_sram_eagle_axs.jpg
2023-10-13	13:27:01	3543	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:27:01	3543	[DEBUG]	Process image file
2023-10-13	13:27:01	3543	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:27:01	3543	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:01	3543	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35199_manette_de_vitesses_sram_eagle_axs.jpg
2023-10-13	13:27:01	3543	[DEBUG]	Full name target: bcprisme/35199_manette_de_vitesses_sram_eagle_axs.jpg
2023-10-13	13:27:02	3543	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:02	3543	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35199_manette_de_vitesses_sram_eagle_axs.jpg'
2023-10-13	13:27:02	3543	[DEBUG]	Query for Media
2023-10-13	13:27:02	3543	[DEBUG]	Executed store
2023-10-13	13:27:02	3543	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35199_manette_de_vitesses_sram_eagle_axs.jpg',`file_url_thumb`='bcprisme/35199_manette_de_vitesses_sram_eagle_axs.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381354'
2023-10-13	13:27:02	3543	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:02	3543	[DEBUG]	Executed store
2023-10-13	13:27:02	3543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863035','381354','1')
2023-10-13	13:27:02	3543	[DEBUG]	Store product image relation
2023-10-13	13:27:02	3543	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:02	3543	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863035 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:02	3543	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:02	3543	[DEBUG]	Executed store
2023-10-13	13:27:02	3543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863035','0','221.912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:02	3543	[DEBUG]	Checking manufacturer
2023-10-13	13:27:02	3543	[DEBUG]	Load a row
2023-10-13	13:27:02	3543	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:02	3543	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:02	3543	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:02	3543	[DEBUG]	Executed store
2023-10-13	13:27:02	3543	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:02	3543	[DEBUG]	Manufacturer exists
2023-10-13	13:27:02	3543	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:02	3543	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:02	3543	[DEBUG]	Executed store
2023-10-13	13:27:02	3543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863035','26')
2023-10-13	13:27:02	3543	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:02	3543	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:02	3543	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863035 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:02	3543	[DEBUG]	Store custom available field
2023-10-13	13:27:02	3543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863035,3,'',1)
2023-10-13	13:27:02	3543	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:02	3543	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:02	3543	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863035 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:02	3543	[DEBUG]	Store custom available field
2023-10-13	13:27:02	3543	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863035,6,'Unitaire',3)
2023-10-13	13:27:02	3543	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:02	3543	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:02	3543	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863034
2023-10-13	13:27:02	3543	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:02	3543	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863034\":[1863034,8,1,\"choisir la taille\"],\"1863035\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863034
2023-10-13	13:27:02	3543	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:02	3543	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863035
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:02	3544	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field taille
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:02	3544	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:02	3544	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:02	3544	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:02	3544	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:02	3544	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:02	3544	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field published
2023-10-13	13:27:02	3544	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:02	3544	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field override
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:02	3544	[DEBUG]	Use field value for field slug
2023-10-13	13:27:02	3544	[DEBUG]	Process line 3544
2023-10-13	13:27:02	3544	[DEBUG]	Load a row
2023-10-13	13:27:02	3544	[DEBUG]	Processing item: A_7808_1
2023-10-13	13:27:02	3544	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:02	3544	[DEBUG]	Processing product tax
2023-10-13	13:27:02	3544	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:02	3544	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:02	3544	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:02	3544	[DEBUG]	Query for Product
2023-10-13	13:27:02	3544	[DEBUG]	Executed store
2023-10-13	13:27:02	3544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7808_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:02	3544	[DEBUG]	Check product language entry
2023-10-13	13:27:02	3544	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863036
2023-10-13	13:27:02	3544	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:02	3544	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7808_1' AND `virtuemart_product_id` != 1863036
2023-10-13	13:27:02	3544	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:02	3544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863036, 'A_7808_1')
2023-10-13	13:27:02	3544	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:02	3544	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-sl-m6100-droit-12-vitesses-rf-s-indicateur-de-vitesse-noir' AND `virtuemart_product_id` != 1863036
2023-10-13	13:27:02	3544	[DEBUG]	Query for ProductLang
2023-10-13	13:27:02	3544	[DEBUG]	Executed store
2023-10-13	13:27:02	3544	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.78038',`product_name`='SHIMANO Manette Deore SL-M6100 droit 12-vitesses RF s/indicateur de vitesse / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-sl-m6100-droit-12-vitesses-rf-s-indicateur-de-vitesse-noir' WHERE `virtuemart_product_id` = '1863036'
2023-10-13	13:27:02	3544	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_78036_001_jpg.jpg
2023-10-13	13:27:02	3544	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:02	3544	[DEBUG]	Process image file
2023-10-13	13:27:02	3544	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:02	3544	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:02	3544	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_78036_001_jpg.jpg
2023-10-13	13:27:02	3544	[DEBUG]	Full name target: bcprisme/70_78036_001_jpg.jpg
2023-10-13	13:27:03	3544	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:03	3544	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_78036_001_jpg.jpg'
2023-10-13	13:27:03	3544	[DEBUG]	Query for Media
2023-10-13	13:27:03	3544	[DEBUG]	Executed store
2023-10-13	13:27:03	3544	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_78036_001_jpg.jpg',`file_url_thumb`='bcprisme/70_78036_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481680'
2023-10-13	13:27:03	3544	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:03	3544	[DEBUG]	Executed store
2023-10-13	13:27:03	3544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863036','481680','1')
2023-10-13	13:27:03	3544	[DEBUG]	Store product image relation
2023-10-13	13:27:03	3544	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:03	3544	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863036 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:03	3544	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:03	3544	[DEBUG]	Executed store
2023-10-13	13:27:03	3544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863036','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:03	3544	[DEBUG]	Checking manufacturer
2023-10-13	13:27:03	3544	[DEBUG]	Load a row
2023-10-13	13:27:03	3544	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:03	3544	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:03	3544	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:03	3544	[DEBUG]	Executed store
2023-10-13	13:27:03	3544	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:03	3544	[DEBUG]	Manufacturer exists
2023-10-13	13:27:03	3544	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:03	3544	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:03	3544	[DEBUG]	Executed store
2023-10-13	13:27:03	3544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863036','26')
2023-10-13	13:27:03	3544	[DEBUG]	Find the custom field ID
2023-10-13	13:27:03	3544	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:03	3544	[DEBUG]	No custom field ID found
2023-10-13	13:27:03	3544	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:03	3544	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:03	3544	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863036 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:03	3544	[DEBUG]	Store custom available field
2023-10-13	13:27:03	3544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863036,3,'0',1)
2023-10-13	13:27:03	3544	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:03	3544	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:03	3544	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863036 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:03	3544	[DEBUG]	Store custom available field
2023-10-13	13:27:03	3544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863036,6,'choisir la taille',3)
2023-10-13	13:27:03	3544	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:03	3544	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:03	3544	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:03	3544	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:03	3544	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863036 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:03	3544	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:03	3544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863036,8,1)
2023-10-13	13:27:03	3544	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:03	3544	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863036\":[1863036,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863036
2023-10-13	13:27:03	3544	[DEBUG]	Checking category
2023-10-13	13:27:03	3544	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:03	3544	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863036
2023-10-13	13:27:03	3544	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:03	3544	[DEBUG]	Executed store
2023-10-13	13:27:03	3544	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863036','7381')
2023-10-13	13:27:03	3544	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:03	3544	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863036 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:03	3544	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:03	3544	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863036
2023-10-13	13:27:03	3545	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:03	3545	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:03	3545	[DEBUG]	Use field value for field taille
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:03	3545	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:03	3545	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:03	3545	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:03	3545	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:03	3545	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:03	3545	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:03	3545	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:03	3545	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:03	3545	[DEBUG]	Use field value for field published
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:03	3545	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field override
2023-10-13	13:27:03	3545	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:03	3545	[DEBUG]	Use field value for field slug
2023-10-13	13:27:03	3545	[DEBUG]	Process line 3545
2023-10-13	13:27:03	3545	[DEBUG]	Load a row
2023-10-13	13:27:03	3545	[DEBUG]	Processing item: 4550170635985
2023-10-13	13:27:03	3545	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:03	3545	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:03	3545	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7808_1'
2023-10-13	13:27:03	3545	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:03	3545	[DEBUG]	Processing product tax
2023-10-13	13:27:03	3545	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:03	3545	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:03	3545	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:03	3545	[DEBUG]	Query for Product
2023-10-13	13:27:03	3545	[DEBUG]	Executed store
2023-10-13	13:27:03	3545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863036','4550170635985','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:03	3545	[DEBUG]	No parent found
2023-10-13	13:27:03	3545	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863036 AND customfield_value = 'stockable'
2023-10-13	13:27:03	3545	[DEBUG]	Check product language entry
2023-10-13	13:27:03	3545	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863037
2023-10-13	13:27:03	3545	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:03	3545	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170635985' AND `virtuemart_product_id` != 1863037
2023-10-13	13:27:03	3545	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:03	3545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863037, '4550170635985')
2023-10-13	13:27:03	3545	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:03	3545	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-sl-m6100-droit-12-vitesses-rf-s-indicateur-de-vitesse-noir-unitaire' AND `virtuemart_product_id` != 1863037
2023-10-13	13:27:03	3545	[DEBUG]	Query for ProductLang
2023-10-13	13:27:03	3545	[DEBUG]	Executed store
2023-10-13	13:27:03	3545	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Deore SL-M6100 droit 12-vitesses RF s/indicateur de vitesse / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-sl-m6100-droit-12-vitesses-rf-s-indicateur-de-vitesse-noir-unitaire' WHERE `virtuemart_product_id` = '1863037'
2023-10-13	13:27:03	3545	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_78036_001_jpg.jpg
2023-10-13	13:27:03	3545	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:03	3545	[DEBUG]	Process image file
2023-10-13	13:27:03	3545	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:03	3545	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:03	3545	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_78036_001_jpg.jpg
2023-10-13	13:27:03	3545	[DEBUG]	Full name target: bcprisme/70_78036_001_jpg.jpg
2023-10-13	13:27:04	3545	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:04	3545	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_78036_001_jpg.jpg'
2023-10-13	13:27:04	3545	[DEBUG]	Query for Media
2023-10-13	13:27:04	3545	[DEBUG]	Executed store
2023-10-13	13:27:04	3545	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_78036_001_jpg.jpg',`file_url_thumb`='bcprisme/70_78036_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481680'
2023-10-13	13:27:04	3545	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:04	3545	[DEBUG]	Executed store
2023-10-13	13:27:04	3545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863037','481680','1')
2023-10-13	13:27:04	3545	[DEBUG]	Store product image relation
2023-10-13	13:27:04	3545	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:04	3545	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863037 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:04	3545	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:04	3545	[DEBUG]	Executed store
2023-10-13	13:27:04	3545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863037','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:04	3545	[DEBUG]	Checking manufacturer
2023-10-13	13:27:04	3545	[DEBUG]	Load a row
2023-10-13	13:27:04	3545	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:04	3545	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:04	3545	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:04	3545	[DEBUG]	Executed store
2023-10-13	13:27:04	3545	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:04	3545	[DEBUG]	Manufacturer exists
2023-10-13	13:27:04	3545	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:04	3545	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:04	3545	[DEBUG]	Executed store
2023-10-13	13:27:04	3545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863037','26')
2023-10-13	13:27:04	3545	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:04	3545	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:04	3545	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863037 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:04	3545	[DEBUG]	Store custom available field
2023-10-13	13:27:04	3545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863037,3,'',1)
2023-10-13	13:27:04	3545	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:04	3545	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:04	3545	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863037 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:04	3545	[DEBUG]	Store custom available field
2023-10-13	13:27:04	3545	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863037,6,'Unitaire',3)
2023-10-13	13:27:04	3545	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:04	3545	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:04	3545	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863036
2023-10-13	13:27:04	3545	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:04	3545	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863036\":[1863036,8,1,\"choisir la taille\"],\"1863037\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863036
2023-10-13	13:27:04	3545	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:04	3545	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863037
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:04	3546	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field taille
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:04	3546	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:04	3546	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:04	3546	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:04	3546	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:04	3546	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:04	3546	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:04	3546	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field published
2023-10-13	13:27:04	3546	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:04	3546	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field override
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:04	3546	[DEBUG]	Use field value for field slug
2023-10-13	13:27:04	3546	[DEBUG]	Process line 3546
2023-10-13	13:27:04	3546	[DEBUG]	Load a row
2023-10-13	13:27:04	3546	[DEBUG]	Processing item: A_7812_208
2023-10-13	13:27:04	3546	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:04	3546	[DEBUG]	Processing product tax
2023-10-13	13:27:04	3546	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:04	3546	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:04	3546	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:04	3546	[DEBUG]	Query for Product
2023-10-13	13:27:04	3546	[DEBUG]	Executed store
2023-10-13	13:27:04	3546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7812_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:04	3546	[DEBUG]	Check product language entry
2023-10-13	13:27:04	3546	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863038
2023-10-13	13:27:04	3546	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:04	3546	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7812_208' AND `virtuemart_product_id` != 1863038
2023-10-13	13:27:04	3546	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:04	3546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863038, 'A_7812_208')
2023-10-13	13:27:04	3546	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:04	3546	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-manette-dura-ace-st-9001-droite-11-vit-du-co-a-cables-s-gaines-aucune' AND `virtuemart_product_id` != 1863038
2023-10-13	13:27:04	3546	[DEBUG]	Query for ProductLang
2023-10-13	13:27:04	3546	[DEBUG]	Executed store
2023-10-13	13:27:04	3546	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 69.58097',`product_name`='SHIMANO Levier/manette Dura-Ace ST-9001 droite 11-vit. Du-Co a/câbles s/gaines / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-manette-dura-ace-st-9001-droite-11-vit-du-co-a-cables-s-gaines-aucune' WHERE `virtuemart_product_id` = '1863038'
2023-10-13	13:27:04	3546	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_58097_jpg.jpg has not been found.
2023-10-13	13:27:04	3546	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:04	3546	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863038 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:04	3546	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:04	3546	[DEBUG]	Executed store
2023-10-13	13:27:04	3546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863038','0','266.480965645311','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:04	3546	[DEBUG]	Checking manufacturer
2023-10-13	13:27:04	3546	[DEBUG]	Load a row
2023-10-13	13:27:04	3546	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:04	3546	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:04	3546	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:04	3546	[DEBUG]	Executed store
2023-10-13	13:27:04	3546	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:04	3546	[DEBUG]	Manufacturer exists
2023-10-13	13:27:04	3546	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:04	3546	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:04	3546	[DEBUG]	Executed store
2023-10-13	13:27:04	3546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863038','26')
2023-10-13	13:27:04	3546	[DEBUG]	Find the custom field ID
2023-10-13	13:27:04	3546	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:04	3546	[DEBUG]	No custom field ID found
2023-10-13	13:27:04	3546	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:04	3546	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:04	3546	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863038 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:04	3546	[DEBUG]	Store custom available field
2023-10-13	13:27:04	3546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863038,3,'0',1)
2023-10-13	13:27:04	3546	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:04	3546	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:04	3546	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863038 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:04	3546	[DEBUG]	Store custom available field
2023-10-13	13:27:04	3546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863038,6,'choisir la taille',3)
2023-10-13	13:27:04	3546	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:04	3546	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:04	3546	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:04	3546	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:04	3546	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863038 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:04	3546	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:04	3546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863038,8,1)
2023-10-13	13:27:04	3546	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:04	3546	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863038\":[1863038,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863038
2023-10-13	13:27:04	3546	[DEBUG]	Checking category
2023-10-13	13:27:04	3546	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:04	3546	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863038
2023-10-13	13:27:04	3546	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:04	3546	[DEBUG]	Executed store
2023-10-13	13:27:04	3546	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863038','7381')
2023-10-13	13:27:04	3546	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:04	3546	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863038 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:04	3546	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:04	3546	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863038
2023-10-13	13:27:04	3547	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:04	3547	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:04	3547	[DEBUG]	Use field value for field taille
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:04	3547	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:04	3547	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:04	3547	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:04	3547	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:04	3547	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:04	3547	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:04	3547	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:04	3547	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:04	3547	[DEBUG]	Use field value for field published
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:04	3547	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field override
2023-10-13	13:27:04	3547	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:04	3547	[DEBUG]	Use field value for field slug
2023-10-13	13:27:04	3547	[DEBUG]	Process line 3547
2023-10-13	13:27:04	3547	[DEBUG]	Load a row
2023-10-13	13:27:04	3547	[DEBUG]	Processing item: 4524667285137
2023-10-13	13:27:04	3547	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:04	3547	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:04	3547	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7812_208'
2023-10-13	13:27:04	3547	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:04	3547	[DEBUG]	Processing product tax
2023-10-13	13:27:04	3547	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:04	3547	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:04	3547	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:04	3547	[DEBUG]	Query for Product
2023-10-13	13:27:04	3547	[DEBUG]	Executed store
2023-10-13	13:27:04	3547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863038','4524667285137','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:04	3547	[DEBUG]	No parent found
2023-10-13	13:27:04	3547	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863038 AND customfield_value = 'stockable'
2023-10-13	13:27:04	3547	[DEBUG]	Check product language entry
2023-10-13	13:27:04	3547	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863039
2023-10-13	13:27:04	3547	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:04	3547	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667285137' AND `virtuemart_product_id` != 1863039
2023-10-13	13:27:04	3547	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:04	3547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863039, '4524667285137')
2023-10-13	13:27:04	3547	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:04	3547	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-manette-dura-ace-st-9001-droite-11-vit-du-co-a-cables-s-gaines-aucune-unitaire' AND `virtuemart_product_id` != 1863039
2023-10-13	13:27:04	3547	[DEBUG]	Query for ProductLang
2023-10-13	13:27:04	3547	[DEBUG]	Executed store
2023-10-13	13:27:04	3547	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier/manette Dura-Ace ST-9001 droite 11-vit. Du-Co a/câbles s/gaines / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-manette-dura-ace-st-9001-droite-11-vit-du-co-a-cables-s-gaines-aucune-unitaire' WHERE `virtuemart_product_id` = '1863039'
2023-10-13	13:27:04	3547	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_58097_jpg.jpg has not been found.
2023-10-13	13:27:04	3547	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:04	3547	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863039 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:04	3547	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:04	3547	[DEBUG]	Executed store
2023-10-13	13:27:04	3547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863039','0','266.480965645311','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:04	3547	[DEBUG]	Checking manufacturer
2023-10-13	13:27:04	3547	[DEBUG]	Load a row
2023-10-13	13:27:04	3547	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:04	3547	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:04	3547	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:04	3547	[DEBUG]	Executed store
2023-10-13	13:27:04	3547	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:04	3547	[DEBUG]	Manufacturer exists
2023-10-13	13:27:04	3547	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:04	3547	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:04	3547	[DEBUG]	Executed store
2023-10-13	13:27:04	3547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863039','26')
2023-10-13	13:27:04	3547	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:04	3547	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:04	3547	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863039 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:04	3547	[DEBUG]	Store custom available field
2023-10-13	13:27:04	3547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863039,3,'',1)
2023-10-13	13:27:04	3547	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:04	3547	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:04	3547	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863039 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:04	3547	[DEBUG]	Store custom available field
2023-10-13	13:27:04	3547	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863039,6,'Unitaire',3)
2023-10-13	13:27:04	3547	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:04	3547	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:04	3547	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863038
2023-10-13	13:27:04	3547	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:04	3547	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863038\":[1863038,8,1,\"choisir la taille\"],\"1863039\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863038
2023-10-13	13:27:04	3547	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:04	3547	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863039
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:04	3548	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field taille
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:04	3548	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:04	3548	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:04	3548	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:04	3548	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:04	3548	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:04	3548	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:04	3548	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field published
2023-10-13	13:27:04	3548	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:04	3548	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field override
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:04	3548	[DEBUG]	Use field value for field slug
2023-10-13	13:27:04	3548	[DEBUG]	Process line 3548
2023-10-13	13:27:04	3548	[DEBUG]	Load a row
2023-10-13	13:27:04	3548	[DEBUG]	Processing item: A_7813_208
2023-10-13	13:27:04	3548	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:04	3548	[DEBUG]	Processing product tax
2023-10-13	13:27:04	3548	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:04	3548	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:04	3548	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:04	3548	[DEBUG]	Query for Product
2023-10-13	13:27:04	3548	[DEBUG]	Executed store
2023-10-13	13:27:04	3548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7813_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:04	3548	[DEBUG]	Check product language entry
2023-10-13	13:27:04	3548	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863040
2023-10-13	13:27:04	3548	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:04	3548	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7813_208' AND `virtuemart_product_id` != 1863040
2023-10-13	13:27:04	3548	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:04	3548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863040, 'A_7813_208')
2023-10-13	13:27:04	3548	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:04	3548	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-manette-dura-ace-st-9001-gauche-2-vit-du-co-a-cables-s-gaines-aucune' AND `virtuemart_product_id` != 1863040
2023-10-13	13:27:04	3548	[DEBUG]	Query for ProductLang
2023-10-13	13:27:04	3548	[DEBUG]	Executed store
2023-10-13	13:27:04	3548	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 69.58096',`product_name`='SHIMANO Levier/manette Dura-Ace ST-9001 gauche 2-vit. Du-Co a/câbles s/gaines / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-manette-dura-ace-st-9001-gauche-2-vit-du-co-a-cables-s-gaines-aucune' WHERE `virtuemart_product_id` = '1863040'
2023-10-13	13:27:04	3548	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_58097_jpg.jpg has not been found.
2023-10-13	13:27:04	3548	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:04	3548	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863040 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:04	3548	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:04	3548	[DEBUG]	Executed store
2023-10-13	13:27:04	3548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863040','0','266.480965645311','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:04	3548	[DEBUG]	Checking manufacturer
2023-10-13	13:27:04	3548	[DEBUG]	Load a row
2023-10-13	13:27:04	3548	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:04	3548	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:04	3548	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:04	3548	[DEBUG]	Executed store
2023-10-13	13:27:04	3548	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:04	3548	[DEBUG]	Manufacturer exists
2023-10-13	13:27:04	3548	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:04	3548	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:04	3548	[DEBUG]	Executed store
2023-10-13	13:27:04	3548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863040','26')
2023-10-13	13:27:04	3548	[DEBUG]	Find the custom field ID
2023-10-13	13:27:04	3548	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:04	3548	[DEBUG]	No custom field ID found
2023-10-13	13:27:04	3548	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:04	3548	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:04	3548	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863040 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:04	3548	[DEBUG]	Store custom available field
2023-10-13	13:27:04	3548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863040,3,'0',1)
2023-10-13	13:27:04	3548	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:04	3548	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:04	3548	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863040 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:04	3548	[DEBUG]	Store custom available field
2023-10-13	13:27:04	3548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863040,6,'choisir la taille',3)
2023-10-13	13:27:04	3548	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:04	3548	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:04	3548	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:04	3548	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:04	3548	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863040 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:04	3548	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:04	3548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863040,8,1)
2023-10-13	13:27:04	3548	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:04	3548	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863040\":[1863040,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863040
2023-10-13	13:27:04	3548	[DEBUG]	Checking category
2023-10-13	13:27:04	3548	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:04	3548	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863040
2023-10-13	13:27:04	3548	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:04	3548	[DEBUG]	Executed store
2023-10-13	13:27:04	3548	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863040','7381')
2023-10-13	13:27:04	3548	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:04	3548	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863040 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:04	3548	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:04	3548	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863040
2023-10-13	13:27:04	3549	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:04	3549	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:04	3549	[DEBUG]	Use field value for field taille
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:04	3549	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:04	3549	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:04	3549	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:04	3549	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:04	3549	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:04	3549	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:04	3549	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:04	3549	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:04	3549	[DEBUG]	Use field value for field published
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:04	3549	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field override
2023-10-13	13:27:04	3549	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:04	3549	[DEBUG]	Use field value for field slug
2023-10-13	13:27:04	3549	[DEBUG]	Process line 3549
2023-10-13	13:27:04	3549	[DEBUG]	Load a row
2023-10-13	13:27:04	3549	[DEBUG]	Processing item: 4524667285168
2023-10-13	13:27:04	3549	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:04	3549	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:04	3549	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7813_208'
2023-10-13	13:27:04	3549	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:04	3549	[DEBUG]	Processing product tax
2023-10-13	13:27:04	3549	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:04	3549	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:04	3549	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:04	3549	[DEBUG]	Query for Product
2023-10-13	13:27:04	3549	[DEBUG]	Executed store
2023-10-13	13:27:04	3549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863040','4524667285168','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:04	3549	[DEBUG]	No parent found
2023-10-13	13:27:04	3549	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863040 AND customfield_value = 'stockable'
2023-10-13	13:27:04	3549	[DEBUG]	Check product language entry
2023-10-13	13:27:04	3549	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863041
2023-10-13	13:27:04	3549	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:04	3549	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667285168' AND `virtuemart_product_id` != 1863041
2023-10-13	13:27:04	3549	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:04	3549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863041, '4524667285168')
2023-10-13	13:27:04	3549	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:04	3549	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-manette-dura-ace-st-9001-gauche-2-vit-du-co-a-cables-s-gaines-aucune-unitaire' AND `virtuemart_product_id` != 1863041
2023-10-13	13:27:04	3549	[DEBUG]	Query for ProductLang
2023-10-13	13:27:04	3549	[DEBUG]	Executed store
2023-10-13	13:27:04	3549	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier/manette Dura-Ace ST-9001 gauche 2-vit. Du-Co a/câbles s/gaines / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-manette-dura-ace-st-9001-gauche-2-vit-du-co-a-cables-s-gaines-aucune-unitaire' WHERE `virtuemart_product_id` = '1863041'
2023-10-13	13:27:04	3549	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_58097_jpg.jpg has not been found.
2023-10-13	13:27:04	3549	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:04	3549	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863041 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:04	3549	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:04	3549	[DEBUG]	Executed store
2023-10-13	13:27:04	3549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863041','0','266.480965645311','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:04	3549	[DEBUG]	Checking manufacturer
2023-10-13	13:27:04	3549	[DEBUG]	Load a row
2023-10-13	13:27:04	3549	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:04	3549	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:04	3549	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:04	3549	[DEBUG]	Executed store
2023-10-13	13:27:04	3549	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:04	3549	[DEBUG]	Manufacturer exists
2023-10-13	13:27:04	3549	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:04	3549	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:04	3549	[DEBUG]	Executed store
2023-10-13	13:27:04	3549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863041','26')
2023-10-13	13:27:04	3549	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:04	3549	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:04	3549	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863041 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:04	3549	[DEBUG]	Store custom available field
2023-10-13	13:27:04	3549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863041,3,'',1)
2023-10-13	13:27:04	3549	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:04	3549	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:04	3549	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863041 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:04	3549	[DEBUG]	Store custom available field
2023-10-13	13:27:04	3549	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863041,6,'Unitaire',3)
2023-10-13	13:27:04	3549	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:04	3549	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:04	3549	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863040
2023-10-13	13:27:04	3549	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:04	3549	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863040\":[1863040,8,1,\"choisir la taille\"],\"1863041\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863040
2023-10-13	13:27:04	3549	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:04	3549	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863041
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:04	3550	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field taille
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:04	3550	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:04	3550	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:04	3550	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:04	3550	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:04	3550	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:04	3550	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field published
2023-10-13	13:27:04	3550	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:04	3550	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field override
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:04	3550	[DEBUG]	Use field value for field slug
2023-10-13	13:27:04	3550	[DEBUG]	Process line 3550
2023-10-13	13:27:04	3550	[DEBUG]	Load a row
2023-10-13	13:27:04	3550	[DEBUG]	Processing item: A_7830_1
2023-10-13	13:27:04	3550	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:04	3550	[DEBUG]	Processing product tax
2023-10-13	13:27:04	3550	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:04	3550	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:04	3550	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:04	3550	[DEBUG]	Query for Product
2023-10-13	13:27:04	3550	[DEBUG]	Executed store
2023-10-13	13:27:04	3550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7830_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:04	3550	[DEBUG]	Check product language entry
2023-10-13	13:27:04	3550	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863042
2023-10-13	13:27:04	3550	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:04	3550	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7830_1' AND `virtuemart_product_id` != 1863042
2023-10-13	13:27:04	3550	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:04	3550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863042, 'A_7830_1')
2023-10-13	13:27:04	3550	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:04	3550	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-slx-m7000-i-spec-droite-11-vitesses-rapidfire-noir' AND `virtuemart_product_id` != 1863042
2023-10-13	13:27:04	3550	[DEBUG]	Query for ProductLang
2023-10-13	13:27:04	3550	[DEBUG]	Executed store
2023-10-13	13:27:04	3550	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.66398',`product_name`='SHIMANO Manette Deore SLX M7000 I-Spec droite 11-vitesses Rapidfire  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-slx-m7000-i-spec-droite-11-vitesses-rapidfire-noir' WHERE `virtuemart_product_id` = '1863042'
2023-10-13	13:27:04	3550	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36214_shimano_manette_deore_slx_m7000_i-spec_droite_11-vitesses_rapidfire_.jpg
2023-10-13	13:27:04	3550	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:04	3550	[DEBUG]	Process image file
2023-10-13	13:27:04	3550	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:04	3550	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:04	3550	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36214_shimano_manette_deore_slx_m7000_i-spec_droite_11-vitesses_rapidfire_.jpg
2023-10-13	13:27:04	3550	[DEBUG]	Full name target: bcprisme/36214_shimano_manette_deore_slx_m7000_i-spec_droite_11-vitesses_rapidfire_.jpg
2023-10-13	13:27:05	3550	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:05	3550	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36214_shimano_manette_deore_slx_m7000_i-spec_droite_11-vitesses_rapidfire_.jpg'
2023-10-13	13:27:05	3550	[DEBUG]	Query for Media
2023-10-13	13:27:05	3550	[DEBUG]	Executed store
2023-10-13	13:27:05	3550	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36214_shimano_manette_deore_slx_m7000_i-spec_droite_11-vitesses_rapidfire_.jpg',`file_url_thumb`='bcprisme/36214_shimano_manette_deore_slx_m7000_i-spec_droite_11-vitesses_rapidfire_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481682'
2023-10-13	13:27:05	3550	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:05	3550	[DEBUG]	Executed store
2023-10-13	13:27:05	3550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863042','481682','1')
2023-10-13	13:27:05	3550	[DEBUG]	Store product image relation
2023-10-13	13:27:05	3550	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:05	3550	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863042 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:05	3550	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:05	3550	[DEBUG]	Executed store
2023-10-13	13:27:05	3550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863042','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:05	3550	[DEBUG]	Checking manufacturer
2023-10-13	13:27:05	3550	[DEBUG]	Load a row
2023-10-13	13:27:05	3550	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:05	3550	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:27:05	3550	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:05	3550	[DEBUG]	Executed store
2023-10-13	13:27:05	3550	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:27:05	3550	[DEBUG]	Manufacturer exists
2023-10-13	13:27:05	3550	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:27:05	3550	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:05	3550	[DEBUG]	Executed store
2023-10-13	13:27:05	3550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863042','123')
2023-10-13	13:27:05	3550	[DEBUG]	Find the custom field ID
2023-10-13	13:27:05	3550	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:05	3550	[DEBUG]	No custom field ID found
2023-10-13	13:27:05	3550	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:05	3550	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:05	3550	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863042 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:05	3550	[DEBUG]	Store custom available field
2023-10-13	13:27:05	3550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863042,3,'0',1)
2023-10-13	13:27:05	3550	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:05	3550	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:05	3550	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863042 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:05	3550	[DEBUG]	Store custom available field
2023-10-13	13:27:05	3550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863042,6,'choisir la taille',3)
2023-10-13	13:27:05	3550	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:05	3550	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:05	3550	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:05	3550	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:05	3550	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863042 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:05	3550	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:05	3550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863042,8,1)
2023-10-13	13:27:05	3550	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:05	3550	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863042\":[1863042,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863042
2023-10-13	13:27:05	3550	[DEBUG]	Checking category
2023-10-13	13:27:05	3550	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:05	3550	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863042
2023-10-13	13:27:05	3550	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:05	3550	[DEBUG]	Executed store
2023-10-13	13:27:05	3550	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863042','7381')
2023-10-13	13:27:05	3550	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:05	3550	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863042 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:05	3550	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:05	3550	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863042
2023-10-13	13:27:05	3551	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:05	3551	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:05	3551	[DEBUG]	Use field value for field taille
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:05	3551	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:05	3551	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:05	3551	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:05	3551	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:05	3551	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:05	3551	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:05	3551	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:05	3551	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:05	3551	[DEBUG]	Use field value for field published
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:05	3551	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field override
2023-10-13	13:27:05	3551	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:05	3551	[DEBUG]	Use field value for field slug
2023-10-13	13:27:05	3551	[DEBUG]	Process line 3551
2023-10-13	13:27:05	3551	[DEBUG]	Load a row
2023-10-13	13:27:05	3551	[DEBUG]	Processing item: 1000000138856
2023-10-13	13:27:05	3551	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:05	3551	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:05	3551	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7830_1'
2023-10-13	13:27:05	3551	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:05	3551	[DEBUG]	Processing product tax
2023-10-13	13:27:05	3551	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:05	3551	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:05	3551	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:05	3551	[DEBUG]	Query for Product
2023-10-13	13:27:05	3551	[DEBUG]	Executed store
2023-10-13	13:27:05	3551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863042','1000000138856','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:05	3551	[DEBUG]	No parent found
2023-10-13	13:27:05	3551	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863042 AND customfield_value = 'stockable'
2023-10-13	13:27:05	3551	[DEBUG]	Check product language entry
2023-10-13	13:27:05	3551	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863043
2023-10-13	13:27:05	3551	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:05	3551	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000138856' AND `virtuemart_product_id` != 1863043
2023-10-13	13:27:05	3551	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:05	3551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863043, '1000000138856')
2023-10-13	13:27:05	3551	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:05	3551	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-slx-m7000-i-spec-droite-11-vitesses-rapidfire-noir-all' AND `virtuemart_product_id` != 1863043
2023-10-13	13:27:05	3551	[DEBUG]	Query for ProductLang
2023-10-13	13:27:05	3551	[DEBUG]	Executed store
2023-10-13	13:27:05	3551	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Deore SLX M7000 I-Spec droite 11-vitesses Rapidfire  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-slx-m7000-i-spec-droite-11-vitesses-rapidfire-noir-all' WHERE `virtuemart_product_id` = '1863043'
2023-10-13	13:27:05	3551	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36214_shimano_manette_deore_slx_m7000_i-spec_droite_11-vitesses_rapidfire_.jpg
2023-10-13	13:27:05	3551	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:05	3551	[DEBUG]	Process image file
2023-10-13	13:27:05	3551	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:05	3551	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:05	3551	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36214_shimano_manette_deore_slx_m7000_i-spec_droite_11-vitesses_rapidfire_.jpg
2023-10-13	13:27:05	3551	[DEBUG]	Full name target: bcprisme/36214_shimano_manette_deore_slx_m7000_i-spec_droite_11-vitesses_rapidfire_.jpg
2023-10-13	13:27:06	3551	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:06	3551	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36214_shimano_manette_deore_slx_m7000_i-spec_droite_11-vitesses_rapidfire_.jpg'
2023-10-13	13:27:06	3551	[DEBUG]	Query for Media
2023-10-13	13:27:06	3551	[DEBUG]	Executed store
2023-10-13	13:27:06	3551	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36214_shimano_manette_deore_slx_m7000_i-spec_droite_11-vitesses_rapidfire_.jpg',`file_url_thumb`='bcprisme/36214_shimano_manette_deore_slx_m7000_i-spec_droite_11-vitesses_rapidfire_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '481682'
2023-10-13	13:27:06	3551	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:06	3551	[DEBUG]	Executed store
2023-10-13	13:27:06	3551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863043','481682','1')
2023-10-13	13:27:06	3551	[DEBUG]	Store product image relation
2023-10-13	13:27:06	3551	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:06	3551	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863043 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:06	3551	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:06	3551	[DEBUG]	Executed store
2023-10-13	13:27:06	3551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863043','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:06	3551	[DEBUG]	Checking manufacturer
2023-10-13	13:27:06	3551	[DEBUG]	Load a row
2023-10-13	13:27:06	3551	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:06	3551	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:27:06	3551	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:06	3551	[DEBUG]	Executed store
2023-10-13	13:27:06	3551	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:27:06	3551	[DEBUG]	Manufacturer exists
2023-10-13	13:27:06	3551	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:27:06	3551	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:06	3551	[DEBUG]	Executed store
2023-10-13	13:27:06	3551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863043','123')
2023-10-13	13:27:06	3551	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:06	3551	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:06	3551	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863043 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:06	3551	[DEBUG]	Store custom available field
2023-10-13	13:27:06	3551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863043,3,'',1)
2023-10-13	13:27:06	3551	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:06	3551	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:27:06	3551	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863043 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:06	3551	[DEBUG]	Store custom available field
2023-10-13	13:27:06	3551	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863043,6,'All',3)
2023-10-13	13:27:06	3551	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:06	3551	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:06	3551	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863042
2023-10-13	13:27:06	3551	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:06	3551	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863042\":[1863042,8,1,\"choisir la taille\"],\"1863043\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863042
2023-10-13	13:27:06	3551	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:06	3551	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863043
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:06	3552	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field taille
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:06	3552	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:06	3552	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:06	3552	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:06	3552	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:06	3552	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:06	3552	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:06	3552	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field published
2023-10-13	13:27:06	3552	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:06	3552	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field override
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:06	3552	[DEBUG]	Use field value for field slug
2023-10-13	13:27:06	3552	[DEBUG]	Process line 3552
2023-10-13	13:27:06	3552	[DEBUG]	Load a row
2023-10-13	13:27:06	3552	[DEBUG]	Processing item: A_8223_1
2023-10-13	13:27:06	3552	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:06	3552	[DEBUG]	Processing product tax
2023-10-13	13:27:06	3552	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:06	3552	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:06	3552	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:06	3552	[DEBUG]	Query for Product
2023-10-13	13:27:06	3552	[DEBUG]	Executed store
2023-10-13	13:27:06	3552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8223_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:06	3552	[DEBUG]	Check product language entry
2023-10-13	13:27:06	3552	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863044
2023-10-13	13:27:06	3552	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:06	3552	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8223_1' AND `virtuemart_product_id` != 1863044
2023-10-13	13:27:06	3552	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:06	3552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863044, 'A_8223_1')
2023-10-13	13:27:06	3552	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:06	3552	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-trigger-sram-gx-2x10-10-vit-noir' AND `virtuemart_product_id` != 1863044
2023-10-13	13:27:06	3552	[DEBUG]	Query for ProductLang
2023-10-13	13:27:06	3552	[DEBUG]	Executed store
2023-10-13	13:27:06	3552	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn :  D7506Q',`product_name`='SRAM Trigger SRAM GX 2x10 10 vit / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-trigger-sram-gx-2x10-10-vit-noir' WHERE `virtuemart_product_id` = '1863044'
2023-10-13	13:27:06	3552	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36811_trigger_sram_gx_2x10_10_vit.jpg has not been found.
2023-10-13	13:27:06	3552	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:06	3552	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863044 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:06	3552	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:07	3552	[DEBUG]	Executed store
2023-10-13	13:27:07	3552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863044','0','39.9257195914578','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:07	3552	[DEBUG]	Checking manufacturer
2023-10-13	13:27:07	3552	[DEBUG]	Load a row
2023-10-13	13:27:07	3552	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:07	3552	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:07	3552	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:07	3552	[DEBUG]	Executed store
2023-10-13	13:27:07	3552	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:07	3552	[DEBUG]	Manufacturer exists
2023-10-13	13:27:07	3552	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:07	3552	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:07	3552	[DEBUG]	Executed store
2023-10-13	13:27:07	3552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863044','35')
2023-10-13	13:27:07	3552	[DEBUG]	Find the custom field ID
2023-10-13	13:27:07	3552	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:07	3552	[DEBUG]	No custom field ID found
2023-10-13	13:27:07	3552	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:07	3552	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:07	3552	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863044 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:07	3552	[DEBUG]	Store custom available field
2023-10-13	13:27:07	3552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863044,3,'0',1)
2023-10-13	13:27:07	3552	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:07	3552	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:07	3552	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863044 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:07	3552	[DEBUG]	Store custom available field
2023-10-13	13:27:07	3552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863044,6,'choisir la taille',3)
2023-10-13	13:27:07	3552	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:07	3552	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:07	3552	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:07	3552	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:07	3552	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863044 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:07	3552	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:07	3552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863044,8,1)
2023-10-13	13:27:07	3552	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:07	3552	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863044\":[1863044,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863044
2023-10-13	13:27:07	3552	[DEBUG]	Checking category
2023-10-13	13:27:07	3552	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:07	3552	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863044
2023-10-13	13:27:07	3552	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:07	3552	[DEBUG]	Executed store
2023-10-13	13:27:07	3552	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863044','7381')
2023-10-13	13:27:07	3552	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:07	3552	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863044 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:07	3552	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:07	3552	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863044
2023-10-13	13:27:07	3553	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:07	3553	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:07	3553	[DEBUG]	Use field value for field taille
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:07	3553	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:07	3553	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:07	3553	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:07	3553	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:07	3553	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:07	3553	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:07	3553	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:07	3553	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:07	3553	[DEBUG]	Use field value for field published
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:07	3553	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field override
2023-10-13	13:27:07	3553	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:07	3553	[DEBUG]	Use field value for field slug
2023-10-13	13:27:07	3553	[DEBUG]	Process line 3553
2023-10-13	13:27:07	3553	[DEBUG]	Load a row
2023-10-13	13:27:07	3553	[DEBUG]	Processing item: 710845771743
2023-10-13	13:27:07	3553	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:07	3553	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:07	3553	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8223_1'
2023-10-13	13:27:07	3553	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:07	3553	[DEBUG]	Processing product tax
2023-10-13	13:27:07	3553	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:07	3553	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:07	3553	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:07	3553	[DEBUG]	Query for Product
2023-10-13	13:27:07	3553	[DEBUG]	Executed store
2023-10-13	13:27:07	3553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863044','710845771743','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:07	3553	[DEBUG]	No parent found
2023-10-13	13:27:07	3553	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863044 AND customfield_value = 'stockable'
2023-10-13	13:27:07	3553	[DEBUG]	Check product language entry
2023-10-13	13:27:07	3553	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863045
2023-10-13	13:27:07	3553	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:07	3553	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845771743' AND `virtuemart_product_id` != 1863045
2023-10-13	13:27:07	3553	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:07	3553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863045, '710845771743')
2023-10-13	13:27:07	3553	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:07	3553	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-trigger-sram-gx-2x10-10-vit-noir-unitaire' AND `virtuemart_product_id` != 1863045
2023-10-13	13:27:07	3553	[DEBUG]	Query for ProductLang
2023-10-13	13:27:07	3553	[DEBUG]	Executed store
2023-10-13	13:27:07	3553	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Trigger SRAM GX 2x10 10 vit / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-trigger-sram-gx-2x10-10-vit-noir-unitaire' WHERE `virtuemart_product_id` = '1863045'
2023-10-13	13:27:07	3553	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36811_trigger_sram_gx_2x10_10_vit.jpg has not been found.
2023-10-13	13:27:07	3553	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:07	3553	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863045 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:07	3553	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:07	3553	[DEBUG]	Executed store
2023-10-13	13:27:07	3553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863045','0','39.9257195914578','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:07	3553	[DEBUG]	Checking manufacturer
2023-10-13	13:27:07	3553	[DEBUG]	Load a row
2023-10-13	13:27:07	3553	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:07	3553	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:07	3553	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:07	3553	[DEBUG]	Executed store
2023-10-13	13:27:07	3553	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:07	3553	[DEBUG]	Manufacturer exists
2023-10-13	13:27:07	3553	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:07	3553	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:07	3553	[DEBUG]	Executed store
2023-10-13	13:27:07	3553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863045','35')
2023-10-13	13:27:07	3553	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:07	3553	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:07	3553	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863045 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:07	3553	[DEBUG]	Store custom available field
2023-10-13	13:27:07	3553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863045,3,'',1)
2023-10-13	13:27:07	3553	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:07	3553	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:07	3553	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863045 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:07	3553	[DEBUG]	Store custom available field
2023-10-13	13:27:07	3553	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863045,6,'Unitaire',3)
2023-10-13	13:27:07	3553	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:07	3553	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:07	3553	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863044
2023-10-13	13:27:07	3553	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:07	3553	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863044\":[1863044,8,1,\"choisir la taille\"],\"1863045\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863044
2023-10-13	13:27:07	3553	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:07	3553	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863045
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:07	3554	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field taille
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:07	3554	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:07	3554	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:07	3554	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:07	3554	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:07	3554	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:07	3554	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field published
2023-10-13	13:27:07	3554	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:07	3554	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field override
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:07	3554	[DEBUG]	Use field value for field slug
2023-10-13	13:27:07	3554	[DEBUG]	Process line 3554
2023-10-13	13:27:07	3554	[DEBUG]	Load a row
2023-10-13	13:27:07	3554	[DEBUG]	Processing item: A_8514_1
2023-10-13	13:27:07	3554	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:07	3554	[DEBUG]	Processing product tax
2023-10-13	13:27:07	3554	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:07	3554	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:07	3554	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:07	3554	[DEBUG]	Query for Product
2023-10-13	13:27:07	3554	[DEBUG]	Executed store
2023-10-13	13:27:07	3554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8514_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:07	3554	[DEBUG]	Check product language entry
2023-10-13	13:27:07	3554	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863046
2023-10-13	13:27:07	3554	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:07	3554	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8514_1' AND `virtuemart_product_id` != 1863046
2023-10-13	13:27:07	3554	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:07	3554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863046, 'A_8514_1')
2023-10-13	13:27:07	3554	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:07	3554	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-sl-m511-3-vitesses-noire-linkglide-noir' AND `virtuemart_product_id` != 1863046
2023-10-13	13:27:07	3554	[DEBUG]	Query for ProductLang
2023-10-13	13:27:07	3554	[DEBUG]	Executed store
2023-10-13	13:27:07	3554	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : SL-M511',`product_name`='SHIMANO Manette Deore SL-M511 3 vitesses noire Linkglide / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-sl-m511-3-vitesses-noire-linkglide-noir' WHERE `virtuemart_product_id` = '1863046'
2023-10-13	13:27:07	3554	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37296_manette_deore_sl-m511_3_vitesses_noire.jpg
2023-10-13	13:27:07	3554	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:27:07	3554	[DEBUG]	Process image file
2023-10-13	13:27:07	3554	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:27:07	3554	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:07	3554	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37296_manette_deore_sl-m511_3_vitesses_noire.jpg
2023-10-13	13:27:07	3554	[DEBUG]	Full name target: bcprisme/37296_manette_deore_sl-m511_3_vitesses_noire.jpg
2023-10-13	13:27:08	3554	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:08	3554	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37296_manette_deore_sl-m511_3_vitesses_noire.jpg'
2023-10-13	13:27:08	3554	[DEBUG]	Query for Media
2023-10-13	13:27:08	3554	[DEBUG]	Executed store
2023-10-13	13:27:08	3554	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37296_manette_deore_sl-m511_3_vitesses_noire.jpg',`file_url_thumb`='bcprisme/37296_manette_deore_sl-m511_3_vitesses_noire.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '951235'
2023-10-13	13:27:08	3554	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:08	3554	[DEBUG]	Executed store
2023-10-13	13:27:08	3554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863046','951235','1')
2023-10-13	13:27:08	3554	[DEBUG]	Store product image relation
2023-10-13	13:27:08	3554	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:08	3554	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863046 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:08	3554	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:08	3554	[DEBUG]	Executed store
2023-10-13	13:27:08	3554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863046','0','29.619312906221','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:08	3554	[DEBUG]	Checking manufacturer
2023-10-13	13:27:08	3554	[DEBUG]	Load a row
2023-10-13	13:27:08	3554	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:08	3554	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:08	3554	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:08	3554	[DEBUG]	Executed store
2023-10-13	13:27:08	3554	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:08	3554	[DEBUG]	Manufacturer exists
2023-10-13	13:27:08	3554	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:08	3554	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:08	3554	[DEBUG]	Executed store
2023-10-13	13:27:08	3554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863046','26')
2023-10-13	13:27:08	3554	[DEBUG]	Find the custom field ID
2023-10-13	13:27:08	3554	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:08	3554	[DEBUG]	No custom field ID found
2023-10-13	13:27:08	3554	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:08	3554	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:08	3554	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863046 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:08	3554	[DEBUG]	Store custom available field
2023-10-13	13:27:08	3554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863046,3,'0',1)
2023-10-13	13:27:08	3554	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:08	3554	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:08	3554	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863046 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:08	3554	[DEBUG]	Store custom available field
2023-10-13	13:27:08	3554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863046,6,'choisir la taille',3)
2023-10-13	13:27:08	3554	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:08	3554	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:08	3554	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:08	3554	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:08	3554	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863046 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:08	3554	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:08	3554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863046,8,1)
2023-10-13	13:27:08	3554	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:08	3554	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863046\":[1863046,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863046
2023-10-13	13:27:08	3554	[DEBUG]	Checking category
2023-10-13	13:27:08	3554	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:08	3554	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863046
2023-10-13	13:27:08	3554	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:08	3554	[DEBUG]	Executed store
2023-10-13	13:27:08	3554	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863046','7381')
2023-10-13	13:27:08	3554	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:08	3554	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863046 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:08	3554	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:08	3554	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863046
2023-10-13	13:27:08	3555	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:08	3555	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:08	3555	[DEBUG]	Use field value for field taille
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:08	3555	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:08	3555	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:08	3555	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:08	3555	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:08	3555	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:08	3555	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:08	3555	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:08	3555	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:08	3555	[DEBUG]	Use field value for field published
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:08	3555	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field override
2023-10-13	13:27:08	3555	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:08	3555	[DEBUG]	Use field value for field slug
2023-10-13	13:27:08	3555	[DEBUG]	Process line 3555
2023-10-13	13:27:08	3555	[DEBUG]	Load a row
2023-10-13	13:27:08	3555	[DEBUG]	Processing item: 1000000154306
2023-10-13	13:27:08	3555	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:08	3555	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:08	3555	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8514_1'
2023-10-13	13:27:08	3555	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:08	3555	[DEBUG]	Processing product tax
2023-10-13	13:27:08	3555	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:08	3555	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:08	3555	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:08	3555	[DEBUG]	Query for Product
2023-10-13	13:27:08	3555	[DEBUG]	Executed store
2023-10-13	13:27:08	3555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863046','1000000154306','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:08	3555	[DEBUG]	No parent found
2023-10-13	13:27:08	3555	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863046 AND customfield_value = 'stockable'
2023-10-13	13:27:08	3555	[DEBUG]	Check product language entry
2023-10-13	13:27:08	3555	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863047
2023-10-13	13:27:08	3555	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:08	3555	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000154306' AND `virtuemart_product_id` != 1863047
2023-10-13	13:27:08	3555	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:08	3555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863047, '1000000154306')
2023-10-13	13:27:08	3555	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:08	3555	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-sl-m511-3-vitesses-noire-linkglide-noir-unitaire' AND `virtuemart_product_id` != 1863047
2023-10-13	13:27:08	3555	[DEBUG]	Query for ProductLang
2023-10-13	13:27:08	3555	[DEBUG]	Executed store
2023-10-13	13:27:08	3555	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Deore SL-M511 3 vitesses noire Linkglide / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-sl-m511-3-vitesses-noire-linkglide-noir-unitaire' WHERE `virtuemart_product_id` = '1863047'
2023-10-13	13:27:08	3555	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37296_manette_deore_sl-m511_3_vitesses_noire.jpg
2023-10-13	13:27:08	3555	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:27:08	3555	[DEBUG]	Process image file
2023-10-13	13:27:08	3555	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:27:08	3555	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:08	3555	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37296_manette_deore_sl-m511_3_vitesses_noire.jpg
2023-10-13	13:27:08	3555	[DEBUG]	Full name target: bcprisme/37296_manette_deore_sl-m511_3_vitesses_noire.jpg
2023-10-13	13:27:09	3555	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:09	3555	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37296_manette_deore_sl-m511_3_vitesses_noire.jpg'
2023-10-13	13:27:09	3555	[DEBUG]	Query for Media
2023-10-13	13:27:09	3555	[DEBUG]	Executed store
2023-10-13	13:27:09	3555	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37296_manette_deore_sl-m511_3_vitesses_noire.jpg',`file_url_thumb`='bcprisme/37296_manette_deore_sl-m511_3_vitesses_noire.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '951235'
2023-10-13	13:27:09	3555	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:09	3555	[DEBUG]	Executed store
2023-10-13	13:27:09	3555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863047','951235','1')
2023-10-13	13:27:09	3555	[DEBUG]	Store product image relation
2023-10-13	13:27:09	3555	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:09	3555	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863047 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:09	3555	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:09	3555	[DEBUG]	Executed store
2023-10-13	13:27:09	3555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863047','0','29.619312906221','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:09	3555	[DEBUG]	Checking manufacturer
2023-10-13	13:27:09	3555	[DEBUG]	Load a row
2023-10-13	13:27:09	3555	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:09	3555	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:09	3555	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:09	3555	[DEBUG]	Executed store
2023-10-13	13:27:09	3555	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:09	3555	[DEBUG]	Manufacturer exists
2023-10-13	13:27:09	3555	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:09	3555	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:09	3555	[DEBUG]	Executed store
2023-10-13	13:27:09	3555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863047','26')
2023-10-13	13:27:09	3555	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:09	3555	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:09	3555	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863047 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:09	3555	[DEBUG]	Store custom available field
2023-10-13	13:27:09	3555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863047,3,'',1)
2023-10-13	13:27:09	3555	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:09	3555	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:09	3555	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863047 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:09	3555	[DEBUG]	Store custom available field
2023-10-13	13:27:09	3555	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863047,6,'Unitaire',3)
2023-10-13	13:27:09	3555	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:09	3555	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:09	3555	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863046
2023-10-13	13:27:09	3555	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:09	3555	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863046\":[1863046,8,1,\"choisir la taille\"],\"1863047\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863046
2023-10-13	13:27:09	3555	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:09	3555	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863047
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:09	3556	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field taille
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:09	3556	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:09	3556	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:09	3556	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:09	3556	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:09	3556	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:09	3556	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field published
2023-10-13	13:27:09	3556	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:09	3556	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field override
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:09	3556	[DEBUG]	Use field value for field slug
2023-10-13	13:27:09	3556	[DEBUG]	Process line 3556
2023-10-13	13:27:09	3556	[DEBUG]	Load a row
2023-10-13	13:27:09	3556	[DEBUG]	Processing item: A_8615_1
2023-10-13	13:27:09	3556	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:09	3556	[DEBUG]	Processing product tax
2023-10-13	13:27:09	3556	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:09	3556	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:09	3556	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:09	3556	[DEBUG]	Query for Product
2023-10-13	13:27:09	3556	[DEBUG]	Executed store
2023-10-13	13:27:09	3556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8615_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:09	3556	[DEBUG]	Check product language entry
2023-10-13	13:27:09	3556	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863048
2023-10-13	13:27:09	3556	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:09	3556	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8615_1' AND `virtuemart_product_id` != 1863048
2023-10-13	13:27:09	3556	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:09	3556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863048, 'A_8615_1')
2023-10-13	13:27:09	3556	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:09	3556	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-rs35-tourney-revoshift-gauche-3-vitesses-sis-box-noir' AND `virtuemart_product_id` != 1863048
2023-10-13	13:27:09	3556	[DEBUG]	Query for ProductLang
2023-10-13	13:27:09	3556	[DEBUG]	Executed store
2023-10-13	13:27:09	3556	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.67345',`product_name`='SHIMANO Manette SL-RS35 Tourney Revoshift gauche 3-vitesses SIS box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-rs35-tourney-revoshift-gauche-3-vitesses-sis-box-noir' WHERE `virtuemart_product_id` = '1863048'
2023-10-13	13:27:09	3556	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_73655_jpg.jpg
2023-10-13	13:27:09	3556	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:09	3556	[DEBUG]	Process image file
2023-10-13	13:27:09	3556	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:09	3556	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:09	3556	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_73655_jpg.jpg
2023-10-13	13:27:09	3556	[DEBUG]	Full name target: bcprisme/70_73655_jpg.jpg
2023-10-13	13:27:10	3556	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:10	3556	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_73655_jpg.jpg'
2023-10-13	13:27:10	3556	[DEBUG]	Query for Media
2023-10-13	13:27:10	3556	[DEBUG]	Executed store
2023-10-13	13:27:10	3556	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_73655_jpg.jpg',`file_url_thumb`='bcprisme/70_73655_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1002137'
2023-10-13	13:27:10	3556	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:10	3556	[DEBUG]	Executed store
2023-10-13	13:27:10	3556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863048','1002137','1')
2023-10-13	13:27:10	3556	[DEBUG]	Store product image relation
2023-10-13	13:27:10	3556	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:10	3556	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863048 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:10	3556	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:10	3556	[DEBUG]	Executed store
2023-10-13	13:27:10	3556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863048','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:10	3556	[DEBUG]	Checking manufacturer
2023-10-13	13:27:10	3556	[DEBUG]	Load a row
2023-10-13	13:27:10	3556	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:10	3556	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:10	3556	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:10	3556	[DEBUG]	Executed store
2023-10-13	13:27:10	3556	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:10	3556	[DEBUG]	Manufacturer exists
2023-10-13	13:27:10	3556	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:10	3556	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:10	3556	[DEBUG]	Executed store
2023-10-13	13:27:10	3556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863048','26')
2023-10-13	13:27:10	3556	[DEBUG]	Find the custom field ID
2023-10-13	13:27:10	3556	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:10	3556	[DEBUG]	No custom field ID found
2023-10-13	13:27:10	3556	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:10	3556	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:10	3556	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863048 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:10	3556	[DEBUG]	Store custom available field
2023-10-13	13:27:10	3556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863048,3,'0',1)
2023-10-13	13:27:10	3556	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:10	3556	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:10	3556	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863048 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:10	3556	[DEBUG]	Store custom available field
2023-10-13	13:27:10	3556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863048,6,'choisir la taille',3)
2023-10-13	13:27:10	3556	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:10	3556	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:10	3556	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:10	3556	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:10	3556	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863048 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:10	3556	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:10	3556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863048,8,1)
2023-10-13	13:27:10	3556	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:10	3556	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863048\":[1863048,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863048
2023-10-13	13:27:10	3556	[DEBUG]	Checking category
2023-10-13	13:27:10	3556	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:10	3556	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863048
2023-10-13	13:27:10	3556	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:10	3556	[DEBUG]	Executed store
2023-10-13	13:27:10	3556	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863048','7381')
2023-10-13	13:27:10	3556	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:10	3556	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863048 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:10	3556	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:10	3556	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863048
2023-10-13	13:27:10	3557	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:10	3557	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:10	3557	[DEBUG]	Use field value for field taille
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:10	3557	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:10	3557	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:10	3557	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:10	3557	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:10	3557	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:10	3557	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:10	3557	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:10	3557	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:10	3557	[DEBUG]	Use field value for field published
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:10	3557	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field override
2023-10-13	13:27:10	3557	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:10	3557	[DEBUG]	Use field value for field slug
2023-10-13	13:27:10	3557	[DEBUG]	Process line 3557
2023-10-13	13:27:10	3557	[DEBUG]	Load a row
2023-10-13	13:27:10	3557	[DEBUG]	Processing item: 4524667338246
2023-10-13	13:27:10	3557	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:10	3557	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:10	3557	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8615_1'
2023-10-13	13:27:10	3557	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:10	3557	[DEBUG]	Processing product tax
2023-10-13	13:27:10	3557	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:10	3557	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:10	3557	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:10	3557	[DEBUG]	Query for Product
2023-10-13	13:27:10	3557	[DEBUG]	Executed store
2023-10-13	13:27:10	3557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863048','4524667338246','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:10	3557	[DEBUG]	No parent found
2023-10-13	13:27:10	3557	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863048 AND customfield_value = 'stockable'
2023-10-13	13:27:10	3557	[DEBUG]	Check product language entry
2023-10-13	13:27:10	3557	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863049
2023-10-13	13:27:10	3557	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:10	3557	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667338246' AND `virtuemart_product_id` != 1863049
2023-10-13	13:27:10	3557	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:10	3557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863049, '4524667338246')
2023-10-13	13:27:10	3557	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:10	3557	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-rs35-tourney-revoshift-gauche-3-vitesses-sis-box-noir-unitaire' AND `virtuemart_product_id` != 1863049
2023-10-13	13:27:10	3557	[DEBUG]	Query for ProductLang
2023-10-13	13:27:10	3557	[DEBUG]	Executed store
2023-10-13	13:27:10	3557	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette SL-RS35 Tourney Revoshift gauche 3-vitesses SIS box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-rs35-tourney-revoshift-gauche-3-vitesses-sis-box-noir-unitaire' WHERE `virtuemart_product_id` = '1863049'
2023-10-13	13:27:10	3557	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_73655_jpg.jpg
2023-10-13	13:27:10	3557	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:10	3557	[DEBUG]	Process image file
2023-10-13	13:27:10	3557	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:10	3557	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:10	3557	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_73655_jpg.jpg
2023-10-13	13:27:10	3557	[DEBUG]	Full name target: bcprisme/70_73655_jpg.jpg
2023-10-13	13:27:11	3557	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:11	3557	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_73655_jpg.jpg'
2023-10-13	13:27:11	3557	[DEBUG]	Query for Media
2023-10-13	13:27:11	3557	[DEBUG]	Executed store
2023-10-13	13:27:11	3557	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_73655_jpg.jpg',`file_url_thumb`='bcprisme/70_73655_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1002137'
2023-10-13	13:27:11	3557	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:11	3557	[DEBUG]	Executed store
2023-10-13	13:27:11	3557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863049','1002137','1')
2023-10-13	13:27:11	3557	[DEBUG]	Store product image relation
2023-10-13	13:27:11	3557	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:11	3557	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863049 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:11	3557	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:11	3557	[DEBUG]	Executed store
2023-10-13	13:27:11	3557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863049','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:11	3557	[DEBUG]	Checking manufacturer
2023-10-13	13:27:11	3557	[DEBUG]	Load a row
2023-10-13	13:27:11	3557	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:11	3557	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:11	3557	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:11	3557	[DEBUG]	Executed store
2023-10-13	13:27:11	3557	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:11	3557	[DEBUG]	Manufacturer exists
2023-10-13	13:27:11	3557	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:11	3557	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:11	3557	[DEBUG]	Executed store
2023-10-13	13:27:11	3557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863049','26')
2023-10-13	13:27:11	3557	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:11	3557	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:11	3557	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863049 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:11	3557	[DEBUG]	Store custom available field
2023-10-13	13:27:11	3557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863049,3,'',1)
2023-10-13	13:27:11	3557	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:11	3557	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:11	3557	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863049 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:11	3557	[DEBUG]	Store custom available field
2023-10-13	13:27:11	3557	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863049,6,'Unitaire',3)
2023-10-13	13:27:11	3557	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:11	3557	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:11	3557	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863048
2023-10-13	13:27:11	3557	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:11	3557	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863048\":[1863048,8,1,\"choisir la taille\"],\"1863049\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863048
2023-10-13	13:27:11	3557	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:11	3557	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863049
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:11	3558	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field taille
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:11	3558	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:11	3558	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:11	3558	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:11	3558	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:11	3558	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:11	3558	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field published
2023-10-13	13:27:11	3558	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:11	3558	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field override
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:11	3558	[DEBUG]	Use field value for field slug
2023-10-13	13:27:11	3558	[DEBUG]	Process line 3558
2023-10-13	13:27:11	3558	[DEBUG]	Load a row
2023-10-13	13:27:11	3558	[DEBUG]	Processing item: A_8617_16
2023-10-13	13:27:11	3558	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:11	3558	[DEBUG]	Processing product tax
2023-10-13	13:27:11	3558	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:11	3558	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:11	3558	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:11	3558	[DEBUG]	Query for Product
2023-10-13	13:27:11	3558	[DEBUG]	Executed store
2023-10-13	13:27:11	3558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8617_16','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:11	3558	[DEBUG]	Check product language entry
2023-10-13	13:27:11	3558	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863050
2023-10-13	13:27:11	3558	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:11	3558	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8617_16' AND `virtuemart_product_id` != 1863050
2023-10-13	13:27:11	3558	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:11	3558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863050, 'A_8617_16')
2023-10-13	13:27:11	3558	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:11	3558	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-tourney-sl-rs45-droite-8-vitesses-revoshift-gris' AND `virtuemart_product_id` != 1863050
2023-10-13	13:27:11	3558	[DEBUG]	Query for ProductLang
2023-10-13	13:27:11	3558	[DEBUG]	Executed store
2023-10-13	13:27:11	3558	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.58243',`product_name`='SHIMANO Manette Tourney SL-RS45 droite 8-vitesses Revoshift  / Gris',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-tourney-sl-rs45-droite-8-vitesses-revoshift-gris' WHERE `virtuemart_product_id` = '1863050'
2023-10-13	13:27:11	3558	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37458_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revoshift_.jpg
2023-10-13	13:27:11	3558	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:11	3558	[DEBUG]	Process image file
2023-10-13	13:27:11	3558	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:11	3558	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:11	3558	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37458_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revoshift_.jpg
2023-10-13	13:27:11	3558	[DEBUG]	Full name target: bcprisme/37458_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revoshift_.jpg
2023-10-13	13:27:12	3558	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:12	3558	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37458_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revoshift_.jpg'
2023-10-13	13:27:12	3558	[DEBUG]	Query for Media
2023-10-13	13:27:12	3558	[DEBUG]	Executed store
2023-10-13	13:27:12	3558	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37458_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revoshift_.jpg',`file_url_thumb`='bcprisme/37458_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revoshift_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1002139'
2023-10-13	13:27:12	3558	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:12	3558	[DEBUG]	Executed store
2023-10-13	13:27:12	3558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863050','1002139','1')
2023-10-13	13:27:12	3558	[DEBUG]	Store product image relation
2023-10-13	13:27:12	3558	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:12	3558	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863050 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:12	3558	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:12	3558	[DEBUG]	Executed store
2023-10-13	13:27:12	3558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863050','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:12	3558	[DEBUG]	Checking manufacturer
2023-10-13	13:27:12	3558	[DEBUG]	Load a row
2023-10-13	13:27:12	3558	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:12	3558	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:12	3558	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:12	3558	[DEBUG]	Executed store
2023-10-13	13:27:12	3558	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:12	3558	[DEBUG]	Manufacturer exists
2023-10-13	13:27:12	3558	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:12	3558	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:12	3558	[DEBUG]	Executed store
2023-10-13	13:27:12	3558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863050','26')
2023-10-13	13:27:12	3558	[DEBUG]	Find the custom field ID
2023-10-13	13:27:12	3558	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:12	3558	[DEBUG]	No custom field ID found
2023-10-13	13:27:12	3558	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:12	3558	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:12	3558	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863050 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:12	3558	[DEBUG]	Store custom available field
2023-10-13	13:27:12	3558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863050,3,'0',1)
2023-10-13	13:27:12	3558	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:12	3558	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:12	3558	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863050 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:12	3558	[DEBUG]	Store custom available field
2023-10-13	13:27:12	3558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863050,6,'choisir la taille',3)
2023-10-13	13:27:12	3558	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:12	3558	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:12	3558	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:12	3558	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:12	3558	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863050 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:12	3558	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:12	3558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863050,8,1)
2023-10-13	13:27:12	3558	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:12	3558	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863050\":[1863050,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863050
2023-10-13	13:27:12	3558	[DEBUG]	Checking category
2023-10-13	13:27:12	3558	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:12	3558	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863050
2023-10-13	13:27:12	3558	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:12	3558	[DEBUG]	Executed store
2023-10-13	13:27:12	3558	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863050','7381')
2023-10-13	13:27:12	3558	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:12	3558	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863050 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:12	3558	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:12	3558	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863050
2023-10-13	13:27:12	3559	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:12	3559	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:12	3559	[DEBUG]	Use field value for field taille
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:12	3559	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:12	3559	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:12	3559	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:12	3559	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:12	3559	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:12	3559	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:12	3559	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:12	3559	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:12	3559	[DEBUG]	Use field value for field published
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:12	3559	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field override
2023-10-13	13:27:12	3559	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:12	3559	[DEBUG]	Use field value for field slug
2023-10-13	13:27:12	3559	[DEBUG]	Process line 3559
2023-10-13	13:27:12	3559	[DEBUG]	Load a row
2023-10-13	13:27:12	3559	[DEBUG]	Processing item: 1000000157604
2023-10-13	13:27:12	3559	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:12	3559	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:12	3559	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8617_16'
2023-10-13	13:27:12	3559	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:12	3559	[DEBUG]	Processing product tax
2023-10-13	13:27:12	3559	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:12	3559	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:12	3559	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:12	3559	[DEBUG]	Query for Product
2023-10-13	13:27:12	3559	[DEBUG]	Executed store
2023-10-13	13:27:12	3559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863050','1000000157604','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:12	3559	[DEBUG]	No parent found
2023-10-13	13:27:12	3559	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863050 AND customfield_value = 'stockable'
2023-10-13	13:27:12	3559	[DEBUG]	Check product language entry
2023-10-13	13:27:12	3559	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863051
2023-10-13	13:27:12	3559	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:12	3559	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000157604' AND `virtuemart_product_id` != 1863051
2023-10-13	13:27:12	3559	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:12	3559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863051, '1000000157604')
2023-10-13	13:27:12	3559	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:12	3559	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-tourney-sl-rs45-droite-8-vitesses-revoshift-gris-all' AND `virtuemart_product_id` != 1863051
2023-10-13	13:27:12	3559	[DEBUG]	Query for ProductLang
2023-10-13	13:27:12	3559	[DEBUG]	Executed store
2023-10-13	13:27:12	3559	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Tourney SL-RS45 droite 8-vitesses Revoshift  / Gris (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-tourney-sl-rs45-droite-8-vitesses-revoshift-gris-all' WHERE `virtuemart_product_id` = '1863051'
2023-10-13	13:27:12	3559	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37458_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revoshift_.jpg
2023-10-13	13:27:12	3559	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:12	3559	[DEBUG]	Process image file
2023-10-13	13:27:12	3559	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:12	3559	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:12	3559	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37458_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revoshift_.jpg
2023-10-13	13:27:12	3559	[DEBUG]	Full name target: bcprisme/37458_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revoshift_.jpg
2023-10-13	13:27:13	3559	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:13	3559	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37458_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revoshift_.jpg'
2023-10-13	13:27:13	3559	[DEBUG]	Query for Media
2023-10-13	13:27:13	3559	[DEBUG]	Executed store
2023-10-13	13:27:13	3559	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37458_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revoshift_.jpg',`file_url_thumb`='bcprisme/37458_shimano_manette_tourney_sl-rs45_droite_8-vitesses_revoshift_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1002139'
2023-10-13	13:27:13	3559	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:13	3559	[DEBUG]	Executed store
2023-10-13	13:27:13	3559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863051','1002139','1')
2023-10-13	13:27:13	3559	[DEBUG]	Store product image relation
2023-10-13	13:27:13	3559	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:13	3559	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863051 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:13	3559	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:13	3559	[DEBUG]	Executed store
2023-10-13	13:27:13	3559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863051','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:13	3559	[DEBUG]	Checking manufacturer
2023-10-13	13:27:13	3559	[DEBUG]	Load a row
2023-10-13	13:27:13	3559	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:13	3559	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:13	3559	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:13	3559	[DEBUG]	Executed store
2023-10-13	13:27:13	3559	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:13	3559	[DEBUG]	Manufacturer exists
2023-10-13	13:27:13	3559	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:13	3559	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:13	3559	[DEBUG]	Executed store
2023-10-13	13:27:13	3559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863051','26')
2023-10-13	13:27:13	3559	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:13	3559	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:13	3559	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863051 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:13	3559	[DEBUG]	Store custom available field
2023-10-13	13:27:13	3559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863051,3,'',1)
2023-10-13	13:27:13	3559	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:13	3559	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:27:13	3559	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863051 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:13	3559	[DEBUG]	Store custom available field
2023-10-13	13:27:13	3559	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863051,6,'All',3)
2023-10-13	13:27:13	3559	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:13	3559	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:13	3559	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863050
2023-10-13	13:27:13	3559	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:13	3559	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863050\":[1863050,8,1,\"choisir la taille\"],\"1863051\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863050
2023-10-13	13:27:13	3559	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:13	3559	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863051
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:13	3560	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field taille
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:13	3560	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:13	3560	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:13	3560	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:13	3560	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:13	3560	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:13	3560	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field published
2023-10-13	13:27:13	3560	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:13	3560	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field override
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:13	3560	[DEBUG]	Use field value for field slug
2023-10-13	13:27:13	3560	[DEBUG]	Process line 3560
2023-10-13	13:27:13	3560	[DEBUG]	Load a row
2023-10-13	13:27:13	3560	[DEBUG]	Processing item: A_8661_1
2023-10-13	13:27:13	3560	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:13	3560	[DEBUG]	Processing product tax
2023-10-13	13:27:13	3560	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:13	3560	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:13	3560	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:13	3560	[DEBUG]	Query for Product
2023-10-13	13:27:13	3560	[DEBUG]	Executed store
2023-10-13	13:27:13	3560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8661_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:13	3560	[DEBUG]	Check product language entry
2023-10-13	13:27:13	3560	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863052
2023-10-13	13:27:13	3560	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:13	3560	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8661_1' AND `virtuemart_product_id` != 1863052
2023-10-13	13:27:13	3560	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:13	3560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863052, 'A_8661_1')
2023-10-13	13:27:13	3560	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:13	3560	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m315-droite-8-vitesses-rapidfire-a-cable-inox-box-noir' AND `virtuemart_product_id` != 1863052
2023-10-13	13:27:13	3560	[DEBUG]	Query for ProductLang
2023-10-13	13:27:13	3560	[DEBUG]	Executed store
2023-10-13	13:27:13	3560	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.75688',`product_name`='SHIMANO Manette SL-M315 droite 8-vitesses Rapidfire a/câble inox box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m315-droite-8-vitesses-rapidfire-a-cable-inox-box-noir' WHERE `virtuemart_product_id` = '1863052'
2023-10-13	13:27:13	3560	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_75685_p_jpg.jpg
2023-10-13	13:27:13	3560	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:13	3560	[DEBUG]	Process image file
2023-10-13	13:27:13	3560	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:13	3560	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:13	3560	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_75685_p_jpg.jpg
2023-10-13	13:27:13	3560	[DEBUG]	Full name target: bcprisme/70_75685_p_jpg.jpg
2023-10-13	13:27:14	3560	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:14	3560	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_75685_p_jpg.jpg'
2023-10-13	13:27:14	3560	[DEBUG]	Query for Media
2023-10-13	13:27:14	3560	[DEBUG]	Executed store
2023-10-13	13:27:14	3560	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_75685_p_jpg.jpg',`file_url_thumb`='bcprisme/70_75685_p_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041209'
2023-10-13	13:27:14	3560	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:14	3560	[DEBUG]	Executed store
2023-10-13	13:27:14	3560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863052','1041209','1')
2023-10-13	13:27:14	3560	[DEBUG]	Store product image relation
2023-10-13	13:27:14	3560	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:14	3560	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863052 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:14	3560	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:14	3560	[DEBUG]	Executed store
2023-10-13	13:27:14	3560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863052','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:14	3560	[DEBUG]	Checking manufacturer
2023-10-13	13:27:14	3560	[DEBUG]	Load a row
2023-10-13	13:27:14	3560	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:14	3560	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:14	3560	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:14	3560	[DEBUG]	Executed store
2023-10-13	13:27:14	3560	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:14	3560	[DEBUG]	Manufacturer exists
2023-10-13	13:27:14	3560	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:14	3560	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:14	3560	[DEBUG]	Executed store
2023-10-13	13:27:14	3560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863052','26')
2023-10-13	13:27:14	3560	[DEBUG]	Find the custom field ID
2023-10-13	13:27:14	3560	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:14	3560	[DEBUG]	No custom field ID found
2023-10-13	13:27:14	3560	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:14	3560	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:14	3560	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863052 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:14	3560	[DEBUG]	Store custom available field
2023-10-13	13:27:14	3560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863052,3,'0',1)
2023-10-13	13:27:14	3560	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:14	3560	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:14	3560	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863052 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:14	3560	[DEBUG]	Store custom available field
2023-10-13	13:27:14	3560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863052,6,'choisir la taille',3)
2023-10-13	13:27:14	3560	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:14	3560	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:14	3560	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:14	3560	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:14	3560	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863052 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:14	3560	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:14	3560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863052,8,1)
2023-10-13	13:27:14	3560	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:14	3560	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863052\":[1863052,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863052
2023-10-13	13:27:14	3560	[DEBUG]	Checking category
2023-10-13	13:27:14	3560	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:14	3560	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863052
2023-10-13	13:27:14	3560	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:14	3560	[DEBUG]	Executed store
2023-10-13	13:27:14	3560	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863052','7381')
2023-10-13	13:27:14	3560	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:14	3560	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863052 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:14	3560	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:14	3560	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863052
2023-10-13	13:27:14	3561	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:14	3561	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:14	3561	[DEBUG]	Use field value for field taille
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:14	3561	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:14	3561	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:14	3561	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:14	3561	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:14	3561	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:14	3561	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:14	3561	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:14	3561	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:14	3561	[DEBUG]	Use field value for field published
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:14	3561	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field override
2023-10-13	13:27:14	3561	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:14	3561	[DEBUG]	Use field value for field slug
2023-10-13	13:27:14	3561	[DEBUG]	Process line 3561
2023-10-13	13:27:14	3561	[DEBUG]	Load a row
2023-10-13	13:27:14	3561	[DEBUG]	Processing item: 4550170447533
2023-10-13	13:27:14	3561	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:14	3561	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:14	3561	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8661_1'
2023-10-13	13:27:14	3561	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:14	3561	[DEBUG]	Processing product tax
2023-10-13	13:27:14	3561	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:14	3561	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:14	3561	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:14	3561	[DEBUG]	Query for Product
2023-10-13	13:27:14	3561	[DEBUG]	Executed store
2023-10-13	13:27:14	3561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863052','4550170447533','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:14	3561	[DEBUG]	No parent found
2023-10-13	13:27:14	3561	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863052 AND customfield_value = 'stockable'
2023-10-13	13:27:14	3561	[DEBUG]	Check product language entry
2023-10-13	13:27:14	3561	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863053
2023-10-13	13:27:14	3561	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:14	3561	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170447533' AND `virtuemart_product_id` != 1863053
2023-10-13	13:27:14	3561	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:14	3561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863053, '4550170447533')
2023-10-13	13:27:14	3561	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:14	3561	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m315-droite-8-vitesses-rapidfire-a-cable-inox-box-noir-unitaire' AND `virtuemart_product_id` != 1863053
2023-10-13	13:27:14	3561	[DEBUG]	Query for ProductLang
2023-10-13	13:27:14	3561	[DEBUG]	Executed store
2023-10-13	13:27:14	3561	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette SL-M315 droite 8-vitesses Rapidfire a/câble inox box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m315-droite-8-vitesses-rapidfire-a-cable-inox-box-noir-unitaire' WHERE `virtuemart_product_id` = '1863053'
2023-10-13	13:27:14	3561	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_75685_p_jpg.jpg
2023-10-13	13:27:14	3561	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:14	3561	[DEBUG]	Process image file
2023-10-13	13:27:14	3561	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:14	3561	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:14	3561	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_75685_p_jpg.jpg
2023-10-13	13:27:14	3561	[DEBUG]	Full name target: bcprisme/70_75685_p_jpg.jpg
2023-10-13	13:27:15	3561	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:15	3561	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_75685_p_jpg.jpg'
2023-10-13	13:27:15	3561	[DEBUG]	Query for Media
2023-10-13	13:27:15	3561	[DEBUG]	Executed store
2023-10-13	13:27:15	3561	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_75685_p_jpg.jpg',`file_url_thumb`='bcprisme/70_75685_p_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041209'
2023-10-13	13:27:15	3561	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:15	3561	[DEBUG]	Executed store
2023-10-13	13:27:15	3561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863053','1041209','1')
2023-10-13	13:27:15	3561	[DEBUG]	Store product image relation
2023-10-13	13:27:15	3561	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:15	3561	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863053 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:15	3561	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:15	3561	[DEBUG]	Executed store
2023-10-13	13:27:15	3561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863053','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:15	3561	[DEBUG]	Checking manufacturer
2023-10-13	13:27:15	3561	[DEBUG]	Load a row
2023-10-13	13:27:15	3561	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:15	3561	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:15	3561	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:15	3561	[DEBUG]	Executed store
2023-10-13	13:27:15	3561	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:15	3561	[DEBUG]	Manufacturer exists
2023-10-13	13:27:15	3561	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:15	3561	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:15	3561	[DEBUG]	Executed store
2023-10-13	13:27:15	3561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863053','26')
2023-10-13	13:27:15	3561	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:15	3561	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:15	3561	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863053 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:15	3561	[DEBUG]	Store custom available field
2023-10-13	13:27:15	3561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863053,3,'',1)
2023-10-13	13:27:15	3561	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:15	3561	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:15	3561	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863053 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:15	3561	[DEBUG]	Store custom available field
2023-10-13	13:27:15	3561	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863053,6,'Unitaire',3)
2023-10-13	13:27:15	3561	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:15	3561	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:15	3561	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863052
2023-10-13	13:27:15	3561	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:15	3561	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863052\":[1863052,8,1,\"choisir la taille\"],\"1863053\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863052
2023-10-13	13:27:15	3561	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:15	3561	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863053
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:15	3562	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field taille
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:15	3562	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:15	3562	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:15	3562	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:15	3562	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:15	3562	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:15	3562	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field published
2023-10-13	13:27:15	3562	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:15	3562	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field override
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:15	3562	[DEBUG]	Use field value for field slug
2023-10-13	13:27:15	3562	[DEBUG]	Process line 3562
2023-10-13	13:27:15	3562	[DEBUG]	Load a row
2023-10-13	13:27:15	3562	[DEBUG]	Processing item: A_8685_1
2023-10-13	13:27:15	3562	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:15	3562	[DEBUG]	Processing product tax
2023-10-13	13:27:15	3562	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:15	3562	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:15	3562	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:15	3562	[DEBUG]	Query for Product
2023-10-13	13:27:15	3562	[DEBUG]	Executed store
2023-10-13	13:27:15	3562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8685_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:15	3562	[DEBUG]	Check product language entry
2023-10-13	13:27:15	3562	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863054
2023-10-13	13:27:15	3562	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:15	3562	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8685_1' AND `virtuemart_product_id` != 1863054
2023-10-13	13:27:15	3562	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:15	3562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863054, 'A_8685_1')
2023-10-13	13:27:15	3562	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:15	3562	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-slx-sl-m7100-droite-12-vitesses-rapidfire-box-noir' AND `virtuemart_product_id` != 1863054
2023-10-13	13:27:15	3562	[DEBUG]	Query for ProductLang
2023-10-13	13:27:15	3562	[DEBUG]	Executed store
2023-10-13	13:27:15	3562	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.75203',`product_name`='SHIMANO Manette SLX SL-M7100 droite 12-vitesses Rapidfire box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-slx-sl-m7100-droite-12-vitesses-rapidfire-box-noir' WHERE `virtuemart_product_id` = '1863054'
2023-10-13	13:27:15	3562	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_75205_03_jpg.jpg
2023-10-13	13:27:15	3562	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:15	3562	[DEBUG]	Process image file
2023-10-13	13:27:15	3562	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:15	3562	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:15	3562	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_75205_03_jpg.jpg
2023-10-13	13:27:15	3562	[DEBUG]	Full name target: bcprisme/70_75205_03_jpg.jpg
2023-10-13	13:27:16	3562	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:16	3562	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_75205_03_jpg.jpg'
2023-10-13	13:27:16	3562	[DEBUG]	Query for Media
2023-10-13	13:27:16	3562	[DEBUG]	Executed store
2023-10-13	13:27:16	3562	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_75205_03_jpg.jpg',`file_url_thumb`='bcprisme/70_75205_03_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041211'
2023-10-13	13:27:16	3562	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:16	3562	[DEBUG]	Executed store
2023-10-13	13:27:16	3562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863054','1041211','1')
2023-10-13	13:27:16	3562	[DEBUG]	Store product image relation
2023-10-13	13:27:16	3562	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:16	3562	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863054 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:16	3562	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:16	3562	[DEBUG]	Executed store
2023-10-13	13:27:16	3562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863054','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:16	3562	[DEBUG]	Checking manufacturer
2023-10-13	13:27:16	3562	[DEBUG]	Load a row
2023-10-13	13:27:16	3562	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:16	3562	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:16	3562	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:16	3562	[DEBUG]	Executed store
2023-10-13	13:27:16	3562	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:16	3562	[DEBUG]	Manufacturer exists
2023-10-13	13:27:16	3562	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:16	3562	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:16	3562	[DEBUG]	Executed store
2023-10-13	13:27:16	3562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863054','26')
2023-10-13	13:27:17	3562	[DEBUG]	Find the custom field ID
2023-10-13	13:27:17	3562	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:17	3562	[DEBUG]	No custom field ID found
2023-10-13	13:27:17	3562	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:17	3562	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:17	3562	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863054 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:17	3562	[DEBUG]	Store custom available field
2023-10-13	13:27:17	3562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863054,3,'0',1)
2023-10-13	13:27:17	3562	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:17	3562	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:17	3562	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863054 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:17	3562	[DEBUG]	Store custom available field
2023-10-13	13:27:17	3562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863054,6,'choisir la taille',3)
2023-10-13	13:27:17	3562	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:17	3562	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:17	3562	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:17	3562	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:17	3562	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863054 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:17	3562	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:17	3562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863054,8,1)
2023-10-13	13:27:17	3562	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:17	3562	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863054\":[1863054,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863054
2023-10-13	13:27:17	3562	[DEBUG]	Checking category
2023-10-13	13:27:17	3562	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:17	3562	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863054
2023-10-13	13:27:17	3562	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:17	3562	[DEBUG]	Executed store
2023-10-13	13:27:17	3562	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863054','7381')
2023-10-13	13:27:17	3562	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:17	3562	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863054 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:17	3562	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:17	3562	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863054
2023-10-13	13:27:17	3563	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:17	3563	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:17	3563	[DEBUG]	Use field value for field taille
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:17	3563	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:17	3563	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:17	3563	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:17	3563	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:17	3563	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:17	3563	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:17	3563	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:17	3563	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:17	3563	[DEBUG]	Use field value for field published
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:17	3563	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field override
2023-10-13	13:27:17	3563	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:17	3563	[DEBUG]	Use field value for field slug
2023-10-13	13:27:17	3563	[DEBUG]	Process line 3563
2023-10-13	13:27:17	3563	[DEBUG]	Load a row
2023-10-13	13:27:17	3563	[DEBUG]	Processing item: 4550170447892
2023-10-13	13:27:17	3563	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:17	3563	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:17	3563	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8685_1'
2023-10-13	13:27:17	3563	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:17	3563	[DEBUG]	Processing product tax
2023-10-13	13:27:17	3563	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:17	3563	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:17	3563	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:17	3563	[DEBUG]	Query for Product
2023-10-13	13:27:17	3563	[DEBUG]	Executed store
2023-10-13	13:27:17	3563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863054','4550170447892','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:17	3563	[DEBUG]	No parent found
2023-10-13	13:27:17	3563	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863054 AND customfield_value = 'stockable'
2023-10-13	13:27:17	3563	[DEBUG]	Check product language entry
2023-10-13	13:27:17	3563	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863055
2023-10-13	13:27:17	3563	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:17	3563	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170447892' AND `virtuemart_product_id` != 1863055
2023-10-13	13:27:17	3563	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:17	3563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863055, '4550170447892')
2023-10-13	13:27:17	3563	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:17	3563	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-slx-sl-m7100-droite-12-vitesses-rapidfire-box-noir-unitaire' AND `virtuemart_product_id` != 1863055
2023-10-13	13:27:17	3563	[DEBUG]	Query for ProductLang
2023-10-13	13:27:17	3563	[DEBUG]	Executed store
2023-10-13	13:27:17	3563	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette SLX SL-M7100 droite 12-vitesses Rapidfire box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-slx-sl-m7100-droite-12-vitesses-rapidfire-box-noir-unitaire' WHERE `virtuemart_product_id` = '1863055'
2023-10-13	13:27:17	3563	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_75205_03_jpg.jpg
2023-10-13	13:27:17	3563	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:17	3563	[DEBUG]	Process image file
2023-10-13	13:27:17	3563	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:17	3563	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:17	3563	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_75205_03_jpg.jpg
2023-10-13	13:27:17	3563	[DEBUG]	Full name target: bcprisme/70_75205_03_jpg.jpg
2023-10-13	13:27:18	3563	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:18	3563	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_75205_03_jpg.jpg'
2023-10-13	13:27:18	3563	[DEBUG]	Query for Media
2023-10-13	13:27:18	3563	[DEBUG]	Executed store
2023-10-13	13:27:18	3563	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_75205_03_jpg.jpg',`file_url_thumb`='bcprisme/70_75205_03_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041211'
2023-10-13	13:27:18	3563	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:18	3563	[DEBUG]	Executed store
2023-10-13	13:27:18	3563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863055','1041211','1')
2023-10-13	13:27:18	3563	[DEBUG]	Store product image relation
2023-10-13	13:27:18	3563	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:18	3563	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863055 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:18	3563	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:18	3563	[DEBUG]	Executed store
2023-10-13	13:27:18	3563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863055','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:18	3563	[DEBUG]	Checking manufacturer
2023-10-13	13:27:18	3563	[DEBUG]	Load a row
2023-10-13	13:27:18	3563	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:18	3563	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:18	3563	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:18	3563	[DEBUG]	Executed store
2023-10-13	13:27:18	3563	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:18	3563	[DEBUG]	Manufacturer exists
2023-10-13	13:27:18	3563	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:18	3563	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:18	3563	[DEBUG]	Executed store
2023-10-13	13:27:18	3563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863055','26')
2023-10-13	13:27:18	3563	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:18	3563	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:18	3563	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863055 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:18	3563	[DEBUG]	Store custom available field
2023-10-13	13:27:18	3563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863055,3,'',1)
2023-10-13	13:27:18	3563	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:18	3563	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:18	3563	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863055 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:18	3563	[DEBUG]	Store custom available field
2023-10-13	13:27:18	3563	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863055,6,'Unitaire',3)
2023-10-13	13:27:18	3563	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:18	3563	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:18	3563	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863054
2023-10-13	13:27:18	3563	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:18	3563	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863054\":[1863054,8,1,\"choisir la taille\"],\"1863055\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863054
2023-10-13	13:27:18	3563	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:18	3563	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863055
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:18	3564	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field taille
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:18	3564	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:18	3564	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:18	3564	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:18	3564	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:18	3564	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:18	3564	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field published
2023-10-13	13:27:18	3564	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:18	3564	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field override
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:18	3564	[DEBUG]	Use field value for field slug
2023-10-13	13:27:18	3564	[DEBUG]	Process line 3564
2023-10-13	13:27:18	3564	[DEBUG]	Load a row
2023-10-13	13:27:18	3564	[DEBUG]	Processing item: A_8784_1
2023-10-13	13:27:18	3564	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:18	3564	[DEBUG]	Processing product tax
2023-10-13	13:27:18	3564	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:18	3564	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:18	3564	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:18	3564	[DEBUG]	Query for Product
2023-10-13	13:27:18	3564	[DEBUG]	Executed store
2023-10-13	13:27:18	3564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8784_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:18	3564	[DEBUG]	Check product language entry
2023-10-13	13:27:18	3564	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863056
2023-10-13	13:27:18	3564	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:18	3564	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8784_1' AND `virtuemart_product_id` != 1863056
2023-10-13	13:27:18	3564	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:18	3564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863056, 'A_8784_1')
2023-10-13	13:27:18	3564	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:18	3564	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-manette-sram-force-hydraulique-avant-etap-axs-12-vitesses-gauche-950-mm-w-flat-mount-noir' AND `virtuemart_product_id` != 1863056
2023-10-13	13:27:18	3564	[DEBUG]	Query for ProductLang
2023-10-13	13:27:18	3564	[DEBUG]	Executed store
2023-10-13	13:27:18	3564	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7556F',`product_name`='SRAM Manette Sram Force Hydraulique avant eTap AXS 12 vitesses, gauche, 950 mm w/Flat Mount / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-manette-sram-force-hydraulique-avant-etap-axs-12-vitesses-gauche-950-mm-w-flat-mount-noir' WHERE `virtuemart_product_id` = '1863056'
2023-10-13	13:27:18	3564	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37763_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_gauche,_950_mm_w-flat_mount.jpg
2023-10-13	13:27:18	3564	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:18	3564	[DEBUG]	Process image file
2023-10-13	13:27:18	3564	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:18	3564	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:18	3564	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37763_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_gauche,_950_mm_w-flat_mount.jpg
2023-10-13	13:27:18	3564	[DEBUG]	Full name target: bcprisme/37763_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_gauche,_950_mm_w-flat_mount.jpg
2023-10-13	13:27:19	3564	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:19	3564	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37763_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_gauche,_950_mm_w-flat_mount.jpg'
2023-10-13	13:27:19	3564	[DEBUG]	Query for Media
2023-10-13	13:27:19	3564	[DEBUG]	Executed store
2023-10-13	13:27:19	3564	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37763_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_gauche,_950_mm_w-flat_mount.jpg',`file_url_thumb`='bcprisme/37763_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_gauche,_950_mm_w-flat_mount.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1091737'
2023-10-13	13:27:19	3564	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:19	3564	[DEBUG]	Executed store
2023-10-13	13:27:19	3564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863056','1091737','1')
2023-10-13	13:27:19	3564	[DEBUG]	Store product image relation
2023-10-13	13:27:19	3564	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:19	3564	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863056 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:19	3564	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:19	3564	[DEBUG]	Executed store
2023-10-13	13:27:19	3564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863056','0','259.888579387187','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:19	3564	[DEBUG]	Checking manufacturer
2023-10-13	13:27:19	3564	[DEBUG]	Load a row
2023-10-13	13:27:19	3564	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:19	3564	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:19	3564	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:19	3564	[DEBUG]	Executed store
2023-10-13	13:27:19	3564	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:19	3564	[DEBUG]	Manufacturer exists
2023-10-13	13:27:19	3564	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:19	3564	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:19	3564	[DEBUG]	Executed store
2023-10-13	13:27:19	3564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863056','35')
2023-10-13	13:27:19	3564	[DEBUG]	Find the custom field ID
2023-10-13	13:27:19	3564	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:19	3564	[DEBUG]	No custom field ID found
2023-10-13	13:27:19	3564	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:19	3564	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:19	3564	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863056 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:19	3564	[DEBUG]	Store custom available field
2023-10-13	13:27:19	3564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863056,3,'0',1)
2023-10-13	13:27:19	3564	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:19	3564	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:19	3564	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863056 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:19	3564	[DEBUG]	Store custom available field
2023-10-13	13:27:19	3564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863056,6,'choisir la taille',3)
2023-10-13	13:27:19	3564	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:19	3564	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:19	3564	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:19	3564	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:19	3564	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863056 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:19	3564	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:19	3564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863056,8,1)
2023-10-13	13:27:19	3564	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:19	3564	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863056\":[1863056,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863056
2023-10-13	13:27:19	3564	[DEBUG]	Checking category
2023-10-13	13:27:19	3564	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:19	3564	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863056
2023-10-13	13:27:19	3564	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:19	3564	[DEBUG]	Executed store
2023-10-13	13:27:19	3564	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863056','7381')
2023-10-13	13:27:19	3564	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:19	3564	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863056 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:19	3564	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:19	3564	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863056
2023-10-13	13:27:19	3565	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:19	3565	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:19	3565	[DEBUG]	Use field value for field taille
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:19	3565	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:19	3565	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:19	3565	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:19	3565	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:19	3565	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:19	3565	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:19	3565	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:19	3565	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:19	3565	[DEBUG]	Use field value for field published
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:19	3565	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field override
2023-10-13	13:27:19	3565	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:19	3565	[DEBUG]	Use field value for field slug
2023-10-13	13:27:19	3565	[DEBUG]	Process line 3565
2023-10-13	13:27:19	3565	[DEBUG]	Load a row
2023-10-13	13:27:19	3565	[DEBUG]	Processing item: 1550177078
2023-10-13	13:27:19	3565	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:19	3565	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:19	3565	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8784_1'
2023-10-13	13:27:19	3565	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:19	3565	[DEBUG]	Processing product tax
2023-10-13	13:27:19	3565	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:19	3565	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:19	3565	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:19	3565	[DEBUG]	Query for Product
2023-10-13	13:27:19	3565	[DEBUG]	Executed store
2023-10-13	13:27:19	3565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863056','1550177078','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:19	3565	[DEBUG]	No parent found
2023-10-13	13:27:19	3565	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863056 AND customfield_value = 'stockable'
2023-10-13	13:27:19	3565	[DEBUG]	Check product language entry
2023-10-13	13:27:19	3565	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863057
2023-10-13	13:27:19	3565	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:19	3565	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1550177078' AND `virtuemart_product_id` != 1863057
2023-10-13	13:27:19	3565	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:19	3565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863057, '1550177078')
2023-10-13	13:27:19	3565	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:19	3565	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-manette-sram-force-hydraulique-avant-etap-axs-12-vitesses-gauche-950-mm-w-flat-mount-noir-unitaire' AND `virtuemart_product_id` != 1863057
2023-10-13	13:27:19	3565	[DEBUG]	Query for ProductLang
2023-10-13	13:27:19	3565	[DEBUG]	Executed store
2023-10-13	13:27:19	3565	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Manette Sram Force Hydraulique avant eTap AXS 12 vitesses, gauche, 950 mm w/Flat Mount / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-manette-sram-force-hydraulique-avant-etap-axs-12-vitesses-gauche-950-mm-w-flat-mount-noir-unitaire' WHERE `virtuemart_product_id` = '1863057'
2023-10-13	13:27:19	3565	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37763_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_gauche,_950_mm_w-flat_mount.jpg
2023-10-13	13:27:19	3565	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:19	3565	[DEBUG]	Process image file
2023-10-13	13:27:19	3565	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:19	3565	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:19	3565	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37763_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_gauche,_950_mm_w-flat_mount.jpg
2023-10-13	13:27:19	3565	[DEBUG]	Full name target: bcprisme/37763_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_gauche,_950_mm_w-flat_mount.jpg
2023-10-13	13:27:20	3565	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:20	3565	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37763_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_gauche,_950_mm_w-flat_mount.jpg'
2023-10-13	13:27:20	3565	[DEBUG]	Query for Media
2023-10-13	13:27:20	3565	[DEBUG]	Executed store
2023-10-13	13:27:20	3565	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37763_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_gauche,_950_mm_w-flat_mount.jpg',`file_url_thumb`='bcprisme/37763_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_gauche,_950_mm_w-flat_mount.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1091737'
2023-10-13	13:27:20	3565	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:20	3565	[DEBUG]	Executed store
2023-10-13	13:27:20	3565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863057','1091737','1')
2023-10-13	13:27:20	3565	[DEBUG]	Store product image relation
2023-10-13	13:27:20	3565	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:20	3565	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863057 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:20	3565	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:20	3565	[DEBUG]	Executed store
2023-10-13	13:27:20	3565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863057','0','259.888579387187','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:20	3565	[DEBUG]	Checking manufacturer
2023-10-13	13:27:20	3565	[DEBUG]	Load a row
2023-10-13	13:27:20	3565	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:20	3565	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:20	3565	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:20	3565	[DEBUG]	Executed store
2023-10-13	13:27:20	3565	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:20	3565	[DEBUG]	Manufacturer exists
2023-10-13	13:27:20	3565	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:20	3565	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:20	3565	[DEBUG]	Executed store
2023-10-13	13:27:20	3565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863057','35')
2023-10-13	13:27:20	3565	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:20	3565	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:20	3565	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863057 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:20	3565	[DEBUG]	Store custom available field
2023-10-13	13:27:20	3565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863057,3,'',1)
2023-10-13	13:27:20	3565	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:20	3565	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:20	3565	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863057 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:20	3565	[DEBUG]	Store custom available field
2023-10-13	13:27:20	3565	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863057,6,'Unitaire',3)
2023-10-13	13:27:20	3565	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:20	3565	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:20	3565	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863056
2023-10-13	13:27:20	3565	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:20	3565	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863056\":[1863056,8,1,\"choisir la taille\"],\"1863057\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863056
2023-10-13	13:27:20	3565	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:20	3565	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863057
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:20	3566	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field taille
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:20	3566	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:20	3566	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:20	3566	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:20	3566	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:20	3566	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:20	3566	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field published
2023-10-13	13:27:20	3566	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:20	3566	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field override
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:20	3566	[DEBUG]	Use field value for field slug
2023-10-13	13:27:20	3566	[DEBUG]	Process line 3566
2023-10-13	13:27:20	3566	[DEBUG]	Load a row
2023-10-13	13:27:20	3566	[DEBUG]	Processing item: A_8785_1
2023-10-13	13:27:20	3566	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:20	3566	[DEBUG]	Processing product tax
2023-10-13	13:27:20	3566	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:20	3566	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:20	3566	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:20	3566	[DEBUG]	Query for Product
2023-10-13	13:27:20	3566	[DEBUG]	Executed store
2023-10-13	13:27:20	3566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8785_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:20	3566	[DEBUG]	Check product language entry
2023-10-13	13:27:20	3566	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863058
2023-10-13	13:27:20	3566	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:20	3566	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8785_1' AND `virtuemart_product_id` != 1863058
2023-10-13	13:27:20	3566	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:20	3566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863058, 'A_8785_1')
2023-10-13	13:27:20	3566	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:20	3566	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-manette-sram-force-hydraulique-avant-etap-axs-12-vitesses-droite-1800-mm-w-flat-mount-noir' AND `virtuemart_product_id` != 1863058
2023-10-13	13:27:20	3566	[DEBUG]	Query for ProductLang
2023-10-13	13:27:20	3566	[DEBUG]	Executed store
2023-10-13	13:27:20	3566	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7556E',`product_name`='SRAM Manette Sram Force Hydraulique avant eTap AXS 12 vitesses, droite, 1800 mm w/Flat Mount  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-manette-sram-force-hydraulique-avant-etap-axs-12-vitesses-droite-1800-mm-w-flat-mount-noir' WHERE `virtuemart_product_id` = '1863058'
2023-10-13	13:27:20	3566	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37764_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_droite,_1800_mm_w-flat_mount_.jpg
2023-10-13	13:27:20	3566	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:20	3566	[DEBUG]	Process image file
2023-10-13	13:27:20	3566	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:20	3566	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:20	3566	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37764_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_droite,_1800_mm_w-flat_mount_.jpg
2023-10-13	13:27:20	3566	[DEBUG]	Full name target: bcprisme/37764_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_droite,_1800_mm_w-flat_mount_.jpg
2023-10-13	13:27:21	3566	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:21	3566	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37764_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_droite,_1800_mm_w-flat_mount_.jpg'
2023-10-13	13:27:21	3566	[DEBUG]	Query for Media
2023-10-13	13:27:21	3566	[DEBUG]	Executed store
2023-10-13	13:27:21	3566	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37764_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_droite,_1800_mm_w-flat_mount_.jpg',`file_url_thumb`='bcprisme/37764_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_droite,_1800_mm_w-flat_mount_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1091739'
2023-10-13	13:27:21	3566	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:21	3566	[DEBUG]	Executed store
2023-10-13	13:27:21	3566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863058','1091739','1')
2023-10-13	13:27:21	3566	[DEBUG]	Store product image relation
2023-10-13	13:27:21	3566	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:21	3566	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863058 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:21	3566	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:21	3566	[DEBUG]	Executed store
2023-10-13	13:27:21	3566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863058','0','259.888579387187','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:21	3566	[DEBUG]	Checking manufacturer
2023-10-13	13:27:21	3566	[DEBUG]	Load a row
2023-10-13	13:27:21	3566	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:21	3566	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:21	3566	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:21	3566	[DEBUG]	Executed store
2023-10-13	13:27:21	3566	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:21	3566	[DEBUG]	Manufacturer exists
2023-10-13	13:27:21	3566	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:21	3566	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:21	3566	[DEBUG]	Executed store
2023-10-13	13:27:21	3566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863058','35')
2023-10-13	13:27:21	3566	[DEBUG]	Find the custom field ID
2023-10-13	13:27:21	3566	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:21	3566	[DEBUG]	No custom field ID found
2023-10-13	13:27:21	3566	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:21	3566	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:21	3566	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863058 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:21	3566	[DEBUG]	Store custom available field
2023-10-13	13:27:21	3566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863058,3,'0',1)
2023-10-13	13:27:21	3566	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:21	3566	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:21	3566	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863058 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:21	3566	[DEBUG]	Store custom available field
2023-10-13	13:27:21	3566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863058,6,'choisir la taille',3)
2023-10-13	13:27:21	3566	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:21	3566	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:21	3566	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:21	3566	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:21	3566	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863058 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:21	3566	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:21	3566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863058,8,1)
2023-10-13	13:27:21	3566	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:21	3566	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863058\":[1863058,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863058
2023-10-13	13:27:21	3566	[DEBUG]	Checking category
2023-10-13	13:27:21	3566	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:21	3566	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863058
2023-10-13	13:27:21	3566	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:21	3566	[DEBUG]	Executed store
2023-10-13	13:27:21	3566	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863058','7381')
2023-10-13	13:27:21	3566	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:21	3566	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863058 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:21	3566	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:21	3566	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863058
2023-10-13	13:27:21	3567	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:21	3567	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:21	3567	[DEBUG]	Use field value for field taille
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:21	3567	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:21	3567	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:21	3567	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:21	3567	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:21	3567	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:21	3567	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:21	3567	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:21	3567	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:21	3567	[DEBUG]	Use field value for field published
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:21	3567	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field override
2023-10-13	13:27:21	3567	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:21	3567	[DEBUG]	Use field value for field slug
2023-10-13	13:27:21	3567	[DEBUG]	Process line 3567
2023-10-13	13:27:21	3567	[DEBUG]	Load a row
2023-10-13	13:27:21	3567	[DEBUG]	Processing item: 1102267731
2023-10-13	13:27:21	3567	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:21	3567	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:21	3567	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8785_1'
2023-10-13	13:27:21	3567	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:21	3567	[DEBUG]	Processing product tax
2023-10-13	13:27:21	3567	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:21	3567	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:21	3567	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:21	3567	[DEBUG]	Query for Product
2023-10-13	13:27:21	3567	[DEBUG]	Executed store
2023-10-13	13:27:21	3567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863058','1102267731','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:21	3567	[DEBUG]	No parent found
2023-10-13	13:27:21	3567	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863058 AND customfield_value = 'stockable'
2023-10-13	13:27:21	3567	[DEBUG]	Check product language entry
2023-10-13	13:27:21	3567	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863059
2023-10-13	13:27:21	3567	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:21	3567	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1102267731' AND `virtuemart_product_id` != 1863059
2023-10-13	13:27:21	3567	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:21	3567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863059, '1102267731')
2023-10-13	13:27:21	3567	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:21	3567	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-manette-sram-force-hydraulique-avant-etap-axs-12-vitesses-droite-1800-mm-w-flat-mount-noir-unitaire' AND `virtuemart_product_id` != 1863059
2023-10-13	13:27:21	3567	[DEBUG]	Query for ProductLang
2023-10-13	13:27:21	3567	[DEBUG]	Executed store
2023-10-13	13:27:21	3567	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Manette Sram Force Hydraulique avant eTap AXS 12 vitesses, droite, 1800 mm w/Flat Mount  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-manette-sram-force-hydraulique-avant-etap-axs-12-vitesses-droite-1800-mm-w-flat-mount-noir-unitaire' WHERE `virtuemart_product_id` = '1863059'
2023-10-13	13:27:21	3567	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37764_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_droite,_1800_mm_w-flat_mount_.jpg
2023-10-13	13:27:21	3567	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:21	3567	[DEBUG]	Process image file
2023-10-13	13:27:21	3567	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:21	3567	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:21	3567	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37764_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_droite,_1800_mm_w-flat_mount_.jpg
2023-10-13	13:27:21	3567	[DEBUG]	Full name target: bcprisme/37764_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_droite,_1800_mm_w-flat_mount_.jpg
2023-10-13	13:27:22	3567	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:22	3567	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37764_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_droite,_1800_mm_w-flat_mount_.jpg'
2023-10-13	13:27:22	3567	[DEBUG]	Query for Media
2023-10-13	13:27:22	3567	[DEBUG]	Executed store
2023-10-13	13:27:22	3567	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37764_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_droite,_1800_mm_w-flat_mount_.jpg',`file_url_thumb`='bcprisme/37764_manette_sram_force_hydraulique_avant_etap_axs_12_vitesses,_droite,_1800_mm_w-flat_mount_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1091739'
2023-10-13	13:27:22	3567	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:22	3567	[DEBUG]	Executed store
2023-10-13	13:27:22	3567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863059','1091739','1')
2023-10-13	13:27:22	3567	[DEBUG]	Store product image relation
2023-10-13	13:27:22	3567	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:22	3567	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863059 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:22	3567	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:22	3567	[DEBUG]	Executed store
2023-10-13	13:27:22	3567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863059','0','259.888579387187','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:22	3567	[DEBUG]	Checking manufacturer
2023-10-13	13:27:22	3567	[DEBUG]	Load a row
2023-10-13	13:27:22	3567	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:22	3567	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:22	3567	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:22	3567	[DEBUG]	Executed store
2023-10-13	13:27:22	3567	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:22	3567	[DEBUG]	Manufacturer exists
2023-10-13	13:27:22	3567	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:22	3567	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:22	3567	[DEBUG]	Executed store
2023-10-13	13:27:22	3567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863059','35')
2023-10-13	13:27:22	3567	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:22	3567	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:22	3567	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863059 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:22	3567	[DEBUG]	Store custom available field
2023-10-13	13:27:22	3567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863059,3,'',1)
2023-10-13	13:27:22	3567	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:22	3567	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:22	3567	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863059 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:22	3567	[DEBUG]	Store custom available field
2023-10-13	13:27:22	3567	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863059,6,'Unitaire',3)
2023-10-13	13:27:22	3567	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:22	3567	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:22	3567	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863058
2023-10-13	13:27:22	3567	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:22	3567	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863058\":[1863058,8,1,\"choisir la taille\"],\"1863059\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863058
2023-10-13	13:27:22	3567	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:22	3567	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863059
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:22	3568	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field taille
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:22	3568	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:22	3568	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:22	3568	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:22	3568	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:22	3568	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:22	3568	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field published
2023-10-13	13:27:22	3568	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:22	3568	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field override
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:22	3568	[DEBUG]	Use field value for field slug
2023-10-13	13:27:22	3568	[DEBUG]	Process line 3568
2023-10-13	13:27:22	3568	[DEBUG]	Load a row
2023-10-13	13:27:22	3568	[DEBUG]	Processing item: A_8881_1
2023-10-13	13:27:22	3568	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:22	3568	[DEBUG]	Processing product tax
2023-10-13	13:27:22	3568	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:22	3568	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:22	3568	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:22	3568	[DEBUG]	Query for Product
2023-10-13	13:27:22	3568	[DEBUG]	Executed store
2023-10-13	13:27:22	3568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8881_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:22	3568	[DEBUG]	Check product language entry
2023-10-13	13:27:22	3568	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863060
2023-10-13	13:27:22	3568	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:22	3568	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8881_1' AND `virtuemart_product_id` != 1863060
2023-10-13	13:27:22	3568	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:22	3568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863060, 'A_8881_1')
2023-10-13	13:27:22	3568	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:22	3568	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-trigger-nx-eagle-12-vitesses-noir' AND `virtuemart_product_id` != 1863060
2023-10-13	13:27:22	3568	[DEBUG]	Query for ProductLang
2023-10-13	13:27:22	3568	[DEBUG]	Executed store
2023-10-13	13:27:22	3568	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7546B',`product_name`='SRAM Trigger NX Eagle 12 vitesses / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-trigger-nx-eagle-12-vitesses-noir' WHERE `virtuemart_product_id` = '1863060'
2023-10-13	13:27:22	3568	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37868_trigger_nx_eagle.jpg
2023-10-13	13:27:22	3568	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:22	3568	[DEBUG]	Process image file
2023-10-13	13:27:22	3568	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:22	3568	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:22	3568	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37868_trigger_nx_eagle.jpg
2023-10-13	13:27:22	3568	[DEBUG]	Full name target: bcprisme/37868_trigger_nx_eagle.jpg
2023-10-13	13:27:24	3568	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:24	3568	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37868_trigger_nx_eagle.jpg'
2023-10-13	13:27:24	3568	[DEBUG]	Query for Media
2023-10-13	13:27:24	3568	[DEBUG]	Executed store
2023-10-13	13:27:24	3568	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37868_trigger_nx_eagle.jpg',`file_url_thumb`='bcprisme/37868_trigger_nx_eagle.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1133564'
2023-10-13	13:27:24	3568	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:24	3568	[DEBUG]	Executed store
2023-10-13	13:27:24	3568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863060','1133564','1')
2023-10-13	13:27:24	3568	[DEBUG]	Store product image relation
2023-10-13	13:27:24	3568	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:24	3568	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863060 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:24	3568	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:24	3568	[DEBUG]	Executed store
2023-10-13	13:27:24	3568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863060','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:24	3568	[DEBUG]	Checking manufacturer
2023-10-13	13:27:24	3568	[DEBUG]	Load a row
2023-10-13	13:27:24	3568	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:24	3568	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:24	3568	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:24	3568	[DEBUG]	Executed store
2023-10-13	13:27:24	3568	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:24	3568	[DEBUG]	Manufacturer exists
2023-10-13	13:27:24	3568	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:24	3568	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:24	3568	[DEBUG]	Executed store
2023-10-13	13:27:24	3568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863060','35')
2023-10-13	13:27:24	3568	[DEBUG]	Find the custom field ID
2023-10-13	13:27:24	3568	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:24	3568	[DEBUG]	No custom field ID found
2023-10-13	13:27:24	3568	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:24	3568	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:24	3568	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863060 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:24	3568	[DEBUG]	Store custom available field
2023-10-13	13:27:24	3568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863060,3,'0',1)
2023-10-13	13:27:24	3568	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:24	3568	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:24	3568	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863060 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:24	3568	[DEBUG]	Store custom available field
2023-10-13	13:27:24	3568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863060,6,'choisir la taille',3)
2023-10-13	13:27:24	3568	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:24	3568	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:24	3568	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:24	3568	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:24	3568	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863060 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:24	3568	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:24	3568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863060,8,1)
2023-10-13	13:27:24	3568	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:24	3568	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863060\":[1863060,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863060
2023-10-13	13:27:24	3568	[DEBUG]	Checking category
2023-10-13	13:27:24	3568	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:24	3568	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863060
2023-10-13	13:27:24	3568	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:24	3568	[DEBUG]	Executed store
2023-10-13	13:27:24	3568	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863060','7381')
2023-10-13	13:27:24	3568	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:24	3568	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863060 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:24	3568	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:24	3568	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863060
2023-10-13	13:27:24	3569	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:24	3569	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:24	3569	[DEBUG]	Use field value for field taille
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:24	3569	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:24	3569	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:24	3569	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:24	3569	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:24	3569	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:24	3569	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:24	3569	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:24	3569	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:24	3569	[DEBUG]	Use field value for field published
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:24	3569	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field override
2023-10-13	13:27:24	3569	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:24	3569	[DEBUG]	Use field value for field slug
2023-10-13	13:27:24	3569	[DEBUG]	Process line 3569
2023-10-13	13:27:24	3569	[DEBUG]	Load a row
2023-10-13	13:27:24	3569	[DEBUG]	Processing item: 35T10953862
2023-10-13	13:27:24	3569	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:24	3569	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:24	3569	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8881_1'
2023-10-13	13:27:24	3569	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:24	3569	[DEBUG]	Processing product tax
2023-10-13	13:27:24	3569	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:24	3569	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:24	3569	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:24	3569	[DEBUG]	Query for Product
2023-10-13	13:27:24	3569	[DEBUG]	Executed store
2023-10-13	13:27:24	3569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863060','35T10953862','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:24	3569	[DEBUG]	No parent found
2023-10-13	13:27:24	3569	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863060 AND customfield_value = 'stockable'
2023-10-13	13:27:24	3569	[DEBUG]	Check product language entry
2023-10-13	13:27:24	3569	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863061
2023-10-13	13:27:24	3569	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:24	3569	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '35T10953862' AND `virtuemart_product_id` != 1863061
2023-10-13	13:27:24	3569	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:24	3569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863061, '35T10953862')
2023-10-13	13:27:24	3569	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:24	3569	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-trigger-nx-eagle-12-vitesses-noir-unitaire' AND `virtuemart_product_id` != 1863061
2023-10-13	13:27:24	3569	[DEBUG]	Query for ProductLang
2023-10-13	13:27:24	3569	[DEBUG]	Executed store
2023-10-13	13:27:24	3569	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Trigger NX Eagle 12 vitesses / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-trigger-nx-eagle-12-vitesses-noir-unitaire' WHERE `virtuemart_product_id` = '1863061'
2023-10-13	13:27:24	3569	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37868_trigger_nx_eagle.jpg
2023-10-13	13:27:24	3569	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:24	3569	[DEBUG]	Process image file
2023-10-13	13:27:24	3569	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:24	3569	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:24	3569	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37868_trigger_nx_eagle.jpg
2023-10-13	13:27:24	3569	[DEBUG]	Full name target: bcprisme/37868_trigger_nx_eagle.jpg
2023-10-13	13:27:25	3569	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:25	3569	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37868_trigger_nx_eagle.jpg'
2023-10-13	13:27:25	3569	[DEBUG]	Query for Media
2023-10-13	13:27:25	3569	[DEBUG]	Executed store
2023-10-13	13:27:25	3569	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37868_trigger_nx_eagle.jpg',`file_url_thumb`='bcprisme/37868_trigger_nx_eagle.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1133564'
2023-10-13	13:27:25	3569	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:25	3569	[DEBUG]	Executed store
2023-10-13	13:27:25	3569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863061','1133564','1')
2023-10-13	13:27:25	3569	[DEBUG]	Store product image relation
2023-10-13	13:27:25	3569	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:25	3569	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863061 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:25	3569	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:25	3569	[DEBUG]	Executed store
2023-10-13	13:27:25	3569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863061','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:25	3569	[DEBUG]	Checking manufacturer
2023-10-13	13:27:25	3569	[DEBUG]	Load a row
2023-10-13	13:27:25	3569	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:25	3569	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:25	3569	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:25	3569	[DEBUG]	Executed store
2023-10-13	13:27:25	3569	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:25	3569	[DEBUG]	Manufacturer exists
2023-10-13	13:27:25	3569	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:25	3569	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:25	3569	[DEBUG]	Executed store
2023-10-13	13:27:25	3569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863061','35')
2023-10-13	13:27:25	3569	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:25	3569	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:25	3569	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863061 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:25	3569	[DEBUG]	Store custom available field
2023-10-13	13:27:25	3569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863061,3,'',1)
2023-10-13	13:27:25	3569	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:25	3569	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:25	3569	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863061 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:25	3569	[DEBUG]	Store custom available field
2023-10-13	13:27:25	3569	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863061,6,'Unitaire',3)
2023-10-13	13:27:25	3569	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:25	3569	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:25	3569	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863060
2023-10-13	13:27:25	3569	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:25	3569	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863060\":[1863060,8,1,\"choisir la taille\"],\"1863061\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863060
2023-10-13	13:27:25	3569	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:25	3569	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863061
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:25	3570	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field taille
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:25	3570	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:25	3570	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:25	3570	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:25	3570	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:25	3570	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:25	3570	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field published
2023-10-13	13:27:25	3570	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:25	3570	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field override
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:25	3570	[DEBUG]	Use field value for field slug
2023-10-13	13:27:25	3570	[DEBUG]	Process line 3570
2023-10-13	13:27:25	3570	[DEBUG]	Load a row
2023-10-13	13:27:25	3570	[DEBUG]	Processing item: A_8900_208
2023-10-13	13:27:25	3570	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:25	3570	[DEBUG]	Processing product tax
2023-10-13	13:27:25	3570	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:25	3570	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:25	3570	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:25	3570	[DEBUG]	Query for Product
2023-10-13	13:27:25	3570	[DEBUG]	Executed store
2023-10-13	13:27:25	3570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8900_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:25	3570	[DEBUG]	Check product language entry
2023-10-13	13:27:25	3570	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863062
2023-10-13	13:27:25	3570	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:25	3570	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8900_208' AND `virtuemart_product_id` != 1863062
2023-10-13	13:27:25	3570	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:25	3570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863062, 'A_8900_208')
2023-10-13	13:27:25	3570	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:25	3570	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m8130-lg-droite-11-vitesses-rapidfire-box-aucune' AND `virtuemart_product_id` != 1863062
2023-10-13	13:27:25	3570	[DEBUG]	Query for ProductLang
2023-10-13	13:27:25	3570	[DEBUG]	Executed store
2023-10-13	13:27:25	3570	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.80573',`product_name`='SHIMANO Manette SL-M8130 LG droite 11-vitesses Rapidfire box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m8130-lg-droite-11-vitesses-rapidfire-box-aucune' WHERE `virtuemart_product_id` = '1863062'
2023-10-13	13:27:25	3570	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_80572_02_jpg.jpg
2023-10-13	13:27:25	3570	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:25	3570	[DEBUG]	Process image file
2023-10-13	13:27:25	3570	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:25	3570	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:25	3570	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_80572_02_jpg.jpg
2023-10-13	13:27:25	3570	[DEBUG]	Full name target: bcprisme/70_80572_02_jpg.jpg
2023-10-13	13:27:26	3570	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:26	3570	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_80572_02_jpg.jpg'
2023-10-13	13:27:26	3570	[DEBUG]	Query for Media
2023-10-13	13:27:26	3570	[DEBUG]	Executed store
2023-10-13	13:27:26	3570	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_80572_02_jpg.jpg',`file_url_thumb`='bcprisme/70_80572_02_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1154568'
2023-10-13	13:27:26	3570	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:26	3570	[DEBUG]	Executed store
2023-10-13	13:27:26	3570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863062','1154568','1')
2023-10-13	13:27:26	3570	[DEBUG]	Store product image relation
2023-10-13	13:27:26	3570	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:26	3570	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863062 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:26	3570	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:26	3570	[DEBUG]	Executed store
2023-10-13	13:27:26	3570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863062','0','80.6870937790158','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:26	3570	[DEBUG]	Checking manufacturer
2023-10-13	13:27:26	3570	[DEBUG]	Load a row
2023-10-13	13:27:26	3570	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:26	3570	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:26	3570	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:26	3570	[DEBUG]	Executed store
2023-10-13	13:27:26	3570	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:26	3570	[DEBUG]	Manufacturer exists
2023-10-13	13:27:26	3570	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:26	3570	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:26	3570	[DEBUG]	Executed store
2023-10-13	13:27:26	3570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863062','26')
2023-10-13	13:27:26	3570	[DEBUG]	Find the custom field ID
2023-10-13	13:27:26	3570	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:26	3570	[DEBUG]	No custom field ID found
2023-10-13	13:27:26	3570	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:26	3570	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:26	3570	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863062 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:26	3570	[DEBUG]	Store custom available field
2023-10-13	13:27:26	3570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863062,3,'0',1)
2023-10-13	13:27:26	3570	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:26	3570	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:26	3570	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863062 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:26	3570	[DEBUG]	Store custom available field
2023-10-13	13:27:26	3570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863062,6,'choisir la taille',3)
2023-10-13	13:27:26	3570	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:26	3570	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:26	3570	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:26	3570	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:26	3570	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863062 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:26	3570	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:26	3570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863062,8,1)
2023-10-13	13:27:26	3570	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:26	3570	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863062\":[1863062,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863062
2023-10-13	13:27:26	3570	[DEBUG]	Checking category
2023-10-13	13:27:26	3570	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:26	3570	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863062
2023-10-13	13:27:26	3570	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:26	3570	[DEBUG]	Executed store
2023-10-13	13:27:26	3570	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863062','7381')
2023-10-13	13:27:26	3570	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:26	3570	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863062 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:26	3570	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:26	3570	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863062
2023-10-13	13:27:26	3571	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:26	3571	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:26	3571	[DEBUG]	Use field value for field taille
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:26	3571	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:26	3571	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:26	3571	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:26	3571	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:26	3571	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:26	3571	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:26	3571	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:26	3571	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:26	3571	[DEBUG]	Use field value for field published
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:26	3571	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field override
2023-10-13	13:27:26	3571	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:26	3571	[DEBUG]	Use field value for field slug
2023-10-13	13:27:26	3571	[DEBUG]	Process line 3571
2023-10-13	13:27:26	3571	[DEBUG]	Load a row
2023-10-13	13:27:26	3571	[DEBUG]	Processing item: 4550170898403
2023-10-13	13:27:26	3571	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:26	3571	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:26	3571	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8900_208'
2023-10-13	13:27:26	3571	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:26	3571	[DEBUG]	Processing product tax
2023-10-13	13:27:26	3571	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:26	3571	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:26	3571	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:26	3571	[DEBUG]	Query for Product
2023-10-13	13:27:26	3571	[DEBUG]	Executed store
2023-10-13	13:27:26	3571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863062','4550170898403','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:26	3571	[DEBUG]	No parent found
2023-10-13	13:27:26	3571	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863062 AND customfield_value = 'stockable'
2023-10-13	13:27:26	3571	[DEBUG]	Check product language entry
2023-10-13	13:27:26	3571	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863063
2023-10-13	13:27:26	3571	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:26	3571	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170898403' AND `virtuemart_product_id` != 1863063
2023-10-13	13:27:26	3571	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:26	3571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863063, '4550170898403')
2023-10-13	13:27:26	3571	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:26	3571	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m8130-lg-droite-11-vitesses-rapidfire-box-aucune-unitaire' AND `virtuemart_product_id` != 1863063
2023-10-13	13:27:26	3571	[DEBUG]	Query for ProductLang
2023-10-13	13:27:26	3571	[DEBUG]	Executed store
2023-10-13	13:27:26	3571	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette SL-M8130 LG droite 11-vitesses Rapidfire box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m8130-lg-droite-11-vitesses-rapidfire-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1863063'
2023-10-13	13:27:26	3571	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_80572_02_jpg.jpg
2023-10-13	13:27:26	3571	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:26	3571	[DEBUG]	Process image file
2023-10-13	13:27:26	3571	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:26	3571	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:26	3571	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_80572_02_jpg.jpg
2023-10-13	13:27:26	3571	[DEBUG]	Full name target: bcprisme/70_80572_02_jpg.jpg
2023-10-13	13:27:27	3571	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:27	3571	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_80572_02_jpg.jpg'
2023-10-13	13:27:27	3571	[DEBUG]	Query for Media
2023-10-13	13:27:27	3571	[DEBUG]	Executed store
2023-10-13	13:27:27	3571	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_80572_02_jpg.jpg',`file_url_thumb`='bcprisme/70_80572_02_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1154568'
2023-10-13	13:27:27	3571	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:27	3571	[DEBUG]	Executed store
2023-10-13	13:27:27	3571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863063','1154568','1')
2023-10-13	13:27:27	3571	[DEBUG]	Store product image relation
2023-10-13	13:27:27	3571	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:27	3571	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863063 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:27	3571	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:27	3571	[DEBUG]	Executed store
2023-10-13	13:27:27	3571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863063','0','80.6870937790158','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:27	3571	[DEBUG]	Checking manufacturer
2023-10-13	13:27:27	3571	[DEBUG]	Load a row
2023-10-13	13:27:27	3571	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:27	3571	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:27	3571	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:27	3571	[DEBUG]	Executed store
2023-10-13	13:27:27	3571	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:27	3571	[DEBUG]	Manufacturer exists
2023-10-13	13:27:27	3571	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:27	3571	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:27	3571	[DEBUG]	Executed store
2023-10-13	13:27:27	3571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863063','26')
2023-10-13	13:27:27	3571	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:27	3571	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:27	3571	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863063 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:27	3571	[DEBUG]	Store custom available field
2023-10-13	13:27:27	3571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863063,3,'',1)
2023-10-13	13:27:27	3571	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:27	3571	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:27	3571	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863063 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:27	3571	[DEBUG]	Store custom available field
2023-10-13	13:27:27	3571	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863063,6,'Unitaire',3)
2023-10-13	13:27:27	3571	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:27	3571	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:27	3571	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863062
2023-10-13	13:27:27	3571	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:27	3571	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863062\":[1863062,8,1,\"choisir la taille\"],\"1863063\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863062
2023-10-13	13:27:27	3571	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:27	3571	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863063
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:27	3572	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field taille
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:27	3572	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:27	3572	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:27	3572	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:27	3572	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:27	3572	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:27	3572	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field published
2023-10-13	13:27:27	3572	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:27	3572	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field override
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:27	3572	[DEBUG]	Use field value for field slug
2023-10-13	13:27:27	3572	[DEBUG]	Process line 3572
2023-10-13	13:27:27	3572	[DEBUG]	Load a row
2023-10-13	13:27:27	3572	[DEBUG]	Processing item: A_8904_208
2023-10-13	13:27:27	3572	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:27	3572	[DEBUG]	Processing product tax
2023-10-13	13:27:27	3572	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:27	3572	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:27	3572	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:27	3572	[DEBUG]	Query for Product
2023-10-13	13:27:27	3572	[DEBUG]	Executed store
2023-10-13	13:27:27	3572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8904_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:27	3572	[DEBUG]	Check product language entry
2023-10-13	13:27:27	3572	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863064
2023-10-13	13:27:27	3572	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:27	3572	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8904_208' AND `virtuemart_product_id` != 1863064
2023-10-13	13:27:27	3572	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:27	3572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863064, 'A_8904_208')
2023-10-13	13:27:27	3572	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:27	3572	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-vis-de-fixation-ispec-b-i-aucune' AND `virtuemart_product_id` != 1863064
2023-10-13	13:27:27	3572	[DEBUG]	Query for ProductLang
2023-10-13	13:27:27	3572	[DEBUG]	Executed store
2023-10-13	13:27:27	3572	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.60678',`product_name`='SHIMANO Vis de fixation Ispec B-I / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-vis-de-fixation-ispec-b-i-aucune' WHERE `virtuemart_product_id` = '1863064'
2023-10-13	13:27:27	3572	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_60678_jpg.jpg
2023-10-13	13:27:27	3572	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:27	3572	[DEBUG]	Process image file
2023-10-13	13:27:27	3572	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:27	3572	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:27	3572	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_60678_jpg.jpg
2023-10-13	13:27:27	3572	[DEBUG]	Full name target: bcprisme/70_60678_jpg.jpg
2023-10-13	13:27:28	3572	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:28	3572	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_60678_jpg.jpg'
2023-10-13	13:27:28	3572	[DEBUG]	Query for Media
2023-10-13	13:27:28	3572	[DEBUG]	Executed store
2023-10-13	13:27:28	3572	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_60678_jpg.jpg',`file_url_thumb`='bcprisme/70_60678_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1154570'
2023-10-13	13:27:28	3572	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:28	3572	[DEBUG]	Executed store
2023-10-13	13:27:28	3572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863064','1154570','1')
2023-10-13	13:27:28	3572	[DEBUG]	Store product image relation
2023-10-13	13:27:28	3572	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:28	3572	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863064 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:28	3572	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:28	3572	[DEBUG]	Executed store
2023-10-13	13:27:28	3572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863064','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:28	3572	[DEBUG]	Checking manufacturer
2023-10-13	13:27:28	3572	[DEBUG]	Load a row
2023-10-13	13:27:28	3572	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:28	3572	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:28	3572	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:28	3572	[DEBUG]	Executed store
2023-10-13	13:27:28	3572	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:28	3572	[DEBUG]	Manufacturer exists
2023-10-13	13:27:28	3572	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:28	3572	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:28	3572	[DEBUG]	Executed store
2023-10-13	13:27:28	3572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863064','26')
2023-10-13	13:27:28	3572	[DEBUG]	Find the custom field ID
2023-10-13	13:27:28	3572	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:28	3572	[DEBUG]	No custom field ID found
2023-10-13	13:27:28	3572	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:28	3572	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:28	3572	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863064 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:28	3572	[DEBUG]	Store custom available field
2023-10-13	13:27:28	3572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863064,3,'0',1)
2023-10-13	13:27:28	3572	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:28	3572	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:28	3572	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863064 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:28	3572	[DEBUG]	Store custom available field
2023-10-13	13:27:28	3572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863064,6,'choisir la taille',3)
2023-10-13	13:27:28	3572	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:28	3572	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:28	3572	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:28	3572	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:28	3572	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863064 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:28	3572	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:28	3572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863064,8,1)
2023-10-13	13:27:28	3572	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:28	3572	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863064\":[1863064,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863064
2023-10-13	13:27:28	3572	[DEBUG]	Checking category
2023-10-13	13:27:28	3572	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:28	3572	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863064
2023-10-13	13:27:28	3572	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:28	3572	[DEBUG]	Executed store
2023-10-13	13:27:28	3572	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863064','7381')
2023-10-13	13:27:28	3572	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:28	3572	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863064 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:28	3572	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:28	3572	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863064
2023-10-13	13:27:28	3573	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:28	3573	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:28	3573	[DEBUG]	Use field value for field taille
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:28	3573	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:28	3573	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:28	3573	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:28	3573	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:28	3573	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:28	3573	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:28	3573	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:28	3573	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:28	3573	[DEBUG]	Use field value for field published
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:28	3573	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field override
2023-10-13	13:27:28	3573	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:28	3573	[DEBUG]	Use field value for field slug
2023-10-13	13:27:28	3573	[DEBUG]	Process line 3573
2023-10-13	13:27:28	3573	[DEBUG]	Load a row
2023-10-13	13:27:28	3573	[DEBUG]	Processing item: 4524667321699
2023-10-13	13:27:28	3573	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:28	3573	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:28	3573	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8904_208'
2023-10-13	13:27:28	3573	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:28	3573	[DEBUG]	Processing product tax
2023-10-13	13:27:28	3573	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:28	3573	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:28	3573	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:28	3573	[DEBUG]	Query for Product
2023-10-13	13:27:28	3573	[DEBUG]	Executed store
2023-10-13	13:27:28	3573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863064','4524667321699','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:28	3573	[DEBUG]	No parent found
2023-10-13	13:27:28	3573	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863064 AND customfield_value = 'stockable'
2023-10-13	13:27:28	3573	[DEBUG]	Check product language entry
2023-10-13	13:27:28	3573	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863065
2023-10-13	13:27:28	3573	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:28	3573	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667321699' AND `virtuemart_product_id` != 1863065
2023-10-13	13:27:28	3573	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:28	3573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863065, '4524667321699')
2023-10-13	13:27:28	3573	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:28	3573	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-vis-de-fixation-ispec-b-i-aucune-unitaire' AND `virtuemart_product_id` != 1863065
2023-10-13	13:27:28	3573	[DEBUG]	Query for ProductLang
2023-10-13	13:27:28	3573	[DEBUG]	Executed store
2023-10-13	13:27:28	3573	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Vis de fixation Ispec B-I / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-vis-de-fixation-ispec-b-i-aucune-unitaire' WHERE `virtuemart_product_id` = '1863065'
2023-10-13	13:27:28	3573	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_60678_jpg.jpg
2023-10-13	13:27:28	3573	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:28	3573	[DEBUG]	Process image file
2023-10-13	13:27:28	3573	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:28	3573	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:28	3573	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_60678_jpg.jpg
2023-10-13	13:27:28	3573	[DEBUG]	Full name target: bcprisme/70_60678_jpg.jpg
2023-10-13	13:27:29	3573	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:29	3573	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_60678_jpg.jpg'
2023-10-13	13:27:29	3573	[DEBUG]	Query for Media
2023-10-13	13:27:29	3573	[DEBUG]	Executed store
2023-10-13	13:27:29	3573	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_60678_jpg.jpg',`file_url_thumb`='bcprisme/70_60678_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1154570'
2023-10-13	13:27:29	3573	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:29	3573	[DEBUG]	Executed store
2023-10-13	13:27:29	3573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863065','1154570','1')
2023-10-13	13:27:29	3573	[DEBUG]	Store product image relation
2023-10-13	13:27:29	3573	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:29	3573	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863065 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:29	3573	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:29	3573	[DEBUG]	Executed store
2023-10-13	13:27:29	3573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863065','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:29	3573	[DEBUG]	Checking manufacturer
2023-10-13	13:27:29	3573	[DEBUG]	Load a row
2023-10-13	13:27:29	3573	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:29	3573	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:29	3573	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:29	3573	[DEBUG]	Executed store
2023-10-13	13:27:29	3573	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:29	3573	[DEBUG]	Manufacturer exists
2023-10-13	13:27:29	3573	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:29	3573	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:29	3573	[DEBUG]	Executed store
2023-10-13	13:27:29	3573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863065','26')
2023-10-13	13:27:29	3573	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:29	3573	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:29	3573	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863065 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:29	3573	[DEBUG]	Store custom available field
2023-10-13	13:27:29	3573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863065,3,'',1)
2023-10-13	13:27:29	3573	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:29	3573	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:29	3573	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863065 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:29	3573	[DEBUG]	Store custom available field
2023-10-13	13:27:29	3573	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863065,6,'Unitaire',3)
2023-10-13	13:27:29	3573	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:29	3573	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:29	3573	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863064
2023-10-13	13:27:29	3573	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:29	3573	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863064\":[1863064,8,1,\"choisir la taille\"],\"1863065\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863064
2023-10-13	13:27:29	3573	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:29	3573	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863065
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:29	3574	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field taille
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:29	3574	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:29	3574	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:29	3574	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:29	3574	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:29	3574	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:29	3574	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field published
2023-10-13	13:27:29	3574	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:29	3574	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field override
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:29	3574	[DEBUG]	Use field value for field slug
2023-10-13	13:27:29	3574	[DEBUG]	Process line 3574
2023-10-13	13:27:29	3574	[DEBUG]	Load a row
2023-10-13	13:27:29	3574	[DEBUG]	Processing item: A_8965_208
2023-10-13	13:27:29	3574	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:29	3574	[DEBUG]	Processing product tax
2023-10-13	13:27:29	3574	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:29	3574	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:29	3574	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:29	3574	[DEBUG]	Query for Product
2023-10-13	13:27:29	3574	[DEBUG]	Executed store
2023-10-13	13:27:29	3574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8965_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:29	3574	[DEBUG]	Check product language entry
2023-10-13	13:27:29	3574	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863066
2023-10-13	13:27:29	3574	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:29	3574	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8965_208' AND `virtuemart_product_id` != 1863066
2023-10-13	13:27:29	3574	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:29	3574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863066, 'A_8965_208')
2023-10-13	13:27:29	3574	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:29	3574	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m5130-droit-lg-10-vitesses-rf-s-indicateur-de-vit-box-aucune' AND `virtuemart_product_id` != 1863066
2023-10-13	13:27:29	3574	[DEBUG]	Query for ProductLang
2023-10-13	13:27:29	3574	[DEBUG]	Executed store
2023-10-13	13:27:29	3574	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.80569',`product_name`='SHIMANO Manette SL-M5130 droit LG 10-vitesses RF s/indicateur de vit. box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m5130-droit-lg-10-vitesses-rf-s-indicateur-de-vit-box-aucune' WHERE `virtuemart_product_id` = '1863066'
2023-10-13	13:27:29	3574	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_80570_0.jpg
2023-10-13	13:27:29	3574	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:29	3574	[DEBUG]	Process image file
2023-10-13	13:27:29	3574	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:29	3574	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:29	3574	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_80570_0.jpg
2023-10-13	13:27:29	3574	[DEBUG]	Full name target: bcprisme/70_80570_0.jpg
2023-10-13	13:27:30	3574	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:30	3574	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_80570_0.jpg'
2023-10-13	13:27:30	3574	[DEBUG]	Query for Media
2023-10-13	13:27:30	3574	[DEBUG]	Executed store
2023-10-13	13:27:30	3574	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_80570_0.jpg',`file_url_thumb`='bcprisme/70_80570_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1196879'
2023-10-13	13:27:30	3574	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:30	3574	[DEBUG]	Executed store
2023-10-13	13:27:30	3574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863066','1196879','1')
2023-10-13	13:27:30	3574	[DEBUG]	Store product image relation
2023-10-13	13:27:30	3574	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:30	3574	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863066 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:30	3574	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:30	3574	[DEBUG]	Executed store
2023-10-13	13:27:30	3574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863066','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:30	3574	[DEBUG]	Checking manufacturer
2023-10-13	13:27:30	3574	[DEBUG]	Load a row
2023-10-13	13:27:30	3574	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:30	3574	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:30	3574	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:30	3574	[DEBUG]	Executed store
2023-10-13	13:27:30	3574	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:30	3574	[DEBUG]	Manufacturer exists
2023-10-13	13:27:30	3574	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:30	3574	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:30	3574	[DEBUG]	Executed store
2023-10-13	13:27:30	3574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863066','26')
2023-10-13	13:27:30	3574	[DEBUG]	Find the custom field ID
2023-10-13	13:27:30	3574	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:30	3574	[DEBUG]	No custom field ID found
2023-10-13	13:27:30	3574	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:30	3574	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:30	3574	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863066 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:30	3574	[DEBUG]	Store custom available field
2023-10-13	13:27:30	3574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863066,3,'0',1)
2023-10-13	13:27:30	3574	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:30	3574	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:30	3574	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863066 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:30	3574	[DEBUG]	Store custom available field
2023-10-13	13:27:30	3574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863066,6,'choisir la taille',3)
2023-10-13	13:27:30	3574	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:30	3574	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:30	3574	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:30	3574	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:30	3574	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863066 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:30	3574	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:30	3574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863066,8,1)
2023-10-13	13:27:30	3574	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:30	3574	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863066\":[1863066,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863066
2023-10-13	13:27:30	3574	[DEBUG]	Checking category
2023-10-13	13:27:30	3574	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:30	3574	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863066
2023-10-13	13:27:30	3574	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:30	3574	[DEBUG]	Executed store
2023-10-13	13:27:30	3574	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863066','7381')
2023-10-13	13:27:30	3574	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:30	3574	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863066 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:30	3574	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:30	3574	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863066
2023-10-13	13:27:30	3575	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:30	3575	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:30	3575	[DEBUG]	Use field value for field taille
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:30	3575	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:30	3575	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:30	3575	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:30	3575	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:30	3575	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:30	3575	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:30	3575	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:30	3575	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:30	3575	[DEBUG]	Use field value for field published
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:30	3575	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field override
2023-10-13	13:27:30	3575	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:30	3575	[DEBUG]	Use field value for field slug
2023-10-13	13:27:30	3575	[DEBUG]	Process line 3575
2023-10-13	13:27:30	3575	[DEBUG]	Load a row
2023-10-13	13:27:30	3575	[DEBUG]	Processing item: 4550170898427
2023-10-13	13:27:30	3575	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:30	3575	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:30	3575	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8965_208'
2023-10-13	13:27:30	3575	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:30	3575	[DEBUG]	Processing product tax
2023-10-13	13:27:30	3575	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:30	3575	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:30	3575	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:30	3575	[DEBUG]	Query for Product
2023-10-13	13:27:30	3575	[DEBUG]	Executed store
2023-10-13	13:27:30	3575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863066','4550170898427','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:30	3575	[DEBUG]	No parent found
2023-10-13	13:27:30	3575	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863066 AND customfield_value = 'stockable'
2023-10-13	13:27:30	3575	[DEBUG]	Check product language entry
2023-10-13	13:27:30	3575	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863067
2023-10-13	13:27:30	3575	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:30	3575	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170898427' AND `virtuemart_product_id` != 1863067
2023-10-13	13:27:30	3575	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:30	3575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863067, '4550170898427')
2023-10-13	13:27:30	3575	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:30	3575	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m5130-droit-lg-10-vitesses-rf-s-indicateur-de-vit-box-aucune-unitaire' AND `virtuemart_product_id` != 1863067
2023-10-13	13:27:30	3575	[DEBUG]	Query for ProductLang
2023-10-13	13:27:30	3575	[DEBUG]	Executed store
2023-10-13	13:27:30	3575	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette SL-M5130 droit LG 10-vitesses RF s/indicateur de vit. box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m5130-droit-lg-10-vitesses-rf-s-indicateur-de-vit-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1863067'
2023-10-13	13:27:30	3575	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_80570_0.jpg
2023-10-13	13:27:30	3575	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:30	3575	[DEBUG]	Process image file
2023-10-13	13:27:30	3575	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:30	3575	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:30	3575	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_80570_0.jpg
2023-10-13	13:27:30	3575	[DEBUG]	Full name target: bcprisme/70_80570_0.jpg
2023-10-13	13:27:31	3575	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:31	3575	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_80570_0.jpg'
2023-10-13	13:27:31	3575	[DEBUG]	Query for Media
2023-10-13	13:27:31	3575	[DEBUG]	Executed store
2023-10-13	13:27:31	3575	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_80570_0.jpg',`file_url_thumb`='bcprisme/70_80570_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1196879'
2023-10-13	13:27:31	3575	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:31	3575	[DEBUG]	Executed store
2023-10-13	13:27:31	3575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863067','1196879','1')
2023-10-13	13:27:31	3575	[DEBUG]	Store product image relation
2023-10-13	13:27:31	3575	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:31	3575	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863067 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:31	3575	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:31	3575	[DEBUG]	Executed store
2023-10-13	13:27:31	3575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863067','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:31	3575	[DEBUG]	Checking manufacturer
2023-10-13	13:27:31	3575	[DEBUG]	Load a row
2023-10-13	13:27:31	3575	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:31	3575	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:31	3575	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:31	3575	[DEBUG]	Executed store
2023-10-13	13:27:31	3575	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:31	3575	[DEBUG]	Manufacturer exists
2023-10-13	13:27:31	3575	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:31	3575	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:31	3575	[DEBUG]	Executed store
2023-10-13	13:27:31	3575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863067','26')
2023-10-13	13:27:31	3575	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:31	3575	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:31	3575	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863067 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:31	3575	[DEBUG]	Store custom available field
2023-10-13	13:27:31	3575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863067,3,'',1)
2023-10-13	13:27:31	3575	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:31	3575	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:31	3575	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863067 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:31	3575	[DEBUG]	Store custom available field
2023-10-13	13:27:31	3575	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863067,6,'Unitaire',3)
2023-10-13	13:27:31	3575	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:31	3575	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:31	3575	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863066
2023-10-13	13:27:31	3575	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:31	3575	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863066\":[1863066,8,1,\"choisir la taille\"],\"1863067\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863066
2023-10-13	13:27:31	3575	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:31	3575	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863067
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:31	3576	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field taille
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:31	3576	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:31	3576	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:31	3576	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:31	3576	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:31	3576	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:31	3576	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:31	3576	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field published
2023-10-13	13:27:31	3576	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:31	3576	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field override
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:31	3576	[DEBUG]	Use field value for field slug
2023-10-13	13:27:31	3576	[DEBUG]	Process line 3576
2023-10-13	13:27:31	3576	[DEBUG]	Load a row
2023-10-13	13:27:31	3576	[DEBUG]	Processing item: A_8966_208
2023-10-13	13:27:31	3576	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:31	3576	[DEBUG]	Processing product tax
2023-10-13	13:27:31	3576	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:31	3576	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:31	3576	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:31	3576	[DEBUG]	Query for Product
2023-10-13	13:27:31	3576	[DEBUG]	Executed store
2023-10-13	13:27:31	3576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8966_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:31	3576	[DEBUG]	Check product language entry
2023-10-13	13:27:31	3576	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863068
2023-10-13	13:27:31	3576	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:31	3576	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8966_208' AND `virtuemart_product_id` != 1863068
2023-10-13	13:27:31	3576	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:31	3576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863068, 'A_8966_208')
2023-10-13	13:27:31	3576	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:31	3576	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m8130-i-lg-droit-11-vitesses-rf-i-spec-ev-box-aucune' AND `virtuemart_product_id` != 1863068
2023-10-13	13:27:31	3576	[DEBUG]	Query for ProductLang
2023-10-13	13:27:31	3576	[DEBUG]	Executed store
2023-10-13	13:27:31	3576	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.80572',`product_name`='SHIMANO Manette SL-M8130-I LG droit 11-vitesses RF I-Spec EV box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m8130-i-lg-droit-11-vitesses-rf-i-spec-ev-box-aucune' WHERE `virtuemart_product_id` = '1863068'
2023-10-13	13:27:31	3576	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_80572_0.jpg has not been found.
2023-10-13	13:27:31	3576	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:31	3576	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863068 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:31	3576	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:31	3576	[DEBUG]	Executed store
2023-10-13	13:27:31	3576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863068','0','77.9944289693593','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:31	3576	[DEBUG]	Checking manufacturer
2023-10-13	13:27:31	3576	[DEBUG]	Load a row
2023-10-13	13:27:31	3576	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:31	3576	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:31	3576	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:31	3576	[DEBUG]	Executed store
2023-10-13	13:27:31	3576	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:31	3576	[DEBUG]	Manufacturer exists
2023-10-13	13:27:31	3576	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:31	3576	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:31	3576	[DEBUG]	Executed store
2023-10-13	13:27:31	3576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863068','26')
2023-10-13	13:27:31	3576	[DEBUG]	Find the custom field ID
2023-10-13	13:27:31	3576	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:31	3576	[DEBUG]	No custom field ID found
2023-10-13	13:27:31	3576	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:31	3576	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:31	3576	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863068 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:31	3576	[DEBUG]	Store custom available field
2023-10-13	13:27:31	3576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863068,3,'0',1)
2023-10-13	13:27:31	3576	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:31	3576	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:31	3576	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863068 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:31	3576	[DEBUG]	Store custom available field
2023-10-13	13:27:31	3576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863068,6,'choisir la taille',3)
2023-10-13	13:27:31	3576	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:31	3576	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:31	3576	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:31	3576	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:31	3576	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863068 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:31	3576	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:31	3576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863068,8,1)
2023-10-13	13:27:31	3576	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:31	3576	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863068\":[1863068,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863068
2023-10-13	13:27:31	3576	[DEBUG]	Checking category
2023-10-13	13:27:31	3576	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:31	3576	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863068
2023-10-13	13:27:31	3576	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:31	3576	[DEBUG]	Executed store
2023-10-13	13:27:31	3576	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863068','7381')
2023-10-13	13:27:31	3576	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:31	3576	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863068 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:31	3576	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:31	3576	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863068
2023-10-13	13:27:31	3577	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:31	3577	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:31	3577	[DEBUG]	Use field value for field taille
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:31	3577	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:31	3577	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:31	3577	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:31	3577	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:31	3577	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:31	3577	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:31	3577	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:31	3577	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:31	3577	[DEBUG]	Use field value for field published
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:31	3577	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field override
2023-10-13	13:27:31	3577	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:31	3577	[DEBUG]	Use field value for field slug
2023-10-13	13:27:31	3577	[DEBUG]	Process line 3577
2023-10-13	13:27:31	3577	[DEBUG]	Load a row
2023-10-13	13:27:31	3577	[DEBUG]	Processing item: 4550170898410
2023-10-13	13:27:31	3577	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:31	3577	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:31	3577	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8966_208'
2023-10-13	13:27:31	3577	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:31	3577	[DEBUG]	Processing product tax
2023-10-13	13:27:31	3577	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:31	3577	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:31	3577	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:31	3577	[DEBUG]	Query for Product
2023-10-13	13:27:31	3577	[DEBUG]	Executed store
2023-10-13	13:27:31	3577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863068','4550170898410','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:31	3577	[DEBUG]	No parent found
2023-10-13	13:27:31	3577	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863068 AND customfield_value = 'stockable'
2023-10-13	13:27:31	3577	[DEBUG]	Check product language entry
2023-10-13	13:27:31	3577	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863069
2023-10-13	13:27:31	3577	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:31	3577	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170898410' AND `virtuemart_product_id` != 1863069
2023-10-13	13:27:31	3577	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:31	3577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863069, '4550170898410')
2023-10-13	13:27:31	3577	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:31	3577	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m8130-i-lg-droit-11-vitesses-rf-i-spec-ev-box-aucune-unitaire' AND `virtuemart_product_id` != 1863069
2023-10-13	13:27:31	3577	[DEBUG]	Query for ProductLang
2023-10-13	13:27:31	3577	[DEBUG]	Executed store
2023-10-13	13:27:31	3577	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette SL-M8130-I LG droit 11-vitesses RF I-Spec EV box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m8130-i-lg-droit-11-vitesses-rf-i-spec-ev-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1863069'
2023-10-13	13:27:31	3577	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_80572_0.jpg has not been found.
2023-10-13	13:27:31	3577	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:31	3577	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863069 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:31	3577	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:31	3577	[DEBUG]	Executed store
2023-10-13	13:27:31	3577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863069','0','77.9944289693593','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:31	3577	[DEBUG]	Checking manufacturer
2023-10-13	13:27:31	3577	[DEBUG]	Load a row
2023-10-13	13:27:31	3577	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:31	3577	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:31	3577	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:31	3577	[DEBUG]	Executed store
2023-10-13	13:27:31	3577	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:31	3577	[DEBUG]	Manufacturer exists
2023-10-13	13:27:31	3577	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:31	3577	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:31	3577	[DEBUG]	Executed store
2023-10-13	13:27:31	3577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863069','26')
2023-10-13	13:27:31	3577	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:31	3577	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:31	3577	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863069 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:31	3577	[DEBUG]	Store custom available field
2023-10-13	13:27:31	3577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863069,3,'',1)
2023-10-13	13:27:31	3577	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:31	3577	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:31	3577	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863069 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:31	3577	[DEBUG]	Store custom available field
2023-10-13	13:27:31	3577	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863069,6,'Unitaire',3)
2023-10-13	13:27:31	3577	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:31	3577	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:31	3577	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863068
2023-10-13	13:27:31	3577	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:31	3577	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863068\":[1863068,8,1,\"choisir la taille\"],\"1863069\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863068
2023-10-13	13:27:31	3577	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:31	3577	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863069
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:31	3578	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field taille
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:31	3578	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:31	3578	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:31	3578	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:31	3578	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:31	3578	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:31	3578	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field published
2023-10-13	13:27:31	3578	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:31	3578	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field override
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:31	3578	[DEBUG]	Use field value for field slug
2023-10-13	13:27:31	3578	[DEBUG]	Process line 3578
2023-10-13	13:27:31	3578	[DEBUG]	Load a row
2023-10-13	13:27:31	3578	[DEBUG]	Processing item: A_8973_208
2023-10-13	13:27:31	3578	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:31	3578	[DEBUG]	Processing product tax
2023-10-13	13:27:31	3578	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:31	3578	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:31	3578	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:31	3578	[DEBUG]	Query for Product
2023-10-13	13:27:31	3578	[DEBUG]	Executed store
2023-10-13	13:27:31	3578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8973_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:31	3578	[DEBUG]	Check product language entry
2023-10-13	13:27:31	3578	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863070
2023-10-13	13:27:31	3578	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:31	3578	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8973_208' AND `virtuemart_product_id` != 1863070
2023-10-13	13:27:31	3578	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:31	3578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863070, 'A_8973_208')
2023-10-13	13:27:31	3578	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:31	3578	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m5130-droit-lg-10-vitesses-rf-indicateur-de-vitesse-box-aucune' AND `virtuemart_product_id` != 1863070
2023-10-13	13:27:31	3578	[DEBUG]	Query for ProductLang
2023-10-13	13:27:31	3578	[DEBUG]	Executed store
2023-10-13	13:27:31	3578	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.80570',`product_name`='SHIMANO Manette SL-M5130 droit LG 10-vitesses RF indicateur de vitesse box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m5130-droit-lg-10-vitesses-rf-indicateur-de-vitesse-box-aucune' WHERE `virtuemart_product_id` = '1863070'
2023-10-13	13:27:31	3578	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_80570_0.jpg
2023-10-13	13:27:31	3578	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:31	3578	[DEBUG]	Process image file
2023-10-13	13:27:31	3578	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:31	3578	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:31	3578	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_80570_0.jpg
2023-10-13	13:27:31	3578	[DEBUG]	Full name target: bcprisme/70_80570_0.jpg
2023-10-13	13:27:32	3578	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:32	3578	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_80570_0.jpg'
2023-10-13	13:27:32	3578	[DEBUG]	Query for Media
2023-10-13	13:27:32	3578	[DEBUG]	Executed store
2023-10-13	13:27:32	3578	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_80570_0.jpg',`file_url_thumb`='bcprisme/70_80570_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1196879'
2023-10-13	13:27:32	3578	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:32	3578	[DEBUG]	Executed store
2023-10-13	13:27:32	3578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863070','1196879','1')
2023-10-13	13:27:32	3578	[DEBUG]	Store product image relation
2023-10-13	13:27:32	3578	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:32	3578	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863070 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:32	3578	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:32	3578	[DEBUG]	Executed store
2023-10-13	13:27:32	3578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863070','0','45.4038997214485','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:32	3578	[DEBUG]	Checking manufacturer
2023-10-13	13:27:32	3578	[DEBUG]	Load a row
2023-10-13	13:27:32	3578	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:32	3578	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:32	3578	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:32	3578	[DEBUG]	Executed store
2023-10-13	13:27:32	3578	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:32	3578	[DEBUG]	Manufacturer exists
2023-10-13	13:27:32	3578	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:32	3578	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:32	3578	[DEBUG]	Executed store
2023-10-13	13:27:32	3578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863070','26')
2023-10-13	13:27:32	3578	[DEBUG]	Find the custom field ID
2023-10-13	13:27:32	3578	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:32	3578	[DEBUG]	No custom field ID found
2023-10-13	13:27:32	3578	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:32	3578	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:32	3578	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863070 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:32	3578	[DEBUG]	Store custom available field
2023-10-13	13:27:32	3578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863070,3,'0',1)
2023-10-13	13:27:32	3578	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:32	3578	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:32	3578	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863070 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:32	3578	[DEBUG]	Store custom available field
2023-10-13	13:27:32	3578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863070,6,'choisir la taille',3)
2023-10-13	13:27:32	3578	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:32	3578	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:32	3578	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:32	3578	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:32	3578	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863070 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:32	3578	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:32	3578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863070,8,1)
2023-10-13	13:27:32	3578	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:32	3578	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863070\":[1863070,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863070
2023-10-13	13:27:32	3578	[DEBUG]	Checking category
2023-10-13	13:27:32	3578	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:32	3578	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863070
2023-10-13	13:27:32	3578	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:32	3578	[DEBUG]	Executed store
2023-10-13	13:27:32	3578	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863070','7381')
2023-10-13	13:27:32	3578	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:32	3578	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863070 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:32	3578	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:32	3578	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863070
2023-10-13	13:27:32	3579	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:32	3579	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:32	3579	[DEBUG]	Use field value for field taille
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:32	3579	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:32	3579	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:32	3579	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:32	3579	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:32	3579	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:32	3579	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:32	3579	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:32	3579	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:32	3579	[DEBUG]	Use field value for field published
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:32	3579	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field override
2023-10-13	13:27:32	3579	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:32	3579	[DEBUG]	Use field value for field slug
2023-10-13	13:27:32	3579	[DEBUG]	Process line 3579
2023-10-13	13:27:32	3579	[DEBUG]	Load a row
2023-10-13	13:27:32	3579	[DEBUG]	Processing item: 4550170898434
2023-10-13	13:27:32	3579	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:32	3579	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:32	3579	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8973_208'
2023-10-13	13:27:32	3579	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:32	3579	[DEBUG]	Processing product tax
2023-10-13	13:27:32	3579	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:32	3579	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:32	3579	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:32	3579	[DEBUG]	Query for Product
2023-10-13	13:27:32	3579	[DEBUG]	Executed store
2023-10-13	13:27:32	3579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863070','4550170898434','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:32	3579	[DEBUG]	No parent found
2023-10-13	13:27:32	3579	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863070 AND customfield_value = 'stockable'
2023-10-13	13:27:32	3579	[DEBUG]	Check product language entry
2023-10-13	13:27:32	3579	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863071
2023-10-13	13:27:32	3579	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:32	3579	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170898434' AND `virtuemart_product_id` != 1863071
2023-10-13	13:27:32	3579	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:32	3579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863071, '4550170898434')
2023-10-13	13:27:32	3579	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:32	3579	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-sl-m5130-droit-lg-10-vitesses-rf-indicateur-de-vitesse-box-aucune-unitaire' AND `virtuemart_product_id` != 1863071
2023-10-13	13:27:32	3579	[DEBUG]	Query for ProductLang
2023-10-13	13:27:32	3579	[DEBUG]	Executed store
2023-10-13	13:27:32	3579	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette SL-M5130 droit LG 10-vitesses RF indicateur de vitesse box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-sl-m5130-droit-lg-10-vitesses-rf-indicateur-de-vitesse-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1863071'
2023-10-13	13:27:32	3579	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_80570_0.jpg
2023-10-13	13:27:32	3579	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:32	3579	[DEBUG]	Process image file
2023-10-13	13:27:32	3579	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:32	3579	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:32	3579	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_80570_0.jpg
2023-10-13	13:27:32	3579	[DEBUG]	Full name target: bcprisme/70_80570_0.jpg
2023-10-13	13:27:33	3579	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:33	3579	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_80570_0.jpg'
2023-10-13	13:27:33	3579	[DEBUG]	Query for Media
2023-10-13	13:27:33	3579	[DEBUG]	Executed store
2023-10-13	13:27:33	3579	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_80570_0.jpg',`file_url_thumb`='bcprisme/70_80570_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1196879'
2023-10-13	13:27:33	3579	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:33	3579	[DEBUG]	Executed store
2023-10-13	13:27:33	3579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863071','1196879','1')
2023-10-13	13:27:33	3579	[DEBUG]	Store product image relation
2023-10-13	13:27:33	3579	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:33	3579	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863071 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:33	3579	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:33	3579	[DEBUG]	Executed store
2023-10-13	13:27:33	3579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863071','0','45.4038997214485','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:33	3579	[DEBUG]	Checking manufacturer
2023-10-13	13:27:33	3579	[DEBUG]	Load a row
2023-10-13	13:27:33	3579	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:33	3579	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:33	3579	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:33	3579	[DEBUG]	Executed store
2023-10-13	13:27:33	3579	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:33	3579	[DEBUG]	Manufacturer exists
2023-10-13	13:27:33	3579	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:33	3579	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:33	3579	[DEBUG]	Executed store
2023-10-13	13:27:33	3579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863071','26')
2023-10-13	13:27:33	3579	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:33	3579	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:33	3579	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863071 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:33	3579	[DEBUG]	Store custom available field
2023-10-13	13:27:33	3579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863071,3,'',1)
2023-10-13	13:27:33	3579	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:33	3579	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:33	3579	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863071 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:33	3579	[DEBUG]	Store custom available field
2023-10-13	13:27:33	3579	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863071,6,'Unitaire',3)
2023-10-13	13:27:33	3579	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:33	3579	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:33	3579	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863070
2023-10-13	13:27:33	3579	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:33	3579	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863070\":[1863070,8,1,\"choisir la taille\"],\"1863071\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863070
2023-10-13	13:27:33	3579	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:33	3579	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863071
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:33	3580	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field taille
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:33	3580	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:33	3580	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:33	3580	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:33	3580	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:33	3580	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:33	3580	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field published
2023-10-13	13:27:33	3580	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:33	3580	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field override
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:33	3580	[DEBUG]	Use field value for field slug
2023-10-13	13:27:33	3580	[DEBUG]	Process line 3580
2023-10-13	13:27:33	3580	[DEBUG]	Load a row
2023-10-13	13:27:33	3580	[DEBUG]	Processing item: A_9078_84
2023-10-13	13:27:33	3580	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:33	3580	[DEBUG]	Processing product tax
2023-10-13	13:27:33	3580	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:33	3580	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:33	3580	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:33	3580	[DEBUG]	Query for Product
2023-10-13	13:27:33	3580	[DEBUG]	Executed store
2023-10-13	13:27:33	3580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9078_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:33	3580	[DEBUG]	Check product language entry
2023-10-13	13:27:33	3580	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863072
2023-10-13	13:27:33	3580	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:33	3580	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9078_84' AND `virtuemart_product_id` != 1863072
2023-10-13	13:27:33	3580	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:33	3580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863072, 'A_9078_84')
2023-10-13	13:27:33	3580	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:33	3580	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-shifter-sx-eagle-trigger-12-speed-rear-w-discrete-clamp-black-a17630027103618-black' AND `virtuemart_product_id` != 1863072
2023-10-13	13:27:33	3580	[DEBUG]	Query for ProductLang
2023-10-13	13:27:33	3580	[DEBUG]	Executed store
2023-10-13	13:27:33	3580	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7562J',`product_name`='SRAM Shifter SX Eagle Trigger 12 Speed Rear w Discrete Clamp Black A17630027103618 / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-shifter-sx-eagle-trigger-12-speed-rear-w-discrete-clamp-black-a17630027103618-black' WHERE `virtuemart_product_id` = '1863072'
2023-10-13	13:27:33	3580	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38105_shifter_sx_eagle_trigger_12sp_n-a.jpg
2023-10-13	13:27:33	3580	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:33	3580	[DEBUG]	Process image file
2023-10-13	13:27:33	3580	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:33	3580	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:33	3580	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38105_shifter_sx_eagle_trigger_12sp_n-a.jpg
2023-10-13	13:27:33	3580	[DEBUG]	Full name target: bcprisme/38105_shifter_sx_eagle_trigger_12sp_n-a.jpg
2023-10-13	13:27:34	3580	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:34	3580	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38105_shifter_sx_eagle_trigger_12sp_n-a.jpg'
2023-10-13	13:27:34	3580	[DEBUG]	Query for Media
2023-10-13	13:27:34	3580	[DEBUG]	Executed store
2023-10-13	13:27:34	3580	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38105_shifter_sx_eagle_trigger_12sp_n-a.jpg',`file_url_thumb`='bcprisme/38105_shifter_sx_eagle_trigger_12sp_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1256277'
2023-10-13	13:27:34	3580	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:34	3580	[DEBUG]	Executed store
2023-10-13	13:27:34	3580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863072','1256277','1')
2023-10-13	13:27:34	3580	[DEBUG]	Store product image relation
2023-10-13	13:27:34	3580	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:34	3580	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863072 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:34	3580	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:34	3580	[DEBUG]	Executed store
2023-10-13	13:27:34	3580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863072','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:34	3580	[DEBUG]	Checking manufacturer
2023-10-13	13:27:34	3580	[DEBUG]	Load a row
2023-10-13	13:27:34	3580	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:34	3580	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:34	3580	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:34	3580	[DEBUG]	Executed store
2023-10-13	13:27:34	3580	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:34	3580	[DEBUG]	Manufacturer exists
2023-10-13	13:27:34	3580	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:34	3580	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:34	3580	[DEBUG]	Executed store
2023-10-13	13:27:34	3580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863072','35')
2023-10-13	13:27:34	3580	[DEBUG]	Find the custom field ID
2023-10-13	13:27:34	3580	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:34	3580	[DEBUG]	No custom field ID found
2023-10-13	13:27:34	3580	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:34	3580	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:34	3580	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863072 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:34	3580	[DEBUG]	Store custom available field
2023-10-13	13:27:34	3580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863072,3,'0',1)
2023-10-13	13:27:34	3580	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:34	3580	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:34	3580	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863072 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:34	3580	[DEBUG]	Store custom available field
2023-10-13	13:27:34	3580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863072,6,'choisir la taille',3)
2023-10-13	13:27:34	3580	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:34	3580	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:34	3580	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:34	3580	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:34	3580	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863072 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:34	3580	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:34	3580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863072,8,1)
2023-10-13	13:27:34	3580	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:34	3580	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863072\":[1863072,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863072
2023-10-13	13:27:34	3580	[DEBUG]	Checking category
2023-10-13	13:27:34	3580	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:34	3580	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863072
2023-10-13	13:27:34	3580	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:34	3580	[DEBUG]	Executed store
2023-10-13	13:27:34	3580	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863072','7381')
2023-10-13	13:27:34	3580	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:34	3580	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863072 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:34	3580	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:34	3580	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863072
2023-10-13	13:27:34	3581	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:34	3581	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:34	3581	[DEBUG]	Use field value for field taille
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:34	3581	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:34	3581	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:34	3581	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:34	3581	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:34	3581	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:34	3581	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:34	3581	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:34	3581	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:34	3581	[DEBUG]	Use field value for field published
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:34	3581	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field override
2023-10-13	13:27:34	3581	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:34	3581	[DEBUG]	Use field value for field slug
2023-10-13	13:27:34	3581	[DEBUG]	Process line 3581
2023-10-13	13:27:34	3581	[DEBUG]	Load a row
2023-10-13	13:27:34	3581	[DEBUG]	Processing item: 710845837616
2023-10-13	13:27:34	3581	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:34	3581	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:34	3581	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9078_84'
2023-10-13	13:27:34	3581	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:34	3581	[DEBUG]	Processing product tax
2023-10-13	13:27:34	3581	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:34	3581	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:34	3581	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:34	3581	[DEBUG]	Query for Product
2023-10-13	13:27:34	3581	[DEBUG]	Executed store
2023-10-13	13:27:34	3581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863072','710845837616','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:34	3581	[DEBUG]	No parent found
2023-10-13	13:27:34	3581	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863072 AND customfield_value = 'stockable'
2023-10-13	13:27:34	3581	[DEBUG]	Check product language entry
2023-10-13	13:27:34	3581	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863073
2023-10-13	13:27:34	3581	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:34	3581	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845837616' AND `virtuemart_product_id` != 1863073
2023-10-13	13:27:34	3581	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:34	3581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863073, '710845837616')
2023-10-13	13:27:34	3581	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:34	3581	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-shifter-sx-eagle-trigger-12-speed-rear-w-discrete-clamp-black-a17630027103618-black-unitaire' AND `virtuemart_product_id` != 1863073
2023-10-13	13:27:34	3581	[DEBUG]	Query for ProductLang
2023-10-13	13:27:34	3581	[DEBUG]	Executed store
2023-10-13	13:27:34	3581	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Shifter SX Eagle Trigger 12 Speed Rear w Discrete Clamp Black A17630027103618 / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-shifter-sx-eagle-trigger-12-speed-rear-w-discrete-clamp-black-a17630027103618-black-unitaire' WHERE `virtuemart_product_id` = '1863073'
2023-10-13	13:27:34	3581	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38105_shifter_sx_eagle_trigger_12sp_n-a.jpg
2023-10-13	13:27:34	3581	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:34	3581	[DEBUG]	Process image file
2023-10-13	13:27:34	3581	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:34	3581	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:34	3581	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38105_shifter_sx_eagle_trigger_12sp_n-a.jpg
2023-10-13	13:27:34	3581	[DEBUG]	Full name target: bcprisme/38105_shifter_sx_eagle_trigger_12sp_n-a.jpg
2023-10-13	13:27:35	3581	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:35	3581	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38105_shifter_sx_eagle_trigger_12sp_n-a.jpg'
2023-10-13	13:27:35	3581	[DEBUG]	Query for Media
2023-10-13	13:27:35	3581	[DEBUG]	Executed store
2023-10-13	13:27:35	3581	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38105_shifter_sx_eagle_trigger_12sp_n-a.jpg',`file_url_thumb`='bcprisme/38105_shifter_sx_eagle_trigger_12sp_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1256277'
2023-10-13	13:27:35	3581	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:35	3581	[DEBUG]	Executed store
2023-10-13	13:27:35	3581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863073','1256277','1')
2023-10-13	13:27:35	3581	[DEBUG]	Store product image relation
2023-10-13	13:27:35	3581	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:35	3581	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863073 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:35	3581	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:35	3581	[DEBUG]	Executed store
2023-10-13	13:27:35	3581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863073','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:35	3581	[DEBUG]	Checking manufacturer
2023-10-13	13:27:35	3581	[DEBUG]	Load a row
2023-10-13	13:27:35	3581	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:35	3581	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:35	3581	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:35	3581	[DEBUG]	Executed store
2023-10-13	13:27:35	3581	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:35	3581	[DEBUG]	Manufacturer exists
2023-10-13	13:27:35	3581	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:35	3581	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:35	3581	[DEBUG]	Executed store
2023-10-13	13:27:35	3581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863073','35')
2023-10-13	13:27:35	3581	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:35	3581	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:35	3581	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863073 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:36	3581	[DEBUG]	Store custom available field
2023-10-13	13:27:36	3581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863073,3,'',1)
2023-10-13	13:27:36	3581	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:36	3581	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:36	3581	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863073 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:36	3581	[DEBUG]	Store custom available field
2023-10-13	13:27:36	3581	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863073,6,'Unitaire',3)
2023-10-13	13:27:36	3581	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:36	3581	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:36	3581	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863072
2023-10-13	13:27:36	3581	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:36	3581	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863072\":[1863072,8,1,\"choisir la taille\"],\"1863073\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863072
2023-10-13	13:27:36	3581	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:36	3581	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863073
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:36	3582	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field taille
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:36	3582	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:36	3582	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:36	3582	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:36	3582	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:36	3582	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:36	3582	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field published
2023-10-13	13:27:36	3582	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:36	3582	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field override
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:36	3582	[DEBUG]	Use field value for field slug
2023-10-13	13:27:36	3582	[DEBUG]	Process line 3582
2023-10-13	13:27:36	3582	[DEBUG]	Load a row
2023-10-13	13:27:36	3582	[DEBUG]	Processing item: A_9113_1
2023-10-13	13:27:36	3582	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:36	3582	[DEBUG]	Processing product tax
2023-10-13	13:27:36	3582	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:36	3582	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:36	3582	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:36	3582	[DEBUG]	Query for Product
2023-10-13	13:27:36	3582	[DEBUG]	Executed store
2023-10-13	13:27:36	3582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9113_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:36	3582	[DEBUG]	Check product language entry
2023-10-13	13:27:36	3582	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863074
2023-10-13	13:27:36	3582	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:36	3582	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9113_1' AND `virtuemart_product_id` != 1863074
2023-10-13	13:27:36	3582	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:36	3582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863074, 'A_9113_1')
2023-10-13	13:27:36	3582	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:36	3582	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-sl-m6100-droit-12-vitesses-rf-indicateur-de-vitesse-box-noir' AND `virtuemart_product_id` != 1863074
2023-10-13	13:27:36	3582	[DEBUG]	Query for ProductLang
2023-10-13	13:27:36	3582	[DEBUG]	Executed store
2023-10-13	13:27:36	3582	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.78039',`product_name`='SHIMANO Manette Deore SL-M6100 droit 12-vitesses RF indicateur de vitesse box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-sl-m6100-droit-12-vitesses-rf-indicateur-de-vitesse-box-noir' WHERE `virtuemart_product_id` = '1863074'
2023-10-13	13:27:36	3582	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_78037_00.jpg
2023-10-13	13:27:36	3582	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:36	3582	[DEBUG]	Process image file
2023-10-13	13:27:36	3582	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:36	3582	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:36	3582	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_78037_00.jpg
2023-10-13	13:27:36	3582	[DEBUG]	Full name target: bcprisme/70_78037_00.jpg
2023-10-13	13:27:37	3582	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:37	3582	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_78037_00.jpg'
2023-10-13	13:27:37	3582	[DEBUG]	Query for Media
2023-10-13	13:27:37	3582	[DEBUG]	Executed store
2023-10-13	13:27:37	3582	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_78037_00.jpg',`file_url_thumb`='bcprisme/70_78037_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1277817'
2023-10-13	13:27:37	3582	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:37	3582	[DEBUG]	Executed store
2023-10-13	13:27:37	3582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863074','1277817','1')
2023-10-13	13:27:37	3582	[DEBUG]	Store product image relation
2023-10-13	13:27:37	3582	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:37	3582	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863074 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:37	3582	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:37	3582	[DEBUG]	Executed store
2023-10-13	13:27:37	3582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863074','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:37	3582	[DEBUG]	Checking manufacturer
2023-10-13	13:27:37	3582	[DEBUG]	Load a row
2023-10-13	13:27:37	3582	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:37	3582	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:37	3582	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:37	3582	[DEBUG]	Executed store
2023-10-13	13:27:37	3582	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:37	3582	[DEBUG]	Manufacturer exists
2023-10-13	13:27:37	3582	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:37	3582	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:37	3582	[DEBUG]	Executed store
2023-10-13	13:27:37	3582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863074','26')
2023-10-13	13:27:37	3582	[DEBUG]	Find the custom field ID
2023-10-13	13:27:37	3582	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:37	3582	[DEBUG]	No custom field ID found
2023-10-13	13:27:37	3582	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:37	3582	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:37	3582	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863074 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:37	3582	[DEBUG]	Store custom available field
2023-10-13	13:27:37	3582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863074,3,'0',1)
2023-10-13	13:27:37	3582	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:37	3582	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:37	3582	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863074 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:37	3582	[DEBUG]	Store custom available field
2023-10-13	13:27:37	3582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863074,6,'choisir la taille',3)
2023-10-13	13:27:37	3582	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:37	3582	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:37	3582	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:37	3582	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:37	3582	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863074 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:37	3582	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:37	3582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863074,8,1)
2023-10-13	13:27:37	3582	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:37	3582	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863074\":[1863074,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863074
2023-10-13	13:27:37	3582	[DEBUG]	Checking category
2023-10-13	13:27:37	3582	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:37	3582	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863074
2023-10-13	13:27:37	3582	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:37	3582	[DEBUG]	Executed store
2023-10-13	13:27:37	3582	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863074','7381')
2023-10-13	13:27:37	3582	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:37	3582	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863074 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:37	3582	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:37	3582	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863074
2023-10-13	13:27:37	3583	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:37	3583	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:37	3583	[DEBUG]	Use field value for field taille
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:37	3583	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:37	3583	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:37	3583	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:37	3583	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:37	3583	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:37	3583	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:37	3583	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:37	3583	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:37	3583	[DEBUG]	Use field value for field published
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:37	3583	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field override
2023-10-13	13:27:37	3583	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:37	3583	[DEBUG]	Use field value for field slug
2023-10-13	13:27:37	3583	[DEBUG]	Process line 3583
2023-10-13	13:27:37	3583	[DEBUG]	Load a row
2023-10-13	13:27:37	3583	[DEBUG]	Processing item: 4550170635978
2023-10-13	13:27:37	3583	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:37	3583	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:37	3583	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9113_1'
2023-10-13	13:27:37	3583	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:37	3583	[DEBUG]	Processing product tax
2023-10-13	13:27:37	3583	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:37	3583	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:37	3583	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:37	3583	[DEBUG]	Query for Product
2023-10-13	13:27:37	3583	[DEBUG]	Executed store
2023-10-13	13:27:37	3583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863074','4550170635978','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:37	3583	[DEBUG]	No parent found
2023-10-13	13:27:37	3583	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863074 AND customfield_value = 'stockable'
2023-10-13	13:27:37	3583	[DEBUG]	Check product language entry
2023-10-13	13:27:37	3583	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863075
2023-10-13	13:27:37	3583	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:37	3583	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170635978' AND `virtuemart_product_id` != 1863075
2023-10-13	13:27:37	3583	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:37	3583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863075, '4550170635978')
2023-10-13	13:27:37	3583	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:37	3583	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-sl-m6100-droit-12-vitesses-rf-indicateur-de-vitesse-box-noir-unitaire' AND `virtuemart_product_id` != 1863075
2023-10-13	13:27:37	3583	[DEBUG]	Query for ProductLang
2023-10-13	13:27:37	3583	[DEBUG]	Executed store
2023-10-13	13:27:37	3583	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Deore SL-M6100 droit 12-vitesses RF indicateur de vitesse box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-sl-m6100-droit-12-vitesses-rf-indicateur-de-vitesse-box-noir-unitaire' WHERE `virtuemart_product_id` = '1863075'
2023-10-13	13:27:37	3583	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_78037_00.jpg
2023-10-13	13:27:37	3583	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:37	3583	[DEBUG]	Process image file
2023-10-13	13:27:37	3583	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:37	3583	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:37	3583	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_78037_00.jpg
2023-10-13	13:27:37	3583	[DEBUG]	Full name target: bcprisme/70_78037_00.jpg
2023-10-13	13:27:38	3583	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:38	3583	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_78037_00.jpg'
2023-10-13	13:27:38	3583	[DEBUG]	Query for Media
2023-10-13	13:27:38	3583	[DEBUG]	Executed store
2023-10-13	13:27:38	3583	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_78037_00.jpg',`file_url_thumb`='bcprisme/70_78037_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1277817'
2023-10-13	13:27:38	3583	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:38	3583	[DEBUG]	Executed store
2023-10-13	13:27:38	3583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863075','1277817','1')
2023-10-13	13:27:38	3583	[DEBUG]	Store product image relation
2023-10-13	13:27:38	3583	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:38	3583	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863075 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:38	3583	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:38	3583	[DEBUG]	Executed store
2023-10-13	13:27:38	3583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863075','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:38	3583	[DEBUG]	Checking manufacturer
2023-10-13	13:27:38	3583	[DEBUG]	Load a row
2023-10-13	13:27:38	3583	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:38	3583	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:38	3583	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:38	3583	[DEBUG]	Executed store
2023-10-13	13:27:38	3583	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:38	3583	[DEBUG]	Manufacturer exists
2023-10-13	13:27:38	3583	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:38	3583	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:38	3583	[DEBUG]	Executed store
2023-10-13	13:27:38	3583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863075','26')
2023-10-13	13:27:38	3583	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:38	3583	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:38	3583	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863075 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:38	3583	[DEBUG]	Store custom available field
2023-10-13	13:27:38	3583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863075,3,'',1)
2023-10-13	13:27:38	3583	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:38	3583	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:38	3583	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863075 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:38	3583	[DEBUG]	Store custom available field
2023-10-13	13:27:38	3583	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863075,6,'Unitaire',3)
2023-10-13	13:27:38	3583	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:38	3583	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:38	3583	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863074
2023-10-13	13:27:38	3583	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:38	3583	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863074\":[1863074,8,1,\"choisir la taille\"],\"1863075\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863074
2023-10-13	13:27:38	3583	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:38	3583	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863075
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:38	3584	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field taille
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:38	3584	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:38	3584	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:38	3584	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:38	3584	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:38	3584	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:38	3584	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field published
2023-10-13	13:27:38	3584	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:38	3584	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field override
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:38	3584	[DEBUG]	Use field value for field slug
2023-10-13	13:27:38	3584	[DEBUG]	Process line 3584
2023-10-13	13:27:38	3584	[DEBUG]	Load a row
2023-10-13	13:27:38	3584	[DEBUG]	Processing item: A_9149_1
2023-10-13	13:27:38	3584	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:38	3584	[DEBUG]	Processing product tax
2023-10-13	13:27:38	3584	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:38	3584	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:38	3584	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:38	3584	[DEBUG]	Query for Product
2023-10-13	13:27:38	3584	[DEBUG]	Executed store
2023-10-13	13:27:38	3584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9149_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:38	3584	[DEBUG]	Check product language entry
2023-10-13	13:27:38	3584	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863076
2023-10-13	13:27:38	3584	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:38	3584	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9149_1' AND `virtuemart_product_id` != 1863076
2023-10-13	13:27:38	3584	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:38	3584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863076, 'A_9149_1')
2023-10-13	13:27:38	3584	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:38	3584	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-manette-sram-rival-axs-hydraulique-12-vitesses-droite-flat-mount-noir' AND `virtuemart_product_id` != 1863076
2023-10-13	13:27:38	3584	[DEBUG]	Query for ProductLang
2023-10-13	13:27:38	3584	[DEBUG]	Executed store
2023-10-13	13:27:38	3584	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : D7566E',`product_name`='SRAM Manette Sram Rival AXS Hydraulique 12 vitesses, droite Flat Mount / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-manette-sram-rival-axs-hydraulique-12-vitesses-droite-flat-mount-noir' WHERE `virtuemart_product_id` = '1863076'
2023-10-13	13:27:38	3584	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38213_manette_sram_rival_axs_hydraulique_12_vitesses,_droite_flat_mount.jpg
2023-10-13	13:27:38	3584	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:38	3584	[DEBUG]	Process image file
2023-10-13	13:27:38	3584	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:38	3584	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:38	3584	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38213_manette_sram_rival_axs_hydraulique_12_vitesses,_droite_flat_mount.jpg
2023-10-13	13:27:38	3584	[DEBUG]	Full name target: bcprisme/38213_manette_sram_rival_axs_hydraulique_12_vitesses,_droite_flat_mount.jpg
2023-10-13	13:27:39	3584	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:39	3584	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38213_manette_sram_rival_axs_hydraulique_12_vitesses,_droite_flat_mount.jpg'
2023-10-13	13:27:39	3584	[DEBUG]	Query for Media
2023-10-13	13:27:39	3584	[DEBUG]	Executed store
2023-10-13	13:27:39	3584	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38213_manette_sram_rival_axs_hydraulique_12_vitesses,_droite_flat_mount.jpg',`file_url_thumb`='bcprisme/38213_manette_sram_rival_axs_hydraulique_12_vitesses,_droite_flat_mount.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1288695'
2023-10-13	13:27:39	3584	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:39	3584	[DEBUG]	Executed store
2023-10-13	13:27:39	3584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863076','1288695','1')
2023-10-13	13:27:39	3584	[DEBUG]	Store product image relation
2023-10-13	13:27:39	3584	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:39	3584	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863076 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:39	3584	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:39	3584	[DEBUG]	Executed store
2023-10-13	13:27:39	3584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863076','0','221.912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:39	3584	[DEBUG]	Checking manufacturer
2023-10-13	13:27:39	3584	[DEBUG]	Load a row
2023-10-13	13:27:39	3584	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:39	3584	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:39	3584	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:39	3584	[DEBUG]	Executed store
2023-10-13	13:27:39	3584	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:39	3584	[DEBUG]	Manufacturer exists
2023-10-13	13:27:39	3584	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:39	3584	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:39	3584	[DEBUG]	Executed store
2023-10-13	13:27:39	3584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863076','35')
2023-10-13	13:27:39	3584	[DEBUG]	Find the custom field ID
2023-10-13	13:27:39	3584	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:39	3584	[DEBUG]	No custom field ID found
2023-10-13	13:27:39	3584	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:39	3584	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:39	3584	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863076 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:39	3584	[DEBUG]	Store custom available field
2023-10-13	13:27:39	3584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863076,3,'0',1)
2023-10-13	13:27:39	3584	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:39	3584	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:39	3584	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863076 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:39	3584	[DEBUG]	Store custom available field
2023-10-13	13:27:39	3584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863076,6,'choisir la taille',3)
2023-10-13	13:27:39	3584	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:39	3584	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:39	3584	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:39	3584	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:39	3584	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863076 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:39	3584	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:39	3584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863076,8,1)
2023-10-13	13:27:39	3584	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:39	3584	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863076\":[1863076,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863076
2023-10-13	13:27:39	3584	[DEBUG]	Checking category
2023-10-13	13:27:39	3584	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:39	3584	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863076
2023-10-13	13:27:39	3584	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:39	3584	[DEBUG]	Executed store
2023-10-13	13:27:39	3584	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863076','7381')
2023-10-13	13:27:39	3584	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:39	3584	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863076 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:39	3584	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:39	3584	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863076
2023-10-13	13:27:39	3585	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:39	3585	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:39	3585	[DEBUG]	Use field value for field taille
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:39	3585	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:39	3585	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:39	3585	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:39	3585	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:39	3585	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:39	3585	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:39	3585	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:39	3585	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:39	3585	[DEBUG]	Use field value for field published
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:39	3585	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field override
2023-10-13	13:27:39	3585	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:39	3585	[DEBUG]	Use field value for field slug
2023-10-13	13:27:39	3585	[DEBUG]	Process line 3585
2023-10-13	13:27:39	3585	[DEBUG]	Load a row
2023-10-13	13:27:39	3585	[DEBUG]	Processing item: 1024223657
2023-10-13	13:27:39	3585	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:39	3585	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:39	3585	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9149_1'
2023-10-13	13:27:39	3585	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:39	3585	[DEBUG]	Processing product tax
2023-10-13	13:27:39	3585	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:39	3585	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:39	3585	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:39	3585	[DEBUG]	Query for Product
2023-10-13	13:27:39	3585	[DEBUG]	Executed store
2023-10-13	13:27:39	3585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863076','1024223657','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:39	3585	[DEBUG]	No parent found
2023-10-13	13:27:39	3585	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863076 AND customfield_value = 'stockable'
2023-10-13	13:27:39	3585	[DEBUG]	Check product language entry
2023-10-13	13:27:39	3585	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863077
2023-10-13	13:27:39	3585	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:39	3585	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1024223657' AND `virtuemart_product_id` != 1863077
2023-10-13	13:27:39	3585	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:39	3585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863077, '1024223657')
2023-10-13	13:27:39	3585	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:39	3585	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-manette-sram-rival-axs-hydraulique-12-vitesses-droite-flat-mount-noir-unitaire' AND `virtuemart_product_id` != 1863077
2023-10-13	13:27:39	3585	[DEBUG]	Query for ProductLang
2023-10-13	13:27:39	3585	[DEBUG]	Executed store
2023-10-13	13:27:39	3585	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Manette Sram Rival AXS Hydraulique 12 vitesses, droite Flat Mount / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-manette-sram-rival-axs-hydraulique-12-vitesses-droite-flat-mount-noir-unitaire' WHERE `virtuemart_product_id` = '1863077'
2023-10-13	13:27:39	3585	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38213_manette_sram_rival_axs_hydraulique_12_vitesses,_droite_flat_mount.jpg
2023-10-13	13:27:39	3585	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:39	3585	[DEBUG]	Process image file
2023-10-13	13:27:39	3585	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:39	3585	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:39	3585	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38213_manette_sram_rival_axs_hydraulique_12_vitesses,_droite_flat_mount.jpg
2023-10-13	13:27:39	3585	[DEBUG]	Full name target: bcprisme/38213_manette_sram_rival_axs_hydraulique_12_vitesses,_droite_flat_mount.jpg
2023-10-13	13:27:40	3585	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:40	3585	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38213_manette_sram_rival_axs_hydraulique_12_vitesses,_droite_flat_mount.jpg'
2023-10-13	13:27:40	3585	[DEBUG]	Query for Media
2023-10-13	13:27:40	3585	[DEBUG]	Executed store
2023-10-13	13:27:40	3585	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38213_manette_sram_rival_axs_hydraulique_12_vitesses,_droite_flat_mount.jpg',`file_url_thumb`='bcprisme/38213_manette_sram_rival_axs_hydraulique_12_vitesses,_droite_flat_mount.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1288695'
2023-10-13	13:27:40	3585	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:40	3585	[DEBUG]	Executed store
2023-10-13	13:27:40	3585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863077','1288695','1')
2023-10-13	13:27:40	3585	[DEBUG]	Store product image relation
2023-10-13	13:27:40	3585	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:40	3585	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863077 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:40	3585	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:40	3585	[DEBUG]	Executed store
2023-10-13	13:27:40	3585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863077','0','221.912720519963','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:40	3585	[DEBUG]	Checking manufacturer
2023-10-13	13:27:40	3585	[DEBUG]	Load a row
2023-10-13	13:27:40	3585	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:40	3585	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:40	3585	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:40	3585	[DEBUG]	Executed store
2023-10-13	13:27:40	3585	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:40	3585	[DEBUG]	Manufacturer exists
2023-10-13	13:27:40	3585	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:40	3585	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:40	3585	[DEBUG]	Executed store
2023-10-13	13:27:40	3585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863077','35')
2023-10-13	13:27:40	3585	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:40	3585	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:40	3585	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863077 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:40	3585	[DEBUG]	Store custom available field
2023-10-13	13:27:40	3585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863077,3,'',1)
2023-10-13	13:27:40	3585	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:40	3585	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:40	3585	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863077 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:40	3585	[DEBUG]	Store custom available field
2023-10-13	13:27:40	3585	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863077,6,'Unitaire',3)
2023-10-13	13:27:40	3585	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:40	3585	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:40	3585	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863076
2023-10-13	13:27:40	3585	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:40	3585	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863076\":[1863076,8,1,\"choisir la taille\"],\"1863077\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863076
2023-10-13	13:27:40	3585	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:40	3585	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863077
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:40	3586	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field taille
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:40	3586	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:40	3586	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:40	3586	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:40	3586	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:40	3586	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:40	3586	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field published
2023-10-13	13:27:40	3586	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:40	3586	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field override
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:40	3586	[DEBUG]	Use field value for field slug
2023-10-13	13:27:40	3586	[DEBUG]	Process line 3586
2023-10-13	13:27:40	3586	[DEBUG]	Load a row
2023-10-13	13:27:40	3586	[DEBUG]	Processing item: A_9225_208
2023-10-13	13:27:40	3586	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:40	3586	[DEBUG]	Processing product tax
2023-10-13	13:27:40	3586	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:40	3586	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:40	3586	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:40	3586	[DEBUG]	Query for Product
2023-10-13	13:27:40	3586	[DEBUG]	Executed store
2023-10-13	13:27:40	3586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9225_208','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:40	3586	[DEBUG]	Check product language entry
2023-10-13	13:27:40	3586	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863078
2023-10-13	13:27:40	3586	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:40	3586	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9225_208' AND `virtuemart_product_id` != 1863078
2023-10-13	13:27:40	3586	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:40	3586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863078, 'A_9225_208')
2023-10-13	13:27:40	3586	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:40	3586	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-route-105-arriere-br-r7170-st-r7170-12vitesses-j-kit-box-aucune' AND `virtuemart_product_id` != 1863078
2023-10-13	13:27:40	3586	[DEBUG]	Query for ProductLang
2023-10-13	13:27:40	3586	[DEBUG]	Executed store
2023-10-13	13:27:40	3586	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.82606',`product_name`='SHIMANO Set fr. à dis. Route 105 arrière BR-R7170 ST-R7170 12vitesses J-Kit box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-route-105-arriere-br-r7170-st-r7170-12vitesses-j-kit-box-aucune' WHERE `virtuemart_product_id` = '1863078'
2023-10-13	13:27:40	3586	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_82605_0.jpg
2023-10-13	13:27:40	3586	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:40	3586	[DEBUG]	Process image file
2023-10-13	13:27:40	3586	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:40	3586	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:40	3586	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_82605_0.jpg
2023-10-13	13:27:40	3586	[DEBUG]	Full name target: bcprisme/73_82605_0.jpg
2023-10-13	13:27:41	3586	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:41	3586	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_82605_0.jpg'
2023-10-13	13:27:41	3586	[DEBUG]	Query for Media
2023-10-13	13:27:41	3586	[DEBUG]	Executed store
2023-10-13	13:27:41	3586	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_82605_0.jpg',`file_url_thumb`='bcprisme/73_82605_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1332472'
2023-10-13	13:27:41	3586	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:41	3586	[DEBUG]	Executed store
2023-10-13	13:27:41	3586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863078','1332472','1')
2023-10-13	13:27:41	3586	[DEBUG]	Store product image relation
2023-10-13	13:27:41	3586	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:41	3586	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863078 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:41	3586	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:41	3586	[DEBUG]	Executed store
2023-10-13	13:27:41	3586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863078','0','342.618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:41	3586	[DEBUG]	Checking manufacturer
2023-10-13	13:27:41	3586	[DEBUG]	Load a row
2023-10-13	13:27:41	3586	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:41	3586	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:41	3586	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:41	3586	[DEBUG]	Executed store
2023-10-13	13:27:41	3586	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:41	3586	[DEBUG]	Manufacturer exists
2023-10-13	13:27:41	3586	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:41	3586	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:41	3586	[DEBUG]	Executed store
2023-10-13	13:27:41	3586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863078','26')
2023-10-13	13:27:41	3586	[DEBUG]	Find the custom field ID
2023-10-13	13:27:41	3586	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:41	3586	[DEBUG]	No custom field ID found
2023-10-13	13:27:41	3586	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:41	3586	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:41	3586	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863078 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:41	3586	[DEBUG]	Store custom available field
2023-10-13	13:27:41	3586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863078,3,'0',1)
2023-10-13	13:27:41	3586	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:41	3586	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:41	3586	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863078 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:41	3586	[DEBUG]	Store custom available field
2023-10-13	13:27:41	3586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863078,6,'choisir la taille',3)
2023-10-13	13:27:41	3586	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:41	3586	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:41	3586	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:41	3586	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:41	3586	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863078 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:41	3586	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:41	3586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863078,8,1)
2023-10-13	13:27:41	3586	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:41	3586	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863078\":[1863078,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863078
2023-10-13	13:27:41	3586	[DEBUG]	Checking category
2023-10-13	13:27:41	3586	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:41	3586	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863078
2023-10-13	13:27:41	3586	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:41	3586	[DEBUG]	Executed store
2023-10-13	13:27:41	3586	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863078','7381')
2023-10-13	13:27:41	3586	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:41	3586	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863078 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:41	3586	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:41	3586	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863078
2023-10-13	13:27:41	3587	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:41	3587	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:41	3587	[DEBUG]	Use field value for field taille
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:41	3587	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:41	3587	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:41	3587	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:41	3587	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:41	3587	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:41	3587	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:41	3587	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:41	3587	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:41	3587	[DEBUG]	Use field value for field published
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:41	3587	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field override
2023-10-13	13:27:41	3587	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:41	3587	[DEBUG]	Use field value for field slug
2023-10-13	13:27:41	3587	[DEBUG]	Process line 3587
2023-10-13	13:27:41	3587	[DEBUG]	Load a row
2023-10-13	13:27:41	3587	[DEBUG]	Processing item: 4550170231453
2023-10-13	13:27:41	3587	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:41	3587	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:41	3587	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9225_208'
2023-10-13	13:27:41	3587	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:41	3587	[DEBUG]	Processing product tax
2023-10-13	13:27:41	3587	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:41	3587	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:41	3587	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:41	3587	[DEBUG]	Query for Product
2023-10-13	13:27:41	3587	[DEBUG]	Executed store
2023-10-13	13:27:41	3587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863078','4550170231453','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:41	3587	[DEBUG]	No parent found
2023-10-13	13:27:41	3587	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863078 AND customfield_value = 'stockable'
2023-10-13	13:27:41	3587	[DEBUG]	Check product language entry
2023-10-13	13:27:41	3587	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863079
2023-10-13	13:27:41	3587	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:41	3587	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170231453' AND `virtuemart_product_id` != 1863079
2023-10-13	13:27:41	3587	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:41	3587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863079, '4550170231453')
2023-10-13	13:27:41	3587	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:41	3587	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-route-105-arriere-br-r7170-st-r7170-12vitesses-j-kit-box-aucune-unitaire' AND `virtuemart_product_id` != 1863079
2023-10-13	13:27:41	3587	[DEBUG]	Query for ProductLang
2023-10-13	13:27:41	3587	[DEBUG]	Executed store
2023-10-13	13:27:41	3587	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. Route 105 arrière BR-R7170 ST-R7170 12vitesses J-Kit box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-route-105-arriere-br-r7170-st-r7170-12vitesses-j-kit-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1863079'
2023-10-13	13:27:41	3587	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_82605_0.jpg
2023-10-13	13:27:41	3587	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:41	3587	[DEBUG]	Process image file
2023-10-13	13:27:41	3587	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:41	3587	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:41	3587	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_82605_0.jpg
2023-10-13	13:27:41	3587	[DEBUG]	Full name target: bcprisme/73_82605_0.jpg
2023-10-13	13:27:42	3587	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:42	3587	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_82605_0.jpg'
2023-10-13	13:27:42	3587	[DEBUG]	Query for Media
2023-10-13	13:27:42	3587	[DEBUG]	Executed store
2023-10-13	13:27:42	3587	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_82605_0.jpg',`file_url_thumb`='bcprisme/73_82605_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1332472'
2023-10-13	13:27:42	3587	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:42	3587	[DEBUG]	Executed store
2023-10-13	13:27:42	3587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863079','1332472','1')
2023-10-13	13:27:42	3587	[DEBUG]	Store product image relation
2023-10-13	13:27:42	3587	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:42	3587	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863079 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:42	3587	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:42	3587	[DEBUG]	Executed store
2023-10-13	13:27:42	3587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863079','0','342.618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:42	3587	[DEBUG]	Checking manufacturer
2023-10-13	13:27:42	3587	[DEBUG]	Load a row
2023-10-13	13:27:42	3587	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:42	3587	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:42	3587	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:42	3587	[DEBUG]	Executed store
2023-10-13	13:27:42	3587	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:42	3587	[DEBUG]	Manufacturer exists
2023-10-13	13:27:42	3587	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:42	3587	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:42	3587	[DEBUG]	Executed store
2023-10-13	13:27:42	3587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863079','26')
2023-10-13	13:27:42	3587	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:42	3587	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:42	3587	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863079 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:42	3587	[DEBUG]	Store custom available field
2023-10-13	13:27:42	3587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863079,3,'',1)
2023-10-13	13:27:42	3587	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:42	3587	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:42	3587	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863079 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:42	3587	[DEBUG]	Store custom available field
2023-10-13	13:27:42	3587	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863079,6,'Unitaire',3)
2023-10-13	13:27:42	3587	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:42	3587	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:42	3587	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863078
2023-10-13	13:27:42	3587	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:42	3587	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863078\":[1863078,8,1,\"choisir la taille\"],\"1863079\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863078
2023-10-13	13:27:42	3587	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:42	3587	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863079
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:42	3588	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field taille
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:42	3588	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:42	3588	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:42	3588	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:42	3588	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:42	3588	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:42	3588	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field published
2023-10-13	13:27:42	3588	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:42	3588	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field override
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:42	3588	[DEBUG]	Use field value for field slug
2023-10-13	13:27:42	3588	[DEBUG]	Process line 3588
2023-10-13	13:27:42	3588	[DEBUG]	Load a row
2023-10-13	13:27:42	3588	[DEBUG]	Processing item: A_9226_208
2023-10-13	13:27:42	3588	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:42	3588	[DEBUG]	Processing product tax
2023-10-13	13:27:42	3588	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:42	3588	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:42	3588	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:42	3588	[DEBUG]	Query for Product
2023-10-13	13:27:42	3588	[DEBUG]	Executed store
2023-10-13	13:27:42	3588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9226_208','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:42	3588	[DEBUG]	Check product language entry
2023-10-13	13:27:42	3588	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863080
2023-10-13	13:27:42	3588	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:42	3588	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9226_208' AND `virtuemart_product_id` != 1863080
2023-10-13	13:27:42	3588	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:42	3588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863080, 'A_9226_208')
2023-10-13	13:27:42	3588	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:42	3588	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-route-105-avant-br-r7170-st-r7170-12vitesses-j-kit-box-aucune' AND `virtuemart_product_id` != 1863080
2023-10-13	13:27:42	3588	[DEBUG]	Query for ProductLang
2023-10-13	13:27:42	3588	[DEBUG]	Executed store
2023-10-13	13:27:42	3588	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 73.82605',`product_name`='SHIMANO Set fr. à dis. Route 105 avant BR-R7170 ST-R7170 12vitesses J-Kit box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-route-105-avant-br-r7170-st-r7170-12vitesses-j-kit-box-aucune' WHERE `virtuemart_product_id` = '1863080'
2023-10-13	13:27:42	3588	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_82605_0.jpg
2023-10-13	13:27:42	3588	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:42	3588	[DEBUG]	Process image file
2023-10-13	13:27:42	3588	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:42	3588	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:42	3588	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_82605_0.jpg
2023-10-13	13:27:42	3588	[DEBUG]	Full name target: bcprisme/73_82605_0.jpg
2023-10-13	13:27:43	3588	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:43	3588	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_82605_0.jpg'
2023-10-13	13:27:43	3588	[DEBUG]	Query for Media
2023-10-13	13:27:43	3588	[DEBUG]	Executed store
2023-10-13	13:27:43	3588	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_82605_0.jpg',`file_url_thumb`='bcprisme/73_82605_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1332472'
2023-10-13	13:27:43	3588	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:43	3588	[DEBUG]	Executed store
2023-10-13	13:27:43	3588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863080','1332472','1')
2023-10-13	13:27:43	3588	[DEBUG]	Store product image relation
2023-10-13	13:27:43	3588	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:43	3588	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863080 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:43	3588	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:43	3588	[DEBUG]	Executed store
2023-10-13	13:27:43	3588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863080','0','342.618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:43	3588	[DEBUG]	Checking manufacturer
2023-10-13	13:27:43	3588	[DEBUG]	Load a row
2023-10-13	13:27:43	3588	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:43	3588	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:43	3588	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:43	3588	[DEBUG]	Executed store
2023-10-13	13:27:43	3588	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:43	3588	[DEBUG]	Manufacturer exists
2023-10-13	13:27:43	3588	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:43	3588	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:43	3588	[DEBUG]	Executed store
2023-10-13	13:27:43	3588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863080','26')
2023-10-13	13:27:43	3588	[DEBUG]	Find the custom field ID
2023-10-13	13:27:43	3588	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:43	3588	[DEBUG]	No custom field ID found
2023-10-13	13:27:43	3588	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:43	3588	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:43	3588	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863080 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:43	3588	[DEBUG]	Store custom available field
2023-10-13	13:27:43	3588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863080,3,'0',1)
2023-10-13	13:27:43	3588	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:43	3588	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:43	3588	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863080 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:43	3588	[DEBUG]	Store custom available field
2023-10-13	13:27:43	3588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863080,6,'choisir la taille',3)
2023-10-13	13:27:43	3588	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:43	3588	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:43	3588	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:43	3588	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:43	3588	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863080 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:43	3588	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:43	3588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863080,8,1)
2023-10-13	13:27:43	3588	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:43	3588	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863080\":[1863080,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863080
2023-10-13	13:27:43	3588	[DEBUG]	Checking category
2023-10-13	13:27:43	3588	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:43	3588	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863080
2023-10-13	13:27:43	3588	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:43	3588	[DEBUG]	Executed store
2023-10-13	13:27:43	3588	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863080','7381')
2023-10-13	13:27:43	3588	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:43	3588	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863080 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:43	3588	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:43	3588	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863080
2023-10-13	13:27:43	3589	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:43	3589	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:43	3589	[DEBUG]	Use field value for field taille
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:43	3589	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:43	3589	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:43	3589	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:43	3589	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:43	3589	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:43	3589	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:43	3589	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:43	3589	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:43	3589	[DEBUG]	Use field value for field published
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:43	3589	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field override
2023-10-13	13:27:43	3589	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:43	3589	[DEBUG]	Use field value for field slug
2023-10-13	13:27:43	3589	[DEBUG]	Process line 3589
2023-10-13	13:27:43	3589	[DEBUG]	Load a row
2023-10-13	13:27:43	3589	[DEBUG]	Processing item: 4550170231521
2023-10-13	13:27:43	3589	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:43	3589	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:43	3589	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9226_208'
2023-10-13	13:27:43	3589	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:43	3589	[DEBUG]	Processing product tax
2023-10-13	13:27:43	3589	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:43	3589	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:43	3589	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:43	3589	[DEBUG]	Query for Product
2023-10-13	13:27:43	3589	[DEBUG]	Executed store
2023-10-13	13:27:43	3589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863080','4550170231521','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:43	3589	[DEBUG]	No parent found
2023-10-13	13:27:43	3589	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863080 AND customfield_value = 'stockable'
2023-10-13	13:27:43	3589	[DEBUG]	Check product language entry
2023-10-13	13:27:43	3589	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863081
2023-10-13	13:27:43	3589	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:43	3589	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170231521' AND `virtuemart_product_id` != 1863081
2023-10-13	13:27:43	3589	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:43	3589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863081, '4550170231521')
2023-10-13	13:27:43	3589	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:43	3589	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-fr-a-dis-route-105-avant-br-r7170-st-r7170-12vitesses-j-kit-box-aucune-unitaire' AND `virtuemart_product_id` != 1863081
2023-10-13	13:27:43	3589	[DEBUG]	Query for ProductLang
2023-10-13	13:27:43	3589	[DEBUG]	Executed store
2023-10-13	13:27:43	3589	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set fr. à dis. Route 105 avant BR-R7170 ST-R7170 12vitesses J-Kit box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-fr-a-dis-route-105-avant-br-r7170-st-r7170-12vitesses-j-kit-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1863081'
2023-10-13	13:27:43	3589	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_82605_0.jpg
2023-10-13	13:27:43	3589	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:43	3589	[DEBUG]	Process image file
2023-10-13	13:27:43	3589	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:43	3589	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:43	3589	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/73_82605_0.jpg
2023-10-13	13:27:43	3589	[DEBUG]	Full name target: bcprisme/73_82605_0.jpg
2023-10-13	13:27:44	3589	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:44	3589	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/73_82605_0.jpg'
2023-10-13	13:27:44	3589	[DEBUG]	Query for Media
2023-10-13	13:27:44	3589	[DEBUG]	Executed store
2023-10-13	13:27:44	3589	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/73_82605_0.jpg',`file_url_thumb`='bcprisme/73_82605_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1332472'
2023-10-13	13:27:44	3589	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:44	3589	[DEBUG]	Executed store
2023-10-13	13:27:44	3589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863081','1332472','1')
2023-10-13	13:27:44	3589	[DEBUG]	Store product image relation
2023-10-13	13:27:44	3589	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:44	3589	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863081 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:44	3589	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:44	3589	[DEBUG]	Executed store
2023-10-13	13:27:44	3589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863081','0','342.618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:44	3589	[DEBUG]	Checking manufacturer
2023-10-13	13:27:44	3589	[DEBUG]	Load a row
2023-10-13	13:27:44	3589	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:44	3589	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:44	3589	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:44	3589	[DEBUG]	Executed store
2023-10-13	13:27:44	3589	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:44	3589	[DEBUG]	Manufacturer exists
2023-10-13	13:27:44	3589	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:44	3589	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:44	3589	[DEBUG]	Executed store
2023-10-13	13:27:44	3589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863081','26')
2023-10-13	13:27:44	3589	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:44	3589	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:44	3589	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863081 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:44	3589	[DEBUG]	Store custom available field
2023-10-13	13:27:44	3589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863081,3,'',1)
2023-10-13	13:27:44	3589	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:44	3589	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:44	3589	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863081 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:44	3589	[DEBUG]	Store custom available field
2023-10-13	13:27:44	3589	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863081,6,'Unitaire',3)
2023-10-13	13:27:44	3589	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:44	3589	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:44	3589	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863080
2023-10-13	13:27:44	3589	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:44	3589	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863080\":[1863080,8,1,\"choisir la taille\"],\"1863081\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863080
2023-10-13	13:27:44	3589	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:44	3589	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863081
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:44	3590	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field taille
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:44	3590	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:44	3590	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:44	3590	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:44	3590	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:44	3590	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:44	3590	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:44	3590	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field published
2023-10-13	13:27:44	3590	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:44	3590	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field override
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:44	3590	[DEBUG]	Use field value for field slug
2023-10-13	13:27:44	3590	[DEBUG]	Process line 3590
2023-10-13	13:27:44	3590	[DEBUG]	Load a row
2023-10-13	13:27:44	3590	[DEBUG]	Processing item: A_9254_1
2023-10-13	13:27:44	3590	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:44	3590	[DEBUG]	Processing product tax
2023-10-13	13:27:44	3590	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:44	3590	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:44	3590	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:44	3590	[DEBUG]	Query for Product
2023-10-13	13:27:44	3590	[DEBUG]	Executed store
2023-10-13	13:27:44	3590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9254_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:44	3590	[DEBUG]	Check product language entry
2023-10-13	13:27:44	3590	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863082
2023-10-13	13:27:44	3590	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:44	3590	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9254_1' AND `virtuemart_product_id` != 1863082
2023-10-13	13:27:44	3590	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:44	3590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863082, 'A_9254_1')
2023-10-13	13:27:44	3590	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:44	3590	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-nexus-sl-c3000-droite-7-vitesses-revoshift-1700mm-p-cj-nx40-noir' AND `virtuemart_product_id` != 1863082
2023-10-13	13:27:44	3590	[DEBUG]	Query for ProductLang
2023-10-13	13:27:44	3590	[DEBUG]	Executed store
2023-10-13	13:27:44	3590	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.70041',`product_name`='SHIMANO Manette Nexus SL-C3000 droite 7-vitesses Revoshift 1700mm p/CJ-NX40 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-nexus-sl-c3000-droite-7-vitesses-revoshift-1700mm-p-cj-nx40-noir' WHERE `virtuemart_product_id` = '1863082'
2023-10-13	13:27:44	3590	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_7004.jpg has not been found.
2023-10-13	13:27:44	3590	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:44	3590	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863082 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:44	3590	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:44	3590	[DEBUG]	Executed store
2023-10-13	13:27:44	3590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863082','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:44	3590	[DEBUG]	Checking manufacturer
2023-10-13	13:27:44	3590	[DEBUG]	Load a row
2023-10-13	13:27:44	3590	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:44	3590	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:44	3590	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:44	3590	[DEBUG]	Executed store
2023-10-13	13:27:44	3590	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:44	3590	[DEBUG]	Manufacturer exists
2023-10-13	13:27:44	3590	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:44	3590	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:44	3590	[DEBUG]	Executed store
2023-10-13	13:27:44	3590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863082','26')
2023-10-13	13:27:44	3590	[DEBUG]	Find the custom field ID
2023-10-13	13:27:44	3590	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:44	3590	[DEBUG]	No custom field ID found
2023-10-13	13:27:44	3590	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:44	3590	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:44	3590	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863082 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:44	3590	[DEBUG]	Store custom available field
2023-10-13	13:27:44	3590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863082,3,'0',1)
2023-10-13	13:27:44	3590	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:44	3590	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:44	3590	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863082 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:44	3590	[DEBUG]	Store custom available field
2023-10-13	13:27:44	3590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863082,6,'choisir la taille',3)
2023-10-13	13:27:44	3590	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:44	3590	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:44	3590	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:44	3590	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:44	3590	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863082 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:44	3590	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:44	3590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863082,8,1)
2023-10-13	13:27:44	3590	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:44	3590	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863082\":[1863082,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863082
2023-10-13	13:27:44	3590	[DEBUG]	Checking category
2023-10-13	13:27:44	3590	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:44	3590	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863082
2023-10-13	13:27:44	3590	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:44	3590	[DEBUG]	Executed store
2023-10-13	13:27:44	3590	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863082','7381')
2023-10-13	13:27:44	3590	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:44	3590	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863082 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:44	3590	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:44	3590	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863082
2023-10-13	13:27:44	3591	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:44	3591	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:44	3591	[DEBUG]	Use field value for field taille
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:44	3591	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:44	3591	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:44	3591	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:44	3591	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:44	3591	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:44	3591	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:44	3591	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:44	3591	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:44	3591	[DEBUG]	Use field value for field published
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:44	3591	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field override
2023-10-13	13:27:44	3591	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:44	3591	[DEBUG]	Use field value for field slug
2023-10-13	13:27:44	3591	[DEBUG]	Process line 3591
2023-10-13	13:27:44	3591	[DEBUG]	Load a row
2023-10-13	13:27:44	3591	[DEBUG]	Processing item: 7630032507593
2023-10-13	13:27:44	3591	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:44	3591	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:44	3591	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9254_1'
2023-10-13	13:27:44	3591	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:44	3591	[DEBUG]	Processing product tax
2023-10-13	13:27:44	3591	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:44	3591	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:44	3591	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:44	3591	[DEBUG]	Query for Product
2023-10-13	13:27:44	3591	[DEBUG]	Executed store
2023-10-13	13:27:44	3591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863082','7630032507593','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:44	3591	[DEBUG]	No parent found
2023-10-13	13:27:44	3591	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863082 AND customfield_value = 'stockable'
2023-10-13	13:27:44	3591	[DEBUG]	Check product language entry
2023-10-13	13:27:44	3591	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863083
2023-10-13	13:27:44	3591	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:44	3591	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7630032507593' AND `virtuemart_product_id` != 1863083
2023-10-13	13:27:44	3591	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:44	3591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863083, '7630032507593')
2023-10-13	13:27:44	3591	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:44	3591	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-nexus-sl-c3000-droite-7-vitesses-revoshift-1700mm-p-cj-nx40-noir-unitaire' AND `virtuemart_product_id` != 1863083
2023-10-13	13:27:44	3591	[DEBUG]	Query for ProductLang
2023-10-13	13:27:44	3591	[DEBUG]	Executed store
2023-10-13	13:27:44	3591	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Nexus SL-C3000 droite 7-vitesses Revoshift 1700mm p/CJ-NX40 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-nexus-sl-c3000-droite-7-vitesses-revoshift-1700mm-p-cj-nx40-noir-unitaire' WHERE `virtuemart_product_id` = '1863083'
2023-10-13	13:27:44	3591	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_7004.jpg has not been found.
2023-10-13	13:27:44	3591	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:44	3591	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863083 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:44	3591	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:44	3591	[DEBUG]	Executed store
2023-10-13	13:27:44	3591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863083','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:44	3591	[DEBUG]	Checking manufacturer
2023-10-13	13:27:44	3591	[DEBUG]	Load a row
2023-10-13	13:27:44	3591	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:44	3591	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:44	3591	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:44	3591	[DEBUG]	Executed store
2023-10-13	13:27:44	3591	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:44	3591	[DEBUG]	Manufacturer exists
2023-10-13	13:27:44	3591	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:44	3591	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:44	3591	[DEBUG]	Executed store
2023-10-13	13:27:44	3591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863083','26')
2023-10-13	13:27:44	3591	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:44	3591	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:44	3591	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863083 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:44	3591	[DEBUG]	Store custom available field
2023-10-13	13:27:44	3591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863083,3,'',1)
2023-10-13	13:27:44	3591	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:44	3591	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:44	3591	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863083 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:44	3591	[DEBUG]	Store custom available field
2023-10-13	13:27:44	3591	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863083,6,'Unitaire',3)
2023-10-13	13:27:44	3591	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:44	3591	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:44	3591	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863082
2023-10-13	13:27:44	3591	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:44	3591	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863082\":[1863082,8,1,\"choisir la taille\"],\"1863083\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863082
2023-10-13	13:27:44	3591	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:44	3591	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863083
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:44	3592	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field taille
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:44	3592	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:44	3592	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:44	3592	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:44	3592	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:44	3592	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:44	3592	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field published
2023-10-13	13:27:44	3592	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:44	3592	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field override
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:44	3592	[DEBUG]	Use field value for field slug
2023-10-13	13:27:44	3592	[DEBUG]	Process line 3592
2023-10-13	13:27:44	3592	[DEBUG]	Load a row
2023-10-13	13:27:44	3592	[DEBUG]	Processing item: A_9431_84
2023-10-13	13:27:44	3592	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:44	3592	[DEBUG]	Processing product tax
2023-10-13	13:27:44	3592	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:44	3592	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:44	3592	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:44	3592	[DEBUG]	Query for Product
2023-10-13	13:27:44	3592	[DEBUG]	Executed store
2023-10-13	13:27:44	3592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9431_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:44	3592	[DEBUG]	Check product language entry
2023-10-13	13:27:44	3592	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863084
2023-10-13	13:27:44	3592	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:44	3592	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9431_84' AND `virtuemart_product_id` != 1863084
2023-10-13	13:27:44	3592	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:44	3592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863084, 'A_9431_84')
2023-10-13	13:27:44	3592	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:44	3592	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-hood-covers-rival-etap-axs-hydraulic-n-a-black' AND `virtuemart_product_id` != 1863084
2023-10-13	13:27:44	3592	[DEBUG]	Query for ProductLang
2023-10-13	13:27:44	3592	[DEBUG]	Executed store
2023-10-13	13:27:44	3592	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820400010000010000',`product_name`='SRAM Hood Covers Rival eTap AXS hydraulic N/A / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-hood-covers-rival-etap-axs-hydraulic-n-a-black' WHERE `virtuemart_product_id` = '1863084'
2023-10-13	13:27:44	3592	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38635_hood_covers_rival_etap_axs_hydraulic_n-a.jpg
2023-10-13	13:27:44	3592	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:44	3592	[DEBUG]	Process image file
2023-10-13	13:27:44	3592	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:44	3592	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:44	3592	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38635_hood_covers_rival_etap_axs_hydraulic_n-a.jpg
2023-10-13	13:27:44	3592	[DEBUG]	Full name target: bcprisme/38635_hood_covers_rival_etap_axs_hydraulic_n-a.jpg
2023-10-13	13:27:45	3592	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:45	3592	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38635_hood_covers_rival_etap_axs_hydraulic_n-a.jpg'
2023-10-13	13:27:45	3592	[DEBUG]	Query for Media
2023-10-13	13:27:45	3592	[DEBUG]	Executed store
2023-10-13	13:27:45	3592	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38635_hood_covers_rival_etap_axs_hydraulic_n-a.jpg',`file_url_thumb`='bcprisme/38635_hood_covers_rival_etap_axs_hydraulic_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412927'
2023-10-13	13:27:45	3592	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:45	3592	[DEBUG]	Executed store
2023-10-13	13:27:45	3592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863084','1412927','1')
2023-10-13	13:27:45	3592	[DEBUG]	Store product image relation
2023-10-13	13:27:45	3592	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:45	3592	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863084 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:45	3592	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:45	3592	[DEBUG]	Executed store
2023-10-13	13:27:45	3592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863084','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:45	3592	[DEBUG]	Checking manufacturer
2023-10-13	13:27:45	3592	[DEBUG]	Load a row
2023-10-13	13:27:45	3592	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:45	3592	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:45	3592	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:45	3592	[DEBUG]	Executed store
2023-10-13	13:27:45	3592	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:45	3592	[DEBUG]	Manufacturer exists
2023-10-13	13:27:45	3592	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:45	3592	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:45	3592	[DEBUG]	Executed store
2023-10-13	13:27:45	3592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863084','35')
2023-10-13	13:27:45	3592	[DEBUG]	Find the custom field ID
2023-10-13	13:27:45	3592	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:45	3592	[DEBUG]	No custom field ID found
2023-10-13	13:27:45	3592	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:45	3592	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:45	3592	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863084 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:45	3592	[DEBUG]	Store custom available field
2023-10-13	13:27:45	3592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863084,3,'0',1)
2023-10-13	13:27:45	3592	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:45	3592	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:45	3592	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863084 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:45	3592	[DEBUG]	Store custom available field
2023-10-13	13:27:45	3592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863084,6,'choisir la taille',3)
2023-10-13	13:27:45	3592	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:45	3592	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:45	3592	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:45	3592	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:45	3592	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863084 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:45	3592	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:45	3592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863084,8,1)
2023-10-13	13:27:45	3592	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:45	3592	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863084\":[1863084,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863084
2023-10-13	13:27:45	3592	[DEBUG]	Checking category
2023-10-13	13:27:45	3592	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:45	3592	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863084
2023-10-13	13:27:45	3592	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:45	3592	[DEBUG]	Executed store
2023-10-13	13:27:45	3592	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863084','7381')
2023-10-13	13:27:45	3592	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:45	3592	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863084 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:45	3592	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:45	3592	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863084
2023-10-13	13:27:45	3593	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:45	3593	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:45	3593	[DEBUG]	Use field value for field taille
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:45	3593	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:45	3593	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:45	3593	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:45	3593	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:45	3593	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:45	3593	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:45	3593	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:45	3593	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:45	3593	[DEBUG]	Use field value for field published
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:45	3593	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field override
2023-10-13	13:27:45	3593	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:45	3593	[DEBUG]	Use field value for field slug
2023-10-13	13:27:45	3593	[DEBUG]	Process line 3593
2023-10-13	13:27:45	3593	[DEBUG]	Load a row
2023-10-13	13:27:45	3593	[DEBUG]	Processing item: 710845866678
2023-10-13	13:27:45	3593	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:45	3593	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:45	3593	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9431_84'
2023-10-13	13:27:45	3593	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:45	3593	[DEBUG]	Processing product tax
2023-10-13	13:27:45	3593	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:45	3593	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:45	3593	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:45	3593	[DEBUG]	Query for Product
2023-10-13	13:27:45	3593	[DEBUG]	Executed store
2023-10-13	13:27:45	3593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863084','710845866678','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:45	3593	[DEBUG]	No parent found
2023-10-13	13:27:45	3593	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863084 AND customfield_value = 'stockable'
2023-10-13	13:27:45	3593	[DEBUG]	Check product language entry
2023-10-13	13:27:45	3593	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863085
2023-10-13	13:27:45	3593	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:45	3593	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845866678' AND `virtuemart_product_id` != 1863085
2023-10-13	13:27:45	3593	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:45	3593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863085, '710845866678')
2023-10-13	13:27:45	3593	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:45	3593	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-hood-covers-rival-etap-axs-hydraulic-n-a-black-unitaire' AND `virtuemart_product_id` != 1863085
2023-10-13	13:27:45	3593	[DEBUG]	Query for ProductLang
2023-10-13	13:27:45	3593	[DEBUG]	Executed store
2023-10-13	13:27:45	3593	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Hood Covers Rival eTap AXS hydraulic N/A / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-hood-covers-rival-etap-axs-hydraulic-n-a-black-unitaire' WHERE `virtuemart_product_id` = '1863085'
2023-10-13	13:27:45	3593	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38635_hood_covers_rival_etap_axs_hydraulic_n-a.jpg
2023-10-13	13:27:45	3593	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:45	3593	[DEBUG]	Process image file
2023-10-13	13:27:45	3593	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:45	3593	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:45	3593	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38635_hood_covers_rival_etap_axs_hydraulic_n-a.jpg
2023-10-13	13:27:45	3593	[DEBUG]	Full name target: bcprisme/38635_hood_covers_rival_etap_axs_hydraulic_n-a.jpg
2023-10-13	13:27:46	3593	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:46	3593	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38635_hood_covers_rival_etap_axs_hydraulic_n-a.jpg'
2023-10-13	13:27:46	3593	[DEBUG]	Query for Media
2023-10-13	13:27:46	3593	[DEBUG]	Executed store
2023-10-13	13:27:46	3593	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38635_hood_covers_rival_etap_axs_hydraulic_n-a.jpg',`file_url_thumb`='bcprisme/38635_hood_covers_rival_etap_axs_hydraulic_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412927'
2023-10-13	13:27:46	3593	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:46	3593	[DEBUG]	Executed store
2023-10-13	13:27:46	3593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863085','1412927','1')
2023-10-13	13:27:46	3593	[DEBUG]	Store product image relation
2023-10-13	13:27:46	3593	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:46	3593	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863085 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:46	3593	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:46	3593	[DEBUG]	Executed store
2023-10-13	13:27:46	3593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863085','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:46	3593	[DEBUG]	Checking manufacturer
2023-10-13	13:27:46	3593	[DEBUG]	Load a row
2023-10-13	13:27:46	3593	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:46	3593	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:46	3593	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:46	3593	[DEBUG]	Executed store
2023-10-13	13:27:46	3593	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:46	3593	[DEBUG]	Manufacturer exists
2023-10-13	13:27:46	3593	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:46	3593	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:46	3593	[DEBUG]	Executed store
2023-10-13	13:27:46	3593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863085','35')
2023-10-13	13:27:46	3593	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:46	3593	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:46	3593	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863085 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:46	3593	[DEBUG]	Store custom available field
2023-10-13	13:27:46	3593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863085,3,'',1)
2023-10-13	13:27:46	3593	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:46	3593	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:46	3593	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863085 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:46	3593	[DEBUG]	Store custom available field
2023-10-13	13:27:46	3593	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863085,6,'Unitaire',3)
2023-10-13	13:27:46	3593	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:46	3593	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:46	3593	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863084
2023-10-13	13:27:46	3593	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:46	3593	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863084\":[1863084,8,1,\"choisir la taille\"],\"1863085\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863084
2023-10-13	13:27:46	3593	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:46	3593	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863085
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:46	3594	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field taille
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:46	3594	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:46	3594	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:46	3594	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:46	3594	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:46	3594	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:46	3594	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field published
2023-10-13	13:27:46	3594	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:46	3594	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field override
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:46	3594	[DEBUG]	Use field value for field slug
2023-10-13	13:27:46	3594	[DEBUG]	Process line 3594
2023-10-13	13:27:46	3594	[DEBUG]	Load a row
2023-10-13	13:27:46	3594	[DEBUG]	Processing item: A_9432_84
2023-10-13	13:27:46	3594	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:46	3594	[DEBUG]	Processing product tax
2023-10-13	13:27:46	3594	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:46	3594	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:46	3594	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:46	3594	[DEBUG]	Query for Product
2023-10-13	13:27:46	3594	[DEBUG]	Executed store
2023-10-13	13:27:46	3594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9432_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:46	3594	[DEBUG]	Check product language entry
2023-10-13	13:27:46	3594	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863086
2023-10-13	13:27:46	3594	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:46	3594	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9432_84' AND `virtuemart_product_id` != 1863086
2023-10-13	13:27:46	3594	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:46	3594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863086, 'A_9432_84')
2023-10-13	13:27:46	3594	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:46	3594	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-hood-covers-red-force-etap-axs-hydraulic-n-a-black' AND `virtuemart_product_id` != 1863086
2023-10-13	13:27:46	3594	[DEBUG]	Query for ProductLang
2023-10-13	13:27:46	3594	[DEBUG]	Executed store
2023-10-13	13:27:46	3594	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 820400009300010000',`product_name`='SRAM Hood Covers Red/Force eTap AXS hydraulic N/A / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-hood-covers-red-force-etap-axs-hydraulic-n-a-black' WHERE `virtuemart_product_id` = '1863086'
2023-10-13	13:27:46	3594	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38636_hood_covers_red-force_etap_axs_hydraulic_n-a.jpg
2023-10-13	13:27:46	3594	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:46	3594	[DEBUG]	Process image file
2023-10-13	13:27:46	3594	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:46	3594	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:46	3594	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38636_hood_covers_red-force_etap_axs_hydraulic_n-a.jpg
2023-10-13	13:27:46	3594	[DEBUG]	Full name target: bcprisme/38636_hood_covers_red-force_etap_axs_hydraulic_n-a.jpg
2023-10-13	13:27:47	3594	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:47	3594	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38636_hood_covers_red-force_etap_axs_hydraulic_n-a.jpg'
2023-10-13	13:27:47	3594	[DEBUG]	Query for Media
2023-10-13	13:27:47	3594	[DEBUG]	Executed store
2023-10-13	13:27:47	3594	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38636_hood_covers_red-force_etap_axs_hydraulic_n-a.jpg',`file_url_thumb`='bcprisme/38636_hood_covers_red-force_etap_axs_hydraulic_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412929'
2023-10-13	13:27:47	3594	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:47	3594	[DEBUG]	Executed store
2023-10-13	13:27:47	3594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863086','1412929','1')
2023-10-13	13:27:47	3594	[DEBUG]	Store product image relation
2023-10-13	13:27:47	3594	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:47	3594	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863086 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:47	3594	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:47	3594	[DEBUG]	Executed store
2023-10-13	13:27:47	3594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863086','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:47	3594	[DEBUG]	Checking manufacturer
2023-10-13	13:27:47	3594	[DEBUG]	Load a row
2023-10-13	13:27:47	3594	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:47	3594	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:47	3594	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:47	3594	[DEBUG]	Executed store
2023-10-13	13:27:47	3594	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:47	3594	[DEBUG]	Manufacturer exists
2023-10-13	13:27:47	3594	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:47	3594	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:47	3594	[DEBUG]	Executed store
2023-10-13	13:27:47	3594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863086','35')
2023-10-13	13:27:47	3594	[DEBUG]	Find the custom field ID
2023-10-13	13:27:47	3594	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:47	3594	[DEBUG]	No custom field ID found
2023-10-13	13:27:47	3594	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:47	3594	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:47	3594	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863086 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:47	3594	[DEBUG]	Store custom available field
2023-10-13	13:27:47	3594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863086,3,'0',1)
2023-10-13	13:27:47	3594	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:47	3594	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:47	3594	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863086 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:47	3594	[DEBUG]	Store custom available field
2023-10-13	13:27:47	3594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863086,6,'choisir la taille',3)
2023-10-13	13:27:47	3594	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:47	3594	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:47	3594	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:47	3594	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:47	3594	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863086 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:47	3594	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:47	3594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863086,8,1)
2023-10-13	13:27:47	3594	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:47	3594	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863086\":[1863086,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863086
2023-10-13	13:27:47	3594	[DEBUG]	Checking category
2023-10-13	13:27:47	3594	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:47	3594	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863086
2023-10-13	13:27:47	3594	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:47	3594	[DEBUG]	Executed store
2023-10-13	13:27:47	3594	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863086','7381')
2023-10-13	13:27:47	3594	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:47	3594	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863086 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:47	3594	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:47	3594	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863086
2023-10-13	13:27:47	3595	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:47	3595	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:47	3595	[DEBUG]	Use field value for field taille
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:47	3595	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:47	3595	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:47	3595	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:47	3595	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:47	3595	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:47	3595	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:47	3595	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:47	3595	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:47	3595	[DEBUG]	Use field value for field published
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:47	3595	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field override
2023-10-13	13:27:47	3595	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:47	3595	[DEBUG]	Use field value for field slug
2023-10-13	13:27:47	3595	[DEBUG]	Process line 3595
2023-10-13	13:27:47	3595	[DEBUG]	Load a row
2023-10-13	13:27:47	3595	[DEBUG]	Processing item: 710845825903
2023-10-13	13:27:47	3595	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:47	3595	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:47	3595	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9432_84'
2023-10-13	13:27:47	3595	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:47	3595	[DEBUG]	Processing product tax
2023-10-13	13:27:47	3595	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:47	3595	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:47	3595	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:47	3595	[DEBUG]	Query for Product
2023-10-13	13:27:47	3595	[DEBUG]	Executed store
2023-10-13	13:27:47	3595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863086','710845825903','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:47	3595	[DEBUG]	No parent found
2023-10-13	13:27:47	3595	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863086 AND customfield_value = 'stockable'
2023-10-13	13:27:47	3595	[DEBUG]	Check product language entry
2023-10-13	13:27:47	3595	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863087
2023-10-13	13:27:47	3595	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:47	3595	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845825903' AND `virtuemart_product_id` != 1863087
2023-10-13	13:27:47	3595	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:47	3595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863087, '710845825903')
2023-10-13	13:27:47	3595	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:47	3595	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sram-hood-covers-red-force-etap-axs-hydraulic-n-a-black-unitaire' AND `virtuemart_product_id` != 1863087
2023-10-13	13:27:47	3595	[DEBUG]	Query for ProductLang
2023-10-13	13:27:47	3595	[DEBUG]	Executed store
2023-10-13	13:27:47	3595	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SRAM Hood Covers Red/Force eTap AXS hydraulic N/A / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sram-hood-covers-red-force-etap-axs-hydraulic-n-a-black-unitaire' WHERE `virtuemart_product_id` = '1863087'
2023-10-13	13:27:47	3595	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38636_hood_covers_red-force_etap_axs_hydraulic_n-a.jpg
2023-10-13	13:27:47	3595	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:47	3595	[DEBUG]	Process image file
2023-10-13	13:27:47	3595	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:47	3595	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:47	3595	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38636_hood_covers_red-force_etap_axs_hydraulic_n-a.jpg
2023-10-13	13:27:47	3595	[DEBUG]	Full name target: bcprisme/38636_hood_covers_red-force_etap_axs_hydraulic_n-a.jpg
2023-10-13	13:27:48	3595	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:48	3595	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38636_hood_covers_red-force_etap_axs_hydraulic_n-a.jpg'
2023-10-13	13:27:48	3595	[DEBUG]	Query for Media
2023-10-13	13:27:48	3595	[DEBUG]	Executed store
2023-10-13	13:27:48	3595	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38636_hood_covers_red-force_etap_axs_hydraulic_n-a.jpg',`file_url_thumb`='bcprisme/38636_hood_covers_red-force_etap_axs_hydraulic_n-a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1412929'
2023-10-13	13:27:48	3595	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:48	3595	[DEBUG]	Executed store
2023-10-13	13:27:48	3595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863087','1412929','1')
2023-10-13	13:27:48	3595	[DEBUG]	Store product image relation
2023-10-13	13:27:48	3595	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:48	3595	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863087 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:48	3595	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:48	3595	[DEBUG]	Executed store
2023-10-13	13:27:48	3595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863087','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:48	3595	[DEBUG]	Checking manufacturer
2023-10-13	13:27:48	3595	[DEBUG]	Load a row
2023-10-13	13:27:48	3595	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:48	3595	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:48	3595	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:48	3595	[DEBUG]	Executed store
2023-10-13	13:27:48	3595	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331227073197' WHERE `virtuemart_manufacturer_id` = '35'
2023-10-13	13:27:48	3595	[DEBUG]	Manufacturer exists
2023-10-13	13:27:48	3595	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 35
2023-10-13	13:27:48	3595	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:48	3595	[DEBUG]	Executed store
2023-10-13	13:27:48	3595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863087','35')
2023-10-13	13:27:48	3595	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:48	3595	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:48	3595	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863087 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:48	3595	[DEBUG]	Store custom available field
2023-10-13	13:27:48	3595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863087,3,'',1)
2023-10-13	13:27:48	3595	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:48	3595	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:48	3595	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863087 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:48	3595	[DEBUG]	Store custom available field
2023-10-13	13:27:48	3595	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863087,6,'Unitaire',3)
2023-10-13	13:27:48	3595	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:48	3595	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:48	3595	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863086
2023-10-13	13:27:48	3595	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:48	3595	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863086\":[1863086,8,1,\"choisir la taille\"],\"1863087\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863086
2023-10-13	13:27:48	3595	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:48	3595	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863087
2023-10-13	13:27:48	3596	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:48	3596	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:48	3596	[DEBUG]	Use field value for field taille
2023-10-13	13:27:48	3596	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:48	3596	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:48	3596	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:48	3596	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:48	3596	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:48	3596	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:48	3596	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:48	3596	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:48	3596	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:48	3596	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:48	3596	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:48	3596	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:48	3596	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:48	3596	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:48	3596	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:48	3596	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:48	3596	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:48	3596	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:49	3596	[DEBUG]	Use field value for field published
2023-10-13	13:27:49	3596	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:49	3596	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:49	3596	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:49	3596	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:49	3596	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:49	3596	[DEBUG]	Use field value for field override
2023-10-13	13:27:49	3596	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:49	3596	[DEBUG]	Use field value for field slug
2023-10-13	13:27:49	3596	[DEBUG]	Process line 3596
2023-10-13	13:27:49	3596	[DEBUG]	Load a row
2023-10-13	13:27:49	3596	[DEBUG]	Processing item: A_9464_1
2023-10-13	13:27:49	3596	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:49	3596	[DEBUG]	Processing product tax
2023-10-13	13:27:49	3596	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:49	3596	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:49	3596	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:49	3596	[DEBUG]	Query for Product
2023-10-13	13:27:49	3596	[DEBUG]	Executed store
2023-10-13	13:27:49	3596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9464_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:49	3596	[DEBUG]	Check product language entry
2023-10-13	13:27:49	3596	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863088
2023-10-13	13:27:49	3596	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:49	3596	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9464_1' AND `virtuemart_product_id` != 1863088
2023-10-13	13:27:49	3596	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:49	3596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863088, 'A_9464_1')
2023-10-13	13:27:49	3596	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:49	3596	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-xtr-sl-m9100-droite-12-vitesses-rapidfire-box-noir' AND `virtuemart_product_id` != 1863088
2023-10-13	13:27:49	3596	[DEBUG]	Query for ProductLang
2023-10-13	13:27:49	3596	[DEBUG]	Executed store
2023-10-13	13:27:49	3596	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.72628',`product_name`='SHIMANO Manette XTR SL-M9100 droite 12-vitesses Rapidfire box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-xtr-sl-m9100-droite-12-vitesses-rapidfire-box-noir' WHERE `virtuemart_product_id` = '1863088'
2023-10-13	13:27:49	3596	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_7262.jpg
2023-10-13	13:27:49	3596	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:49	3596	[DEBUG]	Process image file
2023-10-13	13:27:49	3596	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:49	3596	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:49	3596	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_7262.jpg
2023-10-13	13:27:49	3596	[DEBUG]	Full name target: bcprisme/70_7262.jpg
2023-10-13	13:27:49	3596	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:49	3596	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_7262.jpg'
2023-10-13	13:27:49	3596	[DEBUG]	Query for Media
2023-10-13	13:27:49	3596	[DEBUG]	Executed store
2023-10-13	13:27:49	3596	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_7262.jpg',`file_url_thumb`='bcprisme/70_7262.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1423997'
2023-10-13	13:27:49	3596	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:49	3596	[DEBUG]	Executed store
2023-10-13	13:27:49	3596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863088','1423997','1')
2023-10-13	13:27:49	3596	[DEBUG]	Store product image relation
2023-10-13	13:27:49	3596	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:49	3596	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863088 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:49	3596	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:49	3596	[DEBUG]	Executed store
2023-10-13	13:27:49	3596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863088','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:49	3596	[DEBUG]	Checking manufacturer
2023-10-13	13:27:49	3596	[DEBUG]	Load a row
2023-10-13	13:27:49	3596	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:49	3596	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:49	3596	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:49	3596	[DEBUG]	Executed store
2023-10-13	13:27:49	3596	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:49	3596	[DEBUG]	Manufacturer exists
2023-10-13	13:27:49	3596	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:49	3596	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:49	3596	[DEBUG]	Executed store
2023-10-13	13:27:49	3596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863088','26')
2023-10-13	13:27:49	3596	[DEBUG]	Find the custom field ID
2023-10-13	13:27:49	3596	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:50	3596	[DEBUG]	No custom field ID found
2023-10-13	13:27:50	3596	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:50	3596	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:50	3596	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863088 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:50	3596	[DEBUG]	Store custom available field
2023-10-13	13:27:50	3596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863088,3,'0',1)
2023-10-13	13:27:50	3596	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:50	3596	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:50	3596	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863088 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:50	3596	[DEBUG]	Store custom available field
2023-10-13	13:27:50	3596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863088,6,'choisir la taille',3)
2023-10-13	13:27:50	3596	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:50	3596	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:50	3596	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:50	3596	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:50	3596	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863088 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:50	3596	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:50	3596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863088,8,1)
2023-10-13	13:27:50	3596	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:50	3596	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863088\":[1863088,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863088
2023-10-13	13:27:50	3596	[DEBUG]	Checking category
2023-10-13	13:27:50	3596	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:50	3596	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863088
2023-10-13	13:27:50	3596	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:50	3596	[DEBUG]	Executed store
2023-10-13	13:27:50	3596	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863088','7381')
2023-10-13	13:27:50	3596	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:50	3596	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863088 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:50	3596	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:50	3596	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863088
2023-10-13	13:27:50	3597	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:50	3597	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:50	3597	[DEBUG]	Use field value for field taille
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:50	3597	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:50	3597	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:50	3597	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:50	3597	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:50	3597	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:50	3597	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:50	3597	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:50	3597	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:50	3597	[DEBUG]	Use field value for field published
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:50	3597	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field override
2023-10-13	13:27:50	3597	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:50	3597	[DEBUG]	Use field value for field slug
2023-10-13	13:27:50	3597	[DEBUG]	Process line 3597
2023-10-13	13:27:50	3597	[DEBUG]	Load a row
2023-10-13	13:27:50	3597	[DEBUG]	Processing item: 4524667882244
2023-10-13	13:27:50	3597	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:50	3597	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:50	3597	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9464_1'
2023-10-13	13:27:50	3597	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:50	3597	[DEBUG]	Processing product tax
2023-10-13	13:27:50	3597	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:50	3597	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:50	3597	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:50	3597	[DEBUG]	Query for Product
2023-10-13	13:27:50	3597	[DEBUG]	Executed store
2023-10-13	13:27:50	3597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863088','4524667882244','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:50	3597	[DEBUG]	No parent found
2023-10-13	13:27:50	3597	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863088 AND customfield_value = 'stockable'
2023-10-13	13:27:50	3597	[DEBUG]	Check product language entry
2023-10-13	13:27:50	3597	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863089
2023-10-13	13:27:50	3597	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:50	3597	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667882244' AND `virtuemart_product_id` != 1863089
2023-10-13	13:27:50	3597	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:50	3597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863089, '4524667882244')
2023-10-13	13:27:50	3597	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:50	3597	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-xtr-sl-m9100-droite-12-vitesses-rapidfire-box-noir-unitaire' AND `virtuemart_product_id` != 1863089
2023-10-13	13:27:50	3597	[DEBUG]	Query for ProductLang
2023-10-13	13:27:50	3597	[DEBUG]	Executed store
2023-10-13	13:27:50	3597	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette XTR SL-M9100 droite 12-vitesses Rapidfire box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-xtr-sl-m9100-droite-12-vitesses-rapidfire-box-noir-unitaire' WHERE `virtuemart_product_id` = '1863089'
2023-10-13	13:27:50	3597	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_7262.jpg
2023-10-13	13:27:50	3597	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:50	3597	[DEBUG]	Process image file
2023-10-13	13:27:50	3597	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:27:50	3597	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:27:50	3597	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_7262.jpg
2023-10-13	13:27:50	3597	[DEBUG]	Full name target: bcprisme/70_7262.jpg
2023-10-13	13:27:51	3597	[DEBUG]	Checking if the file_url exists
2023-10-13	13:27:51	3597	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/70_7262.jpg'
2023-10-13	13:27:51	3597	[DEBUG]	Query for Media
2023-10-13	13:27:51	3597	[DEBUG]	Executed store
2023-10-13	13:27:51	3597	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/70_7262.jpg',`file_url_thumb`='bcprisme/70_7262.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1423997'
2023-10-13	13:27:51	3597	[DEBUG]	Query for ProductMedia
2023-10-13	13:27:51	3597	[DEBUG]	Executed store
2023-10-13	13:27:51	3597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863089','1423997','1')
2023-10-13	13:27:51	3597	[DEBUG]	Store product image relation
2023-10-13	13:27:51	3597	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:51	3597	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863089 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:51	3597	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:51	3597	[DEBUG]	Executed store
2023-10-13	13:27:51	3597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863089','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:51	3597	[DEBUG]	Checking manufacturer
2023-10-13	13:27:51	3597	[DEBUG]	Load a row
2023-10-13	13:27:51	3597	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:51	3597	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:51	3597	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:51	3597	[DEBUG]	Executed store
2023-10-13	13:27:51	3597	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:51	3597	[DEBUG]	Manufacturer exists
2023-10-13	13:27:51	3597	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:51	3597	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:51	3597	[DEBUG]	Executed store
2023-10-13	13:27:51	3597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863089','26')
2023-10-13	13:27:51	3597	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:51	3597	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:51	3597	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863089 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:51	3597	[DEBUG]	Store custom available field
2023-10-13	13:27:51	3597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863089,3,'',1)
2023-10-13	13:27:51	3597	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:51	3597	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:51	3597	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863089 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:51	3597	[DEBUG]	Store custom available field
2023-10-13	13:27:51	3597	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863089,6,'Unitaire',3)
2023-10-13	13:27:51	3597	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:51	3597	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:51	3597	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863088
2023-10-13	13:27:51	3597	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:51	3597	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863088\":[1863088,8,1,\"choisir la taille\"],\"1863089\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863088
2023-10-13	13:27:51	3597	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:51	3597	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863089
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:51	3598	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field taille
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:51	3598	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:51	3598	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:51	3598	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:51	3598	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:51	3598	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:51	3598	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field published
2023-10-13	13:27:51	3598	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:51	3598	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field override
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:51	3598	[DEBUG]	Use field value for field slug
2023-10-13	13:27:51	3598	[DEBUG]	Process line 3598
2023-10-13	13:27:51	3598	[DEBUG]	Load a row
2023-10-13	13:27:51	3598	[DEBUG]	Processing item: A_9585_1
2023-10-13	13:27:51	3598	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:51	3598	[DEBUG]	Processing product tax
2023-10-13	13:27:51	3598	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:51	3598	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:51	3598	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:51	3598	[DEBUG]	Query for Product
2023-10-13	13:27:51	3598	[DEBUG]	Executed store
2023-10-13	13:27:51	3598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9585_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:51	3598	[DEBUG]	Check product language entry
2023-10-13	13:27:51	3598	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863090
2023-10-13	13:27:51	3598	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:51	3598	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9585_1' AND `virtuemart_product_id` != 1863090
2023-10-13	13:27:51	3598	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:51	3598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863090, 'A_9585_1')
2023-10-13	13:27:51	3598	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:51	3598	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-xtr-sl-m9100-i-droit-12-vitesses-rf-i-spec-ev-box-noir' AND `virtuemart_product_id` != 1863090
2023-10-13	13:27:51	3598	[DEBUG]	Query for ProductLang
2023-10-13	13:27:51	3598	[DEBUG]	Executed store
2023-10-13	13:27:51	3598	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.72625',`product_name`='SHIMANO Manette XTR SL-M9100-I droit 12-vitesses RF I-Spec EV box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-xtr-sl-m9100-i-droit-12-vitesses-rf-i-spec-ev-box-noir' WHERE `virtuemart_product_id` = '1863090'
2023-10-13	13:27:51	3598	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38953_manette_xtr_sl-m9100-i_droit_12-vitesses_rf_i-spec_ev_box.jpg has not been found.
2023-10-13	13:27:51	3598	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:51	3598	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863090 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:51	3598	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:51	3598	[DEBUG]	Executed store
2023-10-13	13:27:51	3598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863090','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:51	3598	[DEBUG]	Checking manufacturer
2023-10-13	13:27:51	3598	[DEBUG]	Load a row
2023-10-13	13:27:51	3598	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:51	3598	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:51	3598	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:51	3598	[DEBUG]	Executed store
2023-10-13	13:27:51	3598	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:51	3598	[DEBUG]	Manufacturer exists
2023-10-13	13:27:51	3598	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:51	3598	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:51	3598	[DEBUG]	Executed store
2023-10-13	13:27:51	3598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863090','26')
2023-10-13	13:27:51	3598	[DEBUG]	Find the custom field ID
2023-10-13	13:27:51	3598	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:51	3598	[DEBUG]	No custom field ID found
2023-10-13	13:27:51	3598	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:51	3598	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:51	3598	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863090 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:51	3598	[DEBUG]	Store custom available field
2023-10-13	13:27:51	3598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863090,3,'0',1)
2023-10-13	13:27:51	3598	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:51	3598	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:51	3598	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863090 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:51	3598	[DEBUG]	Store custom available field
2023-10-13	13:27:51	3598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863090,6,'choisir la taille',3)
2023-10-13	13:27:51	3598	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:51	3598	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:51	3598	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:51	3598	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:51	3598	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863090 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:51	3598	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:51	3598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863090,8,1)
2023-10-13	13:27:51	3598	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:51	3598	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863090\":[1863090,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863090
2023-10-13	13:27:51	3598	[DEBUG]	Checking category
2023-10-13	13:27:51	3598	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:51	3598	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863090
2023-10-13	13:27:51	3598	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:51	3598	[DEBUG]	Executed store
2023-10-13	13:27:51	3598	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863090','7381')
2023-10-13	13:27:51	3598	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:51	3598	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863090 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:51	3598	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:51	3598	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863090
2023-10-13	13:27:51	3599	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:51	3599	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:27:51	3599	[DEBUG]	Use field value for field taille
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:27:51	3599	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field category_path
2023-10-13	13:27:51	3599	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:51	3599	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:51	3599	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:51	3599	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:27:51	3599	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field product_weight
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:51	3599	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:51	3599	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:51	3599	[DEBUG]	Use field value for field published
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field custom_title
2023-10-13	13:27:51	3599	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field custom_param
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field override
2023-10-13	13:27:51	3599	[DEBUG]	Use default value for field public_price
2023-10-13	13:27:51	3599	[DEBUG]	Use field value for field slug
2023-10-13	13:27:51	3599	[DEBUG]	Process line 3599
2023-10-13	13:27:51	3599	[DEBUG]	Load a row
2023-10-13	13:27:51	3599	[DEBUG]	Processing item: 4524667882220
2023-10-13	13:27:51	3599	[DEBUG]	Looking for parent SKU
2023-10-13	13:27:51	3599	[DEBUG]	Checking product parent SKU
2023-10-13	13:27:51	3599	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9585_1'
2023-10-13	13:27:51	3599	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:51	3599	[DEBUG]	Processing product tax
2023-10-13	13:27:51	3599	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:51	3599	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:51	3599	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:51	3599	[DEBUG]	Query for Product
2023-10-13	13:27:51	3599	[DEBUG]	Executed store
2023-10-13	13:27:51	3599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863090','4524667882220','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:51	3599	[DEBUG]	No parent found
2023-10-13	13:27:51	3599	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863090 AND customfield_value = 'stockable'
2023-10-13	13:27:51	3599	[DEBUG]	Check product language entry
2023-10-13	13:27:51	3599	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863091
2023-10-13	13:27:51	3599	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:51	3599	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667882220' AND `virtuemart_product_id` != 1863091
2023-10-13	13:27:51	3599	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:51	3599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863091, '4524667882220')
2023-10-13	13:27:51	3599	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:51	3599	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-xtr-sl-m9100-i-droit-12-vitesses-rf-i-spec-ev-box-noir-unitaire' AND `virtuemart_product_id` != 1863091
2023-10-13	13:27:51	3599	[DEBUG]	Query for ProductLang
2023-10-13	13:27:51	3599	[DEBUG]	Executed store
2023-10-13	13:27:51	3599	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette XTR SL-M9100-I droit 12-vitesses RF I-Spec EV box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-xtr-sl-m9100-i-droit-12-vitesses-rf-i-spec-ev-box-noir-unitaire' WHERE `virtuemart_product_id` = '1863091'
2023-10-13	13:27:51	3599	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38953_manette_xtr_sl-m9100-i_droit_12-vitesses_rf_i-spec_ev_box.jpg has not been found.
2023-10-13	13:27:51	3599	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:51	3599	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863091 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:51	3599	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:51	3599	[DEBUG]	Executed store
2023-10-13	13:27:51	3599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863091','0','138.347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:51	3599	[DEBUG]	Checking manufacturer
2023-10-13	13:27:51	3599	[DEBUG]	Load a row
2023-10-13	13:27:51	3599	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:51	3599	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:51	3599	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:51	3599	[DEBUG]	Executed store
2023-10-13	13:27:51	3599	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:51	3599	[DEBUG]	Manufacturer exists
2023-10-13	13:27:51	3599	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:51	3599	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:51	3599	[DEBUG]	Executed store
2023-10-13	13:27:51	3599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863091','26')
2023-10-13	13:27:51	3599	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:51	3599	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:27:51	3599	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863091 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:51	3599	[DEBUG]	Store custom available field
2023-10-13	13:27:51	3599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863091,3,'',1)
2023-10-13	13:27:51	3599	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:51	3599	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:27:51	3599	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863091 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:51	3599	[DEBUG]	Store custom available field
2023-10-13	13:27:51	3599	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863091,6,'Unitaire',3)
2023-10-13	13:27:51	3599	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:51	3599	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:27:51	3599	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863090
2023-10-13	13:27:51	3599	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:51	3599	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863090\":[1863090,8,1,\"choisir la taille\"],\"1863091\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863090
2023-10-13	13:27:51	3599	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:51	3599	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863091
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field product_sku
2023-10-13	13:27:51	3600	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field taille
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field product_name
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field category_path
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field product_price
2023-10-13	13:27:51	3600	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field product_tax
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field file_url
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:27:51	3600	[DEBUG]	Use default value for field product_desc
2023-10-13	13:27:51	3600	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field product_availability
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field product_weight
2023-10-13	13:27:51	3600	[DEBUG]	Use default value for field product_unit
2023-10-13	13:27:51	3600	[DEBUG]	Use default value for field related_products
2023-10-13	13:27:51	3600	[DEBUG]	Use default value for field product_special
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field published
2023-10-13	13:27:51	3600	[DEBUG]	Use default value for field metadesc
2023-10-13	13:27:51	3600	[DEBUG]	Use default value for field metakey
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field custom_title
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field custom_value
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field custom_param
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field override
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field public_price
2023-10-13	13:27:51	3600	[DEBUG]	Use field value for field slug
2023-10-13	13:27:51	3600	[DEBUG]	Process line 3600
2023-10-13	13:27:51	3600	[DEBUG]	Load a row
2023-10-13	13:27:51	3600	[DEBUG]	Processing item: A_9674_208
2023-10-13	13:27:51	3600	[DEBUG]	Product tax: 7.7
2023-10-13	13:27:51	3600	[DEBUG]	Processing product tax
2023-10-13	13:27:51	3600	[DEBUG]	Check if calculation rule exists
2023-10-13	13:27:51	3600	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:27:51	3600	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:27:51	3600	[DEBUG]	Query for Product
2023-10-13	13:27:51	3600	[DEBUG]	Executed store
2023-10-13	13:27:51	3600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9674_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0')
2023-10-13	13:27:51	3600	[DEBUG]	Check product language entry
2023-10-13	13:27:51	3600	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863092
2023-10-13	13:27:51	3600	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:51	3600	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9674_208' AND `virtuemart_product_id` != 1863092
2023-10-13	13:27:51	3600	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:27:51	3600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863092, 'A_9674_208')
2023-10-13	13:27:51	3600	[DEBUG]	Check if the product slug exists
2023-10-13	13:27:51	3600	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-sl-m6000-gauche-2-3-vitesses-rapidfire-box-aucune' AND `virtuemart_product_id` != 1863092
2023-10-13	13:27:51	3600	[DEBUG]	Query for ProductLang
2023-10-13	13:27:51	3600	[DEBUG]	Executed store
2023-10-13	13:27:51	3600	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70.69762',`product_name`='SHIMANO Manette Deore SL-M6000 gauche 2/3-vitesses Rapidfire box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-sl-m6000-gauche-2-3-vitesses-rapidfire-box-aucune' WHERE `virtuemart_product_id` = '1863092'
2023-10-13	13:27:51	3600	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_6976.jpg has not been found.
2023-10-13	13:27:51	3600	[DEBUG]	Finding a product_price_id
2023-10-13	13:27:51	3600	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863092 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:27:51	3600	[DEBUG]	Query for ProductPrice
2023-10-13	13:27:51	3600	[DEBUG]	Executed store
2023-10-13	13:27:51	3600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863092','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:26:31','1593','2023-10-13 13:26:31','1593','0000-00-00 00:00:00','0')
2023-10-13	13:27:51	3600	[DEBUG]	Checking manufacturer
2023-10-13	13:27:51	3600	[DEBUG]	Load a row
2023-10-13	13:27:51	3600	[DEBUG]	Manufacturer already exists
2023-10-13	13:27:51	3600	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:51	3600	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:27:51	3600	[DEBUG]	Executed store
2023-10-13	13:27:51	3600	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:27:51	3600	[DEBUG]	Manufacturer exists
2023-10-13	13:27:51	3600	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:27:51	3600	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:27:51	3600	[DEBUG]	Executed store
2023-10-13	13:27:51	3600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863092','26')
2023-10-13	13:27:51	3600	[DEBUG]	Find the custom field ID
2023-10-13	13:27:51	3600	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:27:51	3600	[DEBUG]	No custom field ID found
2023-10-13	13:27:51	3600	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:27:51	3600	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:27:51	3600	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863092 AND `virtuemart_custom_id` = 3
2023-10-13	13:27:51	3600	[DEBUG]	Store custom available field
2023-10-13	13:27:51	3600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863092,3,'0',1)
2023-10-13	13:27:51	3600	[DEBUG]	Processing custom available field: taille
2023-10-13	13:27:51	3600	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:27:51	3600	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863092 AND `virtuemart_custom_id` = 6
2023-10-13	13:27:51	3600	[DEBUG]	Store custom available field
2023-10-13	13:27:51	3600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863092,6,'choisir la taille',3)
2023-10-13	13:27:51	3600	[DEBUG]	Process multi-variant fields
2023-10-13	13:27:51	3600	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:27:51	3600	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:27:51	3600	[DEBUG]	Find the multi variant product entry
2023-10-13	13:27:51	3600	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863092 AND `virtuemart_custom_id` = 8
2023-10-13	13:27:51	3600	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:27:51	3600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863092,8,1)
2023-10-13	13:27:51	3600	[DEBUG]	Store the updated customfield_params
2023-10-13	13:27:51	3600	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863092\":[1863092,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863092
2023-10-13	13:27:51	3600	[DEBUG]	Checking category
2023-10-13	13:27:51	3600	[DEBUG]	Get the existing categories for the product
2023-10-13	13:27:51	3600	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863092
2023-10-13	13:27:51	3600	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:27:51	3600	[DEBUG]	Executed store
2023-10-13	13:27:51	3600	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863092','7381')
2023-10-13	13:27:51	3600	[DEBUG]	Delete leftover product categories
2023-10-13	13:27:51	3600	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863092 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:27:51	3600	[DEBUG]	Update has fields after all processing
2023-10-13	13:27:51	3600	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863092
2023-10-13	13:28:11	3600	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:28:11	3600	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:28:11	3600	[DEBUG]	Load the fields to process
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: product_sku
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: taille
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: product_name
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: category_path
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: product_price
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: product_override_price
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: product_tax
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: file_url
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: product_desc
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: product_availability
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: product_weight
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: product_unit
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: related_products
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: product_special
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: published
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: metadesc
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: metakey
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: custom_title
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: custom_value
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: custom_param
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: override
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: public_price
2023-10-13	13:28:11	3600	[DEBUG]	Setup field: slug
2023-10-13	13:28:11	3600	[DEBUG]	Use the file for configuration
2023-10-13	13:28:11	3600	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:28:11	3600	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:28:11	3600	[DEBUG]	Load the custom fields
2023-10-13	13:28:11	3600	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:28:11	3600	[DEBUG]	Load stockable custom fields
2023-10-13	13:28:11	3600	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:28:11	3600	[DEBUG]	Load custom fields for all
2023-10-13	13:28:11	3600	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:28:11	3601	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:11	3601	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:11	3601	[DEBUG]	Use field value for field taille
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:11	3601	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:11	3601	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:11	3601	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:11	3601	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:11	3601	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:11	3601	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:11	3601	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:11	3601	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:11	3601	[DEBUG]	Use field value for field published
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:11	3601	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field override
2023-10-13	13:28:11	3601	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:11	3601	[DEBUG]	Use field value for field slug
2023-10-13	13:28:11	3601	[DEBUG]	Process line 3601
2023-10-13	13:28:11	3601	[DEBUG]	Check if the vendor exists
2023-10-13	13:28:11	3601	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '4524667390909'
2023-10-13	13:28:11	3601	[DEBUG]	Load a row
2023-10-13	13:28:11	3601	[DEBUG]	Processing item: 4524667390909
2023-10-13	13:28:11	3601	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:11	3601	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:11	3601	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9674_208'
2023-10-13	13:28:11	3601	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:11	3601	[DEBUG]	Processing product tax
2023-10-13	13:28:11	3601	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:11	3601	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:11	3601	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:11	3601	[DEBUG]	Query for Product
2023-10-13	13:28:11	3601	[DEBUG]	Executed store
2023-10-13	13:28:11	3601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863092','4524667390909','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:11	3601	[DEBUG]	No parent found
2023-10-13	13:28:11	3601	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863092 AND customfield_value = 'stockable'
2023-10-13	13:28:11	3601	[DEBUG]	Check product language entry
2023-10-13	13:28:11	3601	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863093
2023-10-13	13:28:11	3601	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:11	3601	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667390909' AND `virtuemart_product_id` != 1863093
2023-10-13	13:28:11	3601	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:11	3601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863093, '4524667390909')
2023-10-13	13:28:11	3601	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:11	3601	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-manette-deore-sl-m6000-gauche-2-3-vitesses-rapidfire-box-aucune-unitaire' AND `virtuemart_product_id` != 1863093
2023-10-13	13:28:11	3601	[DEBUG]	Query for ProductLang
2023-10-13	13:28:11	3601	[DEBUG]	Executed store
2023-10-13	13:28:11	3601	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Manette Deore SL-M6000 gauche 2/3-vitesses Rapidfire box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-manette-deore-sl-m6000-gauche-2-3-vitesses-rapidfire-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1863093'
2023-10-13	13:28:11	3601	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/70_6976.jpg has not been found.
2023-10-13	13:28:11	3601	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:11	3601	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863093 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:11	3601	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:11	3601	[DEBUG]	Executed store
2023-10-13	13:28:11	3601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863093','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:11	3601	[DEBUG]	Checking manufacturer
2023-10-13	13:28:11	3601	[DEBUG]	Load a row
2023-10-13	13:28:11	3601	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:11	3601	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:28:11	3601	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:11	3601	[DEBUG]	Executed store
2023-10-13	13:28:11	3601	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:28:11	3601	[DEBUG]	Manufacturer exists
2023-10-13	13:28:11	3601	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:28:11	3601	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:11	3601	[DEBUG]	Executed store
2023-10-13	13:28:11	3601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863093','26')
2023-10-13	13:28:11	3601	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:11	3601	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:11	3601	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863093 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:11	3601	[DEBUG]	Store custom available field
2023-10-13	13:28:11	3601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863093,3,'',1)
2023-10-13	13:28:11	3601	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:11	3601	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:11	3601	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863093 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:11	3601	[DEBUG]	Store custom available field
2023-10-13	13:28:11	3601	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863093,6,'Unitaire',3)
2023-10-13	13:28:11	3601	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:11	3601	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:11	3601	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863092
2023-10-13	13:28:11	3601	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:11	3601	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863092\":[1863092,8,1,\"choisir la taille\"],\"1863093\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863092
2023-10-13	13:28:11	3601	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:11	3601	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863093
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:11	3602	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field taille
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:11	3602	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:11	3602	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:11	3602	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:11	3602	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:11	3602	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:11	3602	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field published
2023-10-13	13:28:11	3602	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:11	3602	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field override
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:11	3602	[DEBUG]	Use field value for field slug
2023-10-13	13:28:11	3602	[DEBUG]	Process line 3602
2023-10-13	13:28:11	3602	[DEBUG]	Load a row
2023-10-13	13:28:11	3602	[DEBUG]	Processing item: A_9726_1
2023-10-13	13:28:11	3602	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:11	3602	[DEBUG]	Processing product tax
2023-10-13	13:28:11	3602	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:11	3602	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:11	3602	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:11	3602	[DEBUG]	Query for Product
2023-10-13	13:28:11	3602	[DEBUG]	Executed store
2023-10-13	13:28:11	3602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9726_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:11	3602	[DEBUG]	Check product language entry
2023-10-13	13:28:11	3602	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863094
2023-10-13	13:28:11	3602	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:11	3602	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9726_1' AND `virtuemart_product_id` != 1863094
2023-10-13	13:28:11	3602	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:11	3602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863094, 'A_9726_1')
2023-10-13	13:28:11	3602	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:11	3602	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-manette-st-r7020-gauche-2-vitesses-pour-frain-de-discque-noir-noir' AND `virtuemart_product_id` != 1863094
2023-10-13	13:28:11	3602	[DEBUG]	Query for ProductLang
2023-10-13	13:28:11	3602	[DEBUG]	Executed store
2023-10-13	13:28:11	3602	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 69.72066',`product_name`='SHIMANO Levier/manette ST-R7020 gauche 2-vitesses pour frain de discque noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-manette-st-r7020-gauche-2-vitesses-pour-frain-de-discque-noir-noir' WHERE `virtuemart_product_id` = '1863094'
2023-10-13	13:28:11	3602	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_72065_00.jpg
2023-10-13	13:28:11	3602	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:28:11	3602	[DEBUG]	Process image file
2023-10-13	13:28:11	3602	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:28:11	3602	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:11	3602	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_72065_00.jpg
2023-10-13	13:28:11	3602	[DEBUG]	Full name target: bcprisme/69_72065_00.jpg
2023-10-13	13:28:12	3602	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:12	3602	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/69_72065_00.jpg'
2023-10-13	13:28:12	3602	[DEBUG]	Query for Media
2023-10-13	13:28:12	3602	[DEBUG]	Executed store
2023-10-13	13:28:12	3602	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/69_72065_00.jpg',`file_url_thumb`='bcprisme/69_72065_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1554280'
2023-10-13	13:28:12	3602	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:12	3602	[DEBUG]	Executed store
2023-10-13	13:28:12	3602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863094','1554280','1')
2023-10-13	13:28:12	3602	[DEBUG]	Store product image relation
2023-10-13	13:28:12	3602	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:12	3602	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863094 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:12	3602	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:12	3602	[DEBUG]	Executed store
2023-10-13	13:28:12	3602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863094','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:12	3602	[DEBUG]	Checking manufacturer
2023-10-13	13:28:12	3602	[DEBUG]	Load a row
2023-10-13	13:28:12	3602	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:12	3602	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:28:12	3602	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:12	3602	[DEBUG]	Executed store
2023-10-13	13:28:12	3602	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:28:12	3602	[DEBUG]	Manufacturer exists
2023-10-13	13:28:12	3602	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:28:12	3602	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:12	3602	[DEBUG]	Executed store
2023-10-13	13:28:12	3602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863094','26')
2023-10-13	13:28:12	3602	[DEBUG]	Find the custom field ID
2023-10-13	13:28:12	3602	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:12	3602	[DEBUG]	No custom field ID found
2023-10-13	13:28:12	3602	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:12	3602	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:12	3602	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863094 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:12	3602	[DEBUG]	Store custom available field
2023-10-13	13:28:12	3602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863094,3,'0',1)
2023-10-13	13:28:12	3602	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:12	3602	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:12	3602	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863094 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:12	3602	[DEBUG]	Store custom available field
2023-10-13	13:28:12	3602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863094,6,'choisir la taille',3)
2023-10-13	13:28:12	3602	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:12	3602	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:12	3602	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:12	3602	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:12	3602	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863094 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:12	3602	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:12	3602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863094,8,1)
2023-10-13	13:28:12	3602	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:12	3602	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863094\":[1863094,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863094
2023-10-13	13:28:12	3602	[DEBUG]	Checking category
2023-10-13	13:28:12	3602	[DEBUG]	Check if category path exists: MANETTES DE VITESSES
2023-10-13	13:28:12	3602	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'MANETTES DE VITESSES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:28:12	3602	[DEBUG]	Check if category path exists: MANETTES VITESSES
2023-10-13	13:28:12	3602	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'MANETTES VITESSES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7379
2023-10-13	13:28:12	3602	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:12	3602	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863094
2023-10-13	13:28:12	3602	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:12	3602	[DEBUG]	Executed store
2023-10-13	13:28:12	3602	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863094','7381')
2023-10-13	13:28:12	3602	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:12	3602	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863094 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:28:12	3602	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:12	3602	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863094
2023-10-13	13:28:12	3603	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:12	3603	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:12	3603	[DEBUG]	Use field value for field taille
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:12	3603	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:12	3603	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:12	3603	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:12	3603	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:12	3603	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:12	3603	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:12	3603	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:12	3603	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:12	3603	[DEBUG]	Use field value for field published
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:12	3603	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field override
2023-10-13	13:28:12	3603	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:12	3603	[DEBUG]	Use field value for field slug
2023-10-13	13:28:12	3603	[DEBUG]	Process line 3603
2023-10-13	13:28:12	3603	[DEBUG]	Load a row
2023-10-13	13:28:12	3603	[DEBUG]	Processing item: 4524667241546
2023-10-13	13:28:12	3603	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:12	3603	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:12	3603	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9726_1'
2023-10-13	13:28:12	3603	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:12	3603	[DEBUG]	Processing product tax
2023-10-13	13:28:12	3603	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:12	3603	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:12	3603	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:12	3603	[DEBUG]	Query for Product
2023-10-13	13:28:12	3603	[DEBUG]	Executed store
2023-10-13	13:28:12	3603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863094','4524667241546','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:12	3603	[DEBUG]	No parent found
2023-10-13	13:28:12	3603	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863094 AND customfield_value = 'stockable'
2023-10-13	13:28:12	3603	[DEBUG]	Check product language entry
2023-10-13	13:28:12	3603	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863095
2023-10-13	13:28:12	3603	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:12	3603	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667241546' AND `virtuemart_product_id` != 1863095
2023-10-13	13:28:12	3603	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:12	3603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863095, '4524667241546')
2023-10-13	13:28:12	3603	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:12	3603	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-manette-st-r7020-gauche-2-vitesses-pour-frain-de-discque-noir-noir-unitaire' AND `virtuemart_product_id` != 1863095
2023-10-13	13:28:12	3603	[DEBUG]	Query for ProductLang
2023-10-13	13:28:12	3603	[DEBUG]	Executed store
2023-10-13	13:28:12	3603	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier/manette ST-R7020 gauche 2-vitesses pour frain de discque noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-manette-st-r7020-gauche-2-vitesses-pour-frain-de-discque-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1863095'
2023-10-13	13:28:12	3603	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_72065_00.jpg
2023-10-13	13:28:12	3603	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:28:12	3603	[DEBUG]	Process image file
2023-10-13	13:28:12	3603	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:28:12	3603	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:12	3603	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_72065_00.jpg
2023-10-13	13:28:12	3603	[DEBUG]	Full name target: bcprisme/69_72065_00.jpg
2023-10-13	13:28:13	3603	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:13	3603	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/69_72065_00.jpg'
2023-10-13	13:28:13	3603	[DEBUG]	Query for Media
2023-10-13	13:28:13	3603	[DEBUG]	Executed store
2023-10-13	13:28:13	3603	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/69_72065_00.jpg',`file_url_thumb`='bcprisme/69_72065_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1554280'
2023-10-13	13:28:13	3603	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:13	3603	[DEBUG]	Executed store
2023-10-13	13:28:13	3603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863095','1554280','1')
2023-10-13	13:28:13	3603	[DEBUG]	Store product image relation
2023-10-13	13:28:13	3603	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:13	3603	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863095 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:13	3603	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:13	3603	[DEBUG]	Executed store
2023-10-13	13:28:13	3603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863095','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:13	3603	[DEBUG]	Checking manufacturer
2023-10-13	13:28:13	3603	[DEBUG]	Load a row
2023-10-13	13:28:13	3603	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:13	3603	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:28:13	3603	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:13	3603	[DEBUG]	Executed store
2023-10-13	13:28:13	3603	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:28:13	3603	[DEBUG]	Manufacturer exists
2023-10-13	13:28:13	3603	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:28:13	3603	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:13	3603	[DEBUG]	Executed store
2023-10-13	13:28:13	3603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863095','26')
2023-10-13	13:28:13	3603	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:13	3603	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:13	3603	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863095 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:13	3603	[DEBUG]	Store custom available field
2023-10-13	13:28:13	3603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863095,3,'',1)
2023-10-13	13:28:13	3603	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:13	3603	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:13	3603	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863095 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:13	3603	[DEBUG]	Store custom available field
2023-10-13	13:28:13	3603	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863095,6,'Unitaire',3)
2023-10-13	13:28:13	3603	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:13	3603	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:13	3603	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863094
2023-10-13	13:28:13	3603	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:13	3603	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863094\":[1863094,8,1,\"choisir la taille\"],\"1863095\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863094
2023-10-13	13:28:13	3603	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:13	3603	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863095
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:13	3604	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field taille
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:13	3604	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:13	3604	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:13	3604	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:13	3604	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:13	3604	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:13	3604	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field published
2023-10-13	13:28:13	3604	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:13	3604	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field override
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:13	3604	[DEBUG]	Use field value for field slug
2023-10-13	13:28:13	3604	[DEBUG]	Process line 3604
2023-10-13	13:28:13	3604	[DEBUG]	Load a row
2023-10-13	13:28:13	3604	[DEBUG]	Processing item: A_9727_1
2023-10-13	13:28:13	3604	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:13	3604	[DEBUG]	Processing product tax
2023-10-13	13:28:13	3604	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:13	3604	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:13	3604	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:13	3604	[DEBUG]	Query for Product
2023-10-13	13:28:13	3604	[DEBUG]	Executed store
2023-10-13	13:28:13	3604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9727_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:13	3604	[DEBUG]	Check product language entry
2023-10-13	13:28:13	3604	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863096
2023-10-13	13:28:13	3604	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:13	3604	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9727_1' AND `virtuemart_product_id` != 1863096
2023-10-13	13:28:13	3604	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:13	3604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863096, 'A_9727_1')
2023-10-13	13:28:13	3604	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:13	3604	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-manette-105-st-r7020-droite-11-vitesses-pour-frain-de-discque-noi-noir' AND `virtuemart_product_id` != 1863096
2023-10-13	13:28:13	3604	[DEBUG]	Query for ProductLang
2023-10-13	13:28:13	3604	[DEBUG]	Executed store
2023-10-13	13:28:13	3604	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 69.72065',`product_name`='SHIMANO Levier/manette 105 ST-R7020 droite 11 vitesses pour frain de discque noi / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-manette-105-st-r7020-droite-11-vitesses-pour-frain-de-discque-noi-noir' WHERE `virtuemart_product_id` = '1863096'
2023-10-13	13:28:13	3604	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_72065_00.jpg
2023-10-13	13:28:13	3604	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:28:13	3604	[DEBUG]	Process image file
2023-10-13	13:28:13	3604	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:28:13	3604	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:13	3604	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_72065_00.jpg
2023-10-13	13:28:13	3604	[DEBUG]	Full name target: bcprisme/69_72065_00.jpg
2023-10-13	13:28:14	3604	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:14	3604	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/69_72065_00.jpg'
2023-10-13	13:28:14	3604	[DEBUG]	Query for Media
2023-10-13	13:28:14	3604	[DEBUG]	Executed store
2023-10-13	13:28:14	3604	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/69_72065_00.jpg',`file_url_thumb`='bcprisme/69_72065_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1554280'
2023-10-13	13:28:14	3604	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:14	3604	[DEBUG]	Executed store
2023-10-13	13:28:14	3604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863096','1554280','1')
2023-10-13	13:28:14	3604	[DEBUG]	Store product image relation
2023-10-13	13:28:14	3604	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:14	3604	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863096 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:14	3604	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:14	3604	[DEBUG]	Executed store
2023-10-13	13:28:14	3604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863096','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:14	3604	[DEBUG]	Checking manufacturer
2023-10-13	13:28:14	3604	[DEBUG]	Load a row
2023-10-13	13:28:14	3604	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:14	3604	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:28:14	3604	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:14	3604	[DEBUG]	Executed store
2023-10-13	13:28:14	3604	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:28:14	3604	[DEBUG]	Manufacturer exists
2023-10-13	13:28:14	3604	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:28:14	3604	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:14	3604	[DEBUG]	Executed store
2023-10-13	13:28:14	3604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863096','26')
2023-10-13	13:28:14	3604	[DEBUG]	Find the custom field ID
2023-10-13	13:28:14	3604	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:14	3604	[DEBUG]	No custom field ID found
2023-10-13	13:28:14	3604	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:14	3604	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:14	3604	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863096 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:14	3604	[DEBUG]	Store custom available field
2023-10-13	13:28:14	3604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863096,3,'0',1)
2023-10-13	13:28:14	3604	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:14	3604	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:14	3604	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863096 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:14	3604	[DEBUG]	Store custom available field
2023-10-13	13:28:14	3604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863096,6,'choisir la taille',3)
2023-10-13	13:28:14	3604	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:14	3604	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:14	3604	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:14	3604	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:14	3604	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863096 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:14	3604	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:14	3604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863096,8,1)
2023-10-13	13:28:14	3604	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:14	3604	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863096\":[1863096,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863096
2023-10-13	13:28:14	3604	[DEBUG]	Checking category
2023-10-13	13:28:14	3604	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:14	3604	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863096
2023-10-13	13:28:14	3604	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:14	3604	[DEBUG]	Executed store
2023-10-13	13:28:14	3604	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863096','7381')
2023-10-13	13:28:14	3604	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:14	3604	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863096 AND `virtuemart_category_id` NOT IN (7381)
2023-10-13	13:28:14	3604	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:14	3604	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863096
2023-10-13	13:28:14	3605	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:14	3605	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:14	3605	[DEBUG]	Use field value for field taille
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:14	3605	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:14	3605	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:14	3605	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:14	3605	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:14	3605	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:14	3605	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:14	3605	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:14	3605	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:14	3605	[DEBUG]	Use field value for field published
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:14	3605	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field override
2023-10-13	13:28:14	3605	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:14	3605	[DEBUG]	Use field value for field slug
2023-10-13	13:28:14	3605	[DEBUG]	Process line 3605
2023-10-13	13:28:14	3605	[DEBUG]	Load a row
2023-10-13	13:28:14	3605	[DEBUG]	Processing item: 4524667869719
2023-10-13	13:28:14	3605	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:14	3605	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:14	3605	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9727_1'
2023-10-13	13:28:14	3605	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:14	3605	[DEBUG]	Processing product tax
2023-10-13	13:28:14	3605	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:14	3605	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:14	3605	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:14	3605	[DEBUG]	Query for Product
2023-10-13	13:28:14	3605	[DEBUG]	Executed store
2023-10-13	13:28:14	3605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863096','4524667869719','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:14	3605	[DEBUG]	No parent found
2023-10-13	13:28:14	3605	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863096 AND customfield_value = 'stockable'
2023-10-13	13:28:14	3605	[DEBUG]	Check product language entry
2023-10-13	13:28:14	3605	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863097
2023-10-13	13:28:14	3605	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:14	3605	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667869719' AND `virtuemart_product_id` != 1863097
2023-10-13	13:28:14	3605	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:14	3605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863097, '4524667869719')
2023-10-13	13:28:14	3605	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:14	3605	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-levier-manette-105-st-r7020-droite-11-vitesses-pour-frain-de-discque-noi-noir-unitaire' AND `virtuemart_product_id` != 1863097
2023-10-13	13:28:14	3605	[DEBUG]	Query for ProductLang
2023-10-13	13:28:14	3605	[DEBUG]	Executed store
2023-10-13	13:28:14	3605	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Levier/manette 105 ST-R7020 droite 11 vitesses pour frain de discque noi / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-levier-manette-105-st-r7020-droite-11-vitesses-pour-frain-de-discque-noi-noir-unitaire' WHERE `virtuemart_product_id` = '1863097'
2023-10-13	13:28:14	3605	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_72065_00.jpg
2023-10-13	13:28:14	3605	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:28:14	3605	[DEBUG]	Process image file
2023-10-13	13:28:14	3605	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:28:14	3605	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:14	3605	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/69_72065_00.jpg
2023-10-13	13:28:14	3605	[DEBUG]	Full name target: bcprisme/69_72065_00.jpg
2023-10-13	13:28:15	3605	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:15	3605	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/69_72065_00.jpg'
2023-10-13	13:28:15	3605	[DEBUG]	Query for Media
2023-10-13	13:28:15	3605	[DEBUG]	Executed store
2023-10-13	13:28:15	3605	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/69_72065_00.jpg',`file_url_thumb`='bcprisme/69_72065_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1554280'
2023-10-13	13:28:15	3605	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:15	3605	[DEBUG]	Executed store
2023-10-13	13:28:15	3605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863097','1554280','1')
2023-10-13	13:28:15	3605	[DEBUG]	Store product image relation
2023-10-13	13:28:15	3605	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:15	3605	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863097 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:15	3605	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:15	3605	[DEBUG]	Executed store
2023-10-13	13:28:15	3605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863097','0','194.986072423398','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:15	3605	[DEBUG]	Checking manufacturer
2023-10-13	13:28:15	3605	[DEBUG]	Load a row
2023-10-13	13:28:15	3605	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:15	3605	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:28:15	3605	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:15	3605	[DEBUG]	Executed store
2023-10-13	13:28:15	3605	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:28:15	3605	[DEBUG]	Manufacturer exists
2023-10-13	13:28:15	3605	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:28:15	3605	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:15	3605	[DEBUG]	Executed store
2023-10-13	13:28:15	3605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863097','26')
2023-10-13	13:28:15	3605	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:15	3605	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:15	3605	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863097 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:15	3605	[DEBUG]	Store custom available field
2023-10-13	13:28:15	3605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863097,3,'',1)
2023-10-13	13:28:15	3605	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:15	3605	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:15	3605	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863097 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:15	3605	[DEBUG]	Store custom available field
2023-10-13	13:28:15	3605	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863097,6,'Unitaire',3)
2023-10-13	13:28:15	3605	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:15	3605	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:15	3605	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863096
2023-10-13	13:28:15	3605	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:15	3605	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863096\":[1863096,8,1,\"choisir la taille\"],\"1863097\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863096
2023-10-13	13:28:15	3605	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:15	3605	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863097
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:15	3606	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field taille
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:15	3606	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:15	3606	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:15	3606	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:15	3606	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:15	3606	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:15	3606	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field published
2023-10-13	13:28:15	3606	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:15	3606	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field override
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:15	3606	[DEBUG]	Use field value for field slug
2023-10-13	13:28:15	3606	[DEBUG]	Process line 3606
2023-10-13	13:28:15	3606	[DEBUG]	Load a row
2023-10-13	13:28:15	3606	[DEBUG]	Processing item: A_5142_3
2023-10-13	13:28:15	3606	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:15	3606	[DEBUG]	Processing product tax
2023-10-13	13:28:15	3606	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:15	3606	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:15	3606	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:15	3606	[DEBUG]	Query for Product
2023-10-13	13:28:15	3606	[DEBUG]	Executed store
2023-10-13	13:28:15	3606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5142_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:15	3606	[DEBUG]	Check product language entry
2023-10-13	13:28:15	3606	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863098
2023-10-13	13:28:15	3606	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:15	3606	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5142_3' AND `virtuemart_product_id` != 1863098
2023-10-13	13:28:15	3606	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:15	3606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863098, 'A_5142_3')
2023-10-13	13:28:15	3606	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:15	3606	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-protein-nut2-white-chocolate-coconut-none' AND `virtuemart_product_id` != 1863098
2023-10-13	13:28:15	3606	[DEBUG]	Query for ProductLang
2023-10-13	13:28:15	3606	[DEBUG]	Executed store
2023-10-13	13:28:15	3606	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 21614100',`product_name`='POWERBAR Barre PROTEIN NUT2 White Chocolate Coconut / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-protein-nut2-white-chocolate-coconut-none' WHERE `virtuemart_product_id` = '1863098'
2023-10-13	13:28:15	3606	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29603_barre_protein_nut2_white_chocolate_coconut.jpg
2023-10-13	13:28:15	3606	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:15	3606	[DEBUG]	Process image file
2023-10-13	13:28:15	3606	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:15	3606	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:15	3606	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29603_barre_protein_nut2_white_chocolate_coconut.jpg
2023-10-13	13:28:15	3606	[DEBUG]	Full name target: bcprisme/29603_barre_protein_nut2_white_chocolate_coconut.jpg
2023-10-13	13:28:16	3606	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:16	3606	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29603_barre_protein_nut2_white_chocolate_coconut.jpg'
2023-10-13	13:28:16	3606	[DEBUG]	Query for Media
2023-10-13	13:28:16	3606	[DEBUG]	Executed store
2023-10-13	13:28:16	3606	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29603_barre_protein_nut2_white_chocolate_coconut.jpg',`file_url_thumb`='bcprisme/29603_barre_protein_nut2_white_chocolate_coconut.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '697356'
2023-10-13	13:28:16	3606	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:16	3606	[DEBUG]	Executed store
2023-10-13	13:28:16	3606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863098','697356','1')
2023-10-13	13:28:16	3606	[DEBUG]	Store product image relation
2023-10-13	13:28:16	3606	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:16	3606	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863098 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:16	3606	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:16	3606	[DEBUG]	Executed store
2023-10-13	13:28:16	3606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863098','0','2.41411327762303','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:16	3606	[DEBUG]	Checking manufacturer
2023-10-13	13:28:16	3606	[DEBUG]	Load a row
2023-10-13	13:28:16	3606	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:16	3606	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:16	3606	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:16	3606	[DEBUG]	Executed store
2023-10-13	13:28:16	3606	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:16	3606	[DEBUG]	Manufacturer exists
2023-10-13	13:28:16	3606	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:16	3606	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:16	3606	[DEBUG]	Executed store
2023-10-13	13:28:16	3606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863098','121')
2023-10-13	13:28:16	3606	[DEBUG]	Find the custom field ID
2023-10-13	13:28:16	3606	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:16	3606	[DEBUG]	No custom field ID found
2023-10-13	13:28:16	3606	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:16	3606	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:16	3606	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863098 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:16	3606	[DEBUG]	Store custom available field
2023-10-13	13:28:16	3606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863098,3,'0',1)
2023-10-13	13:28:16	3606	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:16	3606	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:16	3606	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863098 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:16	3606	[DEBUG]	Store custom available field
2023-10-13	13:28:16	3606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863098,6,'choisir la taille',3)
2023-10-13	13:28:16	3606	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:16	3606	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:16	3606	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:16	3606	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:16	3606	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863098 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:16	3606	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:16	3606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863098,8,1)
2023-10-13	13:28:16	3606	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:16	3606	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863098\":[1863098,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863098
2023-10-13	13:28:16	3606	[DEBUG]	Checking category
2023-10-13	13:28:16	3606	[DEBUG]	Check if category path exists: NUTRITION
2023-10-13	13:28:16	3606	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'NUTRITION' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:28:16	3606	[DEBUG]	Check if category path exists: NUTRITION
2023-10-13	13:28:16	3606	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'NUTRITION' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7382
2023-10-13	13:28:16	3606	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:16	3606	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863098
2023-10-13	13:28:16	3606	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:16	3606	[DEBUG]	Executed store
2023-10-13	13:28:16	3606	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863098','7383')
2023-10-13	13:28:16	3606	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:16	3606	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863098 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:16	3606	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:16	3606	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863098
2023-10-13	13:28:16	3607	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:16	3607	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:16	3607	[DEBUG]	Use field value for field taille
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:16	3607	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:16	3607	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:16	3607	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:16	3607	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:16	3607	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:16	3607	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:16	3607	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:16	3607	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:16	3607	[DEBUG]	Use field value for field published
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:16	3607	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field override
2023-10-13	13:28:16	3607	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:16	3607	[DEBUG]	Use field value for field slug
2023-10-13	13:28:16	3607	[DEBUG]	Process line 3607
2023-10-13	13:28:16	3607	[DEBUG]	Load a row
2023-10-13	13:28:16	3607	[DEBUG]	Processing item: 4029679996458
2023-10-13	13:28:16	3607	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:16	3607	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:16	3607	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5142_3'
2023-10-13	13:28:16	3607	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:16	3607	[DEBUG]	Processing product tax
2023-10-13	13:28:16	3607	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:16	3607	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:16	3607	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:16	3607	[DEBUG]	Query for Product
2023-10-13	13:28:16	3607	[DEBUG]	Executed store
2023-10-13	13:28:16	3607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863098','4029679996458','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:16	3607	[DEBUG]	No parent found
2023-10-13	13:28:16	3607	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863098 AND customfield_value = 'stockable'
2023-10-13	13:28:16	3607	[DEBUG]	Check product language entry
2023-10-13	13:28:16	3607	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863099
2023-10-13	13:28:16	3607	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:16	3607	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679996458' AND `virtuemart_product_id` != 1863099
2023-10-13	13:28:16	3607	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:16	3607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863099, '4029679996458')
2023-10-13	13:28:16	3607	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:16	3607	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-protein-nut2-white-chocolate-coconut-none-unitaire' AND `virtuemart_product_id` != 1863099
2023-10-13	13:28:16	3607	[DEBUG]	Query for ProductLang
2023-10-13	13:28:16	3607	[DEBUG]	Executed store
2023-10-13	13:28:16	3607	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Barre PROTEIN NUT2 White Chocolate Coconut / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-protein-nut2-white-chocolate-coconut-none-unitaire' WHERE `virtuemart_product_id` = '1863099'
2023-10-13	13:28:16	3607	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29603_barre_protein_nut2_white_chocolate_coconut.jpg
2023-10-13	13:28:16	3607	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:16	3607	[DEBUG]	Process image file
2023-10-13	13:28:16	3607	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:16	3607	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:16	3607	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29603_barre_protein_nut2_white_chocolate_coconut.jpg
2023-10-13	13:28:16	3607	[DEBUG]	Full name target: bcprisme/29603_barre_protein_nut2_white_chocolate_coconut.jpg
2023-10-13	13:28:17	3607	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:17	3607	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29603_barre_protein_nut2_white_chocolate_coconut.jpg'
2023-10-13	13:28:17	3607	[DEBUG]	Query for Media
2023-10-13	13:28:17	3607	[DEBUG]	Executed store
2023-10-13	13:28:17	3607	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29603_barre_protein_nut2_white_chocolate_coconut.jpg',`file_url_thumb`='bcprisme/29603_barre_protein_nut2_white_chocolate_coconut.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '697356'
2023-10-13	13:28:17	3607	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:17	3607	[DEBUG]	Executed store
2023-10-13	13:28:17	3607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863099','697356','1')
2023-10-13	13:28:17	3607	[DEBUG]	Store product image relation
2023-10-13	13:28:17	3607	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:17	3607	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863099 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:17	3607	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:17	3607	[DEBUG]	Executed store
2023-10-13	13:28:17	3607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863099','0','2.41411327762303','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:17	3607	[DEBUG]	Checking manufacturer
2023-10-13	13:28:17	3607	[DEBUG]	Load a row
2023-10-13	13:28:17	3607	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:17	3607	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:17	3607	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:17	3607	[DEBUG]	Executed store
2023-10-13	13:28:17	3607	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:17	3607	[DEBUG]	Manufacturer exists
2023-10-13	13:28:17	3607	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:17	3607	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:17	3607	[DEBUG]	Executed store
2023-10-13	13:28:17	3607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863099','121')
2023-10-13	13:28:17	3607	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:17	3607	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:17	3607	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863099 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:17	3607	[DEBUG]	Store custom available field
2023-10-13	13:28:17	3607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863099,3,'',1)
2023-10-13	13:28:17	3607	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:17	3607	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:17	3607	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863099 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:17	3607	[DEBUG]	Store custom available field
2023-10-13	13:28:17	3607	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863099,6,'Unitaire',3)
2023-10-13	13:28:17	3607	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:17	3607	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:17	3607	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863098
2023-10-13	13:28:17	3607	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:17	3607	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863098\":[1863098,8,1,\"choisir la taille\"],\"1863099\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863098
2023-10-13	13:28:17	3607	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:17	3607	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863099
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:17	3608	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field taille
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:17	3608	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:17	3608	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:17	3608	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:17	3608	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:17	3608	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:17	3608	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field published
2023-10-13	13:28:17	3608	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:17	3608	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field override
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:17	3608	[DEBUG]	Use field value for field slug
2023-10-13	13:28:17	3608	[DEBUG]	Process line 3608
2023-10-13	13:28:17	3608	[DEBUG]	Load a row
2023-10-13	13:28:17	3608	[DEBUG]	Processing item: A_5144_3
2023-10-13	13:28:17	3608	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:17	3608	[DEBUG]	Processing product tax
2023-10-13	13:28:17	3608	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:17	3608	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:17	3608	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:17	3608	[DEBUG]	Query for Product
2023-10-13	13:28:17	3608	[DEBUG]	Executed store
2023-10-13	13:28:17	3608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5144_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:17	3608	[DEBUG]	Check product language entry
2023-10-13	13:28:17	3608	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863100
2023-10-13	13:28:17	3608	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:17	3608	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5144_3' AND `virtuemart_product_id` != 1863100
2023-10-13	13:28:17	3608	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:17	3608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863100, 'A_5144_3')
2023-10-13	13:28:17	3608	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:17	3608	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-shots-cola-none' AND `virtuemart_product_id` != 1863100
2023-10-13	13:28:17	3608	[DEBUG]	Query for ProductLang
2023-10-13	13:28:17	3608	[DEBUG]	Executed store
2023-10-13	13:28:17	3608	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 12075177',`product_name`='POWERBAR POWERGEL SHOTS COLA / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-shots-cola-none' WHERE `virtuemart_product_id` = '1863100'
2023-10-13	13:28:17	3608	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29605_powergel_shots_cola.jpg
2023-10-13	13:28:17	3608	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:17	3608	[DEBUG]	Process image file
2023-10-13	13:28:17	3608	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:17	3608	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:17	3608	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29605_powergel_shots_cola.jpg
2023-10-13	13:28:17	3608	[DEBUG]	Full name target: bcprisme/29605_powergel_shots_cola.jpg
2023-10-13	13:28:18	3608	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:18	3608	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29605_powergel_shots_cola.jpg'
2023-10-13	13:28:18	3608	[DEBUG]	Query for Media
2023-10-13	13:28:18	3608	[DEBUG]	Executed store
2023-10-13	13:28:18	3608	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29605_powergel_shots_cola.jpg',`file_url_thumb`='bcprisme/29605_powergel_shots_cola.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '788580'
2023-10-13	13:28:18	3608	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:18	3608	[DEBUG]	Executed store
2023-10-13	13:28:18	3608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863100','788580','1')
2023-10-13	13:28:18	3608	[DEBUG]	Store product image relation
2023-10-13	13:28:18	3608	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:18	3608	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863100 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:18	3608	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:18	3608	[DEBUG]	Executed store
2023-10-13	13:28:18	3608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863100','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:18	3608	[DEBUG]	Checking manufacturer
2023-10-13	13:28:18	3608	[DEBUG]	Load a row
2023-10-13	13:28:18	3608	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:18	3608	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:18	3608	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:18	3608	[DEBUG]	Executed store
2023-10-13	13:28:18	3608	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:18	3608	[DEBUG]	Manufacturer exists
2023-10-13	13:28:18	3608	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:18	3608	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:18	3608	[DEBUG]	Executed store
2023-10-13	13:28:18	3608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863100','121')
2023-10-13	13:28:18	3608	[DEBUG]	Find the custom field ID
2023-10-13	13:28:18	3608	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:18	3608	[DEBUG]	No custom field ID found
2023-10-13	13:28:18	3608	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:18	3608	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:18	3608	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863100 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:18	3608	[DEBUG]	Store custom available field
2023-10-13	13:28:18	3608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863100,3,'0',1)
2023-10-13	13:28:18	3608	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:18	3608	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:18	3608	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863100 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:18	3608	[DEBUG]	Store custom available field
2023-10-13	13:28:18	3608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863100,6,'choisir la taille',3)
2023-10-13	13:28:18	3608	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:18	3608	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:18	3608	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:18	3608	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:18	3608	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863100 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:18	3608	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:18	3608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863100,8,1)
2023-10-13	13:28:18	3608	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:18	3608	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863100\":[1863100,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863100
2023-10-13	13:28:18	3608	[DEBUG]	Checking category
2023-10-13	13:28:18	3608	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:18	3608	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863100
2023-10-13	13:28:18	3608	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:18	3608	[DEBUG]	Executed store
2023-10-13	13:28:18	3608	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863100','7383')
2023-10-13	13:28:18	3608	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:18	3608	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863100 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:18	3608	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:18	3608	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863100
2023-10-13	13:28:18	3609	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:18	3609	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:18	3609	[DEBUG]	Use field value for field taille
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:18	3609	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:18	3609	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:18	3609	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:18	3609	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:18	3609	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:18	3609	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:18	3609	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:18	3609	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:18	3609	[DEBUG]	Use field value for field published
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:18	3609	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field override
2023-10-13	13:28:18	3609	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:18	3609	[DEBUG]	Use field value for field slug
2023-10-13	13:28:18	3609	[DEBUG]	Process line 3609
2023-10-13	13:28:18	3609	[DEBUG]	Load a row
2023-10-13	13:28:18	3609	[DEBUG]	Processing item: 4029679675162
2023-10-13	13:28:18	3609	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:18	3609	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:18	3609	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5144_3'
2023-10-13	13:28:18	3609	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:18	3609	[DEBUG]	Processing product tax
2023-10-13	13:28:18	3609	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:18	3609	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:18	3609	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:18	3609	[DEBUG]	Query for Product
2023-10-13	13:28:18	3609	[DEBUG]	Executed store
2023-10-13	13:28:18	3609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863100','4029679675162','0','KG','M','','10','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:18	3609	[DEBUG]	No parent found
2023-10-13	13:28:18	3609	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863100 AND customfield_value = 'stockable'
2023-10-13	13:28:18	3609	[DEBUG]	Check product language entry
2023-10-13	13:28:18	3609	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863101
2023-10-13	13:28:18	3609	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:18	3609	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679675162' AND `virtuemart_product_id` != 1863101
2023-10-13	13:28:18	3609	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:18	3609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863101, '4029679675162')
2023-10-13	13:28:18	3609	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:18	3609	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-shots-cola-none-unitaire' AND `virtuemart_product_id` != 1863101
2023-10-13	13:28:18	3609	[DEBUG]	Query for ProductLang
2023-10-13	13:28:18	3609	[DEBUG]	Executed store
2023-10-13	13:28:18	3609	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERGEL SHOTS COLA / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-shots-cola-none-unitaire' WHERE `virtuemart_product_id` = '1863101'
2023-10-13	13:28:18	3609	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29605_powergel_shots_cola.jpg
2023-10-13	13:28:18	3609	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:18	3609	[DEBUG]	Process image file
2023-10-13	13:28:18	3609	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:18	3609	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:18	3609	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29605_powergel_shots_cola.jpg
2023-10-13	13:28:18	3609	[DEBUG]	Full name target: bcprisme/29605_powergel_shots_cola.jpg
2023-10-13	13:28:19	3609	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:19	3609	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29605_powergel_shots_cola.jpg'
2023-10-13	13:28:19	3609	[DEBUG]	Query for Media
2023-10-13	13:28:19	3609	[DEBUG]	Executed store
2023-10-13	13:28:19	3609	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29605_powergel_shots_cola.jpg',`file_url_thumb`='bcprisme/29605_powergel_shots_cola.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '788580'
2023-10-13	13:28:19	3609	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:19	3609	[DEBUG]	Executed store
2023-10-13	13:28:19	3609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863101','788580','1')
2023-10-13	13:28:19	3609	[DEBUG]	Store product image relation
2023-10-13	13:28:19	3609	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:19	3609	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863101 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:19	3609	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:19	3609	[DEBUG]	Executed store
2023-10-13	13:28:19	3609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863101','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:19	3609	[DEBUG]	Checking manufacturer
2023-10-13	13:28:19	3609	[DEBUG]	Load a row
2023-10-13	13:28:19	3609	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:19	3609	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:19	3609	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:19	3609	[DEBUG]	Executed store
2023-10-13	13:28:19	3609	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:19	3609	[DEBUG]	Manufacturer exists
2023-10-13	13:28:19	3609	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:19	3609	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:19	3609	[DEBUG]	Executed store
2023-10-13	13:28:19	3609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863101','121')
2023-10-13	13:28:19	3609	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:19	3609	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:19	3609	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863101 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:19	3609	[DEBUG]	Store custom available field
2023-10-13	13:28:19	3609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863101,3,'',1)
2023-10-13	13:28:19	3609	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:19	3609	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:19	3609	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863101 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:19	3609	[DEBUG]	Store custom available field
2023-10-13	13:28:19	3609	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863101,6,'Unitaire',3)
2023-10-13	13:28:19	3609	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:19	3609	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:19	3609	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863100
2023-10-13	13:28:19	3609	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:19	3609	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863100\":[1863100,8,1,\"choisir la taille\"],\"1863101\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863100
2023-10-13	13:28:19	3609	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:19	3609	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863101
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:19	3610	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field taille
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:19	3610	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:19	3610	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:19	3610	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:19	3610	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:19	3610	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:19	3610	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field published
2023-10-13	13:28:19	3610	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:19	3610	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field override
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:19	3610	[DEBUG]	Use field value for field slug
2023-10-13	13:28:19	3610	[DEBUG]	Process line 3610
2023-10-13	13:28:19	3610	[DEBUG]	Load a row
2023-10-13	13:28:19	3610	[DEBUG]	Processing item: A_5145_3
2023-10-13	13:28:19	3610	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:19	3610	[DEBUG]	Processing product tax
2023-10-13	13:28:19	3610	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:19	3610	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:19	3610	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:19	3610	[DEBUG]	Query for Product
2023-10-13	13:28:19	3610	[DEBUG]	Executed store
2023-10-13	13:28:19	3610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5145_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:19	3610	[DEBUG]	Check product language entry
2023-10-13	13:28:19	3610	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863102
2023-10-13	13:28:19	3610	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:19	3610	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5145_3' AND `virtuemart_product_id` != 1863102
2023-10-13	13:28:19	3610	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:19	3610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863102, 'A_5145_3')
2023-10-13	13:28:19	3610	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:19	3610	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powerbar-5-electrolytes-sports-drink-raspberry-pomegranate-none' AND `virtuemart_product_id` != 1863102
2023-10-13	13:28:19	3610	[DEBUG]	Query for ProductLang
2023-10-13	13:28:19	3610	[DEBUG]	Executed store
2023-10-13	13:28:19	3610	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24768646',`product_name`='POWERBAR POWERBAR 5 ELECTROLYTES SPORTS DRINK RASPBERRY POMEGRANATE / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powerbar-5-electrolytes-sports-drink-raspberry-pomegranate-none' WHERE `virtuemart_product_id` = '1863102'
2023-10-13	13:28:19	3610	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29606_powerbar_5_electrolytes_sports_drink_raspberry_pomegranate.jpg
2023-10-13	13:28:19	3610	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:19	3610	[DEBUG]	Process image file
2023-10-13	13:28:19	3610	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:19	3610	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:19	3610	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29606_powerbar_5_electrolytes_sports_drink_raspberry_pomegranate.jpg
2023-10-13	13:28:19	3610	[DEBUG]	Full name target: bcprisme/29606_powerbar_5_electrolytes_sports_drink_raspberry_pomegranate.jpg
2023-10-13	13:28:20	3610	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:20	3610	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29606_powerbar_5_electrolytes_sports_drink_raspberry_pomegranate.jpg'
2023-10-13	13:28:20	3610	[DEBUG]	Query for Media
2023-10-13	13:28:20	3610	[DEBUG]	Executed store
2023-10-13	13:28:20	3610	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29606_powerbar_5_electrolytes_sports_drink_raspberry_pomegranate.jpg',`file_url_thumb`='bcprisme/29606_powerbar_5_electrolytes_sports_drink_raspberry_pomegranate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '66079'
2023-10-13	13:28:20	3610	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:20	3610	[DEBUG]	Executed store
2023-10-13	13:28:20	3610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863102','66079','1')
2023-10-13	13:28:20	3610	[DEBUG]	Store product image relation
2023-10-13	13:28:20	3610	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:20	3610	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863102 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:20	3610	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:20	3610	[DEBUG]	Executed store
2023-10-13	13:28:20	3610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863102','0','6.03528319405757','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:20	3610	[DEBUG]	Checking manufacturer
2023-10-13	13:28:20	3610	[DEBUG]	Load a row
2023-10-13	13:28:20	3610	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:20	3610	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:20	3610	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:20	3610	[DEBUG]	Executed store
2023-10-13	13:28:20	3610	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:20	3610	[DEBUG]	Manufacturer exists
2023-10-13	13:28:20	3610	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:20	3610	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:20	3610	[DEBUG]	Executed store
2023-10-13	13:28:20	3610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863102','121')
2023-10-13	13:28:20	3610	[DEBUG]	Find the custom field ID
2023-10-13	13:28:20	3610	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:20	3610	[DEBUG]	No custom field ID found
2023-10-13	13:28:20	3610	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:20	3610	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:20	3610	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863102 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:20	3610	[DEBUG]	Store custom available field
2023-10-13	13:28:20	3610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863102,3,'0',1)
2023-10-13	13:28:20	3610	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:20	3610	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:20	3610	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863102 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:20	3610	[DEBUG]	Store custom available field
2023-10-13	13:28:20	3610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863102,6,'choisir la taille',3)
2023-10-13	13:28:20	3610	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:20	3610	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:20	3610	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:20	3610	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:20	3610	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863102 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:20	3610	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:20	3610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863102,8,1)
2023-10-13	13:28:20	3610	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:20	3610	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863102\":[1863102,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863102
2023-10-13	13:28:20	3610	[DEBUG]	Checking category
2023-10-13	13:28:20	3610	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:20	3610	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863102
2023-10-13	13:28:20	3610	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:20	3610	[DEBUG]	Executed store
2023-10-13	13:28:20	3610	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863102','7383')
2023-10-13	13:28:20	3610	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:20	3610	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863102 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:20	3610	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:20	3610	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863102
2023-10-13	13:28:20	3611	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:20	3611	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:20	3611	[DEBUG]	Use field value for field taille
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:20	3611	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:20	3611	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:20	3611	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:20	3611	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:20	3611	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:20	3611	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:20	3611	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:20	3611	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:20	3611	[DEBUG]	Use field value for field published
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:20	3611	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field override
2023-10-13	13:28:20	3611	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:20	3611	[DEBUG]	Use field value for field slug
2023-10-13	13:28:20	3611	[DEBUG]	Process line 3611
2023-10-13	13:28:20	3611	[DEBUG]	Load a row
2023-10-13	13:28:20	3611	[DEBUG]	Processing item: 42289654
2023-10-13	13:28:20	3611	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:20	3611	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:20	3611	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5145_3'
2023-10-13	13:28:20	3611	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:20	3611	[DEBUG]	Processing product tax
2023-10-13	13:28:20	3611	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:20	3611	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:20	3611	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:20	3611	[DEBUG]	Query for Product
2023-10-13	13:28:20	3611	[DEBUG]	Executed store
2023-10-13	13:28:20	3611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863102','42289654','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:20	3611	[DEBUG]	No parent found
2023-10-13	13:28:20	3611	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863102 AND customfield_value = 'stockable'
2023-10-13	13:28:20	3611	[DEBUG]	Check product language entry
2023-10-13	13:28:20	3611	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863103
2023-10-13	13:28:20	3611	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:20	3611	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '42289654' AND `virtuemart_product_id` != 1863103
2023-10-13	13:28:20	3611	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:20	3611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863103, '42289654')
2023-10-13	13:28:20	3611	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:20	3611	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powerbar-5-electrolytes-sports-drink-raspberry-pomegranate-none-unitaire' AND `virtuemart_product_id` != 1863103
2023-10-13	13:28:20	3611	[DEBUG]	Query for ProductLang
2023-10-13	13:28:20	3611	[DEBUG]	Executed store
2023-10-13	13:28:20	3611	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERBAR 5 ELECTROLYTES SPORTS DRINK RASPBERRY POMEGRANATE / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powerbar-5-electrolytes-sports-drink-raspberry-pomegranate-none-unitaire' WHERE `virtuemart_product_id` = '1863103'
2023-10-13	13:28:20	3611	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29606_powerbar_5_electrolytes_sports_drink_raspberry_pomegranate.jpg
2023-10-13	13:28:20	3611	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:20	3611	[DEBUG]	Process image file
2023-10-13	13:28:20	3611	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:20	3611	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:20	3611	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29606_powerbar_5_electrolytes_sports_drink_raspberry_pomegranate.jpg
2023-10-13	13:28:20	3611	[DEBUG]	Full name target: bcprisme/29606_powerbar_5_electrolytes_sports_drink_raspberry_pomegranate.jpg
2023-10-13	13:28:21	3611	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:21	3611	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29606_powerbar_5_electrolytes_sports_drink_raspberry_pomegranate.jpg'
2023-10-13	13:28:21	3611	[DEBUG]	Query for Media
2023-10-13	13:28:21	3611	[DEBUG]	Executed store
2023-10-13	13:28:21	3611	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29606_powerbar_5_electrolytes_sports_drink_raspberry_pomegranate.jpg',`file_url_thumb`='bcprisme/29606_powerbar_5_electrolytes_sports_drink_raspberry_pomegranate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '66079'
2023-10-13	13:28:21	3611	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:21	3611	[DEBUG]	Executed store
2023-10-13	13:28:21	3611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863103','66079','1')
2023-10-13	13:28:21	3611	[DEBUG]	Store product image relation
2023-10-13	13:28:21	3611	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:21	3611	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863103 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:21	3611	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:21	3611	[DEBUG]	Executed store
2023-10-13	13:28:21	3611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863103','0','6.03528319405757','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:21	3611	[DEBUG]	Checking manufacturer
2023-10-13	13:28:21	3611	[DEBUG]	Load a row
2023-10-13	13:28:21	3611	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:21	3611	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:21	3611	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:21	3611	[DEBUG]	Executed store
2023-10-13	13:28:21	3611	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:21	3611	[DEBUG]	Manufacturer exists
2023-10-13	13:28:21	3611	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:21	3611	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:21	3611	[DEBUG]	Executed store
2023-10-13	13:28:21	3611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863103','121')
2023-10-13	13:28:21	3611	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:21	3611	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:21	3611	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863103 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:21	3611	[DEBUG]	Store custom available field
2023-10-13	13:28:21	3611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863103,3,'',1)
2023-10-13	13:28:21	3611	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:21	3611	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:21	3611	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863103 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:21	3611	[DEBUG]	Store custom available field
2023-10-13	13:28:21	3611	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863103,6,'Unitaire',3)
2023-10-13	13:28:21	3611	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:21	3611	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:21	3611	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863102
2023-10-13	13:28:21	3611	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:21	3611	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863102\":[1863102,8,1,\"choisir la taille\"],\"1863103\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863102
2023-10-13	13:28:21	3611	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:21	3611	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863103
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:21	3612	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field taille
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:21	3612	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:21	3612	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:21	3612	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:21	3612	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:21	3612	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:21	3612	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field published
2023-10-13	13:28:21	3612	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:21	3612	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field override
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:21	3612	[DEBUG]	Use field value for field slug
2023-10-13	13:28:21	3612	[DEBUG]	Process line 3612
2023-10-13	13:28:21	3612	[DEBUG]	Load a row
2023-10-13	13:28:21	3612	[DEBUG]	Processing item: A_5146_3
2023-10-13	13:28:21	3612	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:21	3612	[DEBUG]	Processing product tax
2023-10-13	13:28:21	3612	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:21	3612	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:21	3612	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:21	3612	[DEBUG]	Query for Product
2023-10-13	13:28:21	3612	[DEBUG]	Executed store
2023-10-13	13:28:21	3612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5146_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:21	3612	[DEBUG]	Check product language entry
2023-10-13	13:28:21	3612	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863104
2023-10-13	13:28:21	3612	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:21	3612	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5146_3' AND `virtuemart_product_id` != 1863104
2023-10-13	13:28:21	3612	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:21	3612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863104, 'A_5146_3')
2023-10-13	13:28:21	3612	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:21	3612	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powerbar-5-electrolytes-sports-drink-lemon-tonic-cafeine-none' AND `virtuemart_product_id` != 1863104
2023-10-13	13:28:21	3612	[DEBUG]	Query for ProductLang
2023-10-13	13:28:21	3612	[DEBUG]	Executed store
2023-10-13	13:28:21	3612	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24768900',`product_name`='POWERBAR POWERBAR 5 ELECTROLYTES SPORTS DRINK LEMON TONIC + CAFEINE / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powerbar-5-electrolytes-sports-drink-lemon-tonic-cafeine-none' WHERE `virtuemart_product_id` = '1863104'
2023-10-13	13:28:21	3612	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29607_powerbar_5_electrolytes_sports_drink_lemon_tonic_+_cafeine.jpg
2023-10-13	13:28:21	3612	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:21	3612	[DEBUG]	Process image file
2023-10-13	13:28:21	3612	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:21	3612	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:21	3612	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29607_powerbar_5_electrolytes_sports_drink_lemon_tonic_+_cafeine.jpg
2023-10-13	13:28:21	3612	[DEBUG]	Full name target: bcprisme/29607_powerbar_5_electrolytes_sports_drink_lemon_tonic_+_cafeine.jpg
2023-10-13	13:28:22	3612	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:22	3612	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29607_powerbar_5_electrolytes_sports_drink_lemon_tonic_+_cafeine.jpg'
2023-10-13	13:28:22	3612	[DEBUG]	Query for Media
2023-10-13	13:28:22	3612	[DEBUG]	Executed store
2023-10-13	13:28:22	3612	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29607_powerbar_5_electrolytes_sports_drink_lemon_tonic_+_cafeine.jpg',`file_url_thumb`='bcprisme/29607_powerbar_5_electrolytes_sports_drink_lemon_tonic_+_cafeine.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '66081'
2023-10-13	13:28:22	3612	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:22	3612	[DEBUG]	Executed store
2023-10-13	13:28:22	3612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863104','66081','1')
2023-10-13	13:28:22	3612	[DEBUG]	Store product image relation
2023-10-13	13:28:22	3612	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:22	3612	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863104 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:22	3612	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:22	3612	[DEBUG]	Executed store
2023-10-13	13:28:22	3612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863104','0','6.03528319405757','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:22	3612	[DEBUG]	Checking manufacturer
2023-10-13	13:28:22	3612	[DEBUG]	Load a row
2023-10-13	13:28:22	3612	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:22	3612	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:22	3612	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:22	3612	[DEBUG]	Executed store
2023-10-13	13:28:22	3612	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:22	3612	[DEBUG]	Manufacturer exists
2023-10-13	13:28:22	3612	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:22	3612	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:22	3612	[DEBUG]	Executed store
2023-10-13	13:28:22	3612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863104','121')
2023-10-13	13:28:22	3612	[DEBUG]	Find the custom field ID
2023-10-13	13:28:22	3612	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:22	3612	[DEBUG]	No custom field ID found
2023-10-13	13:28:22	3612	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:22	3612	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:22	3612	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863104 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:22	3612	[DEBUG]	Store custom available field
2023-10-13	13:28:22	3612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863104,3,'0',1)
2023-10-13	13:28:22	3612	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:22	3612	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:22	3612	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863104 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:22	3612	[DEBUG]	Store custom available field
2023-10-13	13:28:22	3612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863104,6,'choisir la taille',3)
2023-10-13	13:28:22	3612	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:22	3612	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:22	3612	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:22	3612	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:22	3612	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863104 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:22	3612	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:22	3612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863104,8,1)
2023-10-13	13:28:22	3612	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:22	3612	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863104\":[1863104,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863104
2023-10-13	13:28:22	3612	[DEBUG]	Checking category
2023-10-13	13:28:22	3612	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:22	3612	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863104
2023-10-13	13:28:22	3612	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:22	3612	[DEBUG]	Executed store
2023-10-13	13:28:22	3612	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863104','7383')
2023-10-13	13:28:22	3612	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:22	3612	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863104 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:22	3612	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:22	3612	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863104
2023-10-13	13:28:22	3613	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:22	3613	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:22	3613	[DEBUG]	Use field value for field taille
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:22	3613	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:22	3613	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:22	3613	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:22	3613	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:22	3613	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:22	3613	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:22	3613	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:22	3613	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:22	3613	[DEBUG]	Use field value for field published
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:22	3613	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field override
2023-10-13	13:28:22	3613	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:22	3613	[DEBUG]	Use field value for field slug
2023-10-13	13:28:22	3613	[DEBUG]	Process line 3613
2023-10-13	13:28:22	3613	[DEBUG]	Load a row
2023-10-13	13:28:22	3613	[DEBUG]	Processing item: 42284383
2023-10-13	13:28:22	3613	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:22	3613	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:22	3613	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5146_3'
2023-10-13	13:28:22	3613	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:22	3613	[DEBUG]	Processing product tax
2023-10-13	13:28:22	3613	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:22	3613	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:22	3613	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:22	3613	[DEBUG]	Query for Product
2023-10-13	13:28:22	3613	[DEBUG]	Executed store
2023-10-13	13:28:22	3613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863104','42284383','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:22	3613	[DEBUG]	No parent found
2023-10-13	13:28:22	3613	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863104 AND customfield_value = 'stockable'
2023-10-13	13:28:22	3613	[DEBUG]	Check product language entry
2023-10-13	13:28:22	3613	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863105
2023-10-13	13:28:22	3613	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:22	3613	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '42284383' AND `virtuemart_product_id` != 1863105
2023-10-13	13:28:22	3613	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:22	3613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863105, '42284383')
2023-10-13	13:28:22	3613	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:22	3613	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powerbar-5-electrolytes-sports-drink-lemon-tonic-cafeine-none-unitaire' AND `virtuemart_product_id` != 1863105
2023-10-13	13:28:22	3613	[DEBUG]	Query for ProductLang
2023-10-13	13:28:22	3613	[DEBUG]	Executed store
2023-10-13	13:28:22	3613	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERBAR 5 ELECTROLYTES SPORTS DRINK LEMON TONIC + CAFEINE / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powerbar-5-electrolytes-sports-drink-lemon-tonic-cafeine-none-unitaire' WHERE `virtuemart_product_id` = '1863105'
2023-10-13	13:28:22	3613	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29607_powerbar_5_electrolytes_sports_drink_lemon_tonic_+_cafeine.jpg
2023-10-13	13:28:22	3613	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:22	3613	[DEBUG]	Process image file
2023-10-13	13:28:22	3613	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:22	3613	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:22	3613	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29607_powerbar_5_electrolytes_sports_drink_lemon_tonic_+_cafeine.jpg
2023-10-13	13:28:22	3613	[DEBUG]	Full name target: bcprisme/29607_powerbar_5_electrolytes_sports_drink_lemon_tonic_+_cafeine.jpg
2023-10-13	13:28:23	3613	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:23	3613	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29607_powerbar_5_electrolytes_sports_drink_lemon_tonic_+_cafeine.jpg'
2023-10-13	13:28:23	3613	[DEBUG]	Query for Media
2023-10-13	13:28:23	3613	[DEBUG]	Executed store
2023-10-13	13:28:23	3613	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29607_powerbar_5_electrolytes_sports_drink_lemon_tonic_+_cafeine.jpg',`file_url_thumb`='bcprisme/29607_powerbar_5_electrolytes_sports_drink_lemon_tonic_+_cafeine.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '66081'
2023-10-13	13:28:23	3613	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:23	3613	[DEBUG]	Executed store
2023-10-13	13:28:23	3613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863105','66081','1')
2023-10-13	13:28:23	3613	[DEBUG]	Store product image relation
2023-10-13	13:28:23	3613	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:23	3613	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863105 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:23	3613	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:23	3613	[DEBUG]	Executed store
2023-10-13	13:28:23	3613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863105','0','6.03528319405757','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:23	3613	[DEBUG]	Checking manufacturer
2023-10-13	13:28:23	3613	[DEBUG]	Load a row
2023-10-13	13:28:23	3613	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:23	3613	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:23	3613	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:23	3613	[DEBUG]	Executed store
2023-10-13	13:28:23	3613	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:23	3613	[DEBUG]	Manufacturer exists
2023-10-13	13:28:23	3613	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:23	3613	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:23	3613	[DEBUG]	Executed store
2023-10-13	13:28:23	3613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863105','121')
2023-10-13	13:28:23	3613	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:23	3613	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:23	3613	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863105 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:23	3613	[DEBUG]	Store custom available field
2023-10-13	13:28:23	3613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863105,3,'',1)
2023-10-13	13:28:23	3613	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:23	3613	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:23	3613	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863105 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:23	3613	[DEBUG]	Store custom available field
2023-10-13	13:28:23	3613	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863105,6,'Unitaire',3)
2023-10-13	13:28:23	3613	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:23	3613	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:23	3613	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863104
2023-10-13	13:28:23	3613	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:23	3613	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863104\":[1863104,8,1,\"choisir la taille\"],\"1863105\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863104
2023-10-13	13:28:23	3613	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:23	3613	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863105
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:23	3614	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field taille
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:23	3614	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:23	3614	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:23	3614	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:23	3614	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:23	3614	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:23	3614	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:23	3614	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field published
2023-10-13	13:28:23	3614	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:23	3614	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field override
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:23	3614	[DEBUG]	Use field value for field slug
2023-10-13	13:28:23	3614	[DEBUG]	Process line 3614
2023-10-13	13:28:23	3614	[DEBUG]	Load a row
2023-10-13	13:28:23	3614	[DEBUG]	Processing item: A_5816_1
2023-10-13	13:28:23	3614	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:23	3614	[DEBUG]	Processing product tax
2023-10-13	13:28:23	3614	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:23	3614	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:23	3614	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:23	3614	[DEBUG]	Query for Product
2023-10-13	13:28:23	3614	[DEBUG]	Executed store
2023-10-13	13:28:23	3614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5816_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:23	3614	[DEBUG]	Check product language entry
2023-10-13	13:28:23	3614	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863106
2023-10-13	13:28:23	3614	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:23	3614	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5816_1' AND `virtuemart_product_id` != 1863106
2023-10-13	13:28:23	3614	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:23	3614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863106, 'A_5816_1')
2023-10-13	13:28:23	3614	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:23	3614	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-protein-nut2-milk-chocolate-peanut-noir' AND `virtuemart_product_id` != 1863106
2023-10-13	13:28:23	3614	[DEBUG]	Query for ProductLang
2023-10-13	13:28:23	3614	[DEBUG]	Executed store
2023-10-13	13:28:23	3614	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 21611000',`product_name`='POWERBAR Barre PROTEIN NUT2 Milk Chocolate Peanut / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-protein-nut2-milk-chocolate-peanut-noir' WHERE `virtuemart_product_id` = '1863106'
2023-10-13	13:28:23	3614	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30338_barre_protein_nut2_milk_chocolate_peanut.jpg
2023-10-13	13:28:23	3614	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:23	3614	[DEBUG]	Process image file
2023-10-13	13:28:23	3614	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:23	3614	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:23	3614	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30338_barre_protein_nut2_milk_chocolate_peanut.jpg
2023-10-13	13:28:23	3614	[DEBUG]	Full name target: bcprisme/30338_barre_protein_nut2_milk_chocolate_peanut.jpg
2023-10-13	13:28:24	3614	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:24	3614	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30338_barre_protein_nut2_milk_chocolate_peanut.jpg'
2023-10-13	13:28:24	3614	[DEBUG]	Query for Media
2023-10-13	13:28:24	3614	[DEBUG]	Executed store
2023-10-13	13:28:24	3614	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30338_barre_protein_nut2_milk_chocolate_peanut.jpg',`file_url_thumb`='bcprisme/30338_barre_protein_nut2_milk_chocolate_peanut.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '697372'
2023-10-13	13:28:24	3614	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:24	3614	[DEBUG]	Executed store
2023-10-13	13:28:24	3614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863106','697372','1')
2023-10-13	13:28:24	3614	[DEBUG]	Store product image relation
2023-10-13	13:28:24	3614	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:24	3614	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863106 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:24	3614	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:24	3614	[DEBUG]	Executed store
2023-10-13	13:28:24	3614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863106','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:24	3614	[DEBUG]	Checking manufacturer
2023-10-13	13:28:24	3614	[DEBUG]	Load a row
2023-10-13	13:28:24	3614	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:24	3614	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:24	3614	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:24	3614	[DEBUG]	Executed store
2023-10-13	13:28:24	3614	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:24	3614	[DEBUG]	Manufacturer exists
2023-10-13	13:28:24	3614	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:24	3614	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:24	3614	[DEBUG]	Executed store
2023-10-13	13:28:24	3614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863106','121')
2023-10-13	13:28:24	3614	[DEBUG]	Find the custom field ID
2023-10-13	13:28:24	3614	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:24	3614	[DEBUG]	No custom field ID found
2023-10-13	13:28:24	3614	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:24	3614	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:24	3614	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863106 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:24	3614	[DEBUG]	Store custom available field
2023-10-13	13:28:24	3614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863106,3,'0',1)
2023-10-13	13:28:24	3614	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:24	3614	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:24	3614	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863106 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:24	3614	[DEBUG]	Store custom available field
2023-10-13	13:28:24	3614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863106,6,'choisir la taille',3)
2023-10-13	13:28:24	3614	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:24	3614	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:24	3614	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:24	3614	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:24	3614	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863106 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:24	3614	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:24	3614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863106,8,1)
2023-10-13	13:28:24	3614	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:24	3614	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863106\":[1863106,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863106
2023-10-13	13:28:24	3614	[DEBUG]	Checking category
2023-10-13	13:28:24	3614	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:24	3614	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863106
2023-10-13	13:28:24	3614	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:24	3614	[DEBUG]	Executed store
2023-10-13	13:28:24	3614	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863106','7383')
2023-10-13	13:28:24	3614	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:24	3614	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863106 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:24	3614	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:24	3614	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863106
2023-10-13	13:28:24	3615	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:24	3615	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:24	3615	[DEBUG]	Use field value for field taille
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:24	3615	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:24	3615	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:24	3615	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:24	3615	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:24	3615	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:24	3615	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:24	3615	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:24	3615	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:24	3615	[DEBUG]	Use field value for field published
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:24	3615	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field override
2023-10-13	13:28:24	3615	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:24	3615	[DEBUG]	Use field value for field slug
2023-10-13	13:28:24	3615	[DEBUG]	Process line 3615
2023-10-13	13:28:24	3615	[DEBUG]	Load a row
2023-10-13	13:28:24	3615	[DEBUG]	Processing item: 4029679996267
2023-10-13	13:28:24	3615	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:24	3615	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:24	3615	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5816_1'
2023-10-13	13:28:24	3615	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:24	3615	[DEBUG]	Processing product tax
2023-10-13	13:28:24	3615	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:24	3615	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:24	3615	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:24	3615	[DEBUG]	Query for Product
2023-10-13	13:28:24	3615	[DEBUG]	Executed store
2023-10-13	13:28:24	3615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863106','4029679996267','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:24	3615	[DEBUG]	No parent found
2023-10-13	13:28:24	3615	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863106 AND customfield_value = 'stockable'
2023-10-13	13:28:24	3615	[DEBUG]	Check product language entry
2023-10-13	13:28:24	3615	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863107
2023-10-13	13:28:24	3615	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:24	3615	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679996267' AND `virtuemart_product_id` != 1863107
2023-10-13	13:28:24	3615	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:24	3615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863107, '4029679996267')
2023-10-13	13:28:24	3615	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:24	3615	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-protein-nut2-milk-chocolate-peanut-noir-unitaire' AND `virtuemart_product_id` != 1863107
2023-10-13	13:28:24	3615	[DEBUG]	Query for ProductLang
2023-10-13	13:28:24	3615	[DEBUG]	Executed store
2023-10-13	13:28:24	3615	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Barre PROTEIN NUT2 Milk Chocolate Peanut / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-protein-nut2-milk-chocolate-peanut-noir-unitaire' WHERE `virtuemart_product_id` = '1863107'
2023-10-13	13:28:24	3615	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30338_barre_protein_nut2_milk_chocolate_peanut.jpg
2023-10-13	13:28:24	3615	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:24	3615	[DEBUG]	Process image file
2023-10-13	13:28:24	3615	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:24	3615	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:24	3615	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30338_barre_protein_nut2_milk_chocolate_peanut.jpg
2023-10-13	13:28:24	3615	[DEBUG]	Full name target: bcprisme/30338_barre_protein_nut2_milk_chocolate_peanut.jpg
2023-10-13	13:28:25	3615	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:25	3615	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30338_barre_protein_nut2_milk_chocolate_peanut.jpg'
2023-10-13	13:28:25	3615	[DEBUG]	Query for Media
2023-10-13	13:28:25	3615	[DEBUG]	Executed store
2023-10-13	13:28:25	3615	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30338_barre_protein_nut2_milk_chocolate_peanut.jpg',`file_url_thumb`='bcprisme/30338_barre_protein_nut2_milk_chocolate_peanut.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '697372'
2023-10-13	13:28:25	3615	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:25	3615	[DEBUG]	Executed store
2023-10-13	13:28:25	3615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863107','697372','1')
2023-10-13	13:28:25	3615	[DEBUG]	Store product image relation
2023-10-13	13:28:25	3615	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:25	3615	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863107 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:25	3615	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:25	3615	[DEBUG]	Executed store
2023-10-13	13:28:25	3615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863107','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:25	3615	[DEBUG]	Checking manufacturer
2023-10-13	13:28:25	3615	[DEBUG]	Load a row
2023-10-13	13:28:25	3615	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:25	3615	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:25	3615	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:25	3615	[DEBUG]	Executed store
2023-10-13	13:28:25	3615	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:25	3615	[DEBUG]	Manufacturer exists
2023-10-13	13:28:25	3615	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:25	3615	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:25	3615	[DEBUG]	Executed store
2023-10-13	13:28:25	3615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863107','121')
2023-10-13	13:28:25	3615	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:25	3615	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:25	3615	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863107 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:25	3615	[DEBUG]	Store custom available field
2023-10-13	13:28:25	3615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863107,3,'',1)
2023-10-13	13:28:25	3615	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:25	3615	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:25	3615	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863107 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:25	3615	[DEBUG]	Store custom available field
2023-10-13	13:28:25	3615	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863107,6,'Unitaire',3)
2023-10-13	13:28:25	3615	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:25	3615	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:25	3615	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863106
2023-10-13	13:28:25	3615	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:25	3615	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863106\":[1863106,8,1,\"choisir la taille\"],\"1863107\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863106
2023-10-13	13:28:25	3615	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:25	3615	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863107
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:25	3616	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field taille
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:25	3616	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:25	3616	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:25	3616	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:25	3616	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:25	3616	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:25	3616	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:25	3616	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field published
2023-10-13	13:28:25	3616	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:25	3616	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field override
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:25	3616	[DEBUG]	Use field value for field slug
2023-10-13	13:28:25	3616	[DEBUG]	Process line 3616
2023-10-13	13:28:25	3616	[DEBUG]	Load a row
2023-10-13	13:28:25	3616	[DEBUG]	Processing item: A_6076_3
2023-10-13	13:28:25	3616	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:25	3616	[DEBUG]	Processing product tax
2023-10-13	13:28:25	3616	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:25	3616	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:25	3616	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:25	3616	[DEBUG]	Query for Product
2023-10-13	13:28:25	3616	[DEBUG]	Executed store
2023-10-13	13:28:25	3616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6076_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:25	3616	[DEBUG]	Check product language entry
2023-10-13	13:28:25	3616	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863108
2023-10-13	13:28:25	3616	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:25	3616	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6076_3' AND `virtuemart_product_id` != 1863108
2023-10-13	13:28:25	3616	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:25	3616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863108, 'A_6076_3')
2023-10-13	13:28:25	3616	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:25	3616	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-shots-rasperry-none' AND `virtuemart_product_id` != 1863108
2023-10-13	13:28:25	3616	[DEBUG]	Query for ProductLang
2023-10-13	13:28:25	3616	[DEBUG]	Executed store
2023-10-13	13:28:25	3616	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 12385259',`product_name`='POWERBAR POWERGEL SHOTS Rasperry  / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-shots-rasperry-none' WHERE `virtuemart_product_id` = '1863108'
2023-10-13	13:28:25	3616	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31768_powergel_shots_rasperry_.jpg
2023-10-13	13:28:25	3616	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:25	3616	[DEBUG]	Process image file
2023-10-13	13:28:25	3616	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:25	3616	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:25	3616	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31768_powergel_shots_rasperry_.jpg
2023-10-13	13:28:25	3616	[DEBUG]	Full name target: bcprisme/31768_powergel_shots_rasperry_.jpg
2023-10-13	13:28:26	3616	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:26	3616	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31768_powergel_shots_rasperry_.jpg'
2023-10-13	13:28:26	3616	[DEBUG]	Query for Media
2023-10-13	13:28:26	3616	[DEBUG]	Executed store
2023-10-13	13:28:26	3616	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31768_powergel_shots_rasperry_.jpg',`file_url_thumb`='bcprisme/31768_powergel_shots_rasperry_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381465'
2023-10-13	13:28:26	3616	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:26	3616	[DEBUG]	Executed store
2023-10-13	13:28:26	3616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863108','381465','1')
2023-10-13	13:28:26	3616	[DEBUG]	Store product image relation
2023-10-13	13:28:26	3616	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:26	3616	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863108 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:26	3616	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:26	3616	[DEBUG]	Executed store
2023-10-13	13:28:26	3616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863108','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:26	3616	[DEBUG]	Checking manufacturer
2023-10-13	13:28:26	3616	[DEBUG]	Load a row
2023-10-13	13:28:26	3616	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:26	3616	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:26	3616	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:26	3616	[DEBUG]	Executed store
2023-10-13	13:28:26	3616	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:26	3616	[DEBUG]	Manufacturer exists
2023-10-13	13:28:26	3616	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:26	3616	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:26	3616	[DEBUG]	Executed store
2023-10-13	13:28:26	3616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863108','121')
2023-10-13	13:28:26	3616	[DEBUG]	Find the custom field ID
2023-10-13	13:28:26	3616	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:26	3616	[DEBUG]	No custom field ID found
2023-10-13	13:28:26	3616	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:26	3616	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:26	3616	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863108 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:26	3616	[DEBUG]	Store custom available field
2023-10-13	13:28:26	3616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863108,3,'0',1)
2023-10-13	13:28:26	3616	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:26	3616	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:26	3616	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863108 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:26	3616	[DEBUG]	Store custom available field
2023-10-13	13:28:26	3616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863108,6,'choisir la taille',3)
2023-10-13	13:28:26	3616	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:26	3616	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:26	3616	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:26	3616	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:26	3616	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863108 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:26	3616	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:26	3616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863108,8,1)
2023-10-13	13:28:26	3616	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:26	3616	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863108\":[1863108,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863108
2023-10-13	13:28:26	3616	[DEBUG]	Checking category
2023-10-13	13:28:26	3616	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:26	3616	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863108
2023-10-13	13:28:26	3616	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:26	3616	[DEBUG]	Executed store
2023-10-13	13:28:26	3616	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863108','7383')
2023-10-13	13:28:26	3616	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:26	3616	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863108 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:26	3616	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:26	3616	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863108
2023-10-13	13:28:26	3617	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:26	3617	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:26	3617	[DEBUG]	Use field value for field taille
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:26	3617	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:26	3617	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:26	3617	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:26	3617	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:26	3617	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:26	3617	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:26	3617	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:26	3617	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:26	3617	[DEBUG]	Use field value for field published
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:26	3617	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field override
2023-10-13	13:28:26	3617	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:26	3617	[DEBUG]	Use field value for field slug
2023-10-13	13:28:26	3617	[DEBUG]	Process line 3617
2023-10-13	13:28:26	3617	[DEBUG]	Load a row
2023-10-13	13:28:26	3617	[DEBUG]	Processing item: 4029679673328
2023-10-13	13:28:26	3617	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:26	3617	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:26	3617	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6076_3'
2023-10-13	13:28:26	3617	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:26	3617	[DEBUG]	Processing product tax
2023-10-13	13:28:26	3617	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:26	3617	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:26	3617	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:26	3617	[DEBUG]	Query for Product
2023-10-13	13:28:26	3617	[DEBUG]	Executed store
2023-10-13	13:28:26	3617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863108','4029679673328','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:26	3617	[DEBUG]	No parent found
2023-10-13	13:28:26	3617	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863108 AND customfield_value = 'stockable'
2023-10-13	13:28:26	3617	[DEBUG]	Check product language entry
2023-10-13	13:28:26	3617	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863109
2023-10-13	13:28:26	3617	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:26	3617	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679673328' AND `virtuemart_product_id` != 1863109
2023-10-13	13:28:26	3617	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:26	3617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863109, '4029679673328')
2023-10-13	13:28:26	3617	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:26	3617	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-shots-rasperry-none-unitaire' AND `virtuemart_product_id` != 1863109
2023-10-13	13:28:26	3617	[DEBUG]	Query for ProductLang
2023-10-13	13:28:26	3617	[DEBUG]	Executed store
2023-10-13	13:28:26	3617	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERGEL SHOTS Rasperry  / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-shots-rasperry-none-unitaire' WHERE `virtuemart_product_id` = '1863109'
2023-10-13	13:28:26	3617	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31768_powergel_shots_rasperry_.jpg
2023-10-13	13:28:26	3617	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:26	3617	[DEBUG]	Process image file
2023-10-13	13:28:26	3617	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:26	3617	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:26	3617	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31768_powergel_shots_rasperry_.jpg
2023-10-13	13:28:26	3617	[DEBUG]	Full name target: bcprisme/31768_powergel_shots_rasperry_.jpg
2023-10-13	13:28:27	3617	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:27	3617	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31768_powergel_shots_rasperry_.jpg'
2023-10-13	13:28:27	3617	[DEBUG]	Query for Media
2023-10-13	13:28:27	3617	[DEBUG]	Executed store
2023-10-13	13:28:27	3617	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31768_powergel_shots_rasperry_.jpg',`file_url_thumb`='bcprisme/31768_powergel_shots_rasperry_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381465'
2023-10-13	13:28:27	3617	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:27	3617	[DEBUG]	Executed store
2023-10-13	13:28:27	3617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863109','381465','1')
2023-10-13	13:28:27	3617	[DEBUG]	Store product image relation
2023-10-13	13:28:27	3617	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:27	3617	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863109 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:27	3617	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:27	3617	[DEBUG]	Executed store
2023-10-13	13:28:27	3617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863109','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:27	3617	[DEBUG]	Checking manufacturer
2023-10-13	13:28:27	3617	[DEBUG]	Load a row
2023-10-13	13:28:27	3617	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:27	3617	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:27	3617	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:27	3617	[DEBUG]	Executed store
2023-10-13	13:28:27	3617	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:27	3617	[DEBUG]	Manufacturer exists
2023-10-13	13:28:27	3617	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:27	3617	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:27	3617	[DEBUG]	Executed store
2023-10-13	13:28:27	3617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863109','121')
2023-10-13	13:28:27	3617	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:27	3617	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:27	3617	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863109 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:27	3617	[DEBUG]	Store custom available field
2023-10-13	13:28:27	3617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863109,3,'',1)
2023-10-13	13:28:27	3617	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:27	3617	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:27	3617	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863109 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:27	3617	[DEBUG]	Store custom available field
2023-10-13	13:28:27	3617	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863109,6,'Unitaire',3)
2023-10-13	13:28:27	3617	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:27	3617	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:27	3617	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863108
2023-10-13	13:28:27	3617	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:27	3617	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863108\":[1863108,8,1,\"choisir la taille\"],\"1863109\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863108
2023-10-13	13:28:27	3617	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:27	3617	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863109
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:27	3618	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field taille
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:27	3618	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:27	3618	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:27	3618	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:27	3618	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:27	3618	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:27	3618	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:27	3618	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field published
2023-10-13	13:28:27	3618	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:27	3618	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field override
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:27	3618	[DEBUG]	Use field value for field slug
2023-10-13	13:28:27	3618	[DEBUG]	Process line 3618
2023-10-13	13:28:27	3618	[DEBUG]	Load a row
2023-10-13	13:28:27	3618	[DEBUG]	Processing item: A_6078_3
2023-10-13	13:28:27	3618	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:27	3618	[DEBUG]	Processing product tax
2023-10-13	13:28:27	3618	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:27	3618	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:27	3618	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:27	3618	[DEBUG]	Query for Product
2023-10-13	13:28:27	3618	[DEBUG]	Executed store
2023-10-13	13:28:27	3618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6078_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:27	3618	[DEBUG]	Check product language entry
2023-10-13	13:28:27	3618	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863110
2023-10-13	13:28:27	3618	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:27	3618	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6078_3' AND `virtuemart_product_id` != 1863110
2023-10-13	13:28:27	3618	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:27	3618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863110, 'A_6078_3')
2023-10-13	13:28:27	3618	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:27	3618	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-original-lemon-lime-none' AND `virtuemart_product_id` != 1863110
2023-10-13	13:28:27	3618	[DEBUG]	Query for ProductLang
2023-10-13	13:28:27	3618	[DEBUG]	Executed store
2023-10-13	13:28:27	3618	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 22010400',`product_name`='POWERBAR POWERGEL ORIGINAL LEMON LIME / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-original-lemon-lime-none' WHERE `virtuemart_product_id` = '1863110'
2023-10-13	13:28:27	3618	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31770_powergel_original_lemon_lime.jpg
2023-10-13	13:28:27	3618	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:27	3618	[DEBUG]	Process image file
2023-10-13	13:28:27	3618	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:27	3618	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:27	3618	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31770_powergel_original_lemon_lime.jpg
2023-10-13	13:28:27	3618	[DEBUG]	Full name target: bcprisme/31770_powergel_original_lemon_lime.jpg
2023-10-13	13:28:28	3618	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:28	3618	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31770_powergel_original_lemon_lime.jpg'
2023-10-13	13:28:28	3618	[DEBUG]	Query for Media
2023-10-13	13:28:28	3618	[DEBUG]	Executed store
2023-10-13	13:28:28	3618	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31770_powergel_original_lemon_lime.jpg',`file_url_thumb`='bcprisme/31770_powergel_original_lemon_lime.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381467'
2023-10-13	13:28:28	3618	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:28	3618	[DEBUG]	Executed store
2023-10-13	13:28:28	3618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863110','381467','1')
2023-10-13	13:28:28	3618	[DEBUG]	Store product image relation
2023-10-13	13:28:28	3618	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:28	3618	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863110 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:28	3618	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:28	3618	[DEBUG]	Executed store
2023-10-13	13:28:28	3618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863110','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:28	3618	[DEBUG]	Checking manufacturer
2023-10-13	13:28:28	3618	[DEBUG]	Load a row
2023-10-13	13:28:28	3618	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:28	3618	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:28	3618	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:28	3618	[DEBUG]	Executed store
2023-10-13	13:28:28	3618	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:28	3618	[DEBUG]	Manufacturer exists
2023-10-13	13:28:28	3618	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:28	3618	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:28	3618	[DEBUG]	Executed store
2023-10-13	13:28:28	3618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863110','121')
2023-10-13	13:28:28	3618	[DEBUG]	Find the custom field ID
2023-10-13	13:28:28	3618	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:28	3618	[DEBUG]	No custom field ID found
2023-10-13	13:28:28	3618	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:28	3618	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:28	3618	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863110 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:28	3618	[DEBUG]	Store custom available field
2023-10-13	13:28:28	3618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863110,3,'0',1)
2023-10-13	13:28:28	3618	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:28	3618	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:28	3618	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863110 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:28	3618	[DEBUG]	Store custom available field
2023-10-13	13:28:28	3618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863110,6,'choisir la taille',3)
2023-10-13	13:28:28	3618	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:28	3618	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:28	3618	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:28	3618	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:28	3618	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863110 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:28	3618	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:28	3618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863110,8,1)
2023-10-13	13:28:28	3618	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:28	3618	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863110\":[1863110,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863110
2023-10-13	13:28:28	3618	[DEBUG]	Checking category
2023-10-13	13:28:28	3618	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:28	3618	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863110
2023-10-13	13:28:28	3618	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:28	3618	[DEBUG]	Executed store
2023-10-13	13:28:28	3618	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863110','7383')
2023-10-13	13:28:28	3618	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:28	3618	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863110 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:28	3618	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:28	3618	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863110
2023-10-13	13:28:28	3619	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:28	3619	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:28	3619	[DEBUG]	Use field value for field taille
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:28	3619	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:28	3619	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:28	3619	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:28	3619	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:28	3619	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:28	3619	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:28	3619	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:28	3619	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:28	3619	[DEBUG]	Use field value for field published
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:28	3619	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field override
2023-10-13	13:28:28	3619	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:28	3619	[DEBUG]	Use field value for field slug
2023-10-13	13:28:28	3619	[DEBUG]	Process line 3619
2023-10-13	13:28:28	3619	[DEBUG]	Load a row
2023-10-13	13:28:28	3619	[DEBUG]	Processing item: 4029679672482
2023-10-13	13:28:28	3619	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:28	3619	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:28	3619	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6078_3'
2023-10-13	13:28:28	3619	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:28	3619	[DEBUG]	Processing product tax
2023-10-13	13:28:28	3619	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:28	3619	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:28	3619	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:28	3619	[DEBUG]	Query for Product
2023-10-13	13:28:28	3619	[DEBUG]	Executed store
2023-10-13	13:28:28	3619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863110','4029679672482','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:28	3619	[DEBUG]	No parent found
2023-10-13	13:28:28	3619	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863110 AND customfield_value = 'stockable'
2023-10-13	13:28:28	3619	[DEBUG]	Check product language entry
2023-10-13	13:28:28	3619	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863111
2023-10-13	13:28:28	3619	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:28	3619	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679672482' AND `virtuemart_product_id` != 1863111
2023-10-13	13:28:28	3619	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:28	3619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863111, '4029679672482')
2023-10-13	13:28:28	3619	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:28	3619	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-original-lemon-lime-none-unitaire' AND `virtuemart_product_id` != 1863111
2023-10-13	13:28:28	3619	[DEBUG]	Query for ProductLang
2023-10-13	13:28:28	3619	[DEBUG]	Executed store
2023-10-13	13:28:28	3619	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERGEL ORIGINAL LEMON LIME / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-original-lemon-lime-none-unitaire' WHERE `virtuemart_product_id` = '1863111'
2023-10-13	13:28:28	3619	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31770_powergel_original_lemon_lime.jpg
2023-10-13	13:28:28	3619	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:28	3619	[DEBUG]	Process image file
2023-10-13	13:28:28	3619	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:28	3619	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:28	3619	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31770_powergel_original_lemon_lime.jpg
2023-10-13	13:28:28	3619	[DEBUG]	Full name target: bcprisme/31770_powergel_original_lemon_lime.jpg
2023-10-13	13:28:29	3619	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:29	3619	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31770_powergel_original_lemon_lime.jpg'
2023-10-13	13:28:29	3619	[DEBUG]	Query for Media
2023-10-13	13:28:29	3619	[DEBUG]	Executed store
2023-10-13	13:28:29	3619	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31770_powergel_original_lemon_lime.jpg',`file_url_thumb`='bcprisme/31770_powergel_original_lemon_lime.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381467'
2023-10-13	13:28:29	3619	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:29	3619	[DEBUG]	Executed store
2023-10-13	13:28:29	3619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863111','381467','1')
2023-10-13	13:28:29	3619	[DEBUG]	Store product image relation
2023-10-13	13:28:29	3619	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:29	3619	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863111 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:29	3619	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:29	3619	[DEBUG]	Executed store
2023-10-13	13:28:29	3619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863111','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:29	3619	[DEBUG]	Checking manufacturer
2023-10-13	13:28:29	3619	[DEBUG]	Load a row
2023-10-13	13:28:29	3619	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:29	3619	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:29	3619	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:29	3619	[DEBUG]	Executed store
2023-10-13	13:28:29	3619	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:29	3619	[DEBUG]	Manufacturer exists
2023-10-13	13:28:29	3619	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:29	3619	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:29	3619	[DEBUG]	Executed store
2023-10-13	13:28:29	3619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863111','121')
2023-10-13	13:28:29	3619	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:29	3619	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:29	3619	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863111 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:29	3619	[DEBUG]	Store custom available field
2023-10-13	13:28:29	3619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863111,3,'',1)
2023-10-13	13:28:29	3619	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:29	3619	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:29	3619	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863111 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:29	3619	[DEBUG]	Store custom available field
2023-10-13	13:28:29	3619	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863111,6,'Unitaire',3)
2023-10-13	13:28:29	3619	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:29	3619	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:29	3619	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863110
2023-10-13	13:28:29	3619	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:29	3619	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863110\":[1863110,8,1,\"choisir la taille\"],\"1863111\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863110
2023-10-13	13:28:29	3619	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:29	3619	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863111
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:29	3620	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field taille
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:29	3620	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:29	3620	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:29	3620	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:29	3620	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:29	3620	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:29	3620	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:29	3620	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field published
2023-10-13	13:28:29	3620	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:29	3620	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:29	3620	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:30	3620	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:30	3620	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:30	3620	[DEBUG]	Use field value for field override
2023-10-13	13:28:30	3620	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:30	3620	[DEBUG]	Use field value for field slug
2023-10-13	13:28:30	3620	[DEBUG]	Process line 3620
2023-10-13	13:28:30	3620	[DEBUG]	Load a row
2023-10-13	13:28:30	3620	[DEBUG]	Processing item: A_6079_3
2023-10-13	13:28:30	3620	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:30	3620	[DEBUG]	Processing product tax
2023-10-13	13:28:30	3620	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:30	3620	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:30	3620	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:30	3620	[DEBUG]	Query for Product
2023-10-13	13:28:30	3620	[DEBUG]	Executed store
2023-10-13	13:28:30	3620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6079_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:30	3620	[DEBUG]	Check product language entry
2023-10-13	13:28:30	3620	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863112
2023-10-13	13:28:30	3620	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:30	3620	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6079_3' AND `virtuemart_product_id` != 1863112
2023-10-13	13:28:30	3620	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:30	3620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863112, 'A_6079_3')
2023-10-13	13:28:30	3620	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:30	3620	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-hydro-cherry-none' AND `virtuemart_product_id` != 1863112
2023-10-13	13:28:30	3620	[DEBUG]	Query for ProductLang
2023-10-13	13:28:30	3620	[DEBUG]	Executed store
2023-10-13	13:28:30	3620	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 22040400',`product_name`='POWERBAR POWERGEL HYDRO CHERRY / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-hydro-cherry-none' WHERE `virtuemart_product_id` = '1863112'
2023-10-13	13:28:30	3620	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31771_powergel_hydro_cherry.jpg
2023-10-13	13:28:30	3620	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:30	3620	[DEBUG]	Process image file
2023-10-13	13:28:30	3620	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:30	3620	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:30	3620	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31771_powergel_hydro_cherry.jpg
2023-10-13	13:28:30	3620	[DEBUG]	Full name target: bcprisme/31771_powergel_hydro_cherry.jpg
2023-10-13	13:28:31	3620	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:31	3620	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31771_powergel_hydro_cherry.jpg'
2023-10-13	13:28:31	3620	[DEBUG]	Query for Media
2023-10-13	13:28:31	3620	[DEBUG]	Executed store
2023-10-13	13:28:31	3620	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31771_powergel_hydro_cherry.jpg',`file_url_thumb`='bcprisme/31771_powergel_hydro_cherry.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381469'
2023-10-13	13:28:31	3620	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:31	3620	[DEBUG]	Executed store
2023-10-13	13:28:31	3620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863112','381469','1')
2023-10-13	13:28:31	3620	[DEBUG]	Store product image relation
2023-10-13	13:28:31	3620	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:31	3620	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863112 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:31	3620	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:31	3620	[DEBUG]	Executed store
2023-10-13	13:28:31	3620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863112','0','2.97121634168988','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:31	3620	[DEBUG]	Checking manufacturer
2023-10-13	13:28:31	3620	[DEBUG]	Load a row
2023-10-13	13:28:31	3620	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:31	3620	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:31	3620	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:31	3620	[DEBUG]	Executed store
2023-10-13	13:28:31	3620	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:31	3620	[DEBUG]	Manufacturer exists
2023-10-13	13:28:31	3620	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:31	3620	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:31	3620	[DEBUG]	Executed store
2023-10-13	13:28:31	3620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863112','121')
2023-10-13	13:28:31	3620	[DEBUG]	Find the custom field ID
2023-10-13	13:28:31	3620	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:31	3620	[DEBUG]	No custom field ID found
2023-10-13	13:28:31	3620	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:31	3620	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:31	3620	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863112 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:31	3620	[DEBUG]	Store custom available field
2023-10-13	13:28:31	3620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863112,3,'0',1)
2023-10-13	13:28:31	3620	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:31	3620	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:31	3620	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863112 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:31	3620	[DEBUG]	Store custom available field
2023-10-13	13:28:31	3620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863112,6,'choisir la taille',3)
2023-10-13	13:28:31	3620	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:31	3620	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:31	3620	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:31	3620	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:31	3620	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863112 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:31	3620	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:31	3620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863112,8,1)
2023-10-13	13:28:31	3620	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:31	3620	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863112\":[1863112,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863112
2023-10-13	13:28:31	3620	[DEBUG]	Checking category
2023-10-13	13:28:31	3620	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:31	3620	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863112
2023-10-13	13:28:31	3620	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:31	3620	[DEBUG]	Executed store
2023-10-13	13:28:31	3620	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863112','7383')
2023-10-13	13:28:31	3620	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:31	3620	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863112 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:31	3620	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:31	3620	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863112
2023-10-13	13:28:31	3621	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:31	3621	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:31	3621	[DEBUG]	Use field value for field taille
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:31	3621	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:31	3621	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:31	3621	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:31	3621	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:31	3621	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:31	3621	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:31	3621	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:31	3621	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:31	3621	[DEBUG]	Use field value for field published
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:31	3621	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field override
2023-10-13	13:28:31	3621	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:31	3621	[DEBUG]	Use field value for field slug
2023-10-13	13:28:31	3621	[DEBUG]	Process line 3621
2023-10-13	13:28:31	3621	[DEBUG]	Load a row
2023-10-13	13:28:31	3621	[DEBUG]	Processing item: 4029679672697
2023-10-13	13:28:31	3621	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:31	3621	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:31	3621	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6079_3'
2023-10-13	13:28:31	3621	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:31	3621	[DEBUG]	Processing product tax
2023-10-13	13:28:31	3621	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:31	3621	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:31	3621	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:31	3621	[DEBUG]	Query for Product
2023-10-13	13:28:31	3621	[DEBUG]	Executed store
2023-10-13	13:28:31	3621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863112','4029679672697','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:31	3621	[DEBUG]	No parent found
2023-10-13	13:28:31	3621	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863112 AND customfield_value = 'stockable'
2023-10-13	13:28:31	3621	[DEBUG]	Check product language entry
2023-10-13	13:28:31	3621	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863113
2023-10-13	13:28:31	3621	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:31	3621	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679672697' AND `virtuemart_product_id` != 1863113
2023-10-13	13:28:31	3621	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:31	3621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863113, '4029679672697')
2023-10-13	13:28:31	3621	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:31	3621	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-hydro-cherry-none-unitaire' AND `virtuemart_product_id` != 1863113
2023-10-13	13:28:31	3621	[DEBUG]	Query for ProductLang
2023-10-13	13:28:31	3621	[DEBUG]	Executed store
2023-10-13	13:28:31	3621	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERGEL HYDRO CHERRY / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-hydro-cherry-none-unitaire' WHERE `virtuemart_product_id` = '1863113'
2023-10-13	13:28:31	3621	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31771_powergel_hydro_cherry.jpg
2023-10-13	13:28:31	3621	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:31	3621	[DEBUG]	Process image file
2023-10-13	13:28:31	3621	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:31	3621	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:31	3621	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31771_powergel_hydro_cherry.jpg
2023-10-13	13:28:31	3621	[DEBUG]	Full name target: bcprisme/31771_powergel_hydro_cherry.jpg
2023-10-13	13:28:32	3621	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:32	3621	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31771_powergel_hydro_cherry.jpg'
2023-10-13	13:28:32	3621	[DEBUG]	Query for Media
2023-10-13	13:28:32	3621	[DEBUG]	Executed store
2023-10-13	13:28:32	3621	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31771_powergel_hydro_cherry.jpg',`file_url_thumb`='bcprisme/31771_powergel_hydro_cherry.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381469'
2023-10-13	13:28:32	3621	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:32	3621	[DEBUG]	Executed store
2023-10-13	13:28:32	3621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863113','381469','1')
2023-10-13	13:28:32	3621	[DEBUG]	Store product image relation
2023-10-13	13:28:32	3621	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:32	3621	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863113 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:32	3621	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:32	3621	[DEBUG]	Executed store
2023-10-13	13:28:32	3621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863113','0','2.97121634168988','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:32	3621	[DEBUG]	Checking manufacturer
2023-10-13	13:28:32	3621	[DEBUG]	Load a row
2023-10-13	13:28:32	3621	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:32	3621	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:32	3621	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:32	3621	[DEBUG]	Executed store
2023-10-13	13:28:32	3621	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:32	3621	[DEBUG]	Manufacturer exists
2023-10-13	13:28:32	3621	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:32	3621	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:32	3621	[DEBUG]	Executed store
2023-10-13	13:28:32	3621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863113','121')
2023-10-13	13:28:32	3621	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:32	3621	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:32	3621	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863113 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:32	3621	[DEBUG]	Store custom available field
2023-10-13	13:28:32	3621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863113,3,'',1)
2023-10-13	13:28:32	3621	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:32	3621	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:32	3621	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863113 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:32	3621	[DEBUG]	Store custom available field
2023-10-13	13:28:32	3621	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863113,6,'Unitaire',3)
2023-10-13	13:28:32	3621	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:32	3621	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:32	3621	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863112
2023-10-13	13:28:32	3621	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:32	3621	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863112\":[1863112,8,1,\"choisir la taille\"],\"1863113\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863112
2023-10-13	13:28:32	3621	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:32	3621	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863113
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:32	3622	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field taille
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:32	3622	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:32	3622	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:32	3622	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:32	3622	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:32	3622	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:32	3622	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field published
2023-10-13	13:28:32	3622	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:32	3622	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field override
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:32	3622	[DEBUG]	Use field value for field slug
2023-10-13	13:28:32	3622	[DEBUG]	Process line 3622
2023-10-13	13:28:32	3622	[DEBUG]	Load a row
2023-10-13	13:28:32	3622	[DEBUG]	Processing item: A_6409_207
2023-10-13	13:28:32	3622	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:32	3622	[DEBUG]	Processing product tax
2023-10-13	13:28:32	3622	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:32	3622	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:32	3622	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:32	3622	[DEBUG]	Query for Product
2023-10-13	13:28:32	3622	[DEBUG]	Executed store
2023-10-13	13:28:32	3622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6409_207','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:32	3622	[DEBUG]	Check product language entry
2023-10-13	13:28:32	3622	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863114
2023-10-13	13:28:32	3622	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:32	3622	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6409_207' AND `virtuemart_product_id` != 1863114
2023-10-13	13:28:32	3622	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:32	3622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863114, 'A_6409_207')
2023-10-13	13:28:32	3622	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:32	3622	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powerbar-5-electrolytes-sports-drink-pink-grapefruit-cafeine-pink' AND `virtuemart_product_id` != 1863114
2023-10-13	13:28:32	3622	[DEBUG]	Query for ProductLang
2023-10-13	13:28:32	3622	[DEBUG]	Executed store
2023-10-13	13:28:32	3622	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 42289647',`product_name`='POWERBAR POWERBAR 5 ELECTROLYTES SPORTS DRINK PINK GRAPEFRUIT + CAFEINE / Pink',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powerbar-5-electrolytes-sports-drink-pink-grapefruit-cafeine-pink' WHERE `virtuemart_product_id` = '1863114'
2023-10-13	13:28:32	3622	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32294_powerbar_5_electrolytes_sports_drink_pink_grapefruit_+_cafeine.jpg
2023-10-13	13:28:32	3622	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:32	3622	[DEBUG]	Process image file
2023-10-13	13:28:32	3622	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:32	3622	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:32	3622	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32294_powerbar_5_electrolytes_sports_drink_pink_grapefruit_+_cafeine.jpg
2023-10-13	13:28:32	3622	[DEBUG]	Full name target: bcprisme/32294_powerbar_5_electrolytes_sports_drink_pink_grapefruit_+_cafeine.jpg
2023-10-13	13:28:33	3622	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:33	3622	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32294_powerbar_5_electrolytes_sports_drink_pink_grapefruit_+_cafeine.jpg'
2023-10-13	13:28:33	3622	[DEBUG]	Query for Media
2023-10-13	13:28:33	3622	[DEBUG]	Executed store
2023-10-13	13:28:33	3622	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32294_powerbar_5_electrolytes_sports_drink_pink_grapefruit_+_cafeine.jpg',`file_url_thumb`='bcprisme/32294_powerbar_5_electrolytes_sports_drink_pink_grapefruit_+_cafeine.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13201'
2023-10-13	13:28:33	3622	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:33	3622	[DEBUG]	Executed store
2023-10-13	13:28:33	3622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863114','13201','1')
2023-10-13	13:28:33	3622	[DEBUG]	Store product image relation
2023-10-13	13:28:33	3622	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:33	3622	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863114 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:33	3622	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:33	3622	[DEBUG]	Executed store
2023-10-13	13:28:33	3622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863114','0','6.03528319405757','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:33	3622	[DEBUG]	Checking manufacturer
2023-10-13	13:28:33	3622	[DEBUG]	Load a row
2023-10-13	13:28:33	3622	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:33	3622	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:33	3622	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:33	3622	[DEBUG]	Executed store
2023-10-13	13:28:33	3622	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:33	3622	[DEBUG]	Manufacturer exists
2023-10-13	13:28:33	3622	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:33	3622	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:33	3622	[DEBUG]	Executed store
2023-10-13	13:28:33	3622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863114','121')
2023-10-13	13:28:33	3622	[DEBUG]	Find the custom field ID
2023-10-13	13:28:33	3622	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:33	3622	[DEBUG]	No custom field ID found
2023-10-13	13:28:33	3622	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:33	3622	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:33	3622	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863114 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:33	3622	[DEBUG]	Store custom available field
2023-10-13	13:28:33	3622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863114,3,'0',1)
2023-10-13	13:28:33	3622	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:33	3622	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:33	3622	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863114 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:33	3622	[DEBUG]	Store custom available field
2023-10-13	13:28:33	3622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863114,6,'choisir la taille',3)
2023-10-13	13:28:33	3622	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:33	3622	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:33	3622	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:33	3622	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:33	3622	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863114 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:33	3622	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:33	3622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863114,8,1)
2023-10-13	13:28:33	3622	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:33	3622	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863114\":[1863114,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863114
2023-10-13	13:28:33	3622	[DEBUG]	Checking category
2023-10-13	13:28:33	3622	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:33	3622	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863114
2023-10-13	13:28:33	3622	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:33	3622	[DEBUG]	Executed store
2023-10-13	13:28:33	3622	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863114','7383')
2023-10-13	13:28:33	3622	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:33	3622	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863114 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:33	3622	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:33	3622	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863114
2023-10-13	13:28:33	3623	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:33	3623	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:33	3623	[DEBUG]	Use field value for field taille
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:33	3623	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:33	3623	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:33	3623	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:33	3623	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:33	3623	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:33	3623	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:33	3623	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:33	3623	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:33	3623	[DEBUG]	Use field value for field published
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:33	3623	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field override
2023-10-13	13:28:33	3623	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:33	3623	[DEBUG]	Use field value for field slug
2023-10-13	13:28:33	3623	[DEBUG]	Process line 3623
2023-10-13	13:28:33	3623	[DEBUG]	Load a row
2023-10-13	13:28:33	3623	[DEBUG]	Processing item: 42289647
2023-10-13	13:28:33	3623	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:33	3623	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:33	3623	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6409_207'
2023-10-13	13:28:33	3623	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:33	3623	[DEBUG]	Processing product tax
2023-10-13	13:28:33	3623	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:33	3623	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:33	3623	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:33	3623	[DEBUG]	Query for Product
2023-10-13	13:28:33	3623	[DEBUG]	Executed store
2023-10-13	13:28:33	3623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863114','42289647','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:33	3623	[DEBUG]	No parent found
2023-10-13	13:28:33	3623	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863114 AND customfield_value = 'stockable'
2023-10-13	13:28:33	3623	[DEBUG]	Check product language entry
2023-10-13	13:28:33	3623	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863115
2023-10-13	13:28:33	3623	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:33	3623	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '42289647' AND `virtuemart_product_id` != 1863115
2023-10-13	13:28:33	3623	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:33	3623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863115, '42289647')
2023-10-13	13:28:33	3623	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:33	3623	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powerbar-5-electrolytes-sports-drink-pink-grapefruit-cafeine-pink-unitaire' AND `virtuemart_product_id` != 1863115
2023-10-13	13:28:33	3623	[DEBUG]	Query for ProductLang
2023-10-13	13:28:33	3623	[DEBUG]	Executed store
2023-10-13	13:28:33	3623	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERBAR 5 ELECTROLYTES SPORTS DRINK PINK GRAPEFRUIT + CAFEINE / Pink (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powerbar-5-electrolytes-sports-drink-pink-grapefruit-cafeine-pink-unitaire' WHERE `virtuemart_product_id` = '1863115'
2023-10-13	13:28:33	3623	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32294_powerbar_5_electrolytes_sports_drink_pink_grapefruit_+_cafeine.jpg
2023-10-13	13:28:33	3623	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:33	3623	[DEBUG]	Process image file
2023-10-13	13:28:33	3623	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:33	3623	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:33	3623	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32294_powerbar_5_electrolytes_sports_drink_pink_grapefruit_+_cafeine.jpg
2023-10-13	13:28:33	3623	[DEBUG]	Full name target: bcprisme/32294_powerbar_5_electrolytes_sports_drink_pink_grapefruit_+_cafeine.jpg
2023-10-13	13:28:34	3623	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:34	3623	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32294_powerbar_5_electrolytes_sports_drink_pink_grapefruit_+_cafeine.jpg'
2023-10-13	13:28:34	3623	[DEBUG]	Query for Media
2023-10-13	13:28:34	3623	[DEBUG]	Executed store
2023-10-13	13:28:34	3623	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32294_powerbar_5_electrolytes_sports_drink_pink_grapefruit_+_cafeine.jpg',`file_url_thumb`='bcprisme/32294_powerbar_5_electrolytes_sports_drink_pink_grapefruit_+_cafeine.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13201'
2023-10-13	13:28:34	3623	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:34	3623	[DEBUG]	Executed store
2023-10-13	13:28:34	3623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863115','13201','1')
2023-10-13	13:28:34	3623	[DEBUG]	Store product image relation
2023-10-13	13:28:34	3623	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:34	3623	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863115 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:34	3623	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:34	3623	[DEBUG]	Executed store
2023-10-13	13:28:34	3623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863115','0','6.03528319405757','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:34	3623	[DEBUG]	Checking manufacturer
2023-10-13	13:28:34	3623	[DEBUG]	Load a row
2023-10-13	13:28:34	3623	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:34	3623	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:34	3623	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:34	3623	[DEBUG]	Executed store
2023-10-13	13:28:34	3623	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:34	3623	[DEBUG]	Manufacturer exists
2023-10-13	13:28:34	3623	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:34	3623	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:34	3623	[DEBUG]	Executed store
2023-10-13	13:28:34	3623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863115','121')
2023-10-13	13:28:34	3623	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:34	3623	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:34	3623	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863115 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:34	3623	[DEBUG]	Store custom available field
2023-10-13	13:28:34	3623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863115,3,'',1)
2023-10-13	13:28:34	3623	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:34	3623	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:34	3623	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863115 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:34	3623	[DEBUG]	Store custom available field
2023-10-13	13:28:34	3623	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863115,6,'Unitaire',3)
2023-10-13	13:28:34	3623	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:34	3623	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:34	3623	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863114
2023-10-13	13:28:34	3623	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:34	3623	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863114\":[1863114,8,1,\"choisir la taille\"],\"1863115\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863114
2023-10-13	13:28:34	3623	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:34	3623	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863115
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:34	3624	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field taille
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:34	3624	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:34	3624	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:34	3624	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:34	3624	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:34	3624	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:34	3624	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field published
2023-10-13	13:28:34	3624	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:34	3624	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field override
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:34	3624	[DEBUG]	Use field value for field slug
2023-10-13	13:28:34	3624	[DEBUG]	Process line 3624
2023-10-13	13:28:34	3624	[DEBUG]	Load a row
2023-10-13	13:28:34	3624	[DEBUG]	Processing item: A_6410_65
2023-10-13	13:28:34	3624	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:34	3624	[DEBUG]	Processing product tax
2023-10-13	13:28:34	3624	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:34	3624	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:34	3624	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:34	3624	[DEBUG]	Query for Product
2023-10-13	13:28:34	3624	[DEBUG]	Executed store
2023-10-13	13:28:34	3624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6410_65','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:34	3624	[DEBUG]	Check product language entry
2023-10-13	13:28:34	3624	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863116
2023-10-13	13:28:34	3624	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:34	3624	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6410_65' AND `virtuemart_product_id` != 1863116
2023-10-13	13:28:34	3624	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:34	3624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863116, 'A_6410_65')
2023-10-13	13:28:34	3624	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:34	3624	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powerbar-5-electrolytes-sports-drink-mango-passionfruit-jaune' AND `virtuemart_product_id` != 1863116
2023-10-13	13:28:34	3624	[DEBUG]	Query for ProductLang
2023-10-13	13:28:34	3624	[DEBUG]	Executed store
2023-10-13	13:28:34	3624	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 42289630',`product_name`='POWERBAR POWERBAR 5 ELECTROLYTES SPORTS DRINK MANGO PASSIONFRUIT  / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powerbar-5-electrolytes-sports-drink-mango-passionfruit-jaune' WHERE `virtuemart_product_id` = '1863116'
2023-10-13	13:28:34	3624	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32295_powerbar_5_electrolytes_sports_drink_mango_passionfruit_.jpg
2023-10-13	13:28:34	3624	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:34	3624	[DEBUG]	Process image file
2023-10-13	13:28:34	3624	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:34	3624	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:34	3624	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32295_powerbar_5_electrolytes_sports_drink_mango_passionfruit_.jpg
2023-10-13	13:28:34	3624	[DEBUG]	Full name target: bcprisme/32295_powerbar_5_electrolytes_sports_drink_mango_passionfruit_.jpg
2023-10-13	13:28:35	3624	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:35	3624	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32295_powerbar_5_electrolytes_sports_drink_mango_passionfruit_.jpg'
2023-10-13	13:28:35	3624	[DEBUG]	Query for Media
2023-10-13	13:28:35	3624	[DEBUG]	Executed store
2023-10-13	13:28:35	3624	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32295_powerbar_5_electrolytes_sports_drink_mango_passionfruit_.jpg',`file_url_thumb`='bcprisme/32295_powerbar_5_electrolytes_sports_drink_mango_passionfruit_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13202'
2023-10-13	13:28:35	3624	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:35	3624	[DEBUG]	Executed store
2023-10-13	13:28:35	3624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863116','13202','1')
2023-10-13	13:28:35	3624	[DEBUG]	Store product image relation
2023-10-13	13:28:35	3624	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:35	3624	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863116 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:35	3624	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:35	3624	[DEBUG]	Executed store
2023-10-13	13:28:35	3624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863116','0','6.03528319405757','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:35	3624	[DEBUG]	Checking manufacturer
2023-10-13	13:28:35	3624	[DEBUG]	Load a row
2023-10-13	13:28:35	3624	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:35	3624	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:35	3624	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:35	3624	[DEBUG]	Executed store
2023-10-13	13:28:35	3624	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:35	3624	[DEBUG]	Manufacturer exists
2023-10-13	13:28:35	3624	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:35	3624	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:35	3624	[DEBUG]	Executed store
2023-10-13	13:28:35	3624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863116','121')
2023-10-13	13:28:35	3624	[DEBUG]	Find the custom field ID
2023-10-13	13:28:35	3624	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:35	3624	[DEBUG]	No custom field ID found
2023-10-13	13:28:35	3624	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:35	3624	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:35	3624	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863116 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:35	3624	[DEBUG]	Store custom available field
2023-10-13	13:28:35	3624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863116,3,'0',1)
2023-10-13	13:28:35	3624	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:35	3624	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:35	3624	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863116 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:35	3624	[DEBUG]	Store custom available field
2023-10-13	13:28:35	3624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863116,6,'choisir la taille',3)
2023-10-13	13:28:35	3624	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:35	3624	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:35	3624	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:35	3624	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:35	3624	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863116 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:35	3624	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:35	3624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863116,8,1)
2023-10-13	13:28:35	3624	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:35	3624	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863116\":[1863116,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863116
2023-10-13	13:28:35	3624	[DEBUG]	Checking category
2023-10-13	13:28:35	3624	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:35	3624	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863116
2023-10-13	13:28:35	3624	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:35	3624	[DEBUG]	Executed store
2023-10-13	13:28:35	3624	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863116','7383')
2023-10-13	13:28:35	3624	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:35	3624	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863116 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:35	3624	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:35	3624	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863116
2023-10-13	13:28:35	3625	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:35	3625	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:35	3625	[DEBUG]	Use field value for field taille
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:35	3625	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:35	3625	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:35	3625	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:35	3625	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:35	3625	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:35	3625	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:35	3625	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:35	3625	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:35	3625	[DEBUG]	Use field value for field published
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:35	3625	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field override
2023-10-13	13:28:35	3625	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:35	3625	[DEBUG]	Use field value for field slug
2023-10-13	13:28:35	3625	[DEBUG]	Process line 3625
2023-10-13	13:28:35	3625	[DEBUG]	Load a row
2023-10-13	13:28:35	3625	[DEBUG]	Processing item: 42289630
2023-10-13	13:28:35	3625	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:35	3625	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:35	3625	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6410_65'
2023-10-13	13:28:35	3625	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:35	3625	[DEBUG]	Processing product tax
2023-10-13	13:28:35	3625	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:35	3625	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:35	3625	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:35	3625	[DEBUG]	Query for Product
2023-10-13	13:28:35	3625	[DEBUG]	Executed store
2023-10-13	13:28:35	3625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863116','42289630','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:35	3625	[DEBUG]	No parent found
2023-10-13	13:28:35	3625	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863116 AND customfield_value = 'stockable'
2023-10-13	13:28:35	3625	[DEBUG]	Check product language entry
2023-10-13	13:28:35	3625	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863117
2023-10-13	13:28:35	3625	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:35	3625	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '42289630' AND `virtuemart_product_id` != 1863117
2023-10-13	13:28:35	3625	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:35	3625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863117, '42289630')
2023-10-13	13:28:35	3625	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:35	3625	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powerbar-5-electrolytes-sports-drink-mango-passionfruit-jaune-unitaire' AND `virtuemart_product_id` != 1863117
2023-10-13	13:28:35	3625	[DEBUG]	Query for ProductLang
2023-10-13	13:28:35	3625	[DEBUG]	Executed store
2023-10-13	13:28:35	3625	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERBAR 5 ELECTROLYTES SPORTS DRINK MANGO PASSIONFRUIT  / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powerbar-5-electrolytes-sports-drink-mango-passionfruit-jaune-unitaire' WHERE `virtuemart_product_id` = '1863117'
2023-10-13	13:28:35	3625	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32295_powerbar_5_electrolytes_sports_drink_mango_passionfruit_.jpg
2023-10-13	13:28:35	3625	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:35	3625	[DEBUG]	Process image file
2023-10-13	13:28:35	3625	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:35	3625	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:35	3625	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32295_powerbar_5_electrolytes_sports_drink_mango_passionfruit_.jpg
2023-10-13	13:28:35	3625	[DEBUG]	Full name target: bcprisme/32295_powerbar_5_electrolytes_sports_drink_mango_passionfruit_.jpg
2023-10-13	13:28:36	3625	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:36	3625	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32295_powerbar_5_electrolytes_sports_drink_mango_passionfruit_.jpg'
2023-10-13	13:28:36	3625	[DEBUG]	Query for Media
2023-10-13	13:28:36	3625	[DEBUG]	Executed store
2023-10-13	13:28:36	3625	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32295_powerbar_5_electrolytes_sports_drink_mango_passionfruit_.jpg',`file_url_thumb`='bcprisme/32295_powerbar_5_electrolytes_sports_drink_mango_passionfruit_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13202'
2023-10-13	13:28:36	3625	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:36	3625	[DEBUG]	Executed store
2023-10-13	13:28:36	3625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863117','13202','1')
2023-10-13	13:28:36	3625	[DEBUG]	Store product image relation
2023-10-13	13:28:36	3625	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:36	3625	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863117 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:36	3625	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:36	3625	[DEBUG]	Executed store
2023-10-13	13:28:36	3625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863117','0','6.03528319405757','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:36	3625	[DEBUG]	Checking manufacturer
2023-10-13	13:28:36	3625	[DEBUG]	Load a row
2023-10-13	13:28:36	3625	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:36	3625	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:36	3625	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:36	3625	[DEBUG]	Executed store
2023-10-13	13:28:36	3625	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:36	3625	[DEBUG]	Manufacturer exists
2023-10-13	13:28:36	3625	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:36	3625	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:36	3625	[DEBUG]	Executed store
2023-10-13	13:28:36	3625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863117','121')
2023-10-13	13:28:36	3625	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:36	3625	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:36	3625	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863117 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:36	3625	[DEBUG]	Store custom available field
2023-10-13	13:28:36	3625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863117,3,'',1)
2023-10-13	13:28:36	3625	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:36	3625	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:36	3625	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863117 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:36	3625	[DEBUG]	Store custom available field
2023-10-13	13:28:36	3625	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863117,6,'Unitaire',3)
2023-10-13	13:28:36	3625	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:36	3625	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:36	3625	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863116
2023-10-13	13:28:36	3625	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:36	3625	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863116\":[1863116,8,1,\"choisir la taille\"],\"1863117\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863116
2023-10-13	13:28:36	3625	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:36	3625	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863117
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:36	3626	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field taille
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:36	3626	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:36	3626	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:36	3626	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:36	3626	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:36	3626	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:36	3626	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field published
2023-10-13	13:28:36	3626	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:36	3626	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field override
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:36	3626	[DEBUG]	Use field value for field slug
2023-10-13	13:28:36	3626	[DEBUG]	Process line 3626
2023-10-13	13:28:36	3626	[DEBUG]	Load a row
2023-10-13	13:28:36	3626	[DEBUG]	Processing item: A_6412_3
2023-10-13	13:28:36	3626	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:36	3626	[DEBUG]	Processing product tax
2023-10-13	13:28:36	3626	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:36	3626	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:36	3626	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:36	3626	[DEBUG]	Query for Product
2023-10-13	13:28:36	3626	[DEBUG]	Executed store
2023-10-13	13:28:36	3626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6412_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:36	3626	[DEBUG]	Check product language entry
2023-10-13	13:28:36	3626	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863118
2023-10-13	13:28:36	3626	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:36	3626	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6412_3' AND `virtuemart_product_id` != 1863118
2023-10-13	13:28:36	3626	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:36	3626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863118, 'A_6412_3')
2023-10-13	13:28:36	3626	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:36	3626	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powerbar-isomax-isotonic-sport-drink-none' AND `virtuemart_product_id` != 1863118
2023-10-13	13:28:36	3626	[DEBUG]	Query for ProductLang
2023-10-13	13:28:36	3626	[DEBUG]	Executed store
2023-10-13	13:28:36	3626	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : ISOMAX',`product_name`='POWERBAR POWERBAR ISOMAX ISOTONIC SPORT DRINK / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powerbar-isomax-isotonic-sport-drink-none' WHERE `virtuemart_product_id` = '1863118'
2023-10-13	13:28:36	3626	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32297_powerbar_isomax_isotonic_sport_drink.jpg
2023-10-13	13:28:36	3626	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:36	3626	[DEBUG]	Process image file
2023-10-13	13:28:36	3626	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:36	3626	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:36	3626	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32297_powerbar_isomax_isotonic_sport_drink.jpg
2023-10-13	13:28:36	3626	[DEBUG]	Full name target: bcprisme/32297_powerbar_isomax_isotonic_sport_drink.jpg
2023-10-13	13:28:37	3626	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:37	3626	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32297_powerbar_isomax_isotonic_sport_drink.jpg'
2023-10-13	13:28:37	3626	[DEBUG]	Query for Media
2023-10-13	13:28:37	3626	[DEBUG]	Executed store
2023-10-13	13:28:37	3626	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32297_powerbar_isomax_isotonic_sport_drink.jpg',`file_url_thumb`='bcprisme/32297_powerbar_isomax_isotonic_sport_drink.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13204'
2023-10-13	13:28:37	3626	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:37	3626	[DEBUG]	Executed store
2023-10-13	13:28:37	3626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863118','13204','1')
2023-10-13	13:28:37	3626	[DEBUG]	Store product image relation
2023-10-13	13:28:37	3626	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:37	3626	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863118 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:37	3626	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:37	3626	[DEBUG]	Executed store
2023-10-13	13:28:37	3626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863118','0','2.32126276694522','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:37	3626	[DEBUG]	Checking manufacturer
2023-10-13	13:28:37	3626	[DEBUG]	Load a row
2023-10-13	13:28:37	3626	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:37	3626	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:37	3626	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:37	3626	[DEBUG]	Executed store
2023-10-13	13:28:37	3626	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:37	3626	[DEBUG]	Manufacturer exists
2023-10-13	13:28:37	3626	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:37	3626	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:37	3626	[DEBUG]	Executed store
2023-10-13	13:28:37	3626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863118','121')
2023-10-13	13:28:37	3626	[DEBUG]	Find the custom field ID
2023-10-13	13:28:37	3626	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:37	3626	[DEBUG]	No custom field ID found
2023-10-13	13:28:37	3626	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:37	3626	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:37	3626	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863118 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:37	3626	[DEBUG]	Store custom available field
2023-10-13	13:28:37	3626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863118,3,'0',1)
2023-10-13	13:28:37	3626	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:37	3626	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:37	3626	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863118 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:37	3626	[DEBUG]	Store custom available field
2023-10-13	13:28:37	3626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863118,6,'choisir la taille',3)
2023-10-13	13:28:37	3626	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:37	3626	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:37	3626	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:37	3626	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:37	3626	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863118 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:37	3626	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:37	3626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863118,8,1)
2023-10-13	13:28:37	3626	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:37	3626	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863118\":[1863118,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863118
2023-10-13	13:28:37	3626	[DEBUG]	Checking category
2023-10-13	13:28:37	3626	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:37	3626	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863118
2023-10-13	13:28:37	3626	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:37	3626	[DEBUG]	Executed store
2023-10-13	13:28:37	3626	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863118','7383')
2023-10-13	13:28:37	3626	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:37	3626	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863118 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:37	3626	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:37	3626	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863118
2023-10-13	13:28:37	3627	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:37	3627	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:37	3627	[DEBUG]	Use field value for field taille
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:37	3627	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:37	3627	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:37	3627	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:37	3627	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:37	3627	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:37	3627	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:37	3627	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:37	3627	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:37	3627	[DEBUG]	Use field value for field published
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:37	3627	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field override
2023-10-13	13:28:37	3627	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:37	3627	[DEBUG]	Use field value for field slug
2023-10-13	13:28:37	3627	[DEBUG]	Process line 3627
2023-10-13	13:28:37	3627	[DEBUG]	Load a row
2023-10-13	13:28:37	3627	[DEBUG]	Processing item: 4029679997233
2023-10-13	13:28:37	3627	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:37	3627	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:37	3627	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6412_3'
2023-10-13	13:28:37	3627	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:37	3627	[DEBUG]	Processing product tax
2023-10-13	13:28:37	3627	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:37	3627	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:37	3627	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:37	3627	[DEBUG]	Query for Product
2023-10-13	13:28:37	3627	[DEBUG]	Executed store
2023-10-13	13:28:37	3627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863118','4029679997233','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:37	3627	[DEBUG]	No parent found
2023-10-13	13:28:37	3627	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863118 AND customfield_value = 'stockable'
2023-10-13	13:28:37	3627	[DEBUG]	Check product language entry
2023-10-13	13:28:37	3627	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863119
2023-10-13	13:28:37	3627	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:37	3627	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679997233' AND `virtuemart_product_id` != 1863119
2023-10-13	13:28:37	3627	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:37	3627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863119, '4029679997233')
2023-10-13	13:28:37	3627	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:37	3627	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powerbar-isomax-isotonic-sport-drink-none-unitaire' AND `virtuemart_product_id` != 1863119
2023-10-13	13:28:37	3627	[DEBUG]	Query for ProductLang
2023-10-13	13:28:37	3627	[DEBUG]	Executed store
2023-10-13	13:28:37	3627	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERBAR ISOMAX ISOTONIC SPORT DRINK / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powerbar-isomax-isotonic-sport-drink-none-unitaire' WHERE `virtuemart_product_id` = '1863119'
2023-10-13	13:28:37	3627	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32297_powerbar_isomax_isotonic_sport_drink.jpg
2023-10-13	13:28:37	3627	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:37	3627	[DEBUG]	Process image file
2023-10-13	13:28:37	3627	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:37	3627	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:37	3627	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32297_powerbar_isomax_isotonic_sport_drink.jpg
2023-10-13	13:28:37	3627	[DEBUG]	Full name target: bcprisme/32297_powerbar_isomax_isotonic_sport_drink.jpg
2023-10-13	13:28:38	3627	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:38	3627	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32297_powerbar_isomax_isotonic_sport_drink.jpg'
2023-10-13	13:28:38	3627	[DEBUG]	Query for Media
2023-10-13	13:28:38	3627	[DEBUG]	Executed store
2023-10-13	13:28:38	3627	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32297_powerbar_isomax_isotonic_sport_drink.jpg',`file_url_thumb`='bcprisme/32297_powerbar_isomax_isotonic_sport_drink.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13204'
2023-10-13	13:28:38	3627	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:38	3627	[DEBUG]	Executed store
2023-10-13	13:28:38	3627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863119','13204','1')
2023-10-13	13:28:38	3627	[DEBUG]	Store product image relation
2023-10-13	13:28:38	3627	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:38	3627	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863119 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:38	3627	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:38	3627	[DEBUG]	Executed store
2023-10-13	13:28:38	3627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863119','0','2.32126276694522','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:38	3627	[DEBUG]	Checking manufacturer
2023-10-13	13:28:38	3627	[DEBUG]	Load a row
2023-10-13	13:28:38	3627	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:38	3627	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:38	3627	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:38	3627	[DEBUG]	Executed store
2023-10-13	13:28:38	3627	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:38	3627	[DEBUG]	Manufacturer exists
2023-10-13	13:28:38	3627	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:38	3627	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:38	3627	[DEBUG]	Executed store
2023-10-13	13:28:38	3627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863119','121')
2023-10-13	13:28:38	3627	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:38	3627	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:38	3627	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863119 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:38	3627	[DEBUG]	Store custom available field
2023-10-13	13:28:38	3627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863119,3,'',1)
2023-10-13	13:28:38	3627	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:38	3627	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:38	3627	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863119 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:38	3627	[DEBUG]	Store custom available field
2023-10-13	13:28:38	3627	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863119,6,'Unitaire',3)
2023-10-13	13:28:38	3627	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:38	3627	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:38	3627	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863118
2023-10-13	13:28:38	3627	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:38	3627	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863118\":[1863118,8,1,\"choisir la taille\"],\"1863119\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863118
2023-10-13	13:28:38	3627	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:38	3627	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863119
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:38	3628	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field taille
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:38	3628	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:38	3628	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:38	3628	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:38	3628	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:38	3628	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:38	3628	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field published
2023-10-13	13:28:38	3628	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:38	3628	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field override
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:38	3628	[DEBUG]	Use field value for field slug
2023-10-13	13:28:38	3628	[DEBUG]	Process line 3628
2023-10-13	13:28:38	3628	[DEBUG]	Load a row
2023-10-13	13:28:38	3628	[DEBUG]	Processing item: A_6413_3
2023-10-13	13:28:38	3628	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:38	3628	[DEBUG]	Processing product tax
2023-10-13	13:28:38	3628	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:38	3628	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:38	3628	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:38	3628	[DEBUG]	Query for Product
2023-10-13	13:28:38	3628	[DEBUG]	Executed store
2023-10-13	13:28:38	3628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6413_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:38	3628	[DEBUG]	Check product language entry
2023-10-13	13:28:38	3628	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863120
2023-10-13	13:28:38	3628	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:38	3628	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6413_3' AND `virtuemart_product_id` != 1863120
2023-10-13	13:28:38	3628	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:38	3628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863120, 'A_6413_3')
2023-10-13	13:28:38	3628	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:38	3628	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powerbar-magnesium-liquid-250mg-none' AND `virtuemart_product_id` != 1863120
2023-10-13	13:28:38	3628	[DEBUG]	Query for ProductLang
2023-10-13	13:28:38	3628	[DEBUG]	Executed store
2023-10-13	13:28:38	3628	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 70831',`product_name`='POWERBAR POWERBAR MAGNESIUM LIQUID 250MG / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powerbar-magnesium-liquid-250mg-none' WHERE `virtuemart_product_id` = '1863120'
2023-10-13	13:28:38	3628	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32298_powerbar_magnesium_liquid_250mg.jpg
2023-10-13	13:28:38	3628	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:38	3628	[DEBUG]	Process image file
2023-10-13	13:28:38	3628	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:38	3628	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:38	3628	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32298_powerbar_magnesium_liquid_250mg.jpg
2023-10-13	13:28:38	3628	[DEBUG]	Full name target: bcprisme/32298_powerbar_magnesium_liquid_250mg.jpg
2023-10-13	13:28:39	3628	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:39	3628	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32298_powerbar_magnesium_liquid_250mg.jpg'
2023-10-13	13:28:39	3628	[DEBUG]	Query for Media
2023-10-13	13:28:39	3628	[DEBUG]	Executed store
2023-10-13	13:28:39	3628	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32298_powerbar_magnesium_liquid_250mg.jpg',`file_url_thumb`='bcprisme/32298_powerbar_magnesium_liquid_250mg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13205'
2023-10-13	13:28:39	3628	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:39	3628	[DEBUG]	Executed store
2023-10-13	13:28:39	3628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863120','13205','1')
2023-10-13	13:28:39	3628	[DEBUG]	Store product image relation
2023-10-13	13:28:39	3628	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:39	3628	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863120 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:39	3628	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:39	3628	[DEBUG]	Executed store
2023-10-13	13:28:39	3628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863120','0','1.39275766016713','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:39	3628	[DEBUG]	Checking manufacturer
2023-10-13	13:28:39	3628	[DEBUG]	Load a row
2023-10-13	13:28:39	3628	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:39	3628	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:39	3628	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:39	3628	[DEBUG]	Executed store
2023-10-13	13:28:39	3628	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:39	3628	[DEBUG]	Manufacturer exists
2023-10-13	13:28:39	3628	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:39	3628	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:39	3628	[DEBUG]	Executed store
2023-10-13	13:28:39	3628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863120','121')
2023-10-13	13:28:39	3628	[DEBUG]	Find the custom field ID
2023-10-13	13:28:39	3628	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:39	3628	[DEBUG]	No custom field ID found
2023-10-13	13:28:39	3628	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:39	3628	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:39	3628	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863120 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:39	3628	[DEBUG]	Store custom available field
2023-10-13	13:28:39	3628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863120,3,'0',1)
2023-10-13	13:28:39	3628	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:39	3628	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:39	3628	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863120 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:39	3628	[DEBUG]	Store custom available field
2023-10-13	13:28:39	3628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863120,6,'choisir la taille',3)
2023-10-13	13:28:39	3628	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:39	3628	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:39	3628	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:39	3628	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:39	3628	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863120 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:39	3628	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:39	3628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863120,8,1)
2023-10-13	13:28:39	3628	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:39	3628	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863120\":[1863120,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863120
2023-10-13	13:28:39	3628	[DEBUG]	Checking category
2023-10-13	13:28:39	3628	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:39	3628	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863120
2023-10-13	13:28:39	3628	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:39	3628	[DEBUG]	Executed store
2023-10-13	13:28:39	3628	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863120','7383')
2023-10-13	13:28:39	3628	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:39	3628	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863120 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:39	3628	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:39	3628	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863120
2023-10-13	13:28:39	3629	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:39	3629	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:39	3629	[DEBUG]	Use field value for field taille
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:39	3629	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:39	3629	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:39	3629	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:39	3629	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:39	3629	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:39	3629	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:39	3629	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:39	3629	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:39	3629	[DEBUG]	Use field value for field published
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:39	3629	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field override
2023-10-13	13:28:39	3629	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:39	3629	[DEBUG]	Use field value for field slug
2023-10-13	13:28:39	3629	[DEBUG]	Process line 3629
2023-10-13	13:28:39	3629	[DEBUG]	Load a row
2023-10-13	13:28:39	3629	[DEBUG]	Processing item: 4029679661028
2023-10-13	13:28:39	3629	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:39	3629	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:39	3629	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6413_3'
2023-10-13	13:28:39	3629	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:39	3629	[DEBUG]	Processing product tax
2023-10-13	13:28:39	3629	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:39	3629	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:39	3629	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:39	3629	[DEBUG]	Query for Product
2023-10-13	13:28:39	3629	[DEBUG]	Executed store
2023-10-13	13:28:39	3629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863120','4029679661028','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:39	3629	[DEBUG]	No parent found
2023-10-13	13:28:39	3629	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863120 AND customfield_value = 'stockable'
2023-10-13	13:28:39	3629	[DEBUG]	Check product language entry
2023-10-13	13:28:39	3629	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863121
2023-10-13	13:28:39	3629	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:39	3629	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679661028' AND `virtuemart_product_id` != 1863121
2023-10-13	13:28:39	3629	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:39	3629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863121, '4029679661028')
2023-10-13	13:28:39	3629	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:39	3629	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powerbar-magnesium-liquid-250mg-none-unitaire' AND `virtuemart_product_id` != 1863121
2023-10-13	13:28:39	3629	[DEBUG]	Query for ProductLang
2023-10-13	13:28:39	3629	[DEBUG]	Executed store
2023-10-13	13:28:39	3629	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERBAR MAGNESIUM LIQUID 250MG / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powerbar-magnesium-liquid-250mg-none-unitaire' WHERE `virtuemart_product_id` = '1863121'
2023-10-13	13:28:39	3629	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32298_powerbar_magnesium_liquid_250mg.jpg
2023-10-13	13:28:39	3629	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:39	3629	[DEBUG]	Process image file
2023-10-13	13:28:39	3629	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:39	3629	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:39	3629	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32298_powerbar_magnesium_liquid_250mg.jpg
2023-10-13	13:28:39	3629	[DEBUG]	Full name target: bcprisme/32298_powerbar_magnesium_liquid_250mg.jpg
2023-10-13	13:28:40	3629	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:40	3629	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32298_powerbar_magnesium_liquid_250mg.jpg'
2023-10-13	13:28:40	3629	[DEBUG]	Query for Media
2023-10-13	13:28:40	3629	[DEBUG]	Executed store
2023-10-13	13:28:40	3629	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32298_powerbar_magnesium_liquid_250mg.jpg',`file_url_thumb`='bcprisme/32298_powerbar_magnesium_liquid_250mg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13205'
2023-10-13	13:28:40	3629	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:40	3629	[DEBUG]	Executed store
2023-10-13	13:28:40	3629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863121','13205','1')
2023-10-13	13:28:40	3629	[DEBUG]	Store product image relation
2023-10-13	13:28:40	3629	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:40	3629	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863121 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:40	3629	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:40	3629	[DEBUG]	Executed store
2023-10-13	13:28:40	3629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863121','0','1.39275766016713','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:40	3629	[DEBUG]	Checking manufacturer
2023-10-13	13:28:40	3629	[DEBUG]	Load a row
2023-10-13	13:28:40	3629	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:40	3629	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:40	3629	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:40	3629	[DEBUG]	Executed store
2023-10-13	13:28:40	3629	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:40	3629	[DEBUG]	Manufacturer exists
2023-10-13	13:28:40	3629	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:40	3629	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:40	3629	[DEBUG]	Executed store
2023-10-13	13:28:40	3629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863121','121')
2023-10-13	13:28:40	3629	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:40	3629	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:40	3629	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863121 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:40	3629	[DEBUG]	Store custom available field
2023-10-13	13:28:40	3629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863121,3,'',1)
2023-10-13	13:28:40	3629	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:40	3629	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:40	3629	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863121 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:40	3629	[DEBUG]	Store custom available field
2023-10-13	13:28:40	3629	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863121,6,'Unitaire',3)
2023-10-13	13:28:40	3629	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:40	3629	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:40	3629	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863120
2023-10-13	13:28:40	3629	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:40	3629	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863120\":[1863120,8,1,\"choisir la taille\"],\"1863121\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863120
2023-10-13	13:28:40	3629	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:40	3629	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863121
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:40	3630	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field taille
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:40	3630	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:40	3630	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:40	3630	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:40	3630	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:40	3630	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:40	3630	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field published
2023-10-13	13:28:40	3630	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:40	3630	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field override
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:40	3630	[DEBUG]	Use field value for field slug
2023-10-13	13:28:40	3630	[DEBUG]	Process line 3630
2023-10-13	13:28:40	3630	[DEBUG]	Load a row
2023-10-13	13:28:40	3630	[DEBUG]	Processing item: A_6553_3
2023-10-13	13:28:40	3630	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:40	3630	[DEBUG]	Processing product tax
2023-10-13	13:28:40	3630	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:40	3630	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:40	3630	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:40	3630	[DEBUG]	Query for Product
2023-10-13	13:28:40	3630	[DEBUG]	Executed store
2023-10-13	13:28:40	3630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6553_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:40	3630	[DEBUG]	Check product language entry
2023-10-13	13:28:40	3630	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863122
2023-10-13	13:28:40	3630	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:40	3630	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6553_3' AND `virtuemart_product_id` != 1863122
2023-10-13	13:28:40	3630	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:40	3630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863122, 'A_6553_3')
2023-10-13	13:28:40	3630	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:40	3630	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-original-red-fruit-none' AND `virtuemart_product_id` != 1863122
2023-10-13	13:28:40	3630	[DEBUG]	Query for ProductLang
2023-10-13	13:28:40	3630	[DEBUG]	Executed store
2023-10-13	13:28:40	3630	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 22020300',`product_name`='POWERBAR POWERGEL ORIGINAL RED FRUIT / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-original-red-fruit-none' WHERE `virtuemart_product_id` = '1863122'
2023-10-13	13:28:40	3630	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32432_powergel_original_red_fruit.jpg
2023-10-13	13:28:40	3630	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:40	3630	[DEBUG]	Process image file
2023-10-13	13:28:40	3630	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:40	3630	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:40	3630	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32432_powergel_original_red_fruit.jpg
2023-10-13	13:28:40	3630	[DEBUG]	Full name target: bcprisme/32432_powergel_original_red_fruit.jpg
2023-10-13	13:28:41	3630	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:41	3630	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32432_powergel_original_red_fruit.jpg'
2023-10-13	13:28:41	3630	[DEBUG]	Query for Media
2023-10-13	13:28:41	3630	[DEBUG]	Executed store
2023-10-13	13:28:41	3630	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32432_powergel_original_red_fruit.jpg',`file_url_thumb`='bcprisme/32432_powergel_original_red_fruit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13206'
2023-10-13	13:28:41	3630	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:41	3630	[DEBUG]	Executed store
2023-10-13	13:28:41	3630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863122','13206','1')
2023-10-13	13:28:41	3630	[DEBUG]	Store product image relation
2023-10-13	13:28:41	3630	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:41	3630	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863122 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:41	3630	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:41	3630	[DEBUG]	Executed store
2023-10-13	13:28:41	3630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863122','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:41	3630	[DEBUG]	Checking manufacturer
2023-10-13	13:28:41	3630	[DEBUG]	Load a row
2023-10-13	13:28:41	3630	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:41	3630	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:41	3630	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:41	3630	[DEBUG]	Executed store
2023-10-13	13:28:41	3630	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:41	3630	[DEBUG]	Manufacturer exists
2023-10-13	13:28:41	3630	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:41	3630	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:41	3630	[DEBUG]	Executed store
2023-10-13	13:28:41	3630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863122','121')
2023-10-13	13:28:41	3630	[DEBUG]	Find the custom field ID
2023-10-13	13:28:41	3630	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:41	3630	[DEBUG]	No custom field ID found
2023-10-13	13:28:41	3630	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:41	3630	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:41	3630	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863122 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:41	3630	[DEBUG]	Store custom available field
2023-10-13	13:28:41	3630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863122,3,'0',1)
2023-10-13	13:28:41	3630	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:41	3630	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:41	3630	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863122 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:41	3630	[DEBUG]	Store custom available field
2023-10-13	13:28:41	3630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863122,6,'choisir la taille',3)
2023-10-13	13:28:41	3630	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:41	3630	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:41	3630	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:41	3630	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:41	3630	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863122 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:41	3630	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:41	3630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863122,8,1)
2023-10-13	13:28:41	3630	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:41	3630	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863122\":[1863122,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863122
2023-10-13	13:28:41	3630	[DEBUG]	Checking category
2023-10-13	13:28:41	3630	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:41	3630	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863122
2023-10-13	13:28:41	3630	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:41	3630	[DEBUG]	Executed store
2023-10-13	13:28:41	3630	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863122','7383')
2023-10-13	13:28:41	3630	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:41	3630	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863122 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:41	3630	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:41	3630	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863122
2023-10-13	13:28:41	3631	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:41	3631	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:41	3631	[DEBUG]	Use field value for field taille
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:41	3631	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:41	3631	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:41	3631	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:41	3631	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:41	3631	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:41	3631	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:41	3631	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:41	3631	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:41	3631	[DEBUG]	Use field value for field published
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:41	3631	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field override
2023-10-13	13:28:41	3631	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:41	3631	[DEBUG]	Use field value for field slug
2023-10-13	13:28:41	3631	[DEBUG]	Process line 3631
2023-10-13	13:28:41	3631	[DEBUG]	Load a row
2023-10-13	13:28:41	3631	[DEBUG]	Processing item: 4029679672611
2023-10-13	13:28:41	3631	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:41	3631	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:41	3631	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6553_3'
2023-10-13	13:28:41	3631	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:41	3631	[DEBUG]	Processing product tax
2023-10-13	13:28:41	3631	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:41	3631	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:41	3631	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:41	3631	[DEBUG]	Query for Product
2023-10-13	13:28:41	3631	[DEBUG]	Executed store
2023-10-13	13:28:41	3631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863122','4029679672611','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:41	3631	[DEBUG]	No parent found
2023-10-13	13:28:41	3631	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863122 AND customfield_value = 'stockable'
2023-10-13	13:28:41	3631	[DEBUG]	Check product language entry
2023-10-13	13:28:41	3631	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863123
2023-10-13	13:28:41	3631	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:41	3631	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679672611' AND `virtuemart_product_id` != 1863123
2023-10-13	13:28:41	3631	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:41	3631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863123, '4029679672611')
2023-10-13	13:28:41	3631	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:41	3631	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-original-red-fruit-none-unitaire' AND `virtuemart_product_id` != 1863123
2023-10-13	13:28:41	3631	[DEBUG]	Query for ProductLang
2023-10-13	13:28:41	3631	[DEBUG]	Executed store
2023-10-13	13:28:41	3631	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERGEL ORIGINAL RED FRUIT / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-original-red-fruit-none-unitaire' WHERE `virtuemart_product_id` = '1863123'
2023-10-13	13:28:41	3631	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32432_powergel_original_red_fruit.jpg
2023-10-13	13:28:41	3631	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:41	3631	[DEBUG]	Process image file
2023-10-13	13:28:41	3631	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:41	3631	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:41	3631	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32432_powergel_original_red_fruit.jpg
2023-10-13	13:28:41	3631	[DEBUG]	Full name target: bcprisme/32432_powergel_original_red_fruit.jpg
2023-10-13	13:28:42	3631	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:42	3631	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32432_powergel_original_red_fruit.jpg'
2023-10-13	13:28:42	3631	[DEBUG]	Query for Media
2023-10-13	13:28:42	3631	[DEBUG]	Executed store
2023-10-13	13:28:42	3631	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32432_powergel_original_red_fruit.jpg',`file_url_thumb`='bcprisme/32432_powergel_original_red_fruit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13206'
2023-10-13	13:28:42	3631	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:42	3631	[DEBUG]	Executed store
2023-10-13	13:28:42	3631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863123','13206','1')
2023-10-13	13:28:42	3631	[DEBUG]	Store product image relation
2023-10-13	13:28:42	3631	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:42	3631	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863123 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:42	3631	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:42	3631	[DEBUG]	Executed store
2023-10-13	13:28:42	3631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863123','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:42	3631	[DEBUG]	Checking manufacturer
2023-10-13	13:28:42	3631	[DEBUG]	Load a row
2023-10-13	13:28:42	3631	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:42	3631	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:42	3631	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:42	3631	[DEBUG]	Executed store
2023-10-13	13:28:42	3631	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:42	3631	[DEBUG]	Manufacturer exists
2023-10-13	13:28:42	3631	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:42	3631	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:42	3631	[DEBUG]	Executed store
2023-10-13	13:28:42	3631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863123','121')
2023-10-13	13:28:42	3631	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:42	3631	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:42	3631	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863123 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:42	3631	[DEBUG]	Store custom available field
2023-10-13	13:28:42	3631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863123,3,'',1)
2023-10-13	13:28:42	3631	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:42	3631	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:42	3631	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863123 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:42	3631	[DEBUG]	Store custom available field
2023-10-13	13:28:42	3631	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863123,6,'Unitaire',3)
2023-10-13	13:28:42	3631	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:42	3631	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:42	3631	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863122
2023-10-13	13:28:42	3631	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:42	3631	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863122\":[1863122,8,1,\"choisir la taille\"],\"1863123\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863122
2023-10-13	13:28:42	3631	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:42	3631	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863123
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:42	3632	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field taille
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:42	3632	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:42	3632	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:42	3632	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:42	3632	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:42	3632	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:42	3632	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field published
2023-10-13	13:28:42	3632	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:42	3632	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field override
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:42	3632	[DEBUG]	Use field value for field slug
2023-10-13	13:28:42	3632	[DEBUG]	Process line 3632
2023-10-13	13:28:42	3632	[DEBUG]	Load a row
2023-10-13	13:28:42	3632	[DEBUG]	Processing item: A_6554_3
2023-10-13	13:28:42	3632	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:42	3632	[DEBUG]	Processing product tax
2023-10-13	13:28:42	3632	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:42	3632	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:42	3632	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:42	3632	[DEBUG]	Query for Product
2023-10-13	13:28:42	3632	[DEBUG]	Executed store
2023-10-13	13:28:42	3632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6554_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:42	3632	[DEBUG]	Check product language entry
2023-10-13	13:28:42	3632	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863124
2023-10-13	13:28:42	3632	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:42	3632	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6554_3' AND `virtuemart_product_id` != 1863124
2023-10-13	13:28:42	3632	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:42	3632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863124, 'A_6554_3')
2023-10-13	13:28:42	3632	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:42	3632	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-original-strawberry-banana-none' AND `virtuemart_product_id` != 1863124
2023-10-13	13:28:42	3632	[DEBUG]	Query for ProductLang
2023-10-13	13:28:42	3632	[DEBUG]	Executed store
2023-10-13	13:28:42	3632	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 22010300',`product_name`='POWERBAR POWERGEL ORIGINAL STRAWBERRY BANANA / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-original-strawberry-banana-none' WHERE `virtuemart_product_id` = '1863124'
2023-10-13	13:28:42	3632	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32433_powergel_original_strawberry_banana.jpg
2023-10-13	13:28:42	3632	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:42	3632	[DEBUG]	Process image file
2023-10-13	13:28:42	3632	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:42	3632	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:42	3632	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32433_powergel_original_strawberry_banana.jpg
2023-10-13	13:28:42	3632	[DEBUG]	Full name target: bcprisme/32433_powergel_original_strawberry_banana.jpg
2023-10-13	13:28:43	3632	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:43	3632	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32433_powergel_original_strawberry_banana.jpg'
2023-10-13	13:28:43	3632	[DEBUG]	Query for Media
2023-10-13	13:28:43	3632	[DEBUG]	Executed store
2023-10-13	13:28:43	3632	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32433_powergel_original_strawberry_banana.jpg',`file_url_thumb`='bcprisme/32433_powergel_original_strawberry_banana.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13207'
2023-10-13	13:28:43	3632	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:43	3632	[DEBUG]	Executed store
2023-10-13	13:28:43	3632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863124','13207','1')
2023-10-13	13:28:43	3632	[DEBUG]	Store product image relation
2023-10-13	13:28:43	3632	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:43	3632	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863124 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:43	3632	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:43	3632	[DEBUG]	Executed store
2023-10-13	13:28:43	3632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863124','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:43	3632	[DEBUG]	Checking manufacturer
2023-10-13	13:28:43	3632	[DEBUG]	Load a row
2023-10-13	13:28:43	3632	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:43	3632	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:43	3632	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:43	3632	[DEBUG]	Executed store
2023-10-13	13:28:43	3632	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:43	3632	[DEBUG]	Manufacturer exists
2023-10-13	13:28:43	3632	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:43	3632	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:43	3632	[DEBUG]	Executed store
2023-10-13	13:28:43	3632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863124','121')
2023-10-13	13:28:43	3632	[DEBUG]	Find the custom field ID
2023-10-13	13:28:43	3632	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:43	3632	[DEBUG]	No custom field ID found
2023-10-13	13:28:43	3632	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:43	3632	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:43	3632	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863124 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:43	3632	[DEBUG]	Store custom available field
2023-10-13	13:28:43	3632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863124,3,'0',1)
2023-10-13	13:28:43	3632	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:43	3632	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:43	3632	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863124 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:43	3632	[DEBUG]	Store custom available field
2023-10-13	13:28:43	3632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863124,6,'choisir la taille',3)
2023-10-13	13:28:43	3632	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:43	3632	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:43	3632	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:43	3632	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:43	3632	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863124 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:43	3632	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:43	3632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863124,8,1)
2023-10-13	13:28:43	3632	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:43	3632	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863124\":[1863124,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863124
2023-10-13	13:28:43	3632	[DEBUG]	Checking category
2023-10-13	13:28:43	3632	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:43	3632	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863124
2023-10-13	13:28:43	3632	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:43	3632	[DEBUG]	Executed store
2023-10-13	13:28:43	3632	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863124','7383')
2023-10-13	13:28:43	3632	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:43	3632	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863124 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:43	3632	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:43	3632	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863124
2023-10-13	13:28:43	3633	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:43	3633	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:43	3633	[DEBUG]	Use field value for field taille
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:43	3633	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:43	3633	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:43	3633	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:43	3633	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:43	3633	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:43	3633	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:43	3633	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:43	3633	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:43	3633	[DEBUG]	Use field value for field published
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:43	3633	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field override
2023-10-13	13:28:43	3633	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:43	3633	[DEBUG]	Use field value for field slug
2023-10-13	13:28:43	3633	[DEBUG]	Process line 3633
2023-10-13	13:28:43	3633	[DEBUG]	Load a row
2023-10-13	13:28:43	3633	[DEBUG]	Processing item: 4029679672345
2023-10-13	13:28:43	3633	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:43	3633	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:43	3633	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6554_3'
2023-10-13	13:28:43	3633	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:43	3633	[DEBUG]	Processing product tax
2023-10-13	13:28:43	3633	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:43	3633	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:43	3633	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:43	3633	[DEBUG]	Query for Product
2023-10-13	13:28:43	3633	[DEBUG]	Executed store
2023-10-13	13:28:43	3633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863124','4029679672345','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:43	3633	[DEBUG]	No parent found
2023-10-13	13:28:43	3633	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863124 AND customfield_value = 'stockable'
2023-10-13	13:28:43	3633	[DEBUG]	Check product language entry
2023-10-13	13:28:43	3633	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863125
2023-10-13	13:28:43	3633	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:43	3633	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679672345' AND `virtuemart_product_id` != 1863125
2023-10-13	13:28:43	3633	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:43	3633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863125, '4029679672345')
2023-10-13	13:28:43	3633	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:43	3633	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-original-strawberry-banana-none-unitaire' AND `virtuemart_product_id` != 1863125
2023-10-13	13:28:43	3633	[DEBUG]	Query for ProductLang
2023-10-13	13:28:43	3633	[DEBUG]	Executed store
2023-10-13	13:28:43	3633	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERGEL ORIGINAL STRAWBERRY BANANA / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-original-strawberry-banana-none-unitaire' WHERE `virtuemart_product_id` = '1863125'
2023-10-13	13:28:43	3633	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32433_powergel_original_strawberry_banana.jpg
2023-10-13	13:28:43	3633	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:43	3633	[DEBUG]	Process image file
2023-10-13	13:28:43	3633	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:43	3633	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:43	3633	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32433_powergel_original_strawberry_banana.jpg
2023-10-13	13:28:43	3633	[DEBUG]	Full name target: bcprisme/32433_powergel_original_strawberry_banana.jpg
2023-10-13	13:28:44	3633	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:44	3633	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32433_powergel_original_strawberry_banana.jpg'
2023-10-13	13:28:44	3633	[DEBUG]	Query for Media
2023-10-13	13:28:44	3633	[DEBUG]	Executed store
2023-10-13	13:28:44	3633	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32433_powergel_original_strawberry_banana.jpg',`file_url_thumb`='bcprisme/32433_powergel_original_strawberry_banana.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13207'
2023-10-13	13:28:44	3633	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:44	3633	[DEBUG]	Executed store
2023-10-13	13:28:44	3633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863125','13207','1')
2023-10-13	13:28:44	3633	[DEBUG]	Store product image relation
2023-10-13	13:28:44	3633	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:44	3633	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863125 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:44	3633	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:44	3633	[DEBUG]	Executed store
2023-10-13	13:28:44	3633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863125','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:44	3633	[DEBUG]	Checking manufacturer
2023-10-13	13:28:44	3633	[DEBUG]	Load a row
2023-10-13	13:28:44	3633	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:44	3633	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:44	3633	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:44	3633	[DEBUG]	Executed store
2023-10-13	13:28:44	3633	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:44	3633	[DEBUG]	Manufacturer exists
2023-10-13	13:28:44	3633	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:44	3633	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:44	3633	[DEBUG]	Executed store
2023-10-13	13:28:44	3633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863125','121')
2023-10-13	13:28:44	3633	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:44	3633	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:44	3633	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863125 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:44	3633	[DEBUG]	Store custom available field
2023-10-13	13:28:44	3633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863125,3,'',1)
2023-10-13	13:28:44	3633	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:44	3633	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:44	3633	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863125 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:44	3633	[DEBUG]	Store custom available field
2023-10-13	13:28:44	3633	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863125,6,'Unitaire',3)
2023-10-13	13:28:44	3633	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:44	3633	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:44	3633	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863124
2023-10-13	13:28:44	3633	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:44	3633	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863124\":[1863124,8,1,\"choisir la taille\"],\"1863125\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863124
2023-10-13	13:28:44	3633	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:44	3633	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863125
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:44	3634	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field taille
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:44	3634	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:44	3634	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:44	3634	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:44	3634	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:44	3634	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:44	3634	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field published
2023-10-13	13:28:44	3634	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:44	3634	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field override
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:44	3634	[DEBUG]	Use field value for field slug
2023-10-13	13:28:44	3634	[DEBUG]	Process line 3634
2023-10-13	13:28:44	3634	[DEBUG]	Load a row
2023-10-13	13:28:44	3634	[DEBUG]	Processing item: A_6555_3
2023-10-13	13:28:44	3634	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:44	3634	[DEBUG]	Processing product tax
2023-10-13	13:28:44	3634	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:44	3634	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:44	3634	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:44	3634	[DEBUG]	Query for Product
2023-10-13	13:28:44	3634	[DEBUG]	Executed store
2023-10-13	13:28:44	3634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6555_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:44	3634	[DEBUG]	Check product language entry
2023-10-13	13:28:44	3634	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863126
2023-10-13	13:28:44	3634	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:44	3634	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6555_3' AND `virtuemart_product_id` != 1863126
2023-10-13	13:28:44	3634	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:44	3634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863126, 'A_6555_3')
2023-10-13	13:28:44	3634	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:44	3634	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-original-vanilla-none' AND `virtuemart_product_id` != 1863126
2023-10-13	13:28:44	3634	[DEBUG]	Query for ProductLang
2023-10-13	13:28:44	3634	[DEBUG]	Executed store
2023-10-13	13:28:44	3634	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 22010600',`product_name`='POWERBAR POWERGEL ORIGINAL VANILLA / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-original-vanilla-none' WHERE `virtuemart_product_id` = '1863126'
2023-10-13	13:28:44	3634	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32434_powergel_original_vanilla.jpg
2023-10-13	13:28:44	3634	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:44	3634	[DEBUG]	Process image file
2023-10-13	13:28:44	3634	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:44	3634	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:44	3634	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32434_powergel_original_vanilla.jpg
2023-10-13	13:28:44	3634	[DEBUG]	Full name target: bcprisme/32434_powergel_original_vanilla.jpg
2023-10-13	13:28:45	3634	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:45	3634	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32434_powergel_original_vanilla.jpg'
2023-10-13	13:28:45	3634	[DEBUG]	Query for Media
2023-10-13	13:28:45	3634	[DEBUG]	Executed store
2023-10-13	13:28:45	3634	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32434_powergel_original_vanilla.jpg',`file_url_thumb`='bcprisme/32434_powergel_original_vanilla.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13208'
2023-10-13	13:28:45	3634	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:45	3634	[DEBUG]	Executed store
2023-10-13	13:28:45	3634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863126','13208','1')
2023-10-13	13:28:45	3634	[DEBUG]	Store product image relation
2023-10-13	13:28:45	3634	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:45	3634	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863126 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:45	3634	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:45	3634	[DEBUG]	Executed store
2023-10-13	13:28:45	3634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863126','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:45	3634	[DEBUG]	Checking manufacturer
2023-10-13	13:28:45	3634	[DEBUG]	Load a row
2023-10-13	13:28:45	3634	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:45	3634	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:45	3634	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:45	3634	[DEBUG]	Executed store
2023-10-13	13:28:45	3634	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:45	3634	[DEBUG]	Manufacturer exists
2023-10-13	13:28:45	3634	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:45	3634	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:45	3634	[DEBUG]	Executed store
2023-10-13	13:28:45	3634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863126','121')
2023-10-13	13:28:45	3634	[DEBUG]	Find the custom field ID
2023-10-13	13:28:45	3634	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:45	3634	[DEBUG]	No custom field ID found
2023-10-13	13:28:45	3634	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:45	3634	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:45	3634	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863126 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:45	3634	[DEBUG]	Store custom available field
2023-10-13	13:28:45	3634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863126,3,'0',1)
2023-10-13	13:28:45	3634	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:45	3634	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:45	3634	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863126 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:45	3634	[DEBUG]	Store custom available field
2023-10-13	13:28:45	3634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863126,6,'choisir la taille',3)
2023-10-13	13:28:45	3634	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:45	3634	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:45	3634	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:45	3634	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:45	3634	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863126 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:45	3634	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:45	3634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863126,8,1)
2023-10-13	13:28:45	3634	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:45	3634	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863126\":[1863126,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863126
2023-10-13	13:28:45	3634	[DEBUG]	Checking category
2023-10-13	13:28:45	3634	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:45	3634	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863126
2023-10-13	13:28:45	3634	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:45	3634	[DEBUG]	Executed store
2023-10-13	13:28:45	3634	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863126','7383')
2023-10-13	13:28:45	3634	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:45	3634	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863126 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:45	3634	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:45	3634	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863126
2023-10-13	13:28:45	3635	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:45	3635	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:45	3635	[DEBUG]	Use field value for field taille
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:45	3635	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:45	3635	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:45	3635	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:45	3635	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:45	3635	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:45	3635	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:45	3635	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:45	3635	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:45	3635	[DEBUG]	Use field value for field published
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:45	3635	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field override
2023-10-13	13:28:45	3635	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:45	3635	[DEBUG]	Use field value for field slug
2023-10-13	13:28:45	3635	[DEBUG]	Process line 3635
2023-10-13	13:28:45	3635	[DEBUG]	Load a row
2023-10-13	13:28:45	3635	[DEBUG]	Processing item: 4029679672529
2023-10-13	13:28:45	3635	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:45	3635	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:45	3635	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6555_3'
2023-10-13	13:28:45	3635	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:45	3635	[DEBUG]	Processing product tax
2023-10-13	13:28:45	3635	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:45	3635	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:45	3635	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:45	3635	[DEBUG]	Query for Product
2023-10-13	13:28:45	3635	[DEBUG]	Executed store
2023-10-13	13:28:45	3635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863126','4029679672529','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:45	3635	[DEBUG]	No parent found
2023-10-13	13:28:45	3635	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863126 AND customfield_value = 'stockable'
2023-10-13	13:28:45	3635	[DEBUG]	Check product language entry
2023-10-13	13:28:45	3635	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863127
2023-10-13	13:28:45	3635	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:45	3635	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679672529' AND `virtuemart_product_id` != 1863127
2023-10-13	13:28:45	3635	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:45	3635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863127, '4029679672529')
2023-10-13	13:28:45	3635	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:45	3635	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-original-vanilla-none-unitaire' AND `virtuemart_product_id` != 1863127
2023-10-13	13:28:45	3635	[DEBUG]	Query for ProductLang
2023-10-13	13:28:45	3635	[DEBUG]	Executed store
2023-10-13	13:28:45	3635	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERGEL ORIGINAL VANILLA / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-original-vanilla-none-unitaire' WHERE `virtuemart_product_id` = '1863127'
2023-10-13	13:28:45	3635	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32434_powergel_original_vanilla.jpg
2023-10-13	13:28:45	3635	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:45	3635	[DEBUG]	Process image file
2023-10-13	13:28:45	3635	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:45	3635	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:45	3635	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32434_powergel_original_vanilla.jpg
2023-10-13	13:28:45	3635	[DEBUG]	Full name target: bcprisme/32434_powergel_original_vanilla.jpg
2023-10-13	13:28:46	3635	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:46	3635	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32434_powergel_original_vanilla.jpg'
2023-10-13	13:28:46	3635	[DEBUG]	Query for Media
2023-10-13	13:28:46	3635	[DEBUG]	Executed store
2023-10-13	13:28:46	3635	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32434_powergel_original_vanilla.jpg',`file_url_thumb`='bcprisme/32434_powergel_original_vanilla.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13208'
2023-10-13	13:28:46	3635	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:46	3635	[DEBUG]	Executed store
2023-10-13	13:28:46	3635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863127','13208','1')
2023-10-13	13:28:46	3635	[DEBUG]	Store product image relation
2023-10-13	13:28:46	3635	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:46	3635	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863127 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:46	3635	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:46	3635	[DEBUG]	Executed store
2023-10-13	13:28:46	3635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863127','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:46	3635	[DEBUG]	Checking manufacturer
2023-10-13	13:28:46	3635	[DEBUG]	Load a row
2023-10-13	13:28:46	3635	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:46	3635	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:46	3635	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:46	3635	[DEBUG]	Executed store
2023-10-13	13:28:46	3635	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:46	3635	[DEBUG]	Manufacturer exists
2023-10-13	13:28:46	3635	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:46	3635	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:46	3635	[DEBUG]	Executed store
2023-10-13	13:28:46	3635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863127','121')
2023-10-13	13:28:46	3635	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:46	3635	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:46	3635	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863127 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:46	3635	[DEBUG]	Store custom available field
2023-10-13	13:28:46	3635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863127,3,'',1)
2023-10-13	13:28:46	3635	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:46	3635	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:46	3635	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863127 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:46	3635	[DEBUG]	Store custom available field
2023-10-13	13:28:46	3635	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863127,6,'Unitaire',3)
2023-10-13	13:28:46	3635	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:46	3635	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:46	3635	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863126
2023-10-13	13:28:46	3635	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:46	3635	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863126\":[1863126,8,1,\"choisir la taille\"],\"1863127\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863126
2023-10-13	13:28:46	3635	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:46	3635	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863127
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:46	3636	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field taille
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:46	3636	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:46	3636	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:46	3636	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:46	3636	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:46	3636	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:46	3636	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field published
2023-10-13	13:28:46	3636	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:46	3636	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field override
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:46	3636	[DEBUG]	Use field value for field slug
2023-10-13	13:28:46	3636	[DEBUG]	Process line 3636
2023-10-13	13:28:46	3636	[DEBUG]	Load a row
2023-10-13	13:28:46	3636	[DEBUG]	Processing item: A_7115_3
2023-10-13	13:28:46	3636	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:46	3636	[DEBUG]	Processing product tax
2023-10-13	13:28:46	3636	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:46	3636	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:46	3636	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:46	3636	[DEBUG]	Query for Product
2023-10-13	13:28:46	3636	[DEBUG]	Executed store
2023-10-13	13:28:46	3636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7115_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:46	3636	[DEBUG]	Check product language entry
2023-10-13	13:28:46	3636	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863128
2023-10-13	13:28:46	3636	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:46	3636	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7115_3' AND `virtuemart_product_id` != 1863128
2023-10-13	13:28:46	3636	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:46	3636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863128, 'A_7115_3')
2023-10-13	13:28:46	3636	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:46	3636	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-energize-advanced-rasperry-none' AND `virtuemart_product_id` != 1863128
2023-10-13	13:28:46	3636	[DEBUG]	Query for ProductLang
2023-10-13	13:28:46	3636	[DEBUG]	Executed store
2023-10-13	13:28:46	3636	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 2103300',`product_name`='POWERBAR Barre ENERGIZE Advanced Rasperry / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-energize-advanced-rasperry-none' WHERE `virtuemart_product_id` = '1863128'
2023-10-13	13:28:46	3636	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34269_barre_energize_advanced_rasperry.jpg
2023-10-13	13:28:46	3636	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:46	3636	[DEBUG]	Process image file
2023-10-13	13:28:46	3636	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:46	3636	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:46	3636	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34269_barre_energize_advanced_rasperry.jpg
2023-10-13	13:28:46	3636	[DEBUG]	Full name target: bcprisme/34269_barre_energize_advanced_rasperry.jpg
2023-10-13	13:28:47	3636	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:47	3636	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34269_barre_energize_advanced_rasperry.jpg'
2023-10-13	13:28:47	3636	[DEBUG]	Query for Media
2023-10-13	13:28:47	3636	[DEBUG]	Executed store
2023-10-13	13:28:47	3636	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34269_barre_energize_advanced_rasperry.jpg',`file_url_thumb`='bcprisme/34269_barre_energize_advanced_rasperry.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '112180'
2023-10-13	13:28:47	3636	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:47	3636	[DEBUG]	Executed store
2023-10-13	13:28:47	3636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863128','112180','1')
2023-10-13	13:28:47	3636	[DEBUG]	Store product image relation
2023-10-13	13:28:47	3636	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:47	3636	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863128 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:47	3636	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:47	3636	[DEBUG]	Executed store
2023-10-13	13:28:47	3636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863128','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:47	3636	[DEBUG]	Checking manufacturer
2023-10-13	13:28:47	3636	[DEBUG]	Load a row
2023-10-13	13:28:47	3636	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:47	3636	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:47	3636	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:47	3636	[DEBUG]	Executed store
2023-10-13	13:28:47	3636	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:47	3636	[DEBUG]	Manufacturer exists
2023-10-13	13:28:47	3636	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:47	3636	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:47	3636	[DEBUG]	Executed store
2023-10-13	13:28:47	3636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863128','121')
2023-10-13	13:28:47	3636	[DEBUG]	Find the custom field ID
2023-10-13	13:28:47	3636	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:47	3636	[DEBUG]	No custom field ID found
2023-10-13	13:28:47	3636	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:47	3636	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:47	3636	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863128 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:47	3636	[DEBUG]	Store custom available field
2023-10-13	13:28:47	3636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863128,3,'0',1)
2023-10-13	13:28:47	3636	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:47	3636	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:47	3636	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863128 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:47	3636	[DEBUG]	Store custom available field
2023-10-13	13:28:47	3636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863128,6,'choisir la taille',3)
2023-10-13	13:28:47	3636	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:47	3636	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:47	3636	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:47	3636	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:47	3636	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863128 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:47	3636	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:47	3636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863128,8,1)
2023-10-13	13:28:47	3636	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:47	3636	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863128\":[1863128,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863128
2023-10-13	13:28:47	3636	[DEBUG]	Checking category
2023-10-13	13:28:47	3636	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:47	3636	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863128
2023-10-13	13:28:47	3636	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:47	3636	[DEBUG]	Executed store
2023-10-13	13:28:47	3636	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863128','7383')
2023-10-13	13:28:47	3636	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:47	3636	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863128 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:47	3636	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:47	3636	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863128
2023-10-13	13:28:47	3637	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:47	3637	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:47	3637	[DEBUG]	Use field value for field taille
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:47	3637	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:47	3637	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:47	3637	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:47	3637	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:47	3637	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:47	3637	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:47	3637	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:47	3637	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:47	3637	[DEBUG]	Use field value for field published
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:47	3637	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field override
2023-10-13	13:28:47	3637	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:47	3637	[DEBUG]	Use field value for field slug
2023-10-13	13:28:47	3637	[DEBUG]	Process line 3637
2023-10-13	13:28:47	3637	[DEBUG]	Load a row
2023-10-13	13:28:47	3637	[DEBUG]	Processing item: 4029679674813
2023-10-13	13:28:47	3637	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:47	3637	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:47	3637	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7115_3'
2023-10-13	13:28:47	3637	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:47	3637	[DEBUG]	Processing product tax
2023-10-13	13:28:47	3637	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:47	3637	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:47	3637	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:47	3637	[DEBUG]	Query for Product
2023-10-13	13:28:47	3637	[DEBUG]	Executed store
2023-10-13	13:28:47	3637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863128','4029679674813','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:47	3637	[DEBUG]	No parent found
2023-10-13	13:28:47	3637	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863128 AND customfield_value = 'stockable'
2023-10-13	13:28:47	3637	[DEBUG]	Check product language entry
2023-10-13	13:28:47	3637	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863129
2023-10-13	13:28:47	3637	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:47	3637	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679674813' AND `virtuemart_product_id` != 1863129
2023-10-13	13:28:47	3637	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:47	3637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863129, '4029679674813')
2023-10-13	13:28:47	3637	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:47	3637	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-energize-advanced-rasperry-none-unitaire' AND `virtuemart_product_id` != 1863129
2023-10-13	13:28:47	3637	[DEBUG]	Query for ProductLang
2023-10-13	13:28:47	3637	[DEBUG]	Executed store
2023-10-13	13:28:47	3637	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Barre ENERGIZE Advanced Rasperry / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-energize-advanced-rasperry-none-unitaire' WHERE `virtuemart_product_id` = '1863129'
2023-10-13	13:28:47	3637	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34269_barre_energize_advanced_rasperry.jpg
2023-10-13	13:28:47	3637	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:47	3637	[DEBUG]	Process image file
2023-10-13	13:28:47	3637	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:47	3637	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:47	3637	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34269_barre_energize_advanced_rasperry.jpg
2023-10-13	13:28:47	3637	[DEBUG]	Full name target: bcprisme/34269_barre_energize_advanced_rasperry.jpg
2023-10-13	13:28:48	3637	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:48	3637	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34269_barre_energize_advanced_rasperry.jpg'
2023-10-13	13:28:48	3637	[DEBUG]	Query for Media
2023-10-13	13:28:48	3637	[DEBUG]	Executed store
2023-10-13	13:28:48	3637	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34269_barre_energize_advanced_rasperry.jpg',`file_url_thumb`='bcprisme/34269_barre_energize_advanced_rasperry.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '112180'
2023-10-13	13:28:48	3637	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:48	3637	[DEBUG]	Executed store
2023-10-13	13:28:48	3637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863129','112180','1')
2023-10-13	13:28:48	3637	[DEBUG]	Store product image relation
2023-10-13	13:28:48	3637	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:48	3637	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863129 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:48	3637	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:48	3637	[DEBUG]	Executed store
2023-10-13	13:28:48	3637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863129','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:48	3637	[DEBUG]	Checking manufacturer
2023-10-13	13:28:48	3637	[DEBUG]	Load a row
2023-10-13	13:28:48	3637	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:48	3637	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:48	3637	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:48	3637	[DEBUG]	Executed store
2023-10-13	13:28:48	3637	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:48	3637	[DEBUG]	Manufacturer exists
2023-10-13	13:28:48	3637	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:48	3637	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:48	3637	[DEBUG]	Executed store
2023-10-13	13:28:48	3637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863129','121')
2023-10-13	13:28:48	3637	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:48	3637	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:48	3637	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863129 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:48	3637	[DEBUG]	Store custom available field
2023-10-13	13:28:48	3637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863129,3,'',1)
2023-10-13	13:28:48	3637	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:48	3637	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:48	3637	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863129 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:48	3637	[DEBUG]	Store custom available field
2023-10-13	13:28:48	3637	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863129,6,'Unitaire',3)
2023-10-13	13:28:48	3637	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:48	3637	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:48	3637	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863128
2023-10-13	13:28:48	3637	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:48	3637	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863128\":[1863128,8,1,\"choisir la taille\"],\"1863129\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863128
2023-10-13	13:28:48	3637	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:48	3637	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863129
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:48	3638	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field taille
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:48	3638	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:48	3638	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:48	3638	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:48	3638	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:48	3638	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:48	3638	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field published
2023-10-13	13:28:48	3638	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:48	3638	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field override
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:48	3638	[DEBUG]	Use field value for field slug
2023-10-13	13:28:48	3638	[DEBUG]	Process line 3638
2023-10-13	13:28:48	3638	[DEBUG]	Load a row
2023-10-13	13:28:48	3638	[DEBUG]	Processing item: A_7116_3
2023-10-13	13:28:48	3638	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:48	3638	[DEBUG]	Processing product tax
2023-10-13	13:28:48	3638	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:48	3638	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:48	3638	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:48	3638	[DEBUG]	Query for Product
2023-10-13	13:28:48	3638	[DEBUG]	Executed store
2023-10-13	13:28:48	3638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7116_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:48	3638	[DEBUG]	Check product language entry
2023-10-13	13:28:48	3638	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863130
2023-10-13	13:28:48	3638	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:48	3638	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7116_3' AND `virtuemart_product_id` != 1863130
2023-10-13	13:28:48	3638	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:48	3638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863130, 'A_7116_3')
2023-10-13	13:28:48	3638	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:48	3638	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-energize-advanced-orange-none' AND `virtuemart_product_id` != 1863130
2023-10-13	13:28:48	3638	[DEBUG]	Query for ProductLang
2023-10-13	13:28:48	3638	[DEBUG]	Executed store
2023-10-13	13:28:48	3638	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 2103100',`product_name`='POWERBAR Barre ENERGIZE Advanced Orange / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-energize-advanced-orange-none' WHERE `virtuemart_product_id` = '1863130'
2023-10-13	13:28:48	3638	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34270_barre_energize_advanced_orange.png
2023-10-13	13:28:48	3638	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:28:48	3638	[DEBUG]	Process image file
2023-10-13	13:28:48	3638	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:28:48	3638	[DEBUG]	Mime type found: image/png
2023-10-13	13:28:48	3638	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34270_barre_energize_advanced_orange.png
2023-10-13	13:28:48	3638	[DEBUG]	Full name target: bcprisme/34270_barre_energize_advanced_orange.png
2023-10-13	13:28:49	3638	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:49	3638	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34270_barre_energize_advanced_orange.png'
2023-10-13	13:28:49	3638	[DEBUG]	Query for Media
2023-10-13	13:28:49	3638	[DEBUG]	Executed store
2023-10-13	13:28:49	3638	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34270_barre_energize_advanced_orange.png',`file_url_thumb`='bcprisme/34270_barre_energize_advanced_orange.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '697402'
2023-10-13	13:28:49	3638	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:49	3638	[DEBUG]	Executed store
2023-10-13	13:28:49	3638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863130','697402','1')
2023-10-13	13:28:49	3638	[DEBUG]	Store product image relation
2023-10-13	13:28:49	3638	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:49	3638	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863130 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:49	3638	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:49	3638	[DEBUG]	Executed store
2023-10-13	13:28:49	3638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863130','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:49	3638	[DEBUG]	Checking manufacturer
2023-10-13	13:28:49	3638	[DEBUG]	Load a row
2023-10-13	13:28:49	3638	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:49	3638	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:49	3638	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:49	3638	[DEBUG]	Executed store
2023-10-13	13:28:49	3638	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:49	3638	[DEBUG]	Manufacturer exists
2023-10-13	13:28:49	3638	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:49	3638	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:49	3638	[DEBUG]	Executed store
2023-10-13	13:28:49	3638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863130','121')
2023-10-13	13:28:49	3638	[DEBUG]	Find the custom field ID
2023-10-13	13:28:49	3638	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:49	3638	[DEBUG]	No custom field ID found
2023-10-13	13:28:49	3638	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:49	3638	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:49	3638	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863130 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:49	3638	[DEBUG]	Store custom available field
2023-10-13	13:28:49	3638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863130,3,'0',1)
2023-10-13	13:28:49	3638	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:49	3638	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:49	3638	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863130 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:49	3638	[DEBUG]	Store custom available field
2023-10-13	13:28:49	3638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863130,6,'choisir la taille',3)
2023-10-13	13:28:49	3638	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:49	3638	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:49	3638	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:49	3638	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:49	3638	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863130 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:49	3638	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:49	3638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863130,8,1)
2023-10-13	13:28:49	3638	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:49	3638	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863130\":[1863130,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863130
2023-10-13	13:28:49	3638	[DEBUG]	Checking category
2023-10-13	13:28:49	3638	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:49	3638	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863130
2023-10-13	13:28:49	3638	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:49	3638	[DEBUG]	Executed store
2023-10-13	13:28:49	3638	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863130','7383')
2023-10-13	13:28:49	3638	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:49	3638	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863130 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:49	3638	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:49	3638	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863130
2023-10-13	13:28:49	3639	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:49	3639	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:49	3639	[DEBUG]	Use field value for field taille
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:49	3639	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:49	3639	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:49	3639	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:49	3639	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:49	3639	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:49	3639	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:49	3639	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:49	3639	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:49	3639	[DEBUG]	Use field value for field published
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:49	3639	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field override
2023-10-13	13:28:49	3639	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:49	3639	[DEBUG]	Use field value for field slug
2023-10-13	13:28:49	3639	[DEBUG]	Process line 3639
2023-10-13	13:28:49	3639	[DEBUG]	Load a row
2023-10-13	13:28:49	3639	[DEBUG]	Processing item: 4029679674776
2023-10-13	13:28:49	3639	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:49	3639	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:49	3639	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7116_3'
2023-10-13	13:28:49	3639	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:49	3639	[DEBUG]	Processing product tax
2023-10-13	13:28:49	3639	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:49	3639	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:49	3639	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:49	3639	[DEBUG]	Query for Product
2023-10-13	13:28:49	3639	[DEBUG]	Executed store
2023-10-13	13:28:49	3639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863130','4029679674776','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:49	3639	[DEBUG]	No parent found
2023-10-13	13:28:49	3639	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863130 AND customfield_value = 'stockable'
2023-10-13	13:28:49	3639	[DEBUG]	Check product language entry
2023-10-13	13:28:49	3639	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863131
2023-10-13	13:28:49	3639	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:49	3639	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679674776' AND `virtuemart_product_id` != 1863131
2023-10-13	13:28:49	3639	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:49	3639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863131, '4029679674776')
2023-10-13	13:28:49	3639	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:49	3639	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-energize-advanced-orange-none-unitaire' AND `virtuemart_product_id` != 1863131
2023-10-13	13:28:49	3639	[DEBUG]	Query for ProductLang
2023-10-13	13:28:49	3639	[DEBUG]	Executed store
2023-10-13	13:28:49	3639	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Barre ENERGIZE Advanced Orange / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-energize-advanced-orange-none-unitaire' WHERE `virtuemart_product_id` = '1863131'
2023-10-13	13:28:49	3639	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34270_barre_energize_advanced_orange.png
2023-10-13	13:28:49	3639	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:28:49	3639	[DEBUG]	Process image file
2023-10-13	13:28:49	3639	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:28:49	3639	[DEBUG]	Mime type found: image/png
2023-10-13	13:28:49	3639	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34270_barre_energize_advanced_orange.png
2023-10-13	13:28:49	3639	[DEBUG]	Full name target: bcprisme/34270_barre_energize_advanced_orange.png
2023-10-13	13:28:50	3639	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:50	3639	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34270_barre_energize_advanced_orange.png'
2023-10-13	13:28:50	3639	[DEBUG]	Query for Media
2023-10-13	13:28:50	3639	[DEBUG]	Executed store
2023-10-13	13:28:50	3639	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34270_barre_energize_advanced_orange.png',`file_url_thumb`='bcprisme/34270_barre_energize_advanced_orange.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '697402'
2023-10-13	13:28:50	3639	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:50	3639	[DEBUG]	Executed store
2023-10-13	13:28:50	3639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863131','697402','1')
2023-10-13	13:28:50	3639	[DEBUG]	Store product image relation
2023-10-13	13:28:50	3639	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:50	3639	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863131 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:50	3639	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:50	3639	[DEBUG]	Executed store
2023-10-13	13:28:50	3639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863131','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:50	3639	[DEBUG]	Checking manufacturer
2023-10-13	13:28:50	3639	[DEBUG]	Load a row
2023-10-13	13:28:50	3639	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:50	3639	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:50	3639	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:50	3639	[DEBUG]	Executed store
2023-10-13	13:28:50	3639	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:50	3639	[DEBUG]	Manufacturer exists
2023-10-13	13:28:50	3639	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:50	3639	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:50	3639	[DEBUG]	Executed store
2023-10-13	13:28:50	3639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863131','121')
2023-10-13	13:28:50	3639	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:50	3639	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:50	3639	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863131 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:50	3639	[DEBUG]	Store custom available field
2023-10-13	13:28:50	3639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863131,3,'',1)
2023-10-13	13:28:50	3639	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:50	3639	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:50	3639	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863131 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:50	3639	[DEBUG]	Store custom available field
2023-10-13	13:28:50	3639	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863131,6,'Unitaire',3)
2023-10-13	13:28:50	3639	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:50	3639	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:50	3639	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863130
2023-10-13	13:28:50	3639	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:50	3639	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863130\":[1863130,8,1,\"choisir la taille\"],\"1863131\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863130
2023-10-13	13:28:50	3639	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:50	3639	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863131
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:50	3640	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field taille
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:50	3640	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:50	3640	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:50	3640	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:50	3640	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:50	3640	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:50	3640	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field published
2023-10-13	13:28:50	3640	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:50	3640	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field override
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:50	3640	[DEBUG]	Use field value for field slug
2023-10-13	13:28:50	3640	[DEBUG]	Process line 3640
2023-10-13	13:28:50	3640	[DEBUG]	Load a row
2023-10-13	13:28:50	3640	[DEBUG]	Processing item: A_7247_3
2023-10-13	13:28:50	3640	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:50	3640	[DEBUG]	Processing product tax
2023-10-13	13:28:50	3640	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:50	3640	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:50	3640	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:50	3640	[DEBUG]	Query for Product
2023-10-13	13:28:50	3640	[DEBUG]	Executed store
2023-10-13	13:28:50	3640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7247_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:50	3640	[DEBUG]	Check product language entry
2023-10-13	13:28:50	3640	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863132
2023-10-13	13:28:50	3640	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:50	3640	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7247_3' AND `virtuemart_product_id` != 1863132
2023-10-13	13:28:50	3640	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:50	3640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863132, 'A_7247_3')
2023-10-13	13:28:50	3640	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:50	3640	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-original-green-apple-none' AND `virtuemart_product_id` != 1863132
2023-10-13	13:28:50	3640	[DEBUG]	Query for ProductLang
2023-10-13	13:28:50	3640	[DEBUG]	Executed store
2023-10-13	13:28:50	3640	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 22010100',`product_name`='POWERBAR POWERGEL ORIGINAL GREEN APPLE / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-original-green-apple-none' WHERE `virtuemart_product_id` = '1863132'
2023-10-13	13:28:50	3640	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34431_powergel_original_green_apel.jpg
2023-10-13	13:28:50	3640	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:28:50	3640	[DEBUG]	Process image file
2023-10-13	13:28:50	3640	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:28:50	3640	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:50	3640	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34431_powergel_original_green_apel.jpg
2023-10-13	13:28:50	3640	[DEBUG]	Full name target: bcprisme/34431_powergel_original_green_apel.jpg
2023-10-13	13:28:51	3640	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:51	3640	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34431_powergel_original_green_apel.jpg'
2023-10-13	13:28:51	3640	[DEBUG]	Query for Media
2023-10-13	13:28:51	3640	[DEBUG]	Executed store
2023-10-13	13:28:51	3640	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34431_powergel_original_green_apel.jpg',`file_url_thumb`='bcprisme/34431_powergel_original_green_apel.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '717501'
2023-10-13	13:28:51	3640	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:51	3640	[DEBUG]	Executed store
2023-10-13	13:28:51	3640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863132','717501','1')
2023-10-13	13:28:51	3640	[DEBUG]	Store product image relation
2023-10-13	13:28:51	3640	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:51	3640	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863132 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:51	3640	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:51	3640	[DEBUG]	Executed store
2023-10-13	13:28:51	3640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863132','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:51	3640	[DEBUG]	Checking manufacturer
2023-10-13	13:28:51	3640	[DEBUG]	Load a row
2023-10-13	13:28:51	3640	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:51	3640	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:51	3640	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:51	3640	[DEBUG]	Executed store
2023-10-13	13:28:51	3640	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:51	3640	[DEBUG]	Manufacturer exists
2023-10-13	13:28:51	3640	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:51	3640	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:51	3640	[DEBUG]	Executed store
2023-10-13	13:28:51	3640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863132','121')
2023-10-13	13:28:51	3640	[DEBUG]	Find the custom field ID
2023-10-13	13:28:51	3640	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:51	3640	[DEBUG]	No custom field ID found
2023-10-13	13:28:51	3640	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:51	3640	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:51	3640	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863132 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:51	3640	[DEBUG]	Store custom available field
2023-10-13	13:28:51	3640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863132,3,'0',1)
2023-10-13	13:28:51	3640	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:51	3640	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:51	3640	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863132 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:51	3640	[DEBUG]	Store custom available field
2023-10-13	13:28:51	3640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863132,6,'choisir la taille',3)
2023-10-13	13:28:51	3640	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:51	3640	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:51	3640	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:51	3640	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:51	3640	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863132 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:51	3640	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:51	3640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863132,8,1)
2023-10-13	13:28:51	3640	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:51	3640	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863132\":[1863132,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863132
2023-10-13	13:28:51	3640	[DEBUG]	Checking category
2023-10-13	13:28:51	3640	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:51	3640	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863132
2023-10-13	13:28:51	3640	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:51	3640	[DEBUG]	Executed store
2023-10-13	13:28:51	3640	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863132','7383')
2023-10-13	13:28:51	3640	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:51	3640	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863132 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:51	3640	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:51	3640	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863132
2023-10-13	13:28:51	3641	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:51	3641	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:51	3641	[DEBUG]	Use field value for field taille
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:51	3641	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:51	3641	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:51	3641	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:51	3641	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:51	3641	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:51	3641	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:51	3641	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:51	3641	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:51	3641	[DEBUG]	Use field value for field published
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:51	3641	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field override
2023-10-13	13:28:51	3641	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:51	3641	[DEBUG]	Use field value for field slug
2023-10-13	13:28:51	3641	[DEBUG]	Process line 3641
2023-10-13	13:28:51	3641	[DEBUG]	Load a row
2023-10-13	13:28:51	3641	[DEBUG]	Processing item: 4029679672277
2023-10-13	13:28:51	3641	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:51	3641	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:51	3641	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7247_3'
2023-10-13	13:28:51	3641	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:51	3641	[DEBUG]	Processing product tax
2023-10-13	13:28:51	3641	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:51	3641	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:51	3641	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:51	3641	[DEBUG]	Query for Product
2023-10-13	13:28:51	3641	[DEBUG]	Executed store
2023-10-13	13:28:51	3641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863132','4029679672277','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:51	3641	[DEBUG]	No parent found
2023-10-13	13:28:51	3641	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863132 AND customfield_value = 'stockable'
2023-10-13	13:28:51	3641	[DEBUG]	Check product language entry
2023-10-13	13:28:51	3641	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863133
2023-10-13	13:28:51	3641	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:51	3641	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679672277' AND `virtuemart_product_id` != 1863133
2023-10-13	13:28:51	3641	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:51	3641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863133, '4029679672277')
2023-10-13	13:28:51	3641	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:51	3641	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-original-green-apple-none-unitaire' AND `virtuemart_product_id` != 1863133
2023-10-13	13:28:51	3641	[DEBUG]	Query for ProductLang
2023-10-13	13:28:51	3641	[DEBUG]	Executed store
2023-10-13	13:28:51	3641	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERGEL ORIGINAL GREEN APPLE / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-original-green-apple-none-unitaire' WHERE `virtuemart_product_id` = '1863133'
2023-10-13	13:28:51	3641	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34431_powergel_original_green_apel.jpg
2023-10-13	13:28:51	3641	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:28:51	3641	[DEBUG]	Process image file
2023-10-13	13:28:51	3641	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:28:51	3641	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:51	3641	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34431_powergel_original_green_apel.jpg
2023-10-13	13:28:51	3641	[DEBUG]	Full name target: bcprisme/34431_powergel_original_green_apel.jpg
2023-10-13	13:28:52	3641	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:52	3641	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34431_powergel_original_green_apel.jpg'
2023-10-13	13:28:52	3641	[DEBUG]	Query for Media
2023-10-13	13:28:52	3641	[DEBUG]	Executed store
2023-10-13	13:28:52	3641	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34431_powergel_original_green_apel.jpg',`file_url_thumb`='bcprisme/34431_powergel_original_green_apel.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '717501'
2023-10-13	13:28:52	3641	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:52	3641	[DEBUG]	Executed store
2023-10-13	13:28:52	3641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863133','717501','1')
2023-10-13	13:28:52	3641	[DEBUG]	Store product image relation
2023-10-13	13:28:52	3641	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:52	3641	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863133 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:52	3641	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:52	3641	[DEBUG]	Executed store
2023-10-13	13:28:52	3641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863133','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:52	3641	[DEBUG]	Checking manufacturer
2023-10-13	13:28:52	3641	[DEBUG]	Load a row
2023-10-13	13:28:52	3641	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:52	3641	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:52	3641	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:52	3641	[DEBUG]	Executed store
2023-10-13	13:28:52	3641	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:52	3641	[DEBUG]	Manufacturer exists
2023-10-13	13:28:52	3641	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:52	3641	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:52	3641	[DEBUG]	Executed store
2023-10-13	13:28:52	3641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863133','121')
2023-10-13	13:28:52	3641	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:52	3641	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:52	3641	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863133 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:52	3641	[DEBUG]	Store custom available field
2023-10-13	13:28:52	3641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863133,3,'',1)
2023-10-13	13:28:52	3641	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:52	3641	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:52	3641	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863133 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:52	3641	[DEBUG]	Store custom available field
2023-10-13	13:28:52	3641	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863133,6,'Unitaire',3)
2023-10-13	13:28:52	3641	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:52	3641	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:52	3641	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863132
2023-10-13	13:28:52	3641	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:52	3641	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863132\":[1863132,8,1,\"choisir la taille\"],\"1863133\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863132
2023-10-13	13:28:52	3641	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:52	3641	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863133
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:52	3642	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field taille
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:52	3642	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:52	3642	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:52	3642	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:52	3642	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:52	3642	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:52	3642	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:52	3642	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field published
2023-10-13	13:28:52	3642	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:52	3642	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field override
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:52	3642	[DEBUG]	Use field value for field slug
2023-10-13	13:28:52	3642	[DEBUG]	Process line 3642
2023-10-13	13:28:52	3642	[DEBUG]	Load a row
2023-10-13	13:28:52	3642	[DEBUG]	Processing item: A_7253_1
2023-10-13	13:28:52	3642	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:52	3642	[DEBUG]	Processing product tax
2023-10-13	13:28:52	3642	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:52	3642	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:52	3642	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:52	3642	[DEBUG]	Query for Product
2023-10-13	13:28:52	3642	[DEBUG]	Executed store
2023-10-13	13:28:52	3642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7253_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:52	3642	[DEBUG]	Check product language entry
2023-10-13	13:28:52	3642	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863134
2023-10-13	13:28:52	3642	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:52	3642	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7253_1' AND `virtuemart_product_id` != 1863134
2023-10-13	13:28:52	3642	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:52	3642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863134, 'A_7253_1')
2023-10-13	13:28:52	3642	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:52	3642	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-hydro-mojito-noir' AND `virtuemart_product_id` != 1863134
2023-10-13	13:28:52	3642	[DEBUG]	Query for ProductLang
2023-10-13	13:28:52	3642	[DEBUG]	Executed store
2023-10-13	13:28:52	3642	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 22040100',`product_name`='POWERBAR POWERGEL HYDRO MOJITO / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-hydro-mojito-noir' WHERE `virtuemart_product_id` = '1863134'
2023-10-13	13:28:52	3642	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34437_powergel_hydro_mojito.jpg
2023-10-13	13:28:52	3642	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:52	3642	[DEBUG]	Process image file
2023-10-13	13:28:52	3642	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:52	3642	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:52	3642	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34437_powergel_hydro_mojito.jpg
2023-10-13	13:28:52	3642	[DEBUG]	Full name target: bcprisme/34437_powergel_hydro_mojito.jpg
2023-10-13	13:28:53	3642	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:53	3642	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34437_powergel_hydro_mojito.jpg'
2023-10-13	13:28:53	3642	[DEBUG]	Query for Media
2023-10-13	13:28:53	3642	[DEBUG]	Executed store
2023-10-13	13:28:53	3642	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34437_powergel_hydro_mojito.jpg',`file_url_thumb`='bcprisme/34437_powergel_hydro_mojito.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '788636'
2023-10-13	13:28:53	3642	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:53	3642	[DEBUG]	Executed store
2023-10-13	13:28:53	3642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863134','788636','1')
2023-10-13	13:28:53	3642	[DEBUG]	Store product image relation
2023-10-13	13:28:53	3642	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:53	3642	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863134 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:53	3642	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:53	3642	[DEBUG]	Executed store
2023-10-13	13:28:53	3642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863134','0','2.97121634168988','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:53	3642	[DEBUG]	Checking manufacturer
2023-10-13	13:28:53	3642	[DEBUG]	Load a row
2023-10-13	13:28:53	3642	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:53	3642	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:53	3642	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:53	3642	[DEBUG]	Executed store
2023-10-13	13:28:53	3642	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:53	3642	[DEBUG]	Manufacturer exists
2023-10-13	13:28:53	3642	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:53	3642	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:53	3642	[DEBUG]	Executed store
2023-10-13	13:28:53	3642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863134','121')
2023-10-13	13:28:53	3642	[DEBUG]	Find the custom field ID
2023-10-13	13:28:53	3642	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:53	3642	[DEBUG]	No custom field ID found
2023-10-13	13:28:53	3642	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:53	3642	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:53	3642	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863134 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:53	3642	[DEBUG]	Store custom available field
2023-10-13	13:28:53	3642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863134,3,'0',1)
2023-10-13	13:28:53	3642	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:53	3642	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:53	3642	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863134 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:53	3642	[DEBUG]	Store custom available field
2023-10-13	13:28:53	3642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863134,6,'choisir la taille',3)
2023-10-13	13:28:53	3642	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:53	3642	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:53	3642	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:53	3642	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:53	3642	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863134 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:53	3642	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:53	3642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863134,8,1)
2023-10-13	13:28:53	3642	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:53	3642	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863134\":[1863134,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863134
2023-10-13	13:28:53	3642	[DEBUG]	Checking category
2023-10-13	13:28:53	3642	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:53	3642	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863134
2023-10-13	13:28:53	3642	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:53	3642	[DEBUG]	Executed store
2023-10-13	13:28:53	3642	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863134','7383')
2023-10-13	13:28:53	3642	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:53	3642	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863134 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:53	3642	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:53	3642	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863134
2023-10-13	13:28:53	3643	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:53	3643	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:53	3643	[DEBUG]	Use field value for field taille
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:53	3643	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:53	3643	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:53	3643	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:53	3643	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:53	3643	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:53	3643	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:53	3643	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:53	3643	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:53	3643	[DEBUG]	Use field value for field published
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:53	3643	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field override
2023-10-13	13:28:53	3643	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:53	3643	[DEBUG]	Use field value for field slug
2023-10-13	13:28:53	3643	[DEBUG]	Process line 3643
2023-10-13	13:28:53	3643	[DEBUG]	Load a row
2023-10-13	13:28:53	3643	[DEBUG]	Processing item: 4029679672635
2023-10-13	13:28:53	3643	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:53	3643	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:53	3643	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7253_1'
2023-10-13	13:28:53	3643	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:53	3643	[DEBUG]	Processing product tax
2023-10-13	13:28:53	3643	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:53	3643	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:53	3643	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:53	3643	[DEBUG]	Query for Product
2023-10-13	13:28:53	3643	[DEBUG]	Executed store
2023-10-13	13:28:53	3643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863134','4029679672635','0','KG','M','','30','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:53	3643	[DEBUG]	No parent found
2023-10-13	13:28:53	3643	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863134 AND customfield_value = 'stockable'
2023-10-13	13:28:53	3643	[DEBUG]	Check product language entry
2023-10-13	13:28:53	3643	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863135
2023-10-13	13:28:53	3643	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:53	3643	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679672635' AND `virtuemart_product_id` != 1863135
2023-10-13	13:28:53	3643	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:53	3643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863135, '4029679672635')
2023-10-13	13:28:53	3643	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:53	3643	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-hydro-mojito-noir-unitaire' AND `virtuemart_product_id` != 1863135
2023-10-13	13:28:53	3643	[DEBUG]	Query for ProductLang
2023-10-13	13:28:53	3643	[DEBUG]	Executed store
2023-10-13	13:28:53	3643	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERGEL HYDRO MOJITO / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-hydro-mojito-noir-unitaire' WHERE `virtuemart_product_id` = '1863135'
2023-10-13	13:28:53	3643	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34437_powergel_hydro_mojito.jpg
2023-10-13	13:28:53	3643	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:53	3643	[DEBUG]	Process image file
2023-10-13	13:28:53	3643	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:53	3643	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:53	3643	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34437_powergel_hydro_mojito.jpg
2023-10-13	13:28:53	3643	[DEBUG]	Full name target: bcprisme/34437_powergel_hydro_mojito.jpg
2023-10-13	13:28:54	3643	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:54	3643	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34437_powergel_hydro_mojito.jpg'
2023-10-13	13:28:54	3643	[DEBUG]	Query for Media
2023-10-13	13:28:54	3643	[DEBUG]	Executed store
2023-10-13	13:28:54	3643	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34437_powergel_hydro_mojito.jpg',`file_url_thumb`='bcprisme/34437_powergel_hydro_mojito.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '788636'
2023-10-13	13:28:54	3643	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:54	3643	[DEBUG]	Executed store
2023-10-13	13:28:54	3643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863135','788636','1')
2023-10-13	13:28:54	3643	[DEBUG]	Store product image relation
2023-10-13	13:28:54	3643	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:54	3643	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863135 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:54	3643	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:54	3643	[DEBUG]	Executed store
2023-10-13	13:28:54	3643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863135','0','2.97121634168988','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:54	3643	[DEBUG]	Checking manufacturer
2023-10-13	13:28:54	3643	[DEBUG]	Load a row
2023-10-13	13:28:54	3643	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:54	3643	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:54	3643	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:54	3643	[DEBUG]	Executed store
2023-10-13	13:28:54	3643	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:54	3643	[DEBUG]	Manufacturer exists
2023-10-13	13:28:54	3643	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:54	3643	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:54	3643	[DEBUG]	Executed store
2023-10-13	13:28:54	3643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863135','121')
2023-10-13	13:28:54	3643	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:54	3643	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:54	3643	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863135 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:54	3643	[DEBUG]	Store custom available field
2023-10-13	13:28:54	3643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863135,3,'',1)
2023-10-13	13:28:54	3643	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:54	3643	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:54	3643	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863135 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:54	3643	[DEBUG]	Store custom available field
2023-10-13	13:28:54	3643	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863135,6,'Unitaire',3)
2023-10-13	13:28:54	3643	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:54	3643	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:54	3643	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863134
2023-10-13	13:28:54	3643	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:54	3643	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863134\":[1863134,8,1,\"choisir la taille\"],\"1863135\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863134
2023-10-13	13:28:54	3643	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:54	3643	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863135
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:54	3644	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field taille
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:54	3644	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:54	3644	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:54	3644	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:54	3644	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:54	3644	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:54	3644	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field published
2023-10-13	13:28:54	3644	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:54	3644	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field override
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:54	3644	[DEBUG]	Use field value for field slug
2023-10-13	13:28:54	3644	[DEBUG]	Process line 3644
2023-10-13	13:28:54	3644	[DEBUG]	Load a row
2023-10-13	13:28:54	3644	[DEBUG]	Processing item: A_7933_1
2023-10-13	13:28:54	3644	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:54	3644	[DEBUG]	Processing product tax
2023-10-13	13:28:54	3644	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:54	3644	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:54	3644	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:54	3644	[DEBUG]	Query for Product
2023-10-13	13:28:54	3644	[DEBUG]	Executed store
2023-10-13	13:28:54	3644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7933_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:54	3644	[DEBUG]	Check product language entry
2023-10-13	13:28:54	3644	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863136
2023-10-13	13:28:54	3644	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:54	3644	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7933_1' AND `virtuemart_product_id` != 1863136
2023-10-13	13:28:54	3644	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:54	3644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863136, 'A_7933_1')
2023-10-13	13:28:54	3644	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:54	3644	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-energize-advanced-almond-noir' AND `virtuemart_product_id` != 1863136
2023-10-13	13:28:54	3644	[DEBUG]	Query for ProductLang
2023-10-13	13:28:54	3644	[DEBUG]	Executed store
2023-10-13	13:28:54	3644	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 21446743',`product_name`='POWERBAR Barre ENERGIZE Advanced Almond / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-energize-advanced-almond-noir' WHERE `virtuemart_product_id` = '1863136'
2023-10-13	13:28:54	3644	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36368_powerbar_energize_advenced_almond.jpg
2023-10-13	13:28:54	3644	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:28:54	3644	[DEBUG]	Process image file
2023-10-13	13:28:54	3644	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:28:54	3644	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:54	3644	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36368_powerbar_energize_advenced_almond.jpg
2023-10-13	13:28:54	3644	[DEBUG]	Full name target: bcprisme/36368_powerbar_energize_advenced_almond.jpg
2023-10-13	13:28:55	3644	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:55	3644	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36368_powerbar_energize_advenced_almond.jpg'
2023-10-13	13:28:55	3644	[DEBUG]	Query for Media
2023-10-13	13:28:55	3644	[DEBUG]	Executed store
2023-10-13	13:28:55	3644	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36368_powerbar_energize_advenced_almond.jpg',`file_url_thumb`='bcprisme/36368_powerbar_energize_advenced_almond.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '697410'
2023-10-13	13:28:55	3644	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:55	3644	[DEBUG]	Executed store
2023-10-13	13:28:55	3644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863136','697410','1')
2023-10-13	13:28:55	3644	[DEBUG]	Store product image relation
2023-10-13	13:28:55	3644	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:55	3644	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863136 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:55	3644	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:55	3644	[DEBUG]	Executed store
2023-10-13	13:28:55	3644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863136','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:55	3644	[DEBUG]	Checking manufacturer
2023-10-13	13:28:55	3644	[DEBUG]	Load a row
2023-10-13	13:28:55	3644	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:55	3644	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:55	3644	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:55	3644	[DEBUG]	Executed store
2023-10-13	13:28:55	3644	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:55	3644	[DEBUG]	Manufacturer exists
2023-10-13	13:28:55	3644	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:55	3644	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:55	3644	[DEBUG]	Executed store
2023-10-13	13:28:55	3644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863136','121')
2023-10-13	13:28:55	3644	[DEBUG]	Find the custom field ID
2023-10-13	13:28:55	3644	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:55	3644	[DEBUG]	No custom field ID found
2023-10-13	13:28:55	3644	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:55	3644	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:55	3644	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863136 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:55	3644	[DEBUG]	Store custom available field
2023-10-13	13:28:55	3644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863136,3,'0',1)
2023-10-13	13:28:55	3644	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:55	3644	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:55	3644	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863136 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:55	3644	[DEBUG]	Store custom available field
2023-10-13	13:28:55	3644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863136,6,'choisir la taille',3)
2023-10-13	13:28:55	3644	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:55	3644	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:55	3644	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:55	3644	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:55	3644	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863136 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:55	3644	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:55	3644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863136,8,1)
2023-10-13	13:28:55	3644	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:55	3644	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863136\":[1863136,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863136
2023-10-13	13:28:55	3644	[DEBUG]	Checking category
2023-10-13	13:28:55	3644	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:55	3644	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863136
2023-10-13	13:28:55	3644	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:55	3644	[DEBUG]	Executed store
2023-10-13	13:28:55	3644	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863136','7383')
2023-10-13	13:28:55	3644	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:55	3644	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863136 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:55	3644	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:55	3644	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863136
2023-10-13	13:28:55	3645	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:55	3645	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:55	3645	[DEBUG]	Use field value for field taille
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:55	3645	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:55	3645	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:55	3645	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:55	3645	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:55	3645	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:55	3645	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:55	3645	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:55	3645	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:55	3645	[DEBUG]	Use field value for field published
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:55	3645	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field override
2023-10-13	13:28:55	3645	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:55	3645	[DEBUG]	Use field value for field slug
2023-10-13	13:28:55	3645	[DEBUG]	Process line 3645
2023-10-13	13:28:55	3645	[DEBUG]	Load a row
2023-10-13	13:28:55	3645	[DEBUG]	Processing item: 4029679679450
2023-10-13	13:28:55	3645	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:55	3645	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:55	3645	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7933_1'
2023-10-13	13:28:55	3645	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:55	3645	[DEBUG]	Processing product tax
2023-10-13	13:28:55	3645	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:55	3645	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:55	3645	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:55	3645	[DEBUG]	Query for Product
2023-10-13	13:28:55	3645	[DEBUG]	Executed store
2023-10-13	13:28:55	3645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863136','4029679679450','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:55	3645	[DEBUG]	No parent found
2023-10-13	13:28:55	3645	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863136 AND customfield_value = 'stockable'
2023-10-13	13:28:55	3645	[DEBUG]	Check product language entry
2023-10-13	13:28:55	3645	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863137
2023-10-13	13:28:55	3645	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:55	3645	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679679450' AND `virtuemart_product_id` != 1863137
2023-10-13	13:28:55	3645	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:55	3645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863137, '4029679679450')
2023-10-13	13:28:55	3645	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:55	3645	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-energize-advanced-almond-noir-unitaire' AND `virtuemart_product_id` != 1863137
2023-10-13	13:28:55	3645	[DEBUG]	Query for ProductLang
2023-10-13	13:28:55	3645	[DEBUG]	Executed store
2023-10-13	13:28:55	3645	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Barre ENERGIZE Advanced Almond / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-energize-advanced-almond-noir-unitaire' WHERE `virtuemart_product_id` = '1863137'
2023-10-13	13:28:55	3645	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36368_powerbar_energize_advenced_almond.jpg
2023-10-13	13:28:55	3645	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:28:55	3645	[DEBUG]	Process image file
2023-10-13	13:28:55	3645	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:28:55	3645	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:55	3645	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36368_powerbar_energize_advenced_almond.jpg
2023-10-13	13:28:55	3645	[DEBUG]	Full name target: bcprisme/36368_powerbar_energize_advenced_almond.jpg
2023-10-13	13:28:56	3645	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:56	3645	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36368_powerbar_energize_advenced_almond.jpg'
2023-10-13	13:28:56	3645	[DEBUG]	Query for Media
2023-10-13	13:28:56	3645	[DEBUG]	Executed store
2023-10-13	13:28:56	3645	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36368_powerbar_energize_advenced_almond.jpg',`file_url_thumb`='bcprisme/36368_powerbar_energize_advenced_almond.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '697410'
2023-10-13	13:28:56	3645	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:56	3645	[DEBUG]	Executed store
2023-10-13	13:28:56	3645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863137','697410','1')
2023-10-13	13:28:56	3645	[DEBUG]	Store product image relation
2023-10-13	13:28:56	3645	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:56	3645	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863137 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:56	3645	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:56	3645	[DEBUG]	Executed store
2023-10-13	13:28:56	3645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863137','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:56	3645	[DEBUG]	Checking manufacturer
2023-10-13	13:28:56	3645	[DEBUG]	Load a row
2023-10-13	13:28:56	3645	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:56	3645	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:56	3645	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:56	3645	[DEBUG]	Executed store
2023-10-13	13:28:56	3645	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:56	3645	[DEBUG]	Manufacturer exists
2023-10-13	13:28:56	3645	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:56	3645	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:56	3645	[DEBUG]	Executed store
2023-10-13	13:28:56	3645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863137','121')
2023-10-13	13:28:56	3645	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:56	3645	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:56	3645	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863137 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:56	3645	[DEBUG]	Store custom available field
2023-10-13	13:28:56	3645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863137,3,'',1)
2023-10-13	13:28:56	3645	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:56	3645	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:56	3645	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863137 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:56	3645	[DEBUG]	Store custom available field
2023-10-13	13:28:56	3645	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863137,6,'Unitaire',3)
2023-10-13	13:28:56	3645	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:56	3645	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:56	3645	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863136
2023-10-13	13:28:56	3645	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:56	3645	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863136\":[1863136,8,1,\"choisir la taille\"],\"1863137\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863136
2023-10-13	13:28:56	3645	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:56	3645	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863137
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:56	3646	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field taille
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:56	3646	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:56	3646	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:56	3646	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:56	3646	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:56	3646	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:56	3646	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field published
2023-10-13	13:28:56	3646	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:56	3646	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field override
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:56	3646	[DEBUG]	Use field value for field slug
2023-10-13	13:28:56	3646	[DEBUG]	Process line 3646
2023-10-13	13:28:56	3646	[DEBUG]	Load a row
2023-10-13	13:28:56	3646	[DEBUG]	Processing item: A_7936_1
2023-10-13	13:28:56	3646	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:56	3646	[DEBUG]	Processing product tax
2023-10-13	13:28:56	3646	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:56	3646	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:56	3646	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:56	3646	[DEBUG]	Query for Product
2023-10-13	13:28:56	3646	[DEBUG]	Executed store
2023-10-13	13:28:56	3646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7936_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:56	3646	[DEBUG]	Check product language entry
2023-10-13	13:28:56	3646	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863138
2023-10-13	13:28:56	3646	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:56	3646	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7936_1' AND `virtuemart_product_id` != 1863138
2023-10-13	13:28:56	3646	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:56	3646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863138, 'A_7936_1')
2023-10-13	13:28:56	3646	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:56	3646	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-recovery-max-chocolate-noir' AND `virtuemart_product_id` != 1863138
2023-10-13	13:28:56	3646	[DEBUG]	Query for ProductLang
2023-10-13	13:28:56	3646	[DEBUG]	Executed store
2023-10-13	13:28:56	3646	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24810201',`product_name`='POWERBAR RECOVERY MAX CHOCOLATE / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-recovery-max-chocolate-noir' WHERE `virtuemart_product_id` = '1863138'
2023-10-13	13:28:56	3646	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36371_recovery_max_chocolate.jpg
2023-10-13	13:28:56	3646	[DEBUG]	Identity string: ffd8ffe116754578696600004d4d002a00000008
2023-10-13	13:28:56	3646	[DEBUG]	Process image file
2023-10-13	13:28:56	3646	[DEBUG]	Identity string: ffd8ffe116754578696600004d4d002a00000008
2023-10-13	13:28:56	3646	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:56	3646	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36371_recovery_max_chocolate.jpg
2023-10-13	13:28:56	3646	[DEBUG]	Full name target: bcprisme/36371_recovery_max_chocolate.jpg
2023-10-13	13:28:57	3646	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:57	3646	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36371_recovery_max_chocolate.jpg'
2023-10-13	13:28:57	3646	[DEBUG]	Query for Media
2023-10-13	13:28:57	3646	[DEBUG]	Executed store
2023-10-13	13:28:57	3646	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36371_recovery_max_chocolate.jpg',`file_url_thumb`='bcprisme/36371_recovery_max_chocolate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '568363'
2023-10-13	13:28:57	3646	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:57	3646	[DEBUG]	Executed store
2023-10-13	13:28:57	3646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863138','568363','1')
2023-10-13	13:28:57	3646	[DEBUG]	Store product image relation
2023-10-13	13:28:57	3646	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:57	3646	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863138 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:57	3646	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:57	3646	[DEBUG]	Executed store
2023-10-13	13:28:57	3646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863138','0','37.1402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:57	3646	[DEBUG]	Checking manufacturer
2023-10-13	13:28:57	3646	[DEBUG]	Load a row
2023-10-13	13:28:57	3646	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:57	3646	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:57	3646	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:57	3646	[DEBUG]	Executed store
2023-10-13	13:28:57	3646	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:57	3646	[DEBUG]	Manufacturer exists
2023-10-13	13:28:57	3646	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:57	3646	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:57	3646	[DEBUG]	Executed store
2023-10-13	13:28:57	3646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863138','121')
2023-10-13	13:28:57	3646	[DEBUG]	Find the custom field ID
2023-10-13	13:28:57	3646	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:57	3646	[DEBUG]	No custom field ID found
2023-10-13	13:28:57	3646	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:57	3646	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:57	3646	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863138 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:57	3646	[DEBUG]	Store custom available field
2023-10-13	13:28:57	3646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863138,3,'0',1)
2023-10-13	13:28:57	3646	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:57	3646	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:57	3646	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863138 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:57	3646	[DEBUG]	Store custom available field
2023-10-13	13:28:57	3646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863138,6,'choisir la taille',3)
2023-10-13	13:28:57	3646	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:57	3646	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:57	3646	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:57	3646	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:57	3646	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863138 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:57	3646	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:57	3646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863138,8,1)
2023-10-13	13:28:57	3646	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:57	3646	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863138\":[1863138,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863138
2023-10-13	13:28:57	3646	[DEBUG]	Checking category
2023-10-13	13:28:57	3646	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:57	3646	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863138
2023-10-13	13:28:57	3646	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:57	3646	[DEBUG]	Executed store
2023-10-13	13:28:57	3646	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863138','7383')
2023-10-13	13:28:57	3646	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:57	3646	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863138 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:57	3646	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:57	3646	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863138
2023-10-13	13:28:57	3647	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:57	3647	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:28:57	3647	[DEBUG]	Use field value for field taille
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:28:57	3647	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field category_path
2023-10-13	13:28:57	3647	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:57	3647	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:57	3647	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:57	3647	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:28:57	3647	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field product_weight
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:57	3647	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:57	3647	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:57	3647	[DEBUG]	Use field value for field published
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field custom_title
2023-10-13	13:28:57	3647	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field custom_param
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field override
2023-10-13	13:28:57	3647	[DEBUG]	Use default value for field public_price
2023-10-13	13:28:57	3647	[DEBUG]	Use field value for field slug
2023-10-13	13:28:57	3647	[DEBUG]	Process line 3647
2023-10-13	13:28:57	3647	[DEBUG]	Load a row
2023-10-13	13:28:57	3647	[DEBUG]	Processing item: 4029679672734
2023-10-13	13:28:57	3647	[DEBUG]	Looking for parent SKU
2023-10-13	13:28:57	3647	[DEBUG]	Checking product parent SKU
2023-10-13	13:28:57	3647	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7936_1'
2023-10-13	13:28:57	3647	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:57	3647	[DEBUG]	Processing product tax
2023-10-13	13:28:57	3647	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:57	3647	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:57	3647	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:57	3647	[DEBUG]	Query for Product
2023-10-13	13:28:57	3647	[DEBUG]	Executed store
2023-10-13	13:28:57	3647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863138','4029679672734','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:57	3647	[DEBUG]	No parent found
2023-10-13	13:28:57	3647	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863138 AND customfield_value = 'stockable'
2023-10-13	13:28:57	3647	[DEBUG]	Check product language entry
2023-10-13	13:28:57	3647	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863139
2023-10-13	13:28:57	3647	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:57	3647	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679672734' AND `virtuemart_product_id` != 1863139
2023-10-13	13:28:57	3647	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:57	3647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863139, '4029679672734')
2023-10-13	13:28:57	3647	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:57	3647	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-recovery-max-chocolate-noir-unitaire' AND `virtuemart_product_id` != 1863139
2023-10-13	13:28:57	3647	[DEBUG]	Query for ProductLang
2023-10-13	13:28:57	3647	[DEBUG]	Executed store
2023-10-13	13:28:57	3647	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR RECOVERY MAX CHOCOLATE / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-recovery-max-chocolate-noir-unitaire' WHERE `virtuemart_product_id` = '1863139'
2023-10-13	13:28:57	3647	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36371_recovery_max_chocolate.jpg
2023-10-13	13:28:57	3647	[DEBUG]	Identity string: ffd8ffe116754578696600004d4d002a00000008
2023-10-13	13:28:57	3647	[DEBUG]	Process image file
2023-10-13	13:28:57	3647	[DEBUG]	Identity string: ffd8ffe116754578696600004d4d002a00000008
2023-10-13	13:28:57	3647	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:57	3647	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36371_recovery_max_chocolate.jpg
2023-10-13	13:28:57	3647	[DEBUG]	Full name target: bcprisme/36371_recovery_max_chocolate.jpg
2023-10-13	13:28:58	3647	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:58	3647	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36371_recovery_max_chocolate.jpg'
2023-10-13	13:28:58	3647	[DEBUG]	Query for Media
2023-10-13	13:28:58	3647	[DEBUG]	Executed store
2023-10-13	13:28:58	3647	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36371_recovery_max_chocolate.jpg',`file_url_thumb`='bcprisme/36371_recovery_max_chocolate.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '568363'
2023-10-13	13:28:58	3647	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:58	3647	[DEBUG]	Executed store
2023-10-13	13:28:58	3647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863139','568363','1')
2023-10-13	13:28:58	3647	[DEBUG]	Store product image relation
2023-10-13	13:28:58	3647	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:58	3647	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863139 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:58	3647	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:58	3647	[DEBUG]	Executed store
2023-10-13	13:28:58	3647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863139','0','37.1402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:58	3647	[DEBUG]	Checking manufacturer
2023-10-13	13:28:58	3647	[DEBUG]	Load a row
2023-10-13	13:28:58	3647	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:58	3647	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:58	3647	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:58	3647	[DEBUG]	Executed store
2023-10-13	13:28:58	3647	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:58	3647	[DEBUG]	Manufacturer exists
2023-10-13	13:28:58	3647	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:58	3647	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:58	3647	[DEBUG]	Executed store
2023-10-13	13:28:58	3647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863139','121')
2023-10-13	13:28:58	3647	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:58	3647	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:28:58	3647	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863139 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:58	3647	[DEBUG]	Store custom available field
2023-10-13	13:28:58	3647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863139,3,'',1)
2023-10-13	13:28:58	3647	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:58	3647	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:28:58	3647	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863139 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:58	3647	[DEBUG]	Store custom available field
2023-10-13	13:28:58	3647	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863139,6,'Unitaire',3)
2023-10-13	13:28:58	3647	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:58	3647	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:28:58	3647	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863138
2023-10-13	13:28:58	3647	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:58	3647	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863138\":[1863138,8,1,\"choisir la taille\"],\"1863139\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863138
2023-10-13	13:28:58	3647	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:58	3647	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863139
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field product_sku
2023-10-13	13:28:58	3648	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field taille
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field product_name
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field category_path
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field product_price
2023-10-13	13:28:58	3648	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field product_tax
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field file_url
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:28:58	3648	[DEBUG]	Use default value for field product_desc
2023-10-13	13:28:58	3648	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field product_availability
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field product_weight
2023-10-13	13:28:58	3648	[DEBUG]	Use default value for field product_unit
2023-10-13	13:28:58	3648	[DEBUG]	Use default value for field related_products
2023-10-13	13:28:58	3648	[DEBUG]	Use default value for field product_special
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field published
2023-10-13	13:28:58	3648	[DEBUG]	Use default value for field metadesc
2023-10-13	13:28:58	3648	[DEBUG]	Use default value for field metakey
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field custom_title
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field custom_value
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field custom_param
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field override
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field public_price
2023-10-13	13:28:58	3648	[DEBUG]	Use field value for field slug
2023-10-13	13:28:58	3648	[DEBUG]	Process line 3648
2023-10-13	13:28:58	3648	[DEBUG]	Load a row
2023-10-13	13:28:58	3648	[DEBUG]	Processing item: A_7937_1
2023-10-13	13:28:58	3648	[DEBUG]	Product tax: 7.7
2023-10-13	13:28:58	3648	[DEBUG]	Processing product tax
2023-10-13	13:28:58	3648	[DEBUG]	Check if calculation rule exists
2023-10-13	13:28:58	3648	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:28:58	3648	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:28:58	3648	[DEBUG]	Query for Product
2023-10-13	13:28:58	3648	[DEBUG]	Executed store
2023-10-13	13:28:58	3648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7937_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:28:58	3648	[DEBUG]	Check product language entry
2023-10-13	13:28:58	3648	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863140
2023-10-13	13:28:58	3648	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:58	3648	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7937_1' AND `virtuemart_product_id` != 1863140
2023-10-13	13:28:58	3648	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:28:58	3648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863140, 'A_7937_1')
2023-10-13	13:28:58	3648	[DEBUG]	Check if the product slug exists
2023-10-13	13:28:58	3648	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powerbar-clean-whey-vanille-noir' AND `virtuemart_product_id` != 1863140
2023-10-13	13:28:58	3648	[DEBUG]	Query for ProductLang
2023-10-13	13:28:58	3648	[DEBUG]	Executed store
2023-10-13	13:28:58	3648	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24781500',`product_name`='POWERBAR POWERBAR CLEAN WHEY VANILLE / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powerbar-clean-whey-vanille-noir' WHERE `virtuemart_product_id` = '1863140'
2023-10-13	13:28:58	3648	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36372_powerbarf_clean_whey.jpg
2023-10-13	13:28:58	3648	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:58	3648	[DEBUG]	Process image file
2023-10-13	13:28:58	3648	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:28:58	3648	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:28:58	3648	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36372_powerbarf_clean_whey.jpg
2023-10-13	13:28:58	3648	[DEBUG]	Full name target: bcprisme/36372_powerbarf_clean_whey.jpg
2023-10-13	13:28:59	3648	[DEBUG]	Checking if the file_url exists
2023-10-13	13:28:59	3648	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36372_powerbarf_clean_whey.jpg'
2023-10-13	13:28:59	3648	[DEBUG]	Query for Media
2023-10-13	13:28:59	3648	[DEBUG]	Executed store
2023-10-13	13:28:59	3648	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36372_powerbarf_clean_whey.jpg',`file_url_thumb`='bcprisme/36372_powerbarf_clean_whey.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '568365'
2023-10-13	13:28:59	3648	[DEBUG]	Query for ProductMedia
2023-10-13	13:28:59	3648	[DEBUG]	Executed store
2023-10-13	13:28:59	3648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863140','568365','1')
2023-10-13	13:28:59	3648	[DEBUG]	Store product image relation
2023-10-13	13:28:59	3648	[DEBUG]	Finding a product_price_id
2023-10-13	13:28:59	3648	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863140 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:28:59	3648	[DEBUG]	Query for ProductPrice
2023-10-13	13:28:59	3648	[DEBUG]	Executed store
2023-10-13	13:28:59	3648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863140','0','37.1402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:28:59	3648	[DEBUG]	Checking manufacturer
2023-10-13	13:28:59	3648	[DEBUG]	Load a row
2023-10-13	13:28:59	3648	[DEBUG]	Manufacturer already exists
2023-10-13	13:28:59	3648	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:59	3648	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:28:59	3648	[DEBUG]	Executed store
2023-10-13	13:28:59	3648	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:28:59	3648	[DEBUG]	Manufacturer exists
2023-10-13	13:28:59	3648	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:28:59	3648	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:28:59	3648	[DEBUG]	Executed store
2023-10-13	13:28:59	3648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863140','121')
2023-10-13	13:28:59	3648	[DEBUG]	Find the custom field ID
2023-10-13	13:28:59	3648	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:28:59	3648	[DEBUG]	No custom field ID found
2023-10-13	13:28:59	3648	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:28:59	3648	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:28:59	3648	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863140 AND `virtuemart_custom_id` = 3
2023-10-13	13:28:59	3648	[DEBUG]	Store custom available field
2023-10-13	13:28:59	3648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863140,3,'0',1)
2023-10-13	13:28:59	3648	[DEBUG]	Processing custom available field: taille
2023-10-13	13:28:59	3648	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:28:59	3648	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863140 AND `virtuemart_custom_id` = 6
2023-10-13	13:28:59	3648	[DEBUG]	Store custom available field
2023-10-13	13:28:59	3648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863140,6,'choisir la taille',3)
2023-10-13	13:28:59	3648	[DEBUG]	Process multi-variant fields
2023-10-13	13:28:59	3648	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:28:59	3648	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:28:59	3648	[DEBUG]	Find the multi variant product entry
2023-10-13	13:28:59	3648	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863140 AND `virtuemart_custom_id` = 8
2023-10-13	13:28:59	3648	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:28:59	3648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863140,8,1)
2023-10-13	13:28:59	3648	[DEBUG]	Store the updated customfield_params
2023-10-13	13:28:59	3648	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863140\":[1863140,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863140
2023-10-13	13:28:59	3648	[DEBUG]	Checking category
2023-10-13	13:28:59	3648	[DEBUG]	Get the existing categories for the product
2023-10-13	13:28:59	3648	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863140
2023-10-13	13:28:59	3648	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:28:59	3648	[DEBUG]	Executed store
2023-10-13	13:28:59	3648	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863140','7383')
2023-10-13	13:28:59	3648	[DEBUG]	Delete leftover product categories
2023-10-13	13:28:59	3648	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863140 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:28:59	3648	[DEBUG]	Update has fields after all processing
2023-10-13	13:28:59	3648	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863140
2023-10-13	13:28:59	3649	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:00	3649	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:00	3649	[DEBUG]	Use field value for field taille
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:00	3649	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:00	3649	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:00	3649	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:00	3649	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:00	3649	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:00	3649	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:00	3649	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:00	3649	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:00	3649	[DEBUG]	Use field value for field published
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:00	3649	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field override
2023-10-13	13:29:00	3649	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:00	3649	[DEBUG]	Use field value for field slug
2023-10-13	13:29:00	3649	[DEBUG]	Process line 3649
2023-10-13	13:29:00	3649	[DEBUG]	Load a row
2023-10-13	13:29:00	3649	[DEBUG]	Processing item: 4029679670334
2023-10-13	13:29:00	3649	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:00	3649	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:00	3649	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7937_1'
2023-10-13	13:29:00	3649	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:00	3649	[DEBUG]	Processing product tax
2023-10-13	13:29:00	3649	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:00	3649	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:00	3649	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:00	3649	[DEBUG]	Query for Product
2023-10-13	13:29:00	3649	[DEBUG]	Executed store
2023-10-13	13:29:00	3649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863140','4029679670334','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:00	3649	[DEBUG]	No parent found
2023-10-13	13:29:00	3649	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863140 AND customfield_value = 'stockable'
2023-10-13	13:29:00	3649	[DEBUG]	Check product language entry
2023-10-13	13:29:00	3649	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863141
2023-10-13	13:29:00	3649	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:00	3649	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679670334' AND `virtuemart_product_id` != 1863141
2023-10-13	13:29:00	3649	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:00	3649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863141, '4029679670334')
2023-10-13	13:29:00	3649	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:00	3649	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powerbar-clean-whey-vanille-noir-unitaire' AND `virtuemart_product_id` != 1863141
2023-10-13	13:29:00	3649	[DEBUG]	Query for ProductLang
2023-10-13	13:29:00	3649	[DEBUG]	Executed store
2023-10-13	13:29:00	3649	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERBAR CLEAN WHEY VANILLE / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powerbar-clean-whey-vanille-noir-unitaire' WHERE `virtuemart_product_id` = '1863141'
2023-10-13	13:29:00	3649	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36372_powerbarf_clean_whey.jpg
2023-10-13	13:29:00	3649	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:00	3649	[DEBUG]	Process image file
2023-10-13	13:29:00	3649	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:00	3649	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:00	3649	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36372_powerbarf_clean_whey.jpg
2023-10-13	13:29:00	3649	[DEBUG]	Full name target: bcprisme/36372_powerbarf_clean_whey.jpg
2023-10-13	13:29:01	3649	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:01	3649	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36372_powerbarf_clean_whey.jpg'
2023-10-13	13:29:01	3649	[DEBUG]	Query for Media
2023-10-13	13:29:01	3649	[DEBUG]	Executed store
2023-10-13	13:29:01	3649	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36372_powerbarf_clean_whey.jpg',`file_url_thumb`='bcprisme/36372_powerbarf_clean_whey.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '568365'
2023-10-13	13:29:01	3649	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:01	3649	[DEBUG]	Executed store
2023-10-13	13:29:01	3649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863141','568365','1')
2023-10-13	13:29:01	3649	[DEBUG]	Store product image relation
2023-10-13	13:29:01	3649	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:01	3649	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863141 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:01	3649	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:01	3649	[DEBUG]	Executed store
2023-10-13	13:29:01	3649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863141','0','37.1402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:01	3649	[DEBUG]	Checking manufacturer
2023-10-13	13:29:01	3649	[DEBUG]	Load a row
2023-10-13	13:29:01	3649	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:01	3649	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:01	3649	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:01	3649	[DEBUG]	Executed store
2023-10-13	13:29:01	3649	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:01	3649	[DEBUG]	Manufacturer exists
2023-10-13	13:29:01	3649	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:01	3649	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:01	3649	[DEBUG]	Executed store
2023-10-13	13:29:01	3649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863141','121')
2023-10-13	13:29:01	3649	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:01	3649	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:01	3649	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863141 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:01	3649	[DEBUG]	Store custom available field
2023-10-13	13:29:01	3649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863141,3,'',1)
2023-10-13	13:29:01	3649	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:01	3649	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:01	3649	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863141 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:01	3649	[DEBUG]	Store custom available field
2023-10-13	13:29:01	3649	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863141,6,'Unitaire',3)
2023-10-13	13:29:01	3649	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:01	3649	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:01	3649	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863140
2023-10-13	13:29:01	3649	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:01	3649	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863140\":[1863140,8,1,\"choisir la taille\"],\"1863141\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863140
2023-10-13	13:29:01	3649	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:01	3649	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863141
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:01	3650	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field taille
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:01	3650	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:01	3650	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:01	3650	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:01	3650	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:01	3650	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:01	3650	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:01	3650	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field published
2023-10-13	13:29:01	3650	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:01	3650	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field override
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:01	3650	[DEBUG]	Use field value for field slug
2023-10-13	13:29:01	3650	[DEBUG]	Process line 3650
2023-10-13	13:29:01	3650	[DEBUG]	Load a row
2023-10-13	13:29:01	3650	[DEBUG]	Processing item: A_8204_3
2023-10-13	13:29:01	3650	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:01	3650	[DEBUG]	Processing product tax
2023-10-13	13:29:01	3650	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:01	3650	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:01	3650	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:01	3650	[DEBUG]	Query for Product
2023-10-13	13:29:01	3650	[DEBUG]	Executed store
2023-10-13	13:29:01	3650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8204_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:01	3650	[DEBUG]	Check product language entry
2023-10-13	13:29:01	3650	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863142
2023-10-13	13:29:01	3650	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:01	3650	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8204_3' AND `virtuemart_product_id` != 1863142
2023-10-13	13:29:01	3650	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:01	3650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863142, 'A_8204_3')
2023-10-13	13:29:01	3650	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:01	3650	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-hydro-orange-none' AND `virtuemart_product_id` != 1863142
2023-10-13	13:29:01	3650	[DEBUG]	Query for ProductLang
2023-10-13	13:29:01	3650	[DEBUG]	Executed store
2023-10-13	13:29:01	3650	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 22040300',`product_name`='POWERBAR POWERGEL HYDRO ORANGE / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-hydro-orange-none' WHERE `virtuemart_product_id` = '1863142'
2023-10-13	13:29:01	3650	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36785_powergel_hydro_orange.jpg
2023-10-13	13:29:01	3650	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:01	3650	[DEBUG]	Process image file
2023-10-13	13:29:01	3650	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:01	3650	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:01	3650	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36785_powergel_hydro_orange.jpg
2023-10-13	13:29:01	3650	[DEBUG]	Full name target: bcprisme/36785_powergel_hydro_orange.jpg
2023-10-13	13:29:02	3650	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:02	3650	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36785_powergel_hydro_orange.jpg'
2023-10-13	13:29:02	3650	[DEBUG]	Query for Media
2023-10-13	13:29:02	3650	[DEBUG]	Executed store
2023-10-13	13:29:02	3650	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36785_powergel_hydro_orange.jpg',`file_url_thumb`='bcprisme/36785_powergel_hydro_orange.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '788644'
2023-10-13	13:29:02	3650	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:02	3650	[DEBUG]	Executed store
2023-10-13	13:29:02	3650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863142','788644','1')
2023-10-13	13:29:02	3650	[DEBUG]	Store product image relation
2023-10-13	13:29:02	3650	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:02	3650	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863142 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:02	3650	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:02	3650	[DEBUG]	Executed store
2023-10-13	13:29:02	3650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863142','0','2.97121634168988','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:02	3650	[DEBUG]	Checking manufacturer
2023-10-13	13:29:02	3650	[DEBUG]	Load a row
2023-10-13	13:29:02	3650	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:02	3650	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:02	3650	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:02	3650	[DEBUG]	Executed store
2023-10-13	13:29:02	3650	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:02	3650	[DEBUG]	Manufacturer exists
2023-10-13	13:29:02	3650	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:02	3650	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:02	3650	[DEBUG]	Executed store
2023-10-13	13:29:02	3650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863142','121')
2023-10-13	13:29:02	3650	[DEBUG]	Find the custom field ID
2023-10-13	13:29:02	3650	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:02	3650	[DEBUG]	No custom field ID found
2023-10-13	13:29:02	3650	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:02	3650	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:02	3650	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863142 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:02	3650	[DEBUG]	Store custom available field
2023-10-13	13:29:02	3650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863142,3,'0',1)
2023-10-13	13:29:02	3650	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:02	3650	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:02	3650	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863142 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:02	3650	[DEBUG]	Store custom available field
2023-10-13	13:29:02	3650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863142,6,'choisir la taille',3)
2023-10-13	13:29:02	3650	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:02	3650	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:02	3650	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:02	3650	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:02	3650	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863142 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:02	3650	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:02	3650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863142,8,1)
2023-10-13	13:29:02	3650	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:02	3650	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863142\":[1863142,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863142
2023-10-13	13:29:02	3650	[DEBUG]	Checking category
2023-10-13	13:29:02	3650	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:02	3650	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863142
2023-10-13	13:29:02	3650	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:02	3650	[DEBUG]	Executed store
2023-10-13	13:29:02	3650	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863142','7383')
2023-10-13	13:29:02	3650	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:02	3650	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863142 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:02	3650	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:02	3650	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863142
2023-10-13	13:29:02	3651	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:02	3651	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:02	3651	[DEBUG]	Use field value for field taille
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:02	3651	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:02	3651	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:02	3651	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:02	3651	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:02	3651	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:02	3651	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:02	3651	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:02	3651	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:02	3651	[DEBUG]	Use field value for field published
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:02	3651	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field override
2023-10-13	13:29:02	3651	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:02	3651	[DEBUG]	Use field value for field slug
2023-10-13	13:29:02	3651	[DEBUG]	Process line 3651
2023-10-13	13:29:02	3651	[DEBUG]	Load a row
2023-10-13	13:29:02	3651	[DEBUG]	Processing item: 4029679672673
2023-10-13	13:29:02	3651	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:02	3651	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:02	3651	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8204_3'
2023-10-13	13:29:02	3651	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:02	3651	[DEBUG]	Processing product tax
2023-10-13	13:29:02	3651	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:02	3651	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:02	3651	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:02	3651	[DEBUG]	Query for Product
2023-10-13	13:29:02	3651	[DEBUG]	Executed store
2023-10-13	13:29:02	3651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863142','4029679672673','0','KG','M','','35','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:02	3651	[DEBUG]	No parent found
2023-10-13	13:29:02	3651	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863142 AND customfield_value = 'stockable'
2023-10-13	13:29:02	3651	[DEBUG]	Check product language entry
2023-10-13	13:29:02	3651	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863143
2023-10-13	13:29:02	3651	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:02	3651	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679672673' AND `virtuemart_product_id` != 1863143
2023-10-13	13:29:02	3651	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:02	3651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863143, '4029679672673')
2023-10-13	13:29:02	3651	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:02	3651	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-hydro-orange-none-unitaire' AND `virtuemart_product_id` != 1863143
2023-10-13	13:29:02	3651	[DEBUG]	Query for ProductLang
2023-10-13	13:29:02	3651	[DEBUG]	Executed store
2023-10-13	13:29:02	3651	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERGEL HYDRO ORANGE / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-hydro-orange-none-unitaire' WHERE `virtuemart_product_id` = '1863143'
2023-10-13	13:29:02	3651	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36785_powergel_hydro_orange.jpg
2023-10-13	13:29:02	3651	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:02	3651	[DEBUG]	Process image file
2023-10-13	13:29:02	3651	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:02	3651	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:02	3651	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36785_powergel_hydro_orange.jpg
2023-10-13	13:29:02	3651	[DEBUG]	Full name target: bcprisme/36785_powergel_hydro_orange.jpg
2023-10-13	13:29:03	3651	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:03	3651	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36785_powergel_hydro_orange.jpg'
2023-10-13	13:29:03	3651	[DEBUG]	Query for Media
2023-10-13	13:29:03	3651	[DEBUG]	Executed store
2023-10-13	13:29:03	3651	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36785_powergel_hydro_orange.jpg',`file_url_thumb`='bcprisme/36785_powergel_hydro_orange.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '788644'
2023-10-13	13:29:03	3651	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:03	3651	[DEBUG]	Executed store
2023-10-13	13:29:03	3651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863143','788644','1')
2023-10-13	13:29:03	3651	[DEBUG]	Store product image relation
2023-10-13	13:29:03	3651	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:03	3651	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863143 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:03	3651	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:03	3651	[DEBUG]	Executed store
2023-10-13	13:29:03	3651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863143','0','2.97121634168988','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:03	3651	[DEBUG]	Checking manufacturer
2023-10-13	13:29:03	3651	[DEBUG]	Load a row
2023-10-13	13:29:03	3651	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:03	3651	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:03	3651	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:03	3651	[DEBUG]	Executed store
2023-10-13	13:29:03	3651	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:03	3651	[DEBUG]	Manufacturer exists
2023-10-13	13:29:03	3651	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:03	3651	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:03	3651	[DEBUG]	Executed store
2023-10-13	13:29:03	3651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863143','121')
2023-10-13	13:29:03	3651	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:03	3651	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:03	3651	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863143 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:03	3651	[DEBUG]	Store custom available field
2023-10-13	13:29:03	3651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863143,3,'',1)
2023-10-13	13:29:03	3651	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:03	3651	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:03	3651	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863143 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:03	3651	[DEBUG]	Store custom available field
2023-10-13	13:29:03	3651	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863143,6,'Unitaire',3)
2023-10-13	13:29:03	3651	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:03	3651	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:03	3651	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863142
2023-10-13	13:29:03	3651	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:03	3651	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863142\":[1863142,8,1,\"choisir la taille\"],\"1863143\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863142
2023-10-13	13:29:03	3651	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:03	3651	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863143
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:03	3652	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field taille
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:03	3652	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:03	3652	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:03	3652	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:03	3652	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:03	3652	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:03	3652	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:03	3652	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field published
2023-10-13	13:29:03	3652	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:03	3652	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field override
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:03	3652	[DEBUG]	Use field value for field slug
2023-10-13	13:29:03	3652	[DEBUG]	Process line 3652
2023-10-13	13:29:03	3652	[DEBUG]	Load a row
2023-10-13	13:29:03	3652	[DEBUG]	Processing item: A_8205_3
2023-10-13	13:29:03	3652	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:03	3652	[DEBUG]	Processing product tax
2023-10-13	13:29:03	3652	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:03	3652	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:03	3652	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:03	3652	[DEBUG]	Query for Product
2023-10-13	13:29:03	3652	[DEBUG]	Executed store
2023-10-13	13:29:03	3652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8205_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:03	3652	[DEBUG]	Check product language entry
2023-10-13	13:29:03	3652	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863144
2023-10-13	13:29:03	3652	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:03	3652	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8205_3' AND `virtuemart_product_id` != 1863144
2023-10-13	13:29:03	3652	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:03	3652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863144, 'A_8205_3')
2023-10-13	13:29:03	3652	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:03	3652	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-original-tropical-fruit-none' AND `virtuemart_product_id` != 1863144
2023-10-13	13:29:03	3652	[DEBUG]	Query for ProductLang
2023-10-13	13:29:03	3652	[DEBUG]	Executed store
2023-10-13	13:29:03	3652	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 22010800',`product_name`='POWERBAR POWERGEL ORIGINAL TROPICAL FRUIT / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-original-tropical-fruit-none' WHERE `virtuemart_product_id` = '1863144'
2023-10-13	13:29:03	3652	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36786_powergel_original_tropical_fruit.jpg
2023-10-13	13:29:03	3652	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:29:03	3652	[DEBUG]	Process image file
2023-10-13	13:29:03	3652	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:29:03	3652	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:03	3652	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36786_powergel_original_tropical_fruit.jpg
2023-10-13	13:29:03	3652	[DEBUG]	Full name target: bcprisme/36786_powergel_original_tropical_fruit.jpg
2023-10-13	13:29:04	3652	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:04	3652	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36786_powergel_original_tropical_fruit.jpg'
2023-10-13	13:29:04	3652	[DEBUG]	Query for Media
2023-10-13	13:29:04	3652	[DEBUG]	Executed store
2023-10-13	13:29:04	3652	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36786_powergel_original_tropical_fruit.jpg',`file_url_thumb`='bcprisme/36786_powergel_original_tropical_fruit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '788646'
2023-10-13	13:29:04	3652	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:04	3652	[DEBUG]	Executed store
2023-10-13	13:29:04	3652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863144','788646','1')
2023-10-13	13:29:04	3652	[DEBUG]	Store product image relation
2023-10-13	13:29:04	3652	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:04	3652	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863144 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:04	3652	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:04	3652	[DEBUG]	Executed store
2023-10-13	13:29:04	3652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863144','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:04	3652	[DEBUG]	Checking manufacturer
2023-10-13	13:29:04	3652	[DEBUG]	Load a row
2023-10-13	13:29:04	3652	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:04	3652	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:04	3652	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:04	3652	[DEBUG]	Executed store
2023-10-13	13:29:04	3652	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:04	3652	[DEBUG]	Manufacturer exists
2023-10-13	13:29:04	3652	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:04	3652	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:04	3652	[DEBUG]	Executed store
2023-10-13	13:29:04	3652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863144','121')
2023-10-13	13:29:04	3652	[DEBUG]	Find the custom field ID
2023-10-13	13:29:04	3652	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:04	3652	[DEBUG]	No custom field ID found
2023-10-13	13:29:04	3652	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:04	3652	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:04	3652	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863144 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:04	3652	[DEBUG]	Store custom available field
2023-10-13	13:29:04	3652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863144,3,'0',1)
2023-10-13	13:29:04	3652	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:04	3652	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:04	3652	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863144 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:04	3652	[DEBUG]	Store custom available field
2023-10-13	13:29:04	3652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863144,6,'choisir la taille',3)
2023-10-13	13:29:04	3652	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:04	3652	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:04	3652	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:04	3652	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:04	3652	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863144 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:04	3652	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:04	3652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863144,8,1)
2023-10-13	13:29:04	3652	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:04	3652	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863144\":[1863144,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863144
2023-10-13	13:29:04	3652	[DEBUG]	Checking category
2023-10-13	13:29:04	3652	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:04	3652	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863144
2023-10-13	13:29:04	3652	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:04	3652	[DEBUG]	Executed store
2023-10-13	13:29:04	3652	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863144','7383')
2023-10-13	13:29:04	3652	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:04	3652	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863144 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:04	3652	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:04	3652	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863144
2023-10-13	13:29:04	3653	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:04	3653	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:04	3653	[DEBUG]	Use field value for field taille
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:04	3653	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:04	3653	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:04	3653	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:04	3653	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:04	3653	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:04	3653	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:04	3653	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:04	3653	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:04	3653	[DEBUG]	Use field value for field published
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:04	3653	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field override
2023-10-13	13:29:04	3653	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:04	3653	[DEBUG]	Use field value for field slug
2023-10-13	13:29:04	3653	[DEBUG]	Process line 3653
2023-10-13	13:29:04	3653	[DEBUG]	Load a row
2023-10-13	13:29:04	3653	[DEBUG]	Processing item: 4029679672574
2023-10-13	13:29:04	3653	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:04	3653	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:04	3653	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8205_3'
2023-10-13	13:29:04	3653	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:04	3653	[DEBUG]	Processing product tax
2023-10-13	13:29:04	3653	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:04	3653	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:04	3653	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:04	3653	[DEBUG]	Query for Product
2023-10-13	13:29:04	3653	[DEBUG]	Executed store
2023-10-13	13:29:04	3653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863144','4029679672574','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:04	3653	[DEBUG]	No parent found
2023-10-13	13:29:04	3653	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863144 AND customfield_value = 'stockable'
2023-10-13	13:29:04	3653	[DEBUG]	Check product language entry
2023-10-13	13:29:04	3653	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863145
2023-10-13	13:29:04	3653	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:04	3653	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679672574' AND `virtuemart_product_id` != 1863145
2023-10-13	13:29:04	3653	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:04	3653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863145, '4029679672574')
2023-10-13	13:29:04	3653	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:04	3653	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-powergel-original-tropical-fruit-none-unitaire' AND `virtuemart_product_id` != 1863145
2023-10-13	13:29:04	3653	[DEBUG]	Query for ProductLang
2023-10-13	13:29:04	3653	[DEBUG]	Executed store
2023-10-13	13:29:04	3653	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR POWERGEL ORIGINAL TROPICAL FRUIT / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-powergel-original-tropical-fruit-none-unitaire' WHERE `virtuemart_product_id` = '1863145'
2023-10-13	13:29:04	3653	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36786_powergel_original_tropical_fruit.jpg
2023-10-13	13:29:04	3653	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:29:04	3653	[DEBUG]	Process image file
2023-10-13	13:29:04	3653	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:29:04	3653	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:04	3653	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36786_powergel_original_tropical_fruit.jpg
2023-10-13	13:29:04	3653	[DEBUG]	Full name target: bcprisme/36786_powergel_original_tropical_fruit.jpg
2023-10-13	13:29:05	3653	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:05	3653	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36786_powergel_original_tropical_fruit.jpg'
2023-10-13	13:29:05	3653	[DEBUG]	Query for Media
2023-10-13	13:29:05	3653	[DEBUG]	Executed store
2023-10-13	13:29:05	3653	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36786_powergel_original_tropical_fruit.jpg',`file_url_thumb`='bcprisme/36786_powergel_original_tropical_fruit.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '788646'
2023-10-13	13:29:05	3653	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:05	3653	[DEBUG]	Executed store
2023-10-13	13:29:05	3653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863145','788646','1')
2023-10-13	13:29:05	3653	[DEBUG]	Store product image relation
2023-10-13	13:29:05	3653	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:05	3653	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863145 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:05	3653	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:05	3653	[DEBUG]	Executed store
2023-10-13	13:29:05	3653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863145','0','2.78551532033426','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:05	3653	[DEBUG]	Checking manufacturer
2023-10-13	13:29:05	3653	[DEBUG]	Load a row
2023-10-13	13:29:05	3653	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:05	3653	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:05	3653	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:05	3653	[DEBUG]	Executed store
2023-10-13	13:29:05	3653	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:05	3653	[DEBUG]	Manufacturer exists
2023-10-13	13:29:05	3653	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:05	3653	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:05	3653	[DEBUG]	Executed store
2023-10-13	13:29:05	3653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863145','121')
2023-10-13	13:29:05	3653	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:05	3653	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:05	3653	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863145 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:05	3653	[DEBUG]	Store custom available field
2023-10-13	13:29:05	3653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863145,3,'',1)
2023-10-13	13:29:05	3653	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:05	3653	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:05	3653	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863145 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:05	3653	[DEBUG]	Store custom available field
2023-10-13	13:29:05	3653	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863145,6,'Unitaire',3)
2023-10-13	13:29:05	3653	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:05	3653	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:05	3653	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863144
2023-10-13	13:29:05	3653	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:05	3653	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863144\":[1863144,8,1,\"choisir la taille\"],\"1863145\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863144
2023-10-13	13:29:05	3653	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:05	3653	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863145
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:05	3654	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field taille
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:05	3654	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:05	3654	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:05	3654	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:05	3654	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:05	3654	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:05	3654	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:05	3654	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field published
2023-10-13	13:29:05	3654	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:05	3654	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field override
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:05	3654	[DEBUG]	Use field value for field slug
2023-10-13	13:29:05	3654	[DEBUG]	Process line 3654
2023-10-13	13:29:05	3654	[DEBUG]	Load a row
2023-10-13	13:29:05	3654	[DEBUG]	Processing item: A_8790_3
2023-10-13	13:29:05	3654	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:05	3654	[DEBUG]	Processing product tax
2023-10-13	13:29:05	3654	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:05	3654	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:05	3654	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:05	3654	[DEBUG]	Query for Product
2023-10-13	13:29:05	3654	[DEBUG]	Executed store
2023-10-13	13:29:05	3654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8790_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:05	3654	[DEBUG]	Check product language entry
2023-10-13	13:29:05	3654	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863146
2023-10-13	13:29:05	3654	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:05	3654	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8790_3' AND `virtuemart_product_id` != 1863146
2023-10-13	13:29:05	3654	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:05	3654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863146, 'A_8790_3')
2023-10-13	13:29:05	3654	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:05	3654	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-energize-original-berry-none' AND `virtuemart_product_id` != 1863146
2023-10-13	13:29:05	3654	[DEBUG]	Query for ProductLang
2023-10-13	13:29:05	3654	[DEBUG]	Executed store
2023-10-13	13:29:05	3654	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 21012000',`product_name`='POWERBAR Barre ENERGIZE Original Berry / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-energize-original-berry-none' WHERE `virtuemart_product_id` = '1863146'
2023-10-13	13:29:05	3654	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37770_barre_energize_original_berry.jpg
2023-10-13	13:29:05	3654	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:29:05	3654	[DEBUG]	Process image file
2023-10-13	13:29:05	3654	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:29:05	3654	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:05	3654	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37770_barre_energize_original_berry.jpg
2023-10-13	13:29:05	3654	[DEBUG]	Full name target: bcprisme/37770_barre_energize_original_berry.jpg
2023-10-13	13:29:06	3654	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:06	3654	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37770_barre_energize_original_berry.jpg'
2023-10-13	13:29:06	3654	[DEBUG]	Query for Media
2023-10-13	13:29:06	3654	[DEBUG]	Executed store
2023-10-13	13:29:06	3654	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37770_barre_energize_original_berry.jpg',`file_url_thumb`='bcprisme/37770_barre_energize_original_berry.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1091865'
2023-10-13	13:29:06	3654	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:06	3654	[DEBUG]	Executed store
2023-10-13	13:29:06	3654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863146','1091865','1')
2023-10-13	13:29:06	3654	[DEBUG]	Store product image relation
2023-10-13	13:29:06	3654	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:06	3654	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863146 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:06	3654	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:06	3654	[DEBUG]	Executed store
2023-10-13	13:29:06	3654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863146','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:06	3654	[DEBUG]	Checking manufacturer
2023-10-13	13:29:06	3654	[DEBUG]	Load a row
2023-10-13	13:29:06	3654	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:06	3654	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:06	3654	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:06	3654	[DEBUG]	Executed store
2023-10-13	13:29:06	3654	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:06	3654	[DEBUG]	Manufacturer exists
2023-10-13	13:29:06	3654	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:06	3654	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:06	3654	[DEBUG]	Executed store
2023-10-13	13:29:06	3654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863146','121')
2023-10-13	13:29:06	3654	[DEBUG]	Find the custom field ID
2023-10-13	13:29:06	3654	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:06	3654	[DEBUG]	No custom field ID found
2023-10-13	13:29:06	3654	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:06	3654	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:06	3654	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863146 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:06	3654	[DEBUG]	Store custom available field
2023-10-13	13:29:06	3654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863146,3,'0',1)
2023-10-13	13:29:06	3654	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:06	3654	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:06	3654	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863146 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:06	3654	[DEBUG]	Store custom available field
2023-10-13	13:29:06	3654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863146,6,'choisir la taille',3)
2023-10-13	13:29:06	3654	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:06	3654	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:06	3654	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:06	3654	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:06	3654	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863146 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:06	3654	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:06	3654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863146,8,1)
2023-10-13	13:29:06	3654	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:06	3654	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863146\":[1863146,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863146
2023-10-13	13:29:06	3654	[DEBUG]	Checking category
2023-10-13	13:29:06	3654	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:06	3654	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863146
2023-10-13	13:29:06	3654	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:06	3654	[DEBUG]	Executed store
2023-10-13	13:29:06	3654	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863146','7383')
2023-10-13	13:29:06	3654	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:06	3654	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863146 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:06	3654	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:06	3654	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863146
2023-10-13	13:29:06	3655	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:06	3655	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:06	3655	[DEBUG]	Use field value for field taille
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:06	3655	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:06	3655	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:06	3655	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:06	3655	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:06	3655	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:06	3655	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:06	3655	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:06	3655	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:06	3655	[DEBUG]	Use field value for field published
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:06	3655	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field override
2023-10-13	13:29:06	3655	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:06	3655	[DEBUG]	Use field value for field slug
2023-10-13	13:29:06	3655	[DEBUG]	Process line 3655
2023-10-13	13:29:06	3655	[DEBUG]	Load a row
2023-10-13	13:29:06	3655	[DEBUG]	Processing item: 4029679679399
2023-10-13	13:29:06	3655	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:06	3655	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:06	3655	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8790_3'
2023-10-13	13:29:06	3655	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:06	3655	[DEBUG]	Processing product tax
2023-10-13	13:29:06	3655	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:06	3655	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:06	3655	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:06	3655	[DEBUG]	Query for Product
2023-10-13	13:29:06	3655	[DEBUG]	Executed store
2023-10-13	13:29:06	3655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863146','4029679679399','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:06	3655	[DEBUG]	No parent found
2023-10-13	13:29:06	3655	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863146 AND customfield_value = 'stockable'
2023-10-13	13:29:06	3655	[DEBUG]	Check product language entry
2023-10-13	13:29:06	3655	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863147
2023-10-13	13:29:06	3655	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:06	3655	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679679399' AND `virtuemart_product_id` != 1863147
2023-10-13	13:29:06	3655	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:06	3655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863147, '4029679679399')
2023-10-13	13:29:06	3655	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:06	3655	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-energize-original-berry-none-unitaire' AND `virtuemart_product_id` != 1863147
2023-10-13	13:29:06	3655	[DEBUG]	Query for ProductLang
2023-10-13	13:29:06	3655	[DEBUG]	Executed store
2023-10-13	13:29:06	3655	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Barre ENERGIZE Original Berry / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-energize-original-berry-none-unitaire' WHERE `virtuemart_product_id` = '1863147'
2023-10-13	13:29:06	3655	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37770_barre_energize_original_berry.jpg
2023-10-13	13:29:06	3655	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:29:06	3655	[DEBUG]	Process image file
2023-10-13	13:29:06	3655	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:29:06	3655	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:06	3655	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37770_barre_energize_original_berry.jpg
2023-10-13	13:29:06	3655	[DEBUG]	Full name target: bcprisme/37770_barre_energize_original_berry.jpg
2023-10-13	13:29:07	3655	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:07	3655	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37770_barre_energize_original_berry.jpg'
2023-10-13	13:29:07	3655	[DEBUG]	Query for Media
2023-10-13	13:29:07	3655	[DEBUG]	Executed store
2023-10-13	13:29:07	3655	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37770_barre_energize_original_berry.jpg',`file_url_thumb`='bcprisme/37770_barre_energize_original_berry.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1091865'
2023-10-13	13:29:07	3655	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:07	3655	[DEBUG]	Executed store
2023-10-13	13:29:07	3655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863147','1091865','1')
2023-10-13	13:29:07	3655	[DEBUG]	Store product image relation
2023-10-13	13:29:07	3655	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:07	3655	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863147 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:07	3655	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:07	3655	[DEBUG]	Executed store
2023-10-13	13:29:07	3655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863147','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:07	3655	[DEBUG]	Checking manufacturer
2023-10-13	13:29:07	3655	[DEBUG]	Load a row
2023-10-13	13:29:07	3655	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:07	3655	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:07	3655	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:07	3655	[DEBUG]	Executed store
2023-10-13	13:29:07	3655	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:07	3655	[DEBUG]	Manufacturer exists
2023-10-13	13:29:07	3655	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:07	3655	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:07	3655	[DEBUG]	Executed store
2023-10-13	13:29:07	3655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863147','121')
2023-10-13	13:29:07	3655	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:07	3655	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:07	3655	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863147 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:07	3655	[DEBUG]	Store custom available field
2023-10-13	13:29:07	3655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863147,3,'',1)
2023-10-13	13:29:07	3655	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:07	3655	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:07	3655	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863147 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:07	3655	[DEBUG]	Store custom available field
2023-10-13	13:29:07	3655	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863147,6,'Unitaire',3)
2023-10-13	13:29:07	3655	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:07	3655	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:07	3655	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863146
2023-10-13	13:29:07	3655	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:07	3655	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863146\":[1863146,8,1,\"choisir la taille\"],\"1863147\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863146
2023-10-13	13:29:07	3655	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:07	3655	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863147
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:07	3656	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field taille
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:07	3656	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:07	3656	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:07	3656	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:07	3656	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:07	3656	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:07	3656	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:07	3656	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field published
2023-10-13	13:29:07	3656	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:07	3656	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field override
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:07	3656	[DEBUG]	Use field value for field slug
2023-10-13	13:29:07	3656	[DEBUG]	Process line 3656
2023-10-13	13:29:07	3656	[DEBUG]	Load a row
2023-10-13	13:29:07	3656	[DEBUG]	Processing item: A_8791_3
2023-10-13	13:29:07	3656	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:07	3656	[DEBUG]	Processing product tax
2023-10-13	13:29:07	3656	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:07	3656	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:07	3656	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:07	3656	[DEBUG]	Query for Product
2023-10-13	13:29:07	3656	[DEBUG]	Executed store
2023-10-13	13:29:07	3656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8791_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:07	3656	[DEBUG]	Check product language entry
2023-10-13	13:29:07	3656	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863148
2023-10-13	13:29:07	3656	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:07	3656	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8791_3' AND `virtuemart_product_id` != 1863148
2023-10-13	13:29:07	3656	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:07	3656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863148, 'A_8791_3')
2023-10-13	13:29:07	3656	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:07	3656	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-energize-original-banana-punch-none' AND `virtuemart_product_id` != 1863148
2023-10-13	13:29:07	3656	[DEBUG]	Query for ProductLang
2023-10-13	13:29:07	3656	[DEBUG]	Executed store
2023-10-13	13:29:07	3656	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 21012000',`product_name`='POWERBAR Barre ENERGIZE Original Banana Punch / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-energize-original-banana-punch-none' WHERE `virtuemart_product_id` = '1863148'
2023-10-13	13:29:07	3656	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37771_barre_energize_original_banana_punch.jpg
2023-10-13	13:29:07	3656	[DEBUG]	Identity string: ffd8ffe000144a46494600010101012c012c0000
2023-10-13	13:29:07	3656	[DEBUG]	Process image file
2023-10-13	13:29:07	3656	[DEBUG]	Identity string: ffd8ffe000144a46494600010101012c012c0000
2023-10-13	13:29:07	3656	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:07	3656	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37771_barre_energize_original_banana_punch.jpg
2023-10-13	13:29:07	3656	[DEBUG]	Full name target: bcprisme/37771_barre_energize_original_banana_punch.jpg
2023-10-13	13:29:08	3656	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:08	3656	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37771_barre_energize_original_banana_punch.jpg'
2023-10-13	13:29:08	3656	[DEBUG]	Query for Media
2023-10-13	13:29:08	3656	[DEBUG]	Executed store
2023-10-13	13:29:08	3656	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37771_barre_energize_original_banana_punch.jpg',`file_url_thumb`='bcprisme/37771_barre_energize_original_banana_punch.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1091867'
2023-10-13	13:29:08	3656	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:08	3656	[DEBUG]	Executed store
2023-10-13	13:29:08	3656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863148','1091867','1')
2023-10-13	13:29:08	3656	[DEBUG]	Store product image relation
2023-10-13	13:29:08	3656	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:08	3656	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863148 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:08	3656	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:08	3656	[DEBUG]	Executed store
2023-10-13	13:29:08	3656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863148','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:08	3656	[DEBUG]	Checking manufacturer
2023-10-13	13:29:08	3656	[DEBUG]	Load a row
2023-10-13	13:29:08	3656	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:08	3656	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:08	3656	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:08	3656	[DEBUG]	Executed store
2023-10-13	13:29:08	3656	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:08	3656	[DEBUG]	Manufacturer exists
2023-10-13	13:29:08	3656	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:08	3656	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:08	3656	[DEBUG]	Executed store
2023-10-13	13:29:08	3656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863148','121')
2023-10-13	13:29:08	3656	[DEBUG]	Find the custom field ID
2023-10-13	13:29:08	3656	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:08	3656	[DEBUG]	No custom field ID found
2023-10-13	13:29:08	3656	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:08	3656	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:08	3656	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863148 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:08	3656	[DEBUG]	Store custom available field
2023-10-13	13:29:08	3656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863148,3,'0',1)
2023-10-13	13:29:08	3656	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:08	3656	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:08	3656	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863148 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:08	3656	[DEBUG]	Store custom available field
2023-10-13	13:29:08	3656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863148,6,'choisir la taille',3)
2023-10-13	13:29:08	3656	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:08	3656	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:08	3656	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:08	3656	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:08	3656	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863148 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:08	3656	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:08	3656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863148,8,1)
2023-10-13	13:29:08	3656	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:08	3656	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863148\":[1863148,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863148
2023-10-13	13:29:08	3656	[DEBUG]	Checking category
2023-10-13	13:29:08	3656	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:08	3656	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863148
2023-10-13	13:29:08	3656	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:08	3656	[DEBUG]	Executed store
2023-10-13	13:29:08	3656	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863148','7383')
2023-10-13	13:29:08	3656	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:08	3656	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863148 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:08	3656	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:08	3656	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863148
2023-10-13	13:29:08	3657	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:08	3657	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:08	3657	[DEBUG]	Use field value for field taille
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:08	3657	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:08	3657	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:08	3657	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:08	3657	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:08	3657	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:08	3657	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:08	3657	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:08	3657	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:08	3657	[DEBUG]	Use field value for field published
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:08	3657	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field override
2023-10-13	13:29:08	3657	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:08	3657	[DEBUG]	Use field value for field slug
2023-10-13	13:29:08	3657	[DEBUG]	Process line 3657
2023-10-13	13:29:08	3657	[DEBUG]	Load a row
2023-10-13	13:29:08	3657	[DEBUG]	Processing item: 4029679679382
2023-10-13	13:29:08	3657	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:08	3657	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:08	3657	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8791_3'
2023-10-13	13:29:08	3657	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:08	3657	[DEBUG]	Processing product tax
2023-10-13	13:29:08	3657	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:08	3657	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:08	3657	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:08	3657	[DEBUG]	Query for Product
2023-10-13	13:29:08	3657	[DEBUG]	Executed store
2023-10-13	13:29:08	3657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863148','4029679679382','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:08	3657	[DEBUG]	No parent found
2023-10-13	13:29:08	3657	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863148 AND customfield_value = 'stockable'
2023-10-13	13:29:08	3657	[DEBUG]	Check product language entry
2023-10-13	13:29:08	3657	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863149
2023-10-13	13:29:08	3657	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:08	3657	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679679382' AND `virtuemart_product_id` != 1863149
2023-10-13	13:29:08	3657	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:08	3657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863149, '4029679679382')
2023-10-13	13:29:08	3657	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:08	3657	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-energize-original-banana-punch-none-unitaire' AND `virtuemart_product_id` != 1863149
2023-10-13	13:29:08	3657	[DEBUG]	Query for ProductLang
2023-10-13	13:29:08	3657	[DEBUG]	Executed store
2023-10-13	13:29:08	3657	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Barre ENERGIZE Original Banana Punch / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-energize-original-banana-punch-none-unitaire' WHERE `virtuemart_product_id` = '1863149'
2023-10-13	13:29:08	3657	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37771_barre_energize_original_banana_punch.jpg
2023-10-13	13:29:08	3657	[DEBUG]	Identity string: ffd8ffe000144a46494600010101012c012c0000
2023-10-13	13:29:08	3657	[DEBUG]	Process image file
2023-10-13	13:29:08	3657	[DEBUG]	Identity string: ffd8ffe000144a46494600010101012c012c0000
2023-10-13	13:29:08	3657	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:08	3657	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37771_barre_energize_original_banana_punch.jpg
2023-10-13	13:29:08	3657	[DEBUG]	Full name target: bcprisme/37771_barre_energize_original_banana_punch.jpg
2023-10-13	13:29:09	3657	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:09	3657	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37771_barre_energize_original_banana_punch.jpg'
2023-10-13	13:29:09	3657	[DEBUG]	Query for Media
2023-10-13	13:29:09	3657	[DEBUG]	Executed store
2023-10-13	13:29:09	3657	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37771_barre_energize_original_banana_punch.jpg',`file_url_thumb`='bcprisme/37771_barre_energize_original_banana_punch.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1091867'
2023-10-13	13:29:09	3657	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:09	3657	[DEBUG]	Executed store
2023-10-13	13:29:09	3657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863149','1091867','1')
2023-10-13	13:29:09	3657	[DEBUG]	Store product image relation
2023-10-13	13:29:09	3657	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:09	3657	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863149 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:09	3657	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:09	3657	[DEBUG]	Executed store
2023-10-13	13:29:09	3657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863149','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:09	3657	[DEBUG]	Checking manufacturer
2023-10-13	13:29:09	3657	[DEBUG]	Load a row
2023-10-13	13:29:09	3657	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:09	3657	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:09	3657	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:09	3657	[DEBUG]	Executed store
2023-10-13	13:29:09	3657	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:09	3657	[DEBUG]	Manufacturer exists
2023-10-13	13:29:09	3657	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:09	3657	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:09	3657	[DEBUG]	Executed store
2023-10-13	13:29:09	3657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863149','121')
2023-10-13	13:29:09	3657	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:09	3657	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:09	3657	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863149 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:09	3657	[DEBUG]	Store custom available field
2023-10-13	13:29:09	3657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863149,3,'',1)
2023-10-13	13:29:09	3657	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:09	3657	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:09	3657	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863149 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:09	3657	[DEBUG]	Store custom available field
2023-10-13	13:29:09	3657	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863149,6,'Unitaire',3)
2023-10-13	13:29:09	3657	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:09	3657	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:09	3657	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863148
2023-10-13	13:29:09	3657	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:09	3657	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863148\":[1863148,8,1,\"choisir la taille\"],\"1863149\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863148
2023-10-13	13:29:09	3657	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:09	3657	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863149
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:09	3658	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field taille
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:09	3658	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:09	3658	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:09	3658	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:09	3658	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:09	3658	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:09	3658	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field published
2023-10-13	13:29:09	3658	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:09	3658	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field override
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:09	3658	[DEBUG]	Use field value for field slug
2023-10-13	13:29:09	3658	[DEBUG]	Process line 3658
2023-10-13	13:29:09	3658	[DEBUG]	Load a row
2023-10-13	13:29:09	3658	[DEBUG]	Processing item: A_9500_3
2023-10-13	13:29:09	3658	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:09	3658	[DEBUG]	Processing product tax
2023-10-13	13:29:09	3658	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:09	3658	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:09	3658	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:09	3658	[DEBUG]	Query for Product
2023-10-13	13:29:09	3658	[DEBUG]	Executed store
2023-10-13	13:29:09	3658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9500_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:09	3658	[DEBUG]	Check product language entry
2023-10-13	13:29:09	3658	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863150
2023-10-13	13:29:09	3658	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:09	3658	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9500_3' AND `virtuemart_product_id` != 1863150
2023-10-13	13:29:09	3658	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:09	3658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863150, 'A_9500_3')
2023-10-13	13:29:09	3658	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:09	3658	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-high-protein-shake-creamy-vanilla-none' AND `virtuemart_product_id` != 1863150
2023-10-13	13:29:09	3658	[DEBUG]	Query for ProductLang
2023-10-13	13:29:09	3658	[DEBUG]	Executed store
2023-10-13	13:29:09	3658	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 23410904',`product_name`='POWERBAR HIGH PROTEIN SHAKE CREAMY VANILLA / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-high-protein-shake-creamy-vanilla-none' WHERE `virtuemart_product_id` = '1863150'
2023-10-13	13:29:09	3658	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38787_high_protein_shake_creamy_vanilla.png
2023-10-13	13:29:09	3658	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:29:09	3658	[DEBUG]	Process image file
2023-10-13	13:29:09	3658	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:29:09	3658	[DEBUG]	Mime type found: image/png
2023-10-13	13:29:09	3658	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38787_high_protein_shake_creamy_vanilla.png
2023-10-13	13:29:09	3658	[DEBUG]	Full name target: bcprisme/38787_high_protein_shake_creamy_vanilla.png
2023-10-13	13:29:10	3658	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:10	3658	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38787_high_protein_shake_creamy_vanilla.png'
2023-10-13	13:29:10	3658	[DEBUG]	Query for Media
2023-10-13	13:29:10	3658	[DEBUG]	Executed store
2023-10-13	13:29:10	3658	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38787_high_protein_shake_creamy_vanilla.png',`file_url_thumb`='bcprisme/38787_high_protein_shake_creamy_vanilla.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1435209'
2023-10-13	13:29:10	3658	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:10	3658	[DEBUG]	Executed store
2023-10-13	13:29:10	3658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863150','1435209','1')
2023-10-13	13:29:10	3658	[DEBUG]	Store product image relation
2023-10-13	13:29:10	3658	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:10	3658	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863150 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:10	3658	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:10	3658	[DEBUG]	Executed store
2023-10-13	13:29:10	3658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863150','0','3.2033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:10	3658	[DEBUG]	Checking manufacturer
2023-10-13	13:29:10	3658	[DEBUG]	Load a row
2023-10-13	13:29:10	3658	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:10	3658	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:10	3658	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:10	3658	[DEBUG]	Executed store
2023-10-13	13:29:10	3658	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:10	3658	[DEBUG]	Manufacturer exists
2023-10-13	13:29:10	3658	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:10	3658	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:10	3658	[DEBUG]	Executed store
2023-10-13	13:29:10	3658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863150','121')
2023-10-13	13:29:10	3658	[DEBUG]	Find the custom field ID
2023-10-13	13:29:10	3658	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:10	3658	[DEBUG]	No custom field ID found
2023-10-13	13:29:10	3658	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:10	3658	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:10	3658	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863150 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:10	3658	[DEBUG]	Store custom available field
2023-10-13	13:29:10	3658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863150,3,'0',1)
2023-10-13	13:29:10	3658	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:10	3658	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:10	3658	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863150 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:10	3658	[DEBUG]	Store custom available field
2023-10-13	13:29:10	3658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863150,6,'choisir la taille',3)
2023-10-13	13:29:10	3658	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:10	3658	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:10	3658	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:10	3658	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:10	3658	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863150 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:10	3658	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:10	3658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863150,8,1)
2023-10-13	13:29:10	3658	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:10	3658	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863150\":[1863150,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863150
2023-10-13	13:29:10	3658	[DEBUG]	Checking category
2023-10-13	13:29:10	3658	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:10	3658	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863150
2023-10-13	13:29:10	3658	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:10	3658	[DEBUG]	Executed store
2023-10-13	13:29:10	3658	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863150','7383')
2023-10-13	13:29:10	3658	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:10	3658	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863150 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:10	3658	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:10	3658	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863150
2023-10-13	13:29:10	3659	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:10	3659	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:10	3659	[DEBUG]	Use field value for field taille
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:10	3659	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:10	3659	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:10	3659	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:10	3659	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:10	3659	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:10	3659	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:10	3659	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:10	3659	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:10	3659	[DEBUG]	Use field value for field published
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:10	3659	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field override
2023-10-13	13:29:10	3659	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:10	3659	[DEBUG]	Use field value for field slug
2023-10-13	13:29:10	3659	[DEBUG]	Process line 3659
2023-10-13	13:29:10	3659	[DEBUG]	Load a row
2023-10-13	13:29:10	3659	[DEBUG]	Processing item: 4029679675490
2023-10-13	13:29:10	3659	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:10	3659	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:10	3659	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9500_3'
2023-10-13	13:29:10	3659	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:10	3659	[DEBUG]	Processing product tax
2023-10-13	13:29:10	3659	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:10	3659	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:10	3659	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:10	3659	[DEBUG]	Query for Product
2023-10-13	13:29:10	3659	[DEBUG]	Executed store
2023-10-13	13:29:10	3659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863150','4029679675490','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:10	3659	[DEBUG]	No parent found
2023-10-13	13:29:10	3659	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863150 AND customfield_value = 'stockable'
2023-10-13	13:29:10	3659	[DEBUG]	Check product language entry
2023-10-13	13:29:10	3659	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863151
2023-10-13	13:29:10	3659	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:10	3659	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679675490' AND `virtuemart_product_id` != 1863151
2023-10-13	13:29:10	3659	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:10	3659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863151, '4029679675490')
2023-10-13	13:29:10	3659	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:10	3659	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-high-protein-shake-creamy-vanilla-none-unitaire' AND `virtuemart_product_id` != 1863151
2023-10-13	13:29:10	3659	[DEBUG]	Query for ProductLang
2023-10-13	13:29:10	3659	[DEBUG]	Executed store
2023-10-13	13:29:10	3659	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR HIGH PROTEIN SHAKE CREAMY VANILLA / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-high-protein-shake-creamy-vanilla-none-unitaire' WHERE `virtuemart_product_id` = '1863151'
2023-10-13	13:29:10	3659	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38787_high_protein_shake_creamy_vanilla.png
2023-10-13	13:29:10	3659	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:29:10	3659	[DEBUG]	Process image file
2023-10-13	13:29:10	3659	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:29:10	3659	[DEBUG]	Mime type found: image/png
2023-10-13	13:29:10	3659	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38787_high_protein_shake_creamy_vanilla.png
2023-10-13	13:29:10	3659	[DEBUG]	Full name target: bcprisme/38787_high_protein_shake_creamy_vanilla.png
2023-10-13	13:29:11	3659	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:11	3659	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38787_high_protein_shake_creamy_vanilla.png'
2023-10-13	13:29:11	3659	[DEBUG]	Query for Media
2023-10-13	13:29:11	3659	[DEBUG]	Executed store
2023-10-13	13:29:11	3659	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38787_high_protein_shake_creamy_vanilla.png',`file_url_thumb`='bcprisme/38787_high_protein_shake_creamy_vanilla.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1435209'
2023-10-13	13:29:11	3659	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:11	3659	[DEBUG]	Executed store
2023-10-13	13:29:11	3659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863151','1435209','1')
2023-10-13	13:29:11	3659	[DEBUG]	Store product image relation
2023-10-13	13:29:11	3659	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:11	3659	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863151 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:11	3659	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:11	3659	[DEBUG]	Executed store
2023-10-13	13:29:11	3659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863151','0','3.2033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:11	3659	[DEBUG]	Checking manufacturer
2023-10-13	13:29:11	3659	[DEBUG]	Load a row
2023-10-13	13:29:11	3659	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:11	3659	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:11	3659	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:11	3659	[DEBUG]	Executed store
2023-10-13	13:29:11	3659	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:11	3659	[DEBUG]	Manufacturer exists
2023-10-13	13:29:11	3659	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:11	3659	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:11	3659	[DEBUG]	Executed store
2023-10-13	13:29:11	3659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863151','121')
2023-10-13	13:29:11	3659	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:11	3659	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:11	3659	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863151 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:11	3659	[DEBUG]	Store custom available field
2023-10-13	13:29:11	3659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863151,3,'',1)
2023-10-13	13:29:11	3659	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:11	3659	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:11	3659	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863151 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:11	3659	[DEBUG]	Store custom available field
2023-10-13	13:29:11	3659	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863151,6,'Unitaire',3)
2023-10-13	13:29:11	3659	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:11	3659	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:11	3659	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863150
2023-10-13	13:29:11	3659	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:11	3659	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863150\":[1863150,8,1,\"choisir la taille\"],\"1863151\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863150
2023-10-13	13:29:11	3659	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:11	3659	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863151
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:11	3660	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field taille
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:11	3660	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:11	3660	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:11	3660	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:11	3660	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:11	3660	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:11	3660	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field published
2023-10-13	13:29:11	3660	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:11	3660	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field override
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:11	3660	[DEBUG]	Use field value for field slug
2023-10-13	13:29:11	3660	[DEBUG]	Process line 3660
2023-10-13	13:29:11	3660	[DEBUG]	Load a row
2023-10-13	13:29:11	3660	[DEBUG]	Processing item: A_9501_3
2023-10-13	13:29:11	3660	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:11	3660	[DEBUG]	Processing product tax
2023-10-13	13:29:11	3660	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:11	3660	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:11	3660	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:11	3660	[DEBUG]	Query for Product
2023-10-13	13:29:11	3660	[DEBUG]	Executed store
2023-10-13	13:29:11	3660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9501_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:11	3660	[DEBUG]	Check product language entry
2023-10-13	13:29:11	3660	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863152
2023-10-13	13:29:11	3660	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:11	3660	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9501_3' AND `virtuemart_product_id` != 1863152
2023-10-13	13:29:11	3660	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:11	3660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863152, 'A_9501_3')
2023-10-13	13:29:11	3660	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:11	3660	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-high-protein-shake-salted-caramel-none' AND `virtuemart_product_id` != 1863152
2023-10-13	13:29:11	3660	[DEBUG]	Query for ProductLang
2023-10-13	13:29:11	3660	[DEBUG]	Executed store
2023-10-13	13:29:11	3660	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 23410302',`product_name`='POWERBAR HIGH PROTEIN SHAKE SALTED CARAMEL / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-high-protein-shake-salted-caramel-none' WHERE `virtuemart_product_id` = '1863152'
2023-10-13	13:29:11	3660	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38808_high_protein_shake_salted_caramel.png
2023-10-13	13:29:11	3660	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:29:11	3660	[DEBUG]	Process image file
2023-10-13	13:29:11	3660	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:29:11	3660	[DEBUG]	Mime type found: image/png
2023-10-13	13:29:11	3660	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38808_high_protein_shake_salted_caramel.png
2023-10-13	13:29:11	3660	[DEBUG]	Full name target: bcprisme/38808_high_protein_shake_salted_caramel.png
2023-10-13	13:29:12	3660	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:12	3660	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38808_high_protein_shake_salted_caramel.png'
2023-10-13	13:29:12	3660	[DEBUG]	Query for Media
2023-10-13	13:29:12	3660	[DEBUG]	Executed store
2023-10-13	13:29:12	3660	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38808_high_protein_shake_salted_caramel.png',`file_url_thumb`='bcprisme/38808_high_protein_shake_salted_caramel.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1435211'
2023-10-13	13:29:12	3660	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:12	3660	[DEBUG]	Executed store
2023-10-13	13:29:12	3660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863152','1435211','1')
2023-10-13	13:29:12	3660	[DEBUG]	Store product image relation
2023-10-13	13:29:12	3660	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:12	3660	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863152 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:12	3660	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:12	3660	[DEBUG]	Executed store
2023-10-13	13:29:12	3660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863152','0','3.2033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:12	3660	[DEBUG]	Checking manufacturer
2023-10-13	13:29:12	3660	[DEBUG]	Load a row
2023-10-13	13:29:12	3660	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:12	3660	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:12	3660	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:12	3660	[DEBUG]	Executed store
2023-10-13	13:29:12	3660	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:12	3660	[DEBUG]	Manufacturer exists
2023-10-13	13:29:12	3660	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:12	3660	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:12	3660	[DEBUG]	Executed store
2023-10-13	13:29:12	3660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863152','121')
2023-10-13	13:29:12	3660	[DEBUG]	Find the custom field ID
2023-10-13	13:29:12	3660	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:12	3660	[DEBUG]	No custom field ID found
2023-10-13	13:29:12	3660	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:12	3660	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:12	3660	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863152 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:12	3660	[DEBUG]	Store custom available field
2023-10-13	13:29:12	3660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863152,3,'0',1)
2023-10-13	13:29:12	3660	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:12	3660	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:12	3660	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863152 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:12	3660	[DEBUG]	Store custom available field
2023-10-13	13:29:12	3660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863152,6,'choisir la taille',3)
2023-10-13	13:29:12	3660	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:12	3660	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:12	3660	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:12	3660	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:12	3660	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863152 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:12	3660	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:12	3660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863152,8,1)
2023-10-13	13:29:12	3660	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:12	3660	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863152\":[1863152,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863152
2023-10-13	13:29:12	3660	[DEBUG]	Checking category
2023-10-13	13:29:12	3660	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:12	3660	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863152
2023-10-13	13:29:12	3660	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:12	3660	[DEBUG]	Executed store
2023-10-13	13:29:12	3660	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863152','7383')
2023-10-13	13:29:12	3660	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:12	3660	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863152 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:12	3660	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:12	3660	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863152
2023-10-13	13:29:12	3661	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:12	3661	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:12	3661	[DEBUG]	Use field value for field taille
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:12	3661	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:12	3661	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:12	3661	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:12	3661	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:12	3661	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:12	3661	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:12	3661	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:12	3661	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:12	3661	[DEBUG]	Use field value for field published
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:12	3661	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field override
2023-10-13	13:29:12	3661	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:12	3661	[DEBUG]	Use field value for field slug
2023-10-13	13:29:12	3661	[DEBUG]	Process line 3661
2023-10-13	13:29:12	3661	[DEBUG]	Load a row
2023-10-13	13:29:12	3661	[DEBUG]	Processing item: 4029679675513
2023-10-13	13:29:12	3661	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:12	3661	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:12	3661	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9501_3'
2023-10-13	13:29:12	3661	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:12	3661	[DEBUG]	Processing product tax
2023-10-13	13:29:12	3661	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:12	3661	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:12	3661	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:12	3661	[DEBUG]	Query for Product
2023-10-13	13:29:12	3661	[DEBUG]	Executed store
2023-10-13	13:29:12	3661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863152','4029679675513','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:12	3661	[DEBUG]	No parent found
2023-10-13	13:29:12	3661	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863152 AND customfield_value = 'stockable'
2023-10-13	13:29:12	3661	[DEBUG]	Check product language entry
2023-10-13	13:29:12	3661	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863153
2023-10-13	13:29:12	3661	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:12	3661	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679675513' AND `virtuemart_product_id` != 1863153
2023-10-13	13:29:12	3661	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:12	3661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863153, '4029679675513')
2023-10-13	13:29:12	3661	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:12	3661	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-high-protein-shake-salted-caramel-none-unitaire' AND `virtuemart_product_id` != 1863153
2023-10-13	13:29:12	3661	[DEBUG]	Query for ProductLang
2023-10-13	13:29:12	3661	[DEBUG]	Executed store
2023-10-13	13:29:12	3661	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR HIGH PROTEIN SHAKE SALTED CARAMEL / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-high-protein-shake-salted-caramel-none-unitaire' WHERE `virtuemart_product_id` = '1863153'
2023-10-13	13:29:12	3661	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38808_high_protein_shake_salted_caramel.png
2023-10-13	13:29:12	3661	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:29:12	3661	[DEBUG]	Process image file
2023-10-13	13:29:12	3661	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:29:12	3661	[DEBUG]	Mime type found: image/png
2023-10-13	13:29:12	3661	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38808_high_protein_shake_salted_caramel.png
2023-10-13	13:29:12	3661	[DEBUG]	Full name target: bcprisme/38808_high_protein_shake_salted_caramel.png
2023-10-13	13:29:13	3661	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:13	3661	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38808_high_protein_shake_salted_caramel.png'
2023-10-13	13:29:13	3661	[DEBUG]	Query for Media
2023-10-13	13:29:13	3661	[DEBUG]	Executed store
2023-10-13	13:29:13	3661	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38808_high_protein_shake_salted_caramel.png',`file_url_thumb`='bcprisme/38808_high_protein_shake_salted_caramel.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1435211'
2023-10-13	13:29:13	3661	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:13	3661	[DEBUG]	Executed store
2023-10-13	13:29:13	3661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863153','1435211','1')
2023-10-13	13:29:13	3661	[DEBUG]	Store product image relation
2023-10-13	13:29:13	3661	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:13	3661	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863153 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:13	3661	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:13	3661	[DEBUG]	Executed store
2023-10-13	13:29:13	3661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863153','0','3.2033426183844','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:13	3661	[DEBUG]	Checking manufacturer
2023-10-13	13:29:13	3661	[DEBUG]	Load a row
2023-10-13	13:29:13	3661	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:13	3661	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:13	3661	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:13	3661	[DEBUG]	Executed store
2023-10-13	13:29:13	3661	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:13	3661	[DEBUG]	Manufacturer exists
2023-10-13	13:29:13	3661	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:13	3661	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:13	3661	[DEBUG]	Executed store
2023-10-13	13:29:13	3661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863153','121')
2023-10-13	13:29:13	3661	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:13	3661	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:13	3661	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863153 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:13	3661	[DEBUG]	Store custom available field
2023-10-13	13:29:13	3661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863153,3,'',1)
2023-10-13	13:29:13	3661	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:13	3661	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:13	3661	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863153 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:13	3661	[DEBUG]	Store custom available field
2023-10-13	13:29:13	3661	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863153,6,'Unitaire',3)
2023-10-13	13:29:13	3661	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:13	3661	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:13	3661	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863152
2023-10-13	13:29:13	3661	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:13	3661	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863152\":[1863152,8,1,\"choisir la taille\"],\"1863153\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863152
2023-10-13	13:29:13	3661	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:13	3661	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863153
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:13	3662	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field taille
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:13	3662	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:13	3662	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:13	3662	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:13	3662	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:13	3662	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:13	3662	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field published
2023-10-13	13:29:13	3662	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:13	3662	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field override
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:13	3662	[DEBUG]	Use field value for field slug
2023-10-13	13:29:13	3662	[DEBUG]	Process line 3662
2023-10-13	13:29:13	3662	[DEBUG]	Load a row
2023-10-13	13:29:13	3662	[DEBUG]	Processing item: A_9502_3
2023-10-13	13:29:13	3662	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:13	3662	[DEBUG]	Processing product tax
2023-10-13	13:29:13	3662	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:13	3662	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:13	3662	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:13	3662	[DEBUG]	Query for Product
2023-10-13	13:29:13	3662	[DEBUG]	Executed store
2023-10-13	13:29:13	3662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9502_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:13	3662	[DEBUG]	Check product language entry
2023-10-13	13:29:13	3662	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863154
2023-10-13	13:29:13	3662	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:13	3662	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9502_3' AND `virtuemart_product_id` != 1863154
2023-10-13	13:29:13	3662	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:13	3662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863154, 'A_9502_3')
2023-10-13	13:29:13	3662	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:13	3662	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-aqua-magnesium-lemon-none' AND `virtuemart_product_id` != 1863154
2023-10-13	13:29:13	3662	[DEBUG]	Query for ProductLang
2023-10-13	13:29:13	3662	[DEBUG]	Executed store
2023-10-13	13:29:13	3662	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 23372200',`product_name`='POWERBAR AQUA + MAGNESIUM LEMON / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-aqua-magnesium-lemon-none' WHERE `virtuemart_product_id` = '1863154'
2023-10-13	13:29:13	3662	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38817_aqua_+_magnesium_lemon.png
2023-10-13	13:29:13	3662	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:29:13	3662	[DEBUG]	Process image file
2023-10-13	13:29:13	3662	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:29:13	3662	[DEBUG]	Mime type found: image/png
2023-10-13	13:29:13	3662	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38817_aqua_+_magnesium_lemon.png
2023-10-13	13:29:13	3662	[DEBUG]	Full name target: bcprisme/38817_aqua_+_magnesium_lemon.png
2023-10-13	13:29:14	3662	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:14	3662	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38817_aqua_+_magnesium_lemon.png'
2023-10-13	13:29:14	3662	[DEBUG]	Query for Media
2023-10-13	13:29:14	3662	[DEBUG]	Executed store
2023-10-13	13:29:14	3662	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38817_aqua_+_magnesium_lemon.png',`file_url_thumb`='bcprisme/38817_aqua_+_magnesium_lemon.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1435213'
2023-10-13	13:29:14	3662	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:14	3662	[DEBUG]	Executed store
2023-10-13	13:29:14	3662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863154','1435213','1')
2023-10-13	13:29:14	3662	[DEBUG]	Store product image relation
2023-10-13	13:29:14	3662	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:14	3662	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863154 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:14	3662	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:14	3662	[DEBUG]	Executed store
2023-10-13	13:29:14	3662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863154','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:14	3662	[DEBUG]	Checking manufacturer
2023-10-13	13:29:14	3662	[DEBUG]	Load a row
2023-10-13	13:29:14	3662	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:14	3662	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:14	3662	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:14	3662	[DEBUG]	Executed store
2023-10-13	13:29:14	3662	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:14	3662	[DEBUG]	Manufacturer exists
2023-10-13	13:29:14	3662	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:14	3662	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:14	3662	[DEBUG]	Executed store
2023-10-13	13:29:14	3662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863154','121')
2023-10-13	13:29:14	3662	[DEBUG]	Find the custom field ID
2023-10-13	13:29:14	3662	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:14	3662	[DEBUG]	No custom field ID found
2023-10-13	13:29:14	3662	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:14	3662	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:14	3662	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863154 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:14	3662	[DEBUG]	Store custom available field
2023-10-13	13:29:14	3662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863154,3,'0',1)
2023-10-13	13:29:14	3662	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:14	3662	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:14	3662	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863154 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:14	3662	[DEBUG]	Store custom available field
2023-10-13	13:29:14	3662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863154,6,'choisir la taille',3)
2023-10-13	13:29:14	3662	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:14	3662	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:14	3662	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:14	3662	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:14	3662	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863154 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:14	3662	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:14	3662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863154,8,1)
2023-10-13	13:29:14	3662	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:14	3662	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863154\":[1863154,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863154
2023-10-13	13:29:14	3662	[DEBUG]	Checking category
2023-10-13	13:29:14	3662	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:14	3662	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863154
2023-10-13	13:29:14	3662	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:14	3662	[DEBUG]	Executed store
2023-10-13	13:29:14	3662	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863154','7383')
2023-10-13	13:29:14	3662	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:14	3662	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863154 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:14	3662	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:14	3662	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863154
2023-10-13	13:29:14	3663	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:14	3663	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:14	3663	[DEBUG]	Use field value for field taille
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:14	3663	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:14	3663	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:14	3663	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:14	3663	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:14	3663	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:14	3663	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:14	3663	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:14	3663	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:14	3663	[DEBUG]	Use field value for field published
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:14	3663	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field override
2023-10-13	13:29:14	3663	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:14	3663	[DEBUG]	Use field value for field slug
2023-10-13	13:29:14	3663	[DEBUG]	Process line 3663
2023-10-13	13:29:14	3663	[DEBUG]	Load a row
2023-10-13	13:29:14	3663	[DEBUG]	Processing item: 4029679845077
2023-10-13	13:29:14	3663	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:14	3663	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:14	3663	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9502_3'
2023-10-13	13:29:14	3663	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:14	3663	[DEBUG]	Processing product tax
2023-10-13	13:29:14	3663	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:14	3663	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:14	3663	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:14	3663	[DEBUG]	Query for Product
2023-10-13	13:29:14	3663	[DEBUG]	Executed store
2023-10-13	13:29:14	3663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863154','4029679845077','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:14	3663	[DEBUG]	No parent found
2023-10-13	13:29:14	3663	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863154 AND customfield_value = 'stockable'
2023-10-13	13:29:14	3663	[DEBUG]	Check product language entry
2023-10-13	13:29:14	3663	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863155
2023-10-13	13:29:14	3663	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:14	3663	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679845077' AND `virtuemart_product_id` != 1863155
2023-10-13	13:29:14	3663	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:14	3663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863155, '4029679845077')
2023-10-13	13:29:14	3663	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:14	3663	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-aqua-magnesium-lemon-none-unitaire' AND `virtuemart_product_id` != 1863155
2023-10-13	13:29:14	3663	[DEBUG]	Query for ProductLang
2023-10-13	13:29:14	3663	[DEBUG]	Executed store
2023-10-13	13:29:14	3663	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR AQUA + MAGNESIUM LEMON / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-aqua-magnesium-lemon-none-unitaire' WHERE `virtuemart_product_id` = '1863155'
2023-10-13	13:29:14	3663	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38817_aqua_+_magnesium_lemon.png
2023-10-13	13:29:14	3663	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:29:14	3663	[DEBUG]	Process image file
2023-10-13	13:29:14	3663	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:29:14	3663	[DEBUG]	Mime type found: image/png
2023-10-13	13:29:14	3663	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38817_aqua_+_magnesium_lemon.png
2023-10-13	13:29:14	3663	[DEBUG]	Full name target: bcprisme/38817_aqua_+_magnesium_lemon.png
2023-10-13	13:29:15	3663	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:15	3663	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38817_aqua_+_magnesium_lemon.png'
2023-10-13	13:29:15	3663	[DEBUG]	Query for Media
2023-10-13	13:29:15	3663	[DEBUG]	Executed store
2023-10-13	13:29:15	3663	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38817_aqua_+_magnesium_lemon.png',`file_url_thumb`='bcprisme/38817_aqua_+_magnesium_lemon.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1435213'
2023-10-13	13:29:15	3663	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:15	3663	[DEBUG]	Executed store
2023-10-13	13:29:15	3663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863155','1435213','1')
2023-10-13	13:29:15	3663	[DEBUG]	Store product image relation
2023-10-13	13:29:15	3663	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:15	3663	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863155 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:15	3663	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:15	3663	[DEBUG]	Executed store
2023-10-13	13:29:15	3663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863155','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:15	3663	[DEBUG]	Checking manufacturer
2023-10-13	13:29:15	3663	[DEBUG]	Load a row
2023-10-13	13:29:15	3663	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:15	3663	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:15	3663	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:15	3663	[DEBUG]	Executed store
2023-10-13	13:29:15	3663	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:15	3663	[DEBUG]	Manufacturer exists
2023-10-13	13:29:15	3663	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:15	3663	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:15	3663	[DEBUG]	Executed store
2023-10-13	13:29:15	3663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863155','121')
2023-10-13	13:29:15	3663	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:15	3663	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:15	3663	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863155 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:15	3663	[DEBUG]	Store custom available field
2023-10-13	13:29:15	3663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863155,3,'',1)
2023-10-13	13:29:15	3663	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:15	3663	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:15	3663	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863155 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:15	3663	[DEBUG]	Store custom available field
2023-10-13	13:29:15	3663	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863155,6,'Unitaire',3)
2023-10-13	13:29:15	3663	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:15	3663	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:15	3663	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863154
2023-10-13	13:29:15	3663	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:15	3663	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863154\":[1863154,8,1,\"choisir la taille\"],\"1863155\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863154
2023-10-13	13:29:15	3663	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:15	3663	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863155
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:15	3664	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field taille
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:15	3664	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:15	3664	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:15	3664	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:15	3664	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:15	3664	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:15	3664	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field published
2023-10-13	13:29:15	3664	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:15	3664	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field override
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:15	3664	[DEBUG]	Use field value for field slug
2023-10-13	13:29:15	3664	[DEBUG]	Process line 3664
2023-10-13	13:29:15	3664	[DEBUG]	Load a row
2023-10-13	13:29:15	3664	[DEBUG]	Processing item: A_9503_3
2023-10-13	13:29:15	3664	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:15	3664	[DEBUG]	Processing product tax
2023-10-13	13:29:15	3664	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:15	3664	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:15	3664	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:15	3664	[DEBUG]	Query for Product
2023-10-13	13:29:15	3664	[DEBUG]	Executed store
2023-10-13	13:29:15	3664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9503_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:15	3664	[DEBUG]	Check product language entry
2023-10-13	13:29:15	3664	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863156
2023-10-13	13:29:15	3664	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:15	3664	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9503_3' AND `virtuemart_product_id` != 1863156
2023-10-13	13:29:15	3664	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:15	3664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863156, 'A_9503_3')
2023-10-13	13:29:15	3664	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:15	3664	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-isolite-isotonic-drink-grapefruit-lemon-none' AND `virtuemart_product_id` != 1863156
2023-10-13	13:29:15	3664	[DEBUG]	Query for ProductLang
2023-10-13	13:29:15	3664	[DEBUG]	Executed store
2023-10-13	13:29:15	3664	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 23364900',`product_name`='POWERBAR ISOLITE ISOTONIC DRINK GRAPEFRUIT LEMON / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-isolite-isotonic-drink-grapefruit-lemon-none' WHERE `virtuemart_product_id` = '1863156'
2023-10-13	13:29:15	3664	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38832_isolite_isotonic_drink_grapefruit_lemon.jpg
2023-10-13	13:29:15	3664	[DEBUG]	Identity string: ffd8ffe113054578696600004d4d002a00000008
2023-10-13	13:29:15	3664	[DEBUG]	Process image file
2023-10-13	13:29:15	3664	[DEBUG]	Identity string: ffd8ffe113054578696600004d4d002a00000008
2023-10-13	13:29:15	3664	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:15	3664	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38832_isolite_isotonic_drink_grapefruit_lemon.jpg
2023-10-13	13:29:15	3664	[DEBUG]	Full name target: bcprisme/38832_isolite_isotonic_drink_grapefruit_lemon.jpg
2023-10-13	13:29:16	3664	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:16	3664	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38832_isolite_isotonic_drink_grapefruit_lemon.jpg'
2023-10-13	13:29:16	3664	[DEBUG]	Query for Media
2023-10-13	13:29:16	3664	[DEBUG]	Executed store
2023-10-13	13:29:16	3664	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38832_isolite_isotonic_drink_grapefruit_lemon.jpg',`file_url_thumb`='bcprisme/38832_isolite_isotonic_drink_grapefruit_lemon.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1435215'
2023-10-13	13:29:16	3664	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:16	3664	[DEBUG]	Executed store
2023-10-13	13:29:16	3664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863156','1435215','1')
2023-10-13	13:29:16	3664	[DEBUG]	Store product image relation
2023-10-13	13:29:16	3664	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:16	3664	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863156 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:16	3664	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:16	3664	[DEBUG]	Executed store
2023-10-13	13:29:16	3664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863156','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:16	3664	[DEBUG]	Checking manufacturer
2023-10-13	13:29:16	3664	[DEBUG]	Load a row
2023-10-13	13:29:16	3664	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:16	3664	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:16	3664	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:16	3664	[DEBUG]	Executed store
2023-10-13	13:29:16	3664	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:16	3664	[DEBUG]	Manufacturer exists
2023-10-13	13:29:16	3664	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:16	3664	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:16	3664	[DEBUG]	Executed store
2023-10-13	13:29:16	3664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863156','121')
2023-10-13	13:29:16	3664	[DEBUG]	Find the custom field ID
2023-10-13	13:29:16	3664	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:16	3664	[DEBUG]	No custom field ID found
2023-10-13	13:29:16	3664	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:16	3664	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:16	3664	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863156 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:16	3664	[DEBUG]	Store custom available field
2023-10-13	13:29:16	3664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863156,3,'0',1)
2023-10-13	13:29:16	3664	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:16	3664	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:16	3664	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863156 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:16	3664	[DEBUG]	Store custom available field
2023-10-13	13:29:16	3664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863156,6,'choisir la taille',3)
2023-10-13	13:29:16	3664	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:16	3664	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:16	3664	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:16	3664	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:16	3664	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863156 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:16	3664	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:16	3664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863156,8,1)
2023-10-13	13:29:16	3664	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:16	3664	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863156\":[1863156,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863156
2023-10-13	13:29:16	3664	[DEBUG]	Checking category
2023-10-13	13:29:16	3664	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:16	3664	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863156
2023-10-13	13:29:16	3664	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:16	3664	[DEBUG]	Executed store
2023-10-13	13:29:16	3664	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863156','7383')
2023-10-13	13:29:16	3664	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:16	3664	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863156 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:16	3664	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:16	3664	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863156
2023-10-13	13:29:16	3665	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:16	3665	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:16	3665	[DEBUG]	Use field value for field taille
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:16	3665	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:16	3665	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:16	3665	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:16	3665	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:16	3665	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:16	3665	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:16	3665	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:16	3665	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:16	3665	[DEBUG]	Use field value for field published
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:16	3665	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field override
2023-10-13	13:29:16	3665	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:16	3665	[DEBUG]	Use field value for field slug
2023-10-13	13:29:16	3665	[DEBUG]	Process line 3665
2023-10-13	13:29:16	3665	[DEBUG]	Load a row
2023-10-13	13:29:16	3665	[DEBUG]	Processing item: 4029679840034
2023-10-13	13:29:16	3665	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:16	3665	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:16	3665	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9503_3'
2023-10-13	13:29:16	3665	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:16	3665	[DEBUG]	Processing product tax
2023-10-13	13:29:16	3665	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:16	3665	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:16	3665	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:16	3665	[DEBUG]	Query for Product
2023-10-13	13:29:16	3665	[DEBUG]	Executed store
2023-10-13	13:29:16	3665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863156','4029679840034','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:16	3665	[DEBUG]	No parent found
2023-10-13	13:29:16	3665	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863156 AND customfield_value = 'stockable'
2023-10-13	13:29:16	3665	[DEBUG]	Check product language entry
2023-10-13	13:29:16	3665	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863157
2023-10-13	13:29:16	3665	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:16	3665	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679840034' AND `virtuemart_product_id` != 1863157
2023-10-13	13:29:16	3665	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:16	3665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863157, '4029679840034')
2023-10-13	13:29:16	3665	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:16	3665	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-isolite-isotonic-drink-grapefruit-lemon-none-unitaire' AND `virtuemart_product_id` != 1863157
2023-10-13	13:29:16	3665	[DEBUG]	Query for ProductLang
2023-10-13	13:29:16	3665	[DEBUG]	Executed store
2023-10-13	13:29:16	3665	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR ISOLITE ISOTONIC DRINK GRAPEFRUIT LEMON / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-isolite-isotonic-drink-grapefruit-lemon-none-unitaire' WHERE `virtuemart_product_id` = '1863157'
2023-10-13	13:29:16	3665	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38832_isolite_isotonic_drink_grapefruit_lemon.jpg
2023-10-13	13:29:16	3665	[DEBUG]	Identity string: ffd8ffe113054578696600004d4d002a00000008
2023-10-13	13:29:16	3665	[DEBUG]	Process image file
2023-10-13	13:29:16	3665	[DEBUG]	Identity string: ffd8ffe113054578696600004d4d002a00000008
2023-10-13	13:29:16	3665	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:16	3665	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38832_isolite_isotonic_drink_grapefruit_lemon.jpg
2023-10-13	13:29:16	3665	[DEBUG]	Full name target: bcprisme/38832_isolite_isotonic_drink_grapefruit_lemon.jpg
2023-10-13	13:29:17	3665	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:17	3665	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38832_isolite_isotonic_drink_grapefruit_lemon.jpg'
2023-10-13	13:29:17	3665	[DEBUG]	Query for Media
2023-10-13	13:29:17	3665	[DEBUG]	Executed store
2023-10-13	13:29:17	3665	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38832_isolite_isotonic_drink_grapefruit_lemon.jpg',`file_url_thumb`='bcprisme/38832_isolite_isotonic_drink_grapefruit_lemon.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1435215'
2023-10-13	13:29:17	3665	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:17	3665	[DEBUG]	Executed store
2023-10-13	13:29:17	3665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863157','1435215','1')
2023-10-13	13:29:17	3665	[DEBUG]	Store product image relation
2023-10-13	13:29:17	3665	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:17	3665	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863157 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:17	3665	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:17	3665	[DEBUG]	Executed store
2023-10-13	13:29:17	3665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863157','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:17	3665	[DEBUG]	Checking manufacturer
2023-10-13	13:29:17	3665	[DEBUG]	Load a row
2023-10-13	13:29:17	3665	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:17	3665	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:17	3665	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:17	3665	[DEBUG]	Executed store
2023-10-13	13:29:17	3665	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:17	3665	[DEBUG]	Manufacturer exists
2023-10-13	13:29:17	3665	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:17	3665	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:17	3665	[DEBUG]	Executed store
2023-10-13	13:29:17	3665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863157','121')
2023-10-13	13:29:17	3665	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:17	3665	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:17	3665	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863157 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:17	3665	[DEBUG]	Store custom available field
2023-10-13	13:29:17	3665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863157,3,'',1)
2023-10-13	13:29:17	3665	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:17	3665	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:17	3665	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863157 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:17	3665	[DEBUG]	Store custom available field
2023-10-13	13:29:17	3665	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863157,6,'Unitaire',3)
2023-10-13	13:29:17	3665	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:17	3665	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:17	3665	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863156
2023-10-13	13:29:17	3665	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:17	3665	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863156\":[1863156,8,1,\"choisir la taille\"],\"1863157\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863156
2023-10-13	13:29:17	3665	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:17	3665	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863157
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:17	3666	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field taille
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:17	3666	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:17	3666	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:17	3666	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:17	3666	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:17	3666	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:17	3666	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:17	3666	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:17	3666	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:17	3666	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field published
2023-10-13	13:29:17	3666	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:17	3666	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field override
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:17	3666	[DEBUG]	Use field value for field slug
2023-10-13	13:29:17	3666	[DEBUG]	Process line 3666
2023-10-13	13:29:17	3666	[DEBUG]	Load a row
2023-10-13	13:29:17	3666	[DEBUG]	Processing item: A_9679_3
2023-10-13	13:29:17	3666	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:17	3666	[DEBUG]	Processing product tax
2023-10-13	13:29:17	3666	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:17	3666	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:17	3666	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:17	3666	[DEBUG]	Query for Product
2023-10-13	13:29:17	3666	[DEBUG]	Executed store
2023-10-13	13:29:17	3666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9679_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:17	3666	[DEBUG]	Check product language entry
2023-10-13	13:29:17	3666	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863158
2023-10-13	13:29:17	3666	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:17	3666	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9679_3' AND `virtuemart_product_id` != 1863158
2023-10-13	13:29:17	3666	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:17	3666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863158, 'A_9679_3')
2023-10-13	13:29:17	3666	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:17	3666	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-energize-original-raspberry-none' AND `virtuemart_product_id` != 1863158
2023-10-13	13:29:17	3666	[DEBUG]	Query for ProductLang
2023-10-13	13:29:17	3666	[DEBUG]	Executed store
2023-10-13	13:29:17	3666	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Barre ENERGIZE Original Raspberry / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-energize-original-raspberry-none' WHERE `virtuemart_product_id` = '1863158'
2023-10-13	13:29:17	3666	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:17	3666	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863158 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:17	3666	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:17	3666	[DEBUG]	Executed store
2023-10-13	13:29:17	3666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863158','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:17	3666	[DEBUG]	Checking manufacturer
2023-10-13	13:29:17	3666	[DEBUG]	Load a row
2023-10-13	13:29:17	3666	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:17	3666	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:17	3666	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:17	3666	[DEBUG]	Executed store
2023-10-13	13:29:17	3666	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:17	3666	[DEBUG]	Manufacturer exists
2023-10-13	13:29:17	3666	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:17	3666	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:17	3666	[DEBUG]	Executed store
2023-10-13	13:29:17	3666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863158','121')
2023-10-13	13:29:17	3666	[DEBUG]	Find the custom field ID
2023-10-13	13:29:17	3666	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:17	3666	[DEBUG]	No custom field ID found
2023-10-13	13:29:17	3666	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:17	3666	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:17	3666	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863158 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:17	3666	[DEBUG]	Store custom available field
2023-10-13	13:29:17	3666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863158,3,'0',1)
2023-10-13	13:29:17	3666	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:17	3666	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:17	3666	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863158 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:17	3666	[DEBUG]	Store custom available field
2023-10-13	13:29:17	3666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863158,6,'choisir la taille',3)
2023-10-13	13:29:17	3666	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:17	3666	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:17	3666	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:17	3666	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:17	3666	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863158 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:17	3666	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:17	3666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863158,8,1)
2023-10-13	13:29:17	3666	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:17	3666	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863158\":[1863158,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863158
2023-10-13	13:29:17	3666	[DEBUG]	Checking category
2023-10-13	13:29:17	3666	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:17	3666	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863158
2023-10-13	13:29:17	3666	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:17	3666	[DEBUG]	Executed store
2023-10-13	13:29:17	3666	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863158','7383')
2023-10-13	13:29:17	3666	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:17	3666	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863158 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:17	3666	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:17	3666	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863158
2023-10-13	13:29:17	3667	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:17	3667	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:17	3667	[DEBUG]	Use field value for field taille
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:17	3667	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:17	3667	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:17	3667	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:17	3667	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:17	3667	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:17	3667	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:17	3667	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:17	3667	[DEBUG]	Use field value for field published
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:17	3667	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field override
2023-10-13	13:29:17	3667	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:17	3667	[DEBUG]	Use field value for field slug
2023-10-13	13:29:17	3667	[DEBUG]	Process line 3667
2023-10-13	13:29:17	3667	[DEBUG]	Load a row
2023-10-13	13:29:17	3667	[DEBUG]	Processing item: 4029679679443
2023-10-13	13:29:17	3667	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:17	3667	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:17	3667	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9679_3'
2023-10-13	13:29:17	3667	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:17	3667	[DEBUG]	Processing product tax
2023-10-13	13:29:17	3667	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:17	3667	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:17	3667	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:17	3667	[DEBUG]	Query for Product
2023-10-13	13:29:17	3667	[DEBUG]	Executed store
2023-10-13	13:29:17	3667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863158','4029679679443','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:17	3667	[DEBUG]	No parent found
2023-10-13	13:29:17	3667	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863158 AND customfield_value = 'stockable'
2023-10-13	13:29:17	3667	[DEBUG]	Check product language entry
2023-10-13	13:29:17	3667	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863159
2023-10-13	13:29:17	3667	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:18	3667	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679679443' AND `virtuemart_product_id` != 1863159
2023-10-13	13:29:18	3667	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:18	3667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863159, '4029679679443')
2023-10-13	13:29:18	3667	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:18	3667	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-energize-original-raspberry-none-unitaire' AND `virtuemart_product_id` != 1863159
2023-10-13	13:29:18	3667	[DEBUG]	Query for ProductLang
2023-10-13	13:29:18	3667	[DEBUG]	Executed store
2023-10-13	13:29:18	3667	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Barre ENERGIZE Original Raspberry / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-energize-original-raspberry-none-unitaire' WHERE `virtuemart_product_id` = '1863159'
2023-10-13	13:29:18	3667	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:18	3667	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863159 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:18	3667	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:18	3667	[DEBUG]	Executed store
2023-10-13	13:29:18	3667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863159','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:18	3667	[DEBUG]	Checking manufacturer
2023-10-13	13:29:18	3667	[DEBUG]	Load a row
2023-10-13	13:29:18	3667	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:18	3667	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:18	3667	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:18	3667	[DEBUG]	Executed store
2023-10-13	13:29:18	3667	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:18	3667	[DEBUG]	Manufacturer exists
2023-10-13	13:29:18	3667	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:18	3667	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:18	3667	[DEBUG]	Executed store
2023-10-13	13:29:18	3667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863159','121')
2023-10-13	13:29:18	3667	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:18	3667	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:18	3667	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863159 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:18	3667	[DEBUG]	Store custom available field
2023-10-13	13:29:18	3667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863159,3,'',1)
2023-10-13	13:29:18	3667	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:18	3667	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:18	3667	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863159 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:18	3667	[DEBUG]	Store custom available field
2023-10-13	13:29:18	3667	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863159,6,'Unitaire',3)
2023-10-13	13:29:18	3667	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:18	3667	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:18	3667	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863158
2023-10-13	13:29:18	3667	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:18	3667	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863158\":[1863158,8,1,\"choisir la taille\"],\"1863159\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863158
2023-10-13	13:29:18	3667	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:18	3667	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863159
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:18	3668	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field taille
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:18	3668	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:18	3668	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:18	3668	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:18	3668	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:18	3668	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:18	3668	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:18	3668	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:18	3668	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:18	3668	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field published
2023-10-13	13:29:18	3668	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:18	3668	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field override
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:18	3668	[DEBUG]	Use field value for field slug
2023-10-13	13:29:18	3668	[DEBUG]	Process line 3668
2023-10-13	13:29:18	3668	[DEBUG]	Load a row
2023-10-13	13:29:18	3668	[DEBUG]	Processing item: A_9681_3
2023-10-13	13:29:18	3668	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:18	3668	[DEBUG]	Processing product tax
2023-10-13	13:29:18	3668	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:18	3668	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:18	3668	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:18	3668	[DEBUG]	Query for Product
2023-10-13	13:29:18	3668	[DEBUG]	Executed store
2023-10-13	13:29:18	3668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9681_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:18	3668	[DEBUG]	Check product language entry
2023-10-13	13:29:18	3668	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863160
2023-10-13	13:29:18	3668	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:18	3668	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9681_3' AND `virtuemart_product_id` != 1863160
2023-10-13	13:29:18	3668	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:18	3668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863160, 'A_9681_3')
2023-10-13	13:29:18	3668	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:18	3668	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-energize-original-cookies-cream-none' AND `virtuemart_product_id` != 1863160
2023-10-13	13:29:18	3668	[DEBUG]	Query for ProductLang
2023-10-13	13:29:18	3668	[DEBUG]	Executed store
2023-10-13	13:29:18	3668	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Barre ENERGIZE Original Cookies Cream / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-energize-original-cookies-cream-none' WHERE `virtuemart_product_id` = '1863160'
2023-10-13	13:29:18	3668	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:18	3668	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863160 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:18	3668	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:18	3668	[DEBUG]	Executed store
2023-10-13	13:29:18	3668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863160','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:18	3668	[DEBUG]	Checking manufacturer
2023-10-13	13:29:18	3668	[DEBUG]	Load a row
2023-10-13	13:29:18	3668	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:18	3668	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:18	3668	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:18	3668	[DEBUG]	Executed store
2023-10-13	13:29:18	3668	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:18	3668	[DEBUG]	Manufacturer exists
2023-10-13	13:29:18	3668	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:18	3668	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:18	3668	[DEBUG]	Executed store
2023-10-13	13:29:18	3668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863160','121')
2023-10-13	13:29:18	3668	[DEBUG]	Find the custom field ID
2023-10-13	13:29:18	3668	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:18	3668	[DEBUG]	No custom field ID found
2023-10-13	13:29:18	3668	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:18	3668	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:18	3668	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863160 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:18	3668	[DEBUG]	Store custom available field
2023-10-13	13:29:18	3668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863160,3,'0',1)
2023-10-13	13:29:18	3668	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:18	3668	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:18	3668	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863160 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:18	3668	[DEBUG]	Store custom available field
2023-10-13	13:29:18	3668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863160,6,'choisir la taille',3)
2023-10-13	13:29:18	3668	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:18	3668	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:18	3668	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:18	3668	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:18	3668	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863160 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:18	3668	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:18	3668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863160,8,1)
2023-10-13	13:29:18	3668	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:18	3668	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863160\":[1863160,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863160
2023-10-13	13:29:18	3668	[DEBUG]	Checking category
2023-10-13	13:29:18	3668	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:18	3668	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863160
2023-10-13	13:29:18	3668	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:18	3668	[DEBUG]	Executed store
2023-10-13	13:29:18	3668	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863160','7383')
2023-10-13	13:29:18	3668	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:18	3668	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863160 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:18	3668	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:18	3668	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863160
2023-10-13	13:29:18	3669	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:18	3669	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:18	3669	[DEBUG]	Use field value for field taille
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:18	3669	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:18	3669	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:18	3669	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:18	3669	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:18	3669	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:18	3669	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:18	3669	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:18	3669	[DEBUG]	Use field value for field published
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:18	3669	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field override
2023-10-13	13:29:18	3669	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:18	3669	[DEBUG]	Use field value for field slug
2023-10-13	13:29:18	3669	[DEBUG]	Process line 3669
2023-10-13	13:29:18	3669	[DEBUG]	Load a row
2023-10-13	13:29:18	3669	[DEBUG]	Processing item: 4029679679405
2023-10-13	13:29:18	3669	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:18	3669	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:18	3669	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9681_3'
2023-10-13	13:29:18	3669	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:18	3669	[DEBUG]	Processing product tax
2023-10-13	13:29:18	3669	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:18	3669	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:18	3669	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:18	3669	[DEBUG]	Query for Product
2023-10-13	13:29:18	3669	[DEBUG]	Executed store
2023-10-13	13:29:18	3669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863160','4029679679405','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:18	3669	[DEBUG]	No parent found
2023-10-13	13:29:18	3669	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863160 AND customfield_value = 'stockable'
2023-10-13	13:29:18	3669	[DEBUG]	Check product language entry
2023-10-13	13:29:18	3669	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863161
2023-10-13	13:29:18	3669	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:18	3669	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4029679679405' AND `virtuemart_product_id` != 1863161
2023-10-13	13:29:18	3669	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:18	3669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863161, '4029679679405')
2023-10-13	13:29:18	3669	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:18	3669	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-barre-energize-original-cookies-cream-none-unitaire' AND `virtuemart_product_id` != 1863161
2023-10-13	13:29:18	3669	[DEBUG]	Query for ProductLang
2023-10-13	13:29:18	3669	[DEBUG]	Executed store
2023-10-13	13:29:18	3669	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR Barre ENERGIZE Original Cookies Cream / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-barre-energize-original-cookies-cream-none-unitaire' WHERE `virtuemart_product_id` = '1863161'
2023-10-13	13:29:18	3669	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:18	3669	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863161 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:18	3669	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:18	3669	[DEBUG]	Executed store
2023-10-13	13:29:18	3669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863161','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:18	3669	[DEBUG]	Checking manufacturer
2023-10-13	13:29:18	3669	[DEBUG]	Load a row
2023-10-13	13:29:18	3669	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:18	3669	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:18	3669	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:18	3669	[DEBUG]	Executed store
2023-10-13	13:29:18	3669	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:18	3669	[DEBUG]	Manufacturer exists
2023-10-13	13:29:18	3669	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:18	3669	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:18	3669	[DEBUG]	Executed store
2023-10-13	13:29:18	3669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863161','121')
2023-10-13	13:29:18	3669	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:18	3669	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:18	3669	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863161 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:18	3669	[DEBUG]	Store custom available field
2023-10-13	13:29:18	3669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863161,3,'',1)
2023-10-13	13:29:18	3669	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:18	3669	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:18	3669	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863161 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:18	3669	[DEBUG]	Store custom available field
2023-10-13	13:29:18	3669	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863161,6,'Unitaire',3)
2023-10-13	13:29:18	3669	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:18	3669	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:18	3669	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863160
2023-10-13	13:29:18	3669	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:18	3669	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863160\":[1863160,8,1,\"choisir la taille\"],\"1863161\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863160
2023-10-13	13:29:18	3669	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:18	3669	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863161
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:18	3670	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field taille
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:18	3670	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:18	3670	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:18	3670	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:18	3670	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:18	3670	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:18	3670	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field published
2023-10-13	13:29:18	3670	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:18	3670	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field override
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:18	3670	[DEBUG]	Use field value for field slug
2023-10-13	13:29:18	3670	[DEBUG]	Process line 3670
2023-10-13	13:29:18	3670	[DEBUG]	Load a row
2023-10-13	13:29:18	3670	[DEBUG]	Processing item: A_9760_3
2023-10-13	13:29:18	3670	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:18	3670	[DEBUG]	Processing product tax
2023-10-13	13:29:18	3670	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:18	3670	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:18	3670	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:18	3670	[DEBUG]	Query for Product
2023-10-13	13:29:18	3670	[DEBUG]	Executed store
2023-10-13	13:29:18	3670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9760_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:18	3670	[DEBUG]	Check product language entry
2023-10-13	13:29:18	3670	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863162
2023-10-13	13:29:18	3670	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:18	3670	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9760_3' AND `virtuemart_product_id` != 1863162
2023-10-13	13:29:18	3670	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:18	3670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863162, 'A_9760_3')
2023-10-13	13:29:18	3670	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:18	3670	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-smoothies-mango-apple-none' AND `virtuemart_product_id` != 1863162
2023-10-13	13:29:18	3670	[DEBUG]	Query for ProductLang
2023-10-13	13:29:18	3670	[DEBUG]	Executed store
2023-10-13	13:29:18	3670	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 22563102',`product_name`='POWERBAR SMOOTHIES MANGO APPLE / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-smoothies-mango-apple-none' WHERE `virtuemart_product_id` = '1863162'
2023-10-13	13:29:18	3670	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39196_smoothies_mango_apple.jpg
2023-10-13	13:29:18	3670	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:29:18	3670	[DEBUG]	Process image file
2023-10-13	13:29:18	3670	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:29:18	3670	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:18	3670	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39196_smoothies_mango_apple.jpg
2023-10-13	13:29:18	3670	[DEBUG]	Full name target: bcprisme/39196_smoothies_mango_apple.jpg
2023-10-13	13:29:19	3670	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:19	3670	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39196_smoothies_mango_apple.jpg'
2023-10-13	13:29:19	3670	[DEBUG]	Query for Media
2023-10-13	13:29:19	3670	[DEBUG]	Executed store
2023-10-13	13:29:19	3670	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39196_smoothies_mango_apple.jpg',`file_url_thumb`='bcprisme/39196_smoothies_mango_apple.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1598653'
2023-10-13	13:29:19	3670	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:19	3670	[DEBUG]	Executed store
2023-10-13	13:29:19	3670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863162','1598653','1')
2023-10-13	13:29:19	3670	[DEBUG]	Store product image relation
2023-10-13	13:29:19	3670	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:19	3670	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863162 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:19	3670	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:19	3670	[DEBUG]	Executed store
2023-10-13	13:29:19	3670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863162','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:19	3670	[DEBUG]	Checking manufacturer
2023-10-13	13:29:19	3670	[DEBUG]	Load a row
2023-10-13	13:29:19	3670	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:19	3670	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:19	3670	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:19	3670	[DEBUG]	Executed store
2023-10-13	13:29:19	3670	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:19	3670	[DEBUG]	Manufacturer exists
2023-10-13	13:29:19	3670	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:19	3670	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:19	3670	[DEBUG]	Executed store
2023-10-13	13:29:19	3670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863162','121')
2023-10-13	13:29:19	3670	[DEBUG]	Find the custom field ID
2023-10-13	13:29:19	3670	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:19	3670	[DEBUG]	No custom field ID found
2023-10-13	13:29:19	3670	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:19	3670	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:19	3670	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863162 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:19	3670	[DEBUG]	Store custom available field
2023-10-13	13:29:19	3670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863162,3,'0',1)
2023-10-13	13:29:19	3670	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:19	3670	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:19	3670	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863162 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:19	3670	[DEBUG]	Store custom available field
2023-10-13	13:29:19	3670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863162,6,'choisir la taille',3)
2023-10-13	13:29:19	3670	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:19	3670	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:19	3670	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:19	3670	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:19	3670	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863162 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:19	3670	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:19	3670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863162,8,1)
2023-10-13	13:29:19	3670	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:19	3670	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863162\":[1863162,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863162
2023-10-13	13:29:19	3670	[DEBUG]	Checking category
2023-10-13	13:29:19	3670	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:19	3670	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863162
2023-10-13	13:29:19	3670	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:19	3670	[DEBUG]	Executed store
2023-10-13	13:29:19	3670	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863162','7383')
2023-10-13	13:29:19	3670	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:19	3670	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863162 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:19	3670	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:19	3670	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863162
2023-10-13	13:29:19	3671	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:19	3671	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:19	3671	[DEBUG]	Use field value for field taille
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:19	3671	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:19	3671	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:19	3671	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:19	3671	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:19	3671	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:19	3671	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:19	3671	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:19	3671	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:19	3671	[DEBUG]	Use field value for field published
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:19	3671	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field override
2023-10-13	13:29:19	3671	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:19	3671	[DEBUG]	Use field value for field slug
2023-10-13	13:29:19	3671	[DEBUG]	Process line 3671
2023-10-13	13:29:19	3671	[DEBUG]	Load a row
2023-10-13	13:29:19	3671	[DEBUG]	Processing item: 42374947
2023-10-13	13:29:19	3671	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:19	3671	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:19	3671	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9760_3'
2023-10-13	13:29:19	3671	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:19	3671	[DEBUG]	Processing product tax
2023-10-13	13:29:19	3671	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:19	3671	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:19	3671	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:19	3671	[DEBUG]	Query for Product
2023-10-13	13:29:19	3671	[DEBUG]	Executed store
2023-10-13	13:29:19	3671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863162','42374947','0','KG','M','','26','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:19	3671	[DEBUG]	No parent found
2023-10-13	13:29:19	3671	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863162 AND customfield_value = 'stockable'
2023-10-13	13:29:19	3671	[DEBUG]	Check product language entry
2023-10-13	13:29:19	3671	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863163
2023-10-13	13:29:19	3671	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:19	3671	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '42374947' AND `virtuemart_product_id` != 1863163
2023-10-13	13:29:19	3671	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:19	3671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863163, '42374947')
2023-10-13	13:29:19	3671	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:19	3671	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-smoothies-mango-apple-none-unitaire' AND `virtuemart_product_id` != 1863163
2023-10-13	13:29:19	3671	[DEBUG]	Query for ProductLang
2023-10-13	13:29:19	3671	[DEBUG]	Executed store
2023-10-13	13:29:19	3671	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR SMOOTHIES MANGO APPLE / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-smoothies-mango-apple-none-unitaire' WHERE `virtuemart_product_id` = '1863163'
2023-10-13	13:29:19	3671	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39196_smoothies_mango_apple.jpg
2023-10-13	13:29:19	3671	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:29:19	3671	[DEBUG]	Process image file
2023-10-13	13:29:19	3671	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:29:19	3671	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:19	3671	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39196_smoothies_mango_apple.jpg
2023-10-13	13:29:19	3671	[DEBUG]	Full name target: bcprisme/39196_smoothies_mango_apple.jpg
2023-10-13	13:29:20	3671	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:20	3671	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39196_smoothies_mango_apple.jpg'
2023-10-13	13:29:20	3671	[DEBUG]	Query for Media
2023-10-13	13:29:20	3671	[DEBUG]	Executed store
2023-10-13	13:29:20	3671	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39196_smoothies_mango_apple.jpg',`file_url_thumb`='bcprisme/39196_smoothies_mango_apple.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1598653'
2023-10-13	13:29:20	3671	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:20	3671	[DEBUG]	Executed store
2023-10-13	13:29:20	3671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863163','1598653','1')
2023-10-13	13:29:20	3671	[DEBUG]	Store product image relation
2023-10-13	13:29:20	3671	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:20	3671	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863163 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:20	3671	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:20	3671	[DEBUG]	Executed store
2023-10-13	13:29:20	3671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863163','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:20	3671	[DEBUG]	Checking manufacturer
2023-10-13	13:29:20	3671	[DEBUG]	Load a row
2023-10-13	13:29:20	3671	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:20	3671	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:20	3671	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:20	3671	[DEBUG]	Executed store
2023-10-13	13:29:20	3671	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:20	3671	[DEBUG]	Manufacturer exists
2023-10-13	13:29:20	3671	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:20	3671	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:20	3671	[DEBUG]	Executed store
2023-10-13	13:29:20	3671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863163','121')
2023-10-13	13:29:20	3671	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:20	3671	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:20	3671	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863163 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:20	3671	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863163,3,'',1)
2023-10-13	13:29:20	3671	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:20	3671	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:20	3671	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863163 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:20	3671	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3671	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863163,6,'Unitaire',3)
2023-10-13	13:29:20	3671	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:20	3671	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:20	3671	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863162
2023-10-13	13:29:20	3671	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:20	3671	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863162\":[1863162,8,1,\"choisir la taille\"],\"1863163\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863162
2023-10-13	13:29:20	3671	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:20	3671	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863163
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:20	3672	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field taille
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:20	3672	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:20	3672	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:20	3672	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:20	3672	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:20	3672	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:20	3672	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:20	3672	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field published
2023-10-13	13:29:20	3672	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:20	3672	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field override
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:20	3672	[DEBUG]	Use field value for field slug
2023-10-13	13:29:20	3672	[DEBUG]	Process line 3672
2023-10-13	13:29:20	3672	[DEBUG]	Load a row
2023-10-13	13:29:20	3672	[DEBUG]	Processing item: A_9761_3
2023-10-13	13:29:20	3672	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:20	3672	[DEBUG]	Processing product tax
2023-10-13	13:29:20	3672	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:20	3672	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:20	3672	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:20	3672	[DEBUG]	Query for Product
2023-10-13	13:29:20	3672	[DEBUG]	Executed store
2023-10-13	13:29:20	3672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9761_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:20	3672	[DEBUG]	Check product language entry
2023-10-13	13:29:20	3672	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863164
2023-10-13	13:29:20	3672	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3672	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9761_3' AND `virtuemart_product_id` != 1863164
2023-10-13	13:29:20	3672	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:20	3672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863164, 'A_9761_3')
2023-10-13	13:29:20	3672	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3672	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-smoothies-banana-blueberry-none' AND `virtuemart_product_id` != 1863164
2023-10-13	13:29:20	3672	[DEBUG]	Query for ProductLang
2023-10-13	13:29:20	3672	[DEBUG]	Executed store
2023-10-13	13:29:20	3672	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 22568802',`product_name`='POWERBAR SMOOTHIES BANANA BLUEBERRY / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-smoothies-banana-blueberry-none' WHERE `virtuemart_product_id` = '1863164'
2023-10-13	13:29:20	3672	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:20	3672	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863164 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:20	3672	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:20	3672	[DEBUG]	Executed store
2023-10-13	13:29:20	3672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863164','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:20	3672	[DEBUG]	Checking manufacturer
2023-10-13	13:29:20	3672	[DEBUG]	Load a row
2023-10-13	13:29:20	3672	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:20	3672	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:20	3672	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:20	3672	[DEBUG]	Executed store
2023-10-13	13:29:20	3672	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:20	3672	[DEBUG]	Manufacturer exists
2023-10-13	13:29:20	3672	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:20	3672	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:20	3672	[DEBUG]	Executed store
2023-10-13	13:29:20	3672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863164','121')
2023-10-13	13:29:20	3672	[DEBUG]	Find the custom field ID
2023-10-13	13:29:20	3672	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:20	3672	[DEBUG]	No custom field ID found
2023-10-13	13:29:20	3672	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:20	3672	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:20	3672	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863164 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:20	3672	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863164,3,'0',1)
2023-10-13	13:29:20	3672	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:20	3672	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:20	3672	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863164 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:20	3672	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863164,6,'choisir la taille',3)
2023-10-13	13:29:20	3672	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:20	3672	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:20	3672	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:20	3672	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:20	3672	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863164 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:20	3672	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:20	3672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863164,8,1)
2023-10-13	13:29:20	3672	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:20	3672	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863164\":[1863164,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863164
2023-10-13	13:29:20	3672	[DEBUG]	Checking category
2023-10-13	13:29:20	3672	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:20	3672	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863164
2023-10-13	13:29:20	3672	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:20	3672	[DEBUG]	Executed store
2023-10-13	13:29:20	3672	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863164','7383')
2023-10-13	13:29:20	3672	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:20	3672	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863164 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:20	3672	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:20	3672	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863164
2023-10-13	13:29:20	3673	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:20	3673	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:20	3673	[DEBUG]	Use field value for field taille
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:20	3673	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:20	3673	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:20	3673	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:20	3673	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:20	3673	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:20	3673	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:20	3673	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:20	3673	[DEBUG]	Use field value for field published
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:20	3673	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field override
2023-10-13	13:29:20	3673	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:20	3673	[DEBUG]	Use field value for field slug
2023-10-13	13:29:20	3673	[DEBUG]	Process line 3673
2023-10-13	13:29:20	3673	[DEBUG]	Load a row
2023-10-13	13:29:20	3673	[DEBUG]	Processing item: 42374961
2023-10-13	13:29:20	3673	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:20	3673	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:20	3673	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9761_3'
2023-10-13	13:29:20	3673	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:20	3673	[DEBUG]	Processing product tax
2023-10-13	13:29:20	3673	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:20	3673	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:20	3673	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:20	3673	[DEBUG]	Query for Product
2023-10-13	13:29:20	3673	[DEBUG]	Executed store
2023-10-13	13:29:20	3673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863164','42374961','0','KG','M','','10','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:20	3673	[DEBUG]	No parent found
2023-10-13	13:29:20	3673	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863164 AND customfield_value = 'stockable'
2023-10-13	13:29:20	3673	[DEBUG]	Check product language entry
2023-10-13	13:29:20	3673	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863165
2023-10-13	13:29:20	3673	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3673	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '42374961' AND `virtuemart_product_id` != 1863165
2023-10-13	13:29:20	3673	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:20	3673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863165, '42374961')
2023-10-13	13:29:20	3673	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3673	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'powerbar-smoothies-banana-blueberry-none-unitaire' AND `virtuemart_product_id` != 1863165
2023-10-13	13:29:20	3673	[DEBUG]	Query for ProductLang
2023-10-13	13:29:20	3673	[DEBUG]	Executed store
2023-10-13	13:29:20	3673	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='POWERBAR SMOOTHIES BANANA BLUEBERRY / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='powerbar-smoothies-banana-blueberry-none-unitaire' WHERE `virtuemart_product_id` = '1863165'
2023-10-13	13:29:20	3673	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:20	3673	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863165 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:20	3673	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:20	3673	[DEBUG]	Executed store
2023-10-13	13:29:20	3673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863165','0','3.01764159702878','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:20	3673	[DEBUG]	Checking manufacturer
2023-10-13	13:29:20	3673	[DEBUG]	Load a row
2023-10-13	13:29:20	3673	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:20	3673	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:20	3673	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:20	3673	[DEBUG]	Executed store
2023-10-13	13:29:20	3673	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52381151965' WHERE `virtuemart_manufacturer_id` = '121'
2023-10-13	13:29:20	3673	[DEBUG]	Manufacturer exists
2023-10-13	13:29:20	3673	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 121
2023-10-13	13:29:20	3673	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:20	3673	[DEBUG]	Executed store
2023-10-13	13:29:20	3673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863165','121')
2023-10-13	13:29:20	3673	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:20	3673	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:20	3673	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863165 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:20	3673	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863165,3,'',1)
2023-10-13	13:29:20	3673	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:20	3673	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:20	3673	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863165 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:20	3673	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3673	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863165,6,'Unitaire',3)
2023-10-13	13:29:20	3673	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:20	3673	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:20	3673	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863164
2023-10-13	13:29:20	3673	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:20	3673	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863164\":[1863164,8,1,\"choisir la taille\"],\"1863165\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863164
2023-10-13	13:29:20	3673	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:20	3673	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863165
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:20	3674	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field taille
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:20	3674	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:20	3674	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:20	3674	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:20	3674	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:20	3674	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:20	3674	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field published
2023-10-13	13:29:20	3674	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:20	3674	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field override
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:20	3674	[DEBUG]	Use field value for field slug
2023-10-13	13:29:20	3674	[DEBUG]	Process line 3674
2023-10-13	13:29:20	3674	[DEBUG]	Load a row
2023-10-13	13:29:20	3674	[DEBUG]	Processing item: A_9769_3
2023-10-13	13:29:20	3674	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:20	3674	[DEBUG]	Processing product tax
2023-10-13	13:29:20	3674	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:20	3674	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:20	3674	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:20	3674	[DEBUG]	Query for Product
2023-10-13	13:29:20	3674	[DEBUG]	Executed store
2023-10-13	13:29:20	3674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9769_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:20	3674	[DEBUG]	Check product language entry
2023-10-13	13:29:20	3674	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863166
2023-10-13	13:29:20	3674	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3674	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9769_3' AND `virtuemart_product_id` != 1863166
2023-10-13	13:29:20	3674	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:20	3674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863166, 'A_9769_3')
2023-10-13	13:29:20	3674	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3674	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sponser-muscle-relax-4-unites-none' AND `virtuemart_product_id` != 1863166
2023-10-13	13:29:20	3674	[DEBUG]	Query for ProductLang
2023-10-13	13:29:20	3674	[DEBUG]	Executed store
2023-10-13	13:29:20	3674	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 04-620',`product_name`='SPONSER MUSCLE RELAX, 4 unités / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sponser-muscle-relax-4-unites-none' WHERE `virtuemart_product_id` = '1863166'
2023-10-13	13:29:20	3674	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39202_muscle_relax.jpg has not been found.
2023-10-13	13:29:20	3674	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:20	3674	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863166 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:20	3674	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:20	3674	[DEBUG]	Executed store
2023-10-13	13:29:20	3674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863166','0','14.8560817084494','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:20	3674	[DEBUG]	Checking manufacturer
2023-10-13	13:29:20	3674	[DEBUG]	Load a row
2023-10-13	13:29:20	3674	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:20	3674	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3674	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:20	3674	[DEBUG]	Executed store
2023-10-13	13:29:20	3674	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Pletscher',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher' WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3674	[DEBUG]	Manufacturer exists
2023-10-13	13:29:20	3674	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 304
2023-10-13	13:29:20	3674	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:20	3674	[DEBUG]	Executed store
2023-10-13	13:29:20	3674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863166','304')
2023-10-13	13:29:20	3674	[DEBUG]	Find the custom field ID
2023-10-13	13:29:20	3674	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:20	3674	[DEBUG]	No custom field ID found
2023-10-13	13:29:20	3674	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:20	3674	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:20	3674	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863166 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:20	3674	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863166,3,'0',1)
2023-10-13	13:29:20	3674	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:20	3674	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:20	3674	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863166 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:20	3674	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863166,6,'choisir la taille',3)
2023-10-13	13:29:20	3674	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:20	3674	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:20	3674	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:20	3674	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:20	3674	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863166 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:20	3674	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:20	3674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863166,8,1)
2023-10-13	13:29:20	3674	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:20	3674	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863166\":[1863166,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863166
2023-10-13	13:29:20	3674	[DEBUG]	Checking category
2023-10-13	13:29:20	3674	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:20	3674	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863166
2023-10-13	13:29:20	3674	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:20	3674	[DEBUG]	Executed store
2023-10-13	13:29:20	3674	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863166','7383')
2023-10-13	13:29:20	3674	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:20	3674	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863166 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:20	3674	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:20	3674	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863166
2023-10-13	13:29:20	3675	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:20	3675	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:20	3675	[DEBUG]	Use field value for field taille
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:20	3675	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:20	3675	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:20	3675	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:20	3675	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:20	3675	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:20	3675	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:20	3675	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:20	3675	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:20	3675	[DEBUG]	Use field value for field published
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:20	3675	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field override
2023-10-13	13:29:20	3675	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:20	3675	[DEBUG]	Use field value for field slug
2023-10-13	13:29:20	3675	[DEBUG]	Process line 3675
2023-10-13	13:29:20	3675	[DEBUG]	Load a row
2023-10-13	13:29:20	3675	[DEBUG]	Processing item: 7611174046201
2023-10-13	13:29:20	3675	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:20	3675	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:20	3675	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9769_3'
2023-10-13	13:29:20	3675	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:20	3675	[DEBUG]	Processing product tax
2023-10-13	13:29:20	3675	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:20	3675	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:20	3675	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:20	3675	[DEBUG]	Query for Product
2023-10-13	13:29:20	3675	[DEBUG]	Executed store
2023-10-13	13:29:20	3675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863166','7611174046201','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:20	3675	[DEBUG]	No parent found
2023-10-13	13:29:20	3675	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863166 AND customfield_value = 'stockable'
2023-10-13	13:29:20	3675	[DEBUG]	Check product language entry
2023-10-13	13:29:20	3675	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863167
2023-10-13	13:29:20	3675	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3675	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611174046201' AND `virtuemart_product_id` != 1863167
2023-10-13	13:29:20	3675	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:20	3675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863167, '7611174046201')
2023-10-13	13:29:20	3675	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3675	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sponser-muscle-relax-4-unites-none-unitaire' AND `virtuemart_product_id` != 1863167
2023-10-13	13:29:20	3675	[DEBUG]	Query for ProductLang
2023-10-13	13:29:20	3675	[DEBUG]	Executed store
2023-10-13	13:29:20	3675	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SPONSER MUSCLE RELAX, 4 unités / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sponser-muscle-relax-4-unites-none-unitaire' WHERE `virtuemart_product_id` = '1863167'
2023-10-13	13:29:20	3675	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39202_muscle_relax.jpg has not been found.
2023-10-13	13:29:20	3675	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:20	3675	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863167 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:20	3675	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:20	3675	[DEBUG]	Executed store
2023-10-13	13:29:20	3675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863167','0','14.8560817084494','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:20	3675	[DEBUG]	Checking manufacturer
2023-10-13	13:29:20	3675	[DEBUG]	Load a row
2023-10-13	13:29:20	3675	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:20	3675	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3675	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:20	3675	[DEBUG]	Executed store
2023-10-13	13:29:20	3675	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Pletscher',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher' WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3675	[DEBUG]	Manufacturer exists
2023-10-13	13:29:20	3675	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 304
2023-10-13	13:29:20	3675	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:20	3675	[DEBUG]	Executed store
2023-10-13	13:29:20	3675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863167','304')
2023-10-13	13:29:20	3675	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:20	3675	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:20	3675	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863167 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:20	3675	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863167,3,'',1)
2023-10-13	13:29:20	3675	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:20	3675	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:20	3675	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863167 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:20	3675	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3675	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863167,6,'Unitaire',3)
2023-10-13	13:29:20	3675	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:20	3675	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:20	3675	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863166
2023-10-13	13:29:20	3675	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:20	3675	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863166\":[1863166,8,1,\"choisir la taille\"],\"1863167\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863166
2023-10-13	13:29:20	3675	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:20	3675	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863167
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:20	3676	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field taille
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:20	3676	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:20	3676	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:20	3676	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:20	3676	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:20	3676	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:20	3676	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:20	3676	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field published
2023-10-13	13:29:20	3676	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:20	3676	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field override
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:20	3676	[DEBUG]	Use field value for field slug
2023-10-13	13:29:20	3676	[DEBUG]	Process line 3676
2023-10-13	13:29:20	3676	[DEBUG]	Load a row
2023-10-13	13:29:20	3676	[DEBUG]	Processing item: A_9771_3
2023-10-13	13:29:20	3676	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:20	3676	[DEBUG]	Processing product tax
2023-10-13	13:29:20	3676	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:20	3676	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:20	3676	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:20	3676	[DEBUG]	Query for Product
2023-10-13	13:29:20	3676	[DEBUG]	Executed store
2023-10-13	13:29:20	3676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9771_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:20	3676	[DEBUG]	Check product language entry
2023-10-13	13:29:20	3676	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863168
2023-10-13	13:29:20	3676	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3676	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9771_3' AND `virtuemart_product_id` != 1863168
2023-10-13	13:29:20	3676	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:20	3676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863168, 'A_9771_3')
2023-10-13	13:29:20	3676	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3676	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sponser-liquid-energy-gels-bcaa-avec-taurin-strawberry-banana-none' AND `virtuemart_product_id` != 1863168
2023-10-13	13:29:20	3676	[DEBUG]	Query for ProductLang
2023-10-13	13:29:20	3676	[DEBUG]	Executed store
2023-10-13	13:29:20	3676	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 17-400',`product_name`='SPONSER LIQUID ENERGY GELS BCAA avec Taurin STRAWBERRY-BANANA / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sponser-liquid-energy-gels-bcaa-avec-taurin-strawberry-banana-none' WHERE `virtuemart_product_id` = '1863168'
2023-10-13	13:29:20	3676	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:20	3676	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863168 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:20	3676	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:20	3676	[DEBUG]	Executed store
2023-10-13	13:29:20	3676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863168','0','3.34261838440111','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:20	3676	[DEBUG]	Checking manufacturer
2023-10-13	13:29:20	3676	[DEBUG]	Load a row
2023-10-13	13:29:20	3676	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:20	3676	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3676	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:20	3676	[DEBUG]	Executed store
2023-10-13	13:29:20	3676	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Pletscher',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher' WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3676	[DEBUG]	Manufacturer exists
2023-10-13	13:29:20	3676	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 304
2023-10-13	13:29:20	3676	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:20	3676	[DEBUG]	Executed store
2023-10-13	13:29:20	3676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863168','304')
2023-10-13	13:29:20	3676	[DEBUG]	Find the custom field ID
2023-10-13	13:29:20	3676	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:20	3676	[DEBUG]	No custom field ID found
2023-10-13	13:29:20	3676	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:20	3676	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:20	3676	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863168 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:20	3676	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863168,3,'0',1)
2023-10-13	13:29:20	3676	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:20	3676	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:20	3676	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863168 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:20	3676	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863168,6,'choisir la taille',3)
2023-10-13	13:29:20	3676	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:20	3676	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:20	3676	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:20	3676	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:20	3676	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863168 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:20	3676	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:20	3676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863168,8,1)
2023-10-13	13:29:20	3676	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:20	3676	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863168\":[1863168,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863168
2023-10-13	13:29:20	3676	[DEBUG]	Checking category
2023-10-13	13:29:20	3676	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:20	3676	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863168
2023-10-13	13:29:20	3676	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:20	3676	[DEBUG]	Executed store
2023-10-13	13:29:20	3676	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863168','7383')
2023-10-13	13:29:20	3676	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:20	3676	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863168 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:20	3676	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:20	3676	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863168
2023-10-13	13:29:20	3677	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:20	3677	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:20	3677	[DEBUG]	Use field value for field taille
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:20	3677	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:20	3677	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:20	3677	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:20	3677	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:20	3677	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:20	3677	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:20	3677	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:20	3677	[DEBUG]	Use field value for field published
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:20	3677	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field override
2023-10-13	13:29:20	3677	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:20	3677	[DEBUG]	Use field value for field slug
2023-10-13	13:29:20	3677	[DEBUG]	Process line 3677
2023-10-13	13:29:20	3677	[DEBUG]	Load a row
2023-10-13	13:29:20	3677	[DEBUG]	Processing item: 7611174174003
2023-10-13	13:29:20	3677	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:20	3677	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:20	3677	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9771_3'
2023-10-13	13:29:20	3677	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:20	3677	[DEBUG]	Processing product tax
2023-10-13	13:29:20	3677	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:20	3677	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:20	3677	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:20	3677	[DEBUG]	Query for Product
2023-10-13	13:29:20	3677	[DEBUG]	Executed store
2023-10-13	13:29:20	3677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863168','7611174174003','0','KG','M','','18','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:20	3677	[DEBUG]	No parent found
2023-10-13	13:29:20	3677	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863168 AND customfield_value = 'stockable'
2023-10-13	13:29:20	3677	[DEBUG]	Check product language entry
2023-10-13	13:29:20	3677	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863169
2023-10-13	13:29:20	3677	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3677	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611174174003' AND `virtuemart_product_id` != 1863169
2023-10-13	13:29:20	3677	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:20	3677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863169, '7611174174003')
2023-10-13	13:29:20	3677	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3677	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sponser-liquid-energy-gels-bcaa-avec-taurin-strawberry-banana-none-unitaire' AND `virtuemart_product_id` != 1863169
2023-10-13	13:29:20	3677	[DEBUG]	Query for ProductLang
2023-10-13	13:29:20	3677	[DEBUG]	Executed store
2023-10-13	13:29:20	3677	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SPONSER LIQUID ENERGY GELS BCAA avec Taurin STRAWBERRY-BANANA / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sponser-liquid-energy-gels-bcaa-avec-taurin-strawberry-banana-none-unitaire' WHERE `virtuemart_product_id` = '1863169'
2023-10-13	13:29:20	3677	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:20	3677	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863169 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:20	3677	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:20	3677	[DEBUG]	Executed store
2023-10-13	13:29:20	3677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863169','0','3.34261838440111','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:20	3677	[DEBUG]	Checking manufacturer
2023-10-13	13:29:20	3677	[DEBUG]	Load a row
2023-10-13	13:29:20	3677	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:20	3677	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3677	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:20	3677	[DEBUG]	Executed store
2023-10-13	13:29:20	3677	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Pletscher',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher' WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3677	[DEBUG]	Manufacturer exists
2023-10-13	13:29:20	3677	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 304
2023-10-13	13:29:20	3677	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:20	3677	[DEBUG]	Executed store
2023-10-13	13:29:20	3677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863169','304')
2023-10-13	13:29:20	3677	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:20	3677	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:20	3677	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863169 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:20	3677	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863169,3,'',1)
2023-10-13	13:29:20	3677	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:20	3677	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:20	3677	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863169 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:20	3677	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3677	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863169,6,'Unitaire',3)
2023-10-13	13:29:20	3677	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:20	3677	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:20	3677	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863168
2023-10-13	13:29:20	3677	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:20	3677	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863168\":[1863168,8,1,\"choisir la taille\"],\"1863169\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863168
2023-10-13	13:29:20	3677	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:20	3677	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863169
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:20	3678	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field taille
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:20	3678	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:20	3678	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:20	3678	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:20	3678	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:20	3678	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:20	3678	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:20	3678	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field published
2023-10-13	13:29:20	3678	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:20	3678	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field override
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:20	3678	[DEBUG]	Use field value for field slug
2023-10-13	13:29:20	3678	[DEBUG]	Process line 3678
2023-10-13	13:29:20	3678	[DEBUG]	Load a row
2023-10-13	13:29:20	3678	[DEBUG]	Processing item: A_9773_3
2023-10-13	13:29:20	3678	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:20	3678	[DEBUG]	Processing product tax
2023-10-13	13:29:20	3678	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:20	3678	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:20	3678	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:20	3678	[DEBUG]	Query for Product
2023-10-13	13:29:20	3678	[DEBUG]	Executed store
2023-10-13	13:29:20	3678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9773_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:20	3678	[DEBUG]	Check product language entry
2023-10-13	13:29:20	3678	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863170
2023-10-13	13:29:20	3678	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3678	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9773_3' AND `virtuemart_product_id` != 1863170
2023-10-13	13:29:20	3678	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:20	3678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863170, 'A_9773_3')
2023-10-13	13:29:20	3678	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3678	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sponser-liquid-energy-gels-pure-none' AND `virtuemart_product_id` != 1863170
2023-10-13	13:29:20	3678	[DEBUG]	Query for ProductLang
2023-10-13	13:29:20	3678	[DEBUG]	Executed store
2023-10-13	13:29:20	3678	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 17-222',`product_name`='SPONSER LIQUID ENERGY GELS PURE / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sponser-liquid-energy-gels-pure-none' WHERE `virtuemart_product_id` = '1863170'
2023-10-13	13:29:20	3678	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:20	3678	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863170 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:20	3678	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:20	3678	[DEBUG]	Executed store
2023-10-13	13:29:20	3678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863170','0','3.1569173630455','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:20	3678	[DEBUG]	Checking manufacturer
2023-10-13	13:29:20	3678	[DEBUG]	Load a row
2023-10-13	13:29:20	3678	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:20	3678	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3678	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:20	3678	[DEBUG]	Executed store
2023-10-13	13:29:20	3678	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Pletscher',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher' WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3678	[DEBUG]	Manufacturer exists
2023-10-13	13:29:20	3678	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 304
2023-10-13	13:29:20	3678	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:20	3678	[DEBUG]	Executed store
2023-10-13	13:29:20	3678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863170','304')
2023-10-13	13:29:20	3678	[DEBUG]	Find the custom field ID
2023-10-13	13:29:20	3678	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:20	3678	[DEBUG]	No custom field ID found
2023-10-13	13:29:20	3678	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:20	3678	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:20	3678	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863170 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:20	3678	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863170,3,'0',1)
2023-10-13	13:29:20	3678	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:20	3678	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:20	3678	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863170 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:20	3678	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863170,6,'choisir la taille',3)
2023-10-13	13:29:20	3678	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:20	3678	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:20	3678	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:20	3678	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:20	3678	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863170 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:20	3678	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:20	3678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863170,8,1)
2023-10-13	13:29:20	3678	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:20	3678	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863170\":[1863170,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863170
2023-10-13	13:29:20	3678	[DEBUG]	Checking category
2023-10-13	13:29:20	3678	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:20	3678	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863170
2023-10-13	13:29:20	3678	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:20	3678	[DEBUG]	Executed store
2023-10-13	13:29:20	3678	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863170','7383')
2023-10-13	13:29:20	3678	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:20	3678	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863170 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:20	3678	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:20	3678	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863170
2023-10-13	13:29:20	3679	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:20	3679	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:20	3679	[DEBUG]	Use field value for field taille
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:20	3679	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:20	3679	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:20	3679	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:20	3679	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:20	3679	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:20	3679	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:20	3679	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:20	3679	[DEBUG]	Use field value for field published
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:20	3679	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field override
2023-10-13	13:29:20	3679	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:20	3679	[DEBUG]	Use field value for field slug
2023-10-13	13:29:20	3679	[DEBUG]	Process line 3679
2023-10-13	13:29:20	3679	[DEBUG]	Load a row
2023-10-13	13:29:20	3679	[DEBUG]	Processing item: 7611174172221
2023-10-13	13:29:20	3679	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:20	3679	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:20	3679	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9773_3'
2023-10-13	13:29:20	3679	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:20	3679	[DEBUG]	Processing product tax
2023-10-13	13:29:20	3679	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:20	3679	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:20	3679	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:20	3679	[DEBUG]	Query for Product
2023-10-13	13:29:20	3679	[DEBUG]	Executed store
2023-10-13	13:29:20	3679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863170','7611174172221','0','KG','M','','18','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:20	3679	[DEBUG]	No parent found
2023-10-13	13:29:20	3679	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863170 AND customfield_value = 'stockable'
2023-10-13	13:29:20	3679	[DEBUG]	Check product language entry
2023-10-13	13:29:20	3679	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863171
2023-10-13	13:29:20	3679	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3679	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611174172221' AND `virtuemart_product_id` != 1863171
2023-10-13	13:29:20	3679	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:20	3679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863171, '7611174172221')
2023-10-13	13:29:20	3679	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3679	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sponser-liquid-energy-gels-pure-none-unitaire' AND `virtuemart_product_id` != 1863171
2023-10-13	13:29:20	3679	[DEBUG]	Query for ProductLang
2023-10-13	13:29:20	3679	[DEBUG]	Executed store
2023-10-13	13:29:20	3679	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SPONSER LIQUID ENERGY GELS PURE / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sponser-liquid-energy-gels-pure-none-unitaire' WHERE `virtuemart_product_id` = '1863171'
2023-10-13	13:29:20	3679	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:20	3679	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863171 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:20	3679	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:20	3679	[DEBUG]	Executed store
2023-10-13	13:29:20	3679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863171','0','3.1569173630455','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:20	3679	[DEBUG]	Checking manufacturer
2023-10-13	13:29:20	3679	[DEBUG]	Load a row
2023-10-13	13:29:20	3679	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:20	3679	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3679	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:20	3679	[DEBUG]	Executed store
2023-10-13	13:29:20	3679	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Pletscher',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher' WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3679	[DEBUG]	Manufacturer exists
2023-10-13	13:29:20	3679	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 304
2023-10-13	13:29:20	3679	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:20	3679	[DEBUG]	Executed store
2023-10-13	13:29:20	3679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863171','304')
2023-10-13	13:29:20	3679	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:20	3679	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:20	3679	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863171 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:20	3679	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863171,3,'',1)
2023-10-13	13:29:20	3679	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:20	3679	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:20	3679	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863171 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:20	3679	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3679	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863171,6,'Unitaire',3)
2023-10-13	13:29:20	3679	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:20	3679	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:20	3679	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863170
2023-10-13	13:29:20	3679	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:20	3679	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863170\":[1863170,8,1,\"choisir la taille\"],\"1863171\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863170
2023-10-13	13:29:20	3679	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:20	3679	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863171
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:20	3680	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field taille
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:20	3680	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:20	3680	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:20	3680	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:20	3680	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:20	3680	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:20	3680	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:20	3680	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field published
2023-10-13	13:29:20	3680	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:20	3680	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field override
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:20	3680	[DEBUG]	Use field value for field slug
2023-10-13	13:29:20	3680	[DEBUG]	Process line 3680
2023-10-13	13:29:20	3680	[DEBUG]	Load a row
2023-10-13	13:29:20	3680	[DEBUG]	Processing item: A_9774_3
2023-10-13	13:29:20	3680	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:20	3680	[DEBUG]	Processing product tax
2023-10-13	13:29:20	3680	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:20	3680	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:20	3680	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:20	3680	[DEBUG]	Query for Product
2023-10-13	13:29:20	3680	[DEBUG]	Executed store
2023-10-13	13:29:20	3680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9774_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:20	3680	[DEBUG]	Check product language entry
2023-10-13	13:29:20	3680	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863172
2023-10-13	13:29:20	3680	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3680	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9774_3' AND `virtuemart_product_id` != 1863172
2023-10-13	13:29:20	3680	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:20	3680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863172, 'A_9774_3')
2023-10-13	13:29:20	3680	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3680	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sponser-liquid-energy-gels-plus-cola-lemon-avec-cafeine-none' AND `virtuemart_product_id` != 1863172
2023-10-13	13:29:20	3680	[DEBUG]	Query for ProductLang
2023-10-13	13:29:20	3680	[DEBUG]	Executed store
2023-10-13	13:29:20	3680	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 17-323',`product_name`='SPONSER LIQUID ENERGY GELS PLUS COLA-LEMON avec caféine / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sponser-liquid-energy-gels-plus-cola-lemon-avec-cafeine-none' WHERE `virtuemart_product_id` = '1863172'
2023-10-13	13:29:20	3680	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:20	3680	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863172 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:20	3680	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:20	3680	[DEBUG]	Executed store
2023-10-13	13:29:20	3680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863172','0','3.1569173630455','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:20	3680	[DEBUG]	Checking manufacturer
2023-10-13	13:29:20	3680	[DEBUG]	Load a row
2023-10-13	13:29:20	3680	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:20	3680	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3680	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:20	3680	[DEBUG]	Executed store
2023-10-13	13:29:20	3680	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Pletscher',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher' WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3680	[DEBUG]	Manufacturer exists
2023-10-13	13:29:20	3680	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 304
2023-10-13	13:29:20	3680	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:20	3680	[DEBUG]	Executed store
2023-10-13	13:29:20	3680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863172','304')
2023-10-13	13:29:20	3680	[DEBUG]	Find the custom field ID
2023-10-13	13:29:20	3680	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:20	3680	[DEBUG]	No custom field ID found
2023-10-13	13:29:20	3680	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:20	3680	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:20	3680	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863172 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:20	3680	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863172,3,'0',1)
2023-10-13	13:29:20	3680	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:20	3680	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:20	3680	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863172 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:20	3680	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863172,6,'choisir la taille',3)
2023-10-13	13:29:20	3680	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:20	3680	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:20	3680	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:20	3680	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:20	3680	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863172 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:20	3680	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:20	3680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863172,8,1)
2023-10-13	13:29:20	3680	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:20	3680	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863172\":[1863172,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863172
2023-10-13	13:29:20	3680	[DEBUG]	Checking category
2023-10-13	13:29:20	3680	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:20	3680	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863172
2023-10-13	13:29:20	3680	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:20	3680	[DEBUG]	Executed store
2023-10-13	13:29:20	3680	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863172','7383')
2023-10-13	13:29:20	3680	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:20	3680	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863172 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:20	3680	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:20	3680	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863172
2023-10-13	13:29:20	3681	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:20	3681	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:20	3681	[DEBUG]	Use field value for field taille
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:20	3681	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:20	3681	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:20	3681	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:20	3681	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:20	3681	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:20	3681	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:20	3681	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:20	3681	[DEBUG]	Use field value for field published
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:20	3681	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field override
2023-10-13	13:29:20	3681	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:20	3681	[DEBUG]	Use field value for field slug
2023-10-13	13:29:20	3681	[DEBUG]	Process line 3681
2023-10-13	13:29:20	3681	[DEBUG]	Load a row
2023-10-13	13:29:20	3681	[DEBUG]	Processing item: 7611174173235
2023-10-13	13:29:20	3681	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:20	3681	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:20	3681	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9774_3'
2023-10-13	13:29:20	3681	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:20	3681	[DEBUG]	Processing product tax
2023-10-13	13:29:20	3681	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:20	3681	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:20	3681	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:20	3681	[DEBUG]	Query for Product
2023-10-13	13:29:20	3681	[DEBUG]	Executed store
2023-10-13	13:29:20	3681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863172','7611174173235','0','KG','M','','15','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:20	3681	[DEBUG]	No parent found
2023-10-13	13:29:20	3681	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863172 AND customfield_value = 'stockable'
2023-10-13	13:29:20	3681	[DEBUG]	Check product language entry
2023-10-13	13:29:20	3681	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863173
2023-10-13	13:29:20	3681	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3681	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7611174173235' AND `virtuemart_product_id` != 1863173
2023-10-13	13:29:20	3681	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:20	3681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863173, '7611174173235')
2023-10-13	13:29:20	3681	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3681	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sponser-liquid-energy-gels-plus-cola-lemon-avec-cafeine-none-unitaire' AND `virtuemart_product_id` != 1863173
2023-10-13	13:29:20	3681	[DEBUG]	Query for ProductLang
2023-10-13	13:29:20	3681	[DEBUG]	Executed store
2023-10-13	13:29:20	3681	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SPONSER LIQUID ENERGY GELS PLUS COLA-LEMON avec caféine / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sponser-liquid-energy-gels-plus-cola-lemon-avec-cafeine-none-unitaire' WHERE `virtuemart_product_id` = '1863173'
2023-10-13	13:29:20	3681	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:20	3681	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863173 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:20	3681	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:20	3681	[DEBUG]	Executed store
2023-10-13	13:29:20	3681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863173','0','3.1569173630455','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:20	3681	[DEBUG]	Checking manufacturer
2023-10-13	13:29:20	3681	[DEBUG]	Load a row
2023-10-13	13:29:20	3681	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:20	3681	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3681	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:20	3681	[DEBUG]	Executed store
2023-10-13	13:29:20	3681	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Pletscher',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher' WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3681	[DEBUG]	Manufacturer exists
2023-10-13	13:29:20	3681	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 304
2023-10-13	13:29:20	3681	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:20	3681	[DEBUG]	Executed store
2023-10-13	13:29:20	3681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863173','304')
2023-10-13	13:29:20	3681	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:20	3681	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:20	3681	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863173 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:20	3681	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863173,3,'',1)
2023-10-13	13:29:20	3681	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:20	3681	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:20	3681	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863173 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:20	3681	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3681	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863173,6,'Unitaire',3)
2023-10-13	13:29:20	3681	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:20	3681	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:20	3681	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863172
2023-10-13	13:29:20	3681	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:20	3681	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863172\":[1863172,8,1,\"choisir la taille\"],\"1863173\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863172
2023-10-13	13:29:20	3681	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:20	3681	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863173
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:20	3682	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field taille
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:20	3682	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:20	3682	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:20	3682	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:20	3682	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:20	3682	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:20	3682	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:20	3682	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field published
2023-10-13	13:29:20	3682	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:20	3682	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field override
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:20	3682	[DEBUG]	Use field value for field slug
2023-10-13	13:29:20	3682	[DEBUG]	Process line 3682
2023-10-13	13:29:20	3682	[DEBUG]	Load a row
2023-10-13	13:29:20	3682	[DEBUG]	Processing item: A_9775_3
2023-10-13	13:29:20	3682	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:20	3682	[DEBUG]	Processing product tax
2023-10-13	13:29:20	3682	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:20	3682	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:20	3682	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:20	3682	[DEBUG]	Query for Product
2023-10-13	13:29:20	3682	[DEBUG]	Executed store
2023-10-13	13:29:20	3682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9775_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:20	3682	[DEBUG]	Check product language entry
2023-10-13	13:29:20	3682	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863174
2023-10-13	13:29:20	3682	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3682	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9775_3' AND `virtuemart_product_id` != 1863174
2023-10-13	13:29:20	3682	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:20	3682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863174, 'A_9775_3')
2023-10-13	13:29:20	3682	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3682	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sponser-liquid-energy-gels-salty-none' AND `virtuemart_product_id` != 1863174
2023-10-13	13:29:20	3682	[DEBUG]	Query for ProductLang
2023-10-13	13:29:20	3682	[DEBUG]	Executed store
2023-10-13	13:29:20	3682	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 17-143',`product_name`='SPONSER LIQUID ENERGY GELS SALTY / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sponser-liquid-energy-gels-salty-none' WHERE `virtuemart_product_id` = '1863174'
2023-10-13	13:29:20	3682	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:20	3682	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863174 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:20	3682	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:20	3682	[DEBUG]	Executed store
2023-10-13	13:29:20	3682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863174','0','1.85701021355617','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:20	3682	[DEBUG]	Checking manufacturer
2023-10-13	13:29:20	3682	[DEBUG]	Load a row
2023-10-13	13:29:20	3682	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:20	3682	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3682	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:20	3682	[DEBUG]	Executed store
2023-10-13	13:29:20	3682	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Pletscher',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher' WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3682	[DEBUG]	Manufacturer exists
2023-10-13	13:29:20	3682	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 304
2023-10-13	13:29:20	3682	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:20	3682	[DEBUG]	Executed store
2023-10-13	13:29:20	3682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863174','304')
2023-10-13	13:29:20	3682	[DEBUG]	Find the custom field ID
2023-10-13	13:29:20	3682	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:20	3682	[DEBUG]	No custom field ID found
2023-10-13	13:29:20	3682	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:20	3682	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:20	3682	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863174 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:20	3682	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863174,3,'0',1)
2023-10-13	13:29:20	3682	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:20	3682	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:20	3682	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863174 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:20	3682	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863174,6,'choisir la taille',3)
2023-10-13	13:29:20	3682	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:20	3682	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:20	3682	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:20	3682	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:20	3682	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863174 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:20	3682	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:20	3682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863174,8,1)
2023-10-13	13:29:20	3682	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:20	3682	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863174\":[1863174,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863174
2023-10-13	13:29:20	3682	[DEBUG]	Checking category
2023-10-13	13:29:20	3682	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:20	3682	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863174
2023-10-13	13:29:20	3682	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:20	3682	[DEBUG]	Executed store
2023-10-13	13:29:20	3682	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863174','7383')
2023-10-13	13:29:20	3682	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:20	3682	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863174 AND `virtuemart_category_id` NOT IN (7383)
2023-10-13	13:29:20	3682	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:20	3682	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863174
2023-10-13	13:29:20	3683	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:20	3683	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:20	3683	[DEBUG]	Use field value for field taille
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:20	3683	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:20	3683	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:20	3683	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:20	3683	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:20	3683	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:20	3683	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:20	3683	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:20	3683	[DEBUG]	Use field value for field published
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:20	3683	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field override
2023-10-13	13:29:20	3683	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:20	3683	[DEBUG]	Use field value for field slug
2023-10-13	13:29:20	3683	[DEBUG]	Process line 3683
2023-10-13	13:29:20	3683	[DEBUG]	Load a row
2023-10-13	13:29:20	3683	[DEBUG]	Processing item: 10000178686477611174171439
2023-10-13	13:29:20	3683	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:20	3683	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:20	3683	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9775_3'
2023-10-13	13:29:20	3683	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:20	3683	[DEBUG]	Processing product tax
2023-10-13	13:29:20	3683	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:20	3683	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:20	3683	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:20	3683	[DEBUG]	Query for Product
2023-10-13	13:29:20	3683	[DEBUG]	Executed store
2023-10-13	13:29:20	3683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863174','10000178686477611174171439','0','KG','M','','39','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:20	3683	[DEBUG]	No parent found
2023-10-13	13:29:20	3683	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863174 AND customfield_value = 'stockable'
2023-10-13	13:29:20	3683	[DEBUG]	Check product language entry
2023-10-13	13:29:20	3683	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863175
2023-10-13	13:29:20	3683	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3683	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '10000178686477611174171439' AND `virtuemart_product_id` != 1863175
2023-10-13	13:29:20	3683	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:20	3683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863175, '10000178686477611174171439')
2023-10-13	13:29:20	3683	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3683	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'sponser-liquid-energy-gels-salty-none-unitaire' AND `virtuemart_product_id` != 1863175
2023-10-13	13:29:20	3683	[DEBUG]	Query for ProductLang
2023-10-13	13:29:20	3683	[DEBUG]	Executed store
2023-10-13	13:29:20	3683	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SPONSER LIQUID ENERGY GELS SALTY / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sponser-liquid-energy-gels-salty-none-unitaire' WHERE `virtuemart_product_id` = '1863175'
2023-10-13	13:29:20	3683	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:20	3683	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863175 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:20	3683	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:20	3683	[DEBUG]	Executed store
2023-10-13	13:29:20	3683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863175','0','1.85701021355617','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:20	3683	[DEBUG]	Checking manufacturer
2023-10-13	13:29:20	3683	[DEBUG]	Load a row
2023-10-13	13:29:20	3683	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:20	3683	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3683	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:20	3683	[DEBUG]	Executed store
2023-10-13	13:29:20	3683	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Pletscher',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher' WHERE `virtuemart_manufacturer_id` = '304'
2023-10-13	13:29:20	3683	[DEBUG]	Manufacturer exists
2023-10-13	13:29:20	3683	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 304
2023-10-13	13:29:20	3683	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:20	3683	[DEBUG]	Executed store
2023-10-13	13:29:20	3683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863175','304')
2023-10-13	13:29:20	3683	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:20	3683	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:20	3683	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863175 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:20	3683	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863175,3,'',1)
2023-10-13	13:29:20	3683	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:20	3683	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:20	3683	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863175 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:20	3683	[DEBUG]	Store custom available field
2023-10-13	13:29:20	3683	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863175,6,'Unitaire',3)
2023-10-13	13:29:20	3683	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:20	3683	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:20	3683	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863174
2023-10-13	13:29:20	3683	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:20	3683	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863174\":[1863174,8,1,\"choisir la taille\"],\"1863175\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863174
2023-10-13	13:29:20	3683	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:20	3683	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863175
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:20	3684	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field taille
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:20	3684	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:20	3684	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:20	3684	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:20	3684	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:20	3684	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:20	3684	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field published
2023-10-13	13:29:20	3684	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:20	3684	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field override
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:20	3684	[DEBUG]	Use field value for field slug
2023-10-13	13:29:20	3684	[DEBUG]	Process line 3684
2023-10-13	13:29:20	3684	[DEBUG]	Load a row
2023-10-13	13:29:20	3684	[DEBUG]	Processing item: A_5446_237
2023-10-13	13:29:20	3684	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:20	3684	[DEBUG]	Processing product tax
2023-10-13	13:29:20	3684	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:20	3684	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:20	3684	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:20	3684	[DEBUG]	Query for Product
2023-10-13	13:29:20	3684	[DEBUG]	Executed store
2023-10-13	13:29:20	3684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5446_237','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:20	3684	[DEBUG]	Check product language entry
2023-10-13	13:29:20	3684	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863176
2023-10-13	13:29:20	3684	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3684	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5446_237' AND `virtuemart_product_id` != 1863176
2023-10-13	13:29:20	3684	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:20	3684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863176, 'A_5446_237')
2023-10-13	13:29:20	3684	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:20	3684	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-doggy-bag-gris-noir-gris-noir' AND `virtuemart_product_id` != 1863176
2023-10-13	13:29:20	3684	[DEBUG]	Query for ProductLang
2023-10-13	13:29:20	3684	[DEBUG]	Executed store
2023-10-13	13:29:20	3684	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Ce panier pour chien KLICKfix est destinée à tous ceux qui souhaitent emmener leur fidèle compagnon avec eux. Il possède une grande poche avant pour ranger des objets de valeur. Il dispose aussi d\'une protection enroulable contre la pluie et le vent. Une laisse de sécurité réglable fait également partie de l\'ensemble. Ce panier est livré sans adaptateur de guidon.<br>N° art fourn : 26.168',`product_name`='KLICKfix Panier de guidon Doggy Bag gris-noir / GRIS/NOIR',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-doggy-bag-gris-noir-gris-noir' WHERE `virtuemart_product_id` = '1863176'
2023-10-13	13:29:20	3684	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29933_panier_avant_klickfix_doggy_bag_gris-noir.jpg
2023-10-13	13:29:20	3684	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:20	3684	[DEBUG]	Process image file
2023-10-13	13:29:20	3684	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:20	3684	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:20	3684	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29933_panier_avant_klickfix_doggy_bag_gris-noir.jpg
2023-10-13	13:29:20	3684	[DEBUG]	Full name target: bcprisme/29933_panier_avant_klickfix_doggy_bag_gris-noir.jpg
2023-10-13	13:29:21	3684	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:21	3684	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29933_panier_avant_klickfix_doggy_bag_gris-noir.jpg'
2023-10-13	13:29:21	3684	[DEBUG]	Query for Media
2023-10-13	13:29:21	3684	[DEBUG]	Executed store
2023-10-13	13:29:21	3684	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29933_panier_avant_klickfix_doggy_bag_gris-noir.jpg',`file_url_thumb`='bcprisme/29933_panier_avant_klickfix_doggy_bag_gris-noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1256511'
2023-10-13	13:29:21	3684	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:21	3684	[DEBUG]	Executed store
2023-10-13	13:29:21	3684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863176','1256511','1')
2023-10-13	13:29:21	3684	[DEBUG]	Store product image relation
2023-10-13	13:29:21	3684	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:21	3684	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863176 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:21	3684	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:21	3684	[DEBUG]	Executed store
2023-10-13	13:29:21	3684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863176','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:21	3684	[DEBUG]	Checking manufacturer
2023-10-13	13:29:21	3684	[DEBUG]	Load a row
2023-10-13	13:29:21	3684	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:21	3684	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:21	3684	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:21	3684	[DEBUG]	Executed store
2023-10-13	13:29:21	3684	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:21	3684	[DEBUG]	Manufacturer exists
2023-10-13	13:29:21	3684	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:29:21	3684	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:21	3684	[DEBUG]	Executed store
2023-10-13	13:29:21	3684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863176','146')
2023-10-13	13:29:21	3684	[DEBUG]	Find the custom field ID
2023-10-13	13:29:21	3684	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:21	3684	[DEBUG]	No custom field ID found
2023-10-13	13:29:21	3684	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:21	3684	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:21	3684	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863176 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:21	3684	[DEBUG]	Store custom available field
2023-10-13	13:29:21	3684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863176,3,'0',1)
2023-10-13	13:29:21	3684	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:21	3684	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:21	3684	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863176 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:21	3684	[DEBUG]	Store custom available field
2023-10-13	13:29:21	3684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863176,6,'choisir la taille',3)
2023-10-13	13:29:21	3684	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:21	3684	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:21	3684	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:21	3684	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:21	3684	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863176 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:21	3684	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:21	3684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863176,8,1)
2023-10-13	13:29:21	3684	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:21	3684	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863176\":[1863176,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863176
2023-10-13	13:29:21	3684	[DEBUG]	Checking category
2023-10-13	13:29:21	3684	[DEBUG]	Check if category path exists: PANIER-SACOCHE
2023-10-13	13:29:21	3684	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PANIER-SACOCHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:29:21	3684	[DEBUG]	Check if category path exists: PANIER-SACOCHE
2023-10-13	13:29:21	3684	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PANIER-SACOCHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7384
2023-10-13	13:29:21	3684	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:21	3684	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863176
2023-10-13	13:29:21	3684	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:21	3684	[DEBUG]	Executed store
2023-10-13	13:29:21	3684	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863176','7385')
2023-10-13	13:29:21	3684	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:21	3684	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863176 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:21	3684	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:21	3684	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863176
2023-10-13	13:29:21	3685	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:21	3685	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:21	3685	[DEBUG]	Use field value for field taille
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:21	3685	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:21	3685	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:21	3685	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:21	3685	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:21	3685	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:21	3685	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:21	3685	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:21	3685	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:21	3685	[DEBUG]	Use field value for field published
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:21	3685	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field override
2023-10-13	13:29:21	3685	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:21	3685	[DEBUG]	Use field value for field slug
2023-10-13	13:29:22	3685	[DEBUG]	Process line 3685
2023-10-13	13:29:22	3685	[DEBUG]	Load a row
2023-10-13	13:29:22	3685	[DEBUG]	Processing item: 4030572002221
2023-10-13	13:29:22	3685	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:22	3685	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:22	3685	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5446_237'
2023-10-13	13:29:22	3685	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:22	3685	[DEBUG]	Processing product tax
2023-10-13	13:29:22	3685	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:22	3685	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:22	3685	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:22	3685	[DEBUG]	Query for Product
2023-10-13	13:29:22	3685	[DEBUG]	Executed store
2023-10-13	13:29:22	3685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863176','4030572002221','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:22	3685	[DEBUG]	No parent found
2023-10-13	13:29:22	3685	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863176 AND customfield_value = 'stockable'
2023-10-13	13:29:22	3685	[DEBUG]	Check product language entry
2023-10-13	13:29:22	3685	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863177
2023-10-13	13:29:22	3685	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:22	3685	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572002221' AND `virtuemart_product_id` != 1863177
2023-10-13	13:29:22	3685	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:22	3685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863177, '4030572002221')
2023-10-13	13:29:22	3685	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:22	3685	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-doggy-bag-gris-noir-gris-noir-unitaire' AND `virtuemart_product_id` != 1863177
2023-10-13	13:29:22	3685	[DEBUG]	Query for ProductLang
2023-10-13	13:29:22	3685	[DEBUG]	Executed store
2023-10-13	13:29:22	3685	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKfix Panier de guidon Doggy Bag gris-noir / GRIS/NOIR (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-doggy-bag-gris-noir-gris-noir-unitaire' WHERE `virtuemart_product_id` = '1863177'
2023-10-13	13:29:22	3685	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29933_panier_avant_klickfix_doggy_bag_gris-noir.jpg
2023-10-13	13:29:22	3685	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:22	3685	[DEBUG]	Process image file
2023-10-13	13:29:22	3685	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:22	3685	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:22	3685	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29933_panier_avant_klickfix_doggy_bag_gris-noir.jpg
2023-10-13	13:29:22	3685	[DEBUG]	Full name target: bcprisme/29933_panier_avant_klickfix_doggy_bag_gris-noir.jpg
2023-10-13	13:29:22	3685	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:22	3685	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29933_panier_avant_klickfix_doggy_bag_gris-noir.jpg'
2023-10-13	13:29:22	3685	[DEBUG]	Query for Media
2023-10-13	13:29:22	3685	[DEBUG]	Executed store
2023-10-13	13:29:22	3685	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29933_panier_avant_klickfix_doggy_bag_gris-noir.jpg',`file_url_thumb`='bcprisme/29933_panier_avant_klickfix_doggy_bag_gris-noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1256511'
2023-10-13	13:29:22	3685	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:22	3685	[DEBUG]	Executed store
2023-10-13	13:29:22	3685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863177','1256511','1')
2023-10-13	13:29:22	3685	[DEBUG]	Store product image relation
2023-10-13	13:29:22	3685	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:22	3685	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863177 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:22	3685	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:22	3685	[DEBUG]	Executed store
2023-10-13	13:29:22	3685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863177','0','111.327762302693','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:22	3685	[DEBUG]	Checking manufacturer
2023-10-13	13:29:22	3685	[DEBUG]	Load a row
2023-10-13	13:29:22	3685	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:22	3685	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:22	3685	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:22	3685	[DEBUG]	Executed store
2023-10-13	13:29:22	3685	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:22	3685	[DEBUG]	Manufacturer exists
2023-10-13	13:29:23	3685	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:29:23	3685	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:23	3685	[DEBUG]	Executed store
2023-10-13	13:29:23	3685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863177','146')
2023-10-13	13:29:23	3685	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:23	3685	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:23	3685	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863177 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:23	3685	[DEBUG]	Store custom available field
2023-10-13	13:29:23	3685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863177,3,'',1)
2023-10-13	13:29:23	3685	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:23	3685	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:23	3685	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863177 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:23	3685	[DEBUG]	Store custom available field
2023-10-13	13:29:23	3685	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863177,6,'Unitaire',3)
2023-10-13	13:29:23	3685	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:23	3685	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:23	3685	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863176
2023-10-13	13:29:23	3685	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:23	3685	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863176\":[1863176,8,1,\"choisir la taille\"],\"1863177\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863176
2023-10-13	13:29:23	3685	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:23	3685	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863177
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:23	3686	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field taille
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:23	3686	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:23	3686	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:23	3686	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:23	3686	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:23	3686	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:23	3686	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:23	3686	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field published
2023-10-13	13:29:23	3686	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:23	3686	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field override
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:23	3686	[DEBUG]	Use field value for field slug
2023-10-13	13:29:23	3686	[DEBUG]	Process line 3686
2023-10-13	13:29:23	3686	[DEBUG]	Load a row
2023-10-13	13:29:23	3686	[DEBUG]	Processing item: A_5451_42
2023-10-13	13:29:23	3686	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:23	3686	[DEBUG]	Processing product tax
2023-10-13	13:29:23	3686	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:23	3686	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:23	3686	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:23	3686	[DEBUG]	Query for Product
2023-10-13	13:29:23	3686	[DEBUG]	Executed store
2023-10-13	13:29:23	3686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5451_42','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:23	3686	[DEBUG]	Check product language entry
2023-10-13	13:29:23	3686	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863178
2023-10-13	13:29:23	3686	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:23	3686	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5451_42' AND `virtuemart_product_id` != 1863178
2023-10-13	13:29:23	3686	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:23	3686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863178, 'A_5451_42')
2023-10-13	13:29:23	3686	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:23	3686	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-structura-oval-39x28x24cm-16-liter-brun' AND `virtuemart_product_id` != 1863178
2023-10-13	13:29:23	3686	[DEBUG]	Query for ProductLang
2023-10-13	13:29:23	3686	[DEBUG]	Executed store
2023-10-13	13:29:23	3686	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le panier de guidon KLICKfix Structura Oval, avec son style élégant, attire tous les regards. Il est constitué de plastique tressé robuste et possède une poignée de transport confortable. Avec un volume de 16 litres et un chargement maximal de 7 kg, ce panier de guidon est particulièrement utile pour aller faire des achats.<br>N° art fourn : 480.003.003',`product_name`='KLICKfix Panier de guidon Structura Oval 39x28x24cm 16 liter / Brun',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-structura-oval-39x28x24cm-16-liter-brun' WHERE `virtuemart_product_id` = '1863178'
2023-10-13	13:29:23	3686	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29938_panier_structura_oval_39x28x24cm_16_liter.jpg has not been found.
2023-10-13	13:29:23	3686	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:23	3686	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863178 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:23	3686	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:23	3686	[DEBUG]	Executed store
2023-10-13	13:29:23	3686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863178','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:23	3686	[DEBUG]	Checking manufacturer
2023-10-13	13:29:23	3686	[DEBUG]	Load a row
2023-10-13	13:29:23	3686	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:23	3686	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:23	3686	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:23	3686	[DEBUG]	Executed store
2023-10-13	13:29:23	3686	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:23	3686	[DEBUG]	Manufacturer exists
2023-10-13	13:29:23	3686	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:29:23	3686	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:23	3686	[DEBUG]	Executed store
2023-10-13	13:29:23	3686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863178','146')
2023-10-13	13:29:23	3686	[DEBUG]	Find the custom field ID
2023-10-13	13:29:23	3686	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:23	3686	[DEBUG]	No custom field ID found
2023-10-13	13:29:23	3686	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:23	3686	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:23	3686	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863178 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:23	3686	[DEBUG]	Store custom available field
2023-10-13	13:29:23	3686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863178,3,'0',1)
2023-10-13	13:29:23	3686	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:23	3686	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:23	3686	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863178 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:23	3686	[DEBUG]	Store custom available field
2023-10-13	13:29:23	3686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863178,6,'choisir la taille',3)
2023-10-13	13:29:23	3686	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:23	3686	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:23	3686	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:23	3686	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:23	3686	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863178 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:23	3686	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:23	3686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863178,8,1)
2023-10-13	13:29:23	3686	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:23	3686	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863178\":[1863178,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863178
2023-10-13	13:29:23	3686	[DEBUG]	Checking category
2023-10-13	13:29:23	3686	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:23	3686	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863178
2023-10-13	13:29:23	3686	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:23	3686	[DEBUG]	Executed store
2023-10-13	13:29:23	3686	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863178','7385')
2023-10-13	13:29:23	3686	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:23	3686	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863178 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:23	3686	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:23	3686	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863178
2023-10-13	13:29:23	3687	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:23	3687	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:23	3687	[DEBUG]	Use field value for field taille
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:23	3687	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:23	3687	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:23	3687	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:23	3687	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:23	3687	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:23	3687	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:23	3687	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:23	3687	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:23	3687	[DEBUG]	Use field value for field published
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:23	3687	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field override
2023-10-13	13:29:23	3687	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:23	3687	[DEBUG]	Use field value for field slug
2023-10-13	13:29:23	3687	[DEBUG]	Process line 3687
2023-10-13	13:29:23	3687	[DEBUG]	Load a row
2023-10-13	13:29:23	3687	[DEBUG]	Processing item: 4030572102921
2023-10-13	13:29:23	3687	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:23	3687	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:23	3687	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5451_42'
2023-10-13	13:29:23	3687	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:23	3687	[DEBUG]	Processing product tax
2023-10-13	13:29:23	3687	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:23	3687	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:23	3687	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:23	3687	[DEBUG]	Query for Product
2023-10-13	13:29:23	3687	[DEBUG]	Executed store
2023-10-13	13:29:23	3687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863178','4030572102921','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:23	3687	[DEBUG]	No parent found
2023-10-13	13:29:23	3687	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863178 AND customfield_value = 'stockable'
2023-10-13	13:29:23	3687	[DEBUG]	Check product language entry
2023-10-13	13:29:23	3687	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863179
2023-10-13	13:29:23	3687	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:23	3687	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572102921' AND `virtuemart_product_id` != 1863179
2023-10-13	13:29:23	3687	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:23	3687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863179, '4030572102921')
2023-10-13	13:29:23	3687	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:23	3687	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-structura-oval-39x28x24cm-16-liter-brun-unitaire' AND `virtuemart_product_id` != 1863179
2023-10-13	13:29:23	3687	[DEBUG]	Query for ProductLang
2023-10-13	13:29:23	3687	[DEBUG]	Executed store
2023-10-13	13:29:23	3687	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKfix Panier de guidon Structura Oval 39x28x24cm 16 liter / Brun (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-structura-oval-39x28x24cm-16-liter-brun-unitaire' WHERE `virtuemart_product_id` = '1863179'
2023-10-13	13:29:23	3687	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29938_panier_structura_oval_39x28x24cm_16_liter.jpg has not been found.
2023-10-13	13:29:23	3687	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:23	3687	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863179 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:23	3687	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:23	3687	[DEBUG]	Executed store
2023-10-13	13:29:23	3687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863179','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:23	3687	[DEBUG]	Checking manufacturer
2023-10-13	13:29:23	3687	[DEBUG]	Load a row
2023-10-13	13:29:23	3687	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:23	3687	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:23	3687	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:23	3687	[DEBUG]	Executed store
2023-10-13	13:29:23	3687	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:23	3687	[DEBUG]	Manufacturer exists
2023-10-13	13:29:23	3687	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:29:23	3687	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:23	3687	[DEBUG]	Executed store
2023-10-13	13:29:23	3687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863179','146')
2023-10-13	13:29:23	3687	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:23	3687	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:23	3687	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863179 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:23	3687	[DEBUG]	Store custom available field
2023-10-13	13:29:23	3687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863179,3,'',1)
2023-10-13	13:29:23	3687	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:23	3687	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:23	3687	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863179 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:23	3687	[DEBUG]	Store custom available field
2023-10-13	13:29:23	3687	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863179,6,'Unitaire',3)
2023-10-13	13:29:23	3687	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:23	3687	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:23	3687	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863178
2023-10-13	13:29:23	3687	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:23	3687	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863178\":[1863178,8,1,\"choisir la taille\"],\"1863179\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863178
2023-10-13	13:29:23	3687	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:23	3687	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863179
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:23	3688	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field taille
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:23	3688	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:23	3688	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:23	3688	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:23	3688	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:23	3688	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:23	3688	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field published
2023-10-13	13:29:23	3688	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:23	3688	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field override
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:23	3688	[DEBUG]	Use field value for field slug
2023-10-13	13:29:23	3688	[DEBUG]	Process line 3688
2023-10-13	13:29:23	3688	[DEBUG]	Load a row
2023-10-13	13:29:23	3688	[DEBUG]	Processing item: A_5452_1
2023-10-13	13:29:23	3688	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:23	3688	[DEBUG]	Processing product tax
2023-10-13	13:29:23	3688	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:23	3688	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:23	3688	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:23	3688	[DEBUG]	Query for Product
2023-10-13	13:29:23	3688	[DEBUG]	Executed store
2023-10-13	13:29:23	3688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5452_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:23	3688	[DEBUG]	Check product language entry
2023-10-13	13:29:23	3688	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863180
2023-10-13	13:29:23	3688	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:23	3688	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5452_1' AND `virtuemart_product_id` != 1863180
2023-10-13	13:29:23	3688	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:23	3688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863180, 'A_5452_1')
2023-10-13	13:29:23	3688	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:23	3688	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-uni-noir-7-kg-maximum-noir' AND `virtuemart_product_id` != 1863180
2023-10-13	13:29:23	3688	[DEBUG]	Query for ProductLang
2023-10-13	13:29:23	3688	[DEBUG]	Executed store
2023-10-13	13:29:23	3688	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Un panier profond à maille serrée équipé d\'une poignée confortable pour le transport en dehors du vélo. Il est compatible avec le système KLICKfix. Il te suffit de choisir parmi les nombreux adaptateurs KLICKfix celui qui convient le mieux pour ton vélo.<br>N° art fourn : 48.120',`product_name`='KLICKfix Panier de guidon UNI NOIR 7 kg maximum / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-uni-noir-7-kg-maximum-noir' WHERE `virtuemart_product_id` = '1863180'
2023-10-13	13:29:23	3688	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29939_panier_avant_klickfix_uni_noir_7_kg_maximum.jpg
2023-10-13	13:29:23	3688	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:23	3688	[DEBUG]	Process image file
2023-10-13	13:29:23	3688	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:23	3688	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:23	3688	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29939_panier_avant_klickfix_uni_noir_7_kg_maximum.jpg
2023-10-13	13:29:23	3688	[DEBUG]	Full name target: bcprisme/29939_panier_avant_klickfix_uni_noir_7_kg_maximum.jpg
2023-10-13	13:29:24	3688	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:24	3688	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29939_panier_avant_klickfix_uni_noir_7_kg_maximum.jpg'
2023-10-13	13:29:24	3688	[DEBUG]	Query for Media
2023-10-13	13:29:24	3688	[DEBUG]	Executed store
2023-10-13	13:29:24	3688	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29939_panier_avant_klickfix_uni_noir_7_kg_maximum.jpg',`file_url_thumb`='bcprisme/29939_panier_avant_klickfix_uni_noir_7_kg_maximum.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135560'
2023-10-13	13:29:24	3688	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:24	3688	[DEBUG]	Executed store
2023-10-13	13:29:24	3688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863180','135560','1')
2023-10-13	13:29:24	3688	[DEBUG]	Store product image relation
2023-10-13	13:29:24	3688	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:24	3688	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863180 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:24	3688	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:24	3688	[DEBUG]	Executed store
2023-10-13	13:29:24	3688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863180','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:24	3688	[DEBUG]	Checking manufacturer
2023-10-13	13:29:24	3688	[DEBUG]	Load a row
2023-10-13	13:29:24	3688	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:24	3688	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:24	3688	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:24	3688	[DEBUG]	Executed store
2023-10-13	13:29:24	3688	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:24	3688	[DEBUG]	Manufacturer exists
2023-10-13	13:29:24	3688	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:29:24	3688	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:24	3688	[DEBUG]	Executed store
2023-10-13	13:29:24	3688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863180','146')
2023-10-13	13:29:24	3688	[DEBUG]	Find the custom field ID
2023-10-13	13:29:24	3688	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:24	3688	[DEBUG]	No custom field ID found
2023-10-13	13:29:24	3688	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:24	3688	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:24	3688	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863180 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:24	3688	[DEBUG]	Store custom available field
2023-10-13	13:29:24	3688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863180,3,'0',1)
2023-10-13	13:29:24	3688	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:24	3688	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:24	3688	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863180 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:24	3688	[DEBUG]	Store custom available field
2023-10-13	13:29:24	3688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863180,6,'choisir la taille',3)
2023-10-13	13:29:24	3688	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:24	3688	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:24	3688	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:24	3688	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:24	3688	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863180 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:24	3688	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:24	3688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863180,8,1)
2023-10-13	13:29:24	3688	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:24	3688	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863180\":[1863180,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863180
2023-10-13	13:29:24	3688	[DEBUG]	Checking category
2023-10-13	13:29:24	3688	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:24	3688	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863180
2023-10-13	13:29:24	3688	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:24	3688	[DEBUG]	Executed store
2023-10-13	13:29:24	3688	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863180','7385')
2023-10-13	13:29:24	3688	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:24	3688	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863180 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:24	3688	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:24	3688	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863180
2023-10-13	13:29:24	3689	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:24	3689	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:24	3689	[DEBUG]	Use field value for field taille
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:24	3689	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:24	3689	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:24	3689	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:24	3689	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:24	3689	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:24	3689	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:24	3689	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:24	3689	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:24	3689	[DEBUG]	Use field value for field published
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:24	3689	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field override
2023-10-13	13:29:24	3689	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:24	3689	[DEBUG]	Use field value for field slug
2023-10-13	13:29:24	3689	[DEBUG]	Process line 3689
2023-10-13	13:29:24	3689	[DEBUG]	Load a row
2023-10-13	13:29:24	3689	[DEBUG]	Processing item: 4018861001773
2023-10-13	13:29:24	3689	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:24	3689	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:24	3689	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5452_1'
2023-10-13	13:29:24	3689	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:24	3689	[DEBUG]	Processing product tax
2023-10-13	13:29:24	3689	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:24	3689	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:24	3689	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:24	3689	[DEBUG]	Query for Product
2023-10-13	13:29:24	3689	[DEBUG]	Executed store
2023-10-13	13:29:24	3689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863180','4018861001773','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:24	3689	[DEBUG]	No parent found
2023-10-13	13:29:24	3689	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863180 AND customfield_value = 'stockable'
2023-10-13	13:29:24	3689	[DEBUG]	Check product language entry
2023-10-13	13:29:24	3689	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863181
2023-10-13	13:29:24	3689	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:24	3689	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4018861001773' AND `virtuemart_product_id` != 1863181
2023-10-13	13:29:24	3689	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:24	3689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863181, '4018861001773')
2023-10-13	13:29:24	3689	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:24	3689	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-uni-noir-7-kg-maximum-noir-unitaire' AND `virtuemart_product_id` != 1863181
2023-10-13	13:29:24	3689	[DEBUG]	Query for ProductLang
2023-10-13	13:29:24	3689	[DEBUG]	Executed store
2023-10-13	13:29:24	3689	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKfix Panier de guidon UNI NOIR 7 kg maximum / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-uni-noir-7-kg-maximum-noir-unitaire' WHERE `virtuemart_product_id` = '1863181'
2023-10-13	13:29:24	3689	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29939_panier_avant_klickfix_uni_noir_7_kg_maximum.jpg
2023-10-13	13:29:24	3689	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:24	3689	[DEBUG]	Process image file
2023-10-13	13:29:24	3689	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:24	3689	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:24	3689	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29939_panier_avant_klickfix_uni_noir_7_kg_maximum.jpg
2023-10-13	13:29:24	3689	[DEBUG]	Full name target: bcprisme/29939_panier_avant_klickfix_uni_noir_7_kg_maximum.jpg
2023-10-13	13:29:25	3689	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:25	3689	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29939_panier_avant_klickfix_uni_noir_7_kg_maximum.jpg'
2023-10-13	13:29:25	3689	[DEBUG]	Query for Media
2023-10-13	13:29:25	3689	[DEBUG]	Executed store
2023-10-13	13:29:25	3689	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29939_panier_avant_klickfix_uni_noir_7_kg_maximum.jpg',`file_url_thumb`='bcprisme/29939_panier_avant_klickfix_uni_noir_7_kg_maximum.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135560'
2023-10-13	13:29:25	3689	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:25	3689	[DEBUG]	Executed store
2023-10-13	13:29:25	3689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863181','135560','1')
2023-10-13	13:29:25	3689	[DEBUG]	Store product image relation
2023-10-13	13:29:25	3689	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:25	3689	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863181 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:25	3689	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:25	3689	[DEBUG]	Executed store
2023-10-13	13:29:25	3689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863181','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:25	3689	[DEBUG]	Checking manufacturer
2023-10-13	13:29:25	3689	[DEBUG]	Load a row
2023-10-13	13:29:25	3689	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:25	3689	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:25	3689	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:25	3689	[DEBUG]	Executed store
2023-10-13	13:29:25	3689	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:25	3689	[DEBUG]	Manufacturer exists
2023-10-13	13:29:25	3689	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:29:25	3689	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:25	3689	[DEBUG]	Executed store
2023-10-13	13:29:25	3689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863181','146')
2023-10-13	13:29:25	3689	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:25	3689	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:25	3689	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863181 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:25	3689	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863181,3,'',1)
2023-10-13	13:29:25	3689	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:25	3689	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:25	3689	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863181 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:25	3689	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3689	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863181,6,'Unitaire',3)
2023-10-13	13:29:25	3689	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:25	3689	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:25	3689	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863180
2023-10-13	13:29:25	3689	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:25	3689	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863180\":[1863180,8,1,\"choisir la taille\"],\"1863181\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863180
2023-10-13	13:29:25	3689	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:25	3689	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863181
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:25	3690	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field taille
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:25	3690	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:25	3690	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:25	3690	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:25	3690	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:25	3690	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:25	3690	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:25	3690	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field published
2023-10-13	13:29:25	3690	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:25	3690	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field override
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:25	3690	[DEBUG]	Use field value for field slug
2023-10-13	13:29:25	3690	[DEBUG]	Process line 3690
2023-10-13	13:29:25	3690	[DEBUG]	Load a row
2023-10-13	13:29:25	3690	[DEBUG]	Processing item: A_5463_1
2023-10-13	13:29:25	3690	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:25	3690	[DEBUG]	Processing product tax
2023-10-13	13:29:25	3690	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:25	3690	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:25	3690	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:25	3690	[DEBUG]	Query for Product
2023-10-13	13:29:25	3690	[DEBUG]	Executed store
2023-10-13	13:29:25	3690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5463_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:25	3690	[DEBUG]	Check product language entry
2023-10-13	13:29:25	3690	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863182
2023-10-13	13:29:25	3690	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3690	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5463_1' AND `virtuemart_product_id` != 1863182
2023-10-13	13:29:25	3690	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:25	3690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863182, 'A_5463_1')
2023-10-13	13:29:25	3690	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3690	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-sacoche-de-guidon-akira-noir-noir' AND `virtuemart_product_id` != 1863182
2023-10-13	13:29:25	3690	[DEBUG]	Query for ProductLang
2023-10-13	13:29:25	3690	[DEBUG]	Executed store
2023-10-13	13:29:25	3690	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 28.68716',`product_name`='Agu Sacoche de guidon Akira noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-sacoche-de-guidon-akira-noir-noir' WHERE `virtuemart_product_id` = '1863182'
2023-10-13	13:29:25	3690	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_68716.jpg has not been found.
2023-10-13	13:29:25	3690	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:25	3690	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863182 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:25	3690	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:25	3690	[DEBUG]	Executed store
2023-10-13	13:29:25	3690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863182','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:25	3690	[DEBUG]	Checking manufacturer
2023-10-13	13:29:25	3690	[DEBUG]	Load a row
2023-10-13	13:29:25	3690	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:25	3690	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:29:25	3690	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:25	3690	[DEBUG]	Executed store
2023-10-13	13:29:25	3690	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:29:25	3690	[DEBUG]	Manufacturer exists
2023-10-13	13:29:25	3690	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	13:29:25	3690	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:25	3690	[DEBUG]	Executed store
2023-10-13	13:29:25	3690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863182','45')
2023-10-13	13:29:25	3690	[DEBUG]	Find the custom field ID
2023-10-13	13:29:25	3690	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:25	3690	[DEBUG]	No custom field ID found
2023-10-13	13:29:25	3690	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:25	3690	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:25	3690	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863182 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:25	3690	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863182,3,'0',1)
2023-10-13	13:29:25	3690	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:25	3690	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:25	3690	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863182 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:25	3690	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863182,6,'choisir la taille',3)
2023-10-13	13:29:25	3690	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:25	3690	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:25	3690	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:25	3690	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:25	3690	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863182 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:25	3690	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:25	3690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863182,8,1)
2023-10-13	13:29:25	3690	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:25	3690	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863182\":[1863182,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863182
2023-10-13	13:29:25	3690	[DEBUG]	Checking category
2023-10-13	13:29:25	3690	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:25	3690	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863182
2023-10-13	13:29:25	3690	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:25	3690	[DEBUG]	Executed store
2023-10-13	13:29:25	3690	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863182','7385')
2023-10-13	13:29:25	3690	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:25	3690	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863182 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:25	3690	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:25	3690	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863182
2023-10-13	13:29:25	3691	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:25	3691	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:25	3691	[DEBUG]	Use field value for field taille
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:25	3691	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:25	3691	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:25	3691	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:25	3691	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:25	3691	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:25	3691	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:25	3691	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:25	3691	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:25	3691	[DEBUG]	Use field value for field published
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:25	3691	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field override
2023-10-13	13:29:25	3691	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:25	3691	[DEBUG]	Use field value for field slug
2023-10-13	13:29:25	3691	[DEBUG]	Process line 3691
2023-10-13	13:29:25	3691	[DEBUG]	Load a row
2023-10-13	13:29:25	3691	[DEBUG]	Processing item: 8717565515758
2023-10-13	13:29:25	3691	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:25	3691	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:25	3691	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5463_1'
2023-10-13	13:29:25	3691	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:25	3691	[DEBUG]	Processing product tax
2023-10-13	13:29:25	3691	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:25	3691	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:25	3691	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:25	3691	[DEBUG]	Query for Product
2023-10-13	13:29:25	3691	[DEBUG]	Executed store
2023-10-13	13:29:25	3691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863182','8717565515758','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:25	3691	[DEBUG]	No parent found
2023-10-13	13:29:25	3691	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863182 AND customfield_value = 'stockable'
2023-10-13	13:29:25	3691	[DEBUG]	Check product language entry
2023-10-13	13:29:25	3691	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863183
2023-10-13	13:29:25	3691	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3691	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717565515758' AND `virtuemart_product_id` != 1863183
2023-10-13	13:29:25	3691	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:25	3691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863183, '8717565515758')
2023-10-13	13:29:25	3691	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3691	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-sacoche-de-guidon-akira-noir-noir-unitaire' AND `virtuemart_product_id` != 1863183
2023-10-13	13:29:25	3691	[DEBUG]	Query for ProductLang
2023-10-13	13:29:25	3691	[DEBUG]	Executed store
2023-10-13	13:29:25	3691	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Agu Sacoche de guidon Akira noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-sacoche-de-guidon-akira-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1863183'
2023-10-13	13:29:25	3691	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_68716.jpg has not been found.
2023-10-13	13:29:25	3691	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:25	3691	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863183 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:25	3691	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:25	3691	[DEBUG]	Executed store
2023-10-13	13:29:25	3691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863183','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:25	3691	[DEBUG]	Checking manufacturer
2023-10-13	13:29:25	3691	[DEBUG]	Load a row
2023-10-13	13:29:25	3691	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:25	3691	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:29:25	3691	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:25	3691	[DEBUG]	Executed store
2023-10-13	13:29:25	3691	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:29:25	3691	[DEBUG]	Manufacturer exists
2023-10-13	13:29:25	3691	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	13:29:25	3691	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:25	3691	[DEBUG]	Executed store
2023-10-13	13:29:25	3691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863183','45')
2023-10-13	13:29:25	3691	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:25	3691	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:25	3691	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863183 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:25	3691	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863183,3,'',1)
2023-10-13	13:29:25	3691	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:25	3691	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:25	3691	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863183 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:25	3691	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3691	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863183,6,'Unitaire',3)
2023-10-13	13:29:25	3691	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:25	3691	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:25	3691	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863182
2023-10-13	13:29:25	3691	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:25	3691	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863182\":[1863182,8,1,\"choisir la taille\"],\"1863183\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863182
2023-10-13	13:29:25	3691	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:25	3691	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863183
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:25	3692	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field taille
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:25	3692	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:25	3692	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:25	3692	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:25	3692	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:25	3692	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:25	3692	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:25	3692	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field published
2023-10-13	13:29:25	3692	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:25	3692	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field override
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:25	3692	[DEBUG]	Use field value for field slug
2023-10-13	13:29:25	3692	[DEBUG]	Process line 3692
2023-10-13	13:29:25	3692	[DEBUG]	Load a row
2023-10-13	13:29:25	3692	[DEBUG]	Processing item: A_5787_1
2023-10-13	13:29:25	3692	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:25	3692	[DEBUG]	Processing product tax
2023-10-13	13:29:25	3692	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:25	3692	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:25	3692	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:25	3692	[DEBUG]	Query for Product
2023-10-13	13:29:25	3692	[DEBUG]	Executed store
2023-10-13	13:29:25	3692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5787_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:25	3692	[DEBUG]	Check product language entry
2023-10-13	13:29:25	3692	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863184
2023-10-13	13:29:25	3692	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3692	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5787_1' AND `virtuemart_product_id` != 1863184
2023-10-13	13:29:25	3692	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:25	3692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863184, 'A_5787_1')
2023-10-13	13:29:25	3692	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3692	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-panier-pletcher-standard-pour-porte-bagage-40-x-24-x-19-cm-maille-fine-sans-adaptateur-noir' AND `virtuemart_product_id` != 1863184
2023-10-13	13:29:25	3692	[DEBUG]	Query for ProductLang
2023-10-13	13:29:25	3692	[DEBUG]	Executed store
2023-10-13	13:29:25	3692	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 37.54005',`product_name`='Pletscher Panier Pletcher  standard pour porte-bagage 40 x 24 x 19 cm maille fine sans adaptateur  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-panier-pletcher-standard-pour-porte-bagage-40-x-24-x-19-cm-maille-fine-sans-adaptateur-noir' WHERE `virtuemart_product_id` = '1863184'
2023-10-13	13:29:25	3692	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37_54005.jpg has not been found.
2023-10-13	13:29:25	3692	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:25	3692	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863184 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:25	3692	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:25	3692	[DEBUG]	Executed store
2023-10-13	13:29:25	3692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863184','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:25	3692	[DEBUG]	Checking manufacturer
2023-10-13	13:29:25	3692	[DEBUG]	Load a row
2023-10-13	13:29:25	3692	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:25	3692	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:25	3692	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:25	3692	[DEBUG]	Executed store
2023-10-13	13:29:25	3692	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:25	3692	[DEBUG]	Manufacturer exists
2023-10-13	13:29:25	3692	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:29:25	3692	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:25	3692	[DEBUG]	Executed store
2023-10-13	13:29:25	3692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863184','74')
2023-10-13	13:29:25	3692	[DEBUG]	Find the custom field ID
2023-10-13	13:29:25	3692	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:25	3692	[DEBUG]	No custom field ID found
2023-10-13	13:29:25	3692	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:25	3692	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:25	3692	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863184 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:25	3692	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863184,3,'0',1)
2023-10-13	13:29:25	3692	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:25	3692	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:25	3692	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863184 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:25	3692	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863184,6,'choisir la taille',3)
2023-10-13	13:29:25	3692	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:25	3692	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:25	3692	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:25	3692	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:25	3692	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863184 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:25	3692	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:25	3692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863184,8,1)
2023-10-13	13:29:25	3692	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:25	3692	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863184\":[1863184,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863184
2023-10-13	13:29:25	3692	[DEBUG]	Checking category
2023-10-13	13:29:25	3692	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:25	3692	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863184
2023-10-13	13:29:25	3692	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:25	3692	[DEBUG]	Executed store
2023-10-13	13:29:25	3692	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863184','7385')
2023-10-13	13:29:25	3692	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:25	3692	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863184 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:25	3692	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:25	3692	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863184
2023-10-13	13:29:25	3693	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:25	3693	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:25	3693	[DEBUG]	Use field value for field taille
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:25	3693	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:25	3693	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:25	3693	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:25	3693	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:25	3693	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:25	3693	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:25	3693	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:25	3693	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:25	3693	[DEBUG]	Use field value for field published
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:25	3693	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field override
2023-10-13	13:29:25	3693	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:25	3693	[DEBUG]	Use field value for field slug
2023-10-13	13:29:25	3693	[DEBUG]	Process line 3693
2023-10-13	13:29:25	3693	[DEBUG]	Load a row
2023-10-13	13:29:25	3693	[DEBUG]	Processing item: 1000000087208
2023-10-13	13:29:25	3693	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:25	3693	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:25	3693	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5787_1'
2023-10-13	13:29:25	3693	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:25	3693	[DEBUG]	Processing product tax
2023-10-13	13:29:25	3693	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:25	3693	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:25	3693	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:25	3693	[DEBUG]	Query for Product
2023-10-13	13:29:25	3693	[DEBUG]	Executed store
2023-10-13	13:29:25	3693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863184','1000000087208','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:25	3693	[DEBUG]	No parent found
2023-10-13	13:29:25	3693	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863184 AND customfield_value = 'stockable'
2023-10-13	13:29:25	3693	[DEBUG]	Check product language entry
2023-10-13	13:29:25	3693	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863185
2023-10-13	13:29:25	3693	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3693	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000087208' AND `virtuemart_product_id` != 1863185
2023-10-13	13:29:25	3693	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:25	3693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863185, '1000000087208')
2023-10-13	13:29:25	3693	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3693	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-panier-pletcher-standard-pour-porte-bagage-40-x-24-x-19-cm-maille-fine-sans-adaptateur-noir-unitaire' AND `virtuemart_product_id` != 1863185
2023-10-13	13:29:25	3693	[DEBUG]	Query for ProductLang
2023-10-13	13:29:25	3693	[DEBUG]	Executed store
2023-10-13	13:29:25	3693	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Panier Pletcher  standard pour porte-bagage 40 x 24 x 19 cm maille fine sans adaptateur  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-panier-pletcher-standard-pour-porte-bagage-40-x-24-x-19-cm-maille-fine-sans-adaptateur-noir-unitaire' WHERE `virtuemart_product_id` = '1863185'
2023-10-13	13:29:25	3693	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37_54005.jpg has not been found.
2023-10-13	13:29:25	3693	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:25	3693	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863185 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:25	3693	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:25	3693	[DEBUG]	Executed store
2023-10-13	13:29:25	3693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863185','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:25	3693	[DEBUG]	Checking manufacturer
2023-10-13	13:29:25	3693	[DEBUG]	Load a row
2023-10-13	13:29:25	3693	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:25	3693	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:25	3693	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:25	3693	[DEBUG]	Executed store
2023-10-13	13:29:25	3693	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:25	3693	[DEBUG]	Manufacturer exists
2023-10-13	13:29:25	3693	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:29:25	3693	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:25	3693	[DEBUG]	Executed store
2023-10-13	13:29:25	3693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863185','74')
2023-10-13	13:29:25	3693	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:25	3693	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:25	3693	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863185 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:25	3693	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863185,3,'',1)
2023-10-13	13:29:25	3693	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:25	3693	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:25	3693	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863185 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:25	3693	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3693	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863185,6,'Unitaire',3)
2023-10-13	13:29:25	3693	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:25	3693	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:25	3693	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863184
2023-10-13	13:29:25	3693	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:25	3693	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863184\":[1863184,8,1,\"choisir la taille\"],\"1863185\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863184
2023-10-13	13:29:25	3693	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:25	3693	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863185
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:25	3694	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field taille
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:25	3694	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:25	3694	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:25	3694	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:25	3694	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:25	3694	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:25	3694	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:25	3694	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field published
2023-10-13	13:29:25	3694	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:25	3694	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field override
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:25	3694	[DEBUG]	Use field value for field slug
2023-10-13	13:29:25	3694	[DEBUG]	Process line 3694
2023-10-13	13:29:25	3694	[DEBUG]	Load a row
2023-10-13	13:29:25	3694	[DEBUG]	Processing item: A_5788_1
2023-10-13	13:29:25	3694	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:25	3694	[DEBUG]	Processing product tax
2023-10-13	13:29:25	3694	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:25	3694	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:25	3694	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:25	3694	[DEBUG]	Query for Product
2023-10-13	13:29:25	3694	[DEBUG]	Executed store
2023-10-13	13:29:25	3694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5788_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:25	3694	[DEBUG]	Check product language entry
2023-10-13	13:29:25	3694	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863186
2023-10-13	13:29:25	3694	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3694	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5788_1' AND `virtuemart_product_id` != 1863186
2023-10-13	13:29:25	3694	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:25	3694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863186, 'A_5788_1')
2023-10-13	13:29:25	3694	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3694	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-panier-pletcher-standard-pour-porte-bagage-40-x-30-x-18-cm-maille-fine-sans-adaptateur-noir' AND `virtuemart_product_id` != 1863186
2023-10-13	13:29:25	3694	[DEBUG]	Query for ProductLang
2023-10-13	13:29:25	3694	[DEBUG]	Executed store
2023-10-13	13:29:25	3694	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 37.16804',`product_name`='Pletscher Panier Pletcher  standard pour porte-bagage 40 x 30 x 18 cm maille fine sans adaptateur  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-panier-pletcher-standard-pour-porte-bagage-40-x-30-x-18-cm-maille-fine-sans-adaptateur-noir' WHERE `virtuemart_product_id` = '1863186'
2023-10-13	13:29:25	3694	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37_16804.jpg has not been found.
2023-10-13	13:29:25	3694	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:25	3694	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863186 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:25	3694	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:25	3694	[DEBUG]	Executed store
2023-10-13	13:29:25	3694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863186','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:25	3694	[DEBUG]	Checking manufacturer
2023-10-13	13:29:25	3694	[DEBUG]	Load a row
2023-10-13	13:29:25	3694	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:25	3694	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:25	3694	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:25	3694	[DEBUG]	Executed store
2023-10-13	13:29:25	3694	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:25	3694	[DEBUG]	Manufacturer exists
2023-10-13	13:29:25	3694	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:29:25	3694	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:25	3694	[DEBUG]	Executed store
2023-10-13	13:29:25	3694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863186','74')
2023-10-13	13:29:25	3694	[DEBUG]	Find the custom field ID
2023-10-13	13:29:25	3694	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:25	3694	[DEBUG]	No custom field ID found
2023-10-13	13:29:25	3694	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:25	3694	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:25	3694	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863186 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:25	3694	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863186,3,'0',1)
2023-10-13	13:29:25	3694	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:25	3694	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:25	3694	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863186 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:25	3694	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863186,6,'choisir la taille',3)
2023-10-13	13:29:25	3694	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:25	3694	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:25	3694	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:25	3694	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:25	3694	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863186 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:25	3694	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:25	3694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863186,8,1)
2023-10-13	13:29:25	3694	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:25	3694	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863186\":[1863186,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863186
2023-10-13	13:29:25	3694	[DEBUG]	Checking category
2023-10-13	13:29:25	3694	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:25	3694	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863186
2023-10-13	13:29:25	3694	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:25	3694	[DEBUG]	Executed store
2023-10-13	13:29:25	3694	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863186','7385')
2023-10-13	13:29:25	3694	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:25	3694	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863186 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:25	3694	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:25	3694	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863186
2023-10-13	13:29:25	3695	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:25	3695	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:25	3695	[DEBUG]	Use field value for field taille
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:25	3695	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:25	3695	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:25	3695	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:25	3695	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:25	3695	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:25	3695	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:25	3695	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:25	3695	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:25	3695	[DEBUG]	Use field value for field published
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:25	3695	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field override
2023-10-13	13:29:25	3695	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:25	3695	[DEBUG]	Use field value for field slug
2023-10-13	13:29:25	3695	[DEBUG]	Process line 3695
2023-10-13	13:29:25	3695	[DEBUG]	Load a row
2023-10-13	13:29:25	3695	[DEBUG]	Processing item: 1000000087215
2023-10-13	13:29:25	3695	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:25	3695	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:25	3695	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5788_1'
2023-10-13	13:29:25	3695	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:25	3695	[DEBUG]	Processing product tax
2023-10-13	13:29:25	3695	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:25	3695	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:25	3695	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:25	3695	[DEBUG]	Query for Product
2023-10-13	13:29:25	3695	[DEBUG]	Executed store
2023-10-13	13:29:25	3695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863186','1000000087215','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:25	3695	[DEBUG]	No parent found
2023-10-13	13:29:25	3695	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863186 AND customfield_value = 'stockable'
2023-10-13	13:29:25	3695	[DEBUG]	Check product language entry
2023-10-13	13:29:25	3695	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863187
2023-10-13	13:29:25	3695	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3695	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000087215' AND `virtuemart_product_id` != 1863187
2023-10-13	13:29:25	3695	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:25	3695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863187, '1000000087215')
2023-10-13	13:29:25	3695	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3695	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-panier-pletcher-standard-pour-porte-bagage-40-x-30-x-18-cm-maille-fine-sans-adaptateur-noir-unitaire' AND `virtuemart_product_id` != 1863187
2023-10-13	13:29:25	3695	[DEBUG]	Query for ProductLang
2023-10-13	13:29:25	3695	[DEBUG]	Executed store
2023-10-13	13:29:25	3695	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Panier Pletcher  standard pour porte-bagage 40 x 30 x 18 cm maille fine sans adaptateur  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-panier-pletcher-standard-pour-porte-bagage-40-x-30-x-18-cm-maille-fine-sans-adaptateur-noir-unitaire' WHERE `virtuemart_product_id` = '1863187'
2023-10-13	13:29:25	3695	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37_16804.jpg has not been found.
2023-10-13	13:29:25	3695	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:25	3695	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863187 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:25	3695	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:25	3695	[DEBUG]	Executed store
2023-10-13	13:29:25	3695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863187','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:25	3695	[DEBUG]	Checking manufacturer
2023-10-13	13:29:25	3695	[DEBUG]	Load a row
2023-10-13	13:29:25	3695	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:25	3695	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:25	3695	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:25	3695	[DEBUG]	Executed store
2023-10-13	13:29:25	3695	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:25	3695	[DEBUG]	Manufacturer exists
2023-10-13	13:29:25	3695	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:29:25	3695	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:25	3695	[DEBUG]	Executed store
2023-10-13	13:29:25	3695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863187','74')
2023-10-13	13:29:25	3695	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:25	3695	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:25	3695	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863187 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:25	3695	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863187,3,'',1)
2023-10-13	13:29:25	3695	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:25	3695	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:25	3695	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863187 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:25	3695	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3695	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863187,6,'Unitaire',3)
2023-10-13	13:29:25	3695	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:25	3695	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:25	3695	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863186
2023-10-13	13:29:25	3695	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:25	3695	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863186\":[1863186,8,1,\"choisir la taille\"],\"1863187\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863186
2023-10-13	13:29:25	3695	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:25	3695	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863187
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:25	3696	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field taille
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:25	3696	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:25	3696	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:25	3696	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:25	3696	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:25	3696	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:25	3696	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:25	3696	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field published
2023-10-13	13:29:25	3696	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:25	3696	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field override
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:25	3696	[DEBUG]	Use field value for field slug
2023-10-13	13:29:25	3696	[DEBUG]	Process line 3696
2023-10-13	13:29:25	3696	[DEBUG]	Load a row
2023-10-13	13:29:25	3696	[DEBUG]	Processing item: A_5789_1
2023-10-13	13:29:25	3696	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:25	3696	[DEBUG]	Processing product tax
2023-10-13	13:29:25	3696	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:25	3696	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:25	3696	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:25	3696	[DEBUG]	Query for Product
2023-10-13	13:29:25	3696	[DEBUG]	Executed store
2023-10-13	13:29:25	3696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5789_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:25	3696	[DEBUG]	Check product language entry
2023-10-13	13:29:25	3696	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863188
2023-10-13	13:29:25	3696	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3696	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5789_1' AND `virtuemart_product_id` != 1863188
2023-10-13	13:29:25	3696	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:25	3696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863188, 'A_5789_1')
2023-10-13	13:29:25	3696	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3696	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-adaptateur-wersa-pletcher-noir' AND `virtuemart_product_id` != 1863188
2023-10-13	13:29:25	3696	[DEBUG]	Query for ProductLang
2023-10-13	13:29:25	3696	[DEBUG]	Executed store
2023-10-13	13:29:25	3696	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 31.70818',`product_name`='Pletscher Adaptateur Wersa Pletcher / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-adaptateur-wersa-pletcher-noir' WHERE `virtuemart_product_id` = '1863188'
2023-10-13	13:29:25	3696	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_70818.jpg has not been found.
2023-10-13	13:29:25	3696	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:25	3696	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863188 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:25	3696	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:25	3696	[DEBUG]	Executed store
2023-10-13	13:29:25	3696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863188','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:25	3696	[DEBUG]	Checking manufacturer
2023-10-13	13:29:25	3696	[DEBUG]	Load a row
2023-10-13	13:29:25	3696	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:25	3696	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:25	3696	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:25	3696	[DEBUG]	Executed store
2023-10-13	13:29:25	3696	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:25	3696	[DEBUG]	Manufacturer exists
2023-10-13	13:29:25	3696	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:29:25	3696	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:25	3696	[DEBUG]	Executed store
2023-10-13	13:29:25	3696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863188','74')
2023-10-13	13:29:25	3696	[DEBUG]	Find the custom field ID
2023-10-13	13:29:25	3696	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:25	3696	[DEBUG]	No custom field ID found
2023-10-13	13:29:25	3696	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:25	3696	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:25	3696	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863188 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:25	3696	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863188,3,'0',1)
2023-10-13	13:29:25	3696	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:25	3696	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:25	3696	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863188 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:25	3696	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863188,6,'choisir la taille',3)
2023-10-13	13:29:25	3696	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:25	3696	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:25	3696	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:25	3696	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:25	3696	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863188 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:25	3696	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:25	3696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863188,8,1)
2023-10-13	13:29:25	3696	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:25	3696	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863188\":[1863188,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863188
2023-10-13	13:29:25	3696	[DEBUG]	Checking category
2023-10-13	13:29:25	3696	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:25	3696	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863188
2023-10-13	13:29:25	3696	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:25	3696	[DEBUG]	Executed store
2023-10-13	13:29:25	3696	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863188','7385')
2023-10-13	13:29:25	3696	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:25	3696	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863188 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:25	3696	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:25	3696	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863188
2023-10-13	13:29:25	3697	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:25	3697	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:25	3697	[DEBUG]	Use field value for field taille
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:25	3697	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:25	3697	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:25	3697	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:25	3697	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:25	3697	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:25	3697	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:25	3697	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:25	3697	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:25	3697	[DEBUG]	Use field value for field published
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:25	3697	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field override
2023-10-13	13:29:25	3697	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:25	3697	[DEBUG]	Use field value for field slug
2023-10-13	13:29:25	3697	[DEBUG]	Process line 3697
2023-10-13	13:29:25	3697	[DEBUG]	Load a row
2023-10-13	13:29:25	3697	[DEBUG]	Processing item: 1000000087222
2023-10-13	13:29:25	3697	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:25	3697	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:25	3697	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5789_1'
2023-10-13	13:29:25	3697	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:25	3697	[DEBUG]	Processing product tax
2023-10-13	13:29:25	3697	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:25	3697	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:25	3697	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:25	3697	[DEBUG]	Query for Product
2023-10-13	13:29:25	3697	[DEBUG]	Executed store
2023-10-13	13:29:25	3697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863188','1000000087222','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:25	3697	[DEBUG]	No parent found
2023-10-13	13:29:25	3697	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863188 AND customfield_value = 'stockable'
2023-10-13	13:29:25	3697	[DEBUG]	Check product language entry
2023-10-13	13:29:25	3697	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863189
2023-10-13	13:29:25	3697	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3697	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000087222' AND `virtuemart_product_id` != 1863189
2023-10-13	13:29:25	3697	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:25	3697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863189, '1000000087222')
2023-10-13	13:29:25	3697	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3697	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-adaptateur-wersa-pletcher-noir-unitaire' AND `virtuemart_product_id` != 1863189
2023-10-13	13:29:25	3697	[DEBUG]	Query for ProductLang
2023-10-13	13:29:25	3697	[DEBUG]	Executed store
2023-10-13	13:29:25	3697	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Adaptateur Wersa Pletcher / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-adaptateur-wersa-pletcher-noir-unitaire' WHERE `virtuemart_product_id` = '1863189'
2023-10-13	13:29:25	3697	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_70818.jpg has not been found.
2023-10-13	13:29:25	3697	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:25	3697	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863189 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:25	3697	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:25	3697	[DEBUG]	Executed store
2023-10-13	13:29:25	3697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863189','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:25	3697	[DEBUG]	Checking manufacturer
2023-10-13	13:29:25	3697	[DEBUG]	Load a row
2023-10-13	13:29:25	3697	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:25	3697	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:25	3697	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:25	3697	[DEBUG]	Executed store
2023-10-13	13:29:25	3697	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:25	3697	[DEBUG]	Manufacturer exists
2023-10-13	13:29:25	3697	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:29:25	3697	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:25	3697	[DEBUG]	Executed store
2023-10-13	13:29:25	3697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863189','74')
2023-10-13	13:29:25	3697	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:25	3697	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:25	3697	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863189 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:25	3697	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863189,3,'',1)
2023-10-13	13:29:25	3697	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:25	3697	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:25	3697	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863189 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:25	3697	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3697	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863189,6,'Unitaire',3)
2023-10-13	13:29:25	3697	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:25	3697	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:25	3697	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863188
2023-10-13	13:29:25	3697	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:25	3697	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863188\":[1863188,8,1,\"choisir la taille\"],\"1863189\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863188
2023-10-13	13:29:25	3697	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:25	3697	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863189
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:25	3698	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field taille
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:25	3698	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:25	3698	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:25	3698	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:25	3698	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:25	3698	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:25	3698	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:25	3698	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:25	3698	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field published
2023-10-13	13:29:25	3698	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:25	3698	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field override
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:25	3698	[DEBUG]	Use field value for field slug
2023-10-13	13:29:25	3698	[DEBUG]	Process line 3698
2023-10-13	13:29:25	3698	[DEBUG]	Load a row
2023-10-13	13:29:25	3698	[DEBUG]	Processing item: A_5971_1
2023-10-13	13:29:25	3698	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:25	3698	[DEBUG]	Processing product tax
2023-10-13	13:29:25	3698	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:25	3698	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:25	3698	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:25	3698	[DEBUG]	Query for Product
2023-10-13	13:29:25	3698	[DEBUG]	Executed store
2023-10-13	13:29:25	3698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5971_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:25	3698	[DEBUG]	Check product language entry
2023-10-13	13:29:25	3698	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863190
2023-10-13	13:29:25	3698	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3698	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5971_1' AND `virtuemart_product_id` != 1863190
2023-10-13	13:29:25	3698	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:25	3698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863190, 'A_5971_1')
2023-10-13	13:29:25	3698	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:25	3698	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tubus-snap-it-system-adaptateur-noir-reglable-noir' AND `virtuemart_product_id` != 1863190
2023-10-13	13:29:25	3698	[DEBUG]	Query for ProductLang
2023-10-13	13:29:25	3698	[DEBUG]	Executed store
2023-10-13	13:29:25	3698	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 311215',`product_name`='tubus Snap-it System adaptateur noir, réglable / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tubus-snap-it-system-adaptateur-noir-reglable-noir' WHERE `virtuemart_product_id` = '1863190'
2023-10-13	13:29:25	3698	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:25	3698	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863190 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:25	3698	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:25	3698	[DEBUG]	Executed store
2023-10-13	13:29:25	3698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863190','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:25	3698	[DEBUG]	Checking manufacturer
2023-10-13	13:29:25	3698	[DEBUG]	Load a row
2023-10-13	13:29:25	3698	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:25	3698	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '173'
2023-10-13	13:29:25	3698	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:25	3698	[DEBUG]	Executed store
2023-10-13	13:29:25	3698	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2023-10-11-05-38-461552410316' WHERE `virtuemart_manufacturer_id` = '173'
2023-10-13	13:29:25	3698	[DEBUG]	Manufacturer exists
2023-10-13	13:29:25	3698	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 173
2023-10-13	13:29:25	3698	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:25	3698	[DEBUG]	Executed store
2023-10-13	13:29:25	3698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863190','173')
2023-10-13	13:29:25	3698	[DEBUG]	Find the custom field ID
2023-10-13	13:29:25	3698	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:25	3698	[DEBUG]	No custom field ID found
2023-10-13	13:29:25	3698	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:25	3698	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:25	3698	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863190 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:25	3698	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863190,3,'0',1)
2023-10-13	13:29:25	3698	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:25	3698	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:25	3698	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863190 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:25	3698	[DEBUG]	Store custom available field
2023-10-13	13:29:25	3698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863190,6,'choisir la taille',3)
2023-10-13	13:29:25	3698	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:25	3698	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:25	3698	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:25	3698	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:25	3698	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863190 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:25	3698	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:25	3698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863190,8,1)
2023-10-13	13:29:25	3698	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:25	3698	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863190\":[1863190,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863190
2023-10-13	13:29:25	3698	[DEBUG]	Checking category
2023-10-13	13:29:25	3698	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:25	3698	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863190
2023-10-13	13:29:25	3698	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:25	3698	[DEBUG]	Executed store
2023-10-13	13:29:25	3698	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863190','7385')
2023-10-13	13:29:25	3698	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:25	3698	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863190 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:25	3698	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:25	3698	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863190
2023-10-13	13:29:25	3699	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:25	3699	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:25	3699	[DEBUG]	Use field value for field taille
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:25	3699	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:25	3699	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:25	3699	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:25	3699	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:25	3699	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:25	3699	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:25	3699	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:25	3699	[DEBUG]	Use field value for field published
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:25	3699	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field override
2023-10-13	13:29:25	3699	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:25	3699	[DEBUG]	Use field value for field slug
2023-10-13	13:29:25	3699	[DEBUG]	Process line 3699
2023-10-13	13:29:25	3699	[DEBUG]	Load a row
2023-10-13	13:29:25	3699	[DEBUG]	Processing item: 4048174170170
2023-10-13	13:29:25	3699	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:25	3699	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:25	3699	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5971_1'
2023-10-13	13:29:25	3699	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:25	3699	[DEBUG]	Processing product tax
2023-10-13	13:29:25	3699	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:25	3699	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:25	3699	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:25	3699	[DEBUG]	Query for Product
2023-10-13	13:29:25	3699	[DEBUG]	Executed store
2023-10-13	13:29:25	3699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863190','4048174170170','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:25	3699	[DEBUG]	No parent found
2023-10-13	13:29:26	3699	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863190 AND customfield_value = 'stockable'
2023-10-13	13:29:26	3699	[DEBUG]	Check product language entry
2023-10-13	13:29:26	3699	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863191
2023-10-13	13:29:26	3699	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:26	3699	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4048174170170' AND `virtuemart_product_id` != 1863191
2023-10-13	13:29:26	3699	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:26	3699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863191, '4048174170170')
2023-10-13	13:29:26	3699	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:26	3699	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tubus-snap-it-system-adaptateur-noir-reglable-noir-unitaire' AND `virtuemart_product_id` != 1863191
2023-10-13	13:29:26	3699	[DEBUG]	Query for ProductLang
2023-10-13	13:29:26	3699	[DEBUG]	Executed store
2023-10-13	13:29:26	3699	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='tubus Snap-it System adaptateur noir, réglable / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tubus-snap-it-system-adaptateur-noir-reglable-noir-unitaire' WHERE `virtuemart_product_id` = '1863191'
2023-10-13	13:29:26	3699	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:26	3699	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863191 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:26	3699	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:26	3699	[DEBUG]	Executed store
2023-10-13	13:29:26	3699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863191','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:26	3699	[DEBUG]	Checking manufacturer
2023-10-13	13:29:26	3699	[DEBUG]	Load a row
2023-10-13	13:29:26	3699	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:26	3699	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '173'
2023-10-13	13:29:26	3699	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:26	3699	[DEBUG]	Executed store
2023-10-13	13:29:26	3699	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2023-10-11-05-38-461552410316' WHERE `virtuemart_manufacturer_id` = '173'
2023-10-13	13:29:26	3699	[DEBUG]	Manufacturer exists
2023-10-13	13:29:26	3699	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 173
2023-10-13	13:29:26	3699	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:26	3699	[DEBUG]	Executed store
2023-10-13	13:29:26	3699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863191','173')
2023-10-13	13:29:26	3699	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:26	3699	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:26	3699	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863191 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:26	3699	[DEBUG]	Store custom available field
2023-10-13	13:29:26	3699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863191,3,'',1)
2023-10-13	13:29:26	3699	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:26	3699	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:26	3699	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863191 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:26	3699	[DEBUG]	Store custom available field
2023-10-13	13:29:26	3699	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863191,6,'Unitaire',3)
2023-10-13	13:29:26	3699	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:26	3699	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:26	3699	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863190
2023-10-13	13:29:26	3699	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:26	3699	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863190\":[1863190,8,1,\"choisir la taille\"],\"1863191\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863190
2023-10-13	13:29:26	3699	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:26	3699	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863191
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:26	3700	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field taille
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:26	3700	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:26	3700	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:26	3700	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:26	3700	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:26	3700	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:26	3700	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:26	3700	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field published
2023-10-13	13:29:26	3700	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:26	3700	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field override
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:26	3700	[DEBUG]	Use field value for field slug
2023-10-13	13:29:26	3700	[DEBUG]	Process line 3700
2023-10-13	13:29:26	3700	[DEBUG]	Load a row
2023-10-13	13:29:26	3700	[DEBUG]	Processing item: A_6028_1
2023-10-13	13:29:26	3700	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:26	3700	[DEBUG]	Processing product tax
2023-10-13	13:29:26	3700	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:26	3700	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:26	3700	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:26	3700	[DEBUG]	Query for Product
2023-10-13	13:29:26	3700	[DEBUG]	Executed store
2023-10-13	13:29:26	3700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6028_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0')
2023-10-13	13:29:26	3700	[DEBUG]	Check product language entry
2023-10-13	13:29:26	3700	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863192
2023-10-13	13:29:26	3700	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:26	3700	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6028_1' AND `virtuemart_product_id` != 1863192
2023-10-13	13:29:26	3700	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:26	3700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863192, 'A_6028_1')
2023-10-13	13:29:26	3700	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:26	3700	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-arriere-citymax-ii-racktime-24l-noir' AND `virtuemart_product_id` != 1863192
2023-10-13	13:29:26	3700	[DEBUG]	Query for ProductLang
2023-10-13	13:29:26	3700	[DEBUG]	Executed store
2023-10-13	13:29:26	3700	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Uniquement compatible avec les porte-bagage RACKTIME<br><br>- Un panier arrière en mailles métalliques extrêmement volumineux, avec une anse<br>- Equipé d\'une fixation soudée sur le fond, compatible avec les porte-bagages Racktime<br>- Le panier se glisse simplement sur le porte-bagages et se verrouille automatiquement<br><br>Dimensions:    42 x 24.5 x 33cm<br>Poids:    1700g<br>Couleur:    Noir<br>Volume:    24L<br>Charge utile:    10Kg<br><br>N° art fourn : 715478',`product_name`='Klickfix Panier arrière CITYMAX II Racktime 24L / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-arriere-citymax-ii-racktime-24l-noir' WHERE `virtuemart_product_id` = '1863192'
2023-10-13	13:29:26	3700	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31629_panier_arriere_citymax_ii_racktime_24l.jpg has not been found.
2023-10-13	13:29:26	3700	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:26	3700	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863192 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:26	3700	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:26	3700	[DEBUG]	Executed store
2023-10-13	13:29:26	3700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863192','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:28:11','1593','2023-10-13 13:28:11','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:26	3700	[DEBUG]	Checking manufacturer
2023-10-13	13:29:26	3700	[DEBUG]	Load a row
2023-10-13	13:29:26	3700	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:26	3700	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:29:26	3700	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:26	3700	[DEBUG]	Executed store
2023-10-13	13:29:26	3700	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:29:26	3700	[DEBUG]	Manufacturer exists
2023-10-13	13:29:26	3700	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:29:26	3700	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:26	3700	[DEBUG]	Executed store
2023-10-13	13:29:26	3700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863192','200')
2023-10-13	13:29:26	3700	[DEBUG]	Find the custom field ID
2023-10-13	13:29:26	3700	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:26	3700	[DEBUG]	No custom field ID found
2023-10-13	13:29:26	3700	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:26	3700	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:26	3700	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863192 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:26	3700	[DEBUG]	Store custom available field
2023-10-13	13:29:26	3700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863192,3,'0',1)
2023-10-13	13:29:26	3700	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:26	3700	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:26	3700	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863192 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:26	3700	[DEBUG]	Store custom available field
2023-10-13	13:29:26	3700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863192,6,'choisir la taille',3)
2023-10-13	13:29:26	3700	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:26	3700	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:26	3700	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:26	3700	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:26	3700	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863192 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:26	3700	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:26	3700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863192,8,1)
2023-10-13	13:29:26	3700	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:26	3700	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863192\":[1863192,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863192
2023-10-13	13:29:26	3700	[DEBUG]	Checking category
2023-10-13	13:29:26	3700	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:26	3700	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863192
2023-10-13	13:29:26	3700	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:26	3700	[DEBUG]	Executed store
2023-10-13	13:29:26	3700	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863192','7385')
2023-10-13	13:29:26	3700	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:26	3700	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863192 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:26	3700	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:26	3700	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863192
2023-10-13	13:29:46	3700	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:29:46	3700	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:29:46	3700	[DEBUG]	Load the fields to process
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: product_sku
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: taille
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: product_name
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: category_path
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: product_price
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: product_override_price
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: product_tax
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: file_url
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: product_desc
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: product_availability
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: product_weight
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: product_unit
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: related_products
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: product_special
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: published
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: metadesc
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: metakey
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: custom_title
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: custom_value
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: custom_param
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: override
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: public_price
2023-10-13	13:29:46	3700	[DEBUG]	Setup field: slug
2023-10-13	13:29:46	3700	[DEBUG]	Use the file for configuration
2023-10-13	13:29:46	3700	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:29:46	3700	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:29:46	3700	[DEBUG]	Load the custom fields
2023-10-13	13:29:46	3700	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:29:46	3700	[DEBUG]	Load stockable custom fields
2023-10-13	13:29:46	3700	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:29:46	3700	[DEBUG]	Load custom fields for all
2023-10-13	13:29:46	3700	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:29:46	3701	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:46	3701	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:46	3701	[DEBUG]	Use field value for field taille
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:46	3701	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:46	3701	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:46	3701	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:46	3701	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:46	3701	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:46	3701	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:46	3701	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:46	3701	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:46	3701	[DEBUG]	Use field value for field published
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:46	3701	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field override
2023-10-13	13:29:46	3701	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:46	3701	[DEBUG]	Use field value for field slug
2023-10-13	13:29:46	3701	[DEBUG]	Process line 3701
2023-10-13	13:29:46	3701	[DEBUG]	Check if the vendor exists
2023-10-13	13:29:46	3701	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '1000000089981'
2023-10-13	13:29:46	3701	[DEBUG]	Load a row
2023-10-13	13:29:46	3701	[DEBUG]	Processing item: 1000000089981
2023-10-13	13:29:46	3701	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:46	3701	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:46	3701	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6028_1'
2023-10-13	13:29:46	3701	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:46	3701	[DEBUG]	Processing product tax
2023-10-13	13:29:46	3701	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:46	3701	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:46	3701	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:46	3701	[DEBUG]	Query for Product
2023-10-13	13:29:46	3701	[DEBUG]	Executed store
2023-10-13	13:29:46	3701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863192','1000000089981','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:46	3701	[DEBUG]	No parent found
2023-10-13	13:29:46	3701	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863192 AND customfield_value = 'stockable'
2023-10-13	13:29:46	3701	[DEBUG]	Check product language entry
2023-10-13	13:29:46	3701	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863193
2023-10-13	13:29:46	3701	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3701	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000089981' AND `virtuemart_product_id` != 1863193
2023-10-13	13:29:46	3701	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:46	3701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863193, '1000000089981')
2023-10-13	13:29:46	3701	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3701	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-arriere-citymax-ii-racktime-24l-noir-unitaire' AND `virtuemart_product_id` != 1863193
2023-10-13	13:29:46	3701	[DEBUG]	Query for ProductLang
2023-10-13	13:29:46	3701	[DEBUG]	Executed store
2023-10-13	13:29:46	3701	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix Panier arrière CITYMAX II Racktime 24L / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-arriere-citymax-ii-racktime-24l-noir-unitaire' WHERE `virtuemart_product_id` = '1863193'
2023-10-13	13:29:46	3701	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31629_panier_arriere_citymax_ii_racktime_24l.jpg has not been found.
2023-10-13	13:29:46	3701	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:46	3701	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863193 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:46	3701	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:46	3701	[DEBUG]	Executed store
2023-10-13	13:29:46	3701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863193','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:46	3701	[DEBUG]	Checking manufacturer
2023-10-13	13:29:46	3701	[DEBUG]	Load a row
2023-10-13	13:29:46	3701	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:46	3701	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:29:46	3701	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:46	3701	[DEBUG]	Executed store
2023-10-13	13:29:46	3701	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:29:46	3701	[DEBUG]	Manufacturer exists
2023-10-13	13:29:46	3701	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:29:46	3701	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:46	3701	[DEBUG]	Executed store
2023-10-13	13:29:46	3701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863193','200')
2023-10-13	13:29:46	3701	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:46	3701	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:46	3701	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863193 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:46	3701	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863193,3,'',1)
2023-10-13	13:29:46	3701	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:46	3701	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:46	3701	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863193 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:46	3701	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3701	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863193,6,'Unitaire',3)
2023-10-13	13:29:46	3701	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:46	3701	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:46	3701	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863192
2023-10-13	13:29:46	3701	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:46	3701	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863192\":[1863192,8,1,\"choisir la taille\"],\"1863193\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863192
2023-10-13	13:29:46	3701	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:46	3701	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863193
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:46	3702	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field taille
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:46	3702	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:46	3702	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:46	3702	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:46	3702	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:46	3702	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:46	3702	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:46	3702	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field published
2023-10-13	13:29:46	3702	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:46	3702	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field override
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:46	3702	[DEBUG]	Use field value for field slug
2023-10-13	13:29:46	3702	[DEBUG]	Process line 3702
2023-10-13	13:29:46	3702	[DEBUG]	Load a row
2023-10-13	13:29:46	3702	[DEBUG]	Processing item: A_6062_1
2023-10-13	13:29:46	3702	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:46	3702	[DEBUG]	Processing product tax
2023-10-13	13:29:46	3702	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:46	3702	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:46	3702	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:46	3702	[DEBUG]	Query for Product
2023-10-13	13:29:46	3702	[DEBUG]	Executed store
2023-10-13	13:29:46	3702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6062_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:46	3702	[DEBUG]	Check product language entry
2023-10-13	13:29:46	3702	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863194
2023-10-13	13:29:46	3702	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3702	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6062_1' AND `virtuemart_product_id` != 1863194
2023-10-13	13:29:46	3702	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:46	3702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863194, 'A_6062_1')
2023-10-13	13:29:46	3702	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3702	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-panier-pletcher-standard-pour-porte-bagage-40-x-24-x-19-cm-maille-fine-avec-adaptateur-3-points-noir' AND `virtuemart_product_id` != 1863194
2023-10-13	13:29:46	3702	[DEBUG]	Query for ProductLang
2023-10-13	13:29:46	3702	[DEBUG]	Executed store
2023-10-13	13:29:46	3702	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 31.18943',`product_name`='Pletscher Panier Pletcher  standard pour porte-bagage 40 x 24 x 19 cm maille fine avec adaptateur 3 points. / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-panier-pletcher-standard-pour-porte-bagage-40-x-24-x-19-cm-maille-fine-avec-adaptateur-3-points-noir' WHERE `virtuemart_product_id` = '1863194'
2023-10-13	13:29:46	3702	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_18943.jpg has not been found.
2023-10-13	13:29:46	3702	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:46	3702	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863194 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:46	3702	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:46	3702	[DEBUG]	Executed store
2023-10-13	13:29:46	3702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863194','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:46	3702	[DEBUG]	Checking manufacturer
2023-10-13	13:29:46	3702	[DEBUG]	Load a row
2023-10-13	13:29:46	3702	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:46	3702	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:46	3702	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:46	3702	[DEBUG]	Executed store
2023-10-13	13:29:46	3702	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:46	3702	[DEBUG]	Manufacturer exists
2023-10-13	13:29:46	3702	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:29:46	3702	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:46	3702	[DEBUG]	Executed store
2023-10-13	13:29:46	3702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863194','74')
2023-10-13	13:29:46	3702	[DEBUG]	Find the custom field ID
2023-10-13	13:29:46	3702	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:46	3702	[DEBUG]	No custom field ID found
2023-10-13	13:29:46	3702	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:46	3702	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:46	3702	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863194 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:46	3702	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863194,3,'0',1)
2023-10-13	13:29:46	3702	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:46	3702	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:46	3702	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863194 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:46	3702	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863194,6,'choisir la taille',3)
2023-10-13	13:29:46	3702	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:46	3702	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:46	3702	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:46	3702	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:46	3702	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863194 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:46	3702	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:46	3702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863194,8,1)
2023-10-13	13:29:46	3702	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:46	3702	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863194\":[1863194,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863194
2023-10-13	13:29:46	3702	[DEBUG]	Checking category
2023-10-13	13:29:46	3702	[DEBUG]	Check if category path exists: PANIER-SACOCHE
2023-10-13	13:29:46	3702	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PANIER-SACOCHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:29:46	3702	[DEBUG]	Check if category path exists: PANIER-SACOCHE
2023-10-13	13:29:46	3702	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PANIER-SACOCHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7384
2023-10-13	13:29:46	3702	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:46	3702	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863194
2023-10-13	13:29:46	3702	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:46	3702	[DEBUG]	Executed store
2023-10-13	13:29:46	3702	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863194','7385')
2023-10-13	13:29:46	3702	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:46	3702	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863194 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:46	3702	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:46	3702	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863194
2023-10-13	13:29:46	3703	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:46	3703	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:46	3703	[DEBUG]	Use field value for field taille
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:46	3703	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:46	3703	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:46	3703	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:46	3703	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:46	3703	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:46	3703	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:46	3703	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:46	3703	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:46	3703	[DEBUG]	Use field value for field published
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:46	3703	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field override
2023-10-13	13:29:46	3703	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:46	3703	[DEBUG]	Use field value for field slug
2023-10-13	13:29:46	3703	[DEBUG]	Process line 3703
2023-10-13	13:29:46	3703	[DEBUG]	Load a row
2023-10-13	13:29:46	3703	[DEBUG]	Processing item: 1000000090284
2023-10-13	13:29:46	3703	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:46	3703	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:46	3703	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6062_1'
2023-10-13	13:29:46	3703	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:46	3703	[DEBUG]	Processing product tax
2023-10-13	13:29:46	3703	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:46	3703	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:46	3703	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:46	3703	[DEBUG]	Query for Product
2023-10-13	13:29:46	3703	[DEBUG]	Executed store
2023-10-13	13:29:46	3703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863194','1000000090284','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:46	3703	[DEBUG]	No parent found
2023-10-13	13:29:46	3703	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863194 AND customfield_value = 'stockable'
2023-10-13	13:29:46	3703	[DEBUG]	Check product language entry
2023-10-13	13:29:46	3703	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863195
2023-10-13	13:29:46	3703	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3703	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000090284' AND `virtuemart_product_id` != 1863195
2023-10-13	13:29:46	3703	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:46	3703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863195, '1000000090284')
2023-10-13	13:29:46	3703	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3703	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-panier-pletcher-standard-pour-porte-bagage-40-x-24-x-19-cm-maille-fine-avec-adaptateur-3-points-noir-unitaire' AND `virtuemart_product_id` != 1863195
2023-10-13	13:29:46	3703	[DEBUG]	Query for ProductLang
2023-10-13	13:29:46	3703	[DEBUG]	Executed store
2023-10-13	13:29:46	3703	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Panier Pletcher  standard pour porte-bagage 40 x 24 x 19 cm maille fine avec adaptateur 3 points. / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-panier-pletcher-standard-pour-porte-bagage-40-x-24-x-19-cm-maille-fine-avec-adaptateur-3-points-noir-unitaire' WHERE `virtuemart_product_id` = '1863195'
2023-10-13	13:29:46	3703	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_18943.jpg has not been found.
2023-10-13	13:29:46	3703	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:46	3703	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863195 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:46	3703	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:46	3703	[DEBUG]	Executed store
2023-10-13	13:29:46	3703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863195','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:46	3703	[DEBUG]	Checking manufacturer
2023-10-13	13:29:46	3703	[DEBUG]	Load a row
2023-10-13	13:29:46	3703	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:46	3703	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:46	3703	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:46	3703	[DEBUG]	Executed store
2023-10-13	13:29:46	3703	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:46	3703	[DEBUG]	Manufacturer exists
2023-10-13	13:29:46	3703	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:29:46	3703	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:46	3703	[DEBUG]	Executed store
2023-10-13	13:29:46	3703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863195','74')
2023-10-13	13:29:46	3703	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:46	3703	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:46	3703	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863195 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:46	3703	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863195,3,'',1)
2023-10-13	13:29:46	3703	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:46	3703	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:46	3703	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863195 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:46	3703	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3703	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863195,6,'Unitaire',3)
2023-10-13	13:29:46	3703	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:46	3703	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:46	3703	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863194
2023-10-13	13:29:46	3703	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:46	3703	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863194\":[1863194,8,1,\"choisir la taille\"],\"1863195\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863194
2023-10-13	13:29:46	3703	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:46	3703	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863195
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:46	3704	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field taille
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:46	3704	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:46	3704	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:46	3704	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:46	3704	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:46	3704	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:46	3704	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:46	3704	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field published
2023-10-13	13:29:46	3704	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:46	3704	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field override
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:46	3704	[DEBUG]	Use field value for field slug
2023-10-13	13:29:46	3704	[DEBUG]	Process line 3704
2023-10-13	13:29:46	3704	[DEBUG]	Load a row
2023-10-13	13:29:46	3704	[DEBUG]	Processing item: A_6165_1
2023-10-13	13:29:46	3704	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:46	3704	[DEBUG]	Processing product tax
2023-10-13	13:29:46	3704	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:46	3704	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:46	3704	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:46	3704	[DEBUG]	Query for Product
2023-10-13	13:29:46	3704	[DEBUG]	Executed store
2023-10-13	13:29:46	3704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6165_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:46	3704	[DEBUG]	Check product language entry
2023-10-13	13:29:46	3704	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863196
2023-10-13	13:29:46	3704	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3704	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6165_1' AND `virtuemart_product_id` != 1863196
2023-10-13	13:29:46	3704	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:46	3704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863196, 'A_6165_1')
2023-10-13	13:29:46	3704	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3704	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'racktime-panier-racktime-bask-it-deluxe-23l-45x30x33cm-noir' AND `virtuemart_product_id` != 1863196
2023-10-13	13:29:46	3704	[DEBUG]	Query for ProductLang
2023-10-13	13:29:46	3704	[DEBUG]	Executed store
2023-10-13	13:29:46	3704	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 480.004.008',`product_name`='Racktime Panier Racktime Bask-it DELUXE 23L 45x30x33cm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='racktime-panier-racktime-bask-it-deluxe-23l-45x30x33cm-noir' WHERE `virtuemart_product_id` = '1863196'
2023-10-13	13:29:46	3704	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31862_panier_racktime_bask-it_deluxe_23l_45x30x33cm.jpg has not been found.
2023-10-13	13:29:46	3704	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:46	3704	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863196 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:46	3704	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:46	3704	[DEBUG]	Executed store
2023-10-13	13:29:46	3704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863196','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:46	3704	[DEBUG]	Checking manufacturer
2023-10-13	13:29:46	3704	[DEBUG]	Load a row
2023-10-13	13:29:46	3704	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:46	3704	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:29:46	3704	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:46	3704	[DEBUG]	Executed store
2023-10-13	13:29:46	3704	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331160104302' WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:29:46	3704	[DEBUG]	Manufacturer exists
2023-10-13	13:29:46	3704	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 184
2023-10-13	13:29:46	3704	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:46	3704	[DEBUG]	Executed store
2023-10-13	13:29:46	3704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863196','184')
2023-10-13	13:29:46	3704	[DEBUG]	Find the custom field ID
2023-10-13	13:29:46	3704	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:46	3704	[DEBUG]	No custom field ID found
2023-10-13	13:29:46	3704	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:46	3704	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:46	3704	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863196 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:46	3704	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863196,3,'0',1)
2023-10-13	13:29:46	3704	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:46	3704	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:46	3704	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863196 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:46	3704	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863196,6,'choisir la taille',3)
2023-10-13	13:29:46	3704	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:46	3704	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:46	3704	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:46	3704	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:46	3704	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863196 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:46	3704	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:46	3704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863196,8,1)
2023-10-13	13:29:46	3704	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:46	3704	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863196\":[1863196,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863196
2023-10-13	13:29:46	3704	[DEBUG]	Checking category
2023-10-13	13:29:46	3704	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:46	3704	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863196
2023-10-13	13:29:46	3704	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:46	3704	[DEBUG]	Executed store
2023-10-13	13:29:46	3704	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863196','7385')
2023-10-13	13:29:46	3704	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:46	3704	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863196 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:46	3704	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:46	3704	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863196
2023-10-13	13:29:46	3705	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:46	3705	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:46	3705	[DEBUG]	Use field value for field taille
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:46	3705	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:46	3705	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:46	3705	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:46	3705	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:46	3705	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:46	3705	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:46	3705	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:46	3705	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:46	3705	[DEBUG]	Use field value for field published
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:46	3705	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field override
2023-10-13	13:29:46	3705	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:46	3705	[DEBUG]	Use field value for field slug
2023-10-13	13:29:46	3705	[DEBUG]	Process line 3705
2023-10-13	13:29:46	3705	[DEBUG]	Load a row
2023-10-13	13:29:46	3705	[DEBUG]	Processing item: 1000000102192
2023-10-13	13:29:46	3705	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:46	3705	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:46	3705	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6165_1'
2023-10-13	13:29:46	3705	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:46	3705	[DEBUG]	Processing product tax
2023-10-13	13:29:46	3705	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:46	3705	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:46	3705	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:46	3705	[DEBUG]	Query for Product
2023-10-13	13:29:46	3705	[DEBUG]	Executed store
2023-10-13	13:29:46	3705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863196','1000000102192','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:46	3705	[DEBUG]	No parent found
2023-10-13	13:29:46	3705	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863196 AND customfield_value = 'stockable'
2023-10-13	13:29:46	3705	[DEBUG]	Check product language entry
2023-10-13	13:29:46	3705	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863197
2023-10-13	13:29:46	3705	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3705	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000102192' AND `virtuemart_product_id` != 1863197
2023-10-13	13:29:46	3705	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:46	3705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863197, '1000000102192')
2023-10-13	13:29:46	3705	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3705	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'racktime-panier-racktime-bask-it-deluxe-23l-45x30x33cm-noir-unitaire' AND `virtuemart_product_id` != 1863197
2023-10-13	13:29:46	3705	[DEBUG]	Query for ProductLang
2023-10-13	13:29:46	3705	[DEBUG]	Executed store
2023-10-13	13:29:46	3705	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Racktime Panier Racktime Bask-it DELUXE 23L 45x30x33cm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='racktime-panier-racktime-bask-it-deluxe-23l-45x30x33cm-noir-unitaire' WHERE `virtuemart_product_id` = '1863197'
2023-10-13	13:29:46	3705	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31862_panier_racktime_bask-it_deluxe_23l_45x30x33cm.jpg has not been found.
2023-10-13	13:29:46	3705	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:46	3705	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863197 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:46	3705	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:46	3705	[DEBUG]	Executed store
2023-10-13	13:29:46	3705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863197','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:46	3705	[DEBUG]	Checking manufacturer
2023-10-13	13:29:46	3705	[DEBUG]	Load a row
2023-10-13	13:29:46	3705	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:46	3705	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:29:46	3705	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:46	3705	[DEBUG]	Executed store
2023-10-13	13:29:46	3705	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331160104302' WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:29:46	3705	[DEBUG]	Manufacturer exists
2023-10-13	13:29:46	3705	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 184
2023-10-13	13:29:46	3705	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:46	3705	[DEBUG]	Executed store
2023-10-13	13:29:46	3705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863197','184')
2023-10-13	13:29:46	3705	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:46	3705	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:46	3705	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863197 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:46	3705	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863197,3,'',1)
2023-10-13	13:29:46	3705	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:46	3705	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:46	3705	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863197 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:46	3705	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3705	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863197,6,'Unitaire',3)
2023-10-13	13:29:46	3705	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:46	3705	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:46	3705	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863196
2023-10-13	13:29:46	3705	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:46	3705	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863196\":[1863196,8,1,\"choisir la taille\"],\"1863197\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863196
2023-10-13	13:29:46	3705	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:46	3705	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863197
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:46	3706	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field taille
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:46	3706	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:46	3706	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:46	3706	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:46	3706	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:46	3706	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:46	3706	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:46	3706	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:46	3706	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field published
2023-10-13	13:29:46	3706	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:46	3706	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field override
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:46	3706	[DEBUG]	Use field value for field slug
2023-10-13	13:29:46	3706	[DEBUG]	Process line 3706
2023-10-13	13:29:46	3706	[DEBUG]	Load a row
2023-10-13	13:29:46	3706	[DEBUG]	Processing item: A_6166_1
2023-10-13	13:29:46	3706	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:46	3706	[DEBUG]	Processing product tax
2023-10-13	13:29:46	3706	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:46	3706	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:46	3706	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:46	3706	[DEBUG]	Query for Product
2023-10-13	13:29:46	3706	[DEBUG]	Executed store
2023-10-13	13:29:46	3706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6166_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:46	3706	[DEBUG]	Check product language entry
2023-10-13	13:29:46	3706	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863198
2023-10-13	13:29:46	3706	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3706	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6166_1' AND `virtuemart_product_id` != 1863198
2023-10-13	13:29:46	3706	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:46	3706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863198, 'A_6166_1')
2023-10-13	13:29:46	3706	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3706	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-master-panier-shopping-pletscher-master-40x24x19-noir' AND `virtuemart_product_id` != 1863198
2023-10-13	13:29:46	3706	[DEBUG]	Query for ProductLang
2023-10-13	13:29:46	3706	[DEBUG]	Executed store
2023-10-13	13:29:46	3706	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 49.505',`product_name`='Pletscher Master Panier Shopping Pletscher Master 40x24x19 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-master-panier-shopping-pletscher-master-40x24x19-noir' WHERE `virtuemart_product_id` = '1863198'
2023-10-13	13:29:46	3706	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:46	3706	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863198 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:46	3706	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:46	3706	[DEBUG]	Executed store
2023-10-13	13:29:46	3706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863198','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:46	3706	[DEBUG]	Checking manufacturer
2023-10-13	13:29:46	3706	[DEBUG]	Load a row
2023-10-13	13:29:46	3706	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:46	3706	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '182'
2023-10-13	13:29:46	3706	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:46	3706	[DEBUG]	Executed store
2023-10-13	13:29:46	3706	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2023-10-11-05-38-4694579023' WHERE `virtuemart_manufacturer_id` = '182'
2023-10-13	13:29:46	3706	[DEBUG]	Manufacturer exists
2023-10-13	13:29:46	3706	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 182
2023-10-13	13:29:46	3706	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:46	3706	[DEBUG]	Executed store
2023-10-13	13:29:46	3706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863198','182')
2023-10-13	13:29:46	3706	[DEBUG]	Find the custom field ID
2023-10-13	13:29:46	3706	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:46	3706	[DEBUG]	No custom field ID found
2023-10-13	13:29:46	3706	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:46	3706	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:46	3706	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863198 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:46	3706	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863198,3,'0',1)
2023-10-13	13:29:46	3706	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:46	3706	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:46	3706	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863198 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:46	3706	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863198,6,'choisir la taille',3)
2023-10-13	13:29:46	3706	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:46	3706	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:46	3706	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:46	3706	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:46	3706	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863198 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:46	3706	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:46	3706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863198,8,1)
2023-10-13	13:29:46	3706	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:46	3706	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863198\":[1863198,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863198
2023-10-13	13:29:46	3706	[DEBUG]	Checking category
2023-10-13	13:29:46	3706	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:46	3706	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863198
2023-10-13	13:29:46	3706	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:46	3706	[DEBUG]	Executed store
2023-10-13	13:29:46	3706	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863198','7385')
2023-10-13	13:29:46	3706	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:46	3706	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863198 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:46	3706	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:46	3706	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863198
2023-10-13	13:29:46	3707	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:46	3707	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:46	3707	[DEBUG]	Use field value for field taille
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:46	3707	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:46	3707	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:46	3707	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field file_url
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:46	3707	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:46	3707	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:46	3707	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:46	3707	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:46	3707	[DEBUG]	Use field value for field published
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:46	3707	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field override
2023-10-13	13:29:46	3707	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:46	3707	[DEBUG]	Use field value for field slug
2023-10-13	13:29:46	3707	[DEBUG]	Process line 3707
2023-10-13	13:29:46	3707	[DEBUG]	Load a row
2023-10-13	13:29:46	3707	[DEBUG]	Processing item: 1000000102208
2023-10-13	13:29:46	3707	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:46	3707	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:46	3707	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6166_1'
2023-10-13	13:29:46	3707	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:46	3707	[DEBUG]	Processing product tax
2023-10-13	13:29:46	3707	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:46	3707	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:46	3707	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:46	3707	[DEBUG]	Query for Product
2023-10-13	13:29:46	3707	[DEBUG]	Executed store
2023-10-13	13:29:46	3707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863198','1000000102208','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:46	3707	[DEBUG]	No parent found
2023-10-13	13:29:46	3707	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863198 AND customfield_value = 'stockable'
2023-10-13	13:29:46	3707	[DEBUG]	Check product language entry
2023-10-13	13:29:46	3707	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863199
2023-10-13	13:29:46	3707	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3707	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000102208' AND `virtuemart_product_id` != 1863199
2023-10-13	13:29:46	3707	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:46	3707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863199, '1000000102208')
2023-10-13	13:29:46	3707	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3707	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-master-panier-shopping-pletscher-master-40x24x19-noir-unitaire' AND `virtuemart_product_id` != 1863199
2023-10-13	13:29:46	3707	[DEBUG]	Query for ProductLang
2023-10-13	13:29:46	3707	[DEBUG]	Executed store
2023-10-13	13:29:46	3707	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Master Panier Shopping Pletscher Master 40x24x19 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-master-panier-shopping-pletscher-master-40x24x19-noir-unitaire' WHERE `virtuemart_product_id` = '1863199'
2023-10-13	13:29:46	3707	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:46	3707	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863199 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:46	3707	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:46	3707	[DEBUG]	Executed store
2023-10-13	13:29:46	3707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863199','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:46	3707	[DEBUG]	Checking manufacturer
2023-10-13	13:29:46	3707	[DEBUG]	Load a row
2023-10-13	13:29:46	3707	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:46	3707	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '182'
2023-10-13	13:29:46	3707	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:46	3707	[DEBUG]	Executed store
2023-10-13	13:29:46	3707	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2023-10-11-05-38-4694579023' WHERE `virtuemart_manufacturer_id` = '182'
2023-10-13	13:29:46	3707	[DEBUG]	Manufacturer exists
2023-10-13	13:29:46	3707	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 182
2023-10-13	13:29:46	3707	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:46	3707	[DEBUG]	Executed store
2023-10-13	13:29:46	3707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863199','182')
2023-10-13	13:29:46	3707	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:46	3707	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:46	3707	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863199 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:46	3707	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863199,3,'',1)
2023-10-13	13:29:46	3707	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:46	3707	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:46	3707	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863199 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:46	3707	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3707	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863199,6,'Unitaire',3)
2023-10-13	13:29:46	3707	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:46	3707	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:46	3707	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863198
2023-10-13	13:29:46	3707	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:46	3707	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863198\":[1863198,8,1,\"choisir la taille\"],\"1863199\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863198
2023-10-13	13:29:46	3707	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:46	3707	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863199
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:46	3708	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field taille
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:46	3708	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:46	3708	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:46	3708	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:46	3708	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:46	3708	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:46	3708	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:46	3708	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field published
2023-10-13	13:29:46	3708	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:46	3708	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field override
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:46	3708	[DEBUG]	Use field value for field slug
2023-10-13	13:29:46	3708	[DEBUG]	Process line 3708
2023-10-13	13:29:46	3708	[DEBUG]	Load a row
2023-10-13	13:29:46	3708	[DEBUG]	Processing item: A_6167_1
2023-10-13	13:29:46	3708	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:46	3708	[DEBUG]	Processing product tax
2023-10-13	13:29:46	3708	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:46	3708	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:46	3708	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:46	3708	[DEBUG]	Query for Product
2023-10-13	13:29:46	3708	[DEBUG]	Executed store
2023-10-13	13:29:46	3708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6167_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:46	3708	[DEBUG]	Check product language entry
2023-10-13	13:29:46	3708	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863200
2023-10-13	13:29:46	3708	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3708	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6167_1' AND `virtuemart_product_id` != 1863200
2023-10-13	13:29:46	3708	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:46	3708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863200, 'A_6167_1')
2023-10-13	13:29:46	3708	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3708	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-master-panier-de-porte-bagages-pletscher-deluxe-noir' AND `virtuemart_product_id` != 1863200
2023-10-13	13:29:46	3708	[DEBUG]	Query for ProductLang
2023-10-13	13:29:46	3708	[DEBUG]	Executed store
2023-10-13	13:29:46	3708	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 49.507',`product_name`='Pletscher Master Panier de porte-bagages Pletscher Deluxe / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-master-panier-de-porte-bagages-pletscher-deluxe-noir' WHERE `virtuemart_product_id` = '1863200'
2023-10-13	13:29:46	3708	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31864_panier_shopping_pletscher_deluxe.jpg has not been found.
2023-10-13	13:29:46	3708	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:46	3708	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863200 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:46	3708	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:46	3708	[DEBUG]	Executed store
2023-10-13	13:29:46	3708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863200','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:46	3708	[DEBUG]	Checking manufacturer
2023-10-13	13:29:46	3708	[DEBUG]	Load a row
2023-10-13	13:29:46	3708	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:46	3708	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '182'
2023-10-13	13:29:46	3708	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:46	3708	[DEBUG]	Executed store
2023-10-13	13:29:46	3708	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2023-10-11-05-38-4694579023' WHERE `virtuemart_manufacturer_id` = '182'
2023-10-13	13:29:46	3708	[DEBUG]	Manufacturer exists
2023-10-13	13:29:46	3708	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 182
2023-10-13	13:29:46	3708	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:46	3708	[DEBUG]	Executed store
2023-10-13	13:29:46	3708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863200','182')
2023-10-13	13:29:46	3708	[DEBUG]	Find the custom field ID
2023-10-13	13:29:46	3708	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:46	3708	[DEBUG]	No custom field ID found
2023-10-13	13:29:46	3708	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:46	3708	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:46	3708	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863200 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:46	3708	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863200,3,'0',1)
2023-10-13	13:29:46	3708	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:46	3708	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:46	3708	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863200 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:46	3708	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863200,6,'choisir la taille',3)
2023-10-13	13:29:46	3708	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:46	3708	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:46	3708	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:46	3708	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:46	3708	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863200 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:46	3708	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:46	3708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863200,8,1)
2023-10-13	13:29:46	3708	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:46	3708	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863200\":[1863200,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863200
2023-10-13	13:29:46	3708	[DEBUG]	Checking category
2023-10-13	13:29:46	3708	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:46	3708	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863200
2023-10-13	13:29:46	3708	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:46	3708	[DEBUG]	Executed store
2023-10-13	13:29:46	3708	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863200','7385')
2023-10-13	13:29:46	3708	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:46	3708	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863200 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:46	3708	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:46	3708	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863200
2023-10-13	13:29:46	3709	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:46	3709	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:46	3709	[DEBUG]	Use field value for field taille
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:46	3709	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:46	3709	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:46	3709	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:46	3709	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:46	3709	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:46	3709	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:46	3709	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:46	3709	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:46	3709	[DEBUG]	Use field value for field published
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:46	3709	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field override
2023-10-13	13:29:46	3709	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:46	3709	[DEBUG]	Use field value for field slug
2023-10-13	13:29:46	3709	[DEBUG]	Process line 3709
2023-10-13	13:29:46	3709	[DEBUG]	Load a row
2023-10-13	13:29:46	3709	[DEBUG]	Processing item: 1000000102215
2023-10-13	13:29:46	3709	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:46	3709	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:46	3709	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6167_1'
2023-10-13	13:29:46	3709	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:46	3709	[DEBUG]	Processing product tax
2023-10-13	13:29:46	3709	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:46	3709	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:46	3709	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:46	3709	[DEBUG]	Query for Product
2023-10-13	13:29:46	3709	[DEBUG]	Executed store
2023-10-13	13:29:46	3709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863200','1000000102215','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:46	3709	[DEBUG]	No parent found
2023-10-13	13:29:46	3709	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863200 AND customfield_value = 'stockable'
2023-10-13	13:29:46	3709	[DEBUG]	Check product language entry
2023-10-13	13:29:46	3709	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863201
2023-10-13	13:29:46	3709	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3709	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000102215' AND `virtuemart_product_id` != 1863201
2023-10-13	13:29:46	3709	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:46	3709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863201, '1000000102215')
2023-10-13	13:29:46	3709	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3709	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-master-panier-de-porte-bagages-pletscher-deluxe-noir-unitaire' AND `virtuemart_product_id` != 1863201
2023-10-13	13:29:46	3709	[DEBUG]	Query for ProductLang
2023-10-13	13:29:46	3709	[DEBUG]	Executed store
2023-10-13	13:29:46	3709	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Master Panier de porte-bagages Pletscher Deluxe / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-master-panier-de-porte-bagages-pletscher-deluxe-noir-unitaire' WHERE `virtuemart_product_id` = '1863201'
2023-10-13	13:29:46	3709	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31864_panier_shopping_pletscher_deluxe.jpg has not been found.
2023-10-13	13:29:46	3709	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:46	3709	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863201 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:46	3709	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:46	3709	[DEBUG]	Executed store
2023-10-13	13:29:46	3709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863201','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:46	3709	[DEBUG]	Checking manufacturer
2023-10-13	13:29:46	3709	[DEBUG]	Load a row
2023-10-13	13:29:46	3709	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:46	3709	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '182'
2023-10-13	13:29:46	3709	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:46	3709	[DEBUG]	Executed store
2023-10-13	13:29:46	3709	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2023-10-11-05-38-4694579023' WHERE `virtuemart_manufacturer_id` = '182'
2023-10-13	13:29:46	3709	[DEBUG]	Manufacturer exists
2023-10-13	13:29:46	3709	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 182
2023-10-13	13:29:46	3709	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:46	3709	[DEBUG]	Executed store
2023-10-13	13:29:46	3709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863201','182')
2023-10-13	13:29:46	3709	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:46	3709	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:46	3709	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863201 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:46	3709	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863201,3,'',1)
2023-10-13	13:29:46	3709	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:46	3709	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:46	3709	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863201 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:46	3709	[DEBUG]	Store custom available field
2023-10-13	13:29:46	3709	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863201,6,'Unitaire',3)
2023-10-13	13:29:46	3709	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:46	3709	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:46	3709	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863200
2023-10-13	13:29:46	3709	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:46	3709	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863200\":[1863200,8,1,\"choisir la taille\"],\"1863201\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863200
2023-10-13	13:29:46	3709	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:46	3709	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863201
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:46	3710	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field taille
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:46	3710	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:46	3710	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:46	3710	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:46	3710	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:46	3710	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:46	3710	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:46	3710	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field published
2023-10-13	13:29:46	3710	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:46	3710	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field override
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:46	3710	[DEBUG]	Use field value for field slug
2023-10-13	13:29:46	3710	[DEBUG]	Process line 3710
2023-10-13	13:29:46	3710	[DEBUG]	Load a row
2023-10-13	13:29:46	3710	[DEBUG]	Processing item: A_6225_1
2023-10-13	13:29:46	3710	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:46	3710	[DEBUG]	Processing product tax
2023-10-13	13:29:46	3710	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:46	3710	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:46	3710	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:46	3710	[DEBUG]	Query for Product
2023-10-13	13:29:46	3710	[DEBUG]	Executed store
2023-10-13	13:29:46	3710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6225_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:46	3710	[DEBUG]	Check product language entry
2023-10-13	13:29:46	3710	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863202
2023-10-13	13:29:46	3710	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3710	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6225_1' AND `virtuemart_product_id` != 1863202
2023-10-13	13:29:46	3710	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:46	3710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863202, 'A_6225_1')
2023-10-13	13:29:46	3710	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:46	3710	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-porte-bagage-pack-n-rack-pedal-tour-rack-xt-aluminium-noir' AND `virtuemart_product_id` != 1863202
2023-10-13	13:29:46	3710	[DEBUG]	Query for ProductLang
2023-10-13	13:29:46	3710	[DEBUG]	Executed store
2023-10-13	13:29:46	3710	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Tour Rack XT Aluminium/plastique<br>- Inclus des rails pour<br>l\'installation des sacoches<br>- Montage sur tout maté. de cadre<br>- Montage à l\'avant ou à l\'arrière<br>(aussi pour fullys et<br>les fourches à suspension)<br>- Montage et démontage rapide<br>- Charge utile à L\'ARRIÈRE:<br>- 25kg Top<br>- max.12kg chaque côté<br>- Charge utile à L\'AVANT:<br>- 10kg Top<br>- 3kg chaque côté<br>- Poids: 990g<br>N° art fourn : 973028\"',`product_name`='Thule Porte-bagage Pack\'n Rack Pedal Tour Rack XT Aluminium / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-porte-bagage-pack-n-rack-pedal-tour-rack-xt-aluminium-noir' WHERE `virtuemart_product_id` = '1863202'
2023-10-13	13:29:46	3710	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32068_porte-bagage_thule_pack_n_rack_pedal_tour_rack_xt_aluminium.jpg
2023-10-13	13:29:46	3710	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:46	3710	[DEBUG]	Process image file
2023-10-13	13:29:46	3710	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:46	3710	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:46	3710	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32068_porte-bagage_thule_pack_n_rack_pedal_tour_rack_xt_aluminium.jpg
2023-10-13	13:29:46	3710	[DEBUG]	Full name target: bcprisme/32068_porte-bagage_thule_pack_n_rack_pedal_tour_rack_xt_aluminium.jpg
2023-10-13	13:29:47	3710	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:47	3710	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32068_porte-bagage_thule_pack_n_rack_pedal_tour_rack_xt_aluminium.jpg'
2023-10-13	13:29:47	3710	[DEBUG]	Query for Media
2023-10-13	13:29:47	3710	[DEBUG]	Executed store
2023-10-13	13:29:47	3710	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32068_porte-bagage_thule_pack_n_rack_pedal_tour_rack_xt_aluminium.jpg',`file_url_thumb`='bcprisme/32068_porte-bagage_thule_pack_n_rack_pedal_tour_rack_xt_aluminium.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '112268'
2023-10-13	13:29:47	3710	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:47	3710	[DEBUG]	Executed store
2023-10-13	13:29:47	3710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863202','112268','1')
2023-10-13	13:29:47	3710	[DEBUG]	Store product image relation
2023-10-13	13:29:47	3710	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:47	3710	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863202 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:47	3710	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:47	3710	[DEBUG]	Executed store
2023-10-13	13:29:47	3710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863202','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:47	3710	[DEBUG]	Checking manufacturer
2023-10-13	13:29:47	3710	[DEBUG]	Load a row
2023-10-13	13:29:47	3710	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:47	3710	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:29:47	3710	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:47	3710	[DEBUG]	Executed store
2023-10-13	13:29:47	3710	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:29:47	3710	[DEBUG]	Manufacturer exists
2023-10-13	13:29:47	3710	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:29:47	3710	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:47	3710	[DEBUG]	Executed store
2023-10-13	13:29:47	3710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863202','138')
2023-10-13	13:29:47	3710	[DEBUG]	Find the custom field ID
2023-10-13	13:29:47	3710	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:47	3710	[DEBUG]	No custom field ID found
2023-10-13	13:29:47	3710	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:47	3710	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:47	3710	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863202 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:47	3710	[DEBUG]	Store custom available field
2023-10-13	13:29:47	3710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863202,3,'0',1)
2023-10-13	13:29:47	3710	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:47	3710	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:47	3710	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863202 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:47	3710	[DEBUG]	Store custom available field
2023-10-13	13:29:47	3710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863202,6,'choisir la taille',3)
2023-10-13	13:29:47	3710	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:47	3710	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:47	3710	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:47	3710	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:47	3710	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863202 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:47	3710	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:47	3710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863202,8,1)
2023-10-13	13:29:47	3710	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:47	3710	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863202\":[1863202,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863202
2023-10-13	13:29:47	3710	[DEBUG]	Checking category
2023-10-13	13:29:47	3710	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:47	3710	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863202
2023-10-13	13:29:47	3710	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:48	3710	[DEBUG]	Executed store
2023-10-13	13:29:48	3710	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863202','7385')
2023-10-13	13:29:48	3710	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:48	3710	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863202 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:48	3710	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:48	3710	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863202
2023-10-13	13:29:48	3711	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:48	3711	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:48	3711	[DEBUG]	Use field value for field taille
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:48	3711	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:48	3711	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:48	3711	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:48	3711	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:48	3711	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:48	3711	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:48	3711	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:48	3711	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:48	3711	[DEBUG]	Use field value for field published
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:48	3711	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field override
2023-10-13	13:29:48	3711	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:48	3711	[DEBUG]	Use field value for field slug
2023-10-13	13:29:48	3711	[DEBUG]	Process line 3711
2023-10-13	13:29:48	3711	[DEBUG]	Load a row
2023-10-13	13:29:48	3711	[DEBUG]	Processing item: 091021049567
2023-10-13	13:29:48	3711	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:48	3711	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:48	3711	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6225_1'
2023-10-13	13:29:48	3711	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:48	3711	[DEBUG]	Processing product tax
2023-10-13	13:29:48	3711	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:48	3711	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:48	3711	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:48	3711	[DEBUG]	Query for Product
2023-10-13	13:29:48	3711	[DEBUG]	Executed store
2023-10-13	13:29:48	3711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863202','091021049567','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:48	3711	[DEBUG]	No parent found
2023-10-13	13:29:48	3711	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863202 AND customfield_value = 'stockable'
2023-10-13	13:29:48	3711	[DEBUG]	Check product language entry
2023-10-13	13:29:48	3711	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863203
2023-10-13	13:29:48	3711	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:48	3711	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '091021049567' AND `virtuemart_product_id` != 1863203
2023-10-13	13:29:48	3711	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:48	3711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863203, '091021049567')
2023-10-13	13:29:48	3711	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:48	3711	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-porte-bagage-pack-n-rack-pedal-tour-rack-xt-aluminium-noir-unitaire' AND `virtuemart_product_id` != 1863203
2023-10-13	13:29:48	3711	[DEBUG]	Query for ProductLang
2023-10-13	13:29:48	3711	[DEBUG]	Executed store
2023-10-13	13:29:48	3711	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Thule Porte-bagage Pack\'n Rack Pedal Tour Rack XT Aluminium / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-porte-bagage-pack-n-rack-pedal-tour-rack-xt-aluminium-noir-unitaire' WHERE `virtuemart_product_id` = '1863203'
2023-10-13	13:29:48	3711	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32068_porte-bagage_thule_pack_n_rack_pedal_tour_rack_xt_aluminium.jpg
2023-10-13	13:29:48	3711	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:48	3711	[DEBUG]	Process image file
2023-10-13	13:29:48	3711	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:48	3711	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:48	3711	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32068_porte-bagage_thule_pack_n_rack_pedal_tour_rack_xt_aluminium.jpg
2023-10-13	13:29:48	3711	[DEBUG]	Full name target: bcprisme/32068_porte-bagage_thule_pack_n_rack_pedal_tour_rack_xt_aluminium.jpg
2023-10-13	13:29:49	3711	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:49	3711	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32068_porte-bagage_thule_pack_n_rack_pedal_tour_rack_xt_aluminium.jpg'
2023-10-13	13:29:49	3711	[DEBUG]	Query for Media
2023-10-13	13:29:49	3711	[DEBUG]	Executed store
2023-10-13	13:29:49	3711	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32068_porte-bagage_thule_pack_n_rack_pedal_tour_rack_xt_aluminium.jpg',`file_url_thumb`='bcprisme/32068_porte-bagage_thule_pack_n_rack_pedal_tour_rack_xt_aluminium.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '112268'
2023-10-13	13:29:49	3711	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:49	3711	[DEBUG]	Executed store
2023-10-13	13:29:49	3711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863203','112268','1')
2023-10-13	13:29:49	3711	[DEBUG]	Store product image relation
2023-10-13	13:29:49	3711	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:49	3711	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863203 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:49	3711	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:49	3711	[DEBUG]	Executed store
2023-10-13	13:29:49	3711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863203','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:49	3711	[DEBUG]	Checking manufacturer
2023-10-13	13:29:49	3711	[DEBUG]	Load a row
2023-10-13	13:29:49	3711	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:49	3711	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:29:49	3711	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:49	3711	[DEBUG]	Executed store
2023-10-13	13:29:49	3711	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:29:49	3711	[DEBUG]	Manufacturer exists
2023-10-13	13:29:49	3711	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:29:49	3711	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:49	3711	[DEBUG]	Executed store
2023-10-13	13:29:49	3711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863203','138')
2023-10-13	13:29:49	3711	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:49	3711	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:49	3711	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863203 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:49	3711	[DEBUG]	Store custom available field
2023-10-13	13:29:49	3711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863203,3,'',1)
2023-10-13	13:29:49	3711	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:49	3711	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:49	3711	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863203 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:49	3711	[DEBUG]	Store custom available field
2023-10-13	13:29:49	3711	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863203,6,'Unitaire',3)
2023-10-13	13:29:49	3711	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:49	3711	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:49	3711	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863202
2023-10-13	13:29:49	3711	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:49	3711	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863202\":[1863202,8,1,\"choisir la taille\"],\"1863203\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863202
2023-10-13	13:29:49	3711	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:49	3711	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863203
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:49	3712	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field taille
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:49	3712	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:49	3712	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:49	3712	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:49	3712	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:49	3712	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:49	3712	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:49	3712	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field published
2023-10-13	13:29:49	3712	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:49	3712	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field override
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:49	3712	[DEBUG]	Use field value for field slug
2023-10-13	13:29:49	3712	[DEBUG]	Process line 3712
2023-10-13	13:29:49	3712	[DEBUG]	Load a row
2023-10-13	13:29:49	3712	[DEBUG]	Processing item: A_6226_1
2023-10-13	13:29:49	3712	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:49	3712	[DEBUG]	Processing product tax
2023-10-13	13:29:49	3712	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:49	3712	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:49	3712	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:49	3712	[DEBUG]	Query for Product
2023-10-13	13:29:49	3712	[DEBUG]	Executed store
2023-10-13	13:29:49	3712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6226_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:49	3712	[DEBUG]	Check product language entry
2023-10-13	13:29:49	3712	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863204
2023-10-13	13:29:49	3712	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:49	3712	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6226_1' AND `virtuemart_product_id` != 1863204
2023-10-13	13:29:49	3712	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:49	3712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863204, 'A_6226_1')
2023-10-13	13:29:49	3712	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:49	3712	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-corbeille-universelle-pack-n-pedal-30x20x39cm-avec-adaptateur-noir' AND `virtuemart_product_id` != 1863204
2023-10-13	13:29:49	3712	[DEBUG]	Query for ProductLang
2023-10-13	13:29:49	3712	[DEBUG]	Executed store
2023-10-13	13:29:49	3712	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 973014',`product_name`='Thule Corbeille Universelle Pack\'n Pedal 30x20x39cm avec adaptateur / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-corbeille-universelle-pack-n-pedal-30x20x39cm-avec-adaptateur-noir' WHERE `virtuemart_product_id` = '1863204'
2023-10-13	13:29:49	3712	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32069_thule_corbeille_universelle_pack_n_pedal_30x20x39cm_avec_adaptateur.jpg has not been found.
2023-10-13	13:29:49	3712	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:49	3712	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863204 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:49	3712	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:49	3712	[DEBUG]	Executed store
2023-10-13	13:29:49	3712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863204','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:49	3712	[DEBUG]	Checking manufacturer
2023-10-13	13:29:49	3712	[DEBUG]	Load a row
2023-10-13	13:29:49	3712	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:49	3712	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:29:49	3712	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:49	3712	[DEBUG]	Executed store
2023-10-13	13:29:49	3712	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:29:49	3712	[DEBUG]	Manufacturer exists
2023-10-13	13:29:49	3712	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:29:49	3712	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:49	3712	[DEBUG]	Executed store
2023-10-13	13:29:49	3712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863204','138')
2023-10-13	13:29:49	3712	[DEBUG]	Find the custom field ID
2023-10-13	13:29:49	3712	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:49	3712	[DEBUG]	No custom field ID found
2023-10-13	13:29:49	3712	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:49	3712	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:49	3712	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863204 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:49	3712	[DEBUG]	Store custom available field
2023-10-13	13:29:49	3712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863204,3,'0',1)
2023-10-13	13:29:49	3712	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:49	3712	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:49	3712	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863204 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:49	3712	[DEBUG]	Store custom available field
2023-10-13	13:29:49	3712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863204,6,'choisir la taille',3)
2023-10-13	13:29:49	3712	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:49	3712	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:49	3712	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:49	3712	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:49	3712	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863204 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:49	3712	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:49	3712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863204,8,1)
2023-10-13	13:29:49	3712	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:49	3712	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863204\":[1863204,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863204
2023-10-13	13:29:49	3712	[DEBUG]	Checking category
2023-10-13	13:29:49	3712	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:49	3712	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863204
2023-10-13	13:29:49	3712	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:49	3712	[DEBUG]	Executed store
2023-10-13	13:29:49	3712	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863204','7385')
2023-10-13	13:29:49	3712	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:49	3712	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863204 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:49	3712	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:49	3712	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863204
2023-10-13	13:29:49	3713	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:49	3713	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:49	3713	[DEBUG]	Use field value for field taille
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:49	3713	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:49	3713	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:49	3713	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:49	3713	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:49	3713	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:49	3713	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:49	3713	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:49	3713	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:49	3713	[DEBUG]	Use field value for field published
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:49	3713	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field override
2023-10-13	13:29:49	3713	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:49	3713	[DEBUG]	Use field value for field slug
2023-10-13	13:29:49	3713	[DEBUG]	Process line 3713
2023-10-13	13:29:49	3713	[DEBUG]	Load a row
2023-10-13	13:29:49	3713	[DEBUG]	Processing item: 091021805194
2023-10-13	13:29:49	3713	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:49	3713	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:49	3713	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6226_1'
2023-10-13	13:29:49	3713	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:49	3713	[DEBUG]	Processing product tax
2023-10-13	13:29:49	3713	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:49	3713	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:49	3713	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:49	3713	[DEBUG]	Query for Product
2023-10-13	13:29:49	3713	[DEBUG]	Executed store
2023-10-13	13:29:49	3713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863204','091021805194','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:49	3713	[DEBUG]	No parent found
2023-10-13	13:29:49	3713	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863204 AND customfield_value = 'stockable'
2023-10-13	13:29:49	3713	[DEBUG]	Check product language entry
2023-10-13	13:29:49	3713	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863205
2023-10-13	13:29:49	3713	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:49	3713	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '091021805194' AND `virtuemart_product_id` != 1863205
2023-10-13	13:29:49	3713	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:49	3713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863205, '091021805194')
2023-10-13	13:29:49	3713	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:49	3713	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-corbeille-universelle-pack-n-pedal-30x20x39cm-avec-adaptateur-noir-unitaire' AND `virtuemart_product_id` != 1863205
2023-10-13	13:29:49	3713	[DEBUG]	Query for ProductLang
2023-10-13	13:29:49	3713	[DEBUG]	Executed store
2023-10-13	13:29:49	3713	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Thule Corbeille Universelle Pack\'n Pedal 30x20x39cm avec adaptateur / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-corbeille-universelle-pack-n-pedal-30x20x39cm-avec-adaptateur-noir-unitaire' WHERE `virtuemart_product_id` = '1863205'
2023-10-13	13:29:49	3713	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32069_thule_corbeille_universelle_pack_n_pedal_30x20x39cm_avec_adaptateur.jpg has not been found.
2023-10-13	13:29:49	3713	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:49	3713	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863205 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:49	3713	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:49	3713	[DEBUG]	Executed store
2023-10-13	13:29:49	3713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863205','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:49	3713	[DEBUG]	Checking manufacturer
2023-10-13	13:29:49	3713	[DEBUG]	Load a row
2023-10-13	13:29:49	3713	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:49	3713	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:29:49	3713	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:49	3713	[DEBUG]	Executed store
2023-10-13	13:29:49	3713	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:29:49	3713	[DEBUG]	Manufacturer exists
2023-10-13	13:29:49	3713	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:29:49	3713	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:49	3713	[DEBUG]	Executed store
2023-10-13	13:29:49	3713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863205','138')
2023-10-13	13:29:49	3713	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:49	3713	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:49	3713	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863205 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:49	3713	[DEBUG]	Store custom available field
2023-10-13	13:29:49	3713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863205,3,'',1)
2023-10-13	13:29:49	3713	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:49	3713	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:49	3713	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863205 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:49	3713	[DEBUG]	Store custom available field
2023-10-13	13:29:49	3713	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863205,6,'Unitaire',3)
2023-10-13	13:29:49	3713	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:49	3713	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:49	3713	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863204
2023-10-13	13:29:49	3713	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:49	3713	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863204\":[1863204,8,1,\"choisir la taille\"],\"1863205\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863204
2023-10-13	13:29:49	3713	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:49	3713	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863205
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:49	3714	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field taille
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:49	3714	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:49	3714	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:49	3714	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:49	3714	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:49	3714	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:49	3714	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field published
2023-10-13	13:29:49	3714	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:49	3714	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field override
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:49	3714	[DEBUG]	Use field value for field slug
2023-10-13	13:29:49	3714	[DEBUG]	Process line 3714
2023-10-13	13:29:49	3714	[DEBUG]	Load a row
2023-10-13	13:29:49	3714	[DEBUG]	Processing item: A_6331_42
2023-10-13	13:29:49	3714	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:49	3714	[DEBUG]	Processing product tax
2023-10-13	13:29:49	3714	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:49	3714	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:49	3714	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:49	3714	[DEBUG]	Query for Product
2023-10-13	13:29:49	3714	[DEBUG]	Executed store
2023-10-13	13:29:49	3714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6331_42','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:49	3714	[DEBUG]	Check product language entry
2023-10-13	13:29:49	3714	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863206
2023-10-13	13:29:49	3714	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:49	3714	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6331_42' AND `virtuemart_product_id` != 1863206
2023-10-13	13:29:49	3714	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:49	3714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863206, 'A_6331_42')
2023-10-13	13:29:49	3714	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:49	3714	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-panier-pletcher-rattan-p-porte-bagage-maille-fine-brun-brun' AND `virtuemart_product_id` != 1863206
2023-10-13	13:29:49	3714	[DEBUG]	Query for ProductLang
2023-10-13	13:29:49	3714	[DEBUG]	Executed store
2023-10-13	13:29:49	3714	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 37.74803',`product_name`='Pletscher Panier Pletcher Rattan p/porte-bagage maille fine brun / Brun',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-panier-pletcher-rattan-p-porte-bagage-maille-fine-brun-brun' WHERE `virtuemart_product_id` = '1863206'
2023-10-13	13:29:49	3714	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32216_panier_pletcher_rattan_p-porte-bagage_maille_fine_brun.jpg
2023-10-13	13:29:49	3714	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:49	3714	[DEBUG]	Process image file
2023-10-13	13:29:49	3714	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:49	3714	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:49	3714	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32216_panier_pletcher_rattan_p-porte-bagage_maille_fine_brun.jpg
2023-10-13	13:29:49	3714	[DEBUG]	Full name target: bcprisme/32216_panier_pletcher_rattan_p-porte-bagage_maille_fine_brun.jpg
2023-10-13	13:29:50	3714	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:50	3714	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32216_panier_pletcher_rattan_p-porte-bagage_maille_fine_brun.jpg'
2023-10-13	13:29:50	3714	[DEBUG]	Query for Media
2023-10-13	13:29:50	3714	[DEBUG]	Executed store
2023-10-13	13:29:50	3714	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32216_panier_pletcher_rattan_p-porte-bagage_maille_fine_brun.jpg',`file_url_thumb`='bcprisme/32216_panier_pletcher_rattan_p-porte-bagage_maille_fine_brun.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15300'
2023-10-13	13:29:50	3714	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:50	3714	[DEBUG]	Executed store
2023-10-13	13:29:50	3714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863206','15300','1')
2023-10-13	13:29:50	3714	[DEBUG]	Store product image relation
2023-10-13	13:29:50	3714	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:50	3714	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863206 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:50	3714	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:50	3714	[DEBUG]	Executed store
2023-10-13	13:29:50	3714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863206','0','64.066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:50	3714	[DEBUG]	Checking manufacturer
2023-10-13	13:29:50	3714	[DEBUG]	Load a row
2023-10-13	13:29:50	3714	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:50	3714	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:50	3714	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:50	3714	[DEBUG]	Executed store
2023-10-13	13:29:50	3714	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:50	3714	[DEBUG]	Manufacturer exists
2023-10-13	13:29:50	3714	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:29:50	3714	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:50	3714	[DEBUG]	Executed store
2023-10-13	13:29:50	3714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863206','74')
2023-10-13	13:29:50	3714	[DEBUG]	Find the custom field ID
2023-10-13	13:29:50	3714	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:50	3714	[DEBUG]	No custom field ID found
2023-10-13	13:29:50	3714	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:50	3714	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:50	3714	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863206 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:50	3714	[DEBUG]	Store custom available field
2023-10-13	13:29:50	3714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863206,3,'0',1)
2023-10-13	13:29:50	3714	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:50	3714	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:50	3714	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863206 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:50	3714	[DEBUG]	Store custom available field
2023-10-13	13:29:50	3714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863206,6,'choisir la taille',3)
2023-10-13	13:29:50	3714	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:50	3714	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:50	3714	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:50	3714	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:50	3714	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863206 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:50	3714	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:50	3714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863206,8,1)
2023-10-13	13:29:50	3714	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:50	3714	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863206\":[1863206,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863206
2023-10-13	13:29:50	3714	[DEBUG]	Checking category
2023-10-13	13:29:50	3714	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:50	3714	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863206
2023-10-13	13:29:50	3714	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:50	3714	[DEBUG]	Executed store
2023-10-13	13:29:50	3714	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863206','7385')
2023-10-13	13:29:50	3714	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:50	3714	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863206 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:50	3714	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:50	3714	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863206
2023-10-13	13:29:50	3715	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:50	3715	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:50	3715	[DEBUG]	Use field value for field taille
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:50	3715	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:50	3715	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:50	3715	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:50	3715	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:50	3715	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:50	3715	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:50	3715	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:50	3715	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:50	3715	[DEBUG]	Use field value for field published
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:50	3715	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field override
2023-10-13	13:29:50	3715	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:50	3715	[DEBUG]	Use field value for field slug
2023-10-13	13:29:50	3715	[DEBUG]	Process line 3715
2023-10-13	13:29:50	3715	[DEBUG]	Load a row
2023-10-13	13:29:50	3715	[DEBUG]	Processing item: 1000000104257
2023-10-13	13:29:50	3715	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:50	3715	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:50	3715	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6331_42'
2023-10-13	13:29:50	3715	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:50	3715	[DEBUG]	Processing product tax
2023-10-13	13:29:50	3715	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:50	3715	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:50	3715	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:50	3715	[DEBUG]	Query for Product
2023-10-13	13:29:50	3715	[DEBUG]	Executed store
2023-10-13	13:29:50	3715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863206','1000000104257','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:50	3715	[DEBUG]	No parent found
2023-10-13	13:29:50	3715	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863206 AND customfield_value = 'stockable'
2023-10-13	13:29:50	3715	[DEBUG]	Check product language entry
2023-10-13	13:29:50	3715	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863207
2023-10-13	13:29:50	3715	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:50	3715	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000104257' AND `virtuemart_product_id` != 1863207
2023-10-13	13:29:50	3715	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:50	3715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863207, '1000000104257')
2023-10-13	13:29:50	3715	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:50	3715	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-panier-pletcher-rattan-p-porte-bagage-maille-fine-brun-brun-unitaire' AND `virtuemart_product_id` != 1863207
2023-10-13	13:29:50	3715	[DEBUG]	Query for ProductLang
2023-10-13	13:29:50	3715	[DEBUG]	Executed store
2023-10-13	13:29:50	3715	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Panier Pletcher Rattan p/porte-bagage maille fine brun / Brun (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-panier-pletcher-rattan-p-porte-bagage-maille-fine-brun-brun-unitaire' WHERE `virtuemart_product_id` = '1863207'
2023-10-13	13:29:50	3715	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32216_panier_pletcher_rattan_p-porte-bagage_maille_fine_brun.jpg
2023-10-13	13:29:50	3715	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:50	3715	[DEBUG]	Process image file
2023-10-13	13:29:50	3715	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:50	3715	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:50	3715	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32216_panier_pletcher_rattan_p-porte-bagage_maille_fine_brun.jpg
2023-10-13	13:29:50	3715	[DEBUG]	Full name target: bcprisme/32216_panier_pletcher_rattan_p-porte-bagage_maille_fine_brun.jpg
2023-10-13	13:29:51	3715	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:51	3715	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32216_panier_pletcher_rattan_p-porte-bagage_maille_fine_brun.jpg'
2023-10-13	13:29:51	3715	[DEBUG]	Query for Media
2023-10-13	13:29:51	3715	[DEBUG]	Executed store
2023-10-13	13:29:51	3715	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32216_panier_pletcher_rattan_p-porte-bagage_maille_fine_brun.jpg',`file_url_thumb`='bcprisme/32216_panier_pletcher_rattan_p-porte-bagage_maille_fine_brun.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15300'
2023-10-13	13:29:51	3715	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:51	3715	[DEBUG]	Executed store
2023-10-13	13:29:51	3715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863207','15300','1')
2023-10-13	13:29:51	3715	[DEBUG]	Store product image relation
2023-10-13	13:29:51	3715	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:51	3715	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863207 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:51	3715	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:51	3715	[DEBUG]	Executed store
2023-10-13	13:29:51	3715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863207','0','64.066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:51	3715	[DEBUG]	Checking manufacturer
2023-10-13	13:29:51	3715	[DEBUG]	Load a row
2023-10-13	13:29:51	3715	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:51	3715	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:51	3715	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:51	3715	[DEBUG]	Executed store
2023-10-13	13:29:51	3715	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:29:51	3715	[DEBUG]	Manufacturer exists
2023-10-13	13:29:51	3715	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:29:51	3715	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:51	3715	[DEBUG]	Executed store
2023-10-13	13:29:51	3715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863207','74')
2023-10-13	13:29:51	3715	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:51	3715	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:51	3715	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863207 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:51	3715	[DEBUG]	Store custom available field
2023-10-13	13:29:51	3715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863207,3,'',1)
2023-10-13	13:29:51	3715	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:51	3715	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:51	3715	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863207 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:51	3715	[DEBUG]	Store custom available field
2023-10-13	13:29:51	3715	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863207,6,'Unitaire',3)
2023-10-13	13:29:51	3715	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:51	3715	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:51	3715	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863206
2023-10-13	13:29:51	3715	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:51	3715	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863206\":[1863206,8,1,\"choisir la taille\"],\"1863207\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863206
2023-10-13	13:29:51	3715	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:51	3715	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863207
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:51	3716	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field taille
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:51	3716	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:51	3716	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:51	3716	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:51	3716	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:51	3716	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:51	3716	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field published
2023-10-13	13:29:51	3716	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:51	3716	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field override
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:51	3716	[DEBUG]	Use field value for field slug
2023-10-13	13:29:51	3716	[DEBUG]	Process line 3716
2023-10-13	13:29:51	3716	[DEBUG]	Load a row
2023-10-13	13:29:51	3716	[DEBUG]	Processing item: A_6360_1
2023-10-13	13:29:51	3716	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:51	3716	[DEBUG]	Processing product tax
2023-10-13	13:29:51	3716	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:51	3716	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:51	3716	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:51	3716	[DEBUG]	Query for Product
2023-10-13	13:29:51	3716	[DEBUG]	Executed store
2023-10-13	13:29:51	3716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6360_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:51	3716	[DEBUG]	Check product language entry
2023-10-13	13:29:51	3716	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863208
2023-10-13	13:29:51	3716	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:51	3716	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6360_1' AND `virtuemart_product_id` != 1863208
2023-10-13	13:29:51	3716	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:51	3716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863208, 'A_6360_1')
2023-10-13	13:29:51	3716	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:51	3716	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-avant-structura-35x26x25-cm-18-litres-max-7-kg-noir' AND `virtuemart_product_id` != 1863208
2023-10-13	13:29:51	3716	[DEBUG]	Query for ProductLang
2023-10-13	13:29:51	3716	[DEBUG]	Executed store
2023-10-13	13:29:51	3716	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Ce panier de guidon en bandes plastique tressées imitant les fibres naturelles résiste aux intempéries, en particulier sa couleur. Avec poignée de transport et plaque d\'adaptation réglable en hauteur et en continu pour l\'adaptateur de guidon. La plaque d\'adaptation est réglable en hauteur et en continu. Il reste ainsi suffisamment de place pour l\'éclairage.<br>N° art fourn : 48.160',`product_name`='KLICKfix Panier avant Structura 35x26x25 cm 18 litres max 7 kg / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-avant-structura-35x26x25-cm-18-litres-max-7-kg-noir' WHERE `virtuemart_product_id` = '1863208'
2023-10-13	13:29:51	3716	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32246_panier_klickfix_structura_oval_35x26x25_cm_18_litres_max_7_kg.jpg
2023-10-13	13:29:51	3716	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:51	3716	[DEBUG]	Process image file
2023-10-13	13:29:51	3716	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:51	3716	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:51	3716	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32246_panier_klickfix_structura_oval_35x26x25_cm_18_litres_max_7_kg.jpg
2023-10-13	13:29:51	3716	[DEBUG]	Full name target: bcprisme/32246_panier_klickfix_structura_oval_35x26x25_cm_18_litres_max_7_kg.jpg
2023-10-13	13:29:52	3716	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:52	3716	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32246_panier_klickfix_structura_oval_35x26x25_cm_18_litres_max_7_kg.jpg'
2023-10-13	13:29:52	3716	[DEBUG]	Query for Media
2023-10-13	13:29:52	3716	[DEBUG]	Executed store
2023-10-13	13:29:52	3716	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32246_panier_klickfix_structura_oval_35x26x25_cm_18_litres_max_7_kg.jpg',`file_url_thumb`='bcprisme/32246_panier_klickfix_structura_oval_35x26x25_cm_18_litres_max_7_kg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15301'
2023-10-13	13:29:52	3716	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:52	3716	[DEBUG]	Executed store
2023-10-13	13:29:52	3716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863208','15301','1')
2023-10-13	13:29:52	3716	[DEBUG]	Store product image relation
2023-10-13	13:29:52	3716	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:52	3716	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863208 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:52	3716	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:52	3716	[DEBUG]	Executed store
2023-10-13	13:29:52	3716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863208','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:52	3716	[DEBUG]	Checking manufacturer
2023-10-13	13:29:52	3716	[DEBUG]	Load a row
2023-10-13	13:29:52	3716	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:52	3716	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:52	3716	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:52	3716	[DEBUG]	Executed store
2023-10-13	13:29:52	3716	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:52	3716	[DEBUG]	Manufacturer exists
2023-10-13	13:29:52	3716	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:29:52	3716	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:52	3716	[DEBUG]	Executed store
2023-10-13	13:29:52	3716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863208','146')
2023-10-13	13:29:52	3716	[DEBUG]	Find the custom field ID
2023-10-13	13:29:52	3716	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:52	3716	[DEBUG]	No custom field ID found
2023-10-13	13:29:52	3716	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:52	3716	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:52	3716	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863208 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:52	3716	[DEBUG]	Store custom available field
2023-10-13	13:29:52	3716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863208,3,'0',1)
2023-10-13	13:29:52	3716	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:52	3716	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:52	3716	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863208 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:52	3716	[DEBUG]	Store custom available field
2023-10-13	13:29:52	3716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863208,6,'choisir la taille',3)
2023-10-13	13:29:52	3716	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:52	3716	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:52	3716	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:52	3716	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:52	3716	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863208 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:52	3716	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:52	3716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863208,8,1)
2023-10-13	13:29:52	3716	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:52	3716	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863208\":[1863208,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863208
2023-10-13	13:29:52	3716	[DEBUG]	Checking category
2023-10-13	13:29:52	3716	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:52	3716	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863208
2023-10-13	13:29:52	3716	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:52	3716	[DEBUG]	Executed store
2023-10-13	13:29:52	3716	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863208','7385')
2023-10-13	13:29:52	3716	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:52	3716	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863208 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:52	3716	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:52	3716	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863208
2023-10-13	13:29:52	3717	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:52	3717	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:52	3717	[DEBUG]	Use field value for field taille
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:52	3717	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:52	3717	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:52	3717	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:52	3717	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:52	3717	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:52	3717	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:52	3717	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:52	3717	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:52	3717	[DEBUG]	Use field value for field published
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:52	3717	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field override
2023-10-13	13:29:52	3717	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:52	3717	[DEBUG]	Use field value for field slug
2023-10-13	13:29:52	3717	[DEBUG]	Process line 3717
2023-10-13	13:29:52	3717	[DEBUG]	Load a row
2023-10-13	13:29:52	3717	[DEBUG]	Processing item: 4018861000585
2023-10-13	13:29:52	3717	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:52	3717	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:52	3717	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6360_1'
2023-10-13	13:29:52	3717	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:52	3717	[DEBUG]	Processing product tax
2023-10-13	13:29:52	3717	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:52	3717	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:52	3717	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:52	3717	[DEBUG]	Query for Product
2023-10-13	13:29:52	3717	[DEBUG]	Executed store
2023-10-13	13:29:52	3717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863208','4018861000585','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:52	3717	[DEBUG]	No parent found
2023-10-13	13:29:52	3717	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863208 AND customfield_value = 'stockable'
2023-10-13	13:29:52	3717	[DEBUG]	Check product language entry
2023-10-13	13:29:52	3717	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863209
2023-10-13	13:29:52	3717	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:52	3717	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4018861000585' AND `virtuemart_product_id` != 1863209
2023-10-13	13:29:52	3717	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:52	3717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863209, '4018861000585')
2023-10-13	13:29:52	3717	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:52	3717	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-avant-structura-35x26x25-cm-18-litres-max-7-kg-noir-unitaire' AND `virtuemart_product_id` != 1863209
2023-10-13	13:29:52	3717	[DEBUG]	Query for ProductLang
2023-10-13	13:29:52	3717	[DEBUG]	Executed store
2023-10-13	13:29:52	3717	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKfix Panier avant Structura 35x26x25 cm 18 litres max 7 kg / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-avant-structura-35x26x25-cm-18-litres-max-7-kg-noir-unitaire' WHERE `virtuemart_product_id` = '1863209'
2023-10-13	13:29:52	3717	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32246_panier_klickfix_structura_oval_35x26x25_cm_18_litres_max_7_kg.jpg
2023-10-13	13:29:52	3717	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:52	3717	[DEBUG]	Process image file
2023-10-13	13:29:52	3717	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:52	3717	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:52	3717	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32246_panier_klickfix_structura_oval_35x26x25_cm_18_litres_max_7_kg.jpg
2023-10-13	13:29:52	3717	[DEBUG]	Full name target: bcprisme/32246_panier_klickfix_structura_oval_35x26x25_cm_18_litres_max_7_kg.jpg
2023-10-13	13:29:53	3717	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:53	3717	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32246_panier_klickfix_structura_oval_35x26x25_cm_18_litres_max_7_kg.jpg'
2023-10-13	13:29:53	3717	[DEBUG]	Query for Media
2023-10-13	13:29:53	3717	[DEBUG]	Executed store
2023-10-13	13:29:53	3717	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32246_panier_klickfix_structura_oval_35x26x25_cm_18_litres_max_7_kg.jpg',`file_url_thumb`='bcprisme/32246_panier_klickfix_structura_oval_35x26x25_cm_18_litres_max_7_kg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15301'
2023-10-13	13:29:53	3717	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:53	3717	[DEBUG]	Executed store
2023-10-13	13:29:53	3717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863209','15301','1')
2023-10-13	13:29:53	3717	[DEBUG]	Store product image relation
2023-10-13	13:29:53	3717	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:53	3717	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863209 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:53	3717	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:53	3717	[DEBUG]	Executed store
2023-10-13	13:29:53	3717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863209','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:53	3717	[DEBUG]	Checking manufacturer
2023-10-13	13:29:53	3717	[DEBUG]	Load a row
2023-10-13	13:29:53	3717	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:53	3717	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:53	3717	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:53	3717	[DEBUG]	Executed store
2023-10-13	13:29:53	3717	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:29:53	3717	[DEBUG]	Manufacturer exists
2023-10-13	13:29:53	3717	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:29:53	3717	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:53	3717	[DEBUG]	Executed store
2023-10-13	13:29:53	3717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863209','146')
2023-10-13	13:29:53	3717	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:53	3717	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:53	3717	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863209 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:53	3717	[DEBUG]	Store custom available field
2023-10-13	13:29:53	3717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863209,3,'',1)
2023-10-13	13:29:53	3717	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:53	3717	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:53	3717	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863209 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:53	3717	[DEBUG]	Store custom available field
2023-10-13	13:29:53	3717	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863209,6,'Unitaire',3)
2023-10-13	13:29:53	3717	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:53	3717	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:53	3717	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863208
2023-10-13	13:29:53	3717	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:53	3717	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863208\":[1863208,8,1,\"choisir la taille\"],\"1863209\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863208
2023-10-13	13:29:53	3717	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:53	3717	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863209
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:53	3718	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field taille
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:53	3718	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:53	3718	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:53	3718	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:53	3718	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:53	3718	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:53	3718	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field published
2023-10-13	13:29:53	3718	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:53	3718	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field override
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:53	3718	[DEBUG]	Use field value for field slug
2023-10-13	13:29:53	3718	[DEBUG]	Process line 3718
2023-10-13	13:29:53	3718	[DEBUG]	Load a row
2023-10-13	13:29:53	3718	[DEBUG]	Processing item: A_6368_1
2023-10-13	13:29:53	3718	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:53	3718	[DEBUG]	Processing product tax
2023-10-13	13:29:53	3718	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:53	3718	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:53	3718	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:53	3718	[DEBUG]	Query for Product
2023-10-13	13:29:53	3718	[DEBUG]	Executed store
2023-10-13	13:29:53	3718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6368_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:53	3718	[DEBUG]	Check product language entry
2023-10-13	13:29:53	3718	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863210
2023-10-13	13:29:53	3718	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:53	3718	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6368_1' AND `virtuemart_product_id` != 1863210
2023-10-13	13:29:53	3718	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:53	3718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863210, 'A_6368_1')
2023-10-13	13:29:53	3718	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:53	3718	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-racktime-adaptateur-clamp-it-noir' AND `virtuemart_product_id` != 1863210
2023-10-13	13:29:53	3718	[DEBUG]	Query for ProductLang
2023-10-13	13:29:53	3718	[DEBUG]	Executed store
2023-10-13	13:29:53	3718	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 305-121-10014',`product_name`='CAMELBAK Racktime adaptateur Clamp-it / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-racktime-adaptateur-clamp-it-noir' WHERE `virtuemart_product_id` = '1863210'
2023-10-13	13:29:53	3718	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32254_racktime_adaptateur_clamp-it.jpg
2023-10-13	13:29:53	3718	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:53	3718	[DEBUG]	Process image file
2023-10-13	13:29:53	3718	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:53	3718	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:53	3718	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32254_racktime_adaptateur_clamp-it.jpg
2023-10-13	13:29:53	3718	[DEBUG]	Full name target: bcprisme/32254_racktime_adaptateur_clamp-it.jpg
2023-10-13	13:29:54	3718	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:54	3718	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32254_racktime_adaptateur_clamp-it.jpg'
2023-10-13	13:29:54	3718	[DEBUG]	Query for Media
2023-10-13	13:29:54	3718	[DEBUG]	Executed store
2023-10-13	13:29:54	3718	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32254_racktime_adaptateur_clamp-it.jpg',`file_url_thumb`='bcprisme/32254_racktime_adaptateur_clamp-it.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13247'
2023-10-13	13:29:54	3718	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:54	3718	[DEBUG]	Executed store
2023-10-13	13:29:54	3718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863210','13247','1')
2023-10-13	13:29:54	3718	[DEBUG]	Store product image relation
2023-10-13	13:29:54	3718	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:54	3718	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863210 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:54	3718	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:54	3718	[DEBUG]	Executed store
2023-10-13	13:29:54	3718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863210','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:54	3718	[DEBUG]	Checking manufacturer
2023-10-13	13:29:54	3718	[DEBUG]	Load a row
2023-10-13	13:29:54	3718	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:54	3718	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:29:54	3718	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:54	3718	[DEBUG]	Executed store
2023-10-13	13:29:54	3718	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331040431707' WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:29:54	3718	[DEBUG]	Manufacturer exists
2023-10-13	13:29:54	3718	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 157
2023-10-13	13:29:54	3718	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:54	3718	[DEBUG]	Executed store
2023-10-13	13:29:54	3718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863210','157')
2023-10-13	13:29:54	3718	[DEBUG]	Find the custom field ID
2023-10-13	13:29:54	3718	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:54	3718	[DEBUG]	No custom field ID found
2023-10-13	13:29:54	3718	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:54	3718	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:54	3718	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863210 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:54	3718	[DEBUG]	Store custom available field
2023-10-13	13:29:54	3718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863210,3,'0',1)
2023-10-13	13:29:54	3718	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:54	3718	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:54	3718	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863210 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:54	3718	[DEBUG]	Store custom available field
2023-10-13	13:29:54	3718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863210,6,'choisir la taille',3)
2023-10-13	13:29:54	3718	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:54	3718	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:54	3718	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:54	3718	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:54	3718	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863210 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:54	3718	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:54	3718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863210,8,1)
2023-10-13	13:29:54	3718	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:54	3718	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863210\":[1863210,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863210
2023-10-13	13:29:54	3718	[DEBUG]	Checking category
2023-10-13	13:29:54	3718	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:54	3718	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863210
2023-10-13	13:29:54	3718	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:54	3718	[DEBUG]	Executed store
2023-10-13	13:29:54	3718	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863210','7385')
2023-10-13	13:29:54	3718	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:54	3718	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863210 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:54	3718	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:54	3718	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863210
2023-10-13	13:29:54	3719	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:54	3719	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:54	3719	[DEBUG]	Use field value for field taille
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:54	3719	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:54	3719	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:54	3719	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:54	3719	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:54	3719	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:54	3719	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:54	3719	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:54	3719	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:54	3719	[DEBUG]	Use field value for field published
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:54	3719	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field override
2023-10-13	13:29:54	3719	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:54	3719	[DEBUG]	Use field value for field slug
2023-10-13	13:29:54	3719	[DEBUG]	Process line 3719
2023-10-13	13:29:54	3719	[DEBUG]	Load a row
2023-10-13	13:29:54	3719	[DEBUG]	Processing item: 4048174855978
2023-10-13	13:29:54	3719	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:54	3719	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:54	3719	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6368_1'
2023-10-13	13:29:54	3719	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:54	3719	[DEBUG]	Processing product tax
2023-10-13	13:29:54	3719	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:54	3719	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:54	3719	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:54	3719	[DEBUG]	Query for Product
2023-10-13	13:29:54	3719	[DEBUG]	Executed store
2023-10-13	13:29:54	3719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863210','4048174855978','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:54	3719	[DEBUG]	No parent found
2023-10-13	13:29:54	3719	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863210 AND customfield_value = 'stockable'
2023-10-13	13:29:54	3719	[DEBUG]	Check product language entry
2023-10-13	13:29:54	3719	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863211
2023-10-13	13:29:54	3719	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:54	3719	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4048174855978' AND `virtuemart_product_id` != 1863211
2023-10-13	13:29:54	3719	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:54	3719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863211, '4048174855978')
2023-10-13	13:29:54	3719	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:54	3719	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire' AND `virtuemart_product_id` != 1863211
2023-10-13	13:29:54	3719	[DEBUG]	Query for ProductLang
2023-10-13	13:29:54	3719	[DEBUG]	Executed store
2023-10-13	13:29:54	3719	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CAMELBAK Racktime adaptateur Clamp-it / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-racktime-adaptateur-clamp-it-noir-unitaire' WHERE `virtuemart_product_id` = '1863211'
2023-10-13	13:29:54	3719	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32254_racktime_adaptateur_clamp-it.jpg
2023-10-13	13:29:54	3719	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:54	3719	[DEBUG]	Process image file
2023-10-13	13:29:54	3719	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:54	3719	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:54	3719	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32254_racktime_adaptateur_clamp-it.jpg
2023-10-13	13:29:54	3719	[DEBUG]	Full name target: bcprisme/32254_racktime_adaptateur_clamp-it.jpg
2023-10-13	13:29:55	3719	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:55	3719	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32254_racktime_adaptateur_clamp-it.jpg'
2023-10-13	13:29:55	3719	[DEBUG]	Query for Media
2023-10-13	13:29:55	3719	[DEBUG]	Executed store
2023-10-13	13:29:55	3719	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32254_racktime_adaptateur_clamp-it.jpg',`file_url_thumb`='bcprisme/32254_racktime_adaptateur_clamp-it.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13247'
2023-10-13	13:29:55	3719	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:55	3719	[DEBUG]	Executed store
2023-10-13	13:29:55	3719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863211','13247','1')
2023-10-13	13:29:55	3719	[DEBUG]	Store product image relation
2023-10-13	13:29:55	3719	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:55	3719	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863211 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:55	3719	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:55	3719	[DEBUG]	Executed store
2023-10-13	13:29:55	3719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863211','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:55	3719	[DEBUG]	Checking manufacturer
2023-10-13	13:29:55	3719	[DEBUG]	Load a row
2023-10-13	13:29:55	3719	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:55	3719	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:29:55	3719	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:55	3719	[DEBUG]	Executed store
2023-10-13	13:29:55	3719	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331040431707' WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:29:55	3719	[DEBUG]	Manufacturer exists
2023-10-13	13:29:55	3719	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 157
2023-10-13	13:29:55	3719	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:55	3719	[DEBUG]	Executed store
2023-10-13	13:29:55	3719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863211','157')
2023-10-13	13:29:55	3719	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:55	3719	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:55	3719	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863211 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:55	3719	[DEBUG]	Store custom available field
2023-10-13	13:29:55	3719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863211,3,'',1)
2023-10-13	13:29:55	3719	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:55	3719	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:55	3719	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863211 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:55	3719	[DEBUG]	Store custom available field
2023-10-13	13:29:55	3719	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863211,6,'Unitaire',3)
2023-10-13	13:29:55	3719	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:55	3719	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:55	3719	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863210
2023-10-13	13:29:55	3719	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:55	3719	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863210\":[1863210,8,1,\"choisir la taille\"],\"1863211\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863210
2023-10-13	13:29:55	3719	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:55	3719	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863211
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:55	3720	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field taille
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:55	3720	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:55	3720	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:55	3720	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:55	3720	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:55	3720	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:55	3720	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field published
2023-10-13	13:29:55	3720	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:55	3720	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field override
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:55	3720	[DEBUG]	Use field value for field slug
2023-10-13	13:29:55	3720	[DEBUG]	Process line 3720
2023-10-13	13:29:55	3720	[DEBUG]	Load a row
2023-10-13	13:29:55	3720	[DEBUG]	Processing item: A_6369_1
2023-10-13	13:29:55	3720	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:55	3720	[DEBUG]	Processing product tax
2023-10-13	13:29:55	3720	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:55	3720	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:55	3720	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:55	3720	[DEBUG]	Query for Product
2023-10-13	13:29:55	3720	[DEBUG]	Executed store
2023-10-13	13:29:55	3720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6369_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:55	3720	[DEBUG]	Check product language entry
2023-10-13	13:29:55	3720	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863212
2023-10-13	13:29:55	3720	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:55	3720	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6369_1' AND `virtuemart_product_id` != 1863212
2023-10-13	13:29:55	3720	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:55	3720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863212, 'A_6369_1')
2023-10-13	13:29:55	3720	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:55	3720	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-racktime-adaptateur-clamp-it-noir' AND `virtuemart_product_id` != 1863212
2023-10-13	13:29:55	3720	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:29:55	3720	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'camelbak-racktime-adaptateur-clamp-it-noir', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'camelbak-racktime-adaptateur-clamp-it-noir' OR `slug` LIKE 'camelbak-racktime-adaptateur-clamp-it-noir-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1863212 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:29:55	3720	[DEBUG]	Query for ProductLang
2023-10-13	13:29:55	3720	[DEBUG]	Executed store
2023-10-13	13:29:55	3720	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 305-121-10032',`product_name`='CAMELBAK Racktime adaptateur Clamp-it  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-racktime-adaptateur-clamp-it-noir-1' WHERE `virtuemart_product_id` = '1863212'
2023-10-13	13:29:55	3720	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32255_racktime_adaptateur_clamp-it_.jpg
2023-10-13	13:29:55	3720	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:55	3720	[DEBUG]	Process image file
2023-10-13	13:29:55	3720	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:55	3720	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:55	3720	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32255_racktime_adaptateur_clamp-it_.jpg
2023-10-13	13:29:55	3720	[DEBUG]	Full name target: bcprisme/32255_racktime_adaptateur_clamp-it_.jpg
2023-10-13	13:29:56	3720	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:56	3720	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32255_racktime_adaptateur_clamp-it_.jpg'
2023-10-13	13:29:56	3720	[DEBUG]	Query for Media
2023-10-13	13:29:56	3720	[DEBUG]	Executed store
2023-10-13	13:29:56	3720	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32255_racktime_adaptateur_clamp-it_.jpg',`file_url_thumb`='bcprisme/32255_racktime_adaptateur_clamp-it_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13248'
2023-10-13	13:29:56	3720	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:56	3720	[DEBUG]	Executed store
2023-10-13	13:29:56	3720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863212','13248','1')
2023-10-13	13:29:56	3720	[DEBUG]	Store product image relation
2023-10-13	13:29:56	3720	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:56	3720	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863212 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:56	3720	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:56	3720	[DEBUG]	Executed store
2023-10-13	13:29:56	3720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863212','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:56	3720	[DEBUG]	Checking manufacturer
2023-10-13	13:29:56	3720	[DEBUG]	Load a row
2023-10-13	13:29:56	3720	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:56	3720	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:29:56	3720	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:56	3720	[DEBUG]	Executed store
2023-10-13	13:29:56	3720	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331040431707' WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:29:56	3720	[DEBUG]	Manufacturer exists
2023-10-13	13:29:56	3720	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 157
2023-10-13	13:29:56	3720	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:56	3720	[DEBUG]	Executed store
2023-10-13	13:29:56	3720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863212','157')
2023-10-13	13:29:56	3720	[DEBUG]	Find the custom field ID
2023-10-13	13:29:56	3720	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:29:56	3720	[DEBUG]	No custom field ID found
2023-10-13	13:29:56	3720	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:56	3720	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:29:56	3720	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863212 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:56	3720	[DEBUG]	Store custom available field
2023-10-13	13:29:56	3720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863212,3,'0',1)
2023-10-13	13:29:56	3720	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:56	3720	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:29:56	3720	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863212 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:56	3720	[DEBUG]	Store custom available field
2023-10-13	13:29:56	3720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863212,6,'choisir la taille',3)
2023-10-13	13:29:56	3720	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:56	3720	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:29:56	3720	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:29:56	3720	[DEBUG]	Find the multi variant product entry
2023-10-13	13:29:56	3720	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863212 AND `virtuemart_custom_id` = 8
2023-10-13	13:29:56	3720	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:29:56	3720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863212,8,1)
2023-10-13	13:29:56	3720	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:56	3720	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863212\":[1863212,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863212
2023-10-13	13:29:56	3720	[DEBUG]	Checking category
2023-10-13	13:29:56	3720	[DEBUG]	Get the existing categories for the product
2023-10-13	13:29:56	3720	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863212
2023-10-13	13:29:56	3720	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:29:56	3720	[DEBUG]	Executed store
2023-10-13	13:29:56	3720	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863212','7385')
2023-10-13	13:29:56	3720	[DEBUG]	Delete leftover product categories
2023-10-13	13:29:56	3720	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863212 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:29:56	3720	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:56	3720	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863212
2023-10-13	13:29:56	3721	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:56	3721	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:56	3721	[DEBUG]	Use field value for field taille
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:56	3721	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:56	3721	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:56	3721	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:56	3721	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:56	3721	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:56	3721	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:56	3721	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:56	3721	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:56	3721	[DEBUG]	Use field value for field published
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:56	3721	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field override
2023-10-13	13:29:56	3721	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:56	3721	[DEBUG]	Use field value for field slug
2023-10-13	13:29:56	3721	[DEBUG]	Process line 3721
2023-10-13	13:29:56	3721	[DEBUG]	Load a row
2023-10-13	13:29:56	3721	[DEBUG]	Processing item: 4048174827838
2023-10-13	13:29:56	3721	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:56	3721	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:56	3721	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6369_1'
2023-10-13	13:29:56	3721	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:56	3721	[DEBUG]	Processing product tax
2023-10-13	13:29:56	3721	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:56	3721	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:56	3721	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:56	3721	[DEBUG]	Query for Product
2023-10-13	13:29:56	3721	[DEBUG]	Executed store
2023-10-13	13:29:56	3721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863212','4048174827838','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:56	3721	[DEBUG]	No parent found
2023-10-13	13:29:56	3721	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863212 AND customfield_value = 'stockable'
2023-10-13	13:29:56	3721	[DEBUG]	Check product language entry
2023-10-13	13:29:56	3721	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863213
2023-10-13	13:29:56	3721	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:56	3721	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4048174827838' AND `virtuemart_product_id` != 1863213
2023-10-13	13:29:56	3721	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:56	3721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863213, '4048174827838')
2023-10-13	13:29:56	3721	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:56	3721	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire' AND `virtuemart_product_id` != 1863213
2023-10-13	13:29:56	3721	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:29:56	3721	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire' OR `slug` LIKE 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1863213 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:29:56	3721	[DEBUG]	Query for ProductLang
2023-10-13	13:29:56	3721	[DEBUG]	Executed store
2023-10-13	13:29:56	3721	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CAMELBAK Racktime adaptateur Clamp-it  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-racktime-adaptateur-clamp-it-noir-unitaire-1' WHERE `virtuemart_product_id` = '1863213'
2023-10-13	13:29:56	3721	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32255_racktime_adaptateur_clamp-it_.jpg
2023-10-13	13:29:56	3721	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:56	3721	[DEBUG]	Process image file
2023-10-13	13:29:56	3721	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:56	3721	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:56	3721	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32255_racktime_adaptateur_clamp-it_.jpg
2023-10-13	13:29:56	3721	[DEBUG]	Full name target: bcprisme/32255_racktime_adaptateur_clamp-it_.jpg
2023-10-13	13:29:57	3721	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:57	3721	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32255_racktime_adaptateur_clamp-it_.jpg'
2023-10-13	13:29:57	3721	[DEBUG]	Query for Media
2023-10-13	13:29:57	3721	[DEBUG]	Executed store
2023-10-13	13:29:57	3721	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32255_racktime_adaptateur_clamp-it_.jpg',`file_url_thumb`='bcprisme/32255_racktime_adaptateur_clamp-it_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13248'
2023-10-13	13:29:57	3721	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:57	3721	[DEBUG]	Executed store
2023-10-13	13:29:57	3721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863213','13248','1')
2023-10-13	13:29:57	3721	[DEBUG]	Store product image relation
2023-10-13	13:29:57	3721	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:57	3721	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863213 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:57	3721	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:57	3721	[DEBUG]	Executed store
2023-10-13	13:29:57	3721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863213','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:57	3721	[DEBUG]	Checking manufacturer
2023-10-13	13:29:57	3721	[DEBUG]	Load a row
2023-10-13	13:29:57	3721	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:57	3721	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:29:57	3721	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:57	3721	[DEBUG]	Executed store
2023-10-13	13:29:57	3721	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331040431707' WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:29:57	3721	[DEBUG]	Manufacturer exists
2023-10-13	13:29:57	3721	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 157
2023-10-13	13:29:57	3721	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:57	3721	[DEBUG]	Executed store
2023-10-13	13:29:57	3721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863213','157')
2023-10-13	13:29:57	3721	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:57	3721	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:57	3721	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863213 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:57	3721	[DEBUG]	Store custom available field
2023-10-13	13:29:57	3721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863213,3,'',1)
2023-10-13	13:29:57	3721	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:57	3721	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:57	3721	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863213 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:57	3721	[DEBUG]	Store custom available field
2023-10-13	13:29:57	3721	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863213,6,'Unitaire',3)
2023-10-13	13:29:57	3721	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:57	3721	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:57	3721	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863212
2023-10-13	13:29:57	3721	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:57	3721	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863212\":[1863212,8,1,\"choisir la taille\"],\"1863213\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863212
2023-10-13	13:29:57	3721	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:57	3721	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863213
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:57	3722	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field taille
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:57	3722	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:57	3722	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:57	3722	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:57	3722	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:57	3722	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:57	3722	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field published
2023-10-13	13:29:57	3722	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:57	3722	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field override
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:57	3722	[DEBUG]	Use field value for field slug
2023-10-13	13:29:57	3722	[DEBUG]	Process line 3722
2023-10-13	13:29:57	3722	[DEBUG]	Load a row
2023-10-13	13:29:57	3722	[DEBUG]	Processing item: A_6370_1
2023-10-13	13:29:57	3722	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:57	3722	[DEBUG]	Processing product tax
2023-10-13	13:29:57	3722	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:57	3722	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:57	3722	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:57	3722	[DEBUG]	Query for Product
2023-10-13	13:29:57	3722	[DEBUG]	Executed store
2023-10-13	13:29:57	3722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6370_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:57	3722	[DEBUG]	Check product language entry
2023-10-13	13:29:57	3722	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863214
2023-10-13	13:29:57	3722	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:57	3722	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6370_1' AND `virtuemart_product_id` != 1863214
2023-10-13	13:29:57	3722	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:57	3722	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863214, 'A_6370_1')
2023-10-13	13:29:57	3722	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:57	3722	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-racktime-adaptateur-clamp-it-noir' AND `virtuemart_product_id` != 1863214
2023-10-13	13:29:57	3722	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:29:57	3722	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'camelbak-racktime-adaptateur-clamp-it-noir', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'camelbak-racktime-adaptateur-clamp-it-noir' OR `slug` LIKE 'camelbak-racktime-adaptateur-clamp-it-noir-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1863214 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:29:57	3722	[DEBUG]	Query for ProductLang
2023-10-13	13:29:57	3722	[DEBUG]	Executed store
2023-10-13	13:29:57	3722	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 305-121-10812',`product_name`='CAMELBAK Racktime adaptateur Clamp-it / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-racktime-adaptateur-clamp-it-noir-1' WHERE `virtuemart_product_id` = '1863214'
2023-10-13	13:29:57	3723	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:57	3723	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:57	3723	[DEBUG]	Use field value for field taille
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:57	3723	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:57	3723	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:57	3723	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:57	3723	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:57	3723	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:57	3723	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:57	3723	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:57	3723	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:57	3723	[DEBUG]	Use field value for field published
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:57	3723	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field override
2023-10-13	13:29:57	3723	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:57	3723	[DEBUG]	Use field value for field slug
2023-10-13	13:29:57	3723	[DEBUG]	Process line 3723
2023-10-13	13:29:57	3723	[DEBUG]	Load a row
2023-10-13	13:29:57	3723	[DEBUG]	Processing item: 4048174813541
2023-10-13	13:29:57	3723	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:57	3723	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:57	3723	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6370_1'
2023-10-13	13:29:57	3723	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:57	3723	[DEBUG]	Processing product tax
2023-10-13	13:29:57	3723	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:57	3723	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:57	3723	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:57	3723	[DEBUG]	Query for Product
2023-10-13	13:29:57	3723	[DEBUG]	Executed store
2023-10-13	13:29:57	3723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863214','4048174813541','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:57	3723	[DEBUG]	No parent found
2023-10-13	13:29:57	3723	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863214 AND customfield_value = 'stockable'
2023-10-13	13:29:57	3723	[DEBUG]	Check product language entry
2023-10-13	13:29:57	3723	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863215
2023-10-13	13:29:57	3723	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:57	3723	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4048174813541' AND `virtuemart_product_id` != 1863215
2023-10-13	13:29:57	3723	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:57	3723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863215, '4048174813541')
2023-10-13	13:29:57	3723	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:57	3723	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire' AND `virtuemart_product_id` != 1863215
2023-10-13	13:29:57	3723	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:29:57	3723	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire' OR `slug` LIKE 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1863215 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:29:57	3723	[DEBUG]	Query for ProductLang
2023-10-13	13:29:57	3723	[DEBUG]	Executed store
2023-10-13	13:29:57	3723	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CAMELBAK Racktime adaptateur Clamp-it / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-racktime-adaptateur-clamp-it-noir-unitaire-2' WHERE `virtuemart_product_id` = '1863215'
2023-10-13	13:29:57	3723	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32256_racktime_adaptateur_clamp-it.jpg
2023-10-13	13:29:57	3723	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:57	3723	[DEBUG]	Process image file
2023-10-13	13:29:57	3723	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:57	3723	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:57	3723	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32256_racktime_adaptateur_clamp-it.jpg
2023-10-13	13:29:57	3723	[DEBUG]	Full name target: bcprisme/32256_racktime_adaptateur_clamp-it.jpg
2023-10-13	13:29:58	3723	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:58	3723	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32256_racktime_adaptateur_clamp-it.jpg'
2023-10-13	13:29:58	3723	[DEBUG]	Query for Media
2023-10-13	13:29:58	3723	[DEBUG]	Executed store
2023-10-13	13:29:58	3723	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32256_racktime_adaptateur_clamp-it.jpg',`file_url_thumb`='bcprisme/32256_racktime_adaptateur_clamp-it.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13249'
2023-10-13	13:29:58	3723	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:58	3723	[DEBUG]	Executed store
2023-10-13	13:29:58	3723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863215','13249','1')
2023-10-13	13:29:58	3723	[DEBUG]	Store product image relation
2023-10-13	13:29:58	3723	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:58	3723	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863215 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:58	3723	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:58	3723	[DEBUG]	Executed store
2023-10-13	13:29:58	3723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863215','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:58	3723	[DEBUG]	Checking manufacturer
2023-10-13	13:29:58	3723	[DEBUG]	Load a row
2023-10-13	13:29:58	3723	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:58	3723	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:29:58	3723	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:58	3723	[DEBUG]	Executed store
2023-10-13	13:29:58	3723	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331040431707' WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:29:58	3723	[DEBUG]	Manufacturer exists
2023-10-13	13:29:58	3723	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 157
2023-10-13	13:29:58	3723	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:58	3723	[DEBUG]	Executed store
2023-10-13	13:29:58	3723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863215','157')
2023-10-13	13:29:58	3723	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:58	3723	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:58	3723	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863215 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:58	3723	[DEBUG]	Store custom available field
2023-10-13	13:29:58	3723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863215,3,'',1)
2023-10-13	13:29:58	3723	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:58	3723	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:58	3723	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863215 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:58	3723	[DEBUG]	Store custom available field
2023-10-13	13:29:58	3723	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863215,6,'Unitaire',3)
2023-10-13	13:29:58	3723	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:58	3723	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:58	3723	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863214
2023-10-13	13:29:58	3723	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:58	3723	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[]|clabels=0|options={\"1863215\":[]}|' WHERE `virtuemart_product_id` = 1863214
2023-10-13	13:29:58	3723	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:58	3723	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863215
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:58	3724	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field taille
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:58	3724	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:58	3724	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:58	3724	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:58	3724	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:58	3724	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:58	3724	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field published
2023-10-13	13:29:58	3724	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:58	3724	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field override
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:58	3724	[DEBUG]	Use field value for field slug
2023-10-13	13:29:58	3724	[DEBUG]	Process line 3724
2023-10-13	13:29:58	3724	[DEBUG]	Load a row
2023-10-13	13:29:58	3724	[DEBUG]	Processing item: A_6371_1
2023-10-13	13:29:58	3724	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:58	3724	[DEBUG]	Processing product tax
2023-10-13	13:29:58	3724	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:58	3724	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:58	3724	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:58	3724	[DEBUG]	Query for Product
2023-10-13	13:29:58	3724	[DEBUG]	Executed store
2023-10-13	13:29:58	3724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6371_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:58	3724	[DEBUG]	Check product language entry
2023-10-13	13:29:58	3724	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863216
2023-10-13	13:29:58	3724	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:58	3724	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6371_1' AND `virtuemart_product_id` != 1863216
2023-10-13	13:29:58	3724	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:58	3724	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863216, 'A_6371_1')
2023-10-13	13:29:58	3724	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:58	3724	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-racktime-adaptateur-clamp-it-noir' AND `virtuemart_product_id` != 1863216
2023-10-13	13:29:58	3724	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:29:58	3724	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'camelbak-racktime-adaptateur-clamp-it-noir', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'camelbak-racktime-adaptateur-clamp-it-noir' OR `slug` LIKE 'camelbak-racktime-adaptateur-clamp-it-noir-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1863216 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:29:58	3724	[DEBUG]	Query for ProductLang
2023-10-13	13:29:58	3724	[DEBUG]	Executed store
2023-10-13	13:29:58	3724	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 305-121-12008',`product_name`='CAMELBAK Racktime adaptateur Clamp-it  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-racktime-adaptateur-clamp-it-noir-1' WHERE `virtuemart_product_id` = '1863216'
2023-10-13	13:29:58	3725	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:58	3725	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:58	3725	[DEBUG]	Use field value for field taille
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:58	3725	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:58	3725	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:58	3725	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:58	3725	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:58	3725	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:58	3725	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:58	3725	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:58	3725	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:58	3725	[DEBUG]	Use field value for field published
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:58	3725	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field override
2023-10-13	13:29:58	3725	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:58	3725	[DEBUG]	Use field value for field slug
2023-10-13	13:29:58	3725	[DEBUG]	Process line 3725
2023-10-13	13:29:58	3725	[DEBUG]	Load a row
2023-10-13	13:29:58	3725	[DEBUG]	Processing item: 4048174120083
2023-10-13	13:29:58	3725	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:58	3725	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:58	3725	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6371_1'
2023-10-13	13:29:58	3725	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:58	3725	[DEBUG]	Processing product tax
2023-10-13	13:29:58	3725	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:58	3725	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:58	3725	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:58	3725	[DEBUG]	Query for Product
2023-10-13	13:29:58	3725	[DEBUG]	Executed store
2023-10-13	13:29:58	3725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863216','4048174120083','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:58	3725	[DEBUG]	No parent found
2023-10-13	13:29:58	3725	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863216 AND customfield_value = 'stockable'
2023-10-13	13:29:58	3725	[DEBUG]	Check product language entry
2023-10-13	13:29:58	3725	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863217
2023-10-13	13:29:58	3725	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:58	3725	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4048174120083' AND `virtuemart_product_id` != 1863217
2023-10-13	13:29:58	3725	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:58	3725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863217, '4048174120083')
2023-10-13	13:29:58	3725	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:58	3725	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire' AND `virtuemart_product_id` != 1863217
2023-10-13	13:29:58	3725	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:29:58	3725	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire' OR `slug` LIKE 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1863217 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:29:58	3725	[DEBUG]	Query for ProductLang
2023-10-13	13:29:58	3725	[DEBUG]	Executed store
2023-10-13	13:29:58	3725	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CAMELBAK Racktime adaptateur Clamp-it  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-racktime-adaptateur-clamp-it-noir-unitaire-3' WHERE `virtuemart_product_id` = '1863217'
2023-10-13	13:29:58	3725	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32257_racktime_adaptateur_clamp-it_.jpg
2023-10-13	13:29:58	3725	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:58	3725	[DEBUG]	Process image file
2023-10-13	13:29:58	3725	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:58	3725	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:58	3725	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32257_racktime_adaptateur_clamp-it_.jpg
2023-10-13	13:29:58	3725	[DEBUG]	Full name target: bcprisme/32257_racktime_adaptateur_clamp-it_.jpg
2023-10-13	13:29:59	3725	[DEBUG]	Checking if the file_url exists
2023-10-13	13:29:59	3725	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32257_racktime_adaptateur_clamp-it_.jpg'
2023-10-13	13:29:59	3725	[DEBUG]	Query for Media
2023-10-13	13:29:59	3725	[DEBUG]	Executed store
2023-10-13	13:29:59	3725	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32257_racktime_adaptateur_clamp-it_.jpg',`file_url_thumb`='bcprisme/32257_racktime_adaptateur_clamp-it_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13250'
2023-10-13	13:29:59	3725	[DEBUG]	Query for ProductMedia
2023-10-13	13:29:59	3725	[DEBUG]	Executed store
2023-10-13	13:29:59	3725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863217','13250','1')
2023-10-13	13:29:59	3725	[DEBUG]	Store product image relation
2023-10-13	13:29:59	3725	[DEBUG]	Finding a product_price_id
2023-10-13	13:29:59	3725	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863217 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:29:59	3725	[DEBUG]	Query for ProductPrice
2023-10-13	13:29:59	3725	[DEBUG]	Executed store
2023-10-13	13:29:59	3725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863217','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:29:59	3725	[DEBUG]	Checking manufacturer
2023-10-13	13:29:59	3725	[DEBUG]	Load a row
2023-10-13	13:29:59	3725	[DEBUG]	Manufacturer already exists
2023-10-13	13:29:59	3725	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:29:59	3725	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:29:59	3725	[DEBUG]	Executed store
2023-10-13	13:29:59	3725	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331040431707' WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:29:59	3725	[DEBUG]	Manufacturer exists
2023-10-13	13:29:59	3725	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 157
2023-10-13	13:29:59	3725	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:29:59	3725	[DEBUG]	Executed store
2023-10-13	13:29:59	3725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863217','157')
2023-10-13	13:29:59	3725	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:29:59	3725	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:29:59	3725	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863217 AND `virtuemart_custom_id` = 3
2023-10-13	13:29:59	3725	[DEBUG]	Store custom available field
2023-10-13	13:29:59	3725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863217,3,'',1)
2023-10-13	13:29:59	3725	[DEBUG]	Processing custom available field: taille
2023-10-13	13:29:59	3725	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:29:59	3725	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863217 AND `virtuemart_custom_id` = 6
2023-10-13	13:29:59	3725	[DEBUG]	Store custom available field
2023-10-13	13:29:59	3725	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863217,6,'Unitaire',3)
2023-10-13	13:29:59	3725	[DEBUG]	Process multi-variant fields
2023-10-13	13:29:59	3725	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:29:59	3725	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863216
2023-10-13	13:29:59	3725	[DEBUG]	Store the updated customfield_params
2023-10-13	13:29:59	3725	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[]|clabels=0|options={\"1863217\":[]}|' WHERE `virtuemart_product_id` = 1863216
2023-10-13	13:29:59	3725	[DEBUG]	Update has fields after all processing
2023-10-13	13:29:59	3725	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863217
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:59	3726	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field taille
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field category_path
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:59	3726	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:29:59	3726	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:59	3726	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field product_weight
2023-10-13	13:29:59	3726	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:59	3726	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:59	3726	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field published
2023-10-13	13:29:59	3726	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:59	3726	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field custom_title
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field custom_param
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field override
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field public_price
2023-10-13	13:29:59	3726	[DEBUG]	Use field value for field slug
2023-10-13	13:29:59	3726	[DEBUG]	Process line 3726
2023-10-13	13:29:59	3726	[DEBUG]	Load a row
2023-10-13	13:29:59	3726	[DEBUG]	Processing item: A_6372_1
2023-10-13	13:29:59	3726	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:59	3726	[DEBUG]	Processing product tax
2023-10-13	13:29:59	3726	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:59	3726	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:59	3726	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:59	3726	[DEBUG]	Query for Product
2023-10-13	13:29:59	3726	[DEBUG]	Executed store
2023-10-13	13:29:59	3726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6372_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:59	3726	[DEBUG]	Check product language entry
2023-10-13	13:29:59	3726	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863218
2023-10-13	13:29:59	3726	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:59	3726	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6372_1' AND `virtuemart_product_id` != 1863218
2023-10-13	13:29:59	3726	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:59	3726	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863218, 'A_6372_1')
2023-10-13	13:29:59	3726	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:59	3726	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-racktime-adaptateur-clamp-it-noir' AND `virtuemart_product_id` != 1863218
2023-10-13	13:29:59	3726	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:29:59	3726	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'camelbak-racktime-adaptateur-clamp-it-noir', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'camelbak-racktime-adaptateur-clamp-it-noir' OR `slug` LIKE 'camelbak-racktime-adaptateur-clamp-it-noir-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1863218 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:29:59	3726	[DEBUG]	Query for ProductLang
2023-10-13	13:29:59	3726	[DEBUG]	Executed store
2023-10-13	13:29:59	3726	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 305-121-18008',`product_name`='CAMELBAK Racktime adaptateur Clamp-it   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-racktime-adaptateur-clamp-it-noir-1' WHERE `virtuemart_product_id` = '1863218'
2023-10-13	13:29:59	3727	[DEBUG]	Use field value for field product_sku
2023-10-13	13:29:59	3727	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:29:59	3727	[DEBUG]	Use field value for field taille
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:29:59	3727	[DEBUG]	Use field value for field product_name
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field category_path
2023-10-13	13:29:59	3727	[DEBUG]	Use field value for field product_price
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:29:59	3727	[DEBUG]	Use field value for field product_tax
2023-10-13	13:29:59	3727	[DEBUG]	Use field value for field file_url
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field product_desc
2023-10-13	13:29:59	3727	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:29:59	3727	[DEBUG]	Use field value for field product_availability
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field product_weight
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field product_unit
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field related_products
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field product_special
2023-10-13	13:29:59	3727	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:29:59	3727	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:29:59	3727	[DEBUG]	Use field value for field published
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field metadesc
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field metakey
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field custom_title
2023-10-13	13:29:59	3727	[DEBUG]	Use field value for field custom_value
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field custom_param
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field override
2023-10-13	13:29:59	3727	[DEBUG]	Use default value for field public_price
2023-10-13	13:29:59	3727	[DEBUG]	Use field value for field slug
2023-10-13	13:29:59	3727	[DEBUG]	Process line 3727
2023-10-13	13:29:59	3727	[DEBUG]	Load a row
2023-10-13	13:29:59	3727	[DEBUG]	Processing item: 4048174855916
2023-10-13	13:29:59	3727	[DEBUG]	Looking for parent SKU
2023-10-13	13:29:59	3727	[DEBUG]	Checking product parent SKU
2023-10-13	13:29:59	3727	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6372_1'
2023-10-13	13:29:59	3727	[DEBUG]	Product tax: 7.7
2023-10-13	13:29:59	3727	[DEBUG]	Processing product tax
2023-10-13	13:29:59	3727	[DEBUG]	Check if calculation rule exists
2023-10-13	13:29:59	3727	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:29:59	3727	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:29:59	3727	[DEBUG]	Query for Product
2023-10-13	13:29:59	3727	[DEBUG]	Executed store
2023-10-13	13:29:59	3727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863218','4048174855916','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:29:59	3727	[DEBUG]	No parent found
2023-10-13	13:29:59	3727	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863218 AND customfield_value = 'stockable'
2023-10-13	13:29:59	3727	[DEBUG]	Check product language entry
2023-10-13	13:29:59	3727	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863219
2023-10-13	13:29:59	3727	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:59	3727	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4048174855916' AND `virtuemart_product_id` != 1863219
2023-10-13	13:29:59	3727	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:29:59	3727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863219, '4048174855916')
2023-10-13	13:29:59	3727	[DEBUG]	Check if the product slug exists
2023-10-13	13:29:59	3727	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire' AND `virtuemart_product_id` != 1863219
2023-10-13	13:29:59	3727	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:29:59	3727	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire' OR `slug` LIKE 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1863219 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:29:59	3727	[DEBUG]	Query for ProductLang
2023-10-13	13:29:59	3727	[DEBUG]	Executed store
2023-10-13	13:29:59	3727	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CAMELBAK Racktime adaptateur Clamp-it   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-racktime-adaptateur-clamp-it-noir-unitaire-4' WHERE `virtuemart_product_id` = '1863219'
2023-10-13	13:29:59	3727	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32258_racktime_adaptateur_clamp-it__.jpg
2023-10-13	13:29:59	3727	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:59	3727	[DEBUG]	Process image file
2023-10-13	13:29:59	3727	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:29:59	3727	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:29:59	3727	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32258_racktime_adaptateur_clamp-it__.jpg
2023-10-13	13:29:59	3727	[DEBUG]	Full name target: bcprisme/32258_racktime_adaptateur_clamp-it__.jpg
2023-10-13	13:30:00	3727	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:00	3727	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32258_racktime_adaptateur_clamp-it__.jpg'
2023-10-13	13:30:00	3727	[DEBUG]	Query for Media
2023-10-13	13:30:00	3727	[DEBUG]	Executed store
2023-10-13	13:30:00	3727	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32258_racktime_adaptateur_clamp-it__.jpg',`file_url_thumb`='bcprisme/32258_racktime_adaptateur_clamp-it__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13251'
2023-10-13	13:30:00	3727	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:00	3727	[DEBUG]	Executed store
2023-10-13	13:30:00	3727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863219','13251','1')
2023-10-13	13:30:00	3727	[DEBUG]	Store product image relation
2023-10-13	13:30:00	3727	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:00	3727	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863219 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:00	3727	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:00	3727	[DEBUG]	Executed store
2023-10-13	13:30:00	3727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863219','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:00	3727	[DEBUG]	Checking manufacturer
2023-10-13	13:30:00	3727	[DEBUG]	Load a row
2023-10-13	13:30:00	3727	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:00	3727	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:30:00	3727	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:00	3727	[DEBUG]	Executed store
2023-10-13	13:30:00	3727	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331040431707' WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:30:00	3727	[DEBUG]	Manufacturer exists
2023-10-13	13:30:00	3727	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 157
2023-10-13	13:30:00	3727	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:00	3727	[DEBUG]	Executed store
2023-10-13	13:30:00	3727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863219','157')
2023-10-13	13:30:00	3727	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:00	3727	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:00	3727	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863219 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:00	3727	[DEBUG]	Store custom available field
2023-10-13	13:30:00	3727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863219,3,'',1)
2023-10-13	13:30:00	3727	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:00	3727	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:00	3727	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863219 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:00	3727	[DEBUG]	Store custom available field
2023-10-13	13:30:00	3727	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863219,6,'Unitaire',3)
2023-10-13	13:30:00	3727	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:00	3727	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:00	3727	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863218
2023-10-13	13:30:00	3727	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:00	3727	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[]|clabels=0|options={\"1863219\":[]}|' WHERE `virtuemart_product_id` = 1863218
2023-10-13	13:30:00	3727	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:00	3727	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863219
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:00	3728	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field taille
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:00	3728	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:00	3728	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:00	3728	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:00	3728	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:00	3728	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:00	3728	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field published
2023-10-13	13:30:00	3728	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:00	3728	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field override
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:00	3728	[DEBUG]	Use field value for field slug
2023-10-13	13:30:00	3728	[DEBUG]	Process line 3728
2023-10-13	13:30:00	3728	[DEBUG]	Load a row
2023-10-13	13:30:00	3728	[DEBUG]	Processing item: A_6373_1
2023-10-13	13:30:00	3728	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:00	3728	[DEBUG]	Processing product tax
2023-10-13	13:30:00	3728	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:00	3728	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:00	3728	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:00	3728	[DEBUG]	Query for Product
2023-10-13	13:30:00	3728	[DEBUG]	Executed store
2023-10-13	13:30:00	3728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6373_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:00	3728	[DEBUG]	Check product language entry
2023-10-13	13:30:00	3728	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863220
2023-10-13	13:30:00	3728	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:00	3728	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6373_1' AND `virtuemart_product_id` != 1863220
2023-10-13	13:30:00	3728	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:00	3728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863220, 'A_6373_1')
2023-10-13	13:30:00	3728	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:00	3728	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-racktime-elastic-bint-it-noir' AND `virtuemart_product_id` != 1863220
2023-10-13	13:30:00	3728	[DEBUG]	Query for ProductLang
2023-10-13	13:30:00	3728	[DEBUG]	Executed store
2023-10-13	13:30:00	3728	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 305-121-18007',`product_name`='CAMELBAK Racktime élastic Bint-it / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-racktime-elastic-bint-it-noir' WHERE `virtuemart_product_id` = '1863220'
2023-10-13	13:30:00	3728	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32259_racktime_elastic_bint-it.jpg
2023-10-13	13:30:00	3728	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:00	3728	[DEBUG]	Process image file
2023-10-13	13:30:00	3728	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:00	3728	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:00	3728	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32259_racktime_elastic_bint-it.jpg
2023-10-13	13:30:00	3728	[DEBUG]	Full name target: bcprisme/32259_racktime_elastic_bint-it.jpg
2023-10-13	13:30:01	3728	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:01	3728	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32259_racktime_elastic_bint-it.jpg'
2023-10-13	13:30:01	3728	[DEBUG]	Query for Media
2023-10-13	13:30:01	3728	[DEBUG]	Executed store
2023-10-13	13:30:01	3728	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32259_racktime_elastic_bint-it.jpg',`file_url_thumb`='bcprisme/32259_racktime_elastic_bint-it.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13252'
2023-10-13	13:30:01	3728	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:01	3728	[DEBUG]	Executed store
2023-10-13	13:30:01	3728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863220','13252','1')
2023-10-13	13:30:01	3728	[DEBUG]	Store product image relation
2023-10-13	13:30:01	3728	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:01	3728	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863220 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:01	3728	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:01	3728	[DEBUG]	Executed store
2023-10-13	13:30:01	3728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863220','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:01	3728	[DEBUG]	Checking manufacturer
2023-10-13	13:30:01	3728	[DEBUG]	Load a row
2023-10-13	13:30:01	3728	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:01	3728	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:30:01	3728	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:01	3728	[DEBUG]	Executed store
2023-10-13	13:30:01	3728	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331040431707' WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:30:01	3728	[DEBUG]	Manufacturer exists
2023-10-13	13:30:01	3728	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 157
2023-10-13	13:30:01	3728	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:01	3728	[DEBUG]	Executed store
2023-10-13	13:30:01	3728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863220','157')
2023-10-13	13:30:01	3728	[DEBUG]	Find the custom field ID
2023-10-13	13:30:01	3728	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:01	3728	[DEBUG]	No custom field ID found
2023-10-13	13:30:01	3728	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:01	3728	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:01	3728	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863220 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:01	3728	[DEBUG]	Store custom available field
2023-10-13	13:30:01	3728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863220,3,'0',1)
2023-10-13	13:30:01	3728	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:01	3728	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:01	3728	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863220 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:01	3728	[DEBUG]	Store custom available field
2023-10-13	13:30:01	3728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863220,6,'choisir la taille',3)
2023-10-13	13:30:01	3728	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:01	3728	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:01	3728	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:01	3728	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:01	3728	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863220 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:01	3728	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:01	3728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863220,8,1)
2023-10-13	13:30:01	3728	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:01	3728	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863220\":[1863220,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863220
2023-10-13	13:30:01	3728	[DEBUG]	Checking category
2023-10-13	13:30:01	3728	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:01	3728	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863220
2023-10-13	13:30:01	3728	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:01	3728	[DEBUG]	Executed store
2023-10-13	13:30:01	3728	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863220','7385')
2023-10-13	13:30:01	3728	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:01	3728	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863220 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:01	3728	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:01	3728	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863220
2023-10-13	13:30:01	3729	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:01	3729	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:01	3729	[DEBUG]	Use field value for field taille
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:01	3729	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:01	3729	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:01	3729	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:01	3729	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:01	3729	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:01	3729	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:01	3729	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:01	3729	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:01	3729	[DEBUG]	Use field value for field published
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:01	3729	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field override
2023-10-13	13:30:01	3729	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:01	3729	[DEBUG]	Use field value for field slug
2023-10-13	13:30:01	3729	[DEBUG]	Process line 3729
2023-10-13	13:30:01	3729	[DEBUG]	Load a row
2023-10-13	13:30:01	3729	[DEBUG]	Processing item: 4048174180070
2023-10-13	13:30:01	3729	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:01	3729	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:01	3729	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6373_1'
2023-10-13	13:30:01	3729	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:01	3729	[DEBUG]	Processing product tax
2023-10-13	13:30:01	3729	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:01	3729	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:01	3729	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:01	3729	[DEBUG]	Query for Product
2023-10-13	13:30:01	3729	[DEBUG]	Executed store
2023-10-13	13:30:01	3729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863220','4048174180070','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:01	3729	[DEBUG]	No parent found
2023-10-13	13:30:01	3729	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863220 AND customfield_value = 'stockable'
2023-10-13	13:30:01	3729	[DEBUG]	Check product language entry
2023-10-13	13:30:01	3729	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863221
2023-10-13	13:30:01	3729	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:01	3729	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4048174180070' AND `virtuemart_product_id` != 1863221
2023-10-13	13:30:01	3729	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:01	3729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863221, '4048174180070')
2023-10-13	13:30:01	3729	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:01	3729	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-racktime-elastic-bint-it-noir-unitaire' AND `virtuemart_product_id` != 1863221
2023-10-13	13:30:01	3729	[DEBUG]	Query for ProductLang
2023-10-13	13:30:01	3729	[DEBUG]	Executed store
2023-10-13	13:30:01	3729	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CAMELBAK Racktime élastic Bint-it / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-racktime-elastic-bint-it-noir-unitaire' WHERE `virtuemart_product_id` = '1863221'
2023-10-13	13:30:01	3729	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32259_racktime_elastic_bint-it.jpg
2023-10-13	13:30:01	3729	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:01	3729	[DEBUG]	Process image file
2023-10-13	13:30:01	3729	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:01	3729	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:01	3729	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32259_racktime_elastic_bint-it.jpg
2023-10-13	13:30:01	3729	[DEBUG]	Full name target: bcprisme/32259_racktime_elastic_bint-it.jpg
2023-10-13	13:30:02	3729	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:02	3729	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32259_racktime_elastic_bint-it.jpg'
2023-10-13	13:30:02	3729	[DEBUG]	Query for Media
2023-10-13	13:30:02	3729	[DEBUG]	Executed store
2023-10-13	13:30:02	3729	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32259_racktime_elastic_bint-it.jpg',`file_url_thumb`='bcprisme/32259_racktime_elastic_bint-it.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13252'
2023-10-13	13:30:02	3729	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:02	3729	[DEBUG]	Executed store
2023-10-13	13:30:02	3729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863221','13252','1')
2023-10-13	13:30:02	3729	[DEBUG]	Store product image relation
2023-10-13	13:30:02	3729	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:02	3729	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863221 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:02	3729	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:02	3729	[DEBUG]	Executed store
2023-10-13	13:30:02	3729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863221','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:02	3729	[DEBUG]	Checking manufacturer
2023-10-13	13:30:02	3729	[DEBUG]	Load a row
2023-10-13	13:30:02	3729	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:02	3729	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:30:02	3729	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:02	3729	[DEBUG]	Executed store
2023-10-13	13:30:02	3729	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331040431707' WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:30:02	3729	[DEBUG]	Manufacturer exists
2023-10-13	13:30:02	3729	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 157
2023-10-13	13:30:02	3729	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:02	3729	[DEBUG]	Executed store
2023-10-13	13:30:02	3729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863221','157')
2023-10-13	13:30:02	3729	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:02	3729	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:02	3729	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863221 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:02	3729	[DEBUG]	Store custom available field
2023-10-13	13:30:02	3729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863221,3,'',1)
2023-10-13	13:30:02	3729	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:02	3729	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:02	3729	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863221 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:02	3729	[DEBUG]	Store custom available field
2023-10-13	13:30:02	3729	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863221,6,'Unitaire',3)
2023-10-13	13:30:02	3729	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:02	3729	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:02	3729	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863220
2023-10-13	13:30:02	3729	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:02	3729	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863220\":[1863220,8,1,\"choisir la taille\"],\"1863221\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863220
2023-10-13	13:30:02	3729	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:02	3729	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863221
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:02	3730	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field taille
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:02	3730	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:02	3730	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:02	3730	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:02	3730	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:02	3730	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:02	3730	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field published
2023-10-13	13:30:02	3730	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:02	3730	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field override
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:02	3730	[DEBUG]	Use field value for field slug
2023-10-13	13:30:02	3730	[DEBUG]	Process line 3730
2023-10-13	13:30:02	3730	[DEBUG]	Load a row
2023-10-13	13:30:02	3730	[DEBUG]	Processing item: A_6503_1
2023-10-13	13:30:02	3730	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:02	3730	[DEBUG]	Processing product tax
2023-10-13	13:30:02	3730	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:02	3730	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:02	3730	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:02	3730	[DEBUG]	Query for Product
2023-10-13	13:30:02	3730	[DEBUG]	Executed store
2023-10-13	13:30:02	3730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6503_1','0.105','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:02	3730	[DEBUG]	Check product language entry
2023-10-13	13:30:02	3730	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863222
2023-10-13	13:30:02	3730	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:02	3730	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6503_1' AND `virtuemart_product_id` != 1863222
2023-10-13	13:30:02	3730	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:02	3730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863222, 'A_6503_1')
2023-10-13	13:30:02	3730	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:02	3730	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-sacoche-agu-pour-porte-bagage-essential-double-noir-noir' AND `virtuemart_product_id` != 1863222
2023-10-13	13:30:02	3730	[DEBUG]	Query for ProductLang
2023-10-13	13:30:02	3730	[DEBUG]	Executed store
2023-10-13	13:30:02	3730	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Sacoche de selle avec double compartiment<br>N° art fourn : 28.74515',`product_name`='Agu Sacoche AGU pour porte-bagage Essential Double noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-sacoche-agu-pour-porte-bagage-essential-double-noir-noir' WHERE `virtuemart_product_id` = '1863222'
2023-10-13	13:30:02	3730	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32385_sacoche_agu_pour_porte-bagage_essential_double_noir.jpg
2023-10-13	13:30:02	3730	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:02	3730	[DEBUG]	Process image file
2023-10-13	13:30:02	3730	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:02	3730	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:02	3730	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32385_sacoche_agu_pour_porte-bagage_essential_double_noir.jpg
2023-10-13	13:30:02	3730	[DEBUG]	Full name target: bcprisme/32385_sacoche_agu_pour_porte-bagage_essential_double_noir.jpg
2023-10-13	13:30:04	3730	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:04	3730	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32385_sacoche_agu_pour_porte-bagage_essential_double_noir.jpg'
2023-10-13	13:30:04	3730	[DEBUG]	Query for Media
2023-10-13	13:30:04	3730	[DEBUG]	Executed store
2023-10-13	13:30:04	3730	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32385_sacoche_agu_pour_porte-bagage_essential_double_noir.jpg',`file_url_thumb`='bcprisme/32385_sacoche_agu_pour_porte-bagage_essential_double_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14870'
2023-10-13	13:30:04	3730	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:04	3730	[DEBUG]	Executed store
2023-10-13	13:30:04	3730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863222','14870','1')
2023-10-13	13:30:04	3730	[DEBUG]	Store product image relation
2023-10-13	13:30:04	3730	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:04	3730	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863222 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:04	3730	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:04	3730	[DEBUG]	Executed store
2023-10-13	13:30:04	3730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863222','0','82.6369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:04	3730	[DEBUG]	Checking manufacturer
2023-10-13	13:30:04	3730	[DEBUG]	Load a row
2023-10-13	13:30:04	3730	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:04	3730	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:30:04	3730	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:04	3730	[DEBUG]	Executed store
2023-10-13	13:30:04	3730	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:30:04	3730	[DEBUG]	Manufacturer exists
2023-10-13	13:30:04	3730	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	13:30:04	3730	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:04	3730	[DEBUG]	Executed store
2023-10-13	13:30:04	3730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863222','45')
2023-10-13	13:30:04	3730	[DEBUG]	Find the custom field ID
2023-10-13	13:30:04	3730	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:04	3730	[DEBUG]	No custom field ID found
2023-10-13	13:30:04	3730	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:04	3730	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:30:04	3730	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863222 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:04	3730	[DEBUG]	Store custom available field
2023-10-13	13:30:04	3730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863222,3,'29.8169444444444',1)
2023-10-13	13:30:04	3730	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:04	3730	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:04	3730	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863222 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:04	3730	[DEBUG]	Store custom available field
2023-10-13	13:30:04	3730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863222,6,'choisir la taille',3)
2023-10-13	13:30:04	3730	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:04	3730	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:04	3730	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:04	3730	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:04	3730	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863222 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:04	3730	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:04	3730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863222,8,1)
2023-10-13	13:30:04	3730	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:04	3730	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863222\":[1863222,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863222
2023-10-13	13:30:04	3730	[DEBUG]	Checking category
2023-10-13	13:30:04	3730	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:04	3730	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863222
2023-10-13	13:30:04	3730	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:04	3730	[DEBUG]	Executed store
2023-10-13	13:30:04	3730	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863222','7385')
2023-10-13	13:30:04	3730	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:04	3730	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863222 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:04	3730	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:04	3730	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863222
2023-10-13	13:30:04	3731	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:04	3731	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:04	3731	[DEBUG]	Use field value for field taille
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:04	3731	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:04	3731	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:04	3731	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:04	3731	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:04	3731	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:04	3731	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:04	3731	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:04	3731	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:04	3731	[DEBUG]	Use field value for field published
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:04	3731	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field override
2023-10-13	13:30:04	3731	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:04	3731	[DEBUG]	Use field value for field slug
2023-10-13	13:30:04	3731	[DEBUG]	Process line 3731
2023-10-13	13:30:04	3731	[DEBUG]	Load a row
2023-10-13	13:30:04	3731	[DEBUG]	Processing item: 8717565561052
2023-10-13	13:30:04	3731	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:04	3731	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:04	3731	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6503_1'
2023-10-13	13:30:04	3731	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:04	3731	[DEBUG]	Processing product tax
2023-10-13	13:30:04	3731	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:04	3731	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:04	3731	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:04	3731	[DEBUG]	Query for Product
2023-10-13	13:30:04	3731	[DEBUG]	Executed store
2023-10-13	13:30:04	3731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863222','8717565561052','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:04	3731	[DEBUG]	No parent found
2023-10-13	13:30:04	3731	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863222 AND customfield_value = 'stockable'
2023-10-13	13:30:04	3731	[DEBUG]	Check product language entry
2023-10-13	13:30:04	3731	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863223
2023-10-13	13:30:04	3731	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:04	3731	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717565561052' AND `virtuemart_product_id` != 1863223
2023-10-13	13:30:04	3731	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:04	3731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863223, '8717565561052')
2023-10-13	13:30:04	3731	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:04	3731	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-sacoche-agu-pour-porte-bagage-essential-double-noir-noir-unitaire' AND `virtuemart_product_id` != 1863223
2023-10-13	13:30:04	3731	[DEBUG]	Query for ProductLang
2023-10-13	13:30:04	3731	[DEBUG]	Executed store
2023-10-13	13:30:04	3731	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Agu Sacoche AGU pour porte-bagage Essential Double noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-sacoche-agu-pour-porte-bagage-essential-double-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1863223'
2023-10-13	13:30:04	3731	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32385_sacoche_agu_pour_porte-bagage_essential_double_noir.jpg
2023-10-13	13:30:04	3731	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:04	3731	[DEBUG]	Process image file
2023-10-13	13:30:04	3731	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:04	3731	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:04	3731	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32385_sacoche_agu_pour_porte-bagage_essential_double_noir.jpg
2023-10-13	13:30:04	3731	[DEBUG]	Full name target: bcprisme/32385_sacoche_agu_pour_porte-bagage_essential_double_noir.jpg
2023-10-13	13:30:05	3731	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:05	3731	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32385_sacoche_agu_pour_porte-bagage_essential_double_noir.jpg'
2023-10-13	13:30:05	3731	[DEBUG]	Query for Media
2023-10-13	13:30:05	3731	[DEBUG]	Executed store
2023-10-13	13:30:05	3731	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32385_sacoche_agu_pour_porte-bagage_essential_double_noir.jpg',`file_url_thumb`='bcprisme/32385_sacoche_agu_pour_porte-bagage_essential_double_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14870'
2023-10-13	13:30:05	3731	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:05	3731	[DEBUG]	Executed store
2023-10-13	13:30:05	3731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863223','14870','1')
2023-10-13	13:30:05	3731	[DEBUG]	Store product image relation
2023-10-13	13:30:05	3731	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:05	3731	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863223 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:05	3731	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:05	3731	[DEBUG]	Executed store
2023-10-13	13:30:05	3731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863223','0','82.6369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:05	3731	[DEBUG]	Checking manufacturer
2023-10-13	13:30:05	3731	[DEBUG]	Load a row
2023-10-13	13:30:05	3731	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:05	3731	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:30:05	3731	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:05	3731	[DEBUG]	Executed store
2023-10-13	13:30:05	3731	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:30:05	3731	[DEBUG]	Manufacturer exists
2023-10-13	13:30:05	3731	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	13:30:05	3731	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:05	3731	[DEBUG]	Executed store
2023-10-13	13:30:05	3731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863223','45')
2023-10-13	13:30:05	3731	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:05	3731	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:05	3731	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863223 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:05	3731	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863223,3,'',1)
2023-10-13	13:30:05	3731	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:05	3731	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:05	3731	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863223 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:05	3731	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3731	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863223,6,'Unitaire',3)
2023-10-13	13:30:05	3731	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:05	3731	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:05	3731	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863222
2023-10-13	13:30:05	3731	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:05	3731	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863222\":[1863222,8,1,\"choisir la taille\"],\"1863223\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863222
2023-10-13	13:30:05	3731	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:05	3731	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863223
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:05	3732	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field taille
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:05	3732	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:05	3732	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:05	3732	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:05	3732	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:05	3732	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:05	3732	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:05	3732	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field published
2023-10-13	13:30:05	3732	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:05	3732	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field override
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:05	3732	[DEBUG]	Use field value for field slug
2023-10-13	13:30:05	3732	[DEBUG]	Process line 3732
2023-10-13	13:30:05	3732	[DEBUG]	Load a row
2023-10-13	13:30:05	3732	[DEBUG]	Processing item: A_6602_1
2023-10-13	13:30:05	3732	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:05	3732	[DEBUG]	Processing product tax
2023-10-13	13:30:05	3732	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:05	3732	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:05	3732	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:05	3732	[DEBUG]	Query for Product
2023-10-13	13:30:05	3732	[DEBUG]	Executed store
2023-10-13	13:30:05	3732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6602_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:05	3732	[DEBUG]	Check product language entry
2023-10-13	13:30:05	3732	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863224
2023-10-13	13:30:05	3732	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3732	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6602_1' AND `virtuemart_product_id` != 1863224
2023-10-13	13:30:05	3732	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:05	3732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863224, 'A_6602_1')
2023-10-13	13:30:05	3732	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3732	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sacoche-set-pack-n-pedal-small-shield-noir' AND `virtuemart_product_id` != 1863224
2023-10-13	13:30:05	3732	[DEBUG]	Query for ProductLang
2023-10-13	13:30:05	3732	[DEBUG]	Executed store
2023-10-13	13:30:05	3732	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='2x14 litres (28 litres)<br>- Bandulière incluse<br>- Suface réfléchissante, augmente la visibilité<br>- AVANT/ARRIÈRE - GAUCHE/DROITE<br>- Fixation pivotant / connexion magnétique<br>- Dimensions: 31.1x25.4x14.0cm<br>- Poids: 1800g (paire)<br>N° art fourn : 9730',`product_name`='Thule Sacoche-Set Pack&#39;n Pedal SMALL Shield&#34; / Noir&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-sacoche-set-pack-n-pedal-small-shield-noir' WHERE `virtuemart_product_id` = '1863224'
2023-10-13	13:30:05	3732	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32489_sacoche-set_thule_pack_n_pedal__small_shield_.jpg has not been found.
2023-10-13	13:30:05	3732	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:05	3732	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863224 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:05	3732	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:05	3732	[DEBUG]	Executed store
2023-10-13	13:30:05	3732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863224','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:05	3732	[DEBUG]	Checking manufacturer
2023-10-13	13:30:05	3732	[DEBUG]	Load a row
2023-10-13	13:30:05	3732	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:05	3732	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3732	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:05	3732	[DEBUG]	Executed store
2023-10-13	13:30:05	3732	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3732	[DEBUG]	Manufacturer exists
2023-10-13	13:30:05	3732	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:05	3732	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:05	3732	[DEBUG]	Executed store
2023-10-13	13:30:05	3732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863224','138')
2023-10-13	13:30:05	3732	[DEBUG]	Find the custom field ID
2023-10-13	13:30:05	3732	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:05	3732	[DEBUG]	No custom field ID found
2023-10-13	13:30:05	3732	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:05	3732	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:05	3732	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863224 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:05	3732	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863224,3,'0',1)
2023-10-13	13:30:05	3732	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:05	3732	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:05	3732	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863224 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:05	3732	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863224,6,'choisir la taille',3)
2023-10-13	13:30:05	3732	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:05	3732	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:05	3732	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:05	3732	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:05	3732	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863224 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:05	3732	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:05	3732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863224,8,1)
2023-10-13	13:30:05	3732	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:05	3732	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863224\":[1863224,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863224
2023-10-13	13:30:05	3732	[DEBUG]	Checking category
2023-10-13	13:30:05	3732	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:05	3732	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863224
2023-10-13	13:30:05	3732	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:05	3732	[DEBUG]	Executed store
2023-10-13	13:30:05	3732	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863224','7385')
2023-10-13	13:30:05	3732	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:05	3732	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863224 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:05	3732	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:05	3732	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863224
2023-10-13	13:30:05	3733	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:05	3733	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:05	3733	[DEBUG]	Use field value for field taille
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:05	3733	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:05	3733	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:05	3733	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:05	3733	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:05	3733	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:05	3733	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:05	3733	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:05	3733	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:05	3733	[DEBUG]	Use field value for field published
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:05	3733	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field override
2023-10-13	13:30:05	3733	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:05	3733	[DEBUG]	Use field value for field slug
2023-10-13	13:30:05	3733	[DEBUG]	Process line 3733
2023-10-13	13:30:05	3733	[DEBUG]	Load a row
2023-10-13	13:30:05	3733	[DEBUG]	Processing item: 085854246873
2023-10-13	13:30:05	3733	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:05	3733	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:05	3733	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6602_1'
2023-10-13	13:30:05	3733	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:05	3733	[DEBUG]	Processing product tax
2023-10-13	13:30:05	3733	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:05	3733	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:05	3733	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:05	3733	[DEBUG]	Query for Product
2023-10-13	13:30:05	3733	[DEBUG]	Executed store
2023-10-13	13:30:05	3733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863224','085854246873','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:05	3733	[DEBUG]	No parent found
2023-10-13	13:30:05	3733	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863224 AND customfield_value = 'stockable'
2023-10-13	13:30:05	3733	[DEBUG]	Check product language entry
2023-10-13	13:30:05	3733	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863225
2023-10-13	13:30:05	3733	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3733	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '085854246873' AND `virtuemart_product_id` != 1863225
2023-10-13	13:30:05	3733	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:05	3733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863225, '085854246873')
2023-10-13	13:30:05	3733	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3733	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sacoche-set-pack-n-pedal-small-shield-noir-unitaire' AND `virtuemart_product_id` != 1863225
2023-10-13	13:30:05	3733	[DEBUG]	Query for ProductLang
2023-10-13	13:30:05	3733	[DEBUG]	Executed store
2023-10-13	13:30:05	3733	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Thule Sacoche-Set Pack&#39;n Pedal SMALL Shield&#34; / Noir (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-sacoche-set-pack-n-pedal-small-shield-noir-unitaire' WHERE `virtuemart_product_id` = '1863225'
2023-10-13	13:30:05	3733	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32489_sacoche-set_thule_pack_n_pedal__small_shield_.jpg has not been found.
2023-10-13	13:30:05	3733	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:05	3733	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863225 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:05	3733	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:05	3733	[DEBUG]	Executed store
2023-10-13	13:30:05	3733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863225','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:05	3733	[DEBUG]	Checking manufacturer
2023-10-13	13:30:05	3733	[DEBUG]	Load a row
2023-10-13	13:30:05	3733	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:05	3733	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3733	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:05	3733	[DEBUG]	Executed store
2023-10-13	13:30:05	3733	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3733	[DEBUG]	Manufacturer exists
2023-10-13	13:30:05	3733	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:05	3733	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:05	3733	[DEBUG]	Executed store
2023-10-13	13:30:05	3733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863225','138')
2023-10-13	13:30:05	3733	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:05	3733	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:05	3733	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863225 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:05	3733	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863225,3,'',1)
2023-10-13	13:30:05	3733	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:05	3733	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:05	3733	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863225 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:05	3733	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3733	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863225,6,'Unitaire',3)
2023-10-13	13:30:05	3733	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:05	3733	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:05	3733	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863224
2023-10-13	13:30:05	3733	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:05	3733	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863224\":[1863224,8,1,\"choisir la taille\"],\"1863225\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863224
2023-10-13	13:30:05	3733	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:05	3733	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863225
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:05	3734	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field taille
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:05	3734	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:05	3734	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:05	3734	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:05	3734	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:05	3734	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:05	3734	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:05	3734	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field published
2023-10-13	13:30:05	3734	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:05	3734	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field override
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:05	3734	[DEBUG]	Use field value for field slug
2023-10-13	13:30:05	3734	[DEBUG]	Process line 3734
2023-10-13	13:30:05	3734	[DEBUG]	Load a row
2023-10-13	13:30:05	3734	[DEBUG]	Processing item: A_6602_22
2023-10-13	13:30:05	3734	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:05	3734	[DEBUG]	Processing product tax
2023-10-13	13:30:05	3734	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:05	3734	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:05	3734	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:05	3734	[DEBUG]	Query for Product
2023-10-13	13:30:05	3734	[DEBUG]	Executed store
2023-10-13	13:30:05	3734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6602_22','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:05	3734	[DEBUG]	Check product language entry
2023-10-13	13:30:05	3734	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863226
2023-10-13	13:30:05	3734	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3734	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6602_22' AND `virtuemart_product_id` != 1863226
2023-10-13	13:30:05	3734	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:05	3734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863226, 'A_6602_22')
2023-10-13	13:30:05	3734	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3734	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sacoche-set-pack-n-pedal-small-shield-bleu' AND `virtuemart_product_id` != 1863226
2023-10-13	13:30:05	3734	[DEBUG]	Query for ProductLang
2023-10-13	13:30:05	3734	[DEBUG]	Executed store
2023-10-13	13:30:05	3734	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='2x14 litres (28 litres)<br>- Bandulière incluse<br>- Suface réfléchissante, augmente la visibilité<br>- AVANT/ARRIÈRE - GAUCHE/DROITE<br>- Fixation pivotant / connexion magnétique<br>- Dimensions: 31.1x25.4x14.0cm<br>- Poids: 1800g (paire)<br>N° art fourn : 9730',`product_name`='Thule Sacoche-Set Pack&#39;n Pedal SMALL Shield&#34; / Bleu&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-sacoche-set-pack-n-pedal-small-shield-bleu' WHERE `virtuemart_product_id` = '1863226'
2023-10-13	13:30:05	3734	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34345_sacoche-set_thule_pack_n_pedal__small_shield_.jpg has not been found.
2023-10-13	13:30:05	3734	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:05	3734	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863226 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:05	3734	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:05	3734	[DEBUG]	Executed store
2023-10-13	13:30:05	3734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863226','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:05	3734	[DEBUG]	Checking manufacturer
2023-10-13	13:30:05	3734	[DEBUG]	Load a row
2023-10-13	13:30:05	3734	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:05	3734	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3734	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:05	3734	[DEBUG]	Executed store
2023-10-13	13:30:05	3734	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3734	[DEBUG]	Manufacturer exists
2023-10-13	13:30:05	3734	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:05	3734	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:05	3734	[DEBUG]	Executed store
2023-10-13	13:30:05	3734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863226','138')
2023-10-13	13:30:05	3734	[DEBUG]	Find the custom field ID
2023-10-13	13:30:05	3734	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:05	3734	[DEBUG]	No custom field ID found
2023-10-13	13:30:05	3734	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:05	3734	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:05	3734	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863226 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:05	3734	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863226,3,'0',1)
2023-10-13	13:30:05	3734	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:05	3734	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:05	3734	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863226 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:05	3734	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863226,6,'choisir la taille',3)
2023-10-13	13:30:05	3734	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:05	3734	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:05	3734	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:05	3734	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:05	3734	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863226 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:05	3734	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:05	3734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863226,8,1)
2023-10-13	13:30:05	3734	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:05	3734	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863226\":[1863226,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863226
2023-10-13	13:30:05	3734	[DEBUG]	Checking category
2023-10-13	13:30:05	3734	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:05	3734	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863226
2023-10-13	13:30:05	3734	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:05	3734	[DEBUG]	Executed store
2023-10-13	13:30:05	3734	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863226','7385')
2023-10-13	13:30:05	3734	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:05	3734	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863226 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:05	3734	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:05	3734	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863226
2023-10-13	13:30:05	3735	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:05	3735	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:05	3735	[DEBUG]	Use field value for field taille
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:05	3735	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:05	3735	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:05	3735	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:05	3735	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:05	3735	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:05	3735	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:05	3735	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:05	3735	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:05	3735	[DEBUG]	Use field value for field published
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:05	3735	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field override
2023-10-13	13:30:05	3735	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:05	3735	[DEBUG]	Use field value for field slug
2023-10-13	13:30:05	3735	[DEBUG]	Process line 3735
2023-10-13	13:30:05	3735	[DEBUG]	Load a row
2023-10-13	13:30:05	3735	[DEBUG]	Processing item: 1000000143485
2023-10-13	13:30:05	3735	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:05	3735	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:05	3735	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6602_22'
2023-10-13	13:30:05	3735	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:05	3735	[DEBUG]	Processing product tax
2023-10-13	13:30:05	3735	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:05	3735	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:05	3735	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:05	3735	[DEBUG]	Query for Product
2023-10-13	13:30:05	3735	[DEBUG]	Executed store
2023-10-13	13:30:05	3735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863226','1000000143485','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:05	3735	[DEBUG]	No parent found
2023-10-13	13:30:05	3735	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863226 AND customfield_value = 'stockable'
2023-10-13	13:30:05	3735	[DEBUG]	Check product language entry
2023-10-13	13:30:05	3735	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863227
2023-10-13	13:30:05	3735	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3735	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000143485' AND `virtuemart_product_id` != 1863227
2023-10-13	13:30:05	3735	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:05	3735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863227, '1000000143485')
2023-10-13	13:30:05	3735	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3735	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sacoche-set-pack-n-pedal-small-shield-bleu-unitaire' AND `virtuemart_product_id` != 1863227
2023-10-13	13:30:05	3735	[DEBUG]	Query for ProductLang
2023-10-13	13:30:05	3735	[DEBUG]	Executed store
2023-10-13	13:30:05	3735	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Thule Sacoche-Set Pack&#39;n Pedal SMALL Shield&#34; / Bleu (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-sacoche-set-pack-n-pedal-small-shield-bleu-unitaire' WHERE `virtuemart_product_id` = '1863227'
2023-10-13	13:30:05	3735	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34345_sacoche-set_thule_pack_n_pedal__small_shield_.jpg has not been found.
2023-10-13	13:30:05	3735	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:05	3735	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863227 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:05	3735	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:05	3735	[DEBUG]	Executed store
2023-10-13	13:30:05	3735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863227','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:05	3735	[DEBUG]	Checking manufacturer
2023-10-13	13:30:05	3735	[DEBUG]	Load a row
2023-10-13	13:30:05	3735	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:05	3735	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3735	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:05	3735	[DEBUG]	Executed store
2023-10-13	13:30:05	3735	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3735	[DEBUG]	Manufacturer exists
2023-10-13	13:30:05	3735	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:05	3735	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:05	3735	[DEBUG]	Executed store
2023-10-13	13:30:05	3735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863227','138')
2023-10-13	13:30:05	3735	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:05	3735	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:05	3735	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863227 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:05	3735	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863227,3,'',1)
2023-10-13	13:30:05	3735	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:05	3735	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:05	3735	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863227 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:05	3735	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3735	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863227,6,'Unitaire',3)
2023-10-13	13:30:05	3735	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:05	3735	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:05	3735	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863226
2023-10-13	13:30:05	3735	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:05	3735	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863226\":[1863226,8,1,\"choisir la taille\"],\"1863227\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863226
2023-10-13	13:30:05	3735	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:05	3735	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863227
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:05	3736	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field taille
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:05	3736	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:05	3736	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:05	3736	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:05	3736	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:05	3736	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:05	3736	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:05	3736	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field published
2023-10-13	13:30:05	3736	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:05	3736	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field override
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:05	3736	[DEBUG]	Use field value for field slug
2023-10-13	13:30:05	3736	[DEBUG]	Process line 3736
2023-10-13	13:30:05	3736	[DEBUG]	Load a row
2023-10-13	13:30:05	3736	[DEBUG]	Processing item: A_6602_65
2023-10-13	13:30:05	3736	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:05	3736	[DEBUG]	Processing product tax
2023-10-13	13:30:05	3736	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:05	3736	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:05	3736	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:05	3736	[DEBUG]	Query for Product
2023-10-13	13:30:05	3736	[DEBUG]	Executed store
2023-10-13	13:30:05	3736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6602_65','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:05	3736	[DEBUG]	Check product language entry
2023-10-13	13:30:05	3736	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863228
2023-10-13	13:30:05	3736	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3736	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6602_65' AND `virtuemart_product_id` != 1863228
2023-10-13	13:30:05	3736	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:05	3736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863228, 'A_6602_65')
2023-10-13	13:30:05	3736	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3736	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sacoche-set-pack-n-pedal-small-shield-jaune' AND `virtuemart_product_id` != 1863228
2023-10-13	13:30:05	3736	[DEBUG]	Query for ProductLang
2023-10-13	13:30:05	3736	[DEBUG]	Executed store
2023-10-13	13:30:05	3736	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='2x14 litres (28 litres)<br>- Bandulière incluse<br>- Suface réfléchissante, augmente la visibilité<br>- AVANT/ARRIÈRE - GAUCHE/DROITE<br>- Fixation pivotant / connexion magnétique<br>- Dimensions: 31.1x25.4x14.0cm<br>- Poids: 1800g (paire)<br>N° art fourn : 9730',`product_name`='Thule Sacoche-Set Pack&#39;n Pedal SMALL Shield&#34; / Jaune&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-sacoche-set-pack-n-pedal-small-shield-jaune' WHERE `virtuemart_product_id` = '1863228'
2023-10-13	13:30:05	3736	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34344_sacoche-set_thule_pack_n_pedal__small_shield_.jpg has not been found.
2023-10-13	13:30:05	3736	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:05	3736	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863228 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:05	3736	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:05	3736	[DEBUG]	Executed store
2023-10-13	13:30:05	3736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863228','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:05	3736	[DEBUG]	Checking manufacturer
2023-10-13	13:30:05	3736	[DEBUG]	Load a row
2023-10-13	13:30:05	3736	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:05	3736	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3736	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:05	3736	[DEBUG]	Executed store
2023-10-13	13:30:05	3736	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3736	[DEBUG]	Manufacturer exists
2023-10-13	13:30:05	3736	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:05	3736	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:05	3736	[DEBUG]	Executed store
2023-10-13	13:30:05	3736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863228','138')
2023-10-13	13:30:05	3736	[DEBUG]	Find the custom field ID
2023-10-13	13:30:05	3736	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:05	3736	[DEBUG]	No custom field ID found
2023-10-13	13:30:05	3736	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:05	3736	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:05	3736	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863228 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:05	3736	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863228,3,'0',1)
2023-10-13	13:30:05	3736	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:05	3736	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:05	3736	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863228 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:05	3736	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863228,6,'choisir la taille',3)
2023-10-13	13:30:05	3736	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:05	3736	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:05	3736	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:05	3736	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:05	3736	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863228 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:05	3736	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:05	3736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863228,8,1)
2023-10-13	13:30:05	3736	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:05	3736	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863228\":[1863228,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863228
2023-10-13	13:30:05	3736	[DEBUG]	Checking category
2023-10-13	13:30:05	3736	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:05	3736	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863228
2023-10-13	13:30:05	3736	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:05	3736	[DEBUG]	Executed store
2023-10-13	13:30:05	3736	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863228','7385')
2023-10-13	13:30:05	3736	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:05	3736	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863228 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:05	3736	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:05	3736	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863228
2023-10-13	13:30:05	3737	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:05	3737	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:05	3737	[DEBUG]	Use field value for field taille
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:05	3737	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:05	3737	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:05	3737	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:05	3737	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:05	3737	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:05	3737	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:05	3737	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:05	3737	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:05	3737	[DEBUG]	Use field value for field published
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:05	3737	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field override
2023-10-13	13:30:05	3737	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:05	3737	[DEBUG]	Use field value for field slug
2023-10-13	13:30:05	3737	[DEBUG]	Process line 3737
2023-10-13	13:30:05	3737	[DEBUG]	Load a row
2023-10-13	13:30:05	3737	[DEBUG]	Processing item: 085854246897
2023-10-13	13:30:05	3737	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:05	3737	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:05	3737	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6602_65'
2023-10-13	13:30:05	3737	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:05	3737	[DEBUG]	Processing product tax
2023-10-13	13:30:05	3737	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:05	3737	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:05	3737	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:05	3737	[DEBUG]	Query for Product
2023-10-13	13:30:05	3737	[DEBUG]	Executed store
2023-10-13	13:30:05	3737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863228','085854246897','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:05	3737	[DEBUG]	No parent found
2023-10-13	13:30:05	3737	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863228 AND customfield_value = 'stockable'
2023-10-13	13:30:05	3737	[DEBUG]	Check product language entry
2023-10-13	13:30:05	3737	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863229
2023-10-13	13:30:05	3737	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3737	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '085854246897' AND `virtuemart_product_id` != 1863229
2023-10-13	13:30:05	3737	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:05	3737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863229, '085854246897')
2023-10-13	13:30:05	3737	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3737	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sacoche-set-pack-n-pedal-small-shield-jaune-unitaire' AND `virtuemart_product_id` != 1863229
2023-10-13	13:30:05	3737	[DEBUG]	Query for ProductLang
2023-10-13	13:30:05	3737	[DEBUG]	Executed store
2023-10-13	13:30:05	3737	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Thule Sacoche-Set Pack&#39;n Pedal SMALL Shield&#34; / Jaune (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-sacoche-set-pack-n-pedal-small-shield-jaune-unitaire' WHERE `virtuemart_product_id` = '1863229'
2023-10-13	13:30:05	3737	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34344_sacoche-set_thule_pack_n_pedal__small_shield_.jpg has not been found.
2023-10-13	13:30:05	3737	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:05	3737	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863229 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:05	3737	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:05	3737	[DEBUG]	Executed store
2023-10-13	13:30:05	3737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863229','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:05	3737	[DEBUG]	Checking manufacturer
2023-10-13	13:30:05	3737	[DEBUG]	Load a row
2023-10-13	13:30:05	3737	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:05	3737	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3737	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:05	3737	[DEBUG]	Executed store
2023-10-13	13:30:05	3737	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3737	[DEBUG]	Manufacturer exists
2023-10-13	13:30:05	3737	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:05	3737	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:05	3737	[DEBUG]	Executed store
2023-10-13	13:30:05	3737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863229','138')
2023-10-13	13:30:05	3737	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:05	3737	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:05	3737	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863229 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:05	3737	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863229,3,'',1)
2023-10-13	13:30:05	3737	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:05	3737	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:05	3737	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863229 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:05	3737	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3737	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863229,6,'Unitaire',3)
2023-10-13	13:30:05	3737	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:05	3737	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:05	3737	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863228
2023-10-13	13:30:05	3737	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:05	3737	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863228\":[1863228,8,1,\"choisir la taille\"],\"1863229\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863228
2023-10-13	13:30:05	3737	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:05	3737	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863229
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:05	3738	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field taille
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:05	3738	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:05	3738	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:05	3738	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:05	3738	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:05	3738	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:05	3738	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:05	3738	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field published
2023-10-13	13:30:05	3738	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:05	3738	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field override
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:05	3738	[DEBUG]	Use field value for field slug
2023-10-13	13:30:05	3738	[DEBUG]	Process line 3738
2023-10-13	13:30:05	3738	[DEBUG]	Load a row
2023-10-13	13:30:05	3738	[DEBUG]	Processing item: A_6603_4
2023-10-13	13:30:05	3738	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:05	3738	[DEBUG]	Processing product tax
2023-10-13	13:30:05	3738	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:05	3738	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:05	3738	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:05	3738	[DEBUG]	Query for Product
2023-10-13	13:30:05	3738	[DEBUG]	Executed store
2023-10-13	13:30:05	3738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6603_4','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:05	3738	[DEBUG]	Check product language entry
2023-10-13	13:30:05	3738	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863230
2023-10-13	13:30:05	3738	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3738	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6603_4' AND `virtuemart_product_id` != 1863230
2023-10-13	13:30:05	3738	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:05	3738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863230, 'A_6603_4')
2023-10-13	13:30:05	3738	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3738	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-kit-d-extension-de-rail-acier' AND `virtuemart_product_id` != 1863230
2023-10-13	13:30:05	3738	[DEBUG]	Query for ProductLang
2023-10-13	13:30:05	3738	[DEBUG]	Executed store
2023-10-13	13:30:05	3738	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 973015',`product_name`='Thule Kit d\'extension de rail / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-kit-d-extension-de-rail-acier' WHERE `virtuemart_product_id` = '1863230'
2023-10-13	13:30:05	3738	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32490_thule_kit_d_extension_de_rail.jpg has not been found.
2023-10-13	13:30:05	3738	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:05	3738	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863230 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:05	3738	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:05	3738	[DEBUG]	Executed store
2023-10-13	13:30:05	3738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863230','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:05	3738	[DEBUG]	Checking manufacturer
2023-10-13	13:30:05	3738	[DEBUG]	Load a row
2023-10-13	13:30:05	3738	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:05	3738	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3738	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:05	3738	[DEBUG]	Executed store
2023-10-13	13:30:05	3738	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3738	[DEBUG]	Manufacturer exists
2023-10-13	13:30:05	3738	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:05	3738	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:05	3738	[DEBUG]	Executed store
2023-10-13	13:30:05	3738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863230','138')
2023-10-13	13:30:05	3738	[DEBUG]	Find the custom field ID
2023-10-13	13:30:05	3738	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:05	3738	[DEBUG]	No custom field ID found
2023-10-13	13:30:05	3738	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:05	3738	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:05	3738	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863230 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:05	3738	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863230,3,'0',1)
2023-10-13	13:30:05	3738	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:05	3738	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:05	3738	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863230 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:05	3738	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863230,6,'choisir la taille',3)
2023-10-13	13:30:05	3738	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:05	3738	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:05	3738	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:05	3738	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:05	3738	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863230 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:05	3738	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:05	3738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863230,8,1)
2023-10-13	13:30:05	3738	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:05	3738	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863230\":[1863230,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863230
2023-10-13	13:30:05	3738	[DEBUG]	Checking category
2023-10-13	13:30:05	3738	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:05	3738	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863230
2023-10-13	13:30:05	3738	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:05	3738	[DEBUG]	Executed store
2023-10-13	13:30:05	3738	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863230','7385')
2023-10-13	13:30:05	3738	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:05	3738	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863230 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:05	3738	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:05	3738	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863230
2023-10-13	13:30:05	3739	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:05	3739	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:05	3739	[DEBUG]	Use field value for field taille
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:05	3739	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:05	3739	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:05	3739	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:05	3739	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:05	3739	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:05	3739	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:05	3739	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:05	3739	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:05	3739	[DEBUG]	Use field value for field published
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:05	3739	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field override
2023-10-13	13:30:05	3739	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:05	3739	[DEBUG]	Use field value for field slug
2023-10-13	13:30:05	3739	[DEBUG]	Process line 3739
2023-10-13	13:30:05	3739	[DEBUG]	Load a row
2023-10-13	13:30:05	3739	[DEBUG]	Processing item: 091021330023
2023-10-13	13:30:05	3739	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:05	3739	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:05	3739	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6603_4'
2023-10-13	13:30:05	3739	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:05	3739	[DEBUG]	Processing product tax
2023-10-13	13:30:05	3739	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:05	3739	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:05	3739	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:05	3739	[DEBUG]	Query for Product
2023-10-13	13:30:05	3739	[DEBUG]	Executed store
2023-10-13	13:30:05	3739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863230','091021330023','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:05	3739	[DEBUG]	No parent found
2023-10-13	13:30:05	3739	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863230 AND customfield_value = 'stockable'
2023-10-13	13:30:05	3739	[DEBUG]	Check product language entry
2023-10-13	13:30:05	3739	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863231
2023-10-13	13:30:05	3739	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3739	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '091021330023' AND `virtuemart_product_id` != 1863231
2023-10-13	13:30:05	3739	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:05	3739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863231, '091021330023')
2023-10-13	13:30:05	3739	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3739	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-kit-d-extension-de-rail-acier-unitaire' AND `virtuemart_product_id` != 1863231
2023-10-13	13:30:05	3739	[DEBUG]	Query for ProductLang
2023-10-13	13:30:05	3739	[DEBUG]	Executed store
2023-10-13	13:30:05	3739	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Thule Kit d\'extension de rail / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-kit-d-extension-de-rail-acier-unitaire' WHERE `virtuemart_product_id` = '1863231'
2023-10-13	13:30:05	3739	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32490_thule_kit_d_extension_de_rail.jpg has not been found.
2023-10-13	13:30:05	3739	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:05	3739	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863231 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:05	3739	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:05	3739	[DEBUG]	Executed store
2023-10-13	13:30:05	3739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863231','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:05	3739	[DEBUG]	Checking manufacturer
2023-10-13	13:30:05	3739	[DEBUG]	Load a row
2023-10-13	13:30:05	3739	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:05	3739	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3739	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:05	3739	[DEBUG]	Executed store
2023-10-13	13:30:05	3739	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3739	[DEBUG]	Manufacturer exists
2023-10-13	13:30:05	3739	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:05	3739	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:05	3739	[DEBUG]	Executed store
2023-10-13	13:30:05	3739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863231','138')
2023-10-13	13:30:05	3739	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:05	3739	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:05	3739	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863231 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:05	3739	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863231,3,'',1)
2023-10-13	13:30:05	3739	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:05	3739	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:05	3739	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863231 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:05	3739	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3739	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863231,6,'Unitaire',3)
2023-10-13	13:30:05	3739	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:05	3739	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:05	3739	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863230
2023-10-13	13:30:05	3739	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:05	3739	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863230\":[1863230,8,1,\"choisir la taille\"],\"1863231\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863230
2023-10-13	13:30:05	3739	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:05	3739	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863231
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:05	3740	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field taille
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:05	3740	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:05	3740	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:05	3740	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:05	3740	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:05	3740	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:05	3740	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:05	3740	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field published
2023-10-13	13:30:05	3740	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:05	3740	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field override
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:05	3740	[DEBUG]	Use field value for field slug
2023-10-13	13:30:05	3740	[DEBUG]	Process line 3740
2023-10-13	13:30:05	3740	[DEBUG]	Load a row
2023-10-13	13:30:05	3740	[DEBUG]	Processing item: A_6604_4
2023-10-13	13:30:05	3740	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:05	3740	[DEBUG]	Processing product tax
2023-10-13	13:30:05	3740	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:05	3740	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:05	3740	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:05	3740	[DEBUG]	Query for Product
2023-10-13	13:30:05	3740	[DEBUG]	Executed store
2023-10-13	13:30:05	3740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6604_4','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:05	3740	[DEBUG]	Check product language entry
2023-10-13	13:30:05	3740	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863232
2023-10-13	13:30:05	3740	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3740	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6604_4' AND `virtuemart_product_id` != 1863232
2023-10-13	13:30:05	3740	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:05	3740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863232, 'A_6604_4')
2023-10-13	13:30:05	3740	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3740	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-pack-n-pedal-side-frames-acier' AND `virtuemart_product_id` != 1863232
2023-10-13	13:30:05	3740	[DEBUG]	Query for ProductLang
2023-10-13	13:30:05	3740	[DEBUG]	Executed store
2023-10-13	13:30:05	3740	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 973012',`product_name`='Thule Pack\'n Pedal Side Frames / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-pack-n-pedal-side-frames-acier' WHERE `virtuemart_product_id` = '1863232'
2023-10-13	13:30:05	3740	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32491_thule_pack_n_pedal_side_frames.jpg has not been found.
2023-10-13	13:30:05	3740	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:05	3740	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863232 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:05	3740	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:05	3740	[DEBUG]	Executed store
2023-10-13	13:30:05	3740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863232','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:05	3740	[DEBUG]	Checking manufacturer
2023-10-13	13:30:05	3740	[DEBUG]	Load a row
2023-10-13	13:30:05	3740	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:05	3740	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3740	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:05	3740	[DEBUG]	Executed store
2023-10-13	13:30:05	3740	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3740	[DEBUG]	Manufacturer exists
2023-10-13	13:30:05	3740	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:05	3740	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:05	3740	[DEBUG]	Executed store
2023-10-13	13:30:05	3740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863232','138')
2023-10-13	13:30:05	3740	[DEBUG]	Find the custom field ID
2023-10-13	13:30:05	3740	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:05	3740	[DEBUG]	No custom field ID found
2023-10-13	13:30:05	3740	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:05	3740	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:05	3740	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863232 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:05	3740	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863232,3,'0',1)
2023-10-13	13:30:05	3740	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:05	3740	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:05	3740	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863232 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:05	3740	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863232,6,'choisir la taille',3)
2023-10-13	13:30:05	3740	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:05	3740	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:05	3740	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:05	3740	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:05	3740	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863232 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:05	3740	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:05	3740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863232,8,1)
2023-10-13	13:30:05	3740	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:05	3740	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863232\":[1863232,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863232
2023-10-13	13:30:05	3740	[DEBUG]	Checking category
2023-10-13	13:30:05	3740	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:05	3740	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863232
2023-10-13	13:30:05	3740	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:05	3740	[DEBUG]	Executed store
2023-10-13	13:30:05	3740	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863232','7385')
2023-10-13	13:30:05	3740	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:05	3740	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863232 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:05	3740	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:05	3740	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863232
2023-10-13	13:30:05	3741	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:05	3741	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:05	3741	[DEBUG]	Use field value for field taille
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:05	3741	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:05	3741	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:05	3741	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:05	3741	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:05	3741	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:05	3741	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:05	3741	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:05	3741	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:05	3741	[DEBUG]	Use field value for field published
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:05	3741	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field override
2023-10-13	13:30:05	3741	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:05	3741	[DEBUG]	Use field value for field slug
2023-10-13	13:30:05	3741	[DEBUG]	Process line 3741
2023-10-13	13:30:05	3741	[DEBUG]	Load a row
2023-10-13	13:30:05	3741	[DEBUG]	Processing item: 091021326866
2023-10-13	13:30:05	3741	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:05	3741	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:05	3741	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6604_4'
2023-10-13	13:30:05	3741	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:05	3741	[DEBUG]	Processing product tax
2023-10-13	13:30:05	3741	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:05	3741	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:05	3741	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:05	3741	[DEBUG]	Query for Product
2023-10-13	13:30:05	3741	[DEBUG]	Executed store
2023-10-13	13:30:05	3741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863232','091021326866','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:05	3741	[DEBUG]	No parent found
2023-10-13	13:30:05	3741	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863232 AND customfield_value = 'stockable'
2023-10-13	13:30:05	3741	[DEBUG]	Check product language entry
2023-10-13	13:30:05	3741	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863233
2023-10-13	13:30:05	3741	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3741	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '091021326866' AND `virtuemart_product_id` != 1863233
2023-10-13	13:30:05	3741	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:05	3741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863233, '091021326866')
2023-10-13	13:30:05	3741	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3741	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-pack-n-pedal-side-frames-acier-unitaire' AND `virtuemart_product_id` != 1863233
2023-10-13	13:30:05	3741	[DEBUG]	Query for ProductLang
2023-10-13	13:30:05	3741	[DEBUG]	Executed store
2023-10-13	13:30:05	3741	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Thule Pack\'n Pedal Side Frames / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-pack-n-pedal-side-frames-acier-unitaire' WHERE `virtuemart_product_id` = '1863233'
2023-10-13	13:30:05	3741	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32491_thule_pack_n_pedal_side_frames.jpg has not been found.
2023-10-13	13:30:05	3741	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:05	3741	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863233 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:05	3741	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:05	3741	[DEBUG]	Executed store
2023-10-13	13:30:05	3741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863233','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:05	3741	[DEBUG]	Checking manufacturer
2023-10-13	13:30:05	3741	[DEBUG]	Load a row
2023-10-13	13:30:05	3741	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:05	3741	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3741	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:05	3741	[DEBUG]	Executed store
2023-10-13	13:30:05	3741	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:05	3741	[DEBUG]	Manufacturer exists
2023-10-13	13:30:05	3741	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:05	3741	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:05	3741	[DEBUG]	Executed store
2023-10-13	13:30:05	3741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863233','138')
2023-10-13	13:30:05	3741	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:05	3741	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:05	3741	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863233 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:05	3741	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863233,3,'',1)
2023-10-13	13:30:05	3741	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:05	3741	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:05	3741	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863233 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:05	3741	[DEBUG]	Store custom available field
2023-10-13	13:30:05	3741	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863233,6,'Unitaire',3)
2023-10-13	13:30:05	3741	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:05	3741	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:05	3741	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863232
2023-10-13	13:30:05	3741	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:05	3741	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863232\":[1863232,8,1,\"choisir la taille\"],\"1863233\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863232
2023-10-13	13:30:05	3741	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:05	3741	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863233
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:05	3742	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field taille
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:05	3742	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:05	3742	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:05	3742	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:05	3742	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:05	3742	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:05	3742	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field published
2023-10-13	13:30:05	3742	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:05	3742	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field override
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:05	3742	[DEBUG]	Use field value for field slug
2023-10-13	13:30:05	3742	[DEBUG]	Process line 3742
2023-10-13	13:30:05	3742	[DEBUG]	Load a row
2023-10-13	13:30:05	3742	[DEBUG]	Processing item: A_6635_1
2023-10-13	13:30:05	3742	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:05	3742	[DEBUG]	Processing product tax
2023-10-13	13:30:05	3742	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:05	3742	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:05	3742	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:05	3742	[DEBUG]	Query for Product
2023-10-13	13:30:05	3742	[DEBUG]	Executed store
2023-10-13	13:30:05	3742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6635_1','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:05	3742	[DEBUG]	Check product language entry
2023-10-13	13:30:05	3742	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863234
2023-10-13	13:30:05	3742	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3742	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6635_1' AND `virtuemart_product_id` != 1863234
2023-10-13	13:30:05	3742	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:05	3742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863234, 'A_6635_1')
2023-10-13	13:30:05	3742	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:05	3742	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'racktime-panier-racktime-bask-it-large-noir-43x31x24-5-cm-noir' AND `virtuemart_product_id` != 1863234
2023-10-13	13:30:05	3742	[DEBUG]	Query for ProductLang
2023-10-13	13:30:05	3742	[DEBUG]	Executed store
2023-10-13	13:30:05	3742	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 48.121',`product_name`='Racktime Panier Racktime Bask-it Large noir 43x31x24.5 cm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='racktime-panier-racktime-bask-it-large-noir-43x31x24-5-cm-noir' WHERE `virtuemart_product_id` = '1863234'
2023-10-13	13:30:05	3742	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32519_panier_racktime_bask-it_large_noir_43x31x24_5_cm.jpg
2023-10-13	13:30:05	3742	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:05	3742	[DEBUG]	Process image file
2023-10-13	13:30:05	3742	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:05	3742	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:05	3742	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32519_panier_racktime_bask-it_large_noir_43x31x24_5_cm.jpg
2023-10-13	13:30:05	3742	[DEBUG]	Full name target: bcprisme/32519_panier_racktime_bask-it_large_noir_43x31x24_5_cm.jpg
2023-10-13	13:30:06	3742	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:06	3742	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32519_panier_racktime_bask-it_large_noir_43x31x24_5_cm.jpg'
2023-10-13	13:30:06	3742	[DEBUG]	Query for Media
2023-10-13	13:30:06	3742	[DEBUG]	Executed store
2023-10-13	13:30:06	3742	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32519_panier_racktime_bask-it_large_noir_43x31x24_5_cm.jpg',`file_url_thumb`='bcprisme/32519_panier_racktime_bask-it_large_noir_43x31x24_5_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13253'
2023-10-13	13:30:06	3742	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:06	3742	[DEBUG]	Executed store
2023-10-13	13:30:06	3742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863234','13253','1')
2023-10-13	13:30:06	3742	[DEBUG]	Store product image relation
2023-10-13	13:30:06	3742	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:06	3742	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863234 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:06	3742	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:06	3742	[DEBUG]	Executed store
2023-10-13	13:30:06	3742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863234','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:06	3742	[DEBUG]	Checking manufacturer
2023-10-13	13:30:06	3742	[DEBUG]	Load a row
2023-10-13	13:30:06	3742	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:06	3742	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:06	3742	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:06	3742	[DEBUG]	Executed store
2023-10-13	13:30:06	3742	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331160104302' WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:06	3742	[DEBUG]	Manufacturer exists
2023-10-13	13:30:06	3742	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 184
2023-10-13	13:30:06	3742	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:06	3742	[DEBUG]	Executed store
2023-10-13	13:30:06	3742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863234','184')
2023-10-13	13:30:06	3742	[DEBUG]	Find the custom field ID
2023-10-13	13:30:06	3742	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:06	3742	[DEBUG]	No custom field ID found
2023-10-13	13:30:06	3742	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:06	3742	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:06	3742	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863234 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:06	3742	[DEBUG]	Store custom available field
2023-10-13	13:30:06	3742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863234,3,'0',1)
2023-10-13	13:30:06	3742	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:06	3742	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:06	3742	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863234 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:06	3742	[DEBUG]	Store custom available field
2023-10-13	13:30:06	3742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863234,6,'choisir la taille',3)
2023-10-13	13:30:06	3742	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:06	3742	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:06	3742	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:06	3742	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:06	3742	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863234 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:06	3742	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:06	3742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863234,8,1)
2023-10-13	13:30:06	3742	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:06	3742	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863234\":[1863234,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863234
2023-10-13	13:30:06	3742	[DEBUG]	Checking category
2023-10-13	13:30:06	3742	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:06	3742	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863234
2023-10-13	13:30:06	3742	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:06	3742	[DEBUG]	Executed store
2023-10-13	13:30:06	3742	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863234','7385')
2023-10-13	13:30:06	3742	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:06	3742	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863234 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:06	3742	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:06	3742	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863234
2023-10-13	13:30:06	3743	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:06	3743	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:06	3743	[DEBUG]	Use field value for field taille
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:06	3743	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:06	3743	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:06	3743	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:06	3743	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:06	3743	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:06	3743	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:06	3743	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:06	3743	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:06	3743	[DEBUG]	Use field value for field published
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:06	3743	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field override
2023-10-13	13:30:06	3743	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:06	3743	[DEBUG]	Use field value for field slug
2023-10-13	13:30:06	3743	[DEBUG]	Process line 3743
2023-10-13	13:30:06	3743	[DEBUG]	Load a row
2023-10-13	13:30:06	3743	[DEBUG]	Processing item: 1000000107456
2023-10-13	13:30:06	3743	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:06	3743	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:06	3743	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6635_1'
2023-10-13	13:30:06	3743	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:06	3743	[DEBUG]	Processing product tax
2023-10-13	13:30:06	3743	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:06	3743	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:06	3743	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:06	3743	[DEBUG]	Query for Product
2023-10-13	13:30:06	3743	[DEBUG]	Executed store
2023-10-13	13:30:06	3743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863234','1000000107456','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:06	3743	[DEBUG]	No parent found
2023-10-13	13:30:06	3743	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863234 AND customfield_value = 'stockable'
2023-10-13	13:30:06	3743	[DEBUG]	Check product language entry
2023-10-13	13:30:06	3743	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863235
2023-10-13	13:30:06	3743	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:06	3743	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000107456' AND `virtuemart_product_id` != 1863235
2023-10-13	13:30:06	3743	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:06	3743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863235, '1000000107456')
2023-10-13	13:30:06	3743	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:06	3743	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'racktime-panier-racktime-bask-it-large-noir-43x31x24-5-cm-noir-unitaire' AND `virtuemart_product_id` != 1863235
2023-10-13	13:30:06	3743	[DEBUG]	Query for ProductLang
2023-10-13	13:30:06	3743	[DEBUG]	Executed store
2023-10-13	13:30:06	3743	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Racktime Panier Racktime Bask-it Large noir 43x31x24.5 cm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='racktime-panier-racktime-bask-it-large-noir-43x31x24-5-cm-noir-unitaire' WHERE `virtuemart_product_id` = '1863235'
2023-10-13	13:30:06	3743	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32519_panier_racktime_bask-it_large_noir_43x31x24_5_cm.jpg
2023-10-13	13:30:06	3743	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:06	3743	[DEBUG]	Process image file
2023-10-13	13:30:06	3743	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:06	3743	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:06	3743	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32519_panier_racktime_bask-it_large_noir_43x31x24_5_cm.jpg
2023-10-13	13:30:06	3743	[DEBUG]	Full name target: bcprisme/32519_panier_racktime_bask-it_large_noir_43x31x24_5_cm.jpg
2023-10-13	13:30:07	3743	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:07	3743	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32519_panier_racktime_bask-it_large_noir_43x31x24_5_cm.jpg'
2023-10-13	13:30:07	3743	[DEBUG]	Query for Media
2023-10-13	13:30:07	3743	[DEBUG]	Executed store
2023-10-13	13:30:07	3743	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32519_panier_racktime_bask-it_large_noir_43x31x24_5_cm.jpg',`file_url_thumb`='bcprisme/32519_panier_racktime_bask-it_large_noir_43x31x24_5_cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13253'
2023-10-13	13:30:07	3743	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:07	3743	[DEBUG]	Executed store
2023-10-13	13:30:07	3743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863235','13253','1')
2023-10-13	13:30:07	3743	[DEBUG]	Store product image relation
2023-10-13	13:30:07	3743	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:07	3743	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863235 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:07	3743	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:07	3743	[DEBUG]	Executed store
2023-10-13	13:30:07	3743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863235','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:07	3743	[DEBUG]	Checking manufacturer
2023-10-13	13:30:07	3743	[DEBUG]	Load a row
2023-10-13	13:30:07	3743	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:07	3743	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:07	3743	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:07	3743	[DEBUG]	Executed store
2023-10-13	13:30:07	3743	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331160104302' WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:07	3743	[DEBUG]	Manufacturer exists
2023-10-13	13:30:07	3743	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 184
2023-10-13	13:30:07	3743	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:07	3743	[DEBUG]	Executed store
2023-10-13	13:30:07	3743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863235','184')
2023-10-13	13:30:07	3743	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:07	3743	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:07	3743	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863235 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:07	3743	[DEBUG]	Store custom available field
2023-10-13	13:30:07	3743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863235,3,'',1)
2023-10-13	13:30:07	3743	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:07	3743	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:07	3743	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863235 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:07	3743	[DEBUG]	Store custom available field
2023-10-13	13:30:07	3743	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863235,6,'Unitaire',3)
2023-10-13	13:30:07	3743	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:07	3743	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:07	3743	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863234
2023-10-13	13:30:07	3743	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:07	3743	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863234\":[1863234,8,1,\"choisir la taille\"],\"1863235\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863234
2023-10-13	13:30:07	3743	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:07	3743	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863235
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:07	3744	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field taille
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:07	3744	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:07	3744	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:07	3744	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:07	3744	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:07	3744	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:07	3744	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field published
2023-10-13	13:30:07	3744	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:07	3744	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field override
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:07	3744	[DEBUG]	Use field value for field slug
2023-10-13	13:30:07	3744	[DEBUG]	Process line 3744
2023-10-13	13:30:07	3744	[DEBUG]	Load a row
2023-10-13	13:30:07	3744	[DEBUG]	Processing item: A_6636_16
2023-10-13	13:30:07	3744	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:07	3744	[DEBUG]	Processing product tax
2023-10-13	13:30:07	3744	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:07	3744	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:07	3744	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:07	3744	[DEBUG]	Query for Product
2023-10-13	13:30:07	3744	[DEBUG]	Executed store
2023-10-13	13:30:07	3744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6636_16','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:07	3744	[DEBUG]	Check product language entry
2023-10-13	13:30:07	3744	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863236
2023-10-13	13:30:07	3744	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:07	3744	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6636_16' AND `virtuemart_product_id` != 1863236
2023-10-13	13:30:07	3744	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:07	3744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863236, 'A_6636_16')
2023-10-13	13:30:07	3744	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:07	3744	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'racktime-sacoche-racktime-heda-dust-grey-31-5x37-5x45-cm-24-5-litres-899-gr-snap-it-gris' AND `virtuemart_product_id` != 1863236
2023-10-13	13:30:07	3744	[DEBUG]	Query for ProductLang
2023-10-13	13:30:07	3744	[DEBUG]	Executed store
2023-10-13	13:30:07	3744	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 260.006.006',`product_name`='Racktime Sacoche Racktime Heda Dust Grey 31.5x37.5x45 cm, 24.5 litres, 899 gr, Snap-It / Gris',`metadesc`='',`metakey`='',`customtitle`='',`slug`='racktime-sacoche-racktime-heda-dust-grey-31-5x37-5x45-cm-24-5-litres-899-gr-snap-it-gris' WHERE `virtuemart_product_id` = '1863236'
2023-10-13	13:30:07	3744	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32520_sacoche_racktime_heda_dust_grey_31_5x37_5x45_cm,_24_5_litres,_899_gr,_snap-it.jpg
2023-10-13	13:30:07	3744	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:07	3744	[DEBUG]	Process image file
2023-10-13	13:30:07	3744	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:07	3744	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:07	3744	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32520_sacoche_racktime_heda_dust_grey_31_5x37_5x45_cm,_24_5_litres,_899_gr,_snap-it.jpg
2023-10-13	13:30:07	3744	[DEBUG]	Full name target: bcprisme/32520_sacoche_racktime_heda_dust_grey_31_5x37_5x45_cm,_24_5_litres,_899_gr,_snap-it.jpg
2023-10-13	13:30:08	3744	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:08	3744	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32520_sacoche_racktime_heda_dust_grey_31_5x37_5x45_cm,_24_5_litres,_899_gr,_snap-it.jpg'
2023-10-13	13:30:08	3744	[DEBUG]	Query for Media
2023-10-13	13:30:08	3744	[DEBUG]	Executed store
2023-10-13	13:30:08	3744	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32520_sacoche_racktime_heda_dust_grey_31_5x37_5x45_cm,_24_5_litres,_899_gr,_snap-it.jpg',`file_url_thumb`='bcprisme/32520_sacoche_racktime_heda_dust_grey_31_5x37_5x45_cm,_24_5_litres,_899_gr,_snap-it.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15302'
2023-10-13	13:30:08	3744	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:08	3744	[DEBUG]	Executed store
2023-10-13	13:30:08	3744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863236','15302','1')
2023-10-13	13:30:08	3744	[DEBUG]	Store product image relation
2023-10-13	13:30:08	3744	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:08	3744	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863236 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:08	3744	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:08	3744	[DEBUG]	Executed store
2023-10-13	13:30:08	3744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863236','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:08	3744	[DEBUG]	Checking manufacturer
2023-10-13	13:30:08	3744	[DEBUG]	Load a row
2023-10-13	13:30:08	3744	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:08	3744	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:08	3744	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:08	3744	[DEBUG]	Executed store
2023-10-13	13:30:08	3744	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331160104302' WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:08	3744	[DEBUG]	Manufacturer exists
2023-10-13	13:30:08	3744	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 184
2023-10-13	13:30:08	3744	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:08	3744	[DEBUG]	Executed store
2023-10-13	13:30:08	3744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863236','184')
2023-10-13	13:30:08	3744	[DEBUG]	Find the custom field ID
2023-10-13	13:30:08	3744	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:08	3744	[DEBUG]	No custom field ID found
2023-10-13	13:30:08	3744	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:08	3744	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:08	3744	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863236 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:08	3744	[DEBUG]	Store custom available field
2023-10-13	13:30:08	3744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863236,3,'0',1)
2023-10-13	13:30:08	3744	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:08	3744	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:08	3744	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863236 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:08	3744	[DEBUG]	Store custom available field
2023-10-13	13:30:08	3744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863236,6,'choisir la taille',3)
2023-10-13	13:30:08	3744	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:08	3744	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:08	3744	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:08	3744	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:08	3744	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863236 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:08	3744	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:08	3744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863236,8,1)
2023-10-13	13:30:08	3744	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:08	3744	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863236\":[1863236,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863236
2023-10-13	13:30:08	3744	[DEBUG]	Checking category
2023-10-13	13:30:08	3744	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:08	3744	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863236
2023-10-13	13:30:08	3744	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:08	3744	[DEBUG]	Executed store
2023-10-13	13:30:08	3744	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863236','7385')
2023-10-13	13:30:08	3744	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:08	3744	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863236 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:08	3744	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:08	3744	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863236
2023-10-13	13:30:08	3745	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:08	3745	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:08	3745	[DEBUG]	Use field value for field taille
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:08	3745	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:08	3745	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:08	3745	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:08	3745	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:08	3745	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:08	3745	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:08	3745	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:08	3745	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:08	3745	[DEBUG]	Use field value for field published
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:08	3745	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field override
2023-10-13	13:30:08	3745	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:08	3745	[DEBUG]	Use field value for field slug
2023-10-13	13:30:08	3745	[DEBUG]	Process line 3745
2023-10-13	13:30:08	3745	[DEBUG]	Load a row
2023-10-13	13:30:08	3745	[DEBUG]	Processing item: 4048174828927
2023-10-13	13:30:08	3745	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:08	3745	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:08	3745	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6636_16'
2023-10-13	13:30:08	3745	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:08	3745	[DEBUG]	Processing product tax
2023-10-13	13:30:08	3745	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:08	3745	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:08	3745	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:08	3745	[DEBUG]	Query for Product
2023-10-13	13:30:08	3745	[DEBUG]	Executed store
2023-10-13	13:30:08	3745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863236','4048174828927','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:08	3745	[DEBUG]	No parent found
2023-10-13	13:30:08	3745	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863236 AND customfield_value = 'stockable'
2023-10-13	13:30:08	3745	[DEBUG]	Check product language entry
2023-10-13	13:30:08	3745	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863237
2023-10-13	13:30:08	3745	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:08	3745	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4048174828927' AND `virtuemart_product_id` != 1863237
2023-10-13	13:30:08	3745	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:08	3745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863237, '4048174828927')
2023-10-13	13:30:08	3745	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:08	3745	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'racktime-sacoche-racktime-heda-dust-grey-31-5x37-5x45-cm-24-5-litres-899-gr-snap-it-gris-unitaire' AND `virtuemart_product_id` != 1863237
2023-10-13	13:30:08	3745	[DEBUG]	Query for ProductLang
2023-10-13	13:30:08	3745	[DEBUG]	Executed store
2023-10-13	13:30:08	3745	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Racktime Sacoche Racktime Heda Dust Grey 31.5x37.5x45 cm, 24.5 litres, 899 gr, Snap-It / Gris (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='racktime-sacoche-racktime-heda-dust-grey-31-5x37-5x45-cm-24-5-litres-899-gr-snap-it-gris-unitaire' WHERE `virtuemart_product_id` = '1863237'
2023-10-13	13:30:08	3745	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32520_sacoche_racktime_heda_dust_grey_31_5x37_5x45_cm,_24_5_litres,_899_gr,_snap-it.jpg
2023-10-13	13:30:08	3745	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:08	3745	[DEBUG]	Process image file
2023-10-13	13:30:08	3745	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:08	3745	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:08	3745	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32520_sacoche_racktime_heda_dust_grey_31_5x37_5x45_cm,_24_5_litres,_899_gr,_snap-it.jpg
2023-10-13	13:30:08	3745	[DEBUG]	Full name target: bcprisme/32520_sacoche_racktime_heda_dust_grey_31_5x37_5x45_cm,_24_5_litres,_899_gr,_snap-it.jpg
2023-10-13	13:30:09	3745	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:09	3745	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32520_sacoche_racktime_heda_dust_grey_31_5x37_5x45_cm,_24_5_litres,_899_gr,_snap-it.jpg'
2023-10-13	13:30:09	3745	[DEBUG]	Query for Media
2023-10-13	13:30:09	3745	[DEBUG]	Executed store
2023-10-13	13:30:09	3745	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32520_sacoche_racktime_heda_dust_grey_31_5x37_5x45_cm,_24_5_litres,_899_gr,_snap-it.jpg',`file_url_thumb`='bcprisme/32520_sacoche_racktime_heda_dust_grey_31_5x37_5x45_cm,_24_5_litres,_899_gr,_snap-it.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15302'
2023-10-13	13:30:09	3745	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:09	3745	[DEBUG]	Executed store
2023-10-13	13:30:09	3745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863237','15302','1')
2023-10-13	13:30:09	3745	[DEBUG]	Store product image relation
2023-10-13	13:30:09	3745	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:09	3745	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863237 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:09	3745	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:09	3745	[DEBUG]	Executed store
2023-10-13	13:30:09	3745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863237','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:09	3745	[DEBUG]	Checking manufacturer
2023-10-13	13:30:09	3745	[DEBUG]	Load a row
2023-10-13	13:30:09	3745	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:09	3745	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:09	3745	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:09	3745	[DEBUG]	Executed store
2023-10-13	13:30:09	3745	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331160104302' WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:09	3745	[DEBUG]	Manufacturer exists
2023-10-13	13:30:09	3745	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 184
2023-10-13	13:30:09	3745	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:09	3745	[DEBUG]	Executed store
2023-10-13	13:30:09	3745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863237','184')
2023-10-13	13:30:09	3745	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:09	3745	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:09	3745	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863237 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:09	3745	[DEBUG]	Store custom available field
2023-10-13	13:30:09	3745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863237,3,'',1)
2023-10-13	13:30:09	3745	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:09	3745	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:09	3745	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863237 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:09	3745	[DEBUG]	Store custom available field
2023-10-13	13:30:09	3745	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863237,6,'Unitaire',3)
2023-10-13	13:30:09	3745	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:09	3745	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:09	3745	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863236
2023-10-13	13:30:09	3745	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:09	3745	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863236\":[1863236,8,1,\"choisir la taille\"],\"1863237\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863236
2023-10-13	13:30:09	3745	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:09	3745	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863237
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:09	3746	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field taille
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:09	3746	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:09	3746	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:09	3746	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:09	3746	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:09	3746	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:09	3746	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field published
2023-10-13	13:30:09	3746	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:09	3746	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field override
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:09	3746	[DEBUG]	Use field value for field slug
2023-10-13	13:30:09	3746	[DEBUG]	Process line 3746
2023-10-13	13:30:09	3746	[DEBUG]	Load a row
2023-10-13	13:30:09	3746	[DEBUG]	Processing item: A_6790_1
2023-10-13	13:30:09	3746	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:09	3746	[DEBUG]	Processing product tax
2023-10-13	13:30:09	3746	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:09	3746	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:09	3746	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:09	3746	[DEBUG]	Query for Product
2023-10-13	13:30:09	3746	[DEBUG]	Executed store
2023-10-13	13:30:09	3746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6790_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:09	3746	[DEBUG]	Check product language entry
2023-10-13	13:30:09	3746	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863238
2023-10-13	13:30:09	3746	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:09	3746	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6790_1' AND `virtuemart_product_id` != 1863238
2023-10-13	13:30:09	3746	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:09	3746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863238, 'A_6790_1')
2023-10-13	13:30:09	3746	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:09	3746	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-unilux-avec-plaque-16-litres-sans-support-35-26-25-noir' AND `virtuemart_product_id` != 1863238
2023-10-13	13:30:09	3746	[DEBUG]	Query for ProductLang
2023-10-13	13:30:09	3746	[DEBUG]	Executed store
2023-10-13	13:30:09	3746	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 715314',`product_name`='Klickfix Panier de guidon UNILUX avec plaque 16 litres sans support 35/26/25 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-unilux-avec-plaque-16-litres-sans-support-35-26-25-noir' WHERE `virtuemart_product_id` = '1863238'
2023-10-13	13:30:09	3746	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33026_panier_klickfix_unilux_avec_plaque_16_litres_sans_support_35-26-25.jpg
2023-10-13	13:30:09	3746	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:09	3746	[DEBUG]	Process image file
2023-10-13	13:30:09	3746	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:09	3746	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:09	3746	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33026_panier_klickfix_unilux_avec_plaque_16_litres_sans_support_35-26-25.jpg
2023-10-13	13:30:09	3746	[DEBUG]	Full name target: bcprisme/33026_panier_klickfix_unilux_avec_plaque_16_litres_sans_support_35-26-25.jpg
2023-10-13	13:30:10	3746	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:10	3746	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33026_panier_klickfix_unilux_avec_plaque_16_litres_sans_support_35-26-25.jpg'
2023-10-13	13:30:10	3746	[DEBUG]	Query for Media
2023-10-13	13:30:10	3746	[DEBUG]	Executed store
2023-10-13	13:30:10	3746	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33026_panier_klickfix_unilux_avec_plaque_16_litres_sans_support_35-26-25.jpg',`file_url_thumb`='bcprisme/33026_panier_klickfix_unilux_avec_plaque_16_litres_sans_support_35-26-25.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13254'
2023-10-13	13:30:10	3746	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:10	3746	[DEBUG]	Executed store
2023-10-13	13:30:10	3746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863238','13254','1')
2023-10-13	13:30:10	3746	[DEBUG]	Store product image relation
2023-10-13	13:30:10	3746	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:10	3746	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863238 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:10	3746	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:10	3746	[DEBUG]	Executed store
2023-10-13	13:30:10	3746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863238','0','40.761374187558','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:10	3746	[DEBUG]	Checking manufacturer
2023-10-13	13:30:10	3746	[DEBUG]	Load a row
2023-10-13	13:30:10	3746	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:10	3746	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:10	3746	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:10	3746	[DEBUG]	Executed store
2023-10-13	13:30:10	3746	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:10	3746	[DEBUG]	Manufacturer exists
2023-10-13	13:30:10	3746	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:30:10	3746	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:10	3746	[DEBUG]	Executed store
2023-10-13	13:30:10	3746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863238','200')
2023-10-13	13:30:10	3746	[DEBUG]	Find the custom field ID
2023-10-13	13:30:10	3746	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:10	3746	[DEBUG]	No custom field ID found
2023-10-13	13:30:10	3746	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:10	3746	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:10	3746	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863238 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:10	3746	[DEBUG]	Store custom available field
2023-10-13	13:30:10	3746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863238,3,'0',1)
2023-10-13	13:30:10	3746	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:10	3746	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:10	3746	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863238 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:10	3746	[DEBUG]	Store custom available field
2023-10-13	13:30:10	3746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863238,6,'choisir la taille',3)
2023-10-13	13:30:10	3746	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:10	3746	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:10	3746	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:10	3746	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:10	3746	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863238 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:10	3746	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:10	3746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863238,8,1)
2023-10-13	13:30:10	3746	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:10	3746	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863238\":[1863238,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863238
2023-10-13	13:30:10	3746	[DEBUG]	Checking category
2023-10-13	13:30:10	3746	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:10	3746	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863238
2023-10-13	13:30:10	3746	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:10	3746	[DEBUG]	Executed store
2023-10-13	13:30:10	3746	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863238','7385')
2023-10-13	13:30:10	3746	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:10	3746	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863238 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:10	3746	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:10	3746	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863238
2023-10-13	13:30:10	3747	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:10	3747	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:10	3747	[DEBUG]	Use field value for field taille
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:10	3747	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:10	3747	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:10	3747	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:10	3747	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:10	3747	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:10	3747	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:10	3747	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:10	3747	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:10	3747	[DEBUG]	Use field value for field published
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:10	3747	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field override
2023-10-13	13:30:10	3747	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:10	3747	[DEBUG]	Use field value for field slug
2023-10-13	13:30:10	3747	[DEBUG]	Process line 3747
2023-10-13	13:30:10	3747	[DEBUG]	Load a row
2023-10-13	13:30:10	3747	[DEBUG]	Processing item: 1000000109559
2023-10-13	13:30:10	3747	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:10	3747	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:10	3747	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6790_1'
2023-10-13	13:30:10	3747	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:10	3747	[DEBUG]	Processing product tax
2023-10-13	13:30:10	3747	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:10	3747	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:10	3747	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:10	3747	[DEBUG]	Query for Product
2023-10-13	13:30:10	3747	[DEBUG]	Executed store
2023-10-13	13:30:10	3747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863238','1000000109559','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:10	3747	[DEBUG]	No parent found
2023-10-13	13:30:10	3747	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863238 AND customfield_value = 'stockable'
2023-10-13	13:30:10	3747	[DEBUG]	Check product language entry
2023-10-13	13:30:10	3747	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863239
2023-10-13	13:30:10	3747	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:10	3747	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000109559' AND `virtuemart_product_id` != 1863239
2023-10-13	13:30:10	3747	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:10	3747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863239, '1000000109559')
2023-10-13	13:30:10	3747	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:10	3747	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-unilux-avec-plaque-16-litres-sans-support-35-26-25-noir-unitaire' AND `virtuemart_product_id` != 1863239
2023-10-13	13:30:10	3747	[DEBUG]	Query for ProductLang
2023-10-13	13:30:11	3747	[DEBUG]	Executed store
2023-10-13	13:30:11	3747	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix Panier de guidon UNILUX avec plaque 16 litres sans support 35/26/25 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-unilux-avec-plaque-16-litres-sans-support-35-26-25-noir-unitaire' WHERE `virtuemart_product_id` = '1863239'
2023-10-13	13:30:11	3747	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33026_panier_klickfix_unilux_avec_plaque_16_litres_sans_support_35-26-25.jpg
2023-10-13	13:30:11	3747	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:11	3747	[DEBUG]	Process image file
2023-10-13	13:30:11	3747	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:11	3747	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:11	3747	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33026_panier_klickfix_unilux_avec_plaque_16_litres_sans_support_35-26-25.jpg
2023-10-13	13:30:11	3747	[DEBUG]	Full name target: bcprisme/33026_panier_klickfix_unilux_avec_plaque_16_litres_sans_support_35-26-25.jpg
2023-10-13	13:30:11	3747	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:11	3747	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33026_panier_klickfix_unilux_avec_plaque_16_litres_sans_support_35-26-25.jpg'
2023-10-13	13:30:11	3747	[DEBUG]	Query for Media
2023-10-13	13:30:11	3747	[DEBUG]	Executed store
2023-10-13	13:30:11	3747	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33026_panier_klickfix_unilux_avec_plaque_16_litres_sans_support_35-26-25.jpg',`file_url_thumb`='bcprisme/33026_panier_klickfix_unilux_avec_plaque_16_litres_sans_support_35-26-25.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13254'
2023-10-13	13:30:11	3747	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:11	3747	[DEBUG]	Executed store
2023-10-13	13:30:11	3747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863239','13254','1')
2023-10-13	13:30:11	3747	[DEBUG]	Store product image relation
2023-10-13	13:30:11	3747	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:11	3747	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863239 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:11	3747	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:11	3747	[DEBUG]	Executed store
2023-10-13	13:30:11	3747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863239','0','40.761374187558','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:11	3747	[DEBUG]	Checking manufacturer
2023-10-13	13:30:11	3747	[DEBUG]	Load a row
2023-10-13	13:30:11	3747	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:11	3747	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:11	3747	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:11	3747	[DEBUG]	Executed store
2023-10-13	13:30:11	3747	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:11	3747	[DEBUG]	Manufacturer exists
2023-10-13	13:30:11	3747	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:30:11	3747	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:11	3747	[DEBUG]	Executed store
2023-10-13	13:30:11	3747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863239','200')
2023-10-13	13:30:11	3747	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:11	3747	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:11	3747	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863239 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:11	3747	[DEBUG]	Store custom available field
2023-10-13	13:30:11	3747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863239,3,'',1)
2023-10-13	13:30:11	3747	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:11	3747	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:11	3747	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863239 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:11	3747	[DEBUG]	Store custom available field
2023-10-13	13:30:11	3747	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863239,6,'Unitaire',3)
2023-10-13	13:30:11	3747	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:11	3747	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:11	3747	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863238
2023-10-13	13:30:11	3747	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:11	3747	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863238\":[1863238,8,1,\"choisir la taille\"],\"1863239\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863238
2023-10-13	13:30:11	3747	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:11	3747	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863239
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:11	3748	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field taille
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:11	3748	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:11	3748	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:11	3748	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:11	3748	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:11	3748	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:11	3748	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:11	3748	[DEBUG]	Use field value for field published
2023-10-13	13:30:11	3748	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:11	3748	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:12	3748	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:12	3748	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:12	3748	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:12	3748	[DEBUG]	Use field value for field override
2023-10-13	13:30:12	3748	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:12	3748	[DEBUG]	Use field value for field slug
2023-10-13	13:30:12	3748	[DEBUG]	Process line 3748
2023-10-13	13:30:12	3748	[DEBUG]	Load a row
2023-10-13	13:30:12	3748	[DEBUG]	Processing item: A_6791_1
2023-10-13	13:30:12	3748	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:12	3748	[DEBUG]	Processing product tax
2023-10-13	13:30:12	3748	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:12	3748	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:12	3748	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:12	3748	[DEBUG]	Query for Product
2023-10-13	13:30:12	3748	[DEBUG]	Executed store
2023-10-13	13:30:12	3748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6791_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:12	3748	[DEBUG]	Check product language entry
2023-10-13	13:30:12	3748	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863240
2023-10-13	13:30:12	3748	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:12	3748	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6791_1' AND `virtuemart_product_id` != 1863240
2023-10-13	13:30:12	3748	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:12	3748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863240, 'A_6791_1')
2023-10-13	13:30:12	3748	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:12	3748	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-mini-noir-avec-plaque-10l-noir' AND `virtuemart_product_id` != 1863240
2023-10-13	13:30:12	3748	[DEBUG]	Query for ProductLang
2023-10-13	13:30:12	3748	[DEBUG]	Executed store
2023-10-13	13:30:12	3748	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Adaptateur requis pour utilisation: 715\'350 ou dérivés (guidon) / 715\'402 (tige de selle) / 715\'340 (potence)<br>Compris dans la livraison: 1x 715\'365<br><br>- La plus petite version du panier à mailles métalliques<br>- Avec une anse et un adaptateur permettant différentes hauteurs<br>- Particulièrement adapté aux vélos enfant<br>- Peut aussi se monter sur l\'extension pour tige de selle<br><br>Dimensions:    29 x 19 x 20cm<br>Poids:    900g<br>Couleur:    Noir<br>Volume:    10L<br>Charge utile:    7Kg<br><br>N° art fourn : 715315',`product_name`='Klickfix Panier de guidon MINI noir avec plaque 10L / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-mini-noir-avec-plaque-10l-noir' WHERE `virtuemart_product_id` = '1863240'
2023-10-13	13:30:12	3748	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33027_panier_klickfix_mini_noir_avec_plaque_10_l_+_support_lamello.jpg
2023-10-13	13:30:12	3748	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:12	3748	[DEBUG]	Process image file
2023-10-13	13:30:12	3748	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:12	3748	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:12	3748	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33027_panier_klickfix_mini_noir_avec_plaque_10_l_+_support_lamello.jpg
2023-10-13	13:30:12	3748	[DEBUG]	Full name target: bcprisme/33027_panier_klickfix_mini_noir_avec_plaque_10_l_+_support_lamello.jpg
2023-10-13	13:30:12	3748	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:12	3748	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33027_panier_klickfix_mini_noir_avec_plaque_10_l_+_support_lamello.jpg'
2023-10-13	13:30:12	3748	[DEBUG]	Query for Media
2023-10-13	13:30:12	3748	[DEBUG]	Executed store
2023-10-13	13:30:12	3748	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33027_panier_klickfix_mini_noir_avec_plaque_10_l_+_support_lamello.jpg',`file_url_thumb`='bcprisme/33027_panier_klickfix_mini_noir_avec_plaque_10_l_+_support_lamello.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13255'
2023-10-13	13:30:12	3748	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:12	3748	[DEBUG]	Executed store
2023-10-13	13:30:12	3748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863240','13255','1')
2023-10-13	13:30:12	3748	[DEBUG]	Store product image relation
2023-10-13	13:30:12	3748	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:12	3748	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863240 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:12	3748	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:12	3748	[DEBUG]	Executed store
2023-10-13	13:30:12	3748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863240','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:12	3748	[DEBUG]	Checking manufacturer
2023-10-13	13:30:12	3748	[DEBUG]	Load a row
2023-10-13	13:30:12	3748	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:12	3748	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:12	3748	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:12	3748	[DEBUG]	Executed store
2023-10-13	13:30:12	3748	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:12	3748	[DEBUG]	Manufacturer exists
2023-10-13	13:30:12	3748	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:30:12	3748	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:12	3748	[DEBUG]	Executed store
2023-10-13	13:30:12	3748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863240','200')
2023-10-13	13:30:12	3748	[DEBUG]	Find the custom field ID
2023-10-13	13:30:12	3748	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:12	3748	[DEBUG]	No custom field ID found
2023-10-13	13:30:12	3748	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:12	3748	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:12	3748	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863240 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:12	3748	[DEBUG]	Store custom available field
2023-10-13	13:30:12	3748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863240,3,'0',1)
2023-10-13	13:30:12	3748	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:12	3748	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:12	3748	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863240 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:12	3748	[DEBUG]	Store custom available field
2023-10-13	13:30:12	3748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863240,6,'choisir la taille',3)
2023-10-13	13:30:12	3748	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:12	3748	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:12	3748	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:12	3748	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:12	3748	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863240 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:12	3748	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:12	3748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863240,8,1)
2023-10-13	13:30:12	3748	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:12	3748	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863240\":[1863240,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863240
2023-10-13	13:30:12	3748	[DEBUG]	Checking category
2023-10-13	13:30:12	3748	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:12	3748	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863240
2023-10-13	13:30:12	3748	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:12	3748	[DEBUG]	Executed store
2023-10-13	13:30:12	3748	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863240','7385')
2023-10-13	13:30:12	3748	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:12	3748	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863240 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:12	3748	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:12	3748	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863240
2023-10-13	13:30:12	3749	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:12	3749	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:12	3749	[DEBUG]	Use field value for field taille
2023-10-13	13:30:12	3749	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:12	3749	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:12	3749	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:12	3749	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:12	3749	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:12	3749	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:12	3749	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:12	3749	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:12	3749	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:12	3749	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:13	3749	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:13	3749	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:13	3749	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:13	3749	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:13	3749	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:13	3749	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:13	3749	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:13	3749	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:13	3749	[DEBUG]	Use field value for field published
2023-10-13	13:30:13	3749	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:13	3749	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:13	3749	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:13	3749	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:13	3749	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:13	3749	[DEBUG]	Use default value for field override
2023-10-13	13:30:13	3749	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:13	3749	[DEBUG]	Use field value for field slug
2023-10-13	13:30:13	3749	[DEBUG]	Process line 3749
2023-10-13	13:30:13	3749	[DEBUG]	Load a row
2023-10-13	13:30:13	3749	[DEBUG]	Processing item: 1000000109566
2023-10-13	13:30:13	3749	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:13	3749	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:13	3749	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6791_1'
2023-10-13	13:30:13	3749	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:13	3749	[DEBUG]	Processing product tax
2023-10-13	13:30:13	3749	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:13	3749	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:13	3749	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:13	3749	[DEBUG]	Query for Product
2023-10-13	13:30:13	3749	[DEBUG]	Executed store
2023-10-13	13:30:13	3749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863240','1000000109566','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:13	3749	[DEBUG]	No parent found
2023-10-13	13:30:13	3749	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863240 AND customfield_value = 'stockable'
2023-10-13	13:30:13	3749	[DEBUG]	Check product language entry
2023-10-13	13:30:13	3749	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863241
2023-10-13	13:30:13	3749	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:13	3749	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000109566' AND `virtuemart_product_id` != 1863241
2023-10-13	13:30:13	3749	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:13	3749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863241, '1000000109566')
2023-10-13	13:30:13	3749	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:13	3749	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-mini-noir-avec-plaque-10l-noir-unitaire' AND `virtuemart_product_id` != 1863241
2023-10-13	13:30:13	3749	[DEBUG]	Query for ProductLang
2023-10-13	13:30:13	3749	[DEBUG]	Executed store
2023-10-13	13:30:13	3749	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix Panier de guidon MINI noir avec plaque 10L / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-mini-noir-avec-plaque-10l-noir-unitaire' WHERE `virtuemart_product_id` = '1863241'
2023-10-13	13:30:13	3749	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33027_panier_klickfix_mini_noir_avec_plaque_10_l_+_support_lamello.jpg
2023-10-13	13:30:13	3749	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:13	3749	[DEBUG]	Process image file
2023-10-13	13:30:13	3749	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:13	3749	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:13	3749	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33027_panier_klickfix_mini_noir_avec_plaque_10_l_+_support_lamello.jpg
2023-10-13	13:30:13	3749	[DEBUG]	Full name target: bcprisme/33027_panier_klickfix_mini_noir_avec_plaque_10_l_+_support_lamello.jpg
2023-10-13	13:30:13	3749	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:13	3749	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33027_panier_klickfix_mini_noir_avec_plaque_10_l_+_support_lamello.jpg'
2023-10-13	13:30:13	3749	[DEBUG]	Query for Media
2023-10-13	13:30:13	3749	[DEBUG]	Executed store
2023-10-13	13:30:13	3749	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33027_panier_klickfix_mini_noir_avec_plaque_10_l_+_support_lamello.jpg',`file_url_thumb`='bcprisme/33027_panier_klickfix_mini_noir_avec_plaque_10_l_+_support_lamello.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13255'
2023-10-13	13:30:13	3749	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:13	3749	[DEBUG]	Executed store
2023-10-13	13:30:13	3749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863241','13255','1')
2023-10-13	13:30:13	3749	[DEBUG]	Store product image relation
2023-10-13	13:30:13	3749	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:13	3749	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863241 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:13	3749	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:13	3749	[DEBUG]	Executed store
2023-10-13	13:30:13	3749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863241','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:13	3749	[DEBUG]	Checking manufacturer
2023-10-13	13:30:13	3749	[DEBUG]	Load a row
2023-10-13	13:30:13	3749	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:13	3749	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:13	3749	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:13	3749	[DEBUG]	Executed store
2023-10-13	13:30:14	3749	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:14	3749	[DEBUG]	Manufacturer exists
2023-10-13	13:30:14	3749	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:30:14	3749	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:14	3749	[DEBUG]	Executed store
2023-10-13	13:30:14	3749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863241','200')
2023-10-13	13:30:14	3749	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:14	3749	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:14	3749	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863241 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:14	3749	[DEBUG]	Store custom available field
2023-10-13	13:30:14	3749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863241,3,'',1)
2023-10-13	13:30:14	3749	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:14	3749	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:14	3749	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863241 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:14	3749	[DEBUG]	Store custom available field
2023-10-13	13:30:14	3749	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863241,6,'Unitaire',3)
2023-10-13	13:30:14	3749	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:14	3749	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:14	3749	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863240
2023-10-13	13:30:14	3749	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:14	3749	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863240\":[1863240,8,1,\"choisir la taille\"],\"1863241\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863240
2023-10-13	13:30:14	3749	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:14	3749	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863241
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:14	3750	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field taille
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:14	3750	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:14	3750	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:14	3750	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:14	3750	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:14	3750	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:14	3750	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field published
2023-10-13	13:30:14	3750	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:14	3750	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field override
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:14	3750	[DEBUG]	Use field value for field slug
2023-10-13	13:30:14	3750	[DEBUG]	Process line 3750
2023-10-13	13:30:14	3750	[DEBUG]	Load a row
2023-10-13	13:30:14	3750	[DEBUG]	Processing item: A_6854_370
2023-10-13	13:30:14	3750	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:14	3750	[DEBUG]	Processing product tax
2023-10-13	13:30:14	3750	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:14	3750	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:14	3750	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:14	3750	[DEBUG]	Query for Product
2023-10-13	13:30:14	3750	[DEBUG]	Executed store
2023-10-13	13:30:14	3750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6854_370','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:14	3750	[DEBUG]	Check product language entry
2023-10-13	13:30:14	3750	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863242
2023-10-13	13:30:14	3750	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:14	3750	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6854_370' AND `virtuemart_product_id` != 1863242
2023-10-13	13:30:14	3750	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:14	3750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863242, 'A_6854_370')
2023-10-13	13:30:14	3750	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:14	3750	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'racktime-sacoche-racktime-tasche-mia-peat-bog-31-x-40-x-16-cm-17-5-litres-green-dust-grey' AND `virtuemart_product_id` != 1863242
2023-10-13	13:30:14	3750	[DEBUG]	Query for ProductLang
2023-10-13	13:30:14	3750	[DEBUG]	Executed store
2023-10-13	13:30:14	3750	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 260.006.002',`product_name`='Racktime Sacoche Racktime Tasche Mia Peat Bog 31 x 40 x 16 cm, 17.5 litres / Green / Dust Grey',`metadesc`='',`metakey`='',`customtitle`='',`slug`='racktime-sacoche-racktime-tasche-mia-peat-bog-31-x-40-x-16-cm-17-5-litres-green-dust-grey' WHERE `virtuemart_product_id` = '1863242'
2023-10-13	13:30:14	3750	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33690_sacoche_racktime_tasche_mia_peat_bog_31_x_40_x_16_cm,_17_5_litres.jpg
2023-10-13	13:30:14	3750	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:14	3750	[DEBUG]	Process image file
2023-10-13	13:30:14	3750	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:14	3750	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:14	3750	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33690_sacoche_racktime_tasche_mia_peat_bog_31_x_40_x_16_cm,_17_5_litres.jpg
2023-10-13	13:30:14	3750	[DEBUG]	Full name target: bcprisme/33690_sacoche_racktime_tasche_mia_peat_bog_31_x_40_x_16_cm,_17_5_litres.jpg
2023-10-13	13:30:15	3750	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:15	3750	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33690_sacoche_racktime_tasche_mia_peat_bog_31_x_40_x_16_cm,_17_5_litres.jpg'
2023-10-13	13:30:15	3750	[DEBUG]	Query for Media
2023-10-13	13:30:15	3750	[DEBUG]	Executed store
2023-10-13	13:30:15	3750	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33690_sacoche_racktime_tasche_mia_peat_bog_31_x_40_x_16_cm,_17_5_litres.jpg',`file_url_thumb`='bcprisme/33690_sacoche_racktime_tasche_mia_peat_bog_31_x_40_x_16_cm,_17_5_litres.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15303'
2023-10-13	13:30:15	3750	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:15	3750	[DEBUG]	Executed store
2023-10-13	13:30:15	3750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863242','15303','1')
2023-10-13	13:30:15	3750	[DEBUG]	Store product image relation
2023-10-13	13:30:15	3750	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:15	3750	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863242 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:15	3750	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:15	3750	[DEBUG]	Executed store
2023-10-13	13:30:15	3750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863242','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:15	3750	[DEBUG]	Checking manufacturer
2023-10-13	13:30:15	3750	[DEBUG]	Load a row
2023-10-13	13:30:15	3750	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:15	3750	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:15	3750	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:15	3750	[DEBUG]	Executed store
2023-10-13	13:30:15	3750	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331160104302' WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:15	3750	[DEBUG]	Manufacturer exists
2023-10-13	13:30:15	3750	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 184
2023-10-13	13:30:15	3750	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:15	3750	[DEBUG]	Executed store
2023-10-13	13:30:15	3750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863242','184')
2023-10-13	13:30:15	3750	[DEBUG]	Find the custom field ID
2023-10-13	13:30:15	3750	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:15	3750	[DEBUG]	No custom field ID found
2023-10-13	13:30:15	3750	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:15	3750	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:15	3750	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863242 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:15	3750	[DEBUG]	Store custom available field
2023-10-13	13:30:15	3750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863242,3,'0',1)
2023-10-13	13:30:15	3750	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:15	3750	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:15	3750	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863242 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:15	3750	[DEBUG]	Store custom available field
2023-10-13	13:30:15	3750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863242,6,'choisir la taille',3)
2023-10-13	13:30:15	3750	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:15	3750	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:15	3750	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:15	3750	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:15	3750	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863242 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:15	3750	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:15	3750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863242,8,1)
2023-10-13	13:30:15	3750	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:15	3750	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863242\":[1863242,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863242
2023-10-13	13:30:15	3750	[DEBUG]	Checking category
2023-10-13	13:30:15	3750	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:15	3750	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863242
2023-10-13	13:30:15	3750	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:15	3750	[DEBUG]	Executed store
2023-10-13	13:30:15	3750	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863242','7385')
2023-10-13	13:30:15	3750	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:15	3750	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863242 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:15	3750	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:15	3750	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863242
2023-10-13	13:30:15	3751	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:15	3751	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:15	3751	[DEBUG]	Use field value for field taille
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:15	3751	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:15	3751	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:15	3751	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:15	3751	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:15	3751	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:15	3751	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:15	3751	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:15	3751	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:15	3751	[DEBUG]	Use field value for field published
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:15	3751	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field override
2023-10-13	13:30:15	3751	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:15	3751	[DEBUG]	Use field value for field slug
2023-10-13	13:30:15	3751	[DEBUG]	Process line 3751
2023-10-13	13:30:15	3751	[DEBUG]	Load a row
2023-10-13	13:30:15	3751	[DEBUG]	Processing item: 4048174829023
2023-10-13	13:30:15	3751	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:15	3751	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:15	3751	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6854_370'
2023-10-13	13:30:15	3751	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:15	3751	[DEBUG]	Processing product tax
2023-10-13	13:30:15	3751	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:15	3751	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:15	3751	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:15	3751	[DEBUG]	Query for Product
2023-10-13	13:30:15	3751	[DEBUG]	Executed store
2023-10-13	13:30:15	3751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863242','4048174829023','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:15	3751	[DEBUG]	No parent found
2023-10-13	13:30:15	3751	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863242 AND customfield_value = 'stockable'
2023-10-13	13:30:15	3751	[DEBUG]	Check product language entry
2023-10-13	13:30:15	3751	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863243
2023-10-13	13:30:15	3751	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:15	3751	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4048174829023' AND `virtuemart_product_id` != 1863243
2023-10-13	13:30:15	3751	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:15	3751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863243, '4048174829023')
2023-10-13	13:30:15	3751	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:15	3751	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'racktime-sacoche-racktime-tasche-mia-peat-bog-31-x-40-x-16-cm-17-5-litres-green-dust-grey-unitaire' AND `virtuemart_product_id` != 1863243
2023-10-13	13:30:15	3751	[DEBUG]	Query for ProductLang
2023-10-13	13:30:15	3751	[DEBUG]	Executed store
2023-10-13	13:30:15	3751	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Racktime Sacoche Racktime Tasche Mia Peat Bog 31 x 40 x 16 cm, 17.5 litres / Green / Dust Grey (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='racktime-sacoche-racktime-tasche-mia-peat-bog-31-x-40-x-16-cm-17-5-litres-green-dust-grey-unitaire' WHERE `virtuemart_product_id` = '1863243'
2023-10-13	13:30:15	3751	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33690_sacoche_racktime_tasche_mia_peat_bog_31_x_40_x_16_cm,_17_5_litres.jpg
2023-10-13	13:30:15	3751	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:15	3751	[DEBUG]	Process image file
2023-10-13	13:30:15	3751	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:15	3751	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:15	3751	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33690_sacoche_racktime_tasche_mia_peat_bog_31_x_40_x_16_cm,_17_5_litres.jpg
2023-10-13	13:30:15	3751	[DEBUG]	Full name target: bcprisme/33690_sacoche_racktime_tasche_mia_peat_bog_31_x_40_x_16_cm,_17_5_litres.jpg
2023-10-13	13:30:16	3751	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:16	3751	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33690_sacoche_racktime_tasche_mia_peat_bog_31_x_40_x_16_cm,_17_5_litres.jpg'
2023-10-13	13:30:16	3751	[DEBUG]	Query for Media
2023-10-13	13:30:16	3751	[DEBUG]	Executed store
2023-10-13	13:30:16	3751	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33690_sacoche_racktime_tasche_mia_peat_bog_31_x_40_x_16_cm,_17_5_litres.jpg',`file_url_thumb`='bcprisme/33690_sacoche_racktime_tasche_mia_peat_bog_31_x_40_x_16_cm,_17_5_litres.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15303'
2023-10-13	13:30:16	3751	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:16	3751	[DEBUG]	Executed store
2023-10-13	13:30:16	3751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863243','15303','1')
2023-10-13	13:30:16	3751	[DEBUG]	Store product image relation
2023-10-13	13:30:16	3751	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:16	3751	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863243 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:16	3751	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:16	3751	[DEBUG]	Executed store
2023-10-13	13:30:16	3751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863243','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:16	3751	[DEBUG]	Checking manufacturer
2023-10-13	13:30:16	3751	[DEBUG]	Load a row
2023-10-13	13:30:16	3751	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:16	3751	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:16	3751	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:16	3751	[DEBUG]	Executed store
2023-10-13	13:30:16	3751	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331160104302' WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:16	3751	[DEBUG]	Manufacturer exists
2023-10-13	13:30:16	3751	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 184
2023-10-13	13:30:16	3751	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:16	3751	[DEBUG]	Executed store
2023-10-13	13:30:16	3751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863243','184')
2023-10-13	13:30:16	3751	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:16	3751	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:16	3751	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863243 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:16	3751	[DEBUG]	Store custom available field
2023-10-13	13:30:16	3751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863243,3,'',1)
2023-10-13	13:30:16	3751	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:16	3751	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:16	3751	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863243 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:16	3751	[DEBUG]	Store custom available field
2023-10-13	13:30:16	3751	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863243,6,'Unitaire',3)
2023-10-13	13:30:16	3751	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:16	3751	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:16	3751	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863242
2023-10-13	13:30:16	3751	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:16	3751	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863242\":[1863242,8,1,\"choisir la taille\"],\"1863243\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863242
2023-10-13	13:30:16	3751	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:16	3751	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863243
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:16	3752	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field taille
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:16	3752	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:16	3752	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:16	3752	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:16	3752	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:16	3752	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:16	3752	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field published
2023-10-13	13:30:16	3752	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:16	3752	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field override
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:16	3752	[DEBUG]	Use field value for field slug
2023-10-13	13:30:16	3752	[DEBUG]	Process line 3752
2023-10-13	13:30:16	3752	[DEBUG]	Load a row
2023-10-13	13:30:16	3752	[DEBUG]	Processing item: A_6868_1
2023-10-13	13:30:16	3752	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:16	3752	[DEBUG]	Processing product tax
2023-10-13	13:30:16	3752	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:16	3752	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:16	3752	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:16	3752	[DEBUG]	Query for Product
2023-10-13	13:30:16	3752	[DEBUG]	Executed store
2023-10-13	13:30:16	3752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6868_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:16	3752	[DEBUG]	Check product language entry
2023-10-13	13:30:16	3752	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863244
2023-10-13	13:30:16	3752	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:16	3752	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6868_1' AND `virtuemart_product_id` != 1863244
2023-10-13	13:30:16	3752	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:16	3752	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863244, 'A_6868_1')
2023-10-13	13:30:16	3752	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:16	3752	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-racktime-adaptateur-clamp-it-noir' AND `virtuemart_product_id` != 1863244
2023-10-13	13:30:16	3752	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:30:16	3752	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'camelbak-racktime-adaptateur-clamp-it-noir', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'camelbak-racktime-adaptateur-clamp-it-noir' OR `slug` LIKE 'camelbak-racktime-adaptateur-clamp-it-noir-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1863244 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:30:16	3752	[DEBUG]	Query for ProductLang
2023-10-13	13:30:16	3752	[DEBUG]	Executed store
2023-10-13	13:30:16	3752	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : Clamp-it',`product_name`='CAMELBAK Racktime adaptateur Clamp-it / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-racktime-adaptateur-clamp-it-noir-1' WHERE `virtuemart_product_id` = '1863244'
2023-10-13	13:30:16	3753	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:16	3753	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:16	3753	[DEBUG]	Use field value for field taille
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:16	3753	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:16	3753	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:16	3753	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:16	3753	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:16	3753	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:16	3753	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:16	3753	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:16	3753	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:16	3753	[DEBUG]	Use field value for field published
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:16	3753	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field override
2023-10-13	13:30:16	3753	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:16	3753	[DEBUG]	Use field value for field slug
2023-10-13	13:30:16	3753	[DEBUG]	Process line 3753
2023-10-13	13:30:16	3753	[DEBUG]	Load a row
2023-10-13	13:30:16	3753	[DEBUG]	Processing item: 1000000110456
2023-10-13	13:30:16	3753	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:16	3753	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:16	3753	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6868_1'
2023-10-13	13:30:16	3753	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:16	3753	[DEBUG]	Processing product tax
2023-10-13	13:30:16	3753	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:16	3753	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:16	3753	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:16	3753	[DEBUG]	Query for Product
2023-10-13	13:30:16	3753	[DEBUG]	Executed store
2023-10-13	13:30:16	3753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863244','1000000110456','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:16	3753	[DEBUG]	No parent found
2023-10-13	13:30:16	3753	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863244 AND customfield_value = 'stockable'
2023-10-13	13:30:16	3753	[DEBUG]	Check product language entry
2023-10-13	13:30:16	3753	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863245
2023-10-13	13:30:16	3753	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:16	3753	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000110456' AND `virtuemart_product_id` != 1863245
2023-10-13	13:30:16	3753	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:16	3753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863245, '1000000110456')
2023-10-13	13:30:16	3753	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:16	3753	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire' AND `virtuemart_product_id` != 1863245
2023-10-13	13:30:16	3753	[DEBUG]	Check how many other products exist with the same slug
2023-10-13	13:30:16	3753	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire', '')) + 1 FROM mlvbch_virtuemart_products_fr_fr WHERE (`slug` = 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire' OR `slug` LIKE 'camelbak-racktime-adaptateur-clamp-it-noir-unitaire-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_product_id` != 1863245 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:30:16	3753	[DEBUG]	Query for ProductLang
2023-10-13	13:30:16	3753	[DEBUG]	Executed store
2023-10-13	13:30:16	3753	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CAMELBAK Racktime adaptateur Clamp-it / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='camelbak-racktime-adaptateur-clamp-it-noir-unitaire-5' WHERE `virtuemart_product_id` = '1863245'
2023-10-13	13:30:16	3753	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33979_racktime_adaptateur_clamp-it.jpg
2023-10-13	13:30:16	3753	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:16	3753	[DEBUG]	Process image file
2023-10-13	13:30:16	3753	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:16	3753	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:16	3753	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33979_racktime_adaptateur_clamp-it.jpg
2023-10-13	13:30:16	3753	[DEBUG]	Full name target: bcprisme/33979_racktime_adaptateur_clamp-it.jpg
2023-10-13	13:30:17	3753	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:17	3753	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33979_racktime_adaptateur_clamp-it.jpg'
2023-10-13	13:30:17	3753	[DEBUG]	Query for Media
2023-10-13	13:30:17	3753	[DEBUG]	Executed store
2023-10-13	13:30:17	3753	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33979_racktime_adaptateur_clamp-it.jpg',`file_url_thumb`='bcprisme/33979_racktime_adaptateur_clamp-it.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15909'
2023-10-13	13:30:17	3753	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:17	3753	[DEBUG]	Executed store
2023-10-13	13:30:17	3753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863245','15909','1')
2023-10-13	13:30:17	3753	[DEBUG]	Store product image relation
2023-10-13	13:30:17	3753	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:17	3753	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863245 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:17	3753	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:17	3753	[DEBUG]	Executed store
2023-10-13	13:30:17	3753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863245','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:17	3753	[DEBUG]	Checking manufacturer
2023-10-13	13:30:17	3753	[DEBUG]	Load a row
2023-10-13	13:30:17	3753	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:17	3753	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:30:17	3753	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:17	3753	[DEBUG]	Executed store
2023-10-13	13:30:17	3753	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331040431707' WHERE `virtuemart_manufacturer_id` = '157'
2023-10-13	13:30:17	3753	[DEBUG]	Manufacturer exists
2023-10-13	13:30:17	3753	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 157
2023-10-13	13:30:17	3753	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:17	3753	[DEBUG]	Executed store
2023-10-13	13:30:17	3753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863245','157')
2023-10-13	13:30:17	3753	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:17	3753	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:17	3753	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863245 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:17	3753	[DEBUG]	Store custom available field
2023-10-13	13:30:17	3753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863245,3,'',1)
2023-10-13	13:30:17	3753	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:17	3753	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:17	3753	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863245 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:17	3753	[DEBUG]	Store custom available field
2023-10-13	13:30:17	3753	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863245,6,'Unitaire',3)
2023-10-13	13:30:17	3753	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:17	3753	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:17	3753	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863244
2023-10-13	13:30:17	3753	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:17	3753	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[]|clabels=0|options={\"1863245\":[]}|' WHERE `virtuemart_product_id` = 1863244
2023-10-13	13:30:17	3753	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:17	3753	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863245
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:17	3754	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field taille
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:17	3754	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:17	3754	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:17	3754	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:17	3754	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:17	3754	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:17	3754	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:17	3754	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field published
2023-10-13	13:30:17	3754	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:17	3754	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field override
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:17	3754	[DEBUG]	Use field value for field slug
2023-10-13	13:30:17	3754	[DEBUG]	Process line 3754
2023-10-13	13:30:17	3754	[DEBUG]	Load a row
2023-10-13	13:30:17	3754	[DEBUG]	Processing item: A_7152_1
2023-10-13	13:30:17	3754	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:17	3754	[DEBUG]	Processing product tax
2023-10-13	13:30:17	3754	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:17	3754	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:17	3754	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:17	3754	[DEBUG]	Query for Product
2023-10-13	13:30:17	3754	[DEBUG]	Executed store
2023-10-13	13:30:17	3754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7152_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:17	3754	[DEBUG]	Check product language entry
2023-10-13	13:30:17	3754	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863246
2023-10-13	13:30:17	3754	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:17	3754	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7152_1' AND `virtuemart_product_id` != 1863246
2023-10-13	13:30:17	3754	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:17	3754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863246, 'A_7152_1')
2023-10-13	13:30:17	3754	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:17	3754	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'basil-panier-avant-basil-noir' AND `virtuemart_product_id` != 1863246
2023-10-13	13:30:17	3754	[DEBUG]	Query for ProductLang
2023-10-13	13:30:17	3754	[DEBUG]	Executed store
2023-10-13	13:30:17	3754	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 480.123',`product_name`='BASIL Panier avant BASIL / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='basil-panier-avant-basil-noir' WHERE `virtuemart_product_id` = '1863246'
2023-10-13	13:30:17	3754	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34309_panier_avant_basil.jpg
2023-10-13	13:30:17	3754	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:17	3754	[DEBUG]	Process image file
2023-10-13	13:30:17	3754	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:17	3754	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:17	3754	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34309_panier_avant_basil.jpg
2023-10-13	13:30:17	3754	[DEBUG]	Full name target: bcprisme/34309_panier_avant_basil.jpg
2023-10-13	13:30:18	3754	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:18	3754	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34309_panier_avant_basil.jpg'
2023-10-13	13:30:18	3754	[DEBUG]	Query for Media
2023-10-13	13:30:18	3754	[DEBUG]	Executed store
2023-10-13	13:30:18	3754	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34309_panier_avant_basil.jpg',`file_url_thumb`='bcprisme/34309_panier_avant_basil.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '129738'
2023-10-13	13:30:18	3754	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:18	3754	[DEBUG]	Executed store
2023-10-13	13:30:18	3754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863246','129738','1')
2023-10-13	13:30:18	3754	[DEBUG]	Store product image relation
2023-10-13	13:30:18	3754	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:18	3754	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863246 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:18	3754	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:18	3754	[DEBUG]	Executed store
2023-10-13	13:30:18	3754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863246','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:18	3754	[DEBUG]	Checking manufacturer
2023-10-13	13:30:18	3754	[DEBUG]	Load a row
2023-10-13	13:30:18	3754	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:18	3754	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:18	3754	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:18	3754	[DEBUG]	Executed store
2023-10-13	13:30:18	3754	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='163',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='163' WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:18	3754	[DEBUG]	Manufacturer exists
2023-10-13	13:30:18	3754	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 228
2023-10-13	13:30:18	3754	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:18	3754	[DEBUG]	Executed store
2023-10-13	13:30:18	3754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863246','228')
2023-10-13	13:30:18	3754	[DEBUG]	Find the custom field ID
2023-10-13	13:30:18	3754	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:18	3754	[DEBUG]	No custom field ID found
2023-10-13	13:30:18	3754	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:18	3754	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:18	3754	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863246 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:18	3754	[DEBUG]	Store custom available field
2023-10-13	13:30:18	3754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863246,3,'0',1)
2023-10-13	13:30:18	3754	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:18	3754	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:18	3754	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863246 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:18	3754	[DEBUG]	Store custom available field
2023-10-13	13:30:18	3754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863246,6,'choisir la taille',3)
2023-10-13	13:30:18	3754	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:18	3754	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:18	3754	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:18	3754	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:18	3754	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863246 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:18	3754	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:18	3754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863246,8,1)
2023-10-13	13:30:18	3754	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:18	3754	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863246\":[1863246,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863246
2023-10-13	13:30:18	3754	[DEBUG]	Checking category
2023-10-13	13:30:18	3754	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:18	3754	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863246
2023-10-13	13:30:18	3754	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:18	3754	[DEBUG]	Executed store
2023-10-13	13:30:18	3754	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863246','7385')
2023-10-13	13:30:18	3754	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:18	3754	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863246 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:18	3754	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:18	3754	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863246
2023-10-13	13:30:18	3755	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:18	3755	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:18	3755	[DEBUG]	Use field value for field taille
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:18	3755	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:18	3755	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:18	3755	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:18	3755	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:18	3755	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:18	3755	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:18	3755	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:18	3755	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:18	3755	[DEBUG]	Use field value for field published
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:18	3755	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field override
2023-10-13	13:30:18	3755	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:18	3755	[DEBUG]	Use field value for field slug
2023-10-13	13:30:18	3755	[DEBUG]	Process line 3755
2023-10-13	13:30:18	3755	[DEBUG]	Load a row
2023-10-13	13:30:18	3755	[DEBUG]	Processing item: 8715019102196
2023-10-13	13:30:18	3755	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:18	3755	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:18	3755	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7152_1'
2023-10-13	13:30:18	3755	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:18	3755	[DEBUG]	Processing product tax
2023-10-13	13:30:18	3755	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:18	3755	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:18	3755	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:18	3755	[DEBUG]	Query for Product
2023-10-13	13:30:18	3755	[DEBUG]	Executed store
2023-10-13	13:30:18	3755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863246','8715019102196','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:18	3755	[DEBUG]	No parent found
2023-10-13	13:30:18	3755	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863246 AND customfield_value = 'stockable'
2023-10-13	13:30:18	3755	[DEBUG]	Check product language entry
2023-10-13	13:30:18	3755	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863247
2023-10-13	13:30:18	3755	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:18	3755	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8715019102196' AND `virtuemart_product_id` != 1863247
2023-10-13	13:30:18	3755	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:18	3755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863247, '8715019102196')
2023-10-13	13:30:18	3755	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:18	3755	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'basil-panier-avant-basil-noir-unitaire' AND `virtuemart_product_id` != 1863247
2023-10-13	13:30:18	3755	[DEBUG]	Query for ProductLang
2023-10-13	13:30:18	3755	[DEBUG]	Executed store
2023-10-13	13:30:18	3755	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BASIL Panier avant BASIL / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='basil-panier-avant-basil-noir-unitaire' WHERE `virtuemart_product_id` = '1863247'
2023-10-13	13:30:18	3755	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34309_panier_avant_basil.jpg
2023-10-13	13:30:18	3755	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:18	3755	[DEBUG]	Process image file
2023-10-13	13:30:18	3755	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:18	3755	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:18	3755	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34309_panier_avant_basil.jpg
2023-10-13	13:30:18	3755	[DEBUG]	Full name target: bcprisme/34309_panier_avant_basil.jpg
2023-10-13	13:30:19	3755	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:19	3755	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34309_panier_avant_basil.jpg'
2023-10-13	13:30:19	3755	[DEBUG]	Query for Media
2023-10-13	13:30:19	3755	[DEBUG]	Executed store
2023-10-13	13:30:19	3755	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34309_panier_avant_basil.jpg',`file_url_thumb`='bcprisme/34309_panier_avant_basil.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '129738'
2023-10-13	13:30:19	3755	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:19	3755	[DEBUG]	Executed store
2023-10-13	13:30:19	3755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863247','129738','1')
2023-10-13	13:30:19	3755	[DEBUG]	Store product image relation
2023-10-13	13:30:19	3755	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:19	3755	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863247 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:19	3755	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:19	3755	[DEBUG]	Executed store
2023-10-13	13:30:19	3755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863247','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:19	3755	[DEBUG]	Checking manufacturer
2023-10-13	13:30:19	3755	[DEBUG]	Load a row
2023-10-13	13:30:19	3755	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:19	3755	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:19	3755	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:19	3755	[DEBUG]	Executed store
2023-10-13	13:30:19	3755	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='163',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='163' WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:19	3755	[DEBUG]	Manufacturer exists
2023-10-13	13:30:19	3755	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 228
2023-10-13	13:30:19	3755	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:19	3755	[DEBUG]	Executed store
2023-10-13	13:30:19	3755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863247','228')
2023-10-13	13:30:19	3755	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:19	3755	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:19	3755	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863247 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:19	3755	[DEBUG]	Store custom available field
2023-10-13	13:30:19	3755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863247,3,'',1)
2023-10-13	13:30:19	3755	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:19	3755	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:19	3755	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863247 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:19	3755	[DEBUG]	Store custom available field
2023-10-13	13:30:19	3755	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863247,6,'Unitaire',3)
2023-10-13	13:30:19	3755	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:19	3755	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:19	3755	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863246
2023-10-13	13:30:19	3755	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:19	3755	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863246\":[1863246,8,1,\"choisir la taille\"],\"1863247\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863246
2023-10-13	13:30:19	3755	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:19	3755	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863247
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:19	3756	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field taille
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:19	3756	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:19	3756	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:19	3756	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:19	3756	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:19	3756	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:19	3756	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:19	3756	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field published
2023-10-13	13:30:19	3756	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:19	3756	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field override
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:19	3756	[DEBUG]	Use field value for field slug
2023-10-13	13:30:19	3756	[DEBUG]	Process line 3756
2023-10-13	13:30:19	3756	[DEBUG]	Load a row
2023-10-13	13:30:19	3756	[DEBUG]	Processing item: A_7184_1
2023-10-13	13:30:19	3756	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:19	3756	[DEBUG]	Processing product tax
2023-10-13	13:30:19	3756	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:19	3756	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:19	3756	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:19	3756	[DEBUG]	Query for Product
2023-10-13	13:30:19	3756	[DEBUG]	Executed store
2023-10-13	13:30:19	3756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7184_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:19	3756	[DEBUG]	Check product language entry
2023-10-13	13:30:19	3756	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863248
2023-10-13	13:30:19	3756	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:19	3756	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7184_1' AND `virtuemart_product_id` != 1863248
2023-10-13	13:30:19	3756	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:19	3756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863248, 'A_7184_1')
2023-10-13	13:30:19	3756	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:19	3756	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sacoche-set-pack-n-pedal-large-shield-noir' AND `virtuemart_product_id` != 1863248
2023-10-13	13:30:19	3756	[DEBUG]	Query for ProductLang
2023-10-13	13:30:19	3756	[DEBUG]	Executed store
2023-10-13	13:30:19	3756	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='2x24 litres (48 litres)<br>- Bandulière incluse<br>- Suface réfléchissante, augmente la visibilité<br>- AVANT/ARRIÈRE - GAUCHE/DROITE<br>- Fixation pivotant / connexion magnétique<br>- Dimensions: 43.2x33.0x15.2cm<br>- Poids: 2000g (paire)<br>N° art fourn : 9730',`product_name`='Thule Sacoche-Set Pack&#39;n Pedal LARGE Shield&#34; / Noir&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-sacoche-set-pack-n-pedal-large-shield-noir' WHERE `virtuemart_product_id` = '1863248'
2023-10-13	13:30:19	3756	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34346__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:19	3756	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:19	3756	[DEBUG]	Process image file
2023-10-13	13:30:19	3756	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:19	3756	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:19	3756	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34346__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:19	3756	[DEBUG]	Full name target: bcprisme/34346__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:20	3756	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:20	3756	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34346__sacoche-set_thule_pack_n_pedal__large_shield_.jpg'
2023-10-13	13:30:20	3756	[DEBUG]	Query for Media
2023-10-13	13:30:20	3756	[DEBUG]	Executed store
2023-10-13	13:30:20	3756	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34346__sacoche-set_thule_pack_n_pedal__large_shield_.jpg',`file_url_thumb`='bcprisme/34346__sacoche-set_thule_pack_n_pedal__large_shield_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135596'
2023-10-13	13:30:20	3756	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:20	3756	[DEBUG]	Executed store
2023-10-13	13:30:20	3756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863248','135596','1')
2023-10-13	13:30:20	3756	[DEBUG]	Store product image relation
2023-10-13	13:30:20	3756	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:20	3756	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863248 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:20	3756	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:20	3756	[DEBUG]	Executed store
2023-10-13	13:30:20	3756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863248','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:20	3756	[DEBUG]	Checking manufacturer
2023-10-13	13:30:20	3756	[DEBUG]	Load a row
2023-10-13	13:30:20	3756	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:20	3756	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:20	3756	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:20	3756	[DEBUG]	Executed store
2023-10-13	13:30:20	3756	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:20	3756	[DEBUG]	Manufacturer exists
2023-10-13	13:30:20	3756	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:20	3756	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:20	3756	[DEBUG]	Executed store
2023-10-13	13:30:20	3756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863248','138')
2023-10-13	13:30:20	3756	[DEBUG]	Find the custom field ID
2023-10-13	13:30:20	3756	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:20	3756	[DEBUG]	No custom field ID found
2023-10-13	13:30:20	3756	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:20	3756	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:20	3756	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863248 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:20	3756	[DEBUG]	Store custom available field
2023-10-13	13:30:20	3756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863248,3,'0',1)
2023-10-13	13:30:20	3756	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:20	3756	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:20	3756	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863248 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:20	3756	[DEBUG]	Store custom available field
2023-10-13	13:30:20	3756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863248,6,'choisir la taille',3)
2023-10-13	13:30:20	3756	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:20	3756	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:20	3756	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:20	3756	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:20	3756	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863248 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:20	3756	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:20	3756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863248,8,1)
2023-10-13	13:30:20	3756	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:20	3756	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863248\":[1863248,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863248
2023-10-13	13:30:20	3756	[DEBUG]	Checking category
2023-10-13	13:30:20	3756	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:20	3756	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863248
2023-10-13	13:30:20	3756	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:20	3756	[DEBUG]	Executed store
2023-10-13	13:30:20	3756	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863248','7385')
2023-10-13	13:30:20	3756	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:20	3756	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863248 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:20	3756	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:20	3756	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863248
2023-10-13	13:30:20	3757	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:20	3757	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:20	3757	[DEBUG]	Use field value for field taille
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:20	3757	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:20	3757	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:20	3757	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:20	3757	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:20	3757	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:20	3757	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:20	3757	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:20	3757	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:20	3757	[DEBUG]	Use field value for field published
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:20	3757	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field override
2023-10-13	13:30:20	3757	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:20	3757	[DEBUG]	Use field value for field slug
2023-10-13	13:30:20	3757	[DEBUG]	Process line 3757
2023-10-13	13:30:20	3757	[DEBUG]	Load a row
2023-10-13	13:30:20	3757	[DEBUG]	Processing item: 1000000118155
2023-10-13	13:30:20	3757	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:20	3757	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:20	3757	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7184_1'
2023-10-13	13:30:20	3757	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:20	3757	[DEBUG]	Processing product tax
2023-10-13	13:30:20	3757	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:20	3757	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:20	3757	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:20	3757	[DEBUG]	Query for Product
2023-10-13	13:30:20	3757	[DEBUG]	Executed store
2023-10-13	13:30:20	3757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863248','1000000118155','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:20	3757	[DEBUG]	No parent found
2023-10-13	13:30:20	3757	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863248 AND customfield_value = 'stockable'
2023-10-13	13:30:20	3757	[DEBUG]	Check product language entry
2023-10-13	13:30:20	3757	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863249
2023-10-13	13:30:20	3757	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:20	3757	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000118155' AND `virtuemart_product_id` != 1863249
2023-10-13	13:30:20	3757	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:20	3757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863249, '1000000118155')
2023-10-13	13:30:20	3757	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:20	3757	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sacoche-set-pack-n-pedal-large-shield-noir-unitaire' AND `virtuemart_product_id` != 1863249
2023-10-13	13:30:20	3757	[DEBUG]	Query for ProductLang
2023-10-13	13:30:20	3757	[DEBUG]	Executed store
2023-10-13	13:30:20	3757	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Thule Sacoche-Set Pack&#39;n Pedal LARGE Shield&#34; / Noir (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-sacoche-set-pack-n-pedal-large-shield-noir-unitaire' WHERE `virtuemart_product_id` = '1863249'
2023-10-13	13:30:20	3757	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34346__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:20	3757	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:20	3757	[DEBUG]	Process image file
2023-10-13	13:30:20	3757	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:20	3757	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:20	3757	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34346__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:20	3757	[DEBUG]	Full name target: bcprisme/34346__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:21	3757	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:21	3757	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34346__sacoche-set_thule_pack_n_pedal__large_shield_.jpg'
2023-10-13	13:30:21	3757	[DEBUG]	Query for Media
2023-10-13	13:30:21	3757	[DEBUG]	Executed store
2023-10-13	13:30:21	3757	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34346__sacoche-set_thule_pack_n_pedal__large_shield_.jpg',`file_url_thumb`='bcprisme/34346__sacoche-set_thule_pack_n_pedal__large_shield_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135596'
2023-10-13	13:30:21	3757	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:21	3757	[DEBUG]	Executed store
2023-10-13	13:30:21	3757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863249','135596','1')
2023-10-13	13:30:21	3757	[DEBUG]	Store product image relation
2023-10-13	13:30:21	3757	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:21	3757	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863249 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:21	3757	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:21	3757	[DEBUG]	Executed store
2023-10-13	13:30:21	3757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863249','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:21	3757	[DEBUG]	Checking manufacturer
2023-10-13	13:30:21	3757	[DEBUG]	Load a row
2023-10-13	13:30:21	3757	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:21	3757	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:21	3757	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:21	3757	[DEBUG]	Executed store
2023-10-13	13:30:21	3757	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:21	3757	[DEBUG]	Manufacturer exists
2023-10-13	13:30:21	3757	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:21	3757	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:21	3757	[DEBUG]	Executed store
2023-10-13	13:30:21	3757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863249','138')
2023-10-13	13:30:21	3757	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:21	3757	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:21	3757	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863249 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:21	3757	[DEBUG]	Store custom available field
2023-10-13	13:30:21	3757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863249,3,'',1)
2023-10-13	13:30:21	3757	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:21	3757	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:21	3757	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863249 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:21	3757	[DEBUG]	Store custom available field
2023-10-13	13:30:21	3757	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863249,6,'Unitaire',3)
2023-10-13	13:30:21	3757	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:21	3757	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:21	3757	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863248
2023-10-13	13:30:21	3757	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:21	3757	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863248\":[1863248,8,1,\"choisir la taille\"],\"1863249\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863248
2023-10-13	13:30:21	3757	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:21	3757	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863249
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:21	3758	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field taille
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:21	3758	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:21	3758	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:21	3758	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:21	3758	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:21	3758	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:21	3758	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:21	3758	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field published
2023-10-13	13:30:21	3758	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:21	3758	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field override
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:21	3758	[DEBUG]	Use field value for field slug
2023-10-13	13:30:21	3758	[DEBUG]	Process line 3758
2023-10-13	13:30:21	3758	[DEBUG]	Load a row
2023-10-13	13:30:21	3758	[DEBUG]	Processing item: A_7184_22
2023-10-13	13:30:21	3758	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:21	3758	[DEBUG]	Processing product tax
2023-10-13	13:30:21	3758	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:21	3758	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:21	3758	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:21	3758	[DEBUG]	Query for Product
2023-10-13	13:30:21	3758	[DEBUG]	Executed store
2023-10-13	13:30:21	3758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7184_22','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:21	3758	[DEBUG]	Check product language entry
2023-10-13	13:30:21	3758	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863250
2023-10-13	13:30:21	3758	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:21	3758	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7184_22' AND `virtuemart_product_id` != 1863250
2023-10-13	13:30:21	3758	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:21	3758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863250, 'A_7184_22')
2023-10-13	13:30:21	3758	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:21	3758	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sacoche-set-pack-n-pedal-large-shield-bleu' AND `virtuemart_product_id` != 1863250
2023-10-13	13:30:21	3758	[DEBUG]	Query for ProductLang
2023-10-13	13:30:21	3758	[DEBUG]	Executed store
2023-10-13	13:30:21	3758	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='2x24 litres (48 litres)<br>- Bandulière incluse<br>- Suface réfléchissante, augmente la visibilité<br>- AVANT/ARRIÈRE - GAUCHE/DROITE<br>- Fixation pivotant / connexion magnétique<br>- Dimensions: 43.2x33.0x15.2cm<br>- Poids: 2000g (paire)<br>N° art fourn : 9730',`product_name`='Thule Sacoche-Set Pack&#39;n Pedal LARGE Shield&#34; / Bleu&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-sacoche-set-pack-n-pedal-large-shield-bleu' WHERE `virtuemart_product_id` = '1863250'
2023-10-13	13:30:21	3758	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34348__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:21	3758	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:21	3758	[DEBUG]	Process image file
2023-10-13	13:30:21	3758	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:21	3758	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:21	3758	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34348__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:21	3758	[DEBUG]	Full name target: bcprisme/34348__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:22	3758	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:22	3758	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34348__sacoche-set_thule_pack_n_pedal__large_shield_.jpg'
2023-10-13	13:30:22	3758	[DEBUG]	Query for Media
2023-10-13	13:30:22	3758	[DEBUG]	Executed store
2023-10-13	13:30:22	3758	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34348__sacoche-set_thule_pack_n_pedal__large_shield_.jpg',`file_url_thumb`='bcprisme/34348__sacoche-set_thule_pack_n_pedal__large_shield_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135598'
2023-10-13	13:30:22	3758	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:22	3758	[DEBUG]	Executed store
2023-10-13	13:30:22	3758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863250','135598','1')
2023-10-13	13:30:22	3758	[DEBUG]	Store product image relation
2023-10-13	13:30:22	3758	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:22	3758	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863250 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:22	3758	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:22	3758	[DEBUG]	Executed store
2023-10-13	13:30:22	3758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863250','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:22	3758	[DEBUG]	Checking manufacturer
2023-10-13	13:30:22	3758	[DEBUG]	Load a row
2023-10-13	13:30:22	3758	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:22	3758	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:22	3758	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:22	3758	[DEBUG]	Executed store
2023-10-13	13:30:22	3758	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:22	3758	[DEBUG]	Manufacturer exists
2023-10-13	13:30:22	3758	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:22	3758	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:22	3758	[DEBUG]	Executed store
2023-10-13	13:30:22	3758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863250','138')
2023-10-13	13:30:22	3758	[DEBUG]	Find the custom field ID
2023-10-13	13:30:22	3758	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:22	3758	[DEBUG]	No custom field ID found
2023-10-13	13:30:22	3758	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:22	3758	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:22	3758	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863250 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:22	3758	[DEBUG]	Store custom available field
2023-10-13	13:30:22	3758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863250,3,'0',1)
2023-10-13	13:30:22	3758	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:22	3758	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:22	3758	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863250 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:22	3758	[DEBUG]	Store custom available field
2023-10-13	13:30:22	3758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863250,6,'choisir la taille',3)
2023-10-13	13:30:22	3758	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:22	3758	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:22	3758	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:22	3758	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:22	3758	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863250 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:22	3758	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:22	3758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863250,8,1)
2023-10-13	13:30:22	3758	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:22	3758	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863250\":[1863250,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863250
2023-10-13	13:30:22	3758	[DEBUG]	Checking category
2023-10-13	13:30:22	3758	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:22	3758	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863250
2023-10-13	13:30:22	3758	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:22	3758	[DEBUG]	Executed store
2023-10-13	13:30:22	3758	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863250','7385')
2023-10-13	13:30:22	3758	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:22	3758	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863250 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:22	3758	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:22	3758	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863250
2023-10-13	13:30:22	3759	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:22	3759	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:22	3759	[DEBUG]	Use field value for field taille
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:22	3759	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:22	3759	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:22	3759	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:22	3759	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:22	3759	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:22	3759	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:22	3759	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:22	3759	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:22	3759	[DEBUG]	Use field value for field published
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:22	3759	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field override
2023-10-13	13:30:22	3759	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:22	3759	[DEBUG]	Use field value for field slug
2023-10-13	13:30:22	3759	[DEBUG]	Process line 3759
2023-10-13	13:30:22	3759	[DEBUG]	Load a row
2023-10-13	13:30:22	3759	[DEBUG]	Processing item: 085854246927
2023-10-13	13:30:22	3759	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:22	3759	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:22	3759	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7184_22'
2023-10-13	13:30:22	3759	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:22	3759	[DEBUG]	Processing product tax
2023-10-13	13:30:22	3759	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:22	3759	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:22	3759	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:22	3759	[DEBUG]	Query for Product
2023-10-13	13:30:22	3759	[DEBUG]	Executed store
2023-10-13	13:30:22	3759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863250','085854246927','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:22	3759	[DEBUG]	No parent found
2023-10-13	13:30:22	3759	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863250 AND customfield_value = 'stockable'
2023-10-13	13:30:22	3759	[DEBUG]	Check product language entry
2023-10-13	13:30:22	3759	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863251
2023-10-13	13:30:22	3759	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:22	3759	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '085854246927' AND `virtuemart_product_id` != 1863251
2023-10-13	13:30:22	3759	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:22	3759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863251, '085854246927')
2023-10-13	13:30:22	3759	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:22	3759	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sacoche-set-pack-n-pedal-large-shield-bleu-unitaire' AND `virtuemart_product_id` != 1863251
2023-10-13	13:30:22	3759	[DEBUG]	Query for ProductLang
2023-10-13	13:30:22	3759	[DEBUG]	Executed store
2023-10-13	13:30:22	3759	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Thule Sacoche-Set Pack&#39;n Pedal LARGE Shield&#34; / Bleu (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-sacoche-set-pack-n-pedal-large-shield-bleu-unitaire' WHERE `virtuemart_product_id` = '1863251'
2023-10-13	13:30:22	3759	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34348__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:22	3759	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:22	3759	[DEBUG]	Process image file
2023-10-13	13:30:22	3759	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:22	3759	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:22	3759	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34348__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:22	3759	[DEBUG]	Full name target: bcprisme/34348__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:23	3759	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:23	3759	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34348__sacoche-set_thule_pack_n_pedal__large_shield_.jpg'
2023-10-13	13:30:23	3759	[DEBUG]	Query for Media
2023-10-13	13:30:23	3759	[DEBUG]	Executed store
2023-10-13	13:30:23	3759	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34348__sacoche-set_thule_pack_n_pedal__large_shield_.jpg',`file_url_thumb`='bcprisme/34348__sacoche-set_thule_pack_n_pedal__large_shield_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135598'
2023-10-13	13:30:23	3759	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:23	3759	[DEBUG]	Executed store
2023-10-13	13:30:23	3759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863251','135598','1')
2023-10-13	13:30:23	3759	[DEBUG]	Store product image relation
2023-10-13	13:30:23	3759	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:23	3759	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863251 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:23	3759	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:23	3759	[DEBUG]	Executed store
2023-10-13	13:30:23	3759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863251','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:23	3759	[DEBUG]	Checking manufacturer
2023-10-13	13:30:23	3759	[DEBUG]	Load a row
2023-10-13	13:30:23	3759	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:23	3759	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:23	3759	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:23	3759	[DEBUG]	Executed store
2023-10-13	13:30:23	3759	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:23	3759	[DEBUG]	Manufacturer exists
2023-10-13	13:30:23	3759	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:23	3759	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:23	3759	[DEBUG]	Executed store
2023-10-13	13:30:23	3759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863251','138')
2023-10-13	13:30:23	3759	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:23	3759	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:23	3759	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863251 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:23	3759	[DEBUG]	Store custom available field
2023-10-13	13:30:23	3759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863251,3,'',1)
2023-10-13	13:30:23	3759	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:23	3759	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:23	3759	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863251 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:23	3759	[DEBUG]	Store custom available field
2023-10-13	13:30:23	3759	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863251,6,'Unitaire',3)
2023-10-13	13:30:23	3759	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:23	3759	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:23	3759	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863250
2023-10-13	13:30:23	3759	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:23	3759	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863250\":[1863250,8,1,\"choisir la taille\"],\"1863251\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863250
2023-10-13	13:30:23	3759	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:23	3759	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863251
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:23	3760	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field taille
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:23	3760	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:23	3760	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:23	3760	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:23	3760	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:23	3760	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:23	3760	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:23	3760	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field published
2023-10-13	13:30:23	3760	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:23	3760	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field override
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:23	3760	[DEBUG]	Use field value for field slug
2023-10-13	13:30:23	3760	[DEBUG]	Process line 3760
2023-10-13	13:30:23	3760	[DEBUG]	Load a row
2023-10-13	13:30:23	3760	[DEBUG]	Processing item: A_7184_65
2023-10-13	13:30:23	3760	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:23	3760	[DEBUG]	Processing product tax
2023-10-13	13:30:23	3760	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:23	3760	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:23	3760	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:23	3760	[DEBUG]	Query for Product
2023-10-13	13:30:23	3760	[DEBUG]	Executed store
2023-10-13	13:30:23	3760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7184_65','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:23	3760	[DEBUG]	Check product language entry
2023-10-13	13:30:23	3760	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863252
2023-10-13	13:30:23	3760	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:23	3760	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7184_65' AND `virtuemart_product_id` != 1863252
2023-10-13	13:30:23	3760	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:23	3760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863252, 'A_7184_65')
2023-10-13	13:30:23	3760	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:23	3760	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sacoche-set-pack-n-pedal-large-shield-jaune' AND `virtuemart_product_id` != 1863252
2023-10-13	13:30:23	3760	[DEBUG]	Query for ProductLang
2023-10-13	13:30:23	3760	[DEBUG]	Executed store
2023-10-13	13:30:23	3760	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='2x24 litres (48 litres)<br>- Bandulière incluse<br>- Suface réfléchissante, augmente la visibilité<br>- AVANT/ARRIÈRE - GAUCHE/DROITE<br>- Fixation pivotant / connexion magnétique<br>- Dimensions: 43.2x33.0x15.2cm<br>- Poids: 2000g (paire)<br>N° art fourn : 9730',`product_name`='Thule Sacoche-Set Pack&#39;n Pedal LARGE Shield&#34; / Jaune&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-sacoche-set-pack-n-pedal-large-shield-jaune' WHERE `virtuemart_product_id` = '1863252'
2023-10-13	13:30:23	3760	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34347__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:23	3760	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:23	3760	[DEBUG]	Process image file
2023-10-13	13:30:23	3760	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:23	3760	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:23	3760	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34347__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:23	3760	[DEBUG]	Full name target: bcprisme/34347__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:24	3760	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:24	3760	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34347__sacoche-set_thule_pack_n_pedal__large_shield_.jpg'
2023-10-13	13:30:24	3760	[DEBUG]	Query for Media
2023-10-13	13:30:24	3760	[DEBUG]	Executed store
2023-10-13	13:30:24	3760	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34347__sacoche-set_thule_pack_n_pedal__large_shield_.jpg',`file_url_thumb`='bcprisme/34347__sacoche-set_thule_pack_n_pedal__large_shield_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135600'
2023-10-13	13:30:24	3760	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:24	3760	[DEBUG]	Executed store
2023-10-13	13:30:24	3760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863252','135600','1')
2023-10-13	13:30:24	3760	[DEBUG]	Store product image relation
2023-10-13	13:30:24	3760	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:24	3760	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863252 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:24	3760	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:24	3760	[DEBUG]	Executed store
2023-10-13	13:30:24	3760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863252','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:24	3760	[DEBUG]	Checking manufacturer
2023-10-13	13:30:24	3760	[DEBUG]	Load a row
2023-10-13	13:30:24	3760	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:24	3760	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:24	3760	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:24	3760	[DEBUG]	Executed store
2023-10-13	13:30:24	3760	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:24	3760	[DEBUG]	Manufacturer exists
2023-10-13	13:30:24	3760	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:24	3760	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:24	3760	[DEBUG]	Executed store
2023-10-13	13:30:24	3760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863252','138')
2023-10-13	13:30:24	3760	[DEBUG]	Find the custom field ID
2023-10-13	13:30:24	3760	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:24	3760	[DEBUG]	No custom field ID found
2023-10-13	13:30:24	3760	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:24	3760	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:24	3760	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863252 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:24	3760	[DEBUG]	Store custom available field
2023-10-13	13:30:24	3760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863252,3,'0',1)
2023-10-13	13:30:24	3760	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:24	3760	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:24	3760	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863252 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:24	3760	[DEBUG]	Store custom available field
2023-10-13	13:30:24	3760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863252,6,'choisir la taille',3)
2023-10-13	13:30:24	3760	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:24	3760	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:24	3760	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:24	3760	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:24	3760	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863252 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:24	3760	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:24	3760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863252,8,1)
2023-10-13	13:30:24	3760	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:24	3760	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863252\":[1863252,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863252
2023-10-13	13:30:24	3760	[DEBUG]	Checking category
2023-10-13	13:30:24	3760	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:24	3760	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863252
2023-10-13	13:30:24	3760	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:24	3760	[DEBUG]	Executed store
2023-10-13	13:30:24	3760	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863252','7385')
2023-10-13	13:30:24	3760	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:24	3760	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863252 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:24	3760	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:24	3760	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863252
2023-10-13	13:30:24	3761	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:24	3761	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:24	3761	[DEBUG]	Use field value for field taille
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:24	3761	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:24	3761	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:24	3761	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:24	3761	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:24	3761	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:24	3761	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:24	3761	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:24	3761	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:24	3761	[DEBUG]	Use field value for field published
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:24	3761	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field override
2023-10-13	13:30:24	3761	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:24	3761	[DEBUG]	Use field value for field slug
2023-10-13	13:30:24	3761	[DEBUG]	Process line 3761
2023-10-13	13:30:24	3761	[DEBUG]	Load a row
2023-10-13	13:30:24	3761	[DEBUG]	Processing item: 085854246934
2023-10-13	13:30:24	3761	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:24	3761	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:24	3761	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7184_65'
2023-10-13	13:30:24	3761	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:24	3761	[DEBUG]	Processing product tax
2023-10-13	13:30:24	3761	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:24	3761	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:24	3761	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:24	3761	[DEBUG]	Query for Product
2023-10-13	13:30:24	3761	[DEBUG]	Executed store
2023-10-13	13:30:24	3761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863252','085854246934','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:24	3761	[DEBUG]	No parent found
2023-10-13	13:30:24	3761	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863252 AND customfield_value = 'stockable'
2023-10-13	13:30:24	3761	[DEBUG]	Check product language entry
2023-10-13	13:30:24	3761	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863253
2023-10-13	13:30:24	3761	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:24	3761	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '085854246934' AND `virtuemart_product_id` != 1863253
2023-10-13	13:30:24	3761	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:24	3761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863253, '085854246934')
2023-10-13	13:30:24	3761	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:24	3761	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'thule-sacoche-set-pack-n-pedal-large-shield-jaune-unitaire' AND `virtuemart_product_id` != 1863253
2023-10-13	13:30:24	3761	[DEBUG]	Query for ProductLang
2023-10-13	13:30:24	3761	[DEBUG]	Executed store
2023-10-13	13:30:24	3761	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Thule Sacoche-Set Pack&#39;n Pedal LARGE Shield&#34; / Jaune (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='thule-sacoche-set-pack-n-pedal-large-shield-jaune-unitaire' WHERE `virtuemart_product_id` = '1863253'
2023-10-13	13:30:24	3761	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34347__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:24	3761	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:24	3761	[DEBUG]	Process image file
2023-10-13	13:30:24	3761	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:24	3761	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:24	3761	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34347__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:24	3761	[DEBUG]	Full name target: bcprisme/34347__sacoche-set_thule_pack_n_pedal__large_shield_.jpg
2023-10-13	13:30:25	3761	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:25	3761	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34347__sacoche-set_thule_pack_n_pedal__large_shield_.jpg'
2023-10-13	13:30:25	3761	[DEBUG]	Query for Media
2023-10-13	13:30:25	3761	[DEBUG]	Executed store
2023-10-13	13:30:25	3761	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34347__sacoche-set_thule_pack_n_pedal__large_shield_.jpg',`file_url_thumb`='bcprisme/34347__sacoche-set_thule_pack_n_pedal__large_shield_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135600'
2023-10-13	13:30:25	3761	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:25	3761	[DEBUG]	Executed store
2023-10-13	13:30:25	3761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863253','135600','1')
2023-10-13	13:30:25	3761	[DEBUG]	Store product image relation
2023-10-13	13:30:25	3761	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:25	3761	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863253 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:25	3761	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:25	3761	[DEBUG]	Executed store
2023-10-13	13:30:25	3761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863253','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:25	3761	[DEBUG]	Checking manufacturer
2023-10-13	13:30:25	3761	[DEBUG]	Load a row
2023-10-13	13:30:25	3761	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:25	3761	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:25	3761	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:25	3761	[DEBUG]	Executed store
2023-10-13	13:30:25	3761	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732639503' WHERE `virtuemart_manufacturer_id` = '138'
2023-10-13	13:30:25	3761	[DEBUG]	Manufacturer exists
2023-10-13	13:30:25	3761	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 138
2023-10-13	13:30:25	3761	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:25	3761	[DEBUG]	Executed store
2023-10-13	13:30:25	3761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863253','138')
2023-10-13	13:30:25	3761	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:25	3761	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:25	3761	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863253 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:25	3761	[DEBUG]	Store custom available field
2023-10-13	13:30:25	3761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863253,3,'',1)
2023-10-13	13:30:25	3761	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:25	3761	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:25	3761	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863253 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:25	3761	[DEBUG]	Store custom available field
2023-10-13	13:30:25	3761	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863253,6,'Unitaire',3)
2023-10-13	13:30:25	3761	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:25	3761	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:25	3761	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863252
2023-10-13	13:30:25	3761	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:25	3761	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863252\":[1863252,8,1,\"choisir la taille\"],\"1863253\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863252
2023-10-13	13:30:25	3761	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:25	3761	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863253
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:25	3762	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field taille
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:25	3762	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:25	3762	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:25	3762	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:25	3762	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:25	3762	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:25	3762	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field published
2023-10-13	13:30:25	3762	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:25	3762	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field override
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:25	3762	[DEBUG]	Use field value for field slug
2023-10-13	13:30:25	3762	[DEBUG]	Process line 3762
2023-10-13	13:30:25	3762	[DEBUG]	Load a row
2023-10-13	13:30:25	3762	[DEBUG]	Processing item: A_7201_1
2023-10-13	13:30:25	3762	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:25	3762	[DEBUG]	Processing product tax
2023-10-13	13:30:25	3762	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:25	3762	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:25	3762	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:25	3762	[DEBUG]	Query for Product
2023-10-13	13:30:25	3762	[DEBUG]	Executed store
2023-10-13	13:30:25	3762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7201_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:25	3762	[DEBUG]	Check product language entry
2023-10-13	13:30:25	3762	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863254
2023-10-13	13:30:25	3762	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:25	3762	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7201_1' AND `virtuemart_product_id` != 1863254
2023-10-13	13:30:25	3762	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:25	3762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863254, 'A_7201_1')
2023-10-13	13:30:25	3762	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:25	3762	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'basil-panier-lateral-basil-cardiff-33x24x33cm-noir' AND `virtuemart_product_id` != 1863254
2023-10-13	13:30:25	3762	[DEBUG]	Query for ProductLang
2023-10-13	13:30:25	3762	[DEBUG]	Executed store
2023-10-13	13:30:25	3762	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Le Basil Cardiff est un panier en acier à maille serrée qui se monte sur le côté du porte-bagages à l\'aide de crochets. Il est amovible et se transporte facilement grâce à son anse. Sa maille en acier est recouverte de plastique. <br>N° art fourn : 48.119',`product_name`='BASIL Panier latéral Basil Cardiff 33x24x33cm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='basil-panier-lateral-basil-cardiff-33x24x33cm-noir' WHERE `virtuemart_product_id` = '1863254'
2023-10-13	13:30:25	3762	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34365_panier_lateral_basil_cardiff_33x24x33cm.jpg
2023-10-13	13:30:25	3762	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:25	3762	[DEBUG]	Process image file
2023-10-13	13:30:25	3762	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:25	3762	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:25	3762	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34365_panier_lateral_basil_cardiff_33x24x33cm.jpg
2023-10-13	13:30:25	3762	[DEBUG]	Full name target: bcprisme/34365_panier_lateral_basil_cardiff_33x24x33cm.jpg
2023-10-13	13:30:26	3762	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:26	3762	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34365_panier_lateral_basil_cardiff_33x24x33cm.jpg'
2023-10-13	13:30:26	3762	[DEBUG]	Query for Media
2023-10-13	13:30:26	3762	[DEBUG]	Executed store
2023-10-13	13:30:26	3762	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34365_panier_lateral_basil_cardiff_33x24x33cm.jpg',`file_url_thumb`='bcprisme/34365_panier_lateral_basil_cardiff_33x24x33cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '141502'
2023-10-13	13:30:26	3762	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:26	3762	[DEBUG]	Executed store
2023-10-13	13:30:26	3762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863254','141502','1')
2023-10-13	13:30:26	3762	[DEBUG]	Store product image relation
2023-10-13	13:30:26	3762	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:26	3762	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863254 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:26	3762	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:26	3762	[DEBUG]	Executed store
2023-10-13	13:30:26	3762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863254','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:26	3762	[DEBUG]	Checking manufacturer
2023-10-13	13:30:26	3762	[DEBUG]	Load a row
2023-10-13	13:30:26	3762	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:26	3762	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:26	3762	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:26	3762	[DEBUG]	Executed store
2023-10-13	13:30:26	3762	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='163',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='163' WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:26	3762	[DEBUG]	Manufacturer exists
2023-10-13	13:30:26	3762	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 228
2023-10-13	13:30:26	3762	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:26	3762	[DEBUG]	Executed store
2023-10-13	13:30:26	3762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863254','228')
2023-10-13	13:30:26	3762	[DEBUG]	Find the custom field ID
2023-10-13	13:30:26	3762	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:26	3762	[DEBUG]	No custom field ID found
2023-10-13	13:30:26	3762	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:26	3762	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:26	3762	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863254 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:26	3762	[DEBUG]	Store custom available field
2023-10-13	13:30:26	3762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863254,3,'0',1)
2023-10-13	13:30:26	3762	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:26	3762	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:26	3762	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863254 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:26	3762	[DEBUG]	Store custom available field
2023-10-13	13:30:26	3762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863254,6,'choisir la taille',3)
2023-10-13	13:30:26	3762	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:26	3762	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:26	3762	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:26	3762	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:26	3762	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863254 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:26	3762	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:26	3762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863254,8,1)
2023-10-13	13:30:26	3762	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:26	3762	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863254\":[1863254,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863254
2023-10-13	13:30:26	3762	[DEBUG]	Checking category
2023-10-13	13:30:26	3762	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:26	3762	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863254
2023-10-13	13:30:26	3762	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:26	3762	[DEBUG]	Executed store
2023-10-13	13:30:26	3762	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863254','7385')
2023-10-13	13:30:26	3762	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:26	3762	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863254 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:26	3762	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:26	3762	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863254
2023-10-13	13:30:26	3763	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:26	3763	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:26	3763	[DEBUG]	Use field value for field taille
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:26	3763	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:26	3763	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:26	3763	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:26	3763	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:26	3763	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:26	3763	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:26	3763	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:26	3763	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:26	3763	[DEBUG]	Use field value for field published
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:26	3763	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field override
2023-10-13	13:30:26	3763	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:26	3763	[DEBUG]	Use field value for field slug
2023-10-13	13:30:26	3763	[DEBUG]	Process line 3763
2023-10-13	13:30:26	3763	[DEBUG]	Load a row
2023-10-13	13:30:26	3763	[DEBUG]	Processing item: 8715019110573
2023-10-13	13:30:26	3763	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:26	3763	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:26	3763	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7201_1'
2023-10-13	13:30:26	3763	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:26	3763	[DEBUG]	Processing product tax
2023-10-13	13:30:26	3763	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:26	3763	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:26	3763	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:26	3763	[DEBUG]	Query for Product
2023-10-13	13:30:26	3763	[DEBUG]	Executed store
2023-10-13	13:30:26	3763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863254','8715019110573','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:26	3763	[DEBUG]	No parent found
2023-10-13	13:30:26	3763	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863254 AND customfield_value = 'stockable'
2023-10-13	13:30:26	3763	[DEBUG]	Check product language entry
2023-10-13	13:30:26	3763	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863255
2023-10-13	13:30:26	3763	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:26	3763	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8715019110573' AND `virtuemart_product_id` != 1863255
2023-10-13	13:30:26	3763	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:26	3763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863255, '8715019110573')
2023-10-13	13:30:26	3763	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:26	3763	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'basil-panier-lateral-basil-cardiff-33x24x33cm-noir-unitaire' AND `virtuemart_product_id` != 1863255
2023-10-13	13:30:26	3763	[DEBUG]	Query for ProductLang
2023-10-13	13:30:26	3763	[DEBUG]	Executed store
2023-10-13	13:30:26	3763	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BASIL Panier latéral Basil Cardiff 33x24x33cm / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='basil-panier-lateral-basil-cardiff-33x24x33cm-noir-unitaire' WHERE `virtuemart_product_id` = '1863255'
2023-10-13	13:30:26	3763	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34365_panier_lateral_basil_cardiff_33x24x33cm.jpg
2023-10-13	13:30:26	3763	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:26	3763	[DEBUG]	Process image file
2023-10-13	13:30:26	3763	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:26	3763	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:26	3763	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34365_panier_lateral_basil_cardiff_33x24x33cm.jpg
2023-10-13	13:30:26	3763	[DEBUG]	Full name target: bcprisme/34365_panier_lateral_basil_cardiff_33x24x33cm.jpg
2023-10-13	13:30:27	3763	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:27	3763	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34365_panier_lateral_basil_cardiff_33x24x33cm.jpg'
2023-10-13	13:30:27	3763	[DEBUG]	Query for Media
2023-10-13	13:30:27	3763	[DEBUG]	Executed store
2023-10-13	13:30:27	3763	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34365_panier_lateral_basil_cardiff_33x24x33cm.jpg',`file_url_thumb`='bcprisme/34365_panier_lateral_basil_cardiff_33x24x33cm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '141502'
2023-10-13	13:30:27	3763	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:27	3763	[DEBUG]	Executed store
2023-10-13	13:30:27	3763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863255','141502','1')
2023-10-13	13:30:27	3763	[DEBUG]	Store product image relation
2023-10-13	13:30:27	3763	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:27	3763	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863255 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:27	3763	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:27	3763	[DEBUG]	Executed store
2023-10-13	13:30:27	3763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863255','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:27	3763	[DEBUG]	Checking manufacturer
2023-10-13	13:30:27	3763	[DEBUG]	Load a row
2023-10-13	13:30:27	3763	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:27	3763	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:27	3763	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:27	3763	[DEBUG]	Executed store
2023-10-13	13:30:27	3763	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='163',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='163' WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:27	3763	[DEBUG]	Manufacturer exists
2023-10-13	13:30:27	3763	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 228
2023-10-13	13:30:27	3763	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:27	3763	[DEBUG]	Executed store
2023-10-13	13:30:27	3763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863255','228')
2023-10-13	13:30:27	3763	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:27	3763	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:27	3763	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863255 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:27	3763	[DEBUG]	Store custom available field
2023-10-13	13:30:27	3763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863255,3,'',1)
2023-10-13	13:30:27	3763	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:27	3763	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:27	3763	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863255 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:27	3763	[DEBUG]	Store custom available field
2023-10-13	13:30:27	3763	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863255,6,'Unitaire',3)
2023-10-13	13:30:27	3763	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:27	3763	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:27	3763	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863254
2023-10-13	13:30:27	3763	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:27	3763	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863254\":[1863254,8,1,\"choisir la taille\"],\"1863255\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863254
2023-10-13	13:30:27	3763	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:27	3763	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863255
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:27	3764	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field taille
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:27	3764	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:27	3764	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:27	3764	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:27	3764	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:27	3764	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:27	3764	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:27	3764	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field published
2023-10-13	13:30:27	3764	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:27	3764	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field override
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:27	3764	[DEBUG]	Use field value for field slug
2023-10-13	13:30:27	3764	[DEBUG]	Process line 3764
2023-10-13	13:30:27	3764	[DEBUG]	Load a row
2023-10-13	13:30:27	3764	[DEBUG]	Processing item: A_7292_1
2023-10-13	13:30:27	3764	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:27	3764	[DEBUG]	Processing product tax
2023-10-13	13:30:27	3764	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:27	3764	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:27	3764	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:27	3764	[DEBUG]	Query for Product
2023-10-13	13:30:27	3764	[DEBUG]	Executed store
2023-10-13	13:30:27	3764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7292_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:27	3764	[DEBUG]	Check product language entry
2023-10-13	13:30:27	3764	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863256
2023-10-13	13:30:27	3764	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:27	3764	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7292_1' AND `virtuemart_product_id` != 1863256
2023-10-13	13:30:27	3764	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:27	3764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863256, 'A_7292_1')
2023-10-13	13:30:27	3764	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:27	3764	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-oval-plus-avec-plaque-18l-noir' AND `virtuemart_product_id` != 1863256
2023-10-13	13:30:27	3764	[DEBUG]	Query for ProductLang
2023-10-13	13:30:27	3764	[DEBUG]	Executed store
2023-10-13	13:30:27	3764	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Adaptateur requis pour utilisation: 715\'350 ou dérivés (guidon) / 715\'402 (tige de selle) / 715\'340 (potence)<br>Compris dans la livraison: 1x 715\'365<br><br>- Panier en mailles métalliques de forme ovale avec un volume spécialement grand<br>- Son anse confortable peut se bloquer à 90°<br>- La plaque de fixation permet 3 hauteurs différentes de panier<br><br>Dimensions:    36 x 27 x 25cm<br>Poids:    1250g<br>Couleur:    Noir<br>Volume:    18L<br>Charge utile:    7Kg<br><br>N° art fourn : 715313',`product_name`='Klickfix Panier de guidon OVAL PLUS avec plaque 18L / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-oval-plus-avec-plaque-18l-noir' WHERE `virtuemart_product_id` = '1863256'
2023-10-13	13:30:27	3764	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34496_panier_klickfix_oval_plus_avec_plaque_18l_sans_support_36x27x25cm.jpg has not been found.
2023-10-13	13:30:27	3764	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:27	3764	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863256 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:27	3764	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:27	3764	[DEBUG]	Executed store
2023-10-13	13:30:27	3764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863256','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:27	3764	[DEBUG]	Checking manufacturer
2023-10-13	13:30:27	3764	[DEBUG]	Load a row
2023-10-13	13:30:27	3764	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:27	3764	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:27	3764	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:27	3764	[DEBUG]	Executed store
2023-10-13	13:30:27	3764	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:27	3764	[DEBUG]	Manufacturer exists
2023-10-13	13:30:27	3764	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:30:27	3764	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:27	3764	[DEBUG]	Executed store
2023-10-13	13:30:27	3764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863256','200')
2023-10-13	13:30:27	3764	[DEBUG]	Find the custom field ID
2023-10-13	13:30:27	3764	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:27	3764	[DEBUG]	No custom field ID found
2023-10-13	13:30:27	3764	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:27	3764	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:27	3764	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863256 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:27	3764	[DEBUG]	Store custom available field
2023-10-13	13:30:27	3764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863256,3,'0',1)
2023-10-13	13:30:27	3764	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:27	3764	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:27	3764	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863256 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:27	3764	[DEBUG]	Store custom available field
2023-10-13	13:30:27	3764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863256,6,'choisir la taille',3)
2023-10-13	13:30:27	3764	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:27	3764	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:27	3764	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:27	3764	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:27	3764	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863256 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:27	3764	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:27	3764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863256,8,1)
2023-10-13	13:30:27	3764	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:27	3764	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863256\":[1863256,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863256
2023-10-13	13:30:27	3764	[DEBUG]	Checking category
2023-10-13	13:30:27	3764	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:27	3764	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863256
2023-10-13	13:30:27	3764	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:27	3764	[DEBUG]	Executed store
2023-10-13	13:30:27	3764	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863256','7385')
2023-10-13	13:30:27	3764	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:27	3764	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863256 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:27	3764	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:27	3764	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863256
2023-10-13	13:30:27	3765	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:27	3765	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:27	3765	[DEBUG]	Use field value for field taille
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:27	3765	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:27	3765	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:27	3765	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:27	3765	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:27	3765	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:27	3765	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:27	3765	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:27	3765	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:27	3765	[DEBUG]	Use field value for field published
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:27	3765	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field override
2023-10-13	13:30:27	3765	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:27	3765	[DEBUG]	Use field value for field slug
2023-10-13	13:30:27	3765	[DEBUG]	Process line 3765
2023-10-13	13:30:27	3765	[DEBUG]	Load a row
2023-10-13	13:30:27	3765	[DEBUG]	Processing item: 4018861003593
2023-10-13	13:30:27	3765	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:27	3765	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:27	3765	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7292_1'
2023-10-13	13:30:27	3765	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:27	3765	[DEBUG]	Processing product tax
2023-10-13	13:30:27	3765	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:27	3765	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:27	3765	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:27	3765	[DEBUG]	Query for Product
2023-10-13	13:30:27	3765	[DEBUG]	Executed store
2023-10-13	13:30:27	3765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863256','4018861003593','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:27	3765	[DEBUG]	No parent found
2023-10-13	13:30:27	3765	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863256 AND customfield_value = 'stockable'
2023-10-13	13:30:27	3765	[DEBUG]	Check product language entry
2023-10-13	13:30:27	3765	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863257
2023-10-13	13:30:27	3765	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:27	3765	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4018861003593' AND `virtuemart_product_id` != 1863257
2023-10-13	13:30:27	3765	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:27	3765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863257, '4018861003593')
2023-10-13	13:30:27	3765	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:27	3765	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-oval-plus-avec-plaque-18l-noir-unitaire' AND `virtuemart_product_id` != 1863257
2023-10-13	13:30:27	3765	[DEBUG]	Query for ProductLang
2023-10-13	13:30:27	3765	[DEBUG]	Executed store
2023-10-13	13:30:27	3765	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix Panier de guidon OVAL PLUS avec plaque 18L / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-oval-plus-avec-plaque-18l-noir-unitaire' WHERE `virtuemart_product_id` = '1863257'
2023-10-13	13:30:27	3765	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34496_panier_klickfix_oval_plus_avec_plaque_18l_sans_support_36x27x25cm.jpg has not been found.
2023-10-13	13:30:27	3765	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:27	3765	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863257 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:27	3765	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:27	3765	[DEBUG]	Executed store
2023-10-13	13:30:27	3765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863257','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:27	3765	[DEBUG]	Checking manufacturer
2023-10-13	13:30:27	3765	[DEBUG]	Load a row
2023-10-13	13:30:27	3765	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:27	3765	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:27	3765	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:27	3765	[DEBUG]	Executed store
2023-10-13	13:30:27	3765	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:27	3765	[DEBUG]	Manufacturer exists
2023-10-13	13:30:27	3765	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:30:27	3765	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:27	3765	[DEBUG]	Executed store
2023-10-13	13:30:27	3765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863257','200')
2023-10-13	13:30:27	3765	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:27	3765	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:27	3765	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863257 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:27	3765	[DEBUG]	Store custom available field
2023-10-13	13:30:27	3765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863257,3,'',1)
2023-10-13	13:30:27	3765	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:27	3765	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:27	3765	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863257 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:27	3765	[DEBUG]	Store custom available field
2023-10-13	13:30:27	3765	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863257,6,'Unitaire',3)
2023-10-13	13:30:27	3765	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:27	3765	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:27	3765	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863256
2023-10-13	13:30:27	3765	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:27	3765	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863256\":[1863256,8,1,\"choisir la taille\"],\"1863257\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863256
2023-10-13	13:30:27	3765	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:27	3765	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863257
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:27	3766	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field taille
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:27	3766	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:27	3766	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:27	3766	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:27	3766	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:27	3766	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:27	3766	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:27	3766	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field published
2023-10-13	13:30:27	3766	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:27	3766	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field override
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:27	3766	[DEBUG]	Use field value for field slug
2023-10-13	13:30:27	3766	[DEBUG]	Process line 3766
2023-10-13	13:30:27	3766	[DEBUG]	Load a row
2023-10-13	13:30:27	3766	[DEBUG]	Processing item: A_7293_1
2023-10-13	13:30:27	3766	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:27	3766	[DEBUG]	Processing product tax
2023-10-13	13:30:27	3766	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:27	3766	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:27	3766	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:27	3766	[DEBUG]	Query for Product
2023-10-13	13:30:27	3766	[DEBUG]	Executed store
2023-10-13	13:30:27	3766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7293_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:27	3766	[DEBUG]	Check product language entry
2023-10-13	13:30:27	3766	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863258
2023-10-13	13:30:27	3766	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:27	3766	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7293_1' AND `virtuemart_product_id` != 1863258
2023-10-13	13:30:27	3766	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:27	3766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863258, 'A_7293_1')
2023-10-13	13:30:27	3766	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:27	3766	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-uniplus-noir-avec-plaque-18l-sans-support35x26x27-noir' AND `virtuemart_product_id` != 1863258
2023-10-13	13:30:27	3766	[DEBUG]	Query for ProductLang
2023-10-13	13:30:27	3766	[DEBUG]	Executed store
2023-10-13	13:30:27	3766	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 715435',`product_name`='Klickfix Panier de guidon UNIPLUS noir avec plaque 18L sans support35x26x27 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-uniplus-noir-avec-plaque-18l-sans-support35x26x27-noir' WHERE `virtuemart_product_id` = '1863258'
2023-10-13	13:30:27	3766	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34497_panier_klickfix_uni_plus_noir_avec_plaque_18l_sans_support35x26x27.jpg has not been found.
2023-10-13	13:30:27	3766	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:27	3766	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863258 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:27	3766	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:27	3766	[DEBUG]	Executed store
2023-10-13	13:30:27	3766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863258','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:27	3766	[DEBUG]	Checking manufacturer
2023-10-13	13:30:27	3766	[DEBUG]	Load a row
2023-10-13	13:30:27	3766	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:27	3766	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:27	3766	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:27	3766	[DEBUG]	Executed store
2023-10-13	13:30:27	3766	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:27	3766	[DEBUG]	Manufacturer exists
2023-10-13	13:30:27	3766	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:30:27	3766	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:27	3766	[DEBUG]	Executed store
2023-10-13	13:30:27	3766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863258','200')
2023-10-13	13:30:27	3766	[DEBUG]	Find the custom field ID
2023-10-13	13:30:27	3766	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:27	3766	[DEBUG]	No custom field ID found
2023-10-13	13:30:27	3766	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:27	3766	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:27	3766	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863258 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:27	3766	[DEBUG]	Store custom available field
2023-10-13	13:30:27	3766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863258,3,'0',1)
2023-10-13	13:30:27	3766	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:27	3766	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:27	3766	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863258 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:27	3766	[DEBUG]	Store custom available field
2023-10-13	13:30:27	3766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863258,6,'choisir la taille',3)
2023-10-13	13:30:27	3766	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:27	3766	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:27	3766	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:27	3766	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:27	3766	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863258 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:27	3766	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:27	3766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863258,8,1)
2023-10-13	13:30:27	3766	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:27	3766	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863258\":[1863258,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863258
2023-10-13	13:30:27	3766	[DEBUG]	Checking category
2023-10-13	13:30:27	3766	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:27	3766	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863258
2023-10-13	13:30:27	3766	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:27	3766	[DEBUG]	Executed store
2023-10-13	13:30:27	3766	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863258','7385')
2023-10-13	13:30:27	3766	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:27	3766	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863258 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:27	3766	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:27	3766	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863258
2023-10-13	13:30:27	3767	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:27	3767	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:27	3767	[DEBUG]	Use field value for field taille
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:27	3767	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:27	3767	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:27	3767	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:27	3767	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:27	3767	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:27	3767	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:27	3767	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:27	3767	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:27	3767	[DEBUG]	Use field value for field published
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:27	3767	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field override
2023-10-13	13:30:27	3767	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:27	3767	[DEBUG]	Use field value for field slug
2023-10-13	13:30:27	3767	[DEBUG]	Process line 3767
2023-10-13	13:30:27	3767	[DEBUG]	Load a row
2023-10-13	13:30:27	3767	[DEBUG]	Processing item: 4030572102495
2023-10-13	13:30:27	3767	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:27	3767	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:27	3767	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7293_1'
2023-10-13	13:30:27	3767	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:27	3767	[DEBUG]	Processing product tax
2023-10-13	13:30:27	3767	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:27	3767	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:27	3767	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:27	3767	[DEBUG]	Query for Product
2023-10-13	13:30:27	3767	[DEBUG]	Executed store
2023-10-13	13:30:27	3767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863258','4030572102495','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:27	3767	[DEBUG]	No parent found
2023-10-13	13:30:27	3767	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863258 AND customfield_value = 'stockable'
2023-10-13	13:30:27	3767	[DEBUG]	Check product language entry
2023-10-13	13:30:27	3767	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863259
2023-10-13	13:30:27	3767	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:27	3767	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572102495' AND `virtuemart_product_id` != 1863259
2023-10-13	13:30:27	3767	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:27	3767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863259, '4030572102495')
2023-10-13	13:30:27	3767	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:27	3767	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-uniplus-noir-avec-plaque-18l-sans-support35x26x27-noir-unitaire' AND `virtuemart_product_id` != 1863259
2023-10-13	13:30:27	3767	[DEBUG]	Query for ProductLang
2023-10-13	13:30:27	3767	[DEBUG]	Executed store
2023-10-13	13:30:27	3767	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix Panier de guidon UNIPLUS noir avec plaque 18L sans support35x26x27 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-uniplus-noir-avec-plaque-18l-sans-support35x26x27-noir-unitaire' WHERE `virtuemart_product_id` = '1863259'
2023-10-13	13:30:27	3767	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34497_panier_klickfix_uni_plus_noir_avec_plaque_18l_sans_support35x26x27.jpg has not been found.
2023-10-13	13:30:27	3767	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:27	3767	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863259 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:27	3767	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:27	3767	[DEBUG]	Executed store
2023-10-13	13:30:27	3767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863259','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:27	3767	[DEBUG]	Checking manufacturer
2023-10-13	13:30:27	3767	[DEBUG]	Load a row
2023-10-13	13:30:27	3767	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:27	3767	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:27	3767	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:27	3767	[DEBUG]	Executed store
2023-10-13	13:30:27	3767	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:30:27	3767	[DEBUG]	Manufacturer exists
2023-10-13	13:30:27	3767	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:30:27	3767	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:27	3767	[DEBUG]	Executed store
2023-10-13	13:30:27	3767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863259','200')
2023-10-13	13:30:27	3767	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:27	3767	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:27	3767	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863259 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:27	3767	[DEBUG]	Store custom available field
2023-10-13	13:30:27	3767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863259,3,'',1)
2023-10-13	13:30:27	3767	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:27	3767	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:27	3767	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863259 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:27	3767	[DEBUG]	Store custom available field
2023-10-13	13:30:27	3767	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863259,6,'Unitaire',3)
2023-10-13	13:30:27	3767	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:27	3767	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:27	3767	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863258
2023-10-13	13:30:27	3767	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:27	3767	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863258\":[1863258,8,1,\"choisir la taille\"],\"1863259\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863258
2023-10-13	13:30:27	3767	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:27	3767	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863259
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:27	3768	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field taille
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:27	3768	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:27	3768	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:27	3768	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:27	3768	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:27	3768	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:27	3768	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field published
2023-10-13	13:30:27	3768	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:27	3768	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field override
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:27	3768	[DEBUG]	Use field value for field slug
2023-10-13	13:30:27	3768	[DEBUG]	Process line 3768
2023-10-13	13:30:28	3768	[DEBUG]	Load a row
2023-10-13	13:30:28	3768	[DEBUG]	Processing item: A_7566_1
2023-10-13	13:30:28	3768	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:28	3768	[DEBUG]	Processing product tax
2023-10-13	13:30:28	3768	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:28	3768	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:28	3768	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:28	3768	[DEBUG]	Query for Product
2023-10-13	13:30:28	3768	[DEBUG]	Executed store
2023-10-13	13:30:28	3768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7566_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:28	3768	[DEBUG]	Check product language entry
2023-10-13	13:30:28	3768	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863260
2023-10-13	13:30:28	3768	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:28	3768	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7566_1' AND `virtuemart_product_id` != 1863260
2023-10-13	13:30:28	3768	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:28	3768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863260, 'A_7566_1')
2023-10-13	13:30:28	3768	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:28	3768	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'racktime-sacoche-racktime-vida-31-5-x-37-5-x-45-cm-24-5-l-646-gr-inclus-snap-it-noir' AND `virtuemart_product_id` != 1863260
2023-10-13	13:30:28	3768	[DEBUG]	Query for ProductLang
2023-10-13	13:30:28	3768	[DEBUG]	Executed store
2023-10-13	13:30:28	3768	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 260.006.005',`product_name`='Racktime Sacoche Racktime Vida, 31.5 x 37.5 x 45 cm, 24.5 l, 646 gr. inclus Snap-it / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='racktime-sacoche-racktime-vida-31-5-x-37-5-x-45-cm-24-5-l-646-gr-inclus-snap-it-noir' WHERE `virtuemart_product_id` = '1863260'
2023-10-13	13:30:28	3768	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34982_sacoche_racktime_vida,_31_5_x_37_5_x_45_cm,_24_5_l,_646_gr__inclus_snap-it.jpg
2023-10-13	13:30:28	3768	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:28	3768	[DEBUG]	Process image file
2023-10-13	13:30:28	3768	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:28	3768	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:28	3768	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34982_sacoche_racktime_vida,_31_5_x_37_5_x_45_cm,_24_5_l,_646_gr__inclus_snap-it.jpg
2023-10-13	13:30:28	3768	[DEBUG]	Full name target: bcprisme/34982_sacoche_racktime_vida,_31_5_x_37_5_x_45_cm,_24_5_l,_646_gr__inclus_snap-it.jpg
2023-10-13	13:30:29	3768	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:29	3768	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34982_sacoche_racktime_vida,_31_5_x_37_5_x_45_cm,_24_5_l,_646_gr__inclus_snap-it.jpg'
2023-10-13	13:30:29	3768	[DEBUG]	Query for Media
2023-10-13	13:30:29	3768	[DEBUG]	Executed store
2023-10-13	13:30:29	3768	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34982_sacoche_racktime_vida,_31_5_x_37_5_x_45_cm,_24_5_l,_646_gr__inclus_snap-it.jpg',`file_url_thumb`='bcprisme/34982_sacoche_racktime_vida,_31_5_x_37_5_x_45_cm,_24_5_l,_646_gr__inclus_snap-it.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '318406'
2023-10-13	13:30:29	3768	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:29	3768	[DEBUG]	Executed store
2023-10-13	13:30:29	3768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863260','318406','1')
2023-10-13	13:30:29	3768	[DEBUG]	Store product image relation
2023-10-13	13:30:29	3768	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:29	3768	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863260 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:29	3768	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:29	3768	[DEBUG]	Executed store
2023-10-13	13:30:29	3768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863260','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:29	3768	[DEBUG]	Checking manufacturer
2023-10-13	13:30:29	3768	[DEBUG]	Load a row
2023-10-13	13:30:29	3768	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:29	3768	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:29	3768	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:29	3768	[DEBUG]	Executed store
2023-10-13	13:30:29	3768	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331160104302' WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:29	3768	[DEBUG]	Manufacturer exists
2023-10-13	13:30:29	3768	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 184
2023-10-13	13:30:29	3768	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:29	3768	[DEBUG]	Executed store
2023-10-13	13:30:29	3768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863260','184')
2023-10-13	13:30:29	3768	[DEBUG]	Find the custom field ID
2023-10-13	13:30:29	3768	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:29	3768	[DEBUG]	No custom field ID found
2023-10-13	13:30:29	3768	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:29	3768	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:29	3768	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863260 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:29	3768	[DEBUG]	Store custom available field
2023-10-13	13:30:29	3768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863260,3,'0',1)
2023-10-13	13:30:29	3768	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:29	3768	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:29	3768	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863260 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:29	3768	[DEBUG]	Store custom available field
2023-10-13	13:30:29	3768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863260,6,'choisir la taille',3)
2023-10-13	13:30:29	3768	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:29	3768	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:29	3768	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:29	3768	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:29	3768	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863260 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:29	3768	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:29	3768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863260,8,1)
2023-10-13	13:30:29	3768	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:29	3768	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863260\":[1863260,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863260
2023-10-13	13:30:29	3768	[DEBUG]	Checking category
2023-10-13	13:30:29	3768	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:29	3768	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863260
2023-10-13	13:30:29	3768	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:29	3768	[DEBUG]	Executed store
2023-10-13	13:30:29	3768	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863260','7385')
2023-10-13	13:30:29	3768	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:29	3768	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863260 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:29	3768	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:29	3768	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863260
2023-10-13	13:30:29	3769	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:29	3769	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:29	3769	[DEBUG]	Use field value for field taille
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:29	3769	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:29	3769	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:29	3769	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:29	3769	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:29	3769	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:29	3769	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:29	3769	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:29	3769	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:29	3769	[DEBUG]	Use field value for field published
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:29	3769	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field override
2023-10-13	13:30:29	3769	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:29	3769	[DEBUG]	Use field value for field slug
2023-10-13	13:30:29	3769	[DEBUG]	Process line 3769
2023-10-13	13:30:29	3769	[DEBUG]	Load a row
2023-10-13	13:30:29	3769	[DEBUG]	Processing item: 4048174829030
2023-10-13	13:30:29	3769	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:29	3769	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:29	3769	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7566_1'
2023-10-13	13:30:29	3769	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:29	3769	[DEBUG]	Processing product tax
2023-10-13	13:30:29	3769	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:29	3769	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:29	3769	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:29	3769	[DEBUG]	Query for Product
2023-10-13	13:30:29	3769	[DEBUG]	Executed store
2023-10-13	13:30:29	3769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863260','4048174829030','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:29	3769	[DEBUG]	No parent found
2023-10-13	13:30:29	3769	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863260 AND customfield_value = 'stockable'
2023-10-13	13:30:29	3769	[DEBUG]	Check product language entry
2023-10-13	13:30:29	3769	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863261
2023-10-13	13:30:29	3769	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:29	3769	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4048174829030' AND `virtuemart_product_id` != 1863261
2023-10-13	13:30:29	3769	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:29	3769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863261, '4048174829030')
2023-10-13	13:30:29	3769	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:29	3769	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'racktime-sacoche-racktime-vida-31-5-x-37-5-x-45-cm-24-5-l-646-gr-inclus-snap-it-noir-unitaire' AND `virtuemart_product_id` != 1863261
2023-10-13	13:30:29	3769	[DEBUG]	Query for ProductLang
2023-10-13	13:30:29	3769	[DEBUG]	Executed store
2023-10-13	13:30:29	3769	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Racktime Sacoche Racktime Vida, 31.5 x 37.5 x 45 cm, 24.5 l, 646 gr. inclus Snap-it / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='racktime-sacoche-racktime-vida-31-5-x-37-5-x-45-cm-24-5-l-646-gr-inclus-snap-it-noir-unitaire' WHERE `virtuemart_product_id` = '1863261'
2023-10-13	13:30:29	3769	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34982_sacoche_racktime_vida,_31_5_x_37_5_x_45_cm,_24_5_l,_646_gr__inclus_snap-it.jpg
2023-10-13	13:30:29	3769	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:29	3769	[DEBUG]	Process image file
2023-10-13	13:30:29	3769	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:29	3769	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:29	3769	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34982_sacoche_racktime_vida,_31_5_x_37_5_x_45_cm,_24_5_l,_646_gr__inclus_snap-it.jpg
2023-10-13	13:30:29	3769	[DEBUG]	Full name target: bcprisme/34982_sacoche_racktime_vida,_31_5_x_37_5_x_45_cm,_24_5_l,_646_gr__inclus_snap-it.jpg
2023-10-13	13:30:30	3769	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:30	3769	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34982_sacoche_racktime_vida,_31_5_x_37_5_x_45_cm,_24_5_l,_646_gr__inclus_snap-it.jpg'
2023-10-13	13:30:30	3769	[DEBUG]	Query for Media
2023-10-13	13:30:30	3769	[DEBUG]	Executed store
2023-10-13	13:30:30	3769	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34982_sacoche_racktime_vida,_31_5_x_37_5_x_45_cm,_24_5_l,_646_gr__inclus_snap-it.jpg',`file_url_thumb`='bcprisme/34982_sacoche_racktime_vida,_31_5_x_37_5_x_45_cm,_24_5_l,_646_gr__inclus_snap-it.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '318406'
2023-10-13	13:30:30	3769	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:30	3769	[DEBUG]	Executed store
2023-10-13	13:30:30	3769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863261','318406','1')
2023-10-13	13:30:30	3769	[DEBUG]	Store product image relation
2023-10-13	13:30:30	3769	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:30	3769	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863261 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:30	3769	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:30	3769	[DEBUG]	Executed store
2023-10-13	13:30:30	3769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863261','0','78.8300835654596','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:30	3769	[DEBUG]	Checking manufacturer
2023-10-13	13:30:30	3769	[DEBUG]	Load a row
2023-10-13	13:30:30	3769	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:30	3769	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:30	3769	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:30	3769	[DEBUG]	Executed store
2023-10-13	13:30:30	3769	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331160104302' WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:30	3769	[DEBUG]	Manufacturer exists
2023-10-13	13:30:30	3769	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 184
2023-10-13	13:30:30	3769	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:30	3769	[DEBUG]	Executed store
2023-10-13	13:30:30	3769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863261','184')
2023-10-13	13:30:30	3769	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:30	3769	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:30	3769	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863261 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:30	3769	[DEBUG]	Store custom available field
2023-10-13	13:30:30	3769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863261,3,'',1)
2023-10-13	13:30:30	3769	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:30	3769	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:30	3769	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863261 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:30	3769	[DEBUG]	Store custom available field
2023-10-13	13:30:30	3769	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863261,6,'Unitaire',3)
2023-10-13	13:30:30	3769	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:30	3769	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:30	3769	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863260
2023-10-13	13:30:30	3769	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:30	3769	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863260\":[1863260,8,1,\"choisir la taille\"],\"1863261\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863260
2023-10-13	13:30:30	3769	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:30	3769	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863261
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:30	3770	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field taille
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:30	3770	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:30	3770	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:30	3770	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:30	3770	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:30	3770	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:30	3770	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:30	3770	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field published
2023-10-13	13:30:30	3770	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:30	3770	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field override
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:30	3770	[DEBUG]	Use field value for field slug
2023-10-13	13:30:30	3770	[DEBUG]	Process line 3770
2023-10-13	13:30:30	3770	[DEBUG]	Load a row
2023-10-13	13:30:30	3770	[DEBUG]	Processing item: A_7568_521
2023-10-13	13:30:30	3770	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:30	3770	[DEBUG]	Processing product tax
2023-10-13	13:30:30	3770	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:30	3770	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:30	3770	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:30	3770	[DEBUG]	Query for Product
2023-10-13	13:30:30	3770	[DEBUG]	Executed store
2023-10-13	13:30:30	3770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7568_521','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:30	3770	[DEBUG]	Check product language entry
2023-10-13	13:30:30	3770	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863262
2023-10-13	13:30:30	3770	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:30	3770	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7568_521' AND `virtuemart_product_id` != 1863262
2023-10-13	13:30:30	3770	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:30	3770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863262, 'A_7568_521')
2023-10-13	13:30:30	3770	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:30	3770	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'racktime-sacoche-racktime-talis-8-0l-noir-carbone-gris-pierre' AND `virtuemart_product_id` != 1863262
2023-10-13	13:30:30	3770	[DEBUG]	Query for ProductLang
2023-10-13	13:30:30	3770	[DEBUG]	Executed store
2023-10-13	13:30:30	3770	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='8.0L / avec SNAPit-Adapteur<br>- Diverses fermetures éclaires<br>et poches filet<br>- Avec bandes réfléchissant<br>- Incl.protection contre la pluie<br>- Dimensions: 23 x 18 x 37 cm<br>- Poids: ca. 764 g<br>N° art fourn : 491453',`product_name`='RACKTIME Sacoche Racktime TALIS 8.0L / Noir Carbone/Gris Pierre',`metadesc`='',`metakey`='',`customtitle`='',`slug`='racktime-sacoche-racktime-talis-8-0l-noir-carbone-gris-pierre' WHERE `virtuemart_product_id` = '1863262'
2023-10-13	13:30:30	3770	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34985_sacoche_racktime_talis_8_0l.jpg
2023-10-13	13:30:30	3770	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:30	3770	[DEBUG]	Process image file
2023-10-13	13:30:30	3770	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:30	3770	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:30	3770	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34985_sacoche_racktime_talis_8_0l.jpg
2023-10-13	13:30:30	3770	[DEBUG]	Full name target: bcprisme/34985_sacoche_racktime_talis_8_0l.jpg
2023-10-13	13:30:31	3770	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:31	3770	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34985_sacoche_racktime_talis_8_0l.jpg'
2023-10-13	13:30:31	3770	[DEBUG]	Query for Media
2023-10-13	13:30:31	3770	[DEBUG]	Executed store
2023-10-13	13:30:31	3770	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34985_sacoche_racktime_talis_8_0l.jpg',`file_url_thumb`='bcprisme/34985_sacoche_racktime_talis_8_0l.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '318408'
2023-10-13	13:30:31	3770	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:31	3770	[DEBUG]	Executed store
2023-10-13	13:30:31	3770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863262','318408','1')
2023-10-13	13:30:31	3770	[DEBUG]	Store product image relation
2023-10-13	13:30:31	3770	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:31	3770	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863262 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:31	3770	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:31	3770	[DEBUG]	Executed store
2023-10-13	13:30:31	3770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863262','0','70.4735376044568','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:31	3770	[DEBUG]	Checking manufacturer
2023-10-13	13:30:31	3770	[DEBUG]	Load a row
2023-10-13	13:30:31	3770	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:31	3770	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '240'
2023-10-13	13:30:31	3770	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:31	3770	[DEBUG]	Executed store
2023-10-13	13:30:31	3770	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Y',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='y' WHERE `virtuemart_manufacturer_id` = '240'
2023-10-13	13:30:31	3770	[DEBUG]	Manufacturer exists
2023-10-13	13:30:31	3770	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 240
2023-10-13	13:30:31	3770	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:31	3770	[DEBUG]	Executed store
2023-10-13	13:30:31	3770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863262','240')
2023-10-13	13:30:31	3770	[DEBUG]	Find the custom field ID
2023-10-13	13:30:31	3770	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:31	3770	[DEBUG]	No custom field ID found
2023-10-13	13:30:31	3770	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:31	3770	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:31	3770	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863262 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:31	3770	[DEBUG]	Store custom available field
2023-10-13	13:30:31	3770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863262,3,'0',1)
2023-10-13	13:30:31	3770	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:31	3770	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:31	3770	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863262 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:31	3770	[DEBUG]	Store custom available field
2023-10-13	13:30:31	3770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863262,6,'choisir la taille',3)
2023-10-13	13:30:31	3770	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:31	3770	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:31	3770	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:31	3770	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:31	3770	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863262 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:31	3770	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:31	3770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863262,8,1)
2023-10-13	13:30:31	3770	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:31	3770	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863262\":[1863262,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863262
2023-10-13	13:30:31	3770	[DEBUG]	Checking category
2023-10-13	13:30:31	3770	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:31	3770	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863262
2023-10-13	13:30:31	3770	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:31	3770	[DEBUG]	Executed store
2023-10-13	13:30:31	3770	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863262','7385')
2023-10-13	13:30:31	3770	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:31	3770	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863262 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:31	3770	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:31	3770	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863262
2023-10-13	13:30:31	3771	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:31	3771	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:31	3771	[DEBUG]	Use field value for field taille
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:31	3771	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:31	3771	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:31	3771	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:31	3771	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:31	3771	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:31	3771	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:31	3771	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:31	3771	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:31	3771	[DEBUG]	Use field value for field published
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:31	3771	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field override
2023-10-13	13:30:31	3771	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:31	3771	[DEBUG]	Use field value for field slug
2023-10-13	13:30:31	3771	[DEBUG]	Process line 3771
2023-10-13	13:30:31	3771	[DEBUG]	Load a row
2023-10-13	13:30:31	3771	[DEBUG]	Processing item: 4048174828897
2023-10-13	13:30:31	3771	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:31	3771	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:31	3771	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7568_521'
2023-10-13	13:30:31	3771	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:31	3771	[DEBUG]	Processing product tax
2023-10-13	13:30:31	3771	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:31	3771	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:31	3771	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:31	3771	[DEBUG]	Query for Product
2023-10-13	13:30:31	3771	[DEBUG]	Executed store
2023-10-13	13:30:31	3771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863262','4048174828897','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:31	3771	[DEBUG]	No parent found
2023-10-13	13:30:31	3771	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863262 AND customfield_value = 'stockable'
2023-10-13	13:30:31	3771	[DEBUG]	Check product language entry
2023-10-13	13:30:31	3771	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863263
2023-10-13	13:30:31	3771	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:31	3771	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4048174828897' AND `virtuemart_product_id` != 1863263
2023-10-13	13:30:31	3771	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:31	3771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863263, '4048174828897')
2023-10-13	13:30:31	3771	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:31	3771	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'racktime-sacoche-racktime-talis-8-0l-noir-carbone-gris-pierre-unitaire' AND `virtuemart_product_id` != 1863263
2023-10-13	13:30:31	3771	[DEBUG]	Query for ProductLang
2023-10-13	13:30:31	3771	[DEBUG]	Executed store
2023-10-13	13:30:31	3771	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='RACKTIME Sacoche Racktime TALIS 8.0L / Noir Carbone/Gris Pierre (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='racktime-sacoche-racktime-talis-8-0l-noir-carbone-gris-pierre-unitaire' WHERE `virtuemart_product_id` = '1863263'
2023-10-13	13:30:31	3771	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34985_sacoche_racktime_talis_8_0l.jpg
2023-10-13	13:30:31	3771	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:31	3771	[DEBUG]	Process image file
2023-10-13	13:30:31	3771	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:31	3771	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:31	3771	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34985_sacoche_racktime_talis_8_0l.jpg
2023-10-13	13:30:31	3771	[DEBUG]	Full name target: bcprisme/34985_sacoche_racktime_talis_8_0l.jpg
2023-10-13	13:30:32	3771	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:32	3771	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34985_sacoche_racktime_talis_8_0l.jpg'
2023-10-13	13:30:32	3771	[DEBUG]	Query for Media
2023-10-13	13:30:32	3771	[DEBUG]	Executed store
2023-10-13	13:30:32	3771	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34985_sacoche_racktime_talis_8_0l.jpg',`file_url_thumb`='bcprisme/34985_sacoche_racktime_talis_8_0l.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '318408'
2023-10-13	13:30:32	3771	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:32	3771	[DEBUG]	Executed store
2023-10-13	13:30:32	3771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863263','318408','1')
2023-10-13	13:30:32	3771	[DEBUG]	Store product image relation
2023-10-13	13:30:32	3771	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:32	3771	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863263 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:32	3771	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:32	3771	[DEBUG]	Executed store
2023-10-13	13:30:32	3771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863263','0','70.4735376044568','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:32	3771	[DEBUG]	Checking manufacturer
2023-10-13	13:30:32	3771	[DEBUG]	Load a row
2023-10-13	13:30:32	3771	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:32	3771	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '240'
2023-10-13	13:30:32	3771	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:32	3771	[DEBUG]	Executed store
2023-10-13	13:30:32	3771	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='Y',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='y' WHERE `virtuemart_manufacturer_id` = '240'
2023-10-13	13:30:32	3771	[DEBUG]	Manufacturer exists
2023-10-13	13:30:32	3771	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 240
2023-10-13	13:30:32	3771	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:32	3771	[DEBUG]	Executed store
2023-10-13	13:30:32	3771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863263','240')
2023-10-13	13:30:32	3771	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:32	3771	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:32	3771	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863263 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:32	3771	[DEBUG]	Store custom available field
2023-10-13	13:30:32	3771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863263,3,'',1)
2023-10-13	13:30:32	3771	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:32	3771	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:32	3771	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863263 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:32	3771	[DEBUG]	Store custom available field
2023-10-13	13:30:32	3771	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863263,6,'Unitaire',3)
2023-10-13	13:30:32	3771	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:32	3771	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:32	3771	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863262
2023-10-13	13:30:32	3771	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:32	3771	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863262\":[1863262,8,1,\"choisir la taille\"],\"1863263\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863262
2023-10-13	13:30:32	3771	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:32	3771	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863263
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:32	3772	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field taille
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:32	3772	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:32	3772	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:32	3772	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:32	3772	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:32	3772	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:32	3772	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field published
2023-10-13	13:30:32	3772	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:32	3772	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field override
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:32	3772	[DEBUG]	Use field value for field slug
2023-10-13	13:30:32	3772	[DEBUG]	Process line 3772
2023-10-13	13:30:32	3772	[DEBUG]	Load a row
2023-10-13	13:30:32	3772	[DEBUG]	Processing item: A_7624_42
2023-10-13	13:30:32	3772	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:32	3772	[DEBUG]	Processing product tax
2023-10-13	13:30:32	3772	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:32	3772	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:32	3772	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:32	3772	[DEBUG]	Query for Product
2023-10-13	13:30:32	3772	[DEBUG]	Executed store
2023-10-13	13:30:32	3772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7624_42','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:32	3772	[DEBUG]	Check product language entry
2023-10-13	13:30:32	3772	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863264
2023-10-13	13:30:32	3772	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:32	3772	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7624_42' AND `virtuemart_product_id` != 1863264
2023-10-13	13:30:32	3772	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:32	3772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863264, 'A_7624_42')
2023-10-13	13:30:32	3772	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:32	3772	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-structura-brun' AND `virtuemart_product_id` != 1863264
2023-10-13	13:30:32	3772	[DEBUG]	Query for ProductLang
2023-10-13	13:30:32	3772	[DEBUG]	Executed store
2023-10-13	13:30:32	3772	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 48.161',`product_name`='KLICKfix Panier de guidon Structura  / Brun',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-structura-brun' WHERE `virtuemart_product_id` = '1863264'
2023-10-13	13:30:32	3772	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35089_panier_avant_klickfix_structura_.jpg
2023-10-13	13:30:32	3772	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:32	3772	[DEBUG]	Process image file
2023-10-13	13:30:32	3772	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:32	3772	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:32	3772	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35089_panier_avant_klickfix_structura_.jpg
2023-10-13	13:30:32	3772	[DEBUG]	Full name target: bcprisme/35089_panier_avant_klickfix_structura_.jpg
2023-10-13	13:30:33	3772	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:33	3772	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35089_panier_avant_klickfix_structura_.jpg'
2023-10-13	13:30:33	3772	[DEBUG]	Query for Media
2023-10-13	13:30:33	3772	[DEBUG]	Executed store
2023-10-13	13:30:33	3772	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35089_panier_avant_klickfix_structura_.jpg',`file_url_thumb`='bcprisme/35089_panier_avant_klickfix_structura_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '338088'
2023-10-13	13:30:33	3772	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:33	3772	[DEBUG]	Executed store
2023-10-13	13:30:33	3772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863264','338088','1')
2023-10-13	13:30:33	3772	[DEBUG]	Store product image relation
2023-10-13	13:30:33	3772	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:33	3772	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863264 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:33	3772	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:33	3772	[DEBUG]	Executed store
2023-10-13	13:30:33	3772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863264','0','60.3528319405757','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:33	3772	[DEBUG]	Checking manufacturer
2023-10-13	13:30:33	3772	[DEBUG]	Load a row
2023-10-13	13:30:33	3772	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:33	3772	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:33	3772	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:33	3772	[DEBUG]	Executed store
2023-10-13	13:30:33	3772	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:33	3772	[DEBUG]	Manufacturer exists
2023-10-13	13:30:33	3772	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:30:33	3772	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:33	3772	[DEBUG]	Executed store
2023-10-13	13:30:33	3772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863264','146')
2023-10-13	13:30:33	3772	[DEBUG]	Find the custom field ID
2023-10-13	13:30:33	3772	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:33	3772	[DEBUG]	No custom field ID found
2023-10-13	13:30:33	3772	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:33	3772	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:33	3772	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863264 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:33	3772	[DEBUG]	Store custom available field
2023-10-13	13:30:33	3772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863264,3,'0',1)
2023-10-13	13:30:33	3772	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:33	3772	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:33	3772	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863264 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:33	3772	[DEBUG]	Store custom available field
2023-10-13	13:30:33	3772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863264,6,'choisir la taille',3)
2023-10-13	13:30:33	3772	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:33	3772	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:33	3772	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:33	3772	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:33	3772	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863264 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:33	3772	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:33	3772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863264,8,1)
2023-10-13	13:30:33	3772	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:33	3772	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863264\":[1863264,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863264
2023-10-13	13:30:33	3772	[DEBUG]	Checking category
2023-10-13	13:30:33	3772	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:33	3772	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863264
2023-10-13	13:30:33	3772	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:33	3772	[DEBUG]	Executed store
2023-10-13	13:30:33	3772	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863264','7385')
2023-10-13	13:30:33	3772	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:33	3772	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863264 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:33	3772	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:33	3772	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863264
2023-10-13	13:30:33	3773	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:33	3773	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:33	3773	[DEBUG]	Use field value for field taille
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:33	3773	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:33	3773	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:33	3773	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:33	3773	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:33	3773	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:33	3773	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:33	3773	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:33	3773	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:33	3773	[DEBUG]	Use field value for field published
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:33	3773	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field override
2023-10-13	13:30:33	3773	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:33	3773	[DEBUG]	Use field value for field slug
2023-10-13	13:30:33	3773	[DEBUG]	Process line 3773
2023-10-13	13:30:33	3773	[DEBUG]	Load a row
2023-10-13	13:30:33	3773	[DEBUG]	Processing item: 4018861000844
2023-10-13	13:30:33	3773	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:33	3773	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:33	3773	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7624_42'
2023-10-13	13:30:33	3773	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:33	3773	[DEBUG]	Processing product tax
2023-10-13	13:30:33	3773	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:33	3773	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:33	3773	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:33	3773	[DEBUG]	Query for Product
2023-10-13	13:30:33	3773	[DEBUG]	Executed store
2023-10-13	13:30:33	3773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863264','4018861000844','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:33	3773	[DEBUG]	No parent found
2023-10-13	13:30:33	3773	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863264 AND customfield_value = 'stockable'
2023-10-13	13:30:33	3773	[DEBUG]	Check product language entry
2023-10-13	13:30:33	3773	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863265
2023-10-13	13:30:33	3773	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:33	3773	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4018861000844' AND `virtuemart_product_id` != 1863265
2023-10-13	13:30:33	3773	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:33	3773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863265, '4018861000844')
2023-10-13	13:30:33	3773	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:33	3773	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-de-guidon-structura-brun-unitaire' AND `virtuemart_product_id` != 1863265
2023-10-13	13:30:33	3773	[DEBUG]	Query for ProductLang
2023-10-13	13:30:33	3773	[DEBUG]	Executed store
2023-10-13	13:30:33	3773	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKfix Panier de guidon Structura  / Brun (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-de-guidon-structura-brun-unitaire' WHERE `virtuemart_product_id` = '1863265'
2023-10-13	13:30:33	3773	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35089_panier_avant_klickfix_structura_.jpg
2023-10-13	13:30:33	3773	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:33	3773	[DEBUG]	Process image file
2023-10-13	13:30:33	3773	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:33	3773	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:33	3773	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35089_panier_avant_klickfix_structura_.jpg
2023-10-13	13:30:33	3773	[DEBUG]	Full name target: bcprisme/35089_panier_avant_klickfix_structura_.jpg
2023-10-13	13:30:34	3773	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:34	3773	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35089_panier_avant_klickfix_structura_.jpg'
2023-10-13	13:30:34	3773	[DEBUG]	Query for Media
2023-10-13	13:30:34	3773	[DEBUG]	Executed store
2023-10-13	13:30:34	3773	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35089_panier_avant_klickfix_structura_.jpg',`file_url_thumb`='bcprisme/35089_panier_avant_klickfix_structura_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '338088'
2023-10-13	13:30:34	3773	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:34	3773	[DEBUG]	Executed store
2023-10-13	13:30:34	3773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863265','338088','1')
2023-10-13	13:30:34	3773	[DEBUG]	Store product image relation
2023-10-13	13:30:34	3773	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:34	3773	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863265 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:34	3773	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:34	3773	[DEBUG]	Executed store
2023-10-13	13:30:34	3773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863265','0','60.3528319405757','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:34	3773	[DEBUG]	Checking manufacturer
2023-10-13	13:30:34	3773	[DEBUG]	Load a row
2023-10-13	13:30:34	3773	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:34	3773	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:34	3773	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:34	3773	[DEBUG]	Executed store
2023-10-13	13:30:34	3773	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:34	3773	[DEBUG]	Manufacturer exists
2023-10-13	13:30:34	3773	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:30:34	3773	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:34	3773	[DEBUG]	Executed store
2023-10-13	13:30:34	3773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863265','146')
2023-10-13	13:30:34	3773	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:34	3773	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:34	3773	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863265 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:34	3773	[DEBUG]	Store custom available field
2023-10-13	13:30:34	3773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863265,3,'',1)
2023-10-13	13:30:34	3773	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:34	3773	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:34	3773	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863265 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:34	3773	[DEBUG]	Store custom available field
2023-10-13	13:30:34	3773	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863265,6,'Unitaire',3)
2023-10-13	13:30:34	3773	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:34	3773	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:34	3773	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863264
2023-10-13	13:30:34	3773	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:34	3773	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863264\":[1863264,8,1,\"choisir la taille\"],\"1863265\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863264
2023-10-13	13:30:34	3773	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:34	3773	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863265
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:34	3774	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field taille
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:34	3774	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:34	3774	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:34	3774	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:34	3774	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:34	3774	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:34	3774	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field published
2023-10-13	13:30:34	3774	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:34	3774	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field override
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:34	3774	[DEBUG]	Use field value for field slug
2023-10-13	13:30:34	3774	[DEBUG]	Process line 3774
2023-10-13	13:30:34	3774	[DEBUG]	Load a row
2023-10-13	13:30:34	3774	[DEBUG]	Processing item: A_7872_533
2023-10-13	13:30:34	3774	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:34	3774	[DEBUG]	Processing product tax
2023-10-13	13:30:34	3774	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:34	3774	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:34	3774	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:34	3774	[DEBUG]	Query for Product
2023-10-13	13:30:34	3774	[DEBUG]	Executed store
2023-10-13	13:30:34	3774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7872_533','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:34	3774	[DEBUG]	Check product language entry
2023-10-13	13:30:34	3774	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863266
2023-10-13	13:30:34	3774	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:34	3774	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7872_533' AND `virtuemart_product_id` != 1863266
2023-10-13	13:30:34	3774	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:34	3774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863266, 'A_7872_533')
2023-10-13	13:30:34	3774	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:34	3774	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'racktime-agu-sacoche-de-guidon-shelter-grey-gris-noir' AND `virtuemart_product_id` != 1863266
2023-10-13	13:30:34	3774	[DEBUG]	Query for ProductLang
2023-10-13	13:30:34	3774	[DEBUG]	Executed store
2023-10-13	13:30:34	3774	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 28.68716',`product_name`='Racktime AGU sacoche de guidon Shelter Grey / Gris/Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='racktime-agu-sacoche-de-guidon-shelter-grey-gris-noir' WHERE `virtuemart_product_id` = '1863266'
2023-10-13	13:30:34	3774	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36284_agu_sacoche_de_guidon_shelter_grey.jpg
2023-10-13	13:30:34	3774	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:30:34	3774	[DEBUG]	Process image file
2023-10-13	13:30:34	3774	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:30:34	3774	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:34	3774	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36284_agu_sacoche_de_guidon_shelter_grey.jpg
2023-10-13	13:30:34	3774	[DEBUG]	Full name target: bcprisme/36284_agu_sacoche_de_guidon_shelter_grey.jpg
2023-10-13	13:30:35	3774	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:35	3774	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36284_agu_sacoche_de_guidon_shelter_grey.jpg'
2023-10-13	13:30:35	3774	[DEBUG]	Query for Media
2023-10-13	13:30:35	3774	[DEBUG]	Executed store
2023-10-13	13:30:35	3774	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36284_agu_sacoche_de_guidon_shelter_grey.jpg',`file_url_thumb`='bcprisme/36284_agu_sacoche_de_guidon_shelter_grey.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '504442'
2023-10-13	13:30:35	3774	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:35	3774	[DEBUG]	Executed store
2023-10-13	13:30:35	3774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863266','504442','1')
2023-10-13	13:30:35	3774	[DEBUG]	Store product image relation
2023-10-13	13:30:35	3774	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:35	3774	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863266 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:35	3774	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:35	3774	[DEBUG]	Executed store
2023-10-13	13:30:35	3774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863266','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:35	3774	[DEBUG]	Checking manufacturer
2023-10-13	13:30:35	3774	[DEBUG]	Load a row
2023-10-13	13:30:35	3774	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:35	3774	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:35	3774	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:35	3774	[DEBUG]	Executed store
2023-10-13	13:30:35	3774	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331160104302' WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:35	3774	[DEBUG]	Manufacturer exists
2023-10-13	13:30:35	3774	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 184
2023-10-13	13:30:35	3774	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:35	3774	[DEBUG]	Executed store
2023-10-13	13:30:35	3774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863266','184')
2023-10-13	13:30:35	3774	[DEBUG]	Find the custom field ID
2023-10-13	13:30:35	3774	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:35	3774	[DEBUG]	No custom field ID found
2023-10-13	13:30:35	3774	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:35	3774	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:35	3774	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863266 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:35	3774	[DEBUG]	Store custom available field
2023-10-13	13:30:35	3774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863266,3,'0',1)
2023-10-13	13:30:35	3774	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:35	3774	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:35	3774	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863266 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:35	3774	[DEBUG]	Store custom available field
2023-10-13	13:30:35	3774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863266,6,'choisir la taille',3)
2023-10-13	13:30:35	3774	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:35	3774	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:35	3774	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:35	3774	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:35	3774	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863266 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:35	3774	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:35	3774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863266,8,1)
2023-10-13	13:30:35	3774	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:35	3774	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863266\":[1863266,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863266
2023-10-13	13:30:35	3774	[DEBUG]	Checking category
2023-10-13	13:30:35	3774	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:35	3774	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863266
2023-10-13	13:30:35	3774	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:35	3774	[DEBUG]	Executed store
2023-10-13	13:30:35	3774	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863266','7385')
2023-10-13	13:30:35	3774	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:35	3774	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863266 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:35	3774	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:35	3774	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863266
2023-10-13	13:30:35	3775	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:35	3775	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:35	3775	[DEBUG]	Use field value for field taille
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:35	3775	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:35	3775	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:35	3775	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:35	3775	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:35	3775	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:35	3775	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:35	3775	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:35	3775	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:35	3775	[DEBUG]	Use field value for field published
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:35	3775	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field override
2023-10-13	13:30:35	3775	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:35	3775	[DEBUG]	Use field value for field slug
2023-10-13	13:30:35	3775	[DEBUG]	Process line 3775
2023-10-13	13:30:35	3775	[DEBUG]	Load a row
2023-10-13	13:30:35	3775	[DEBUG]	Processing item: 8717565665842
2023-10-13	13:30:35	3775	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:35	3775	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:35	3775	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7872_533'
2023-10-13	13:30:35	3775	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:35	3775	[DEBUG]	Processing product tax
2023-10-13	13:30:35	3775	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:35	3775	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:35	3775	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:35	3775	[DEBUG]	Query for Product
2023-10-13	13:30:35	3775	[DEBUG]	Executed store
2023-10-13	13:30:35	3775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863266','8717565665842','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:35	3775	[DEBUG]	No parent found
2023-10-13	13:30:35	3775	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863266 AND customfield_value = 'stockable'
2023-10-13	13:30:35	3775	[DEBUG]	Check product language entry
2023-10-13	13:30:35	3775	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863267
2023-10-13	13:30:35	3775	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:35	3775	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717565665842' AND `virtuemart_product_id` != 1863267
2023-10-13	13:30:35	3775	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:35	3775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863267, '8717565665842')
2023-10-13	13:30:35	3775	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:35	3775	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'racktime-agu-sacoche-de-guidon-shelter-grey-gris-noir-unitaire' AND `virtuemart_product_id` != 1863267
2023-10-13	13:30:35	3775	[DEBUG]	Query for ProductLang
2023-10-13	13:30:35	3775	[DEBUG]	Executed store
2023-10-13	13:30:35	3775	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Racktime AGU sacoche de guidon Shelter Grey / Gris/Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='racktime-agu-sacoche-de-guidon-shelter-grey-gris-noir-unitaire' WHERE `virtuemart_product_id` = '1863267'
2023-10-13	13:30:35	3775	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36284_agu_sacoche_de_guidon_shelter_grey.jpg
2023-10-13	13:30:35	3775	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:30:35	3775	[DEBUG]	Process image file
2023-10-13	13:30:35	3775	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:30:35	3775	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:35	3775	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36284_agu_sacoche_de_guidon_shelter_grey.jpg
2023-10-13	13:30:35	3775	[DEBUG]	Full name target: bcprisme/36284_agu_sacoche_de_guidon_shelter_grey.jpg
2023-10-13	13:30:36	3775	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:36	3775	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36284_agu_sacoche_de_guidon_shelter_grey.jpg'
2023-10-13	13:30:36	3775	[DEBUG]	Query for Media
2023-10-13	13:30:36	3775	[DEBUG]	Executed store
2023-10-13	13:30:36	3775	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36284_agu_sacoche_de_guidon_shelter_grey.jpg',`file_url_thumb`='bcprisme/36284_agu_sacoche_de_guidon_shelter_grey.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '504442'
2023-10-13	13:30:36	3775	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:36	3775	[DEBUG]	Executed store
2023-10-13	13:30:36	3775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863267','504442','1')
2023-10-13	13:30:36	3775	[DEBUG]	Store product image relation
2023-10-13	13:30:36	3775	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:36	3775	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863267 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:36	3775	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:36	3775	[DEBUG]	Executed store
2023-10-13	13:30:36	3775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863267','0','92.7576601671309','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:36	3775	[DEBUG]	Checking manufacturer
2023-10-13	13:30:36	3775	[DEBUG]	Load a row
2023-10-13	13:30:36	3775	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:36	3775	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:36	3775	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:36	3775	[DEBUG]	Executed store
2023-10-13	13:30:36	3775	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-331160104302' WHERE `virtuemart_manufacturer_id` = '184'
2023-10-13	13:30:36	3775	[DEBUG]	Manufacturer exists
2023-10-13	13:30:36	3775	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 184
2023-10-13	13:30:36	3775	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:36	3775	[DEBUG]	Executed store
2023-10-13	13:30:36	3775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863267','184')
2023-10-13	13:30:36	3775	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:36	3775	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:36	3775	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863267 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:36	3775	[DEBUG]	Store custom available field
2023-10-13	13:30:36	3775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863267,3,'',1)
2023-10-13	13:30:36	3775	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:36	3775	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:36	3775	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863267 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:36	3775	[DEBUG]	Store custom available field
2023-10-13	13:30:36	3775	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863267,6,'Unitaire',3)
2023-10-13	13:30:36	3775	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:36	3775	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:36	3775	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863266
2023-10-13	13:30:36	3775	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:36	3775	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863266\":[1863266,8,1,\"choisir la taille\"],\"1863267\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863266
2023-10-13	13:30:36	3775	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:36	3775	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863267
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:36	3776	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field taille
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:36	3776	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:36	3776	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:36	3776	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:36	3776	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:36	3776	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:36	3776	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field published
2023-10-13	13:30:36	3776	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:36	3776	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field override
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:36	3776	[DEBUG]	Use field value for field slug
2023-10-13	13:30:36	3776	[DEBUG]	Process line 3776
2023-10-13	13:30:36	3776	[DEBUG]	Load a row
2023-10-13	13:30:36	3776	[DEBUG]	Processing item: A_8005_1
2023-10-13	13:30:36	3776	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:36	3776	[DEBUG]	Processing product tax
2023-10-13	13:30:36	3776	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:36	3776	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:36	3776	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:36	3776	[DEBUG]	Query for Product
2023-10-13	13:30:36	3776	[DEBUG]	Executed store
2023-10-13	13:30:36	3776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8005_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:36	3776	[DEBUG]	Check product language entry
2023-10-13	13:30:36	3776	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863268
2023-10-13	13:30:36	3776	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:36	3776	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8005_1' AND `virtuemart_product_id` != 1863268
2023-10-13	13:30:36	3776	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:36	3776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863268, 'A_8005_1')
2023-10-13	13:30:36	3776	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:36	3776	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-sacoche-de-guidon-daypack-26-16-22-cm-8-5-l-noir' AND `virtuemart_product_id` != 1863268
2023-10-13	13:30:36	3776	[DEBUG]	Query for ProductLang
2023-10-13	13:30:36	3776	[DEBUG]	Executed store
2023-10-13	13:30:36	3776	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Cette sacoche est entièrement équipée pour les randonnées avec une grande poche à l\'avant, une housse de pluie à l\'arrière, un porte-carte ainsi qu\'un compartiment pour ranger des documents. Sa structure interne en polyamide lui donne une bonne robustesse. Si nécessaire, il est possible de la plier. L\'adaptateur de guidon éprouvé KLICKfix est inclus dans la livraison.<br>N° art fourn : 26.127',`product_name`='KLICKFIX Sacoche de guidon Daypack 26/16/22 cm 8.5 l / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-sacoche-de-guidon-daypack-26-16-22-cm-8-5-l-noir' WHERE `virtuemart_product_id` = '1863268'
2023-10-13	13:30:36	3776	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36488_sacoche_de_guidon_klickfix_daypack_26_x_16_x_22_cm,_8_5_l.jpg
2023-10-13	13:30:36	3776	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:36	3776	[DEBUG]	Process image file
2023-10-13	13:30:36	3776	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:36	3776	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:36	3776	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36488_sacoche_de_guidon_klickfix_daypack_26_x_16_x_22_cm,_8_5_l.jpg
2023-10-13	13:30:36	3776	[DEBUG]	Full name target: bcprisme/36488_sacoche_de_guidon_klickfix_daypack_26_x_16_x_22_cm,_8_5_l.jpg
2023-10-13	13:30:37	3776	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:37	3776	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36488_sacoche_de_guidon_klickfix_daypack_26_x_16_x_22_cm,_8_5_l.jpg'
2023-10-13	13:30:37	3776	[DEBUG]	Query for Media
2023-10-13	13:30:37	3776	[DEBUG]	Executed store
2023-10-13	13:30:37	3776	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36488_sacoche_de_guidon_klickfix_daypack_26_x_16_x_22_cm,_8_5_l.jpg',`file_url_thumb`='bcprisme/36488_sacoche_de_guidon_klickfix_daypack_26_x_16_x_22_cm,_8_5_l.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '657597'
2023-10-13	13:30:37	3776	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:37	3776	[DEBUG]	Executed store
2023-10-13	13:30:37	3776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863268','657597','1')
2023-10-13	13:30:37	3776	[DEBUG]	Store product image relation
2023-10-13	13:30:37	3776	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:37	3776	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863268 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:37	3776	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:37	3776	[DEBUG]	Executed store
2023-10-13	13:30:37	3776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863268','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:37	3776	[DEBUG]	Checking manufacturer
2023-10-13	13:30:37	3776	[DEBUG]	Load a row
2023-10-13	13:30:37	3776	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:37	3776	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:30:37	3776	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:37	3776	[DEBUG]	Executed store
2023-10-13	13:30:37	3776	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-58992307618' WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:30:37	3776	[DEBUG]	Manufacturer exists
2023-10-13	13:30:37	3776	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 167
2023-10-13	13:30:37	3776	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:37	3776	[DEBUG]	Executed store
2023-10-13	13:30:37	3776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863268','167')
2023-10-13	13:30:37	3776	[DEBUG]	Find the custom field ID
2023-10-13	13:30:37	3776	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:37	3776	[DEBUG]	No custom field ID found
2023-10-13	13:30:37	3776	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:37	3776	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:37	3776	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863268 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:37	3776	[DEBUG]	Store custom available field
2023-10-13	13:30:37	3776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863268,3,'0',1)
2023-10-13	13:30:37	3776	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:37	3776	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:37	3776	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863268 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:37	3776	[DEBUG]	Store custom available field
2023-10-13	13:30:37	3776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863268,6,'choisir la taille',3)
2023-10-13	13:30:37	3776	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:37	3776	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:37	3776	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:37	3776	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:37	3776	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863268 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:37	3776	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:37	3776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863268,8,1)
2023-10-13	13:30:37	3776	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:37	3776	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863268\":[1863268,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863268
2023-10-13	13:30:37	3776	[DEBUG]	Checking category
2023-10-13	13:30:37	3776	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:37	3776	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863268
2023-10-13	13:30:37	3776	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:37	3776	[DEBUG]	Executed store
2023-10-13	13:30:37	3776	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863268','7385')
2023-10-13	13:30:37	3776	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:37	3776	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863268 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:37	3776	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:37	3776	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863268
2023-10-13	13:30:37	3777	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:37	3777	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:37	3777	[DEBUG]	Use field value for field taille
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:37	3777	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:37	3777	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:37	3777	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:37	3777	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:37	3777	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:37	3777	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:37	3777	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:37	3777	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:37	3777	[DEBUG]	Use field value for field published
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:37	3777	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field override
2023-10-13	13:30:37	3777	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:37	3777	[DEBUG]	Use field value for field slug
2023-10-13	13:30:37	3777	[DEBUG]	Process line 3777
2023-10-13	13:30:37	3777	[DEBUG]	Load a row
2023-10-13	13:30:37	3777	[DEBUG]	Processing item: 4030572105984
2023-10-13	13:30:37	3777	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:37	3777	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:37	3777	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8005_1'
2023-10-13	13:30:37	3777	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:37	3777	[DEBUG]	Processing product tax
2023-10-13	13:30:37	3777	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:37	3777	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:37	3777	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:37	3777	[DEBUG]	Query for Product
2023-10-13	13:30:37	3777	[DEBUG]	Executed store
2023-10-13	13:30:37	3777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863268','4030572105984','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:37	3777	[DEBUG]	No parent found
2023-10-13	13:30:37	3777	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863268 AND customfield_value = 'stockable'
2023-10-13	13:30:37	3777	[DEBUG]	Check product language entry
2023-10-13	13:30:37	3777	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863269
2023-10-13	13:30:37	3777	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:37	3777	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572105984' AND `virtuemart_product_id` != 1863269
2023-10-13	13:30:37	3777	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:37	3777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863269, '4030572105984')
2023-10-13	13:30:37	3777	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:37	3777	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-sacoche-de-guidon-daypack-26-16-22-cm-8-5-l-noir-unitaire' AND `virtuemart_product_id` != 1863269
2023-10-13	13:30:37	3777	[DEBUG]	Query for ProductLang
2023-10-13	13:30:37	3777	[DEBUG]	Executed store
2023-10-13	13:30:37	3777	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKFIX Sacoche de guidon Daypack 26/16/22 cm 8.5 l / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-sacoche-de-guidon-daypack-26-16-22-cm-8-5-l-noir-unitaire' WHERE `virtuemart_product_id` = '1863269'
2023-10-13	13:30:37	3777	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36488_sacoche_de_guidon_klickfix_daypack_26_x_16_x_22_cm,_8_5_l.jpg
2023-10-13	13:30:37	3777	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:37	3777	[DEBUG]	Process image file
2023-10-13	13:30:37	3777	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:30:37	3777	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:37	3777	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36488_sacoche_de_guidon_klickfix_daypack_26_x_16_x_22_cm,_8_5_l.jpg
2023-10-13	13:30:37	3777	[DEBUG]	Full name target: bcprisme/36488_sacoche_de_guidon_klickfix_daypack_26_x_16_x_22_cm,_8_5_l.jpg
2023-10-13	13:30:38	3777	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:38	3777	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36488_sacoche_de_guidon_klickfix_daypack_26_x_16_x_22_cm,_8_5_l.jpg'
2023-10-13	13:30:38	3777	[DEBUG]	Query for Media
2023-10-13	13:30:38	3777	[DEBUG]	Executed store
2023-10-13	13:30:38	3777	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36488_sacoche_de_guidon_klickfix_daypack_26_x_16_x_22_cm,_8_5_l.jpg',`file_url_thumb`='bcprisme/36488_sacoche_de_guidon_klickfix_daypack_26_x_16_x_22_cm,_8_5_l.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '657597'
2023-10-13	13:30:38	3777	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:38	3777	[DEBUG]	Executed store
2023-10-13	13:30:38	3777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863269','657597','1')
2023-10-13	13:30:38	3777	[DEBUG]	Store product image relation
2023-10-13	13:30:38	3777	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:38	3777	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863269 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:38	3777	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:38	3777	[DEBUG]	Executed store
2023-10-13	13:30:38	3777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863269','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:38	3777	[DEBUG]	Checking manufacturer
2023-10-13	13:30:38	3777	[DEBUG]	Load a row
2023-10-13	13:30:38	3777	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:38	3777	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:30:38	3777	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:38	3777	[DEBUG]	Executed store
2023-10-13	13:30:38	3777	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-58992307618' WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:30:38	3777	[DEBUG]	Manufacturer exists
2023-10-13	13:30:38	3777	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 167
2023-10-13	13:30:38	3777	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:38	3777	[DEBUG]	Executed store
2023-10-13	13:30:38	3777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863269','167')
2023-10-13	13:30:38	3777	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:38	3777	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:38	3777	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863269 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:38	3777	[DEBUG]	Store custom available field
2023-10-13	13:30:38	3777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863269,3,'',1)
2023-10-13	13:30:38	3777	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:38	3777	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:38	3777	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863269 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:38	3777	[DEBUG]	Store custom available field
2023-10-13	13:30:38	3777	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863269,6,'Unitaire',3)
2023-10-13	13:30:38	3777	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:38	3777	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:38	3777	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863268
2023-10-13	13:30:38	3777	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:38	3777	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863268\":[1863268,8,1,\"choisir la taille\"],\"1863269\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863268
2023-10-13	13:30:38	3777	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:38	3777	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863269
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:38	3778	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field taille
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:38	3778	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:38	3778	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:38	3778	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:38	3778	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:38	3778	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:38	3778	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:38	3778	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field published
2023-10-13	13:30:38	3778	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:38	3778	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field override
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:38	3778	[DEBUG]	Use field value for field slug
2023-10-13	13:30:38	3778	[DEBUG]	Process line 3778
2023-10-13	13:30:38	3778	[DEBUG]	Load a row
2023-10-13	13:30:38	3778	[DEBUG]	Processing item: A_8081_1
2023-10-13	13:30:38	3778	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:38	3778	[DEBUG]	Processing product tax
2023-10-13	13:30:38	3778	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:38	3778	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:38	3778	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:38	3778	[DEBUG]	Query for Product
2023-10-13	13:30:38	3778	[DEBUG]	Executed store
2023-10-13	13:30:38	3778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8081_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:38	3778	[DEBUG]	Check product language entry
2023-10-13	13:30:38	3778	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863270
2023-10-13	13:30:38	3778	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:38	3778	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8081_1' AND `virtuemart_product_id` != 1863270
2023-10-13	13:30:38	3778	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:38	3778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863270, 'A_8081_1')
2023-10-13	13:30:38	3778	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:38	3778	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-sacoche-pour-porte-bagage-essential-bike-bag-dwr-noir-noir' AND `virtuemart_product_id` != 1863270
2023-10-13	13:30:38	3778	[DEBUG]	Query for ProductLang
2023-10-13	13:30:38	3778	[DEBUG]	Executed store
2023-10-13	13:30:38	3778	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 28.79554',`product_name`='Agu Sacoche pour porte-bagage Essential Bike Bag DWR noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-sacoche-pour-porte-bagage-essential-bike-bag-dwr-noir-noir' WHERE `virtuemart_product_id` = '1863270'
2023-10-13	13:30:38	3778	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_79554_fr_jpg.jpg has not been found.
2023-10-13	13:30:38	3778	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:38	3778	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863270 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:38	3778	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:38	3778	[DEBUG]	Executed store
2023-10-13	13:30:38	3778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863270','0','88.2079851439183','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:38	3778	[DEBUG]	Checking manufacturer
2023-10-13	13:30:38	3778	[DEBUG]	Load a row
2023-10-13	13:30:38	3778	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:38	3778	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:30:38	3778	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:38	3778	[DEBUG]	Executed store
2023-10-13	13:30:38	3778	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:30:38	3778	[DEBUG]	Manufacturer exists
2023-10-13	13:30:38	3778	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	13:30:38	3778	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:38	3778	[DEBUG]	Executed store
2023-10-13	13:30:38	3778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863270','45')
2023-10-13	13:30:38	3778	[DEBUG]	Find the custom field ID
2023-10-13	13:30:38	3778	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:38	3778	[DEBUG]	No custom field ID found
2023-10-13	13:30:38	3778	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:38	3778	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:38	3778	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863270 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:38	3778	[DEBUG]	Store custom available field
2023-10-13	13:30:38	3778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863270,3,'0',1)
2023-10-13	13:30:38	3778	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:38	3778	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:38	3778	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863270 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:38	3778	[DEBUG]	Store custom available field
2023-10-13	13:30:38	3778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863270,6,'choisir la taille',3)
2023-10-13	13:30:38	3778	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:38	3778	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:38	3778	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:38	3778	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:38	3778	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863270 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:38	3778	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:38	3778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863270,8,1)
2023-10-13	13:30:38	3778	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:38	3778	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863270\":[1863270,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863270
2023-10-13	13:30:38	3778	[DEBUG]	Checking category
2023-10-13	13:30:38	3778	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:38	3778	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863270
2023-10-13	13:30:38	3778	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:38	3778	[DEBUG]	Executed store
2023-10-13	13:30:38	3778	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863270','7385')
2023-10-13	13:30:38	3778	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:38	3778	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863270 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:38	3778	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:38	3778	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863270
2023-10-13	13:30:38	3779	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:38	3779	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:38	3779	[DEBUG]	Use field value for field taille
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:38	3779	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:38	3779	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:38	3779	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:38	3779	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:38	3779	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:38	3779	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:38	3779	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:38	3779	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:38	3779	[DEBUG]	Use field value for field published
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:38	3779	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field override
2023-10-13	13:30:38	3779	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:38	3779	[DEBUG]	Use field value for field slug
2023-10-13	13:30:38	3779	[DEBUG]	Process line 3779
2023-10-13	13:30:38	3779	[DEBUG]	Load a row
2023-10-13	13:30:38	3779	[DEBUG]	Processing item: 8717565589513
2023-10-13	13:30:38	3779	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:38	3779	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:38	3779	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8081_1'
2023-10-13	13:30:38	3779	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:38	3779	[DEBUG]	Processing product tax
2023-10-13	13:30:38	3779	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:38	3779	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:38	3779	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:38	3779	[DEBUG]	Query for Product
2023-10-13	13:30:38	3779	[DEBUG]	Executed store
2023-10-13	13:30:38	3779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863270','8717565589513','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:38	3779	[DEBUG]	No parent found
2023-10-13	13:30:38	3779	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863270 AND customfield_value = 'stockable'
2023-10-13	13:30:38	3779	[DEBUG]	Check product language entry
2023-10-13	13:30:38	3779	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863271
2023-10-13	13:30:38	3779	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:38	3779	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717565589513' AND `virtuemart_product_id` != 1863271
2023-10-13	13:30:38	3779	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:38	3779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863271, '8717565589513')
2023-10-13	13:30:38	3779	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:38	3779	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-sacoche-pour-porte-bagage-essential-bike-bag-dwr-noir-noir-unitaire' AND `virtuemart_product_id` != 1863271
2023-10-13	13:30:38	3779	[DEBUG]	Query for ProductLang
2023-10-13	13:30:38	3779	[DEBUG]	Executed store
2023-10-13	13:30:38	3779	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Agu Sacoche pour porte-bagage Essential Bike Bag DWR noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-sacoche-pour-porte-bagage-essential-bike-bag-dwr-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1863271'
2023-10-13	13:30:38	3779	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_79554_fr_jpg.jpg has not been found.
2023-10-13	13:30:38	3779	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:38	3779	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863271 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:38	3779	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:38	3779	[DEBUG]	Executed store
2023-10-13	13:30:38	3779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863271','0','88.2079851439183','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:38	3779	[DEBUG]	Checking manufacturer
2023-10-13	13:30:38	3779	[DEBUG]	Load a row
2023-10-13	13:30:38	3779	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:38	3779	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:30:38	3779	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:38	3779	[DEBUG]	Executed store
2023-10-13	13:30:38	3779	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:30:38	3779	[DEBUG]	Manufacturer exists
2023-10-13	13:30:38	3779	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	13:30:38	3779	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:38	3779	[DEBUG]	Executed store
2023-10-13	13:30:38	3779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863271','45')
2023-10-13	13:30:38	3779	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:38	3779	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:38	3779	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863271 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:38	3779	[DEBUG]	Store custom available field
2023-10-13	13:30:38	3779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863271,3,'',1)
2023-10-13	13:30:38	3779	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:38	3779	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:38	3779	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863271 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:38	3779	[DEBUG]	Store custom available field
2023-10-13	13:30:38	3779	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863271,6,'Unitaire',3)
2023-10-13	13:30:38	3779	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:38	3779	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:38	3779	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863270
2023-10-13	13:30:38	3779	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:38	3779	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863270\":[1863270,8,1,\"choisir la taille\"],\"1863271\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863270
2023-10-13	13:30:38	3779	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:38	3779	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863271
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:38	3780	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field taille
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:38	3780	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:38	3780	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:38	3780	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:38	3780	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:38	3780	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:38	3780	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:38	3780	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field published
2023-10-13	13:30:38	3780	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:38	3780	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field override
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:38	3780	[DEBUG]	Use field value for field slug
2023-10-13	13:30:38	3780	[DEBUG]	Process line 3780
2023-10-13	13:30:38	3780	[DEBUG]	Load a row
2023-10-13	13:30:38	3780	[DEBUG]	Processing item: A_8203_1
2023-10-13	13:30:38	3780	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:38	3780	[DEBUG]	Processing product tax
2023-10-13	13:30:38	3780	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:38	3780	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:38	3780	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:38	3780	[DEBUG]	Query for Product
2023-10-13	13:30:38	3780	[DEBUG]	Executed store
2023-10-13	13:30:38	3780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8203_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:38	3780	[DEBUG]	Check product language entry
2023-10-13	13:30:38	3780	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863272
2023-10-13	13:30:38	3780	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:38	3780	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8203_1' AND `virtuemart_product_id` != 1863272
2023-10-13	13:30:38	3780	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:38	3780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863272, 'A_8203_1')
2023-10-13	13:30:38	3780	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:38	3780	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-sacoche-de-guidon-topeak-22-13-18-2l-noir' AND `virtuemart_product_id` != 1863272
2023-10-13	13:30:38	3780	[DEBUG]	Query for ProductLang
2023-10-13	13:30:38	3780	[DEBUG]	Executed store
2023-10-13	13:30:38	3780	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 260.008.004',`product_name`='Topeak Sacoche de guidon Topeak 22/13/18 2L / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-sacoche-de-guidon-topeak-22-13-18-2l-noir' WHERE `virtuemart_product_id` = '1863272'
2023-10-13	13:30:38	3780	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36783_sacoche_de_guidon_topeak_22-13-18_2l.jpg
2023-10-13	13:30:38	3780	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:38	3780	[DEBUG]	Process image file
2023-10-13	13:30:38	3780	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:38	3780	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:38	3780	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36783_sacoche_de_guidon_topeak_22-13-18_2l.jpg
2023-10-13	13:30:38	3780	[DEBUG]	Full name target: bcprisme/36783_sacoche_de_guidon_topeak_22-13-18_2l.jpg
2023-10-13	13:30:39	3780	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:39	3780	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36783_sacoche_de_guidon_topeak_22-13-18_2l.jpg'
2023-10-13	13:30:39	3780	[DEBUG]	Query for Media
2023-10-13	13:30:39	3780	[DEBUG]	Executed store
2023-10-13	13:30:39	3780	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36783_sacoche_de_guidon_topeak_22-13-18_2l.jpg',`file_url_thumb`='bcprisme/36783_sacoche_de_guidon_topeak_22-13-18_2l.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '717670'
2023-10-13	13:30:39	3780	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:39	3780	[DEBUG]	Executed store
2023-10-13	13:30:39	3780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863272','717670','1')
2023-10-13	13:30:39	3780	[DEBUG]	Store product image relation
2023-10-13	13:30:39	3780	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:39	3780	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863272 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:39	3780	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:39	3780	[DEBUG]	Executed store
2023-10-13	13:30:39	3780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863272','0','50.1392757660167','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:39	3780	[DEBUG]	Checking manufacturer
2023-10-13	13:30:39	3780	[DEBUG]	Load a row
2023-10-13	13:30:39	3780	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:39	3780	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:39	3780	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:39	3780	[DEBUG]	Executed store
2023-10-13	13:30:39	3780	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:39	3780	[DEBUG]	Manufacturer exists
2023-10-13	13:30:39	3780	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:30:39	3780	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:39	3780	[DEBUG]	Executed store
2023-10-13	13:30:39	3780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863272','149')
2023-10-13	13:30:39	3780	[DEBUG]	Find the custom field ID
2023-10-13	13:30:39	3780	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:39	3780	[DEBUG]	No custom field ID found
2023-10-13	13:30:39	3780	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:39	3780	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:39	3780	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863272 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:39	3780	[DEBUG]	Store custom available field
2023-10-13	13:30:39	3780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863272,3,'0',1)
2023-10-13	13:30:39	3780	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:39	3780	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:39	3780	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863272 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:39	3780	[DEBUG]	Store custom available field
2023-10-13	13:30:39	3780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863272,6,'choisir la taille',3)
2023-10-13	13:30:39	3780	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:39	3780	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:39	3780	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:39	3780	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:39	3780	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863272 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:39	3780	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:39	3780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863272,8,1)
2023-10-13	13:30:39	3780	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:39	3780	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863272\":[1863272,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863272
2023-10-13	13:30:39	3780	[DEBUG]	Checking category
2023-10-13	13:30:39	3780	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:39	3780	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863272
2023-10-13	13:30:39	3780	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:39	3780	[DEBUG]	Executed store
2023-10-13	13:30:39	3780	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863272','7385')
2023-10-13	13:30:39	3780	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:39	3780	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863272 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:39	3780	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:39	3780	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863272
2023-10-13	13:30:39	3781	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:39	3781	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:39	3781	[DEBUG]	Use field value for field taille
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:39	3781	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:39	3781	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:39	3781	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:39	3781	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:39	3781	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:39	3781	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:39	3781	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:39	3781	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:39	3781	[DEBUG]	Use field value for field published
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:39	3781	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field override
2023-10-13	13:30:39	3781	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:39	3781	[DEBUG]	Use field value for field slug
2023-10-13	13:30:39	3781	[DEBUG]	Process line 3781
2023-10-13	13:30:39	3781	[DEBUG]	Load a row
2023-10-13	13:30:39	3781	[DEBUG]	Processing item: 1000000146813
2023-10-13	13:30:39	3781	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:39	3781	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:39	3781	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8203_1'
2023-10-13	13:30:39	3781	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:39	3781	[DEBUG]	Processing product tax
2023-10-13	13:30:39	3781	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:39	3781	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:39	3781	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:39	3781	[DEBUG]	Query for Product
2023-10-13	13:30:39	3781	[DEBUG]	Executed store
2023-10-13	13:30:39	3781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863272','1000000146813','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:39	3781	[DEBUG]	No parent found
2023-10-13	13:30:39	3781	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863272 AND customfield_value = 'stockable'
2023-10-13	13:30:39	3781	[DEBUG]	Check product language entry
2023-10-13	13:30:39	3781	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863273
2023-10-13	13:30:39	3781	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:39	3781	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000146813' AND `virtuemart_product_id` != 1863273
2023-10-13	13:30:39	3781	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:39	3781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863273, '1000000146813')
2023-10-13	13:30:39	3781	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:39	3781	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-sacoche-de-guidon-topeak-22-13-18-2l-noir-unitaire' AND `virtuemart_product_id` != 1863273
2023-10-13	13:30:39	3781	[DEBUG]	Query for ProductLang
2023-10-13	13:30:39	3781	[DEBUG]	Executed store
2023-10-13	13:30:39	3781	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Topeak Sacoche de guidon Topeak 22/13/18 2L / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-sacoche-de-guidon-topeak-22-13-18-2l-noir-unitaire' WHERE `virtuemart_product_id` = '1863273'
2023-10-13	13:30:39	3781	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36783_sacoche_de_guidon_topeak_22-13-18_2l.jpg
2023-10-13	13:30:39	3781	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:39	3781	[DEBUG]	Process image file
2023-10-13	13:30:39	3781	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:39	3781	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:39	3781	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36783_sacoche_de_guidon_topeak_22-13-18_2l.jpg
2023-10-13	13:30:39	3781	[DEBUG]	Full name target: bcprisme/36783_sacoche_de_guidon_topeak_22-13-18_2l.jpg
2023-10-13	13:30:40	3781	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:40	3781	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36783_sacoche_de_guidon_topeak_22-13-18_2l.jpg'
2023-10-13	13:30:40	3781	[DEBUG]	Query for Media
2023-10-13	13:30:40	3781	[DEBUG]	Executed store
2023-10-13	13:30:40	3781	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36783_sacoche_de_guidon_topeak_22-13-18_2l.jpg',`file_url_thumb`='bcprisme/36783_sacoche_de_guidon_topeak_22-13-18_2l.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '717670'
2023-10-13	13:30:40	3781	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:40	3781	[DEBUG]	Executed store
2023-10-13	13:30:40	3781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863273','717670','1')
2023-10-13	13:30:40	3781	[DEBUG]	Store product image relation
2023-10-13	13:30:40	3781	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:40	3781	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863273 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:40	3781	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:40	3781	[DEBUG]	Executed store
2023-10-13	13:30:40	3781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863273','0','50.1392757660167','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:40	3781	[DEBUG]	Checking manufacturer
2023-10-13	13:30:40	3781	[DEBUG]	Load a row
2023-10-13	13:30:40	3781	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:40	3781	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:40	3781	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:40	3781	[DEBUG]	Executed store
2023-10-13	13:30:40	3781	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:40	3781	[DEBUG]	Manufacturer exists
2023-10-13	13:30:40	3781	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:30:40	3781	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:40	3781	[DEBUG]	Executed store
2023-10-13	13:30:40	3781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863273','149')
2023-10-13	13:30:40	3781	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:40	3781	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:40	3781	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863273 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:40	3781	[DEBUG]	Store custom available field
2023-10-13	13:30:40	3781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863273,3,'',1)
2023-10-13	13:30:40	3781	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:40	3781	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:40	3781	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863273 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:40	3781	[DEBUG]	Store custom available field
2023-10-13	13:30:40	3781	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863273,6,'Unitaire',3)
2023-10-13	13:30:40	3781	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:40	3781	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:40	3781	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863272
2023-10-13	13:30:40	3781	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:40	3781	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863272\":[1863272,8,1,\"choisir la taille\"],\"1863273\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863272
2023-10-13	13:30:40	3781	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:40	3781	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863273
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:40	3782	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field taille
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:40	3782	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:40	3782	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:40	3782	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:40	3782	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:40	3782	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:40	3782	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:40	3782	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field published
2023-10-13	13:30:40	3782	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:40	3782	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field override
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:40	3782	[DEBUG]	Use field value for field slug
2023-10-13	13:30:40	3782	[DEBUG]	Process line 3782
2023-10-13	13:30:40	3782	[DEBUG]	Load a row
2023-10-13	13:30:40	3782	[DEBUG]	Processing item: A_8423_1
2023-10-13	13:30:40	3782	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:40	3782	[DEBUG]	Processing product tax
2023-10-13	13:30:40	3782	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:40	3782	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:40	3782	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:40	3782	[DEBUG]	Query for Product
2023-10-13	13:30:40	3782	[DEBUG]	Executed store
2023-10-13	13:30:40	3782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8423_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:40	3782	[DEBUG]	Check product language entry
2023-10-13	13:30:40	3782	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863274
2023-10-13	13:30:40	3782	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:40	3782	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8423_1' AND `virtuemart_product_id` != 1863274
2023-10-13	13:30:40	3782	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:40	3782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863274, 'A_8423_1')
2023-10-13	13:30:40	3782	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:40	3782	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-pour-porte-bagage-arriere-topeak-mtx-noir' AND `virtuemart_product_id` != 1863274
2023-10-13	13:30:40	3782	[DEBUG]	Query for ProductLang
2023-10-13	13:30:40	3782	[DEBUG]	Executed store
2023-10-13	13:30:40	3782	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Un panier idéal pour faire des achats. Panier pour porte-bagage en fil métallique avec poignée de transport, compatible avec le système de rail Topeak MTX.<br>N° art fourn : 480.122',`product_name`='KLICKfix Panier pour porte-bagage arrière Topeak MTX / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-pour-porte-bagage-arriere-topeak-mtx-noir' WHERE `virtuemart_product_id` = '1863274'
2023-10-13	13:30:40	3782	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37093_panier_pour_porte-bagage_arriere_topeak_mtx.png has not been found.
2023-10-13	13:30:40	3782	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:40	3782	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863274 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:40	3782	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:40	3782	[DEBUG]	Executed store
2023-10-13	13:30:40	3782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863274','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:40	3782	[DEBUG]	Checking manufacturer
2023-10-13	13:30:40	3782	[DEBUG]	Load a row
2023-10-13	13:30:40	3782	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:40	3782	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:40	3782	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:40	3782	[DEBUG]	Executed store
2023-10-13	13:30:40	3782	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:40	3782	[DEBUG]	Manufacturer exists
2023-10-13	13:30:40	3782	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:30:40	3782	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:40	3782	[DEBUG]	Executed store
2023-10-13	13:30:40	3782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863274','146')
2023-10-13	13:30:40	3782	[DEBUG]	Find the custom field ID
2023-10-13	13:30:40	3782	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:40	3782	[DEBUG]	No custom field ID found
2023-10-13	13:30:40	3782	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:40	3782	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:40	3782	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863274 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:40	3782	[DEBUG]	Store custom available field
2023-10-13	13:30:40	3782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863274,3,'0',1)
2023-10-13	13:30:40	3782	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:40	3782	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:40	3782	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863274 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:40	3782	[DEBUG]	Store custom available field
2023-10-13	13:30:40	3782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863274,6,'choisir la taille',3)
2023-10-13	13:30:40	3782	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:40	3782	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:40	3782	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:40	3782	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:40	3782	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863274 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:40	3782	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:40	3782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863274,8,1)
2023-10-13	13:30:40	3782	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:40	3782	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863274\":[1863274,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863274
2023-10-13	13:30:40	3782	[DEBUG]	Checking category
2023-10-13	13:30:40	3782	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:40	3782	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863274
2023-10-13	13:30:40	3782	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:40	3782	[DEBUG]	Executed store
2023-10-13	13:30:40	3782	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863274','7385')
2023-10-13	13:30:40	3782	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:40	3782	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863274 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:40	3782	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:40	3782	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863274
2023-10-13	13:30:40	3783	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:40	3783	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:40	3783	[DEBUG]	Use field value for field taille
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:40	3783	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:40	3783	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:40	3783	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:40	3783	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:40	3783	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:40	3783	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:40	3783	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:40	3783	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:40	3783	[DEBUG]	Use field value for field published
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:40	3783	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field override
2023-10-13	13:30:40	3783	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:40	3783	[DEBUG]	Use field value for field slug
2023-10-13	13:30:40	3783	[DEBUG]	Process line 3783
2023-10-13	13:30:40	3783	[DEBUG]	Load a row
2023-10-13	13:30:40	3783	[DEBUG]	Processing item: 1000000152265
2023-10-13	13:30:40	3783	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:40	3783	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:40	3783	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8423_1'
2023-10-13	13:30:40	3783	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:40	3783	[DEBUG]	Processing product tax
2023-10-13	13:30:40	3783	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:40	3783	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:40	3783	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:40	3783	[DEBUG]	Query for Product
2023-10-13	13:30:40	3783	[DEBUG]	Executed store
2023-10-13	13:30:40	3783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863274','1000000152265','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:40	3783	[DEBUG]	No parent found
2023-10-13	13:30:40	3783	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863274 AND customfield_value = 'stockable'
2023-10-13	13:30:40	3783	[DEBUG]	Check product language entry
2023-10-13	13:30:40	3783	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863275
2023-10-13	13:30:40	3783	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:40	3783	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152265' AND `virtuemart_product_id` != 1863275
2023-10-13	13:30:40	3783	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:40	3783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863275, '1000000152265')
2023-10-13	13:30:40	3783	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:40	3783	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-pour-porte-bagage-arriere-topeak-mtx-noir-unitaire' AND `virtuemart_product_id` != 1863275
2023-10-13	13:30:40	3783	[DEBUG]	Query for ProductLang
2023-10-13	13:30:40	3783	[DEBUG]	Executed store
2023-10-13	13:30:40	3783	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKfix Panier pour porte-bagage arrière Topeak MTX / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-pour-porte-bagage-arriere-topeak-mtx-noir-unitaire' WHERE `virtuemart_product_id` = '1863275'
2023-10-13	13:30:40	3783	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37093_panier_pour_porte-bagage_arriere_topeak_mtx.png has not been found.
2023-10-13	13:30:40	3783	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:40	3783	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863275 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:40	3783	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:40	3783	[DEBUG]	Executed store
2023-10-13	13:30:40	3783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863275','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:40	3783	[DEBUG]	Checking manufacturer
2023-10-13	13:30:40	3783	[DEBUG]	Load a row
2023-10-13	13:30:40	3783	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:40	3783	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:40	3783	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:40	3783	[DEBUG]	Executed store
2023-10-13	13:30:40	3783	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:40	3783	[DEBUG]	Manufacturer exists
2023-10-13	13:30:40	3783	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:30:40	3783	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:40	3783	[DEBUG]	Executed store
2023-10-13	13:30:40	3783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863275','146')
2023-10-13	13:30:40	3783	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:40	3783	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:40	3783	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863275 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:40	3783	[DEBUG]	Store custom available field
2023-10-13	13:30:40	3783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863275,3,'',1)
2023-10-13	13:30:40	3783	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:40	3783	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:40	3783	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863275 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:40	3783	[DEBUG]	Store custom available field
2023-10-13	13:30:40	3783	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863275,6,'Unitaire',3)
2023-10-13	13:30:40	3783	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:40	3783	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:40	3783	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863274
2023-10-13	13:30:40	3783	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:40	3783	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863274\":[1863274,8,1,\"choisir la taille\"],\"1863275\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863274
2023-10-13	13:30:40	3783	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:40	3783	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863275
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:40	3784	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field taille
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:40	3784	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:40	3784	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:40	3784	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:40	3784	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:40	3784	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:40	3784	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field published
2023-10-13	13:30:40	3784	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:40	3784	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field override
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:40	3784	[DEBUG]	Use field value for field slug
2023-10-13	13:30:40	3784	[DEBUG]	Process line 3784
2023-10-13	13:30:40	3784	[DEBUG]	Load a row
2023-10-13	13:30:40	3784	[DEBUG]	Processing item: A_8425_1
2023-10-13	13:30:40	3784	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:40	3784	[DEBUG]	Processing product tax
2023-10-13	13:30:40	3784	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:40	3784	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:40	3784	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:40	3784	[DEBUG]	Query for Product
2023-10-13	13:30:40	3784	[DEBUG]	Executed store
2023-10-13	13:30:40	3784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8425_1','3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:40	3784	[DEBUG]	Check product language entry
2023-10-13	13:30:40	3784	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863276
2023-10-13	13:30:40	3784	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:40	3784	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8425_1' AND `virtuemart_product_id` != 1863276
2023-10-13	13:30:40	3784	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:40	3784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863276, 'A_8425_1')
2023-10-13	13:30:40	3784	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:40	3784	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-sacoche-de-porte-bagages-topeak-mtx-trunkbag-dxp-litres-noir' AND `virtuemart_product_id` != 1863276
2023-10-13	13:30:40	3784	[DEBUG]	Query for ProductLang
2023-10-13	13:30:40	3784	[DEBUG]	Executed store
2023-10-13	13:30:40	3784	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Avec une capacité de 12,3 litres, le MTX Trunkbag DX de Topeak offre suffisamment d\'espace pour tout ce dont tu as besoin lors de ta randonnée à vélo, le compartiment principal en mousse EVA, divisé et indéformable, repose sur une plaque robuste et maintient le sac de transport en place. Le compartiment principal offre un supplément de volume en s\'agrandissant vers le haut par l\'intermédiaire d\'un zip. La Trunkbag possède deux compartiments sur les côtés et la poche arrière permet de ranger un bidon à portée de main. Elle se fixe en un clic sur le porte-bagages grâce au système MTX QuickTrack - insérer, clipser, c\'est fixé.<br>N° art fourn : 260.241',`product_name`='KLICKfix Sacoche de porte-bagages Topeak MTX Trunkbag DXP  litres  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-sacoche-de-porte-bagages-topeak-mtx-trunkbag-dxp-litres-noir' WHERE `virtuemart_product_id` = '1863276'
2023-10-13	13:30:40	3784	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37095_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__litres_.png
2023-10-13	13:30:40	3784	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000640
2023-10-13	13:30:40	3784	[DEBUG]	Process image file
2023-10-13	13:30:40	3784	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000640
2023-10-13	13:30:40	3784	[DEBUG]	Mime type found: image/png
2023-10-13	13:30:40	3784	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37095_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__litres_.png
2023-10-13	13:30:40	3784	[DEBUG]	Full name target: bcprisme/37095_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__litres_.png
2023-10-13	13:30:41	3784	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:41	3784	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37095_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__litres_.png'
2023-10-13	13:30:41	3784	[DEBUG]	Query for Media
2023-10-13	13:30:41	3784	[DEBUG]	Executed store
2023-10-13	13:30:41	3784	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37095_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__litres_.png',`file_url_thumb`='bcprisme/37095_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__litres_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '831377'
2023-10-13	13:30:41	3784	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:41	3784	[DEBUG]	Executed store
2023-10-13	13:30:41	3784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863276','831377','1')
2023-10-13	13:30:41	3784	[DEBUG]	Store product image relation
2023-10-13	13:30:41	3784	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:41	3784	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863276 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:41	3784	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:41	3784	[DEBUG]	Executed store
2023-10-13	13:30:41	3784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863276','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:41	3784	[DEBUG]	Checking manufacturer
2023-10-13	13:30:41	3784	[DEBUG]	Load a row
2023-10-13	13:30:41	3784	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:41	3784	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:41	3784	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:41	3784	[DEBUG]	Executed store
2023-10-13	13:30:41	3784	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:41	3784	[DEBUG]	Manufacturer exists
2023-10-13	13:30:41	3784	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:30:41	3784	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:41	3784	[DEBUG]	Executed store
2023-10-13	13:30:41	3784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863276','146')
2023-10-13	13:30:41	3784	[DEBUG]	Find the custom field ID
2023-10-13	13:30:41	3784	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:41	3784	[DEBUG]	No custom field ID found
2023-10-13	13:30:41	3784	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:41	3784	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:41	3784	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863276 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:41	3784	[DEBUG]	Store custom available field
2023-10-13	13:30:41	3784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863276,3,'0',1)
2023-10-13	13:30:41	3784	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:41	3784	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:41	3784	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863276 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:41	3784	[DEBUG]	Store custom available field
2023-10-13	13:30:41	3784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863276,6,'choisir la taille',3)
2023-10-13	13:30:41	3784	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:41	3784	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:41	3784	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:41	3784	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:41	3784	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863276 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:41	3784	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:41	3784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863276,8,1)
2023-10-13	13:30:41	3784	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:41	3784	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863276\":[1863276,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863276
2023-10-13	13:30:41	3784	[DEBUG]	Checking category
2023-10-13	13:30:41	3784	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:41	3784	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863276
2023-10-13	13:30:41	3784	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:41	3784	[DEBUG]	Executed store
2023-10-13	13:30:41	3784	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863276','7385')
2023-10-13	13:30:41	3784	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:41	3784	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863276 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:41	3784	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:41	3784	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863276
2023-10-13	13:30:41	3785	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:41	3785	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:41	3785	[DEBUG]	Use field value for field taille
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:41	3785	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:41	3785	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:41	3785	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:41	3785	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:41	3785	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:41	3785	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:41	3785	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:41	3785	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:41	3785	[DEBUG]	Use field value for field published
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:41	3785	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field override
2023-10-13	13:30:41	3785	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:41	3785	[DEBUG]	Use field value for field slug
2023-10-13	13:30:41	3785	[DEBUG]	Process line 3785
2023-10-13	13:30:41	3785	[DEBUG]	Load a row
2023-10-13	13:30:41	3785	[DEBUG]	Processing item: 1000000152289
2023-10-13	13:30:41	3785	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:41	3785	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:41	3785	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8425_1'
2023-10-13	13:30:41	3785	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:41	3785	[DEBUG]	Processing product tax
2023-10-13	13:30:41	3785	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:41	3785	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:41	3785	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:41	3785	[DEBUG]	Query for Product
2023-10-13	13:30:41	3785	[DEBUG]	Executed store
2023-10-13	13:30:41	3785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863276','1000000152289','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:41	3785	[DEBUG]	No parent found
2023-10-13	13:30:41	3785	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863276 AND customfield_value = 'stockable'
2023-10-13	13:30:41	3785	[DEBUG]	Check product language entry
2023-10-13	13:30:41	3785	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863277
2023-10-13	13:30:41	3785	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:41	3785	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152289' AND `virtuemart_product_id` != 1863277
2023-10-13	13:30:41	3785	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:41	3785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863277, '1000000152289')
2023-10-13	13:30:41	3785	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:41	3785	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-sacoche-de-porte-bagages-topeak-mtx-trunkbag-dxp-litres-noir-unitaire' AND `virtuemart_product_id` != 1863277
2023-10-13	13:30:41	3785	[DEBUG]	Query for ProductLang
2023-10-13	13:30:41	3785	[DEBUG]	Executed store
2023-10-13	13:30:41	3785	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKfix Sacoche de porte-bagages Topeak MTX Trunkbag DXP  litres  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-sacoche-de-porte-bagages-topeak-mtx-trunkbag-dxp-litres-noir-unitaire' WHERE `virtuemart_product_id` = '1863277'
2023-10-13	13:30:41	3785	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37095_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__litres_.png
2023-10-13	13:30:41	3785	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000640
2023-10-13	13:30:41	3785	[DEBUG]	Process image file
2023-10-13	13:30:41	3785	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000640
2023-10-13	13:30:41	3785	[DEBUG]	Mime type found: image/png
2023-10-13	13:30:41	3785	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37095_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__litres_.png
2023-10-13	13:30:41	3785	[DEBUG]	Full name target: bcprisme/37095_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__litres_.png
2023-10-13	13:30:42	3785	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:42	3785	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37095_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__litres_.png'
2023-10-13	13:30:42	3785	[DEBUG]	Query for Media
2023-10-13	13:30:42	3785	[DEBUG]	Executed store
2023-10-13	13:30:42	3785	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37095_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__litres_.png',`file_url_thumb`='bcprisme/37095_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__litres_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '831377'
2023-10-13	13:30:42	3785	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:42	3785	[DEBUG]	Executed store
2023-10-13	13:30:42	3785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863277','831377','1')
2023-10-13	13:30:42	3785	[DEBUG]	Store product image relation
2023-10-13	13:30:42	3785	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:42	3785	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863277 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:42	3785	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:42	3785	[DEBUG]	Executed store
2023-10-13	13:30:42	3785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863277','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:42	3785	[DEBUG]	Checking manufacturer
2023-10-13	13:30:42	3785	[DEBUG]	Load a row
2023-10-13	13:30:42	3785	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:42	3785	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:42	3785	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:42	3785	[DEBUG]	Executed store
2023-10-13	13:30:42	3785	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:42	3785	[DEBUG]	Manufacturer exists
2023-10-13	13:30:42	3785	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:30:42	3785	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:42	3785	[DEBUG]	Executed store
2023-10-13	13:30:42	3785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863277','146')
2023-10-13	13:30:42	3785	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:42	3785	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:42	3785	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863277 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:42	3785	[DEBUG]	Store custom available field
2023-10-13	13:30:42	3785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863277,3,'',1)
2023-10-13	13:30:42	3785	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:42	3785	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:42	3785	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863277 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:42	3785	[DEBUG]	Store custom available field
2023-10-13	13:30:42	3785	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863277,6,'Unitaire',3)
2023-10-13	13:30:42	3785	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:42	3785	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:42	3785	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863276
2023-10-13	13:30:42	3785	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:42	3785	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863276\":[1863276,8,1,\"choisir la taille\"],\"1863277\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863276
2023-10-13	13:30:42	3785	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:42	3785	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863277
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:42	3786	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field taille
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:42	3786	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:42	3786	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:42	3786	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:42	3786	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:42	3786	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:42	3786	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field published
2023-10-13	13:30:42	3786	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:42	3786	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field override
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:42	3786	[DEBUG]	Use field value for field slug
2023-10-13	13:30:42	3786	[DEBUG]	Process line 3786
2023-10-13	13:30:42	3786	[DEBUG]	Load a row
2023-10-13	13:30:42	3786	[DEBUG]	Processing item: A_8468_1
2023-10-13	13:30:42	3786	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:42	3786	[DEBUG]	Processing product tax
2023-10-13	13:30:42	3786	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:42	3786	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:42	3786	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:42	3786	[DEBUG]	Query for Product
2023-10-13	13:30:42	3786	[DEBUG]	Executed store
2023-10-13	13:30:42	3786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8468_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:42	3786	[DEBUG]	Check product language entry
2023-10-13	13:30:42	3786	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863278
2023-10-13	13:30:42	3786	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:42	3786	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8468_1' AND `virtuemart_product_id` != 1863278
2023-10-13	13:30:42	3786	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:42	3786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863278, 'A_8468_1')
2023-10-13	13:30:42	3786	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:42	3786	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'basil-panier-basel-cento-mik-noir' AND `virtuemart_product_id` != 1863278
2023-10-13	13:30:42	3786	[DEBUG]	Query for ProductLang
2023-10-13	13:30:42	3786	[DEBUG]	Executed store
2023-10-13	13:30:42	3786	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 480.002.009',`product_name`='BASIL Panier Basel Cento MIK,  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='basil-panier-basel-cento-mik-noir' WHERE `virtuemart_product_id` = '1863278'
2023-10-13	13:30:42	3786	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37231_panier_basel_cento_mik,_.jpg
2023-10-13	13:30:42	3786	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:42	3786	[DEBUG]	Process image file
2023-10-13	13:30:42	3786	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:42	3786	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:42	3786	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37231_panier_basel_cento_mik,_.jpg
2023-10-13	13:30:42	3786	[DEBUG]	Full name target: bcprisme/37231_panier_basel_cento_mik,_.jpg
2023-10-13	13:30:43	3786	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:43	3786	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37231_panier_basel_cento_mik,_.jpg'
2023-10-13	13:30:43	3786	[DEBUG]	Query for Media
2023-10-13	13:30:43	3786	[DEBUG]	Executed store
2023-10-13	13:30:43	3786	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37231_panier_basel_cento_mik,_.jpg',`file_url_thumb`='bcprisme/37231_panier_basel_cento_mik,_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '901333'
2023-10-13	13:30:43	3786	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:43	3786	[DEBUG]	Executed store
2023-10-13	13:30:43	3786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863278','901333','1')
2023-10-13	13:30:43	3786	[DEBUG]	Store product image relation
2023-10-13	13:30:43	3786	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:43	3786	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863278 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:43	3786	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:43	3786	[DEBUG]	Executed store
2023-10-13	13:30:43	3786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863278','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:43	3786	[DEBUG]	Checking manufacturer
2023-10-13	13:30:43	3786	[DEBUG]	Load a row
2023-10-13	13:30:43	3786	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:43	3786	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:43	3786	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:43	3786	[DEBUG]	Executed store
2023-10-13	13:30:43	3786	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='163',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='163' WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:43	3786	[DEBUG]	Manufacturer exists
2023-10-13	13:30:43	3786	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 228
2023-10-13	13:30:43	3786	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:43	3786	[DEBUG]	Executed store
2023-10-13	13:30:43	3786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863278','228')
2023-10-13	13:30:43	3786	[DEBUG]	Find the custom field ID
2023-10-13	13:30:43	3786	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:43	3786	[DEBUG]	No custom field ID found
2023-10-13	13:30:43	3786	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:43	3786	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:43	3786	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863278 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:43	3786	[DEBUG]	Store custom available field
2023-10-13	13:30:43	3786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863278,3,'0',1)
2023-10-13	13:30:43	3786	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:43	3786	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:43	3786	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863278 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:43	3786	[DEBUG]	Store custom available field
2023-10-13	13:30:43	3786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863278,6,'choisir la taille',3)
2023-10-13	13:30:43	3786	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:43	3786	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:43	3786	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:43	3786	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:43	3786	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863278 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:43	3786	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:43	3786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863278,8,1)
2023-10-13	13:30:43	3786	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:43	3786	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863278\":[1863278,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863278
2023-10-13	13:30:43	3786	[DEBUG]	Checking category
2023-10-13	13:30:43	3786	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:43	3786	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863278
2023-10-13	13:30:43	3786	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:43	3786	[DEBUG]	Executed store
2023-10-13	13:30:43	3786	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863278','7385')
2023-10-13	13:30:43	3786	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:43	3786	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863278 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:43	3786	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:43	3786	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863278
2023-10-13	13:30:43	3787	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:43	3787	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:43	3787	[DEBUG]	Use field value for field taille
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:43	3787	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:43	3787	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:43	3787	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:43	3787	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:43	3787	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:43	3787	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:43	3787	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:43	3787	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:43	3787	[DEBUG]	Use field value for field published
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:43	3787	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field override
2023-10-13	13:30:43	3787	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:43	3787	[DEBUG]	Use field value for field slug
2023-10-13	13:30:43	3787	[DEBUG]	Process line 3787
2023-10-13	13:30:43	3787	[DEBUG]	Load a row
2023-10-13	13:30:43	3787	[DEBUG]	Processing item: 1000000152944
2023-10-13	13:30:43	3787	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:43	3787	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:43	3787	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8468_1'
2023-10-13	13:30:43	3787	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:43	3787	[DEBUG]	Processing product tax
2023-10-13	13:30:43	3787	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:43	3787	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:43	3787	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:43	3787	[DEBUG]	Query for Product
2023-10-13	13:30:43	3787	[DEBUG]	Executed store
2023-10-13	13:30:43	3787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863278','1000000152944','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:43	3787	[DEBUG]	No parent found
2023-10-13	13:30:43	3787	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863278 AND customfield_value = 'stockable'
2023-10-13	13:30:43	3787	[DEBUG]	Check product language entry
2023-10-13	13:30:43	3787	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863279
2023-10-13	13:30:43	3787	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:43	3787	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000152944' AND `virtuemart_product_id` != 1863279
2023-10-13	13:30:43	3787	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:43	3787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863279, '1000000152944')
2023-10-13	13:30:43	3787	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:43	3787	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'basil-panier-basel-cento-mik-noir-unitaire' AND `virtuemart_product_id` != 1863279
2023-10-13	13:30:43	3787	[DEBUG]	Query for ProductLang
2023-10-13	13:30:43	3787	[DEBUG]	Executed store
2023-10-13	13:30:43	3787	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BASIL Panier Basel Cento MIK,  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='basil-panier-basel-cento-mik-noir-unitaire' WHERE `virtuemart_product_id` = '1863279'
2023-10-13	13:30:43	3787	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37231_panier_basel_cento_mik,_.jpg
2023-10-13	13:30:43	3787	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:43	3787	[DEBUG]	Process image file
2023-10-13	13:30:43	3787	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:43	3787	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:43	3787	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37231_panier_basel_cento_mik,_.jpg
2023-10-13	13:30:43	3787	[DEBUG]	Full name target: bcprisme/37231_panier_basel_cento_mik,_.jpg
2023-10-13	13:30:44	3787	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:44	3787	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37231_panier_basel_cento_mik,_.jpg'
2023-10-13	13:30:44	3787	[DEBUG]	Query for Media
2023-10-13	13:30:44	3787	[DEBUG]	Executed store
2023-10-13	13:30:44	3787	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37231_panier_basel_cento_mik,_.jpg',`file_url_thumb`='bcprisme/37231_panier_basel_cento_mik,_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '901333'
2023-10-13	13:30:44	3787	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:44	3787	[DEBUG]	Executed store
2023-10-13	13:30:44	3787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863279','901333','1')
2023-10-13	13:30:44	3787	[DEBUG]	Store product image relation
2023-10-13	13:30:44	3787	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:44	3787	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863279 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:44	3787	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:44	3787	[DEBUG]	Executed store
2023-10-13	13:30:44	3787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863279','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:44	3787	[DEBUG]	Checking manufacturer
2023-10-13	13:30:44	3787	[DEBUG]	Load a row
2023-10-13	13:30:44	3787	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:44	3787	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:44	3787	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:44	3787	[DEBUG]	Executed store
2023-10-13	13:30:44	3787	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='163',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='163' WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:44	3787	[DEBUG]	Manufacturer exists
2023-10-13	13:30:44	3787	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 228
2023-10-13	13:30:44	3787	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:44	3787	[DEBUG]	Executed store
2023-10-13	13:30:44	3787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863279','228')
2023-10-13	13:30:44	3787	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:44	3787	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:44	3787	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863279 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:44	3787	[DEBUG]	Store custom available field
2023-10-13	13:30:44	3787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863279,3,'',1)
2023-10-13	13:30:44	3787	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:44	3787	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:44	3787	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863279 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:44	3787	[DEBUG]	Store custom available field
2023-10-13	13:30:44	3787	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863279,6,'Unitaire',3)
2023-10-13	13:30:44	3787	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:44	3787	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:44	3787	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863278
2023-10-13	13:30:44	3787	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:44	3787	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863278\":[1863278,8,1,\"choisir la taille\"],\"1863279\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863278
2023-10-13	13:30:44	3787	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:44	3787	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863279
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:44	3788	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field taille
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:44	3788	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:44	3788	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:44	3788	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:44	3788	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:44	3788	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:44	3788	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:44	3788	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field published
2023-10-13	13:30:44	3788	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:44	3788	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field override
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:44	3788	[DEBUG]	Use field value for field slug
2023-10-13	13:30:44	3788	[DEBUG]	Process line 3788
2023-10-13	13:30:44	3788	[DEBUG]	Load a row
2023-10-13	13:30:44	3788	[DEBUG]	Processing item: A_8546_1
2023-10-13	13:30:44	3788	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:44	3788	[DEBUG]	Processing product tax
2023-10-13	13:30:44	3788	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:44	3788	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:44	3788	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:44	3788	[DEBUG]	Query for Product
2023-10-13	13:30:44	3788	[DEBUG]	Executed store
2023-10-13	13:30:44	3788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8546_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:44	3788	[DEBUG]	Check product language entry
2023-10-13	13:30:44	3788	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863280
2023-10-13	13:30:44	3788	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:44	3788	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8546_1' AND `virtuemart_product_id` != 1863280
2023-10-13	13:30:44	3788	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:44	3788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863280, 'A_8546_1')
2023-10-13	13:30:44	3788	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:44	3788	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-sacoche-de-guidon-perform-essentials-noir-8l-noir' AND `virtuemart_product_id` != 1863280
2023-10-13	13:30:44	3788	[DEBUG]	Query for ProductLang
2023-10-13	13:30:44	3788	[DEBUG]	Executed store
2023-10-13	13:30:44	3788	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 28.74512',`product_name`='Agu Sacoche de guidon Perform.Essentials noir 8L / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-sacoche-de-guidon-perform-essentials-noir-8l-noir' WHERE `virtuemart_product_id` = '1863280'
2023-10-13	13:30:44	3788	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_74512_fr_jpg.jpg has not been found.
2023-10-13	13:30:44	3788	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:44	3788	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863280 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:44	3788	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:44	3788	[DEBUG]	Executed store
2023-10-13	13:30:44	3788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863280','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:44	3788	[DEBUG]	Checking manufacturer
2023-10-13	13:30:44	3788	[DEBUG]	Load a row
2023-10-13	13:30:44	3788	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:44	3788	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:30:44	3788	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:44	3788	[DEBUG]	Executed store
2023-10-13	13:30:44	3788	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:30:44	3788	[DEBUG]	Manufacturer exists
2023-10-13	13:30:44	3788	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	13:30:44	3788	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:44	3788	[DEBUG]	Executed store
2023-10-13	13:30:44	3788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863280','45')
2023-10-13	13:30:44	3788	[DEBUG]	Find the custom field ID
2023-10-13	13:30:44	3788	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:44	3788	[DEBUG]	No custom field ID found
2023-10-13	13:30:44	3788	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:44	3788	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:44	3788	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863280 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:44	3788	[DEBUG]	Store custom available field
2023-10-13	13:30:44	3788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863280,3,'0',1)
2023-10-13	13:30:44	3788	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:44	3788	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:44	3788	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863280 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:44	3788	[DEBUG]	Store custom available field
2023-10-13	13:30:44	3788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863280,6,'choisir la taille',3)
2023-10-13	13:30:44	3788	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:44	3788	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:44	3788	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:44	3788	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:44	3788	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863280 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:44	3788	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:44	3788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863280,8,1)
2023-10-13	13:30:44	3788	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:44	3788	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863280\":[1863280,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863280
2023-10-13	13:30:44	3788	[DEBUG]	Checking category
2023-10-13	13:30:44	3788	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:44	3788	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863280
2023-10-13	13:30:44	3788	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:44	3788	[DEBUG]	Executed store
2023-10-13	13:30:44	3788	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863280','7385')
2023-10-13	13:30:44	3788	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:44	3788	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863280 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:44	3788	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:44	3788	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863280
2023-10-13	13:30:44	3789	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:44	3789	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:44	3789	[DEBUG]	Use field value for field taille
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:44	3789	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:44	3789	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:44	3789	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:44	3789	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:44	3789	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:44	3789	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:44	3789	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:44	3789	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:44	3789	[DEBUG]	Use field value for field published
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:44	3789	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field override
2023-10-13	13:30:44	3789	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:44	3789	[DEBUG]	Use field value for field slug
2023-10-13	13:30:44	3789	[DEBUG]	Process line 3789
2023-10-13	13:30:44	3789	[DEBUG]	Load a row
2023-10-13	13:30:44	3789	[DEBUG]	Processing item: 8717565561021
2023-10-13	13:30:44	3789	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:44	3789	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:44	3789	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8546_1'
2023-10-13	13:30:44	3789	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:44	3789	[DEBUG]	Processing product tax
2023-10-13	13:30:44	3789	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:44	3789	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:44	3789	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:44	3789	[DEBUG]	Query for Product
2023-10-13	13:30:44	3789	[DEBUG]	Executed store
2023-10-13	13:30:44	3789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863280','8717565561021','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:44	3789	[DEBUG]	No parent found
2023-10-13	13:30:44	3789	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863280 AND customfield_value = 'stockable'
2023-10-13	13:30:44	3789	[DEBUG]	Check product language entry
2023-10-13	13:30:44	3789	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863281
2023-10-13	13:30:44	3789	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:44	3789	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717565561021' AND `virtuemart_product_id` != 1863281
2023-10-13	13:30:44	3789	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:44	3789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863281, '8717565561021')
2023-10-13	13:30:44	3789	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:44	3789	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-sacoche-de-guidon-perform-essentials-noir-8l-noir-unitaire' AND `virtuemart_product_id` != 1863281
2023-10-13	13:30:44	3789	[DEBUG]	Query for ProductLang
2023-10-13	13:30:44	3789	[DEBUG]	Executed store
2023-10-13	13:30:44	3789	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Agu Sacoche de guidon Perform.Essentials noir 8L / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-sacoche-de-guidon-perform-essentials-noir-8l-noir-unitaire' WHERE `virtuemart_product_id` = '1863281'
2023-10-13	13:30:44	3789	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_74512_fr_jpg.jpg has not been found.
2023-10-13	13:30:44	3789	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:44	3789	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863281 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:44	3789	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:44	3789	[DEBUG]	Executed store
2023-10-13	13:30:44	3789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863281','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:44	3789	[DEBUG]	Checking manufacturer
2023-10-13	13:30:44	3789	[DEBUG]	Load a row
2023-10-13	13:30:44	3789	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:44	3789	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:30:44	3789	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:44	3789	[DEBUG]	Executed store
2023-10-13	13:30:44	3789	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:30:44	3789	[DEBUG]	Manufacturer exists
2023-10-13	13:30:44	3789	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	13:30:44	3789	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:44	3789	[DEBUG]	Executed store
2023-10-13	13:30:44	3789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863281','45')
2023-10-13	13:30:44	3789	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:44	3789	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:44	3789	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863281 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:44	3789	[DEBUG]	Store custom available field
2023-10-13	13:30:44	3789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863281,3,'',1)
2023-10-13	13:30:44	3789	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:44	3789	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:44	3789	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863281 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:44	3789	[DEBUG]	Store custom available field
2023-10-13	13:30:44	3789	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863281,6,'Unitaire',3)
2023-10-13	13:30:44	3789	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:44	3789	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:44	3789	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863280
2023-10-13	13:30:44	3789	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:44	3789	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863280\":[1863280,8,1,\"choisir la taille\"],\"1863281\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863280
2023-10-13	13:30:44	3789	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:44	3789	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863281
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:44	3790	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field taille
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:44	3790	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:44	3790	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:44	3790	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:44	3790	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:44	3790	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:44	3790	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:44	3790	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field published
2023-10-13	13:30:44	3790	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:44	3790	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field override
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:44	3790	[DEBUG]	Use field value for field slug
2023-10-13	13:30:44	3790	[DEBUG]	Process line 3790
2023-10-13	13:30:44	3790	[DEBUG]	Load a row
2023-10-13	13:30:44	3790	[DEBUG]	Processing item: A_9131_1
2023-10-13	13:30:44	3790	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:44	3790	[DEBUG]	Processing product tax
2023-10-13	13:30:44	3790	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:44	3790	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:44	3790	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:44	3790	[DEBUG]	Query for Product
2023-10-13	13:30:44	3790	[DEBUG]	Executed store
2023-10-13	13:30:44	3790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9131_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:44	3790	[DEBUG]	Check product language entry
2023-10-13	13:30:44	3790	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863282
2023-10-13	13:30:44	3790	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:44	3790	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9131_1' AND `virtuemart_product_id` != 1863282
2023-10-13	13:30:44	3790	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:44	3790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863282, 'A_9131_1')
2023-10-13	13:30:44	3790	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:44	3790	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-sacoche-de-cadre-toploader-noir' AND `virtuemart_product_id` != 1863282
2023-10-13	13:30:44	3790	[DEBUG]	Query for ProductLang
2023-10-13	13:30:44	3790	[DEBUG]	Executed store
2023-10-13	13:30:44	3790	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Capacité de 0,75 litre<br>Matériau extérieur hydrofuge<br>Accès rapide via une fermeture à glissière en haut<br>Montage via une sangle velcro<br>Deux positions de montage possibles<br>Compartiment principal rembourré et fendu<br>Housse de pluie intégrée<br>Dimensions: 23,5 x 12 x 7 cm<br>Diamètre du tube de tête: 34-75 mm<br>Diamètre du tube supérieur: 35-46 mm<br>Poids: 169 g<br>N° art fourn : 260.002.006',`product_name`='Topeak Sacoche de cadre Toploader / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-sacoche-de-cadre-toploader-noir' WHERE `virtuemart_product_id` = '1863282'
2023-10-13	13:30:44	3790	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38192_sacoche_de_cadre_toploader.jpg
2023-10-13	13:30:44	3790	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:44	3790	[DEBUG]	Process image file
2023-10-13	13:30:44	3790	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:44	3790	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:44	3790	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38192_sacoche_de_cadre_toploader.jpg
2023-10-13	13:30:44	3790	[DEBUG]	Full name target: bcprisme/38192_sacoche_de_cadre_toploader.jpg
2023-10-13	13:30:45	3790	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:45	3790	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38192_sacoche_de_cadre_toploader.jpg'
2023-10-13	13:30:45	3790	[DEBUG]	Query for Media
2023-10-13	13:30:45	3790	[DEBUG]	Executed store
2023-10-13	13:30:45	3790	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38192_sacoche_de_cadre_toploader.jpg',`file_url_thumb`='bcprisme/38192_sacoche_de_cadre_toploader.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1278115'
2023-10-13	13:30:45	3790	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:45	3790	[DEBUG]	Executed store
2023-10-13	13:30:45	3790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863282','1278115','1')
2023-10-13	13:30:45	3790	[DEBUG]	Store product image relation
2023-10-13	13:30:45	3790	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:45	3790	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863282 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:45	3790	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:45	3790	[DEBUG]	Executed store
2023-10-13	13:30:45	3790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863282','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:45	3790	[DEBUG]	Checking manufacturer
2023-10-13	13:30:45	3790	[DEBUG]	Load a row
2023-10-13	13:30:45	3790	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:45	3790	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:45	3790	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:45	3790	[DEBUG]	Executed store
2023-10-13	13:30:45	3790	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:45	3790	[DEBUG]	Manufacturer exists
2023-10-13	13:30:45	3790	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:30:45	3790	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:45	3790	[DEBUG]	Executed store
2023-10-13	13:30:45	3790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863282','149')
2023-10-13	13:30:45	3790	[DEBUG]	Find the custom field ID
2023-10-13	13:30:45	3790	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:45	3790	[DEBUG]	No custom field ID found
2023-10-13	13:30:45	3790	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:45	3790	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:45	3790	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863282 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:45	3790	[DEBUG]	Store custom available field
2023-10-13	13:30:45	3790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863282,3,'0',1)
2023-10-13	13:30:45	3790	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:45	3790	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:45	3790	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863282 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:45	3790	[DEBUG]	Store custom available field
2023-10-13	13:30:45	3790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863282,6,'choisir la taille',3)
2023-10-13	13:30:45	3790	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:45	3790	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:45	3790	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:45	3790	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:45	3790	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863282 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:45	3790	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:45	3790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863282,8,1)
2023-10-13	13:30:45	3790	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:45	3790	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863282\":[1863282,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863282
2023-10-13	13:30:45	3790	[DEBUG]	Checking category
2023-10-13	13:30:45	3790	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:45	3790	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863282
2023-10-13	13:30:45	3790	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:45	3790	[DEBUG]	Executed store
2023-10-13	13:30:45	3790	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863282','7385')
2023-10-13	13:30:45	3790	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:45	3790	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863282 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:45	3790	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:45	3790	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863282
2023-10-13	13:30:45	3791	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:45	3791	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:45	3791	[DEBUG]	Use field value for field taille
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:45	3791	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:45	3791	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:45	3791	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:45	3791	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:45	3791	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:45	3791	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:45	3791	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:45	3791	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:45	3791	[DEBUG]	Use field value for field published
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:45	3791	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field override
2023-10-13	13:30:45	3791	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:45	3791	[DEBUG]	Use field value for field slug
2023-10-13	13:30:45	3791	[DEBUG]	Process line 3791
2023-10-13	13:30:45	3791	[DEBUG]	Load a row
2023-10-13	13:30:45	3791	[DEBUG]	Processing item: 4710069682548
2023-10-13	13:30:45	3791	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:45	3791	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:45	3791	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9131_1'
2023-10-13	13:30:45	3791	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:45	3791	[DEBUG]	Processing product tax
2023-10-13	13:30:45	3791	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:45	3791	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:45	3791	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:45	3791	[DEBUG]	Query for Product
2023-10-13	13:30:45	3791	[DEBUG]	Executed store
2023-10-13	13:30:45	3791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863282','4710069682548','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:45	3791	[DEBUG]	No parent found
2023-10-13	13:30:45	3791	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863282 AND customfield_value = 'stockable'
2023-10-13	13:30:45	3791	[DEBUG]	Check product language entry
2023-10-13	13:30:45	3791	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863283
2023-10-13	13:30:45	3791	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:45	3791	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4710069682548' AND `virtuemart_product_id` != 1863283
2023-10-13	13:30:45	3791	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:45	3791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863283, '4710069682548')
2023-10-13	13:30:45	3791	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:45	3791	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-sacoche-de-cadre-toploader-noir-unitaire' AND `virtuemart_product_id` != 1863283
2023-10-13	13:30:45	3791	[DEBUG]	Query for ProductLang
2023-10-13	13:30:45	3791	[DEBUG]	Executed store
2023-10-13	13:30:45	3791	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Topeak Sacoche de cadre Toploader / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-sacoche-de-cadre-toploader-noir-unitaire' WHERE `virtuemart_product_id` = '1863283'
2023-10-13	13:30:45	3791	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38192_sacoche_de_cadre_toploader.jpg
2023-10-13	13:30:45	3791	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:45	3791	[DEBUG]	Process image file
2023-10-13	13:30:45	3791	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:45	3791	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:45	3791	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38192_sacoche_de_cadre_toploader.jpg
2023-10-13	13:30:45	3791	[DEBUG]	Full name target: bcprisme/38192_sacoche_de_cadre_toploader.jpg
2023-10-13	13:30:46	3791	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:46	3791	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38192_sacoche_de_cadre_toploader.jpg'
2023-10-13	13:30:46	3791	[DEBUG]	Query for Media
2023-10-13	13:30:46	3791	[DEBUG]	Executed store
2023-10-13	13:30:46	3791	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38192_sacoche_de_cadre_toploader.jpg',`file_url_thumb`='bcprisme/38192_sacoche_de_cadre_toploader.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1278115'
2023-10-13	13:30:46	3791	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:46	3791	[DEBUG]	Executed store
2023-10-13	13:30:46	3791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863283','1278115','1')
2023-10-13	13:30:46	3791	[DEBUG]	Store product image relation
2023-10-13	13:30:46	3791	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:46	3791	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863283 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:46	3791	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:46	3791	[DEBUG]	Executed store
2023-10-13	13:30:46	3791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863283','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:46	3791	[DEBUG]	Checking manufacturer
2023-10-13	13:30:46	3791	[DEBUG]	Load a row
2023-10-13	13:30:46	3791	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:46	3791	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:46	3791	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:46	3791	[DEBUG]	Executed store
2023-10-13	13:30:46	3791	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:46	3791	[DEBUG]	Manufacturer exists
2023-10-13	13:30:46	3791	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:30:46	3791	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:46	3791	[DEBUG]	Executed store
2023-10-13	13:30:46	3791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863283','149')
2023-10-13	13:30:46	3791	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:46	3791	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:46	3791	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863283 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:46	3791	[DEBUG]	Store custom available field
2023-10-13	13:30:46	3791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863283,3,'',1)
2023-10-13	13:30:47	3791	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:47	3791	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:47	3791	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863283 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:47	3791	[DEBUG]	Store custom available field
2023-10-13	13:30:47	3791	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863283,6,'Unitaire',3)
2023-10-13	13:30:47	3791	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:47	3791	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:47	3791	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863282
2023-10-13	13:30:47	3791	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:47	3791	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863282\":[1863282,8,1,\"choisir la taille\"],\"1863283\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863282
2023-10-13	13:30:47	3791	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:47	3791	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863283
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:47	3792	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field taille
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:47	3792	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:47	3792	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:47	3792	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:47	3792	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:47	3792	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:47	3792	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:47	3792	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field published
2023-10-13	13:30:47	3792	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:47	3792	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field override
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:47	3792	[DEBUG]	Use field value for field slug
2023-10-13	13:30:47	3792	[DEBUG]	Process line 3792
2023-10-13	13:30:47	3792	[DEBUG]	Load a row
2023-10-13	13:30:47	3792	[DEBUG]	Processing item: A_9133_1
2023-10-13	13:30:47	3792	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:47	3792	[DEBUG]	Processing product tax
2023-10-13	13:30:47	3792	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:47	3792	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:47	3792	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:47	3792	[DEBUG]	Query for Product
2023-10-13	13:30:47	3792	[DEBUG]	Executed store
2023-10-13	13:30:47	3792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9133_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:47	3792	[DEBUG]	Check product language entry
2023-10-13	13:30:47	3792	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863284
2023-10-13	13:30:47	3792	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:47	3792	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9133_1' AND `virtuemart_product_id` != 1863284
2023-10-13	13:30:47	3792	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:47	3792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863284, 'A_9133_1')
2023-10-13	13:30:47	3792	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:47	3792	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-sacoche-de-cadre-fastfuel-noir' AND `virtuemart_product_id` != 1863284
2023-10-13	13:30:47	3792	[DEBUG]	Query for ProductLang
2023-10-13	13:30:47	3792	[DEBUG]	Executed store
2023-10-13	13:30:47	3792	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Capacité de 0,8 litre<br>Coque rigide étanche TPU<br>Accès rapide via une fermeture à glissière étanche en haut<br>Montage via une sangle velcro<br>Réglable de manière flexible sur le tube supérieur (ø 38 – 52 mm) et le tube d’arbre/tête de tige (ø 53 – 75 mm)<br>N° art fourn : 260.002.009',`product_name`='Topeak Sacoche de cadre Fastfuel / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-sacoche-de-cadre-fastfuel-noir' WHERE `virtuemart_product_id` = '1863284'
2023-10-13	13:30:47	3792	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38195_sacoche_de_cadre_toploader_(copie).jpg
2023-10-13	13:30:47	3792	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:47	3792	[DEBUG]	Process image file
2023-10-13	13:30:47	3792	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:47	3792	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:47	3792	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38195_sacoche_de_cadre_toploader_(copie).jpg
2023-10-13	13:30:47	3792	[DEBUG]	Full name target: bcprisme/38195_sacoche_de_cadre_toploader_(copie).jpg
2023-10-13	13:30:48	3792	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:48	3792	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38195_sacoche_de_cadre_toploader_(copie).jpg'
2023-10-13	13:30:48	3792	[DEBUG]	Query for Media
2023-10-13	13:30:48	3792	[DEBUG]	Executed store
2023-10-13	13:30:48	3792	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38195_sacoche_de_cadre_toploader_(copie).jpg',`file_url_thumb`='bcprisme/38195_sacoche_de_cadre_toploader_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1278117'
2023-10-13	13:30:48	3792	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:48	3792	[DEBUG]	Executed store
2023-10-13	13:30:48	3792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863284','1278117','1')
2023-10-13	13:30:48	3792	[DEBUG]	Store product image relation
2023-10-13	13:30:48	3792	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:48	3792	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863284 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:48	3792	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:48	3792	[DEBUG]	Executed store
2023-10-13	13:30:48	3792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863284','0','40.8542246982358','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:48	3792	[DEBUG]	Checking manufacturer
2023-10-13	13:30:48	3792	[DEBUG]	Load a row
2023-10-13	13:30:48	3792	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:48	3792	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:48	3792	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:48	3792	[DEBUG]	Executed store
2023-10-13	13:30:48	3792	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:48	3792	[DEBUG]	Manufacturer exists
2023-10-13	13:30:48	3792	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:30:48	3792	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:48	3792	[DEBUG]	Executed store
2023-10-13	13:30:48	3792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863284','149')
2023-10-13	13:30:48	3792	[DEBUG]	Find the custom field ID
2023-10-13	13:30:48	3792	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:48	3792	[DEBUG]	No custom field ID found
2023-10-13	13:30:48	3792	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:48	3792	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:48	3792	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863284 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:48	3792	[DEBUG]	Store custom available field
2023-10-13	13:30:48	3792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863284,3,'0',1)
2023-10-13	13:30:48	3792	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:48	3792	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:48	3792	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863284 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:48	3792	[DEBUG]	Store custom available field
2023-10-13	13:30:48	3792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863284,6,'choisir la taille',3)
2023-10-13	13:30:48	3792	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:48	3792	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:48	3792	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:48	3792	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:48	3792	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863284 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:48	3792	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:48	3792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863284,8,1)
2023-10-13	13:30:48	3792	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:48	3792	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863284\":[1863284,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863284
2023-10-13	13:30:48	3792	[DEBUG]	Checking category
2023-10-13	13:30:48	3792	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:48	3792	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863284
2023-10-13	13:30:48	3792	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:48	3792	[DEBUG]	Executed store
2023-10-13	13:30:48	3792	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863284','7385')
2023-10-13	13:30:48	3792	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:48	3792	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863284 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:48	3792	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:48	3792	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863284
2023-10-13	13:30:48	3793	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:48	3793	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:48	3793	[DEBUG]	Use field value for field taille
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:48	3793	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:48	3793	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:48	3793	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:48	3793	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:48	3793	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:48	3793	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:48	3793	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:48	3793	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:48	3793	[DEBUG]	Use field value for field published
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:48	3793	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field override
2023-10-13	13:30:48	3793	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:48	3793	[DEBUG]	Use field value for field slug
2023-10-13	13:30:48	3793	[DEBUG]	Process line 3793
2023-10-13	13:30:48	3793	[DEBUG]	Load a row
2023-10-13	13:30:48	3793	[DEBUG]	Processing item: 4710069680339
2023-10-13	13:30:48	3793	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:48	3793	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:48	3793	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9133_1'
2023-10-13	13:30:48	3793	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:48	3793	[DEBUG]	Processing product tax
2023-10-13	13:30:48	3793	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:48	3793	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:48	3793	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:48	3793	[DEBUG]	Query for Product
2023-10-13	13:30:48	3793	[DEBUG]	Executed store
2023-10-13	13:30:48	3793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863284','4710069680339','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:48	3793	[DEBUG]	No parent found
2023-10-13	13:30:48	3793	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863284 AND customfield_value = 'stockable'
2023-10-13	13:30:48	3793	[DEBUG]	Check product language entry
2023-10-13	13:30:48	3793	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863285
2023-10-13	13:30:48	3793	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:48	3793	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4710069680339' AND `virtuemart_product_id` != 1863285
2023-10-13	13:30:48	3793	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:48	3793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863285, '4710069680339')
2023-10-13	13:30:48	3793	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:48	3793	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-sacoche-de-cadre-fastfuel-noir-unitaire' AND `virtuemart_product_id` != 1863285
2023-10-13	13:30:48	3793	[DEBUG]	Query for ProductLang
2023-10-13	13:30:48	3793	[DEBUG]	Executed store
2023-10-13	13:30:48	3793	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Topeak Sacoche de cadre Fastfuel / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-sacoche-de-cadre-fastfuel-noir-unitaire' WHERE `virtuemart_product_id` = '1863285'
2023-10-13	13:30:48	3793	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38195_sacoche_de_cadre_toploader_(copie).jpg
2023-10-13	13:30:48	3793	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:48	3793	[DEBUG]	Process image file
2023-10-13	13:30:48	3793	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:48	3793	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:48	3793	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38195_sacoche_de_cadre_toploader_(copie).jpg
2023-10-13	13:30:48	3793	[DEBUG]	Full name target: bcprisme/38195_sacoche_de_cadre_toploader_(copie).jpg
2023-10-13	13:30:49	3793	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:49	3793	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38195_sacoche_de_cadre_toploader_(copie).jpg'
2023-10-13	13:30:49	3793	[DEBUG]	Query for Media
2023-10-13	13:30:49	3793	[DEBUG]	Executed store
2023-10-13	13:30:49	3793	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38195_sacoche_de_cadre_toploader_(copie).jpg',`file_url_thumb`='bcprisme/38195_sacoche_de_cadre_toploader_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1278117'
2023-10-13	13:30:49	3793	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:49	3793	[DEBUG]	Executed store
2023-10-13	13:30:49	3793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863285','1278117','1')
2023-10-13	13:30:49	3793	[DEBUG]	Store product image relation
2023-10-13	13:30:49	3793	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:49	3793	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863285 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:49	3793	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:49	3793	[DEBUG]	Executed store
2023-10-13	13:30:49	3793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863285','0','40.8542246982358','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:49	3793	[DEBUG]	Checking manufacturer
2023-10-13	13:30:49	3793	[DEBUG]	Load a row
2023-10-13	13:30:49	3793	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:49	3793	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:49	3793	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:49	3793	[DEBUG]	Executed store
2023-10-13	13:30:49	3793	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:49	3793	[DEBUG]	Manufacturer exists
2023-10-13	13:30:49	3793	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:30:49	3793	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:49	3793	[DEBUG]	Executed store
2023-10-13	13:30:49	3793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863285','149')
2023-10-13	13:30:49	3793	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:49	3793	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:49	3793	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863285 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:49	3793	[DEBUG]	Store custom available field
2023-10-13	13:30:49	3793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863285,3,'',1)
2023-10-13	13:30:49	3793	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:49	3793	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:49	3793	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863285 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:49	3793	[DEBUG]	Store custom available field
2023-10-13	13:30:49	3793	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863285,6,'Unitaire',3)
2023-10-13	13:30:49	3793	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:49	3793	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:49	3793	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863284
2023-10-13	13:30:49	3793	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:49	3793	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863284\":[1863284,8,1,\"choisir la taille\"],\"1863285\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863284
2023-10-13	13:30:49	3793	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:49	3793	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863285
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:49	3794	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field taille
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:49	3794	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:49	3794	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:49	3794	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:49	3794	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:49	3794	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:49	3794	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:49	3794	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field published
2023-10-13	13:30:49	3794	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:49	3794	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field override
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:49	3794	[DEBUG]	Use field value for field slug
2023-10-13	13:30:49	3794	[DEBUG]	Process line 3794
2023-10-13	13:30:49	3794	[DEBUG]	Load a row
2023-10-13	13:30:49	3794	[DEBUG]	Processing item: A_9134_1
2023-10-13	13:30:49	3794	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:49	3794	[DEBUG]	Processing product tax
2023-10-13	13:30:49	3794	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:49	3794	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:49	3794	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:49	3794	[DEBUG]	Query for Product
2023-10-13	13:30:49	3794	[DEBUG]	Executed store
2023-10-13	13:30:49	3794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9134_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:49	3794	[DEBUG]	Check product language entry
2023-10-13	13:30:49	3794	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863286
2023-10-13	13:30:49	3794	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:49	3794	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9134_1' AND `virtuemart_product_id` != 1863286
2023-10-13	13:30:49	3794	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:49	3794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863286, 'A_9134_1')
2023-10-13	13:30:49	3794	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:49	3794	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-sacoche-de-cadre-tribag-noir' AND `virtuemart_product_id` != 1863286
2023-10-13	13:30:49	3794	[DEBUG]	Query for ProductLang
2023-10-13	13:30:49	3794	[DEBUG]	Executed store
2023-10-13	13:30:49	3794	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Contenu toujours à portée de main et toujours en vue<br>1 compartiment principal rembourré, 2 compartiments latéraux<br>Fixation via une sangle Velcro<br>Résistant aux éclaboussures<br>Housse de pluie incluse<br>N° art fourn : 260.261',`product_name`='Topeak Sacoche de cadre Tribag  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-sacoche-de-cadre-tribag-noir' WHERE `virtuemart_product_id` = '1863286'
2023-10-13	13:30:49	3794	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38196_sacoche_de_cadre_tribag_.jpg
2023-10-13	13:30:49	3794	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:49	3794	[DEBUG]	Process image file
2023-10-13	13:30:49	3794	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:49	3794	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:49	3794	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38196_sacoche_de_cadre_tribag_.jpg
2023-10-13	13:30:49	3794	[DEBUG]	Full name target: bcprisme/38196_sacoche_de_cadre_tribag_.jpg
2023-10-13	13:30:50	3794	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:50	3794	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38196_sacoche_de_cadre_tribag_.jpg'
2023-10-13	13:30:50	3794	[DEBUG]	Query for Media
2023-10-13	13:30:50	3794	[DEBUG]	Executed store
2023-10-13	13:30:50	3794	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38196_sacoche_de_cadre_tribag_.jpg',`file_url_thumb`='bcprisme/38196_sacoche_de_cadre_tribag_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1278119'
2023-10-13	13:30:50	3794	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:50	3794	[DEBUG]	Executed store
2023-10-13	13:30:50	3794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863286','1278119','1')
2023-10-13	13:30:50	3794	[DEBUG]	Store product image relation
2023-10-13	13:30:50	3794	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:50	3794	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863286 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:50	3794	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:50	3794	[DEBUG]	Executed store
2023-10-13	13:30:50	3794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863286','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:50	3794	[DEBUG]	Checking manufacturer
2023-10-13	13:30:50	3794	[DEBUG]	Load a row
2023-10-13	13:30:50	3794	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:50	3794	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:50	3794	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:50	3794	[DEBUG]	Executed store
2023-10-13	13:30:50	3794	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:50	3794	[DEBUG]	Manufacturer exists
2023-10-13	13:30:50	3794	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:30:50	3794	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:50	3794	[DEBUG]	Executed store
2023-10-13	13:30:50	3794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863286','149')
2023-10-13	13:30:50	3794	[DEBUG]	Find the custom field ID
2023-10-13	13:30:50	3794	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:50	3794	[DEBUG]	No custom field ID found
2023-10-13	13:30:50	3794	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:50	3794	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:50	3794	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863286 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:50	3794	[DEBUG]	Store custom available field
2023-10-13	13:30:50	3794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863286,3,'0',1)
2023-10-13	13:30:50	3794	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:50	3794	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:50	3794	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863286 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:50	3794	[DEBUG]	Store custom available field
2023-10-13	13:30:50	3794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863286,6,'choisir la taille',3)
2023-10-13	13:30:50	3794	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:50	3794	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:50	3794	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:50	3794	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:50	3794	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863286 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:50	3794	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:50	3794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863286,8,1)
2023-10-13	13:30:50	3794	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:50	3794	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863286\":[1863286,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863286
2023-10-13	13:30:50	3794	[DEBUG]	Checking category
2023-10-13	13:30:50	3794	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:50	3794	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863286
2023-10-13	13:30:50	3794	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:50	3794	[DEBUG]	Executed store
2023-10-13	13:30:50	3794	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863286','7385')
2023-10-13	13:30:50	3794	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:50	3794	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863286 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:50	3794	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:50	3794	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863286
2023-10-13	13:30:50	3795	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:50	3795	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:50	3795	[DEBUG]	Use field value for field taille
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:50	3795	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:50	3795	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:50	3795	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:50	3795	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:50	3795	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:50	3795	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:50	3795	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:50	3795	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:50	3795	[DEBUG]	Use field value for field published
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:50	3795	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field override
2023-10-13	13:30:50	3795	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:50	3795	[DEBUG]	Use field value for field slug
2023-10-13	13:30:50	3795	[DEBUG]	Process line 3795
2023-10-13	13:30:50	3795	[DEBUG]	Load a row
2023-10-13	13:30:50	3795	[DEBUG]	Processing item: 4712511826036
2023-10-13	13:30:50	3795	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:50	3795	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:50	3795	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9134_1'
2023-10-13	13:30:50	3795	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:50	3795	[DEBUG]	Processing product tax
2023-10-13	13:30:50	3795	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:50	3795	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:50	3795	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:50	3795	[DEBUG]	Query for Product
2023-10-13	13:30:50	3795	[DEBUG]	Executed store
2023-10-13	13:30:50	3795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863286','4712511826036','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:50	3795	[DEBUG]	No parent found
2023-10-13	13:30:50	3795	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863286 AND customfield_value = 'stockable'
2023-10-13	13:30:50	3795	[DEBUG]	Check product language entry
2023-10-13	13:30:50	3795	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863287
2023-10-13	13:30:50	3795	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:50	3795	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4712511826036' AND `virtuemart_product_id` != 1863287
2023-10-13	13:30:50	3795	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:50	3795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863287, '4712511826036')
2023-10-13	13:30:50	3795	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:50	3795	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-sacoche-de-cadre-tribag-noir-unitaire' AND `virtuemart_product_id` != 1863287
2023-10-13	13:30:50	3795	[DEBUG]	Query for ProductLang
2023-10-13	13:30:50	3795	[DEBUG]	Executed store
2023-10-13	13:30:50	3795	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Topeak Sacoche de cadre Tribag  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-sacoche-de-cadre-tribag-noir-unitaire' WHERE `virtuemart_product_id` = '1863287'
2023-10-13	13:30:50	3795	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38196_sacoche_de_cadre_tribag_.jpg
2023-10-13	13:30:50	3795	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:50	3795	[DEBUG]	Process image file
2023-10-13	13:30:50	3795	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:50	3795	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:50	3795	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38196_sacoche_de_cadre_tribag_.jpg
2023-10-13	13:30:50	3795	[DEBUG]	Full name target: bcprisme/38196_sacoche_de_cadre_tribag_.jpg
2023-10-13	13:30:50	3795	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:50	3795	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38196_sacoche_de_cadre_tribag_.jpg'
2023-10-13	13:30:50	3795	[DEBUG]	Query for Media
2023-10-13	13:30:50	3795	[DEBUG]	Executed store
2023-10-13	13:30:50	3795	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38196_sacoche_de_cadre_tribag_.jpg',`file_url_thumb`='bcprisme/38196_sacoche_de_cadre_tribag_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1278119'
2023-10-13	13:30:50	3795	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:50	3795	[DEBUG]	Executed store
2023-10-13	13:30:50	3795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863287','1278119','1')
2023-10-13	13:30:50	3795	[DEBUG]	Store product image relation
2023-10-13	13:30:50	3795	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:50	3795	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863287 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:50	3795	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:51	3795	[DEBUG]	Executed store
2023-10-13	13:30:51	3795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863287','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:51	3795	[DEBUG]	Checking manufacturer
2023-10-13	13:30:51	3795	[DEBUG]	Load a row
2023-10-13	13:30:51	3795	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:51	3795	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:51	3795	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:51	3795	[DEBUG]	Executed store
2023-10-13	13:30:51	3795	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:30:51	3795	[DEBUG]	Manufacturer exists
2023-10-13	13:30:51	3795	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:30:51	3795	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:51	3795	[DEBUG]	Executed store
2023-10-13	13:30:51	3795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863287','149')
2023-10-13	13:30:51	3795	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:51	3795	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:51	3795	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863287 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:51	3795	[DEBUG]	Store custom available field
2023-10-13	13:30:51	3795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863287,3,'',1)
2023-10-13	13:30:51	3795	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:51	3795	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:51	3795	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863287 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:51	3795	[DEBUG]	Store custom available field
2023-10-13	13:30:51	3795	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863287,6,'Unitaire',3)
2023-10-13	13:30:51	3795	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:51	3795	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:51	3795	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863286
2023-10-13	13:30:51	3795	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:51	3795	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863286\":[1863286,8,1,\"choisir la taille\"],\"1863287\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863286
2023-10-13	13:30:51	3795	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:51	3795	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863287
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:51	3796	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field taille
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:51	3796	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:51	3796	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:51	3796	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:51	3796	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:51	3796	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:51	3796	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:51	3796	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field published
2023-10-13	13:30:51	3796	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:51	3796	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field override
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:51	3796	[DEBUG]	Use field value for field slug
2023-10-13	13:30:51	3796	[DEBUG]	Process line 3796
2023-10-13	13:30:51	3796	[DEBUG]	Load a row
2023-10-13	13:30:51	3796	[DEBUG]	Processing item: A_9135_1
2023-10-13	13:30:51	3796	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:51	3796	[DEBUG]	Processing product tax
2023-10-13	13:30:51	3796	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:51	3796	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:51	3796	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:51	3796	[DEBUG]	Query for Product
2023-10-13	13:30:51	3796	[DEBUG]	Executed store
2023-10-13	13:30:51	3796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9135_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:51	3796	[DEBUG]	Check product language entry
2023-10-13	13:30:51	3796	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863288
2023-10-13	13:30:51	3796	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:51	3796	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9135_1' AND `virtuemart_product_id` != 1863288
2023-10-13	13:30:51	3796	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:51	3796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863288, 'A_9135_1')
2023-10-13	13:30:51	3796	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:51	3796	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'basil-sacoche-de-cadre-sport-design-noir' AND `virtuemart_product_id` != 1863288
2023-10-13	13:30:51	3796	[DEBUG]	Query for ProductLang
2023-10-13	13:30:51	3796	[DEBUG]	Executed store
2023-10-13	13:30:51	3796	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Convient à tout type de vélo<br>Fixation avec sangle Velcro<br>Détails réfléchissants<br>Convient aux écrans de smartphone de 5,5 pouces<br>Imperméable<br>Dimensions: 19 cm x 11 cm x 11 cm<br>N° art fourn : 260.080.040',`product_name`='BASIL Sacoche de cadre Sport Design / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='basil-sacoche-de-cadre-sport-design-noir' WHERE `virtuemart_product_id` = '1863288'
2023-10-13	13:30:51	3796	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38197_sacoche_de_cadre_basil_.jpg
2023-10-13	13:30:51	3796	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:51	3796	[DEBUG]	Process image file
2023-10-13	13:30:51	3796	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:51	3796	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:51	3796	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38197_sacoche_de_cadre_basil_.jpg
2023-10-13	13:30:51	3796	[DEBUG]	Full name target: bcprisme/38197_sacoche_de_cadre_basil_.jpg
2023-10-13	13:30:51	3796	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:51	3796	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38197_sacoche_de_cadre_basil_.jpg'
2023-10-13	13:30:51	3796	[DEBUG]	Query for Media
2023-10-13	13:30:51	3796	[DEBUG]	Executed store
2023-10-13	13:30:51	3796	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38197_sacoche_de_cadre_basil_.jpg',`file_url_thumb`='bcprisme/38197_sacoche_de_cadre_basil_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1278121'
2023-10-13	13:30:51	3796	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:52	3796	[DEBUG]	Executed store
2023-10-13	13:30:52	3796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863288','1278121','1')
2023-10-13	13:30:52	3796	[DEBUG]	Store product image relation
2023-10-13	13:30:52	3796	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:52	3796	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863288 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:52	3796	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:52	3796	[DEBUG]	Executed store
2023-10-13	13:30:52	3796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863288','0','29.2479108635097','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:52	3796	[DEBUG]	Checking manufacturer
2023-10-13	13:30:52	3796	[DEBUG]	Load a row
2023-10-13	13:30:52	3796	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:52	3796	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:52	3796	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:52	3796	[DEBUG]	Executed store
2023-10-13	13:30:52	3796	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='163',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='163' WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:52	3796	[DEBUG]	Manufacturer exists
2023-10-13	13:30:52	3796	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 228
2023-10-13	13:30:52	3796	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:52	3796	[DEBUG]	Executed store
2023-10-13	13:30:52	3796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863288','228')
2023-10-13	13:30:52	3796	[DEBUG]	Find the custom field ID
2023-10-13	13:30:52	3796	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:52	3796	[DEBUG]	No custom field ID found
2023-10-13	13:30:52	3796	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:52	3796	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:52	3796	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863288 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:52	3796	[DEBUG]	Store custom available field
2023-10-13	13:30:52	3796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863288,3,'0',1)
2023-10-13	13:30:52	3796	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:52	3796	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:52	3796	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863288 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:52	3796	[DEBUG]	Store custom available field
2023-10-13	13:30:52	3796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863288,6,'choisir la taille',3)
2023-10-13	13:30:52	3796	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:52	3796	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:52	3796	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:52	3796	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:52	3796	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863288 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:52	3796	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:52	3796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863288,8,1)
2023-10-13	13:30:52	3796	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:52	3796	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863288\":[1863288,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863288
2023-10-13	13:30:52	3796	[DEBUG]	Checking category
2023-10-13	13:30:52	3796	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:52	3796	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863288
2023-10-13	13:30:52	3796	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:52	3796	[DEBUG]	Executed store
2023-10-13	13:30:52	3796	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863288','7385')
2023-10-13	13:30:52	3796	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:52	3796	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863288 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:52	3796	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:52	3796	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863288
2023-10-13	13:30:52	3797	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:52	3797	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:52	3797	[DEBUG]	Use field value for field taille
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:52	3797	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:52	3797	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:52	3797	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:52	3797	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:52	3797	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:52	3797	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:52	3797	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:52	3797	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:52	3797	[DEBUG]	Use field value for field published
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:52	3797	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field override
2023-10-13	13:30:52	3797	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:52	3797	[DEBUG]	Use field value for field slug
2023-10-13	13:30:52	3797	[DEBUG]	Process line 3797
2023-10-13	13:30:52	3797	[DEBUG]	Load a row
2023-10-13	13:30:52	3797	[DEBUG]	Processing item: 8715019177484
2023-10-13	13:30:52	3797	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:52	3797	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:52	3797	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9135_1'
2023-10-13	13:30:52	3797	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:52	3797	[DEBUG]	Processing product tax
2023-10-13	13:30:52	3797	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:52	3797	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:52	3797	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:52	3797	[DEBUG]	Query for Product
2023-10-13	13:30:52	3797	[DEBUG]	Executed store
2023-10-13	13:30:52	3797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863288','8715019177484','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:52	3797	[DEBUG]	No parent found
2023-10-13	13:30:52	3797	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863288 AND customfield_value = 'stockable'
2023-10-13	13:30:52	3797	[DEBUG]	Check product language entry
2023-10-13	13:30:52	3797	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863289
2023-10-13	13:30:52	3797	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:52	3797	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8715019177484' AND `virtuemart_product_id` != 1863289
2023-10-13	13:30:52	3797	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:52	3797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863289, '8715019177484')
2023-10-13	13:30:52	3797	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:52	3797	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'basil-sacoche-de-cadre-sport-design-noir-unitaire' AND `virtuemart_product_id` != 1863289
2023-10-13	13:30:52	3797	[DEBUG]	Query for ProductLang
2023-10-13	13:30:52	3797	[DEBUG]	Executed store
2023-10-13	13:30:52	3797	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BASIL Sacoche de cadre Sport Design / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='basil-sacoche-de-cadre-sport-design-noir-unitaire' WHERE `virtuemart_product_id` = '1863289'
2023-10-13	13:30:52	3797	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38197_sacoche_de_cadre_basil_.jpg
2023-10-13	13:30:52	3797	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:52	3797	[DEBUG]	Process image file
2023-10-13	13:30:52	3797	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:30:52	3797	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:52	3797	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38197_sacoche_de_cadre_basil_.jpg
2023-10-13	13:30:52	3797	[DEBUG]	Full name target: bcprisme/38197_sacoche_de_cadre_basil_.jpg
2023-10-13	13:30:53	3797	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:53	3797	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38197_sacoche_de_cadre_basil_.jpg'
2023-10-13	13:30:53	3797	[DEBUG]	Query for Media
2023-10-13	13:30:53	3797	[DEBUG]	Executed store
2023-10-13	13:30:53	3797	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38197_sacoche_de_cadre_basil_.jpg',`file_url_thumb`='bcprisme/38197_sacoche_de_cadre_basil_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1278121'
2023-10-13	13:30:53	3797	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:53	3797	[DEBUG]	Executed store
2023-10-13	13:30:53	3797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863289','1278121','1')
2023-10-13	13:30:53	3797	[DEBUG]	Store product image relation
2023-10-13	13:30:53	3797	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:53	3797	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863289 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:53	3797	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:53	3797	[DEBUG]	Executed store
2023-10-13	13:30:53	3797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863289','0','29.2479108635097','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:53	3797	[DEBUG]	Checking manufacturer
2023-10-13	13:30:53	3797	[DEBUG]	Load a row
2023-10-13	13:30:53	3797	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:53	3797	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:53	3797	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:53	3797	[DEBUG]	Executed store
2023-10-13	13:30:53	3797	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='163',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='163' WHERE `virtuemart_manufacturer_id` = '228'
2023-10-13	13:30:53	3797	[DEBUG]	Manufacturer exists
2023-10-13	13:30:53	3797	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 228
2023-10-13	13:30:53	3797	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:53	3797	[DEBUG]	Executed store
2023-10-13	13:30:53	3797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863289','228')
2023-10-13	13:30:53	3797	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:53	3797	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:53	3797	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863289 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:53	3797	[DEBUG]	Store custom available field
2023-10-13	13:30:53	3797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863289,3,'',1)
2023-10-13	13:30:53	3797	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:53	3797	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:53	3797	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863289 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:53	3797	[DEBUG]	Store custom available field
2023-10-13	13:30:53	3797	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863289,6,'Unitaire',3)
2023-10-13	13:30:53	3797	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:53	3797	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:53	3797	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863288
2023-10-13	13:30:53	3797	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:53	3797	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863288\":[1863288,8,1,\"choisir la taille\"],\"1863289\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863288
2023-10-13	13:30:53	3797	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:53	3797	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863289
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:53	3798	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field taille
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:53	3798	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:53	3798	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:53	3798	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:53	3798	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:53	3798	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:53	3798	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field published
2023-10-13	13:30:53	3798	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:53	3798	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field override
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:53	3798	[DEBUG]	Use field value for field slug
2023-10-13	13:30:53	3798	[DEBUG]	Process line 3798
2023-10-13	13:30:53	3798	[DEBUG]	Load a row
2023-10-13	13:30:53	3798	[DEBUG]	Processing item: A_9535_1
2023-10-13	13:30:53	3798	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:53	3798	[DEBUG]	Processing product tax
2023-10-13	13:30:53	3798	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:53	3798	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:53	3798	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:53	3798	[DEBUG]	Query for Product
2023-10-13	13:30:53	3798	[DEBUG]	Executed store
2023-10-13	13:30:53	3798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9535_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:53	3798	[DEBUG]	Check product language entry
2023-10-13	13:30:53	3798	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863290
2023-10-13	13:30:53	3798	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:53	3798	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9535_1' AND `virtuemart_product_id` != 1863290
2023-10-13	13:30:53	3798	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:53	3798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863290, 'A_9535_1')
2023-10-13	13:30:53	3798	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:53	3798	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-avant-uni-reflect-26x25x35-cm-16-litres-max-7-kg-noir' AND `virtuemart_product_id` != 1863290
2023-10-13	13:30:53	3798	[DEBUG]	Query for ProductLang
2023-10-13	13:30:53	3798	[DEBUG]	Executed store
2023-10-13	13:30:53	3798	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='L\'Uni Reflect de la chez KLICKfix convainc par son réflecteur grande surface qui s\'étend jusque sur les côtés. Tu es ainsi nettement plus visible dans l\'obscurité. Ce panier de guidon à mailles serrées offre une capacité de 16 litres. La plaque d\'adaptation peut être montée à différentes hauteurs afin de laisser assez de place pour un feu avant. L\'anse est équipée d\'une poignée de transport confortable. Grâce à son adaptateur KLICKfix, le panier se fixe de manière fiable en un seul clic et se détache en appuyant sur un bouton. L\'adaptateur non inclus se choisit en fonction du vélo et des exigences.<br><br>Caractéristiques<br><br>Panier de guidon à mailles serrées<br>Réflecteur frontal grande surface s\'étendant jusque sur les côtés pour une meilleure visibilité<br>Système KLICKfix pour une fixation robuste et fiable en un clic (adaptateur non inclus)<br>Montage réglable en hauteur<br>Poignée confortable<br>Dimensions (H/L/l): 26 x 25 x 35 cm<br>Poids: 1000 g<br>Volume de 16 litres<br>Charge maximale: 7 kg<br>N° art fourn : 480.003.015',`product_name`='KLICKfix Panier avant UNI REFLECT 26x25x35 cm 16 litres max 7 kg  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-avant-uni-reflect-26x25x35-cm-16-litres-max-7-kg-noir' WHERE `virtuemart_product_id` = '1863290'
2023-10-13	13:30:53	3798	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38903_panier_avant_uni_reflect_26x25x35_cm_16_litres_max_7_kg_.png
2023-10-13	13:30:53	3798	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000021e
2023-10-13	13:30:53	3798	[DEBUG]	Process image file
2023-10-13	13:30:53	3798	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000021e
2023-10-13	13:30:53	3798	[DEBUG]	Mime type found: image/png
2023-10-13	13:30:53	3798	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38903_panier_avant_uni_reflect_26x25x35_cm_16_litres_max_7_kg_.png
2023-10-13	13:30:53	3798	[DEBUG]	Full name target: bcprisme/38903_panier_avant_uni_reflect_26x25x35_cm_16_litres_max_7_kg_.png
2023-10-13	13:30:54	3798	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:54	3798	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38903_panier_avant_uni_reflect_26x25x35_cm_16_litres_max_7_kg_.png'
2023-10-13	13:30:54	3798	[DEBUG]	Query for Media
2023-10-13	13:30:54	3798	[DEBUG]	Executed store
2023-10-13	13:30:54	3798	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38903_panier_avant_uni_reflect_26x25x35_cm_16_litres_max_7_kg_.png',`file_url_thumb`='bcprisme/38903_panier_avant_uni_reflect_26x25x35_cm_16_litres_max_7_kg_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1457533'
2023-10-13	13:30:54	3798	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:54	3798	[DEBUG]	Executed store
2023-10-13	13:30:54	3798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863290','1457533','1')
2023-10-13	13:30:54	3798	[DEBUG]	Store product image relation
2023-10-13	13:30:54	3798	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:54	3798	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863290 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:54	3798	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:54	3798	[DEBUG]	Executed store
2023-10-13	13:30:54	3798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863290','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:54	3798	[DEBUG]	Checking manufacturer
2023-10-13	13:30:54	3798	[DEBUG]	Load a row
2023-10-13	13:30:54	3798	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:54	3798	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:54	3798	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:54	3798	[DEBUG]	Executed store
2023-10-13	13:30:54	3798	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:54	3798	[DEBUG]	Manufacturer exists
2023-10-13	13:30:54	3798	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:30:54	3798	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:54	3798	[DEBUG]	Executed store
2023-10-13	13:30:54	3798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863290','146')
2023-10-13	13:30:54	3798	[DEBUG]	Find the custom field ID
2023-10-13	13:30:54	3798	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:54	3798	[DEBUG]	No custom field ID found
2023-10-13	13:30:54	3798	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:54	3798	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:54	3798	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863290 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:54	3798	[DEBUG]	Store custom available field
2023-10-13	13:30:54	3798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863290,3,'0',1)
2023-10-13	13:30:54	3798	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:54	3798	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:54	3798	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863290 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:54	3798	[DEBUG]	Store custom available field
2023-10-13	13:30:54	3798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863290,6,'choisir la taille',3)
2023-10-13	13:30:54	3798	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:54	3798	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:54	3798	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:54	3798	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:54	3798	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863290 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:54	3798	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:54	3798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863290,8,1)
2023-10-13	13:30:54	3798	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:54	3798	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863290\":[1863290,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863290
2023-10-13	13:30:54	3798	[DEBUG]	Checking category
2023-10-13	13:30:54	3798	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:54	3798	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863290
2023-10-13	13:30:54	3798	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:54	3798	[DEBUG]	Executed store
2023-10-13	13:30:54	3798	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863290','7385')
2023-10-13	13:30:54	3798	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:54	3798	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863290 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:54	3798	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:54	3798	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863290
2023-10-13	13:30:54	3799	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:54	3799	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:30:54	3799	[DEBUG]	Use field value for field taille
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:30:54	3799	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field category_path
2023-10-13	13:30:54	3799	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:54	3799	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:54	3799	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:54	3799	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:30:54	3799	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field product_weight
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:54	3799	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:54	3799	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:54	3799	[DEBUG]	Use field value for field published
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field custom_title
2023-10-13	13:30:54	3799	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field custom_param
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field override
2023-10-13	13:30:54	3799	[DEBUG]	Use default value for field public_price
2023-10-13	13:30:54	3799	[DEBUG]	Use field value for field slug
2023-10-13	13:30:54	3799	[DEBUG]	Process line 3799
2023-10-13	13:30:54	3799	[DEBUG]	Load a row
2023-10-13	13:30:54	3799	[DEBUG]	Processing item: 1000002388884
2023-10-13	13:30:54	3799	[DEBUG]	Looking for parent SKU
2023-10-13	13:30:54	3799	[DEBUG]	Checking product parent SKU
2023-10-13	13:30:54	3799	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9535_1'
2023-10-13	13:30:54	3799	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:54	3799	[DEBUG]	Processing product tax
2023-10-13	13:30:54	3799	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:54	3799	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:54	3799	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:54	3799	[DEBUG]	Query for Product
2023-10-13	13:30:54	3799	[DEBUG]	Executed store
2023-10-13	13:30:54	3799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863290','1000002388884','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:54	3799	[DEBUG]	No parent found
2023-10-13	13:30:54	3799	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863290 AND customfield_value = 'stockable'
2023-10-13	13:30:54	3799	[DEBUG]	Check product language entry
2023-10-13	13:30:54	3799	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863291
2023-10-13	13:30:54	3799	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:54	3799	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000002388884' AND `virtuemart_product_id` != 1863291
2023-10-13	13:30:54	3799	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:54	3799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863291, '1000002388884')
2023-10-13	13:30:54	3799	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:54	3799	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-panier-avant-uni-reflect-26x25x35-cm-16-litres-max-7-kg-noir-unitaire' AND `virtuemart_product_id` != 1863291
2023-10-13	13:30:54	3799	[DEBUG]	Query for ProductLang
2023-10-13	13:30:54	3799	[DEBUG]	Executed store
2023-10-13	13:30:54	3799	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKfix Panier avant UNI REFLECT 26x25x35 cm 16 litres max 7 kg  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-panier-avant-uni-reflect-26x25x35-cm-16-litres-max-7-kg-noir-unitaire' WHERE `virtuemart_product_id` = '1863291'
2023-10-13	13:30:54	3799	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38903_panier_avant_uni_reflect_26x25x35_cm_16_litres_max_7_kg_.png
2023-10-13	13:30:54	3799	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000021e
2023-10-13	13:30:54	3799	[DEBUG]	Process image file
2023-10-13	13:30:54	3799	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000021e
2023-10-13	13:30:54	3799	[DEBUG]	Mime type found: image/png
2023-10-13	13:30:54	3799	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38903_panier_avant_uni_reflect_26x25x35_cm_16_litres_max_7_kg_.png
2023-10-13	13:30:54	3799	[DEBUG]	Full name target: bcprisme/38903_panier_avant_uni_reflect_26x25x35_cm_16_litres_max_7_kg_.png
2023-10-13	13:30:55	3799	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:55	3799	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38903_panier_avant_uni_reflect_26x25x35_cm_16_litres_max_7_kg_.png'
2023-10-13	13:30:55	3799	[DEBUG]	Query for Media
2023-10-13	13:30:55	3799	[DEBUG]	Executed store
2023-10-13	13:30:55	3799	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38903_panier_avant_uni_reflect_26x25x35_cm_16_litres_max_7_kg_.png',`file_url_thumb`='bcprisme/38903_panier_avant_uni_reflect_26x25x35_cm_16_litres_max_7_kg_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1457533'
2023-10-13	13:30:55	3799	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:55	3799	[DEBUG]	Executed store
2023-10-13	13:30:55	3799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863291','1457533','1')
2023-10-13	13:30:55	3799	[DEBUG]	Store product image relation
2023-10-13	13:30:55	3799	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:55	3799	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863291 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:55	3799	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:55	3799	[DEBUG]	Executed store
2023-10-13	13:30:55	3799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863291','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:55	3799	[DEBUG]	Checking manufacturer
2023-10-13	13:30:55	3799	[DEBUG]	Load a row
2023-10-13	13:30:55	3799	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:55	3799	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:55	3799	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:55	3799	[DEBUG]	Executed store
2023-10-13	13:30:55	3799	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:30:55	3799	[DEBUG]	Manufacturer exists
2023-10-13	13:30:55	3799	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:30:55	3799	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:55	3799	[DEBUG]	Executed store
2023-10-13	13:30:55	3799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863291','146')
2023-10-13	13:30:55	3799	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:55	3799	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:30:55	3799	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863291 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:55	3799	[DEBUG]	Store custom available field
2023-10-13	13:30:55	3799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863291,3,'',1)
2023-10-13	13:30:55	3799	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:55	3799	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:30:55	3799	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863291 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:55	3799	[DEBUG]	Store custom available field
2023-10-13	13:30:55	3799	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863291,6,'Unitaire',3)
2023-10-13	13:30:55	3799	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:55	3799	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:30:55	3799	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863290
2023-10-13	13:30:55	3799	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:55	3799	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863290\":[1863290,8,1,\"choisir la taille\"],\"1863291\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863290
2023-10-13	13:30:55	3799	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:55	3799	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863291
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field product_sku
2023-10-13	13:30:55	3800	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field taille
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field product_name
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field category_path
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field product_price
2023-10-13	13:30:55	3800	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field product_tax
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field file_url
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:30:55	3800	[DEBUG]	Use default value for field product_desc
2023-10-13	13:30:55	3800	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field product_availability
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field product_weight
2023-10-13	13:30:55	3800	[DEBUG]	Use default value for field product_unit
2023-10-13	13:30:55	3800	[DEBUG]	Use default value for field related_products
2023-10-13	13:30:55	3800	[DEBUG]	Use default value for field product_special
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field published
2023-10-13	13:30:55	3800	[DEBUG]	Use default value for field metadesc
2023-10-13	13:30:55	3800	[DEBUG]	Use default value for field metakey
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field custom_title
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field custom_value
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field custom_param
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field override
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field public_price
2023-10-13	13:30:55	3800	[DEBUG]	Use field value for field slug
2023-10-13	13:30:55	3800	[DEBUG]	Process line 3800
2023-10-13	13:30:55	3800	[DEBUG]	Load a row
2023-10-13	13:30:55	3800	[DEBUG]	Processing item: A_9566_16
2023-10-13	13:30:55	3800	[DEBUG]	Product tax: 7.7
2023-10-13	13:30:55	3800	[DEBUG]	Processing product tax
2023-10-13	13:30:55	3800	[DEBUG]	Check if calculation rule exists
2023-10-13	13:30:55	3800	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:30:55	3800	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:30:55	3800	[DEBUG]	Query for Product
2023-10-13	13:30:55	3800	[DEBUG]	Executed store
2023-10-13	13:30:55	3800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9566_16','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0')
2023-10-13	13:30:55	3800	[DEBUG]	Check product language entry
2023-10-13	13:30:55	3800	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863292
2023-10-13	13:30:55	3800	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:55	3800	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9566_16' AND `virtuemart_product_id` != 1863292
2023-10-13	13:30:55	3800	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:30:55	3800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863292, 'A_9566_16')
2023-10-13	13:30:55	3800	[DEBUG]	Check if the product slug exists
2023-10-13	13:30:55	3800	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-sacoche-de-guidon-gravel-2-5l-gris-gris' AND `virtuemart_product_id` != 1863292
2023-10-13	13:30:55	3800	[DEBUG]	Query for ProductLang
2023-10-13	13:30:55	3800	[DEBUG]	Executed store
2023-10-13	13:30:55	3800	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 93.79857',`product_name`='Pro Sacoche de guidon Gravel 2.5l gris / Gris',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-sacoche-de-guidon-gravel-2-5l-gris-gris' WHERE `virtuemart_product_id` = '1863292'
2023-10-13	13:30:55	3800	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_7985.jpg
2023-10-13	13:30:55	3800	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:30:55	3800	[DEBUG]	Process image file
2023-10-13	13:30:55	3800	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:30:55	3800	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:30:55	3800	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_7985.jpg
2023-10-13	13:30:55	3800	[DEBUG]	Full name target: bcprisme/93_7985.jpg
2023-10-13	13:30:56	3800	[DEBUG]	Checking if the file_url exists
2023-10-13	13:30:56	3800	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/93_7985.jpg'
2023-10-13	13:30:56	3800	[DEBUG]	Query for Media
2023-10-13	13:30:56	3800	[DEBUG]	Executed store
2023-10-13	13:30:56	3800	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/93_7985.jpg',`file_url_thumb`='bcprisme/93_7985.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1479905'
2023-10-13	13:30:56	3800	[DEBUG]	Query for ProductMedia
2023-10-13	13:30:56	3800	[DEBUG]	Executed store
2023-10-13	13:30:56	3800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863292','1479905','1')
2023-10-13	13:30:56	3800	[DEBUG]	Store product image relation
2023-10-13	13:30:56	3800	[DEBUG]	Finding a product_price_id
2023-10-13	13:30:56	3800	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863292 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:30:56	3800	[DEBUG]	Query for ProductPrice
2023-10-13	13:30:56	3800	[DEBUG]	Executed store
2023-10-13	13:30:56	3800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863292','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:29:46','1593','2023-10-13 13:29:46','1593','0000-00-00 00:00:00','0')
2023-10-13	13:30:56	3800	[DEBUG]	Checking manufacturer
2023-10-13	13:30:56	3800	[DEBUG]	Load a row
2023-10-13	13:30:56	3800	[DEBUG]	Manufacturer already exists
2023-10-13	13:30:56	3800	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:30:56	3800	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:30:56	3800	[DEBUG]	Executed store
2023-10-13	13:30:56	3800	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:30:56	3800	[DEBUG]	Manufacturer exists
2023-10-13	13:30:56	3800	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:30:56	3800	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:30:56	3800	[DEBUG]	Executed store
2023-10-13	13:30:56	3800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863292','75')
2023-10-13	13:30:56	3800	[DEBUG]	Find the custom field ID
2023-10-13	13:30:56	3800	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:30:56	3800	[DEBUG]	No custom field ID found
2023-10-13	13:30:56	3800	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:30:56	3800	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:30:56	3800	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863292 AND `virtuemart_custom_id` = 3
2023-10-13	13:30:56	3800	[DEBUG]	Store custom available field
2023-10-13	13:30:56	3800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863292,3,'0',1)
2023-10-13	13:30:56	3800	[DEBUG]	Processing custom available field: taille
2023-10-13	13:30:56	3800	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:30:56	3800	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863292 AND `virtuemart_custom_id` = 6
2023-10-13	13:30:56	3800	[DEBUG]	Store custom available field
2023-10-13	13:30:56	3800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863292,6,'choisir la taille',3)
2023-10-13	13:30:56	3800	[DEBUG]	Process multi-variant fields
2023-10-13	13:30:56	3800	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:30:56	3800	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:30:56	3800	[DEBUG]	Find the multi variant product entry
2023-10-13	13:30:56	3800	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863292 AND `virtuemart_custom_id` = 8
2023-10-13	13:30:56	3800	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:30:56	3800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863292,8,1)
2023-10-13	13:30:56	3800	[DEBUG]	Store the updated customfield_params
2023-10-13	13:30:56	3800	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863292\":[1863292,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863292
2023-10-13	13:30:56	3800	[DEBUG]	Checking category
2023-10-13	13:30:56	3800	[DEBUG]	Get the existing categories for the product
2023-10-13	13:30:56	3800	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863292
2023-10-13	13:30:56	3800	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:30:56	3800	[DEBUG]	Executed store
2023-10-13	13:30:56	3800	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863292','7385')
2023-10-13	13:30:56	3800	[DEBUG]	Delete leftover product categories
2023-10-13	13:30:56	3800	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863292 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:30:56	3800	[DEBUG]	Update has fields after all processing
2023-10-13	13:30:56	3800	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863292
2023-10-13	13:31:16	3800	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:31:16	3800	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:31:16	3800	[DEBUG]	Load the fields to process
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: product_sku
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: taille
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: product_name
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: category_path
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: product_price
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: product_override_price
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: product_tax
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: file_url
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: product_desc
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: product_availability
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: product_weight
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: product_unit
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: related_products
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: product_special
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: published
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: metadesc
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: metakey
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: custom_title
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: custom_value
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: custom_param
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: override
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: public_price
2023-10-13	13:31:16	3800	[DEBUG]	Setup field: slug
2023-10-13	13:31:16	3800	[DEBUG]	Use the file for configuration
2023-10-13	13:31:16	3800	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:31:16	3800	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:31:16	3800	[DEBUG]	Load the custom fields
2023-10-13	13:31:16	3800	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:31:16	3800	[DEBUG]	Load stockable custom fields
2023-10-13	13:31:16	3800	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:31:16	3800	[DEBUG]	Load custom fields for all
2023-10-13	13:31:16	3800	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:31:16	3801	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:16	3801	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:16	3801	[DEBUG]	Use field value for field taille
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:16	3801	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:16	3801	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:16	3801	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:16	3801	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:16	3801	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:16	3801	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:16	3801	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:16	3801	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:16	3801	[DEBUG]	Use field value for field published
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:16	3801	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field override
2023-10-13	13:31:16	3801	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:16	3801	[DEBUG]	Use field value for field slug
2023-10-13	13:31:16	3801	[DEBUG]	Process line 3801
2023-10-13	13:31:16	3801	[DEBUG]	Check if the vendor exists
2023-10-13	13:31:16	3801	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '8717009419598'
2023-10-13	13:31:16	3801	[DEBUG]	Load a row
2023-10-13	13:31:16	3801	[DEBUG]	Processing item: 8717009419598
2023-10-13	13:31:16	3801	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:16	3801	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:16	3801	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9566_16'
2023-10-13	13:31:16	3801	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:16	3801	[DEBUG]	Processing product tax
2023-10-13	13:31:16	3801	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:16	3801	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:16	3801	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:16	3801	[DEBUG]	Query for Product
2023-10-13	13:31:16	3801	[DEBUG]	Executed store
2023-10-13	13:31:16	3801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863292','8717009419598','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:16	3801	[DEBUG]	No parent found
2023-10-13	13:31:16	3801	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863292 AND customfield_value = 'stockable'
2023-10-13	13:31:16	3801	[DEBUG]	Check product language entry
2023-10-13	13:31:16	3801	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863293
2023-10-13	13:31:16	3801	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:16	3801	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717009419598' AND `virtuemart_product_id` != 1863293
2023-10-13	13:31:16	3801	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:16	3801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863293, '8717009419598')
2023-10-13	13:31:16	3801	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:16	3801	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-sacoche-de-guidon-gravel-2-5l-gris-gris-unitaire' AND `virtuemart_product_id` != 1863293
2023-10-13	13:31:16	3801	[DEBUG]	Query for ProductLang
2023-10-13	13:31:16	3801	[DEBUG]	Executed store
2023-10-13	13:31:16	3801	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pro Sacoche de guidon Gravel 2.5l gris / Gris (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-sacoche-de-guidon-gravel-2-5l-gris-gris-unitaire' WHERE `virtuemart_product_id` = '1863293'
2023-10-13	13:31:16	3801	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_7985.jpg
2023-10-13	13:31:16	3801	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:31:16	3801	[DEBUG]	Process image file
2023-10-13	13:31:16	3801	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:31:16	3801	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:16	3801	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_7985.jpg
2023-10-13	13:31:16	3801	[DEBUG]	Full name target: bcprisme/93_7985.jpg
2023-10-13	13:31:17	3801	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:17	3801	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/93_7985.jpg'
2023-10-13	13:31:17	3801	[DEBUG]	Query for Media
2023-10-13	13:31:17	3801	[DEBUG]	Executed store
2023-10-13	13:31:17	3801	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/93_7985.jpg',`file_url_thumb`='bcprisme/93_7985.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1479905'
2023-10-13	13:31:17	3801	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:17	3801	[DEBUG]	Executed store
2023-10-13	13:31:17	3801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863293','1479905','1')
2023-10-13	13:31:17	3801	[DEBUG]	Store product image relation
2023-10-13	13:31:17	3801	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:17	3801	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863293 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:17	3801	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:17	3801	[DEBUG]	Executed store
2023-10-13	13:31:17	3801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863293','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:17	3801	[DEBUG]	Checking manufacturer
2023-10-13	13:31:17	3801	[DEBUG]	Load a row
2023-10-13	13:31:17	3801	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:17	3801	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:31:17	3801	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:17	3801	[DEBUG]	Executed store
2023-10-13	13:31:17	3801	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:31:17	3801	[DEBUG]	Manufacturer exists
2023-10-13	13:31:17	3801	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:31:17	3801	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:17	3801	[DEBUG]	Executed store
2023-10-13	13:31:17	3801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863293','75')
2023-10-13	13:31:17	3801	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:17	3801	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:17	3801	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863293 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:17	3801	[DEBUG]	Store custom available field
2023-10-13	13:31:17	3801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863293,3,'',1)
2023-10-13	13:31:17	3801	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:17	3801	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:17	3801	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863293 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:17	3801	[DEBUG]	Store custom available field
2023-10-13	13:31:17	3801	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863293,6,'Unitaire',3)
2023-10-13	13:31:17	3801	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:17	3801	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:17	3801	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863292
2023-10-13	13:31:17	3801	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:17	3801	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863292\":[1863292,8,1,\"choisir la taille\"],\"1863293\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863292
2023-10-13	13:31:17	3801	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:17	3801	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863293
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:17	3802	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field taille
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:17	3802	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:17	3802	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:17	3802	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:17	3802	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:17	3802	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:17	3802	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:17	3802	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field published
2023-10-13	13:31:17	3802	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:17	3802	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field override
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:17	3802	[DEBUG]	Use field value for field slug
2023-10-13	13:31:17	3802	[DEBUG]	Process line 3802
2023-10-13	13:31:17	3802	[DEBUG]	Load a row
2023-10-13	13:31:17	3802	[DEBUG]	Processing item: A_9602_16
2023-10-13	13:31:17	3802	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:17	3802	[DEBUG]	Processing product tax
2023-10-13	13:31:17	3802	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:17	3802	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:17	3802	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:17	3802	[DEBUG]	Query for Product
2023-10-13	13:31:17	3802	[DEBUG]	Executed store
2023-10-13	13:31:17	3802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9602_16','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:17	3802	[DEBUG]	Check product language entry
2023-10-13	13:31:17	3802	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863294
2023-10-13	13:31:17	3802	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:17	3802	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9602_16' AND `virtuemart_product_id` != 1863294
2023-10-13	13:31:17	3802	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:17	3802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863294, 'A_9602_16')
2023-10-13	13:31:17	3802	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:17	3802	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-sacoche-gravel-15l-gris-gris' AND `virtuemart_product_id` != 1863294
2023-10-13	13:31:17	3802	[DEBUG]	Query for ProductLang
2023-10-13	13:31:17	3802	[DEBUG]	Executed store
2023-10-13	13:31:17	3802	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 93.77312',`product_name`='Pro Sacoche Gravel 15l gris / Gris',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-sacoche-gravel-15l-gris-gris' WHERE `virtuemart_product_id` = '1863294'
2023-10-13	13:31:17	3802	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_7731.jpg has not been found.
2023-10-13	13:31:17	3802	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:17	3802	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863294 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:17	3802	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:17	3802	[DEBUG]	Executed store
2023-10-13	13:31:17	3802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863294','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:17	3802	[DEBUG]	Checking manufacturer
2023-10-13	13:31:17	3802	[DEBUG]	Load a row
2023-10-13	13:31:17	3802	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:17	3802	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:31:17	3802	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:17	3802	[DEBUG]	Executed store
2023-10-13	13:31:17	3802	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:31:17	3802	[DEBUG]	Manufacturer exists
2023-10-13	13:31:17	3802	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:31:17	3802	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:17	3802	[DEBUG]	Executed store
2023-10-13	13:31:17	3802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863294','75')
2023-10-13	13:31:17	3802	[DEBUG]	Find the custom field ID
2023-10-13	13:31:17	3802	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:17	3802	[DEBUG]	No custom field ID found
2023-10-13	13:31:17	3802	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:17	3802	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:17	3802	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863294 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:17	3802	[DEBUG]	Store custom available field
2023-10-13	13:31:17	3802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863294,3,'0',1)
2023-10-13	13:31:17	3802	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:17	3802	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:17	3802	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863294 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:17	3802	[DEBUG]	Store custom available field
2023-10-13	13:31:17	3802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863294,6,'choisir la taille',3)
2023-10-13	13:31:17	3802	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:17	3802	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:17	3802	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:17	3802	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:17	3802	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863294 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:17	3802	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:17	3802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863294,8,1)
2023-10-13	13:31:17	3802	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:17	3802	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863294\":[1863294,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863294
2023-10-13	13:31:17	3802	[DEBUG]	Checking category
2023-10-13	13:31:17	3802	[DEBUG]	Check if category path exists: PANIER-SACOCHE
2023-10-13	13:31:17	3802	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PANIER-SACOCHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:31:17	3802	[DEBUG]	Check if category path exists: PANIER-SACOCHE
2023-10-13	13:31:17	3802	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PANIER-SACOCHE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7384
2023-10-13	13:31:17	3802	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:17	3802	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863294
2023-10-13	13:31:17	3802	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:17	3802	[DEBUG]	Executed store
2023-10-13	13:31:17	3802	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863294','7385')
2023-10-13	13:31:17	3802	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:17	3802	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863294 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:31:17	3802	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:17	3802	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863294
2023-10-13	13:31:17	3803	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:17	3803	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:17	3803	[DEBUG]	Use field value for field taille
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:17	3803	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:17	3803	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:17	3803	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:17	3803	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:17	3803	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:17	3803	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:17	3803	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:17	3803	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:17	3803	[DEBUG]	Use field value for field published
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:17	3803	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field override
2023-10-13	13:31:17	3803	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:17	3803	[DEBUG]	Use field value for field slug
2023-10-13	13:31:17	3803	[DEBUG]	Process line 3803
2023-10-13	13:31:17	3803	[DEBUG]	Load a row
2023-10-13	13:31:17	3803	[DEBUG]	Processing item: 8717009389860
2023-10-13	13:31:17	3803	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:17	3803	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:17	3803	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9602_16'
2023-10-13	13:31:17	3803	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:17	3803	[DEBUG]	Processing product tax
2023-10-13	13:31:17	3803	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:17	3803	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:17	3803	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:17	3803	[DEBUG]	Query for Product
2023-10-13	13:31:17	3803	[DEBUG]	Executed store
2023-10-13	13:31:17	3803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863294','8717009389860','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:17	3803	[DEBUG]	No parent found
2023-10-13	13:31:17	3803	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863294 AND customfield_value = 'stockable'
2023-10-13	13:31:17	3803	[DEBUG]	Check product language entry
2023-10-13	13:31:17	3803	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863295
2023-10-13	13:31:17	3803	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:17	3803	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8717009389860' AND `virtuemart_product_id` != 1863295
2023-10-13	13:31:17	3803	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:17	3803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863295, '8717009389860')
2023-10-13	13:31:17	3803	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:17	3803	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pro-sacoche-gravel-15l-gris-gris-unitaire' AND `virtuemart_product_id` != 1863295
2023-10-13	13:31:17	3803	[DEBUG]	Query for ProductLang
2023-10-13	13:31:17	3803	[DEBUG]	Executed store
2023-10-13	13:31:17	3803	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pro Sacoche Gravel 15l gris / Gris (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pro-sacoche-gravel-15l-gris-gris-unitaire' WHERE `virtuemart_product_id` = '1863295'
2023-10-13	13:31:17	3803	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/93_7731.jpg has not been found.
2023-10-13	13:31:17	3803	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:17	3803	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863295 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:17	3803	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:17	3803	[DEBUG]	Executed store
2023-10-13	13:31:17	3803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863295','0','91.9220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:17	3803	[DEBUG]	Checking manufacturer
2023-10-13	13:31:17	3803	[DEBUG]	Load a row
2023-10-13	13:31:17	3803	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:17	3803	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:31:17	3803	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:17	3803	[DEBUG]	Executed store
2023-10-13	13:31:17	3803	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-50-52758279356' WHERE `virtuemart_manufacturer_id` = '75'
2023-10-13	13:31:17	3803	[DEBUG]	Manufacturer exists
2023-10-13	13:31:17	3803	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 75
2023-10-13	13:31:17	3803	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:17	3803	[DEBUG]	Executed store
2023-10-13	13:31:17	3803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863295','75')
2023-10-13	13:31:17	3803	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:17	3803	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:17	3803	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863295 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:17	3803	[DEBUG]	Store custom available field
2023-10-13	13:31:17	3803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863295,3,'',1)
2023-10-13	13:31:17	3803	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:17	3803	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:17	3803	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863295 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:17	3803	[DEBUG]	Store custom available field
2023-10-13	13:31:17	3803	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863295,6,'Unitaire',3)
2023-10-13	13:31:17	3803	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:17	3803	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:17	3803	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863294
2023-10-13	13:31:17	3803	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:17	3803	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863294\":[1863294,8,1,\"choisir la taille\"],\"1863295\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863294
2023-10-13	13:31:17	3803	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:17	3803	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863295
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:17	3804	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field taille
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:17	3804	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:17	3804	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:17	3804	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:17	3804	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:17	3804	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:17	3804	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field published
2023-10-13	13:31:17	3804	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:17	3804	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field override
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:17	3804	[DEBUG]	Use field value for field slug
2023-10-13	13:31:17	3804	[DEBUG]	Process line 3804
2023-10-13	13:31:17	3804	[DEBUG]	Load a row
2023-10-13	13:31:17	3804	[DEBUG]	Processing item: A_9657_1
2023-10-13	13:31:17	3804	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:17	3804	[DEBUG]	Processing product tax
2023-10-13	13:31:17	3804	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:17	3804	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:17	3804	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:17	3804	[DEBUG]	Query for Product
2023-10-13	13:31:17	3804	[DEBUG]	Executed store
2023-10-13	13:31:17	3804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9657_1','3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:17	3804	[DEBUG]	Check product language entry
2023-10-13	13:31:17	3804	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863296
2023-10-13	13:31:17	3804	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:17	3804	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9657_1' AND `virtuemart_product_id` != 1863296
2023-10-13	13:31:17	3804	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:17	3804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863296, 'A_9657_1')
2023-10-13	13:31:17	3804	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:17	3804	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-sacoche-de-porte-bagages-topeak-mtx-trunkbag-dxp-22-litres-noir' AND `virtuemart_product_id` != 1863296
2023-10-13	13:31:17	3804	[DEBUG]	Query for ProductLang
2023-10-13	13:31:17	3804	[DEBUG]	Executed store
2023-10-13	13:31:17	3804	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Avec une capacité de 12,3 litres, le MTX Trunkbag DX de Topeak offre suffisamment d\'espace pour tout ce dont tu as besoin lors de ta randonnée à vélo. Le compartiment principal en mousse EVA, divisé et indéformable, repose sur une plaque robuste et maintient le sac de transport en place. Le compartiment principal offre un supplément de volume en s\'agrandissant vers le haut par l\'intermédiaire d\'un zip. La Trunkbag possède deux compartiments sur les côtés et la poche arrière permet de ranger un bidon à portée de main. Elle se fixe en un clic sur le porte-bagages grâce au système MTX QuickTrack insérer, clipser, c\'est fixé.<br>N° art fourn : 260.240',`product_name`='KLICKfix Sacoche de porte-bagages Topeak MTX Trunkbag DXP 22 litres   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-sacoche-de-porte-bagages-topeak-mtx-trunkbag-dxp-22-litres-noir' WHERE `virtuemart_product_id` = '1863296'
2023-10-13	13:31:17	3804	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39056_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__22_60_litres__.png
2023-10-13	13:31:17	3804	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000032f
2023-10-13	13:31:17	3804	[DEBUG]	Process image file
2023-10-13	13:31:17	3804	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000032f
2023-10-13	13:31:17	3804	[DEBUG]	Mime type found: image/png
2023-10-13	13:31:17	3804	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39056_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__22_60_litres__.png
2023-10-13	13:31:17	3804	[DEBUG]	Full name target: bcprisme/39056_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__22_60_litres__.png
2023-10-13	13:31:18	3804	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:18	3804	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39056_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__22_60_litres__.png'
2023-10-13	13:31:18	3804	[DEBUG]	Query for Media
2023-10-13	13:31:18	3804	[DEBUG]	Executed store
2023-10-13	13:31:18	3804	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/39056_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__22_60_litres__.png',`file_url_thumb`='bcprisme/39056_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__22_60_litres__.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1502366'
2023-10-13	13:31:18	3804	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:18	3804	[DEBUG]	Executed store
2023-10-13	13:31:18	3804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863296','1502366','1')
2023-10-13	13:31:18	3804	[DEBUG]	Store product image relation
2023-10-13	13:31:18	3804	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:18	3804	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863296 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:18	3804	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:18	3804	[DEBUG]	Executed store
2023-10-13	13:31:18	3804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863296','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:18	3804	[DEBUG]	Checking manufacturer
2023-10-13	13:31:18	3804	[DEBUG]	Load a row
2023-10-13	13:31:18	3804	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:18	3804	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:18	3804	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:18	3804	[DEBUG]	Executed store
2023-10-13	13:31:18	3804	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:18	3804	[DEBUG]	Manufacturer exists
2023-10-13	13:31:18	3804	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:31:18	3804	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:18	3804	[DEBUG]	Executed store
2023-10-13	13:31:18	3804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863296','146')
2023-10-13	13:31:18	3804	[DEBUG]	Find the custom field ID
2023-10-13	13:31:18	3804	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:18	3804	[DEBUG]	No custom field ID found
2023-10-13	13:31:18	3804	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:18	3804	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:18	3804	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863296 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:18	3804	[DEBUG]	Store custom available field
2023-10-13	13:31:18	3804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863296,3,'0',1)
2023-10-13	13:31:18	3804	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:18	3804	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:18	3804	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863296 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:18	3804	[DEBUG]	Store custom available field
2023-10-13	13:31:18	3804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863296,6,'choisir la taille',3)
2023-10-13	13:31:18	3804	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:18	3804	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:18	3804	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:18	3804	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:18	3804	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863296 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:18	3804	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:18	3804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863296,8,1)
2023-10-13	13:31:18	3804	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:18	3804	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863296\":[1863296,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863296
2023-10-13	13:31:18	3804	[DEBUG]	Checking category
2023-10-13	13:31:18	3804	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:18	3804	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863296
2023-10-13	13:31:18	3804	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:18	3804	[DEBUG]	Executed store
2023-10-13	13:31:18	3804	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863296','7385')
2023-10-13	13:31:18	3804	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:18	3804	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863296 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:31:18	3804	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:18	3804	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863296
2023-10-13	13:31:18	3805	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:18	3805	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:18	3805	[DEBUG]	Use field value for field taille
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:18	3805	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:18	3805	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:18	3805	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:18	3805	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:18	3805	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:18	3805	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:18	3805	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:18	3805	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:18	3805	[DEBUG]	Use field value for field published
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:18	3805	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field override
2023-10-13	13:31:18	3805	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:18	3805	[DEBUG]	Use field value for field slug
2023-10-13	13:31:18	3805	[DEBUG]	Process line 3805
2023-10-13	13:31:18	3805	[DEBUG]	Load a row
2023-10-13	13:31:18	3805	[DEBUG]	Processing item: 4712511836349
2023-10-13	13:31:18	3805	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:18	3805	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:18	3805	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9657_1'
2023-10-13	13:31:18	3805	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:18	3805	[DEBUG]	Processing product tax
2023-10-13	13:31:18	3805	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:18	3805	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:18	3805	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:18	3805	[DEBUG]	Query for Product
2023-10-13	13:31:18	3805	[DEBUG]	Executed store
2023-10-13	13:31:18	3805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863296','4712511836349','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:18	3805	[DEBUG]	No parent found
2023-10-13	13:31:18	3805	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863296 AND customfield_value = 'stockable'
2023-10-13	13:31:18	3805	[DEBUG]	Check product language entry
2023-10-13	13:31:18	3805	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863297
2023-10-13	13:31:18	3805	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:18	3805	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4712511836349' AND `virtuemart_product_id` != 1863297
2023-10-13	13:31:18	3805	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:18	3805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863297, '4712511836349')
2023-10-13	13:31:18	3805	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:18	3805	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-sacoche-de-porte-bagages-topeak-mtx-trunkbag-dxp-22-litres-noir-unitaire' AND `virtuemart_product_id` != 1863297
2023-10-13	13:31:18	3805	[DEBUG]	Query for ProductLang
2023-10-13	13:31:18	3805	[DEBUG]	Executed store
2023-10-13	13:31:18	3805	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKfix Sacoche de porte-bagages Topeak MTX Trunkbag DXP 22 litres   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-sacoche-de-porte-bagages-topeak-mtx-trunkbag-dxp-22-litres-noir-unitaire' WHERE `virtuemart_product_id` = '1863297'
2023-10-13	13:31:18	3805	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39056_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__22_60_litres__.png
2023-10-13	13:31:18	3805	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000032f
2023-10-13	13:31:18	3805	[DEBUG]	Process image file
2023-10-13	13:31:18	3805	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000032f
2023-10-13	13:31:18	3805	[DEBUG]	Mime type found: image/png
2023-10-13	13:31:18	3805	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39056_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__22_60_litres__.png
2023-10-13	13:31:18	3805	[DEBUG]	Full name target: bcprisme/39056_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__22_60_litres__.png
2023-10-13	13:31:19	3805	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:19	3805	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39056_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__22_60_litres__.png'
2023-10-13	13:31:19	3805	[DEBUG]	Query for Media
2023-10-13	13:31:19	3805	[DEBUG]	Executed store
2023-10-13	13:31:19	3805	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/39056_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__22_60_litres__.png',`file_url_thumb`='bcprisme/39056_sacoche_de_porte-bagages_topeak_mtx_trunkbag_dxp__22_60_litres__.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1502366'
2023-10-13	13:31:19	3805	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:19	3805	[DEBUG]	Executed store
2023-10-13	13:31:19	3805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863297','1502366','1')
2023-10-13	13:31:19	3805	[DEBUG]	Store product image relation
2023-10-13	13:31:19	3805	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:19	3805	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863297 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:19	3805	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:19	3805	[DEBUG]	Executed store
2023-10-13	13:31:19	3805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863297','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:19	3805	[DEBUG]	Checking manufacturer
2023-10-13	13:31:19	3805	[DEBUG]	Load a row
2023-10-13	13:31:19	3805	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:19	3805	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:19	3805	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:19	3805	[DEBUG]	Executed store
2023-10-13	13:31:19	3805	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:19	3805	[DEBUG]	Manufacturer exists
2023-10-13	13:31:19	3805	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:31:19	3805	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:19	3805	[DEBUG]	Executed store
2023-10-13	13:31:19	3805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863297','146')
2023-10-13	13:31:19	3805	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:19	3805	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:19	3805	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863297 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:19	3805	[DEBUG]	Store custom available field
2023-10-13	13:31:19	3805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863297,3,'',1)
2023-10-13	13:31:19	3805	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:19	3805	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:19	3805	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863297 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:19	3805	[DEBUG]	Store custom available field
2023-10-13	13:31:19	3805	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863297,6,'Unitaire',3)
2023-10-13	13:31:19	3805	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:19	3805	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:19	3805	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863296
2023-10-13	13:31:19	3805	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:19	3805	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863296\":[1863296,8,1,\"choisir la taille\"],\"1863297\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863296
2023-10-13	13:31:19	3805	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:19	3805	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863297
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:19	3806	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field taille
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:19	3806	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:19	3806	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:19	3806	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:19	3806	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:19	3806	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:19	3806	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field published
2023-10-13	13:31:19	3806	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:19	3806	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field override
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:19	3806	[DEBUG]	Use field value for field slug
2023-10-13	13:31:19	3806	[DEBUG]	Process line 3806
2023-10-13	13:31:19	3806	[DEBUG]	Load a row
2023-10-13	13:31:19	3806	[DEBUG]	Processing item: A_9821_547
2023-10-13	13:31:19	3806	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:19	3806	[DEBUG]	Processing product tax
2023-10-13	13:31:19	3806	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:19	3806	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:19	3806	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:19	3806	[DEBUG]	Query for Product
2023-10-13	13:31:19	3806	[DEBUG]	Executed store
2023-10-13	13:31:19	3806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9821_547','3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:19	3806	[DEBUG]	Check product language entry
2023-10-13	13:31:19	3806	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863298
2023-10-13	13:31:19	3806	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:19	3806	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9821_547' AND `virtuemart_product_id` != 1863298
2023-10-13	13:31:19	3806	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:19	3806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863298, 'A_9821_547')
2023-10-13	13:31:19	3806	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:19	3806	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-sacoche-de-guidon-funbag-noir-4-litres-noir' AND `virtuemart_product_id` != 1863298
2023-10-13	13:31:19	3806	[DEBUG]	Query for ProductLang
2023-10-13	13:31:19	3806	[DEBUG]	Executed store
2023-10-13	13:31:19	3806	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Avec une capacité de 12,3 litres, le MTX Trunkbag DX de Topeak offre suffisamment d\'espace pour tout ce dont tu as besoin lors de ta randonnée à vélo. Le compartiment principal en mousse EVA, divisé et indéformable, repose sur une plaque robuste et maintient le sac de transport en place. Le compartiment principal offre un supplément de volume en s\'agrandissant vers le haut par l\'intermédiaire d\'un zip. La Trunkbag possède deux compartiments sur les côtés et la poche arrière permet de ranger un bidon à portée de main. Elle se fixe en un clic sur le porte-bagages grâce au système MTX QuickTrack - insérer, clipser, c\'est fixé.<br>N° art fourn : 715611',`product_name`='Klickfix Sacoche de guidon FUNBAG noir 4 litres / noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-sacoche-de-guidon-funbag-noir-4-litres-noir' WHERE `virtuemart_product_id` = '1863298'
2023-10-13	13:31:19	3806	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39290_sacoche_de_guidon_funbag_noir,_4_litres.jpg
2023-10-13	13:31:19	3806	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:31:19	3806	[DEBUG]	Process image file
2023-10-13	13:31:19	3806	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:31:19	3806	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:19	3806	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39290_sacoche_de_guidon_funbag_noir,_4_litres.jpg
2023-10-13	13:31:19	3806	[DEBUG]	Full name target: bcprisme/39290_sacoche_de_guidon_funbag_noir,_4_litres.jpg
2023-10-13	13:31:20	3806	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:20	3806	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39290_sacoche_de_guidon_funbag_noir,_4_litres.jpg'
2023-10-13	13:31:20	3806	[DEBUG]	Query for Media
2023-10-13	13:31:20	3806	[DEBUG]	Executed store
2023-10-13	13:31:20	3806	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39290_sacoche_de_guidon_funbag_noir,_4_litres.jpg',`file_url_thumb`='bcprisme/39290_sacoche_de_guidon_funbag_noir,_4_litres.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1620190'
2023-10-13	13:31:20	3806	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:20	3806	[DEBUG]	Executed store
2023-10-13	13:31:20	3806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863298','1620190','1')
2023-10-13	13:31:20	3806	[DEBUG]	Store product image relation
2023-10-13	13:31:20	3806	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:20	3806	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863298 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:20	3806	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:20	3806	[DEBUG]	Executed store
2023-10-13	13:31:20	3806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863298','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:20	3806	[DEBUG]	Checking manufacturer
2023-10-13	13:31:20	3806	[DEBUG]	Load a row
2023-10-13	13:31:20	3806	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:20	3806	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:20	3806	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:20	3806	[DEBUG]	Executed store
2023-10-13	13:31:20	3806	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:20	3806	[DEBUG]	Manufacturer exists
2023-10-13	13:31:20	3806	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:31:20	3806	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:20	3806	[DEBUG]	Executed store
2023-10-13	13:31:20	3806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863298','200')
2023-10-13	13:31:20	3806	[DEBUG]	Find the custom field ID
2023-10-13	13:31:20	3806	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:20	3806	[DEBUG]	No custom field ID found
2023-10-13	13:31:20	3806	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:20	3806	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:20	3806	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863298 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:20	3806	[DEBUG]	Store custom available field
2023-10-13	13:31:20	3806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863298,3,'0',1)
2023-10-13	13:31:20	3806	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:20	3806	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:20	3806	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863298 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:20	3806	[DEBUG]	Store custom available field
2023-10-13	13:31:20	3806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863298,6,'choisir la taille',3)
2023-10-13	13:31:20	3806	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:20	3806	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:20	3806	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:20	3806	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:20	3806	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863298 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:20	3806	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:20	3806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863298,8,1)
2023-10-13	13:31:20	3806	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:20	3806	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863298\":[1863298,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863298
2023-10-13	13:31:20	3806	[DEBUG]	Checking category
2023-10-13	13:31:20	3806	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:20	3806	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863298
2023-10-13	13:31:20	3806	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:20	3806	[DEBUG]	Executed store
2023-10-13	13:31:20	3806	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863298','7385')
2023-10-13	13:31:20	3806	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:20	3806	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863298 AND `virtuemart_category_id` NOT IN (7385)
2023-10-13	13:31:20	3806	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:20	3806	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863298
2023-10-13	13:31:20	3807	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:20	3807	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:20	3807	[DEBUG]	Use field value for field taille
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:20	3807	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:20	3807	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:20	3807	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:20	3807	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:20	3807	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:20	3807	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:20	3807	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:20	3807	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:20	3807	[DEBUG]	Use field value for field published
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:20	3807	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field override
2023-10-13	13:31:20	3807	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:20	3807	[DEBUG]	Use field value for field slug
2023-10-13	13:31:20	3807	[DEBUG]	Process line 3807
2023-10-13	13:31:20	3807	[DEBUG]	Load a row
2023-10-13	13:31:20	3807	[DEBUG]	Processing item: 4030572105762
2023-10-13	13:31:20	3807	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:20	3807	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:20	3807	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9821_547'
2023-10-13	13:31:20	3807	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:20	3807	[DEBUG]	Processing product tax
2023-10-13	13:31:20	3807	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:20	3807	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:20	3807	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:20	3807	[DEBUG]	Query for Product
2023-10-13	13:31:20	3807	[DEBUG]	Executed store
2023-10-13	13:31:20	3807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863298','4030572105762','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:20	3807	[DEBUG]	No parent found
2023-10-13	13:31:20	3807	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863298 AND customfield_value = 'stockable'
2023-10-13	13:31:20	3807	[DEBUG]	Check product language entry
2023-10-13	13:31:20	3807	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863299
2023-10-13	13:31:20	3807	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:20	3807	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572105762' AND `virtuemart_product_id` != 1863299
2023-10-13	13:31:20	3807	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:20	3807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863299, '4030572105762')
2023-10-13	13:31:20	3807	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:20	3807	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-sacoche-de-guidon-funbag-noir-4-litres-noir-unitaire' AND `virtuemart_product_id` != 1863299
2023-10-13	13:31:20	3807	[DEBUG]	Query for ProductLang
2023-10-13	13:31:20	3807	[DEBUG]	Executed store
2023-10-13	13:31:20	3807	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix Sacoche de guidon FUNBAG noir 4 litres / noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-sacoche-de-guidon-funbag-noir-4-litres-noir-unitaire' WHERE `virtuemart_product_id` = '1863299'
2023-10-13	13:31:20	3807	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39290_sacoche_de_guidon_funbag_noir,_4_litres.jpg
2023-10-13	13:31:20	3807	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:31:20	3807	[DEBUG]	Process image file
2023-10-13	13:31:20	3807	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:31:20	3807	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:20	3807	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39290_sacoche_de_guidon_funbag_noir,_4_litres.jpg
2023-10-13	13:31:20	3807	[DEBUG]	Full name target: bcprisme/39290_sacoche_de_guidon_funbag_noir,_4_litres.jpg
2023-10-13	13:31:21	3807	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:21	3807	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39290_sacoche_de_guidon_funbag_noir,_4_litres.jpg'
2023-10-13	13:31:21	3807	[DEBUG]	Query for Media
2023-10-13	13:31:21	3807	[DEBUG]	Executed store
2023-10-13	13:31:21	3807	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/39290_sacoche_de_guidon_funbag_noir,_4_litres.jpg',`file_url_thumb`='bcprisme/39290_sacoche_de_guidon_funbag_noir,_4_litres.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1620190'
2023-10-13	13:31:21	3807	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:21	3807	[DEBUG]	Executed store
2023-10-13	13:31:21	3807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863299','1620190','1')
2023-10-13	13:31:21	3807	[DEBUG]	Store product image relation
2023-10-13	13:31:21	3807	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:21	3807	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863299 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:21	3807	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:21	3807	[DEBUG]	Executed store
2023-10-13	13:31:21	3807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863299','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:21	3807	[DEBUG]	Checking manufacturer
2023-10-13	13:31:21	3807	[DEBUG]	Load a row
2023-10-13	13:31:21	3807	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:21	3807	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:21	3807	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:21	3807	[DEBUG]	Executed store
2023-10-13	13:31:21	3807	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:21	3807	[DEBUG]	Manufacturer exists
2023-10-13	13:31:21	3807	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:31:21	3807	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:21	3807	[DEBUG]	Executed store
2023-10-13	13:31:21	3807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863299','200')
2023-10-13	13:31:21	3807	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:21	3807	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:21	3807	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863299 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:21	3807	[DEBUG]	Store custom available field
2023-10-13	13:31:21	3807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863299,3,'',1)
2023-10-13	13:31:21	3807	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:21	3807	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:21	3807	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863299 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:21	3807	[DEBUG]	Store custom available field
2023-10-13	13:31:21	3807	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863299,6,'Unitaire',3)
2023-10-13	13:31:21	3807	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:21	3807	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:21	3807	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863298
2023-10-13	13:31:21	3807	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:21	3807	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863298\":[1863298,8,1,\"choisir la taille\"],\"1863299\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863298
2023-10-13	13:31:21	3807	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:21	3807	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863299
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:21	3808	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field taille
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:21	3808	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:21	3808	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:21	3808	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:21	3808	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:21	3808	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:21	3808	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field published
2023-10-13	13:31:21	3808	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:21	3808	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field override
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:21	3808	[DEBUG]	Use field value for field slug
2023-10-13	13:31:21	3808	[DEBUG]	Process line 3808
2023-10-13	13:31:21	3808	[DEBUG]	Load a row
2023-10-13	13:31:21	3808	[DEBUG]	Processing item: A_5436_208
2023-10-13	13:31:21	3808	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:21	3808	[DEBUG]	Processing product tax
2023-10-13	13:31:21	3808	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:21	3808	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:21	3808	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:21	3808	[DEBUG]	Query for Product
2023-10-13	13:31:21	3808	[DEBUG]	Executed store
2023-10-13	13:31:21	3808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5436_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:21	3808	[DEBUG]	Check product language entry
2023-10-13	13:31:21	3808	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863300
2023-10-13	13:31:21	3808	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:21	3808	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5436_208' AND `virtuemart_product_id` != 1863300
2023-10-13	13:31:21	3808	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:21	3808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863300, 'A_5436_208')
2023-10-13	13:31:21	3808	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:21	3808	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-adaptateur-de-guidon-e-klick-fix-noir-aucune' AND `virtuemart_product_id` != 1863300
2023-10-13	13:31:21	3808	[DEBUG]	Query for ProductLang
2023-10-13	13:31:21	3808	[DEBUG]	Executed store
2023-10-13	13:31:21	3808	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 480.116.3',`product_name`='KLICKFIX Adaptateur de guidon E Klick-Fix noir / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-adaptateur-de-guidon-e-klick-fix-noir-aucune' WHERE `virtuemart_product_id` = '1863300'
2023-10-13	13:31:21	3808	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_61361.jpg
2023-10-13	13:31:21	3808	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:21	3808	[DEBUG]	Process image file
2023-10-13	13:31:21	3808	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:21	3808	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:21	3808	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_61361.jpg
2023-10-13	13:31:21	3808	[DEBUG]	Full name target: bcprisme/28_61361.jpg
2023-10-13	13:31:22	3808	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:22	3808	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28_61361.jpg'
2023-10-13	13:31:22	3808	[DEBUG]	Query for Media
2023-10-13	13:31:22	3808	[DEBUG]	Executed store
2023-10-13	13:31:22	3808	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28_61361.jpg',`file_url_thumb`='bcprisme/28_61361.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437958'
2023-10-13	13:31:22	3808	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:22	3808	[DEBUG]	Executed store
2023-10-13	13:31:22	3808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863300','437958','1')
2023-10-13	13:31:22	3808	[DEBUG]	Store product image relation
2023-10-13	13:31:22	3808	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:22	3808	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863300 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:22	3808	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:22	3808	[DEBUG]	Executed store
2023-10-13	13:31:22	3808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863300','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:22	3808	[DEBUG]	Checking manufacturer
2023-10-13	13:31:22	3808	[DEBUG]	Load a row
2023-10-13	13:31:22	3808	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:22	3808	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:31:22	3808	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:22	3808	[DEBUG]	Executed store
2023-10-13	13:31:22	3808	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-58992307618' WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:31:22	3808	[DEBUG]	Manufacturer exists
2023-10-13	13:31:22	3808	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 167
2023-10-13	13:31:22	3808	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:22	3808	[DEBUG]	Executed store
2023-10-13	13:31:22	3808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863300','167')
2023-10-13	13:31:22	3808	[DEBUG]	Find the custom field ID
2023-10-13	13:31:22	3808	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:22	3808	[DEBUG]	No custom field ID found
2023-10-13	13:31:22	3808	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:22	3808	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:22	3808	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863300 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:22	3808	[DEBUG]	Store custom available field
2023-10-13	13:31:22	3808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863300,3,'0',1)
2023-10-13	13:31:22	3808	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:22	3808	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:22	3808	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863300 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:22	3808	[DEBUG]	Store custom available field
2023-10-13	13:31:22	3808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863300,6,'choisir la taille',3)
2023-10-13	13:31:22	3808	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:22	3808	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:22	3808	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:22	3808	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:22	3808	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863300 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:22	3808	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:22	3808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863300,8,1)
2023-10-13	13:31:22	3808	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:22	3808	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863300\":[1863300,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863300
2023-10-13	13:31:22	3808	[DEBUG]	Checking category
2023-10-13	13:31:22	3808	[DEBUG]	Check if category path exists: PANIER-SACOCHE ACCESSOIRES
2023-10-13	13:31:22	3808	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PANIER-SACOCHE ACCESSOIRES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7384
2023-10-13	13:31:22	3808	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:22	3808	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863300
2023-10-13	13:31:22	3808	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:22	3808	[DEBUG]	Executed store
2023-10-13	13:31:22	3808	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863300','7386')
2023-10-13	13:31:22	3808	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:22	3808	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863300 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:22	3808	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:22	3808	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863300
2023-10-13	13:31:22	3809	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:22	3809	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:22	3809	[DEBUG]	Use field value for field taille
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:22	3809	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:22	3809	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:22	3809	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:22	3809	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:22	3809	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:22	3809	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:22	3809	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:22	3809	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:22	3809	[DEBUG]	Use field value for field published
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:22	3809	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field override
2023-10-13	13:31:22	3809	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:22	3809	[DEBUG]	Use field value for field slug
2023-10-13	13:31:22	3809	[DEBUG]	Process line 3809
2023-10-13	13:31:22	3809	[DEBUG]	Load a row
2023-10-13	13:31:22	3809	[DEBUG]	Processing item: 3
2023-10-13	13:31:22	3809	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:22	3809	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:22	3809	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5436_208'
2023-10-13	13:31:22	3809	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:22	3809	[DEBUG]	Processing product tax
2023-10-13	13:31:22	3809	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:22	3809	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:22	3809	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:22	3809	[DEBUG]	Query for Product
2023-10-13	13:31:22	3809	[DEBUG]	Executed store
2023-10-13	13:31:22	3809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863300','3','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:22	3809	[DEBUG]	No parent found
2023-10-13	13:31:22	3809	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863300 AND customfield_value = 'stockable'
2023-10-13	13:31:22	3809	[DEBUG]	Check product language entry
2023-10-13	13:31:22	3809	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863301
2023-10-13	13:31:22	3809	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:22	3809	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3' AND `virtuemart_product_id` != 1863301
2023-10-13	13:31:22	3809	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:22	3809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863301, '3')
2023-10-13	13:31:22	3809	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:22	3809	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-adaptateur-de-guidon-e-klick-fix-noir-aucune-all' AND `virtuemart_product_id` != 1863301
2023-10-13	13:31:22	3809	[DEBUG]	Query for ProductLang
2023-10-13	13:31:22	3809	[DEBUG]	Executed store
2023-10-13	13:31:22	3809	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKFIX Adaptateur de guidon E Klick-Fix noir / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-adaptateur-de-guidon-e-klick-fix-noir-aucune-all' WHERE `virtuemart_product_id` = '1863301'
2023-10-13	13:31:22	3809	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_61361.jpg
2023-10-13	13:31:22	3809	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:22	3809	[DEBUG]	Process image file
2023-10-13	13:31:22	3809	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:22	3809	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:22	3809	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_61361.jpg
2023-10-13	13:31:22	3809	[DEBUG]	Full name target: bcprisme/28_61361.jpg
2023-10-13	13:31:23	3809	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:23	3809	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28_61361.jpg'
2023-10-13	13:31:23	3809	[DEBUG]	Query for Media
2023-10-13	13:31:23	3809	[DEBUG]	Executed store
2023-10-13	13:31:23	3809	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28_61361.jpg',`file_url_thumb`='bcprisme/28_61361.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437958'
2023-10-13	13:31:23	3809	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:23	3809	[DEBUG]	Executed store
2023-10-13	13:31:23	3809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863301','437958','1')
2023-10-13	13:31:23	3809	[DEBUG]	Store product image relation
2023-10-13	13:31:23	3809	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:23	3809	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863301 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:23	3809	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:23	3809	[DEBUG]	Executed store
2023-10-13	13:31:23	3809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863301','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:23	3809	[DEBUG]	Checking manufacturer
2023-10-13	13:31:23	3809	[DEBUG]	Load a row
2023-10-13	13:31:23	3809	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:23	3809	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:31:23	3809	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:23	3809	[DEBUG]	Executed store
2023-10-13	13:31:23	3809	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-58992307618' WHERE `virtuemart_manufacturer_id` = '167'
2023-10-13	13:31:23	3809	[DEBUG]	Manufacturer exists
2023-10-13	13:31:23	3809	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 167
2023-10-13	13:31:23	3809	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:23	3809	[DEBUG]	Executed store
2023-10-13	13:31:23	3809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863301','167')
2023-10-13	13:31:23	3809	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:23	3809	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:23	3809	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863301 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:23	3809	[DEBUG]	Store custom available field
2023-10-13	13:31:23	3809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863301,3,'',1)
2023-10-13	13:31:23	3809	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:23	3809	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:31:23	3809	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863301 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:23	3809	[DEBUG]	Store custom available field
2023-10-13	13:31:23	3809	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863301,6,'All',3)
2023-10-13	13:31:23	3809	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:23	3809	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:23	3809	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863300
2023-10-13	13:31:23	3809	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:23	3809	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863300\":[1863300,8,1,\"choisir la taille\"],\"1863301\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863300
2023-10-13	13:31:23	3809	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:23	3809	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863301
2023-10-13	13:31:23	3810	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:23	3810	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:23	3810	[DEBUG]	Use field value for field taille
2023-10-13	13:31:23	3810	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:23	3810	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:23	3810	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:23	3810	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:23	3810	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:23	3810	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:23	3810	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:23	3810	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:23	3810	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:23	3810	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:23	3810	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:23	3810	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:23	3810	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:23	3810	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:23	3810	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:23	3810	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:23	3810	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:24	3810	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:24	3810	[DEBUG]	Use field value for field published
2023-10-13	13:31:24	3810	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:24	3810	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:24	3810	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:24	3810	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:24	3810	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:24	3810	[DEBUG]	Use field value for field override
2023-10-13	13:31:24	3810	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:24	3810	[DEBUG]	Use field value for field slug
2023-10-13	13:31:24	3810	[DEBUG]	Process line 3810
2023-10-13	13:31:24	3810	[DEBUG]	Load a row
2023-10-13	13:31:24	3810	[DEBUG]	Processing item: A_5453_3
2023-10-13	13:31:24	3810	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:24	3810	[DEBUG]	Processing product tax
2023-10-13	13:31:24	3810	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:24	3810	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:24	3810	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:24	3810	[DEBUG]	Query for Product
2023-10-13	13:31:24	3810	[DEBUG]	Executed store
2023-10-13	13:31:24	3810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5453_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:24	3810	[DEBUG]	Check product language entry
2023-10-13	13:31:24	3810	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863302
2023-10-13	13:31:24	3810	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:24	3810	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5453_3' AND `virtuemart_product_id` != 1863302
2023-10-13	13:31:24	3810	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:24	3810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863302, 'A_5453_3')
2023-10-13	13:31:24	3810	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:24	3810	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-prolongateur-adaptateur-de-cintre-klick-fix-43mm-none' AND `virtuemart_product_id` != 1863302
2023-10-13	13:31:24	3810	[DEBUG]	Query for ProductLang
2023-10-13	13:31:24	3810	[DEBUG]	Executed store
2023-10-13	13:31:24	3810	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 480.003.008',`product_name`='KLICKfix Prolongateur adaptateur de cintre Klick-Fix 43mm / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-prolongateur-adaptateur-de-cintre-klick-fix-43mm-none' WHERE `virtuemart_product_id` = '1863302'
2023-10-13	13:31:24	3810	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29940_prolongateur_adaptateur_de_cintre_klick-fix_43mm.jpg has not been found.
2023-10-13	13:31:24	3810	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:24	3810	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863302 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:24	3810	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:24	3810	[DEBUG]	Executed store
2023-10-13	13:31:24	3810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863302','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:24	3810	[DEBUG]	Checking manufacturer
2023-10-13	13:31:24	3810	[DEBUG]	Load a row
2023-10-13	13:31:24	3810	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:24	3810	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:24	3810	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:24	3810	[DEBUG]	Executed store
2023-10-13	13:31:24	3810	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:24	3810	[DEBUG]	Manufacturer exists
2023-10-13	13:31:24	3810	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:31:24	3810	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:24	3810	[DEBUG]	Executed store
2023-10-13	13:31:24	3810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863302','146')
2023-10-13	13:31:24	3810	[DEBUG]	Find the custom field ID
2023-10-13	13:31:24	3810	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:24	3810	[DEBUG]	No custom field ID found
2023-10-13	13:31:24	3810	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:24	3810	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:24	3810	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863302 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:24	3810	[DEBUG]	Store custom available field
2023-10-13	13:31:24	3810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863302,3,'0',1)
2023-10-13	13:31:24	3810	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:24	3810	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:24	3810	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863302 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:24	3810	[DEBUG]	Store custom available field
2023-10-13	13:31:24	3810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863302,6,'choisir la taille',3)
2023-10-13	13:31:24	3810	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:24	3810	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:24	3810	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:24	3810	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:24	3810	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863302 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:24	3810	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:24	3810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863302,8,1)
2023-10-13	13:31:24	3810	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:24	3810	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863302\":[1863302,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863302
2023-10-13	13:31:24	3810	[DEBUG]	Checking category
2023-10-13	13:31:24	3810	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:24	3810	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863302
2023-10-13	13:31:24	3810	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:24	3810	[DEBUG]	Executed store
2023-10-13	13:31:24	3810	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863302','7386')
2023-10-13	13:31:24	3810	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:24	3810	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863302 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:24	3810	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:24	3810	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863302
2023-10-13	13:31:24	3811	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:24	3811	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:24	3811	[DEBUG]	Use field value for field taille
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:24	3811	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:24	3811	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:24	3811	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:24	3811	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:24	3811	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:24	3811	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:24	3811	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:24	3811	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:24	3811	[DEBUG]	Use field value for field published
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:24	3811	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field override
2023-10-13	13:31:24	3811	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:24	3811	[DEBUG]	Use field value for field slug
2023-10-13	13:31:24	3811	[DEBUG]	Process line 3811
2023-10-13	13:31:24	3811	[DEBUG]	Load a row
2023-10-13	13:31:24	3811	[DEBUG]	Processing item: 4030572101368
2023-10-13	13:31:24	3811	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:24	3811	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:24	3811	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5453_3'
2023-10-13	13:31:24	3811	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:24	3811	[DEBUG]	Processing product tax
2023-10-13	13:31:24	3811	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:24	3811	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:24	3811	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:24	3811	[DEBUG]	Query for Product
2023-10-13	13:31:24	3811	[DEBUG]	Executed store
2023-10-13	13:31:24	3811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863302','4030572101368','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:24	3811	[DEBUG]	No parent found
2023-10-13	13:31:24	3811	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863302 AND customfield_value = 'stockable'
2023-10-13	13:31:24	3811	[DEBUG]	Check product language entry
2023-10-13	13:31:24	3811	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863303
2023-10-13	13:31:24	3811	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:24	3811	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572101368' AND `virtuemart_product_id` != 1863303
2023-10-13	13:31:24	3811	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:24	3811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863303, '4030572101368')
2023-10-13	13:31:24	3811	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:24	3811	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-prolongateur-adaptateur-de-cintre-klick-fix-43mm-none-all' AND `virtuemart_product_id` != 1863303
2023-10-13	13:31:24	3811	[DEBUG]	Query for ProductLang
2023-10-13	13:31:24	3811	[DEBUG]	Executed store
2023-10-13	13:31:24	3811	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKfix Prolongateur adaptateur de cintre Klick-Fix 43mm / None (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-prolongateur-adaptateur-de-cintre-klick-fix-43mm-none-all' WHERE `virtuemart_product_id` = '1863303'
2023-10-13	13:31:24	3811	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29940_prolongateur_adaptateur_de_cintre_klick-fix_43mm.jpg has not been found.
2023-10-13	13:31:24	3811	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:24	3811	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863303 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:24	3811	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:24	3811	[DEBUG]	Executed store
2023-10-13	13:31:24	3811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863303','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:24	3811	[DEBUG]	Checking manufacturer
2023-10-13	13:31:24	3811	[DEBUG]	Load a row
2023-10-13	13:31:24	3811	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:24	3811	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:24	3811	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:24	3811	[DEBUG]	Executed store
2023-10-13	13:31:24	3811	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:24	3811	[DEBUG]	Manufacturer exists
2023-10-13	13:31:24	3811	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:31:24	3811	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:24	3811	[DEBUG]	Executed store
2023-10-13	13:31:24	3811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863303','146')
2023-10-13	13:31:24	3811	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:24	3811	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:24	3811	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863303 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:24	3811	[DEBUG]	Store custom available field
2023-10-13	13:31:24	3811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863303,3,'',1)
2023-10-13	13:31:24	3811	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:24	3811	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:31:24	3811	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863303 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:24	3811	[DEBUG]	Store custom available field
2023-10-13	13:31:24	3811	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863303,6,'All',3)
2023-10-13	13:31:24	3811	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:24	3811	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:24	3811	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863302
2023-10-13	13:31:24	3811	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:24	3811	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863302\":[1863302,8,1,\"choisir la taille\"],\"1863303\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863302
2023-10-13	13:31:24	3811	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:24	3811	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863303
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:24	3812	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field taille
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:24	3812	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:24	3812	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:24	3812	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:24	3812	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:24	3812	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:24	3812	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field published
2023-10-13	13:31:24	3812	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:24	3812	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field override
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:24	3812	[DEBUG]	Use field value for field slug
2023-10-13	13:31:24	3812	[DEBUG]	Process line 3812
2023-10-13	13:31:24	3812	[DEBUG]	Load a row
2023-10-13	13:31:24	3812	[DEBUG]	Processing item: A_5785_208
2023-10-13	13:31:24	3812	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:24	3812	[DEBUG]	Processing product tax
2023-10-13	13:31:24	3812	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:24	3812	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:24	3812	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:24	3812	[DEBUG]	Query for Product
2023-10-13	13:31:24	3812	[DEBUG]	Executed store
2023-10-13	13:31:24	3812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5785_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:24	3812	[DEBUG]	Check product language entry
2023-10-13	13:31:24	3812	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863304
2023-10-13	13:31:24	3812	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:24	3812	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5785_208' AND `virtuemart_product_id` != 1863304
2023-10-13	13:31:24	3812	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:24	3812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863304, 'A_5785_208')
2023-10-13	13:31:24	3812	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:24	3812	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-adaptateur-3-points-225x95x28-mm-noir-aucune' AND `virtuemart_product_id` != 1863304
2023-10-13	13:31:24	3812	[DEBUG]	Query for ProductLang
2023-10-13	13:31:24	3812	[DEBUG]	Executed store
2023-10-13	13:31:24	3812	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 31.18944',`product_name`='Pletscher Adaptateur 3-points 225x95x28 mm  noir / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-adaptateur-3-points-225x95x28-mm-noir-aucune' WHERE `virtuemart_product_id` = '1863304'
2023-10-13	13:31:24	3812	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_18944.jpg
2023-10-13	13:31:24	3812	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:24	3812	[DEBUG]	Process image file
2023-10-13	13:31:24	3812	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:24	3812	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:24	3812	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_18944.jpg
2023-10-13	13:31:24	3812	[DEBUG]	Full name target: bcprisme/31_18944.jpg
2023-10-13	13:31:25	3812	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:25	3812	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31_18944.jpg'
2023-10-13	13:31:25	3812	[DEBUG]	Query for Media
2023-10-13	13:31:25	3812	[DEBUG]	Executed store
2023-10-13	13:31:25	3812	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31_18944.jpg',`file_url_thumb`='bcprisme/31_18944.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437962'
2023-10-13	13:31:25	3812	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:25	3812	[DEBUG]	Executed store
2023-10-13	13:31:25	3812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863304','437962','1')
2023-10-13	13:31:25	3812	[DEBUG]	Store product image relation
2023-10-13	13:31:25	3812	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:25	3812	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863304 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:25	3812	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:25	3812	[DEBUG]	Executed store
2023-10-13	13:31:25	3812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863304','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:25	3812	[DEBUG]	Checking manufacturer
2023-10-13	13:31:25	3812	[DEBUG]	Load a row
2023-10-13	13:31:25	3812	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:25	3812	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:25	3812	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:25	3812	[DEBUG]	Executed store
2023-10-13	13:31:25	3812	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:25	3812	[DEBUG]	Manufacturer exists
2023-10-13	13:31:25	3812	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:25	3812	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:25	3812	[DEBUG]	Executed store
2023-10-13	13:31:25	3812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863304','74')
2023-10-13	13:31:25	3812	[DEBUG]	Find the custom field ID
2023-10-13	13:31:25	3812	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:25	3812	[DEBUG]	No custom field ID found
2023-10-13	13:31:25	3812	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:25	3812	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:25	3812	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863304 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:25	3812	[DEBUG]	Store custom available field
2023-10-13	13:31:25	3812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863304,3,'0',1)
2023-10-13	13:31:25	3812	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:25	3812	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:25	3812	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863304 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:25	3812	[DEBUG]	Store custom available field
2023-10-13	13:31:25	3812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863304,6,'choisir la taille',3)
2023-10-13	13:31:25	3812	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:25	3812	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:25	3812	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:25	3812	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:25	3812	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863304 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:25	3812	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:25	3812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863304,8,1)
2023-10-13	13:31:25	3812	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:25	3812	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863304\":[1863304,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863304
2023-10-13	13:31:25	3812	[DEBUG]	Checking category
2023-10-13	13:31:25	3812	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:25	3812	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863304
2023-10-13	13:31:25	3812	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:25	3812	[DEBUG]	Executed store
2023-10-13	13:31:25	3812	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863304','7386')
2023-10-13	13:31:25	3812	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:25	3812	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863304 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:25	3812	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:25	3812	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863304
2023-10-13	13:31:25	3813	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:25	3813	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:25	3813	[DEBUG]	Use field value for field taille
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:25	3813	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:25	3813	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:25	3813	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:25	3813	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:25	3813	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:25	3813	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:25	3813	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:25	3813	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:25	3813	[DEBUG]	Use field value for field published
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:25	3813	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field override
2023-10-13	13:31:25	3813	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:25	3813	[DEBUG]	Use field value for field slug
2023-10-13	13:31:25	3813	[DEBUG]	Process line 3813
2023-10-13	13:31:25	3813	[DEBUG]	Load a row
2023-10-13	13:31:25	3813	[DEBUG]	Processing item: 7612616012754
2023-10-13	13:31:25	3813	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:25	3813	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:25	3813	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5785_208'
2023-10-13	13:31:25	3813	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:25	3813	[DEBUG]	Processing product tax
2023-10-13	13:31:25	3813	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:25	3813	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:25	3813	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:25	3813	[DEBUG]	Query for Product
2023-10-13	13:31:25	3813	[DEBUG]	Executed store
2023-10-13	13:31:25	3813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863304','7612616012754','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:25	3813	[DEBUG]	No parent found
2023-10-13	13:31:25	3813	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863304 AND customfield_value = 'stockable'
2023-10-13	13:31:25	3813	[DEBUG]	Check product language entry
2023-10-13	13:31:25	3813	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863305
2023-10-13	13:31:25	3813	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:25	3813	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7612616012754' AND `virtuemart_product_id` != 1863305
2023-10-13	13:31:25	3813	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:25	3813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863305, '7612616012754')
2023-10-13	13:31:25	3813	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:25	3813	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-adaptateur-3-points-225x95x28-mm-noir-aucune-all' AND `virtuemart_product_id` != 1863305
2023-10-13	13:31:25	3813	[DEBUG]	Query for ProductLang
2023-10-13	13:31:25	3813	[DEBUG]	Executed store
2023-10-13	13:31:25	3813	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Adaptateur 3-points 225x95x28 mm  noir / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-adaptateur-3-points-225x95x28-mm-noir-aucune-all' WHERE `virtuemart_product_id` = '1863305'
2023-10-13	13:31:25	3813	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_18944.jpg
2023-10-13	13:31:25	3813	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:25	3813	[DEBUG]	Process image file
2023-10-13	13:31:25	3813	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:25	3813	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:25	3813	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_18944.jpg
2023-10-13	13:31:25	3813	[DEBUG]	Full name target: bcprisme/31_18944.jpg
2023-10-13	13:31:26	3813	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:26	3813	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31_18944.jpg'
2023-10-13	13:31:26	3813	[DEBUG]	Query for Media
2023-10-13	13:31:26	3813	[DEBUG]	Executed store
2023-10-13	13:31:26	3813	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31_18944.jpg',`file_url_thumb`='bcprisme/31_18944.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '437962'
2023-10-13	13:31:26	3813	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:26	3813	[DEBUG]	Executed store
2023-10-13	13:31:26	3813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863305','437962','1')
2023-10-13	13:31:26	3813	[DEBUG]	Store product image relation
2023-10-13	13:31:26	3813	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:26	3813	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863305 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:26	3813	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:26	3813	[DEBUG]	Executed store
2023-10-13	13:31:26	3813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863305','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:26	3813	[DEBUG]	Checking manufacturer
2023-10-13	13:31:26	3813	[DEBUG]	Load a row
2023-10-13	13:31:26	3813	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:26	3813	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:26	3813	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:26	3813	[DEBUG]	Executed store
2023-10-13	13:31:26	3813	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:26	3813	[DEBUG]	Manufacturer exists
2023-10-13	13:31:26	3813	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:26	3813	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:26	3813	[DEBUG]	Executed store
2023-10-13	13:31:26	3813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863305','74')
2023-10-13	13:31:26	3813	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:26	3813	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:26	3813	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863305 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:26	3813	[DEBUG]	Store custom available field
2023-10-13	13:31:26	3813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863305,3,'',1)
2023-10-13	13:31:26	3813	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:26	3813	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:31:26	3813	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863305 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:26	3813	[DEBUG]	Store custom available field
2023-10-13	13:31:26	3813	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863305,6,'All',3)
2023-10-13	13:31:26	3813	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:26	3813	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:26	3813	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863304
2023-10-13	13:31:26	3813	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:26	3813	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863304\":[1863304,8,1,\"choisir la taille\"],\"1863305\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863304
2023-10-13	13:31:26	3813	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:26	3813	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863305
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:26	3814	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field taille
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:26	3814	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:26	3814	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:26	3814	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:26	3814	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:26	3814	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:26	3814	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field published
2023-10-13	13:31:26	3814	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:26	3814	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field override
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:26	3814	[DEBUG]	Use field value for field slug
2023-10-13	13:31:26	3814	[DEBUG]	Process line 3814
2023-10-13	13:31:26	3814	[DEBUG]	Load a row
2023-10-13	13:31:26	3814	[DEBUG]	Processing item: A_5888_1
2023-10-13	13:31:26	3814	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:26	3814	[DEBUG]	Processing product tax
2023-10-13	13:31:26	3814	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:26	3814	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:26	3814	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:26	3814	[DEBUG]	Query for Product
2023-10-13	13:31:26	3814	[DEBUG]	Executed store
2023-10-13	13:31:26	3814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5888_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:26	3814	[DEBUG]	Check product language entry
2023-10-13	13:31:26	3814	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863306
2023-10-13	13:31:26	3814	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:26	3814	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5888_1' AND `virtuemart_product_id` != 1863306
2023-10-13	13:31:26	3814	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:26	3814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863306, 'A_5888_1')
2023-10-13	13:31:26	3814	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:26	3814	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-adaptateur-de-guidon-klick-fix-31-8-mm-noir' AND `virtuemart_product_id` != 1863306
2023-10-13	13:31:26	3814	[DEBUG]	Query for ProductLang
2023-10-13	13:31:26	3814	[DEBUG]	Executed store
2023-10-13	13:31:26	3814	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 28.70529',`product_name`='Agu Adaptateur de guidon Klick-Fix 31.8 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-adaptateur-de-guidon-klick-fix-31-8-mm-noir' WHERE `virtuemart_product_id` = '1863306'
2023-10-13	13:31:26	3814	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_22655.jpg
2023-10-13	13:31:26	3814	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:26	3814	[DEBUG]	Process image file
2023-10-13	13:31:26	3814	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:26	3814	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:26	3814	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_22655.jpg
2023-10-13	13:31:26	3814	[DEBUG]	Full name target: bcprisme/28_22655.jpg
2023-10-13	13:31:27	3814	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:27	3814	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28_22655.jpg'
2023-10-13	13:31:27	3814	[DEBUG]	Query for Media
2023-10-13	13:31:27	3814	[DEBUG]	Executed store
2023-10-13	13:31:27	3814	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28_22655.jpg',`file_url_thumb`='bcprisme/28_22655.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041498'
2023-10-13	13:31:27	3814	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:27	3814	[DEBUG]	Executed store
2023-10-13	13:31:27	3814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863306','1041498','1')
2023-10-13	13:31:27	3814	[DEBUG]	Store product image relation
2023-10-13	13:31:27	3814	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:27	3814	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863306 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:27	3814	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:27	3814	[DEBUG]	Executed store
2023-10-13	13:31:27	3814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863306','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:27	3814	[DEBUG]	Checking manufacturer
2023-10-13	13:31:27	3814	[DEBUG]	Load a row
2023-10-13	13:31:27	3814	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:27	3814	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:31:27	3814	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:27	3814	[DEBUG]	Executed store
2023-10-13	13:31:27	3814	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:31:27	3814	[DEBUG]	Manufacturer exists
2023-10-13	13:31:27	3814	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	13:31:27	3814	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:27	3814	[DEBUG]	Executed store
2023-10-13	13:31:27	3814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863306','45')
2023-10-13	13:31:27	3814	[DEBUG]	Find the custom field ID
2023-10-13	13:31:27	3814	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:27	3814	[DEBUG]	No custom field ID found
2023-10-13	13:31:27	3814	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:27	3814	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:27	3814	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863306 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:27	3814	[DEBUG]	Store custom available field
2023-10-13	13:31:27	3814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863306,3,'0',1)
2023-10-13	13:31:27	3814	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:27	3814	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:27	3814	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863306 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:27	3814	[DEBUG]	Store custom available field
2023-10-13	13:31:27	3814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863306,6,'choisir la taille',3)
2023-10-13	13:31:27	3814	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:27	3814	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:27	3814	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:27	3814	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:27	3814	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863306 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:27	3814	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:27	3814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863306,8,1)
2023-10-13	13:31:27	3814	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:27	3814	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863306\":[1863306,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863306
2023-10-13	13:31:27	3814	[DEBUG]	Checking category
2023-10-13	13:31:27	3814	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:27	3814	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863306
2023-10-13	13:31:27	3814	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:27	3814	[DEBUG]	Executed store
2023-10-13	13:31:27	3814	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863306','7386')
2023-10-13	13:31:27	3814	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:27	3814	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863306 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:27	3814	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:27	3814	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863306
2023-10-13	13:31:27	3815	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:27	3815	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:27	3815	[DEBUG]	Use field value for field taille
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:27	3815	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:27	3815	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:27	3815	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:27	3815	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:27	3815	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:27	3815	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:27	3815	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:27	3815	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:27	3815	[DEBUG]	Use field value for field published
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:27	3815	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field override
2023-10-13	13:31:27	3815	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:27	3815	[DEBUG]	Use field value for field slug
2023-10-13	13:31:27	3815	[DEBUG]	Process line 3815
2023-10-13	13:31:27	3815	[DEBUG]	Load a row
2023-10-13	13:31:27	3815	[DEBUG]	Processing item: 4030572002771
2023-10-13	13:31:27	3815	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:27	3815	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:27	3815	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5888_1'
2023-10-13	13:31:27	3815	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:27	3815	[DEBUG]	Processing product tax
2023-10-13	13:31:27	3815	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:27	3815	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:27	3815	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:27	3815	[DEBUG]	Query for Product
2023-10-13	13:31:27	3815	[DEBUG]	Executed store
2023-10-13	13:31:27	3815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863306','4030572002771','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:27	3815	[DEBUG]	No parent found
2023-10-13	13:31:27	3815	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863306 AND customfield_value = 'stockable'
2023-10-13	13:31:27	3815	[DEBUG]	Check product language entry
2023-10-13	13:31:27	3815	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863307
2023-10-13	13:31:27	3815	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:27	3815	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572002771' AND `virtuemart_product_id` != 1863307
2023-10-13	13:31:27	3815	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:27	3815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863307, '4030572002771')
2023-10-13	13:31:27	3815	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:27	3815	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-adaptateur-de-guidon-klick-fix-31-8-mm-noir-all' AND `virtuemart_product_id` != 1863307
2023-10-13	13:31:27	3815	[DEBUG]	Query for ProductLang
2023-10-13	13:31:27	3815	[DEBUG]	Executed store
2023-10-13	13:31:27	3815	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Agu Adaptateur de guidon Klick-Fix 31.8 mm / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-adaptateur-de-guidon-klick-fix-31-8-mm-noir-all' WHERE `virtuemart_product_id` = '1863307'
2023-10-13	13:31:27	3815	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_22655.jpg
2023-10-13	13:31:27	3815	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:27	3815	[DEBUG]	Process image file
2023-10-13	13:31:27	3815	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:27	3815	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:27	3815	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_22655.jpg
2023-10-13	13:31:27	3815	[DEBUG]	Full name target: bcprisme/28_22655.jpg
2023-10-13	13:31:28	3815	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:28	3815	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28_22655.jpg'
2023-10-13	13:31:28	3815	[DEBUG]	Query for Media
2023-10-13	13:31:28	3815	[DEBUG]	Executed store
2023-10-13	13:31:28	3815	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28_22655.jpg',`file_url_thumb`='bcprisme/28_22655.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041498'
2023-10-13	13:31:28	3815	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:28	3815	[DEBUG]	Executed store
2023-10-13	13:31:28	3815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863307','1041498','1')
2023-10-13	13:31:28	3815	[DEBUG]	Store product image relation
2023-10-13	13:31:28	3815	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:28	3815	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863307 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:28	3815	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:28	3815	[DEBUG]	Executed store
2023-10-13	13:31:28	3815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863307','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:28	3815	[DEBUG]	Checking manufacturer
2023-10-13	13:31:28	3815	[DEBUG]	Load a row
2023-10-13	13:31:28	3815	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:28	3815	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:31:28	3815	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:28	3815	[DEBUG]	Executed store
2023-10-13	13:31:28	3815	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:31:28	3815	[DEBUG]	Manufacturer exists
2023-10-13	13:31:28	3815	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	13:31:28	3815	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:28	3815	[DEBUG]	Executed store
2023-10-13	13:31:28	3815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863307','45')
2023-10-13	13:31:28	3815	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:28	3815	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:28	3815	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863307 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:28	3815	[DEBUG]	Store custom available field
2023-10-13	13:31:28	3815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863307,3,'',1)
2023-10-13	13:31:28	3815	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:28	3815	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:31:28	3815	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863307 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:28	3815	[DEBUG]	Store custom available field
2023-10-13	13:31:28	3815	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863307,6,'All',3)
2023-10-13	13:31:28	3815	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:28	3815	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:28	3815	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863306
2023-10-13	13:31:28	3815	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:28	3815	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863306\":[1863306,8,1,\"choisir la taille\"],\"1863307\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863306
2023-10-13	13:31:28	3815	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:28	3815	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863307
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:28	3816	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field taille
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:28	3816	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:28	3816	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:28	3816	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:28	3816	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:28	3816	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:28	3816	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field published
2023-10-13	13:31:28	3816	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:28	3816	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field override
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:28	3816	[DEBUG]	Use field value for field slug
2023-10-13	13:31:28	3816	[DEBUG]	Process line 3816
2023-10-13	13:31:28	3816	[DEBUG]	Load a row
2023-10-13	13:31:28	3816	[DEBUG]	Processing item: A_5890_1
2023-10-13	13:31:28	3816	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:28	3816	[DEBUG]	Processing product tax
2023-10-13	13:31:28	3816	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:28	3816	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:28	3816	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:28	3816	[DEBUG]	Query for Product
2023-10-13	13:31:28	3816	[DEBUG]	Executed store
2023-10-13	13:31:28	3816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5890_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:28	3816	[DEBUG]	Check product language entry
2023-10-13	13:31:28	3816	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863308
2023-10-13	13:31:28	3816	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:28	3816	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5890_1' AND `virtuemart_product_id` != 1863308
2023-10-13	13:31:28	3816	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:28	3816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863308, 'A_5890_1')
2023-10-13	13:31:28	3816	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:28	3816	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-multi-clip-electrique-e-noir' AND `virtuemart_product_id` != 1863308
2023-10-13	13:31:28	3816	[DEBUG]	Query for ProductLang
2023-10-13	13:31:28	3816	[DEBUG]	Executed store
2023-10-13	13:31:28	3816	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 715464',`product_name`='Klickfix Multi-Clip Electrique E / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-multi-clip-electrique-e-noir' WHERE `virtuemart_product_id` = '1863308'
2023-10-13	13:31:28	3816	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31482_klick_fix_multi-clip_electrique_e.jpg
2023-10-13	13:31:28	3816	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:28	3816	[DEBUG]	Process image file
2023-10-13	13:31:28	3816	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:28	3816	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:28	3816	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31482_klick_fix_multi-clip_electrique_e.jpg
2023-10-13	13:31:28	3816	[DEBUG]	Full name target: bcprisme/31482_klick_fix_multi-clip_electrique_e.jpg
2023-10-13	13:31:29	3816	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:29	3816	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31482_klick_fix_multi-clip_electrique_e.jpg'
2023-10-13	13:31:29	3816	[DEBUG]	Query for Media
2023-10-13	13:31:29	3816	[DEBUG]	Executed store
2023-10-13	13:31:29	3816	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31482_klick_fix_multi-clip_electrique_e.jpg',`file_url_thumb`='bcprisme/31482_klick_fix_multi-clip_electrique_e.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13256'
2023-10-13	13:31:29	3816	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:29	3816	[DEBUG]	Executed store
2023-10-13	13:31:29	3816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863308','13256','1')
2023-10-13	13:31:29	3816	[DEBUG]	Store product image relation
2023-10-13	13:31:29	3816	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:29	3816	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863308 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:29	3816	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:29	3816	[DEBUG]	Executed store
2023-10-13	13:31:29	3816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863308','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:29	3816	[DEBUG]	Checking manufacturer
2023-10-13	13:31:29	3816	[DEBUG]	Load a row
2023-10-13	13:31:29	3816	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:29	3816	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:29	3816	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:29	3816	[DEBUG]	Executed store
2023-10-13	13:31:29	3816	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:29	3816	[DEBUG]	Manufacturer exists
2023-10-13	13:31:29	3816	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:31:29	3816	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:29	3816	[DEBUG]	Executed store
2023-10-13	13:31:29	3816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863308','200')
2023-10-13	13:31:29	3816	[DEBUG]	Find the custom field ID
2023-10-13	13:31:29	3816	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:29	3816	[DEBUG]	No custom field ID found
2023-10-13	13:31:29	3816	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:29	3816	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:29	3816	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863308 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:29	3816	[DEBUG]	Store custom available field
2023-10-13	13:31:29	3816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863308,3,'0',1)
2023-10-13	13:31:29	3816	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:29	3816	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:29	3816	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863308 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:29	3816	[DEBUG]	Store custom available field
2023-10-13	13:31:29	3816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863308,6,'choisir la taille',3)
2023-10-13	13:31:29	3816	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:29	3816	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:29	3816	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:29	3816	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:29	3816	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863308 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:29	3816	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:29	3816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863308,8,1)
2023-10-13	13:31:29	3816	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:29	3816	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863308\":[1863308,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863308
2023-10-13	13:31:29	3816	[DEBUG]	Checking category
2023-10-13	13:31:29	3816	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:29	3816	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863308
2023-10-13	13:31:29	3816	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:29	3816	[DEBUG]	Executed store
2023-10-13	13:31:29	3816	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863308','7386')
2023-10-13	13:31:29	3816	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:29	3816	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863308 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:29	3816	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:29	3816	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863308
2023-10-13	13:31:29	3817	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:29	3817	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:29	3817	[DEBUG]	Use field value for field taille
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:29	3817	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:29	3817	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:29	3817	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:29	3817	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:29	3817	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:29	3817	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:29	3817	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:29	3817	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:29	3817	[DEBUG]	Use field value for field published
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:29	3817	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field override
2023-10-13	13:31:29	3817	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:29	3817	[DEBUG]	Use field value for field slug
2023-10-13	13:31:29	3817	[DEBUG]	Process line 3817
2023-10-13	13:31:29	3817	[DEBUG]	Load a row
2023-10-13	13:31:29	3817	[DEBUG]	Processing item: 1000000088366
2023-10-13	13:31:29	3817	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:29	3817	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:29	3817	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5890_1'
2023-10-13	13:31:29	3817	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:29	3817	[DEBUG]	Processing product tax
2023-10-13	13:31:29	3817	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:29	3817	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:29	3817	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:29	3817	[DEBUG]	Query for Product
2023-10-13	13:31:29	3817	[DEBUG]	Executed store
2023-10-13	13:31:29	3817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863308','1000000088366','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:29	3817	[DEBUG]	No parent found
2023-10-13	13:31:29	3817	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863308 AND customfield_value = 'stockable'
2023-10-13	13:31:29	3817	[DEBUG]	Check product language entry
2023-10-13	13:31:29	3817	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863309
2023-10-13	13:31:29	3817	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:29	3817	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000088366' AND `virtuemart_product_id` != 1863309
2023-10-13	13:31:29	3817	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:29	3817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863309, '1000000088366')
2023-10-13	13:31:29	3817	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:29	3817	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-multi-clip-electrique-e-noir-all' AND `virtuemart_product_id` != 1863309
2023-10-13	13:31:29	3817	[DEBUG]	Query for ProductLang
2023-10-13	13:31:29	3817	[DEBUG]	Executed store
2023-10-13	13:31:29	3817	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix Multi-Clip Electrique E / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-multi-clip-electrique-e-noir-all' WHERE `virtuemart_product_id` = '1863309'
2023-10-13	13:31:29	3817	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31482_klick_fix_multi-clip_electrique_e.jpg
2023-10-13	13:31:29	3817	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:29	3817	[DEBUG]	Process image file
2023-10-13	13:31:29	3817	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:29	3817	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:29	3817	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31482_klick_fix_multi-clip_electrique_e.jpg
2023-10-13	13:31:29	3817	[DEBUG]	Full name target: bcprisme/31482_klick_fix_multi-clip_electrique_e.jpg
2023-10-13	13:31:30	3817	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:30	3817	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31482_klick_fix_multi-clip_electrique_e.jpg'
2023-10-13	13:31:30	3817	[DEBUG]	Query for Media
2023-10-13	13:31:30	3817	[DEBUG]	Executed store
2023-10-13	13:31:30	3817	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31482_klick_fix_multi-clip_electrique_e.jpg',`file_url_thumb`='bcprisme/31482_klick_fix_multi-clip_electrique_e.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13256'
2023-10-13	13:31:30	3817	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:30	3817	[DEBUG]	Executed store
2023-10-13	13:31:30	3817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863309','13256','1')
2023-10-13	13:31:30	3817	[DEBUG]	Store product image relation
2023-10-13	13:31:30	3817	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:30	3817	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863309 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:30	3817	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:30	3817	[DEBUG]	Executed store
2023-10-13	13:31:30	3817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863309','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:30	3817	[DEBUG]	Checking manufacturer
2023-10-13	13:31:30	3817	[DEBUG]	Load a row
2023-10-13	13:31:30	3817	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:30	3817	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:30	3817	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:30	3817	[DEBUG]	Executed store
2023-10-13	13:31:30	3817	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:30	3817	[DEBUG]	Manufacturer exists
2023-10-13	13:31:30	3817	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:31:30	3817	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:30	3817	[DEBUG]	Executed store
2023-10-13	13:31:30	3817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863309','200')
2023-10-13	13:31:30	3817	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:30	3817	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:30	3817	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863309 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:30	3817	[DEBUG]	Store custom available field
2023-10-13	13:31:30	3817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863309,3,'',1)
2023-10-13	13:31:30	3817	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:30	3817	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:31:30	3817	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863309 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:30	3817	[DEBUG]	Store custom available field
2023-10-13	13:31:30	3817	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863309,6,'All',3)
2023-10-13	13:31:30	3817	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:30	3817	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:30	3817	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863308
2023-10-13	13:31:30	3817	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:30	3817	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863308\":[1863308,8,1,\"choisir la taille\"],\"1863309\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863308
2023-10-13	13:31:30	3817	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:30	3817	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863309
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:30	3818	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field taille
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:30	3818	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:30	3818	[DEBUG]	Use default value for field file_url
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:30	3818	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:30	3818	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:30	3818	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:30	3818	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:30	3818	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:30	3818	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field published
2023-10-13	13:31:30	3818	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:30	3818	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field override
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:30	3818	[DEBUG]	Use field value for field slug
2023-10-13	13:31:30	3818	[DEBUG]	Process line 3818
2023-10-13	13:31:30	3818	[DEBUG]	Load a row
2023-10-13	13:31:30	3818	[DEBUG]	Processing item: A_5973_1
2023-10-13	13:31:30	3818	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:30	3818	[DEBUG]	Processing product tax
2023-10-13	13:31:30	3818	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:30	3818	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:30	3818	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:30	3818	[DEBUG]	Query for Product
2023-10-13	13:31:30	3818	[DEBUG]	Executed store
2023-10-13	13:31:30	3818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5973_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:30	3818	[DEBUG]	Check product language entry
2023-10-13	13:31:30	3818	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863310
2023-10-13	13:31:30	3818	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:30	3818	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5973_1' AND `virtuemart_product_id` != 1863310
2023-10-13	13:31:30	3818	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:30	3818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863310, 'A_5973_1')
2023-10-13	13:31:30	3818	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:30	3818	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tubus-adaptateur-pour-decaler-la-position-du-panier-noir' AND `virtuemart_product_id` != 1863310
2023-10-13	13:31:30	3818	[DEBUG]	Query for ProductLang
2023-10-13	13:31:30	3818	[DEBUG]	Executed store
2023-10-13	13:31:30	3818	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 311209',`product_name`='tubus Adaptateur pour décaler la position du panier / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tubus-adaptateur-pour-decaler-la-position-du-panier-noir' WHERE `virtuemart_product_id` = '1863310'
2023-10-13	13:31:30	3818	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:30	3818	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863310 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:30	3818	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:30	3818	[DEBUG]	Executed store
2023-10-13	13:31:30	3818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863310','0','17.6415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:30	3818	[DEBUG]	Checking manufacturer
2023-10-13	13:31:30	3818	[DEBUG]	Load a row
2023-10-13	13:31:30	3818	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:30	3818	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '173'
2023-10-13	13:31:30	3818	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:30	3818	[DEBUG]	Executed store
2023-10-13	13:31:30	3818	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2023-10-11-05-38-461552410316' WHERE `virtuemart_manufacturer_id` = '173'
2023-10-13	13:31:30	3818	[DEBUG]	Manufacturer exists
2023-10-13	13:31:30	3818	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 173
2023-10-13	13:31:30	3818	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:30	3818	[DEBUG]	Executed store
2023-10-13	13:31:30	3818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863310','173')
2023-10-13	13:31:30	3818	[DEBUG]	Find the custom field ID
2023-10-13	13:31:30	3818	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:30	3818	[DEBUG]	No custom field ID found
2023-10-13	13:31:30	3818	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:30	3818	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:30	3818	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863310 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:30	3818	[DEBUG]	Store custom available field
2023-10-13	13:31:30	3818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863310,3,'0',1)
2023-10-13	13:31:30	3818	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:30	3818	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:30	3818	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863310 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:30	3818	[DEBUG]	Store custom available field
2023-10-13	13:31:30	3818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863310,6,'choisir la taille',3)
2023-10-13	13:31:30	3818	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:30	3818	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:30	3818	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:30	3818	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:30	3818	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863310 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:30	3818	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:30	3818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863310,8,1)
2023-10-13	13:31:30	3818	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:30	3818	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863310\":[1863310,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863310
2023-10-13	13:31:30	3818	[DEBUG]	Checking category
2023-10-13	13:31:30	3818	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:30	3818	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863310
2023-10-13	13:31:30	3818	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:30	3818	[DEBUG]	Executed store
2023-10-13	13:31:30	3818	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863310','7386')
2023-10-13	13:31:30	3818	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:30	3818	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863310 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:30	3818	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:30	3818	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863310
2023-10-13	13:31:30	3819	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:30	3819	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:30	3819	[DEBUG]	Use field value for field taille
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:30	3819	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:30	3819	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:30	3819	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field file_url
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:30	3819	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:30	3819	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:30	3819	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:30	3819	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:30	3819	[DEBUG]	Use field value for field published
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:30	3819	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field override
2023-10-13	13:31:30	3819	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:30	3819	[DEBUG]	Use field value for field slug
2023-10-13	13:31:30	3819	[DEBUG]	Process line 3819
2023-10-13	13:31:30	3819	[DEBUG]	Load a row
2023-10-13	13:31:30	3819	[DEBUG]	Processing item: 4048174814760
2023-10-13	13:31:30	3819	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:30	3819	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:30	3819	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5973_1'
2023-10-13	13:31:30	3819	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:30	3819	[DEBUG]	Processing product tax
2023-10-13	13:31:30	3819	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:30	3819	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:30	3819	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:30	3819	[DEBUG]	Query for Product
2023-10-13	13:31:30	3819	[DEBUG]	Executed store
2023-10-13	13:31:30	3819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863310','4048174814760','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:30	3819	[DEBUG]	No parent found
2023-10-13	13:31:30	3819	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863310 AND customfield_value = 'stockable'
2023-10-13	13:31:30	3819	[DEBUG]	Check product language entry
2023-10-13	13:31:30	3819	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863311
2023-10-13	13:31:30	3819	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:30	3819	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4048174814760' AND `virtuemart_product_id` != 1863311
2023-10-13	13:31:30	3819	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:30	3819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863311, '4048174814760')
2023-10-13	13:31:30	3819	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:30	3819	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tubus-adaptateur-pour-decaler-la-position-du-panier-noir-unitaire' AND `virtuemart_product_id` != 1863311
2023-10-13	13:31:30	3819	[DEBUG]	Query for ProductLang
2023-10-13	13:31:30	3819	[DEBUG]	Executed store
2023-10-13	13:31:30	3819	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='tubus Adaptateur pour décaler la position du panier / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tubus-adaptateur-pour-decaler-la-position-du-panier-noir-unitaire' WHERE `virtuemart_product_id` = '1863311'
2023-10-13	13:31:30	3819	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:30	3819	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863311 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:30	3819	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:30	3819	[DEBUG]	Executed store
2023-10-13	13:31:30	3819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863311','0','17.6415970287837','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:30	3819	[DEBUG]	Checking manufacturer
2023-10-13	13:31:30	3819	[DEBUG]	Load a row
2023-10-13	13:31:30	3819	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:30	3819	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '173'
2023-10-13	13:31:30	3819	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:30	3819	[DEBUG]	Executed store
2023-10-13	13:31:30	3819	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2023-10-11-05-38-461552410316' WHERE `virtuemart_manufacturer_id` = '173'
2023-10-13	13:31:30	3819	[DEBUG]	Manufacturer exists
2023-10-13	13:31:30	3819	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 173
2023-10-13	13:31:30	3819	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:30	3819	[DEBUG]	Executed store
2023-10-13	13:31:30	3819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863311','173')
2023-10-13	13:31:30	3819	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:30	3819	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:30	3819	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863311 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:30	3819	[DEBUG]	Store custom available field
2023-10-13	13:31:30	3819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863311,3,'',1)
2023-10-13	13:31:30	3819	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:30	3819	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:30	3819	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863311 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:30	3819	[DEBUG]	Store custom available field
2023-10-13	13:31:30	3819	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863311,6,'Unitaire',3)
2023-10-13	13:31:30	3819	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:30	3819	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:30	3819	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863310
2023-10-13	13:31:30	3819	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:30	3819	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863310\":[1863310,8,1,\"choisir la taille\"],\"1863311\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863310
2023-10-13	13:31:30	3819	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:30	3819	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863311
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:30	3820	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field taille
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:30	3820	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:30	3820	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:30	3820	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:30	3820	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:30	3820	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:30	3820	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:30	3820	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field published
2023-10-13	13:31:30	3820	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:30	3820	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field override
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:30	3820	[DEBUG]	Use field value for field slug
2023-10-13	13:31:30	3820	[DEBUG]	Process line 3820
2023-10-13	13:31:30	3820	[DEBUG]	Load a row
2023-10-13	13:31:30	3820	[DEBUG]	Processing item: A_6127_1
2023-10-13	13:31:30	3820	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:30	3820	[DEBUG]	Processing product tax
2023-10-13	13:31:30	3820	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:30	3820	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:30	3820	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:30	3820	[DEBUG]	Query for Product
2023-10-13	13:31:30	3820	[DEBUG]	Executed store
2023-10-13	13:31:30	3820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6127_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:30	3820	[DEBUG]	Check product language entry
2023-10-13	13:31:30	3820	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863312
2023-10-13	13:31:30	3820	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:30	3820	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6127_1' AND `virtuemart_product_id` != 1863312
2023-10-13	13:31:30	3820	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:30	3820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863312, 'A_6127_1')
2023-10-13	13:31:30	3820	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:30	3820	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-adaptateur-guidon-diametre-35-mm-noir' AND `virtuemart_product_id` != 1863312
2023-10-13	13:31:30	3820	[DEBUG]	Query for ProductLang
2023-10-13	13:31:30	3820	[DEBUG]	Executed store
2023-10-13	13:31:30	3820	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 480.003.009',`product_name`='KLICKfix Adaptateur guidon diamètre 35 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-adaptateur-guidon-diametre-35-mm-noir' WHERE `virtuemart_product_id` = '1863312'
2023-10-13	13:31:30	3820	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31821_adaptateur_klickfix_cintre_diametre_35_mm.png has not been found.
2023-10-13	13:31:30	3820	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:30	3820	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863312 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:30	3820	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:30	3820	[DEBUG]	Executed store
2023-10-13	13:31:30	3820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863312','0','8.72794800371402','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:30	3820	[DEBUG]	Checking manufacturer
2023-10-13	13:31:30	3820	[DEBUG]	Load a row
2023-10-13	13:31:30	3820	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:30	3820	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '148'
2023-10-13	13:31:30	3820	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:30	3820	[DEBUG]	Executed store
2023-10-13	13:31:30	3820	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-05-19-06-59-301308269661' WHERE `virtuemart_manufacturer_id` = '148'
2023-10-13	13:31:30	3820	[DEBUG]	Manufacturer exists
2023-10-13	13:31:30	3820	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 148
2023-10-13	13:31:30	3820	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:30	3820	[DEBUG]	Executed store
2023-10-13	13:31:30	3820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863312','148')
2023-10-13	13:31:30	3820	[DEBUG]	Find the custom field ID
2023-10-13	13:31:30	3820	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:30	3820	[DEBUG]	No custom field ID found
2023-10-13	13:31:30	3820	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:30	3820	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:30	3820	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863312 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:30	3820	[DEBUG]	Store custom available field
2023-10-13	13:31:30	3820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863312,3,'0',1)
2023-10-13	13:31:30	3820	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:30	3820	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:30	3820	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863312 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:30	3820	[DEBUG]	Store custom available field
2023-10-13	13:31:30	3820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863312,6,'choisir la taille',3)
2023-10-13	13:31:30	3820	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:30	3820	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:30	3820	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:30	3820	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:30	3820	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863312 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:30	3820	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:30	3820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863312,8,1)
2023-10-13	13:31:30	3820	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:30	3820	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863312\":[1863312,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863312
2023-10-13	13:31:30	3820	[DEBUG]	Checking category
2023-10-13	13:31:30	3820	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:30	3820	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863312
2023-10-13	13:31:30	3820	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:30	3820	[DEBUG]	Executed store
2023-10-13	13:31:30	3820	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863312','7386')
2023-10-13	13:31:30	3820	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:30	3820	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863312 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:30	3820	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:30	3820	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863312
2023-10-13	13:31:30	3821	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:30	3821	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:30	3821	[DEBUG]	Use field value for field taille
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:30	3821	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:30	3821	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:30	3821	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:30	3821	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:30	3821	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:30	3821	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:30	3821	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:30	3821	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:30	3821	[DEBUG]	Use field value for field published
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:30	3821	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field override
2023-10-13	13:31:30	3821	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:30	3821	[DEBUG]	Use field value for field slug
2023-10-13	13:31:30	3821	[DEBUG]	Process line 3821
2023-10-13	13:31:30	3821	[DEBUG]	Load a row
2023-10-13	13:31:30	3821	[DEBUG]	Processing item: 4030572104734
2023-10-13	13:31:30	3821	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:30	3821	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:30	3821	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6127_1'
2023-10-13	13:31:30	3821	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:30	3821	[DEBUG]	Processing product tax
2023-10-13	13:31:30	3821	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:30	3821	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:30	3821	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:30	3821	[DEBUG]	Query for Product
2023-10-13	13:31:30	3821	[DEBUG]	Executed store
2023-10-13	13:31:30	3821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863312','4030572104734','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:30	3821	[DEBUG]	No parent found
2023-10-13	13:31:30	3821	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863312 AND customfield_value = 'stockable'
2023-10-13	13:31:30	3821	[DEBUG]	Check product language entry
2023-10-13	13:31:30	3821	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863313
2023-10-13	13:31:30	3821	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:30	3821	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572104734' AND `virtuemart_product_id` != 1863313
2023-10-13	13:31:30	3821	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:30	3821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863313, '4030572104734')
2023-10-13	13:31:30	3821	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:30	3821	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-adaptateur-guidon-diametre-35-mm-noir-all' AND `virtuemart_product_id` != 1863313
2023-10-13	13:31:30	3821	[DEBUG]	Query for ProductLang
2023-10-13	13:31:30	3821	[DEBUG]	Executed store
2023-10-13	13:31:30	3821	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKfix Adaptateur guidon diamètre 35 mm / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-adaptateur-guidon-diametre-35-mm-noir-all' WHERE `virtuemart_product_id` = '1863313'
2023-10-13	13:31:30	3821	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31821_adaptateur_klickfix_cintre_diametre_35_mm.png has not been found.
2023-10-13	13:31:30	3821	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:30	3821	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863313 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:30	3821	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:30	3821	[DEBUG]	Executed store
2023-10-13	13:31:30	3821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863313','0','8.72794800371402','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:30	3821	[DEBUG]	Checking manufacturer
2023-10-13	13:31:30	3821	[DEBUG]	Load a row
2023-10-13	13:31:30	3821	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:30	3821	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '148'
2023-10-13	13:31:30	3821	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:30	3821	[DEBUG]	Executed store
2023-10-13	13:31:30	3821	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2021-05-19-06-59-301308269661' WHERE `virtuemart_manufacturer_id` = '148'
2023-10-13	13:31:30	3821	[DEBUG]	Manufacturer exists
2023-10-13	13:31:30	3821	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 148
2023-10-13	13:31:30	3821	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:30	3821	[DEBUG]	Executed store
2023-10-13	13:31:30	3821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863313','148')
2023-10-13	13:31:30	3821	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:30	3821	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:30	3821	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863313 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:30	3821	[DEBUG]	Store custom available field
2023-10-13	13:31:30	3821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863313,3,'',1)
2023-10-13	13:31:30	3821	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:30	3821	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:31:30	3821	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863313 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:30	3821	[DEBUG]	Store custom available field
2023-10-13	13:31:30	3821	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863313,6,'All',3)
2023-10-13	13:31:30	3821	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:30	3821	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:30	3821	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863312
2023-10-13	13:31:30	3821	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:30	3821	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863312\":[1863312,8,1,\"choisir la taille\"],\"1863313\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863312
2023-10-13	13:31:30	3821	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:30	3821	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863313
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:30	3822	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field taille
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:30	3822	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:30	3822	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:30	3822	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:30	3822	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:30	3822	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:30	3822	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:30	3822	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field published
2023-10-13	13:31:30	3822	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:30	3822	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field override
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:30	3822	[DEBUG]	Use field value for field slug
2023-10-13	13:31:30	3822	[DEBUG]	Process line 3822
2023-10-13	13:31:30	3822	[DEBUG]	Load a row
2023-10-13	13:31:30	3822	[DEBUG]	Processing item: A_6258_1
2023-10-13	13:31:30	3822	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:30	3822	[DEBUG]	Processing product tax
2023-10-13	13:31:30	3822	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:30	3822	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:30	3822	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:30	3822	[DEBUG]	Query for Product
2023-10-13	13:31:30	3822	[DEBUG]	Executed store
2023-10-13	13:31:30	3822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6258_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:30	3822	[DEBUG]	Check product language entry
2023-10-13	13:31:30	3822	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863314
2023-10-13	13:31:30	3822	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:30	3822	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6258_1' AND `virtuemart_product_id` != 1863314
2023-10-13	13:31:30	3822	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:30	3822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863314, 'A_6258_1')
2023-10-13	13:31:30	3822	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:30	3822	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-plaque-de-fixation-pour-panier-noir' AND `virtuemart_product_id` != 1863314
2023-10-13	13:31:30	3822	[DEBUG]	Query for ProductLang
2023-10-13	13:31:30	3822	[DEBUG]	Executed store
2023-10-13	13:31:30	3822	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 715365',`product_name`='Klickfix Plaque de fixation pour panier / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-plaque-de-fixation-pour-panier-noir' WHERE `virtuemart_product_id` = '1863314'
2023-10-13	13:31:30	3822	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32108_klick_fix_plaque_de_fixation_pour_panier.jpg has not been found.
2023-10-13	13:31:30	3822	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:30	3822	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863314 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:30	3822	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:30	3822	[DEBUG]	Executed store
2023-10-13	13:31:30	3822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863314','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:30	3822	[DEBUG]	Checking manufacturer
2023-10-13	13:31:30	3822	[DEBUG]	Load a row
2023-10-13	13:31:30	3822	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:30	3822	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:30	3822	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:30	3822	[DEBUG]	Executed store
2023-10-13	13:31:30	3822	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:30	3822	[DEBUG]	Manufacturer exists
2023-10-13	13:31:30	3822	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:31:30	3822	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:30	3822	[DEBUG]	Executed store
2023-10-13	13:31:30	3822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863314','200')
2023-10-13	13:31:30	3822	[DEBUG]	Find the custom field ID
2023-10-13	13:31:30	3822	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:30	3822	[DEBUG]	No custom field ID found
2023-10-13	13:31:30	3822	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:30	3822	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:30	3822	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863314 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:30	3822	[DEBUG]	Store custom available field
2023-10-13	13:31:30	3822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863314,3,'0',1)
2023-10-13	13:31:30	3822	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:30	3822	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:30	3822	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863314 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:30	3822	[DEBUG]	Store custom available field
2023-10-13	13:31:30	3822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863314,6,'choisir la taille',3)
2023-10-13	13:31:30	3822	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:30	3822	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:30	3822	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:30	3822	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:30	3822	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863314 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:30	3822	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:30	3822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863314,8,1)
2023-10-13	13:31:30	3822	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:30	3822	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863314\":[1863314,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863314
2023-10-13	13:31:30	3822	[DEBUG]	Checking category
2023-10-13	13:31:30	3822	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:30	3822	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863314
2023-10-13	13:31:30	3822	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:30	3822	[DEBUG]	Executed store
2023-10-13	13:31:30	3822	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863314','7386')
2023-10-13	13:31:30	3822	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:30	3822	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863314 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:30	3822	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:30	3822	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863314
2023-10-13	13:31:30	3823	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:30	3823	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:30	3823	[DEBUG]	Use field value for field taille
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:30	3823	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:30	3823	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:30	3823	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:30	3823	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:30	3823	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:30	3823	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:30	3823	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:30	3823	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:30	3823	[DEBUG]	Use field value for field published
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:30	3823	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field override
2023-10-13	13:31:30	3823	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:30	3823	[DEBUG]	Use field value for field slug
2023-10-13	13:31:30	3823	[DEBUG]	Process line 3823
2023-10-13	13:31:30	3823	[DEBUG]	Load a row
2023-10-13	13:31:30	3823	[DEBUG]	Processing item: 1000000103311
2023-10-13	13:31:30	3823	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:30	3823	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:30	3823	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6258_1'
2023-10-13	13:31:30	3823	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:30	3823	[DEBUG]	Processing product tax
2023-10-13	13:31:30	3823	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:30	3823	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:30	3823	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:30	3823	[DEBUG]	Query for Product
2023-10-13	13:31:30	3823	[DEBUG]	Executed store
2023-10-13	13:31:30	3823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863314','1000000103311','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:30	3823	[DEBUG]	No parent found
2023-10-13	13:31:30	3823	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863314 AND customfield_value = 'stockable'
2023-10-13	13:31:30	3823	[DEBUG]	Check product language entry
2023-10-13	13:31:30	3823	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863315
2023-10-13	13:31:30	3823	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:30	3823	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000103311' AND `virtuemart_product_id` != 1863315
2023-10-13	13:31:30	3823	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:30	3823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863315, '1000000103311')
2023-10-13	13:31:30	3823	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:30	3823	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-plaque-de-fixation-pour-panier-noir-all' AND `virtuemart_product_id` != 1863315
2023-10-13	13:31:30	3823	[DEBUG]	Query for ProductLang
2023-10-13	13:31:30	3823	[DEBUG]	Executed store
2023-10-13	13:31:30	3823	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix Plaque de fixation pour panier / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-plaque-de-fixation-pour-panier-noir-all' WHERE `virtuemart_product_id` = '1863315'
2023-10-13	13:31:30	3823	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32108_klick_fix_plaque_de_fixation_pour_panier.jpg has not been found.
2023-10-13	13:31:30	3823	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:30	3823	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863315 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:30	3823	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:30	3823	[DEBUG]	Executed store
2023-10-13	13:31:30	3823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863315','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:30	3823	[DEBUG]	Checking manufacturer
2023-10-13	13:31:30	3823	[DEBUG]	Load a row
2023-10-13	13:31:30	3823	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:30	3823	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:30	3823	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:30	3823	[DEBUG]	Executed store
2023-10-13	13:31:30	3823	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:30	3823	[DEBUG]	Manufacturer exists
2023-10-13	13:31:30	3823	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:31:30	3823	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:30	3823	[DEBUG]	Executed store
2023-10-13	13:31:30	3823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863315','200')
2023-10-13	13:31:30	3823	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:30	3823	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:30	3823	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863315 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:30	3823	[DEBUG]	Store custom available field
2023-10-13	13:31:30	3823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863315,3,'',1)
2023-10-13	13:31:30	3823	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:30	3823	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:31:30	3823	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863315 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:30	3823	[DEBUG]	Store custom available field
2023-10-13	13:31:30	3823	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863315,6,'All',3)
2023-10-13	13:31:30	3823	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:30	3823	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:30	3823	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863314
2023-10-13	13:31:30	3823	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:30	3823	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863314\":[1863314,8,1,\"choisir la taille\"],\"1863315\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863314
2023-10-13	13:31:30	3823	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:30	3823	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863315
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:30	3824	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field taille
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:30	3824	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:30	3824	[DEBUG]	Use default value for field file_url
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:30	3824	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:30	3824	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:30	3824	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:30	3824	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:30	3824	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:30	3824	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field published
2023-10-13	13:31:30	3824	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:30	3824	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field override
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:30	3824	[DEBUG]	Use field value for field slug
2023-10-13	13:31:30	3824	[DEBUG]	Process line 3824
2023-10-13	13:31:30	3824	[DEBUG]	Load a row
2023-10-13	13:31:30	3824	[DEBUG]	Processing item: A_6265_1
2023-10-13	13:31:30	3824	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:30	3824	[DEBUG]	Processing product tax
2023-10-13	13:31:30	3824	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:30	3824	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:30	3824	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:30	3824	[DEBUG]	Query for Product
2023-10-13	13:31:30	3824	[DEBUG]	Executed store
2023-10-13	13:31:30	3824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6265_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:30	3824	[DEBUG]	Check product language entry
2023-10-13	13:31:30	3824	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863316
2023-10-13	13:31:30	3824	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:30	3824	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6265_1' AND `virtuemart_product_id` != 1863316
2023-10-13	13:31:30	3824	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:30	3824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863316, 'A_6265_1')
2023-10-13	13:31:30	3824	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:31	3824	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-adaptateur-de-porte-bagage-basil-mik-noir' AND `virtuemart_product_id` != 1863316
2023-10-13	13:31:31	3824	[DEBUG]	Query for ProductLang
2023-10-13	13:31:31	3824	[DEBUG]	Executed store
2023-10-13	13:31:31	3824	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 490.001.005',`product_name`='KLICKfix Adaptateur de porte-bagage Basil MIK / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-adaptateur-de-porte-bagage-basil-mik-noir' WHERE `virtuemart_product_id` = '1863316'
2023-10-13	13:31:31	3824	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:31	3824	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863316 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:31	3824	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:31	3824	[DEBUG]	Executed store
2023-10-13	13:31:31	3824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863316','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:31	3824	[DEBUG]	Checking manufacturer
2023-10-13	13:31:31	3824	[DEBUG]	Load a row
2023-10-13	13:31:31	3824	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:31	3824	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:31	3824	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:31	3824	[DEBUG]	Executed store
2023-10-13	13:31:31	3824	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:31	3824	[DEBUG]	Manufacturer exists
2023-10-13	13:31:31	3824	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:31:31	3824	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:31	3824	[DEBUG]	Executed store
2023-10-13	13:31:31	3824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863316','146')
2023-10-13	13:31:31	3824	[DEBUG]	Find the custom field ID
2023-10-13	13:31:31	3824	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:31	3824	[DEBUG]	No custom field ID found
2023-10-13	13:31:31	3824	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:31	3824	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:31	3824	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863316 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:31	3824	[DEBUG]	Store custom available field
2023-10-13	13:31:31	3824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863316,3,'0',1)
2023-10-13	13:31:31	3824	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:31	3824	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:31	3824	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863316 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:31	3824	[DEBUG]	Store custom available field
2023-10-13	13:31:31	3824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863316,6,'choisir la taille',3)
2023-10-13	13:31:31	3824	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:31	3824	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:31	3824	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:31	3824	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:31	3824	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863316 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:31	3824	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:31	3824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863316,8,1)
2023-10-13	13:31:31	3824	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:31	3824	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863316\":[1863316,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863316
2023-10-13	13:31:31	3824	[DEBUG]	Checking category
2023-10-13	13:31:31	3824	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:31	3824	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863316
2023-10-13	13:31:31	3824	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:31	3824	[DEBUG]	Executed store
2023-10-13	13:31:31	3824	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863316','7386')
2023-10-13	13:31:31	3824	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:31	3824	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863316 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:31	3824	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:31	3824	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863316
2023-10-13	13:31:31	3825	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:31	3825	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:31	3825	[DEBUG]	Use field value for field taille
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:31	3825	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:31	3825	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:31	3825	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field file_url
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:31	3825	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:31	3825	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:31	3825	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:31	3825	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:31	3825	[DEBUG]	Use field value for field published
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:31	3825	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field override
2023-10-13	13:31:31	3825	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:31	3825	[DEBUG]	Use field value for field slug
2023-10-13	13:31:31	3825	[DEBUG]	Process line 3825
2023-10-13	13:31:31	3825	[DEBUG]	Load a row
2023-10-13	13:31:31	3825	[DEBUG]	Processing item: 8715019701719
2023-10-13	13:31:31	3825	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:31	3825	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:31	3825	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6265_1'
2023-10-13	13:31:31	3825	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:31	3825	[DEBUG]	Processing product tax
2023-10-13	13:31:31	3825	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:31	3825	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:31	3825	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:31	3825	[DEBUG]	Query for Product
2023-10-13	13:31:31	3825	[DEBUG]	Executed store
2023-10-13	13:31:31	3825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863316','8715019701719','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:31	3825	[DEBUG]	No parent found
2023-10-13	13:31:31	3825	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863316 AND customfield_value = 'stockable'
2023-10-13	13:31:31	3825	[DEBUG]	Check product language entry
2023-10-13	13:31:31	3825	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863317
2023-10-13	13:31:31	3825	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:31	3825	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8715019701719' AND `virtuemart_product_id` != 1863317
2023-10-13	13:31:31	3825	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:31	3825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863317, '8715019701719')
2023-10-13	13:31:31	3825	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:31	3825	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-adaptateur-de-porte-bagage-basil-mik-noir-all' AND `virtuemart_product_id` != 1863317
2023-10-13	13:31:31	3825	[DEBUG]	Query for ProductLang
2023-10-13	13:31:31	3825	[DEBUG]	Executed store
2023-10-13	13:31:31	3825	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKfix Adaptateur de porte-bagage Basil MIK / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-adaptateur-de-porte-bagage-basil-mik-noir-all' WHERE `virtuemart_product_id` = '1863317'
2023-10-13	13:31:31	3825	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:31	3825	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863317 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:31	3825	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:31	3825	[DEBUG]	Executed store
2023-10-13	13:31:31	3825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863317','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:31	3825	[DEBUG]	Checking manufacturer
2023-10-13	13:31:31	3825	[DEBUG]	Load a row
2023-10-13	13:31:31	3825	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:31	3825	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:31	3825	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:31	3825	[DEBUG]	Executed store
2023-10-13	13:31:31	3825	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:31	3825	[DEBUG]	Manufacturer exists
2023-10-13	13:31:31	3825	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:31:31	3825	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:31	3825	[DEBUG]	Executed store
2023-10-13	13:31:31	3825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863317','146')
2023-10-13	13:31:31	3825	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:31	3825	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:31	3825	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863317 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:31	3825	[DEBUG]	Store custom available field
2023-10-13	13:31:31	3825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863317,3,'',1)
2023-10-13	13:31:31	3825	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:31	3825	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:31:31	3825	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863317 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:31	3825	[DEBUG]	Store custom available field
2023-10-13	13:31:31	3825	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863317,6,'All',3)
2023-10-13	13:31:31	3825	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:31	3825	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:31	3825	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863316
2023-10-13	13:31:31	3825	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:31	3825	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863316\":[1863316,8,1,\"choisir la taille\"],\"1863317\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863316
2023-10-13	13:31:31	3825	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:31	3825	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863317
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:31	3826	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field taille
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:31	3826	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:31	3826	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:31	3826	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:31	3826	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:31	3826	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:31	3826	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field published
2023-10-13	13:31:31	3826	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:31	3826	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field override
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:31	3826	[DEBUG]	Use field value for field slug
2023-10-13	13:31:31	3826	[DEBUG]	Process line 3826
2023-10-13	13:31:31	3826	[DEBUG]	Load a row
2023-10-13	13:31:31	3826	[DEBUG]	Processing item: A_6529_1
2023-10-13	13:31:31	3826	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:31	3826	[DEBUG]	Processing product tax
2023-10-13	13:31:31	3826	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:31	3826	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:31	3826	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:31	3826	[DEBUG]	Query for Product
2023-10-13	13:31:31	3826	[DEBUG]	Executed store
2023-10-13	13:31:31	3826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6529_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:31	3826	[DEBUG]	Check product language entry
2023-10-13	13:31:31	3826	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863318
2023-10-13	13:31:31	3826	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:31	3826	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6529_1' AND `virtuemart_product_id` != 1863318
2023-10-13	13:31:31	3826	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:31	3826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863318, 'A_6529_1')
2023-10-13	13:31:31	3826	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:31	3826	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-porte-bagage-montage-sur-tige-de-selle-avec-tringle-sacoche-noir-noir' AND `virtuemart_product_id` != 1863318
2023-10-13	13:31:31	3826	[DEBUG]	Query for ProductLang
2023-10-13	13:31:31	3826	[DEBUG]	Executed store
2023-10-13	13:31:31	3826	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 31.54008',`product_name`='Bike Attitude Porte-bagage montage sur tige de selle avec tringle sacoche noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-porte-bagage-montage-sur-tige-de-selle-avec-tringle-sacoche-noir-noir' WHERE `virtuemart_product_id` = '1863318'
2023-10-13	13:31:31	3826	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32409_porte-bagage_montage_sur_tige_de_selle_avec_tringle_sacoche_noir.jpg
2023-10-13	13:31:31	3826	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:31	3826	[DEBUG]	Process image file
2023-10-13	13:31:31	3826	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:31	3826	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:31	3826	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32409_porte-bagage_montage_sur_tige_de_selle_avec_tringle_sacoche_noir.jpg
2023-10-13	13:31:31	3826	[DEBUG]	Full name target: bcprisme/32409_porte-bagage_montage_sur_tige_de_selle_avec_tringle_sacoche_noir.jpg
2023-10-13	13:31:32	3826	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:32	3826	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32409_porte-bagage_montage_sur_tige_de_selle_avec_tringle_sacoche_noir.jpg'
2023-10-13	13:31:32	3826	[DEBUG]	Query for Media
2023-10-13	13:31:32	3826	[DEBUG]	Executed store
2023-10-13	13:31:32	3826	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32409_porte-bagage_montage_sur_tige_de_selle_avec_tringle_sacoche_noir.jpg',`file_url_thumb`='bcprisme/32409_porte-bagage_montage_sur_tige_de_selle_avec_tringle_sacoche_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13257'
2023-10-13	13:31:32	3826	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:32	3826	[DEBUG]	Executed store
2023-10-13	13:31:32	3826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863318','13257','1')
2023-10-13	13:31:32	3826	[DEBUG]	Store product image relation
2023-10-13	13:31:32	3826	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:32	3826	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863318 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:32	3826	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:32	3826	[DEBUG]	Executed store
2023-10-13	13:31:32	3826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863318','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:32	3826	[DEBUG]	Checking manufacturer
2023-10-13	13:31:32	3826	[DEBUG]	Load a row
2023-10-13	13:31:32	3826	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:32	3826	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:31:32	3826	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:32	3826	[DEBUG]	Executed store
2023-10-13	13:31:32	3826	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:31:32	3826	[DEBUG]	Manufacturer exists
2023-10-13	13:31:32	3826	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2023-10-13	13:31:32	3826	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:32	3826	[DEBUG]	Executed store
2023-10-13	13:31:32	3826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863318','48')
2023-10-13	13:31:32	3826	[DEBUG]	Find the custom field ID
2023-10-13	13:31:32	3826	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:32	3826	[DEBUG]	No custom field ID found
2023-10-13	13:31:32	3826	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:32	3826	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:32	3826	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863318 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:32	3826	[DEBUG]	Store custom available field
2023-10-13	13:31:32	3826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863318,3,'0',1)
2023-10-13	13:31:32	3826	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:32	3826	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:32	3826	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863318 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:32	3826	[DEBUG]	Store custom available field
2023-10-13	13:31:32	3826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863318,6,'choisir la taille',3)
2023-10-13	13:31:32	3826	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:32	3826	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:32	3826	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:32	3826	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:32	3826	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863318 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:32	3826	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:32	3826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863318,8,1)
2023-10-13	13:31:32	3826	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:32	3826	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863318\":[1863318,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863318
2023-10-13	13:31:32	3826	[DEBUG]	Checking category
2023-10-13	13:31:32	3826	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:32	3826	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863318
2023-10-13	13:31:32	3826	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:32	3826	[DEBUG]	Executed store
2023-10-13	13:31:32	3826	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863318','7386')
2023-10-13	13:31:32	3826	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:32	3826	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863318 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:32	3826	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:32	3826	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863318
2023-10-13	13:31:32	3827	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:32	3827	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:32	3827	[DEBUG]	Use field value for field taille
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:32	3827	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:32	3827	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:32	3827	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:32	3827	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:32	3827	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:32	3827	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:32	3827	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:32	3827	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:32	3827	[DEBUG]	Use field value for field published
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:32	3827	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field override
2023-10-13	13:31:32	3827	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:32	3827	[DEBUG]	Use field value for field slug
2023-10-13	13:31:32	3827	[DEBUG]	Process line 3827
2023-10-13	13:31:32	3827	[DEBUG]	Load a row
2023-10-13	13:31:32	3827	[DEBUG]	Processing item: 4714150552864
2023-10-13	13:31:32	3827	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:32	3827	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:32	3827	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6529_1'
2023-10-13	13:31:32	3827	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:32	3827	[DEBUG]	Processing product tax
2023-10-13	13:31:32	3827	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:32	3827	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:32	3827	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:32	3827	[DEBUG]	Query for Product
2023-10-13	13:31:32	3827	[DEBUG]	Executed store
2023-10-13	13:31:32	3827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863318','4714150552864','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:32	3827	[DEBUG]	No parent found
2023-10-13	13:31:32	3827	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863318 AND customfield_value = 'stockable'
2023-10-13	13:31:32	3827	[DEBUG]	Check product language entry
2023-10-13	13:31:32	3827	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863319
2023-10-13	13:31:32	3827	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:32	3827	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4714150552864' AND `virtuemart_product_id` != 1863319
2023-10-13	13:31:32	3827	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:32	3827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863319, '4714150552864')
2023-10-13	13:31:32	3827	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:32	3827	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-porte-bagage-montage-sur-tige-de-selle-avec-tringle-sacoche-noir-noir-unitaire' AND `virtuemart_product_id` != 1863319
2023-10-13	13:31:32	3827	[DEBUG]	Query for ProductLang
2023-10-13	13:31:32	3827	[DEBUG]	Executed store
2023-10-13	13:31:32	3827	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bike Attitude Porte-bagage montage sur tige de selle avec tringle sacoche noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-porte-bagage-montage-sur-tige-de-selle-avec-tringle-sacoche-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1863319'
2023-10-13	13:31:32	3827	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32409_porte-bagage_montage_sur_tige_de_selle_avec_tringle_sacoche_noir.jpg
2023-10-13	13:31:32	3827	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:32	3827	[DEBUG]	Process image file
2023-10-13	13:31:32	3827	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:32	3827	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:32	3827	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32409_porte-bagage_montage_sur_tige_de_selle_avec_tringle_sacoche_noir.jpg
2023-10-13	13:31:32	3827	[DEBUG]	Full name target: bcprisme/32409_porte-bagage_montage_sur_tige_de_selle_avec_tringle_sacoche_noir.jpg
2023-10-13	13:31:33	3827	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:33	3827	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32409_porte-bagage_montage_sur_tige_de_selle_avec_tringle_sacoche_noir.jpg'
2023-10-13	13:31:33	3827	[DEBUG]	Query for Media
2023-10-13	13:31:33	3827	[DEBUG]	Executed store
2023-10-13	13:31:33	3827	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32409_porte-bagage_montage_sur_tige_de_selle_avec_tringle_sacoche_noir.jpg',`file_url_thumb`='bcprisme/32409_porte-bagage_montage_sur_tige_de_selle_avec_tringle_sacoche_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13257'
2023-10-13	13:31:33	3827	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:33	3827	[DEBUG]	Executed store
2023-10-13	13:31:33	3827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863319','13257','1')
2023-10-13	13:31:33	3827	[DEBUG]	Store product image relation
2023-10-13	13:31:33	3827	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:33	3827	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863319 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:33	3827	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:33	3827	[DEBUG]	Executed store
2023-10-13	13:31:33	3827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863319','0','73.3519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:33	3827	[DEBUG]	Checking manufacturer
2023-10-13	13:31:33	3827	[DEBUG]	Load a row
2023-10-13	13:31:33	3827	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:33	3827	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:31:33	3827	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:33	3827	[DEBUG]	Executed store
2023-10-13	13:31:33	3827	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:31:33	3827	[DEBUG]	Manufacturer exists
2023-10-13	13:31:33	3827	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2023-10-13	13:31:33	3827	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:33	3827	[DEBUG]	Executed store
2023-10-13	13:31:33	3827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863319','48')
2023-10-13	13:31:33	3827	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:33	3827	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:33	3827	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863319 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:33	3827	[DEBUG]	Store custom available field
2023-10-13	13:31:33	3827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863319,3,'',1)
2023-10-13	13:31:33	3827	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:33	3827	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:33	3827	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863319 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:33	3827	[DEBUG]	Store custom available field
2023-10-13	13:31:33	3827	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863319,6,'Unitaire',3)
2023-10-13	13:31:33	3827	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:33	3827	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:33	3827	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863318
2023-10-13	13:31:33	3827	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:33	3827	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863318\":[1863318,8,1,\"choisir la taille\"],\"1863319\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863318
2023-10-13	13:31:33	3827	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:33	3827	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863319
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:33	3828	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field taille
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:33	3828	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:33	3828	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:33	3828	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:33	3828	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:33	3828	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:33	3828	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field published
2023-10-13	13:31:33	3828	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:33	3828	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field override
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:33	3828	[DEBUG]	Use field value for field slug
2023-10-13	13:31:33	3828	[DEBUG]	Process line 3828
2023-10-13	13:31:33	3828	[DEBUG]	Load a row
2023-10-13	13:31:33	3828	[DEBUG]	Processing item: A_6534_4
2023-10-13	13:31:33	3828	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:33	3828	[DEBUG]	Processing product tax
2023-10-13	13:31:33	3828	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:33	3828	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:33	3828	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:33	3828	[DEBUG]	Query for Product
2023-10-13	13:31:33	3828	[DEBUG]	Executed store
2023-10-13	13:31:33	3828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6534_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:33	3828	[DEBUG]	Check product language entry
2023-10-13	13:31:33	3828	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863320
2023-10-13	13:31:33	3828	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:33	3828	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6534_4' AND `virtuemart_product_id` != 1863320
2023-10-13	13:31:33	3828	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:33	3828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863320, 'A_6534_4')
2023-10-13	13:31:33	3828	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:33	3828	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-support-porte-bagage-165mm-acier' AND `virtuemart_product_id` != 1863320
2023-10-13	13:31:33	3828	[DEBUG]	Query for ProductLang
2023-10-13	13:31:33	3828	[DEBUG]	Executed store
2023-10-13	13:31:33	3828	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 31.33272',`product_name`='Pletscher Support porte-bagage 165mm / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-support-porte-bagage-165mm-acier' WHERE `virtuemart_product_id` = '1863320'
2023-10-13	13:31:33	3828	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32413_pletscher_support_porte-bagage_165mm.jpg
2023-10-13	13:31:33	3828	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:33	3828	[DEBUG]	Process image file
2023-10-13	13:31:33	3828	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:33	3828	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:33	3828	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32413_pletscher_support_porte-bagage_165mm.jpg
2023-10-13	13:31:33	3828	[DEBUG]	Full name target: bcprisme/32413_pletscher_support_porte-bagage_165mm.jpg
2023-10-13	13:31:34	3828	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:34	3828	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32413_pletscher_support_porte-bagage_165mm.jpg'
2023-10-13	13:31:34	3828	[DEBUG]	Query for Media
2023-10-13	13:31:34	3828	[DEBUG]	Executed store
2023-10-13	13:31:34	3828	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32413_pletscher_support_porte-bagage_165mm.jpg',`file_url_thumb`='bcprisme/32413_pletscher_support_porte-bagage_165mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13258'
2023-10-13	13:31:34	3828	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:34	3828	[DEBUG]	Executed store
2023-10-13	13:31:34	3828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863320','13258','1')
2023-10-13	13:31:34	3828	[DEBUG]	Store product image relation
2023-10-13	13:31:34	3828	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:34	3828	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863320 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:34	3828	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:34	3828	[DEBUG]	Executed store
2023-10-13	13:31:34	3828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863320','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:34	3828	[DEBUG]	Checking manufacturer
2023-10-13	13:31:34	3828	[DEBUG]	Load a row
2023-10-13	13:31:34	3828	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:34	3828	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:34	3828	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:34	3828	[DEBUG]	Executed store
2023-10-13	13:31:34	3828	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:34	3828	[DEBUG]	Manufacturer exists
2023-10-13	13:31:34	3828	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:34	3828	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:34	3828	[DEBUG]	Executed store
2023-10-13	13:31:34	3828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863320','74')
2023-10-13	13:31:34	3828	[DEBUG]	Find the custom field ID
2023-10-13	13:31:34	3828	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:34	3828	[DEBUG]	No custom field ID found
2023-10-13	13:31:34	3828	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:34	3828	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:34	3828	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863320 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:34	3828	[DEBUG]	Store custom available field
2023-10-13	13:31:34	3828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863320,3,'0',1)
2023-10-13	13:31:34	3828	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:34	3828	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:34	3828	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863320 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:34	3828	[DEBUG]	Store custom available field
2023-10-13	13:31:34	3828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863320,6,'choisir la taille',3)
2023-10-13	13:31:34	3828	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:34	3828	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:34	3828	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:34	3828	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:34	3828	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863320 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:34	3828	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:34	3828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863320,8,1)
2023-10-13	13:31:34	3828	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:34	3828	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863320\":[1863320,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863320
2023-10-13	13:31:34	3828	[DEBUG]	Checking category
2023-10-13	13:31:34	3828	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:34	3828	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863320
2023-10-13	13:31:34	3828	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:34	3828	[DEBUG]	Executed store
2023-10-13	13:31:34	3828	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863320','7386')
2023-10-13	13:31:34	3828	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:34	3828	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863320 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:34	3828	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:34	3828	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863320
2023-10-13	13:31:34	3829	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:34	3829	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:34	3829	[DEBUG]	Use field value for field taille
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:34	3829	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:34	3829	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:34	3829	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:34	3829	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:34	3829	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:34	3829	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:34	3829	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:34	3829	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:34	3829	[DEBUG]	Use field value for field published
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:34	3829	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field override
2023-10-13	13:31:34	3829	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:34	3829	[DEBUG]	Use field value for field slug
2023-10-13	13:31:34	3829	[DEBUG]	Process line 3829
2023-10-13	13:31:34	3829	[DEBUG]	Load a row
2023-10-13	13:31:34	3829	[DEBUG]	Processing item: 7612616041907
2023-10-13	13:31:34	3829	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:34	3829	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:34	3829	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6534_4'
2023-10-13	13:31:34	3829	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:34	3829	[DEBUG]	Processing product tax
2023-10-13	13:31:34	3829	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:34	3829	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:34	3829	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:34	3829	[DEBUG]	Query for Product
2023-10-13	13:31:34	3829	[DEBUG]	Executed store
2023-10-13	13:31:34	3829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863320','7612616041907','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:34	3829	[DEBUG]	No parent found
2023-10-13	13:31:34	3829	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863320 AND customfield_value = 'stockable'
2023-10-13	13:31:34	3829	[DEBUG]	Check product language entry
2023-10-13	13:31:34	3829	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863321
2023-10-13	13:31:34	3829	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:34	3829	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7612616041907' AND `virtuemart_product_id` != 1863321
2023-10-13	13:31:34	3829	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:34	3829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863321, '7612616041907')
2023-10-13	13:31:34	3829	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:34	3829	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-support-porte-bagage-165mm-acier-unitaire' AND `virtuemart_product_id` != 1863321
2023-10-13	13:31:34	3829	[DEBUG]	Query for ProductLang
2023-10-13	13:31:34	3829	[DEBUG]	Executed store
2023-10-13	13:31:34	3829	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Support porte-bagage 165mm / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-support-porte-bagage-165mm-acier-unitaire' WHERE `virtuemart_product_id` = '1863321'
2023-10-13	13:31:34	3829	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32413_pletscher_support_porte-bagage_165mm.jpg
2023-10-13	13:31:34	3829	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:34	3829	[DEBUG]	Process image file
2023-10-13	13:31:34	3829	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:34	3829	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:34	3829	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32413_pletscher_support_porte-bagage_165mm.jpg
2023-10-13	13:31:34	3829	[DEBUG]	Full name target: bcprisme/32413_pletscher_support_porte-bagage_165mm.jpg
2023-10-13	13:31:35	3829	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:35	3829	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32413_pletscher_support_porte-bagage_165mm.jpg'
2023-10-13	13:31:35	3829	[DEBUG]	Query for Media
2023-10-13	13:31:35	3829	[DEBUG]	Executed store
2023-10-13	13:31:35	3829	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32413_pletscher_support_porte-bagage_165mm.jpg',`file_url_thumb`='bcprisme/32413_pletscher_support_porte-bagage_165mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13258'
2023-10-13	13:31:35	3829	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:35	3829	[DEBUG]	Executed store
2023-10-13	13:31:35	3829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863321','13258','1')
2023-10-13	13:31:35	3829	[DEBUG]	Store product image relation
2023-10-13	13:31:35	3829	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:35	3829	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863321 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:35	3829	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:35	3829	[DEBUG]	Executed store
2023-10-13	13:31:35	3829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863321','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:35	3829	[DEBUG]	Checking manufacturer
2023-10-13	13:31:35	3829	[DEBUG]	Load a row
2023-10-13	13:31:35	3829	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:35	3829	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:35	3829	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:35	3829	[DEBUG]	Executed store
2023-10-13	13:31:35	3829	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:35	3829	[DEBUG]	Manufacturer exists
2023-10-13	13:31:35	3829	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:35	3829	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:35	3829	[DEBUG]	Executed store
2023-10-13	13:31:35	3829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863321','74')
2023-10-13	13:31:35	3829	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:35	3829	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:35	3829	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863321 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:35	3829	[DEBUG]	Store custom available field
2023-10-13	13:31:35	3829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863321,3,'',1)
2023-10-13	13:31:35	3829	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:35	3829	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:35	3829	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863321 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:35	3829	[DEBUG]	Store custom available field
2023-10-13	13:31:35	3829	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863321,6,'Unitaire',3)
2023-10-13	13:31:35	3829	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:35	3829	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:35	3829	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863320
2023-10-13	13:31:35	3829	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:35	3829	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863320\":[1863320,8,1,\"choisir la taille\"],\"1863321\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863320
2023-10-13	13:31:35	3829	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:35	3829	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863321
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:35	3830	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field taille
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:35	3830	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:35	3830	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:35	3830	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:35	3830	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:35	3830	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:35	3830	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field published
2023-10-13	13:31:35	3830	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:35	3830	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field override
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:35	3830	[DEBUG]	Use field value for field slug
2023-10-13	13:31:35	3830	[DEBUG]	Process line 3830
2023-10-13	13:31:35	3830	[DEBUG]	Load a row
2023-10-13	13:31:35	3830	[DEBUG]	Processing item: A_6535_4
2023-10-13	13:31:35	3830	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:35	3830	[DEBUG]	Processing product tax
2023-10-13	13:31:35	3830	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:35	3830	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:35	3830	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:35	3830	[DEBUG]	Query for Product
2023-10-13	13:31:35	3830	[DEBUG]	Executed store
2023-10-13	13:31:35	3830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6535_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:35	3830	[DEBUG]	Check product language entry
2023-10-13	13:31:35	3830	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863322
2023-10-13	13:31:35	3830	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:35	3830	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6535_4' AND `virtuemart_product_id` != 1863322
2023-10-13	13:31:35	3830	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:35	3830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863322, 'A_6535_4')
2023-10-13	13:31:35	3830	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:35	3830	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-plaque-aubans-pour-quick-rack-acier' AND `virtuemart_product_id` != 1863322
2023-10-13	13:31:35	3830	[DEBUG]	Query for ProductLang
2023-10-13	13:31:35	3830	[DEBUG]	Executed store
2023-10-13	13:31:35	3830	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 31.39125',`product_name`='Pletscher plaque aubans pour Quick-rack / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-plaque-aubans-pour-quick-rack-acier' WHERE `virtuemart_product_id` = '1863322'
2023-10-13	13:31:35	3830	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32414_pletscher_plaque_aubans_pour_quick-rack.jpg
2023-10-13	13:31:35	3830	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:35	3830	[DEBUG]	Process image file
2023-10-13	13:31:35	3830	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:35	3830	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:35	3830	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32414_pletscher_plaque_aubans_pour_quick-rack.jpg
2023-10-13	13:31:35	3830	[DEBUG]	Full name target: bcprisme/32414_pletscher_plaque_aubans_pour_quick-rack.jpg
2023-10-13	13:31:36	3830	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:36	3830	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32414_pletscher_plaque_aubans_pour_quick-rack.jpg'
2023-10-13	13:31:36	3830	[DEBUG]	Query for Media
2023-10-13	13:31:36	3830	[DEBUG]	Executed store
2023-10-13	13:31:36	3830	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32414_pletscher_plaque_aubans_pour_quick-rack.jpg',`file_url_thumb`='bcprisme/32414_pletscher_plaque_aubans_pour_quick-rack.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13259'
2023-10-13	13:31:36	3830	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:36	3830	[DEBUG]	Executed store
2023-10-13	13:31:36	3830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863322','13259','1')
2023-10-13	13:31:36	3830	[DEBUG]	Store product image relation
2023-10-13	13:31:36	3830	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:36	3830	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863322 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:36	3830	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:36	3830	[DEBUG]	Executed store
2023-10-13	13:31:36	3830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863322','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:36	3830	[DEBUG]	Checking manufacturer
2023-10-13	13:31:36	3830	[DEBUG]	Load a row
2023-10-13	13:31:36	3830	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:36	3830	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:36	3830	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:36	3830	[DEBUG]	Executed store
2023-10-13	13:31:36	3830	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:36	3830	[DEBUG]	Manufacturer exists
2023-10-13	13:31:36	3830	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:36	3830	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:36	3830	[DEBUG]	Executed store
2023-10-13	13:31:36	3830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863322','74')
2023-10-13	13:31:36	3830	[DEBUG]	Find the custom field ID
2023-10-13	13:31:36	3830	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:36	3830	[DEBUG]	No custom field ID found
2023-10-13	13:31:36	3830	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:36	3830	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:36	3830	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863322 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:36	3830	[DEBUG]	Store custom available field
2023-10-13	13:31:36	3830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863322,3,'0',1)
2023-10-13	13:31:36	3830	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:36	3830	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:36	3830	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863322 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:36	3830	[DEBUG]	Store custom available field
2023-10-13	13:31:36	3830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863322,6,'choisir la taille',3)
2023-10-13	13:31:36	3830	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:36	3830	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:36	3830	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:36	3830	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:36	3830	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863322 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:36	3830	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:36	3830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863322,8,1)
2023-10-13	13:31:36	3830	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:36	3830	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863322\":[1863322,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863322
2023-10-13	13:31:36	3830	[DEBUG]	Checking category
2023-10-13	13:31:36	3830	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:36	3830	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863322
2023-10-13	13:31:36	3830	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:36	3830	[DEBUG]	Executed store
2023-10-13	13:31:36	3830	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863322','7386')
2023-10-13	13:31:36	3830	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:36	3830	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863322 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:36	3830	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:36	3830	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863322
2023-10-13	13:31:36	3831	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:36	3831	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:36	3831	[DEBUG]	Use field value for field taille
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:36	3831	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:36	3831	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:36	3831	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:36	3831	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:36	3831	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:36	3831	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:36	3831	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:36	3831	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:36	3831	[DEBUG]	Use field value for field published
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:36	3831	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field override
2023-10-13	13:31:36	3831	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:36	3831	[DEBUG]	Use field value for field slug
2023-10-13	13:31:36	3831	[DEBUG]	Process line 3831
2023-10-13	13:31:36	3831	[DEBUG]	Load a row
2023-10-13	13:31:36	3831	[DEBUG]	Processing item: 7612616054730
2023-10-13	13:31:36	3831	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:36	3831	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:36	3831	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6535_4'
2023-10-13	13:31:36	3831	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:36	3831	[DEBUG]	Processing product tax
2023-10-13	13:31:36	3831	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:36	3831	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:36	3831	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:36	3831	[DEBUG]	Query for Product
2023-10-13	13:31:36	3831	[DEBUG]	Executed store
2023-10-13	13:31:36	3831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863322','7612616054730','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:36	3831	[DEBUG]	No parent found
2023-10-13	13:31:36	3831	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863322 AND customfield_value = 'stockable'
2023-10-13	13:31:36	3831	[DEBUG]	Check product language entry
2023-10-13	13:31:36	3831	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863323
2023-10-13	13:31:36	3831	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:36	3831	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7612616054730' AND `virtuemart_product_id` != 1863323
2023-10-13	13:31:36	3831	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:36	3831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863323, '7612616054730')
2023-10-13	13:31:36	3831	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:36	3831	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-plaque-aubans-pour-quick-rack-acier-unitaire' AND `virtuemart_product_id` != 1863323
2023-10-13	13:31:36	3831	[DEBUG]	Query for ProductLang
2023-10-13	13:31:36	3831	[DEBUG]	Executed store
2023-10-13	13:31:36	3831	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher plaque aubans pour Quick-rack / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-plaque-aubans-pour-quick-rack-acier-unitaire' WHERE `virtuemart_product_id` = '1863323'
2023-10-13	13:31:36	3831	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32414_pletscher_plaque_aubans_pour_quick-rack.jpg
2023-10-13	13:31:36	3831	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:36	3831	[DEBUG]	Process image file
2023-10-13	13:31:36	3831	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:36	3831	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:36	3831	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32414_pletscher_plaque_aubans_pour_quick-rack.jpg
2023-10-13	13:31:36	3831	[DEBUG]	Full name target: bcprisme/32414_pletscher_plaque_aubans_pour_quick-rack.jpg
2023-10-13	13:31:37	3831	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:37	3831	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32414_pletscher_plaque_aubans_pour_quick-rack.jpg'
2023-10-13	13:31:37	3831	[DEBUG]	Query for Media
2023-10-13	13:31:37	3831	[DEBUG]	Executed store
2023-10-13	13:31:37	3831	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32414_pletscher_plaque_aubans_pour_quick-rack.jpg',`file_url_thumb`='bcprisme/32414_pletscher_plaque_aubans_pour_quick-rack.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13259'
2023-10-13	13:31:37	3831	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:37	3831	[DEBUG]	Executed store
2023-10-13	13:31:37	3831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863323','13259','1')
2023-10-13	13:31:37	3831	[DEBUG]	Store product image relation
2023-10-13	13:31:37	3831	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:37	3831	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863323 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:37	3831	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:37	3831	[DEBUG]	Executed store
2023-10-13	13:31:37	3831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863323','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:37	3831	[DEBUG]	Checking manufacturer
2023-10-13	13:31:37	3831	[DEBUG]	Load a row
2023-10-13	13:31:37	3831	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:37	3831	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:37	3831	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:37	3831	[DEBUG]	Executed store
2023-10-13	13:31:37	3831	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:37	3831	[DEBUG]	Manufacturer exists
2023-10-13	13:31:37	3831	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:37	3831	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:37	3831	[DEBUG]	Executed store
2023-10-13	13:31:37	3831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863323','74')
2023-10-13	13:31:37	3831	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:37	3831	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:37	3831	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863323 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:37	3831	[DEBUG]	Store custom available field
2023-10-13	13:31:37	3831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863323,3,'',1)
2023-10-13	13:31:37	3831	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:37	3831	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:37	3831	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863323 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:37	3831	[DEBUG]	Store custom available field
2023-10-13	13:31:37	3831	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863323,6,'Unitaire',3)
2023-10-13	13:31:37	3831	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:37	3831	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:37	3831	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863322
2023-10-13	13:31:37	3831	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:37	3831	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863322\":[1863322,8,1,\"choisir la taille\"],\"1863323\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863322
2023-10-13	13:31:37	3831	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:37	3831	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863323
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:37	3832	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field taille
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:37	3832	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:37	3832	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:37	3832	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:37	3832	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:37	3832	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:37	3832	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field published
2023-10-13	13:31:37	3832	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:37	3832	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field override
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:37	3832	[DEBUG]	Use field value for field slug
2023-10-13	13:31:37	3832	[DEBUG]	Process line 3832
2023-10-13	13:31:37	3832	[DEBUG]	Load a row
2023-10-13	13:31:37	3832	[DEBUG]	Processing item: A_6536_4
2023-10-13	13:31:37	3832	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:37	3832	[DEBUG]	Processing product tax
2023-10-13	13:31:37	3832	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:37	3832	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:37	3832	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:37	3832	[DEBUG]	Query for Product
2023-10-13	13:31:37	3832	[DEBUG]	Executed store
2023-10-13	13:31:37	3832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6536_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:37	3832	[DEBUG]	Check product language entry
2023-10-13	13:31:37	3832	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863324
2023-10-13	13:31:37	3832	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:37	3832	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6536_4' AND `virtuemart_product_id` != 1863324
2023-10-13	13:31:37	3832	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:37	3832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863324, 'A_6536_4')
2023-10-13	13:31:37	3832	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:37	3832	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-support-porte-bagage-85-115mm-acier' AND `virtuemart_product_id` != 1863324
2023-10-13	13:31:37	3832	[DEBUG]	Query for ProductLang
2023-10-13	13:31:37	3832	[DEBUG]	Executed store
2023-10-13	13:31:37	3832	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 31.18948',`product_name`='Pletscher support porte-bagage 85-115mm / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-support-porte-bagage-85-115mm-acier' WHERE `virtuemart_product_id` = '1863324'
2023-10-13	13:31:37	3832	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32415_pletscher_support_porte-bagage_85-115mm.jpg
2023-10-13	13:31:37	3832	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:37	3832	[DEBUG]	Process image file
2023-10-13	13:31:37	3832	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:37	3832	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:37	3832	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32415_pletscher_support_porte-bagage_85-115mm.jpg
2023-10-13	13:31:37	3832	[DEBUG]	Full name target: bcprisme/32415_pletscher_support_porte-bagage_85-115mm.jpg
2023-10-13	13:31:38	3832	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:38	3832	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32415_pletscher_support_porte-bagage_85-115mm.jpg'
2023-10-13	13:31:38	3832	[DEBUG]	Query for Media
2023-10-13	13:31:38	3832	[DEBUG]	Executed store
2023-10-13	13:31:38	3832	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32415_pletscher_support_porte-bagage_85-115mm.jpg',`file_url_thumb`='bcprisme/32415_pletscher_support_porte-bagage_85-115mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13260'
2023-10-13	13:31:38	3832	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:38	3832	[DEBUG]	Executed store
2023-10-13	13:31:38	3832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863324','13260','1')
2023-10-13	13:31:38	3832	[DEBUG]	Store product image relation
2023-10-13	13:31:38	3832	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:38	3832	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863324 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:38	3832	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:38	3832	[DEBUG]	Executed store
2023-10-13	13:31:38	3832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863324','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:38	3832	[DEBUG]	Checking manufacturer
2023-10-13	13:31:38	3832	[DEBUG]	Load a row
2023-10-13	13:31:38	3832	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:38	3832	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:38	3832	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:38	3832	[DEBUG]	Executed store
2023-10-13	13:31:38	3832	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:38	3832	[DEBUG]	Manufacturer exists
2023-10-13	13:31:38	3832	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:38	3832	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:38	3832	[DEBUG]	Executed store
2023-10-13	13:31:38	3832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863324','74')
2023-10-13	13:31:38	3832	[DEBUG]	Find the custom field ID
2023-10-13	13:31:38	3832	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:38	3832	[DEBUG]	No custom field ID found
2023-10-13	13:31:38	3832	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:38	3832	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:38	3832	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863324 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:38	3832	[DEBUG]	Store custom available field
2023-10-13	13:31:38	3832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863324,3,'0',1)
2023-10-13	13:31:38	3832	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:38	3832	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:38	3832	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863324 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:38	3832	[DEBUG]	Store custom available field
2023-10-13	13:31:38	3832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863324,6,'choisir la taille',3)
2023-10-13	13:31:38	3832	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:38	3832	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:38	3832	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:38	3832	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:38	3832	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863324 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:38	3832	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:38	3832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863324,8,1)
2023-10-13	13:31:38	3832	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:38	3832	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863324\":[1863324,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863324
2023-10-13	13:31:38	3832	[DEBUG]	Checking category
2023-10-13	13:31:38	3832	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:38	3832	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863324
2023-10-13	13:31:38	3832	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:38	3832	[DEBUG]	Executed store
2023-10-13	13:31:38	3832	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863324','7386')
2023-10-13	13:31:38	3832	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:38	3832	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863324 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:38	3832	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:38	3832	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863324
2023-10-13	13:31:38	3833	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:38	3833	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:38	3833	[DEBUG]	Use field value for field taille
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:38	3833	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:38	3833	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:38	3833	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:38	3833	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:38	3833	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:38	3833	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:38	3833	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:38	3833	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:38	3833	[DEBUG]	Use field value for field published
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:38	3833	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field override
2023-10-13	13:31:38	3833	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:38	3833	[DEBUG]	Use field value for field slug
2023-10-13	13:31:38	3833	[DEBUG]	Process line 3833
2023-10-13	13:31:38	3833	[DEBUG]	Load a row
2023-10-13	13:31:38	3833	[DEBUG]	Processing item: 7612616041952
2023-10-13	13:31:38	3833	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:38	3833	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:38	3833	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6536_4'
2023-10-13	13:31:38	3833	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:38	3833	[DEBUG]	Processing product tax
2023-10-13	13:31:38	3833	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:38	3833	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:38	3833	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:38	3833	[DEBUG]	Query for Product
2023-10-13	13:31:38	3833	[DEBUG]	Executed store
2023-10-13	13:31:38	3833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863324','7612616041952','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:38	3833	[DEBUG]	No parent found
2023-10-13	13:31:38	3833	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863324 AND customfield_value = 'stockable'
2023-10-13	13:31:38	3833	[DEBUG]	Check product language entry
2023-10-13	13:31:38	3833	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863325
2023-10-13	13:31:38	3833	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:38	3833	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7612616041952' AND `virtuemart_product_id` != 1863325
2023-10-13	13:31:38	3833	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:38	3833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863325, '7612616041952')
2023-10-13	13:31:38	3833	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:38	3833	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-support-porte-bagage-85-115mm-acier-unitaire' AND `virtuemart_product_id` != 1863325
2023-10-13	13:31:38	3833	[DEBUG]	Query for ProductLang
2023-10-13	13:31:38	3833	[DEBUG]	Executed store
2023-10-13	13:31:38	3833	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher support porte-bagage 85-115mm / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-support-porte-bagage-85-115mm-acier-unitaire' WHERE `virtuemart_product_id` = '1863325'
2023-10-13	13:31:38	3833	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32415_pletscher_support_porte-bagage_85-115mm.jpg
2023-10-13	13:31:38	3833	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:38	3833	[DEBUG]	Process image file
2023-10-13	13:31:38	3833	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:38	3833	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:38	3833	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32415_pletscher_support_porte-bagage_85-115mm.jpg
2023-10-13	13:31:38	3833	[DEBUG]	Full name target: bcprisme/32415_pletscher_support_porte-bagage_85-115mm.jpg
2023-10-13	13:31:39	3833	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:39	3833	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32415_pletscher_support_porte-bagage_85-115mm.jpg'
2023-10-13	13:31:39	3833	[DEBUG]	Query for Media
2023-10-13	13:31:39	3833	[DEBUG]	Executed store
2023-10-13	13:31:39	3833	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32415_pletscher_support_porte-bagage_85-115mm.jpg',`file_url_thumb`='bcprisme/32415_pletscher_support_porte-bagage_85-115mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13260'
2023-10-13	13:31:39	3833	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:39	3833	[DEBUG]	Executed store
2023-10-13	13:31:39	3833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863325','13260','1')
2023-10-13	13:31:39	3833	[DEBUG]	Store product image relation
2023-10-13	13:31:39	3833	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:39	3833	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863325 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:39	3833	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:39	3833	[DEBUG]	Executed store
2023-10-13	13:31:39	3833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863325','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:39	3833	[DEBUG]	Checking manufacturer
2023-10-13	13:31:39	3833	[DEBUG]	Load a row
2023-10-13	13:31:39	3833	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:39	3833	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:39	3833	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:39	3833	[DEBUG]	Executed store
2023-10-13	13:31:39	3833	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:39	3833	[DEBUG]	Manufacturer exists
2023-10-13	13:31:39	3833	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:39	3833	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:39	3833	[DEBUG]	Executed store
2023-10-13	13:31:39	3833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863325','74')
2023-10-13	13:31:39	3833	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:39	3833	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:39	3833	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863325 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:39	3833	[DEBUG]	Store custom available field
2023-10-13	13:31:39	3833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863325,3,'',1)
2023-10-13	13:31:39	3833	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:39	3833	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:39	3833	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863325 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:39	3833	[DEBUG]	Store custom available field
2023-10-13	13:31:39	3833	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863325,6,'Unitaire',3)
2023-10-13	13:31:39	3833	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:39	3833	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:39	3833	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863324
2023-10-13	13:31:39	3833	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:39	3833	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863324\":[1863324,8,1,\"choisir la taille\"],\"1863325\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863324
2023-10-13	13:31:39	3833	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:39	3833	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863325
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:39	3834	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field taille
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:39	3834	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:39	3834	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:39	3834	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:39	3834	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:39	3834	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:39	3834	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:39	3834	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field published
2023-10-13	13:31:39	3834	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:39	3834	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field override
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:39	3834	[DEBUG]	Use field value for field slug
2023-10-13	13:31:39	3834	[DEBUG]	Process line 3834
2023-10-13	13:31:39	3834	[DEBUG]	Load a row
2023-10-13	13:31:39	3834	[DEBUG]	Processing item: A_6537_4
2023-10-13	13:31:39	3834	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:39	3834	[DEBUG]	Processing product tax
2023-10-13	13:31:39	3834	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:39	3834	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:39	3834	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:39	3834	[DEBUG]	Query for Product
2023-10-13	13:31:39	3834	[DEBUG]	Executed store
2023-10-13	13:31:39	3834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6537_4','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:39	3834	[DEBUG]	Check product language entry
2023-10-13	13:31:39	3834	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863326
2023-10-13	13:31:39	3834	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:39	3834	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6537_4' AND `virtuemart_product_id` != 1863326
2023-10-13	13:31:39	3834	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:39	3834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863326, 'A_6537_4')
2023-10-13	13:31:39	3834	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:39	3834	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-support-porte-bagage-78mm-acier' AND `virtuemart_product_id` != 1863326
2023-10-13	13:31:39	3834	[DEBUG]	Query for ProductLang
2023-10-13	13:31:39	3834	[DEBUG]	Executed store
2023-10-13	13:31:39	3834	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 31.18952',`product_name`='Pletscher support porte-bagage 78mm / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-support-porte-bagage-78mm-acier' WHERE `virtuemart_product_id` = '1863326'
2023-10-13	13:31:39	3834	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32416_pletscher_support_porte-bagage_78mm.jpg has not been found.
2023-10-13	13:31:39	3834	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:39	3834	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863326 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:39	3834	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:39	3834	[DEBUG]	Executed store
2023-10-13	13:31:39	3834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863326','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:39	3834	[DEBUG]	Checking manufacturer
2023-10-13	13:31:39	3834	[DEBUG]	Load a row
2023-10-13	13:31:39	3834	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:39	3834	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:39	3834	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:39	3834	[DEBUG]	Executed store
2023-10-13	13:31:39	3834	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:39	3834	[DEBUG]	Manufacturer exists
2023-10-13	13:31:39	3834	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:39	3834	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:39	3834	[DEBUG]	Executed store
2023-10-13	13:31:39	3834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863326','74')
2023-10-13	13:31:39	3834	[DEBUG]	Find the custom field ID
2023-10-13	13:31:39	3834	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:39	3834	[DEBUG]	No custom field ID found
2023-10-13	13:31:39	3834	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:39	3834	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:39	3834	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863326 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:39	3834	[DEBUG]	Store custom available field
2023-10-13	13:31:39	3834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863326,3,'0',1)
2023-10-13	13:31:39	3834	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:39	3834	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:39	3834	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863326 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:39	3834	[DEBUG]	Store custom available field
2023-10-13	13:31:39	3834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863326,6,'choisir la taille',3)
2023-10-13	13:31:39	3834	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:39	3834	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:39	3834	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:39	3834	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:39	3834	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863326 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:39	3834	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:39	3834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863326,8,1)
2023-10-13	13:31:39	3834	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:39	3834	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863326\":[1863326,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863326
2023-10-13	13:31:39	3834	[DEBUG]	Checking category
2023-10-13	13:31:39	3834	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:39	3834	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863326
2023-10-13	13:31:39	3834	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:39	3834	[DEBUG]	Executed store
2023-10-13	13:31:39	3834	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863326','7386')
2023-10-13	13:31:39	3834	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:39	3834	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863326 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:39	3834	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:39	3834	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863326
2023-10-13	13:31:39	3835	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:39	3835	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:39	3835	[DEBUG]	Use field value for field taille
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:39	3835	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:39	3835	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:39	3835	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:39	3835	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:39	3835	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:39	3835	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:39	3835	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:39	3835	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:39	3835	[DEBUG]	Use field value for field published
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:39	3835	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field override
2023-10-13	13:31:39	3835	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:39	3835	[DEBUG]	Use field value for field slug
2023-10-13	13:31:39	3835	[DEBUG]	Process line 3835
2023-10-13	13:31:39	3835	[DEBUG]	Load a row
2023-10-13	13:31:39	3835	[DEBUG]	Processing item: 7612616041990
2023-10-13	13:31:39	3835	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:39	3835	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:39	3835	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6537_4'
2023-10-13	13:31:39	3835	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:39	3835	[DEBUG]	Processing product tax
2023-10-13	13:31:39	3835	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:39	3835	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:39	3835	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:39	3835	[DEBUG]	Query for Product
2023-10-13	13:31:39	3835	[DEBUG]	Executed store
2023-10-13	13:31:39	3835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863326','7612616041990','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:39	3835	[DEBUG]	No parent found
2023-10-13	13:31:39	3835	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863326 AND customfield_value = 'stockable'
2023-10-13	13:31:39	3835	[DEBUG]	Check product language entry
2023-10-13	13:31:39	3835	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863327
2023-10-13	13:31:39	3835	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:39	3835	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7612616041990' AND `virtuemart_product_id` != 1863327
2023-10-13	13:31:39	3835	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:39	3835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863327, '7612616041990')
2023-10-13	13:31:39	3835	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:39	3835	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-support-porte-bagage-78mm-acier-unitaire' AND `virtuemart_product_id` != 1863327
2023-10-13	13:31:39	3835	[DEBUG]	Query for ProductLang
2023-10-13	13:31:39	3835	[DEBUG]	Executed store
2023-10-13	13:31:39	3835	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher support porte-bagage 78mm / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-support-porte-bagage-78mm-acier-unitaire' WHERE `virtuemart_product_id` = '1863327'
2023-10-13	13:31:39	3835	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32416_pletscher_support_porte-bagage_78mm.jpg has not been found.
2023-10-13	13:31:39	3835	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:39	3835	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863327 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:39	3835	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:39	3835	[DEBUG]	Executed store
2023-10-13	13:31:39	3835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863327','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:39	3835	[DEBUG]	Checking manufacturer
2023-10-13	13:31:39	3835	[DEBUG]	Load a row
2023-10-13	13:31:39	3835	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:39	3835	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:39	3835	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:40	3835	[DEBUG]	Executed store
2023-10-13	13:31:40	3835	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:40	3835	[DEBUG]	Manufacturer exists
2023-10-13	13:31:40	3835	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:40	3835	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:40	3835	[DEBUG]	Executed store
2023-10-13	13:31:40	3835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863327','74')
2023-10-13	13:31:40	3835	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:40	3835	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:40	3835	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863327 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:40	3835	[DEBUG]	Store custom available field
2023-10-13	13:31:40	3835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863327,3,'',1)
2023-10-13	13:31:40	3835	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:40	3835	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:40	3835	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863327 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:40	3835	[DEBUG]	Store custom available field
2023-10-13	13:31:40	3835	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863327,6,'Unitaire',3)
2023-10-13	13:31:40	3835	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:40	3835	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:40	3835	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863326
2023-10-13	13:31:40	3835	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:40	3835	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863326\":[1863326,8,1,\"choisir la taille\"],\"1863327\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863326
2023-10-13	13:31:40	3835	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:40	3835	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863327
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:40	3836	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field taille
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:40	3836	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:40	3836	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:40	3836	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:40	3836	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:40	3836	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:40	3836	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field published
2023-10-13	13:31:40	3836	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:40	3836	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field override
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:40	3836	[DEBUG]	Use field value for field slug
2023-10-13	13:31:40	3836	[DEBUG]	Process line 3836
2023-10-13	13:31:40	3836	[DEBUG]	Load a row
2023-10-13	13:31:40	3836	[DEBUG]	Processing item: A_6538_4
2023-10-13	13:31:40	3836	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:40	3836	[DEBUG]	Processing product tax
2023-10-13	13:31:40	3836	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:40	3836	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:40	3836	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:40	3836	[DEBUG]	Query for Product
2023-10-13	13:31:40	3836	[DEBUG]	Executed store
2023-10-13	13:31:40	3836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6538_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:40	3836	[DEBUG]	Check product language entry
2023-10-13	13:31:40	3836	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863328
2023-10-13	13:31:40	3836	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:40	3836	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6538_4' AND `virtuemart_product_id` != 1863328
2023-10-13	13:31:40	3836	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:40	3836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863328, 'A_6538_4')
2023-10-13	13:31:40	3836	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:40	3836	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-support-porte-bagage-montage-oeillet-165mm-acier' AND `virtuemart_product_id` != 1863328
2023-10-13	13:31:40	3836	[DEBUG]	Query for ProductLang
2023-10-13	13:31:40	3836	[DEBUG]	Executed store
2023-10-13	13:31:40	3836	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 31.23545',`product_name`='Pletscher support porte-bagage montage oeillet 165mm  / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-support-porte-bagage-montage-oeillet-165mm-acier' WHERE `virtuemart_product_id` = '1863328'
2023-10-13	13:31:40	3836	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32417_pletscher_support_porte-bagage_montage_oeillet_165mm_.jpg
2023-10-13	13:31:40	3836	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:40	3836	[DEBUG]	Process image file
2023-10-13	13:31:40	3836	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:40	3836	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:40	3836	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32417_pletscher_support_porte-bagage_montage_oeillet_165mm_.jpg
2023-10-13	13:31:40	3836	[DEBUG]	Full name target: bcprisme/32417_pletscher_support_porte-bagage_montage_oeillet_165mm_.jpg
2023-10-13	13:31:41	3836	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:41	3836	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32417_pletscher_support_porte-bagage_montage_oeillet_165mm_.jpg'
2023-10-13	13:31:41	3836	[DEBUG]	Query for Media
2023-10-13	13:31:41	3836	[DEBUG]	Executed store
2023-10-13	13:31:41	3836	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32417_pletscher_support_porte-bagage_montage_oeillet_165mm_.jpg',`file_url_thumb`='bcprisme/32417_pletscher_support_porte-bagage_montage_oeillet_165mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13261'
2023-10-13	13:31:41	3836	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:41	3836	[DEBUG]	Executed store
2023-10-13	13:31:41	3836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863328','13261','1')
2023-10-13	13:31:41	3836	[DEBUG]	Store product image relation
2023-10-13	13:31:41	3836	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:41	3836	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863328 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:41	3836	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:41	3836	[DEBUG]	Executed store
2023-10-13	13:31:41	3836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863328','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:41	3836	[DEBUG]	Checking manufacturer
2023-10-13	13:31:41	3836	[DEBUG]	Load a row
2023-10-13	13:31:41	3836	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:41	3836	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:41	3836	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:41	3836	[DEBUG]	Executed store
2023-10-13	13:31:41	3836	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:41	3836	[DEBUG]	Manufacturer exists
2023-10-13	13:31:41	3836	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:41	3836	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:41	3836	[DEBUG]	Executed store
2023-10-13	13:31:41	3836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863328','74')
2023-10-13	13:31:41	3836	[DEBUG]	Find the custom field ID
2023-10-13	13:31:41	3836	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:41	3836	[DEBUG]	No custom field ID found
2023-10-13	13:31:41	3836	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:41	3836	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:41	3836	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863328 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:41	3836	[DEBUG]	Store custom available field
2023-10-13	13:31:41	3836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863328,3,'0',1)
2023-10-13	13:31:41	3836	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:41	3836	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:41	3836	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863328 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:41	3836	[DEBUG]	Store custom available field
2023-10-13	13:31:41	3836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863328,6,'choisir la taille',3)
2023-10-13	13:31:41	3836	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:41	3836	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:41	3836	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:41	3836	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:41	3836	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863328 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:41	3836	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:41	3836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863328,8,1)
2023-10-13	13:31:41	3836	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:41	3836	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863328\":[1863328,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863328
2023-10-13	13:31:41	3836	[DEBUG]	Checking category
2023-10-13	13:31:41	3836	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:41	3836	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863328
2023-10-13	13:31:41	3836	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:41	3836	[DEBUG]	Executed store
2023-10-13	13:31:41	3836	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863328','7386')
2023-10-13	13:31:41	3836	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:41	3836	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863328 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:41	3836	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:41	3836	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863328
2023-10-13	13:31:41	3837	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:41	3837	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:41	3837	[DEBUG]	Use field value for field taille
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:41	3837	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:41	3837	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:41	3837	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:41	3837	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:41	3837	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:41	3837	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:41	3837	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:41	3837	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:41	3837	[DEBUG]	Use field value for field published
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:41	3837	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field override
2023-10-13	13:31:41	3837	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:41	3837	[DEBUG]	Use field value for field slug
2023-10-13	13:31:41	3837	[DEBUG]	Process line 3837
2023-10-13	13:31:41	3837	[DEBUG]	Load a row
2023-10-13	13:31:41	3837	[DEBUG]	Processing item: 7612616041921
2023-10-13	13:31:41	3837	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:41	3837	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:41	3837	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6538_4'
2023-10-13	13:31:41	3837	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:41	3837	[DEBUG]	Processing product tax
2023-10-13	13:31:41	3837	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:41	3837	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:41	3837	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:41	3837	[DEBUG]	Query for Product
2023-10-13	13:31:41	3837	[DEBUG]	Executed store
2023-10-13	13:31:41	3837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863328','7612616041921','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:41	3837	[DEBUG]	No parent found
2023-10-13	13:31:41	3837	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863328 AND customfield_value = 'stockable'
2023-10-13	13:31:41	3837	[DEBUG]	Check product language entry
2023-10-13	13:31:41	3837	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863329
2023-10-13	13:31:41	3837	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:41	3837	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7612616041921' AND `virtuemart_product_id` != 1863329
2023-10-13	13:31:41	3837	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:41	3837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863329, '7612616041921')
2023-10-13	13:31:41	3837	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:41	3837	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-support-porte-bagage-montage-oeillet-165mm-acier-unitaire' AND `virtuemart_product_id` != 1863329
2023-10-13	13:31:41	3837	[DEBUG]	Query for ProductLang
2023-10-13	13:31:41	3837	[DEBUG]	Executed store
2023-10-13	13:31:41	3837	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher support porte-bagage montage oeillet 165mm  / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-support-porte-bagage-montage-oeillet-165mm-acier-unitaire' WHERE `virtuemart_product_id` = '1863329'
2023-10-13	13:31:41	3837	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32417_pletscher_support_porte-bagage_montage_oeillet_165mm_.jpg
2023-10-13	13:31:41	3837	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:41	3837	[DEBUG]	Process image file
2023-10-13	13:31:41	3837	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:41	3837	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:41	3837	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32417_pletscher_support_porte-bagage_montage_oeillet_165mm_.jpg
2023-10-13	13:31:41	3837	[DEBUG]	Full name target: bcprisme/32417_pletscher_support_porte-bagage_montage_oeillet_165mm_.jpg
2023-10-13	13:31:42	3837	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:42	3837	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32417_pletscher_support_porte-bagage_montage_oeillet_165mm_.jpg'
2023-10-13	13:31:42	3837	[DEBUG]	Query for Media
2023-10-13	13:31:42	3837	[DEBUG]	Executed store
2023-10-13	13:31:42	3837	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32417_pletscher_support_porte-bagage_montage_oeillet_165mm_.jpg',`file_url_thumb`='bcprisme/32417_pletscher_support_porte-bagage_montage_oeillet_165mm_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13261'
2023-10-13	13:31:42	3837	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:42	3837	[DEBUG]	Executed store
2023-10-13	13:31:42	3837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863329','13261','1')
2023-10-13	13:31:42	3837	[DEBUG]	Store product image relation
2023-10-13	13:31:42	3837	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:42	3837	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863329 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:42	3837	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:42	3837	[DEBUG]	Executed store
2023-10-13	13:31:42	3837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863329','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:42	3837	[DEBUG]	Checking manufacturer
2023-10-13	13:31:42	3837	[DEBUG]	Load a row
2023-10-13	13:31:42	3837	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:42	3837	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:42	3837	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:42	3837	[DEBUG]	Executed store
2023-10-13	13:31:42	3837	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:42	3837	[DEBUG]	Manufacturer exists
2023-10-13	13:31:42	3837	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:42	3837	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:42	3837	[DEBUG]	Executed store
2023-10-13	13:31:42	3837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863329','74')
2023-10-13	13:31:42	3837	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:42	3837	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:42	3837	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863329 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:42	3837	[DEBUG]	Store custom available field
2023-10-13	13:31:42	3837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863329,3,'',1)
2023-10-13	13:31:42	3837	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:42	3837	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:42	3837	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863329 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:42	3837	[DEBUG]	Store custom available field
2023-10-13	13:31:42	3837	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863329,6,'Unitaire',3)
2023-10-13	13:31:42	3837	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:42	3837	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:42	3837	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863328
2023-10-13	13:31:42	3837	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:42	3837	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863328\":[1863328,8,1,\"choisir la taille\"],\"1863329\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863328
2023-10-13	13:31:42	3837	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:42	3837	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863329
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:42	3838	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field taille
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:42	3838	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:42	3838	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:42	3838	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:42	3838	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:42	3838	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:42	3838	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field published
2023-10-13	13:31:42	3838	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:42	3838	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field override
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:42	3838	[DEBUG]	Use field value for field slug
2023-10-13	13:31:42	3838	[DEBUG]	Process line 3838
2023-10-13	13:31:42	3838	[DEBUG]	Load a row
2023-10-13	13:31:42	3838	[DEBUG]	Processing item: A_6539_4
2023-10-13	13:31:42	3838	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:42	3838	[DEBUG]	Processing product tax
2023-10-13	13:31:42	3838	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:42	3838	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:42	3838	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:42	3838	[DEBUG]	Query for Product
2023-10-13	13:31:42	3838	[DEBUG]	Executed store
2023-10-13	13:31:42	3838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6539_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:42	3838	[DEBUG]	Check product language entry
2023-10-13	13:31:42	3838	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863330
2023-10-13	13:31:42	3838	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:42	3838	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6539_4' AND `virtuemart_product_id` != 1863330
2023-10-13	13:31:42	3838	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:42	3838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863330, 'A_6539_4')
2023-10-13	13:31:42	3838	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:42	3838	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-plaque-aubans-pour-frein-disque-reglable-acier' AND `virtuemart_product_id` != 1863330
2023-10-13	13:31:42	3838	[DEBUG]	Query for ProductLang
2023-10-13	13:31:42	3838	[DEBUG]	Executed store
2023-10-13	13:31:42	3838	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 31.31082',`product_name`='Pletscher plaque aubans pour frein disque réglable / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-plaque-aubans-pour-frein-disque-reglable-acier' WHERE `virtuemart_product_id` = '1863330'
2023-10-13	13:31:42	3838	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32418_pletscher_plaque_aubans_pour_frein_disque_reglable.jpg
2023-10-13	13:31:42	3838	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:42	3838	[DEBUG]	Process image file
2023-10-13	13:31:42	3838	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:42	3838	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:42	3838	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32418_pletscher_plaque_aubans_pour_frein_disque_reglable.jpg
2023-10-13	13:31:42	3838	[DEBUG]	Full name target: bcprisme/32418_pletscher_plaque_aubans_pour_frein_disque_reglable.jpg
2023-10-13	13:31:43	3838	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:43	3838	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32418_pletscher_plaque_aubans_pour_frein_disque_reglable.jpg'
2023-10-13	13:31:43	3838	[DEBUG]	Query for Media
2023-10-13	13:31:43	3838	[DEBUG]	Executed store
2023-10-13	13:31:43	3838	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32418_pletscher_plaque_aubans_pour_frein_disque_reglable.jpg',`file_url_thumb`='bcprisme/32418_pletscher_plaque_aubans_pour_frein_disque_reglable.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13262'
2023-10-13	13:31:43	3838	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:43	3838	[DEBUG]	Executed store
2023-10-13	13:31:43	3838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863330','13262','1')
2023-10-13	13:31:43	3838	[DEBUG]	Store product image relation
2023-10-13	13:31:43	3838	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:43	3838	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863330 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:43	3838	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:43	3838	[DEBUG]	Executed store
2023-10-13	13:31:43	3838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863330','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:43	3838	[DEBUG]	Checking manufacturer
2023-10-13	13:31:43	3838	[DEBUG]	Load a row
2023-10-13	13:31:43	3838	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:43	3838	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:43	3838	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:43	3838	[DEBUG]	Executed store
2023-10-13	13:31:43	3838	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:43	3838	[DEBUG]	Manufacturer exists
2023-10-13	13:31:43	3838	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:43	3838	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:43	3838	[DEBUG]	Executed store
2023-10-13	13:31:43	3838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863330','74')
2023-10-13	13:31:43	3838	[DEBUG]	Find the custom field ID
2023-10-13	13:31:43	3838	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:43	3838	[DEBUG]	No custom field ID found
2023-10-13	13:31:43	3838	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:43	3838	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:43	3838	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863330 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:43	3838	[DEBUG]	Store custom available field
2023-10-13	13:31:43	3838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863330,3,'0',1)
2023-10-13	13:31:43	3838	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:43	3838	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:43	3838	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863330 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:43	3838	[DEBUG]	Store custom available field
2023-10-13	13:31:43	3838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863330,6,'choisir la taille',3)
2023-10-13	13:31:43	3838	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:43	3838	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:43	3838	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:43	3838	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:43	3838	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863330 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:43	3838	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:43	3838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863330,8,1)
2023-10-13	13:31:43	3838	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:43	3838	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863330\":[1863330,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863330
2023-10-13	13:31:43	3838	[DEBUG]	Checking category
2023-10-13	13:31:43	3838	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:43	3838	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863330
2023-10-13	13:31:43	3838	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:43	3838	[DEBUG]	Executed store
2023-10-13	13:31:43	3838	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863330','7386')
2023-10-13	13:31:43	3838	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:43	3838	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863330 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:43	3838	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:43	3838	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863330
2023-10-13	13:31:43	3839	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:43	3839	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:43	3839	[DEBUG]	Use field value for field taille
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:43	3839	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:43	3839	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:43	3839	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:43	3839	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:43	3839	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:43	3839	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:43	3839	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:43	3839	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:43	3839	[DEBUG]	Use field value for field published
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:43	3839	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field override
2023-10-13	13:31:43	3839	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:43	3839	[DEBUG]	Use field value for field slug
2023-10-13	13:31:43	3839	[DEBUG]	Process line 3839
2023-10-13	13:31:43	3839	[DEBUG]	Load a row
2023-10-13	13:31:43	3839	[DEBUG]	Processing item: 7612616042935
2023-10-13	13:31:43	3839	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:43	3839	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:43	3839	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6539_4'
2023-10-13	13:31:43	3839	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:43	3839	[DEBUG]	Processing product tax
2023-10-13	13:31:43	3839	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:43	3839	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:43	3839	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:43	3839	[DEBUG]	Query for Product
2023-10-13	13:31:43	3839	[DEBUG]	Executed store
2023-10-13	13:31:43	3839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863330','7612616042935','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:43	3839	[DEBUG]	No parent found
2023-10-13	13:31:43	3839	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863330 AND customfield_value = 'stockable'
2023-10-13	13:31:43	3839	[DEBUG]	Check product language entry
2023-10-13	13:31:43	3839	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863331
2023-10-13	13:31:43	3839	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:43	3839	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7612616042935' AND `virtuemart_product_id` != 1863331
2023-10-13	13:31:43	3839	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:43	3839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863331, '7612616042935')
2023-10-13	13:31:43	3839	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:43	3839	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-plaque-aubans-pour-frein-disque-reglable-acier-unitaire' AND `virtuemart_product_id` != 1863331
2023-10-13	13:31:43	3839	[DEBUG]	Query for ProductLang
2023-10-13	13:31:43	3839	[DEBUG]	Executed store
2023-10-13	13:31:43	3839	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher plaque aubans pour frein disque réglable / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-plaque-aubans-pour-frein-disque-reglable-acier-unitaire' WHERE `virtuemart_product_id` = '1863331'
2023-10-13	13:31:43	3839	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32418_pletscher_plaque_aubans_pour_frein_disque_reglable.jpg
2023-10-13	13:31:43	3839	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:43	3839	[DEBUG]	Process image file
2023-10-13	13:31:43	3839	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:43	3839	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:43	3839	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32418_pletscher_plaque_aubans_pour_frein_disque_reglable.jpg
2023-10-13	13:31:43	3839	[DEBUG]	Full name target: bcprisme/32418_pletscher_plaque_aubans_pour_frein_disque_reglable.jpg
2023-10-13	13:31:44	3839	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:44	3839	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32418_pletscher_plaque_aubans_pour_frein_disque_reglable.jpg'
2023-10-13	13:31:44	3839	[DEBUG]	Query for Media
2023-10-13	13:31:44	3839	[DEBUG]	Executed store
2023-10-13	13:31:44	3839	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32418_pletscher_plaque_aubans_pour_frein_disque_reglable.jpg',`file_url_thumb`='bcprisme/32418_pletscher_plaque_aubans_pour_frein_disque_reglable.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13262'
2023-10-13	13:31:44	3839	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:44	3839	[DEBUG]	Executed store
2023-10-13	13:31:44	3839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863331','13262','1')
2023-10-13	13:31:44	3839	[DEBUG]	Store product image relation
2023-10-13	13:31:44	3839	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:44	3839	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863331 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:44	3839	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:44	3839	[DEBUG]	Executed store
2023-10-13	13:31:44	3839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863331','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:44	3839	[DEBUG]	Checking manufacturer
2023-10-13	13:31:44	3839	[DEBUG]	Load a row
2023-10-13	13:31:44	3839	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:44	3839	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:44	3839	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:44	3839	[DEBUG]	Executed store
2023-10-13	13:31:44	3839	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:44	3839	[DEBUG]	Manufacturer exists
2023-10-13	13:31:44	3839	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:44	3839	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:44	3839	[DEBUG]	Executed store
2023-10-13	13:31:44	3839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863331','74')
2023-10-13	13:31:44	3839	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:44	3839	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:44	3839	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863331 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:44	3839	[DEBUG]	Store custom available field
2023-10-13	13:31:44	3839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863331,3,'',1)
2023-10-13	13:31:44	3839	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:44	3839	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:44	3839	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863331 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:44	3839	[DEBUG]	Store custom available field
2023-10-13	13:31:44	3839	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863331,6,'Unitaire',3)
2023-10-13	13:31:44	3839	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:44	3839	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:44	3839	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863330
2023-10-13	13:31:44	3839	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:44	3839	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863330\":[1863330,8,1,\"choisir la taille\"],\"1863331\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863330
2023-10-13	13:31:44	3839	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:44	3839	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863331
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:44	3840	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field taille
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:44	3840	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:44	3840	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:44	3840	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:44	3840	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:44	3840	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:44	3840	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field published
2023-10-13	13:31:44	3840	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:44	3840	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field override
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:44	3840	[DEBUG]	Use field value for field slug
2023-10-13	13:31:44	3840	[DEBUG]	Process line 3840
2023-10-13	13:31:44	3840	[DEBUG]	Load a row
2023-10-13	13:31:44	3840	[DEBUG]	Processing item: A_6789_1
2023-10-13	13:31:44	3840	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:44	3840	[DEBUG]	Processing product tax
2023-10-13	13:31:44	3840	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:44	3840	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:44	3840	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:44	3840	[DEBUG]	Query for Product
2023-10-13	13:31:44	3840	[DEBUG]	Executed store
2023-10-13	13:31:44	3840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6789_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:44	3840	[DEBUG]	Check product language entry
2023-10-13	13:31:44	3840	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863332
2023-10-13	13:31:44	3840	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:44	3840	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6789_1' AND `virtuemart_product_id` != 1863332
2023-10-13	13:31:44	3840	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:44	3840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863332, 'A_6789_1')
2023-10-13	13:31:44	3840	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:44	3840	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-plaque-de-fixation-pour-panier-lamello-noir' AND `virtuemart_product_id` != 1863332
2023-10-13	13:31:44	3840	[DEBUG]	Query for ProductLang
2023-10-13	13:31:44	3840	[DEBUG]	Executed store
2023-10-13	13:31:44	3840	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 715447',`product_name`='Klickfix Plaque de fixation pour panier LAMELLO / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-plaque-de-fixation-pour-panier-lamello-noir' WHERE `virtuemart_product_id` = '1863332'
2023-10-13	13:31:44	3840	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33025_klick_fix_plaque_de_fixation_pour_panier_lamello.jpg
2023-10-13	13:31:44	3840	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:44	3840	[DEBUG]	Process image file
2023-10-13	13:31:44	3840	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:44	3840	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:44	3840	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33025_klick_fix_plaque_de_fixation_pour_panier_lamello.jpg
2023-10-13	13:31:44	3840	[DEBUG]	Full name target: bcprisme/33025_klick_fix_plaque_de_fixation_pour_panier_lamello.jpg
2023-10-13	13:31:45	3840	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:45	3840	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33025_klick_fix_plaque_de_fixation_pour_panier_lamello.jpg'
2023-10-13	13:31:45	3840	[DEBUG]	Query for Media
2023-10-13	13:31:45	3840	[DEBUG]	Executed store
2023-10-13	13:31:45	3840	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33025_klick_fix_plaque_de_fixation_pour_panier_lamello.jpg',`file_url_thumb`='bcprisme/33025_klick_fix_plaque_de_fixation_pour_panier_lamello.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13263'
2023-10-13	13:31:45	3840	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:45	3840	[DEBUG]	Executed store
2023-10-13	13:31:45	3840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863332','13263','1')
2023-10-13	13:31:45	3840	[DEBUG]	Store product image relation
2023-10-13	13:31:45	3840	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:45	3840	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863332 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:45	3840	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:45	3840	[DEBUG]	Executed store
2023-10-13	13:31:45	3840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863332','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:45	3840	[DEBUG]	Checking manufacturer
2023-10-13	13:31:45	3840	[DEBUG]	Load a row
2023-10-13	13:31:45	3840	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:45	3840	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:45	3840	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:45	3840	[DEBUG]	Executed store
2023-10-13	13:31:45	3840	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:45	3840	[DEBUG]	Manufacturer exists
2023-10-13	13:31:45	3840	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:31:45	3840	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:45	3840	[DEBUG]	Executed store
2023-10-13	13:31:45	3840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863332','200')
2023-10-13	13:31:45	3840	[DEBUG]	Find the custom field ID
2023-10-13	13:31:45	3840	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:45	3840	[DEBUG]	No custom field ID found
2023-10-13	13:31:45	3840	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:45	3840	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:45	3840	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863332 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:45	3840	[DEBUG]	Store custom available field
2023-10-13	13:31:45	3840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863332,3,'0',1)
2023-10-13	13:31:45	3840	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:45	3840	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:45	3840	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863332 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:45	3840	[DEBUG]	Store custom available field
2023-10-13	13:31:45	3840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863332,6,'choisir la taille',3)
2023-10-13	13:31:45	3840	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:45	3840	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:45	3840	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:45	3840	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:45	3840	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863332 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:45	3840	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:45	3840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863332,8,1)
2023-10-13	13:31:45	3840	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:45	3840	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863332\":[1863332,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863332
2023-10-13	13:31:45	3840	[DEBUG]	Checking category
2023-10-13	13:31:45	3840	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:45	3840	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863332
2023-10-13	13:31:45	3840	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:45	3840	[DEBUG]	Executed store
2023-10-13	13:31:45	3840	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863332','7386')
2023-10-13	13:31:45	3840	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:45	3840	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863332 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:45	3840	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:45	3840	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863332
2023-10-13	13:31:45	3841	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:45	3841	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:45	3841	[DEBUG]	Use field value for field taille
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:45	3841	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:45	3841	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:45	3841	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:45	3841	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:45	3841	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:45	3841	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:45	3841	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:45	3841	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:45	3841	[DEBUG]	Use field value for field published
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:45	3841	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field override
2023-10-13	13:31:45	3841	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:45	3841	[DEBUG]	Use field value for field slug
2023-10-13	13:31:45	3841	[DEBUG]	Process line 3841
2023-10-13	13:31:45	3841	[DEBUG]	Load a row
2023-10-13	13:31:45	3841	[DEBUG]	Processing item: 1000000109542
2023-10-13	13:31:45	3841	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:45	3841	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:45	3841	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6789_1'
2023-10-13	13:31:45	3841	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:45	3841	[DEBUG]	Processing product tax
2023-10-13	13:31:45	3841	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:45	3841	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:45	3841	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:45	3841	[DEBUG]	Query for Product
2023-10-13	13:31:45	3841	[DEBUG]	Executed store
2023-10-13	13:31:45	3841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863332','1000000109542','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:45	3841	[DEBUG]	No parent found
2023-10-13	13:31:45	3841	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863332 AND customfield_value = 'stockable'
2023-10-13	13:31:45	3841	[DEBUG]	Check product language entry
2023-10-13	13:31:45	3841	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863333
2023-10-13	13:31:45	3841	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:45	3841	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000109542' AND `virtuemart_product_id` != 1863333
2023-10-13	13:31:45	3841	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:45	3841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863333, '1000000109542')
2023-10-13	13:31:45	3841	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:45	3841	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-plaque-de-fixation-pour-panier-lamello-noir-all' AND `virtuemart_product_id` != 1863333
2023-10-13	13:31:45	3841	[DEBUG]	Query for ProductLang
2023-10-13	13:31:45	3841	[DEBUG]	Executed store
2023-10-13	13:31:45	3841	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix Plaque de fixation pour panier LAMELLO / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-plaque-de-fixation-pour-panier-lamello-noir-all' WHERE `virtuemart_product_id` = '1863333'
2023-10-13	13:31:45	3841	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33025_klick_fix_plaque_de_fixation_pour_panier_lamello.jpg
2023-10-13	13:31:45	3841	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:45	3841	[DEBUG]	Process image file
2023-10-13	13:31:45	3841	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:45	3841	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:45	3841	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33025_klick_fix_plaque_de_fixation_pour_panier_lamello.jpg
2023-10-13	13:31:45	3841	[DEBUG]	Full name target: bcprisme/33025_klick_fix_plaque_de_fixation_pour_panier_lamello.jpg
2023-10-13	13:31:46	3841	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:46	3841	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33025_klick_fix_plaque_de_fixation_pour_panier_lamello.jpg'
2023-10-13	13:31:46	3841	[DEBUG]	Query for Media
2023-10-13	13:31:46	3841	[DEBUG]	Executed store
2023-10-13	13:31:46	3841	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33025_klick_fix_plaque_de_fixation_pour_panier_lamello.jpg',`file_url_thumb`='bcprisme/33025_klick_fix_plaque_de_fixation_pour_panier_lamello.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '13263'
2023-10-13	13:31:46	3841	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:46	3841	[DEBUG]	Executed store
2023-10-13	13:31:46	3841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863333','13263','1')
2023-10-13	13:31:46	3841	[DEBUG]	Store product image relation
2023-10-13	13:31:46	3841	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:46	3841	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863333 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:46	3841	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:46	3841	[DEBUG]	Executed store
2023-10-13	13:31:46	3841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863333','0','11.0492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:46	3841	[DEBUG]	Checking manufacturer
2023-10-13	13:31:46	3841	[DEBUG]	Load a row
2023-10-13	13:31:46	3841	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:46	3841	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:46	3841	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:46	3841	[DEBUG]	Executed store
2023-10-13	13:31:46	3841	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:46	3841	[DEBUG]	Manufacturer exists
2023-10-13	13:31:46	3841	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:31:46	3841	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:46	3841	[DEBUG]	Executed store
2023-10-13	13:31:46	3841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863333','200')
2023-10-13	13:31:46	3841	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:46	3841	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:46	3841	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863333 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:46	3841	[DEBUG]	Store custom available field
2023-10-13	13:31:46	3841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863333,3,'',1)
2023-10-13	13:31:46	3841	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:46	3841	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:31:46	3841	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863333 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:46	3841	[DEBUG]	Store custom available field
2023-10-13	13:31:46	3841	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863333,6,'All',3)
2023-10-13	13:31:46	3841	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:46	3841	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:46	3841	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863332
2023-10-13	13:31:46	3841	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:46	3841	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863332\":[1863332,8,1,\"choisir la taille\"],\"1863333\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863332
2023-10-13	13:31:46	3841	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:46	3841	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863333
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:46	3842	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field taille
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:46	3842	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:46	3842	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:46	3842	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:46	3842	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:46	3842	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:46	3842	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field published
2023-10-13	13:31:46	3842	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:46	3842	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field override
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:46	3842	[DEBUG]	Use field value for field slug
2023-10-13	13:31:46	3842	[DEBUG]	Process line 3842
2023-10-13	13:31:46	3842	[DEBUG]	Load a row
2023-10-13	13:31:46	3842	[DEBUG]	Processing item: A_7513_1
2023-10-13	13:31:46	3842	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:46	3842	[DEBUG]	Processing product tax
2023-10-13	13:31:46	3842	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:46	3842	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:46	3842	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:46	3842	[DEBUG]	Query for Product
2023-10-13	13:31:46	3842	[DEBUG]	Executed store
2023-10-13	13:31:46	3842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7513_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:46	3842	[DEBUG]	Check product language entry
2023-10-13	13:31:46	3842	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863334
2023-10-13	13:31:46	3842	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:46	3842	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7513_1' AND `virtuemart_product_id` != 1863334
2023-10-13	13:31:46	3842	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:46	3842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863334, 'A_7513_1')
2023-10-13	13:31:46	3842	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:46	3842	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bob-porte-bagage-montage-sur-tige-de-selle-mtb-orion-tack-noir' AND `virtuemart_product_id` != 1863334
2023-10-13	13:31:46	3842	[DEBUG]	Query for ProductLang
2023-10-13	13:31:46	3842	[DEBUG]	Executed store
2023-10-13	13:31:46	3842	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 1331sw',`product_name`='BOB Porte-bagage montage sur tige de selle MTB Orion-Tack  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bob-porte-bagage-montage-sur-tige-de-selle-mtb-orion-tack-noir' WHERE `virtuemart_product_id` = '1863334'
2023-10-13	13:31:46	3842	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34910_porte-bagage_montage_sur_tige_de_selle_mtb_orion-tack_.jpg
2023-10-13	13:31:46	3842	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:46	3842	[DEBUG]	Process image file
2023-10-13	13:31:46	3842	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:46	3842	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:46	3842	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34910_porte-bagage_montage_sur_tige_de_selle_mtb_orion-tack_.jpg
2023-10-13	13:31:46	3842	[DEBUG]	Full name target: bcprisme/34910_porte-bagage_montage_sur_tige_de_selle_mtb_orion-tack_.jpg
2023-10-13	13:31:47	3842	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:47	3842	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34910_porte-bagage_montage_sur_tige_de_selle_mtb_orion-tack_.jpg'
2023-10-13	13:31:47	3842	[DEBUG]	Query for Media
2023-10-13	13:31:47	3842	[DEBUG]	Executed store
2023-10-13	13:31:47	3842	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34910_porte-bagage_montage_sur_tige_de_selle_mtb_orion-tack_.jpg',`file_url_thumb`='bcprisme/34910_porte-bagage_montage_sur_tige_de_selle_mtb_orion-tack_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '266897'
2023-10-13	13:31:47	3842	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:47	3842	[DEBUG]	Executed store
2023-10-13	13:31:47	3842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863334','266897','1')
2023-10-13	13:31:47	3842	[DEBUG]	Store product image relation
2023-10-13	13:31:47	3842	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:47	3842	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863334 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:47	3842	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:47	3842	[DEBUG]	Executed store
2023-10-13	13:31:47	3842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863334','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:47	3842	[DEBUG]	Checking manufacturer
2023-10-13	13:31:47	3842	[DEBUG]	Load a row
2023-10-13	13:31:47	3842	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:47	3842	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '225'
2023-10-13	13:31:47	3842	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:47	3842	[DEBUG]	Executed store
2023-10-13	13:31:47	3842	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='168',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='168' WHERE `virtuemart_manufacturer_id` = '225'
2023-10-13	13:31:47	3842	[DEBUG]	Manufacturer exists
2023-10-13	13:31:47	3842	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 225
2023-10-13	13:31:47	3842	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:47	3842	[DEBUG]	Executed store
2023-10-13	13:31:47	3842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863334','225')
2023-10-13	13:31:47	3842	[DEBUG]	Find the custom field ID
2023-10-13	13:31:47	3842	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:47	3842	[DEBUG]	No custom field ID found
2023-10-13	13:31:47	3842	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:47	3842	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:47	3842	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863334 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:47	3842	[DEBUG]	Store custom available field
2023-10-13	13:31:47	3842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863334,3,'0',1)
2023-10-13	13:31:47	3842	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:47	3842	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:47	3842	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863334 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:47	3842	[DEBUG]	Store custom available field
2023-10-13	13:31:47	3842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863334,6,'choisir la taille',3)
2023-10-13	13:31:47	3842	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:47	3842	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:47	3842	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:47	3842	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:47	3842	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863334 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:47	3842	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:47	3842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863334,8,1)
2023-10-13	13:31:47	3842	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:47	3842	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863334\":[1863334,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863334
2023-10-13	13:31:47	3842	[DEBUG]	Checking category
2023-10-13	13:31:47	3842	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:47	3842	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863334
2023-10-13	13:31:47	3842	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:47	3842	[DEBUG]	Executed store
2023-10-13	13:31:47	3842	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863334','7386')
2023-10-13	13:31:47	3842	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:47	3842	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863334 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:47	3842	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:47	3842	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863334
2023-10-13	13:31:47	3843	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:47	3843	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:47	3843	[DEBUG]	Use field value for field taille
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:47	3843	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:47	3843	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:47	3843	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:47	3843	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:47	3843	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:47	3843	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:47	3843	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:47	3843	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:47	3843	[DEBUG]	Use field value for field published
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:47	3843	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field override
2023-10-13	13:31:47	3843	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:47	3843	[DEBUG]	Use field value for field slug
2023-10-13	13:31:47	3843	[DEBUG]	Process line 3843
2023-10-13	13:31:47	3843	[DEBUG]	Load a row
2023-10-13	13:31:47	3843	[DEBUG]	Processing item: 1000000125788
2023-10-13	13:31:47	3843	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:47	3843	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:47	3843	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7513_1'
2023-10-13	13:31:47	3843	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:47	3843	[DEBUG]	Processing product tax
2023-10-13	13:31:47	3843	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:47	3843	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:47	3843	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:47	3843	[DEBUG]	Query for Product
2023-10-13	13:31:47	3843	[DEBUG]	Executed store
2023-10-13	13:31:47	3843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863334','1000000125788','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:47	3843	[DEBUG]	No parent found
2023-10-13	13:31:47	3843	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863334 AND customfield_value = 'stockable'
2023-10-13	13:31:47	3843	[DEBUG]	Check product language entry
2023-10-13	13:31:47	3843	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863335
2023-10-13	13:31:47	3843	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:47	3843	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125788' AND `virtuemart_product_id` != 1863335
2023-10-13	13:31:47	3843	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:47	3843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863335, '1000000125788')
2023-10-13	13:31:47	3843	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:47	3843	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bob-porte-bagage-montage-sur-tige-de-selle-mtb-orion-tack-noir-unitaire' AND `virtuemart_product_id` != 1863335
2023-10-13	13:31:47	3843	[DEBUG]	Query for ProductLang
2023-10-13	13:31:47	3843	[DEBUG]	Executed store
2023-10-13	13:31:47	3843	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BOB Porte-bagage montage sur tige de selle MTB Orion-Tack  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bob-porte-bagage-montage-sur-tige-de-selle-mtb-orion-tack-noir-unitaire' WHERE `virtuemart_product_id` = '1863335'
2023-10-13	13:31:47	3843	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34910_porte-bagage_montage_sur_tige_de_selle_mtb_orion-tack_.jpg
2023-10-13	13:31:47	3843	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:47	3843	[DEBUG]	Process image file
2023-10-13	13:31:47	3843	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:47	3843	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:47	3843	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34910_porte-bagage_montage_sur_tige_de_selle_mtb_orion-tack_.jpg
2023-10-13	13:31:47	3843	[DEBUG]	Full name target: bcprisme/34910_porte-bagage_montage_sur_tige_de_selle_mtb_orion-tack_.jpg
2023-10-13	13:31:48	3843	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:48	3843	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34910_porte-bagage_montage_sur_tige_de_selle_mtb_orion-tack_.jpg'
2023-10-13	13:31:48	3843	[DEBUG]	Query for Media
2023-10-13	13:31:48	3843	[DEBUG]	Executed store
2023-10-13	13:31:48	3843	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34910_porte-bagage_montage_sur_tige_de_selle_mtb_orion-tack_.jpg',`file_url_thumb`='bcprisme/34910_porte-bagage_montage_sur_tige_de_selle_mtb_orion-tack_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '266897'
2023-10-13	13:31:48	3843	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:48	3843	[DEBUG]	Executed store
2023-10-13	13:31:48	3843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863335','266897','1')
2023-10-13	13:31:48	3843	[DEBUG]	Store product image relation
2023-10-13	13:31:48	3843	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:48	3843	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863335 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:48	3843	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:48	3843	[DEBUG]	Executed store
2023-10-13	13:31:48	3843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863335','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:48	3843	[DEBUG]	Checking manufacturer
2023-10-13	13:31:48	3843	[DEBUG]	Load a row
2023-10-13	13:31:48	3843	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:48	3843	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '225'
2023-10-13	13:31:48	3843	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:48	3843	[DEBUG]	Executed store
2023-10-13	13:31:48	3843	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='168',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='168' WHERE `virtuemart_manufacturer_id` = '225'
2023-10-13	13:31:48	3843	[DEBUG]	Manufacturer exists
2023-10-13	13:31:48	3843	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 225
2023-10-13	13:31:48	3843	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:48	3843	[DEBUG]	Executed store
2023-10-13	13:31:48	3843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863335','225')
2023-10-13	13:31:48	3843	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:48	3843	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:48	3843	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863335 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:48	3843	[DEBUG]	Store custom available field
2023-10-13	13:31:48	3843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863335,3,'',1)
2023-10-13	13:31:48	3843	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:48	3843	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:48	3843	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863335 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:48	3843	[DEBUG]	Store custom available field
2023-10-13	13:31:48	3843	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863335,6,'Unitaire',3)
2023-10-13	13:31:48	3843	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:48	3843	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:48	3843	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863334
2023-10-13	13:31:48	3843	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:48	3843	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863334\":[1863334,8,1,\"choisir la taille\"],\"1863335\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863334
2023-10-13	13:31:48	3843	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:48	3843	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863335
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:48	3844	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field taille
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:48	3844	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:48	3844	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:48	3844	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:48	3844	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:48	3844	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:48	3844	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field published
2023-10-13	13:31:48	3844	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:48	3844	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field override
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:48	3844	[DEBUG]	Use field value for field slug
2023-10-13	13:31:48	3844	[DEBUG]	Process line 3844
2023-10-13	13:31:48	3844	[DEBUG]	Load a row
2023-10-13	13:31:48	3844	[DEBUG]	Processing item: A_7514_1
2023-10-13	13:31:48	3844	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:48	3844	[DEBUG]	Processing product tax
2023-10-13	13:31:48	3844	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:48	3844	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:48	3844	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:48	3844	[DEBUG]	Query for Product
2023-10-13	13:31:48	3844	[DEBUG]	Executed store
2023-10-13	13:31:48	3844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7514_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:48	3844	[DEBUG]	Check product language entry
2023-10-13	13:31:48	3844	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863336
2023-10-13	13:31:48	3844	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:48	3844	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7514_1' AND `virtuemart_product_id` != 1863336
2023-10-13	13:31:48	3844	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:48	3844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863336, 'A_7514_1')
2023-10-13	13:31:48	3844	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:48	3844	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-porte-bagage-topeak-mtx-beamrack-type-a-max-9kg-noir' AND `virtuemart_product_id` != 1863336
2023-10-13	13:31:48	3844	[DEBUG]	Query for ProductLang
2023-10-13	13:31:48	3844	[DEBUG]	Executed store
2023-10-13	13:31:48	3844	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 490.302',`product_name`='Topeak Porte-bagage TOPEAK MTX BeamRack type A Max 9kg / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-porte-bagage-topeak-mtx-beamrack-type-a-max-9kg-noir' WHERE `virtuemart_product_id` = '1863336'
2023-10-13	13:31:48	3844	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34913_porte-bagage_topeak_mtx_beamrack_type_a_max_9kg.jpg
2023-10-13	13:31:48	3844	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:48	3844	[DEBUG]	Process image file
2023-10-13	13:31:48	3844	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:48	3844	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:48	3844	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34913_porte-bagage_topeak_mtx_beamrack_type_a_max_9kg.jpg
2023-10-13	13:31:48	3844	[DEBUG]	Full name target: bcprisme/34913_porte-bagage_topeak_mtx_beamrack_type_a_max_9kg.jpg
2023-10-13	13:31:49	3844	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:49	3844	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34913_porte-bagage_topeak_mtx_beamrack_type_a_max_9kg.jpg'
2023-10-13	13:31:49	3844	[DEBUG]	Query for Media
2023-10-13	13:31:49	3844	[DEBUG]	Executed store
2023-10-13	13:31:49	3844	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34913_porte-bagage_topeak_mtx_beamrack_type_a_max_9kg.jpg',`file_url_thumb`='bcprisme/34913_porte-bagage_topeak_mtx_beamrack_type_a_max_9kg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '266899'
2023-10-13	13:31:49	3844	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:49	3844	[DEBUG]	Executed store
2023-10-13	13:31:49	3844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863336','266899','1')
2023-10-13	13:31:49	3844	[DEBUG]	Store product image relation
2023-10-13	13:31:49	3844	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:49	3844	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863336 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:49	3844	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:49	3844	[DEBUG]	Executed store
2023-10-13	13:31:49	3844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863336','0','50.1392757660167','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:49	3844	[DEBUG]	Checking manufacturer
2023-10-13	13:31:49	3844	[DEBUG]	Load a row
2023-10-13	13:31:49	3844	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:49	3844	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:31:49	3844	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:49	3844	[DEBUG]	Executed store
2023-10-13	13:31:49	3844	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:31:49	3844	[DEBUG]	Manufacturer exists
2023-10-13	13:31:49	3844	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:31:49	3844	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:49	3844	[DEBUG]	Executed store
2023-10-13	13:31:49	3844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863336','149')
2023-10-13	13:31:49	3844	[DEBUG]	Find the custom field ID
2023-10-13	13:31:49	3844	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:49	3844	[DEBUG]	No custom field ID found
2023-10-13	13:31:49	3844	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:49	3844	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:49	3844	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863336 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:49	3844	[DEBUG]	Store custom available field
2023-10-13	13:31:49	3844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863336,3,'0',1)
2023-10-13	13:31:49	3844	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:49	3844	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:49	3844	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863336 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:49	3844	[DEBUG]	Store custom available field
2023-10-13	13:31:49	3844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863336,6,'choisir la taille',3)
2023-10-13	13:31:49	3844	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:49	3844	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:49	3844	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:49	3844	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:49	3844	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863336 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:49	3844	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:49	3844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863336,8,1)
2023-10-13	13:31:49	3844	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:49	3844	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863336\":[1863336,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863336
2023-10-13	13:31:49	3844	[DEBUG]	Checking category
2023-10-13	13:31:49	3844	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:49	3844	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863336
2023-10-13	13:31:49	3844	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:49	3844	[DEBUG]	Executed store
2023-10-13	13:31:49	3844	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863336','7386')
2023-10-13	13:31:49	3844	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:49	3844	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863336 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:49	3844	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:49	3844	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863336
2023-10-13	13:31:49	3845	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:49	3845	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:49	3845	[DEBUG]	Use field value for field taille
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:49	3845	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:49	3845	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:49	3845	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:49	3845	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:49	3845	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:49	3845	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:49	3845	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:49	3845	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:49	3845	[DEBUG]	Use field value for field published
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:49	3845	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field override
2023-10-13	13:31:49	3845	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:49	3845	[DEBUG]	Use field value for field slug
2023-10-13	13:31:49	3845	[DEBUG]	Process line 3845
2023-10-13	13:31:49	3845	[DEBUG]	Load a row
2023-10-13	13:31:49	3845	[DEBUG]	Processing item: 768661115005
2023-10-13	13:31:49	3845	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:49	3845	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:49	3845	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7514_1'
2023-10-13	13:31:49	3845	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:49	3845	[DEBUG]	Processing product tax
2023-10-13	13:31:49	3845	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:49	3845	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:49	3845	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:49	3845	[DEBUG]	Query for Product
2023-10-13	13:31:49	3845	[DEBUG]	Executed store
2023-10-13	13:31:49	3845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863336','768661115005','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:49	3845	[DEBUG]	No parent found
2023-10-13	13:31:49	3845	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863336 AND customfield_value = 'stockable'
2023-10-13	13:31:49	3845	[DEBUG]	Check product language entry
2023-10-13	13:31:49	3845	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863337
2023-10-13	13:31:49	3845	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:49	3845	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '768661115005' AND `virtuemart_product_id` != 1863337
2023-10-13	13:31:49	3845	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:49	3845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863337, '768661115005')
2023-10-13	13:31:49	3845	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:49	3845	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-porte-bagage-topeak-mtx-beamrack-type-a-max-9kg-noir-unitaire' AND `virtuemart_product_id` != 1863337
2023-10-13	13:31:49	3845	[DEBUG]	Query for ProductLang
2023-10-13	13:31:49	3845	[DEBUG]	Executed store
2023-10-13	13:31:49	3845	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Topeak Porte-bagage TOPEAK MTX BeamRack type A Max 9kg / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-porte-bagage-topeak-mtx-beamrack-type-a-max-9kg-noir-unitaire' WHERE `virtuemart_product_id` = '1863337'
2023-10-13	13:31:49	3845	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34913_porte-bagage_topeak_mtx_beamrack_type_a_max_9kg.jpg
2023-10-13	13:31:49	3845	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:49	3845	[DEBUG]	Process image file
2023-10-13	13:31:49	3845	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:49	3845	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:49	3845	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34913_porte-bagage_topeak_mtx_beamrack_type_a_max_9kg.jpg
2023-10-13	13:31:49	3845	[DEBUG]	Full name target: bcprisme/34913_porte-bagage_topeak_mtx_beamrack_type_a_max_9kg.jpg
2023-10-13	13:31:50	3845	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:50	3845	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34913_porte-bagage_topeak_mtx_beamrack_type_a_max_9kg.jpg'
2023-10-13	13:31:50	3845	[DEBUG]	Query for Media
2023-10-13	13:31:50	3845	[DEBUG]	Executed store
2023-10-13	13:31:50	3845	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34913_porte-bagage_topeak_mtx_beamrack_type_a_max_9kg.jpg',`file_url_thumb`='bcprisme/34913_porte-bagage_topeak_mtx_beamrack_type_a_max_9kg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '266899'
2023-10-13	13:31:50	3845	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:50	3845	[DEBUG]	Executed store
2023-10-13	13:31:50	3845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863337','266899','1')
2023-10-13	13:31:50	3845	[DEBUG]	Store product image relation
2023-10-13	13:31:50	3845	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:50	3845	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863337 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:50	3845	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:50	3845	[DEBUG]	Executed store
2023-10-13	13:31:50	3845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863337','0','50.1392757660167','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:50	3845	[DEBUG]	Checking manufacturer
2023-10-13	13:31:50	3845	[DEBUG]	Load a row
2023-10-13	13:31:50	3845	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:50	3845	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:31:50	3845	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:50	3845	[DEBUG]	Executed store
2023-10-13	13:31:50	3845	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:31:50	3845	[DEBUG]	Manufacturer exists
2023-10-13	13:31:50	3845	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:31:50	3845	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:50	3845	[DEBUG]	Executed store
2023-10-13	13:31:50	3845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863337','149')
2023-10-13	13:31:50	3845	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:50	3845	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:50	3845	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863337 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:50	3845	[DEBUG]	Store custom available field
2023-10-13	13:31:50	3845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863337,3,'',1)
2023-10-13	13:31:50	3845	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:50	3845	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:50	3845	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863337 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:50	3845	[DEBUG]	Store custom available field
2023-10-13	13:31:50	3845	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863337,6,'Unitaire',3)
2023-10-13	13:31:50	3845	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:50	3845	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:50	3845	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863336
2023-10-13	13:31:50	3845	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:50	3845	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863336\":[1863336,8,1,\"choisir la taille\"],\"1863337\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863336
2023-10-13	13:31:50	3845	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:50	3845	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863337
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:50	3846	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field taille
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:50	3846	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:50	3846	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:50	3846	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:50	3846	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:50	3846	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:50	3846	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:50	3846	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field published
2023-10-13	13:31:50	3846	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:50	3846	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field override
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:50	3846	[DEBUG]	Use field value for field slug
2023-10-13	13:31:50	3846	[DEBUG]	Process line 3846
2023-10-13	13:31:50	3846	[DEBUG]	Load a row
2023-10-13	13:31:50	3846	[DEBUG]	Processing item: A_7848_1
2023-10-13	13:31:50	3846	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:50	3846	[DEBUG]	Processing product tax
2023-10-13	13:31:50	3846	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:50	3846	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:50	3846	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:50	3846	[DEBUG]	Query for Product
2023-10-13	13:31:50	3846	[DEBUG]	Executed store
2023-10-13	13:31:50	3846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7848_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:50	3846	[DEBUG]	Check product language entry
2023-10-13	13:31:50	3846	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863338
2023-10-13	13:31:50	3846	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:50	3846	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7848_1' AND `virtuemart_product_id` != 1863338
2023-10-13	13:31:50	3846	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:50	3846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863338, 'A_7848_1')
2023-10-13	13:31:50	3846	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:50	3846	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-prolongateur-adaptateur-de-cintre-klick-fix-25mm-noir' AND `virtuemart_product_id` != 1863338
2023-10-13	13:31:50	3846	[DEBUG]	Query for ProductLang
2023-10-13	13:31:50	3846	[DEBUG]	Executed store
2023-10-13	13:31:50	3846	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 480.003.005',`product_name`='KLICKfix Prolongateur adaptateur de cintre Klick-Fix 25mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-prolongateur-adaptateur-de-cintre-klick-fix-25mm-noir' WHERE `virtuemart_product_id` = '1863338'
2023-10-13	13:31:50	3846	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36246_prolongateur_adaptateur_de_cintre_klick-fix_25mm.jpg has not been found.
2023-10-13	13:31:50	3846	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:50	3846	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863338 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:50	3846	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:50	3846	[DEBUG]	Executed store
2023-10-13	13:31:50	3846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863338','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:50	3846	[DEBUG]	Checking manufacturer
2023-10-13	13:31:50	3846	[DEBUG]	Load a row
2023-10-13	13:31:50	3846	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:50	3846	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:50	3846	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:50	3846	[DEBUG]	Executed store
2023-10-13	13:31:50	3846	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:50	3846	[DEBUG]	Manufacturer exists
2023-10-13	13:31:50	3846	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:31:50	3846	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:50	3846	[DEBUG]	Executed store
2023-10-13	13:31:50	3846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863338','146')
2023-10-13	13:31:50	3846	[DEBUG]	Find the custom field ID
2023-10-13	13:31:50	3846	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:50	3846	[DEBUG]	No custom field ID found
2023-10-13	13:31:50	3846	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:50	3846	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:50	3846	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863338 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:50	3846	[DEBUG]	Store custom available field
2023-10-13	13:31:50	3846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863338,3,'0',1)
2023-10-13	13:31:50	3846	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:50	3846	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:50	3846	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863338 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:50	3846	[DEBUG]	Store custom available field
2023-10-13	13:31:50	3846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863338,6,'choisir la taille',3)
2023-10-13	13:31:50	3846	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:50	3846	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:50	3846	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:50	3846	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:50	3846	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863338 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:50	3846	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:50	3846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863338,8,1)
2023-10-13	13:31:50	3846	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:50	3846	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863338\":[1863338,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863338
2023-10-13	13:31:50	3846	[DEBUG]	Checking category
2023-10-13	13:31:50	3846	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:50	3846	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863338
2023-10-13	13:31:50	3846	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:50	3846	[DEBUG]	Executed store
2023-10-13	13:31:50	3846	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863338','7386')
2023-10-13	13:31:50	3846	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:50	3846	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863338 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:50	3846	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:50	3846	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863338
2023-10-13	13:31:50	3847	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:50	3847	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:50	3847	[DEBUG]	Use field value for field taille
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:50	3847	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:50	3847	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:50	3847	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:50	3847	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:50	3847	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:50	3847	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:50	3847	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:50	3847	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:50	3847	[DEBUG]	Use field value for field published
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:50	3847	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field override
2023-10-13	13:31:50	3847	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:50	3847	[DEBUG]	Use field value for field slug
2023-10-13	13:31:50	3847	[DEBUG]	Process line 3847
2023-10-13	13:31:50	3847	[DEBUG]	Load a row
2023-10-13	13:31:50	3847	[DEBUG]	Processing item: 4030572103867
2023-10-13	13:31:50	3847	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:50	3847	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:50	3847	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7848_1'
2023-10-13	13:31:50	3847	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:50	3847	[DEBUG]	Processing product tax
2023-10-13	13:31:50	3847	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:50	3847	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:50	3847	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:50	3847	[DEBUG]	Query for Product
2023-10-13	13:31:50	3847	[DEBUG]	Executed store
2023-10-13	13:31:50	3847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863338','4030572103867','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:50	3847	[DEBUG]	No parent found
2023-10-13	13:31:50	3847	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863338 AND customfield_value = 'stockable'
2023-10-13	13:31:50	3847	[DEBUG]	Check product language entry
2023-10-13	13:31:50	3847	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863339
2023-10-13	13:31:50	3847	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:50	3847	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572103867' AND `virtuemart_product_id` != 1863339
2023-10-13	13:31:50	3847	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:50	3847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863339, '4030572103867')
2023-10-13	13:31:50	3847	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:50	3847	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-prolongateur-adaptateur-de-cintre-klick-fix-25mm-noir-all' AND `virtuemart_product_id` != 1863339
2023-10-13	13:31:50	3847	[DEBUG]	Query for ProductLang
2023-10-13	13:31:50	3847	[DEBUG]	Executed store
2023-10-13	13:31:50	3847	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KLICKfix Prolongateur adaptateur de cintre Klick-Fix 25mm / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-prolongateur-adaptateur-de-cintre-klick-fix-25mm-noir-all' WHERE `virtuemart_product_id` = '1863339'
2023-10-13	13:31:50	3847	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36246_prolongateur_adaptateur_de_cintre_klick-fix_25mm.jpg has not been found.
2023-10-13	13:31:50	3847	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:50	3847	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863339 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:50	3847	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:50	3847	[DEBUG]	Executed store
2023-10-13	13:31:50	3847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863339','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:50	3847	[DEBUG]	Checking manufacturer
2023-10-13	13:31:50	3847	[DEBUG]	Load a row
2023-10-13	13:31:50	3847	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:50	3847	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:50	3847	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:50	3847	[DEBUG]	Executed store
2023-10-13	13:31:50	3847	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33513746982' WHERE `virtuemart_manufacturer_id` = '146'
2023-10-13	13:31:50	3847	[DEBUG]	Manufacturer exists
2023-10-13	13:31:50	3847	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 146
2023-10-13	13:31:50	3847	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:50	3847	[DEBUG]	Executed store
2023-10-13	13:31:50	3847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863339','146')
2023-10-13	13:31:50	3847	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:50	3847	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:50	3847	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863339 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:50	3847	[DEBUG]	Store custom available field
2023-10-13	13:31:50	3847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863339,3,'',1)
2023-10-13	13:31:50	3847	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:50	3847	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:31:50	3847	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863339 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:50	3847	[DEBUG]	Store custom available field
2023-10-13	13:31:50	3847	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863339,6,'All',3)
2023-10-13	13:31:50	3847	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:50	3847	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:50	3847	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863338
2023-10-13	13:31:50	3847	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:50	3847	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863338\":[1863338,8,1,\"choisir la taille\"],\"1863339\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863338
2023-10-13	13:31:50	3847	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:50	3847	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863339
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:50	3848	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field taille
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:50	3848	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:50	3848	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:50	3848	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:50	3848	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:50	3848	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:50	3848	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field published
2023-10-13	13:31:50	3848	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:50	3848	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field override
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:50	3848	[DEBUG]	Use field value for field slug
2023-10-13	13:31:50	3848	[DEBUG]	Process line 3848
2023-10-13	13:31:50	3848	[DEBUG]	Load a row
2023-10-13	13:31:50	3848	[DEBUG]	Processing item: A_8075_1
2023-10-13	13:31:50	3848	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:50	3848	[DEBUG]	Processing product tax
2023-10-13	13:31:50	3848	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:50	3848	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:50	3848	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:50	3848	[DEBUG]	Query for Product
2023-10-13	13:31:50	3848	[DEBUG]	Executed store
2023-10-13	13:31:50	3848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8075_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:50	3848	[DEBUG]	Check product language entry
2023-10-13	13:31:50	3848	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863340
2023-10-13	13:31:50	3848	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:50	3848	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8075_1' AND `virtuemart_product_id` != 1863340
2023-10-13	13:31:50	3848	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:50	3848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863340, 'A_8075_1')
2023-10-13	13:31:50	3848	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:50	3848	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-set-de-distance-e-90-noir' AND `virtuemart_product_id` != 1863340
2023-10-13	13:31:50	3848	[DEBUG]	Query for ProductLang
2023-10-13	13:31:50	3848	[DEBUG]	Executed store
2023-10-13	13:31:50	3848	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 715112',`product_name`='Klickfix Set de distance E 90 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-set-de-distance-e-90-noir' WHERE `virtuemart_product_id` = '1863340'
2023-10-13	13:31:50	3848	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36588_klick_fix_set_de_distance_e_90.jpg
2023-10-13	13:31:50	3848	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:50	3848	[DEBUG]	Process image file
2023-10-13	13:31:50	3848	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:50	3848	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:50	3848	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36588_klick_fix_set_de_distance_e_90.jpg
2023-10-13	13:31:50	3848	[DEBUG]	Full name target: bcprisme/36588_klick_fix_set_de_distance_e_90.jpg
2023-10-13	13:31:51	3848	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:51	3848	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36588_klick_fix_set_de_distance_e_90.jpg'
2023-10-13	13:31:51	3848	[DEBUG]	Query for Media
2023-10-13	13:31:51	3848	[DEBUG]	Executed store
2023-10-13	13:31:51	3848	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36588_klick_fix_set_de_distance_e_90.jpg',`file_url_thumb`='bcprisme/36588_klick_fix_set_de_distance_e_90.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '647673'
2023-10-13	13:31:51	3848	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:51	3848	[DEBUG]	Executed store
2023-10-13	13:31:51	3848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863340','647673','1')
2023-10-13	13:31:51	3848	[DEBUG]	Store product image relation
2023-10-13	13:31:51	3848	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:51	3848	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863340 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:51	3848	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:51	3848	[DEBUG]	Executed store
2023-10-13	13:31:51	3848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863340','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:51	3848	[DEBUG]	Checking manufacturer
2023-10-13	13:31:51	3848	[DEBUG]	Load a row
2023-10-13	13:31:51	3848	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:51	3848	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:51	3848	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:51	3848	[DEBUG]	Executed store
2023-10-13	13:31:51	3848	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:51	3848	[DEBUG]	Manufacturer exists
2023-10-13	13:31:51	3848	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:31:51	3848	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:51	3848	[DEBUG]	Executed store
2023-10-13	13:31:51	3848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863340','200')
2023-10-13	13:31:51	3848	[DEBUG]	Find the custom field ID
2023-10-13	13:31:51	3848	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:51	3848	[DEBUG]	No custom field ID found
2023-10-13	13:31:51	3848	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:51	3848	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:51	3848	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863340 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:51	3848	[DEBUG]	Store custom available field
2023-10-13	13:31:51	3848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863340,3,'0',1)
2023-10-13	13:31:51	3848	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:51	3848	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:51	3848	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863340 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:51	3848	[DEBUG]	Store custom available field
2023-10-13	13:31:51	3848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863340,6,'choisir la taille',3)
2023-10-13	13:31:51	3848	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:51	3848	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:51	3848	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:51	3848	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:51	3848	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863340 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:51	3848	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:51	3848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863340,8,1)
2023-10-13	13:31:51	3848	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:51	3848	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863340\":[1863340,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863340
2023-10-13	13:31:51	3848	[DEBUG]	Checking category
2023-10-13	13:31:51	3848	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:51	3848	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863340
2023-10-13	13:31:51	3848	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:51	3848	[DEBUG]	Executed store
2023-10-13	13:31:51	3848	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863340','7386')
2023-10-13	13:31:51	3848	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:51	3848	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863340 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:51	3848	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:51	3848	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863340
2023-10-13	13:31:51	3849	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:51	3849	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:51	3849	[DEBUG]	Use field value for field taille
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:51	3849	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:51	3849	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:51	3849	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:51	3849	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:51	3849	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:51	3849	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:51	3849	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:51	3849	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:51	3849	[DEBUG]	Use field value for field published
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:51	3849	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field override
2023-10-13	13:31:51	3849	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:51	3849	[DEBUG]	Use field value for field slug
2023-10-13	13:31:51	3849	[DEBUG]	Process line 3849
2023-10-13	13:31:51	3849	[DEBUG]	Load a row
2023-10-13	13:31:51	3849	[DEBUG]	Processing item: 4030572105632
2023-10-13	13:31:51	3849	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:51	3849	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:51	3849	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8075_1'
2023-10-13	13:31:51	3849	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:51	3849	[DEBUG]	Processing product tax
2023-10-13	13:31:51	3849	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:51	3849	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:51	3849	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:51	3849	[DEBUG]	Query for Product
2023-10-13	13:31:51	3849	[DEBUG]	Executed store
2023-10-13	13:31:51	3849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863340','4030572105632','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:51	3849	[DEBUG]	No parent found
2023-10-13	13:31:51	3849	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863340 AND customfield_value = 'stockable'
2023-10-13	13:31:51	3849	[DEBUG]	Check product language entry
2023-10-13	13:31:51	3849	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863341
2023-10-13	13:31:51	3849	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:51	3849	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572105632' AND `virtuemart_product_id` != 1863341
2023-10-13	13:31:51	3849	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:51	3849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863341, '4030572105632')
2023-10-13	13:31:51	3849	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:51	3849	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-set-de-distance-e-90-noir-all' AND `virtuemart_product_id` != 1863341
2023-10-13	13:31:51	3849	[DEBUG]	Query for ProductLang
2023-10-13	13:31:51	3849	[DEBUG]	Executed store
2023-10-13	13:31:51	3849	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix Set de distance E 90 / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-set-de-distance-e-90-noir-all' WHERE `virtuemart_product_id` = '1863341'
2023-10-13	13:31:51	3849	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36588_klick_fix_set_de_distance_e_90.jpg
2023-10-13	13:31:51	3849	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:51	3849	[DEBUG]	Process image file
2023-10-13	13:31:51	3849	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:51	3849	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:51	3849	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36588_klick_fix_set_de_distance_e_90.jpg
2023-10-13	13:31:51	3849	[DEBUG]	Full name target: bcprisme/36588_klick_fix_set_de_distance_e_90.jpg
2023-10-13	13:31:52	3849	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:52	3849	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36588_klick_fix_set_de_distance_e_90.jpg'
2023-10-13	13:31:52	3849	[DEBUG]	Query for Media
2023-10-13	13:31:52	3849	[DEBUG]	Executed store
2023-10-13	13:31:52	3849	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36588_klick_fix_set_de_distance_e_90.jpg',`file_url_thumb`='bcprisme/36588_klick_fix_set_de_distance_e_90.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '647673'
2023-10-13	13:31:52	3849	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:52	3849	[DEBUG]	Executed store
2023-10-13	13:31:52	3849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863341','647673','1')
2023-10-13	13:31:52	3849	[DEBUG]	Store product image relation
2023-10-13	13:31:52	3849	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:52	3849	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863341 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:52	3849	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:52	3849	[DEBUG]	Executed store
2023-10-13	13:31:52	3849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863341','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:52	3849	[DEBUG]	Checking manufacturer
2023-10-13	13:31:52	3849	[DEBUG]	Load a row
2023-10-13	13:31:52	3849	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:52	3849	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:52	3849	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:52	3849	[DEBUG]	Executed store
2023-10-13	13:31:52	3849	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:52	3849	[DEBUG]	Manufacturer exists
2023-10-13	13:31:52	3849	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:31:52	3849	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:52	3849	[DEBUG]	Executed store
2023-10-13	13:31:52	3849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863341','200')
2023-10-13	13:31:52	3849	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:52	3849	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:52	3849	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863341 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:52	3849	[DEBUG]	Store custom available field
2023-10-13	13:31:52	3849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863341,3,'',1)
2023-10-13	13:31:52	3849	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:52	3849	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:31:52	3849	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863341 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:52	3849	[DEBUG]	Store custom available field
2023-10-13	13:31:52	3849	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863341,6,'All',3)
2023-10-13	13:31:52	3849	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:52	3849	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:52	3849	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863340
2023-10-13	13:31:52	3849	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:52	3849	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863340\":[1863340,8,1,\"choisir la taille\"],\"1863341\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863340
2023-10-13	13:31:52	3849	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:52	3849	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863341
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:52	3850	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field taille
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:52	3850	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:52	3850	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:52	3850	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:52	3850	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:52	3850	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:52	3850	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field published
2023-10-13	13:31:52	3850	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:52	3850	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field override
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:52	3850	[DEBUG]	Use field value for field slug
2023-10-13	13:31:52	3850	[DEBUG]	Process line 3850
2023-10-13	13:31:52	3850	[DEBUG]	Load a row
2023-10-13	13:31:52	3850	[DEBUG]	Processing item: A_8076_1
2023-10-13	13:31:52	3850	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:52	3850	[DEBUG]	Processing product tax
2023-10-13	13:31:52	3850	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:52	3850	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:52	3850	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:52	3850	[DEBUG]	Query for Product
2023-10-13	13:31:52	3850	[DEBUG]	Executed store
2023-10-13	13:31:52	3850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8076_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:52	3850	[DEBUG]	Check product language entry
2023-10-13	13:31:52	3850	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863342
2023-10-13	13:31:52	3850	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:52	3850	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8076_1' AND `virtuemart_product_id` != 1863342
2023-10-13	13:31:52	3850	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:52	3850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863342, 'A_8076_1')
2023-10-13	13:31:52	3850	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:52	3850	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-jeux-de-brides-diametre-35mm-noir' AND `virtuemart_product_id` != 1863342
2023-10-13	13:31:52	3850	[DEBUG]	Query for ProductLang
2023-10-13	13:31:52	3850	[DEBUG]	Executed store
2023-10-13	13:31:53	3850	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 715566',`product_name`='Klickfix jeux de brides diamètre 35mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-jeux-de-brides-diametre-35mm-noir' WHERE `virtuemart_product_id` = '1863342'
2023-10-13	13:31:53	3850	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36589_klick_fix_jeu_de_bride_avec_vis_35mm.jpg
2023-10-13	13:31:53	3850	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:53	3850	[DEBUG]	Process image file
2023-10-13	13:31:53	3850	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:53	3850	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:53	3850	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36589_klick_fix_jeu_de_bride_avec_vis_35mm.jpg
2023-10-13	13:31:53	3850	[DEBUG]	Full name target: bcprisme/36589_klick_fix_jeu_de_bride_avec_vis_35mm.jpg
2023-10-13	13:31:53	3850	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:53	3850	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36589_klick_fix_jeu_de_bride_avec_vis_35mm.jpg'
2023-10-13	13:31:53	3850	[DEBUG]	Query for Media
2023-10-13	13:31:53	3850	[DEBUG]	Executed store
2023-10-13	13:31:53	3850	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36589_klick_fix_jeu_de_bride_avec_vis_35mm.jpg',`file_url_thumb`='bcprisme/36589_klick_fix_jeu_de_bride_avec_vis_35mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041520'
2023-10-13	13:31:53	3850	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:53	3850	[DEBUG]	Executed store
2023-10-13	13:31:53	3850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863342','1041520','1')
2023-10-13	13:31:53	3850	[DEBUG]	Store product image relation
2023-10-13	13:31:53	3850	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:53	3850	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863342 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:53	3850	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:53	3850	[DEBUG]	Executed store
2023-10-13	13:31:53	3850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863342','0','3.71402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:53	3850	[DEBUG]	Checking manufacturer
2023-10-13	13:31:53	3850	[DEBUG]	Load a row
2023-10-13	13:31:53	3850	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:53	3850	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:53	3850	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:53	3850	[DEBUG]	Executed store
2023-10-13	13:31:53	3850	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:53	3850	[DEBUG]	Manufacturer exists
2023-10-13	13:31:53	3850	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:31:53	3850	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:53	3850	[DEBUG]	Executed store
2023-10-13	13:31:53	3850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863342','200')
2023-10-13	13:31:53	3850	[DEBUG]	Find the custom field ID
2023-10-13	13:31:53	3850	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:53	3850	[DEBUG]	No custom field ID found
2023-10-13	13:31:53	3850	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:53	3850	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:53	3850	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863342 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:53	3850	[DEBUG]	Store custom available field
2023-10-13	13:31:53	3850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863342,3,'0',1)
2023-10-13	13:31:53	3850	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:53	3850	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:53	3850	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863342 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:53	3850	[DEBUG]	Store custom available field
2023-10-13	13:31:53	3850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863342,6,'choisir la taille',3)
2023-10-13	13:31:53	3850	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:53	3850	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:53	3850	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:53	3850	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:53	3850	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863342 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:53	3850	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:53	3850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863342,8,1)
2023-10-13	13:31:54	3850	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:54	3850	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863342\":[1863342,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863342
2023-10-13	13:31:54	3850	[DEBUG]	Checking category
2023-10-13	13:31:54	3850	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:54	3850	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863342
2023-10-13	13:31:54	3850	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:54	3850	[DEBUG]	Executed store
2023-10-13	13:31:54	3850	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863342','7386')
2023-10-13	13:31:54	3850	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:54	3850	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863342 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:54	3850	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:54	3850	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863342
2023-10-13	13:31:54	3851	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:54	3851	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:54	3851	[DEBUG]	Use field value for field taille
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:54	3851	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:54	3851	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:54	3851	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:54	3851	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:54	3851	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:54	3851	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:54	3851	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:54	3851	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:54	3851	[DEBUG]	Use field value for field published
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:54	3851	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field override
2023-10-13	13:31:54	3851	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:54	3851	[DEBUG]	Use field value for field slug
2023-10-13	13:31:54	3851	[DEBUG]	Process line 3851
2023-10-13	13:31:54	3851	[DEBUG]	Load a row
2023-10-13	13:31:54	3851	[DEBUG]	Processing item: 1000000143652
2023-10-13	13:31:54	3851	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:54	3851	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:54	3851	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8076_1'
2023-10-13	13:31:54	3851	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:54	3851	[DEBUG]	Processing product tax
2023-10-13	13:31:54	3851	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:54	3851	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:54	3851	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:54	3851	[DEBUG]	Query for Product
2023-10-13	13:31:54	3851	[DEBUG]	Executed store
2023-10-13	13:31:54	3851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863342','1000000143652','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:54	3851	[DEBUG]	No parent found
2023-10-13	13:31:54	3851	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863342 AND customfield_value = 'stockable'
2023-10-13	13:31:54	3851	[DEBUG]	Check product language entry
2023-10-13	13:31:54	3851	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863343
2023-10-13	13:31:54	3851	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:54	3851	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000143652' AND `virtuemart_product_id` != 1863343
2023-10-13	13:31:54	3851	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:54	3851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863343, '1000000143652')
2023-10-13	13:31:54	3851	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:54	3851	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-jeux-de-brides-diametre-35mm-noir-all' AND `virtuemart_product_id` != 1863343
2023-10-13	13:31:54	3851	[DEBUG]	Query for ProductLang
2023-10-13	13:31:54	3851	[DEBUG]	Executed store
2023-10-13	13:31:54	3851	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix jeux de brides diamètre 35mm / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-jeux-de-brides-diametre-35mm-noir-all' WHERE `virtuemart_product_id` = '1863343'
2023-10-13	13:31:54	3851	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36589_klick_fix_jeu_de_bride_avec_vis_35mm.jpg
2023-10-13	13:31:54	3851	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:54	3851	[DEBUG]	Process image file
2023-10-13	13:31:54	3851	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:54	3851	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:54	3851	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36589_klick_fix_jeu_de_bride_avec_vis_35mm.jpg
2023-10-13	13:31:54	3851	[DEBUG]	Full name target: bcprisme/36589_klick_fix_jeu_de_bride_avec_vis_35mm.jpg
2023-10-13	13:31:55	3851	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:55	3851	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36589_klick_fix_jeu_de_bride_avec_vis_35mm.jpg'
2023-10-13	13:31:55	3851	[DEBUG]	Query for Media
2023-10-13	13:31:55	3851	[DEBUG]	Executed store
2023-10-13	13:31:55	3851	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36589_klick_fix_jeu_de_bride_avec_vis_35mm.jpg',`file_url_thumb`='bcprisme/36589_klick_fix_jeu_de_bride_avec_vis_35mm.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041520'
2023-10-13	13:31:55	3851	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:55	3851	[DEBUG]	Executed store
2023-10-13	13:31:55	3851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863343','1041520','1')
2023-10-13	13:31:55	3851	[DEBUG]	Store product image relation
2023-10-13	13:31:55	3851	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:55	3851	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863343 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:55	3851	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:55	3851	[DEBUG]	Executed store
2023-10-13	13:31:55	3851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863343','0','3.71402042711235','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:55	3851	[DEBUG]	Checking manufacturer
2023-10-13	13:31:55	3851	[DEBUG]	Load a row
2023-10-13	13:31:55	3851	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:55	3851	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:55	3851	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:55	3851	[DEBUG]	Executed store
2023-10-13	13:31:55	3851	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:55	3851	[DEBUG]	Manufacturer exists
2023-10-13	13:31:55	3851	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:31:55	3851	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:55	3851	[DEBUG]	Executed store
2023-10-13	13:31:55	3851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863343','200')
2023-10-13	13:31:55	3851	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:55	3851	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:55	3851	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863343 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:55	3851	[DEBUG]	Store custom available field
2023-10-13	13:31:55	3851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863343,3,'',1)
2023-10-13	13:31:55	3851	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:55	3851	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:31:55	3851	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863343 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:55	3851	[DEBUG]	Store custom available field
2023-10-13	13:31:55	3851	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863343,6,'All',3)
2023-10-13	13:31:55	3851	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:55	3851	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:55	3851	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863342
2023-10-13	13:31:55	3851	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:55	3851	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863342\":[1863342,8,1,\"choisir la taille\"],\"1863343\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863342
2023-10-13	13:31:55	3851	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:55	3851	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863343
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:55	3852	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field taille
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:55	3852	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:55	3852	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:55	3852	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:55	3852	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:55	3852	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:55	3852	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field published
2023-10-13	13:31:55	3852	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:55	3852	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field override
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:55	3852	[DEBUG]	Use field value for field slug
2023-10-13	13:31:55	3852	[DEBUG]	Process line 3852
2023-10-13	13:31:55	3852	[DEBUG]	Load a row
2023-10-13	13:31:55	3852	[DEBUG]	Processing item: A_8077_1
2023-10-13	13:31:55	3852	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:55	3852	[DEBUG]	Processing product tax
2023-10-13	13:31:55	3852	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:55	3852	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:55	3852	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:55	3852	[DEBUG]	Query for Product
2023-10-13	13:31:55	3852	[DEBUG]	Executed store
2023-10-13	13:31:55	3852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8077_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:55	3852	[DEBUG]	Check product language entry
2023-10-13	13:31:55	3852	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863344
2023-10-13	13:31:55	3852	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:55	3852	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8077_1' AND `virtuemart_product_id` != 1863344
2023-10-13	13:31:55	3852	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:55	3852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863344, 'A_8077_1')
2023-10-13	13:31:55	3852	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:55	3852	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-serre-cable-imbus-2-pieces-noir' AND `virtuemart_product_id` != 1863344
2023-10-13	13:31:55	3852	[DEBUG]	Query for ProductLang
2023-10-13	13:31:55	3852	[DEBUG]	Executed store
2023-10-13	13:31:55	3852	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 715359',`product_name`='Klickfix Serre-câble imbus 2 pieces / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-serre-cable-imbus-2-pieces-noir' WHERE `virtuemart_product_id` = '1863344'
2023-10-13	13:31:55	3852	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36590_klick_fix_serre-ceble_imbus_2_pieces.jpg
2023-10-13	13:31:55	3852	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:55	3852	[DEBUG]	Process image file
2023-10-13	13:31:55	3852	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:55	3852	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:55	3852	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36590_klick_fix_serre-ceble_imbus_2_pieces.jpg
2023-10-13	13:31:55	3852	[DEBUG]	Full name target: bcprisme/36590_klick_fix_serre-ceble_imbus_2_pieces.jpg
2023-10-13	13:31:56	3852	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:56	3852	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36590_klick_fix_serre-ceble_imbus_2_pieces.jpg'
2023-10-13	13:31:56	3852	[DEBUG]	Query for Media
2023-10-13	13:31:56	3852	[DEBUG]	Executed store
2023-10-13	13:31:56	3852	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36590_klick_fix_serre-ceble_imbus_2_pieces.jpg',`file_url_thumb`='bcprisme/36590_klick_fix_serre-ceble_imbus_2_pieces.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '647675'
2023-10-13	13:31:56	3852	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:56	3852	[DEBUG]	Executed store
2023-10-13	13:31:56	3852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863344','647675','1')
2023-10-13	13:31:56	3852	[DEBUG]	Store product image relation
2023-10-13	13:31:56	3852	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:56	3852	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863344 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:56	3852	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:56	3852	[DEBUG]	Executed store
2023-10-13	13:31:56	3852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863344','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:56	3852	[DEBUG]	Checking manufacturer
2023-10-13	13:31:56	3852	[DEBUG]	Load a row
2023-10-13	13:31:56	3852	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:56	3852	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:56	3852	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:56	3852	[DEBUG]	Executed store
2023-10-13	13:31:56	3852	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:56	3852	[DEBUG]	Manufacturer exists
2023-10-13	13:31:56	3852	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:31:56	3852	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:56	3852	[DEBUG]	Executed store
2023-10-13	13:31:56	3852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863344','200')
2023-10-13	13:31:56	3852	[DEBUG]	Find the custom field ID
2023-10-13	13:31:56	3852	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:56	3852	[DEBUG]	No custom field ID found
2023-10-13	13:31:56	3852	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:56	3852	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:56	3852	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863344 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:56	3852	[DEBUG]	Store custom available field
2023-10-13	13:31:56	3852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863344,3,'0',1)
2023-10-13	13:31:56	3852	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:56	3852	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:56	3852	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863344 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:56	3852	[DEBUG]	Store custom available field
2023-10-13	13:31:56	3852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863344,6,'choisir la taille',3)
2023-10-13	13:31:56	3852	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:56	3852	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:56	3852	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:56	3852	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:56	3852	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863344 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:56	3852	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:56	3852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863344,8,1)
2023-10-13	13:31:56	3852	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:56	3852	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863344\":[1863344,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863344
2023-10-13	13:31:56	3852	[DEBUG]	Checking category
2023-10-13	13:31:56	3852	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:56	3852	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863344
2023-10-13	13:31:56	3852	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:56	3852	[DEBUG]	Executed store
2023-10-13	13:31:56	3852	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863344','7386')
2023-10-13	13:31:56	3852	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:56	3852	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863344 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:56	3852	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:56	3852	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863344
2023-10-13	13:31:56	3853	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:56	3853	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:56	3853	[DEBUG]	Use field value for field taille
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:56	3853	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:56	3853	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:56	3853	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:56	3853	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:56	3853	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:56	3853	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:56	3853	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:56	3853	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:56	3853	[DEBUG]	Use field value for field published
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:56	3853	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field override
2023-10-13	13:31:56	3853	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:56	3853	[DEBUG]	Use field value for field slug
2023-10-13	13:31:56	3853	[DEBUG]	Process line 3853
2023-10-13	13:31:56	3853	[DEBUG]	Load a row
2023-10-13	13:31:56	3853	[DEBUG]	Processing item: 1000000143669
2023-10-13	13:31:56	3853	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:56	3853	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:56	3853	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8077_1'
2023-10-13	13:31:56	3853	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:56	3853	[DEBUG]	Processing product tax
2023-10-13	13:31:56	3853	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:56	3853	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:56	3853	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:56	3853	[DEBUG]	Query for Product
2023-10-13	13:31:56	3853	[DEBUG]	Executed store
2023-10-13	13:31:56	3853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863344','1000000143669','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:56	3853	[DEBUG]	No parent found
2023-10-13	13:31:56	3853	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863344 AND customfield_value = 'stockable'
2023-10-13	13:31:56	3853	[DEBUG]	Check product language entry
2023-10-13	13:31:56	3853	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863345
2023-10-13	13:31:56	3853	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:56	3853	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000143669' AND `virtuemart_product_id` != 1863345
2023-10-13	13:31:56	3853	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:56	3853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863345, '1000000143669')
2023-10-13	13:31:56	3853	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:56	3853	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-serre-cable-imbus-2-pieces-noir-all' AND `virtuemart_product_id` != 1863345
2023-10-13	13:31:56	3853	[DEBUG]	Query for ProductLang
2023-10-13	13:31:56	3853	[DEBUG]	Executed store
2023-10-13	13:31:56	3853	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix Serre-câble imbus 2 pieces / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-serre-cable-imbus-2-pieces-noir-all' WHERE `virtuemart_product_id` = '1863345'
2023-10-13	13:31:56	3853	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36590_klick_fix_serre-ceble_imbus_2_pieces.jpg
2023-10-13	13:31:56	3853	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:56	3853	[DEBUG]	Process image file
2023-10-13	13:31:56	3853	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:31:56	3853	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:56	3853	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36590_klick_fix_serre-ceble_imbus_2_pieces.jpg
2023-10-13	13:31:56	3853	[DEBUG]	Full name target: bcprisme/36590_klick_fix_serre-ceble_imbus_2_pieces.jpg
2023-10-13	13:31:57	3853	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:57	3853	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36590_klick_fix_serre-ceble_imbus_2_pieces.jpg'
2023-10-13	13:31:57	3853	[DEBUG]	Query for Media
2023-10-13	13:31:57	3853	[DEBUG]	Executed store
2023-10-13	13:31:57	3853	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36590_klick_fix_serre-ceble_imbus_2_pieces.jpg',`file_url_thumb`='bcprisme/36590_klick_fix_serre-ceble_imbus_2_pieces.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '647675'
2023-10-13	13:31:57	3853	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:57	3853	[DEBUG]	Executed store
2023-10-13	13:31:57	3853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863345','647675','1')
2023-10-13	13:31:57	3853	[DEBUG]	Store product image relation
2023-10-13	13:31:57	3853	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:57	3853	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863345 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:57	3853	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:57	3853	[DEBUG]	Executed store
2023-10-13	13:31:57	3853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863345','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:57	3853	[DEBUG]	Checking manufacturer
2023-10-13	13:31:57	3853	[DEBUG]	Load a row
2023-10-13	13:31:57	3853	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:57	3853	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:57	3853	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:57	3853	[DEBUG]	Executed store
2023-10-13	13:31:57	3853	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:31:57	3853	[DEBUG]	Manufacturer exists
2023-10-13	13:31:57	3853	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:31:57	3853	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:57	3853	[DEBUG]	Executed store
2023-10-13	13:31:57	3853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863345','200')
2023-10-13	13:31:57	3853	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:57	3853	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:57	3853	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863345 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:57	3853	[DEBUG]	Store custom available field
2023-10-13	13:31:57	3853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863345,3,'',1)
2023-10-13	13:31:57	3853	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:57	3853	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:31:57	3853	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863345 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:57	3853	[DEBUG]	Store custom available field
2023-10-13	13:31:57	3853	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863345,6,'All',3)
2023-10-13	13:31:57	3853	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:57	3853	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:57	3853	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863344
2023-10-13	13:31:57	3853	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:57	3853	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863344\":[1863344,8,1,\"choisir la taille\"],\"1863345\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863344
2023-10-13	13:31:57	3853	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:57	3853	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863345
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:57	3854	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field taille
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:57	3854	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:57	3854	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:57	3854	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:57	3854	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:57	3854	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:57	3854	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:57	3854	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field published
2023-10-13	13:31:57	3854	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:57	3854	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field override
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:57	3854	[DEBUG]	Use field value for field slug
2023-10-13	13:31:57	3854	[DEBUG]	Process line 3854
2023-10-13	13:31:57	3854	[DEBUG]	Load a row
2023-10-13	13:31:57	3854	[DEBUG]	Processing item: A_8125_1
2023-10-13	13:31:57	3854	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:57	3854	[DEBUG]	Processing product tax
2023-10-13	13:31:57	3854	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:57	3854	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:57	3854	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:57	3854	[DEBUG]	Query for Product
2023-10-13	13:31:57	3854	[DEBUG]	Executed store
2023-10-13	13:31:57	3854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8125_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:57	3854	[DEBUG]	Check product language entry
2023-10-13	13:31:57	3854	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863346
2023-10-13	13:31:57	3854	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:57	3854	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8125_1' AND `virtuemart_product_id` != 1863346
2023-10-13	13:31:57	3854	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:57	3854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863346, 'A_8125_1')
2023-10-13	13:31:57	3854	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:57	3854	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-support-porte-bagage-montage-oeillets-205-mm-par-paire-noir-noir' AND `virtuemart_product_id` != 1863346
2023-10-13	13:31:57	3854	[DEBUG]	Query for ProductLang
2023-10-13	13:31:57	3854	[DEBUG]	Executed store
2023-10-13	13:31:57	3854	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 31.41180',`product_name`='Pletscher Support porte-bagage montage oeillets 205 mm par paire noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-support-porte-bagage-montage-oeillets-205-mm-par-paire-noir-noir' WHERE `virtuemart_product_id` = '1863346'
2023-10-13	13:31:57	3854	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_41180_jpg.jpg
2023-10-13	13:31:57	3854	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:31:57	3854	[DEBUG]	Process image file
2023-10-13	13:31:57	3854	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:31:57	3854	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:57	3854	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_41180_jpg.jpg
2023-10-13	13:31:57	3854	[DEBUG]	Full name target: bcprisme/31_41180_jpg.jpg
2023-10-13	13:31:58	3854	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:58	3854	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31_41180_jpg.jpg'
2023-10-13	13:31:58	3854	[DEBUG]	Query for Media
2023-10-13	13:31:58	3854	[DEBUG]	Executed store
2023-10-13	13:31:58	3854	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31_41180_jpg.jpg',`file_url_thumb`='bcprisme/31_41180_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '677578'
2023-10-13	13:31:58	3854	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:58	3854	[DEBUG]	Executed store
2023-10-13	13:31:58	3854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863346','677578','1')
2023-10-13	13:31:58	3854	[DEBUG]	Store product image relation
2023-10-13	13:31:58	3854	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:58	3854	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863346 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:58	3854	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:58	3854	[DEBUG]	Executed store
2023-10-13	13:31:58	3854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863346','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:58	3854	[DEBUG]	Checking manufacturer
2023-10-13	13:31:58	3854	[DEBUG]	Load a row
2023-10-13	13:31:58	3854	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:58	3854	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:58	3854	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:58	3854	[DEBUG]	Executed store
2023-10-13	13:31:58	3854	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:58	3854	[DEBUG]	Manufacturer exists
2023-10-13	13:31:58	3854	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:58	3854	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:58	3854	[DEBUG]	Executed store
2023-10-13	13:31:58	3854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863346','74')
2023-10-13	13:31:58	3854	[DEBUG]	Find the custom field ID
2023-10-13	13:31:58	3854	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:31:58	3854	[DEBUG]	No custom field ID found
2023-10-13	13:31:58	3854	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:58	3854	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:31:58	3854	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863346 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:58	3854	[DEBUG]	Store custom available field
2023-10-13	13:31:58	3854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863346,3,'0',1)
2023-10-13	13:31:58	3854	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:58	3854	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:31:58	3854	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863346 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:58	3854	[DEBUG]	Store custom available field
2023-10-13	13:31:58	3854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863346,6,'choisir la taille',3)
2023-10-13	13:31:58	3854	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:58	3854	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:31:58	3854	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:31:58	3854	[DEBUG]	Find the multi variant product entry
2023-10-13	13:31:58	3854	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863346 AND `virtuemart_custom_id` = 8
2023-10-13	13:31:58	3854	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:31:58	3854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863346,8,1)
2023-10-13	13:31:58	3854	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:58	3854	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863346\":[1863346,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863346
2023-10-13	13:31:58	3854	[DEBUG]	Checking category
2023-10-13	13:31:58	3854	[DEBUG]	Get the existing categories for the product
2023-10-13	13:31:58	3854	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863346
2023-10-13	13:31:58	3854	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:31:58	3854	[DEBUG]	Executed store
2023-10-13	13:31:58	3854	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863346','7386')
2023-10-13	13:31:58	3854	[DEBUG]	Delete leftover product categories
2023-10-13	13:31:58	3854	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863346 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:31:58	3854	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:58	3854	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863346
2023-10-13	13:31:58	3855	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:58	3855	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:31:58	3855	[DEBUG]	Use field value for field taille
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:31:58	3855	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field category_path
2023-10-13	13:31:58	3855	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:58	3855	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:58	3855	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:58	3855	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:31:58	3855	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field product_weight
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:58	3855	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:58	3855	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:58	3855	[DEBUG]	Use field value for field published
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field custom_title
2023-10-13	13:31:58	3855	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field custom_param
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field override
2023-10-13	13:31:58	3855	[DEBUG]	Use default value for field public_price
2023-10-13	13:31:58	3855	[DEBUG]	Use field value for field slug
2023-10-13	13:31:58	3855	[DEBUG]	Process line 3855
2023-10-13	13:31:58	3855	[DEBUG]	Load a row
2023-10-13	13:31:58	3855	[DEBUG]	Processing item: 7612616041938
2023-10-13	13:31:58	3855	[DEBUG]	Looking for parent SKU
2023-10-13	13:31:58	3855	[DEBUG]	Checking product parent SKU
2023-10-13	13:31:58	3855	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8125_1'
2023-10-13	13:31:58	3855	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:58	3855	[DEBUG]	Processing product tax
2023-10-13	13:31:58	3855	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:58	3855	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:58	3855	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:58	3855	[DEBUG]	Query for Product
2023-10-13	13:31:58	3855	[DEBUG]	Executed store
2023-10-13	13:31:58	3855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863346','7612616041938','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:58	3855	[DEBUG]	No parent found
2023-10-13	13:31:58	3855	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863346 AND customfield_value = 'stockable'
2023-10-13	13:31:58	3855	[DEBUG]	Check product language entry
2023-10-13	13:31:58	3855	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863347
2023-10-13	13:31:58	3855	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:58	3855	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7612616041938' AND `virtuemart_product_id` != 1863347
2023-10-13	13:31:58	3855	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:58	3855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863347, '7612616041938')
2023-10-13	13:31:58	3855	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:58	3855	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-support-porte-bagage-montage-oeillets-205-mm-par-paire-noir-noir-unitaire' AND `virtuemart_product_id` != 1863347
2023-10-13	13:31:58	3855	[DEBUG]	Query for ProductLang
2023-10-13	13:31:58	3855	[DEBUG]	Executed store
2023-10-13	13:31:58	3855	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Support porte-bagage montage oeillets 205 mm par paire noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-support-porte-bagage-montage-oeillets-205-mm-par-paire-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1863347'
2023-10-13	13:31:58	3855	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_41180_jpg.jpg
2023-10-13	13:31:58	3855	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:31:58	3855	[DEBUG]	Process image file
2023-10-13	13:31:58	3855	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:31:58	3855	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:58	3855	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_41180_jpg.jpg
2023-10-13	13:31:58	3855	[DEBUG]	Full name target: bcprisme/31_41180_jpg.jpg
2023-10-13	13:31:59	3855	[DEBUG]	Checking if the file_url exists
2023-10-13	13:31:59	3855	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31_41180_jpg.jpg'
2023-10-13	13:31:59	3855	[DEBUG]	Query for Media
2023-10-13	13:31:59	3855	[DEBUG]	Executed store
2023-10-13	13:31:59	3855	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31_41180_jpg.jpg',`file_url_thumb`='bcprisme/31_41180_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '677578'
2023-10-13	13:31:59	3855	[DEBUG]	Query for ProductMedia
2023-10-13	13:31:59	3855	[DEBUG]	Executed store
2023-10-13	13:31:59	3855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863347','677578','1')
2023-10-13	13:31:59	3855	[DEBUG]	Store product image relation
2023-10-13	13:31:59	3855	[DEBUG]	Finding a product_price_id
2023-10-13	13:31:59	3855	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863347 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:31:59	3855	[DEBUG]	Query for ProductPrice
2023-10-13	13:31:59	3855	[DEBUG]	Executed store
2023-10-13	13:31:59	3855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863347','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:31:59	3855	[DEBUG]	Checking manufacturer
2023-10-13	13:31:59	3855	[DEBUG]	Load a row
2023-10-13	13:31:59	3855	[DEBUG]	Manufacturer already exists
2023-10-13	13:31:59	3855	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:59	3855	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:31:59	3855	[DEBUG]	Executed store
2023-10-13	13:31:59	3855	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:31:59	3855	[DEBUG]	Manufacturer exists
2023-10-13	13:31:59	3855	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:31:59	3855	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:31:59	3855	[DEBUG]	Executed store
2023-10-13	13:31:59	3855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863347','74')
2023-10-13	13:31:59	3855	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:31:59	3855	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:31:59	3855	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863347 AND `virtuemart_custom_id` = 3
2023-10-13	13:31:59	3855	[DEBUG]	Store custom available field
2023-10-13	13:31:59	3855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863347,3,'',1)
2023-10-13	13:31:59	3855	[DEBUG]	Processing custom available field: taille
2023-10-13	13:31:59	3855	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:31:59	3855	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863347 AND `virtuemart_custom_id` = 6
2023-10-13	13:31:59	3855	[DEBUG]	Store custom available field
2023-10-13	13:31:59	3855	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863347,6,'Unitaire',3)
2023-10-13	13:31:59	3855	[DEBUG]	Process multi-variant fields
2023-10-13	13:31:59	3855	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:31:59	3855	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863346
2023-10-13	13:31:59	3855	[DEBUG]	Store the updated customfield_params
2023-10-13	13:31:59	3855	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863346\":[1863346,8,1,\"choisir la taille\"],\"1863347\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863346
2023-10-13	13:31:59	3855	[DEBUG]	Update has fields after all processing
2023-10-13	13:31:59	3855	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863347
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field product_sku
2023-10-13	13:31:59	3856	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field taille
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field product_name
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field category_path
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field product_price
2023-10-13	13:31:59	3856	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field product_tax
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field file_url
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:31:59	3856	[DEBUG]	Use default value for field product_desc
2023-10-13	13:31:59	3856	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field product_availability
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field product_weight
2023-10-13	13:31:59	3856	[DEBUG]	Use default value for field product_unit
2023-10-13	13:31:59	3856	[DEBUG]	Use default value for field related_products
2023-10-13	13:31:59	3856	[DEBUG]	Use default value for field product_special
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field published
2023-10-13	13:31:59	3856	[DEBUG]	Use default value for field metadesc
2023-10-13	13:31:59	3856	[DEBUG]	Use default value for field metakey
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field custom_title
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field custom_value
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field custom_param
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field override
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field public_price
2023-10-13	13:31:59	3856	[DEBUG]	Use field value for field slug
2023-10-13	13:31:59	3856	[DEBUG]	Process line 3856
2023-10-13	13:31:59	3856	[DEBUG]	Load a row
2023-10-13	13:31:59	3856	[DEBUG]	Processing item: A_8126_1
2023-10-13	13:31:59	3856	[DEBUG]	Product tax: 7.7
2023-10-13	13:31:59	3856	[DEBUG]	Processing product tax
2023-10-13	13:31:59	3856	[DEBUG]	Check if calculation rule exists
2023-10-13	13:31:59	3856	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:31:59	3856	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:31:59	3856	[DEBUG]	Query for Product
2023-10-13	13:31:59	3856	[DEBUG]	Executed store
2023-10-13	13:31:59	3856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8126_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:31:59	3856	[DEBUG]	Check product language entry
2023-10-13	13:31:59	3856	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863348
2023-10-13	13:31:59	3856	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:59	3856	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8126_1' AND `virtuemart_product_id` != 1863348
2023-10-13	13:31:59	3856	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:31:59	3856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863348, 'A_8126_1')
2023-10-13	13:31:59	3856	[DEBUG]	Check if the product slug exists
2023-10-13	13:31:59	3856	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-support-porte-bagage-montage-oeillets-165-mm-par-paire-noir-noir' AND `virtuemart_product_id` != 1863348
2023-10-13	13:31:59	3856	[DEBUG]	Query for ProductLang
2023-10-13	13:31:59	3856	[DEBUG]	Executed store
2023-10-13	13:31:59	3856	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 31.18951',`product_name`='Pletscher Support porte-bagage montage oeillets 165 mm par paire noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-support-porte-bagage-montage-oeillets-165-mm-par-paire-noir-noir' WHERE `virtuemart_product_id` = '1863348'
2023-10-13	13:31:59	3856	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_41180_jpg.jpg
2023-10-13	13:31:59	3856	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:31:59	3856	[DEBUG]	Process image file
2023-10-13	13:31:59	3856	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:31:59	3856	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:31:59	3856	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_41180_jpg.jpg
2023-10-13	13:31:59	3856	[DEBUG]	Full name target: bcprisme/31_41180_jpg.jpg
2023-10-13	13:32:00	3856	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:00	3856	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31_41180_jpg.jpg'
2023-10-13	13:32:00	3856	[DEBUG]	Query for Media
2023-10-13	13:32:00	3856	[DEBUG]	Executed store
2023-10-13	13:32:00	3856	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31_41180_jpg.jpg',`file_url_thumb`='bcprisme/31_41180_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '677578'
2023-10-13	13:32:00	3856	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:00	3856	[DEBUG]	Executed store
2023-10-13	13:32:00	3856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863348','677578','1')
2023-10-13	13:32:00	3856	[DEBUG]	Store product image relation
2023-10-13	13:32:00	3856	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:00	3856	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863348 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:00	3856	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:00	3856	[DEBUG]	Executed store
2023-10-13	13:32:00	3856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863348','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:00	3856	[DEBUG]	Checking manufacturer
2023-10-13	13:32:00	3856	[DEBUG]	Load a row
2023-10-13	13:32:00	3856	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:00	3856	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:32:00	3856	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:00	3856	[DEBUG]	Executed store
2023-10-13	13:32:00	3856	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:32:00	3856	[DEBUG]	Manufacturer exists
2023-10-13	13:32:00	3856	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:32:00	3856	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:00	3856	[DEBUG]	Executed store
2023-10-13	13:32:00	3856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863348','74')
2023-10-13	13:32:00	3856	[DEBUG]	Find the custom field ID
2023-10-13	13:32:00	3856	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:00	3856	[DEBUG]	No custom field ID found
2023-10-13	13:32:00	3856	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:00	3856	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:32:00	3856	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863348 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:00	3856	[DEBUG]	Store custom available field
2023-10-13	13:32:00	3856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863348,3,'0',1)
2023-10-13	13:32:00	3856	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:00	3856	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:00	3856	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863348 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:00	3856	[DEBUG]	Store custom available field
2023-10-13	13:32:00	3856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863348,6,'choisir la taille',3)
2023-10-13	13:32:00	3856	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:00	3856	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:00	3856	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:00	3856	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:00	3856	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863348 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:00	3856	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:00	3856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863348,8,1)
2023-10-13	13:32:00	3856	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:00	3856	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863348\":[1863348,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863348
2023-10-13	13:32:00	3856	[DEBUG]	Checking category
2023-10-13	13:32:00	3856	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:00	3856	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863348
2023-10-13	13:32:00	3856	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:00	3856	[DEBUG]	Executed store
2023-10-13	13:32:00	3856	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863348','7386')
2023-10-13	13:32:00	3856	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:00	3856	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863348 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:32:00	3856	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:00	3856	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863348
2023-10-13	13:32:00	3857	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:00	3857	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:00	3857	[DEBUG]	Use field value for field taille
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:00	3857	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:00	3857	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:00	3857	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:00	3857	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:00	3857	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:00	3857	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:00	3857	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:00	3857	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:00	3857	[DEBUG]	Use field value for field published
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:00	3857	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field override
2023-10-13	13:32:00	3857	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:00	3857	[DEBUG]	Use field value for field slug
2023-10-13	13:32:00	3857	[DEBUG]	Process line 3857
2023-10-13	13:32:00	3857	[DEBUG]	Load a row
2023-10-13	13:32:00	3857	[DEBUG]	Processing item: 7612616041914
2023-10-13	13:32:00	3857	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:00	3857	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:00	3857	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8126_1'
2023-10-13	13:32:00	3857	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:00	3857	[DEBUG]	Processing product tax
2023-10-13	13:32:00	3857	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:00	3857	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:00	3857	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:00	3857	[DEBUG]	Query for Product
2023-10-13	13:32:00	3857	[DEBUG]	Executed store
2023-10-13	13:32:00	3857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863348','7612616041914','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:00	3857	[DEBUG]	No parent found
2023-10-13	13:32:00	3857	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863348 AND customfield_value = 'stockable'
2023-10-13	13:32:00	3857	[DEBUG]	Check product language entry
2023-10-13	13:32:00	3857	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863349
2023-10-13	13:32:00	3857	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:00	3857	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7612616041914' AND `virtuemart_product_id` != 1863349
2023-10-13	13:32:00	3857	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:00	3857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863349, '7612616041914')
2023-10-13	13:32:00	3857	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:00	3857	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'pletscher-support-porte-bagage-montage-oeillets-165-mm-par-paire-noir-noir-unitaire' AND `virtuemart_product_id` != 1863349
2023-10-13	13:32:00	3857	[DEBUG]	Query for ProductLang
2023-10-13	13:32:00	3857	[DEBUG]	Executed store
2023-10-13	13:32:00	3857	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Pletscher Support porte-bagage montage oeillets 165 mm par paire noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pletscher-support-porte-bagage-montage-oeillets-165-mm-par-paire-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1863349'
2023-10-13	13:32:00	3857	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_41180_jpg.jpg
2023-10-13	13:32:00	3857	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:32:00	3857	[DEBUG]	Process image file
2023-10-13	13:32:00	3857	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:32:00	3857	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:00	3857	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31_41180_jpg.jpg
2023-10-13	13:32:00	3857	[DEBUG]	Full name target: bcprisme/31_41180_jpg.jpg
2023-10-13	13:32:01	3857	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:01	3857	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31_41180_jpg.jpg'
2023-10-13	13:32:01	3857	[DEBUG]	Query for Media
2023-10-13	13:32:01	3857	[DEBUG]	Executed store
2023-10-13	13:32:01	3857	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31_41180_jpg.jpg',`file_url_thumb`='bcprisme/31_41180_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '677578'
2023-10-13	13:32:01	3857	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:01	3857	[DEBUG]	Executed store
2023-10-13	13:32:01	3857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863349','677578','1')
2023-10-13	13:32:01	3857	[DEBUG]	Store product image relation
2023-10-13	13:32:01	3857	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:01	3857	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863349 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:01	3857	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:01	3857	[DEBUG]	Executed store
2023-10-13	13:32:01	3857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863349','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:01	3857	[DEBUG]	Checking manufacturer
2023-10-13	13:32:01	3857	[DEBUG]	Load a row
2023-10-13	13:32:01	3857	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:01	3857	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:32:01	3857	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:01	3857	[DEBUG]	Executed store
2023-10-13	13:32:01	3857	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-12-18-09-20-091536732236' WHERE `virtuemart_manufacturer_id` = '74'
2023-10-13	13:32:01	3857	[DEBUG]	Manufacturer exists
2023-10-13	13:32:01	3857	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 74
2023-10-13	13:32:01	3857	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:01	3857	[DEBUG]	Executed store
2023-10-13	13:32:01	3857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863349','74')
2023-10-13	13:32:01	3857	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:01	3857	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:01	3857	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863349 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:01	3857	[DEBUG]	Store custom available field
2023-10-13	13:32:01	3857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863349,3,'',1)
2023-10-13	13:32:01	3857	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:01	3857	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:01	3857	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863349 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:01	3857	[DEBUG]	Store custom available field
2023-10-13	13:32:01	3857	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863349,6,'Unitaire',3)
2023-10-13	13:32:01	3857	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:01	3857	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:01	3857	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863348
2023-10-13	13:32:01	3857	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:01	3857	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863348\":[1863348,8,1,\"choisir la taille\"],\"1863349\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863348
2023-10-13	13:32:01	3857	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:01	3857	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863349
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:01	3858	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field taille
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:01	3858	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:01	3858	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:01	3858	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:01	3858	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:01	3858	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:01	3858	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field published
2023-10-13	13:32:01	3858	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:01	3858	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field override
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:01	3858	[DEBUG]	Use field value for field slug
2023-10-13	13:32:01	3858	[DEBUG]	Process line 3858
2023-10-13	13:32:01	3858	[DEBUG]	Load a row
2023-10-13	13:32:01	3858	[DEBUG]	Processing item: A_8127_1
2023-10-13	13:32:01	3858	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:01	3858	[DEBUG]	Processing product tax
2023-10-13	13:32:01	3858	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:01	3858	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:01	3858	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:01	3858	[DEBUG]	Query for Product
2023-10-13	13:32:01	3858	[DEBUG]	Executed store
2023-10-13	13:32:01	3858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8127_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:01	3858	[DEBUG]	Check product language entry
2023-10-13	13:32:01	3858	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863350
2023-10-13	13:32:01	3858	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:01	3858	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8127_1' AND `virtuemart_product_id` != 1863350
2023-10-13	13:32:01	3858	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:01	3858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863350, 'A_8127_1')
2023-10-13	13:32:01	3858	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:01	3858	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-porte-bagage-pletcher-inova-sans-fixation-320-354-mm-noir-noir' AND `virtuemart_product_id` != 1863350
2023-10-13	13:32:01	3858	[DEBUG]	Query for ProductLang
2023-10-13	13:32:01	3858	[DEBUG]	Executed store
2023-10-13	13:32:01	3858	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 31.51015',`product_name`='Topeak Porte-bagage Pletcher Inova sans fixation 320/354 mm, noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-porte-bagage-pletcher-inova-sans-fixation-320-354-mm-noir-noir' WHERE `virtuemart_product_id` = '1863350'
2023-10-13	13:32:01	3858	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36663_porte-bagage_pletcher_inova_sans_fixation_320-354_mm,_noir.jpg
2023-10-13	13:32:01	3858	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:32:01	3858	[DEBUG]	Process image file
2023-10-13	13:32:01	3858	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:32:01	3858	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:01	3858	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36663_porte-bagage_pletcher_inova_sans_fixation_320-354_mm,_noir.jpg
2023-10-13	13:32:01	3858	[DEBUG]	Full name target: bcprisme/36663_porte-bagage_pletcher_inova_sans_fixation_320-354_mm,_noir.jpg
2023-10-13	13:32:02	3858	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:02	3858	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36663_porte-bagage_pletcher_inova_sans_fixation_320-354_mm,_noir.jpg'
2023-10-13	13:32:02	3858	[DEBUG]	Query for Media
2023-10-13	13:32:02	3858	[DEBUG]	Executed store
2023-10-13	13:32:02	3858	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36663_porte-bagage_pletcher_inova_sans_fixation_320-354_mm,_noir.jpg',`file_url_thumb`='bcprisme/36663_porte-bagage_pletcher_inova_sans_fixation_320-354_mm,_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '677580'
2023-10-13	13:32:02	3858	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:02	3858	[DEBUG]	Executed store
2023-10-13	13:32:02	3858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863350','677580','1')
2023-10-13	13:32:02	3858	[DEBUG]	Store product image relation
2023-10-13	13:32:02	3858	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:02	3858	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863350 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:02	3858	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:02	3858	[DEBUG]	Executed store
2023-10-13	13:32:02	3858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863350','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:02	3858	[DEBUG]	Checking manufacturer
2023-10-13	13:32:02	3858	[DEBUG]	Load a row
2023-10-13	13:32:02	3858	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:02	3858	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:32:02	3858	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:02	3858	[DEBUG]	Executed store
2023-10-13	13:32:02	3858	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:32:02	3858	[DEBUG]	Manufacturer exists
2023-10-13	13:32:02	3858	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:32:02	3858	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:02	3858	[DEBUG]	Executed store
2023-10-13	13:32:02	3858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863350','149')
2023-10-13	13:32:02	3858	[DEBUG]	Find the custom field ID
2023-10-13	13:32:02	3858	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:02	3858	[DEBUG]	No custom field ID found
2023-10-13	13:32:02	3858	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:02	3858	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:32:02	3858	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863350 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:02	3858	[DEBUG]	Store custom available field
2023-10-13	13:32:02	3858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863350,3,'0',1)
2023-10-13	13:32:02	3858	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:02	3858	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:02	3858	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863350 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:02	3858	[DEBUG]	Store custom available field
2023-10-13	13:32:02	3858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863350,6,'choisir la taille',3)
2023-10-13	13:32:02	3858	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:02	3858	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:02	3858	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:02	3858	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:02	3858	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863350 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:02	3858	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:02	3858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863350,8,1)
2023-10-13	13:32:02	3858	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:02	3858	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863350\":[1863350,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863350
2023-10-13	13:32:02	3858	[DEBUG]	Checking category
2023-10-13	13:32:02	3858	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:02	3858	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863350
2023-10-13	13:32:02	3858	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:02	3858	[DEBUG]	Executed store
2023-10-13	13:32:02	3858	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863350','7386')
2023-10-13	13:32:02	3858	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:02	3858	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863350 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:32:02	3858	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:02	3858	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863350
2023-10-13	13:32:02	3859	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:02	3859	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:02	3859	[DEBUG]	Use field value for field taille
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:02	3859	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:02	3859	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:02	3859	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:02	3859	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:02	3859	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:02	3859	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:02	3859	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:02	3859	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:02	3859	[DEBUG]	Use field value for field published
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:02	3859	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field override
2023-10-13	13:32:02	3859	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:02	3859	[DEBUG]	Use field value for field slug
2023-10-13	13:32:02	3859	[DEBUG]	Process line 3859
2023-10-13	13:32:02	3859	[DEBUG]	Load a row
2023-10-13	13:32:02	3859	[DEBUG]	Processing item: 7612616060182
2023-10-13	13:32:02	3859	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:02	3859	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:02	3859	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8127_1'
2023-10-13	13:32:02	3859	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:02	3859	[DEBUG]	Processing product tax
2023-10-13	13:32:02	3859	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:02	3859	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:02	3859	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:02	3859	[DEBUG]	Query for Product
2023-10-13	13:32:02	3859	[DEBUG]	Executed store
2023-10-13	13:32:02	3859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863350','7612616060182','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:02	3859	[DEBUG]	No parent found
2023-10-13	13:32:02	3859	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863350 AND customfield_value = 'stockable'
2023-10-13	13:32:02	3859	[DEBUG]	Check product language entry
2023-10-13	13:32:02	3859	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863351
2023-10-13	13:32:02	3859	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:02	3859	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '7612616060182' AND `virtuemart_product_id` != 1863351
2023-10-13	13:32:02	3859	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:02	3859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863351, '7612616060182')
2023-10-13	13:32:02	3859	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:02	3859	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-porte-bagage-pletcher-inova-sans-fixation-320-354-mm-noir-noir-unitaire' AND `virtuemart_product_id` != 1863351
2023-10-13	13:32:02	3859	[DEBUG]	Query for ProductLang
2023-10-13	13:32:02	3859	[DEBUG]	Executed store
2023-10-13	13:32:02	3859	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Topeak Porte-bagage Pletcher Inova sans fixation 320/354 mm, noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-porte-bagage-pletcher-inova-sans-fixation-320-354-mm-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1863351'
2023-10-13	13:32:02	3859	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36663_porte-bagage_pletcher_inova_sans_fixation_320-354_mm,_noir.jpg
2023-10-13	13:32:02	3859	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:32:02	3859	[DEBUG]	Process image file
2023-10-13	13:32:02	3859	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:32:02	3859	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:02	3859	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36663_porte-bagage_pletcher_inova_sans_fixation_320-354_mm,_noir.jpg
2023-10-13	13:32:02	3859	[DEBUG]	Full name target: bcprisme/36663_porte-bagage_pletcher_inova_sans_fixation_320-354_mm,_noir.jpg
2023-10-13	13:32:03	3859	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:03	3859	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36663_porte-bagage_pletcher_inova_sans_fixation_320-354_mm,_noir.jpg'
2023-10-13	13:32:03	3859	[DEBUG]	Query for Media
2023-10-13	13:32:03	3859	[DEBUG]	Executed store
2023-10-13	13:32:03	3859	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36663_porte-bagage_pletcher_inova_sans_fixation_320-354_mm,_noir.jpg',`file_url_thumb`='bcprisme/36663_porte-bagage_pletcher_inova_sans_fixation_320-354_mm,_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '677580'
2023-10-13	13:32:03	3859	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:03	3859	[DEBUG]	Executed store
2023-10-13	13:32:03	3859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863351','677580','1')
2023-10-13	13:32:03	3859	[DEBUG]	Store product image relation
2023-10-13	13:32:03	3859	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:03	3859	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863351 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:03	3859	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:03	3859	[DEBUG]	Executed store
2023-10-13	13:32:03	3859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863351','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:03	3859	[DEBUG]	Checking manufacturer
2023-10-13	13:32:03	3859	[DEBUG]	Load a row
2023-10-13	13:32:03	3859	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:03	3859	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:32:03	3859	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:03	3859	[DEBUG]	Executed store
2023-10-13	13:32:03	3859	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:32:03	3859	[DEBUG]	Manufacturer exists
2023-10-13	13:32:03	3859	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:32:03	3859	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:03	3859	[DEBUG]	Executed store
2023-10-13	13:32:03	3859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863351','149')
2023-10-13	13:32:03	3859	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:03	3859	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:03	3859	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863351 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:03	3859	[DEBUG]	Store custom available field
2023-10-13	13:32:03	3859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863351,3,'',1)
2023-10-13	13:32:03	3859	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:03	3859	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:03	3859	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863351 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:03	3859	[DEBUG]	Store custom available field
2023-10-13	13:32:03	3859	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863351,6,'Unitaire',3)
2023-10-13	13:32:03	3859	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:03	3859	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:03	3859	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863350
2023-10-13	13:32:03	3859	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:03	3859	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863350\":[1863350,8,1,\"choisir la taille\"],\"1863351\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863350
2023-10-13	13:32:03	3859	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:03	3859	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863351
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:03	3860	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field taille
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:03	3860	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:03	3860	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:03	3860	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:03	3860	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:03	3860	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:03	3860	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field published
2023-10-13	13:32:03	3860	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:03	3860	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field override
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:03	3860	[DEBUG]	Use field value for field slug
2023-10-13	13:32:03	3860	[DEBUG]	Process line 3860
2023-10-13	13:32:03	3860	[DEBUG]	Load a row
2023-10-13	13:32:03	3860	[DEBUG]	Processing item: A_8151_1
2023-10-13	13:32:03	3860	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:03	3860	[DEBUG]	Processing product tax
2023-10-13	13:32:03	3860	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:03	3860	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:03	3860	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:03	3860	[DEBUG]	Query for Product
2023-10-13	13:32:03	3860	[DEBUG]	Executed store
2023-10-13	13:32:03	3860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8151_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:03	3860	[DEBUG]	Check product language entry
2023-10-13	13:32:03	3860	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863352
2023-10-13	13:32:03	3860	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:03	3860	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8151_1' AND `virtuemart_product_id` != 1863352
2023-10-13	13:32:03	3860	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:03	3860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863352, 'A_8151_1')
2023-10-13	13:32:03	3860	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:03	3860	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-prolongateur-adaptateur-de-cintre-noir' AND `virtuemart_product_id` != 1863352
2023-10-13	13:32:03	3860	[DEBUG]	Query for ProductLang
2023-10-13	13:32:03	3860	[DEBUG]	Executed store
2023-10-13	13:32:03	3860	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 48.116.4',`product_name`='Klickfix Prolongateur adaptateur de cintre / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-prolongateur-adaptateur-de-cintre-noir' WHERE `virtuemart_product_id` = '1863352'
2023-10-13	13:32:03	3860	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36704_klick_fix_prolongateur_adaptateur_de_cintre.jpg
2023-10-13	13:32:03	3860	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:03	3860	[DEBUG]	Process image file
2023-10-13	13:32:03	3860	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:03	3860	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:03	3860	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36704_klick_fix_prolongateur_adaptateur_de_cintre.jpg
2023-10-13	13:32:03	3860	[DEBUG]	Full name target: bcprisme/36704_klick_fix_prolongateur_adaptateur_de_cintre.jpg
2023-10-13	13:32:04	3860	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:04	3860	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36704_klick_fix_prolongateur_adaptateur_de_cintre.jpg'
2023-10-13	13:32:04	3860	[DEBUG]	Query for Media
2023-10-13	13:32:04	3860	[DEBUG]	Executed store
2023-10-13	13:32:04	3860	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36704_klick_fix_prolongateur_adaptateur_de_cintre.jpg',`file_url_thumb`='bcprisme/36704_klick_fix_prolongateur_adaptateur_de_cintre.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '687573'
2023-10-13	13:32:04	3860	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:04	3860	[DEBUG]	Executed store
2023-10-13	13:32:04	3860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863352','687573','1')
2023-10-13	13:32:04	3860	[DEBUG]	Store product image relation
2023-10-13	13:32:04	3860	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:04	3860	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863352 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:04	3860	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:04	3860	[DEBUG]	Executed store
2023-10-13	13:32:04	3860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863352','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:04	3860	[DEBUG]	Checking manufacturer
2023-10-13	13:32:04	3860	[DEBUG]	Load a row
2023-10-13	13:32:04	3860	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:04	3860	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:32:04	3860	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:04	3860	[DEBUG]	Executed store
2023-10-13	13:32:04	3860	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:32:04	3860	[DEBUG]	Manufacturer exists
2023-10-13	13:32:04	3860	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:32:04	3860	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:04	3860	[DEBUG]	Executed store
2023-10-13	13:32:04	3860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863352','200')
2023-10-13	13:32:04	3860	[DEBUG]	Find the custom field ID
2023-10-13	13:32:04	3860	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:04	3860	[DEBUG]	No custom field ID found
2023-10-13	13:32:04	3860	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:04	3860	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:32:04	3860	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863352 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:04	3860	[DEBUG]	Store custom available field
2023-10-13	13:32:04	3860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863352,3,'0',1)
2023-10-13	13:32:04	3860	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:04	3860	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:04	3860	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863352 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:04	3860	[DEBUG]	Store custom available field
2023-10-13	13:32:04	3860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863352,6,'choisir la taille',3)
2023-10-13	13:32:04	3860	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:04	3860	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:04	3860	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:04	3860	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:04	3860	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863352 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:04	3860	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:04	3860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863352,8,1)
2023-10-13	13:32:04	3860	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:04	3860	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863352\":[1863352,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863352
2023-10-13	13:32:04	3860	[DEBUG]	Checking category
2023-10-13	13:32:04	3860	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:04	3860	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863352
2023-10-13	13:32:04	3860	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:04	3860	[DEBUG]	Executed store
2023-10-13	13:32:04	3860	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863352','7386')
2023-10-13	13:32:04	3860	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:04	3860	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863352 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:32:04	3860	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:04	3860	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863352
2023-10-13	13:32:04	3861	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:04	3861	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:04	3861	[DEBUG]	Use field value for field taille
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:04	3861	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:04	3861	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:04	3861	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:04	3861	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:04	3861	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:04	3861	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:04	3861	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:04	3861	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:04	3861	[DEBUG]	Use field value for field published
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:04	3861	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field override
2023-10-13	13:32:04	3861	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:04	3861	[DEBUG]	Use field value for field slug
2023-10-13	13:32:04	3861	[DEBUG]	Process line 3861
2023-10-13	13:32:04	3861	[DEBUG]	Load a row
2023-10-13	13:32:04	3861	[DEBUG]	Processing item: 4030572000180
2023-10-13	13:32:04	3861	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:04	3861	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:04	3861	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8151_1'
2023-10-13	13:32:04	3861	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:04	3861	[DEBUG]	Processing product tax
2023-10-13	13:32:04	3861	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:04	3861	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:04	3861	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:04	3861	[DEBUG]	Query for Product
2023-10-13	13:32:04	3861	[DEBUG]	Executed store
2023-10-13	13:32:04	3861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863352','4030572000180','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:04	3861	[DEBUG]	No parent found
2023-10-13	13:32:04	3861	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863352 AND customfield_value = 'stockable'
2023-10-13	13:32:04	3861	[DEBUG]	Check product language entry
2023-10-13	13:32:04	3861	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863353
2023-10-13	13:32:04	3861	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:04	3861	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572000180' AND `virtuemart_product_id` != 1863353
2023-10-13	13:32:04	3861	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:04	3861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863353, '4030572000180')
2023-10-13	13:32:04	3861	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:04	3861	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-prolongateur-adaptateur-de-cintre-noir-all' AND `virtuemart_product_id` != 1863353
2023-10-13	13:32:04	3861	[DEBUG]	Query for ProductLang
2023-10-13	13:32:04	3861	[DEBUG]	Executed store
2023-10-13	13:32:04	3861	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix Prolongateur adaptateur de cintre / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-prolongateur-adaptateur-de-cintre-noir-all' WHERE `virtuemart_product_id` = '1863353'
2023-10-13	13:32:04	3861	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36704_klick_fix_prolongateur_adaptateur_de_cintre.jpg
2023-10-13	13:32:04	3861	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:04	3861	[DEBUG]	Process image file
2023-10-13	13:32:04	3861	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:04	3861	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:04	3861	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36704_klick_fix_prolongateur_adaptateur_de_cintre.jpg
2023-10-13	13:32:04	3861	[DEBUG]	Full name target: bcprisme/36704_klick_fix_prolongateur_adaptateur_de_cintre.jpg
2023-10-13	13:32:05	3861	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:05	3861	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36704_klick_fix_prolongateur_adaptateur_de_cintre.jpg'
2023-10-13	13:32:05	3861	[DEBUG]	Query for Media
2023-10-13	13:32:05	3861	[DEBUG]	Executed store
2023-10-13	13:32:05	3861	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36704_klick_fix_prolongateur_adaptateur_de_cintre.jpg',`file_url_thumb`='bcprisme/36704_klick_fix_prolongateur_adaptateur_de_cintre.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '687573'
2023-10-13	13:32:05	3861	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:05	3861	[DEBUG]	Executed store
2023-10-13	13:32:05	3861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863353','687573','1')
2023-10-13	13:32:05	3861	[DEBUG]	Store product image relation
2023-10-13	13:32:05	3861	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:05	3861	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863353 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:05	3861	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:05	3861	[DEBUG]	Executed store
2023-10-13	13:32:05	3861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863353','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:05	3861	[DEBUG]	Checking manufacturer
2023-10-13	13:32:05	3861	[DEBUG]	Load a row
2023-10-13	13:32:05	3861	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:05	3861	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:32:05	3861	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:05	3861	[DEBUG]	Executed store
2023-10-13	13:32:05	3861	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:32:05	3861	[DEBUG]	Manufacturer exists
2023-10-13	13:32:05	3861	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:32:05	3861	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:05	3861	[DEBUG]	Executed store
2023-10-13	13:32:05	3861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863353','200')
2023-10-13	13:32:05	3861	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:05	3861	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:05	3861	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863353 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:05	3861	[DEBUG]	Store custom available field
2023-10-13	13:32:05	3861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863353,3,'',1)
2023-10-13	13:32:05	3861	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:05	3861	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:32:05	3861	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863353 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:05	3861	[DEBUG]	Store custom available field
2023-10-13	13:32:05	3861	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863353,6,'All',3)
2023-10-13	13:32:05	3861	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:05	3861	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:05	3861	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863352
2023-10-13	13:32:05	3861	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:05	3861	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863352\":[1863352,8,1,\"choisir la taille\"],\"1863353\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863352
2023-10-13	13:32:05	3861	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:05	3861	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863353
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:05	3862	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field taille
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:05	3862	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:05	3862	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:05	3862	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:05	3862	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:05	3862	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:05	3862	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field published
2023-10-13	13:32:05	3862	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:05	3862	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field override
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:05	3862	[DEBUG]	Use field value for field slug
2023-10-13	13:32:05	3862	[DEBUG]	Process line 3862
2023-10-13	13:32:05	3862	[DEBUG]	Load a row
2023-10-13	13:32:05	3862	[DEBUG]	Processing item: A_8542_1
2023-10-13	13:32:05	3862	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:05	3862	[DEBUG]	Processing product tax
2023-10-13	13:32:05	3862	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:05	3862	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:05	3862	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:05	3862	[DEBUG]	Query for Product
2023-10-13	13:32:05	3862	[DEBUG]	Executed store
2023-10-13	13:32:05	3862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8542_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:05	3862	[DEBUG]	Check product language entry
2023-10-13	13:32:05	3862	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863354
2023-10-13	13:32:05	3862	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:05	3862	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8542_1' AND `virtuemart_product_id` != 1863354
2023-10-13	13:32:05	3862	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:05	3862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863354, 'A_8542_1')
2023-10-13	13:32:05	3862	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:05	3862	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-porte-bagage-topeak-avant-tetrarack-m1-noir' AND `virtuemart_product_id` != 1863354
2023-10-13	13:32:05	3862	[DEBUG]	Query for ProductLang
2023-10-13	13:32:05	3862	[DEBUG]	Executed store
2023-10-13	13:32:05	3862	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Avec le Topeak TetraRack M1, le VTT est paré pour la prochaine grande sortie. Ce porte-bagages avant est la solution optimale pour les VTT et VTTAE avec fourche suspendue ou fourche rigide sans œillets de fixation. Différentes vis de réglage permettent de l\'ajuster en fonction de l\'inclinaison de la fourche. La fixation s\'effectue en quelques étapes simples grâce à un montage rapide par velcros robustes. Grâce au système QuickTrack intégré, les TrunkBags Topeak peuvent être insérés, verrouillés et retirés d\'une simple pression sur un bouton. Caractéristiques Porte-bagages avant pour VTT et VAE Système de montage rapide par velcros robustes Ajustement possible en fonction de la géométrie et de l\'angle de la fourche Mise à niveau de la plaque du porte-bagages via un élément fendu Charge maximale: 10 kg Dimensions: 37.4 x 32.2 x 16.5 cm Matériau: aluminium / fibre de verre composite / nylon Poids: 910 g Remarque: non recommandé pour les fourches et les haubans en carbone<br>N° art fourn : 490.002.010',`product_name`='Topeak Porte-bagage TOPEAK avant TetraRack M1 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-porte-bagage-topeak-avant-tetrarack-m1-noir' WHERE `virtuemart_product_id` = '1863354'
2023-10-13	13:32:05	3862	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37339_porte-bagage_topeak_avant_tetrarack_m1.png
2023-10-13	13:32:05	3862	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000640
2023-10-13	13:32:05	3862	[DEBUG]	Process image file
2023-10-13	13:32:05	3862	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000640
2023-10-13	13:32:05	3862	[DEBUG]	Mime type found: image/png
2023-10-13	13:32:05	3862	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37339_porte-bagage_topeak_avant_tetrarack_m1.png
2023-10-13	13:32:05	3862	[DEBUG]	Full name target: bcprisme/37339_porte-bagage_topeak_avant_tetrarack_m1.png
2023-10-13	13:32:06	3862	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:06	3862	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37339_porte-bagage_topeak_avant_tetrarack_m1.png'
2023-10-13	13:32:06	3862	[DEBUG]	Query for Media
2023-10-13	13:32:06	3862	[DEBUG]	Executed store
2023-10-13	13:32:06	3862	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37339_porte-bagage_topeak_avant_tetrarack_m1.png',`file_url_thumb`='bcprisme/37339_porte-bagage_topeak_avant_tetrarack_m1.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '992287'
2023-10-13	13:32:06	3862	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:06	3862	[DEBUG]	Executed store
2023-10-13	13:32:06	3862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863354','992287','1')
2023-10-13	13:32:06	3862	[DEBUG]	Store product image relation
2023-10-13	13:32:06	3862	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:06	3862	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863354 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:06	3862	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:06	3862	[DEBUG]	Executed store
2023-10-13	13:32:06	3862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863354','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:06	3862	[DEBUG]	Checking manufacturer
2023-10-13	13:32:06	3862	[DEBUG]	Load a row
2023-10-13	13:32:06	3862	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:06	3862	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:32:06	3862	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:06	3862	[DEBUG]	Executed store
2023-10-13	13:32:06	3862	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:32:06	3862	[DEBUG]	Manufacturer exists
2023-10-13	13:32:06	3862	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:32:06	3862	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:06	3862	[DEBUG]	Executed store
2023-10-13	13:32:06	3862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863354','149')
2023-10-13	13:32:06	3862	[DEBUG]	Find the custom field ID
2023-10-13	13:32:06	3862	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:06	3862	[DEBUG]	No custom field ID found
2023-10-13	13:32:06	3862	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:06	3862	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:32:06	3862	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863354 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:06	3862	[DEBUG]	Store custom available field
2023-10-13	13:32:06	3862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863354,3,'0',1)
2023-10-13	13:32:06	3862	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:06	3862	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:06	3862	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863354 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:06	3862	[DEBUG]	Store custom available field
2023-10-13	13:32:06	3862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863354,6,'choisir la taille',3)
2023-10-13	13:32:06	3862	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:06	3862	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:06	3862	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:06	3862	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:06	3862	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863354 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:06	3862	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:06	3862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863354,8,1)
2023-10-13	13:32:06	3862	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:06	3862	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863354\":[1863354,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863354
2023-10-13	13:32:06	3862	[DEBUG]	Checking category
2023-10-13	13:32:06	3862	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:06	3862	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863354
2023-10-13	13:32:06	3862	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:06	3862	[DEBUG]	Executed store
2023-10-13	13:32:06	3862	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863354','7386')
2023-10-13	13:32:06	3862	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:06	3862	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863354 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:32:06	3862	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:06	3862	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863354
2023-10-13	13:32:06	3863	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:06	3863	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:06	3863	[DEBUG]	Use field value for field taille
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:06	3863	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:06	3863	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:06	3863	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:06	3863	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:06	3863	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:06	3863	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:06	3863	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:06	3863	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:06	3863	[DEBUG]	Use field value for field published
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:06	3863	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field override
2023-10-13	13:32:06	3863	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:06	3863	[DEBUG]	Use field value for field slug
2023-10-13	13:32:06	3863	[DEBUG]	Process line 3863
2023-10-13	13:32:06	3863	[DEBUG]	Load a row
2023-10-13	13:32:06	3863	[DEBUG]	Processing item: 4710069688007
2023-10-13	13:32:06	3863	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:06	3863	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:06	3863	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8542_1'
2023-10-13	13:32:06	3863	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:06	3863	[DEBUG]	Processing product tax
2023-10-13	13:32:06	3863	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:06	3863	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:06	3863	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:06	3863	[DEBUG]	Query for Product
2023-10-13	13:32:06	3863	[DEBUG]	Executed store
2023-10-13	13:32:06	3863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863354','4710069688007','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:06	3863	[DEBUG]	No parent found
2023-10-13	13:32:06	3863	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863354 AND customfield_value = 'stockable'
2023-10-13	13:32:06	3863	[DEBUG]	Check product language entry
2023-10-13	13:32:06	3863	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863355
2023-10-13	13:32:06	3863	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:06	3863	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4710069688007' AND `virtuemart_product_id` != 1863355
2023-10-13	13:32:06	3863	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:06	3863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863355, '4710069688007')
2023-10-13	13:32:06	3863	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:06	3863	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-porte-bagage-topeak-avant-tetrarack-m1-noir-unitaire' AND `virtuemart_product_id` != 1863355
2023-10-13	13:32:06	3863	[DEBUG]	Query for ProductLang
2023-10-13	13:32:06	3863	[DEBUG]	Executed store
2023-10-13	13:32:06	3863	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Topeak Porte-bagage TOPEAK avant TetraRack M1 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-porte-bagage-topeak-avant-tetrarack-m1-noir-unitaire' WHERE `virtuemart_product_id` = '1863355'
2023-10-13	13:32:06	3863	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37339_porte-bagage_topeak_avant_tetrarack_m1.png
2023-10-13	13:32:06	3863	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000640
2023-10-13	13:32:06	3863	[DEBUG]	Process image file
2023-10-13	13:32:06	3863	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000640
2023-10-13	13:32:06	3863	[DEBUG]	Mime type found: image/png
2023-10-13	13:32:06	3863	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37339_porte-bagage_topeak_avant_tetrarack_m1.png
2023-10-13	13:32:06	3863	[DEBUG]	Full name target: bcprisme/37339_porte-bagage_topeak_avant_tetrarack_m1.png
2023-10-13	13:32:07	3863	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:07	3863	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37339_porte-bagage_topeak_avant_tetrarack_m1.png'
2023-10-13	13:32:07	3863	[DEBUG]	Query for Media
2023-10-13	13:32:07	3863	[DEBUG]	Executed store
2023-10-13	13:32:07	3863	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37339_porte-bagage_topeak_avant_tetrarack_m1.png',`file_url_thumb`='bcprisme/37339_porte-bagage_topeak_avant_tetrarack_m1.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '992287'
2023-10-13	13:32:07	3863	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:07	3863	[DEBUG]	Executed store
2023-10-13	13:32:07	3863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863355','992287','1')
2023-10-13	13:32:07	3863	[DEBUG]	Store product image relation
2023-10-13	13:32:07	3863	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:07	3863	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863355 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:07	3863	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:07	3863	[DEBUG]	Executed store
2023-10-13	13:32:07	3863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863355','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:07	3863	[DEBUG]	Checking manufacturer
2023-10-13	13:32:07	3863	[DEBUG]	Load a row
2023-10-13	13:32:07	3863	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:07	3863	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:32:07	3863	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:07	3863	[DEBUG]	Executed store
2023-10-13	13:32:07	3863	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:32:07	3863	[DEBUG]	Manufacturer exists
2023-10-13	13:32:07	3863	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:32:07	3863	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:07	3863	[DEBUG]	Executed store
2023-10-13	13:32:07	3863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863355','149')
2023-10-13	13:32:07	3863	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:07	3863	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:07	3863	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863355 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:07	3863	[DEBUG]	Store custom available field
2023-10-13	13:32:07	3863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863355,3,'',1)
2023-10-13	13:32:07	3863	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:07	3863	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:07	3863	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863355 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:07	3863	[DEBUG]	Store custom available field
2023-10-13	13:32:07	3863	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863355,6,'Unitaire',3)
2023-10-13	13:32:07	3863	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:07	3863	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:07	3863	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863354
2023-10-13	13:32:07	3863	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:07	3863	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863354\":[1863354,8,1,\"choisir la taille\"],\"1863355\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863354
2023-10-13	13:32:07	3863	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:07	3863	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863355
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:07	3864	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field taille
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:07	3864	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:07	3864	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:07	3864	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:07	3864	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:07	3864	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:07	3864	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field published
2023-10-13	13:32:07	3864	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:07	3864	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field override
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:07	3864	[DEBUG]	Use field value for field slug
2023-10-13	13:32:07	3864	[DEBUG]	Process line 3864
2023-10-13	13:32:07	3864	[DEBUG]	Load a row
2023-10-13	13:32:07	3864	[DEBUG]	Processing item: A_8543_1
2023-10-13	13:32:07	3864	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:07	3864	[DEBUG]	Processing product tax
2023-10-13	13:32:07	3864	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:07	3864	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:07	3864	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:07	3864	[DEBUG]	Query for Product
2023-10-13	13:32:07	3864	[DEBUG]	Executed store
2023-10-13	13:32:07	3864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8543_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:07	3864	[DEBUG]	Check product language entry
2023-10-13	13:32:07	3864	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863356
2023-10-13	13:32:07	3864	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:07	3864	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8543_1' AND `virtuemart_product_id` != 1863356
2023-10-13	13:32:07	3864	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:07	3864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863356, 'A_8543_1')
2023-10-13	13:32:07	3864	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:07	3864	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-porte-bagage-topeak-arriere-tetrarack-m2-noir' AND `virtuemart_product_id` != 1863356
2023-10-13	13:32:07	3864	[DEBUG]	Query for ProductLang
2023-10-13	13:32:07	3864	[DEBUG]	Executed store
2023-10-13	13:32:07	3864	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Avec le Topeak TetraRack M2, le VTT est paré pour la prochaine grande sortie. Ce porte-bagages est la solution optimale pour les VTT et VTTAE avec cadre tout-suspendu ou semi-rigide. Différentes vis de réglage permettent de l\'ajuster en fonction de la géométrie du cadre et de différents angles. La fixation s\'effectue en quelques étapes simples grâce à un montage rapide par velcros robustes. Grâce au système QuickTrack intégré, les TrunkBags Topeak peuvent être insérés, verrouillés et retirés d\'une simple pression sur un bouton. Caractéristiques Porte-bagages pour VTT et VAE (tout-suspendu ou semi-rigide) Système de montage rapide par velcros robustes Ajustement possible en fonction de la géométrie du cadre et de l\'angle du triangle arrière Mise à niveau de la plaque du porte-bagages via un élément fendu Charge maximale: 12 kg Dimensions: 42 x 33.2 x 14.5 cm Matériau: aluminium / fibre de verre composite / nylon Poids: 960 g Remarque: non recommandé pour les fourches et les haubans en carbone<br>N° art fourn : 490.002.011',`product_name`='Topeak Porte-bagage TOPEAK arrière TetraRack M2 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-porte-bagage-topeak-arriere-tetrarack-m2-noir' WHERE `virtuemart_product_id` = '1863356'
2023-10-13	13:32:07	3864	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37340_porte-bagage_topeak_arriere_tetrarack_m2.png
2023-10-13	13:32:07	3864	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000640
2023-10-13	13:32:07	3864	[DEBUG]	Process image file
2023-10-13	13:32:07	3864	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000640
2023-10-13	13:32:07	3864	[DEBUG]	Mime type found: image/png
2023-10-13	13:32:07	3864	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37340_porte-bagage_topeak_arriere_tetrarack_m2.png
2023-10-13	13:32:07	3864	[DEBUG]	Full name target: bcprisme/37340_porte-bagage_topeak_arriere_tetrarack_m2.png
2023-10-13	13:32:08	3864	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:08	3864	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37340_porte-bagage_topeak_arriere_tetrarack_m2.png'
2023-10-13	13:32:08	3864	[DEBUG]	Query for Media
2023-10-13	13:32:08	3864	[DEBUG]	Executed store
2023-10-13	13:32:08	3864	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37340_porte-bagage_topeak_arriere_tetrarack_m2.png',`file_url_thumb`='bcprisme/37340_porte-bagage_topeak_arriere_tetrarack_m2.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '992289'
2023-10-13	13:32:08	3864	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:08	3864	[DEBUG]	Executed store
2023-10-13	13:32:08	3864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863356','992289','1')
2023-10-13	13:32:08	3864	[DEBUG]	Store product image relation
2023-10-13	13:32:08	3864	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:08	3864	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863356 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:08	3864	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:08	3864	[DEBUG]	Executed store
2023-10-13	13:32:08	3864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863356','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:08	3864	[DEBUG]	Checking manufacturer
2023-10-13	13:32:08	3864	[DEBUG]	Load a row
2023-10-13	13:32:08	3864	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:08	3864	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:32:08	3864	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:08	3864	[DEBUG]	Executed store
2023-10-13	13:32:08	3864	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:32:08	3864	[DEBUG]	Manufacturer exists
2023-10-13	13:32:08	3864	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:32:08	3864	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:08	3864	[DEBUG]	Executed store
2023-10-13	13:32:08	3864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863356','149')
2023-10-13	13:32:08	3864	[DEBUG]	Find the custom field ID
2023-10-13	13:32:08	3864	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:08	3864	[DEBUG]	No custom field ID found
2023-10-13	13:32:08	3864	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:08	3864	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:32:08	3864	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863356 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:08	3864	[DEBUG]	Store custom available field
2023-10-13	13:32:08	3864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863356,3,'0',1)
2023-10-13	13:32:08	3864	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:08	3864	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:08	3864	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863356 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:08	3864	[DEBUG]	Store custom available field
2023-10-13	13:32:08	3864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863356,6,'choisir la taille',3)
2023-10-13	13:32:08	3864	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:08	3864	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:08	3864	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:08	3864	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:08	3864	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863356 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:08	3864	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:08	3864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863356,8,1)
2023-10-13	13:32:08	3864	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:08	3864	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863356\":[1863356,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863356
2023-10-13	13:32:08	3864	[DEBUG]	Checking category
2023-10-13	13:32:08	3864	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:08	3864	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863356
2023-10-13	13:32:08	3864	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:08	3864	[DEBUG]	Executed store
2023-10-13	13:32:08	3864	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863356','7386')
2023-10-13	13:32:08	3864	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:08	3864	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863356 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:32:08	3864	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:08	3864	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863356
2023-10-13	13:32:08	3865	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:08	3865	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:08	3865	[DEBUG]	Use field value for field taille
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:08	3865	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:08	3865	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:08	3865	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:08	3865	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:08	3865	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:08	3865	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:08	3865	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:08	3865	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:08	3865	[DEBUG]	Use field value for field published
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:08	3865	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field override
2023-10-13	13:32:08	3865	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:08	3865	[DEBUG]	Use field value for field slug
2023-10-13	13:32:08	3865	[DEBUG]	Process line 3865
2023-10-13	13:32:08	3865	[DEBUG]	Load a row
2023-10-13	13:32:08	3865	[DEBUG]	Processing item: 883466019836
2023-10-13	13:32:08	3865	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:08	3865	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:08	3865	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8543_1'
2023-10-13	13:32:08	3865	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:08	3865	[DEBUG]	Processing product tax
2023-10-13	13:32:08	3865	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:08	3865	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:08	3865	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:08	3865	[DEBUG]	Query for Product
2023-10-13	13:32:08	3865	[DEBUG]	Executed store
2023-10-13	13:32:08	3865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863356','883466019836','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:08	3865	[DEBUG]	No parent found
2023-10-13	13:32:08	3865	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863356 AND customfield_value = 'stockable'
2023-10-13	13:32:08	3865	[DEBUG]	Check product language entry
2023-10-13	13:32:08	3865	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863357
2023-10-13	13:32:08	3865	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:08	3865	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '883466019836' AND `virtuemart_product_id` != 1863357
2023-10-13	13:32:08	3865	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:08	3865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863357, '883466019836')
2023-10-13	13:32:08	3865	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:08	3865	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'topeak-porte-bagage-topeak-arriere-tetrarack-m2-noir-unitaire' AND `virtuemart_product_id` != 1863357
2023-10-13	13:32:08	3865	[DEBUG]	Query for ProductLang
2023-10-13	13:32:08	3865	[DEBUG]	Executed store
2023-10-13	13:32:08	3865	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Topeak Porte-bagage TOPEAK arrière TetraRack M2 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='topeak-porte-bagage-topeak-arriere-tetrarack-m2-noir-unitaire' WHERE `virtuemart_product_id` = '1863357'
2023-10-13	13:32:08	3865	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37340_porte-bagage_topeak_arriere_tetrarack_m2.png
2023-10-13	13:32:08	3865	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000640
2023-10-13	13:32:08	3865	[DEBUG]	Process image file
2023-10-13	13:32:08	3865	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000640
2023-10-13	13:32:08	3865	[DEBUG]	Mime type found: image/png
2023-10-13	13:32:08	3865	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37340_porte-bagage_topeak_arriere_tetrarack_m2.png
2023-10-13	13:32:08	3865	[DEBUG]	Full name target: bcprisme/37340_porte-bagage_topeak_arriere_tetrarack_m2.png
2023-10-13	13:32:09	3865	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:09	3865	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37340_porte-bagage_topeak_arriere_tetrarack_m2.png'
2023-10-13	13:32:09	3865	[DEBUG]	Query for Media
2023-10-13	13:32:09	3865	[DEBUG]	Executed store
2023-10-13	13:32:09	3865	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37340_porte-bagage_topeak_arriere_tetrarack_m2.png',`file_url_thumb`='bcprisme/37340_porte-bagage_topeak_arriere_tetrarack_m2.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '992289'
2023-10-13	13:32:09	3865	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:09	3865	[DEBUG]	Executed store
2023-10-13	13:32:09	3865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863357','992289','1')
2023-10-13	13:32:09	3865	[DEBUG]	Store product image relation
2023-10-13	13:32:09	3865	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:09	3865	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863357 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:09	3865	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:09	3865	[DEBUG]	Executed store
2023-10-13	13:32:09	3865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863357','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:09	3865	[DEBUG]	Checking manufacturer
2023-10-13	13:32:09	3865	[DEBUG]	Load a row
2023-10-13	13:32:09	3865	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:09	3865	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:32:09	3865	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:09	3865	[DEBUG]	Executed store
2023-10-13	13:32:09	3865	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-09732831991' WHERE `virtuemart_manufacturer_id` = '149'
2023-10-13	13:32:09	3865	[DEBUG]	Manufacturer exists
2023-10-13	13:32:09	3865	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 149
2023-10-13	13:32:09	3865	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:09	3865	[DEBUG]	Executed store
2023-10-13	13:32:09	3865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863357','149')
2023-10-13	13:32:09	3865	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:09	3865	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:09	3865	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863357 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:09	3865	[DEBUG]	Store custom available field
2023-10-13	13:32:09	3865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863357,3,'',1)
2023-10-13	13:32:09	3865	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:09	3865	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:09	3865	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863357 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:09	3865	[DEBUG]	Store custom available field
2023-10-13	13:32:09	3865	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863357,6,'Unitaire',3)
2023-10-13	13:32:09	3865	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:09	3865	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:09	3865	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863356
2023-10-13	13:32:09	3865	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:09	3865	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863356\":[1863356,8,1,\"choisir la taille\"],\"1863357\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863356
2023-10-13	13:32:09	3865	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:09	3865	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863357
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:09	3866	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field taille
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:09	3866	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:09	3866	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:09	3866	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:09	3866	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:09	3866	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:09	3866	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field published
2023-10-13	13:32:09	3866	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:09	3866	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field override
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:09	3866	[DEBUG]	Use field value for field slug
2023-10-13	13:32:09	3866	[DEBUG]	Process line 3866
2023-10-13	13:32:09	3866	[DEBUG]	Load a row
2023-10-13	13:32:09	3866	[DEBUG]	Processing item: A_8683_1
2023-10-13	13:32:09	3866	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:09	3866	[DEBUG]	Processing product tax
2023-10-13	13:32:09	3866	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:09	3866	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:09	3866	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:09	3866	[DEBUG]	Query for Product
2023-10-13	13:32:09	3866	[DEBUG]	Executed store
2023-10-13	13:32:09	3866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8683_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:09	3866	[DEBUG]	Check product language entry
2023-10-13	13:32:09	3866	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863358
2023-10-13	13:32:09	3866	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:09	3866	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8683_1' AND `virtuemart_product_id` != 1863358
2023-10-13	13:32:09	3866	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:09	3866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863358, 'A_8683_1')
2023-10-13	13:32:09	3866	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:09	3866	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-adaptateur-55-100-mm-noir' AND `virtuemart_product_id` != 1863358
2023-10-13	13:32:09	3866	[DEBUG]	Query for ProductLang
2023-10-13	13:32:09	3866	[DEBUG]	Executed store
2023-10-13	13:32:09	3866	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 480.003.018',`product_name`='Klickfix adaptateur 55 100 mm / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-adaptateur-55-100-mm-noir' WHERE `virtuemart_product_id` = '1863358'
2023-10-13	13:32:09	3866	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37640_klick_fix_adaptateur_55_100_mm.png
2023-10-13	13:32:09	3866	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000021e
2023-10-13	13:32:09	3866	[DEBUG]	Process image file
2023-10-13	13:32:09	3866	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000021e
2023-10-13	13:32:09	3866	[DEBUG]	Mime type found: image/png
2023-10-13	13:32:09	3866	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37640_klick_fix_adaptateur_55_100_mm.png
2023-10-13	13:32:09	3866	[DEBUG]	Full name target: bcprisme/37640_klick_fix_adaptateur_55_100_mm.png
2023-10-13	13:32:10	3866	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:10	3866	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37640_klick_fix_adaptateur_55_100_mm.png'
2023-10-13	13:32:10	3866	[DEBUG]	Query for Media
2023-10-13	13:32:10	3866	[DEBUG]	Executed store
2023-10-13	13:32:10	3866	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37640_klick_fix_adaptateur_55_100_mm.png',`file_url_thumb`='bcprisme/37640_klick_fix_adaptateur_55_100_mm.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041534'
2023-10-13	13:32:10	3866	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:10	3866	[DEBUG]	Executed store
2023-10-13	13:32:10	3866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863358','1041534','1')
2023-10-13	13:32:10	3866	[DEBUG]	Store product image relation
2023-10-13	13:32:10	3866	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:10	3866	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863358 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:10	3866	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:10	3866	[DEBUG]	Executed store
2023-10-13	13:32:10	3866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863358','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:10	3866	[DEBUG]	Checking manufacturer
2023-10-13	13:32:10	3866	[DEBUG]	Load a row
2023-10-13	13:32:10	3866	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:10	3866	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:32:10	3866	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:10	3866	[DEBUG]	Executed store
2023-10-13	13:32:10	3866	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:32:10	3866	[DEBUG]	Manufacturer exists
2023-10-13	13:32:10	3866	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:32:10	3866	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:10	3866	[DEBUG]	Executed store
2023-10-13	13:32:10	3866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863358','200')
2023-10-13	13:32:10	3866	[DEBUG]	Find the custom field ID
2023-10-13	13:32:10	3866	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:10	3866	[DEBUG]	No custom field ID found
2023-10-13	13:32:10	3866	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:10	3866	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:32:10	3866	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863358 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:10	3866	[DEBUG]	Store custom available field
2023-10-13	13:32:10	3866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863358,3,'0',1)
2023-10-13	13:32:10	3866	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:11	3866	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:11	3866	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863358 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:11	3866	[DEBUG]	Store custom available field
2023-10-13	13:32:11	3866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863358,6,'choisir la taille',3)
2023-10-13	13:32:11	3866	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:11	3866	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:11	3866	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:11	3866	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:11	3866	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863358 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:11	3866	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:11	3866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863358,8,1)
2023-10-13	13:32:11	3866	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:11	3866	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863358\":[1863358,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863358
2023-10-13	13:32:11	3866	[DEBUG]	Checking category
2023-10-13	13:32:11	3866	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:11	3866	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863358
2023-10-13	13:32:11	3866	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:11	3866	[DEBUG]	Executed store
2023-10-13	13:32:11	3866	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863358','7386')
2023-10-13	13:32:11	3866	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:11	3866	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863358 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:32:11	3866	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:11	3866	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863358
2023-10-13	13:32:11	3867	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:11	3867	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:11	3867	[DEBUG]	Use field value for field taille
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:11	3867	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:11	3867	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:11	3867	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:11	3867	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:11	3867	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:11	3867	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:11	3867	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:11	3867	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:11	3867	[DEBUG]	Use field value for field published
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:11	3867	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field override
2023-10-13	13:32:11	3867	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:11	3867	[DEBUG]	Use field value for field slug
2023-10-13	13:32:11	3867	[DEBUG]	Process line 3867
2023-10-13	13:32:11	3867	[DEBUG]	Load a row
2023-10-13	13:32:11	3867	[DEBUG]	Processing item: 4030572106387
2023-10-13	13:32:11	3867	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:11	3867	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:11	3867	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8683_1'
2023-10-13	13:32:11	3867	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:11	3867	[DEBUG]	Processing product tax
2023-10-13	13:32:11	3867	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:11	3867	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:11	3867	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:11	3867	[DEBUG]	Query for Product
2023-10-13	13:32:11	3867	[DEBUG]	Executed store
2023-10-13	13:32:11	3867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863358','4030572106387','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:11	3867	[DEBUG]	No parent found
2023-10-13	13:32:11	3867	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863358 AND customfield_value = 'stockable'
2023-10-13	13:32:11	3867	[DEBUG]	Check product language entry
2023-10-13	13:32:11	3867	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863359
2023-10-13	13:32:11	3867	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:11	3867	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572106387' AND `virtuemart_product_id` != 1863359
2023-10-13	13:32:11	3867	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:11	3867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863359, '4030572106387')
2023-10-13	13:32:11	3867	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:11	3867	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-adaptateur-55-100-mm-noir-all' AND `virtuemart_product_id` != 1863359
2023-10-13	13:32:11	3867	[DEBUG]	Query for ProductLang
2023-10-13	13:32:11	3867	[DEBUG]	Executed store
2023-10-13	13:32:11	3867	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix adaptateur 55 100 mm / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-adaptateur-55-100-mm-noir-all' WHERE `virtuemart_product_id` = '1863359'
2023-10-13	13:32:11	3867	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37640_klick_fix_adaptateur_55_100_mm.png
2023-10-13	13:32:11	3867	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000021e
2023-10-13	13:32:11	3867	[DEBUG]	Process image file
2023-10-13	13:32:11	3867	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d494844520000021e
2023-10-13	13:32:11	3867	[DEBUG]	Mime type found: image/png
2023-10-13	13:32:11	3867	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37640_klick_fix_adaptateur_55_100_mm.png
2023-10-13	13:32:11	3867	[DEBUG]	Full name target: bcprisme/37640_klick_fix_adaptateur_55_100_mm.png
2023-10-13	13:32:12	3867	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:12	3867	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37640_klick_fix_adaptateur_55_100_mm.png'
2023-10-13	13:32:12	3867	[DEBUG]	Query for Media
2023-10-13	13:32:12	3867	[DEBUG]	Executed store
2023-10-13	13:32:12	3867	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37640_klick_fix_adaptateur_55_100_mm.png',`file_url_thumb`='bcprisme/37640_klick_fix_adaptateur_55_100_mm.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1041534'
2023-10-13	13:32:12	3867	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:12	3867	[DEBUG]	Executed store
2023-10-13	13:32:12	3867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863359','1041534','1')
2023-10-13	13:32:12	3867	[DEBUG]	Store product image relation
2023-10-13	13:32:12	3867	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:12	3867	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863359 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:12	3867	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:12	3867	[DEBUG]	Executed store
2023-10-13	13:32:12	3867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863359','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:12	3867	[DEBUG]	Checking manufacturer
2023-10-13	13:32:12	3867	[DEBUG]	Load a row
2023-10-13	13:32:12	3867	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:12	3867	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:32:12	3867	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:12	3867	[DEBUG]	Executed store
2023-10-13	13:32:12	3867	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:32:12	3867	[DEBUG]	Manufacturer exists
2023-10-13	13:32:12	3867	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:32:12	3867	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:12	3867	[DEBUG]	Executed store
2023-10-13	13:32:12	3867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863359','200')
2023-10-13	13:32:12	3867	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:12	3867	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:12	3867	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863359 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:12	3867	[DEBUG]	Store custom available field
2023-10-13	13:32:12	3867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863359,3,'',1)
2023-10-13	13:32:12	3867	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:12	3867	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:32:12	3867	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863359 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:12	3867	[DEBUG]	Store custom available field
2023-10-13	13:32:12	3867	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863359,6,'All',3)
2023-10-13	13:32:12	3867	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:12	3867	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:12	3867	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863358
2023-10-13	13:32:12	3867	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:12	3867	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863358\":[1863358,8,1,\"choisir la taille\"],\"1863359\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863358
2023-10-13	13:32:12	3867	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:12	3867	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863359
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:12	3868	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field taille
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:12	3868	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:12	3868	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:12	3868	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:12	3868	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:12	3868	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:12	3868	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field published
2023-10-13	13:32:12	3868	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:12	3868	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field override
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:12	3868	[DEBUG]	Use field value for field slug
2023-10-13	13:32:12	3868	[DEBUG]	Process line 3868
2023-10-13	13:32:12	3868	[DEBUG]	Load a row
2023-10-13	13:32:12	3868	[DEBUG]	Processing item: A_9065_1
2023-10-13	13:32:12	3868	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:12	3868	[DEBUG]	Processing product tax
2023-10-13	13:32:12	3868	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:12	3868	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:12	3868	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:12	3868	[DEBUG]	Query for Product
2023-10-13	13:32:12	3868	[DEBUG]	Executed store
2023-10-13	13:32:12	3868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9065_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:12	3868	[DEBUG]	Check product language entry
2023-10-13	13:32:12	3868	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863360
2023-10-13	13:32:12	3868	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:12	3868	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9065_1' AND `virtuemart_product_id` != 1863360
2023-10-13	13:32:12	3868	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:12	3868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863360, 'A_9065_1')
2023-10-13	13:32:12	3868	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:12	3868	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-adaptateur-e-pour-montage-de-panier-sur-cintre-noir' AND `virtuemart_product_id` != 1863360
2023-10-13	13:32:12	3868	[DEBUG]	Query for ProductLang
2023-10-13	13:32:12	3868	[DEBUG]	Executed store
2023-10-13	13:32:12	3868	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 715363.1',`product_name`='Klickfix adaptateur E pour montage de panier sur cintre / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-adaptateur-e-pour-montage-de-panier-sur-cintre-noir' WHERE `virtuemart_product_id` = '1863360'
2023-10-13	13:32:12	3868	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38086_klickfix_adaptateur_e_pour_montage_de_panier_sur_cintre.jpg
2023-10-13	13:32:12	3868	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:32:12	3868	[DEBUG]	Process image file
2023-10-13	13:32:12	3868	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:32:12	3868	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:12	3868	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38086_klickfix_adaptateur_e_pour_montage_de_panier_sur_cintre.jpg
2023-10-13	13:32:12	3868	[DEBUG]	Full name target: bcprisme/38086_klickfix_adaptateur_e_pour_montage_de_panier_sur_cintre.jpg
2023-10-13	13:32:13	3868	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:13	3868	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38086_klickfix_adaptateur_e_pour_montage_de_panier_sur_cintre.jpg'
2023-10-13	13:32:13	3868	[DEBUG]	Query for Media
2023-10-13	13:32:13	3868	[DEBUG]	Executed store
2023-10-13	13:32:13	3868	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38086_klickfix_adaptateur_e_pour_montage_de_panier_sur_cintre.jpg',`file_url_thumb`='bcprisme/38086_klickfix_adaptateur_e_pour_montage_de_panier_sur_cintre.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1256615'
2023-10-13	13:32:13	3868	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:13	3868	[DEBUG]	Executed store
2023-10-13	13:32:13	3868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863360','1256615','1')
2023-10-13	13:32:13	3868	[DEBUG]	Store product image relation
2023-10-13	13:32:13	3868	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:13	3868	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863360 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:13	3868	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:13	3868	[DEBUG]	Executed store
2023-10-13	13:32:13	3868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863360','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:13	3868	[DEBUG]	Checking manufacturer
2023-10-13	13:32:13	3868	[DEBUG]	Load a row
2023-10-13	13:32:13	3868	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:13	3868	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:32:13	3868	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:13	3868	[DEBUG]	Executed store
2023-10-13	13:32:13	3868	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:32:13	3868	[DEBUG]	Manufacturer exists
2023-10-13	13:32:13	3868	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:32:13	3868	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:13	3868	[DEBUG]	Executed store
2023-10-13	13:32:13	3868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863360','200')
2023-10-13	13:32:13	3868	[DEBUG]	Find the custom field ID
2023-10-13	13:32:13	3868	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:13	3868	[DEBUG]	No custom field ID found
2023-10-13	13:32:13	3868	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:13	3868	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:32:13	3868	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863360 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:13	3868	[DEBUG]	Store custom available field
2023-10-13	13:32:13	3868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863360,3,'0',1)
2023-10-13	13:32:13	3868	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:13	3868	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:13	3868	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863360 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:13	3868	[DEBUG]	Store custom available field
2023-10-13	13:32:13	3868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863360,6,'choisir la taille',3)
2023-10-13	13:32:13	3868	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:13	3868	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:13	3868	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:13	3868	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:13	3868	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863360 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:13	3868	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:13	3868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863360,8,1)
2023-10-13	13:32:13	3868	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:13	3868	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863360\":[1863360,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863360
2023-10-13	13:32:13	3868	[DEBUG]	Checking category
2023-10-13	13:32:13	3868	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:13	3868	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863360
2023-10-13	13:32:13	3868	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:13	3868	[DEBUG]	Executed store
2023-10-13	13:32:13	3868	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863360','7386')
2023-10-13	13:32:13	3868	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:13	3868	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863360 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:32:13	3868	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:13	3868	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863360
2023-10-13	13:32:13	3869	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:13	3869	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:13	3869	[DEBUG]	Use field value for field taille
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:13	3869	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:13	3869	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:13	3869	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:13	3869	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:13	3869	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:13	3869	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:13	3869	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:13	3869	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:13	3869	[DEBUG]	Use field value for field published
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:13	3869	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field override
2023-10-13	13:32:13	3869	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:13	3869	[DEBUG]	Use field value for field slug
2023-10-13	13:32:13	3869	[DEBUG]	Process line 3869
2023-10-13	13:32:13	3869	[DEBUG]	Load a row
2023-10-13	13:32:13	3869	[DEBUG]	Processing item: 4030572103874
2023-10-13	13:32:13	3869	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:13	3869	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:13	3869	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9065_1'
2023-10-13	13:32:13	3869	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:13	3869	[DEBUG]	Processing product tax
2023-10-13	13:32:13	3869	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:13	3869	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:13	3869	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:13	3869	[DEBUG]	Query for Product
2023-10-13	13:32:13	3869	[DEBUG]	Executed store
2023-10-13	13:32:13	3869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863360','4030572103874','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:13	3869	[DEBUG]	No parent found
2023-10-13	13:32:13	3869	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863360 AND customfield_value = 'stockable'
2023-10-13	13:32:13	3869	[DEBUG]	Check product language entry
2023-10-13	13:32:13	3869	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863361
2023-10-13	13:32:13	3869	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:13	3869	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572103874' AND `virtuemart_product_id` != 1863361
2023-10-13	13:32:13	3869	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:13	3869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863361, '4030572103874')
2023-10-13	13:32:13	3869	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:13	3869	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'klickfix-adaptateur-e-pour-montage-de-panier-sur-cintre-noir-all' AND `virtuemart_product_id` != 1863361
2023-10-13	13:32:13	3869	[DEBUG]	Query for ProductLang
2023-10-13	13:32:13	3869	[DEBUG]	Executed store
2023-10-13	13:32:13	3869	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Klickfix adaptateur E pour montage de panier sur cintre / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='klickfix-adaptateur-e-pour-montage-de-panier-sur-cintre-noir-all' WHERE `virtuemart_product_id` = '1863361'
2023-10-13	13:32:13	3869	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38086_klickfix_adaptateur_e_pour_montage_de_panier_sur_cintre.jpg
2023-10-13	13:32:13	3869	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:32:13	3869	[DEBUG]	Process image file
2023-10-13	13:32:13	3869	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:32:13	3869	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:13	3869	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38086_klickfix_adaptateur_e_pour_montage_de_panier_sur_cintre.jpg
2023-10-13	13:32:13	3869	[DEBUG]	Full name target: bcprisme/38086_klickfix_adaptateur_e_pour_montage_de_panier_sur_cintre.jpg
2023-10-13	13:32:14	3869	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:14	3869	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38086_klickfix_adaptateur_e_pour_montage_de_panier_sur_cintre.jpg'
2023-10-13	13:32:14	3869	[DEBUG]	Query for Media
2023-10-13	13:32:14	3869	[DEBUG]	Executed store
2023-10-13	13:32:14	3869	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38086_klickfix_adaptateur_e_pour_montage_de_panier_sur_cintre.jpg',`file_url_thumb`='bcprisme/38086_klickfix_adaptateur_e_pour_montage_de_panier_sur_cintre.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1256615'
2023-10-13	13:32:14	3869	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:14	3869	[DEBUG]	Executed store
2023-10-13	13:32:14	3869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863361','1256615','1')
2023-10-13	13:32:14	3869	[DEBUG]	Store product image relation
2023-10-13	13:32:14	3869	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:14	3869	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863361 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:14	3869	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:14	3869	[DEBUG]	Executed store
2023-10-13	13:32:14	3869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863361','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:14	3869	[DEBUG]	Checking manufacturer
2023-10-13	13:32:14	3869	[DEBUG]	Load a row
2023-10-13	13:32:14	3869	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:14	3869	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:32:14	3869	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:14	3869	[DEBUG]	Executed store
2023-10-13	13:32:14	3869	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-08-11-08-18-261369218098' WHERE `virtuemart_manufacturer_id` = '200'
2023-10-13	13:32:14	3869	[DEBUG]	Manufacturer exists
2023-10-13	13:32:14	3869	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 200
2023-10-13	13:32:14	3869	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:14	3869	[DEBUG]	Executed store
2023-10-13	13:32:14	3869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863361','200')
2023-10-13	13:32:14	3869	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:14	3869	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:14	3869	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863361 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:14	3869	[DEBUG]	Store custom available field
2023-10-13	13:32:14	3869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863361,3,'',1)
2023-10-13	13:32:14	3869	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:14	3869	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:32:14	3869	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863361 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:14	3869	[DEBUG]	Store custom available field
2023-10-13	13:32:14	3869	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863361,6,'All',3)
2023-10-13	13:32:14	3869	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:14	3869	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:14	3869	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863360
2023-10-13	13:32:14	3869	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:14	3869	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863360\":[1863360,8,1,\"choisir la taille\"],\"1863361\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863360
2023-10-13	13:32:14	3869	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:14	3869	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863361
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:14	3870	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field taille
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:14	3870	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:14	3870	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:14	3870	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:14	3870	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:14	3870	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:14	3870	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:14	3870	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field published
2023-10-13	13:32:14	3870	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:14	3870	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field override
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:14	3870	[DEBUG]	Use field value for field slug
2023-10-13	13:32:14	3870	[DEBUG]	Process line 3870
2023-10-13	13:32:14	3870	[DEBUG]	Load a row
2023-10-13	13:32:14	3870	[DEBUG]	Processing item: A_9717_1
2023-10-13	13:32:14	3870	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:14	3870	[DEBUG]	Processing product tax
2023-10-13	13:32:14	3870	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:14	3870	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:14	3870	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:14	3870	[DEBUG]	Query for Product
2023-10-13	13:32:14	3870	[DEBUG]	Executed store
2023-10-13	13:32:14	3870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9717_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:14	3870	[DEBUG]	Check product language entry
2023-10-13	13:32:14	3870	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863362
2023-10-13	13:32:14	3870	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:14	3870	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9717_1' AND `virtuemart_product_id` != 1863362
2023-10-13	13:32:14	3870	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:14	3870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863362, 'A_9717_1')
2023-10-13	13:32:14	3870	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:14	3870	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-adaptateur-de-guidon-e-klick-fix-noir-noir' AND `virtuemart_product_id` != 1863362
2023-10-13	13:32:14	3870	[DEBUG]	Query for ProductLang
2023-10-13	13:32:14	3870	[DEBUG]	Executed store
2023-10-13	13:32:14	3870	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 28.61361',`product_name`='Agu Adaptateur de guidon E Klick-Fix noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-adaptateur-de-guidon-e-klick-fix-noir-noir' WHERE `virtuemart_product_id` = '1863362'
2023-10-13	13:32:14	3870	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_6136.jpg has not been found.
2023-10-13	13:32:14	3870	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:14	3870	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863362 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:14	3870	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:14	3870	[DEBUG]	Executed store
2023-10-13	13:32:14	3870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863362','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:14	3870	[DEBUG]	Checking manufacturer
2023-10-13	13:32:14	3870	[DEBUG]	Load a row
2023-10-13	13:32:14	3870	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:14	3870	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:32:14	3870	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:14	3870	[DEBUG]	Executed store
2023-10-13	13:32:14	3870	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:32:14	3870	[DEBUG]	Manufacturer exists
2023-10-13	13:32:14	3870	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	13:32:14	3870	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:14	3870	[DEBUG]	Executed store
2023-10-13	13:32:14	3870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863362','45')
2023-10-13	13:32:14	3870	[DEBUG]	Find the custom field ID
2023-10-13	13:32:14	3870	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:14	3870	[DEBUG]	No custom field ID found
2023-10-13	13:32:14	3870	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:14	3870	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:32:14	3870	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863362 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:14	3870	[DEBUG]	Store custom available field
2023-10-13	13:32:14	3870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863362,3,'0',1)
2023-10-13	13:32:14	3870	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:14	3870	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:14	3870	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863362 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:14	3870	[DEBUG]	Store custom available field
2023-10-13	13:32:14	3870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863362,6,'choisir la taille',3)
2023-10-13	13:32:14	3870	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:14	3870	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:14	3870	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:14	3870	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:14	3870	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863362 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:14	3870	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:14	3870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863362,8,1)
2023-10-13	13:32:14	3870	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:14	3870	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863362\":[1863362,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863362
2023-10-13	13:32:14	3870	[DEBUG]	Checking category
2023-10-13	13:32:14	3870	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:14	3870	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863362
2023-10-13	13:32:14	3870	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:14	3870	[DEBUG]	Executed store
2023-10-13	13:32:14	3870	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863362','7386')
2023-10-13	13:32:14	3870	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:14	3870	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863362 AND `virtuemart_category_id` NOT IN (7386)
2023-10-13	13:32:14	3870	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:14	3870	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863362
2023-10-13	13:32:14	3871	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:14	3871	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:14	3871	[DEBUG]	Use field value for field taille
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:14	3871	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:14	3871	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:14	3871	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:14	3871	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:14	3871	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:14	3871	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:14	3871	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:14	3871	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:14	3871	[DEBUG]	Use field value for field published
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:14	3871	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field override
2023-10-13	13:32:14	3871	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:14	3871	[DEBUG]	Use field value for field slug
2023-10-13	13:32:14	3871	[DEBUG]	Process line 3871
2023-10-13	13:32:14	3871	[DEBUG]	Load a row
2023-10-13	13:32:14	3871	[DEBUG]	Processing item: 4030572103225
2023-10-13	13:32:14	3871	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:14	3871	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:14	3871	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9717_1'
2023-10-13	13:32:14	3871	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:14	3871	[DEBUG]	Processing product tax
2023-10-13	13:32:14	3871	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:14	3871	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:14	3871	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:14	3871	[DEBUG]	Query for Product
2023-10-13	13:32:14	3871	[DEBUG]	Executed store
2023-10-13	13:32:14	3871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863362','4030572103225','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:14	3871	[DEBUG]	No parent found
2023-10-13	13:32:14	3871	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863362 AND customfield_value = 'stockable'
2023-10-13	13:32:14	3871	[DEBUG]	Check product language entry
2023-10-13	13:32:14	3871	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863363
2023-10-13	13:32:14	3871	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:14	3871	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4030572103225' AND `virtuemart_product_id` != 1863363
2023-10-13	13:32:14	3871	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:14	3871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863363, '4030572103225')
2023-10-13	13:32:14	3871	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:14	3871	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'agu-adaptateur-de-guidon-e-klick-fix-noir-noir-unitaire' AND `virtuemart_product_id` != 1863363
2023-10-13	13:32:14	3871	[DEBUG]	Query for ProductLang
2023-10-13	13:32:14	3871	[DEBUG]	Executed store
2023-10-13	13:32:14	3871	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Agu Adaptateur de guidon E Klick-Fix noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='agu-adaptateur-de-guidon-e-klick-fix-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1863363'
2023-10-13	13:32:14	3871	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28_6136.jpg has not been found.
2023-10-13	13:32:14	3871	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:14	3871	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863363 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:14	3871	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:14	3871	[DEBUG]	Executed store
2023-10-13	13:32:14	3871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863363','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:14	3871	[DEBUG]	Checking manufacturer
2023-10-13	13:32:14	3871	[DEBUG]	Load a row
2023-10-13	13:32:14	3871	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:14	3871	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:32:14	3871	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:14	3871	[DEBUG]	Executed store
2023-10-13	13:32:14	3871	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581017163169' WHERE `virtuemart_manufacturer_id` = '45'
2023-10-13	13:32:14	3871	[DEBUG]	Manufacturer exists
2023-10-13	13:32:14	3871	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 45
2023-10-13	13:32:14	3871	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:14	3871	[DEBUG]	Executed store
2023-10-13	13:32:14	3871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863363','45')
2023-10-13	13:32:14	3871	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:14	3871	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:14	3871	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863363 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:14	3871	[DEBUG]	Store custom available field
2023-10-13	13:32:14	3871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863363,3,'',1)
2023-10-13	13:32:14	3871	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:14	3871	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:14	3871	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863363 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:14	3871	[DEBUG]	Store custom available field
2023-10-13	13:32:14	3871	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863363,6,'Unitaire',3)
2023-10-13	13:32:14	3871	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:14	3871	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:14	3871	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863362
2023-10-13	13:32:14	3871	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:14	3871	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863362\":[1863362,8,1,\"choisir la taille\"],\"1863363\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863362
2023-10-13	13:32:14	3871	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:14	3871	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863363
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:14	3872	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field taille
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:14	3872	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:14	3872	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:14	3872	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:14	3872	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:14	3872	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:14	3872	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field published
2023-10-13	13:32:14	3872	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:14	3872	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field override
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:14	3872	[DEBUG]	Use field value for field slug
2023-10-13	13:32:14	3872	[DEBUG]	Process line 3872
2023-10-13	13:32:14	3872	[DEBUG]	Load a row
2023-10-13	13:32:14	3872	[DEBUG]	Processing item: A_1284_63
2023-10-13	13:32:14	3872	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:14	3872	[DEBUG]	Processing product tax
2023-10-13	13:32:14	3872	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:14	3872	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:14	3872	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:14	3872	[DEBUG]	Query for Product
2023-10-13	13:32:14	3872	[DEBUG]	Executed store
2023-10-13	13:32:14	3872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1284_63','0.2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:14	3872	[DEBUG]	Check product language entry
2023-10-13	13:32:14	3872	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863364
2023-10-13	13:32:14	3872	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:14	3872	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1284_63' AND `virtuemart_product_id` != 1863364
2023-10-13	13:32:14	3872	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:14	3872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863364, 'A_1284_63')
2023-10-13	13:32:14	3872	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:14	3872	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cales-pour-pedales-msc-compatibles-spd-acier-noir' AND `virtuemart_product_id` != 1863364
2023-10-13	13:32:14	3872	[DEBUG]	Query for ProductLang
2023-10-13	13:32:14	3872	[DEBUG]	Executed store
2023-10-13	13:32:14	3872	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Câles pour pédales MSC compatibles SPD avec jeu axial<br>N° art fourn : H11',`product_name`='MSC Câles pour pédales MSC compatibles SPD / Acier-noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cales-pour-pedales-msc-compatibles-spd-acier-noir' WHERE `virtuemart_product_id` = '1863364'
2023-10-13	13:32:14	3872	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2452.jpg
2023-10-13	13:32:14	3872	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:32:14	3872	[DEBUG]	Process image file
2023-10-13	13:32:14	3872	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:32:14	3872	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:14	3872	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2452.jpg
2023-10-13	13:32:14	3872	[DEBUG]	Full name target: bcprisme/image_2452.jpg
2023-10-13	13:32:15	3872	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:15	3872	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2452.jpg'
2023-10-13	13:32:15	3872	[DEBUG]	Query for Media
2023-10-13	13:32:15	3872	[DEBUG]	Executed store
2023-10-13	13:32:15	3872	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2452.jpg',`file_url_thumb`='bcprisme/image_2452.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14411'
2023-10-13	13:32:15	3872	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:15	3872	[DEBUG]	Executed store
2023-10-13	13:32:15	3872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863364','14411','1')
2023-10-13	13:32:15	3872	[DEBUG]	Store product image relation
2023-10-13	13:32:15	3872	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:15	3872	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863364 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:15	3872	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:15	3872	[DEBUG]	Executed store
2023-10-13	13:32:15	3872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863364','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:15	3872	[DEBUG]	Checking manufacturer
2023-10-13	13:32:15	3872	[DEBUG]	Load a row
2023-10-13	13:32:15	3872	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:15	3872	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:15	3872	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:15	3872	[DEBUG]	Executed store
2023-10-13	13:32:15	3872	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:15	3872	[DEBUG]	Manufacturer exists
2023-10-13	13:32:15	3872	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:15	3872	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:15	3872	[DEBUG]	Executed store
2023-10-13	13:32:15	3872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863364','32')
2023-10-13	13:32:15	3872	[DEBUG]	Find the custom field ID
2023-10-13	13:32:15	3872	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:15	3872	[DEBUG]	No custom field ID found
2023-10-13	13:32:15	3872	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:15	3872	[DEBUG]	Get existing row with customfield value 19.8447222222222
2023-10-13	13:32:15	3872	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863364 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:15	3872	[DEBUG]	Store custom available field
2023-10-13	13:32:15	3872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863364,3,'19.8447222222222',1)
2023-10-13	13:32:15	3872	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:15	3872	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:15	3872	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863364 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:15	3872	[DEBUG]	Store custom available field
2023-10-13	13:32:15	3872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863364,6,'choisir la taille',3)
2023-10-13	13:32:15	3872	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:15	3872	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:15	3872	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:15	3872	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:15	3872	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863364 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:15	3872	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:15	3872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863364,8,1)
2023-10-13	13:32:15	3872	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:15	3872	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863364\":[1863364,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863364
2023-10-13	13:32:15	3872	[DEBUG]	Checking category
2023-10-13	13:32:15	3872	[DEBUG]	Check if category path exists: PEDALES - PEDALEN
2023-10-13	13:32:15	3872	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PEDALES - PEDALEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:32:15	3872	[DEBUG]	Query for Category
2023-10-13	13:32:15	3872	[DEBUG]	Executed store
2023-10-13	13:32:15	3872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('0','1','','default','default','3','0','0','0','','','','47','0','1','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:15	3872	[DEBUG]	Category publish 1
2023-10-13	13:32:15	3872	[DEBUG]	Check the category language
2023-10-13	13:32:15	3872	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7389
2023-10-13	13:32:15	3872	[DEBUG]	Check the category slug
2023-10-13	13:32:15	3872	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pedales---pedalen' AND `virtuemart_category_id` != 7389
2023-10-13	13:32:15	3872	[DEBUG]	Check the category slug
2023-10-13	13:32:15	3872	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pedales---pedalen' AND `virtuemart_category_id` != 7389
2023-10-13	13:32:15	3872	[DEBUG]	Add the category language entry
2023-10-13	13:32:15	3872	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7389, 'pedales---pedalen')
2023-10-13	13:32:15	3872	[DEBUG]	Query for CategoryLang
2023-10-13	13:32:15	3872	[DEBUG]	Executed store
2023-10-13	13:32:15	3872	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PEDALES - PEDALEN',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pedales---pedalen' WHERE `virtuemart_category_id` = '7389'
2023-10-13	13:32:15	3872	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:32:15	3872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('0','7389','0')
2023-10-13	13:32:15	3872	[DEBUG]	Check if category path exists: PEDALES ACCESSOIRES - ZUBEHÖR PEDALE
2023-10-13	13:32:15	3872	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PEDALES ACCESSOIRES - ZUBEHÖR PEDALE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7389
2023-10-13	13:32:15	3872	[DEBUG]	Query for Category
2023-10-13	13:32:15	3872	[DEBUG]	Executed store
2023-10-13	13:32:15	3872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7389','1','','default','default','3','0','0','0','','','','1','0','1','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:15	3872	[DEBUG]	Category publish 1
2023-10-13	13:32:15	3872	[DEBUG]	Check the category language
2023-10-13	13:32:15	3872	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7390
2023-10-13	13:32:15	3872	[DEBUG]	Check the category slug
2023-10-13	13:32:15	3872	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pedales-accessoires---zubehoer-pedale' AND `virtuemart_category_id` != 7390
2023-10-13	13:32:15	3872	[DEBUG]	Check the category slug
2023-10-13	13:32:15	3872	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pedales-accessoires---zubehoer-pedale' AND `virtuemart_category_id` != 7390
2023-10-13	13:32:15	3872	[DEBUG]	Add the category language entry
2023-10-13	13:32:15	3872	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7390, 'pedales-accessoires---zubehoer-pedale')
2023-10-13	13:32:15	3872	[DEBUG]	Query for CategoryLang
2023-10-13	13:32:15	3872	[DEBUG]	Executed store
2023-10-13	13:32:15	3872	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PEDALES ACCESSOIRES - ZUBEHÖR PEDALE',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pedales-accessoires---zubehoer-pedale' WHERE `virtuemart_category_id` = '7390'
2023-10-13	13:32:15	3872	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:32:15	3872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7389','7390','0')
2023-10-13	13:32:15	3872	[DEBUG]	Update has field for parent category
2023-10-13	13:32:15	3872	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7389
2023-10-13	13:32:15	3872	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:15	3872	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863364
2023-10-13	13:32:15	3872	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:15	3872	[DEBUG]	Executed store
2023-10-13	13:32:15	3872	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863364','7390')
2023-10-13	13:32:15	3872	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:15	3872	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863364 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:15	3872	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:15	3872	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863364
2023-10-13	13:32:15	3873	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:15	3873	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:15	3873	[DEBUG]	Use field value for field taille
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:15	3873	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:15	3873	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:15	3873	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:15	3873	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:15	3873	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:15	3873	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:15	3873	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:15	3873	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:15	3873	[DEBUG]	Use field value for field published
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:15	3873	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field override
2023-10-13	13:32:15	3873	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:15	3873	[DEBUG]	Use field value for field slug
2023-10-13	13:32:15	3873	[DEBUG]	Process line 3873
2023-10-13	13:32:15	3873	[DEBUG]	Load a row
2023-10-13	13:32:15	3873	[DEBUG]	Processing item: 8436047356121
2023-10-13	13:32:15	3873	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:15	3873	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:15	3873	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1284_63'
2023-10-13	13:32:15	3873	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:15	3873	[DEBUG]	Processing product tax
2023-10-13	13:32:15	3873	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:15	3873	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:15	3873	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:15	3873	[DEBUG]	Query for Product
2023-10-13	13:32:15	3873	[DEBUG]	Executed store
2023-10-13	13:32:15	3873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863364','8436047356121','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:15	3873	[DEBUG]	No parent found
2023-10-13	13:32:15	3873	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863364 AND customfield_value = 'stockable'
2023-10-13	13:32:15	3873	[DEBUG]	Check product language entry
2023-10-13	13:32:15	3873	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863365
2023-10-13	13:32:15	3873	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:15	3873	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047356121' AND `virtuemart_product_id` != 1863365
2023-10-13	13:32:15	3873	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:15	3873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863365, '8436047356121')
2023-10-13	13:32:15	3873	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:15	3873	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cales-pour-pedales-msc-compatibles-spd-acier-noir-unitaire' AND `virtuemart_product_id` != 1863365
2023-10-13	13:32:15	3873	[DEBUG]	Query for ProductLang
2023-10-13	13:32:15	3873	[DEBUG]	Executed store
2023-10-13	13:32:15	3873	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Câles pour pédales MSC compatibles SPD / Acier-noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cales-pour-pedales-msc-compatibles-spd-acier-noir-unitaire' WHERE `virtuemart_product_id` = '1863365'
2023-10-13	13:32:15	3873	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2452.jpg
2023-10-13	13:32:15	3873	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:32:15	3873	[DEBUG]	Process image file
2023-10-13	13:32:15	3873	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:32:15	3873	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:15	3873	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_2452.jpg
2023-10-13	13:32:15	3873	[DEBUG]	Full name target: bcprisme/image_2452.jpg
2023-10-13	13:32:16	3873	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:16	3873	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_2452.jpg'
2023-10-13	13:32:16	3873	[DEBUG]	Query for Media
2023-10-13	13:32:16	3873	[DEBUG]	Executed store
2023-10-13	13:32:16	3873	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_2452.jpg',`file_url_thumb`='bcprisme/image_2452.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14411'
2023-10-13	13:32:16	3873	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:16	3873	[DEBUG]	Executed store
2023-10-13	13:32:16	3873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863365','14411','1')
2023-10-13	13:32:16	3873	[DEBUG]	Store product image relation
2023-10-13	13:32:16	3873	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:16	3873	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863365 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:16	3873	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:16	3873	[DEBUG]	Executed store
2023-10-13	13:32:16	3873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863365','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:16	3873	[DEBUG]	Checking manufacturer
2023-10-13	13:32:16	3873	[DEBUG]	Load a row
2023-10-13	13:32:16	3873	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:16	3873	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:16	3873	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:16	3873	[DEBUG]	Executed store
2023-10-13	13:32:16	3873	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:16	3873	[DEBUG]	Manufacturer exists
2023-10-13	13:32:16	3873	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:16	3873	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:16	3873	[DEBUG]	Executed store
2023-10-13	13:32:16	3873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863365','32')
2023-10-13	13:32:16	3873	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:16	3873	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:16	3873	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863365 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:16	3873	[DEBUG]	Store custom available field
2023-10-13	13:32:16	3873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863365,3,'',1)
2023-10-13	13:32:16	3873	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:16	3873	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:16	3873	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863365 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:16	3873	[DEBUG]	Store custom available field
2023-10-13	13:32:16	3873	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863365,6,'Unitaire',3)
2023-10-13	13:32:16	3873	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:16	3873	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:16	3873	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863364
2023-10-13	13:32:16	3873	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:16	3873	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863364\":[1863364,8,1,\"choisir la taille\"],\"1863365\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863364
2023-10-13	13:32:16	3873	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:16	3873	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863365
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:16	3874	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field taille
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:16	3874	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:16	3874	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:16	3874	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:16	3874	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:16	3874	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:16	3874	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field published
2023-10-13	13:32:16	3874	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:16	3874	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field override
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:16	3874	[DEBUG]	Use field value for field slug
2023-10-13	13:32:16	3874	[DEBUG]	Process line 3874
2023-10-13	13:32:16	3874	[DEBUG]	Load a row
2023-10-13	13:32:16	3874	[DEBUG]	Processing item: A_1872_1
2023-10-13	13:32:16	3874	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:16	3874	[DEBUG]	Processing product tax
2023-10-13	13:32:16	3874	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:16	3874	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:16	3874	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:16	3874	[DEBUG]	Query for Product
2023-10-13	13:32:16	3874	[DEBUG]	Executed store
2023-10-13	13:32:16	3874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1872_1','0.0096','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:16	3874	[DEBUG]	Check product language entry
2023-10-13	13:32:16	3874	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863366
2023-10-13	13:32:16	3874	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:16	3874	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1872_1' AND `virtuemart_product_id` != 1863366
2023-10-13	13:32:16	3874	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:16	3874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863366, 'A_1872_1')
2023-10-13	13:32:16	3874	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:16	3874	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-picot-pedales-msc-superflat-alu7075t6-32-unites-noir' AND `virtuemart_product_id` != 1863366
2023-10-13	13:32:16	3874	[DEBUG]	Query for ProductLang
2023-10-13	13:32:16	3874	[DEBUG]	Executed store
2023-10-13	13:32:16	3874	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Picot pédales MSC Superflat. Alu7075T6, 32unités <br>0.3gr/unité <br>N° art fourn : AN02PIN',`product_name`='MSC Picot pédales MSC Superflat. Alu7075T6, 32 unités / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-picot-pedales-msc-superflat-alu7075t6-32-unites-noir' WHERE `virtuemart_product_id` = '1863366'
2023-10-13	13:32:16	3874	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12082.jpg
2023-10-13	13:32:16	3874	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:16	3874	[DEBUG]	Process image file
2023-10-13	13:32:16	3874	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:16	3874	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:16	3874	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12082.jpg
2023-10-13	13:32:16	3874	[DEBUG]	Full name target: bcprisme/image_12082.jpg
2023-10-13	13:32:17	3874	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:17	3874	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12082.jpg'
2023-10-13	13:32:17	3874	[DEBUG]	Query for Media
2023-10-13	13:32:17	3874	[DEBUG]	Executed store
2023-10-13	13:32:17	3874	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12082.jpg',`file_url_thumb`='bcprisme/image_12082.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14412'
2023-10-13	13:32:17	3874	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:17	3874	[DEBUG]	Executed store
2023-10-13	13:32:17	3874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863366','14412','1')
2023-10-13	13:32:17	3874	[DEBUG]	Store product image relation
2023-10-13	13:32:17	3874	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:17	3874	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863366 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:17	3874	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:17	3874	[DEBUG]	Executed store
2023-10-13	13:32:17	3874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863366','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:17	3874	[DEBUG]	Checking manufacturer
2023-10-13	13:32:17	3874	[DEBUG]	Load a row
2023-10-13	13:32:17	3874	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:17	3874	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:17	3874	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:17	3874	[DEBUG]	Executed store
2023-10-13	13:32:17	3874	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:17	3874	[DEBUG]	Manufacturer exists
2023-10-13	13:32:17	3874	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:17	3874	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:17	3874	[DEBUG]	Executed store
2023-10-13	13:32:17	3874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863366','32')
2023-10-13	13:32:17	3874	[DEBUG]	Find the custom field ID
2023-10-13	13:32:17	3874	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:17	3874	[DEBUG]	No custom field ID found
2023-10-13	13:32:17	3874	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:17	3874	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:32:17	3874	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863366 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:17	3874	[DEBUG]	Store custom available field
2023-10-13	13:32:17	3874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863366,3,'21.8391666666667',1)
2023-10-13	13:32:17	3874	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:17	3874	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:17	3874	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863366 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:17	3874	[DEBUG]	Store custom available field
2023-10-13	13:32:17	3874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863366,6,'choisir la taille',3)
2023-10-13	13:32:17	3874	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:17	3874	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:17	3874	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:17	3874	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:17	3874	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863366 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:17	3874	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:17	3874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863366,8,1)
2023-10-13	13:32:17	3874	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:17	3874	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863366\":[1863366,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863366
2023-10-13	13:32:17	3874	[DEBUG]	Checking category
2023-10-13	13:32:17	3874	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:17	3874	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863366
2023-10-13	13:32:17	3874	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:17	3874	[DEBUG]	Executed store
2023-10-13	13:32:17	3874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863366','7390')
2023-10-13	13:32:17	3874	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:17	3874	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863366 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:17	3874	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:17	3874	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863366
2023-10-13	13:32:17	3875	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:17	3875	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:17	3875	[DEBUG]	Use field value for field taille
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:17	3875	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:17	3875	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:17	3875	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:17	3875	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:17	3875	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:17	3875	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:17	3875	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:17	3875	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:17	3875	[DEBUG]	Use field value for field published
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:17	3875	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field override
2023-10-13	13:32:17	3875	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:17	3875	[DEBUG]	Use field value for field slug
2023-10-13	13:32:17	3875	[DEBUG]	Process line 3875
2023-10-13	13:32:17	3875	[DEBUG]	Load a row
2023-10-13	13:32:17	3875	[DEBUG]	Processing item: 1000000048049
2023-10-13	13:32:17	3875	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:17	3875	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:17	3875	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1872_1'
2023-10-13	13:32:17	3875	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:17	3875	[DEBUG]	Processing product tax
2023-10-13	13:32:17	3875	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:17	3875	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:17	3875	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:17	3875	[DEBUG]	Query for Product
2023-10-13	13:32:17	3875	[DEBUG]	Executed store
2023-10-13	13:32:17	3875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863366','1000000048049','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:17	3875	[DEBUG]	No parent found
2023-10-13	13:32:17	3875	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863366 AND customfield_value = 'stockable'
2023-10-13	13:32:17	3875	[DEBUG]	Check product language entry
2023-10-13	13:32:17	3875	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863367
2023-10-13	13:32:17	3875	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:17	3875	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000048049' AND `virtuemart_product_id` != 1863367
2023-10-13	13:32:17	3875	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:17	3875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863367, '1000000048049')
2023-10-13	13:32:17	3875	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:17	3875	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-picot-pedales-msc-superflat-alu7075t6-32-unites-noir-unitaire' AND `virtuemart_product_id` != 1863367
2023-10-13	13:32:17	3875	[DEBUG]	Query for ProductLang
2023-10-13	13:32:17	3875	[DEBUG]	Executed store
2023-10-13	13:32:17	3875	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Picot pédales MSC Superflat. Alu7075T6, 32 unités / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-picot-pedales-msc-superflat-alu7075t6-32-unites-noir-unitaire' WHERE `virtuemart_product_id` = '1863367'
2023-10-13	13:32:17	3875	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12082.jpg
2023-10-13	13:32:17	3875	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:17	3875	[DEBUG]	Process image file
2023-10-13	13:32:17	3875	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:17	3875	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:17	3875	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12082.jpg
2023-10-13	13:32:17	3875	[DEBUG]	Full name target: bcprisme/image_12082.jpg
2023-10-13	13:32:18	3875	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:18	3875	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12082.jpg'
2023-10-13	13:32:18	3875	[DEBUG]	Query for Media
2023-10-13	13:32:18	3875	[DEBUG]	Executed store
2023-10-13	13:32:18	3875	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12082.jpg',`file_url_thumb`='bcprisme/image_12082.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14412'
2023-10-13	13:32:18	3875	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:18	3875	[DEBUG]	Executed store
2023-10-13	13:32:18	3875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863367','14412','1')
2023-10-13	13:32:18	3875	[DEBUG]	Store product image relation
2023-10-13	13:32:18	3875	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:18	3875	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863367 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:18	3875	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:18	3875	[DEBUG]	Executed store
2023-10-13	13:32:18	3875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863367','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:18	3875	[DEBUG]	Checking manufacturer
2023-10-13	13:32:18	3875	[DEBUG]	Load a row
2023-10-13	13:32:18	3875	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:18	3875	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:18	3875	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:18	3875	[DEBUG]	Executed store
2023-10-13	13:32:18	3875	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:18	3875	[DEBUG]	Manufacturer exists
2023-10-13	13:32:18	3875	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:18	3875	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:18	3875	[DEBUG]	Executed store
2023-10-13	13:32:18	3875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863367','32')
2023-10-13	13:32:18	3875	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:18	3875	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:18	3875	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863367 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:18	3875	[DEBUG]	Store custom available field
2023-10-13	13:32:18	3875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863367,3,'',1)
2023-10-13	13:32:18	3875	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:18	3875	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:18	3875	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863367 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:18	3875	[DEBUG]	Store custom available field
2023-10-13	13:32:18	3875	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863367,6,'Unitaire',3)
2023-10-13	13:32:18	3875	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:18	3875	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:18	3875	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863366
2023-10-13	13:32:18	3875	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:18	3875	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863366\":[1863366,8,1,\"choisir la taille\"],\"1863367\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863366
2023-10-13	13:32:18	3875	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:18	3875	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863367
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:18	3876	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field taille
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:18	3876	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:18	3876	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:18	3876	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:18	3876	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:18	3876	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:18	3876	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field published
2023-10-13	13:32:18	3876	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:18	3876	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field override
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:18	3876	[DEBUG]	Use field value for field slug
2023-10-13	13:32:18	3876	[DEBUG]	Process line 3876
2023-10-13	13:32:18	3876	[DEBUG]	Load a row
2023-10-13	13:32:18	3876	[DEBUG]	Processing item: A_1872_5
2023-10-13	13:32:18	3876	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:18	3876	[DEBUG]	Processing product tax
2023-10-13	13:32:18	3876	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:18	3876	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:18	3876	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:18	3876	[DEBUG]	Query for Product
2023-10-13	13:32:18	3876	[DEBUG]	Executed store
2023-10-13	13:32:18	3876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1872_5','0.0096','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:18	3876	[DEBUG]	Check product language entry
2023-10-13	13:32:18	3876	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863368
2023-10-13	13:32:18	3876	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:18	3876	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1872_5' AND `virtuemart_product_id` != 1863368
2023-10-13	13:32:18	3876	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:18	3876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863368, 'A_1872_5')
2023-10-13	13:32:18	3876	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:18	3876	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-picot-pedales-msc-superflat-alu7075t6-32-unites-or' AND `virtuemart_product_id` != 1863368
2023-10-13	13:32:18	3876	[DEBUG]	Query for ProductLang
2023-10-13	13:32:18	3876	[DEBUG]	Executed store
2023-10-13	13:32:18	3876	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Picot pédales MSC Superflat. Alu7075T6, 32unités <br>0.3gr/unité <br>N° art fourn : AN02PIN',`product_name`='MSC Picot pédales MSC Superflat. Alu7075T6, 32 unités / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-picot-pedales-msc-superflat-alu7075t6-32-unites-or' WHERE `virtuemart_product_id` = '1863368'
2023-10-13	13:32:18	3876	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_7222.jpg
2023-10-13	13:32:18	3876	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:32:18	3876	[DEBUG]	Process image file
2023-10-13	13:32:18	3876	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:32:18	3876	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:18	3876	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_7222.jpg
2023-10-13	13:32:18	3876	[DEBUG]	Full name target: bcprisme/image_7222.jpg
2023-10-13	13:32:19	3876	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:19	3876	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_7222.jpg'
2023-10-13	13:32:19	3876	[DEBUG]	Query for Media
2023-10-13	13:32:19	3876	[DEBUG]	Executed store
2023-10-13	13:32:19	3876	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_7222.jpg',`file_url_thumb`='bcprisme/image_7222.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14413'
2023-10-13	13:32:19	3876	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:19	3876	[DEBUG]	Executed store
2023-10-13	13:32:19	3876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863368','14413','1')
2023-10-13	13:32:19	3876	[DEBUG]	Store product image relation
2023-10-13	13:32:19	3876	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:19	3876	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863368 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:19	3876	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:19	3876	[DEBUG]	Executed store
2023-10-13	13:32:19	3876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863368','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:19	3876	[DEBUG]	Checking manufacturer
2023-10-13	13:32:19	3876	[DEBUG]	Load a row
2023-10-13	13:32:19	3876	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:19	3876	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:19	3876	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:19	3876	[DEBUG]	Executed store
2023-10-13	13:32:19	3876	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:19	3876	[DEBUG]	Manufacturer exists
2023-10-13	13:32:19	3876	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:19	3876	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:19	3876	[DEBUG]	Executed store
2023-10-13	13:32:19	3876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863368','32')
2023-10-13	13:32:19	3876	[DEBUG]	Find the custom field ID
2023-10-13	13:32:19	3876	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:19	3876	[DEBUG]	No custom field ID found
2023-10-13	13:32:19	3876	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:19	3876	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:32:19	3876	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863368 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:19	3876	[DEBUG]	Store custom available field
2023-10-13	13:32:19	3876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863368,3,'21.8391666666667',1)
2023-10-13	13:32:19	3876	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:19	3876	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:19	3876	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863368 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:19	3876	[DEBUG]	Store custom available field
2023-10-13	13:32:19	3876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863368,6,'choisir la taille',3)
2023-10-13	13:32:19	3876	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:19	3876	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:19	3876	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:19	3876	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:19	3876	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863368 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:19	3876	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:19	3876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863368,8,1)
2023-10-13	13:32:19	3876	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:19	3876	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863368\":[1863368,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863368
2023-10-13	13:32:19	3876	[DEBUG]	Checking category
2023-10-13	13:32:19	3876	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:19	3876	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863368
2023-10-13	13:32:19	3876	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:19	3876	[DEBUG]	Executed store
2023-10-13	13:32:19	3876	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863368','7390')
2023-10-13	13:32:19	3876	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:19	3876	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863368 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:19	3876	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:19	3876	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863368
2023-10-13	13:32:19	3877	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:19	3877	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:19	3877	[DEBUG]	Use field value for field taille
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:19	3877	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:19	3877	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:19	3877	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:19	3877	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:19	3877	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:19	3877	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:19	3877	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:19	3877	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:19	3877	[DEBUG]	Use field value for field published
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:19	3877	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field override
2023-10-13	13:32:19	3877	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:19	3877	[DEBUG]	Use field value for field slug
2023-10-13	13:32:19	3877	[DEBUG]	Process line 3877
2023-10-13	13:32:19	3877	[DEBUG]	Load a row
2023-10-13	13:32:19	3877	[DEBUG]	Processing item: 1000000032529
2023-10-13	13:32:19	3877	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:19	3877	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:19	3877	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1872_5'
2023-10-13	13:32:19	3877	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:19	3877	[DEBUG]	Processing product tax
2023-10-13	13:32:19	3877	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:19	3877	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:19	3877	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:19	3877	[DEBUG]	Query for Product
2023-10-13	13:32:19	3877	[DEBUG]	Executed store
2023-10-13	13:32:19	3877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863368','1000000032529','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:19	3877	[DEBUG]	No parent found
2023-10-13	13:32:19	3877	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863368 AND customfield_value = 'stockable'
2023-10-13	13:32:19	3877	[DEBUG]	Check product language entry
2023-10-13	13:32:19	3877	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863369
2023-10-13	13:32:19	3877	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:19	3877	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000032529' AND `virtuemart_product_id` != 1863369
2023-10-13	13:32:19	3877	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:19	3877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863369, '1000000032529')
2023-10-13	13:32:19	3877	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:19	3877	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-picot-pedales-msc-superflat-alu7075t6-32-unites-or-unitaire' AND `virtuemart_product_id` != 1863369
2023-10-13	13:32:19	3877	[DEBUG]	Query for ProductLang
2023-10-13	13:32:19	3877	[DEBUG]	Executed store
2023-10-13	13:32:19	3877	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Picot pédales MSC Superflat. Alu7075T6, 32 unités / Or (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-picot-pedales-msc-superflat-alu7075t6-32-unites-or-unitaire' WHERE `virtuemart_product_id` = '1863369'
2023-10-13	13:32:19	3877	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_7222.jpg
2023-10-13	13:32:19	3877	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:32:19	3877	[DEBUG]	Process image file
2023-10-13	13:32:19	3877	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:32:19	3877	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:19	3877	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_7222.jpg
2023-10-13	13:32:19	3877	[DEBUG]	Full name target: bcprisme/image_7222.jpg
2023-10-13	13:32:20	3877	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:20	3877	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_7222.jpg'
2023-10-13	13:32:20	3877	[DEBUG]	Query for Media
2023-10-13	13:32:20	3877	[DEBUG]	Executed store
2023-10-13	13:32:20	3877	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_7222.jpg',`file_url_thumb`='bcprisme/image_7222.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14413'
2023-10-13	13:32:20	3877	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:20	3877	[DEBUG]	Executed store
2023-10-13	13:32:20	3877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863369','14413','1')
2023-10-13	13:32:20	3877	[DEBUG]	Store product image relation
2023-10-13	13:32:20	3877	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:20	3877	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863369 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:20	3877	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:20	3877	[DEBUG]	Executed store
2023-10-13	13:32:20	3877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863369','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:20	3877	[DEBUG]	Checking manufacturer
2023-10-13	13:32:20	3877	[DEBUG]	Load a row
2023-10-13	13:32:20	3877	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:20	3877	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:20	3877	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:20	3877	[DEBUG]	Executed store
2023-10-13	13:32:20	3877	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:20	3877	[DEBUG]	Manufacturer exists
2023-10-13	13:32:20	3877	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:20	3877	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:20	3877	[DEBUG]	Executed store
2023-10-13	13:32:20	3877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863369','32')
2023-10-13	13:32:20	3877	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:20	3877	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:20	3877	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863369 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:20	3877	[DEBUG]	Store custom available field
2023-10-13	13:32:20	3877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863369,3,'',1)
2023-10-13	13:32:20	3877	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:20	3877	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:20	3877	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863369 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:20	3877	[DEBUG]	Store custom available field
2023-10-13	13:32:20	3877	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863369,6,'Unitaire',3)
2023-10-13	13:32:20	3877	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:20	3877	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:20	3877	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863368
2023-10-13	13:32:20	3877	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:20	3877	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863368\":[1863368,8,1,\"choisir la taille\"],\"1863369\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863368
2023-10-13	13:32:20	3877	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:20	3877	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863369
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:20	3878	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field taille
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:20	3878	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:20	3878	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:20	3878	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:20	3878	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:20	3878	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:20	3878	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field published
2023-10-13	13:32:20	3878	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:20	3878	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field override
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:20	3878	[DEBUG]	Use field value for field slug
2023-10-13	13:32:21	3878	[DEBUG]	Process line 3878
2023-10-13	13:32:21	3878	[DEBUG]	Load a row
2023-10-13	13:32:21	3878	[DEBUG]	Processing item: A_1872_7
2023-10-13	13:32:21	3878	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:21	3878	[DEBUG]	Processing product tax
2023-10-13	13:32:21	3878	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:21	3878	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:21	3878	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:21	3878	[DEBUG]	Query for Product
2023-10-13	13:32:21	3878	[DEBUG]	Executed store
2023-10-13	13:32:21	3878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1872_7','0.0096','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:21	3878	[DEBUG]	Check product language entry
2023-10-13	13:32:21	3878	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863370
2023-10-13	13:32:21	3878	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:21	3878	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1872_7' AND `virtuemart_product_id` != 1863370
2023-10-13	13:32:21	3878	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:21	3878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863370, 'A_1872_7')
2023-10-13	13:32:21	3878	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:21	3878	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-picot-pedales-msc-superflat-alu7075t6-32-unites-rouge' AND `virtuemart_product_id` != 1863370
2023-10-13	13:32:21	3878	[DEBUG]	Query for ProductLang
2023-10-13	13:32:21	3878	[DEBUG]	Executed store
2023-10-13	13:32:21	3878	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Picot pédales MSC Superflat. Alu7075T6, 32unités <br>0.3gr/unité <br>N° art fourn : AN02PIN',`product_name`='MSC Picot pédales MSC Superflat. Alu7075T6, 32 unités / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-picot-pedales-msc-superflat-alu7075t6-32-unites-rouge' WHERE `virtuemart_product_id` = '1863370'
2023-10-13	13:32:21	3878	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_7223.jpg
2023-10-13	13:32:21	3878	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:32:21	3878	[DEBUG]	Process image file
2023-10-13	13:32:21	3878	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:32:21	3878	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:21	3878	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_7223.jpg
2023-10-13	13:32:21	3878	[DEBUG]	Full name target: bcprisme/image_7223.jpg
2023-10-13	13:32:22	3878	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:22	3878	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_7223.jpg'
2023-10-13	13:32:22	3878	[DEBUG]	Query for Media
2023-10-13	13:32:22	3878	[DEBUG]	Executed store
2023-10-13	13:32:22	3878	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_7223.jpg',`file_url_thumb`='bcprisme/image_7223.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14414'
2023-10-13	13:32:22	3878	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:22	3878	[DEBUG]	Executed store
2023-10-13	13:32:22	3878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863370','14414','1')
2023-10-13	13:32:22	3878	[DEBUG]	Store product image relation
2023-10-13	13:32:22	3878	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:22	3878	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863370 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:22	3878	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:22	3878	[DEBUG]	Executed store
2023-10-13	13:32:22	3878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863370','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:22	3878	[DEBUG]	Checking manufacturer
2023-10-13	13:32:22	3878	[DEBUG]	Load a row
2023-10-13	13:32:22	3878	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:22	3878	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:22	3878	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:22	3878	[DEBUG]	Executed store
2023-10-13	13:32:22	3878	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:22	3878	[DEBUG]	Manufacturer exists
2023-10-13	13:32:22	3878	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:22	3878	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:22	3878	[DEBUG]	Executed store
2023-10-13	13:32:22	3878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863370','32')
2023-10-13	13:32:22	3878	[DEBUG]	Find the custom field ID
2023-10-13	13:32:22	3878	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:22	3878	[DEBUG]	No custom field ID found
2023-10-13	13:32:22	3878	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:22	3878	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:32:22	3878	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863370 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:22	3878	[DEBUG]	Store custom available field
2023-10-13	13:32:22	3878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863370,3,'21.8391666666667',1)
2023-10-13	13:32:22	3878	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:22	3878	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:22	3878	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863370 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:22	3878	[DEBUG]	Store custom available field
2023-10-13	13:32:22	3878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863370,6,'choisir la taille',3)
2023-10-13	13:32:22	3878	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:22	3878	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:22	3878	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:22	3878	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:22	3878	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863370 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:22	3878	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:22	3878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863370,8,1)
2023-10-13	13:32:22	3878	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:22	3878	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863370\":[1863370,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863370
2023-10-13	13:32:22	3878	[DEBUG]	Checking category
2023-10-13	13:32:22	3878	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:22	3878	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863370
2023-10-13	13:32:22	3878	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:22	3878	[DEBUG]	Executed store
2023-10-13	13:32:22	3878	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863370','7390')
2023-10-13	13:32:22	3878	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:22	3878	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863370 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:22	3878	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:22	3878	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863370
2023-10-13	13:32:22	3879	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:22	3879	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:22	3879	[DEBUG]	Use field value for field taille
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:22	3879	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:22	3879	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:22	3879	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:22	3879	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:22	3879	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:22	3879	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:22	3879	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:22	3879	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:22	3879	[DEBUG]	Use field value for field published
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:22	3879	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field override
2023-10-13	13:32:22	3879	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:22	3879	[DEBUG]	Use field value for field slug
2023-10-13	13:32:22	3879	[DEBUG]	Process line 3879
2023-10-13	13:32:22	3879	[DEBUG]	Load a row
2023-10-13	13:32:22	3879	[DEBUG]	Processing item: 1000000032536
2023-10-13	13:32:22	3879	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:22	3879	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:22	3879	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1872_7'
2023-10-13	13:32:22	3879	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:22	3879	[DEBUG]	Processing product tax
2023-10-13	13:32:22	3879	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:22	3879	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:22	3879	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:22	3879	[DEBUG]	Query for Product
2023-10-13	13:32:22	3879	[DEBUG]	Executed store
2023-10-13	13:32:22	3879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863370','1000000032536','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:22	3879	[DEBUG]	No parent found
2023-10-13	13:32:22	3879	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863370 AND customfield_value = 'stockable'
2023-10-13	13:32:22	3879	[DEBUG]	Check product language entry
2023-10-13	13:32:22	3879	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863371
2023-10-13	13:32:22	3879	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:22	3879	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000032536' AND `virtuemart_product_id` != 1863371
2023-10-13	13:32:22	3879	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:22	3879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863371, '1000000032536')
2023-10-13	13:32:22	3879	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:22	3879	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-picot-pedales-msc-superflat-alu7075t6-32-unites-rouge-unitaire' AND `virtuemart_product_id` != 1863371
2023-10-13	13:32:22	3879	[DEBUG]	Query for ProductLang
2023-10-13	13:32:22	3879	[DEBUG]	Executed store
2023-10-13	13:32:22	3879	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Picot pédales MSC Superflat. Alu7075T6, 32 unités / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-picot-pedales-msc-superflat-alu7075t6-32-unites-rouge-unitaire' WHERE `virtuemart_product_id` = '1863371'
2023-10-13	13:32:22	3879	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_7223.jpg
2023-10-13	13:32:22	3879	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:32:22	3879	[DEBUG]	Process image file
2023-10-13	13:32:22	3879	[DEBUG]	Identity string: ffd8ffe1002445786966000049492a0008000000
2023-10-13	13:32:22	3879	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:22	3879	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_7223.jpg
2023-10-13	13:32:22	3879	[DEBUG]	Full name target: bcprisme/image_7223.jpg
2023-10-13	13:32:23	3879	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:23	3879	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_7223.jpg'
2023-10-13	13:32:23	3879	[DEBUG]	Query for Media
2023-10-13	13:32:23	3879	[DEBUG]	Executed store
2023-10-13	13:32:23	3879	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_7223.jpg',`file_url_thumb`='bcprisme/image_7223.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14414'
2023-10-13	13:32:23	3879	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:23	3879	[DEBUG]	Executed store
2023-10-13	13:32:23	3879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863371','14414','1')
2023-10-13	13:32:23	3879	[DEBUG]	Store product image relation
2023-10-13	13:32:23	3879	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:23	3879	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863371 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:23	3879	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:23	3879	[DEBUG]	Executed store
2023-10-13	13:32:23	3879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863371','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:23	3879	[DEBUG]	Checking manufacturer
2023-10-13	13:32:23	3879	[DEBUG]	Load a row
2023-10-13	13:32:23	3879	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:23	3879	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:23	3879	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:23	3879	[DEBUG]	Executed store
2023-10-13	13:32:23	3879	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:23	3879	[DEBUG]	Manufacturer exists
2023-10-13	13:32:23	3879	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:23	3879	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:23	3879	[DEBUG]	Executed store
2023-10-13	13:32:23	3879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863371','32')
2023-10-13	13:32:23	3879	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:23	3879	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:23	3879	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863371 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:23	3879	[DEBUG]	Store custom available field
2023-10-13	13:32:23	3879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863371,3,'',1)
2023-10-13	13:32:23	3879	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:23	3879	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:23	3879	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863371 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:23	3879	[DEBUG]	Store custom available field
2023-10-13	13:32:23	3879	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863371,6,'Unitaire',3)
2023-10-13	13:32:23	3879	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:23	3879	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:23	3879	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863370
2023-10-13	13:32:23	3879	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:23	3879	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863370\":[1863370,8,1,\"choisir la taille\"],\"1863371\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863370
2023-10-13	13:32:23	3879	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:23	3879	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863371
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:23	3880	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field taille
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:23	3880	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:23	3880	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:23	3880	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:23	3880	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:23	3880	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:23	3880	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field published
2023-10-13	13:32:23	3880	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:23	3880	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field override
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:23	3880	[DEBUG]	Use field value for field slug
2023-10-13	13:32:23	3880	[DEBUG]	Process line 3880
2023-10-13	13:32:23	3880	[DEBUG]	Load a row
2023-10-13	13:32:23	3880	[DEBUG]	Processing item: A_1872_13
2023-10-13	13:32:23	3880	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:23	3880	[DEBUG]	Processing product tax
2023-10-13	13:32:23	3880	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:23	3880	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:23	3880	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:23	3880	[DEBUG]	Query for Product
2023-10-13	13:32:23	3880	[DEBUG]	Executed store
2023-10-13	13:32:23	3880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1872_13','0.0096','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:23	3880	[DEBUG]	Check product language entry
2023-10-13	13:32:23	3880	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863372
2023-10-13	13:32:23	3880	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:23	3880	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1872_13' AND `virtuemart_product_id` != 1863372
2023-10-13	13:32:23	3880	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:23	3880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863372, 'A_1872_13')
2023-10-13	13:32:23	3880	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:23	3880	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-picot-pedales-msc-superflat-alu7075t6-32-unites-argent' AND `virtuemart_product_id` != 1863372
2023-10-13	13:32:23	3880	[DEBUG]	Query for ProductLang
2023-10-13	13:32:23	3880	[DEBUG]	Executed store
2023-10-13	13:32:23	3880	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Picot pédales MSC Superflat. Alu7075T6, 32unités <br>0.3gr/unité <br>N° art fourn : AN02PIN',`product_name`='MSC Picot pédales MSC Superflat. Alu7075T6, 32 unités / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-picot-pedales-msc-superflat-alu7075t6-32-unites-argent' WHERE `virtuemart_product_id` = '1863372'
2023-10-13	13:32:23	3880	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12160.jpg
2023-10-13	13:32:23	3880	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:23	3880	[DEBUG]	Process image file
2023-10-13	13:32:23	3880	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:23	3880	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:23	3880	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12160.jpg
2023-10-13	13:32:23	3880	[DEBUG]	Full name target: bcprisme/image_12160.jpg
2023-10-13	13:32:24	3880	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:24	3880	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12160.jpg'
2023-10-13	13:32:24	3880	[DEBUG]	Query for Media
2023-10-13	13:32:24	3880	[DEBUG]	Executed store
2023-10-13	13:32:24	3880	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12160.jpg',`file_url_thumb`='bcprisme/image_12160.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14415'
2023-10-13	13:32:24	3880	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:24	3880	[DEBUG]	Executed store
2023-10-13	13:32:24	3880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863372','14415','1')
2023-10-13	13:32:24	3880	[DEBUG]	Store product image relation
2023-10-13	13:32:24	3880	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:24	3880	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863372 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:24	3880	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:24	3880	[DEBUG]	Executed store
2023-10-13	13:32:24	3880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863372','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:24	3880	[DEBUG]	Checking manufacturer
2023-10-13	13:32:24	3880	[DEBUG]	Load a row
2023-10-13	13:32:24	3880	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:24	3880	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:24	3880	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:24	3880	[DEBUG]	Executed store
2023-10-13	13:32:24	3880	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:24	3880	[DEBUG]	Manufacturer exists
2023-10-13	13:32:24	3880	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:24	3880	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:24	3880	[DEBUG]	Executed store
2023-10-13	13:32:24	3880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863372','32')
2023-10-13	13:32:24	3880	[DEBUG]	Find the custom field ID
2023-10-13	13:32:24	3880	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:24	3880	[DEBUG]	No custom field ID found
2023-10-13	13:32:24	3880	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:24	3880	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:32:24	3880	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863372 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:24	3880	[DEBUG]	Store custom available field
2023-10-13	13:32:24	3880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863372,3,'21.8391666666667',1)
2023-10-13	13:32:24	3880	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:24	3880	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:24	3880	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863372 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:24	3880	[DEBUG]	Store custom available field
2023-10-13	13:32:24	3880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863372,6,'choisir la taille',3)
2023-10-13	13:32:24	3880	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:24	3880	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:24	3880	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:24	3880	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:24	3880	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863372 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:24	3880	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:24	3880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863372,8,1)
2023-10-13	13:32:24	3880	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:24	3880	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863372\":[1863372,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863372
2023-10-13	13:32:24	3880	[DEBUG]	Checking category
2023-10-13	13:32:24	3880	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:24	3880	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863372
2023-10-13	13:32:24	3880	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:24	3880	[DEBUG]	Executed store
2023-10-13	13:32:24	3880	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863372','7390')
2023-10-13	13:32:24	3880	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:24	3880	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863372 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:24	3880	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:24	3880	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863372
2023-10-13	13:32:24	3881	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:24	3881	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:24	3881	[DEBUG]	Use field value for field taille
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:24	3881	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:24	3881	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:24	3881	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:24	3881	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:24	3881	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:24	3881	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:24	3881	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:24	3881	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:24	3881	[DEBUG]	Use field value for field published
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:24	3881	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field override
2023-10-13	13:32:24	3881	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:24	3881	[DEBUG]	Use field value for field slug
2023-10-13	13:32:24	3881	[DEBUG]	Process line 3881
2023-10-13	13:32:24	3881	[DEBUG]	Load a row
2023-10-13	13:32:24	3881	[DEBUG]	Processing item: 1000000048728
2023-10-13	13:32:24	3881	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:24	3881	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:24	3881	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1872_13'
2023-10-13	13:32:24	3881	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:24	3881	[DEBUG]	Processing product tax
2023-10-13	13:32:24	3881	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:24	3881	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:24	3881	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:24	3881	[DEBUG]	Query for Product
2023-10-13	13:32:24	3881	[DEBUG]	Executed store
2023-10-13	13:32:24	3881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863372','1000000048728','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:24	3881	[DEBUG]	No parent found
2023-10-13	13:32:24	3881	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863372 AND customfield_value = 'stockable'
2023-10-13	13:32:24	3881	[DEBUG]	Check product language entry
2023-10-13	13:32:24	3881	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863373
2023-10-13	13:32:24	3881	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:24	3881	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000048728' AND `virtuemart_product_id` != 1863373
2023-10-13	13:32:24	3881	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:24	3881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863373, '1000000048728')
2023-10-13	13:32:24	3881	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:24	3881	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-picot-pedales-msc-superflat-alu7075t6-32-unites-argent-unitaire' AND `virtuemart_product_id` != 1863373
2023-10-13	13:32:24	3881	[DEBUG]	Query for ProductLang
2023-10-13	13:32:24	3881	[DEBUG]	Executed store
2023-10-13	13:32:24	3881	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Picot pédales MSC Superflat. Alu7075T6, 32 unités / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-picot-pedales-msc-superflat-alu7075t6-32-unites-argent-unitaire' WHERE `virtuemart_product_id` = '1863373'
2023-10-13	13:32:24	3881	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12160.jpg
2023-10-13	13:32:24	3881	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:24	3881	[DEBUG]	Process image file
2023-10-13	13:32:24	3881	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:24	3881	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:24	3881	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12160.jpg
2023-10-13	13:32:24	3881	[DEBUG]	Full name target: bcprisme/image_12160.jpg
2023-10-13	13:32:25	3881	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:25	3881	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12160.jpg'
2023-10-13	13:32:25	3881	[DEBUG]	Query for Media
2023-10-13	13:32:25	3881	[DEBUG]	Executed store
2023-10-13	13:32:25	3881	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12160.jpg',`file_url_thumb`='bcprisme/image_12160.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14415'
2023-10-13	13:32:25	3881	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:25	3881	[DEBUG]	Executed store
2023-10-13	13:32:25	3881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863373','14415','1')
2023-10-13	13:32:25	3881	[DEBUG]	Store product image relation
2023-10-13	13:32:25	3881	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:25	3881	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863373 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:25	3881	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:25	3881	[DEBUG]	Executed store
2023-10-13	13:32:25	3881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863373','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:25	3881	[DEBUG]	Checking manufacturer
2023-10-13	13:32:25	3881	[DEBUG]	Load a row
2023-10-13	13:32:25	3881	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:25	3881	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:25	3881	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:25	3881	[DEBUG]	Executed store
2023-10-13	13:32:25	3881	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:25	3881	[DEBUG]	Manufacturer exists
2023-10-13	13:32:25	3881	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:25	3881	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:25	3881	[DEBUG]	Executed store
2023-10-13	13:32:25	3881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863373','32')
2023-10-13	13:32:25	3881	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:25	3881	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:25	3881	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863373 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:25	3881	[DEBUG]	Store custom available field
2023-10-13	13:32:25	3881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863373,3,'',1)
2023-10-13	13:32:25	3881	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:25	3881	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:25	3881	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863373 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:25	3881	[DEBUG]	Store custom available field
2023-10-13	13:32:25	3881	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863373,6,'Unitaire',3)
2023-10-13	13:32:25	3881	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:25	3881	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:25	3881	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863372
2023-10-13	13:32:25	3881	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:25	3881	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863372\":[1863372,8,1,\"choisir la taille\"],\"1863373\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863372
2023-10-13	13:32:25	3881	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:25	3881	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863373
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:25	3882	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field taille
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:25	3882	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:25	3882	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:25	3882	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:25	3882	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:25	3882	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:25	3882	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field published
2023-10-13	13:32:25	3882	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:25	3882	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field override
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:25	3882	[DEBUG]	Use field value for field slug
2023-10-13	13:32:25	3882	[DEBUG]	Process line 3882
2023-10-13	13:32:25	3882	[DEBUG]	Load a row
2023-10-13	13:32:25	3882	[DEBUG]	Processing item: A_1872_22
2023-10-13	13:32:25	3882	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:25	3882	[DEBUG]	Processing product tax
2023-10-13	13:32:25	3882	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:25	3882	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:25	3882	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:25	3882	[DEBUG]	Query for Product
2023-10-13	13:32:25	3882	[DEBUG]	Executed store
2023-10-13	13:32:25	3882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1872_22','0.0096','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:25	3882	[DEBUG]	Check product language entry
2023-10-13	13:32:25	3882	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863374
2023-10-13	13:32:25	3882	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:25	3882	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1872_22' AND `virtuemart_product_id` != 1863374
2023-10-13	13:32:25	3882	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:25	3882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863374, 'A_1872_22')
2023-10-13	13:32:25	3882	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:25	3882	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-picot-pedales-msc-superflat-alu7075t6-32-unites-bleu' AND `virtuemart_product_id` != 1863374
2023-10-13	13:32:25	3882	[DEBUG]	Query for ProductLang
2023-10-13	13:32:25	3882	[DEBUG]	Executed store
2023-10-13	13:32:25	3882	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Picot pédales MSC Superflat. Alu7075T6, 32unités <br>0.3gr/unité <br>N° art fourn : AN02PIN',`product_name`='MSC Picot pédales MSC Superflat. Alu7075T6, 32 unités / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-picot-pedales-msc-superflat-alu7075t6-32-unites-bleu' WHERE `virtuemart_product_id` = '1863374'
2023-10-13	13:32:25	3882	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12081.jpg
2023-10-13	13:32:25	3882	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:25	3882	[DEBUG]	Process image file
2023-10-13	13:32:25	3882	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:25	3882	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:25	3882	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12081.jpg
2023-10-13	13:32:25	3882	[DEBUG]	Full name target: bcprisme/image_12081.jpg
2023-10-13	13:32:26	3882	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:26	3882	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12081.jpg'
2023-10-13	13:32:26	3882	[DEBUG]	Query for Media
2023-10-13	13:32:26	3882	[DEBUG]	Executed store
2023-10-13	13:32:26	3882	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12081.jpg',`file_url_thumb`='bcprisme/image_12081.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14416'
2023-10-13	13:32:26	3882	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:26	3882	[DEBUG]	Executed store
2023-10-13	13:32:26	3882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863374','14416','1')
2023-10-13	13:32:26	3882	[DEBUG]	Store product image relation
2023-10-13	13:32:26	3882	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:26	3882	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863374 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:26	3882	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:26	3882	[DEBUG]	Executed store
2023-10-13	13:32:26	3882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863374','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:26	3882	[DEBUG]	Checking manufacturer
2023-10-13	13:32:26	3882	[DEBUG]	Load a row
2023-10-13	13:32:26	3882	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:26	3882	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:26	3882	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:26	3882	[DEBUG]	Executed store
2023-10-13	13:32:26	3882	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:26	3882	[DEBUG]	Manufacturer exists
2023-10-13	13:32:26	3882	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:26	3882	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:26	3882	[DEBUG]	Executed store
2023-10-13	13:32:26	3882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863374','32')
2023-10-13	13:32:26	3882	[DEBUG]	Find the custom field ID
2023-10-13	13:32:26	3882	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:26	3882	[DEBUG]	No custom field ID found
2023-10-13	13:32:26	3882	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:26	3882	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:32:26	3882	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863374 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:26	3882	[DEBUG]	Store custom available field
2023-10-13	13:32:26	3882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863374,3,'21.8391666666667',1)
2023-10-13	13:32:26	3882	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:26	3882	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:26	3882	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863374 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:26	3882	[DEBUG]	Store custom available field
2023-10-13	13:32:26	3882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863374,6,'choisir la taille',3)
2023-10-13	13:32:26	3882	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:26	3882	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:26	3882	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:26	3882	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:26	3882	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863374 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:26	3882	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:26	3882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863374,8,1)
2023-10-13	13:32:26	3882	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:26	3882	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863374\":[1863374,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863374
2023-10-13	13:32:26	3882	[DEBUG]	Checking category
2023-10-13	13:32:26	3882	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:26	3882	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863374
2023-10-13	13:32:26	3882	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:26	3882	[DEBUG]	Executed store
2023-10-13	13:32:26	3882	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863374','7390')
2023-10-13	13:32:26	3882	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:26	3882	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863374 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:26	3882	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:26	3882	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863374
2023-10-13	13:32:26	3883	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:26	3883	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:26	3883	[DEBUG]	Use field value for field taille
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:26	3883	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:26	3883	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:26	3883	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:26	3883	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:26	3883	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:26	3883	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:26	3883	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:26	3883	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:26	3883	[DEBUG]	Use field value for field published
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:26	3883	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field override
2023-10-13	13:32:26	3883	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:26	3883	[DEBUG]	Use field value for field slug
2023-10-13	13:32:26	3883	[DEBUG]	Process line 3883
2023-10-13	13:32:26	3883	[DEBUG]	Load a row
2023-10-13	13:32:26	3883	[DEBUG]	Processing item: 1000000048032
2023-10-13	13:32:26	3883	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:26	3883	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:26	3883	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1872_22'
2023-10-13	13:32:26	3883	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:26	3883	[DEBUG]	Processing product tax
2023-10-13	13:32:26	3883	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:26	3883	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:26	3883	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:26	3883	[DEBUG]	Query for Product
2023-10-13	13:32:26	3883	[DEBUG]	Executed store
2023-10-13	13:32:26	3883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863374','1000000048032','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:26	3883	[DEBUG]	No parent found
2023-10-13	13:32:26	3883	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863374 AND customfield_value = 'stockable'
2023-10-13	13:32:26	3883	[DEBUG]	Check product language entry
2023-10-13	13:32:26	3883	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863375
2023-10-13	13:32:26	3883	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:26	3883	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000048032' AND `virtuemart_product_id` != 1863375
2023-10-13	13:32:26	3883	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:26	3883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863375, '1000000048032')
2023-10-13	13:32:26	3883	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:26	3883	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-picot-pedales-msc-superflat-alu7075t6-32-unites-bleu-unitaire' AND `virtuemart_product_id` != 1863375
2023-10-13	13:32:26	3883	[DEBUG]	Query for ProductLang
2023-10-13	13:32:26	3883	[DEBUG]	Executed store
2023-10-13	13:32:26	3883	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Picot pédales MSC Superflat. Alu7075T6, 32 unités / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-picot-pedales-msc-superflat-alu7075t6-32-unites-bleu-unitaire' WHERE `virtuemart_product_id` = '1863375'
2023-10-13	13:32:26	3883	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12081.jpg
2023-10-13	13:32:26	3883	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:26	3883	[DEBUG]	Process image file
2023-10-13	13:32:26	3883	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:26	3883	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:26	3883	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12081.jpg
2023-10-13	13:32:26	3883	[DEBUG]	Full name target: bcprisme/image_12081.jpg
2023-10-13	13:32:27	3883	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:27	3883	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12081.jpg'
2023-10-13	13:32:27	3883	[DEBUG]	Query for Media
2023-10-13	13:32:27	3883	[DEBUG]	Executed store
2023-10-13	13:32:27	3883	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12081.jpg',`file_url_thumb`='bcprisme/image_12081.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14416'
2023-10-13	13:32:27	3883	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:27	3883	[DEBUG]	Executed store
2023-10-13	13:32:27	3883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863375','14416','1')
2023-10-13	13:32:27	3883	[DEBUG]	Store product image relation
2023-10-13	13:32:27	3883	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:27	3883	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863375 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:27	3883	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:27	3883	[DEBUG]	Executed store
2023-10-13	13:32:27	3883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863375','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:27	3883	[DEBUG]	Checking manufacturer
2023-10-13	13:32:27	3883	[DEBUG]	Load a row
2023-10-13	13:32:27	3883	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:27	3883	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:27	3883	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:27	3883	[DEBUG]	Executed store
2023-10-13	13:32:27	3883	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:27	3883	[DEBUG]	Manufacturer exists
2023-10-13	13:32:27	3883	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:27	3883	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:27	3883	[DEBUG]	Executed store
2023-10-13	13:32:27	3883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863375','32')
2023-10-13	13:32:27	3883	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:27	3883	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:27	3883	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863375 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:27	3883	[DEBUG]	Store custom available field
2023-10-13	13:32:27	3883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863375,3,'',1)
2023-10-13	13:32:27	3883	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:27	3883	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:27	3883	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863375 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:27	3883	[DEBUG]	Store custom available field
2023-10-13	13:32:27	3883	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863375,6,'Unitaire',3)
2023-10-13	13:32:27	3883	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:27	3883	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:27	3883	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863374
2023-10-13	13:32:27	3883	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:27	3883	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863374\":[1863374,8,1,\"choisir la taille\"],\"1863375\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863374
2023-10-13	13:32:27	3883	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:27	3883	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863375
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:27	3884	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field taille
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:27	3884	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:27	3884	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:27	3884	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:27	3884	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:27	3884	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:27	3884	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field published
2023-10-13	13:32:27	3884	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:27	3884	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field override
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:27	3884	[DEBUG]	Use field value for field slug
2023-10-13	13:32:27	3884	[DEBUG]	Process line 3884
2023-10-13	13:32:27	3884	[DEBUG]	Load a row
2023-10-13	13:32:27	3884	[DEBUG]	Processing item: A_1872_40
2023-10-13	13:32:27	3884	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:27	3884	[DEBUG]	Processing product tax
2023-10-13	13:32:27	3884	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:27	3884	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:27	3884	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:27	3884	[DEBUG]	Query for Product
2023-10-13	13:32:27	3884	[DEBUG]	Executed store
2023-10-13	13:32:27	3884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1872_40','0.0096','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:27	3884	[DEBUG]	Check product language entry
2023-10-13	13:32:27	3884	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863376
2023-10-13	13:32:27	3884	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:27	3884	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1872_40' AND `virtuemart_product_id` != 1863376
2023-10-13	13:32:27	3884	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:27	3884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863376, 'A_1872_40')
2023-10-13	13:32:27	3884	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:27	3884	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-picot-pedales-msc-superflat-alu7075t6-32-unites-vert' AND `virtuemart_product_id` != 1863376
2023-10-13	13:32:27	3884	[DEBUG]	Query for ProductLang
2023-10-13	13:32:27	3884	[DEBUG]	Executed store
2023-10-13	13:32:27	3884	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Picot pédales MSC Superflat. Alu7075T6, 32unités <br>0.3gr/unité <br>N° art fourn : AN02PIN',`product_name`='MSC Picot pédales MSC Superflat. Alu7075T6, 32 unités / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-picot-pedales-msc-superflat-alu7075t6-32-unites-vert' WHERE `virtuemart_product_id` = '1863376'
2023-10-13	13:32:27	3884	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12083.jpg
2023-10-13	13:32:27	3884	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:27	3884	[DEBUG]	Process image file
2023-10-13	13:32:27	3884	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:27	3884	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:27	3884	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12083.jpg
2023-10-13	13:32:27	3884	[DEBUG]	Full name target: bcprisme/image_12083.jpg
2023-10-13	13:32:28	3884	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:28	3884	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12083.jpg'
2023-10-13	13:32:28	3884	[DEBUG]	Query for Media
2023-10-13	13:32:28	3884	[DEBUG]	Executed store
2023-10-13	13:32:28	3884	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12083.jpg',`file_url_thumb`='bcprisme/image_12083.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14417'
2023-10-13	13:32:28	3884	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:28	3884	[DEBUG]	Executed store
2023-10-13	13:32:28	3884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863376','14417','1')
2023-10-13	13:32:28	3884	[DEBUG]	Store product image relation
2023-10-13	13:32:28	3884	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:28	3884	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863376 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:28	3884	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:28	3884	[DEBUG]	Executed store
2023-10-13	13:32:28	3884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863376','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:28	3884	[DEBUG]	Checking manufacturer
2023-10-13	13:32:28	3884	[DEBUG]	Load a row
2023-10-13	13:32:28	3884	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:28	3884	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:28	3884	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:28	3884	[DEBUG]	Executed store
2023-10-13	13:32:28	3884	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:28	3884	[DEBUG]	Manufacturer exists
2023-10-13	13:32:28	3884	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:28	3884	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:28	3884	[DEBUG]	Executed store
2023-10-13	13:32:28	3884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863376','32')
2023-10-13	13:32:28	3884	[DEBUG]	Find the custom field ID
2023-10-13	13:32:28	3884	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:28	3884	[DEBUG]	No custom field ID found
2023-10-13	13:32:28	3884	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:28	3884	[DEBUG]	Get existing row with customfield value 21.8391666666667
2023-10-13	13:32:28	3884	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863376 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:28	3884	[DEBUG]	Store custom available field
2023-10-13	13:32:28	3884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863376,3,'21.8391666666667',1)
2023-10-13	13:32:28	3884	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:28	3884	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:28	3884	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863376 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:28	3884	[DEBUG]	Store custom available field
2023-10-13	13:32:28	3884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863376,6,'choisir la taille',3)
2023-10-13	13:32:28	3884	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:28	3884	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:28	3884	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:28	3884	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:28	3884	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863376 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:28	3884	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:28	3884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863376,8,1)
2023-10-13	13:32:28	3884	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:28	3884	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863376\":[1863376,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863376
2023-10-13	13:32:28	3884	[DEBUG]	Checking category
2023-10-13	13:32:28	3884	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:28	3884	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863376
2023-10-13	13:32:28	3884	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:28	3884	[DEBUG]	Executed store
2023-10-13	13:32:28	3884	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863376','7390')
2023-10-13	13:32:28	3884	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:28	3884	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863376 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:28	3884	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:28	3884	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863376
2023-10-13	13:32:28	3885	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:28	3885	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:28	3885	[DEBUG]	Use field value for field taille
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:28	3885	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:28	3885	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:28	3885	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:28	3885	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:28	3885	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:28	3885	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:28	3885	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:28	3885	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:28	3885	[DEBUG]	Use field value for field published
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:28	3885	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field override
2023-10-13	13:32:28	3885	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:28	3885	[DEBUG]	Use field value for field slug
2023-10-13	13:32:28	3885	[DEBUG]	Process line 3885
2023-10-13	13:32:28	3885	[DEBUG]	Load a row
2023-10-13	13:32:28	3885	[DEBUG]	Processing item: 1000000048056
2023-10-13	13:32:28	3885	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:28	3885	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:28	3885	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1872_40'
2023-10-13	13:32:28	3885	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:28	3885	[DEBUG]	Processing product tax
2023-10-13	13:32:28	3885	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:28	3885	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:28	3885	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:28	3885	[DEBUG]	Query for Product
2023-10-13	13:32:28	3885	[DEBUG]	Executed store
2023-10-13	13:32:28	3885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863376','1000000048056','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:28	3885	[DEBUG]	No parent found
2023-10-13	13:32:28	3885	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863376 AND customfield_value = 'stockable'
2023-10-13	13:32:28	3885	[DEBUG]	Check product language entry
2023-10-13	13:32:28	3885	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863377
2023-10-13	13:32:28	3885	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:28	3885	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000048056' AND `virtuemart_product_id` != 1863377
2023-10-13	13:32:28	3885	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:28	3885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863377, '1000000048056')
2023-10-13	13:32:28	3885	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:28	3885	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-picot-pedales-msc-superflat-alu7075t6-32-unites-vert-unitaire' AND `virtuemart_product_id` != 1863377
2023-10-13	13:32:28	3885	[DEBUG]	Query for ProductLang
2023-10-13	13:32:28	3885	[DEBUG]	Executed store
2023-10-13	13:32:28	3885	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Picot pédales MSC Superflat. Alu7075T6, 32 unités / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-picot-pedales-msc-superflat-alu7075t6-32-unites-vert-unitaire' WHERE `virtuemart_product_id` = '1863377'
2023-10-13	13:32:28	3885	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12083.jpg
2023-10-13	13:32:28	3885	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:28	3885	[DEBUG]	Process image file
2023-10-13	13:32:28	3885	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:28	3885	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:28	3885	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_12083.jpg
2023-10-13	13:32:28	3885	[DEBUG]	Full name target: bcprisme/image_12083.jpg
2023-10-13	13:32:29	3885	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:29	3885	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_12083.jpg'
2023-10-13	13:32:29	3885	[DEBUG]	Query for Media
2023-10-13	13:32:29	3885	[DEBUG]	Executed store
2023-10-13	13:32:29	3885	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_12083.jpg',`file_url_thumb`='bcprisme/image_12083.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14417'
2023-10-13	13:32:29	3885	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:29	3885	[DEBUG]	Executed store
2023-10-13	13:32:29	3885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863377','14417','1')
2023-10-13	13:32:29	3885	[DEBUG]	Store product image relation
2023-10-13	13:32:29	3885	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:29	3885	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863377 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:29	3885	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:29	3885	[DEBUG]	Executed store
2023-10-13	13:32:29	3885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863377','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:29	3885	[DEBUG]	Checking manufacturer
2023-10-13	13:32:29	3885	[DEBUG]	Load a row
2023-10-13	13:32:29	3885	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:29	3885	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:29	3885	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:29	3885	[DEBUG]	Executed store
2023-10-13	13:32:29	3885	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:29	3885	[DEBUG]	Manufacturer exists
2023-10-13	13:32:29	3885	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:29	3885	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:29	3885	[DEBUG]	Executed store
2023-10-13	13:32:29	3885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863377','32')
2023-10-13	13:32:29	3885	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:29	3885	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:29	3885	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863377 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:29	3885	[DEBUG]	Store custom available field
2023-10-13	13:32:29	3885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863377,3,'',1)
2023-10-13	13:32:29	3885	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:29	3885	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:29	3885	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863377 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:29	3885	[DEBUG]	Store custom available field
2023-10-13	13:32:29	3885	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863377,6,'Unitaire',3)
2023-10-13	13:32:29	3885	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:29	3885	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:29	3885	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863376
2023-10-13	13:32:29	3885	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:29	3885	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863376\":[1863376,8,1,\"choisir la taille\"],\"1863377\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863376
2023-10-13	13:32:29	3885	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:29	3885	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863377
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:29	3886	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field taille
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:29	3886	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:29	3886	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:29	3886	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:29	3886	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:29	3886	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:29	3886	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field published
2023-10-13	13:32:29	3886	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:29	3886	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field override
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:29	3886	[DEBUG]	Use field value for field slug
2023-10-13	13:32:29	3886	[DEBUG]	Process line 3886
2023-10-13	13:32:29	3886	[DEBUG]	Load a row
2023-10-13	13:32:29	3886	[DEBUG]	Processing item: A_3196_0
2023-10-13	13:32:29	3886	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:29	3886	[DEBUG]	Processing product tax
2023-10-13	13:32:29	3886	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:29	3886	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:29	3886	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:29	3886	[DEBUG]	Query for Product
2023-10-13	13:32:29	3886	[DEBUG]	Executed store
2023-10-13	13:32:29	3886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3196_0','0.08','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:29	3886	[DEBUG]	Check product language entry
2023-10-13	13:32:29	3886	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863378
2023-10-13	13:32:29	3886	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:29	3886	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3196_0' AND `virtuemart_product_id` != 1863378
2023-10-13	13:32:29	3886	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:29	3886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863378, 'A_3196_0')
2023-10-13	13:32:29	3886	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:29	3886	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-kit-rechange-pedale-an1403-unique' AND `virtuemart_product_id` != 1863378
2023-10-13	13:32:29	3886	[DEBUG]	Query for ProductLang
2023-10-13	13:32:29	3886	[DEBUG]	Executed store
2023-10-13	13:32:29	3886	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Kit rechange pédale AN1403<br>N° art fourn : KITAN1403',`product_name`='MLV-Bike Kit rechange pédale AN1403 / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-kit-rechange-pedale-an1403-unique' WHERE `virtuemart_product_id` = '1863378'
2023-10-13	13:32:29	3886	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15564.jpg
2023-10-13	13:32:29	3886	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:29	3886	[DEBUG]	Process image file
2023-10-13	13:32:29	3886	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:29	3886	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:29	3886	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15564.jpg
2023-10-13	13:32:29	3886	[DEBUG]	Full name target: bcprisme/image_15564.jpg
2023-10-13	13:32:30	3886	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:30	3886	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15564.jpg'
2023-10-13	13:32:30	3886	[DEBUG]	Query for Media
2023-10-13	13:32:30	3886	[DEBUG]	Executed store
2023-10-13	13:32:30	3886	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15564.jpg',`file_url_thumb`='bcprisme/image_15564.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14418'
2023-10-13	13:32:30	3886	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:30	3886	[DEBUG]	Executed store
2023-10-13	13:32:30	3886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863378','14418','1')
2023-10-13	13:32:30	3886	[DEBUG]	Store product image relation
2023-10-13	13:32:30	3886	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:30	3886	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863378 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:30	3886	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:30	3886	[DEBUG]	Executed store
2023-10-13	13:32:30	3886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863378','0','36.9545032497679','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:30	3886	[DEBUG]	Checking manufacturer
2023-10-13	13:32:30	3886	[DEBUG]	Load a row
2023-10-13	13:32:30	3886	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:30	3886	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:32:30	3886	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:30	3886	[DEBUG]	Executed store
2023-10-13	13:32:30	3886	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:32:30	3886	[DEBUG]	Manufacturer exists
2023-10-13	13:32:30	3886	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:32:30	3886	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:30	3886	[DEBUG]	Executed store
2023-10-13	13:32:30	3886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863378','2')
2023-10-13	13:32:30	3886	[DEBUG]	Find the custom field ID
2023-10-13	13:32:30	3886	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:30	3886	[DEBUG]	No custom field ID found
2023-10-13	13:32:30	3886	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:30	3886	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:32:30	3886	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863378 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:30	3886	[DEBUG]	Store custom available field
2023-10-13	13:32:30	3886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863378,3,'39.7891666666667',1)
2023-10-13	13:32:30	3886	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:30	3886	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:30	3886	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863378 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:30	3886	[DEBUG]	Store custom available field
2023-10-13	13:32:30	3886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863378,6,'choisir la taille',3)
2023-10-13	13:32:30	3886	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:30	3886	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:30	3886	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:30	3886	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:30	3886	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863378 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:30	3886	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:30	3886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863378,8,1)
2023-10-13	13:32:30	3886	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:30	3886	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863378\":[1863378,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863378
2023-10-13	13:32:30	3886	[DEBUG]	Checking category
2023-10-13	13:32:30	3886	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:30	3886	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863378
2023-10-13	13:32:30	3886	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:30	3886	[DEBUG]	Executed store
2023-10-13	13:32:30	3886	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863378','7390')
2023-10-13	13:32:30	3886	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:30	3886	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863378 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:30	3886	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:30	3886	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863378
2023-10-13	13:32:30	3887	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:30	3887	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:30	3887	[DEBUG]	Use field value for field taille
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:30	3887	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:30	3887	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:30	3887	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:30	3887	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:30	3887	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:30	3887	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:30	3887	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:30	3887	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:30	3887	[DEBUG]	Use field value for field published
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:30	3887	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field override
2023-10-13	13:32:30	3887	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:30	3887	[DEBUG]	Use field value for field slug
2023-10-13	13:32:30	3887	[DEBUG]	Process line 3887
2023-10-13	13:32:30	3887	[DEBUG]	Load a row
2023-10-13	13:32:30	3887	[DEBUG]	Processing item: 1000000051988
2023-10-13	13:32:30	3887	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:30	3887	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:30	3887	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3196_0'
2023-10-13	13:32:30	3887	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:30	3887	[DEBUG]	Processing product tax
2023-10-13	13:32:30	3887	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:30	3887	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:30	3887	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:30	3887	[DEBUG]	Query for Product
2023-10-13	13:32:30	3887	[DEBUG]	Executed store
2023-10-13	13:32:30	3887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863378','1000000051988','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:30	3887	[DEBUG]	No parent found
2023-10-13	13:32:30	3887	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863378 AND customfield_value = 'stockable'
2023-10-13	13:32:30	3887	[DEBUG]	Check product language entry
2023-10-13	13:32:30	3887	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863379
2023-10-13	13:32:30	3887	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:30	3887	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000051988' AND `virtuemart_product_id` != 1863379
2023-10-13	13:32:30	3887	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:30	3887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863379, '1000000051988')
2023-10-13	13:32:30	3887	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:30	3887	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-kit-rechange-pedale-an1403-unique-unitaire' AND `virtuemart_product_id` != 1863379
2023-10-13	13:32:30	3887	[DEBUG]	Query for ProductLang
2023-10-13	13:32:30	3887	[DEBUG]	Executed store
2023-10-13	13:32:30	3887	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Kit rechange pédale AN1403 / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-kit-rechange-pedale-an1403-unique-unitaire' WHERE `virtuemart_product_id` = '1863379'
2023-10-13	13:32:30	3887	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15564.jpg
2023-10-13	13:32:30	3887	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:30	3887	[DEBUG]	Process image file
2023-10-13	13:32:30	3887	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:30	3887	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:30	3887	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15564.jpg
2023-10-13	13:32:30	3887	[DEBUG]	Full name target: bcprisme/image_15564.jpg
2023-10-13	13:32:31	3887	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:31	3887	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15564.jpg'
2023-10-13	13:32:31	3887	[DEBUG]	Query for Media
2023-10-13	13:32:31	3887	[DEBUG]	Executed store
2023-10-13	13:32:31	3887	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15564.jpg',`file_url_thumb`='bcprisme/image_15564.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14418'
2023-10-13	13:32:31	3887	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:31	3887	[DEBUG]	Executed store
2023-10-13	13:32:31	3887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863379','14418','1')
2023-10-13	13:32:31	3887	[DEBUG]	Store product image relation
2023-10-13	13:32:31	3887	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:31	3887	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863379 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:31	3887	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:31	3887	[DEBUG]	Executed store
2023-10-13	13:32:31	3887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863379','0','36.9545032497679','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:31	3887	[DEBUG]	Checking manufacturer
2023-10-13	13:32:31	3887	[DEBUG]	Load a row
2023-10-13	13:32:31	3887	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:31	3887	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:32:31	3887	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:31	3887	[DEBUG]	Executed store
2023-10-13	13:32:31	3887	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:32:31	3887	[DEBUG]	Manufacturer exists
2023-10-13	13:32:31	3887	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:32:31	3887	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:31	3887	[DEBUG]	Executed store
2023-10-13	13:32:31	3887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863379','2')
2023-10-13	13:32:31	3887	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:31	3887	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:31	3887	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863379 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:31	3887	[DEBUG]	Store custom available field
2023-10-13	13:32:31	3887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863379,3,'',1)
2023-10-13	13:32:31	3887	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:31	3887	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:31	3887	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863379 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:31	3887	[DEBUG]	Store custom available field
2023-10-13	13:32:31	3887	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863379,6,'Unitaire',3)
2023-10-13	13:32:31	3887	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:31	3887	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:31	3887	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863378
2023-10-13	13:32:31	3887	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:31	3887	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863378\":[1863378,8,1,\"choisir la taille\"],\"1863379\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863378
2023-10-13	13:32:31	3887	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:31	3887	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863379
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:31	3888	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field taille
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:31	3888	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:31	3888	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:31	3888	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:31	3888	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:31	3888	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:31	3888	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field published
2023-10-13	13:32:31	3888	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:31	3888	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field override
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:31	3888	[DEBUG]	Use field value for field slug
2023-10-13	13:32:31	3888	[DEBUG]	Process line 3888
2023-10-13	13:32:31	3888	[DEBUG]	Load a row
2023-10-13	13:32:31	3888	[DEBUG]	Processing item: A_3875_1
2023-10-13	13:32:31	3888	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:31	3888	[DEBUG]	Processing product tax
2023-10-13	13:32:31	3888	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:31	3888	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:31	3888	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:31	3888	[DEBUG]	Query for Product
2023-10-13	13:32:31	3888	[DEBUG]	Executed store
2023-10-13	13:32:31	3888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3875_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:31	3888	[DEBUG]	Check product language entry
2023-10-13	13:32:31	3888	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863380
2023-10-13	13:32:31	3888	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:31	3888	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3875_1' AND `virtuemart_product_id` != 1863380
2023-10-13	13:32:31	3888	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:31	3888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863380, 'A_3875_1')
2023-10-13	13:32:31	3888	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:31	3888	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cales-pour-pedales-msc-compatibles-spd-shimano-noir' AND `virtuemart_product_id` != 1863380
2023-10-13	13:32:31	3888	[DEBUG]	Query for ProductLang
2023-10-13	13:32:31	3888	[DEBUG]	Executed store
2023-10-13	13:32:31	3888	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : ZPSC03',`product_name`='MSC Câles pour pédales MSC compatibles SPD Shimano / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cales-pour-pedales-msc-compatibles-spd-shimano-noir' WHERE `virtuemart_product_id` = '1863380'
2023-10-13	13:32:31	3888	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20290.jpg
2023-10-13	13:32:31	3888	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:31	3888	[DEBUG]	Process image file
2023-10-13	13:32:31	3888	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:31	3888	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:31	3888	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20290.jpg
2023-10-13	13:32:31	3888	[DEBUG]	Full name target: bcprisme/image_20290.jpg
2023-10-13	13:32:32	3888	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:32	3888	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20290.jpg'
2023-10-13	13:32:32	3888	[DEBUG]	Query for Media
2023-10-13	13:32:32	3888	[DEBUG]	Executed store
2023-10-13	13:32:32	3888	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20290.jpg',`file_url_thumb`='bcprisme/image_20290.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14419'
2023-10-13	13:32:32	3888	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:32	3888	[DEBUG]	Executed store
2023-10-13	13:32:32	3888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863380','14419','1')
2023-10-13	13:32:32	3888	[DEBUG]	Store product image relation
2023-10-13	13:32:32	3888	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:32	3888	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863380 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:32	3888	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:32	3888	[DEBUG]	Executed store
2023-10-13	13:32:32	3888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863380','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:32	3888	[DEBUG]	Checking manufacturer
2023-10-13	13:32:32	3888	[DEBUG]	Load a row
2023-10-13	13:32:32	3888	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:32	3888	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:32	3888	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:32	3888	[DEBUG]	Executed store
2023-10-13	13:32:32	3888	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:32	3888	[DEBUG]	Manufacturer exists
2023-10-13	13:32:32	3888	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:32	3888	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:32	3888	[DEBUG]	Executed store
2023-10-13	13:32:32	3888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863380','32')
2023-10-13	13:32:32	3888	[DEBUG]	Find the custom field ID
2023-10-13	13:32:32	3888	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:32	3888	[DEBUG]	No custom field ID found
2023-10-13	13:32:32	3888	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:32	3888	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:32:32	3888	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863380 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:32	3888	[DEBUG]	Store custom available field
2023-10-13	13:32:32	3888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863380,3,'16.8530555555556',1)
2023-10-13	13:32:32	3888	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:32	3888	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:32	3888	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863380 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:32	3888	[DEBUG]	Store custom available field
2023-10-13	13:32:32	3888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863380,6,'choisir la taille',3)
2023-10-13	13:32:32	3888	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:32	3888	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:32	3888	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:32	3888	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:32	3888	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863380 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:32	3888	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:32	3888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863380,8,1)
2023-10-13	13:32:32	3888	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:32	3888	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863380\":[1863380,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863380
2023-10-13	13:32:32	3888	[DEBUG]	Checking category
2023-10-13	13:32:32	3888	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:32	3888	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863380
2023-10-13	13:32:32	3888	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:32	3888	[DEBUG]	Executed store
2023-10-13	13:32:32	3888	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863380','7390')
2023-10-13	13:32:32	3888	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:32	3888	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863380 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:32	3888	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:32	3888	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863380
2023-10-13	13:32:32	3889	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:32	3889	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:32	3889	[DEBUG]	Use field value for field taille
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:32	3889	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:32	3889	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:32	3889	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:32	3889	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:32	3889	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:32	3889	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:32	3889	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:32	3889	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:32	3889	[DEBUG]	Use field value for field published
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:32	3889	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field override
2023-10-13	13:32:32	3889	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:32	3889	[DEBUG]	Use field value for field slug
2023-10-13	13:32:32	3889	[DEBUG]	Process line 3889
2023-10-13	13:32:32	3889	[DEBUG]	Load a row
2023-10-13	13:32:32	3889	[DEBUG]	Processing item: 1000000060713
2023-10-13	13:32:32	3889	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:32	3889	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:32	3889	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3875_1'
2023-10-13	13:32:32	3889	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:32	3889	[DEBUG]	Processing product tax
2023-10-13	13:32:32	3889	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:32	3889	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:32	3889	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:32	3889	[DEBUG]	Query for Product
2023-10-13	13:32:32	3889	[DEBUG]	Executed store
2023-10-13	13:32:32	3889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863380','1000000060713','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:32	3889	[DEBUG]	No parent found
2023-10-13	13:32:32	3889	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863380 AND customfield_value = 'stockable'
2023-10-13	13:32:32	3889	[DEBUG]	Check product language entry
2023-10-13	13:32:32	3889	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863381
2023-10-13	13:32:32	3889	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:32	3889	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000060713' AND `virtuemart_product_id` != 1863381
2023-10-13	13:32:32	3889	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:32	3889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863381, '1000000060713')
2023-10-13	13:32:32	3889	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:32	3889	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-cales-pour-pedales-msc-compatibles-spd-shimano-noir-unitaire' AND `virtuemart_product_id` != 1863381
2023-10-13	13:32:32	3889	[DEBUG]	Query for ProductLang
2023-10-13	13:32:32	3889	[DEBUG]	Executed store
2023-10-13	13:32:32	3889	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Câles pour pédales MSC compatibles SPD Shimano / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-cales-pour-pedales-msc-compatibles-spd-shimano-noir-unitaire' WHERE `virtuemart_product_id` = '1863381'
2023-10-13	13:32:32	3889	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20290.jpg
2023-10-13	13:32:32	3889	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:32	3889	[DEBUG]	Process image file
2023-10-13	13:32:32	3889	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:32	3889	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:32	3889	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20290.jpg
2023-10-13	13:32:32	3889	[DEBUG]	Full name target: bcprisme/image_20290.jpg
2023-10-13	13:32:33	3889	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:33	3889	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20290.jpg'
2023-10-13	13:32:33	3889	[DEBUG]	Query for Media
2023-10-13	13:32:33	3889	[DEBUG]	Executed store
2023-10-13	13:32:33	3889	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20290.jpg',`file_url_thumb`='bcprisme/image_20290.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14419'
2023-10-13	13:32:33	3889	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:33	3889	[DEBUG]	Executed store
2023-10-13	13:32:33	3889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863381','14419','1')
2023-10-13	13:32:33	3889	[DEBUG]	Store product image relation
2023-10-13	13:32:33	3889	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:33	3889	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863381 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:33	3889	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:33	3889	[DEBUG]	Executed store
2023-10-13	13:32:33	3889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863381','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:33	3889	[DEBUG]	Checking manufacturer
2023-10-13	13:32:33	3889	[DEBUG]	Load a row
2023-10-13	13:32:33	3889	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:33	3889	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:33	3889	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:33	3889	[DEBUG]	Executed store
2023-10-13	13:32:33	3889	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:32:33	3889	[DEBUG]	Manufacturer exists
2023-10-13	13:32:33	3889	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:32:33	3889	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:33	3889	[DEBUG]	Executed store
2023-10-13	13:32:33	3889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863381','32')
2023-10-13	13:32:33	3889	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:33	3889	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:33	3889	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863381 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:33	3889	[DEBUG]	Store custom available field
2023-10-13	13:32:33	3889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863381,3,'',1)
2023-10-13	13:32:33	3889	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:33	3889	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:33	3889	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863381 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:33	3889	[DEBUG]	Store custom available field
2023-10-13	13:32:33	3889	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863381,6,'Unitaire',3)
2023-10-13	13:32:33	3889	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:33	3889	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:33	3889	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863380
2023-10-13	13:32:33	3889	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:33	3889	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863380\":[1863380,8,1,\"choisir la taille\"],\"1863381\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863380
2023-10-13	13:32:33	3889	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:33	3889	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863381
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:33	3890	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field taille
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:33	3890	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:33	3890	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:33	3890	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:33	3890	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:33	3890	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:33	3890	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field published
2023-10-13	13:32:33	3890	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:33	3890	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field override
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:33	3890	[DEBUG]	Use field value for field slug
2023-10-13	13:32:33	3890	[DEBUG]	Process line 3890
2023-10-13	13:32:33	3890	[DEBUG]	Load a row
2023-10-13	13:32:33	3890	[DEBUG]	Processing item: A_5011_7
2023-10-13	13:32:33	3890	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:33	3890	[DEBUG]	Processing product tax
2023-10-13	13:32:33	3890	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:33	3890	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:33	3890	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:33	3890	[DEBUG]	Query for Product
2023-10-13	13:32:33	3890	[DEBUG]	Executed store
2023-10-13	13:32:33	3890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5011_7','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:33	3890	[DEBUG]	Check product language entry
2023-10-13	13:32:33	3890	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863382
2023-10-13	13:32:33	3890	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:33	3890	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5011_7' AND `virtuemart_product_id` != 1863382
2023-10-13	13:32:33	3890	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:33	3890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863382, 'A_5011_7')
2023-10-13	13:32:33	3890	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:33	3890	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'cycleops-cales-pour-pedales-look-keo-rouge' AND `virtuemart_product_id` != 1863382
2023-10-13	13:32:33	3890	[DEBUG]	Query for ProductLang
2023-10-13	13:32:33	3890	[DEBUG]	Executed store
2023-10-13	13:32:33	3890	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60389',`product_name`='CycleOps Cales pour pédales Look KEO / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='cycleops-cales-pour-pedales-look-keo-rouge' WHERE `virtuemart_product_id` = '1863382'
2023-10-13	13:32:33	3890	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29461_cales_pour_pedales_look_keo.jpg
2023-10-13	13:32:33	3890	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:32:33	3890	[DEBUG]	Process image file
2023-10-13	13:32:33	3890	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:32:33	3890	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:33	3890	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29461_cales_pour_pedales_look_keo.jpg
2023-10-13	13:32:33	3890	[DEBUG]	Full name target: bcprisme/29461_cales_pour_pedales_look_keo.jpg
2023-10-13	13:32:34	3890	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:34	3890	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29461_cales_pour_pedales_look_keo.jpg'
2023-10-13	13:32:34	3890	[DEBUG]	Query for Media
2023-10-13	13:32:34	3890	[DEBUG]	Executed store
2023-10-13	13:32:34	3890	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29461_cales_pour_pedales_look_keo.jpg',`file_url_thumb`='bcprisme/29461_cales_pour_pedales_look_keo.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14420'
2023-10-13	13:32:34	3890	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:34	3890	[DEBUG]	Executed store
2023-10-13	13:32:34	3890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863382','14420','1')
2023-10-13	13:32:34	3890	[DEBUG]	Store product image relation
2023-10-13	13:32:34	3890	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:34	3890	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863382 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:34	3890	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:34	3890	[DEBUG]	Executed store
2023-10-13	13:32:34	3890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863382','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:34	3890	[DEBUG]	Checking manufacturer
2023-10-13	13:32:34	3890	[DEBUG]	Load a row
2023-10-13	13:32:34	3890	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:34	3890	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '43'
2023-10-13	13:32:34	3890	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:34	3890	[DEBUG]	Executed store
2023-10-13	13:32:34	3890	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-47566082545' WHERE `virtuemart_manufacturer_id` = '43'
2023-10-13	13:32:34	3890	[DEBUG]	Manufacturer exists
2023-10-13	13:32:34	3890	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 43
2023-10-13	13:32:34	3890	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:34	3890	[DEBUG]	Executed store
2023-10-13	13:32:34	3890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863382','43')
2023-10-13	13:32:34	3890	[DEBUG]	Find the custom field ID
2023-10-13	13:32:34	3890	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:34	3890	[DEBUG]	No custom field ID found
2023-10-13	13:32:34	3890	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:34	3890	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:32:34	3890	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863382 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:34	3890	[DEBUG]	Store custom available field
2023-10-13	13:32:34	3890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863382,3,'16.8530555555556',1)
2023-10-13	13:32:34	3890	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:34	3890	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:34	3890	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863382 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:34	3890	[DEBUG]	Store custom available field
2023-10-13	13:32:34	3890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863382,6,'choisir la taille',3)
2023-10-13	13:32:34	3890	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:34	3890	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:34	3890	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:34	3890	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:34	3890	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863382 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:34	3890	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:34	3890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863382,8,1)
2023-10-13	13:32:34	3890	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:34	3890	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863382\":[1863382,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863382
2023-10-13	13:32:34	3890	[DEBUG]	Checking category
2023-10-13	13:32:34	3890	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:34	3890	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863382
2023-10-13	13:32:34	3890	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:34	3890	[DEBUG]	Executed store
2023-10-13	13:32:34	3890	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863382','7390')
2023-10-13	13:32:34	3890	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:34	3890	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863382 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:34	3890	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:34	3890	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863382
2023-10-13	13:32:34	3891	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:34	3891	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:34	3891	[DEBUG]	Use field value for field taille
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:34	3891	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:34	3891	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:34	3891	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:34	3891	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:34	3891	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:34	3891	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:34	3891	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:34	3891	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:34	3891	[DEBUG]	Use field value for field published
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:34	3891	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field override
2023-10-13	13:32:34	3891	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:34	3891	[DEBUG]	Use field value for field slug
2023-10-13	13:32:34	3891	[DEBUG]	Process line 3891
2023-10-13	13:32:34	3891	[DEBUG]	Load a row
2023-10-13	13:32:34	3891	[DEBUG]	Processing item: 3611720061546
2023-10-13	13:32:34	3891	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:34	3891	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:35	3891	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5011_7'
2023-10-13	13:32:35	3891	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:35	3891	[DEBUG]	Processing product tax
2023-10-13	13:32:35	3891	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:35	3891	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:35	3891	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:35	3891	[DEBUG]	Query for Product
2023-10-13	13:32:35	3891	[DEBUG]	Executed store
2023-10-13	13:32:35	3891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863382','3611720061546','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:35	3891	[DEBUG]	No parent found
2023-10-13	13:32:35	3891	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863382 AND customfield_value = 'stockable'
2023-10-13	13:32:35	3891	[DEBUG]	Check product language entry
2023-10-13	13:32:35	3891	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863383
2023-10-13	13:32:35	3891	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:35	3891	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3611720061546' AND `virtuemart_product_id` != 1863383
2023-10-13	13:32:35	3891	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:35	3891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863383, '3611720061546')
2023-10-13	13:32:35	3891	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:35	3891	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'cycleops-cales-pour-pedales-look-keo-rouge-unitaire' AND `virtuemart_product_id` != 1863383
2023-10-13	13:32:35	3891	[DEBUG]	Query for ProductLang
2023-10-13	13:32:35	3891	[DEBUG]	Executed store
2023-10-13	13:32:35	3891	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CycleOps Cales pour pédales Look KEO / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='cycleops-cales-pour-pedales-look-keo-rouge-unitaire' WHERE `virtuemart_product_id` = '1863383'
2023-10-13	13:32:35	3891	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29461_cales_pour_pedales_look_keo.jpg
2023-10-13	13:32:35	3891	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:32:35	3891	[DEBUG]	Process image file
2023-10-13	13:32:35	3891	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:32:35	3891	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:35	3891	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29461_cales_pour_pedales_look_keo.jpg
2023-10-13	13:32:35	3891	[DEBUG]	Full name target: bcprisme/29461_cales_pour_pedales_look_keo.jpg
2023-10-13	13:32:36	3891	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:36	3891	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29461_cales_pour_pedales_look_keo.jpg'
2023-10-13	13:32:36	3891	[DEBUG]	Query for Media
2023-10-13	13:32:36	3891	[DEBUG]	Executed store
2023-10-13	13:32:36	3891	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29461_cales_pour_pedales_look_keo.jpg',`file_url_thumb`='bcprisme/29461_cales_pour_pedales_look_keo.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14420'
2023-10-13	13:32:36	3891	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:36	3891	[DEBUG]	Executed store
2023-10-13	13:32:36	3891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863383','14420','1')
2023-10-13	13:32:36	3891	[DEBUG]	Store product image relation
2023-10-13	13:32:36	3891	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:36	3891	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863383 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:36	3891	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:36	3891	[DEBUG]	Executed store
2023-10-13	13:32:36	3891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863383','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:36	3891	[DEBUG]	Checking manufacturer
2023-10-13	13:32:36	3891	[DEBUG]	Load a row
2023-10-13	13:32:36	3891	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:36	3891	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '43'
2023-10-13	13:32:36	3891	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:36	3891	[DEBUG]	Executed store
2023-10-13	13:32:36	3891	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-47566082545' WHERE `virtuemart_manufacturer_id` = '43'
2023-10-13	13:32:36	3891	[DEBUG]	Manufacturer exists
2023-10-13	13:32:36	3891	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 43
2023-10-13	13:32:36	3891	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:36	3891	[DEBUG]	Executed store
2023-10-13	13:32:36	3891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863383','43')
2023-10-13	13:32:36	3891	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:36	3891	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:36	3891	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863383 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:36	3891	[DEBUG]	Store custom available field
2023-10-13	13:32:36	3891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863383,3,'',1)
2023-10-13	13:32:36	3891	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:36	3891	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:36	3891	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863383 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:36	3891	[DEBUG]	Store custom available field
2023-10-13	13:32:36	3891	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863383,6,'Unitaire',3)
2023-10-13	13:32:36	3891	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:36	3891	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:36	3891	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863382
2023-10-13	13:32:36	3891	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:36	3891	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863382\":[1863382,8,1,\"choisir la taille\"],\"1863383\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863382
2023-10-13	13:32:36	3891	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:36	3891	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863383
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:36	3892	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field taille
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:36	3892	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:36	3892	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:36	3892	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:36	3892	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:36	3892	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:36	3892	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field published
2023-10-13	13:32:36	3892	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:36	3892	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field override
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:36	3892	[DEBUG]	Use field value for field slug
2023-10-13	13:32:36	3892	[DEBUG]	Process line 3892
2023-10-13	13:32:36	3892	[DEBUG]	Load a row
2023-10-13	13:32:36	3892	[DEBUG]	Processing item: A_5106_208
2023-10-13	13:32:36	3892	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:36	3892	[DEBUG]	Processing product tax
2023-10-13	13:32:36	3892	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:36	3892	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:36	3892	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:36	3892	[DEBUG]	Query for Product
2023-10-13	13:32:36	3892	[DEBUG]	Executed store
2023-10-13	13:32:36	3892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5106_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:36	3892	[DEBUG]	Check product language entry
2023-10-13	13:32:36	3892	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863384
2023-10-13	13:32:36	3892	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:36	3892	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5106_208' AND `virtuemart_product_id` != 1863384
2023-10-13	13:32:36	3892	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:36	3892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863384, 'A_5106_208')
2023-10-13	13:32:36	3892	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:36	3892	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cales-sm-sh12-spd-sl-bleues-aucune' AND `virtuemart_product_id` != 1863384
2023-10-13	13:32:36	3892	[DEBUG]	Query for ProductLang
2023-10-13	13:32:36	3892	[DEBUG]	Executed store
2023-10-13	13:32:36	3892	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.55409',`product_name`='SHIMANO Cales SM-SH12 SPD-SL bleues / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cales-sm-sh12-spd-sl-bleues-aucune' WHERE `virtuemart_product_id` = '1863384'
2023-10-13	13:32:36	3892	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29568_shimano_cales_sm-sh12_spd-sl_bleues.jpg
2023-10-13	13:32:36	3892	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:36	3892	[DEBUG]	Process image file
2023-10-13	13:32:36	3892	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:36	3892	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:36	3892	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29568_shimano_cales_sm-sh12_spd-sl_bleues.jpg
2023-10-13	13:32:36	3892	[DEBUG]	Full name target: bcprisme/29568_shimano_cales_sm-sh12_spd-sl_bleues.jpg
2023-10-13	13:32:37	3892	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:37	3892	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29568_shimano_cales_sm-sh12_spd-sl_bleues.jpg'
2023-10-13	13:32:37	3892	[DEBUG]	Query for Media
2023-10-13	13:32:37	3892	[DEBUG]	Executed store
2023-10-13	13:32:37	3892	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29568_shimano_cales_sm-sh12_spd-sl_bleues.jpg',`file_url_thumb`='bcprisme/29568_shimano_cales_sm-sh12_spd-sl_bleues.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14422'
2023-10-13	13:32:37	3892	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:37	3892	[DEBUG]	Executed store
2023-10-13	13:32:37	3892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863384','14422','1')
2023-10-13	13:32:37	3892	[DEBUG]	Store product image relation
2023-10-13	13:32:37	3892	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:37	3892	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863384 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:37	3892	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:37	3892	[DEBUG]	Executed store
2023-10-13	13:32:37	3892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863384','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:37	3892	[DEBUG]	Checking manufacturer
2023-10-13	13:32:37	3892	[DEBUG]	Load a row
2023-10-13	13:32:37	3892	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:37	3892	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:32:37	3892	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:37	3892	[DEBUG]	Executed store
2023-10-13	13:32:37	3892	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:32:37	3892	[DEBUG]	Manufacturer exists
2023-10-13	13:32:37	3892	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:32:37	3892	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:37	3892	[DEBUG]	Executed store
2023-10-13	13:32:37	3892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863384','26')
2023-10-13	13:32:37	3892	[DEBUG]	Find the custom field ID
2023-10-13	13:32:37	3892	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:37	3892	[DEBUG]	No custom field ID found
2023-10-13	13:32:37	3892	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:37	3892	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:32:37	3892	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863384 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:37	3892	[DEBUG]	Store custom available field
2023-10-13	13:32:37	3892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863384,3,'0',1)
2023-10-13	13:32:37	3892	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:37	3892	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:37	3892	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863384 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:37	3892	[DEBUG]	Store custom available field
2023-10-13	13:32:37	3892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863384,6,'choisir la taille',3)
2023-10-13	13:32:37	3892	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:37	3892	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:37	3892	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:37	3892	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:37	3892	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863384 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:37	3892	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:37	3892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863384,8,1)
2023-10-13	13:32:37	3892	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:37	3892	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863384\":[1863384,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863384
2023-10-13	13:32:37	3892	[DEBUG]	Checking category
2023-10-13	13:32:37	3892	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:37	3892	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863384
2023-10-13	13:32:37	3892	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:37	3892	[DEBUG]	Executed store
2023-10-13	13:32:37	3892	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863384','7390')
2023-10-13	13:32:37	3892	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:37	3892	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863384 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:37	3892	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:37	3892	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863384
2023-10-13	13:32:37	3893	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:37	3893	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:37	3893	[DEBUG]	Use field value for field taille
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:37	3893	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:37	3893	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:37	3893	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:37	3893	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:37	3893	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:37	3893	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:37	3893	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:37	3893	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:37	3893	[DEBUG]	Use field value for field published
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:37	3893	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field override
2023-10-13	13:32:37	3893	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:37	3893	[DEBUG]	Use field value for field slug
2023-10-13	13:32:37	3893	[DEBUG]	Process line 3893
2023-10-13	13:32:37	3893	[DEBUG]	Load a row
2023-10-13	13:32:37	3893	[DEBUG]	Processing item: 4550170646882
2023-10-13	13:32:37	3893	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:37	3893	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:37	3893	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5106_208'
2023-10-13	13:32:37	3893	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:37	3893	[DEBUG]	Processing product tax
2023-10-13	13:32:37	3893	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:37	3893	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:37	3893	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:37	3893	[DEBUG]	Query for Product
2023-10-13	13:32:37	3893	[DEBUG]	Executed store
2023-10-13	13:32:37	3893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863384','4550170646882','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:37	3893	[DEBUG]	No parent found
2023-10-13	13:32:37	3893	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863384 AND customfield_value = 'stockable'
2023-10-13	13:32:37	3893	[DEBUG]	Check product language entry
2023-10-13	13:32:37	3893	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863385
2023-10-13	13:32:37	3893	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:37	3893	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170646882' AND `virtuemart_product_id` != 1863385
2023-10-13	13:32:37	3893	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:37	3893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863385, '4550170646882')
2023-10-13	13:32:37	3893	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:37	3893	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cales-sm-sh12-spd-sl-bleues-aucune-all' AND `virtuemart_product_id` != 1863385
2023-10-13	13:32:37	3893	[DEBUG]	Query for ProductLang
2023-10-13	13:32:37	3893	[DEBUG]	Executed store
2023-10-13	13:32:37	3893	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cales SM-SH12 SPD-SL bleues / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cales-sm-sh12-spd-sl-bleues-aucune-all' WHERE `virtuemart_product_id` = '1863385'
2023-10-13	13:32:37	3893	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29568_shimano_cales_sm-sh12_spd-sl_bleues.jpg
2023-10-13	13:32:37	3893	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:37	3893	[DEBUG]	Process image file
2023-10-13	13:32:37	3893	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:37	3893	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:37	3893	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29568_shimano_cales_sm-sh12_spd-sl_bleues.jpg
2023-10-13	13:32:37	3893	[DEBUG]	Full name target: bcprisme/29568_shimano_cales_sm-sh12_spd-sl_bleues.jpg
2023-10-13	13:32:38	3893	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:38	3893	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29568_shimano_cales_sm-sh12_spd-sl_bleues.jpg'
2023-10-13	13:32:38	3893	[DEBUG]	Query for Media
2023-10-13	13:32:38	3893	[DEBUG]	Executed store
2023-10-13	13:32:38	3893	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29568_shimano_cales_sm-sh12_spd-sl_bleues.jpg',`file_url_thumb`='bcprisme/29568_shimano_cales_sm-sh12_spd-sl_bleues.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14422'
2023-10-13	13:32:38	3893	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:38	3893	[DEBUG]	Executed store
2023-10-13	13:32:38	3893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863385','14422','1')
2023-10-13	13:32:38	3893	[DEBUG]	Store product image relation
2023-10-13	13:32:38	3893	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:38	3893	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863385 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:38	3893	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:38	3893	[DEBUG]	Executed store
2023-10-13	13:32:38	3893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863385','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:38	3893	[DEBUG]	Checking manufacturer
2023-10-13	13:32:38	3893	[DEBUG]	Load a row
2023-10-13	13:32:38	3893	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:38	3893	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:32:38	3893	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:38	3893	[DEBUG]	Executed store
2023-10-13	13:32:38	3893	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:32:38	3893	[DEBUG]	Manufacturer exists
2023-10-13	13:32:38	3893	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:32:38	3893	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:38	3893	[DEBUG]	Executed store
2023-10-13	13:32:38	3893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863385','26')
2023-10-13	13:32:38	3893	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:38	3893	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:38	3893	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863385 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:38	3893	[DEBUG]	Store custom available field
2023-10-13	13:32:38	3893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863385,3,'',1)
2023-10-13	13:32:38	3893	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:38	3893	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:32:38	3893	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863385 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:38	3893	[DEBUG]	Store custom available field
2023-10-13	13:32:38	3893	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863385,6,'All',3)
2023-10-13	13:32:38	3893	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:38	3893	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:38	3893	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863384
2023-10-13	13:32:38	3893	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:38	3893	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863384\":[1863384,8,1,\"choisir la taille\"],\"1863385\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863384
2023-10-13	13:32:38	3893	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:38	3893	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863385
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:38	3894	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field taille
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:38	3894	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:38	3894	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:38	3894	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:38	3894	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:38	3894	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:38	3894	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field published
2023-10-13	13:32:38	3894	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:38	3894	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field override
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:38	3894	[DEBUG]	Use field value for field slug
2023-10-13	13:32:38	3894	[DEBUG]	Process line 3894
2023-10-13	13:32:38	3894	[DEBUG]	Load a row
2023-10-13	13:32:38	3894	[DEBUG]	Processing item: A_5107_208
2023-10-13	13:32:38	3894	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:38	3894	[DEBUG]	Processing product tax
2023-10-13	13:32:38	3894	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:38	3894	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:38	3894	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:38	3894	[DEBUG]	Query for Product
2023-10-13	13:32:38	3894	[DEBUG]	Executed store
2023-10-13	13:32:38	3894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5107_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:38	3894	[DEBUG]	Check product language entry
2023-10-13	13:32:38	3894	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863386
2023-10-13	13:32:38	3894	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:38	3894	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5107_208' AND `virtuemart_product_id` != 1863386
2023-10-13	13:32:38	3894	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:38	3894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863386, 'A_5107_208')
2023-10-13	13:32:38	3894	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:38	3894	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cales-sm-sh11-spd-sl-mobile-0-jaunes-aucune' AND `virtuemart_product_id` != 1863386
2023-10-13	13:32:38	3894	[DEBUG]	Query for ProductLang
2023-10-13	13:32:38	3894	[DEBUG]	Executed store
2023-10-13	13:32:38	3894	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.26326',`product_name`='SHIMANO Cales SM-SH11 SPD-SL mobile 0 jaunes / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cales-sm-sh11-spd-sl-mobile-0-jaunes-aucune' WHERE `virtuemart_product_id` = '1863386'
2023-10-13	13:32:38	3894	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29569_shimano_cales_sm-sh11_spd-sl_mobile_0_jaunes.jpg
2023-10-13	13:32:38	3894	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:38	3894	[DEBUG]	Process image file
2023-10-13	13:32:38	3894	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:38	3894	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:38	3894	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29569_shimano_cales_sm-sh11_spd-sl_mobile_0_jaunes.jpg
2023-10-13	13:32:38	3894	[DEBUG]	Full name target: bcprisme/29569_shimano_cales_sm-sh11_spd-sl_mobile_0_jaunes.jpg
2023-10-13	13:32:39	3894	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:39	3894	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29569_shimano_cales_sm-sh11_spd-sl_mobile_0_jaunes.jpg'
2023-10-13	13:32:39	3894	[DEBUG]	Query for Media
2023-10-13	13:32:39	3894	[DEBUG]	Executed store
2023-10-13	13:32:39	3894	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29569_shimano_cales_sm-sh11_spd-sl_mobile_0_jaunes.jpg',`file_url_thumb`='bcprisme/29569_shimano_cales_sm-sh11_spd-sl_mobile_0_jaunes.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '112340'
2023-10-13	13:32:39	3894	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:39	3894	[DEBUG]	Executed store
2023-10-13	13:32:39	3894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863386','112340','1')
2023-10-13	13:32:39	3894	[DEBUG]	Store product image relation
2023-10-13	13:32:39	3894	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:39	3894	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863386 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:39	3894	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:39	3894	[DEBUG]	Executed store
2023-10-13	13:32:39	3894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863386','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:39	3894	[DEBUG]	Checking manufacturer
2023-10-13	13:32:39	3894	[DEBUG]	Load a row
2023-10-13	13:32:39	3894	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:39	3894	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:32:39	3894	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:39	3894	[DEBUG]	Executed store
2023-10-13	13:32:39	3894	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:32:39	3894	[DEBUG]	Manufacturer exists
2023-10-13	13:32:39	3894	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:32:39	3894	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:39	3894	[DEBUG]	Executed store
2023-10-13	13:32:39	3894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863386','26')
2023-10-13	13:32:39	3894	[DEBUG]	Find the custom field ID
2023-10-13	13:32:39	3894	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:39	3894	[DEBUG]	No custom field ID found
2023-10-13	13:32:39	3894	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:39	3894	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:32:39	3894	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863386 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:39	3894	[DEBUG]	Store custom available field
2023-10-13	13:32:39	3894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863386,3,'0',1)
2023-10-13	13:32:39	3894	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:39	3894	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:39	3894	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863386 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:39	3894	[DEBUG]	Store custom available field
2023-10-13	13:32:39	3894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863386,6,'choisir la taille',3)
2023-10-13	13:32:39	3894	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:39	3894	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:39	3894	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:39	3894	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:39	3894	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863386 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:39	3894	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:39	3894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863386,8,1)
2023-10-13	13:32:39	3894	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:39	3894	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863386\":[1863386,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863386
2023-10-13	13:32:39	3894	[DEBUG]	Checking category
2023-10-13	13:32:39	3894	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:39	3894	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863386
2023-10-13	13:32:39	3894	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:39	3894	[DEBUG]	Executed store
2023-10-13	13:32:39	3894	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863386','7390')
2023-10-13	13:32:39	3894	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:39	3894	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863386 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:39	3894	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:39	3894	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863386
2023-10-13	13:32:39	3895	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:39	3895	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:39	3895	[DEBUG]	Use field value for field taille
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:39	3895	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:39	3895	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:39	3895	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:39	3895	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:39	3895	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:39	3895	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:39	3895	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:39	3895	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:39	3895	[DEBUG]	Use field value for field published
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:39	3895	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field override
2023-10-13	13:32:39	3895	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:39	3895	[DEBUG]	Use field value for field slug
2023-10-13	13:32:39	3895	[DEBUG]	Process line 3895
2023-10-13	13:32:39	3895	[DEBUG]	Load a row
2023-10-13	13:32:39	3895	[DEBUG]	Processing item: 4550170646875
2023-10-13	13:32:39	3895	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:39	3895	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:39	3895	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5107_208'
2023-10-13	13:32:39	3895	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:39	3895	[DEBUG]	Processing product tax
2023-10-13	13:32:39	3895	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:39	3895	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:39	3895	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:39	3895	[DEBUG]	Query for Product
2023-10-13	13:32:39	3895	[DEBUG]	Executed store
2023-10-13	13:32:39	3895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863386','4550170646875','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:39	3895	[DEBUG]	No parent found
2023-10-13	13:32:39	3895	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863386 AND customfield_value = 'stockable'
2023-10-13	13:32:39	3895	[DEBUG]	Check product language entry
2023-10-13	13:32:39	3895	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863387
2023-10-13	13:32:39	3895	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:39	3895	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170646875' AND `virtuemart_product_id` != 1863387
2023-10-13	13:32:39	3895	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:39	3895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863387, '4550170646875')
2023-10-13	13:32:39	3895	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:39	3895	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cales-sm-sh11-spd-sl-mobile-0-jaunes-aucune-all' AND `virtuemart_product_id` != 1863387
2023-10-13	13:32:39	3895	[DEBUG]	Query for ProductLang
2023-10-13	13:32:39	3895	[DEBUG]	Executed store
2023-10-13	13:32:39	3895	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cales SM-SH11 SPD-SL mobile 0 jaunes / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cales-sm-sh11-spd-sl-mobile-0-jaunes-aucune-all' WHERE `virtuemart_product_id` = '1863387'
2023-10-13	13:32:39	3895	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29569_shimano_cales_sm-sh11_spd-sl_mobile_0_jaunes.jpg
2023-10-13	13:32:39	3895	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:39	3895	[DEBUG]	Process image file
2023-10-13	13:32:39	3895	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:39	3895	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:39	3895	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29569_shimano_cales_sm-sh11_spd-sl_mobile_0_jaunes.jpg
2023-10-13	13:32:39	3895	[DEBUG]	Full name target: bcprisme/29569_shimano_cales_sm-sh11_spd-sl_mobile_0_jaunes.jpg
2023-10-13	13:32:40	3895	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:40	3895	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29569_shimano_cales_sm-sh11_spd-sl_mobile_0_jaunes.jpg'
2023-10-13	13:32:40	3895	[DEBUG]	Query for Media
2023-10-13	13:32:40	3895	[DEBUG]	Executed store
2023-10-13	13:32:40	3895	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29569_shimano_cales_sm-sh11_spd-sl_mobile_0_jaunes.jpg',`file_url_thumb`='bcprisme/29569_shimano_cales_sm-sh11_spd-sl_mobile_0_jaunes.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '112340'
2023-10-13	13:32:40	3895	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:40	3895	[DEBUG]	Executed store
2023-10-13	13:32:40	3895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863387','112340','1')
2023-10-13	13:32:40	3895	[DEBUG]	Store product image relation
2023-10-13	13:32:40	3895	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:40	3895	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863387 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:40	3895	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:40	3895	[DEBUG]	Executed store
2023-10-13	13:32:40	3895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863387','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:40	3895	[DEBUG]	Checking manufacturer
2023-10-13	13:32:40	3895	[DEBUG]	Load a row
2023-10-13	13:32:40	3895	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:40	3895	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:32:40	3895	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:40	3895	[DEBUG]	Executed store
2023-10-13	13:32:40	3895	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:32:40	3895	[DEBUG]	Manufacturer exists
2023-10-13	13:32:40	3895	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:32:40	3895	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:40	3895	[DEBUG]	Executed store
2023-10-13	13:32:40	3895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863387','26')
2023-10-13	13:32:40	3895	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:40	3895	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:40	3895	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863387 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:40	3895	[DEBUG]	Store custom available field
2023-10-13	13:32:40	3895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863387,3,'',1)
2023-10-13	13:32:40	3895	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:40	3895	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:32:40	3895	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863387 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:40	3895	[DEBUG]	Store custom available field
2023-10-13	13:32:40	3895	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863387,6,'All',3)
2023-10-13	13:32:40	3895	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:40	3895	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:40	3895	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863386
2023-10-13	13:32:40	3895	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:40	3895	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863386\":[1863386,8,1,\"choisir la taille\"],\"1863387\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863386
2023-10-13	13:32:40	3895	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:40	3895	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863387
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:40	3896	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field taille
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:40	3896	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:40	3896	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:40	3896	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:40	3896	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:40	3896	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:40	3896	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field published
2023-10-13	13:32:40	3896	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:40	3896	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field override
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:40	3896	[DEBUG]	Use field value for field slug
2023-10-13	13:32:40	3896	[DEBUG]	Process line 3896
2023-10-13	13:32:40	3896	[DEBUG]	Load a row
2023-10-13	13:32:40	3896	[DEBUG]	Processing item: A_5206_4
2023-10-13	13:32:40	3896	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:40	3896	[DEBUG]	Processing product tax
2023-10-13	13:32:40	3896	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:40	3896	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:40	3896	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:40	3896	[DEBUG]	Query for Product
2023-10-13	13:32:40	3896	[DEBUG]	Executed store
2023-10-13	13:32:40	3896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5206_4','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:40	3896	[DEBUG]	Check product language entry
2023-10-13	13:32:40	3896	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863388
2023-10-13	13:32:40	3896	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:40	3896	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5206_4' AND `virtuemart_product_id` != 1863388
2023-10-13	13:32:40	3896	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:40	3896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863388, 'A_5206_4')
2023-10-13	13:32:40	3896	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:40	3896	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cales-pour-pedales-shimano-sm-sh56-acier' AND `virtuemart_product_id` != 1863388
2023-10-13	13:32:40	3896	[DEBUG]	Query for ProductLang
2023-10-13	13:32:40	3896	[DEBUG]	Executed store
2023-10-13	13:32:40	3896	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 451.009.010',`product_name`='SHIMANO Cales pour pédales Shimano SM-SH56 / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cales-pour-pedales-shimano-sm-sh56-acier' WHERE `virtuemart_product_id` = '1863388'
2023-10-13	13:32:40	3896	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29677_cales_pour_pedales_shimano_sm-sh56.webp has not been found.
2023-10-13	13:32:40	3896	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:40	3896	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863388 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:40	3896	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:40	3896	[DEBUG]	Executed store
2023-10-13	13:32:40	3896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863388','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:40	3896	[DEBUG]	Checking manufacturer
2023-10-13	13:32:40	3896	[DEBUG]	Load a row
2023-10-13	13:32:40	3896	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:40	3896	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:32:40	3896	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:40	3896	[DEBUG]	Executed store
2023-10-13	13:32:40	3896	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:32:40	3896	[DEBUG]	Manufacturer exists
2023-10-13	13:32:40	3896	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:32:40	3896	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:40	3896	[DEBUG]	Executed store
2023-10-13	13:32:40	3896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863388','123')
2023-10-13	13:32:40	3896	[DEBUG]	Find the custom field ID
2023-10-13	13:32:40	3896	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:40	3896	[DEBUG]	No custom field ID found
2023-10-13	13:32:40	3896	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:40	3896	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:32:40	3896	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863388 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:40	3896	[DEBUG]	Store custom available field
2023-10-13	13:32:40	3896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863388,3,'16.8530555555556',1)
2023-10-13	13:32:40	3896	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:40	3896	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:40	3896	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863388 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:40	3896	[DEBUG]	Store custom available field
2023-10-13	13:32:40	3896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863388,6,'choisir la taille',3)
2023-10-13	13:32:40	3896	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:40	3896	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:40	3896	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:40	3896	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:40	3896	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863388 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:40	3896	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:40	3896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863388,8,1)
2023-10-13	13:32:40	3896	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:40	3896	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863388\":[1863388,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863388
2023-10-13	13:32:40	3896	[DEBUG]	Checking category
2023-10-13	13:32:40	3896	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:40	3896	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863388
2023-10-13	13:32:40	3896	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:40	3896	[DEBUG]	Executed store
2023-10-13	13:32:40	3896	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863388','7390')
2023-10-13	13:32:40	3896	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:40	3896	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863388 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:40	3896	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:40	3896	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863388
2023-10-13	13:32:40	3897	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:40	3897	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:40	3897	[DEBUG]	Use field value for field taille
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:40	3897	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:40	3897	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:40	3897	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:40	3897	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:40	3897	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:40	3897	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:40	3897	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:40	3897	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:40	3897	[DEBUG]	Use field value for field published
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:40	3897	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field override
2023-10-13	13:32:40	3897	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:40	3897	[DEBUG]	Use field value for field slug
2023-10-13	13:32:40	3897	[DEBUG]	Process line 3897
2023-10-13	13:32:40	3897	[DEBUG]	Load a row
2023-10-13	13:32:40	3897	[DEBUG]	Processing item: 4524667075240
2023-10-13	13:32:40	3897	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:40	3897	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:40	3897	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5206_4'
2023-10-13	13:32:40	3897	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:40	3897	[DEBUG]	Processing product tax
2023-10-13	13:32:40	3897	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:40	3897	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:40	3897	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:40	3897	[DEBUG]	Query for Product
2023-10-13	13:32:40	3897	[DEBUG]	Executed store
2023-10-13	13:32:40	3897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863388','4524667075240','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:40	3897	[DEBUG]	No parent found
2023-10-13	13:32:40	3897	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863388 AND customfield_value = 'stockable'
2023-10-13	13:32:40	3897	[DEBUG]	Check product language entry
2023-10-13	13:32:40	3897	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863389
2023-10-13	13:32:40	3897	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:40	3897	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667075240' AND `virtuemart_product_id` != 1863389
2023-10-13	13:32:40	3897	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:40	3897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863389, '4524667075240')
2023-10-13	13:32:40	3897	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:40	3897	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cales-pour-pedales-shimano-sm-sh56-acier-unitaire' AND `virtuemart_product_id` != 1863389
2023-10-13	13:32:40	3897	[DEBUG]	Query for ProductLang
2023-10-13	13:32:40	3897	[DEBUG]	Executed store
2023-10-13	13:32:40	3897	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cales pour pédales Shimano SM-SH56 / Acier (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cales-pour-pedales-shimano-sm-sh56-acier-unitaire' WHERE `virtuemart_product_id` = '1863389'
2023-10-13	13:32:40	3897	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29677_cales_pour_pedales_shimano_sm-sh56.webp has not been found.
2023-10-13	13:32:40	3897	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:40	3897	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863389 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:40	3897	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:40	3897	[DEBUG]	Executed store
2023-10-13	13:32:40	3897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863389','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:40	3897	[DEBUG]	Checking manufacturer
2023-10-13	13:32:40	3897	[DEBUG]	Load a row
2023-10-13	13:32:40	3897	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:40	3897	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:32:40	3897	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:40	3897	[DEBUG]	Executed store
2023-10-13	13:32:40	3897	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:32:40	3897	[DEBUG]	Manufacturer exists
2023-10-13	13:32:40	3897	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:32:40	3897	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:40	3897	[DEBUG]	Executed store
2023-10-13	13:32:40	3897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863389','123')
2023-10-13	13:32:40	3897	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:40	3897	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:40	3897	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863389 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:40	3897	[DEBUG]	Store custom available field
2023-10-13	13:32:40	3897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863389,3,'',1)
2023-10-13	13:32:40	3897	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:40	3897	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:32:40	3897	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863389 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:40	3897	[DEBUG]	Store custom available field
2023-10-13	13:32:40	3897	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863389,6,'Unitaire',3)
2023-10-13	13:32:40	3897	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:40	3897	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:40	3897	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863388
2023-10-13	13:32:40	3897	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:40	3897	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863388\":[1863388,8,1,\"choisir la taille\"],\"1863389\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863388
2023-10-13	13:32:40	3897	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:40	3897	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863389
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:40	3898	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field taille
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:40	3898	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:40	3898	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:40	3898	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:40	3898	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:40	3898	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:40	3898	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field published
2023-10-13	13:32:40	3898	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:40	3898	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field override
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:40	3898	[DEBUG]	Use field value for field slug
2023-10-13	13:32:40	3898	[DEBUG]	Process line 3898
2023-10-13	13:32:40	3898	[DEBUG]	Load a row
2023-10-13	13:32:40	3898	[DEBUG]	Processing item: A_6209_208
2023-10-13	13:32:40	3898	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:40	3898	[DEBUG]	Processing product tax
2023-10-13	13:32:40	3898	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:40	3898	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:40	3898	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:40	3898	[DEBUG]	Query for Product
2023-10-13	13:32:40	3898	[DEBUG]	Executed store
2023-10-13	13:32:40	3898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6209_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:40	3898	[DEBUG]	Check product language entry
2023-10-13	13:32:40	3898	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863390
2023-10-13	13:32:40	3898	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:40	3898	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6209_208' AND `virtuemart_product_id` != 1863390
2023-10-13	13:32:40	3898	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:40	3898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863390, 'A_6209_208')
2023-10-13	13:32:40	3898	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:40	3898	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cales-sm-sh56-spd-declenchement-multidirectionnel-aucune' AND `virtuemart_product_id` != 1863390
2023-10-13	13:32:40	3898	[DEBUG]	Query for ProductLang
2023-10-13	13:32:40	3898	[DEBUG]	Executed store
2023-10-13	13:32:40	3898	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.62776',`product_name`='SHIMANO Cales SM-SH56 SPD déclenchement multidirectionnel / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cales-sm-sh56-spd-declenchement-multidirectionnel-aucune' WHERE `virtuemart_product_id` = '1863390'
2023-10-13	13:32:40	3898	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32051_shimano_cales_sm-sh56_spd_declenchement_multidirectionnel.jpg
2023-10-13	13:32:40	3898	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:32:40	3898	[DEBUG]	Process image file
2023-10-13	13:32:40	3898	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:32:40	3898	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:40	3898	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32051_shimano_cales_sm-sh56_spd_declenchement_multidirectionnel.jpg
2023-10-13	13:32:40	3898	[DEBUG]	Full name target: bcprisme/32051_shimano_cales_sm-sh56_spd_declenchement_multidirectionnel.jpg
2023-10-13	13:32:41	3898	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:41	3898	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32051_shimano_cales_sm-sh56_spd_declenchement_multidirectionnel.jpg'
2023-10-13	13:32:41	3898	[DEBUG]	Query for Media
2023-10-13	13:32:41	3898	[DEBUG]	Executed store
2023-10-13	13:32:41	3898	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32051_shimano_cales_sm-sh56_spd_declenchement_multidirectionnel.jpg',`file_url_thumb`='bcprisme/32051_shimano_cales_sm-sh56_spd_declenchement_multidirectionnel.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '953871'
2023-10-13	13:32:41	3898	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:41	3898	[DEBUG]	Executed store
2023-10-13	13:32:41	3898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863390','953871','1')
2023-10-13	13:32:41	3898	[DEBUG]	Store product image relation
2023-10-13	13:32:41	3898	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:41	3898	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863390 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:41	3898	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:41	3898	[DEBUG]	Executed store
2023-10-13	13:32:41	3898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863390','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:41	3898	[DEBUG]	Checking manufacturer
2023-10-13	13:32:41	3898	[DEBUG]	Load a row
2023-10-13	13:32:41	3898	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:41	3898	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:32:41	3898	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:41	3898	[DEBUG]	Executed store
2023-10-13	13:32:41	3898	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:32:41	3898	[DEBUG]	Manufacturer exists
2023-10-13	13:32:41	3898	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:32:41	3898	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:41	3898	[DEBUG]	Executed store
2023-10-13	13:32:41	3898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863390','123')
2023-10-13	13:32:41	3898	[DEBUG]	Find the custom field ID
2023-10-13	13:32:41	3898	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:41	3898	[DEBUG]	No custom field ID found
2023-10-13	13:32:41	3898	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:41	3898	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:32:41	3898	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863390 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:41	3898	[DEBUG]	Store custom available field
2023-10-13	13:32:41	3898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863390,3,'0',1)
2023-10-13	13:32:41	3898	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:41	3898	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:41	3898	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863390 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:41	3898	[DEBUG]	Store custom available field
2023-10-13	13:32:41	3898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863390,6,'choisir la taille',3)
2023-10-13	13:32:41	3898	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:41	3898	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:41	3898	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:41	3898	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:41	3898	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863390 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:41	3898	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:41	3898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863390,8,1)
2023-10-13	13:32:41	3898	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:41	3898	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863390\":[1863390,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863390
2023-10-13	13:32:41	3898	[DEBUG]	Checking category
2023-10-13	13:32:41	3898	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:41	3898	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863390
2023-10-13	13:32:41	3898	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:41	3898	[DEBUG]	Executed store
2023-10-13	13:32:41	3898	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863390','7390')
2023-10-13	13:32:41	3898	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:41	3898	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863390 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:41	3898	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:41	3898	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863390
2023-10-13	13:32:41	3899	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:41	3899	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:32:41	3899	[DEBUG]	Use field value for field taille
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:32:41	3899	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field category_path
2023-10-13	13:32:41	3899	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:41	3899	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:41	3899	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:41	3899	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:32:41	3899	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field product_weight
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:41	3899	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:41	3899	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:41	3899	[DEBUG]	Use field value for field published
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field custom_title
2023-10-13	13:32:41	3899	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field custom_param
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field override
2023-10-13	13:32:41	3899	[DEBUG]	Use default value for field public_price
2023-10-13	13:32:41	3899	[DEBUG]	Use field value for field slug
2023-10-13	13:32:41	3899	[DEBUG]	Process line 3899
2023-10-13	13:32:41	3899	[DEBUG]	Load a row
2023-10-13	13:32:41	3899	[DEBUG]	Processing item: 4524667902997
2023-10-13	13:32:41	3899	[DEBUG]	Looking for parent SKU
2023-10-13	13:32:41	3899	[DEBUG]	Checking product parent SKU
2023-10-13	13:32:41	3899	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6209_208'
2023-10-13	13:32:41	3899	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:41	3899	[DEBUG]	Processing product tax
2023-10-13	13:32:41	3899	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:41	3899	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:41	3899	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:41	3899	[DEBUG]	Query for Product
2023-10-13	13:32:41	3899	[DEBUG]	Executed store
2023-10-13	13:32:41	3899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863390','4524667902997','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:41	3899	[DEBUG]	No parent found
2023-10-13	13:32:41	3899	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863390 AND customfield_value = 'stockable'
2023-10-13	13:32:41	3899	[DEBUG]	Check product language entry
2023-10-13	13:32:41	3899	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863391
2023-10-13	13:32:41	3899	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:41	3899	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667902997' AND `virtuemart_product_id` != 1863391
2023-10-13	13:32:41	3899	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:41	3899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863391, '4524667902997')
2023-10-13	13:32:41	3899	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:41	3899	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cales-sm-sh56-spd-declenchement-multidirectionnel-aucune-all' AND `virtuemart_product_id` != 1863391
2023-10-13	13:32:41	3899	[DEBUG]	Query for ProductLang
2023-10-13	13:32:41	3899	[DEBUG]	Executed store
2023-10-13	13:32:41	3899	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cales SM-SH56 SPD déclenchement multidirectionnel / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cales-sm-sh56-spd-declenchement-multidirectionnel-aucune-all' WHERE `virtuemart_product_id` = '1863391'
2023-10-13	13:32:41	3899	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32051_shimano_cales_sm-sh56_spd_declenchement_multidirectionnel.jpg
2023-10-13	13:32:41	3899	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:32:41	3899	[DEBUG]	Process image file
2023-10-13	13:32:41	3899	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:32:41	3899	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:41	3899	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32051_shimano_cales_sm-sh56_spd_declenchement_multidirectionnel.jpg
2023-10-13	13:32:41	3899	[DEBUG]	Full name target: bcprisme/32051_shimano_cales_sm-sh56_spd_declenchement_multidirectionnel.jpg
2023-10-13	13:32:42	3899	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:42	3899	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32051_shimano_cales_sm-sh56_spd_declenchement_multidirectionnel.jpg'
2023-10-13	13:32:42	3899	[DEBUG]	Query for Media
2023-10-13	13:32:42	3899	[DEBUG]	Executed store
2023-10-13	13:32:42	3899	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32051_shimano_cales_sm-sh56_spd_declenchement_multidirectionnel.jpg',`file_url_thumb`='bcprisme/32051_shimano_cales_sm-sh56_spd_declenchement_multidirectionnel.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '953871'
2023-10-13	13:32:42	3899	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:42	3899	[DEBUG]	Executed store
2023-10-13	13:32:42	3899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863391','953871','1')
2023-10-13	13:32:42	3899	[DEBUG]	Store product image relation
2023-10-13	13:32:42	3899	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:42	3899	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863391 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:42	3899	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:42	3899	[DEBUG]	Executed store
2023-10-13	13:32:42	3899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863391','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:42	3899	[DEBUG]	Checking manufacturer
2023-10-13	13:32:42	3899	[DEBUG]	Load a row
2023-10-13	13:32:42	3899	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:42	3899	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:32:42	3899	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:42	3899	[DEBUG]	Executed store
2023-10-13	13:32:42	3899	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:32:42	3899	[DEBUG]	Manufacturer exists
2023-10-13	13:32:42	3899	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:32:42	3899	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:42	3899	[DEBUG]	Executed store
2023-10-13	13:32:42	3899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863391','123')
2023-10-13	13:32:42	3899	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:42	3899	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:32:42	3899	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863391 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:42	3899	[DEBUG]	Store custom available field
2023-10-13	13:32:42	3899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863391,3,'',1)
2023-10-13	13:32:42	3899	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:42	3899	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:32:42	3899	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863391 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:42	3899	[DEBUG]	Store custom available field
2023-10-13	13:32:42	3899	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863391,6,'All',3)
2023-10-13	13:32:42	3899	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:42	3899	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:32:42	3899	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863390
2023-10-13	13:32:42	3899	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:42	3899	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863390\":[1863390,8,1,\"choisir la taille\"],\"1863391\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863390
2023-10-13	13:32:42	3899	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:42	3899	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863391
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field product_sku
2023-10-13	13:32:42	3900	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field taille
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field product_name
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field category_path
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field product_price
2023-10-13	13:32:42	3900	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field product_tax
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field file_url
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:32:42	3900	[DEBUG]	Use default value for field product_desc
2023-10-13	13:32:42	3900	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field product_availability
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field product_weight
2023-10-13	13:32:42	3900	[DEBUG]	Use default value for field product_unit
2023-10-13	13:32:42	3900	[DEBUG]	Use default value for field related_products
2023-10-13	13:32:42	3900	[DEBUG]	Use default value for field product_special
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field published
2023-10-13	13:32:42	3900	[DEBUG]	Use default value for field metadesc
2023-10-13	13:32:42	3900	[DEBUG]	Use default value for field metakey
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field custom_title
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field custom_value
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field custom_param
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field override
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field public_price
2023-10-13	13:32:42	3900	[DEBUG]	Use field value for field slug
2023-10-13	13:32:42	3900	[DEBUG]	Process line 3900
2023-10-13	13:32:42	3900	[DEBUG]	Load a row
2023-10-13	13:32:42	3900	[DEBUG]	Processing item: A_6210_1
2023-10-13	13:32:42	3900	[DEBUG]	Product tax: 7.7
2023-10-13	13:32:42	3900	[DEBUG]	Processing product tax
2023-10-13	13:32:42	3900	[DEBUG]	Check if calculation rule exists
2023-10-13	13:32:42	3900	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:32:42	3900	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:32:42	3900	[DEBUG]	Query for Product
2023-10-13	13:32:42	3900	[DEBUG]	Executed store
2023-10-13	13:32:42	3900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6210_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0')
2023-10-13	13:32:42	3900	[DEBUG]	Check product language entry
2023-10-13	13:32:42	3900	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863392
2023-10-13	13:32:42	3900	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:42	3900	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6210_1' AND `virtuemart_product_id` != 1863392
2023-10-13	13:32:42	3900	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:32:42	3900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863392, 'A_6210_1')
2023-10-13	13:32:42	3900	[DEBUG]	Check if the product slug exists
2023-10-13	13:32:42	3900	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cales-sm-sh51-spd-declenchement-unidirectionnel-noir' AND `virtuemart_product_id` != 1863392
2023-10-13	13:32:42	3900	[DEBUG]	Query for ProductLang
2023-10-13	13:32:42	3900	[DEBUG]	Executed store
2023-10-13	13:32:42	3900	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.62773',`product_name`='SHIMANO Cales SM-SH51 SPD déclenchement unidirectionnel / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cales-sm-sh51-spd-declenchement-unidirectionnel-noir' WHERE `virtuemart_product_id` = '1863392'
2023-10-13	13:32:42	3900	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35936_shimano_cales_sm-sh51_spd_declenchement_unidirectionnel.jpg
2023-10-13	13:32:42	3900	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:42	3900	[DEBUG]	Process image file
2023-10-13	13:32:42	3900	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:32:42	3900	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:32:42	3900	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35936_shimano_cales_sm-sh51_spd_declenchement_unidirectionnel.jpg
2023-10-13	13:32:42	3900	[DEBUG]	Full name target: bcprisme/35936_shimano_cales_sm-sh51_spd_declenchement_unidirectionnel.jpg
2023-10-13	13:32:43	3900	[DEBUG]	Checking if the file_url exists
2023-10-13	13:32:43	3900	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35936_shimano_cales_sm-sh51_spd_declenchement_unidirectionnel.jpg'
2023-10-13	13:32:43	3900	[DEBUG]	Query for Media
2023-10-13	13:32:43	3900	[DEBUG]	Executed store
2023-10-13	13:32:43	3900	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35936_shimano_cales_sm-sh51_spd_declenchement_unidirectionnel.jpg',`file_url_thumb`='bcprisme/35936_shimano_cales_sm-sh51_spd_declenchement_unidirectionnel.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '459950'
2023-10-13	13:32:43	3900	[DEBUG]	Query for ProductMedia
2023-10-13	13:32:43	3900	[DEBUG]	Executed store
2023-10-13	13:32:43	3900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863392','459950','1')
2023-10-13	13:32:43	3900	[DEBUG]	Store product image relation
2023-10-13	13:32:43	3900	[DEBUG]	Finding a product_price_id
2023-10-13	13:32:43	3900	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863392 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:32:43	3900	[DEBUG]	Query for ProductPrice
2023-10-13	13:32:43	3900	[DEBUG]	Executed store
2023-10-13	13:32:43	3900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863392','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:31:16','1593','2023-10-13 13:31:16','1593','0000-00-00 00:00:00','0')
2023-10-13	13:32:43	3900	[DEBUG]	Checking manufacturer
2023-10-13	13:32:43	3900	[DEBUG]	Load a row
2023-10-13	13:32:43	3900	[DEBUG]	Manufacturer already exists
2023-10-13	13:32:43	3900	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:32:43	3900	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:32:43	3900	[DEBUG]	Executed store
2023-10-13	13:32:43	3900	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:32:43	3900	[DEBUG]	Manufacturer exists
2023-10-13	13:32:43	3900	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:32:43	3900	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:32:43	3900	[DEBUG]	Executed store
2023-10-13	13:32:43	3900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863392','123')
2023-10-13	13:32:43	3900	[DEBUG]	Find the custom field ID
2023-10-13	13:32:43	3900	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:32:43	3900	[DEBUG]	No custom field ID found
2023-10-13	13:32:43	3900	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:32:43	3900	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:32:43	3900	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863392 AND `virtuemart_custom_id` = 3
2023-10-13	13:32:43	3900	[DEBUG]	Store custom available field
2023-10-13	13:32:43	3900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863392,3,'0',1)
2023-10-13	13:32:43	3900	[DEBUG]	Processing custom available field: taille
2023-10-13	13:32:43	3900	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:32:43	3900	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863392 AND `virtuemart_custom_id` = 6
2023-10-13	13:32:43	3900	[DEBUG]	Store custom available field
2023-10-13	13:32:43	3900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863392,6,'choisir la taille',3)
2023-10-13	13:32:43	3900	[DEBUG]	Process multi-variant fields
2023-10-13	13:32:43	3900	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:32:43	3900	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:32:43	3900	[DEBUG]	Find the multi variant product entry
2023-10-13	13:32:43	3900	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863392 AND `virtuemart_custom_id` = 8
2023-10-13	13:32:43	3900	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:32:43	3900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863392,8,1)
2023-10-13	13:32:43	3900	[DEBUG]	Store the updated customfield_params
2023-10-13	13:32:43	3900	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863392\":[1863392,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863392
2023-10-13	13:32:43	3900	[DEBUG]	Checking category
2023-10-13	13:32:43	3900	[DEBUG]	Get the existing categories for the product
2023-10-13	13:32:43	3900	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863392
2023-10-13	13:32:43	3900	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:32:43	3900	[DEBUG]	Executed store
2023-10-13	13:32:43	3900	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863392','7390')
2023-10-13	13:32:43	3900	[DEBUG]	Delete leftover product categories
2023-10-13	13:32:43	3900	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863392 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:32:43	3900	[DEBUG]	Update has fields after all processing
2023-10-13	13:32:43	3900	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863392
2023-10-13	13:33:03	3900	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:33:03	3900	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:33:03	3900	[DEBUG]	Load the fields to process
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: product_sku
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: taille
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: product_name
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: category_path
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: product_price
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: product_override_price
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: product_tax
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: file_url
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: product_desc
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: product_availability
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: product_weight
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: product_unit
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: related_products
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: product_special
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: published
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: metadesc
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: metakey
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: custom_title
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: custom_value
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: custom_param
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: override
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: public_price
2023-10-13	13:33:03	3900	[DEBUG]	Setup field: slug
2023-10-13	13:33:03	3900	[DEBUG]	Use the file for configuration
2023-10-13	13:33:03	3900	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:33:03	3900	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:33:03	3900	[DEBUG]	Load the custom fields
2023-10-13	13:33:03	3900	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:33:03	3900	[DEBUG]	Load stockable custom fields
2023-10-13	13:33:03	3900	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:33:03	3900	[DEBUG]	Load custom fields for all
2023-10-13	13:33:03	3900	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:33:03	3901	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:03	3901	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:03	3901	[DEBUG]	Use field value for field taille
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:03	3901	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:03	3901	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:03	3901	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:03	3901	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:03	3901	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:03	3901	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:03	3901	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:03	3901	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:03	3901	[DEBUG]	Use field value for field published
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:03	3901	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field override
2023-10-13	13:33:03	3901	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:03	3901	[DEBUG]	Use field value for field slug
2023-10-13	13:33:03	3901	[DEBUG]	Process line 3901
2023-10-13	13:33:03	3901	[DEBUG]	Check if the vendor exists
2023-10-13	13:33:03	3901	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '4524667902980'
2023-10-13	13:33:03	3901	[DEBUG]	Load a row
2023-10-13	13:33:03	3901	[DEBUG]	Processing item: 4524667902980
2023-10-13	13:33:03	3901	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:03	3901	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:03	3901	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6210_1'
2023-10-13	13:33:03	3901	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:03	3901	[DEBUG]	Processing product tax
2023-10-13	13:33:03	3901	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:03	3901	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:03	3901	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:03	3901	[DEBUG]	Query for Product
2023-10-13	13:33:03	3901	[DEBUG]	Executed store
2023-10-13	13:33:03	3901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863392','4524667902980','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:03	3901	[DEBUG]	No parent found
2023-10-13	13:33:03	3901	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863392 AND customfield_value = 'stockable'
2023-10-13	13:33:03	3901	[DEBUG]	Check product language entry
2023-10-13	13:33:03	3901	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863393
2023-10-13	13:33:03	3901	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:03	3901	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667902980' AND `virtuemart_product_id` != 1863393
2023-10-13	13:33:03	3901	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:03	3901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863393, '4524667902980')
2023-10-13	13:33:03	3901	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:03	3901	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-cales-sm-sh51-spd-declenchement-unidirectionnel-noir-unitaire' AND `virtuemart_product_id` != 1863393
2023-10-13	13:33:03	3901	[DEBUG]	Query for ProductLang
2023-10-13	13:33:03	3901	[DEBUG]	Executed store
2023-10-13	13:33:03	3901	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Cales SM-SH51 SPD déclenchement unidirectionnel / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-cales-sm-sh51-spd-declenchement-unidirectionnel-noir-unitaire' WHERE `virtuemart_product_id` = '1863393'
2023-10-13	13:33:03	3901	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35936_shimano_cales_sm-sh51_spd_declenchement_unidirectionnel.jpg
2023-10-13	13:33:03	3901	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:03	3901	[DEBUG]	Process image file
2023-10-13	13:33:03	3901	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:03	3901	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:03	3901	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35936_shimano_cales_sm-sh51_spd_declenchement_unidirectionnel.jpg
2023-10-13	13:33:03	3901	[DEBUG]	Full name target: bcprisme/35936_shimano_cales_sm-sh51_spd_declenchement_unidirectionnel.jpg
2023-10-13	13:33:04	3901	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:04	3901	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35936_shimano_cales_sm-sh51_spd_declenchement_unidirectionnel.jpg'
2023-10-13	13:33:04	3901	[DEBUG]	Query for Media
2023-10-13	13:33:04	3901	[DEBUG]	Executed store
2023-10-13	13:33:04	3901	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35936_shimano_cales_sm-sh51_spd_declenchement_unidirectionnel.jpg',`file_url_thumb`='bcprisme/35936_shimano_cales_sm-sh51_spd_declenchement_unidirectionnel.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '459950'
2023-10-13	13:33:04	3901	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:04	3901	[DEBUG]	Executed store
2023-10-13	13:33:04	3901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863393','459950','1')
2023-10-13	13:33:04	3901	[DEBUG]	Store product image relation
2023-10-13	13:33:04	3901	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:04	3901	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863393 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:04	3901	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:04	3901	[DEBUG]	Executed store
2023-10-13	13:33:04	3901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863393','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:04	3901	[DEBUG]	Checking manufacturer
2023-10-13	13:33:04	3901	[DEBUG]	Load a row
2023-10-13	13:33:04	3901	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:04	3901	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:04	3901	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:04	3901	[DEBUG]	Executed store
2023-10-13	13:33:04	3901	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:04	3901	[DEBUG]	Manufacturer exists
2023-10-13	13:33:04	3901	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:33:04	3901	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:04	3901	[DEBUG]	Executed store
2023-10-13	13:33:04	3901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863393','123')
2023-10-13	13:33:04	3901	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:04	3901	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:04	3901	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863393 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:04	3901	[DEBUG]	Store custom available field
2023-10-13	13:33:04	3901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863393,3,'',1)
2023-10-13	13:33:04	3901	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:04	3901	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:04	3901	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863393 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:04	3901	[DEBUG]	Store custom available field
2023-10-13	13:33:04	3901	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863393,6,'Unitaire',3)
2023-10-13	13:33:04	3901	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:04	3901	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:04	3901	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863392
2023-10-13	13:33:04	3901	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:04	3901	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863392\":[1863392,8,1,\"choisir la taille\"],\"1863393\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863392
2023-10-13	13:33:04	3901	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:04	3901	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863393
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:04	3902	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field taille
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:04	3902	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:04	3902	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:04	3902	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:04	3902	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:04	3902	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:04	3902	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field published
2023-10-13	13:33:04	3902	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:04	3902	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field override
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:04	3902	[DEBUG]	Use field value for field slug
2023-10-13	13:33:04	3902	[DEBUG]	Process line 3902
2023-10-13	13:33:04	3902	[DEBUG]	Load a row
2023-10-13	13:33:04	3902	[DEBUG]	Processing item: A_6365_208
2023-10-13	13:33:04	3902	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:04	3902	[DEBUG]	Processing product tax
2023-10-13	13:33:04	3902	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:04	3902	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:04	3902	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:04	3902	[DEBUG]	Query for Product
2023-10-13	13:33:04	3902	[DEBUG]	Executed store
2023-10-13	13:33:04	3902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6365_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:04	3902	[DEBUG]	Check product language entry
2023-10-13	13:33:04	3902	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863394
2023-10-13	13:33:04	3902	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:04	3902	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6365_208' AND `virtuemart_product_id` != 1863394
2023-10-13	13:33:04	3902	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:04	3902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863394, 'A_6365_208')
2023-10-13	13:33:04	3902	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:04	3902	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-de-reflecteurs-pd-m324-mx30-0-aucune' AND `virtuemart_product_id` != 1863394
2023-10-13	13:33:04	3902	[DEBUG]	Query for ProductLang
2023-10-13	13:33:04	3902	[DEBUG]	Executed store
2023-10-13	13:33:04	3902	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.37201',`product_name`='SHIMANO Set de réflecteurs PD-M324/MX30 0 / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-de-reflecteurs-pd-m324-mx30-0-aucune' WHERE `virtuemart_product_id` = '1863394'
2023-10-13	13:33:04	3902	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32251_shimano_set_de_reflecteurs_pd-m324-mx30_0.jpg
2023-10-13	13:33:04	3902	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:04	3902	[DEBUG]	Process image file
2023-10-13	13:33:04	3902	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:04	3902	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:04	3902	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32251_shimano_set_de_reflecteurs_pd-m324-mx30_0.jpg
2023-10-13	13:33:04	3902	[DEBUG]	Full name target: bcprisme/32251_shimano_set_de_reflecteurs_pd-m324-mx30_0.jpg
2023-10-13	13:33:05	3902	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:05	3902	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32251_shimano_set_de_reflecteurs_pd-m324-mx30_0.jpg'
2023-10-13	13:33:05	3902	[DEBUG]	Query for Media
2023-10-13	13:33:05	3902	[DEBUG]	Executed store
2023-10-13	13:33:05	3902	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32251_shimano_set_de_reflecteurs_pd-m324-mx30_0.jpg',`file_url_thumb`='bcprisme/32251_shimano_set_de_reflecteurs_pd-m324-mx30_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14423'
2023-10-13	13:33:05	3902	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:05	3902	[DEBUG]	Executed store
2023-10-13	13:33:05	3902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863394','14423','1')
2023-10-13	13:33:05	3902	[DEBUG]	Store product image relation
2023-10-13	13:33:05	3902	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:05	3902	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863394 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:05	3902	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:05	3902	[DEBUG]	Executed store
2023-10-13	13:33:05	3902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863394','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:05	3902	[DEBUG]	Checking manufacturer
2023-10-13	13:33:05	3902	[DEBUG]	Load a row
2023-10-13	13:33:05	3902	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:05	3902	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:05	3902	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:05	3902	[DEBUG]	Executed store
2023-10-13	13:33:05	3902	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:05	3902	[DEBUG]	Manufacturer exists
2023-10-13	13:33:05	3902	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:33:05	3902	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:05	3902	[DEBUG]	Executed store
2023-10-13	13:33:05	3902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863394','123')
2023-10-13	13:33:05	3902	[DEBUG]	Find the custom field ID
2023-10-13	13:33:05	3902	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:05	3902	[DEBUG]	No custom field ID found
2023-10-13	13:33:05	3902	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:05	3902	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:33:05	3902	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863394 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:05	3902	[DEBUG]	Store custom available field
2023-10-13	13:33:05	3902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863394,3,'0',1)
2023-10-13	13:33:05	3902	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:05	3902	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:05	3902	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863394 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:05	3902	[DEBUG]	Store custom available field
2023-10-13	13:33:05	3902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863394,6,'choisir la taille',3)
2023-10-13	13:33:05	3902	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:05	3902	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:05	3902	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:05	3902	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:05	3902	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863394 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:05	3902	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:05	3902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863394,8,1)
2023-10-13	13:33:05	3902	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:05	3902	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863394\":[1863394,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863394
2023-10-13	13:33:05	3902	[DEBUG]	Checking category
2023-10-13	13:33:05	3902	[DEBUG]	Check if category path exists: PEDALES - PEDALEN
2023-10-13	13:33:05	3902	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PEDALES - PEDALEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:33:05	3902	[DEBUG]	Check if category path exists: PEDALES ACCESSOIRES - ZUBEHÖR PEDALE
2023-10-13	13:33:05	3902	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PEDALES ACCESSOIRES - ZUBEHÖR PEDALE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7389
2023-10-13	13:33:05	3902	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:05	3902	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863394
2023-10-13	13:33:05	3902	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:05	3902	[DEBUG]	Executed store
2023-10-13	13:33:05	3902	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863394','7390')
2023-10-13	13:33:05	3902	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:05	3902	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863394 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:33:05	3902	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:05	3902	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863394
2023-10-13	13:33:05	3903	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:05	3903	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:05	3903	[DEBUG]	Use field value for field taille
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:05	3903	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:05	3903	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:05	3903	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:05	3903	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:05	3903	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:05	3903	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:05	3903	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:05	3903	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:05	3903	[DEBUG]	Use field value for field published
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:05	3903	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field override
2023-10-13	13:33:05	3903	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:05	3903	[DEBUG]	Use field value for field slug
2023-10-13	13:33:05	3903	[DEBUG]	Process line 3903
2023-10-13	13:33:05	3903	[DEBUG]	Load a row
2023-10-13	13:33:05	3903	[DEBUG]	Processing item: 4524667181286
2023-10-13	13:33:06	3903	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:06	3903	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:06	3903	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6365_208'
2023-10-13	13:33:06	3903	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:06	3903	[DEBUG]	Processing product tax
2023-10-13	13:33:06	3903	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:06	3903	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:06	3903	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:06	3903	[DEBUG]	Query for Product
2023-10-13	13:33:06	3903	[DEBUG]	Executed store
2023-10-13	13:33:06	3903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863394','4524667181286','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:06	3903	[DEBUG]	No parent found
2023-10-13	13:33:06	3903	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863394 AND customfield_value = 'stockable'
2023-10-13	13:33:06	3903	[DEBUG]	Check product language entry
2023-10-13	13:33:06	3903	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863395
2023-10-13	13:33:06	3903	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:06	3903	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667181286' AND `virtuemart_product_id` != 1863395
2023-10-13	13:33:06	3903	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:06	3903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863395, '4524667181286')
2023-10-13	13:33:06	3903	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:06	3903	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-de-reflecteurs-pd-m324-mx30-0-aucune-all' AND `virtuemart_product_id` != 1863395
2023-10-13	13:33:06	3903	[DEBUG]	Query for ProductLang
2023-10-13	13:33:06	3903	[DEBUG]	Executed store
2023-10-13	13:33:06	3903	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set de réflecteurs PD-M324/MX30 0 / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-de-reflecteurs-pd-m324-mx30-0-aucune-all' WHERE `virtuemart_product_id` = '1863395'
2023-10-13	13:33:06	3903	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32251_shimano_set_de_reflecteurs_pd-m324-mx30_0.jpg
2023-10-13	13:33:06	3903	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:06	3903	[DEBUG]	Process image file
2023-10-13	13:33:06	3903	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:06	3903	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:06	3903	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32251_shimano_set_de_reflecteurs_pd-m324-mx30_0.jpg
2023-10-13	13:33:06	3903	[DEBUG]	Full name target: bcprisme/32251_shimano_set_de_reflecteurs_pd-m324-mx30_0.jpg
2023-10-13	13:33:07	3903	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:07	3903	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32251_shimano_set_de_reflecteurs_pd-m324-mx30_0.jpg'
2023-10-13	13:33:07	3903	[DEBUG]	Query for Media
2023-10-13	13:33:07	3903	[DEBUG]	Executed store
2023-10-13	13:33:07	3903	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32251_shimano_set_de_reflecteurs_pd-m324-mx30_0.jpg',`file_url_thumb`='bcprisme/32251_shimano_set_de_reflecteurs_pd-m324-mx30_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14423'
2023-10-13	13:33:07	3903	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:07	3903	[DEBUG]	Executed store
2023-10-13	13:33:07	3903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863395','14423','1')
2023-10-13	13:33:07	3903	[DEBUG]	Store product image relation
2023-10-13	13:33:07	3903	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:07	3903	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863395 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:07	3903	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:07	3903	[DEBUG]	Executed store
2023-10-13	13:33:07	3903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863395','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:07	3903	[DEBUG]	Checking manufacturer
2023-10-13	13:33:07	3903	[DEBUG]	Load a row
2023-10-13	13:33:07	3903	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:07	3903	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:07	3903	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:07	3903	[DEBUG]	Executed store
2023-10-13	13:33:07	3903	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:07	3903	[DEBUG]	Manufacturer exists
2023-10-13	13:33:07	3903	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:33:07	3903	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:07	3903	[DEBUG]	Executed store
2023-10-13	13:33:07	3903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863395','123')
2023-10-13	13:33:07	3903	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:07	3903	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:07	3903	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863395 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:07	3903	[DEBUG]	Store custom available field
2023-10-13	13:33:07	3903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863395,3,'',1)
2023-10-13	13:33:07	3903	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:07	3903	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:33:07	3903	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863395 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:07	3903	[DEBUG]	Store custom available field
2023-10-13	13:33:07	3903	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863395,6,'All',3)
2023-10-13	13:33:07	3903	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:07	3903	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:07	3903	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863394
2023-10-13	13:33:07	3903	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:07	3903	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863394\":[1863394,8,1,\"choisir la taille\"],\"1863395\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863394
2023-10-13	13:33:07	3903	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:07	3903	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863395
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:07	3904	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field taille
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:07	3904	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:07	3904	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:07	3904	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:07	3904	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:07	3904	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:07	3904	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field published
2023-10-13	13:33:07	3904	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:07	3904	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field override
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:07	3904	[DEBUG]	Use field value for field slug
2023-10-13	13:33:07	3904	[DEBUG]	Process line 3904
2023-10-13	13:33:07	3904	[DEBUG]	Load a row
2023-10-13	13:33:07	3904	[DEBUG]	Processing item: A_6366_1
2023-10-13	13:33:07	3904	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:07	3904	[DEBUG]	Processing product tax
2023-10-13	13:33:07	3904	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:07	3904	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:07	3904	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:07	3904	[DEBUG]	Query for Product
2023-10-13	13:33:07	3904	[DEBUG]	Executed store
2023-10-13	13:33:07	3904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6366_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:07	3904	[DEBUG]	Check product language entry
2023-10-13	13:33:07	3904	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863396
2023-10-13	13:33:07	3904	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:07	3904	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6366_1' AND `virtuemart_product_id` != 1863396
2023-10-13	13:33:07	3904	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:07	3904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863396, 'A_6366_1')
2023-10-13	13:33:07	3904	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:07	3904	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-de-reflecteurs-wellgo-a-clipper-noir' AND `virtuemart_product_id` != 1863396
2023-10-13	13:33:07	3904	[DEBUG]	Query for ProductLang
2023-10-13	13:33:07	3904	[DEBUG]	Executed store
2023-10-13	13:33:07	3904	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 14.23651',`product_name`='SHIMANO Set de réflecteurs Wellgo à clipper / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-de-reflecteurs-wellgo-a-clipper-noir' WHERE `virtuemart_product_id` = '1863396'
2023-10-13	13:33:07	3904	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32252_shimano_set_de_reflecteurs_wellgo_à_clipper.jpg
2023-10-13	13:33:07	3904	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:07	3904	[DEBUG]	Process image file
2023-10-13	13:33:07	3904	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:07	3904	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:07	3904	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32252_shimano_set_de_reflecteurs_wellgo_à_clipper.jpg
2023-10-13	13:33:07	3904	[DEBUG]	Full name target: bcprisme/32252_shimano_set_de_reflecteurs_wellgo_à_clipper.jpg
2023-10-13	13:33:08	3904	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:08	3904	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32252_shimano_set_de_reflecteurs_wellgo_à_clipper.jpg'
2023-10-13	13:33:08	3904	[DEBUG]	Query for Media
2023-10-13	13:33:08	3904	[DEBUG]	Executed store
2023-10-13	13:33:08	3904	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32252_shimano_set_de_reflecteurs_wellgo_à_clipper.jpg',`file_url_thumb`='bcprisme/32252_shimano_set_de_reflecteurs_wellgo_à_clipper.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14424'
2023-10-13	13:33:08	3904	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:08	3904	[DEBUG]	Executed store
2023-10-13	13:33:08	3904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863396','14424','1')
2023-10-13	13:33:08	3904	[DEBUG]	Store product image relation
2023-10-13	13:33:08	3904	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:08	3904	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863396 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:08	3904	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:08	3904	[DEBUG]	Executed store
2023-10-13	13:33:08	3904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863396','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:08	3904	[DEBUG]	Checking manufacturer
2023-10-13	13:33:08	3904	[DEBUG]	Load a row
2023-10-13	13:33:08	3904	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:08	3904	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:08	3904	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:08	3904	[DEBUG]	Executed store
2023-10-13	13:33:08	3904	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:08	3904	[DEBUG]	Manufacturer exists
2023-10-13	13:33:08	3904	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:33:08	3904	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:08	3904	[DEBUG]	Executed store
2023-10-13	13:33:08	3904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863396','123')
2023-10-13	13:33:08	3904	[DEBUG]	Find the custom field ID
2023-10-13	13:33:08	3904	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:08	3904	[DEBUG]	No custom field ID found
2023-10-13	13:33:08	3904	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:08	3904	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:33:08	3904	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863396 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:08	3904	[DEBUG]	Store custom available field
2023-10-13	13:33:08	3904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863396,3,'0',1)
2023-10-13	13:33:08	3904	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:08	3904	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:08	3904	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863396 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:08	3904	[DEBUG]	Store custom available field
2023-10-13	13:33:08	3904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863396,6,'choisir la taille',3)
2023-10-13	13:33:08	3904	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:08	3904	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:08	3904	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:08	3904	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:08	3904	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863396 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:08	3904	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:08	3904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863396,8,1)
2023-10-13	13:33:08	3904	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:08	3904	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863396\":[1863396,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863396
2023-10-13	13:33:08	3904	[DEBUG]	Checking category
2023-10-13	13:33:08	3904	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:08	3904	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863396
2023-10-13	13:33:08	3904	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:08	3904	[DEBUG]	Executed store
2023-10-13	13:33:08	3904	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863396','7390')
2023-10-13	13:33:08	3904	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:08	3904	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863396 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:33:08	3904	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:08	3904	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863396
2023-10-13	13:33:08	3905	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:08	3905	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:08	3905	[DEBUG]	Use field value for field taille
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:08	3905	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:08	3905	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:08	3905	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:08	3905	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:08	3905	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:08	3905	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:08	3905	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:08	3905	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:08	3905	[DEBUG]	Use field value for field published
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:08	3905	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field override
2023-10-13	13:33:08	3905	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:08	3905	[DEBUG]	Use field value for field slug
2023-10-13	13:33:08	3905	[DEBUG]	Process line 3905
2023-10-13	13:33:08	3905	[DEBUG]	Load a row
2023-10-13	13:33:08	3905	[DEBUG]	Processing item: 4714150557098
2023-10-13	13:33:08	3905	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:08	3905	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:08	3905	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6366_1'
2023-10-13	13:33:08	3905	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:08	3905	[DEBUG]	Processing product tax
2023-10-13	13:33:08	3905	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:08	3905	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:08	3905	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:08	3905	[DEBUG]	Query for Product
2023-10-13	13:33:08	3905	[DEBUG]	Executed store
2023-10-13	13:33:08	3905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863396','4714150557098','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:08	3905	[DEBUG]	No parent found
2023-10-13	13:33:08	3905	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863396 AND customfield_value = 'stockable'
2023-10-13	13:33:08	3905	[DEBUG]	Check product language entry
2023-10-13	13:33:08	3905	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863397
2023-10-13	13:33:08	3905	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:08	3905	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4714150557098' AND `virtuemart_product_id` != 1863397
2023-10-13	13:33:08	3905	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:08	3905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863397, '4714150557098')
2023-10-13	13:33:08	3905	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:08	3905	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-set-de-reflecteurs-wellgo-a-clipper-noir-all' AND `virtuemart_product_id` != 1863397
2023-10-13	13:33:08	3905	[DEBUG]	Query for ProductLang
2023-10-13	13:33:08	3905	[DEBUG]	Executed store
2023-10-13	13:33:08	3905	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Set de réflecteurs Wellgo à clipper / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-set-de-reflecteurs-wellgo-a-clipper-noir-all' WHERE `virtuemart_product_id` = '1863397'
2023-10-13	13:33:08	3905	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32252_shimano_set_de_reflecteurs_wellgo_à_clipper.jpg
2023-10-13	13:33:08	3905	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:08	3905	[DEBUG]	Process image file
2023-10-13	13:33:08	3905	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:08	3905	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:08	3905	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32252_shimano_set_de_reflecteurs_wellgo_à_clipper.jpg
2023-10-13	13:33:08	3905	[DEBUG]	Full name target: bcprisme/32252_shimano_set_de_reflecteurs_wellgo_à_clipper.jpg
2023-10-13	13:33:09	3905	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:09	3905	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32252_shimano_set_de_reflecteurs_wellgo_à_clipper.jpg'
2023-10-13	13:33:09	3905	[DEBUG]	Query for Media
2023-10-13	13:33:09	3905	[DEBUG]	Executed store
2023-10-13	13:33:09	3905	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32252_shimano_set_de_reflecteurs_wellgo_à_clipper.jpg',`file_url_thumb`='bcprisme/32252_shimano_set_de_reflecteurs_wellgo_à_clipper.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14424'
2023-10-13	13:33:09	3905	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:09	3905	[DEBUG]	Executed store
2023-10-13	13:33:09	3905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863397','14424','1')
2023-10-13	13:33:09	3905	[DEBUG]	Store product image relation
2023-10-13	13:33:09	3905	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:09	3905	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863397 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:09	3905	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:09	3905	[DEBUG]	Executed store
2023-10-13	13:33:09	3905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863397','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:09	3905	[DEBUG]	Checking manufacturer
2023-10-13	13:33:09	3905	[DEBUG]	Load a row
2023-10-13	13:33:09	3905	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:09	3905	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:09	3905	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:09	3905	[DEBUG]	Executed store
2023-10-13	13:33:09	3905	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:09	3905	[DEBUG]	Manufacturer exists
2023-10-13	13:33:09	3905	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:33:09	3905	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:09	3905	[DEBUG]	Executed store
2023-10-13	13:33:09	3905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863397','123')
2023-10-13	13:33:09	3905	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:09	3905	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:09	3905	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863397 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:09	3905	[DEBUG]	Store custom available field
2023-10-13	13:33:09	3905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863397,3,'',1)
2023-10-13	13:33:09	3905	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:09	3905	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:33:09	3905	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863397 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:09	3905	[DEBUG]	Store custom available field
2023-10-13	13:33:09	3905	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863397,6,'All',3)
2023-10-13	13:33:09	3905	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:09	3905	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:09	3905	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863396
2023-10-13	13:33:09	3905	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:09	3905	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863396\":[1863396,8,1,\"choisir la taille\"],\"1863397\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863396
2023-10-13	13:33:09	3905	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:09	3905	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863397
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:09	3906	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field taille
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:09	3906	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:09	3906	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:09	3906	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:09	3906	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:09	3906	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:09	3906	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field published
2023-10-13	13:33:09	3906	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:09	3906	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field override
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:09	3906	[DEBUG]	Use field value for field slug
2023-10-13	13:33:09	3906	[DEBUG]	Process line 3906
2023-10-13	13:33:09	3906	[DEBUG]	Load a row
2023-10-13	13:33:09	3906	[DEBUG]	Processing item: A_7031_243
2023-10-13	13:33:09	3906	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:09	3906	[DEBUG]	Processing product tax
2023-10-13	13:33:09	3906	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:09	3906	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:09	3906	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:09	3906	[DEBUG]	Query for Product
2023-10-13	13:33:09	3906	[DEBUG]	Executed store
2023-10-13	13:33:09	3906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7031_243','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:09	3906	[DEBUG]	Check product language entry
2023-10-13	13:33:09	3906	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863398
2023-10-13	13:33:09	3906	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:09	3906	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7031_243' AND `virtuemart_product_id` != 1863398
2023-10-13	13:33:09	3906	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:09	3906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863398, 'A_7031_243')
2023-10-13	13:33:09	3906	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:09	3906	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'cycleops-cales-pour-pedales-look-keo-grip-grise' AND `virtuemart_product_id` != 1863398
2023-10-13	13:33:09	3906	[DEBUG]	Query for ProductLang
2023-10-13	13:33:09	3906	[DEBUG]	Executed store
2023-10-13	13:33:09	3906	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60373',`product_name`='CycleOps Cales pour pédales Look KEO grip  / Grise',`metadesc`='',`metakey`='',`customtitle`='',`slug`='cycleops-cales-pour-pedales-look-keo-grip-grise' WHERE `virtuemart_product_id` = '1863398'
2023-10-13	13:33:09	3906	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34169_cales_pour_pedales_look_keo_grip_.jpg
2023-10-13	13:33:09	3906	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:09	3906	[DEBUG]	Process image file
2023-10-13	13:33:09	3906	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:09	3906	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:09	3906	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34169_cales_pour_pedales_look_keo_grip_.jpg
2023-10-13	13:33:09	3906	[DEBUG]	Full name target: bcprisme/34169_cales_pour_pedales_look_keo_grip_.jpg
2023-10-13	13:33:10	3906	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:10	3906	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34169_cales_pour_pedales_look_keo_grip_.jpg'
2023-10-13	13:33:10	3906	[DEBUG]	Query for Media
2023-10-13	13:33:10	3906	[DEBUG]	Executed store
2023-10-13	13:33:10	3906	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34169_cales_pour_pedales_look_keo_grip_.jpg',`file_url_thumb`='bcprisme/34169_cales_pour_pedales_look_keo_grip_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17623'
2023-10-13	13:33:10	3906	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:10	3906	[DEBUG]	Executed store
2023-10-13	13:33:10	3906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863398','17623','1')
2023-10-13	13:33:10	3906	[DEBUG]	Store product image relation
2023-10-13	13:33:10	3906	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:10	3906	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863398 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:10	3906	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:10	3906	[DEBUG]	Executed store
2023-10-13	13:33:10	3906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863398','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:10	3906	[DEBUG]	Checking manufacturer
2023-10-13	13:33:10	3906	[DEBUG]	Load a row
2023-10-13	13:33:10	3906	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:10	3906	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '43'
2023-10-13	13:33:10	3906	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:10	3906	[DEBUG]	Executed store
2023-10-13	13:33:10	3906	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-47566082545' WHERE `virtuemart_manufacturer_id` = '43'
2023-10-13	13:33:10	3906	[DEBUG]	Manufacturer exists
2023-10-13	13:33:10	3906	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 43
2023-10-13	13:33:10	3906	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:10	3906	[DEBUG]	Executed store
2023-10-13	13:33:10	3906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863398','43')
2023-10-13	13:33:10	3906	[DEBUG]	Find the custom field ID
2023-10-13	13:33:10	3906	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:10	3906	[DEBUG]	No custom field ID found
2023-10-13	13:33:10	3906	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:10	3906	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:33:10	3906	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863398 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:10	3906	[DEBUG]	Store custom available field
2023-10-13	13:33:10	3906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863398,3,'16.8530555555556',1)
2023-10-13	13:33:10	3906	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:10	3906	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:10	3906	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863398 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:10	3906	[DEBUG]	Store custom available field
2023-10-13	13:33:10	3906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863398,6,'choisir la taille',3)
2023-10-13	13:33:10	3906	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:10	3906	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:10	3906	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:10	3906	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:10	3906	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863398 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:10	3906	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:10	3906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863398,8,1)
2023-10-13	13:33:10	3906	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:10	3906	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863398\":[1863398,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863398
2023-10-13	13:33:10	3906	[DEBUG]	Checking category
2023-10-13	13:33:10	3906	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:10	3906	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863398
2023-10-13	13:33:10	3906	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:10	3906	[DEBUG]	Executed store
2023-10-13	13:33:10	3906	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863398','7390')
2023-10-13	13:33:10	3906	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:10	3906	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863398 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:33:10	3906	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:10	3906	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863398
2023-10-13	13:33:10	3907	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:10	3907	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:10	3907	[DEBUG]	Use field value for field taille
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:10	3907	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:10	3907	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:10	3907	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:10	3907	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:10	3907	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:10	3907	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:10	3907	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:10	3907	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:10	3907	[DEBUG]	Use field value for field published
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:10	3907	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field override
2023-10-13	13:33:10	3907	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:10	3907	[DEBUG]	Use field value for field slug
2023-10-13	13:33:10	3907	[DEBUG]	Process line 3907
2023-10-13	13:33:10	3907	[DEBUG]	Load a row
2023-10-13	13:33:10	3907	[DEBUG]	Processing item: 3611720061553
2023-10-13	13:33:10	3907	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:10	3907	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:10	3907	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7031_243'
2023-10-13	13:33:10	3907	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:10	3907	[DEBUG]	Processing product tax
2023-10-13	13:33:10	3907	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:10	3907	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:10	3907	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:10	3907	[DEBUG]	Query for Product
2023-10-13	13:33:10	3907	[DEBUG]	Executed store
2023-10-13	13:33:10	3907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863398','3611720061553','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:10	3907	[DEBUG]	No parent found
2023-10-13	13:33:10	3907	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863398 AND customfield_value = 'stockable'
2023-10-13	13:33:10	3907	[DEBUG]	Check product language entry
2023-10-13	13:33:10	3907	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863399
2023-10-13	13:33:10	3907	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:10	3907	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3611720061553' AND `virtuemart_product_id` != 1863399
2023-10-13	13:33:10	3907	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:10	3907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863399, '3611720061553')
2023-10-13	13:33:10	3907	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:10	3907	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'cycleops-cales-pour-pedales-look-keo-grip-grise-unitaire' AND `virtuemart_product_id` != 1863399
2023-10-13	13:33:10	3907	[DEBUG]	Query for ProductLang
2023-10-13	13:33:10	3907	[DEBUG]	Executed store
2023-10-13	13:33:10	3907	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CycleOps Cales pour pédales Look KEO grip  / Grise (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='cycleops-cales-pour-pedales-look-keo-grip-grise-unitaire' WHERE `virtuemart_product_id` = '1863399'
2023-10-13	13:33:10	3907	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34169_cales_pour_pedales_look_keo_grip_.jpg
2023-10-13	13:33:10	3907	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:10	3907	[DEBUG]	Process image file
2023-10-13	13:33:10	3907	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:10	3907	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:10	3907	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34169_cales_pour_pedales_look_keo_grip_.jpg
2023-10-13	13:33:10	3907	[DEBUG]	Full name target: bcprisme/34169_cales_pour_pedales_look_keo_grip_.jpg
2023-10-13	13:33:11	3907	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:11	3907	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34169_cales_pour_pedales_look_keo_grip_.jpg'
2023-10-13	13:33:11	3907	[DEBUG]	Query for Media
2023-10-13	13:33:11	3907	[DEBUG]	Executed store
2023-10-13	13:33:11	3907	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34169_cales_pour_pedales_look_keo_grip_.jpg',`file_url_thumb`='bcprisme/34169_cales_pour_pedales_look_keo_grip_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17623'
2023-10-13	13:33:11	3907	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:11	3907	[DEBUG]	Executed store
2023-10-13	13:33:11	3907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863399','17623','1')
2023-10-13	13:33:11	3907	[DEBUG]	Store product image relation
2023-10-13	13:33:11	3907	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:11	3907	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863399 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:11	3907	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:11	3907	[DEBUG]	Executed store
2023-10-13	13:33:11	3907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863399','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:11	3907	[DEBUG]	Checking manufacturer
2023-10-13	13:33:11	3907	[DEBUG]	Load a row
2023-10-13	13:33:11	3907	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:11	3907	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '43'
2023-10-13	13:33:11	3907	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:11	3907	[DEBUG]	Executed store
2023-10-13	13:33:11	3907	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-47566082545' WHERE `virtuemart_manufacturer_id` = '43'
2023-10-13	13:33:11	3907	[DEBUG]	Manufacturer exists
2023-10-13	13:33:11	3907	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 43
2023-10-13	13:33:11	3907	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:11	3907	[DEBUG]	Executed store
2023-10-13	13:33:11	3907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863399','43')
2023-10-13	13:33:11	3907	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:11	3907	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:11	3907	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863399 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:11	3907	[DEBUG]	Store custom available field
2023-10-13	13:33:11	3907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863399,3,'',1)
2023-10-13	13:33:11	3907	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:11	3907	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:11	3907	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863399 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:11	3907	[DEBUG]	Store custom available field
2023-10-13	13:33:11	3907	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863399,6,'Unitaire',3)
2023-10-13	13:33:11	3907	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:11	3907	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:11	3907	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863398
2023-10-13	13:33:11	3907	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:11	3907	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863398\":[1863398,8,1,\"choisir la taille\"],\"1863399\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863398
2023-10-13	13:33:11	3907	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:11	3907	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863399
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:11	3908	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field taille
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:11	3908	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:11	3908	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:11	3908	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:11	3908	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:11	3908	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:11	3908	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field published
2023-10-13	13:33:11	3908	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:11	3908	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field override
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:11	3908	[DEBUG]	Use field value for field slug
2023-10-13	13:33:11	3908	[DEBUG]	Process line 3908
2023-10-13	13:33:11	3908	[DEBUG]	Load a row
2023-10-13	13:33:11	3908	[DEBUG]	Processing item: A_7172_7
2023-10-13	13:33:11	3908	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:11	3908	[DEBUG]	Processing product tax
2023-10-13	13:33:11	3908	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:11	3908	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:11	3908	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:11	3908	[DEBUG]	Query for Product
2023-10-13	13:33:11	3908	[DEBUG]	Executed store
2023-10-13	13:33:11	3908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7172_7','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:11	3908	[DEBUG]	Check product language entry
2023-10-13	13:33:11	3908	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863400
2023-10-13	13:33:11	3908	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:11	3908	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7172_7' AND `virtuemart_product_id` != 1863400
2023-10-13	13:33:11	3908	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:11	3908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863400, 'A_7172_7')
2023-10-13	13:33:11	3908	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:11	3908	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'look-cales-pour-pedales-look-keo-rouge' AND `virtuemart_product_id` != 1863400
2023-10-13	13:33:11	3908	[DEBUG]	Query for ProductLang
2023-10-13	13:33:11	3908	[DEBUG]	Executed store
2023-10-13	13:33:11	3908	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60372',`product_name`='LOOK Cales pour pédales Look KEO / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='look-cales-pour-pedales-look-keo-rouge' WHERE `virtuemart_product_id` = '1863400'
2023-10-13	13:33:11	3908	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34331_cales_pour_pedales_look_keo.jpg
2023-10-13	13:33:11	3908	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:11	3908	[DEBUG]	Process image file
2023-10-13	13:33:11	3908	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:11	3908	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:11	3908	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34331_cales_pour_pedales_look_keo.jpg
2023-10-13	13:33:11	3908	[DEBUG]	Full name target: bcprisme/34331_cales_pour_pedales_look_keo.jpg
2023-10-13	13:33:12	3908	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:12	3908	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34331_cales_pour_pedales_look_keo.jpg'
2023-10-13	13:33:12	3908	[DEBUG]	Query for Media
2023-10-13	13:33:12	3908	[DEBUG]	Executed store
2023-10-13	13:33:12	3908	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34331_cales_pour_pedales_look_keo.jpg',`file_url_thumb`='bcprisme/34331_cales_pour_pedales_look_keo.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '374821'
2023-10-13	13:33:12	3908	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:12	3908	[DEBUG]	Executed store
2023-10-13	13:33:12	3908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863400','374821','1')
2023-10-13	13:33:12	3908	[DEBUG]	Store product image relation
2023-10-13	13:33:12	3908	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:12	3908	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863400 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:12	3908	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:12	3908	[DEBUG]	Executed store
2023-10-13	13:33:12	3908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863400','0','22.2841225626741','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:12	3908	[DEBUG]	Checking manufacturer
2023-10-13	13:33:12	3908	[DEBUG]	Load a row
2023-10-13	13:33:12	3908	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:12	3908	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '127'
2023-10-13	13:33:12	3908	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:12	3908	[DEBUG]	Executed store
2023-10-13	13:33:12	3908	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-06-17-04-01-141409237071' WHERE `virtuemart_manufacturer_id` = '127'
2023-10-13	13:33:12	3908	[DEBUG]	Manufacturer exists
2023-10-13	13:33:12	3908	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 127
2023-10-13	13:33:12	3908	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:12	3908	[DEBUG]	Executed store
2023-10-13	13:33:12	3908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863400','127')
2023-10-13	13:33:12	3908	[DEBUG]	Find the custom field ID
2023-10-13	13:33:12	3908	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:12	3908	[DEBUG]	No custom field ID found
2023-10-13	13:33:12	3908	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:12	3908	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:33:12	3908	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863400 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:12	3908	[DEBUG]	Store custom available field
2023-10-13	13:33:12	3908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863400,3,'16.8530555555556',1)
2023-10-13	13:33:12	3908	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:12	3908	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:12	3908	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863400 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:12	3908	[DEBUG]	Store custom available field
2023-10-13	13:33:12	3908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863400,6,'choisir la taille',3)
2023-10-13	13:33:12	3908	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:12	3908	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:12	3908	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:12	3908	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:12	3908	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863400 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:12	3908	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:12	3908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863400,8,1)
2023-10-13	13:33:12	3908	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:12	3908	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863400\":[1863400,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863400
2023-10-13	13:33:12	3908	[DEBUG]	Checking category
2023-10-13	13:33:12	3908	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:12	3908	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863400
2023-10-13	13:33:12	3908	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:12	3908	[DEBUG]	Executed store
2023-10-13	13:33:12	3908	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863400','7390')
2023-10-13	13:33:12	3908	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:12	3908	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863400 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:33:12	3908	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:12	3908	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863400
2023-10-13	13:33:12	3909	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:12	3909	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:12	3909	[DEBUG]	Use field value for field taille
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:12	3909	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:12	3909	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:12	3909	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:12	3909	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:12	3909	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:12	3909	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:12	3909	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:12	3909	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:12	3909	[DEBUG]	Use field value for field published
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:12	3909	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field override
2023-10-13	13:33:12	3909	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:12	3909	[DEBUG]	Use field value for field slug
2023-10-13	13:33:12	3909	[DEBUG]	Process line 3909
2023-10-13	13:33:12	3909	[DEBUG]	Load a row
2023-10-13	13:33:12	3909	[DEBUG]	Processing item: 3611720061577
2023-10-13	13:33:12	3909	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:12	3909	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:12	3909	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7172_7'
2023-10-13	13:33:12	3909	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:12	3909	[DEBUG]	Processing product tax
2023-10-13	13:33:12	3909	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:12	3909	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:12	3909	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:12	3909	[DEBUG]	Query for Product
2023-10-13	13:33:12	3909	[DEBUG]	Executed store
2023-10-13	13:33:12	3909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863400','3611720061577','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:12	3909	[DEBUG]	No parent found
2023-10-13	13:33:12	3909	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863400 AND customfield_value = 'stockable'
2023-10-13	13:33:12	3909	[DEBUG]	Check product language entry
2023-10-13	13:33:12	3909	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863401
2023-10-13	13:33:12	3909	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:12	3909	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3611720061577' AND `virtuemart_product_id` != 1863401
2023-10-13	13:33:12	3909	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:12	3909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863401, '3611720061577')
2023-10-13	13:33:12	3909	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:12	3909	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'look-cales-pour-pedales-look-keo-rouge-unitaire' AND `virtuemart_product_id` != 1863401
2023-10-13	13:33:12	3909	[DEBUG]	Query for ProductLang
2023-10-13	13:33:12	3909	[DEBUG]	Executed store
2023-10-13	13:33:12	3909	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='LOOK Cales pour pédales Look KEO / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='look-cales-pour-pedales-look-keo-rouge-unitaire' WHERE `virtuemart_product_id` = '1863401'
2023-10-13	13:33:12	3909	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34331_cales_pour_pedales_look_keo.jpg
2023-10-13	13:33:12	3909	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:12	3909	[DEBUG]	Process image file
2023-10-13	13:33:12	3909	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:12	3909	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:12	3909	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34331_cales_pour_pedales_look_keo.jpg
2023-10-13	13:33:12	3909	[DEBUG]	Full name target: bcprisme/34331_cales_pour_pedales_look_keo.jpg
2023-10-13	13:33:13	3909	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:13	3909	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34331_cales_pour_pedales_look_keo.jpg'
2023-10-13	13:33:13	3909	[DEBUG]	Query for Media
2023-10-13	13:33:13	3909	[DEBUG]	Executed store
2023-10-13	13:33:13	3909	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34331_cales_pour_pedales_look_keo.jpg',`file_url_thumb`='bcprisme/34331_cales_pour_pedales_look_keo.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '374821'
2023-10-13	13:33:13	3909	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:13	3909	[DEBUG]	Executed store
2023-10-13	13:33:13	3909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863401','374821','1')
2023-10-13	13:33:13	3909	[DEBUG]	Store product image relation
2023-10-13	13:33:13	3909	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:13	3909	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863401 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:13	3909	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:13	3909	[DEBUG]	Executed store
2023-10-13	13:33:13	3909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863401','0','22.2841225626741','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:13	3909	[DEBUG]	Checking manufacturer
2023-10-13	13:33:13	3909	[DEBUG]	Load a row
2023-10-13	13:33:13	3909	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:13	3909	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '127'
2023-10-13	13:33:13	3909	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:13	3909	[DEBUG]	Executed store
2023-10-13	13:33:13	3909	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-06-17-04-01-141409237071' WHERE `virtuemart_manufacturer_id` = '127'
2023-10-13	13:33:13	3909	[DEBUG]	Manufacturer exists
2023-10-13	13:33:13	3909	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 127
2023-10-13	13:33:13	3909	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:13	3909	[DEBUG]	Executed store
2023-10-13	13:33:13	3909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863401','127')
2023-10-13	13:33:13	3909	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:13	3909	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:13	3909	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863401 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:13	3909	[DEBUG]	Store custom available field
2023-10-13	13:33:13	3909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863401,3,'',1)
2023-10-13	13:33:13	3909	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:13	3909	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:13	3909	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863401 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:13	3909	[DEBUG]	Store custom available field
2023-10-13	13:33:13	3909	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863401,6,'Unitaire',3)
2023-10-13	13:33:13	3909	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:13	3909	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:13	3909	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863400
2023-10-13	13:33:13	3909	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:13	3909	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863400\":[1863400,8,1,\"choisir la taille\"],\"1863401\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863400
2023-10-13	13:33:13	3909	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:13	3909	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863401
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:13	3910	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field taille
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:13	3910	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:13	3910	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:13	3910	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:13	3910	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:13	3910	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:13	3910	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field published
2023-10-13	13:33:13	3910	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:13	3910	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field override
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:13	3910	[DEBUG]	Use field value for field slug
2023-10-13	13:33:13	3910	[DEBUG]	Process line 3910
2023-10-13	13:33:13	3910	[DEBUG]	Load a row
2023-10-13	13:33:13	3910	[DEBUG]	Processing item: A_7173_1
2023-10-13	13:33:13	3910	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:13	3910	[DEBUG]	Processing product tax
2023-10-13	13:33:13	3910	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:13	3910	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:13	3910	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:13	3910	[DEBUG]	Query for Product
2023-10-13	13:33:13	3910	[DEBUG]	Executed store
2023-10-13	13:33:13	3910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7173_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:13	3910	[DEBUG]	Check product language entry
2023-10-13	13:33:13	3910	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863402
2023-10-13	13:33:13	3910	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:13	3910	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7173_1' AND `virtuemart_product_id` != 1863402
2023-10-13	13:33:13	3910	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:13	3910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863402, 'A_7173_1')
2023-10-13	13:33:13	3910	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:13	3910	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'time-cales-time-xpresso-iclic-avec-jeu-noir' AND `virtuemart_product_id` != 1863402
2023-10-13	13:33:13	3910	[DEBUG]	Query for ProductLang
2023-10-13	13:33:13	3910	[DEBUG]	Executed store
2023-10-13	13:33:13	3910	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 66100',`product_name`='Time Cales Time Xpresso Iclic avec jeu / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='time-cales-time-xpresso-iclic-avec-jeu-noir' WHERE `virtuemart_product_id` = '1863402'
2023-10-13	13:33:13	3910	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34332_cales_time_xpresso_iclic_avec_jeu.jpg
2023-10-13	13:33:13	3910	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:33:13	3910	[DEBUG]	Process image file
2023-10-13	13:33:13	3910	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:33:13	3910	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:13	3910	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34332_cales_time_xpresso_iclic_avec_jeu.jpg
2023-10-13	13:33:13	3910	[DEBUG]	Full name target: bcprisme/34332_cales_time_xpresso_iclic_avec_jeu.jpg
2023-10-13	13:33:14	3910	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:14	3910	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34332_cales_time_xpresso_iclic_avec_jeu.jpg'
2023-10-13	13:33:14	3910	[DEBUG]	Query for Media
2023-10-13	13:33:14	3910	[DEBUG]	Executed store
2023-10-13	13:33:14	3910	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34332_cales_time_xpresso_iclic_avec_jeu.jpg',`file_url_thumb`='bcprisme/34332_cales_time_xpresso_iclic_avec_jeu.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '374823'
2023-10-13	13:33:14	3910	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:14	3910	[DEBUG]	Executed store
2023-10-13	13:33:14	3910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863402','374823','1')
2023-10-13	13:33:14	3910	[DEBUG]	Store product image relation
2023-10-13	13:33:14	3910	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:14	3910	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863402 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:14	3910	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:14	3910	[DEBUG]	Executed store
2023-10-13	13:33:14	3910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863402','0','20.4271123491179','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:14	3910	[DEBUG]	Checking manufacturer
2023-10-13	13:33:14	3910	[DEBUG]	Load a row
2023-10-13	13:33:14	3910	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:14	3910	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '229'
2023-10-13	13:33:14	3910	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:14	3910	[DEBUG]	Executed store
2023-10-13	13:33:14	3910	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='142',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='142' WHERE `virtuemart_manufacturer_id` = '229'
2023-10-13	13:33:14	3910	[DEBUG]	Manufacturer exists
2023-10-13	13:33:14	3910	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 229
2023-10-13	13:33:14	3910	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:14	3910	[DEBUG]	Executed store
2023-10-13	13:33:14	3910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863402','229')
2023-10-13	13:33:14	3910	[DEBUG]	Find the custom field ID
2023-10-13	13:33:14	3910	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:14	3910	[DEBUG]	No custom field ID found
2023-10-13	13:33:14	3910	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:14	3910	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:33:14	3910	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863402 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:14	3910	[DEBUG]	Store custom available field
2023-10-13	13:33:14	3910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863402,3,'16.8530555555556',1)
2023-10-13	13:33:14	3910	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:14	3910	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:14	3910	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863402 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:14	3910	[DEBUG]	Store custom available field
2023-10-13	13:33:14	3910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863402,6,'choisir la taille',3)
2023-10-13	13:33:14	3910	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:14	3910	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:14	3910	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:14	3910	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:14	3910	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863402 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:14	3910	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:14	3910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863402,8,1)
2023-10-13	13:33:14	3910	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:14	3910	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863402\":[1863402,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863402
2023-10-13	13:33:14	3910	[DEBUG]	Checking category
2023-10-13	13:33:14	3910	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:14	3910	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863402
2023-10-13	13:33:14	3910	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:14	3910	[DEBUG]	Executed store
2023-10-13	13:33:14	3910	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863402','7390')
2023-10-13	13:33:14	3910	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:14	3910	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863402 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:33:14	3910	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:14	3910	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863402
2023-10-13	13:33:14	3911	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:14	3911	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:14	3911	[DEBUG]	Use field value for field taille
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:14	3911	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:14	3911	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:14	3911	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:14	3911	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:14	3911	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:14	3911	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:14	3911	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:14	3911	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:14	3911	[DEBUG]	Use field value for field published
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:14	3911	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field override
2023-10-13	13:33:14	3911	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:14	3911	[DEBUG]	Use field value for field slug
2023-10-13	13:33:14	3911	[DEBUG]	Process line 3911
2023-10-13	13:33:14	3911	[DEBUG]	Load a row
2023-10-13	13:33:14	3911	[DEBUG]	Processing item: T2GB012  0000TU
2023-10-13	13:33:14	3911	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:14	3911	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:14	3911	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7173_1'
2023-10-13	13:33:14	3911	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:14	3911	[DEBUG]	Processing product tax
2023-10-13	13:33:14	3911	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:14	3911	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:14	3911	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:14	3911	[DEBUG]	Query for Product
2023-10-13	13:33:14	3911	[DEBUG]	Executed store
2023-10-13	13:33:14	3911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863402','T2GB012  0000TU','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:14	3911	[DEBUG]	No parent found
2023-10-13	13:33:14	3911	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863402 AND customfield_value = 'stockable'
2023-10-13	13:33:14	3911	[DEBUG]	Check product language entry
2023-10-13	13:33:14	3911	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863403
2023-10-13	13:33:14	3911	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:14	3911	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'T2GB012  0000TU' AND `virtuemart_product_id` != 1863403
2023-10-13	13:33:14	3911	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:14	3911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863403, 'T2GB012  0000TU')
2023-10-13	13:33:14	3911	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:14	3911	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'time-cales-time-xpresso-iclic-avec-jeu-noir-unitaire' AND `virtuemart_product_id` != 1863403
2023-10-13	13:33:14	3911	[DEBUG]	Query for ProductLang
2023-10-13	13:33:14	3911	[DEBUG]	Executed store
2023-10-13	13:33:14	3911	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Time Cales Time Xpresso Iclic avec jeu / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='time-cales-time-xpresso-iclic-avec-jeu-noir-unitaire' WHERE `virtuemart_product_id` = '1863403'
2023-10-13	13:33:14	3911	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34332_cales_time_xpresso_iclic_avec_jeu.jpg
2023-10-13	13:33:14	3911	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:33:14	3911	[DEBUG]	Process image file
2023-10-13	13:33:14	3911	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:33:14	3911	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:14	3911	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34332_cales_time_xpresso_iclic_avec_jeu.jpg
2023-10-13	13:33:14	3911	[DEBUG]	Full name target: bcprisme/34332_cales_time_xpresso_iclic_avec_jeu.jpg
2023-10-13	13:33:15	3911	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:15	3911	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34332_cales_time_xpresso_iclic_avec_jeu.jpg'
2023-10-13	13:33:15	3911	[DEBUG]	Query for Media
2023-10-13	13:33:15	3911	[DEBUG]	Executed store
2023-10-13	13:33:15	3911	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34332_cales_time_xpresso_iclic_avec_jeu.jpg',`file_url_thumb`='bcprisme/34332_cales_time_xpresso_iclic_avec_jeu.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '374823'
2023-10-13	13:33:15	3911	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:15	3911	[DEBUG]	Executed store
2023-10-13	13:33:15	3911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863403','374823','1')
2023-10-13	13:33:15	3911	[DEBUG]	Store product image relation
2023-10-13	13:33:15	3911	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:15	3911	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863403 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:15	3911	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:15	3911	[DEBUG]	Executed store
2023-10-13	13:33:15	3911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863403','0','20.4271123491179','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:15	3911	[DEBUG]	Checking manufacturer
2023-10-13	13:33:15	3911	[DEBUG]	Load a row
2023-10-13	13:33:15	3911	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:15	3911	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '229'
2023-10-13	13:33:15	3911	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:15	3911	[DEBUG]	Executed store
2023-10-13	13:33:15	3911	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='142',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='142' WHERE `virtuemart_manufacturer_id` = '229'
2023-10-13	13:33:15	3911	[DEBUG]	Manufacturer exists
2023-10-13	13:33:15	3911	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 229
2023-10-13	13:33:15	3911	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:15	3911	[DEBUG]	Executed store
2023-10-13	13:33:15	3911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863403','229')
2023-10-13	13:33:15	3911	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:15	3911	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:15	3911	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863403 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:15	3911	[DEBUG]	Store custom available field
2023-10-13	13:33:15	3911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863403,3,'',1)
2023-10-13	13:33:15	3911	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:15	3911	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:15	3911	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863403 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:15	3911	[DEBUG]	Store custom available field
2023-10-13	13:33:15	3911	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863403,6,'Unitaire',3)
2023-10-13	13:33:15	3911	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:15	3911	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:15	3911	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863402
2023-10-13	13:33:15	3911	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:15	3911	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863402\":[1863402,8,1,\"choisir la taille\"],\"1863403\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863402
2023-10-13	13:33:15	3911	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:15	3911	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863403
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:15	3912	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field taille
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:15	3912	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:15	3912	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:15	3912	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:15	3912	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:15	3912	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:15	3912	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field published
2023-10-13	13:33:15	3912	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:15	3912	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field override
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:15	3912	[DEBUG]	Use field value for field slug
2023-10-13	13:33:15	3912	[DEBUG]	Process line 3912
2023-10-13	13:33:15	3912	[DEBUG]	Load a row
2023-10-13	13:33:15	3912	[DEBUG]	Processing item: A_7355_1
2023-10-13	13:33:15	3912	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:15	3912	[DEBUG]	Processing product tax
2023-10-13	13:33:15	3912	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:15	3912	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:15	3912	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:15	3912	[DEBUG]	Query for Product
2023-10-13	13:33:15	3912	[DEBUG]	Executed store
2023-10-13	13:33:15	3912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7355_1','0.05','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:15	3912	[DEBUG]	Check product language entry
2023-10-13	13:33:15	3912	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863404
2023-10-13	13:33:15	3912	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:15	3912	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7355_1' AND `virtuemart_product_id` != 1863404
2023-10-13	13:33:15	3912	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:15	3912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863404, 'A_7355_1')
2023-10-13	13:33:15	3912	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:15	3912	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'cycleops-cales-look-grip-pour-pedale-mod-keo-noir' AND `virtuemart_product_id` != 1863404
2023-10-13	13:33:15	3912	[DEBUG]	Query for ProductLang
2023-10-13	13:33:15	3912	[DEBUG]	Executed store
2023-10-13	13:33:15	3912	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 60374',`product_name`='CycleOps Cales Look grip pour pédale mod Keo / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='cycleops-cales-look-grip-pour-pedale-mod-keo-noir' WHERE `virtuemart_product_id` = '1863404'
2023-10-13	13:33:15	3912	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34594_cales_look_grip_pour_pedale_mod_keo.jpg
2023-10-13	13:33:15	3912	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:15	3912	[DEBUG]	Process image file
2023-10-13	13:33:15	3912	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:15	3912	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:15	3912	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34594_cales_look_grip_pour_pedale_mod_keo.jpg
2023-10-13	13:33:15	3912	[DEBUG]	Full name target: bcprisme/34594_cales_look_grip_pour_pedale_mod_keo.jpg
2023-10-13	13:33:16	3912	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:16	3912	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34594_cales_look_grip_pour_pedale_mod_keo.jpg'
2023-10-13	13:33:16	3912	[DEBUG]	Query for Media
2023-10-13	13:33:16	3912	[DEBUG]	Executed store
2023-10-13	13:33:16	3912	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34594_cales_look_grip_pour_pedale_mod_keo.jpg',`file_url_thumb`='bcprisme/34594_cales_look_grip_pour_pedale_mod_keo.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '374825'
2023-10-13	13:33:16	3912	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:16	3912	[DEBUG]	Executed store
2023-10-13	13:33:16	3912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863404','374825','1')
2023-10-13	13:33:16	3912	[DEBUG]	Store product image relation
2023-10-13	13:33:16	3912	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:16	3912	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863404 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:16	3912	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:16	3912	[DEBUG]	Executed store
2023-10-13	13:33:16	3912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863404','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:16	3912	[DEBUG]	Checking manufacturer
2023-10-13	13:33:16	3912	[DEBUG]	Load a row
2023-10-13	13:33:16	3912	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:16	3912	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '43'
2023-10-13	13:33:16	3912	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:16	3912	[DEBUG]	Executed store
2023-10-13	13:33:16	3912	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-47566082545' WHERE `virtuemart_manufacturer_id` = '43'
2023-10-13	13:33:16	3912	[DEBUG]	Manufacturer exists
2023-10-13	13:33:16	3912	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 43
2023-10-13	13:33:16	3912	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:16	3912	[DEBUG]	Executed store
2023-10-13	13:33:16	3912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863404','43')
2023-10-13	13:33:16	3912	[DEBUG]	Find the custom field ID
2023-10-13	13:33:16	3912	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:16	3912	[DEBUG]	No custom field ID found
2023-10-13	13:33:16	3912	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:16	3912	[DEBUG]	Get existing row with customfield value 16.8530555555556
2023-10-13	13:33:16	3912	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863404 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:16	3912	[DEBUG]	Store custom available field
2023-10-13	13:33:16	3912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863404,3,'16.8530555555556',1)
2023-10-13	13:33:16	3912	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:16	3912	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:16	3912	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863404 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:16	3912	[DEBUG]	Store custom available field
2023-10-13	13:33:16	3912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863404,6,'choisir la taille',3)
2023-10-13	13:33:16	3912	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:16	3912	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:16	3912	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:16	3912	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:16	3912	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863404 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:16	3912	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:16	3912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863404,8,1)
2023-10-13	13:33:16	3912	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:16	3912	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863404\":[1863404,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863404
2023-10-13	13:33:16	3912	[DEBUG]	Checking category
2023-10-13	13:33:16	3912	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:16	3912	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863404
2023-10-13	13:33:16	3912	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:16	3912	[DEBUG]	Executed store
2023-10-13	13:33:16	3912	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863404','7390')
2023-10-13	13:33:16	3912	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:16	3912	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863404 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:33:16	3912	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:16	3912	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863404
2023-10-13	13:33:16	3913	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:16	3913	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:16	3913	[DEBUG]	Use field value for field taille
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:16	3913	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:16	3913	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:16	3913	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:16	3913	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:16	3913	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:16	3913	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:16	3913	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:16	3913	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:16	3913	[DEBUG]	Use field value for field published
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:16	3913	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field override
2023-10-13	13:33:16	3913	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:16	3913	[DEBUG]	Use field value for field slug
2023-10-13	13:33:16	3913	[DEBUG]	Process line 3913
2023-10-13	13:33:16	3913	[DEBUG]	Load a row
2023-10-13	13:33:16	3913	[DEBUG]	Processing item: 3611720061560
2023-10-13	13:33:16	3913	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:16	3913	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:16	3913	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7355_1'
2023-10-13	13:33:16	3913	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:16	3913	[DEBUG]	Processing product tax
2023-10-13	13:33:16	3913	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:16	3913	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:16	3913	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:16	3913	[DEBUG]	Query for Product
2023-10-13	13:33:16	3913	[DEBUG]	Executed store
2023-10-13	13:33:16	3913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863404','3611720061560','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:16	3913	[DEBUG]	No parent found
2023-10-13	13:33:16	3913	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863404 AND customfield_value = 'stockable'
2023-10-13	13:33:16	3913	[DEBUG]	Check product language entry
2023-10-13	13:33:16	3913	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863405
2023-10-13	13:33:16	3913	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:16	3913	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3611720061560' AND `virtuemart_product_id` != 1863405
2023-10-13	13:33:16	3913	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:16	3913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863405, '3611720061560')
2023-10-13	13:33:16	3913	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:16	3913	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'cycleops-cales-look-grip-pour-pedale-mod-keo-noir-unitaire' AND `virtuemart_product_id` != 1863405
2023-10-13	13:33:16	3913	[DEBUG]	Query for ProductLang
2023-10-13	13:33:16	3913	[DEBUG]	Executed store
2023-10-13	13:33:16	3913	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='CycleOps Cales Look grip pour pédale mod Keo / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='cycleops-cales-look-grip-pour-pedale-mod-keo-noir-unitaire' WHERE `virtuemart_product_id` = '1863405'
2023-10-13	13:33:16	3913	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34594_cales_look_grip_pour_pedale_mod_keo.jpg
2023-10-13	13:33:16	3913	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:16	3913	[DEBUG]	Process image file
2023-10-13	13:33:16	3913	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:16	3913	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:16	3913	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34594_cales_look_grip_pour_pedale_mod_keo.jpg
2023-10-13	13:33:16	3913	[DEBUG]	Full name target: bcprisme/34594_cales_look_grip_pour_pedale_mod_keo.jpg
2023-10-13	13:33:17	3913	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:17	3913	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34594_cales_look_grip_pour_pedale_mod_keo.jpg'
2023-10-13	13:33:17	3913	[DEBUG]	Query for Media
2023-10-13	13:33:17	3913	[DEBUG]	Executed store
2023-10-13	13:33:17	3913	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34594_cales_look_grip_pour_pedale_mod_keo.jpg',`file_url_thumb`='bcprisme/34594_cales_look_grip_pour_pedale_mod_keo.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '374825'
2023-10-13	13:33:17	3913	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:17	3913	[DEBUG]	Executed store
2023-10-13	13:33:17	3913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863405','374825','1')
2023-10-13	13:33:17	3913	[DEBUG]	Store product image relation
2023-10-13	13:33:17	3913	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:17	3913	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863405 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:17	3913	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:17	3913	[DEBUG]	Executed store
2023-10-13	13:33:17	3913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863405','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:17	3913	[DEBUG]	Checking manufacturer
2023-10-13	13:33:17	3913	[DEBUG]	Load a row
2023-10-13	13:33:17	3913	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:17	3913	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '43'
2023-10-13	13:33:17	3913	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:17	3913	[DEBUG]	Executed store
2023-10-13	13:33:17	3913	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-47566082545' WHERE `virtuemart_manufacturer_id` = '43'
2023-10-13	13:33:17	3913	[DEBUG]	Manufacturer exists
2023-10-13	13:33:17	3913	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 43
2023-10-13	13:33:17	3913	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:17	3913	[DEBUG]	Executed store
2023-10-13	13:33:17	3913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863405','43')
2023-10-13	13:33:17	3913	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:17	3913	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:17	3913	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863405 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:17	3913	[DEBUG]	Store custom available field
2023-10-13	13:33:17	3913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863405,3,'',1)
2023-10-13	13:33:17	3913	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:17	3913	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:17	3913	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863405 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:17	3913	[DEBUG]	Store custom available field
2023-10-13	13:33:17	3913	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863405,6,'Unitaire',3)
2023-10-13	13:33:17	3913	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:17	3913	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:17	3913	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863404
2023-10-13	13:33:17	3913	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:17	3913	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863404\":[1863404,8,1,\"choisir la taille\"],\"1863405\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863404
2023-10-13	13:33:17	3913	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:17	3913	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863405
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:17	3914	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field taille
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:17	3914	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:17	3914	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:17	3914	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:17	3914	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:17	3914	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:17	3914	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field published
2023-10-13	13:33:17	3914	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:17	3914	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field override
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:17	3914	[DEBUG]	Use field value for field slug
2023-10-13	13:33:17	3914	[DEBUG]	Process line 3914
2023-10-13	13:33:17	3914	[DEBUG]	Load a row
2023-10-13	13:33:17	3914	[DEBUG]	Processing item: A_7802_208
2023-10-13	13:33:17	3914	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:17	3914	[DEBUG]	Processing product tax
2023-10-13	13:33:17	3914	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:17	3914	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:17	3914	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:17	3914	[DEBUG]	Query for Product
2023-10-13	13:33:17	3914	[DEBUG]	Executed store
2023-10-13	13:33:17	3914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7802_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:17	3914	[DEBUG]	Check product language entry
2023-10-13	13:33:17	3914	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863406
2023-10-13	13:33:17	3914	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:17	3914	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7802_208' AND `virtuemart_product_id` != 1863406
2023-10-13	13:33:17	3914	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:17	3914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863406, 'A_7802_208')
2023-10-13	13:33:17	3914	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:17	3914	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-reflecteurs-pour-pedale-aucune' AND `virtuemart_product_id` != 1863406
2023-10-13	13:33:17	3914	[DEBUG]	Query for ProductLang
2023-10-13	13:33:17	3914	[DEBUG]	Executed store
2023-10-13	13:33:17	3914	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 14.13140',`product_name`='Bike Attitude Réflecteurs pour Pédale / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-reflecteurs-pour-pedale-aucune' WHERE `virtuemart_product_id` = '1863406'
2023-10-13	13:33:17	3914	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/14_13140_jpg.jpg
2023-10-13	13:33:17	3914	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:33:17	3914	[DEBUG]	Process image file
2023-10-13	13:33:17	3914	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:33:17	3914	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:17	3914	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/14_13140_jpg.jpg
2023-10-13	13:33:17	3914	[DEBUG]	Full name target: bcprisme/14_13140_jpg.jpg
2023-10-13	13:33:18	3914	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:18	3914	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/14_13140_jpg.jpg'
2023-10-13	13:33:18	3914	[DEBUG]	Query for Media
2023-10-13	13:33:18	3914	[DEBUG]	Executed store
2023-10-13	13:33:18	3914	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/14_13140_jpg.jpg',`file_url_thumb`='bcprisme/14_13140_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '482066'
2023-10-13	13:33:18	3914	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:18	3914	[DEBUG]	Executed store
2023-10-13	13:33:18	3914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863406','482066','1')
2023-10-13	13:33:18	3914	[DEBUG]	Store product image relation
2023-10-13	13:33:18	3914	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:18	3914	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863406 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:18	3914	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:18	3914	[DEBUG]	Executed store
2023-10-13	13:33:18	3914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863406','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:18	3914	[DEBUG]	Checking manufacturer
2023-10-13	13:33:18	3914	[DEBUG]	Load a row
2023-10-13	13:33:18	3914	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:18	3914	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:33:18	3914	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:18	3914	[DEBUG]	Executed store
2023-10-13	13:33:18	3914	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:33:18	3914	[DEBUG]	Manufacturer exists
2023-10-13	13:33:18	3914	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2023-10-13	13:33:18	3914	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:18	3914	[DEBUG]	Executed store
2023-10-13	13:33:18	3914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863406','48')
2023-10-13	13:33:18	3914	[DEBUG]	Find the custom field ID
2023-10-13	13:33:18	3914	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:18	3914	[DEBUG]	No custom field ID found
2023-10-13	13:33:18	3914	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:18	3914	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:33:18	3914	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863406 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:18	3914	[DEBUG]	Store custom available field
2023-10-13	13:33:18	3914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863406,3,'0',1)
2023-10-13	13:33:18	3914	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:18	3914	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:18	3914	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863406 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:18	3914	[DEBUG]	Store custom available field
2023-10-13	13:33:18	3914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863406,6,'choisir la taille',3)
2023-10-13	13:33:18	3914	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:18	3914	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:18	3914	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:18	3914	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:18	3914	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863406 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:18	3914	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:18	3914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863406,8,1)
2023-10-13	13:33:18	3914	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:18	3914	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863406\":[1863406,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863406
2023-10-13	13:33:18	3914	[DEBUG]	Checking category
2023-10-13	13:33:18	3914	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:18	3914	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863406
2023-10-13	13:33:18	3914	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:18	3914	[DEBUG]	Executed store
2023-10-13	13:33:18	3914	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863406','7390')
2023-10-13	13:33:18	3914	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:18	3914	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863406 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:33:18	3914	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:18	3914	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863406
2023-10-13	13:33:18	3915	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:18	3915	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:18	3915	[DEBUG]	Use field value for field taille
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:18	3915	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:18	3915	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:18	3915	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:18	3915	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:18	3915	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:18	3915	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:18	3915	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:18	3915	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:18	3915	[DEBUG]	Use field value for field published
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:18	3915	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field override
2023-10-13	13:33:18	3915	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:18	3915	[DEBUG]	Use field value for field slug
2023-10-13	13:33:18	3915	[DEBUG]	Process line 3915
2023-10-13	13:33:18	3915	[DEBUG]	Load a row
2023-10-13	13:33:18	3915	[DEBUG]	Processing item: 4714150548102
2023-10-13	13:33:18	3915	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:18	3915	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:18	3915	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7802_208'
2023-10-13	13:33:18	3915	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:18	3915	[DEBUG]	Processing product tax
2023-10-13	13:33:18	3915	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:18	3915	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:18	3915	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:18	3915	[DEBUG]	Query for Product
2023-10-13	13:33:18	3915	[DEBUG]	Executed store
2023-10-13	13:33:18	3915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863406','4714150548102','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:18	3915	[DEBUG]	No parent found
2023-10-13	13:33:18	3915	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863406 AND customfield_value = 'stockable'
2023-10-13	13:33:18	3915	[DEBUG]	Check product language entry
2023-10-13	13:33:18	3915	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863407
2023-10-13	13:33:18	3915	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:18	3915	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4714150548102' AND `virtuemart_product_id` != 1863407
2023-10-13	13:33:18	3915	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:18	3915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863407, '4714150548102')
2023-10-13	13:33:18	3915	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:18	3915	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-reflecteurs-pour-pedale-aucune-unitaire' AND `virtuemart_product_id` != 1863407
2023-10-13	13:33:18	3915	[DEBUG]	Query for ProductLang
2023-10-13	13:33:18	3915	[DEBUG]	Executed store
2023-10-13	13:33:18	3915	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bike Attitude Réflecteurs pour Pédale / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-reflecteurs-pour-pedale-aucune-unitaire' WHERE `virtuemart_product_id` = '1863407'
2023-10-13	13:33:18	3915	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/14_13140_jpg.jpg
2023-10-13	13:33:18	3915	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:33:18	3915	[DEBUG]	Process image file
2023-10-13	13:33:18	3915	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:33:18	3915	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:18	3915	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/14_13140_jpg.jpg
2023-10-13	13:33:18	3915	[DEBUG]	Full name target: bcprisme/14_13140_jpg.jpg
2023-10-13	13:33:19	3915	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:19	3915	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/14_13140_jpg.jpg'
2023-10-13	13:33:19	3915	[DEBUG]	Query for Media
2023-10-13	13:33:19	3915	[DEBUG]	Executed store
2023-10-13	13:33:19	3915	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/14_13140_jpg.jpg',`file_url_thumb`='bcprisme/14_13140_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '482066'
2023-10-13	13:33:19	3915	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:19	3915	[DEBUG]	Executed store
2023-10-13	13:33:19	3915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863407','482066','1')
2023-10-13	13:33:19	3915	[DEBUG]	Store product image relation
2023-10-13	13:33:19	3915	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:19	3915	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863407 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:19	3915	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:19	3915	[DEBUG]	Executed store
2023-10-13	13:33:19	3915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863407','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:19	3915	[DEBUG]	Checking manufacturer
2023-10-13	13:33:19	3915	[DEBUG]	Load a row
2023-10-13	13:33:19	3915	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:19	3915	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:33:19	3915	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:19	3915	[DEBUG]	Executed store
2023-10-13	13:33:19	3915	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:33:19	3915	[DEBUG]	Manufacturer exists
2023-10-13	13:33:19	3915	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2023-10-13	13:33:19	3915	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:19	3915	[DEBUG]	Executed store
2023-10-13	13:33:19	3915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863407','48')
2023-10-13	13:33:19	3915	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:19	3915	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:19	3915	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863407 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:19	3915	[DEBUG]	Store custom available field
2023-10-13	13:33:19	3915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863407,3,'',1)
2023-10-13	13:33:19	3915	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:19	3915	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:19	3915	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863407 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:19	3915	[DEBUG]	Store custom available field
2023-10-13	13:33:19	3915	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863407,6,'Unitaire',3)
2023-10-13	13:33:19	3915	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:19	3915	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:19	3915	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863406
2023-10-13	13:33:19	3915	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:19	3915	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863406\":[1863406,8,1,\"choisir la taille\"],\"1863407\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863406
2023-10-13	13:33:19	3915	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:19	3915	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863407
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:19	3916	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field taille
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:19	3916	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:19	3916	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:19	3916	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:19	3916	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:19	3916	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:19	3916	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field published
2023-10-13	13:33:19	3916	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:19	3916	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field override
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:19	3916	[DEBUG]	Use field value for field slug
2023-10-13	13:33:19	3916	[DEBUG]	Process line 3916
2023-10-13	13:33:19	3916	[DEBUG]	Load a row
2023-10-13	13:33:19	3916	[DEBUG]	Processing item: A_9080_1
2023-10-13	13:33:19	3916	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:19	3916	[DEBUG]	Processing product tax
2023-10-13	13:33:19	3916	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:19	3916	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:19	3916	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:19	3916	[DEBUG]	Query for Product
2023-10-13	13:33:19	3916	[DEBUG]	Executed store
2023-10-13	13:33:19	3916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9080_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:19	3916	[DEBUG]	Check product language entry
2023-10-13	13:33:19	3916	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863408
2023-10-13	13:33:19	3916	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:19	3916	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9080_1' AND `virtuemart_product_id` != 1863408
2023-10-13	13:33:19	3916	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:19	3916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863408, 'A_9080_1')
2023-10-13	13:33:19	3916	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:19	3916	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-courroies-pour-pedale-nylon-noir-noir' AND `virtuemart_product_id` != 1863408
2023-10-13	13:33:19	3916	[DEBUG]	Query for ProductLang
2023-10-13	13:33:19	3916	[DEBUG]	Executed store
2023-10-13	13:33:19	3916	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 14.77571',`product_name`='Bike Attitude Courroies pour pédale nylon noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-courroies-pour-pedale-nylon-noir-noir' WHERE `virtuemart_product_id` = '1863408'
2023-10-13	13:33:19	3916	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/14_7757.jpg
2023-10-13	13:33:19	3916	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:33:19	3916	[DEBUG]	Process image file
2023-10-13	13:33:19	3916	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:33:19	3916	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:19	3916	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/14_7757.jpg
2023-10-13	13:33:19	3916	[DEBUG]	Full name target: bcprisme/14_7757.jpg
2023-10-13	13:33:20	3916	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:20	3916	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/14_7757.jpg'
2023-10-13	13:33:20	3916	[DEBUG]	Query for Media
2023-10-13	13:33:20	3916	[DEBUG]	Executed store
2023-10-13	13:33:20	3916	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/14_7757.jpg',`file_url_thumb`='bcprisme/14_7757.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1258974'
2023-10-13	13:33:20	3916	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:20	3916	[DEBUG]	Executed store
2023-10-13	13:33:20	3916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863408','1258974','1')
2023-10-13	13:33:20	3916	[DEBUG]	Store product image relation
2023-10-13	13:33:20	3916	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:20	3916	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863408 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:20	3916	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:20	3916	[DEBUG]	Executed store
2023-10-13	13:33:20	3916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863408','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:20	3916	[DEBUG]	Checking manufacturer
2023-10-13	13:33:20	3916	[DEBUG]	Load a row
2023-10-13	13:33:20	3916	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:20	3916	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:33:20	3916	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:20	3916	[DEBUG]	Executed store
2023-10-13	13:33:20	3916	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:33:20	3916	[DEBUG]	Manufacturer exists
2023-10-13	13:33:20	3916	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2023-10-13	13:33:20	3916	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:20	3916	[DEBUG]	Executed store
2023-10-13	13:33:20	3916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863408','48')
2023-10-13	13:33:20	3916	[DEBUG]	Find the custom field ID
2023-10-13	13:33:20	3916	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:20	3916	[DEBUG]	No custom field ID found
2023-10-13	13:33:20	3916	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:20	3916	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:33:20	3916	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863408 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:20	3916	[DEBUG]	Store custom available field
2023-10-13	13:33:20	3916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863408,3,'0',1)
2023-10-13	13:33:20	3916	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:20	3916	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:20	3916	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863408 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:20	3916	[DEBUG]	Store custom available field
2023-10-13	13:33:20	3916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863408,6,'choisir la taille',3)
2023-10-13	13:33:20	3916	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:20	3916	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:20	3916	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:20	3916	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:20	3916	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863408 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:20	3916	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:20	3916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863408,8,1)
2023-10-13	13:33:20	3916	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:20	3916	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863408\":[1863408,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863408
2023-10-13	13:33:20	3916	[DEBUG]	Checking category
2023-10-13	13:33:20	3916	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:20	3916	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863408
2023-10-13	13:33:20	3916	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:20	3916	[DEBUG]	Executed store
2023-10-13	13:33:20	3916	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863408','7390')
2023-10-13	13:33:20	3916	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:20	3916	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863408 AND `virtuemart_category_id` NOT IN (7390)
2023-10-13	13:33:20	3916	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:20	3916	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863408
2023-10-13	13:33:20	3917	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:20	3917	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:20	3917	[DEBUG]	Use field value for field taille
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:20	3917	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:20	3917	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:20	3917	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:20	3917	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:20	3917	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:20	3917	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:20	3917	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:20	3917	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:20	3917	[DEBUG]	Use field value for field published
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:20	3917	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field override
2023-10-13	13:33:20	3917	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:20	3917	[DEBUG]	Use field value for field slug
2023-10-13	13:33:20	3917	[DEBUG]	Process line 3917
2023-10-13	13:33:20	3917	[DEBUG]	Load a row
2023-10-13	13:33:20	3917	[DEBUG]	Processing item: 4714150558057
2023-10-13	13:33:20	3917	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:20	3917	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:20	3917	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9080_1'
2023-10-13	13:33:20	3917	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:20	3917	[DEBUG]	Processing product tax
2023-10-13	13:33:20	3917	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:20	3917	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:20	3917	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:20	3917	[DEBUG]	Query for Product
2023-10-13	13:33:20	3917	[DEBUG]	Executed store
2023-10-13	13:33:20	3917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863408','4714150558057','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:20	3917	[DEBUG]	No parent found
2023-10-13	13:33:20	3917	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863408 AND customfield_value = 'stockable'
2023-10-13	13:33:20	3917	[DEBUG]	Check product language entry
2023-10-13	13:33:20	3917	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863409
2023-10-13	13:33:20	3917	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:20	3917	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4714150558057' AND `virtuemart_product_id` != 1863409
2023-10-13	13:33:20	3917	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:20	3917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863409, '4714150558057')
2023-10-13	13:33:20	3917	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:20	3917	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-courroies-pour-pedale-nylon-noir-noir-unitaire' AND `virtuemart_product_id` != 1863409
2023-10-13	13:33:20	3917	[DEBUG]	Query for ProductLang
2023-10-13	13:33:20	3917	[DEBUG]	Executed store
2023-10-13	13:33:20	3917	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bike Attitude Courroies pour pédale nylon noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-courroies-pour-pedale-nylon-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1863409'
2023-10-13	13:33:20	3917	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/14_7757.jpg
2023-10-13	13:33:20	3917	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:33:20	3917	[DEBUG]	Process image file
2023-10-13	13:33:20	3917	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:33:20	3917	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:20	3917	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/14_7757.jpg
2023-10-13	13:33:20	3917	[DEBUG]	Full name target: bcprisme/14_7757.jpg
2023-10-13	13:33:21	3917	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:21	3917	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/14_7757.jpg'
2023-10-13	13:33:21	3917	[DEBUG]	Query for Media
2023-10-13	13:33:21	3917	[DEBUG]	Executed store
2023-10-13	13:33:21	3917	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/14_7757.jpg',`file_url_thumb`='bcprisme/14_7757.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1258974'
2023-10-13	13:33:21	3917	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:21	3917	[DEBUG]	Executed store
2023-10-13	13:33:21	3917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863409','1258974','1')
2023-10-13	13:33:21	3917	[DEBUG]	Store product image relation
2023-10-13	13:33:21	3917	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:21	3917	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863409 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:21	3917	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:21	3917	[DEBUG]	Executed store
2023-10-13	13:33:21	3917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863409','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:21	3917	[DEBUG]	Checking manufacturer
2023-10-13	13:33:21	3917	[DEBUG]	Load a row
2023-10-13	13:33:21	3917	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:21	3917	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:33:21	3917	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:21	3917	[DEBUG]	Executed store
2023-10-13	13:33:21	3917	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:33:21	3917	[DEBUG]	Manufacturer exists
2023-10-13	13:33:21	3917	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2023-10-13	13:33:21	3917	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:21	3917	[DEBUG]	Executed store
2023-10-13	13:33:21	3917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863409','48')
2023-10-13	13:33:21	3917	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:21	3917	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:21	3917	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863409 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:21	3917	[DEBUG]	Store custom available field
2023-10-13	13:33:21	3917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863409,3,'',1)
2023-10-13	13:33:21	3917	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:21	3917	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:21	3917	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863409 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:21	3917	[DEBUG]	Store custom available field
2023-10-13	13:33:21	3917	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863409,6,'Unitaire',3)
2023-10-13	13:33:21	3917	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:21	3917	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:21	3917	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863408
2023-10-13	13:33:21	3917	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:21	3917	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863408\":[1863408,8,1,\"choisir la taille\"],\"1863409\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863408
2023-10-13	13:33:21	3917	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:21	3917	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863409
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:21	3918	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field taille
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:21	3918	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:21	3918	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:21	3918	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:21	3918	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:21	3918	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:21	3918	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field published
2023-10-13	13:33:21	3918	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:21	3918	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field override
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:21	3918	[DEBUG]	Use field value for field slug
2023-10-13	13:33:21	3918	[DEBUG]	Process line 3918
2023-10-13	13:33:21	3918	[DEBUG]	Load a row
2023-10-13	13:33:21	3918	[DEBUG]	Processing item: A_410_1
2023-10-13	13:33:21	3918	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:21	3918	[DEBUG]	Processing product tax
2023-10-13	13:33:21	3918	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:21	3918	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:21	3918	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:21	3918	[DEBUG]	Query for Product
2023-10-13	13:33:21	3918	[DEBUG]	Executed store
2023-10-13	13:33:21	3918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_410_1','0.33','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:21	3918	[DEBUG]	Check product language entry
2023-10-13	13:33:21	3918	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863410
2023-10-13	13:33:21	3918	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:21	3918	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_410_1' AND `virtuemart_product_id` != 1863410
2023-10-13	13:33:21	3918	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:21	3918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863410, 'A_410_1')
2023-10-13	13:33:21	3918	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:21	3918	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-axe-crmo-economiques-noir' AND `virtuemart_product_id` != 1863410
2023-10-13	13:33:21	3918	[DEBUG]	Query for ProductLang
2023-10-13	13:33:21	3918	[DEBUG]	Executed store
2023-10-13	13:33:21	3918	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Corps et axe Crmo, livrées avec câles,330gr<br>N° art fourn : CL50L',`product_name`='MSC Pédales MSC SPD Axe crmo économiques / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-axe-crmo-economiques-noir' WHERE `virtuemart_product_id` = '1863410'
2023-10-13	13:33:21	3918	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_458.jpg
2023-10-13	13:33:21	3918	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:33:21	3918	[DEBUG]	Process image file
2023-10-13	13:33:21	3918	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:33:21	3918	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:21	3918	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_458.jpg
2023-10-13	13:33:21	3918	[DEBUG]	Full name target: bcprisme/image_458.jpg
2023-10-13	13:33:22	3918	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:22	3918	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_458.jpg'
2023-10-13	13:33:22	3918	[DEBUG]	Query for Media
2023-10-13	13:33:22	3918	[DEBUG]	Executed store
2023-10-13	13:33:22	3918	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_458.jpg',`file_url_thumb`='bcprisme/image_458.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14425'
2023-10-13	13:33:22	3918	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:22	3918	[DEBUG]	Executed store
2023-10-13	13:33:22	3918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863410','14425','1')
2023-10-13	13:33:22	3918	[DEBUG]	Store product image relation
2023-10-13	13:33:22	3918	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:22	3918	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863410 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:22	3918	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:22	3918	[DEBUG]	Executed store
2023-10-13	13:33:22	3918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863410','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:22	3918	[DEBUG]	Checking manufacturer
2023-10-13	13:33:22	3918	[DEBUG]	Load a row
2023-10-13	13:33:22	3918	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:22	3918	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:22	3918	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:22	3918	[DEBUG]	Executed store
2023-10-13	13:33:22	3918	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:22	3918	[DEBUG]	Manufacturer exists
2023-10-13	13:33:22	3918	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:22	3918	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:22	3918	[DEBUG]	Executed store
2023-10-13	13:33:22	3918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863410','32')
2023-10-13	13:33:22	3918	[DEBUG]	Find the custom field ID
2023-10-13	13:33:22	3918	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:22	3918	[DEBUG]	No custom field ID found
2023-10-13	13:33:22	3918	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:22	3918	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:33:22	3918	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863410 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:22	3918	[DEBUG]	Store custom available field
2023-10-13	13:33:22	3918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863410,3,'39.7891666666667',1)
2023-10-13	13:33:22	3918	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:22	3918	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:22	3918	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863410 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:22	3918	[DEBUG]	Store custom available field
2023-10-13	13:33:22	3918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863410,6,'choisir la taille',3)
2023-10-13	13:33:22	3918	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:22	3918	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:22	3918	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:22	3918	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:22	3918	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863410 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:22	3918	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:22	3918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863410,8,1)
2023-10-13	13:33:22	3918	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:22	3918	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863410\":[1863410,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863410
2023-10-13	13:33:22	3918	[DEBUG]	Checking category
2023-10-13	13:33:22	3918	[DEBUG]	Check if category path exists: PEDALES AUTOMATIQUES - SPD-PEDALE
2023-10-13	13:33:22	3918	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PEDALES AUTOMATIQUES - SPD-PEDALE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7389
2023-10-13	13:33:22	3918	[DEBUG]	Query for Category
2023-10-13	13:33:22	3918	[DEBUG]	Executed store
2023-10-13	13:33:22	3918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7389','1','','default','default','3','0','0','0','','','','2','0','1','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:22	3918	[DEBUG]	Category publish 1
2023-10-13	13:33:22	3918	[DEBUG]	Check the category language
2023-10-13	13:33:22	3918	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7391
2023-10-13	13:33:22	3918	[DEBUG]	Check the category slug
2023-10-13	13:33:22	3918	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pedales-automatiques---spd-pedale' AND `virtuemart_category_id` != 7391
2023-10-13	13:33:22	3918	[DEBUG]	Check the category slug
2023-10-13	13:33:22	3918	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pedales-automatiques---spd-pedale' AND `virtuemart_category_id` != 7391
2023-10-13	13:33:22	3918	[DEBUG]	Add the category language entry
2023-10-13	13:33:22	3918	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7391, 'pedales-automatiques---spd-pedale')
2023-10-13	13:33:22	3918	[DEBUG]	Query for CategoryLang
2023-10-13	13:33:22	3918	[DEBUG]	Executed store
2023-10-13	13:33:22	3918	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PEDALES AUTOMATIQUES - SPD-PEDALE',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pedales-automatiques---spd-pedale' WHERE `virtuemart_category_id` = '7391'
2023-10-13	13:33:22	3918	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:33:22	3918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7389','7391','0')
2023-10-13	13:33:22	3918	[DEBUG]	Update has field for parent category
2023-10-13	13:33:22	3918	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7389
2023-10-13	13:33:22	3918	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:22	3918	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863410
2023-10-13	13:33:22	3918	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:22	3918	[DEBUG]	Executed store
2023-10-13	13:33:22	3918	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863410','7391')
2023-10-13	13:33:22	3918	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:22	3918	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863410 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:22	3918	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:22	3918	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863410
2023-10-13	13:33:22	3919	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:22	3919	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:22	3919	[DEBUG]	Use field value for field taille
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:22	3919	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:22	3919	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:22	3919	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:22	3919	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:22	3919	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:22	3919	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:22	3919	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:22	3919	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:22	3919	[DEBUG]	Use field value for field published
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:22	3919	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field override
2023-10-13	13:33:22	3919	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:22	3919	[DEBUG]	Use field value for field slug
2023-10-13	13:33:22	3919	[DEBUG]	Process line 3919
2023-10-13	13:33:22	3919	[DEBUG]	Load a row
2023-10-13	13:33:22	3919	[DEBUG]	Processing item: 8436041526315
2023-10-13	13:33:22	3919	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:22	3919	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:22	3919	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_410_1'
2023-10-13	13:33:22	3919	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:22	3919	[DEBUG]	Processing product tax
2023-10-13	13:33:22	3919	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:22	3919	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:22	3919	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:22	3919	[DEBUG]	Query for Product
2023-10-13	13:33:22	3919	[DEBUG]	Executed store
2023-10-13	13:33:22	3919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863410','8436041526315','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:22	3919	[DEBUG]	No parent found
2023-10-13	13:33:22	3919	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863410 AND customfield_value = 'stockable'
2023-10-13	13:33:22	3919	[DEBUG]	Check product language entry
2023-10-13	13:33:22	3919	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863411
2023-10-13	13:33:22	3919	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:22	3919	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041526315' AND `virtuemart_product_id` != 1863411
2023-10-13	13:33:22	3919	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:22	3919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863411, '8436041526315')
2023-10-13	13:33:22	3919	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:22	3919	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-axe-crmo-economiques-noir-set' AND `virtuemart_product_id` != 1863411
2023-10-13	13:33:22	3919	[DEBUG]	Query for ProductLang
2023-10-13	13:33:22	3919	[DEBUG]	Executed store
2023-10-13	13:33:22	3919	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales MSC SPD Axe crmo économiques / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-axe-crmo-economiques-noir-set' WHERE `virtuemart_product_id` = '1863411'
2023-10-13	13:33:22	3919	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_458.jpg
2023-10-13	13:33:22	3919	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:33:22	3919	[DEBUG]	Process image file
2023-10-13	13:33:22	3919	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:33:22	3919	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:22	3919	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_458.jpg
2023-10-13	13:33:22	3919	[DEBUG]	Full name target: bcprisme/image_458.jpg
2023-10-13	13:33:23	3919	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:23	3919	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_458.jpg'
2023-10-13	13:33:23	3919	[DEBUG]	Query for Media
2023-10-13	13:33:23	3919	[DEBUG]	Executed store
2023-10-13	13:33:23	3919	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_458.jpg',`file_url_thumb`='bcprisme/image_458.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14425'
2023-10-13	13:33:23	3919	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:23	3919	[DEBUG]	Executed store
2023-10-13	13:33:23	3919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863411','14425','1')
2023-10-13	13:33:23	3919	[DEBUG]	Store product image relation
2023-10-13	13:33:23	3919	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:23	3919	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863411 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:23	3919	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:23	3919	[DEBUG]	Executed store
2023-10-13	13:33:23	3919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863411','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:23	3919	[DEBUG]	Checking manufacturer
2023-10-13	13:33:23	3919	[DEBUG]	Load a row
2023-10-13	13:33:23	3919	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:23	3919	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:23	3919	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:23	3919	[DEBUG]	Executed store
2023-10-13	13:33:23	3919	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:23	3919	[DEBUG]	Manufacturer exists
2023-10-13	13:33:23	3919	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:23	3919	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:23	3919	[DEBUG]	Executed store
2023-10-13	13:33:23	3919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863411','32')
2023-10-13	13:33:23	3919	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:23	3919	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:23	3919	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863411 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:23	3919	[DEBUG]	Store custom available field
2023-10-13	13:33:23	3919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863411,3,'',1)
2023-10-13	13:33:23	3919	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:23	3919	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:33:23	3919	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863411 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:23	3919	[DEBUG]	Store custom available field
2023-10-13	13:33:23	3919	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863411,6,'Set',3)
2023-10-13	13:33:23	3919	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:23	3919	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:23	3919	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863410
2023-10-13	13:33:23	3919	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:23	3919	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1863410\":[1863410,8,1,\"choisir la taille\"],\"1863411\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1863410
2023-10-13	13:33:23	3919	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:23	3919	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863411
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:23	3920	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field taille
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:23	3920	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:23	3920	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:23	3920	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:23	3920	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:23	3920	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:23	3920	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field published
2023-10-13	13:33:23	3920	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:23	3920	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field override
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:23	3920	[DEBUG]	Use field value for field slug
2023-10-13	13:33:23	3920	[DEBUG]	Process line 3920
2023-10-13	13:33:23	3920	[DEBUG]	Load a row
2023-10-13	13:33:23	3920	[DEBUG]	Processing item: A_2772_1
2023-10-13	13:33:23	3920	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:23	3920	[DEBUG]	Processing product tax
2023-10-13	13:33:23	3920	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:23	3920	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:23	3920	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:23	3920	[DEBUG]	Query for Product
2023-10-13	13:33:23	3920	[DEBUG]	Executed store
2023-10-13	13:33:23	3920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2772_1','0.173','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:23	3920	[DEBUG]	Check product language entry
2023-10-13	13:33:23	3920	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863412
2023-10-13	13:33:23	3920	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:23	3920	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2772_1' AND `virtuemart_product_id` != 1863412
2023-10-13	13:33:23	3920	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:23	3920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863412, 'A_2772_1')
2023-10-13	13:33:23	3920	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:23	3920	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crm-pour-le-xcountry-noir' AND `virtuemart_product_id` != 1863412
2023-10-13	13:33:23	3920	[DEBUG]	Query for ProductLang
2023-10-13	13:33:23	3920	[DEBUG]	Executed store
2023-10-13	13:33:23	3920	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pédales MSC automatiques SPD. Axe crmo.XCountry<br>Corps: Aluminium<br>Axe: Cr-Mo mécanisé cnc<br>Roulement: LSL annulaire<br>Fixation: 2 faces, tension ajustable<br>Cales: SC-C05 compatible SPD<br>Dimension: 78 x 62mm<br>Poids: 175gr/u<br>N° art fourn : PASML1BK',`product_name`='MSC Pédales MSC SPD automatiques Axe crm pour le XCountry / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crm-pour-le-xcountry-noir' WHERE `virtuemart_product_id` = '1863412'
2023-10-13	13:33:23	3920	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11643.jpg
2023-10-13	13:33:23	3920	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:23	3920	[DEBUG]	Process image file
2023-10-13	13:33:23	3920	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:23	3920	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:23	3920	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11643.jpg
2023-10-13	13:33:23	3920	[DEBUG]	Full name target: bcprisme/image_11643.jpg
2023-10-13	13:33:24	3920	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:24	3920	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11643.jpg'
2023-10-13	13:33:24	3920	[DEBUG]	Query for Media
2023-10-13	13:33:24	3920	[DEBUG]	Executed store
2023-10-13	13:33:24	3920	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11643.jpg',`file_url_thumb`='bcprisme/image_11643.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14427'
2023-10-13	13:33:24	3920	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:24	3920	[DEBUG]	Executed store
2023-10-13	13:33:24	3920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863412','14427','1')
2023-10-13	13:33:24	3920	[DEBUG]	Store product image relation
2023-10-13	13:33:24	3920	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:24	3920	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863412 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:24	3920	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:24	3920	[DEBUG]	Executed store
2023-10-13	13:33:24	3920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863412','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:24	3920	[DEBUG]	Checking manufacturer
2023-10-13	13:33:24	3920	[DEBUG]	Load a row
2023-10-13	13:33:24	3920	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:24	3920	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:24	3920	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:24	3920	[DEBUG]	Executed store
2023-10-13	13:33:24	3920	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:24	3920	[DEBUG]	Manufacturer exists
2023-10-13	13:33:24	3920	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:24	3920	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:24	3920	[DEBUG]	Executed store
2023-10-13	13:33:24	3920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863412','32')
2023-10-13	13:33:24	3920	[DEBUG]	Find the custom field ID
2023-10-13	13:33:24	3920	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:24	3920	[DEBUG]	No custom field ID found
2023-10-13	13:33:24	3920	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:24	3920	[DEBUG]	Get existing row with customfield value 69.7058333333333
2023-10-13	13:33:24	3920	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863412 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:24	3920	[DEBUG]	Store custom available field
2023-10-13	13:33:24	3920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863412,3,'69.7058333333333',1)
2023-10-13	13:33:24	3920	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:24	3920	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:24	3920	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863412 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:24	3920	[DEBUG]	Store custom available field
2023-10-13	13:33:24	3920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863412,6,'choisir la taille',3)
2023-10-13	13:33:24	3920	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:24	3920	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:24	3920	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:24	3920	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:24	3920	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863412 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:24	3920	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:24	3920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863412,8,1)
2023-10-13	13:33:24	3920	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:24	3920	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863412\":[1863412,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863412
2023-10-13	13:33:24	3920	[DEBUG]	Checking category
2023-10-13	13:33:24	3920	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:24	3920	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863412
2023-10-13	13:33:24	3920	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:24	3920	[DEBUG]	Executed store
2023-10-13	13:33:24	3920	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863412','7391')
2023-10-13	13:33:24	3920	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:24	3920	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863412 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:24	3920	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:24	3920	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863412
2023-10-13	13:33:24	3921	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:24	3921	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:24	3921	[DEBUG]	Use field value for field taille
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:24	3921	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:24	3921	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:24	3921	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:24	3921	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:24	3921	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:24	3921	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:24	3921	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:24	3921	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:24	3921	[DEBUG]	Use field value for field published
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:24	3921	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field override
2023-10-13	13:33:24	3921	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:24	3921	[DEBUG]	Use field value for field slug
2023-10-13	13:33:24	3921	[DEBUG]	Process line 3921
2023-10-13	13:33:24	3921	[DEBUG]	Load a row
2023-10-13	13:33:24	3921	[DEBUG]	Processing item: 8436550192742
2023-10-13	13:33:24	3921	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:24	3921	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:24	3921	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2772_1'
2023-10-13	13:33:24	3921	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:24	3921	[DEBUG]	Processing product tax
2023-10-13	13:33:24	3921	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:24	3921	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:24	3921	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:24	3921	[DEBUG]	Query for Product
2023-10-13	13:33:24	3921	[DEBUG]	Executed store
2023-10-13	13:33:24	3921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863412','8436550192742','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:25	3921	[DEBUG]	No parent found
2023-10-13	13:33:25	3921	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863412 AND customfield_value = 'stockable'
2023-10-13	13:33:25	3921	[DEBUG]	Check product language entry
2023-10-13	13:33:25	3921	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863413
2023-10-13	13:33:25	3921	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:25	3921	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550192742' AND `virtuemart_product_id` != 1863413
2023-10-13	13:33:25	3921	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:25	3921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863413, '8436550192742')
2023-10-13	13:33:25	3921	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:25	3921	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crm-pour-le-xcountry-noir-unitaire' AND `virtuemart_product_id` != 1863413
2023-10-13	13:33:25	3921	[DEBUG]	Query for ProductLang
2023-10-13	13:33:25	3921	[DEBUG]	Executed store
2023-10-13	13:33:25	3921	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales MSC SPD automatiques Axe crm pour le XCountry / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crm-pour-le-xcountry-noir-unitaire' WHERE `virtuemart_product_id` = '1863413'
2023-10-13	13:33:25	3921	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11643.jpg
2023-10-13	13:33:25	3921	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:25	3921	[DEBUG]	Process image file
2023-10-13	13:33:25	3921	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:25	3921	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:25	3921	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11643.jpg
2023-10-13	13:33:25	3921	[DEBUG]	Full name target: bcprisme/image_11643.jpg
2023-10-13	13:33:25	3921	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:25	3921	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11643.jpg'
2023-10-13	13:33:25	3921	[DEBUG]	Query for Media
2023-10-13	13:33:25	3921	[DEBUG]	Executed store
2023-10-13	13:33:25	3921	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11643.jpg',`file_url_thumb`='bcprisme/image_11643.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14427'
2023-10-13	13:33:26	3921	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:26	3921	[DEBUG]	Executed store
2023-10-13	13:33:26	3921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863413','14427','1')
2023-10-13	13:33:26	3921	[DEBUG]	Store product image relation
2023-10-13	13:33:26	3921	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:26	3921	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863413 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:26	3921	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:26	3921	[DEBUG]	Executed store
2023-10-13	13:33:26	3921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863413','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:26	3921	[DEBUG]	Checking manufacturer
2023-10-13	13:33:26	3921	[DEBUG]	Load a row
2023-10-13	13:33:26	3921	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:26	3921	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:26	3921	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:26	3921	[DEBUG]	Executed store
2023-10-13	13:33:26	3921	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:26	3921	[DEBUG]	Manufacturer exists
2023-10-13	13:33:26	3921	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:26	3921	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:26	3921	[DEBUG]	Executed store
2023-10-13	13:33:26	3921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863413','32')
2023-10-13	13:33:26	3921	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:26	3921	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:26	3921	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863413 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:26	3921	[DEBUG]	Store custom available field
2023-10-13	13:33:26	3921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863413,3,'',1)
2023-10-13	13:33:26	3921	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:26	3921	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:26	3921	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863413 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:26	3921	[DEBUG]	Store custom available field
2023-10-13	13:33:26	3921	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863413,6,'Unitaire',3)
2023-10-13	13:33:26	3921	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:26	3921	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:26	3921	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863412
2023-10-13	13:33:26	3921	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:26	3921	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863412\":[1863412,8,1,\"choisir la taille\"],\"1863413\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863412
2023-10-13	13:33:26	3921	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:26	3921	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863413
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:26	3922	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field taille
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:26	3922	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:26	3922	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:26	3922	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:26	3922	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:26	3922	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:26	3922	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field published
2023-10-13	13:33:26	3922	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:26	3922	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field override
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:26	3922	[DEBUG]	Use field value for field slug
2023-10-13	13:33:26	3922	[DEBUG]	Process line 3922
2023-10-13	13:33:26	3922	[DEBUG]	Load a row
2023-10-13	13:33:26	3922	[DEBUG]	Processing item: A_2773_1
2023-10-13	13:33:26	3922	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:26	3922	[DEBUG]	Processing product tax
2023-10-13	13:33:26	3922	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:26	3922	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:26	3922	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:26	3922	[DEBUG]	Query for Product
2023-10-13	13:33:26	3922	[DEBUG]	Executed store
2023-10-13	13:33:26	3922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_2773_1','0.186','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:26	3922	[DEBUG]	Check product language entry
2023-10-13	13:33:26	3922	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863414
2023-10-13	13:33:26	3922	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:26	3922	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_2773_1' AND `virtuemart_product_id` != 1863414
2023-10-13	13:33:26	3922	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:26	3922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863414, 'A_2773_1')
2023-10-13	13:33:26	3922	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:26	3922	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crmo-enduro-noir' AND `virtuemart_product_id` != 1863414
2023-10-13	13:33:26	3922	[DEBUG]	Query for ProductLang
2023-10-13	13:33:26	3922	[DEBUG]	Executed store
2023-10-13	13:33:26	3922	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pédales MSC automatiques SPD. Axe crmo. Enduro<br>Corps Aluminium 6061 cnc mécanisé <br>Axe Cr-Mo mécanisé cnc <br>Roulement LSL annulaire <br>Fixation 2 faces, tension ajustable <br>Cales SC-C05 compatible SPD <br>Dimension 85 x 77mm <br>Poids 186gr/u <br>N° art fourn : PAMDM1BK',`product_name`='MSC Pédales MSC SPD automatiques Axe crmo.Enduro / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crmo-enduro-noir' WHERE `virtuemart_product_id` = '1863414'
2023-10-13	13:33:26	3922	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11644.jpg
2023-10-13	13:33:26	3922	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:26	3922	[DEBUG]	Process image file
2023-10-13	13:33:26	3922	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:26	3922	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:26	3922	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11644.jpg
2023-10-13	13:33:26	3922	[DEBUG]	Full name target: bcprisme/image_11644.jpg
2023-10-13	13:33:27	3922	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:27	3922	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11644.jpg'
2023-10-13	13:33:27	3922	[DEBUG]	Query for Media
2023-10-13	13:33:27	3922	[DEBUG]	Executed store
2023-10-13	13:33:27	3922	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11644.jpg',`file_url_thumb`='bcprisme/image_11644.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14428'
2023-10-13	13:33:27	3922	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:27	3922	[DEBUG]	Executed store
2023-10-13	13:33:27	3922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863414','14428','1')
2023-10-13	13:33:27	3922	[DEBUG]	Store product image relation
2023-10-13	13:33:27	3922	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:27	3922	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863414 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:27	3922	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:27	3922	[DEBUG]	Executed store
2023-10-13	13:33:27	3922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863414','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:27	3922	[DEBUG]	Checking manufacturer
2023-10-13	13:33:27	3922	[DEBUG]	Load a row
2023-10-13	13:33:27	3922	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:27	3922	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:27	3922	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:27	3922	[DEBUG]	Executed store
2023-10-13	13:33:27	3922	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:27	3922	[DEBUG]	Manufacturer exists
2023-10-13	13:33:27	3922	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:27	3922	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:27	3922	[DEBUG]	Executed store
2023-10-13	13:33:27	3922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863414','32')
2023-10-13	13:33:27	3922	[DEBUG]	Find the custom field ID
2023-10-13	13:33:27	3922	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:27	3922	[DEBUG]	No custom field ID found
2023-10-13	13:33:27	3922	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:27	3922	[DEBUG]	Get existing row with customfield value 149.483611111111
2023-10-13	13:33:27	3922	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863414 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:27	3922	[DEBUG]	Store custom available field
2023-10-13	13:33:27	3922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863414,3,'149.483611111111',1)
2023-10-13	13:33:27	3922	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:27	3922	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:27	3922	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863414 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:27	3922	[DEBUG]	Store custom available field
2023-10-13	13:33:27	3922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863414,6,'choisir la taille',3)
2023-10-13	13:33:27	3922	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:27	3922	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:27	3922	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:27	3922	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:27	3922	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863414 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:27	3922	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:27	3922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863414,8,1)
2023-10-13	13:33:27	3922	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:27	3922	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863414\":[1863414,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863414
2023-10-13	13:33:27	3922	[DEBUG]	Checking category
2023-10-13	13:33:27	3922	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:27	3922	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863414
2023-10-13	13:33:27	3922	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:27	3922	[DEBUG]	Executed store
2023-10-13	13:33:27	3922	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863414','7391')
2023-10-13	13:33:27	3922	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:27	3922	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863414 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:27	3922	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:27	3922	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863414
2023-10-13	13:33:27	3923	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:27	3923	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:27	3923	[DEBUG]	Use field value for field taille
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:27	3923	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:27	3923	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:27	3923	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:27	3923	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:27	3923	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:27	3923	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:27	3923	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:27	3923	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:27	3923	[DEBUG]	Use field value for field published
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:27	3923	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field override
2023-10-13	13:33:27	3923	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:27	3923	[DEBUG]	Use field value for field slug
2023-10-13	13:33:27	3923	[DEBUG]	Process line 3923
2023-10-13	13:33:27	3923	[DEBUG]	Load a row
2023-10-13	13:33:27	3923	[DEBUG]	Processing item: 8436550192735
2023-10-13	13:33:27	3923	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:27	3923	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:27	3923	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_2773_1'
2023-10-13	13:33:27	3923	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:27	3923	[DEBUG]	Processing product tax
2023-10-13	13:33:27	3923	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:27	3923	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:27	3923	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:27	3923	[DEBUG]	Query for Product
2023-10-13	13:33:27	3923	[DEBUG]	Executed store
2023-10-13	13:33:27	3923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863414','8436550192735','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:27	3923	[DEBUG]	No parent found
2023-10-13	13:33:27	3923	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863414 AND customfield_value = 'stockable'
2023-10-13	13:33:27	3923	[DEBUG]	Check product language entry
2023-10-13	13:33:27	3923	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863415
2023-10-13	13:33:27	3923	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:27	3923	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550192735' AND `virtuemart_product_id` != 1863415
2023-10-13	13:33:27	3923	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:27	3923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863415, '8436550192735')
2023-10-13	13:33:27	3923	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:27	3923	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crmo-enduro-noir-unitaire' AND `virtuemart_product_id` != 1863415
2023-10-13	13:33:27	3923	[DEBUG]	Query for ProductLang
2023-10-13	13:33:27	3923	[DEBUG]	Executed store
2023-10-13	13:33:27	3923	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales MSC SPD automatiques Axe crmo.Enduro / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crmo-enduro-noir-unitaire' WHERE `virtuemart_product_id` = '1863415'
2023-10-13	13:33:27	3923	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11644.jpg
2023-10-13	13:33:27	3923	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:27	3923	[DEBUG]	Process image file
2023-10-13	13:33:27	3923	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:27	3923	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:27	3923	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_11644.jpg
2023-10-13	13:33:27	3923	[DEBUG]	Full name target: bcprisme/image_11644.jpg
2023-10-13	13:33:28	3923	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:28	3923	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_11644.jpg'
2023-10-13	13:33:28	3923	[DEBUG]	Query for Media
2023-10-13	13:33:28	3923	[DEBUG]	Executed store
2023-10-13	13:33:28	3923	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_11644.jpg',`file_url_thumb`='bcprisme/image_11644.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14428'
2023-10-13	13:33:28	3923	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:28	3923	[DEBUG]	Executed store
2023-10-13	13:33:28	3923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863415','14428','1')
2023-10-13	13:33:28	3923	[DEBUG]	Store product image relation
2023-10-13	13:33:28	3923	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:28	3923	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863415 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:28	3923	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:28	3923	[DEBUG]	Executed store
2023-10-13	13:33:28	3923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863415','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:28	3923	[DEBUG]	Checking manufacturer
2023-10-13	13:33:28	3923	[DEBUG]	Load a row
2023-10-13	13:33:28	3923	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:28	3923	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:28	3923	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:28	3923	[DEBUG]	Executed store
2023-10-13	13:33:28	3923	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:28	3923	[DEBUG]	Manufacturer exists
2023-10-13	13:33:28	3923	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:28	3923	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:28	3923	[DEBUG]	Executed store
2023-10-13	13:33:28	3923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863415','32')
2023-10-13	13:33:28	3923	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:28	3923	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:28	3923	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863415 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:28	3923	[DEBUG]	Store custom available field
2023-10-13	13:33:28	3923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863415,3,'',1)
2023-10-13	13:33:28	3923	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:28	3923	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:28	3923	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863415 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:28	3923	[DEBUG]	Store custom available field
2023-10-13	13:33:28	3923	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863415,6,'Unitaire',3)
2023-10-13	13:33:28	3923	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:28	3923	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:28	3923	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863414
2023-10-13	13:33:28	3923	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:28	3923	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863414\":[1863414,8,1,\"choisir la taille\"],\"1863415\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863414
2023-10-13	13:33:28	3923	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:28	3923	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863415
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:28	3924	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field taille
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:28	3924	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:28	3924	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:28	3924	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:28	3924	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:28	3924	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:28	3924	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field published
2023-10-13	13:33:28	3924	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:28	3924	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field override
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:28	3924	[DEBUG]	Use field value for field slug
2023-10-13	13:33:28	3924	[DEBUG]	Process line 3924
2023-10-13	13:33:28	3924	[DEBUG]	Load a row
2023-10-13	13:33:28	3924	[DEBUG]	Processing item: A_3878_1
2023-10-13	13:33:28	3924	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:28	3924	[DEBUG]	Processing product tax
2023-10-13	13:33:28	3924	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:28	3924	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:28	3924	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:28	3924	[DEBUG]	Query for Product
2023-10-13	13:33:28	3924	[DEBUG]	Executed store
2023-10-13	13:33:28	3924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3878_1','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:28	3924	[DEBUG]	Check product language entry
2023-10-13	13:33:28	3924	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863416
2023-10-13	13:33:28	3924	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:28	3924	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3878_1' AND `virtuemart_product_id` != 1863416
2023-10-13	13:33:28	3924	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:28	3924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863416, 'A_3878_1')
2023-10-13	13:33:28	3924	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:28	3924	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-noir' AND `virtuemart_product_id` != 1863416
2023-10-13	13:33:28	3924	[DEBUG]	Query for ProductLang
2023-10-13	13:33:28	3924	[DEBUG]	Executed store
2023-10-13	13:33:28	3924	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pédales MSC automatiques SPD. axe crmo X-Country, 260 gr.<br>N° art fourn : ZP108S',`product_name`='MSC Pédales MSC SPD automatiques Axe crmo X-Country, 260 gr. / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-noir' WHERE `virtuemart_product_id` = '1863416'
2023-10-13	13:33:28	3924	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20293_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:28	3924	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:28	3924	[DEBUG]	Process image file
2023-10-13	13:33:28	3924	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:28	3924	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:28	3924	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20293_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:28	3924	[DEBUG]	Full name target: bcprisme/20293_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:29	3924	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:29	3924	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20293_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg'
2023-10-13	13:33:29	3924	[DEBUG]	Query for Media
2023-10-13	13:33:29	3924	[DEBUG]	Executed store
2023-10-13	13:33:29	3924	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20293_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_url_thumb`='bcprisme/20293_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14429'
2023-10-13	13:33:29	3924	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:29	3924	[DEBUG]	Executed store
2023-10-13	13:33:29	3924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863416','14429','1')
2023-10-13	13:33:29	3924	[DEBUG]	Store product image relation
2023-10-13	13:33:29	3924	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:29	3924	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863416 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:29	3924	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:29	3924	[DEBUG]	Executed store
2023-10-13	13:33:29	3924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863416','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:29	3924	[DEBUG]	Checking manufacturer
2023-10-13	13:33:29	3924	[DEBUG]	Load a row
2023-10-13	13:33:29	3924	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:29	3924	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:29	3924	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:29	3924	[DEBUG]	Executed store
2023-10-13	13:33:29	3924	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:29	3924	[DEBUG]	Manufacturer exists
2023-10-13	13:33:29	3924	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:29	3924	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:29	3924	[DEBUG]	Executed store
2023-10-13	13:33:29	3924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863416','32')
2023-10-13	13:33:29	3924	[DEBUG]	Find the custom field ID
2023-10-13	13:33:29	3924	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:29	3924	[DEBUG]	No custom field ID found
2023-10-13	13:33:29	3924	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:29	3924	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:33:29	3924	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863416 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:29	3924	[DEBUG]	Store custom available field
2023-10-13	13:33:29	3924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863416,3,'99.6225',1)
2023-10-13	13:33:29	3924	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:29	3924	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:29	3924	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863416 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:29	3924	[DEBUG]	Store custom available field
2023-10-13	13:33:29	3924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863416,6,'choisir la taille',3)
2023-10-13	13:33:29	3924	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:29	3924	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:29	3924	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:29	3924	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:29	3924	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863416 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:29	3924	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:29	3924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863416,8,1)
2023-10-13	13:33:29	3924	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:29	3924	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863416\":[1863416,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863416
2023-10-13	13:33:29	3924	[DEBUG]	Checking category
2023-10-13	13:33:29	3924	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:29	3924	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863416
2023-10-13	13:33:29	3924	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:29	3924	[DEBUG]	Executed store
2023-10-13	13:33:29	3924	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863416','7391')
2023-10-13	13:33:29	3924	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:29	3924	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863416 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:29	3924	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:29	3924	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863416
2023-10-13	13:33:29	3925	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:29	3925	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:29	3925	[DEBUG]	Use field value for field taille
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:29	3925	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:29	3925	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:29	3925	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:29	3925	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:29	3925	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:29	3925	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:29	3925	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:29	3925	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:29	3925	[DEBUG]	Use field value for field published
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:29	3925	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field override
2023-10-13	13:33:29	3925	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:29	3925	[DEBUG]	Use field value for field slug
2023-10-13	13:33:29	3925	[DEBUG]	Process line 3925
2023-10-13	13:33:29	3925	[DEBUG]	Load a row
2023-10-13	13:33:29	3925	[DEBUG]	Processing item: 8435466292171
2023-10-13	13:33:29	3925	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:29	3925	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:29	3925	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3878_1'
2023-10-13	13:33:29	3925	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:29	3925	[DEBUG]	Processing product tax
2023-10-13	13:33:29	3925	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:29	3925	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:29	3925	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:29	3925	[DEBUG]	Query for Product
2023-10-13	13:33:29	3925	[DEBUG]	Executed store
2023-10-13	13:33:29	3925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863416','8435466292171','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:29	3925	[DEBUG]	No parent found
2023-10-13	13:33:29	3925	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863416 AND customfield_value = 'stockable'
2023-10-13	13:33:29	3925	[DEBUG]	Check product language entry
2023-10-13	13:33:29	3925	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863417
2023-10-13	13:33:29	3925	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:29	3925	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466292171' AND `virtuemart_product_id` != 1863417
2023-10-13	13:33:29	3925	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:29	3925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863417, '8435466292171')
2023-10-13	13:33:29	3925	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:29	3925	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-noir-unitaire' AND `virtuemart_product_id` != 1863417
2023-10-13	13:33:29	3925	[DEBUG]	Query for ProductLang
2023-10-13	13:33:29	3925	[DEBUG]	Executed store
2023-10-13	13:33:29	3925	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales MSC SPD automatiques Axe crmo X-Country, 260 gr. / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-noir-unitaire' WHERE `virtuemart_product_id` = '1863417'
2023-10-13	13:33:29	3925	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20293_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:29	3925	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:29	3925	[DEBUG]	Process image file
2023-10-13	13:33:29	3925	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:29	3925	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:29	3925	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20293_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:29	3925	[DEBUG]	Full name target: bcprisme/20293_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:30	3925	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:30	3925	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20293_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg'
2023-10-13	13:33:30	3925	[DEBUG]	Query for Media
2023-10-13	13:33:30	3925	[DEBUG]	Executed store
2023-10-13	13:33:30	3925	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20293_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_url_thumb`='bcprisme/20293_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14429'
2023-10-13	13:33:30	3925	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:30	3925	[DEBUG]	Executed store
2023-10-13	13:33:30	3925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863417','14429','1')
2023-10-13	13:33:30	3925	[DEBUG]	Store product image relation
2023-10-13	13:33:30	3925	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:30	3925	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863417 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:30	3925	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:30	3925	[DEBUG]	Executed store
2023-10-13	13:33:30	3925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863417','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:30	3925	[DEBUG]	Checking manufacturer
2023-10-13	13:33:30	3925	[DEBUG]	Load a row
2023-10-13	13:33:30	3925	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:30	3925	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:30	3925	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:30	3925	[DEBUG]	Executed store
2023-10-13	13:33:30	3925	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:30	3925	[DEBUG]	Manufacturer exists
2023-10-13	13:33:30	3925	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:30	3925	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:30	3925	[DEBUG]	Executed store
2023-10-13	13:33:30	3925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863417','32')
2023-10-13	13:33:30	3925	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:30	3925	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:30	3925	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863417 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:30	3925	[DEBUG]	Store custom available field
2023-10-13	13:33:30	3925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863417,3,'',1)
2023-10-13	13:33:30	3925	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:30	3925	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:30	3925	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863417 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:30	3925	[DEBUG]	Store custom available field
2023-10-13	13:33:30	3925	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863417,6,'Unitaire',3)
2023-10-13	13:33:30	3925	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:30	3925	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:30	3925	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863416
2023-10-13	13:33:30	3925	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:30	3925	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863416\":[1863416,8,1,\"choisir la taille\"],\"1863417\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863416
2023-10-13	13:33:30	3925	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:30	3925	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863417
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:30	3926	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field taille
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:30	3926	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:30	3926	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:30	3926	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:30	3926	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:30	3926	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:30	3926	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field published
2023-10-13	13:33:30	3926	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:30	3926	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field override
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:30	3926	[DEBUG]	Use field value for field slug
2023-10-13	13:33:30	3926	[DEBUG]	Process line 3926
2023-10-13	13:33:30	3926	[DEBUG]	Load a row
2023-10-13	13:33:30	3926	[DEBUG]	Processing item: A_3878_7
2023-10-13	13:33:30	3926	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:30	3926	[DEBUG]	Processing product tax
2023-10-13	13:33:30	3926	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:30	3926	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:30	3926	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:30	3926	[DEBUG]	Query for Product
2023-10-13	13:33:30	3926	[DEBUG]	Executed store
2023-10-13	13:33:30	3926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3878_7','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:30	3926	[DEBUG]	Check product language entry
2023-10-13	13:33:30	3926	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863418
2023-10-13	13:33:30	3926	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:30	3926	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3878_7' AND `virtuemart_product_id` != 1863418
2023-10-13	13:33:30	3926	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:30	3926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863418, 'A_3878_7')
2023-10-13	13:33:30	3926	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:30	3926	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-rouge' AND `virtuemart_product_id` != 1863418
2023-10-13	13:33:30	3926	[DEBUG]	Query for ProductLang
2023-10-13	13:33:30	3926	[DEBUG]	Executed store
2023-10-13	13:33:30	3926	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pédales MSC automatiques SPD. axe crmo X-Country, 260 gr.<br>N° art fourn : ZP108S',`product_name`='MSC Pédales MSC SPD automatiques Axe crmo X-Country, 260 gr. / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-rouge' WHERE `virtuemart_product_id` = '1863418'
2023-10-13	13:33:30	3926	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20297_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:30	3926	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:30	3926	[DEBUG]	Process image file
2023-10-13	13:33:30	3926	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:30	3926	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:30	3926	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20297_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:30	3926	[DEBUG]	Full name target: bcprisme/20297_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:31	3926	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:31	3926	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20297_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg'
2023-10-13	13:33:31	3926	[DEBUG]	Query for Media
2023-10-13	13:33:31	3926	[DEBUG]	Executed store
2023-10-13	13:33:31	3926	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20297_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_url_thumb`='bcprisme/20297_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14430'
2023-10-13	13:33:31	3926	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:31	3926	[DEBUG]	Executed store
2023-10-13	13:33:31	3926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863418','14430','1')
2023-10-13	13:33:31	3926	[DEBUG]	Store product image relation
2023-10-13	13:33:31	3926	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:31	3926	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863418 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:31	3926	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:31	3926	[DEBUG]	Executed store
2023-10-13	13:33:31	3926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863418','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:31	3926	[DEBUG]	Checking manufacturer
2023-10-13	13:33:31	3926	[DEBUG]	Load a row
2023-10-13	13:33:31	3926	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:31	3926	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:31	3926	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:31	3926	[DEBUG]	Executed store
2023-10-13	13:33:31	3926	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:31	3926	[DEBUG]	Manufacturer exists
2023-10-13	13:33:31	3926	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:31	3926	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:31	3926	[DEBUG]	Executed store
2023-10-13	13:33:31	3926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863418','32')
2023-10-13	13:33:31	3926	[DEBUG]	Find the custom field ID
2023-10-13	13:33:31	3926	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:31	3926	[DEBUG]	No custom field ID found
2023-10-13	13:33:31	3926	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:31	3926	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:33:31	3926	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863418 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:31	3926	[DEBUG]	Store custom available field
2023-10-13	13:33:31	3926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863418,3,'99.6225',1)
2023-10-13	13:33:31	3926	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:31	3926	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:31	3926	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863418 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:31	3926	[DEBUG]	Store custom available field
2023-10-13	13:33:31	3926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863418,6,'choisir la taille',3)
2023-10-13	13:33:31	3926	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:31	3926	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:31	3926	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:31	3926	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:31	3926	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863418 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:31	3926	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:31	3926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863418,8,1)
2023-10-13	13:33:31	3926	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:31	3926	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863418\":[1863418,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863418
2023-10-13	13:33:31	3926	[DEBUG]	Checking category
2023-10-13	13:33:31	3926	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:31	3926	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863418
2023-10-13	13:33:31	3926	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:31	3926	[DEBUG]	Executed store
2023-10-13	13:33:31	3926	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863418','7391')
2023-10-13	13:33:31	3926	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:31	3926	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863418 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:31	3926	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:31	3926	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863418
2023-10-13	13:33:31	3927	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:31	3927	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:31	3927	[DEBUG]	Use field value for field taille
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:31	3927	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:31	3927	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:31	3927	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:31	3927	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:31	3927	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:31	3927	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:31	3927	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:31	3927	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:31	3927	[DEBUG]	Use field value for field published
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:31	3927	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field override
2023-10-13	13:33:31	3927	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:31	3927	[DEBUG]	Use field value for field slug
2023-10-13	13:33:31	3927	[DEBUG]	Process line 3927
2023-10-13	13:33:31	3927	[DEBUG]	Load a row
2023-10-13	13:33:31	3927	[DEBUG]	Processing item: 8435466292218
2023-10-13	13:33:31	3927	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:31	3927	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:31	3927	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3878_7'
2023-10-13	13:33:31	3927	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:31	3927	[DEBUG]	Processing product tax
2023-10-13	13:33:31	3927	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:31	3927	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:31	3927	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:31	3927	[DEBUG]	Query for Product
2023-10-13	13:33:31	3927	[DEBUG]	Executed store
2023-10-13	13:33:31	3927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863418','8435466292218','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:31	3927	[DEBUG]	No parent found
2023-10-13	13:33:31	3927	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863418 AND customfield_value = 'stockable'
2023-10-13	13:33:31	3927	[DEBUG]	Check product language entry
2023-10-13	13:33:31	3927	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863419
2023-10-13	13:33:31	3927	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:31	3927	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466292218' AND `virtuemart_product_id` != 1863419
2023-10-13	13:33:31	3927	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:31	3927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863419, '8435466292218')
2023-10-13	13:33:31	3927	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:31	3927	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-rouge-unitaire' AND `virtuemart_product_id` != 1863419
2023-10-13	13:33:31	3927	[DEBUG]	Query for ProductLang
2023-10-13	13:33:31	3927	[DEBUG]	Executed store
2023-10-13	13:33:31	3927	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales MSC SPD automatiques Axe crmo X-Country, 260 gr. / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-rouge-unitaire' WHERE `virtuemart_product_id` = '1863419'
2023-10-13	13:33:31	3927	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20297_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:31	3927	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:31	3927	[DEBUG]	Process image file
2023-10-13	13:33:31	3927	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:31	3927	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:31	3927	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20297_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:31	3927	[DEBUG]	Full name target: bcprisme/20297_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:32	3927	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:32	3927	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20297_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg'
2023-10-13	13:33:32	3927	[DEBUG]	Query for Media
2023-10-13	13:33:32	3927	[DEBUG]	Executed store
2023-10-13	13:33:32	3927	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20297_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_url_thumb`='bcprisme/20297_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14430'
2023-10-13	13:33:32	3927	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:32	3927	[DEBUG]	Executed store
2023-10-13	13:33:32	3927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863419','14430','1')
2023-10-13	13:33:32	3927	[DEBUG]	Store product image relation
2023-10-13	13:33:32	3927	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:32	3927	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863419 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:32	3927	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:32	3927	[DEBUG]	Executed store
2023-10-13	13:33:32	3927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863419','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:32	3927	[DEBUG]	Checking manufacturer
2023-10-13	13:33:32	3927	[DEBUG]	Load a row
2023-10-13	13:33:32	3927	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:32	3927	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:32	3927	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:32	3927	[DEBUG]	Executed store
2023-10-13	13:33:32	3927	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:32	3927	[DEBUG]	Manufacturer exists
2023-10-13	13:33:32	3927	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:32	3927	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:32	3927	[DEBUG]	Executed store
2023-10-13	13:33:32	3927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863419','32')
2023-10-13	13:33:32	3927	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:32	3927	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:32	3927	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863419 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:32	3927	[DEBUG]	Store custom available field
2023-10-13	13:33:32	3927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863419,3,'',1)
2023-10-13	13:33:32	3927	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:32	3927	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:32	3927	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863419 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:32	3927	[DEBUG]	Store custom available field
2023-10-13	13:33:32	3927	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863419,6,'Unitaire',3)
2023-10-13	13:33:32	3927	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:32	3927	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:32	3927	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863418
2023-10-13	13:33:32	3927	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:32	3927	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863418\":[1863418,8,1,\"choisir la taille\"],\"1863419\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863418
2023-10-13	13:33:32	3927	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:32	3927	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863419
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:32	3928	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field taille
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:32	3928	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:32	3928	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:32	3928	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:32	3928	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:32	3928	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:32	3928	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field published
2023-10-13	13:33:32	3928	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:32	3928	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field override
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:32	3928	[DEBUG]	Use field value for field slug
2023-10-13	13:33:32	3928	[DEBUG]	Process line 3928
2023-10-13	13:33:32	3928	[DEBUG]	Load a row
2023-10-13	13:33:32	3928	[DEBUG]	Processing item: A_3878_12
2023-10-13	13:33:32	3928	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:32	3928	[DEBUG]	Processing product tax
2023-10-13	13:33:32	3928	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:32	3928	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:32	3928	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:32	3928	[DEBUG]	Query for Product
2023-10-13	13:33:32	3928	[DEBUG]	Executed store
2023-10-13	13:33:32	3928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3878_12','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:32	3928	[DEBUG]	Check product language entry
2023-10-13	13:33:32	3928	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863420
2023-10-13	13:33:32	3928	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:32	3928	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3878_12' AND `virtuemart_product_id` != 1863420
2023-10-13	13:33:32	3928	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:32	3928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863420, 'A_3878_12')
2023-10-13	13:33:32	3928	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:32	3928	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-blanc' AND `virtuemart_product_id` != 1863420
2023-10-13	13:33:32	3928	[DEBUG]	Query for ProductLang
2023-10-13	13:33:32	3928	[DEBUG]	Executed store
2023-10-13	13:33:32	3928	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pédales MSC automatiques SPD. axe crmo X-Country, 260 gr.<br>N° art fourn : ZP108S',`product_name`='MSC Pédales MSC SPD automatiques Axe crmo X-Country, 260 gr. / Blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-blanc' WHERE `virtuemart_product_id` = '1863420'
2023-10-13	13:33:32	3928	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20298_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:32	3928	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:32	3928	[DEBUG]	Process image file
2023-10-13	13:33:32	3928	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:32	3928	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:32	3928	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20298_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:32	3928	[DEBUG]	Full name target: bcprisme/20298_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:33	3928	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:33	3928	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20298_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg'
2023-10-13	13:33:33	3928	[DEBUG]	Query for Media
2023-10-13	13:33:33	3928	[DEBUG]	Executed store
2023-10-13	13:33:33	3928	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20298_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_url_thumb`='bcprisme/20298_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14431'
2023-10-13	13:33:33	3928	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:33	3928	[DEBUG]	Executed store
2023-10-13	13:33:33	3928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863420','14431','1')
2023-10-13	13:33:33	3928	[DEBUG]	Store product image relation
2023-10-13	13:33:33	3928	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:33	3928	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863420 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:33	3928	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:33	3928	[DEBUG]	Executed store
2023-10-13	13:33:33	3928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863420','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:33	3928	[DEBUG]	Checking manufacturer
2023-10-13	13:33:33	3928	[DEBUG]	Load a row
2023-10-13	13:33:33	3928	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:33	3928	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:33	3928	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:33	3928	[DEBUG]	Executed store
2023-10-13	13:33:33	3928	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:33	3928	[DEBUG]	Manufacturer exists
2023-10-13	13:33:33	3928	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:33	3928	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:33	3928	[DEBUG]	Executed store
2023-10-13	13:33:33	3928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863420','32')
2023-10-13	13:33:33	3928	[DEBUG]	Find the custom field ID
2023-10-13	13:33:33	3928	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:33	3928	[DEBUG]	No custom field ID found
2023-10-13	13:33:33	3928	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:33	3928	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:33:33	3928	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863420 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:33	3928	[DEBUG]	Store custom available field
2023-10-13	13:33:33	3928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863420,3,'99.6225',1)
2023-10-13	13:33:33	3928	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:33	3928	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:33	3928	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863420 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:33	3928	[DEBUG]	Store custom available field
2023-10-13	13:33:33	3928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863420,6,'choisir la taille',3)
2023-10-13	13:33:33	3928	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:33	3928	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:33	3928	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:33	3928	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:33	3928	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863420 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:33	3928	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:33	3928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863420,8,1)
2023-10-13	13:33:33	3928	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:33	3928	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863420\":[1863420,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863420
2023-10-13	13:33:33	3928	[DEBUG]	Checking category
2023-10-13	13:33:33	3928	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:33	3928	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863420
2023-10-13	13:33:33	3928	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:33	3928	[DEBUG]	Executed store
2023-10-13	13:33:33	3928	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863420','7391')
2023-10-13	13:33:33	3928	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:33	3928	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863420 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:33	3928	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:33	3928	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863420
2023-10-13	13:33:33	3929	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:33	3929	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:33	3929	[DEBUG]	Use field value for field taille
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:33	3929	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:33	3929	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:33	3929	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:33	3929	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:33	3929	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:33	3929	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:33	3929	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:33	3929	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:33	3929	[DEBUG]	Use field value for field published
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:33	3929	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field override
2023-10-13	13:33:33	3929	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:33	3929	[DEBUG]	Use field value for field slug
2023-10-13	13:33:33	3929	[DEBUG]	Process line 3929
2023-10-13	13:33:33	3929	[DEBUG]	Load a row
2023-10-13	13:33:33	3929	[DEBUG]	Processing item: 8435466292225
2023-10-13	13:33:33	3929	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:33	3929	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:33	3929	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3878_12'
2023-10-13	13:33:33	3929	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:33	3929	[DEBUG]	Processing product tax
2023-10-13	13:33:33	3929	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:33	3929	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:33	3929	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:33	3929	[DEBUG]	Query for Product
2023-10-13	13:33:33	3929	[DEBUG]	Executed store
2023-10-13	13:33:33	3929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863420','8435466292225','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:33	3929	[DEBUG]	No parent found
2023-10-13	13:33:33	3929	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863420 AND customfield_value = 'stockable'
2023-10-13	13:33:33	3929	[DEBUG]	Check product language entry
2023-10-13	13:33:33	3929	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863421
2023-10-13	13:33:33	3929	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:33	3929	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466292225' AND `virtuemart_product_id` != 1863421
2023-10-13	13:33:33	3929	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:33	3929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863421, '8435466292225')
2023-10-13	13:33:33	3929	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:33	3929	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-blanc-unitaire' AND `virtuemart_product_id` != 1863421
2023-10-13	13:33:33	3929	[DEBUG]	Query for ProductLang
2023-10-13	13:33:33	3929	[DEBUG]	Executed store
2023-10-13	13:33:33	3929	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales MSC SPD automatiques Axe crmo X-Country, 260 gr. / Blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-blanc-unitaire' WHERE `virtuemart_product_id` = '1863421'
2023-10-13	13:33:33	3929	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20298_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:33	3929	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:33	3929	[DEBUG]	Process image file
2023-10-13	13:33:33	3929	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:33	3929	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:33	3929	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20298_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:33	3929	[DEBUG]	Full name target: bcprisme/20298_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:34	3929	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:34	3929	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20298_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg'
2023-10-13	13:33:34	3929	[DEBUG]	Query for Media
2023-10-13	13:33:34	3929	[DEBUG]	Executed store
2023-10-13	13:33:34	3929	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20298_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_url_thumb`='bcprisme/20298_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14431'
2023-10-13	13:33:34	3929	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:34	3929	[DEBUG]	Executed store
2023-10-13	13:33:34	3929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863421','14431','1')
2023-10-13	13:33:34	3929	[DEBUG]	Store product image relation
2023-10-13	13:33:34	3929	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:34	3929	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863421 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:34	3929	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:34	3929	[DEBUG]	Executed store
2023-10-13	13:33:34	3929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863421','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:34	3929	[DEBUG]	Checking manufacturer
2023-10-13	13:33:34	3929	[DEBUG]	Load a row
2023-10-13	13:33:34	3929	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:34	3929	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:34	3929	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:34	3929	[DEBUG]	Executed store
2023-10-13	13:33:34	3929	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:34	3929	[DEBUG]	Manufacturer exists
2023-10-13	13:33:34	3929	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:34	3929	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:34	3929	[DEBUG]	Executed store
2023-10-13	13:33:34	3929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863421','32')
2023-10-13	13:33:34	3929	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:34	3929	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:34	3929	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863421 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:34	3929	[DEBUG]	Store custom available field
2023-10-13	13:33:34	3929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863421,3,'',1)
2023-10-13	13:33:34	3929	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:34	3929	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:34	3929	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863421 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:34	3929	[DEBUG]	Store custom available field
2023-10-13	13:33:34	3929	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863421,6,'Unitaire',3)
2023-10-13	13:33:34	3929	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:34	3929	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:34	3929	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863420
2023-10-13	13:33:34	3929	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:34	3929	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863420\":[1863420,8,1,\"choisir la taille\"],\"1863421\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863420
2023-10-13	13:33:34	3929	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:34	3929	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863421
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:34	3930	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field taille
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:34	3930	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:34	3930	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:34	3930	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:34	3930	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:34	3930	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:34	3930	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field published
2023-10-13	13:33:34	3930	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:34	3930	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field override
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:34	3930	[DEBUG]	Use field value for field slug
2023-10-13	13:33:34	3930	[DEBUG]	Process line 3930
2023-10-13	13:33:34	3930	[DEBUG]	Load a row
2023-10-13	13:33:34	3930	[DEBUG]	Processing item: A_3878_22
2023-10-13	13:33:34	3930	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:34	3930	[DEBUG]	Processing product tax
2023-10-13	13:33:34	3930	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:34	3930	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:34	3930	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:34	3930	[DEBUG]	Query for Product
2023-10-13	13:33:34	3930	[DEBUG]	Executed store
2023-10-13	13:33:34	3930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3878_22','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:34	3930	[DEBUG]	Check product language entry
2023-10-13	13:33:34	3930	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863422
2023-10-13	13:33:34	3930	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:34	3930	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3878_22' AND `virtuemart_product_id` != 1863422
2023-10-13	13:33:34	3930	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:34	3930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863422, 'A_3878_22')
2023-10-13	13:33:34	3930	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:34	3930	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-bleu' AND `virtuemart_product_id` != 1863422
2023-10-13	13:33:34	3930	[DEBUG]	Query for ProductLang
2023-10-13	13:33:34	3930	[DEBUG]	Executed store
2023-10-13	13:33:34	3930	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pédales MSC automatiques SPD. axe crmo X-Country, 260 gr.<br>N° art fourn : ZP108S',`product_name`='MSC Pédales MSC SPD automatiques Axe crmo X-Country, 260 gr. / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-bleu' WHERE `virtuemart_product_id` = '1863422'
2023-10-13	13:33:34	3930	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20294_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:34	3930	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:34	3930	[DEBUG]	Process image file
2023-10-13	13:33:34	3930	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:34	3930	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:34	3930	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20294_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:34	3930	[DEBUG]	Full name target: bcprisme/20294_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:35	3930	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:35	3930	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20294_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg'
2023-10-13	13:33:35	3930	[DEBUG]	Query for Media
2023-10-13	13:33:35	3930	[DEBUG]	Executed store
2023-10-13	13:33:35	3930	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20294_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_url_thumb`='bcprisme/20294_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14432'
2023-10-13	13:33:35	3930	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:35	3930	[DEBUG]	Executed store
2023-10-13	13:33:35	3930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863422','14432','1')
2023-10-13	13:33:35	3930	[DEBUG]	Store product image relation
2023-10-13	13:33:35	3930	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:35	3930	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863422 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:35	3930	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:35	3930	[DEBUG]	Executed store
2023-10-13	13:33:35	3930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863422','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:35	3930	[DEBUG]	Checking manufacturer
2023-10-13	13:33:35	3930	[DEBUG]	Load a row
2023-10-13	13:33:35	3930	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:35	3930	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:35	3930	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:35	3930	[DEBUG]	Executed store
2023-10-13	13:33:35	3930	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:35	3930	[DEBUG]	Manufacturer exists
2023-10-13	13:33:35	3930	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:35	3930	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:35	3930	[DEBUG]	Executed store
2023-10-13	13:33:35	3930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863422','32')
2023-10-13	13:33:35	3930	[DEBUG]	Find the custom field ID
2023-10-13	13:33:35	3930	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:35	3930	[DEBUG]	No custom field ID found
2023-10-13	13:33:35	3930	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:35	3930	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:33:35	3930	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863422 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:35	3930	[DEBUG]	Store custom available field
2023-10-13	13:33:35	3930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863422,3,'99.6225',1)
2023-10-13	13:33:35	3930	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:35	3930	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:35	3930	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863422 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:35	3930	[DEBUG]	Store custom available field
2023-10-13	13:33:35	3930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863422,6,'choisir la taille',3)
2023-10-13	13:33:35	3930	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:35	3930	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:35	3930	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:35	3930	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:35	3930	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863422 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:35	3930	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:35	3930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863422,8,1)
2023-10-13	13:33:35	3930	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:35	3930	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863422\":[1863422,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863422
2023-10-13	13:33:35	3930	[DEBUG]	Checking category
2023-10-13	13:33:35	3930	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:35	3930	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863422
2023-10-13	13:33:35	3930	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:35	3930	[DEBUG]	Executed store
2023-10-13	13:33:35	3930	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863422','7391')
2023-10-13	13:33:35	3930	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:35	3930	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863422 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:35	3930	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:35	3930	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863422
2023-10-13	13:33:35	3931	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:35	3931	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:35	3931	[DEBUG]	Use field value for field taille
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:35	3931	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:35	3931	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:35	3931	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:35	3931	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:35	3931	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:35	3931	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:35	3931	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:35	3931	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:35	3931	[DEBUG]	Use field value for field published
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:35	3931	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field override
2023-10-13	13:33:35	3931	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:35	3931	[DEBUG]	Use field value for field slug
2023-10-13	13:33:35	3931	[DEBUG]	Process line 3931
2023-10-13	13:33:35	3931	[DEBUG]	Load a row
2023-10-13	13:33:35	3931	[DEBUG]	Processing item: 8435466292188
2023-10-13	13:33:35	3931	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:35	3931	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:35	3931	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3878_22'
2023-10-13	13:33:35	3931	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:35	3931	[DEBUG]	Processing product tax
2023-10-13	13:33:35	3931	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:35	3931	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:35	3931	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:35	3931	[DEBUG]	Query for Product
2023-10-13	13:33:35	3931	[DEBUG]	Executed store
2023-10-13	13:33:35	3931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863422','8435466292188','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:35	3931	[DEBUG]	No parent found
2023-10-13	13:33:35	3931	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863422 AND customfield_value = 'stockable'
2023-10-13	13:33:35	3931	[DEBUG]	Check product language entry
2023-10-13	13:33:35	3931	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863423
2023-10-13	13:33:35	3931	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:35	3931	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466292188' AND `virtuemart_product_id` != 1863423
2023-10-13	13:33:35	3931	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:35	3931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863423, '8435466292188')
2023-10-13	13:33:35	3931	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:35	3931	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-bleu-unitaire' AND `virtuemart_product_id` != 1863423
2023-10-13	13:33:35	3931	[DEBUG]	Query for ProductLang
2023-10-13	13:33:35	3931	[DEBUG]	Executed store
2023-10-13	13:33:35	3931	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales MSC SPD automatiques Axe crmo X-Country, 260 gr. / Bleu (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-bleu-unitaire' WHERE `virtuemart_product_id` = '1863423'
2023-10-13	13:33:35	3931	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20294_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:35	3931	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:35	3931	[DEBUG]	Process image file
2023-10-13	13:33:35	3931	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:35	3931	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:35	3931	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20294_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:35	3931	[DEBUG]	Full name target: bcprisme/20294_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:36	3931	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:36	3931	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20294_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg'
2023-10-13	13:33:36	3931	[DEBUG]	Query for Media
2023-10-13	13:33:36	3931	[DEBUG]	Executed store
2023-10-13	13:33:36	3931	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20294_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_url_thumb`='bcprisme/20294_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14432'
2023-10-13	13:33:36	3931	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:36	3931	[DEBUG]	Executed store
2023-10-13	13:33:36	3931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863423','14432','1')
2023-10-13	13:33:36	3931	[DEBUG]	Store product image relation
2023-10-13	13:33:36	3931	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:36	3931	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863423 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:36	3931	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:36	3931	[DEBUG]	Executed store
2023-10-13	13:33:36	3931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863423','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:36	3931	[DEBUG]	Checking manufacturer
2023-10-13	13:33:36	3931	[DEBUG]	Load a row
2023-10-13	13:33:36	3931	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:36	3931	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:36	3931	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:36	3931	[DEBUG]	Executed store
2023-10-13	13:33:36	3931	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:36	3931	[DEBUG]	Manufacturer exists
2023-10-13	13:33:36	3931	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:36	3931	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:36	3931	[DEBUG]	Executed store
2023-10-13	13:33:36	3931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863423','32')
2023-10-13	13:33:36	3931	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:36	3931	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:36	3931	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863423 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:36	3931	[DEBUG]	Store custom available field
2023-10-13	13:33:36	3931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863423,3,'',1)
2023-10-13	13:33:36	3931	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:36	3931	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:36	3931	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863423 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:36	3931	[DEBUG]	Store custom available field
2023-10-13	13:33:36	3931	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863423,6,'Unitaire',3)
2023-10-13	13:33:36	3931	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:36	3931	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:36	3931	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863422
2023-10-13	13:33:36	3931	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:36	3931	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863422\":[1863422,8,1,\"choisir la taille\"],\"1863423\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863422
2023-10-13	13:33:36	3931	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:36	3931	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863423
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:36	3932	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field taille
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:36	3932	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:36	3932	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:36	3932	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:36	3932	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:36	3932	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:36	3932	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field published
2023-10-13	13:33:36	3932	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:36	3932	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field override
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:36	3932	[DEBUG]	Use field value for field slug
2023-10-13	13:33:36	3932	[DEBUG]	Process line 3932
2023-10-13	13:33:36	3932	[DEBUG]	Load a row
2023-10-13	13:33:36	3932	[DEBUG]	Processing item: A_3878_40
2023-10-13	13:33:36	3932	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:36	3932	[DEBUG]	Processing product tax
2023-10-13	13:33:36	3932	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:36	3932	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:36	3932	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:36	3932	[DEBUG]	Query for Product
2023-10-13	13:33:36	3932	[DEBUG]	Executed store
2023-10-13	13:33:36	3932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3878_40','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:36	3932	[DEBUG]	Check product language entry
2023-10-13	13:33:36	3932	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863424
2023-10-13	13:33:36	3932	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:36	3932	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3878_40' AND `virtuemart_product_id` != 1863424
2023-10-13	13:33:36	3932	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:36	3932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863424, 'A_3878_40')
2023-10-13	13:33:36	3932	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:36	3932	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-vert' AND `virtuemart_product_id` != 1863424
2023-10-13	13:33:36	3932	[DEBUG]	Query for ProductLang
2023-10-13	13:33:36	3932	[DEBUG]	Executed store
2023-10-13	13:33:36	3932	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pédales MSC automatiques SPD. axe crmo X-Country, 260 gr.<br>N° art fourn : ZP108S',`product_name`='MSC Pédales MSC SPD automatiques Axe crmo X-Country, 260 gr. / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-vert' WHERE `virtuemart_product_id` = '1863424'
2023-10-13	13:33:36	3932	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20296_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:36	3932	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:36	3932	[DEBUG]	Process image file
2023-10-13	13:33:36	3932	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:36	3932	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:36	3932	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20296_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:36	3932	[DEBUG]	Full name target: bcprisme/20296_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:37	3932	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:37	3932	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20296_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg'
2023-10-13	13:33:37	3932	[DEBUG]	Query for Media
2023-10-13	13:33:37	3932	[DEBUG]	Executed store
2023-10-13	13:33:37	3932	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20296_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_url_thumb`='bcprisme/20296_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14433'
2023-10-13	13:33:37	3932	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:37	3932	[DEBUG]	Executed store
2023-10-13	13:33:37	3932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863424','14433','1')
2023-10-13	13:33:37	3932	[DEBUG]	Store product image relation
2023-10-13	13:33:37	3932	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:37	3932	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863424 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:37	3932	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:37	3932	[DEBUG]	Executed store
2023-10-13	13:33:37	3932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863424','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:37	3932	[DEBUG]	Checking manufacturer
2023-10-13	13:33:37	3932	[DEBUG]	Load a row
2023-10-13	13:33:37	3932	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:37	3932	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:37	3932	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:37	3932	[DEBUG]	Executed store
2023-10-13	13:33:37	3932	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:37	3932	[DEBUG]	Manufacturer exists
2023-10-13	13:33:37	3932	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:37	3932	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:37	3932	[DEBUG]	Executed store
2023-10-13	13:33:37	3932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863424','32')
2023-10-13	13:33:37	3932	[DEBUG]	Find the custom field ID
2023-10-13	13:33:37	3932	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:37	3932	[DEBUG]	No custom field ID found
2023-10-13	13:33:37	3932	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:37	3932	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:33:37	3932	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863424 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:37	3932	[DEBUG]	Store custom available field
2023-10-13	13:33:37	3932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863424,3,'99.6225',1)
2023-10-13	13:33:37	3932	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:37	3932	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:37	3932	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863424 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:37	3932	[DEBUG]	Store custom available field
2023-10-13	13:33:37	3932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863424,6,'choisir la taille',3)
2023-10-13	13:33:37	3932	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:37	3932	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:37	3932	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:37	3932	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:37	3932	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863424 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:37	3932	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:37	3932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863424,8,1)
2023-10-13	13:33:37	3932	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:37	3932	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863424\":[1863424,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863424
2023-10-13	13:33:37	3932	[DEBUG]	Checking category
2023-10-13	13:33:37	3932	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:37	3932	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863424
2023-10-13	13:33:37	3932	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:37	3932	[DEBUG]	Executed store
2023-10-13	13:33:37	3932	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863424','7391')
2023-10-13	13:33:37	3932	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:37	3932	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863424 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:37	3932	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:37	3932	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863424
2023-10-13	13:33:37	3933	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:37	3933	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:37	3933	[DEBUG]	Use field value for field taille
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:37	3933	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:37	3933	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:37	3933	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:37	3933	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:37	3933	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:37	3933	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:37	3933	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:37	3933	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:37	3933	[DEBUG]	Use field value for field published
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:37	3933	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field override
2023-10-13	13:33:37	3933	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:37	3933	[DEBUG]	Use field value for field slug
2023-10-13	13:33:37	3933	[DEBUG]	Process line 3933
2023-10-13	13:33:37	3933	[DEBUG]	Load a row
2023-10-13	13:33:37	3933	[DEBUG]	Processing item: 8435466292201
2023-10-13	13:33:37	3933	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:37	3933	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:37	3933	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3878_40'
2023-10-13	13:33:37	3933	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:37	3933	[DEBUG]	Processing product tax
2023-10-13	13:33:37	3933	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:37	3933	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:37	3933	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:37	3933	[DEBUG]	Query for Product
2023-10-13	13:33:37	3933	[DEBUG]	Executed store
2023-10-13	13:33:37	3933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863424','8435466292201','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:37	3933	[DEBUG]	No parent found
2023-10-13	13:33:37	3933	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863424 AND customfield_value = 'stockable'
2023-10-13	13:33:37	3933	[DEBUG]	Check product language entry
2023-10-13	13:33:37	3933	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863425
2023-10-13	13:33:37	3933	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:37	3933	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466292201' AND `virtuemart_product_id` != 1863425
2023-10-13	13:33:37	3933	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:37	3933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863425, '8435466292201')
2023-10-13	13:33:37	3933	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:37	3933	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-vert-unitaire' AND `virtuemart_product_id` != 1863425
2023-10-13	13:33:37	3933	[DEBUG]	Query for ProductLang
2023-10-13	13:33:37	3933	[DEBUG]	Executed store
2023-10-13	13:33:37	3933	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales MSC SPD automatiques Axe crmo X-Country, 260 gr. / Vert (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-vert-unitaire' WHERE `virtuemart_product_id` = '1863425'
2023-10-13	13:33:37	3933	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20296_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:37	3933	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:37	3933	[DEBUG]	Process image file
2023-10-13	13:33:37	3933	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:37	3933	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:37	3933	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20296_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:37	3933	[DEBUG]	Full name target: bcprisme/20296_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:38	3933	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:38	3933	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20296_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg'
2023-10-13	13:33:38	3933	[DEBUG]	Query for Media
2023-10-13	13:33:38	3933	[DEBUG]	Executed store
2023-10-13	13:33:38	3933	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20296_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_url_thumb`='bcprisme/20296_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14433'
2023-10-13	13:33:38	3933	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:38	3933	[DEBUG]	Executed store
2023-10-13	13:33:38	3933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863425','14433','1')
2023-10-13	13:33:38	3933	[DEBUG]	Store product image relation
2023-10-13	13:33:38	3933	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:38	3933	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863425 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:38	3933	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:38	3933	[DEBUG]	Executed store
2023-10-13	13:33:38	3933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863425','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:38	3933	[DEBUG]	Checking manufacturer
2023-10-13	13:33:38	3933	[DEBUG]	Load a row
2023-10-13	13:33:38	3933	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:38	3933	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:38	3933	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:38	3933	[DEBUG]	Executed store
2023-10-13	13:33:38	3933	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:38	3933	[DEBUG]	Manufacturer exists
2023-10-13	13:33:38	3933	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:38	3933	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:38	3933	[DEBUG]	Executed store
2023-10-13	13:33:38	3933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863425','32')
2023-10-13	13:33:38	3933	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:38	3933	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:38	3933	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863425 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:38	3933	[DEBUG]	Store custom available field
2023-10-13	13:33:38	3933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863425,3,'',1)
2023-10-13	13:33:38	3933	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:38	3933	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:38	3933	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863425 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:38	3933	[DEBUG]	Store custom available field
2023-10-13	13:33:38	3933	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863425,6,'Unitaire',3)
2023-10-13	13:33:38	3933	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:38	3933	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:38	3933	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863424
2023-10-13	13:33:38	3933	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:38	3933	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863424\":[1863424,8,1,\"choisir la taille\"],\"1863425\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863424
2023-10-13	13:33:38	3933	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:38	3933	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863425
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:38	3934	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field taille
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:38	3934	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:38	3934	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:38	3934	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:38	3934	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:38	3934	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:38	3934	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field published
2023-10-13	13:33:38	3934	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:38	3934	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field override
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:38	3934	[DEBUG]	Use field value for field slug
2023-10-13	13:33:38	3934	[DEBUG]	Process line 3934
2023-10-13	13:33:38	3934	[DEBUG]	Load a row
2023-10-13	13:33:38	3934	[DEBUG]	Processing item: A_3878_65
2023-10-13	13:33:38	3934	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:38	3934	[DEBUG]	Processing product tax
2023-10-13	13:33:38	3934	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:38	3934	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:38	3934	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:38	3934	[DEBUG]	Query for Product
2023-10-13	13:33:38	3934	[DEBUG]	Executed store
2023-10-13	13:33:38	3934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3878_65','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:38	3934	[DEBUG]	Check product language entry
2023-10-13	13:33:38	3934	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863426
2023-10-13	13:33:38	3934	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:38	3934	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3878_65' AND `virtuemart_product_id` != 1863426
2023-10-13	13:33:38	3934	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:38	3934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863426, 'A_3878_65')
2023-10-13	13:33:38	3934	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:38	3934	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-jaune' AND `virtuemart_product_id` != 1863426
2023-10-13	13:33:38	3934	[DEBUG]	Query for ProductLang
2023-10-13	13:33:38	3934	[DEBUG]	Executed store
2023-10-13	13:33:38	3934	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pédales MSC automatiques SPD. axe crmo X-Country, 260 gr.<br>N° art fourn : ZP108S',`product_name`='MSC Pédales MSC SPD automatiques Axe crmo X-Country, 260 gr. / Jaune',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-jaune' WHERE `virtuemart_product_id` = '1863426'
2023-10-13	13:33:38	3934	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20295_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:38	3934	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:38	3934	[DEBUG]	Process image file
2023-10-13	13:33:38	3934	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:38	3934	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:38	3934	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20295_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:38	3934	[DEBUG]	Full name target: bcprisme/20295_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:39	3934	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:39	3934	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20295_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg'
2023-10-13	13:33:39	3934	[DEBUG]	Query for Media
2023-10-13	13:33:39	3934	[DEBUG]	Executed store
2023-10-13	13:33:39	3934	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20295_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_url_thumb`='bcprisme/20295_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14434'
2023-10-13	13:33:39	3934	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:39	3934	[DEBUG]	Executed store
2023-10-13	13:33:39	3934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863426','14434','1')
2023-10-13	13:33:39	3934	[DEBUG]	Store product image relation
2023-10-13	13:33:39	3934	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:39	3934	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863426 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:39	3934	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:39	3934	[DEBUG]	Executed store
2023-10-13	13:33:39	3934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863426','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:39	3934	[DEBUG]	Checking manufacturer
2023-10-13	13:33:39	3934	[DEBUG]	Load a row
2023-10-13	13:33:39	3934	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:39	3934	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:39	3934	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:39	3934	[DEBUG]	Executed store
2023-10-13	13:33:39	3934	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:39	3934	[DEBUG]	Manufacturer exists
2023-10-13	13:33:39	3934	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:39	3934	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:39	3934	[DEBUG]	Executed store
2023-10-13	13:33:39	3934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863426','32')
2023-10-13	13:33:39	3934	[DEBUG]	Find the custom field ID
2023-10-13	13:33:39	3934	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:39	3934	[DEBUG]	No custom field ID found
2023-10-13	13:33:39	3934	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:39	3934	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:33:39	3934	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863426 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:39	3934	[DEBUG]	Store custom available field
2023-10-13	13:33:39	3934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863426,3,'99.6225',1)
2023-10-13	13:33:39	3934	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:39	3934	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:39	3934	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863426 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:39	3934	[DEBUG]	Store custom available field
2023-10-13	13:33:39	3934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863426,6,'choisir la taille',3)
2023-10-13	13:33:39	3934	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:39	3934	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:39	3934	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:39	3934	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:39	3934	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863426 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:39	3934	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:39	3934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863426,8,1)
2023-10-13	13:33:39	3934	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:39	3934	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863426\":[1863426,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863426
2023-10-13	13:33:39	3934	[DEBUG]	Checking category
2023-10-13	13:33:39	3934	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:39	3934	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863426
2023-10-13	13:33:39	3934	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:39	3934	[DEBUG]	Executed store
2023-10-13	13:33:39	3934	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863426','7391')
2023-10-13	13:33:39	3934	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:39	3934	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863426 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:39	3934	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:39	3934	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863426
2023-10-13	13:33:39	3935	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:39	3935	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:39	3935	[DEBUG]	Use field value for field taille
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:39	3935	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:39	3935	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:39	3935	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:39	3935	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:39	3935	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:39	3935	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:39	3935	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:39	3935	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:39	3935	[DEBUG]	Use field value for field published
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:39	3935	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field override
2023-10-13	13:33:39	3935	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:39	3935	[DEBUG]	Use field value for field slug
2023-10-13	13:33:39	3935	[DEBUG]	Process line 3935
2023-10-13	13:33:39	3935	[DEBUG]	Load a row
2023-10-13	13:33:39	3935	[DEBUG]	Processing item: 8435466292195
2023-10-13	13:33:39	3935	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:39	3935	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:39	3935	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3878_65'
2023-10-13	13:33:39	3935	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:39	3935	[DEBUG]	Processing product tax
2023-10-13	13:33:39	3935	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:39	3935	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:39	3935	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:39	3935	[DEBUG]	Query for Product
2023-10-13	13:33:39	3935	[DEBUG]	Executed store
2023-10-13	13:33:39	3935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863426','8435466292195','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:39	3935	[DEBUG]	No parent found
2023-10-13	13:33:39	3935	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863426 AND customfield_value = 'stockable'
2023-10-13	13:33:39	3935	[DEBUG]	Check product language entry
2023-10-13	13:33:39	3935	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863427
2023-10-13	13:33:39	3935	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:39	3935	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466292195' AND `virtuemart_product_id` != 1863427
2023-10-13	13:33:39	3935	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:39	3935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863427, '8435466292195')
2023-10-13	13:33:39	3935	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:39	3935	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-jaune-unitaire' AND `virtuemart_product_id` != 1863427
2023-10-13	13:33:39	3935	[DEBUG]	Query for ProductLang
2023-10-13	13:33:39	3935	[DEBUG]	Executed store
2023-10-13	13:33:39	3935	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales MSC SPD automatiques Axe crmo X-Country, 260 gr. / Jaune (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-axe-crmo-x-country-260-gr-jaune-unitaire' WHERE `virtuemart_product_id` = '1863427'
2023-10-13	13:33:39	3935	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20295_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:39	3935	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:39	3935	[DEBUG]	Process image file
2023-10-13	13:33:39	3935	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:39	3935	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:39	3935	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20295_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:39	3935	[DEBUG]	Full name target: bcprisme/20295_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg
2023-10-13	13:33:40	3935	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:40	3935	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20295_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg'
2023-10-13	13:33:40	3935	[DEBUG]	Query for Media
2023-10-13	13:33:40	3935	[DEBUG]	Executed store
2023-10-13	13:33:40	3935	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20295_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_url_thumb`='bcprisme/20295_pedales_msc_automatiques_spd__axe_crmo_x-country,_260_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14434'
2023-10-13	13:33:40	3935	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:40	3935	[DEBUG]	Executed store
2023-10-13	13:33:40	3935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863427','14434','1')
2023-10-13	13:33:40	3935	[DEBUG]	Store product image relation
2023-10-13	13:33:40	3935	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:40	3935	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863427 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:40	3935	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:40	3935	[DEBUG]	Executed store
2023-10-13	13:33:40	3935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863427','0','102.042711234912','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:40	3935	[DEBUG]	Checking manufacturer
2023-10-13	13:33:40	3935	[DEBUG]	Load a row
2023-10-13	13:33:40	3935	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:40	3935	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:40	3935	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:40	3935	[DEBUG]	Executed store
2023-10-13	13:33:40	3935	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:40	3935	[DEBUG]	Manufacturer exists
2023-10-13	13:33:40	3935	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:40	3935	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:40	3935	[DEBUG]	Executed store
2023-10-13	13:33:40	3935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863427','32')
2023-10-13	13:33:40	3935	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:40	3935	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:40	3935	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863427 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:40	3935	[DEBUG]	Store custom available field
2023-10-13	13:33:40	3935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863427,3,'',1)
2023-10-13	13:33:40	3935	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:40	3935	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:40	3935	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863427 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:40	3935	[DEBUG]	Store custom available field
2023-10-13	13:33:40	3935	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863427,6,'Unitaire',3)
2023-10-13	13:33:40	3935	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:40	3935	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:40	3935	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863426
2023-10-13	13:33:40	3935	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:40	3935	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863426\":[1863426,8,1,\"choisir la taille\"],\"1863427\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863426
2023-10-13	13:33:40	3935	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:40	3935	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863427
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:40	3936	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field taille
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:40	3936	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:40	3936	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:40	3936	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:40	3936	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:40	3936	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:40	3936	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field published
2023-10-13	13:33:40	3936	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:40	3936	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field override
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:40	3936	[DEBUG]	Use field value for field slug
2023-10-13	13:33:40	3936	[DEBUG]	Process line 3936
2023-10-13	13:33:40	3936	[DEBUG]	Load a row
2023-10-13	13:33:40	3936	[DEBUG]	Processing item: A_5083_208
2023-10-13	13:33:40	3936	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:40	3936	[DEBUG]	Processing product tax
2023-10-13	13:33:40	3936	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:40	3936	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:40	3936	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:40	3936	[DEBUG]	Query for Product
2023-10-13	13:33:40	3936	[DEBUG]	Executed store
2023-10-13	13:33:40	3936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5083_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:40	3936	[DEBUG]	Check product language entry
2023-10-13	13:33:40	3936	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863428
2023-10-13	13:33:40	3936	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:40	3936	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5083_208' AND `virtuemart_product_id` != 1863428
2023-10-13	13:33:40	3936	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:40	3936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863428, 'A_5083_208')
2023-10-13	13:33:40	3936	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:40	3936	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-shimano-105-pd-r550-avec-cale-noir-box-aucune' AND `virtuemart_product_id` != 1863428
2023-10-13	13:33:40	3936	[DEBUG]	Query for ProductLang
2023-10-13	13:33:40	3936	[DEBUG]	Executed store
2023-10-13	13:33:40	3936	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.57691',`product_name`='SHIMANO Pédales SHIMANO 105 PD-R550 avec cale noir box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-shimano-105-pd-r550-avec-cale-noir-box-aucune' WHERE `virtuemart_product_id` = '1863428'
2023-10-13	13:33:40	3936	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29546_pedales_shimano_105_pd-r550_avec_cale_noir_box.jpg
2023-10-13	13:33:40	3936	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:40	3936	[DEBUG]	Process image file
2023-10-13	13:33:40	3936	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:40	3936	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:40	3936	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29546_pedales_shimano_105_pd-r550_avec_cale_noir_box.jpg
2023-10-13	13:33:40	3936	[DEBUG]	Full name target: bcprisme/29546_pedales_shimano_105_pd-r550_avec_cale_noir_box.jpg
2023-10-13	13:33:41	3936	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:41	3936	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29546_pedales_shimano_105_pd-r550_avec_cale_noir_box.jpg'
2023-10-13	13:33:41	3936	[DEBUG]	Query for Media
2023-10-13	13:33:41	3936	[DEBUG]	Executed store
2023-10-13	13:33:41	3936	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29546_pedales_shimano_105_pd-r550_avec_cale_noir_box.jpg',`file_url_thumb`='bcprisme/29546_pedales_shimano_105_pd-r550_avec_cale_noir_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '459986'
2023-10-13	13:33:41	3936	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:41	3936	[DEBUG]	Executed store
2023-10-13	13:33:41	3936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863428','459986','1')
2023-10-13	13:33:41	3936	[DEBUG]	Store product image relation
2023-10-13	13:33:41	3936	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:41	3936	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863428 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:41	3936	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:41	3936	[DEBUG]	Executed store
2023-10-13	13:33:41	3936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863428','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:41	3936	[DEBUG]	Checking manufacturer
2023-10-13	13:33:41	3936	[DEBUG]	Load a row
2023-10-13	13:33:41	3936	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:41	3936	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:41	3936	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:41	3936	[DEBUG]	Executed store
2023-10-13	13:33:41	3936	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:41	3936	[DEBUG]	Manufacturer exists
2023-10-13	13:33:41	3936	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:33:41	3936	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:41	3936	[DEBUG]	Executed store
2023-10-13	13:33:41	3936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863428','26')
2023-10-13	13:33:41	3936	[DEBUG]	Find the custom field ID
2023-10-13	13:33:41	3936	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:41	3936	[DEBUG]	No custom field ID found
2023-10-13	13:33:41	3936	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:41	3936	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:33:41	3936	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863428 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:41	3936	[DEBUG]	Store custom available field
2023-10-13	13:33:41	3936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863428,3,'0',1)
2023-10-13	13:33:41	3936	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:41	3936	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:41	3936	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863428 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:41	3936	[DEBUG]	Store custom available field
2023-10-13	13:33:41	3936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863428,6,'choisir la taille',3)
2023-10-13	13:33:41	3936	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:41	3936	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:41	3936	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:41	3936	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:41	3936	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863428 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:41	3936	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:41	3936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863428,8,1)
2023-10-13	13:33:41	3936	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:41	3936	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863428\":[1863428,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863428
2023-10-13	13:33:41	3936	[DEBUG]	Checking category
2023-10-13	13:33:41	3936	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:41	3936	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863428
2023-10-13	13:33:41	3936	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:41	3936	[DEBUG]	Executed store
2023-10-13	13:33:41	3936	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863428','7391')
2023-10-13	13:33:41	3936	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:41	3936	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863428 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:41	3936	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:41	3936	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863428
2023-10-13	13:33:41	3937	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:41	3937	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:41	3937	[DEBUG]	Use field value for field taille
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:41	3937	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:41	3937	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:41	3937	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:41	3937	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:41	3937	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:41	3937	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:41	3937	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:41	3937	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:41	3937	[DEBUG]	Use field value for field published
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:41	3937	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field override
2023-10-13	13:33:41	3937	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:41	3937	[DEBUG]	Use field value for field slug
2023-10-13	13:33:41	3937	[DEBUG]	Process line 3937
2023-10-13	13:33:41	3937	[DEBUG]	Load a row
2023-10-13	13:33:41	3937	[DEBUG]	Processing item: 4524667226321
2023-10-13	13:33:41	3937	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:41	3937	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:41	3937	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5083_208'
2023-10-13	13:33:41	3937	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:41	3937	[DEBUG]	Processing product tax
2023-10-13	13:33:41	3937	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:41	3937	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:41	3937	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:41	3937	[DEBUG]	Query for Product
2023-10-13	13:33:41	3937	[DEBUG]	Executed store
2023-10-13	13:33:41	3937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863428','4524667226321','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:41	3937	[DEBUG]	No parent found
2023-10-13	13:33:41	3937	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863428 AND customfield_value = 'stockable'
2023-10-13	13:33:41	3937	[DEBUG]	Check product language entry
2023-10-13	13:33:41	3937	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863429
2023-10-13	13:33:41	3937	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:41	3937	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667226321' AND `virtuemart_product_id` != 1863429
2023-10-13	13:33:41	3937	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:41	3937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863429, '4524667226321')
2023-10-13	13:33:41	3937	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:41	3937	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-shimano-105-pd-r550-avec-cale-noir-box-aucune-all' AND `virtuemart_product_id` != 1863429
2023-10-13	13:33:41	3937	[DEBUG]	Query for ProductLang
2023-10-13	13:33:41	3937	[DEBUG]	Executed store
2023-10-13	13:33:41	3937	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pédales SHIMANO 105 PD-R550 avec cale noir box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-shimano-105-pd-r550-avec-cale-noir-box-aucune-all' WHERE `virtuemart_product_id` = '1863429'
2023-10-13	13:33:41	3937	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29546_pedales_shimano_105_pd-r550_avec_cale_noir_box.jpg
2023-10-13	13:33:41	3937	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:41	3937	[DEBUG]	Process image file
2023-10-13	13:33:41	3937	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:41	3937	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:41	3937	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29546_pedales_shimano_105_pd-r550_avec_cale_noir_box.jpg
2023-10-13	13:33:41	3937	[DEBUG]	Full name target: bcprisme/29546_pedales_shimano_105_pd-r550_avec_cale_noir_box.jpg
2023-10-13	13:33:42	3937	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:42	3937	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29546_pedales_shimano_105_pd-r550_avec_cale_noir_box.jpg'
2023-10-13	13:33:42	3937	[DEBUG]	Query for Media
2023-10-13	13:33:42	3937	[DEBUG]	Executed store
2023-10-13	13:33:42	3937	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29546_pedales_shimano_105_pd-r550_avec_cale_noir_box.jpg',`file_url_thumb`='bcprisme/29546_pedales_shimano_105_pd-r550_avec_cale_noir_box.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '459986'
2023-10-13	13:33:42	3937	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:42	3937	[DEBUG]	Executed store
2023-10-13	13:33:42	3937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863429','459986','1')
2023-10-13	13:33:42	3937	[DEBUG]	Store product image relation
2023-10-13	13:33:42	3937	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:42	3937	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863429 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:42	3937	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:42	3937	[DEBUG]	Executed store
2023-10-13	13:33:42	3937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863429','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:42	3937	[DEBUG]	Checking manufacturer
2023-10-13	13:33:42	3937	[DEBUG]	Load a row
2023-10-13	13:33:42	3937	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:42	3937	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:42	3937	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:42	3937	[DEBUG]	Executed store
2023-10-13	13:33:42	3937	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:42	3937	[DEBUG]	Manufacturer exists
2023-10-13	13:33:42	3937	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:33:42	3937	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:42	3937	[DEBUG]	Executed store
2023-10-13	13:33:42	3937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863429','26')
2023-10-13	13:33:42	3937	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:42	3937	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:42	3937	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863429 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:42	3937	[DEBUG]	Store custom available field
2023-10-13	13:33:42	3937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863429,3,'',1)
2023-10-13	13:33:42	3937	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:42	3937	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:33:42	3937	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863429 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:42	3937	[DEBUG]	Store custom available field
2023-10-13	13:33:42	3937	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863429,6,'All',3)
2023-10-13	13:33:42	3937	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:42	3937	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:42	3937	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863428
2023-10-13	13:33:42	3937	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:42	3937	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863428\":[1863428,8,1,\"choisir la taille\"],\"1863429\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863428
2023-10-13	13:33:42	3937	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:42	3937	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863429
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:42	3938	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field taille
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:42	3938	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:42	3938	[DEBUG]	Use default value for field file_url
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:42	3938	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:42	3938	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:42	3938	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:42	3938	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:42	3938	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:42	3938	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field published
2023-10-13	13:33:42	3938	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:42	3938	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field override
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:42	3938	[DEBUG]	Use field value for field slug
2023-10-13	13:33:42	3938	[DEBUG]	Process line 3938
2023-10-13	13:33:42	3938	[DEBUG]	Load a row
2023-10-13	13:33:42	3938	[DEBUG]	Processing item: A_5225_208
2023-10-13	13:33:42	3938	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:42	3938	[DEBUG]	Processing product tax
2023-10-13	13:33:42	3938	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:42	3938	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:42	3938	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:42	3938	[DEBUG]	Query for Product
2023-10-13	13:33:42	3938	[DEBUG]	Executed store
2023-10-13	13:33:42	3938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5225_208','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:42	3938	[DEBUG]	Check product language entry
2023-10-13	13:33:42	3938	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863430
2023-10-13	13:33:42	3938	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:42	3938	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5225_208' AND `virtuemart_product_id` != 1863430
2023-10-13	13:33:42	3938	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:42	3938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863430, 'A_5225_208')
2023-10-13	13:33:42	3938	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:42	3938	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-shimano-pd-a520-avec-sm-sh51-argent-box-aucune' AND `virtuemart_product_id` != 1863430
2023-10-13	13:33:42	3938	[DEBUG]	Query for ProductLang
2023-10-13	13:33:42	3938	[DEBUG]	Executed store
2023-10-13	13:33:42	3938	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.36768',`product_name`='SHIMANO Pédales SHIMANO PD-A520 avec SM-SH51 argent box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-shimano-pd-a520-avec-sm-sh51-argent-box-aucune' WHERE `virtuemart_product_id` = '1863430'
2023-10-13	13:33:42	3938	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:42	3938	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863430 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:42	3938	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:42	3938	[DEBUG]	Executed store
2023-10-13	13:33:42	3938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863430','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:42	3938	[DEBUG]	Checking manufacturer
2023-10-13	13:33:42	3938	[DEBUG]	Load a row
2023-10-13	13:33:42	3938	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:42	3938	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:42	3938	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:42	3938	[DEBUG]	Executed store
2023-10-13	13:33:42	3938	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:42	3938	[DEBUG]	Manufacturer exists
2023-10-13	13:33:42	3938	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:33:42	3938	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:42	3938	[DEBUG]	Executed store
2023-10-13	13:33:42	3938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863430','123')
2023-10-13	13:33:42	3938	[DEBUG]	Find the custom field ID
2023-10-13	13:33:42	3938	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:42	3938	[DEBUG]	No custom field ID found
2023-10-13	13:33:42	3938	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:42	3938	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:33:42	3938	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863430 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:42	3938	[DEBUG]	Store custom available field
2023-10-13	13:33:42	3938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863430,3,'0',1)
2023-10-13	13:33:42	3938	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:42	3938	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:42	3938	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863430 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:42	3938	[DEBUG]	Store custom available field
2023-10-13	13:33:42	3938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863430,6,'choisir la taille',3)
2023-10-13	13:33:42	3938	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:42	3938	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:42	3938	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:42	3938	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:42	3938	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863430 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:42	3938	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:42	3938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863430,8,1)
2023-10-13	13:33:42	3938	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:42	3938	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863430\":[1863430,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863430
2023-10-13	13:33:42	3938	[DEBUG]	Checking category
2023-10-13	13:33:42	3938	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:42	3938	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863430
2023-10-13	13:33:42	3938	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:42	3938	[DEBUG]	Executed store
2023-10-13	13:33:42	3938	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863430','7391')
2023-10-13	13:33:42	3938	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:42	3938	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863430 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:42	3938	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:42	3938	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863430
2023-10-13	13:33:42	3939	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:42	3939	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:42	3939	[DEBUG]	Use field value for field taille
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:42	3939	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:42	3939	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:42	3939	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field file_url
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:42	3939	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:42	3939	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:42	3939	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:42	3939	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:42	3939	[DEBUG]	Use field value for field published
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:42	3939	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field override
2023-10-13	13:33:42	3939	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:42	3939	[DEBUG]	Use field value for field slug
2023-10-13	13:33:42	3939	[DEBUG]	Process line 3939
2023-10-13	13:33:42	3939	[DEBUG]	Load a row
2023-10-13	13:33:42	3939	[DEBUG]	Processing item: 4524667084556
2023-10-13	13:33:42	3939	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:42	3939	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:42	3939	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5225_208'
2023-10-13	13:33:42	3939	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:42	3939	[DEBUG]	Processing product tax
2023-10-13	13:33:42	3939	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:42	3939	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:42	3939	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:42	3939	[DEBUG]	Query for Product
2023-10-13	13:33:42	3939	[DEBUG]	Executed store
2023-10-13	13:33:42	3939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863430','4524667084556','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:42	3939	[DEBUG]	No parent found
2023-10-13	13:33:42	3939	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863430 AND customfield_value = 'stockable'
2023-10-13	13:33:42	3939	[DEBUG]	Check product language entry
2023-10-13	13:33:42	3939	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863431
2023-10-13	13:33:42	3939	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:42	3939	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667084556' AND `virtuemart_product_id` != 1863431
2023-10-13	13:33:42	3939	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:42	3939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863431, '4524667084556')
2023-10-13	13:33:42	3939	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:42	3939	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-shimano-pd-a520-avec-sm-sh51-argent-box-aucune-all' AND `virtuemart_product_id` != 1863431
2023-10-13	13:33:42	3939	[DEBUG]	Query for ProductLang
2023-10-13	13:33:42	3939	[DEBUG]	Executed store
2023-10-13	13:33:42	3939	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pédales SHIMANO PD-A520 avec SM-SH51 argent box / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-shimano-pd-a520-avec-sm-sh51-argent-box-aucune-all' WHERE `virtuemart_product_id` = '1863431'
2023-10-13	13:33:42	3939	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:42	3939	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863431 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:42	3939	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:42	3939	[DEBUG]	Executed store
2023-10-13	13:33:42	3939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863431','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:42	3939	[DEBUG]	Checking manufacturer
2023-10-13	13:33:42	3939	[DEBUG]	Load a row
2023-10-13	13:33:42	3939	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:42	3939	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:42	3939	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:42	3939	[DEBUG]	Executed store
2023-10-13	13:33:42	3939	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:42	3939	[DEBUG]	Manufacturer exists
2023-10-13	13:33:42	3939	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:33:42	3939	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:42	3939	[DEBUG]	Executed store
2023-10-13	13:33:42	3939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863431','123')
2023-10-13	13:33:42	3939	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:42	3939	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:42	3939	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863431 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:42	3939	[DEBUG]	Store custom available field
2023-10-13	13:33:42	3939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863431,3,'',1)
2023-10-13	13:33:42	3939	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:42	3939	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:33:42	3939	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863431 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:42	3939	[DEBUG]	Store custom available field
2023-10-13	13:33:42	3939	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863431,6,'All',3)
2023-10-13	13:33:42	3939	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:42	3939	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:42	3939	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863430
2023-10-13	13:33:42	3939	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:42	3939	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863430\":[1863430,8,1,\"choisir la taille\"],\"1863431\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863430
2023-10-13	13:33:42	3939	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:42	3939	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863431
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:42	3940	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field taille
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:42	3940	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:42	3940	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:42	3940	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:42	3940	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:42	3940	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:42	3940	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field published
2023-10-13	13:33:42	3940	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:42	3940	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field override
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:42	3940	[DEBUG]	Use field value for field slug
2023-10-13	13:33:42	3940	[DEBUG]	Process line 3940
2023-10-13	13:33:42	3940	[DEBUG]	Load a row
2023-10-13	13:33:42	3940	[DEBUG]	Processing item: A_5676_1
2023-10-13	13:33:42	3940	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:42	3940	[DEBUG]	Processing product tax
2023-10-13	13:33:42	3940	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:42	3940	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:42	3940	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:42	3940	[DEBUG]	Query for Product
2023-10-13	13:33:42	3940	[DEBUG]	Executed store
2023-10-13	13:33:42	3940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5676_1','0.186','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:42	3940	[DEBUG]	Check product language entry
2023-10-13	13:33:42	3940	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863432
2023-10-13	13:33:42	3940	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:42	3940	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5676_1' AND `virtuemart_product_id` != 1863432
2023-10-13	13:33:42	3940	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:42	3940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863432, 'A_5676_1')
2023-10-13	13:33:42	3940	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:42	3940	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-shimano-xtr-pd-m9000-noir' AND `virtuemart_product_id` != 1863432
2023-10-13	13:33:42	3940	[DEBUG]	Query for ProductLang
2023-10-13	13:33:42	3940	[DEBUG]	Executed store
2023-10-13	13:33:42	3940	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pédales MSC automatiques SPD. Axe crmo. Enduro<br>Corps Aluminium 6061 cnc mécanisé <br>Axe Cr-Mo mécanisé cnc <br>Roulement LSL annulaire <br>Fixation 2 faces, tension ajustable <br>Cales SC-C05 compatible SPD <br>Dimension 85 x 77mm <br>Poids 186gr/u <br>N° art fourn : 64.60378',`product_name`='SHIMANO Pédales SHIMANO XTR PD-M9000 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-shimano-xtr-pd-m9000-noir' WHERE `virtuemart_product_id` = '1863432'
2023-10-13	13:33:42	3940	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30178_pedales_shimano_xtr_pd-m9000.jpg
2023-10-13	13:33:42	3940	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:42	3940	[DEBUG]	Process image file
2023-10-13	13:33:42	3940	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:42	3940	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:42	3940	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30178_pedales_shimano_xtr_pd-m9000.jpg
2023-10-13	13:33:42	3940	[DEBUG]	Full name target: bcprisme/30178_pedales_shimano_xtr_pd-m9000.jpg
2023-10-13	13:33:43	3940	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:43	3940	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30178_pedales_shimano_xtr_pd-m9000.jpg'
2023-10-13	13:33:43	3940	[DEBUG]	Query for Media
2023-10-13	13:33:43	3940	[DEBUG]	Executed store
2023-10-13	13:33:43	3940	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30178_pedales_shimano_xtr_pd-m9000.jpg',`file_url_thumb`='bcprisme/30178_pedales_shimano_xtr_pd-m9000.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381725'
2023-10-13	13:33:43	3940	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:43	3940	[DEBUG]	Executed store
2023-10-13	13:33:43	3940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863432','381725','1')
2023-10-13	13:33:43	3940	[DEBUG]	Store product image relation
2023-10-13	13:33:43	3940	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:43	3940	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863432 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:43	3940	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:43	3940	[DEBUG]	Executed store
2023-10-13	13:33:43	3940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863432','0','148.467966573816','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:43	3940	[DEBUG]	Checking manufacturer
2023-10-13	13:33:43	3940	[DEBUG]	Load a row
2023-10-13	13:33:43	3940	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:43	3940	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:43	3940	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:43	3940	[DEBUG]	Executed store
2023-10-13	13:33:43	3940	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:43	3940	[DEBUG]	Manufacturer exists
2023-10-13	13:33:43	3940	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:33:43	3940	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:43	3940	[DEBUG]	Executed store
2023-10-13	13:33:43	3940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863432','26')
2023-10-13	13:33:43	3940	[DEBUG]	Find the custom field ID
2023-10-13	13:33:43	3940	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:43	3940	[DEBUG]	No custom field ID found
2023-10-13	13:33:43	3940	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:43	3940	[DEBUG]	Get existing row with customfield value 149.483611111111
2023-10-13	13:33:43	3940	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863432 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:43	3940	[DEBUG]	Store custom available field
2023-10-13	13:33:43	3940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863432,3,'149.483611111111',1)
2023-10-13	13:33:43	3940	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:43	3940	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:43	3940	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863432 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:43	3940	[DEBUG]	Store custom available field
2023-10-13	13:33:43	3940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863432,6,'choisir la taille',3)
2023-10-13	13:33:43	3940	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:43	3940	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:43	3940	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:43	3940	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:43	3940	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863432 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:43	3940	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:43	3940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863432,8,1)
2023-10-13	13:33:43	3940	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:43	3940	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863432\":[1863432,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863432
2023-10-13	13:33:43	3940	[DEBUG]	Checking category
2023-10-13	13:33:43	3940	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:43	3940	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863432
2023-10-13	13:33:43	3940	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:43	3940	[DEBUG]	Executed store
2023-10-13	13:33:43	3940	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863432','7391')
2023-10-13	13:33:43	3940	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:43	3940	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863432 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:43	3940	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:43	3940	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863432
2023-10-13	13:33:43	3941	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:43	3941	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:43	3941	[DEBUG]	Use field value for field taille
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:43	3941	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:43	3941	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:43	3941	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:43	3941	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:43	3941	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:43	3941	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:43	3941	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:43	3941	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:43	3941	[DEBUG]	Use field value for field published
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:43	3941	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field override
2023-10-13	13:33:43	3941	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:43	3941	[DEBUG]	Use field value for field slug
2023-10-13	13:33:43	3941	[DEBUG]	Process line 3941
2023-10-13	13:33:43	3941	[DEBUG]	Load a row
2023-10-13	13:33:43	3941	[DEBUG]	Processing item: 4524667595588
2023-10-13	13:33:43	3941	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:43	3941	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:43	3941	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5676_1'
2023-10-13	13:33:43	3941	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:43	3941	[DEBUG]	Processing product tax
2023-10-13	13:33:43	3941	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:43	3941	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:43	3941	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:43	3941	[DEBUG]	Query for Product
2023-10-13	13:33:43	3941	[DEBUG]	Executed store
2023-10-13	13:33:43	3941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863432','4524667595588','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:43	3941	[DEBUG]	No parent found
2023-10-13	13:33:43	3941	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863432 AND customfield_value = 'stockable'
2023-10-13	13:33:43	3941	[DEBUG]	Check product language entry
2023-10-13	13:33:43	3941	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863433
2023-10-13	13:33:43	3941	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:43	3941	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667595588' AND `virtuemart_product_id` != 1863433
2023-10-13	13:33:43	3941	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:43	3941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863433, '4524667595588')
2023-10-13	13:33:43	3941	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:43	3941	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-shimano-xtr-pd-m9000-noir-unitaire' AND `virtuemart_product_id` != 1863433
2023-10-13	13:33:43	3941	[DEBUG]	Query for ProductLang
2023-10-13	13:33:43	3941	[DEBUG]	Executed store
2023-10-13	13:33:43	3941	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pédales SHIMANO XTR PD-M9000 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-shimano-xtr-pd-m9000-noir-unitaire' WHERE `virtuemart_product_id` = '1863433'
2023-10-13	13:33:43	3941	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30178_pedales_shimano_xtr_pd-m9000.jpg
2023-10-13	13:33:43	3941	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:43	3941	[DEBUG]	Process image file
2023-10-13	13:33:43	3941	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:43	3941	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:43	3941	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30178_pedales_shimano_xtr_pd-m9000.jpg
2023-10-13	13:33:43	3941	[DEBUG]	Full name target: bcprisme/30178_pedales_shimano_xtr_pd-m9000.jpg
2023-10-13	13:33:44	3941	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:44	3941	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30178_pedales_shimano_xtr_pd-m9000.jpg'
2023-10-13	13:33:44	3941	[DEBUG]	Query for Media
2023-10-13	13:33:44	3941	[DEBUG]	Executed store
2023-10-13	13:33:44	3941	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30178_pedales_shimano_xtr_pd-m9000.jpg',`file_url_thumb`='bcprisme/30178_pedales_shimano_xtr_pd-m9000.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381725'
2023-10-13	13:33:44	3941	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:44	3941	[DEBUG]	Executed store
2023-10-13	13:33:44	3941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863433','381725','1')
2023-10-13	13:33:44	3941	[DEBUG]	Store product image relation
2023-10-13	13:33:44	3941	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:44	3941	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863433 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:44	3941	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:44	3941	[DEBUG]	Executed store
2023-10-13	13:33:44	3941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863433','0','148.467966573816','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:44	3941	[DEBUG]	Checking manufacturer
2023-10-13	13:33:44	3941	[DEBUG]	Load a row
2023-10-13	13:33:44	3941	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:44	3941	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:44	3941	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:44	3941	[DEBUG]	Executed store
2023-10-13	13:33:44	3941	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:44	3941	[DEBUG]	Manufacturer exists
2023-10-13	13:33:44	3941	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:33:44	3941	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:44	3941	[DEBUG]	Executed store
2023-10-13	13:33:44	3941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863433','26')
2023-10-13	13:33:44	3941	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:44	3941	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:44	3941	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863433 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:44	3941	[DEBUG]	Store custom available field
2023-10-13	13:33:44	3941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863433,3,'',1)
2023-10-13	13:33:44	3941	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:44	3941	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:44	3941	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863433 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:44	3941	[DEBUG]	Store custom available field
2023-10-13	13:33:44	3941	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863433,6,'Unitaire',3)
2023-10-13	13:33:44	3941	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:44	3941	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:44	3941	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863432
2023-10-13	13:33:44	3941	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:44	3941	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863432\":[1863432,8,1,\"choisir la taille\"],\"1863433\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863432
2023-10-13	13:33:44	3941	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:44	3941	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863433
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:44	3942	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field taille
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:44	3942	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:44	3942	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:44	3942	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:44	3942	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:44	3942	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:44	3942	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field published
2023-10-13	13:33:44	3942	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:44	3942	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field override
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:44	3942	[DEBUG]	Use field value for field slug
2023-10-13	13:33:44	3942	[DEBUG]	Process line 3942
2023-10-13	13:33:44	3942	[DEBUG]	Load a row
2023-10-13	13:33:44	3942	[DEBUG]	Processing item: A_6005_16
2023-10-13	13:33:44	3942	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:44	3942	[DEBUG]	Processing product tax
2023-10-13	13:33:44	3942	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:44	3942	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:44	3942	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:44	3942	[DEBUG]	Query for Product
2023-10-13	13:33:44	3942	[DEBUG]	Executed store
2023-10-13	13:33:44	3942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6005_16','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:44	3942	[DEBUG]	Check product language entry
2023-10-13	13:33:44	3942	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863434
2023-10-13	13:33:44	3942	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:44	3942	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6005_16' AND `virtuemart_product_id` != 1863434
2023-10-13	13:33:44	3942	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:44	3942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863434, 'A_6005_16')
2023-10-13	13:33:44	3942	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:44	3942	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-shimano-pd-eh-500-avec-sm-sh51-gris' AND `virtuemart_product_id` != 1863434
2023-10-13	13:33:44	3942	[DEBUG]	Query for ProductLang
2023-10-13	13:33:44	3942	[DEBUG]	Executed store
2023-10-13	13:33:44	3942	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.72111',`product_name`='SHIMANO Pédales SHIMANO PD-EH 500 avec SM-SH51 / Gris',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-shimano-pd-eh-500-avec-sm-sh51-gris' WHERE `virtuemart_product_id` = '1863434'
2023-10-13	13:33:44	3942	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31607_pedales_shimano_pd-eh_500_avec_sm-sh51.jpg
2023-10-13	13:33:44	3942	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:44	3942	[DEBUG]	Process image file
2023-10-13	13:33:44	3942	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:44	3942	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:44	3942	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31607_pedales_shimano_pd-eh_500_avec_sm-sh51.jpg
2023-10-13	13:33:44	3942	[DEBUG]	Full name target: bcprisme/31607_pedales_shimano_pd-eh_500_avec_sm-sh51.jpg
2023-10-13	13:33:45	3942	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:45	3942	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31607_pedales_shimano_pd-eh_500_avec_sm-sh51.jpg'
2023-10-13	13:33:45	3942	[DEBUG]	Query for Media
2023-10-13	13:33:45	3942	[DEBUG]	Executed store
2023-10-13	13:33:45	3942	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31607_pedales_shimano_pd-eh_500_avec_sm-sh51.jpg',`file_url_thumb`='bcprisme/31607_pedales_shimano_pd-eh_500_avec_sm-sh51.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16602'
2023-10-13	13:33:45	3942	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:45	3942	[DEBUG]	Executed store
2023-10-13	13:33:45	3942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863434','16602','1')
2023-10-13	13:33:45	3942	[DEBUG]	Store product image relation
2023-10-13	13:33:45	3942	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:45	3942	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863434 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:45	3942	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:45	3942	[DEBUG]	Executed store
2023-10-13	13:33:45	3942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863434','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:45	3942	[DEBUG]	Checking manufacturer
2023-10-13	13:33:45	3942	[DEBUG]	Load a row
2023-10-13	13:33:45	3942	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:45	3942	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:45	3942	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:45	3942	[DEBUG]	Executed store
2023-10-13	13:33:45	3942	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:45	3942	[DEBUG]	Manufacturer exists
2023-10-13	13:33:45	3942	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:33:45	3942	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:45	3942	[DEBUG]	Executed store
2023-10-13	13:33:45	3942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863434','123')
2023-10-13	13:33:45	3942	[DEBUG]	Find the custom field ID
2023-10-13	13:33:45	3942	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:45	3942	[DEBUG]	No custom field ID found
2023-10-13	13:33:45	3942	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:45	3942	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:33:45	3942	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863434 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:45	3942	[DEBUG]	Store custom available field
2023-10-13	13:33:45	3942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863434,3,'0',1)
2023-10-13	13:33:45	3942	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:45	3942	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:45	3942	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863434 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:45	3942	[DEBUG]	Store custom available field
2023-10-13	13:33:45	3942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863434,6,'choisir la taille',3)
2023-10-13	13:33:45	3942	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:45	3942	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:45	3942	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:45	3942	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:45	3942	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863434 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:45	3942	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:45	3942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863434,8,1)
2023-10-13	13:33:45	3942	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:45	3942	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863434\":[1863434,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863434
2023-10-13	13:33:45	3942	[DEBUG]	Checking category
2023-10-13	13:33:45	3942	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:45	3942	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863434
2023-10-13	13:33:45	3942	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:45	3942	[DEBUG]	Executed store
2023-10-13	13:33:45	3942	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863434','7391')
2023-10-13	13:33:45	3942	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:45	3942	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863434 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:45	3942	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:45	3942	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863434
2023-10-13	13:33:45	3943	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:45	3943	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:45	3943	[DEBUG]	Use field value for field taille
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:45	3943	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:45	3943	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:45	3943	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:45	3943	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:45	3943	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:45	3943	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:45	3943	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:45	3943	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:45	3943	[DEBUG]	Use field value for field published
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:45	3943	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field override
2023-10-13	13:33:45	3943	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:45	3943	[DEBUG]	Use field value for field slug
2023-10-13	13:33:45	3943	[DEBUG]	Process line 3943
2023-10-13	13:33:45	3943	[DEBUG]	Load a row
2023-10-13	13:33:45	3943	[DEBUG]	Processing item: 4524667866312
2023-10-13	13:33:45	3943	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:45	3943	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:45	3943	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6005_16'
2023-10-13	13:33:45	3943	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:45	3943	[DEBUG]	Processing product tax
2023-10-13	13:33:45	3943	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:45	3943	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:45	3943	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:45	3943	[DEBUG]	Query for Product
2023-10-13	13:33:45	3943	[DEBUG]	Executed store
2023-10-13	13:33:45	3943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863434','4524667866312','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:45	3943	[DEBUG]	No parent found
2023-10-13	13:33:45	3943	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863434 AND customfield_value = 'stockable'
2023-10-13	13:33:45	3943	[DEBUG]	Check product language entry
2023-10-13	13:33:45	3943	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863435
2023-10-13	13:33:45	3943	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:45	3943	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667866312' AND `virtuemart_product_id` != 1863435
2023-10-13	13:33:45	3943	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:45	3943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863435, '4524667866312')
2023-10-13	13:33:45	3943	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:45	3943	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-shimano-pd-eh-500-avec-sm-sh51-gris-all' AND `virtuemart_product_id` != 1863435
2023-10-13	13:33:45	3943	[DEBUG]	Query for ProductLang
2023-10-13	13:33:45	3943	[DEBUG]	Executed store
2023-10-13	13:33:45	3943	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pédales SHIMANO PD-EH 500 avec SM-SH51 / Gris (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-shimano-pd-eh-500-avec-sm-sh51-gris-all' WHERE `virtuemart_product_id` = '1863435'
2023-10-13	13:33:45	3943	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31607_pedales_shimano_pd-eh_500_avec_sm-sh51.jpg
2023-10-13	13:33:45	3943	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:45	3943	[DEBUG]	Process image file
2023-10-13	13:33:45	3943	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:45	3943	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:45	3943	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31607_pedales_shimano_pd-eh_500_avec_sm-sh51.jpg
2023-10-13	13:33:45	3943	[DEBUG]	Full name target: bcprisme/31607_pedales_shimano_pd-eh_500_avec_sm-sh51.jpg
2023-10-13	13:33:46	3943	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:46	3943	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31607_pedales_shimano_pd-eh_500_avec_sm-sh51.jpg'
2023-10-13	13:33:46	3943	[DEBUG]	Query for Media
2023-10-13	13:33:46	3943	[DEBUG]	Executed store
2023-10-13	13:33:46	3943	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31607_pedales_shimano_pd-eh_500_avec_sm-sh51.jpg',`file_url_thumb`='bcprisme/31607_pedales_shimano_pd-eh_500_avec_sm-sh51.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16602'
2023-10-13	13:33:46	3943	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:46	3943	[DEBUG]	Executed store
2023-10-13	13:33:46	3943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863435','16602','1')
2023-10-13	13:33:46	3943	[DEBUG]	Store product image relation
2023-10-13	13:33:46	3943	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:46	3943	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863435 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:46	3943	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:46	3943	[DEBUG]	Executed store
2023-10-13	13:33:46	3943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863435','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:46	3943	[DEBUG]	Checking manufacturer
2023-10-13	13:33:46	3943	[DEBUG]	Load a row
2023-10-13	13:33:46	3943	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:46	3943	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:46	3943	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:46	3943	[DEBUG]	Executed store
2023-10-13	13:33:46	3943	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:46	3943	[DEBUG]	Manufacturer exists
2023-10-13	13:33:46	3943	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:33:46	3943	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:46	3943	[DEBUG]	Executed store
2023-10-13	13:33:46	3943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863435','123')
2023-10-13	13:33:46	3943	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:46	3943	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:46	3943	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863435 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:46	3943	[DEBUG]	Store custom available field
2023-10-13	13:33:46	3943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863435,3,'',1)
2023-10-13	13:33:46	3943	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:46	3943	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:33:46	3943	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863435 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:46	3943	[DEBUG]	Store custom available field
2023-10-13	13:33:46	3943	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863435,6,'All',3)
2023-10-13	13:33:46	3943	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:46	3943	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:46	3943	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863434
2023-10-13	13:33:46	3943	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:46	3943	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863434\":[1863434,8,1,\"choisir la taille\"],\"1863435\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863434
2023-10-13	13:33:46	3943	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:46	3943	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863435
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:46	3944	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field taille
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:46	3944	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:46	3944	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:46	3944	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:46	3944	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:46	3944	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:46	3944	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field published
2023-10-13	13:33:46	3944	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:46	3944	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field override
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:46	3944	[DEBUG]	Use field value for field slug
2023-10-13	13:33:46	3944	[DEBUG]	Process line 3944
2023-10-13	13:33:46	3944	[DEBUG]	Load a row
2023-10-13	13:33:46	3944	[DEBUG]	Processing item: A_6201_1
2023-10-13	13:33:46	3944	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:46	3944	[DEBUG]	Processing product tax
2023-10-13	13:33:46	3944	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:46	3944	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:46	3944	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:46	3944	[DEBUG]	Query for Product
2023-10-13	13:33:46	3944	[DEBUG]	Executed store
2023-10-13	13:33:46	3944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6201_1','0.186','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:46	3944	[DEBUG]	Check product language entry
2023-10-13	13:33:46	3944	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863436
2023-10-13	13:33:46	3944	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:46	3944	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6201_1' AND `virtuemart_product_id` != 1863436
2023-10-13	13:33:46	3944	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:46	3944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863436, 'A_6201_1')
2023-10-13	13:33:46	3944	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:46	3944	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-route-avec-roulements-scelles-cales-look-noir' AND `virtuemart_product_id` != 1863436
2023-10-13	13:33:46	3944	[DEBUG]	Query for ProductLang
2023-10-13	13:33:46	3944	[DEBUG]	Executed store
2023-10-13	13:33:46	3944	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>280 g<br>Pédales automatiques MSC avec roulements étanches. Ils garantissent la stabilité, l\'efficacité du pédalage et la liberté angulaire, en plus d\'être faciles à installer.<br>N° art fourn : MSCROAD39',`product_name`='MSC Pédales MSC route avec roulements scellés, câles Look / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-route-avec-roulements-scelles-cales-look-noir' WHERE `virtuemart_product_id` = '1863436'
2023-10-13	13:33:46	3944	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32043_pedales_msc_route_avec_roulements_scelles,_cales_look.jpg
2023-10-13	13:33:46	3944	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:46	3944	[DEBUG]	Process image file
2023-10-13	13:33:46	3944	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:46	3944	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:46	3944	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32043_pedales_msc_route_avec_roulements_scelles,_cales_look.jpg
2023-10-13	13:33:46	3944	[DEBUG]	Full name target: bcprisme/32043_pedales_msc_route_avec_roulements_scelles,_cales_look.jpg
2023-10-13	13:33:47	3944	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:47	3944	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32043_pedales_msc_route_avec_roulements_scelles,_cales_look.jpg'
2023-10-13	13:33:47	3944	[DEBUG]	Query for Media
2023-10-13	13:33:47	3944	[DEBUG]	Executed store
2023-10-13	13:33:47	3944	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32043_pedales_msc_route_avec_roulements_scelles,_cales_look.jpg',`file_url_thumb`='bcprisme/32043_pedales_msc_route_avec_roulements_scelles,_cales_look.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1004839'
2023-10-13	13:33:47	3944	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:47	3944	[DEBUG]	Executed store
2023-10-13	13:33:47	3944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863436','1004839','1')
2023-10-13	13:33:47	3944	[DEBUG]	Store product image relation
2023-10-13	13:33:47	3944	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:47	3944	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863436 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:47	3944	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:47	3944	[DEBUG]	Executed store
2023-10-13	13:33:47	3944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863436','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:47	3944	[DEBUG]	Checking manufacturer
2023-10-13	13:33:47	3944	[DEBUG]	Load a row
2023-10-13	13:33:47	3944	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:47	3944	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:47	3944	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:47	3944	[DEBUG]	Executed store
2023-10-13	13:33:47	3944	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:47	3944	[DEBUG]	Manufacturer exists
2023-10-13	13:33:47	3944	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:47	3944	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:47	3944	[DEBUG]	Executed store
2023-10-13	13:33:47	3944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863436','32')
2023-10-13	13:33:47	3944	[DEBUG]	Find the custom field ID
2023-10-13	13:33:47	3944	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:47	3944	[DEBUG]	No custom field ID found
2023-10-13	13:33:47	3944	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:47	3944	[DEBUG]	Get existing row with customfield value 149.483611111111
2023-10-13	13:33:47	3944	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863436 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:47	3944	[DEBUG]	Store custom available field
2023-10-13	13:33:47	3944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863436,3,'149.483611111111',1)
2023-10-13	13:33:47	3944	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:47	3944	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:47	3944	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863436 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:47	3944	[DEBUG]	Store custom available field
2023-10-13	13:33:47	3944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863436,6,'choisir la taille',3)
2023-10-13	13:33:47	3944	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:47	3944	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:47	3944	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:47	3944	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:47	3944	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863436 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:47	3944	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:47	3944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863436,8,1)
2023-10-13	13:33:47	3944	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:47	3944	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863436\":[1863436,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863436
2023-10-13	13:33:47	3944	[DEBUG]	Checking category
2023-10-13	13:33:47	3944	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:47	3944	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863436
2023-10-13	13:33:47	3944	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:47	3944	[DEBUG]	Executed store
2023-10-13	13:33:47	3944	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863436','7391')
2023-10-13	13:33:48	3944	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:48	3944	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863436 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:48	3944	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:48	3944	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863436
2023-10-13	13:33:48	3945	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:48	3945	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:48	3945	[DEBUG]	Use field value for field taille
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:48	3945	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:48	3945	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:48	3945	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:48	3945	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:48	3945	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:48	3945	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:48	3945	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:48	3945	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:48	3945	[DEBUG]	Use field value for field published
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:48	3945	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field override
2023-10-13	13:33:48	3945	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:48	3945	[DEBUG]	Use field value for field slug
2023-10-13	13:33:48	3945	[DEBUG]	Process line 3945
2023-10-13	13:33:48	3945	[DEBUG]	Load a row
2023-10-13	13:33:48	3945	[DEBUG]	Processing item: 8435466215064
2023-10-13	13:33:48	3945	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:48	3945	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:48	3945	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6201_1'
2023-10-13	13:33:48	3945	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:48	3945	[DEBUG]	Processing product tax
2023-10-13	13:33:48	3945	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:48	3945	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:48	3945	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:48	3945	[DEBUG]	Query for Product
2023-10-13	13:33:48	3945	[DEBUG]	Executed store
2023-10-13	13:33:48	3945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863436','8435466215064','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:48	3945	[DEBUG]	No parent found
2023-10-13	13:33:48	3945	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863436 AND customfield_value = 'stockable'
2023-10-13	13:33:48	3945	[DEBUG]	Check product language entry
2023-10-13	13:33:48	3945	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863437
2023-10-13	13:33:48	3945	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:48	3945	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215064' AND `virtuemart_product_id` != 1863437
2023-10-13	13:33:48	3945	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:48	3945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863437, '8435466215064')
2023-10-13	13:33:48	3945	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:48	3945	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-route-avec-roulements-scelles-cales-look-noir-unitaire' AND `virtuemart_product_id` != 1863437
2023-10-13	13:33:48	3945	[DEBUG]	Query for ProductLang
2023-10-13	13:33:48	3945	[DEBUG]	Executed store
2023-10-13	13:33:48	3945	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales MSC route avec roulements scellés, câles Look / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-route-avec-roulements-scelles-cales-look-noir-unitaire' WHERE `virtuemart_product_id` = '1863437'
2023-10-13	13:33:48	3945	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32043_pedales_msc_route_avec_roulements_scelles,_cales_look.jpg
2023-10-13	13:33:48	3945	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:48	3945	[DEBUG]	Process image file
2023-10-13	13:33:48	3945	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:48	3945	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:48	3945	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32043_pedales_msc_route_avec_roulements_scelles,_cales_look.jpg
2023-10-13	13:33:48	3945	[DEBUG]	Full name target: bcprisme/32043_pedales_msc_route_avec_roulements_scelles,_cales_look.jpg
2023-10-13	13:33:49	3945	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:49	3945	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32043_pedales_msc_route_avec_roulements_scelles,_cales_look.jpg'
2023-10-13	13:33:49	3945	[DEBUG]	Query for Media
2023-10-13	13:33:49	3945	[DEBUG]	Executed store
2023-10-13	13:33:49	3945	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32043_pedales_msc_route_avec_roulements_scelles,_cales_look.jpg',`file_url_thumb`='bcprisme/32043_pedales_msc_route_avec_roulements_scelles,_cales_look.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1004839'
2023-10-13	13:33:49	3945	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:49	3945	[DEBUG]	Executed store
2023-10-13	13:33:49	3945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863437','1004839','1')
2023-10-13	13:33:49	3945	[DEBUG]	Store product image relation
2023-10-13	13:33:49	3945	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:49	3945	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863437 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:49	3945	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:49	3945	[DEBUG]	Executed store
2023-10-13	13:33:49	3945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863437','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:49	3945	[DEBUG]	Checking manufacturer
2023-10-13	13:33:49	3945	[DEBUG]	Load a row
2023-10-13	13:33:49	3945	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:49	3945	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:49	3945	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:49	3945	[DEBUG]	Executed store
2023-10-13	13:33:49	3945	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:49	3945	[DEBUG]	Manufacturer exists
2023-10-13	13:33:49	3945	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:49	3945	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:49	3945	[DEBUG]	Executed store
2023-10-13	13:33:49	3945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863437','32')
2023-10-13	13:33:49	3945	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:49	3945	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:49	3945	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863437 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:49	3945	[DEBUG]	Store custom available field
2023-10-13	13:33:49	3945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863437,3,'',1)
2023-10-13	13:33:49	3945	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:49	3945	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:49	3945	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863437 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:49	3945	[DEBUG]	Store custom available field
2023-10-13	13:33:49	3945	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863437,6,'Unitaire',3)
2023-10-13	13:33:49	3945	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:49	3945	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:49	3945	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863436
2023-10-13	13:33:49	3945	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:49	3945	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863436\":[1863436,8,1,\"choisir la taille\"],\"1863437\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863436
2023-10-13	13:33:49	3945	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:49	3945	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863437
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:49	3946	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field taille
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:49	3946	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:49	3946	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:49	3946	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:49	3946	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:49	3946	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:49	3946	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field published
2023-10-13	13:33:49	3946	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:49	3946	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field override
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:49	3946	[DEBUG]	Use field value for field slug
2023-10-13	13:33:49	3946	[DEBUG]	Process line 3946
2023-10-13	13:33:49	3946	[DEBUG]	Load a row
2023-10-13	13:33:49	3946	[DEBUG]	Processing item: A_6845_1
2023-10-13	13:33:49	3946	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:49	3946	[DEBUG]	Processing product tax
2023-10-13	13:33:49	3946	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:49	3946	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:49	3946	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:49	3946	[DEBUG]	Query for Product
2023-10-13	13:33:49	3946	[DEBUG]	Executed store
2023-10-13	13:33:49	3946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6845_1','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:49	3946	[DEBUG]	Check product language entry
2023-10-13	13:33:49	3946	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863438
2023-10-13	13:33:49	3946	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:49	3946	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6845_1' AND `virtuemart_product_id` != 1863438
2023-10-13	13:33:49	3946	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:49	3946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863438, 'A_6845_1')
2023-10-13	13:33:49	3946	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:49	3946	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-enduro-noir' AND `virtuemart_product_id` != 1863438
2023-10-13	13:33:49	3946	[DEBUG]	Query for ProductLang
2023-10-13	13:33:49	3946	[DEBUG]	Executed store
2023-10-13	13:33:49	3946	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pédales MSC automatiques SPD. axe crmo X-Country, 260 gr.<br>N° art fourn : ZP0085',`product_name`='MSC Pédales MSC SPD automatiques Enduro / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-enduro-noir' WHERE `virtuemart_product_id` = '1863438'
2023-10-13	13:33:49	3946	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33666_pedales_msc_spd_automatiques_.jpg
2023-10-13	13:33:49	3946	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:49	3946	[DEBUG]	Process image file
2023-10-13	13:33:49	3946	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:49	3946	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:49	3946	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33666_pedales_msc_spd_automatiques_.jpg
2023-10-13	13:33:49	3946	[DEBUG]	Full name target: bcprisme/33666_pedales_msc_spd_automatiques_.jpg
2023-10-13	13:33:50	3946	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:50	3946	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33666_pedales_msc_spd_automatiques_.jpg'
2023-10-13	13:33:50	3946	[DEBUG]	Query for Media
2023-10-13	13:33:50	3946	[DEBUG]	Executed store
2023-10-13	13:33:50	3946	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33666_pedales_msc_spd_automatiques_.jpg',`file_url_thumb`='bcprisme/33666_pedales_msc_spd_automatiques_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15304'
2023-10-13	13:33:50	3946	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:50	3946	[DEBUG]	Executed store
2023-10-13	13:33:50	3946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863438','15304','1')
2023-10-13	13:33:50	3946	[DEBUG]	Store product image relation
2023-10-13	13:33:50	3946	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:50	3946	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863438 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:50	3946	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:50	3946	[DEBUG]	Executed store
2023-10-13	13:33:50	3946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863438','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:50	3946	[DEBUG]	Checking manufacturer
2023-10-13	13:33:50	3946	[DEBUG]	Load a row
2023-10-13	13:33:50	3946	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:50	3946	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:50	3946	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:50	3946	[DEBUG]	Executed store
2023-10-13	13:33:50	3946	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:50	3946	[DEBUG]	Manufacturer exists
2023-10-13	13:33:50	3946	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:50	3946	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:50	3946	[DEBUG]	Executed store
2023-10-13	13:33:50	3946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863438','32')
2023-10-13	13:33:50	3946	[DEBUG]	Find the custom field ID
2023-10-13	13:33:50	3946	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:50	3946	[DEBUG]	No custom field ID found
2023-10-13	13:33:50	3946	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:50	3946	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:33:50	3946	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863438 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:50	3946	[DEBUG]	Store custom available field
2023-10-13	13:33:50	3946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863438,3,'99.6225',1)
2023-10-13	13:33:50	3946	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:50	3946	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:50	3946	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863438 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:50	3946	[DEBUG]	Store custom available field
2023-10-13	13:33:50	3946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863438,6,'choisir la taille',3)
2023-10-13	13:33:50	3946	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:50	3946	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:50	3946	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:50	3946	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:50	3946	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863438 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:50	3946	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:50	3946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863438,8,1)
2023-10-13	13:33:50	3946	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:50	3946	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863438\":[1863438,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863438
2023-10-13	13:33:50	3946	[DEBUG]	Checking category
2023-10-13	13:33:50	3946	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:50	3946	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863438
2023-10-13	13:33:50	3946	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:50	3946	[DEBUG]	Executed store
2023-10-13	13:33:50	3946	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863438','7391')
2023-10-13	13:33:50	3946	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:50	3946	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863438 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:50	3946	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:50	3946	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863438
2023-10-13	13:33:50	3947	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:50	3947	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:50	3947	[DEBUG]	Use field value for field taille
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:50	3947	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:50	3947	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:50	3947	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:50	3947	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:50	3947	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:50	3947	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:50	3947	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:50	3947	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:50	3947	[DEBUG]	Use field value for field published
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:50	3947	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field override
2023-10-13	13:33:50	3947	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:50	3947	[DEBUG]	Use field value for field slug
2023-10-13	13:33:50	3947	[DEBUG]	Process line 3947
2023-10-13	13:33:50	3947	[DEBUG]	Load a row
2023-10-13	13:33:50	3947	[DEBUG]	Processing item: 8436550192704
2023-10-13	13:33:50	3947	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:50	3947	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:50	3947	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6845_1'
2023-10-13	13:33:50	3947	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:50	3947	[DEBUG]	Processing product tax
2023-10-13	13:33:50	3947	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:50	3947	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:50	3947	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:50	3947	[DEBUG]	Query for Product
2023-10-13	13:33:50	3947	[DEBUG]	Executed store
2023-10-13	13:33:50	3947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863438','8436550192704','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:50	3947	[DEBUG]	No parent found
2023-10-13	13:33:50	3947	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863438 AND customfield_value = 'stockable'
2023-10-13	13:33:50	3947	[DEBUG]	Check product language entry
2023-10-13	13:33:50	3947	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863439
2023-10-13	13:33:50	3947	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:50	3947	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550192704' AND `virtuemart_product_id` != 1863439
2023-10-13	13:33:50	3947	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:50	3947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863439, '8436550192704')
2023-10-13	13:33:50	3947	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:50	3947	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-spd-automatiques-enduro-noir-unitaire' AND `virtuemart_product_id` != 1863439
2023-10-13	13:33:50	3947	[DEBUG]	Query for ProductLang
2023-10-13	13:33:50	3947	[DEBUG]	Executed store
2023-10-13	13:33:50	3947	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales MSC SPD automatiques Enduro / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-spd-automatiques-enduro-noir-unitaire' WHERE `virtuemart_product_id` = '1863439'
2023-10-13	13:33:50	3947	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33666_pedales_msc_spd_automatiques_.jpg
2023-10-13	13:33:50	3947	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:50	3947	[DEBUG]	Process image file
2023-10-13	13:33:50	3947	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:50	3947	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:50	3947	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33666_pedales_msc_spd_automatiques_.jpg
2023-10-13	13:33:50	3947	[DEBUG]	Full name target: bcprisme/33666_pedales_msc_spd_automatiques_.jpg
2023-10-13	13:33:51	3947	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:51	3947	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33666_pedales_msc_spd_automatiques_.jpg'
2023-10-13	13:33:51	3947	[DEBUG]	Query for Media
2023-10-13	13:33:51	3947	[DEBUG]	Executed store
2023-10-13	13:33:51	3947	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33666_pedales_msc_spd_automatiques_.jpg',`file_url_thumb`='bcprisme/33666_pedales_msc_spd_automatiques_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15304'
2023-10-13	13:33:51	3947	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:51	3947	[DEBUG]	Executed store
2023-10-13	13:33:51	3947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863439','15304','1')
2023-10-13	13:33:51	3947	[DEBUG]	Store product image relation
2023-10-13	13:33:51	3947	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:51	3947	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863439 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:51	3947	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:51	3947	[DEBUG]	Executed store
2023-10-13	13:33:51	3947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863439','0','139.182915506035','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:51	3947	[DEBUG]	Checking manufacturer
2023-10-13	13:33:51	3947	[DEBUG]	Load a row
2023-10-13	13:33:51	3947	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:51	3947	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:51	3947	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:51	3947	[DEBUG]	Executed store
2023-10-13	13:33:51	3947	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:33:51	3947	[DEBUG]	Manufacturer exists
2023-10-13	13:33:51	3947	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:33:51	3947	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:51	3947	[DEBUG]	Executed store
2023-10-13	13:33:51	3947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863439','32')
2023-10-13	13:33:51	3947	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:51	3947	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:51	3947	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863439 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:51	3947	[DEBUG]	Store custom available field
2023-10-13	13:33:51	3947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863439,3,'',1)
2023-10-13	13:33:51	3947	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:51	3947	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:33:51	3947	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863439 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:51	3947	[DEBUG]	Store custom available field
2023-10-13	13:33:51	3947	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863439,6,'Unitaire',3)
2023-10-13	13:33:51	3947	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:51	3947	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:51	3947	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863438
2023-10-13	13:33:51	3947	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:51	3947	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863438\":[1863438,8,1,\"choisir la taille\"],\"1863439\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863438
2023-10-13	13:33:51	3947	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:51	3947	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863439
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:51	3948	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field taille
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:51	3948	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:51	3948	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:51	3948	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:51	3948	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:51	3948	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:51	3948	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field published
2023-10-13	13:33:51	3948	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:51	3948	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field override
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:51	3948	[DEBUG]	Use field value for field slug
2023-10-13	13:33:51	3948	[DEBUG]	Process line 3948
2023-10-13	13:33:51	3948	[DEBUG]	Load a row
2023-10-13	13:33:51	3948	[DEBUG]	Processing item: A_6968_2
2023-10-13	13:33:51	3948	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:51	3948	[DEBUG]	Processing product tax
2023-10-13	13:33:51	3948	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:51	3948	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:51	3948	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:51	3948	[DEBUG]	Query for Product
2023-10-13	13:33:51	3948	[DEBUG]	Executed store
2023-10-13	13:33:51	3948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6968_2','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:51	3948	[DEBUG]	Check product language entry
2023-10-13	13:33:51	3948	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863440
2023-10-13	13:33:51	3948	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:51	3948	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6968_2' AND `virtuemart_product_id` != 1863440
2023-10-13	13:33:51	3948	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:51	3948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863440, 'A_6968_2')
2023-10-13	13:33:51	3948	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:51	3948	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-105-pd-r7000-carbone-carbone' AND `virtuemart_product_id` != 1863440
2023-10-13	13:33:51	3948	[DEBUG]	Query for ProductLang
2023-10-13	13:33:51	3948	[DEBUG]	Executed store
2023-10-13	13:33:51	3948	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.72670',`product_name`='SHIMANO Pédales 105 PD-R7000 carbone / Carbone',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-105-pd-r7000-carbone-carbone' WHERE `virtuemart_product_id` = '1863440'
2023-10-13	13:33:51	3948	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34105_shimano_pedales_105_pd-r7000_carbone.jpg
2023-10-13	13:33:51	3948	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:51	3948	[DEBUG]	Process image file
2023-10-13	13:33:51	3948	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:51	3948	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:51	3948	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34105_shimano_pedales_105_pd-r7000_carbone.jpg
2023-10-13	13:33:51	3948	[DEBUG]	Full name target: bcprisme/34105_shimano_pedales_105_pd-r7000_carbone.jpg
2023-10-13	13:33:52	3948	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:52	3948	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34105_shimano_pedales_105_pd-r7000_carbone.jpg'
2023-10-13	13:33:52	3948	[DEBUG]	Query for Media
2023-10-13	13:33:52	3948	[DEBUG]	Executed store
2023-10-13	13:33:52	3948	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34105_shimano_pedales_105_pd-r7000_carbone.jpg',`file_url_thumb`='bcprisme/34105_shimano_pedales_105_pd-r7000_carbone.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '26149'
2023-10-13	13:33:52	3948	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:52	3948	[DEBUG]	Executed store
2023-10-13	13:33:52	3948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863440','26149','1')
2023-10-13	13:33:52	3948	[DEBUG]	Store product image relation
2023-10-13	13:33:52	3948	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:52	3948	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863440 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:52	3948	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:52	3948	[DEBUG]	Executed store
2023-10-13	13:33:52	3948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863440','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:52	3948	[DEBUG]	Checking manufacturer
2023-10-13	13:33:52	3948	[DEBUG]	Load a row
2023-10-13	13:33:52	3948	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:52	3948	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:52	3948	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:52	3948	[DEBUG]	Executed store
2023-10-13	13:33:52	3948	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:52	3948	[DEBUG]	Manufacturer exists
2023-10-13	13:33:52	3948	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:33:52	3948	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:52	3948	[DEBUG]	Executed store
2023-10-13	13:33:52	3948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863440','26')
2023-10-13	13:33:52	3948	[DEBUG]	Find the custom field ID
2023-10-13	13:33:52	3948	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:52	3948	[DEBUG]	No custom field ID found
2023-10-13	13:33:52	3948	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:52	3948	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:33:52	3948	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863440 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:52	3948	[DEBUG]	Store custom available field
2023-10-13	13:33:52	3948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863440,3,'0',1)
2023-10-13	13:33:52	3948	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:52	3948	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:52	3948	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863440 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:52	3948	[DEBUG]	Store custom available field
2023-10-13	13:33:52	3948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863440,6,'choisir la taille',3)
2023-10-13	13:33:52	3948	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:52	3948	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:52	3948	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:52	3948	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:52	3948	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863440 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:52	3948	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:52	3948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863440,8,1)
2023-10-13	13:33:52	3948	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:52	3948	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863440\":[1863440,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863440
2023-10-13	13:33:52	3948	[DEBUG]	Checking category
2023-10-13	13:33:52	3948	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:52	3948	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863440
2023-10-13	13:33:52	3948	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:52	3948	[DEBUG]	Executed store
2023-10-13	13:33:52	3948	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863440','7391')
2023-10-13	13:33:52	3948	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:52	3948	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863440 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:52	3948	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:52	3948	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863440
2023-10-13	13:33:52	3949	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:52	3949	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:52	3949	[DEBUG]	Use field value for field taille
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:52	3949	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:52	3949	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:52	3949	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:52	3949	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:52	3949	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:52	3949	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:52	3949	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:52	3949	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:52	3949	[DEBUG]	Use field value for field published
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:52	3949	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field override
2023-10-13	13:33:52	3949	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:52	3949	[DEBUG]	Use field value for field slug
2023-10-13	13:33:52	3949	[DEBUG]	Process line 3949
2023-10-13	13:33:52	3949	[DEBUG]	Load a row
2023-10-13	13:33:52	3949	[DEBUG]	Processing item: 4524667866282
2023-10-13	13:33:52	3949	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:52	3949	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:52	3949	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6968_2'
2023-10-13	13:33:52	3949	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:52	3949	[DEBUG]	Processing product tax
2023-10-13	13:33:52	3949	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:52	3949	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:52	3949	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:52	3949	[DEBUG]	Query for Product
2023-10-13	13:33:52	3949	[DEBUG]	Executed store
2023-10-13	13:33:52	3949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863440','4524667866282','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:52	3949	[DEBUG]	No parent found
2023-10-13	13:33:52	3949	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863440 AND customfield_value = 'stockable'
2023-10-13	13:33:52	3949	[DEBUG]	Check product language entry
2023-10-13	13:33:52	3949	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863441
2023-10-13	13:33:52	3949	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:52	3949	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667866282' AND `virtuemart_product_id` != 1863441
2023-10-13	13:33:52	3949	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:52	3949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863441, '4524667866282')
2023-10-13	13:33:52	3949	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:52	3949	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-105-pd-r7000-carbone-carbone-all' AND `virtuemart_product_id` != 1863441
2023-10-13	13:33:52	3949	[DEBUG]	Query for ProductLang
2023-10-13	13:33:52	3949	[DEBUG]	Executed store
2023-10-13	13:33:52	3949	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pédales 105 PD-R7000 carbone / Carbone (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-105-pd-r7000-carbone-carbone-all' WHERE `virtuemart_product_id` = '1863441'
2023-10-13	13:33:52	3949	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34105_shimano_pedales_105_pd-r7000_carbone.jpg
2023-10-13	13:33:52	3949	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:52	3949	[DEBUG]	Process image file
2023-10-13	13:33:52	3949	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:52	3949	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:52	3949	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34105_shimano_pedales_105_pd-r7000_carbone.jpg
2023-10-13	13:33:52	3949	[DEBUG]	Full name target: bcprisme/34105_shimano_pedales_105_pd-r7000_carbone.jpg
2023-10-13	13:33:53	3949	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:53	3949	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34105_shimano_pedales_105_pd-r7000_carbone.jpg'
2023-10-13	13:33:53	3949	[DEBUG]	Query for Media
2023-10-13	13:33:53	3949	[DEBUG]	Executed store
2023-10-13	13:33:53	3949	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34105_shimano_pedales_105_pd-r7000_carbone.jpg',`file_url_thumb`='bcprisme/34105_shimano_pedales_105_pd-r7000_carbone.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '26149'
2023-10-13	13:33:53	3949	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:53	3949	[DEBUG]	Executed store
2023-10-13	13:33:53	3949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863441','26149','1')
2023-10-13	13:33:53	3949	[DEBUG]	Store product image relation
2023-10-13	13:33:53	3949	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:53	3949	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863441 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:53	3949	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:53	3949	[DEBUG]	Executed store
2023-10-13	13:33:53	3949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863441','0','129.897864438254','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:53	3949	[DEBUG]	Checking manufacturer
2023-10-13	13:33:53	3949	[DEBUG]	Load a row
2023-10-13	13:33:53	3949	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:53	3949	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:53	3949	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:53	3949	[DEBUG]	Executed store
2023-10-13	13:33:53	3949	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:53	3949	[DEBUG]	Manufacturer exists
2023-10-13	13:33:53	3949	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:33:53	3949	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:53	3949	[DEBUG]	Executed store
2023-10-13	13:33:53	3949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863441','26')
2023-10-13	13:33:53	3949	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:53	3949	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:53	3949	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863441 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:53	3949	[DEBUG]	Store custom available field
2023-10-13	13:33:53	3949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863441,3,'',1)
2023-10-13	13:33:53	3949	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:53	3949	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:33:53	3949	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863441 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:53	3949	[DEBUG]	Store custom available field
2023-10-13	13:33:53	3949	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863441,6,'All',3)
2023-10-13	13:33:53	3949	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:53	3949	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:53	3949	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863440
2023-10-13	13:33:53	3949	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:53	3949	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863440\":[1863440,8,1,\"choisir la taille\"],\"1863441\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863440
2023-10-13	13:33:53	3949	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:53	3949	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863441
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:53	3950	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field taille
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:53	3950	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:53	3950	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:53	3950	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:53	3950	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:53	3950	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:53	3950	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field published
2023-10-13	13:33:53	3950	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:53	3950	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field override
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:53	3950	[DEBUG]	Use field value for field slug
2023-10-13	13:33:53	3950	[DEBUG]	Process line 3950
2023-10-13	13:33:53	3950	[DEBUG]	Load a row
2023-10-13	13:33:53	3950	[DEBUG]	Processing item: A_6972_1
2023-10-13	13:33:53	3950	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:53	3950	[DEBUG]	Processing product tax
2023-10-13	13:33:53	3950	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:53	3950	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:53	3950	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:53	3950	[DEBUG]	Query for Product
2023-10-13	13:33:53	3950	[DEBUG]	Executed store
2023-10-13	13:33:53	3950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6972_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:53	3950	[DEBUG]	Check product language entry
2023-10-13	13:33:53	3950	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863442
2023-10-13	13:33:53	3950	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:53	3950	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6972_1' AND `virtuemart_product_id` != 1863442
2023-10-13	13:33:53	3950	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:53	3950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863442, 'A_6972_1')
2023-10-13	13:33:53	3950	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:53	3950	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-pd-r8000-ultegra-carbone-noir' AND `virtuemart_product_id` != 1863442
2023-10-13	13:33:53	3950	[DEBUG]	Query for ProductLang
2023-10-13	13:33:53	3950	[DEBUG]	Executed store
2023-10-13	13:33:53	3950	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.69286',`product_name`='SHIMANO Pédales PD-R8000 Ultegra Carbone / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-pd-r8000-ultegra-carbone-noir' WHERE `virtuemart_product_id` = '1863442'
2023-10-13	13:33:53	3950	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34109_shimano_pedales_105_pd-r8000_ultegra_carbone.jpg
2023-10-13	13:33:53	3950	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:53	3950	[DEBUG]	Process image file
2023-10-13	13:33:53	3950	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:53	3950	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:53	3950	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34109_shimano_pedales_105_pd-r8000_ultegra_carbone.jpg
2023-10-13	13:33:53	3950	[DEBUG]	Full name target: bcprisme/34109_shimano_pedales_105_pd-r8000_ultegra_carbone.jpg
2023-10-13	13:33:54	3950	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:54	3950	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34109_shimano_pedales_105_pd-r8000_ultegra_carbone.jpg'
2023-10-13	13:33:54	3950	[DEBUG]	Query for Media
2023-10-13	13:33:54	3950	[DEBUG]	Executed store
2023-10-13	13:33:54	3950	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34109_shimano_pedales_105_pd-r8000_ultegra_carbone.jpg',`file_url_thumb`='bcprisme/34109_shimano_pedales_105_pd-r8000_ultegra_carbone.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16604'
2023-10-13	13:33:54	3950	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:54	3950	[DEBUG]	Executed store
2023-10-13	13:33:54	3950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863442','16604','1')
2023-10-13	13:33:54	3950	[DEBUG]	Store product image relation
2023-10-13	13:33:54	3950	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:54	3950	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863442 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:54	3950	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:54	3950	[DEBUG]	Executed store
2023-10-13	13:33:54	3950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863442','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:54	3950	[DEBUG]	Checking manufacturer
2023-10-13	13:33:54	3950	[DEBUG]	Load a row
2023-10-13	13:33:54	3950	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:54	3950	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:54	3950	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:54	3950	[DEBUG]	Executed store
2023-10-13	13:33:54	3950	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:54	3950	[DEBUG]	Manufacturer exists
2023-10-13	13:33:54	3950	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:33:54	3950	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:54	3950	[DEBUG]	Executed store
2023-10-13	13:33:54	3950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863442','26')
2023-10-13	13:33:54	3950	[DEBUG]	Find the custom field ID
2023-10-13	13:33:54	3950	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:54	3950	[DEBUG]	No custom field ID found
2023-10-13	13:33:54	3950	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:54	3950	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:33:54	3950	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863442 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:54	3950	[DEBUG]	Store custom available field
2023-10-13	13:33:54	3950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863442,3,'0',1)
2023-10-13	13:33:54	3950	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:54	3950	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:54	3950	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863442 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:54	3950	[DEBUG]	Store custom available field
2023-10-13	13:33:54	3950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863442,6,'choisir la taille',3)
2023-10-13	13:33:54	3950	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:54	3950	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:54	3950	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:54	3950	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:54	3950	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863442 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:54	3950	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:54	3950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863442,8,1)
2023-10-13	13:33:54	3950	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:54	3950	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863442\":[1863442,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863442
2023-10-13	13:33:54	3950	[DEBUG]	Checking category
2023-10-13	13:33:54	3950	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:54	3950	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863442
2023-10-13	13:33:54	3950	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:54	3950	[DEBUG]	Executed store
2023-10-13	13:33:54	3950	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863442','7391')
2023-10-13	13:33:54	3950	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:54	3950	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863442 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:54	3950	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:54	3950	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863442
2023-10-13	13:33:54	3951	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:54	3951	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:54	3951	[DEBUG]	Use field value for field taille
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:54	3951	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:54	3951	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:54	3951	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:54	3951	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:54	3951	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:54	3951	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:54	3951	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:54	3951	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:54	3951	[DEBUG]	Use field value for field published
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:54	3951	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field override
2023-10-13	13:33:54	3951	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:54	3951	[DEBUG]	Use field value for field slug
2023-10-13	13:33:54	3951	[DEBUG]	Process line 3951
2023-10-13	13:33:54	3951	[DEBUG]	Load a row
2023-10-13	13:33:54	3951	[DEBUG]	Processing item: 4524667646297
2023-10-13	13:33:54	3951	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:54	3951	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:54	3951	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6972_1'
2023-10-13	13:33:54	3951	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:54	3951	[DEBUG]	Processing product tax
2023-10-13	13:33:54	3951	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:54	3951	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:54	3951	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:54	3951	[DEBUG]	Query for Product
2023-10-13	13:33:54	3951	[DEBUG]	Executed store
2023-10-13	13:33:54	3951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863442','4524667646297','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:54	3951	[DEBUG]	No parent found
2023-10-13	13:33:54	3951	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863442 AND customfield_value = 'stockable'
2023-10-13	13:33:54	3951	[DEBUG]	Check product language entry
2023-10-13	13:33:54	3951	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863443
2023-10-13	13:33:54	3951	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:54	3951	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667646297' AND `virtuemart_product_id` != 1863443
2023-10-13	13:33:54	3951	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:54	3951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863443, '4524667646297')
2023-10-13	13:33:54	3951	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:54	3951	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-pd-r8000-ultegra-carbone-noir-all' AND `virtuemart_product_id` != 1863443
2023-10-13	13:33:54	3951	[DEBUG]	Query for ProductLang
2023-10-13	13:33:54	3951	[DEBUG]	Executed store
2023-10-13	13:33:54	3951	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pédales PD-R8000 Ultegra Carbone / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-pd-r8000-ultegra-carbone-noir-all' WHERE `virtuemart_product_id` = '1863443'
2023-10-13	13:33:54	3951	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34109_shimano_pedales_105_pd-r8000_ultegra_carbone.jpg
2023-10-13	13:33:54	3951	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:54	3951	[DEBUG]	Process image file
2023-10-13	13:33:54	3951	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:54	3951	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:54	3951	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34109_shimano_pedales_105_pd-r8000_ultegra_carbone.jpg
2023-10-13	13:33:54	3951	[DEBUG]	Full name target: bcprisme/34109_shimano_pedales_105_pd-r8000_ultegra_carbone.jpg
2023-10-13	13:33:55	3951	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:55	3951	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34109_shimano_pedales_105_pd-r8000_ultegra_carbone.jpg'
2023-10-13	13:33:55	3951	[DEBUG]	Query for Media
2023-10-13	13:33:55	3951	[DEBUG]	Executed store
2023-10-13	13:33:55	3951	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34109_shimano_pedales_105_pd-r8000_ultegra_carbone.jpg',`file_url_thumb`='bcprisme/34109_shimano_pedales_105_pd-r8000_ultegra_carbone.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16604'
2023-10-13	13:33:55	3951	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:55	3951	[DEBUG]	Executed store
2023-10-13	13:33:55	3951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863443','16604','1')
2023-10-13	13:33:55	3951	[DEBUG]	Store product image relation
2023-10-13	13:33:55	3951	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:55	3951	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863443 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:55	3951	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:55	3951	[DEBUG]	Executed store
2023-10-13	13:33:55	3951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863443','0','167.038068709378','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:55	3951	[DEBUG]	Checking manufacturer
2023-10-13	13:33:55	3951	[DEBUG]	Load a row
2023-10-13	13:33:55	3951	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:55	3951	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:55	3951	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:55	3951	[DEBUG]	Executed store
2023-10-13	13:33:55	3951	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:55	3951	[DEBUG]	Manufacturer exists
2023-10-13	13:33:55	3951	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:33:55	3951	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:55	3951	[DEBUG]	Executed store
2023-10-13	13:33:55	3951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863443','26')
2023-10-13	13:33:55	3951	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:55	3951	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:55	3951	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863443 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:55	3951	[DEBUG]	Store custom available field
2023-10-13	13:33:55	3951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863443,3,'',1)
2023-10-13	13:33:55	3951	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:55	3951	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:33:55	3951	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863443 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:55	3951	[DEBUG]	Store custom available field
2023-10-13	13:33:55	3951	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863443,6,'All',3)
2023-10-13	13:33:55	3951	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:55	3951	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:55	3951	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863442
2023-10-13	13:33:55	3951	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:55	3951	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863442\":[1863442,8,1,\"choisir la taille\"],\"1863443\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863442
2023-10-13	13:33:55	3951	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:55	3951	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863443
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:55	3952	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field taille
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:55	3952	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:55	3952	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:55	3952	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:55	3952	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:55	3952	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:55	3952	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field published
2023-10-13	13:33:55	3952	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:55	3952	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field override
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:55	3952	[DEBUG]	Use field value for field slug
2023-10-13	13:33:55	3952	[DEBUG]	Process line 3952
2023-10-13	13:33:55	3952	[DEBUG]	Load a row
2023-10-13	13:33:55	3952	[DEBUG]	Processing item: A_7097_16
2023-10-13	13:33:55	3952	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:55	3952	[DEBUG]	Processing product tax
2023-10-13	13:33:55	3952	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:55	3952	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:55	3952	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:55	3952	[DEBUG]	Query for Product
2023-10-13	13:33:55	3952	[DEBUG]	Executed store
2023-10-13	13:33:55	3952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7097_16','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:55	3952	[DEBUG]	Check product language entry
2023-10-13	13:33:55	3952	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863444
2023-10-13	13:33:55	3952	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:55	3952	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7097_16' AND `virtuemart_product_id` != 1863444
2023-10-13	13:33:55	3952	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:55	3952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863444, 'A_7097_16')
2023-10-13	13:33:55	3952	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:55	3952	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-pd-es600-avec-sm-sh51-gris' AND `virtuemart_product_id` != 1863444
2023-10-13	13:33:55	3952	[DEBUG]	Query for ProductLang
2023-10-13	13:33:55	3952	[DEBUG]	Executed store
2023-10-13	13:33:55	3952	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.72112',`product_name`='SHIMANO Pédales PD-ES600 avec SM-SH51 / Gris',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-pd-es600-avec-sm-sh51-gris' WHERE `virtuemart_product_id` = '1863444'
2023-10-13	13:33:55	3952	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34253_shimano_pedales_pd-es600_avec_sm-sh51.jpg
2023-10-13	13:33:55	3952	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:55	3952	[DEBUG]	Process image file
2023-10-13	13:33:55	3952	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:55	3952	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:55	3952	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34253_shimano_pedales_pd-es600_avec_sm-sh51.jpg
2023-10-13	13:33:55	3952	[DEBUG]	Full name target: bcprisme/34253_shimano_pedales_pd-es600_avec_sm-sh51.jpg
2023-10-13	13:33:56	3952	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:56	3952	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34253_shimano_pedales_pd-es600_avec_sm-sh51.jpg'
2023-10-13	13:33:56	3952	[DEBUG]	Query for Media
2023-10-13	13:33:56	3952	[DEBUG]	Executed store
2023-10-13	13:33:56	3952	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34253_shimano_pedales_pd-es600_avec_sm-sh51.jpg',`file_url_thumb`='bcprisme/34253_shimano_pedales_pd-es600_avec_sm-sh51.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '112380'
2023-10-13	13:33:56	3952	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:56	3952	[DEBUG]	Executed store
2023-10-13	13:33:56	3952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863444','112380','1')
2023-10-13	13:33:56	3952	[DEBUG]	Store product image relation
2023-10-13	13:33:56	3952	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:56	3952	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863444 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:56	3952	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:56	3952	[DEBUG]	Executed store
2023-10-13	13:33:56	3952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863444','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:56	3952	[DEBUG]	Checking manufacturer
2023-10-13	13:33:56	3952	[DEBUG]	Load a row
2023-10-13	13:33:56	3952	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:56	3952	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:56	3952	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:56	3952	[DEBUG]	Executed store
2023-10-13	13:33:56	3952	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:56	3952	[DEBUG]	Manufacturer exists
2023-10-13	13:33:56	3952	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:33:56	3952	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:56	3952	[DEBUG]	Executed store
2023-10-13	13:33:56	3952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863444','26')
2023-10-13	13:33:56	3952	[DEBUG]	Find the custom field ID
2023-10-13	13:33:56	3952	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:56	3952	[DEBUG]	No custom field ID found
2023-10-13	13:33:56	3952	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:56	3952	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:33:56	3952	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863444 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:56	3952	[DEBUG]	Store custom available field
2023-10-13	13:33:56	3952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863444,3,'0',1)
2023-10-13	13:33:56	3952	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:56	3952	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:56	3952	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863444 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:56	3952	[DEBUG]	Store custom available field
2023-10-13	13:33:56	3952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863444,6,'choisir la taille',3)
2023-10-13	13:33:56	3952	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:56	3952	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:56	3952	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:56	3952	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:56	3952	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863444 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:56	3952	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:56	3952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863444,8,1)
2023-10-13	13:33:56	3952	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:56	3952	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863444\":[1863444,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863444
2023-10-13	13:33:56	3952	[DEBUG]	Checking category
2023-10-13	13:33:56	3952	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:56	3952	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863444
2023-10-13	13:33:56	3952	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:56	3952	[DEBUG]	Executed store
2023-10-13	13:33:56	3952	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863444','7391')
2023-10-13	13:33:56	3952	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:56	3952	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863444 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:56	3952	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:56	3952	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863444
2023-10-13	13:33:56	3953	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:56	3953	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:56	3953	[DEBUG]	Use field value for field taille
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:56	3953	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:56	3953	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:56	3953	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:56	3953	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:56	3953	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:56	3953	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:56	3953	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:56	3953	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:56	3953	[DEBUG]	Use field value for field published
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:56	3953	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field override
2023-10-13	13:33:56	3953	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:56	3953	[DEBUG]	Use field value for field slug
2023-10-13	13:33:56	3953	[DEBUG]	Process line 3953
2023-10-13	13:33:56	3953	[DEBUG]	Load a row
2023-10-13	13:33:56	3953	[DEBUG]	Processing item: 4524667867562
2023-10-13	13:33:56	3953	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:56	3953	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:56	3953	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7097_16'
2023-10-13	13:33:56	3953	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:56	3953	[DEBUG]	Processing product tax
2023-10-13	13:33:56	3953	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:56	3953	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:56	3953	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:56	3953	[DEBUG]	Query for Product
2023-10-13	13:33:56	3953	[DEBUG]	Executed store
2023-10-13	13:33:56	3953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863444','4524667867562','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:56	3953	[DEBUG]	No parent found
2023-10-13	13:33:56	3953	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863444 AND customfield_value = 'stockable'
2023-10-13	13:33:56	3953	[DEBUG]	Check product language entry
2023-10-13	13:33:56	3953	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863445
2023-10-13	13:33:56	3953	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:56	3953	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667867562' AND `virtuemart_product_id` != 1863445
2023-10-13	13:33:56	3953	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:56	3953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863445, '4524667867562')
2023-10-13	13:33:56	3953	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:56	3953	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-pd-es600-avec-sm-sh51-gris-all' AND `virtuemart_product_id` != 1863445
2023-10-13	13:33:56	3953	[DEBUG]	Query for ProductLang
2023-10-13	13:33:56	3953	[DEBUG]	Executed store
2023-10-13	13:33:56	3953	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pédales PD-ES600 avec SM-SH51 / Gris (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-pd-es600-avec-sm-sh51-gris-all' WHERE `virtuemart_product_id` = '1863445'
2023-10-13	13:33:56	3953	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34253_shimano_pedales_pd-es600_avec_sm-sh51.jpg
2023-10-13	13:33:56	3953	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:56	3953	[DEBUG]	Process image file
2023-10-13	13:33:56	3953	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:56	3953	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:56	3953	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34253_shimano_pedales_pd-es600_avec_sm-sh51.jpg
2023-10-13	13:33:56	3953	[DEBUG]	Full name target: bcprisme/34253_shimano_pedales_pd-es600_avec_sm-sh51.jpg
2023-10-13	13:33:57	3953	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:57	3953	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34253_shimano_pedales_pd-es600_avec_sm-sh51.jpg'
2023-10-13	13:33:57	3953	[DEBUG]	Query for Media
2023-10-13	13:33:57	3953	[DEBUG]	Executed store
2023-10-13	13:33:57	3953	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34253_shimano_pedales_pd-es600_avec_sm-sh51.jpg',`file_url_thumb`='bcprisme/34253_shimano_pedales_pd-es600_avec_sm-sh51.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '112380'
2023-10-13	13:33:57	3953	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:57	3953	[DEBUG]	Executed store
2023-10-13	13:33:57	3953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863445','112380','1')
2023-10-13	13:33:57	3953	[DEBUG]	Store product image relation
2023-10-13	13:33:57	3953	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:57	3953	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863445 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:57	3953	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:57	3953	[DEBUG]	Executed store
2023-10-13	13:33:57	3953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863445','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:57	3953	[DEBUG]	Checking manufacturer
2023-10-13	13:33:57	3953	[DEBUG]	Load a row
2023-10-13	13:33:57	3953	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:57	3953	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:57	3953	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:57	3953	[DEBUG]	Executed store
2023-10-13	13:33:57	3953	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:33:57	3953	[DEBUG]	Manufacturer exists
2023-10-13	13:33:57	3953	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:33:57	3953	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:57	3953	[DEBUG]	Executed store
2023-10-13	13:33:57	3953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863445','26')
2023-10-13	13:33:57	3953	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:57	3953	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:57	3953	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863445 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:57	3953	[DEBUG]	Store custom available field
2023-10-13	13:33:57	3953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863445,3,'',1)
2023-10-13	13:33:57	3953	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:57	3953	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:33:57	3953	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863445 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:57	3953	[DEBUG]	Store custom available field
2023-10-13	13:33:57	3953	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863445,6,'All',3)
2023-10-13	13:33:57	3953	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:57	3953	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:57	3953	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863444
2023-10-13	13:33:57	3953	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:57	3953	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863444\":[1863444,8,1,\"choisir la taille\"],\"1863445\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863444
2023-10-13	13:33:57	3953	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:57	3953	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863445
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:57	3954	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field taille
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:57	3954	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:57	3954	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:57	3954	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:57	3954	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:57	3954	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:57	3954	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field published
2023-10-13	13:33:57	3954	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:57	3954	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field override
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:57	3954	[DEBUG]	Use field value for field slug
2023-10-13	13:33:57	3954	[DEBUG]	Process line 3954
2023-10-13	13:33:57	3954	[DEBUG]	Load a row
2023-10-13	13:33:57	3954	[DEBUG]	Processing item: A_7258_1
2023-10-13	13:33:57	3954	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:57	3954	[DEBUG]	Processing product tax
2023-10-13	13:33:57	3954	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:57	3954	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:57	3954	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:57	3954	[DEBUG]	Query for Product
2023-10-13	13:33:57	3954	[DEBUG]	Executed store
2023-10-13	13:33:57	3954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7258_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:57	3954	[DEBUG]	Check product language entry
2023-10-13	13:33:57	3954	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863446
2023-10-13	13:33:57	3954	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:57	3954	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7258_1' AND `virtuemart_product_id` != 1863446
2023-10-13	13:33:57	3954	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:57	3954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863446, 'A_7258_1')
2023-10-13	13:33:57	3954	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:57	3954	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-deore-xt-pd-m8100-avec-cales-xc-race-noir' AND `virtuemart_product_id` != 1863446
2023-10-13	13:33:57	3954	[DEBUG]	Query for ProductLang
2023-10-13	13:33:57	3954	[DEBUG]	Executed store
2023-10-13	13:33:57	3954	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.75172',`product_name`='SHIMANO Pédales Deore XT PD-M8100 avec câles XC Race / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-deore-xt-pd-m8100-avec-cales-xc-race-noir' WHERE `virtuemart_product_id` = '1863446'
2023-10-13	13:33:57	3954	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34442_shimano_pedales_deore_xt_pd-m8100_avec_celes_xc_race.jpg
2023-10-13	13:33:57	3954	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:57	3954	[DEBUG]	Process image file
2023-10-13	13:33:57	3954	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:57	3954	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:57	3954	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34442_shimano_pedales_deore_xt_pd-m8100_avec_celes_xc_race.jpg
2023-10-13	13:33:57	3954	[DEBUG]	Full name target: bcprisme/34442_shimano_pedales_deore_xt_pd-m8100_avec_celes_xc_race.jpg
2023-10-13	13:33:58	3954	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:58	3954	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34442_shimano_pedales_deore_xt_pd-m8100_avec_celes_xc_race.jpg'
2023-10-13	13:33:58	3954	[DEBUG]	Query for Media
2023-10-13	13:33:58	3954	[DEBUG]	Executed store
2023-10-13	13:33:58	3954	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34442_shimano_pedales_deore_xt_pd-m8100_avec_celes_xc_race.jpg',`file_url_thumb`='bcprisme/34442_shimano_pedales_deore_xt_pd-m8100_avec_celes_xc_race.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147557'
2023-10-13	13:33:58	3954	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:58	3954	[DEBUG]	Executed store
2023-10-13	13:33:58	3954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863446','147557','1')
2023-10-13	13:33:58	3954	[DEBUG]	Store product image relation
2023-10-13	13:33:58	3954	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:58	3954	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863446 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:58	3954	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:58	3954	[DEBUG]	Executed store
2023-10-13	13:33:58	3954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863446','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:58	3954	[DEBUG]	Checking manufacturer
2023-10-13	13:33:58	3954	[DEBUG]	Load a row
2023-10-13	13:33:58	3954	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:58	3954	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:58	3954	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:58	3954	[DEBUG]	Executed store
2023-10-13	13:33:58	3954	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:58	3954	[DEBUG]	Manufacturer exists
2023-10-13	13:33:58	3954	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:33:58	3954	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:58	3954	[DEBUG]	Executed store
2023-10-13	13:33:58	3954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863446','123')
2023-10-13	13:33:58	3954	[DEBUG]	Find the custom field ID
2023-10-13	13:33:58	3954	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:33:58	3954	[DEBUG]	No custom field ID found
2023-10-13	13:33:58	3954	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:58	3954	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:33:58	3954	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863446 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:58	3954	[DEBUG]	Store custom available field
2023-10-13	13:33:58	3954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863446,3,'0',1)
2023-10-13	13:33:58	3954	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:58	3954	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:33:58	3954	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863446 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:58	3954	[DEBUG]	Store custom available field
2023-10-13	13:33:58	3954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863446,6,'choisir la taille',3)
2023-10-13	13:33:58	3954	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:58	3954	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:33:58	3954	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:33:58	3954	[DEBUG]	Find the multi variant product entry
2023-10-13	13:33:58	3954	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863446 AND `virtuemart_custom_id` = 8
2023-10-13	13:33:58	3954	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:33:58	3954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863446,8,1)
2023-10-13	13:33:58	3954	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:58	3954	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863446\":[1863446,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863446
2023-10-13	13:33:58	3954	[DEBUG]	Checking category
2023-10-13	13:33:58	3954	[DEBUG]	Get the existing categories for the product
2023-10-13	13:33:58	3954	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863446
2023-10-13	13:33:58	3954	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:33:58	3954	[DEBUG]	Executed store
2023-10-13	13:33:58	3954	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863446','7391')
2023-10-13	13:33:58	3954	[DEBUG]	Delete leftover product categories
2023-10-13	13:33:58	3954	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863446 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:33:58	3954	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:58	3954	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863446
2023-10-13	13:33:58	3955	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:58	3955	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:33:58	3955	[DEBUG]	Use field value for field taille
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:33:58	3955	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field category_path
2023-10-13	13:33:58	3955	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:58	3955	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:58	3955	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:58	3955	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:33:58	3955	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field product_weight
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:58	3955	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:58	3955	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:58	3955	[DEBUG]	Use field value for field published
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field custom_title
2023-10-13	13:33:58	3955	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field custom_param
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field override
2023-10-13	13:33:58	3955	[DEBUG]	Use default value for field public_price
2023-10-13	13:33:58	3955	[DEBUG]	Use field value for field slug
2023-10-13	13:33:58	3955	[DEBUG]	Process line 3955
2023-10-13	13:33:58	3955	[DEBUG]	Load a row
2023-10-13	13:33:58	3955	[DEBUG]	Processing item: 4550170444181
2023-10-13	13:33:58	3955	[DEBUG]	Looking for parent SKU
2023-10-13	13:33:58	3955	[DEBUG]	Checking product parent SKU
2023-10-13	13:33:58	3955	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7258_1'
2023-10-13	13:33:58	3955	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:58	3955	[DEBUG]	Processing product tax
2023-10-13	13:33:58	3955	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:58	3955	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:58	3955	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:58	3955	[DEBUG]	Query for Product
2023-10-13	13:33:58	3955	[DEBUG]	Executed store
2023-10-13	13:33:58	3955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863446','4550170444181','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:58	3955	[DEBUG]	No parent found
2023-10-13	13:33:58	3955	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863446 AND customfield_value = 'stockable'
2023-10-13	13:33:58	3955	[DEBUG]	Check product language entry
2023-10-13	13:33:58	3955	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863447
2023-10-13	13:33:58	3955	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:58	3955	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170444181' AND `virtuemart_product_id` != 1863447
2023-10-13	13:33:58	3955	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:58	3955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863447, '4550170444181')
2023-10-13	13:33:58	3955	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:58	3955	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-deore-xt-pd-m8100-avec-cales-xc-race-noir-all' AND `virtuemart_product_id` != 1863447
2023-10-13	13:33:58	3955	[DEBUG]	Query for ProductLang
2023-10-13	13:33:58	3955	[DEBUG]	Executed store
2023-10-13	13:33:58	3955	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pédales Deore XT PD-M8100 avec câles XC Race / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-deore-xt-pd-m8100-avec-cales-xc-race-noir-all' WHERE `virtuemart_product_id` = '1863447'
2023-10-13	13:33:58	3955	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34442_shimano_pedales_deore_xt_pd-m8100_avec_celes_xc_race.jpg
2023-10-13	13:33:58	3955	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:58	3955	[DEBUG]	Process image file
2023-10-13	13:33:58	3955	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:58	3955	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:58	3955	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34442_shimano_pedales_deore_xt_pd-m8100_avec_celes_xc_race.jpg
2023-10-13	13:33:58	3955	[DEBUG]	Full name target: bcprisme/34442_shimano_pedales_deore_xt_pd-m8100_avec_celes_xc_race.jpg
2023-10-13	13:33:59	3955	[DEBUG]	Checking if the file_url exists
2023-10-13	13:33:59	3955	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34442_shimano_pedales_deore_xt_pd-m8100_avec_celes_xc_race.jpg'
2023-10-13	13:33:59	3955	[DEBUG]	Query for Media
2023-10-13	13:33:59	3955	[DEBUG]	Executed store
2023-10-13	13:33:59	3955	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34442_shimano_pedales_deore_xt_pd-m8100_avec_celes_xc_race.jpg',`file_url_thumb`='bcprisme/34442_shimano_pedales_deore_xt_pd-m8100_avec_celes_xc_race.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147557'
2023-10-13	13:33:59	3955	[DEBUG]	Query for ProductMedia
2023-10-13	13:33:59	3955	[DEBUG]	Executed store
2023-10-13	13:33:59	3955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863447','147557','1')
2023-10-13	13:33:59	3955	[DEBUG]	Store product image relation
2023-10-13	13:33:59	3955	[DEBUG]	Finding a product_price_id
2023-10-13	13:33:59	3955	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863447 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:33:59	3955	[DEBUG]	Query for ProductPrice
2023-10-13	13:33:59	3955	[DEBUG]	Executed store
2023-10-13	13:33:59	3955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863447','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:33:59	3955	[DEBUG]	Checking manufacturer
2023-10-13	13:33:59	3955	[DEBUG]	Load a row
2023-10-13	13:33:59	3955	[DEBUG]	Manufacturer already exists
2023-10-13	13:33:59	3955	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:59	3955	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:33:59	3955	[DEBUG]	Executed store
2023-10-13	13:33:59	3955	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:33:59	3955	[DEBUG]	Manufacturer exists
2023-10-13	13:33:59	3955	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:33:59	3955	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:33:59	3955	[DEBUG]	Executed store
2023-10-13	13:33:59	3955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863447','123')
2023-10-13	13:33:59	3955	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:33:59	3955	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:33:59	3955	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863447 AND `virtuemart_custom_id` = 3
2023-10-13	13:33:59	3955	[DEBUG]	Store custom available field
2023-10-13	13:33:59	3955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863447,3,'',1)
2023-10-13	13:33:59	3955	[DEBUG]	Processing custom available field: taille
2023-10-13	13:33:59	3955	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:33:59	3955	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863447 AND `virtuemart_custom_id` = 6
2023-10-13	13:33:59	3955	[DEBUG]	Store custom available field
2023-10-13	13:33:59	3955	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863447,6,'All',3)
2023-10-13	13:33:59	3955	[DEBUG]	Process multi-variant fields
2023-10-13	13:33:59	3955	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:33:59	3955	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863446
2023-10-13	13:33:59	3955	[DEBUG]	Store the updated customfield_params
2023-10-13	13:33:59	3955	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863446\":[1863446,8,1,\"choisir la taille\"],\"1863447\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863446
2023-10-13	13:33:59	3955	[DEBUG]	Update has fields after all processing
2023-10-13	13:33:59	3955	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863447
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field product_sku
2023-10-13	13:33:59	3956	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field taille
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field product_name
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field category_path
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field product_price
2023-10-13	13:33:59	3956	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field product_tax
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field file_url
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:33:59	3956	[DEBUG]	Use default value for field product_desc
2023-10-13	13:33:59	3956	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field product_availability
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field product_weight
2023-10-13	13:33:59	3956	[DEBUG]	Use default value for field product_unit
2023-10-13	13:33:59	3956	[DEBUG]	Use default value for field related_products
2023-10-13	13:33:59	3956	[DEBUG]	Use default value for field product_special
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field published
2023-10-13	13:33:59	3956	[DEBUG]	Use default value for field metadesc
2023-10-13	13:33:59	3956	[DEBUG]	Use default value for field metakey
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field custom_title
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field custom_value
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field custom_param
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field override
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field public_price
2023-10-13	13:33:59	3956	[DEBUG]	Use field value for field slug
2023-10-13	13:33:59	3956	[DEBUG]	Process line 3956
2023-10-13	13:33:59	3956	[DEBUG]	Load a row
2023-10-13	13:33:59	3956	[DEBUG]	Processing item: A_7259_1
2023-10-13	13:33:59	3956	[DEBUG]	Product tax: 7.7
2023-10-13	13:33:59	3956	[DEBUG]	Processing product tax
2023-10-13	13:33:59	3956	[DEBUG]	Check if calculation rule exists
2023-10-13	13:33:59	3956	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:33:59	3956	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:33:59	3956	[DEBUG]	Query for Product
2023-10-13	13:33:59	3956	[DEBUG]	Executed store
2023-10-13	13:33:59	3956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7259_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:33:59	3956	[DEBUG]	Check product language entry
2023-10-13	13:33:59	3956	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863448
2023-10-13	13:33:59	3956	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:59	3956	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7259_1' AND `virtuemart_product_id` != 1863448
2023-10-13	13:33:59	3956	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:33:59	3956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863448, 'A_7259_1')
2023-10-13	13:33:59	3956	[DEBUG]	Check if the product slug exists
2023-10-13	13:33:59	3956	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-deore-xtr-pd-m9100-avec-cales-xc-race-noir' AND `virtuemart_product_id` != 1863448
2023-10-13	13:33:59	3956	[DEBUG]	Query for ProductLang
2023-10-13	13:33:59	3956	[DEBUG]	Executed store
2023-10-13	13:33:59	3956	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.72562',`product_name`='SHIMANO Pédales Deore XTR PD-M9100 avec câles XC Race / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-deore-xtr-pd-m9100-avec-cales-xc-race-noir' WHERE `virtuemart_product_id` = '1863448'
2023-10-13	13:33:59	3956	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34443_shimano_pedales_deore_xtr_pd-m9100_avec_celes_xc_race_(copie).jpg
2023-10-13	13:33:59	3956	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:59	3956	[DEBUG]	Process image file
2023-10-13	13:33:59	3956	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:33:59	3956	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:33:59	3956	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34443_shimano_pedales_deore_xtr_pd-m9100_avec_celes_xc_race_(copie).jpg
2023-10-13	13:33:59	3956	[DEBUG]	Full name target: bcprisme/34443_shimano_pedales_deore_xtr_pd-m9100_avec_celes_xc_race_(copie).jpg
2023-10-13	13:34:00	3956	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:00	3956	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34443_shimano_pedales_deore_xtr_pd-m9100_avec_celes_xc_race_(copie).jpg'
2023-10-13	13:34:00	3956	[DEBUG]	Query for Media
2023-10-13	13:34:00	3956	[DEBUG]	Executed store
2023-10-13	13:34:00	3956	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34443_shimano_pedales_deore_xtr_pd-m9100_avec_celes_xc_race_(copie).jpg',`file_url_thumb`='bcprisme/34443_shimano_pedales_deore_xtr_pd-m9100_avec_celes_xc_race_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147559'
2023-10-13	13:34:00	3956	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:00	3956	[DEBUG]	Executed store
2023-10-13	13:34:00	3956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863448','147559','1')
2023-10-13	13:34:00	3956	[DEBUG]	Store product image relation
2023-10-13	13:34:00	3956	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:00	3956	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863448 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:00	3956	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:00	3956	[DEBUG]	Executed store
2023-10-13	13:34:00	3956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863448','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:00	3956	[DEBUG]	Checking manufacturer
2023-10-13	13:34:00	3956	[DEBUG]	Load a row
2023-10-13	13:34:00	3956	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:00	3956	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:34:00	3956	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:00	3956	[DEBUG]	Executed store
2023-10-13	13:34:00	3956	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:34:00	3956	[DEBUG]	Manufacturer exists
2023-10-13	13:34:00	3956	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:34:00	3956	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:00	3956	[DEBUG]	Executed store
2023-10-13	13:34:00	3956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863448','123')
2023-10-13	13:34:00	3956	[DEBUG]	Find the custom field ID
2023-10-13	13:34:00	3956	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:00	3956	[DEBUG]	No custom field ID found
2023-10-13	13:34:00	3956	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:00	3956	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:00	3956	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863448 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:00	3956	[DEBUG]	Store custom available field
2023-10-13	13:34:00	3956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863448,3,'0',1)
2023-10-13	13:34:00	3956	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:00	3956	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:00	3956	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863448 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:00	3956	[DEBUG]	Store custom available field
2023-10-13	13:34:00	3956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863448,6,'choisir la taille',3)
2023-10-13	13:34:00	3956	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:00	3956	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:00	3956	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:00	3956	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:00	3956	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863448 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:00	3956	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:00	3956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863448,8,1)
2023-10-13	13:34:00	3956	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:00	3956	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863448\":[1863448,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863448
2023-10-13	13:34:00	3956	[DEBUG]	Checking category
2023-10-13	13:34:00	3956	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:00	3956	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863448
2023-10-13	13:34:00	3956	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:00	3956	[DEBUG]	Executed store
2023-10-13	13:34:00	3956	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863448','7391')
2023-10-13	13:34:00	3956	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:00	3956	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863448 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:34:00	3956	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:00	3956	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863448
2023-10-13	13:34:00	3957	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:00	3957	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:00	3957	[DEBUG]	Use field value for field taille
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:00	3957	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:00	3957	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:00	3957	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:00	3957	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:00	3957	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:00	3957	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:00	3957	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:00	3957	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:00	3957	[DEBUG]	Use field value for field published
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:00	3957	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field override
2023-10-13	13:34:00	3957	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:00	3957	[DEBUG]	Use field value for field slug
2023-10-13	13:34:00	3957	[DEBUG]	Process line 3957
2023-10-13	13:34:00	3957	[DEBUG]	Load a row
2023-10-13	13:34:00	3957	[DEBUG]	Processing item: 4524667945222
2023-10-13	13:34:00	3957	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:00	3957	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:00	3957	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7259_1'
2023-10-13	13:34:00	3957	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:00	3957	[DEBUG]	Processing product tax
2023-10-13	13:34:00	3957	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:00	3957	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:00	3957	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:00	3957	[DEBUG]	Query for Product
2023-10-13	13:34:00	3957	[DEBUG]	Executed store
2023-10-13	13:34:00	3957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863448','4524667945222','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:00	3957	[DEBUG]	No parent found
2023-10-13	13:34:00	3957	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863448 AND customfield_value = 'stockable'
2023-10-13	13:34:00	3957	[DEBUG]	Check product language entry
2023-10-13	13:34:00	3957	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863449
2023-10-13	13:34:00	3957	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:00	3957	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667945222' AND `virtuemart_product_id` != 1863449
2023-10-13	13:34:00	3957	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:00	3957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863449, '4524667945222')
2023-10-13	13:34:00	3957	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:00	3957	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-deore-xtr-pd-m9100-avec-cales-xc-race-noir-all' AND `virtuemart_product_id` != 1863449
2023-10-13	13:34:00	3957	[DEBUG]	Query for ProductLang
2023-10-13	13:34:00	3957	[DEBUG]	Executed store
2023-10-13	13:34:00	3957	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pédales Deore XTR PD-M9100 avec câles XC Race / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-deore-xtr-pd-m9100-avec-cales-xc-race-noir-all' WHERE `virtuemart_product_id` = '1863449'
2023-10-13	13:34:00	3957	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34443_shimano_pedales_deore_xtr_pd-m9100_avec_celes_xc_race_(copie).jpg
2023-10-13	13:34:00	3957	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:00	3957	[DEBUG]	Process image file
2023-10-13	13:34:00	3957	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:00	3957	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:00	3957	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34443_shimano_pedales_deore_xtr_pd-m9100_avec_celes_xc_race_(copie).jpg
2023-10-13	13:34:00	3957	[DEBUG]	Full name target: bcprisme/34443_shimano_pedales_deore_xtr_pd-m9100_avec_celes_xc_race_(copie).jpg
2023-10-13	13:34:01	3957	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:01	3957	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34443_shimano_pedales_deore_xtr_pd-m9100_avec_celes_xc_race_(copie).jpg'
2023-10-13	13:34:01	3957	[DEBUG]	Query for Media
2023-10-13	13:34:01	3957	[DEBUG]	Executed store
2023-10-13	13:34:01	3957	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34443_shimano_pedales_deore_xtr_pd-m9100_avec_celes_xc_race_(copie).jpg',`file_url_thumb`='bcprisme/34443_shimano_pedales_deore_xtr_pd-m9100_avec_celes_xc_race_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147559'
2023-10-13	13:34:01	3957	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:01	3957	[DEBUG]	Executed store
2023-10-13	13:34:01	3957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863449','147559','1')
2023-10-13	13:34:01	3957	[DEBUG]	Store product image relation
2023-10-13	13:34:01	3957	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:01	3957	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863449 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:01	3957	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:01	3957	[DEBUG]	Executed store
2023-10-13	13:34:01	3957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863449','0','157.753017641597','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:01	3957	[DEBUG]	Checking manufacturer
2023-10-13	13:34:01	3957	[DEBUG]	Load a row
2023-10-13	13:34:01	3957	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:01	3957	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:34:01	3957	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:01	3957	[DEBUG]	Executed store
2023-10-13	13:34:01	3957	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:34:01	3957	[DEBUG]	Manufacturer exists
2023-10-13	13:34:01	3957	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:34:01	3957	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:01	3957	[DEBUG]	Executed store
2023-10-13	13:34:01	3957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863449','123')
2023-10-13	13:34:01	3957	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:01	3957	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:01	3957	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863449 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:01	3957	[DEBUG]	Store custom available field
2023-10-13	13:34:01	3957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863449,3,'',1)
2023-10-13	13:34:01	3957	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:01	3957	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:34:01	3957	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863449 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:01	3957	[DEBUG]	Store custom available field
2023-10-13	13:34:01	3957	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863449,6,'All',3)
2023-10-13	13:34:01	3957	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:01	3957	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:01	3957	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863448
2023-10-13	13:34:01	3957	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:01	3957	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863448\":[1863448,8,1,\"choisir la taille\"],\"1863449\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863448
2023-10-13	13:34:01	3957	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:01	3957	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863449
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:01	3958	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field taille
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:01	3958	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:01	3958	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:01	3958	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:01	3958	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:01	3958	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:01	3958	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field published
2023-10-13	13:34:01	3958	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:01	3958	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field override
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:01	3958	[DEBUG]	Use field value for field slug
2023-10-13	13:34:01	3958	[DEBUG]	Process line 3958
2023-10-13	13:34:01	3958	[DEBUG]	Load a row
2023-10-13	13:34:01	3958	[DEBUG]	Processing item: A_7277_4
2023-10-13	13:34:01	3958	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:01	3958	[DEBUG]	Processing product tax
2023-10-13	13:34:01	3958	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:01	3958	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:01	3958	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:01	3958	[DEBUG]	Query for Product
2023-10-13	13:34:01	3958	[DEBUG]	Executed store
2023-10-13	13:34:01	3958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7277_4','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:01	3958	[DEBUG]	Check product language entry
2023-10-13	13:34:01	3958	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863450
2023-10-13	13:34:01	3958	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:01	3958	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7277_4' AND `virtuemart_product_id` != 1863450
2023-10-13	13:34:01	3958	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:01	3958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863450, 'A_7277_4')
2023-10-13	13:34:01	3958	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:01	3958	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-wellgo-combi-wpd-m17c-acier' AND `virtuemart_product_id` != 1863450
2023-10-13	13:34:01	3958	[DEBUG]	Query for ProductLang
2023-10-13	13:34:01	3958	[DEBUG]	Executed store
2023-10-13	13:34:01	3958	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 17.213',`product_name`='SHIMANO Pédales Wellgo combi WPD-M17C / Acier',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-wellgo-combi-wpd-m17c-acier' WHERE `virtuemart_product_id` = '1863450'
2023-10-13	13:34:01	3958	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34463_pedales_wellgo_combi_wpd-m17c.jpg
2023-10-13	13:34:01	3958	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:01	3958	[DEBUG]	Process image file
2023-10-13	13:34:01	3958	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:01	3958	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:01	3958	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34463_pedales_wellgo_combi_wpd-m17c.jpg
2023-10-13	13:34:01	3958	[DEBUG]	Full name target: bcprisme/34463_pedales_wellgo_combi_wpd-m17c.jpg
2023-10-13	13:34:02	3958	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:02	3958	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34463_pedales_wellgo_combi_wpd-m17c.jpg'
2023-10-13	13:34:02	3958	[DEBUG]	Query for Media
2023-10-13	13:34:02	3958	[DEBUG]	Executed store
2023-10-13	13:34:02	3958	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34463_pedales_wellgo_combi_wpd-m17c.jpg',`file_url_thumb`='bcprisme/34463_pedales_wellgo_combi_wpd-m17c.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147563'
2023-10-13	13:34:02	3958	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:02	3958	[DEBUG]	Executed store
2023-10-13	13:34:02	3958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863450','147563','1')
2023-10-13	13:34:02	3958	[DEBUG]	Store product image relation
2023-10-13	13:34:02	3958	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:02	3958	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863450 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:02	3958	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:02	3958	[DEBUG]	Executed store
2023-10-13	13:34:02	3958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863450','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:02	3958	[DEBUG]	Checking manufacturer
2023-10-13	13:34:02	3958	[DEBUG]	Load a row
2023-10-13	13:34:02	3958	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:02	3958	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:34:02	3958	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:02	3958	[DEBUG]	Executed store
2023-10-13	13:34:02	3958	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:34:02	3958	[DEBUG]	Manufacturer exists
2023-10-13	13:34:02	3958	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:34:02	3958	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:02	3958	[DEBUG]	Executed store
2023-10-13	13:34:02	3958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863450','123')
2023-10-13	13:34:02	3958	[DEBUG]	Find the custom field ID
2023-10-13	13:34:02	3958	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:02	3958	[DEBUG]	No custom field ID found
2023-10-13	13:34:02	3958	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:02	3958	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:02	3958	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863450 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:02	3958	[DEBUG]	Store custom available field
2023-10-13	13:34:02	3958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863450,3,'0',1)
2023-10-13	13:34:02	3958	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:02	3958	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:02	3958	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863450 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:02	3958	[DEBUG]	Store custom available field
2023-10-13	13:34:02	3958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863450,6,'choisir la taille',3)
2023-10-13	13:34:02	3958	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:02	3958	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:02	3958	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:02	3958	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:02	3958	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863450 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:02	3958	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:02	3958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863450,8,1)
2023-10-13	13:34:02	3958	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:02	3958	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863450\":[1863450,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863450
2023-10-13	13:34:02	3958	[DEBUG]	Checking category
2023-10-13	13:34:02	3958	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:02	3958	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863450
2023-10-13	13:34:02	3958	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:02	3958	[DEBUG]	Executed store
2023-10-13	13:34:02	3958	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863450','7391')
2023-10-13	13:34:02	3958	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:02	3958	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863450 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:34:02	3958	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:02	3958	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863450
2023-10-13	13:34:02	3959	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:02	3959	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:02	3959	[DEBUG]	Use field value for field taille
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:02	3959	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:02	3959	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:02	3959	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:02	3959	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:02	3959	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:02	3959	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:02	3959	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:02	3959	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:02	3959	[DEBUG]	Use field value for field published
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:02	3959	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field override
2023-10-13	13:34:02	3959	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:02	3959	[DEBUG]	Use field value for field slug
2023-10-13	13:34:02	3959	[DEBUG]	Process line 3959
2023-10-13	13:34:02	3959	[DEBUG]	Load a row
2023-10-13	13:34:02	3959	[DEBUG]	Processing item: 1000000119442
2023-10-13	13:34:02	3959	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:02	3959	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:02	3959	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7277_4'
2023-10-13	13:34:02	3959	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:02	3959	[DEBUG]	Processing product tax
2023-10-13	13:34:02	3959	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:02	3959	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:02	3959	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:02	3959	[DEBUG]	Query for Product
2023-10-13	13:34:02	3959	[DEBUG]	Executed store
2023-10-13	13:34:02	3959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863450','1000000119442','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:02	3959	[DEBUG]	No parent found
2023-10-13	13:34:02	3959	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863450 AND customfield_value = 'stockable'
2023-10-13	13:34:02	3959	[DEBUG]	Check product language entry
2023-10-13	13:34:02	3959	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863451
2023-10-13	13:34:02	3959	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:02	3959	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000119442' AND `virtuemart_product_id` != 1863451
2023-10-13	13:34:02	3959	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:02	3959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863451, '1000000119442')
2023-10-13	13:34:02	3959	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:02	3959	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-wellgo-combi-wpd-m17c-acier-all' AND `virtuemart_product_id` != 1863451
2023-10-13	13:34:02	3959	[DEBUG]	Query for ProductLang
2023-10-13	13:34:02	3959	[DEBUG]	Executed store
2023-10-13	13:34:02	3959	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pédales Wellgo combi WPD-M17C / Acier (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-wellgo-combi-wpd-m17c-acier-all' WHERE `virtuemart_product_id` = '1863451'
2023-10-13	13:34:02	3959	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34463_pedales_wellgo_combi_wpd-m17c.jpg
2023-10-13	13:34:02	3959	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:02	3959	[DEBUG]	Process image file
2023-10-13	13:34:02	3959	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:02	3959	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:02	3959	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34463_pedales_wellgo_combi_wpd-m17c.jpg
2023-10-13	13:34:02	3959	[DEBUG]	Full name target: bcprisme/34463_pedales_wellgo_combi_wpd-m17c.jpg
2023-10-13	13:34:03	3959	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:03	3959	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34463_pedales_wellgo_combi_wpd-m17c.jpg'
2023-10-13	13:34:03	3959	[DEBUG]	Query for Media
2023-10-13	13:34:03	3959	[DEBUG]	Executed store
2023-10-13	13:34:03	3959	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34463_pedales_wellgo_combi_wpd-m17c.jpg',`file_url_thumb`='bcprisme/34463_pedales_wellgo_combi_wpd-m17c.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147563'
2023-10-13	13:34:03	3959	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:03	3959	[DEBUG]	Executed store
2023-10-13	13:34:03	3959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863451','147563','1')
2023-10-13	13:34:03	3959	[DEBUG]	Store product image relation
2023-10-13	13:34:03	3959	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:03	3959	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863451 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:03	3959	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:03	3959	[DEBUG]	Executed store
2023-10-13	13:34:03	3959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863451','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:03	3959	[DEBUG]	Checking manufacturer
2023-10-13	13:34:03	3959	[DEBUG]	Load a row
2023-10-13	13:34:03	3959	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:03	3959	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:34:03	3959	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:03	3959	[DEBUG]	Executed store
2023-10-13	13:34:03	3959	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33213000087' WHERE `virtuemart_manufacturer_id` = '123'
2023-10-13	13:34:03	3959	[DEBUG]	Manufacturer exists
2023-10-13	13:34:03	3959	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 123
2023-10-13	13:34:03	3959	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:03	3959	[DEBUG]	Executed store
2023-10-13	13:34:03	3959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863451','123')
2023-10-13	13:34:03	3959	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:03	3959	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:03	3959	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863451 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:03	3959	[DEBUG]	Store custom available field
2023-10-13	13:34:03	3959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863451,3,'',1)
2023-10-13	13:34:03	3959	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:03	3959	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:34:03	3959	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863451 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:03	3959	[DEBUG]	Store custom available field
2023-10-13	13:34:03	3959	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863451,6,'All',3)
2023-10-13	13:34:03	3959	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:03	3959	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:03	3959	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863450
2023-10-13	13:34:03	3959	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:03	3959	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863450\":[1863450,8,1,\"choisir la taille\"],\"1863451\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863450
2023-10-13	13:34:03	3959	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:03	3959	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863451
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:03	3960	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field taille
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:03	3960	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:03	3960	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:03	3960	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:03	3960	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:03	3960	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:03	3960	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field published
2023-10-13	13:34:03	3960	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:03	3960	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field override
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:03	3960	[DEBUG]	Use field value for field slug
2023-10-13	13:34:03	3960	[DEBUG]	Process line 3960
2023-10-13	13:34:03	3960	[DEBUG]	Load a row
2023-10-13	13:34:03	3960	[DEBUG]	Processing item: A_8414_1
2023-10-13	13:34:03	3960	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:03	3960	[DEBUG]	Processing product tax
2023-10-13	13:34:03	3960	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:03	3960	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:03	3960	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:03	3960	[DEBUG]	Query for Product
2023-10-13	13:34:03	3960	[DEBUG]	Executed store
2023-10-13	13:34:03	3960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8414_1','0.26','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:03	3960	[DEBUG]	Check product language entry
2023-10-13	13:34:03	3960	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863452
2023-10-13	13:34:03	3960	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:03	3960	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8414_1' AND `virtuemart_product_id` != 1863452
2023-10-13	13:34:03	3960	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:03	3960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863452, 'A_8414_1')
2023-10-13	13:34:03	3960	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:03	3960	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-plates-automatics-ng-pl-reflect-noir' AND `virtuemart_product_id` != 1863452
2023-10-13	13:34:03	3960	[DEBUG]	Query for ProductLang
2023-10-13	13:34:03	3960	[DEBUG]	Executed store
2023-10-13	13:34:03	3960	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir / Grise<br>ALUMINIO<br>0 g<br>Plate-forme et les pédales automatiques par MSC.<br><br><br>- Noir et argent<br><br>- Compatible avec footgear ordinaire et avec sistem SPD<br><br>- Comprend des réflecteurs latéraux réfléchissants<br>N° art fourn : ZP101S',`product_name`='MSC Pédales  PLATES/AUTOMATICS  NG/PL REFLECT / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-plates-automatics-ng-pl-reflect-noir' WHERE `virtuemart_product_id` = '1863452'
2023-10-13	13:34:03	3960	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37080_pedales_msc_.jpg
2023-10-13	13:34:03	3960	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:03	3960	[DEBUG]	Process image file
2023-10-13	13:34:03	3960	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:03	3960	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:03	3960	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37080_pedales_msc_.jpg
2023-10-13	13:34:03	3960	[DEBUG]	Full name target: bcprisme/37080_pedales_msc_.jpg
2023-10-13	13:34:04	3960	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:04	3960	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37080_pedales_msc_.jpg'
2023-10-13	13:34:04	3960	[DEBUG]	Query for Media
2023-10-13	13:34:04	3960	[DEBUG]	Executed store
2023-10-13	13:34:04	3960	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37080_pedales_msc_.jpg',`file_url_thumb`='bcprisme/37080_pedales_msc_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '833798'
2023-10-13	13:34:04	3960	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:04	3960	[DEBUG]	Executed store
2023-10-13	13:34:04	3960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863452','833798','1')
2023-10-13	13:34:04	3960	[DEBUG]	Store product image relation
2023-10-13	13:34:04	3960	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:04	3960	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863452 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:04	3960	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:04	3960	[DEBUG]	Executed store
2023-10-13	13:34:04	3960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863452','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:04	3960	[DEBUG]	Checking manufacturer
2023-10-13	13:34:04	3960	[DEBUG]	Load a row
2023-10-13	13:34:04	3960	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:04	3960	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:04	3960	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:04	3960	[DEBUG]	Executed store
2023-10-13	13:34:04	3960	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:04	3960	[DEBUG]	Manufacturer exists
2023-10-13	13:34:04	3960	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:34:04	3960	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:04	3960	[DEBUG]	Executed store
2023-10-13	13:34:04	3960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863452','32')
2023-10-13	13:34:04	3960	[DEBUG]	Find the custom field ID
2023-10-13	13:34:04	3960	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:04	3960	[DEBUG]	No custom field ID found
2023-10-13	13:34:04	3960	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:04	3960	[DEBUG]	Get existing row with customfield value 99.6225
2023-10-13	13:34:04	3960	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863452 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:04	3960	[DEBUG]	Store custom available field
2023-10-13	13:34:04	3960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863452,3,'99.6225',1)
2023-10-13	13:34:04	3960	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:04	3960	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:04	3960	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863452 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:04	3960	[DEBUG]	Store custom available field
2023-10-13	13:34:04	3960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863452,6,'choisir la taille',3)
2023-10-13	13:34:04	3960	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:04	3960	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:04	3960	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:04	3960	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:04	3960	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863452 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:04	3960	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:04	3960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863452,8,1)
2023-10-13	13:34:04	3960	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:04	3960	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863452\":[1863452,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863452
2023-10-13	13:34:04	3960	[DEBUG]	Checking category
2023-10-13	13:34:04	3960	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:04	3960	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863452
2023-10-13	13:34:04	3960	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:04	3960	[DEBUG]	Executed store
2023-10-13	13:34:04	3960	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863452','7391')
2023-10-13	13:34:04	3960	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:04	3960	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863452 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:34:04	3960	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:04	3960	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863452
2023-10-13	13:34:04	3961	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:04	3961	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:04	3961	[DEBUG]	Use field value for field taille
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:04	3961	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:04	3961	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:04	3961	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:04	3961	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:04	3961	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:04	3961	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:04	3961	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:04	3961	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:04	3961	[DEBUG]	Use field value for field published
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:04	3961	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field override
2023-10-13	13:34:04	3961	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:04	3961	[DEBUG]	Use field value for field slug
2023-10-13	13:34:04	3961	[DEBUG]	Process line 3961
2023-10-13	13:34:04	3961	[DEBUG]	Load a row
2023-10-13	13:34:04	3961	[DEBUG]	Processing item: 8435466292263
2023-10-13	13:34:04	3961	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:04	3961	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:04	3961	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8414_1'
2023-10-13	13:34:04	3961	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:04	3961	[DEBUG]	Processing product tax
2023-10-13	13:34:04	3961	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:04	3961	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:04	3961	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:04	3961	[DEBUG]	Query for Product
2023-10-13	13:34:04	3961	[DEBUG]	Executed store
2023-10-13	13:34:04	3961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863452','8435466292263','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:04	3961	[DEBUG]	No parent found
2023-10-13	13:34:04	3961	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863452 AND customfield_value = 'stockable'
2023-10-13	13:34:04	3961	[DEBUG]	Check product language entry
2023-10-13	13:34:04	3961	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863453
2023-10-13	13:34:04	3961	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:04	3961	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466292263' AND `virtuemart_product_id` != 1863453
2023-10-13	13:34:04	3961	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:04	3961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863453, '8435466292263')
2023-10-13	13:34:04	3961	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:04	3961	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-plates-automatics-ng-pl-reflect-noir-unitaire' AND `virtuemart_product_id` != 1863453
2023-10-13	13:34:04	3961	[DEBUG]	Query for ProductLang
2023-10-13	13:34:04	3961	[DEBUG]	Executed store
2023-10-13	13:34:04	3961	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales  PLATES/AUTOMATICS  NG/PL REFLECT / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-plates-automatics-ng-pl-reflect-noir-unitaire' WHERE `virtuemart_product_id` = '1863453'
2023-10-13	13:34:04	3961	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37080_pedales_msc_.jpg
2023-10-13	13:34:04	3961	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:04	3961	[DEBUG]	Process image file
2023-10-13	13:34:04	3961	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:04	3961	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:04	3961	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37080_pedales_msc_.jpg
2023-10-13	13:34:04	3961	[DEBUG]	Full name target: bcprisme/37080_pedales_msc_.jpg
2023-10-13	13:34:05	3961	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:05	3961	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37080_pedales_msc_.jpg'
2023-10-13	13:34:05	3961	[DEBUG]	Query for Media
2023-10-13	13:34:05	3961	[DEBUG]	Executed store
2023-10-13	13:34:05	3961	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37080_pedales_msc_.jpg',`file_url_thumb`='bcprisme/37080_pedales_msc_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '833798'
2023-10-13	13:34:05	3961	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:05	3961	[DEBUG]	Executed store
2023-10-13	13:34:05	3961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863453','833798','1')
2023-10-13	13:34:05	3961	[DEBUG]	Store product image relation
2023-10-13	13:34:05	3961	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:05	3961	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863453 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:05	3961	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:05	3961	[DEBUG]	Executed store
2023-10-13	13:34:05	3961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863453','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:05	3961	[DEBUG]	Checking manufacturer
2023-10-13	13:34:05	3961	[DEBUG]	Load a row
2023-10-13	13:34:05	3961	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:05	3961	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:05	3961	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:05	3961	[DEBUG]	Executed store
2023-10-13	13:34:05	3961	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:05	3961	[DEBUG]	Manufacturer exists
2023-10-13	13:34:05	3961	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:34:05	3961	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:05	3961	[DEBUG]	Executed store
2023-10-13	13:34:05	3961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863453','32')
2023-10-13	13:34:05	3961	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:05	3961	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:05	3961	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863453 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:05	3961	[DEBUG]	Store custom available field
2023-10-13	13:34:05	3961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863453,3,'',1)
2023-10-13	13:34:05	3961	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:05	3961	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:34:05	3961	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863453 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:05	3961	[DEBUG]	Store custom available field
2023-10-13	13:34:05	3961	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863453,6,'Unitaire',3)
2023-10-13	13:34:05	3961	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:05	3961	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:05	3961	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863452
2023-10-13	13:34:05	3961	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:05	3961	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863452\":[1863452,8,1,\"choisir la taille\"],\"1863453\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863452
2023-10-13	13:34:05	3961	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:05	3961	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863453
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:05	3962	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field taille
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:05	3962	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:05	3962	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:05	3962	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:05	3962	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:05	3962	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:05	3962	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field published
2023-10-13	13:34:05	3962	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:05	3962	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field override
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:05	3962	[DEBUG]	Use field value for field slug
2023-10-13	13:34:05	3962	[DEBUG]	Process line 3962
2023-10-13	13:34:05	3962	[DEBUG]	Load a row
2023-10-13	13:34:05	3962	[DEBUG]	Processing item: A_8415_1
2023-10-13	13:34:05	3962	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:05	3962	[DEBUG]	Processing product tax
2023-10-13	13:34:05	3962	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:05	3962	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:05	3962	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:05	3962	[DEBUG]	Query for Product
2023-10-13	13:34:05	3962	[DEBUG]	Executed store
2023-10-13	13:34:05	3962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8415_1','0.186','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:05	3962	[DEBUG]	Check product language entry
2023-10-13	13:34:05	3962	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863454
2023-10-13	13:34:05	3962	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:05	3962	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8415_1' AND `virtuemart_product_id` != 1863454
2023-10-13	13:34:05	3962	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:05	3962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863454, 'A_8415_1')
2023-10-13	13:34:05	3962	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:05	3962	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-automatiques-spd-axe-crmo-dh-noir' AND `virtuemart_product_id` != 1863454
2023-10-13	13:34:05	3962	[DEBUG]	Query for ProductLang
2023-10-13	13:34:05	3962	[DEBUG]	Executed store
2023-10-13	13:34:05	3962	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='ALUMINIO7075<br>440.8 g<br>Corps Aluminium 6061 cnc mécanisé<br>Axe Cr-Mo mécanisé cnc<br>Roulement LSL annulaire<br>Fixation 2 faces, tension ajustable<br>Cales SC-C05 compatible SPD<br>Dimension 100 x 90mm<br>Poids 220gr/u<br>N° art fourn : PALRG1BK',`product_name`='MSC Pédales MSC AUTOMATIQUES SPD. AXE CRMO.DH / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-automatiques-spd-axe-crmo-dh-noir' WHERE `virtuemart_product_id` = '1863454'
2023-10-13	13:34:05	3962	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37081_pedales_msc_automatiques_spd__axe_crmo_dh.jpg
2023-10-13	13:34:05	3962	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:05	3962	[DEBUG]	Process image file
2023-10-13	13:34:05	3962	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:05	3962	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:05	3962	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37081_pedales_msc_automatiques_spd__axe_crmo_dh.jpg
2023-10-13	13:34:05	3962	[DEBUG]	Full name target: bcprisme/37081_pedales_msc_automatiques_spd__axe_crmo_dh.jpg
2023-10-13	13:34:06	3962	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:06	3962	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37081_pedales_msc_automatiques_spd__axe_crmo_dh.jpg'
2023-10-13	13:34:06	3962	[DEBUG]	Query for Media
2023-10-13	13:34:06	3962	[DEBUG]	Executed store
2023-10-13	13:34:06	3962	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37081_pedales_msc_automatiques_spd__axe_crmo_dh.jpg',`file_url_thumb`='bcprisme/37081_pedales_msc_automatiques_spd__axe_crmo_dh.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '833800'
2023-10-13	13:34:06	3962	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:06	3962	[DEBUG]	Executed store
2023-10-13	13:34:06	3962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863454','833800','1')
2023-10-13	13:34:06	3962	[DEBUG]	Store product image relation
2023-10-13	13:34:06	3962	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:06	3962	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863454 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:06	3962	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:06	3962	[DEBUG]	Executed store
2023-10-13	13:34:06	3962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863454','0','148.467966573816','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:06	3962	[DEBUG]	Checking manufacturer
2023-10-13	13:34:06	3962	[DEBUG]	Load a row
2023-10-13	13:34:06	3962	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:06	3962	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:06	3962	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:06	3962	[DEBUG]	Executed store
2023-10-13	13:34:06	3962	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:06	3962	[DEBUG]	Manufacturer exists
2023-10-13	13:34:06	3962	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:34:06	3962	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:06	3962	[DEBUG]	Executed store
2023-10-13	13:34:06	3962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863454','32')
2023-10-13	13:34:06	3962	[DEBUG]	Find the custom field ID
2023-10-13	13:34:06	3962	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:06	3962	[DEBUG]	No custom field ID found
2023-10-13	13:34:06	3962	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:06	3962	[DEBUG]	Get existing row with customfield value 149.483611111111
2023-10-13	13:34:06	3962	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863454 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:06	3962	[DEBUG]	Store custom available field
2023-10-13	13:34:06	3962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863454,3,'149.483611111111',1)
2023-10-13	13:34:06	3962	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:06	3962	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:06	3962	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863454 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:06	3962	[DEBUG]	Store custom available field
2023-10-13	13:34:06	3962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863454,6,'choisir la taille',3)
2023-10-13	13:34:06	3962	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:06	3962	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:06	3962	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:06	3962	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:06	3962	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863454 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:06	3962	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:06	3962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863454,8,1)
2023-10-13	13:34:06	3962	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:06	3962	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863454\":[1863454,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863454
2023-10-13	13:34:06	3962	[DEBUG]	Checking category
2023-10-13	13:34:06	3962	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:06	3962	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863454
2023-10-13	13:34:06	3962	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:06	3962	[DEBUG]	Executed store
2023-10-13	13:34:06	3962	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863454','7391')
2023-10-13	13:34:06	3962	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:06	3962	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863454 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:34:06	3962	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:06	3962	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863454
2023-10-13	13:34:06	3963	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:06	3963	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:06	3963	[DEBUG]	Use field value for field taille
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:06	3963	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:06	3963	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:06	3963	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:06	3963	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:06	3963	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:06	3963	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:06	3963	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:06	3963	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:06	3963	[DEBUG]	Use field value for field published
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:06	3963	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field override
2023-10-13	13:34:06	3963	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:06	3963	[DEBUG]	Use field value for field slug
2023-10-13	13:34:06	3963	[DEBUG]	Process line 3963
2023-10-13	13:34:06	3963	[DEBUG]	Load a row
2023-10-13	13:34:06	3963	[DEBUG]	Processing item: 8436550192728
2023-10-13	13:34:06	3963	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:06	3963	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:06	3963	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8415_1'
2023-10-13	13:34:06	3963	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:06	3963	[DEBUG]	Processing product tax
2023-10-13	13:34:06	3963	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:06	3963	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:06	3963	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:06	3963	[DEBUG]	Query for Product
2023-10-13	13:34:06	3963	[DEBUG]	Executed store
2023-10-13	13:34:06	3963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863454','8436550192728','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:06	3963	[DEBUG]	No parent found
2023-10-13	13:34:06	3963	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863454 AND customfield_value = 'stockable'
2023-10-13	13:34:06	3963	[DEBUG]	Check product language entry
2023-10-13	13:34:06	3963	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863455
2023-10-13	13:34:06	3963	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:06	3963	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550192728' AND `virtuemart_product_id` != 1863455
2023-10-13	13:34:06	3963	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:06	3963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863455, '8436550192728')
2023-10-13	13:34:06	3963	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:06	3963	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-msc-automatiques-spd-axe-crmo-dh-noir-unitaire' AND `virtuemart_product_id` != 1863455
2023-10-13	13:34:06	3963	[DEBUG]	Query for ProductLang
2023-10-13	13:34:06	3963	[DEBUG]	Executed store
2023-10-13	13:34:06	3963	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales MSC AUTOMATIQUES SPD. AXE CRMO.DH / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-msc-automatiques-spd-axe-crmo-dh-noir-unitaire' WHERE `virtuemart_product_id` = '1863455'
2023-10-13	13:34:06	3963	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37081_pedales_msc_automatiques_spd__axe_crmo_dh.jpg
2023-10-13	13:34:06	3963	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:06	3963	[DEBUG]	Process image file
2023-10-13	13:34:06	3963	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:06	3963	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:06	3963	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37081_pedales_msc_automatiques_spd__axe_crmo_dh.jpg
2023-10-13	13:34:06	3963	[DEBUG]	Full name target: bcprisme/37081_pedales_msc_automatiques_spd__axe_crmo_dh.jpg
2023-10-13	13:34:07	3963	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:07	3963	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37081_pedales_msc_automatiques_spd__axe_crmo_dh.jpg'
2023-10-13	13:34:07	3963	[DEBUG]	Query for Media
2023-10-13	13:34:07	3963	[DEBUG]	Executed store
2023-10-13	13:34:07	3963	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37081_pedales_msc_automatiques_spd__axe_crmo_dh.jpg',`file_url_thumb`='bcprisme/37081_pedales_msc_automatiques_spd__axe_crmo_dh.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '833800'
2023-10-13	13:34:07	3963	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:07	3963	[DEBUG]	Executed store
2023-10-13	13:34:07	3963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863455','833800','1')
2023-10-13	13:34:07	3963	[DEBUG]	Store product image relation
2023-10-13	13:34:07	3963	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:07	3963	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863455 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:07	3963	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:07	3963	[DEBUG]	Executed store
2023-10-13	13:34:07	3963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863455','0','148.467966573816','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:07	3963	[DEBUG]	Checking manufacturer
2023-10-13	13:34:07	3963	[DEBUG]	Load a row
2023-10-13	13:34:07	3963	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:07	3963	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:07	3963	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:07	3963	[DEBUG]	Executed store
2023-10-13	13:34:07	3963	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:07	3963	[DEBUG]	Manufacturer exists
2023-10-13	13:34:07	3963	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:34:07	3963	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:07	3963	[DEBUG]	Executed store
2023-10-13	13:34:07	3963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863455','32')
2023-10-13	13:34:07	3963	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:07	3963	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:07	3963	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863455 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:07	3963	[DEBUG]	Store custom available field
2023-10-13	13:34:07	3963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863455,3,'',1)
2023-10-13	13:34:07	3963	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:07	3963	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:34:07	3963	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863455 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:07	3963	[DEBUG]	Store custom available field
2023-10-13	13:34:07	3963	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863455,6,'Unitaire',3)
2023-10-13	13:34:07	3963	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:07	3963	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:07	3963	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863454
2023-10-13	13:34:07	3963	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:07	3963	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863454\":[1863454,8,1,\"choisir la taille\"],\"1863455\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863454
2023-10-13	13:34:07	3963	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:07	3963	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863455
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:07	3964	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field taille
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:07	3964	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:07	3964	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:07	3964	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:07	3964	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:07	3964	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:07	3964	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field published
2023-10-13	13:34:07	3964	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:07	3964	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field override
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:07	3964	[DEBUG]	Use field value for field slug
2023-10-13	13:34:07	3964	[DEBUG]	Process line 3964
2023-10-13	13:34:07	3964	[DEBUG]	Load a row
2023-10-13	13:34:07	3964	[DEBUG]	Processing item: A_8943_1
2023-10-13	13:34:07	3964	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:07	3964	[DEBUG]	Processing product tax
2023-10-13	13:34:07	3964	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:07	3964	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:07	3964	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:07	3964	[DEBUG]	Query for Product
2023-10-13	13:34:07	3964	[DEBUG]	Executed store
2023-10-13	13:34:07	3964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8943_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:07	3964	[DEBUG]	Check product language entry
2023-10-13	13:34:07	3964	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863456
2023-10-13	13:34:07	3964	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:07	3964	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8943_1' AND `virtuemart_product_id` != 1863456
2023-10-13	13:34:07	3964	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:07	3964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863456, 'A_8943_1')
2023-10-13	13:34:07	3964	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:07	3964	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-pd-m520-avec-cale-noir-box-noir' AND `virtuemart_product_id` != 1863456
2023-10-13	13:34:07	3964	[DEBUG]	Query for ProductLang
2023-10-13	13:34:07	3964	[DEBUG]	Executed store
2023-10-13	13:34:07	3964	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.32518',`product_name`='SHIMANO Pédales PD-M520 avec cale noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-pd-m520-avec-cale-noir-box-noir' WHERE `virtuemart_product_id` = '1863456'
2023-10-13	13:34:07	3964	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_32518_jpg.jpg
2023-10-13	13:34:07	3964	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:07	3964	[DEBUG]	Process image file
2023-10-13	13:34:07	3964	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:07	3964	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:07	3964	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_32518_jpg.jpg
2023-10-13	13:34:07	3964	[DEBUG]	Full name target: bcprisme/64_32518_jpg.jpg
2023-10-13	13:34:08	3964	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:08	3964	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/64_32518_jpg.jpg'
2023-10-13	13:34:08	3964	[DEBUG]	Query for Media
2023-10-13	13:34:08	3964	[DEBUG]	Executed store
2023-10-13	13:34:08	3964	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/64_32518_jpg.jpg',`file_url_thumb`='bcprisme/64_32518_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1188958'
2023-10-13	13:34:08	3964	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:08	3964	[DEBUG]	Executed store
2023-10-13	13:34:08	3964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863456','1188958','1')
2023-10-13	13:34:08	3964	[DEBUG]	Store product image relation
2023-10-13	13:34:08	3964	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:08	3964	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863456 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:08	3964	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:08	3964	[DEBUG]	Executed store
2023-10-13	13:34:08	3964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863456','0','52.8319405756732','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:08	3964	[DEBUG]	Checking manufacturer
2023-10-13	13:34:08	3964	[DEBUG]	Load a row
2023-10-13	13:34:08	3964	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:08	3964	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:08	3964	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:08	3964	[DEBUG]	Executed store
2023-10-13	13:34:08	3964	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:08	3964	[DEBUG]	Manufacturer exists
2023-10-13	13:34:08	3964	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:34:08	3964	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:08	3964	[DEBUG]	Executed store
2023-10-13	13:34:08	3964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863456','26')
2023-10-13	13:34:08	3964	[DEBUG]	Find the custom field ID
2023-10-13	13:34:08	3964	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:08	3964	[DEBUG]	No custom field ID found
2023-10-13	13:34:08	3964	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:08	3964	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:08	3964	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863456 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:08	3964	[DEBUG]	Store custom available field
2023-10-13	13:34:08	3964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863456,3,'0',1)
2023-10-13	13:34:08	3964	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:08	3964	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:08	3964	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863456 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:08	3964	[DEBUG]	Store custom available field
2023-10-13	13:34:08	3964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863456,6,'choisir la taille',3)
2023-10-13	13:34:08	3964	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:08	3964	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:08	3964	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:08	3964	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:08	3964	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863456 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:08	3964	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:08	3964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863456,8,1)
2023-10-13	13:34:08	3964	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:08	3964	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863456\":[1863456,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863456
2023-10-13	13:34:08	3964	[DEBUG]	Checking category
2023-10-13	13:34:08	3964	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:08	3964	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863456
2023-10-13	13:34:08	3964	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:08	3964	[DEBUG]	Executed store
2023-10-13	13:34:08	3964	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863456','7391')
2023-10-13	13:34:08	3964	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:08	3964	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863456 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:34:08	3964	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:08	3964	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863456
2023-10-13	13:34:08	3965	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:08	3965	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:08	3965	[DEBUG]	Use field value for field taille
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:08	3965	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:08	3965	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:08	3965	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:08	3965	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:08	3965	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:08	3965	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:08	3965	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:08	3965	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:08	3965	[DEBUG]	Use field value for field published
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:08	3965	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field override
2023-10-13	13:34:08	3965	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:08	3965	[DEBUG]	Use field value for field slug
2023-10-13	13:34:08	3965	[DEBUG]	Process line 3965
2023-10-13	13:34:08	3965	[DEBUG]	Load a row
2023-10-13	13:34:08	3965	[DEBUG]	Processing item: 4524667060475
2023-10-13	13:34:08	3965	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:08	3965	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:08	3965	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8943_1'
2023-10-13	13:34:08	3965	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:08	3965	[DEBUG]	Processing product tax
2023-10-13	13:34:08	3965	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:08	3965	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:08	3965	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:08	3965	[DEBUG]	Query for Product
2023-10-13	13:34:08	3965	[DEBUG]	Executed store
2023-10-13	13:34:08	3965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863456','4524667060475','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:08	3965	[DEBUG]	No parent found
2023-10-13	13:34:08	3965	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863456 AND customfield_value = 'stockable'
2023-10-13	13:34:08	3965	[DEBUG]	Check product language entry
2023-10-13	13:34:08	3965	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863457
2023-10-13	13:34:08	3965	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:08	3965	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667060475' AND `virtuemart_product_id` != 1863457
2023-10-13	13:34:08	3965	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:08	3965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863457, '4524667060475')
2023-10-13	13:34:08	3965	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:08	3965	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-pd-m520-avec-cale-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1863457
2023-10-13	13:34:08	3965	[DEBUG]	Query for ProductLang
2023-10-13	13:34:08	3965	[DEBUG]	Executed store
2023-10-13	13:34:08	3965	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pédales PD-M520 avec cale noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-pd-m520-avec-cale-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1863457'
2023-10-13	13:34:08	3965	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_32518_jpg.jpg
2023-10-13	13:34:08	3965	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:08	3965	[DEBUG]	Process image file
2023-10-13	13:34:08	3965	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:08	3965	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:08	3965	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_32518_jpg.jpg
2023-10-13	13:34:08	3965	[DEBUG]	Full name target: bcprisme/64_32518_jpg.jpg
2023-10-13	13:34:09	3965	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:09	3965	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/64_32518_jpg.jpg'
2023-10-13	13:34:09	3965	[DEBUG]	Query for Media
2023-10-13	13:34:09	3965	[DEBUG]	Executed store
2023-10-13	13:34:09	3965	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/64_32518_jpg.jpg',`file_url_thumb`='bcprisme/64_32518_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1188958'
2023-10-13	13:34:09	3965	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:09	3965	[DEBUG]	Executed store
2023-10-13	13:34:09	3965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863457','1188958','1')
2023-10-13	13:34:09	3965	[DEBUG]	Store product image relation
2023-10-13	13:34:09	3965	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:09	3965	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863457 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:09	3965	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:09	3965	[DEBUG]	Executed store
2023-10-13	13:34:09	3965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863457','0','52.8319405756732','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:09	3965	[DEBUG]	Checking manufacturer
2023-10-13	13:34:09	3965	[DEBUG]	Load a row
2023-10-13	13:34:09	3965	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:09	3965	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:09	3965	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:09	3965	[DEBUG]	Executed store
2023-10-13	13:34:09	3965	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:09	3965	[DEBUG]	Manufacturer exists
2023-10-13	13:34:09	3965	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:34:09	3965	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:09	3965	[DEBUG]	Executed store
2023-10-13	13:34:09	3965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863457','26')
2023-10-13	13:34:09	3965	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:09	3965	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:09	3965	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863457 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:09	3965	[DEBUG]	Store custom available field
2023-10-13	13:34:09	3965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863457,3,'',1)
2023-10-13	13:34:09	3965	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:09	3965	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:34:09	3965	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863457 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:09	3965	[DEBUG]	Store custom available field
2023-10-13	13:34:09	3965	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863457,6,'Unitaire',3)
2023-10-13	13:34:09	3965	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:09	3965	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:09	3965	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863456
2023-10-13	13:34:09	3965	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:09	3965	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863456\":[1863456,8,1,\"choisir la taille\"],\"1863457\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863456
2023-10-13	13:34:09	3965	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:09	3965	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863457
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:09	3966	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field taille
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:09	3966	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:09	3966	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:09	3966	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:09	3966	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:09	3966	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:09	3966	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field published
2023-10-13	13:34:09	3966	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:09	3966	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field override
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:09	3966	[DEBUG]	Use field value for field slug
2023-10-13	13:34:09	3966	[DEBUG]	Process line 3966
2023-10-13	13:34:09	3966	[DEBUG]	Load a row
2023-10-13	13:34:09	3966	[DEBUG]	Processing item: A_8987_1
2023-10-13	13:34:09	3966	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:09	3966	[DEBUG]	Processing product tax
2023-10-13	13:34:09	3966	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:09	3966	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:09	3966	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:09	3966	[DEBUG]	Query for Product
2023-10-13	13:34:09	3966	[DEBUG]	Executed store
2023-10-13	13:34:09	3966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8987_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:09	3966	[DEBUG]	Check product language entry
2023-10-13	13:34:09	3966	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863458
2023-10-13	13:34:09	3966	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:09	3966	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8987_1' AND `virtuemart_product_id` != 1863458
2023-10-13	13:34:09	3966	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:09	3966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863458, 'A_8987_1')
2023-10-13	13:34:09	3966	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:09	3966	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-pd-m540-avec-cale-noir-box-noir' AND `virtuemart_product_id` != 1863458
2023-10-13	13:34:09	3966	[DEBUG]	Query for ProductLang
2023-10-13	13:34:09	3966	[DEBUG]	Executed store
2023-10-13	13:34:09	3966	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.64029',`product_name`='SHIMANO Pédales PD-M540 avec cale noir box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-pd-m540-avec-cale-noir-box-noir' WHERE `virtuemart_product_id` = '1863458'
2023-10-13	13:34:09	3966	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_3252.jpg
2023-10-13	13:34:09	3966	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:09	3966	[DEBUG]	Process image file
2023-10-13	13:34:09	3966	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:09	3966	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:09	3966	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_3252.jpg
2023-10-13	13:34:09	3966	[DEBUG]	Full name target: bcprisme/64_3252.jpg
2023-10-13	13:34:10	3966	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:10	3966	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/64_3252.jpg'
2023-10-13	13:34:10	3966	[DEBUG]	Query for Media
2023-10-13	13:34:10	3966	[DEBUG]	Executed store
2023-10-13	13:34:10	3966	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/64_3252.jpg',`file_url_thumb`='bcprisme/64_3252.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1205523'
2023-10-13	13:34:10	3966	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:10	3966	[DEBUG]	Executed store
2023-10-13	13:34:10	3966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863458','1205523','1')
2023-10-13	13:34:10	3966	[DEBUG]	Store product image relation
2023-10-13	13:34:10	3966	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:10	3966	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863458 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:10	3966	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:10	3966	[DEBUG]	Executed store
2023-10-13	13:34:10	3966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863458','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:10	3966	[DEBUG]	Checking manufacturer
2023-10-13	13:34:10	3966	[DEBUG]	Load a row
2023-10-13	13:34:10	3966	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:10	3966	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:10	3966	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:10	3966	[DEBUG]	Executed store
2023-10-13	13:34:10	3966	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:10	3966	[DEBUG]	Manufacturer exists
2023-10-13	13:34:10	3966	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:34:10	3966	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:10	3966	[DEBUG]	Executed store
2023-10-13	13:34:10	3966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863458','26')
2023-10-13	13:34:10	3966	[DEBUG]	Find the custom field ID
2023-10-13	13:34:10	3966	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:10	3966	[DEBUG]	No custom field ID found
2023-10-13	13:34:10	3966	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:10	3966	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:10	3966	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863458 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:10	3966	[DEBUG]	Store custom available field
2023-10-13	13:34:10	3966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863458,3,'0',1)
2023-10-13	13:34:10	3966	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:10	3966	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:10	3966	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863458 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:10	3966	[DEBUG]	Store custom available field
2023-10-13	13:34:10	3966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863458,6,'choisir la taille',3)
2023-10-13	13:34:10	3966	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:10	3966	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:10	3966	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:10	3966	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:10	3966	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863458 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:10	3966	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:10	3966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863458,8,1)
2023-10-13	13:34:10	3966	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:10	3966	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863458\":[1863458,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863458
2023-10-13	13:34:10	3966	[DEBUG]	Checking category
2023-10-13	13:34:10	3966	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:10	3966	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863458
2023-10-13	13:34:10	3966	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:10	3966	[DEBUG]	Executed store
2023-10-13	13:34:10	3966	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863458','7391')
2023-10-13	13:34:10	3966	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:10	3966	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863458 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:34:10	3966	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:10	3966	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863458
2023-10-13	13:34:10	3967	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:10	3967	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:10	3967	[DEBUG]	Use field value for field taille
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:10	3967	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:10	3967	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:10	3967	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:10	3967	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:10	3967	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:10	3967	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:10	3967	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:10	3967	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:10	3967	[DEBUG]	Use field value for field published
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:10	3967	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field override
2023-10-13	13:34:10	3967	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:10	3967	[DEBUG]	Use field value for field slug
2023-10-13	13:34:10	3967	[DEBUG]	Process line 3967
2023-10-13	13:34:10	3967	[DEBUG]	Load a row
2023-10-13	13:34:10	3967	[DEBUG]	Processing item: 4524667904243
2023-10-13	13:34:10	3967	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:10	3967	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:10	3967	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8987_1'
2023-10-13	13:34:10	3967	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:10	3967	[DEBUG]	Processing product tax
2023-10-13	13:34:10	3967	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:10	3967	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:10	3967	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:10	3967	[DEBUG]	Query for Product
2023-10-13	13:34:10	3967	[DEBUG]	Executed store
2023-10-13	13:34:10	3967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863458','4524667904243','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:10	3967	[DEBUG]	No parent found
2023-10-13	13:34:10	3967	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863458 AND customfield_value = 'stockable'
2023-10-13	13:34:10	3967	[DEBUG]	Check product language entry
2023-10-13	13:34:10	3967	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863459
2023-10-13	13:34:10	3967	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:10	3967	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667904243' AND `virtuemart_product_id` != 1863459
2023-10-13	13:34:10	3967	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:10	3967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863459, '4524667904243')
2023-10-13	13:34:10	3967	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:10	3967	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-pd-m540-avec-cale-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1863459
2023-10-13	13:34:10	3967	[DEBUG]	Query for ProductLang
2023-10-13	13:34:10	3967	[DEBUG]	Executed store
2023-10-13	13:34:10	3967	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pédales PD-M540 avec cale noir box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-pd-m540-avec-cale-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1863459'
2023-10-13	13:34:10	3967	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_3252.jpg
2023-10-13	13:34:10	3967	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:10	3967	[DEBUG]	Process image file
2023-10-13	13:34:10	3967	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:10	3967	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:10	3967	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_3252.jpg
2023-10-13	13:34:10	3967	[DEBUG]	Full name target: bcprisme/64_3252.jpg
2023-10-13	13:34:11	3967	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:11	3967	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/64_3252.jpg'
2023-10-13	13:34:11	3967	[DEBUG]	Query for Media
2023-10-13	13:34:11	3967	[DEBUG]	Executed store
2023-10-13	13:34:11	3967	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/64_3252.jpg',`file_url_thumb`='bcprisme/64_3252.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1205523'
2023-10-13	13:34:11	3967	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:11	3967	[DEBUG]	Executed store
2023-10-13	13:34:11	3967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863459','1205523','1')
2023-10-13	13:34:11	3967	[DEBUG]	Store product image relation
2023-10-13	13:34:11	3967	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:11	3967	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863459 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:11	3967	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:11	3967	[DEBUG]	Executed store
2023-10-13	13:34:11	3967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863459','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:11	3967	[DEBUG]	Checking manufacturer
2023-10-13	13:34:11	3967	[DEBUG]	Load a row
2023-10-13	13:34:11	3967	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:11	3967	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:11	3967	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:11	3967	[DEBUG]	Executed store
2023-10-13	13:34:11	3967	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:11	3967	[DEBUG]	Manufacturer exists
2023-10-13	13:34:11	3967	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:34:11	3967	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:11	3967	[DEBUG]	Executed store
2023-10-13	13:34:11	3967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863459','26')
2023-10-13	13:34:11	3967	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:11	3967	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:11	3967	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863459 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:11	3967	[DEBUG]	Store custom available field
2023-10-13	13:34:11	3967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863459,3,'',1)
2023-10-13	13:34:11	3967	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:11	3967	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:34:11	3967	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863459 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:11	3967	[DEBUG]	Store custom available field
2023-10-13	13:34:11	3967	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863459,6,'Unitaire',3)
2023-10-13	13:34:11	3967	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:11	3967	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:11	3967	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863458
2023-10-13	13:34:11	3967	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:11	3967	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863458\":[1863458,8,1,\"choisir la taille\"],\"1863459\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863458
2023-10-13	13:34:11	3967	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:11	3967	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863459
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:11	3968	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field taille
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:11	3968	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:11	3968	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:11	3968	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:11	3968	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:11	3968	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:11	3968	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field published
2023-10-13	13:34:11	3968	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:11	3968	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field override
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:11	3968	[DEBUG]	Use field value for field slug
2023-10-13	13:34:11	3968	[DEBUG]	Process line 3968
2023-10-13	13:34:11	3968	[DEBUG]	Load a row
2023-10-13	13:34:11	3968	[DEBUG]	Processing item: A_9478_1
2023-10-13	13:34:11	3968	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:11	3968	[DEBUG]	Processing product tax
2023-10-13	13:34:11	3968	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:11	3968	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:11	3968	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:11	3968	[DEBUG]	Query for Product
2023-10-13	13:34:11	3968	[DEBUG]	Executed store
2023-10-13	13:34:11	3968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9478_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:11	3968	[DEBUG]	Check product language entry
2023-10-13	13:34:11	3968	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863460
2023-10-13	13:34:11	3968	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:11	3968	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9478_1' AND `virtuemart_product_id` != 1863460
2023-10-13	13:34:11	3968	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:11	3968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863460, 'A_9478_1')
2023-10-13	13:34:11	3968	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:11	3968	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-deore-xt-pd-m8120-avec-cale-sans-reflecteurs-trail-box-noir' AND `virtuemart_product_id` != 1863460
2023-10-13	13:34:11	3968	[DEBUG]	Query for ProductLang
2023-10-13	13:34:11	3968	[DEBUG]	Executed store
2023-10-13	13:34:11	3968	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.75171',`product_name`='SHIMANO Pédales Deore XT PD-M8120 avec cale sans réflecteurs Trail box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-deore-xt-pd-m8120-avec-cale-sans-reflecteurs-trail-box-noir' WHERE `virtuemart_product_id` = '1863460'
2023-10-13	13:34:11	3968	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_75171_00.jpg
2023-10-13	13:34:11	3968	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:11	3968	[DEBUG]	Process image file
2023-10-13	13:34:11	3968	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:11	3968	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:11	3968	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_75171_00.jpg
2023-10-13	13:34:11	3968	[DEBUG]	Full name target: bcprisme/64_75171_00.jpg
2023-10-13	13:34:12	3968	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:12	3968	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/64_75171_00.jpg'
2023-10-13	13:34:12	3968	[DEBUG]	Query for Media
2023-10-13	13:34:12	3968	[DEBUG]	Executed store
2023-10-13	13:34:12	3968	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/64_75171_00.jpg',`file_url_thumb`='bcprisme/64_75171_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1426712'
2023-10-13	13:34:12	3968	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:12	3968	[DEBUG]	Executed store
2023-10-13	13:34:12	3968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863460','1426712','1')
2023-10-13	13:34:12	3968	[DEBUG]	Store product image relation
2023-10-13	13:34:12	3968	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:12	3968	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863460 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:12	3968	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:12	3968	[DEBUG]	Executed store
2023-10-13	13:34:12	3968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863460','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:12	3968	[DEBUG]	Checking manufacturer
2023-10-13	13:34:12	3968	[DEBUG]	Load a row
2023-10-13	13:34:12	3968	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:12	3968	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:12	3968	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:12	3968	[DEBUG]	Executed store
2023-10-13	13:34:12	3968	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:12	3968	[DEBUG]	Manufacturer exists
2023-10-13	13:34:12	3968	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:34:12	3968	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:12	3968	[DEBUG]	Executed store
2023-10-13	13:34:12	3968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863460','26')
2023-10-13	13:34:12	3968	[DEBUG]	Find the custom field ID
2023-10-13	13:34:12	3968	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:12	3968	[DEBUG]	No custom field ID found
2023-10-13	13:34:12	3968	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:12	3968	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:12	3968	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863460 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:12	3968	[DEBUG]	Store custom available field
2023-10-13	13:34:12	3968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863460,3,'0',1)
2023-10-13	13:34:12	3968	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:12	3968	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:12	3968	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863460 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:12	3968	[DEBUG]	Store custom available field
2023-10-13	13:34:12	3968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863460,6,'choisir la taille',3)
2023-10-13	13:34:12	3968	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:12	3968	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:12	3968	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:12	3968	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:12	3968	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863460 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:12	3968	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:12	3968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863460,8,1)
2023-10-13	13:34:12	3968	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:12	3968	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863460\":[1863460,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863460
2023-10-13	13:34:12	3968	[DEBUG]	Checking category
2023-10-13	13:34:12	3968	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:12	3968	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863460
2023-10-13	13:34:12	3968	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:12	3968	[DEBUG]	Executed store
2023-10-13	13:34:12	3968	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863460','7391')
2023-10-13	13:34:12	3968	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:12	3968	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863460 AND `virtuemart_category_id` NOT IN (7391)
2023-10-13	13:34:12	3968	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:12	3968	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863460
2023-10-13	13:34:12	3969	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:12	3969	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:12	3969	[DEBUG]	Use field value for field taille
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:12	3969	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:12	3969	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:12	3969	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:12	3969	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:12	3969	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:12	3969	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:12	3969	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:12	3969	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:12	3969	[DEBUG]	Use field value for field published
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:12	3969	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field override
2023-10-13	13:34:12	3969	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:12	3969	[DEBUG]	Use field value for field slug
2023-10-13	13:34:12	3969	[DEBUG]	Process line 3969
2023-10-13	13:34:12	3969	[DEBUG]	Load a row
2023-10-13	13:34:12	3969	[DEBUG]	Processing item: 4550170444204
2023-10-13	13:34:12	3969	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:12	3969	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:12	3969	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9478_1'
2023-10-13	13:34:12	3969	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:12	3969	[DEBUG]	Processing product tax
2023-10-13	13:34:12	3969	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:12	3969	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:12	3969	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:12	3969	[DEBUG]	Query for Product
2023-10-13	13:34:12	3969	[DEBUG]	Executed store
2023-10-13	13:34:12	3969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863460','4550170444204','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:12	3969	[DEBUG]	No parent found
2023-10-13	13:34:12	3969	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863460 AND customfield_value = 'stockable'
2023-10-13	13:34:12	3969	[DEBUG]	Check product language entry
2023-10-13	13:34:12	3969	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863461
2023-10-13	13:34:12	3969	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:12	3969	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170444204' AND `virtuemart_product_id` != 1863461
2023-10-13	13:34:12	3969	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:12	3969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863461, '4550170444204')
2023-10-13	13:34:12	3969	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:12	3969	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-deore-xt-pd-m8120-avec-cale-sans-reflecteurs-trail-box-noir-unitaire' AND `virtuemart_product_id` != 1863461
2023-10-13	13:34:12	3969	[DEBUG]	Query for ProductLang
2023-10-13	13:34:12	3969	[DEBUG]	Executed store
2023-10-13	13:34:12	3969	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pédales Deore XT PD-M8120 avec cale sans réflecteurs Trail box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-deore-xt-pd-m8120-avec-cale-sans-reflecteurs-trail-box-noir-unitaire' WHERE `virtuemart_product_id` = '1863461'
2023-10-13	13:34:12	3969	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_75171_00.jpg
2023-10-13	13:34:12	3969	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:12	3969	[DEBUG]	Process image file
2023-10-13	13:34:12	3969	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:12	3969	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:12	3969	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_75171_00.jpg
2023-10-13	13:34:12	3969	[DEBUG]	Full name target: bcprisme/64_75171_00.jpg
2023-10-13	13:34:13	3969	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:13	3969	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/64_75171_00.jpg'
2023-10-13	13:34:13	3969	[DEBUG]	Query for Media
2023-10-13	13:34:13	3969	[DEBUG]	Executed store
2023-10-13	13:34:13	3969	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/64_75171_00.jpg',`file_url_thumb`='bcprisme/64_75171_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1426712'
2023-10-13	13:34:13	3969	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:13	3969	[DEBUG]	Executed store
2023-10-13	13:34:13	3969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863461','1426712','1')
2023-10-13	13:34:13	3969	[DEBUG]	Store product image relation
2023-10-13	13:34:13	3969	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:13	3969	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863461 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:13	3969	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:13	3969	[DEBUG]	Executed store
2023-10-13	13:34:13	3969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863461','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:13	3969	[DEBUG]	Checking manufacturer
2023-10-13	13:34:13	3969	[DEBUG]	Load a row
2023-10-13	13:34:13	3969	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:13	3969	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:13	3969	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:13	3969	[DEBUG]	Executed store
2023-10-13	13:34:13	3969	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:13	3969	[DEBUG]	Manufacturer exists
2023-10-13	13:34:13	3969	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:34:13	3969	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:13	3969	[DEBUG]	Executed store
2023-10-13	13:34:13	3969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863461','26')
2023-10-13	13:34:13	3969	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:13	3969	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:13	3969	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863461 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:13	3969	[DEBUG]	Store custom available field
2023-10-13	13:34:13	3969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863461,3,'',1)
2023-10-13	13:34:13	3969	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:13	3969	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:34:14	3969	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863461 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:14	3969	[DEBUG]	Store custom available field
2023-10-13	13:34:14	3969	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863461,6,'Unitaire',3)
2023-10-13	13:34:14	3969	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:14	3969	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:14	3969	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863460
2023-10-13	13:34:14	3969	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:14	3969	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863460\":[1863460,8,1,\"choisir la taille\"],\"1863461\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863460
2023-10-13	13:34:14	3969	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:14	3969	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863461
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:14	3970	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field taille
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:14	3970	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:14	3970	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:14	3970	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:14	3970	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:14	3970	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:14	3970	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field published
2023-10-13	13:34:14	3970	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:14	3970	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field override
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:14	3970	[DEBUG]	Use field value for field slug
2023-10-13	13:34:14	3970	[DEBUG]	Process line 3970
2023-10-13	13:34:14	3970	[DEBUG]	Load a row
2023-10-13	13:34:14	3970	[DEBUG]	Processing item: A_953_1
2023-10-13	13:34:14	3970	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:14	3970	[DEBUG]	Processing product tax
2023-10-13	13:34:14	3970	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:14	3970	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:14	3970	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:14	3970	[DEBUG]	Query for Product
2023-10-13	13:34:14	3970	[DEBUG]	Executed store
2023-10-13	13:34:14	3970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_953_1','0.41','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:14	3970	[DEBUG]	Check product language entry
2023-10-13	13:34:14	3970	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863462
2023-10-13	13:34:14	3970	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:14	3970	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_953_1' AND `virtuemart_product_id` != 1863462
2023-10-13	13:34:14	3970	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:14	3970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863462, 'A_953_1')
2023-10-13	13:34:14	3970	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:14	3970	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-pedales-plates-msc-avec-bande-reflechissante-noir' AND `virtuemart_product_id` != 1863462
2023-10-13	13:34:14	3970	[DEBUG]	Query for ProductLang
2023-10-13	13:34:14	3970	[DEBUG]	Executed store
2023-10-13	13:34:14	3970	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Corps et axe acier, 410gr<br>N° art fourn : SP931S1',`product_name`='MLV-Bike Pédales plates MSC avec bande réfléchissante / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-pedales-plates-msc-avec-bande-reflechissante-noir' WHERE `virtuemart_product_id` = '1863462'
2023-10-13	13:34:14	3970	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1248.jpg
2023-10-13	13:34:14	3970	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:34:14	3970	[DEBUG]	Process image file
2023-10-13	13:34:14	3970	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:34:14	3970	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:14	3970	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1248.jpg
2023-10-13	13:34:14	3970	[DEBUG]	Full name target: bcprisme/image_1248.jpg
2023-10-13	13:34:15	3970	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:15	3970	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1248.jpg'
2023-10-13	13:34:15	3970	[DEBUG]	Query for Media
2023-10-13	13:34:15	3970	[DEBUG]	Executed store
2023-10-13	13:34:15	3970	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1248.jpg',`file_url_thumb`='bcprisme/image_1248.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '430847'
2023-10-13	13:34:15	3970	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:15	3970	[DEBUG]	Executed store
2023-10-13	13:34:15	3970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863462','430847','1')
2023-10-13	13:34:15	3970	[DEBUG]	Store product image relation
2023-10-13	13:34:15	3970	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:15	3970	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863462 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:15	3970	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:15	3970	[DEBUG]	Executed store
2023-10-13	13:34:15	3970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863462','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:15	3970	[DEBUG]	Checking manufacturer
2023-10-13	13:34:15	3970	[DEBUG]	Load a row
2023-10-13	13:34:15	3970	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:15	3970	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:34:15	3970	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:15	3970	[DEBUG]	Executed store
2023-10-13	13:34:15	3970	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:34:15	3970	[DEBUG]	Manufacturer exists
2023-10-13	13:34:15	3970	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:34:15	3970	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:15	3970	[DEBUG]	Executed store
2023-10-13	13:34:15	3970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863462','2')
2023-10-13	13:34:15	3970	[DEBUG]	Find the custom field ID
2023-10-13	13:34:15	3970	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:15	3970	[DEBUG]	No custom field ID found
2023-10-13	13:34:15	3970	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:15	3970	[DEBUG]	Get existing row with customfield value 12.8641666666667
2023-10-13	13:34:15	3970	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863462 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:15	3970	[DEBUG]	Store custom available field
2023-10-13	13:34:15	3970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863462,3,'12.8641666666667',1)
2023-10-13	13:34:15	3970	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:15	3970	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:15	3970	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863462 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:15	3970	[DEBUG]	Store custom available field
2023-10-13	13:34:15	3970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863462,6,'choisir la taille',3)
2023-10-13	13:34:15	3970	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:15	3970	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:15	3970	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:15	3970	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:15	3970	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863462 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:15	3970	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:15	3970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863462,8,1)
2023-10-13	13:34:15	3970	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:15	3970	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863462\":[1863462,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863462
2023-10-13	13:34:15	3970	[DEBUG]	Checking category
2023-10-13	13:34:15	3970	[DEBUG]	Check if category path exists: PEDALES PLATES - PLATTFORMPEDAL
2023-10-13	13:34:15	3970	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PEDALES PLATES - PLATTFORMPEDAL' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7389
2023-10-13	13:34:15	3970	[DEBUG]	Query for Category
2023-10-13	13:34:15	3970	[DEBUG]	Executed store
2023-10-13	13:34:15	3970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7389','1','','default','default','3','0','0','0','','','','3','0','1','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:15	3970	[DEBUG]	Category publish 1
2023-10-13	13:34:15	3970	[DEBUG]	Check the category language
2023-10-13	13:34:15	3970	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7392
2023-10-13	13:34:15	3970	[DEBUG]	Check the category slug
2023-10-13	13:34:15	3970	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pedales-plates---plattformpedal' AND `virtuemart_category_id` != 7392
2023-10-13	13:34:15	3970	[DEBUG]	Check the category slug
2023-10-13	13:34:15	3970	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pedales-plates---plattformpedal' AND `virtuemart_category_id` != 7392
2023-10-13	13:34:15	3970	[DEBUG]	Add the category language entry
2023-10-13	13:34:15	3970	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7392, 'pedales-plates---plattformpedal')
2023-10-13	13:34:15	3970	[DEBUG]	Query for CategoryLang
2023-10-13	13:34:15	3970	[DEBUG]	Executed store
2023-10-13	13:34:15	3970	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PEDALES PLATES - PLATTFORMPEDAL',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pedales-plates---plattformpedal' WHERE `virtuemart_category_id` = '7392'
2023-10-13	13:34:15	3970	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:34:15	3970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7389','7392','0')
2023-10-13	13:34:15	3970	[DEBUG]	Update has field for parent category
2023-10-13	13:34:15	3970	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7389
2023-10-13	13:34:15	3970	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:15	3970	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863462
2023-10-13	13:34:15	3970	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:15	3970	[DEBUG]	Executed store
2023-10-13	13:34:15	3970	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863462','7392')
2023-10-13	13:34:15	3970	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:15	3970	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863462 AND `virtuemart_category_id` NOT IN (7392)
2023-10-13	13:34:15	3970	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:15	3970	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863462
2023-10-13	13:34:15	3971	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:15	3971	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:15	3971	[DEBUG]	Use field value for field taille
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:15	3971	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:15	3971	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:15	3971	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:15	3971	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:15	3971	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:15	3971	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:15	3971	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:15	3971	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:15	3971	[DEBUG]	Use field value for field published
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:15	3971	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field override
2023-10-13	13:34:15	3971	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:15	3971	[DEBUG]	Use field value for field slug
2023-10-13	13:34:15	3971	[DEBUG]	Process line 3971
2023-10-13	13:34:15	3971	[DEBUG]	Load a row
2023-10-13	13:34:15	3971	[DEBUG]	Processing item: 8436041138099
2023-10-13	13:34:15	3971	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:15	3971	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:15	3971	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_953_1'
2023-10-13	13:34:15	3971	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:15	3971	[DEBUG]	Processing product tax
2023-10-13	13:34:15	3971	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:15	3971	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:15	3971	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:15	3971	[DEBUG]	Query for Product
2023-10-13	13:34:15	3971	[DEBUG]	Executed store
2023-10-13	13:34:15	3971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863462','8436041138099','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:15	3971	[DEBUG]	No parent found
2023-10-13	13:34:15	3971	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863462 AND customfield_value = 'stockable'
2023-10-13	13:34:15	3971	[DEBUG]	Check product language entry
2023-10-13	13:34:15	3971	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863463
2023-10-13	13:34:15	3971	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:15	3971	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041138099' AND `virtuemart_product_id` != 1863463
2023-10-13	13:34:15	3971	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:15	3971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863463, '8436041138099')
2023-10-13	13:34:15	3971	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:15	3971	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-pedales-plates-msc-avec-bande-reflechissante-noir-set' AND `virtuemart_product_id` != 1863463
2023-10-13	13:34:15	3971	[DEBUG]	Query for ProductLang
2023-10-13	13:34:15	3971	[DEBUG]	Executed store
2023-10-13	13:34:15	3971	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Pédales plates MSC avec bande réfléchissante / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-pedales-plates-msc-avec-bande-reflechissante-noir-set' WHERE `virtuemart_product_id` = '1863463'
2023-10-13	13:34:15	3971	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1248.jpg
2023-10-13	13:34:15	3971	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:34:15	3971	[DEBUG]	Process image file
2023-10-13	13:34:15	3971	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:34:15	3971	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:15	3971	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1248.jpg
2023-10-13	13:34:15	3971	[DEBUG]	Full name target: bcprisme/image_1248.jpg
2023-10-13	13:34:16	3971	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:16	3971	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1248.jpg'
2023-10-13	13:34:16	3971	[DEBUG]	Query for Media
2023-10-13	13:34:16	3971	[DEBUG]	Executed store
2023-10-13	13:34:16	3971	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1248.jpg',`file_url_thumb`='bcprisme/image_1248.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '430847'
2023-10-13	13:34:16	3971	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:16	3971	[DEBUG]	Executed store
2023-10-13	13:34:16	3971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863463','430847','1')
2023-10-13	13:34:16	3971	[DEBUG]	Store product image relation
2023-10-13	13:34:16	3971	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:16	3971	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863463 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:16	3971	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:16	3971	[DEBUG]	Executed store
2023-10-13	13:34:16	3971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863463','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:16	3971	[DEBUG]	Checking manufacturer
2023-10-13	13:34:16	3971	[DEBUG]	Load a row
2023-10-13	13:34:16	3971	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:16	3971	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:34:16	3971	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:16	3971	[DEBUG]	Executed store
2023-10-13	13:34:16	3971	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:34:16	3971	[DEBUG]	Manufacturer exists
2023-10-13	13:34:16	3971	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:34:16	3971	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:16	3971	[DEBUG]	Executed store
2023-10-13	13:34:16	3971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863463','2')
2023-10-13	13:34:16	3971	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:16	3971	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:16	3971	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863463 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:16	3971	[DEBUG]	Store custom available field
2023-10-13	13:34:16	3971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863463,3,'',1)
2023-10-13	13:34:16	3971	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:16	3971	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:34:16	3971	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863463 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:16	3971	[DEBUG]	Store custom available field
2023-10-13	13:34:16	3971	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863463,6,'Set',3)
2023-10-13	13:34:16	3971	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:16	3971	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:16	3971	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863462
2023-10-13	13:34:16	3971	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:16	3971	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1863462\":[1863462,8,1,\"choisir la taille\"],\"1863463\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1863462
2023-10-13	13:34:16	3971	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:16	3971	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863463
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:16	3972	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field taille
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:16	3972	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:16	3972	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:16	3972	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:16	3972	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:16	3972	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:16	3972	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field published
2023-10-13	13:34:16	3972	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:16	3972	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field override
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:16	3972	[DEBUG]	Use field value for field slug
2023-10-13	13:34:16	3972	[DEBUG]	Process line 3972
2023-10-13	13:34:16	3972	[DEBUG]	Load a row
2023-10-13	13:34:16	3972	[DEBUG]	Processing item: A_1361_1
2023-10-13	13:34:16	3972	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:16	3972	[DEBUG]	Processing product tax
2023-10-13	13:34:16	3972	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:16	3972	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:16	3972	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:16	3972	[DEBUG]	Query for Product
2023-10-13	13:34:16	3972	[DEBUG]	Executed store
2023-10-13	13:34:16	3972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1361_1','0.347','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:16	3972	[DEBUG]	Check product language entry
2023-10-13	13:34:16	3972	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863464
2023-10-13	13:34:16	3972	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:16	3972	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1361_1' AND `virtuemart_product_id` != 1863464
2023-10-13	13:34:16	3972	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:16	3972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863464, 'A_1361_1')
2023-10-13	13:34:16	3972	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:16	3972	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-plates-nylon-acier-avec-revetement-anti-derapant-noir' AND `virtuemart_product_id` != 1863464
2023-10-13	13:34:16	3972	[DEBUG]	Query for ProductLang
2023-10-13	13:34:16	3972	[DEBUG]	Executed store
2023-10-13	13:34:16	3972	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : ELECTRA_GRIP',`product_name`='MSC Pédales plates Nylon/Acier avec revêtement anti-dérapant / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-plates-nylon-acier-avec-revetement-anti-derapant-noir' WHERE `virtuemart_product_id` = '1863464'
2023-10-13	13:34:16	3972	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11971_pedales_plates_nylon-acier.jpg
2023-10-13	13:34:16	3972	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:34:16	3972	[DEBUG]	Process image file
2023-10-13	13:34:16	3972	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:34:16	3972	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:16	3972	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11971_pedales_plates_nylon-acier.jpg
2023-10-13	13:34:16	3972	[DEBUG]	Full name target: bcprisme/11971_pedales_plates_nylon-acier.jpg
2023-10-13	13:34:17	3972	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:17	3972	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11971_pedales_plates_nylon-acier.jpg'
2023-10-13	13:34:17	3972	[DEBUG]	Query for Media
2023-10-13	13:34:17	3972	[DEBUG]	Executed store
2023-10-13	13:34:17	3972	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11971_pedales_plates_nylon-acier.jpg',`file_url_thumb`='bcprisme/11971_pedales_plates_nylon-acier.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1004861'
2023-10-13	13:34:17	3972	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:17	3972	[DEBUG]	Executed store
2023-10-13	13:34:17	3972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863464','1004861','1')
2023-10-13	13:34:17	3972	[DEBUG]	Store product image relation
2023-10-13	13:34:17	3972	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:17	3972	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863464 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:17	3972	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:17	3972	[DEBUG]	Executed store
2023-10-13	13:34:17	3972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863464','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:17	3972	[DEBUG]	Checking manufacturer
2023-10-13	13:34:17	3972	[DEBUG]	Load a row
2023-10-13	13:34:17	3972	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:17	3972	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:17	3972	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:17	3972	[DEBUG]	Executed store
2023-10-13	13:34:17	3972	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:17	3972	[DEBUG]	Manufacturer exists
2023-10-13	13:34:17	3972	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:34:17	3972	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:17	3972	[DEBUG]	Executed store
2023-10-13	13:34:17	3972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863464','32')
2023-10-13	13:34:17	3972	[DEBUG]	Find the custom field ID
2023-10-13	13:34:17	3972	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:17	3972	[DEBUG]	No custom field ID found
2023-10-13	13:34:17	3972	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:17	3972	[DEBUG]	Get existing row with customfield value 89.6502777777778
2023-10-13	13:34:17	3972	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863464 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:17	3972	[DEBUG]	Store custom available field
2023-10-13	13:34:17	3972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863464,3,'89.6502777777778',1)
2023-10-13	13:34:17	3972	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:17	3972	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:17	3972	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863464 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:17	3972	[DEBUG]	Store custom available field
2023-10-13	13:34:17	3972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863464,6,'choisir la taille',3)
2023-10-13	13:34:17	3972	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:17	3972	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:17	3972	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:17	3972	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:17	3972	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863464 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:17	3972	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:17	3972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863464,8,1)
2023-10-13	13:34:17	3972	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:17	3972	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863464\":[1863464,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863464
2023-10-13	13:34:17	3972	[DEBUG]	Checking category
2023-10-13	13:34:17	3972	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:17	3972	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863464
2023-10-13	13:34:17	3972	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:17	3972	[DEBUG]	Executed store
2023-10-13	13:34:17	3972	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863464','7392')
2023-10-13	13:34:17	3972	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:17	3972	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863464 AND `virtuemart_category_id` NOT IN (7392)
2023-10-13	13:34:17	3972	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:17	3972	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863464
2023-10-13	13:34:17	3973	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:17	3973	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:17	3973	[DEBUG]	Use field value for field taille
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:17	3973	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:17	3973	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:17	3973	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:17	3973	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:17	3973	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:17	3973	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:17	3973	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:17	3973	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:17	3973	[DEBUG]	Use field value for field published
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:17	3973	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field override
2023-10-13	13:34:17	3973	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:17	3973	[DEBUG]	Use field value for field slug
2023-10-13	13:34:17	3973	[DEBUG]	Process line 3973
2023-10-13	13:34:17	3973	[DEBUG]	Load a row
2023-10-13	13:34:17	3973	[DEBUG]	Processing item: 8436550192490
2023-10-13	13:34:17	3973	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:17	3973	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:17	3973	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1361_1'
2023-10-13	13:34:17	3973	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:17	3973	[DEBUG]	Processing product tax
2023-10-13	13:34:17	3973	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:17	3973	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:17	3973	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:17	3973	[DEBUG]	Query for Product
2023-10-13	13:34:17	3973	[DEBUG]	Executed store
2023-10-13	13:34:17	3973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863464','8436550192490','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:17	3973	[DEBUG]	No parent found
2023-10-13	13:34:17	3973	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863464 AND customfield_value = 'stockable'
2023-10-13	13:34:17	3973	[DEBUG]	Check product language entry
2023-10-13	13:34:17	3973	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863465
2023-10-13	13:34:17	3973	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:17	3973	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550192490' AND `virtuemart_product_id` != 1863465
2023-10-13	13:34:17	3973	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:17	3973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863465, '8436550192490')
2023-10-13	13:34:17	3973	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:17	3973	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-plates-nylon-acier-avec-revetement-anti-derapant-noir-unitaire' AND `virtuemart_product_id` != 1863465
2023-10-13	13:34:17	3973	[DEBUG]	Query for ProductLang
2023-10-13	13:34:17	3973	[DEBUG]	Executed store
2023-10-13	13:34:17	3973	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales plates Nylon/Acier avec revêtement anti-dérapant / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-plates-nylon-acier-avec-revetement-anti-derapant-noir-unitaire' WHERE `virtuemart_product_id` = '1863465'
2023-10-13	13:34:17	3973	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11971_pedales_plates_nylon-acier.jpg
2023-10-13	13:34:17	3973	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:34:17	3973	[DEBUG]	Process image file
2023-10-13	13:34:17	3973	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:34:17	3973	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:17	3973	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/11971_pedales_plates_nylon-acier.jpg
2023-10-13	13:34:17	3973	[DEBUG]	Full name target: bcprisme/11971_pedales_plates_nylon-acier.jpg
2023-10-13	13:34:18	3973	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:18	3973	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/11971_pedales_plates_nylon-acier.jpg'
2023-10-13	13:34:18	3973	[DEBUG]	Query for Media
2023-10-13	13:34:18	3973	[DEBUG]	Executed store
2023-10-13	13:34:18	3973	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/11971_pedales_plates_nylon-acier.jpg',`file_url_thumb`='bcprisme/11971_pedales_plates_nylon-acier.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1004861'
2023-10-13	13:34:18	3973	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:18	3973	[DEBUG]	Executed store
2023-10-13	13:34:18	3973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863465','1004861','1')
2023-10-13	13:34:18	3973	[DEBUG]	Store product image relation
2023-10-13	13:34:18	3973	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:18	3973	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863465 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:18	3973	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:18	3973	[DEBUG]	Executed store
2023-10-13	13:34:18	3973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863465','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:18	3973	[DEBUG]	Checking manufacturer
2023-10-13	13:34:18	3973	[DEBUG]	Load a row
2023-10-13	13:34:18	3973	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:18	3973	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:18	3973	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:18	3973	[DEBUG]	Executed store
2023-10-13	13:34:18	3973	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:18	3973	[DEBUG]	Manufacturer exists
2023-10-13	13:34:18	3973	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:34:18	3973	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:18	3973	[DEBUG]	Executed store
2023-10-13	13:34:18	3973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863465','32')
2023-10-13	13:34:18	3973	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:18	3973	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:18	3973	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863465 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:18	3973	[DEBUG]	Store custom available field
2023-10-13	13:34:18	3973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863465,3,'',1)
2023-10-13	13:34:18	3973	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:18	3973	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:34:18	3973	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863465 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:18	3973	[DEBUG]	Store custom available field
2023-10-13	13:34:18	3973	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863465,6,'Unitaire',3)
2023-10-13	13:34:18	3973	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:18	3973	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:18	3973	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863464
2023-10-13	13:34:18	3973	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:18	3973	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863464\":[1863464,8,1,\"choisir la taille\"],\"1863465\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863464
2023-10-13	13:34:18	3973	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:18	3973	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863465
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:18	3974	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field taille
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:18	3974	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:18	3974	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:18	3974	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:18	3974	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:18	3974	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:18	3974	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field published
2023-10-13	13:34:18	3974	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:18	3974	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field override
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:18	3974	[DEBUG]	Use field value for field slug
2023-10-13	13:34:18	3974	[DEBUG]	Process line 3974
2023-10-13	13:34:18	3974	[DEBUG]	Load a row
2023-10-13	13:34:18	3974	[DEBUG]	Processing item: A_3879_1
2023-10-13	13:34:18	3974	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:18	3974	[DEBUG]	Processing product tax
2023-10-13	13:34:18	3974	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:18	3974	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:18	3974	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:18	3974	[DEBUG]	Query for Product
2023-10-13	13:34:18	3974	[DEBUG]	Executed store
2023-10-13	13:34:18	3974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3879_1','0.276','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:18	3974	[DEBUG]	Check product language entry
2023-10-13	13:34:18	3974	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863466
2023-10-13	13:34:18	3974	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:18	3974	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3879_1' AND `virtuemart_product_id` != 1863466
2023-10-13	13:34:18	3974	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:18	3974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863466, 'A_3879_1')
2023-10-13	13:34:18	3974	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:18	3974	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-plates-msc-axe-acier-et-corps-aluminium-6063-t5-276-gr-noir' AND `virtuemart_product_id` != 1863466
2023-10-13	13:34:18	3974	[DEBUG]	Query for ProductLang
2023-10-13	13:34:18	3974	[DEBUG]	Executed store
2023-10-13	13:34:18	3974	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>ALUMINIO<br>276 g<br>BLACK<br>N° art fourn : AR03CBK',`product_name`='MSC Pédales plates MSC, axe acier et corps Aluminium 6063 T5, 276 gr. / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-plates-msc-axe-acier-et-corps-aluminium-6063-t5-276-gr-noir' WHERE `virtuemart_product_id` = '1863466'
2023-10-13	13:34:18	3974	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20299.jpg
2023-10-13	13:34:18	3974	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:18	3974	[DEBUG]	Process image file
2023-10-13	13:34:18	3974	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:18	3974	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:18	3974	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20299.jpg
2023-10-13	13:34:18	3974	[DEBUG]	Full name target: bcprisme/image_20299.jpg
2023-10-13	13:34:19	3974	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:19	3974	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20299.jpg'
2023-10-13	13:34:19	3974	[DEBUG]	Query for Media
2023-10-13	13:34:19	3974	[DEBUG]	Executed store
2023-10-13	13:34:19	3974	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20299.jpg',`file_url_thumb`='bcprisme/image_20299.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14437'
2023-10-13	13:34:19	3974	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:19	3974	[DEBUG]	Executed store
2023-10-13	13:34:19	3974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863466','14437','1')
2023-10-13	13:34:19	3974	[DEBUG]	Store product image relation
2023-10-13	13:34:19	3974	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:19	3974	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863466 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:19	3974	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:19	3974	[DEBUG]	Executed store
2023-10-13	13:34:19	3974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863466','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:19	3974	[DEBUG]	Checking manufacturer
2023-10-13	13:34:19	3974	[DEBUG]	Load a row
2023-10-13	13:34:19	3974	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:19	3974	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:19	3974	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:19	3974	[DEBUG]	Executed store
2023-10-13	13:34:19	3974	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:19	3974	[DEBUG]	Manufacturer exists
2023-10-13	13:34:19	3974	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:34:19	3974	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:19	3974	[DEBUG]	Executed store
2023-10-13	13:34:19	3974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863466','32')
2023-10-13	13:34:19	3974	[DEBUG]	Find the custom field ID
2023-10-13	13:34:19	3974	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:19	3974	[DEBUG]	No custom field ID found
2023-10-13	13:34:19	3974	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:19	3974	[DEBUG]	Get existing row with customfield value 79.6780555555556
2023-10-13	13:34:19	3974	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863466 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:19	3974	[DEBUG]	Store custom available field
2023-10-13	13:34:19	3974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863466,3,'79.6780555555556',1)
2023-10-13	13:34:19	3974	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:19	3974	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:19	3974	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863466 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:19	3974	[DEBUG]	Store custom available field
2023-10-13	13:34:19	3974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863466,6,'choisir la taille',3)
2023-10-13	13:34:19	3974	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:19	3974	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:19	3974	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:19	3974	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:19	3974	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863466 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:19	3974	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:19	3974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863466,8,1)
2023-10-13	13:34:19	3974	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:19	3974	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863466\":[1863466,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863466
2023-10-13	13:34:19	3974	[DEBUG]	Checking category
2023-10-13	13:34:19	3974	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:19	3974	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863466
2023-10-13	13:34:19	3974	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:19	3974	[DEBUG]	Executed store
2023-10-13	13:34:19	3974	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863466','7392')
2023-10-13	13:34:19	3974	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:19	3974	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863466 AND `virtuemart_category_id` NOT IN (7392)
2023-10-13	13:34:19	3974	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:19	3974	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863466
2023-10-13	13:34:19	3975	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:19	3975	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:19	3975	[DEBUG]	Use field value for field taille
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:19	3975	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:19	3975	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:19	3975	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:19	3975	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:19	3975	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:19	3975	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:19	3975	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:19	3975	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:19	3975	[DEBUG]	Use field value for field published
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:19	3975	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field override
2023-10-13	13:34:19	3975	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:19	3975	[DEBUG]	Use field value for field slug
2023-10-13	13:34:19	3975	[DEBUG]	Process line 3975
2023-10-13	13:34:19	3975	[DEBUG]	Load a row
2023-10-13	13:34:19	3975	[DEBUG]	Processing item: 8435466292003
2023-10-13	13:34:19	3975	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:19	3975	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:19	3975	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3879_1'
2023-10-13	13:34:19	3975	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:19	3975	[DEBUG]	Processing product tax
2023-10-13	13:34:19	3975	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:19	3975	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:19	3975	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:19	3975	[DEBUG]	Query for Product
2023-10-13	13:34:19	3975	[DEBUG]	Executed store
2023-10-13	13:34:19	3975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863466','8435466292003','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:19	3975	[DEBUG]	No parent found
2023-10-13	13:34:19	3975	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863466 AND customfield_value = 'stockable'
2023-10-13	13:34:19	3975	[DEBUG]	Check product language entry
2023-10-13	13:34:19	3975	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863467
2023-10-13	13:34:19	3975	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:19	3975	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466292003' AND `virtuemart_product_id` != 1863467
2023-10-13	13:34:19	3975	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:19	3975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863467, '8435466292003')
2023-10-13	13:34:19	3975	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:19	3975	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-plates-msc-axe-acier-et-corps-aluminium-6063-t5-276-gr-noir-unitaire' AND `virtuemart_product_id` != 1863467
2023-10-13	13:34:19	3975	[DEBUG]	Query for ProductLang
2023-10-13	13:34:19	3975	[DEBUG]	Executed store
2023-10-13	13:34:19	3975	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales plates MSC, axe acier et corps Aluminium 6063 T5, 276 gr. / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-plates-msc-axe-acier-et-corps-aluminium-6063-t5-276-gr-noir-unitaire' WHERE `virtuemart_product_id` = '1863467'
2023-10-13	13:34:19	3975	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20299.jpg
2023-10-13	13:34:19	3975	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:19	3975	[DEBUG]	Process image file
2023-10-13	13:34:19	3975	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:19	3975	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:19	3975	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_20299.jpg
2023-10-13	13:34:19	3975	[DEBUG]	Full name target: bcprisme/image_20299.jpg
2023-10-13	13:34:20	3975	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:20	3975	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_20299.jpg'
2023-10-13	13:34:20	3975	[DEBUG]	Query for Media
2023-10-13	13:34:20	3975	[DEBUG]	Executed store
2023-10-13	13:34:20	3975	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_20299.jpg',`file_url_thumb`='bcprisme/image_20299.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14437'
2023-10-13	13:34:20	3975	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:20	3975	[DEBUG]	Executed store
2023-10-13	13:34:20	3975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863467','14437','1')
2023-10-13	13:34:20	3975	[DEBUG]	Store product image relation
2023-10-13	13:34:20	3975	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:20	3975	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863467 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:20	3975	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:20	3975	[DEBUG]	Executed store
2023-10-13	13:34:20	3975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863467','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:20	3975	[DEBUG]	Checking manufacturer
2023-10-13	13:34:20	3975	[DEBUG]	Load a row
2023-10-13	13:34:20	3975	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:20	3975	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:20	3975	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:20	3975	[DEBUG]	Executed store
2023-10-13	13:34:20	3975	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:20	3975	[DEBUG]	Manufacturer exists
2023-10-13	13:34:20	3975	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:34:20	3975	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:20	3975	[DEBUG]	Executed store
2023-10-13	13:34:20	3975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863467','32')
2023-10-13	13:34:20	3975	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:20	3975	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:20	3975	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863467 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:20	3975	[DEBUG]	Store custom available field
2023-10-13	13:34:20	3975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863467,3,'',1)
2023-10-13	13:34:20	3975	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:20	3975	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:34:20	3975	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863467 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:20	3975	[DEBUG]	Store custom available field
2023-10-13	13:34:20	3975	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863467,6,'Unitaire',3)
2023-10-13	13:34:20	3975	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:20	3975	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:20	3975	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863466
2023-10-13	13:34:20	3975	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:20	3975	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863466\":[1863466,8,1,\"choisir la taille\"],\"1863467\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863466
2023-10-13	13:34:20	3975	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:20	3975	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863467
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:20	3976	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field taille
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:20	3976	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:20	3976	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:20	3976	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:20	3976	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:20	3976	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:20	3976	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field published
2023-10-13	13:34:20	3976	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:20	3976	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field override
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:20	3976	[DEBUG]	Use field value for field slug
2023-10-13	13:34:20	3976	[DEBUG]	Process line 3976
2023-10-13	13:34:20	3976	[DEBUG]	Load a row
2023-10-13	13:34:20	3976	[DEBUG]	Processing item: A_3882_1
2023-10-13	13:34:20	3976	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:20	3976	[DEBUG]	Processing product tax
2023-10-13	13:34:20	3976	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:20	3976	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:20	3976	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:20	3976	[DEBUG]	Query for Product
2023-10-13	13:34:20	3976	[DEBUG]	Executed store
2023-10-13	13:34:20	3976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3882_1','0.33','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:20	3976	[DEBUG]	Check product language entry
2023-10-13	13:34:20	3976	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863468
2023-10-13	13:34:20	3976	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:20	3976	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3882_1' AND `virtuemart_product_id` != 1863468
2023-10-13	13:34:20	3976	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:20	3976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863468, 'A_3882_1')
2023-10-13	13:34:20	3976	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:20	3976	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-plates-msc-axe-acier-330-gr-noir' AND `virtuemart_product_id` != 1863468
2023-10-13	13:34:20	3976	[DEBUG]	Query for ProductLang
2023-10-13	13:34:20	3976	[DEBUG]	Executed store
2023-10-13	13:34:20	3976	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pédale plate MSC, axe acier, 330 gr <br>N° art fourn : AR07BK',`product_name`='MSC Pédales plates MSC axe acier 330 gr  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-plates-msc-axe-acier-330-gr-noir' WHERE `virtuemart_product_id` = '1863468'
2023-10-13	13:34:20	3976	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20310_pedale_plate_msc,_axe_acier,_330_gr_.jpg
2023-10-13	13:34:20	3976	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:20	3976	[DEBUG]	Process image file
2023-10-13	13:34:20	3976	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:20	3976	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:20	3976	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20310_pedale_plate_msc,_axe_acier,_330_gr_.jpg
2023-10-13	13:34:20	3976	[DEBUG]	Full name target: bcprisme/20310_pedale_plate_msc,_axe_acier,_330_gr_.jpg
2023-10-13	13:34:21	3976	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:21	3976	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20310_pedale_plate_msc,_axe_acier,_330_gr_.jpg'
2023-10-13	13:34:21	3976	[DEBUG]	Query for Media
2023-10-13	13:34:21	3976	[DEBUG]	Executed store
2023-10-13	13:34:21	3976	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20310_pedale_plate_msc,_axe_acier,_330_gr_.jpg',`file_url_thumb`='bcprisme/20310_pedale_plate_msc,_axe_acier,_330_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147573'
2023-10-13	13:34:21	3976	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:21	3976	[DEBUG]	Executed store
2023-10-13	13:34:21	3976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863468','147573','1')
2023-10-13	13:34:21	3976	[DEBUG]	Store product image relation
2023-10-13	13:34:21	3976	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:21	3976	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863468 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:21	3976	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:21	3976	[DEBUG]	Executed store
2023-10-13	13:34:21	3976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863468','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:21	3976	[DEBUG]	Checking manufacturer
2023-10-13	13:34:21	3976	[DEBUG]	Load a row
2023-10-13	13:34:21	3976	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:21	3976	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:21	3976	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:21	3976	[DEBUG]	Executed store
2023-10-13	13:34:21	3976	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:21	3976	[DEBUG]	Manufacturer exists
2023-10-13	13:34:21	3976	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:34:21	3976	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:21	3976	[DEBUG]	Executed store
2023-10-13	13:34:21	3976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863468','32')
2023-10-13	13:34:21	3976	[DEBUG]	Find the custom field ID
2023-10-13	13:34:21	3976	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:21	3976	[DEBUG]	No custom field ID found
2023-10-13	13:34:21	3976	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:21	3976	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:34:21	3976	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863468 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:21	3976	[DEBUG]	Store custom available field
2023-10-13	13:34:21	3976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863468,3,'39.7891666666667',1)
2023-10-13	13:34:21	3976	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:21	3976	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:21	3976	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863468 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:21	3976	[DEBUG]	Store custom available field
2023-10-13	13:34:21	3976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863468,6,'choisir la taille',3)
2023-10-13	13:34:21	3976	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:21	3976	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:21	3976	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:21	3976	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:21	3976	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863468 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:21	3976	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:21	3976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863468,8,1)
2023-10-13	13:34:21	3976	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:21	3976	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863468\":[1863468,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863468
2023-10-13	13:34:21	3976	[DEBUG]	Checking category
2023-10-13	13:34:21	3976	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:21	3976	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863468
2023-10-13	13:34:21	3976	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:21	3976	[DEBUG]	Executed store
2023-10-13	13:34:21	3976	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863468','7392')
2023-10-13	13:34:21	3976	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:21	3976	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863468 AND `virtuemart_category_id` NOT IN (7392)
2023-10-13	13:34:21	3976	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:21	3976	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863468
2023-10-13	13:34:21	3977	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:21	3977	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:21	3977	[DEBUG]	Use field value for field taille
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:21	3977	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:21	3977	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:21	3977	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:21	3977	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:21	3977	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:21	3977	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:21	3977	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:21	3977	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:21	3977	[DEBUG]	Use field value for field published
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:21	3977	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field override
2023-10-13	13:34:21	3977	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:21	3977	[DEBUG]	Use field value for field slug
2023-10-13	13:34:21	3977	[DEBUG]	Process line 3977
2023-10-13	13:34:21	3977	[DEBUG]	Load a row
2023-10-13	13:34:21	3977	[DEBUG]	Processing item: 8435466292058
2023-10-13	13:34:21	3977	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:21	3977	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:21	3977	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3882_1'
2023-10-13	13:34:21	3977	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:21	3977	[DEBUG]	Processing product tax
2023-10-13	13:34:21	3977	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:21	3977	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:21	3977	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:21	3977	[DEBUG]	Query for Product
2023-10-13	13:34:21	3977	[DEBUG]	Executed store
2023-10-13	13:34:21	3977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863468','8435466292058','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:21	3977	[DEBUG]	No parent found
2023-10-13	13:34:21	3977	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863468 AND customfield_value = 'stockable'
2023-10-13	13:34:21	3977	[DEBUG]	Check product language entry
2023-10-13	13:34:21	3977	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863469
2023-10-13	13:34:21	3977	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:21	3977	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466292058' AND `virtuemart_product_id` != 1863469
2023-10-13	13:34:21	3977	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:21	3977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863469, '8435466292058')
2023-10-13	13:34:21	3977	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:21	3977	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pedales-plates-msc-axe-acier-330-gr-noir-unitaire' AND `virtuemart_product_id` != 1863469
2023-10-13	13:34:21	3977	[DEBUG]	Query for ProductLang
2023-10-13	13:34:21	3977	[DEBUG]	Executed store
2023-10-13	13:34:21	3977	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Pédales plates MSC axe acier 330 gr  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pedales-plates-msc-axe-acier-330-gr-noir-unitaire' WHERE `virtuemart_product_id` = '1863469'
2023-10-13	13:34:21	3977	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20310_pedale_plate_msc,_axe_acier,_330_gr_.jpg
2023-10-13	13:34:21	3977	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:21	3977	[DEBUG]	Process image file
2023-10-13	13:34:21	3977	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:21	3977	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:21	3977	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20310_pedale_plate_msc,_axe_acier,_330_gr_.jpg
2023-10-13	13:34:21	3977	[DEBUG]	Full name target: bcprisme/20310_pedale_plate_msc,_axe_acier,_330_gr_.jpg
2023-10-13	13:34:22	3977	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:22	3977	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20310_pedale_plate_msc,_axe_acier,_330_gr_.jpg'
2023-10-13	13:34:22	3977	[DEBUG]	Query for Media
2023-10-13	13:34:22	3977	[DEBUG]	Executed store
2023-10-13	13:34:22	3977	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20310_pedale_plate_msc,_axe_acier,_330_gr_.jpg',`file_url_thumb`='bcprisme/20310_pedale_plate_msc,_axe_acier,_330_gr_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147573'
2023-10-13	13:34:22	3977	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:22	3977	[DEBUG]	Executed store
2023-10-13	13:34:22	3977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863469','147573','1')
2023-10-13	13:34:22	3977	[DEBUG]	Store product image relation
2023-10-13	13:34:22	3977	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:22	3977	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863469 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:22	3977	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:22	3977	[DEBUG]	Executed store
2023-10-13	13:34:22	3977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863469','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:22	3977	[DEBUG]	Checking manufacturer
2023-10-13	13:34:22	3977	[DEBUG]	Load a row
2023-10-13	13:34:22	3977	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:22	3977	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:22	3977	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:22	3977	[DEBUG]	Executed store
2023-10-13	13:34:22	3977	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:34:22	3977	[DEBUG]	Manufacturer exists
2023-10-13	13:34:22	3977	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:34:22	3977	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:22	3977	[DEBUG]	Executed store
2023-10-13	13:34:22	3977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863469','32')
2023-10-13	13:34:22	3977	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:22	3977	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:22	3977	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863469 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:22	3977	[DEBUG]	Store custom available field
2023-10-13	13:34:22	3977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863469,3,'',1)
2023-10-13	13:34:22	3977	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:22	3977	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:34:22	3977	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863469 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:22	3977	[DEBUG]	Store custom available field
2023-10-13	13:34:22	3977	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863469,6,'Unitaire',3)
2023-10-13	13:34:22	3977	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:22	3977	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:22	3977	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863468
2023-10-13	13:34:22	3977	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:22	3977	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863468\":[1863468,8,1,\"choisir la taille\"],\"1863469\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863468
2023-10-13	13:34:22	3977	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:22	3977	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863469
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:22	3978	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field taille
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:22	3978	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:22	3978	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:22	3978	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:22	3978	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:22	3978	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:22	3978	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field published
2023-10-13	13:34:22	3978	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:22	3978	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field override
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:22	3978	[DEBUG]	Use field value for field slug
2023-10-13	13:34:22	3978	[DEBUG]	Process line 3978
2023-10-13	13:34:22	3978	[DEBUG]	Load a row
2023-10-13	13:34:22	3978	[DEBUG]	Processing item: A_5605_208
2023-10-13	13:34:22	3978	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:22	3978	[DEBUG]	Processing product tax
2023-10-13	13:34:22	3978	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:22	3978	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:22	3978	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:22	3978	[DEBUG]	Query for Product
2023-10-13	13:34:22	3978	[DEBUG]	Executed store
2023-10-13	13:34:22	3978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5605_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:22	3978	[DEBUG]	Check product language entry
2023-10-13	13:34:22	3978	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863470
2023-10-13	13:34:22	3978	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:22	3978	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5605_208' AND `virtuemart_product_id` != 1863470
2023-10-13	13:34:22	3978	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:22	3978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863470, 'A_5605_208')
2023-10-13	13:34:22	3978	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:22	3978	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bike-attitude-pedale-pour-enfants-lu-873-1-2-noir-aucune' AND `virtuemart_product_id` != 1863470
2023-10-13	13:34:22	3978	[DEBUG]	Query for ProductLang
2023-10-13	13:34:22	3978	[DEBUG]	Executed store
2023-10-13	13:34:22	3978	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 14.59015',`product_name`='Bike Attitude Bike Attitude Pédale pour enfants LU-873 1/2 noir / &#60;aucune&#62;&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-bike-attitude-pedale-pour-enfants-lu-873-1-2-noir-aucune' WHERE `virtuemart_product_id` = '1863470'
2023-10-13	13:34:22	3978	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30105_bike_attitude_pedale_pour_enfants_lu-873_1-2__noir.jpg
2023-10-13	13:34:22	3978	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:22	3978	[DEBUG]	Process image file
2023-10-13	13:34:22	3978	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:22	3978	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:22	3978	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30105_bike_attitude_pedale_pour_enfants_lu-873_1-2__noir.jpg
2023-10-13	13:34:22	3978	[DEBUG]	Full name target: bcprisme/30105_bike_attitude_pedale_pour_enfants_lu-873_1-2__noir.jpg
2023-10-13	13:34:23	3978	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:23	3978	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30105_bike_attitude_pedale_pour_enfants_lu-873_1-2__noir.jpg'
2023-10-13	13:34:23	3978	[DEBUG]	Query for Media
2023-10-13	13:34:23	3978	[DEBUG]	Executed store
2023-10-13	13:34:23	3978	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30105_bike_attitude_pedale_pour_enfants_lu-873_1-2__noir.jpg',`file_url_thumb`='bcprisme/30105_bike_attitude_pedale_pour_enfants_lu-873_1-2__noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135714'
2023-10-13	13:34:23	3978	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:23	3978	[DEBUG]	Executed store
2023-10-13	13:34:23	3978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863470','135714','1')
2023-10-13	13:34:23	3978	[DEBUG]	Store product image relation
2023-10-13	13:34:23	3978	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:23	3978	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863470 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:23	3978	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:23	3978	[DEBUG]	Executed store
2023-10-13	13:34:23	3978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863470','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:23	3978	[DEBUG]	Checking manufacturer
2023-10-13	13:34:23	3978	[DEBUG]	Load a row
2023-10-13	13:34:23	3978	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:23	3978	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:34:23	3978	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:23	3978	[DEBUG]	Executed store
2023-10-13	13:34:23	3978	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:34:23	3978	[DEBUG]	Manufacturer exists
2023-10-13	13:34:23	3978	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2023-10-13	13:34:23	3978	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:23	3978	[DEBUG]	Executed store
2023-10-13	13:34:23	3978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863470','48')
2023-10-13	13:34:23	3978	[DEBUG]	Find the custom field ID
2023-10-13	13:34:23	3978	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:23	3978	[DEBUG]	No custom field ID found
2023-10-13	13:34:23	3978	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:23	3978	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:23	3978	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863470 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:23	3978	[DEBUG]	Store custom available field
2023-10-13	13:34:23	3978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863470,3,'0',1)
2023-10-13	13:34:23	3978	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:23	3978	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:23	3978	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863470 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:23	3978	[DEBUG]	Store custom available field
2023-10-13	13:34:23	3978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863470,6,'choisir la taille',3)
2023-10-13	13:34:23	3978	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:23	3978	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:23	3978	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:23	3978	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:23	3978	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863470 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:23	3978	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:23	3978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863470,8,1)
2023-10-13	13:34:23	3978	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:23	3978	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863470\":[1863470,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863470
2023-10-13	13:34:23	3978	[DEBUG]	Checking category
2023-10-13	13:34:23	3978	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:23	3978	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863470
2023-10-13	13:34:23	3978	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:23	3978	[DEBUG]	Executed store
2023-10-13	13:34:23	3978	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863470','7392')
2023-10-13	13:34:23	3978	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:23	3978	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863470 AND `virtuemart_category_id` NOT IN (7392)
2023-10-13	13:34:23	3978	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:23	3978	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863470
2023-10-13	13:34:23	3979	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:23	3979	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:23	3979	[DEBUG]	Use field value for field taille
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:23	3979	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:23	3979	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:23	3979	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:23	3979	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:23	3979	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:23	3979	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:23	3979	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:23	3979	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:23	3979	[DEBUG]	Use field value for field published
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:23	3979	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field override
2023-10-13	13:34:23	3979	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:23	3979	[DEBUG]	Use field value for field slug
2023-10-13	13:34:23	3979	[DEBUG]	Process line 3979
2023-10-13	13:34:23	3979	[DEBUG]	Load a row
2023-10-13	13:34:23	3979	[DEBUG]	Processing item: 4714150555506
2023-10-13	13:34:23	3979	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:23	3979	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:23	3979	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5605_208'
2023-10-13	13:34:23	3979	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:23	3979	[DEBUG]	Processing product tax
2023-10-13	13:34:23	3979	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:23	3979	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:23	3979	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:23	3979	[DEBUG]	Query for Product
2023-10-13	13:34:23	3979	[DEBUG]	Executed store
2023-10-13	13:34:23	3979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863470','4714150555506','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:23	3979	[DEBUG]	No parent found
2023-10-13	13:34:23	3979	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863470 AND customfield_value = 'stockable'
2023-10-13	13:34:23	3979	[DEBUG]	Check product language entry
2023-10-13	13:34:23	3979	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863471
2023-10-13	13:34:23	3979	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:23	3979	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4714150555506' AND `virtuemart_product_id` != 1863471
2023-10-13	13:34:23	3979	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:23	3979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863471, '4714150555506')
2023-10-13	13:34:23	3979	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:23	3979	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bike-attitude-bike-attitude-pedale-pour-enfants-lu-873-1-2-noir-aucune-all' AND `virtuemart_product_id` != 1863471
2023-10-13	13:34:23	3979	[DEBUG]	Query for ProductLang
2023-10-13	13:34:23	3979	[DEBUG]	Executed store
2023-10-13	13:34:23	3979	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Bike Attitude Bike Attitude Pédale pour enfants LU-873 1/2 noir / &#60;aucune&#62; (All)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bike-attitude-bike-attitude-pedale-pour-enfants-lu-873-1-2-noir-aucune-all' WHERE `virtuemart_product_id` = '1863471'
2023-10-13	13:34:23	3979	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30105_bike_attitude_pedale_pour_enfants_lu-873_1-2__noir.jpg
2023-10-13	13:34:23	3979	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:23	3979	[DEBUG]	Process image file
2023-10-13	13:34:23	3979	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:23	3979	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:23	3979	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30105_bike_attitude_pedale_pour_enfants_lu-873_1-2__noir.jpg
2023-10-13	13:34:23	3979	[DEBUG]	Full name target: bcprisme/30105_bike_attitude_pedale_pour_enfants_lu-873_1-2__noir.jpg
2023-10-13	13:34:24	3979	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:24	3979	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30105_bike_attitude_pedale_pour_enfants_lu-873_1-2__noir.jpg'
2023-10-13	13:34:24	3979	[DEBUG]	Query for Media
2023-10-13	13:34:24	3979	[DEBUG]	Executed store
2023-10-13	13:34:24	3979	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30105_bike_attitude_pedale_pour_enfants_lu-873_1-2__noir.jpg',`file_url_thumb`='bcprisme/30105_bike_attitude_pedale_pour_enfants_lu-873_1-2__noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '135714'
2023-10-13	13:34:24	3979	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:24	3979	[DEBUG]	Executed store
2023-10-13	13:34:24	3979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863471','135714','1')
2023-10-13	13:34:24	3979	[DEBUG]	Store product image relation
2023-10-13	13:34:24	3979	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:24	3979	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863471 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:24	3979	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:24	3979	[DEBUG]	Executed store
2023-10-13	13:34:24	3979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863471','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:24	3979	[DEBUG]	Checking manufacturer
2023-10-13	13:34:24	3979	[DEBUG]	Load a row
2023-10-13	13:34:24	3979	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:24	3979	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:34:24	3979	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:24	3979	[DEBUG]	Executed store
2023-10-13	13:34:24	3979	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-56-091473340691' WHERE `virtuemart_manufacturer_id` = '48'
2023-10-13	13:34:24	3979	[DEBUG]	Manufacturer exists
2023-10-13	13:34:24	3979	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 48
2023-10-13	13:34:24	3979	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:24	3979	[DEBUG]	Executed store
2023-10-13	13:34:24	3979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863471','48')
2023-10-13	13:34:24	3979	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:24	3979	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:24	3979	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863471 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:24	3979	[DEBUG]	Store custom available field
2023-10-13	13:34:24	3979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863471,3,'',1)
2023-10-13	13:34:24	3979	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:24	3979	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:34:24	3979	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863471 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:24	3979	[DEBUG]	Store custom available field
2023-10-13	13:34:24	3979	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863471,6,'All',3)
2023-10-13	13:34:24	3979	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:24	3979	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:24	3979	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863470
2023-10-13	13:34:24	3979	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:24	3979	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863470\":[1863470,8,1,\"choisir la taille\"],\"1863471\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863470
2023-10-13	13:34:24	3979	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:24	3979	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863471
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:24	3980	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field taille
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:24	3980	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:24	3980	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:24	3980	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:24	3980	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:24	3980	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:24	3980	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field published
2023-10-13	13:34:24	3980	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:24	3980	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field override
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:24	3980	[DEBUG]	Use field value for field slug
2023-10-13	13:34:24	3980	[DEBUG]	Process line 3980
2023-10-13	13:34:24	3980	[DEBUG]	Load a row
2023-10-13	13:34:24	3980	[DEBUG]	Processing item: A_6215_1
2023-10-13	13:34:24	3980	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:24	3980	[DEBUG]	Processing product tax
2023-10-13	13:34:24	3980	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:24	3980	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:24	3980	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:24	3980	[DEBUG]	Query for Product
2023-10-13	13:34:24	3980	[DEBUG]	Executed store
2023-10-13	13:34:24	3980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6215_1','0.347','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:24	3980	[DEBUG]	Check product language entry
2023-10-13	13:34:24	3980	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863472
2023-10-13	13:34:24	3980	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:24	3980	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6215_1' AND `virtuemart_product_id` != 1863472
2023-10-13	13:34:24	3980	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:24	3980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863472, 'A_6215_1')
2023-10-13	13:34:24	3980	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:24	3980	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vp-components-pedales-plates-vp-196-cage-en-aluminium-noir' AND `virtuemart_product_id` != 1863472
2023-10-13	13:34:24	3980	[DEBUG]	Query for ProductLang
2023-10-13	13:34:24	3980	[DEBUG]	Executed store
2023-10-13	13:34:24	3980	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pédales plates avec corps en nylon et axe en Crmo. Poids 347gr / set<br>N° art fourn : 17.210',`product_name`='VP-Components Pédales plates Vp-196, cage en aluminium / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vp-components-pedales-plates-vp-196-cage-en-aluminium-noir' WHERE `virtuemart_product_id` = '1863472'
2023-10-13	13:34:24	3980	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32058_pedales_plates_vp_196,_cage_en_aluminium.jpg
2023-10-13	13:34:24	3980	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:24	3980	[DEBUG]	Process image file
2023-10-13	13:34:24	3980	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:24	3980	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:24	3980	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32058_pedales_plates_vp_196,_cage_en_aluminium.jpg
2023-10-13	13:34:24	3980	[DEBUG]	Full name target: bcprisme/32058_pedales_plates_vp_196,_cage_en_aluminium.jpg
2023-10-13	13:34:25	3980	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:25	3980	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32058_pedales_plates_vp_196,_cage_en_aluminium.jpg'
2023-10-13	13:34:25	3980	[DEBUG]	Query for Media
2023-10-13	13:34:25	3980	[DEBUG]	Executed store
2023-10-13	13:34:25	3980	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32058_pedales_plates_vp_196,_cage_en_aluminium.jpg',`file_url_thumb`='bcprisme/32058_pedales_plates_vp_196,_cage_en_aluminium.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16605'
2023-10-13	13:34:25	3980	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:25	3980	[DEBUG]	Executed store
2023-10-13	13:34:25	3980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863472','16605','1')
2023-10-13	13:34:25	3980	[DEBUG]	Store product image relation
2023-10-13	13:34:25	3980	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:25	3980	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863472 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:25	3980	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:25	3980	[DEBUG]	Executed store
2023-10-13	13:34:25	3980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863472','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:25	3980	[DEBUG]	Checking manufacturer
2023-10-13	13:34:25	3980	[DEBUG]	Load a row
2023-10-13	13:34:25	3980	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:25	3980	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '217'
2023-10-13	13:34:25	3980	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:25	3980	[DEBUG]	Executed store
2023-10-13	13:34:25	3980	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='29',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='29' WHERE `virtuemart_manufacturer_id` = '217'
2023-10-13	13:34:25	3980	[DEBUG]	Manufacturer exists
2023-10-13	13:34:25	3980	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 217
2023-10-13	13:34:25	3980	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:25	3980	[DEBUG]	Executed store
2023-10-13	13:34:25	3980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863472','217')
2023-10-13	13:34:25	3980	[DEBUG]	Find the custom field ID
2023-10-13	13:34:25	3980	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:25	3980	[DEBUG]	No custom field ID found
2023-10-13	13:34:25	3980	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:25	3980	[DEBUG]	Get existing row with customfield value 89.6502777777778
2023-10-13	13:34:25	3980	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863472 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:25	3980	[DEBUG]	Store custom available field
2023-10-13	13:34:25	3980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863472,3,'89.6502777777778',1)
2023-10-13	13:34:25	3980	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:25	3980	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:25	3980	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863472 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:25	3980	[DEBUG]	Store custom available field
2023-10-13	13:34:25	3980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863472,6,'choisir la taille',3)
2023-10-13	13:34:25	3980	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:25	3980	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:25	3980	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:25	3980	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:25	3980	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863472 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:25	3980	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:25	3980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863472,8,1)
2023-10-13	13:34:25	3980	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:25	3980	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863472\":[1863472,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863472
2023-10-13	13:34:25	3980	[DEBUG]	Checking category
2023-10-13	13:34:25	3980	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:25	3980	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863472
2023-10-13	13:34:25	3980	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:25	3980	[DEBUG]	Executed store
2023-10-13	13:34:25	3980	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863472','7392')
2023-10-13	13:34:25	3980	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:25	3980	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863472 AND `virtuemart_category_id` NOT IN (7392)
2023-10-13	13:34:25	3980	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:25	3980	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863472
2023-10-13	13:34:25	3981	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:25	3981	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:25	3981	[DEBUG]	Use field value for field taille
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:25	3981	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:25	3981	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:25	3981	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:25	3981	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:25	3981	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:25	3981	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:25	3981	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:25	3981	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:25	3981	[DEBUG]	Use field value for field published
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:25	3981	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field override
2023-10-13	13:34:25	3981	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:25	3981	[DEBUG]	Use field value for field slug
2023-10-13	13:34:25	3981	[DEBUG]	Process line 3981
2023-10-13	13:34:25	3981	[DEBUG]	Load a row
2023-10-13	13:34:25	3981	[DEBUG]	Processing item: 1000000102789
2023-10-13	13:34:25	3981	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:25	3981	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:25	3981	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6215_1'
2023-10-13	13:34:25	3981	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:25	3981	[DEBUG]	Processing product tax
2023-10-13	13:34:25	3981	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:25	3981	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:25	3981	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:25	3981	[DEBUG]	Query for Product
2023-10-13	13:34:25	3981	[DEBUG]	Executed store
2023-10-13	13:34:25	3981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863472','1000000102789','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:25	3981	[DEBUG]	No parent found
2023-10-13	13:34:25	3981	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863472 AND customfield_value = 'stockable'
2023-10-13	13:34:25	3981	[DEBUG]	Check product language entry
2023-10-13	13:34:25	3981	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863473
2023-10-13	13:34:25	3981	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:25	3981	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000102789' AND `virtuemart_product_id` != 1863473
2023-10-13	13:34:25	3981	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:25	3981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863473, '1000000102789')
2023-10-13	13:34:25	3981	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:25	3981	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vp-components-pedales-plates-vp-196-cage-en-aluminium-noir-unitaire' AND `virtuemart_product_id` != 1863473
2023-10-13	13:34:25	3981	[DEBUG]	Query for ProductLang
2023-10-13	13:34:25	3981	[DEBUG]	Executed store
2023-10-13	13:34:25	3981	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='VP-Components Pédales plates Vp-196, cage en aluminium / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vp-components-pedales-plates-vp-196-cage-en-aluminium-noir-unitaire' WHERE `virtuemart_product_id` = '1863473'
2023-10-13	13:34:25	3981	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32058_pedales_plates_vp_196,_cage_en_aluminium.jpg
2023-10-13	13:34:25	3981	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:25	3981	[DEBUG]	Process image file
2023-10-13	13:34:25	3981	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:25	3981	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:25	3981	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32058_pedales_plates_vp_196,_cage_en_aluminium.jpg
2023-10-13	13:34:25	3981	[DEBUG]	Full name target: bcprisme/32058_pedales_plates_vp_196,_cage_en_aluminium.jpg
2023-10-13	13:34:26	3981	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:26	3981	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32058_pedales_plates_vp_196,_cage_en_aluminium.jpg'
2023-10-13	13:34:26	3981	[DEBUG]	Query for Media
2023-10-13	13:34:26	3981	[DEBUG]	Executed store
2023-10-13	13:34:26	3981	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32058_pedales_plates_vp_196,_cage_en_aluminium.jpg',`file_url_thumb`='bcprisme/32058_pedales_plates_vp_196,_cage_en_aluminium.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16605'
2023-10-13	13:34:26	3981	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:26	3981	[DEBUG]	Executed store
2023-10-13	13:34:26	3981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863473','16605','1')
2023-10-13	13:34:26	3981	[DEBUG]	Store product image relation
2023-10-13	13:34:26	3981	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:26	3981	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863473 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:26	3981	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:26	3981	[DEBUG]	Executed store
2023-10-13	13:34:26	3981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863473','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:26	3981	[DEBUG]	Checking manufacturer
2023-10-13	13:34:26	3981	[DEBUG]	Load a row
2023-10-13	13:34:26	3981	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:26	3981	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '217'
2023-10-13	13:34:26	3981	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:26	3981	[DEBUG]	Executed store
2023-10-13	13:34:26	3981	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='29',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='29' WHERE `virtuemart_manufacturer_id` = '217'
2023-10-13	13:34:26	3981	[DEBUG]	Manufacturer exists
2023-10-13	13:34:26	3981	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 217
2023-10-13	13:34:26	3981	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:26	3981	[DEBUG]	Executed store
2023-10-13	13:34:26	3981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863473','217')
2023-10-13	13:34:26	3981	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:26	3981	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:26	3981	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863473 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:26	3981	[DEBUG]	Store custom available field
2023-10-13	13:34:26	3981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863473,3,'',1)
2023-10-13	13:34:26	3981	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:26	3981	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:34:26	3981	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863473 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:26	3981	[DEBUG]	Store custom available field
2023-10-13	13:34:26	3981	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863473,6,'Unitaire',3)
2023-10-13	13:34:26	3981	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:26	3981	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:26	3981	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863472
2023-10-13	13:34:26	3981	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:26	3981	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863472\":[1863472,8,1,\"choisir la taille\"],\"1863473\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863472
2023-10-13	13:34:26	3981	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:26	3981	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863473
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:26	3982	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field taille
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:26	3982	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:26	3982	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:26	3982	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:26	3982	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:26	3982	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:26	3982	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field published
2023-10-13	13:34:26	3982	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:26	3982	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field override
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:26	3982	[DEBUG]	Use field value for field slug
2023-10-13	13:34:26	3982	[DEBUG]	Process line 3982
2023-10-13	13:34:26	3982	[DEBUG]	Load a row
2023-10-13	13:34:26	3982	[DEBUG]	Processing item: A_6283_1
2023-10-13	13:34:26	3982	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:26	3982	[DEBUG]	Processing product tax
2023-10-13	13:34:26	3982	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:26	3982	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:26	3982	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:26	3982	[DEBUG]	Query for Product
2023-10-13	13:34:26	3982	[DEBUG]	Executed store
2023-10-13	13:34:26	3982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6283_1','0.347','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:26	3982	[DEBUG]	Check product language entry
2023-10-13	13:34:26	3982	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863474
2023-10-13	13:34:26	3982	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:26	3982	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6283_1' AND `virtuemart_product_id` != 1863474
2023-10-13	13:34:26	3982	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:26	3982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863474, 'A_6283_1')
2023-10-13	13:34:26	3982	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:26	3982	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-pedales-plates-e-bike-2023-noir' AND `virtuemart_product_id` != 1863474
2023-10-13	13:34:26	3982	[DEBUG]	Query for ProductLang
2023-10-13	13:34:26	3982	[DEBUG]	Executed store
2023-10-13	13:34:26	3982	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Pédales plates avec corps en nylon et axe en Crmo. Poids 347gr / set<br>N° art fourn : PEDALEEBIKE2020',`product_name`='MLV-Bike Pédales plates E-Bike 2023 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-pedales-plates-e-bike-2023-noir' WHERE `virtuemart_product_id` = '1863474'
2023-10-13	13:34:26	3982	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32133_pedales_plates_e-bike_2020.jpg
2023-10-13	13:34:26	3982	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:26	3982	[DEBUG]	Process image file
2023-10-13	13:34:26	3982	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:26	3982	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:26	3982	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32133_pedales_plates_e-bike_2020.jpg
2023-10-13	13:34:26	3982	[DEBUG]	Full name target: bcprisme/32133_pedales_plates_e-bike_2020.jpg
2023-10-13	13:34:27	3982	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:27	3982	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32133_pedales_plates_e-bike_2020.jpg'
2023-10-13	13:34:27	3982	[DEBUG]	Query for Media
2023-10-13	13:34:27	3982	[DEBUG]	Executed store
2023-10-13	13:34:27	3982	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32133_pedales_plates_e-bike_2020.jpg',`file_url_thumb`='bcprisme/32133_pedales_plates_e-bike_2020.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14451'
2023-10-13	13:34:27	3982	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:27	3982	[DEBUG]	Executed store
2023-10-13	13:34:27	3982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863474','14451','1')
2023-10-13	13:34:27	3982	[DEBUG]	Store product image relation
2023-10-13	13:34:27	3982	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:27	3982	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863474 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:27	3982	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:27	3982	[DEBUG]	Executed store
2023-10-13	13:34:27	3982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863474','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:27	3982	[DEBUG]	Checking manufacturer
2023-10-13	13:34:27	3982	[DEBUG]	Load a row
2023-10-13	13:34:27	3982	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:27	3982	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:34:27	3982	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:27	3982	[DEBUG]	Executed store
2023-10-13	13:34:27	3982	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:34:27	3982	[DEBUG]	Manufacturer exists
2023-10-13	13:34:27	3982	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:34:27	3982	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:27	3982	[DEBUG]	Executed store
2023-10-13	13:34:27	3982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863474','2')
2023-10-13	13:34:27	3982	[DEBUG]	Find the custom field ID
2023-10-13	13:34:27	3982	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:27	3982	[DEBUG]	No custom field ID found
2023-10-13	13:34:27	3982	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:27	3982	[DEBUG]	Get existing row with customfield value 89.6502777777778
2023-10-13	13:34:27	3982	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863474 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:27	3982	[DEBUG]	Store custom available field
2023-10-13	13:34:27	3982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863474,3,'89.6502777777778',1)
2023-10-13	13:34:27	3982	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:27	3982	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:27	3982	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863474 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:27	3982	[DEBUG]	Store custom available field
2023-10-13	13:34:27	3982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863474,6,'choisir la taille',3)
2023-10-13	13:34:27	3982	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:27	3982	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:27	3982	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:27	3982	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:27	3982	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863474 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:27	3982	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:27	3982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863474,8,1)
2023-10-13	13:34:27	3982	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:27	3982	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863474\":[1863474,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863474
2023-10-13	13:34:27	3982	[DEBUG]	Checking category
2023-10-13	13:34:27	3982	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:27	3982	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863474
2023-10-13	13:34:27	3982	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:27	3982	[DEBUG]	Executed store
2023-10-13	13:34:27	3982	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863474','7392')
2023-10-13	13:34:27	3982	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:27	3982	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863474 AND `virtuemart_category_id` NOT IN (7392)
2023-10-13	13:34:27	3982	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:27	3982	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863474
2023-10-13	13:34:27	3983	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:27	3983	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:27	3983	[DEBUG]	Use field value for field taille
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:27	3983	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:27	3983	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:27	3983	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:27	3983	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:27	3983	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:27	3983	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:27	3983	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:27	3983	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:27	3983	[DEBUG]	Use field value for field published
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:27	3983	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field override
2023-10-13	13:34:27	3983	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:27	3983	[DEBUG]	Use field value for field slug
2023-10-13	13:34:27	3983	[DEBUG]	Process line 3983
2023-10-13	13:34:27	3983	[DEBUG]	Load a row
2023-10-13	13:34:27	3983	[DEBUG]	Processing item: 1000000103625
2023-10-13	13:34:27	3983	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:27	3983	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:27	3983	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6283_1'
2023-10-13	13:34:27	3983	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:27	3983	[DEBUG]	Processing product tax
2023-10-13	13:34:27	3983	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:27	3983	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:27	3983	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:27	3983	[DEBUG]	Query for Product
2023-10-13	13:34:27	3983	[DEBUG]	Executed store
2023-10-13	13:34:27	3983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863474','1000000103625','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:27	3983	[DEBUG]	No parent found
2023-10-13	13:34:27	3983	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863474 AND customfield_value = 'stockable'
2023-10-13	13:34:27	3983	[DEBUG]	Check product language entry
2023-10-13	13:34:27	3983	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863475
2023-10-13	13:34:27	3983	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:27	3983	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000103625' AND `virtuemart_product_id` != 1863475
2023-10-13	13:34:27	3983	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:27	3983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863475, '1000000103625')
2023-10-13	13:34:27	3983	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:27	3983	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mlv-bike-pedales-plates-e-bike-2023-noir-unitaire' AND `virtuemart_product_id` != 1863475
2023-10-13	13:34:27	3983	[DEBUG]	Query for ProductLang
2023-10-13	13:34:27	3983	[DEBUG]	Executed store
2023-10-13	13:34:27	3983	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MLV-Bike Pédales plates E-Bike 2023 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mlv-bike-pedales-plates-e-bike-2023-noir-unitaire' WHERE `virtuemart_product_id` = '1863475'
2023-10-13	13:34:27	3983	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32133_pedales_plates_e-bike_2020.jpg
2023-10-13	13:34:27	3983	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:27	3983	[DEBUG]	Process image file
2023-10-13	13:34:27	3983	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:27	3983	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:27	3983	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32133_pedales_plates_e-bike_2020.jpg
2023-10-13	13:34:27	3983	[DEBUG]	Full name target: bcprisme/32133_pedales_plates_e-bike_2020.jpg
2023-10-13	13:34:28	3983	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:28	3983	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32133_pedales_plates_e-bike_2020.jpg'
2023-10-13	13:34:28	3983	[DEBUG]	Query for Media
2023-10-13	13:34:28	3983	[DEBUG]	Executed store
2023-10-13	13:34:28	3983	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32133_pedales_plates_e-bike_2020.jpg',`file_url_thumb`='bcprisme/32133_pedales_plates_e-bike_2020.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14451'
2023-10-13	13:34:28	3983	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:28	3983	[DEBUG]	Executed store
2023-10-13	13:34:28	3983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863475','14451','1')
2023-10-13	13:34:28	3983	[DEBUG]	Store product image relation
2023-10-13	13:34:28	3983	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:28	3983	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863475 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:28	3983	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:28	3983	[DEBUG]	Executed store
2023-10-13	13:34:28	3983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863475','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:28	3983	[DEBUG]	Checking manufacturer
2023-10-13	13:34:28	3983	[DEBUG]	Load a row
2023-10-13	13:34:28	3983	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:28	3983	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:34:28	3983	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:28	3983	[DEBUG]	Executed store
2023-10-13	13:34:28	3983	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='MLV',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='sos-hanger' WHERE `virtuemart_manufacturer_id` = '2'
2023-10-13	13:34:28	3983	[DEBUG]	Manufacturer exists
2023-10-13	13:34:28	3983	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 2
2023-10-13	13:34:28	3983	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:28	3983	[DEBUG]	Executed store
2023-10-13	13:34:28	3983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863475','2')
2023-10-13	13:34:28	3983	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:28	3983	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:28	3983	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863475 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:28	3983	[DEBUG]	Store custom available field
2023-10-13	13:34:28	3983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863475,3,'',1)
2023-10-13	13:34:28	3983	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:28	3983	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:34:28	3983	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863475 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:28	3983	[DEBUG]	Store custom available field
2023-10-13	13:34:28	3983	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863475,6,'Unitaire',3)
2023-10-13	13:34:28	3983	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:28	3983	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:28	3983	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863474
2023-10-13	13:34:28	3983	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:28	3983	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863474\":[1863474,8,1,\"choisir la taille\"],\"1863475\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863474
2023-10-13	13:34:28	3983	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:28	3983	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863475
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:28	3984	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field taille
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:28	3984	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:28	3984	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:28	3984	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:28	3984	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:28	3984	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:28	3984	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field published
2023-10-13	13:34:28	3984	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:28	3984	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field override
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:28	3984	[DEBUG]	Use field value for field slug
2023-10-13	13:34:28	3984	[DEBUG]	Process line 3984
2023-10-13	13:34:28	3984	[DEBUG]	Load a row
2023-10-13	13:34:28	3984	[DEBUG]	Processing item: A_8857_1
2023-10-13	13:34:28	3984	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:28	3984	[DEBUG]	Processing product tax
2023-10-13	13:34:28	3984	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:28	3984	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:28	3984	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:28	3984	[DEBUG]	Query for Product
2023-10-13	13:34:28	3984	[DEBUG]	Executed store
2023-10-13	13:34:28	3984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8857_1','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:28	3984	[DEBUG]	Check product language entry
2023-10-13	13:34:28	3984	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863476
2023-10-13	13:34:28	3984	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:28	3984	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8857_1' AND `virtuemart_product_id` != 1863476
2023-10-13	13:34:28	3984	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:28	3984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863476, 'A_8857_1')
2023-10-13	13:34:28	3984	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:28	3984	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-pd-gr400-noir-box-noir' AND `virtuemart_product_id` != 1863476
2023-10-13	13:34:28	3984	[DEBUG]	Query for ProductLang
2023-10-13	13:34:28	3984	[DEBUG]	Executed store
2023-10-13	13:34:28	3984	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.80977',`product_name`='SHIMANO Pédales PD-GR400, noir, box / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-pd-gr400-noir-box-noir' WHERE `virtuemart_product_id` = '1863476'
2023-10-13	13:34:28	3984	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_80977_002_jpg.jpg
2023-10-13	13:34:28	3984	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:28	3984	[DEBUG]	Process image file
2023-10-13	13:34:28	3984	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:28	3984	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:28	3984	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_80977_002_jpg.jpg
2023-10-13	13:34:28	3984	[DEBUG]	Full name target: bcprisme/64_80977_002_jpg.jpg
2023-10-13	13:34:29	3984	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:29	3984	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/64_80977_002_jpg.jpg'
2023-10-13	13:34:29	3984	[DEBUG]	Query for Media
2023-10-13	13:34:29	3984	[DEBUG]	Executed store
2023-10-13	13:34:29	3984	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/64_80977_002_jpg.jpg',`file_url_thumb`='bcprisme/64_80977_002_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1136319'
2023-10-13	13:34:29	3984	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:29	3984	[DEBUG]	Executed store
2023-10-13	13:34:29	3984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863476','1136319','1')
2023-10-13	13:34:29	3984	[DEBUG]	Store product image relation
2023-10-13	13:34:29	3984	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:29	3984	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863476 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:29	3984	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:29	3984	[DEBUG]	Executed store
2023-10-13	13:34:29	3984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863476','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:29	3984	[DEBUG]	Checking manufacturer
2023-10-13	13:34:29	3984	[DEBUG]	Load a row
2023-10-13	13:34:29	3984	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:29	3984	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:29	3984	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:29	3984	[DEBUG]	Executed store
2023-10-13	13:34:29	3984	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:29	3984	[DEBUG]	Manufacturer exists
2023-10-13	13:34:29	3984	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:34:29	3984	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:29	3984	[DEBUG]	Executed store
2023-10-13	13:34:29	3984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863476','26')
2023-10-13	13:34:29	3984	[DEBUG]	Find the custom field ID
2023-10-13	13:34:29	3984	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:29	3984	[DEBUG]	No custom field ID found
2023-10-13	13:34:29	3984	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:29	3984	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:29	3984	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863476 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:29	3984	[DEBUG]	Store custom available field
2023-10-13	13:34:29	3984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863476,3,'0',1)
2023-10-13	13:34:29	3984	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:29	3984	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:29	3984	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863476 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:29	3984	[DEBUG]	Store custom available field
2023-10-13	13:34:29	3984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863476,6,'choisir la taille',3)
2023-10-13	13:34:29	3984	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:29	3984	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:29	3984	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:29	3984	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:29	3984	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863476 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:29	3984	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:29	3984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863476,8,1)
2023-10-13	13:34:29	3984	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:29	3984	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863476\":[1863476,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863476
2023-10-13	13:34:29	3984	[DEBUG]	Checking category
2023-10-13	13:34:29	3984	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:29	3984	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863476
2023-10-13	13:34:29	3984	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:29	3984	[DEBUG]	Executed store
2023-10-13	13:34:29	3984	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863476','7392')
2023-10-13	13:34:29	3984	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:29	3984	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863476 AND `virtuemart_category_id` NOT IN (7392)
2023-10-13	13:34:29	3984	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:29	3984	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863476
2023-10-13	13:34:29	3985	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:29	3985	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:29	3985	[DEBUG]	Use field value for field taille
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:29	3985	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:29	3985	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:29	3985	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:29	3985	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:29	3985	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:29	3985	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:29	3985	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:29	3985	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:29	3985	[DEBUG]	Use field value for field published
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:29	3985	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field override
2023-10-13	13:34:29	3985	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:29	3985	[DEBUG]	Use field value for field slug
2023-10-13	13:34:29	3985	[DEBUG]	Process line 3985
2023-10-13	13:34:29	3985	[DEBUG]	Load a row
2023-10-13	13:34:29	3985	[DEBUG]	Processing item: 4550170902209
2023-10-13	13:34:29	3985	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:29	3985	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:29	3985	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8857_1'
2023-10-13	13:34:29	3985	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:29	3985	[DEBUG]	Processing product tax
2023-10-13	13:34:29	3985	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:29	3985	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:29	3985	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:29	3985	[DEBUG]	Query for Product
2023-10-13	13:34:29	3985	[DEBUG]	Executed store
2023-10-13	13:34:29	3985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863476','4550170902209','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:29	3985	[DEBUG]	No parent found
2023-10-13	13:34:29	3985	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863476 AND customfield_value = 'stockable'
2023-10-13	13:34:29	3985	[DEBUG]	Check product language entry
2023-10-13	13:34:29	3985	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863477
2023-10-13	13:34:29	3985	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:29	3985	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170902209' AND `virtuemart_product_id` != 1863477
2023-10-13	13:34:29	3985	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:29	3985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863477, '4550170902209')
2023-10-13	13:34:29	3985	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:29	3985	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-pedales-pd-gr400-noir-box-noir-unitaire' AND `virtuemart_product_id` != 1863477
2023-10-13	13:34:29	3985	[DEBUG]	Query for ProductLang
2023-10-13	13:34:29	3985	[DEBUG]	Executed store
2023-10-13	13:34:29	3985	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Pédales PD-GR400, noir, box / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-pedales-pd-gr400-noir-box-noir-unitaire' WHERE `virtuemart_product_id` = '1863477'
2023-10-13	13:34:29	3985	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_80977_002_jpg.jpg
2023-10-13	13:34:29	3985	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:29	3985	[DEBUG]	Process image file
2023-10-13	13:34:29	3985	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:34:29	3985	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:29	3985	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/64_80977_002_jpg.jpg
2023-10-13	13:34:29	3985	[DEBUG]	Full name target: bcprisme/64_80977_002_jpg.jpg
2023-10-13	13:34:30	3985	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:30	3985	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/64_80977_002_jpg.jpg'
2023-10-13	13:34:30	3985	[DEBUG]	Query for Media
2023-10-13	13:34:30	3985	[DEBUG]	Executed store
2023-10-13	13:34:30	3985	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/64_80977_002_jpg.jpg',`file_url_thumb`='bcprisme/64_80977_002_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1136319'
2023-10-13	13:34:30	3985	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:30	3985	[DEBUG]	Executed store
2023-10-13	13:34:30	3985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863477','1136319','1')
2023-10-13	13:34:30	3985	[DEBUG]	Store product image relation
2023-10-13	13:34:30	3985	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:30	3985	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863477 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:30	3985	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:30	3985	[DEBUG]	Executed store
2023-10-13	13:34:30	3985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863477','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:30	3985	[DEBUG]	Checking manufacturer
2023-10-13	13:34:30	3985	[DEBUG]	Load a row
2023-10-13	13:34:30	3985	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:30	3985	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:30	3985	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:30	3985	[DEBUG]	Executed store
2023-10-13	13:34:30	3985	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:30	3985	[DEBUG]	Manufacturer exists
2023-10-13	13:34:30	3985	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:34:30	3985	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:30	3985	[DEBUG]	Executed store
2023-10-13	13:34:30	3985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863477','26')
2023-10-13	13:34:30	3985	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:30	3985	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:30	3985	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863477 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:30	3985	[DEBUG]	Store custom available field
2023-10-13	13:34:30	3985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863477,3,'',1)
2023-10-13	13:34:30	3985	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:30	3985	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:34:30	3985	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863477 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:30	3985	[DEBUG]	Store custom available field
2023-10-13	13:34:30	3985	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863477,6,'Unitaire',3)
2023-10-13	13:34:30	3985	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:30	3985	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:30	3985	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863476
2023-10-13	13:34:30	3985	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:30	3985	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863476\":[1863476,8,1,\"choisir la taille\"],\"1863477\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863476
2023-10-13	13:34:30	3985	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:30	3985	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863477
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:30	3986	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field taille
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:30	3986	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:30	3986	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:30	3986	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:30	3986	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:30	3986	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:30	3986	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field published
2023-10-13	13:34:30	3986	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:30	3986	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field override
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:30	3986	[DEBUG]	Use field value for field slug
2023-10-13	13:34:30	3986	[DEBUG]	Process line 3986
2023-10-13	13:34:30	3986	[DEBUG]	Load a row
2023-10-13	13:34:30	3986	[DEBUG]	Processing item: A_9739_1
2023-10-13	13:34:30	3986	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:30	3986	[DEBUG]	Processing product tax
2023-10-13	13:34:30	3986	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:30	3986	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:30	3986	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:30	3986	[DEBUG]	Query for Product
2023-10-13	13:34:30	3986	[DEBUG]	Executed store
2023-10-13	13:34:30	3986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9739_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:30	3986	[DEBUG]	Check product language entry
2023-10-13	13:34:30	3986	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863478
2023-10-13	13:34:30	3986	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:30	3986	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9739_1' AND `virtuemart_product_id` != 1863478
2023-10-13	13:34:30	3986	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:30	3986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863478, 'A_9739_1')
2023-10-13	13:34:30	3986	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:30	3986	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-entretoises-pour-cales-sm-sh20-avec-vis-noir' AND `virtuemart_product_id` != 1863478
2023-10-13	13:34:30	3986	[DEBUG]	Query for ProductLang
2023-10-13	13:34:30	3986	[DEBUG]	Executed store
2023-10-13	13:34:30	3986	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 64.56918',`product_name`='SHIMANO Entretoises pour cales SM-SH20 avec vis / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-entretoises-pour-cales-sm-sh20-avec-vis-noir' WHERE `virtuemart_product_id` = '1863478'
2023-10-13	13:34:30	3986	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39167_entretoises_pour_cales_sm-sh20_avec_vis.jpg has not been found.
2023-10-13	13:34:30	3986	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:30	3986	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863478 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:30	3986	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:30	3986	[DEBUG]	Executed store
2023-10-13	13:34:30	3986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863478','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:30	3986	[DEBUG]	Checking manufacturer
2023-10-13	13:34:30	3986	[DEBUG]	Load a row
2023-10-13	13:34:30	3986	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:30	3986	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:30	3986	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:30	3986	[DEBUG]	Executed store
2023-10-13	13:34:30	3986	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:30	3986	[DEBUG]	Manufacturer exists
2023-10-13	13:34:30	3986	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:34:30	3986	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:30	3986	[DEBUG]	Executed store
2023-10-13	13:34:30	3986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863478','26')
2023-10-13	13:34:30	3986	[DEBUG]	Find the custom field ID
2023-10-13	13:34:30	3986	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:30	3986	[DEBUG]	No custom field ID found
2023-10-13	13:34:30	3986	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:30	3986	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:30	3986	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863478 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:30	3986	[DEBUG]	Store custom available field
2023-10-13	13:34:30	3986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863478,3,'0',1)
2023-10-13	13:34:30	3986	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:30	3986	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:30	3986	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863478 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:30	3986	[DEBUG]	Store custom available field
2023-10-13	13:34:30	3986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863478,6,'choisir la taille',3)
2023-10-13	13:34:30	3986	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:30	3986	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:30	3986	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:30	3986	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:30	3986	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863478 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:30	3986	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:30	3986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863478,8,1)
2023-10-13	13:34:30	3986	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:30	3986	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863478\":[1863478,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863478
2023-10-13	13:34:30	3986	[DEBUG]	Checking category
2023-10-13	13:34:30	3986	[DEBUG]	Check if category path exists: PEDALES ROUTE
2023-10-13	13:34:30	3986	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PEDALES ROUTE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7389
2023-10-13	13:34:30	3986	[DEBUG]	Query for Category
2023-10-13	13:34:30	3986	[DEBUG]	Executed store
2023-10-13	13:34:30	3986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7389','1','','default','default','3','0','0','0','','','','4','0','1','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:30	3986	[DEBUG]	Category publish 1
2023-10-13	13:34:30	3986	[DEBUG]	Check the category language
2023-10-13	13:34:30	3986	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7393
2023-10-13	13:34:30	3986	[DEBUG]	Check the category slug
2023-10-13	13:34:30	3986	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pedales-route' AND `virtuemart_category_id` != 7393
2023-10-13	13:34:30	3986	[DEBUG]	Check the category slug
2023-10-13	13:34:30	3986	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pedales-route' AND `virtuemart_category_id` != 7393
2023-10-13	13:34:30	3986	[DEBUG]	Add the category language entry
2023-10-13	13:34:30	3986	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7393, 'pedales-route')
2023-10-13	13:34:30	3986	[DEBUG]	Query for CategoryLang
2023-10-13	13:34:30	3986	[DEBUG]	Executed store
2023-10-13	13:34:30	3986	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PEDALES ROUTE',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pedales-route' WHERE `virtuemart_category_id` = '7393'
2023-10-13	13:34:30	3986	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:34:30	3986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7389','7393','0')
2023-10-13	13:34:30	3986	[DEBUG]	Update has field for parent category
2023-10-13	13:34:30	3986	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7389
2023-10-13	13:34:30	3986	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:30	3986	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863478
2023-10-13	13:34:30	3986	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:30	3986	[DEBUG]	Executed store
2023-10-13	13:34:30	3986	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863478','7393')
2023-10-13	13:34:30	3986	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:30	3986	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863478 AND `virtuemart_category_id` NOT IN (7393)
2023-10-13	13:34:30	3986	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:30	3986	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863478
2023-10-13	13:34:30	3987	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:30	3987	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:30	3987	[DEBUG]	Use field value for field taille
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:30	3987	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:30	3987	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:30	3987	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:30	3987	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:30	3987	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:30	3987	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:30	3987	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:30	3987	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:30	3987	[DEBUG]	Use field value for field published
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:30	3987	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field override
2023-10-13	13:34:30	3987	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:30	3987	[DEBUG]	Use field value for field slug
2023-10-13	13:34:30	3987	[DEBUG]	Process line 3987
2023-10-13	13:34:30	3987	[DEBUG]	Load a row
2023-10-13	13:34:30	3987	[DEBUG]	Processing item: 4524667933731
2023-10-13	13:34:30	3987	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:30	3987	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:30	3987	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9739_1'
2023-10-13	13:34:30	3987	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:30	3987	[DEBUG]	Processing product tax
2023-10-13	13:34:30	3987	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:30	3987	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:30	3987	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:30	3987	[DEBUG]	Query for Product
2023-10-13	13:34:30	3987	[DEBUG]	Executed store
2023-10-13	13:34:30	3987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863478','4524667933731','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:30	3987	[DEBUG]	No parent found
2023-10-13	13:34:30	3987	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863478 AND customfield_value = 'stockable'
2023-10-13	13:34:30	3987	[DEBUG]	Check product language entry
2023-10-13	13:34:30	3987	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863479
2023-10-13	13:34:30	3987	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:30	3987	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4524667933731' AND `virtuemart_product_id` != 1863479
2023-10-13	13:34:30	3987	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:30	3987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863479, '4524667933731')
2023-10-13	13:34:30	3987	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:30	3987	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-entretoises-pour-cales-sm-sh20-avec-vis-noir-unitaire' AND `virtuemart_product_id` != 1863479
2023-10-13	13:34:30	3987	[DEBUG]	Query for ProductLang
2023-10-13	13:34:30	3987	[DEBUG]	Executed store
2023-10-13	13:34:30	3987	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Entretoises pour cales SM-SH20 avec vis / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-entretoises-pour-cales-sm-sh20-avec-vis-noir-unitaire' WHERE `virtuemart_product_id` = '1863479'
2023-10-13	13:34:30	3987	[DEBUG]	The file /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39167_entretoises_pour_cales_sm-sh20_avec_vis.jpg has not been found.
2023-10-13	13:34:30	3987	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:30	3987	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863479 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:30	3987	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:30	3987	[DEBUG]	Executed store
2023-10-13	13:34:30	3987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863479','0','10.1207056638812','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:30	3987	[DEBUG]	Checking manufacturer
2023-10-13	13:34:30	3987	[DEBUG]	Load a row
2023-10-13	13:34:30	3987	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:30	3987	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:30	3987	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:30	3987	[DEBUG]	Executed store
2023-10-13	13:34:30	3987	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:34:30	3987	[DEBUG]	Manufacturer exists
2023-10-13	13:34:30	3987	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:34:30	3987	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:30	3987	[DEBUG]	Executed store
2023-10-13	13:34:30	3987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863479','26')
2023-10-13	13:34:30	3987	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:30	3987	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:30	3987	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863479 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:30	3987	[DEBUG]	Store custom available field
2023-10-13	13:34:30	3987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863479,3,'',1)
2023-10-13	13:34:30	3987	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:30	3987	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:34:30	3987	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863479 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:30	3987	[DEBUG]	Store custom available field
2023-10-13	13:34:30	3987	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863479,6,'Unitaire',3)
2023-10-13	13:34:30	3987	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:30	3987	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:30	3987	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863478
2023-10-13	13:34:30	3987	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:30	3987	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863478\":[1863478,8,1,\"choisir la taille\"],\"1863479\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863478
2023-10-13	13:34:30	3987	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:30	3987	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863479
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:30	3988	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field taille
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:30	3988	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:30	3988	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:30	3988	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:30	3988	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:30	3988	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:30	3988	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field published
2023-10-13	13:34:30	3988	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:30	3988	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field override
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:30	3988	[DEBUG]	Use field value for field slug
2023-10-13	13:34:30	3988	[DEBUG]	Process line 3988
2023-10-13	13:34:30	3988	[DEBUG]	Load a row
2023-10-13	13:34:30	3988	[DEBUG]	Processing item: A_5234_208
2023-10-13	13:34:30	3988	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:30	3988	[DEBUG]	Processing product tax
2023-10-13	13:34:30	3988	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:30	3988	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:30	3988	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:30	3988	[DEBUG]	Query for Product
2023-10-13	13:34:30	3988	[DEBUG]	Executed store
2023-10-13	13:34:30	3988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5234_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:30	3988	[DEBUG]	Check product language entry
2023-10-13	13:34:30	3988	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863480
2023-10-13	13:34:30	3988	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:30	3988	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5234_208' AND `virtuemart_product_id` != 1863480
2023-10-13	13:34:30	3988	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:30	3988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863480, 'A_5234_208')
2023-10-13	13:34:30	3988	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:30	3988	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-lr23-12v-1-unite-aucune' AND `virtuemart_product_id` != 1863480
2023-10-13	13:34:30	3988	[DEBUG]	Query for ProductLang
2023-10-13	13:34:30	3988	[DEBUG]	Executed store
2023-10-13	13:34:30	3988	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.54278',`product_name`='Duracell Pile LR23 12V, 1 unité / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-lr23-12v-1-unite-aucune' WHERE `virtuemart_product_id` = '1863480'
2023-10-13	13:34:30	3988	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29705_duracell_pile_lr23_12v_.jpg
2023-10-13	13:34:30	3988	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:30	3988	[DEBUG]	Process image file
2023-10-13	13:34:30	3988	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:30	3988	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:30	3988	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29705_duracell_pile_lr23_12v_.jpg
2023-10-13	13:34:30	3988	[DEBUG]	Full name target: bcprisme/29705_duracell_pile_lr23_12v_.jpg
2023-10-13	13:34:31	3988	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:31	3988	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29705_duracell_pile_lr23_12v_.jpg'
2023-10-13	13:34:31	3988	[DEBUG]	Query for Media
2023-10-13	13:34:31	3988	[DEBUG]	Executed store
2023-10-13	13:34:31	3988	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29705_duracell_pile_lr23_12v_.jpg',`file_url_thumb`='bcprisme/29705_duracell_pile_lr23_12v_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438105'
2023-10-13	13:34:31	3988	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:31	3988	[DEBUG]	Executed store
2023-10-13	13:34:31	3988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863480','438105','1')
2023-10-13	13:34:31	3988	[DEBUG]	Store product image relation
2023-10-13	13:34:31	3988	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:31	3988	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863480 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:31	3988	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:31	3988	[DEBUG]	Executed store
2023-10-13	13:34:31	3988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863480','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:31	3988	[DEBUG]	Checking manufacturer
2023-10-13	13:34:31	3988	[DEBUG]	Load a row
2023-10-13	13:34:31	3988	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:31	3988	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:31	3988	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:31	3988	[DEBUG]	Executed store
2023-10-13	13:34:31	3988	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:31	3988	[DEBUG]	Manufacturer exists
2023-10-13	13:34:31	3988	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:34:31	3988	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:31	3988	[DEBUG]	Executed store
2023-10-13	13:34:31	3988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863480','57')
2023-10-13	13:34:31	3988	[DEBUG]	Find the custom field ID
2023-10-13	13:34:31	3988	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:31	3988	[DEBUG]	No custom field ID found
2023-10-13	13:34:31	3988	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:31	3988	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:31	3988	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863480 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:31	3988	[DEBUG]	Store custom available field
2023-10-13	13:34:31	3988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863480,3,'0',1)
2023-10-13	13:34:31	3988	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:31	3988	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:31	3988	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863480 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:31	3988	[DEBUG]	Store custom available field
2023-10-13	13:34:31	3988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863480,6,'choisir la taille',3)
2023-10-13	13:34:31	3988	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:31	3988	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:31	3988	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:31	3988	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:31	3988	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863480 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:31	3988	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:31	3988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863480,8,1)
2023-10-13	13:34:31	3988	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:31	3988	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863480\":[1863480,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863480
2023-10-13	13:34:31	3988	[DEBUG]	Checking category
2023-10-13	13:34:31	3988	[DEBUG]	Check if category path exists: PILES
2023-10-13	13:34:31	3988	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PILES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:34:31	3988	[DEBUG]	Query for Category
2023-10-13	13:34:31	3988	[DEBUG]	Executed store
2023-10-13	13:34:31	3988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('0','1','','default','default','3','0','0','0','','','','48','0','1','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:31	3988	[DEBUG]	Category publish 1
2023-10-13	13:34:31	3988	[DEBUG]	Check the category language
2023-10-13	13:34:31	3988	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7394
2023-10-13	13:34:31	3988	[DEBUG]	Check the category slug
2023-10-13	13:34:31	3988	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'piles' AND `virtuemart_category_id` != 7394
2023-10-13	13:34:31	3988	[DEBUG]	Check how many other categories exist with the same slug
2023-10-13	13:34:31	3988	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'piles', '')) + 1 FROM mlvbch_virtuemart_categories_fr_fr WHERE (`slug` = 'piles' OR `slug` LIKE 'piles-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_category_id` != 7394 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:34:31	3988	[DEBUG]	Check the category slug
2023-10-13	13:34:31	3988	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'piles-1' AND `virtuemart_category_id` != 7394
2023-10-13	13:34:31	3988	[DEBUG]	Add the category language entry
2023-10-13	13:34:31	3988	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7394, 'piles-1')
2023-10-13	13:34:31	3988	[DEBUG]	Query for CategoryLang
2023-10-13	13:34:31	3988	[DEBUG]	Executed store
2023-10-13	13:34:31	3988	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PILES',`metadesc`='',`metakey`='',`customtitle`='',`slug`='piles-1' WHERE `virtuemart_category_id` = '7394'
2023-10-13	13:34:31	3988	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:34:31	3988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('0','7394','0')
2023-10-13	13:34:31	3988	[DEBUG]	Check if category path exists: PILES
2023-10-13	13:34:31	3988	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PILES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7394
2023-10-13	13:34:31	3988	[DEBUG]	Query for Category
2023-10-13	13:34:31	3988	[DEBUG]	Executed store
2023-10-13	13:34:31	3988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7394','1','','default','default','3','0','0','0','','','','1','0','1','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:31	3988	[DEBUG]	Category publish 1
2023-10-13	13:34:31	3988	[DEBUG]	Check the category language
2023-10-13	13:34:31	3988	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7395
2023-10-13	13:34:31	3988	[DEBUG]	Check the category slug
2023-10-13	13:34:31	3988	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'piles' AND `virtuemart_category_id` != 7395
2023-10-13	13:34:31	3988	[DEBUG]	Check how many other categories exist with the same slug
2023-10-13	13:34:31	3988	[QUERY]	 SELECT ABS(REPLACE(`slug`, 'piles', '')) + 1 FROM mlvbch_virtuemart_categories_fr_fr WHERE (`slug` = 'piles' OR `slug` LIKE 'piles-_%' AND RIGHT(`slug`, 1) IN (0,1,2,3,4,5,6,7,8,9)) AND `virtuemart_category_id` != 7395 ORDER BY LENGTH(`slug`), `slug` ASC
2023-10-13	13:34:31	3988	[DEBUG]	Check the category slug
2023-10-13	13:34:31	3988	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'piles-2' AND `virtuemart_category_id` != 7395
2023-10-13	13:34:31	3988	[DEBUG]	Add the category language entry
2023-10-13	13:34:31	3988	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7395, 'piles-2')
2023-10-13	13:34:31	3988	[DEBUG]	Query for CategoryLang
2023-10-13	13:34:31	3988	[DEBUG]	Executed store
2023-10-13	13:34:31	3988	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PILES',`metadesc`='',`metakey`='',`customtitle`='',`slug`='piles-2' WHERE `virtuemart_category_id` = '7395'
2023-10-13	13:34:31	3988	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:34:31	3988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7394','7395','0')
2023-10-13	13:34:31	3988	[DEBUG]	Update has field for parent category
2023-10-13	13:34:31	3988	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7394
2023-10-13	13:34:31	3988	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:31	3988	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863480
2023-10-13	13:34:31	3988	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:31	3988	[DEBUG]	Executed store
2023-10-13	13:34:31	3988	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863480','7395')
2023-10-13	13:34:31	3988	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:31	3988	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863480 AND `virtuemart_category_id` NOT IN (7395)
2023-10-13	13:34:31	3988	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:31	3988	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863480
2023-10-13	13:34:31	3989	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:31	3989	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:31	3989	[DEBUG]	Use field value for field taille
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:31	3989	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:31	3989	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:31	3989	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:31	3989	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:31	3989	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:31	3989	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:31	3989	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:31	3989	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:31	3989	[DEBUG]	Use field value for field published
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:31	3989	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field override
2023-10-13	13:34:31	3989	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:31	3989	[DEBUG]	Use field value for field slug
2023-10-13	13:34:31	3989	[DEBUG]	Process line 3989
2023-10-13	13:34:31	3989	[DEBUG]	Load a row
2023-10-13	13:34:31	3989	[DEBUG]	Processing item: 5000394203969
2023-10-13	13:34:31	3989	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:31	3989	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:31	3989	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5234_208'
2023-10-13	13:34:31	3989	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:31	3989	[DEBUG]	Processing product tax
2023-10-13	13:34:31	3989	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:31	3989	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:31	3989	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:31	3989	[DEBUG]	Query for Product
2023-10-13	13:34:31	3989	[DEBUG]	Executed store
2023-10-13	13:34:31	3989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863480','5000394203969','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:31	3989	[DEBUG]	No parent found
2023-10-13	13:34:31	3989	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863480 AND customfield_value = 'stockable'
2023-10-13	13:34:31	3989	[DEBUG]	Check product language entry
2023-10-13	13:34:31	3989	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863481
2023-10-13	13:34:31	3989	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:31	3989	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '5000394203969' AND `virtuemart_product_id` != 1863481
2023-10-13	13:34:31	3989	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:31	3989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863481, '5000394203969')
2023-10-13	13:34:31	3989	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:31	3989	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-lr23-12v-1-unite-aucune-all' AND `virtuemart_product_id` != 1863481
2023-10-13	13:34:31	3989	[DEBUG]	Query for ProductLang
2023-10-13	13:34:31	3989	[DEBUG]	Executed store
2023-10-13	13:34:31	3989	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Duracell Pile LR23 12V, 1 unité / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-lr23-12v-1-unite-aucune-all' WHERE `virtuemart_product_id` = '1863481'
2023-10-13	13:34:31	3989	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29705_duracell_pile_lr23_12v_.jpg
2023-10-13	13:34:31	3989	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:31	3989	[DEBUG]	Process image file
2023-10-13	13:34:31	3989	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:31	3989	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:31	3989	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29705_duracell_pile_lr23_12v_.jpg
2023-10-13	13:34:31	3989	[DEBUG]	Full name target: bcprisme/29705_duracell_pile_lr23_12v_.jpg
2023-10-13	13:34:32	3989	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:32	3989	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29705_duracell_pile_lr23_12v_.jpg'
2023-10-13	13:34:32	3989	[DEBUG]	Query for Media
2023-10-13	13:34:32	3989	[DEBUG]	Executed store
2023-10-13	13:34:32	3989	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29705_duracell_pile_lr23_12v_.jpg',`file_url_thumb`='bcprisme/29705_duracell_pile_lr23_12v_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438105'
2023-10-13	13:34:32	3989	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:32	3989	[DEBUG]	Executed store
2023-10-13	13:34:32	3989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863481','438105','1')
2023-10-13	13:34:32	3989	[DEBUG]	Store product image relation
2023-10-13	13:34:32	3989	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:32	3989	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863481 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:32	3989	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:32	3989	[DEBUG]	Executed store
2023-10-13	13:34:32	3989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863481','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:32	3989	[DEBUG]	Checking manufacturer
2023-10-13	13:34:32	3989	[DEBUG]	Load a row
2023-10-13	13:34:32	3989	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:32	3989	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:32	3989	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:32	3989	[DEBUG]	Executed store
2023-10-13	13:34:32	3989	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:32	3989	[DEBUG]	Manufacturer exists
2023-10-13	13:34:32	3989	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:34:32	3989	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:32	3989	[DEBUG]	Executed store
2023-10-13	13:34:32	3989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863481','57')
2023-10-13	13:34:32	3989	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:32	3989	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:32	3989	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863481 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:32	3989	[DEBUG]	Store custom available field
2023-10-13	13:34:32	3989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863481,3,'',1)
2023-10-13	13:34:32	3989	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:32	3989	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:34:32	3989	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863481 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:32	3989	[DEBUG]	Store custom available field
2023-10-13	13:34:32	3989	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863481,6,'All',3)
2023-10-13	13:34:32	3989	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:32	3989	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:32	3989	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863480
2023-10-13	13:34:32	3989	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:32	3989	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863480\":[1863480,8,1,\"choisir la taille\"],\"1863481\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863480
2023-10-13	13:34:32	3989	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:32	3989	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863481
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:32	3990	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field taille
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:32	3990	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:32	3990	[DEBUG]	Use default value for field file_url
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:32	3990	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:32	3990	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:32	3990	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:32	3990	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:32	3990	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field published
2023-10-13	13:34:32	3990	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:32	3990	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field override
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:32	3990	[DEBUG]	Use field value for field slug
2023-10-13	13:34:32	3990	[DEBUG]	Process line 3990
2023-10-13	13:34:32	3990	[DEBUG]	Load a row
2023-10-13	13:34:32	3990	[DEBUG]	Processing item: A_5369_3
2023-10-13	13:34:32	3990	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:32	3990	[DEBUG]	Processing product tax
2023-10-13	13:34:32	3990	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:32	3990	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:32	3990	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:32	3990	[DEBUG]	Query for Product
2023-10-13	13:34:32	3990	[DEBUG]	Executed store
2023-10-13	13:34:32	3990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5369_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:32	3990	[DEBUG]	Check product language entry
2023-10-13	13:34:32	3990	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863482
2023-10-13	13:34:32	3990	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:32	3990	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5369_3' AND `virtuemart_product_id` != 1863482
2023-10-13	13:34:32	3990	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:32	3990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863482, 'A_5369_3')
2023-10-13	13:34:32	3990	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:32	3990	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-mignon-lr06-1-5v-aa-none' AND `virtuemart_product_id` != 1863482
2023-10-13	13:34:32	3990	[DEBUG]	Query for ProductLang
2023-10-13	13:34:32	3990	[DEBUG]	Executed store
2023-10-13	13:34:32	3990	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.53386',`product_name`='Duracell Pile Mignon LR06 1.5V AA / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-mignon-lr06-1-5v-aa-none' WHERE `virtuemart_product_id` = '1863482'
2023-10-13	13:34:32	3990	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:32	3990	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863482 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:32	3990	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:32	3990	[DEBUG]	Executed store
2023-10-13	13:34:32	3990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863482','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:32	3990	[DEBUG]	Checking manufacturer
2023-10-13	13:34:33	3990	[DEBUG]	Load a row
2023-10-13	13:34:33	3990	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:33	3990	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:33	3990	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:33	3990	[DEBUG]	Executed store
2023-10-13	13:34:33	3990	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:33	3990	[DEBUG]	Manufacturer exists
2023-10-13	13:34:33	3990	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:34:33	3990	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:33	3990	[DEBUG]	Executed store
2023-10-13	13:34:33	3990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863482','57')
2023-10-13	13:34:33	3990	[DEBUG]	Find the custom field ID
2023-10-13	13:34:33	3990	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:33	3990	[DEBUG]	No custom field ID found
2023-10-13	13:34:33	3990	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:33	3990	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:33	3990	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863482 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:33	3990	[DEBUG]	Store custom available field
2023-10-13	13:34:33	3990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863482,3,'0',1)
2023-10-13	13:34:33	3990	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:33	3990	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:33	3990	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863482 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:33	3990	[DEBUG]	Store custom available field
2023-10-13	13:34:33	3990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863482,6,'choisir la taille',3)
2023-10-13	13:34:33	3990	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:33	3990	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:33	3990	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:33	3990	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:33	3990	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863482 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:33	3990	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:33	3990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863482,8,1)
2023-10-13	13:34:33	3990	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:33	3990	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863482\":[1863482,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863482
2023-10-13	13:34:33	3990	[DEBUG]	Checking category
2023-10-13	13:34:33	3990	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:33	3990	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863482
2023-10-13	13:34:33	3990	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:33	3990	[DEBUG]	Executed store
2023-10-13	13:34:33	3990	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863482','7395')
2023-10-13	13:34:33	3990	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:33	3990	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863482 AND `virtuemart_category_id` NOT IN (7395)
2023-10-13	13:34:33	3990	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:33	3990	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863482
2023-10-13	13:34:33	3991	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:33	3991	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:33	3991	[DEBUG]	Use field value for field taille
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:33	3991	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:33	3991	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:33	3991	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field file_url
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:33	3991	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:33	3991	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:33	3991	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:33	3991	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:33	3991	[DEBUG]	Use field value for field published
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:33	3991	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field override
2023-10-13	13:34:33	3991	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:33	3991	[DEBUG]	Use field value for field slug
2023-10-13	13:34:33	3991	[DEBUG]	Process line 3991
2023-10-13	13:34:33	3991	[DEBUG]	Load a row
2023-10-13	13:34:33	3991	[DEBUG]	Processing item: 5000394122895
2023-10-13	13:34:33	3991	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:33	3991	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:33	3991	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5369_3'
2023-10-13	13:34:33	3991	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:33	3991	[DEBUG]	Processing product tax
2023-10-13	13:34:33	3991	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:33	3991	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:33	3991	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:33	3991	[DEBUG]	Query for Product
2023-10-13	13:34:33	3991	[DEBUG]	Executed store
2023-10-13	13:34:33	3991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863482','5000394122895','0','KG','M','','14','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:33	3991	[DEBUG]	No parent found
2023-10-13	13:34:33	3991	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863482 AND customfield_value = 'stockable'
2023-10-13	13:34:33	3991	[DEBUG]	Check product language entry
2023-10-13	13:34:33	3991	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863483
2023-10-13	13:34:33	3991	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:33	3991	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '5000394122895' AND `virtuemart_product_id` != 1863483
2023-10-13	13:34:33	3991	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:33	3991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863483, '5000394122895')
2023-10-13	13:34:33	3991	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:33	3991	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-mignon-lr06-1-5v-aa-none-all' AND `virtuemart_product_id` != 1863483
2023-10-13	13:34:33	3991	[DEBUG]	Query for ProductLang
2023-10-13	13:34:33	3991	[DEBUG]	Executed store
2023-10-13	13:34:33	3991	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Duracell Pile Mignon LR06 1.5V AA / None (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-mignon-lr06-1-5v-aa-none-all' WHERE `virtuemart_product_id` = '1863483'
2023-10-13	13:34:33	3991	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:33	3991	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863483 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:33	3991	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:33	3991	[DEBUG]	Executed store
2023-10-13	13:34:33	3991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863483','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:33	3991	[DEBUG]	Checking manufacturer
2023-10-13	13:34:33	3991	[DEBUG]	Load a row
2023-10-13	13:34:33	3991	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:33	3991	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:33	3991	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:33	3991	[DEBUG]	Executed store
2023-10-13	13:34:33	3991	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:33	3991	[DEBUG]	Manufacturer exists
2023-10-13	13:34:33	3991	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:34:33	3991	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:33	3991	[DEBUG]	Executed store
2023-10-13	13:34:33	3991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863483','57')
2023-10-13	13:34:33	3991	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:33	3991	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:33	3991	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863483 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:33	3991	[DEBUG]	Store custom available field
2023-10-13	13:34:33	3991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863483,3,'',1)
2023-10-13	13:34:33	3991	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:33	3991	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:34:33	3991	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863483 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:33	3991	[DEBUG]	Store custom available field
2023-10-13	13:34:33	3991	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863483,6,'All',3)
2023-10-13	13:34:33	3991	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:33	3991	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:33	3991	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863482
2023-10-13	13:34:33	3991	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:33	3991	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863482\":[1863482,8,1,\"choisir la taille\"],\"1863483\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863482
2023-10-13	13:34:33	3991	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:33	3991	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863483
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:33	3992	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field taille
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:33	3992	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:33	3992	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:33	3992	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:33	3992	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:33	3992	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:33	3992	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field published
2023-10-13	13:34:33	3992	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:33	3992	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field override
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:33	3992	[DEBUG]	Use field value for field slug
2023-10-13	13:34:33	3992	[DEBUG]	Process line 3992
2023-10-13	13:34:33	3992	[DEBUG]	Load a row
2023-10-13	13:34:33	3992	[DEBUG]	Processing item: A_5370_3
2023-10-13	13:34:33	3992	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:33	3992	[DEBUG]	Processing product tax
2023-10-13	13:34:33	3992	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:33	3992	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:33	3992	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:33	3992	[DEBUG]	Query for Product
2023-10-13	13:34:33	3992	[DEBUG]	Executed store
2023-10-13	13:34:33	3992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5370_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:33	3992	[DEBUG]	Check product language entry
2023-10-13	13:34:33	3992	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863484
2023-10-13	13:34:33	3992	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:33	3992	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5370_3' AND `virtuemart_product_id` != 1863484
2023-10-13	13:34:33	3992	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:33	3992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863484, 'A_5370_3')
2023-10-13	13:34:33	3992	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:33	3992	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-micro-lr03-1-5v-aa-none' AND `virtuemart_product_id` != 1863484
2023-10-13	13:34:33	3992	[DEBUG]	Query for ProductLang
2023-10-13	13:34:33	3992	[DEBUG]	Executed store
2023-10-13	13:34:33	3992	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.53384',`product_name`='Duracell Pile Micro  LR03 1.5V AA / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-micro-lr03-1-5v-aa-none' WHERE `virtuemart_product_id` = '1863484'
2023-10-13	13:34:33	3992	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_53384.jpg
2023-10-13	13:34:33	3992	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:33	3992	[DEBUG]	Process image file
2023-10-13	13:34:33	3992	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:33	3992	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:33	3992	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_53384.jpg
2023-10-13	13:34:33	3992	[DEBUG]	Full name target: bcprisme/20_53384.jpg
2023-10-13	13:34:34	3992	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:34	3992	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_53384.jpg'
2023-10-13	13:34:34	3992	[DEBUG]	Query for Media
2023-10-13	13:34:34	3992	[DEBUG]	Executed store
2023-10-13	13:34:34	3992	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_53384.jpg',`file_url_thumb`='bcprisme/20_53384.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438107'
2023-10-13	13:34:34	3992	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:34	3992	[DEBUG]	Executed store
2023-10-13	13:34:34	3992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863484','438107','1')
2023-10-13	13:34:34	3992	[DEBUG]	Store product image relation
2023-10-13	13:34:34	3992	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:34	3992	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863484 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:34	3992	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:34	3992	[DEBUG]	Executed store
2023-10-13	13:34:34	3992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863484','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:34	3992	[DEBUG]	Checking manufacturer
2023-10-13	13:34:34	3992	[DEBUG]	Load a row
2023-10-13	13:34:34	3992	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:34	3992	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:34	3992	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:34	3992	[DEBUG]	Executed store
2023-10-13	13:34:34	3992	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:34	3992	[DEBUG]	Manufacturer exists
2023-10-13	13:34:34	3992	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:34:34	3992	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:34	3992	[DEBUG]	Executed store
2023-10-13	13:34:34	3992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863484','57')
2023-10-13	13:34:34	3992	[DEBUG]	Find the custom field ID
2023-10-13	13:34:34	3992	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:34	3992	[DEBUG]	No custom field ID found
2023-10-13	13:34:34	3992	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:34	3992	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:34	3992	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863484 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:34	3992	[DEBUG]	Store custom available field
2023-10-13	13:34:34	3992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863484,3,'0',1)
2023-10-13	13:34:34	3992	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:34	3992	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:34	3992	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863484 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:34	3992	[DEBUG]	Store custom available field
2023-10-13	13:34:34	3992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863484,6,'choisir la taille',3)
2023-10-13	13:34:34	3992	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:34	3992	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:34	3992	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:34	3992	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:34	3992	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863484 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:34	3992	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:34	3992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863484,8,1)
2023-10-13	13:34:34	3992	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:34	3992	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863484\":[1863484,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863484
2023-10-13	13:34:34	3992	[DEBUG]	Checking category
2023-10-13	13:34:34	3992	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:34	3992	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863484
2023-10-13	13:34:34	3992	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:34	3992	[DEBUG]	Executed store
2023-10-13	13:34:34	3992	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863484','7395')
2023-10-13	13:34:34	3992	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:34	3992	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863484 AND `virtuemart_category_id` NOT IN (7395)
2023-10-13	13:34:34	3992	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:34	3992	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863484
2023-10-13	13:34:34	3993	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:34	3993	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:34	3993	[DEBUG]	Use field value for field taille
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:34	3993	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:34	3993	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:34	3993	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:34	3993	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:34	3993	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:34	3993	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:34	3993	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:34	3993	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:34	3993	[DEBUG]	Use field value for field published
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:34	3993	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field override
2023-10-13	13:34:34	3993	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:34	3993	[DEBUG]	Use field value for field slug
2023-10-13	13:34:34	3993	[DEBUG]	Process line 3993
2023-10-13	13:34:34	3993	[DEBUG]	Load a row
2023-10-13	13:34:34	3993	[DEBUG]	Processing item: 5000394149199
2023-10-13	13:34:34	3993	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:34	3993	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:34	3993	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5370_3'
2023-10-13	13:34:34	3993	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:34	3993	[DEBUG]	Processing product tax
2023-10-13	13:34:34	3993	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:34	3993	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:34	3993	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:34	3993	[DEBUG]	Query for Product
2023-10-13	13:34:34	3993	[DEBUG]	Executed store
2023-10-13	13:34:34	3993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863484','5000394149199','0','KG','M','','20','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:34	3993	[DEBUG]	No parent found
2023-10-13	13:34:34	3993	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863484 AND customfield_value = 'stockable'
2023-10-13	13:34:34	3993	[DEBUG]	Check product language entry
2023-10-13	13:34:34	3993	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863485
2023-10-13	13:34:34	3993	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:34	3993	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '5000394149199' AND `virtuemart_product_id` != 1863485
2023-10-13	13:34:34	3993	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:34	3993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863485, '5000394149199')
2023-10-13	13:34:34	3993	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:34	3993	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-micro-lr03-1-5v-aa-none-all' AND `virtuemart_product_id` != 1863485
2023-10-13	13:34:34	3993	[DEBUG]	Query for ProductLang
2023-10-13	13:34:34	3993	[DEBUG]	Executed store
2023-10-13	13:34:34	3993	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Duracell Pile Micro  LR03 1.5V AA / None (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-micro-lr03-1-5v-aa-none-all' WHERE `virtuemart_product_id` = '1863485'
2023-10-13	13:34:34	3993	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_53384.jpg
2023-10-13	13:34:34	3993	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:34	3993	[DEBUG]	Process image file
2023-10-13	13:34:34	3993	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:34	3993	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:34	3993	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_53384.jpg
2023-10-13	13:34:34	3993	[DEBUG]	Full name target: bcprisme/20_53384.jpg
2023-10-13	13:34:35	3993	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:35	3993	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_53384.jpg'
2023-10-13	13:34:35	3993	[DEBUG]	Query for Media
2023-10-13	13:34:35	3993	[DEBUG]	Executed store
2023-10-13	13:34:35	3993	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_53384.jpg',`file_url_thumb`='bcprisme/20_53384.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438107'
2023-10-13	13:34:35	3993	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:35	3993	[DEBUG]	Executed store
2023-10-13	13:34:35	3993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863485','438107','1')
2023-10-13	13:34:35	3993	[DEBUG]	Store product image relation
2023-10-13	13:34:35	3993	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:35	3993	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863485 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:35	3993	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:35	3993	[DEBUG]	Executed store
2023-10-13	13:34:35	3993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863485','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:35	3993	[DEBUG]	Checking manufacturer
2023-10-13	13:34:35	3993	[DEBUG]	Load a row
2023-10-13	13:34:35	3993	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:35	3993	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:35	3993	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:35	3993	[DEBUG]	Executed store
2023-10-13	13:34:35	3993	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:35	3993	[DEBUG]	Manufacturer exists
2023-10-13	13:34:35	3993	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:34:35	3993	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:35	3993	[DEBUG]	Executed store
2023-10-13	13:34:35	3993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863485','57')
2023-10-13	13:34:35	3993	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:35	3993	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:35	3993	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863485 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:35	3993	[DEBUG]	Store custom available field
2023-10-13	13:34:35	3993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863485,3,'',1)
2023-10-13	13:34:35	3993	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:35	3993	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:34:35	3993	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863485 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:35	3993	[DEBUG]	Store custom available field
2023-10-13	13:34:35	3993	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863485,6,'All',3)
2023-10-13	13:34:35	3993	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:35	3993	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:35	3993	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863484
2023-10-13	13:34:35	3993	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:35	3993	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863484\":[1863484,8,1,\"choisir la taille\"],\"1863485\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863484
2023-10-13	13:34:35	3993	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:35	3993	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863485
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:35	3994	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field taille
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:35	3994	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:35	3994	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:35	3994	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:35	3994	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:35	3994	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:35	3994	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field published
2023-10-13	13:34:35	3994	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:35	3994	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field override
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:35	3994	[DEBUG]	Use field value for field slug
2023-10-13	13:34:35	3994	[DEBUG]	Process line 3994
2023-10-13	13:34:35	3994	[DEBUG]	Load a row
2023-10-13	13:34:35	3994	[DEBUG]	Processing item: A_5375_208
2023-10-13	13:34:35	3994	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:35	3994	[DEBUG]	Processing product tax
2023-10-13	13:34:35	3994	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:35	3994	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:35	3994	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:35	3994	[DEBUG]	Query for Product
2023-10-13	13:34:35	3994	[DEBUG]	Executed store
2023-10-13	13:34:35	3994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5375_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:35	3994	[DEBUG]	Check product language entry
2023-10-13	13:34:35	3994	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863486
2023-10-13	13:34:35	3994	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:35	3994	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5375_208' AND `virtuemart_product_id` != 1863486
2023-10-13	13:34:35	3994	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:35	3994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863486, 'A_5375_208')
2023-10-13	13:34:35	3994	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:35	3994	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-cr2032-3v-lithium-1-piece-aucune' AND `virtuemart_product_id` != 1863486
2023-10-13	13:34:35	3994	[DEBUG]	Query for ProductLang
2023-10-13	13:34:35	3994	[DEBUG]	Executed store
2023-10-13	13:34:35	3994	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.75034',`product_name`='Duracell Pile CR2032 3V Lithium 1 pièce / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-cr2032-3v-lithium-1-piece-aucune' WHERE `virtuemart_product_id` = '1863486'
2023-10-13	13:34:35	3994	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29853_duracell_pile_cr2032_3v_lithium_plate_blister_à_1.jpg
2023-10-13	13:34:35	3994	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:35	3994	[DEBUG]	Process image file
2023-10-13	13:34:35	3994	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:35	3994	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:35	3994	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29853_duracell_pile_cr2032_3v_lithium_plate_blister_à_1.jpg
2023-10-13	13:34:35	3994	[DEBUG]	Full name target: bcprisme/29853_duracell_pile_cr2032_3v_lithium_plate_blister_à_1.jpg
2023-10-13	13:34:36	3994	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:36	3994	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29853_duracell_pile_cr2032_3v_lithium_plate_blister_à_1.jpg'
2023-10-13	13:34:36	3994	[DEBUG]	Query for Media
2023-10-13	13:34:36	3994	[DEBUG]	Executed store
2023-10-13	13:34:36	3994	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29853_duracell_pile_cr2032_3v_lithium_plate_blister_à_1.jpg',`file_url_thumb`='bcprisme/29853_duracell_pile_cr2032_3v_lithium_plate_blister_à_1.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16606'
2023-10-13	13:34:36	3994	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:36	3994	[DEBUG]	Executed store
2023-10-13	13:34:36	3994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863486','16606','1')
2023-10-13	13:34:36	3994	[DEBUG]	Store product image relation
2023-10-13	13:34:36	3994	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:36	3994	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863486 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:36	3994	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:36	3994	[DEBUG]	Executed store
2023-10-13	13:34:36	3994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863486','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:36	3994	[DEBUG]	Checking manufacturer
2023-10-13	13:34:36	3994	[DEBUG]	Load a row
2023-10-13	13:34:36	3994	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:36	3994	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:36	3994	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:36	3994	[DEBUG]	Executed store
2023-10-13	13:34:36	3994	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:36	3994	[DEBUG]	Manufacturer exists
2023-10-13	13:34:36	3994	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:34:36	3994	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:36	3994	[DEBUG]	Executed store
2023-10-13	13:34:36	3994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863486','57')
2023-10-13	13:34:36	3994	[DEBUG]	Find the custom field ID
2023-10-13	13:34:36	3994	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:36	3994	[DEBUG]	No custom field ID found
2023-10-13	13:34:36	3994	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:36	3994	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:36	3994	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863486 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:36	3994	[DEBUG]	Store custom available field
2023-10-13	13:34:36	3994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863486,3,'0',1)
2023-10-13	13:34:36	3994	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:36	3994	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:36	3994	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863486 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:36	3994	[DEBUG]	Store custom available field
2023-10-13	13:34:36	3994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863486,6,'choisir la taille',3)
2023-10-13	13:34:36	3994	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:36	3994	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:36	3994	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:36	3994	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:36	3994	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863486 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:36	3994	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:36	3994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863486,8,1)
2023-10-13	13:34:36	3994	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:36	3994	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863486\":[1863486,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863486
2023-10-13	13:34:36	3994	[DEBUG]	Checking category
2023-10-13	13:34:36	3994	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:36	3994	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863486
2023-10-13	13:34:36	3994	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:36	3994	[DEBUG]	Executed store
2023-10-13	13:34:36	3994	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863486','7395')
2023-10-13	13:34:36	3994	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:36	3994	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863486 AND `virtuemart_category_id` NOT IN (7395)
2023-10-13	13:34:36	3994	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:36	3994	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863486
2023-10-13	13:34:36	3995	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:36	3995	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:36	3995	[DEBUG]	Use field value for field taille
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:36	3995	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:36	3995	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:36	3995	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:36	3995	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:36	3995	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:36	3995	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:36	3995	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:36	3995	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:36	3995	[DEBUG]	Use field value for field published
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:36	3995	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field override
2023-10-13	13:34:36	3995	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:36	3995	[DEBUG]	Use field value for field slug
2023-10-13	13:34:36	3995	[DEBUG]	Process line 3995
2023-10-13	13:34:36	3995	[DEBUG]	Load a row
2023-10-13	13:34:36	3995	[DEBUG]	Processing item: 5000394203921
2023-10-13	13:34:36	3995	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:36	3995	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:36	3995	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5375_208'
2023-10-13	13:34:36	3995	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:36	3995	[DEBUG]	Processing product tax
2023-10-13	13:34:36	3995	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:36	3995	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:36	3995	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:36	3995	[DEBUG]	Query for Product
2023-10-13	13:34:36	3995	[DEBUG]	Executed store
2023-10-13	13:34:36	3995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863486','5000394203921','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:36	3995	[DEBUG]	No parent found
2023-10-13	13:34:36	3995	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863486 AND customfield_value = 'stockable'
2023-10-13	13:34:36	3995	[DEBUG]	Check product language entry
2023-10-13	13:34:36	3995	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863487
2023-10-13	13:34:36	3995	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:36	3995	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '5000394203921' AND `virtuemart_product_id` != 1863487
2023-10-13	13:34:36	3995	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:36	3995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863487, '5000394203921')
2023-10-13	13:34:36	3995	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:36	3995	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-cr2032-3v-lithium-1-piece-aucune-all' AND `virtuemart_product_id` != 1863487
2023-10-13	13:34:36	3995	[DEBUG]	Query for ProductLang
2023-10-13	13:34:36	3995	[DEBUG]	Executed store
2023-10-13	13:34:36	3995	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Duracell Pile CR2032 3V Lithium 1 pièce / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-cr2032-3v-lithium-1-piece-aucune-all' WHERE `virtuemart_product_id` = '1863487'
2023-10-13	13:34:36	3995	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29853_duracell_pile_cr2032_3v_lithium_plate_blister_à_1.jpg
2023-10-13	13:34:36	3995	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:36	3995	[DEBUG]	Process image file
2023-10-13	13:34:36	3995	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:36	3995	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:36	3995	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29853_duracell_pile_cr2032_3v_lithium_plate_blister_à_1.jpg
2023-10-13	13:34:36	3995	[DEBUG]	Full name target: bcprisme/29853_duracell_pile_cr2032_3v_lithium_plate_blister_à_1.jpg
2023-10-13	13:34:37	3995	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:37	3995	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29853_duracell_pile_cr2032_3v_lithium_plate_blister_à_1.jpg'
2023-10-13	13:34:37	3995	[DEBUG]	Query for Media
2023-10-13	13:34:37	3995	[DEBUG]	Executed store
2023-10-13	13:34:37	3995	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29853_duracell_pile_cr2032_3v_lithium_plate_blister_à_1.jpg',`file_url_thumb`='bcprisme/29853_duracell_pile_cr2032_3v_lithium_plate_blister_à_1.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16606'
2023-10-13	13:34:37	3995	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:37	3995	[DEBUG]	Executed store
2023-10-13	13:34:37	3995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863487','16606','1')
2023-10-13	13:34:37	3995	[DEBUG]	Store product image relation
2023-10-13	13:34:37	3995	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:37	3995	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863487 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:37	3995	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:37	3995	[DEBUG]	Executed store
2023-10-13	13:34:37	3995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863487','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:37	3995	[DEBUG]	Checking manufacturer
2023-10-13	13:34:37	3995	[DEBUG]	Load a row
2023-10-13	13:34:37	3995	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:37	3995	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:37	3995	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:37	3995	[DEBUG]	Executed store
2023-10-13	13:34:37	3995	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:37	3995	[DEBUG]	Manufacturer exists
2023-10-13	13:34:37	3995	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:34:37	3995	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:37	3995	[DEBUG]	Executed store
2023-10-13	13:34:37	3995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863487','57')
2023-10-13	13:34:37	3995	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:37	3995	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:37	3995	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863487 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:37	3995	[DEBUG]	Store custom available field
2023-10-13	13:34:37	3995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863487,3,'',1)
2023-10-13	13:34:37	3995	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:37	3995	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:34:37	3995	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863487 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:37	3995	[DEBUG]	Store custom available field
2023-10-13	13:34:37	3995	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863487,6,'All',3)
2023-10-13	13:34:37	3995	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:37	3995	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:37	3995	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863486
2023-10-13	13:34:37	3995	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:37	3995	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863486\":[1863486,8,1,\"choisir la taille\"],\"1863487\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863486
2023-10-13	13:34:37	3995	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:37	3995	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863487
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:37	3996	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field taille
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:37	3996	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:37	3996	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:37	3996	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:37	3996	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:37	3996	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:37	3996	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field published
2023-10-13	13:34:37	3996	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:37	3996	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field override
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:37	3996	[DEBUG]	Use field value for field slug
2023-10-13	13:34:37	3996	[DEBUG]	Process line 3996
2023-10-13	13:34:37	3996	[DEBUG]	Load a row
2023-10-13	13:34:37	3996	[DEBUG]	Processing item: A_5842_0
2023-10-13	13:34:37	3996	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:37	3996	[DEBUG]	Processing product tax
2023-10-13	13:34:37	3996	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:37	3996	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:37	3996	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:37	3996	[DEBUG]	Query for Product
2023-10-13	13:34:37	3996	[DEBUG]	Executed store
2023-10-13	13:34:37	3996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5842_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:37	3996	[DEBUG]	Check product language entry
2023-10-13	13:34:37	3996	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863488
2023-10-13	13:34:37	3996	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:37	3996	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5842_0' AND `virtuemart_product_id` != 1863488
2023-10-13	13:34:37	3996	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:37	3996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863488, 'A_5842_0')
2023-10-13	13:34:37	3996	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:37	3996	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-cr2016-3v-lithium-plate-blister-a-1-unique' AND `virtuemart_product_id` != 1863488
2023-10-13	13:34:37	3996	[DEBUG]	Query for ProductLang
2023-10-13	13:34:37	3996	[DEBUG]	Executed store
2023-10-13	13:34:37	3996	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CR2016',`product_name`='Duracell Pile CR2016 3V Lithium plate blister à 1 / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-cr2016-3v-lithium-plate-blister-a-1-unique' WHERE `virtuemart_product_id` = '1863488'
2023-10-13	13:34:37	3996	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30384_duracell_pile_cr2016_3v_lithium_plate_blister_à_1.jpg
2023-10-13	13:34:37	3996	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:37	3996	[DEBUG]	Process image file
2023-10-13	13:34:37	3996	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:37	3996	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:37	3996	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30384_duracell_pile_cr2016_3v_lithium_plate_blister_à_1.jpg
2023-10-13	13:34:37	3996	[DEBUG]	Full name target: bcprisme/30384_duracell_pile_cr2016_3v_lithium_plate_blister_à_1.jpg
2023-10-13	13:34:38	3996	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:38	3996	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30384_duracell_pile_cr2016_3v_lithium_plate_blister_à_1.jpg'
2023-10-13	13:34:38	3996	[DEBUG]	Query for Media
2023-10-13	13:34:38	3996	[DEBUG]	Executed store
2023-10-13	13:34:38	3996	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30384_duracell_pile_cr2016_3v_lithium_plate_blister_à_1.jpg',`file_url_thumb`='bcprisme/30384_duracell_pile_cr2016_3v_lithium_plate_blister_à_1.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '338212'
2023-10-13	13:34:38	3996	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:38	3996	[DEBUG]	Executed store
2023-10-13	13:34:38	3996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863488','338212','1')
2023-10-13	13:34:38	3996	[DEBUG]	Store product image relation
2023-10-13	13:34:38	3996	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:38	3996	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863488 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:38	3996	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:38	3996	[DEBUG]	Executed store
2023-10-13	13:34:38	3996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863488','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:38	3996	[DEBUG]	Checking manufacturer
2023-10-13	13:34:38	3996	[DEBUG]	Load a row
2023-10-13	13:34:38	3996	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:38	3996	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:38	3996	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:38	3996	[DEBUG]	Executed store
2023-10-13	13:34:38	3996	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:38	3996	[DEBUG]	Manufacturer exists
2023-10-13	13:34:38	3996	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:34:38	3996	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:38	3996	[DEBUG]	Executed store
2023-10-13	13:34:38	3996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863488','57')
2023-10-13	13:34:38	3996	[DEBUG]	Find the custom field ID
2023-10-13	13:34:38	3996	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:38	3996	[DEBUG]	No custom field ID found
2023-10-13	13:34:38	3996	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:38	3996	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:38	3996	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863488 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:38	3996	[DEBUG]	Store custom available field
2023-10-13	13:34:38	3996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863488,3,'0',1)
2023-10-13	13:34:38	3996	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:38	3996	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:38	3996	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863488 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:38	3996	[DEBUG]	Store custom available field
2023-10-13	13:34:38	3996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863488,6,'choisir la taille',3)
2023-10-13	13:34:38	3996	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:38	3996	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:38	3996	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:38	3996	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:38	3996	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863488 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:38	3996	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:38	3996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863488,8,1)
2023-10-13	13:34:38	3996	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:38	3996	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863488\":[1863488,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863488
2023-10-13	13:34:38	3996	[DEBUG]	Checking category
2023-10-13	13:34:38	3996	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:38	3996	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863488
2023-10-13	13:34:38	3996	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:38	3996	[DEBUG]	Executed store
2023-10-13	13:34:38	3996	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863488','7395')
2023-10-13	13:34:38	3996	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:38	3996	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863488 AND `virtuemart_category_id` NOT IN (7395)
2023-10-13	13:34:38	3996	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:38	3996	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863488
2023-10-13	13:34:38	3997	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:38	3997	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:38	3997	[DEBUG]	Use field value for field taille
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:38	3997	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:38	3997	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:38	3997	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:38	3997	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:38	3997	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:38	3997	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:38	3997	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:38	3997	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:38	3997	[DEBUG]	Use field value for field published
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:38	3997	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field override
2023-10-13	13:34:38	3997	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:38	3997	[DEBUG]	Use field value for field slug
2023-10-13	13:34:38	3997	[DEBUG]	Process line 3997
2023-10-13	13:34:38	3997	[DEBUG]	Load a row
2023-10-13	13:34:38	3997	[DEBUG]	Processing item: 1000000087888
2023-10-13	13:34:38	3997	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:38	3997	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:38	3997	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5842_0'
2023-10-13	13:34:38	3997	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:38	3997	[DEBUG]	Processing product tax
2023-10-13	13:34:38	3997	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:38	3997	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:38	3997	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:38	3997	[DEBUG]	Query for Product
2023-10-13	13:34:38	3997	[DEBUG]	Executed store
2023-10-13	13:34:38	3997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863488','1000000087888','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:38	3997	[DEBUG]	No parent found
2023-10-13	13:34:38	3997	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863488 AND customfield_value = 'stockable'
2023-10-13	13:34:38	3997	[DEBUG]	Check product language entry
2023-10-13	13:34:38	3997	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863489
2023-10-13	13:34:38	3997	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:38	3997	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000087888' AND `virtuemart_product_id` != 1863489
2023-10-13	13:34:38	3997	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:38	3997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863489, '1000000087888')
2023-10-13	13:34:38	3997	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:38	3997	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-cr2016-3v-lithium-plate-blister-a-1-unique-all' AND `virtuemart_product_id` != 1863489
2023-10-13	13:34:38	3997	[DEBUG]	Query for ProductLang
2023-10-13	13:34:38	3997	[DEBUG]	Executed store
2023-10-13	13:34:38	3997	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Duracell Pile CR2016 3V Lithium plate blister à 1 / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-cr2016-3v-lithium-plate-blister-a-1-unique-all' WHERE `virtuemart_product_id` = '1863489'
2023-10-13	13:34:38	3997	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30384_duracell_pile_cr2016_3v_lithium_plate_blister_à_1.jpg
2023-10-13	13:34:38	3997	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:38	3997	[DEBUG]	Process image file
2023-10-13	13:34:38	3997	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:38	3997	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:38	3997	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30384_duracell_pile_cr2016_3v_lithium_plate_blister_à_1.jpg
2023-10-13	13:34:38	3997	[DEBUG]	Full name target: bcprisme/30384_duracell_pile_cr2016_3v_lithium_plate_blister_à_1.jpg
2023-10-13	13:34:39	3997	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:39	3997	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30384_duracell_pile_cr2016_3v_lithium_plate_blister_à_1.jpg'
2023-10-13	13:34:39	3997	[DEBUG]	Query for Media
2023-10-13	13:34:39	3997	[DEBUG]	Executed store
2023-10-13	13:34:39	3997	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30384_duracell_pile_cr2016_3v_lithium_plate_blister_à_1.jpg',`file_url_thumb`='bcprisme/30384_duracell_pile_cr2016_3v_lithium_plate_blister_à_1.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '338212'
2023-10-13	13:34:39	3997	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:39	3997	[DEBUG]	Executed store
2023-10-13	13:34:39	3997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863489','338212','1')
2023-10-13	13:34:39	3997	[DEBUG]	Store product image relation
2023-10-13	13:34:39	3997	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:39	3997	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863489 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:39	3997	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:39	3997	[DEBUG]	Executed store
2023-10-13	13:34:39	3997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863489','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:39	3997	[DEBUG]	Checking manufacturer
2023-10-13	13:34:39	3997	[DEBUG]	Load a row
2023-10-13	13:34:39	3997	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:39	3997	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:39	3997	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:39	3997	[DEBUG]	Executed store
2023-10-13	13:34:39	3997	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:39	3997	[DEBUG]	Manufacturer exists
2023-10-13	13:34:39	3997	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:34:39	3997	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:39	3997	[DEBUG]	Executed store
2023-10-13	13:34:39	3997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863489','57')
2023-10-13	13:34:39	3997	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:39	3997	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:39	3997	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863489 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:39	3997	[DEBUG]	Store custom available field
2023-10-13	13:34:39	3997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863489,3,'',1)
2023-10-13	13:34:39	3997	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:39	3997	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:34:39	3997	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863489 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:39	3997	[DEBUG]	Store custom available field
2023-10-13	13:34:39	3997	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863489,6,'All',3)
2023-10-13	13:34:39	3997	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:39	3997	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:39	3997	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863488
2023-10-13	13:34:39	3997	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:39	3997	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863488\":[1863488,8,1,\"choisir la taille\"],\"1863489\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863488
2023-10-13	13:34:39	3997	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:39	3997	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863489
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:39	3998	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field taille
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:39	3998	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:39	3998	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:39	3998	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:39	3998	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:39	3998	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:39	3998	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field published
2023-10-13	13:34:39	3998	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:39	3998	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field override
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:39	3998	[DEBUG]	Use field value for field slug
2023-10-13	13:34:39	3998	[DEBUG]	Process line 3998
2023-10-13	13:34:39	3998	[DEBUG]	Load a row
2023-10-13	13:34:39	3998	[DEBUG]	Processing item: A_5843_0
2023-10-13	13:34:39	3998	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:39	3998	[DEBUG]	Processing product tax
2023-10-13	13:34:39	3998	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:39	3998	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:39	3998	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:39	3998	[DEBUG]	Query for Product
2023-10-13	13:34:39	3998	[DEBUG]	Executed store
2023-10-13	13:34:39	3998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5843_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:39	3998	[DEBUG]	Check product language entry
2023-10-13	13:34:39	3998	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863490
2023-10-13	13:34:39	3998	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:39	3998	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5843_0' AND `virtuemart_product_id` != 1863490
2023-10-13	13:34:39	3998	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:39	3998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863490, 'A_5843_0')
2023-10-13	13:34:39	3998	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:39	3998	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-cr2430-3v-lithium-plate-blister-a-1-unique' AND `virtuemart_product_id` != 1863490
2023-10-13	13:34:39	3998	[DEBUG]	Query for ProductLang
2023-10-13	13:34:39	3998	[DEBUG]	Executed store
2023-10-13	13:34:39	3998	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CR2430',`product_name`='Duracell Pile CR2430 3V Lithium plate blister à 1  / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-cr2430-3v-lithium-plate-blister-a-1-unique' WHERE `virtuemart_product_id` = '1863490'
2023-10-13	13:34:39	3998	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30385_duracell_pile_cr2430_3v_lithium_plate_blister_à_1_.jpg
2023-10-13	13:34:39	3998	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:39	3998	[DEBUG]	Process image file
2023-10-13	13:34:39	3998	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:39	3998	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:39	3998	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30385_duracell_pile_cr2430_3v_lithium_plate_blister_à_1_.jpg
2023-10-13	13:34:39	3998	[DEBUG]	Full name target: bcprisme/30385_duracell_pile_cr2430_3v_lithium_plate_blister_à_1_.jpg
2023-10-13	13:34:40	3998	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:40	3998	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30385_duracell_pile_cr2430_3v_lithium_plate_blister_à_1_.jpg'
2023-10-13	13:34:40	3998	[DEBUG]	Query for Media
2023-10-13	13:34:40	3998	[DEBUG]	Executed store
2023-10-13	13:34:40	3998	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30385_duracell_pile_cr2430_3v_lithium_plate_blister_à_1_.jpg',`file_url_thumb`='bcprisme/30385_duracell_pile_cr2430_3v_lithium_plate_blister_à_1_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438113'
2023-10-13	13:34:40	3998	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:40	3998	[DEBUG]	Executed store
2023-10-13	13:34:40	3998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863490','438113','1')
2023-10-13	13:34:40	3998	[DEBUG]	Store product image relation
2023-10-13	13:34:40	3998	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:40	3998	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863490 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:40	3998	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:40	3998	[DEBUG]	Executed store
2023-10-13	13:34:40	3998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863490','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:40	3998	[DEBUG]	Checking manufacturer
2023-10-13	13:34:40	3998	[DEBUG]	Load a row
2023-10-13	13:34:40	3998	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:40	3998	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:40	3998	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:40	3998	[DEBUG]	Executed store
2023-10-13	13:34:40	3998	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:40	3998	[DEBUG]	Manufacturer exists
2023-10-13	13:34:40	3998	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:34:40	3998	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:40	3998	[DEBUG]	Executed store
2023-10-13	13:34:40	3998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863490','57')
2023-10-13	13:34:40	3998	[DEBUG]	Find the custom field ID
2023-10-13	13:34:40	3998	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:40	3998	[DEBUG]	No custom field ID found
2023-10-13	13:34:40	3998	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:40	3998	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:40	3998	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863490 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:40	3998	[DEBUG]	Store custom available field
2023-10-13	13:34:40	3998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863490,3,'0',1)
2023-10-13	13:34:40	3998	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:40	3998	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:40	3998	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863490 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:40	3998	[DEBUG]	Store custom available field
2023-10-13	13:34:40	3998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863490,6,'choisir la taille',3)
2023-10-13	13:34:40	3998	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:40	3998	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:40	3998	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:40	3998	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:40	3998	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863490 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:40	3998	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:40	3998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863490,8,1)
2023-10-13	13:34:40	3998	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:40	3998	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863490\":[1863490,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863490
2023-10-13	13:34:40	3998	[DEBUG]	Checking category
2023-10-13	13:34:40	3998	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:40	3998	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863490
2023-10-13	13:34:40	3998	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:40	3998	[DEBUG]	Executed store
2023-10-13	13:34:40	3998	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863490','7395')
2023-10-13	13:34:40	3998	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:40	3998	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863490 AND `virtuemart_category_id` NOT IN (7395)
2023-10-13	13:34:40	3998	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:40	3998	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863490
2023-10-13	13:34:40	3999	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:40	3999	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:34:40	3999	[DEBUG]	Use field value for field taille
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:34:40	3999	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field category_path
2023-10-13	13:34:40	3999	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:40	3999	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:40	3999	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:40	3999	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:34:40	3999	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field product_weight
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:40	3999	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:40	3999	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:40	3999	[DEBUG]	Use field value for field published
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field custom_title
2023-10-13	13:34:40	3999	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field custom_param
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field override
2023-10-13	13:34:40	3999	[DEBUG]	Use default value for field public_price
2023-10-13	13:34:40	3999	[DEBUG]	Use field value for field slug
2023-10-13	13:34:40	3999	[DEBUG]	Process line 3999
2023-10-13	13:34:40	3999	[DEBUG]	Load a row
2023-10-13	13:34:40	3999	[DEBUG]	Processing item: 785618130621
2023-10-13	13:34:40	3999	[DEBUG]	Looking for parent SKU
2023-10-13	13:34:40	3999	[DEBUG]	Checking product parent SKU
2023-10-13	13:34:40	3999	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5843_0'
2023-10-13	13:34:40	3999	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:40	3999	[DEBUG]	Processing product tax
2023-10-13	13:34:40	3999	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:40	3999	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:40	3999	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:40	3999	[DEBUG]	Query for Product
2023-10-13	13:34:40	3999	[DEBUG]	Executed store
2023-10-13	13:34:40	3999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863490','785618130621','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:40	3999	[DEBUG]	No parent found
2023-10-13	13:34:40	3999	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863490 AND customfield_value = 'stockable'
2023-10-13	13:34:40	3999	[DEBUG]	Check product language entry
2023-10-13	13:34:40	3999	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863491
2023-10-13	13:34:40	3999	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:40	3999	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '785618130621' AND `virtuemart_product_id` != 1863491
2023-10-13	13:34:40	3999	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:40	3999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863491, '785618130621')
2023-10-13	13:34:40	3999	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:40	3999	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-cr2430-3v-lithium-plate-blister-a-1-unique-all' AND `virtuemart_product_id` != 1863491
2023-10-13	13:34:40	3999	[DEBUG]	Query for ProductLang
2023-10-13	13:34:40	3999	[DEBUG]	Executed store
2023-10-13	13:34:40	3999	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Duracell Pile CR2430 3V Lithium plate blister à 1  / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-cr2430-3v-lithium-plate-blister-a-1-unique-all' WHERE `virtuemart_product_id` = '1863491'
2023-10-13	13:34:40	3999	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30385_duracell_pile_cr2430_3v_lithium_plate_blister_à_1_.jpg
2023-10-13	13:34:40	3999	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:40	3999	[DEBUG]	Process image file
2023-10-13	13:34:40	3999	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:40	3999	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:40	3999	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30385_duracell_pile_cr2430_3v_lithium_plate_blister_à_1_.jpg
2023-10-13	13:34:40	3999	[DEBUG]	Full name target: bcprisme/30385_duracell_pile_cr2430_3v_lithium_plate_blister_à_1_.jpg
2023-10-13	13:34:41	3999	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:41	3999	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30385_duracell_pile_cr2430_3v_lithium_plate_blister_à_1_.jpg'
2023-10-13	13:34:41	3999	[DEBUG]	Query for Media
2023-10-13	13:34:41	3999	[DEBUG]	Executed store
2023-10-13	13:34:41	3999	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30385_duracell_pile_cr2430_3v_lithium_plate_blister_à_1_.jpg',`file_url_thumb`='bcprisme/30385_duracell_pile_cr2430_3v_lithium_plate_blister_à_1_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438113'
2023-10-13	13:34:41	3999	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:41	3999	[DEBUG]	Executed store
2023-10-13	13:34:41	3999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863491','438113','1')
2023-10-13	13:34:41	3999	[DEBUG]	Store product image relation
2023-10-13	13:34:41	3999	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:41	3999	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863491 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:41	3999	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:41	3999	[DEBUG]	Executed store
2023-10-13	13:34:41	3999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863491','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:41	3999	[DEBUG]	Checking manufacturer
2023-10-13	13:34:41	3999	[DEBUG]	Load a row
2023-10-13	13:34:41	3999	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:41	3999	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:41	3999	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:41	3999	[DEBUG]	Executed store
2023-10-13	13:34:41	3999	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:41	3999	[DEBUG]	Manufacturer exists
2023-10-13	13:34:41	3999	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:34:41	3999	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:41	3999	[DEBUG]	Executed store
2023-10-13	13:34:41	3999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863491','57')
2023-10-13	13:34:41	3999	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:41	3999	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:34:41	3999	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863491 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:41	3999	[DEBUG]	Store custom available field
2023-10-13	13:34:41	3999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863491,3,'',1)
2023-10-13	13:34:41	3999	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:41	3999	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:34:41	3999	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863491 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:41	3999	[DEBUG]	Store custom available field
2023-10-13	13:34:41	3999	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863491,6,'All',3)
2023-10-13	13:34:41	3999	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:41	3999	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:34:41	3999	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863490
2023-10-13	13:34:41	3999	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:41	3999	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863490\":[1863490,8,1,\"choisir la taille\"],\"1863491\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863490
2023-10-13	13:34:41	3999	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:41	3999	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863491
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field product_sku
2023-10-13	13:34:41	4000	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field taille
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field product_name
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field category_path
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field product_price
2023-10-13	13:34:41	4000	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field product_tax
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field file_url
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:34:41	4000	[DEBUG]	Use default value for field product_desc
2023-10-13	13:34:41	4000	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field product_availability
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field product_weight
2023-10-13	13:34:41	4000	[DEBUG]	Use default value for field product_unit
2023-10-13	13:34:41	4000	[DEBUG]	Use default value for field related_products
2023-10-13	13:34:41	4000	[DEBUG]	Use default value for field product_special
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field published
2023-10-13	13:34:41	4000	[DEBUG]	Use default value for field metadesc
2023-10-13	13:34:41	4000	[DEBUG]	Use default value for field metakey
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field custom_title
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field custom_value
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field custom_param
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field override
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field public_price
2023-10-13	13:34:41	4000	[DEBUG]	Use field value for field slug
2023-10-13	13:34:41	4000	[DEBUG]	Process line 4000
2023-10-13	13:34:41	4000	[DEBUG]	Load a row
2023-10-13	13:34:41	4000	[DEBUG]	Processing item: A_5947_13
2023-10-13	13:34:41	4000	[DEBUG]	Product tax: 7.7
2023-10-13	13:34:41	4000	[DEBUG]	Processing product tax
2023-10-13	13:34:41	4000	[DEBUG]	Check if calculation rule exists
2023-10-13	13:34:41	4000	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:34:41	4000	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:34:41	4000	[DEBUG]	Query for Product
2023-10-13	13:34:41	4000	[DEBUG]	Executed store
2023-10-13	13:34:41	4000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5947_13','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0')
2023-10-13	13:34:41	4000	[DEBUG]	Check product language entry
2023-10-13	13:34:41	4000	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863492
2023-10-13	13:34:41	4000	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:41	4000	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5947_13' AND `virtuemart_product_id` != 1863492
2023-10-13	13:34:41	4000	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:34:41	4000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863492, 'A_5947_13')
2023-10-13	13:34:41	4000	[DEBUG]	Check if the product slug exists
2023-10-13	13:34:41	4000	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-maxell-pile-cr2025-argent' AND `virtuemart_product_id` != 1863492
2023-10-13	13:34:41	4000	[DEBUG]	Query for ProductLang
2023-10-13	13:34:41	4000	[DEBUG]	Executed store
2023-10-13	13:34:41	4000	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.17924',`product_name`='Duracell Maxell pile CR2025 / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-maxell-pile-cr2025-argent' WHERE `virtuemart_product_id` = '1863492'
2023-10-13	13:34:41	4000	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31546_maxell_pile_cr2025.jpg
2023-10-13	13:34:41	4000	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:41	4000	[DEBUG]	Process image file
2023-10-13	13:34:41	4000	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:34:41	4000	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:34:41	4000	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31546_maxell_pile_cr2025.jpg
2023-10-13	13:34:41	4000	[DEBUG]	Full name target: bcprisme/31546_maxell_pile_cr2025.jpg
2023-10-13	13:34:42	4000	[DEBUG]	Checking if the file_url exists
2023-10-13	13:34:42	4000	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31546_maxell_pile_cr2025.jpg'
2023-10-13	13:34:42	4000	[DEBUG]	Query for Media
2023-10-13	13:34:42	4000	[DEBUG]	Executed store
2023-10-13	13:34:42	4000	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31546_maxell_pile_cr2025.jpg',`file_url_thumb`='bcprisme/31546_maxell_pile_cr2025.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438115'
2023-10-13	13:34:42	4000	[DEBUG]	Query for ProductMedia
2023-10-13	13:34:42	4000	[DEBUG]	Executed store
2023-10-13	13:34:42	4000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863492','438115','1')
2023-10-13	13:34:42	4000	[DEBUG]	Store product image relation
2023-10-13	13:34:42	4000	[DEBUG]	Finding a product_price_id
2023-10-13	13:34:42	4000	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863492 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:34:42	4000	[DEBUG]	Query for ProductPrice
2023-10-13	13:34:42	4000	[DEBUG]	Executed store
2023-10-13	13:34:42	4000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863492','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:33:03','1593','2023-10-13 13:33:03','1593','0000-00-00 00:00:00','0')
2023-10-13	13:34:42	4000	[DEBUG]	Checking manufacturer
2023-10-13	13:34:42	4000	[DEBUG]	Load a row
2023-10-13	13:34:42	4000	[DEBUG]	Manufacturer already exists
2023-10-13	13:34:42	4000	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:42	4000	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:34:42	4000	[DEBUG]	Executed store
2023-10-13	13:34:42	4000	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:34:42	4000	[DEBUG]	Manufacturer exists
2023-10-13	13:34:42	4000	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:34:42	4000	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:34:42	4000	[DEBUG]	Executed store
2023-10-13	13:34:42	4000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863492','57')
2023-10-13	13:34:42	4000	[DEBUG]	Find the custom field ID
2023-10-13	13:34:42	4000	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:34:42	4000	[DEBUG]	No custom field ID found
2023-10-13	13:34:42	4000	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:34:42	4000	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:34:42	4000	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863492 AND `virtuemart_custom_id` = 3
2023-10-13	13:34:42	4000	[DEBUG]	Store custom available field
2023-10-13	13:34:42	4000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863492,3,'0',1)
2023-10-13	13:34:42	4000	[DEBUG]	Processing custom available field: taille
2023-10-13	13:34:42	4000	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:34:42	4000	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863492 AND `virtuemart_custom_id` = 6
2023-10-13	13:34:42	4000	[DEBUG]	Store custom available field
2023-10-13	13:34:42	4000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863492,6,'choisir la taille',3)
2023-10-13	13:34:42	4000	[DEBUG]	Process multi-variant fields
2023-10-13	13:34:42	4000	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:34:42	4000	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:34:42	4000	[DEBUG]	Find the multi variant product entry
2023-10-13	13:34:42	4000	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863492 AND `virtuemart_custom_id` = 8
2023-10-13	13:34:42	4000	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:34:42	4000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863492,8,1)
2023-10-13	13:34:42	4000	[DEBUG]	Store the updated customfield_params
2023-10-13	13:34:42	4000	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863492\":[1863492,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863492
2023-10-13	13:34:42	4000	[DEBUG]	Checking category
2023-10-13	13:34:42	4000	[DEBUG]	Get the existing categories for the product
2023-10-13	13:34:42	4000	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863492
2023-10-13	13:34:42	4000	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:34:42	4000	[DEBUG]	Executed store
2023-10-13	13:34:42	4000	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863492','7395')
2023-10-13	13:34:42	4000	[DEBUG]	Delete leftover product categories
2023-10-13	13:34:42	4000	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863492 AND `virtuemart_category_id` NOT IN (7395)
2023-10-13	13:34:42	4000	[DEBUG]	Update has fields after all processing
2023-10-13	13:34:42	4000	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863492
2023-10-13	13:35:02	4000	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:35:02	4000	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:35:02	4000	[DEBUG]	Load the fields to process
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: product_sku
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: taille
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: product_name
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: category_path
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: product_price
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: product_override_price
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: product_tax
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: file_url
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: product_desc
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: product_availability
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: product_weight
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: product_unit
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: related_products
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: product_special
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: published
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: metadesc
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: metakey
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: custom_title
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: custom_value
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: custom_param
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: override
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: public_price
2023-10-13	13:35:02	4000	[DEBUG]	Setup field: slug
2023-10-13	13:35:02	4000	[DEBUG]	Use the file for configuration
2023-10-13	13:35:02	4000	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:35:02	4000	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:35:02	4000	[DEBUG]	Load the custom fields
2023-10-13	13:35:02	4000	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:35:02	4000	[DEBUG]	Load stockable custom fields
2023-10-13	13:35:02	4000	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:35:02	4000	[DEBUG]	Load custom fields for all
2023-10-13	13:35:02	4000	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:35:02	4001	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:02	4001	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:02	4001	[DEBUG]	Use field value for field taille
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:02	4001	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:02	4001	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:02	4001	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:02	4001	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:02	4001	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:02	4001	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:02	4001	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:02	4001	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:02	4001	[DEBUG]	Use field value for field published
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:02	4001	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field override
2023-10-13	13:35:02	4001	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:02	4001	[DEBUG]	Use field value for field slug
2023-10-13	13:35:02	4001	[DEBUG]	Process line 4001
2023-10-13	13:35:02	4001	[DEBUG]	Check if the vendor exists
2023-10-13	13:35:02	4001	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '4902580131265'
2023-10-13	13:35:02	4001	[DEBUG]	Load a row
2023-10-13	13:35:02	4001	[DEBUG]	Processing item: 4902580131265
2023-10-13	13:35:02	4001	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:02	4001	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:02	4001	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5947_13'
2023-10-13	13:35:02	4001	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:02	4001	[DEBUG]	Processing product tax
2023-10-13	13:35:02	4001	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:02	4001	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:02	4001	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:02	4001	[DEBUG]	Query for Product
2023-10-13	13:35:02	4001	[DEBUG]	Executed store
2023-10-13	13:35:02	4001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863492','4902580131265','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:02	4001	[DEBUG]	No parent found
2023-10-13	13:35:02	4001	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863492 AND customfield_value = 'stockable'
2023-10-13	13:35:02	4001	[DEBUG]	Check product language entry
2023-10-13	13:35:02	4001	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863493
2023-10-13	13:35:02	4001	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:02	4001	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4902580131265' AND `virtuemart_product_id` != 1863493
2023-10-13	13:35:02	4001	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:02	4001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863493, '4902580131265')
2023-10-13	13:35:02	4001	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:02	4001	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-maxell-pile-cr2025-argent-all' AND `virtuemart_product_id` != 1863493
2023-10-13	13:35:02	4001	[DEBUG]	Query for ProductLang
2023-10-13	13:35:02	4001	[DEBUG]	Executed store
2023-10-13	13:35:02	4001	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Duracell Maxell pile CR2025 / Argent (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-maxell-pile-cr2025-argent-all' WHERE `virtuemart_product_id` = '1863493'
2023-10-13	13:35:02	4001	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31546_maxell_pile_cr2025.jpg
2023-10-13	13:35:02	4001	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:02	4001	[DEBUG]	Process image file
2023-10-13	13:35:02	4001	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:02	4001	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:02	4001	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31546_maxell_pile_cr2025.jpg
2023-10-13	13:35:02	4001	[DEBUG]	Full name target: bcprisme/31546_maxell_pile_cr2025.jpg
2023-10-13	13:35:03	4001	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:03	4001	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31546_maxell_pile_cr2025.jpg'
2023-10-13	13:35:03	4001	[DEBUG]	Query for Media
2023-10-13	13:35:03	4001	[DEBUG]	Executed store
2023-10-13	13:35:03	4001	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31546_maxell_pile_cr2025.jpg',`file_url_thumb`='bcprisme/31546_maxell_pile_cr2025.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438115'
2023-10-13	13:35:03	4001	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:03	4001	[DEBUG]	Executed store
2023-10-13	13:35:03	4001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863493','438115','1')
2023-10-13	13:35:03	4001	[DEBUG]	Store product image relation
2023-10-13	13:35:03	4001	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:03	4001	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863493 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:03	4001	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:03	4001	[DEBUG]	Executed store
2023-10-13	13:35:03	4001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863493','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:03	4001	[DEBUG]	Checking manufacturer
2023-10-13	13:35:03	4001	[DEBUG]	Load a row
2023-10-13	13:35:03	4001	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:03	4001	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:35:03	4001	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:03	4001	[DEBUG]	Executed store
2023-10-13	13:35:03	4001	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:35:03	4001	[DEBUG]	Manufacturer exists
2023-10-13	13:35:03	4001	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:35:03	4001	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:03	4001	[DEBUG]	Executed store
2023-10-13	13:35:03	4001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863493','57')
2023-10-13	13:35:03	4001	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:03	4001	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:03	4001	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863493 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:03	4001	[DEBUG]	Store custom available field
2023-10-13	13:35:03	4001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863493,3,'',1)
2023-10-13	13:35:03	4001	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:03	4001	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:35:03	4001	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863493 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:03	4001	[DEBUG]	Store custom available field
2023-10-13	13:35:03	4001	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863493,6,'All',3)
2023-10-13	13:35:03	4001	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:03	4001	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:03	4001	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863492
2023-10-13	13:35:03	4001	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:03	4001	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863492\":[1863492,8,1,\"choisir la taille\"],\"1863493\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863492
2023-10-13	13:35:03	4001	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:03	4001	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863493
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:03	4002	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field taille
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:03	4002	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:03	4002	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:03	4002	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:03	4002	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:03	4002	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:03	4002	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field published
2023-10-13	13:35:03	4002	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:03	4002	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field override
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:03	4002	[DEBUG]	Use field value for field slug
2023-10-13	13:35:03	4002	[DEBUG]	Process line 4002
2023-10-13	13:35:03	4002	[DEBUG]	Load a row
2023-10-13	13:35:03	4002	[DEBUG]	Processing item: A_7452_208
2023-10-13	13:35:03	4002	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:03	4002	[DEBUG]	Processing product tax
2023-10-13	13:35:03	4002	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:03	4002	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:03	4002	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:03	4002	[DEBUG]	Query for Product
2023-10-13	13:35:03	4002	[DEBUG]	Executed store
2023-10-13	13:35:03	4002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7452_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:03	4002	[DEBUG]	Check product language entry
2023-10-13	13:35:03	4002	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863494
2023-10-13	13:35:03	4002	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:03	4002	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7452_208' AND `virtuemart_product_id` != 1863494
2023-10-13	13:35:03	4002	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:03	4002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863494, 'A_7452_208')
2023-10-13	13:35:03	4002	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:03	4002	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-cr2016-3v-lithium-plate-blister-a-2-pieces-aucune' AND `virtuemart_product_id` != 1863494
2023-10-13	13:35:03	4002	[DEBUG]	Query for ProductLang
2023-10-13	13:35:03	4002	[DEBUG]	Executed store
2023-10-13	13:35:03	4002	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20.75247',`product_name`='Duracell Pile CR2016 3V Lithium plate blister à 2 pièces / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-cr2016-3v-lithium-plate-blister-a-2-pieces-aucune' WHERE `virtuemart_product_id` = '1863494'
2023-10-13	13:35:03	4002	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_75247.jpg
2023-10-13	13:35:03	4002	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:03	4002	[DEBUG]	Process image file
2023-10-13	13:35:03	4002	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:03	4002	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:03	4002	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_75247.jpg
2023-10-13	13:35:03	4002	[DEBUG]	Full name target: bcprisme/20_75247.jpg
2023-10-13	13:35:04	4002	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:04	4002	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_75247.jpg'
2023-10-13	13:35:04	4002	[DEBUG]	Query for Media
2023-10-13	13:35:04	4002	[DEBUG]	Executed store
2023-10-13	13:35:04	4002	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_75247.jpg',`file_url_thumb`='bcprisme/20_75247.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '338214'
2023-10-13	13:35:04	4002	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:04	4002	[DEBUG]	Executed store
2023-10-13	13:35:04	4002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863494','338214','1')
2023-10-13	13:35:04	4002	[DEBUG]	Store product image relation
2023-10-13	13:35:04	4002	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:04	4002	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863494 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:04	4002	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:04	4002	[DEBUG]	Executed store
2023-10-13	13:35:04	4002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863494','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:04	4002	[DEBUG]	Checking manufacturer
2023-10-13	13:35:04	4002	[DEBUG]	Load a row
2023-10-13	13:35:04	4002	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:04	4002	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:35:04	4002	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:04	4002	[DEBUG]	Executed store
2023-10-13	13:35:04	4002	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:35:04	4002	[DEBUG]	Manufacturer exists
2023-10-13	13:35:04	4002	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:35:04	4002	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:04	4002	[DEBUG]	Executed store
2023-10-13	13:35:04	4002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863494','57')
2023-10-13	13:35:04	4002	[DEBUG]	Find the custom field ID
2023-10-13	13:35:04	4002	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:04	4002	[DEBUG]	No custom field ID found
2023-10-13	13:35:04	4002	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:04	4002	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:35:04	4002	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863494 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:04	4002	[DEBUG]	Store custom available field
2023-10-13	13:35:04	4002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863494,3,'0',1)
2023-10-13	13:35:04	4002	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:04	4002	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:04	4002	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863494 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:04	4002	[DEBUG]	Store custom available field
2023-10-13	13:35:04	4002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863494,6,'choisir la taille',3)
2023-10-13	13:35:04	4002	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:04	4002	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:04	4002	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:04	4002	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:04	4002	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863494 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:04	4002	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:04	4002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863494,8,1)
2023-10-13	13:35:04	4002	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:04	4002	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863494\":[1863494,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863494
2023-10-13	13:35:04	4002	[DEBUG]	Checking category
2023-10-13	13:35:04	4002	[DEBUG]	Check if category path exists: PILES
2023-10-13	13:35:04	4002	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PILES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:35:04	4002	[DEBUG]	Check if category path exists: PILES
2023-10-13	13:35:04	4002	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PILES' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7394
2023-10-13	13:35:04	4002	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:04	4002	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863494
2023-10-13	13:35:04	4002	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:04	4002	[DEBUG]	Executed store
2023-10-13	13:35:04	4002	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863494','7395')
2023-10-13	13:35:04	4002	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:04	4002	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863494 AND `virtuemart_category_id` NOT IN (7395)
2023-10-13	13:35:04	4002	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:04	4002	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863494
2023-10-13	13:35:04	4003	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:04	4003	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:04	4003	[DEBUG]	Use field value for field taille
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:04	4003	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:04	4003	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:04	4003	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:04	4003	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:04	4003	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:04	4003	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:04	4003	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:04	4003	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:04	4003	[DEBUG]	Use field value for field published
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:04	4003	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field override
2023-10-13	13:35:04	4003	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:04	4003	[DEBUG]	Use field value for field slug
2023-10-13	13:35:04	4003	[DEBUG]	Process line 4003
2023-10-13	13:35:04	4003	[DEBUG]	Load a row
2023-10-13	13:35:04	4003	[DEBUG]	Processing item: 5000394203884
2023-10-13	13:35:04	4003	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:04	4003	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:04	4003	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7452_208'
2023-10-13	13:35:04	4003	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:04	4003	[DEBUG]	Processing product tax
2023-10-13	13:35:04	4003	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:04	4003	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:04	4003	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:04	4003	[DEBUG]	Query for Product
2023-10-13	13:35:04	4003	[DEBUG]	Executed store
2023-10-13	13:35:04	4003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863494','5000394203884','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:04	4003	[DEBUG]	No parent found
2023-10-13	13:35:04	4003	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863494 AND customfield_value = 'stockable'
2023-10-13	13:35:04	4003	[DEBUG]	Check product language entry
2023-10-13	13:35:04	4003	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863495
2023-10-13	13:35:04	4003	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:04	4003	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '5000394203884' AND `virtuemart_product_id` != 1863495
2023-10-13	13:35:04	4003	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:04	4003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863495, '5000394203884')
2023-10-13	13:35:04	4003	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:04	4003	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-pile-cr2016-3v-lithium-plate-blister-a-2-pieces-aucune-unitaire' AND `virtuemart_product_id` != 1863495
2023-10-13	13:35:04	4003	[DEBUG]	Query for ProductLang
2023-10-13	13:35:04	4003	[DEBUG]	Executed store
2023-10-13	13:35:04	4003	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Duracell Pile CR2016 3V Lithium plate blister à 2 pièces / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-pile-cr2016-3v-lithium-plate-blister-a-2-pieces-aucune-unitaire' WHERE `virtuemart_product_id` = '1863495'
2023-10-13	13:35:04	4003	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_75247.jpg
2023-10-13	13:35:04	4003	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:04	4003	[DEBUG]	Process image file
2023-10-13	13:35:04	4003	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:04	4003	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:04	4003	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/20_75247.jpg
2023-10-13	13:35:04	4003	[DEBUG]	Full name target: bcprisme/20_75247.jpg
2023-10-13	13:35:05	4003	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:05	4003	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/20_75247.jpg'
2023-10-13	13:35:05	4003	[DEBUG]	Query for Media
2023-10-13	13:35:05	4003	[DEBUG]	Executed store
2023-10-13	13:35:05	4003	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/20_75247.jpg',`file_url_thumb`='bcprisme/20_75247.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '338214'
2023-10-13	13:35:05	4003	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:05	4003	[DEBUG]	Executed store
2023-10-13	13:35:05	4003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863495','338214','1')
2023-10-13	13:35:05	4003	[DEBUG]	Store product image relation
2023-10-13	13:35:05	4003	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:05	4003	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863495 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:05	4003	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:05	4003	[DEBUG]	Executed store
2023-10-13	13:35:05	4003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863495','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:05	4003	[DEBUG]	Checking manufacturer
2023-10-13	13:35:05	4003	[DEBUG]	Load a row
2023-10-13	13:35:05	4003	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:05	4003	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:35:05	4003	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:05	4003	[DEBUG]	Executed store
2023-10-13	13:35:05	4003	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:35:05	4003	[DEBUG]	Manufacturer exists
2023-10-13	13:35:05	4003	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:35:05	4003	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:05	4003	[DEBUG]	Executed store
2023-10-13	13:35:05	4003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863495','57')
2023-10-13	13:35:05	4003	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:05	4003	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:05	4003	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863495 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:05	4003	[DEBUG]	Store custom available field
2023-10-13	13:35:05	4003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863495,3,'',1)
2023-10-13	13:35:05	4003	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:05	4003	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:35:05	4003	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863495 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:05	4003	[DEBUG]	Store custom available field
2023-10-13	13:35:05	4003	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863495,6,'Unitaire',3)
2023-10-13	13:35:05	4003	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:05	4003	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:05	4003	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863494
2023-10-13	13:35:05	4003	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:05	4003	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863494\":[1863494,8,1,\"choisir la taille\"],\"1863495\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863494
2023-10-13	13:35:05	4003	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:05	4003	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863495
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:05	4004	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field taille
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:05	4004	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:05	4004	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:05	4004	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:05	4004	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:05	4004	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:05	4004	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field published
2023-10-13	13:35:05	4004	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:05	4004	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field override
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:05	4004	[DEBUG]	Use field value for field slug
2023-10-13	13:35:05	4004	[DEBUG]	Process line 4004
2023-10-13	13:35:05	4004	[DEBUG]	Load a row
2023-10-13	13:35:05	4004	[DEBUG]	Processing item: A_7607_0
2023-10-13	13:35:05	4004	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:05	4004	[DEBUG]	Processing product tax
2023-10-13	13:35:05	4004	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:05	4004	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:05	4004	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:05	4004	[DEBUG]	Query for Product
2023-10-13	13:35:05	4004	[DEBUG]	Executed store
2023-10-13	13:35:05	4004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7607_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:05	4004	[DEBUG]	Check product language entry
2023-10-13	13:35:05	4004	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863496
2023-10-13	13:35:05	4004	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:05	4004	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7607_0' AND `virtuemart_product_id` != 1863496
2023-10-13	13:35:05	4004	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:05	4004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863496, 'A_7607_0')
2023-10-13	13:35:05	4004	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:05	4004	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-varta-pile-cr2032-3v-lithium-1-piece-unique' AND `virtuemart_product_id` != 1863496
2023-10-13	13:35:05	4004	[DEBUG]	Query for ProductLang
2023-10-13	13:35:05	4004	[DEBUG]	Executed store
2023-10-13	13:35:05	4004	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 66.552032',`product_name`='<Null> Varta Pile CR2032 3V Lithium 1 pièce / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-varta-pile-cr2032-3v-lithium-1-piece-unique' WHERE `virtuemart_product_id` = '1863496'
2023-10-13	13:35:05	4004	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35072_varta_pile_cr2032_3v_lithium_1_piece_(copie).jpg
2023-10-13	13:35:05	4004	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:05	4004	[DEBUG]	Process image file
2023-10-13	13:35:05	4004	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:05	4004	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:05	4004	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35072_varta_pile_cr2032_3v_lithium_1_piece_(copie).jpg
2023-10-13	13:35:05	4004	[DEBUG]	Full name target: bcprisme/35072_varta_pile_cr2032_3v_lithium_1_piece_(copie).jpg
2023-10-13	13:35:06	4004	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:06	4004	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35072_varta_pile_cr2032_3v_lithium_1_piece_(copie).jpg'
2023-10-13	13:35:06	4004	[DEBUG]	Query for Media
2023-10-13	13:35:06	4004	[DEBUG]	Executed store
2023-10-13	13:35:06	4004	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35072_varta_pile_cr2032_3v_lithium_1_piece_(copie).jpg',`file_url_thumb`='bcprisme/35072_varta_pile_cr2032_3v_lithium_1_piece_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '338216'
2023-10-13	13:35:06	4004	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:06	4004	[DEBUG]	Executed store
2023-10-13	13:35:06	4004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863496','338216','1')
2023-10-13	13:35:06	4004	[DEBUG]	Store product image relation
2023-10-13	13:35:06	4004	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:06	4004	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863496 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:06	4004	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:06	4004	[DEBUG]	Executed store
2023-10-13	13:35:06	4004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863496','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:06	4004	[DEBUG]	Checking manufacturer
2023-10-13	13:35:06	4004	[DEBUG]	Manufacturer exists
2023-10-13	13:35:06	4004	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	13:35:06	4004	[DEBUG]	Load a row
2023-10-13	13:35:06	4004	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:06	4004	[DEBUG]	Executed store
2023-10-13	13:35:06	4004	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:35:06	4004	[DEBUG]	Manufacturer exists
2023-10-13	13:35:06	4004	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:35:06	4004	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:06	4004	[DEBUG]	Executed store
2023-10-13	13:35:06	4004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863496','20')
2023-10-13	13:35:06	4004	[DEBUG]	Find the custom field ID
2023-10-13	13:35:06	4004	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:06	4004	[DEBUG]	No custom field ID found
2023-10-13	13:35:06	4004	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:06	4004	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:35:06	4004	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863496 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:06	4004	[DEBUG]	Store custom available field
2023-10-13	13:35:06	4004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863496,3,'0',1)
2023-10-13	13:35:06	4004	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:06	4004	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:06	4004	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863496 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:06	4004	[DEBUG]	Store custom available field
2023-10-13	13:35:06	4004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863496,6,'choisir la taille',3)
2023-10-13	13:35:06	4004	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:06	4004	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:06	4004	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:06	4004	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:06	4004	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863496 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:06	4004	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:06	4004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863496,8,1)
2023-10-13	13:35:06	4004	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:06	4004	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863496\":[1863496,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863496
2023-10-13	13:35:06	4004	[DEBUG]	Checking category
2023-10-13	13:35:06	4004	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:06	4004	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863496
2023-10-13	13:35:06	4004	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:06	4004	[DEBUG]	Executed store
2023-10-13	13:35:06	4004	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863496','7395')
2023-10-13	13:35:06	4004	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:06	4004	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863496 AND `virtuemart_category_id` NOT IN (7395)
2023-10-13	13:35:06	4004	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:06	4004	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863496
2023-10-13	13:35:06	4005	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:06	4005	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:06	4005	[DEBUG]	Use field value for field taille
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:06	4005	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:06	4005	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:06	4005	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:06	4005	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:06	4005	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:06	4005	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:06	4005	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:06	4005	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:06	4005	[DEBUG]	Use field value for field published
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:06	4005	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field override
2023-10-13	13:35:06	4005	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:06	4005	[DEBUG]	Use field value for field slug
2023-10-13	13:35:06	4005	[DEBUG]	Process line 4005
2023-10-13	13:35:06	4005	[DEBUG]	Load a row
2023-10-13	13:35:06	4005	[DEBUG]	Processing item: 4008496746460
2023-10-13	13:35:06	4005	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:06	4005	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:06	4005	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7607_0'
2023-10-13	13:35:06	4005	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:06	4005	[DEBUG]	Processing product tax
2023-10-13	13:35:06	4005	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:06	4005	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:06	4005	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:06	4005	[DEBUG]	Query for Product
2023-10-13	13:35:06	4005	[DEBUG]	Executed store
2023-10-13	13:35:06	4005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863496','4008496746460','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:06	4005	[DEBUG]	No parent found
2023-10-13	13:35:06	4005	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863496 AND customfield_value = 'stockable'
2023-10-13	13:35:06	4005	[DEBUG]	Check product language entry
2023-10-13	13:35:06	4005	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863497
2023-10-13	13:35:06	4005	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:06	4005	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4008496746460' AND `virtuemart_product_id` != 1863497
2023-10-13	13:35:06	4005	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:06	4005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863497, '4008496746460')
2023-10-13	13:35:06	4005	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:06	4005	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'null-varta-pile-cr2032-3v-lithium-1-piece-unique-all' AND `virtuemart_product_id` != 1863497
2023-10-13	13:35:06	4005	[DEBUG]	Query for ProductLang
2023-10-13	13:35:06	4005	[DEBUG]	Executed store
2023-10-13	13:35:06	4005	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='<Null> Varta Pile CR2032 3V Lithium 1 pièce / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null-varta-pile-cr2032-3v-lithium-1-piece-unique-all' WHERE `virtuemart_product_id` = '1863497'
2023-10-13	13:35:06	4005	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35072_varta_pile_cr2032_3v_lithium_1_piece_(copie).jpg
2023-10-13	13:35:06	4005	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:06	4005	[DEBUG]	Process image file
2023-10-13	13:35:06	4005	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:06	4005	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:06	4005	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35072_varta_pile_cr2032_3v_lithium_1_piece_(copie).jpg
2023-10-13	13:35:06	4005	[DEBUG]	Full name target: bcprisme/35072_varta_pile_cr2032_3v_lithium_1_piece_(copie).jpg
2023-10-13	13:35:07	4005	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:07	4005	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35072_varta_pile_cr2032_3v_lithium_1_piece_(copie).jpg'
2023-10-13	13:35:07	4005	[DEBUG]	Query for Media
2023-10-13	13:35:07	4005	[DEBUG]	Executed store
2023-10-13	13:35:07	4005	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35072_varta_pile_cr2032_3v_lithium_1_piece_(copie).jpg',`file_url_thumb`='bcprisme/35072_varta_pile_cr2032_3v_lithium_1_piece_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '338216'
2023-10-13	13:35:07	4005	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:07	4005	[DEBUG]	Executed store
2023-10-13	13:35:07	4005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863497','338216','1')
2023-10-13	13:35:07	4005	[DEBUG]	Store product image relation
2023-10-13	13:35:07	4005	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:07	4005	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863497 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:07	4005	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:07	4005	[DEBUG]	Executed store
2023-10-13	13:35:07	4005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863497','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:07	4005	[DEBUG]	Checking manufacturer
2023-10-13	13:35:07	4005	[DEBUG]	Manufacturer exists
2023-10-13	13:35:07	4005	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `mf_name` = '<Null>'
2023-10-13	13:35:07	4005	[DEBUG]	Load a row
2023-10-13	13:35:07	4005	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:07	4005	[DEBUG]	Executed store
2023-10-13	13:35:07	4005	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:35:07	4005	[DEBUG]	Manufacturer exists
2023-10-13	13:35:07	4005	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:35:07	4005	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:07	4005	[DEBUG]	Executed store
2023-10-13	13:35:07	4005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863497','20')
2023-10-13	13:35:07	4005	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:07	4005	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:07	4005	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863497 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:07	4005	[DEBUG]	Store custom available field
2023-10-13	13:35:07	4005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863497,3,'',1)
2023-10-13	13:35:07	4005	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:07	4005	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:35:07	4005	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863497 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:07	4005	[DEBUG]	Store custom available field
2023-10-13	13:35:07	4005	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863497,6,'All',3)
2023-10-13	13:35:07	4005	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:07	4005	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:07	4005	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863496
2023-10-13	13:35:07	4005	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:07	4005	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863496\":[1863496,8,1,\"choisir la taille\"],\"1863497\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863496
2023-10-13	13:35:07	4005	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:07	4005	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863497
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:07	4006	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field taille
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:07	4006	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:07	4006	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:07	4006	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:07	4006	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:07	4006	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:07	4006	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field published
2023-10-13	13:35:07	4006	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:07	4006	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field override
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:07	4006	[DEBUG]	Use field value for field slug
2023-10-13	13:35:07	4006	[DEBUG]	Process line 4006
2023-10-13	13:35:07	4006	[DEBUG]	Load a row
2023-10-13	13:35:07	4006	[DEBUG]	Processing item: A_7609_0
2023-10-13	13:35:07	4006	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:07	4006	[DEBUG]	Processing product tax
2023-10-13	13:35:07	4006	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:07	4006	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:07	4006	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:07	4006	[DEBUG]	Query for Product
2023-10-13	13:35:07	4006	[DEBUG]	Executed store
2023-10-13	13:35:07	4006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7609_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:07	4006	[DEBUG]	Check product language entry
2023-10-13	13:35:07	4006	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863498
2023-10-13	13:35:07	4006	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:07	4006	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7609_0' AND `virtuemart_product_id` != 1863498
2023-10-13	13:35:07	4006	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:07	4006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863498, 'A_7609_0')
2023-10-13	13:35:07	4006	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:07	4006	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'connex-varta-pile-cr2016-3v-lithium-plate-1-unite-unique' AND `virtuemart_product_id` != 1863498
2023-10-13	13:35:07	4006	[DEBUG]	Query for ProductLang
2023-10-13	13:35:07	4006	[DEBUG]	Executed store
2023-10-13	13:35:07	4006	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 66.552016',`product_name`='Connex VARTA Pile CR2016 3V Lithium plate 1 unité / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='connex-varta-pile-cr2016-3v-lithium-plate-1-unite-unique' WHERE `virtuemart_product_id` = '1863498'
2023-10-13	13:35:07	4006	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35074_varta_pile_cr2016_3v_lithium_plate_1_unite.jpg
2023-10-13	13:35:07	4006	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:35:07	4006	[DEBUG]	Process image file
2023-10-13	13:35:07	4006	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:35:07	4006	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:07	4006	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35074_varta_pile_cr2016_3v_lithium_plate_1_unite.jpg
2023-10-13	13:35:07	4006	[DEBUG]	Full name target: bcprisme/35074_varta_pile_cr2016_3v_lithium_plate_1_unite.jpg
2023-10-13	13:35:08	4006	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:08	4006	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35074_varta_pile_cr2016_3v_lithium_plate_1_unite.jpg'
2023-10-13	13:35:08	4006	[DEBUG]	Query for Media
2023-10-13	13:35:08	4006	[DEBUG]	Executed store
2023-10-13	13:35:08	4006	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35074_varta_pile_cr2016_3v_lithium_plate_1_unite.jpg',`file_url_thumb`='bcprisme/35074_varta_pile_cr2016_3v_lithium_plate_1_unite.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '338218'
2023-10-13	13:35:08	4006	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:08	4006	[DEBUG]	Executed store
2023-10-13	13:35:08	4006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863498','338218','1')
2023-10-13	13:35:08	4006	[DEBUG]	Store product image relation
2023-10-13	13:35:08	4006	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:08	4006	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863498 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:08	4006	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:08	4006	[DEBUG]	Executed store
2023-10-13	13:35:08	4006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863498','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:08	4006	[DEBUG]	Checking manufacturer
2023-10-13	13:35:08	4006	[DEBUG]	Load a row
2023-10-13	13:35:08	4006	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:08	4006	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '159'
2023-10-13	13:35:08	4006	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:08	4006	[DEBUG]	Executed store
2023-10-13	13:35:08	4006	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-44-121441683368' WHERE `virtuemart_manufacturer_id` = '159'
2023-10-13	13:35:08	4006	[DEBUG]	Manufacturer exists
2023-10-13	13:35:08	4006	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 159
2023-10-13	13:35:08	4006	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:08	4006	[DEBUG]	Executed store
2023-10-13	13:35:08	4006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863498','159')
2023-10-13	13:35:08	4006	[DEBUG]	Find the custom field ID
2023-10-13	13:35:08	4006	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:08	4006	[DEBUG]	No custom field ID found
2023-10-13	13:35:08	4006	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:08	4006	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:35:08	4006	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863498 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:08	4006	[DEBUG]	Store custom available field
2023-10-13	13:35:08	4006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863498,3,'0',1)
2023-10-13	13:35:08	4006	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:08	4006	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:08	4006	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863498 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:08	4006	[DEBUG]	Store custom available field
2023-10-13	13:35:08	4006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863498,6,'choisir la taille',3)
2023-10-13	13:35:08	4006	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:08	4006	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:08	4006	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:08	4006	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:08	4006	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863498 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:08	4006	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:08	4006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863498,8,1)
2023-10-13	13:35:08	4006	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:08	4006	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863498\":[1863498,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863498
2023-10-13	13:35:08	4006	[DEBUG]	Checking category
2023-10-13	13:35:08	4006	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:08	4006	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863498
2023-10-13	13:35:08	4006	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:08	4006	[DEBUG]	Executed store
2023-10-13	13:35:08	4006	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863498','7395')
2023-10-13	13:35:08	4006	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:08	4006	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863498 AND `virtuemart_category_id` NOT IN (7395)
2023-10-13	13:35:08	4006	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:08	4006	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863498
2023-10-13	13:35:08	4007	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:08	4007	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:08	4007	[DEBUG]	Use field value for field taille
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:08	4007	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:08	4007	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:08	4007	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:08	4007	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:08	4007	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:08	4007	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:08	4007	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:08	4007	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:08	4007	[DEBUG]	Use field value for field published
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:08	4007	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field override
2023-10-13	13:35:08	4007	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:08	4007	[DEBUG]	Use field value for field slug
2023-10-13	13:35:08	4007	[DEBUG]	Process line 4007
2023-10-13	13:35:08	4007	[DEBUG]	Load a row
2023-10-13	13:35:08	4007	[DEBUG]	Processing item: 4008496276639
2023-10-13	13:35:08	4007	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:08	4007	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:08	4007	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7609_0'
2023-10-13	13:35:08	4007	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:08	4007	[DEBUG]	Processing product tax
2023-10-13	13:35:08	4007	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:08	4007	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:08	4007	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:08	4007	[DEBUG]	Query for Product
2023-10-13	13:35:08	4007	[DEBUG]	Executed store
2023-10-13	13:35:08	4007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863498','4008496276639','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:08	4007	[DEBUG]	No parent found
2023-10-13	13:35:08	4007	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863498 AND customfield_value = 'stockable'
2023-10-13	13:35:08	4007	[DEBUG]	Check product language entry
2023-10-13	13:35:08	4007	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863499
2023-10-13	13:35:08	4007	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:08	4007	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4008496276639' AND `virtuemart_product_id` != 1863499
2023-10-13	13:35:08	4007	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:08	4007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863499, '4008496276639')
2023-10-13	13:35:08	4007	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:08	4007	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'connex-varta-pile-cr2016-3v-lithium-plate-1-unite-unique-all' AND `virtuemart_product_id` != 1863499
2023-10-13	13:35:08	4007	[DEBUG]	Query for ProductLang
2023-10-13	13:35:08	4007	[DEBUG]	Executed store
2023-10-13	13:35:08	4007	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Connex VARTA Pile CR2016 3V Lithium plate 1 unité / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='connex-varta-pile-cr2016-3v-lithium-plate-1-unite-unique-all' WHERE `virtuemart_product_id` = '1863499'
2023-10-13	13:35:08	4007	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35074_varta_pile_cr2016_3v_lithium_plate_1_unite.jpg
2023-10-13	13:35:08	4007	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:35:08	4007	[DEBUG]	Process image file
2023-10-13	13:35:08	4007	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:35:08	4007	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:08	4007	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35074_varta_pile_cr2016_3v_lithium_plate_1_unite.jpg
2023-10-13	13:35:08	4007	[DEBUG]	Full name target: bcprisme/35074_varta_pile_cr2016_3v_lithium_plate_1_unite.jpg
2023-10-13	13:35:09	4007	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:09	4007	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35074_varta_pile_cr2016_3v_lithium_plate_1_unite.jpg'
2023-10-13	13:35:09	4007	[DEBUG]	Query for Media
2023-10-13	13:35:09	4007	[DEBUG]	Executed store
2023-10-13	13:35:09	4007	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35074_varta_pile_cr2016_3v_lithium_plate_1_unite.jpg',`file_url_thumb`='bcprisme/35074_varta_pile_cr2016_3v_lithium_plate_1_unite.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '338218'
2023-10-13	13:35:09	4007	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:09	4007	[DEBUG]	Executed store
2023-10-13	13:35:09	4007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863499','338218','1')
2023-10-13	13:35:09	4007	[DEBUG]	Store product image relation
2023-10-13	13:35:09	4007	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:09	4007	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863499 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:09	4007	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:09	4007	[DEBUG]	Executed store
2023-10-13	13:35:09	4007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863499','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:09	4007	[DEBUG]	Checking manufacturer
2023-10-13	13:35:09	4007	[DEBUG]	Load a row
2023-10-13	13:35:09	4007	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:09	4007	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '159'
2023-10-13	13:35:09	4007	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:09	4007	[DEBUG]	Executed store
2023-10-13	13:35:09	4007	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-44-121441683368' WHERE `virtuemart_manufacturer_id` = '159'
2023-10-13	13:35:09	4007	[DEBUG]	Manufacturer exists
2023-10-13	13:35:09	4007	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 159
2023-10-13	13:35:09	4007	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:09	4007	[DEBUG]	Executed store
2023-10-13	13:35:09	4007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863499','159')
2023-10-13	13:35:09	4007	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:09	4007	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:09	4007	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863499 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:09	4007	[DEBUG]	Store custom available field
2023-10-13	13:35:09	4007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863499,3,'',1)
2023-10-13	13:35:09	4007	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:09	4007	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:35:09	4007	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863499 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:09	4007	[DEBUG]	Store custom available field
2023-10-13	13:35:09	4007	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863499,6,'All',3)
2023-10-13	13:35:09	4007	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:09	4007	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:09	4007	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863498
2023-10-13	13:35:09	4007	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:09	4007	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863498\":[1863498,8,1,\"choisir la taille\"],\"1863499\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863498
2023-10-13	13:35:09	4007	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:09	4007	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863499
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:09	4008	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field taille
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:09	4008	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:09	4008	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:09	4008	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:09	4008	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:09	4008	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:09	4008	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field published
2023-10-13	13:35:09	4008	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:09	4008	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field override
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:09	4008	[DEBUG]	Use field value for field slug
2023-10-13	13:35:09	4008	[DEBUG]	Process line 4008
2023-10-13	13:35:09	4008	[DEBUG]	Load a row
2023-10-13	13:35:09	4008	[DEBUG]	Processing item: A_8568_0
2023-10-13	13:35:09	4008	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:09	4008	[DEBUG]	Processing product tax
2023-10-13	13:35:09	4008	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:09	4008	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:09	4008	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:09	4008	[DEBUG]	Query for Product
2023-10-13	13:35:09	4008	[DEBUG]	Executed store
2023-10-13	13:35:09	4008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8568_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:09	4008	[DEBUG]	Check product language entry
2023-10-13	13:35:09	4008	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863500
2023-10-13	13:35:09	4008	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:09	4008	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8568_0' AND `virtuemart_product_id` != 1863500
2023-10-13	13:35:09	4008	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:09	4008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863500, 'A_8568_0')
2023-10-13	13:35:09	4008	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:09	4008	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-varta-pile-cr1620-unique' AND `virtuemart_product_id` != 1863500
2023-10-13	13:35:09	4008	[DEBUG]	Query for ProductLang
2023-10-13	13:35:09	4008	[DEBUG]	Executed store
2023-10-13	13:35:09	4008	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : cr1620',`product_name`='Duracell Varta Pile CR1620 / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-varta-pile-cr1620-unique' WHERE `virtuemart_product_id` = '1863500'
2023-10-13	13:35:09	4008	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37386_varta_pile_cr1620.jpg
2023-10-13	13:35:09	4008	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:09	4008	[DEBUG]	Process image file
2023-10-13	13:35:09	4008	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:09	4008	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:09	4008	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37386_varta_pile_cr1620.jpg
2023-10-13	13:35:09	4008	[DEBUG]	Full name target: bcprisme/37386_varta_pile_cr1620.jpg
2023-10-13	13:35:10	4008	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:10	4008	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37386_varta_pile_cr1620.jpg'
2023-10-13	13:35:10	4008	[DEBUG]	Query for Media
2023-10-13	13:35:10	4008	[DEBUG]	Executed store
2023-10-13	13:35:10	4008	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37386_varta_pile_cr1620.jpg',`file_url_thumb`='bcprisme/37386_varta_pile_cr1620.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '994730'
2023-10-13	13:35:10	4008	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:10	4008	[DEBUG]	Executed store
2023-10-13	13:35:10	4008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863500','994730','1')
2023-10-13	13:35:10	4008	[DEBUG]	Store product image relation
2023-10-13	13:35:10	4008	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:10	4008	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863500 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:10	4008	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:10	4008	[DEBUG]	Executed store
2023-10-13	13:35:10	4008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863500','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:10	4008	[DEBUG]	Checking manufacturer
2023-10-13	13:35:10	4008	[DEBUG]	Load a row
2023-10-13	13:35:10	4008	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:10	4008	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:35:10	4008	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:10	4008	[DEBUG]	Executed store
2023-10-13	13:35:10	4008	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:35:10	4008	[DEBUG]	Manufacturer exists
2023-10-13	13:35:10	4008	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:35:10	4008	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:10	4008	[DEBUG]	Executed store
2023-10-13	13:35:10	4008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863500','57')
2023-10-13	13:35:10	4008	[DEBUG]	Find the custom field ID
2023-10-13	13:35:10	4008	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:10	4008	[DEBUG]	No custom field ID found
2023-10-13	13:35:10	4008	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:10	4008	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:35:10	4008	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863500 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:10	4008	[DEBUG]	Store custom available field
2023-10-13	13:35:10	4008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863500,3,'0',1)
2023-10-13	13:35:10	4008	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:10	4008	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:10	4008	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863500 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:10	4008	[DEBUG]	Store custom available field
2023-10-13	13:35:10	4008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863500,6,'choisir la taille',3)
2023-10-13	13:35:10	4008	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:10	4008	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:10	4008	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:10	4008	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:10	4008	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863500 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:10	4008	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:10	4008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863500,8,1)
2023-10-13	13:35:10	4008	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:10	4008	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863500\":[1863500,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863500
2023-10-13	13:35:10	4008	[DEBUG]	Checking category
2023-10-13	13:35:10	4008	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:10	4008	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863500
2023-10-13	13:35:10	4008	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:10	4008	[DEBUG]	Executed store
2023-10-13	13:35:10	4008	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863500','7395')
2023-10-13	13:35:10	4008	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:10	4008	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863500 AND `virtuemart_category_id` NOT IN (7395)
2023-10-13	13:35:10	4008	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:10	4008	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863500
2023-10-13	13:35:10	4009	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:10	4009	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:10	4009	[DEBUG]	Use field value for field taille
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:10	4009	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:10	4009	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:10	4009	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:10	4009	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:10	4009	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:10	4009	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:10	4009	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:10	4009	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:10	4009	[DEBUG]	Use field value for field published
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:10	4009	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field override
2023-10-13	13:35:10	4009	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:10	4009	[DEBUG]	Use field value for field slug
2023-10-13	13:35:10	4009	[DEBUG]	Process line 4009
2023-10-13	13:35:10	4009	[DEBUG]	Load a row
2023-10-13	13:35:11	4009	[DEBUG]	Processing item: 1000000156409
2023-10-13	13:35:11	4009	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:11	4009	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:11	4009	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8568_0'
2023-10-13	13:35:11	4009	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:11	4009	[DEBUG]	Processing product tax
2023-10-13	13:35:11	4009	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:11	4009	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:11	4009	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:11	4009	[DEBUG]	Query for Product
2023-10-13	13:35:11	4009	[DEBUG]	Executed store
2023-10-13	13:35:11	4009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863500','1000000156409','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:11	4009	[DEBUG]	No parent found
2023-10-13	13:35:11	4009	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863500 AND customfield_value = 'stockable'
2023-10-13	13:35:11	4009	[DEBUG]	Check product language entry
2023-10-13	13:35:11	4009	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863501
2023-10-13	13:35:11	4009	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:11	4009	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000156409' AND `virtuemart_product_id` != 1863501
2023-10-13	13:35:11	4009	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:11	4009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863501, '1000000156409')
2023-10-13	13:35:11	4009	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:11	4009	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'duracell-varta-pile-cr1620-unique-all' AND `virtuemart_product_id` != 1863501
2023-10-13	13:35:11	4009	[DEBUG]	Query for ProductLang
2023-10-13	13:35:11	4009	[DEBUG]	Executed store
2023-10-13	13:35:11	4009	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Duracell Varta Pile CR1620 / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='duracell-varta-pile-cr1620-unique-all' WHERE `virtuemart_product_id` = '1863501'
2023-10-13	13:35:11	4009	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37386_varta_pile_cr1620.jpg
2023-10-13	13:35:11	4009	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:11	4009	[DEBUG]	Process image file
2023-10-13	13:35:11	4009	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:11	4009	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:11	4009	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37386_varta_pile_cr1620.jpg
2023-10-13	13:35:11	4009	[DEBUG]	Full name target: bcprisme/37386_varta_pile_cr1620.jpg
2023-10-13	13:35:12	4009	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:12	4009	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37386_varta_pile_cr1620.jpg'
2023-10-13	13:35:12	4009	[DEBUG]	Query for Media
2023-10-13	13:35:12	4009	[DEBUG]	Executed store
2023-10-13	13:35:12	4009	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37386_varta_pile_cr1620.jpg',`file_url_thumb`='bcprisme/37386_varta_pile_cr1620.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '994730'
2023-10-13	13:35:12	4009	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:12	4009	[DEBUG]	Executed store
2023-10-13	13:35:12	4009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863501','994730','1')
2023-10-13	13:35:12	4009	[DEBUG]	Store product image relation
2023-10-13	13:35:12	4009	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:12	4009	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863501 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:12	4009	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:12	4009	[DEBUG]	Executed store
2023-10-13	13:35:12	4009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863501','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:12	4009	[DEBUG]	Checking manufacturer
2023-10-13	13:35:12	4009	[DEBUG]	Load a row
2023-10-13	13:35:12	4009	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:12	4009	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:35:12	4009	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:12	4009	[DEBUG]	Executed store
2023-10-13	13:35:12	4009	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-40-33273073427' WHERE `virtuemart_manufacturer_id` = '57'
2023-10-13	13:35:12	4009	[DEBUG]	Manufacturer exists
2023-10-13	13:35:12	4009	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 57
2023-10-13	13:35:12	4009	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:12	4009	[DEBUG]	Executed store
2023-10-13	13:35:12	4009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863501','57')
2023-10-13	13:35:12	4009	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:12	4009	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:12	4009	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863501 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:12	4009	[DEBUG]	Store custom available field
2023-10-13	13:35:12	4009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863501,3,'',1)
2023-10-13	13:35:12	4009	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:12	4009	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:35:12	4009	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863501 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:12	4009	[DEBUG]	Store custom available field
2023-10-13	13:35:12	4009	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863501,6,'All',3)
2023-10-13	13:35:12	4009	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:12	4009	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:12	4009	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863500
2023-10-13	13:35:12	4009	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:12	4009	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863500\":[1863500,8,1,\"choisir la taille\"],\"1863501\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863500
2023-10-13	13:35:12	4009	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:12	4009	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863501
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:12	4010	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field taille
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:12	4010	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:12	4010	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:12	4010	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:12	4010	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:12	4010	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:12	4010	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field published
2023-10-13	13:35:12	4010	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:12	4010	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field override
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:12	4010	[DEBUG]	Use field value for field slug
2023-10-13	13:35:12	4010	[DEBUG]	Process line 4010
2023-10-13	13:35:12	4010	[DEBUG]	Load a row
2023-10-13	13:35:12	4010	[DEBUG]	Processing item: A_8517_84
2023-10-13	13:35:12	4010	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:12	4010	[DEBUG]	Processing product tax
2023-10-13	13:35:12	4010	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:12	4010	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:12	4010	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:12	4010	[DEBUG]	Query for Product
2023-10-13	13:35:12	4010	[DEBUG]	Executed store
2023-10-13	13:35:12	4010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8517_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:12	4010	[DEBUG]	Check product language entry
2023-10-13	13:35:12	4010	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863502
2023-10-13	13:35:12	4010	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:12	4010	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8517_84' AND `virtuemart_product_id` != 1863502
2023-10-13	13:35:12	4010	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:12	4010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863502, 'A_8517_84')
2023-10-13	13:35:12	4010	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:12	4010	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-boyau-corsa-g2-0-23-28-noir-black' AND `virtuemart_product_id` != 1863502
2023-10-13	13:35:12	4010	[DEBUG]	Query for ProductLang
2023-10-13	13:35:12	4010	[DEBUG]	Executed store
2023-10-13	13:35:12	4010	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.76049',`product_name`='VITTORIA Boyau Corsa G2.0 23-28 noir / Black&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-boyau-corsa-g2-0-23-28-noir-black' WHERE `virtuemart_product_id` = '1863502'
2023-10-13	13:35:12	4010	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_76064_jpg.jpg
2023-10-13	13:35:12	4010	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:35:12	4010	[DEBUG]	Process image file
2023-10-13	13:35:12	4010	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:35:12	4010	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:12	4010	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_76064_jpg.jpg
2023-10-13	13:35:12	4010	[DEBUG]	Full name target: bcprisme/24_76064_jpg.jpg
2023-10-13	13:35:13	4010	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:13	4010	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_76064_jpg.jpg'
2023-10-13	13:35:13	4010	[DEBUG]	Query for Media
2023-10-13	13:35:13	4010	[DEBUG]	Executed store
2023-10-13	13:35:13	4010	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_76064_jpg.jpg',`file_url_thumb`='bcprisme/24_76064_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '974371'
2023-10-13	13:35:13	4010	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:13	4010	[DEBUG]	Executed store
2023-10-13	13:35:13	4010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863502','974371','1')
2023-10-13	13:35:13	4010	[DEBUG]	Store product image relation
2023-10-13	13:35:13	4010	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:13	4010	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863502 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:13	4010	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:13	4010	[DEBUG]	Executed store
2023-10-13	13:35:13	4010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863502','0','110.492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:13	4010	[DEBUG]	Checking manufacturer
2023-10-13	13:35:13	4010	[DEBUG]	Load a row
2023-10-13	13:35:13	4010	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:13	4010	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:35:13	4010	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:13	4010	[DEBUG]	Executed store
2023-10-13	13:35:13	4010	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:35:13	4010	[DEBUG]	Manufacturer exists
2023-10-13	13:35:13	4010	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:35:13	4010	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:13	4010	[DEBUG]	Executed store
2023-10-13	13:35:13	4010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863502','42')
2023-10-13	13:35:13	4010	[DEBUG]	Find the custom field ID
2023-10-13	13:35:13	4010	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:13	4010	[DEBUG]	No custom field ID found
2023-10-13	13:35:13	4010	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:13	4010	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:35:13	4010	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863502 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:13	4010	[DEBUG]	Store custom available field
2023-10-13	13:35:13	4010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863502,3,'0',1)
2023-10-13	13:35:13	4010	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:13	4010	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:13	4010	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863502 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:13	4010	[DEBUG]	Store custom available field
2023-10-13	13:35:13	4010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863502,6,'choisir la taille',3)
2023-10-13	13:35:13	4010	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:13	4010	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:13	4010	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:13	4010	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:13	4010	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863502 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:13	4010	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:13	4010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863502,8,1)
2023-10-13	13:35:13	4010	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:13	4010	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863502\":[1863502,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863502
2023-10-13	13:35:13	4010	[DEBUG]	Checking category
2023-10-13	13:35:13	4010	[DEBUG]	Check if category path exists: PNEUS - REIFEN
2023-10-13	13:35:13	4010	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS - REIFEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:35:13	4010	[DEBUG]	Query for Category
2023-10-13	13:35:13	4010	[DEBUG]	Executed store
2023-10-13	13:35:13	4010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('0','1','','default','default','3','0','0','0','','','','49','0','1','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:13	4010	[DEBUG]	Category publish 1
2023-10-13	13:35:13	4010	[DEBUG]	Check the category language
2023-10-13	13:35:13	4010	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7396
2023-10-13	13:35:13	4010	[DEBUG]	Check the category slug
2023-10-13	13:35:13	4010	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus---reifen' AND `virtuemart_category_id` != 7396
2023-10-13	13:35:13	4010	[DEBUG]	Check the category slug
2023-10-13	13:35:13	4010	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus---reifen' AND `virtuemart_category_id` != 7396
2023-10-13	13:35:13	4010	[DEBUG]	Add the category language entry
2023-10-13	13:35:13	4010	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7396, 'pneus---reifen')
2023-10-13	13:35:13	4010	[DEBUG]	Query for CategoryLang
2023-10-13	13:35:13	4010	[DEBUG]	Executed store
2023-10-13	13:35:13	4010	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PNEUS - REIFEN',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pneus---reifen' WHERE `virtuemart_category_id` = '7396'
2023-10-13	13:35:13	4010	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:35:13	4010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('0','7396','0')
2023-10-13	13:35:13	4010	[DEBUG]	Check if category path exists: BOYAUX
2023-10-13	13:35:13	4010	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'BOYAUX' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:35:13	4010	[DEBUG]	Query for Category
2023-10-13	13:35:13	4010	[DEBUG]	Executed store
2023-10-13	13:35:13	4010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','1','0','1','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:13	4010	[DEBUG]	Category publish 1
2023-10-13	13:35:13	4010	[DEBUG]	Check the category language
2023-10-13	13:35:13	4010	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7397
2023-10-13	13:35:13	4010	[DEBUG]	Check the category slug
2023-10-13	13:35:13	4010	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'boyaux' AND `virtuemart_category_id` != 7397
2023-10-13	13:35:13	4010	[DEBUG]	Check the category slug
2023-10-13	13:35:13	4010	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'boyaux' AND `virtuemart_category_id` != 7397
2023-10-13	13:35:13	4010	[DEBUG]	Add the category language entry
2023-10-13	13:35:13	4010	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7397, 'boyaux')
2023-10-13	13:35:13	4010	[DEBUG]	Query for CategoryLang
2023-10-13	13:35:13	4010	[DEBUG]	Executed store
2023-10-13	13:35:13	4010	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='BOYAUX',`metadesc`='',`metakey`='',`customtitle`='',`slug`='boyaux' WHERE `virtuemart_category_id` = '7397'
2023-10-13	13:35:13	4010	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:35:13	4010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7397','0')
2023-10-13	13:35:13	4010	[DEBUG]	Update has field for parent category
2023-10-13	13:35:13	4010	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:35:13	4010	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:13	4010	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863502
2023-10-13	13:35:13	4010	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:13	4010	[DEBUG]	Executed store
2023-10-13	13:35:13	4010	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863502','7397')
2023-10-13	13:35:13	4010	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:13	4010	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863502 AND `virtuemart_category_id` NOT IN (7397)
2023-10-13	13:35:13	4010	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:13	4010	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863502
2023-10-13	13:35:13	4011	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:13	4011	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:13	4011	[DEBUG]	Use field value for field taille
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:13	4011	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:13	4011	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:13	4011	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:13	4011	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:13	4011	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:13	4011	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:13	4011	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:13	4011	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:13	4011	[DEBUG]	Use field value for field published
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:13	4011	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field override
2023-10-13	13:35:13	4011	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:13	4011	[DEBUG]	Use field value for field slug
2023-10-13	13:35:13	4011	[DEBUG]	Process line 4011
2023-10-13	13:35:13	4011	[DEBUG]	Load a row
2023-10-13	13:35:13	4011	[DEBUG]	Processing item: 8022530018937
2023-10-13	13:35:13	4011	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:13	4011	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:13	4011	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8517_84'
2023-10-13	13:35:13	4011	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:13	4011	[DEBUG]	Processing product tax
2023-10-13	13:35:13	4011	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:13	4011	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:13	4011	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:13	4011	[DEBUG]	Query for Product
2023-10-13	13:35:13	4011	[DEBUG]	Executed store
2023-10-13	13:35:13	4011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863502','8022530018937','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:13	4011	[DEBUG]	No parent found
2023-10-13	13:35:13	4011	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863502 AND customfield_value = 'stockable'
2023-10-13	13:35:13	4011	[DEBUG]	Check product language entry
2023-10-13	13:35:13	4011	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863503
2023-10-13	13:35:13	4011	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:13	4011	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8022530018937' AND `virtuemart_product_id` != 1863503
2023-10-13	13:35:13	4011	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:13	4011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863503, '8022530018937')
2023-10-13	13:35:13	4011	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:13	4011	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-boyau-corsa-g2-0-23-28-noir-black-unitaire' AND `virtuemart_product_id` != 1863503
2023-10-13	13:35:13	4011	[DEBUG]	Query for ProductLang
2023-10-13	13:35:13	4011	[DEBUG]	Executed store
2023-10-13	13:35:13	4011	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='VITTORIA Boyau Corsa G2.0 23-28 noir / Black (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-boyau-corsa-g2-0-23-28-noir-black-unitaire' WHERE `virtuemart_product_id` = '1863503'
2023-10-13	13:35:13	4011	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_76064_jpg.jpg
2023-10-13	13:35:13	4011	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:35:13	4011	[DEBUG]	Process image file
2023-10-13	13:35:13	4011	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:35:13	4011	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:13	4011	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_76064_jpg.jpg
2023-10-13	13:35:13	4011	[DEBUG]	Full name target: bcprisme/24_76064_jpg.jpg
2023-10-13	13:35:14	4011	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:14	4011	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_76064_jpg.jpg'
2023-10-13	13:35:14	4011	[DEBUG]	Query for Media
2023-10-13	13:35:14	4011	[DEBUG]	Executed store
2023-10-13	13:35:14	4011	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_76064_jpg.jpg',`file_url_thumb`='bcprisme/24_76064_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '974371'
2023-10-13	13:35:14	4011	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:14	4011	[DEBUG]	Executed store
2023-10-13	13:35:14	4011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863503','974371','1')
2023-10-13	13:35:14	4011	[DEBUG]	Store product image relation
2023-10-13	13:35:14	4011	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:14	4011	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863503 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:14	4011	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:14	4011	[DEBUG]	Executed store
2023-10-13	13:35:14	4011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863503','0','110.492107706592','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:14	4011	[DEBUG]	Checking manufacturer
2023-10-13	13:35:14	4011	[DEBUG]	Load a row
2023-10-13	13:35:14	4011	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:14	4011	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:35:14	4011	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:14	4011	[DEBUG]	Executed store
2023-10-13	13:35:14	4011	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:35:14	4011	[DEBUG]	Manufacturer exists
2023-10-13	13:35:14	4011	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:35:14	4011	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:14	4011	[DEBUG]	Executed store
2023-10-13	13:35:14	4011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863503','42')
2023-10-13	13:35:14	4011	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:14	4011	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:14	4011	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863503 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:14	4011	[DEBUG]	Store custom available field
2023-10-13	13:35:14	4011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863503,3,'',1)
2023-10-13	13:35:14	4011	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:14	4011	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:35:14	4011	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863503 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:14	4011	[DEBUG]	Store custom available field
2023-10-13	13:35:14	4011	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863503,6,'Unitaire',3)
2023-10-13	13:35:14	4011	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:14	4011	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:14	4011	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863502
2023-10-13	13:35:14	4011	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:14	4011	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863502\":[1863502,8,1,\"choisir la taille\"],\"1863503\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863502
2023-10-13	13:35:14	4011	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:14	4011	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863503
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:14	4012	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field taille
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:14	4012	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:14	4012	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:14	4012	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:14	4012	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:14	4012	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:14	4012	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field published
2023-10-13	13:35:14	4012	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:14	4012	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field override
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:14	4012	[DEBUG]	Use field value for field slug
2023-10-13	13:35:14	4012	[DEBUG]	Process line 4012
2023-10-13	13:35:14	4012	[DEBUG]	Load a row
2023-10-13	13:35:14	4012	[DEBUG]	Processing item: A_9475_1
2023-10-13	13:35:14	4012	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:14	4012	[DEBUG]	Processing product tax
2023-10-13	13:35:14	4012	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:14	4012	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:14	4012	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:14	4012	[DEBUG]	Query for Product
2023-10-13	13:35:14	4012	[DEBUG]	Executed store
2023-10-13	13:35:14	4012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9475_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:14	4012	[DEBUG]	Check product language entry
2023-10-13	13:35:14	4012	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863504
2023-10-13	13:35:14	4012	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:14	4012	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9475_1' AND `virtuemart_product_id` != 1863504
2023-10-13	13:35:14	4012	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:14	4012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863504, 'A_9475_1')
2023-10-13	13:35:14	4012	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:14	4012	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tufo-boyau-tufo-colle-hi-composit-carbon-28-mm-noir-noir' AND `virtuemart_product_id` != 1863504
2023-10-13	13:35:14	4012	[DEBUG]	Query for ProductLang
2023-10-13	13:35:14	4012	[DEBUG]	Executed store
2023-10-13	13:35:14	4012	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 280.255',`product_name`='Tufo Boyau Tufo Collé Hi-Composit Carbon 28 mm noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tufo-boyau-tufo-colle-hi-composit-carbon-28-mm-noir-noir' WHERE `virtuemart_product_id` = '1863504'
2023-10-13	13:35:14	4012	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38688_boyau_tufo_cole_hi-composit_carbone_28_mm_noir.jpg
2023-10-13	13:35:14	4012	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:14	4012	[DEBUG]	Process image file
2023-10-13	13:35:14	4012	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:14	4012	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:14	4012	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38688_boyau_tufo_cole_hi-composit_carbone_28_mm_noir.jpg
2023-10-13	13:35:14	4012	[DEBUG]	Full name target: bcprisme/38688_boyau_tufo_cole_hi-composit_carbone_28_mm_noir.jpg
2023-10-13	13:35:15	4012	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:15	4012	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38688_boyau_tufo_cole_hi-composit_carbone_28_mm_noir.jpg'
2023-10-13	13:35:15	4012	[DEBUG]	Query for Media
2023-10-13	13:35:15	4012	[DEBUG]	Executed store
2023-10-13	13:35:15	4012	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38688_boyau_tufo_cole_hi-composit_carbone_28_mm_noir.jpg',`file_url_thumb`='bcprisme/38688_boyau_tufo_cole_hi-composit_carbone_28_mm_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1426752'
2023-10-13	13:35:15	4012	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:15	4012	[DEBUG]	Executed store
2023-10-13	13:35:15	4012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863504','1426752','1')
2023-10-13	13:35:15	4012	[DEBUG]	Store product image relation
2023-10-13	13:35:15	4012	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:15	4012	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863504 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:15	4012	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:15	4012	[DEBUG]	Executed store
2023-10-13	13:35:15	4012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863504','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:15	4012	[DEBUG]	Checking manufacturer
2023-10-13	13:35:15	4012	[DEBUG]	Load a row
2023-10-13	13:35:15	4012	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:15	4012	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '223'
2023-10-13	13:35:15	4012	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:15	4012	[DEBUG]	Executed store
2023-10-13	13:35:15	4012	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='155',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='155' WHERE `virtuemart_manufacturer_id` = '223'
2023-10-13	13:35:15	4012	[DEBUG]	Manufacturer exists
2023-10-13	13:35:15	4012	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 223
2023-10-13	13:35:15	4012	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:15	4012	[DEBUG]	Executed store
2023-10-13	13:35:15	4012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863504','223')
2023-10-13	13:35:15	4012	[DEBUG]	Find the custom field ID
2023-10-13	13:35:15	4012	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:15	4012	[DEBUG]	No custom field ID found
2023-10-13	13:35:15	4012	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:15	4012	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:35:15	4012	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863504 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:15	4012	[DEBUG]	Store custom available field
2023-10-13	13:35:15	4012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863504,3,'0',1)
2023-10-13	13:35:15	4012	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:15	4012	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:15	4012	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863504 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:15	4012	[DEBUG]	Store custom available field
2023-10-13	13:35:15	4012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863504,6,'choisir la taille',3)
2023-10-13	13:35:15	4012	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:15	4012	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:15	4012	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:15	4012	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:15	4012	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863504 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:15	4012	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:15	4012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863504,8,1)
2023-10-13	13:35:15	4012	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:15	4012	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863504\":[1863504,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863504
2023-10-13	13:35:15	4012	[DEBUG]	Checking category
2023-10-13	13:35:15	4012	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:15	4012	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863504
2023-10-13	13:35:15	4012	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:15	4012	[DEBUG]	Executed store
2023-10-13	13:35:15	4012	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863504','7397')
2023-10-13	13:35:15	4012	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:15	4012	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863504 AND `virtuemart_category_id` NOT IN (7397)
2023-10-13	13:35:15	4012	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:15	4012	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863504
2023-10-13	13:35:15	4013	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:15	4013	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:15	4013	[DEBUG]	Use field value for field taille
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:15	4013	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:15	4013	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:15	4013	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:15	4013	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:15	4013	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:15	4013	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:15	4013	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:15	4013	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:15	4013	[DEBUG]	Use field value for field published
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:15	4013	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field override
2023-10-13	13:35:15	4013	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:15	4013	[DEBUG]	Use field value for field slug
2023-10-13	13:35:15	4013	[DEBUG]	Process line 4013
2023-10-13	13:35:15	4013	[DEBUG]	Load a row
2023-10-13	13:35:15	4013	[DEBUG]	Processing item: 280255*
2023-10-13	13:35:15	4013	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:15	4013	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:15	4013	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9475_1'
2023-10-13	13:35:15	4013	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:15	4013	[DEBUG]	Processing product tax
2023-10-13	13:35:15	4013	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:15	4013	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:15	4013	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:15	4013	[DEBUG]	Query for Product
2023-10-13	13:35:15	4013	[DEBUG]	Executed store
2023-10-13	13:35:15	4013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863504','280255*','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:15	4013	[DEBUG]	No parent found
2023-10-13	13:35:15	4013	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863504 AND customfield_value = 'stockable'
2023-10-13	13:35:15	4013	[DEBUG]	Check product language entry
2023-10-13	13:35:15	4013	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863505
2023-10-13	13:35:15	4013	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:15	4013	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '280255*' AND `virtuemart_product_id` != 1863505
2023-10-13	13:35:15	4013	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:15	4013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863505, '280255*')
2023-10-13	13:35:15	4013	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:15	4013	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tufo-boyau-tufo-colle-hi-composit-carbon-28-mm-noir-noir-unitaire' AND `virtuemart_product_id` != 1863505
2023-10-13	13:35:15	4013	[DEBUG]	Query for ProductLang
2023-10-13	13:35:15	4013	[DEBUG]	Executed store
2023-10-13	13:35:15	4013	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Tufo Boyau Tufo Collé Hi-Composit Carbon 28 mm noir / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tufo-boyau-tufo-colle-hi-composit-carbon-28-mm-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1863505'
2023-10-13	13:35:15	4013	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38688_boyau_tufo_cole_hi-composit_carbone_28_mm_noir.jpg
2023-10-13	13:35:15	4013	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:15	4013	[DEBUG]	Process image file
2023-10-13	13:35:15	4013	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:15	4013	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:15	4013	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38688_boyau_tufo_cole_hi-composit_carbone_28_mm_noir.jpg
2023-10-13	13:35:15	4013	[DEBUG]	Full name target: bcprisme/38688_boyau_tufo_cole_hi-composit_carbone_28_mm_noir.jpg
2023-10-13	13:35:16	4013	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:16	4013	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38688_boyau_tufo_cole_hi-composit_carbone_28_mm_noir.jpg'
2023-10-13	13:35:16	4013	[DEBUG]	Query for Media
2023-10-13	13:35:16	4013	[DEBUG]	Executed store
2023-10-13	13:35:16	4013	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38688_boyau_tufo_cole_hi-composit_carbone_28_mm_noir.jpg',`file_url_thumb`='bcprisme/38688_boyau_tufo_cole_hi-composit_carbone_28_mm_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1426752'
2023-10-13	13:35:16	4013	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:16	4013	[DEBUG]	Executed store
2023-10-13	13:35:16	4013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863505','1426752','1')
2023-10-13	13:35:16	4013	[DEBUG]	Store product image relation
2023-10-13	13:35:16	4013	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:16	4013	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863505 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:16	4013	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:16	4013	[DEBUG]	Executed store
2023-10-13	13:35:16	4013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863505','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:16	4013	[DEBUG]	Checking manufacturer
2023-10-13	13:35:16	4013	[DEBUG]	Load a row
2023-10-13	13:35:16	4013	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:16	4013	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '223'
2023-10-13	13:35:16	4013	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:16	4013	[DEBUG]	Executed store
2023-10-13	13:35:16	4013	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='155',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='155' WHERE `virtuemart_manufacturer_id` = '223'
2023-10-13	13:35:16	4013	[DEBUG]	Manufacturer exists
2023-10-13	13:35:16	4013	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 223
2023-10-13	13:35:16	4013	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:16	4013	[DEBUG]	Executed store
2023-10-13	13:35:16	4013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863505','223')
2023-10-13	13:35:16	4013	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:16	4013	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:16	4013	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863505 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:16	4013	[DEBUG]	Store custom available field
2023-10-13	13:35:16	4013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863505,3,'',1)
2023-10-13	13:35:16	4013	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:16	4013	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:35:16	4013	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863505 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:16	4013	[DEBUG]	Store custom available field
2023-10-13	13:35:16	4013	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863505,6,'Unitaire',3)
2023-10-13	13:35:16	4013	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:16	4013	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:16	4013	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863504
2023-10-13	13:35:16	4013	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:16	4013	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863504\":[1863504,8,1,\"choisir la taille\"],\"1863505\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863504
2023-10-13	13:35:16	4013	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:16	4013	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863505
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:16	4014	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field taille
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:16	4014	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:16	4014	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:16	4014	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:16	4014	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:16	4014	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:16	4014	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field published
2023-10-13	13:35:16	4014	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:16	4014	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field override
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:16	4014	[DEBUG]	Use field value for field slug
2023-10-13	13:35:16	4014	[DEBUG]	Process line 4014
2023-10-13	13:35:16	4014	[DEBUG]	Load a row
2023-10-13	13:35:16	4014	[DEBUG]	Processing item: A_9506_1
2023-10-13	13:35:16	4014	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:16	4014	[DEBUG]	Processing product tax
2023-10-13	13:35:16	4014	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:16	4014	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:16	4014	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:16	4014	[DEBUG]	Query for Product
2023-10-13	13:35:16	4014	[DEBUG]	Executed store
2023-10-13	13:35:16	4014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9506_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:16	4014	[DEBUG]	Check product language entry
2023-10-13	13:35:16	4014	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863506
2023-10-13	13:35:16	4014	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:16	4014	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9506_1' AND `virtuemart_product_id` != 1863506
2023-10-13	13:35:16	4014	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:16	4014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863506, 'A_9506_1')
2023-10-13	13:35:16	4014	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:16	4014	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tufo-boyau-tufo-colle-hi-composit-carbon-25mm-noir-noir' AND `virtuemart_product_id` != 1863506
2023-10-13	13:35:16	4014	[DEBUG]	Query for ProductLang
2023-10-13	13:35:16	4014	[DEBUG]	Executed store
2023-10-13	13:35:16	4014	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 280.253',`product_name`='Tufo Boyau Tufo Collé Hi-Composit Carbon 25mm noir  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tufo-boyau-tufo-colle-hi-composit-carbon-25mm-noir-noir' WHERE `virtuemart_product_id` = '1863506'
2023-10-13	13:35:16	4014	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38864_boyau_tufo_colle_hi-composit_carbon_25mm_noir_.jpg
2023-10-13	13:35:16	4014	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:16	4014	[DEBUG]	Process image file
2023-10-13	13:35:16	4014	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:16	4014	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:16	4014	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38864_boyau_tufo_colle_hi-composit_carbon_25mm_noir_.jpg
2023-10-13	13:35:16	4014	[DEBUG]	Full name target: bcprisme/38864_boyau_tufo_colle_hi-composit_carbon_25mm_noir_.jpg
2023-10-13	13:35:17	4014	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:17	4014	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38864_boyau_tufo_colle_hi-composit_carbon_25mm_noir_.jpg'
2023-10-13	13:35:17	4014	[DEBUG]	Query for Media
2023-10-13	13:35:17	4014	[DEBUG]	Executed store
2023-10-13	13:35:17	4014	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38864_boyau_tufo_colle_hi-composit_carbon_25mm_noir_.jpg',`file_url_thumb`='bcprisme/38864_boyau_tufo_colle_hi-composit_carbon_25mm_noir_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1448921'
2023-10-13	13:35:17	4014	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:17	4014	[DEBUG]	Executed store
2023-10-13	13:35:17	4014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863506','1448921','1')
2023-10-13	13:35:17	4014	[DEBUG]	Store product image relation
2023-10-13	13:35:17	4014	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:17	4014	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863506 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:17	4014	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:17	4014	[DEBUG]	Executed store
2023-10-13	13:35:17	4014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863506','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:17	4014	[DEBUG]	Checking manufacturer
2023-10-13	13:35:17	4014	[DEBUG]	Load a row
2023-10-13	13:35:17	4014	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:17	4014	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '223'
2023-10-13	13:35:17	4014	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:17	4014	[DEBUG]	Executed store
2023-10-13	13:35:17	4014	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='155',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='155' WHERE `virtuemart_manufacturer_id` = '223'
2023-10-13	13:35:17	4014	[DEBUG]	Manufacturer exists
2023-10-13	13:35:17	4014	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 223
2023-10-13	13:35:17	4014	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:17	4014	[DEBUG]	Executed store
2023-10-13	13:35:17	4014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863506','223')
2023-10-13	13:35:17	4014	[DEBUG]	Find the custom field ID
2023-10-13	13:35:17	4014	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:17	4014	[DEBUG]	No custom field ID found
2023-10-13	13:35:17	4014	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:17	4014	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:35:17	4014	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863506 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:17	4014	[DEBUG]	Store custom available field
2023-10-13	13:35:17	4014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863506,3,'0',1)
2023-10-13	13:35:17	4014	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:17	4014	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:17	4014	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863506 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:17	4014	[DEBUG]	Store custom available field
2023-10-13	13:35:17	4014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863506,6,'choisir la taille',3)
2023-10-13	13:35:17	4014	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:17	4014	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:17	4014	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:17	4014	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:17	4014	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863506 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:17	4014	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:17	4014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863506,8,1)
2023-10-13	13:35:17	4014	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:17	4014	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863506\":[1863506,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863506
2023-10-13	13:35:17	4014	[DEBUG]	Checking category
2023-10-13	13:35:17	4014	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:17	4014	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863506
2023-10-13	13:35:17	4014	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:17	4014	[DEBUG]	Executed store
2023-10-13	13:35:17	4014	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863506','7397')
2023-10-13	13:35:17	4014	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:17	4014	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863506 AND `virtuemart_category_id` NOT IN (7397)
2023-10-13	13:35:17	4014	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:17	4014	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863506
2023-10-13	13:35:17	4015	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:17	4015	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:17	4015	[DEBUG]	Use field value for field taille
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:17	4015	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:17	4015	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:17	4015	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:17	4015	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:17	4015	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:17	4015	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:17	4015	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:17	4015	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:17	4015	[DEBUG]	Use field value for field published
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:17	4015	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field override
2023-10-13	13:35:17	4015	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:17	4015	[DEBUG]	Use field value for field slug
2023-10-13	13:35:17	4015	[DEBUG]	Process line 4015
2023-10-13	13:35:17	4015	[DEBUG]	Load a row
2023-10-13	13:35:17	4015	[DEBUG]	Processing item: 280253
2023-10-13	13:35:17	4015	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:17	4015	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:17	4015	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9506_1'
2023-10-13	13:35:17	4015	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:17	4015	[DEBUG]	Processing product tax
2023-10-13	13:35:17	4015	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:17	4015	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:17	4015	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:17	4015	[DEBUG]	Query for Product
2023-10-13	13:35:17	4015	[DEBUG]	Executed store
2023-10-13	13:35:17	4015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863506','280253','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:17	4015	[DEBUG]	No parent found
2023-10-13	13:35:17	4015	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863506 AND customfield_value = 'stockable'
2023-10-13	13:35:17	4015	[DEBUG]	Check product language entry
2023-10-13	13:35:17	4015	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863507
2023-10-13	13:35:17	4015	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:17	4015	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '280253' AND `virtuemart_product_id` != 1863507
2023-10-13	13:35:17	4015	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:17	4015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863507, '280253')
2023-10-13	13:35:17	4015	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:17	4015	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'tufo-boyau-tufo-colle-hi-composit-carbon-25mm-noir-noir-unitaire' AND `virtuemart_product_id` != 1863507
2023-10-13	13:35:17	4015	[DEBUG]	Query for ProductLang
2023-10-13	13:35:17	4015	[DEBUG]	Executed store
2023-10-13	13:35:17	4015	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Tufo Boyau Tufo Collé Hi-Composit Carbon 25mm noir  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='tufo-boyau-tufo-colle-hi-composit-carbon-25mm-noir-noir-unitaire' WHERE `virtuemart_product_id` = '1863507'
2023-10-13	13:35:17	4015	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38864_boyau_tufo_colle_hi-composit_carbon_25mm_noir_.jpg
2023-10-13	13:35:17	4015	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:17	4015	[DEBUG]	Process image file
2023-10-13	13:35:17	4015	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:17	4015	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:17	4015	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38864_boyau_tufo_colle_hi-composit_carbon_25mm_noir_.jpg
2023-10-13	13:35:17	4015	[DEBUG]	Full name target: bcprisme/38864_boyau_tufo_colle_hi-composit_carbon_25mm_noir_.jpg
2023-10-13	13:35:18	4015	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:18	4015	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38864_boyau_tufo_colle_hi-composit_carbon_25mm_noir_.jpg'
2023-10-13	13:35:18	4015	[DEBUG]	Query for Media
2023-10-13	13:35:18	4015	[DEBUG]	Executed store
2023-10-13	13:35:18	4015	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38864_boyau_tufo_colle_hi-composit_carbon_25mm_noir_.jpg',`file_url_thumb`='bcprisme/38864_boyau_tufo_colle_hi-composit_carbon_25mm_noir_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1448921'
2023-10-13	13:35:18	4015	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:18	4015	[DEBUG]	Executed store
2023-10-13	13:35:18	4015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863507','1448921','1')
2023-10-13	13:35:18	4015	[DEBUG]	Store product image relation
2023-10-13	13:35:18	4015	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:18	4015	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863507 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:18	4015	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:18	4015	[DEBUG]	Executed store
2023-10-13	13:35:18	4015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863507','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:18	4015	[DEBUG]	Checking manufacturer
2023-10-13	13:35:18	4015	[DEBUG]	Load a row
2023-10-13	13:35:18	4015	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:18	4015	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '223'
2023-10-13	13:35:18	4015	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:18	4015	[DEBUG]	Executed store
2023-10-13	13:35:18	4015	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='155',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='155' WHERE `virtuemart_manufacturer_id` = '223'
2023-10-13	13:35:18	4015	[DEBUG]	Manufacturer exists
2023-10-13	13:35:18	4015	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 223
2023-10-13	13:35:18	4015	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:18	4015	[DEBUG]	Executed store
2023-10-13	13:35:18	4015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863507','223')
2023-10-13	13:35:18	4015	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:18	4015	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:18	4015	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863507 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:18	4015	[DEBUG]	Store custom available field
2023-10-13	13:35:18	4015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863507,3,'',1)
2023-10-13	13:35:18	4015	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:18	4015	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:35:18	4015	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863507 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:18	4015	[DEBUG]	Store custom available field
2023-10-13	13:35:18	4015	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863507,6,'Unitaire',3)
2023-10-13	13:35:18	4015	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:18	4015	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:18	4015	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863506
2023-10-13	13:35:18	4015	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:18	4015	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863506\":[1863506,8,1,\"choisir la taille\"],\"1863507\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863506
2023-10-13	13:35:18	4015	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:18	4015	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863507
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:18	4016	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field taille
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:18	4016	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:18	4016	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:18	4016	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:18	4016	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:18	4016	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:18	4016	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field published
2023-10-13	13:35:18	4016	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:18	4016	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field override
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:18	4016	[DEBUG]	Use field value for field slug
2023-10-13	13:35:18	4016	[DEBUG]	Process line 4016
2023-10-13	13:35:18	4016	[DEBUG]	Load a row
2023-10-13	13:35:18	4016	[DEBUG]	Processing item: A_546_1
2023-10-13	13:35:18	4016	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:18	4016	[DEBUG]	Processing product tax
2023-10-13	13:35:18	4016	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:18	4016	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:18	4016	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:18	4016	[DEBUG]	Query for Product
2023-10-13	13:35:18	4016	[DEBUG]	Executed store
2023-10-13	13:35:18	4016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_546_1','0.0025','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:18	4016	[DEBUG]	Check product language entry
2023-10-13	13:35:18	4016	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863508
2023-10-13	13:35:18	4016	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:18	4016	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_546_1' AND `virtuemart_product_id` != 1863508
2023-10-13	13:35:18	4016	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:18	4016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863508, 'A_546_1')
2023-10-13	13:35:18	4016	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:18	4016	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-fv-en-alu6061-ultralight-noir' AND `virtuemart_product_id` != 1863508
2023-10-13	13:35:18	4016	[DEBUG]	Query for ProductLang
2023-10-13	13:35:18	4016	[DEBUG]	Executed store
2023-10-13	13:35:18	4016	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Paire 2.5gr/paire<br>N° art fourn : FV',`product_name`='MSC Bouchons de valve FV en Alu6061 Ultralight / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-fv-en-alu6061-ultralight-noir' WHERE `virtuemart_product_id` = '1863508'
2023-10-13	13:35:18	4016	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_649.jpg
2023-10-13	13:35:18	4016	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:18	4016	[DEBUG]	Process image file
2023-10-13	13:35:18	4016	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:18	4016	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:18	4016	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_649.jpg
2023-10-13	13:35:18	4016	[DEBUG]	Full name target: bcprisme/image_649.jpg
2023-10-13	13:35:19	4016	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:19	4016	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_649.jpg'
2023-10-13	13:35:19	4016	[DEBUG]	Query for Media
2023-10-13	13:35:19	4016	[DEBUG]	Executed store
2023-10-13	13:35:19	4016	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_649.jpg',`file_url_thumb`='bcprisme/image_649.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14452'
2023-10-13	13:35:19	4016	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:19	4016	[DEBUG]	Executed store
2023-10-13	13:35:19	4016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863508','14452','1')
2023-10-13	13:35:19	4016	[DEBUG]	Store product image relation
2023-10-13	13:35:19	4016	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:19	4016	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863508 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:19	4016	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:19	4016	[DEBUG]	Executed store
2023-10-13	13:35:19	4016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863508','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:19	4016	[DEBUG]	Checking manufacturer
2023-10-13	13:35:19	4016	[DEBUG]	Load a row
2023-10-13	13:35:19	4016	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:19	4016	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:19	4016	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:19	4016	[DEBUG]	Executed store
2023-10-13	13:35:19	4016	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:19	4016	[DEBUG]	Manufacturer exists
2023-10-13	13:35:19	4016	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:19	4016	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:19	4016	[DEBUG]	Executed store
2023-10-13	13:35:19	4016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863508','32')
2023-10-13	13:35:19	4016	[DEBUG]	Find the custom field ID
2023-10-13	13:35:19	4016	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:19	4016	[DEBUG]	No custom field ID found
2023-10-13	13:35:19	4016	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:19	4016	[DEBUG]	Get existing row with customfield value 6.88083333333333
2023-10-13	13:35:19	4016	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863508 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:19	4016	[DEBUG]	Store custom available field
2023-10-13	13:35:19	4016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863508,3,'6.88083333333333',1)
2023-10-13	13:35:19	4016	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:19	4016	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:19	4016	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863508 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:19	4016	[DEBUG]	Store custom available field
2023-10-13	13:35:19	4016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863508,6,'choisir la taille',3)
2023-10-13	13:35:19	4016	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:19	4016	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:19	4016	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:19	4016	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:19	4016	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863508 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:19	4016	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:19	4016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863508,8,1)
2023-10-13	13:35:19	4016	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:19	4016	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863508\":[1863508,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863508
2023-10-13	13:35:19	4016	[DEBUG]	Checking category
2023-10-13	13:35:19	4016	[DEBUG]	Check if category path exists: CAPUCHONS DE VALVES - VENTIL ZUBEHÖR
2023-10-13	13:35:19	4016	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'CAPUCHONS DE VALVES - VENTIL ZUBEHÖR' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:35:19	4016	[DEBUG]	Query for Category
2023-10-13	13:35:19	4016	[DEBUG]	Executed store
2023-10-13	13:35:19	4016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','2','0','1','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:19	4016	[DEBUG]	Category publish 1
2023-10-13	13:35:19	4016	[DEBUG]	Check the category language
2023-10-13	13:35:19	4016	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7398
2023-10-13	13:35:19	4016	[DEBUG]	Check the category slug
2023-10-13	13:35:19	4016	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'capuchons-de-valves---ventil-zubehoer' AND `virtuemart_category_id` != 7398
2023-10-13	13:35:19	4016	[DEBUG]	Check the category slug
2023-10-13	13:35:19	4016	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'capuchons-de-valves---ventil-zubehoer' AND `virtuemart_category_id` != 7398
2023-10-13	13:35:19	4016	[DEBUG]	Add the category language entry
2023-10-13	13:35:19	4016	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7398, 'capuchons-de-valves---ventil-zubehoer')
2023-10-13	13:35:19	4016	[DEBUG]	Query for CategoryLang
2023-10-13	13:35:19	4016	[DEBUG]	Executed store
2023-10-13	13:35:19	4016	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='CAPUCHONS DE VALVES - VENTIL ZUBEHÖR',`metadesc`='',`metakey`='',`customtitle`='',`slug`='capuchons-de-valves---ventil-zubehoer' WHERE `virtuemart_category_id` = '7398'
2023-10-13	13:35:19	4016	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:35:19	4016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7398','0')
2023-10-13	13:35:19	4016	[DEBUG]	Update has field for parent category
2023-10-13	13:35:19	4016	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:35:19	4016	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:19	4016	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863508
2023-10-13	13:35:19	4016	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:19	4016	[DEBUG]	Executed store
2023-10-13	13:35:19	4016	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863508','7398')
2023-10-13	13:35:19	4016	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:19	4016	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863508 AND `virtuemart_category_id` NOT IN (7398)
2023-10-13	13:35:19	4016	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:19	4016	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863508
2023-10-13	13:35:19	4017	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:19	4017	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:19	4017	[DEBUG]	Use field value for field taille
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:19	4017	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:19	4017	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:19	4017	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:19	4017	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:19	4017	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:19	4017	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:19	4017	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:19	4017	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:19	4017	[DEBUG]	Use field value for field published
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:19	4017	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field override
2023-10-13	13:35:19	4017	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:19	4017	[DEBUG]	Use field value for field slug
2023-10-13	13:35:19	4017	[DEBUG]	Process line 4017
2023-10-13	13:35:19	4017	[DEBUG]	Load a row
2023-10-13	13:35:19	4017	[DEBUG]	Processing item: 8436047357098
2023-10-13	13:35:19	4017	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:19	4017	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:19	4017	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_546_1'
2023-10-13	13:35:19	4017	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:19	4017	[DEBUG]	Processing product tax
2023-10-13	13:35:19	4017	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:19	4017	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:19	4017	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:19	4017	[DEBUG]	Query for Product
2023-10-13	13:35:19	4017	[DEBUG]	Executed store
2023-10-13	13:35:19	4017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863508','8436047357098','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:19	4017	[DEBUG]	No parent found
2023-10-13	13:35:19	4017	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863508 AND customfield_value = 'stockable'
2023-10-13	13:35:19	4017	[DEBUG]	Check product language entry
2023-10-13	13:35:19	4017	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863509
2023-10-13	13:35:19	4017	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:19	4017	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357098' AND `virtuemart_product_id` != 1863509
2023-10-13	13:35:19	4017	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:19	4017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863509, '8436047357098')
2023-10-13	13:35:19	4017	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:19	4017	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-fv-en-alu6061-ultralight-noir-set' AND `virtuemart_product_id` != 1863509
2023-10-13	13:35:19	4017	[DEBUG]	Query for ProductLang
2023-10-13	13:35:19	4017	[DEBUG]	Executed store
2023-10-13	13:35:19	4017	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchons de valve FV en Alu6061 Ultralight / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-fv-en-alu6061-ultralight-noir-set' WHERE `virtuemart_product_id` = '1863509'
2023-10-13	13:35:19	4017	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_649.jpg
2023-10-13	13:35:19	4017	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:19	4017	[DEBUG]	Process image file
2023-10-13	13:35:19	4017	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:19	4017	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:19	4017	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_649.jpg
2023-10-13	13:35:19	4017	[DEBUG]	Full name target: bcprisme/image_649.jpg
2023-10-13	13:35:20	4017	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:20	4017	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_649.jpg'
2023-10-13	13:35:20	4017	[DEBUG]	Query for Media
2023-10-13	13:35:20	4017	[DEBUG]	Executed store
2023-10-13	13:35:20	4017	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_649.jpg',`file_url_thumb`='bcprisme/image_649.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14452'
2023-10-13	13:35:20	4017	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:20	4017	[DEBUG]	Executed store
2023-10-13	13:35:20	4017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863509','14452','1')
2023-10-13	13:35:20	4017	[DEBUG]	Store product image relation
2023-10-13	13:35:20	4017	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:20	4017	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863509 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:20	4017	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:20	4017	[DEBUG]	Executed store
2023-10-13	13:35:20	4017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863509','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:20	4017	[DEBUG]	Checking manufacturer
2023-10-13	13:35:20	4017	[DEBUG]	Load a row
2023-10-13	13:35:20	4017	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:20	4017	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:20	4017	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:20	4017	[DEBUG]	Executed store
2023-10-13	13:35:20	4017	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:20	4017	[DEBUG]	Manufacturer exists
2023-10-13	13:35:20	4017	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:20	4017	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:20	4017	[DEBUG]	Executed store
2023-10-13	13:35:20	4017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863509','32')
2023-10-13	13:35:20	4017	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:20	4017	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:20	4017	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863509 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:20	4017	[DEBUG]	Store custom available field
2023-10-13	13:35:20	4017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863509,3,'',1)
2023-10-13	13:35:20	4017	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:20	4017	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:35:20	4017	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863509 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:20	4017	[DEBUG]	Store custom available field
2023-10-13	13:35:20	4017	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863509,6,'Set',3)
2023-10-13	13:35:20	4017	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:20	4017	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:20	4017	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863508
2023-10-13	13:35:20	4017	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:20	4017	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1863508\":[1863508,8,1,\"choisir la taille\"],\"1863509\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1863508
2023-10-13	13:35:20	4017	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:20	4017	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863509
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:20	4018	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field taille
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:20	4018	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:20	4018	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:20	4018	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:20	4018	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:20	4018	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:20	4018	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field published
2023-10-13	13:35:20	4018	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:20	4018	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field override
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:20	4018	[DEBUG]	Use field value for field slug
2023-10-13	13:35:20	4018	[DEBUG]	Process line 4018
2023-10-13	13:35:20	4018	[DEBUG]	Load a row
2023-10-13	13:35:20	4018	[DEBUG]	Processing item: A_546_8
2023-10-13	13:35:20	4018	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:20	4018	[DEBUG]	Processing product tax
2023-10-13	13:35:20	4018	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:20	4018	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:20	4018	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:20	4018	[DEBUG]	Query for Product
2023-10-13	13:35:20	4018	[DEBUG]	Executed store
2023-10-13	13:35:20	4018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_546_8','0.0025','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:20	4018	[DEBUG]	Check product language entry
2023-10-13	13:35:20	4018	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863510
2023-10-13	13:35:20	4018	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:20	4018	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_546_8' AND `virtuemart_product_id` != 1863510
2023-10-13	13:35:20	4018	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:20	4018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863510, 'A_546_8')
2023-10-13	13:35:20	4018	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:20	4018	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-fv-en-alu6061-ultralight-chrome' AND `virtuemart_product_id` != 1863510
2023-10-13	13:35:20	4018	[DEBUG]	Query for ProductLang
2023-10-13	13:35:20	4018	[DEBUG]	Executed store
2023-10-13	13:35:20	4018	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Paire 2.5gr/paire<br>N° art fourn : FV',`product_name`='MSC Bouchons de valve FV en Alu6061 Ultralight / chromé',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-fv-en-alu6061-ultralight-chrome' WHERE `virtuemart_product_id` = '1863510'
2023-10-13	13:35:20	4018	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_651.jpg
2023-10-13	13:35:20	4018	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:20	4018	[DEBUG]	Process image file
2023-10-13	13:35:20	4018	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:20	4018	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:20	4018	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_651.jpg
2023-10-13	13:35:20	4018	[DEBUG]	Full name target: bcprisme/image_651.jpg
2023-10-13	13:35:21	4018	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:21	4018	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_651.jpg'
2023-10-13	13:35:21	4018	[DEBUG]	Query for Media
2023-10-13	13:35:21	4018	[DEBUG]	Executed store
2023-10-13	13:35:21	4018	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_651.jpg',`file_url_thumb`='bcprisme/image_651.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14455'
2023-10-13	13:35:21	4018	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:21	4018	[DEBUG]	Executed store
2023-10-13	13:35:21	4018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863510','14455','1')
2023-10-13	13:35:21	4018	[DEBUG]	Store product image relation
2023-10-13	13:35:21	4018	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:21	4018	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863510 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:21	4018	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:21	4018	[DEBUG]	Executed store
2023-10-13	13:35:21	4018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863510','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:21	4018	[DEBUG]	Checking manufacturer
2023-10-13	13:35:21	4018	[DEBUG]	Load a row
2023-10-13	13:35:21	4018	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:21	4018	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:21	4018	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:21	4018	[DEBUG]	Executed store
2023-10-13	13:35:21	4018	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:21	4018	[DEBUG]	Manufacturer exists
2023-10-13	13:35:21	4018	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:21	4018	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:21	4018	[DEBUG]	Executed store
2023-10-13	13:35:21	4018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863510','32')
2023-10-13	13:35:21	4018	[DEBUG]	Find the custom field ID
2023-10-13	13:35:21	4018	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:21	4018	[DEBUG]	No custom field ID found
2023-10-13	13:35:21	4018	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:21	4018	[DEBUG]	Get existing row with customfield value 6.88083333333333
2023-10-13	13:35:21	4018	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863510 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:21	4018	[DEBUG]	Store custom available field
2023-10-13	13:35:21	4018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863510,3,'6.88083333333333',1)
2023-10-13	13:35:21	4018	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:21	4018	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:21	4018	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863510 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:21	4018	[DEBUG]	Store custom available field
2023-10-13	13:35:21	4018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863510,6,'choisir la taille',3)
2023-10-13	13:35:21	4018	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:21	4018	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:21	4018	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:21	4018	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:21	4018	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863510 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:21	4018	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:21	4018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863510,8,1)
2023-10-13	13:35:21	4018	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:21	4018	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863510\":[1863510,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863510
2023-10-13	13:35:21	4018	[DEBUG]	Checking category
2023-10-13	13:35:21	4018	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:21	4018	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863510
2023-10-13	13:35:21	4018	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:21	4018	[DEBUG]	Executed store
2023-10-13	13:35:21	4018	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863510','7398')
2023-10-13	13:35:21	4018	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:21	4018	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863510 AND `virtuemart_category_id` NOT IN (7398)
2023-10-13	13:35:21	4018	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:21	4018	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863510
2023-10-13	13:35:21	4019	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:21	4019	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:21	4019	[DEBUG]	Use field value for field taille
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:21	4019	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:21	4019	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:21	4019	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:21	4019	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:21	4019	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:21	4019	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:21	4019	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:21	4019	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:21	4019	[DEBUG]	Use field value for field published
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:21	4019	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field override
2023-10-13	13:35:21	4019	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:21	4019	[DEBUG]	Use field value for field slug
2023-10-13	13:35:21	4019	[DEBUG]	Process line 4019
2023-10-13	13:35:21	4019	[DEBUG]	Load a row
2023-10-13	13:35:21	4019	[DEBUG]	Processing item: 8436047358279
2023-10-13	13:35:21	4019	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:21	4019	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:21	4019	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_546_8'
2023-10-13	13:35:21	4019	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:21	4019	[DEBUG]	Processing product tax
2023-10-13	13:35:21	4019	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:21	4019	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:21	4019	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:21	4019	[DEBUG]	Query for Product
2023-10-13	13:35:21	4019	[DEBUG]	Executed store
2023-10-13	13:35:21	4019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863510','8436047358279','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:21	4019	[DEBUG]	No parent found
2023-10-13	13:35:21	4019	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863510 AND customfield_value = 'stockable'
2023-10-13	13:35:21	4019	[DEBUG]	Check product language entry
2023-10-13	13:35:21	4019	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863511
2023-10-13	13:35:21	4019	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:21	4019	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047358279' AND `virtuemart_product_id` != 1863511
2023-10-13	13:35:21	4019	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:21	4019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863511, '8436047358279')
2023-10-13	13:35:21	4019	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:21	4019	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-fv-en-alu6061-ultralight-chrome-set' AND `virtuemart_product_id` != 1863511
2023-10-13	13:35:21	4019	[DEBUG]	Query for ProductLang
2023-10-13	13:35:21	4019	[DEBUG]	Executed store
2023-10-13	13:35:21	4019	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchons de valve FV en Alu6061 Ultralight / chromé (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-fv-en-alu6061-ultralight-chrome-set' WHERE `virtuemart_product_id` = '1863511'
2023-10-13	13:35:21	4019	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_651.jpg
2023-10-13	13:35:21	4019	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:21	4019	[DEBUG]	Process image file
2023-10-13	13:35:21	4019	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:21	4019	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:21	4019	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_651.jpg
2023-10-13	13:35:21	4019	[DEBUG]	Full name target: bcprisme/image_651.jpg
2023-10-13	13:35:22	4019	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:22	4019	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_651.jpg'
2023-10-13	13:35:22	4019	[DEBUG]	Query for Media
2023-10-13	13:35:22	4019	[DEBUG]	Executed store
2023-10-13	13:35:22	4019	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_651.jpg',`file_url_thumb`='bcprisme/image_651.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14455'
2023-10-13	13:35:22	4019	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:22	4019	[DEBUG]	Executed store
2023-10-13	13:35:22	4019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863511','14455','1')
2023-10-13	13:35:22	4019	[DEBUG]	Store product image relation
2023-10-13	13:35:22	4019	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:22	4019	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863511 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:22	4019	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:22	4019	[DEBUG]	Executed store
2023-10-13	13:35:22	4019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863511','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:22	4019	[DEBUG]	Checking manufacturer
2023-10-13	13:35:22	4019	[DEBUG]	Load a row
2023-10-13	13:35:22	4019	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:22	4019	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:22	4019	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:22	4019	[DEBUG]	Executed store
2023-10-13	13:35:22	4019	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:22	4019	[DEBUG]	Manufacturer exists
2023-10-13	13:35:22	4019	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:22	4019	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:22	4019	[DEBUG]	Executed store
2023-10-13	13:35:22	4019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863511','32')
2023-10-13	13:35:22	4019	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:22	4019	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:22	4019	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863511 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:22	4019	[DEBUG]	Store custom available field
2023-10-13	13:35:22	4019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863511,3,'',1)
2023-10-13	13:35:22	4019	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:22	4019	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:35:22	4019	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863511 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:22	4019	[DEBUG]	Store custom available field
2023-10-13	13:35:22	4019	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863511,6,'Set',3)
2023-10-13	13:35:22	4019	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:22	4019	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:22	4019	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863510
2023-10-13	13:35:22	4019	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:22	4019	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1863510\":[1863510,8,1,\"choisir la taille\"],\"1863511\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1863510
2023-10-13	13:35:22	4019	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:22	4019	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863511
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:22	4020	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field taille
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:22	4020	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:22	4020	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:22	4020	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:22	4020	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:22	4020	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:22	4020	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field published
2023-10-13	13:35:22	4020	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:22	4020	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field override
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:22	4020	[DEBUG]	Use field value for field slug
2023-10-13	13:35:22	4020	[DEBUG]	Process line 4020
2023-10-13	13:35:22	4020	[DEBUG]	Load a row
2023-10-13	13:35:22	4020	[DEBUG]	Processing item: A_981_1
2023-10-13	13:35:22	4020	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:22	4020	[DEBUG]	Processing product tax
2023-10-13	13:35:22	4020	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:22	4020	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:22	4020	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:22	4020	[DEBUG]	Query for Product
2023-10-13	13:35:22	4020	[DEBUG]	Executed store
2023-10-13	13:35:22	4020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_981_1','0.0025','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:22	4020	[DEBUG]	Check product language entry
2023-10-13	13:35:22	4020	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863512
2023-10-13	13:35:22	4020	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:22	4020	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_981_1' AND `virtuemart_product_id` != 1863512
2023-10-13	13:35:22	4020	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:22	4020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863512, 'A_981_1')
2023-10-13	13:35:22	4020	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:22	4020	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-noir' AND `virtuemart_product_id` != 1863512
2023-10-13	13:35:22	4020	[DEBUG]	Query for ProductLang
2023-10-13	13:35:22	4020	[DEBUG]	Executed store
2023-10-13	13:35:22	4020	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Paire 2.5gr/paire<br>N° art fourn : SV',`product_name`='MSC Bouchons de valve SV en Alu6061 avec joint gomme / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-noir' WHERE `virtuemart_product_id` = '1863512'
2023-10-13	13:35:22	4020	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1276.jpg
2023-10-13	13:35:22	4020	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:22	4020	[DEBUG]	Process image file
2023-10-13	13:35:22	4020	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:22	4020	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:22	4020	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1276.jpg
2023-10-13	13:35:22	4020	[DEBUG]	Full name target: bcprisme/image_1276.jpg
2023-10-13	13:35:23	4020	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:23	4020	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1276.jpg'
2023-10-13	13:35:23	4020	[DEBUG]	Query for Media
2023-10-13	13:35:23	4020	[DEBUG]	Executed store
2023-10-13	13:35:23	4020	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1276.jpg',`file_url_thumb`='bcprisme/image_1276.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14458'
2023-10-13	13:35:23	4020	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:23	4020	[DEBUG]	Executed store
2023-10-13	13:35:23	4020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863512','14458','1')
2023-10-13	13:35:23	4020	[DEBUG]	Store product image relation
2023-10-13	13:35:23	4020	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:23	4020	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863512 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:23	4020	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:23	4020	[DEBUG]	Executed store
2023-10-13	13:35:23	4020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863512','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:23	4020	[DEBUG]	Checking manufacturer
2023-10-13	13:35:23	4020	[DEBUG]	Load a row
2023-10-13	13:35:23	4020	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:23	4020	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:23	4020	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:23	4020	[DEBUG]	Executed store
2023-10-13	13:35:23	4020	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:23	4020	[DEBUG]	Manufacturer exists
2023-10-13	13:35:23	4020	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:23	4020	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:23	4020	[DEBUG]	Executed store
2023-10-13	13:35:23	4020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863512','32')
2023-10-13	13:35:23	4020	[DEBUG]	Find the custom field ID
2023-10-13	13:35:23	4020	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:23	4020	[DEBUG]	No custom field ID found
2023-10-13	13:35:23	4020	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:23	4020	[DEBUG]	Get existing row with customfield value 6.88083333333333
2023-10-13	13:35:23	4020	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863512 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:23	4020	[DEBUG]	Store custom available field
2023-10-13	13:35:23	4020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863512,3,'6.88083333333333',1)
2023-10-13	13:35:23	4020	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:23	4020	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:23	4020	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863512 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:23	4020	[DEBUG]	Store custom available field
2023-10-13	13:35:23	4020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863512,6,'choisir la taille',3)
2023-10-13	13:35:23	4020	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:23	4020	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:23	4020	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:23	4020	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:23	4020	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863512 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:23	4020	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:23	4020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863512,8,1)
2023-10-13	13:35:23	4020	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:23	4020	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863512\":[1863512,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863512
2023-10-13	13:35:23	4020	[DEBUG]	Checking category
2023-10-13	13:35:23	4020	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:23	4020	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863512
2023-10-13	13:35:23	4020	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:23	4020	[DEBUG]	Executed store
2023-10-13	13:35:23	4020	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863512','7398')
2023-10-13	13:35:23	4020	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:23	4020	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863512 AND `virtuemart_category_id` NOT IN (7398)
2023-10-13	13:35:23	4020	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:23	4020	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863512
2023-10-13	13:35:23	4021	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:23	4021	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:23	4021	[DEBUG]	Use field value for field taille
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:23	4021	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:23	4021	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:23	4021	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:23	4021	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:23	4021	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:23	4021	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:23	4021	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:23	4021	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:23	4021	[DEBUG]	Use field value for field published
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:23	4021	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field override
2023-10-13	13:35:23	4021	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:23	4021	[DEBUG]	Use field value for field slug
2023-10-13	13:35:23	4021	[DEBUG]	Process line 4021
2023-10-13	13:35:23	4021	[DEBUG]	Load a row
2023-10-13	13:35:23	4021	[DEBUG]	Processing item: 8436047357135
2023-10-13	13:35:23	4021	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:23	4021	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:23	4021	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_981_1'
2023-10-13	13:35:23	4021	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:23	4021	[DEBUG]	Processing product tax
2023-10-13	13:35:23	4021	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:23	4021	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:23	4021	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:23	4021	[DEBUG]	Query for Product
2023-10-13	13:35:23	4021	[DEBUG]	Executed store
2023-10-13	13:35:23	4021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863512','8436047357135','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:23	4021	[DEBUG]	No parent found
2023-10-13	13:35:23	4021	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863512 AND customfield_value = 'stockable'
2023-10-13	13:35:23	4021	[DEBUG]	Check product language entry
2023-10-13	13:35:23	4021	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863513
2023-10-13	13:35:23	4021	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:23	4021	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357135' AND `virtuemart_product_id` != 1863513
2023-10-13	13:35:23	4021	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:23	4021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863513, '8436047357135')
2023-10-13	13:35:23	4021	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:23	4021	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-noir-set' AND `virtuemart_product_id` != 1863513
2023-10-13	13:35:23	4021	[DEBUG]	Query for ProductLang
2023-10-13	13:35:23	4021	[DEBUG]	Executed store
2023-10-13	13:35:23	4021	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchons de valve SV en Alu6061 avec joint gomme / Noir (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-noir-set' WHERE `virtuemart_product_id` = '1863513'
2023-10-13	13:35:23	4021	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1276.jpg
2023-10-13	13:35:23	4021	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:23	4021	[DEBUG]	Process image file
2023-10-13	13:35:23	4021	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:23	4021	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:23	4021	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1276.jpg
2023-10-13	13:35:23	4021	[DEBUG]	Full name target: bcprisme/image_1276.jpg
2023-10-13	13:35:24	4021	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:24	4021	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1276.jpg'
2023-10-13	13:35:24	4021	[DEBUG]	Query for Media
2023-10-13	13:35:24	4021	[DEBUG]	Executed store
2023-10-13	13:35:24	4021	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1276.jpg',`file_url_thumb`='bcprisme/image_1276.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14458'
2023-10-13	13:35:24	4021	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:24	4021	[DEBUG]	Executed store
2023-10-13	13:35:24	4021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863513','14458','1')
2023-10-13	13:35:24	4021	[DEBUG]	Store product image relation
2023-10-13	13:35:24	4021	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:24	4021	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863513 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:24	4021	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:24	4021	[DEBUG]	Executed store
2023-10-13	13:35:24	4021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863513','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:24	4021	[DEBUG]	Checking manufacturer
2023-10-13	13:35:24	4021	[DEBUG]	Load a row
2023-10-13	13:35:24	4021	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:24	4021	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:24	4021	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:24	4021	[DEBUG]	Executed store
2023-10-13	13:35:24	4021	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:24	4021	[DEBUG]	Manufacturer exists
2023-10-13	13:35:24	4021	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:24	4021	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:24	4021	[DEBUG]	Executed store
2023-10-13	13:35:24	4021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863513','32')
2023-10-13	13:35:24	4021	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:24	4021	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:24	4021	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863513 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:24	4021	[DEBUG]	Store custom available field
2023-10-13	13:35:24	4021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863513,3,'',1)
2023-10-13	13:35:24	4021	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:24	4021	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:35:24	4021	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863513 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:24	4021	[DEBUG]	Store custom available field
2023-10-13	13:35:24	4021	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863513,6,'Set',3)
2023-10-13	13:35:24	4021	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:24	4021	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:24	4021	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863512
2023-10-13	13:35:24	4021	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:24	4021	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1863512\":[1863512,8,1,\"choisir la taille\"],\"1863513\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1863512
2023-10-13	13:35:24	4021	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:24	4021	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863513
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:24	4022	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field taille
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:24	4022	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:24	4022	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:24	4022	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:24	4022	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:24	4022	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:24	4022	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field published
2023-10-13	13:35:24	4022	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:24	4022	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field override
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:24	4022	[DEBUG]	Use field value for field slug
2023-10-13	13:35:24	4022	[DEBUG]	Process line 4022
2023-10-13	13:35:24	4022	[DEBUG]	Load a row
2023-10-13	13:35:24	4022	[DEBUG]	Processing item: A_981_5
2023-10-13	13:35:24	4022	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:24	4022	[DEBUG]	Processing product tax
2023-10-13	13:35:24	4022	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:24	4022	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:24	4022	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:24	4022	[DEBUG]	Query for Product
2023-10-13	13:35:24	4022	[DEBUG]	Executed store
2023-10-13	13:35:24	4022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_981_5','0.0025','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:24	4022	[DEBUG]	Check product language entry
2023-10-13	13:35:24	4022	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863514
2023-10-13	13:35:24	4022	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:24	4022	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_981_5' AND `virtuemart_product_id` != 1863514
2023-10-13	13:35:24	4022	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:24	4022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863514, 'A_981_5')
2023-10-13	13:35:24	4022	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:24	4022	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-or' AND `virtuemart_product_id` != 1863514
2023-10-13	13:35:24	4022	[DEBUG]	Query for ProductLang
2023-10-13	13:35:24	4022	[DEBUG]	Executed store
2023-10-13	13:35:24	4022	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Paire 2.5gr/paire<br>N° art fourn : SV',`product_name`='MSC Bouchons de valve SV en Alu6061 avec joint gomme / Or',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-or' WHERE `virtuemart_product_id` = '1863514'
2023-10-13	13:35:24	4022	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1279.jpg
2023-10-13	13:35:24	4022	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:24	4022	[DEBUG]	Process image file
2023-10-13	13:35:24	4022	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:24	4022	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:24	4022	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1279.jpg
2023-10-13	13:35:24	4022	[DEBUG]	Full name target: bcprisme/image_1279.jpg
2023-10-13	13:35:25	4022	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:25	4022	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1279.jpg'
2023-10-13	13:35:25	4022	[DEBUG]	Query for Media
2023-10-13	13:35:25	4022	[DEBUG]	Executed store
2023-10-13	13:35:25	4022	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1279.jpg',`file_url_thumb`='bcprisme/image_1279.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14459'
2023-10-13	13:35:25	4022	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:25	4022	[DEBUG]	Executed store
2023-10-13	13:35:25	4022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863514','14459','1')
2023-10-13	13:35:25	4022	[DEBUG]	Store product image relation
2023-10-13	13:35:25	4022	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:25	4022	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863514 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:25	4022	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:25	4022	[DEBUG]	Executed store
2023-10-13	13:35:25	4022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863514','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:25	4022	[DEBUG]	Checking manufacturer
2023-10-13	13:35:25	4022	[DEBUG]	Load a row
2023-10-13	13:35:25	4022	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:25	4022	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:25	4022	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:25	4022	[DEBUG]	Executed store
2023-10-13	13:35:25	4022	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:25	4022	[DEBUG]	Manufacturer exists
2023-10-13	13:35:25	4022	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:25	4022	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:25	4022	[DEBUG]	Executed store
2023-10-13	13:35:25	4022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863514','32')
2023-10-13	13:35:25	4022	[DEBUG]	Find the custom field ID
2023-10-13	13:35:25	4022	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:25	4022	[DEBUG]	No custom field ID found
2023-10-13	13:35:25	4022	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:25	4022	[DEBUG]	Get existing row with customfield value 6.88083333333333
2023-10-13	13:35:25	4022	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863514 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:25	4022	[DEBUG]	Store custom available field
2023-10-13	13:35:25	4022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863514,3,'6.88083333333333',1)
2023-10-13	13:35:25	4022	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:25	4022	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:25	4022	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863514 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:25	4022	[DEBUG]	Store custom available field
2023-10-13	13:35:25	4022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863514,6,'choisir la taille',3)
2023-10-13	13:35:25	4022	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:25	4022	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:25	4022	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:25	4022	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:25	4022	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863514 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:25	4022	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:25	4022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863514,8,1)
2023-10-13	13:35:25	4022	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:25	4022	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863514\":[1863514,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863514
2023-10-13	13:35:25	4022	[DEBUG]	Checking category
2023-10-13	13:35:25	4022	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:25	4022	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863514
2023-10-13	13:35:25	4022	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:25	4022	[DEBUG]	Executed store
2023-10-13	13:35:25	4022	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863514','7398')
2023-10-13	13:35:25	4022	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:25	4022	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863514 AND `virtuemart_category_id` NOT IN (7398)
2023-10-13	13:35:25	4022	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:25	4022	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863514
2023-10-13	13:35:25	4023	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:25	4023	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:25	4023	[DEBUG]	Use field value for field taille
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:25	4023	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:25	4023	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:25	4023	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:25	4023	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:25	4023	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:25	4023	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:25	4023	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:25	4023	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:25	4023	[DEBUG]	Use field value for field published
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:25	4023	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field override
2023-10-13	13:35:25	4023	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:25	4023	[DEBUG]	Use field value for field slug
2023-10-13	13:35:25	4023	[DEBUG]	Process line 4023
2023-10-13	13:35:25	4023	[DEBUG]	Load a row
2023-10-13	13:35:25	4023	[DEBUG]	Processing item: 8436047357128
2023-10-13	13:35:25	4023	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:25	4023	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:25	4023	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_981_5'
2023-10-13	13:35:25	4023	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:25	4023	[DEBUG]	Processing product tax
2023-10-13	13:35:25	4023	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:25	4023	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:25	4023	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:25	4023	[DEBUG]	Query for Product
2023-10-13	13:35:25	4023	[DEBUG]	Executed store
2023-10-13	13:35:25	4023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863514','8436047357128','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:25	4023	[DEBUG]	No parent found
2023-10-13	13:35:25	4023	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863514 AND customfield_value = 'stockable'
2023-10-13	13:35:25	4023	[DEBUG]	Check product language entry
2023-10-13	13:35:25	4023	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863515
2023-10-13	13:35:25	4023	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:25	4023	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357128' AND `virtuemart_product_id` != 1863515
2023-10-13	13:35:25	4023	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:25	4023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863515, '8436047357128')
2023-10-13	13:35:25	4023	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:25	4023	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-or-set' AND `virtuemart_product_id` != 1863515
2023-10-13	13:35:25	4023	[DEBUG]	Query for ProductLang
2023-10-13	13:35:25	4023	[DEBUG]	Executed store
2023-10-13	13:35:25	4023	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchons de valve SV en Alu6061 avec joint gomme / Or (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-or-set' WHERE `virtuemart_product_id` = '1863515'
2023-10-13	13:35:25	4023	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1279.jpg
2023-10-13	13:35:25	4023	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:25	4023	[DEBUG]	Process image file
2023-10-13	13:35:25	4023	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:25	4023	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:25	4023	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1279.jpg
2023-10-13	13:35:25	4023	[DEBUG]	Full name target: bcprisme/image_1279.jpg
2023-10-13	13:35:26	4023	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:26	4023	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1279.jpg'
2023-10-13	13:35:26	4023	[DEBUG]	Query for Media
2023-10-13	13:35:26	4023	[DEBUG]	Executed store
2023-10-13	13:35:26	4023	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1279.jpg',`file_url_thumb`='bcprisme/image_1279.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14459'
2023-10-13	13:35:26	4023	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:26	4023	[DEBUG]	Executed store
2023-10-13	13:35:26	4023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863515','14459','1')
2023-10-13	13:35:26	4023	[DEBUG]	Store product image relation
2023-10-13	13:35:26	4023	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:26	4023	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863515 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:26	4023	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:26	4023	[DEBUG]	Executed store
2023-10-13	13:35:26	4023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863515','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:26	4023	[DEBUG]	Checking manufacturer
2023-10-13	13:35:26	4023	[DEBUG]	Load a row
2023-10-13	13:35:26	4023	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:26	4023	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:26	4023	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:26	4023	[DEBUG]	Executed store
2023-10-13	13:35:26	4023	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:26	4023	[DEBUG]	Manufacturer exists
2023-10-13	13:35:26	4023	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:26	4023	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:26	4023	[DEBUG]	Executed store
2023-10-13	13:35:26	4023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863515','32')
2023-10-13	13:35:26	4023	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:26	4023	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:26	4023	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863515 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:26	4023	[DEBUG]	Store custom available field
2023-10-13	13:35:26	4023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863515,3,'',1)
2023-10-13	13:35:26	4023	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:26	4023	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:35:26	4023	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863515 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:26	4023	[DEBUG]	Store custom available field
2023-10-13	13:35:26	4023	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863515,6,'Set',3)
2023-10-13	13:35:26	4023	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:26	4023	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:26	4023	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863514
2023-10-13	13:35:26	4023	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:26	4023	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1863514\":[1863514,8,1,\"choisir la taille\"],\"1863515\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1863514
2023-10-13	13:35:26	4023	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:26	4023	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863515
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:26	4024	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field taille
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:26	4024	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:26	4024	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:26	4024	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:26	4024	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:26	4024	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:26	4024	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field published
2023-10-13	13:35:26	4024	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:26	4024	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field override
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:26	4024	[DEBUG]	Use field value for field slug
2023-10-13	13:35:26	4024	[DEBUG]	Process line 4024
2023-10-13	13:35:26	4024	[DEBUG]	Load a row
2023-10-13	13:35:26	4024	[DEBUG]	Processing item: A_981_7
2023-10-13	13:35:26	4024	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:26	4024	[DEBUG]	Processing product tax
2023-10-13	13:35:26	4024	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:26	4024	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:26	4024	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:26	4024	[DEBUG]	Query for Product
2023-10-13	13:35:26	4024	[DEBUG]	Executed store
2023-10-13	13:35:26	4024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_981_7','0.0025','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:26	4024	[DEBUG]	Check product language entry
2023-10-13	13:35:26	4024	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863516
2023-10-13	13:35:26	4024	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:26	4024	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_981_7' AND `virtuemart_product_id` != 1863516
2023-10-13	13:35:26	4024	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:26	4024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863516, 'A_981_7')
2023-10-13	13:35:26	4024	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:26	4024	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-rouge' AND `virtuemart_product_id` != 1863516
2023-10-13	13:35:26	4024	[DEBUG]	Query for ProductLang
2023-10-13	13:35:26	4024	[DEBUG]	Executed store
2023-10-13	13:35:26	4024	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Paire 2.5gr/paire<br>N° art fourn : SV',`product_name`='MSC Bouchons de valve SV en Alu6061 avec joint gomme / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-rouge' WHERE `virtuemart_product_id` = '1863516'
2023-10-13	13:35:26	4024	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1280.jpg
2023-10-13	13:35:26	4024	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:26	4024	[DEBUG]	Process image file
2023-10-13	13:35:26	4024	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:26	4024	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:26	4024	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1280.jpg
2023-10-13	13:35:26	4024	[DEBUG]	Full name target: bcprisme/image_1280.jpg
2023-10-13	13:35:27	4024	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:27	4024	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1280.jpg'
2023-10-13	13:35:27	4024	[DEBUG]	Query for Media
2023-10-13	13:35:27	4024	[DEBUG]	Executed store
2023-10-13	13:35:27	4024	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1280.jpg',`file_url_thumb`='bcprisme/image_1280.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14460'
2023-10-13	13:35:27	4024	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:27	4024	[DEBUG]	Executed store
2023-10-13	13:35:27	4024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863516','14460','1')
2023-10-13	13:35:27	4024	[DEBUG]	Store product image relation
2023-10-13	13:35:27	4024	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:27	4024	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863516 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:27	4024	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:27	4024	[DEBUG]	Executed store
2023-10-13	13:35:27	4024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863516','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:27	4024	[DEBUG]	Checking manufacturer
2023-10-13	13:35:27	4024	[DEBUG]	Load a row
2023-10-13	13:35:27	4024	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:27	4024	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:27	4024	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:27	4024	[DEBUG]	Executed store
2023-10-13	13:35:27	4024	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:27	4024	[DEBUG]	Manufacturer exists
2023-10-13	13:35:27	4024	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:27	4024	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:27	4024	[DEBUG]	Executed store
2023-10-13	13:35:27	4024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863516','32')
2023-10-13	13:35:27	4024	[DEBUG]	Find the custom field ID
2023-10-13	13:35:27	4024	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:27	4024	[DEBUG]	No custom field ID found
2023-10-13	13:35:27	4024	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:27	4024	[DEBUG]	Get existing row with customfield value 6.88083333333333
2023-10-13	13:35:27	4024	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863516 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:27	4024	[DEBUG]	Store custom available field
2023-10-13	13:35:27	4024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863516,3,'6.88083333333333',1)
2023-10-13	13:35:27	4024	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:27	4024	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:27	4024	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863516 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:27	4024	[DEBUG]	Store custom available field
2023-10-13	13:35:27	4024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863516,6,'choisir la taille',3)
2023-10-13	13:35:27	4024	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:27	4024	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:27	4024	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:27	4024	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:27	4024	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863516 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:27	4024	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:27	4024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863516,8,1)
2023-10-13	13:35:27	4024	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:27	4024	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863516\":[1863516,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863516
2023-10-13	13:35:27	4024	[DEBUG]	Checking category
2023-10-13	13:35:27	4024	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:27	4024	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863516
2023-10-13	13:35:27	4024	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:27	4024	[DEBUG]	Executed store
2023-10-13	13:35:27	4024	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863516','7398')
2023-10-13	13:35:27	4024	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:27	4024	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863516 AND `virtuemart_category_id` NOT IN (7398)
2023-10-13	13:35:27	4024	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:27	4024	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863516
2023-10-13	13:35:27	4025	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:27	4025	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:27	4025	[DEBUG]	Use field value for field taille
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:27	4025	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:27	4025	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:27	4025	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:27	4025	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:27	4025	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:27	4025	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:27	4025	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:27	4025	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:27	4025	[DEBUG]	Use field value for field published
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:27	4025	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field override
2023-10-13	13:35:27	4025	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:27	4025	[DEBUG]	Use field value for field slug
2023-10-13	13:35:27	4025	[DEBUG]	Process line 4025
2023-10-13	13:35:27	4025	[DEBUG]	Load a row
2023-10-13	13:35:27	4025	[DEBUG]	Processing item: 8436047357142
2023-10-13	13:35:27	4025	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:27	4025	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:27	4025	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_981_7'
2023-10-13	13:35:27	4025	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:27	4025	[DEBUG]	Processing product tax
2023-10-13	13:35:27	4025	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:27	4025	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:27	4025	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:27	4025	[DEBUG]	Query for Product
2023-10-13	13:35:27	4025	[DEBUG]	Executed store
2023-10-13	13:35:27	4025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863516','8436047357142','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:27	4025	[DEBUG]	No parent found
2023-10-13	13:35:27	4025	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863516 AND customfield_value = 'stockable'
2023-10-13	13:35:27	4025	[DEBUG]	Check product language entry
2023-10-13	13:35:27	4025	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863517
2023-10-13	13:35:27	4025	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:27	4025	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357142' AND `virtuemart_product_id` != 1863517
2023-10-13	13:35:27	4025	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:27	4025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863517, '8436047357142')
2023-10-13	13:35:27	4025	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:27	4025	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-rouge-set' AND `virtuemart_product_id` != 1863517
2023-10-13	13:35:27	4025	[DEBUG]	Query for ProductLang
2023-10-13	13:35:27	4025	[DEBUG]	Executed store
2023-10-13	13:35:27	4025	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchons de valve SV en Alu6061 avec joint gomme / Rouge (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-rouge-set' WHERE `virtuemart_product_id` = '1863517'
2023-10-13	13:35:27	4025	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1280.jpg
2023-10-13	13:35:27	4025	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:27	4025	[DEBUG]	Process image file
2023-10-13	13:35:28	4025	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:28	4025	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:28	4025	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1280.jpg
2023-10-13	13:35:28	4025	[DEBUG]	Full name target: bcprisme/image_1280.jpg
2023-10-13	13:35:28	4025	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:28	4025	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1280.jpg'
2023-10-13	13:35:28	4025	[DEBUG]	Query for Media
2023-10-13	13:35:28	4025	[DEBUG]	Executed store
2023-10-13	13:35:28	4025	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1280.jpg',`file_url_thumb`='bcprisme/image_1280.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14460'
2023-10-13	13:35:28	4025	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:28	4025	[DEBUG]	Executed store
2023-10-13	13:35:28	4025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863517','14460','1')
2023-10-13	13:35:28	4025	[DEBUG]	Store product image relation
2023-10-13	13:35:28	4025	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:28	4025	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863517 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:28	4025	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:28	4025	[DEBUG]	Executed store
2023-10-13	13:35:28	4025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863517','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:28	4025	[DEBUG]	Checking manufacturer
2023-10-13	13:35:28	4025	[DEBUG]	Load a row
2023-10-13	13:35:28	4025	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:28	4025	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:28	4025	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:28	4025	[DEBUG]	Executed store
2023-10-13	13:35:28	4025	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:28	4025	[DEBUG]	Manufacturer exists
2023-10-13	13:35:28	4025	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:28	4025	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:28	4025	[DEBUG]	Executed store
2023-10-13	13:35:28	4025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863517','32')
2023-10-13	13:35:28	4025	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:28	4025	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:28	4025	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863517 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:29	4025	[DEBUG]	Store custom available field
2023-10-13	13:35:29	4025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863517,3,'',1)
2023-10-13	13:35:29	4025	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:29	4025	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:35:29	4025	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863517 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:29	4025	[DEBUG]	Store custom available field
2023-10-13	13:35:29	4025	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863517,6,'Set',3)
2023-10-13	13:35:29	4025	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:29	4025	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:29	4025	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863516
2023-10-13	13:35:29	4025	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:29	4025	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1863516\":[1863516,8,1,\"choisir la taille\"],\"1863517\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1863516
2023-10-13	13:35:29	4025	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:29	4025	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863517
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:29	4026	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field taille
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:29	4026	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:29	4026	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:29	4026	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:29	4026	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:29	4026	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:29	4026	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field published
2023-10-13	13:35:29	4026	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:29	4026	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field override
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:29	4026	[DEBUG]	Use field value for field slug
2023-10-13	13:35:29	4026	[DEBUG]	Process line 4026
2023-10-13	13:35:29	4026	[DEBUG]	Load a row
2023-10-13	13:35:29	4026	[DEBUG]	Processing item: A_981_8
2023-10-13	13:35:29	4026	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:29	4026	[DEBUG]	Processing product tax
2023-10-13	13:35:29	4026	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:29	4026	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:29	4026	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:29	4026	[DEBUG]	Query for Product
2023-10-13	13:35:29	4026	[DEBUG]	Executed store
2023-10-13	13:35:29	4026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_981_8','0.0025','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:29	4026	[DEBUG]	Check product language entry
2023-10-13	13:35:29	4026	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863518
2023-10-13	13:35:29	4026	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:29	4026	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_981_8' AND `virtuemart_product_id` != 1863518
2023-10-13	13:35:29	4026	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:29	4026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863518, 'A_981_8')
2023-10-13	13:35:29	4026	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:29	4026	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-chrome' AND `virtuemart_product_id` != 1863518
2023-10-13	13:35:29	4026	[DEBUG]	Query for ProductLang
2023-10-13	13:35:29	4026	[DEBUG]	Executed store
2023-10-13	13:35:29	4026	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Paire 2.5gr/paire<br>N° art fourn : SV',`product_name`='MSC Bouchons de valve SV en Alu6061 avec joint gomme / chromé',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-chrome' WHERE `virtuemart_product_id` = '1863518'
2023-10-13	13:35:29	4026	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1278.jpg
2023-10-13	13:35:29	4026	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:29	4026	[DEBUG]	Process image file
2023-10-13	13:35:29	4026	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:29	4026	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:29	4026	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1278.jpg
2023-10-13	13:35:29	4026	[DEBUG]	Full name target: bcprisme/image_1278.jpg
2023-10-13	13:35:30	4026	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:30	4026	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1278.jpg'
2023-10-13	13:35:30	4026	[DEBUG]	Query for Media
2023-10-13	13:35:30	4026	[DEBUG]	Executed store
2023-10-13	13:35:30	4026	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1278.jpg',`file_url_thumb`='bcprisme/image_1278.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14461'
2023-10-13	13:35:30	4026	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:30	4026	[DEBUG]	Executed store
2023-10-13	13:35:30	4026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863518','14461','1')
2023-10-13	13:35:30	4026	[DEBUG]	Store product image relation
2023-10-13	13:35:30	4026	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:30	4026	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863518 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:30	4026	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:30	4026	[DEBUG]	Executed store
2023-10-13	13:35:30	4026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863518','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:30	4026	[DEBUG]	Checking manufacturer
2023-10-13	13:35:30	4026	[DEBUG]	Load a row
2023-10-13	13:35:30	4026	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:30	4026	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:30	4026	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:30	4026	[DEBUG]	Executed store
2023-10-13	13:35:30	4026	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:30	4026	[DEBUG]	Manufacturer exists
2023-10-13	13:35:30	4026	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:30	4026	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:30	4026	[DEBUG]	Executed store
2023-10-13	13:35:30	4026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863518','32')
2023-10-13	13:35:30	4026	[DEBUG]	Find the custom field ID
2023-10-13	13:35:30	4026	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:30	4026	[DEBUG]	No custom field ID found
2023-10-13	13:35:30	4026	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:30	4026	[DEBUG]	Get existing row with customfield value 6.88083333333333
2023-10-13	13:35:30	4026	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863518 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:30	4026	[DEBUG]	Store custom available field
2023-10-13	13:35:30	4026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863518,3,'6.88083333333333',1)
2023-10-13	13:35:30	4026	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:30	4026	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:30	4026	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863518 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:30	4026	[DEBUG]	Store custom available field
2023-10-13	13:35:30	4026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863518,6,'choisir la taille',3)
2023-10-13	13:35:30	4026	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:30	4026	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:30	4026	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:30	4026	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:30	4026	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863518 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:30	4026	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:30	4026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863518,8,1)
2023-10-13	13:35:30	4026	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:30	4026	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863518\":[1863518,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863518
2023-10-13	13:35:30	4026	[DEBUG]	Checking category
2023-10-13	13:35:30	4026	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:30	4026	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863518
2023-10-13	13:35:30	4026	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:30	4026	[DEBUG]	Executed store
2023-10-13	13:35:30	4026	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863518','7398')
2023-10-13	13:35:30	4026	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:30	4026	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863518 AND `virtuemart_category_id` NOT IN (7398)
2023-10-13	13:35:30	4026	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:30	4026	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863518
2023-10-13	13:35:30	4027	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:30	4027	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:30	4027	[DEBUG]	Use field value for field taille
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:30	4027	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:30	4027	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:30	4027	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:30	4027	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:30	4027	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:30	4027	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:30	4027	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:30	4027	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:30	4027	[DEBUG]	Use field value for field published
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:30	4027	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field override
2023-10-13	13:35:30	4027	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:30	4027	[DEBUG]	Use field value for field slug
2023-10-13	13:35:30	4027	[DEBUG]	Process line 4027
2023-10-13	13:35:30	4027	[DEBUG]	Load a row
2023-10-13	13:35:30	4027	[DEBUG]	Processing item: 8436047358262
2023-10-13	13:35:30	4027	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:30	4027	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:30	4027	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_981_8'
2023-10-13	13:35:30	4027	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:30	4027	[DEBUG]	Processing product tax
2023-10-13	13:35:30	4027	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:30	4027	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:30	4027	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:30	4027	[DEBUG]	Query for Product
2023-10-13	13:35:30	4027	[DEBUG]	Executed store
2023-10-13	13:35:30	4027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863518','8436047358262','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:30	4027	[DEBUG]	No parent found
2023-10-13	13:35:30	4027	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863518 AND customfield_value = 'stockable'
2023-10-13	13:35:30	4027	[DEBUG]	Check product language entry
2023-10-13	13:35:30	4027	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863519
2023-10-13	13:35:30	4027	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:30	4027	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047358262' AND `virtuemart_product_id` != 1863519
2023-10-13	13:35:30	4027	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:30	4027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863519, '8436047358262')
2023-10-13	13:35:30	4027	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:30	4027	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-chrome-set' AND `virtuemart_product_id` != 1863519
2023-10-13	13:35:30	4027	[DEBUG]	Query for ProductLang
2023-10-13	13:35:30	4027	[DEBUG]	Executed store
2023-10-13	13:35:30	4027	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchons de valve SV en Alu6061 avec joint gomme / chromé (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-chrome-set' WHERE `virtuemart_product_id` = '1863519'
2023-10-13	13:35:30	4027	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1278.jpg
2023-10-13	13:35:30	4027	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:30	4027	[DEBUG]	Process image file
2023-10-13	13:35:30	4027	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:30	4027	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:30	4027	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1278.jpg
2023-10-13	13:35:30	4027	[DEBUG]	Full name target: bcprisme/image_1278.jpg
2023-10-13	13:35:31	4027	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:31	4027	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1278.jpg'
2023-10-13	13:35:31	4027	[DEBUG]	Query for Media
2023-10-13	13:35:31	4027	[DEBUG]	Executed store
2023-10-13	13:35:31	4027	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1278.jpg',`file_url_thumb`='bcprisme/image_1278.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14461'
2023-10-13	13:35:31	4027	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:31	4027	[DEBUG]	Executed store
2023-10-13	13:35:31	4027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863519','14461','1')
2023-10-13	13:35:31	4027	[DEBUG]	Store product image relation
2023-10-13	13:35:31	4027	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:31	4027	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863519 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:31	4027	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:31	4027	[DEBUG]	Executed store
2023-10-13	13:35:31	4027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863519','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:31	4027	[DEBUG]	Checking manufacturer
2023-10-13	13:35:31	4027	[DEBUG]	Load a row
2023-10-13	13:35:31	4027	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:31	4027	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:31	4027	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:31	4027	[DEBUG]	Executed store
2023-10-13	13:35:31	4027	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:31	4027	[DEBUG]	Manufacturer exists
2023-10-13	13:35:31	4027	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:31	4027	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:31	4027	[DEBUG]	Executed store
2023-10-13	13:35:31	4027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863519','32')
2023-10-13	13:35:31	4027	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:31	4027	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:31	4027	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863519 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:31	4027	[DEBUG]	Store custom available field
2023-10-13	13:35:31	4027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863519,3,'',1)
2023-10-13	13:35:31	4027	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:31	4027	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:35:31	4027	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863519 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:31	4027	[DEBUG]	Store custom available field
2023-10-13	13:35:31	4027	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863519,6,'Set',3)
2023-10-13	13:35:31	4027	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:31	4027	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:31	4027	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863518
2023-10-13	13:35:31	4027	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:31	4027	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1863518\":[1863518,8,1,\"choisir la taille\"],\"1863519\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1863518
2023-10-13	13:35:31	4027	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:31	4027	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863519
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:31	4028	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field taille
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:31	4028	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:31	4028	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:31	4028	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:31	4028	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:31	4028	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:31	4028	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field published
2023-10-13	13:35:31	4028	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:31	4028	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field override
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:31	4028	[DEBUG]	Use field value for field slug
2023-10-13	13:35:31	4028	[DEBUG]	Process line 4028
2023-10-13	13:35:31	4028	[DEBUG]	Load a row
2023-10-13	13:35:31	4028	[DEBUG]	Processing item: A_981_22
2023-10-13	13:35:31	4028	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:31	4028	[DEBUG]	Processing product tax
2023-10-13	13:35:31	4028	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:31	4028	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:31	4028	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:31	4028	[DEBUG]	Query for Product
2023-10-13	13:35:31	4028	[DEBUG]	Executed store
2023-10-13	13:35:31	4028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_981_22','0.0025','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:31	4028	[DEBUG]	Check product language entry
2023-10-13	13:35:31	4028	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863520
2023-10-13	13:35:31	4028	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:31	4028	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_981_22' AND `virtuemart_product_id` != 1863520
2023-10-13	13:35:31	4028	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:31	4028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863520, 'A_981_22')
2023-10-13	13:35:31	4028	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:31	4028	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-bleu' AND `virtuemart_product_id` != 1863520
2023-10-13	13:35:31	4028	[DEBUG]	Query for ProductLang
2023-10-13	13:35:31	4028	[DEBUG]	Executed store
2023-10-13	13:35:31	4028	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Paire 2.5gr/paire<br>N° art fourn : SV',`product_name`='MSC Bouchons de valve SV en Alu6061 avec joint gomme / Bleu',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-bleu' WHERE `virtuemart_product_id` = '1863520'
2023-10-13	13:35:31	4028	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1277.jpg
2023-10-13	13:35:31	4028	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:31	4028	[DEBUG]	Process image file
2023-10-13	13:35:31	4028	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:31	4028	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:31	4028	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1277.jpg
2023-10-13	13:35:31	4028	[DEBUG]	Full name target: bcprisme/image_1277.jpg
2023-10-13	13:35:32	4028	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:32	4028	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1277.jpg'
2023-10-13	13:35:32	4028	[DEBUG]	Query for Media
2023-10-13	13:35:32	4028	[DEBUG]	Executed store
2023-10-13	13:35:32	4028	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1277.jpg',`file_url_thumb`='bcprisme/image_1277.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14462'
2023-10-13	13:35:32	4028	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:32	4028	[DEBUG]	Executed store
2023-10-13	13:35:32	4028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863520','14462','1')
2023-10-13	13:35:32	4028	[DEBUG]	Store product image relation
2023-10-13	13:35:32	4028	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:32	4028	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863520 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:32	4028	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:32	4028	[DEBUG]	Executed store
2023-10-13	13:35:32	4028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863520','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:32	4028	[DEBUG]	Checking manufacturer
2023-10-13	13:35:32	4028	[DEBUG]	Load a row
2023-10-13	13:35:32	4028	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:32	4028	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:32	4028	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:32	4028	[DEBUG]	Executed store
2023-10-13	13:35:32	4028	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:32	4028	[DEBUG]	Manufacturer exists
2023-10-13	13:35:32	4028	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:32	4028	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:32	4028	[DEBUG]	Executed store
2023-10-13	13:35:32	4028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863520','32')
2023-10-13	13:35:32	4028	[DEBUG]	Find the custom field ID
2023-10-13	13:35:32	4028	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:32	4028	[DEBUG]	No custom field ID found
2023-10-13	13:35:32	4028	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:32	4028	[DEBUG]	Get existing row with customfield value 6.88083333333333
2023-10-13	13:35:32	4028	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863520 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:32	4028	[DEBUG]	Store custom available field
2023-10-13	13:35:32	4028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863520,3,'6.88083333333333',1)
2023-10-13	13:35:32	4028	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:32	4028	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:32	4028	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863520 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:32	4028	[DEBUG]	Store custom available field
2023-10-13	13:35:32	4028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863520,6,'choisir la taille',3)
2023-10-13	13:35:32	4028	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:32	4028	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:32	4028	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:32	4028	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:32	4028	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863520 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:32	4028	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:32	4028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863520,8,1)
2023-10-13	13:35:32	4028	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:32	4028	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863520\":[1863520,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863520
2023-10-13	13:35:32	4028	[DEBUG]	Checking category
2023-10-13	13:35:32	4028	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:32	4028	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863520
2023-10-13	13:35:32	4028	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:32	4028	[DEBUG]	Executed store
2023-10-13	13:35:32	4028	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863520','7398')
2023-10-13	13:35:32	4028	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:32	4028	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863520 AND `virtuemart_category_id` NOT IN (7398)
2023-10-13	13:35:32	4028	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:32	4028	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863520
2023-10-13	13:35:32	4029	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:32	4029	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:32	4029	[DEBUG]	Use field value for field taille
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:32	4029	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:32	4029	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:32	4029	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:32	4029	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:32	4029	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:32	4029	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:32	4029	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:32	4029	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:32	4029	[DEBUG]	Use field value for field published
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:32	4029	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field override
2023-10-13	13:35:32	4029	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:32	4029	[DEBUG]	Use field value for field slug
2023-10-13	13:35:32	4029	[DEBUG]	Process line 4029
2023-10-13	13:35:32	4029	[DEBUG]	Load a row
2023-10-13	13:35:32	4029	[DEBUG]	Processing item: 8436047357111
2023-10-13	13:35:32	4029	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:32	4029	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:32	4029	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_981_22'
2023-10-13	13:35:32	4029	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:32	4029	[DEBUG]	Processing product tax
2023-10-13	13:35:32	4029	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:32	4029	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:32	4029	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:32	4029	[DEBUG]	Query for Product
2023-10-13	13:35:32	4029	[DEBUG]	Executed store
2023-10-13	13:35:32	4029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863520','8436047357111','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:32	4029	[DEBUG]	No parent found
2023-10-13	13:35:32	4029	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863520 AND customfield_value = 'stockable'
2023-10-13	13:35:32	4029	[DEBUG]	Check product language entry
2023-10-13	13:35:32	4029	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863521
2023-10-13	13:35:32	4029	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:32	4029	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436047357111' AND `virtuemart_product_id` != 1863521
2023-10-13	13:35:32	4029	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:32	4029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863521, '8436047357111')
2023-10-13	13:35:32	4029	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:32	4029	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-bleu-set' AND `virtuemart_product_id` != 1863521
2023-10-13	13:35:32	4029	[DEBUG]	Query for ProductLang
2023-10-13	13:35:32	4029	[DEBUG]	Executed store
2023-10-13	13:35:32	4029	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchons de valve SV en Alu6061 avec joint gomme / Bleu (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-bleu-set' WHERE `virtuemart_product_id` = '1863521'
2023-10-13	13:35:32	4029	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1277.jpg
2023-10-13	13:35:32	4029	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:32	4029	[DEBUG]	Process image file
2023-10-13	13:35:32	4029	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:32	4029	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:32	4029	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1277.jpg
2023-10-13	13:35:32	4029	[DEBUG]	Full name target: bcprisme/image_1277.jpg
2023-10-13	13:35:33	4029	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:33	4029	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1277.jpg'
2023-10-13	13:35:33	4029	[DEBUG]	Query for Media
2023-10-13	13:35:33	4029	[DEBUG]	Executed store
2023-10-13	13:35:33	4029	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1277.jpg',`file_url_thumb`='bcprisme/image_1277.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14462'
2023-10-13	13:35:33	4029	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:33	4029	[DEBUG]	Executed store
2023-10-13	13:35:33	4029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863521','14462','1')
2023-10-13	13:35:33	4029	[DEBUG]	Store product image relation
2023-10-13	13:35:33	4029	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:33	4029	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863521 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:33	4029	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:33	4029	[DEBUG]	Executed store
2023-10-13	13:35:33	4029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863521','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:33	4029	[DEBUG]	Checking manufacturer
2023-10-13	13:35:33	4029	[DEBUG]	Load a row
2023-10-13	13:35:33	4029	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:33	4029	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:33	4029	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:33	4029	[DEBUG]	Executed store
2023-10-13	13:35:33	4029	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:33	4029	[DEBUG]	Manufacturer exists
2023-10-13	13:35:33	4029	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:33	4029	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:33	4029	[DEBUG]	Executed store
2023-10-13	13:35:33	4029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863521','32')
2023-10-13	13:35:33	4029	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:33	4029	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:33	4029	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863521 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:33	4029	[DEBUG]	Store custom available field
2023-10-13	13:35:33	4029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863521,3,'',1)
2023-10-13	13:35:33	4029	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:33	4029	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:35:33	4029	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863521 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:33	4029	[DEBUG]	Store custom available field
2023-10-13	13:35:33	4029	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863521,6,'Set',3)
2023-10-13	13:35:33	4029	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:33	4029	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:33	4029	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863520
2023-10-13	13:35:33	4029	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:33	4029	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1863520\":[1863520,8,1,\"choisir la taille\"],\"1863521\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1863520
2023-10-13	13:35:33	4029	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:33	4029	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863521
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:33	4030	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field taille
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:33	4030	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:33	4030	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:33	4030	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:33	4030	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:33	4030	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:33	4030	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field published
2023-10-13	13:35:33	4030	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:33	4030	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field override
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:33	4030	[DEBUG]	Use field value for field slug
2023-10-13	13:35:33	4030	[DEBUG]	Process line 4030
2023-10-13	13:35:33	4030	[DEBUG]	Load a row
2023-10-13	13:35:33	4030	[DEBUG]	Processing item: A_981_40
2023-10-13	13:35:33	4030	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:33	4030	[DEBUG]	Processing product tax
2023-10-13	13:35:33	4030	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:33	4030	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:33	4030	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:33	4030	[DEBUG]	Query for Product
2023-10-13	13:35:33	4030	[DEBUG]	Executed store
2023-10-13	13:35:33	4030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_981_40','0.0025','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:33	4030	[DEBUG]	Check product language entry
2023-10-13	13:35:33	4030	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863522
2023-10-13	13:35:33	4030	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:33	4030	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_981_40' AND `virtuemart_product_id` != 1863522
2023-10-13	13:35:33	4030	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:33	4030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863522, 'A_981_40')
2023-10-13	13:35:33	4030	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:33	4030	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-vert' AND `virtuemart_product_id` != 1863522
2023-10-13	13:35:33	4030	[DEBUG]	Query for ProductLang
2023-10-13	13:35:33	4030	[DEBUG]	Executed store
2023-10-13	13:35:33	4030	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Paire 2.5gr/paire<br>N° art fourn : SV',`product_name`='MSC Bouchons de valve SV en Alu6061 avec joint gomme / Vert',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-vert' WHERE `virtuemart_product_id` = '1863522'
2023-10-13	13:35:33	4030	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9023.jpg
2023-10-13	13:35:33	4030	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:33	4030	[DEBUG]	Process image file
2023-10-13	13:35:33	4030	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:33	4030	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:33	4030	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9023.jpg
2023-10-13	13:35:33	4030	[DEBUG]	Full name target: bcprisme/image_9023.jpg
2023-10-13	13:35:34	4030	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:34	4030	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_9023.jpg'
2023-10-13	13:35:34	4030	[DEBUG]	Query for Media
2023-10-13	13:35:34	4030	[DEBUG]	Executed store
2023-10-13	13:35:34	4030	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_9023.jpg',`file_url_thumb`='bcprisme/image_9023.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14463'
2023-10-13	13:35:34	4030	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:34	4030	[DEBUG]	Executed store
2023-10-13	13:35:34	4030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863522','14463','1')
2023-10-13	13:35:34	4030	[DEBUG]	Store product image relation
2023-10-13	13:35:34	4030	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:34	4030	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863522 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:34	4030	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:34	4030	[DEBUG]	Executed store
2023-10-13	13:35:34	4030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863522','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:34	4030	[DEBUG]	Checking manufacturer
2023-10-13	13:35:34	4030	[DEBUG]	Load a row
2023-10-13	13:35:34	4030	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:34	4030	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:34	4030	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:34	4030	[DEBUG]	Executed store
2023-10-13	13:35:34	4030	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:34	4030	[DEBUG]	Manufacturer exists
2023-10-13	13:35:34	4030	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:34	4030	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:34	4030	[DEBUG]	Executed store
2023-10-13	13:35:34	4030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863522','32')
2023-10-13	13:35:34	4030	[DEBUG]	Find the custom field ID
2023-10-13	13:35:34	4030	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:34	4030	[DEBUG]	No custom field ID found
2023-10-13	13:35:34	4030	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:34	4030	[DEBUG]	Get existing row with customfield value 6.88083333333333
2023-10-13	13:35:34	4030	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863522 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:34	4030	[DEBUG]	Store custom available field
2023-10-13	13:35:34	4030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863522,3,'6.88083333333333',1)
2023-10-13	13:35:34	4030	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:34	4030	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:34	4030	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863522 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:34	4030	[DEBUG]	Store custom available field
2023-10-13	13:35:34	4030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863522,6,'choisir la taille',3)
2023-10-13	13:35:34	4030	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:34	4030	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:34	4030	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:34	4030	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:34	4030	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863522 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:34	4030	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:34	4030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863522,8,1)
2023-10-13	13:35:34	4030	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:34	4030	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863522\":[1863522,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863522
2023-10-13	13:35:34	4030	[DEBUG]	Checking category
2023-10-13	13:35:34	4030	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:34	4030	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863522
2023-10-13	13:35:34	4030	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:34	4030	[DEBUG]	Executed store
2023-10-13	13:35:34	4030	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863522','7398')
2023-10-13	13:35:34	4030	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:34	4030	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863522 AND `virtuemart_category_id` NOT IN (7398)
2023-10-13	13:35:34	4030	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:34	4030	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863522
2023-10-13	13:35:34	4031	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:34	4031	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:34	4031	[DEBUG]	Use field value for field taille
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:34	4031	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:34	4031	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:34	4031	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:34	4031	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:34	4031	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:34	4031	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:34	4031	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:34	4031	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:34	4031	[DEBUG]	Use field value for field published
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:34	4031	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field override
2023-10-13	13:35:34	4031	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:34	4031	[DEBUG]	Use field value for field slug
2023-10-13	13:35:34	4031	[DEBUG]	Process line 4031
2023-10-13	13:35:34	4031	[DEBUG]	Load a row
2023-10-13	13:35:34	4031	[DEBUG]	Processing item: 8436041551447
2023-10-13	13:35:34	4031	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:34	4031	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:34	4031	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_981_40'
2023-10-13	13:35:34	4031	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:34	4031	[DEBUG]	Processing product tax
2023-10-13	13:35:34	4031	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:34	4031	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:34	4031	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:34	4031	[DEBUG]	Query for Product
2023-10-13	13:35:34	4031	[DEBUG]	Executed store
2023-10-13	13:35:34	4031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863522','8436041551447','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:34	4031	[DEBUG]	No parent found
2023-10-13	13:35:34	4031	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863522 AND customfield_value = 'stockable'
2023-10-13	13:35:34	4031	[DEBUG]	Check product language entry
2023-10-13	13:35:34	4031	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863523
2023-10-13	13:35:34	4031	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:34	4031	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436041551447' AND `virtuemart_product_id` != 1863523
2023-10-13	13:35:34	4031	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:34	4031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863523, '8436041551447')
2023-10-13	13:35:34	4031	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:34	4031	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-vert-set' AND `virtuemart_product_id` != 1863523
2023-10-13	13:35:34	4031	[DEBUG]	Query for ProductLang
2023-10-13	13:35:34	4031	[DEBUG]	Executed store
2023-10-13	13:35:34	4031	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Bouchons de valve SV en Alu6061 avec joint gomme / Vert (Set)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-bouchons-de-valve-sv-en-alu6061-avec-joint-gomme-vert-set' WHERE `virtuemart_product_id` = '1863523'
2023-10-13	13:35:34	4031	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9023.jpg
2023-10-13	13:35:34	4031	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:34	4031	[DEBUG]	Process image file
2023-10-13	13:35:34	4031	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:34	4031	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:34	4031	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_9023.jpg
2023-10-13	13:35:34	4031	[DEBUG]	Full name target: bcprisme/image_9023.jpg
2023-10-13	13:35:35	4031	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:35	4031	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_9023.jpg'
2023-10-13	13:35:35	4031	[DEBUG]	Query for Media
2023-10-13	13:35:35	4031	[DEBUG]	Executed store
2023-10-13	13:35:35	4031	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_9023.jpg',`file_url_thumb`='bcprisme/image_9023.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14463'
2023-10-13	13:35:35	4031	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:35	4031	[DEBUG]	Executed store
2023-10-13	13:35:35	4031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863523','14463','1')
2023-10-13	13:35:35	4031	[DEBUG]	Store product image relation
2023-10-13	13:35:35	4031	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:35	4031	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863523 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:35	4031	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:35	4031	[DEBUG]	Executed store
2023-10-13	13:35:35	4031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863523','0','6.4066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:35	4031	[DEBUG]	Checking manufacturer
2023-10-13	13:35:35	4031	[DEBUG]	Load a row
2023-10-13	13:35:35	4031	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:35	4031	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:35	4031	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:35	4031	[DEBUG]	Executed store
2023-10-13	13:35:35	4031	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:35	4031	[DEBUG]	Manufacturer exists
2023-10-13	13:35:35	4031	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:35	4031	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:35	4031	[DEBUG]	Executed store
2023-10-13	13:35:35	4031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863523','32')
2023-10-13	13:35:35	4031	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:35	4031	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:35	4031	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863523 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:35	4031	[DEBUG]	Store custom available field
2023-10-13	13:35:35	4031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863523,3,'',1)
2023-10-13	13:35:35	4031	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:35	4031	[DEBUG]	Get existing row with customfield value Set
2023-10-13	13:35:35	4031	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863523 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:35	4031	[DEBUG]	Store custom available field
2023-10-13	13:35:35	4031	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863523,6,'Set',3)
2023-10-13	13:35:35	4031	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:35	4031	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:35	4031	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863522
2023-10-13	13:35:35	4031	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:35	4031	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nSet\"}]|clabels=0|options={\"1863522\":[1863522,8,1,\"choisir la taille\"],\"1863523\":[\"Set\"]}|' WHERE `virtuemart_product_id` = 1863522
2023-10-13	13:35:35	4031	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:35	4031	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863523
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:35	4032	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field taille
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:35	4032	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:35	4032	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:35	4032	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:35	4032	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:35	4032	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:35	4032	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field published
2023-10-13	13:35:35	4032	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:35	4032	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field override
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:35	4032	[DEBUG]	Use field value for field slug
2023-10-13	13:35:35	4032	[DEBUG]	Process line 4032
2023-10-13	13:35:35	4032	[DEBUG]	Load a row
2023-10-13	13:35:35	4032	[DEBUG]	Processing item: A_5679_3
2023-10-13	13:35:35	4032	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:35	4032	[DEBUG]	Processing product tax
2023-10-13	13:35:35	4032	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:35	4032	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:35	4032	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:35	4032	[DEBUG]	Query for Product
2023-10-13	13:35:35	4032	[DEBUG]	Executed store
2023-10-13	13:35:35	4032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5679_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:35	4032	[DEBUG]	Check product language entry
2023-10-13	13:35:35	4032	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863524
2023-10-13	13:35:35	4032	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:35	4032	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5679_3' AND `virtuemart_product_id` != 1863524
2023-10-13	13:35:35	4032	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:35	4032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863524, 'A_5679_3')
2023-10-13	13:35:35	4032	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:35	4032	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-mastik-pro-none' AND `virtuemart_product_id` != 1863524
2023-10-13	13:35:35	4032	[DEBUG]	Query for ProductLang
2023-10-13	13:35:35	4032	[DEBUG]	Executed store
2023-10-13	13:35:35	4032	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.64783',`product_name`='VITTORIA Mastik Pro / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-mastik-pro-none' WHERE `virtuemart_product_id` = '1863524'
2023-10-13	13:35:35	4032	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30182_vittoria_mastik_pro.jpg
2023-10-13	13:35:35	4032	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:35	4032	[DEBUG]	Process image file
2023-10-13	13:35:35	4032	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:35	4032	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:35	4032	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30182_vittoria_mastik_pro.jpg
2023-10-13	13:35:35	4032	[DEBUG]	Full name target: bcprisme/30182_vittoria_mastik_pro.jpg
2023-10-13	13:35:36	4032	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:36	4032	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30182_vittoria_mastik_pro.jpg'
2023-10-13	13:35:36	4032	[DEBUG]	Query for Media
2023-10-13	13:35:36	4032	[DEBUG]	Executed store
2023-10-13	13:35:36	4032	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30182_vittoria_mastik_pro.jpg',`file_url_thumb`='bcprisme/30182_vittoria_mastik_pro.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14464'
2023-10-13	13:35:36	4032	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:36	4032	[DEBUG]	Executed store
2023-10-13	13:35:36	4032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863524','14464','1')
2023-10-13	13:35:36	4032	[DEBUG]	Store product image relation
2023-10-13	13:35:36	4032	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:36	4032	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863524 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:36	4032	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:36	4032	[DEBUG]	Executed store
2023-10-13	13:35:36	4032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863524','0','19.405756731662','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:36	4032	[DEBUG]	Checking manufacturer
2023-10-13	13:35:36	4032	[DEBUG]	Load a row
2023-10-13	13:35:36	4032	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:36	4032	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:35:36	4032	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:36	4032	[DEBUG]	Executed store
2023-10-13	13:35:36	4032	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:35:36	4032	[DEBUG]	Manufacturer exists
2023-10-13	13:35:36	4032	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:35:36	4032	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:36	4032	[DEBUG]	Executed store
2023-10-13	13:35:36	4032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863524','42')
2023-10-13	13:35:36	4032	[DEBUG]	Find the custom field ID
2023-10-13	13:35:36	4032	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:36	4032	[DEBUG]	No custom field ID found
2023-10-13	13:35:36	4032	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:36	4032	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:35:36	4032	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863524 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:36	4032	[DEBUG]	Store custom available field
2023-10-13	13:35:36	4032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863524,3,'0',1)
2023-10-13	13:35:36	4032	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:36	4032	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:36	4032	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863524 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:36	4032	[DEBUG]	Store custom available field
2023-10-13	13:35:36	4032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863524,6,'choisir la taille',3)
2023-10-13	13:35:36	4032	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:36	4032	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:36	4032	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:36	4032	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:36	4032	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863524 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:36	4032	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:36	4032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863524,8,1)
2023-10-13	13:35:36	4032	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:36	4032	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863524\":[1863524,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863524
2023-10-13	13:35:36	4032	[DEBUG]	Checking category
2023-10-13	13:35:36	4032	[DEBUG]	Check if category path exists: COLLE BOYAUX
2023-10-13	13:35:36	4032	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'COLLE BOYAUX' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:35:36	4032	[DEBUG]	Query for Category
2023-10-13	13:35:36	4032	[DEBUG]	Executed store
2023-10-13	13:35:36	4032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','3','0','1','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:36	4032	[DEBUG]	Category publish 1
2023-10-13	13:35:36	4032	[DEBUG]	Check the category language
2023-10-13	13:35:36	4032	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7399
2023-10-13	13:35:36	4032	[DEBUG]	Check the category slug
2023-10-13	13:35:36	4032	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'colle-boyaux' AND `virtuemart_category_id` != 7399
2023-10-13	13:35:36	4032	[DEBUG]	Check the category slug
2023-10-13	13:35:36	4032	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'colle-boyaux' AND `virtuemart_category_id` != 7399
2023-10-13	13:35:36	4032	[DEBUG]	Add the category language entry
2023-10-13	13:35:36	4032	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7399, 'colle-boyaux')
2023-10-13	13:35:36	4032	[DEBUG]	Query for CategoryLang
2023-10-13	13:35:36	4032	[DEBUG]	Executed store
2023-10-13	13:35:36	4032	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='COLLE BOYAUX',`metadesc`='',`metakey`='',`customtitle`='',`slug`='colle-boyaux' WHERE `virtuemart_category_id` = '7399'
2023-10-13	13:35:36	4032	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:35:36	4032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7399','0')
2023-10-13	13:35:36	4032	[DEBUG]	Update has field for parent category
2023-10-13	13:35:36	4032	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:35:36	4032	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:36	4032	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863524
2023-10-13	13:35:36	4032	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:36	4032	[DEBUG]	Executed store
2023-10-13	13:35:36	4032	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863524','7399')
2023-10-13	13:35:36	4032	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:36	4032	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863524 AND `virtuemart_category_id` NOT IN (7399)
2023-10-13	13:35:36	4032	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:36	4032	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863524
2023-10-13	13:35:36	4033	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:36	4033	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:36	4033	[DEBUG]	Use field value for field taille
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:36	4033	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:36	4033	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:36	4033	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:36	4033	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:36	4033	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:36	4033	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:36	4033	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:36	4033	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:36	4033	[DEBUG]	Use field value for field published
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:36	4033	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field override
2023-10-13	13:35:36	4033	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:36	4033	[DEBUG]	Use field value for field slug
2023-10-13	13:35:36	4033	[DEBUG]	Process line 4033
2023-10-13	13:35:36	4033	[DEBUG]	Load a row
2023-10-13	13:35:36	4033	[DEBUG]	Processing item: 8022530008808
2023-10-13	13:35:36	4033	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:36	4033	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:36	4033	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5679_3'
2023-10-13	13:35:36	4033	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:36	4033	[DEBUG]	Processing product tax
2023-10-13	13:35:36	4033	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:36	4033	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:36	4033	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:36	4033	[DEBUG]	Query for Product
2023-10-13	13:35:36	4033	[DEBUG]	Executed store
2023-10-13	13:35:36	4033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863524','8022530008808','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:36	4033	[DEBUG]	No parent found
2023-10-13	13:35:36	4033	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863524 AND customfield_value = 'stockable'
2023-10-13	13:35:36	4033	[DEBUG]	Check product language entry
2023-10-13	13:35:36	4033	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863525
2023-10-13	13:35:36	4033	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:36	4033	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8022530008808' AND `virtuemart_product_id` != 1863525
2023-10-13	13:35:36	4033	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:36	4033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863525, '8022530008808')
2023-10-13	13:35:36	4033	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:36	4033	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-mastik-pro-none-unitaire' AND `virtuemart_product_id` != 1863525
2023-10-13	13:35:36	4033	[DEBUG]	Query for ProductLang
2023-10-13	13:35:36	4033	[DEBUG]	Executed store
2023-10-13	13:35:36	4033	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='VITTORIA Mastik Pro / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-mastik-pro-none-unitaire' WHERE `virtuemart_product_id` = '1863525'
2023-10-13	13:35:36	4033	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30182_vittoria_mastik_pro.jpg
2023-10-13	13:35:36	4033	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:36	4033	[DEBUG]	Process image file
2023-10-13	13:35:36	4033	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:36	4033	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:36	4033	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30182_vittoria_mastik_pro.jpg
2023-10-13	13:35:36	4033	[DEBUG]	Full name target: bcprisme/30182_vittoria_mastik_pro.jpg
2023-10-13	13:35:37	4033	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:37	4033	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30182_vittoria_mastik_pro.jpg'
2023-10-13	13:35:37	4033	[DEBUG]	Query for Media
2023-10-13	13:35:37	4033	[DEBUG]	Executed store
2023-10-13	13:35:37	4033	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30182_vittoria_mastik_pro.jpg',`file_url_thumb`='bcprisme/30182_vittoria_mastik_pro.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14464'
2023-10-13	13:35:37	4033	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:37	4033	[DEBUG]	Executed store
2023-10-13	13:35:37	4033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863525','14464','1')
2023-10-13	13:35:37	4033	[DEBUG]	Store product image relation
2023-10-13	13:35:37	4033	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:37	4033	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863525 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:37	4033	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:37	4033	[DEBUG]	Executed store
2023-10-13	13:35:37	4033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863525','0','19.405756731662','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:37	4033	[DEBUG]	Checking manufacturer
2023-10-13	13:35:37	4033	[DEBUG]	Load a row
2023-10-13	13:35:37	4033	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:37	4033	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:35:37	4033	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:37	4033	[DEBUG]	Executed store
2023-10-13	13:35:37	4033	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:35:37	4033	[DEBUG]	Manufacturer exists
2023-10-13	13:35:37	4033	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:35:37	4033	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:37	4033	[DEBUG]	Executed store
2023-10-13	13:35:37	4033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863525','42')
2023-10-13	13:35:37	4033	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:37	4033	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:37	4033	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863525 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:37	4033	[DEBUG]	Store custom available field
2023-10-13	13:35:37	4033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863525,3,'',1)
2023-10-13	13:35:37	4033	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:37	4033	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:35:37	4033	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863525 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:37	4033	[DEBUG]	Store custom available field
2023-10-13	13:35:37	4033	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863525,6,'Unitaire',3)
2023-10-13	13:35:37	4033	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:37	4033	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:37	4033	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863524
2023-10-13	13:35:37	4033	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:37	4033	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863524\":[1863524,8,1,\"choisir la taille\"],\"1863525\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863524
2023-10-13	13:35:37	4033	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:37	4033	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863525
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:37	4034	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field taille
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:37	4034	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:37	4034	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:37	4034	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:37	4034	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:37	4034	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:37	4034	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field published
2023-10-13	13:35:37	4034	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:37	4034	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field override
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:37	4034	[DEBUG]	Use field value for field slug
2023-10-13	13:35:37	4034	[DEBUG]	Process line 4034
2023-10-13	13:35:37	4034	[DEBUG]	Load a row
2023-10-13	13:35:37	4034	[DEBUG]	Processing item: A_6829_208
2023-10-13	13:35:37	4034	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:37	4034	[DEBUG]	Processing product tax
2023-10-13	13:35:37	4034	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:37	4034	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:37	4034	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:37	4034	[DEBUG]	Query for Product
2023-10-13	13:35:37	4034	[DEBUG]	Executed store
2023-10-13	13:35:37	4034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6829_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:37	4034	[DEBUG]	Check product language entry
2023-10-13	13:35:37	4034	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863526
2023-10-13	13:35:37	4034	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:37	4034	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6829_208' AND `virtuemart_product_id` != 1863526
2023-10-13	13:35:37	4034	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:37	4034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863526, 'A_6829_208')
2023-10-13	13:35:37	4034	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:37	4034	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-continental-colle-a-boyaux-en-tube-a-25g-aucune' AND `virtuemart_product_id` != 1863526
2023-10-13	13:35:37	4034	[DEBUG]	Query for ProductLang
2023-10-13	13:35:37	4034	[DEBUG]	Executed store
2023-10-13	13:35:37	4034	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.59486',`product_name`='Continental Continental Colle à boyaux en tube à 25g / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-continental-colle-a-boyaux-en-tube-a-25g-aucune' WHERE `virtuemart_product_id` = '1863526'
2023-10-13	13:35:37	4034	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33642_continental_colle_à_boyaux_en_tube_à_25g.jpg
2023-10-13	13:35:37	4034	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:37	4034	[DEBUG]	Process image file
2023-10-13	13:35:37	4034	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:37	4034	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:37	4034	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33642_continental_colle_à_boyaux_en_tube_à_25g.jpg
2023-10-13	13:35:37	4034	[DEBUG]	Full name target: bcprisme/33642_continental_colle_à_boyaux_en_tube_à_25g.jpg
2023-10-13	13:35:38	4034	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:38	4034	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33642_continental_colle_à_boyaux_en_tube_à_25g.jpg'
2023-10-13	13:35:38	4034	[DEBUG]	Query for Media
2023-10-13	13:35:38	4034	[DEBUG]	Executed store
2023-10-13	13:35:38	4034	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33642_continental_colle_à_boyaux_en_tube_à_25g.jpg',`file_url_thumb`='bcprisme/33642_continental_colle_à_boyaux_en_tube_à_25g.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15305'
2023-10-13	13:35:38	4034	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:38	4034	[DEBUG]	Executed store
2023-10-13	13:35:38	4034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863526','15305','1')
2023-10-13	13:35:38	4034	[DEBUG]	Store product image relation
2023-10-13	13:35:38	4034	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:38	4034	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863526 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:38	4034	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:38	4034	[DEBUG]	Executed store
2023-10-13	13:35:38	4034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863526','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:38	4034	[DEBUG]	Checking manufacturer
2023-10-13	13:35:38	4034	[DEBUG]	Load a row
2023-10-13	13:35:38	4034	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:38	4034	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:35:38	4034	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:38	4034	[DEBUG]	Executed store
2023-10-13	13:35:38	4034	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:35:38	4034	[DEBUG]	Manufacturer exists
2023-10-13	13:35:38	4034	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:35:38	4034	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:38	4034	[DEBUG]	Executed store
2023-10-13	13:35:38	4034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863526','52')
2023-10-13	13:35:38	4034	[DEBUG]	Find the custom field ID
2023-10-13	13:35:38	4034	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:38	4034	[DEBUG]	No custom field ID found
2023-10-13	13:35:38	4034	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:38	4034	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:35:38	4034	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863526 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:38	4034	[DEBUG]	Store custom available field
2023-10-13	13:35:38	4034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863526,3,'0',1)
2023-10-13	13:35:38	4034	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:38	4034	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:38	4034	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863526 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:38	4034	[DEBUG]	Store custom available field
2023-10-13	13:35:38	4034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863526,6,'choisir la taille',3)
2023-10-13	13:35:38	4034	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:38	4034	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:38	4034	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:38	4034	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:38	4034	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863526 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:38	4034	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:38	4034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863526,8,1)
2023-10-13	13:35:38	4034	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:38	4034	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863526\":[1863526,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863526
2023-10-13	13:35:38	4034	[DEBUG]	Checking category
2023-10-13	13:35:38	4034	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:38	4034	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863526
2023-10-13	13:35:38	4034	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:38	4034	[DEBUG]	Executed store
2023-10-13	13:35:38	4034	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863526','7399')
2023-10-13	13:35:38	4034	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:38	4034	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863526 AND `virtuemart_category_id` NOT IN (7399)
2023-10-13	13:35:38	4034	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:38	4034	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863526
2023-10-13	13:35:38	4035	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:38	4035	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:38	4035	[DEBUG]	Use field value for field taille
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:38	4035	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:38	4035	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:38	4035	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:38	4035	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:38	4035	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:38	4035	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:38	4035	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:38	4035	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:38	4035	[DEBUG]	Use field value for field published
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:38	4035	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field override
2023-10-13	13:35:38	4035	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:38	4035	[DEBUG]	Use field value for field slug
2023-10-13	13:35:38	4035	[DEBUG]	Process line 4035
2023-10-13	13:35:38	4035	[DEBUG]	Load a row
2023-10-13	13:35:38	4035	[DEBUG]	Processing item: 4019238105322
2023-10-13	13:35:38	4035	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:38	4035	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:38	4035	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6829_208'
2023-10-13	13:35:38	4035	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:38	4035	[DEBUG]	Processing product tax
2023-10-13	13:35:38	4035	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:38	4035	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:38	4035	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:38	4035	[DEBUG]	Query for Product
2023-10-13	13:35:38	4035	[DEBUG]	Executed store
2023-10-13	13:35:38	4035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863526','4019238105322','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:38	4035	[DEBUG]	No parent found
2023-10-13	13:35:38	4035	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863526 AND customfield_value = 'stockable'
2023-10-13	13:35:38	4035	[DEBUG]	Check product language entry
2023-10-13	13:35:38	4035	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863527
2023-10-13	13:35:38	4035	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:38	4035	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4019238105322' AND `virtuemart_product_id` != 1863527
2023-10-13	13:35:38	4035	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:38	4035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863527, '4019238105322')
2023-10-13	13:35:38	4035	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:38	4035	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-continental-colle-a-boyaux-en-tube-a-25g-aucune-all' AND `virtuemart_product_id` != 1863527
2023-10-13	13:35:38	4035	[DEBUG]	Query for ProductLang
2023-10-13	13:35:38	4035	[DEBUG]	Executed store
2023-10-13	13:35:38	4035	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Continental Continental Colle à boyaux en tube à 25g / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-continental-colle-a-boyaux-en-tube-a-25g-aucune-all' WHERE `virtuemart_product_id` = '1863527'
2023-10-13	13:35:38	4035	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33642_continental_colle_à_boyaux_en_tube_à_25g.jpg
2023-10-13	13:35:38	4035	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:38	4035	[DEBUG]	Process image file
2023-10-13	13:35:38	4035	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:38	4035	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:38	4035	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33642_continental_colle_à_boyaux_en_tube_à_25g.jpg
2023-10-13	13:35:38	4035	[DEBUG]	Full name target: bcprisme/33642_continental_colle_à_boyaux_en_tube_à_25g.jpg
2023-10-13	13:35:39	4035	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:39	4035	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33642_continental_colle_à_boyaux_en_tube_à_25g.jpg'
2023-10-13	13:35:39	4035	[DEBUG]	Query for Media
2023-10-13	13:35:39	4035	[DEBUG]	Executed store
2023-10-13	13:35:39	4035	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33642_continental_colle_à_boyaux_en_tube_à_25g.jpg',`file_url_thumb`='bcprisme/33642_continental_colle_à_boyaux_en_tube_à_25g.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15305'
2023-10-13	13:35:39	4035	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:39	4035	[DEBUG]	Executed store
2023-10-13	13:35:39	4035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863527','15305','1')
2023-10-13	13:35:39	4035	[DEBUG]	Store product image relation
2023-10-13	13:35:39	4035	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:39	4035	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863527 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:39	4035	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:39	4035	[DEBUG]	Executed store
2023-10-13	13:35:39	4035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863527','0','3.62116991643454','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:39	4035	[DEBUG]	Checking manufacturer
2023-10-13	13:35:39	4035	[DEBUG]	Load a row
2023-10-13	13:35:39	4035	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:39	4035	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:35:39	4035	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:39	4035	[DEBUG]	Executed store
2023-10-13	13:35:39	4035	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:35:39	4035	[DEBUG]	Manufacturer exists
2023-10-13	13:35:39	4035	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:35:39	4035	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:39	4035	[DEBUG]	Executed store
2023-10-13	13:35:39	4035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863527','52')
2023-10-13	13:35:39	4035	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:39	4035	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:39	4035	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863527 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:39	4035	[DEBUG]	Store custom available field
2023-10-13	13:35:39	4035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863527,3,'',1)
2023-10-13	13:35:39	4035	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:39	4035	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:35:39	4035	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863527 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:39	4035	[DEBUG]	Store custom available field
2023-10-13	13:35:39	4035	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863527,6,'All',3)
2023-10-13	13:35:39	4035	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:39	4035	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:39	4035	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863526
2023-10-13	13:35:39	4035	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:39	4035	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863526\":[1863526,8,1,\"choisir la taille\"],\"1863527\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863526
2023-10-13	13:35:39	4035	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:39	4035	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863527
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:39	4036	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field taille
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:39	4036	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:39	4036	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:39	4036	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:39	4036	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:39	4036	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:39	4036	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field published
2023-10-13	13:35:39	4036	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:39	4036	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field override
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:39	4036	[DEBUG]	Use field value for field slug
2023-10-13	13:35:39	4036	[DEBUG]	Process line 4036
2023-10-13	13:35:39	4036	[DEBUG]	Load a row
2023-10-13	13:35:39	4036	[DEBUG]	Processing item: A_6830_208
2023-10-13	13:35:39	4036	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:39	4036	[DEBUG]	Processing product tax
2023-10-13	13:35:39	4036	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:39	4036	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:39	4036	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:39	4036	[DEBUG]	Query for Product
2023-10-13	13:35:39	4036	[DEBUG]	Executed store
2023-10-13	13:35:39	4036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6830_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:39	4036	[DEBUG]	Check product language entry
2023-10-13	13:35:39	4036	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863528
2023-10-13	13:35:39	4036	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:39	4036	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6830_208' AND `virtuemart_product_id` != 1863528
2023-10-13	13:35:39	4036	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:39	4036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863528, 'A_6830_208')
2023-10-13	13:35:39	4036	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:39	4036	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-continental-colle-a-boyaux-en-tube-a-25-g-pour-jante-carbon-aucune' AND `virtuemart_product_id` != 1863528
2023-10-13	13:35:39	4036	[DEBUG]	Query for ProductLang
2023-10-13	13:35:39	4036	[DEBUG]	Executed store
2023-10-13	13:35:39	4036	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.59485',`product_name`='Continental Continental Colle à boyaux en tube à 25 g pour jante carbon / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-continental-colle-a-boyaux-en-tube-a-25-g-pour-jante-carbon-aucune' WHERE `virtuemart_product_id` = '1863528'
2023-10-13	13:35:39	4036	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33643_continental_colle_à_boyaux_en_tube_à_25_g_pour_jante_carbon.jpg
2023-10-13	13:35:39	4036	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:39	4036	[DEBUG]	Process image file
2023-10-13	13:35:39	4036	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:39	4036	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:39	4036	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33643_continental_colle_à_boyaux_en_tube_à_25_g_pour_jante_carbon.jpg
2023-10-13	13:35:39	4036	[DEBUG]	Full name target: bcprisme/33643_continental_colle_à_boyaux_en_tube_à_25_g_pour_jante_carbon.jpg
2023-10-13	13:35:40	4036	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:40	4036	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33643_continental_colle_à_boyaux_en_tube_à_25_g_pour_jante_carbon.jpg'
2023-10-13	13:35:40	4036	[DEBUG]	Query for Media
2023-10-13	13:35:40	4036	[DEBUG]	Executed store
2023-10-13	13:35:40	4036	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33643_continental_colle_à_boyaux_en_tube_à_25_g_pour_jante_carbon.jpg',`file_url_thumb`='bcprisme/33643_continental_colle_à_boyaux_en_tube_à_25_g_pour_jante_carbon.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15306'
2023-10-13	13:35:40	4036	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:40	4036	[DEBUG]	Executed store
2023-10-13	13:35:40	4036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863528','15306','1')
2023-10-13	13:35:40	4036	[DEBUG]	Store product image relation
2023-10-13	13:35:40	4036	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:40	4036	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863528 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:40	4036	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:40	4036	[DEBUG]	Executed store
2023-10-13	13:35:40	4036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863528','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:40	4036	[DEBUG]	Checking manufacturer
2023-10-13	13:35:40	4036	[DEBUG]	Load a row
2023-10-13	13:35:40	4036	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:40	4036	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:35:40	4036	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:40	4036	[DEBUG]	Executed store
2023-10-13	13:35:40	4036	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:35:40	4036	[DEBUG]	Manufacturer exists
2023-10-13	13:35:40	4036	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:35:40	4036	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:40	4036	[DEBUG]	Executed store
2023-10-13	13:35:40	4036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863528','52')
2023-10-13	13:35:40	4036	[DEBUG]	Find the custom field ID
2023-10-13	13:35:40	4036	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:40	4036	[DEBUG]	No custom field ID found
2023-10-13	13:35:40	4036	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:40	4036	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:35:40	4036	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863528 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:40	4036	[DEBUG]	Store custom available field
2023-10-13	13:35:40	4036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863528,3,'0',1)
2023-10-13	13:35:40	4036	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:40	4036	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:40	4036	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863528 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:40	4036	[DEBUG]	Store custom available field
2023-10-13	13:35:40	4036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863528,6,'choisir la taille',3)
2023-10-13	13:35:40	4036	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:40	4036	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:40	4036	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:40	4036	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:40	4036	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863528 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:40	4036	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:40	4036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863528,8,1)
2023-10-13	13:35:40	4036	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:40	4036	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863528\":[1863528,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863528
2023-10-13	13:35:40	4036	[DEBUG]	Checking category
2023-10-13	13:35:40	4036	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:40	4036	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863528
2023-10-13	13:35:40	4036	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:40	4036	[DEBUG]	Executed store
2023-10-13	13:35:40	4036	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863528','7399')
2023-10-13	13:35:40	4036	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:40	4036	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863528 AND `virtuemart_category_id` NOT IN (7399)
2023-10-13	13:35:40	4036	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:40	4036	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863528
2023-10-13	13:35:40	4037	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:40	4037	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:40	4037	[DEBUG]	Use field value for field taille
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:40	4037	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:40	4037	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:40	4037	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:40	4037	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:40	4037	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:40	4037	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:40	4037	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:40	4037	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:40	4037	[DEBUG]	Use field value for field published
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:40	4037	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field override
2023-10-13	13:35:40	4037	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:40	4037	[DEBUG]	Use field value for field slug
2023-10-13	13:35:40	4037	[DEBUG]	Process line 4037
2023-10-13	13:35:40	4037	[DEBUG]	Load a row
2023-10-13	13:35:40	4037	[DEBUG]	Processing item: 4024066441405
2023-10-13	13:35:40	4037	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:40	4037	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:40	4037	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6830_208'
2023-10-13	13:35:40	4037	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:40	4037	[DEBUG]	Processing product tax
2023-10-13	13:35:40	4037	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:40	4037	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:40	4037	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:40	4037	[DEBUG]	Query for Product
2023-10-13	13:35:40	4037	[DEBUG]	Executed store
2023-10-13	13:35:40	4037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863528','4024066441405','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:40	4037	[DEBUG]	No parent found
2023-10-13	13:35:40	4037	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863528 AND customfield_value = 'stockable'
2023-10-13	13:35:40	4037	[DEBUG]	Check product language entry
2023-10-13	13:35:40	4037	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863529
2023-10-13	13:35:40	4037	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:40	4037	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4024066441405' AND `virtuemart_product_id` != 1863529
2023-10-13	13:35:40	4037	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:40	4037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863529, '4024066441405')
2023-10-13	13:35:40	4037	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:40	4037	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-continental-colle-a-boyaux-en-tube-a-25-g-pour-jante-carbon-aucune-all' AND `virtuemart_product_id` != 1863529
2023-10-13	13:35:40	4037	[DEBUG]	Query for ProductLang
2023-10-13	13:35:40	4037	[DEBUG]	Executed store
2023-10-13	13:35:40	4037	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Continental Continental Colle à boyaux en tube à 25 g pour jante carbon / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-continental-colle-a-boyaux-en-tube-a-25-g-pour-jante-carbon-aucune-all' WHERE `virtuemart_product_id` = '1863529'
2023-10-13	13:35:40	4037	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33643_continental_colle_à_boyaux_en_tube_à_25_g_pour_jante_carbon.jpg
2023-10-13	13:35:40	4037	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:40	4037	[DEBUG]	Process image file
2023-10-13	13:35:40	4037	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:40	4037	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:40	4037	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33643_continental_colle_à_boyaux_en_tube_à_25_g_pour_jante_carbon.jpg
2023-10-13	13:35:40	4037	[DEBUG]	Full name target: bcprisme/33643_continental_colle_à_boyaux_en_tube_à_25_g_pour_jante_carbon.jpg
2023-10-13	13:35:41	4037	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:41	4037	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33643_continental_colle_à_boyaux_en_tube_à_25_g_pour_jante_carbon.jpg'
2023-10-13	13:35:41	4037	[DEBUG]	Query for Media
2023-10-13	13:35:41	4037	[DEBUG]	Executed store
2023-10-13	13:35:41	4037	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33643_continental_colle_à_boyaux_en_tube_à_25_g_pour_jante_carbon.jpg',`file_url_thumb`='bcprisme/33643_continental_colle_à_boyaux_en_tube_à_25_g_pour_jante_carbon.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15306'
2023-10-13	13:35:41	4037	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:41	4037	[DEBUG]	Executed store
2023-10-13	13:35:41	4037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863529','15306','1')
2023-10-13	13:35:41	4037	[DEBUG]	Store product image relation
2023-10-13	13:35:41	4037	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:41	4037	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863529 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:41	4037	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:41	4037	[DEBUG]	Executed store
2023-10-13	13:35:41	4037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863529','0','8.26369545032498','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:41	4037	[DEBUG]	Checking manufacturer
2023-10-13	13:35:41	4037	[DEBUG]	Load a row
2023-10-13	13:35:41	4037	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:41	4037	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:35:41	4037	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:41	4037	[DEBUG]	Executed store
2023-10-13	13:35:41	4037	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:35:41	4037	[DEBUG]	Manufacturer exists
2023-10-13	13:35:41	4037	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:35:41	4037	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:41	4037	[DEBUG]	Executed store
2023-10-13	13:35:41	4037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863529','52')
2023-10-13	13:35:41	4037	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:41	4037	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:41	4037	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863529 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:41	4037	[DEBUG]	Store custom available field
2023-10-13	13:35:41	4037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863529,3,'',1)
2023-10-13	13:35:41	4037	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:41	4037	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:35:41	4037	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863529 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:41	4037	[DEBUG]	Store custom available field
2023-10-13	13:35:41	4037	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863529,6,'All',3)
2023-10-13	13:35:41	4037	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:41	4037	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:41	4037	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863528
2023-10-13	13:35:41	4037	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:41	4037	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863528\":[1863528,8,1,\"choisir la taille\"],\"1863529\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863528
2023-10-13	13:35:41	4037	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:41	4037	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863529
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:41	4038	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field taille
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:41	4038	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:41	4038	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:41	4038	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:41	4038	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:41	4038	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:41	4038	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field published
2023-10-13	13:35:41	4038	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:41	4038	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field override
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:41	4038	[DEBUG]	Use field value for field slug
2023-10-13	13:35:41	4038	[DEBUG]	Process line 4038
2023-10-13	13:35:41	4038	[DEBUG]	Load a row
2023-10-13	13:35:41	4038	[DEBUG]	Processing item: A_7243_0
2023-10-13	13:35:41	4038	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:41	4038	[DEBUG]	Processing product tax
2023-10-13	13:35:41	4038	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:41	4038	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:41	4038	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:41	4038	[DEBUG]	Query for Product
2023-10-13	13:35:41	4038	[DEBUG]	Executed store
2023-10-13	13:35:41	4038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7243_0','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:41	4038	[DEBUG]	Check product language entry
2023-10-13	13:35:41	4038	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863530
2023-10-13	13:35:41	4038	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:41	4038	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7243_0' AND `virtuemart_product_id` != 1863530
2023-10-13	13:35:41	4038	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:41	4038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863530, 'A_7243_0')
2023-10-13	13:35:41	4038	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:41	4038	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-fmb-bande-autocollante-pour-boyau-cyclo-cross-pour-10-boyaux-unique' AND `virtuemart_product_id` != 1863530
2023-10-13	13:35:41	4038	[DEBUG]	Query for ProductLang
2023-10-13	13:35:41	4038	[DEBUG]	Executed store
2023-10-13	13:35:41	4038	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 80360',`product_name`='Continental FMB bande autocollante pour boyau cyclo-Cross (pour 10 boyaux) / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-fmb-bande-autocollante-pour-boyau-cyclo-cross-pour-10-boyaux-unique' WHERE `virtuemart_product_id` = '1863530'
2023-10-13	13:35:41	4038	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34427_fmb_bande_autocollante_pour_boyau_cyclo-cross_(pour_10_boyaux).jpg
2023-10-13	13:35:41	4038	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:41	4038	[DEBUG]	Process image file
2023-10-13	13:35:41	4038	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:41	4038	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:41	4038	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34427_fmb_bande_autocollante_pour_boyau_cyclo-cross_(pour_10_boyaux).jpg
2023-10-13	13:35:41	4038	[DEBUG]	Full name target: bcprisme/34427_fmb_bande_autocollante_pour_boyau_cyclo-cross_(pour_10_boyaux).jpg
2023-10-13	13:35:42	4038	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:42	4038	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34427_fmb_bande_autocollante_pour_boyau_cyclo-cross_(pour_10_boyaux).jpg'
2023-10-13	13:35:42	4038	[DEBUG]	Query for Media
2023-10-13	13:35:42	4038	[DEBUG]	Executed store
2023-10-13	13:35:42	4038	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34427_fmb_bande_autocollante_pour_boyau_cyclo-cross_(pour_10_boyaux).jpg',`file_url_thumb`='bcprisme/34427_fmb_bande_autocollante_pour_boyau_cyclo-cross_(pour_10_boyaux).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147617'
2023-10-13	13:35:42	4038	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:42	4038	[DEBUG]	Executed store
2023-10-13	13:35:42	4038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863530','147617','1')
2023-10-13	13:35:42	4038	[DEBUG]	Store product image relation
2023-10-13	13:35:42	4038	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:42	4038	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863530 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:42	4038	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:42	4038	[DEBUG]	Executed store
2023-10-13	13:35:42	4038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863530','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:42	4038	[DEBUG]	Checking manufacturer
2023-10-13	13:35:42	4038	[DEBUG]	Load a row
2023-10-13	13:35:42	4038	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:42	4038	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:35:42	4038	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:42	4038	[DEBUG]	Executed store
2023-10-13	13:35:42	4038	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:35:42	4038	[DEBUG]	Manufacturer exists
2023-10-13	13:35:42	4038	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:35:42	4038	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:42	4038	[DEBUG]	Executed store
2023-10-13	13:35:42	4038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863530','52')
2023-10-13	13:35:42	4038	[DEBUG]	Find the custom field ID
2023-10-13	13:35:42	4038	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:42	4038	[DEBUG]	No custom field ID found
2023-10-13	13:35:42	4038	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:42	4038	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:35:42	4038	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863530 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:42	4038	[DEBUG]	Store custom available field
2023-10-13	13:35:42	4038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863530,3,'0',1)
2023-10-13	13:35:42	4038	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:42	4038	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:42	4038	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863530 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:42	4038	[DEBUG]	Store custom available field
2023-10-13	13:35:42	4038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863530,6,'choisir la taille',3)
2023-10-13	13:35:42	4038	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:42	4038	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:42	4038	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:42	4038	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:42	4038	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863530 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:42	4038	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:42	4038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863530,8,1)
2023-10-13	13:35:42	4038	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:42	4038	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863530\":[1863530,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863530
2023-10-13	13:35:42	4038	[DEBUG]	Checking category
2023-10-13	13:35:42	4038	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:42	4038	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863530
2023-10-13	13:35:42	4038	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:42	4038	[DEBUG]	Executed store
2023-10-13	13:35:42	4038	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863530','7399')
2023-10-13	13:35:42	4038	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:42	4038	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863530 AND `virtuemart_category_id` NOT IN (7399)
2023-10-13	13:35:42	4038	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:42	4038	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863530
2023-10-13	13:35:42	4039	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:42	4039	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:42	4039	[DEBUG]	Use field value for field taille
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:42	4039	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:42	4039	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:42	4039	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:42	4039	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:42	4039	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:42	4039	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:42	4039	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:42	4039	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:42	4039	[DEBUG]	Use field value for field published
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:42	4039	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field override
2023-10-13	13:35:42	4039	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:42	4039	[DEBUG]	Use field value for field slug
2023-10-13	13:35:42	4039	[DEBUG]	Process line 4039
2023-10-13	13:35:42	4039	[DEBUG]	Load a row
2023-10-13	13:35:42	4039	[DEBUG]	Processing item: 713757966429
2023-10-13	13:35:42	4039	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:42	4039	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:42	4039	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7243_0'
2023-10-13	13:35:42	4039	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:42	4039	[DEBUG]	Processing product tax
2023-10-13	13:35:42	4039	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:42	4039	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:42	4039	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:42	4039	[DEBUG]	Query for Product
2023-10-13	13:35:42	4039	[DEBUG]	Executed store
2023-10-13	13:35:42	4039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863530','713757966429','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:42	4039	[DEBUG]	No parent found
2023-10-13	13:35:42	4039	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863530 AND customfield_value = 'stockable'
2023-10-13	13:35:42	4039	[DEBUG]	Check product language entry
2023-10-13	13:35:42	4039	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863531
2023-10-13	13:35:42	4039	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:42	4039	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '713757966429' AND `virtuemart_product_id` != 1863531
2023-10-13	13:35:42	4039	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:42	4039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863531, '713757966429')
2023-10-13	13:35:42	4039	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:42	4039	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-fmb-bande-autocollante-pour-boyau-cyclo-cross-pour-10-boyaux-unique-all' AND `virtuemart_product_id` != 1863531
2023-10-13	13:35:42	4039	[DEBUG]	Query for ProductLang
2023-10-13	13:35:42	4039	[DEBUG]	Executed store
2023-10-13	13:35:42	4039	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Continental FMB bande autocollante pour boyau cyclo-Cross (pour 10 boyaux) / Unique (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-fmb-bande-autocollante-pour-boyau-cyclo-cross-pour-10-boyaux-unique-all' WHERE `virtuemart_product_id` = '1863531'
2023-10-13	13:35:42	4039	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34427_fmb_bande_autocollante_pour_boyau_cyclo-cross_(pour_10_boyaux).jpg
2023-10-13	13:35:42	4039	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:42	4039	[DEBUG]	Process image file
2023-10-13	13:35:42	4039	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:42	4039	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:42	4039	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34427_fmb_bande_autocollante_pour_boyau_cyclo-cross_(pour_10_boyaux).jpg
2023-10-13	13:35:42	4039	[DEBUG]	Full name target: bcprisme/34427_fmb_bande_autocollante_pour_boyau_cyclo-cross_(pour_10_boyaux).jpg
2023-10-13	13:35:43	4039	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:43	4039	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34427_fmb_bande_autocollante_pour_boyau_cyclo-cross_(pour_10_boyaux).jpg'
2023-10-13	13:35:43	4039	[DEBUG]	Query for Media
2023-10-13	13:35:43	4039	[DEBUG]	Executed store
2023-10-13	13:35:43	4039	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34427_fmb_bande_autocollante_pour_boyau_cyclo-cross_(pour_10_boyaux).jpg',`file_url_thumb`='bcprisme/34427_fmb_bande_autocollante_pour_boyau_cyclo-cross_(pour_10_boyaux).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147617'
2023-10-13	13:35:43	4039	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:43	4039	[DEBUG]	Executed store
2023-10-13	13:35:43	4039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863531','147617','1')
2023-10-13	13:35:43	4039	[DEBUG]	Store product image relation
2023-10-13	13:35:43	4039	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:43	4039	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863531 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:43	4039	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:43	4039	[DEBUG]	Executed store
2023-10-13	13:35:43	4039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863531','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:43	4039	[DEBUG]	Checking manufacturer
2023-10-13	13:35:43	4039	[DEBUG]	Load a row
2023-10-13	13:35:43	4039	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:43	4039	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:35:43	4039	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:43	4039	[DEBUG]	Executed store
2023-10-13	13:35:43	4039	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:35:43	4039	[DEBUG]	Manufacturer exists
2023-10-13	13:35:43	4039	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:35:43	4039	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:43	4039	[DEBUG]	Executed store
2023-10-13	13:35:43	4039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863531','52')
2023-10-13	13:35:43	4039	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:43	4039	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:43	4039	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863531 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:43	4039	[DEBUG]	Store custom available field
2023-10-13	13:35:43	4039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863531,3,'',1)
2023-10-13	13:35:43	4039	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:43	4039	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:35:43	4039	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863531 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:43	4039	[DEBUG]	Store custom available field
2023-10-13	13:35:43	4039	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863531,6,'All',3)
2023-10-13	13:35:43	4039	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:43	4039	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:43	4039	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863530
2023-10-13	13:35:43	4039	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:43	4039	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863530\":[1863530,8,1,\"choisir la taille\"],\"1863531\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863530
2023-10-13	13:35:43	4039	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:43	4039	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863531
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:43	4040	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field taille
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:43	4040	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:43	4040	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:43	4040	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:43	4040	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:43	4040	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:43	4040	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field published
2023-10-13	13:35:43	4040	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:43	4040	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field override
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:43	4040	[DEBUG]	Use field value for field slug
2023-10-13	13:35:43	4040	[DEBUG]	Process line 4040
2023-10-13	13:35:43	4040	[DEBUG]	Load a row
2023-10-13	13:35:43	4040	[DEBUG]	Processing item: A_1153_1
2023-10-13	13:35:43	4040	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:43	4040	[DEBUG]	Processing product tax
2023-10-13	13:35:43	4040	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:43	4040	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:43	4040	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:43	4040	[DEBUG]	Query for Product
2023-10-13	13:35:43	4040	[DEBUG]	Executed store
2023-10-13	13:35:43	4040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1153_1','0.005','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:43	4040	[DEBUG]	Check product language entry
2023-10-13	13:35:43	4040	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863532
2023-10-13	13:35:43	4040	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:43	4040	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1153_1' AND `virtuemart_product_id` != 1863532
2023-10-13	13:35:43	4040	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:43	4040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863532, 'A_1153_1')
2023-10-13	13:35:43	4040	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:43	4040	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-kit-patches-auto-adhesifs-6-unites-rustine-auto-collantes-noir' AND `virtuemart_product_id` != 1863532
2023-10-13	13:35:43	4040	[DEBUG]	Query for ProductLang
2023-10-13	13:35:43	4040	[DEBUG]	Executed store
2023-10-13	13:35:43	4040	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='6 unités<br>N° art fourn : YP3205MP',`product_name`='MSC Kit patches auto-adhesifs. 6 unités, rustine auto-collantes / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-kit-patches-auto-adhesifs-6-unites-rustine-auto-collantes-noir' WHERE `virtuemart_product_id` = '1863532'
2023-10-13	13:35:43	4040	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1478.jpg
2023-10-13	13:35:43	4040	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:43	4040	[DEBUG]	Process image file
2023-10-13	13:35:43	4040	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:43	4040	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:43	4040	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1478.jpg
2023-10-13	13:35:43	4040	[DEBUG]	Full name target: bcprisme/image_1478.jpg
2023-10-13	13:35:44	4040	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:44	4040	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1478.jpg'
2023-10-13	13:35:44	4040	[DEBUG]	Query for Media
2023-10-13	13:35:44	4040	[DEBUG]	Executed store
2023-10-13	13:35:44	4040	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1478.jpg',`file_url_thumb`='bcprisme/image_1478.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14466'
2023-10-13	13:35:44	4040	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:44	4040	[DEBUG]	Executed store
2023-10-13	13:35:44	4040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863532','14466','1')
2023-10-13	13:35:44	4040	[DEBUG]	Store product image relation
2023-10-13	13:35:44	4040	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:44	4040	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863532 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:44	4040	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:44	4040	[DEBUG]	Executed store
2023-10-13	13:35:44	4040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863532','0','2.69266480965645','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:44	4040	[DEBUG]	Checking manufacturer
2023-10-13	13:35:44	4040	[DEBUG]	Load a row
2023-10-13	13:35:44	4040	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:44	4040	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:44	4040	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:44	4040	[DEBUG]	Executed store
2023-10-13	13:35:44	4040	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:44	4040	[DEBUG]	Manufacturer exists
2023-10-13	13:35:44	4040	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:44	4040	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:44	4040	[DEBUG]	Executed store
2023-10-13	13:35:44	4040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863532','32')
2023-10-13	13:35:44	4040	[DEBUG]	Find the custom field ID
2023-10-13	13:35:44	4040	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:44	4040	[DEBUG]	No custom field ID found
2023-10-13	13:35:44	4040	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:44	4040	[DEBUG]	Get existing row with customfield value 2.39333333333333
2023-10-13	13:35:44	4040	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863532 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:44	4040	[DEBUG]	Store custom available field
2023-10-13	13:35:44	4040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863532,3,'2.39333333333333',1)
2023-10-13	13:35:44	4040	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:44	4040	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:44	4040	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863532 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:44	4040	[DEBUG]	Store custom available field
2023-10-13	13:35:44	4040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863532,6,'choisir la taille',3)
2023-10-13	13:35:44	4040	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:44	4040	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:44	4040	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:44	4040	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:44	4040	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863532 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:44	4040	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:44	4040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863532,8,1)
2023-10-13	13:35:44	4040	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:44	4040	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863532\":[1863532,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863532
2023-10-13	13:35:44	4040	[DEBUG]	Checking category
2023-10-13	13:35:44	4040	[DEBUG]	Check if category path exists: KIT REPARATION  - REIFEN + SCHLAUCH REPARATUR KIT
2023-10-13	13:35:44	4040	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'KIT REPARATION  - REIFEN + SCHLAUCH REPARATUR KIT' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:35:44	4040	[DEBUG]	Query for Category
2023-10-13	13:35:44	4040	[DEBUG]	Executed store
2023-10-13	13:35:44	4040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','4','0','1','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:44	4040	[DEBUG]	Category publish 1
2023-10-13	13:35:44	4040	[DEBUG]	Check the category language
2023-10-13	13:35:44	4040	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7400
2023-10-13	13:35:44	4040	[DEBUG]	Check the category slug
2023-10-13	13:35:44	4040	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'kit-reparation---reifen-schlauch-reparatur-kit' AND `virtuemart_category_id` != 7400
2023-10-13	13:35:44	4040	[DEBUG]	Check the category slug
2023-10-13	13:35:44	4040	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'kit-reparation---reifen-schlauch-reparatur-kit' AND `virtuemart_category_id` != 7400
2023-10-13	13:35:44	4040	[DEBUG]	Add the category language entry
2023-10-13	13:35:44	4040	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7400, 'kit-reparation---reifen-schlauch-reparatur-kit')
2023-10-13	13:35:44	4040	[DEBUG]	Query for CategoryLang
2023-10-13	13:35:44	4040	[DEBUG]	Executed store
2023-10-13	13:35:44	4040	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='KIT REPARATION  - REIFEN + SCHLAUCH REPARATUR KIT',`metadesc`='',`metakey`='',`customtitle`='',`slug`='kit-reparation---reifen-schlauch-reparatur-kit' WHERE `virtuemart_category_id` = '7400'
2023-10-13	13:35:44	4040	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:35:44	4040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7400','0')
2023-10-13	13:35:44	4040	[DEBUG]	Update has field for parent category
2023-10-13	13:35:44	4040	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:35:44	4040	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:44	4040	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863532
2023-10-13	13:35:44	4040	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:44	4040	[DEBUG]	Executed store
2023-10-13	13:35:44	4040	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863532','7400')
2023-10-13	13:35:44	4040	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:44	4040	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863532 AND `virtuemart_category_id` NOT IN (7400)
2023-10-13	13:35:44	4040	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:44	4040	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863532
2023-10-13	13:35:44	4041	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:44	4041	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:44	4041	[DEBUG]	Use field value for field taille
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:44	4041	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:44	4041	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:44	4041	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:44	4041	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:44	4041	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:44	4041	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:44	4041	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:44	4041	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:44	4041	[DEBUG]	Use field value for field published
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:44	4041	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field override
2023-10-13	13:35:44	4041	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:44	4041	[DEBUG]	Use field value for field slug
2023-10-13	13:35:44	4041	[DEBUG]	Process line 4041
2023-10-13	13:35:44	4041	[DEBUG]	Load a row
2023-10-13	13:35:44	4041	[DEBUG]	Processing item: 1000000015935
2023-10-13	13:35:44	4041	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:44	4041	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:44	4041	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1153_1'
2023-10-13	13:35:44	4041	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:44	4041	[DEBUG]	Processing product tax
2023-10-13	13:35:44	4041	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:44	4041	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:44	4041	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:44	4041	[DEBUG]	Query for Product
2023-10-13	13:35:44	4041	[DEBUG]	Executed store
2023-10-13	13:35:44	4041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863532','1000000015935','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:44	4041	[DEBUG]	No parent found
2023-10-13	13:35:44	4041	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863532 AND customfield_value = 'stockable'
2023-10-13	13:35:44	4041	[DEBUG]	Check product language entry
2023-10-13	13:35:44	4041	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863533
2023-10-13	13:35:44	4041	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:44	4041	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000015935' AND `virtuemart_product_id` != 1863533
2023-10-13	13:35:44	4041	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:44	4041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863533, '1000000015935')
2023-10-13	13:35:44	4041	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:44	4041	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-kit-patches-auto-adhesifs-6-unites-rustine-auto-collantes-noir-unitaire' AND `virtuemart_product_id` != 1863533
2023-10-13	13:35:44	4041	[DEBUG]	Query for ProductLang
2023-10-13	13:35:44	4041	[DEBUG]	Executed store
2023-10-13	13:35:44	4041	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Kit patches auto-adhesifs. 6 unités, rustine auto-collantes / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-kit-patches-auto-adhesifs-6-unites-rustine-auto-collantes-noir-unitaire' WHERE `virtuemart_product_id` = '1863533'
2023-10-13	13:35:44	4041	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1478.jpg
2023-10-13	13:35:44	4041	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:44	4041	[DEBUG]	Process image file
2023-10-13	13:35:44	4041	[DEBUG]	Identity string: ffd8ffe000104a46494600010200006400640000
2023-10-13	13:35:44	4041	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:44	4041	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_1478.jpg
2023-10-13	13:35:44	4041	[DEBUG]	Full name target: bcprisme/image_1478.jpg
2023-10-13	13:35:45	4041	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:45	4041	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_1478.jpg'
2023-10-13	13:35:45	4041	[DEBUG]	Query for Media
2023-10-13	13:35:45	4041	[DEBUG]	Executed store
2023-10-13	13:35:45	4041	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_1478.jpg',`file_url_thumb`='bcprisme/image_1478.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14466'
2023-10-13	13:35:45	4041	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:45	4041	[DEBUG]	Executed store
2023-10-13	13:35:45	4041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863533','14466','1')
2023-10-13	13:35:45	4041	[DEBUG]	Store product image relation
2023-10-13	13:35:45	4041	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:45	4041	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863533 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:45	4041	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:45	4041	[DEBUG]	Executed store
2023-10-13	13:35:45	4041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863533','0','2.69266480965645','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:45	4041	[DEBUG]	Checking manufacturer
2023-10-13	13:35:45	4041	[DEBUG]	Load a row
2023-10-13	13:35:45	4041	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:45	4041	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:45	4041	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:45	4041	[DEBUG]	Executed store
2023-10-13	13:35:45	4041	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:45	4041	[DEBUG]	Manufacturer exists
2023-10-13	13:35:45	4041	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:45	4041	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:45	4041	[DEBUG]	Executed store
2023-10-13	13:35:45	4041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863533','32')
2023-10-13	13:35:45	4041	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:45	4041	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:45	4041	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863533 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:45	4041	[DEBUG]	Store custom available field
2023-10-13	13:35:45	4041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863533,3,'',1)
2023-10-13	13:35:45	4041	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:45	4041	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:35:45	4041	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863533 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:45	4041	[DEBUG]	Store custom available field
2023-10-13	13:35:45	4041	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863533,6,'Unitaire',3)
2023-10-13	13:35:45	4041	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:45	4041	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:45	4041	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863532
2023-10-13	13:35:45	4041	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:45	4041	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863532\":[1863532,8,1,\"choisir la taille\"],\"1863533\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863532
2023-10-13	13:35:45	4041	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:45	4041	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863533
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:45	4042	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field taille
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:45	4042	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:45	4042	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:45	4042	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:45	4042	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:45	4042	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:45	4042	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field published
2023-10-13	13:35:45	4042	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:45	4042	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field override
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:45	4042	[DEBUG]	Use field value for field slug
2023-10-13	13:35:45	4042	[DEBUG]	Process line 4042
2023-10-13	13:35:45	4042	[DEBUG]	Load a row
2023-10-13	13:35:45	4042	[DEBUG]	Processing item: A_1552_0
2023-10-13	13:35:45	4042	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:45	4042	[DEBUG]	Processing product tax
2023-10-13	13:35:45	4042	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:45	4042	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:45	4042	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:45	4042	[DEBUG]	Query for Product
2023-10-13	13:35:45	4042	[DEBUG]	Executed store
2023-10-13	13:35:45	4042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_1552_0','0.005','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:45	4042	[DEBUG]	Check product language entry
2023-10-13	13:35:45	4042	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863534
2023-10-13	13:35:45	4042	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:45	4042	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_1552_0' AND `virtuemart_product_id` != 1863534
2023-10-13	13:35:45	4042	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:45	4042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863534, 'A_1552_0')
2023-10-13	13:35:45	4042	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:45	4042	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-kit-patches-auto-adhesifs-unique' AND `virtuemart_product_id` != 1863534
2023-10-13	13:35:45	4042	[DEBUG]	Query for ProductLang
2023-10-13	13:35:45	4042	[DEBUG]	Executed store
2023-10-13	13:35:45	4042	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Boîte de Patches auto-adhésifs, 30 pièces<br>N° art fourn : QIXPATCH',`product_name`='MSC Kit patches auto-adhésifs / Unique',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-kit-patches-auto-adhesifs-unique' WHERE `virtuemart_product_id` = '1863534'
2023-10-13	13:35:45	4042	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3856.jpg
2023-10-13	13:35:45	4042	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:45	4042	[DEBUG]	Process image file
2023-10-13	13:35:45	4042	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:45	4042	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:45	4042	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3856.jpg
2023-10-13	13:35:45	4042	[DEBUG]	Full name target: bcprisme/image_3856.jpg
2023-10-13	13:35:46	4042	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:46	4042	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3856.jpg'
2023-10-13	13:35:46	4042	[DEBUG]	Query for Media
2023-10-13	13:35:46	4042	[DEBUG]	Executed store
2023-10-13	13:35:46	4042	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3856.jpg',`file_url_thumb`='bcprisme/image_3856.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14467'
2023-10-13	13:35:46	4042	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:46	4042	[DEBUG]	Executed store
2023-10-13	13:35:46	4042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863534','14467','1')
2023-10-13	13:35:46	4042	[DEBUG]	Store product image relation
2023-10-13	13:35:46	4042	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:46	4042	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863534 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:46	4042	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:46	4042	[DEBUG]	Executed store
2023-10-13	13:35:46	4042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863534','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:46	4042	[DEBUG]	Checking manufacturer
2023-10-13	13:35:46	4042	[DEBUG]	Load a row
2023-10-13	13:35:46	4042	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:46	4042	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:46	4042	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:46	4042	[DEBUG]	Executed store
2023-10-13	13:35:46	4042	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:46	4042	[DEBUG]	Manufacturer exists
2023-10-13	13:35:46	4042	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:46	4042	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:46	4042	[DEBUG]	Executed store
2023-10-13	13:35:46	4042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863534','32')
2023-10-13	13:35:46	4042	[DEBUG]	Find the custom field ID
2023-10-13	13:35:46	4042	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:46	4042	[DEBUG]	No custom field ID found
2023-10-13	13:35:46	4042	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:46	4042	[DEBUG]	Get existing row with customfield value 4.4875
2023-10-13	13:35:46	4042	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863534 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:46	4042	[DEBUG]	Store custom available field
2023-10-13	13:35:46	4042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863534,3,'4.4875',1)
2023-10-13	13:35:46	4042	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:46	4042	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:46	4042	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863534 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:46	4042	[DEBUG]	Store custom available field
2023-10-13	13:35:46	4042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863534,6,'choisir la taille',3)
2023-10-13	13:35:46	4042	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:46	4042	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:46	4042	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:46	4042	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:46	4042	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863534 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:46	4042	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:46	4042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863534,8,1)
2023-10-13	13:35:46	4042	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:46	4042	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863534\":[1863534,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863534
2023-10-13	13:35:46	4042	[DEBUG]	Checking category
2023-10-13	13:35:46	4042	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:46	4042	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863534
2023-10-13	13:35:46	4042	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:46	4042	[DEBUG]	Executed store
2023-10-13	13:35:46	4042	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863534','7400')
2023-10-13	13:35:46	4042	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:46	4042	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863534 AND `virtuemart_category_id` NOT IN (7400)
2023-10-13	13:35:46	4042	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:46	4042	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863534
2023-10-13	13:35:46	4043	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:46	4043	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:46	4043	[DEBUG]	Use field value for field taille
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:46	4043	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:46	4043	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:46	4043	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:46	4043	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:46	4043	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:46	4043	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:46	4043	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:46	4043	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:46	4043	[DEBUG]	Use field value for field published
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:46	4043	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field override
2023-10-13	13:35:46	4043	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:46	4043	[DEBUG]	Use field value for field slug
2023-10-13	13:35:46	4043	[DEBUG]	Process line 4043
2023-10-13	13:35:46	4043	[DEBUG]	Load a row
2023-10-13	13:35:46	4043	[DEBUG]	Processing item: 1000000027532
2023-10-13	13:35:46	4043	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:46	4043	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:46	4043	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_1552_0'
2023-10-13	13:35:46	4043	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:46	4043	[DEBUG]	Processing product tax
2023-10-13	13:35:46	4043	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:46	4043	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:46	4043	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:46	4043	[DEBUG]	Query for Product
2023-10-13	13:35:46	4043	[DEBUG]	Executed store
2023-10-13	13:35:46	4043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863534','1000000027532','0','KG','M','','22','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:46	4043	[DEBUG]	No parent found
2023-10-13	13:35:46	4043	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863534 AND customfield_value = 'stockable'
2023-10-13	13:35:46	4043	[DEBUG]	Check product language entry
2023-10-13	13:35:46	4043	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863535
2023-10-13	13:35:46	4043	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:46	4043	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000027532' AND `virtuemart_product_id` != 1863535
2023-10-13	13:35:46	4043	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:46	4043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863535, '1000000027532')
2023-10-13	13:35:46	4043	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:46	4043	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-kit-patches-auto-adhesifs-unique-unitaire' AND `virtuemart_product_id` != 1863535
2023-10-13	13:35:46	4043	[DEBUG]	Query for ProductLang
2023-10-13	13:35:46	4043	[DEBUG]	Executed store
2023-10-13	13:35:46	4043	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Kit patches auto-adhésifs / Unique (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-kit-patches-auto-adhesifs-unique-unitaire' WHERE `virtuemart_product_id` = '1863535'
2023-10-13	13:35:46	4043	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3856.jpg
2023-10-13	13:35:46	4043	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:46	4043	[DEBUG]	Process image file
2023-10-13	13:35:46	4043	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:46	4043	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:46	4043	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_3856.jpg
2023-10-13	13:35:46	4043	[DEBUG]	Full name target: bcprisme/image_3856.jpg
2023-10-13	13:35:47	4043	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:47	4043	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_3856.jpg'
2023-10-13	13:35:47	4043	[DEBUG]	Query for Media
2023-10-13	13:35:47	4043	[DEBUG]	Executed store
2023-10-13	13:35:47	4043	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_3856.jpg',`file_url_thumb`='bcprisme/image_3856.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14467'
2023-10-13	13:35:47	4043	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:47	4043	[DEBUG]	Executed store
2023-10-13	13:35:47	4043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863535','14467','1')
2023-10-13	13:35:47	4043	[DEBUG]	Store product image relation
2023-10-13	13:35:47	4043	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:47	4043	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863535 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:47	4043	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:47	4043	[DEBUG]	Executed store
2023-10-13	13:35:47	4043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863535','0','4.54967502321263','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:47	4043	[DEBUG]	Checking manufacturer
2023-10-13	13:35:47	4043	[DEBUG]	Load a row
2023-10-13	13:35:47	4043	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:47	4043	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:47	4043	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:47	4043	[DEBUG]	Executed store
2023-10-13	13:35:47	4043	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:47	4043	[DEBUG]	Manufacturer exists
2023-10-13	13:35:47	4043	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:47	4043	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:47	4043	[DEBUG]	Executed store
2023-10-13	13:35:47	4043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863535','32')
2023-10-13	13:35:47	4043	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:47	4043	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:47	4043	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863535 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:47	4043	[DEBUG]	Store custom available field
2023-10-13	13:35:47	4043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863535,3,'',1)
2023-10-13	13:35:47	4043	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:47	4043	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:35:47	4043	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863535 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:47	4043	[DEBUG]	Store custom available field
2023-10-13	13:35:47	4043	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863535,6,'Unitaire',3)
2023-10-13	13:35:47	4043	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:47	4043	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:47	4043	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863534
2023-10-13	13:35:47	4043	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:47	4043	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863534\":[1863534,8,1,\"choisir la taille\"],\"1863535\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863534
2023-10-13	13:35:47	4043	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:47	4043	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863535
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:47	4044	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field taille
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:47	4044	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:47	4044	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:47	4044	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:47	4044	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:47	4044	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:47	4044	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field published
2023-10-13	13:35:47	4044	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:47	4044	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field override
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:47	4044	[DEBUG]	Use field value for field slug
2023-10-13	13:35:47	4044	[DEBUG]	Process line 4044
2023-10-13	13:35:47	4044	[DEBUG]	Load a row
2023-10-13	13:35:47	4044	[DEBUG]	Processing item: A_3201_7
2023-10-13	13:35:47	4044	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:47	4044	[DEBUG]	Processing product tax
2023-10-13	13:35:47	4044	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:47	4044	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:47	4044	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:47	4044	[DEBUG]	Query for Product
2023-10-13	13:35:47	4044	[DEBUG]	Executed store
2023-10-13	13:35:47	4044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3201_7','0.06','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:47	4044	[DEBUG]	Check product language entry
2023-10-13	13:35:47	4044	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863536
2023-10-13	13:35:47	4044	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:47	4044	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3201_7' AND `virtuemart_product_id` != 1863536
2023-10-13	13:35:47	4044	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:47	4044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863536, 'A_3201_7')
2023-10-13	13:35:47	4044	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:47	4044	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-jeux-de-reparation-chambre-a-air-avec-6-rustines-colle-et-grattoir-rouge' AND `virtuemart_product_id` != 1863536
2023-10-13	13:35:47	4044	[DEBUG]	Query for ProductLang
2023-10-13	13:35:47	4044	[DEBUG]	Executed store
2023-10-13	13:35:47	4044	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Jeux de réparation chambre-à-air avec 6 rustines, colle et grattoir<br>N° art fourn : PK20097',`product_name`='MSC Jeux de réparation chambre-à-air avec 6 rustines, colle et grattoir / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-jeux-de-reparation-chambre-a-air-avec-6-rustines-colle-et-grattoir-rouge' WHERE `virtuemart_product_id` = '1863536'
2023-10-13	13:35:47	4044	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15569.jpg
2023-10-13	13:35:47	4044	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:47	4044	[DEBUG]	Process image file
2023-10-13	13:35:47	4044	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:47	4044	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:47	4044	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15569.jpg
2023-10-13	13:35:47	4044	[DEBUG]	Full name target: bcprisme/image_15569.jpg
2023-10-13	13:35:48	4044	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:48	4044	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15569.jpg'
2023-10-13	13:35:48	4044	[DEBUG]	Query for Media
2023-10-13	13:35:48	4044	[DEBUG]	Executed store
2023-10-13	13:35:48	4044	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15569.jpg',`file_url_thumb`='bcprisme/image_15569.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14470'
2023-10-13	13:35:48	4044	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:48	4044	[DEBUG]	Executed store
2023-10-13	13:35:48	4044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863536','14470','1')
2023-10-13	13:35:48	4044	[DEBUG]	Store product image relation
2023-10-13	13:35:48	4044	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:48	4044	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863536 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:48	4044	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:48	4044	[DEBUG]	Executed store
2023-10-13	13:35:48	4044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863536','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:48	4044	[DEBUG]	Checking manufacturer
2023-10-13	13:35:48	4044	[DEBUG]	Load a row
2023-10-13	13:35:48	4044	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:48	4044	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:48	4044	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:48	4044	[DEBUG]	Executed store
2023-10-13	13:35:48	4044	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:48	4044	[DEBUG]	Manufacturer exists
2023-10-13	13:35:48	4044	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:48	4044	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:48	4044	[DEBUG]	Executed store
2023-10-13	13:35:48	4044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863536','32')
2023-10-13	13:35:48	4044	[DEBUG]	Find the custom field ID
2023-10-13	13:35:48	4044	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:48	4044	[DEBUG]	No custom field ID found
2023-10-13	13:35:48	4044	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:48	4044	[DEBUG]	Get existing row with customfield value 4.78666666666667
2023-10-13	13:35:48	4044	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863536 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:48	4044	[DEBUG]	Store custom available field
2023-10-13	13:35:48	4044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863536,3,'4.78666666666667',1)
2023-10-13	13:35:48	4044	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:48	4044	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:48	4044	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863536 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:48	4044	[DEBUG]	Store custom available field
2023-10-13	13:35:48	4044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863536,6,'choisir la taille',3)
2023-10-13	13:35:48	4044	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:48	4044	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:48	4044	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:48	4044	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:48	4044	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863536 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:48	4044	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:48	4044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863536,8,1)
2023-10-13	13:35:48	4044	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:48	4044	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863536\":[1863536,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863536
2023-10-13	13:35:48	4044	[DEBUG]	Checking category
2023-10-13	13:35:48	4044	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:48	4044	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863536
2023-10-13	13:35:48	4044	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:48	4044	[DEBUG]	Executed store
2023-10-13	13:35:48	4044	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863536','7400')
2023-10-13	13:35:48	4044	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:48	4044	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863536 AND `virtuemart_category_id` NOT IN (7400)
2023-10-13	13:35:48	4044	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:48	4044	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863536
2023-10-13	13:35:48	4045	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:48	4045	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:48	4045	[DEBUG]	Use field value for field taille
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:48	4045	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:48	4045	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:48	4045	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:48	4045	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:48	4045	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:48	4045	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:48	4045	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:48	4045	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:48	4045	[DEBUG]	Use field value for field published
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:48	4045	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field override
2023-10-13	13:35:48	4045	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:48	4045	[DEBUG]	Use field value for field slug
2023-10-13	13:35:48	4045	[DEBUG]	Process line 4045
2023-10-13	13:35:48	4045	[DEBUG]	Load a row
2023-10-13	13:35:48	4045	[DEBUG]	Processing item: 8436550193954
2023-10-13	13:35:48	4045	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:48	4045	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:48	4045	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3201_7'
2023-10-13	13:35:48	4045	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:48	4045	[DEBUG]	Processing product tax
2023-10-13	13:35:48	4045	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:48	4045	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:48	4045	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:48	4045	[DEBUG]	Query for Product
2023-10-13	13:35:48	4045	[DEBUG]	Executed store
2023-10-13	13:35:48	4045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863536','8436550193954','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:48	4045	[DEBUG]	No parent found
2023-10-13	13:35:48	4045	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863536 AND customfield_value = 'stockable'
2023-10-13	13:35:48	4045	[DEBUG]	Check product language entry
2023-10-13	13:35:48	4045	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863537
2023-10-13	13:35:48	4045	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:48	4045	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550193954' AND `virtuemart_product_id` != 1863537
2023-10-13	13:35:48	4045	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:48	4045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863537, '8436550193954')
2023-10-13	13:35:48	4045	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:48	4045	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-jeux-de-reparation-chambre-a-air-avec-6-rustines-colle-et-grattoir-rouge-unitaire' AND `virtuemart_product_id` != 1863537
2023-10-13	13:35:48	4045	[DEBUG]	Query for ProductLang
2023-10-13	13:35:48	4045	[DEBUG]	Executed store
2023-10-13	13:35:48	4045	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Jeux de réparation chambre-à-air avec 6 rustines, colle et grattoir / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-jeux-de-reparation-chambre-a-air-avec-6-rustines-colle-et-grattoir-rouge-unitaire' WHERE `virtuemart_product_id` = '1863537'
2023-10-13	13:35:48	4045	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15569.jpg
2023-10-13	13:35:48	4045	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:48	4045	[DEBUG]	Process image file
2023-10-13	13:35:48	4045	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:48	4045	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:48	4045	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15569.jpg
2023-10-13	13:35:48	4045	[DEBUG]	Full name target: bcprisme/image_15569.jpg
2023-10-13	13:35:49	4045	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:49	4045	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15569.jpg'
2023-10-13	13:35:49	4045	[DEBUG]	Query for Media
2023-10-13	13:35:49	4045	[DEBUG]	Executed store
2023-10-13	13:35:49	4045	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15569.jpg',`file_url_thumb`='bcprisme/image_15569.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14470'
2023-10-13	13:35:49	4045	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:49	4045	[DEBUG]	Executed store
2023-10-13	13:35:49	4045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863537','14470','1')
2023-10-13	13:35:49	4045	[DEBUG]	Store product image relation
2023-10-13	13:35:49	4045	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:49	4045	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863537 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:49	4045	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:49	4045	[DEBUG]	Executed store
2023-10-13	13:35:49	4045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863537','0','7.33519034354689','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:49	4045	[DEBUG]	Checking manufacturer
2023-10-13	13:35:49	4045	[DEBUG]	Load a row
2023-10-13	13:35:49	4045	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:49	4045	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:49	4045	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:49	4045	[DEBUG]	Executed store
2023-10-13	13:35:49	4045	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:49	4045	[DEBUG]	Manufacturer exists
2023-10-13	13:35:49	4045	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:49	4045	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:49	4045	[DEBUG]	Executed store
2023-10-13	13:35:49	4045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863537','32')
2023-10-13	13:35:49	4045	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:49	4045	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:49	4045	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863537 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:49	4045	[DEBUG]	Store custom available field
2023-10-13	13:35:49	4045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863537,3,'',1)
2023-10-13	13:35:49	4045	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:49	4045	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:35:49	4045	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863537 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:49	4045	[DEBUG]	Store custom available field
2023-10-13	13:35:49	4045	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863537,6,'Unitaire',3)
2023-10-13	13:35:49	4045	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:49	4045	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:49	4045	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863536
2023-10-13	13:35:49	4045	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:49	4045	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863536\":[1863536,8,1,\"choisir la taille\"],\"1863537\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863536
2023-10-13	13:35:49	4045	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:49	4045	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863537
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:49	4046	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field taille
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:49	4046	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:49	4046	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:49	4046	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:49	4046	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:49	4046	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:49	4046	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field published
2023-10-13	13:35:49	4046	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:49	4046	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field override
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:49	4046	[DEBUG]	Use field value for field slug
2023-10-13	13:35:49	4046	[DEBUG]	Process line 4046
2023-10-13	13:35:49	4046	[DEBUG]	Load a row
2023-10-13	13:35:49	4046	[DEBUG]	Processing item: A_3202_7
2023-10-13	13:35:49	4046	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:49	4046	[DEBUG]	Processing product tax
2023-10-13	13:35:49	4046	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:49	4046	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:49	4046	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:49	4046	[DEBUG]	Query for Product
2023-10-13	13:35:49	4046	[DEBUG]	Executed store
2023-10-13	13:35:49	4046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3202_7','0.093','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:49	4046	[DEBUG]	Check product language entry
2023-10-13	13:35:49	4046	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863538
2023-10-13	13:35:49	4046	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:49	4046	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3202_7' AND `virtuemart_product_id` != 1863538
2023-10-13	13:35:49	4046	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:49	4046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863538, 'A_3202_7')
2023-10-13	13:35:49	4046	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:49	4046	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-jeux-de-patch-avec-rustines-demonte-pneu-colle-rouge' AND `virtuemart_product_id` != 1863538
2023-10-13	13:35:49	4046	[DEBUG]	Query for ProductLang
2023-10-13	13:35:49	4046	[DEBUG]	Executed store
2023-10-13	13:35:49	4046	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Jeux de patch avec rustines, démonte-pneu, colle, ..<br>N° art fourn : PKWL20099',`product_name`='MSC Jeux de patch avec rustines, démonte-pneu, colle, ... / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-jeux-de-patch-avec-rustines-demonte-pneu-colle-rouge' WHERE `virtuemart_product_id` = '1863538'
2023-10-13	13:35:49	4046	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15570.jpg
2023-10-13	13:35:49	4046	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:49	4046	[DEBUG]	Process image file
2023-10-13	13:35:49	4046	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:49	4046	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:49	4046	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15570.jpg
2023-10-13	13:35:49	4046	[DEBUG]	Full name target: bcprisme/image_15570.jpg
2023-10-13	13:35:50	4046	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:50	4046	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15570.jpg'
2023-10-13	13:35:50	4046	[DEBUG]	Query for Media
2023-10-13	13:35:50	4046	[DEBUG]	Executed store
2023-10-13	13:35:50	4046	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15570.jpg',`file_url_thumb`='bcprisme/image_15570.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14471'
2023-10-13	13:35:50	4046	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:50	4046	[DEBUG]	Executed store
2023-10-13	13:35:50	4046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863538','14471','1')
2023-10-13	13:35:50	4046	[DEBUG]	Store product image relation
2023-10-13	13:35:50	4046	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:50	4046	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863538 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:50	4046	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:50	4046	[DEBUG]	Executed store
2023-10-13	13:35:50	4046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863538','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:50	4046	[DEBUG]	Checking manufacturer
2023-10-13	13:35:50	4046	[DEBUG]	Load a row
2023-10-13	13:35:50	4046	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:50	4046	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:50	4046	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:50	4046	[DEBUG]	Executed store
2023-10-13	13:35:50	4046	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:50	4046	[DEBUG]	Manufacturer exists
2023-10-13	13:35:50	4046	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:50	4046	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:50	4046	[DEBUG]	Executed store
2023-10-13	13:35:50	4046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863538','32')
2023-10-13	13:35:50	4046	[DEBUG]	Find the custom field ID
2023-10-13	13:35:50	4046	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:50	4046	[DEBUG]	No custom field ID found
2023-10-13	13:35:50	4046	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:50	4046	[DEBUG]	Get existing row with customfield value 6.88083333333333
2023-10-13	13:35:50	4046	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863538 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:50	4046	[DEBUG]	Store custom available field
2023-10-13	13:35:50	4046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863538,3,'6.88083333333333',1)
2023-10-13	13:35:50	4046	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:50	4046	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:50	4046	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863538 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:50	4046	[DEBUG]	Store custom available field
2023-10-13	13:35:50	4046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863538,6,'choisir la taille',3)
2023-10-13	13:35:50	4046	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:50	4046	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:50	4046	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:50	4046	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:50	4046	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863538 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:50	4046	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:50	4046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863538,8,1)
2023-10-13	13:35:50	4046	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:50	4046	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863538\":[1863538,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863538
2023-10-13	13:35:50	4046	[DEBUG]	Checking category
2023-10-13	13:35:50	4046	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:50	4046	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863538
2023-10-13	13:35:50	4046	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:50	4046	[DEBUG]	Executed store
2023-10-13	13:35:50	4046	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863538','7400')
2023-10-13	13:35:50	4046	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:50	4046	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863538 AND `virtuemart_category_id` NOT IN (7400)
2023-10-13	13:35:50	4046	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:50	4046	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863538
2023-10-13	13:35:50	4047	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:50	4047	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:50	4047	[DEBUG]	Use field value for field taille
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:50	4047	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:50	4047	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:50	4047	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:50	4047	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:50	4047	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:50	4047	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:50	4047	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:50	4047	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:50	4047	[DEBUG]	Use field value for field published
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:50	4047	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field override
2023-10-13	13:35:50	4047	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:50	4047	[DEBUG]	Use field value for field slug
2023-10-13	13:35:50	4047	[DEBUG]	Process line 4047
2023-10-13	13:35:50	4047	[DEBUG]	Load a row
2023-10-13	13:35:50	4047	[DEBUG]	Processing item: 8436550193961
2023-10-13	13:35:50	4047	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:50	4047	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:50	4047	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3202_7'
2023-10-13	13:35:50	4047	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:50	4047	[DEBUG]	Processing product tax
2023-10-13	13:35:50	4047	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:50	4047	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:50	4047	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:50	4047	[DEBUG]	Query for Product
2023-10-13	13:35:50	4047	[DEBUG]	Executed store
2023-10-13	13:35:50	4047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863538','8436550193961','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:50	4047	[DEBUG]	No parent found
2023-10-13	13:35:50	4047	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863538 AND customfield_value = 'stockable'
2023-10-13	13:35:50	4047	[DEBUG]	Check product language entry
2023-10-13	13:35:50	4047	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863539
2023-10-13	13:35:50	4047	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:50	4047	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550193961' AND `virtuemart_product_id` != 1863539
2023-10-13	13:35:50	4047	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:50	4047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863539, '8436550193961')
2023-10-13	13:35:50	4047	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:50	4047	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-jeux-de-patch-avec-rustines-demonte-pneu-colle-rouge-unitaire' AND `virtuemart_product_id` != 1863539
2023-10-13	13:35:50	4047	[DEBUG]	Query for ProductLang
2023-10-13	13:35:50	4047	[DEBUG]	Executed store
2023-10-13	13:35:50	4047	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Jeux de patch avec rustines, démonte-pneu, colle, ... / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-jeux-de-patch-avec-rustines-demonte-pneu-colle-rouge-unitaire' WHERE `virtuemart_product_id` = '1863539'
2023-10-13	13:35:50	4047	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15570.jpg
2023-10-13	13:35:50	4047	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:50	4047	[DEBUG]	Process image file
2023-10-13	13:35:50	4047	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:50	4047	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:50	4047	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15570.jpg
2023-10-13	13:35:50	4047	[DEBUG]	Full name target: bcprisme/image_15570.jpg
2023-10-13	13:35:51	4047	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:51	4047	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15570.jpg'
2023-10-13	13:35:51	4047	[DEBUG]	Query for Media
2023-10-13	13:35:51	4047	[DEBUG]	Executed store
2023-10-13	13:35:51	4047	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15570.jpg',`file_url_thumb`='bcprisme/image_15570.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14471'
2023-10-13	13:35:51	4047	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:51	4047	[DEBUG]	Executed store
2023-10-13	13:35:51	4047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863539','14471','1')
2023-10-13	13:35:51	4047	[DEBUG]	Store product image relation
2023-10-13	13:35:51	4047	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:51	4047	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863539 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:51	4047	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:51	4047	[DEBUG]	Executed store
2023-10-13	13:35:51	4047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863539','0','9.19220055710306','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:51	4047	[DEBUG]	Checking manufacturer
2023-10-13	13:35:51	4047	[DEBUG]	Load a row
2023-10-13	13:35:51	4047	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:51	4047	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:51	4047	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:51	4047	[DEBUG]	Executed store
2023-10-13	13:35:51	4047	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:51	4047	[DEBUG]	Manufacturer exists
2023-10-13	13:35:51	4047	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:51	4047	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:51	4047	[DEBUG]	Executed store
2023-10-13	13:35:51	4047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863539','32')
2023-10-13	13:35:51	4047	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:51	4047	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:51	4047	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863539 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:51	4047	[DEBUG]	Store custom available field
2023-10-13	13:35:51	4047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863539,3,'',1)
2023-10-13	13:35:51	4047	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:51	4047	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:35:51	4047	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863539 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:51	4047	[DEBUG]	Store custom available field
2023-10-13	13:35:51	4047	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863539,6,'Unitaire',3)
2023-10-13	13:35:51	4047	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:51	4047	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:51	4047	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863538
2023-10-13	13:35:51	4047	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:51	4047	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863538\":[1863538,8,1,\"choisir la taille\"],\"1863539\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863538
2023-10-13	13:35:51	4047	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:51	4047	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863539
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:51	4048	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field taille
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:51	4048	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:51	4048	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:51	4048	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:51	4048	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:51	4048	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:51	4048	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field published
2023-10-13	13:35:51	4048	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:51	4048	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field override
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:51	4048	[DEBUG]	Use field value for field slug
2023-10-13	13:35:51	4048	[DEBUG]	Process line 4048
2023-10-13	13:35:51	4048	[DEBUG]	Load a row
2023-10-13	13:35:51	4048	[DEBUG]	Processing item: A_3205_7
2023-10-13	13:35:51	4048	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:51	4048	[DEBUG]	Processing product tax
2023-10-13	13:35:51	4048	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:51	4048	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:51	4048	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:51	4048	[DEBUG]	Query for Product
2023-10-13	13:35:51	4048	[DEBUG]	Executed store
2023-10-13	13:35:51	4048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3205_7','0.1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:51	4048	[DEBUG]	Check product language entry
2023-10-13	13:35:51	4048	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863540
2023-10-13	13:35:51	4048	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:51	4048	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3205_7' AND `virtuemart_product_id` != 1863540
2023-10-13	13:35:51	4048	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:51	4048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863540, 'A_3205_7')
2023-10-13	13:35:51	4048	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:51	4048	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-kit-rustines-24-rustines-un-grattoir-3-tubes-de-colles-rouge' AND `virtuemart_product_id` != 1863540
2023-10-13	13:35:51	4048	[DEBUG]	Query for ProductLang
2023-10-13	13:35:51	4048	[DEBUG]	Executed store
2023-10-13	13:35:51	4048	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Kit rustines (24 rustines, un grattoir, 3 tubes de colles)<br>N° art fourn : PKC4060A',`product_name`='MSC Kit rustines (24 rustines, un grattoir, 3 tubes de colles) / Rouge',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-kit-rustines-24-rustines-un-grattoir-3-tubes-de-colles-rouge' WHERE `virtuemart_product_id` = '1863540'
2023-10-13	13:35:51	4048	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15572.jpg
2023-10-13	13:35:51	4048	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:51	4048	[DEBUG]	Process image file
2023-10-13	13:35:51	4048	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:51	4048	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:51	4048	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15572.jpg
2023-10-13	13:35:51	4048	[DEBUG]	Full name target: bcprisme/image_15572.jpg
2023-10-13	13:35:52	4048	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:52	4048	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15572.jpg'
2023-10-13	13:35:52	4048	[DEBUG]	Query for Media
2023-10-13	13:35:52	4048	[DEBUG]	Executed store
2023-10-13	13:35:52	4048	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15572.jpg',`file_url_thumb`='bcprisme/image_15572.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14472'
2023-10-13	13:35:52	4048	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:52	4048	[DEBUG]	Executed store
2023-10-13	13:35:52	4048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863540','14472','1')
2023-10-13	13:35:52	4048	[DEBUG]	Store product image relation
2023-10-13	13:35:52	4048	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:52	4048	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863540 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:52	4048	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:52	4048	[DEBUG]	Executed store
2023-10-13	13:35:52	4048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863540','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:52	4048	[DEBUG]	Checking manufacturer
2023-10-13	13:35:52	4048	[DEBUG]	Load a row
2023-10-13	13:35:52	4048	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:52	4048	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:52	4048	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:52	4048	[DEBUG]	Executed store
2023-10-13	13:35:52	4048	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:52	4048	[DEBUG]	Manufacturer exists
2023-10-13	13:35:52	4048	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:52	4048	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:52	4048	[DEBUG]	Executed store
2023-10-13	13:35:52	4048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863540','32')
2023-10-13	13:35:52	4048	[DEBUG]	Find the custom field ID
2023-10-13	13:35:52	4048	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:52	4048	[DEBUG]	No custom field ID found
2023-10-13	13:35:52	4048	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:52	4048	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:35:52	4048	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863540 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:52	4048	[DEBUG]	Store custom available field
2023-10-13	13:35:52	4048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863540,3,'14.8586111111111',1)
2023-10-13	13:35:52	4048	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:52	4048	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:52	4048	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863540 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:52	4048	[DEBUG]	Store custom available field
2023-10-13	13:35:52	4048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863540,6,'choisir la taille',3)
2023-10-13	13:35:52	4048	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:52	4048	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:52	4048	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:52	4048	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:52	4048	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863540 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:52	4048	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:52	4048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863540,8,1)
2023-10-13	13:35:52	4048	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:52	4048	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863540\":[1863540,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863540
2023-10-13	13:35:52	4048	[DEBUG]	Checking category
2023-10-13	13:35:52	4048	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:52	4048	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863540
2023-10-13	13:35:52	4048	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:52	4048	[DEBUG]	Executed store
2023-10-13	13:35:52	4048	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863540','7400')
2023-10-13	13:35:52	4048	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:52	4048	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863540 AND `virtuemart_category_id` NOT IN (7400)
2023-10-13	13:35:52	4048	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:52	4048	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863540
2023-10-13	13:35:52	4049	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:52	4049	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:52	4049	[DEBUG]	Use field value for field taille
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:52	4049	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:52	4049	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:52	4049	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:52	4049	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:52	4049	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:52	4049	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:52	4049	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:52	4049	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:52	4049	[DEBUG]	Use field value for field published
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:52	4049	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field override
2023-10-13	13:35:52	4049	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:52	4049	[DEBUG]	Use field value for field slug
2023-10-13	13:35:52	4049	[DEBUG]	Process line 4049
2023-10-13	13:35:52	4049	[DEBUG]	Load a row
2023-10-13	13:35:52	4049	[DEBUG]	Processing item: 8436550193978
2023-10-13	13:35:52	4049	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:52	4049	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:52	4049	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3205_7'
2023-10-13	13:35:52	4049	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:52	4049	[DEBUG]	Processing product tax
2023-10-13	13:35:52	4049	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:52	4049	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:52	4049	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:52	4049	[DEBUG]	Query for Product
2023-10-13	13:35:52	4049	[DEBUG]	Executed store
2023-10-13	13:35:52	4049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863540','8436550193978','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:52	4049	[DEBUG]	No parent found
2023-10-13	13:35:52	4049	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863540 AND customfield_value = 'stockable'
2023-10-13	13:35:52	4049	[DEBUG]	Check product language entry
2023-10-13	13:35:52	4049	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863541
2023-10-13	13:35:52	4049	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:52	4049	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8436550193978' AND `virtuemart_product_id` != 1863541
2023-10-13	13:35:52	4049	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:52	4049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863541, '8436550193978')
2023-10-13	13:35:52	4049	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:52	4049	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-kit-rustines-24-rustines-un-grattoir-3-tubes-de-colles-rouge-unitaire' AND `virtuemart_product_id` != 1863541
2023-10-13	13:35:52	4049	[DEBUG]	Query for ProductLang
2023-10-13	13:35:52	4049	[DEBUG]	Executed store
2023-10-13	13:35:52	4049	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Kit rustines (24 rustines, un grattoir, 3 tubes de colles) / Rouge (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-kit-rustines-24-rustines-un-grattoir-3-tubes-de-colles-rouge-unitaire' WHERE `virtuemart_product_id` = '1863541'
2023-10-13	13:35:52	4049	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15572.jpg
2023-10-13	13:35:52	4049	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:52	4049	[DEBUG]	Process image file
2023-10-13	13:35:52	4049	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:52	4049	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:52	4049	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15572.jpg
2023-10-13	13:35:52	4049	[DEBUG]	Full name target: bcprisme/image_15572.jpg
2023-10-13	13:35:53	4049	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:53	4049	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15572.jpg'
2023-10-13	13:35:53	4049	[DEBUG]	Query for Media
2023-10-13	13:35:53	4049	[DEBUG]	Executed store
2023-10-13	13:35:53	4049	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15572.jpg',`file_url_thumb`='bcprisme/image_15572.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14472'
2023-10-13	13:35:53	4049	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:53	4049	[DEBUG]	Executed store
2023-10-13	13:35:53	4049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863541','14472','1')
2023-10-13	13:35:53	4049	[DEBUG]	Store product image relation
2023-10-13	13:35:53	4049	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:53	4049	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863541 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:53	4049	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:53	4049	[DEBUG]	Executed store
2023-10-13	13:35:53	4049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863541','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:53	4049	[DEBUG]	Checking manufacturer
2023-10-13	13:35:53	4049	[DEBUG]	Load a row
2023-10-13	13:35:53	4049	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:53	4049	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:53	4049	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:53	4049	[DEBUG]	Executed store
2023-10-13	13:35:53	4049	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:53	4049	[DEBUG]	Manufacturer exists
2023-10-13	13:35:53	4049	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:53	4049	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:53	4049	[DEBUG]	Executed store
2023-10-13	13:35:53	4049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863541','32')
2023-10-13	13:35:53	4049	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:53	4049	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:53	4049	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863541 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:53	4049	[DEBUG]	Store custom available field
2023-10-13	13:35:53	4049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863541,3,'',1)
2023-10-13	13:35:53	4049	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:53	4049	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:35:53	4049	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863541 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:53	4049	[DEBUG]	Store custom available field
2023-10-13	13:35:53	4049	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863541,6,'Unitaire',3)
2023-10-13	13:35:53	4049	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:53	4049	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:53	4049	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863540
2023-10-13	13:35:53	4049	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:53	4049	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863540\":[1863540,8,1,\"choisir la taille\"],\"1863541\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863540
2023-10-13	13:35:53	4049	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:53	4049	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863541
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:53	4050	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field taille
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:53	4050	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:53	4050	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:53	4050	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:53	4050	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:53	4050	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:53	4050	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field published
2023-10-13	13:35:53	4050	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:53	4050	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field override
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:53	4050	[DEBUG]	Use field value for field slug
2023-10-13	13:35:53	4050	[DEBUG]	Process line 4050
2023-10-13	13:35:53	4050	[DEBUG]	Load a row
2023-10-13	13:35:53	4050	[DEBUG]	Processing item: A_3254_25
2023-10-13	13:35:53	4050	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:53	4050	[DEBUG]	Processing product tax
2023-10-13	13:35:53	4050	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:53	4050	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:53	4050	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:53	4050	[DEBUG]	Query for Product
2023-10-13	13:35:53	4050	[DEBUG]	Executed store
2023-10-13	13:35:53	4050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3254_25','0.133','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:53	4050	[DEBUG]	Check product language entry
2023-10-13	13:35:53	4050	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863542
2023-10-13	13:35:53	4050	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:53	4050	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3254_25' AND `virtuemart_product_id` != 1863542
2023-10-13	13:35:53	4050	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:53	4050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863542, 'A_3254_25')
2023-10-13	13:35:53	4050	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:53	4050	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-rustines-adhesives-msc-a-decouper-pour-l-atelier-noir-blanc' AND `virtuemart_product_id` != 1863542
2023-10-13	13:35:53	4050	[DEBUG]	Query for ProductLang
2023-10-13	13:35:53	4050	[DEBUG]	Executed store
2023-10-13	13:35:53	4050	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Patches adhésifs MSC. POIDS : 133 GR.<br>N° art fourn : CP44060',`product_name`='MSC Rustines adhésives MSC à découper pour l\'atelier / Noir-blanc',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-rustines-adhesives-msc-a-decouper-pour-l-atelier-noir-blanc' WHERE `virtuemart_product_id` = '1863542'
2023-10-13	13:35:53	4050	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15721.jpg
2023-10-13	13:35:53	4050	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:53	4050	[DEBUG]	Process image file
2023-10-13	13:35:53	4050	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:53	4050	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:53	4050	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15721.jpg
2023-10-13	13:35:53	4050	[DEBUG]	Full name target: bcprisme/image_15721.jpg
2023-10-13	13:35:54	4050	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:54	4050	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15721.jpg'
2023-10-13	13:35:54	4050	[DEBUG]	Query for Media
2023-10-13	13:35:54	4050	[DEBUG]	Executed store
2023-10-13	13:35:54	4050	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15721.jpg',`file_url_thumb`='bcprisme/image_15721.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14473'
2023-10-13	13:35:54	4050	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:54	4050	[DEBUG]	Executed store
2023-10-13	13:35:54	4050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863542','14473','1')
2023-10-13	13:35:54	4050	[DEBUG]	Store product image relation
2023-10-13	13:35:54	4050	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:54	4050	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863542 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:54	4050	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:54	4050	[DEBUG]	Executed store
2023-10-13	13:35:54	4050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863542','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:54	4050	[DEBUG]	Checking manufacturer
2023-10-13	13:35:54	4050	[DEBUG]	Load a row
2023-10-13	13:35:54	4050	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:54	4050	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:54	4050	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:54	4050	[DEBUG]	Executed store
2023-10-13	13:35:54	4050	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:54	4050	[DEBUG]	Manufacturer exists
2023-10-13	13:35:54	4050	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:54	4050	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:54	4050	[DEBUG]	Executed store
2023-10-13	13:35:54	4050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863542','32')
2023-10-13	13:35:54	4050	[DEBUG]	Find the custom field ID
2023-10-13	13:35:54	4050	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:54	4050	[DEBUG]	No custom field ID found
2023-10-13	13:35:54	4050	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:54	4050	[DEBUG]	Get existing row with customfield value 24.8308333333333
2023-10-13	13:35:54	4050	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863542 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:54	4050	[DEBUG]	Store custom available field
2023-10-13	13:35:54	4050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863542,3,'24.8308333333333',1)
2023-10-13	13:35:54	4050	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:54	4050	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:54	4050	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863542 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:54	4050	[DEBUG]	Store custom available field
2023-10-13	13:35:54	4050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863542,6,'choisir la taille',3)
2023-10-13	13:35:54	4050	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:54	4050	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:54	4050	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:54	4050	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:54	4050	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863542 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:54	4050	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:54	4050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863542,8,1)
2023-10-13	13:35:54	4050	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:54	4050	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863542\":[1863542,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863542
2023-10-13	13:35:54	4050	[DEBUG]	Checking category
2023-10-13	13:35:54	4050	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:54	4050	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863542
2023-10-13	13:35:54	4050	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:54	4050	[DEBUG]	Executed store
2023-10-13	13:35:54	4050	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863542','7400')
2023-10-13	13:35:54	4050	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:54	4050	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863542 AND `virtuemart_category_id` NOT IN (7400)
2023-10-13	13:35:54	4050	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:54	4050	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863542
2023-10-13	13:35:54	4051	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:54	4051	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:54	4051	[DEBUG]	Use field value for field taille
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:54	4051	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:54	4051	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:54	4051	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:54	4051	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:54	4051	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:54	4051	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:54	4051	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:54	4051	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:54	4051	[DEBUG]	Use field value for field published
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:54	4051	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field override
2023-10-13	13:35:54	4051	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:54	4051	[DEBUG]	Use field value for field slug
2023-10-13	13:35:54	4051	[DEBUG]	Process line 4051
2023-10-13	13:35:54	4051	[DEBUG]	Load a row
2023-10-13	13:35:54	4051	[DEBUG]	Processing item: 1000000052893
2023-10-13	13:35:54	4051	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:54	4051	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:54	4051	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3254_25'
2023-10-13	13:35:54	4051	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:54	4051	[DEBUG]	Processing product tax
2023-10-13	13:35:54	4051	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:54	4051	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:54	4051	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:54	4051	[DEBUG]	Query for Product
2023-10-13	13:35:54	4051	[DEBUG]	Executed store
2023-10-13	13:35:54	4051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863542','1000000052893','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:54	4051	[DEBUG]	No parent found
2023-10-13	13:35:54	4051	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863542 AND customfield_value = 'stockable'
2023-10-13	13:35:54	4051	[DEBUG]	Check product language entry
2023-10-13	13:35:54	4051	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863543
2023-10-13	13:35:54	4051	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:54	4051	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000052893' AND `virtuemart_product_id` != 1863543
2023-10-13	13:35:54	4051	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:54	4051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863543, '1000000052893')
2023-10-13	13:35:54	4051	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:54	4051	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-rustines-adhesives-msc-a-decouper-pour-l-atelier-noir-blanc-unitaire' AND `virtuemart_product_id` != 1863543
2023-10-13	13:35:54	4051	[DEBUG]	Query for ProductLang
2023-10-13	13:35:54	4051	[DEBUG]	Executed store
2023-10-13	13:35:54	4051	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC Rustines adhésives MSC à découper pour l\'atelier / Noir-blanc (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-rustines-adhesives-msc-a-decouper-pour-l-atelier-noir-blanc-unitaire' WHERE `virtuemart_product_id` = '1863543'
2023-10-13	13:35:54	4051	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15721.jpg
2023-10-13	13:35:54	4051	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:54	4051	[DEBUG]	Process image file
2023-10-13	13:35:54	4051	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:54	4051	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:54	4051	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/image_15721.jpg
2023-10-13	13:35:54	4051	[DEBUG]	Full name target: bcprisme/image_15721.jpg
2023-10-13	13:35:55	4051	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:55	4051	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/image_15721.jpg'
2023-10-13	13:35:55	4051	[DEBUG]	Query for Media
2023-10-13	13:35:55	4051	[DEBUG]	Executed store
2023-10-13	13:35:55	4051	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/image_15721.jpg',`file_url_thumb`='bcprisme/image_15721.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14473'
2023-10-13	13:35:55	4051	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:55	4051	[DEBUG]	Executed store
2023-10-13	13:35:55	4051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863543','14473','1')
2023-10-13	13:35:55	4051	[DEBUG]	Store product image relation
2023-10-13	13:35:55	4051	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:55	4051	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863543 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:55	4051	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:55	4051	[DEBUG]	Executed store
2023-10-13	13:35:55	4051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863543','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:55	4051	[DEBUG]	Checking manufacturer
2023-10-13	13:35:55	4051	[DEBUG]	Load a row
2023-10-13	13:35:55	4051	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:55	4051	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:55	4051	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:55	4051	[DEBUG]	Executed store
2023-10-13	13:35:55	4051	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:35:56	4051	[DEBUG]	Manufacturer exists
2023-10-13	13:35:56	4051	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:35:56	4051	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:56	4051	[DEBUG]	Executed store
2023-10-13	13:35:56	4051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863543','32')
2023-10-13	13:35:56	4051	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:56	4051	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:56	4051	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863543 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:56	4051	[DEBUG]	Store custom available field
2023-10-13	13:35:56	4051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863543,3,'',1)
2023-10-13	13:35:56	4051	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:56	4051	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:35:56	4051	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863543 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:56	4051	[DEBUG]	Store custom available field
2023-10-13	13:35:56	4051	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863543,6,'Unitaire',3)
2023-10-13	13:35:56	4051	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:56	4051	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:56	4051	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863542
2023-10-13	13:35:56	4051	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:56	4051	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863542\":[1863542,8,1,\"choisir la taille\"],\"1863543\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863542
2023-10-13	13:35:56	4051	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:56	4051	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863543
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:56	4052	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field taille
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:56	4052	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:56	4052	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:56	4052	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:56	4052	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:56	4052	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:56	4052	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field published
2023-10-13	13:35:56	4052	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:56	4052	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field override
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:56	4052	[DEBUG]	Use field value for field slug
2023-10-13	13:35:56	4052	[DEBUG]	Process line 4052
2023-10-13	13:35:56	4052	[DEBUG]	Load a row
2023-10-13	13:35:56	4052	[DEBUG]	Processing item: A_7305_208
2023-10-13	13:35:56	4052	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:56	4052	[DEBUG]	Processing product tax
2023-10-13	13:35:56	4052	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:56	4052	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:56	4052	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:56	4052	[DEBUG]	Query for Product
2023-10-13	13:35:56	4052	[DEBUG]	Executed store
2023-10-13	13:35:56	4052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7305_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:56	4052	[DEBUG]	Check product language entry
2023-10-13	13:35:56	4052	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863544
2023-10-13	13:35:56	4052	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:56	4052	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7305_208' AND `virtuemart_product_id` != 1863544
2023-10-13	13:35:56	4052	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:56	4052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863544, 'A_7305_208')
2023-10-13	13:35:56	4052	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:56	4052	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rema-tip-top-liquide-de-vulcanisatio-tube-a-10g-aucune' AND `virtuemart_product_id` != 1863544
2023-10-13	13:35:56	4052	[DEBUG]	Query for ProductLang
2023-10-13	13:35:56	4052	[DEBUG]	Executed store
2023-10-13	13:35:56	4052	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 25.19466',`product_name`='Rema Tip Top Liquide de vulcanisatio tube à 10g / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rema-tip-top-liquide-de-vulcanisatio-tube-a-10g-aucune' WHERE `virtuemart_product_id` = '1863544'
2023-10-13	13:35:56	4052	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/25_19466.jpg
2023-10-13	13:35:56	4052	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:56	4052	[DEBUG]	Process image file
2023-10-13	13:35:56	4052	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:56	4052	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:56	4052	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/25_19466.jpg
2023-10-13	13:35:56	4052	[DEBUG]	Full name target: bcprisme/25_19466.jpg
2023-10-13	13:35:57	4052	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:57	4052	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/25_19466.jpg'
2023-10-13	13:35:57	4052	[DEBUG]	Query for Media
2023-10-13	13:35:57	4052	[DEBUG]	Executed store
2023-10-13	13:35:57	4052	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/25_19466.jpg',`file_url_thumb`='bcprisme/25_19466.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '159709'
2023-10-13	13:35:57	4052	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:57	4052	[DEBUG]	Executed store
2023-10-13	13:35:57	4052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863544','159709','1')
2023-10-13	13:35:57	4052	[DEBUG]	Store product image relation
2023-10-13	13:35:57	4052	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:57	4052	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863544 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:57	4052	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:57	4052	[DEBUG]	Executed store
2023-10-13	13:35:57	4052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863544','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:57	4052	[DEBUG]	Checking manufacturer
2023-10-13	13:35:57	4052	[DEBUG]	Load a row
2023-10-13	13:35:57	4052	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:57	4052	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '233'
2023-10-13	13:35:57	4052	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:57	4052	[DEBUG]	Executed store
2023-10-13	13:35:57	4052	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='158',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='158' WHERE `virtuemart_manufacturer_id` = '233'
2023-10-13	13:35:57	4052	[DEBUG]	Manufacturer exists
2023-10-13	13:35:57	4052	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 233
2023-10-13	13:35:57	4052	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:57	4052	[DEBUG]	Executed store
2023-10-13	13:35:57	4052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863544','233')
2023-10-13	13:35:57	4052	[DEBUG]	Find the custom field ID
2023-10-13	13:35:57	4052	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:57	4052	[DEBUG]	No custom field ID found
2023-10-13	13:35:57	4052	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:57	4052	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:35:57	4052	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863544 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:57	4052	[DEBUG]	Store custom available field
2023-10-13	13:35:57	4052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863544,3,'0',1)
2023-10-13	13:35:57	4052	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:57	4052	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:57	4052	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863544 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:57	4052	[DEBUG]	Store custom available field
2023-10-13	13:35:57	4052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863544,6,'choisir la taille',3)
2023-10-13	13:35:57	4052	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:57	4052	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:57	4052	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:57	4052	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:57	4052	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863544 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:57	4052	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:57	4052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863544,8,1)
2023-10-13	13:35:57	4052	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:57	4052	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863544\":[1863544,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863544
2023-10-13	13:35:57	4052	[DEBUG]	Checking category
2023-10-13	13:35:57	4052	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:57	4052	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863544
2023-10-13	13:35:57	4052	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:57	4052	[DEBUG]	Executed store
2023-10-13	13:35:57	4052	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863544','7400')
2023-10-13	13:35:57	4052	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:57	4052	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863544 AND `virtuemart_category_id` NOT IN (7400)
2023-10-13	13:35:57	4052	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:57	4052	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863544
2023-10-13	13:35:57	4053	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:57	4053	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:57	4053	[DEBUG]	Use field value for field taille
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:57	4053	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:57	4053	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:57	4053	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:57	4053	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:57	4053	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:57	4053	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:57	4053	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:57	4053	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:57	4053	[DEBUG]	Use field value for field published
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:57	4053	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field override
2023-10-13	13:35:57	4053	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:57	4053	[DEBUG]	Use field value for field slug
2023-10-13	13:35:57	4053	[DEBUG]	Process line 4053
2023-10-13	13:35:57	4053	[DEBUG]	Load a row
2023-10-13	13:35:57	4053	[DEBUG]	Processing item: 4003115059051
2023-10-13	13:35:57	4053	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:57	4053	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:57	4053	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7305_208'
2023-10-13	13:35:57	4053	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:57	4053	[DEBUG]	Processing product tax
2023-10-13	13:35:57	4053	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:57	4053	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:57	4053	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:57	4053	[DEBUG]	Query for Product
2023-10-13	13:35:57	4053	[DEBUG]	Executed store
2023-10-13	13:35:57	4053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863544','4003115059051','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:57	4053	[DEBUG]	No parent found
2023-10-13	13:35:57	4053	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863544 AND customfield_value = 'stockable'
2023-10-13	13:35:57	4053	[DEBUG]	Check product language entry
2023-10-13	13:35:57	4053	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863545
2023-10-13	13:35:57	4053	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:57	4053	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4003115059051' AND `virtuemart_product_id` != 1863545
2023-10-13	13:35:57	4053	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:57	4053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863545, '4003115059051')
2023-10-13	13:35:57	4053	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:57	4053	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rema-tip-top-liquide-de-vulcanisatio-tube-a-10g-aucune-unitaire' AND `virtuemart_product_id` != 1863545
2023-10-13	13:35:57	4053	[DEBUG]	Query for ProductLang
2023-10-13	13:35:57	4053	[DEBUG]	Executed store
2023-10-13	13:35:57	4053	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Rema Tip Top Liquide de vulcanisatio tube à 10g / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rema-tip-top-liquide-de-vulcanisatio-tube-a-10g-aucune-unitaire' WHERE `virtuemart_product_id` = '1863545'
2023-10-13	13:35:57	4053	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/25_19466.jpg
2023-10-13	13:35:57	4053	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:57	4053	[DEBUG]	Process image file
2023-10-13	13:35:57	4053	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:35:57	4053	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:57	4053	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/25_19466.jpg
2023-10-13	13:35:57	4053	[DEBUG]	Full name target: bcprisme/25_19466.jpg
2023-10-13	13:35:58	4053	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:58	4053	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/25_19466.jpg'
2023-10-13	13:35:58	4053	[DEBUG]	Query for Media
2023-10-13	13:35:58	4053	[DEBUG]	Executed store
2023-10-13	13:35:58	4053	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/25_19466.jpg',`file_url_thumb`='bcprisme/25_19466.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '159709'
2023-10-13	13:35:58	4053	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:58	4053	[DEBUG]	Executed store
2023-10-13	13:35:58	4053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863545','159709','1')
2023-10-13	13:35:58	4053	[DEBUG]	Store product image relation
2023-10-13	13:35:58	4053	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:58	4053	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863545 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:58	4053	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:58	4053	[DEBUG]	Executed store
2023-10-13	13:35:58	4053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863545','0','5.47818012999072','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:58	4053	[DEBUG]	Checking manufacturer
2023-10-13	13:35:58	4053	[DEBUG]	Load a row
2023-10-13	13:35:58	4053	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:58	4053	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '233'
2023-10-13	13:35:58	4053	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:58	4053	[DEBUG]	Executed store
2023-10-13	13:35:58	4053	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='158',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='158' WHERE `virtuemart_manufacturer_id` = '233'
2023-10-13	13:35:58	4053	[DEBUG]	Manufacturer exists
2023-10-13	13:35:58	4053	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 233
2023-10-13	13:35:58	4053	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:58	4053	[DEBUG]	Executed store
2023-10-13	13:35:58	4053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863545','233')
2023-10-13	13:35:58	4053	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:58	4053	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:35:58	4053	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863545 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:58	4053	[DEBUG]	Store custom available field
2023-10-13	13:35:58	4053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863545,3,'',1)
2023-10-13	13:35:58	4053	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:58	4053	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:35:58	4053	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863545 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:58	4053	[DEBUG]	Store custom available field
2023-10-13	13:35:58	4053	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863545,6,'Unitaire',3)
2023-10-13	13:35:58	4053	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:58	4053	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:35:58	4053	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863544
2023-10-13	13:35:58	4053	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:58	4053	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863544\":[1863544,8,1,\"choisir la taille\"],\"1863545\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863544
2023-10-13	13:35:58	4053	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:58	4053	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863545
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:58	4054	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field taille
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field category_path
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:58	4054	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:35:58	4054	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:58	4054	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field product_weight
2023-10-13	13:35:58	4054	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:58	4054	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:58	4054	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field published
2023-10-13	13:35:58	4054	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:58	4054	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field custom_title
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field custom_param
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field override
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field public_price
2023-10-13	13:35:58	4054	[DEBUG]	Use field value for field slug
2023-10-13	13:35:58	4054	[DEBUG]	Process line 4054
2023-10-13	13:35:58	4054	[DEBUG]	Load a row
2023-10-13	13:35:58	4054	[DEBUG]	Processing item: A_8400_397
2023-10-13	13:35:58	4054	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:58	4054	[DEBUG]	Processing product tax
2023-10-13	13:35:58	4054	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:58	4054	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:58	4054	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:58	4054	[DEBUG]	Query for Product
2023-10-13	13:35:58	4054	[DEBUG]	Executed store
2023-10-13	13:35:58	4054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8400_397','0.16','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:58	4054	[DEBUG]	Check product language entry
2023-10-13	13:35:58	4054	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863546
2023-10-13	13:35:58	4054	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:58	4054	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8400_397' AND `virtuemart_product_id` != 1863546
2023-10-13	13:35:58	4054	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:58	4054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863546, 'A_8400_397')
2023-10-13	13:35:58	4054	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:58	4054	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-air-can-service-kit-basic-b1-aucun' AND `virtuemart_product_id` != 1863546
2023-10-13	13:35:58	4054	[DEBUG]	Query for ProductLang
2023-10-13	13:35:58	4054	[DEBUG]	Executed store
2023-10-13	13:35:58	4054	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='FV/SV 100% Aluminium Poignées en Aluminium Cylindre en aluminium et piston surdimensionné, grande capacité Tête de cylindre en alu, tête 2 en 1 120psi <br>N° art fourn : D8424R',`product_name`='ROCK SHOK Air Can Service Kit Basic B1 / Aucun',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rock-shok-air-can-service-kit-basic-b1-aucun' WHERE `virtuemart_product_id` = '1863546'
2023-10-13	13:35:58	4054	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37057_air_can_service_kit_basic_b1.jpg
2023-10-13	13:35:58	4054	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:35:58	4054	[DEBUG]	Process image file
2023-10-13	13:35:58	4054	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:35:58	4054	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:58	4054	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37057_air_can_service_kit_basic_b1.jpg
2023-10-13	13:35:58	4054	[DEBUG]	Full name target: bcprisme/37057_air_can_service_kit_basic_b1.jpg
2023-10-13	13:35:59	4054	[DEBUG]	Checking if the file_url exists
2023-10-13	13:35:59	4054	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37057_air_can_service_kit_basic_b1.jpg'
2023-10-13	13:35:59	4054	[DEBUG]	Query for Media
2023-10-13	13:35:59	4054	[DEBUG]	Executed store
2023-10-13	13:35:59	4054	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37057_air_can_service_kit_basic_b1.jpg',`file_url_thumb`='bcprisme/37057_air_can_service_kit_basic_b1.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '823943'
2023-10-13	13:35:59	4054	[DEBUG]	Query for ProductMedia
2023-10-13	13:35:59	4054	[DEBUG]	Executed store
2023-10-13	13:35:59	4054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863546','823943','1')
2023-10-13	13:35:59	4054	[DEBUG]	Store product image relation
2023-10-13	13:35:59	4054	[DEBUG]	Finding a product_price_id
2023-10-13	13:35:59	4054	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863546 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:35:59	4054	[DEBUG]	Query for ProductPrice
2023-10-13	13:35:59	4054	[DEBUG]	Executed store
2023-10-13	13:35:59	4054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863546','0','20.6128133704735','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:35:59	4054	[DEBUG]	Checking manufacturer
2023-10-13	13:35:59	4054	[DEBUG]	Load a row
2023-10-13	13:35:59	4054	[DEBUG]	Manufacturer already exists
2023-10-13	13:35:59	4054	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:35:59	4054	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:35:59	4054	[DEBUG]	Executed store
2023-10-13	13:35:59	4054	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411920883369' WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:35:59	4054	[DEBUG]	Manufacturer exists
2023-10-13	13:35:59	4054	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 36
2023-10-13	13:35:59	4054	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:35:59	4054	[DEBUG]	Executed store
2023-10-13	13:35:59	4054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863546','36')
2023-10-13	13:35:59	4054	[DEBUG]	Find the custom field ID
2023-10-13	13:35:59	4054	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:35:59	4054	[DEBUG]	No custom field ID found
2023-10-13	13:35:59	4054	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:35:59	4054	[DEBUG]	Get existing row with customfield value 44.7752777777778
2023-10-13	13:35:59	4054	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863546 AND `virtuemart_custom_id` = 3
2023-10-13	13:35:59	4054	[DEBUG]	Store custom available field
2023-10-13	13:35:59	4054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863546,3,'44.7752777777778',1)
2023-10-13	13:35:59	4054	[DEBUG]	Processing custom available field: taille
2023-10-13	13:35:59	4054	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:35:59	4054	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863546 AND `virtuemart_custom_id` = 6
2023-10-13	13:35:59	4054	[DEBUG]	Store custom available field
2023-10-13	13:35:59	4054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863546,6,'choisir la taille',3)
2023-10-13	13:35:59	4054	[DEBUG]	Process multi-variant fields
2023-10-13	13:35:59	4054	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:35:59	4054	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:35:59	4054	[DEBUG]	Find the multi variant product entry
2023-10-13	13:35:59	4054	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863546 AND `virtuemart_custom_id` = 8
2023-10-13	13:35:59	4054	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:35:59	4054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863546,8,1)
2023-10-13	13:35:59	4054	[DEBUG]	Store the updated customfield_params
2023-10-13	13:35:59	4054	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863546\":[1863546,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863546
2023-10-13	13:35:59	4054	[DEBUG]	Checking category
2023-10-13	13:35:59	4054	[DEBUG]	Get the existing categories for the product
2023-10-13	13:35:59	4054	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863546
2023-10-13	13:35:59	4054	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:35:59	4054	[DEBUG]	Executed store
2023-10-13	13:35:59	4054	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863546','7400')
2023-10-13	13:35:59	4054	[DEBUG]	Delete leftover product categories
2023-10-13	13:35:59	4054	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863546 AND `virtuemart_category_id` NOT IN (7400)
2023-10-13	13:35:59	4054	[DEBUG]	Update has fields after all processing
2023-10-13	13:35:59	4054	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863546
2023-10-13	13:35:59	4055	[DEBUG]	Use field value for field product_sku
2023-10-13	13:35:59	4055	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:35:59	4055	[DEBUG]	Use field value for field taille
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:35:59	4055	[DEBUG]	Use field value for field product_name
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field category_path
2023-10-13	13:35:59	4055	[DEBUG]	Use field value for field product_price
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:35:59	4055	[DEBUG]	Use field value for field product_tax
2023-10-13	13:35:59	4055	[DEBUG]	Use field value for field file_url
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field product_desc
2023-10-13	13:35:59	4055	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:35:59	4055	[DEBUG]	Use field value for field product_availability
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field product_weight
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field product_unit
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field related_products
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field product_special
2023-10-13	13:35:59	4055	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:35:59	4055	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:35:59	4055	[DEBUG]	Use field value for field published
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field metadesc
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field metakey
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field custom_title
2023-10-13	13:35:59	4055	[DEBUG]	Use field value for field custom_value
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field custom_param
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field override
2023-10-13	13:35:59	4055	[DEBUG]	Use default value for field public_price
2023-10-13	13:35:59	4055	[DEBUG]	Use field value for field slug
2023-10-13	13:35:59	4055	[DEBUG]	Process line 4055
2023-10-13	13:35:59	4055	[DEBUG]	Load a row
2023-10-13	13:35:59	4055	[DEBUG]	Processing item: 710845729546
2023-10-13	13:35:59	4055	[DEBUG]	Looking for parent SKU
2023-10-13	13:35:59	4055	[DEBUG]	Checking product parent SKU
2023-10-13	13:35:59	4055	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8400_397'
2023-10-13	13:35:59	4055	[DEBUG]	Product tax: 7.7
2023-10-13	13:35:59	4055	[DEBUG]	Processing product tax
2023-10-13	13:35:59	4055	[DEBUG]	Check if calculation rule exists
2023-10-13	13:35:59	4055	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:35:59	4055	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:35:59	4055	[DEBUG]	Query for Product
2023-10-13	13:35:59	4055	[DEBUG]	Executed store
2023-10-13	13:35:59	4055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863546','710845729546','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:35:59	4055	[DEBUG]	No parent found
2023-10-13	13:35:59	4055	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863546 AND customfield_value = 'stockable'
2023-10-13	13:35:59	4055	[DEBUG]	Check product language entry
2023-10-13	13:35:59	4055	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863547
2023-10-13	13:35:59	4055	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:59	4055	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '710845729546' AND `virtuemart_product_id` != 1863547
2023-10-13	13:35:59	4055	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:35:59	4055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863547, '710845729546')
2023-10-13	13:35:59	4055	[DEBUG]	Check if the product slug exists
2023-10-13	13:35:59	4055	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'rock-shok-air-can-service-kit-basic-b1-aucun-unitaire' AND `virtuemart_product_id` != 1863547
2023-10-13	13:35:59	4055	[DEBUG]	Query for ProductLang
2023-10-13	13:35:59	4055	[DEBUG]	Executed store
2023-10-13	13:35:59	4055	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='ROCK SHOK Air Can Service Kit Basic B1 / Aucun (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='rock-shok-air-can-service-kit-basic-b1-aucun-unitaire' WHERE `virtuemart_product_id` = '1863547'
2023-10-13	13:35:59	4055	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37057_air_can_service_kit_basic_b1.jpg
2023-10-13	13:35:59	4055	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:35:59	4055	[DEBUG]	Process image file
2023-10-13	13:35:59	4055	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:35:59	4055	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:35:59	4055	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37057_air_can_service_kit_basic_b1.jpg
2023-10-13	13:35:59	4055	[DEBUG]	Full name target: bcprisme/37057_air_can_service_kit_basic_b1.jpg
2023-10-13	13:36:00	4055	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:00	4055	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37057_air_can_service_kit_basic_b1.jpg'
2023-10-13	13:36:00	4055	[DEBUG]	Query for Media
2023-10-13	13:36:00	4055	[DEBUG]	Executed store
2023-10-13	13:36:00	4055	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37057_air_can_service_kit_basic_b1.jpg',`file_url_thumb`='bcprisme/37057_air_can_service_kit_basic_b1.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '823943'
2023-10-13	13:36:00	4055	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:00	4055	[DEBUG]	Executed store
2023-10-13	13:36:00	4055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863547','823943','1')
2023-10-13	13:36:00	4055	[DEBUG]	Store product image relation
2023-10-13	13:36:00	4055	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:00	4055	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863547 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:00	4055	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:00	4055	[DEBUG]	Executed store
2023-10-13	13:36:00	4055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863547','0','20.6128133704735','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:00	4055	[DEBUG]	Checking manufacturer
2023-10-13	13:36:00	4055	[DEBUG]	Load a row
2023-10-13	13:36:00	4055	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:00	4055	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:36:00	4055	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:00	4055	[DEBUG]	Executed store
2023-10-13	13:36:00	4055	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411920883369' WHERE `virtuemart_manufacturer_id` = '36'
2023-10-13	13:36:00	4055	[DEBUG]	Manufacturer exists
2023-10-13	13:36:00	4055	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 36
2023-10-13	13:36:00	4055	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:00	4055	[DEBUG]	Executed store
2023-10-13	13:36:00	4055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863547','36')
2023-10-13	13:36:00	4055	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:00	4055	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:00	4055	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863547 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:00	4055	[DEBUG]	Store custom available field
2023-10-13	13:36:00	4055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863547,3,'',1)
2023-10-13	13:36:00	4055	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:00	4055	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:00	4055	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863547 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:00	4055	[DEBUG]	Store custom available field
2023-10-13	13:36:00	4055	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863547,6,'Unitaire',3)
2023-10-13	13:36:00	4055	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:00	4055	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:00	4055	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863546
2023-10-13	13:36:00	4055	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:00	4055	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863546\":[1863546,8,1,\"choisir la taille\"],\"1863547\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863546
2023-10-13	13:36:00	4055	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:00	4055	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863547
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:00	4056	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field taille
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:00	4056	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:00	4056	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:00	4056	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:00	4056	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:00	4056	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:00	4056	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field published
2023-10-13	13:36:00	4056	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:00	4056	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field override
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:00	4056	[DEBUG]	Use field value for field slug
2023-10-13	13:36:00	4056	[DEBUG]	Process line 4056
2023-10-13	13:36:00	4056	[DEBUG]	Load a row
2023-10-13	13:36:00	4056	[DEBUG]	Processing item: A_6295_13
2023-10-13	13:36:00	4056	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:00	4056	[DEBUG]	Processing product tax
2023-10-13	13:36:00	4056	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:00	4056	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:00	4056	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:00	4056	[DEBUG]	Query for Product
2023-10-13	13:36:00	4056	[DEBUG]	Executed store
2023-10-13	13:36:00	4056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6295_13','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:00	4056	[DEBUG]	Check product language entry
2023-10-13	13:36:00	4056	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863548
2023-10-13	13:36:00	4056	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:00	4056	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6295_13' AND `virtuemart_product_id` != 1863548
2023-10-13	13:36:00	4056	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:00	4056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863548, 'A_6295_13')
2023-10-13	13:36:00	4056	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:00	4056	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-msc-mousse-29-xc-taille-m-2-00-x-2-20-valves-tubeless-2-unites-argent' AND `virtuemart_product_id` != 1863548
2023-10-13	13:36:00	4056	[DEBUG]	Query for ProductLang
2023-10-13	13:36:00	4056	[DEBUG]	Executed store
2023-10-13	13:36:00	4056	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : MSCMOUSSE29M',`product_name`='MSC MSC MOUSSE 29, XC. Taille M 2.00 x 2.20 + valves Tubeless, 2 unités  / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-msc-mousse-29-xc-taille-m-2-00-x-2-20-valves-tubeless-2-unites-argent' WHERE `virtuemart_product_id` = '1863548'
2023-10-13	13:36:00	4056	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32145_msc_mousse_29,_xc__taille_m_2_00_x_2_20_+_valves_tubeless,_2_unites_.png
2023-10-13	13:36:00	4056	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000780
2023-10-13	13:36:00	4056	[DEBUG]	Process image file
2023-10-13	13:36:00	4056	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000780
2023-10-13	13:36:00	4056	[DEBUG]	Mime type found: image/png
2023-10-13	13:36:00	4056	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32145_msc_mousse_29,_xc__taille_m_2_00_x_2_20_+_valves_tubeless,_2_unites_.png
2023-10-13	13:36:00	4056	[DEBUG]	Full name target: bcprisme/32145_msc_mousse_29,_xc__taille_m_2_00_x_2_20_+_valves_tubeless,_2_unites_.png
2023-10-13	13:36:01	4056	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:01	4056	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32145_msc_mousse_29,_xc__taille_m_2_00_x_2_20_+_valves_tubeless,_2_unites_.png'
2023-10-13	13:36:01	4056	[DEBUG]	Query for Media
2023-10-13	13:36:01	4056	[DEBUG]	Executed store
2023-10-13	13:36:01	4056	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/32145_msc_mousse_29,_xc__taille_m_2_00_x_2_20_+_valves_tubeless,_2_unites_.png',`file_url_thumb`='bcprisme/32145_msc_mousse_29,_xc__taille_m_2_00_x_2_20_+_valves_tubeless,_2_unites_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14475'
2023-10-13	13:36:01	4056	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:01	4056	[DEBUG]	Executed store
2023-10-13	13:36:01	4056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863548','14475','1')
2023-10-13	13:36:01	4056	[DEBUG]	Store product image relation
2023-10-13	13:36:01	4056	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:01	4056	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863548 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:01	4056	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:01	4056	[DEBUG]	Executed store
2023-10-13	13:36:01	4056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863548','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:01	4056	[DEBUG]	Checking manufacturer
2023-10-13	13:36:01	4056	[DEBUG]	Load a row
2023-10-13	13:36:01	4056	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:01	4056	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:36:01	4056	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:01	4056	[DEBUG]	Executed store
2023-10-13	13:36:01	4056	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:36:01	4056	[DEBUG]	Manufacturer exists
2023-10-13	13:36:01	4056	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:36:01	4056	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:01	4056	[DEBUG]	Executed store
2023-10-13	13:36:01	4056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863548','32')
2023-10-13	13:36:01	4056	[DEBUG]	Find the custom field ID
2023-10-13	13:36:01	4056	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:01	4056	[DEBUG]	No custom field ID found
2023-10-13	13:36:01	4056	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:01	4056	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:36:01	4056	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863548 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:01	4056	[DEBUG]	Store custom available field
2023-10-13	13:36:01	4056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863548,3,'54.7475',1)
2023-10-13	13:36:01	4056	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:01	4056	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:01	4056	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863548 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:01	4056	[DEBUG]	Store custom available field
2023-10-13	13:36:01	4056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863548,6,'choisir la taille',3)
2023-10-13	13:36:01	4056	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:01	4056	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:01	4056	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:01	4056	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:01	4056	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863548 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:01	4056	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:01	4056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863548,8,1)
2023-10-13	13:36:01	4056	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:01	4056	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863548\":[1863548,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863548
2023-10-13	13:36:01	4056	[DEBUG]	Checking category
2023-10-13	13:36:01	4056	[DEBUG]	Check if category path exists: MOUSSE
2023-10-13	13:36:01	4056	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'MOUSSE' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:36:01	4056	[DEBUG]	Query for Category
2023-10-13	13:36:01	4056	[DEBUG]	Executed store
2023-10-13	13:36:01	4056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','5','0','1','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:01	4056	[DEBUG]	Category publish 1
2023-10-13	13:36:01	4056	[DEBUG]	Check the category language
2023-10-13	13:36:01	4056	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7401
2023-10-13	13:36:01	4056	[DEBUG]	Check the category slug
2023-10-13	13:36:01	4056	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'mousse' AND `virtuemart_category_id` != 7401
2023-10-13	13:36:01	4056	[DEBUG]	Check the category slug
2023-10-13	13:36:01	4056	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'mousse' AND `virtuemart_category_id` != 7401
2023-10-13	13:36:01	4056	[DEBUG]	Add the category language entry
2023-10-13	13:36:01	4056	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7401, 'mousse')
2023-10-13	13:36:01	4056	[DEBUG]	Query for CategoryLang
2023-10-13	13:36:01	4056	[DEBUG]	Executed store
2023-10-13	13:36:01	4056	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='MOUSSE',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mousse' WHERE `virtuemart_category_id` = '7401'
2023-10-13	13:36:01	4056	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:36:01	4056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7401','0')
2023-10-13	13:36:01	4056	[DEBUG]	Update has field for parent category
2023-10-13	13:36:01	4056	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:36:01	4056	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:01	4056	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863548
2023-10-13	13:36:01	4056	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:01	4056	[DEBUG]	Executed store
2023-10-13	13:36:01	4056	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863548','7401')
2023-10-13	13:36:01	4056	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:01	4056	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863548 AND `virtuemart_category_id` NOT IN (7401)
2023-10-13	13:36:01	4056	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:01	4056	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863548
2023-10-13	13:36:01	4057	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:01	4057	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:01	4057	[DEBUG]	Use field value for field taille
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:01	4057	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:01	4057	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:01	4057	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:01	4057	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:01	4057	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:01	4057	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:01	4057	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:01	4057	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:01	4057	[DEBUG]	Use field value for field published
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:01	4057	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field override
2023-10-13	13:36:01	4057	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:01	4057	[DEBUG]	Use field value for field slug
2023-10-13	13:36:01	4057	[DEBUG]	Process line 4057
2023-10-13	13:36:01	4057	[DEBUG]	Load a row
2023-10-13	13:36:01	4057	[DEBUG]	Processing item: 8435466216535
2023-10-13	13:36:01	4057	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:01	4057	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:01	4057	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6295_13'
2023-10-13	13:36:01	4057	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:01	4057	[DEBUG]	Processing product tax
2023-10-13	13:36:01	4057	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:01	4057	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:01	4057	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:01	4057	[DEBUG]	Query for Product
2023-10-13	13:36:01	4057	[DEBUG]	Executed store
2023-10-13	13:36:01	4057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863548','8435466216535','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:01	4057	[DEBUG]	No parent found
2023-10-13	13:36:01	4057	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863548 AND customfield_value = 'stockable'
2023-10-13	13:36:01	4057	[DEBUG]	Check product language entry
2023-10-13	13:36:01	4057	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863549
2023-10-13	13:36:01	4057	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:01	4057	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216535' AND `virtuemart_product_id` != 1863549
2023-10-13	13:36:01	4057	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:01	4057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863549, '8435466216535')
2023-10-13	13:36:01	4057	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:01	4057	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-msc-mousse-29-xc-taille-m-2-00-x-2-20-valves-tubeless-2-unites-argent-unitaire' AND `virtuemart_product_id` != 1863549
2023-10-13	13:36:01	4057	[DEBUG]	Query for ProductLang
2023-10-13	13:36:01	4057	[DEBUG]	Executed store
2023-10-13	13:36:01	4057	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC MSC MOUSSE 29, XC. Taille M 2.00 x 2.20 + valves Tubeless, 2 unités  / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-msc-mousse-29-xc-taille-m-2-00-x-2-20-valves-tubeless-2-unites-argent-unitaire' WHERE `virtuemart_product_id` = '1863549'
2023-10-13	13:36:01	4057	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32145_msc_mousse_29,_xc__taille_m_2_00_x_2_20_+_valves_tubeless,_2_unites_.png
2023-10-13	13:36:01	4057	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000780
2023-10-13	13:36:01	4057	[DEBUG]	Process image file
2023-10-13	13:36:01	4057	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000780
2023-10-13	13:36:01	4057	[DEBUG]	Mime type found: image/png
2023-10-13	13:36:01	4057	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32145_msc_mousse_29,_xc__taille_m_2_00_x_2_20_+_valves_tubeless,_2_unites_.png
2023-10-13	13:36:01	4057	[DEBUG]	Full name target: bcprisme/32145_msc_mousse_29,_xc__taille_m_2_00_x_2_20_+_valves_tubeless,_2_unites_.png
2023-10-13	13:36:02	4057	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:02	4057	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32145_msc_mousse_29,_xc__taille_m_2_00_x_2_20_+_valves_tubeless,_2_unites_.png'
2023-10-13	13:36:02	4057	[DEBUG]	Query for Media
2023-10-13	13:36:02	4057	[DEBUG]	Executed store
2023-10-13	13:36:02	4057	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/32145_msc_mousse_29,_xc__taille_m_2_00_x_2_20_+_valves_tubeless,_2_unites_.png',`file_url_thumb`='bcprisme/32145_msc_mousse_29,_xc__taille_m_2_00_x_2_20_+_valves_tubeless,_2_unites_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14475'
2023-10-13	13:36:02	4057	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:02	4057	[DEBUG]	Executed store
2023-10-13	13:36:02	4057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863549','14475','1')
2023-10-13	13:36:02	4057	[DEBUG]	Store product image relation
2023-10-13	13:36:02	4057	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:02	4057	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863549 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:02	4057	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:02	4057	[DEBUG]	Executed store
2023-10-13	13:36:02	4057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863549','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:02	4057	[DEBUG]	Checking manufacturer
2023-10-13	13:36:02	4057	[DEBUG]	Load a row
2023-10-13	13:36:02	4057	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:02	4057	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:36:02	4057	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:02	4057	[DEBUG]	Executed store
2023-10-13	13:36:02	4057	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:36:02	4057	[DEBUG]	Manufacturer exists
2023-10-13	13:36:02	4057	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:36:02	4057	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:02	4057	[DEBUG]	Executed store
2023-10-13	13:36:02	4057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863549','32')
2023-10-13	13:36:02	4057	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:02	4057	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:02	4057	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863549 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:02	4057	[DEBUG]	Store custom available field
2023-10-13	13:36:02	4057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863549,3,'',1)
2023-10-13	13:36:02	4057	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:02	4057	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:02	4057	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863549 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:02	4057	[DEBUG]	Store custom available field
2023-10-13	13:36:02	4057	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863549,6,'Unitaire',3)
2023-10-13	13:36:02	4057	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:02	4057	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:02	4057	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863548
2023-10-13	13:36:02	4057	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:02	4057	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863548\":[1863548,8,1,\"choisir la taille\"],\"1863549\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863548
2023-10-13	13:36:02	4057	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:02	4057	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863549
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:02	4058	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field taille
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:02	4058	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:02	4058	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:02	4058	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:02	4058	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:02	4058	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:02	4058	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field published
2023-10-13	13:36:02	4058	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:02	4058	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field override
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:02	4058	[DEBUG]	Use field value for field slug
2023-10-13	13:36:02	4058	[DEBUG]	Process line 4058
2023-10-13	13:36:02	4058	[DEBUG]	Load a row
2023-10-13	13:36:02	4058	[DEBUG]	Processing item: A_6296_13
2023-10-13	13:36:02	4058	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:02	4058	[DEBUG]	Processing product tax
2023-10-13	13:36:02	4058	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:02	4058	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:02	4058	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:02	4058	[DEBUG]	Query for Product
2023-10-13	13:36:02	4058	[DEBUG]	Executed store
2023-10-13	13:36:02	4058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6296_13','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:02	4058	[DEBUG]	Check product language entry
2023-10-13	13:36:02	4058	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863550
2023-10-13	13:36:02	4058	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:02	4058	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6296_13' AND `virtuemart_product_id` != 1863550
2023-10-13	13:36:02	4058	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:02	4058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863550, 'A_6296_13')
2023-10-13	13:36:02	4058	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:02	4058	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-msc-mousse-29-gravel-taille-s-700-x-38---42-valves-tubeless-2-unites-argent' AND `virtuemart_product_id` != 1863550
2023-10-13	13:36:02	4058	[DEBUG]	Query for ProductLang
2023-10-13	13:36:02	4058	[DEBUG]	Executed store
2023-10-13	13:36:02	4058	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : MSCMOUSSE29S',`product_name`='MSC MSC MOUSSE 29, GRAVEL. Taille S 700 x 38 - 42 + valves Tubeless, 2 unités  / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-msc-mousse-29-gravel-taille-s-700-x-38---42-valves-tubeless-2-unites-argent' WHERE `virtuemart_product_id` = '1863550'
2023-10-13	13:36:02	4058	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32146_msc_mousse_29,_gravel__taille_s_700_x_38_-_42_+_valves_tubeless,_2_unites_.png
2023-10-13	13:36:02	4058	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000780
2023-10-13	13:36:02	4058	[DEBUG]	Process image file
2023-10-13	13:36:02	4058	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000780
2023-10-13	13:36:02	4058	[DEBUG]	Mime type found: image/png
2023-10-13	13:36:02	4058	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32146_msc_mousse_29,_gravel__taille_s_700_x_38_-_42_+_valves_tubeless,_2_unites_.png
2023-10-13	13:36:02	4058	[DEBUG]	Full name target: bcprisme/32146_msc_mousse_29,_gravel__taille_s_700_x_38_-_42_+_valves_tubeless,_2_unites_.png
2023-10-13	13:36:03	4058	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:03	4058	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32146_msc_mousse_29,_gravel__taille_s_700_x_38_-_42_+_valves_tubeless,_2_unites_.png'
2023-10-13	13:36:03	4058	[DEBUG]	Query for Media
2023-10-13	13:36:03	4058	[DEBUG]	Executed store
2023-10-13	13:36:03	4058	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/32146_msc_mousse_29,_gravel__taille_s_700_x_38_-_42_+_valves_tubeless,_2_unites_.png',`file_url_thumb`='bcprisme/32146_msc_mousse_29,_gravel__taille_s_700_x_38_-_42_+_valves_tubeless,_2_unites_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14476'
2023-10-13	13:36:03	4058	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:03	4058	[DEBUG]	Executed store
2023-10-13	13:36:03	4058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863550','14476','1')
2023-10-13	13:36:03	4058	[DEBUG]	Store product image relation
2023-10-13	13:36:03	4058	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:03	4058	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863550 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:03	4058	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:03	4058	[DEBUG]	Executed store
2023-10-13	13:36:03	4058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863550','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:03	4058	[DEBUG]	Checking manufacturer
2023-10-13	13:36:03	4058	[DEBUG]	Load a row
2023-10-13	13:36:03	4058	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:03	4058	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:36:03	4058	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:03	4058	[DEBUG]	Executed store
2023-10-13	13:36:03	4058	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:36:03	4058	[DEBUG]	Manufacturer exists
2023-10-13	13:36:03	4058	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:36:03	4058	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:03	4058	[DEBUG]	Executed store
2023-10-13	13:36:03	4058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863550','32')
2023-10-13	13:36:03	4058	[DEBUG]	Find the custom field ID
2023-10-13	13:36:03	4058	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:03	4058	[DEBUG]	No custom field ID found
2023-10-13	13:36:03	4058	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:03	4058	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:36:03	4058	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863550 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:03	4058	[DEBUG]	Store custom available field
2023-10-13	13:36:03	4058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863550,3,'54.7475',1)
2023-10-13	13:36:03	4058	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:03	4058	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:03	4058	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863550 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:03	4058	[DEBUG]	Store custom available field
2023-10-13	13:36:03	4058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863550,6,'choisir la taille',3)
2023-10-13	13:36:03	4058	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:03	4058	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:03	4058	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:03	4058	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:03	4058	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863550 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:03	4058	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:03	4058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863550,8,1)
2023-10-13	13:36:03	4058	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:03	4058	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863550\":[1863550,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863550
2023-10-13	13:36:03	4058	[DEBUG]	Checking category
2023-10-13	13:36:03	4058	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:03	4058	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863550
2023-10-13	13:36:03	4058	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:03	4058	[DEBUG]	Executed store
2023-10-13	13:36:03	4058	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863550','7401')
2023-10-13	13:36:03	4058	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:03	4058	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863550 AND `virtuemart_category_id` NOT IN (7401)
2023-10-13	13:36:03	4058	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:03	4058	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863550
2023-10-13	13:36:03	4059	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:03	4059	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:03	4059	[DEBUG]	Use field value for field taille
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:03	4059	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:03	4059	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:03	4059	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:03	4059	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:03	4059	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:03	4059	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:03	4059	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:03	4059	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:03	4059	[DEBUG]	Use field value for field published
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:03	4059	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field override
2023-10-13	13:36:03	4059	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:03	4059	[DEBUG]	Use field value for field slug
2023-10-13	13:36:03	4059	[DEBUG]	Process line 4059
2023-10-13	13:36:03	4059	[DEBUG]	Load a row
2023-10-13	13:36:03	4059	[DEBUG]	Processing item: 8435466216528
2023-10-13	13:36:03	4059	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:03	4059	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:03	4059	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6296_13'
2023-10-13	13:36:03	4059	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:03	4059	[DEBUG]	Processing product tax
2023-10-13	13:36:03	4059	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:03	4059	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:03	4059	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:03	4059	[DEBUG]	Query for Product
2023-10-13	13:36:03	4059	[DEBUG]	Executed store
2023-10-13	13:36:03	4059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863550','8435466216528','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:03	4059	[DEBUG]	No parent found
2023-10-13	13:36:03	4059	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863550 AND customfield_value = 'stockable'
2023-10-13	13:36:03	4059	[DEBUG]	Check product language entry
2023-10-13	13:36:03	4059	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863551
2023-10-13	13:36:03	4059	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:03	4059	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216528' AND `virtuemart_product_id` != 1863551
2023-10-13	13:36:03	4059	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:03	4059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863551, '8435466216528')
2023-10-13	13:36:03	4059	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:03	4059	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-msc-mousse-29-gravel-taille-s-700-x-38---42-valves-tubeless-2-unites-argent-unitaire' AND `virtuemart_product_id` != 1863551
2023-10-13	13:36:03	4059	[DEBUG]	Query for ProductLang
2023-10-13	13:36:03	4059	[DEBUG]	Executed store
2023-10-13	13:36:03	4059	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC MSC MOUSSE 29, GRAVEL. Taille S 700 x 38 - 42 + valves Tubeless, 2 unités  / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-msc-mousse-29-gravel-taille-s-700-x-38---42-valves-tubeless-2-unites-argent-unitaire' WHERE `virtuemart_product_id` = '1863551'
2023-10-13	13:36:03	4059	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32146_msc_mousse_29,_gravel__taille_s_700_x_38_-_42_+_valves_tubeless,_2_unites_.png
2023-10-13	13:36:03	4059	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000780
2023-10-13	13:36:03	4059	[DEBUG]	Process image file
2023-10-13	13:36:03	4059	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000780
2023-10-13	13:36:03	4059	[DEBUG]	Mime type found: image/png
2023-10-13	13:36:03	4059	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32146_msc_mousse_29,_gravel__taille_s_700_x_38_-_42_+_valves_tubeless,_2_unites_.png
2023-10-13	13:36:03	4059	[DEBUG]	Full name target: bcprisme/32146_msc_mousse_29,_gravel__taille_s_700_x_38_-_42_+_valves_tubeless,_2_unites_.png
2023-10-13	13:36:04	4059	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:04	4059	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32146_msc_mousse_29,_gravel__taille_s_700_x_38_-_42_+_valves_tubeless,_2_unites_.png'
2023-10-13	13:36:04	4059	[DEBUG]	Query for Media
2023-10-13	13:36:04	4059	[DEBUG]	Executed store
2023-10-13	13:36:04	4059	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/32146_msc_mousse_29,_gravel__taille_s_700_x_38_-_42_+_valves_tubeless,_2_unites_.png',`file_url_thumb`='bcprisme/32146_msc_mousse_29,_gravel__taille_s_700_x_38_-_42_+_valves_tubeless,_2_unites_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14476'
2023-10-13	13:36:04	4059	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:04	4059	[DEBUG]	Executed store
2023-10-13	13:36:04	4059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863551','14476','1')
2023-10-13	13:36:04	4059	[DEBUG]	Store product image relation
2023-10-13	13:36:04	4059	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:04	4059	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863551 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:04	4059	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:04	4059	[DEBUG]	Executed store
2023-10-13	13:36:04	4059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863551','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:04	4059	[DEBUG]	Checking manufacturer
2023-10-13	13:36:04	4059	[DEBUG]	Load a row
2023-10-13	13:36:04	4059	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:04	4059	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:36:04	4059	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:04	4059	[DEBUG]	Executed store
2023-10-13	13:36:04	4059	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:36:04	4059	[DEBUG]	Manufacturer exists
2023-10-13	13:36:04	4059	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:36:04	4059	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:04	4059	[DEBUG]	Executed store
2023-10-13	13:36:04	4059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863551','32')
2023-10-13	13:36:04	4059	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:04	4059	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:04	4059	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863551 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:04	4059	[DEBUG]	Store custom available field
2023-10-13	13:36:04	4059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863551,3,'',1)
2023-10-13	13:36:04	4059	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:04	4059	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:04	4059	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863551 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:04	4059	[DEBUG]	Store custom available field
2023-10-13	13:36:04	4059	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863551,6,'Unitaire',3)
2023-10-13	13:36:04	4059	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:04	4059	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:04	4059	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863550
2023-10-13	13:36:04	4059	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:04	4059	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863550\":[1863550,8,1,\"choisir la taille\"],\"1863551\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863550
2023-10-13	13:36:04	4059	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:04	4059	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863551
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:04	4060	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field taille
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:04	4060	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:04	4060	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:04	4060	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:04	4060	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:04	4060	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:04	4060	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field published
2023-10-13	13:36:04	4060	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:04	4060	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field override
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:04	4060	[DEBUG]	Use field value for field slug
2023-10-13	13:36:04	4060	[DEBUG]	Process line 4060
2023-10-13	13:36:04	4060	[DEBUG]	Load a row
2023-10-13	13:36:04	4060	[DEBUG]	Processing item: A_8184_40
2023-10-13	13:36:04	4060	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:04	4060	[DEBUG]	Processing product tax
2023-10-13	13:36:04	4060	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:04	4060	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:04	4060	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:04	4060	[DEBUG]	Query for Product
2023-10-13	13:36:04	4060	[DEBUG]	Executed store
2023-10-13	13:36:04	4060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8184_40','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:04	4060	[DEBUG]	Check product language entry
2023-10-13	13:36:04	4060	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863552
2023-10-13	13:36:04	4060	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:04	4060	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8184_40' AND `virtuemart_product_id` != 1863552
2023-10-13	13:36:04	4060	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:04	4060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863552, 'A_8184_40')
2023-10-13	13:36:04	4060	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:04	4060	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-air-liner-protection-anti--crevaison-taille-s-de-1-9-a-2-2-vert' AND `virtuemart_product_id` != 1863552
2023-10-13	13:36:04	4060	[DEBUG]	Query for ProductLang
2023-10-13	13:36:04	4060	[DEBUG]	Executed store
2023-10-13	13:36:04	4060	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.73519',`product_name`='VITTORIA Air-Liner protection anti- crevaison taille S de 1.9 à 2.2&#34; / Vert&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-air-liner-protection-anti--crevaison-taille-s-de-1-9-a-2-2-vert' WHERE `virtuemart_product_id` = '1863552'
2023-10-13	13:36:04	4060	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_73519-21_1_jpg.jpg
2023-10-13	13:36:04	4060	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:36:04	4060	[DEBUG]	Process image file
2023-10-13	13:36:04	4060	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:36:04	4060	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:04	4060	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_73519-21_1_jpg.jpg
2023-10-13	13:36:04	4060	[DEBUG]	Full name target: bcprisme/24_73519-21_1_jpg.jpg
2023-10-13	13:36:05	4060	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:05	4060	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_73519-21_1_jpg.jpg'
2023-10-13	13:36:05	4060	[DEBUG]	Query for Media
2023-10-13	13:36:05	4060	[DEBUG]	Executed store
2023-10-13	13:36:05	4060	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_73519-21_1_jpg.jpg',`file_url_thumb`='bcprisme/24_73519-21_1_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '700090'
2023-10-13	13:36:05	4060	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:05	4060	[DEBUG]	Executed store
2023-10-13	13:36:05	4060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863552','700090','1')
2023-10-13	13:36:05	4060	[DEBUG]	Store product image relation
2023-10-13	13:36:05	4060	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:05	4060	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863552 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:05	4060	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:05	4060	[DEBUG]	Executed store
2023-10-13	13:36:05	4060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863552','0','78.9229340761374','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:05	4060	[DEBUG]	Checking manufacturer
2023-10-13	13:36:05	4060	[DEBUG]	Load a row
2023-10-13	13:36:05	4060	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:05	4060	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:36:05	4060	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:05	4060	[DEBUG]	Executed store
2023-10-13	13:36:05	4060	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:36:05	4060	[DEBUG]	Manufacturer exists
2023-10-13	13:36:05	4060	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:36:05	4060	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:05	4060	[DEBUG]	Executed store
2023-10-13	13:36:05	4060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863552','42')
2023-10-13	13:36:05	4060	[DEBUG]	Find the custom field ID
2023-10-13	13:36:05	4060	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:05	4060	[DEBUG]	No custom field ID found
2023-10-13	13:36:05	4060	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:05	4060	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:36:05	4060	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863552 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:05	4060	[DEBUG]	Store custom available field
2023-10-13	13:36:05	4060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863552,3,'0',1)
2023-10-13	13:36:05	4060	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:05	4060	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:05	4060	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863552 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:05	4060	[DEBUG]	Store custom available field
2023-10-13	13:36:05	4060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863552,6,'choisir la taille',3)
2023-10-13	13:36:05	4060	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:05	4060	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:05	4060	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:05	4060	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:05	4060	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863552 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:05	4060	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:05	4060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863552,8,1)
2023-10-13	13:36:05	4060	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:05	4060	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863552\":[1863552,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863552
2023-10-13	13:36:05	4060	[DEBUG]	Checking category
2023-10-13	13:36:05	4060	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:05	4060	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863552
2023-10-13	13:36:05	4060	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:05	4060	[DEBUG]	Executed store
2023-10-13	13:36:05	4060	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863552','7401')
2023-10-13	13:36:05	4060	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:05	4060	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863552 AND `virtuemart_category_id` NOT IN (7401)
2023-10-13	13:36:05	4060	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:05	4060	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863552
2023-10-13	13:36:05	4061	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:05	4061	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:05	4061	[DEBUG]	Use field value for field taille
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:05	4061	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:05	4061	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:05	4061	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:05	4061	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:05	4061	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:05	4061	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:05	4061	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:05	4061	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:05	4061	[DEBUG]	Use field value for field published
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:05	4061	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field override
2023-10-13	13:36:05	4061	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:05	4061	[DEBUG]	Use field value for field slug
2023-10-13	13:36:05	4061	[DEBUG]	Process line 4061
2023-10-13	13:36:05	4061	[DEBUG]	Load a row
2023-10-13	13:36:05	4061	[DEBUG]	Processing item: 8022530013703
2023-10-13	13:36:05	4061	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:05	4061	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:05	4061	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8184_40'
2023-10-13	13:36:05	4061	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:05	4061	[DEBUG]	Processing product tax
2023-10-13	13:36:05	4061	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:05	4061	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:05	4061	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:05	4061	[DEBUG]	Query for Product
2023-10-13	13:36:05	4061	[DEBUG]	Executed store
2023-10-13	13:36:05	4061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863552','8022530013703','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:05	4061	[DEBUG]	No parent found
2023-10-13	13:36:05	4061	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863552 AND customfield_value = 'stockable'
2023-10-13	13:36:05	4061	[DEBUG]	Check product language entry
2023-10-13	13:36:05	4061	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863553
2023-10-13	13:36:05	4061	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:05	4061	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8022530013703' AND `virtuemart_product_id` != 1863553
2023-10-13	13:36:05	4061	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:05	4061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863553, '8022530013703')
2023-10-13	13:36:05	4061	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:05	4061	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-air-liner-protection-anti--crevaison-taille-s-de-1-9-a-2-2-vert-unitaire' AND `virtuemart_product_id` != 1863553
2023-10-13	13:36:05	4061	[DEBUG]	Query for ProductLang
2023-10-13	13:36:05	4061	[DEBUG]	Executed store
2023-10-13	13:36:05	4061	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='VITTORIA Air-Liner protection anti- crevaison taille S de 1.9 à 2.2&#34; / Vert (Unitaire)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-air-liner-protection-anti--crevaison-taille-s-de-1-9-a-2-2-vert-unitaire' WHERE `virtuemart_product_id` = '1863553'
2023-10-13	13:36:05	4061	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_73519-21_1_jpg.jpg
2023-10-13	13:36:05	4061	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:36:05	4061	[DEBUG]	Process image file
2023-10-13	13:36:05	4061	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:36:05	4061	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:05	4061	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_73519-21_1_jpg.jpg
2023-10-13	13:36:05	4061	[DEBUG]	Full name target: bcprisme/24_73519-21_1_jpg.jpg
2023-10-13	13:36:06	4061	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:06	4061	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_73519-21_1_jpg.jpg'
2023-10-13	13:36:06	4061	[DEBUG]	Query for Media
2023-10-13	13:36:06	4061	[DEBUG]	Executed store
2023-10-13	13:36:06	4061	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_73519-21_1_jpg.jpg',`file_url_thumb`='bcprisme/24_73519-21_1_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '700090'
2023-10-13	13:36:06	4061	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:06	4061	[DEBUG]	Executed store
2023-10-13	13:36:06	4061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863553','700090','1')
2023-10-13	13:36:06	4061	[DEBUG]	Store product image relation
2023-10-13	13:36:06	4061	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:06	4061	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863553 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:06	4061	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:06	4061	[DEBUG]	Executed store
2023-10-13	13:36:06	4061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863553','0','78.9229340761374','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:06	4061	[DEBUG]	Checking manufacturer
2023-10-13	13:36:06	4061	[DEBUG]	Load a row
2023-10-13	13:36:06	4061	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:06	4061	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:36:06	4061	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:06	4061	[DEBUG]	Executed store
2023-10-13	13:36:06	4061	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:36:06	4061	[DEBUG]	Manufacturer exists
2023-10-13	13:36:06	4061	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:36:06	4061	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:06	4061	[DEBUG]	Executed store
2023-10-13	13:36:06	4061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863553','42')
2023-10-13	13:36:06	4061	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:06	4061	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:06	4061	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863553 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:06	4061	[DEBUG]	Store custom available field
2023-10-13	13:36:06	4061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863553,3,'',1)
2023-10-13	13:36:06	4061	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:06	4061	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:06	4061	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863553 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:06	4061	[DEBUG]	Store custom available field
2023-10-13	13:36:06	4061	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863553,6,'Unitaire',3)
2023-10-13	13:36:06	4061	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:06	4061	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:06	4061	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863552
2023-10-13	13:36:06	4061	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:06	4061	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863552\":[1863552,8,1,\"choisir la taille\"],\"1863553\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863552
2023-10-13	13:36:06	4061	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:06	4061	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863553
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:06	4062	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field taille
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:06	4062	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:06	4062	[DEBUG]	Use default value for field file_url
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:06	4062	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:06	4062	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:06	4062	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:06	4062	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:06	4062	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field published
2023-10-13	13:36:06	4062	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:06	4062	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field override
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:06	4062	[DEBUG]	Use field value for field slug
2023-10-13	13:36:06	4062	[DEBUG]	Process line 4062
2023-10-13	13:36:06	4062	[DEBUG]	Load a row
2023-10-13	13:36:06	4062	[DEBUG]	Processing item: A_9839_13
2023-10-13	13:36:06	4062	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:06	4062	[DEBUG]	Processing product tax
2023-10-13	13:36:06	4062	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:06	4062	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:06	4062	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:06	4062	[DEBUG]	Query for Product
2023-10-13	13:36:06	4062	[DEBUG]	Executed store
2023-10-13	13:36:06	4062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9839_13','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:06	4062	[DEBUG]	Check product language entry
2023-10-13	13:36:06	4062	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863554
2023-10-13	13:36:06	4062	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:06	4062	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9839_13' AND `virtuemart_product_id` != 1863554
2023-10-13	13:36:06	4062	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:06	4062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863554, 'A_9839_13')
2023-10-13	13:36:06	4062	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:06	4062	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-msc-mousse-27-5-xc-taille-m-2-00-x-2-20-valves-tubeless-2-unites-copie-argent' AND `virtuemart_product_id` != 1863554
2023-10-13	13:36:06	4062	[DEBUG]	Query for ProductLang
2023-10-13	13:36:06	4062	[DEBUG]	Executed store
2023-10-13	13:36:06	4062	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : MSCMOUSSE275M',`product_name`='MSC MSC MOUSSE 27,5 XC. Taille M 2.00 x 2.20 + valves Tubeless, 2 unités  (copie) / Argent',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-msc-mousse-27-5-xc-taille-m-2-00-x-2-20-valves-tubeless-2-unites-copie-argent' WHERE `virtuemart_product_id` = '1863554'
2023-10-13	13:36:06	4062	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:06	4062	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863554 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:06	4062	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:06	4062	[DEBUG]	Executed store
2023-10-13	13:36:06	4062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863554','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:06	4062	[DEBUG]	Checking manufacturer
2023-10-13	13:36:06	4062	[DEBUG]	Load a row
2023-10-13	13:36:06	4062	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:06	4062	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:36:06	4062	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:06	4062	[DEBUG]	Executed store
2023-10-13	13:36:06	4062	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:36:06	4062	[DEBUG]	Manufacturer exists
2023-10-13	13:36:06	4062	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:36:06	4062	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:06	4062	[DEBUG]	Executed store
2023-10-13	13:36:06	4062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863554','32')
2023-10-13	13:36:06	4062	[DEBUG]	Find the custom field ID
2023-10-13	13:36:06	4062	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:06	4062	[DEBUG]	No custom field ID found
2023-10-13	13:36:06	4062	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:06	4062	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:36:06	4062	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863554 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:06	4062	[DEBUG]	Store custom available field
2023-10-13	13:36:06	4062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863554,3,'54.7475',1)
2023-10-13	13:36:06	4062	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:06	4062	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:06	4062	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863554 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:06	4062	[DEBUG]	Store custom available field
2023-10-13	13:36:06	4062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863554,6,'choisir la taille',3)
2023-10-13	13:36:06	4062	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:06	4062	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:06	4062	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:06	4062	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:06	4062	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863554 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:06	4062	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:06	4062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863554,8,1)
2023-10-13	13:36:06	4062	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:06	4062	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863554\":[1863554,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863554
2023-10-13	13:36:06	4062	[DEBUG]	Checking category
2023-10-13	13:36:06	4062	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:06	4062	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863554
2023-10-13	13:36:06	4062	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:06	4062	[DEBUG]	Executed store
2023-10-13	13:36:06	4062	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863554','7401')
2023-10-13	13:36:06	4062	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:06	4062	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863554 AND `virtuemart_category_id` NOT IN (7401)
2023-10-13	13:36:06	4062	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:06	4062	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863554
2023-10-13	13:36:06	4063	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:06	4063	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:06	4063	[DEBUG]	Use field value for field taille
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:06	4063	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:06	4063	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:06	4063	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field file_url
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:06	4063	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:06	4063	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:06	4063	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:06	4063	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:06	4063	[DEBUG]	Use field value for field published
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:06	4063	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field override
2023-10-13	13:36:06	4063	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:06	4063	[DEBUG]	Use field value for field slug
2023-10-13	13:36:06	4063	[DEBUG]	Process line 4063
2023-10-13	13:36:06	4063	[DEBUG]	Load a row
2023-10-13	13:36:06	4063	[DEBUG]	Processing item: 1000022735194
2023-10-13	13:36:06	4063	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:06	4063	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:06	4063	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9839_13'
2023-10-13	13:36:06	4063	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:06	4063	[DEBUG]	Processing product tax
2023-10-13	13:36:06	4063	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:06	4063	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:06	4063	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:06	4063	[DEBUG]	Query for Product
2023-10-13	13:36:06	4063	[DEBUG]	Executed store
2023-10-13	13:36:06	4063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863554','1000022735194','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:06	4063	[DEBUG]	No parent found
2023-10-13	13:36:06	4063	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863554 AND customfield_value = 'stockable'
2023-10-13	13:36:06	4063	[DEBUG]	Check product language entry
2023-10-13	13:36:06	4063	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863555
2023-10-13	13:36:06	4063	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:06	4063	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022735194' AND `virtuemart_product_id` != 1863555
2023-10-13	13:36:06	4063	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:06	4063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863555, '1000022735194')
2023-10-13	13:36:06	4063	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:06	4063	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-msc-mousse-27-5-xc-taille-m-2-00-x-2-20-valves-tubeless-2-unites-copie-argent-unitaire' AND `virtuemart_product_id` != 1863555
2023-10-13	13:36:06	4063	[DEBUG]	Query for ProductLang
2023-10-13	13:36:06	4063	[DEBUG]	Executed store
2023-10-13	13:36:06	4063	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC MSC MOUSSE 27,5 XC. Taille M 2.00 x 2.20 + valves Tubeless, 2 unités  (copie) / Argent (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-msc-mousse-27-5-xc-taille-m-2-00-x-2-20-valves-tubeless-2-unites-copie-argent-unitaire' WHERE `virtuemart_product_id` = '1863555'
2023-10-13	13:36:06	4063	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:06	4063	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863555 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:06	4063	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:06	4063	[DEBUG]	Executed store
2023-10-13	13:36:06	4063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863555','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:06	4063	[DEBUG]	Checking manufacturer
2023-10-13	13:36:06	4063	[DEBUG]	Load a row
2023-10-13	13:36:06	4063	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:06	4063	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:36:06	4063	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:06	4063	[DEBUG]	Executed store
2023-10-13	13:36:06	4063	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:36:06	4063	[DEBUG]	Manufacturer exists
2023-10-13	13:36:06	4063	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:36:06	4063	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:06	4063	[DEBUG]	Executed store
2023-10-13	13:36:06	4063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863555','32')
2023-10-13	13:36:06	4063	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:06	4063	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:06	4063	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863555 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:06	4063	[DEBUG]	Store custom available field
2023-10-13	13:36:06	4063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863555,3,'',1)
2023-10-13	13:36:06	4063	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:06	4063	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:06	4063	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863555 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:06	4063	[DEBUG]	Store custom available field
2023-10-13	13:36:06	4063	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863555,6,'Unitaire',3)
2023-10-13	13:36:06	4063	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:06	4063	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:06	4063	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863554
2023-10-13	13:36:06	4063	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:06	4063	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863554\":[1863554,8,1,\"choisir la taille\"],\"1863555\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863554
2023-10-13	13:36:06	4063	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:06	4063	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863555
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:06	4064	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field taille
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:06	4064	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:06	4064	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:06	4064	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:06	4064	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:06	4064	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:06	4064	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field published
2023-10-13	13:36:06	4064	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:06	4064	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field override
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:06	4064	[DEBUG]	Use field value for field slug
2023-10-13	13:36:06	4064	[DEBUG]	Process line 4064
2023-10-13	13:36:06	4064	[DEBUG]	Load a row
2023-10-13	13:36:06	4064	[DEBUG]	Processing item: A_5185_1
2023-10-13	13:36:06	4064	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:06	4064	[DEBUG]	Processing product tax
2023-10-13	13:36:06	4064	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:06	4064	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:06	4064	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:06	4064	[DEBUG]	Query for Product
2023-10-13	13:36:06	4064	[DEBUG]	Executed store
2023-10-13	13:36:06	4064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5185_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:06	4064	[DEBUG]	Check product language entry
2023-10-13	13:36:06	4064	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863556
2023-10-13	13:36:06	4064	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:06	4064	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5185_1' AND `virtuemart_product_id` != 1863556
2023-10-13	13:36:06	4064	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:06	4064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863556, 'A_5185_1')
2023-10-13	13:36:06	4064	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:06	4064	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-black-jack-activeline-16x1-90-47-305-noir' AND `virtuemart_product_id` != 1863556
2023-10-13	13:36:06	4064	[DEBUG]	Query for ProductLang
2023-10-13	13:36:06	4064	[DEBUG]	Executed store
2023-10-13	13:36:06	4064	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.03.721',`product_name`='SCHWALBE Pneu Schwalbe Black Jack ActiveLIne 16x1.90 47-305  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-black-jack-activeline-16x1-90-47-305-noir' WHERE `virtuemart_product_id` = '1863556'
2023-10-13	13:36:06	4064	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29650_pneu_schwalbe_black_jack_activeline_16x1_90_47-305_.png
2023-10-13	13:36:06	4064	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f4
2023-10-13	13:36:06	4064	[DEBUG]	Process image file
2023-10-13	13:36:06	4064	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f4
2023-10-13	13:36:06	4064	[DEBUG]	Mime type found: image/png
2023-10-13	13:36:06	4064	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29650_pneu_schwalbe_black_jack_activeline_16x1_90_47-305_.png
2023-10-13	13:36:06	4064	[DEBUG]	Full name target: bcprisme/29650_pneu_schwalbe_black_jack_activeline_16x1_90_47-305_.png
2023-10-13	13:36:07	4064	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:07	4064	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29650_pneu_schwalbe_black_jack_activeline_16x1_90_47-305_.png'
2023-10-13	13:36:07	4064	[DEBUG]	Query for Media
2023-10-13	13:36:07	4064	[DEBUG]	Executed store
2023-10-13	13:36:07	4064	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29650_pneu_schwalbe_black_jack_activeline_16x1_90_47-305_.png',`file_url_thumb`='bcprisme/29650_pneu_schwalbe_black_jack_activeline_16x1_90_47-305_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16002'
2023-10-13	13:36:07	4064	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:07	4064	[DEBUG]	Executed store
2023-10-13	13:36:07	4064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863556','16002','1')
2023-10-13	13:36:07	4064	[DEBUG]	Store product image relation
2023-10-13	13:36:07	4064	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:07	4064	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863556 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:07	4064	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:07	4064	[DEBUG]	Executed store
2023-10-13	13:36:07	4064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863556','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:07	4064	[DEBUG]	Checking manufacturer
2023-10-13	13:36:07	4064	[DEBUG]	Load a row
2023-10-13	13:36:07	4064	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:07	4064	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:07	4064	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:07	4064	[DEBUG]	Executed store
2023-10-13	13:36:07	4064	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:07	4064	[DEBUG]	Manufacturer exists
2023-10-13	13:36:07	4064	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:36:07	4064	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:07	4064	[DEBUG]	Executed store
2023-10-13	13:36:07	4064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863556','25')
2023-10-13	13:36:07	4064	[DEBUG]	Find the custom field ID
2023-10-13	13:36:07	4064	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:07	4064	[DEBUG]	No custom field ID found
2023-10-13	13:36:07	4064	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:07	4064	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:36:07	4064	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863556 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:07	4064	[DEBUG]	Store custom available field
2023-10-13	13:36:07	4064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863556,3,'39.7891666666667',1)
2023-10-13	13:36:07	4064	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:07	4064	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:07	4064	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863556 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:07	4064	[DEBUG]	Store custom available field
2023-10-13	13:36:07	4064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863556,6,'choisir la taille',3)
2023-10-13	13:36:07	4064	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:07	4064	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:07	4064	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:07	4064	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:07	4064	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863556 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:07	4064	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:07	4064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863556,8,1)
2023-10-13	13:36:07	4064	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:07	4064	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863556\":[1863556,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863556
2023-10-13	13:36:07	4064	[DEBUG]	Checking category
2023-10-13	13:36:07	4064	[DEBUG]	Check if category path exists: PNEU 16
2023-10-13	13:36:07	4064	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEU 16' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:36:07	4064	[DEBUG]	Query for Category
2023-10-13	13:36:07	4064	[DEBUG]	Executed store
2023-10-13	13:36:07	4064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','6','0','1','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:07	4064	[DEBUG]	Category publish 1
2023-10-13	13:36:07	4064	[DEBUG]	Check the category language
2023-10-13	13:36:07	4064	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7402
2023-10-13	13:36:07	4064	[DEBUG]	Check the category slug
2023-10-13	13:36:07	4064	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneu-16' AND `virtuemart_category_id` != 7402
2023-10-13	13:36:07	4064	[DEBUG]	Check the category slug
2023-10-13	13:36:07	4064	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneu-16' AND `virtuemart_category_id` != 7402
2023-10-13	13:36:07	4064	[DEBUG]	Add the category language entry
2023-10-13	13:36:07	4064	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7402, 'pneu-16')
2023-10-13	13:36:07	4064	[DEBUG]	Query for CategoryLang
2023-10-13	13:36:07	4064	[DEBUG]	Executed store
2023-10-13	13:36:07	4064	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PNEU 16',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pneu-16' WHERE `virtuemart_category_id` = '7402'
2023-10-13	13:36:07	4064	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:36:07	4064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7402','0')
2023-10-13	13:36:07	4064	[DEBUG]	Update has field for parent category
2023-10-13	13:36:07	4064	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:36:07	4064	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:07	4064	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863556
2023-10-13	13:36:07	4064	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:07	4064	[DEBUG]	Executed store
2023-10-13	13:36:07	4064	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863556','7402')
2023-10-13	13:36:07	4064	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:07	4064	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863556 AND `virtuemart_category_id` NOT IN (7402)
2023-10-13	13:36:07	4064	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:07	4064	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863556
2023-10-13	13:36:07	4065	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:07	4065	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:07	4065	[DEBUG]	Use field value for field taille
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:07	4065	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:07	4065	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:07	4065	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:07	4065	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:07	4065	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:07	4065	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:07	4065	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:07	4065	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:07	4065	[DEBUG]	Use field value for field published
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:07	4065	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field override
2023-10-13	13:36:07	4065	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:07	4065	[DEBUG]	Use field value for field slug
2023-10-13	13:36:07	4065	[DEBUG]	Process line 4065
2023-10-13	13:36:07	4065	[DEBUG]	Load a row
2023-10-13	13:36:07	4065	[DEBUG]	Processing item: 4026495810043
2023-10-13	13:36:07	4065	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:07	4065	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:07	4065	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5185_1'
2023-10-13	13:36:07	4065	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:07	4065	[DEBUG]	Processing product tax
2023-10-13	13:36:07	4065	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:07	4065	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:07	4065	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:07	4065	[DEBUG]	Query for Product
2023-10-13	13:36:07	4065	[DEBUG]	Executed store
2023-10-13	13:36:07	4065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863556','4026495810043','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:07	4065	[DEBUG]	No parent found
2023-10-13	13:36:07	4065	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863556 AND customfield_value = 'stockable'
2023-10-13	13:36:07	4065	[DEBUG]	Check product language entry
2023-10-13	13:36:07	4065	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863557
2023-10-13	13:36:07	4065	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:07	4065	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495810043' AND `virtuemart_product_id` != 1863557
2023-10-13	13:36:07	4065	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:07	4065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863557, '4026495810043')
2023-10-13	13:36:07	4065	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:07	4065	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-black-jack-activeline-16x1-90-47-305-noir-unitaire' AND `virtuemart_product_id` != 1863557
2023-10-13	13:36:07	4065	[DEBUG]	Query for ProductLang
2023-10-13	13:36:07	4065	[DEBUG]	Executed store
2023-10-13	13:36:07	4065	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Schwalbe Black Jack ActiveLIne 16x1.90 47-305  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-black-jack-activeline-16x1-90-47-305-noir-unitaire' WHERE `virtuemart_product_id` = '1863557'
2023-10-13	13:36:07	4065	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29650_pneu_schwalbe_black_jack_activeline_16x1_90_47-305_.png
2023-10-13	13:36:07	4065	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f4
2023-10-13	13:36:07	4065	[DEBUG]	Process image file
2023-10-13	13:36:07	4065	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f4
2023-10-13	13:36:07	4065	[DEBUG]	Mime type found: image/png
2023-10-13	13:36:07	4065	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29650_pneu_schwalbe_black_jack_activeline_16x1_90_47-305_.png
2023-10-13	13:36:07	4065	[DEBUG]	Full name target: bcprisme/29650_pneu_schwalbe_black_jack_activeline_16x1_90_47-305_.png
2023-10-13	13:36:08	4065	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:08	4065	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29650_pneu_schwalbe_black_jack_activeline_16x1_90_47-305_.png'
2023-10-13	13:36:08	4065	[DEBUG]	Query for Media
2023-10-13	13:36:08	4065	[DEBUG]	Executed store
2023-10-13	13:36:08	4065	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29650_pneu_schwalbe_black_jack_activeline_16x1_90_47-305_.png',`file_url_thumb`='bcprisme/29650_pneu_schwalbe_black_jack_activeline_16x1_90_47-305_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16002'
2023-10-13	13:36:08	4065	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:08	4065	[DEBUG]	Executed store
2023-10-13	13:36:08	4065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863557','16002','1')
2023-10-13	13:36:08	4065	[DEBUG]	Store product image relation
2023-10-13	13:36:08	4065	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:08	4065	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863557 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:08	4065	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:08	4065	[DEBUG]	Executed store
2023-10-13	13:36:08	4065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863557','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:08	4065	[DEBUG]	Checking manufacturer
2023-10-13	13:36:08	4065	[DEBUG]	Load a row
2023-10-13	13:36:08	4065	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:08	4065	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:08	4065	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:08	4065	[DEBUG]	Executed store
2023-10-13	13:36:08	4065	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:08	4065	[DEBUG]	Manufacturer exists
2023-10-13	13:36:08	4065	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:36:08	4065	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:08	4065	[DEBUG]	Executed store
2023-10-13	13:36:08	4065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863557','25')
2023-10-13	13:36:08	4065	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:08	4065	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:08	4065	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863557 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:08	4065	[DEBUG]	Store custom available field
2023-10-13	13:36:08	4065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863557,3,'',1)
2023-10-13	13:36:08	4065	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:08	4065	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:08	4065	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863557 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:08	4065	[DEBUG]	Store custom available field
2023-10-13	13:36:08	4065	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863557,6,'Unitaire',3)
2023-10-13	13:36:08	4065	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:08	4065	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:08	4065	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863556
2023-10-13	13:36:08	4065	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:08	4065	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863556\":[1863556,8,1,\"choisir la taille\"],\"1863557\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863556
2023-10-13	13:36:08	4065	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:08	4065	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863557
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:08	4066	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field taille
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:08	4066	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:08	4066	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:08	4066	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:08	4066	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:08	4066	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:08	4066	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field published
2023-10-13	13:36:08	4066	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:08	4066	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field override
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:08	4066	[DEBUG]	Use field value for field slug
2023-10-13	13:36:08	4066	[DEBUG]	Process line 4066
2023-10-13	13:36:08	4066	[DEBUG]	Load a row
2023-10-13	13:36:08	4066	[DEBUG]	Processing item: A_5372_1
2023-10-13	13:36:08	4066	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:08	4066	[DEBUG]	Processing product tax
2023-10-13	13:36:08	4066	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:08	4066	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:08	4066	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:08	4066	[DEBUG]	Query for Product
2023-10-13	13:36:08	4066	[DEBUG]	Executed store
2023-10-13	13:36:08	4066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5372_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:08	4066	[DEBUG]	Check product language entry
2023-10-13	13:36:08	4066	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863558
2023-10-13	13:36:08	4066	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:08	4066	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5372_1' AND `virtuemart_product_id` != 1863558
2023-10-13	13:36:08	4066	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:08	4066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863558, 'A_5372_1')
2023-10-13	13:36:08	4066	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:08	4066	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-mad-mike-activeline-16x1-75-noir' AND `virtuemart_product_id` != 1863558
2023-10-13	13:36:08	4066	[DEBUG]	Query for ProductLang
2023-10-13	13:36:08	4066	[DEBUG]	Executed store
2023-10-13	13:36:08	4066	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : 10.55.03.003',`product_name`='SCHWALBE Pneu Schwalbe mad mike ActiveLIne 16x1.75 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-mad-mike-activeline-16x1-75-noir' WHERE `virtuemart_product_id` = '1863558'
2023-10-13	13:36:08	4066	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29850_pneu_schwalbe_mad_mike_activeline_16x1_75.jpg
2023-10-13	13:36:08	4066	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:08	4066	[DEBUG]	Process image file
2023-10-13	13:36:08	4066	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:08	4066	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:08	4066	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29850_pneu_schwalbe_mad_mike_activeline_16x1_75.jpg
2023-10-13	13:36:08	4066	[DEBUG]	Full name target: bcprisme/29850_pneu_schwalbe_mad_mike_activeline_16x1_75.jpg
2023-10-13	13:36:09	4066	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:09	4066	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29850_pneu_schwalbe_mad_mike_activeline_16x1_75.jpg'
2023-10-13	13:36:09	4066	[DEBUG]	Query for Media
2023-10-13	13:36:09	4066	[DEBUG]	Executed store
2023-10-13	13:36:09	4066	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29850_pneu_schwalbe_mad_mike_activeline_16x1_75.jpg',`file_url_thumb`='bcprisme/29850_pneu_schwalbe_mad_mike_activeline_16x1_75.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16003'
2023-10-13	13:36:09	4066	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:09	4066	[DEBUG]	Executed store
2023-10-13	13:36:09	4066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863558','16003','1')
2023-10-13	13:36:09	4066	[DEBUG]	Store product image relation
2023-10-13	13:36:09	4066	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:09	4066	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863558 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:09	4066	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:09	4066	[DEBUG]	Executed store
2023-10-13	13:36:09	4066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863558','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:09	4066	[DEBUG]	Checking manufacturer
2023-10-13	13:36:09	4066	[DEBUG]	Load a row
2023-10-13	13:36:09	4066	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:09	4066	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:09	4066	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:09	4066	[DEBUG]	Executed store
2023-10-13	13:36:09	4066	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:09	4066	[DEBUG]	Manufacturer exists
2023-10-13	13:36:09	4066	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:36:09	4066	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:09	4066	[DEBUG]	Executed store
2023-10-13	13:36:09	4066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863558','25')
2023-10-13	13:36:09	4066	[DEBUG]	Find the custom field ID
2023-10-13	13:36:09	4066	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:09	4066	[DEBUG]	No custom field ID found
2023-10-13	13:36:09	4066	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:09	4066	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:36:09	4066	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863558 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:09	4066	[DEBUG]	Store custom available field
2023-10-13	13:36:09	4066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863558,3,'39.7891666666667',1)
2023-10-13	13:36:09	4066	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:09	4066	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:09	4066	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863558 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:09	4066	[DEBUG]	Store custom available field
2023-10-13	13:36:09	4066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863558,6,'choisir la taille',3)
2023-10-13	13:36:09	4066	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:09	4066	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:09	4066	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:09	4066	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:09	4066	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863558 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:09	4066	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:09	4066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863558,8,1)
2023-10-13	13:36:09	4066	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:09	4066	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863558\":[1863558,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863558
2023-10-13	13:36:09	4066	[DEBUG]	Checking category
2023-10-13	13:36:09	4066	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:09	4066	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863558
2023-10-13	13:36:09	4066	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:09	4066	[DEBUG]	Executed store
2023-10-13	13:36:09	4066	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863558','7402')
2023-10-13	13:36:09	4066	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:09	4066	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863558 AND `virtuemart_category_id` NOT IN (7402)
2023-10-13	13:36:09	4066	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:09	4066	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863558
2023-10-13	13:36:09	4067	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:09	4067	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:09	4067	[DEBUG]	Use field value for field taille
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:09	4067	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:09	4067	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:09	4067	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:09	4067	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:09	4067	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:09	4067	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:09	4067	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:09	4067	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:09	4067	[DEBUG]	Use field value for field published
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:09	4067	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field override
2023-10-13	13:36:09	4067	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:09	4067	[DEBUG]	Use field value for field slug
2023-10-13	13:36:09	4067	[DEBUG]	Process line 4067
2023-10-13	13:36:09	4067	[DEBUG]	Load a row
2023-10-13	13:36:09	4067	[DEBUG]	Processing item: 4026495674317
2023-10-13	13:36:09	4067	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:09	4067	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:09	4067	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5372_1'
2023-10-13	13:36:09	4067	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:09	4067	[DEBUG]	Processing product tax
2023-10-13	13:36:09	4067	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:09	4067	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:09	4067	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:09	4067	[DEBUG]	Query for Product
2023-10-13	13:36:09	4067	[DEBUG]	Executed store
2023-10-13	13:36:09	4067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863558','4026495674317','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:09	4067	[DEBUG]	No parent found
2023-10-13	13:36:09	4067	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863558 AND customfield_value = 'stockable'
2023-10-13	13:36:09	4067	[DEBUG]	Check product language entry
2023-10-13	13:36:09	4067	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863559
2023-10-13	13:36:09	4067	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:09	4067	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495674317' AND `virtuemart_product_id` != 1863559
2023-10-13	13:36:09	4067	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:09	4067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863559, '4026495674317')
2023-10-13	13:36:09	4067	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:09	4067	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-mad-mike-activeline-16x1-75-noir-unitaire' AND `virtuemart_product_id` != 1863559
2023-10-13	13:36:09	4067	[DEBUG]	Query for ProductLang
2023-10-13	13:36:09	4067	[DEBUG]	Executed store
2023-10-13	13:36:09	4067	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Schwalbe mad mike ActiveLIne 16x1.75 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-mad-mike-activeline-16x1-75-noir-unitaire' WHERE `virtuemart_product_id` = '1863559'
2023-10-13	13:36:09	4067	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29850_pneu_schwalbe_mad_mike_activeline_16x1_75.jpg
2023-10-13	13:36:09	4067	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:09	4067	[DEBUG]	Process image file
2023-10-13	13:36:09	4067	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:09	4067	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:09	4067	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29850_pneu_schwalbe_mad_mike_activeline_16x1_75.jpg
2023-10-13	13:36:09	4067	[DEBUG]	Full name target: bcprisme/29850_pneu_schwalbe_mad_mike_activeline_16x1_75.jpg
2023-10-13	13:36:10	4067	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:10	4067	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29850_pneu_schwalbe_mad_mike_activeline_16x1_75.jpg'
2023-10-13	13:36:10	4067	[DEBUG]	Query for Media
2023-10-13	13:36:10	4067	[DEBUG]	Executed store
2023-10-13	13:36:10	4067	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29850_pneu_schwalbe_mad_mike_activeline_16x1_75.jpg',`file_url_thumb`='bcprisme/29850_pneu_schwalbe_mad_mike_activeline_16x1_75.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16003'
2023-10-13	13:36:10	4067	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:10	4067	[DEBUG]	Executed store
2023-10-13	13:36:10	4067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863559','16003','1')
2023-10-13	13:36:10	4067	[DEBUG]	Store product image relation
2023-10-13	13:36:10	4067	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:10	4067	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863559 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:10	4067	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:10	4067	[DEBUG]	Executed store
2023-10-13	13:36:10	4067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863559','0','16.6202414113278','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:10	4067	[DEBUG]	Checking manufacturer
2023-10-13	13:36:10	4067	[DEBUG]	Load a row
2023-10-13	13:36:10	4067	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:10	4067	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:10	4067	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:10	4067	[DEBUG]	Executed store
2023-10-13	13:36:10	4067	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:10	4067	[DEBUG]	Manufacturer exists
2023-10-13	13:36:10	4067	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:36:10	4067	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:10	4067	[DEBUG]	Executed store
2023-10-13	13:36:10	4067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863559','25')
2023-10-13	13:36:10	4067	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:10	4067	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:10	4067	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863559 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:10	4067	[DEBUG]	Store custom available field
2023-10-13	13:36:10	4067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863559,3,'',1)
2023-10-13	13:36:10	4067	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:10	4067	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:10	4067	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863559 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:10	4067	[DEBUG]	Store custom available field
2023-10-13	13:36:10	4067	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863559,6,'Unitaire',3)
2023-10-13	13:36:10	4067	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:10	4067	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:10	4067	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863558
2023-10-13	13:36:10	4067	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:10	4067	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863558\":[1863558,8,1,\"choisir la taille\"],\"1863559\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863558
2023-10-13	13:36:10	4067	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:10	4067	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863559
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:10	4068	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field taille
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:10	4068	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:10	4068	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:10	4068	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:10	4068	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:10	4068	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:10	4068	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field published
2023-10-13	13:36:10	4068	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:10	4068	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field override
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:10	4068	[DEBUG]	Use field value for field slug
2023-10-13	13:36:10	4068	[DEBUG]	Process line 4068
2023-10-13	13:36:10	4068	[DEBUG]	Load a row
2023-10-13	13:36:10	4068	[DEBUG]	Processing item: A_6472_1
2023-10-13	13:36:10	4068	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:10	4068	[DEBUG]	Processing product tax
2023-10-13	13:36:10	4068	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:10	4068	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:10	4068	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:10	4068	[DEBUG]	Query for Product
2023-10-13	13:36:10	4068	[DEBUG]	Executed store
2023-10-13	13:36:10	4068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6472_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:10	4068	[DEBUG]	Check product language entry
2023-10-13	13:36:10	4068	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863560
2023-10-13	13:36:10	4068	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:10	4068	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6472_1' AND `virtuemart_product_id` != 1863560
2023-10-13	13:36:10	4068	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:10	4068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863560, 'A_6472_1')
2023-10-13	13:36:10	4068	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:10	4068	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-mofa-16x2-25-continental-kks-10-noir' AND `virtuemart_product_id` != 1863560
2023-10-13	13:36:10	4068	[DEBUG]	Query for ProductLang
2023-10-13	13:36:10	4068	[DEBUG]	Executed store
2023-10-13	13:36:10	4068	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : 57.T127600',`product_name`='SCHWALBE Pneu MOFA 16x2.25 Continental KKS 10 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-mofa-16x2-25-continental-kks-10-noir' WHERE `virtuemart_product_id` = '1863560'
2023-10-13	13:36:10	4068	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32354_pneu_mofa_16x2_25_continental_kks_10.jpg
2023-10-13	13:36:10	4068	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:10	4068	[DEBUG]	Process image file
2023-10-13	13:36:10	4068	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:10	4068	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:10	4068	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32354_pneu_mofa_16x2_25_continental_kks_10.jpg
2023-10-13	13:36:10	4068	[DEBUG]	Full name target: bcprisme/32354_pneu_mofa_16x2_25_continental_kks_10.jpg
2023-10-13	13:36:11	4068	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:11	4068	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32354_pneu_mofa_16x2_25_continental_kks_10.jpg'
2023-10-13	13:36:11	4068	[DEBUG]	Query for Media
2023-10-13	13:36:11	4068	[DEBUG]	Executed store
2023-10-13	13:36:11	4068	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32354_pneu_mofa_16x2_25_continental_kks_10.jpg',`file_url_thumb`='bcprisme/32354_pneu_mofa_16x2_25_continental_kks_10.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16004'
2023-10-13	13:36:11	4068	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:11	4068	[DEBUG]	Executed store
2023-10-13	13:36:11	4068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863560','16004','1')
2023-10-13	13:36:11	4068	[DEBUG]	Store product image relation
2023-10-13	13:36:11	4068	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:11	4068	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863560 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:11	4068	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:11	4068	[DEBUG]	Executed store
2023-10-13	13:36:11	4068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863560','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:11	4068	[DEBUG]	Checking manufacturer
2023-10-13	13:36:11	4068	[DEBUG]	Load a row
2023-10-13	13:36:11	4068	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:11	4068	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:11	4068	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:11	4068	[DEBUG]	Executed store
2023-10-13	13:36:11	4068	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:11	4068	[DEBUG]	Manufacturer exists
2023-10-13	13:36:11	4068	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:36:11	4068	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:11	4068	[DEBUG]	Executed store
2023-10-13	13:36:11	4068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863560','25')
2023-10-13	13:36:11	4068	[DEBUG]	Find the custom field ID
2023-10-13	13:36:11	4068	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:11	4068	[DEBUG]	No custom field ID found
2023-10-13	13:36:11	4068	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:11	4068	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:36:11	4068	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863560 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:11	4068	[DEBUG]	Store custom available field
2023-10-13	13:36:11	4068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863560,3,'39.7891666666667',1)
2023-10-13	13:36:11	4068	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:11	4068	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:11	4068	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863560 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:11	4068	[DEBUG]	Store custom available field
2023-10-13	13:36:11	4068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863560,6,'choisir la taille',3)
2023-10-13	13:36:11	4068	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:11	4068	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:11	4068	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:11	4068	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:11	4068	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863560 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:11	4068	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:11	4068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863560,8,1)
2023-10-13	13:36:11	4068	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:11	4068	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863560\":[1863560,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863560
2023-10-13	13:36:11	4068	[DEBUG]	Checking category
2023-10-13	13:36:11	4068	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:11	4068	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863560
2023-10-13	13:36:11	4068	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:11	4068	[DEBUG]	Executed store
2023-10-13	13:36:11	4068	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863560','7402')
2023-10-13	13:36:11	4068	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:11	4068	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863560 AND `virtuemart_category_id` NOT IN (7402)
2023-10-13	13:36:11	4068	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:11	4068	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863560
2023-10-13	13:36:11	4069	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:11	4069	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:11	4069	[DEBUG]	Use field value for field taille
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:11	4069	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:11	4069	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:11	4069	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:11	4069	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:11	4069	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:11	4069	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:11	4069	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:11	4069	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:11	4069	[DEBUG]	Use field value for field published
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:11	4069	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field override
2023-10-13	13:36:11	4069	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:11	4069	[DEBUG]	Use field value for field slug
2023-10-13	13:36:11	4069	[DEBUG]	Process line 4069
2023-10-13	13:36:11	4069	[DEBUG]	Load a row
2023-10-13	13:36:11	4069	[DEBUG]	Processing item: 4019238104929
2023-10-13	13:36:11	4069	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:11	4069	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:11	4069	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6472_1'
2023-10-13	13:36:11	4069	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:11	4069	[DEBUG]	Processing product tax
2023-10-13	13:36:11	4069	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:11	4069	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:11	4069	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:11	4069	[DEBUG]	Query for Product
2023-10-13	13:36:11	4069	[DEBUG]	Executed store
2023-10-13	13:36:11	4069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863560','4019238104929','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:11	4069	[DEBUG]	No parent found
2023-10-13	13:36:11	4069	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863560 AND customfield_value = 'stockable'
2023-10-13	13:36:11	4069	[DEBUG]	Check product language entry
2023-10-13	13:36:11	4069	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863561
2023-10-13	13:36:11	4069	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:11	4069	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4019238104929' AND `virtuemart_product_id` != 1863561
2023-10-13	13:36:11	4069	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:11	4069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863561, '4019238104929')
2023-10-13	13:36:11	4069	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:11	4069	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-mofa-16x2-25-continental-kks-10-noir-unitaire' AND `virtuemart_product_id` != 1863561
2023-10-13	13:36:11	4069	[DEBUG]	Query for ProductLang
2023-10-13	13:36:11	4069	[DEBUG]	Executed store
2023-10-13	13:36:11	4069	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu MOFA 16x2.25 Continental KKS 10 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-mofa-16x2-25-continental-kks-10-noir-unitaire' WHERE `virtuemart_product_id` = '1863561'
2023-10-13	13:36:11	4069	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32354_pneu_mofa_16x2_25_continental_kks_10.jpg
2023-10-13	13:36:11	4069	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:11	4069	[DEBUG]	Process image file
2023-10-13	13:36:11	4069	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:11	4069	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:11	4069	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32354_pneu_mofa_16x2_25_continental_kks_10.jpg
2023-10-13	13:36:11	4069	[DEBUG]	Full name target: bcprisme/32354_pneu_mofa_16x2_25_continental_kks_10.jpg
2023-10-13	13:36:12	4069	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:12	4069	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32354_pneu_mofa_16x2_25_continental_kks_10.jpg'
2023-10-13	13:36:12	4069	[DEBUG]	Query for Media
2023-10-13	13:36:12	4069	[DEBUG]	Executed store
2023-10-13	13:36:12	4069	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32354_pneu_mofa_16x2_25_continental_kks_10.jpg',`file_url_thumb`='bcprisme/32354_pneu_mofa_16x2_25_continental_kks_10.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16004'
2023-10-13	13:36:12	4069	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:12	4069	[DEBUG]	Executed store
2023-10-13	13:36:12	4069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863561','16004','1')
2023-10-13	13:36:12	4069	[DEBUG]	Store product image relation
2023-10-13	13:36:12	4069	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:12	4069	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863561 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:12	4069	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:12	4069	[DEBUG]	Executed store
2023-10-13	13:36:12	4069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863561','0','36.1188486536676','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:12	4069	[DEBUG]	Checking manufacturer
2023-10-13	13:36:12	4069	[DEBUG]	Load a row
2023-10-13	13:36:12	4069	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:12	4069	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:12	4069	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:12	4069	[DEBUG]	Executed store
2023-10-13	13:36:12	4069	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:12	4069	[DEBUG]	Manufacturer exists
2023-10-13	13:36:12	4069	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:36:12	4069	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:12	4069	[DEBUG]	Executed store
2023-10-13	13:36:12	4069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863561','25')
2023-10-13	13:36:12	4069	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:12	4069	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:12	4069	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863561 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:12	4069	[DEBUG]	Store custom available field
2023-10-13	13:36:12	4069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863561,3,'',1)
2023-10-13	13:36:12	4069	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:12	4069	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:12	4069	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863561 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:12	4069	[DEBUG]	Store custom available field
2023-10-13	13:36:12	4069	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863561,6,'Unitaire',3)
2023-10-13	13:36:12	4069	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:12	4069	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:12	4069	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863560
2023-10-13	13:36:12	4069	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:12	4069	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863560\":[1863560,8,1,\"choisir la taille\"],\"1863561\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863560
2023-10-13	13:36:12	4069	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:12	4069	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863561
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:12	4070	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field taille
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:12	4070	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:12	4070	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:12	4070	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:12	4070	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:12	4070	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:12	4070	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field published
2023-10-13	13:36:12	4070	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:12	4070	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field override
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:12	4070	[DEBUG]	Use field value for field slug
2023-10-13	13:36:12	4070	[DEBUG]	Process line 4070
2023-10-13	13:36:12	4070	[DEBUG]	Load a row
2023-10-13	13:36:12	4070	[DEBUG]	Processing item: A_7146_1
2023-10-13	13:36:12	4070	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:12	4070	[DEBUG]	Processing product tax
2023-10-13	13:36:12	4070	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:12	4070	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:12	4070	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:12	4070	[DEBUG]	Query for Product
2023-10-13	13:36:12	4070	[DEBUG]	Executed store
2023-10-13	13:36:12	4070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7146_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:12	4070	[DEBUG]	Check product language entry
2023-10-13	13:36:12	4070	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863562
2023-10-13	13:36:12	4070	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:12	4070	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7146_1' AND `virtuemart_product_id` != 1863562
2023-10-13	13:36:12	4070	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:12	4070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863562, 'A_7146_1')
2023-10-13	13:36:12	4070	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:12	4070	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-marathon-greenguard-16x1-75-47-305-hs420-tringle-rigide-performance-noir' AND `virtuemart_product_id` != 1863562
2023-10-13	13:36:12	4070	[DEBUG]	Query for ProductLang
2023-10-13	13:36:12	4070	[DEBUG]	Executed store
2023-10-13	13:36:12	4070	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.03.686',`product_name`='SCHWALBE Pneu Schwalbe Marathon GreenGuard 16x1.75 47-305, HS420 tringle rigide performance / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-marathon-greenguard-16x1-75-47-305-hs420-tringle-rigide-performance-noir' WHERE `virtuemart_product_id` = '1863562'
2023-10-13	13:36:12	4070	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34303_pneu_schwalbe_marathon_greenguard_16x1_75_47-305,_hs420_tringle_rigide_performance.jpg
2023-10-13	13:36:12	4070	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:12	4070	[DEBUG]	Process image file
2023-10-13	13:36:12	4070	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:12	4070	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:12	4070	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34303_pneu_schwalbe_marathon_greenguard_16x1_75_47-305,_hs420_tringle_rigide_performance.jpg
2023-10-13	13:36:12	4070	[DEBUG]	Full name target: bcprisme/34303_pneu_schwalbe_marathon_greenguard_16x1_75_47-305,_hs420_tringle_rigide_performance.jpg
2023-10-13	13:36:13	4070	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:13	4070	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34303_pneu_schwalbe_marathon_greenguard_16x1_75_47-305,_hs420_tringle_rigide_performance.jpg'
2023-10-13	13:36:13	4070	[DEBUG]	Query for Media
2023-10-13	13:36:13	4070	[DEBUG]	Executed store
2023-10-13	13:36:13	4070	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34303_pneu_schwalbe_marathon_greenguard_16x1_75_47-305,_hs420_tringle_rigide_performance.jpg',`file_url_thumb`='bcprisme/34303_pneu_schwalbe_marathon_greenguard_16x1_75_47-305,_hs420_tringle_rigide_performance.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '159721'
2023-10-13	13:36:13	4070	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:13	4070	[DEBUG]	Executed store
2023-10-13	13:36:13	4070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863562','159721','1')
2023-10-13	13:36:13	4070	[DEBUG]	Store product image relation
2023-10-13	13:36:13	4070	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:13	4070	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863562 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:13	4070	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:13	4070	[DEBUG]	Executed store
2023-10-13	13:36:13	4070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863562','0','25.9052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:13	4070	[DEBUG]	Checking manufacturer
2023-10-13	13:36:13	4070	[DEBUG]	Load a row
2023-10-13	13:36:13	4070	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:13	4070	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:13	4070	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:13	4070	[DEBUG]	Executed store
2023-10-13	13:36:13	4070	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:13	4070	[DEBUG]	Manufacturer exists
2023-10-13	13:36:13	4070	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:36:13	4070	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:13	4070	[DEBUG]	Executed store
2023-10-13	13:36:13	4070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863562','25')
2023-10-13	13:36:13	4070	[DEBUG]	Find the custom field ID
2023-10-13	13:36:13	4070	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:13	4070	[DEBUG]	No custom field ID found
2023-10-13	13:36:13	4070	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:13	4070	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:36:13	4070	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863562 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:13	4070	[DEBUG]	Store custom available field
2023-10-13	13:36:13	4070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863562,3,'39.7891666666667',1)
2023-10-13	13:36:13	4070	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:13	4070	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:13	4070	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863562 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:13	4070	[DEBUG]	Store custom available field
2023-10-13	13:36:13	4070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863562,6,'choisir la taille',3)
2023-10-13	13:36:13	4070	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:13	4070	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:13	4070	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:13	4070	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:13	4070	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863562 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:13	4070	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:13	4070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863562,8,1)
2023-10-13	13:36:13	4070	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:13	4070	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863562\":[1863562,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863562
2023-10-13	13:36:13	4070	[DEBUG]	Checking category
2023-10-13	13:36:13	4070	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:13	4070	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863562
2023-10-13	13:36:13	4070	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:13	4070	[DEBUG]	Executed store
2023-10-13	13:36:13	4070	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863562','7402')
2023-10-13	13:36:13	4070	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:13	4070	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863562 AND `virtuemart_category_id` NOT IN (7402)
2023-10-13	13:36:13	4070	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:13	4070	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863562
2023-10-13	13:36:13	4071	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:13	4071	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:13	4071	[DEBUG]	Use field value for field taille
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:13	4071	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:13	4071	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:13	4071	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:13	4071	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:13	4071	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:13	4071	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:13	4071	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:13	4071	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:13	4071	[DEBUG]	Use field value for field published
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:13	4071	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field override
2023-10-13	13:36:13	4071	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:13	4071	[DEBUG]	Use field value for field slug
2023-10-13	13:36:13	4071	[DEBUG]	Process line 4071
2023-10-13	13:36:13	4071	[DEBUG]	Load a row
2023-10-13	13:36:13	4071	[DEBUG]	Processing item: 4026495627610
2023-10-13	13:36:13	4071	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:13	4071	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:13	4071	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7146_1'
2023-10-13	13:36:13	4071	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:13	4071	[DEBUG]	Processing product tax
2023-10-13	13:36:13	4071	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:13	4071	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:13	4071	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:13	4071	[DEBUG]	Query for Product
2023-10-13	13:36:13	4071	[DEBUG]	Executed store
2023-10-13	13:36:13	4071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863562','4026495627610','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:13	4071	[DEBUG]	No parent found
2023-10-13	13:36:13	4071	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863562 AND customfield_value = 'stockable'
2023-10-13	13:36:13	4071	[DEBUG]	Check product language entry
2023-10-13	13:36:13	4071	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863563
2023-10-13	13:36:13	4071	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:13	4071	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495627610' AND `virtuemart_product_id` != 1863563
2023-10-13	13:36:13	4071	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:13	4071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863563, '4026495627610')
2023-10-13	13:36:13	4071	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:13	4071	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-marathon-greenguard-16x1-75-47-305-hs420-tringle-rigide-performance-noir-unitaire' AND `virtuemart_product_id` != 1863563
2023-10-13	13:36:13	4071	[DEBUG]	Query for ProductLang
2023-10-13	13:36:13	4071	[DEBUG]	Executed store
2023-10-13	13:36:13	4071	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Schwalbe Marathon GreenGuard 16x1.75 47-305, HS420 tringle rigide performance / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-marathon-greenguard-16x1-75-47-305-hs420-tringle-rigide-performance-noir-unitaire' WHERE `virtuemart_product_id` = '1863563'
2023-10-13	13:36:13	4071	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34303_pneu_schwalbe_marathon_greenguard_16x1_75_47-305,_hs420_tringle_rigide_performance.jpg
2023-10-13	13:36:13	4071	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:13	4071	[DEBUG]	Process image file
2023-10-13	13:36:13	4071	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:13	4071	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:13	4071	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34303_pneu_schwalbe_marathon_greenguard_16x1_75_47-305,_hs420_tringle_rigide_performance.jpg
2023-10-13	13:36:13	4071	[DEBUG]	Full name target: bcprisme/34303_pneu_schwalbe_marathon_greenguard_16x1_75_47-305,_hs420_tringle_rigide_performance.jpg
2023-10-13	13:36:14	4071	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:14	4071	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34303_pneu_schwalbe_marathon_greenguard_16x1_75_47-305,_hs420_tringle_rigide_performance.jpg'
2023-10-13	13:36:14	4071	[DEBUG]	Query for Media
2023-10-13	13:36:14	4071	[DEBUG]	Executed store
2023-10-13	13:36:14	4071	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34303_pneu_schwalbe_marathon_greenguard_16x1_75_47-305,_hs420_tringle_rigide_performance.jpg',`file_url_thumb`='bcprisme/34303_pneu_schwalbe_marathon_greenguard_16x1_75_47-305,_hs420_tringle_rigide_performance.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '159721'
2023-10-13	13:36:14	4071	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:14	4071	[DEBUG]	Executed store
2023-10-13	13:36:14	4071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863563','159721','1')
2023-10-13	13:36:14	4071	[DEBUG]	Store product image relation
2023-10-13	13:36:14	4071	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:14	4071	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863563 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:14	4071	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:14	4071	[DEBUG]	Executed store
2023-10-13	13:36:14	4071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863563','0','25.9052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:14	4071	[DEBUG]	Checking manufacturer
2023-10-13	13:36:14	4071	[DEBUG]	Load a row
2023-10-13	13:36:14	4071	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:14	4071	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:14	4071	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:14	4071	[DEBUG]	Executed store
2023-10-13	13:36:14	4071	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:14	4071	[DEBUG]	Manufacturer exists
2023-10-13	13:36:14	4071	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:36:14	4071	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:14	4071	[DEBUG]	Executed store
2023-10-13	13:36:14	4071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863563','25')
2023-10-13	13:36:14	4071	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:14	4071	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:14	4071	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863563 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:14	4071	[DEBUG]	Store custom available field
2023-10-13	13:36:14	4071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863563,3,'',1)
2023-10-13	13:36:14	4071	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:14	4071	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:14	4071	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863563 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:14	4071	[DEBUG]	Store custom available field
2023-10-13	13:36:14	4071	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863563,6,'Unitaire',3)
2023-10-13	13:36:14	4071	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:14	4071	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:14	4071	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863562
2023-10-13	13:36:14	4071	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:14	4071	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863562\":[1863562,8,1,\"choisir la taille\"],\"1863563\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863562
2023-10-13	13:36:14	4071	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:14	4071	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863563
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:14	4072	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field taille
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:14	4072	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:14	4072	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:14	4072	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:14	4072	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:14	4072	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:14	4072	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field published
2023-10-13	13:36:14	4072	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:14	4072	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field override
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:14	4072	[DEBUG]	Use field value for field slug
2023-10-13	13:36:14	4072	[DEBUG]	Process line 4072
2023-10-13	13:36:14	4072	[DEBUG]	Load a row
2023-10-13	13:36:14	4072	[DEBUG]	Processing item: A_7477_1
2023-10-13	13:36:14	4072	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:14	4072	[DEBUG]	Processing product tax
2023-10-13	13:36:14	4072	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:14	4072	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:14	4072	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:14	4072	[DEBUG]	Query for Product
2023-10-13	13:36:14	4072	[DEBUG]	Executed store
2023-10-13	13:36:14	4072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7477_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:14	4072	[DEBUG]	Check product language entry
2023-10-13	13:36:14	4072	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863564
2023-10-13	13:36:14	4072	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:14	4072	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7477_1' AND `virtuemart_product_id` != 1863564
2023-10-13	13:36:14	4072	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:14	4072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863564, 'A_7477_1')
2023-10-13	13:36:14	4072	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:14	4072	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-16x1-75-kenda-noir' AND `virtuemart_product_id` != 1863564
2023-10-13	13:36:14	4072	[DEBUG]	Query for ProductLang
2023-10-13	13:36:14	4072	[DEBUG]	Executed store
2023-10-13	13:36:14	4072	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 57.SW14',`product_name`='SCHWALBE Pneu 16x1.75 kenda / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-16x1-75-kenda-noir' WHERE `virtuemart_product_id` = '1863564'
2023-10-13	13:36:14	4072	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34827_pneu_16x1_75_kenda.jpg
2023-10-13	13:36:14	4072	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:14	4072	[DEBUG]	Process image file
2023-10-13	13:36:14	4072	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:14	4072	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:14	4072	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34827_pneu_16x1_75_kenda.jpg
2023-10-13	13:36:14	4072	[DEBUG]	Full name target: bcprisme/34827_pneu_16x1_75_kenda.jpg
2023-10-13	13:36:15	4072	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:15	4072	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34827_pneu_16x1_75_kenda.jpg'
2023-10-13	13:36:15	4072	[DEBUG]	Query for Media
2023-10-13	13:36:15	4072	[DEBUG]	Executed store
2023-10-13	13:36:15	4072	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34827_pneu_16x1_75_kenda.jpg',`file_url_thumb`='bcprisme/34827_pneu_16x1_75_kenda.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381845'
2023-10-13	13:36:15	4072	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:15	4072	[DEBUG]	Executed store
2023-10-13	13:36:15	4072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863564','381845','1')
2023-10-13	13:36:15	4072	[DEBUG]	Store product image relation
2023-10-13	13:36:15	4072	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:15	4072	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863564 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:15	4072	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:15	4072	[DEBUG]	Executed store
2023-10-13	13:36:15	4072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863564','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:15	4072	[DEBUG]	Checking manufacturer
2023-10-13	13:36:15	4072	[DEBUG]	Load a row
2023-10-13	13:36:15	4072	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:15	4072	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:15	4072	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:15	4072	[DEBUG]	Executed store
2023-10-13	13:36:15	4072	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:15	4072	[DEBUG]	Manufacturer exists
2023-10-13	13:36:15	4072	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:36:15	4072	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:15	4072	[DEBUG]	Executed store
2023-10-13	13:36:15	4072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863564','25')
2023-10-13	13:36:15	4072	[DEBUG]	Find the custom field ID
2023-10-13	13:36:15	4072	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:15	4072	[DEBUG]	No custom field ID found
2023-10-13	13:36:15	4072	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:15	4072	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:36:15	4072	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863564 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:15	4072	[DEBUG]	Store custom available field
2023-10-13	13:36:15	4072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863564,3,'39.7891666666667',1)
2023-10-13	13:36:15	4072	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:15	4072	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:15	4072	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863564 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:15	4072	[DEBUG]	Store custom available field
2023-10-13	13:36:15	4072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863564,6,'choisir la taille',3)
2023-10-13	13:36:15	4072	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:15	4072	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:15	4072	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:15	4072	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:15	4072	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863564 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:15	4072	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:15	4072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863564,8,1)
2023-10-13	13:36:15	4072	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:15	4072	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863564\":[1863564,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863564
2023-10-13	13:36:15	4072	[DEBUG]	Checking category
2023-10-13	13:36:15	4072	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:15	4072	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863564
2023-10-13	13:36:15	4072	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:15	4072	[DEBUG]	Executed store
2023-10-13	13:36:15	4072	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863564','7402')
2023-10-13	13:36:15	4072	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:15	4072	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863564 AND `virtuemart_category_id` NOT IN (7402)
2023-10-13	13:36:15	4072	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:15	4072	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863564
2023-10-13	13:36:15	4073	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:15	4073	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:15	4073	[DEBUG]	Use field value for field taille
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:15	4073	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:15	4073	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:15	4073	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:15	4073	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:15	4073	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:15	4073	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:15	4073	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:15	4073	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:15	4073	[DEBUG]	Use field value for field published
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:15	4073	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field override
2023-10-13	13:36:15	4073	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:15	4073	[DEBUG]	Use field value for field slug
2023-10-13	13:36:15	4073	[DEBUG]	Process line 4073
2023-10-13	13:36:15	4073	[DEBUG]	Load a row
2023-10-13	13:36:15	4073	[DEBUG]	Processing item: 1000000124552
2023-10-13	13:36:15	4073	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:15	4073	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:15	4073	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7477_1'
2023-10-13	13:36:15	4073	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:15	4073	[DEBUG]	Processing product tax
2023-10-13	13:36:15	4073	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:15	4073	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:15	4073	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:15	4073	[DEBUG]	Query for Product
2023-10-13	13:36:15	4073	[DEBUG]	Executed store
2023-10-13	13:36:15	4073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863564','1000000124552','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:15	4073	[DEBUG]	No parent found
2023-10-13	13:36:15	4073	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863564 AND customfield_value = 'stockable'
2023-10-13	13:36:15	4073	[DEBUG]	Check product language entry
2023-10-13	13:36:15	4073	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863565
2023-10-13	13:36:15	4073	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:15	4073	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000124552' AND `virtuemart_product_id` != 1863565
2023-10-13	13:36:15	4073	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:15	4073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863565, '1000000124552')
2023-10-13	13:36:16	4073	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:16	4073	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-16x1-75-kenda-noir-unitaire' AND `virtuemart_product_id` != 1863565
2023-10-13	13:36:16	4073	[DEBUG]	Query for ProductLang
2023-10-13	13:36:16	4073	[DEBUG]	Executed store
2023-10-13	13:36:16	4073	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu 16x1.75 kenda / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-16x1-75-kenda-noir-unitaire' WHERE `virtuemart_product_id` = '1863565'
2023-10-13	13:36:16	4073	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34827_pneu_16x1_75_kenda.jpg
2023-10-13	13:36:16	4073	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:16	4073	[DEBUG]	Process image file
2023-10-13	13:36:16	4073	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:16	4073	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:16	4073	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34827_pneu_16x1_75_kenda.jpg
2023-10-13	13:36:16	4073	[DEBUG]	Full name target: bcprisme/34827_pneu_16x1_75_kenda.jpg
2023-10-13	13:36:16	4073	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:16	4073	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34827_pneu_16x1_75_kenda.jpg'
2023-10-13	13:36:16	4073	[DEBUG]	Query for Media
2023-10-13	13:36:16	4073	[DEBUG]	Executed store
2023-10-13	13:36:16	4073	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34827_pneu_16x1_75_kenda.jpg',`file_url_thumb`='bcprisme/34827_pneu_16x1_75_kenda.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381845'
2023-10-13	13:36:16	4073	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:16	4073	[DEBUG]	Executed store
2023-10-13	13:36:16	4073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863565','381845','1')
2023-10-13	13:36:16	4073	[DEBUG]	Store product image relation
2023-10-13	13:36:16	4073	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:16	4073	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863565 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:16	4073	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:16	4073	[DEBUG]	Executed store
2023-10-13	13:36:16	4073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863565','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:16	4073	[DEBUG]	Checking manufacturer
2023-10-13	13:36:16	4073	[DEBUG]	Load a row
2023-10-13	13:36:16	4073	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:16	4073	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:16	4073	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:16	4073	[DEBUG]	Executed store
2023-10-13	13:36:16	4073	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:16	4073	[DEBUG]	Manufacturer exists
2023-10-13	13:36:16	4073	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:36:16	4073	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:16	4073	[DEBUG]	Executed store
2023-10-13	13:36:16	4073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863565','25')
2023-10-13	13:36:16	4073	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:16	4073	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:16	4073	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863565 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:16	4073	[DEBUG]	Store custom available field
2023-10-13	13:36:17	4073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863565,3,'',1)
2023-10-13	13:36:17	4073	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:17	4073	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:17	4073	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863565 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:17	4073	[DEBUG]	Store custom available field
2023-10-13	13:36:17	4073	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863565,6,'Unitaire',3)
2023-10-13	13:36:17	4073	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:17	4073	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:17	4073	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863564
2023-10-13	13:36:17	4073	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:17	4073	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863564\":[1863564,8,1,\"choisir la taille\"],\"1863565\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863564
2023-10-13	13:36:17	4073	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:17	4073	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863565
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:17	4074	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field taille
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:17	4074	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:17	4074	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:17	4074	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:17	4074	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:17	4074	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:17	4074	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field published
2023-10-13	13:36:17	4074	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:17	4074	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field override
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:17	4074	[DEBUG]	Use field value for field slug
2023-10-13	13:36:17	4074	[DEBUG]	Process line 4074
2023-10-13	13:36:17	4074	[DEBUG]	Load a row
2023-10-13	13:36:17	4074	[DEBUG]	Processing item: A_8958_208
2023-10-13	13:36:17	4074	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:17	4074	[DEBUG]	Processing product tax
2023-10-13	13:36:17	4074	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:17	4074	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:17	4074	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:17	4074	[DEBUG]	Query for Product
2023-10-13	13:36:17	4074	[DEBUG]	Executed store
2023-10-13	13:36:17	4074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8958_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:17	4074	[DEBUG]	Check product language entry
2023-10-13	13:36:17	4074	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863566
2023-10-13	13:36:17	4074	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:17	4074	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8958_208' AND `virtuemart_product_id` != 1863566
2023-10-13	13:36:17	4074	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:17	4074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863566, 'A_8958_208')
2023-10-13	13:36:17	4074	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:17	4074	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-lg500-lg-10-11-vit-116-maillons-quick-link-box-aucune' AND `virtuemart_product_id` != 1863566
2023-10-13	13:36:17	4074	[DEBUG]	Query for ProductLang
2023-10-13	13:36:17	4074	[DEBUG]	Executed store
2023-10-13	13:36:17	4074	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 68.80561',`product_name`='SHIMANO Chaîne CN-LG500 LG 10/11-vit. 116 maillons Quick-Link box / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-lg500-lg-10-11-vit-116-maillons-quick-link-box-aucune' WHERE `virtuemart_product_id` = '1863566'
2023-10-13	13:36:17	4074	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_80561_0.jpg
2023-10-13	13:36:17	4074	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:36:17	4074	[DEBUG]	Process image file
2023-10-13	13:36:17	4074	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:36:17	4074	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:17	4074	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_80561_0.jpg
2023-10-13	13:36:17	4074	[DEBUG]	Full name target: bcprisme/68_80561_0.jpg
2023-10-13	13:36:18	4074	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:18	4074	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_80561_0.jpg'
2023-10-13	13:36:18	4074	[DEBUG]	Query for Media
2023-10-13	13:36:18	4074	[DEBUG]	Executed store
2023-10-13	13:36:18	4074	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_80561_0.jpg',`file_url_thumb`='bcprisme/68_80561_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1189068'
2023-10-13	13:36:18	4074	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:18	4074	[DEBUG]	Executed store
2023-10-13	13:36:18	4074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863566','1189068','1')
2023-10-13	13:36:18	4074	[DEBUG]	Store product image relation
2023-10-13	13:36:18	4074	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:18	4074	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863566 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:18	4074	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:18	4074	[DEBUG]	Executed store
2023-10-13	13:36:18	4074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863566','0','29.619312906221','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:18	4074	[DEBUG]	Checking manufacturer
2023-10-13	13:36:18	4074	[DEBUG]	Load a row
2023-10-13	13:36:18	4074	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:18	4074	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:36:18	4074	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:18	4074	[DEBUG]	Executed store
2023-10-13	13:36:18	4074	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:36:18	4074	[DEBUG]	Manufacturer exists
2023-10-13	13:36:18	4074	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:36:18	4074	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:18	4074	[DEBUG]	Executed store
2023-10-13	13:36:18	4074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863566','26')
2023-10-13	13:36:18	4074	[DEBUG]	Find the custom field ID
2023-10-13	13:36:18	4074	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:18	4074	[DEBUG]	No custom field ID found
2023-10-13	13:36:18	4074	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:18	4074	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:36:18	4074	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863566 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:18	4074	[DEBUG]	Store custom available field
2023-10-13	13:36:18	4074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863566,3,'0',1)
2023-10-13	13:36:18	4074	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:18	4074	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:18	4074	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863566 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:18	4074	[DEBUG]	Store custom available field
2023-10-13	13:36:18	4074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863566,6,'choisir la taille',3)
2023-10-13	13:36:18	4074	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:18	4074	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:18	4074	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:18	4074	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:18	4074	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863566 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:18	4074	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:18	4074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863566,8,1)
2023-10-13	13:36:18	4074	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:18	4074	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863566\":[1863566,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863566
2023-10-13	13:36:18	4074	[DEBUG]	Checking category
2023-10-13	13:36:18	4074	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:18	4074	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863566
2023-10-13	13:36:18	4074	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:18	4074	[DEBUG]	Executed store
2023-10-13	13:36:18	4074	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863566','7402')
2023-10-13	13:36:18	4074	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:18	4074	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863566 AND `virtuemart_category_id` NOT IN (7402)
2023-10-13	13:36:18	4074	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:18	4074	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863566
2023-10-13	13:36:18	4075	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:18	4075	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:18	4075	[DEBUG]	Use field value for field taille
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:18	4075	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:18	4075	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:18	4075	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:18	4075	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:18	4075	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:18	4075	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:18	4075	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:18	4075	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:18	4075	[DEBUG]	Use field value for field published
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:18	4075	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field override
2023-10-13	13:36:18	4075	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:18	4075	[DEBUG]	Use field value for field slug
2023-10-13	13:36:18	4075	[DEBUG]	Process line 4075
2023-10-13	13:36:18	4075	[DEBUG]	Load a row
2023-10-13	13:36:18	4075	[DEBUG]	Processing item: 4550170899639
2023-10-13	13:36:18	4075	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:18	4075	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:18	4075	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8958_208'
2023-10-13	13:36:18	4075	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:18	4075	[DEBUG]	Processing product tax
2023-10-13	13:36:18	4075	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:18	4075	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:18	4075	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:18	4075	[DEBUG]	Query for Product
2023-10-13	13:36:18	4075	[DEBUG]	Executed store
2023-10-13	13:36:18	4075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863566','4550170899639','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:18	4075	[DEBUG]	No parent found
2023-10-13	13:36:18	4075	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863566 AND customfield_value = 'stockable'
2023-10-13	13:36:18	4075	[DEBUG]	Check product language entry
2023-10-13	13:36:18	4075	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863567
2023-10-13	13:36:18	4075	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:18	4075	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4550170899639' AND `virtuemart_product_id` != 1863567
2023-10-13	13:36:18	4075	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:18	4075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863567, '4550170899639')
2023-10-13	13:36:18	4075	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:18	4075	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'shimano-chaine-cn-lg500-lg-10-11-vit-116-maillons-quick-link-box-aucune-unitaire' AND `virtuemart_product_id` != 1863567
2023-10-13	13:36:18	4075	[DEBUG]	Query for ProductLang
2023-10-13	13:36:18	4075	[DEBUG]	Executed store
2023-10-13	13:36:18	4075	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SHIMANO Chaîne CN-LG500 LG 10/11-vit. 116 maillons Quick-Link box / <aucune> (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='shimano-chaine-cn-lg500-lg-10-11-vit-116-maillons-quick-link-box-aucune-unitaire' WHERE `virtuemart_product_id` = '1863567'
2023-10-13	13:36:18	4075	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_80561_0.jpg
2023-10-13	13:36:18	4075	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:36:18	4075	[DEBUG]	Process image file
2023-10-13	13:36:18	4075	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:36:18	4075	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:18	4075	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/68_80561_0.jpg
2023-10-13	13:36:18	4075	[DEBUG]	Full name target: bcprisme/68_80561_0.jpg
2023-10-13	13:36:19	4075	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:19	4075	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/68_80561_0.jpg'
2023-10-13	13:36:19	4075	[DEBUG]	Query for Media
2023-10-13	13:36:19	4075	[DEBUG]	Executed store
2023-10-13	13:36:19	4075	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/68_80561_0.jpg',`file_url_thumb`='bcprisme/68_80561_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1189068'
2023-10-13	13:36:19	4075	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:19	4075	[DEBUG]	Executed store
2023-10-13	13:36:19	4075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863567','1189068','1')
2023-10-13	13:36:19	4075	[DEBUG]	Store product image relation
2023-10-13	13:36:19	4075	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:19	4075	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863567 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:19	4075	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:19	4075	[DEBUG]	Executed store
2023-10-13	13:36:19	4075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863567','0','29.619312906221','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:19	4075	[DEBUG]	Checking manufacturer
2023-10-13	13:36:19	4075	[DEBUG]	Load a row
2023-10-13	13:36:19	4075	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:19	4075	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:36:19	4075	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:19	4075	[DEBUG]	Executed store
2023-10-13	13:36:19	4075	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411130137047' WHERE `virtuemart_manufacturer_id` = '26'
2023-10-13	13:36:19	4075	[DEBUG]	Manufacturer exists
2023-10-13	13:36:19	4075	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 26
2023-10-13	13:36:19	4075	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:19	4075	[DEBUG]	Executed store
2023-10-13	13:36:19	4075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863567','26')
2023-10-13	13:36:19	4075	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:19	4075	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:19	4075	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863567 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:19	4075	[DEBUG]	Store custom available field
2023-10-13	13:36:19	4075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863567,3,'',1)
2023-10-13	13:36:19	4075	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:19	4075	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:19	4075	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863567 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:19	4075	[DEBUG]	Store custom available field
2023-10-13	13:36:19	4075	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863567,6,'Unitaire',3)
2023-10-13	13:36:19	4075	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:19	4075	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:19	4075	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863566
2023-10-13	13:36:19	4075	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:19	4075	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863566\":[1863566,8,1,\"choisir la taille\"],\"1863567\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863566
2023-10-13	13:36:19	4075	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:19	4075	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863567
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:19	4076	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field taille
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:19	4076	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:19	4076	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:19	4076	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:19	4076	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:19	4076	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:19	4076	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field published
2023-10-13	13:36:19	4076	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:19	4076	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field override
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:19	4076	[DEBUG]	Use field value for field slug
2023-10-13	13:36:19	4076	[DEBUG]	Process line 4076
2023-10-13	13:36:19	4076	[DEBUG]	Load a row
2023-10-13	13:36:19	4076	[DEBUG]	Processing item: A_6440_1
2023-10-13	13:36:19	4076	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:19	4076	[DEBUG]	Processing product tax
2023-10-13	13:36:19	4076	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:19	4076	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:19	4076	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:19	4076	[DEBUG]	Query for Product
2023-10-13	13:36:19	4076	[DEBUG]	Executed store
2023-10-13	13:36:19	4076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6440_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:19	4076	[DEBUG]	Check product language entry
2023-10-13	13:36:19	4076	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863568
2023-10-13	13:36:19	4076	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:19	4076	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6440_1' AND `virtuemart_product_id` != 1863568
2023-10-13	13:36:19	4076	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:19	4076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863568, 'A_6440_1')
2023-10-13	13:36:19	4076	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:19	4076	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-pneu-10x1-75x2-mitas-golf-v63-noir' AND `virtuemart_product_id` != 1863568
2023-10-13	13:36:19	4076	[DEBUG]	Query for ProductLang
2023-10-13	13:36:19	4076	[DEBUG]	Executed store
2023-10-13	13:36:19	4076	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 57.C51',`product_name`='Mitas Pneu 10x1.75x2 Mitas Golf V63 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-pneu-10x1-75x2-mitas-golf-v63-noir' WHERE `virtuemart_product_id` = '1863568'
2023-10-13	13:36:19	4076	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32324_pneu_10x1_75x2_mitas_golf_v63.jpg
2023-10-13	13:36:19	4076	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:19	4076	[DEBUG]	Process image file
2023-10-13	13:36:19	4076	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:19	4076	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:19	4076	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32324_pneu_10x1_75x2_mitas_golf_v63.jpg
2023-10-13	13:36:19	4076	[DEBUG]	Full name target: bcprisme/32324_pneu_10x1_75x2_mitas_golf_v63.jpg
2023-10-13	13:36:20	4076	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:20	4076	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32324_pneu_10x1_75x2_mitas_golf_v63.jpg'
2023-10-13	13:36:20	4076	[DEBUG]	Query for Media
2023-10-13	13:36:20	4076	[DEBUG]	Executed store
2023-10-13	13:36:20	4076	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32324_pneu_10x1_75x2_mitas_golf_v63.jpg',`file_url_thumb`='bcprisme/32324_pneu_10x1_75x2_mitas_golf_v63.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16005'
2023-10-13	13:36:20	4076	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:20	4076	[DEBUG]	Executed store
2023-10-13	13:36:20	4076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863568','16005','1')
2023-10-13	13:36:20	4076	[DEBUG]	Store product image relation
2023-10-13	13:36:20	4076	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:20	4076	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863568 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:20	4076	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:20	4076	[DEBUG]	Executed store
2023-10-13	13:36:20	4076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863568','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:20	4076	[DEBUG]	Checking manufacturer
2023-10-13	13:36:20	4076	[DEBUG]	Load a row
2023-10-13	13:36:20	4076	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:20	4076	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	13:36:20	4076	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:20	4076	[DEBUG]	Executed store
2023-10-13	13:36:20	4076	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	13:36:20	4076	[DEBUG]	Manufacturer exists
2023-10-13	13:36:20	4076	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	13:36:20	4076	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:20	4076	[DEBUG]	Executed store
2023-10-13	13:36:20	4076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863568','136')
2023-10-13	13:36:20	4076	[DEBUG]	Find the custom field ID
2023-10-13	13:36:20	4076	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:20	4076	[DEBUG]	No custom field ID found
2023-10-13	13:36:20	4076	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:20	4076	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:36:20	4076	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863568 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:20	4076	[DEBUG]	Store custom available field
2023-10-13	13:36:20	4076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863568,3,'0',1)
2023-10-13	13:36:20	4076	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:20	4076	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:20	4076	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863568 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:20	4076	[DEBUG]	Store custom available field
2023-10-13	13:36:20	4076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863568,6,'choisir la taille',3)
2023-10-13	13:36:20	4076	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:20	4076	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:20	4076	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:20	4076	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:20	4076	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863568 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:20	4076	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:20	4076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863568,8,1)
2023-10-13	13:36:20	4076	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:20	4076	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863568\":[1863568,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863568
2023-10-13	13:36:20	4076	[DEBUG]	Checking category
2023-10-13	13:36:20	4076	[DEBUG]	Check if category path exists: PNEUS 10
2023-10-13	13:36:20	4076	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS 10' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:36:20	4076	[DEBUG]	Query for Category
2023-10-13	13:36:20	4076	[DEBUG]	Executed store
2023-10-13	13:36:20	4076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','7','0','1','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:20	4076	[DEBUG]	Category publish 1
2023-10-13	13:36:20	4076	[DEBUG]	Check the category language
2023-10-13	13:36:20	4076	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7403
2023-10-13	13:36:20	4076	[DEBUG]	Check the category slug
2023-10-13	13:36:20	4076	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-10' AND `virtuemart_category_id` != 7403
2023-10-13	13:36:20	4076	[DEBUG]	Check the category slug
2023-10-13	13:36:20	4076	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-10' AND `virtuemart_category_id` != 7403
2023-10-13	13:36:20	4076	[DEBUG]	Add the category language entry
2023-10-13	13:36:20	4076	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7403, 'pneus-10')
2023-10-13	13:36:20	4076	[DEBUG]	Query for CategoryLang
2023-10-13	13:36:20	4076	[DEBUG]	Executed store
2023-10-13	13:36:20	4076	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PNEUS 10',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pneus-10' WHERE `virtuemart_category_id` = '7403'
2023-10-13	13:36:20	4076	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:36:20	4076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7403','0')
2023-10-13	13:36:20	4076	[DEBUG]	Update has field for parent category
2023-10-13	13:36:20	4076	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:36:20	4076	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:20	4076	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863568
2023-10-13	13:36:20	4076	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:20	4076	[DEBUG]	Executed store
2023-10-13	13:36:20	4076	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863568','7403')
2023-10-13	13:36:20	4076	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:20	4076	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863568 AND `virtuemart_category_id` NOT IN (7403)
2023-10-13	13:36:20	4076	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:20	4076	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863568
2023-10-13	13:36:20	4077	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:20	4077	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:20	4077	[DEBUG]	Use field value for field taille
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:20	4077	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:20	4077	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:20	4077	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:20	4077	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:20	4077	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:20	4077	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:20	4077	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:20	4077	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:20	4077	[DEBUG]	Use field value for field published
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:20	4077	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field override
2023-10-13	13:36:20	4077	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:20	4077	[DEBUG]	Use field value for field slug
2023-10-13	13:36:20	4077	[DEBUG]	Process line 4077
2023-10-13	13:36:20	4077	[DEBUG]	Load a row
2023-10-13	13:36:20	4077	[DEBUG]	Processing item: 8593375532518
2023-10-13	13:36:20	4077	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:20	4077	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:20	4077	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6440_1'
2023-10-13	13:36:20	4077	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:20	4077	[DEBUG]	Processing product tax
2023-10-13	13:36:20	4077	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:20	4077	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:20	4077	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:20	4077	[DEBUG]	Query for Product
2023-10-13	13:36:20	4077	[DEBUG]	Executed store
2023-10-13	13:36:20	4077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863568','8593375532518','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:20	4077	[DEBUG]	No parent found
2023-10-13	13:36:20	4077	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863568 AND customfield_value = 'stockable'
2023-10-13	13:36:20	4077	[DEBUG]	Check product language entry
2023-10-13	13:36:20	4077	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863569
2023-10-13	13:36:20	4077	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:20	4077	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8593375532518' AND `virtuemart_product_id` != 1863569
2023-10-13	13:36:20	4077	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:20	4077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863569, '8593375532518')
2023-10-13	13:36:20	4077	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:20	4077	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'mitas-pneu-10x1-75x2-mitas-golf-v63-noir-unitaire' AND `virtuemart_product_id` != 1863569
2023-10-13	13:36:20	4077	[DEBUG]	Query for ProductLang
2023-10-13	13:36:20	4077	[DEBUG]	Executed store
2023-10-13	13:36:20	4077	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Mitas Pneu 10x1.75x2 Mitas Golf V63 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='mitas-pneu-10x1-75x2-mitas-golf-v63-noir-unitaire' WHERE `virtuemart_product_id` = '1863569'
2023-10-13	13:36:20	4077	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32324_pneu_10x1_75x2_mitas_golf_v63.jpg
2023-10-13	13:36:20	4077	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:20	4077	[DEBUG]	Process image file
2023-10-13	13:36:20	4077	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:20	4077	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:20	4077	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32324_pneu_10x1_75x2_mitas_golf_v63.jpg
2023-10-13	13:36:20	4077	[DEBUG]	Full name target: bcprisme/32324_pneu_10x1_75x2_mitas_golf_v63.jpg
2023-10-13	13:36:21	4077	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:21	4077	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32324_pneu_10x1_75x2_mitas_golf_v63.jpg'
2023-10-13	13:36:21	4077	[DEBUG]	Query for Media
2023-10-13	13:36:21	4077	[DEBUG]	Executed store
2023-10-13	13:36:21	4077	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32324_pneu_10x1_75x2_mitas_golf_v63.jpg',`file_url_thumb`='bcprisme/32324_pneu_10x1_75x2_mitas_golf_v63.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16005'
2023-10-13	13:36:21	4077	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:21	4077	[DEBUG]	Executed store
2023-10-13	13:36:21	4077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863569','16005','1')
2023-10-13	13:36:21	4077	[DEBUG]	Store product image relation
2023-10-13	13:36:21	4077	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:21	4077	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863569 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:21	4077	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:21	4077	[DEBUG]	Executed store
2023-10-13	13:36:21	4077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863569','0','12.9062209842154','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:21	4077	[DEBUG]	Checking manufacturer
2023-10-13	13:36:21	4077	[DEBUG]	Load a row
2023-10-13	13:36:21	4077	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:21	4077	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	13:36:21	4077	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:21	4077	[DEBUG]	Executed store
2023-10-13	13:36:21	4077	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-48-271973594261' WHERE `virtuemart_manufacturer_id` = '136'
2023-10-13	13:36:21	4077	[DEBUG]	Manufacturer exists
2023-10-13	13:36:21	4077	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 136
2023-10-13	13:36:21	4077	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:21	4077	[DEBUG]	Executed store
2023-10-13	13:36:21	4077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863569','136')
2023-10-13	13:36:21	4077	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:21	4077	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:21	4077	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863569 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:21	4077	[DEBUG]	Store custom available field
2023-10-13	13:36:21	4077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863569,3,'',1)
2023-10-13	13:36:21	4077	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:21	4077	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:21	4077	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863569 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:21	4077	[DEBUG]	Store custom available field
2023-10-13	13:36:21	4077	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863569,6,'Unitaire',3)
2023-10-13	13:36:21	4077	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:21	4077	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:21	4077	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863568
2023-10-13	13:36:21	4077	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:21	4077	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863568\":[1863568,8,1,\"choisir la taille\"],\"1863569\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863568
2023-10-13	13:36:21	4077	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:21	4077	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863569
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:21	4078	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field taille
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:21	4078	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:21	4078	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:21	4078	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:21	4078	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:21	4078	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:21	4078	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field published
2023-10-13	13:36:21	4078	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:21	4078	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field override
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:21	4078	[DEBUG]	Use field value for field slug
2023-10-13	13:36:21	4078	[DEBUG]	Process line 4078
2023-10-13	13:36:21	4078	[DEBUG]	Load a row
2023-10-13	13:36:21	4078	[DEBUG]	Processing item: A_5317_1
2023-10-13	13:36:21	4078	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:21	4078	[DEBUG]	Processing product tax
2023-10-13	13:36:21	4078	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:21	4078	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:21	4078	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:21	4078	[DEBUG]	Query for Product
2023-10-13	13:36:21	4078	[DEBUG]	Executed store
2023-10-13	13:36:21	4078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5317_1','0.6','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:21	4078	[DEBUG]	Check product language entry
2023-10-13	13:36:21	4078	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863570
2023-10-13	13:36:21	4078	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:21	4078	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5317_1' AND `virtuemart_product_id` != 1863570
2023-10-13	13:36:21	4078	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:21	4078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863570, 'A_5317_1')
2023-10-13	13:36:21	4078	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:21	4078	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'kenda-pneu-12-1-2x2-1-4-kenda-k953-noir' AND `virtuemart_product_id` != 1863570
2023-10-13	13:36:21	4078	[DEBUG]	Query for ProductLang
2023-10-13	13:36:21	4078	[DEBUG]	Executed store
2023-10-13	13:36:21	4078	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : 57.C69',`product_name`='KENDA Pneu 12 1/2x2 1/4 Kenda K953 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='kenda-pneu-12-1-2x2-1-4-kenda-k953-noir' WHERE `virtuemart_product_id` = '1863570'
2023-10-13	13:36:21	4078	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29795_pneu_12_1-2x2_1-4_kenda_k953.jpg
2023-10-13	13:36:21	4078	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:21	4078	[DEBUG]	Process image file
2023-10-13	13:36:21	4078	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:21	4078	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:21	4078	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29795_pneu_12_1-2x2_1-4_kenda_k953.jpg
2023-10-13	13:36:21	4078	[DEBUG]	Full name target: bcprisme/29795_pneu_12_1-2x2_1-4_kenda_k953.jpg
2023-10-13	13:36:22	4078	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:22	4078	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29795_pneu_12_1-2x2_1-4_kenda_k953.jpg'
2023-10-13	13:36:22	4078	[DEBUG]	Query for Media
2023-10-13	13:36:22	4078	[DEBUG]	Executed store
2023-10-13	13:36:22	4078	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29795_pneu_12_1-2x2_1-4_kenda_k953.jpg',`file_url_thumb`='bcprisme/29795_pneu_12_1-2x2_1-4_kenda_k953.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16006'
2023-10-13	13:36:22	4078	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:22	4078	[DEBUG]	Executed store
2023-10-13	13:36:22	4078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863570','16006','1')
2023-10-13	13:36:22	4078	[DEBUG]	Store product image relation
2023-10-13	13:36:22	4078	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:22	4078	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863570 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:22	4078	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:22	4078	[DEBUG]	Executed store
2023-10-13	13:36:22	4078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863570','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:22	4078	[DEBUG]	Checking manufacturer
2023-10-13	13:36:22	4078	[DEBUG]	Load a row
2023-10-13	13:36:22	4078	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:22	4078	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:22	4078	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:22	4078	[DEBUG]	Executed store
2023-10-13	13:36:22	4078	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-47269901588' WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:22	4078	[DEBUG]	Manufacturer exists
2023-10-13	13:36:22	4078	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 131
2023-10-13	13:36:22	4078	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:22	4078	[DEBUG]	Executed store
2023-10-13	13:36:22	4078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863570','131')
2023-10-13	13:36:22	4078	[DEBUG]	Find the custom field ID
2023-10-13	13:36:22	4078	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:22	4078	[DEBUG]	No custom field ID found
2023-10-13	13:36:22	4078	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:22	4078	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:36:22	4078	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863570 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:22	4078	[DEBUG]	Store custom available field
2023-10-13	13:36:22	4078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863570,3,'14.8586111111111',1)
2023-10-13	13:36:22	4078	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:22	4078	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:22	4078	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863570 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:22	4078	[DEBUG]	Store custom available field
2023-10-13	13:36:22	4078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863570,6,'choisir la taille',3)
2023-10-13	13:36:22	4078	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:22	4078	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:22	4078	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:22	4078	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:22	4078	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863570 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:22	4078	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:22	4078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863570,8,1)
2023-10-13	13:36:22	4078	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:22	4078	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863570\":[1863570,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863570
2023-10-13	13:36:22	4078	[DEBUG]	Checking category
2023-10-13	13:36:22	4078	[DEBUG]	Check if category path exists: PNEUS 12
2023-10-13	13:36:22	4078	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS 12' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:36:22	4078	[DEBUG]	Query for Category
2023-10-13	13:36:22	4078	[DEBUG]	Executed store
2023-10-13	13:36:22	4078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','8','0','1','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:22	4078	[DEBUG]	Category publish 1
2023-10-13	13:36:22	4078	[DEBUG]	Check the category language
2023-10-13	13:36:22	4078	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7404
2023-10-13	13:36:22	4078	[DEBUG]	Check the category slug
2023-10-13	13:36:22	4078	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-12' AND `virtuemart_category_id` != 7404
2023-10-13	13:36:22	4078	[DEBUG]	Check the category slug
2023-10-13	13:36:22	4078	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-12' AND `virtuemart_category_id` != 7404
2023-10-13	13:36:22	4078	[DEBUG]	Add the category language entry
2023-10-13	13:36:22	4078	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7404, 'pneus-12')
2023-10-13	13:36:22	4078	[DEBUG]	Query for CategoryLang
2023-10-13	13:36:22	4078	[DEBUG]	Executed store
2023-10-13	13:36:22	4078	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PNEUS 12',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pneus-12' WHERE `virtuemart_category_id` = '7404'
2023-10-13	13:36:22	4078	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:36:22	4078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7404','0')
2023-10-13	13:36:22	4078	[DEBUG]	Update has field for parent category
2023-10-13	13:36:22	4078	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:36:22	4078	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:22	4078	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863570
2023-10-13	13:36:22	4078	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:22	4078	[DEBUG]	Executed store
2023-10-13	13:36:22	4078	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863570','7404')
2023-10-13	13:36:22	4078	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:22	4078	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863570 AND `virtuemart_category_id` NOT IN (7404)
2023-10-13	13:36:22	4078	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:22	4078	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863570
2023-10-13	13:36:22	4079	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:22	4079	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:22	4079	[DEBUG]	Use field value for field taille
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:22	4079	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:22	4079	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:22	4079	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:22	4079	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:22	4079	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:22	4079	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:22	4079	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:22	4079	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:22	4079	[DEBUG]	Use field value for field published
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:22	4079	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field override
2023-10-13	13:36:22	4079	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:22	4079	[DEBUG]	Use field value for field slug
2023-10-13	13:36:22	4079	[DEBUG]	Process line 4079
2023-10-13	13:36:22	4079	[DEBUG]	Load a row
2023-10-13	13:36:22	4079	[DEBUG]	Processing item: 1000000081695
2023-10-13	13:36:22	4079	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:22	4079	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:22	4079	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5317_1'
2023-10-13	13:36:22	4079	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:22	4079	[DEBUG]	Processing product tax
2023-10-13	13:36:22	4079	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:22	4079	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:22	4079	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:22	4079	[DEBUG]	Query for Product
2023-10-13	13:36:22	4079	[DEBUG]	Executed store
2023-10-13	13:36:22	4079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863570','1000000081695','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:22	4079	[DEBUG]	No parent found
2023-10-13	13:36:22	4079	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863570 AND customfield_value = 'stockable'
2023-10-13	13:36:22	4079	[DEBUG]	Check product language entry
2023-10-13	13:36:22	4079	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863571
2023-10-13	13:36:22	4079	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:22	4079	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000081695' AND `virtuemart_product_id` != 1863571
2023-10-13	13:36:22	4079	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:22	4079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863571, '1000000081695')
2023-10-13	13:36:22	4079	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:22	4079	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'kenda-pneu-12-1-2x2-1-4-kenda-k953-noir-unitaire' AND `virtuemart_product_id` != 1863571
2023-10-13	13:36:22	4079	[DEBUG]	Query for ProductLang
2023-10-13	13:36:22	4079	[DEBUG]	Executed store
2023-10-13	13:36:22	4079	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KENDA Pneu 12 1/2x2 1/4 Kenda K953 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='kenda-pneu-12-1-2x2-1-4-kenda-k953-noir-unitaire' WHERE `virtuemart_product_id` = '1863571'
2023-10-13	13:36:22	4079	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29795_pneu_12_1-2x2_1-4_kenda_k953.jpg
2023-10-13	13:36:22	4079	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:22	4079	[DEBUG]	Process image file
2023-10-13	13:36:22	4079	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:22	4079	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:22	4079	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29795_pneu_12_1-2x2_1-4_kenda_k953.jpg
2023-10-13	13:36:22	4079	[DEBUG]	Full name target: bcprisme/29795_pneu_12_1-2x2_1-4_kenda_k953.jpg
2023-10-13	13:36:23	4079	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:23	4079	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29795_pneu_12_1-2x2_1-4_kenda_k953.jpg'
2023-10-13	13:36:23	4079	[DEBUG]	Query for Media
2023-10-13	13:36:23	4079	[DEBUG]	Executed store
2023-10-13	13:36:23	4079	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29795_pneu_12_1-2x2_1-4_kenda_k953.jpg',`file_url_thumb`='bcprisme/29795_pneu_12_1-2x2_1-4_kenda_k953.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16006'
2023-10-13	13:36:23	4079	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:23	4079	[DEBUG]	Executed store
2023-10-13	13:36:23	4079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863571','16006','1')
2023-10-13	13:36:23	4079	[DEBUG]	Store product image relation
2023-10-13	13:36:23	4079	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:23	4079	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863571 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:23	4079	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:23	4079	[DEBUG]	Executed store
2023-10-13	13:36:23	4079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863571','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:23	4079	[DEBUG]	Checking manufacturer
2023-10-13	13:36:23	4079	[DEBUG]	Load a row
2023-10-13	13:36:23	4079	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:23	4079	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:23	4079	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:23	4079	[DEBUG]	Executed store
2023-10-13	13:36:23	4079	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-47269901588' WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:23	4079	[DEBUG]	Manufacturer exists
2023-10-13	13:36:23	4079	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 131
2023-10-13	13:36:23	4079	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:23	4079	[DEBUG]	Executed store
2023-10-13	13:36:23	4079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863571','131')
2023-10-13	13:36:23	4079	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:23	4079	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:23	4079	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863571 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:23	4079	[DEBUG]	Store custom available field
2023-10-13	13:36:23	4079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863571,3,'',1)
2023-10-13	13:36:23	4079	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:23	4079	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:23	4079	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863571 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:23	4079	[DEBUG]	Store custom available field
2023-10-13	13:36:23	4079	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863571,6,'Unitaire',3)
2023-10-13	13:36:23	4079	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:23	4079	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:23	4079	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863570
2023-10-13	13:36:23	4079	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:23	4079	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863570\":[1863570,8,1,\"choisir la taille\"],\"1863571\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863570
2023-10-13	13:36:23	4079	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:23	4079	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863571
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:23	4080	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field taille
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:23	4080	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:23	4080	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:23	4080	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:23	4080	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:23	4080	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:23	4080	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field published
2023-10-13	13:36:23	4080	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:23	4080	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field override
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:23	4080	[DEBUG]	Use field value for field slug
2023-10-13	13:36:23	4080	[DEBUG]	Process line 4080
2023-10-13	13:36:23	4080	[DEBUG]	Load a row
2023-10-13	13:36:23	4080	[DEBUG]	Processing item: A_5318_1
2023-10-13	13:36:23	4080	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:23	4080	[DEBUG]	Processing product tax
2023-10-13	13:36:23	4080	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:23	4080	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:23	4080	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:23	4080	[DEBUG]	Query for Product
2023-10-13	13:36:23	4080	[DEBUG]	Executed store
2023-10-13	13:36:23	4080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5318_1','0.6','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:23	4080	[DEBUG]	Check product language entry
2023-10-13	13:36:23	4080	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863572
2023-10-13	13:36:23	4080	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:23	4080	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5318_1' AND `virtuemart_product_id` != 1863572
2023-10-13	13:36:23	4080	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:23	4080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863572, 'A_5318_1')
2023-10-13	13:36:23	4080	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:23	4080	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'kenda-pneu-12-1-2x2-1-4-mitas-golf-v63-noir' AND `virtuemart_product_id` != 1863572
2023-10-13	13:36:23	4080	[DEBUG]	Query for ProductLang
2023-10-13	13:36:23	4080	[DEBUG]	Executed store
2023-10-13	13:36:23	4080	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : 57.R12225',`product_name`='KENDA Pneu 12 1/2x2 1/4 Mitas Golf V63 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='kenda-pneu-12-1-2x2-1-4-mitas-golf-v63-noir' WHERE `virtuemart_product_id` = '1863572'
2023-10-13	13:36:23	4080	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29796_pneu_12_1-2x2_1-4_mitas_golf_v63.jpg
2023-10-13	13:36:23	4080	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:23	4080	[DEBUG]	Process image file
2023-10-13	13:36:23	4080	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:23	4080	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:23	4080	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29796_pneu_12_1-2x2_1-4_mitas_golf_v63.jpg
2023-10-13	13:36:23	4080	[DEBUG]	Full name target: bcprisme/29796_pneu_12_1-2x2_1-4_mitas_golf_v63.jpg
2023-10-13	13:36:24	4080	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:24	4080	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29796_pneu_12_1-2x2_1-4_mitas_golf_v63.jpg'
2023-10-13	13:36:24	4080	[DEBUG]	Query for Media
2023-10-13	13:36:24	4080	[DEBUG]	Executed store
2023-10-13	13:36:24	4080	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29796_pneu_12_1-2x2_1-4_mitas_golf_v63.jpg',`file_url_thumb`='bcprisme/29796_pneu_12_1-2x2_1-4_mitas_golf_v63.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16007'
2023-10-13	13:36:24	4080	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:24	4080	[DEBUG]	Executed store
2023-10-13	13:36:24	4080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863572','16007','1')
2023-10-13	13:36:24	4080	[DEBUG]	Store product image relation
2023-10-13	13:36:24	4080	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:24	4080	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863572 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:24	4080	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:24	4080	[DEBUG]	Executed store
2023-10-13	13:36:24	4080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863572','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:24	4080	[DEBUG]	Checking manufacturer
2023-10-13	13:36:24	4080	[DEBUG]	Load a row
2023-10-13	13:36:24	4080	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:24	4080	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:24	4080	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:24	4080	[DEBUG]	Executed store
2023-10-13	13:36:24	4080	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-47269901588' WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:24	4080	[DEBUG]	Manufacturer exists
2023-10-13	13:36:24	4080	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 131
2023-10-13	13:36:24	4080	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:24	4080	[DEBUG]	Executed store
2023-10-13	13:36:24	4080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863572','131')
2023-10-13	13:36:24	4080	[DEBUG]	Find the custom field ID
2023-10-13	13:36:24	4080	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:24	4080	[DEBUG]	No custom field ID found
2023-10-13	13:36:24	4080	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:24	4080	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:36:24	4080	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863572 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:24	4080	[DEBUG]	Store custom available field
2023-10-13	13:36:24	4080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863572,3,'14.8586111111111',1)
2023-10-13	13:36:24	4080	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:24	4080	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:24	4080	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863572 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:24	4080	[DEBUG]	Store custom available field
2023-10-13	13:36:24	4080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863572,6,'choisir la taille',3)
2023-10-13	13:36:24	4080	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:24	4080	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:24	4080	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:24	4080	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:24	4080	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863572 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:24	4080	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:24	4080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863572,8,1)
2023-10-13	13:36:24	4080	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:24	4080	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863572\":[1863572,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863572
2023-10-13	13:36:24	4080	[DEBUG]	Checking category
2023-10-13	13:36:24	4080	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:24	4080	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863572
2023-10-13	13:36:24	4080	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:24	4080	[DEBUG]	Executed store
2023-10-13	13:36:24	4080	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863572','7404')
2023-10-13	13:36:24	4080	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:24	4080	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863572 AND `virtuemart_category_id` NOT IN (7404)
2023-10-13	13:36:24	4080	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:24	4080	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863572
2023-10-13	13:36:24	4081	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:24	4081	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:24	4081	[DEBUG]	Use field value for field taille
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:24	4081	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:24	4081	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:24	4081	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:24	4081	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:24	4081	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:24	4081	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:24	4081	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:24	4081	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:24	4081	[DEBUG]	Use field value for field published
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:24	4081	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field override
2023-10-13	13:36:24	4081	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:24	4081	[DEBUG]	Use field value for field slug
2023-10-13	13:36:24	4081	[DEBUG]	Process line 4081
2023-10-13	13:36:24	4081	[DEBUG]	Load a row
2023-10-13	13:36:24	4081	[DEBUG]	Processing item: 8593375532495
2023-10-13	13:36:24	4081	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:24	4081	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:24	4081	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5318_1'
2023-10-13	13:36:24	4081	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:24	4081	[DEBUG]	Processing product tax
2023-10-13	13:36:24	4081	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:24	4081	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:24	4081	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:24	4081	[DEBUG]	Query for Product
2023-10-13	13:36:24	4081	[DEBUG]	Executed store
2023-10-13	13:36:24	4081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863572','8593375532495','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:24	4081	[DEBUG]	No parent found
2023-10-13	13:36:24	4081	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863572 AND customfield_value = 'stockable'
2023-10-13	13:36:24	4081	[DEBUG]	Check product language entry
2023-10-13	13:36:24	4081	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863573
2023-10-13	13:36:24	4081	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:24	4081	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8593375532495' AND `virtuemart_product_id` != 1863573
2023-10-13	13:36:24	4081	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:24	4081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863573, '8593375532495')
2023-10-13	13:36:24	4081	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:24	4081	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'kenda-pneu-12-1-2x2-1-4-mitas-golf-v63-noir-unitaire' AND `virtuemart_product_id` != 1863573
2023-10-13	13:36:24	4081	[DEBUG]	Query for ProductLang
2023-10-13	13:36:24	4081	[DEBUG]	Executed store
2023-10-13	13:36:24	4081	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KENDA Pneu 12 1/2x2 1/4 Mitas Golf V63 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='kenda-pneu-12-1-2x2-1-4-mitas-golf-v63-noir-unitaire' WHERE `virtuemart_product_id` = '1863573'
2023-10-13	13:36:24	4081	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29796_pneu_12_1-2x2_1-4_mitas_golf_v63.jpg
2023-10-13	13:36:24	4081	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:24	4081	[DEBUG]	Process image file
2023-10-13	13:36:24	4081	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:24	4081	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:24	4081	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29796_pneu_12_1-2x2_1-4_mitas_golf_v63.jpg
2023-10-13	13:36:24	4081	[DEBUG]	Full name target: bcprisme/29796_pneu_12_1-2x2_1-4_mitas_golf_v63.jpg
2023-10-13	13:36:25	4081	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:25	4081	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29796_pneu_12_1-2x2_1-4_mitas_golf_v63.jpg'
2023-10-13	13:36:25	4081	[DEBUG]	Query for Media
2023-10-13	13:36:25	4081	[DEBUG]	Executed store
2023-10-13	13:36:25	4081	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29796_pneu_12_1-2x2_1-4_mitas_golf_v63.jpg',`file_url_thumb`='bcprisme/29796_pneu_12_1-2x2_1-4_mitas_golf_v63.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16007'
2023-10-13	13:36:25	4081	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:25	4081	[DEBUG]	Executed store
2023-10-13	13:36:25	4081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863573','16007','1')
2023-10-13	13:36:25	4081	[DEBUG]	Store product image relation
2023-10-13	13:36:25	4081	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:25	4081	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863573 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:25	4081	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:25	4081	[DEBUG]	Executed store
2023-10-13	13:36:25	4081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863573','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:25	4081	[DEBUG]	Checking manufacturer
2023-10-13	13:36:25	4081	[DEBUG]	Load a row
2023-10-13	13:36:25	4081	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:25	4081	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:25	4081	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:25	4081	[DEBUG]	Executed store
2023-10-13	13:36:25	4081	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-47269901588' WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:25	4081	[DEBUG]	Manufacturer exists
2023-10-13	13:36:25	4081	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 131
2023-10-13	13:36:25	4081	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:25	4081	[DEBUG]	Executed store
2023-10-13	13:36:25	4081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863573','131')
2023-10-13	13:36:25	4081	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:25	4081	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:25	4081	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863573 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:25	4081	[DEBUG]	Store custom available field
2023-10-13	13:36:25	4081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863573,3,'',1)
2023-10-13	13:36:25	4081	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:25	4081	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:25	4081	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863573 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:25	4081	[DEBUG]	Store custom available field
2023-10-13	13:36:25	4081	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863573,6,'Unitaire',3)
2023-10-13	13:36:25	4081	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:25	4081	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:25	4081	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863572
2023-10-13	13:36:25	4081	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:25	4081	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863572\":[1863572,8,1,\"choisir la taille\"],\"1863573\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863572
2023-10-13	13:36:25	4081	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:25	4081	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863573
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:25	4082	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field taille
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:25	4082	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:25	4082	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:25	4082	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:25	4082	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:25	4082	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:25	4082	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field published
2023-10-13	13:36:25	4082	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:25	4082	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field override
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:25	4082	[DEBUG]	Use field value for field slug
2023-10-13	13:36:25	4082	[DEBUG]	Process line 4082
2023-10-13	13:36:25	4082	[DEBUG]	Load a row
2023-10-13	13:36:25	4082	[DEBUG]	Processing item: A_5552_1
2023-10-13	13:36:25	4082	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:25	4082	[DEBUG]	Processing product tax
2023-10-13	13:36:25	4082	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:25	4082	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:25	4082	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:25	4082	[DEBUG]	Query for Product
2023-10-13	13:36:25	4082	[DEBUG]	Executed store
2023-10-13	13:36:25	4082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5552_1','0.6','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:25	4082	[DEBUG]	Check product language entry
2023-10-13	13:36:25	4082	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863574
2023-10-13	13:36:25	4082	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:25	4082	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5552_1' AND `virtuemart_product_id` != 1863574
2023-10-13	13:36:25	4082	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:25	4082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863574, 'A_5552_1')
2023-10-13	13:36:25	4082	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:25	4082	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-black-jack-12x1-90-rigide-black-noir' AND `virtuemart_product_id` != 1863574
2023-10-13	13:36:25	4082	[DEBUG]	Query for ProductLang
2023-10-13	13:36:25	4082	[DEBUG]	Executed store
2023-10-13	13:36:25	4082	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : 24.56656',`product_name`='Schwalbe Pneu Schwalbe Black Jack 12x1.90 rigide black / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-black-jack-12x1-90-rigide-black-noir' WHERE `virtuemart_product_id` = '1863574'
2023-10-13	13:36:25	4082	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30052_pneu_schwalbe_black_jack_12x1_90_rigide_black.jpg
2023-10-13	13:36:25	4082	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:25	4082	[DEBUG]	Process image file
2023-10-13	13:36:25	4082	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:25	4082	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:25	4082	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30052_pneu_schwalbe_black_jack_12x1_90_rigide_black.jpg
2023-10-13	13:36:25	4082	[DEBUG]	Full name target: bcprisme/30052_pneu_schwalbe_black_jack_12x1_90_rigide_black.jpg
2023-10-13	13:36:26	4082	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:26	4082	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30052_pneu_schwalbe_black_jack_12x1_90_rigide_black.jpg'
2023-10-13	13:36:26	4082	[DEBUG]	Query for Media
2023-10-13	13:36:26	4082	[DEBUG]	Executed store
2023-10-13	13:36:26	4082	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30052_pneu_schwalbe_black_jack_12x1_90_rigide_black.jpg',`file_url_thumb`='bcprisme/30052_pneu_schwalbe_black_jack_12x1_90_rigide_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16008'
2023-10-13	13:36:26	4082	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:26	4082	[DEBUG]	Executed store
2023-10-13	13:36:26	4082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863574','16008','1')
2023-10-13	13:36:26	4082	[DEBUG]	Store product image relation
2023-10-13	13:36:26	4082	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:26	4082	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863574 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:26	4082	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:26	4082	[DEBUG]	Executed store
2023-10-13	13:36:26	4082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863574','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:26	4082	[DEBUG]	Checking manufacturer
2023-10-13	13:36:26	4082	[DEBUG]	Load a row
2023-10-13	13:36:26	4082	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:26	4082	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:36:26	4082	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:26	4082	[DEBUG]	Executed store
2023-10-13	13:36:26	4082	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:36:26	4082	[DEBUG]	Manufacturer exists
2023-10-13	13:36:26	4082	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:36:26	4082	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:26	4082	[DEBUG]	Executed store
2023-10-13	13:36:26	4082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863574','77')
2023-10-13	13:36:26	4082	[DEBUG]	Find the custom field ID
2023-10-13	13:36:26	4082	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:26	4082	[DEBUG]	No custom field ID found
2023-10-13	13:36:26	4082	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:26	4082	[DEBUG]	Get existing row with customfield value 14.8586111111111
2023-10-13	13:36:26	4082	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863574 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:26	4082	[DEBUG]	Store custom available field
2023-10-13	13:36:26	4082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863574,3,'14.8586111111111',1)
2023-10-13	13:36:26	4082	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:26	4082	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:26	4082	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863574 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:26	4082	[DEBUG]	Store custom available field
2023-10-13	13:36:26	4082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863574,6,'choisir la taille',3)
2023-10-13	13:36:26	4082	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:26	4082	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:26	4082	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:26	4082	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:26	4082	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863574 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:26	4082	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:26	4082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863574,8,1)
2023-10-13	13:36:26	4082	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:26	4082	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863574\":[1863574,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863574
2023-10-13	13:36:26	4082	[DEBUG]	Checking category
2023-10-13	13:36:26	4082	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:26	4082	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863574
2023-10-13	13:36:26	4082	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:26	4082	[DEBUG]	Executed store
2023-10-13	13:36:26	4082	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863574','7404')
2023-10-13	13:36:26	4082	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:26	4082	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863574 AND `virtuemart_category_id` NOT IN (7404)
2023-10-13	13:36:26	4082	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:26	4082	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863574
2023-10-13	13:36:26	4083	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:26	4083	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:26	4083	[DEBUG]	Use field value for field taille
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:26	4083	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:26	4083	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:26	4083	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:26	4083	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:26	4083	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:26	4083	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:26	4083	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:26	4083	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:26	4083	[DEBUG]	Use field value for field published
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:26	4083	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field override
2023-10-13	13:36:26	4083	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:26	4083	[DEBUG]	Use field value for field slug
2023-10-13	13:36:26	4083	[DEBUG]	Process line 4083
2023-10-13	13:36:26	4083	[DEBUG]	Load a row
2023-10-13	13:36:26	4083	[DEBUG]	Processing item: 4026495810029
2023-10-13	13:36:26	4083	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:26	4083	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:26	4083	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5552_1'
2023-10-13	13:36:26	4083	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:26	4083	[DEBUG]	Processing product tax
2023-10-13	13:36:26	4083	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:26	4083	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:26	4083	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:26	4083	[DEBUG]	Query for Product
2023-10-13	13:36:26	4083	[DEBUG]	Executed store
2023-10-13	13:36:26	4083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863574','4026495810029','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:26	4083	[DEBUG]	No parent found
2023-10-13	13:36:26	4083	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863574 AND customfield_value = 'stockable'
2023-10-13	13:36:26	4083	[DEBUG]	Check product language entry
2023-10-13	13:36:26	4083	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863575
2023-10-13	13:36:26	4083	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:26	4083	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495810029' AND `virtuemart_product_id` != 1863575
2023-10-13	13:36:26	4083	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:26	4083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863575, '4026495810029')
2023-10-13	13:36:26	4083	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:26	4083	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-black-jack-12x1-90-rigide-black-noir-unitaire' AND `virtuemart_product_id` != 1863575
2023-10-13	13:36:26	4083	[DEBUG]	Query for ProductLang
2023-10-13	13:36:26	4083	[DEBUG]	Executed store
2023-10-13	13:36:26	4083	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Pneu Schwalbe Black Jack 12x1.90 rigide black / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-black-jack-12x1-90-rigide-black-noir-unitaire' WHERE `virtuemart_product_id` = '1863575'
2023-10-13	13:36:26	4083	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30052_pneu_schwalbe_black_jack_12x1_90_rigide_black.jpg
2023-10-13	13:36:26	4083	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:26	4083	[DEBUG]	Process image file
2023-10-13	13:36:26	4083	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:26	4083	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:26	4083	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30052_pneu_schwalbe_black_jack_12x1_90_rigide_black.jpg
2023-10-13	13:36:26	4083	[DEBUG]	Full name target: bcprisme/30052_pneu_schwalbe_black_jack_12x1_90_rigide_black.jpg
2023-10-13	13:36:27	4083	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:27	4083	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30052_pneu_schwalbe_black_jack_12x1_90_rigide_black.jpg'
2023-10-13	13:36:27	4083	[DEBUG]	Query for Media
2023-10-13	13:36:27	4083	[DEBUG]	Executed store
2023-10-13	13:36:27	4083	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30052_pneu_schwalbe_black_jack_12x1_90_rigide_black.jpg',`file_url_thumb`='bcprisme/30052_pneu_schwalbe_black_jack_12x1_90_rigide_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16008'
2023-10-13	13:36:27	4083	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:27	4083	[DEBUG]	Executed store
2023-10-13	13:36:27	4083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863575','16008','1')
2023-10-13	13:36:27	4083	[DEBUG]	Store product image relation
2023-10-13	13:36:27	4083	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:27	4083	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863575 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:27	4083	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:27	4083	[DEBUG]	Executed store
2023-10-13	13:36:27	4083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863575','0','14.7632311977716','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:27	4083	[DEBUG]	Checking manufacturer
2023-10-13	13:36:27	4083	[DEBUG]	Load a row
2023-10-13	13:36:27	4083	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:27	4083	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:36:27	4083	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:27	4083	[DEBUG]	Executed store
2023-10-13	13:36:27	4083	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:36:27	4083	[DEBUG]	Manufacturer exists
2023-10-13	13:36:27	4083	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:36:27	4083	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:27	4083	[DEBUG]	Executed store
2023-10-13	13:36:27	4083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863575','77')
2023-10-13	13:36:27	4083	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:27	4083	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:27	4083	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863575 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:27	4083	[DEBUG]	Store custom available field
2023-10-13	13:36:27	4083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863575,3,'',1)
2023-10-13	13:36:27	4083	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:27	4083	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:27	4083	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863575 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:27	4083	[DEBUG]	Store custom available field
2023-10-13	13:36:27	4083	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863575,6,'Unitaire',3)
2023-10-13	13:36:27	4083	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:27	4083	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:27	4083	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863574
2023-10-13	13:36:27	4083	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:27	4083	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863574\":[1863574,8,1,\"choisir la taille\"],\"1863575\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863574
2023-10-13	13:36:27	4083	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:27	4083	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863575
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:27	4084	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field taille
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:27	4084	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:27	4084	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:27	4084	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:27	4084	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:27	4084	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:27	4084	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field published
2023-10-13	13:36:27	4084	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:27	4084	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field override
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:27	4084	[DEBUG]	Use field value for field slug
2023-10-13	13:36:27	4084	[DEBUG]	Process line 4084
2023-10-13	13:36:27	4084	[DEBUG]	Load a row
2023-10-13	13:36:27	4084	[DEBUG]	Processing item: A_6206_1
2023-10-13	13:36:27	4084	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:27	4084	[DEBUG]	Processing product tax
2023-10-13	13:36:27	4084	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:27	4084	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:27	4084	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:27	4084	[DEBUG]	Query for Product
2023-10-13	13:36:27	4084	[DEBUG]	Executed store
2023-10-13	13:36:27	4084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6206_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:27	4084	[DEBUG]	Check product language entry
2023-10-13	13:36:27	4084	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863576
2023-10-13	13:36:27	4084	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:27	4084	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6206_1' AND `virtuemart_product_id` != 1863576
2023-10-13	13:36:27	4084	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:27	4084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863576, 'A_6206_1')
2023-10-13	13:36:27	4084	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:27	4084	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fortune-pneus-12-x-1-2-x-2-1-4-bmx-noir' AND `virtuemart_product_id` != 1863576
2023-10-13	13:36:27	4084	[DEBUG]	Query for ProductLang
2023-10-13	13:36:27	4084	[DEBUG]	Executed store
2023-10-13	13:36:27	4084	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 57.SW10',`product_name`='FORTUNE PNEUS 12 x 1/2 x 2 1/4 BMX  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fortune-pneus-12-x-1-2-x-2-1-4-bmx-noir' WHERE `virtuemart_product_id` = '1863576'
2023-10-13	13:36:27	4084	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32048_pneus_12_x_1-2_x_2_1-4_bmx_.jpg
2023-10-13	13:36:27	4084	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:27	4084	[DEBUG]	Process image file
2023-10-13	13:36:27	4084	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:27	4084	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:27	4084	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32048_pneus_12_x_1-2_x_2_1-4_bmx_.jpg
2023-10-13	13:36:27	4084	[DEBUG]	Full name target: bcprisme/32048_pneus_12_x_1-2_x_2_1-4_bmx_.jpg
2023-10-13	13:36:28	4084	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:28	4084	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32048_pneus_12_x_1-2_x_2_1-4_bmx_.jpg'
2023-10-13	13:36:28	4084	[DEBUG]	Query for Media
2023-10-13	13:36:28	4084	[DEBUG]	Executed store
2023-10-13	13:36:28	4084	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32048_pneus_12_x_1-2_x_2_1-4_bmx_.jpg',`file_url_thumb`='bcprisme/32048_pneus_12_x_1-2_x_2_1-4_bmx_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16009'
2023-10-13	13:36:28	4084	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:28	4084	[DEBUG]	Executed store
2023-10-13	13:36:28	4084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863576','16009','1')
2023-10-13	13:36:28	4084	[DEBUG]	Store product image relation
2023-10-13	13:36:28	4084	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:28	4084	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863576 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:28	4084	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:28	4084	[DEBUG]	Executed store
2023-10-13	13:36:28	4084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863576','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:28	4084	[DEBUG]	Checking manufacturer
2023-10-13	13:36:28	4084	[DEBUG]	Load a row
2023-10-13	13:36:28	4084	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:28	4084	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:36:28	4084	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:28	4084	[DEBUG]	Executed store
2023-10-13	13:36:28	4084	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21846525543' WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:36:28	4084	[DEBUG]	Manufacturer exists
2023-10-13	13:36:28	4084	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 130
2023-10-13	13:36:28	4084	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:28	4084	[DEBUG]	Executed store
2023-10-13	13:36:28	4084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863576','130')
2023-10-13	13:36:28	4084	[DEBUG]	Find the custom field ID
2023-10-13	13:36:28	4084	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:28	4084	[DEBUG]	No custom field ID found
2023-10-13	13:36:28	4084	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:28	4084	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:36:28	4084	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863576 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:28	4084	[DEBUG]	Store custom available field
2023-10-13	13:36:28	4084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863576,3,'0',1)
2023-10-13	13:36:28	4084	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:28	4084	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:28	4084	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863576 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:28	4084	[DEBUG]	Store custom available field
2023-10-13	13:36:28	4084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863576,6,'choisir la taille',3)
2023-10-13	13:36:28	4084	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:28	4084	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:28	4084	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:28	4084	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:28	4084	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863576 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:28	4084	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:28	4084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863576,8,1)
2023-10-13	13:36:28	4084	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:28	4084	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863576\":[1863576,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863576
2023-10-13	13:36:28	4084	[DEBUG]	Checking category
2023-10-13	13:36:28	4084	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:28	4084	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863576
2023-10-13	13:36:28	4084	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:28	4084	[DEBUG]	Executed store
2023-10-13	13:36:28	4084	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863576','7404')
2023-10-13	13:36:28	4084	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:28	4084	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863576 AND `virtuemart_category_id` NOT IN (7404)
2023-10-13	13:36:28	4084	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:28	4084	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863576
2023-10-13	13:36:28	4085	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:28	4085	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:28	4085	[DEBUG]	Use field value for field taille
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:28	4085	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:28	4085	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:28	4085	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:28	4085	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:28	4085	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:28	4085	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:28	4085	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:28	4085	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:28	4085	[DEBUG]	Use field value for field published
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:28	4085	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field override
2023-10-13	13:36:28	4085	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:28	4085	[DEBUG]	Use field value for field slug
2023-10-13	13:36:28	4085	[DEBUG]	Process line 4085
2023-10-13	13:36:28	4085	[DEBUG]	Load a row
2023-10-13	13:36:28	4085	[DEBUG]	Processing item: 1000000102673
2023-10-13	13:36:28	4085	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:28	4085	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:28	4085	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6206_1'
2023-10-13	13:36:28	4085	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:28	4085	[DEBUG]	Processing product tax
2023-10-13	13:36:28	4085	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:28	4085	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:28	4085	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:28	4085	[DEBUG]	Query for Product
2023-10-13	13:36:28	4085	[DEBUG]	Executed store
2023-10-13	13:36:28	4085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863576','1000000102673','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:28	4085	[DEBUG]	No parent found
2023-10-13	13:36:28	4085	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863576 AND customfield_value = 'stockable'
2023-10-13	13:36:28	4085	[DEBUG]	Check product language entry
2023-10-13	13:36:28	4085	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863577
2023-10-13	13:36:28	4085	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:28	4085	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000102673' AND `virtuemart_product_id` != 1863577
2023-10-13	13:36:28	4085	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:28	4085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863577, '1000000102673')
2023-10-13	13:36:28	4085	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:28	4085	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fortune-pneus-12-x-1-2-x-2-1-4-bmx-noir-unitaire' AND `virtuemart_product_id` != 1863577
2023-10-13	13:36:28	4085	[DEBUG]	Query for ProductLang
2023-10-13	13:36:28	4085	[DEBUG]	Executed store
2023-10-13	13:36:28	4085	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='FORTUNE PNEUS 12 x 1/2 x 2 1/4 BMX  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fortune-pneus-12-x-1-2-x-2-1-4-bmx-noir-unitaire' WHERE `virtuemart_product_id` = '1863577'
2023-10-13	13:36:28	4085	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32048_pneus_12_x_1-2_x_2_1-4_bmx_.jpg
2023-10-13	13:36:28	4085	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:28	4085	[DEBUG]	Process image file
2023-10-13	13:36:28	4085	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:28	4085	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:28	4085	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32048_pneus_12_x_1-2_x_2_1-4_bmx_.jpg
2023-10-13	13:36:28	4085	[DEBUG]	Full name target: bcprisme/32048_pneus_12_x_1-2_x_2_1-4_bmx_.jpg
2023-10-13	13:36:29	4085	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:29	4085	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32048_pneus_12_x_1-2_x_2_1-4_bmx_.jpg'
2023-10-13	13:36:29	4085	[DEBUG]	Query for Media
2023-10-13	13:36:29	4085	[DEBUG]	Executed store
2023-10-13	13:36:29	4085	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32048_pneus_12_x_1-2_x_2_1-4_bmx_.jpg',`file_url_thumb`='bcprisme/32048_pneus_12_x_1-2_x_2_1-4_bmx_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16009'
2023-10-13	13:36:29	4085	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:29	4085	[DEBUG]	Executed store
2023-10-13	13:36:29	4085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863577','16009','1')
2023-10-13	13:36:29	4085	[DEBUG]	Store product image relation
2023-10-13	13:36:29	4085	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:29	4085	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863577 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:29	4085	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:29	4085	[DEBUG]	Executed store
2023-10-13	13:36:29	4085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863577','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:29	4085	[DEBUG]	Checking manufacturer
2023-10-13	13:36:29	4085	[DEBUG]	Load a row
2023-10-13	13:36:29	4085	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:29	4085	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:36:29	4085	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:29	4085	[DEBUG]	Executed store
2023-10-13	13:36:29	4085	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21846525543' WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:36:29	4085	[DEBUG]	Manufacturer exists
2023-10-13	13:36:29	4085	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 130
2023-10-13	13:36:29	4085	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:29	4085	[DEBUG]	Executed store
2023-10-13	13:36:29	4085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863577','130')
2023-10-13	13:36:29	4085	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:29	4085	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:29	4085	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863577 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:29	4085	[DEBUG]	Store custom available field
2023-10-13	13:36:29	4085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863577,3,'',1)
2023-10-13	13:36:29	4085	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:29	4085	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:29	4085	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863577 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:29	4085	[DEBUG]	Store custom available field
2023-10-13	13:36:29	4085	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863577,6,'Unitaire',3)
2023-10-13	13:36:29	4085	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:29	4085	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:29	4085	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863576
2023-10-13	13:36:29	4085	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:29	4085	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863576\":[1863576,8,1,\"choisir la taille\"],\"1863577\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863576
2023-10-13	13:36:29	4085	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:29	4085	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863577
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:29	4086	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field taille
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:29	4086	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:29	4086	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:29	4086	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:29	4086	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:29	4086	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:29	4086	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field published
2023-10-13	13:36:29	4086	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:29	4086	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field override
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:29	4086	[DEBUG]	Use field value for field slug
2023-10-13	13:36:29	4086	[DEBUG]	Process line 4086
2023-10-13	13:36:29	4086	[DEBUG]	Load a row
2023-10-13	13:36:29	4086	[DEBUG]	Processing item: A_6217_1
2023-10-13	13:36:29	4086	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:29	4086	[DEBUG]	Processing product tax
2023-10-13	13:36:29	4086	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:29	4086	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:29	4086	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:29	4086	[DEBUG]	Query for Product
2023-10-13	13:36:29	4086	[DEBUG]	Executed store
2023-10-13	13:36:29	4086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6217_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:29	4086	[DEBUG]	Check product language entry
2023-10-13	13:36:29	4086	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863578
2023-10-13	13:36:29	4086	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:29	4086	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6217_1' AND `virtuemart_product_id` != 1863578
2023-10-13	13:36:29	4086	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:29	4086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863578, 'A_6217_1')
2023-10-13	13:36:29	4086	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:29	4086	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-kid-plus-12x1-75-47-203-hs413-puncture-guard-wire-noir' AND `virtuemart_product_id` != 1863578
2023-10-13	13:36:29	4086	[DEBUG]	Query for ProductLang
2023-10-13	13:36:29	4086	[DEBUG]	Executed store
2023-10-13	13:36:29	4086	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : 10.55.03.683',`product_name`='SCHWALBE Pneu Schwalbe KID PLUS 12X1.75 47-203 HS413 PUNCTURE GUARD, WIRE  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-kid-plus-12x1-75-47-203-hs413-puncture-guard-wire-noir' WHERE `virtuemart_product_id` = '1863578'
2023-10-13	13:36:29	4086	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32060_pneu_schwalbe_kid_plus_12x1_75_47-203_hs413_puncture_guard,_wire_.jpg
2023-10-13	13:36:29	4086	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:29	4086	[DEBUG]	Process image file
2023-10-13	13:36:29	4086	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:29	4086	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:29	4086	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32060_pneu_schwalbe_kid_plus_12x1_75_47-203_hs413_puncture_guard,_wire_.jpg
2023-10-13	13:36:29	4086	[DEBUG]	Full name target: bcprisme/32060_pneu_schwalbe_kid_plus_12x1_75_47-203_hs413_puncture_guard,_wire_.jpg
2023-10-13	13:36:30	4086	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:30	4086	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32060_pneu_schwalbe_kid_plus_12x1_75_47-203_hs413_puncture_guard,_wire_.jpg'
2023-10-13	13:36:30	4086	[DEBUG]	Query for Media
2023-10-13	13:36:30	4086	[DEBUG]	Executed store
2023-10-13	13:36:30	4086	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32060_pneu_schwalbe_kid_plus_12x1_75_47-203_hs413_puncture_guard,_wire_.jpg',`file_url_thumb`='bcprisme/32060_pneu_schwalbe_kid_plus_12x1_75_47-203_hs413_puncture_guard,_wire_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16010'
2023-10-13	13:36:30	4086	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:30	4086	[DEBUG]	Executed store
2023-10-13	13:36:30	4086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863578','16010','1')
2023-10-13	13:36:30	4086	[DEBUG]	Store product image relation
2023-10-13	13:36:30	4086	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:30	4086	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863578 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:30	4086	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:30	4086	[DEBUG]	Executed store
2023-10-13	13:36:30	4086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863578','0','21.2627669452182','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:30	4086	[DEBUG]	Checking manufacturer
2023-10-13	13:36:30	4086	[DEBUG]	Load a row
2023-10-13	13:36:30	4086	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:30	4086	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:30	4086	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:30	4086	[DEBUG]	Executed store
2023-10-13	13:36:30	4086	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:30	4086	[DEBUG]	Manufacturer exists
2023-10-13	13:36:30	4086	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:36:30	4086	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:30	4086	[DEBUG]	Executed store
2023-10-13	13:36:30	4086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863578','25')
2023-10-13	13:36:30	4086	[DEBUG]	Find the custom field ID
2023-10-13	13:36:30	4086	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:30	4086	[DEBUG]	No custom field ID found
2023-10-13	13:36:30	4086	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:30	4086	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:36:30	4086	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863578 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:30	4086	[DEBUG]	Store custom available field
2023-10-13	13:36:30	4086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863578,3,'39.7891666666667',1)
2023-10-13	13:36:30	4086	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:30	4086	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:30	4086	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863578 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:30	4086	[DEBUG]	Store custom available field
2023-10-13	13:36:30	4086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863578,6,'choisir la taille',3)
2023-10-13	13:36:30	4086	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:30	4086	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:30	4086	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:30	4086	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:30	4086	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863578 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:30	4086	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:30	4086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863578,8,1)
2023-10-13	13:36:30	4086	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:30	4086	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863578\":[1863578,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863578
2023-10-13	13:36:30	4086	[DEBUG]	Checking category
2023-10-13	13:36:30	4086	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:30	4086	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863578
2023-10-13	13:36:30	4086	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:30	4086	[DEBUG]	Executed store
2023-10-13	13:36:30	4086	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863578','7404')
2023-10-13	13:36:30	4086	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:30	4086	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863578 AND `virtuemart_category_id` NOT IN (7404)
2023-10-13	13:36:30	4086	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:30	4086	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863578
2023-10-13	13:36:30	4087	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:30	4087	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:30	4087	[DEBUG]	Use field value for field taille
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:30	4087	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:30	4087	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:30	4087	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:30	4087	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:30	4087	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:30	4087	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:30	4087	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:30	4087	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:30	4087	[DEBUG]	Use field value for field published
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:30	4087	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field override
2023-10-13	13:36:30	4087	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:30	4087	[DEBUG]	Use field value for field slug
2023-10-13	13:36:30	4087	[DEBUG]	Process line 4087
2023-10-13	13:36:30	4087	[DEBUG]	Load a row
2023-10-13	13:36:30	4087	[DEBUG]	Processing item: 4026495693103
2023-10-13	13:36:30	4087	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:30	4087	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:30	4087	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6217_1'
2023-10-13	13:36:30	4087	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:30	4087	[DEBUG]	Processing product tax
2023-10-13	13:36:30	4087	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:30	4087	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:30	4087	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:30	4087	[DEBUG]	Query for Product
2023-10-13	13:36:30	4087	[DEBUG]	Executed store
2023-10-13	13:36:30	4087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863578','4026495693103','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:30	4087	[DEBUG]	No parent found
2023-10-13	13:36:30	4087	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863578 AND customfield_value = 'stockable'
2023-10-13	13:36:30	4087	[DEBUG]	Check product language entry
2023-10-13	13:36:30	4087	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863579
2023-10-13	13:36:30	4087	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:30	4087	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495693103' AND `virtuemart_product_id` != 1863579
2023-10-13	13:36:30	4087	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:30	4087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863579, '4026495693103')
2023-10-13	13:36:30	4087	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:30	4087	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-kid-plus-12x1-75-47-203-hs413-puncture-guard-wire-noir-unitaire' AND `virtuemart_product_id` != 1863579
2023-10-13	13:36:30	4087	[DEBUG]	Query for ProductLang
2023-10-13	13:36:30	4087	[DEBUG]	Executed store
2023-10-13	13:36:30	4087	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Schwalbe KID PLUS 12X1.75 47-203 HS413 PUNCTURE GUARD, WIRE  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-kid-plus-12x1-75-47-203-hs413-puncture-guard-wire-noir-unitaire' WHERE `virtuemart_product_id` = '1863579'
2023-10-13	13:36:30	4087	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32060_pneu_schwalbe_kid_plus_12x1_75_47-203_hs413_puncture_guard,_wire_.jpg
2023-10-13	13:36:30	4087	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:30	4087	[DEBUG]	Process image file
2023-10-13	13:36:30	4087	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:30	4087	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:30	4087	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32060_pneu_schwalbe_kid_plus_12x1_75_47-203_hs413_puncture_guard,_wire_.jpg
2023-10-13	13:36:30	4087	[DEBUG]	Full name target: bcprisme/32060_pneu_schwalbe_kid_plus_12x1_75_47-203_hs413_puncture_guard,_wire_.jpg
2023-10-13	13:36:31	4087	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:31	4087	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32060_pneu_schwalbe_kid_plus_12x1_75_47-203_hs413_puncture_guard,_wire_.jpg'
2023-10-13	13:36:31	4087	[DEBUG]	Query for Media
2023-10-13	13:36:31	4087	[DEBUG]	Executed store
2023-10-13	13:36:31	4087	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32060_pneu_schwalbe_kid_plus_12x1_75_47-203_hs413_puncture_guard,_wire_.jpg',`file_url_thumb`='bcprisme/32060_pneu_schwalbe_kid_plus_12x1_75_47-203_hs413_puncture_guard,_wire_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16010'
2023-10-13	13:36:31	4087	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:31	4087	[DEBUG]	Executed store
2023-10-13	13:36:31	4087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863579','16010','1')
2023-10-13	13:36:31	4087	[DEBUG]	Store product image relation
2023-10-13	13:36:31	4087	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:31	4087	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863579 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:31	4087	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:31	4087	[DEBUG]	Executed store
2023-10-13	13:36:31	4087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863579','0','21.2627669452182','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:31	4087	[DEBUG]	Checking manufacturer
2023-10-13	13:36:31	4087	[DEBUG]	Load a row
2023-10-13	13:36:31	4087	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:31	4087	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:31	4087	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:31	4087	[DEBUG]	Executed store
2023-10-13	13:36:31	4087	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:31	4087	[DEBUG]	Manufacturer exists
2023-10-13	13:36:31	4087	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:36:31	4087	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:31	4087	[DEBUG]	Executed store
2023-10-13	13:36:31	4087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863579','25')
2023-10-13	13:36:31	4087	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:31	4087	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:31	4087	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863579 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:31	4087	[DEBUG]	Store custom available field
2023-10-13	13:36:31	4087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863579,3,'',1)
2023-10-13	13:36:31	4087	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:31	4087	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:31	4087	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863579 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:31	4087	[DEBUG]	Store custom available field
2023-10-13	13:36:31	4087	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863579,6,'Unitaire',3)
2023-10-13	13:36:31	4087	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:31	4087	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:31	4087	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863578
2023-10-13	13:36:31	4087	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:31	4087	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863578\":[1863578,8,1,\"choisir la taille\"],\"1863579\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863578
2023-10-13	13:36:31	4087	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:31	4087	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863579
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:31	4088	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field taille
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:31	4088	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:31	4088	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:31	4088	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:31	4088	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:31	4088	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:31	4088	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field published
2023-10-13	13:36:31	4088	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:31	4088	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field override
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:31	4088	[DEBUG]	Use field value for field slug
2023-10-13	13:36:31	4088	[DEBUG]	Process line 4088
2023-10-13	13:36:31	4088	[DEBUG]	Load a row
2023-10-13	13:36:31	4088	[DEBUG]	Processing item: A_7484_84
2023-10-13	13:36:31	4088	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:31	4088	[DEBUG]	Processing product tax
2023-10-13	13:36:31	4088	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:31	4088	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:31	4088	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:31	4088	[DEBUG]	Query for Product
2023-10-13	13:36:31	4088	[DEBUG]	Executed store
2023-10-13	13:36:31	4088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7484_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:31	4088	[DEBUG]	Check product language entry
2023-10-13	13:36:31	4088	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863580
2023-10-13	13:36:31	4088	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:31	4088	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7484_84' AND `virtuemart_product_id` != 1863580
2023-10-13	13:36:31	4088	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:31	4088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863580, 'A_7484_84')
2023-10-13	13:36:31	4088	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:31	4088	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-road-cruiser-12x2-00-rigide-black-black' AND `virtuemart_product_id` != 1863580
2023-10-13	13:36:31	4088	[DEBUG]	Query for ProductLang
2023-10-13	13:36:31	4088	[DEBUG]	Executed store
2023-10-13	13:36:31	4088	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.70921',`product_name`='SCHWALBE Pneu Road Cruiser 12x2.00 rigide black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-road-cruiser-12x2-00-rigide-black-black' WHERE `virtuemart_product_id` = '1863580'
2023-10-13	13:36:31	4088	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_70925.jpg
2023-10-13	13:36:31	4088	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:31	4088	[DEBUG]	Process image file
2023-10-13	13:36:31	4088	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:31	4088	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:31	4088	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_70925.jpg
2023-10-13	13:36:31	4088	[DEBUG]	Full name target: bcprisme/24_70925.jpg
2023-10-13	13:36:32	4088	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:32	4088	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_70925.jpg'
2023-10-13	13:36:32	4088	[DEBUG]	Query for Media
2023-10-13	13:36:32	4088	[DEBUG]	Executed store
2023-10-13	13:36:32	4088	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_70925.jpg',`file_url_thumb`='bcprisme/24_70925.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '222951'
2023-10-13	13:36:32	4088	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:32	4088	[DEBUG]	Executed store
2023-10-13	13:36:32	4088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863580','222951','1')
2023-10-13	13:36:32	4088	[DEBUG]	Store product image relation
2023-10-13	13:36:32	4088	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:32	4088	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863580 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:32	4088	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:32	4088	[DEBUG]	Executed store
2023-10-13	13:36:32	4088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863580','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:32	4088	[DEBUG]	Checking manufacturer
2023-10-13	13:36:32	4088	[DEBUG]	Load a row
2023-10-13	13:36:32	4088	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:32	4088	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:36:32	4088	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:32	4088	[DEBUG]	Executed store
2023-10-13	13:36:32	4088	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:36:32	4088	[DEBUG]	Manufacturer exists
2023-10-13	13:36:32	4088	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:36:32	4088	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:32	4088	[DEBUG]	Executed store
2023-10-13	13:36:32	4088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863580','24')
2023-10-13	13:36:32	4088	[DEBUG]	Find the custom field ID
2023-10-13	13:36:32	4088	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:32	4088	[DEBUG]	No custom field ID found
2023-10-13	13:36:32	4088	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:32	4088	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:36:32	4088	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863580 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:32	4088	[DEBUG]	Store custom available field
2023-10-13	13:36:32	4088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863580,3,'0',1)
2023-10-13	13:36:32	4088	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:32	4088	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:32	4088	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863580 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:32	4088	[DEBUG]	Store custom available field
2023-10-13	13:36:32	4088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863580,6,'choisir la taille',3)
2023-10-13	13:36:32	4088	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:32	4088	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:32	4088	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:32	4088	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:32	4088	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863580 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:32	4088	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:32	4088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863580,8,1)
2023-10-13	13:36:32	4088	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:32	4088	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863580\":[1863580,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863580
2023-10-13	13:36:32	4088	[DEBUG]	Checking category
2023-10-13	13:36:32	4088	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:32	4088	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863580
2023-10-13	13:36:32	4088	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:32	4088	[DEBUG]	Executed store
2023-10-13	13:36:32	4088	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863580','7404')
2023-10-13	13:36:32	4088	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:32	4088	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863580 AND `virtuemart_category_id` NOT IN (7404)
2023-10-13	13:36:32	4088	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:32	4088	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863580
2023-10-13	13:36:32	4089	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:32	4089	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:32	4089	[DEBUG]	Use field value for field taille
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:32	4089	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:32	4089	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:32	4089	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:32	4089	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:32	4089	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:32	4089	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:32	4089	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:32	4089	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:32	4089	[DEBUG]	Use field value for field published
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:32	4089	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field override
2023-10-13	13:36:32	4089	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:32	4089	[DEBUG]	Use field value for field slug
2023-10-13	13:36:32	4089	[DEBUG]	Process line 4089
2023-10-13	13:36:32	4089	[DEBUG]	Load a row
2023-10-13	13:36:32	4089	[DEBUG]	Processing item: 4026495866651
2023-10-13	13:36:32	4089	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:32	4089	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:32	4089	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7484_84'
2023-10-13	13:36:32	4089	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:32	4089	[DEBUG]	Processing product tax
2023-10-13	13:36:32	4089	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:32	4089	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:32	4089	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:32	4089	[DEBUG]	Query for Product
2023-10-13	13:36:32	4089	[DEBUG]	Executed store
2023-10-13	13:36:32	4089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863580','4026495866651','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:32	4089	[DEBUG]	No parent found
2023-10-13	13:36:32	4089	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863580 AND customfield_value = 'stockable'
2023-10-13	13:36:32	4089	[DEBUG]	Check product language entry
2023-10-13	13:36:32	4089	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863581
2023-10-13	13:36:32	4089	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:32	4089	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495866651' AND `virtuemart_product_id` != 1863581
2023-10-13	13:36:32	4089	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:32	4089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863581, '4026495866651')
2023-10-13	13:36:32	4089	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:32	4089	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-road-cruiser-12x2-00-rigide-black-black-unitaire' AND `virtuemart_product_id` != 1863581
2023-10-13	13:36:32	4089	[DEBUG]	Query for ProductLang
2023-10-13	13:36:32	4089	[DEBUG]	Executed store
2023-10-13	13:36:32	4089	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Road Cruiser 12x2.00 rigide black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-road-cruiser-12x2-00-rigide-black-black-unitaire' WHERE `virtuemart_product_id` = '1863581'
2023-10-13	13:36:32	4089	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_70925.jpg
2023-10-13	13:36:32	4089	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:32	4089	[DEBUG]	Process image file
2023-10-13	13:36:32	4089	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:32	4089	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:32	4089	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_70925.jpg
2023-10-13	13:36:32	4089	[DEBUG]	Full name target: bcprisme/24_70925.jpg
2023-10-13	13:36:33	4089	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:33	4089	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_70925.jpg'
2023-10-13	13:36:33	4089	[DEBUG]	Query for Media
2023-10-13	13:36:33	4089	[DEBUG]	Executed store
2023-10-13	13:36:33	4089	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_70925.jpg',`file_url_thumb`='bcprisme/24_70925.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '222951'
2023-10-13	13:36:33	4089	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:33	4089	[DEBUG]	Executed store
2023-10-13	13:36:33	4089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863581','222951','1')
2023-10-13	13:36:33	4089	[DEBUG]	Store product image relation
2023-10-13	13:36:33	4089	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:33	4089	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863581 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:33	4089	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:33	4089	[DEBUG]	Executed store
2023-10-13	13:36:33	4089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863581','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:33	4089	[DEBUG]	Checking manufacturer
2023-10-13	13:36:33	4089	[DEBUG]	Load a row
2023-10-13	13:36:33	4089	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:33	4089	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:36:33	4089	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:33	4089	[DEBUG]	Executed store
2023-10-13	13:36:33	4089	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:36:33	4089	[DEBUG]	Manufacturer exists
2023-10-13	13:36:33	4089	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:36:33	4089	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:33	4089	[DEBUG]	Executed store
2023-10-13	13:36:33	4089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863581','24')
2023-10-13	13:36:33	4089	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:33	4089	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:33	4089	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863581 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:33	4089	[DEBUG]	Store custom available field
2023-10-13	13:36:33	4089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863581,3,'',1)
2023-10-13	13:36:33	4089	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:33	4089	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:33	4089	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863581 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:33	4089	[DEBUG]	Store custom available field
2023-10-13	13:36:33	4089	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863581,6,'Unitaire',3)
2023-10-13	13:36:33	4089	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:33	4089	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:33	4089	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863580
2023-10-13	13:36:33	4089	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:33	4089	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863580\":[1863580,8,1,\"choisir la taille\"],\"1863581\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863580
2023-10-13	13:36:33	4089	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:33	4089	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863581
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:33	4090	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field taille
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:33	4090	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:33	4090	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:33	4090	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:33	4090	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:33	4090	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:33	4090	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field published
2023-10-13	13:36:33	4090	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:33	4090	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field override
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:33	4090	[DEBUG]	Use field value for field slug
2023-10-13	13:36:33	4090	[DEBUG]	Process line 4090
2023-10-13	13:36:33	4090	[DEBUG]	Load a row
2023-10-13	13:36:33	4090	[DEBUG]	Processing item: A_7742_1
2023-10-13	13:36:33	4090	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:33	4090	[DEBUG]	Processing product tax
2023-10-13	13:36:33	4090	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:33	4090	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:33	4090	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:33	4090	[DEBUG]	Query for Product
2023-10-13	13:36:33	4090	[DEBUG]	Executed store
2023-10-13	13:36:33	4090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7742_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:33	4090	[DEBUG]	Check product language entry
2023-10-13	13:36:33	4090	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863582
2023-10-13	13:36:33	4090	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:33	4090	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7742_1' AND `virtuemart_product_id` != 1863582
2023-10-13	13:36:33	4090	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:33	4090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863582, 'A_7742_1')
2023-10-13	13:36:33	4090	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:33	4090	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fortune-pneus-12-x-1-2-x-2-1-4-bmx-deestone-noir' AND `virtuemart_product_id` != 1863582
2023-10-13	13:36:33	4090	[DEBUG]	Query for ProductLang
2023-10-13	13:36:33	4090	[DEBUG]	Executed store
2023-10-13	13:36:33	4090	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 20120',`product_name`='FORTUNE PNEUS 12 x 1/2 x 2 1/4 BMX  Deestone / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fortune-pneus-12-x-1-2-x-2-1-4-bmx-deestone-noir' WHERE `virtuemart_product_id` = '1863582'
2023-10-13	13:36:33	4090	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36033_pneus_12_x_1-2_x_2_1-4_bmx__deestone.png
2023-10-13	13:36:33	4090	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000000e3
2023-10-13	13:36:33	4090	[DEBUG]	Process image file
2023-10-13	13:36:33	4090	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000000e3
2023-10-13	13:36:33	4090	[DEBUG]	Mime type found: image/png
2023-10-13	13:36:33	4090	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36033_pneus_12_x_1-2_x_2_1-4_bmx__deestone.png
2023-10-13	13:36:33	4090	[DEBUG]	Full name target: bcprisme/36033_pneus_12_x_1-2_x_2_1-4_bmx__deestone.png
2023-10-13	13:36:34	4090	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:34	4090	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36033_pneus_12_x_1-2_x_2_1-4_bmx__deestone.png'
2023-10-13	13:36:34	4090	[DEBUG]	Query for Media
2023-10-13	13:36:34	4090	[DEBUG]	Executed store
2023-10-13	13:36:34	4090	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36033_pneus_12_x_1-2_x_2_1-4_bmx__deestone.png',`file_url_thumb`='bcprisme/36033_pneus_12_x_1-2_x_2_1-4_bmx__deestone.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438205'
2023-10-13	13:36:34	4090	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:34	4090	[DEBUG]	Executed store
2023-10-13	13:36:34	4090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863582','438205','1')
2023-10-13	13:36:34	4090	[DEBUG]	Store product image relation
2023-10-13	13:36:34	4090	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:34	4090	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863582 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:34	4090	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:34	4090	[DEBUG]	Executed store
2023-10-13	13:36:34	4090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863582','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:34	4090	[DEBUG]	Checking manufacturer
2023-10-13	13:36:34	4090	[DEBUG]	Load a row
2023-10-13	13:36:34	4090	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:34	4090	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:36:34	4090	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:34	4090	[DEBUG]	Executed store
2023-10-13	13:36:34	4090	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21846525543' WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:36:34	4090	[DEBUG]	Manufacturer exists
2023-10-13	13:36:34	4090	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 130
2023-10-13	13:36:34	4090	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:34	4090	[DEBUG]	Executed store
2023-10-13	13:36:34	4090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863582','130')
2023-10-13	13:36:34	4090	[DEBUG]	Find the custom field ID
2023-10-13	13:36:34	4090	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:34	4090	[DEBUG]	No custom field ID found
2023-10-13	13:36:34	4090	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:34	4090	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:36:34	4090	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863582 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:34	4090	[DEBUG]	Store custom available field
2023-10-13	13:36:34	4090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863582,3,'0',1)
2023-10-13	13:36:34	4090	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:34	4090	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:34	4090	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863582 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:34	4090	[DEBUG]	Store custom available field
2023-10-13	13:36:34	4090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863582,6,'choisir la taille',3)
2023-10-13	13:36:34	4090	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:34	4090	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:34	4090	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:34	4090	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:34	4090	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863582 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:34	4090	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:34	4090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863582,8,1)
2023-10-13	13:36:34	4090	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:34	4090	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863582\":[1863582,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863582
2023-10-13	13:36:34	4090	[DEBUG]	Checking category
2023-10-13	13:36:34	4090	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:34	4090	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863582
2023-10-13	13:36:34	4090	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:34	4090	[DEBUG]	Executed store
2023-10-13	13:36:34	4090	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863582','7404')
2023-10-13	13:36:34	4090	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:34	4090	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863582 AND `virtuemart_category_id` NOT IN (7404)
2023-10-13	13:36:34	4090	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:34	4090	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863582
2023-10-13	13:36:34	4091	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:34	4091	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:34	4091	[DEBUG]	Use field value for field taille
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:34	4091	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:34	4091	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:34	4091	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:34	4091	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:34	4091	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:34	4091	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:34	4091	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:34	4091	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:34	4091	[DEBUG]	Use field value for field published
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:34	4091	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field override
2023-10-13	13:36:34	4091	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:34	4091	[DEBUG]	Use field value for field slug
2023-10-13	13:36:34	4091	[DEBUG]	Process line 4091
2023-10-13	13:36:34	4091	[DEBUG]	Load a row
2023-10-13	13:36:34	4091	[DEBUG]	Processing item: 1000000135794
2023-10-13	13:36:34	4091	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:34	4091	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:34	4091	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7742_1'
2023-10-13	13:36:34	4091	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:34	4091	[DEBUG]	Processing product tax
2023-10-13	13:36:34	4091	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:34	4091	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:34	4091	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:34	4091	[DEBUG]	Query for Product
2023-10-13	13:36:34	4091	[DEBUG]	Executed store
2023-10-13	13:36:34	4091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863582','1000000135794','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:34	4091	[DEBUG]	No parent found
2023-10-13	13:36:34	4091	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863582 AND customfield_value = 'stockable'
2023-10-13	13:36:34	4091	[DEBUG]	Check product language entry
2023-10-13	13:36:34	4091	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863583
2023-10-13	13:36:34	4091	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:34	4091	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000135794' AND `virtuemart_product_id` != 1863583
2023-10-13	13:36:34	4091	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:34	4091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863583, '1000000135794')
2023-10-13	13:36:34	4091	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:34	4091	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fortune-pneus-12-x-1-2-x-2-1-4-bmx-deestone-noir-unitaire' AND `virtuemart_product_id` != 1863583
2023-10-13	13:36:34	4091	[DEBUG]	Query for ProductLang
2023-10-13	13:36:34	4091	[DEBUG]	Executed store
2023-10-13	13:36:34	4091	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='FORTUNE PNEUS 12 x 1/2 x 2 1/4 BMX  Deestone / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fortune-pneus-12-x-1-2-x-2-1-4-bmx-deestone-noir-unitaire' WHERE `virtuemart_product_id` = '1863583'
2023-10-13	13:36:34	4091	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36033_pneus_12_x_1-2_x_2_1-4_bmx__deestone.png
2023-10-13	13:36:34	4091	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000000e3
2023-10-13	13:36:34	4091	[DEBUG]	Process image file
2023-10-13	13:36:34	4091	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000000e3
2023-10-13	13:36:34	4091	[DEBUG]	Mime type found: image/png
2023-10-13	13:36:34	4091	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36033_pneus_12_x_1-2_x_2_1-4_bmx__deestone.png
2023-10-13	13:36:34	4091	[DEBUG]	Full name target: bcprisme/36033_pneus_12_x_1-2_x_2_1-4_bmx__deestone.png
2023-10-13	13:36:35	4091	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:35	4091	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36033_pneus_12_x_1-2_x_2_1-4_bmx__deestone.png'
2023-10-13	13:36:35	4091	[DEBUG]	Query for Media
2023-10-13	13:36:35	4091	[DEBUG]	Executed store
2023-10-13	13:36:35	4091	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36033_pneus_12_x_1-2_x_2_1-4_bmx__deestone.png',`file_url_thumb`='bcprisme/36033_pneus_12_x_1-2_x_2_1-4_bmx__deestone.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438205'
2023-10-13	13:36:35	4091	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:35	4091	[DEBUG]	Executed store
2023-10-13	13:36:35	4091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863583','438205','1')
2023-10-13	13:36:35	4091	[DEBUG]	Store product image relation
2023-10-13	13:36:35	4091	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:35	4091	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863583 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:35	4091	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:35	4091	[DEBUG]	Executed store
2023-10-13	13:36:35	4091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863583','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:35	4091	[DEBUG]	Checking manufacturer
2023-10-13	13:36:35	4091	[DEBUG]	Load a row
2023-10-13	13:36:35	4091	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:35	4091	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:36:35	4091	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:35	4091	[DEBUG]	Executed store
2023-10-13	13:36:35	4091	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21846525543' WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:36:35	4091	[DEBUG]	Manufacturer exists
2023-10-13	13:36:35	4091	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 130
2023-10-13	13:36:35	4091	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:35	4091	[DEBUG]	Executed store
2023-10-13	13:36:35	4091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863583','130')
2023-10-13	13:36:35	4091	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:35	4091	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:35	4091	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863583 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:35	4091	[DEBUG]	Store custom available field
2023-10-13	13:36:35	4091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863583,3,'',1)
2023-10-13	13:36:35	4091	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:35	4091	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:35	4091	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863583 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:35	4091	[DEBUG]	Store custom available field
2023-10-13	13:36:35	4091	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863583,6,'Unitaire',3)
2023-10-13	13:36:35	4091	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:35	4091	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:35	4091	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863582
2023-10-13	13:36:35	4091	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:35	4091	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863582\":[1863582,8,1,\"choisir la taille\"],\"1863583\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863582
2023-10-13	13:36:35	4091	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:35	4091	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863583
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:35	4092	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field taille
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:35	4092	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:35	4092	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:35	4092	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:35	4092	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:35	4092	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:35	4092	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field published
2023-10-13	13:36:35	4092	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:35	4092	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field override
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:35	4092	[DEBUG]	Use field value for field slug
2023-10-13	13:36:35	4092	[DEBUG]	Process line 4092
2023-10-13	13:36:35	4092	[DEBUG]	Load a row
2023-10-13	13:36:35	4092	[DEBUG]	Processing item: A_5284_1
2023-10-13	13:36:35	4092	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:35	4092	[DEBUG]	Processing product tax
2023-10-13	13:36:35	4092	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:35	4092	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:35	4092	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:35	4092	[DEBUG]	Query for Product
2023-10-13	13:36:35	4092	[DEBUG]	Executed store
2023-10-13	13:36:35	4092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5284_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:35	4092	[DEBUG]	Check product language entry
2023-10-13	13:36:35	4092	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863584
2023-10-13	13:36:35	4092	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:35	4092	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5284_1' AND `virtuemart_product_id` != 1863584
2023-10-13	13:36:35	4092	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:35	4092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863584, 'A_5284_1')
2023-10-13	13:36:35	4092	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:35	4092	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fortune-pneus-14x2-125-bmx-254-57-noir' AND `virtuemart_product_id` != 1863584
2023-10-13	13:36:35	4092	[DEBUG]	Query for ProductLang
2023-10-13	13:36:35	4092	[DEBUG]	Executed store
2023-10-13	13:36:35	4092	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 57.SW11',`product_name`='FORTUNE PNEUS 14X2.125 BMX 254-57 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fortune-pneus-14x2-125-bmx-254-57-noir' WHERE `virtuemart_product_id` = '1863584'
2023-10-13	13:36:35	4092	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29758_pneus_14x2_125_bmx_254-57.jpg
2023-10-13	13:36:35	4092	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:35	4092	[DEBUG]	Process image file
2023-10-13	13:36:35	4092	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:35	4092	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:35	4092	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29758_pneus_14x2_125_bmx_254-57.jpg
2023-10-13	13:36:35	4092	[DEBUG]	Full name target: bcprisme/29758_pneus_14x2_125_bmx_254-57.jpg
2023-10-13	13:36:36	4092	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:36	4092	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29758_pneus_14x2_125_bmx_254-57.jpg'
2023-10-13	13:36:36	4092	[DEBUG]	Query for Media
2023-10-13	13:36:36	4092	[DEBUG]	Executed store
2023-10-13	13:36:36	4092	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29758_pneus_14x2_125_bmx_254-57.jpg',`file_url_thumb`='bcprisme/29758_pneus_14x2_125_bmx_254-57.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16011'
2023-10-13	13:36:36	4092	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:36	4092	[DEBUG]	Executed store
2023-10-13	13:36:36	4092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863584','16011','1')
2023-10-13	13:36:36	4092	[DEBUG]	Store product image relation
2023-10-13	13:36:36	4092	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:36	4092	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863584 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:36	4092	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:36	4092	[DEBUG]	Executed store
2023-10-13	13:36:36	4092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863584','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:36	4092	[DEBUG]	Checking manufacturer
2023-10-13	13:36:36	4092	[DEBUG]	Load a row
2023-10-13	13:36:36	4092	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:36	4092	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:36:36	4092	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:36	4092	[DEBUG]	Executed store
2023-10-13	13:36:36	4092	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21846525543' WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:36:36	4092	[DEBUG]	Manufacturer exists
2023-10-13	13:36:36	4092	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 130
2023-10-13	13:36:36	4092	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:36	4092	[DEBUG]	Executed store
2023-10-13	13:36:36	4092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863584','130')
2023-10-13	13:36:36	4092	[DEBUG]	Find the custom field ID
2023-10-13	13:36:36	4092	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:36	4092	[DEBUG]	No custom field ID found
2023-10-13	13:36:36	4092	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:36	4092	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:36:36	4092	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863584 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:36	4092	[DEBUG]	Store custom available field
2023-10-13	13:36:36	4092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863584,3,'0',1)
2023-10-13	13:36:36	4092	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:36	4092	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:36	4092	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863584 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:36	4092	[DEBUG]	Store custom available field
2023-10-13	13:36:36	4092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863584,6,'choisir la taille',3)
2023-10-13	13:36:36	4092	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:36	4092	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:36	4092	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:36	4092	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:36	4092	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863584 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:36	4092	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:36	4092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863584,8,1)
2023-10-13	13:36:36	4092	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:36	4092	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863584\":[1863584,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863584
2023-10-13	13:36:36	4092	[DEBUG]	Checking category
2023-10-13	13:36:36	4092	[DEBUG]	Check if category path exists: PNEUS 14
2023-10-13	13:36:36	4092	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS 14' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:36:36	4092	[DEBUG]	Query for Category
2023-10-13	13:36:36	4092	[DEBUG]	Executed store
2023-10-13	13:36:36	4092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','9','0','1','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:36	4092	[DEBUG]	Category publish 1
2023-10-13	13:36:36	4092	[DEBUG]	Check the category language
2023-10-13	13:36:36	4092	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7405
2023-10-13	13:36:36	4092	[DEBUG]	Check the category slug
2023-10-13	13:36:36	4092	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-14' AND `virtuemart_category_id` != 7405
2023-10-13	13:36:36	4092	[DEBUG]	Check the category slug
2023-10-13	13:36:36	4092	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-14' AND `virtuemart_category_id` != 7405
2023-10-13	13:36:36	4092	[DEBUG]	Add the category language entry
2023-10-13	13:36:36	4092	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7405, 'pneus-14')
2023-10-13	13:36:36	4092	[DEBUG]	Query for CategoryLang
2023-10-13	13:36:36	4092	[DEBUG]	Executed store
2023-10-13	13:36:36	4092	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PNEUS 14',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pneus-14' WHERE `virtuemart_category_id` = '7405'
2023-10-13	13:36:36	4092	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:36:36	4092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7405','0')
2023-10-13	13:36:36	4092	[DEBUG]	Update has field for parent category
2023-10-13	13:36:36	4092	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:36:36	4092	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:36	4092	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863584
2023-10-13	13:36:36	4092	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:36	4092	[DEBUG]	Executed store
2023-10-13	13:36:36	4092	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863584','7405')
2023-10-13	13:36:36	4092	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:36	4092	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863584 AND `virtuemart_category_id` NOT IN (7405)
2023-10-13	13:36:36	4092	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:36	4092	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863584
2023-10-13	13:36:36	4093	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:36	4093	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:36	4093	[DEBUG]	Use field value for field taille
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:36	4093	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:36	4093	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:36	4093	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:36	4093	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:36	4093	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:36	4093	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:36	4093	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:36	4093	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:36	4093	[DEBUG]	Use field value for field published
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:36	4093	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field override
2023-10-13	13:36:36	4093	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:36	4093	[DEBUG]	Use field value for field slug
2023-10-13	13:36:36	4093	[DEBUG]	Process line 4093
2023-10-13	13:36:36	4093	[DEBUG]	Load a row
2023-10-13	13:36:36	4093	[DEBUG]	Processing item: 1000000080919
2023-10-13	13:36:36	4093	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:36	4093	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:36	4093	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5284_1'
2023-10-13	13:36:36	4093	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:36	4093	[DEBUG]	Processing product tax
2023-10-13	13:36:36	4093	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:36	4093	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:36	4093	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:36	4093	[DEBUG]	Query for Product
2023-10-13	13:36:36	4093	[DEBUG]	Executed store
2023-10-13	13:36:36	4093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863584','1000000080919','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:36	4093	[DEBUG]	No parent found
2023-10-13	13:36:36	4093	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863584 AND customfield_value = 'stockable'
2023-10-13	13:36:36	4093	[DEBUG]	Check product language entry
2023-10-13	13:36:36	4093	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863585
2023-10-13	13:36:36	4093	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:36	4093	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000080919' AND `virtuemart_product_id` != 1863585
2023-10-13	13:36:36	4093	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:36	4093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863585, '1000000080919')
2023-10-13	13:36:36	4093	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:36	4093	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fortune-pneus-14x2-125-bmx-254-57-noir-unitaire' AND `virtuemart_product_id` != 1863585
2023-10-13	13:36:36	4093	[DEBUG]	Query for ProductLang
2023-10-13	13:36:36	4093	[DEBUG]	Executed store
2023-10-13	13:36:36	4093	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='FORTUNE PNEUS 14X2.125 BMX 254-57 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fortune-pneus-14x2-125-bmx-254-57-noir-unitaire' WHERE `virtuemart_product_id` = '1863585'
2023-10-13	13:36:36	4093	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29758_pneus_14x2_125_bmx_254-57.jpg
2023-10-13	13:36:36	4093	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:36	4093	[DEBUG]	Process image file
2023-10-13	13:36:36	4093	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:36	4093	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:36	4093	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29758_pneus_14x2_125_bmx_254-57.jpg
2023-10-13	13:36:36	4093	[DEBUG]	Full name target: bcprisme/29758_pneus_14x2_125_bmx_254-57.jpg
2023-10-13	13:36:37	4093	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:37	4093	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29758_pneus_14x2_125_bmx_254-57.jpg'
2023-10-13	13:36:37	4093	[DEBUG]	Query for Media
2023-10-13	13:36:37	4093	[DEBUG]	Executed store
2023-10-13	13:36:37	4093	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29758_pneus_14x2_125_bmx_254-57.jpg',`file_url_thumb`='bcprisme/29758_pneus_14x2_125_bmx_254-57.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16011'
2023-10-13	13:36:37	4093	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:37	4093	[DEBUG]	Executed store
2023-10-13	13:36:37	4093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863585','16011','1')
2023-10-13	13:36:37	4093	[DEBUG]	Store product image relation
2023-10-13	13:36:37	4093	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:37	4093	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863585 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:37	4093	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:37	4093	[DEBUG]	Executed store
2023-10-13	13:36:37	4093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863585','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:37	4093	[DEBUG]	Checking manufacturer
2023-10-13	13:36:37	4093	[DEBUG]	Load a row
2023-10-13	13:36:37	4093	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:37	4093	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:36:37	4093	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:37	4093	[DEBUG]	Executed store
2023-10-13	13:36:37	4093	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21846525543' WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:36:37	4093	[DEBUG]	Manufacturer exists
2023-10-13	13:36:37	4093	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 130
2023-10-13	13:36:37	4093	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:37	4093	[DEBUG]	Executed store
2023-10-13	13:36:37	4093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863585','130')
2023-10-13	13:36:37	4093	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:37	4093	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:37	4093	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863585 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:37	4093	[DEBUG]	Store custom available field
2023-10-13	13:36:37	4093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863585,3,'',1)
2023-10-13	13:36:37	4093	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:37	4093	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:37	4093	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863585 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:37	4093	[DEBUG]	Store custom available field
2023-10-13	13:36:37	4093	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863585,6,'Unitaire',3)
2023-10-13	13:36:37	4093	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:37	4093	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:37	4093	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863584
2023-10-13	13:36:37	4093	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:37	4093	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863584\":[1863584,8,1,\"choisir la taille\"],\"1863585\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863584
2023-10-13	13:36:37	4093	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:37	4093	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863585
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:37	4094	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field taille
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:37	4094	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:37	4094	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:37	4094	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:37	4094	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:37	4094	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:37	4094	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field published
2023-10-13	13:36:37	4094	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:37	4094	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field override
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:37	4094	[DEBUG]	Use field value for field slug
2023-10-13	13:36:37	4094	[DEBUG]	Process line 4094
2023-10-13	13:36:37	4094	[DEBUG]	Load a row
2023-10-13	13:36:37	4094	[DEBUG]	Processing item: A_5285_1
2023-10-13	13:36:37	4094	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:37	4094	[DEBUG]	Processing product tax
2023-10-13	13:36:37	4094	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:37	4094	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:37	4094	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:37	4094	[DEBUG]	Query for Product
2023-10-13	13:36:37	4094	[DEBUG]	Executed store
2023-10-13	13:36:37	4094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5285_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:37	4094	[DEBUG]	Check product language entry
2023-10-13	13:36:37	4094	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863586
2023-10-13	13:36:37	4094	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:37	4094	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5285_1' AND `virtuemart_product_id` != 1863586
2023-10-13	13:36:37	4094	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:37	4094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863586, 'A_5285_1')
2023-10-13	13:36:37	4094	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:37	4094	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'kenda-pneus-14x1-75-kenda-strasse-noir' AND `virtuemart_product_id` != 1863586
2023-10-13	13:36:37	4094	[DEBUG]	Query for ProductLang
2023-10-13	13:36:37	4094	[DEBUG]	Executed store
2023-10-13	13:36:37	4094	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 57.C521408',`product_name`='KENDA PNEUS 14X1.75 KENDA STRASSE / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='kenda-pneus-14x1-75-kenda-strasse-noir' WHERE `virtuemart_product_id` = '1863586'
2023-10-13	13:36:37	4094	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29759_pneus_14x1_75_kenda_strasse.jpg
2023-10-13	13:36:37	4094	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:37	4094	[DEBUG]	Process image file
2023-10-13	13:36:37	4094	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:37	4094	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:37	4094	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29759_pneus_14x1_75_kenda_strasse.jpg
2023-10-13	13:36:37	4094	[DEBUG]	Full name target: bcprisme/29759_pneus_14x1_75_kenda_strasse.jpg
2023-10-13	13:36:39	4094	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:39	4094	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29759_pneus_14x1_75_kenda_strasse.jpg'
2023-10-13	13:36:39	4094	[DEBUG]	Query for Media
2023-10-13	13:36:39	4094	[DEBUG]	Executed store
2023-10-13	13:36:39	4094	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29759_pneus_14x1_75_kenda_strasse.jpg',`file_url_thumb`='bcprisme/29759_pneus_14x1_75_kenda_strasse.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16012'
2023-10-13	13:36:39	4094	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:39	4094	[DEBUG]	Executed store
2023-10-13	13:36:39	4094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863586','16012','1')
2023-10-13	13:36:39	4094	[DEBUG]	Store product image relation
2023-10-13	13:36:39	4094	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:39	4094	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863586 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:39	4094	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:39	4094	[DEBUG]	Executed store
2023-10-13	13:36:39	4094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863586','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:39	4094	[DEBUG]	Checking manufacturer
2023-10-13	13:36:39	4094	[DEBUG]	Load a row
2023-10-13	13:36:39	4094	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:39	4094	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:39	4094	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:39	4094	[DEBUG]	Executed store
2023-10-13	13:36:39	4094	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-47269901588' WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:39	4094	[DEBUG]	Manufacturer exists
2023-10-13	13:36:39	4094	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 131
2023-10-13	13:36:39	4094	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:39	4094	[DEBUG]	Executed store
2023-10-13	13:36:39	4094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863586','131')
2023-10-13	13:36:39	4094	[DEBUG]	Find the custom field ID
2023-10-13	13:36:39	4094	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:39	4094	[DEBUG]	No custom field ID found
2023-10-13	13:36:39	4094	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:39	4094	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:36:39	4094	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863586 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:39	4094	[DEBUG]	Store custom available field
2023-10-13	13:36:39	4094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863586,3,'0',1)
2023-10-13	13:36:39	4094	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:39	4094	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:39	4094	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863586 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:39	4094	[DEBUG]	Store custom available field
2023-10-13	13:36:39	4094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863586,6,'choisir la taille',3)
2023-10-13	13:36:39	4094	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:39	4094	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:39	4094	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:39	4094	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:39	4094	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863586 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:39	4094	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:39	4094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863586,8,1)
2023-10-13	13:36:39	4094	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:39	4094	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863586\":[1863586,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863586
2023-10-13	13:36:39	4094	[DEBUG]	Checking category
2023-10-13	13:36:39	4094	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:39	4094	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863586
2023-10-13	13:36:39	4094	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:39	4094	[DEBUG]	Executed store
2023-10-13	13:36:39	4094	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863586','7405')
2023-10-13	13:36:39	4094	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:39	4094	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863586 AND `virtuemart_category_id` NOT IN (7405)
2023-10-13	13:36:39	4094	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:39	4094	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863586
2023-10-13	13:36:39	4095	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:39	4095	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:39	4095	[DEBUG]	Use field value for field taille
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:39	4095	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:39	4095	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:39	4095	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:39	4095	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:39	4095	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:39	4095	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:39	4095	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:39	4095	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:39	4095	[DEBUG]	Use field value for field published
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:39	4095	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field override
2023-10-13	13:36:39	4095	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:39	4095	[DEBUG]	Use field value for field slug
2023-10-13	13:36:39	4095	[DEBUG]	Process line 4095
2023-10-13	13:36:39	4095	[DEBUG]	Load a row
2023-10-13	13:36:39	4095	[DEBUG]	Processing item: 1000000080926
2023-10-13	13:36:39	4095	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:39	4095	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:39	4095	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5285_1'
2023-10-13	13:36:39	4095	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:39	4095	[DEBUG]	Processing product tax
2023-10-13	13:36:39	4095	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:39	4095	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:39	4095	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:39	4095	[DEBUG]	Query for Product
2023-10-13	13:36:39	4095	[DEBUG]	Executed store
2023-10-13	13:36:39	4095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863586','1000000080926','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:39	4095	[DEBUG]	No parent found
2023-10-13	13:36:39	4095	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863586 AND customfield_value = 'stockable'
2023-10-13	13:36:39	4095	[DEBUG]	Check product language entry
2023-10-13	13:36:39	4095	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863587
2023-10-13	13:36:39	4095	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:39	4095	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000080926' AND `virtuemart_product_id` != 1863587
2023-10-13	13:36:39	4095	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:39	4095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863587, '1000000080926')
2023-10-13	13:36:39	4095	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:39	4095	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'kenda-pneus-14x1-75-kenda-strasse-noir-unitaire' AND `virtuemart_product_id` != 1863587
2023-10-13	13:36:39	4095	[DEBUG]	Query for ProductLang
2023-10-13	13:36:39	4095	[DEBUG]	Executed store
2023-10-13	13:36:39	4095	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KENDA PNEUS 14X1.75 KENDA STRASSE / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='kenda-pneus-14x1-75-kenda-strasse-noir-unitaire' WHERE `virtuemart_product_id` = '1863587'
2023-10-13	13:36:39	4095	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29759_pneus_14x1_75_kenda_strasse.jpg
2023-10-13	13:36:39	4095	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:39	4095	[DEBUG]	Process image file
2023-10-13	13:36:39	4095	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:39	4095	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:39	4095	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29759_pneus_14x1_75_kenda_strasse.jpg
2023-10-13	13:36:39	4095	[DEBUG]	Full name target: bcprisme/29759_pneus_14x1_75_kenda_strasse.jpg
2023-10-13	13:36:40	4095	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:40	4095	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29759_pneus_14x1_75_kenda_strasse.jpg'
2023-10-13	13:36:40	4095	[DEBUG]	Query for Media
2023-10-13	13:36:40	4095	[DEBUG]	Executed store
2023-10-13	13:36:40	4095	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29759_pneus_14x1_75_kenda_strasse.jpg',`file_url_thumb`='bcprisme/29759_pneus_14x1_75_kenda_strasse.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16012'
2023-10-13	13:36:40	4095	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:40	4095	[DEBUG]	Executed store
2023-10-13	13:36:40	4095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863587','16012','1')
2023-10-13	13:36:40	4095	[DEBUG]	Store product image relation
2023-10-13	13:36:40	4095	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:40	4095	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863587 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:40	4095	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:40	4095	[DEBUG]	Executed store
2023-10-13	13:36:40	4095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863587','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:40	4095	[DEBUG]	Checking manufacturer
2023-10-13	13:36:40	4095	[DEBUG]	Load a row
2023-10-13	13:36:40	4095	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:40	4095	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:40	4095	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:40	4095	[DEBUG]	Executed store
2023-10-13	13:36:40	4095	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-47269901588' WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:40	4095	[DEBUG]	Manufacturer exists
2023-10-13	13:36:40	4095	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 131
2023-10-13	13:36:40	4095	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:40	4095	[DEBUG]	Executed store
2023-10-13	13:36:40	4095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863587','131')
2023-10-13	13:36:40	4095	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:40	4095	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:40	4095	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863587 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:40	4095	[DEBUG]	Store custom available field
2023-10-13	13:36:40	4095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863587,3,'',1)
2023-10-13	13:36:40	4095	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:40	4095	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:40	4095	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863587 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:40	4095	[DEBUG]	Store custom available field
2023-10-13	13:36:40	4095	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863587,6,'Unitaire',3)
2023-10-13	13:36:40	4095	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:40	4095	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:40	4095	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863586
2023-10-13	13:36:40	4095	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:40	4095	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863586\":[1863586,8,1,\"choisir la taille\"],\"1863587\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863586
2023-10-13	13:36:40	4095	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:40	4095	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863587
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:40	4096	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field taille
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:40	4096	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:40	4096	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:40	4096	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:40	4096	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:40	4096	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:40	4096	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field published
2023-10-13	13:36:40	4096	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:40	4096	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field override
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:40	4096	[DEBUG]	Use field value for field slug
2023-10-13	13:36:40	4096	[DEBUG]	Process line 4096
2023-10-13	13:36:40	4096	[DEBUG]	Load a row
2023-10-13	13:36:40	4096	[DEBUG]	Processing item: A_7730_1
2023-10-13	13:36:40	4096	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:40	4096	[DEBUG]	Processing product tax
2023-10-13	13:36:40	4096	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:40	4096	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:40	4096	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:40	4096	[DEBUG]	Query for Product
2023-10-13	13:36:40	4096	[DEBUG]	Executed store
2023-10-13	13:36:40	4096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7730_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:40	4096	[DEBUG]	Check product language entry
2023-10-13	13:36:40	4096	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863588
2023-10-13	13:36:40	4096	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:40	4096	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7730_1' AND `virtuemart_product_id` != 1863588
2023-10-13	13:36:40	4096	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:40	4096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863588, 'A_7730_1')
2023-10-13	13:36:40	4096	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:40	4096	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'kenda-pneus-14-x-1-3-8-37-298-fortune-noir' AND `virtuemart_product_id` != 1863588
2023-10-13	13:36:40	4096	[DEBUG]	Query for ProductLang
2023-10-13	13:36:40	4096	[DEBUG]	Executed store
2023-10-13	13:36:40	4096	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : FORTUNE14138',`product_name`='KENDA PNEUS 14 x 1 3/8 37-298 Fortune / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='kenda-pneus-14-x-1-3-8-37-298-fortune-noir' WHERE `virtuemart_product_id` = '1863588'
2023-10-13	13:36:40	4096	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35948_pneus_14_x_1_3-8.jpg
2023-10-13	13:36:40	4096	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:40	4096	[DEBUG]	Process image file
2023-10-13	13:36:40	4096	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:40	4096	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:40	4096	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35948_pneus_14_x_1_3-8.jpg
2023-10-13	13:36:40	4096	[DEBUG]	Full name target: bcprisme/35948_pneus_14_x_1_3-8.jpg
2023-10-13	13:36:41	4096	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:41	4096	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35948_pneus_14_x_1_3-8.jpg'
2023-10-13	13:36:41	4096	[DEBUG]	Query for Media
2023-10-13	13:36:41	4096	[DEBUG]	Executed store
2023-10-13	13:36:41	4096	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35948_pneus_14_x_1_3-8.jpg',`file_url_thumb`='bcprisme/35948_pneus_14_x_1_3-8.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438211'
2023-10-13	13:36:41	4096	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:41	4096	[DEBUG]	Executed store
2023-10-13	13:36:41	4096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863588','438211','1')
2023-10-13	13:36:41	4096	[DEBUG]	Store product image relation
2023-10-13	13:36:41	4096	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:41	4096	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863588 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:41	4096	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:41	4096	[DEBUG]	Executed store
2023-10-13	13:36:41	4096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863588','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:41	4096	[DEBUG]	Checking manufacturer
2023-10-13	13:36:41	4096	[DEBUG]	Load a row
2023-10-13	13:36:41	4096	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:41	4096	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:41	4096	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:41	4096	[DEBUG]	Executed store
2023-10-13	13:36:41	4096	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-47269901588' WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:41	4096	[DEBUG]	Manufacturer exists
2023-10-13	13:36:41	4096	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 131
2023-10-13	13:36:41	4096	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:41	4096	[DEBUG]	Executed store
2023-10-13	13:36:41	4096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863588','131')
2023-10-13	13:36:41	4096	[DEBUG]	Find the custom field ID
2023-10-13	13:36:41	4096	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:41	4096	[DEBUG]	No custom field ID found
2023-10-13	13:36:41	4096	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:41	4096	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:36:41	4096	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863588 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:41	4096	[DEBUG]	Store custom available field
2023-10-13	13:36:41	4096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863588,3,'0',1)
2023-10-13	13:36:41	4096	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:41	4096	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:41	4096	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863588 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:41	4096	[DEBUG]	Store custom available field
2023-10-13	13:36:41	4096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863588,6,'choisir la taille',3)
2023-10-13	13:36:41	4096	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:41	4096	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:41	4096	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:41	4096	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:41	4096	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863588 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:41	4096	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:41	4096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863588,8,1)
2023-10-13	13:36:41	4096	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:41	4096	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863588\":[1863588,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863588
2023-10-13	13:36:41	4096	[DEBUG]	Checking category
2023-10-13	13:36:41	4096	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:41	4096	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863588
2023-10-13	13:36:41	4096	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:41	4096	[DEBUG]	Executed store
2023-10-13	13:36:41	4096	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863588','7405')
2023-10-13	13:36:41	4096	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:41	4096	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863588 AND `virtuemart_category_id` NOT IN (7405)
2023-10-13	13:36:41	4096	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:41	4096	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863588
2023-10-13	13:36:41	4097	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:41	4097	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:41	4097	[DEBUG]	Use field value for field taille
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:41	4097	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:41	4097	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:41	4097	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:41	4097	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:41	4097	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:41	4097	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:41	4097	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:41	4097	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:41	4097	[DEBUG]	Use field value for field published
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:41	4097	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field override
2023-10-13	13:36:41	4097	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:41	4097	[DEBUG]	Use field value for field slug
2023-10-13	13:36:41	4097	[DEBUG]	Process line 4097
2023-10-13	13:36:41	4097	[DEBUG]	Load a row
2023-10-13	13:36:41	4097	[DEBUG]	Processing item: 1000000135619
2023-10-13	13:36:41	4097	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:41	4097	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:41	4097	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7730_1'
2023-10-13	13:36:41	4097	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:41	4097	[DEBUG]	Processing product tax
2023-10-13	13:36:41	4097	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:41	4097	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:41	4097	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:41	4097	[DEBUG]	Query for Product
2023-10-13	13:36:41	4097	[DEBUG]	Executed store
2023-10-13	13:36:41	4097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863588','1000000135619','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:41	4097	[DEBUG]	No parent found
2023-10-13	13:36:41	4097	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863588 AND customfield_value = 'stockable'
2023-10-13	13:36:41	4097	[DEBUG]	Check product language entry
2023-10-13	13:36:41	4097	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863589
2023-10-13	13:36:41	4097	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:41	4097	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000135619' AND `virtuemart_product_id` != 1863589
2023-10-13	13:36:41	4097	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:41	4097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863589, '1000000135619')
2023-10-13	13:36:41	4097	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:41	4097	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'kenda-pneus-14-x-1-3-8-37-298-fortune-noir-unitaire' AND `virtuemart_product_id` != 1863589
2023-10-13	13:36:41	4097	[DEBUG]	Query for ProductLang
2023-10-13	13:36:41	4097	[DEBUG]	Executed store
2023-10-13	13:36:41	4097	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='KENDA PNEUS 14 x 1 3/8 37-298 Fortune / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='kenda-pneus-14-x-1-3-8-37-298-fortune-noir-unitaire' WHERE `virtuemart_product_id` = '1863589'
2023-10-13	13:36:41	4097	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35948_pneus_14_x_1_3-8.jpg
2023-10-13	13:36:41	4097	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:41	4097	[DEBUG]	Process image file
2023-10-13	13:36:41	4097	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:36:41	4097	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:41	4097	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35948_pneus_14_x_1_3-8.jpg
2023-10-13	13:36:41	4097	[DEBUG]	Full name target: bcprisme/35948_pneus_14_x_1_3-8.jpg
2023-10-13	13:36:42	4097	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:42	4097	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35948_pneus_14_x_1_3-8.jpg'
2023-10-13	13:36:42	4097	[DEBUG]	Query for Media
2023-10-13	13:36:42	4097	[DEBUG]	Executed store
2023-10-13	13:36:42	4097	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35948_pneus_14_x_1_3-8.jpg',`file_url_thumb`='bcprisme/35948_pneus_14_x_1_3-8.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438211'
2023-10-13	13:36:42	4097	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:42	4097	[DEBUG]	Executed store
2023-10-13	13:36:42	4097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863589','438211','1')
2023-10-13	13:36:42	4097	[DEBUG]	Store product image relation
2023-10-13	13:36:42	4097	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:42	4097	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863589 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:42	4097	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:42	4097	[DEBUG]	Executed store
2023-10-13	13:36:42	4097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863589','0','11.9777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:42	4097	[DEBUG]	Checking manufacturer
2023-10-13	13:36:42	4097	[DEBUG]	Load a row
2023-10-13	13:36:42	4097	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:42	4097	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:42	4097	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:42	4097	[DEBUG]	Executed store
2023-10-13	13:36:42	4097	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-54-47269901588' WHERE `virtuemart_manufacturer_id` = '131'
2023-10-13	13:36:42	4097	[DEBUG]	Manufacturer exists
2023-10-13	13:36:42	4097	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 131
2023-10-13	13:36:42	4097	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:42	4097	[DEBUG]	Executed store
2023-10-13	13:36:42	4097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863589','131')
2023-10-13	13:36:42	4097	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:42	4097	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:42	4097	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863589 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:42	4097	[DEBUG]	Store custom available field
2023-10-13	13:36:42	4097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863589,3,'',1)
2023-10-13	13:36:42	4097	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:42	4097	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:42	4097	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863589 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:42	4097	[DEBUG]	Store custom available field
2023-10-13	13:36:42	4097	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863589,6,'Unitaire',3)
2023-10-13	13:36:42	4097	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:42	4097	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:42	4097	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863588
2023-10-13	13:36:42	4097	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:42	4097	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863588\":[1863588,8,1,\"choisir la taille\"],\"1863589\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863588
2023-10-13	13:36:42	4097	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:42	4097	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863589
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:42	4098	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field taille
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:42	4098	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:42	4098	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:42	4098	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field product_weight
2023-10-13	13:36:42	4098	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:42	4098	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:42	4098	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field published
2023-10-13	13:36:42	4098	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:42	4098	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field override
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:42	4098	[DEBUG]	Use field value for field slug
2023-10-13	13:36:42	4098	[DEBUG]	Process line 4098
2023-10-13	13:36:42	4098	[DEBUG]	Load a row
2023-10-13	13:36:42	4098	[DEBUG]	Processing item: A_7496_1
2023-10-13	13:36:42	4098	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:42	4098	[DEBUG]	Processing product tax
2023-10-13	13:36:42	4098	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:42	4098	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:42	4098	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:42	4098	[DEBUG]	Query for Product
2023-10-13	13:36:42	4098	[DEBUG]	Executed store
2023-10-13	13:36:42	4098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7496_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:42	4098	[DEBUG]	Check product language entry
2023-10-13	13:36:42	4098	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863590
2023-10-13	13:36:42	4098	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:42	4098	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7496_1' AND `virtuemart_product_id` != 1863590
2023-10-13	13:36:42	4098	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:42	4098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863590, 'A_7496_1')
2023-10-13	13:36:42	4098	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:42	4098	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-fortune-bmx-18-x-1-75-noir' AND `virtuemart_product_id` != 1863590
2023-10-13	13:36:42	4098	[DEBUG]	Query for ProductLang
2023-10-13	13:36:42	4098	[DEBUG]	Executed store
2023-10-13	13:36:42	4098	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : PNEUS 18 - REIFEN 18',`product_name`='SCHWALBE Pneu Fortune BMX 18 x 1.75 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-fortune-bmx-18-x-1-75-noir' WHERE `virtuemart_product_id` = '1863590'
2023-10-13	13:36:42	4098	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34860_pneu_fortune_bmx_18_x_1_75.jpg
2023-10-13	13:36:42	4098	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:36:42	4098	[DEBUG]	Process image file
2023-10-13	13:36:42	4098	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:36:42	4098	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:42	4098	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34860_pneu_fortune_bmx_18_x_1_75.jpg
2023-10-13	13:36:42	4098	[DEBUG]	Full name target: bcprisme/34860_pneu_fortune_bmx_18_x_1_75.jpg
2023-10-13	13:36:43	4098	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:43	4098	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34860_pneu_fortune_bmx_18_x_1_75.jpg'
2023-10-13	13:36:43	4098	[DEBUG]	Query for Media
2023-10-13	13:36:43	4098	[DEBUG]	Executed store
2023-10-13	13:36:43	4098	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34860_pneu_fortune_bmx_18_x_1_75.jpg',`file_url_thumb`='bcprisme/34860_pneu_fortune_bmx_18_x_1_75.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '235455'
2023-10-13	13:36:43	4098	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:43	4098	[DEBUG]	Executed store
2023-10-13	13:36:43	4098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863590','235455','1')
2023-10-13	13:36:43	4098	[DEBUG]	Store product image relation
2023-10-13	13:36:43	4098	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:43	4098	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863590 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:43	4098	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:43	4098	[DEBUG]	Executed store
2023-10-13	13:36:43	4098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863590','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:43	4098	[DEBUG]	Checking manufacturer
2023-10-13	13:36:43	4098	[DEBUG]	Load a row
2023-10-13	13:36:43	4098	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:43	4098	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:43	4098	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:43	4098	[DEBUG]	Executed store
2023-10-13	13:36:43	4098	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:43	4098	[DEBUG]	Manufacturer exists
2023-10-13	13:36:43	4098	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:36:43	4098	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:43	4098	[DEBUG]	Executed store
2023-10-13	13:36:43	4098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863590','25')
2023-10-13	13:36:43	4098	[DEBUG]	Find the custom field ID
2023-10-13	13:36:43	4098	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:43	4098	[DEBUG]	No custom field ID found
2023-10-13	13:36:43	4098	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:43	4098	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:36:43	4098	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863590 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:43	4098	[DEBUG]	Store custom available field
2023-10-13	13:36:43	4098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863590,3,'39.7891666666667',1)
2023-10-13	13:36:43	4098	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:43	4098	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:43	4098	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863590 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:43	4098	[DEBUG]	Store custom available field
2023-10-13	13:36:43	4098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863590,6,'choisir la taille',3)
2023-10-13	13:36:43	4098	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:43	4098	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:43	4098	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:43	4098	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:43	4098	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863590 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:43	4098	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:43	4098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863590,8,1)
2023-10-13	13:36:43	4098	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:43	4098	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863590\":[1863590,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863590
2023-10-13	13:36:43	4098	[DEBUG]	Checking category
2023-10-13	13:36:43	4098	[DEBUG]	Check if category path exists: PNEUS 18 - REIFEN 18
2023-10-13	13:36:43	4098	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS 18 - REIFEN 18' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:36:43	4098	[DEBUG]	Query for Category
2023-10-13	13:36:43	4098	[DEBUG]	Executed store
2023-10-13	13:36:43	4098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','10','0','1','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:43	4098	[DEBUG]	Category publish 1
2023-10-13	13:36:43	4098	[DEBUG]	Check the category language
2023-10-13	13:36:43	4098	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7406
2023-10-13	13:36:43	4098	[DEBUG]	Check the category slug
2023-10-13	13:36:43	4098	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-18---reifen-18' AND `virtuemart_category_id` != 7406
2023-10-13	13:36:43	4098	[DEBUG]	Check the category slug
2023-10-13	13:36:43	4098	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-18---reifen-18' AND `virtuemart_category_id` != 7406
2023-10-13	13:36:43	4098	[DEBUG]	Add the category language entry
2023-10-13	13:36:43	4098	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7406, 'pneus-18---reifen-18')
2023-10-13	13:36:43	4098	[DEBUG]	Query for CategoryLang
2023-10-13	13:36:43	4098	[DEBUG]	Executed store
2023-10-13	13:36:43	4098	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PNEUS 18 - REIFEN 18',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pneus-18---reifen-18' WHERE `virtuemart_category_id` = '7406'
2023-10-13	13:36:43	4098	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:36:43	4098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7406','0')
2023-10-13	13:36:43	4098	[DEBUG]	Update has field for parent category
2023-10-13	13:36:43	4098	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:36:43	4098	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:43	4098	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863590
2023-10-13	13:36:43	4098	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:43	4098	[DEBUG]	Executed store
2023-10-13	13:36:43	4098	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863590','7406')
2023-10-13	13:36:43	4098	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:43	4098	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863590 AND `virtuemart_category_id` NOT IN (7406)
2023-10-13	13:36:43	4098	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:43	4098	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863590
2023-10-13	13:36:43	4099	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:43	4099	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:36:43	4099	[DEBUG]	Use field value for field taille
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:36:43	4099	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field category_path
2023-10-13	13:36:43	4099	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:43	4099	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:43	4099	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:43	4099	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:36:43	4099	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:43	4099	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:43	4099	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:43	4099	[DEBUG]	Use field value for field published
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field custom_title
2023-10-13	13:36:43	4099	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field custom_param
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field override
2023-10-13	13:36:43	4099	[DEBUG]	Use default value for field public_price
2023-10-13	13:36:43	4099	[DEBUG]	Use field value for field slug
2023-10-13	13:36:43	4099	[DEBUG]	Process line 4099
2023-10-13	13:36:43	4099	[DEBUG]	Load a row
2023-10-13	13:36:43	4099	[DEBUG]	Processing item: 1000000124989
2023-10-13	13:36:43	4099	[DEBUG]	Looking for parent SKU
2023-10-13	13:36:43	4099	[DEBUG]	Checking product parent SKU
2023-10-13	13:36:43	4099	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7496_1'
2023-10-13	13:36:43	4099	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:43	4099	[DEBUG]	Processing product tax
2023-10-13	13:36:43	4099	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:43	4099	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:43	4099	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:43	4099	[DEBUG]	Query for Product
2023-10-13	13:36:43	4099	[DEBUG]	Executed store
2023-10-13	13:36:43	4099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863590','1000000124989','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:43	4099	[DEBUG]	No parent found
2023-10-13	13:36:43	4099	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863590 AND customfield_value = 'stockable'
2023-10-13	13:36:43	4099	[DEBUG]	Check product language entry
2023-10-13	13:36:43	4099	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863591
2023-10-13	13:36:43	4099	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:43	4099	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000124989' AND `virtuemart_product_id` != 1863591
2023-10-13	13:36:43	4099	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:43	4099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863591, '1000000124989')
2023-10-13	13:36:43	4099	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:43	4099	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-fortune-bmx-18-x-1-75-noir-unitaire' AND `virtuemart_product_id` != 1863591
2023-10-13	13:36:43	4099	[DEBUG]	Query for ProductLang
2023-10-13	13:36:43	4099	[DEBUG]	Executed store
2023-10-13	13:36:43	4099	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Fortune BMX 18 x 1.75 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-fortune-bmx-18-x-1-75-noir-unitaire' WHERE `virtuemart_product_id` = '1863591'
2023-10-13	13:36:43	4099	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34860_pneu_fortune_bmx_18_x_1_75.jpg
2023-10-13	13:36:43	4099	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:36:43	4099	[DEBUG]	Process image file
2023-10-13	13:36:43	4099	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:36:43	4099	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:43	4099	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34860_pneu_fortune_bmx_18_x_1_75.jpg
2023-10-13	13:36:43	4099	[DEBUG]	Full name target: bcprisme/34860_pneu_fortune_bmx_18_x_1_75.jpg
2023-10-13	13:36:44	4099	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:44	4099	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34860_pneu_fortune_bmx_18_x_1_75.jpg'
2023-10-13	13:36:44	4099	[DEBUG]	Query for Media
2023-10-13	13:36:44	4099	[DEBUG]	Executed store
2023-10-13	13:36:44	4099	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34860_pneu_fortune_bmx_18_x_1_75.jpg',`file_url_thumb`='bcprisme/34860_pneu_fortune_bmx_18_x_1_75.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '235455'
2023-10-13	13:36:44	4099	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:44	4099	[DEBUG]	Executed store
2023-10-13	13:36:44	4099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863591','235455','1')
2023-10-13	13:36:44	4099	[DEBUG]	Store product image relation
2023-10-13	13:36:44	4099	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:44	4099	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863591 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:44	4099	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:44	4099	[DEBUG]	Executed store
2023-10-13	13:36:44	4099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863591','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:44	4099	[DEBUG]	Checking manufacturer
2023-10-13	13:36:44	4099	[DEBUG]	Load a row
2023-10-13	13:36:44	4099	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:44	4099	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:44	4099	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:44	4099	[DEBUG]	Executed store
2023-10-13	13:36:44	4099	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:36:44	4099	[DEBUG]	Manufacturer exists
2023-10-13	13:36:44	4099	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:36:44	4099	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:44	4099	[DEBUG]	Executed store
2023-10-13	13:36:44	4099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863591','25')
2023-10-13	13:36:44	4099	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:44	4099	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:36:44	4099	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863591 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:44	4099	[DEBUG]	Store custom available field
2023-10-13	13:36:44	4099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863591,3,'',1)
2023-10-13	13:36:44	4099	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:44	4099	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:36:44	4099	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863591 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:44	4099	[DEBUG]	Store custom available field
2023-10-13	13:36:44	4099	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863591,6,'Unitaire',3)
2023-10-13	13:36:44	4099	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:44	4099	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:36:44	4099	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863590
2023-10-13	13:36:44	4099	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:44	4099	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863590\":[1863590,8,1,\"choisir la taille\"],\"1863591\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863590
2023-10-13	13:36:44	4099	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:44	4099	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863591
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field product_sku
2023-10-13	13:36:44	4100	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field taille
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field product_name
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field category_path
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field product_price
2023-10-13	13:36:44	4100	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field product_tax
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field file_url
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:36:44	4100	[DEBUG]	Use default value for field product_desc
2023-10-13	13:36:44	4100	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field product_availability
2023-10-13	13:36:44	4100	[DEBUG]	Use default value for field product_weight
2023-10-13	13:36:44	4100	[DEBUG]	Use default value for field product_unit
2023-10-13	13:36:44	4100	[DEBUG]	Use default value for field related_products
2023-10-13	13:36:44	4100	[DEBUG]	Use default value for field product_special
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field published
2023-10-13	13:36:44	4100	[DEBUG]	Use default value for field metadesc
2023-10-13	13:36:44	4100	[DEBUG]	Use default value for field metakey
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field custom_title
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field custom_value
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field custom_param
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field override
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field public_price
2023-10-13	13:36:44	4100	[DEBUG]	Use field value for field slug
2023-10-13	13:36:44	4100	[DEBUG]	Process line 4100
2023-10-13	13:36:44	4100	[DEBUG]	Load a row
2023-10-13	13:36:44	4100	[DEBUG]	Processing item: A_9671_84
2023-10-13	13:36:44	4100	[DEBUG]	Product tax: 7.7
2023-10-13	13:36:44	4100	[DEBUG]	Processing product tax
2023-10-13	13:36:44	4100	[DEBUG]	Check if calculation rule exists
2023-10-13	13:36:44	4100	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:36:44	4100	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:36:44	4100	[DEBUG]	Query for Product
2023-10-13	13:36:44	4100	[DEBUG]	Executed store
2023-10-13	13:36:44	4100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9671_84','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0')
2023-10-13	13:36:44	4100	[DEBUG]	Check product language entry
2023-10-13	13:36:44	4100	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863592
2023-10-13	13:36:44	4100	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:44	4100	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9671_84' AND `virtuemart_product_id` != 1863592
2023-10-13	13:36:44	4100	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:36:44	4100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863592, 'A_9671_84')
2023-10-13	13:36:44	4100	[DEBUG]	Check if the product slug exists
2023-10-13	13:36:44	4100	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-black-jack-18x1-90-rigide-black-black' AND `virtuemart_product_id` != 1863592
2023-10-13	13:36:44	4100	[DEBUG]	Query for ProductLang
2023-10-13	13:36:44	4100	[DEBUG]	Executed store
2023-10-13	13:36:44	4100	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.69020',`product_name`='SCHWALBE Pneu Black Jack 18x1.90 rigide black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-black-jack-18x1-90-rigide-black-black' WHERE `virtuemart_product_id` = '1863592'
2023-10-13	13:36:44	4100	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56659_00.jpg
2023-10-13	13:36:44	4100	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:36:44	4100	[DEBUG]	Process image file
2023-10-13	13:36:44	4100	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:36:44	4100	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:36:44	4100	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56659_00.jpg
2023-10-13	13:36:44	4100	[DEBUG]	Full name target: bcprisme/24_56659_00.jpg
2023-10-13	13:36:45	4100	[DEBUG]	Checking if the file_url exists
2023-10-13	13:36:45	4100	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_56659_00.jpg'
2023-10-13	13:36:45	4100	[DEBUG]	Query for Media
2023-10-13	13:36:45	4100	[DEBUG]	Executed store
2023-10-13	13:36:45	4100	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_56659_00.jpg',`file_url_thumb`='bcprisme/24_56659_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1523102'
2023-10-13	13:36:45	4100	[DEBUG]	Query for ProductMedia
2023-10-13	13:36:45	4100	[DEBUG]	Executed store
2023-10-13	13:36:45	4100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863592','1523102','1')
2023-10-13	13:36:45	4100	[DEBUG]	Store product image relation
2023-10-13	13:36:45	4100	[DEBUG]	Finding a product_price_id
2023-10-13	13:36:45	4100	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863592 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:36:45	4100	[DEBUG]	Query for ProductPrice
2023-10-13	13:36:45	4100	[DEBUG]	Executed store
2023-10-13	13:36:45	4100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863592','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:35:02','1593','2023-10-13 13:35:02','1593','0000-00-00 00:00:00','0')
2023-10-13	13:36:45	4100	[DEBUG]	Checking manufacturer
2023-10-13	13:36:45	4100	[DEBUG]	Load a row
2023-10-13	13:36:45	4100	[DEBUG]	Manufacturer already exists
2023-10-13	13:36:45	4100	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:36:45	4100	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:36:45	4100	[DEBUG]	Executed store
2023-10-13	13:36:45	4100	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:36:45	4100	[DEBUG]	Manufacturer exists
2023-10-13	13:36:45	4100	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:36:45	4100	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:36:45	4100	[DEBUG]	Executed store
2023-10-13	13:36:45	4100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863592','24')
2023-10-13	13:36:45	4100	[DEBUG]	Find the custom field ID
2023-10-13	13:36:45	4100	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:36:45	4100	[DEBUG]	No custom field ID found
2023-10-13	13:36:45	4100	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:36:45	4100	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:36:45	4100	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863592 AND `virtuemart_custom_id` = 3
2023-10-13	13:36:45	4100	[DEBUG]	Store custom available field
2023-10-13	13:36:45	4100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863592,3,'0',1)
2023-10-13	13:36:45	4100	[DEBUG]	Processing custom available field: taille
2023-10-13	13:36:45	4100	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:36:45	4100	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863592 AND `virtuemart_custom_id` = 6
2023-10-13	13:36:45	4100	[DEBUG]	Store custom available field
2023-10-13	13:36:45	4100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863592,6,'choisir la taille',3)
2023-10-13	13:36:45	4100	[DEBUG]	Process multi-variant fields
2023-10-13	13:36:45	4100	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:36:45	4100	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:36:45	4100	[DEBUG]	Find the multi variant product entry
2023-10-13	13:36:45	4100	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863592 AND `virtuemart_custom_id` = 8
2023-10-13	13:36:45	4100	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:36:45	4100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863592,8,1)
2023-10-13	13:36:45	4100	[DEBUG]	Store the updated customfield_params
2023-10-13	13:36:45	4100	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863592\":[1863592,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863592
2023-10-13	13:36:45	4100	[DEBUG]	Checking category
2023-10-13	13:36:45	4100	[DEBUG]	Get the existing categories for the product
2023-10-13	13:36:45	4100	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863592
2023-10-13	13:36:45	4100	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:36:45	4100	[DEBUG]	Executed store
2023-10-13	13:36:45	4100	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863592','7406')
2023-10-13	13:36:45	4100	[DEBUG]	Delete leftover product categories
2023-10-13	13:36:45	4100	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863592 AND `virtuemart_category_id` NOT IN (7406)
2023-10-13	13:36:45	4100	[DEBUG]	Update has fields after all processing
2023-10-13	13:36:45	4100	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863592
2023-10-13	13:37:05	4100	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:37:05	4100	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:37:05	4100	[DEBUG]	Load the fields to process
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: product_sku
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: taille
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: product_name
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: category_path
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: product_price
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: product_override_price
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: product_tax
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: file_url
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: product_desc
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: product_availability
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: product_weight
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: product_unit
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: related_products
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: product_special
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: published
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: metadesc
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: metakey
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: custom_title
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: custom_value
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: custom_param
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: override
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: public_price
2023-10-13	13:37:05	4100	[DEBUG]	Setup field: slug
2023-10-13	13:37:05	4100	[DEBUG]	Use the file for configuration
2023-10-13	13:37:05	4100	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:37:05	4100	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:37:05	4100	[DEBUG]	Load the custom fields
2023-10-13	13:37:05	4100	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:37:05	4100	[DEBUG]	Load stockable custom fields
2023-10-13	13:37:05	4100	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:37:05	4100	[DEBUG]	Load custom fields for all
2023-10-13	13:37:05	4100	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:37:05	4101	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:05	4101	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:05	4101	[DEBUG]	Use field value for field taille
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:05	4101	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:05	4101	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:05	4101	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:05	4101	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:05	4101	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:05	4101	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:05	4101	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:05	4101	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:05	4101	[DEBUG]	Use field value for field published
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:05	4101	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field override
2023-10-13	13:37:05	4101	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:05	4101	[DEBUG]	Use field value for field slug
2023-10-13	13:37:05	4101	[DEBUG]	Process line 4101
2023-10-13	13:37:05	4101	[DEBUG]	Check if the vendor exists
2023-10-13	13:37:05	4101	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '4026495810067'
2023-10-13	13:37:05	4101	[DEBUG]	Load a row
2023-10-13	13:37:05	4101	[DEBUG]	Processing item: 4026495810067
2023-10-13	13:37:05	4101	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:05	4101	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:05	4101	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9671_84'
2023-10-13	13:37:05	4101	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:05	4101	[DEBUG]	Processing product tax
2023-10-13	13:37:05	4101	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:05	4101	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:05	4101	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:05	4101	[DEBUG]	Query for Product
2023-10-13	13:37:05	4101	[DEBUG]	Executed store
2023-10-13	13:37:05	4101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863592','4026495810067','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:05	4101	[DEBUG]	No parent found
2023-10-13	13:37:05	4101	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863592 AND customfield_value = 'stockable'
2023-10-13	13:37:05	4101	[DEBUG]	Check product language entry
2023-10-13	13:37:05	4101	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863593
2023-10-13	13:37:05	4101	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:05	4101	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495810067' AND `virtuemart_product_id` != 1863593
2023-10-13	13:37:05	4101	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:05	4101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863593, '4026495810067')
2023-10-13	13:37:05	4101	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:05	4101	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-black-jack-18x1-90-rigide-black-black-unitaire' AND `virtuemart_product_id` != 1863593
2023-10-13	13:37:05	4101	[DEBUG]	Query for ProductLang
2023-10-13	13:37:05	4101	[DEBUG]	Executed store
2023-10-13	13:37:05	4101	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Black Jack 18x1.90 rigide black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-black-jack-18x1-90-rigide-black-black-unitaire' WHERE `virtuemart_product_id` = '1863593'
2023-10-13	13:37:05	4101	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56659_00.jpg
2023-10-13	13:37:05	4101	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:05	4101	[DEBUG]	Process image file
2023-10-13	13:37:05	4101	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:05	4101	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:05	4101	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56659_00.jpg
2023-10-13	13:37:05	4101	[DEBUG]	Full name target: bcprisme/24_56659_00.jpg
2023-10-13	13:37:06	4101	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:06	4101	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_56659_00.jpg'
2023-10-13	13:37:06	4101	[DEBUG]	Query for Media
2023-10-13	13:37:06	4101	[DEBUG]	Executed store
2023-10-13	13:37:06	4101	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_56659_00.jpg',`file_url_thumb`='bcprisme/24_56659_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1523102'
2023-10-13	13:37:06	4101	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:06	4101	[DEBUG]	Executed store
2023-10-13	13:37:06	4101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863593','1523102','1')
2023-10-13	13:37:06	4101	[DEBUG]	Store product image relation
2023-10-13	13:37:06	4101	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:06	4101	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863593 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:06	4101	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:06	4101	[DEBUG]	Executed store
2023-10-13	13:37:06	4101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863593','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:06	4101	[DEBUG]	Checking manufacturer
2023-10-13	13:37:06	4101	[DEBUG]	Load a row
2023-10-13	13:37:06	4101	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:06	4101	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:06	4101	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:06	4101	[DEBUG]	Executed store
2023-10-13	13:37:06	4101	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:06	4101	[DEBUG]	Manufacturer exists
2023-10-13	13:37:06	4101	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:37:06	4101	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:06	4101	[DEBUG]	Executed store
2023-10-13	13:37:06	4101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863593','24')
2023-10-13	13:37:06	4101	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:06	4101	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:06	4101	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863593 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:06	4101	[DEBUG]	Store custom available field
2023-10-13	13:37:06	4101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863593,3,'',1)
2023-10-13	13:37:06	4101	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:06	4101	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:06	4101	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863593 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:06	4101	[DEBUG]	Store custom available field
2023-10-13	13:37:06	4101	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863593,6,'Unitaire',3)
2023-10-13	13:37:06	4101	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:06	4101	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:06	4101	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863592
2023-10-13	13:37:06	4101	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:06	4101	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863592\":[1863592,8,1,\"choisir la taille\"],\"1863593\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863592
2023-10-13	13:37:06	4101	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:06	4101	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863593
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:06	4102	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field taille
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:06	4102	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:06	4102	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:06	4102	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:06	4102	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:06	4102	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:06	4102	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field published
2023-10-13	13:37:06	4102	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:06	4102	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field override
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:06	4102	[DEBUG]	Use field value for field slug
2023-10-13	13:37:06	4102	[DEBUG]	Process line 4102
2023-10-13	13:37:06	4102	[DEBUG]	Load a row
2023-10-13	13:37:06	4102	[DEBUG]	Processing item: A_5330_1
2023-10-13	13:37:06	4102	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:06	4102	[DEBUG]	Processing product tax
2023-10-13	13:37:06	4102	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:06	4102	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:06	4102	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:06	4102	[DEBUG]	Query for Product
2023-10-13	13:37:06	4102	[DEBUG]	Executed store
2023-10-13	13:37:06	4102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5330_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:06	4102	[DEBUG]	Check product language entry
2023-10-13	13:37:06	4102	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863594
2023-10-13	13:37:06	4102	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:06	4102	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5330_1' AND `virtuemart_product_id` != 1863594
2023-10-13	13:37:06	4102	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:06	4102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863594, 'A_5330_1')
2023-10-13	13:37:06	4102	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:06	4102	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-black-jack-activeline-20-x1-90-47-406-hs-407-noir' AND `virtuemart_product_id` != 1863594
2023-10-13	13:37:06	4102	[DEBUG]	Query for ProductLang
2023-10-13	13:37:06	4102	[DEBUG]	Executed store
2023-10-13	13:37:06	4102	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : 10.55.03.722',`product_name`='SCHWALBE Pneu Schwalbe Black Jack ActiveLIne 20 x1.90 47-406, HS 407  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-black-jack-activeline-20-x1-90-47-406-hs-407-noir' WHERE `virtuemart_product_id` = '1863594'
2023-10-13	13:37:06	4102	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29807_pneu_schwalbe_black_jack_activeline_20_x1_90_47-406,_hs_407_.jpg
2023-10-13	13:37:06	4102	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:06	4102	[DEBUG]	Process image file
2023-10-13	13:37:06	4102	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:06	4102	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:06	4102	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29807_pneu_schwalbe_black_jack_activeline_20_x1_90_47-406,_hs_407_.jpg
2023-10-13	13:37:06	4102	[DEBUG]	Full name target: bcprisme/29807_pneu_schwalbe_black_jack_activeline_20_x1_90_47-406,_hs_407_.jpg
2023-10-13	13:37:07	4102	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:07	4102	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29807_pneu_schwalbe_black_jack_activeline_20_x1_90_47-406,_hs_407_.jpg'
2023-10-13	13:37:07	4102	[DEBUG]	Query for Media
2023-10-13	13:37:07	4102	[DEBUG]	Executed store
2023-10-13	13:37:07	4102	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29807_pneu_schwalbe_black_jack_activeline_20_x1_90_47-406,_hs_407_.jpg',`file_url_thumb`='bcprisme/29807_pneu_schwalbe_black_jack_activeline_20_x1_90_47-406,_hs_407_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14477'
2023-10-13	13:37:07	4102	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:07	4102	[DEBUG]	Executed store
2023-10-13	13:37:07	4102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863594','14477','1')
2023-10-13	13:37:07	4102	[DEBUG]	Store product image relation
2023-10-13	13:37:07	4102	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:07	4102	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863594 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:07	4102	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:07	4102	[DEBUG]	Executed store
2023-10-13	13:37:07	4102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863594','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:07	4102	[DEBUG]	Checking manufacturer
2023-10-13	13:37:07	4102	[DEBUG]	Load a row
2023-10-13	13:37:07	4102	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:07	4102	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:07	4102	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:07	4102	[DEBUG]	Executed store
2023-10-13	13:37:07	4102	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:07	4102	[DEBUG]	Manufacturer exists
2023-10-13	13:37:07	4102	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:07	4102	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:07	4102	[DEBUG]	Executed store
2023-10-13	13:37:07	4102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863594','25')
2023-10-13	13:37:07	4102	[DEBUG]	Find the custom field ID
2023-10-13	13:37:07	4102	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:07	4102	[DEBUG]	No custom field ID found
2023-10-13	13:37:07	4102	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:07	4102	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:37:07	4102	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863594 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:07	4102	[DEBUG]	Store custom available field
2023-10-13	13:37:07	4102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863594,3,'39.7891666666667',1)
2023-10-13	13:37:07	4102	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:07	4102	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:07	4102	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863594 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:07	4102	[DEBUG]	Store custom available field
2023-10-13	13:37:07	4102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863594,6,'choisir la taille',3)
2023-10-13	13:37:07	4102	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:07	4102	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:07	4102	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:07	4102	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:07	4102	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863594 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:07	4102	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:07	4102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863594,8,1)
2023-10-13	13:37:07	4102	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:07	4102	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863594\":[1863594,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863594
2023-10-13	13:37:07	4102	[DEBUG]	Checking category
2023-10-13	13:37:07	4102	[DEBUG]	Check if category path exists: PNEUS - REIFEN
2023-10-13	13:37:07	4102	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS - REIFEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:37:07	4102	[DEBUG]	Check if category path exists: PNEUS 20- REIFEN 20
2023-10-13	13:37:07	4102	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS 20- REIFEN 20' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:37:07	4102	[DEBUG]	Query for Category
2023-10-13	13:37:07	4102	[DEBUG]	Executed store
2023-10-13	13:37:07	4102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`ordering`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`) VALUES  ('7396','1','','default','default','3','0','0','11','1','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593')
2023-10-13	13:37:07	4102	[DEBUG]	Category publish 1
2023-10-13	13:37:07	4102	[DEBUG]	Check the category language
2023-10-13	13:37:07	4102	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7407
2023-10-13	13:37:07	4102	[DEBUG]	Check the category slug
2023-10-13	13:37:07	4102	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-20--reifen-20' AND `virtuemart_category_id` != 7407
2023-10-13	13:37:07	4102	[DEBUG]	Check the category slug
2023-10-13	13:37:07	4102	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-20--reifen-20' AND `virtuemart_category_id` != 7407
2023-10-13	13:37:07	4102	[DEBUG]	Add the category language entry
2023-10-13	13:37:07	4102	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7407, 'pneus-20--reifen-20')
2023-10-13	13:37:07	4102	[DEBUG]	Query for CategoryLang
2023-10-13	13:37:07	4102	[DEBUG]	Executed store
2023-10-13	13:37:07	4102	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PNEUS 20- REIFEN 20',`slug`='pneus-20--reifen-20' WHERE `virtuemart_category_id` = '7407'
2023-10-13	13:37:07	4102	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:37:07	4102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`) VALUES  ('7396','7407')
2023-10-13	13:37:07	4102	[DEBUG]	Update has field for parent category
2023-10-13	13:37:07	4102	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:37:07	4102	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:07	4102	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863594
2023-10-13	13:37:07	4102	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:07	4102	[DEBUG]	Executed store
2023-10-13	13:37:07	4102	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863594','7407')
2023-10-13	13:37:07	4102	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:07	4102	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863594 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:07	4102	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:07	4102	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863594
2023-10-13	13:37:07	4103	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:07	4103	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:07	4103	[DEBUG]	Use field value for field taille
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:07	4103	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:07	4103	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:07	4103	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:07	4103	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:07	4103	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:07	4103	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:07	4103	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:07	4103	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:07	4103	[DEBUG]	Use field value for field published
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:07	4103	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field override
2023-10-13	13:37:07	4103	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:07	4103	[DEBUG]	Use field value for field slug
2023-10-13	13:37:07	4103	[DEBUG]	Process line 4103
2023-10-13	13:37:07	4103	[DEBUG]	Load a row
2023-10-13	13:37:07	4103	[DEBUG]	Processing item: 4026495810340
2023-10-13	13:37:07	4103	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:07	4103	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:07	4103	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5330_1'
2023-10-13	13:37:07	4103	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:07	4103	[DEBUG]	Processing product tax
2023-10-13	13:37:07	4103	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:07	4103	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:07	4103	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:07	4103	[DEBUG]	Query for Product
2023-10-13	13:37:07	4103	[DEBUG]	Executed store
2023-10-13	13:37:07	4103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863594','4026495810340','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:07	4103	[DEBUG]	No parent found
2023-10-13	13:37:07	4103	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863594 AND customfield_value = 'stockable'
2023-10-13	13:37:07	4103	[DEBUG]	Check product language entry
2023-10-13	13:37:07	4103	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863595
2023-10-13	13:37:07	4103	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:07	4103	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495810340' AND `virtuemart_product_id` != 1863595
2023-10-13	13:37:07	4103	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:07	4103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863595, '4026495810340')
2023-10-13	13:37:07	4103	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:07	4103	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-black-jack-activeline-20-x1-90-47-406-hs-407-noir-unitaire' AND `virtuemart_product_id` != 1863595
2023-10-13	13:37:07	4103	[DEBUG]	Query for ProductLang
2023-10-13	13:37:07	4103	[DEBUG]	Executed store
2023-10-13	13:37:07	4103	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Schwalbe Black Jack ActiveLIne 20 x1.90 47-406, HS 407  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-black-jack-activeline-20-x1-90-47-406-hs-407-noir-unitaire' WHERE `virtuemart_product_id` = '1863595'
2023-10-13	13:37:07	4103	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29807_pneu_schwalbe_black_jack_activeline_20_x1_90_47-406,_hs_407_.jpg
2023-10-13	13:37:07	4103	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:07	4103	[DEBUG]	Process image file
2023-10-13	13:37:07	4103	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:07	4103	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:07	4103	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29807_pneu_schwalbe_black_jack_activeline_20_x1_90_47-406,_hs_407_.jpg
2023-10-13	13:37:07	4103	[DEBUG]	Full name target: bcprisme/29807_pneu_schwalbe_black_jack_activeline_20_x1_90_47-406,_hs_407_.jpg
2023-10-13	13:37:08	4103	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:08	4103	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29807_pneu_schwalbe_black_jack_activeline_20_x1_90_47-406,_hs_407_.jpg'
2023-10-13	13:37:08	4103	[DEBUG]	Query for Media
2023-10-13	13:37:08	4103	[DEBUG]	Executed store
2023-10-13	13:37:08	4103	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29807_pneu_schwalbe_black_jack_activeline_20_x1_90_47-406,_hs_407_.jpg',`file_url_thumb`='bcprisme/29807_pneu_schwalbe_black_jack_activeline_20_x1_90_47-406,_hs_407_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14477'
2023-10-13	13:37:08	4103	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:08	4103	[DEBUG]	Executed store
2023-10-13	13:37:08	4103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863595','14477','1')
2023-10-13	13:37:08	4103	[DEBUG]	Store product image relation
2023-10-13	13:37:08	4103	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:08	4103	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863595 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:08	4103	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:08	4103	[DEBUG]	Executed store
2023-10-13	13:37:08	4103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863595','0','17.5487465181058','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:08	4103	[DEBUG]	Checking manufacturer
2023-10-13	13:37:08	4103	[DEBUG]	Load a row
2023-10-13	13:37:08	4103	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:08	4103	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:08	4103	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:08	4103	[DEBUG]	Executed store
2023-10-13	13:37:08	4103	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:08	4103	[DEBUG]	Manufacturer exists
2023-10-13	13:37:08	4103	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:08	4103	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:08	4103	[DEBUG]	Executed store
2023-10-13	13:37:08	4103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863595','25')
2023-10-13	13:37:08	4103	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:08	4103	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:08	4103	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863595 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:08	4103	[DEBUG]	Store custom available field
2023-10-13	13:37:08	4103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863595,3,'',1)
2023-10-13	13:37:08	4103	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:08	4103	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:08	4103	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863595 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:08	4103	[DEBUG]	Store custom available field
2023-10-13	13:37:08	4103	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863595,6,'Unitaire',3)
2023-10-13	13:37:08	4103	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:08	4103	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:08	4103	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863594
2023-10-13	13:37:08	4103	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:08	4103	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863594\":[1863594,8,1,\"choisir la taille\"],\"1863595\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863594
2023-10-13	13:37:08	4103	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:08	4103	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863595
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:08	4104	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field taille
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:08	4104	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:08	4104	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:08	4104	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:08	4104	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:08	4104	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:08	4104	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field published
2023-10-13	13:37:08	4104	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:08	4104	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field override
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:08	4104	[DEBUG]	Use field value for field slug
2023-10-13	13:37:08	4104	[DEBUG]	Process line 4104
2023-10-13	13:37:08	4104	[DEBUG]	Load a row
2023-10-13	13:37:08	4104	[DEBUG]	Processing item: A_5411_1
2023-10-13	13:37:08	4104	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:08	4104	[DEBUG]	Processing product tax
2023-10-13	13:37:08	4104	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:08	4104	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:08	4104	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:08	4104	[DEBUG]	Query for Product
2023-10-13	13:37:08	4104	[DEBUG]	Executed store
2023-10-13	13:37:08	4104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5411_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:08	4104	[DEBUG]	Check product language entry
2023-10-13	13:37:08	4104	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863596
2023-10-13	13:37:08	4104	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:08	4104	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5411_1' AND `virtuemart_product_id` != 1863596
2023-10-13	13:37:08	4104	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:08	4104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863596, 'A_5411_1')
2023-10-13	13:37:08	4104	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:08	4104	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-mad-mike-activeline-20-x-2-125-noir' AND `virtuemart_product_id` != 1863596
2023-10-13	13:37:08	4104	[DEBUG]	Query for ProductLang
2023-10-13	13:37:08	4104	[DEBUG]	Executed store
2023-10-13	13:37:08	4104	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaoyang hornet 27.5 x 2.0 kv shark skin 2c, 60 TPI, 525 gr.<br>N° art fourn : 10.55.03.014',`product_name`='SCHWALBE Pneu Schwalbe mad mike ActiveLIne 20 x 2.125 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-mad-mike-activeline-20-x-2-125-noir' WHERE `virtuemart_product_id` = '1863596'
2023-10-13	13:37:08	4104	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29899_pneu_schwalbe_mad_mike_activeline_20_x_2_125.jpg
2023-10-13	13:37:08	4104	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:08	4104	[DEBUG]	Process image file
2023-10-13	13:37:08	4104	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:08	4104	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:08	4104	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29899_pneu_schwalbe_mad_mike_activeline_20_x_2_125.jpg
2023-10-13	13:37:08	4104	[DEBUG]	Full name target: bcprisme/29899_pneu_schwalbe_mad_mike_activeline_20_x_2_125.jpg
2023-10-13	13:37:09	4104	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:09	4104	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29899_pneu_schwalbe_mad_mike_activeline_20_x_2_125.jpg'
2023-10-13	13:37:09	4104	[DEBUG]	Query for Media
2023-10-13	13:37:09	4104	[DEBUG]	Executed store
2023-10-13	13:37:09	4104	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29899_pneu_schwalbe_mad_mike_activeline_20_x_2_125.jpg',`file_url_thumb`='bcprisme/29899_pneu_schwalbe_mad_mike_activeline_20_x_2_125.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14478'
2023-10-13	13:37:09	4104	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:09	4104	[DEBUG]	Executed store
2023-10-13	13:37:09	4104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863596','14478','1')
2023-10-13	13:37:09	4104	[DEBUG]	Store product image relation
2023-10-13	13:37:09	4104	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:09	4104	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863596 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:09	4104	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:09	4104	[DEBUG]	Executed store
2023-10-13	13:37:09	4104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863596','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:09	4104	[DEBUG]	Checking manufacturer
2023-10-13	13:37:09	4104	[DEBUG]	Load a row
2023-10-13	13:37:09	4104	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:09	4104	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:09	4104	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:09	4104	[DEBUG]	Executed store
2023-10-13	13:37:09	4104	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:09	4104	[DEBUG]	Manufacturer exists
2023-10-13	13:37:09	4104	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:09	4104	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:09	4104	[DEBUG]	Executed store
2023-10-13	13:37:09	4104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863596','25')
2023-10-13	13:37:09	4104	[DEBUG]	Find the custom field ID
2023-10-13	13:37:09	4104	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:09	4104	[DEBUG]	No custom field ID found
2023-10-13	13:37:09	4104	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:09	4104	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:37:09	4104	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863596 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:09	4104	[DEBUG]	Store custom available field
2023-10-13	13:37:09	4104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863596,3,'39.7891666666667',1)
2023-10-13	13:37:09	4104	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:09	4104	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:09	4104	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863596 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:09	4104	[DEBUG]	Store custom available field
2023-10-13	13:37:09	4104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863596,6,'choisir la taille',3)
2023-10-13	13:37:09	4104	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:09	4104	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:09	4104	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:09	4104	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:09	4104	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863596 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:09	4104	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:09	4104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863596,8,1)
2023-10-13	13:37:09	4104	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:09	4104	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863596\":[1863596,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863596
2023-10-13	13:37:09	4104	[DEBUG]	Checking category
2023-10-13	13:37:09	4104	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:09	4104	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863596
2023-10-13	13:37:09	4104	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:09	4104	[DEBUG]	Executed store
2023-10-13	13:37:09	4104	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863596','7407')
2023-10-13	13:37:09	4104	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:09	4104	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863596 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:09	4104	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:09	4104	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863596
2023-10-13	13:37:09	4105	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:09	4105	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:09	4105	[DEBUG]	Use field value for field taille
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:09	4105	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:09	4105	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:09	4105	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:09	4105	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:09	4105	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:09	4105	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:09	4105	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:09	4105	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:09	4105	[DEBUG]	Use field value for field published
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:09	4105	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field override
2023-10-13	13:37:09	4105	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:09	4105	[DEBUG]	Use field value for field slug
2023-10-13	13:37:09	4105	[DEBUG]	Process line 4105
2023-10-13	13:37:09	4105	[DEBUG]	Load a row
2023-10-13	13:37:09	4105	[DEBUG]	Processing item: 4026495674614
2023-10-13	13:37:09	4105	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:09	4105	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:09	4105	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5411_1'
2023-10-13	13:37:09	4105	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:09	4105	[DEBUG]	Processing product tax
2023-10-13	13:37:09	4105	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:09	4105	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:09	4105	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:09	4105	[DEBUG]	Query for Product
2023-10-13	13:37:09	4105	[DEBUG]	Executed store
2023-10-13	13:37:09	4105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863596','4026495674614','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:09	4105	[DEBUG]	No parent found
2023-10-13	13:37:09	4105	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863596 AND customfield_value = 'stockable'
2023-10-13	13:37:09	4105	[DEBUG]	Check product language entry
2023-10-13	13:37:09	4105	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863597
2023-10-13	13:37:09	4105	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:09	4105	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495674614' AND `virtuemart_product_id` != 1863597
2023-10-13	13:37:09	4105	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:09	4105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863597, '4026495674614')
2023-10-13	13:37:09	4105	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:09	4105	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-mad-mike-activeline-20-x-2-125-noir-unitaire' AND `virtuemart_product_id` != 1863597
2023-10-13	13:37:09	4105	[DEBUG]	Query for ProductLang
2023-10-13	13:37:09	4105	[DEBUG]	Executed store
2023-10-13	13:37:09	4105	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Schwalbe mad mike ActiveLIne 20 x 2.125 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-mad-mike-activeline-20-x-2-125-noir-unitaire' WHERE `virtuemart_product_id` = '1863597'
2023-10-13	13:37:09	4105	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29899_pneu_schwalbe_mad_mike_activeline_20_x_2_125.jpg
2023-10-13	13:37:09	4105	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:09	4105	[DEBUG]	Process image file
2023-10-13	13:37:09	4105	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:09	4105	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:09	4105	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29899_pneu_schwalbe_mad_mike_activeline_20_x_2_125.jpg
2023-10-13	13:37:09	4105	[DEBUG]	Full name target: bcprisme/29899_pneu_schwalbe_mad_mike_activeline_20_x_2_125.jpg
2023-10-13	13:37:10	4105	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:10	4105	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29899_pneu_schwalbe_mad_mike_activeline_20_x_2_125.jpg'
2023-10-13	13:37:10	4105	[DEBUG]	Query for Media
2023-10-13	13:37:10	4105	[DEBUG]	Executed store
2023-10-13	13:37:10	4105	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29899_pneu_schwalbe_mad_mike_activeline_20_x_2_125.jpg',`file_url_thumb`='bcprisme/29899_pneu_schwalbe_mad_mike_activeline_20_x_2_125.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14478'
2023-10-13	13:37:10	4105	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:10	4105	[DEBUG]	Executed store
2023-10-13	13:37:10	4105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863597','14478','1')
2023-10-13	13:37:10	4105	[DEBUG]	Store product image relation
2023-10-13	13:37:10	4105	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:10	4105	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863597 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:10	4105	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:10	4105	[DEBUG]	Executed store
2023-10-13	13:37:10	4105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863597','0','15.6917363045497','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:10	4105	[DEBUG]	Checking manufacturer
2023-10-13	13:37:10	4105	[DEBUG]	Load a row
2023-10-13	13:37:10	4105	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:10	4105	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:10	4105	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:10	4105	[DEBUG]	Executed store
2023-10-13	13:37:10	4105	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:10	4105	[DEBUG]	Manufacturer exists
2023-10-13	13:37:10	4105	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:10	4105	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:10	4105	[DEBUG]	Executed store
2023-10-13	13:37:10	4105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863597','25')
2023-10-13	13:37:10	4105	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:10	4105	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:10	4105	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863597 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:10	4105	[DEBUG]	Store custom available field
2023-10-13	13:37:10	4105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863597,3,'',1)
2023-10-13	13:37:10	4105	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:10	4105	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:10	4105	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863597 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:10	4105	[DEBUG]	Store custom available field
2023-10-13	13:37:10	4105	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863597,6,'Unitaire',3)
2023-10-13	13:37:10	4105	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:10	4105	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:10	4105	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863596
2023-10-13	13:37:10	4105	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:10	4105	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863596\":[1863596,8,1,\"choisir la taille\"],\"1863597\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863596
2023-10-13	13:37:10	4105	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:10	4105	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863597
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:10	4106	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field taille
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:10	4106	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:10	4106	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:10	4106	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:10	4106	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:10	4106	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:10	4106	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field published
2023-10-13	13:37:10	4106	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:10	4106	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field override
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:10	4106	[DEBUG]	Use field value for field slug
2023-10-13	13:37:10	4106	[DEBUG]	Process line 4106
2023-10-13	13:37:10	4106	[DEBUG]	Load a row
2023-10-13	13:37:10	4106	[DEBUG]	Processing item: A_5815_1
2023-10-13	13:37:10	4106	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:10	4106	[DEBUG]	Processing product tax
2023-10-13	13:37:10	4106	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:10	4106	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:10	4106	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:10	4106	[DEBUG]	Query for Product
2023-10-13	13:37:10	4106	[DEBUG]	Executed store
2023-10-13	13:37:10	4106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5815_1','0.4','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:10	4106	[DEBUG]	Check product language entry
2023-10-13	13:37:10	4106	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863598
2023-10-13	13:37:10	4106	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:10	4106	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5815_1' AND `virtuemart_product_id` != 1863598
2023-10-13	13:37:10	4106	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:10	4106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863598, 'A_5815_1')
2023-10-13	13:37:10	4106	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:10	4106	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'michelin-pneu-michelin-20-x-2-125-mambo-nr-noir' AND `virtuemart_product_id` != 1863598
2023-10-13	13:37:10	4106	[DEBUG]	Query for ProductLang
2023-10-13	13:37:10	4106	[DEBUG]	Executed store
2023-10-13	13:37:10	4106	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Big Daddy 20 x 4.0 kv 30 tpi <br>N° art fourn : 57.533244',`product_name`='Michelin Pneu Michelin 20 x 2.125 Mambo NR / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='michelin-pneu-michelin-20-x-2-125-mambo-nr-noir' WHERE `virtuemart_product_id` = '1863598'
2023-10-13	13:37:10	4106	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30337_pneu_michelin_20_x_2_125_mambo_nr.jpg
2023-10-13	13:37:10	4106	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:10	4106	[DEBUG]	Process image file
2023-10-13	13:37:10	4106	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:10	4106	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:10	4106	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30337_pneu_michelin_20_x_2_125_mambo_nr.jpg
2023-10-13	13:37:10	4106	[DEBUG]	Full name target: bcprisme/30337_pneu_michelin_20_x_2_125_mambo_nr.jpg
2023-10-13	13:37:11	4106	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:11	4106	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30337_pneu_michelin_20_x_2_125_mambo_nr.jpg'
2023-10-13	13:37:11	4106	[DEBUG]	Query for Media
2023-10-13	13:37:11	4106	[DEBUG]	Executed store
2023-10-13	13:37:11	4106	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30337_pneu_michelin_20_x_2_125_mambo_nr.jpg',`file_url_thumb`='bcprisme/30337_pneu_michelin_20_x_2_125_mambo_nr.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14479'
2023-10-13	13:37:11	4106	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:11	4106	[DEBUG]	Executed store
2023-10-13	13:37:11	4106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863598','14479','1')
2023-10-13	13:37:11	4106	[DEBUG]	Store product image relation
2023-10-13	13:37:11	4106	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:11	4106	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863598 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:11	4106	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:11	4106	[DEBUG]	Executed store
2023-10-13	13:37:11	4106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863598','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:11	4106	[DEBUG]	Checking manufacturer
2023-10-13	13:37:11	4106	[DEBUG]	Load a row
2023-10-13	13:37:11	4106	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:11	4106	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	13:37:11	4106	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:11	4106	[DEBUG]	Executed store
2023-10-13	13:37:11	4106	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331859464270' WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	13:37:11	4106	[DEBUG]	Manufacturer exists
2023-10-13	13:37:11	4106	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 134
2023-10-13	13:37:11	4106	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:11	4106	[DEBUG]	Executed store
2023-10-13	13:37:11	4106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863598','134')
2023-10-13	13:37:11	4106	[DEBUG]	Find the custom field ID
2023-10-13	13:37:11	4106	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:11	4106	[DEBUG]	No custom field ID found
2023-10-13	13:37:11	4106	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:11	4106	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	13:37:11	4106	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863598 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:11	4106	[DEBUG]	Store custom available field
2023-10-13	13:37:11	4106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863598,3,'49.7613888888889',1)
2023-10-13	13:37:11	4106	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:11	4106	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:11	4106	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863598 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:11	4106	[DEBUG]	Store custom available field
2023-10-13	13:37:11	4106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863598,6,'choisir la taille',3)
2023-10-13	13:37:11	4106	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:11	4106	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:11	4106	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:11	4106	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:11	4106	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863598 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:11	4106	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:11	4106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863598,8,1)
2023-10-13	13:37:11	4106	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:11	4106	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863598\":[1863598,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863598
2023-10-13	13:37:11	4106	[DEBUG]	Checking category
2023-10-13	13:37:11	4106	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:11	4106	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863598
2023-10-13	13:37:11	4106	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:11	4106	[DEBUG]	Executed store
2023-10-13	13:37:11	4106	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863598','7407')
2023-10-13	13:37:11	4106	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:11	4106	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863598 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:11	4106	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:11	4106	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863598
2023-10-13	13:37:11	4107	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:11	4107	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:11	4107	[DEBUG]	Use field value for field taille
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:11	4107	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:11	4107	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:11	4107	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:11	4107	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:11	4107	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:11	4107	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:11	4107	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:11	4107	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:11	4107	[DEBUG]	Use field value for field published
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:11	4107	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field override
2023-10-13	13:37:11	4107	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:11	4107	[DEBUG]	Use field value for field slug
2023-10-13	13:37:11	4107	[DEBUG]	Process line 4107
2023-10-13	13:37:11	4107	[DEBUG]	Load a row
2023-10-13	13:37:11	4107	[DEBUG]	Processing item: 3528705332440
2023-10-13	13:37:11	4107	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:11	4107	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:11	4107	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5815_1'
2023-10-13	13:37:11	4107	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:11	4107	[DEBUG]	Processing product tax
2023-10-13	13:37:11	4107	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:11	4107	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:11	4107	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:11	4107	[DEBUG]	Query for Product
2023-10-13	13:37:11	4107	[DEBUG]	Executed store
2023-10-13	13:37:11	4107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863598','3528705332440','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:11	4107	[DEBUG]	No parent found
2023-10-13	13:37:11	4107	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863598 AND customfield_value = 'stockable'
2023-10-13	13:37:11	4107	[DEBUG]	Check product language entry
2023-10-13	13:37:11	4107	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863599
2023-10-13	13:37:11	4107	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:11	4107	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '3528705332440' AND `virtuemart_product_id` != 1863599
2023-10-13	13:37:11	4107	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:11	4107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863599, '3528705332440')
2023-10-13	13:37:11	4107	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:11	4107	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'michelin-pneu-michelin-20-x-2-125-mambo-nr-noir-unitaire' AND `virtuemart_product_id` != 1863599
2023-10-13	13:37:11	4107	[DEBUG]	Query for ProductLang
2023-10-13	13:37:11	4107	[DEBUG]	Executed store
2023-10-13	13:37:11	4107	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Michelin Pneu Michelin 20 x 2.125 Mambo NR / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='michelin-pneu-michelin-20-x-2-125-mambo-nr-noir-unitaire' WHERE `virtuemart_product_id` = '1863599'
2023-10-13	13:37:11	4107	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30337_pneu_michelin_20_x_2_125_mambo_nr.jpg
2023-10-13	13:37:11	4107	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:11	4107	[DEBUG]	Process image file
2023-10-13	13:37:11	4107	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:11	4107	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:11	4107	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30337_pneu_michelin_20_x_2_125_mambo_nr.jpg
2023-10-13	13:37:11	4107	[DEBUG]	Full name target: bcprisme/30337_pneu_michelin_20_x_2_125_mambo_nr.jpg
2023-10-13	13:37:12	4107	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:12	4107	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30337_pneu_michelin_20_x_2_125_mambo_nr.jpg'
2023-10-13	13:37:12	4107	[DEBUG]	Query for Media
2023-10-13	13:37:12	4107	[DEBUG]	Executed store
2023-10-13	13:37:12	4107	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30337_pneu_michelin_20_x_2_125_mambo_nr.jpg',`file_url_thumb`='bcprisme/30337_pneu_michelin_20_x_2_125_mambo_nr.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14479'
2023-10-13	13:37:12	4107	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:12	4107	[DEBUG]	Executed store
2023-10-13	13:37:12	4107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863599','14479','1')
2023-10-13	13:37:12	4107	[DEBUG]	Store product image relation
2023-10-13	13:37:12	4107	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:12	4107	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863599 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:12	4107	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:12	4107	[DEBUG]	Executed store
2023-10-13	13:37:12	4107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863599','0','26.8337975858867','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:12	4107	[DEBUG]	Checking manufacturer
2023-10-13	13:37:12	4107	[DEBUG]	Load a row
2023-10-13	13:37:12	4107	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:12	4107	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	13:37:12	4107	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:12	4107	[DEBUG]	Executed store
2023-10-13	13:37:12	4107	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331859464270' WHERE `virtuemart_manufacturer_id` = '134'
2023-10-13	13:37:12	4107	[DEBUG]	Manufacturer exists
2023-10-13	13:37:12	4107	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 134
2023-10-13	13:37:12	4107	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:12	4107	[DEBUG]	Executed store
2023-10-13	13:37:12	4107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863599','134')
2023-10-13	13:37:12	4107	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:12	4107	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:12	4107	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863599 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:12	4107	[DEBUG]	Store custom available field
2023-10-13	13:37:12	4107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863599,3,'',1)
2023-10-13	13:37:12	4107	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:12	4107	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:12	4107	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863599 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:12	4107	[DEBUG]	Store custom available field
2023-10-13	13:37:12	4107	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863599,6,'Unitaire',3)
2023-10-13	13:37:12	4107	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:12	4107	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:12	4107	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863598
2023-10-13	13:37:12	4107	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:12	4107	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863598\":[1863598,8,1,\"choisir la taille\"],\"1863599\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863598
2023-10-13	13:37:12	4107	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:12	4107	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863599
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:12	4108	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field taille
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:12	4108	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:12	4108	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:12	4108	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:12	4108	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:12	4108	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:12	4108	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field published
2023-10-13	13:37:12	4108	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:12	4108	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field override
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:12	4108	[DEBUG]	Use field value for field slug
2023-10-13	13:37:12	4108	[DEBUG]	Process line 4108
2023-10-13	13:37:12	4108	[DEBUG]	Load a row
2023-10-13	13:37:12	4108	[DEBUG]	Processing item: A_6067_1
2023-10-13	13:37:12	4108	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:12	4108	[DEBUG]	Processing product tax
2023-10-13	13:37:12	4108	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:12	4108	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:12	4108	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:12	4108	[DEBUG]	Query for Product
2023-10-13	13:37:12	4108	[DEBUG]	Executed store
2023-10-13	13:37:12	4108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6067_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:12	4108	[DEBUG]	Check product language entry
2023-10-13	13:37:12	4108	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863600
2023-10-13	13:37:12	4108	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:12	4108	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6067_1' AND `virtuemart_product_id` != 1863600
2023-10-13	13:37:12	4108	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:12	4108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863600, 'A_6067_1')
2023-10-13	13:37:12	4108	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:12	4108	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-marathon-greenguard-20-x-1-75-tringle-rigide-performance-noir' AND `virtuemart_product_id` != 1863600
2023-10-13	13:37:12	4108	[DEBUG]	Query for ProductLang
2023-10-13	13:37:12	4108	[DEBUG]	Executed store
2023-10-13	13:37:12	4108	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.03.397',`product_name`='SCHWALBE Marathon GreenGuard 20 x 1.75 tringle rigide performance / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-marathon-greenguard-20-x-1-75-tringle-rigide-performance-noir' WHERE `virtuemart_product_id` = '1863600'
2023-10-13	13:37:12	4108	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31758_schwalbe_marathon_greenguard_20_x_1_75_tringle_rigide_performance.png
2023-10-13	13:37:12	4108	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:37:12	4108	[DEBUG]	Process image file
2023-10-13	13:37:12	4108	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:37:12	4108	[DEBUG]	Mime type found: image/png
2023-10-13	13:37:12	4108	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31758_schwalbe_marathon_greenguard_20_x_1_75_tringle_rigide_performance.png
2023-10-13	13:37:12	4108	[DEBUG]	Full name target: bcprisme/31758_schwalbe_marathon_greenguard_20_x_1_75_tringle_rigide_performance.png
2023-10-13	13:37:13	4108	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:13	4108	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31758_schwalbe_marathon_greenguard_20_x_1_75_tringle_rigide_performance.png'
2023-10-13	13:37:13	4108	[DEBUG]	Query for Media
2023-10-13	13:37:13	4108	[DEBUG]	Executed store
2023-10-13	13:37:13	4108	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/31758_schwalbe_marathon_greenguard_20_x_1_75_tringle_rigide_performance.png',`file_url_thumb`='bcprisme/31758_schwalbe_marathon_greenguard_20_x_1_75_tringle_rigide_performance.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14480'
2023-10-13	13:37:13	4108	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:13	4108	[DEBUG]	Executed store
2023-10-13	13:37:13	4108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863600','14480','1')
2023-10-13	13:37:13	4108	[DEBUG]	Store product image relation
2023-10-13	13:37:13	4108	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:13	4108	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863600 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:13	4108	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:13	4108	[DEBUG]	Executed store
2023-10-13	13:37:13	4108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863600','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:13	4108	[DEBUG]	Checking manufacturer
2023-10-13	13:37:13	4108	[DEBUG]	Load a row
2023-10-13	13:37:13	4108	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:13	4108	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:13	4108	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:13	4108	[DEBUG]	Executed store
2023-10-13	13:37:13	4108	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:13	4108	[DEBUG]	Manufacturer exists
2023-10-13	13:37:13	4108	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:13	4108	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:13	4108	[DEBUG]	Executed store
2023-10-13	13:37:13	4108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863600','25')
2023-10-13	13:37:13	4108	[DEBUG]	Find the custom field ID
2023-10-13	13:37:13	4108	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:13	4108	[DEBUG]	No custom field ID found
2023-10-13	13:37:13	4108	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:13	4108	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:37:13	4108	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863600 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:13	4108	[DEBUG]	Store custom available field
2023-10-13	13:37:13	4108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863600,3,'39.7891666666667',1)
2023-10-13	13:37:13	4108	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:13	4108	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:13	4108	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863600 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:13	4108	[DEBUG]	Store custom available field
2023-10-13	13:37:13	4108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863600,6,'choisir la taille',3)
2023-10-13	13:37:13	4108	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:13	4108	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:13	4108	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:13	4108	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:13	4108	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863600 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:13	4108	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:13	4108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863600,8,1)
2023-10-13	13:37:13	4108	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:13	4108	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863600\":[1863600,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863600
2023-10-13	13:37:13	4108	[DEBUG]	Checking category
2023-10-13	13:37:13	4108	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:13	4108	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863600
2023-10-13	13:37:13	4108	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:13	4108	[DEBUG]	Executed store
2023-10-13	13:37:13	4108	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863600','7407')
2023-10-13	13:37:13	4108	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:13	4108	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863600 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:13	4108	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:13	4108	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863600
2023-10-13	13:37:13	4109	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:13	4109	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:13	4109	[DEBUG]	Use field value for field taille
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:13	4109	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:13	4109	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:13	4109	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:13	4109	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:13	4109	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:13	4109	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:13	4109	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:13	4109	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:13	4109	[DEBUG]	Use field value for field published
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:13	4109	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field override
2023-10-13	13:37:13	4109	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:13	4109	[DEBUG]	Use field value for field slug
2023-10-13	13:37:13	4109	[DEBUG]	Process line 4109
2023-10-13	13:37:13	4109	[DEBUG]	Load a row
2023-10-13	13:37:13	4109	[DEBUG]	Processing item: 4026495627252
2023-10-13	13:37:13	4109	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:13	4109	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:13	4109	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6067_1'
2023-10-13	13:37:13	4109	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:13	4109	[DEBUG]	Processing product tax
2023-10-13	13:37:13	4109	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:13	4109	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:13	4109	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:13	4109	[DEBUG]	Query for Product
2023-10-13	13:37:13	4109	[DEBUG]	Executed store
2023-10-13	13:37:13	4109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863600','4026495627252','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:13	4109	[DEBUG]	No parent found
2023-10-13	13:37:13	4109	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863600 AND customfield_value = 'stockable'
2023-10-13	13:37:13	4109	[DEBUG]	Check product language entry
2023-10-13	13:37:13	4109	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863601
2023-10-13	13:37:13	4109	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:13	4109	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495627252' AND `virtuemart_product_id` != 1863601
2023-10-13	13:37:13	4109	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:13	4109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863601, '4026495627252')
2023-10-13	13:37:13	4109	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:13	4109	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-marathon-greenguard-20-x-1-75-tringle-rigide-performance-noir-unitaire' AND `virtuemart_product_id` != 1863601
2023-10-13	13:37:13	4109	[DEBUG]	Query for ProductLang
2023-10-13	13:37:13	4109	[DEBUG]	Executed store
2023-10-13	13:37:13	4109	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Marathon GreenGuard 20 x 1.75 tringle rigide performance / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-marathon-greenguard-20-x-1-75-tringle-rigide-performance-noir-unitaire' WHERE `virtuemart_product_id` = '1863601'
2023-10-13	13:37:13	4109	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31758_schwalbe_marathon_greenguard_20_x_1_75_tringle_rigide_performance.png
2023-10-13	13:37:13	4109	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:37:13	4109	[DEBUG]	Process image file
2023-10-13	13:37:13	4109	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:37:13	4109	[DEBUG]	Mime type found: image/png
2023-10-13	13:37:13	4109	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31758_schwalbe_marathon_greenguard_20_x_1_75_tringle_rigide_performance.png
2023-10-13	13:37:13	4109	[DEBUG]	Full name target: bcprisme/31758_schwalbe_marathon_greenguard_20_x_1_75_tringle_rigide_performance.png
2023-10-13	13:37:15	4109	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:15	4109	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31758_schwalbe_marathon_greenguard_20_x_1_75_tringle_rigide_performance.png'
2023-10-13	13:37:15	4109	[DEBUG]	Query for Media
2023-10-13	13:37:15	4109	[DEBUG]	Executed store
2023-10-13	13:37:15	4109	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/31758_schwalbe_marathon_greenguard_20_x_1_75_tringle_rigide_performance.png',`file_url_thumb`='bcprisme/31758_schwalbe_marathon_greenguard_20_x_1_75_tringle_rigide_performance.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14480'
2023-10-13	13:37:15	4109	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:15	4109	[DEBUG]	Executed store
2023-10-13	13:37:15	4109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863601','14480','1')
2023-10-13	13:37:15	4109	[DEBUG]	Store product image relation
2023-10-13	13:37:15	4109	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:15	4109	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863601 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:15	4109	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:15	4109	[DEBUG]	Executed store
2023-10-13	13:37:15	4109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863601','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:15	4109	[DEBUG]	Checking manufacturer
2023-10-13	13:37:15	4109	[DEBUG]	Load a row
2023-10-13	13:37:15	4109	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:15	4109	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:15	4109	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:15	4109	[DEBUG]	Executed store
2023-10-13	13:37:15	4109	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:15	4109	[DEBUG]	Manufacturer exists
2023-10-13	13:37:15	4109	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:15	4109	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:15	4109	[DEBUG]	Executed store
2023-10-13	13:37:15	4109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863601','25')
2023-10-13	13:37:15	4109	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:15	4109	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:15	4109	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863601 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:15	4109	[DEBUG]	Store custom available field
2023-10-13	13:37:15	4109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863601,3,'',1)
2023-10-13	13:37:15	4109	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:15	4109	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:15	4109	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863601 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:15	4109	[DEBUG]	Store custom available field
2023-10-13	13:37:15	4109	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863601,6,'Unitaire',3)
2023-10-13	13:37:15	4109	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:15	4109	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:15	4109	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863600
2023-10-13	13:37:15	4109	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:15	4109	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863600\":[1863600,8,1,\"choisir la taille\"],\"1863601\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863600
2023-10-13	13:37:15	4109	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:15	4109	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863601
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:15	4110	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field taille
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:15	4110	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:15	4110	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:15	4110	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:15	4110	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:15	4110	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:15	4110	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field published
2023-10-13	13:37:15	4110	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:15	4110	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field override
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:15	4110	[DEBUG]	Use field value for field slug
2023-10-13	13:37:15	4110	[DEBUG]	Process line 4110
2023-10-13	13:37:15	4110	[DEBUG]	Load a row
2023-10-13	13:37:15	4110	[DEBUG]	Processing item: A_6135_208
2023-10-13	13:37:15	4110	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:15	4110	[DEBUG]	Processing product tax
2023-10-13	13:37:15	4110	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:15	4110	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:15	4110	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:15	4110	[DEBUG]	Query for Product
2023-10-13	13:37:15	4110	[DEBUG]	Executed store
2023-10-13	13:37:15	4110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6135_208','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:15	4110	[DEBUG]	Check product language entry
2023-10-13	13:37:15	4110	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863602
2023-10-13	13:37:15	4110	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:15	4110	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6135_208' AND `virtuemart_product_id` != 1863602
2023-10-13	13:37:15	4110	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:15	4110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863602, 'A_6135_208')
2023-10-13	13:37:15	4110	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:15	4110	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-mad-mike-20x1-75-rigide-black-aucune' AND `virtuemart_product_id` != 1863602
2023-10-13	13:37:15	4110	[DEBUG]	Query for ProductLang
2023-10-13	13:37:15	4110	[DEBUG]	Executed store
2023-10-13	13:37:15	4110	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56669',`product_name`='Schwalbe Pneu Mad Mike 20x1.75 rigide black / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-mad-mike-20x1-75-rigide-black-aucune' WHERE `virtuemart_product_id` = '1863602'
2023-10-13	13:37:15	4110	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31829_schwalbe_pneu_mad_mike_20x1_75_rigide_black.jpg
2023-10-13	13:37:15	4110	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:15	4110	[DEBUG]	Process image file
2023-10-13	13:37:15	4110	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:15	4110	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:15	4110	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31829_schwalbe_pneu_mad_mike_20x1_75_rigide_black.jpg
2023-10-13	13:37:15	4110	[DEBUG]	Full name target: bcprisme/31829_schwalbe_pneu_mad_mike_20x1_75_rigide_black.jpg
2023-10-13	13:37:16	4110	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:16	4110	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31829_schwalbe_pneu_mad_mike_20x1_75_rigide_black.jpg'
2023-10-13	13:37:16	4110	[DEBUG]	Query for Media
2023-10-13	13:37:16	4110	[DEBUG]	Executed store
2023-10-13	13:37:16	4110	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31829_schwalbe_pneu_mad_mike_20x1_75_rigide_black.jpg',`file_url_thumb`='bcprisme/31829_schwalbe_pneu_mad_mike_20x1_75_rigide_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14481'
2023-10-13	13:37:16	4110	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:16	4110	[DEBUG]	Executed store
2023-10-13	13:37:16	4110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863602','14481','1')
2023-10-13	13:37:16	4110	[DEBUG]	Store product image relation
2023-10-13	13:37:16	4110	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:16	4110	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863602 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:16	4110	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:16	4110	[DEBUG]	Executed store
2023-10-13	13:37:16	4110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863602','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:16	4110	[DEBUG]	Checking manufacturer
2023-10-13	13:37:16	4110	[DEBUG]	Load a row
2023-10-13	13:37:16	4110	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:16	4110	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:16	4110	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:16	4110	[DEBUG]	Executed store
2023-10-13	13:37:16	4110	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:16	4110	[DEBUG]	Manufacturer exists
2023-10-13	13:37:16	4110	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:37:16	4110	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:16	4110	[DEBUG]	Executed store
2023-10-13	13:37:16	4110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863602','77')
2023-10-13	13:37:16	4110	[DEBUG]	Find the custom field ID
2023-10-13	13:37:16	4110	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:16	4110	[DEBUG]	No custom field ID found
2023-10-13	13:37:16	4110	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:16	4110	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:37:16	4110	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863602 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:16	4110	[DEBUG]	Store custom available field
2023-10-13	13:37:16	4110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863602,3,'0',1)
2023-10-13	13:37:16	4110	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:16	4110	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:16	4110	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863602 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:16	4110	[DEBUG]	Store custom available field
2023-10-13	13:37:16	4110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863602,6,'choisir la taille',3)
2023-10-13	13:37:16	4110	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:16	4110	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:16	4110	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:16	4110	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:16	4110	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863602 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:16	4110	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:16	4110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863602,8,1)
2023-10-13	13:37:16	4110	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:16	4110	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863602\":[1863602,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863602
2023-10-13	13:37:16	4110	[DEBUG]	Checking category
2023-10-13	13:37:16	4110	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:16	4110	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863602
2023-10-13	13:37:16	4110	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:16	4110	[DEBUG]	Executed store
2023-10-13	13:37:16	4110	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863602','7407')
2023-10-13	13:37:16	4110	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:16	4110	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863602 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:16	4110	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:16	4110	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863602
2023-10-13	13:37:16	4111	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:16	4111	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:16	4111	[DEBUG]	Use field value for field taille
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:16	4111	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:16	4111	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:16	4111	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:16	4111	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:16	4111	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:16	4111	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:16	4111	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:16	4111	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:16	4111	[DEBUG]	Use field value for field published
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:16	4111	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field override
2023-10-13	13:37:16	4111	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:16	4111	[DEBUG]	Use field value for field slug
2023-10-13	13:37:16	4111	[DEBUG]	Process line 4111
2023-10-13	13:37:16	4111	[DEBUG]	Load a row
2023-10-13	13:37:16	4111	[DEBUG]	Processing item: 4026495674515
2023-10-13	13:37:16	4111	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:16	4111	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:16	4111	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6135_208'
2023-10-13	13:37:16	4111	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:16	4111	[DEBUG]	Processing product tax
2023-10-13	13:37:16	4111	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:16	4111	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:16	4111	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:16	4111	[DEBUG]	Query for Product
2023-10-13	13:37:16	4111	[DEBUG]	Executed store
2023-10-13	13:37:16	4111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863602','4026495674515','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:16	4111	[DEBUG]	No parent found
2023-10-13	13:37:16	4111	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863602 AND customfield_value = 'stockable'
2023-10-13	13:37:16	4111	[DEBUG]	Check product language entry
2023-10-13	13:37:16	4111	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863603
2023-10-13	13:37:16	4111	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:16	4111	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495674515' AND `virtuemart_product_id` != 1863603
2023-10-13	13:37:16	4111	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:16	4111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863603, '4026495674515')
2023-10-13	13:37:16	4111	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:16	4111	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-mad-mike-20x1-75-rigide-black-aucune-all' AND `virtuemart_product_id` != 1863603
2023-10-13	13:37:16	4111	[DEBUG]	Query for ProductLang
2023-10-13	13:37:16	4111	[DEBUG]	Executed store
2023-10-13	13:37:16	4111	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Pneu Mad Mike 20x1.75 rigide black / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-mad-mike-20x1-75-rigide-black-aucune-all' WHERE `virtuemart_product_id` = '1863603'
2023-10-13	13:37:16	4111	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31829_schwalbe_pneu_mad_mike_20x1_75_rigide_black.jpg
2023-10-13	13:37:16	4111	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:16	4111	[DEBUG]	Process image file
2023-10-13	13:37:16	4111	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:16	4111	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:16	4111	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31829_schwalbe_pneu_mad_mike_20x1_75_rigide_black.jpg
2023-10-13	13:37:16	4111	[DEBUG]	Full name target: bcprisme/31829_schwalbe_pneu_mad_mike_20x1_75_rigide_black.jpg
2023-10-13	13:37:17	4111	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:17	4111	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31829_schwalbe_pneu_mad_mike_20x1_75_rigide_black.jpg'
2023-10-13	13:37:17	4111	[DEBUG]	Query for Media
2023-10-13	13:37:17	4111	[DEBUG]	Executed store
2023-10-13	13:37:17	4111	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31829_schwalbe_pneu_mad_mike_20x1_75_rigide_black.jpg',`file_url_thumb`='bcprisme/31829_schwalbe_pneu_mad_mike_20x1_75_rigide_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14481'
2023-10-13	13:37:17	4111	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:17	4111	[DEBUG]	Executed store
2023-10-13	13:37:17	4111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863603','14481','1')
2023-10-13	13:37:17	4111	[DEBUG]	Store product image relation
2023-10-13	13:37:17	4111	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:17	4111	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863603 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:17	4111	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:17	4111	[DEBUG]	Executed store
2023-10-13	13:37:17	4111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863603','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:17	4111	[DEBUG]	Checking manufacturer
2023-10-13	13:37:17	4111	[DEBUG]	Load a row
2023-10-13	13:37:17	4111	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:17	4111	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:17	4111	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:17	4111	[DEBUG]	Executed store
2023-10-13	13:37:17	4111	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:17	4111	[DEBUG]	Manufacturer exists
2023-10-13	13:37:17	4111	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:37:17	4111	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:17	4111	[DEBUG]	Executed store
2023-10-13	13:37:17	4111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863603','77')
2023-10-13	13:37:17	4111	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:17	4111	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:17	4111	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863603 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:17	4111	[DEBUG]	Store custom available field
2023-10-13	13:37:17	4111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863603,3,'',1)
2023-10-13	13:37:17	4111	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:17	4111	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:37:17	4111	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863603 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:17	4111	[DEBUG]	Store custom available field
2023-10-13	13:37:17	4111	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863603,6,'All',3)
2023-10-13	13:37:17	4111	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:17	4111	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:17	4111	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863602
2023-10-13	13:37:17	4111	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:17	4111	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863602\":[1863602,8,1,\"choisir la taille\"],\"1863603\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863602
2023-10-13	13:37:17	4111	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:17	4111	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863603
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:17	4112	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field taille
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:17	4112	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:17	4112	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:17	4112	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:17	4112	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:17	4112	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:17	4112	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field published
2023-10-13	13:37:17	4112	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:17	4112	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field override
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:17	4112	[DEBUG]	Use field value for field slug
2023-10-13	13:37:17	4112	[DEBUG]	Process line 4112
2023-10-13	13:37:17	4112	[DEBUG]	Load a row
2023-10-13	13:37:17	4112	[DEBUG]	Processing item: A_7157_1
2023-10-13	13:37:17	4112	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:17	4112	[DEBUG]	Processing product tax
2023-10-13	13:37:17	4112	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:17	4112	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:17	4112	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:17	4112	[DEBUG]	Query for Product
2023-10-13	13:37:17	4112	[DEBUG]	Executed store
2023-10-13	13:37:17	4112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7157_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:17	4112	[DEBUG]	Check product language entry
2023-10-13	13:37:17	4112	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863604
2023-10-13	13:37:17	4112	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:17	4112	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7157_1' AND `virtuemart_product_id` != 1863604
2023-10-13	13:37:17	4112	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:17	4112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863604, 'A_7157_1')
2023-10-13	13:37:17	4112	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:17	4112	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-big-ben-plus-20x2-15-noir' AND `virtuemart_product_id` != 1863604
2023-10-13	13:37:17	4112	[DEBUG]	Query for ProductLang
2023-10-13	13:37:17	4112	[DEBUG]	Executed store
2023-10-13	13:37:17	4112	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.70028',`product_name`='Schwalbe Pneu Big Ben Plus 20x2.15 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-big-ben-plus-20x2-15-noir' WHERE `virtuemart_product_id` = '1863604'
2023-10-13	13:37:17	4112	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_69030.jpg
2023-10-13	13:37:17	4112	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:17	4112	[DEBUG]	Process image file
2023-10-13	13:37:17	4112	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:17	4112	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:17	4112	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_69030.jpg
2023-10-13	13:37:17	4112	[DEBUG]	Full name target: bcprisme/24_69030.jpg
2023-10-13	13:37:18	4112	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:18	4112	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_69030.jpg'
2023-10-13	13:37:18	4112	[DEBUG]	Query for Media
2023-10-13	13:37:18	4112	[DEBUG]	Executed store
2023-10-13	13:37:18	4112	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_69030.jpg',`file_url_thumb`='bcprisme/24_69030.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438221'
2023-10-13	13:37:18	4112	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:18	4112	[DEBUG]	Executed store
2023-10-13	13:37:18	4112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863604','438221','1')
2023-10-13	13:37:18	4112	[DEBUG]	Store product image relation
2023-10-13	13:37:18	4112	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:18	4112	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863604 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:18	4112	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:18	4112	[DEBUG]	Executed store
2023-10-13	13:37:18	4112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863604','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:18	4112	[DEBUG]	Checking manufacturer
2023-10-13	13:37:18	4112	[DEBUG]	Load a row
2023-10-13	13:37:18	4112	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:18	4112	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:18	4112	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:18	4112	[DEBUG]	Executed store
2023-10-13	13:37:18	4112	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:18	4112	[DEBUG]	Manufacturer exists
2023-10-13	13:37:18	4112	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:37:18	4112	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:18	4112	[DEBUG]	Executed store
2023-10-13	13:37:18	4112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863604','77')
2023-10-13	13:37:18	4112	[DEBUG]	Find the custom field ID
2023-10-13	13:37:18	4112	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:18	4112	[DEBUG]	No custom field ID found
2023-10-13	13:37:18	4112	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:18	4112	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:37:18	4112	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863604 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:18	4112	[DEBUG]	Store custom available field
2023-10-13	13:37:18	4112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863604,3,'0',1)
2023-10-13	13:37:18	4112	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:18	4112	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:18	4112	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863604 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:18	4112	[DEBUG]	Store custom available field
2023-10-13	13:37:18	4112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863604,6,'choisir la taille',3)
2023-10-13	13:37:18	4112	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:18	4112	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:18	4112	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:18	4112	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:18	4112	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863604 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:18	4112	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:18	4112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863604,8,1)
2023-10-13	13:37:18	4112	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:18	4112	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863604\":[1863604,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863604
2023-10-13	13:37:18	4112	[DEBUG]	Checking category
2023-10-13	13:37:18	4112	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:18	4112	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863604
2023-10-13	13:37:18	4112	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:18	4112	[DEBUG]	Executed store
2023-10-13	13:37:18	4112	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863604','7407')
2023-10-13	13:37:18	4112	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:18	4112	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863604 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:18	4112	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:18	4112	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863604
2023-10-13	13:37:18	4113	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:18	4113	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:18	4113	[DEBUG]	Use field value for field taille
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:18	4113	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:18	4113	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:18	4113	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:18	4113	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:18	4113	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:18	4113	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:18	4113	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:18	4113	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:18	4113	[DEBUG]	Use field value for field published
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:18	4113	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field override
2023-10-13	13:37:18	4113	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:18	4113	[DEBUG]	Use field value for field slug
2023-10-13	13:37:18	4113	[DEBUG]	Process line 4113
2023-10-13	13:37:18	4113	[DEBUG]	Load a row
2023-10-13	13:37:18	4113	[DEBUG]	Processing item: 4026495787901
2023-10-13	13:37:18	4113	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:18	4113	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:18	4113	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7157_1'
2023-10-13	13:37:18	4113	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:18	4113	[DEBUG]	Processing product tax
2023-10-13	13:37:18	4113	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:18	4113	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:18	4113	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:18	4113	[DEBUG]	Query for Product
2023-10-13	13:37:18	4113	[DEBUG]	Executed store
2023-10-13	13:37:18	4113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863604','4026495787901','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:18	4113	[DEBUG]	No parent found
2023-10-13	13:37:18	4113	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863604 AND customfield_value = 'stockable'
2023-10-13	13:37:18	4113	[DEBUG]	Check product language entry
2023-10-13	13:37:18	4113	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863605
2023-10-13	13:37:18	4113	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:18	4113	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495787901' AND `virtuemart_product_id` != 1863605
2023-10-13	13:37:18	4113	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:18	4113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863605, '4026495787901')
2023-10-13	13:37:18	4113	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:18	4113	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-big-ben-plus-20x2-15-noir-all' AND `virtuemart_product_id` != 1863605
2023-10-13	13:37:18	4113	[DEBUG]	Query for ProductLang
2023-10-13	13:37:18	4113	[DEBUG]	Executed store
2023-10-13	13:37:18	4113	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Pneu Big Ben Plus 20x2.15 / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-big-ben-plus-20x2-15-noir-all' WHERE `virtuemart_product_id` = '1863605'
2023-10-13	13:37:18	4113	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_69030.jpg
2023-10-13	13:37:18	4113	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:18	4113	[DEBUG]	Process image file
2023-10-13	13:37:18	4113	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:18	4113	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:18	4113	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_69030.jpg
2023-10-13	13:37:18	4113	[DEBUG]	Full name target: bcprisme/24_69030.jpg
2023-10-13	13:37:19	4113	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:19	4113	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_69030.jpg'
2023-10-13	13:37:19	4113	[DEBUG]	Query for Media
2023-10-13	13:37:19	4113	[DEBUG]	Executed store
2023-10-13	13:37:19	4113	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_69030.jpg',`file_url_thumb`='bcprisme/24_69030.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438221'
2023-10-13	13:37:19	4113	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:19	4113	[DEBUG]	Executed store
2023-10-13	13:37:19	4113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863605','438221','1')
2023-10-13	13:37:19	4113	[DEBUG]	Store product image relation
2023-10-13	13:37:19	4113	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:19	4113	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863605 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:19	4113	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:19	4113	[DEBUG]	Executed store
2023-10-13	13:37:19	4113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863605','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:19	4113	[DEBUG]	Checking manufacturer
2023-10-13	13:37:19	4113	[DEBUG]	Load a row
2023-10-13	13:37:19	4113	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:19	4113	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:19	4113	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:19	4113	[DEBUG]	Executed store
2023-10-13	13:37:19	4113	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:19	4113	[DEBUG]	Manufacturer exists
2023-10-13	13:37:19	4113	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:37:19	4113	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:19	4113	[DEBUG]	Executed store
2023-10-13	13:37:19	4113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863605','77')
2023-10-13	13:37:19	4113	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:19	4113	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:19	4113	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863605 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:19	4113	[DEBUG]	Store custom available field
2023-10-13	13:37:19	4113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863605,3,'',1)
2023-10-13	13:37:19	4113	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:19	4113	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:37:19	4113	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863605 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:19	4113	[DEBUG]	Store custom available field
2023-10-13	13:37:19	4113	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863605,6,'All',3)
2023-10-13	13:37:19	4113	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:19	4113	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:19	4113	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863604
2023-10-13	13:37:19	4113	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:19	4113	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863604\":[1863604,8,1,\"choisir la taille\"],\"1863605\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863604
2023-10-13	13:37:19	4113	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:19	4113	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863605
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:19	4114	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field taille
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:19	4114	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:19	4114	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:19	4114	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:19	4114	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:19	4114	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:19	4114	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field published
2023-10-13	13:37:19	4114	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:19	4114	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field override
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:19	4114	[DEBUG]	Use field value for field slug
2023-10-13	13:37:19	4114	[DEBUG]	Process line 4114
2023-10-13	13:37:19	4114	[DEBUG]	Load a row
2023-10-13	13:37:19	4114	[DEBUG]	Processing item: A_7790_84
2023-10-13	13:37:19	4114	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:19	4114	[DEBUG]	Processing product tax
2023-10-13	13:37:19	4114	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:19	4114	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:19	4114	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:19	4114	[DEBUG]	Query for Product
2023-10-13	13:37:19	4114	[DEBUG]	Executed store
2023-10-13	13:37:19	4114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7790_84','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:19	4114	[DEBUG]	Check product language entry
2023-10-13	13:37:19	4114	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863606
2023-10-13	13:37:19	4114	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:19	4114	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7790_84' AND `virtuemart_product_id` != 1863606
2023-10-13	13:37:19	4114	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:19	4114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863606, 'A_7790_84')
2023-10-13	13:37:19	4114	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:19	4114	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-pick-up-20x2-35-rigide-avec-bande-reflechissante-black-black' AND `virtuemart_product_id` != 1863606
2023-10-13	13:37:19	4114	[DEBUG]	Query for ProductLang
2023-10-13	13:37:19	4114	[DEBUG]	Executed store
2023-10-13	13:37:19	4114	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.79982',`product_name`='SCHWALBE Pneu Pick-Up 20x2.35 rigide avec bande réfléchissante black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-pick-up-20x2-35-rigide-avec-bande-reflechissante-black-black' WHERE `virtuemart_product_id` = '1863606'
2023-10-13	13:37:19	4114	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79983_01_jpg.jpg
2023-10-13	13:37:19	4114	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:19	4114	[DEBUG]	Process image file
2023-10-13	13:37:19	4114	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:19	4114	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:19	4114	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79983_01_jpg.jpg
2023-10-13	13:37:19	4114	[DEBUG]	Full name target: bcprisme/24_79983_01_jpg.jpg
2023-10-13	13:37:20	4114	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:20	4114	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_79983_01_jpg.jpg'
2023-10-13	13:37:20	4114	[DEBUG]	Query for Media
2023-10-13	13:37:20	4114	[DEBUG]	Executed store
2023-10-13	13:37:20	4114	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_79983_01_jpg.jpg',`file_url_thumb`='bcprisme/24_79983_01_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '482260'
2023-10-13	13:37:20	4114	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:20	4114	[DEBUG]	Executed store
2023-10-13	13:37:20	4114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863606','482260','1')
2023-10-13	13:37:20	4114	[DEBUG]	Store product image relation
2023-10-13	13:37:20	4114	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:20	4114	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863606 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:20	4114	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:20	4114	[DEBUG]	Executed store
2023-10-13	13:37:20	4114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863606','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:20	4114	[DEBUG]	Checking manufacturer
2023-10-13	13:37:20	4114	[DEBUG]	Load a row
2023-10-13	13:37:20	4114	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:20	4114	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:20	4114	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:20	4114	[DEBUG]	Executed store
2023-10-13	13:37:20	4114	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:20	4114	[DEBUG]	Manufacturer exists
2023-10-13	13:37:20	4114	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:37:20	4114	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:20	4114	[DEBUG]	Executed store
2023-10-13	13:37:20	4114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863606','24')
2023-10-13	13:37:20	4114	[DEBUG]	Find the custom field ID
2023-10-13	13:37:20	4114	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:20	4114	[DEBUG]	No custom field ID found
2023-10-13	13:37:20	4114	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:20	4114	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:37:20	4114	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863606 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:20	4114	[DEBUG]	Store custom available field
2023-10-13	13:37:20	4114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863606,3,'0',1)
2023-10-13	13:37:20	4114	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:20	4114	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:20	4114	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863606 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:20	4114	[DEBUG]	Store custom available field
2023-10-13	13:37:20	4114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863606,6,'choisir la taille',3)
2023-10-13	13:37:20	4114	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:20	4114	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:20	4114	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:20	4114	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:20	4114	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863606 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:20	4114	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:20	4114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863606,8,1)
2023-10-13	13:37:20	4114	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:20	4114	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863606\":[1863606,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863606
2023-10-13	13:37:20	4114	[DEBUG]	Checking category
2023-10-13	13:37:20	4114	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:20	4114	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863606
2023-10-13	13:37:20	4114	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:20	4114	[DEBUG]	Executed store
2023-10-13	13:37:20	4114	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863606','7407')
2023-10-13	13:37:20	4114	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:20	4114	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863606 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:20	4114	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:20	4114	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863606
2023-10-13	13:37:20	4115	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:20	4115	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:20	4115	[DEBUG]	Use field value for field taille
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:20	4115	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:20	4115	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:20	4115	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:20	4115	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:20	4115	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:20	4115	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:20	4115	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:20	4115	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:20	4115	[DEBUG]	Use field value for field published
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:20	4115	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field override
2023-10-13	13:37:20	4115	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:20	4115	[DEBUG]	Use field value for field slug
2023-10-13	13:37:20	4115	[DEBUG]	Process line 4115
2023-10-13	13:37:20	4115	[DEBUG]	Load a row
2023-10-13	13:37:20	4115	[DEBUG]	Processing item: 4026495892575
2023-10-13	13:37:20	4115	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:20	4115	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:20	4115	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7790_84'
2023-10-13	13:37:20	4115	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:20	4115	[DEBUG]	Processing product tax
2023-10-13	13:37:20	4115	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:20	4115	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:20	4115	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:20	4115	[DEBUG]	Query for Product
2023-10-13	13:37:20	4115	[DEBUG]	Executed store
2023-10-13	13:37:20	4115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863606','4026495892575','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:20	4115	[DEBUG]	No parent found
2023-10-13	13:37:20	4115	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863606 AND customfield_value = 'stockable'
2023-10-13	13:37:20	4115	[DEBUG]	Check product language entry
2023-10-13	13:37:20	4115	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863607
2023-10-13	13:37:20	4115	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:20	4115	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495892575' AND `virtuemart_product_id` != 1863607
2023-10-13	13:37:20	4115	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:20	4115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863607, '4026495892575')
2023-10-13	13:37:20	4115	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:20	4115	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-pick-up-20x2-35-rigide-avec-bande-reflechissante-black-black-unitaire' AND `virtuemart_product_id` != 1863607
2023-10-13	13:37:20	4115	[DEBUG]	Query for ProductLang
2023-10-13	13:37:20	4115	[DEBUG]	Executed store
2023-10-13	13:37:20	4115	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Pick-Up 20x2.35 rigide avec bande réfléchissante black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-pick-up-20x2-35-rigide-avec-bande-reflechissante-black-black-unitaire' WHERE `virtuemart_product_id` = '1863607'
2023-10-13	13:37:20	4115	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79983_01_jpg.jpg
2023-10-13	13:37:20	4115	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:20	4115	[DEBUG]	Process image file
2023-10-13	13:37:20	4115	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:20	4115	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:20	4115	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79983_01_jpg.jpg
2023-10-13	13:37:20	4115	[DEBUG]	Full name target: bcprisme/24_79983_01_jpg.jpg
2023-10-13	13:37:21	4115	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:21	4115	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_79983_01_jpg.jpg'
2023-10-13	13:37:21	4115	[DEBUG]	Query for Media
2023-10-13	13:37:21	4115	[DEBUG]	Executed store
2023-10-13	13:37:21	4115	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_79983_01_jpg.jpg',`file_url_thumb`='bcprisme/24_79983_01_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '482260'
2023-10-13	13:37:21	4115	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:21	4115	[DEBUG]	Executed store
2023-10-13	13:37:21	4115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863607','482260','1')
2023-10-13	13:37:21	4115	[DEBUG]	Store product image relation
2023-10-13	13:37:21	4115	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:21	4115	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863607 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:21	4115	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:21	4115	[DEBUG]	Executed store
2023-10-13	13:37:21	4115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863607','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:21	4115	[DEBUG]	Checking manufacturer
2023-10-13	13:37:21	4115	[DEBUG]	Load a row
2023-10-13	13:37:21	4115	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:21	4115	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:21	4115	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:21	4115	[DEBUG]	Executed store
2023-10-13	13:37:21	4115	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:21	4115	[DEBUG]	Manufacturer exists
2023-10-13	13:37:21	4115	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:37:21	4115	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:21	4115	[DEBUG]	Executed store
2023-10-13	13:37:21	4115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863607','24')
2023-10-13	13:37:21	4115	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:21	4115	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:21	4115	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863607 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:21	4115	[DEBUG]	Store custom available field
2023-10-13	13:37:21	4115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863607,3,'',1)
2023-10-13	13:37:21	4115	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:21	4115	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:21	4115	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863607 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:21	4115	[DEBUG]	Store custom available field
2023-10-13	13:37:21	4115	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863607,6,'Unitaire',3)
2023-10-13	13:37:21	4115	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:21	4115	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:21	4115	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863606
2023-10-13	13:37:21	4115	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:21	4115	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863606\":[1863606,8,1,\"choisir la taille\"],\"1863607\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863606
2023-10-13	13:37:21	4115	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:21	4115	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863607
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:21	4116	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field taille
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:21	4116	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:21	4116	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:21	4116	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:21	4116	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:21	4116	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:21	4116	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field published
2023-10-13	13:37:21	4116	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:21	4116	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field override
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:21	4116	[DEBUG]	Use field value for field slug
2023-10-13	13:37:21	4116	[DEBUG]	Process line 4116
2023-10-13	13:37:21	4116	[DEBUG]	Load a row
2023-10-13	13:37:21	4116	[DEBUG]	Processing item: A_8003_547
2023-10-13	13:37:21	4116	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:21	4116	[DEBUG]	Processing product tax
2023-10-13	13:37:21	4116	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:21	4116	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:21	4116	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:21	4116	[DEBUG]	Query for Product
2023-10-13	13:37:21	4116	[DEBUG]	Executed store
2023-10-13	13:37:21	4116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8003_547','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:21	4116	[DEBUG]	Check product language entry
2023-10-13	13:37:21	4116	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863608
2023-10-13	13:37:21	4116	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:21	4116	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8003_547' AND `virtuemart_product_id` != 1863608
2023-10-13	13:37:21	4116	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:21	4116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863608, 'A_8003_547')
2023-10-13	13:37:21	4116	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:21	4116	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-marathon-gt-365-20-x-2-15-dual-guard-reflex-noir' AND `virtuemart_product_id` != 1863608
2023-10-13	13:37:21	4116	[DEBUG]	Query for ProductLang
2023-10-13	13:37:21	4116	[DEBUG]	Executed store
2023-10-13	13:37:21	4116	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.798',`product_name`='SCHWALBE Marathon GT 365 20 x 2.15 Dual Guard Reflex / noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-marathon-gt-365-20-x-2-15-dual-guard-reflex-noir' WHERE `virtuemart_product_id` = '1863608'
2023-10-13	13:37:21	4116	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36486_schwalbe_marathon_gt_365_20_x_2_15_dual_guard_reflex.jpg
2023-10-13	13:37:21	4116	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:37:21	4116	[DEBUG]	Process image file
2023-10-13	13:37:21	4116	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:37:21	4116	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:21	4116	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36486_schwalbe_marathon_gt_365_20_x_2_15_dual_guard_reflex.jpg
2023-10-13	13:37:21	4116	[DEBUG]	Full name target: bcprisme/36486_schwalbe_marathon_gt_365_20_x_2_15_dual_guard_reflex.jpg
2023-10-13	13:37:22	4116	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:22	4116	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36486_schwalbe_marathon_gt_365_20_x_2_15_dual_guard_reflex.jpg'
2023-10-13	13:37:22	4116	[DEBUG]	Query for Media
2023-10-13	13:37:22	4116	[DEBUG]	Executed store
2023-10-13	13:37:22	4116	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36486_schwalbe_marathon_gt_365_20_x_2_15_dual_guard_reflex.jpg',`file_url_thumb`='bcprisme/36486_schwalbe_marathon_gt_365_20_x_2_15_dual_guard_reflex.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1005007'
2023-10-13	13:37:22	4116	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:22	4116	[DEBUG]	Executed store
2023-10-13	13:37:22	4116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863608','1005007','1')
2023-10-13	13:37:22	4116	[DEBUG]	Store product image relation
2023-10-13	13:37:22	4116	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:22	4116	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863608 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:22	4116	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:22	4116	[DEBUG]	Executed store
2023-10-13	13:37:22	4116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863608','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:22	4116	[DEBUG]	Checking manufacturer
2023-10-13	13:37:22	4116	[DEBUG]	Load a row
2023-10-13	13:37:22	4116	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:22	4116	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:22	4116	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:22	4116	[DEBUG]	Executed store
2023-10-13	13:37:22	4116	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:22	4116	[DEBUG]	Manufacturer exists
2023-10-13	13:37:22	4116	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:22	4116	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:22	4116	[DEBUG]	Executed store
2023-10-13	13:37:22	4116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863608','25')
2023-10-13	13:37:22	4116	[DEBUG]	Find the custom field ID
2023-10-13	13:37:22	4116	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:22	4116	[DEBUG]	No custom field ID found
2023-10-13	13:37:22	4116	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:22	4116	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:37:22	4116	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863608 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:22	4116	[DEBUG]	Store custom available field
2023-10-13	13:37:22	4116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863608,3,'39.7891666666667',1)
2023-10-13	13:37:22	4116	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:22	4116	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:22	4116	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863608 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:22	4116	[DEBUG]	Store custom available field
2023-10-13	13:37:22	4116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863608,6,'choisir la taille',3)
2023-10-13	13:37:22	4116	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:22	4116	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:22	4116	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:22	4116	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:22	4116	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863608 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:22	4116	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:22	4116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863608,8,1)
2023-10-13	13:37:22	4116	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:22	4116	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863608\":[1863608,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863608
2023-10-13	13:37:22	4116	[DEBUG]	Checking category
2023-10-13	13:37:22	4116	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:22	4116	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863608
2023-10-13	13:37:22	4116	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:22	4116	[DEBUG]	Executed store
2023-10-13	13:37:22	4116	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863608','7407')
2023-10-13	13:37:22	4116	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:22	4116	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863608 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:22	4116	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:22	4116	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863608
2023-10-13	13:37:22	4117	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:22	4117	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:22	4117	[DEBUG]	Use field value for field taille
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:22	4117	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:22	4117	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:22	4117	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:22	4117	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:22	4117	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:22	4117	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:22	4117	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:22	4117	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:22	4117	[DEBUG]	Use field value for field published
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:22	4117	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field override
2023-10-13	13:37:22	4117	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:22	4117	[DEBUG]	Use field value for field slug
2023-10-13	13:37:22	4117	[DEBUG]	Process line 4117
2023-10-13	13:37:22	4117	[DEBUG]	Load a row
2023-10-13	13:37:22	4117	[DEBUG]	Processing item: 4026495889889
2023-10-13	13:37:22	4117	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:22	4117	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:22	4117	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8003_547'
2023-10-13	13:37:22	4117	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:22	4117	[DEBUG]	Processing product tax
2023-10-13	13:37:22	4117	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:22	4117	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:22	4117	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:22	4117	[DEBUG]	Query for Product
2023-10-13	13:37:22	4117	[DEBUG]	Executed store
2023-10-13	13:37:22	4117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863608','4026495889889','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:22	4117	[DEBUG]	No parent found
2023-10-13	13:37:22	4117	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863608 AND customfield_value = 'stockable'
2023-10-13	13:37:22	4117	[DEBUG]	Check product language entry
2023-10-13	13:37:22	4117	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863609
2023-10-13	13:37:22	4117	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:22	4117	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495889889' AND `virtuemart_product_id` != 1863609
2023-10-13	13:37:22	4117	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:22	4117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863609, '4026495889889')
2023-10-13	13:37:22	4117	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:22	4117	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-marathon-gt-365-20-x-2-15-dual-guard-reflex-noir-unitaire' AND `virtuemart_product_id` != 1863609
2023-10-13	13:37:22	4117	[DEBUG]	Query for ProductLang
2023-10-13	13:37:22	4117	[DEBUG]	Executed store
2023-10-13	13:37:22	4117	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Marathon GT 365 20 x 2.15 Dual Guard Reflex / noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-marathon-gt-365-20-x-2-15-dual-guard-reflex-noir-unitaire' WHERE `virtuemart_product_id` = '1863609'
2023-10-13	13:37:22	4117	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36486_schwalbe_marathon_gt_365_20_x_2_15_dual_guard_reflex.jpg
2023-10-13	13:37:22	4117	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:37:22	4117	[DEBUG]	Process image file
2023-10-13	13:37:22	4117	[DEBUG]	Identity string: ffd8ffe000104a46494600010101012c012c0000
2023-10-13	13:37:22	4117	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:22	4117	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36486_schwalbe_marathon_gt_365_20_x_2_15_dual_guard_reflex.jpg
2023-10-13	13:37:22	4117	[DEBUG]	Full name target: bcprisme/36486_schwalbe_marathon_gt_365_20_x_2_15_dual_guard_reflex.jpg
2023-10-13	13:37:23	4117	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:23	4117	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36486_schwalbe_marathon_gt_365_20_x_2_15_dual_guard_reflex.jpg'
2023-10-13	13:37:23	4117	[DEBUG]	Query for Media
2023-10-13	13:37:23	4117	[DEBUG]	Executed store
2023-10-13	13:37:23	4117	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36486_schwalbe_marathon_gt_365_20_x_2_15_dual_guard_reflex.jpg',`file_url_thumb`='bcprisme/36486_schwalbe_marathon_gt_365_20_x_2_15_dual_guard_reflex.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1005007'
2023-10-13	13:37:23	4117	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:23	4117	[DEBUG]	Executed store
2023-10-13	13:37:23	4117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863609','1005007','1')
2023-10-13	13:37:23	4117	[DEBUG]	Store product image relation
2023-10-13	13:37:23	4117	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:23	4117	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863609 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:23	4117	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:23	4117	[DEBUG]	Executed store
2023-10-13	13:37:23	4117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863609','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:23	4117	[DEBUG]	Checking manufacturer
2023-10-13	13:37:23	4117	[DEBUG]	Load a row
2023-10-13	13:37:23	4117	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:23	4117	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:23	4117	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:23	4117	[DEBUG]	Executed store
2023-10-13	13:37:23	4117	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:23	4117	[DEBUG]	Manufacturer exists
2023-10-13	13:37:23	4117	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:23	4117	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:23	4117	[DEBUG]	Executed store
2023-10-13	13:37:23	4117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863609','25')
2023-10-13	13:37:23	4117	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:23	4117	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:23	4117	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863609 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:23	4117	[DEBUG]	Store custom available field
2023-10-13	13:37:23	4117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863609,3,'',1)
2023-10-13	13:37:23	4117	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:23	4117	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:23	4117	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863609 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:23	4117	[DEBUG]	Store custom available field
2023-10-13	13:37:23	4117	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863609,6,'Unitaire',3)
2023-10-13	13:37:23	4117	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:23	4117	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:23	4117	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863608
2023-10-13	13:37:23	4117	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:23	4117	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863608\":[1863608,8,1,\"choisir la taille\"],\"1863609\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863608
2023-10-13	13:37:23	4117	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:23	4117	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863609
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:23	4118	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field taille
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:23	4118	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:23	4118	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:23	4118	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:23	4118	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:23	4118	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:23	4118	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field published
2023-10-13	13:37:23	4118	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:23	4118	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field override
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:23	4118	[DEBUG]	Use field value for field slug
2023-10-13	13:37:23	4118	[DEBUG]	Process line 4118
2023-10-13	13:37:23	4118	[DEBUG]	Load a row
2023-10-13	13:37:23	4118	[DEBUG]	Processing item: A_8179_1
2023-10-13	13:37:23	4118	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:23	4118	[DEBUG]	Processing product tax
2023-10-13	13:37:23	4118	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:23	4118	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:23	4118	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:23	4118	[DEBUG]	Query for Product
2023-10-13	13:37:23	4118	[DEBUG]	Executed store
2023-10-13	13:37:23	4118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8179_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:23	4118	[DEBUG]	Check product language entry
2023-10-13	13:37:23	4118	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863610
2023-10-13	13:37:23	4118	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:23	4118	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8179_1' AND `virtuemart_product_id` != 1863610
2023-10-13	13:37:23	4118	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:23	4118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863610, 'A_8179_1')
2023-10-13	13:37:23	4118	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:23	4118	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fortune-pneus-20-x-1-75-noir' AND `virtuemart_product_id` != 1863610
2023-10-13	13:37:23	4118	[DEBUG]	Query for ProductLang
2023-10-13	13:37:23	4118	[DEBUG]	Executed store
2023-10-13	13:37:23	4118	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 57.SW20',`product_name`='FORTUNE PNEUS 20 x 1.75 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fortune-pneus-20-x-1-75-noir' WHERE `virtuemart_product_id` = '1863610'
2023-10-13	13:37:23	4118	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36751_pneus_20_x_1_75.jpg
2023-10-13	13:37:23	4118	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:23	4118	[DEBUG]	Process image file
2023-10-13	13:37:23	4118	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:23	4118	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:23	4118	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36751_pneus_20_x_1_75.jpg
2023-10-13	13:37:23	4118	[DEBUG]	Full name target: bcprisme/36751_pneus_20_x_1_75.jpg
2023-10-13	13:37:24	4118	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:24	4118	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36751_pneus_20_x_1_75.jpg'
2023-10-13	13:37:24	4118	[DEBUG]	Query for Media
2023-10-13	13:37:24	4118	[DEBUG]	Executed store
2023-10-13	13:37:24	4118	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36751_pneus_20_x_1_75.jpg',`file_url_thumb`='bcprisme/36751_pneus_20_x_1_75.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '700118'
2023-10-13	13:37:24	4118	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:24	4118	[DEBUG]	Executed store
2023-10-13	13:37:24	4118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863610','700118','1')
2023-10-13	13:37:24	4118	[DEBUG]	Store product image relation
2023-10-13	13:37:24	4118	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:24	4118	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863610 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:24	4118	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:24	4118	[DEBUG]	Executed store
2023-10-13	13:37:24	4118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863610','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:24	4118	[DEBUG]	Checking manufacturer
2023-10-13	13:37:24	4118	[DEBUG]	Load a row
2023-10-13	13:37:24	4118	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:24	4118	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:37:24	4118	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:24	4118	[DEBUG]	Executed store
2023-10-13	13:37:24	4118	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21846525543' WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:37:24	4118	[DEBUG]	Manufacturer exists
2023-10-13	13:37:24	4118	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 130
2023-10-13	13:37:24	4118	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:24	4118	[DEBUG]	Executed store
2023-10-13	13:37:24	4118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863610','130')
2023-10-13	13:37:24	4118	[DEBUG]	Find the custom field ID
2023-10-13	13:37:24	4118	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:24	4118	[DEBUG]	No custom field ID found
2023-10-13	13:37:24	4118	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:24	4118	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:37:24	4118	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863610 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:24	4118	[DEBUG]	Store custom available field
2023-10-13	13:37:24	4118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863610,3,'0',1)
2023-10-13	13:37:24	4118	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:24	4118	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:24	4118	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863610 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:24	4118	[DEBUG]	Store custom available field
2023-10-13	13:37:24	4118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863610,6,'choisir la taille',3)
2023-10-13	13:37:24	4118	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:24	4118	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:24	4118	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:24	4118	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:24	4118	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863610 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:24	4118	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:24	4118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863610,8,1)
2023-10-13	13:37:24	4118	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:24	4118	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863610\":[1863610,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863610
2023-10-13	13:37:24	4118	[DEBUG]	Checking category
2023-10-13	13:37:24	4118	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:24	4118	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863610
2023-10-13	13:37:24	4118	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:24	4118	[DEBUG]	Executed store
2023-10-13	13:37:24	4118	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863610','7407')
2023-10-13	13:37:24	4118	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:24	4118	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863610 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:24	4118	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:24	4118	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863610
2023-10-13	13:37:24	4119	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:24	4119	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:24	4119	[DEBUG]	Use field value for field taille
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:24	4119	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:24	4119	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:24	4119	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:24	4119	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:24	4119	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:24	4119	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:24	4119	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:24	4119	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:24	4119	[DEBUG]	Use field value for field published
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:24	4119	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field override
2023-10-13	13:37:24	4119	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:24	4119	[DEBUG]	Use field value for field slug
2023-10-13	13:37:24	4119	[DEBUG]	Process line 4119
2023-10-13	13:37:24	4119	[DEBUG]	Load a row
2023-10-13	13:37:24	4119	[DEBUG]	Processing item: 1000000145922
2023-10-13	13:37:24	4119	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:24	4119	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:24	4119	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8179_1'
2023-10-13	13:37:24	4119	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:24	4119	[DEBUG]	Processing product tax
2023-10-13	13:37:24	4119	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:24	4119	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:24	4119	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:24	4119	[DEBUG]	Query for Product
2023-10-13	13:37:24	4119	[DEBUG]	Executed store
2023-10-13	13:37:24	4119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863610','1000000145922','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:24	4119	[DEBUG]	No parent found
2023-10-13	13:37:24	4119	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863610 AND customfield_value = 'stockable'
2023-10-13	13:37:24	4119	[DEBUG]	Check product language entry
2023-10-13	13:37:24	4119	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863611
2023-10-13	13:37:24	4119	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:24	4119	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000145922' AND `virtuemart_product_id` != 1863611
2023-10-13	13:37:24	4119	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:24	4119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863611, '1000000145922')
2023-10-13	13:37:24	4119	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:24	4119	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fortune-pneus-20-x-1-75-noir-unitaire' AND `virtuemart_product_id` != 1863611
2023-10-13	13:37:24	4119	[DEBUG]	Query for ProductLang
2023-10-13	13:37:24	4119	[DEBUG]	Executed store
2023-10-13	13:37:24	4119	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='FORTUNE PNEUS 20 x 1.75 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fortune-pneus-20-x-1-75-noir-unitaire' WHERE `virtuemart_product_id` = '1863611'
2023-10-13	13:37:24	4119	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36751_pneus_20_x_1_75.jpg
2023-10-13	13:37:24	4119	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:24	4119	[DEBUG]	Process image file
2023-10-13	13:37:24	4119	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:24	4119	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:24	4119	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36751_pneus_20_x_1_75.jpg
2023-10-13	13:37:24	4119	[DEBUG]	Full name target: bcprisme/36751_pneus_20_x_1_75.jpg
2023-10-13	13:37:25	4119	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:25	4119	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36751_pneus_20_x_1_75.jpg'
2023-10-13	13:37:25	4119	[DEBUG]	Query for Media
2023-10-13	13:37:25	4119	[DEBUG]	Executed store
2023-10-13	13:37:25	4119	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36751_pneus_20_x_1_75.jpg',`file_url_thumb`='bcprisme/36751_pneus_20_x_1_75.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '700118'
2023-10-13	13:37:25	4119	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:25	4119	[DEBUG]	Executed store
2023-10-13	13:37:25	4119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863611','700118','1')
2023-10-13	13:37:25	4119	[DEBUG]	Store product image relation
2023-10-13	13:37:25	4119	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:25	4119	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863611 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:25	4119	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:25	4119	[DEBUG]	Executed store
2023-10-13	13:37:25	4119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863611','0','13.8347260909935','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:25	4119	[DEBUG]	Checking manufacturer
2023-10-13	13:37:25	4119	[DEBUG]	Load a row
2023-10-13	13:37:25	4119	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:25	4119	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:37:25	4119	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:25	4119	[DEBUG]	Executed store
2023-10-13	13:37:25	4119	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21846525543' WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:37:25	4119	[DEBUG]	Manufacturer exists
2023-10-13	13:37:25	4119	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 130
2023-10-13	13:37:25	4119	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:25	4119	[DEBUG]	Executed store
2023-10-13	13:37:25	4119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863611','130')
2023-10-13	13:37:25	4119	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:25	4119	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:25	4119	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863611 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:25	4119	[DEBUG]	Store custom available field
2023-10-13	13:37:25	4119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863611,3,'',1)
2023-10-13	13:37:25	4119	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:25	4119	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:25	4119	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863611 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:25	4119	[DEBUG]	Store custom available field
2023-10-13	13:37:25	4119	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863611,6,'Unitaire',3)
2023-10-13	13:37:25	4119	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:25	4119	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:25	4119	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863610
2023-10-13	13:37:25	4119	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:25	4119	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863610\":[1863610,8,1,\"choisir la taille\"],\"1863611\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863610
2023-10-13	13:37:25	4119	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:25	4119	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863611
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:25	4120	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field taille
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:25	4120	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:25	4120	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:25	4120	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:25	4120	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:25	4120	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:25	4120	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field published
2023-10-13	13:37:25	4120	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:25	4120	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field override
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:25	4120	[DEBUG]	Use field value for field slug
2023-10-13	13:37:25	4120	[DEBUG]	Process line 4120
2023-10-13	13:37:25	4120	[DEBUG]	Load a row
2023-10-13	13:37:25	4120	[DEBUG]	Processing item: A_8180_1
2023-10-13	13:37:25	4120	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:25	4120	[DEBUG]	Processing product tax
2023-10-13	13:37:25	4120	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:25	4120	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:25	4120	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:25	4120	[DEBUG]	Query for Product
2023-10-13	13:37:25	4120	[DEBUG]	Executed store
2023-10-13	13:37:25	4120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8180_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:25	4120	[DEBUG]	Check product language entry
2023-10-13	13:37:25	4120	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863612
2023-10-13	13:37:25	4120	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:25	4120	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8180_1' AND `virtuemart_product_id` != 1863612
2023-10-13	13:37:25	4120	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:25	4120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863612, 'A_8180_1')
2023-10-13	13:37:25	4120	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:25	4120	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fortune-pneus-20-x-2-25-kenda-bmx-noir' AND `virtuemart_product_id` != 1863612
2023-10-13	13:37:25	4120	[DEBUG]	Query for ProductLang
2023-10-13	13:37:25	4120	[DEBUG]	Executed store
2023-10-13	13:37:25	4120	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 57.SW240',`product_name`='FORTUNE PNEUS 20 x 2.25 Kenda BMX / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fortune-pneus-20-x-2-25-kenda-bmx-noir' WHERE `virtuemart_product_id` = '1863612'
2023-10-13	13:37:25	4120	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36752_pneus_20_x_2_25_kenda_bmx.jpg
2023-10-13	13:37:25	4120	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:25	4120	[DEBUG]	Process image file
2023-10-13	13:37:25	4120	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:25	4120	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:25	4120	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36752_pneus_20_x_2_25_kenda_bmx.jpg
2023-10-13	13:37:25	4120	[DEBUG]	Full name target: bcprisme/36752_pneus_20_x_2_25_kenda_bmx.jpg
2023-10-13	13:37:26	4120	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:26	4120	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36752_pneus_20_x_2_25_kenda_bmx.jpg'
2023-10-13	13:37:26	4120	[DEBUG]	Query for Media
2023-10-13	13:37:26	4120	[DEBUG]	Executed store
2023-10-13	13:37:26	4120	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36752_pneus_20_x_2_25_kenda_bmx.jpg',`file_url_thumb`='bcprisme/36752_pneus_20_x_2_25_kenda_bmx.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '700120'
2023-10-13	13:37:26	4120	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:26	4120	[DEBUG]	Executed store
2023-10-13	13:37:26	4120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863612','700120','1')
2023-10-13	13:37:26	4120	[DEBUG]	Store product image relation
2023-10-13	13:37:26	4120	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:26	4120	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863612 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:26	4120	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:26	4120	[DEBUG]	Executed store
2023-10-13	13:37:26	4120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863612','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:26	4120	[DEBUG]	Checking manufacturer
2023-10-13	13:37:26	4120	[DEBUG]	Load a row
2023-10-13	13:37:26	4120	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:26	4120	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:37:26	4120	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:26	4120	[DEBUG]	Executed store
2023-10-13	13:37:26	4120	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21846525543' WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:37:26	4120	[DEBUG]	Manufacturer exists
2023-10-13	13:37:26	4120	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 130
2023-10-13	13:37:26	4120	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:26	4120	[DEBUG]	Executed store
2023-10-13	13:37:26	4120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863612','130')
2023-10-13	13:37:26	4120	[DEBUG]	Find the custom field ID
2023-10-13	13:37:26	4120	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:26	4120	[DEBUG]	No custom field ID found
2023-10-13	13:37:26	4120	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:26	4120	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:37:26	4120	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863612 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:26	4120	[DEBUG]	Store custom available field
2023-10-13	13:37:26	4120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863612,3,'0',1)
2023-10-13	13:37:26	4120	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:26	4120	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:26	4120	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863612 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:26	4120	[DEBUG]	Store custom available field
2023-10-13	13:37:26	4120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863612,6,'choisir la taille',3)
2023-10-13	13:37:26	4120	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:26	4120	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:26	4120	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:26	4120	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:26	4120	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863612 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:26	4120	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:26	4120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863612,8,1)
2023-10-13	13:37:26	4120	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:26	4120	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863612\":[1863612,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863612
2023-10-13	13:37:26	4120	[DEBUG]	Checking category
2023-10-13	13:37:26	4120	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:26	4120	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863612
2023-10-13	13:37:26	4120	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:26	4120	[DEBUG]	Executed store
2023-10-13	13:37:26	4120	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863612','7407')
2023-10-13	13:37:26	4120	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:26	4120	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863612 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:26	4120	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:26	4120	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863612
2023-10-13	13:37:26	4121	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:26	4121	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:26	4121	[DEBUG]	Use field value for field taille
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:26	4121	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:26	4121	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:26	4121	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:26	4121	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:26	4121	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:26	4121	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:26	4121	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:26	4121	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:26	4121	[DEBUG]	Use field value for field published
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:26	4121	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field override
2023-10-13	13:37:26	4121	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:26	4121	[DEBUG]	Use field value for field slug
2023-10-13	13:37:26	4121	[DEBUG]	Process line 4121
2023-10-13	13:37:27	4121	[DEBUG]	Load a row
2023-10-13	13:37:27	4121	[DEBUG]	Processing item: 8593375536806
2023-10-13	13:37:27	4121	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:27	4121	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:27	4121	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8180_1'
2023-10-13	13:37:27	4121	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:27	4121	[DEBUG]	Processing product tax
2023-10-13	13:37:27	4121	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:27	4121	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:27	4121	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:27	4121	[DEBUG]	Query for Product
2023-10-13	13:37:27	4121	[DEBUG]	Executed store
2023-10-13	13:37:27	4121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863612','8593375536806','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:27	4121	[DEBUG]	No parent found
2023-10-13	13:37:27	4121	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863612 AND customfield_value = 'stockable'
2023-10-13	13:37:27	4121	[DEBUG]	Check product language entry
2023-10-13	13:37:27	4121	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863613
2023-10-13	13:37:27	4121	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:27	4121	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8593375536806' AND `virtuemart_product_id` != 1863613
2023-10-13	13:37:27	4121	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:27	4121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863613, '8593375536806')
2023-10-13	13:37:27	4121	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:27	4121	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fortune-pneus-20-x-2-25-kenda-bmx-noir-unitaire' AND `virtuemart_product_id` != 1863613
2023-10-13	13:37:27	4121	[DEBUG]	Query for ProductLang
2023-10-13	13:37:27	4121	[DEBUG]	Executed store
2023-10-13	13:37:27	4121	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='FORTUNE PNEUS 20 x 2.25 Kenda BMX / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fortune-pneus-20-x-2-25-kenda-bmx-noir-unitaire' WHERE `virtuemart_product_id` = '1863613'
2023-10-13	13:37:27	4121	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36752_pneus_20_x_2_25_kenda_bmx.jpg
2023-10-13	13:37:27	4121	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:27	4121	[DEBUG]	Process image file
2023-10-13	13:37:27	4121	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:27	4121	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:27	4121	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36752_pneus_20_x_2_25_kenda_bmx.jpg
2023-10-13	13:37:27	4121	[DEBUG]	Full name target: bcprisme/36752_pneus_20_x_2_25_kenda_bmx.jpg
2023-10-13	13:37:27	4121	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:27	4121	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36752_pneus_20_x_2_25_kenda_bmx.jpg'
2023-10-13	13:37:27	4121	[DEBUG]	Query for Media
2023-10-13	13:37:27	4121	[DEBUG]	Executed store
2023-10-13	13:37:27	4121	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36752_pneus_20_x_2_25_kenda_bmx.jpg',`file_url_thumb`='bcprisme/36752_pneus_20_x_2_25_kenda_bmx.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '700120'
2023-10-13	13:37:27	4121	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:27	4121	[DEBUG]	Executed store
2023-10-13	13:37:27	4121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863613','700120','1')
2023-10-13	13:37:27	4121	[DEBUG]	Store product image relation
2023-10-13	13:37:27	4121	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:27	4121	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863613 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:27	4121	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:27	4121	[DEBUG]	Executed store
2023-10-13	13:37:27	4121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863613','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:27	4121	[DEBUG]	Checking manufacturer
2023-10-13	13:37:27	4121	[DEBUG]	Load a row
2023-10-13	13:37:27	4121	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:27	4121	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:37:27	4121	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:27	4121	[DEBUG]	Executed store
2023-10-13	13:37:27	4121	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21846525543' WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:37:27	4121	[DEBUG]	Manufacturer exists
2023-10-13	13:37:27	4121	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 130
2023-10-13	13:37:27	4121	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:27	4121	[DEBUG]	Executed store
2023-10-13	13:37:27	4121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863613','130')
2023-10-13	13:37:27	4121	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:27	4121	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:27	4121	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863613 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:27	4121	[DEBUG]	Store custom available field
2023-10-13	13:37:27	4121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863613,3,'',1)
2023-10-13	13:37:27	4121	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:27	4121	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:27	4121	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863613 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:27	4121	[DEBUG]	Store custom available field
2023-10-13	13:37:27	4121	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863613,6,'Unitaire',3)
2023-10-13	13:37:27	4121	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:28	4121	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:28	4121	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863612
2023-10-13	13:37:28	4121	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:28	4121	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863612\":[1863612,8,1,\"choisir la taille\"],\"1863613\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863612
2023-10-13	13:37:28	4121	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:28	4121	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863613
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:28	4122	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field taille
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:28	4122	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:28	4122	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:28	4122	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:28	4122	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:28	4122	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:28	4122	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:28	4122	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field published
2023-10-13	13:37:28	4122	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:28	4122	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field override
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:28	4122	[DEBUG]	Use field value for field slug
2023-10-13	13:37:28	4122	[DEBUG]	Process line 4122
2023-10-13	13:37:28	4122	[DEBUG]	Load a row
2023-10-13	13:37:28	4122	[DEBUG]	Processing item: A_8290_1
2023-10-13	13:37:28	4122	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:28	4122	[DEBUG]	Processing product tax
2023-10-13	13:37:28	4122	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:28	4122	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:28	4122	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:28	4122	[DEBUG]	Query for Product
2023-10-13	13:37:28	4122	[DEBUG]	Executed store
2023-10-13	13:37:28	4122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8290_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:28	4122	[DEBUG]	Check product language entry
2023-10-13	13:37:28	4122	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863614
2023-10-13	13:37:28	4122	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:28	4122	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8290_1' AND `virtuemart_product_id` != 1863614
2023-10-13	13:37:28	4122	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:28	4122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863614, 'A_8290_1')
2023-10-13	13:37:28	4122	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:28	4122	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fortune-pneus-20-x-1-75-kenda-noir' AND `virtuemart_product_id` != 1863614
2023-10-13	13:37:28	4122	[DEBUG]	Query for ProductLang
2023-10-13	13:37:28	4122	[DEBUG]	Executed store
2023-10-13	13:37:28	4122	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='FORTUNE PNEUS 20 x 1.75 Kenda  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fortune-pneus-20-x-1-75-kenda-noir' WHERE `virtuemart_product_id` = '1863614'
2023-10-13	13:37:28	4122	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36906_pneus_20_x_1_75_kenda_.jpg
2023-10-13	13:37:28	4122	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:28	4122	[DEBUG]	Process image file
2023-10-13	13:37:28	4122	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:28	4122	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:28	4122	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36906_pneus_20_x_1_75_kenda_.jpg
2023-10-13	13:37:28	4122	[DEBUG]	Full name target: bcprisme/36906_pneus_20_x_1_75_kenda_.jpg
2023-10-13	13:37:29	4122	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:29	4122	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36906_pneus_20_x_1_75_kenda_.jpg'
2023-10-13	13:37:29	4122	[DEBUG]	Query for Media
2023-10-13	13:37:29	4122	[DEBUG]	Executed store
2023-10-13	13:37:29	4122	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36906_pneus_20_x_1_75_kenda_.jpg',`file_url_thumb`='bcprisme/36906_pneus_20_x_1_75_kenda_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1005013'
2023-10-13	13:37:29	4122	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:29	4122	[DEBUG]	Executed store
2023-10-13	13:37:29	4122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863614','1005013','1')
2023-10-13	13:37:29	4122	[DEBUG]	Store product image relation
2023-10-13	13:37:29	4122	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:29	4122	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863614 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:29	4122	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:29	4122	[DEBUG]	Executed store
2023-10-13	13:37:29	4122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863614','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:29	4122	[DEBUG]	Checking manufacturer
2023-10-13	13:37:29	4122	[DEBUG]	Load a row
2023-10-13	13:37:29	4122	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:29	4122	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:37:29	4122	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:29	4122	[DEBUG]	Executed store
2023-10-13	13:37:29	4122	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21846525543' WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:37:29	4122	[DEBUG]	Manufacturer exists
2023-10-13	13:37:29	4122	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 130
2023-10-13	13:37:29	4122	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:29	4122	[DEBUG]	Executed store
2023-10-13	13:37:29	4122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863614','130')
2023-10-13	13:37:29	4122	[DEBUG]	Find the custom field ID
2023-10-13	13:37:29	4122	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:29	4122	[DEBUG]	No custom field ID found
2023-10-13	13:37:29	4122	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:29	4122	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:37:29	4122	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863614 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:29	4122	[DEBUG]	Store custom available field
2023-10-13	13:37:29	4122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863614,3,'0',1)
2023-10-13	13:37:29	4122	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:29	4122	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:29	4122	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863614 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:29	4122	[DEBUG]	Store custom available field
2023-10-13	13:37:29	4122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863614,6,'choisir la taille',3)
2023-10-13	13:37:29	4122	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:29	4122	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:29	4122	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:29	4122	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:29	4122	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863614 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:29	4122	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:29	4122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863614,8,1)
2023-10-13	13:37:29	4122	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:29	4122	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863614\":[1863614,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863614
2023-10-13	13:37:29	4122	[DEBUG]	Checking category
2023-10-13	13:37:29	4122	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:29	4122	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863614
2023-10-13	13:37:29	4122	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:29	4122	[DEBUG]	Executed store
2023-10-13	13:37:29	4122	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863614','7407')
2023-10-13	13:37:29	4122	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:29	4122	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863614 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:29	4122	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:29	4122	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863614
2023-10-13	13:37:29	4123	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:29	4123	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:29	4123	[DEBUG]	Use field value for field taille
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:29	4123	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:29	4123	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:29	4123	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:29	4123	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:29	4123	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:29	4123	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:29	4123	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:29	4123	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:29	4123	[DEBUG]	Use field value for field published
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:29	4123	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field override
2023-10-13	13:37:29	4123	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:29	4123	[DEBUG]	Use field value for field slug
2023-10-13	13:37:29	4123	[DEBUG]	Process line 4123
2023-10-13	13:37:29	4123	[DEBUG]	Load a row
2023-10-13	13:37:29	4123	[DEBUG]	Processing item: 1000000148473
2023-10-13	13:37:29	4123	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:29	4123	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:29	4123	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8290_1'
2023-10-13	13:37:29	4123	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:29	4123	[DEBUG]	Processing product tax
2023-10-13	13:37:29	4123	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:29	4123	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:29	4123	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:29	4123	[DEBUG]	Query for Product
2023-10-13	13:37:29	4123	[DEBUG]	Executed store
2023-10-13	13:37:29	4123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863614','1000000148473','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:29	4123	[DEBUG]	No parent found
2023-10-13	13:37:29	4123	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863614 AND customfield_value = 'stockable'
2023-10-13	13:37:29	4123	[DEBUG]	Check product language entry
2023-10-13	13:37:29	4123	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863615
2023-10-13	13:37:29	4123	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:29	4123	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000148473' AND `virtuemart_product_id` != 1863615
2023-10-13	13:37:29	4123	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:29	4123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863615, '1000000148473')
2023-10-13	13:37:29	4123	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:29	4123	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'fortune-pneus-20-x-1-75-kenda-noir-unitaire' AND `virtuemart_product_id` != 1863615
2023-10-13	13:37:29	4123	[DEBUG]	Query for ProductLang
2023-10-13	13:37:29	4123	[DEBUG]	Executed store
2023-10-13	13:37:29	4123	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='FORTUNE PNEUS 20 x 1.75 Kenda  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='fortune-pneus-20-x-1-75-kenda-noir-unitaire' WHERE `virtuemart_product_id` = '1863615'
2023-10-13	13:37:29	4123	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36906_pneus_20_x_1_75_kenda_.jpg
2023-10-13	13:37:29	4123	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:29	4123	[DEBUG]	Process image file
2023-10-13	13:37:29	4123	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:29	4123	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:29	4123	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36906_pneus_20_x_1_75_kenda_.jpg
2023-10-13	13:37:29	4123	[DEBUG]	Full name target: bcprisme/36906_pneus_20_x_1_75_kenda_.jpg
2023-10-13	13:37:30	4123	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:30	4123	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36906_pneus_20_x_1_75_kenda_.jpg'
2023-10-13	13:37:30	4123	[DEBUG]	Query for Media
2023-10-13	13:37:30	4123	[DEBUG]	Executed store
2023-10-13	13:37:30	4123	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36906_pneus_20_x_1_75_kenda_.jpg',`file_url_thumb`='bcprisme/36906_pneus_20_x_1_75_kenda_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1005013'
2023-10-13	13:37:30	4123	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:30	4123	[DEBUG]	Executed store
2023-10-13	13:37:30	4123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863615','1005013','1')
2023-10-13	13:37:30	4123	[DEBUG]	Store product image relation
2023-10-13	13:37:30	4123	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:30	4123	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863615 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:30	4123	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:30	4123	[DEBUG]	Executed store
2023-10-13	13:37:30	4123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863615','0','18.4772516248839','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:30	4123	[DEBUG]	Checking manufacturer
2023-10-13	13:37:30	4123	[DEBUG]	Load a row
2023-10-13	13:37:30	4123	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:30	4123	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:37:30	4123	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:30	4123	[DEBUG]	Executed store
2023-10-13	13:37:30	4123	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21846525543' WHERE `virtuemart_manufacturer_id` = '130'
2023-10-13	13:37:30	4123	[DEBUG]	Manufacturer exists
2023-10-13	13:37:30	4123	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 130
2023-10-13	13:37:30	4123	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:30	4123	[DEBUG]	Executed store
2023-10-13	13:37:30	4123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863615','130')
2023-10-13	13:37:30	4123	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:30	4123	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:30	4123	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863615 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:30	4123	[DEBUG]	Store custom available field
2023-10-13	13:37:30	4123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863615,3,'',1)
2023-10-13	13:37:30	4123	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:30	4123	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:30	4123	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863615 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:30	4123	[DEBUG]	Store custom available field
2023-10-13	13:37:30	4123	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863615,6,'Unitaire',3)
2023-10-13	13:37:30	4123	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:30	4123	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:30	4123	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863614
2023-10-13	13:37:30	4123	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:30	4123	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863614\":[1863614,8,1,\"choisir la taille\"],\"1863615\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863614
2023-10-13	13:37:30	4123	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:30	4123	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863615
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:30	4124	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field taille
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:30	4124	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:30	4124	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:30	4124	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:30	4124	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:30	4124	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:30	4124	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field published
2023-10-13	13:37:30	4124	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:30	4124	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field override
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:30	4124	[DEBUG]	Use field value for field slug
2023-10-13	13:37:30	4124	[DEBUG]	Process line 4124
2023-10-13	13:37:30	4124	[DEBUG]	Load a row
2023-10-13	13:37:30	4124	[DEBUG]	Processing item: A_8291_1
2023-10-13	13:37:30	4124	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:30	4124	[DEBUG]	Processing product tax
2023-10-13	13:37:30	4124	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:30	4124	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:30	4124	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:30	4124	[DEBUG]	Query for Product
2023-10-13	13:37:30	4124	[DEBUG]	Executed store
2023-10-13	13:37:30	4124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8291_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:30	4124	[DEBUG]	Check product language entry
2023-10-13	13:37:30	4124	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863616
2023-10-13	13:37:30	4124	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:30	4124	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8291_1' AND `virtuemart_product_id` != 1863616
2023-10-13	13:37:30	4124	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:30	4124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863616, 'A_8291_1')
2023-10-13	13:37:30	4124	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:30	4124	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-range-cruiser-28-x-1-75-noir-rigide-kevlar-guard-47-622-hs-457-noir' AND `virtuemart_product_id` != 1863616
2023-10-13	13:37:30	4124	[DEBUG]	Query for ProductLang
2023-10-13	13:37:30	4124	[DEBUG]	Executed store
2023-10-13	13:37:30	4124	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.340',`product_name`='SCHWALBE Range Cruiser 28 x 1.75 noir, rigide, Kevlar Guard 47-622, hs 457 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-range-cruiser-28-x-1-75-noir-rigide-kevlar-guard-47-622-hs-457-noir' WHERE `virtuemart_product_id` = '1863616'
2023-10-13	13:37:30	4124	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36908_schwalbe_range_cruiser_28_x_1_75_noir,_rigide,_kevlar_guard_47-622,_hs_457.png
2023-10-13	13:37:30	4124	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:37:30	4124	[DEBUG]	Process image file
2023-10-13	13:37:30	4124	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:37:30	4124	[DEBUG]	Mime type found: image/png
2023-10-13	13:37:30	4124	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36908_schwalbe_range_cruiser_28_x_1_75_noir,_rigide,_kevlar_guard_47-622,_hs_457.png
2023-10-13	13:37:30	4124	[DEBUG]	Full name target: bcprisme/36908_schwalbe_range_cruiser_28_x_1_75_noir,_rigide,_kevlar_guard_47-622,_hs_457.png
2023-10-13	13:37:31	4124	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:31	4124	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36908_schwalbe_range_cruiser_28_x_1_75_noir,_rigide,_kevlar_guard_47-622,_hs_457.png'
2023-10-13	13:37:31	4124	[DEBUG]	Query for Media
2023-10-13	13:37:31	4124	[DEBUG]	Executed store
2023-10-13	13:37:31	4124	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36908_schwalbe_range_cruiser_28_x_1_75_noir,_rigide,_kevlar_guard_47-622,_hs_457.png',`file_url_thumb`='bcprisme/36908_schwalbe_range_cruiser_28_x_1_75_noir,_rigide,_kevlar_guard_47-622,_hs_457.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '760856'
2023-10-13	13:37:31	4124	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:31	4124	[DEBUG]	Executed store
2023-10-13	13:37:31	4124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863616','760856','1')
2023-10-13	13:37:31	4124	[DEBUG]	Store product image relation
2023-10-13	13:37:31	4124	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:31	4124	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863616 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:31	4124	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:31	4124	[DEBUG]	Executed store
2023-10-13	13:37:31	4124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863616','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:31	4124	[DEBUG]	Checking manufacturer
2023-10-13	13:37:31	4124	[DEBUG]	Load a row
2023-10-13	13:37:31	4124	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:31	4124	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:31	4124	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:31	4124	[DEBUG]	Executed store
2023-10-13	13:37:31	4124	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:31	4124	[DEBUG]	Manufacturer exists
2023-10-13	13:37:31	4124	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:31	4124	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:31	4124	[DEBUG]	Executed store
2023-10-13	13:37:31	4124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863616','25')
2023-10-13	13:37:31	4124	[DEBUG]	Find the custom field ID
2023-10-13	13:37:31	4124	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:31	4124	[DEBUG]	No custom field ID found
2023-10-13	13:37:31	4124	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:31	4124	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:37:31	4124	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863616 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:31	4124	[DEBUG]	Store custom available field
2023-10-13	13:37:31	4124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863616,3,'39.7891666666667',1)
2023-10-13	13:37:31	4124	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:31	4124	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:31	4124	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863616 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:31	4124	[DEBUG]	Store custom available field
2023-10-13	13:37:31	4124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863616,6,'choisir la taille',3)
2023-10-13	13:37:31	4124	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:31	4124	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:31	4124	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:31	4124	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:31	4124	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863616 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:31	4124	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:31	4124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863616,8,1)
2023-10-13	13:37:31	4124	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:31	4124	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863616\":[1863616,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863616
2023-10-13	13:37:31	4124	[DEBUG]	Checking category
2023-10-13	13:37:31	4124	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:31	4124	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863616
2023-10-13	13:37:31	4124	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:31	4124	[DEBUG]	Executed store
2023-10-13	13:37:31	4124	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863616','7407')
2023-10-13	13:37:31	4124	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:31	4124	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863616 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:31	4124	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:31	4124	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863616
2023-10-13	13:37:31	4125	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:31	4125	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:31	4125	[DEBUG]	Use field value for field taille
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:31	4125	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:31	4125	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:31	4125	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:31	4125	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:31	4125	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:31	4125	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:31	4125	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:31	4125	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:31	4125	[DEBUG]	Use field value for field published
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:31	4125	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field override
2023-10-13	13:37:31	4125	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:31	4125	[DEBUG]	Use field value for field slug
2023-10-13	13:37:31	4125	[DEBUG]	Process line 4125
2023-10-13	13:37:31	4125	[DEBUG]	Load a row
2023-10-13	13:37:31	4125	[DEBUG]	Processing item: 4026495757188
2023-10-13	13:37:31	4125	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:31	4125	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:31	4125	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8291_1'
2023-10-13	13:37:31	4125	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:31	4125	[DEBUG]	Processing product tax
2023-10-13	13:37:31	4125	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:31	4125	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:31	4125	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:31	4125	[DEBUG]	Query for Product
2023-10-13	13:37:31	4125	[DEBUG]	Executed store
2023-10-13	13:37:31	4125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863616','4026495757188','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:31	4125	[DEBUG]	No parent found
2023-10-13	13:37:31	4125	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863616 AND customfield_value = 'stockable'
2023-10-13	13:37:31	4125	[DEBUG]	Check product language entry
2023-10-13	13:37:31	4125	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863617
2023-10-13	13:37:31	4125	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:31	4125	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495757188' AND `virtuemart_product_id` != 1863617
2023-10-13	13:37:31	4125	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:31	4125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863617, '4026495757188')
2023-10-13	13:37:31	4125	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:31	4125	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-range-cruiser-28-x-1-75-noir-rigide-kevlar-guard-47-622-hs-457-noir-unitaire' AND `virtuemart_product_id` != 1863617
2023-10-13	13:37:31	4125	[DEBUG]	Query for ProductLang
2023-10-13	13:37:31	4125	[DEBUG]	Executed store
2023-10-13	13:37:31	4125	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Range Cruiser 28 x 1.75 noir, rigide, Kevlar Guard 47-622, hs 457 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-range-cruiser-28-x-1-75-noir-rigide-kevlar-guard-47-622-hs-457-noir-unitaire' WHERE `virtuemart_product_id` = '1863617'
2023-10-13	13:37:31	4125	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36908_schwalbe_range_cruiser_28_x_1_75_noir,_rigide,_kevlar_guard_47-622,_hs_457.png
2023-10-13	13:37:31	4125	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:37:31	4125	[DEBUG]	Process image file
2023-10-13	13:37:31	4125	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:37:31	4125	[DEBUG]	Mime type found: image/png
2023-10-13	13:37:31	4125	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36908_schwalbe_range_cruiser_28_x_1_75_noir,_rigide,_kevlar_guard_47-622,_hs_457.png
2023-10-13	13:37:31	4125	[DEBUG]	Full name target: bcprisme/36908_schwalbe_range_cruiser_28_x_1_75_noir,_rigide,_kevlar_guard_47-622,_hs_457.png
2023-10-13	13:37:32	4125	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:32	4125	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36908_schwalbe_range_cruiser_28_x_1_75_noir,_rigide,_kevlar_guard_47-622,_hs_457.png'
2023-10-13	13:37:32	4125	[DEBUG]	Query for Media
2023-10-13	13:37:32	4125	[DEBUG]	Executed store
2023-10-13	13:37:32	4125	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36908_schwalbe_range_cruiser_28_x_1_75_noir,_rigide,_kevlar_guard_47-622,_hs_457.png',`file_url_thumb`='bcprisme/36908_schwalbe_range_cruiser_28_x_1_75_noir,_rigide,_kevlar_guard_47-622,_hs_457.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '760856'
2023-10-13	13:37:32	4125	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:32	4125	[DEBUG]	Executed store
2023-10-13	13:37:32	4125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863617','760856','1')
2023-10-13	13:37:32	4125	[DEBUG]	Store product image relation
2023-10-13	13:37:32	4125	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:32	4125	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863617 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:32	4125	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:32	4125	[DEBUG]	Executed store
2023-10-13	13:37:32	4125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863617','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:32	4125	[DEBUG]	Checking manufacturer
2023-10-13	13:37:32	4125	[DEBUG]	Load a row
2023-10-13	13:37:32	4125	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:32	4125	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:32	4125	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:32	4125	[DEBUG]	Executed store
2023-10-13	13:37:32	4125	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:32	4125	[DEBUG]	Manufacturer exists
2023-10-13	13:37:32	4125	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:32	4125	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:32	4125	[DEBUG]	Executed store
2023-10-13	13:37:32	4125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863617','25')
2023-10-13	13:37:32	4125	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:32	4125	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:32	4125	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863617 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:32	4125	[DEBUG]	Store custom available field
2023-10-13	13:37:32	4125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863617,3,'',1)
2023-10-13	13:37:32	4125	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:32	4125	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:32	4125	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863617 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:32	4125	[DEBUG]	Store custom available field
2023-10-13	13:37:32	4125	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863617,6,'Unitaire',3)
2023-10-13	13:37:32	4125	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:32	4125	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:32	4125	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863616
2023-10-13	13:37:32	4125	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:32	4125	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863616\":[1863616,8,1,\"choisir la taille\"],\"1863617\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863616
2023-10-13	13:37:32	4125	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:32	4125	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863617
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:32	4126	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field taille
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:32	4126	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:32	4126	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:32	4126	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:32	4126	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:32	4126	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:32	4126	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field published
2023-10-13	13:37:32	4126	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:32	4126	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field override
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:32	4126	[DEBUG]	Use field value for field slug
2023-10-13	13:37:32	4126	[DEBUG]	Process line 4126
2023-10-13	13:37:32	4126	[DEBUG]	Load a row
2023-10-13	13:37:32	4126	[DEBUG]	Processing item: A_8359_84
2023-10-13	13:37:32	4126	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:32	4126	[DEBUG]	Processing product tax
2023-10-13	13:37:32	4126	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:32	4126	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:32	4126	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:32	4126	[DEBUG]	Query for Product
2023-10-13	13:37:32	4126	[DEBUG]	Executed store
2023-10-13	13:37:32	4126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8359_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:32	4126	[DEBUG]	Check product language entry
2023-10-13	13:37:32	4126	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863618
2023-10-13	13:37:32	4126	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:32	4126	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8359_84' AND `virtuemart_product_id` != 1863618
2023-10-13	13:37:32	4126	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:32	4126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863618, 'A_8359_84')
2023-10-13	13:37:32	4126	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:32	4126	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-20x1-50-rigide-avec-bande-reflechissante-black-black' AND `virtuemart_product_id` != 1863618
2023-10-13	13:37:32	4126	[DEBUG]	Query for ProductLang
2023-10-13	13:37:32	4126	[DEBUG]	Executed store
2023-10-13	13:37:32	4126	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.60339',`product_name`='SCHWALBE Pneu Marathon 20x1.50 rigide avec bande réfléchissante black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-20x1-50-rigide-avec-bande-reflechissante-black-black' WHERE `virtuemart_product_id` = '1863618'
2023-10-13	13:37:32	4126	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56703_001_jpg.jpg
2023-10-13	13:37:32	4126	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:32	4126	[DEBUG]	Process image file
2023-10-13	13:37:32	4126	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:32	4126	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:32	4126	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56703_001_jpg.jpg
2023-10-13	13:37:32	4126	[DEBUG]	Full name target: bcprisme/24_56703_001_jpg.jpg
2023-10-13	13:37:33	4126	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:33	4126	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_56703_001_jpg.jpg'
2023-10-13	13:37:33	4126	[DEBUG]	Query for Media
2023-10-13	13:37:33	4126	[DEBUG]	Executed store
2023-10-13	13:37:33	4126	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_56703_001_jpg.jpg',`file_url_thumb`='bcprisme/24_56703_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '801578'
2023-10-13	13:37:33	4126	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:33	4126	[DEBUG]	Executed store
2023-10-13	13:37:33	4126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863618','801578','1')
2023-10-13	13:37:33	4126	[DEBUG]	Store product image relation
2023-10-13	13:37:33	4126	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:33	4126	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863618 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:33	4126	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:33	4126	[DEBUG]	Executed store
2023-10-13	13:37:33	4126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863618','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:33	4126	[DEBUG]	Checking manufacturer
2023-10-13	13:37:33	4126	[DEBUG]	Load a row
2023-10-13	13:37:33	4126	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:33	4126	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:33	4126	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:33	4126	[DEBUG]	Executed store
2023-10-13	13:37:33	4126	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:33	4126	[DEBUG]	Manufacturer exists
2023-10-13	13:37:33	4126	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:37:33	4126	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:33	4126	[DEBUG]	Executed store
2023-10-13	13:37:33	4126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863618','24')
2023-10-13	13:37:33	4126	[DEBUG]	Find the custom field ID
2023-10-13	13:37:33	4126	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:33	4126	[DEBUG]	No custom field ID found
2023-10-13	13:37:33	4126	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:33	4126	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:37:33	4126	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863618 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:33	4126	[DEBUG]	Store custom available field
2023-10-13	13:37:33	4126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863618,3,'0',1)
2023-10-13	13:37:33	4126	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:33	4126	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:33	4126	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863618 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:33	4126	[DEBUG]	Store custom available field
2023-10-13	13:37:33	4126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863618,6,'choisir la taille',3)
2023-10-13	13:37:33	4126	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:33	4126	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:33	4126	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:33	4126	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:33	4126	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863618 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:33	4126	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:33	4126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863618,8,1)
2023-10-13	13:37:33	4126	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:33	4126	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863618\":[1863618,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863618
2023-10-13	13:37:33	4126	[DEBUG]	Checking category
2023-10-13	13:37:33	4126	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:33	4126	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863618
2023-10-13	13:37:33	4126	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:33	4126	[DEBUG]	Executed store
2023-10-13	13:37:33	4126	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863618','7407')
2023-10-13	13:37:33	4126	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:33	4126	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863618 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:33	4126	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:33	4126	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863618
2023-10-13	13:37:33	4127	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:33	4127	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:33	4127	[DEBUG]	Use field value for field taille
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:33	4127	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:33	4127	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:33	4127	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:33	4127	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:33	4127	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:33	4127	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:33	4127	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:33	4127	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:33	4127	[DEBUG]	Use field value for field published
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:33	4127	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field override
2023-10-13	13:37:33	4127	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:33	4127	[DEBUG]	Use field value for field slug
2023-10-13	13:37:33	4127	[DEBUG]	Process line 4127
2023-10-13	13:37:33	4127	[DEBUG]	Load a row
2023-10-13	13:37:33	4127	[DEBUG]	Processing item: 4026495627696
2023-10-13	13:37:33	4127	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:33	4127	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:33	4127	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8359_84'
2023-10-13	13:37:33	4127	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:33	4127	[DEBUG]	Processing product tax
2023-10-13	13:37:33	4127	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:33	4127	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:33	4127	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:33	4127	[DEBUG]	Query for Product
2023-10-13	13:37:33	4127	[DEBUG]	Executed store
2023-10-13	13:37:33	4127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863618','4026495627696','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:33	4127	[DEBUG]	No parent found
2023-10-13	13:37:33	4127	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863618 AND customfield_value = 'stockable'
2023-10-13	13:37:33	4127	[DEBUG]	Check product language entry
2023-10-13	13:37:33	4127	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863619
2023-10-13	13:37:33	4127	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:33	4127	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495627696' AND `virtuemart_product_id` != 1863619
2023-10-13	13:37:33	4127	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:33	4127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863619, '4026495627696')
2023-10-13	13:37:33	4127	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:33	4127	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-20x1-50-rigide-avec-bande-reflechissante-black-black-unitaire' AND `virtuemart_product_id` != 1863619
2023-10-13	13:37:33	4127	[DEBUG]	Query for ProductLang
2023-10-13	13:37:33	4127	[DEBUG]	Executed store
2023-10-13	13:37:33	4127	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Marathon 20x1.50 rigide avec bande réfléchissante black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-20x1-50-rigide-avec-bande-reflechissante-black-black-unitaire' WHERE `virtuemart_product_id` = '1863619'
2023-10-13	13:37:33	4127	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56703_001_jpg.jpg
2023-10-13	13:37:33	4127	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:33	4127	[DEBUG]	Process image file
2023-10-13	13:37:33	4127	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:33	4127	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:33	4127	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56703_001_jpg.jpg
2023-10-13	13:37:33	4127	[DEBUG]	Full name target: bcprisme/24_56703_001_jpg.jpg
2023-10-13	13:37:34	4127	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:34	4127	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_56703_001_jpg.jpg'
2023-10-13	13:37:34	4127	[DEBUG]	Query for Media
2023-10-13	13:37:34	4127	[DEBUG]	Executed store
2023-10-13	13:37:34	4127	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_56703_001_jpg.jpg',`file_url_thumb`='bcprisme/24_56703_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '801578'
2023-10-13	13:37:34	4127	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:34	4127	[DEBUG]	Executed store
2023-10-13	13:37:34	4127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863619','801578','1')
2023-10-13	13:37:34	4127	[DEBUG]	Store product image relation
2023-10-13	13:37:34	4127	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:34	4127	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863619 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:34	4127	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:34	4127	[DEBUG]	Executed store
2023-10-13	13:37:34	4127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863619','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:34	4127	[DEBUG]	Checking manufacturer
2023-10-13	13:37:34	4127	[DEBUG]	Load a row
2023-10-13	13:37:34	4127	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:34	4127	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:34	4127	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:34	4127	[DEBUG]	Executed store
2023-10-13	13:37:34	4127	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:34	4127	[DEBUG]	Manufacturer exists
2023-10-13	13:37:34	4127	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:37:34	4127	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:34	4127	[DEBUG]	Executed store
2023-10-13	13:37:34	4127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863619','24')
2023-10-13	13:37:34	4127	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:34	4127	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:34	4127	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863619 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:34	4127	[DEBUG]	Store custom available field
2023-10-13	13:37:34	4127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863619,3,'',1)
2023-10-13	13:37:34	4127	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:34	4127	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:34	4127	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863619 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:34	4127	[DEBUG]	Store custom available field
2023-10-13	13:37:34	4127	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863619,6,'Unitaire',3)
2023-10-13	13:37:34	4127	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:34	4127	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:34	4127	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863618
2023-10-13	13:37:34	4127	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:34	4127	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863618\":[1863618,8,1,\"choisir la taille\"],\"1863619\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863618
2023-10-13	13:37:34	4127	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:34	4127	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863619
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:34	4128	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field taille
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:34	4128	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:34	4128	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:34	4128	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:34	4128	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:34	4128	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:34	4128	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field published
2023-10-13	13:37:34	4128	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:34	4128	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field override
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:34	4128	[DEBUG]	Use field value for field slug
2023-10-13	13:37:34	4128	[DEBUG]	Process line 4128
2023-10-13	13:37:34	4128	[DEBUG]	Load a row
2023-10-13	13:37:34	4128	[DEBUG]	Processing item: A_8768_1
2023-10-13	13:37:34	4128	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:34	4128	[DEBUG]	Processing product tax
2023-10-13	13:37:34	4128	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:34	4128	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:34	4128	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:34	4128	[DEBUG]	Query for Product
2023-10-13	13:37:34	4128	[DEBUG]	Executed store
2023-10-13	13:37:34	4128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8768_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:34	4128	[DEBUG]	Check product language entry
2023-10-13	13:37:34	4128	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863620
2023-10-13	13:37:34	4128	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:34	4128	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8768_1' AND `virtuemart_product_id` != 1863620
2023-10-13	13:37:34	4128	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:34	4128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863620, 'A_8768_1')
2023-10-13	13:37:34	4128	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:34	4128	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-energizer-plus-tour-700-x-35-c-green-guard-reflex-noir' AND `virtuemart_product_id` != 1863620
2023-10-13	13:37:34	4128	[DEBUG]	Query for ProductLang
2023-10-13	13:37:34	4128	[DEBUG]	Executed store
2023-10-13	13:37:34	4128	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.782',`product_name`='SCHWALBE Energizer Plus tour 700 x 35 C, Green Guard Reflex / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-energizer-plus-tour-700-x-35-c-green-guard-reflex-noir' WHERE `virtuemart_product_id` = '1863620'
2023-10-13	13:37:34	4128	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37744_schwalbe_energizer_plus_tour_700_x_35_c,_green_guard_reflex.png
2023-10-13	13:37:34	4128	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000244
2023-10-13	13:37:34	4128	[DEBUG]	Process image file
2023-10-13	13:37:34	4128	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000244
2023-10-13	13:37:34	4128	[DEBUG]	Mime type found: image/png
2023-10-13	13:37:34	4128	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37744_schwalbe_energizer_plus_tour_700_x_35_c,_green_guard_reflex.png
2023-10-13	13:37:34	4128	[DEBUG]	Full name target: bcprisme/37744_schwalbe_energizer_plus_tour_700_x_35_c,_green_guard_reflex.png
2023-10-13	13:37:35	4128	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:35	4128	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37744_schwalbe_energizer_plus_tour_700_x_35_c,_green_guard_reflex.png'
2023-10-13	13:37:35	4128	[DEBUG]	Query for Media
2023-10-13	13:37:35	4128	[DEBUG]	Executed store
2023-10-13	13:37:35	4128	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37744_schwalbe_energizer_plus_tour_700_x_35_c,_green_guard_reflex.png',`file_url_thumb`='bcprisme/37744_schwalbe_energizer_plus_tour_700_x_35_c,_green_guard_reflex.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1094624'
2023-10-13	13:37:35	4128	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:35	4128	[DEBUG]	Executed store
2023-10-13	13:37:35	4128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863620','1094624','1')
2023-10-13	13:37:35	4128	[DEBUG]	Store product image relation
2023-10-13	13:37:35	4128	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:35	4128	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863620 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:35	4128	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:35	4128	[DEBUG]	Executed store
2023-10-13	13:37:35	4128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863620','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:35	4128	[DEBUG]	Checking manufacturer
2023-10-13	13:37:35	4128	[DEBUG]	Load a row
2023-10-13	13:37:35	4128	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:35	4128	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:35	4128	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:35	4128	[DEBUG]	Executed store
2023-10-13	13:37:35	4128	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:35	4128	[DEBUG]	Manufacturer exists
2023-10-13	13:37:35	4128	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:35	4128	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:35	4128	[DEBUG]	Executed store
2023-10-13	13:37:35	4128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863620','25')
2023-10-13	13:37:35	4128	[DEBUG]	Find the custom field ID
2023-10-13	13:37:35	4128	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:35	4128	[DEBUG]	No custom field ID found
2023-10-13	13:37:35	4128	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:35	4128	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:37:35	4128	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863620 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:35	4128	[DEBUG]	Store custom available field
2023-10-13	13:37:35	4128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863620,3,'39.7891666666667',1)
2023-10-13	13:37:35	4128	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:35	4128	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:35	4128	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863620 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:35	4128	[DEBUG]	Store custom available field
2023-10-13	13:37:35	4128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863620,6,'choisir la taille',3)
2023-10-13	13:37:35	4128	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:35	4128	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:35	4128	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:35	4128	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:35	4128	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863620 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:35	4128	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:35	4128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863620,8,1)
2023-10-13	13:37:35	4128	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:35	4128	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863620\":[1863620,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863620
2023-10-13	13:37:35	4128	[DEBUG]	Checking category
2023-10-13	13:37:35	4128	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:35	4128	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863620
2023-10-13	13:37:35	4128	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:35	4128	[DEBUG]	Executed store
2023-10-13	13:37:35	4128	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863620','7407')
2023-10-13	13:37:35	4128	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:35	4128	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863620 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:35	4128	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:35	4128	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863620
2023-10-13	13:37:35	4129	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:35	4129	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:35	4129	[DEBUG]	Use field value for field taille
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:35	4129	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:35	4129	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:35	4129	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:35	4129	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:35	4129	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:35	4129	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:35	4129	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:35	4129	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:35	4129	[DEBUG]	Use field value for field published
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:35	4129	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field override
2023-10-13	13:37:35	4129	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:35	4129	[DEBUG]	Use field value for field slug
2023-10-13	13:37:35	4129	[DEBUG]	Process line 4129
2023-10-13	13:37:35	4129	[DEBUG]	Load a row
2023-10-13	13:37:35	4129	[DEBUG]	Processing item: 4026495891141
2023-10-13	13:37:35	4129	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:35	4129	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:35	4129	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8768_1'
2023-10-13	13:37:35	4129	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:35	4129	[DEBUG]	Processing product tax
2023-10-13	13:37:35	4129	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:35	4129	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:35	4129	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:35	4129	[DEBUG]	Query for Product
2023-10-13	13:37:35	4129	[DEBUG]	Executed store
2023-10-13	13:37:35	4129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863620','4026495891141','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:35	4129	[DEBUG]	No parent found
2023-10-13	13:37:35	4129	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863620 AND customfield_value = 'stockable'
2023-10-13	13:37:35	4129	[DEBUG]	Check product language entry
2023-10-13	13:37:35	4129	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863621
2023-10-13	13:37:35	4129	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:35	4129	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495891141' AND `virtuemart_product_id` != 1863621
2023-10-13	13:37:35	4129	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:35	4129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863621, '4026495891141')
2023-10-13	13:37:35	4129	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:35	4129	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-energizer-plus-tour-700-x-35-c-green-guard-reflex-noir-unitaire' AND `virtuemart_product_id` != 1863621
2023-10-13	13:37:35	4129	[DEBUG]	Query for ProductLang
2023-10-13	13:37:35	4129	[DEBUG]	Executed store
2023-10-13	13:37:35	4129	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Energizer Plus tour 700 x 35 C, Green Guard Reflex / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-energizer-plus-tour-700-x-35-c-green-guard-reflex-noir-unitaire' WHERE `virtuemart_product_id` = '1863621'
2023-10-13	13:37:35	4129	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37744_schwalbe_energizer_plus_tour_700_x_35_c,_green_guard_reflex.png
2023-10-13	13:37:35	4129	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000244
2023-10-13	13:37:35	4129	[DEBUG]	Process image file
2023-10-13	13:37:35	4129	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000244
2023-10-13	13:37:35	4129	[DEBUG]	Mime type found: image/png
2023-10-13	13:37:35	4129	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37744_schwalbe_energizer_plus_tour_700_x_35_c,_green_guard_reflex.png
2023-10-13	13:37:35	4129	[DEBUG]	Full name target: bcprisme/37744_schwalbe_energizer_plus_tour_700_x_35_c,_green_guard_reflex.png
2023-10-13	13:37:36	4129	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:36	4129	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37744_schwalbe_energizer_plus_tour_700_x_35_c,_green_guard_reflex.png'
2023-10-13	13:37:36	4129	[DEBUG]	Query for Media
2023-10-13	13:37:36	4129	[DEBUG]	Executed store
2023-10-13	13:37:36	4129	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37744_schwalbe_energizer_plus_tour_700_x_35_c,_green_guard_reflex.png',`file_url_thumb`='bcprisme/37744_schwalbe_energizer_plus_tour_700_x_35_c,_green_guard_reflex.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1094624'
2023-10-13	13:37:36	4129	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:36	4129	[DEBUG]	Executed store
2023-10-13	13:37:36	4129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863621','1094624','1')
2023-10-13	13:37:36	4129	[DEBUG]	Store product image relation
2023-10-13	13:37:36	4129	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:36	4129	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863621 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:36	4129	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:36	4129	[DEBUG]	Executed store
2023-10-13	13:37:36	4129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863621','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:36	4129	[DEBUG]	Checking manufacturer
2023-10-13	13:37:36	4129	[DEBUG]	Load a row
2023-10-13	13:37:36	4129	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:36	4129	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:36	4129	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:36	4129	[DEBUG]	Executed store
2023-10-13	13:37:36	4129	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:36	4129	[DEBUG]	Manufacturer exists
2023-10-13	13:37:36	4129	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:36	4129	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:36	4129	[DEBUG]	Executed store
2023-10-13	13:37:36	4129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863621','25')
2023-10-13	13:37:36	4129	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:36	4129	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:36	4129	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863621 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:36	4129	[DEBUG]	Store custom available field
2023-10-13	13:37:36	4129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863621,3,'',1)
2023-10-13	13:37:36	4129	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:36	4129	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:36	4129	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863621 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:36	4129	[DEBUG]	Store custom available field
2023-10-13	13:37:36	4129	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863621,6,'Unitaire',3)
2023-10-13	13:37:36	4129	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:36	4129	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:36	4129	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863620
2023-10-13	13:37:36	4129	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:36	4129	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863620\":[1863620,8,1,\"choisir la taille\"],\"1863621\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863620
2023-10-13	13:37:36	4129	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:36	4129	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863621
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:36	4130	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field taille
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:36	4130	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:36	4130	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:36	4130	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:36	4130	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:36	4130	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:36	4130	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field published
2023-10-13	13:37:36	4130	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:36	4130	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field override
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:36	4130	[DEBUG]	Use field value for field slug
2023-10-13	13:37:36	4130	[DEBUG]	Process line 4130
2023-10-13	13:37:36	4130	[DEBUG]	Load a row
2023-10-13	13:37:36	4130	[DEBUG]	Processing item: A_8921_1
2023-10-13	13:37:36	4130	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:36	4130	[DEBUG]	Processing product tax
2023-10-13	13:37:36	4130	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:36	4130	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:36	4130	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:36	4130	[DEBUG]	Query for Product
2023-10-13	13:37:36	4130	[DEBUG]	Executed store
2023-10-13	13:37:36	4130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8921_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:36	4130	[DEBUG]	Check product language entry
2023-10-13	13:37:36	4130	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863622
2023-10-13	13:37:36	4130	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:36	4130	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8921_1' AND `virtuemart_product_id` != 1863622
2023-10-13	13:37:36	4130	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:36	4130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863622, 'A_8921_1')
2023-10-13	13:37:36	4130	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:36	4130	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-smart-sam-performance-lite-skin-addix-20-x-2-35-noir' AND `virtuemart_product_id` != 1863622
2023-10-13	13:37:36	4130	[DEBUG]	Query for ProductLang
2023-10-13	13:37:36	4130	[DEBUG]	Executed store
2023-10-13	13:37:36	4130	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.667',`product_name`='SCHWALBE Pneu Schwalbe Smart Sam Performance Lite Skin Addix 20 x 2.35 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-smart-sam-performance-lite-skin-addix-20-x-2-35-noir' WHERE `virtuemart_product_id` = '1863622'
2023-10-13	13:37:36	4130	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37910_pneu_schwalbe_smart_sam_performance_lite_skin_addix20_x_2_35.jpg
2023-10-13	13:37:36	4130	[DEBUG]	Identity string: ffd8ffe000104a46494600010100006400640000
2023-10-13	13:37:36	4130	[DEBUG]	Process image file
2023-10-13	13:37:36	4130	[DEBUG]	Identity string: ffd8ffe000104a46494600010100006400640000
2023-10-13	13:37:36	4130	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:36	4130	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37910_pneu_schwalbe_smart_sam_performance_lite_skin_addix20_x_2_35.jpg
2023-10-13	13:37:36	4130	[DEBUG]	Full name target: bcprisme/37910_pneu_schwalbe_smart_sam_performance_lite_skin_addix20_x_2_35.jpg
2023-10-13	13:37:37	4130	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:37	4130	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37910_pneu_schwalbe_smart_sam_performance_lite_skin_addix20_x_2_35.jpg'
2023-10-13	13:37:37	4130	[DEBUG]	Query for Media
2023-10-13	13:37:37	4130	[DEBUG]	Executed store
2023-10-13	13:37:37	4130	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37910_pneu_schwalbe_smart_sam_performance_lite_skin_addix20_x_2_35.jpg',`file_url_thumb`='bcprisme/37910_pneu_schwalbe_smart_sam_performance_lite_skin_addix20_x_2_35.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1189122'
2023-10-13	13:37:37	4130	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:37	4130	[DEBUG]	Executed store
2023-10-13	13:37:37	4130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863622','1189122','1')
2023-10-13	13:37:37	4130	[DEBUG]	Store product image relation
2023-10-13	13:37:37	4130	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:37	4130	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863622 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:37	4130	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:37	4130	[DEBUG]	Executed store
2023-10-13	13:37:37	4130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863622','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:37	4130	[DEBUG]	Checking manufacturer
2023-10-13	13:37:37	4130	[DEBUG]	Load a row
2023-10-13	13:37:37	4130	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:37	4130	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:37	4130	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:37	4130	[DEBUG]	Executed store
2023-10-13	13:37:37	4130	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:37	4130	[DEBUG]	Manufacturer exists
2023-10-13	13:37:37	4130	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:37	4130	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:37	4130	[DEBUG]	Executed store
2023-10-13	13:37:37	4130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863622','25')
2023-10-13	13:37:37	4130	[DEBUG]	Find the custom field ID
2023-10-13	13:37:37	4130	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:37	4130	[DEBUG]	No custom field ID found
2023-10-13	13:37:37	4130	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:37	4130	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:37:37	4130	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863622 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:37	4130	[DEBUG]	Store custom available field
2023-10-13	13:37:37	4130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863622,3,'0',1)
2023-10-13	13:37:37	4130	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:37	4130	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:37	4130	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863622 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:37	4130	[DEBUG]	Store custom available field
2023-10-13	13:37:37	4130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863622,6,'choisir la taille',3)
2023-10-13	13:37:37	4130	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:37	4130	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:37	4130	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:37	4130	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:37	4130	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863622 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:37	4130	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:37	4130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863622,8,1)
2023-10-13	13:37:37	4130	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:37	4130	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863622\":[1863622,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863622
2023-10-13	13:37:37	4130	[DEBUG]	Checking category
2023-10-13	13:37:37	4130	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:37	4130	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863622
2023-10-13	13:37:37	4130	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:37	4130	[DEBUG]	Executed store
2023-10-13	13:37:37	4130	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863622','7407')
2023-10-13	13:37:37	4130	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:37	4130	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863622 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:37	4130	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:37	4130	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863622
2023-10-13	13:37:37	4131	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:37	4131	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:37	4131	[DEBUG]	Use field value for field taille
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:37	4131	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:37	4131	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:37	4131	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:37	4131	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:37	4131	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:37	4131	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:37	4131	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:37	4131	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:37	4131	[DEBUG]	Use field value for field published
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:37	4131	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field override
2023-10-13	13:37:37	4131	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:37	4131	[DEBUG]	Use field value for field slug
2023-10-13	13:37:37	4131	[DEBUG]	Process line 4131
2023-10-13	13:37:37	4131	[DEBUG]	Load a row
2023-10-13	13:37:37	4131	[DEBUG]	Processing item: 1000000171921
2023-10-13	13:37:37	4131	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:37	4131	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:37	4131	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8921_1'
2023-10-13	13:37:37	4131	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:37	4131	[DEBUG]	Processing product tax
2023-10-13	13:37:37	4131	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:37	4131	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:37	4131	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:37	4131	[DEBUG]	Query for Product
2023-10-13	13:37:37	4131	[DEBUG]	Executed store
2023-10-13	13:37:37	4131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863622','1000000171921','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:37	4131	[DEBUG]	No parent found
2023-10-13	13:37:37	4131	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863622 AND customfield_value = 'stockable'
2023-10-13	13:37:37	4131	[DEBUG]	Check product language entry
2023-10-13	13:37:37	4131	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863623
2023-10-13	13:37:37	4131	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:37	4131	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000171921' AND `virtuemart_product_id` != 1863623
2023-10-13	13:37:37	4131	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:37	4131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863623, '1000000171921')
2023-10-13	13:37:37	4131	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:37	4131	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-smart-sam-performance-lite-skin-addix-20-x-2-35-noir-unitaire' AND `virtuemart_product_id` != 1863623
2023-10-13	13:37:37	4131	[DEBUG]	Query for ProductLang
2023-10-13	13:37:37	4131	[DEBUG]	Executed store
2023-10-13	13:37:37	4131	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Schwalbe Smart Sam Performance Lite Skin Addix 20 x 2.35 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-smart-sam-performance-lite-skin-addix-20-x-2-35-noir-unitaire' WHERE `virtuemart_product_id` = '1863623'
2023-10-13	13:37:37	4131	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37910_pneu_schwalbe_smart_sam_performance_lite_skin_addix20_x_2_35.jpg
2023-10-13	13:37:37	4131	[DEBUG]	Identity string: ffd8ffe000104a46494600010100006400640000
2023-10-13	13:37:37	4131	[DEBUG]	Process image file
2023-10-13	13:37:37	4131	[DEBUG]	Identity string: ffd8ffe000104a46494600010100006400640000
2023-10-13	13:37:37	4131	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:37	4131	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37910_pneu_schwalbe_smart_sam_performance_lite_skin_addix20_x_2_35.jpg
2023-10-13	13:37:37	4131	[DEBUG]	Full name target: bcprisme/37910_pneu_schwalbe_smart_sam_performance_lite_skin_addix20_x_2_35.jpg
2023-10-13	13:37:38	4131	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:38	4131	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37910_pneu_schwalbe_smart_sam_performance_lite_skin_addix20_x_2_35.jpg'
2023-10-13	13:37:38	4131	[DEBUG]	Query for Media
2023-10-13	13:37:38	4131	[DEBUG]	Executed store
2023-10-13	13:37:38	4131	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37910_pneu_schwalbe_smart_sam_performance_lite_skin_addix20_x_2_35.jpg',`file_url_thumb`='bcprisme/37910_pneu_schwalbe_smart_sam_performance_lite_skin_addix20_x_2_35.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1189122'
2023-10-13	13:37:38	4131	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:38	4131	[DEBUG]	Executed store
2023-10-13	13:37:38	4131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863623','1189122','1')
2023-10-13	13:37:38	4131	[DEBUG]	Store product image relation
2023-10-13	13:37:38	4131	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:38	4131	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863623 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:38	4131	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:38	4131	[DEBUG]	Executed store
2023-10-13	13:37:38	4131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863623','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:38	4131	[DEBUG]	Checking manufacturer
2023-10-13	13:37:38	4131	[DEBUG]	Load a row
2023-10-13	13:37:38	4131	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:38	4131	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:38	4131	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:38	4131	[DEBUG]	Executed store
2023-10-13	13:37:38	4131	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:38	4131	[DEBUG]	Manufacturer exists
2023-10-13	13:37:38	4131	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:38	4131	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:38	4131	[DEBUG]	Executed store
2023-10-13	13:37:38	4131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863623','25')
2023-10-13	13:37:38	4131	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:38	4131	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:38	4131	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863623 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:38	4131	[DEBUG]	Store custom available field
2023-10-13	13:37:38	4131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863623,3,'',1)
2023-10-13	13:37:38	4131	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:38	4131	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:38	4131	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863623 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:38	4131	[DEBUG]	Store custom available field
2023-10-13	13:37:38	4131	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863623,6,'Unitaire',3)
2023-10-13	13:37:38	4131	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:38	4131	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:38	4131	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863622
2023-10-13	13:37:38	4131	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:38	4131	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863622\":[1863622,8,1,\"choisir la taille\"],\"1863623\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863622
2023-10-13	13:37:38	4131	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:38	4131	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863623
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:38	4132	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field taille
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:38	4132	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:38	4132	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:38	4132	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:38	4132	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:38	4132	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:38	4132	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field published
2023-10-13	13:37:38	4132	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:38	4132	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field override
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:38	4132	[DEBUG]	Use field value for field slug
2023-10-13	13:37:38	4132	[DEBUG]	Process line 4132
2023-10-13	13:37:38	4132	[DEBUG]	Load a row
2023-10-13	13:37:38	4132	[DEBUG]	Processing item: A_9352_1
2023-10-13	13:37:38	4132	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:38	4132	[DEBUG]	Processing product tax
2023-10-13	13:37:38	4132	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:38	4132	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:38	4132	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:38	4132	[DEBUG]	Query for Product
2023-10-13	13:37:38	4132	[DEBUG]	Executed store
2023-10-13	13:37:38	4132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9352_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:38	4132	[DEBUG]	Check product language entry
2023-10-13	13:37:38	4132	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863624
2023-10-13	13:37:38	4132	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:38	4132	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9352_1' AND `virtuemart_product_id` != 1863624
2023-10-13	13:37:38	4132	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:38	4132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863624, 'A_9352_1')
2023-10-13	13:37:38	4132	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:38	4132	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-land-cruiser-plus-puncture-guard-noir-reflex-28-x-2-00-hs450-50-622-twin-skin-active-line-e-25-noir' AND `virtuemart_product_id` != 1863624
2023-10-13	13:37:38	4132	[DEBUG]	Query for ProductLang
2023-10-13	13:37:38	4132	[DEBUG]	Executed store
2023-10-13	13:37:38	4132	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.797',`product_name`='SCHWALBE Land Cruiser Plus Puncture Guard noir-reflex 28 x 2.00 HS450 50-622 Twin Skin, Active Line E-25 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-land-cruiser-plus-puncture-guard-noir-reflex-28-x-2-00-hs450-50-622-twin-skin-active-line-e-25-noir' WHERE `virtuemart_product_id` = '1863624'
2023-10-13	13:37:38	4132	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38443_schwalbe_land_cruiser_plus_puncture_guard_noir-reflex_28_x_2_00_hs450_50-622_twin_skin,_active_line_e-25.png
2023-10-13	13:37:38	4132	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:37:38	4132	[DEBUG]	Process image file
2023-10-13	13:37:38	4132	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:37:38	4132	[DEBUG]	Mime type found: image/png
2023-10-13	13:37:38	4132	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38443_schwalbe_land_cruiser_plus_puncture_guard_noir-reflex_28_x_2_00_hs450_50-622_twin_skin,_active_line_e-25.png
2023-10-13	13:37:38	4132	[DEBUG]	Full name target: bcprisme/38443_schwalbe_land_cruiser_plus_puncture_guard_noir-reflex_28_x_2_00_hs450_50-622_twin_skin,_active_line_e-25.png
2023-10-13	13:37:39	4132	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:39	4132	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38443_schwalbe_land_cruiser_plus_puncture_guard_noir-reflex_28_x_2_00_hs450_50-622_twin_skin,_active_line_e-25.png'
2023-10-13	13:37:39	4132	[DEBUG]	Query for Media
2023-10-13	13:37:39	4132	[DEBUG]	Executed store
2023-10-13	13:37:39	4132	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38443_schwalbe_land_cruiser_plus_puncture_guard_noir-reflex_28_x_2_00_hs450_50-622_twin_skin,_active_line_e-25.png',`file_url_thumb`='bcprisme/38443_schwalbe_land_cruiser_plus_puncture_guard_noir-reflex_28_x_2_00_hs450_50-622_twin_skin,_active_line_e-25.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1404825'
2023-10-13	13:37:39	4132	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:39	4132	[DEBUG]	Executed store
2023-10-13	13:37:39	4132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863624','1404825','1')
2023-10-13	13:37:39	4132	[DEBUG]	Store product image relation
2023-10-13	13:37:39	4132	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:39	4132	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863624 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:39	4132	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:39	4132	[DEBUG]	Executed store
2023-10-13	13:37:39	4132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863624','0','33.8904363974002','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:39	4132	[DEBUG]	Checking manufacturer
2023-10-13	13:37:39	4132	[DEBUG]	Load a row
2023-10-13	13:37:39	4132	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:39	4132	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:39	4132	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:39	4132	[DEBUG]	Executed store
2023-10-13	13:37:39	4132	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:39	4132	[DEBUG]	Manufacturer exists
2023-10-13	13:37:39	4132	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:39	4132	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:39	4132	[DEBUG]	Executed store
2023-10-13	13:37:39	4132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863624','25')
2023-10-13	13:37:39	4132	[DEBUG]	Find the custom field ID
2023-10-13	13:37:39	4132	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:39	4132	[DEBUG]	No custom field ID found
2023-10-13	13:37:39	4132	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:39	4132	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:37:39	4132	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863624 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:39	4132	[DEBUG]	Store custom available field
2023-10-13	13:37:39	4132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863624,3,'39.7891666666667',1)
2023-10-13	13:37:39	4132	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:39	4132	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:39	4132	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863624 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:39	4132	[DEBUG]	Store custom available field
2023-10-13	13:37:39	4132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863624,6,'choisir la taille',3)
2023-10-13	13:37:39	4132	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:39	4132	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:39	4132	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:39	4132	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:39	4132	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863624 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:39	4132	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:39	4132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863624,8,1)
2023-10-13	13:37:39	4132	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:39	4132	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863624\":[1863624,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863624
2023-10-13	13:37:39	4132	[DEBUG]	Checking category
2023-10-13	13:37:39	4132	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:39	4132	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863624
2023-10-13	13:37:39	4132	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:39	4132	[DEBUG]	Executed store
2023-10-13	13:37:39	4132	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863624','7407')
2023-10-13	13:37:39	4132	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:39	4132	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863624 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:39	4132	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:39	4132	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863624
2023-10-13	13:37:39	4133	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:39	4133	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:39	4133	[DEBUG]	Use field value for field taille
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:39	4133	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:39	4133	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:39	4133	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:39	4133	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:39	4133	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:39	4133	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:39	4133	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:39	4133	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:39	4133	[DEBUG]	Use field value for field published
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:39	4133	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field override
2023-10-13	13:37:39	4133	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:39	4133	[DEBUG]	Use field value for field slug
2023-10-13	13:37:39	4133	[DEBUG]	Process line 4133
2023-10-13	13:37:39	4133	[DEBUG]	Load a row
2023-10-13	13:37:39	4133	[DEBUG]	Processing item: 4026495906876
2023-10-13	13:37:39	4133	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:39	4133	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:39	4133	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9352_1'
2023-10-13	13:37:39	4133	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:39	4133	[DEBUG]	Processing product tax
2023-10-13	13:37:39	4133	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:39	4133	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:39	4133	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:39	4133	[DEBUG]	Query for Product
2023-10-13	13:37:39	4133	[DEBUG]	Executed store
2023-10-13	13:37:39	4133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863624','4026495906876','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:39	4133	[DEBUG]	No parent found
2023-10-13	13:37:39	4133	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863624 AND customfield_value = 'stockable'
2023-10-13	13:37:39	4133	[DEBUG]	Check product language entry
2023-10-13	13:37:39	4133	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863625
2023-10-13	13:37:39	4133	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:39	4133	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495906876' AND `virtuemart_product_id` != 1863625
2023-10-13	13:37:39	4133	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:39	4133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863625, '4026495906876')
2023-10-13	13:37:39	4133	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:39	4133	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-land-cruiser-plus-puncture-guard-noir-reflex-28-x-2-00-hs450-50-622-twin-skin-active-line-e-25-noir-unitaire' AND `virtuemart_product_id` != 1863625
2023-10-13	13:37:39	4133	[DEBUG]	Query for ProductLang
2023-10-13	13:37:39	4133	[DEBUG]	Executed store
2023-10-13	13:37:39	4133	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Land Cruiser Plus Puncture Guard noir-reflex 28 x 2.00 HS450 50-622 Twin Skin, Active Line E-25 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-land-cruiser-plus-puncture-guard-noir-reflex-28-x-2-00-hs450-50-622-twin-skin-active-line-e-25-noir-unitaire' WHERE `virtuemart_product_id` = '1863625'
2023-10-13	13:37:39	4133	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38443_schwalbe_land_cruiser_plus_puncture_guard_noir-reflex_28_x_2_00_hs450_50-622_twin_skin,_active_line_e-25.png
2023-10-13	13:37:39	4133	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:37:39	4133	[DEBUG]	Process image file
2023-10-13	13:37:39	4133	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000004b0
2023-10-13	13:37:39	4133	[DEBUG]	Mime type found: image/png
2023-10-13	13:37:39	4133	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38443_schwalbe_land_cruiser_plus_puncture_guard_noir-reflex_28_x_2_00_hs450_50-622_twin_skin,_active_line_e-25.png
2023-10-13	13:37:39	4133	[DEBUG]	Full name target: bcprisme/38443_schwalbe_land_cruiser_plus_puncture_guard_noir-reflex_28_x_2_00_hs450_50-622_twin_skin,_active_line_e-25.png
2023-10-13	13:37:40	4133	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:40	4133	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38443_schwalbe_land_cruiser_plus_puncture_guard_noir-reflex_28_x_2_00_hs450_50-622_twin_skin,_active_line_e-25.png'
2023-10-13	13:37:40	4133	[DEBUG]	Query for Media
2023-10-13	13:37:40	4133	[DEBUG]	Executed store
2023-10-13	13:37:40	4133	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38443_schwalbe_land_cruiser_plus_puncture_guard_noir-reflex_28_x_2_00_hs450_50-622_twin_skin,_active_line_e-25.png',`file_url_thumb`='bcprisme/38443_schwalbe_land_cruiser_plus_puncture_guard_noir-reflex_28_x_2_00_hs450_50-622_twin_skin,_active_line_e-25.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1404825'
2023-10-13	13:37:40	4133	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:40	4133	[DEBUG]	Executed store
2023-10-13	13:37:40	4133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863625','1404825','1')
2023-10-13	13:37:40	4133	[DEBUG]	Store product image relation
2023-10-13	13:37:40	4133	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:40	4133	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863625 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:40	4133	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:40	4133	[DEBUG]	Executed store
2023-10-13	13:37:40	4133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863625','0','33.8904363974002','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:40	4133	[DEBUG]	Checking manufacturer
2023-10-13	13:37:40	4133	[DEBUG]	Load a row
2023-10-13	13:37:40	4133	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:40	4133	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:40	4133	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:40	4133	[DEBUG]	Executed store
2023-10-13	13:37:40	4133	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:40	4133	[DEBUG]	Manufacturer exists
2023-10-13	13:37:40	4133	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:40	4133	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:40	4133	[DEBUG]	Executed store
2023-10-13	13:37:40	4133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863625','25')
2023-10-13	13:37:40	4133	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:40	4133	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:40	4133	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863625 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:40	4133	[DEBUG]	Store custom available field
2023-10-13	13:37:40	4133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863625,3,'',1)
2023-10-13	13:37:40	4133	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:40	4133	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:40	4133	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863625 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:40	4133	[DEBUG]	Store custom available field
2023-10-13	13:37:40	4133	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863625,6,'Unitaire',3)
2023-10-13	13:37:40	4133	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:40	4133	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:40	4133	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863624
2023-10-13	13:37:40	4133	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:40	4133	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863624\":[1863624,8,1,\"choisir la taille\"],\"1863625\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863624
2023-10-13	13:37:40	4133	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:40	4133	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863625
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:40	4134	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field taille
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:40	4134	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:40	4134	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:40	4134	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:40	4134	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:40	4134	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:40	4134	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field published
2023-10-13	13:37:40	4134	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:40	4134	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field override
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:40	4134	[DEBUG]	Use field value for field slug
2023-10-13	13:37:40	4134	[DEBUG]	Process line 4134
2023-10-13	13:37:40	4134	[DEBUG]	Load a row
2023-10-13	13:37:40	4134	[DEBUG]	Processing item: A_9609_84
2023-10-13	13:37:40	4134	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:40	4134	[DEBUG]	Processing product tax
2023-10-13	13:37:40	4134	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:40	4134	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:40	4134	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:40	4134	[DEBUG]	Query for Product
2023-10-13	13:37:40	4134	[DEBUG]	Executed store
2023-10-13	13:37:40	4134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9609_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:40	4134	[DEBUG]	Check product language entry
2023-10-13	13:37:40	4134	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863626
2023-10-13	13:37:40	4134	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:40	4134	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9609_84' AND `virtuemart_product_id` != 1863626
2023-10-13	13:37:40	4134	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:40	4134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863626, 'A_9609_84')
2023-10-13	13:37:40	4134	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:40	4134	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-smart-sam-plus-20x2-35-rigide-avec-bande-reflechissante-black-black' AND `virtuemart_product_id` != 1863626
2023-10-13	13:37:40	4134	[DEBUG]	Query for ProductLang
2023-10-13	13:37:40	4134	[DEBUG]	Executed store
2023-10-13	13:37:40	4134	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.86128',`product_name`='SCHWALBE Pneu Smart Sam Plus 20x2.35 rigide avec bande réfléchissante black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-smart-sam-plus-20x2-35-rigide-avec-bande-reflechissante-black-black' WHERE `virtuemart_product_id` = '1863626'
2023-10-13	13:37:40	4134	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_68548_00.jpg
2023-10-13	13:37:40	4134	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:40	4134	[DEBUG]	Process image file
2023-10-13	13:37:40	4134	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:40	4134	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:40	4134	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_68548_00.jpg
2023-10-13	13:37:40	4134	[DEBUG]	Full name target: bcprisme/24_68548_00.jpg
2023-10-13	13:37:41	4134	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:41	4134	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_68548_00.jpg'
2023-10-13	13:37:41	4134	[DEBUG]	Query for Media
2023-10-13	13:37:41	4134	[DEBUG]	Executed store
2023-10-13	13:37:41	4134	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_68548_00.jpg',`file_url_thumb`='bcprisme/24_68548_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1511824'
2023-10-13	13:37:41	4134	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:41	4134	[DEBUG]	Executed store
2023-10-13	13:37:41	4134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863626','1511824','1')
2023-10-13	13:37:41	4134	[DEBUG]	Store product image relation
2023-10-13	13:37:41	4134	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:41	4134	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863626 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:41	4134	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:41	4134	[DEBUG]	Executed store
2023-10-13	13:37:41	4134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863626','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:41	4134	[DEBUG]	Checking manufacturer
2023-10-13	13:37:41	4134	[DEBUG]	Load a row
2023-10-13	13:37:41	4134	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:41	4134	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:41	4134	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:41	4134	[DEBUG]	Executed store
2023-10-13	13:37:41	4134	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:41	4134	[DEBUG]	Manufacturer exists
2023-10-13	13:37:41	4134	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:37:41	4134	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:41	4134	[DEBUG]	Executed store
2023-10-13	13:37:41	4134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863626','24')
2023-10-13	13:37:41	4134	[DEBUG]	Find the custom field ID
2023-10-13	13:37:41	4134	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:41	4134	[DEBUG]	No custom field ID found
2023-10-13	13:37:41	4134	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:41	4134	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:37:41	4134	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863626 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:41	4134	[DEBUG]	Store custom available field
2023-10-13	13:37:41	4134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863626,3,'0',1)
2023-10-13	13:37:41	4134	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:41	4134	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:41	4134	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863626 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:41	4134	[DEBUG]	Store custom available field
2023-10-13	13:37:41	4134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863626,6,'choisir la taille',3)
2023-10-13	13:37:41	4134	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:41	4134	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:41	4134	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:41	4134	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:41	4134	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863626 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:41	4134	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:41	4134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863626,8,1)
2023-10-13	13:37:41	4134	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:41	4134	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863626\":[1863626,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863626
2023-10-13	13:37:41	4134	[DEBUG]	Checking category
2023-10-13	13:37:41	4134	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:41	4134	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863626
2023-10-13	13:37:41	4134	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:41	4134	[DEBUG]	Executed store
2023-10-13	13:37:41	4134	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863626','7407')
2023-10-13	13:37:41	4134	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:41	4134	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863626 AND `virtuemart_category_id` NOT IN (7407)
2023-10-13	13:37:41	4134	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:41	4134	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863626
2023-10-13	13:37:41	4135	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:41	4135	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:41	4135	[DEBUG]	Use field value for field taille
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:41	4135	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:41	4135	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:41	4135	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:41	4135	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:41	4135	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:41	4135	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:41	4135	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:41	4135	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:41	4135	[DEBUG]	Use field value for field published
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:41	4135	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field override
2023-10-13	13:37:41	4135	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:41	4135	[DEBUG]	Use field value for field slug
2023-10-13	13:37:41	4135	[DEBUG]	Process line 4135
2023-10-13	13:37:41	4135	[DEBUG]	Load a row
2023-10-13	13:37:41	4135	[DEBUG]	Processing item: 4026495907392
2023-10-13	13:37:41	4135	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:41	4135	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:41	4135	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9609_84'
2023-10-13	13:37:41	4135	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:41	4135	[DEBUG]	Processing product tax
2023-10-13	13:37:41	4135	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:41	4135	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:41	4135	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:41	4135	[DEBUG]	Query for Product
2023-10-13	13:37:41	4135	[DEBUG]	Executed store
2023-10-13	13:37:41	4135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863626','4026495907392','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:41	4135	[DEBUG]	No parent found
2023-10-13	13:37:41	4135	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863626 AND customfield_value = 'stockable'
2023-10-13	13:37:41	4135	[DEBUG]	Check product language entry
2023-10-13	13:37:41	4135	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863627
2023-10-13	13:37:41	4135	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:41	4135	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495907392' AND `virtuemart_product_id` != 1863627
2023-10-13	13:37:41	4135	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:41	4135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863627, '4026495907392')
2023-10-13	13:37:41	4135	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:41	4135	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-smart-sam-plus-20x2-35-rigide-avec-bande-reflechissante-black-black-unitaire' AND `virtuemart_product_id` != 1863627
2023-10-13	13:37:41	4135	[DEBUG]	Query for ProductLang
2023-10-13	13:37:41	4135	[DEBUG]	Executed store
2023-10-13	13:37:41	4135	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Smart Sam Plus 20x2.35 rigide avec bande réfléchissante black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-smart-sam-plus-20x2-35-rigide-avec-bande-reflechissante-black-black-unitaire' WHERE `virtuemart_product_id` = '1863627'
2023-10-13	13:37:41	4135	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_68548_00.jpg
2023-10-13	13:37:41	4135	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:41	4135	[DEBUG]	Process image file
2023-10-13	13:37:41	4135	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:41	4135	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:41	4135	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_68548_00.jpg
2023-10-13	13:37:41	4135	[DEBUG]	Full name target: bcprisme/24_68548_00.jpg
2023-10-13	13:37:42	4135	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:42	4135	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_68548_00.jpg'
2023-10-13	13:37:42	4135	[DEBUG]	Query for Media
2023-10-13	13:37:42	4135	[DEBUG]	Executed store
2023-10-13	13:37:42	4135	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_68548_00.jpg',`file_url_thumb`='bcprisme/24_68548_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1511824'
2023-10-13	13:37:42	4135	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:42	4135	[DEBUG]	Executed store
2023-10-13	13:37:42	4135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863627','1511824','1')
2023-10-13	13:37:42	4135	[DEBUG]	Store product image relation
2023-10-13	13:37:42	4135	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:42	4135	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863627 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:42	4135	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:42	4135	[DEBUG]	Executed store
2023-10-13	13:37:42	4135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863627','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:42	4135	[DEBUG]	Checking manufacturer
2023-10-13	13:37:42	4135	[DEBUG]	Load a row
2023-10-13	13:37:42	4135	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:42	4135	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:42	4135	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:42	4135	[DEBUG]	Executed store
2023-10-13	13:37:42	4135	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:42	4135	[DEBUG]	Manufacturer exists
2023-10-13	13:37:42	4135	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:37:42	4135	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:42	4135	[DEBUG]	Executed store
2023-10-13	13:37:42	4135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863627','24')
2023-10-13	13:37:42	4135	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:42	4135	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:42	4135	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863627 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:42	4135	[DEBUG]	Store custom available field
2023-10-13	13:37:42	4135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863627,3,'',1)
2023-10-13	13:37:42	4135	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:42	4135	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:42	4135	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863627 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:42	4135	[DEBUG]	Store custom available field
2023-10-13	13:37:42	4135	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863627,6,'Unitaire',3)
2023-10-13	13:37:42	4135	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:42	4135	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:42	4135	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863626
2023-10-13	13:37:42	4135	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:42	4135	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863626\":[1863626,8,1,\"choisir la taille\"],\"1863627\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863626
2023-10-13	13:37:42	4135	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:42	4135	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863627
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:42	4136	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field taille
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:42	4136	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:42	4136	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:42	4136	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:42	4136	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:42	4136	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:42	4136	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field published
2023-10-13	13:37:42	4136	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:42	4136	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field override
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:42	4136	[DEBUG]	Use field value for field slug
2023-10-13	13:37:42	4136	[DEBUG]	Process line 4136
2023-10-13	13:37:42	4136	[DEBUG]	Load a row
2023-10-13	13:37:42	4136	[DEBUG]	Processing item: A_5184_3
2023-10-13	13:37:42	4136	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:42	4136	[DEBUG]	Processing product tax
2023-10-13	13:37:42	4136	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:42	4136	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:42	4136	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:42	4136	[DEBUG]	Query for Product
2023-10-13	13:37:42	4136	[DEBUG]	Executed store
2023-10-13	13:37:42	4136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5184_3','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:42	4136	[DEBUG]	Check product language entry
2023-10-13	13:37:42	4136	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863628
2023-10-13	13:37:42	4136	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:42	4136	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5184_3' AND `virtuemart_product_id` != 1863628
2023-10-13	13:37:42	4136	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:42	4136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863628, 'A_5184_3')
2023-10-13	13:37:42	4136	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:42	4136	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-black-jack-active-line-24x1-90-54-507-none' AND `virtuemart_product_id` != 1863628
2023-10-13	13:37:42	4136	[DEBUG]	Query for ProductLang
2023-10-13	13:37:42	4136	[DEBUG]	Executed store
2023-10-13	13:37:42	4136	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : 10.55.03.649',`product_name`='SCHWALBE Pneu Schwalbe Black Jack Active Line 24x1.90 54-507 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-black-jack-active-line-24x1-90-54-507-none' WHERE `virtuemart_product_id` = '1863628'
2023-10-13	13:37:42	4136	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29649_pneu_schwalbe_black_jack_active_line_24x1_90_54-507.jpg
2023-10-13	13:37:42	4136	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:42	4136	[DEBUG]	Process image file
2023-10-13	13:37:42	4136	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:42	4136	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:42	4136	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29649_pneu_schwalbe_black_jack_active_line_24x1_90_54-507.jpg
2023-10-13	13:37:42	4136	[DEBUG]	Full name target: bcprisme/29649_pneu_schwalbe_black_jack_active_line_24x1_90_54-507.jpg
2023-10-13	13:37:43	4136	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:43	4136	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29649_pneu_schwalbe_black_jack_active_line_24x1_90_54-507.jpg'
2023-10-13	13:37:43	4136	[DEBUG]	Query for Media
2023-10-13	13:37:43	4136	[DEBUG]	Executed store
2023-10-13	13:37:43	4136	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29649_pneu_schwalbe_black_jack_active_line_24x1_90_54-507.jpg',`file_url_thumb`='bcprisme/29649_pneu_schwalbe_black_jack_active_line_24x1_90_54-507.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14484'
2023-10-13	13:37:43	4136	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:43	4136	[DEBUG]	Executed store
2023-10-13	13:37:43	4136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863628','14484','1')
2023-10-13	13:37:43	4136	[DEBUG]	Store product image relation
2023-10-13	13:37:43	4136	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:43	4136	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863628 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:43	4136	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:43	4136	[DEBUG]	Executed store
2023-10-13	13:37:43	4136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863628','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:43	4136	[DEBUG]	Checking manufacturer
2023-10-13	13:37:43	4136	[DEBUG]	Load a row
2023-10-13	13:37:43	4136	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:43	4136	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:43	4136	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:43	4136	[DEBUG]	Executed store
2023-10-13	13:37:43	4136	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:43	4136	[DEBUG]	Manufacturer exists
2023-10-13	13:37:43	4136	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:43	4136	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:43	4136	[DEBUG]	Executed store
2023-10-13	13:37:43	4136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863628','25')
2023-10-13	13:37:43	4136	[DEBUG]	Find the custom field ID
2023-10-13	13:37:43	4136	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:43	4136	[DEBUG]	No custom field ID found
2023-10-13	13:37:43	4136	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:43	4136	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:37:43	4136	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863628 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:43	4136	[DEBUG]	Store custom available field
2023-10-13	13:37:43	4136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863628,3,'39.7891666666667',1)
2023-10-13	13:37:43	4136	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:43	4136	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:43	4136	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863628 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:43	4136	[DEBUG]	Store custom available field
2023-10-13	13:37:43	4136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863628,6,'choisir la taille',3)
2023-10-13	13:37:43	4136	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:43	4136	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:43	4136	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:43	4136	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:43	4136	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863628 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:43	4136	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:43	4136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863628,8,1)
2023-10-13	13:37:43	4136	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:43	4136	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863628\":[1863628,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863628
2023-10-13	13:37:43	4136	[DEBUG]	Checking category
2023-10-13	13:37:43	4136	[DEBUG]	Check if category path exists: PNEUS 24- REIFEN 24
2023-10-13	13:37:43	4136	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS 24- REIFEN 24' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:37:43	4136	[DEBUG]	Query for Category
2023-10-13	13:37:43	4136	[DEBUG]	Executed store
2023-10-13	13:37:43	4136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','12','0','1','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:43	4136	[DEBUG]	Category publish 1
2023-10-13	13:37:43	4136	[DEBUG]	Check the category language
2023-10-13	13:37:43	4136	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7408
2023-10-13	13:37:43	4136	[DEBUG]	Check the category slug
2023-10-13	13:37:43	4136	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-24--reifen-24' AND `virtuemart_category_id` != 7408
2023-10-13	13:37:43	4136	[DEBUG]	Check the category slug
2023-10-13	13:37:43	4136	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-24--reifen-24' AND `virtuemart_category_id` != 7408
2023-10-13	13:37:43	4136	[DEBUG]	Add the category language entry
2023-10-13	13:37:43	4136	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7408, 'pneus-24--reifen-24')
2023-10-13	13:37:43	4136	[DEBUG]	Query for CategoryLang
2023-10-13	13:37:43	4136	[DEBUG]	Executed store
2023-10-13	13:37:43	4136	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PNEUS 24- REIFEN 24',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pneus-24--reifen-24' WHERE `virtuemart_category_id` = '7408'
2023-10-13	13:37:43	4136	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:37:43	4136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7408','0')
2023-10-13	13:37:43	4136	[DEBUG]	Update has field for parent category
2023-10-13	13:37:43	4136	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:37:43	4136	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:43	4136	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863628
2023-10-13	13:37:43	4136	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:43	4136	[DEBUG]	Executed store
2023-10-13	13:37:43	4136	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863628','7408')
2023-10-13	13:37:43	4136	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:43	4136	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863628 AND `virtuemart_category_id` NOT IN (7408)
2023-10-13	13:37:43	4136	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:43	4136	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863628
2023-10-13	13:37:43	4137	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:43	4137	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:43	4137	[DEBUG]	Use field value for field taille
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:43	4137	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:43	4137	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:43	4137	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:43	4137	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:43	4137	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:43	4137	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:43	4137	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:43	4137	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:43	4137	[DEBUG]	Use field value for field published
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:43	4137	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field override
2023-10-13	13:37:43	4137	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:43	4137	[DEBUG]	Use field value for field slug
2023-10-13	13:37:43	4137	[DEBUG]	Process line 4137
2023-10-13	13:37:43	4137	[DEBUG]	Load a row
2023-10-13	13:37:43	4137	[DEBUG]	Processing item: 4026495810364
2023-10-13	13:37:43	4137	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:43	4137	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:43	4137	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5184_3'
2023-10-13	13:37:43	4137	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:43	4137	[DEBUG]	Processing product tax
2023-10-13	13:37:43	4137	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:43	4137	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:43	4137	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:43	4137	[DEBUG]	Query for Product
2023-10-13	13:37:43	4137	[DEBUG]	Executed store
2023-10-13	13:37:43	4137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863628','4026495810364','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:43	4137	[DEBUG]	No parent found
2023-10-13	13:37:43	4137	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863628 AND customfield_value = 'stockable'
2023-10-13	13:37:43	4137	[DEBUG]	Check product language entry
2023-10-13	13:37:43	4137	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863629
2023-10-13	13:37:43	4137	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:43	4137	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495810364' AND `virtuemart_product_id` != 1863629
2023-10-13	13:37:43	4137	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:43	4137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863629, '4026495810364')
2023-10-13	13:37:43	4137	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:43	4137	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-black-jack-active-line-24x1-90-54-507-none-unitaire' AND `virtuemart_product_id` != 1863629
2023-10-13	13:37:43	4137	[DEBUG]	Query for ProductLang
2023-10-13	13:37:43	4137	[DEBUG]	Executed store
2023-10-13	13:37:43	4137	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Schwalbe Black Jack Active Line 24x1.90 54-507 / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-black-jack-active-line-24x1-90-54-507-none-unitaire' WHERE `virtuemart_product_id` = '1863629'
2023-10-13	13:37:43	4137	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29649_pneu_schwalbe_black_jack_active_line_24x1_90_54-507.jpg
2023-10-13	13:37:43	4137	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:43	4137	[DEBUG]	Process image file
2023-10-13	13:37:43	4137	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:43	4137	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:43	4137	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29649_pneu_schwalbe_black_jack_active_line_24x1_90_54-507.jpg
2023-10-13	13:37:43	4137	[DEBUG]	Full name target: bcprisme/29649_pneu_schwalbe_black_jack_active_line_24x1_90_54-507.jpg
2023-10-13	13:37:44	4137	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:44	4137	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29649_pneu_schwalbe_black_jack_active_line_24x1_90_54-507.jpg'
2023-10-13	13:37:44	4137	[DEBUG]	Query for Media
2023-10-13	13:37:44	4137	[DEBUG]	Executed store
2023-10-13	13:37:44	4137	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29649_pneu_schwalbe_black_jack_active_line_24x1_90_54-507.jpg',`file_url_thumb`='bcprisme/29649_pneu_schwalbe_black_jack_active_line_24x1_90_54-507.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14484'
2023-10-13	13:37:44	4137	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:44	4137	[DEBUG]	Executed store
2023-10-13	13:37:44	4137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863629','14484','1')
2023-10-13	13:37:44	4137	[DEBUG]	Store product image relation
2023-10-13	13:37:44	4137	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:44	4137	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863629 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:44	4137	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:44	4137	[DEBUG]	Executed store
2023-10-13	13:37:44	4137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863629','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:44	4137	[DEBUG]	Checking manufacturer
2023-10-13	13:37:44	4137	[DEBUG]	Load a row
2023-10-13	13:37:44	4137	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:44	4137	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:44	4137	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:44	4137	[DEBUG]	Executed store
2023-10-13	13:37:44	4137	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:44	4137	[DEBUG]	Manufacturer exists
2023-10-13	13:37:44	4137	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:44	4137	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:44	4137	[DEBUG]	Executed store
2023-10-13	13:37:44	4137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863629','25')
2023-10-13	13:37:44	4137	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:44	4137	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:44	4137	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863629 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:44	4137	[DEBUG]	Store custom available field
2023-10-13	13:37:44	4137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863629,3,'',1)
2023-10-13	13:37:44	4137	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:44	4137	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:44	4137	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863629 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:44	4137	[DEBUG]	Store custom available field
2023-10-13	13:37:44	4137	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863629,6,'Unitaire',3)
2023-10-13	13:37:44	4137	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:44	4137	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:44	4137	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863628
2023-10-13	13:37:44	4137	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:44	4137	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863628\":[1863628,8,1,\"choisir la taille\"],\"1863629\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863628
2023-10-13	13:37:44	4137	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:44	4137	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863629
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:44	4138	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field taille
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:44	4138	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:44	4138	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:44	4138	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:44	4138	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:44	4138	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:44	4138	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field published
2023-10-13	13:37:44	4138	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:44	4138	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field override
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:44	4138	[DEBUG]	Use field value for field slug
2023-10-13	13:37:44	4138	[DEBUG]	Process line 4138
2023-10-13	13:37:45	4138	[DEBUG]	Load a row
2023-10-13	13:37:45	4138	[DEBUG]	Processing item: A_7511_16
2023-10-13	13:37:45	4138	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:45	4138	[DEBUG]	Processing product tax
2023-10-13	13:37:45	4138	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:45	4138	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:45	4138	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:45	4138	[DEBUG]	Query for Product
2023-10-13	13:37:45	4138	[DEBUG]	Executed store
2023-10-13	13:37:45	4138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7511_16','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:45	4138	[DEBUG]	Check product language entry
2023-10-13	13:37:45	4138	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863630
2023-10-13	13:37:45	4138	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:45	4138	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7511_16' AND `virtuemart_product_id` != 1863630
2023-10-13	13:37:45	4138	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:45	4138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863630, 'A_7511_16')
2023-10-13	13:37:45	4138	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:45	4138	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bob-pneu-cst-24-x-1-0-gris-pour-chaine-roulante-25-540-7-5-bars-gris' AND `virtuemart_product_id` != 1863630
2023-10-13	13:37:45	4138	[DEBUG]	Query for ProductLang
2023-10-13	13:37:45	4138	[DEBUG]	Executed store
2023-10-13	13:37:45	4138	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : 202412',`product_name`='BOB Pneu CST 24 x 1.0 gris pour chaine roulante 25-540, 7.5 bars / Gris',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bob-pneu-cst-24-x-1-0-gris-pour-chaine-roulante-25-540-7-5-bars-gris' WHERE `virtuemart_product_id` = '1863630'
2023-10-13	13:37:45	4138	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34908_pneu_cst_24_x_1_0_gris_pour_chaine_roulante_25-540,_7_5_bars.jpg
2023-10-13	13:37:45	4138	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:45	4138	[DEBUG]	Process image file
2023-10-13	13:37:45	4138	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:45	4138	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:45	4138	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34908_pneu_cst_24_x_1_0_gris_pour_chaine_roulante_25-540,_7_5_bars.jpg
2023-10-13	13:37:45	4138	[DEBUG]	Full name target: bcprisme/34908_pneu_cst_24_x_1_0_gris_pour_chaine_roulante_25-540,_7_5_bars.jpg
2023-10-13	13:37:45	4138	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:45	4138	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34908_pneu_cst_24_x_1_0_gris_pour_chaine_roulante_25-540,_7_5_bars.jpg'
2023-10-13	13:37:45	4138	[DEBUG]	Query for Media
2023-10-13	13:37:45	4138	[DEBUG]	Executed store
2023-10-13	13:37:45	4138	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34908_pneu_cst_24_x_1_0_gris_pour_chaine_roulante_25-540,_7_5_bars.jpg',`file_url_thumb`='bcprisme/34908_pneu_cst_24_x_1_0_gris_pour_chaine_roulante_25-540,_7_5_bars.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267091'
2023-10-13	13:37:45	4138	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:45	4138	[DEBUG]	Executed store
2023-10-13	13:37:45	4138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863630','267091','1')
2023-10-13	13:37:45	4138	[DEBUG]	Store product image relation
2023-10-13	13:37:45	4138	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:45	4138	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863630 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:45	4138	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:45	4138	[DEBUG]	Executed store
2023-10-13	13:37:45	4138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863630','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:45	4138	[DEBUG]	Checking manufacturer
2023-10-13	13:37:45	4138	[DEBUG]	Load a row
2023-10-13	13:37:45	4138	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:45	4138	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '225'
2023-10-13	13:37:45	4138	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:45	4138	[DEBUG]	Executed store
2023-10-13	13:37:45	4138	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='168',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='168' WHERE `virtuemart_manufacturer_id` = '225'
2023-10-13	13:37:45	4138	[DEBUG]	Manufacturer exists
2023-10-13	13:37:45	4138	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 225
2023-10-13	13:37:45	4138	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:45	4138	[DEBUG]	Executed store
2023-10-13	13:37:45	4138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863630','225')
2023-10-13	13:37:45	4138	[DEBUG]	Find the custom field ID
2023-10-13	13:37:45	4138	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:45	4138	[DEBUG]	No custom field ID found
2023-10-13	13:37:45	4138	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:45	4138	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:37:45	4138	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863630 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:45	4138	[DEBUG]	Store custom available field
2023-10-13	13:37:45	4138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863630,3,'39.7891666666667',1)
2023-10-13	13:37:45	4138	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:45	4138	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:45	4138	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863630 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:45	4138	[DEBUG]	Store custom available field
2023-10-13	13:37:45	4138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863630,6,'choisir la taille',3)
2023-10-13	13:37:45	4138	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:45	4138	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:45	4138	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:46	4138	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:46	4138	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863630 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:46	4138	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:46	4138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863630,8,1)
2023-10-13	13:37:46	4138	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:46	4138	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863630\":[1863630,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863630
2023-10-13	13:37:46	4138	[DEBUG]	Checking category
2023-10-13	13:37:46	4138	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:46	4138	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863630
2023-10-13	13:37:46	4138	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:46	4138	[DEBUG]	Executed store
2023-10-13	13:37:46	4138	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863630','7408')
2023-10-13	13:37:46	4138	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:46	4138	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863630 AND `virtuemart_category_id` NOT IN (7408)
2023-10-13	13:37:46	4138	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:46	4138	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863630
2023-10-13	13:37:46	4139	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:46	4139	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:46	4139	[DEBUG]	Use field value for field taille
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:46	4139	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:46	4139	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:46	4139	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:46	4139	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:46	4139	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:46	4139	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:46	4139	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:46	4139	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:46	4139	[DEBUG]	Use field value for field published
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:46	4139	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field override
2023-10-13	13:37:46	4139	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:46	4139	[DEBUG]	Use field value for field slug
2023-10-13	13:37:46	4139	[DEBUG]	Process line 4139
2023-10-13	13:37:46	4139	[DEBUG]	Load a row
2023-10-13	13:37:46	4139	[DEBUG]	Processing item: 1000000125764
2023-10-13	13:37:46	4139	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:46	4139	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:46	4139	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7511_16'
2023-10-13	13:37:46	4139	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:46	4139	[DEBUG]	Processing product tax
2023-10-13	13:37:46	4139	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:46	4139	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:46	4139	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:46	4139	[DEBUG]	Query for Product
2023-10-13	13:37:46	4139	[DEBUG]	Executed store
2023-10-13	13:37:46	4139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863630','1000000125764','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:46	4139	[DEBUG]	No parent found
2023-10-13	13:37:46	4139	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863630 AND customfield_value = 'stockable'
2023-10-13	13:37:46	4139	[DEBUG]	Check product language entry
2023-10-13	13:37:46	4139	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863631
2023-10-13	13:37:46	4139	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:46	4139	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000125764' AND `virtuemart_product_id` != 1863631
2023-10-13	13:37:46	4139	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:46	4139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863631, '1000000125764')
2023-10-13	13:37:46	4139	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:46	4139	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'bob-pneu-cst-24-x-1-0-gris-pour-chaine-roulante-25-540-7-5-bars-gris-unitaire' AND `virtuemart_product_id` != 1863631
2023-10-13	13:37:46	4139	[DEBUG]	Query for ProductLang
2023-10-13	13:37:46	4139	[DEBUG]	Executed store
2023-10-13	13:37:46	4139	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='BOB Pneu CST 24 x 1.0 gris pour chaine roulante 25-540, 7.5 bars / Gris (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='bob-pneu-cst-24-x-1-0-gris-pour-chaine-roulante-25-540-7-5-bars-gris-unitaire' WHERE `virtuemart_product_id` = '1863631'
2023-10-13	13:37:46	4139	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34908_pneu_cst_24_x_1_0_gris_pour_chaine_roulante_25-540,_7_5_bars.jpg
2023-10-13	13:37:46	4139	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:46	4139	[DEBUG]	Process image file
2023-10-13	13:37:46	4139	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:46	4139	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:46	4139	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34908_pneu_cst_24_x_1_0_gris_pour_chaine_roulante_25-540,_7_5_bars.jpg
2023-10-13	13:37:46	4139	[DEBUG]	Full name target: bcprisme/34908_pneu_cst_24_x_1_0_gris_pour_chaine_roulante_25-540,_7_5_bars.jpg
2023-10-13	13:37:47	4139	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:47	4139	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34908_pneu_cst_24_x_1_0_gris_pour_chaine_roulante_25-540,_7_5_bars.jpg'
2023-10-13	13:37:47	4139	[DEBUG]	Query for Media
2023-10-13	13:37:47	4139	[DEBUG]	Executed store
2023-10-13	13:37:47	4139	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34908_pneu_cst_24_x_1_0_gris_pour_chaine_roulante_25-540,_7_5_bars.jpg',`file_url_thumb`='bcprisme/34908_pneu_cst_24_x_1_0_gris_pour_chaine_roulante_25-540,_7_5_bars.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267091'
2023-10-13	13:37:47	4139	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:47	4139	[DEBUG]	Executed store
2023-10-13	13:37:47	4139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863631','267091','1')
2023-10-13	13:37:47	4139	[DEBUG]	Store product image relation
2023-10-13	13:37:47	4139	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:47	4139	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863631 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:47	4139	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:47	4139	[DEBUG]	Executed store
2023-10-13	13:37:47	4139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863631','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:47	4139	[DEBUG]	Checking manufacturer
2023-10-13	13:37:47	4139	[DEBUG]	Load a row
2023-10-13	13:37:47	4139	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:47	4139	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '225'
2023-10-13	13:37:47	4139	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:47	4139	[DEBUG]	Executed store
2023-10-13	13:37:47	4139	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='168',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='168' WHERE `virtuemart_manufacturer_id` = '225'
2023-10-13	13:37:47	4139	[DEBUG]	Manufacturer exists
2023-10-13	13:37:47	4139	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 225
2023-10-13	13:37:47	4139	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:47	4139	[DEBUG]	Executed store
2023-10-13	13:37:47	4139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863631','225')
2023-10-13	13:37:47	4139	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:47	4139	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:47	4139	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863631 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:47	4139	[DEBUG]	Store custom available field
2023-10-13	13:37:47	4139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863631,3,'',1)
2023-10-13	13:37:47	4139	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:47	4139	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:47	4139	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863631 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:47	4139	[DEBUG]	Store custom available field
2023-10-13	13:37:47	4139	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863631,6,'Unitaire',3)
2023-10-13	13:37:47	4139	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:47	4139	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:47	4139	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863630
2023-10-13	13:37:47	4139	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:47	4139	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863630\":[1863630,8,1,\"choisir la taille\"],\"1863631\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863630
2023-10-13	13:37:47	4139	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:47	4139	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863631
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:47	4140	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field taille
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:47	4140	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:47	4140	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:47	4140	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:47	4140	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:47	4140	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:47	4140	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field published
2023-10-13	13:37:47	4140	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:47	4140	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field override
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:47	4140	[DEBUG]	Use field value for field slug
2023-10-13	13:37:47	4140	[DEBUG]	Process line 4140
2023-10-13	13:37:47	4140	[DEBUG]	Load a row
2023-10-13	13:37:47	4140	[DEBUG]	Processing item: A_7587_84
2023-10-13	13:37:47	4140	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:47	4140	[DEBUG]	Processing product tax
2023-10-13	13:37:47	4140	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:47	4140	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:47	4140	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:47	4140	[DEBUG]	Query for Product
2023-10-13	13:37:47	4140	[DEBUG]	Executed store
2023-10-13	13:37:47	4140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7587_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:47	4140	[DEBUG]	Check product language entry
2023-10-13	13:37:47	4140	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863632
2023-10-13	13:37:47	4140	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:47	4140	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7587_84' AND `virtuemart_product_id` != 1863632
2023-10-13	13:37:47	4140	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:47	4140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863632, 'A_7587_84')
2023-10-13	13:37:47	4140	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:47	4140	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-smart-sam-24x2-10-rigide-black-black' AND `virtuemart_product_id` != 1863632
2023-10-13	13:37:47	4140	[DEBUG]	Query for ProductLang
2023-10-13	13:37:47	4140	[DEBUG]	Executed store
2023-10-13	13:37:47	4140	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.68536',`product_name`='SCHWALBE Pneu Smart Sam 24x2.10 rigide black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-smart-sam-24x2-10-rigide-black-black' WHERE `virtuemart_product_id` = '1863632'
2023-10-13	13:37:47	4140	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_68536.jpg
2023-10-13	13:37:47	4140	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:47	4140	[DEBUG]	Process image file
2023-10-13	13:37:47	4140	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:47	4140	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:47	4140	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_68536.jpg
2023-10-13	13:37:47	4140	[DEBUG]	Full name target: bcprisme/24_68536.jpg
2023-10-13	13:37:48	4140	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:48	4140	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_68536.jpg'
2023-10-13	13:37:48	4140	[DEBUG]	Query for Media
2023-10-13	13:37:48	4140	[DEBUG]	Executed store
2023-10-13	13:37:48	4140	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_68536.jpg',`file_url_thumb`='bcprisme/24_68536.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '331677'
2023-10-13	13:37:48	4140	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:48	4140	[DEBUG]	Executed store
2023-10-13	13:37:48	4140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863632','331677','1')
2023-10-13	13:37:48	4140	[DEBUG]	Store product image relation
2023-10-13	13:37:48	4140	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:48	4140	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863632 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:48	4140	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:48	4140	[DEBUG]	Executed store
2023-10-13	13:37:48	4140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863632','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:48	4140	[DEBUG]	Checking manufacturer
2023-10-13	13:37:48	4140	[DEBUG]	Load a row
2023-10-13	13:37:48	4140	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:48	4140	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:48	4140	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:48	4140	[DEBUG]	Executed store
2023-10-13	13:37:48	4140	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:48	4140	[DEBUG]	Manufacturer exists
2023-10-13	13:37:48	4140	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:37:48	4140	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:48	4140	[DEBUG]	Executed store
2023-10-13	13:37:48	4140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863632','24')
2023-10-13	13:37:48	4140	[DEBUG]	Find the custom field ID
2023-10-13	13:37:48	4140	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:48	4140	[DEBUG]	No custom field ID found
2023-10-13	13:37:48	4140	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:48	4140	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:37:48	4140	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863632 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:48	4140	[DEBUG]	Store custom available field
2023-10-13	13:37:48	4140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863632,3,'0',1)
2023-10-13	13:37:48	4140	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:48	4140	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:48	4140	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863632 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:48	4140	[DEBUG]	Store custom available field
2023-10-13	13:37:48	4140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863632,6,'choisir la taille',3)
2023-10-13	13:37:48	4140	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:48	4140	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:48	4140	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:48	4140	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:48	4140	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863632 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:48	4140	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:48	4140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863632,8,1)
2023-10-13	13:37:48	4140	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:48	4140	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863632\":[1863632,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863632
2023-10-13	13:37:48	4140	[DEBUG]	Checking category
2023-10-13	13:37:48	4140	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:48	4140	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863632
2023-10-13	13:37:48	4140	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:48	4140	[DEBUG]	Executed store
2023-10-13	13:37:48	4140	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863632','7408')
2023-10-13	13:37:48	4140	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:48	4140	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863632 AND `virtuemart_category_id` NOT IN (7408)
2023-10-13	13:37:48	4140	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:48	4140	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863632
2023-10-13	13:37:48	4141	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:48	4141	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:48	4141	[DEBUG]	Use field value for field taille
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:48	4141	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:48	4141	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:48	4141	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:48	4141	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:48	4141	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:48	4141	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:48	4141	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:48	4141	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:48	4141	[DEBUG]	Use field value for field published
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:48	4141	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field override
2023-10-13	13:37:48	4141	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:48	4141	[DEBUG]	Use field value for field slug
2023-10-13	13:37:48	4141	[DEBUG]	Process line 4141
2023-10-13	13:37:48	4141	[DEBUG]	Load a row
2023-10-13	13:37:48	4141	[DEBUG]	Processing item: 4026495820103
2023-10-13	13:37:48	4141	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:48	4141	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:48	4141	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7587_84'
2023-10-13	13:37:48	4141	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:48	4141	[DEBUG]	Processing product tax
2023-10-13	13:37:48	4141	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:48	4141	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:48	4141	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:48	4141	[DEBUG]	Query for Product
2023-10-13	13:37:48	4141	[DEBUG]	Executed store
2023-10-13	13:37:48	4141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863632','4026495820103','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:48	4141	[DEBUG]	No parent found
2023-10-13	13:37:48	4141	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863632 AND customfield_value = 'stockable'
2023-10-13	13:37:48	4141	[DEBUG]	Check product language entry
2023-10-13	13:37:48	4141	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863633
2023-10-13	13:37:48	4141	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:48	4141	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495820103' AND `virtuemart_product_id` != 1863633
2023-10-13	13:37:48	4141	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:48	4141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863633, '4026495820103')
2023-10-13	13:37:48	4141	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:48	4141	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-smart-sam-24x2-10-rigide-black-black-unitaire' AND `virtuemart_product_id` != 1863633
2023-10-13	13:37:48	4141	[DEBUG]	Query for ProductLang
2023-10-13	13:37:48	4141	[DEBUG]	Executed store
2023-10-13	13:37:48	4141	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Smart Sam 24x2.10 rigide black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-smart-sam-24x2-10-rigide-black-black-unitaire' WHERE `virtuemart_product_id` = '1863633'
2023-10-13	13:37:48	4141	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_68536.jpg
2023-10-13	13:37:48	4141	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:48	4141	[DEBUG]	Process image file
2023-10-13	13:37:48	4141	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:48	4141	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:48	4141	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_68536.jpg
2023-10-13	13:37:48	4141	[DEBUG]	Full name target: bcprisme/24_68536.jpg
2023-10-13	13:37:49	4141	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:49	4141	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_68536.jpg'
2023-10-13	13:37:49	4141	[DEBUG]	Query for Media
2023-10-13	13:37:49	4141	[DEBUG]	Executed store
2023-10-13	13:37:49	4141	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_68536.jpg',`file_url_thumb`='bcprisme/24_68536.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '331677'
2023-10-13	13:37:49	4141	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:49	4141	[DEBUG]	Executed store
2023-10-13	13:37:49	4141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863633','331677','1')
2023-10-13	13:37:49	4141	[DEBUG]	Store product image relation
2023-10-13	13:37:49	4141	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:49	4141	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863633 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:49	4141	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:49	4141	[DEBUG]	Executed store
2023-10-13	13:37:49	4141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863633','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:49	4141	[DEBUG]	Checking manufacturer
2023-10-13	13:37:49	4141	[DEBUG]	Load a row
2023-10-13	13:37:49	4141	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:49	4141	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:49	4141	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:49	4141	[DEBUG]	Executed store
2023-10-13	13:37:49	4141	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:37:49	4141	[DEBUG]	Manufacturer exists
2023-10-13	13:37:49	4141	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:37:49	4141	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:49	4141	[DEBUG]	Executed store
2023-10-13	13:37:49	4141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863633','24')
2023-10-13	13:37:49	4141	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:49	4141	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:49	4141	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863633 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:49	4141	[DEBUG]	Store custom available field
2023-10-13	13:37:49	4141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863633,3,'',1)
2023-10-13	13:37:49	4141	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:49	4141	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:49	4141	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863633 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:49	4141	[DEBUG]	Store custom available field
2023-10-13	13:37:49	4141	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863633,6,'Unitaire',3)
2023-10-13	13:37:49	4141	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:49	4141	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:49	4141	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863632
2023-10-13	13:37:49	4141	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:49	4141	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863632\":[1863632,8,1,\"choisir la taille\"],\"1863633\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863632
2023-10-13	13:37:49	4141	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:49	4141	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863633
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:49	4142	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field taille
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:49	4142	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:49	4142	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:49	4142	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:49	4142	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:49	4142	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:49	4142	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field published
2023-10-13	13:37:49	4142	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:49	4142	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field override
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:49	4142	[DEBUG]	Use field value for field slug
2023-10-13	13:37:49	4142	[DEBUG]	Process line 4142
2023-10-13	13:37:49	4142	[DEBUG]	Load a row
2023-10-13	13:37:49	4142	[DEBUG]	Processing item: A_4964_3
2023-10-13	13:37:49	4142	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:49	4142	[DEBUG]	Processing product tax
2023-10-13	13:37:49	4142	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:49	4142	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:49	4142	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:49	4142	[DEBUG]	Query for Product
2023-10-13	13:37:49	4142	[DEBUG]	Executed store
2023-10-13	13:37:49	4142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4964_3','0.6','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:49	4142	[DEBUG]	Check product language entry
2023-10-13	13:37:49	4142	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863634
2023-10-13	13:37:49	4142	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:49	4142	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4964_3' AND `virtuemart_product_id` != 1863634
2023-10-13	13:37:49	4142	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:49	4142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863634, 'A_4964_3')
2023-10-13	13:37:49	4142	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:49	4142	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rocket-ron-26-x-2-25-57-559-none' AND `virtuemart_product_id` != 1863634
2023-10-13	13:37:49	4142	[DEBUG]	Query for ProductLang
2023-10-13	13:37:49	4142	[DEBUG]	Executed store
2023-10-13	13:37:49	4142	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.482',`product_name`='SCHWALBE PNEU ROCKET RON 26 X 2.25 57-559 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rocket-ron-26-x-2-25-57-559-none' WHERE `virtuemart_product_id` = '1863634'
2023-10-13	13:37:49	4142	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28992_pneu_schwalbe_rocket_ron_26_x_2_25_57-559.jpg
2023-10-13	13:37:49	4142	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:49	4142	[DEBUG]	Process image file
2023-10-13	13:37:49	4142	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:49	4142	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:49	4142	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28992_pneu_schwalbe_rocket_ron_26_x_2_25_57-559.jpg
2023-10-13	13:37:49	4142	[DEBUG]	Full name target: bcprisme/28992_pneu_schwalbe_rocket_ron_26_x_2_25_57-559.jpg
2023-10-13	13:37:50	4142	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:50	4142	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28992_pneu_schwalbe_rocket_ron_26_x_2_25_57-559.jpg'
2023-10-13	13:37:50	4142	[DEBUG]	Query for Media
2023-10-13	13:37:50	4142	[DEBUG]	Executed store
2023-10-13	13:37:50	4142	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28992_pneu_schwalbe_rocket_ron_26_x_2_25_57-559.jpg',`file_url_thumb`='bcprisme/28992_pneu_schwalbe_rocket_ron_26_x_2_25_57-559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16013'
2023-10-13	13:37:50	4142	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:50	4142	[DEBUG]	Executed store
2023-10-13	13:37:50	4142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863634','16013','1')
2023-10-13	13:37:50	4142	[DEBUG]	Store product image relation
2023-10-13	13:37:50	4142	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:50	4142	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863634 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:50	4142	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:50	4142	[DEBUG]	Executed store
2023-10-13	13:37:50	4142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863634','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:50	4142	[DEBUG]	Checking manufacturer
2023-10-13	13:37:50	4142	[DEBUG]	Load a row
2023-10-13	13:37:50	4142	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:50	4142	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:50	4142	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:50	4142	[DEBUG]	Executed store
2023-10-13	13:37:50	4142	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:50	4142	[DEBUG]	Manufacturer exists
2023-10-13	13:37:50	4142	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:50	4142	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:50	4142	[DEBUG]	Executed store
2023-10-13	13:37:50	4142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863634','25')
2023-10-13	13:37:50	4142	[DEBUG]	Find the custom field ID
2023-10-13	13:37:50	4142	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:50	4142	[DEBUG]	No custom field ID found
2023-10-13	13:37:50	4142	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:50	4142	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:37:50	4142	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863634 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:50	4142	[DEBUG]	Store custom available field
2023-10-13	13:37:50	4142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863634,3,'0',1)
2023-10-13	13:37:50	4142	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:50	4142	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:50	4142	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863634 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:50	4142	[DEBUG]	Store custom available field
2023-10-13	13:37:50	4142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863634,6,'choisir la taille',3)
2023-10-13	13:37:50	4142	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:50	4142	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:50	4142	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:50	4142	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:50	4142	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863634 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:50	4142	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:50	4142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863634,8,1)
2023-10-13	13:37:50	4142	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:50	4142	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863634\":[1863634,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863634
2023-10-13	13:37:50	4142	[DEBUG]	Checking category
2023-10-13	13:37:50	4142	[DEBUG]	Check if category path exists: PNEUS 26- REIFEN 26
2023-10-13	13:37:50	4142	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS 26- REIFEN 26' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:37:50	4142	[DEBUG]	Query for Category
2023-10-13	13:37:50	4142	[DEBUG]	Executed store
2023-10-13	13:37:50	4142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','13','0','1','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:50	4142	[DEBUG]	Category publish 1
2023-10-13	13:37:50	4142	[DEBUG]	Check the category language
2023-10-13	13:37:50	4142	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7409
2023-10-13	13:37:50	4142	[DEBUG]	Check the category slug
2023-10-13	13:37:50	4142	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-26--reifen-26' AND `virtuemart_category_id` != 7409
2023-10-13	13:37:50	4142	[DEBUG]	Check the category slug
2023-10-13	13:37:50	4142	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-26--reifen-26' AND `virtuemart_category_id` != 7409
2023-10-13	13:37:50	4142	[DEBUG]	Add the category language entry
2023-10-13	13:37:50	4142	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7409, 'pneus-26--reifen-26')
2023-10-13	13:37:50	4142	[DEBUG]	Query for CategoryLang
2023-10-13	13:37:50	4142	[DEBUG]	Executed store
2023-10-13	13:37:50	4142	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PNEUS 26- REIFEN 26',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pneus-26--reifen-26' WHERE `virtuemart_category_id` = '7409'
2023-10-13	13:37:50	4142	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:37:50	4142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7409','0')
2023-10-13	13:37:50	4142	[DEBUG]	Update has field for parent category
2023-10-13	13:37:50	4142	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:37:50	4142	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:50	4142	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863634
2023-10-13	13:37:50	4142	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:50	4142	[DEBUG]	Executed store
2023-10-13	13:37:50	4142	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863634','7409')
2023-10-13	13:37:50	4142	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:50	4142	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863634 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:37:50	4142	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:50	4142	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863634
2023-10-13	13:37:50	4143	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:50	4143	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:50	4143	[DEBUG]	Use field value for field taille
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:50	4143	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:50	4143	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:50	4143	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:50	4143	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:50	4143	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:50	4143	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:50	4143	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:50	4143	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:50	4143	[DEBUG]	Use field value for field published
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:50	4143	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field override
2023-10-13	13:37:50	4143	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:50	4143	[DEBUG]	Use field value for field slug
2023-10-13	13:37:50	4143	[DEBUG]	Process line 4143
2023-10-13	13:37:50	4143	[DEBUG]	Load a row
2023-10-13	13:37:50	4143	[DEBUG]	Processing item: 4026495821582
2023-10-13	13:37:50	4143	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:50	4143	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:50	4143	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4964_3'
2023-10-13	13:37:50	4143	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:50	4143	[DEBUG]	Processing product tax
2023-10-13	13:37:50	4143	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:50	4143	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:50	4143	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:50	4143	[DEBUG]	Query for Product
2023-10-13	13:37:50	4143	[DEBUG]	Executed store
2023-10-13	13:37:50	4143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863634','4026495821582','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:50	4143	[DEBUG]	No parent found
2023-10-13	13:37:50	4143	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863634 AND customfield_value = 'stockable'
2023-10-13	13:37:50	4143	[DEBUG]	Check product language entry
2023-10-13	13:37:50	4143	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863635
2023-10-13	13:37:50	4143	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:50	4143	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495821582' AND `virtuemart_product_id` != 1863635
2023-10-13	13:37:50	4143	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:50	4143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863635, '4026495821582')
2023-10-13	13:37:50	4143	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:50	4143	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rocket-ron-26-x-2-25-57-559-none-unitaire' AND `virtuemart_product_id` != 1863635
2023-10-13	13:37:50	4143	[DEBUG]	Query for ProductLang
2023-10-13	13:37:50	4143	[DEBUG]	Executed store
2023-10-13	13:37:50	4143	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU ROCKET RON 26 X 2.25 57-559 / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rocket-ron-26-x-2-25-57-559-none-unitaire' WHERE `virtuemart_product_id` = '1863635'
2023-10-13	13:37:50	4143	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28992_pneu_schwalbe_rocket_ron_26_x_2_25_57-559.jpg
2023-10-13	13:37:50	4143	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:50	4143	[DEBUG]	Process image file
2023-10-13	13:37:50	4143	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:50	4143	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:50	4143	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28992_pneu_schwalbe_rocket_ron_26_x_2_25_57-559.jpg
2023-10-13	13:37:50	4143	[DEBUG]	Full name target: bcprisme/28992_pneu_schwalbe_rocket_ron_26_x_2_25_57-559.jpg
2023-10-13	13:37:51	4143	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:51	4143	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28992_pneu_schwalbe_rocket_ron_26_x_2_25_57-559.jpg'
2023-10-13	13:37:51	4143	[DEBUG]	Query for Media
2023-10-13	13:37:51	4143	[DEBUG]	Executed store
2023-10-13	13:37:51	4143	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28992_pneu_schwalbe_rocket_ron_26_x_2_25_57-559.jpg',`file_url_thumb`='bcprisme/28992_pneu_schwalbe_rocket_ron_26_x_2_25_57-559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16013'
2023-10-13	13:37:51	4143	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:51	4143	[DEBUG]	Executed store
2023-10-13	13:37:51	4143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863635','16013','1')
2023-10-13	13:37:51	4143	[DEBUG]	Store product image relation
2023-10-13	13:37:51	4143	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:51	4143	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863635 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:51	4143	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:51	4143	[DEBUG]	Executed store
2023-10-13	13:37:51	4143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863635','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:51	4143	[DEBUG]	Checking manufacturer
2023-10-13	13:37:51	4143	[DEBUG]	Load a row
2023-10-13	13:37:51	4143	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:51	4143	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:51	4143	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:51	4143	[DEBUG]	Executed store
2023-10-13	13:37:51	4143	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:51	4143	[DEBUG]	Manufacturer exists
2023-10-13	13:37:51	4143	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:51	4143	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:51	4143	[DEBUG]	Executed store
2023-10-13	13:37:51	4143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863635','25')
2023-10-13	13:37:51	4143	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:51	4143	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:51	4143	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863635 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:51	4143	[DEBUG]	Store custom available field
2023-10-13	13:37:51	4143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863635,3,'',1)
2023-10-13	13:37:51	4143	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:51	4143	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:51	4143	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863635 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:51	4143	[DEBUG]	Store custom available field
2023-10-13	13:37:51	4143	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863635,6,'Unitaire',3)
2023-10-13	13:37:51	4143	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:51	4143	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:51	4143	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863634
2023-10-13	13:37:51	4143	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:51	4143	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863634\":[1863634,8,1,\"choisir la taille\"],\"1863635\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863634
2023-10-13	13:37:51	4143	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:51	4143	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863635
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:51	4144	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field taille
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:51	4144	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:51	4144	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:51	4144	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:51	4144	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:51	4144	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:51	4144	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:51	4144	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field published
2023-10-13	13:37:51	4144	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:51	4144	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field override
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:51	4144	[DEBUG]	Use field value for field slug
2023-10-13	13:37:51	4144	[DEBUG]	Process line 4144
2023-10-13	13:37:51	4144	[DEBUG]	Load a row
2023-10-13	13:37:51	4144	[DEBUG]	Processing item: A_4966_3
2023-10-13	13:37:51	4144	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:51	4144	[DEBUG]	Processing product tax
2023-10-13	13:37:51	4144	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:51	4144	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:51	4144	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:51	4144	[DEBUG]	Query for Product
2023-10-13	13:37:51	4144	[DEBUG]	Executed store
2023-10-13	13:37:51	4144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4966_3','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:51	4144	[DEBUG]	Check product language entry
2023-10-13	13:37:51	4144	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863636
2023-10-13	13:37:51	4144	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:51	4144	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4966_3' AND `virtuemart_product_id` != 1863636
2023-10-13	13:37:51	4144	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:51	4144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863636, 'A_4966_3')
2023-10-13	13:37:51	4144	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:51	4144	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-pneu-cross-country-saguaro-26-x-2-0-none' AND `virtuemart_product_id` != 1863636
2023-10-13	13:37:51	4144	[DEBUG]	Query for ProductLang
2023-10-13	13:37:51	4144	[DEBUG]	Executed store
2023-10-13	13:37:51	4144	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : SAGUARO26x2',`product_name`='VITTORIA PNEU CROSS COUNTRY SAGUARO 26 X 2.0 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-pneu-cross-country-saguaro-26-x-2-0-none' WHERE `virtuemart_product_id` = '1863636'
2023-10-13	13:37:51	4144	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29055_pneu_cross_country_saguaro_26_x_2_0.jpg
2023-10-13	13:37:51	4144	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:51	4144	[DEBUG]	Process image file
2023-10-13	13:37:51	4144	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:51	4144	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:51	4144	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29055_pneu_cross_country_saguaro_26_x_2_0.jpg
2023-10-13	13:37:51	4144	[DEBUG]	Full name target: bcprisme/29055_pneu_cross_country_saguaro_26_x_2_0.jpg
2023-10-13	13:37:52	4144	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:52	4144	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29055_pneu_cross_country_saguaro_26_x_2_0.jpg'
2023-10-13	13:37:52	4144	[DEBUG]	Query for Media
2023-10-13	13:37:52	4144	[DEBUG]	Executed store
2023-10-13	13:37:52	4144	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29055_pneu_cross_country_saguaro_26_x_2_0.jpg',`file_url_thumb`='bcprisme/29055_pneu_cross_country_saguaro_26_x_2_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381879'
2023-10-13	13:37:52	4144	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:52	4144	[DEBUG]	Executed store
2023-10-13	13:37:52	4144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863636','381879','1')
2023-10-13	13:37:52	4144	[DEBUG]	Store product image relation
2023-10-13	13:37:52	4144	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:52	4144	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863636 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:52	4144	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:52	4144	[DEBUG]	Executed store
2023-10-13	13:37:52	4144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863636','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:52	4144	[DEBUG]	Checking manufacturer
2023-10-13	13:37:52	4144	[DEBUG]	Load a row
2023-10-13	13:37:52	4144	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:52	4144	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:37:52	4144	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:52	4144	[DEBUG]	Executed store
2023-10-13	13:37:52	4144	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:37:52	4144	[DEBUG]	Manufacturer exists
2023-10-13	13:37:52	4144	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:37:52	4144	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:52	4144	[DEBUG]	Executed store
2023-10-13	13:37:52	4144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863636','42')
2023-10-13	13:37:52	4144	[DEBUG]	Find the custom field ID
2023-10-13	13:37:52	4144	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:52	4144	[DEBUG]	No custom field ID found
2023-10-13	13:37:52	4144	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:52	4144	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:37:52	4144	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863636 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:52	4144	[DEBUG]	Store custom available field
2023-10-13	13:37:52	4144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863636,3,'0',1)
2023-10-13	13:37:52	4144	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:52	4144	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:52	4144	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863636 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:52	4144	[DEBUG]	Store custom available field
2023-10-13	13:37:52	4144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863636,6,'choisir la taille',3)
2023-10-13	13:37:52	4144	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:52	4144	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:52	4144	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:52	4144	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:52	4144	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863636 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:52	4144	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:52	4144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863636,8,1)
2023-10-13	13:37:52	4144	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:52	4144	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863636\":[1863636,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863636
2023-10-13	13:37:52	4144	[DEBUG]	Checking category
2023-10-13	13:37:52	4144	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:52	4144	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863636
2023-10-13	13:37:52	4144	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:52	4144	[DEBUG]	Executed store
2023-10-13	13:37:52	4144	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863636','7409')
2023-10-13	13:37:52	4144	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:52	4144	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863636 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:37:52	4144	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:52	4144	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863636
2023-10-13	13:37:52	4145	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:52	4145	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:52	4145	[DEBUG]	Use field value for field taille
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:52	4145	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:52	4145	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:52	4145	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:52	4145	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:52	4145	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:52	4145	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:52	4145	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:52	4145	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:52	4145	[DEBUG]	Use field value for field published
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:52	4145	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field override
2023-10-13	13:37:52	4145	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:52	4145	[DEBUG]	Use field value for field slug
2023-10-13	13:37:52	4145	[DEBUG]	Process line 4145
2023-10-13	13:37:52	4145	[DEBUG]	Load a row
2023-10-13	13:37:52	4145	[DEBUG]	Processing item: 641740235606
2023-10-13	13:37:52	4145	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:52	4145	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:52	4145	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4966_3'
2023-10-13	13:37:52	4145	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:52	4145	[DEBUG]	Processing product tax
2023-10-13	13:37:52	4145	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:52	4145	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:52	4145	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:52	4145	[DEBUG]	Query for Product
2023-10-13	13:37:52	4145	[DEBUG]	Executed store
2023-10-13	13:37:52	4145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863636','641740235606','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:52	4145	[DEBUG]	No parent found
2023-10-13	13:37:52	4145	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863636 AND customfield_value = 'stockable'
2023-10-13	13:37:52	4145	[DEBUG]	Check product language entry
2023-10-13	13:37:52	4145	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863637
2023-10-13	13:37:52	4145	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:52	4145	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '641740235606' AND `virtuemart_product_id` != 1863637
2023-10-13	13:37:52	4145	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:52	4145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863637, '641740235606')
2023-10-13	13:37:52	4145	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:52	4145	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-pneu-cross-country-saguaro-26-x-2-0-none-unitaire' AND `virtuemart_product_id` != 1863637
2023-10-13	13:37:52	4145	[DEBUG]	Query for ProductLang
2023-10-13	13:37:52	4145	[DEBUG]	Executed store
2023-10-13	13:37:52	4145	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='VITTORIA PNEU CROSS COUNTRY SAGUARO 26 X 2.0 / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-pneu-cross-country-saguaro-26-x-2-0-none-unitaire' WHERE `virtuemart_product_id` = '1863637'
2023-10-13	13:37:52	4145	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29055_pneu_cross_country_saguaro_26_x_2_0.jpg
2023-10-13	13:37:52	4145	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:52	4145	[DEBUG]	Process image file
2023-10-13	13:37:52	4145	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:37:52	4145	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:52	4145	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29055_pneu_cross_country_saguaro_26_x_2_0.jpg
2023-10-13	13:37:52	4145	[DEBUG]	Full name target: bcprisme/29055_pneu_cross_country_saguaro_26_x_2_0.jpg
2023-10-13	13:37:53	4145	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:53	4145	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29055_pneu_cross_country_saguaro_26_x_2_0.jpg'
2023-10-13	13:37:53	4145	[DEBUG]	Query for Media
2023-10-13	13:37:53	4145	[DEBUG]	Executed store
2023-10-13	13:37:53	4145	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29055_pneu_cross_country_saguaro_26_x_2_0.jpg',`file_url_thumb`='bcprisme/29055_pneu_cross_country_saguaro_26_x_2_0.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381879'
2023-10-13	13:37:53	4145	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:53	4145	[DEBUG]	Executed store
2023-10-13	13:37:53	4145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863637','381879','1')
2023-10-13	13:37:53	4145	[DEBUG]	Store product image relation
2023-10-13	13:37:53	4145	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:53	4145	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863637 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:53	4145	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:53	4145	[DEBUG]	Executed store
2023-10-13	13:37:53	4145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863637','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:53	4145	[DEBUG]	Checking manufacturer
2023-10-13	13:37:53	4145	[DEBUG]	Load a row
2023-10-13	13:37:53	4145	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:53	4145	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:37:53	4145	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:53	4145	[DEBUG]	Executed store
2023-10-13	13:37:53	4145	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:37:53	4145	[DEBUG]	Manufacturer exists
2023-10-13	13:37:53	4145	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:37:53	4145	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:53	4145	[DEBUG]	Executed store
2023-10-13	13:37:53	4145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863637','42')
2023-10-13	13:37:53	4145	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:53	4145	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:53	4145	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863637 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:53	4145	[DEBUG]	Store custom available field
2023-10-13	13:37:53	4145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863637,3,'',1)
2023-10-13	13:37:53	4145	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:53	4145	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:53	4145	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863637 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:53	4145	[DEBUG]	Store custom available field
2023-10-13	13:37:53	4145	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863637,6,'Unitaire',3)
2023-10-13	13:37:53	4145	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:53	4145	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:53	4145	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863636
2023-10-13	13:37:53	4145	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:53	4145	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863636\":[1863636,8,1,\"choisir la taille\"],\"1863637\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863636
2023-10-13	13:37:53	4145	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:53	4145	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863637
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:53	4146	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field taille
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:53	4146	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:53	4146	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:53	4146	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:53	4146	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:53	4146	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:53	4146	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field published
2023-10-13	13:37:53	4146	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:53	4146	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field override
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:53	4146	[DEBUG]	Use field value for field slug
2023-10-13	13:37:53	4146	[DEBUG]	Process line 4146
2023-10-13	13:37:53	4146	[DEBUG]	Load a row
2023-10-13	13:37:53	4146	[DEBUG]	Processing item: A_5183_1
2023-10-13	13:37:53	4146	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:53	4146	[DEBUG]	Processing product tax
2023-10-13	13:37:53	4146	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:53	4146	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:53	4146	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:53	4146	[DEBUG]	Query for Product
2023-10-13	13:37:53	4146	[DEBUG]	Executed store
2023-10-13	13:37:53	4146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5183_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:53	4146	[DEBUG]	Check product language entry
2023-10-13	13:37:53	4146	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863638
2023-10-13	13:37:53	4146	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:53	4146	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5183_1' AND `virtuemart_product_id` != 1863638
2023-10-13	13:37:53	4146	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:53	4146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863638, 'A_5183_1')
2023-10-13	13:37:53	4146	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:53	4146	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-land-cruiser-noir-reflex-26x2-00-50-559-noir' AND `virtuemart_product_id` != 1863638
2023-10-13	13:37:53	4146	[DEBUG]	Query for ProductLang
2023-10-13	13:37:53	4146	[DEBUG]	Executed store
2023-10-13	13:37:53	4146	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaoyang hornet 27.5 x 2.0 kv shark skin 2c, 60 TPI, 525 gr.<br>N° art fourn : 10.55.04.385',`product_name`='SCHWALBE Pneu Land Cruiser noir reflex 26x2.00 50-559  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-land-cruiser-noir-reflex-26x2-00-50-559-noir' WHERE `virtuemart_product_id` = '1863638'
2023-10-13	13:37:53	4146	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29648_pneu_schwalbe_land_cruiser_noir_reflex_26x2_00_50-559_.png
2023-10-13	13:37:53	4146	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:37:53	4146	[DEBUG]	Process image file
2023-10-13	13:37:53	4146	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:37:53	4146	[DEBUG]	Mime type found: image/png
2023-10-13	13:37:53	4146	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29648_pneu_schwalbe_land_cruiser_noir_reflex_26x2_00_50-559_.png
2023-10-13	13:37:53	4146	[DEBUG]	Full name target: bcprisme/29648_pneu_schwalbe_land_cruiser_noir_reflex_26x2_00_50-559_.png
2023-10-13	13:37:54	4146	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:54	4146	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29648_pneu_schwalbe_land_cruiser_noir_reflex_26x2_00_50-559_.png'
2023-10-13	13:37:54	4146	[DEBUG]	Query for Media
2023-10-13	13:37:54	4146	[DEBUG]	Executed store
2023-10-13	13:37:54	4146	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29648_pneu_schwalbe_land_cruiser_noir_reflex_26x2_00_50-559_.png',`file_url_thumb`='bcprisme/29648_pneu_schwalbe_land_cruiser_noir_reflex_26x2_00_50-559_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14487'
2023-10-13	13:37:54	4146	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:54	4146	[DEBUG]	Executed store
2023-10-13	13:37:54	4146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863638','14487','1')
2023-10-13	13:37:54	4146	[DEBUG]	Store product image relation
2023-10-13	13:37:54	4146	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:54	4146	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863638 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:54	4146	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:54	4146	[DEBUG]	Executed store
2023-10-13	13:37:54	4146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863638','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:54	4146	[DEBUG]	Checking manufacturer
2023-10-13	13:37:54	4146	[DEBUG]	Load a row
2023-10-13	13:37:54	4146	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:54	4146	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:54	4146	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:54	4146	[DEBUG]	Executed store
2023-10-13	13:37:54	4146	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:54	4146	[DEBUG]	Manufacturer exists
2023-10-13	13:37:54	4146	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:54	4146	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:54	4146	[DEBUG]	Executed store
2023-10-13	13:37:54	4146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863638','25')
2023-10-13	13:37:54	4146	[DEBUG]	Find the custom field ID
2023-10-13	13:37:54	4146	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:54	4146	[DEBUG]	No custom field ID found
2023-10-13	13:37:54	4146	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:54	4146	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:37:54	4146	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863638 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:54	4146	[DEBUG]	Store custom available field
2023-10-13	13:37:54	4146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863638,3,'39.7891666666667',1)
2023-10-13	13:37:54	4146	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:54	4146	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:54	4146	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863638 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:54	4146	[DEBUG]	Store custom available field
2023-10-13	13:37:54	4146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863638,6,'choisir la taille',3)
2023-10-13	13:37:54	4146	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:54	4146	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:54	4146	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:54	4146	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:54	4146	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863638 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:54	4146	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:54	4146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863638,8,1)
2023-10-13	13:37:54	4146	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:54	4146	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863638\":[1863638,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863638
2023-10-13	13:37:54	4146	[DEBUG]	Checking category
2023-10-13	13:37:54	4146	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:54	4146	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863638
2023-10-13	13:37:54	4146	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:54	4146	[DEBUG]	Executed store
2023-10-13	13:37:54	4146	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863638','7409')
2023-10-13	13:37:54	4146	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:54	4146	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863638 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:37:54	4146	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:54	4146	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863638
2023-10-13	13:37:54	4147	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:54	4147	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:54	4147	[DEBUG]	Use field value for field taille
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:54	4147	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:54	4147	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:54	4147	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:54	4147	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:54	4147	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:54	4147	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:54	4147	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:54	4147	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:54	4147	[DEBUG]	Use field value for field published
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:54	4147	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field override
2023-10-13	13:37:54	4147	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:54	4147	[DEBUG]	Use field value for field slug
2023-10-13	13:37:54	4147	[DEBUG]	Process line 4147
2023-10-13	13:37:54	4147	[DEBUG]	Load a row
2023-10-13	13:37:54	4147	[DEBUG]	Processing item: 4026495775007
2023-10-13	13:37:54	4147	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:54	4147	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:54	4147	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5183_1'
2023-10-13	13:37:54	4147	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:54	4147	[DEBUG]	Processing product tax
2023-10-13	13:37:54	4147	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:54	4147	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:54	4147	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:54	4147	[DEBUG]	Query for Product
2023-10-13	13:37:54	4147	[DEBUG]	Executed store
2023-10-13	13:37:54	4147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863638','4026495775007','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:54	4147	[DEBUG]	No parent found
2023-10-13	13:37:54	4147	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863638 AND customfield_value = 'stockable'
2023-10-13	13:37:54	4147	[DEBUG]	Check product language entry
2023-10-13	13:37:54	4147	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863639
2023-10-13	13:37:54	4147	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:54	4147	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495775007' AND `virtuemart_product_id` != 1863639
2023-10-13	13:37:54	4147	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:54	4147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863639, '4026495775007')
2023-10-13	13:37:54	4147	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:54	4147	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-land-cruiser-noir-reflex-26x2-00-50-559-noir-unitaire' AND `virtuemart_product_id` != 1863639
2023-10-13	13:37:54	4147	[DEBUG]	Query for ProductLang
2023-10-13	13:37:54	4147	[DEBUG]	Executed store
2023-10-13	13:37:54	4147	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Land Cruiser noir reflex 26x2.00 50-559  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-land-cruiser-noir-reflex-26x2-00-50-559-noir-unitaire' WHERE `virtuemart_product_id` = '1863639'
2023-10-13	13:37:54	4147	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29648_pneu_schwalbe_land_cruiser_noir_reflex_26x2_00_50-559_.png
2023-10-13	13:37:54	4147	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:37:54	4147	[DEBUG]	Process image file
2023-10-13	13:37:54	4147	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:37:54	4147	[DEBUG]	Mime type found: image/png
2023-10-13	13:37:54	4147	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29648_pneu_schwalbe_land_cruiser_noir_reflex_26x2_00_50-559_.png
2023-10-13	13:37:54	4147	[DEBUG]	Full name target: bcprisme/29648_pneu_schwalbe_land_cruiser_noir_reflex_26x2_00_50-559_.png
2023-10-13	13:37:55	4147	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:55	4147	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29648_pneu_schwalbe_land_cruiser_noir_reflex_26x2_00_50-559_.png'
2023-10-13	13:37:55	4147	[DEBUG]	Query for Media
2023-10-13	13:37:55	4147	[DEBUG]	Executed store
2023-10-13	13:37:55	4147	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29648_pneu_schwalbe_land_cruiser_noir_reflex_26x2_00_50-559_.png',`file_url_thumb`='bcprisme/29648_pneu_schwalbe_land_cruiser_noir_reflex_26x2_00_50-559_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14487'
2023-10-13	13:37:55	4147	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:55	4147	[DEBUG]	Executed store
2023-10-13	13:37:55	4147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863639','14487','1')
2023-10-13	13:37:55	4147	[DEBUG]	Store product image relation
2023-10-13	13:37:55	4147	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:55	4147	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863639 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:55	4147	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:55	4147	[DEBUG]	Executed store
2023-10-13	13:37:55	4147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863639','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:55	4147	[DEBUG]	Checking manufacturer
2023-10-13	13:37:55	4147	[DEBUG]	Load a row
2023-10-13	13:37:55	4147	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:55	4147	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:55	4147	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:55	4147	[DEBUG]	Executed store
2023-10-13	13:37:55	4147	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:37:55	4147	[DEBUG]	Manufacturer exists
2023-10-13	13:37:55	4147	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:37:55	4147	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:55	4147	[DEBUG]	Executed store
2023-10-13	13:37:55	4147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863639','25')
2023-10-13	13:37:55	4147	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:55	4147	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:55	4147	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863639 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:55	4147	[DEBUG]	Store custom available field
2023-10-13	13:37:55	4147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863639,3,'',1)
2023-10-13	13:37:55	4147	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:55	4147	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:55	4147	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863639 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:55	4147	[DEBUG]	Store custom available field
2023-10-13	13:37:55	4147	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863639,6,'Unitaire',3)
2023-10-13	13:37:55	4147	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:55	4147	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:55	4147	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863638
2023-10-13	13:37:55	4147	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:55	4147	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863638\":[1863638,8,1,\"choisir la taille\"],\"1863639\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863638
2023-10-13	13:37:55	4147	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:55	4147	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863639
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:55	4148	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field taille
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:55	4148	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:55	4148	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:55	4148	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:55	4148	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:55	4148	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:55	4148	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:55	4148	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field published
2023-10-13	13:37:55	4148	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:55	4148	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field override
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:55	4148	[DEBUG]	Use field value for field slug
2023-10-13	13:37:55	4148	[DEBUG]	Process line 4148
2023-10-13	13:37:55	4148	[DEBUG]	Load a row
2023-10-13	13:37:55	4148	[DEBUG]	Processing item: A_5274_1
2023-10-13	13:37:55	4148	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:55	4148	[DEBUG]	Processing product tax
2023-10-13	13:37:55	4148	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:55	4148	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:55	4148	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:55	4148	[DEBUG]	Query for Product
2023-10-13	13:37:55	4148	[DEBUG]	Executed store
2023-10-13	13:37:55	4148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5274_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:55	4148	[DEBUG]	Check product language entry
2023-10-13	13:37:55	4148	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863640
2023-10-13	13:37:55	4148	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:55	4148	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5274_1' AND `virtuemart_product_id` != 1863640
2023-10-13	13:37:55	4148	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:55	4148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863640, 'A_5274_1')
2023-10-13	13:37:55	4148	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:55	4148	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rapid-rob-26x2-10-noir' AND `virtuemart_product_id` != 1863640
2023-10-13	13:37:55	4148	[DEBUG]	Query for ProductLang
2023-10-13	13:37:55	4148	[DEBUG]	Executed store
2023-10-13	13:37:55	4148	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.69016',`product_name`='Schwalbe Pneu Rapid Rob 26x2.10 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rapid-rob-26x2-10-noir' WHERE `virtuemart_product_id` = '1863640'
2023-10-13	13:37:55	4148	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29749_schwalbe_pneu_rapid_rob_26x2_10.jpg
2023-10-13	13:37:55	4148	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:55	4148	[DEBUG]	Process image file
2023-10-13	13:37:55	4148	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:55	4148	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:55	4148	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29749_schwalbe_pneu_rapid_rob_26x2_10.jpg
2023-10-13	13:37:55	4148	[DEBUG]	Full name target: bcprisme/29749_schwalbe_pneu_rapid_rob_26x2_10.jpg
2023-10-13	13:37:56	4148	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:56	4148	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29749_schwalbe_pneu_rapid_rob_26x2_10.jpg'
2023-10-13	13:37:56	4148	[DEBUG]	Query for Media
2023-10-13	13:37:56	4148	[DEBUG]	Executed store
2023-10-13	13:37:56	4148	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29749_schwalbe_pneu_rapid_rob_26x2_10.jpg',`file_url_thumb`='bcprisme/29749_schwalbe_pneu_rapid_rob_26x2_10.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381883'
2023-10-13	13:37:56	4148	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:56	4148	[DEBUG]	Executed store
2023-10-13	13:37:56	4148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863640','381883','1')
2023-10-13	13:37:56	4148	[DEBUG]	Store product image relation
2023-10-13	13:37:56	4148	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:56	4148	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863640 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:56	4148	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:56	4148	[DEBUG]	Executed store
2023-10-13	13:37:56	4148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863640','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:56	4148	[DEBUG]	Checking manufacturer
2023-10-13	13:37:56	4148	[DEBUG]	Load a row
2023-10-13	13:37:56	4148	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:56	4148	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:56	4148	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:56	4148	[DEBUG]	Executed store
2023-10-13	13:37:56	4148	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:56	4148	[DEBUG]	Manufacturer exists
2023-10-13	13:37:56	4148	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:37:56	4148	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:56	4148	[DEBUG]	Executed store
2023-10-13	13:37:56	4148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863640','77')
2023-10-13	13:37:56	4148	[DEBUG]	Find the custom field ID
2023-10-13	13:37:56	4148	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:56	4148	[DEBUG]	No custom field ID found
2023-10-13	13:37:56	4148	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:56	4148	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:37:56	4148	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863640 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:56	4148	[DEBUG]	Store custom available field
2023-10-13	13:37:56	4148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863640,3,'0',1)
2023-10-13	13:37:56	4148	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:56	4148	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:56	4148	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863640 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:56	4148	[DEBUG]	Store custom available field
2023-10-13	13:37:56	4148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863640,6,'choisir la taille',3)
2023-10-13	13:37:56	4148	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:56	4148	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:56	4148	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:56	4148	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:56	4148	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863640 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:56	4148	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:56	4148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863640,8,1)
2023-10-13	13:37:56	4148	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:56	4148	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863640\":[1863640,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863640
2023-10-13	13:37:56	4148	[DEBUG]	Checking category
2023-10-13	13:37:56	4148	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:56	4148	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863640
2023-10-13	13:37:56	4148	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:56	4148	[DEBUG]	Executed store
2023-10-13	13:37:56	4148	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863640','7409')
2023-10-13	13:37:56	4148	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:56	4148	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863640 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:37:56	4148	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:56	4148	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863640
2023-10-13	13:37:56	4149	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:56	4149	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:56	4149	[DEBUG]	Use field value for field taille
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:56	4149	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:56	4149	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:56	4149	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:56	4149	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:56	4149	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:56	4149	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:56	4149	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:56	4149	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:56	4149	[DEBUG]	Use field value for field published
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:56	4149	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field override
2023-10-13	13:37:56	4149	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:56	4149	[DEBUG]	Use field value for field slug
2023-10-13	13:37:56	4149	[DEBUG]	Process line 4149
2023-10-13	13:37:56	4149	[DEBUG]	Load a row
2023-10-13	13:37:56	4149	[DEBUG]	Processing item: 4026495810128
2023-10-13	13:37:56	4149	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:56	4149	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:56	4149	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5274_1'
2023-10-13	13:37:56	4149	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:56	4149	[DEBUG]	Processing product tax
2023-10-13	13:37:56	4149	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:56	4149	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:56	4149	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:56	4149	[DEBUG]	Query for Product
2023-10-13	13:37:56	4149	[DEBUG]	Executed store
2023-10-13	13:37:56	4149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863640','4026495810128','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:56	4149	[DEBUG]	No parent found
2023-10-13	13:37:56	4149	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863640 AND customfield_value = 'stockable'
2023-10-13	13:37:56	4149	[DEBUG]	Check product language entry
2023-10-13	13:37:56	4149	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863641
2023-10-13	13:37:56	4149	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:56	4149	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495810128' AND `virtuemart_product_id` != 1863641
2023-10-13	13:37:56	4149	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:56	4149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863641, '4026495810128')
2023-10-13	13:37:56	4149	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:56	4149	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rapid-rob-26x2-10-noir-unitaire' AND `virtuemart_product_id` != 1863641
2023-10-13	13:37:56	4149	[DEBUG]	Query for ProductLang
2023-10-13	13:37:56	4149	[DEBUG]	Executed store
2023-10-13	13:37:56	4149	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Pneu Rapid Rob 26x2.10 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rapid-rob-26x2-10-noir-unitaire' WHERE `virtuemart_product_id` = '1863641'
2023-10-13	13:37:56	4149	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29749_schwalbe_pneu_rapid_rob_26x2_10.jpg
2023-10-13	13:37:56	4149	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:56	4149	[DEBUG]	Process image file
2023-10-13	13:37:56	4149	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:56	4149	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:56	4149	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29749_schwalbe_pneu_rapid_rob_26x2_10.jpg
2023-10-13	13:37:56	4149	[DEBUG]	Full name target: bcprisme/29749_schwalbe_pneu_rapid_rob_26x2_10.jpg
2023-10-13	13:37:57	4149	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:57	4149	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29749_schwalbe_pneu_rapid_rob_26x2_10.jpg'
2023-10-13	13:37:57	4149	[DEBUG]	Query for Media
2023-10-13	13:37:57	4149	[DEBUG]	Executed store
2023-10-13	13:37:57	4149	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29749_schwalbe_pneu_rapid_rob_26x2_10.jpg',`file_url_thumb`='bcprisme/29749_schwalbe_pneu_rapid_rob_26x2_10.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381883'
2023-10-13	13:37:57	4149	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:57	4149	[DEBUG]	Executed store
2023-10-13	13:37:57	4149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863641','381883','1')
2023-10-13	13:37:57	4149	[DEBUG]	Store product image relation
2023-10-13	13:37:57	4149	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:57	4149	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863641 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:57	4149	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:57	4149	[DEBUG]	Executed store
2023-10-13	13:37:57	4149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863641','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:57	4149	[DEBUG]	Checking manufacturer
2023-10-13	13:37:57	4149	[DEBUG]	Load a row
2023-10-13	13:37:57	4149	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:57	4149	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:57	4149	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:57	4149	[DEBUG]	Executed store
2023-10-13	13:37:57	4149	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:57	4149	[DEBUG]	Manufacturer exists
2023-10-13	13:37:57	4149	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:37:57	4149	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:57	4149	[DEBUG]	Executed store
2023-10-13	13:37:57	4149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863641','77')
2023-10-13	13:37:57	4149	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:57	4149	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:57	4149	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863641 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:57	4149	[DEBUG]	Store custom available field
2023-10-13	13:37:57	4149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863641,3,'',1)
2023-10-13	13:37:57	4149	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:57	4149	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:57	4149	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863641 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:57	4149	[DEBUG]	Store custom available field
2023-10-13	13:37:57	4149	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863641,6,'Unitaire',3)
2023-10-13	13:37:57	4149	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:57	4149	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:57	4149	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863640
2023-10-13	13:37:57	4149	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:57	4149	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863640\":[1863640,8,1,\"choisir la taille\"],\"1863641\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863640
2023-10-13	13:37:57	4149	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:57	4149	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863641
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:57	4150	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field taille
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:57	4150	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:57	4150	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:57	4150	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:57	4150	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:57	4150	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:57	4150	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field published
2023-10-13	13:37:57	4150	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:57	4150	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field override
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:57	4150	[DEBUG]	Use field value for field slug
2023-10-13	13:37:57	4150	[DEBUG]	Process line 4150
2023-10-13	13:37:57	4150	[DEBUG]	Load a row
2023-10-13	13:37:57	4150	[DEBUG]	Processing item: A_5275_1
2023-10-13	13:37:57	4150	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:57	4150	[DEBUG]	Processing product tax
2023-10-13	13:37:57	4150	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:57	4150	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:57	4150	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:57	4150	[DEBUG]	Query for Product
2023-10-13	13:37:57	4150	[DEBUG]	Executed store
2023-10-13	13:37:57	4150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5275_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:57	4150	[DEBUG]	Check product language entry
2023-10-13	13:37:57	4150	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863642
2023-10-13	13:37:57	4150	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:57	4150	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5275_1' AND `virtuemart_product_id` != 1863642
2023-10-13	13:37:57	4150	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:57	4150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863642, 'A_5275_1')
2023-10-13	13:37:57	4150	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:57	4150	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-black-jack-26x2-10-noir' AND `virtuemart_product_id` != 1863642
2023-10-13	13:37:57	4150	[DEBUG]	Query for ProductLang
2023-10-13	13:37:57	4150	[DEBUG]	Executed store
2023-10-13	13:37:57	4150	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56662',`product_name`='Schwalbe Pneu Black Jack 26x2.10  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-black-jack-26x2-10-noir' WHERE `virtuemart_product_id` = '1863642'
2023-10-13	13:37:57	4150	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29750_schwalbe_pneu_black_jack_26x2_10_.jpg
2023-10-13	13:37:57	4150	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:57	4150	[DEBUG]	Process image file
2023-10-13	13:37:57	4150	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:57	4150	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:57	4150	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29750_schwalbe_pneu_black_jack_26x2_10_.jpg
2023-10-13	13:37:57	4150	[DEBUG]	Full name target: bcprisme/29750_schwalbe_pneu_black_jack_26x2_10_.jpg
2023-10-13	13:37:58	4150	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:58	4150	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29750_schwalbe_pneu_black_jack_26x2_10_.jpg'
2023-10-13	13:37:58	4150	[DEBUG]	Query for Media
2023-10-13	13:37:58	4150	[DEBUG]	Executed store
2023-10-13	13:37:58	4150	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29750_schwalbe_pneu_black_jack_26x2_10_.jpg',`file_url_thumb`='bcprisme/29750_schwalbe_pneu_black_jack_26x2_10_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14488'
2023-10-13	13:37:58	4150	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:58	4150	[DEBUG]	Executed store
2023-10-13	13:37:58	4150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863642','14488','1')
2023-10-13	13:37:58	4150	[DEBUG]	Store product image relation
2023-10-13	13:37:58	4150	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:58	4150	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863642 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:58	4150	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:58	4150	[DEBUG]	Executed store
2023-10-13	13:37:58	4150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863642','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:58	4150	[DEBUG]	Checking manufacturer
2023-10-13	13:37:58	4150	[DEBUG]	Load a row
2023-10-13	13:37:58	4150	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:58	4150	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:58	4150	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:58	4150	[DEBUG]	Executed store
2023-10-13	13:37:58	4150	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:58	4150	[DEBUG]	Manufacturer exists
2023-10-13	13:37:58	4150	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:37:58	4150	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:58	4150	[DEBUG]	Executed store
2023-10-13	13:37:58	4150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863642','77')
2023-10-13	13:37:58	4150	[DEBUG]	Find the custom field ID
2023-10-13	13:37:58	4150	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:37:58	4150	[DEBUG]	No custom field ID found
2023-10-13	13:37:58	4150	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:58	4150	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:37:58	4150	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863642 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:58	4150	[DEBUG]	Store custom available field
2023-10-13	13:37:58	4150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863642,3,'0',1)
2023-10-13	13:37:58	4150	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:58	4150	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:37:58	4150	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863642 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:58	4150	[DEBUG]	Store custom available field
2023-10-13	13:37:58	4150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863642,6,'choisir la taille',3)
2023-10-13	13:37:58	4150	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:58	4150	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:37:58	4150	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:37:58	4150	[DEBUG]	Find the multi variant product entry
2023-10-13	13:37:58	4150	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863642 AND `virtuemart_custom_id` = 8
2023-10-13	13:37:58	4150	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:37:58	4150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863642,8,1)
2023-10-13	13:37:58	4150	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:58	4150	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863642\":[1863642,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863642
2023-10-13	13:37:58	4150	[DEBUG]	Checking category
2023-10-13	13:37:58	4150	[DEBUG]	Get the existing categories for the product
2023-10-13	13:37:58	4150	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863642
2023-10-13	13:37:58	4150	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:37:58	4150	[DEBUG]	Executed store
2023-10-13	13:37:58	4150	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863642','7409')
2023-10-13	13:37:58	4150	[DEBUG]	Delete leftover product categories
2023-10-13	13:37:58	4150	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863642 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:37:58	4150	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:58	4150	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863642
2023-10-13	13:37:58	4151	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:58	4151	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:37:58	4151	[DEBUG]	Use field value for field taille
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:37:58	4151	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field category_path
2023-10-13	13:37:58	4151	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:58	4151	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:58	4151	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:58	4151	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:37:58	4151	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field product_weight
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:58	4151	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:58	4151	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:58	4151	[DEBUG]	Use field value for field published
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field custom_title
2023-10-13	13:37:58	4151	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field custom_param
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field override
2023-10-13	13:37:58	4151	[DEBUG]	Use default value for field public_price
2023-10-13	13:37:58	4151	[DEBUG]	Use field value for field slug
2023-10-13	13:37:58	4151	[DEBUG]	Process line 4151
2023-10-13	13:37:58	4151	[DEBUG]	Load a row
2023-10-13	13:37:58	4151	[DEBUG]	Processing item: 4026495810449
2023-10-13	13:37:58	4151	[DEBUG]	Looking for parent SKU
2023-10-13	13:37:58	4151	[DEBUG]	Checking product parent SKU
2023-10-13	13:37:58	4151	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5275_1'
2023-10-13	13:37:58	4151	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:58	4151	[DEBUG]	Processing product tax
2023-10-13	13:37:58	4151	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:58	4151	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:58	4151	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:58	4151	[DEBUG]	Query for Product
2023-10-13	13:37:58	4151	[DEBUG]	Executed store
2023-10-13	13:37:58	4151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863642','4026495810449','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:58	4151	[DEBUG]	No parent found
2023-10-13	13:37:58	4151	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863642 AND customfield_value = 'stockable'
2023-10-13	13:37:58	4151	[DEBUG]	Check product language entry
2023-10-13	13:37:58	4151	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863643
2023-10-13	13:37:58	4151	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:58	4151	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495810449' AND `virtuemart_product_id` != 1863643
2023-10-13	13:37:58	4151	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:58	4151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863643, '4026495810449')
2023-10-13	13:37:58	4151	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:58	4151	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-black-jack-26x2-10-noir-unitaire' AND `virtuemart_product_id` != 1863643
2023-10-13	13:37:58	4151	[DEBUG]	Query for ProductLang
2023-10-13	13:37:58	4151	[DEBUG]	Executed store
2023-10-13	13:37:58	4151	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Pneu Black Jack 26x2.10  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-black-jack-26x2-10-noir-unitaire' WHERE `virtuemart_product_id` = '1863643'
2023-10-13	13:37:58	4151	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29750_schwalbe_pneu_black_jack_26x2_10_.jpg
2023-10-13	13:37:58	4151	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:58	4151	[DEBUG]	Process image file
2023-10-13	13:37:58	4151	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:37:58	4151	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:37:58	4151	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29750_schwalbe_pneu_black_jack_26x2_10_.jpg
2023-10-13	13:37:58	4151	[DEBUG]	Full name target: bcprisme/29750_schwalbe_pneu_black_jack_26x2_10_.jpg
2023-10-13	13:37:59	4151	[DEBUG]	Checking if the file_url exists
2023-10-13	13:37:59	4151	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29750_schwalbe_pneu_black_jack_26x2_10_.jpg'
2023-10-13	13:37:59	4151	[DEBUG]	Query for Media
2023-10-13	13:37:59	4151	[DEBUG]	Executed store
2023-10-13	13:37:59	4151	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29750_schwalbe_pneu_black_jack_26x2_10_.jpg',`file_url_thumb`='bcprisme/29750_schwalbe_pneu_black_jack_26x2_10_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14488'
2023-10-13	13:37:59	4151	[DEBUG]	Query for ProductMedia
2023-10-13	13:37:59	4151	[DEBUG]	Executed store
2023-10-13	13:37:59	4151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863643','14488','1')
2023-10-13	13:37:59	4151	[DEBUG]	Store product image relation
2023-10-13	13:37:59	4151	[DEBUG]	Finding a product_price_id
2023-10-13	13:37:59	4151	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863643 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:37:59	4151	[DEBUG]	Query for ProductPrice
2023-10-13	13:37:59	4151	[DEBUG]	Executed store
2023-10-13	13:37:59	4151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863643','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:37:59	4151	[DEBUG]	Checking manufacturer
2023-10-13	13:37:59	4151	[DEBUG]	Load a row
2023-10-13	13:37:59	4151	[DEBUG]	Manufacturer already exists
2023-10-13	13:37:59	4151	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:59	4151	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:37:59	4151	[DEBUG]	Executed store
2023-10-13	13:37:59	4151	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:37:59	4151	[DEBUG]	Manufacturer exists
2023-10-13	13:37:59	4151	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:37:59	4151	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:37:59	4151	[DEBUG]	Executed store
2023-10-13	13:37:59	4151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863643','77')
2023-10-13	13:37:59	4151	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:37:59	4151	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:37:59	4151	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863643 AND `virtuemart_custom_id` = 3
2023-10-13	13:37:59	4151	[DEBUG]	Store custom available field
2023-10-13	13:37:59	4151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863643,3,'',1)
2023-10-13	13:37:59	4151	[DEBUG]	Processing custom available field: taille
2023-10-13	13:37:59	4151	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:37:59	4151	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863643 AND `virtuemart_custom_id` = 6
2023-10-13	13:37:59	4151	[DEBUG]	Store custom available field
2023-10-13	13:37:59	4151	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863643,6,'Unitaire',3)
2023-10-13	13:37:59	4151	[DEBUG]	Process multi-variant fields
2023-10-13	13:37:59	4151	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:37:59	4151	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863642
2023-10-13	13:37:59	4151	[DEBUG]	Store the updated customfield_params
2023-10-13	13:37:59	4151	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863642\":[1863642,8,1,\"choisir la taille\"],\"1863643\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863642
2023-10-13	13:37:59	4151	[DEBUG]	Update has fields after all processing
2023-10-13	13:37:59	4151	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863643
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field product_sku
2023-10-13	13:37:59	4152	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field taille
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field product_name
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field category_path
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field product_price
2023-10-13	13:37:59	4152	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field product_tax
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field file_url
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:37:59	4152	[DEBUG]	Use default value for field product_desc
2023-10-13	13:37:59	4152	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field product_availability
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field product_weight
2023-10-13	13:37:59	4152	[DEBUG]	Use default value for field product_unit
2023-10-13	13:37:59	4152	[DEBUG]	Use default value for field related_products
2023-10-13	13:37:59	4152	[DEBUG]	Use default value for field product_special
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field published
2023-10-13	13:37:59	4152	[DEBUG]	Use default value for field metadesc
2023-10-13	13:37:59	4152	[DEBUG]	Use default value for field metakey
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field custom_title
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field custom_value
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field custom_param
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field override
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field public_price
2023-10-13	13:37:59	4152	[DEBUG]	Use field value for field slug
2023-10-13	13:37:59	4152	[DEBUG]	Process line 4152
2023-10-13	13:37:59	4152	[DEBUG]	Load a row
2023-10-13	13:37:59	4152	[DEBUG]	Processing item: A_5294_1
2023-10-13	13:37:59	4152	[DEBUG]	Product tax: 7.7
2023-10-13	13:37:59	4152	[DEBUG]	Processing product tax
2023-10-13	13:37:59	4152	[DEBUG]	Check if calculation rule exists
2023-10-13	13:37:59	4152	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:37:59	4152	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:37:59	4152	[DEBUG]	Query for Product
2023-10-13	13:37:59	4152	[DEBUG]	Executed store
2023-10-13	13:37:59	4152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5294_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:37:59	4152	[DEBUG]	Check product language entry
2023-10-13	13:37:59	4152	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863644
2023-10-13	13:37:59	4152	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:59	4152	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5294_1' AND `virtuemart_product_id` != 1863644
2023-10-13	13:37:59	4152	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:37:59	4152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863644, 'A_5294_1')
2023-10-13	13:37:59	4152	[DEBUG]	Check if the product slug exists
2023-10-13	13:37:59	4152	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-racing-ralph-performance-noir-26x2-10-noir' AND `virtuemart_product_id` != 1863644
2023-10-13	13:37:59	4152	[DEBUG]	Query for ProductLang
2023-10-13	13:37:59	4152	[DEBUG]	Executed store
2023-10-13	13:37:59	4152	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.474',`product_name`='SCHWALBE Pneu Racing Ralph Performance noir 26x2.10 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-racing-ralph-performance-noir-26x2-10-noir' WHERE `virtuemart_product_id` = '1863644'
2023-10-13	13:37:59	4152	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29771_pneu_schwalbe_racing_ralph_performance_noir_26x2_10.png
2023-10-13	13:37:59	4152	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:37:59	4152	[DEBUG]	Process image file
2023-10-13	13:37:59	4152	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:37:59	4152	[DEBUG]	Mime type found: image/png
2023-10-13	13:37:59	4152	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29771_pneu_schwalbe_racing_ralph_performance_noir_26x2_10.png
2023-10-13	13:37:59	4152	[DEBUG]	Full name target: bcprisme/29771_pneu_schwalbe_racing_ralph_performance_noir_26x2_10.png
2023-10-13	13:38:00	4152	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:00	4152	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29771_pneu_schwalbe_racing_ralph_performance_noir_26x2_10.png'
2023-10-13	13:38:00	4152	[DEBUG]	Query for Media
2023-10-13	13:38:00	4152	[DEBUG]	Executed store
2023-10-13	13:38:00	4152	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29771_pneu_schwalbe_racing_ralph_performance_noir_26x2_10.png',`file_url_thumb`='bcprisme/29771_pneu_schwalbe_racing_ralph_performance_noir_26x2_10.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14489'
2023-10-13	13:38:00	4152	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:00	4152	[DEBUG]	Executed store
2023-10-13	13:38:00	4152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863644','14489','1')
2023-10-13	13:38:00	4152	[DEBUG]	Store product image relation
2023-10-13	13:38:00	4152	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:00	4152	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863644 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:00	4152	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:00	4152	[DEBUG]	Executed store
2023-10-13	13:38:00	4152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863644','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:00	4152	[DEBUG]	Checking manufacturer
2023-10-13	13:38:00	4152	[DEBUG]	Load a row
2023-10-13	13:38:00	4152	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:00	4152	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:00	4152	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:00	4152	[DEBUG]	Executed store
2023-10-13	13:38:00	4152	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:00	4152	[DEBUG]	Manufacturer exists
2023-10-13	13:38:00	4152	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:00	4152	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:00	4152	[DEBUG]	Executed store
2023-10-13	13:38:00	4152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863644','25')
2023-10-13	13:38:00	4152	[DEBUG]	Find the custom field ID
2023-10-13	13:38:00	4152	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:00	4152	[DEBUG]	No custom field ID found
2023-10-13	13:38:00	4152	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:00	4152	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:00	4152	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863644 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:00	4152	[DEBUG]	Store custom available field
2023-10-13	13:38:00	4152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863644,3,'0',1)
2023-10-13	13:38:00	4152	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:00	4152	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:00	4152	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863644 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:00	4152	[DEBUG]	Store custom available field
2023-10-13	13:38:00	4152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863644,6,'choisir la taille',3)
2023-10-13	13:38:00	4152	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:00	4152	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:00	4152	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:00	4152	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:00	4152	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863644 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:00	4152	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:00	4152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863644,8,1)
2023-10-13	13:38:00	4152	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:00	4152	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863644\":[1863644,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863644
2023-10-13	13:38:00	4152	[DEBUG]	Checking category
2023-10-13	13:38:00	4152	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:00	4152	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863644
2023-10-13	13:38:00	4152	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:00	4152	[DEBUG]	Executed store
2023-10-13	13:38:00	4152	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863644','7409')
2023-10-13	13:38:00	4152	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:00	4152	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863644 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:00	4152	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:00	4152	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863644
2023-10-13	13:38:00	4153	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:00	4153	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:00	4153	[DEBUG]	Use field value for field taille
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:00	4153	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:00	4153	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:00	4153	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:00	4153	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:00	4153	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:00	4153	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:00	4153	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:00	4153	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:00	4153	[DEBUG]	Use field value for field published
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:00	4153	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field override
2023-10-13	13:38:00	4153	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:00	4153	[DEBUG]	Use field value for field slug
2023-10-13	13:38:00	4153	[DEBUG]	Process line 4153
2023-10-13	13:38:00	4153	[DEBUG]	Load a row
2023-10-13	13:38:00	4153	[DEBUG]	Processing item: 4026495821346
2023-10-13	13:38:00	4153	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:00	4153	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:00	4153	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5294_1'
2023-10-13	13:38:00	4153	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:00	4153	[DEBUG]	Processing product tax
2023-10-13	13:38:00	4153	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:00	4153	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:00	4153	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:00	4153	[DEBUG]	Query for Product
2023-10-13	13:38:00	4153	[DEBUG]	Executed store
2023-10-13	13:38:00	4153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863644','4026495821346','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:00	4153	[DEBUG]	No parent found
2023-10-13	13:38:00	4153	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863644 AND customfield_value = 'stockable'
2023-10-13	13:38:00	4153	[DEBUG]	Check product language entry
2023-10-13	13:38:00	4153	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863645
2023-10-13	13:38:00	4153	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:00	4153	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495821346' AND `virtuemart_product_id` != 1863645
2023-10-13	13:38:00	4153	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:00	4153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863645, '4026495821346')
2023-10-13	13:38:00	4153	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:00	4153	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-racing-ralph-performance-noir-26x2-10-noir-unitaire' AND `virtuemart_product_id` != 1863645
2023-10-13	13:38:00	4153	[DEBUG]	Query for ProductLang
2023-10-13	13:38:01	4153	[DEBUG]	Executed store
2023-10-13	13:38:01	4153	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Racing Ralph Performance noir 26x2.10 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-racing-ralph-performance-noir-26x2-10-noir-unitaire' WHERE `virtuemart_product_id` = '1863645'
2023-10-13	13:38:01	4153	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29771_pneu_schwalbe_racing_ralph_performance_noir_26x2_10.png
2023-10-13	13:38:01	4153	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:01	4153	[DEBUG]	Process image file
2023-10-13	13:38:01	4153	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:01	4153	[DEBUG]	Mime type found: image/png
2023-10-13	13:38:01	4153	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29771_pneu_schwalbe_racing_ralph_performance_noir_26x2_10.png
2023-10-13	13:38:01	4153	[DEBUG]	Full name target: bcprisme/29771_pneu_schwalbe_racing_ralph_performance_noir_26x2_10.png
2023-10-13	13:38:01	4153	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:01	4153	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29771_pneu_schwalbe_racing_ralph_performance_noir_26x2_10.png'
2023-10-13	13:38:01	4153	[DEBUG]	Query for Media
2023-10-13	13:38:01	4153	[DEBUG]	Executed store
2023-10-13	13:38:01	4153	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29771_pneu_schwalbe_racing_ralph_performance_noir_26x2_10.png',`file_url_thumb`='bcprisme/29771_pneu_schwalbe_racing_ralph_performance_noir_26x2_10.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14489'
2023-10-13	13:38:01	4153	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:01	4153	[DEBUG]	Executed store
2023-10-13	13:38:01	4153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863645','14489','1')
2023-10-13	13:38:01	4153	[DEBUG]	Store product image relation
2023-10-13	13:38:01	4153	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:01	4153	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863645 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:01	4153	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:01	4153	[DEBUG]	Executed store
2023-10-13	13:38:01	4153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863645','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:01	4153	[DEBUG]	Checking manufacturer
2023-10-13	13:38:02	4153	[DEBUG]	Load a row
2023-10-13	13:38:02	4153	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:02	4153	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:02	4153	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:02	4153	[DEBUG]	Executed store
2023-10-13	13:38:02	4153	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:02	4153	[DEBUG]	Manufacturer exists
2023-10-13	13:38:02	4153	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:02	4153	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:02	4153	[DEBUG]	Executed store
2023-10-13	13:38:02	4153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863645','25')
2023-10-13	13:38:02	4153	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:02	4153	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:02	4153	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863645 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:02	4153	[DEBUG]	Store custom available field
2023-10-13	13:38:02	4153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863645,3,'',1)
2023-10-13	13:38:02	4153	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:02	4153	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:02	4153	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863645 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:02	4153	[DEBUG]	Store custom available field
2023-10-13	13:38:02	4153	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863645,6,'Unitaire',3)
2023-10-13	13:38:02	4153	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:02	4153	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:02	4153	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863644
2023-10-13	13:38:02	4153	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:02	4153	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863644\":[1863644,8,1,\"choisir la taille\"],\"1863645\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863644
2023-10-13	13:38:02	4153	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:02	4153	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863645
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:02	4154	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field taille
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:02	4154	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:02	4154	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:02	4154	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:02	4154	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:02	4154	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:02	4154	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:02	4154	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field published
2023-10-13	13:38:02	4154	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:02	4154	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field override
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:02	4154	[DEBUG]	Use field value for field slug
2023-10-13	13:38:02	4154	[DEBUG]	Process line 4154
2023-10-13	13:38:02	4154	[DEBUG]	Load a row
2023-10-13	13:38:02	4154	[DEBUG]	Processing item: A_5295_1
2023-10-13	13:38:02	4154	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:02	4154	[DEBUG]	Processing product tax
2023-10-13	13:38:02	4154	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:02	4154	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:02	4154	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:02	4154	[DEBUG]	Query for Product
2023-10-13	13:38:02	4154	[DEBUG]	Executed store
2023-10-13	13:38:02	4154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5295_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:02	4154	[DEBUG]	Check product language entry
2023-10-13	13:38:02	4154	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863646
2023-10-13	13:38:02	4154	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:02	4154	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5295_1' AND `virtuemart_product_id` != 1863646
2023-10-13	13:38:02	4154	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:02	4154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863646, 'A_5295_1')
2023-10-13	13:38:02	4154	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:02	4154	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rapid-rob-26x2-25-57-559-noir' AND `virtuemart_product_id` != 1863646
2023-10-13	13:38:02	4154	[DEBUG]	Query for ProductLang
2023-10-13	13:38:02	4154	[DEBUG]	Executed store
2023-10-13	13:38:02	4154	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.053',`product_name`='SCHWALBE Pneu Rapid Rob 26x2.25 57-559 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rapid-rob-26x2-25-57-559-noir' WHERE `virtuemart_product_id` = '1863646'
2023-10-13	13:38:02	4154	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29772_schwalbe_pneu_rapid_rob_26x2_25_57-559.jpg
2023-10-13	13:38:02	4154	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:02	4154	[DEBUG]	Process image file
2023-10-13	13:38:02	4154	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:02	4154	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:02	4154	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29772_schwalbe_pneu_rapid_rob_26x2_25_57-559.jpg
2023-10-13	13:38:02	4154	[DEBUG]	Full name target: bcprisme/29772_schwalbe_pneu_rapid_rob_26x2_25_57-559.jpg
2023-10-13	13:38:03	4154	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:03	4154	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29772_schwalbe_pneu_rapid_rob_26x2_25_57-559.jpg'
2023-10-13	13:38:03	4154	[DEBUG]	Query for Media
2023-10-13	13:38:03	4154	[DEBUG]	Executed store
2023-10-13	13:38:03	4154	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29772_schwalbe_pneu_rapid_rob_26x2_25_57-559.jpg',`file_url_thumb`='bcprisme/29772_schwalbe_pneu_rapid_rob_26x2_25_57-559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381889'
2023-10-13	13:38:03	4154	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:03	4154	[DEBUG]	Executed store
2023-10-13	13:38:03	4154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863646','381889','1')
2023-10-13	13:38:03	4154	[DEBUG]	Store product image relation
2023-10-13	13:38:03	4154	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:03	4154	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863646 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:03	4154	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:03	4154	[DEBUG]	Executed store
2023-10-13	13:38:03	4154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863646','0','24.0482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:03	4154	[DEBUG]	Checking manufacturer
2023-10-13	13:38:03	4154	[DEBUG]	Load a row
2023-10-13	13:38:03	4154	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:03	4154	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:03	4154	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:03	4154	[DEBUG]	Executed store
2023-10-13	13:38:03	4154	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:03	4154	[DEBUG]	Manufacturer exists
2023-10-13	13:38:03	4154	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:03	4154	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:03	4154	[DEBUG]	Executed store
2023-10-13	13:38:03	4154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863646','25')
2023-10-13	13:38:03	4154	[DEBUG]	Find the custom field ID
2023-10-13	13:38:03	4154	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:03	4154	[DEBUG]	No custom field ID found
2023-10-13	13:38:03	4154	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:03	4154	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:03	4154	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863646 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:03	4154	[DEBUG]	Store custom available field
2023-10-13	13:38:03	4154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863646,3,'0',1)
2023-10-13	13:38:03	4154	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:03	4154	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:03	4154	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863646 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:03	4154	[DEBUG]	Store custom available field
2023-10-13	13:38:03	4154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863646,6,'choisir la taille',3)
2023-10-13	13:38:03	4154	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:03	4154	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:03	4154	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:03	4154	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:03	4154	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863646 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:03	4154	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:03	4154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863646,8,1)
2023-10-13	13:38:03	4154	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:03	4154	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863646\":[1863646,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863646
2023-10-13	13:38:03	4154	[DEBUG]	Checking category
2023-10-13	13:38:03	4154	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:03	4154	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863646
2023-10-13	13:38:03	4154	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:03	4154	[DEBUG]	Executed store
2023-10-13	13:38:03	4154	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863646','7409')
2023-10-13	13:38:03	4154	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:03	4154	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863646 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:03	4154	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:03	4154	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863646
2023-10-13	13:38:03	4155	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:03	4155	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:03	4155	[DEBUG]	Use field value for field taille
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:03	4155	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:03	4155	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:03	4155	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:03	4155	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:03	4155	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:03	4155	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:03	4155	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:03	4155	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:03	4155	[DEBUG]	Use field value for field published
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:03	4155	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field override
2023-10-13	13:38:03	4155	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:03	4155	[DEBUG]	Use field value for field slug
2023-10-13	13:38:03	4155	[DEBUG]	Process line 4155
2023-10-13	13:38:03	4155	[DEBUG]	Load a row
2023-10-13	13:38:03	4155	[DEBUG]	Processing item: 4026495673730
2023-10-13	13:38:03	4155	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:03	4155	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:03	4155	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5295_1'
2023-10-13	13:38:03	4155	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:03	4155	[DEBUG]	Processing product tax
2023-10-13	13:38:03	4155	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:03	4155	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:03	4155	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:03	4155	[DEBUG]	Query for Product
2023-10-13	13:38:03	4155	[DEBUG]	Executed store
2023-10-13	13:38:03	4155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863646','4026495673730','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:03	4155	[DEBUG]	No parent found
2023-10-13	13:38:03	4155	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863646 AND customfield_value = 'stockable'
2023-10-13	13:38:03	4155	[DEBUG]	Check product language entry
2023-10-13	13:38:03	4155	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863647
2023-10-13	13:38:03	4155	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:03	4155	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495673730' AND `virtuemart_product_id` != 1863647
2023-10-13	13:38:03	4155	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:03	4155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863647, '4026495673730')
2023-10-13	13:38:03	4155	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:03	4155	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rapid-rob-26x2-25-57-559-noir-unitaire' AND `virtuemart_product_id` != 1863647
2023-10-13	13:38:03	4155	[DEBUG]	Query for ProductLang
2023-10-13	13:38:03	4155	[DEBUG]	Executed store
2023-10-13	13:38:03	4155	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Rapid Rob 26x2.25 57-559 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rapid-rob-26x2-25-57-559-noir-unitaire' WHERE `virtuemart_product_id` = '1863647'
2023-10-13	13:38:03	4155	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29772_schwalbe_pneu_rapid_rob_26x2_25_57-559.jpg
2023-10-13	13:38:03	4155	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:03	4155	[DEBUG]	Process image file
2023-10-13	13:38:03	4155	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:03	4155	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:03	4155	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29772_schwalbe_pneu_rapid_rob_26x2_25_57-559.jpg
2023-10-13	13:38:03	4155	[DEBUG]	Full name target: bcprisme/29772_schwalbe_pneu_rapid_rob_26x2_25_57-559.jpg
2023-10-13	13:38:04	4155	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:04	4155	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29772_schwalbe_pneu_rapid_rob_26x2_25_57-559.jpg'
2023-10-13	13:38:04	4155	[DEBUG]	Query for Media
2023-10-13	13:38:04	4155	[DEBUG]	Executed store
2023-10-13	13:38:04	4155	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29772_schwalbe_pneu_rapid_rob_26x2_25_57-559.jpg',`file_url_thumb`='bcprisme/29772_schwalbe_pneu_rapid_rob_26x2_25_57-559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381889'
2023-10-13	13:38:04	4155	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:04	4155	[DEBUG]	Executed store
2023-10-13	13:38:04	4155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863647','381889','1')
2023-10-13	13:38:04	4155	[DEBUG]	Store product image relation
2023-10-13	13:38:04	4155	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:04	4155	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863647 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:04	4155	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:04	4155	[DEBUG]	Executed store
2023-10-13	13:38:04	4155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863647','0','24.0482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:04	4155	[DEBUG]	Checking manufacturer
2023-10-13	13:38:04	4155	[DEBUG]	Load a row
2023-10-13	13:38:04	4155	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:04	4155	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:04	4155	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:04	4155	[DEBUG]	Executed store
2023-10-13	13:38:04	4155	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:04	4155	[DEBUG]	Manufacturer exists
2023-10-13	13:38:04	4155	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:04	4155	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:04	4155	[DEBUG]	Executed store
2023-10-13	13:38:04	4155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863647','25')
2023-10-13	13:38:04	4155	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:04	4155	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:04	4155	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863647 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:04	4155	[DEBUG]	Store custom available field
2023-10-13	13:38:04	4155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863647,3,'',1)
2023-10-13	13:38:04	4155	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:04	4155	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:04	4155	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863647 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:04	4155	[DEBUG]	Store custom available field
2023-10-13	13:38:04	4155	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863647,6,'Unitaire',3)
2023-10-13	13:38:04	4155	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:04	4155	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:04	4155	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863646
2023-10-13	13:38:04	4155	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:04	4155	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863646\":[1863646,8,1,\"choisir la taille\"],\"1863647\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863646
2023-10-13	13:38:04	4155	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:04	4155	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863647
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:04	4156	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field taille
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:04	4156	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:04	4156	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:04	4156	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:04	4156	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:04	4156	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:04	4156	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field published
2023-10-13	13:38:04	4156	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:04	4156	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field override
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:04	4156	[DEBUG]	Use field value for field slug
2023-10-13	13:38:04	4156	[DEBUG]	Process line 4156
2023-10-13	13:38:04	4156	[DEBUG]	Load a row
2023-10-13	13:38:04	4156	[DEBUG]	Processing item: A_5311_1
2023-10-13	13:38:04	4156	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:04	4156	[DEBUG]	Processing product tax
2023-10-13	13:38:04	4156	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:04	4156	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:04	4156	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:04	4156	[DEBUG]	Query for Product
2023-10-13	13:38:04	4156	[DEBUG]	Executed store
2023-10-13	13:38:04	4156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5311_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:04	4156	[DEBUG]	Check product language entry
2023-10-13	13:38:04	4156	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863648
2023-10-13	13:38:04	4156	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:04	4156	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5311_1' AND `virtuemart_product_id` != 1863648
2023-10-13	13:38:04	4156	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:04	4156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863648, 'A_5311_1')
2023-10-13	13:38:04	4156	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:04	4156	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-black-jack-26x2-00-noir' AND `virtuemart_product_id` != 1863648
2023-10-13	13:38:04	4156	[DEBUG]	Query for ProductLang
2023-10-13	13:38:04	4156	[DEBUG]	Executed store
2023-10-13	13:38:04	4156	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.63753',`product_name`='Schwalbe Pneu Black Jack 26x2.00 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-black-jack-26x2-00-noir' WHERE `virtuemart_product_id` = '1863648'
2023-10-13	13:38:04	4156	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29788_schwalbe_pneu_black_jack_26x2_00.jpg
2023-10-13	13:38:04	4156	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:04	4156	[DEBUG]	Process image file
2023-10-13	13:38:04	4156	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:04	4156	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:04	4156	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29788_schwalbe_pneu_black_jack_26x2_00.jpg
2023-10-13	13:38:04	4156	[DEBUG]	Full name target: bcprisme/29788_schwalbe_pneu_black_jack_26x2_00.jpg
2023-10-13	13:38:05	4156	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:05	4156	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29788_schwalbe_pneu_black_jack_26x2_00.jpg'
2023-10-13	13:38:05	4156	[DEBUG]	Query for Media
2023-10-13	13:38:05	4156	[DEBUG]	Executed store
2023-10-13	13:38:05	4156	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29788_schwalbe_pneu_black_jack_26x2_00.jpg',`file_url_thumb`='bcprisme/29788_schwalbe_pneu_black_jack_26x2_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '141706'
2023-10-13	13:38:05	4156	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:05	4156	[DEBUG]	Executed store
2023-10-13	13:38:05	4156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863648','141706','1')
2023-10-13	13:38:05	4156	[DEBUG]	Store product image relation
2023-10-13	13:38:05	4156	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:05	4156	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863648 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:05	4156	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:05	4156	[DEBUG]	Executed store
2023-10-13	13:38:05	4156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863648','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:05	4156	[DEBUG]	Checking manufacturer
2023-10-13	13:38:05	4156	[DEBUG]	Load a row
2023-10-13	13:38:05	4156	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:05	4156	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:05	4156	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:05	4156	[DEBUG]	Executed store
2023-10-13	13:38:05	4156	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:05	4156	[DEBUG]	Manufacturer exists
2023-10-13	13:38:05	4156	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:38:05	4156	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:05	4156	[DEBUG]	Executed store
2023-10-13	13:38:05	4156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863648','77')
2023-10-13	13:38:05	4156	[DEBUG]	Find the custom field ID
2023-10-13	13:38:05	4156	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:05	4156	[DEBUG]	No custom field ID found
2023-10-13	13:38:05	4156	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:05	4156	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:05	4156	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863648 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:05	4156	[DEBUG]	Store custom available field
2023-10-13	13:38:05	4156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863648,3,'0',1)
2023-10-13	13:38:05	4156	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:05	4156	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:05	4156	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863648 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:05	4156	[DEBUG]	Store custom available field
2023-10-13	13:38:05	4156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863648,6,'choisir la taille',3)
2023-10-13	13:38:05	4156	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:05	4156	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:05	4156	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:05	4156	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:05	4156	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863648 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:05	4156	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:05	4156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863648,8,1)
2023-10-13	13:38:05	4156	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:05	4156	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863648\":[1863648,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863648
2023-10-13	13:38:05	4156	[DEBUG]	Checking category
2023-10-13	13:38:05	4156	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:05	4156	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863648
2023-10-13	13:38:05	4156	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:05	4156	[DEBUG]	Executed store
2023-10-13	13:38:05	4156	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863648','7409')
2023-10-13	13:38:05	4156	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:05	4156	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863648 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:05	4156	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:05	4156	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863648
2023-10-13	13:38:05	4157	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:05	4157	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:05	4157	[DEBUG]	Use field value for field taille
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:05	4157	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:05	4157	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:05	4157	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:05	4157	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:05	4157	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:05	4157	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:05	4157	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:05	4157	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:05	4157	[DEBUG]	Use field value for field published
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:05	4157	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field override
2023-10-13	13:38:05	4157	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:05	4157	[DEBUG]	Use field value for field slug
2023-10-13	13:38:05	4157	[DEBUG]	Process line 4157
2023-10-13	13:38:05	4157	[DEBUG]	Load a row
2023-10-13	13:38:05	4157	[DEBUG]	Processing item: 4026495810425
2023-10-13	13:38:05	4157	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:05	4157	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:05	4157	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5311_1'
2023-10-13	13:38:05	4157	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:05	4157	[DEBUG]	Processing product tax
2023-10-13	13:38:05	4157	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:05	4157	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:05	4157	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:05	4157	[DEBUG]	Query for Product
2023-10-13	13:38:05	4157	[DEBUG]	Executed store
2023-10-13	13:38:05	4157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863648','4026495810425','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:05	4157	[DEBUG]	No parent found
2023-10-13	13:38:05	4157	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863648 AND customfield_value = 'stockable'
2023-10-13	13:38:05	4157	[DEBUG]	Check product language entry
2023-10-13	13:38:05	4157	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863649
2023-10-13	13:38:05	4157	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:05	4157	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495810425' AND `virtuemart_product_id` != 1863649
2023-10-13	13:38:05	4157	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:05	4157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863649, '4026495810425')
2023-10-13	13:38:05	4157	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:05	4157	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-black-jack-26x2-00-noir-unitaire' AND `virtuemart_product_id` != 1863649
2023-10-13	13:38:05	4157	[DEBUG]	Query for ProductLang
2023-10-13	13:38:05	4157	[DEBUG]	Executed store
2023-10-13	13:38:05	4157	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Pneu Black Jack 26x2.00 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-black-jack-26x2-00-noir-unitaire' WHERE `virtuemart_product_id` = '1863649'
2023-10-13	13:38:05	4157	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29788_schwalbe_pneu_black_jack_26x2_00.jpg
2023-10-13	13:38:05	4157	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:05	4157	[DEBUG]	Process image file
2023-10-13	13:38:05	4157	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:05	4157	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:05	4157	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29788_schwalbe_pneu_black_jack_26x2_00.jpg
2023-10-13	13:38:05	4157	[DEBUG]	Full name target: bcprisme/29788_schwalbe_pneu_black_jack_26x2_00.jpg
2023-10-13	13:38:06	4157	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:06	4157	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29788_schwalbe_pneu_black_jack_26x2_00.jpg'
2023-10-13	13:38:06	4157	[DEBUG]	Query for Media
2023-10-13	13:38:06	4157	[DEBUG]	Executed store
2023-10-13	13:38:06	4157	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29788_schwalbe_pneu_black_jack_26x2_00.jpg',`file_url_thumb`='bcprisme/29788_schwalbe_pneu_black_jack_26x2_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '141706'
2023-10-13	13:38:06	4157	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:06	4157	[DEBUG]	Executed store
2023-10-13	13:38:06	4157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863649','141706','1')
2023-10-13	13:38:06	4157	[DEBUG]	Store product image relation
2023-10-13	13:38:06	4157	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:06	4157	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863649 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:06	4157	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:06	4157	[DEBUG]	Executed store
2023-10-13	13:38:06	4157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863649','0','23.1197771587744','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:06	4157	[DEBUG]	Checking manufacturer
2023-10-13	13:38:06	4157	[DEBUG]	Load a row
2023-10-13	13:38:06	4157	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:06	4157	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:06	4157	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:06	4157	[DEBUG]	Executed store
2023-10-13	13:38:06	4157	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:06	4157	[DEBUG]	Manufacturer exists
2023-10-13	13:38:06	4157	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:38:06	4157	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:06	4157	[DEBUG]	Executed store
2023-10-13	13:38:06	4157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863649','77')
2023-10-13	13:38:06	4157	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:06	4157	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:06	4157	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863649 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:06	4157	[DEBUG]	Store custom available field
2023-10-13	13:38:06	4157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863649,3,'',1)
2023-10-13	13:38:06	4157	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:06	4157	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:06	4157	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863649 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:06	4157	[DEBUG]	Store custom available field
2023-10-13	13:38:06	4157	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863649,6,'Unitaire',3)
2023-10-13	13:38:06	4157	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:06	4157	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:06	4157	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863648
2023-10-13	13:38:06	4157	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:06	4157	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863648\":[1863648,8,1,\"choisir la taille\"],\"1863649\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863648
2023-10-13	13:38:06	4157	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:06	4157	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863649
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:06	4158	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field taille
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:06	4158	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:06	4158	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:06	4158	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:06	4158	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:06	4158	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:06	4158	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:06	4158	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field published
2023-10-13	13:38:06	4158	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:06	4158	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field override
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:06	4158	[DEBUG]	Use field value for field slug
2023-10-13	13:38:06	4158	[DEBUG]	Process line 4158
2023-10-13	13:38:06	4158	[DEBUG]	Load a row
2023-10-13	13:38:06	4158	[DEBUG]	Processing item: A_5314_1
2023-10-13	13:38:06	4158	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:06	4158	[DEBUG]	Processing product tax
2023-10-13	13:38:06	4158	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:06	4158	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:06	4158	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:06	4158	[DEBUG]	Query for Product
2023-10-13	13:38:06	4158	[DEBUG]	Executed store
2023-10-13	13:38:06	4158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5314_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:06	4158	[DEBUG]	Check product language entry
2023-10-13	13:38:06	4158	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863650
2023-10-13	13:38:06	4158	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:06	4158	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5314_1' AND `virtuemart_product_id` != 1863650
2023-10-13	13:38:06	4158	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:06	4158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863650, 'A_5314_1')
2023-10-13	13:38:06	4158	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:06	4158	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-racing-ralph-addix-noir-26x2-25-57-559-noir' AND `virtuemart_product_id` != 1863650
2023-10-13	13:38:06	4158	[DEBUG]	Query for ProductLang
2023-10-13	13:38:06	4158	[DEBUG]	Executed store
2023-10-13	13:38:06	4158	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.436',`product_name`='SCHWALBE Pneu Racing Ralph Addix noir 26x2.25 57-559 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-racing-ralph-addix-noir-26x2-25-57-559-noir' WHERE `virtuemart_product_id` = '1863650'
2023-10-13	13:38:06	4158	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29791_pneu_schwalbe_racing_ralph_addix_noir_26x2_25_57-559.png
2023-10-13	13:38:06	4158	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:06	4158	[DEBUG]	Process image file
2023-10-13	13:38:06	4158	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:06	4158	[DEBUG]	Mime type found: image/png
2023-10-13	13:38:06	4158	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29791_pneu_schwalbe_racing_ralph_addix_noir_26x2_25_57-559.png
2023-10-13	13:38:06	4158	[DEBUG]	Full name target: bcprisme/29791_pneu_schwalbe_racing_ralph_addix_noir_26x2_25_57-559.png
2023-10-13	13:38:07	4158	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:07	4158	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29791_pneu_schwalbe_racing_ralph_addix_noir_26x2_25_57-559.png'
2023-10-13	13:38:07	4158	[DEBUG]	Query for Media
2023-10-13	13:38:07	4158	[DEBUG]	Executed store
2023-10-13	13:38:07	4158	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29791_pneu_schwalbe_racing_ralph_addix_noir_26x2_25_57-559.png',`file_url_thumb`='bcprisme/29791_pneu_schwalbe_racing_ralph_addix_noir_26x2_25_57-559.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381893'
2023-10-13	13:38:07	4158	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:07	4158	[DEBUG]	Executed store
2023-10-13	13:38:07	4158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863650','381893','1')
2023-10-13	13:38:07	4158	[DEBUG]	Store product image relation
2023-10-13	13:38:07	4158	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:07	4158	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863650 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:07	4158	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:07	4158	[DEBUG]	Executed store
2023-10-13	13:38:07	4158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863650','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:07	4158	[DEBUG]	Checking manufacturer
2023-10-13	13:38:07	4158	[DEBUG]	Load a row
2023-10-13	13:38:07	4158	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:07	4158	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:07	4158	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:07	4158	[DEBUG]	Executed store
2023-10-13	13:38:07	4158	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:07	4158	[DEBUG]	Manufacturer exists
2023-10-13	13:38:07	4158	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:07	4158	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:07	4158	[DEBUG]	Executed store
2023-10-13	13:38:07	4158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863650','25')
2023-10-13	13:38:07	4158	[DEBUG]	Find the custom field ID
2023-10-13	13:38:07	4158	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:07	4158	[DEBUG]	No custom field ID found
2023-10-13	13:38:07	4158	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:07	4158	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:07	4158	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863650 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:07	4158	[DEBUG]	Store custom available field
2023-10-13	13:38:07	4158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863650,3,'0',1)
2023-10-13	13:38:07	4158	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:07	4158	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:07	4158	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863650 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:07	4158	[DEBUG]	Store custom available field
2023-10-13	13:38:07	4158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863650,6,'choisir la taille',3)
2023-10-13	13:38:07	4158	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:07	4158	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:07	4158	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:07	4158	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:07	4158	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863650 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:07	4158	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:07	4158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863650,8,1)
2023-10-13	13:38:07	4158	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:07	4158	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863650\":[1863650,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863650
2023-10-13	13:38:07	4158	[DEBUG]	Checking category
2023-10-13	13:38:07	4158	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:07	4158	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863650
2023-10-13	13:38:07	4158	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:07	4158	[DEBUG]	Executed store
2023-10-13	13:38:07	4158	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863650','7409')
2023-10-13	13:38:07	4158	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:07	4158	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863650 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:07	4158	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:07	4158	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863650
2023-10-13	13:38:07	4159	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:07	4159	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:07	4159	[DEBUG]	Use field value for field taille
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:07	4159	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:07	4159	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:07	4159	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:07	4159	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:07	4159	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:07	4159	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:07	4159	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:07	4159	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:07	4159	[DEBUG]	Use field value for field published
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:07	4159	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field override
2023-10-13	13:38:07	4159	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:07	4159	[DEBUG]	Use field value for field slug
2023-10-13	13:38:07	4159	[DEBUG]	Process line 4159
2023-10-13	13:38:07	4159	[DEBUG]	Load a row
2023-10-13	13:38:07	4159	[DEBUG]	Processing item: 4026495816861
2023-10-13	13:38:07	4159	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:07	4159	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:07	4159	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5314_1'
2023-10-13	13:38:07	4159	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:07	4159	[DEBUG]	Processing product tax
2023-10-13	13:38:07	4159	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:07	4159	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:07	4159	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:07	4159	[DEBUG]	Query for Product
2023-10-13	13:38:07	4159	[DEBUG]	Executed store
2023-10-13	13:38:07	4159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863650','4026495816861','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:07	4159	[DEBUG]	No parent found
2023-10-13	13:38:07	4159	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863650 AND customfield_value = 'stockable'
2023-10-13	13:38:07	4159	[DEBUG]	Check product language entry
2023-10-13	13:38:07	4159	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863651
2023-10-13	13:38:07	4159	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:07	4159	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495816861' AND `virtuemart_product_id` != 1863651
2023-10-13	13:38:07	4159	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:07	4159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863651, '4026495816861')
2023-10-13	13:38:07	4159	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:07	4159	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-racing-ralph-addix-noir-26x2-25-57-559-noir-unitaire' AND `virtuemart_product_id` != 1863651
2023-10-13	13:38:07	4159	[DEBUG]	Query for ProductLang
2023-10-13	13:38:07	4159	[DEBUG]	Executed store
2023-10-13	13:38:07	4159	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Racing Ralph Addix noir 26x2.25 57-559 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-racing-ralph-addix-noir-26x2-25-57-559-noir-unitaire' WHERE `virtuemart_product_id` = '1863651'
2023-10-13	13:38:07	4159	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29791_pneu_schwalbe_racing_ralph_addix_noir_26x2_25_57-559.png
2023-10-13	13:38:07	4159	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:07	4159	[DEBUG]	Process image file
2023-10-13	13:38:07	4159	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:07	4159	[DEBUG]	Mime type found: image/png
2023-10-13	13:38:07	4159	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29791_pneu_schwalbe_racing_ralph_addix_noir_26x2_25_57-559.png
2023-10-13	13:38:07	4159	[DEBUG]	Full name target: bcprisme/29791_pneu_schwalbe_racing_ralph_addix_noir_26x2_25_57-559.png
2023-10-13	13:38:08	4159	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:08	4159	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29791_pneu_schwalbe_racing_ralph_addix_noir_26x2_25_57-559.png'
2023-10-13	13:38:08	4159	[DEBUG]	Query for Media
2023-10-13	13:38:08	4159	[DEBUG]	Executed store
2023-10-13	13:38:08	4159	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29791_pneu_schwalbe_racing_ralph_addix_noir_26x2_25_57-559.png',`file_url_thumb`='bcprisme/29791_pneu_schwalbe_racing_ralph_addix_noir_26x2_25_57-559.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381893'
2023-10-13	13:38:08	4159	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:08	4159	[DEBUG]	Executed store
2023-10-13	13:38:08	4159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863651','381893','1')
2023-10-13	13:38:08	4159	[DEBUG]	Store product image relation
2023-10-13	13:38:08	4159	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:08	4159	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863651 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:08	4159	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:08	4159	[DEBUG]	Executed store
2023-10-13	13:38:08	4159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863651','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:08	4159	[DEBUG]	Checking manufacturer
2023-10-13	13:38:08	4159	[DEBUG]	Load a row
2023-10-13	13:38:08	4159	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:08	4159	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:08	4159	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:08	4159	[DEBUG]	Executed store
2023-10-13	13:38:08	4159	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:08	4159	[DEBUG]	Manufacturer exists
2023-10-13	13:38:08	4159	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:08	4159	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:08	4159	[DEBUG]	Executed store
2023-10-13	13:38:08	4159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863651','25')
2023-10-13	13:38:08	4159	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:08	4159	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:08	4159	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863651 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:08	4159	[DEBUG]	Store custom available field
2023-10-13	13:38:08	4159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863651,3,'',1)
2023-10-13	13:38:08	4159	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:08	4159	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:08	4159	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863651 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:08	4159	[DEBUG]	Store custom available field
2023-10-13	13:38:08	4159	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863651,6,'Unitaire',3)
2023-10-13	13:38:08	4159	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:08	4159	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:08	4159	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863650
2023-10-13	13:38:08	4159	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:08	4159	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863650\":[1863650,8,1,\"choisir la taille\"],\"1863651\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863650
2023-10-13	13:38:08	4159	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:08	4159	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863651
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:08	4160	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field taille
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:08	4160	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:08	4160	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:08	4160	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:08	4160	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:08	4160	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:08	4160	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field published
2023-10-13	13:38:08	4160	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:08	4160	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field override
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:08	4160	[DEBUG]	Use field value for field slug
2023-10-13	13:38:08	4160	[DEBUG]	Process line 4160
2023-10-13	13:38:08	4160	[DEBUG]	Load a row
2023-10-13	13:38:08	4160	[DEBUG]	Processing item: A_5616_1
2023-10-13	13:38:08	4160	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:08	4160	[DEBUG]	Processing product tax
2023-10-13	13:38:08	4160	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:08	4160	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:08	4160	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:08	4160	[DEBUG]	Query for Product
2023-10-13	13:38:08	4160	[DEBUG]	Executed store
2023-10-13	13:38:08	4160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5616_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:08	4160	[DEBUG]	Check product language entry
2023-10-13	13:38:08	4160	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863652
2023-10-13	13:38:08	4160	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:08	4160	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5616_1' AND `virtuemart_product_id` != 1863652
2023-10-13	13:38:08	4160	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:08	4160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863652, 'A_5616_1')
2023-10-13	13:38:08	4160	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:08	4160	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-black-jack-26x1-90-noir' AND `virtuemart_product_id` != 1863652
2023-10-13	13:38:08	4160	[DEBUG]	Query for ProductLang
2023-10-13	13:38:08	4160	[DEBUG]	Executed store
2023-10-13	13:38:08	4160	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56661',`product_name`='Schwalbe PNEU BLACK JACK 26X1.90 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-black-jack-26x1-90-noir' WHERE `virtuemart_product_id` = '1863652'
2023-10-13	13:38:08	4160	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30117_pneu_schwalbe_black_jack_26x1_90.jpg
2023-10-13	13:38:08	4160	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:08	4160	[DEBUG]	Process image file
2023-10-13	13:38:08	4160	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:08	4160	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:08	4160	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30117_pneu_schwalbe_black_jack_26x1_90.jpg
2023-10-13	13:38:08	4160	[DEBUG]	Full name target: bcprisme/30117_pneu_schwalbe_black_jack_26x1_90.jpg
2023-10-13	13:38:09	4160	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:09	4160	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30117_pneu_schwalbe_black_jack_26x1_90.jpg'
2023-10-13	13:38:09	4160	[DEBUG]	Query for Media
2023-10-13	13:38:09	4160	[DEBUG]	Executed store
2023-10-13	13:38:09	4160	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30117_pneu_schwalbe_black_jack_26x1_90.jpg',`file_url_thumb`='bcprisme/30117_pneu_schwalbe_black_jack_26x1_90.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '141708'
2023-10-13	13:38:09	4160	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:09	4160	[DEBUG]	Executed store
2023-10-13	13:38:09	4160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863652','141708','1')
2023-10-13	13:38:09	4160	[DEBUG]	Store product image relation
2023-10-13	13:38:09	4160	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:09	4160	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863652 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:09	4160	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:09	4160	[DEBUG]	Executed store
2023-10-13	13:38:09	4160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863652','0','25.9052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:09	4160	[DEBUG]	Checking manufacturer
2023-10-13	13:38:09	4160	[DEBUG]	Load a row
2023-10-13	13:38:09	4160	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:09	4160	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:09	4160	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:09	4160	[DEBUG]	Executed store
2023-10-13	13:38:09	4160	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:09	4160	[DEBUG]	Manufacturer exists
2023-10-13	13:38:09	4160	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:38:09	4160	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:09	4160	[DEBUG]	Executed store
2023-10-13	13:38:09	4160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863652','77')
2023-10-13	13:38:09	4160	[DEBUG]	Find the custom field ID
2023-10-13	13:38:09	4160	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:09	4160	[DEBUG]	No custom field ID found
2023-10-13	13:38:09	4160	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:09	4160	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:09	4160	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863652 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:09	4160	[DEBUG]	Store custom available field
2023-10-13	13:38:09	4160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863652,3,'0',1)
2023-10-13	13:38:09	4160	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:09	4160	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:09	4160	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863652 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:09	4160	[DEBUG]	Store custom available field
2023-10-13	13:38:09	4160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863652,6,'choisir la taille',3)
2023-10-13	13:38:09	4160	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:09	4160	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:09	4160	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:09	4160	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:09	4160	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863652 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:09	4160	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:09	4160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863652,8,1)
2023-10-13	13:38:09	4160	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:09	4160	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863652\":[1863652,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863652
2023-10-13	13:38:09	4160	[DEBUG]	Checking category
2023-10-13	13:38:09	4160	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:09	4160	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863652
2023-10-13	13:38:09	4160	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:09	4160	[DEBUG]	Executed store
2023-10-13	13:38:09	4160	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863652','7409')
2023-10-13	13:38:09	4160	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:09	4160	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863652 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:09	4160	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:09	4160	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863652
2023-10-13	13:38:09	4161	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:09	4161	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:09	4161	[DEBUG]	Use field value for field taille
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:09	4161	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:09	4161	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:09	4161	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:09	4161	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:09	4161	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:09	4161	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:09	4161	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:09	4161	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:09	4161	[DEBUG]	Use field value for field published
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:09	4161	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field override
2023-10-13	13:38:09	4161	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:09	4161	[DEBUG]	Use field value for field slug
2023-10-13	13:38:09	4161	[DEBUG]	Process line 4161
2023-10-13	13:38:09	4161	[DEBUG]	Load a row
2023-10-13	13:38:09	4161	[DEBUG]	Processing item: 4026495810401
2023-10-13	13:38:09	4161	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:09	4161	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:09	4161	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5616_1'
2023-10-13	13:38:09	4161	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:09	4161	[DEBUG]	Processing product tax
2023-10-13	13:38:09	4161	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:09	4161	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:09	4161	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:09	4161	[DEBUG]	Query for Product
2023-10-13	13:38:09	4161	[DEBUG]	Executed store
2023-10-13	13:38:09	4161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863652','4026495810401','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:09	4161	[DEBUG]	No parent found
2023-10-13	13:38:09	4161	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863652 AND customfield_value = 'stockable'
2023-10-13	13:38:09	4161	[DEBUG]	Check product language entry
2023-10-13	13:38:09	4161	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863653
2023-10-13	13:38:09	4161	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:09	4161	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495810401' AND `virtuemart_product_id` != 1863653
2023-10-13	13:38:09	4161	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:09	4161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863653, '4026495810401')
2023-10-13	13:38:09	4161	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:09	4161	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-black-jack-26x1-90-noir-unitaire' AND `virtuemart_product_id` != 1863653
2023-10-13	13:38:09	4161	[DEBUG]	Query for ProductLang
2023-10-13	13:38:09	4161	[DEBUG]	Executed store
2023-10-13	13:38:09	4161	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe PNEU BLACK JACK 26X1.90 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-black-jack-26x1-90-noir-unitaire' WHERE `virtuemart_product_id` = '1863653'
2023-10-13	13:38:09	4161	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30117_pneu_schwalbe_black_jack_26x1_90.jpg
2023-10-13	13:38:09	4161	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:09	4161	[DEBUG]	Process image file
2023-10-13	13:38:09	4161	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:09	4161	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:09	4161	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30117_pneu_schwalbe_black_jack_26x1_90.jpg
2023-10-13	13:38:09	4161	[DEBUG]	Full name target: bcprisme/30117_pneu_schwalbe_black_jack_26x1_90.jpg
2023-10-13	13:38:10	4161	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:10	4161	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30117_pneu_schwalbe_black_jack_26x1_90.jpg'
2023-10-13	13:38:10	4161	[DEBUG]	Query for Media
2023-10-13	13:38:10	4161	[DEBUG]	Executed store
2023-10-13	13:38:10	4161	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30117_pneu_schwalbe_black_jack_26x1_90.jpg',`file_url_thumb`='bcprisme/30117_pneu_schwalbe_black_jack_26x1_90.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '141708'
2023-10-13	13:38:10	4161	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:10	4161	[DEBUG]	Executed store
2023-10-13	13:38:10	4161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863653','141708','1')
2023-10-13	13:38:10	4161	[DEBUG]	Store product image relation
2023-10-13	13:38:10	4161	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:10	4161	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863653 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:10	4161	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:10	4161	[DEBUG]	Executed store
2023-10-13	13:38:10	4161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863653','0','25.9052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:10	4161	[DEBUG]	Checking manufacturer
2023-10-13	13:38:10	4161	[DEBUG]	Load a row
2023-10-13	13:38:10	4161	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:10	4161	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:10	4161	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:10	4161	[DEBUG]	Executed store
2023-10-13	13:38:10	4161	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:10	4161	[DEBUG]	Manufacturer exists
2023-10-13	13:38:10	4161	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:38:10	4161	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:10	4161	[DEBUG]	Executed store
2023-10-13	13:38:10	4161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863653','77')
2023-10-13	13:38:10	4161	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:10	4161	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:10	4161	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863653 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:10	4161	[DEBUG]	Store custom available field
2023-10-13	13:38:10	4161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863653,3,'',1)
2023-10-13	13:38:10	4161	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:10	4161	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:10	4161	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863653 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:10	4161	[DEBUG]	Store custom available field
2023-10-13	13:38:10	4161	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863653,6,'Unitaire',3)
2023-10-13	13:38:10	4161	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:10	4161	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:10	4161	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863652
2023-10-13	13:38:10	4161	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:10	4161	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863652\":[1863652,8,1,\"choisir la taille\"],\"1863653\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863652
2023-10-13	13:38:10	4161	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:10	4161	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863653
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:10	4162	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field taille
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:10	4162	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:10	4162	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:10	4162	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:10	4162	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:10	4162	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:10	4162	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:10	4162	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field published
2023-10-13	13:38:10	4162	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:10	4162	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field override
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:10	4162	[DEBUG]	Use field value for field slug
2023-10-13	13:38:10	4162	[DEBUG]	Process line 4162
2023-10-13	13:38:10	4162	[DEBUG]	Load a row
2023-10-13	13:38:10	4162	[DEBUG]	Processing item: A_5618_1
2023-10-13	13:38:10	4162	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:10	4162	[DEBUG]	Processing product tax
2023-10-13	13:38:10	4162	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:10	4162	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:10	4162	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:10	4162	[DEBUG]	Query for Product
2023-10-13	13:38:10	4162	[DEBUG]	Executed store
2023-10-13	13:38:10	4162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5618_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:10	4162	[DEBUG]	Check product language entry
2023-10-13	13:38:10	4162	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863654
2023-10-13	13:38:10	4162	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:10	4162	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5618_1' AND `virtuemart_product_id` != 1863654
2023-10-13	13:38:10	4162	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:10	4162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863654, 'A_5618_1')
2023-10-13	13:38:10	4162	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:10	4162	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rocket-ron-26-x-2-25-57-622-noir' AND `virtuemart_product_id` != 1863654
2023-10-13	13:38:10	4162	[DEBUG]	Query for ProductLang
2023-10-13	13:38:10	4162	[DEBUG]	Executed store
2023-10-13	13:38:10	4162	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.70438',`product_name`='Schwalbe PNEU ROCKET RON 26 X 2.25 57-622 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rocket-ron-26-x-2-25-57-622-noir' WHERE `virtuemart_product_id` = '1863654'
2023-10-13	13:38:10	4162	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_70433.jpg
2023-10-13	13:38:10	4162	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:10	4162	[DEBUG]	Process image file
2023-10-13	13:38:10	4162	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:10	4162	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:10	4162	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_70433.jpg
2023-10-13	13:38:10	4162	[DEBUG]	Full name target: bcprisme/24_70433.jpg
2023-10-13	13:38:11	4162	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:11	4162	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_70433.jpg'
2023-10-13	13:38:11	4162	[DEBUG]	Query for Media
2023-10-13	13:38:11	4162	[DEBUG]	Executed store
2023-10-13	13:38:11	4162	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_70433.jpg',`file_url_thumb`='bcprisme/24_70433.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381897'
2023-10-13	13:38:11	4162	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:11	4162	[DEBUG]	Executed store
2023-10-13	13:38:11	4162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863654','381897','1')
2023-10-13	13:38:11	4162	[DEBUG]	Store product image relation
2023-10-13	13:38:11	4162	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:11	4162	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863654 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:11	4162	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:11	4162	[DEBUG]	Executed store
2023-10-13	13:38:11	4162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863654','0','64.066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:11	4162	[DEBUG]	Checking manufacturer
2023-10-13	13:38:11	4162	[DEBUG]	Load a row
2023-10-13	13:38:11	4162	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:11	4162	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:11	4162	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:11	4162	[DEBUG]	Executed store
2023-10-13	13:38:11	4162	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:11	4162	[DEBUG]	Manufacturer exists
2023-10-13	13:38:11	4162	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:38:11	4162	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:11	4162	[DEBUG]	Executed store
2023-10-13	13:38:11	4162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863654','77')
2023-10-13	13:38:11	4162	[DEBUG]	Find the custom field ID
2023-10-13	13:38:11	4162	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:11	4162	[DEBUG]	No custom field ID found
2023-10-13	13:38:11	4162	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:11	4162	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:11	4162	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863654 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:11	4162	[DEBUG]	Store custom available field
2023-10-13	13:38:11	4162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863654,3,'0',1)
2023-10-13	13:38:11	4162	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:11	4162	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:11	4162	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863654 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:11	4162	[DEBUG]	Store custom available field
2023-10-13	13:38:11	4162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863654,6,'choisir la taille',3)
2023-10-13	13:38:11	4162	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:11	4162	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:11	4162	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:11	4162	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:11	4162	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863654 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:11	4162	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:11	4162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863654,8,1)
2023-10-13	13:38:11	4162	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:11	4162	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863654\":[1863654,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863654
2023-10-13	13:38:11	4162	[DEBUG]	Checking category
2023-10-13	13:38:11	4162	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:11	4162	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863654
2023-10-13	13:38:11	4162	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:11	4162	[DEBUG]	Executed store
2023-10-13	13:38:11	4162	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863654','7409')
2023-10-13	13:38:11	4162	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:11	4162	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863654 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:11	4162	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:11	4162	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863654
2023-10-13	13:38:11	4163	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:11	4163	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:11	4163	[DEBUG]	Use field value for field taille
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:11	4163	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:11	4163	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:11	4163	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:11	4163	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:11	4163	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:11	4163	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:11	4163	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:11	4163	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:11	4163	[DEBUG]	Use field value for field published
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:11	4163	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field override
2023-10-13	13:38:11	4163	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:11	4163	[DEBUG]	Use field value for field slug
2023-10-13	13:38:11	4163	[DEBUG]	Process line 4163
2023-10-13	13:38:11	4163	[DEBUG]	Load a row
2023-10-13	13:38:11	4163	[DEBUG]	Processing item: 4026495817066
2023-10-13	13:38:11	4163	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:11	4163	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:11	4163	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5618_1'
2023-10-13	13:38:11	4163	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:11	4163	[DEBUG]	Processing product tax
2023-10-13	13:38:11	4163	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:11	4163	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:11	4163	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:11	4163	[DEBUG]	Query for Product
2023-10-13	13:38:11	4163	[DEBUG]	Executed store
2023-10-13	13:38:11	4163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863654','4026495817066','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:11	4163	[DEBUG]	No parent found
2023-10-13	13:38:11	4163	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863654 AND customfield_value = 'stockable'
2023-10-13	13:38:11	4163	[DEBUG]	Check product language entry
2023-10-13	13:38:11	4163	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863655
2023-10-13	13:38:11	4163	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:11	4163	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495817066' AND `virtuemart_product_id` != 1863655
2023-10-13	13:38:11	4163	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:11	4163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863655, '4026495817066')
2023-10-13	13:38:11	4163	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:11	4163	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rocket-ron-26-x-2-25-57-622-noir-unitaire' AND `virtuemart_product_id` != 1863655
2023-10-13	13:38:11	4163	[DEBUG]	Query for ProductLang
2023-10-13	13:38:11	4163	[DEBUG]	Executed store
2023-10-13	13:38:11	4163	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe PNEU ROCKET RON 26 X 2.25 57-622 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rocket-ron-26-x-2-25-57-622-noir-unitaire' WHERE `virtuemart_product_id` = '1863655'
2023-10-13	13:38:11	4163	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_70433.jpg
2023-10-13	13:38:11	4163	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:11	4163	[DEBUG]	Process image file
2023-10-13	13:38:11	4163	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:11	4163	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:11	4163	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_70433.jpg
2023-10-13	13:38:11	4163	[DEBUG]	Full name target: bcprisme/24_70433.jpg
2023-10-13	13:38:12	4163	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:12	4163	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_70433.jpg'
2023-10-13	13:38:12	4163	[DEBUG]	Query for Media
2023-10-13	13:38:12	4163	[DEBUG]	Executed store
2023-10-13	13:38:12	4163	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_70433.jpg',`file_url_thumb`='bcprisme/24_70433.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381897'
2023-10-13	13:38:12	4163	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:12	4163	[DEBUG]	Executed store
2023-10-13	13:38:12	4163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863655','381897','1')
2023-10-13	13:38:12	4163	[DEBUG]	Store product image relation
2023-10-13	13:38:12	4163	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:12	4163	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863655 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:12	4163	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:12	4163	[DEBUG]	Executed store
2023-10-13	13:38:12	4163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863655','0','64.066852367688','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:12	4163	[DEBUG]	Checking manufacturer
2023-10-13	13:38:12	4163	[DEBUG]	Load a row
2023-10-13	13:38:12	4163	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:12	4163	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:12	4163	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:12	4163	[DEBUG]	Executed store
2023-10-13	13:38:12	4163	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:12	4163	[DEBUG]	Manufacturer exists
2023-10-13	13:38:12	4163	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:38:12	4163	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:12	4163	[DEBUG]	Executed store
2023-10-13	13:38:12	4163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863655','77')
2023-10-13	13:38:12	4163	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:12	4163	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:12	4163	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863655 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:12	4163	[DEBUG]	Store custom available field
2023-10-13	13:38:12	4163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863655,3,'',1)
2023-10-13	13:38:12	4163	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:12	4163	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:12	4163	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863655 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:12	4163	[DEBUG]	Store custom available field
2023-10-13	13:38:12	4163	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863655,6,'Unitaire',3)
2023-10-13	13:38:12	4163	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:12	4163	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:12	4163	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863654
2023-10-13	13:38:12	4163	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:12	4163	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863654\":[1863654,8,1,\"choisir la taille\"],\"1863655\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863654
2023-10-13	13:38:12	4163	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:12	4163	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863655
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:12	4164	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field taille
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:12	4164	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:12	4164	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:12	4164	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:12	4164	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:12	4164	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:12	4164	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field published
2023-10-13	13:38:12	4164	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:12	4164	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field override
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:12	4164	[DEBUG]	Use field value for field slug
2023-10-13	13:38:12	4164	[DEBUG]	Process line 4164
2023-10-13	13:38:12	4164	[DEBUG]	Load a row
2023-10-13	13:38:12	4164	[DEBUG]	Processing item: A_5717_1
2023-10-13	13:38:12	4164	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:12	4164	[DEBUG]	Processing product tax
2023-10-13	13:38:12	4164	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:12	4164	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:12	4164	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:12	4164	[DEBUG]	Query for Product
2023-10-13	13:38:12	4164	[DEBUG]	Executed store
2023-10-13	13:38:12	4164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5717_1','0.5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:12	4164	[DEBUG]	Check product language entry
2023-10-13	13:38:12	4164	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863656
2023-10-13	13:38:12	4164	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:12	4164	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5717_1' AND `virtuemart_product_id` != 1863656
2023-10-13	13:38:12	4164	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:12	4164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863656, 'A_5717_1')
2023-10-13	13:38:12	4164	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:12	4164	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-nobby-nic-26-x2-25-57-584-noir' AND `virtuemart_product_id` != 1863656
2023-10-13	13:38:12	4164	[DEBUG]	Query for ProductLang
2023-10-13	13:38:12	4164	[DEBUG]	Executed store
2023-10-13	13:38:12	4164	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.246',`product_name`='SCHWALBE Pneu Nobby Nic 26 x2.25 57-584  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-nobby-nic-26-x2-25-57-584-noir' WHERE `virtuemart_product_id` = '1863656'
2023-10-13	13:38:12	4164	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30223_schwalbe_nobby_nic_26_x2_25_57-584_.png
2023-10-13	13:38:12	4164	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:12	4164	[DEBUG]	Process image file
2023-10-13	13:38:12	4164	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:12	4164	[DEBUG]	Mime type found: image/png
2023-10-13	13:38:12	4164	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30223_schwalbe_nobby_nic_26_x2_25_57-584_.png
2023-10-13	13:38:12	4164	[DEBUG]	Full name target: bcprisme/30223_schwalbe_nobby_nic_26_x2_25_57-584_.png
2023-10-13	13:38:13	4164	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:13	4164	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30223_schwalbe_nobby_nic_26_x2_25_57-584_.png'
2023-10-13	13:38:13	4164	[DEBUG]	Query for Media
2023-10-13	13:38:13	4164	[DEBUG]	Executed store
2023-10-13	13:38:13	4164	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/30223_schwalbe_nobby_nic_26_x2_25_57-584_.png',`file_url_thumb`='bcprisme/30223_schwalbe_nobby_nic_26_x2_25_57-584_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14490'
2023-10-13	13:38:13	4164	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:13	4164	[DEBUG]	Executed store
2023-10-13	13:38:13	4164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863656','14490','1')
2023-10-13	13:38:13	4164	[DEBUG]	Store product image relation
2023-10-13	13:38:13	4164	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:13	4164	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863656 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:13	4164	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:13	4164	[DEBUG]	Executed store
2023-10-13	13:38:13	4164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863656','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:13	4164	[DEBUG]	Checking manufacturer
2023-10-13	13:38:13	4164	[DEBUG]	Load a row
2023-10-13	13:38:13	4164	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:13	4164	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:13	4164	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:13	4164	[DEBUG]	Executed store
2023-10-13	13:38:13	4164	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:13	4164	[DEBUG]	Manufacturer exists
2023-10-13	13:38:13	4164	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:13	4164	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:13	4164	[DEBUG]	Executed store
2023-10-13	13:38:13	4164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863656','25')
2023-10-13	13:38:13	4164	[DEBUG]	Find the custom field ID
2023-10-13	13:38:13	4164	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:13	4164	[DEBUG]	No custom field ID found
2023-10-13	13:38:13	4164	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:13	4164	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:13	4164	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863656 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:13	4164	[DEBUG]	Store custom available field
2023-10-13	13:38:13	4164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863656,3,'0',1)
2023-10-13	13:38:13	4164	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:13	4164	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:13	4164	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863656 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:13	4164	[DEBUG]	Store custom available field
2023-10-13	13:38:13	4164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863656,6,'choisir la taille',3)
2023-10-13	13:38:13	4164	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:13	4164	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:13	4164	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:13	4164	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:13	4164	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863656 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:13	4164	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:13	4164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863656,8,1)
2023-10-13	13:38:13	4164	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:13	4164	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863656\":[1863656,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863656
2023-10-13	13:38:13	4164	[DEBUG]	Checking category
2023-10-13	13:38:13	4164	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:13	4164	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863656
2023-10-13	13:38:13	4164	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:13	4164	[DEBUG]	Executed store
2023-10-13	13:38:13	4164	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863656','7409')
2023-10-13	13:38:13	4164	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:13	4164	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863656 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:13	4164	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:13	4164	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863656
2023-10-13	13:38:13	4165	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:13	4165	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:13	4165	[DEBUG]	Use field value for field taille
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:13	4165	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:13	4165	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:13	4165	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:13	4165	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:13	4165	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:13	4165	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:13	4165	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:13	4165	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:13	4165	[DEBUG]	Use field value for field published
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:13	4165	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field override
2023-10-13	13:38:13	4165	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:13	4165	[DEBUG]	Use field value for field slug
2023-10-13	13:38:13	4165	[DEBUG]	Process line 4165
2023-10-13	13:38:13	4165	[DEBUG]	Load a row
2023-10-13	13:38:13	4165	[DEBUG]	Processing item: 4026495742139
2023-10-13	13:38:13	4165	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:13	4165	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:13	4165	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5717_1'
2023-10-13	13:38:13	4165	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:13	4165	[DEBUG]	Processing product tax
2023-10-13	13:38:13	4165	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:13	4165	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:13	4165	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:13	4165	[DEBUG]	Query for Product
2023-10-13	13:38:13	4165	[DEBUG]	Executed store
2023-10-13	13:38:13	4165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863656','4026495742139','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:13	4165	[DEBUG]	No parent found
2023-10-13	13:38:13	4165	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863656 AND customfield_value = 'stockable'
2023-10-13	13:38:13	4165	[DEBUG]	Check product language entry
2023-10-13	13:38:13	4165	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863657
2023-10-13	13:38:13	4165	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:13	4165	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495742139' AND `virtuemart_product_id` != 1863657
2023-10-13	13:38:13	4165	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:13	4165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863657, '4026495742139')
2023-10-13	13:38:13	4165	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:13	4165	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-nobby-nic-26-x2-25-57-584-noir-unitaire' AND `virtuemart_product_id` != 1863657
2023-10-13	13:38:13	4165	[DEBUG]	Query for ProductLang
2023-10-13	13:38:13	4165	[DEBUG]	Executed store
2023-10-13	13:38:13	4165	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Nobby Nic 26 x2.25 57-584  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-nobby-nic-26-x2-25-57-584-noir-unitaire' WHERE `virtuemart_product_id` = '1863657'
2023-10-13	13:38:13	4165	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30223_schwalbe_nobby_nic_26_x2_25_57-584_.png
2023-10-13	13:38:13	4165	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:13	4165	[DEBUG]	Process image file
2023-10-13	13:38:13	4165	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:13	4165	[DEBUG]	Mime type found: image/png
2023-10-13	13:38:13	4165	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30223_schwalbe_nobby_nic_26_x2_25_57-584_.png
2023-10-13	13:38:13	4165	[DEBUG]	Full name target: bcprisme/30223_schwalbe_nobby_nic_26_x2_25_57-584_.png
2023-10-13	13:38:14	4165	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:14	4165	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30223_schwalbe_nobby_nic_26_x2_25_57-584_.png'
2023-10-13	13:38:14	4165	[DEBUG]	Query for Media
2023-10-13	13:38:14	4165	[DEBUG]	Executed store
2023-10-13	13:38:14	4165	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/30223_schwalbe_nobby_nic_26_x2_25_57-584_.png',`file_url_thumb`='bcprisme/30223_schwalbe_nobby_nic_26_x2_25_57-584_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14490'
2023-10-13	13:38:14	4165	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:14	4165	[DEBUG]	Executed store
2023-10-13	13:38:14	4165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863657','14490','1')
2023-10-13	13:38:14	4165	[DEBUG]	Store product image relation
2023-10-13	13:38:14	4165	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:14	4165	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863657 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:14	4165	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:14	4165	[DEBUG]	Executed store
2023-10-13	13:38:14	4165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863657','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:14	4165	[DEBUG]	Checking manufacturer
2023-10-13	13:38:14	4165	[DEBUG]	Load a row
2023-10-13	13:38:14	4165	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:14	4165	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:14	4165	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:14	4165	[DEBUG]	Executed store
2023-10-13	13:38:14	4165	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:14	4165	[DEBUG]	Manufacturer exists
2023-10-13	13:38:14	4165	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:14	4165	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:14	4165	[DEBUG]	Executed store
2023-10-13	13:38:14	4165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863657','25')
2023-10-13	13:38:14	4165	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:14	4165	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:14	4165	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863657 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:14	4165	[DEBUG]	Store custom available field
2023-10-13	13:38:14	4165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863657,3,'',1)
2023-10-13	13:38:14	4165	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:14	4165	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:14	4165	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863657 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:14	4165	[DEBUG]	Store custom available field
2023-10-13	13:38:14	4165	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863657,6,'Unitaire',3)
2023-10-13	13:38:14	4165	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:14	4165	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:14	4165	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863656
2023-10-13	13:38:14	4165	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:14	4165	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863656\":[1863656,8,1,\"choisir la taille\"],\"1863657\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863656
2023-10-13	13:38:14	4165	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:14	4165	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863657
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:14	4166	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field taille
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:14	4166	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:14	4166	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:14	4166	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:14	4166	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:14	4166	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:14	4166	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field published
2023-10-13	13:38:14	4166	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:14	4166	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field override
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:14	4166	[DEBUG]	Use field value for field slug
2023-10-13	13:38:14	4166	[DEBUG]	Process line 4166
2023-10-13	13:38:14	4166	[DEBUG]	Load a row
2023-10-13	13:38:14	4166	[DEBUG]	Processing item: A_5802_1
2023-10-13	13:38:14	4166	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:14	4166	[DEBUG]	Processing product tax
2023-10-13	13:38:14	4166	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:14	4166	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:14	4166	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:14	4166	[DEBUG]	Query for Product
2023-10-13	13:38:14	4166	[DEBUG]	Executed store
2023-10-13	13:38:14	4166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5802_1','0.4','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:14	4166	[DEBUG]	Check product language entry
2023-10-13	13:38:14	4166	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863658
2023-10-13	13:38:14	4166	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:14	4166	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5802_1' AND `virtuemart_product_id` != 1863658
2023-10-13	13:38:14	4166	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:14	4166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863658, 'A_5802_1')
2023-10-13	13:38:14	4166	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:14	4166	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-black-jack-active-line-26x2-00-50-559-hs-407-noir' AND `virtuemart_product_id` != 1863658
2023-10-13	13:38:14	4166	[DEBUG]	Query for ProductLang
2023-10-13	13:38:14	4166	[DEBUG]	Executed store
2023-10-13	13:38:14	4166	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.018',`product_name`='SCHWALBE Pneu Black Jack Active Line 26x2.00 50-559 HS 407 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-black-jack-active-line-26x2-00-50-559-hs-407-noir' WHERE `virtuemart_product_id` = '1863658'
2023-10-13	13:38:14	4166	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30318_schwalbe_pneu_black_jack_active_line_26x2_00_50-559_hs_407.jpg
2023-10-13	13:38:14	4166	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:14	4166	[DEBUG]	Process image file
2023-10-13	13:38:14	4166	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:14	4166	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:14	4166	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30318_schwalbe_pneu_black_jack_active_line_26x2_00_50-559_hs_407.jpg
2023-10-13	13:38:14	4166	[DEBUG]	Full name target: bcprisme/30318_schwalbe_pneu_black_jack_active_line_26x2_00_50-559_hs_407.jpg
2023-10-13	13:38:15	4166	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:15	4166	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30318_schwalbe_pneu_black_jack_active_line_26x2_00_50-559_hs_407.jpg'
2023-10-13	13:38:15	4166	[DEBUG]	Query for Media
2023-10-13	13:38:15	4166	[DEBUG]	Executed store
2023-10-13	13:38:15	4166	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30318_schwalbe_pneu_black_jack_active_line_26x2_00_50-559_hs_407.jpg',`file_url_thumb`='bcprisme/30318_schwalbe_pneu_black_jack_active_line_26x2_00_50-559_hs_407.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14491'
2023-10-13	13:38:15	4166	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:15	4166	[DEBUG]	Executed store
2023-10-13	13:38:15	4166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863658','14491','1')
2023-10-13	13:38:15	4166	[DEBUG]	Store product image relation
2023-10-13	13:38:15	4166	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:15	4166	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863658 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:15	4166	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:15	4166	[DEBUG]	Executed store
2023-10-13	13:38:15	4166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863658','0','24.0482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:15	4166	[DEBUG]	Checking manufacturer
2023-10-13	13:38:15	4166	[DEBUG]	Load a row
2023-10-13	13:38:15	4166	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:15	4166	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:15	4166	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:15	4166	[DEBUG]	Executed store
2023-10-13	13:38:15	4166	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:15	4166	[DEBUG]	Manufacturer exists
2023-10-13	13:38:15	4166	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:15	4166	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:15	4166	[DEBUG]	Executed store
2023-10-13	13:38:15	4166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863658','25')
2023-10-13	13:38:15	4166	[DEBUG]	Find the custom field ID
2023-10-13	13:38:15	4166	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:15	4166	[DEBUG]	No custom field ID found
2023-10-13	13:38:15	4166	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:15	4166	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:15	4166	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863658 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:15	4166	[DEBUG]	Store custom available field
2023-10-13	13:38:15	4166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863658,3,'0',1)
2023-10-13	13:38:15	4166	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:15	4166	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:15	4166	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863658 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:15	4166	[DEBUG]	Store custom available field
2023-10-13	13:38:15	4166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863658,6,'choisir la taille',3)
2023-10-13	13:38:15	4166	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:15	4166	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:15	4166	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:15	4166	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:15	4166	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863658 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:15	4166	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:15	4166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863658,8,1)
2023-10-13	13:38:15	4166	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:15	4166	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863658\":[1863658,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863658
2023-10-13	13:38:15	4166	[DEBUG]	Checking category
2023-10-13	13:38:15	4166	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:15	4166	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863658
2023-10-13	13:38:15	4166	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:15	4166	[DEBUG]	Executed store
2023-10-13	13:38:15	4166	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863658','7409')
2023-10-13	13:38:15	4166	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:15	4166	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863658 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:15	4166	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:15	4166	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863658
2023-10-13	13:38:15	4167	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:15	4167	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:15	4167	[DEBUG]	Use field value for field taille
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:15	4167	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:15	4167	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:15	4167	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:15	4167	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:15	4167	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:15	4167	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:15	4167	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:15	4167	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:15	4167	[DEBUG]	Use field value for field published
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:15	4167	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field override
2023-10-13	13:38:15	4167	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:15	4167	[DEBUG]	Use field value for field slug
2023-10-13	13:38:15	4167	[DEBUG]	Process line 4167
2023-10-13	13:38:15	4167	[DEBUG]	Load a row
2023-10-13	13:38:15	4167	[DEBUG]	Processing item: 1000000087383
2023-10-13	13:38:15	4167	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:15	4167	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:15	4167	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5802_1'
2023-10-13	13:38:15	4167	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:15	4167	[DEBUG]	Processing product tax
2023-10-13	13:38:15	4167	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:15	4167	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:15	4167	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:15	4167	[DEBUG]	Query for Product
2023-10-13	13:38:15	4167	[DEBUG]	Executed store
2023-10-13	13:38:15	4167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863658','1000000087383','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:15	4167	[DEBUG]	No parent found
2023-10-13	13:38:15	4167	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863658 AND customfield_value = 'stockable'
2023-10-13	13:38:15	4167	[DEBUG]	Check product language entry
2023-10-13	13:38:15	4167	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863659
2023-10-13	13:38:15	4167	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:15	4167	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000087383' AND `virtuemart_product_id` != 1863659
2023-10-13	13:38:15	4167	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:15	4167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863659, '1000000087383')
2023-10-13	13:38:15	4167	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:15	4167	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-black-jack-active-line-26x2-00-50-559-hs-407-noir-unitaire' AND `virtuemart_product_id` != 1863659
2023-10-13	13:38:15	4167	[DEBUG]	Query for ProductLang
2023-10-13	13:38:15	4167	[DEBUG]	Executed store
2023-10-13	13:38:15	4167	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Black Jack Active Line 26x2.00 50-559 HS 407 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-black-jack-active-line-26x2-00-50-559-hs-407-noir-unitaire' WHERE `virtuemart_product_id` = '1863659'
2023-10-13	13:38:15	4167	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30318_schwalbe_pneu_black_jack_active_line_26x2_00_50-559_hs_407.jpg
2023-10-13	13:38:15	4167	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:15	4167	[DEBUG]	Process image file
2023-10-13	13:38:15	4167	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:15	4167	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:15	4167	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30318_schwalbe_pneu_black_jack_active_line_26x2_00_50-559_hs_407.jpg
2023-10-13	13:38:15	4167	[DEBUG]	Full name target: bcprisme/30318_schwalbe_pneu_black_jack_active_line_26x2_00_50-559_hs_407.jpg
2023-10-13	13:38:16	4167	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:16	4167	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30318_schwalbe_pneu_black_jack_active_line_26x2_00_50-559_hs_407.jpg'
2023-10-13	13:38:16	4167	[DEBUG]	Query for Media
2023-10-13	13:38:16	4167	[DEBUG]	Executed store
2023-10-13	13:38:16	4167	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30318_schwalbe_pneu_black_jack_active_line_26x2_00_50-559_hs_407.jpg',`file_url_thumb`='bcprisme/30318_schwalbe_pneu_black_jack_active_line_26x2_00_50-559_hs_407.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14491'
2023-10-13	13:38:16	4167	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:16	4167	[DEBUG]	Executed store
2023-10-13	13:38:16	4167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863659','14491','1')
2023-10-13	13:38:16	4167	[DEBUG]	Store product image relation
2023-10-13	13:38:16	4167	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:16	4167	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863659 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:16	4167	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:16	4167	[DEBUG]	Executed store
2023-10-13	13:38:16	4167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863659','0','24.0482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:16	4167	[DEBUG]	Checking manufacturer
2023-10-13	13:38:16	4167	[DEBUG]	Load a row
2023-10-13	13:38:16	4167	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:16	4167	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:16	4167	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:16	4167	[DEBUG]	Executed store
2023-10-13	13:38:16	4167	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:16	4167	[DEBUG]	Manufacturer exists
2023-10-13	13:38:16	4167	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:16	4167	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:16	4167	[DEBUG]	Executed store
2023-10-13	13:38:16	4167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863659','25')
2023-10-13	13:38:16	4167	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:16	4167	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:16	4167	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863659 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:16	4167	[DEBUG]	Store custom available field
2023-10-13	13:38:16	4167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863659,3,'',1)
2023-10-13	13:38:16	4167	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:16	4167	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:16	4167	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863659 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:16	4167	[DEBUG]	Store custom available field
2023-10-13	13:38:16	4167	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863659,6,'Unitaire',3)
2023-10-13	13:38:16	4167	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:16	4167	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:16	4167	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863658
2023-10-13	13:38:16	4167	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:16	4167	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863658\":[1863658,8,1,\"choisir la taille\"],\"1863659\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863658
2023-10-13	13:38:16	4167	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:16	4167	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863659
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:16	4168	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field taille
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:16	4168	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:16	4168	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:16	4168	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:16	4168	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:16	4168	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:16	4168	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field published
2023-10-13	13:38:16	4168	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:16	4168	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field override
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:16	4168	[DEBUG]	Use field value for field slug
2023-10-13	13:38:16	4168	[DEBUG]	Process line 4168
2023-10-13	13:38:16	4168	[DEBUG]	Load a row
2023-10-13	13:38:16	4168	[DEBUG]	Processing item: A_5804_1
2023-10-13	13:38:16	4168	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:16	4168	[DEBUG]	Processing product tax
2023-10-13	13:38:16	4168	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:16	4168	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:16	4168	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:16	4168	[DEBUG]	Query for Product
2023-10-13	13:38:16	4168	[DEBUG]	Executed store
2023-10-13	13:38:16	4168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5804_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:16	4168	[DEBUG]	Check product language entry
2023-10-13	13:38:16	4168	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863660
2023-10-13	13:38:16	4168	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:16	4168	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5804_1' AND `virtuemart_product_id` != 1863660
2023-10-13	13:38:16	4168	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:16	4168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863660, 'A_5804_1')
2023-10-13	13:38:16	4168	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:16	4168	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-land-cruiser-noir-26x1-75-47-559-noir' AND `virtuemart_product_id` != 1863660
2023-10-13	13:38:16	4168	[DEBUG]	Query for ProductLang
2023-10-13	13:38:16	4168	[DEBUG]	Executed store
2023-10-13	13:38:16	4168	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : 11.55.04.516',`product_name`='SCHWALBE Pneu Land Cruiser noir 26x1.75 47-559 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-land-cruiser-noir-26x1-75-47-559-noir' WHERE `virtuemart_product_id` = '1863660'
2023-10-13	13:38:16	4168	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30321_pneu_schwalbe_land_cruiser_noir_26x1_75_47-559.png
2023-10-13	13:38:16	4168	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:38:16	4168	[DEBUG]	Process image file
2023-10-13	13:38:16	4168	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:38:16	4168	[DEBUG]	Mime type found: image/png
2023-10-13	13:38:16	4168	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30321_pneu_schwalbe_land_cruiser_noir_26x1_75_47-559.png
2023-10-13	13:38:16	4168	[DEBUG]	Full name target: bcprisme/30321_pneu_schwalbe_land_cruiser_noir_26x1_75_47-559.png
2023-10-13	13:38:17	4168	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:17	4168	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30321_pneu_schwalbe_land_cruiser_noir_26x1_75_47-559.png'
2023-10-13	13:38:17	4168	[DEBUG]	Query for Media
2023-10-13	13:38:17	4168	[DEBUG]	Executed store
2023-10-13	13:38:17	4168	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/30321_pneu_schwalbe_land_cruiser_noir_26x1_75_47-559.png',`file_url_thumb`='bcprisme/30321_pneu_schwalbe_land_cruiser_noir_26x1_75_47-559.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14492'
2023-10-13	13:38:17	4168	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:17	4168	[DEBUG]	Executed store
2023-10-13	13:38:17	4168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863660','14492','1')
2023-10-13	13:38:17	4168	[DEBUG]	Store product image relation
2023-10-13	13:38:17	4168	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:17	4168	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863660 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:17	4168	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:17	4168	[DEBUG]	Executed store
2023-10-13	13:38:17	4168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863660','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:17	4168	[DEBUG]	Checking manufacturer
2023-10-13	13:38:17	4168	[DEBUG]	Load a row
2023-10-13	13:38:17	4168	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:17	4168	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:17	4168	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:17	4168	[DEBUG]	Executed store
2023-10-13	13:38:17	4168	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:17	4168	[DEBUG]	Manufacturer exists
2023-10-13	13:38:17	4168	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:17	4168	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:17	4168	[DEBUG]	Executed store
2023-10-13	13:38:17	4168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863660','25')
2023-10-13	13:38:17	4168	[DEBUG]	Find the custom field ID
2023-10-13	13:38:17	4168	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:17	4168	[DEBUG]	No custom field ID found
2023-10-13	13:38:17	4168	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:17	4168	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:38:17	4168	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863660 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:17	4168	[DEBUG]	Store custom available field
2023-10-13	13:38:17	4168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863660,3,'39.7891666666667',1)
2023-10-13	13:38:17	4168	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:17	4168	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:17	4168	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863660 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:17	4168	[DEBUG]	Store custom available field
2023-10-13	13:38:17	4168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863660,6,'choisir la taille',3)
2023-10-13	13:38:17	4168	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:17	4168	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:17	4168	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:17	4168	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:17	4168	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863660 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:17	4168	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:17	4168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863660,8,1)
2023-10-13	13:38:17	4168	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:17	4168	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863660\":[1863660,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863660
2023-10-13	13:38:17	4168	[DEBUG]	Checking category
2023-10-13	13:38:17	4168	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:17	4168	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863660
2023-10-13	13:38:17	4168	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:17	4168	[DEBUG]	Executed store
2023-10-13	13:38:17	4168	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863660','7409')
2023-10-13	13:38:17	4168	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:17	4168	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863660 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:17	4168	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:17	4168	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863660
2023-10-13	13:38:17	4169	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:17	4169	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:17	4169	[DEBUG]	Use field value for field taille
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:17	4169	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:17	4169	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:17	4169	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:17	4169	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:17	4169	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:17	4169	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:17	4169	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:17	4169	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:17	4169	[DEBUG]	Use field value for field published
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:17	4169	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field override
2023-10-13	13:38:17	4169	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:17	4169	[DEBUG]	Use field value for field slug
2023-10-13	13:38:17	4169	[DEBUG]	Process line 4169
2023-10-13	13:38:17	4169	[DEBUG]	Load a row
2023-10-13	13:38:17	4169	[DEBUG]	Processing item: 4026495774888
2023-10-13	13:38:17	4169	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:17	4169	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:17	4169	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5804_1'
2023-10-13	13:38:17	4169	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:17	4169	[DEBUG]	Processing product tax
2023-10-13	13:38:17	4169	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:17	4169	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:17	4169	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:17	4169	[DEBUG]	Query for Product
2023-10-13	13:38:17	4169	[DEBUG]	Executed store
2023-10-13	13:38:17	4169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863660','4026495774888','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:17	4169	[DEBUG]	No parent found
2023-10-13	13:38:17	4169	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863660 AND customfield_value = 'stockable'
2023-10-13	13:38:17	4169	[DEBUG]	Check product language entry
2023-10-13	13:38:17	4169	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863661
2023-10-13	13:38:17	4169	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:17	4169	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495774888' AND `virtuemart_product_id` != 1863661
2023-10-13	13:38:17	4169	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:17	4169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863661, '4026495774888')
2023-10-13	13:38:17	4169	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:17	4169	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-land-cruiser-noir-26x1-75-47-559-noir-unitaire' AND `virtuemart_product_id` != 1863661
2023-10-13	13:38:17	4169	[DEBUG]	Query for ProductLang
2023-10-13	13:38:17	4169	[DEBUG]	Executed store
2023-10-13	13:38:17	4169	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Land Cruiser noir 26x1.75 47-559 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-land-cruiser-noir-26x1-75-47-559-noir-unitaire' WHERE `virtuemart_product_id` = '1863661'
2023-10-13	13:38:17	4169	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30321_pneu_schwalbe_land_cruiser_noir_26x1_75_47-559.png
2023-10-13	13:38:17	4169	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:38:17	4169	[DEBUG]	Process image file
2023-10-13	13:38:17	4169	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:38:17	4169	[DEBUG]	Mime type found: image/png
2023-10-13	13:38:17	4169	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30321_pneu_schwalbe_land_cruiser_noir_26x1_75_47-559.png
2023-10-13	13:38:17	4169	[DEBUG]	Full name target: bcprisme/30321_pneu_schwalbe_land_cruiser_noir_26x1_75_47-559.png
2023-10-13	13:38:18	4169	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:18	4169	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30321_pneu_schwalbe_land_cruiser_noir_26x1_75_47-559.png'
2023-10-13	13:38:18	4169	[DEBUG]	Query for Media
2023-10-13	13:38:18	4169	[DEBUG]	Executed store
2023-10-13	13:38:18	4169	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/30321_pneu_schwalbe_land_cruiser_noir_26x1_75_47-559.png',`file_url_thumb`='bcprisme/30321_pneu_schwalbe_land_cruiser_noir_26x1_75_47-559.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14492'
2023-10-13	13:38:18	4169	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:18	4169	[DEBUG]	Executed store
2023-10-13	13:38:18	4169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863661','14492','1')
2023-10-13	13:38:18	4169	[DEBUG]	Store product image relation
2023-10-13	13:38:18	4169	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:18	4169	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863661 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:18	4169	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:18	4169	[DEBUG]	Executed store
2023-10-13	13:38:18	4169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863661','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:18	4169	[DEBUG]	Checking manufacturer
2023-10-13	13:38:18	4169	[DEBUG]	Load a row
2023-10-13	13:38:18	4169	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:18	4169	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:18	4169	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:18	4169	[DEBUG]	Executed store
2023-10-13	13:38:18	4169	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:18	4169	[DEBUG]	Manufacturer exists
2023-10-13	13:38:18	4169	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:18	4169	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:18	4169	[DEBUG]	Executed store
2023-10-13	13:38:18	4169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863661','25')
2023-10-13	13:38:18	4169	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:18	4169	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:18	4169	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863661 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:18	4169	[DEBUG]	Store custom available field
2023-10-13	13:38:18	4169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863661,3,'',1)
2023-10-13	13:38:18	4169	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:18	4169	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:18	4169	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863661 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:18	4169	[DEBUG]	Store custom available field
2023-10-13	13:38:18	4169	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863661,6,'Unitaire',3)
2023-10-13	13:38:18	4169	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:18	4169	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:18	4169	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863660
2023-10-13	13:38:18	4169	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:18	4169	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863660\":[1863660,8,1,\"choisir la taille\"],\"1863661\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863660
2023-10-13	13:38:18	4169	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:18	4169	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863661
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:18	4170	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field taille
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:18	4170	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:18	4170	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:18	4170	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:18	4170	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:18	4170	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:18	4170	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field published
2023-10-13	13:38:18	4170	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:18	4170	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field override
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:18	4170	[DEBUG]	Use field value for field slug
2023-10-13	13:38:18	4170	[DEBUG]	Process line 4170
2023-10-13	13:38:18	4170	[DEBUG]	Load a row
2023-10-13	13:38:18	4170	[DEBUG]	Processing item: A_5849_1
2023-10-13	13:38:18	4170	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:18	4170	[DEBUG]	Processing product tax
2023-10-13	13:38:18	4170	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:18	4170	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:18	4170	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:18	4170	[DEBUG]	Query for Product
2023-10-13	13:38:18	4170	[DEBUG]	Executed store
2023-10-13	13:38:18	4170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5849_1','0.4','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:18	4170	[DEBUG]	Check product language entry
2023-10-13	13:38:18	4170	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863662
2023-10-13	13:38:18	4170	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:18	4170	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5849_1' AND `virtuemart_product_id` != 1863662
2023-10-13	13:38:18	4170	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:18	4170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863662, 'A_5849_1')
2023-10-13	13:38:18	4170	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:18	4170	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rocket-ron-26-x-2-25-snake-skin-speed-57-559-tl-easy-hs-438-faltbar-noir' AND `virtuemart_product_id` != 1863662
2023-10-13	13:38:18	4170	[DEBUG]	Query for ProductLang
2023-10-13	13:38:18	4170	[DEBUG]	Executed store
2023-10-13	13:38:18	4170	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.437',`product_name`='SCHWALBE PNEU ROCKET RON 26 X 2.25 Snake Skin Speed 57-559 TL.Easy HS 438, Faltbar / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rocket-ron-26-x-2-25-snake-skin-speed-57-559-tl-easy-hs-438-faltbar-noir' WHERE `virtuemart_product_id` = '1863662'
2023-10-13	13:38:18	4170	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30413_pneu_schwalbe_rocket_ron_26_x_2_25_snake_skin_speed_57-559_tl_easy_hs_438,_faltbar.jpg
2023-10-13	13:38:18	4170	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:18	4170	[DEBUG]	Process image file
2023-10-13	13:38:18	4170	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:18	4170	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:18	4170	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30413_pneu_schwalbe_rocket_ron_26_x_2_25_snake_skin_speed_57-559_tl_easy_hs_438,_faltbar.jpg
2023-10-13	13:38:18	4170	[DEBUG]	Full name target: bcprisme/30413_pneu_schwalbe_rocket_ron_26_x_2_25_snake_skin_speed_57-559_tl_easy_hs_438,_faltbar.jpg
2023-10-13	13:38:19	4170	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:19	4170	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30413_pneu_schwalbe_rocket_ron_26_x_2_25_snake_skin_speed_57-559_tl_easy_hs_438,_faltbar.jpg'
2023-10-13	13:38:19	4170	[DEBUG]	Query for Media
2023-10-13	13:38:19	4170	[DEBUG]	Executed store
2023-10-13	13:38:19	4170	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30413_pneu_schwalbe_rocket_ron_26_x_2_25_snake_skin_speed_57-559_tl_easy_hs_438,_faltbar.jpg',`file_url_thumb`='bcprisme/30413_pneu_schwalbe_rocket_ron_26_x_2_25_snake_skin_speed_57-559_tl_easy_hs_438,_faltbar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14493'
2023-10-13	13:38:19	4170	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:19	4170	[DEBUG]	Executed store
2023-10-13	13:38:19	4170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863662','14493','1')
2023-10-13	13:38:19	4170	[DEBUG]	Store product image relation
2023-10-13	13:38:19	4170	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:19	4170	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863662 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:19	4170	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:19	4170	[DEBUG]	Executed store
2023-10-13	13:38:19	4170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863662','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:19	4170	[DEBUG]	Checking manufacturer
2023-10-13	13:38:19	4170	[DEBUG]	Load a row
2023-10-13	13:38:19	4170	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:19	4170	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:19	4170	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:19	4170	[DEBUG]	Executed store
2023-10-13	13:38:19	4170	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:19	4170	[DEBUG]	Manufacturer exists
2023-10-13	13:38:19	4170	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:19	4170	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:19	4170	[DEBUG]	Executed store
2023-10-13	13:38:19	4170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863662','25')
2023-10-13	13:38:19	4170	[DEBUG]	Find the custom field ID
2023-10-13	13:38:19	4170	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:19	4170	[DEBUG]	No custom field ID found
2023-10-13	13:38:19	4170	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:19	4170	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:19	4170	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863662 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:19	4170	[DEBUG]	Store custom available field
2023-10-13	13:38:19	4170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863662,3,'0',1)
2023-10-13	13:38:19	4170	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:19	4170	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:19	4170	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863662 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:19	4170	[DEBUG]	Store custom available field
2023-10-13	13:38:19	4170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863662,6,'choisir la taille',3)
2023-10-13	13:38:19	4170	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:19	4170	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:19	4170	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:19	4170	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:19	4170	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863662 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:19	4170	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:19	4170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863662,8,1)
2023-10-13	13:38:19	4170	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:19	4170	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863662\":[1863662,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863662
2023-10-13	13:38:19	4170	[DEBUG]	Checking category
2023-10-13	13:38:19	4170	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:19	4170	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863662
2023-10-13	13:38:19	4170	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:19	4170	[DEBUG]	Executed store
2023-10-13	13:38:19	4170	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863662','7409')
2023-10-13	13:38:19	4170	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:19	4170	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863662 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:19	4170	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:19	4170	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863662
2023-10-13	13:38:19	4171	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:19	4171	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:19	4171	[DEBUG]	Use field value for field taille
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:19	4171	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:19	4171	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:19	4171	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:19	4171	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:19	4171	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:19	4171	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:19	4171	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:19	4171	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:19	4171	[DEBUG]	Use field value for field published
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:19	4171	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field override
2023-10-13	13:38:19	4171	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:19	4171	[DEBUG]	Use field value for field slug
2023-10-13	13:38:19	4171	[DEBUG]	Process line 4171
2023-10-13	13:38:19	4171	[DEBUG]	Load a row
2023-10-13	13:38:19	4171	[DEBUG]	Processing item: 4026495817769
2023-10-13	13:38:19	4171	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:19	4171	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:19	4171	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5849_1'
2023-10-13	13:38:19	4171	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:19	4171	[DEBUG]	Processing product tax
2023-10-13	13:38:19	4171	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:19	4171	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:19	4171	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:19	4171	[DEBUG]	Query for Product
2023-10-13	13:38:19	4171	[DEBUG]	Executed store
2023-10-13	13:38:19	4171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863662','4026495817769','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:19	4171	[DEBUG]	No parent found
2023-10-13	13:38:19	4171	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863662 AND customfield_value = 'stockable'
2023-10-13	13:38:19	4171	[DEBUG]	Check product language entry
2023-10-13	13:38:19	4171	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863663
2023-10-13	13:38:19	4171	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:19	4171	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495817769' AND `virtuemart_product_id` != 1863663
2023-10-13	13:38:19	4171	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:19	4171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863663, '4026495817769')
2023-10-13	13:38:19	4171	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:19	4171	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rocket-ron-26-x-2-25-snake-skin-speed-57-559-tl-easy-hs-438-faltbar-noir-unitaire' AND `virtuemart_product_id` != 1863663
2023-10-13	13:38:19	4171	[DEBUG]	Query for ProductLang
2023-10-13	13:38:19	4171	[DEBUG]	Executed store
2023-10-13	13:38:19	4171	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU ROCKET RON 26 X 2.25 Snake Skin Speed 57-559 TL.Easy HS 438, Faltbar / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rocket-ron-26-x-2-25-snake-skin-speed-57-559-tl-easy-hs-438-faltbar-noir-unitaire' WHERE `virtuemart_product_id` = '1863663'
2023-10-13	13:38:19	4171	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30413_pneu_schwalbe_rocket_ron_26_x_2_25_snake_skin_speed_57-559_tl_easy_hs_438,_faltbar.jpg
2023-10-13	13:38:19	4171	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:19	4171	[DEBUG]	Process image file
2023-10-13	13:38:19	4171	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:19	4171	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:19	4171	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30413_pneu_schwalbe_rocket_ron_26_x_2_25_snake_skin_speed_57-559_tl_easy_hs_438,_faltbar.jpg
2023-10-13	13:38:19	4171	[DEBUG]	Full name target: bcprisme/30413_pneu_schwalbe_rocket_ron_26_x_2_25_snake_skin_speed_57-559_tl_easy_hs_438,_faltbar.jpg
2023-10-13	13:38:20	4171	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:20	4171	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30413_pneu_schwalbe_rocket_ron_26_x_2_25_snake_skin_speed_57-559_tl_easy_hs_438,_faltbar.jpg'
2023-10-13	13:38:20	4171	[DEBUG]	Query for Media
2023-10-13	13:38:20	4171	[DEBUG]	Executed store
2023-10-13	13:38:20	4171	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30413_pneu_schwalbe_rocket_ron_26_x_2_25_snake_skin_speed_57-559_tl_easy_hs_438,_faltbar.jpg',`file_url_thumb`='bcprisme/30413_pneu_schwalbe_rocket_ron_26_x_2_25_snake_skin_speed_57-559_tl_easy_hs_438,_faltbar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14493'
2023-10-13	13:38:20	4171	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:20	4171	[DEBUG]	Executed store
2023-10-13	13:38:20	4171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863663','14493','1')
2023-10-13	13:38:20	4171	[DEBUG]	Store product image relation
2023-10-13	13:38:20	4171	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:20	4171	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863663 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:20	4171	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:20	4171	[DEBUG]	Executed store
2023-10-13	13:38:20	4171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863663','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:20	4171	[DEBUG]	Checking manufacturer
2023-10-13	13:38:20	4171	[DEBUG]	Load a row
2023-10-13	13:38:20	4171	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:20	4171	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:20	4171	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:20	4171	[DEBUG]	Executed store
2023-10-13	13:38:20	4171	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:20	4171	[DEBUG]	Manufacturer exists
2023-10-13	13:38:20	4171	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:20	4171	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:20	4171	[DEBUG]	Executed store
2023-10-13	13:38:20	4171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863663','25')
2023-10-13	13:38:20	4171	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:20	4171	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:20	4171	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863663 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:20	4171	[DEBUG]	Store custom available field
2023-10-13	13:38:20	4171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863663,3,'',1)
2023-10-13	13:38:20	4171	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:20	4171	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:20	4171	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863663 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:20	4171	[DEBUG]	Store custom available field
2023-10-13	13:38:20	4171	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863663,6,'Unitaire',3)
2023-10-13	13:38:20	4171	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:20	4171	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:20	4171	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863662
2023-10-13	13:38:20	4171	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:20	4171	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863662\":[1863662,8,1,\"choisir la taille\"],\"1863663\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863662
2023-10-13	13:38:20	4171	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:20	4171	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863663
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:20	4172	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field taille
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:20	4172	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:20	4172	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:20	4172	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:20	4172	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:20	4172	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:20	4172	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field published
2023-10-13	13:38:20	4172	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:20	4172	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field override
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:20	4172	[DEBUG]	Use field value for field slug
2023-10-13	13:38:20	4172	[DEBUG]	Process line 4172
2023-10-13	13:38:20	4172	[DEBUG]	Load a row
2023-10-13	13:38:20	4172	[DEBUG]	Processing item: A_5850_1
2023-10-13	13:38:20	4172	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:20	4172	[DEBUG]	Processing product tax
2023-10-13	13:38:20	4172	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:20	4172	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:20	4172	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:20	4172	[DEBUG]	Query for Product
2023-10-13	13:38:20	4172	[DEBUG]	Executed store
2023-10-13	13:38:20	4172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5850_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:20	4172	[DEBUG]	Check product language entry
2023-10-13	13:38:20	4172	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863664
2023-10-13	13:38:20	4172	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:20	4172	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5850_1' AND `virtuemart_product_id` != 1863664
2023-10-13	13:38:20	4172	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:20	4172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863664, 'A_5850_1')
2023-10-13	13:38:20	4172	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:20	4172	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-land-cruiser-plus-noir-26x1-75-47-559-puncture-guard-noir' AND `virtuemart_product_id` != 1863664
2023-10-13	13:38:20	4172	[DEBUG]	Query for ProductLang
2023-10-13	13:38:20	4172	[DEBUG]	Executed store
2023-10-13	13:38:20	4172	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : 10.55.04.516',`product_name`='SCHWALBE Pneu Land Cruiser PLUS noir 26x1.75 47-559 Puncture Guard / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-land-cruiser-plus-noir-26x1-75-47-559-puncture-guard-noir' WHERE `virtuemart_product_id` = '1863664'
2023-10-13	13:38:20	4172	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30414_pneu_schwalbe_land_cruiser_plus_noir_26x1_75_47-559_puncture_guard.png
2023-10-13	13:38:20	4172	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:20	4172	[DEBUG]	Process image file
2023-10-13	13:38:20	4172	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:20	4172	[DEBUG]	Mime type found: image/png
2023-10-13	13:38:20	4172	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30414_pneu_schwalbe_land_cruiser_plus_noir_26x1_75_47-559_puncture_guard.png
2023-10-13	13:38:20	4172	[DEBUG]	Full name target: bcprisme/30414_pneu_schwalbe_land_cruiser_plus_noir_26x1_75_47-559_puncture_guard.png
2023-10-13	13:38:21	4172	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:21	4172	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30414_pneu_schwalbe_land_cruiser_plus_noir_26x1_75_47-559_puncture_guard.png'
2023-10-13	13:38:21	4172	[DEBUG]	Query for Media
2023-10-13	13:38:21	4172	[DEBUG]	Executed store
2023-10-13	13:38:21	4172	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/30414_pneu_schwalbe_land_cruiser_plus_noir_26x1_75_47-559_puncture_guard.png',`file_url_thumb`='bcprisme/30414_pneu_schwalbe_land_cruiser_plus_noir_26x1_75_47-559_puncture_guard.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381907'
2023-10-13	13:38:21	4172	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:21	4172	[DEBUG]	Executed store
2023-10-13	13:38:21	4172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863664','381907','1')
2023-10-13	13:38:21	4172	[DEBUG]	Store product image relation
2023-10-13	13:38:21	4172	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:21	4172	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863664 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:21	4172	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:21	4172	[DEBUG]	Executed store
2023-10-13	13:38:21	4172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863664','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:21	4172	[DEBUG]	Checking manufacturer
2023-10-13	13:38:21	4172	[DEBUG]	Load a row
2023-10-13	13:38:21	4172	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:21	4172	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:21	4172	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:21	4172	[DEBUG]	Executed store
2023-10-13	13:38:21	4172	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:22	4172	[DEBUG]	Manufacturer exists
2023-10-13	13:38:22	4172	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:22	4172	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:22	4172	[DEBUG]	Executed store
2023-10-13	13:38:22	4172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863664','25')
2023-10-13	13:38:22	4172	[DEBUG]	Find the custom field ID
2023-10-13	13:38:22	4172	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:22	4172	[DEBUG]	No custom field ID found
2023-10-13	13:38:22	4172	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:22	4172	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:38:22	4172	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863664 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:22	4172	[DEBUG]	Store custom available field
2023-10-13	13:38:22	4172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863664,3,'39.7891666666667',1)
2023-10-13	13:38:22	4172	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:22	4172	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:22	4172	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863664 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:22	4172	[DEBUG]	Store custom available field
2023-10-13	13:38:22	4172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863664,6,'choisir la taille',3)
2023-10-13	13:38:22	4172	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:22	4172	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:22	4172	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:22	4172	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:22	4172	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863664 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:22	4172	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:22	4172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863664,8,1)
2023-10-13	13:38:22	4172	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:22	4172	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863664\":[1863664,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863664
2023-10-13	13:38:22	4172	[DEBUG]	Checking category
2023-10-13	13:38:22	4172	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:22	4172	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863664
2023-10-13	13:38:22	4172	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:22	4172	[DEBUG]	Executed store
2023-10-13	13:38:22	4172	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863664','7409')
2023-10-13	13:38:22	4172	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:22	4172	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863664 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:22	4172	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:22	4172	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863664
2023-10-13	13:38:22	4173	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:22	4173	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:22	4173	[DEBUG]	Use field value for field taille
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:22	4173	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:22	4173	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:22	4173	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:22	4173	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:22	4173	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:22	4173	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:22	4173	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:22	4173	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:22	4173	[DEBUG]	Use field value for field published
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:22	4173	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field override
2023-10-13	13:38:22	4173	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:22	4173	[DEBUG]	Use field value for field slug
2023-10-13	13:38:22	4173	[DEBUG]	Process line 4173
2023-10-13	13:38:22	4173	[DEBUG]	Load a row
2023-10-13	13:38:22	4173	[DEBUG]	Processing item: 4026495774925
2023-10-13	13:38:22	4173	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:22	4173	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:22	4173	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5850_1'
2023-10-13	13:38:22	4173	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:22	4173	[DEBUG]	Processing product tax
2023-10-13	13:38:22	4173	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:22	4173	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:22	4173	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:22	4173	[DEBUG]	Query for Product
2023-10-13	13:38:22	4173	[DEBUG]	Executed store
2023-10-13	13:38:22	4173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863664','4026495774925','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:22	4173	[DEBUG]	No parent found
2023-10-13	13:38:22	4173	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863664 AND customfield_value = 'stockable'
2023-10-13	13:38:22	4173	[DEBUG]	Check product language entry
2023-10-13	13:38:22	4173	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863665
2023-10-13	13:38:22	4173	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:22	4173	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495774925' AND `virtuemart_product_id` != 1863665
2023-10-13	13:38:22	4173	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:22	4173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863665, '4026495774925')
2023-10-13	13:38:22	4173	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:22	4173	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-land-cruiser-plus-noir-26x1-75-47-559-puncture-guard-noir-unitaire' AND `virtuemart_product_id` != 1863665
2023-10-13	13:38:22	4173	[DEBUG]	Query for ProductLang
2023-10-13	13:38:22	4173	[DEBUG]	Executed store
2023-10-13	13:38:22	4173	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Land Cruiser PLUS noir 26x1.75 47-559 Puncture Guard / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-land-cruiser-plus-noir-26x1-75-47-559-puncture-guard-noir-unitaire' WHERE `virtuemart_product_id` = '1863665'
2023-10-13	13:38:22	4173	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30414_pneu_schwalbe_land_cruiser_plus_noir_26x1_75_47-559_puncture_guard.png
2023-10-13	13:38:22	4173	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:22	4173	[DEBUG]	Process image file
2023-10-13	13:38:22	4173	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:22	4173	[DEBUG]	Mime type found: image/png
2023-10-13	13:38:22	4173	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30414_pneu_schwalbe_land_cruiser_plus_noir_26x1_75_47-559_puncture_guard.png
2023-10-13	13:38:22	4173	[DEBUG]	Full name target: bcprisme/30414_pneu_schwalbe_land_cruiser_plus_noir_26x1_75_47-559_puncture_guard.png
2023-10-13	13:38:23	4173	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:23	4173	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30414_pneu_schwalbe_land_cruiser_plus_noir_26x1_75_47-559_puncture_guard.png'
2023-10-13	13:38:23	4173	[DEBUG]	Query for Media
2023-10-13	13:38:23	4173	[DEBUG]	Executed store
2023-10-13	13:38:23	4173	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/30414_pneu_schwalbe_land_cruiser_plus_noir_26x1_75_47-559_puncture_guard.png',`file_url_thumb`='bcprisme/30414_pneu_schwalbe_land_cruiser_plus_noir_26x1_75_47-559_puncture_guard.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381907'
2023-10-13	13:38:23	4173	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:23	4173	[DEBUG]	Executed store
2023-10-13	13:38:23	4173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863665','381907','1')
2023-10-13	13:38:23	4173	[DEBUG]	Store product image relation
2023-10-13	13:38:23	4173	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:23	4173	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863665 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:23	4173	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:23	4173	[DEBUG]	Executed store
2023-10-13	13:38:23	4173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863665','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:23	4173	[DEBUG]	Checking manufacturer
2023-10-13	13:38:23	4173	[DEBUG]	Load a row
2023-10-13	13:38:23	4173	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:23	4173	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:23	4173	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:23	4173	[DEBUG]	Executed store
2023-10-13	13:38:23	4173	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:23	4173	[DEBUG]	Manufacturer exists
2023-10-13	13:38:23	4173	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:23	4173	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:23	4173	[DEBUG]	Executed store
2023-10-13	13:38:23	4173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863665','25')
2023-10-13	13:38:23	4173	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:23	4173	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:23	4173	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863665 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:23	4173	[DEBUG]	Store custom available field
2023-10-13	13:38:23	4173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863665,3,'',1)
2023-10-13	13:38:23	4173	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:23	4173	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:23	4173	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863665 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:23	4173	[DEBUG]	Store custom available field
2023-10-13	13:38:23	4173	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863665,6,'Unitaire',3)
2023-10-13	13:38:23	4173	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:23	4173	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:23	4173	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863664
2023-10-13	13:38:23	4173	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:23	4173	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863664\":[1863664,8,1,\"choisir la taille\"],\"1863665\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863664
2023-10-13	13:38:23	4173	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:23	4173	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863665
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:23	4174	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field taille
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:23	4174	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:23	4174	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:23	4174	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:23	4174	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:23	4174	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:23	4174	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field published
2023-10-13	13:38:23	4174	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:23	4174	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field override
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:23	4174	[DEBUG]	Use field value for field slug
2023-10-13	13:38:23	4174	[DEBUG]	Process line 4174
2023-10-13	13:38:23	4174	[DEBUG]	Load a row
2023-10-13	13:38:23	4174	[DEBUG]	Processing item: A_6128_1
2023-10-13	13:38:23	4174	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:23	4174	[DEBUG]	Processing product tax
2023-10-13	13:38:23	4174	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:23	4174	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:23	4174	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:23	4174	[DEBUG]	Query for Product
2023-10-13	13:38:23	4174	[DEBUG]	Executed store
2023-10-13	13:38:23	4174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6128_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:23	4174	[DEBUG]	Check product language entry
2023-10-13	13:38:23	4174	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863666
2023-10-13	13:38:23	4174	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:23	4174	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6128_1' AND `virtuemart_product_id` != 1863666
2023-10-13	13:38:23	4174	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:23	4174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863666, 'A_6128_1')
2023-10-13	13:38:23	4174	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:23	4174	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-marathon-plus-tour-26-x-2-00-tringles-rigides-smart-guard-noir-reflex-hs404-noir' AND `virtuemart_product_id` != 1863666
2023-10-13	13:38:23	4174	[DEBUG]	Query for ProductLang
2023-10-13	13:38:23	4174	[DEBUG]	Executed store
2023-10-13	13:38:23	4174	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.03.630',`product_name`='SCHWALBE PNEU Schwalbe Marathon Plus Tour 26 x 2.00, tringles rigides Smart Guard, noir-reflex, HS404 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-marathon-plus-tour-26-x-2-00-tringles-rigides-smart-guard-noir-reflex-hs404-noir' WHERE `virtuemart_product_id` = '1863666'
2023-10-13	13:38:23	4174	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31822_pneu_schwalbe_marathon_supreme_26_x_2_00_reflex_evolution_hd_hs_440_speed_guard.jpg
2023-10-13	13:38:23	4174	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:23	4174	[DEBUG]	Process image file
2023-10-13	13:38:23	4174	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:23	4174	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:23	4174	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31822_pneu_schwalbe_marathon_supreme_26_x_2_00_reflex_evolution_hd_hs_440_speed_guard.jpg
2023-10-13	13:38:23	4174	[DEBUG]	Full name target: bcprisme/31822_pneu_schwalbe_marathon_supreme_26_x_2_00_reflex_evolution_hd_hs_440_speed_guard.jpg
2023-10-13	13:38:24	4174	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:24	4174	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31822_pneu_schwalbe_marathon_supreme_26_x_2_00_reflex_evolution_hd_hs_440_speed_guard.jpg'
2023-10-13	13:38:24	4174	[DEBUG]	Query for Media
2023-10-13	13:38:24	4174	[DEBUG]	Executed store
2023-10-13	13:38:24	4174	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31822_pneu_schwalbe_marathon_supreme_26_x_2_00_reflex_evolution_hd_hs_440_speed_guard.jpg',`file_url_thumb`='bcprisme/31822_pneu_schwalbe_marathon_supreme_26_x_2_00_reflex_evolution_hd_hs_440_speed_guard.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14494'
2023-10-13	13:38:24	4174	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:24	4174	[DEBUG]	Executed store
2023-10-13	13:38:24	4174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863666','14494','1')
2023-10-13	13:38:24	4174	[DEBUG]	Store product image relation
2023-10-13	13:38:24	4174	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:24	4174	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863666 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:24	4174	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:24	4174	[DEBUG]	Executed store
2023-10-13	13:38:24	4174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863666','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:24	4174	[DEBUG]	Checking manufacturer
2023-10-13	13:38:24	4174	[DEBUG]	Load a row
2023-10-13	13:38:24	4174	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:24	4174	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:24	4174	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:24	4174	[DEBUG]	Executed store
2023-10-13	13:38:24	4174	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:24	4174	[DEBUG]	Manufacturer exists
2023-10-13	13:38:24	4174	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:24	4174	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:24	4174	[DEBUG]	Executed store
2023-10-13	13:38:24	4174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863666','25')
2023-10-13	13:38:24	4174	[DEBUG]	Find the custom field ID
2023-10-13	13:38:24	4174	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:24	4174	[DEBUG]	No custom field ID found
2023-10-13	13:38:24	4174	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:24	4174	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:24	4174	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863666 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:24	4174	[DEBUG]	Store custom available field
2023-10-13	13:38:24	4174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863666,3,'0',1)
2023-10-13	13:38:24	4174	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:24	4174	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:24	4174	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863666 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:24	4174	[DEBUG]	Store custom available field
2023-10-13	13:38:24	4174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863666,6,'choisir la taille',3)
2023-10-13	13:38:24	4174	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:24	4174	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:24	4174	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:24	4174	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:24	4174	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863666 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:24	4174	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:24	4174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863666,8,1)
2023-10-13	13:38:24	4174	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:24	4174	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863666\":[1863666,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863666
2023-10-13	13:38:24	4174	[DEBUG]	Checking category
2023-10-13	13:38:24	4174	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:24	4174	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863666
2023-10-13	13:38:24	4174	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:24	4174	[DEBUG]	Executed store
2023-10-13	13:38:24	4174	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863666','7409')
2023-10-13	13:38:24	4174	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:24	4174	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863666 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:24	4174	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:24	4174	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863666
2023-10-13	13:38:24	4175	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:24	4175	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:24	4175	[DEBUG]	Use field value for field taille
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:24	4175	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:24	4175	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:24	4175	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:24	4175	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:24	4175	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:24	4175	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:24	4175	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:24	4175	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:24	4175	[DEBUG]	Use field value for field published
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:24	4175	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field override
2023-10-13	13:38:24	4175	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:24	4175	[DEBUG]	Use field value for field slug
2023-10-13	13:38:24	4175	[DEBUG]	Process line 4175
2023-10-13	13:38:24	4175	[DEBUG]	Load a row
2023-10-13	13:38:24	4175	[DEBUG]	Processing item: 4026495492157
2023-10-13	13:38:24	4175	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:24	4175	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:24	4175	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6128_1'
2023-10-13	13:38:24	4175	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:24	4175	[DEBUG]	Processing product tax
2023-10-13	13:38:24	4175	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:24	4175	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:24	4175	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:24	4175	[DEBUG]	Query for Product
2023-10-13	13:38:24	4175	[DEBUG]	Executed store
2023-10-13	13:38:24	4175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863666','4026495492157','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:24	4175	[DEBUG]	No parent found
2023-10-13	13:38:24	4175	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863666 AND customfield_value = 'stockable'
2023-10-13	13:38:24	4175	[DEBUG]	Check product language entry
2023-10-13	13:38:24	4175	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863667
2023-10-13	13:38:24	4175	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:24	4175	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495492157' AND `virtuemart_product_id` != 1863667
2023-10-13	13:38:24	4175	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:24	4175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863667, '4026495492157')
2023-10-13	13:38:24	4175	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:24	4175	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-marathon-plus-tour-26-x-2-00-tringles-rigides-smart-guard-noir-reflex-hs404-noir-unitaire' AND `virtuemart_product_id` != 1863667
2023-10-13	13:38:24	4175	[DEBUG]	Query for ProductLang
2023-10-13	13:38:24	4175	[DEBUG]	Executed store
2023-10-13	13:38:24	4175	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU Schwalbe Marathon Plus Tour 26 x 2.00, tringles rigides Smart Guard, noir-reflex, HS404 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-marathon-plus-tour-26-x-2-00-tringles-rigides-smart-guard-noir-reflex-hs404-noir-unitaire' WHERE `virtuemart_product_id` = '1863667'
2023-10-13	13:38:24	4175	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31822_pneu_schwalbe_marathon_supreme_26_x_2_00_reflex_evolution_hd_hs_440_speed_guard.jpg
2023-10-13	13:38:24	4175	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:24	4175	[DEBUG]	Process image file
2023-10-13	13:38:24	4175	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:24	4175	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:24	4175	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31822_pneu_schwalbe_marathon_supreme_26_x_2_00_reflex_evolution_hd_hs_440_speed_guard.jpg
2023-10-13	13:38:24	4175	[DEBUG]	Full name target: bcprisme/31822_pneu_schwalbe_marathon_supreme_26_x_2_00_reflex_evolution_hd_hs_440_speed_guard.jpg
2023-10-13	13:38:25	4175	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:25	4175	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31822_pneu_schwalbe_marathon_supreme_26_x_2_00_reflex_evolution_hd_hs_440_speed_guard.jpg'
2023-10-13	13:38:25	4175	[DEBUG]	Query for Media
2023-10-13	13:38:25	4175	[DEBUG]	Executed store
2023-10-13	13:38:25	4175	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31822_pneu_schwalbe_marathon_supreme_26_x_2_00_reflex_evolution_hd_hs_440_speed_guard.jpg',`file_url_thumb`='bcprisme/31822_pneu_schwalbe_marathon_supreme_26_x_2_00_reflex_evolution_hd_hs_440_speed_guard.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14494'
2023-10-13	13:38:25	4175	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:25	4175	[DEBUG]	Executed store
2023-10-13	13:38:25	4175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863667','14494','1')
2023-10-13	13:38:25	4175	[DEBUG]	Store product image relation
2023-10-13	13:38:25	4175	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:25	4175	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863667 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:25	4175	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:25	4175	[DEBUG]	Executed store
2023-10-13	13:38:25	4175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863667','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:25	4175	[DEBUG]	Checking manufacturer
2023-10-13	13:38:25	4175	[DEBUG]	Load a row
2023-10-13	13:38:25	4175	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:25	4175	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:25	4175	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:25	4175	[DEBUG]	Executed store
2023-10-13	13:38:25	4175	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:25	4175	[DEBUG]	Manufacturer exists
2023-10-13	13:38:25	4175	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:25	4175	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:25	4175	[DEBUG]	Executed store
2023-10-13	13:38:25	4175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863667','25')
2023-10-13	13:38:25	4175	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:25	4175	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:25	4175	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863667 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:25	4175	[DEBUG]	Store custom available field
2023-10-13	13:38:25	4175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863667,3,'',1)
2023-10-13	13:38:25	4175	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:25	4175	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:25	4175	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863667 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:25	4175	[DEBUG]	Store custom available field
2023-10-13	13:38:25	4175	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863667,6,'Unitaire',3)
2023-10-13	13:38:25	4175	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:25	4175	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:25	4175	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863666
2023-10-13	13:38:25	4175	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:25	4175	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863666\":[1863666,8,1,\"choisir la taille\"],\"1863667\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863666
2023-10-13	13:38:25	4175	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:25	4175	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863667
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:25	4176	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field taille
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:25	4176	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:25	4176	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:25	4176	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:25	4176	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:25	4176	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:25	4176	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field published
2023-10-13	13:38:25	4176	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:25	4176	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field override
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:25	4176	[DEBUG]	Use field value for field slug
2023-10-13	13:38:25	4176	[DEBUG]	Process line 4176
2023-10-13	13:38:25	4176	[DEBUG]	Load a row
2023-10-13	13:38:25	4176	[DEBUG]	Processing item: A_6216_1
2023-10-13	13:38:25	4176	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:25	4176	[DEBUG]	Processing product tax
2023-10-13	13:38:25	4176	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:25	4176	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:25	4176	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:25	4176	[DEBUG]	Query for Product
2023-10-13	13:38:25	4176	[DEBUG]	Executed store
2023-10-13	13:38:25	4176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6216_1','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:25	4176	[DEBUG]	Check product language entry
2023-10-13	13:38:25	4176	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863668
2023-10-13	13:38:25	4176	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:25	4176	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6216_1' AND `virtuemart_product_id` != 1863668
2023-10-13	13:38:25	4176	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:25	4176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863668, 'A_6216_1')
2023-10-13	13:38:25	4176	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:25	4176	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-road-cruiser-12x2-00-green-compound-noir' AND `virtuemart_product_id` != 1863668
2023-10-13	13:38:25	4176	[DEBUG]	Query for ProductLang
2023-10-13	13:38:25	4176	[DEBUG]	Executed store
2023-10-13	13:38:25	4176	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.487',`product_name`='SCHWALBE PNEU ROAD CRUISER 12X2.00 GREEN COMPOUND / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-road-cruiser-12x2-00-green-compound-noir' WHERE `virtuemart_product_id` = '1863668'
2023-10-13	13:38:25	4176	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32059_pneu_schwalbe_road_cruiser_12x2_00_green_compound.jpg
2023-10-13	13:38:25	4176	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:25	4176	[DEBUG]	Process image file
2023-10-13	13:38:25	4176	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:25	4176	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:25	4176	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32059_pneu_schwalbe_road_cruiser_12x2_00_green_compound.jpg
2023-10-13	13:38:25	4176	[DEBUG]	Full name target: bcprisme/32059_pneu_schwalbe_road_cruiser_12x2_00_green_compound.jpg
2023-10-13	13:38:26	4176	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:26	4176	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32059_pneu_schwalbe_road_cruiser_12x2_00_green_compound.jpg'
2023-10-13	13:38:26	4176	[DEBUG]	Query for Media
2023-10-13	13:38:26	4176	[DEBUG]	Executed store
2023-10-13	13:38:26	4176	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32059_pneu_schwalbe_road_cruiser_12x2_00_green_compound.jpg',`file_url_thumb`='bcprisme/32059_pneu_schwalbe_road_cruiser_12x2_00_green_compound.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14495'
2023-10-13	13:38:26	4176	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:26	4176	[DEBUG]	Executed store
2023-10-13	13:38:26	4176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863668','14495','1')
2023-10-13	13:38:26	4176	[DEBUG]	Store product image relation
2023-10-13	13:38:26	4176	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:26	4176	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863668 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:26	4176	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:26	4176	[DEBUG]	Executed store
2023-10-13	13:38:26	4176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863668','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:26	4176	[DEBUG]	Checking manufacturer
2023-10-13	13:38:26	4176	[DEBUG]	Load a row
2023-10-13	13:38:26	4176	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:26	4176	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:26	4176	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:26	4176	[DEBUG]	Executed store
2023-10-13	13:38:26	4176	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:26	4176	[DEBUG]	Manufacturer exists
2023-10-13	13:38:26	4176	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:26	4176	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:26	4176	[DEBUG]	Executed store
2023-10-13	13:38:26	4176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863668','25')
2023-10-13	13:38:26	4176	[DEBUG]	Find the custom field ID
2023-10-13	13:38:26	4176	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:26	4176	[DEBUG]	No custom field ID found
2023-10-13	13:38:26	4176	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:26	4176	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:26	4176	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863668 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:26	4176	[DEBUG]	Store custom available field
2023-10-13	13:38:26	4176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863668,3,'0',1)
2023-10-13	13:38:26	4176	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:26	4176	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:26	4176	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863668 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:26	4176	[DEBUG]	Store custom available field
2023-10-13	13:38:26	4176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863668,6,'choisir la taille',3)
2023-10-13	13:38:26	4176	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:26	4176	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:26	4176	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:26	4176	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:26	4176	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863668 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:26	4176	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:26	4176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863668,8,1)
2023-10-13	13:38:26	4176	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:26	4176	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863668\":[1863668,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863668
2023-10-13	13:38:26	4176	[DEBUG]	Checking category
2023-10-13	13:38:26	4176	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:26	4176	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863668
2023-10-13	13:38:26	4176	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:26	4176	[DEBUG]	Executed store
2023-10-13	13:38:26	4176	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863668','7409')
2023-10-13	13:38:26	4176	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:26	4176	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863668 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:26	4176	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:26	4176	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863668
2023-10-13	13:38:26	4177	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:26	4177	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:26	4177	[DEBUG]	Use field value for field taille
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:26	4177	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:26	4177	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:26	4177	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:26	4177	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:26	4177	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:26	4177	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:26	4177	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:26	4177	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:26	4177	[DEBUG]	Use field value for field published
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:26	4177	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field override
2023-10-13	13:38:26	4177	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:26	4177	[DEBUG]	Use field value for field slug
2023-10-13	13:38:26	4177	[DEBUG]	Process line 4177
2023-10-13	13:38:26	4177	[DEBUG]	Load a row
2023-10-13	13:38:26	4177	[DEBUG]	Processing item: 4026495811880
2023-10-13	13:38:26	4177	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:26	4177	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:26	4177	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6216_1'
2023-10-13	13:38:26	4177	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:26	4177	[DEBUG]	Processing product tax
2023-10-13	13:38:26	4177	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:26	4177	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:26	4177	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:26	4177	[DEBUG]	Query for Product
2023-10-13	13:38:26	4177	[DEBUG]	Executed store
2023-10-13	13:38:26	4177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863668','4026495811880','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:26	4177	[DEBUG]	No parent found
2023-10-13	13:38:26	4177	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863668 AND customfield_value = 'stockable'
2023-10-13	13:38:26	4177	[DEBUG]	Check product language entry
2023-10-13	13:38:26	4177	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863669
2023-10-13	13:38:26	4177	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:26	4177	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495811880' AND `virtuemart_product_id` != 1863669
2023-10-13	13:38:26	4177	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:26	4177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863669, '4026495811880')
2023-10-13	13:38:26	4177	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:26	4177	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-road-cruiser-12x2-00-green-compound-noir-unitaire' AND `virtuemart_product_id` != 1863669
2023-10-13	13:38:26	4177	[DEBUG]	Query for ProductLang
2023-10-13	13:38:26	4177	[DEBUG]	Executed store
2023-10-13	13:38:26	4177	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU ROAD CRUISER 12X2.00 GREEN COMPOUND / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-road-cruiser-12x2-00-green-compound-noir-unitaire' WHERE `virtuemart_product_id` = '1863669'
2023-10-13	13:38:26	4177	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32059_pneu_schwalbe_road_cruiser_12x2_00_green_compound.jpg
2023-10-13	13:38:26	4177	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:26	4177	[DEBUG]	Process image file
2023-10-13	13:38:26	4177	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:26	4177	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:26	4177	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32059_pneu_schwalbe_road_cruiser_12x2_00_green_compound.jpg
2023-10-13	13:38:26	4177	[DEBUG]	Full name target: bcprisme/32059_pneu_schwalbe_road_cruiser_12x2_00_green_compound.jpg
2023-10-13	13:38:27	4177	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:27	4177	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32059_pneu_schwalbe_road_cruiser_12x2_00_green_compound.jpg'
2023-10-13	13:38:27	4177	[DEBUG]	Query for Media
2023-10-13	13:38:27	4177	[DEBUG]	Executed store
2023-10-13	13:38:27	4177	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32059_pneu_schwalbe_road_cruiser_12x2_00_green_compound.jpg',`file_url_thumb`='bcprisme/32059_pneu_schwalbe_road_cruiser_12x2_00_green_compound.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14495'
2023-10-13	13:38:27	4177	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:27	4177	[DEBUG]	Executed store
2023-10-13	13:38:27	4177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863669','14495','1')
2023-10-13	13:38:27	4177	[DEBUG]	Store product image relation
2023-10-13	13:38:27	4177	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:27	4177	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863669 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:27	4177	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:27	4177	[DEBUG]	Executed store
2023-10-13	13:38:27	4177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863669','0','20.3342618384401','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:27	4177	[DEBUG]	Checking manufacturer
2023-10-13	13:38:27	4177	[DEBUG]	Load a row
2023-10-13	13:38:27	4177	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:27	4177	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:27	4177	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:27	4177	[DEBUG]	Executed store
2023-10-13	13:38:27	4177	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:27	4177	[DEBUG]	Manufacturer exists
2023-10-13	13:38:27	4177	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:27	4177	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:27	4177	[DEBUG]	Executed store
2023-10-13	13:38:27	4177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863669','25')
2023-10-13	13:38:27	4177	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:27	4177	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:27	4177	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863669 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:27	4177	[DEBUG]	Store custom available field
2023-10-13	13:38:27	4177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863669,3,'',1)
2023-10-13	13:38:27	4177	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:27	4177	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:27	4177	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863669 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:27	4177	[DEBUG]	Store custom available field
2023-10-13	13:38:27	4177	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863669,6,'Unitaire',3)
2023-10-13	13:38:27	4177	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:27	4177	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:27	4177	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863668
2023-10-13	13:38:27	4177	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:27	4177	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863668\":[1863668,8,1,\"choisir la taille\"],\"1863669\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863668
2023-10-13	13:38:27	4177	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:27	4177	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863669
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:27	4178	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field taille
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:27	4178	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:27	4178	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:27	4178	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:27	4178	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:27	4178	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:27	4178	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field published
2023-10-13	13:38:27	4178	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:27	4178	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field override
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:27	4178	[DEBUG]	Use field value for field slug
2023-10-13	13:38:27	4178	[DEBUG]	Process line 4178
2023-10-13	13:38:27	4178	[DEBUG]	Load a row
2023-10-13	13:38:27	4178	[DEBUG]	Processing item: A_6324_1
2023-10-13	13:38:27	4178	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:27	4178	[DEBUG]	Processing product tax
2023-10-13	13:38:27	4178	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:27	4178	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:27	4178	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:27	4178	[DEBUG]	Query for Product
2023-10-13	13:38:27	4178	[DEBUG]	Executed store
2023-10-13	13:38:27	4178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6324_1','0.5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:27	4178	[DEBUG]	Check product language entry
2023-10-13	13:38:27	4178	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863670
2023-10-13	13:38:27	4178	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:27	4178	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6324_1' AND `virtuemart_product_id` != 1863670
2023-10-13	13:38:27	4178	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:27	4178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863670, 'A_6324_1')
2023-10-13	13:38:27	4178	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:27	4178	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-26x1-75-rigide-avec-bande-reflechissante-black-noir' AND `virtuemart_product_id` != 1863670
2023-10-13	13:38:27	4178	[DEBUG]	Query for ProductLang
2023-10-13	13:38:27	4178	[DEBUG]	Executed store
2023-10-13	13:38:27	4178	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56694',`product_name`='Schwalbe Pneu Marathon 26x1.75 rigide avec bande réfléchissante black / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-26x1-75-rigide-avec-bande-reflechissante-black-noir' WHERE `virtuemart_product_id` = '1863670'
2023-10-13	13:38:27	4178	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/marathon.jpg
2023-10-13	13:38:27	4178	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:27	4178	[DEBUG]	Process image file
2023-10-13	13:38:27	4178	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:27	4178	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:27	4178	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/marathon.jpg
2023-10-13	13:38:27	4178	[DEBUG]	Full name target: bcprisme/marathon.jpg
2023-10-13	13:38:28	4178	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:28	4178	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/marathon.jpg'
2023-10-13	13:38:28	4178	[DEBUG]	Query for Media
2023-10-13	13:38:28	4178	[DEBUG]	Executed store
2023-10-13	13:38:28	4178	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/marathon.jpg',`file_url_thumb`='bcprisme/marathon.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382169'
2023-10-13	13:38:28	4178	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:28	4178	[DEBUG]	Executed store
2023-10-13	13:38:28	4178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863670','382169','1')
2023-10-13	13:38:28	4178	[DEBUG]	Store product image relation
2023-10-13	13:38:28	4178	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:28	4178	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863670 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:28	4178	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:28	4178	[DEBUG]	Executed store
2023-10-13	13:38:28	4178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863670','0','38.9043639740019','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:28	4178	[DEBUG]	Checking manufacturer
2023-10-13	13:38:28	4178	[DEBUG]	Load a row
2023-10-13	13:38:28	4178	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:28	4178	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:28	4178	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:28	4178	[DEBUG]	Executed store
2023-10-13	13:38:28	4178	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:28	4178	[DEBUG]	Manufacturer exists
2023-10-13	13:38:28	4178	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:38:28	4178	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:28	4178	[DEBUG]	Executed store
2023-10-13	13:38:28	4178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863670','77')
2023-10-13	13:38:28	4178	[DEBUG]	Find the custom field ID
2023-10-13	13:38:28	4178	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:28	4178	[DEBUG]	No custom field ID found
2023-10-13	13:38:28	4178	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:28	4178	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:28	4178	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863670 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:28	4178	[DEBUG]	Store custom available field
2023-10-13	13:38:28	4178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863670,3,'0',1)
2023-10-13	13:38:28	4178	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:28	4178	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:28	4178	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863670 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:28	4178	[DEBUG]	Store custom available field
2023-10-13	13:38:28	4178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863670,6,'choisir la taille',3)
2023-10-13	13:38:28	4178	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:28	4178	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:28	4178	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:28	4178	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:28	4178	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863670 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:28	4178	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:28	4178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863670,8,1)
2023-10-13	13:38:28	4178	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:28	4178	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863670\":[1863670,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863670
2023-10-13	13:38:28	4178	[DEBUG]	Checking category
2023-10-13	13:38:28	4178	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:28	4178	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863670
2023-10-13	13:38:28	4178	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:28	4178	[DEBUG]	Executed store
2023-10-13	13:38:28	4178	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863670','7409')
2023-10-13	13:38:28	4178	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:28	4178	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863670 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:28	4178	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:28	4178	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863670
2023-10-13	13:38:28	4179	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:28	4179	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:28	4179	[DEBUG]	Use field value for field taille
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:28	4179	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:28	4179	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:28	4179	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:28	4179	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:28	4179	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:28	4179	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:28	4179	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:28	4179	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:28	4179	[DEBUG]	Use field value for field published
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:28	4179	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field override
2023-10-13	13:38:28	4179	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:28	4179	[DEBUG]	Use field value for field slug
2023-10-13	13:38:28	4179	[DEBUG]	Process line 4179
2023-10-13	13:38:28	4179	[DEBUG]	Load a row
2023-10-13	13:38:28	4179	[DEBUG]	Processing item: 4026495627290
2023-10-13	13:38:28	4179	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:28	4179	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:28	4179	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6324_1'
2023-10-13	13:38:28	4179	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:28	4179	[DEBUG]	Processing product tax
2023-10-13	13:38:28	4179	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:28	4179	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:28	4179	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:28	4179	[DEBUG]	Query for Product
2023-10-13	13:38:28	4179	[DEBUG]	Executed store
2023-10-13	13:38:28	4179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863670','4026495627290','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:28	4179	[DEBUG]	No parent found
2023-10-13	13:38:28	4179	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863670 AND customfield_value = 'stockable'
2023-10-13	13:38:28	4179	[DEBUG]	Check product language entry
2023-10-13	13:38:28	4179	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863671
2023-10-13	13:38:28	4179	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:28	4179	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495627290' AND `virtuemart_product_id` != 1863671
2023-10-13	13:38:28	4179	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:28	4179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863671, '4026495627290')
2023-10-13	13:38:28	4179	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:28	4179	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-26x1-75-rigide-avec-bande-reflechissante-black-noir-all' AND `virtuemart_product_id` != 1863671
2023-10-13	13:38:28	4179	[DEBUG]	Query for ProductLang
2023-10-13	13:38:28	4179	[DEBUG]	Executed store
2023-10-13	13:38:28	4179	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Pneu Marathon 26x1.75 rigide avec bande réfléchissante black / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-26x1-75-rigide-avec-bande-reflechissante-black-noir-all' WHERE `virtuemart_product_id` = '1863671'
2023-10-13	13:38:28	4179	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/marathon.jpg
2023-10-13	13:38:28	4179	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:28	4179	[DEBUG]	Process image file
2023-10-13	13:38:28	4179	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:28	4179	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:28	4179	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/marathon.jpg
2023-10-13	13:38:28	4179	[DEBUG]	Full name target: bcprisme/marathon.jpg
2023-10-13	13:38:29	4179	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:29	4179	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/marathon.jpg'
2023-10-13	13:38:29	4179	[DEBUG]	Query for Media
2023-10-13	13:38:29	4179	[DEBUG]	Executed store
2023-10-13	13:38:29	4179	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/marathon.jpg',`file_url_thumb`='bcprisme/marathon.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382169'
2023-10-13	13:38:29	4179	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:29	4179	[DEBUG]	Executed store
2023-10-13	13:38:29	4179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863671','382169','1')
2023-10-13	13:38:29	4179	[DEBUG]	Store product image relation
2023-10-13	13:38:29	4179	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:29	4179	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863671 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:29	4179	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:29	4179	[DEBUG]	Executed store
2023-10-13	13:38:29	4179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863671','0','38.9043639740019','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:29	4179	[DEBUG]	Checking manufacturer
2023-10-13	13:38:29	4179	[DEBUG]	Load a row
2023-10-13	13:38:29	4179	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:29	4179	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:29	4179	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:29	4179	[DEBUG]	Executed store
2023-10-13	13:38:29	4179	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:29	4179	[DEBUG]	Manufacturer exists
2023-10-13	13:38:29	4179	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:38:29	4179	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:29	4179	[DEBUG]	Executed store
2023-10-13	13:38:29	4179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863671','77')
2023-10-13	13:38:29	4179	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:29	4179	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:29	4179	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863671 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:29	4179	[DEBUG]	Store custom available field
2023-10-13	13:38:29	4179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863671,3,'',1)
2023-10-13	13:38:29	4179	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:29	4179	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:38:29	4179	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863671 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:29	4179	[DEBUG]	Store custom available field
2023-10-13	13:38:29	4179	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863671,6,'All',3)
2023-10-13	13:38:29	4179	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:29	4179	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:29	4179	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863670
2023-10-13	13:38:29	4179	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:29	4179	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863670\":[1863670,8,1,\"choisir la taille\"],\"1863671\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863670
2023-10-13	13:38:29	4179	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:29	4179	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863671
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:29	4180	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field taille
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:29	4180	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:29	4180	[DEBUG]	Use default value for field file_url
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:29	4180	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:29	4180	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:29	4180	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:29	4180	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:29	4180	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field published
2023-10-13	13:38:29	4180	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:29	4180	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field override
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:29	4180	[DEBUG]	Use field value for field slug
2023-10-13	13:38:29	4180	[DEBUG]	Process line 4180
2023-10-13	13:38:29	4180	[DEBUG]	Load a row
2023-10-13	13:38:29	4180	[DEBUG]	Processing item: A_6556_1
2023-10-13	13:38:29	4180	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:29	4180	[DEBUG]	Processing product tax
2023-10-13	13:38:29	4180	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:29	4180	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:29	4180	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:29	4180	[DEBUG]	Query for Product
2023-10-13	13:38:29	4180	[DEBUG]	Executed store
2023-10-13	13:38:29	4180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6556_1','0.8','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:29	4180	[DEBUG]	Check product language entry
2023-10-13	13:38:29	4180	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863672
2023-10-13	13:38:29	4180	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:29	4180	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6556_1' AND `virtuemart_product_id` != 1863672
2023-10-13	13:38:29	4180	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:29	4180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863672, 'A_6556_1')
2023-10-13	13:38:29	4180	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:29	4180	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-magic-mary-26x2-35-downhill-vertstar-rigide-black-noir' AND `virtuemart_product_id` != 1863672
2023-10-13	13:38:29	4180	[DEBUG]	Query for ProductLang
2023-10-13	13:38:29	4180	[DEBUG]	Executed store
2023-10-13	13:38:29	4180	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.60345',`product_name`='Schwalbe Pneu Magic Mary 26x2.35 Downhill VertStar rigide black / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-magic-mary-26x2-35-downhill-vertstar-rigide-black-noir' WHERE `virtuemart_product_id` = '1863672'
2023-10-13	13:38:29	4180	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:29	4180	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863672 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:29	4180	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:29	4180	[DEBUG]	Executed store
2023-10-13	13:38:29	4180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863672','0','60.3528319405757','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:29	4180	[DEBUG]	Checking manufacturer
2023-10-13	13:38:29	4180	[DEBUG]	Load a row
2023-10-13	13:38:29	4180	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:29	4180	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:29	4180	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:29	4180	[DEBUG]	Executed store
2023-10-13	13:38:29	4180	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:29	4180	[DEBUG]	Manufacturer exists
2023-10-13	13:38:29	4180	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:38:29	4180	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:29	4180	[DEBUG]	Executed store
2023-10-13	13:38:29	4180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863672','77')
2023-10-13	13:38:29	4180	[DEBUG]	Find the custom field ID
2023-10-13	13:38:29	4180	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:29	4180	[DEBUG]	No custom field ID found
2023-10-13	13:38:29	4180	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:29	4180	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:29	4180	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863672 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:29	4180	[DEBUG]	Store custom available field
2023-10-13	13:38:29	4180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863672,3,'0',1)
2023-10-13	13:38:29	4180	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:29	4180	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:29	4180	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863672 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:29	4180	[DEBUG]	Store custom available field
2023-10-13	13:38:29	4180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863672,6,'choisir la taille',3)
2023-10-13	13:38:29	4180	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:29	4180	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:29	4180	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:29	4180	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:29	4180	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863672 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:29	4180	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:29	4180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863672,8,1)
2023-10-13	13:38:29	4180	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:29	4180	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863672\":[1863672,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863672
2023-10-13	13:38:29	4180	[DEBUG]	Checking category
2023-10-13	13:38:29	4180	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:29	4180	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863672
2023-10-13	13:38:29	4180	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:29	4180	[DEBUG]	Executed store
2023-10-13	13:38:29	4180	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863672','7409')
2023-10-13	13:38:29	4180	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:29	4180	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863672 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:29	4180	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:29	4180	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863672
2023-10-13	13:38:29	4181	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:29	4181	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:29	4181	[DEBUG]	Use field value for field taille
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:29	4181	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:29	4181	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:29	4181	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field file_url
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:29	4181	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:29	4181	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:29	4181	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:29	4181	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:29	4181	[DEBUG]	Use field value for field published
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:29	4181	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field override
2023-10-13	13:38:29	4181	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:29	4181	[DEBUG]	Use field value for field slug
2023-10-13	13:38:29	4181	[DEBUG]	Process line 4181
2023-10-13	13:38:29	4181	[DEBUG]	Load a row
2023-10-13	13:38:29	4181	[DEBUG]	Processing item: 1000000135602
2023-10-13	13:38:29	4181	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:29	4181	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:29	4181	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6556_1'
2023-10-13	13:38:29	4181	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:29	4181	[DEBUG]	Processing product tax
2023-10-13	13:38:29	4181	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:29	4181	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:29	4181	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:29	4181	[DEBUG]	Query for Product
2023-10-13	13:38:29	4181	[DEBUG]	Executed store
2023-10-13	13:38:29	4181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863672','1000000135602','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:29	4181	[DEBUG]	No parent found
2023-10-13	13:38:29	4181	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863672 AND customfield_value = 'stockable'
2023-10-13	13:38:29	4181	[DEBUG]	Check product language entry
2023-10-13	13:38:29	4181	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863673
2023-10-13	13:38:29	4181	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:29	4181	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000135602' AND `virtuemart_product_id` != 1863673
2023-10-13	13:38:29	4181	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:29	4181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863673, '1000000135602')
2023-10-13	13:38:29	4181	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:29	4181	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-magic-mary-26x2-35-downhill-vertstar-rigide-black-noir-all' AND `virtuemart_product_id` != 1863673
2023-10-13	13:38:29	4181	[DEBUG]	Query for ProductLang
2023-10-13	13:38:29	4181	[DEBUG]	Executed store
2023-10-13	13:38:29	4181	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Pneu Magic Mary 26x2.35 Downhill VertStar rigide black / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-magic-mary-26x2-35-downhill-vertstar-rigide-black-noir-all' WHERE `virtuemart_product_id` = '1863673'
2023-10-13	13:38:29	4181	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:29	4181	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863673 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:29	4181	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:29	4181	[DEBUG]	Executed store
2023-10-13	13:38:29	4181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863673','0','60.3528319405757','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:29	4181	[DEBUG]	Checking manufacturer
2023-10-13	13:38:29	4181	[DEBUG]	Load a row
2023-10-13	13:38:29	4181	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:29	4181	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:29	4181	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:29	4181	[DEBUG]	Executed store
2023-10-13	13:38:29	4181	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:38:29	4181	[DEBUG]	Manufacturer exists
2023-10-13	13:38:29	4181	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:38:29	4181	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:29	4181	[DEBUG]	Executed store
2023-10-13	13:38:29	4181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863673','77')
2023-10-13	13:38:29	4181	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:29	4181	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:29	4181	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863673 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:29	4181	[DEBUG]	Store custom available field
2023-10-13	13:38:29	4181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863673,3,'',1)
2023-10-13	13:38:29	4181	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:29	4181	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:38:29	4181	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863673 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:29	4181	[DEBUG]	Store custom available field
2023-10-13	13:38:29	4181	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863673,6,'All',3)
2023-10-13	13:38:29	4181	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:29	4181	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:29	4181	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863672
2023-10-13	13:38:29	4181	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:29	4181	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863672\":[1863672,8,1,\"choisir la taille\"],\"1863673\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863672
2023-10-13	13:38:29	4181	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:29	4181	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863673
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:29	4182	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field taille
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:29	4182	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:29	4182	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:29	4182	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:29	4182	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:29	4182	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:29	4182	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field published
2023-10-13	13:38:29	4182	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:29	4182	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field override
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:29	4182	[DEBUG]	Use field value for field slug
2023-10-13	13:38:29	4182	[DEBUG]	Process line 4182
2023-10-13	13:38:29	4182	[DEBUG]	Load a row
2023-10-13	13:38:29	4182	[DEBUG]	Processing item: A_6663_1
2023-10-13	13:38:29	4182	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:29	4182	[DEBUG]	Processing product tax
2023-10-13	13:38:29	4182	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:29	4182	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:29	4182	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:29	4182	[DEBUG]	Query for Product
2023-10-13	13:38:29	4182	[DEBUG]	Executed store
2023-10-13	13:38:29	4182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6663_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:29	4182	[DEBUG]	Check product language entry
2023-10-13	13:38:29	4182	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863674
2023-10-13	13:38:29	4182	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:29	4182	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6663_1' AND `virtuemart_product_id` != 1863674
2023-10-13	13:38:29	4182	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:29	4182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863674, 'A_6663_1')
2023-10-13	13:38:29	4182	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:29	4182	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-rock-roller-26-x-2-10-33-tpi-wire-1c-flancs-renforces-54-559-noir' AND `virtuemart_product_id` != 1863674
2023-10-13	13:38:29	4182	[DEBUG]	Query for ProductLang
2023-10-13	13:38:29	4182	[DEBUG]	Executed store
2023-10-13	13:38:29	4182	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : ROC26210W',`product_name`='MSC PNEU ROCK & ROLLER 26 X 2.10 33 TPI Wire 1C, flancs renforcés 54-559 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-rock-roller-26-x-2-10-33-tpi-wire-1c-flancs-renforces-54-559-noir' WHERE `virtuemart_product_id` = '1863674'
2023-10-13	13:38:29	4182	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32604_rock_&_roller_26_x_2_10_33_tpi_wire_1c.jpg
2023-10-13	13:38:29	4182	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:29	4182	[DEBUG]	Process image file
2023-10-13	13:38:29	4182	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:29	4182	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:29	4182	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32604_rock_&_roller_26_x_2_10_33_tpi_wire_1c.jpg
2023-10-13	13:38:29	4182	[DEBUG]	Full name target: bcprisme/32604_rock_&_roller_26_x_2_10_33_tpi_wire_1c.jpg
2023-10-13	13:38:30	4182	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:30	4182	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32604_rock_&_roller_26_x_2_10_33_tpi_wire_1c.jpg'
2023-10-13	13:38:30	4182	[DEBUG]	Query for Media
2023-10-13	13:38:30	4182	[DEBUG]	Executed store
2023-10-13	13:38:30	4182	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32604_rock_&_roller_26_x_2_10_33_tpi_wire_1c.jpg',`file_url_thumb`='bcprisme/32604_rock_&_roller_26_x_2_10_33_tpi_wire_1c.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14497'
2023-10-13	13:38:30	4182	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:30	4182	[DEBUG]	Executed store
2023-10-13	13:38:30	4182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863674','14497','1')
2023-10-13	13:38:30	4182	[DEBUG]	Store product image relation
2023-10-13	13:38:30	4182	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:30	4182	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863674 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:30	4182	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:30	4182	[DEBUG]	Executed store
2023-10-13	13:38:30	4182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863674','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:30	4182	[DEBUG]	Checking manufacturer
2023-10-13	13:38:30	4182	[DEBUG]	Load a row
2023-10-13	13:38:30	4182	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:30	4182	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:38:30	4182	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:30	4182	[DEBUG]	Executed store
2023-10-13	13:38:30	4182	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:38:30	4182	[DEBUG]	Manufacturer exists
2023-10-13	13:38:30	4182	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:38:30	4182	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:30	4182	[DEBUG]	Executed store
2023-10-13	13:38:30	4182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863674','32')
2023-10-13	13:38:30	4182	[DEBUG]	Find the custom field ID
2023-10-13	13:38:30	4182	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:30	4182	[DEBUG]	No custom field ID found
2023-10-13	13:38:30	4182	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:30	4182	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:38:30	4182	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863674 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:30	4182	[DEBUG]	Store custom available field
2023-10-13	13:38:30	4182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863674,3,'54.7475',1)
2023-10-13	13:38:30	4182	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:30	4182	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:30	4182	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863674 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:30	4182	[DEBUG]	Store custom available field
2023-10-13	13:38:30	4182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863674,6,'choisir la taille',3)
2023-10-13	13:38:30	4182	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:30	4182	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:30	4182	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:30	4182	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:30	4182	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863674 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:30	4182	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:30	4182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863674,8,1)
2023-10-13	13:38:30	4182	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:30	4182	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863674\":[1863674,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863674
2023-10-13	13:38:30	4182	[DEBUG]	Checking category
2023-10-13	13:38:30	4182	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:30	4182	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863674
2023-10-13	13:38:30	4182	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:30	4182	[DEBUG]	Executed store
2023-10-13	13:38:30	4182	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863674','7409')
2023-10-13	13:38:30	4182	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:30	4182	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863674 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:30	4182	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:30	4182	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863674
2023-10-13	13:38:30	4183	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:30	4183	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:30	4183	[DEBUG]	Use field value for field taille
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:30	4183	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:30	4183	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:30	4183	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:30	4183	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:30	4183	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:30	4183	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:30	4183	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:30	4183	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:30	4183	[DEBUG]	Use field value for field published
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:30	4183	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field override
2023-10-13	13:38:30	4183	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:30	4183	[DEBUG]	Use field value for field slug
2023-10-13	13:38:30	4183	[DEBUG]	Process line 4183
2023-10-13	13:38:30	4183	[DEBUG]	Load a row
2023-10-13	13:38:30	4183	[DEBUG]	Processing item: 8435466216580
2023-10-13	13:38:30	4183	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:30	4183	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:30	4183	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6663_1'
2023-10-13	13:38:30	4183	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:30	4183	[DEBUG]	Processing product tax
2023-10-13	13:38:30	4183	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:30	4183	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:30	4183	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:30	4183	[DEBUG]	Query for Product
2023-10-13	13:38:30	4183	[DEBUG]	Executed store
2023-10-13	13:38:30	4183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863674','8435466216580','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:30	4183	[DEBUG]	No parent found
2023-10-13	13:38:30	4183	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863674 AND customfield_value = 'stockable'
2023-10-13	13:38:30	4183	[DEBUG]	Check product language entry
2023-10-13	13:38:30	4183	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863675
2023-10-13	13:38:30	4183	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:30	4183	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216580' AND `virtuemart_product_id` != 1863675
2023-10-13	13:38:30	4183	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:30	4183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863675, '8435466216580')
2023-10-13	13:38:30	4183	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:30	4183	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-rock-roller-26-x-2-10-33-tpi-wire-1c-flancs-renforces-54-559-noir-unitaire' AND `virtuemart_product_id` != 1863675
2023-10-13	13:38:30	4183	[DEBUG]	Query for ProductLang
2023-10-13	13:38:30	4183	[DEBUG]	Executed store
2023-10-13	13:38:30	4183	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROCK & ROLLER 26 X 2.10 33 TPI Wire 1C, flancs renforcés 54-559 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-rock-roller-26-x-2-10-33-tpi-wire-1c-flancs-renforces-54-559-noir-unitaire' WHERE `virtuemart_product_id` = '1863675'
2023-10-13	13:38:30	4183	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32604_rock_&_roller_26_x_2_10_33_tpi_wire_1c.jpg
2023-10-13	13:38:30	4183	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:30	4183	[DEBUG]	Process image file
2023-10-13	13:38:30	4183	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:30	4183	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:30	4183	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32604_rock_&_roller_26_x_2_10_33_tpi_wire_1c.jpg
2023-10-13	13:38:30	4183	[DEBUG]	Full name target: bcprisme/32604_rock_&_roller_26_x_2_10_33_tpi_wire_1c.jpg
2023-10-13	13:38:31	4183	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:31	4183	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32604_rock_&_roller_26_x_2_10_33_tpi_wire_1c.jpg'
2023-10-13	13:38:31	4183	[DEBUG]	Query for Media
2023-10-13	13:38:31	4183	[DEBUG]	Executed store
2023-10-13	13:38:31	4183	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32604_rock_&_roller_26_x_2_10_33_tpi_wire_1c.jpg',`file_url_thumb`='bcprisme/32604_rock_&_roller_26_x_2_10_33_tpi_wire_1c.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14497'
2023-10-13	13:38:31	4183	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:31	4183	[DEBUG]	Executed store
2023-10-13	13:38:31	4183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863675','14497','1')
2023-10-13	13:38:31	4183	[DEBUG]	Store product image relation
2023-10-13	13:38:31	4183	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:31	4183	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863675 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:31	4183	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:31	4183	[DEBUG]	Executed store
2023-10-13	13:38:31	4183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863675','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:31	4183	[DEBUG]	Checking manufacturer
2023-10-13	13:38:31	4183	[DEBUG]	Load a row
2023-10-13	13:38:31	4183	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:31	4183	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:38:31	4183	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:31	4183	[DEBUG]	Executed store
2023-10-13	13:38:31	4183	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:38:31	4183	[DEBUG]	Manufacturer exists
2023-10-13	13:38:31	4183	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:38:31	4183	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:31	4183	[DEBUG]	Executed store
2023-10-13	13:38:31	4183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863675','32')
2023-10-13	13:38:31	4183	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:31	4183	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:31	4183	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863675 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:31	4183	[DEBUG]	Store custom available field
2023-10-13	13:38:31	4183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863675,3,'',1)
2023-10-13	13:38:31	4183	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:31	4183	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:31	4183	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863675 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:31	4183	[DEBUG]	Store custom available field
2023-10-13	13:38:31	4183	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863675,6,'Unitaire',3)
2023-10-13	13:38:31	4183	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:31	4183	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:31	4183	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863674
2023-10-13	13:38:31	4183	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:31	4183	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863674\":[1863674,8,1,\"choisir la taille\"],\"1863675\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863674
2023-10-13	13:38:31	4183	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:31	4183	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863675
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:31	4184	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field taille
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:31	4184	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:31	4184	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:31	4184	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:31	4184	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:31	4184	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:31	4184	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field published
2023-10-13	13:38:31	4184	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:31	4184	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field override
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:31	4184	[DEBUG]	Use field value for field slug
2023-10-13	13:38:31	4184	[DEBUG]	Process line 4184
2023-10-13	13:38:31	4184	[DEBUG]	Load a row
2023-10-13	13:38:31	4184	[DEBUG]	Processing item: A_7014_1
2023-10-13	13:38:31	4184	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:31	4184	[DEBUG]	Processing product tax
2023-10-13	13:38:31	4184	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:31	4184	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:31	4184	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:31	4184	[DEBUG]	Query for Product
2023-10-13	13:38:31	4184	[DEBUG]	Executed store
2023-10-13	13:38:31	4184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7014_1','0.5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:31	4184	[DEBUG]	Check product language entry
2023-10-13	13:38:31	4184	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863676
2023-10-13	13:38:31	4184	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:31	4184	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7014_1' AND `virtuemart_product_id` != 1863676
2023-10-13	13:38:31	4184	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:31	4184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863676, 'A_7014_1')
2023-10-13	13:38:31	4184	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:31	4184	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-kojak-race-guard-26x1-35-35-584-hs385-noir' AND `virtuemart_product_id` != 1863676
2023-10-13	13:38:31	4184	[DEBUG]	Query for ProductLang
2023-10-13	13:38:31	4184	[DEBUG]	Executed store
2023-10-13	13:38:31	4184	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.03.525',`product_name`='SCHWALBE PNEU Kojak Race Guard 26x1.35 35-584, HS385 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-kojak-race-guard-26x1-35-35-584-hs385-noir' WHERE `virtuemart_product_id` = '1863676'
2023-10-13	13:38:31	4184	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34152_pneu_schwalbe_kojak_race_guard_26x1_35_35-584,_hs385.jpg
2023-10-13	13:38:31	4184	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:38:31	4184	[DEBUG]	Process image file
2023-10-13	13:38:31	4184	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:38:31	4184	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:31	4184	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34152_pneu_schwalbe_kojak_race_guard_26x1_35_35-584,_hs385.jpg
2023-10-13	13:38:31	4184	[DEBUG]	Full name target: bcprisme/34152_pneu_schwalbe_kojak_race_guard_26x1_35_35-584,_hs385.jpg
2023-10-13	13:38:32	4184	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:32	4184	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34152_pneu_schwalbe_kojak_race_guard_26x1_35_35-584,_hs385.jpg'
2023-10-13	13:38:32	4184	[DEBUG]	Query for Media
2023-10-13	13:38:32	4184	[DEBUG]	Executed store
2023-10-13	13:38:32	4184	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34152_pneu_schwalbe_kojak_race_guard_26x1_35_35-584,_hs385.jpg',`file_url_thumb`='bcprisme/34152_pneu_schwalbe_kojak_race_guard_26x1_35_35-584,_hs385.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17624'
2023-10-13	13:38:32	4184	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:32	4184	[DEBUG]	Executed store
2023-10-13	13:38:32	4184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863676','17624','1')
2023-10-13	13:38:32	4184	[DEBUG]	Store product image relation
2023-10-13	13:38:32	4184	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:32	4184	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863676 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:32	4184	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:32	4184	[DEBUG]	Executed store
2023-10-13	13:38:32	4184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863676','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:32	4184	[DEBUG]	Checking manufacturer
2023-10-13	13:38:32	4184	[DEBUG]	Load a row
2023-10-13	13:38:32	4184	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:32	4184	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:32	4184	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:32	4184	[DEBUG]	Executed store
2023-10-13	13:38:32	4184	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:32	4184	[DEBUG]	Manufacturer exists
2023-10-13	13:38:32	4184	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:32	4184	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:32	4184	[DEBUG]	Executed store
2023-10-13	13:38:32	4184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863676','25')
2023-10-13	13:38:32	4184	[DEBUG]	Find the custom field ID
2023-10-13	13:38:32	4184	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:32	4184	[DEBUG]	No custom field ID found
2023-10-13	13:38:32	4184	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:32	4184	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:32	4184	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863676 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:32	4184	[DEBUG]	Store custom available field
2023-10-13	13:38:32	4184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863676,3,'0',1)
2023-10-13	13:38:32	4184	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:32	4184	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:32	4184	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863676 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:32	4184	[DEBUG]	Store custom available field
2023-10-13	13:38:32	4184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863676,6,'choisir la taille',3)
2023-10-13	13:38:32	4184	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:32	4184	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:32	4184	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:32	4184	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:32	4184	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863676 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:32	4184	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:32	4184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863676,8,1)
2023-10-13	13:38:32	4184	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:32	4184	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863676\":[1863676,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863676
2023-10-13	13:38:32	4184	[DEBUG]	Checking category
2023-10-13	13:38:32	4184	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:32	4184	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863676
2023-10-13	13:38:32	4184	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:32	4184	[DEBUG]	Executed store
2023-10-13	13:38:32	4184	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863676','7409')
2023-10-13	13:38:32	4184	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:32	4184	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863676 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:32	4184	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:32	4184	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863676
2023-10-13	13:38:32	4185	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:32	4185	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:32	4185	[DEBUG]	Use field value for field taille
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:32	4185	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:32	4185	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:32	4185	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:32	4185	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:32	4185	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:32	4185	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:32	4185	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:32	4185	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:32	4185	[DEBUG]	Use field value for field published
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:32	4185	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field override
2023-10-13	13:38:32	4185	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:32	4185	[DEBUG]	Use field value for field slug
2023-10-13	13:38:32	4185	[DEBUG]	Process line 4185
2023-10-13	13:38:32	4185	[DEBUG]	Load a row
2023-10-13	13:38:32	4185	[DEBUG]	Processing item: 1000000115628
2023-10-13	13:38:32	4185	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:32	4185	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:32	4185	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7014_1'
2023-10-13	13:38:32	4185	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:32	4185	[DEBUG]	Processing product tax
2023-10-13	13:38:32	4185	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:32	4185	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:32	4185	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:32	4185	[DEBUG]	Query for Product
2023-10-13	13:38:32	4185	[DEBUG]	Executed store
2023-10-13	13:38:32	4185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863676','1000000115628','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:32	4185	[DEBUG]	No parent found
2023-10-13	13:38:32	4185	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863676 AND customfield_value = 'stockable'
2023-10-13	13:38:32	4185	[DEBUG]	Check product language entry
2023-10-13	13:38:32	4185	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863677
2023-10-13	13:38:32	4185	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:32	4185	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000115628' AND `virtuemart_product_id` != 1863677
2023-10-13	13:38:32	4185	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:32	4185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863677, '1000000115628')
2023-10-13	13:38:32	4185	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:32	4185	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-kojak-race-guard-26x1-35-35-584-hs385-noir-unitaire' AND `virtuemart_product_id` != 1863677
2023-10-13	13:38:32	4185	[DEBUG]	Query for ProductLang
2023-10-13	13:38:32	4185	[DEBUG]	Executed store
2023-10-13	13:38:32	4185	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU Kojak Race Guard 26x1.35 35-584, HS385 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-kojak-race-guard-26x1-35-35-584-hs385-noir-unitaire' WHERE `virtuemart_product_id` = '1863677'
2023-10-13	13:38:32	4185	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34152_pneu_schwalbe_kojak_race_guard_26x1_35_35-584,_hs385.jpg
2023-10-13	13:38:32	4185	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:38:32	4185	[DEBUG]	Process image file
2023-10-13	13:38:32	4185	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:38:32	4185	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:32	4185	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34152_pneu_schwalbe_kojak_race_guard_26x1_35_35-584,_hs385.jpg
2023-10-13	13:38:32	4185	[DEBUG]	Full name target: bcprisme/34152_pneu_schwalbe_kojak_race_guard_26x1_35_35-584,_hs385.jpg
2023-10-13	13:38:33	4185	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:33	4185	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34152_pneu_schwalbe_kojak_race_guard_26x1_35_35-584,_hs385.jpg'
2023-10-13	13:38:33	4185	[DEBUG]	Query for Media
2023-10-13	13:38:33	4185	[DEBUG]	Executed store
2023-10-13	13:38:33	4185	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34152_pneu_schwalbe_kojak_race_guard_26x1_35_35-584,_hs385.jpg',`file_url_thumb`='bcprisme/34152_pneu_schwalbe_kojak_race_guard_26x1_35_35-584,_hs385.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17624'
2023-10-13	13:38:33	4185	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:33	4185	[DEBUG]	Executed store
2023-10-13	13:38:33	4185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863677','17624','1')
2023-10-13	13:38:33	4185	[DEBUG]	Store product image relation
2023-10-13	13:38:33	4185	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:33	4185	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863677 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:33	4185	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:33	4185	[DEBUG]	Executed store
2023-10-13	13:38:33	4185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863677','0','41.6898792943361','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:33	4185	[DEBUG]	Checking manufacturer
2023-10-13	13:38:33	4185	[DEBUG]	Load a row
2023-10-13	13:38:33	4185	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:33	4185	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:33	4185	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:33	4185	[DEBUG]	Executed store
2023-10-13	13:38:33	4185	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:33	4185	[DEBUG]	Manufacturer exists
2023-10-13	13:38:33	4185	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:33	4185	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:33	4185	[DEBUG]	Executed store
2023-10-13	13:38:33	4185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863677','25')
2023-10-13	13:38:33	4185	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:33	4185	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:33	4185	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863677 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:33	4185	[DEBUG]	Store custom available field
2023-10-13	13:38:33	4185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863677,3,'',1)
2023-10-13	13:38:33	4185	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:33	4185	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:33	4185	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863677 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:33	4185	[DEBUG]	Store custom available field
2023-10-13	13:38:33	4185	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863677,6,'Unitaire',3)
2023-10-13	13:38:33	4185	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:33	4185	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:33	4185	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863676
2023-10-13	13:38:33	4185	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:33	4185	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863676\":[1863676,8,1,\"choisir la taille\"],\"1863677\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863676
2023-10-13	13:38:33	4185	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:33	4185	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863677
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:33	4186	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field taille
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:33	4186	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:33	4186	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:33	4186	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:33	4186	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:33	4186	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:33	4186	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field published
2023-10-13	13:38:33	4186	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:33	4186	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field override
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:33	4186	[DEBUG]	Use field value for field slug
2023-10-13	13:38:33	4186	[DEBUG]	Process line 4186
2023-10-13	13:38:33	4186	[DEBUG]	Load a row
2023-10-13	13:38:33	4186	[DEBUG]	Processing item: A_7080_1
2023-10-13	13:38:33	4186	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:33	4186	[DEBUG]	Processing product tax
2023-10-13	13:38:33	4186	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:33	4186	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:33	4186	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:33	4186	[DEBUG]	Query for Product
2023-10-13	13:38:33	4186	[DEBUG]	Executed store
2023-10-13	13:38:33	4186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7080_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:33	4186	[DEBUG]	Check product language entry
2023-10-13	13:38:33	4186	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863678
2023-10-13	13:38:33	4186	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:33	4186	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7080_1' AND `virtuemart_product_id` != 1863678
2023-10-13	13:38:33	4186	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:33	4186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863678, 'A_7080_1')
2023-10-13	13:38:33	4186	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:33	4186	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-racing-ralph-liteskin-26x2-10-noir' AND `virtuemart_product_id` != 1863678
2023-10-13	13:38:33	4186	[DEBUG]	Query for ProductLang
2023-10-13	13:38:33	4186	[DEBUG]	Executed store
2023-10-13	13:38:33	4186	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.289',`product_name`='SCHWALBE Pneu Racing Ralph LiteSkin 26x2.10 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-racing-ralph-liteskin-26x2-10-noir' WHERE `virtuemart_product_id` = '1863678'
2023-10-13	13:38:33	4186	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34234_pneu_racing_ralph_liteskin_26x2_10.jpg
2023-10-13	13:38:33	4186	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:33	4186	[DEBUG]	Process image file
2023-10-13	13:38:33	4186	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:33	4186	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:33	4186	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34234_pneu_racing_ralph_liteskin_26x2_10.jpg
2023-10-13	13:38:33	4186	[DEBUG]	Full name target: bcprisme/34234_pneu_racing_ralph_liteskin_26x2_10.jpg
2023-10-13	13:38:34	4186	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:34	4186	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34234_pneu_racing_ralph_liteskin_26x2_10.jpg'
2023-10-13	13:38:34	4186	[DEBUG]	Query for Media
2023-10-13	13:38:34	4186	[DEBUG]	Executed store
2023-10-13	13:38:34	4186	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34234_pneu_racing_ralph_liteskin_26x2_10.jpg',`file_url_thumb`='bcprisme/34234_pneu_racing_ralph_liteskin_26x2_10.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438273'
2023-10-13	13:38:34	4186	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:34	4186	[DEBUG]	Executed store
2023-10-13	13:38:34	4186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863678','438273','1')
2023-10-13	13:38:34	4186	[DEBUG]	Store product image relation
2023-10-13	13:38:34	4186	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:34	4186	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863678 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:34	4186	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:34	4186	[DEBUG]	Executed store
2023-10-13	13:38:34	4186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863678','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:34	4186	[DEBUG]	Checking manufacturer
2023-10-13	13:38:34	4186	[DEBUG]	Load a row
2023-10-13	13:38:34	4186	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:34	4186	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:34	4186	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:34	4186	[DEBUG]	Executed store
2023-10-13	13:38:34	4186	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:34	4186	[DEBUG]	Manufacturer exists
2023-10-13	13:38:34	4186	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:34	4186	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:34	4186	[DEBUG]	Executed store
2023-10-13	13:38:34	4186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863678','25')
2023-10-13	13:38:34	4186	[DEBUG]	Find the custom field ID
2023-10-13	13:38:34	4186	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:34	4186	[DEBUG]	No custom field ID found
2023-10-13	13:38:34	4186	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:34	4186	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:34	4186	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863678 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:34	4186	[DEBUG]	Store custom available field
2023-10-13	13:38:34	4186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863678,3,'0',1)
2023-10-13	13:38:34	4186	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:34	4186	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:34	4186	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863678 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:34	4186	[DEBUG]	Store custom available field
2023-10-13	13:38:34	4186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863678,6,'choisir la taille',3)
2023-10-13	13:38:34	4186	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:34	4186	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:34	4186	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:34	4186	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:34	4186	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863678 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:34	4186	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:34	4186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863678,8,1)
2023-10-13	13:38:34	4186	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:34	4186	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863678\":[1863678,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863678
2023-10-13	13:38:34	4186	[DEBUG]	Checking category
2023-10-13	13:38:34	4186	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:34	4186	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863678
2023-10-13	13:38:34	4186	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:34	4186	[DEBUG]	Executed store
2023-10-13	13:38:34	4186	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863678','7409')
2023-10-13	13:38:34	4186	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:34	4186	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863678 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:34	4186	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:34	4186	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863678
2023-10-13	13:38:34	4187	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:34	4187	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:34	4187	[DEBUG]	Use field value for field taille
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:34	4187	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:34	4187	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:34	4187	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:34	4187	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:34	4187	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:34	4187	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:34	4187	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:34	4187	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:34	4187	[DEBUG]	Use field value for field published
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:34	4187	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field override
2023-10-13	13:38:34	4187	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:34	4187	[DEBUG]	Use field value for field slug
2023-10-13	13:38:34	4187	[DEBUG]	Process line 4187
2023-10-13	13:38:34	4187	[DEBUG]	Load a row
2023-10-13	13:38:34	4187	[DEBUG]	Processing item: 4026495746816
2023-10-13	13:38:34	4187	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:34	4187	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:34	4187	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7080_1'
2023-10-13	13:38:34	4187	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:34	4187	[DEBUG]	Processing product tax
2023-10-13	13:38:34	4187	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:34	4187	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:34	4187	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:34	4187	[DEBUG]	Query for Product
2023-10-13	13:38:34	4187	[DEBUG]	Executed store
2023-10-13	13:38:34	4187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863678','4026495746816','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:34	4187	[DEBUG]	No parent found
2023-10-13	13:38:34	4187	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863678 AND customfield_value = 'stockable'
2023-10-13	13:38:34	4187	[DEBUG]	Check product language entry
2023-10-13	13:38:34	4187	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863679
2023-10-13	13:38:34	4187	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:34	4187	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495746816' AND `virtuemart_product_id` != 1863679
2023-10-13	13:38:34	4187	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:34	4187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863679, '4026495746816')
2023-10-13	13:38:34	4187	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:34	4187	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-racing-ralph-liteskin-26x2-10-noir-unitaire' AND `virtuemart_product_id` != 1863679
2023-10-13	13:38:34	4187	[DEBUG]	Query for ProductLang
2023-10-13	13:38:34	4187	[DEBUG]	Executed store
2023-10-13	13:38:34	4187	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Racing Ralph LiteSkin 26x2.10 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-racing-ralph-liteskin-26x2-10-noir-unitaire' WHERE `virtuemart_product_id` = '1863679'
2023-10-13	13:38:34	4187	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34234_pneu_racing_ralph_liteskin_26x2_10.jpg
2023-10-13	13:38:34	4187	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:34	4187	[DEBUG]	Process image file
2023-10-13	13:38:34	4187	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:38:34	4187	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:34	4187	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34234_pneu_racing_ralph_liteskin_26x2_10.jpg
2023-10-13	13:38:34	4187	[DEBUG]	Full name target: bcprisme/34234_pneu_racing_ralph_liteskin_26x2_10.jpg
2023-10-13	13:38:36	4187	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:36	4187	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34234_pneu_racing_ralph_liteskin_26x2_10.jpg'
2023-10-13	13:38:36	4187	[DEBUG]	Query for Media
2023-10-13	13:38:36	4187	[DEBUG]	Executed store
2023-10-13	13:38:36	4187	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34234_pneu_racing_ralph_liteskin_26x2_10.jpg',`file_url_thumb`='bcprisme/34234_pneu_racing_ralph_liteskin_26x2_10.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438273'
2023-10-13	13:38:36	4187	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:36	4187	[DEBUG]	Executed store
2023-10-13	13:38:36	4187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863679','438273','1')
2023-10-13	13:38:36	4187	[DEBUG]	Store product image relation
2023-10-13	13:38:36	4187	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:36	4187	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863679 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:36	4187	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:36	4187	[DEBUG]	Executed store
2023-10-13	13:38:36	4187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863679','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:36	4187	[DEBUG]	Checking manufacturer
2023-10-13	13:38:36	4187	[DEBUG]	Load a row
2023-10-13	13:38:36	4187	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:36	4187	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:36	4187	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:36	4187	[DEBUG]	Executed store
2023-10-13	13:38:36	4187	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:36	4187	[DEBUG]	Manufacturer exists
2023-10-13	13:38:36	4187	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:36	4187	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:36	4187	[DEBUG]	Executed store
2023-10-13	13:38:36	4187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863679','25')
2023-10-13	13:38:36	4187	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:36	4187	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:36	4187	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863679 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:36	4187	[DEBUG]	Store custom available field
2023-10-13	13:38:36	4187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863679,3,'',1)
2023-10-13	13:38:36	4187	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:36	4187	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:36	4187	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863679 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:36	4187	[DEBUG]	Store custom available field
2023-10-13	13:38:36	4187	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863679,6,'Unitaire',3)
2023-10-13	13:38:36	4187	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:36	4187	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:36	4187	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863678
2023-10-13	13:38:36	4187	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:36	4187	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863678\":[1863678,8,1,\"choisir la taille\"],\"1863679\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863678
2023-10-13	13:38:36	4187	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:36	4187	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863679
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:36	4188	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field taille
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:36	4188	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:36	4188	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:36	4188	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:36	4188	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:36	4188	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:36	4188	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field published
2023-10-13	13:38:36	4188	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:36	4188	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field override
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:36	4188	[DEBUG]	Use field value for field slug
2023-10-13	13:38:36	4188	[DEBUG]	Process line 4188
2023-10-13	13:38:36	4188	[DEBUG]	Load a row
2023-10-13	13:38:36	4188	[DEBUG]	Processing item: A_7472_1
2023-10-13	13:38:36	4188	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:36	4188	[DEBUG]	Processing product tax
2023-10-13	13:38:36	4188	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:36	4188	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:36	4188	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:36	4188	[DEBUG]	Query for Product
2023-10-13	13:38:36	4188	[DEBUG]	Executed store
2023-10-13	13:38:36	4188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7472_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:36	4188	[DEBUG]	Check product language entry
2023-10-13	13:38:36	4188	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863680
2023-10-13	13:38:36	4188	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:36	4188	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7472_1' AND `virtuemart_product_id` != 1863680
2023-10-13	13:38:36	4188	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:36	4188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863680, 'A_7472_1')
2023-10-13	13:38:36	4188	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:36	4188	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-nobby-nic-26x2-10-noir-pliable-noir' AND `virtuemart_product_id` != 1863680
2023-10-13	13:38:36	4188	[DEBUG]	Query for ProductLang
2023-10-13	13:38:36	4188	[DEBUG]	Executed store
2023-10-13	13:38:36	4188	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.287',`product_name`='SCHWALBE PNEU NOBBY NIC 26X2.10 NOIR PLIABLE / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-nobby-nic-26x2-10-noir-pliable-noir' WHERE `virtuemart_product_id` = '1863680'
2023-10-13	13:38:36	4188	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34819_pneu_schwalbe_nobby_nic_26x2_10_noir_pliable.png
2023-10-13	13:38:36	4188	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:36	4188	[DEBUG]	Process image file
2023-10-13	13:38:36	4188	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:36	4188	[DEBUG]	Mime type found: image/png
2023-10-13	13:38:36	4188	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34819_pneu_schwalbe_nobby_nic_26x2_10_noir_pliable.png
2023-10-13	13:38:36	4188	[DEBUG]	Full name target: bcprisme/34819_pneu_schwalbe_nobby_nic_26x2_10_noir_pliable.png
2023-10-13	13:38:37	4188	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:37	4188	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34819_pneu_schwalbe_nobby_nic_26x2_10_noir_pliable.png'
2023-10-13	13:38:37	4188	[DEBUG]	Query for Media
2023-10-13	13:38:37	4188	[DEBUG]	Executed store
2023-10-13	13:38:37	4188	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34819_pneu_schwalbe_nobby_nic_26x2_10_noir_pliable.png',`file_url_thumb`='bcprisme/34819_pneu_schwalbe_nobby_nic_26x2_10_noir_pliable.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '216767'
2023-10-13	13:38:37	4188	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:37	4188	[DEBUG]	Executed store
2023-10-13	13:38:37	4188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863680','216767','1')
2023-10-13	13:38:37	4188	[DEBUG]	Store product image relation
2023-10-13	13:38:37	4188	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:37	4188	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863680 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:37	4188	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:37	4188	[DEBUG]	Executed store
2023-10-13	13:38:37	4188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863680','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:37	4188	[DEBUG]	Checking manufacturer
2023-10-13	13:38:37	4188	[DEBUG]	Load a row
2023-10-13	13:38:37	4188	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:37	4188	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:37	4188	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:37	4188	[DEBUG]	Executed store
2023-10-13	13:38:37	4188	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:37	4188	[DEBUG]	Manufacturer exists
2023-10-13	13:38:37	4188	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:37	4188	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:37	4188	[DEBUG]	Executed store
2023-10-13	13:38:37	4188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863680','25')
2023-10-13	13:38:37	4188	[DEBUG]	Find the custom field ID
2023-10-13	13:38:37	4188	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:37	4188	[DEBUG]	No custom field ID found
2023-10-13	13:38:37	4188	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:37	4188	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:37	4188	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863680 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:37	4188	[DEBUG]	Store custom available field
2023-10-13	13:38:37	4188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863680,3,'0',1)
2023-10-13	13:38:37	4188	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:37	4188	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:37	4188	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863680 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:37	4188	[DEBUG]	Store custom available field
2023-10-13	13:38:37	4188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863680,6,'choisir la taille',3)
2023-10-13	13:38:37	4188	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:37	4188	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:37	4188	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:37	4188	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:37	4188	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863680 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:37	4188	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:37	4188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863680,8,1)
2023-10-13	13:38:37	4188	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:37	4188	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863680\":[1863680,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863680
2023-10-13	13:38:37	4188	[DEBUG]	Checking category
2023-10-13	13:38:37	4188	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:37	4188	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863680
2023-10-13	13:38:37	4188	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:37	4188	[DEBUG]	Executed store
2023-10-13	13:38:37	4188	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863680','7409')
2023-10-13	13:38:37	4188	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:37	4188	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863680 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:37	4188	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:37	4188	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863680
2023-10-13	13:38:37	4189	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:37	4189	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:37	4189	[DEBUG]	Use field value for field taille
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:37	4189	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:37	4189	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:37	4189	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:37	4189	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:37	4189	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:37	4189	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:37	4189	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:37	4189	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:37	4189	[DEBUG]	Use field value for field published
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:37	4189	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field override
2023-10-13	13:38:37	4189	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:37	4189	[DEBUG]	Use field value for field slug
2023-10-13	13:38:37	4189	[DEBUG]	Process line 4189
2023-10-13	13:38:37	4189	[DEBUG]	Load a row
2023-10-13	13:38:37	4189	[DEBUG]	Processing item: 4026495742450
2023-10-13	13:38:37	4189	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:37	4189	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:37	4189	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7472_1'
2023-10-13	13:38:37	4189	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:37	4189	[DEBUG]	Processing product tax
2023-10-13	13:38:37	4189	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:37	4189	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:37	4189	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:37	4189	[DEBUG]	Query for Product
2023-10-13	13:38:37	4189	[DEBUG]	Executed store
2023-10-13	13:38:37	4189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863680','4026495742450','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:37	4189	[DEBUG]	No parent found
2023-10-13	13:38:37	4189	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863680 AND customfield_value = 'stockable'
2023-10-13	13:38:37	4189	[DEBUG]	Check product language entry
2023-10-13	13:38:37	4189	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863681
2023-10-13	13:38:37	4189	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:37	4189	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495742450' AND `virtuemart_product_id` != 1863681
2023-10-13	13:38:37	4189	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:37	4189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863681, '4026495742450')
2023-10-13	13:38:37	4189	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:37	4189	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-nobby-nic-26x2-10-noir-pliable-noir-unitaire' AND `virtuemart_product_id` != 1863681
2023-10-13	13:38:37	4189	[DEBUG]	Query for ProductLang
2023-10-13	13:38:37	4189	[DEBUG]	Executed store
2023-10-13	13:38:37	4189	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU NOBBY NIC 26X2.10 NOIR PLIABLE / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-nobby-nic-26x2-10-noir-pliable-noir-unitaire' WHERE `virtuemart_product_id` = '1863681'
2023-10-13	13:38:37	4189	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34819_pneu_schwalbe_nobby_nic_26x2_10_noir_pliable.png
2023-10-13	13:38:37	4189	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:37	4189	[DEBUG]	Process image file
2023-10-13	13:38:37	4189	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:38:37	4189	[DEBUG]	Mime type found: image/png
2023-10-13	13:38:37	4189	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34819_pneu_schwalbe_nobby_nic_26x2_10_noir_pliable.png
2023-10-13	13:38:37	4189	[DEBUG]	Full name target: bcprisme/34819_pneu_schwalbe_nobby_nic_26x2_10_noir_pliable.png
2023-10-13	13:38:38	4189	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:38	4189	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34819_pneu_schwalbe_nobby_nic_26x2_10_noir_pliable.png'
2023-10-13	13:38:38	4189	[DEBUG]	Query for Media
2023-10-13	13:38:38	4189	[DEBUG]	Executed store
2023-10-13	13:38:38	4189	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34819_pneu_schwalbe_nobby_nic_26x2_10_noir_pliable.png',`file_url_thumb`='bcprisme/34819_pneu_schwalbe_nobby_nic_26x2_10_noir_pliable.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '216767'
2023-10-13	13:38:38	4189	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:38	4189	[DEBUG]	Executed store
2023-10-13	13:38:38	4189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863681','216767','1')
2023-10-13	13:38:38	4189	[DEBUG]	Store product image relation
2023-10-13	13:38:38	4189	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:38	4189	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863681 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:38	4189	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:38	4189	[DEBUG]	Executed store
2023-10-13	13:38:38	4189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863681','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:38	4189	[DEBUG]	Checking manufacturer
2023-10-13	13:38:38	4189	[DEBUG]	Load a row
2023-10-13	13:38:38	4189	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:38	4189	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:38	4189	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:38	4189	[DEBUG]	Executed store
2023-10-13	13:38:38	4189	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:38	4189	[DEBUG]	Manufacturer exists
2023-10-13	13:38:38	4189	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:38	4189	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:38	4189	[DEBUG]	Executed store
2023-10-13	13:38:38	4189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863681','25')
2023-10-13	13:38:38	4189	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:38	4189	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:38	4189	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863681 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:38	4189	[DEBUG]	Store custom available field
2023-10-13	13:38:38	4189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863681,3,'',1)
2023-10-13	13:38:38	4189	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:38	4189	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:38	4189	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863681 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:38	4189	[DEBUG]	Store custom available field
2023-10-13	13:38:38	4189	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863681,6,'Unitaire',3)
2023-10-13	13:38:38	4189	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:38	4189	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:38	4189	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863680
2023-10-13	13:38:38	4189	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:38	4189	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863680\":[1863680,8,1,\"choisir la taille\"],\"1863681\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863680
2023-10-13	13:38:38	4189	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:38	4189	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863681
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:38	4190	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field taille
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:38	4190	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:38	4190	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:38	4190	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:38	4190	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:38	4190	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:38	4190	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:38	4190	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field published
2023-10-13	13:38:38	4190	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:38	4190	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field override
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:38	4190	[DEBUG]	Use field value for field slug
2023-10-13	13:38:38	4190	[DEBUG]	Process line 4190
2023-10-13	13:38:38	4190	[DEBUG]	Load a row
2023-10-13	13:38:38	4190	[DEBUG]	Processing item: A_8109_1
2023-10-13	13:38:38	4190	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:38	4190	[DEBUG]	Processing product tax
2023-10-13	13:38:38	4190	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:38	4190	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:38	4190	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:38	4190	[DEBUG]	Query for Product
2023-10-13	13:38:38	4190	[DEBUG]	Executed store
2023-10-13	13:38:38	4190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8109_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:38	4190	[DEBUG]	Check product language entry
2023-10-13	13:38:38	4190	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863682
2023-10-13	13:38:38	4190	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:38	4190	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8109_1' AND `virtuemart_product_id` != 1863682
2023-10-13	13:38:38	4190	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:38	4190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863682, 'A_8109_1')
2023-10-13	13:38:38	4190	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:38	4190	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'energizer-pneu-26x1-75-hs492-tringle-rigide-875g-noir' AND `virtuemart_product_id` != 1863682
2023-10-13	13:38:38	4190	[DEBUG]	Query for ProductLang
2023-10-13	13:38:38	4190	[DEBUG]	Executed store
2023-10-13	13:38:38	4190	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 21.411.142',`product_name`='Energizer PNEU 26x1,75 HS492 tringle rigide 875g  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='energizer-pneu-26x1-75-hs492-tringle-rigide-875g-noir' WHERE `virtuemart_product_id` = '1863682'
2023-10-13	13:38:38	4190	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36635_pneu_26x1,75_hs492_tringle_rigide_875g_.jpg
2023-10-13	13:38:38	4190	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:38:38	4190	[DEBUG]	Process image file
2023-10-13	13:38:38	4190	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:38:38	4190	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:38	4190	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36635_pneu_26x1,75_hs492_tringle_rigide_875g_.jpg
2023-10-13	13:38:38	4190	[DEBUG]	Full name target: bcprisme/36635_pneu_26x1,75_hs492_tringle_rigide_875g_.jpg
2023-10-13	13:38:39	4190	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:39	4190	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36635_pneu_26x1,75_hs492_tringle_rigide_875g_.jpg'
2023-10-13	13:38:39	4190	[DEBUG]	Query for Media
2023-10-13	13:38:39	4190	[DEBUG]	Executed store
2023-10-13	13:38:39	4190	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36635_pneu_26x1,75_hs492_tringle_rigide_875g_.jpg',`file_url_thumb`='bcprisme/36635_pneu_26x1,75_hs492_tringle_rigide_875g_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '680163'
2023-10-13	13:38:39	4190	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:39	4190	[DEBUG]	Executed store
2023-10-13	13:38:39	4190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863682','680163','1')
2023-10-13	13:38:39	4190	[DEBUG]	Store product image relation
2023-10-13	13:38:39	4190	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:39	4190	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863682 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:39	4190	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:39	4190	[DEBUG]	Executed store
2023-10-13	13:38:39	4190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863682','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:39	4190	[DEBUG]	Checking manufacturer
2023-10-13	13:38:39	4190	[DEBUG]	Load a row
2023-10-13	13:38:39	4190	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:39	4190	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '256'
2023-10-13	13:38:39	4190	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:39	4190	[DEBUG]	Executed store
2023-10-13	13:38:39	4190	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='58',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='58' WHERE `virtuemart_manufacturer_id` = '256'
2023-10-13	13:38:39	4190	[DEBUG]	Manufacturer exists
2023-10-13	13:38:39	4190	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 256
2023-10-13	13:38:39	4190	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:39	4190	[DEBUG]	Executed store
2023-10-13	13:38:39	4190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863682','256')
2023-10-13	13:38:39	4190	[DEBUG]	Find the custom field ID
2023-10-13	13:38:39	4190	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:39	4190	[DEBUG]	No custom field ID found
2023-10-13	13:38:39	4190	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:39	4190	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:39	4190	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863682 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:39	4190	[DEBUG]	Store custom available field
2023-10-13	13:38:39	4190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863682,3,'0',1)
2023-10-13	13:38:39	4190	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:39	4190	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:39	4190	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863682 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:39	4190	[DEBUG]	Store custom available field
2023-10-13	13:38:39	4190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863682,6,'choisir la taille',3)
2023-10-13	13:38:39	4190	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:39	4190	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:39	4190	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:39	4190	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:39	4190	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863682 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:39	4190	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:39	4190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863682,8,1)
2023-10-13	13:38:39	4190	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:39	4190	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863682\":[1863682,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863682
2023-10-13	13:38:39	4190	[DEBUG]	Checking category
2023-10-13	13:38:39	4190	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:39	4190	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863682
2023-10-13	13:38:39	4190	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:39	4190	[DEBUG]	Executed store
2023-10-13	13:38:39	4190	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863682','7409')
2023-10-13	13:38:39	4190	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:39	4190	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863682 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:39	4190	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:39	4190	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863682
2023-10-13	13:38:39	4191	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:39	4191	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:39	4191	[DEBUG]	Use field value for field taille
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:39	4191	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:39	4191	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:39	4191	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:39	4191	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:39	4191	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:39	4191	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:39	4191	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:39	4191	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:39	4191	[DEBUG]	Use field value for field published
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:39	4191	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field override
2023-10-13	13:38:39	4191	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:39	4191	[DEBUG]	Use field value for field slug
2023-10-13	13:38:39	4191	[DEBUG]	Process line 4191
2023-10-13	13:38:39	4191	[DEBUG]	Load a row
2023-10-13	13:38:39	4191	[DEBUG]	Processing item: 4026495843539
2023-10-13	13:38:39	4191	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:39	4191	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:39	4191	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8109_1'
2023-10-13	13:38:39	4191	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:39	4191	[DEBUG]	Processing product tax
2023-10-13	13:38:39	4191	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:39	4191	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:39	4191	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:39	4191	[DEBUG]	Query for Product
2023-10-13	13:38:39	4191	[DEBUG]	Executed store
2023-10-13	13:38:39	4191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863682','4026495843539','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:39	4191	[DEBUG]	No parent found
2023-10-13	13:38:39	4191	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863682 AND customfield_value = 'stockable'
2023-10-13	13:38:39	4191	[DEBUG]	Check product language entry
2023-10-13	13:38:39	4191	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863683
2023-10-13	13:38:39	4191	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:39	4191	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495843539' AND `virtuemart_product_id` != 1863683
2023-10-13	13:38:39	4191	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:39	4191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863683, '4026495843539')
2023-10-13	13:38:39	4191	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:39	4191	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'energizer-pneu-26x1-75-hs492-tringle-rigide-875g-noir-unitaire' AND `virtuemart_product_id` != 1863683
2023-10-13	13:38:39	4191	[DEBUG]	Query for ProductLang
2023-10-13	13:38:39	4191	[DEBUG]	Executed store
2023-10-13	13:38:39	4191	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Energizer PNEU 26x1,75 HS492 tringle rigide 875g  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='energizer-pneu-26x1-75-hs492-tringle-rigide-875g-noir-unitaire' WHERE `virtuemart_product_id` = '1863683'
2023-10-13	13:38:39	4191	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36635_pneu_26x1,75_hs492_tringle_rigide_875g_.jpg
2023-10-13	13:38:39	4191	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:38:39	4191	[DEBUG]	Process image file
2023-10-13	13:38:39	4191	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:38:39	4191	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:39	4191	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36635_pneu_26x1,75_hs492_tringle_rigide_875g_.jpg
2023-10-13	13:38:39	4191	[DEBUG]	Full name target: bcprisme/36635_pneu_26x1,75_hs492_tringle_rigide_875g_.jpg
2023-10-13	13:38:40	4191	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:40	4191	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36635_pneu_26x1,75_hs492_tringle_rigide_875g_.jpg'
2023-10-13	13:38:40	4191	[DEBUG]	Query for Media
2023-10-13	13:38:40	4191	[DEBUG]	Executed store
2023-10-13	13:38:40	4191	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36635_pneu_26x1,75_hs492_tringle_rigide_875g_.jpg',`file_url_thumb`='bcprisme/36635_pneu_26x1,75_hs492_tringle_rigide_875g_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '680163'
2023-10-13	13:38:40	4191	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:40	4191	[DEBUG]	Executed store
2023-10-13	13:38:40	4191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863683','680163','1')
2023-10-13	13:38:40	4191	[DEBUG]	Store product image relation
2023-10-13	13:38:40	4191	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:40	4191	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863683 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:40	4191	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:40	4191	[DEBUG]	Executed store
2023-10-13	13:38:40	4191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863683','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:40	4191	[DEBUG]	Checking manufacturer
2023-10-13	13:38:40	4191	[DEBUG]	Load a row
2023-10-13	13:38:40	4191	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:40	4191	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '256'
2023-10-13	13:38:40	4191	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:40	4191	[DEBUG]	Executed store
2023-10-13	13:38:40	4191	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='58',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='58' WHERE `virtuemart_manufacturer_id` = '256'
2023-10-13	13:38:40	4191	[DEBUG]	Manufacturer exists
2023-10-13	13:38:40	4191	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 256
2023-10-13	13:38:40	4191	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:40	4191	[DEBUG]	Executed store
2023-10-13	13:38:40	4191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863683','256')
2023-10-13	13:38:40	4191	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:40	4191	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:40	4191	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863683 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:40	4191	[DEBUG]	Store custom available field
2023-10-13	13:38:40	4191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863683,3,'',1)
2023-10-13	13:38:40	4191	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:40	4191	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:40	4191	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863683 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:40	4191	[DEBUG]	Store custom available field
2023-10-13	13:38:40	4191	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863683,6,'Unitaire',3)
2023-10-13	13:38:40	4191	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:40	4191	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:40	4191	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863682
2023-10-13	13:38:40	4191	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:40	4191	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863682\":[1863682,8,1,\"choisir la taille\"],\"1863683\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863682
2023-10-13	13:38:40	4191	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:40	4191	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863683
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:40	4192	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field taille
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:40	4192	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:40	4192	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:40	4192	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:40	4192	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:40	4192	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:40	4192	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field published
2023-10-13	13:38:40	4192	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:40	4192	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field override
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:40	4192	[DEBUG]	Use field value for field slug
2023-10-13	13:38:40	4192	[DEBUG]	Process line 4192
2023-10-13	13:38:40	4192	[DEBUG]	Load a row
2023-10-13	13:38:40	4192	[DEBUG]	Processing item: A_8357_84
2023-10-13	13:38:40	4192	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:40	4192	[DEBUG]	Processing product tax
2023-10-13	13:38:40	4192	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:40	4192	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:40	4192	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:40	4192	[DEBUG]	Query for Product
2023-10-13	13:38:40	4192	[DEBUG]	Executed store
2023-10-13	13:38:40	4192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8357_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:40	4192	[DEBUG]	Check product language entry
2023-10-13	13:38:40	4192	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863684
2023-10-13	13:38:40	4192	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:40	4192	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8357_84' AND `virtuemart_product_id` != 1863684
2023-10-13	13:38:40	4192	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:40	4192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863684, 'A_8357_84')
2023-10-13	13:38:40	4192	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:40	4192	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-plus-26x1-35-rigide-avec-bande-reflechissante-black-black' AND `virtuemart_product_id` != 1863684
2023-10-13	13:38:40	4192	[DEBUG]	Query for ProductLang
2023-10-13	13:38:40	4192	[DEBUG]	Executed store
2023-10-13	13:38:40	4192	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.59566',`product_name`='SCHWALBE Pneu Marathon Plus 26x1.35 rigide avec bande réfléchissante black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-plus-26x1-35-rigide-avec-bande-reflechissante-black-black' WHERE `virtuemart_product_id` = '1863684'
2023-10-13	13:38:40	4192	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_59571_001_jpg.jpg
2023-10-13	13:38:40	4192	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:40	4192	[DEBUG]	Process image file
2023-10-13	13:38:40	4192	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:40	4192	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:40	4192	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_59571_001_jpg.jpg
2023-10-13	13:38:40	4192	[DEBUG]	Full name target: bcprisme/24_59571_001_jpg.jpg
2023-10-13	13:38:41	4192	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:41	4192	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_59571_001_jpg.jpg'
2023-10-13	13:38:41	4192	[DEBUG]	Query for Media
2023-10-13	13:38:41	4192	[DEBUG]	Executed store
2023-10-13	13:38:41	4192	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_59571_001_jpg.jpg',`file_url_thumb`='bcprisme/24_59571_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '801636'
2023-10-13	13:38:41	4192	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:41	4192	[DEBUG]	Executed store
2023-10-13	13:38:41	4192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863684','801636','1')
2023-10-13	13:38:41	4192	[DEBUG]	Store product image relation
2023-10-13	13:38:41	4192	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:41	4192	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863684 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:41	4192	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:41	4192	[DEBUG]	Executed store
2023-10-13	13:38:41	4192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863684','0','44.4753946146704','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:41	4192	[DEBUG]	Checking manufacturer
2023-10-13	13:38:41	4192	[DEBUG]	Load a row
2023-10-13	13:38:41	4192	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:41	4192	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:41	4192	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:41	4192	[DEBUG]	Executed store
2023-10-13	13:38:41	4192	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:41	4192	[DEBUG]	Manufacturer exists
2023-10-13	13:38:41	4192	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:38:41	4192	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:41	4192	[DEBUG]	Executed store
2023-10-13	13:38:41	4192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863684','24')
2023-10-13	13:38:41	4192	[DEBUG]	Find the custom field ID
2023-10-13	13:38:41	4192	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:41	4192	[DEBUG]	No custom field ID found
2023-10-13	13:38:41	4192	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:41	4192	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:41	4192	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863684 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:41	4192	[DEBUG]	Store custom available field
2023-10-13	13:38:41	4192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863684,3,'0',1)
2023-10-13	13:38:41	4192	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:41	4192	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:41	4192	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863684 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:41	4192	[DEBUG]	Store custom available field
2023-10-13	13:38:41	4192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863684,6,'choisir la taille',3)
2023-10-13	13:38:41	4192	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:41	4192	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:41	4192	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:41	4192	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:41	4192	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863684 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:41	4192	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:41	4192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863684,8,1)
2023-10-13	13:38:41	4192	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:41	4192	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863684\":[1863684,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863684
2023-10-13	13:38:41	4192	[DEBUG]	Checking category
2023-10-13	13:38:41	4192	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:41	4192	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863684
2023-10-13	13:38:41	4192	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:41	4192	[DEBUG]	Executed store
2023-10-13	13:38:41	4192	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863684','7409')
2023-10-13	13:38:41	4192	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:41	4192	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863684 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:41	4192	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:41	4192	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863684
2023-10-13	13:38:41	4193	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:41	4193	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:41	4193	[DEBUG]	Use field value for field taille
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:41	4193	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:41	4193	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:41	4193	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:41	4193	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:41	4193	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:41	4193	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:41	4193	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:41	4193	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:41	4193	[DEBUG]	Use field value for field published
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:41	4193	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field override
2023-10-13	13:38:41	4193	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:41	4193	[DEBUG]	Use field value for field slug
2023-10-13	13:38:41	4193	[DEBUG]	Process line 4193
2023-10-13	13:38:41	4193	[DEBUG]	Load a row
2023-10-13	13:38:41	4193	[DEBUG]	Processing item: 4026495720304
2023-10-13	13:38:41	4193	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:41	4193	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:41	4193	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8357_84'
2023-10-13	13:38:41	4193	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:41	4193	[DEBUG]	Processing product tax
2023-10-13	13:38:41	4193	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:41	4193	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:41	4193	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:41	4193	[DEBUG]	Query for Product
2023-10-13	13:38:41	4193	[DEBUG]	Executed store
2023-10-13	13:38:41	4193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863684','4026495720304','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:41	4193	[DEBUG]	No parent found
2023-10-13	13:38:41	4193	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863684 AND customfield_value = 'stockable'
2023-10-13	13:38:41	4193	[DEBUG]	Check product language entry
2023-10-13	13:38:41	4193	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863685
2023-10-13	13:38:41	4193	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:41	4193	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495720304' AND `virtuemart_product_id` != 1863685
2023-10-13	13:38:41	4193	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:41	4193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863685, '4026495720304')
2023-10-13	13:38:41	4193	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:41	4193	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-plus-26x1-35-rigide-avec-bande-reflechissante-black-black-unitaire' AND `virtuemart_product_id` != 1863685
2023-10-13	13:38:41	4193	[DEBUG]	Query for ProductLang
2023-10-13	13:38:41	4193	[DEBUG]	Executed store
2023-10-13	13:38:41	4193	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Marathon Plus 26x1.35 rigide avec bande réfléchissante black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-plus-26x1-35-rigide-avec-bande-reflechissante-black-black-unitaire' WHERE `virtuemart_product_id` = '1863685'
2023-10-13	13:38:41	4193	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_59571_001_jpg.jpg
2023-10-13	13:38:41	4193	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:41	4193	[DEBUG]	Process image file
2023-10-13	13:38:41	4193	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:41	4193	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:41	4193	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_59571_001_jpg.jpg
2023-10-13	13:38:41	4193	[DEBUG]	Full name target: bcprisme/24_59571_001_jpg.jpg
2023-10-13	13:38:42	4193	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:42	4193	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_59571_001_jpg.jpg'
2023-10-13	13:38:42	4193	[DEBUG]	Query for Media
2023-10-13	13:38:42	4193	[DEBUG]	Executed store
2023-10-13	13:38:42	4193	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_59571_001_jpg.jpg',`file_url_thumb`='bcprisme/24_59571_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '801636'
2023-10-13	13:38:42	4193	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:42	4193	[DEBUG]	Executed store
2023-10-13	13:38:42	4193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863685','801636','1')
2023-10-13	13:38:42	4193	[DEBUG]	Store product image relation
2023-10-13	13:38:42	4193	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:42	4193	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863685 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:42	4193	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:42	4193	[DEBUG]	Executed store
2023-10-13	13:38:42	4193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863685','0','44.4753946146704','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:42	4193	[DEBUG]	Checking manufacturer
2023-10-13	13:38:42	4193	[DEBUG]	Load a row
2023-10-13	13:38:42	4193	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:42	4193	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:42	4193	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:42	4193	[DEBUG]	Executed store
2023-10-13	13:38:42	4193	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:42	4193	[DEBUG]	Manufacturer exists
2023-10-13	13:38:42	4193	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:38:42	4193	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:42	4193	[DEBUG]	Executed store
2023-10-13	13:38:42	4193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863685','24')
2023-10-13	13:38:42	4193	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:42	4193	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:42	4193	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863685 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:42	4193	[DEBUG]	Store custom available field
2023-10-13	13:38:42	4193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863685,3,'',1)
2023-10-13	13:38:42	4193	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:42	4193	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:42	4193	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863685 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:42	4193	[DEBUG]	Store custom available field
2023-10-13	13:38:42	4193	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863685,6,'Unitaire',3)
2023-10-13	13:38:42	4193	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:42	4193	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:42	4193	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863684
2023-10-13	13:38:42	4193	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:42	4193	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863684\":[1863684,8,1,\"choisir la taille\"],\"1863685\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863684
2023-10-13	13:38:42	4193	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:42	4193	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863685
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:42	4194	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field taille
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:42	4194	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:42	4194	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:42	4194	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:42	4194	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:42	4194	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:42	4194	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field published
2023-10-13	13:38:42	4194	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:42	4194	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field override
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:42	4194	[DEBUG]	Use field value for field slug
2023-10-13	13:38:42	4194	[DEBUG]	Process line 4194
2023-10-13	13:38:42	4194	[DEBUG]	Load a row
2023-10-13	13:38:42	4194	[DEBUG]	Processing item: A_8522_84
2023-10-13	13:38:42	4194	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:42	4194	[DEBUG]	Processing product tax
2023-10-13	13:38:42	4194	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:42	4194	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:42	4194	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:42	4194	[DEBUG]	Query for Product
2023-10-13	13:38:42	4194	[DEBUG]	Executed store
2023-10-13	13:38:42	4194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8522_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:42	4194	[DEBUG]	Check product language entry
2023-10-13	13:38:42	4194	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863686
2023-10-13	13:38:42	4194	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:42	4194	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8522_84' AND `virtuemart_product_id` != 1863686
2023-10-13	13:38:42	4194	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:42	4194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863686, 'A_8522_84')
2023-10-13	13:38:42	4194	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:42	4194	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-mondial-26x2-00-rigide-avec-bande-reflechissante-black-black' AND `virtuemart_product_id` != 1863686
2023-10-13	13:38:42	4194	[DEBUG]	Query for ProductLang
2023-10-13	13:38:42	4194	[DEBUG]	Executed store
2023-10-13	13:38:42	4194	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56681',`product_name`='SCHWALBE Pneu Marathon Mondial 26x2.00 rigide avec bande réfléchissante black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-mondial-26x2-00-rigide-avec-bande-reflechissante-black-black' WHERE `virtuemart_product_id` = '1863686'
2023-10-13	13:38:42	4194	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56683_001_jpg.jpg
2023-10-13	13:38:42	4194	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:42	4194	[DEBUG]	Process image file
2023-10-13	13:38:42	4194	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:42	4194	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:42	4194	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56683_001_jpg.jpg
2023-10-13	13:38:42	4194	[DEBUG]	Full name target: bcprisme/24_56683_001_jpg.jpg
2023-10-13	13:38:43	4194	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:43	4194	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_56683_001_jpg.jpg'
2023-10-13	13:38:43	4194	[DEBUG]	Query for Media
2023-10-13	13:38:43	4194	[DEBUG]	Executed store
2023-10-13	13:38:43	4194	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_56683_001_jpg.jpg',`file_url_thumb`='bcprisme/24_56683_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '974545'
2023-10-13	13:38:43	4194	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:43	4194	[DEBUG]	Executed store
2023-10-13	13:38:43	4194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863686','974545','1')
2023-10-13	13:38:43	4194	[DEBUG]	Store product image relation
2023-10-13	13:38:43	4194	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:43	4194	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863686 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:43	4194	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:43	4194	[DEBUG]	Executed store
2023-10-13	13:38:43	4194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863686','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:43	4194	[DEBUG]	Checking manufacturer
2023-10-13	13:38:43	4194	[DEBUG]	Load a row
2023-10-13	13:38:43	4194	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:43	4194	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:43	4194	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:43	4194	[DEBUG]	Executed store
2023-10-13	13:38:43	4194	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:43	4194	[DEBUG]	Manufacturer exists
2023-10-13	13:38:43	4194	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:38:43	4194	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:43	4194	[DEBUG]	Executed store
2023-10-13	13:38:43	4194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863686','24')
2023-10-13	13:38:43	4194	[DEBUG]	Find the custom field ID
2023-10-13	13:38:43	4194	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:43	4194	[DEBUG]	No custom field ID found
2023-10-13	13:38:43	4194	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:43	4194	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:43	4194	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863686 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:43	4194	[DEBUG]	Store custom available field
2023-10-13	13:38:43	4194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863686,3,'0',1)
2023-10-13	13:38:43	4194	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:43	4194	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:43	4194	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863686 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:43	4194	[DEBUG]	Store custom available field
2023-10-13	13:38:43	4194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863686,6,'choisir la taille',3)
2023-10-13	13:38:43	4194	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:43	4194	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:43	4194	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:43	4194	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:43	4194	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863686 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:43	4194	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:43	4194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863686,8,1)
2023-10-13	13:38:43	4194	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:43	4194	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863686\":[1863686,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863686
2023-10-13	13:38:43	4194	[DEBUG]	Checking category
2023-10-13	13:38:43	4194	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:43	4194	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863686
2023-10-13	13:38:43	4194	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:43	4194	[DEBUG]	Executed store
2023-10-13	13:38:43	4194	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863686','7409')
2023-10-13	13:38:43	4194	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:43	4194	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863686 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:43	4194	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:43	4194	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863686
2023-10-13	13:38:43	4195	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:43	4195	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:43	4195	[DEBUG]	Use field value for field taille
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:43	4195	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:43	4195	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:43	4195	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:43	4195	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:43	4195	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:43	4195	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:43	4195	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:43	4195	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:43	4195	[DEBUG]	Use field value for field published
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:43	4195	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field override
2023-10-13	13:38:43	4195	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:43	4195	[DEBUG]	Use field value for field slug
2023-10-13	13:38:43	4195	[DEBUG]	Process line 4195
2023-10-13	13:38:43	4195	[DEBUG]	Load a row
2023-10-13	13:38:43	4195	[DEBUG]	Processing item: 4026495644310
2023-10-13	13:38:43	4195	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:43	4195	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:43	4195	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8522_84'
2023-10-13	13:38:43	4195	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:43	4195	[DEBUG]	Processing product tax
2023-10-13	13:38:43	4195	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:43	4195	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:43	4195	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:43	4195	[DEBUG]	Query for Product
2023-10-13	13:38:43	4195	[DEBUG]	Executed store
2023-10-13	13:38:43	4195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863686','4026495644310','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:43	4195	[DEBUG]	No parent found
2023-10-13	13:38:43	4195	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863686 AND customfield_value = 'stockable'
2023-10-13	13:38:43	4195	[DEBUG]	Check product language entry
2023-10-13	13:38:43	4195	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863687
2023-10-13	13:38:43	4195	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:43	4195	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495644310' AND `virtuemart_product_id` != 1863687
2023-10-13	13:38:43	4195	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:43	4195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863687, '4026495644310')
2023-10-13	13:38:43	4195	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:43	4195	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-mondial-26x2-00-rigide-avec-bande-reflechissante-black-black-unitaire' AND `virtuemart_product_id` != 1863687
2023-10-13	13:38:43	4195	[DEBUG]	Query for ProductLang
2023-10-13	13:38:43	4195	[DEBUG]	Executed store
2023-10-13	13:38:43	4195	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Marathon Mondial 26x2.00 rigide avec bande réfléchissante black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-mondial-26x2-00-rigide-avec-bande-reflechissante-black-black-unitaire' WHERE `virtuemart_product_id` = '1863687'
2023-10-13	13:38:43	4195	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56683_001_jpg.jpg
2023-10-13	13:38:43	4195	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:43	4195	[DEBUG]	Process image file
2023-10-13	13:38:43	4195	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:43	4195	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:43	4195	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56683_001_jpg.jpg
2023-10-13	13:38:43	4195	[DEBUG]	Full name target: bcprisme/24_56683_001_jpg.jpg
2023-10-13	13:38:44	4195	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:44	4195	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_56683_001_jpg.jpg'
2023-10-13	13:38:44	4195	[DEBUG]	Query for Media
2023-10-13	13:38:44	4195	[DEBUG]	Executed store
2023-10-13	13:38:44	4195	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_56683_001_jpg.jpg',`file_url_thumb`='bcprisme/24_56683_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '974545'
2023-10-13	13:38:44	4195	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:44	4195	[DEBUG]	Executed store
2023-10-13	13:38:44	4195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863687','974545','1')
2023-10-13	13:38:44	4195	[DEBUG]	Store product image relation
2023-10-13	13:38:44	4195	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:44	4195	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863687 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:44	4195	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:44	4195	[DEBUG]	Executed store
2023-10-13	13:38:44	4195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863687','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:44	4195	[DEBUG]	Checking manufacturer
2023-10-13	13:38:44	4195	[DEBUG]	Load a row
2023-10-13	13:38:44	4195	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:44	4195	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:44	4195	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:44	4195	[DEBUG]	Executed store
2023-10-13	13:38:44	4195	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:44	4195	[DEBUG]	Manufacturer exists
2023-10-13	13:38:44	4195	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:38:44	4195	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:44	4195	[DEBUG]	Executed store
2023-10-13	13:38:44	4195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863687','24')
2023-10-13	13:38:44	4195	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:44	4195	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:44	4195	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863687 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:44	4195	[DEBUG]	Store custom available field
2023-10-13	13:38:44	4195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863687,3,'',1)
2023-10-13	13:38:44	4195	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:44	4195	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:44	4195	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863687 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:44	4195	[DEBUG]	Store custom available field
2023-10-13	13:38:44	4195	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863687,6,'Unitaire',3)
2023-10-13	13:38:44	4195	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:44	4195	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:44	4195	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863686
2023-10-13	13:38:44	4195	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:44	4195	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863686\":[1863686,8,1,\"choisir la taille\"],\"1863687\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863686
2023-10-13	13:38:44	4195	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:44	4195	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863687
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:44	4196	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field taille
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:44	4196	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:44	4196	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:44	4196	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:44	4196	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:44	4196	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:44	4196	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field published
2023-10-13	13:38:44	4196	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:44	4196	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field override
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:44	4196	[DEBUG]	Use field value for field slug
2023-10-13	13:38:44	4196	[DEBUG]	Process line 4196
2023-10-13	13:38:44	4196	[DEBUG]	Load a row
2023-10-13	13:38:44	4196	[DEBUG]	Processing item: A_8536_84
2023-10-13	13:38:44	4196	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:44	4196	[DEBUG]	Processing product tax
2023-10-13	13:38:44	4196	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:44	4196	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:44	4196	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:44	4196	[DEBUG]	Query for Product
2023-10-13	13:38:44	4196	[DEBUG]	Executed store
2023-10-13	13:38:44	4196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8536_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:44	4196	[DEBUG]	Check product language entry
2023-10-13	13:38:44	4196	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863688
2023-10-13	13:38:44	4196	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:44	4196	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8536_84' AND `virtuemart_product_id` != 1863688
2023-10-13	13:38:44	4196	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:44	4196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863688, 'A_8536_84')
2023-10-13	13:38:44	4196	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:44	4196	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-26x2-00-rigide-avec-bande-reflechissante-black-black' AND `virtuemart_product_id` != 1863688
2023-10-13	13:38:44	4196	[DEBUG]	Query for ProductLang
2023-10-13	13:38:44	4196	[DEBUG]	Executed store
2023-10-13	13:38:44	4196	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56695',`product_name`='SCHWALBE Pneu Marathon 26x2.00 rigide avec bande réfléchissante black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-26x2-00-rigide-avec-bande-reflechissante-black-black' WHERE `virtuemart_product_id` = '1863688'
2023-10-13	13:38:44	4196	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56703_001_jpg.jpg
2023-10-13	13:38:44	4196	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:44	4196	[DEBUG]	Process image file
2023-10-13	13:38:44	4196	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:44	4196	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:44	4196	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56703_001_jpg.jpg
2023-10-13	13:38:44	4196	[DEBUG]	Full name target: bcprisme/24_56703_001_jpg.jpg
2023-10-13	13:38:45	4196	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:45	4196	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_56703_001_jpg.jpg'
2023-10-13	13:38:45	4196	[DEBUG]	Query for Media
2023-10-13	13:38:45	4196	[DEBUG]	Executed store
2023-10-13	13:38:45	4196	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_56703_001_jpg.jpg',`file_url_thumb`='bcprisme/24_56703_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '801578'
2023-10-13	13:38:45	4196	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:45	4196	[DEBUG]	Executed store
2023-10-13	13:38:45	4196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863688','801578','1')
2023-10-13	13:38:45	4196	[DEBUG]	Store product image relation
2023-10-13	13:38:45	4196	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:45	4196	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863688 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:45	4196	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:45	4196	[DEBUG]	Executed store
2023-10-13	13:38:45	4196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863688','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:45	4196	[DEBUG]	Checking manufacturer
2023-10-13	13:38:45	4196	[DEBUG]	Load a row
2023-10-13	13:38:45	4196	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:45	4196	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:45	4196	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:45	4196	[DEBUG]	Executed store
2023-10-13	13:38:45	4196	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:45	4196	[DEBUG]	Manufacturer exists
2023-10-13	13:38:45	4196	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:38:45	4196	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:45	4196	[DEBUG]	Executed store
2023-10-13	13:38:45	4196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863688','24')
2023-10-13	13:38:45	4196	[DEBUG]	Find the custom field ID
2023-10-13	13:38:45	4196	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:45	4196	[DEBUG]	No custom field ID found
2023-10-13	13:38:45	4196	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:45	4196	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:45	4196	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863688 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:45	4196	[DEBUG]	Store custom available field
2023-10-13	13:38:45	4196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863688,3,'0',1)
2023-10-13	13:38:45	4196	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:45	4196	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:45	4196	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863688 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:45	4196	[DEBUG]	Store custom available field
2023-10-13	13:38:45	4196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863688,6,'choisir la taille',3)
2023-10-13	13:38:45	4196	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:45	4196	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:45	4196	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:45	4196	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:45	4196	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863688 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:45	4196	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:45	4196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863688,8,1)
2023-10-13	13:38:45	4196	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:45	4196	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863688\":[1863688,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863688
2023-10-13	13:38:45	4196	[DEBUG]	Checking category
2023-10-13	13:38:45	4196	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:45	4196	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863688
2023-10-13	13:38:45	4196	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:45	4196	[DEBUG]	Executed store
2023-10-13	13:38:45	4196	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863688','7409')
2023-10-13	13:38:45	4196	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:45	4196	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863688 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:45	4196	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:45	4196	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863688
2023-10-13	13:38:45	4197	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:45	4197	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:45	4197	[DEBUG]	Use field value for field taille
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:45	4197	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:45	4197	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:45	4197	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:45	4197	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:45	4197	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:45	4197	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:45	4197	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:45	4197	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:45	4197	[DEBUG]	Use field value for field published
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:45	4197	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field override
2023-10-13	13:38:45	4197	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:45	4197	[DEBUG]	Use field value for field slug
2023-10-13	13:38:45	4197	[DEBUG]	Process line 4197
2023-10-13	13:38:45	4197	[DEBUG]	Load a row
2023-10-13	13:38:45	4197	[DEBUG]	Processing item: 4026495627498
2023-10-13	13:38:45	4197	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:45	4197	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:45	4197	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8536_84'
2023-10-13	13:38:45	4197	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:45	4197	[DEBUG]	Processing product tax
2023-10-13	13:38:45	4197	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:45	4197	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:45	4197	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:45	4197	[DEBUG]	Query for Product
2023-10-13	13:38:45	4197	[DEBUG]	Executed store
2023-10-13	13:38:45	4197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863688','4026495627498','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:45	4197	[DEBUG]	No parent found
2023-10-13	13:38:45	4197	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863688 AND customfield_value = 'stockable'
2023-10-13	13:38:45	4197	[DEBUG]	Check product language entry
2023-10-13	13:38:45	4197	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863689
2023-10-13	13:38:45	4197	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:45	4197	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495627498' AND `virtuemart_product_id` != 1863689
2023-10-13	13:38:45	4197	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:45	4197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863689, '4026495627498')
2023-10-13	13:38:45	4197	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:45	4197	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-26x2-00-rigide-avec-bande-reflechissante-black-black-unitaire' AND `virtuemart_product_id` != 1863689
2023-10-13	13:38:45	4197	[DEBUG]	Query for ProductLang
2023-10-13	13:38:45	4197	[DEBUG]	Executed store
2023-10-13	13:38:45	4197	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Marathon 26x2.00 rigide avec bande réfléchissante black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-26x2-00-rigide-avec-bande-reflechissante-black-black-unitaire' WHERE `virtuemart_product_id` = '1863689'
2023-10-13	13:38:45	4197	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56703_001_jpg.jpg
2023-10-13	13:38:45	4197	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:45	4197	[DEBUG]	Process image file
2023-10-13	13:38:45	4197	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:45	4197	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:45	4197	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56703_001_jpg.jpg
2023-10-13	13:38:45	4197	[DEBUG]	Full name target: bcprisme/24_56703_001_jpg.jpg
2023-10-13	13:38:46	4197	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:46	4197	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_56703_001_jpg.jpg'
2023-10-13	13:38:46	4197	[DEBUG]	Query for Media
2023-10-13	13:38:46	4197	[DEBUG]	Executed store
2023-10-13	13:38:46	4197	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_56703_001_jpg.jpg',`file_url_thumb`='bcprisme/24_56703_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '801578'
2023-10-13	13:38:46	4197	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:46	4197	[DEBUG]	Executed store
2023-10-13	13:38:46	4197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863689','801578','1')
2023-10-13	13:38:46	4197	[DEBUG]	Store product image relation
2023-10-13	13:38:46	4197	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:46	4197	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863689 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:46	4197	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:46	4197	[DEBUG]	Executed store
2023-10-13	13:38:46	4197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863689','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:46	4197	[DEBUG]	Checking manufacturer
2023-10-13	13:38:46	4197	[DEBUG]	Load a row
2023-10-13	13:38:46	4197	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:46	4197	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:46	4197	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:46	4197	[DEBUG]	Executed store
2023-10-13	13:38:46	4197	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:46	4197	[DEBUG]	Manufacturer exists
2023-10-13	13:38:46	4197	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:38:46	4197	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:46	4197	[DEBUG]	Executed store
2023-10-13	13:38:46	4197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863689','24')
2023-10-13	13:38:46	4197	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:46	4197	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:46	4197	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863689 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:46	4197	[DEBUG]	Store custom available field
2023-10-13	13:38:46	4197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863689,3,'',1)
2023-10-13	13:38:46	4197	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:46	4197	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:46	4197	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863689 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:46	4197	[DEBUG]	Store custom available field
2023-10-13	13:38:46	4197	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863689,6,'Unitaire',3)
2023-10-13	13:38:46	4197	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:46	4197	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:46	4197	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863688
2023-10-13	13:38:46	4197	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:46	4197	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863688\":[1863688,8,1,\"choisir la taille\"],\"1863689\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863688
2023-10-13	13:38:46	4197	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:46	4197	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863689
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:46	4198	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field taille
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:46	4198	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:46	4198	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:46	4198	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:46	4198	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:46	4198	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:46	4198	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field published
2023-10-13	13:38:46	4198	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:46	4198	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field override
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:46	4198	[DEBUG]	Use field value for field slug
2023-10-13	13:38:46	4198	[DEBUG]	Process line 4198
2023-10-13	13:38:46	4198	[DEBUG]	Load a row
2023-10-13	13:38:46	4198	[DEBUG]	Processing item: A_9088_84
2023-10-13	13:38:46	4198	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:46	4198	[DEBUG]	Processing product tax
2023-10-13	13:38:46	4198	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:46	4198	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:46	4198	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:46	4198	[DEBUG]	Query for Product
2023-10-13	13:38:46	4198	[DEBUG]	Executed store
2023-10-13	13:38:46	4198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9088_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:46	4198	[DEBUG]	Check product language entry
2023-10-13	13:38:46	4198	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863690
2023-10-13	13:38:46	4198	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:46	4198	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9088_84' AND `virtuemart_product_id` != 1863690
2023-10-13	13:38:46	4198	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:46	4198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863690, 'A_9088_84')
2023-10-13	13:38:46	4198	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:46	4198	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-hans-dampf-26x2-35-twinskin-tl-ready-black-black' AND `virtuemart_product_id` != 1863690
2023-10-13	13:38:46	4198	[DEBUG]	Query for ProductLang
2023-10-13	13:38:46	4198	[DEBUG]	Executed store
2023-10-13	13:38:46	4198	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.73799',`product_name`='SCHWALBE Pneu Hans Dampf 26x2.35 TwinSkin TL-Ready black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-hans-dampf-26x2-35-twinskin-tl-ready-black-black' WHERE `virtuemart_product_id` = '1863690'
2023-10-13	13:38:46	4198	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79426_00.jpg
2023-10-13	13:38:46	4198	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:46	4198	[DEBUG]	Process image file
2023-10-13	13:38:46	4198	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:46	4198	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:46	4198	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79426_00.jpg
2023-10-13	13:38:46	4198	[DEBUG]	Full name target: bcprisme/24_79426_00.jpg
2023-10-13	13:38:47	4198	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:47	4198	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_79426_00.jpg'
2023-10-13	13:38:47	4198	[DEBUG]	Query for Media
2023-10-13	13:38:47	4198	[DEBUG]	Executed store
2023-10-13	13:38:47	4198	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_79426_00.jpg',`file_url_thumb`='bcprisme/24_79426_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1259250'
2023-10-13	13:38:47	4198	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:47	4198	[DEBUG]	Executed store
2023-10-13	13:38:47	4198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863690','1259250','1')
2023-10-13	13:38:47	4198	[DEBUG]	Store product image relation
2023-10-13	13:38:47	4198	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:47	4198	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863690 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:47	4198	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:47	4198	[DEBUG]	Executed store
2023-10-13	13:38:47	4198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863690','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:47	4198	[DEBUG]	Checking manufacturer
2023-10-13	13:38:47	4198	[DEBUG]	Load a row
2023-10-13	13:38:47	4198	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:47	4198	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:47	4198	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:47	4198	[DEBUG]	Executed store
2023-10-13	13:38:47	4198	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:47	4198	[DEBUG]	Manufacturer exists
2023-10-13	13:38:47	4198	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:38:47	4198	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:47	4198	[DEBUG]	Executed store
2023-10-13	13:38:47	4198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863690','24')
2023-10-13	13:38:47	4198	[DEBUG]	Find the custom field ID
2023-10-13	13:38:47	4198	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:47	4198	[DEBUG]	No custom field ID found
2023-10-13	13:38:47	4198	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:47	4198	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:47	4198	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863690 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:47	4198	[DEBUG]	Store custom available field
2023-10-13	13:38:47	4198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863690,3,'0',1)
2023-10-13	13:38:47	4198	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:47	4198	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:47	4198	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863690 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:47	4198	[DEBUG]	Store custom available field
2023-10-13	13:38:47	4198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863690,6,'choisir la taille',3)
2023-10-13	13:38:47	4198	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:47	4198	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:47	4198	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:47	4198	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:47	4198	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863690 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:47	4198	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:47	4198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863690,8,1)
2023-10-13	13:38:47	4198	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:47	4198	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863690\":[1863690,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863690
2023-10-13	13:38:47	4198	[DEBUG]	Checking category
2023-10-13	13:38:47	4198	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:47	4198	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863690
2023-10-13	13:38:47	4198	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:47	4198	[DEBUG]	Executed store
2023-10-13	13:38:47	4198	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863690','7409')
2023-10-13	13:38:47	4198	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:47	4198	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863690 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:47	4198	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:47	4198	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863690
2023-10-13	13:38:47	4199	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:47	4199	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:38:47	4199	[DEBUG]	Use field value for field taille
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:38:47	4199	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field category_path
2023-10-13	13:38:47	4199	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:47	4199	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:47	4199	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:47	4199	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:38:47	4199	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field product_weight
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:47	4199	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:47	4199	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:47	4199	[DEBUG]	Use field value for field published
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field custom_title
2023-10-13	13:38:47	4199	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field custom_param
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field override
2023-10-13	13:38:47	4199	[DEBUG]	Use default value for field public_price
2023-10-13	13:38:47	4199	[DEBUG]	Use field value for field slug
2023-10-13	13:38:47	4199	[DEBUG]	Process line 4199
2023-10-13	13:38:47	4199	[DEBUG]	Load a row
2023-10-13	13:38:47	4199	[DEBUG]	Processing item: 4026495847810
2023-10-13	13:38:47	4199	[DEBUG]	Looking for parent SKU
2023-10-13	13:38:47	4199	[DEBUG]	Checking product parent SKU
2023-10-13	13:38:47	4199	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9088_84'
2023-10-13	13:38:47	4199	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:47	4199	[DEBUG]	Processing product tax
2023-10-13	13:38:47	4199	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:47	4199	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:47	4199	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:47	4199	[DEBUG]	Query for Product
2023-10-13	13:38:47	4199	[DEBUG]	Executed store
2023-10-13	13:38:47	4199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863690','4026495847810','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:47	4199	[DEBUG]	No parent found
2023-10-13	13:38:47	4199	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863690 AND customfield_value = 'stockable'
2023-10-13	13:38:47	4199	[DEBUG]	Check product language entry
2023-10-13	13:38:47	4199	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863691
2023-10-13	13:38:47	4199	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:47	4199	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495847810' AND `virtuemart_product_id` != 1863691
2023-10-13	13:38:47	4199	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:47	4199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863691, '4026495847810')
2023-10-13	13:38:47	4199	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:47	4199	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-hans-dampf-26x2-35-twinskin-tl-ready-black-black-unitaire' AND `virtuemart_product_id` != 1863691
2023-10-13	13:38:47	4199	[DEBUG]	Query for ProductLang
2023-10-13	13:38:47	4199	[DEBUG]	Executed store
2023-10-13	13:38:47	4199	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Hans Dampf 26x2.35 TwinSkin TL-Ready black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-hans-dampf-26x2-35-twinskin-tl-ready-black-black-unitaire' WHERE `virtuemart_product_id` = '1863691'
2023-10-13	13:38:47	4199	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79426_00.jpg
2023-10-13	13:38:47	4199	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:47	4199	[DEBUG]	Process image file
2023-10-13	13:38:47	4199	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:38:47	4199	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:47	4199	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79426_00.jpg
2023-10-13	13:38:47	4199	[DEBUG]	Full name target: bcprisme/24_79426_00.jpg
2023-10-13	13:38:48	4199	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:48	4199	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_79426_00.jpg'
2023-10-13	13:38:48	4199	[DEBUG]	Query for Media
2023-10-13	13:38:48	4199	[DEBUG]	Executed store
2023-10-13	13:38:48	4199	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_79426_00.jpg',`file_url_thumb`='bcprisme/24_79426_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1259250'
2023-10-13	13:38:48	4199	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:48	4199	[DEBUG]	Executed store
2023-10-13	13:38:48	4199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863691','1259250','1')
2023-10-13	13:38:48	4199	[DEBUG]	Store product image relation
2023-10-13	13:38:48	4199	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:48	4199	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863691 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:48	4199	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:48	4199	[DEBUG]	Executed store
2023-10-13	13:38:48	4199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863691','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:48	4199	[DEBUG]	Checking manufacturer
2023-10-13	13:38:48	4199	[DEBUG]	Load a row
2023-10-13	13:38:48	4199	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:48	4199	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:48	4199	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:48	4199	[DEBUG]	Executed store
2023-10-13	13:38:48	4199	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:38:48	4199	[DEBUG]	Manufacturer exists
2023-10-13	13:38:48	4199	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:38:48	4199	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:48	4199	[DEBUG]	Executed store
2023-10-13	13:38:48	4199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863691','24')
2023-10-13	13:38:48	4199	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:48	4199	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:38:48	4199	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863691 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:48	4199	[DEBUG]	Store custom available field
2023-10-13	13:38:48	4199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863691,3,'',1)
2023-10-13	13:38:48	4199	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:48	4199	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:38:48	4199	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863691 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:48	4199	[DEBUG]	Store custom available field
2023-10-13	13:38:48	4199	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863691,6,'Unitaire',3)
2023-10-13	13:38:48	4199	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:48	4199	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:38:48	4199	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863690
2023-10-13	13:38:48	4199	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:48	4199	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863690\":[1863690,8,1,\"choisir la taille\"],\"1863691\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863690
2023-10-13	13:38:48	4199	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:48	4199	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863691
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field product_sku
2023-10-13	13:38:48	4200	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field taille
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field product_name
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field category_path
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field product_price
2023-10-13	13:38:48	4200	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field product_tax
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field file_url
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:38:48	4200	[DEBUG]	Use default value for field product_desc
2023-10-13	13:38:48	4200	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field product_availability
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field product_weight
2023-10-13	13:38:48	4200	[DEBUG]	Use default value for field product_unit
2023-10-13	13:38:48	4200	[DEBUG]	Use default value for field related_products
2023-10-13	13:38:48	4200	[DEBUG]	Use default value for field product_special
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field published
2023-10-13	13:38:48	4200	[DEBUG]	Use default value for field metadesc
2023-10-13	13:38:48	4200	[DEBUG]	Use default value for field metakey
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field custom_title
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field custom_value
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field custom_param
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field override
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field public_price
2023-10-13	13:38:48	4200	[DEBUG]	Use field value for field slug
2023-10-13	13:38:48	4200	[DEBUG]	Process line 4200
2023-10-13	13:38:48	4200	[DEBUG]	Load a row
2023-10-13	13:38:48	4200	[DEBUG]	Processing item: A_9130_1
2023-10-13	13:38:48	4200	[DEBUG]	Product tax: 7.7
2023-10-13	13:38:48	4200	[DEBUG]	Processing product tax
2023-10-13	13:38:48	4200	[DEBUG]	Check if calculation rule exists
2023-10-13	13:38:48	4200	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:38:48	4200	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:38:48	4200	[DEBUG]	Query for Product
2023-10-13	13:38:48	4200	[DEBUG]	Executed store
2023-10-13	13:38:48	4200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9130_1','0.5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0')
2023-10-13	13:38:48	4200	[DEBUG]	Check product language entry
2023-10-13	13:38:48	4200	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863692
2023-10-13	13:38:48	4200	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:48	4200	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9130_1' AND `virtuemart_product_id` != 1863692
2023-10-13	13:38:48	4200	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:38:48	4200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863692, 'A_9130_1')
2023-10-13	13:38:48	4200	[DEBUG]	Check if the product slug exists
2023-10-13	13:38:48	4200	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-racing-ralph-super-ground-26-x-2-25-addix-speed-noir' AND `virtuemart_product_id` != 1863692
2023-10-13	13:38:48	4200	[DEBUG]	Query for ProductLang
2023-10-13	13:38:48	4200	[DEBUG]	Executed store
2023-10-13	13:38:48	4200	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.749',`product_name`='SCHWALBE PNEU Schwalbe Racing Ralph Super-Ground 26 x 2.25 Addix Speed / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-racing-ralph-super-ground-26-x-2-25-addix-speed-noir' WHERE `virtuemart_product_id` = '1863692'
2023-10-13	13:38:48	4200	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38191_pneu_schwalbe_racing_ralph_super-ground_26_x_2_25_addix_speed.jpg
2023-10-13	13:38:48	4200	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:38:48	4200	[DEBUG]	Process image file
2023-10-13	13:38:48	4200	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:38:48	4200	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:38:48	4200	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38191_pneu_schwalbe_racing_ralph_super-ground_26_x_2_25_addix_speed.jpg
2023-10-13	13:38:48	4200	[DEBUG]	Full name target: bcprisme/38191_pneu_schwalbe_racing_ralph_super-ground_26_x_2_25_addix_speed.jpg
2023-10-13	13:38:49	4200	[DEBUG]	Checking if the file_url exists
2023-10-13	13:38:49	4200	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38191_pneu_schwalbe_racing_ralph_super-ground_26_x_2_25_addix_speed.jpg'
2023-10-13	13:38:49	4200	[DEBUG]	Query for Media
2023-10-13	13:38:49	4200	[DEBUG]	Executed store
2023-10-13	13:38:49	4200	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38191_pneu_schwalbe_racing_ralph_super-ground_26_x_2_25_addix_speed.jpg',`file_url_thumb`='bcprisme/38191_pneu_schwalbe_racing_ralph_super-ground_26_x_2_25_addix_speed.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1280802'
2023-10-13	13:38:49	4200	[DEBUG]	Query for ProductMedia
2023-10-13	13:38:49	4200	[DEBUG]	Executed store
2023-10-13	13:38:49	4200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863692','1280802','1')
2023-10-13	13:38:49	4200	[DEBUG]	Store product image relation
2023-10-13	13:38:49	4200	[DEBUG]	Finding a product_price_id
2023-10-13	13:38:49	4200	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863692 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:38:49	4200	[DEBUG]	Query for ProductPrice
2023-10-13	13:38:49	4200	[DEBUG]	Executed store
2023-10-13	13:38:49	4200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863692','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:37:05','1593','2023-10-13 13:37:05','1593','0000-00-00 00:00:00','0')
2023-10-13	13:38:49	4200	[DEBUG]	Checking manufacturer
2023-10-13	13:38:49	4200	[DEBUG]	Load a row
2023-10-13	13:38:49	4200	[DEBUG]	Manufacturer already exists
2023-10-13	13:38:49	4200	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:49	4200	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:38:49	4200	[DEBUG]	Executed store
2023-10-13	13:38:49	4200	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:38:49	4200	[DEBUG]	Manufacturer exists
2023-10-13	13:38:49	4200	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:38:49	4200	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:38:49	4200	[DEBUG]	Executed store
2023-10-13	13:38:49	4200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863692','25')
2023-10-13	13:38:49	4200	[DEBUG]	Find the custom field ID
2023-10-13	13:38:49	4200	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:38:49	4200	[DEBUG]	No custom field ID found
2023-10-13	13:38:49	4200	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:38:49	4200	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:38:49	4200	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863692 AND `virtuemart_custom_id` = 3
2023-10-13	13:38:49	4200	[DEBUG]	Store custom available field
2023-10-13	13:38:49	4200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863692,3,'0',1)
2023-10-13	13:38:49	4200	[DEBUG]	Processing custom available field: taille
2023-10-13	13:38:49	4200	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:38:49	4200	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863692 AND `virtuemart_custom_id` = 6
2023-10-13	13:38:49	4200	[DEBUG]	Store custom available field
2023-10-13	13:38:49	4200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863692,6,'choisir la taille',3)
2023-10-13	13:38:49	4200	[DEBUG]	Process multi-variant fields
2023-10-13	13:38:49	4200	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:38:49	4200	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:38:49	4200	[DEBUG]	Find the multi variant product entry
2023-10-13	13:38:49	4200	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863692 AND `virtuemart_custom_id` = 8
2023-10-13	13:38:49	4200	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:38:49	4200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863692,8,1)
2023-10-13	13:38:49	4200	[DEBUG]	Store the updated customfield_params
2023-10-13	13:38:49	4200	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863692\":[1863692,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863692
2023-10-13	13:38:49	4200	[DEBUG]	Checking category
2023-10-13	13:38:49	4200	[DEBUG]	Get the existing categories for the product
2023-10-13	13:38:49	4200	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863692
2023-10-13	13:38:49	4200	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:38:49	4200	[DEBUG]	Executed store
2023-10-13	13:38:49	4200	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863692','7409')
2023-10-13	13:38:49	4200	[DEBUG]	Delete leftover product categories
2023-10-13	13:38:49	4200	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863692 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:38:49	4200	[DEBUG]	Update has fields after all processing
2023-10-13	13:38:49	4200	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863692
2023-10-13	13:39:10	4200	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:39:10	4200	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:39:10	4200	[DEBUG]	Load the fields to process
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: product_sku
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: taille
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: product_name
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: category_path
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: product_price
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: product_override_price
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: product_tax
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: file_url
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: product_desc
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: product_availability
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: product_weight
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: product_unit
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: related_products
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: product_special
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: published
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: metadesc
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: metakey
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: custom_title
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: custom_value
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: custom_param
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: override
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: public_price
2023-10-13	13:39:10	4200	[DEBUG]	Setup field: slug
2023-10-13	13:39:10	4200	[DEBUG]	Use the file for configuration
2023-10-13	13:39:10	4200	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:39:10	4200	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:39:10	4200	[DEBUG]	Load the custom fields
2023-10-13	13:39:10	4200	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:39:10	4200	[DEBUG]	Load stockable custom fields
2023-10-13	13:39:10	4200	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:39:10	4200	[DEBUG]	Load custom fields for all
2023-10-13	13:39:10	4200	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:39:10	4201	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:10	4201	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:10	4201	[DEBUG]	Use field value for field taille
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:10	4201	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:10	4201	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:10	4201	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:10	4201	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:10	4201	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:10	4201	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:10	4201	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:10	4201	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:10	4201	[DEBUG]	Use field value for field published
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:10	4201	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field override
2023-10-13	13:39:10	4201	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:10	4201	[DEBUG]	Use field value for field slug
2023-10-13	13:39:10	4201	[DEBUG]	Process line 4201
2023-10-13	13:39:10	4201	[DEBUG]	Check if the vendor exists
2023-10-13	13:39:10	4201	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '4026495876452'
2023-10-13	13:39:10	4201	[DEBUG]	Load a row
2023-10-13	13:39:10	4201	[DEBUG]	Processing item: 4026495876452
2023-10-13	13:39:10	4201	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:10	4201	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:10	4201	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9130_1'
2023-10-13	13:39:10	4201	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:10	4201	[DEBUG]	Processing product tax
2023-10-13	13:39:10	4201	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:10	4201	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:10	4201	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:10	4201	[DEBUG]	Query for Product
2023-10-13	13:39:10	4201	[DEBUG]	Executed store
2023-10-13	13:39:10	4201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863692','4026495876452','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:10	4201	[DEBUG]	No parent found
2023-10-13	13:39:10	4201	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863692 AND customfield_value = 'stockable'
2023-10-13	13:39:10	4201	[DEBUG]	Check product language entry
2023-10-13	13:39:10	4201	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863693
2023-10-13	13:39:10	4201	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:10	4201	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495876452' AND `virtuemart_product_id` != 1863693
2023-10-13	13:39:10	4201	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:10	4201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863693, '4026495876452')
2023-10-13	13:39:10	4201	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:10	4201	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-racing-ralph-super-ground-26-x-2-25-addix-speed-noir-unitaire' AND `virtuemart_product_id` != 1863693
2023-10-13	13:39:10	4201	[DEBUG]	Query for ProductLang
2023-10-13	13:39:10	4201	[DEBUG]	Executed store
2023-10-13	13:39:10	4201	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU Schwalbe Racing Ralph Super-Ground 26 x 2.25 Addix Speed / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-racing-ralph-super-ground-26-x-2-25-addix-speed-noir-unitaire' WHERE `virtuemart_product_id` = '1863693'
2023-10-13	13:39:10	4201	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38191_pneu_schwalbe_racing_ralph_super-ground_26_x_2_25_addix_speed.jpg
2023-10-13	13:39:10	4201	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:39:10	4201	[DEBUG]	Process image file
2023-10-13	13:39:10	4201	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:39:10	4201	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:10	4201	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38191_pneu_schwalbe_racing_ralph_super-ground_26_x_2_25_addix_speed.jpg
2023-10-13	13:39:10	4201	[DEBUG]	Full name target: bcprisme/38191_pneu_schwalbe_racing_ralph_super-ground_26_x_2_25_addix_speed.jpg
2023-10-13	13:39:11	4201	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:11	4201	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38191_pneu_schwalbe_racing_ralph_super-ground_26_x_2_25_addix_speed.jpg'
2023-10-13	13:39:11	4201	[DEBUG]	Query for Media
2023-10-13	13:39:11	4201	[DEBUG]	Executed store
2023-10-13	13:39:11	4201	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38191_pneu_schwalbe_racing_ralph_super-ground_26_x_2_25_addix_speed.jpg',`file_url_thumb`='bcprisme/38191_pneu_schwalbe_racing_ralph_super-ground_26_x_2_25_addix_speed.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1280802'
2023-10-13	13:39:11	4201	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:11	4201	[DEBUG]	Executed store
2023-10-13	13:39:11	4201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863693','1280802','1')
2023-10-13	13:39:11	4201	[DEBUG]	Store product image relation
2023-10-13	13:39:11	4201	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:11	4201	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863693 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:11	4201	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:11	4201	[DEBUG]	Executed store
2023-10-13	13:39:11	4201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863693','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:11	4201	[DEBUG]	Checking manufacturer
2023-10-13	13:39:11	4201	[DEBUG]	Load a row
2023-10-13	13:39:11	4201	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:11	4201	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:11	4201	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:11	4201	[DEBUG]	Executed store
2023-10-13	13:39:11	4201	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:11	4201	[DEBUG]	Manufacturer exists
2023-10-13	13:39:11	4201	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:11	4201	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:11	4201	[DEBUG]	Executed store
2023-10-13	13:39:11	4201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863693','25')
2023-10-13	13:39:11	4201	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:11	4201	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:11	4201	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863693 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:11	4201	[DEBUG]	Store custom available field
2023-10-13	13:39:11	4201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863693,3,'',1)
2023-10-13	13:39:11	4201	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:11	4201	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:11	4201	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863693 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:11	4201	[DEBUG]	Store custom available field
2023-10-13	13:39:11	4201	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863693,6,'Unitaire',3)
2023-10-13	13:39:11	4201	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:11	4201	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:11	4201	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863692
2023-10-13	13:39:11	4201	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:11	4201	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863692\":[1863692,8,1,\"choisir la taille\"],\"1863693\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863692
2023-10-13	13:39:11	4201	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:11	4201	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863693
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:11	4202	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field taille
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:11	4202	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:11	4202	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:11	4202	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:11	4202	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:11	4202	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:11	4202	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:11	4202	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field published
2023-10-13	13:39:11	4202	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:11	4202	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field override
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:11	4202	[DEBUG]	Use field value for field slug
2023-10-13	13:39:11	4202	[DEBUG]	Process line 4202
2023-10-13	13:39:11	4202	[DEBUG]	Load a row
2023-10-13	13:39:11	4202	[DEBUG]	Processing item: A_9413_84
2023-10-13	13:39:11	4202	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:11	4202	[DEBUG]	Processing product tax
2023-10-13	13:39:11	4202	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:11	4202	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:11	4202	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:11	4202	[DEBUG]	Query for Product
2023-10-13	13:39:11	4202	[DEBUG]	Executed store
2023-10-13	13:39:11	4202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9413_84','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:11	4202	[DEBUG]	Check product language entry
2023-10-13	13:39:11	4202	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863694
2023-10-13	13:39:11	4202	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:11	4202	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9413_84' AND `virtuemart_product_id` != 1863694
2023-10-13	13:39:11	4202	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:11	4202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863694, 'A_9413_84')
2023-10-13	13:39:11	4202	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:11	4202	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-26x1-50-rigide-avec-bande-reflechissante-black-black' AND `virtuemart_product_id` != 1863694
2023-10-13	13:39:11	4202	[DEBUG]	Query for ProductLang
2023-10-13	13:39:11	4202	[DEBUG]	Executed store
2023-10-13	13:39:11	4202	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56693',`product_name`='SCHWALBE Pneu Marathon 26x1.50 rigide avec bande réfléchissante black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-26x1-50-rigide-avec-bande-reflechissante-black-black' WHERE `virtuemart_product_id` = '1863694'
2023-10-13	13:39:11	4202	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56703_00.jpg
2023-10-13	13:39:11	4202	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:39:11	4202	[DEBUG]	Process image file
2023-10-13	13:39:11	4202	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:39:11	4202	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:11	4202	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56703_00.jpg
2023-10-13	13:39:11	4202	[DEBUG]	Full name target: bcprisme/24_56703_00.jpg
2023-10-13	13:39:12	4202	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:12	4202	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_56703_00.jpg'
2023-10-13	13:39:12	4202	[DEBUG]	Query for Media
2023-10-13	13:39:12	4202	[DEBUG]	Executed store
2023-10-13	13:39:12	4202	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_56703_00.jpg',`file_url_thumb`='bcprisme/24_56703_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1259548'
2023-10-13	13:39:12	4202	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:12	4202	[DEBUG]	Executed store
2023-10-13	13:39:12	4202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863694','1259548','1')
2023-10-13	13:39:12	4202	[DEBUG]	Store product image relation
2023-10-13	13:39:12	4202	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:12	4202	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863694 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:12	4202	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:12	4202	[DEBUG]	Executed store
2023-10-13	13:39:12	4202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863694','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:12	4202	[DEBUG]	Checking manufacturer
2023-10-13	13:39:12	4202	[DEBUG]	Load a row
2023-10-13	13:39:12	4202	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:12	4202	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:39:12	4202	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:12	4202	[DEBUG]	Executed store
2023-10-13	13:39:12	4202	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:39:12	4202	[DEBUG]	Manufacturer exists
2023-10-13	13:39:12	4202	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:39:12	4202	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:12	4202	[DEBUG]	Executed store
2023-10-13	13:39:12	4202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863694','24')
2023-10-13	13:39:12	4202	[DEBUG]	Find the custom field ID
2023-10-13	13:39:12	4202	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:12	4202	[DEBUG]	No custom field ID found
2023-10-13	13:39:12	4202	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:12	4202	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:12	4202	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863694 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:12	4202	[DEBUG]	Store custom available field
2023-10-13	13:39:12	4202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863694,3,'0',1)
2023-10-13	13:39:12	4202	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:12	4202	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:12	4202	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863694 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:12	4202	[DEBUG]	Store custom available field
2023-10-13	13:39:12	4202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863694,6,'choisir la taille',3)
2023-10-13	13:39:12	4202	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:12	4202	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:12	4202	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:12	4202	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:12	4202	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863694 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:12	4202	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:12	4202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863694,8,1)
2023-10-13	13:39:12	4202	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:12	4202	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863694\":[1863694,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863694
2023-10-13	13:39:12	4202	[DEBUG]	Checking category
2023-10-13	13:39:12	4202	[DEBUG]	Check if category path exists: PNEUS - REIFEN
2023-10-13	13:39:12	4202	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS - REIFEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:39:12	4202	[DEBUG]	Check if category path exists: PNEUS 26- REIFEN 26
2023-10-13	13:39:12	4202	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS 26- REIFEN 26' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:39:12	4202	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:12	4202	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863694
2023-10-13	13:39:12	4202	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:12	4202	[DEBUG]	Executed store
2023-10-13	13:39:12	4202	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863694','7409')
2023-10-13	13:39:12	4202	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:12	4202	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863694 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:39:12	4202	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:12	4202	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863694
2023-10-13	13:39:12	4203	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:12	4203	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:12	4203	[DEBUG]	Use field value for field taille
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:12	4203	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:12	4203	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:12	4203	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:12	4203	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:12	4203	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:12	4203	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:12	4203	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:12	4203	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:12	4203	[DEBUG]	Use field value for field published
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:12	4203	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field override
2023-10-13	13:39:12	4203	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:12	4203	[DEBUG]	Use field value for field slug
2023-10-13	13:39:12	4203	[DEBUG]	Process line 4203
2023-10-13	13:39:12	4203	[DEBUG]	Load a row
2023-10-13	13:39:12	4203	[DEBUG]	Processing item: 4026495627573
2023-10-13	13:39:12	4203	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:12	4203	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:12	4203	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9413_84'
2023-10-13	13:39:12	4203	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:12	4203	[DEBUG]	Processing product tax
2023-10-13	13:39:12	4203	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:12	4203	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:12	4203	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:12	4203	[DEBUG]	Query for Product
2023-10-13	13:39:12	4203	[DEBUG]	Executed store
2023-10-13	13:39:12	4203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863694','4026495627573','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:12	4203	[DEBUG]	No parent found
2023-10-13	13:39:12	4203	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863694 AND customfield_value = 'stockable'
2023-10-13	13:39:12	4203	[DEBUG]	Check product language entry
2023-10-13	13:39:12	4203	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863695
2023-10-13	13:39:12	4203	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:12	4203	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495627573' AND `virtuemart_product_id` != 1863695
2023-10-13	13:39:12	4203	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:12	4203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863695, '4026495627573')
2023-10-13	13:39:12	4203	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:12	4203	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-26x1-50-rigide-avec-bande-reflechissante-black-black-unitaire' AND `virtuemart_product_id` != 1863695
2023-10-13	13:39:12	4203	[DEBUG]	Query for ProductLang
2023-10-13	13:39:12	4203	[DEBUG]	Executed store
2023-10-13	13:39:12	4203	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Marathon 26x1.50 rigide avec bande réfléchissante black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-26x1-50-rigide-avec-bande-reflechissante-black-black-unitaire' WHERE `virtuemart_product_id` = '1863695'
2023-10-13	13:39:12	4203	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56703_00.jpg
2023-10-13	13:39:12	4203	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:39:12	4203	[DEBUG]	Process image file
2023-10-13	13:39:12	4203	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:39:12	4203	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:12	4203	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56703_00.jpg
2023-10-13	13:39:12	4203	[DEBUG]	Full name target: bcprisme/24_56703_00.jpg
2023-10-13	13:39:13	4203	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:13	4203	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_56703_00.jpg'
2023-10-13	13:39:13	4203	[DEBUG]	Query for Media
2023-10-13	13:39:13	4203	[DEBUG]	Executed store
2023-10-13	13:39:13	4203	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_56703_00.jpg',`file_url_thumb`='bcprisme/24_56703_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1259548'
2023-10-13	13:39:13	4203	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:13	4203	[DEBUG]	Executed store
2023-10-13	13:39:13	4203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863695','1259548','1')
2023-10-13	13:39:13	4203	[DEBUG]	Store product image relation
2023-10-13	13:39:13	4203	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:13	4203	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863695 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:13	4203	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:13	4203	[DEBUG]	Executed store
2023-10-13	13:39:13	4203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863695','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:13	4203	[DEBUG]	Checking manufacturer
2023-10-13	13:39:13	4203	[DEBUG]	Load a row
2023-10-13	13:39:13	4203	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:13	4203	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:39:13	4203	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:13	4203	[DEBUG]	Executed store
2023-10-13	13:39:13	4203	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:39:13	4203	[DEBUG]	Manufacturer exists
2023-10-13	13:39:13	4203	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:39:13	4203	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:13	4203	[DEBUG]	Executed store
2023-10-13	13:39:13	4203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863695','24')
2023-10-13	13:39:13	4203	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:13	4203	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:13	4203	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863695 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:13	4203	[DEBUG]	Store custom available field
2023-10-13	13:39:13	4203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863695,3,'',1)
2023-10-13	13:39:13	4203	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:13	4203	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:13	4203	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863695 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:13	4203	[DEBUG]	Store custom available field
2023-10-13	13:39:13	4203	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863695,6,'Unitaire',3)
2023-10-13	13:39:13	4203	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:13	4203	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:13	4203	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863694
2023-10-13	13:39:13	4203	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:13	4203	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863694\":[1863694,8,1,\"choisir la taille\"],\"1863695\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863694
2023-10-13	13:39:13	4203	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:13	4203	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863695
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:13	4204	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field taille
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:13	4204	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:13	4204	[DEBUG]	Use default value for field file_url
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:13	4204	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:13	4204	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:13	4204	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:13	4204	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:13	4204	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:13	4204	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field published
2023-10-13	13:39:13	4204	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:13	4204	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field override
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:13	4204	[DEBUG]	Use field value for field slug
2023-10-13	13:39:13	4204	[DEBUG]	Process line 4204
2023-10-13	13:39:13	4204	[DEBUG]	Load a row
2023-10-13	13:39:13	4204	[DEBUG]	Processing item: A_9848_1
2023-10-13	13:39:13	4204	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:13	4204	[DEBUG]	Processing product tax
2023-10-13	13:39:13	4204	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:13	4204	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:13	4204	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:13	4204	[DEBUG]	Query for Product
2023-10-13	13:39:13	4204	[DEBUG]	Executed store
2023-10-13	13:39:13	4204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9848_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:13	4204	[DEBUG]	Check product language entry
2023-10-13	13:39:13	4204	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863696
2023-10-13	13:39:13	4204	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:13	4204	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9848_1' AND `virtuemart_product_id` != 1863696
2023-10-13	13:39:13	4204	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:13	4204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863696, 'A_9848_1')
2023-10-13	13:39:13	4204	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:13	4204	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-26-x-2-10-wire-33-tpi-noir' AND `virtuemart_product_id` != 1863696
2023-10-13	13:39:13	4204	[DEBUG]	Query for ProductLang
2023-10-13	13:39:13	4204	[DEBUG]	Executed store
2023-10-13	13:39:13	4204	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : ROL26210W',`product_name`='MSC PNEU ROLLER 26 X 2.10 wire 33 TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-26-x-2-10-wire-33-tpi-noir' WHERE `virtuemart_product_id` = '1863696'
2023-10-13	13:39:13	4204	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:13	4204	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863696 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:13	4204	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:13	4204	[DEBUG]	Executed store
2023-10-13	13:39:13	4204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863696','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:13	4204	[DEBUG]	Checking manufacturer
2023-10-13	13:39:13	4204	[DEBUG]	Load a row
2023-10-13	13:39:13	4204	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:13	4204	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:13	4204	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:13	4204	[DEBUG]	Executed store
2023-10-13	13:39:13	4204	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:13	4204	[DEBUG]	Manufacturer exists
2023-10-13	13:39:13	4204	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:13	4204	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:13	4204	[DEBUG]	Executed store
2023-10-13	13:39:13	4204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863696','32')
2023-10-13	13:39:13	4204	[DEBUG]	Find the custom field ID
2023-10-13	13:39:13	4204	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:13	4204	[DEBUG]	No custom field ID found
2023-10-13	13:39:13	4204	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:13	4204	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:13	4204	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863696 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:13	4204	[DEBUG]	Store custom available field
2023-10-13	13:39:13	4204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863696,3,'0',1)
2023-10-13	13:39:13	4204	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:13	4204	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:13	4204	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863696 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:13	4204	[DEBUG]	Store custom available field
2023-10-13	13:39:13	4204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863696,6,'choisir la taille',3)
2023-10-13	13:39:13	4204	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:13	4204	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:13	4204	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:13	4204	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:13	4204	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863696 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:13	4204	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:13	4204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863696,8,1)
2023-10-13	13:39:13	4204	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:13	4204	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863696\":[1863696,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863696
2023-10-13	13:39:13	4204	[DEBUG]	Checking category
2023-10-13	13:39:13	4204	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:13	4204	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863696
2023-10-13	13:39:13	4204	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:13	4204	[DEBUG]	Executed store
2023-10-13	13:39:13	4204	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863696','7409')
2023-10-13	13:39:13	4204	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:13	4204	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863696 AND `virtuemart_category_id` NOT IN (7409)
2023-10-13	13:39:13	4204	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:13	4204	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863696
2023-10-13	13:39:13	4205	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:13	4205	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:13	4205	[DEBUG]	Use field value for field taille
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:13	4205	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:13	4205	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:13	4205	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field file_url
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:13	4205	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:13	4205	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:13	4205	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:13	4205	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:13	4205	[DEBUG]	Use field value for field published
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:13	4205	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field override
2023-10-13	13:39:13	4205	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:13	4205	[DEBUG]	Use field value for field slug
2023-10-13	13:39:13	4205	[DEBUG]	Process line 4205
2023-10-13	13:39:13	4205	[DEBUG]	Load a row
2023-10-13	13:39:13	4205	[DEBUG]	Processing item: 1000022735286
2023-10-13	13:39:13	4205	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:13	4205	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:13	4205	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9848_1'
2023-10-13	13:39:13	4205	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:13	4205	[DEBUG]	Processing product tax
2023-10-13	13:39:13	4205	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:13	4205	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:13	4205	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:13	4205	[DEBUG]	Query for Product
2023-10-13	13:39:13	4205	[DEBUG]	Executed store
2023-10-13	13:39:13	4205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863696','1000022735286','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:13	4205	[DEBUG]	No parent found
2023-10-13	13:39:13	4205	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863696 AND customfield_value = 'stockable'
2023-10-13	13:39:13	4205	[DEBUG]	Check product language entry
2023-10-13	13:39:13	4205	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863697
2023-10-13	13:39:13	4205	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:13	4205	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000022735286' AND `virtuemart_product_id` != 1863697
2023-10-13	13:39:13	4205	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:13	4205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863697, '1000022735286')
2023-10-13	13:39:13	4205	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:13	4205	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-26-x-2-10-wire-33-tpi-noir-unitaire' AND `virtuemart_product_id` != 1863697
2023-10-13	13:39:13	4205	[DEBUG]	Query for ProductLang
2023-10-13	13:39:13	4205	[DEBUG]	Executed store
2023-10-13	13:39:13	4205	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROLLER 26 X 2.10 wire 33 TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-26-x-2-10-wire-33-tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863697'
2023-10-13	13:39:13	4205	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:13	4205	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863697 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:13	4205	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:13	4205	[DEBUG]	Executed store
2023-10-13	13:39:13	4205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863697','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:13	4205	[DEBUG]	Checking manufacturer
2023-10-13	13:39:13	4205	[DEBUG]	Load a row
2023-10-13	13:39:13	4205	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:13	4205	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:13	4205	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:13	4205	[DEBUG]	Executed store
2023-10-13	13:39:13	4205	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:13	4205	[DEBUG]	Manufacturer exists
2023-10-13	13:39:13	4205	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:13	4205	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:13	4205	[DEBUG]	Executed store
2023-10-13	13:39:13	4205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863697','32')
2023-10-13	13:39:13	4205	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:13	4205	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:13	4205	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863697 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:13	4205	[DEBUG]	Store custom available field
2023-10-13	13:39:13	4205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863697,3,'',1)
2023-10-13	13:39:13	4205	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:13	4205	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:13	4205	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863697 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:13	4205	[DEBUG]	Store custom available field
2023-10-13	13:39:13	4205	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863697,6,'Unitaire',3)
2023-10-13	13:39:13	4205	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:13	4205	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:13	4205	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863696
2023-10-13	13:39:13	4205	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:13	4205	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863696\":[1863696,8,1,\"choisir la taille\"],\"1863697\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863696
2023-10-13	13:39:13	4205	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:13	4205	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863697
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:13	4206	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field taille
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:13	4206	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:13	4206	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:13	4206	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:13	4206	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:13	4206	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:13	4206	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field published
2023-10-13	13:39:13	4206	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:13	4206	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field override
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:13	4206	[DEBUG]	Use field value for field slug
2023-10-13	13:39:13	4206	[DEBUG]	Process line 4206
2023-10-13	13:39:13	4206	[DEBUG]	Load a row
2023-10-13	13:39:13	4206	[DEBUG]	Processing item: A_4510_1
2023-10-13	13:39:13	4206	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:13	4206	[DEBUG]	Processing product tax
2023-10-13	13:39:13	4206	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:13	4206	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:13	4206	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:13	4206	[DEBUG]	Query for Product
2023-10-13	13:39:13	4206	[DEBUG]	Executed store
2023-10-13	13:39:13	4206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4510_1','0.57','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:13	4206	[DEBUG]	Check product language entry
2023-10-13	13:39:13	4206	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863698
2023-10-13	13:39:13	4206	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:13	4206	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4510_1' AND `virtuemart_product_id` != 1863698
2023-10-13	13:39:13	4206	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:13	4206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863698, 'A_4510_1')
2023-10-13	13:39:13	4206	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:13	4206	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-27-5-x-2-10-tlr-2c-xc-pro-60tpi-noir' AND `virtuemart_product_id` != 1863698
2023-10-13	13:39:13	4206	[DEBUG]	Query for ProductLang
2023-10-13	13:39:13	4206	[DEBUG]	Executed store
2023-10-13	13:39:13	4206	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='740 g<br>-Accroche: 3/5<br>-Traction: 4/5<br>-Vitesse: 5/5<br>-Sol optimal: sec/humide<br>-Gomme: 62a/60a<br>-ETRTO 54-584<br><br>Un pari imbattable en XC Marathon! Un véritable concentré de technologies pour un rendement optimal sur terrains secs et roulants.<br><br>La géométrie inclinée des crampons centraux, son profil bas et un espacement réduit favorisent un meilleur contact avec la superficie et garantissent un roulement extrêmement rapide. De plus cette disposition augmente un peu plus la résistance aux coupures et crevaisons. Les rainures horizontales sur les crampons de transition, offrent une traction excellente sur des tracés droits et lors des montés<br><br>Le crampon latéral, rectangulaire et taillé à 90º avec des rainures verticales et une entaille en escalier, assure une excellente accroche latérale à grande vitesse dans tous types de courbes.<br><br>N° art fourn : ROL275210TLR2C',`product_name`='MSC PNEU ROLLER 27.5 X 2.10 TLR 2C XC PRO 60TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-27-5-x-2-10-tlr-2c-xc-pro-60tpi-noir' WHERE `virtuemart_product_id` = '1863698'
2023-10-13	13:39:13	4206	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27312_roller_27_5_x_2_10,_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_62a-52a_2c-xc_pro.jpg
2023-10-13	13:39:13	4206	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:13	4206	[DEBUG]	Process image file
2023-10-13	13:39:13	4206	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:13	4206	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:13	4206	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27312_roller_27_5_x_2_10,_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_62a-52a_2c-xc_pro.jpg
2023-10-13	13:39:13	4206	[DEBUG]	Full name target: bcprisme/27312_roller_27_5_x_2_10,_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_62a-52a_2c-xc_pro.jpg
2023-10-13	13:39:14	4206	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:14	4206	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27312_roller_27_5_x_2_10,_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_62a-52a_2c-xc_pro.jpg'
2023-10-13	13:39:14	4206	[DEBUG]	Query for Media
2023-10-13	13:39:14	4206	[DEBUG]	Executed store
2023-10-13	13:39:14	4206	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27312_roller_27_5_x_2_10,_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_62a-52a_2c-xc_pro.jpg',`file_url_thumb`='bcprisme/27312_roller_27_5_x_2_10,_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_62a-52a_2c-xc_pro.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14498'
2023-10-13	13:39:14	4206	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:14	4206	[DEBUG]	Executed store
2023-10-13	13:39:14	4206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863698','14498','1')
2023-10-13	13:39:14	4206	[DEBUG]	Store product image relation
2023-10-13	13:39:14	4206	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:14	4206	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863698 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:14	4206	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:14	4206	[DEBUG]	Executed store
2023-10-13	13:39:14	4206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863698','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:14	4206	[DEBUG]	Checking manufacturer
2023-10-13	13:39:14	4206	[DEBUG]	Load a row
2023-10-13	13:39:14	4206	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:14	4206	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:14	4206	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:14	4206	[DEBUG]	Executed store
2023-10-13	13:39:14	4206	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:14	4206	[DEBUG]	Manufacturer exists
2023-10-13	13:39:14	4206	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:14	4206	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:14	4206	[DEBUG]	Executed store
2023-10-13	13:39:14	4206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863698','32')
2023-10-13	13:39:14	4206	[DEBUG]	Find the custom field ID
2023-10-13	13:39:14	4206	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:14	4206	[DEBUG]	No custom field ID found
2023-10-13	13:39:14	4206	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:14	4206	[DEBUG]	Get existing row with customfield value 42.7808333333333
2023-10-13	13:39:14	4206	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863698 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:14	4206	[DEBUG]	Store custom available field
2023-10-13	13:39:14	4206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863698,3,'42.7808333333333',1)
2023-10-13	13:39:14	4206	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:14	4206	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:14	4206	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863698 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:14	4206	[DEBUG]	Store custom available field
2023-10-13	13:39:14	4206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863698,6,'choisir la taille',3)
2023-10-13	13:39:14	4206	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:14	4206	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:14	4206	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:14	4206	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:14	4206	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863698 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:14	4206	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:14	4206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863698,8,1)
2023-10-13	13:39:14	4206	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:14	4206	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863698\":[1863698,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863698
2023-10-13	13:39:14	4206	[DEBUG]	Checking category
2023-10-13	13:39:14	4206	[DEBUG]	Check if category path exists: PNEUS 27.5 - REIFEN 27.5
2023-10-13	13:39:14	4206	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS 27.5 - REIFEN 27.5' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:39:14	4206	[DEBUG]	Query for Category
2023-10-13	13:39:14	4206	[DEBUG]	Executed store
2023-10-13	13:39:14	4206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','14','0','1','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:14	4206	[DEBUG]	Category publish 1
2023-10-13	13:39:14	4206	[DEBUG]	Check the category language
2023-10-13	13:39:14	4206	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7410
2023-10-13	13:39:14	4206	[DEBUG]	Check the category slug
2023-10-13	13:39:14	4206	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-27-5---reifen-27-5' AND `virtuemart_category_id` != 7410
2023-10-13	13:39:14	4206	[DEBUG]	Check the category slug
2023-10-13	13:39:14	4206	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-27-5---reifen-27-5' AND `virtuemart_category_id` != 7410
2023-10-13	13:39:14	4206	[DEBUG]	Add the category language entry
2023-10-13	13:39:14	4206	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7410, 'pneus-27-5---reifen-27-5')
2023-10-13	13:39:14	4206	[DEBUG]	Query for CategoryLang
2023-10-13	13:39:14	4206	[DEBUG]	Executed store
2023-10-13	13:39:14	4206	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PNEUS 27.5 - REIFEN 27.5',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pneus-27-5---reifen-27-5' WHERE `virtuemart_category_id` = '7410'
2023-10-13	13:39:14	4206	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:39:14	4206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7410','0')
2023-10-13	13:39:14	4206	[DEBUG]	Update has field for parent category
2023-10-13	13:39:14	4206	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:39:14	4206	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:14	4206	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863698
2023-10-13	13:39:14	4206	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:14	4206	[DEBUG]	Executed store
2023-10-13	13:39:14	4206	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863698','7410')
2023-10-13	13:39:14	4206	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:14	4206	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863698 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:14	4206	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:14	4206	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863698
2023-10-13	13:39:14	4207	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:14	4207	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:14	4207	[DEBUG]	Use field value for field taille
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:14	4207	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:14	4207	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:14	4207	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:14	4207	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:14	4207	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:14	4207	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:14	4207	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:14	4207	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:14	4207	[DEBUG]	Use field value for field published
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:14	4207	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field override
2023-10-13	13:39:14	4207	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:14	4207	[DEBUG]	Use field value for field slug
2023-10-13	13:39:14	4207	[DEBUG]	Process line 4207
2023-10-13	13:39:14	4207	[DEBUG]	Load a row
2023-10-13	13:39:14	4207	[DEBUG]	Processing item: 8435466214258
2023-10-13	13:39:14	4207	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:14	4207	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:14	4207	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4510_1'
2023-10-13	13:39:14	4207	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:14	4207	[DEBUG]	Processing product tax
2023-10-13	13:39:14	4207	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:14	4207	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:14	4207	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:14	4207	[DEBUG]	Query for Product
2023-10-13	13:39:14	4207	[DEBUG]	Executed store
2023-10-13	13:39:14	4207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863698','8435466214258','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:14	4207	[DEBUG]	No parent found
2023-10-13	13:39:14	4207	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863698 AND customfield_value = 'stockable'
2023-10-13	13:39:14	4207	[DEBUG]	Check product language entry
2023-10-13	13:39:14	4207	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863699
2023-10-13	13:39:14	4207	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:14	4207	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214258' AND `virtuemart_product_id` != 1863699
2023-10-13	13:39:14	4207	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:14	4207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863699, '8435466214258')
2023-10-13	13:39:14	4207	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:14	4207	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-27-5-x-2-10-tlr-2c-xc-pro-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863699
2023-10-13	13:39:14	4207	[DEBUG]	Query for ProductLang
2023-10-13	13:39:14	4207	[DEBUG]	Executed store
2023-10-13	13:39:14	4207	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROLLER 27.5 X 2.10 TLR 2C XC PRO 60TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-27-5-x-2-10-tlr-2c-xc-pro-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863699'
2023-10-13	13:39:14	4207	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27312_roller_27_5_x_2_10,_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_62a-52a_2c-xc_pro.jpg
2023-10-13	13:39:14	4207	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:14	4207	[DEBUG]	Process image file
2023-10-13	13:39:14	4207	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:14	4207	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:14	4207	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27312_roller_27_5_x_2_10,_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_62a-52a_2c-xc_pro.jpg
2023-10-13	13:39:14	4207	[DEBUG]	Full name target: bcprisme/27312_roller_27_5_x_2_10,_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_62a-52a_2c-xc_pro.jpg
2023-10-13	13:39:15	4207	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:15	4207	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27312_roller_27_5_x_2_10,_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_62a-52a_2c-xc_pro.jpg'
2023-10-13	13:39:15	4207	[DEBUG]	Query for Media
2023-10-13	13:39:15	4207	[DEBUG]	Executed store
2023-10-13	13:39:15	4207	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27312_roller_27_5_x_2_10,_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_62a-52a_2c-xc_pro.jpg',`file_url_thumb`='bcprisme/27312_roller_27_5_x_2_10,_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_62a-52a_2c-xc_pro.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14498'
2023-10-13	13:39:15	4207	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:15	4207	[DEBUG]	Executed store
2023-10-13	13:39:15	4207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863699','14498','1')
2023-10-13	13:39:15	4207	[DEBUG]	Store product image relation
2023-10-13	13:39:15	4207	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:15	4207	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863699 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:15	4207	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:15	4207	[DEBUG]	Executed store
2023-10-13	13:39:15	4207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863699','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:15	4207	[DEBUG]	Checking manufacturer
2023-10-13	13:39:15	4207	[DEBUG]	Load a row
2023-10-13	13:39:15	4207	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:15	4207	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:15	4207	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:15	4207	[DEBUG]	Executed store
2023-10-13	13:39:15	4207	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:15	4207	[DEBUG]	Manufacturer exists
2023-10-13	13:39:15	4207	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:15	4207	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:15	4207	[DEBUG]	Executed store
2023-10-13	13:39:15	4207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863699','32')
2023-10-13	13:39:15	4207	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:15	4207	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:15	4207	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863699 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:15	4207	[DEBUG]	Store custom available field
2023-10-13	13:39:15	4207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863699,3,'',1)
2023-10-13	13:39:15	4207	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:15	4207	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:15	4207	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863699 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:15	4207	[DEBUG]	Store custom available field
2023-10-13	13:39:15	4207	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863699,6,'Unitaire',3)
2023-10-13	13:39:15	4207	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:15	4207	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:15	4207	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863698
2023-10-13	13:39:15	4207	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:15	4207	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863698\":[1863698,8,1,\"choisir la taille\"],\"1863699\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863698
2023-10-13	13:39:15	4207	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:15	4207	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863699
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:15	4208	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field taille
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:15	4208	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:15	4208	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:15	4208	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:15	4208	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:15	4208	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:15	4208	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field published
2023-10-13	13:39:15	4208	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:15	4208	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field override
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:15	4208	[DEBUG]	Use field value for field slug
2023-10-13	13:39:15	4208	[DEBUG]	Process line 4208
2023-10-13	13:39:15	4208	[DEBUG]	Load a row
2023-10-13	13:39:15	4208	[DEBUG]	Processing item: A_4512_1
2023-10-13	13:39:15	4208	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:15	4208	[DEBUG]	Processing product tax
2023-10-13	13:39:15	4208	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:15	4208	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:15	4208	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:15	4208	[DEBUG]	Query for Product
2023-10-13	13:39:15	4208	[DEBUG]	Executed store
2023-10-13	13:39:15	4208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4512_1','0.57','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:15	4208	[DEBUG]	Check product language entry
2023-10-13	13:39:15	4208	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863700
2023-10-13	13:39:15	4208	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:15	4208	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4512_1' AND `virtuemart_product_id` != 1863700
2023-10-13	13:39:15	4208	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:15	4208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863700, 'A_4512_1')
2023-10-13	13:39:15	4208	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:15	4208	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-27-5-x-2-10-33tpi-noir' AND `virtuemart_product_id` != 1863700
2023-10-13	13:39:15	4208	[DEBUG]	Query for ProductLang
2023-10-13	13:39:15	4208	[DEBUG]	Executed store
2023-10-13	13:39:15	4208	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='780 g<br>-Accroche: 3/5<br>-Traction: 4/5<br>-Vitesse: 5/5<br>-Sol optimal: sec/humide<br>-Gomme: 62a<br>-ETRTO 54-584<br><br>Un pari imbattable en XC Marathon! Un véritable concentré de technologies pour un rendement optimal sur terrains secs et roulants.<br><br>La géométrie inclinée des crampons centraux, son profil bas et un espacement réduit favorisent un meilleur contact avec la superficie et garantissent un roulement extrêmement rapide. De plus cette disposition augmente un peu plus la résistance aux coupures et crevaisons. Les rainures horizontales sur les crampons de transition, offrent une traction excellente sur des tracés droits et lors des montés<br><br>Le crampon latéral, rectangulaire et taillé à 90º avec des rainures verticales et une entaille en escalier, assure une excellente accroche latérale à grande vitesse dans tous types de courbes.<br>N° art fourn : ROL275201W',`product_name`='MSC PNEU ROLLER 27.5 X 2.10 33TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-27-5-x-2-10-33tpi-noir' WHERE `virtuemart_product_id` = '1863700'
2023-10-13	13:39:15	4208	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27314_roller_27_5_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:39:15	4208	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:15	4208	[DEBUG]	Process image file
2023-10-13	13:39:15	4208	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:15	4208	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:15	4208	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27314_roller_27_5_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:39:15	4208	[DEBUG]	Full name target: bcprisme/27314_roller_27_5_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:39:16	4208	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:16	4208	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27314_roller_27_5_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg'
2023-10-13	13:39:16	4208	[DEBUG]	Query for Media
2023-10-13	13:39:16	4208	[DEBUG]	Executed store
2023-10-13	13:39:16	4208	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27314_roller_27_5_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg',`file_url_thumb`='bcprisme/27314_roller_27_5_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14499'
2023-10-13	13:39:16	4208	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:16	4208	[DEBUG]	Executed store
2023-10-13	13:39:16	4208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863700','14499','1')
2023-10-13	13:39:16	4208	[DEBUG]	Store product image relation
2023-10-13	13:39:16	4208	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:16	4208	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863700 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:16	4208	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:16	4208	[DEBUG]	Executed store
2023-10-13	13:39:16	4208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863700','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:16	4208	[DEBUG]	Checking manufacturer
2023-10-13	13:39:16	4208	[DEBUG]	Load a row
2023-10-13	13:39:16	4208	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:16	4208	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:16	4208	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:16	4208	[DEBUG]	Executed store
2023-10-13	13:39:16	4208	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:16	4208	[DEBUG]	Manufacturer exists
2023-10-13	13:39:16	4208	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:16	4208	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:16	4208	[DEBUG]	Executed store
2023-10-13	13:39:16	4208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863700','32')
2023-10-13	13:39:16	4208	[DEBUG]	Find the custom field ID
2023-10-13	13:39:16	4208	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:16	4208	[DEBUG]	No custom field ID found
2023-10-13	13:39:16	4208	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:16	4208	[DEBUG]	Get existing row with customfield value 22.8363888888889
2023-10-13	13:39:16	4208	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863700 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:16	4208	[DEBUG]	Store custom available field
2023-10-13	13:39:16	4208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863700,3,'22.8363888888889',1)
2023-10-13	13:39:16	4208	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:16	4208	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:16	4208	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863700 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:16	4208	[DEBUG]	Store custom available field
2023-10-13	13:39:16	4208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863700,6,'choisir la taille',3)
2023-10-13	13:39:16	4208	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:16	4208	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:16	4208	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:16	4208	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:16	4208	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863700 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:16	4208	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:16	4208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863700,8,1)
2023-10-13	13:39:16	4208	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:16	4208	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863700\":[1863700,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863700
2023-10-13	13:39:16	4208	[DEBUG]	Checking category
2023-10-13	13:39:16	4208	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:16	4208	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863700
2023-10-13	13:39:16	4208	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:16	4208	[DEBUG]	Executed store
2023-10-13	13:39:16	4208	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863700','7410')
2023-10-13	13:39:16	4208	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:16	4208	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863700 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:16	4208	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:16	4208	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863700
2023-10-13	13:39:16	4209	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:16	4209	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:16	4209	[DEBUG]	Use field value for field taille
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:16	4209	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:16	4209	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:16	4209	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:16	4209	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:16	4209	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:16	4209	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:16	4209	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:16	4209	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:16	4209	[DEBUG]	Use field value for field published
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:16	4209	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field override
2023-10-13	13:39:16	4209	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:16	4209	[DEBUG]	Use field value for field slug
2023-10-13	13:39:16	4209	[DEBUG]	Process line 4209
2023-10-13	13:39:16	4209	[DEBUG]	Load a row
2023-10-13	13:39:16	4209	[DEBUG]	Processing item: 8435466214296
2023-10-13	13:39:16	4209	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:16	4209	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:16	4209	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4512_1'
2023-10-13	13:39:16	4209	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:16	4209	[DEBUG]	Processing product tax
2023-10-13	13:39:16	4209	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:16	4209	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:16	4209	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:16	4209	[DEBUG]	Query for Product
2023-10-13	13:39:16	4209	[DEBUG]	Executed store
2023-10-13	13:39:16	4209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863700','8435466214296','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:16	4209	[DEBUG]	No parent found
2023-10-13	13:39:16	4209	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863700 AND customfield_value = 'stockable'
2023-10-13	13:39:16	4209	[DEBUG]	Check product language entry
2023-10-13	13:39:16	4209	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863701
2023-10-13	13:39:16	4209	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:16	4209	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214296' AND `virtuemart_product_id` != 1863701
2023-10-13	13:39:16	4209	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:16	4209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863701, '8435466214296')
2023-10-13	13:39:16	4209	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:16	4209	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-27-5-x-2-10-33tpi-noir-unitaire' AND `virtuemart_product_id` != 1863701
2023-10-13	13:39:16	4209	[DEBUG]	Query for ProductLang
2023-10-13	13:39:16	4209	[DEBUG]	Executed store
2023-10-13	13:39:16	4209	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROLLER 27.5 X 2.10 33TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-27-5-x-2-10-33tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863701'
2023-10-13	13:39:16	4209	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27314_roller_27_5_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:39:16	4209	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:16	4209	[DEBUG]	Process image file
2023-10-13	13:39:16	4209	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:16	4209	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:16	4209	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27314_roller_27_5_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:39:16	4209	[DEBUG]	Full name target: bcprisme/27314_roller_27_5_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:39:17	4209	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:17	4209	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27314_roller_27_5_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg'
2023-10-13	13:39:17	4209	[DEBUG]	Query for Media
2023-10-13	13:39:17	4209	[DEBUG]	Executed store
2023-10-13	13:39:17	4209	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27314_roller_27_5_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg',`file_url_thumb`='bcprisme/27314_roller_27_5_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14499'
2023-10-13	13:39:17	4209	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:17	4209	[DEBUG]	Executed store
2023-10-13	13:39:17	4209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863701','14499','1')
2023-10-13	13:39:17	4209	[DEBUG]	Store product image relation
2023-10-13	13:39:17	4209	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:17	4209	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863701 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:17	4209	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:17	4209	[DEBUG]	Executed store
2023-10-13	13:39:17	4209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863701','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:17	4209	[DEBUG]	Checking manufacturer
2023-10-13	13:39:17	4209	[DEBUG]	Load a row
2023-10-13	13:39:17	4209	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:17	4209	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:17	4209	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:17	4209	[DEBUG]	Executed store
2023-10-13	13:39:17	4209	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:17	4209	[DEBUG]	Manufacturer exists
2023-10-13	13:39:17	4209	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:17	4209	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:17	4209	[DEBUG]	Executed store
2023-10-13	13:39:17	4209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863701','32')
2023-10-13	13:39:17	4209	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:17	4209	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:17	4209	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863701 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:17	4209	[DEBUG]	Store custom available field
2023-10-13	13:39:17	4209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863701,3,'',1)
2023-10-13	13:39:17	4209	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:17	4209	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:17	4209	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863701 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:17	4209	[DEBUG]	Store custom available field
2023-10-13	13:39:17	4209	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863701,6,'Unitaire',3)
2023-10-13	13:39:17	4209	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:17	4209	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:17	4209	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863700
2023-10-13	13:39:17	4209	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:17	4209	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863700\":[1863700,8,1,\"choisir la taille\"],\"1863701\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863700
2023-10-13	13:39:17	4209	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:17	4209	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863701
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:17	4210	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field taille
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:17	4210	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:17	4210	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:17	4210	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:17	4210	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:17	4210	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:17	4210	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field published
2023-10-13	13:39:17	4210	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:17	4210	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field override
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:17	4210	[DEBUG]	Use field value for field slug
2023-10-13	13:39:17	4210	[DEBUG]	Process line 4210
2023-10-13	13:39:17	4210	[DEBUG]	Load a row
2023-10-13	13:39:17	4210	[DEBUG]	Processing item: A_4528_1
2023-10-13	13:39:17	4210	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:17	4210	[DEBUG]	Processing product tax
2023-10-13	13:39:17	4210	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:17	4210	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:17	4210	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:17	4210	[DEBUG]	Query for Product
2023-10-13	13:39:17	4210	[DEBUG]	Executed store
2023-10-13	13:39:17	4210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4528_1','0.57','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:17	4210	[DEBUG]	Check product language entry
2023-10-13	13:39:17	4210	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863702
2023-10-13	13:39:17	4210	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:17	4210	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4528_1' AND `virtuemart_product_id` != 1863702
2023-10-13	13:39:17	4210	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:17	4210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863702, 'A_4528_1')
2023-10-13	13:39:17	4210	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:17	4210	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-27-5-x-2-20-tlr-2c-xc-pro-60tpi-noir' AND `virtuemart_product_id` != 1863702
2023-10-13	13:39:17	4210	[DEBUG]	Query for ProductLang
2023-10-13	13:39:17	4210	[DEBUG]	Executed store
2023-10-13	13:39:17	4210	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='820 g<br>-Accroche: 4/5<br>-Traction: 5/5<br>-Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br>-Gomme: 62a/60a<br>-ETRTO 56-584<br><br>Usage optimisé pour XC et All Mountain. Polyvalent, adapté pour terrains variés. <br><br>La zone de roulement centrale, formée de crampons carrés proéminents aux coupes verticales avec une finition rugueuse sur le dessus assurent un grip efficace sur toutes les superficies y compris glissantes. Le positionnement des crampons sur différents angles apporte de la traction dans toutes les circonstances.<br><br>La nervure verticale qui unit les crampons intermédiaires, les rend plus consistants et donne plus de stabilité au pneumatique. La zone latérale, avec ses crampons rectangulaires situés à 2 endroits distints offre une accroche plus efficace. Les rainures verticales comme horizontales apportent plus de flexibilités aux crampons qui s’adapteront plus facilement aux imperfections du terrain et une plus grande longévité des gommes. <br>N° art fourn : TRA275220TLR2C',`product_name`='MSC PNEU TRACTOR 27.5 X 2.20 TLR 2C XC PRO 60TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-27-5-x-2-20-tlr-2c-xc-pro-60tpi-noir' WHERE `virtuemart_product_id` = '1863702'
2023-10-13	13:39:17	4210	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27315_tractor_27_5_x_2_20_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:39:17	4210	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:17	4210	[DEBUG]	Process image file
2023-10-13	13:39:17	4210	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:17	4210	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:17	4210	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27315_tractor_27_5_x_2_20_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:39:17	4210	[DEBUG]	Full name target: bcprisme/27315_tractor_27_5_x_2_20_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:39:18	4210	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:18	4210	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27315_tractor_27_5_x_2_20_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg'
2023-10-13	13:39:18	4210	[DEBUG]	Query for Media
2023-10-13	13:39:18	4210	[DEBUG]	Executed store
2023-10-13	13:39:18	4210	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27315_tractor_27_5_x_2_20_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg',`file_url_thumb`='bcprisme/27315_tractor_27_5_x_2_20_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14500'
2023-10-13	13:39:18	4210	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:18	4210	[DEBUG]	Executed store
2023-10-13	13:39:18	4210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863702','14500','1')
2023-10-13	13:39:18	4210	[DEBUG]	Store product image relation
2023-10-13	13:39:18	4210	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:18	4210	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863702 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:18	4210	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:18	4210	[DEBUG]	Executed store
2023-10-13	13:39:18	4210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863702','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:18	4210	[DEBUG]	Checking manufacturer
2023-10-13	13:39:18	4210	[DEBUG]	Load a row
2023-10-13	13:39:18	4210	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:18	4210	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:18	4210	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:18	4210	[DEBUG]	Executed store
2023-10-13	13:39:18	4210	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:18	4210	[DEBUG]	Manufacturer exists
2023-10-13	13:39:18	4210	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:18	4210	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:18	4210	[DEBUG]	Executed store
2023-10-13	13:39:18	4210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863702','32')
2023-10-13	13:39:18	4210	[DEBUG]	Find the custom field ID
2023-10-13	13:39:18	4210	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:18	4210	[DEBUG]	No custom field ID found
2023-10-13	13:39:18	4210	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:18	4210	[DEBUG]	Get existing row with customfield value 46.7697222222222
2023-10-13	13:39:18	4210	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863702 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:18	4210	[DEBUG]	Store custom available field
2023-10-13	13:39:18	4210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863702,3,'46.7697222222222',1)
2023-10-13	13:39:18	4210	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:18	4210	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:18	4210	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863702 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:18	4210	[DEBUG]	Store custom available field
2023-10-13	13:39:18	4210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863702,6,'choisir la taille',3)
2023-10-13	13:39:18	4210	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:18	4210	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:18	4210	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:18	4210	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:18	4210	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863702 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:18	4210	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:18	4210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863702,8,1)
2023-10-13	13:39:18	4210	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:18	4210	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863702\":[1863702,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863702
2023-10-13	13:39:18	4210	[DEBUG]	Checking category
2023-10-13	13:39:18	4210	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:18	4210	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863702
2023-10-13	13:39:18	4210	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:18	4210	[DEBUG]	Executed store
2023-10-13	13:39:18	4210	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863702','7410')
2023-10-13	13:39:18	4210	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:18	4210	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863702 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:18	4210	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:18	4210	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863702
2023-10-13	13:39:18	4211	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:18	4211	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:18	4211	[DEBUG]	Use field value for field taille
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:18	4211	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:18	4211	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:18	4211	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:18	4211	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:18	4211	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:18	4211	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:18	4211	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:18	4211	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:18	4211	[DEBUG]	Use field value for field published
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:18	4211	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field override
2023-10-13	13:39:18	4211	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:18	4211	[DEBUG]	Use field value for field slug
2023-10-13	13:39:18	4211	[DEBUG]	Process line 4211
2023-10-13	13:39:18	4211	[DEBUG]	Load a row
2023-10-13	13:39:18	4211	[DEBUG]	Processing item: 8435466214333
2023-10-13	13:39:18	4211	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:18	4211	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:18	4211	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4528_1'
2023-10-13	13:39:18	4211	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:18	4211	[DEBUG]	Processing product tax
2023-10-13	13:39:18	4211	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:18	4211	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:18	4211	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:18	4211	[DEBUG]	Query for Product
2023-10-13	13:39:18	4211	[DEBUG]	Executed store
2023-10-13	13:39:18	4211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863702','8435466214333','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:18	4211	[DEBUG]	No parent found
2023-10-13	13:39:18	4211	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863702 AND customfield_value = 'stockable'
2023-10-13	13:39:18	4211	[DEBUG]	Check product language entry
2023-10-13	13:39:18	4211	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863703
2023-10-13	13:39:18	4211	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:18	4211	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214333' AND `virtuemart_product_id` != 1863703
2023-10-13	13:39:18	4211	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:18	4211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863703, '8435466214333')
2023-10-13	13:39:18	4211	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:18	4211	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-27-5-x-2-20-tlr-2c-xc-pro-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863703
2023-10-13	13:39:18	4211	[DEBUG]	Query for ProductLang
2023-10-13	13:39:18	4211	[DEBUG]	Executed store
2023-10-13	13:39:18	4211	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU TRACTOR 27.5 X 2.20 TLR 2C XC PRO 60TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-27-5-x-2-20-tlr-2c-xc-pro-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863703'
2023-10-13	13:39:18	4211	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27315_tractor_27_5_x_2_20_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:39:18	4211	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:18	4211	[DEBUG]	Process image file
2023-10-13	13:39:18	4211	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:18	4211	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:18	4211	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27315_tractor_27_5_x_2_20_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:39:18	4211	[DEBUG]	Full name target: bcprisme/27315_tractor_27_5_x_2_20_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:39:19	4211	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:19	4211	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27315_tractor_27_5_x_2_20_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg'
2023-10-13	13:39:19	4211	[DEBUG]	Query for Media
2023-10-13	13:39:19	4211	[DEBUG]	Executed store
2023-10-13	13:39:19	4211	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27315_tractor_27_5_x_2_20_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg',`file_url_thumb`='bcprisme/27315_tractor_27_5_x_2_20_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14500'
2023-10-13	13:39:19	4211	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:19	4211	[DEBUG]	Executed store
2023-10-13	13:39:19	4211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863703','14500','1')
2023-10-13	13:39:19	4211	[DEBUG]	Store product image relation
2023-10-13	13:39:19	4211	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:19	4211	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863703 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:19	4211	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:19	4211	[DEBUG]	Executed store
2023-10-13	13:39:19	4211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863703','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:19	4211	[DEBUG]	Checking manufacturer
2023-10-13	13:39:19	4211	[DEBUG]	Load a row
2023-10-13	13:39:19	4211	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:19	4211	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:19	4211	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:19	4211	[DEBUG]	Executed store
2023-10-13	13:39:19	4211	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:19	4211	[DEBUG]	Manufacturer exists
2023-10-13	13:39:19	4211	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:19	4211	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:19	4211	[DEBUG]	Executed store
2023-10-13	13:39:19	4211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863703','32')
2023-10-13	13:39:19	4211	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:19	4211	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:19	4211	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863703 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:19	4211	[DEBUG]	Store custom available field
2023-10-13	13:39:19	4211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863703,3,'',1)
2023-10-13	13:39:19	4211	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:19	4211	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:19	4211	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863703 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:19	4211	[DEBUG]	Store custom available field
2023-10-13	13:39:19	4211	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863703,6,'Unitaire',3)
2023-10-13	13:39:19	4211	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:19	4211	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:19	4211	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863702
2023-10-13	13:39:19	4211	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:19	4211	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863702\":[1863702,8,1,\"choisir la taille\"],\"1863703\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863702
2023-10-13	13:39:19	4211	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:19	4211	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863703
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:19	4212	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field taille
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:19	4212	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:19	4212	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:19	4212	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:19	4212	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:19	4212	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:19	4212	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field published
2023-10-13	13:39:19	4212	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:19	4212	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field override
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:19	4212	[DEBUG]	Use field value for field slug
2023-10-13	13:39:19	4212	[DEBUG]	Process line 4212
2023-10-13	13:39:19	4212	[DEBUG]	Load a row
2023-10-13	13:39:19	4212	[DEBUG]	Processing item: A_4529_1
2023-10-13	13:39:19	4212	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:19	4212	[DEBUG]	Processing product tax
2023-10-13	13:39:19	4212	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:19	4212	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:19	4212	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:19	4212	[DEBUG]	Query for Product
2023-10-13	13:39:19	4212	[DEBUG]	Executed store
2023-10-13	13:39:19	4212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4529_1','0.57','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:19	4212	[DEBUG]	Check product language entry
2023-10-13	13:39:19	4212	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863704
2023-10-13	13:39:19	4212	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:19	4212	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4529_1' AND `virtuemart_product_id` != 1863704
2023-10-13	13:39:19	4212	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:19	4212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863704, 'A_4529_1')
2023-10-13	13:39:19	4212	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:19	4212	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-27-5-x-2-20-33-tpi-noir' AND `virtuemart_product_id` != 1863704
2023-10-13	13:39:19	4212	[DEBUG]	Query for ProductLang
2023-10-13	13:39:19	4212	[DEBUG]	Executed store
2023-10-13	13:39:19	4212	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='795 g<br>-Accroche: 4/5<br>-Traction: 5/5<br>-Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br>-Gomme: 62a<br>-ETRTO 56-584<br><br>Usage optimisé pour XC et All Mountain. Polyvalent, adapté pour terrains variés.<br><br>La zone de roulement centrale, formée de crampons carrés proéminents aux coupes verticales avec une finition rugueuse sur le dessus assurent un grip efficace sur toutes les superficies y compris glissantes. Le positionnement des crampons sur différents angles apporte de la traction dans toutes les circonstances.<br><br>La nervure verticale qui unit les crampons intermédiaires, les rend plus consistants et donne plus de stabilité au pneumatique. La zone latérale, avec ses crampons rectangulaires situés à 2 endroits distints offre une accroche plus efficace. Les rainures verticales comme horizontales apportent plus de flexibilités aux crampons qui s’adapteront plus facilement aux imperfections du terrain et une plus grande longévité des gommes. <br>N° art fourn : TRA275220W',`product_name`='MSC PNEU TRACTOR 27.5 X 2.20 33 TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-27-5-x-2-20-33-tpi-noir' WHERE `virtuemart_product_id` = '1863704'
2023-10-13	13:39:19	4212	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27316_tractor_27_5_x_2_20,_rigide,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:39:19	4212	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:19	4212	[DEBUG]	Process image file
2023-10-13	13:39:19	4212	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:19	4212	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:19	4212	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27316_tractor_27_5_x_2_20,_rigide,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:39:19	4212	[DEBUG]	Full name target: bcprisme/27316_tractor_27_5_x_2_20,_rigide,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:39:20	4212	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:20	4212	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27316_tractor_27_5_x_2_20,_rigide,_33_tpi,_lateral_noir,_gomme_62a.jpg'
2023-10-13	13:39:20	4212	[DEBUG]	Query for Media
2023-10-13	13:39:20	4212	[DEBUG]	Executed store
2023-10-13	13:39:20	4212	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27316_tractor_27_5_x_2_20,_rigide,_33_tpi,_lateral_noir,_gomme_62a.jpg',`file_url_thumb`='bcprisme/27316_tractor_27_5_x_2_20,_rigide,_33_tpi,_lateral_noir,_gomme_62a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14501'
2023-10-13	13:39:20	4212	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:20	4212	[DEBUG]	Executed store
2023-10-13	13:39:20	4212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863704','14501','1')
2023-10-13	13:39:20	4212	[DEBUG]	Store product image relation
2023-10-13	13:39:20	4212	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:20	4212	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863704 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:20	4212	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:20	4212	[DEBUG]	Executed store
2023-10-13	13:39:20	4212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863704','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:20	4212	[DEBUG]	Checking manufacturer
2023-10-13	13:39:20	4212	[DEBUG]	Load a row
2023-10-13	13:39:20	4212	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:20	4212	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:20	4212	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:20	4212	[DEBUG]	Executed store
2023-10-13	13:39:20	4212	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:20	4212	[DEBUG]	Manufacturer exists
2023-10-13	13:39:20	4212	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:20	4212	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:20	4212	[DEBUG]	Executed store
2023-10-13	13:39:20	4212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863704','32')
2023-10-13	13:39:20	4212	[DEBUG]	Find the custom field ID
2023-10-13	13:39:20	4212	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:20	4212	[DEBUG]	No custom field ID found
2023-10-13	13:39:20	4212	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:20	4212	[DEBUG]	Get existing row with customfield value 24.8308333333333
2023-10-13	13:39:20	4212	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863704 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:20	4212	[DEBUG]	Store custom available field
2023-10-13	13:39:20	4212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863704,3,'24.8308333333333',1)
2023-10-13	13:39:20	4212	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:20	4212	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:20	4212	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863704 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:20	4212	[DEBUG]	Store custom available field
2023-10-13	13:39:20	4212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863704,6,'choisir la taille',3)
2023-10-13	13:39:20	4212	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:20	4212	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:20	4212	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:20	4212	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:20	4212	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863704 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:20	4212	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:20	4212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863704,8,1)
2023-10-13	13:39:20	4212	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:20	4212	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863704\":[1863704,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863704
2023-10-13	13:39:20	4212	[DEBUG]	Checking category
2023-10-13	13:39:20	4212	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:20	4212	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863704
2023-10-13	13:39:20	4212	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:20	4212	[DEBUG]	Executed store
2023-10-13	13:39:20	4212	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863704','7410')
2023-10-13	13:39:20	4212	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:20	4212	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863704 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:20	4212	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:20	4212	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863704
2023-10-13	13:39:20	4213	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:20	4213	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:20	4213	[DEBUG]	Use field value for field taille
2023-10-13	13:39:20	4213	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:20	4213	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:20	4213	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:20	4213	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:20	4213	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:20	4213	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:20	4213	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:20	4213	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:20	4213	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:20	4213	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:20	4213	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:20	4213	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:20	4213	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:20	4213	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:20	4213	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:20	4213	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:20	4213	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:20	4213	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:20	4213	[DEBUG]	Use field value for field published
2023-10-13	13:39:21	4213	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:21	4213	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:21	4213	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:21	4213	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:21	4213	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:21	4213	[DEBUG]	Use default value for field override
2023-10-13	13:39:21	4213	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:21	4213	[DEBUG]	Use field value for field slug
2023-10-13	13:39:21	4213	[DEBUG]	Process line 4213
2023-10-13	13:39:21	4213	[DEBUG]	Load a row
2023-10-13	13:39:21	4213	[DEBUG]	Processing item: 8435466214340
2023-10-13	13:39:21	4213	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:21	4213	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:21	4213	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4529_1'
2023-10-13	13:39:21	4213	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:21	4213	[DEBUG]	Processing product tax
2023-10-13	13:39:21	4213	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:21	4213	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:21	4213	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:21	4213	[DEBUG]	Query for Product
2023-10-13	13:39:21	4213	[DEBUG]	Executed store
2023-10-13	13:39:21	4213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863704','8435466214340','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:21	4213	[DEBUG]	No parent found
2023-10-13	13:39:21	4213	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863704 AND customfield_value = 'stockable'
2023-10-13	13:39:21	4213	[DEBUG]	Check product language entry
2023-10-13	13:39:21	4213	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863705
2023-10-13	13:39:21	4213	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:21	4213	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214340' AND `virtuemart_product_id` != 1863705
2023-10-13	13:39:21	4213	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:21	4213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863705, '8435466214340')
2023-10-13	13:39:21	4213	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:21	4213	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-27-5-x-2-20-33-tpi-noir-unitaire' AND `virtuemart_product_id` != 1863705
2023-10-13	13:39:21	4213	[DEBUG]	Query for ProductLang
2023-10-13	13:39:21	4213	[DEBUG]	Executed store
2023-10-13	13:39:21	4213	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU TRACTOR 27.5 X 2.20 33 TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-27-5-x-2-20-33-tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863705'
2023-10-13	13:39:21	4213	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27316_tractor_27_5_x_2_20,_rigide,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:39:21	4213	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:21	4213	[DEBUG]	Process image file
2023-10-13	13:39:21	4213	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:21	4213	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:21	4213	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27316_tractor_27_5_x_2_20,_rigide,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:39:21	4213	[DEBUG]	Full name target: bcprisme/27316_tractor_27_5_x_2_20,_rigide,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:39:22	4213	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:22	4213	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27316_tractor_27_5_x_2_20,_rigide,_33_tpi,_lateral_noir,_gomme_62a.jpg'
2023-10-13	13:39:22	4213	[DEBUG]	Query for Media
2023-10-13	13:39:22	4213	[DEBUG]	Executed store
2023-10-13	13:39:22	4213	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27316_tractor_27_5_x_2_20,_rigide,_33_tpi,_lateral_noir,_gomme_62a.jpg',`file_url_thumb`='bcprisme/27316_tractor_27_5_x_2_20,_rigide,_33_tpi,_lateral_noir,_gomme_62a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14501'
2023-10-13	13:39:22	4213	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:22	4213	[DEBUG]	Executed store
2023-10-13	13:39:22	4213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863705','14501','1')
2023-10-13	13:39:22	4213	[DEBUG]	Store product image relation
2023-10-13	13:39:22	4213	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:22	4213	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863705 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:22	4213	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:22	4213	[DEBUG]	Executed store
2023-10-13	13:39:22	4213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863705','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:22	4213	[DEBUG]	Checking manufacturer
2023-10-13	13:39:22	4213	[DEBUG]	Load a row
2023-10-13	13:39:22	4213	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:22	4213	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:22	4213	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:22	4213	[DEBUG]	Executed store
2023-10-13	13:39:22	4213	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:22	4213	[DEBUG]	Manufacturer exists
2023-10-13	13:39:22	4213	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:22	4213	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:22	4213	[DEBUG]	Executed store
2023-10-13	13:39:22	4213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863705','32')
2023-10-13	13:39:22	4213	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:22	4213	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:22	4213	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863705 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:22	4213	[DEBUG]	Store custom available field
2023-10-13	13:39:22	4213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863705,3,'',1)
2023-10-13	13:39:22	4213	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:22	4213	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:22	4213	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863705 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:22	4213	[DEBUG]	Store custom available field
2023-10-13	13:39:22	4213	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863705,6,'Unitaire',3)
2023-10-13	13:39:22	4213	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:22	4213	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:22	4213	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863704
2023-10-13	13:39:22	4213	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:22	4213	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863704\":[1863704,8,1,\"choisir la taille\"],\"1863705\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863704
2023-10-13	13:39:22	4213	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:22	4213	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863705
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:22	4214	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field taille
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:22	4214	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:22	4214	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:22	4214	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:22	4214	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:22	4214	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:22	4214	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field published
2023-10-13	13:39:22	4214	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:22	4214	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field override
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:22	4214	[DEBUG]	Use field value for field slug
2023-10-13	13:39:22	4214	[DEBUG]	Process line 4214
2023-10-13	13:39:22	4214	[DEBUG]	Load a row
2023-10-13	13:39:22	4214	[DEBUG]	Processing item: A_4534_1
2023-10-13	13:39:22	4214	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:22	4214	[DEBUG]	Processing product tax
2023-10-13	13:39:22	4214	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:22	4214	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:22	4214	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:22	4214	[DEBUG]	Query for Product
2023-10-13	13:39:22	4214	[DEBUG]	Executed store
2023-10-13	13:39:22	4214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4534_1','0.57','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:22	4214	[DEBUG]	Check product language entry
2023-10-13	13:39:22	4214	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863706
2023-10-13	13:39:22	4214	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:22	4214	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4534_1' AND `virtuemart_product_id` != 1863706
2023-10-13	13:39:22	4214	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:22	4214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863706, 'A_4534_1')
2023-10-13	13:39:22	4214	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:22	4214	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-27-5-x-2-80-tlr-2c-noir' AND `virtuemart_product_id` != 1863706
2023-10-13	13:39:22	4214	[DEBUG]	Query for ProductLang
2023-10-13	13:39:22	4214	[DEBUG]	Executed store
2023-10-13	13:39:22	4214	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1050 g<br>-Accroche: 4/5<br>-Traction: 5/5<br>-Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br>-Gomme: 62a<br>-ETRTO 71-584<br><br>Usage optimisé pour XC et All Mountain. Polyvalent, adapté pour terrains variés.<br><br>La zone de roulement centrale, formée de crampons carrés proéminents aux coupes verticales avec une finition rugueuse sur le dessus assurent un grip efficace sur toutes les superficies y compris glissantes. Le positionnement des crampons sur différents angles apporte de la traction dans toutes les circonstances.<br><br>La nervure verticale qui unit les crampons intermédiaires, les rend plus consistants et donne plus de stabilité au pneumatique. La zone latérale, avec ses crampons rectangulaires situés à 2 endroits distints offre une accroche plus efficace. Les rainures verticales comme horizontales apportent plus de flexibilités aux crampons qui s’adapteront plus facilement aux imperfections du terrain et une plus grande longévité des gommes. <br>N° art fourn : TRA275280TLR2C',`product_name`='MSC PNEU TRACTOR 27.5+ X 2.80 TLR 2C / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-27-5-x-2-80-tlr-2c-noir' WHERE `virtuemart_product_id` = '1863706'
2023-10-13	13:39:22	4214	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27317_tractor_27_5+_x_2_80_tlr,_kevalr,_double_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a.jpg
2023-10-13	13:39:22	4214	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:22	4214	[DEBUG]	Process image file
2023-10-13	13:39:22	4214	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:22	4214	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:22	4214	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27317_tractor_27_5+_x_2_80_tlr,_kevalr,_double_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a.jpg
2023-10-13	13:39:22	4214	[DEBUG]	Full name target: bcprisme/27317_tractor_27_5+_x_2_80_tlr,_kevalr,_double_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a.jpg
2023-10-13	13:39:23	4214	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:23	4214	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27317_tractor_27_5+_x_2_80_tlr,_kevalr,_double_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a.jpg'
2023-10-13	13:39:23	4214	[DEBUG]	Query for Media
2023-10-13	13:39:23	4214	[DEBUG]	Executed store
2023-10-13	13:39:23	4214	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27317_tractor_27_5+_x_2_80_tlr,_kevalr,_double_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a.jpg',`file_url_thumb`='bcprisme/27317_tractor_27_5+_x_2_80_tlr,_kevalr,_double_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14502'
2023-10-13	13:39:23	4214	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:23	4214	[DEBUG]	Executed store
2023-10-13	13:39:23	4214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863706','14502','1')
2023-10-13	13:39:23	4214	[DEBUG]	Store product image relation
2023-10-13	13:39:23	4214	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:23	4214	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863706 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:23	4214	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:23	4214	[DEBUG]	Executed store
2023-10-13	13:39:23	4214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863706','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:23	4214	[DEBUG]	Checking manufacturer
2023-10-13	13:39:23	4214	[DEBUG]	Load a row
2023-10-13	13:39:23	4214	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:23	4214	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:23	4214	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:23	4214	[DEBUG]	Executed store
2023-10-13	13:39:23	4214	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:23	4214	[DEBUG]	Manufacturer exists
2023-10-13	13:39:23	4214	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:23	4214	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:23	4214	[DEBUG]	Executed store
2023-10-13	13:39:23	4214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863706','32')
2023-10-13	13:39:23	4214	[DEBUG]	Find the custom field ID
2023-10-13	13:39:23	4214	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:23	4214	[DEBUG]	No custom field ID found
2023-10-13	13:39:23	4214	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:23	4214	[DEBUG]	Get existing row with customfield value 76.6863888888889
2023-10-13	13:39:23	4214	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863706 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:23	4214	[DEBUG]	Store custom available field
2023-10-13	13:39:23	4214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863706,3,'76.6863888888889',1)
2023-10-13	13:39:23	4214	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:23	4214	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:23	4214	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863706 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:23	4214	[DEBUG]	Store custom available field
2023-10-13	13:39:23	4214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863706,6,'choisir la taille',3)
2023-10-13	13:39:23	4214	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:23	4214	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:23	4214	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:23	4214	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:23	4214	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863706 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:23	4214	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:23	4214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863706,8,1)
2023-10-13	13:39:23	4214	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:23	4214	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863706\":[1863706,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863706
2023-10-13	13:39:23	4214	[DEBUG]	Checking category
2023-10-13	13:39:23	4214	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:23	4214	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863706
2023-10-13	13:39:23	4214	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:23	4214	[DEBUG]	Executed store
2023-10-13	13:39:23	4214	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863706','7410')
2023-10-13	13:39:23	4214	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:23	4214	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863706 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:23	4214	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:23	4214	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863706
2023-10-13	13:39:23	4215	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:23	4215	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:23	4215	[DEBUG]	Use field value for field taille
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:23	4215	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:23	4215	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:23	4215	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:23	4215	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:23	4215	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:23	4215	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:23	4215	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:23	4215	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:23	4215	[DEBUG]	Use field value for field published
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:23	4215	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field override
2023-10-13	13:39:23	4215	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:23	4215	[DEBUG]	Use field value for field slug
2023-10-13	13:39:23	4215	[DEBUG]	Process line 4215
2023-10-13	13:39:23	4215	[DEBUG]	Load a row
2023-10-13	13:39:23	4215	[DEBUG]	Processing item: 8435466214357
2023-10-13	13:39:23	4215	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:23	4215	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:23	4215	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4534_1'
2023-10-13	13:39:23	4215	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:23	4215	[DEBUG]	Processing product tax
2023-10-13	13:39:23	4215	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:23	4215	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:23	4215	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:23	4215	[DEBUG]	Query for Product
2023-10-13	13:39:23	4215	[DEBUG]	Executed store
2023-10-13	13:39:23	4215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863706','8435466214357','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:23	4215	[DEBUG]	No parent found
2023-10-13	13:39:23	4215	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863706 AND customfield_value = 'stockable'
2023-10-13	13:39:23	4215	[DEBUG]	Check product language entry
2023-10-13	13:39:23	4215	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863707
2023-10-13	13:39:23	4215	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:23	4215	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214357' AND `virtuemart_product_id` != 1863707
2023-10-13	13:39:23	4215	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:23	4215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863707, '8435466214357')
2023-10-13	13:39:23	4215	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:23	4215	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-27-5-x-2-80-tlr-2c-noir-unitaire' AND `virtuemart_product_id` != 1863707
2023-10-13	13:39:23	4215	[DEBUG]	Query for ProductLang
2023-10-13	13:39:23	4215	[DEBUG]	Executed store
2023-10-13	13:39:23	4215	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU TRACTOR 27.5+ X 2.80 TLR 2C / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-27-5-x-2-80-tlr-2c-noir-unitaire' WHERE `virtuemart_product_id` = '1863707'
2023-10-13	13:39:23	4215	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27317_tractor_27_5+_x_2_80_tlr,_kevalr,_double_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a.jpg
2023-10-13	13:39:23	4215	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:23	4215	[DEBUG]	Process image file
2023-10-13	13:39:23	4215	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:23	4215	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:23	4215	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27317_tractor_27_5+_x_2_80_tlr,_kevalr,_double_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a.jpg
2023-10-13	13:39:23	4215	[DEBUG]	Full name target: bcprisme/27317_tractor_27_5+_x_2_80_tlr,_kevalr,_double_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a.jpg
2023-10-13	13:39:24	4215	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:24	4215	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27317_tractor_27_5+_x_2_80_tlr,_kevalr,_double_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a.jpg'
2023-10-13	13:39:24	4215	[DEBUG]	Query for Media
2023-10-13	13:39:24	4215	[DEBUG]	Executed store
2023-10-13	13:39:24	4215	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27317_tractor_27_5+_x_2_80_tlr,_kevalr,_double_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a.jpg',`file_url_thumb`='bcprisme/27317_tractor_27_5+_x_2_80_tlr,_kevalr,_double_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14502'
2023-10-13	13:39:24	4215	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:24	4215	[DEBUG]	Executed store
2023-10-13	13:39:24	4215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863707','14502','1')
2023-10-13	13:39:24	4215	[DEBUG]	Store product image relation
2023-10-13	13:39:24	4215	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:24	4215	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863707 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:24	4215	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:24	4215	[DEBUG]	Executed store
2023-10-13	13:39:24	4215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863707','0','83.4726090993501','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:24	4215	[DEBUG]	Checking manufacturer
2023-10-13	13:39:24	4215	[DEBUG]	Load a row
2023-10-13	13:39:24	4215	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:24	4215	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:24	4215	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:24	4215	[DEBUG]	Executed store
2023-10-13	13:39:24	4215	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:24	4215	[DEBUG]	Manufacturer exists
2023-10-13	13:39:24	4215	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:24	4215	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:24	4215	[DEBUG]	Executed store
2023-10-13	13:39:24	4215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863707','32')
2023-10-13	13:39:24	4215	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:24	4215	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:24	4215	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863707 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:24	4215	[DEBUG]	Store custom available field
2023-10-13	13:39:24	4215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863707,3,'',1)
2023-10-13	13:39:24	4215	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:24	4215	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:24	4215	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863707 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:24	4215	[DEBUG]	Store custom available field
2023-10-13	13:39:24	4215	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863707,6,'Unitaire',3)
2023-10-13	13:39:24	4215	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:24	4215	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:24	4215	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863706
2023-10-13	13:39:24	4215	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:24	4215	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863706\":[1863706,8,1,\"choisir la taille\"],\"1863707\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863706
2023-10-13	13:39:24	4215	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:24	4215	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863707
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:24	4216	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field taille
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:24	4216	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:24	4216	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:24	4216	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:24	4216	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:24	4216	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:24	4216	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field published
2023-10-13	13:39:24	4216	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:24	4216	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field override
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:24	4216	[DEBUG]	Use field value for field slug
2023-10-13	13:39:24	4216	[DEBUG]	Process line 4216
2023-10-13	13:39:24	4216	[DEBUG]	Load a row
2023-10-13	13:39:24	4216	[DEBUG]	Processing item: A_4535_1
2023-10-13	13:39:24	4216	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:24	4216	[DEBUG]	Processing product tax
2023-10-13	13:39:24	4216	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:24	4216	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:24	4216	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:24	4216	[DEBUG]	Query for Product
2023-10-13	13:39:24	4216	[DEBUG]	Executed store
2023-10-13	13:39:24	4216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4535_1','0.57','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:24	4216	[DEBUG]	Check product language entry
2023-10-13	13:39:24	4216	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863708
2023-10-13	13:39:24	4216	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:24	4216	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4535_1' AND `virtuemart_product_id` != 1863708
2023-10-13	13:39:24	4216	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:24	4216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863708, 'A_4535_1')
2023-10-13	13:39:24	4216	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:24	4216	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-27-5-x-2-30-tlr-2c-am-race-pro-60tpi-noir' AND `virtuemart_product_id` != 1863708
2023-10-13	13:39:24	4216	[DEBUG]	Query for ProductLang
2023-10-13	13:39:24	4216	[DEBUG]	Executed store
2023-10-13	13:39:24	4216	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='970 g<br>-Accroche: 5/5<br>-Traction: 4/5<br>-Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br>-Gomme: 56a/50a<br>-ETRTO 58-584<br><br>Idéal pour l’Enduro et la DH. Contrôle parfait sur terrains détériorés, meubles et humides.<br><br>Ses 4 rangés de crampons hauts et larges taillés perpendiculairement garantissent une adhérence et un contrôle extraordinaire lors de freinages brusques, même dans les situations de pilotages les plus agressives. Capable d’affronter férocement des courbes prononcées et de dévorer tous les types de terrains.<br><br>Un crampon sur deux de La zone de centrale sont équipés d’une rampe afin de diminuer la résistance au roulement. Les crampons latéraux, dotés d’entailles verticales et d’encoches, sont placés sur 2 niveaux pour assurer une accroche parfaite lors de passage en courbe, sur pierres et racines. <br>N° art fourn : GRI275230TLR2CA',`product_name`='MSC PNEU GRIPPER 27.5 X 2.30 TLR 2C AM RACE PRO 60TPI  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-27-5-x-2-30-tlr-2c-am-race-pro-60tpi-noir' WHERE `virtuemart_product_id` = '1863708'
2023-10-13	13:39:24	4216	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27318_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg
2023-10-13	13:39:24	4216	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:24	4216	[DEBUG]	Process image file
2023-10-13	13:39:24	4216	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:24	4216	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:24	4216	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27318_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg
2023-10-13	13:39:24	4216	[DEBUG]	Full name target: bcprisme/27318_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg
2023-10-13	13:39:25	4216	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:25	4216	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27318_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg'
2023-10-13	13:39:25	4216	[DEBUG]	Query for Media
2023-10-13	13:39:25	4216	[DEBUG]	Executed store
2023-10-13	13:39:25	4216	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27318_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg',`file_url_thumb`='bcprisme/27318_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14503'
2023-10-13	13:39:25	4216	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:25	4216	[DEBUG]	Executed store
2023-10-13	13:39:25	4216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863708','14503','1')
2023-10-13	13:39:25	4216	[DEBUG]	Store product image relation
2023-10-13	13:39:25	4216	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:25	4216	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863708 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:25	4216	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:25	4216	[DEBUG]	Executed store
2023-10-13	13:39:25	4216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863708','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:25	4216	[DEBUG]	Checking manufacturer
2023-10-13	13:39:25	4216	[DEBUG]	Load a row
2023-10-13	13:39:25	4216	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:25	4216	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:25	4216	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:25	4216	[DEBUG]	Executed store
2023-10-13	13:39:25	4216	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:25	4216	[DEBUG]	Manufacturer exists
2023-10-13	13:39:25	4216	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:25	4216	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:25	4216	[DEBUG]	Executed store
2023-10-13	13:39:25	4216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863708','32')
2023-10-13	13:39:25	4216	[DEBUG]	Find the custom field ID
2023-10-13	13:39:25	4216	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:25	4216	[DEBUG]	No custom field ID found
2023-10-13	13:39:25	4216	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:25	4216	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	13:39:25	4216	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863708 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:25	4216	[DEBUG]	Store custom available field
2023-10-13	13:39:25	4216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863708,3,'49.7613888888889',1)
2023-10-13	13:39:25	4216	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:25	4216	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:25	4216	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863708 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:25	4216	[DEBUG]	Store custom available field
2023-10-13	13:39:25	4216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863708,6,'choisir la taille',3)
2023-10-13	13:39:25	4216	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:25	4216	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:25	4216	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:25	4216	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:25	4216	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863708 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:25	4216	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:25	4216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863708,8,1)
2023-10-13	13:39:25	4216	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:25	4216	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863708\":[1863708,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863708
2023-10-13	13:39:25	4216	[DEBUG]	Checking category
2023-10-13	13:39:25	4216	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:25	4216	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863708
2023-10-13	13:39:25	4216	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:25	4216	[DEBUG]	Executed store
2023-10-13	13:39:25	4216	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863708','7410')
2023-10-13	13:39:25	4216	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:25	4216	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863708 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:25	4216	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:25	4216	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863708
2023-10-13	13:39:25	4217	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:25	4217	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:25	4217	[DEBUG]	Use field value for field taille
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:25	4217	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:25	4217	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:25	4217	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:25	4217	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:25	4217	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:25	4217	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:25	4217	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:25	4217	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:25	4217	[DEBUG]	Use field value for field published
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:25	4217	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field override
2023-10-13	13:39:25	4217	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:25	4217	[DEBUG]	Use field value for field slug
2023-10-13	13:39:25	4217	[DEBUG]	Process line 4217
2023-10-13	13:39:25	4217	[DEBUG]	Load a row
2023-10-13	13:39:25	4217	[DEBUG]	Processing item: 8435466214203
2023-10-13	13:39:25	4217	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:25	4217	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:25	4217	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4535_1'
2023-10-13	13:39:25	4217	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:25	4217	[DEBUG]	Processing product tax
2023-10-13	13:39:25	4217	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:25	4217	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:25	4217	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:25	4217	[DEBUG]	Query for Product
2023-10-13	13:39:25	4217	[DEBUG]	Executed store
2023-10-13	13:39:25	4217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863708','8435466214203','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:25	4217	[DEBUG]	No parent found
2023-10-13	13:39:25	4217	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863708 AND customfield_value = 'stockable'
2023-10-13	13:39:25	4217	[DEBUG]	Check product language entry
2023-10-13	13:39:25	4217	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863709
2023-10-13	13:39:25	4217	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:25	4217	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214203' AND `virtuemart_product_id` != 1863709
2023-10-13	13:39:25	4217	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:25	4217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863709, '8435466214203')
2023-10-13	13:39:25	4217	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:25	4217	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-27-5-x-2-30-tlr-2c-am-race-pro-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863709
2023-10-13	13:39:25	4217	[DEBUG]	Query for ProductLang
2023-10-13	13:39:25	4217	[DEBUG]	Executed store
2023-10-13	13:39:25	4217	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU GRIPPER 27.5 X 2.30 TLR 2C AM RACE PRO 60TPI  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-27-5-x-2-30-tlr-2c-am-race-pro-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863709'
2023-10-13	13:39:25	4217	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27318_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg
2023-10-13	13:39:25	4217	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:25	4217	[DEBUG]	Process image file
2023-10-13	13:39:25	4217	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:25	4217	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:25	4217	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27318_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg
2023-10-13	13:39:25	4217	[DEBUG]	Full name target: bcprisme/27318_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg
2023-10-13	13:39:26	4217	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:26	4217	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27318_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg'
2023-10-13	13:39:26	4217	[DEBUG]	Query for Media
2023-10-13	13:39:26	4217	[DEBUG]	Executed store
2023-10-13	13:39:26	4217	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27318_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg',`file_url_thumb`='bcprisme/27318_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14503'
2023-10-13	13:39:26	4217	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:26	4217	[DEBUG]	Executed store
2023-10-13	13:39:26	4217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863709','14503','1')
2023-10-13	13:39:26	4217	[DEBUG]	Store product image relation
2023-10-13	13:39:26	4217	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:26	4217	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863709 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:26	4217	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:26	4217	[DEBUG]	Executed store
2023-10-13	13:39:26	4217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863709','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:26	4217	[DEBUG]	Checking manufacturer
2023-10-13	13:39:26	4217	[DEBUG]	Load a row
2023-10-13	13:39:26	4217	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:26	4217	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:26	4217	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:26	4217	[DEBUG]	Executed store
2023-10-13	13:39:26	4217	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:26	4217	[DEBUG]	Manufacturer exists
2023-10-13	13:39:26	4217	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:26	4217	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:26	4217	[DEBUG]	Executed store
2023-10-13	13:39:26	4217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863709','32')
2023-10-13	13:39:26	4217	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:26	4217	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:26	4217	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863709 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:26	4217	[DEBUG]	Store custom available field
2023-10-13	13:39:26	4217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863709,3,'',1)
2023-10-13	13:39:26	4217	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:26	4217	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:26	4217	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863709 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:26	4217	[DEBUG]	Store custom available field
2023-10-13	13:39:26	4217	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863709,6,'Unitaire',3)
2023-10-13	13:39:26	4217	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:26	4217	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:26	4217	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863708
2023-10-13	13:39:26	4217	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:26	4217	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863708\":[1863708,8,1,\"choisir la taille\"],\"1863709\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863708
2023-10-13	13:39:26	4217	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:26	4217	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863709
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:26	4218	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field taille
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:26	4218	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:26	4218	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:26	4218	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:26	4218	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:26	4218	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:26	4218	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field published
2023-10-13	13:39:26	4218	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:26	4218	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field override
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:26	4218	[DEBUG]	Use field value for field slug
2023-10-13	13:39:26	4218	[DEBUG]	Process line 4218
2023-10-13	13:39:26	4218	[DEBUG]	Load a row
2023-10-13	13:39:26	4218	[DEBUG]	Processing item: A_4536_1
2023-10-13	13:39:26	4218	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:26	4218	[DEBUG]	Processing product tax
2023-10-13	13:39:26	4218	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:26	4218	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:26	4218	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:26	4218	[DEBUG]	Query for Product
2023-10-13	13:39:26	4218	[DEBUG]	Executed store
2023-10-13	13:39:26	4218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4536_1','0.57','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:26	4218	[DEBUG]	Check product language entry
2023-10-13	13:39:26	4218	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863710
2023-10-13	13:39:26	4218	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:26	4218	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4536_1' AND `virtuemart_product_id` != 1863710
2023-10-13	13:39:26	4218	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:26	4218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863710, 'A_4536_1')
2023-10-13	13:39:26	4218	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:26	4218	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-27-5-x-2-30-tlr-2c-am-pro-60tpi-noir' AND `virtuemart_product_id` != 1863710
2023-10-13	13:39:26	4218	[DEBUG]	Query for ProductLang
2023-10-13	13:39:26	4218	[DEBUG]	Executed store
2023-10-13	13:39:26	4218	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='950 g<br>-Accroche: 5/5<br>-Traction: 4/5<br>-Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br>-Gomme: 62a/60a<br>-ETRTO 58-584<br><br>2.30 – same to 2.40 between knobs/ebike friendly-<br><br><br>Idéal pour l’Enduro et la DH. Contrôle parfait sur terrains détériorés, meubles et humides.<br><br>Ses 4 rangés de crampons hauts et larges taillés perpendiculairement garantissent une adhérence et un contrôle extraordinaire lors de freinages brusques, même dans les situations de pilotages les plus agressives. Capable d’affronter férocement des courbes prononcées et de dévorer tous les types de terrains.<br><br>Un crampon sur deux de La zone de centrale sont équipés d’une rampe afin de diminuer la résistance au roulement. Les crampons latéraux, dotés d’entailles verticales et d’encoches, sont placés sur 2 niveaux pour assurer une accroche parfaite lors de passage en courbe, sur pierres et racines. <br>N° art fourn : GRI275230TLR2C',`product_name`='MSC PNEU GRIPPER 27.5 X 2.30 TLR 2C AM PRO 60TPI  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-27-5-x-2-30-tlr-2c-am-pro-60tpi-noir' WHERE `virtuemart_product_id` = '1863710'
2023-10-13	13:39:26	4218	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27319_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_60a-50a_2c-am_pro.jpg
2023-10-13	13:39:26	4218	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:26	4218	[DEBUG]	Process image file
2023-10-13	13:39:26	4218	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:26	4218	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:26	4218	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27319_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_60a-50a_2c-am_pro.jpg
2023-10-13	13:39:26	4218	[DEBUG]	Full name target: bcprisme/27319_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_60a-50a_2c-am_pro.jpg
2023-10-13	13:39:27	4218	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:27	4218	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27319_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_60a-50a_2c-am_pro.jpg'
2023-10-13	13:39:27	4218	[DEBUG]	Query for Media
2023-10-13	13:39:27	4218	[DEBUG]	Executed store
2023-10-13	13:39:27	4218	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27319_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_60a-50a_2c-am_pro.jpg',`file_url_thumb`='bcprisme/27319_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_60a-50a_2c-am_pro.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14504'
2023-10-13	13:39:27	4218	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:27	4218	[DEBUG]	Executed store
2023-10-13	13:39:27	4218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863710','14504','1')
2023-10-13	13:39:27	4218	[DEBUG]	Store product image relation
2023-10-13	13:39:27	4218	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:27	4218	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863710 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:27	4218	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:27	4218	[DEBUG]	Executed store
2023-10-13	13:39:27	4218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863710','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:27	4218	[DEBUG]	Checking manufacturer
2023-10-13	13:39:27	4218	[DEBUG]	Load a row
2023-10-13	13:39:27	4218	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:27	4218	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:27	4218	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:27	4218	[DEBUG]	Executed store
2023-10-13	13:39:27	4218	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:27	4218	[DEBUG]	Manufacturer exists
2023-10-13	13:39:27	4218	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:27	4218	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:27	4218	[DEBUG]	Executed store
2023-10-13	13:39:27	4218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863710','32')
2023-10-13	13:39:27	4218	[DEBUG]	Find the custom field ID
2023-10-13	13:39:27	4218	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:27	4218	[DEBUG]	No custom field ID found
2023-10-13	13:39:27	4218	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:27	4218	[DEBUG]	Get existing row with customfield value 46.7697222222222
2023-10-13	13:39:27	4218	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863710 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:27	4218	[DEBUG]	Store custom available field
2023-10-13	13:39:27	4218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863710,3,'46.7697222222222',1)
2023-10-13	13:39:27	4218	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:27	4218	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:27	4218	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863710 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:27	4218	[DEBUG]	Store custom available field
2023-10-13	13:39:27	4218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863710,6,'choisir la taille',3)
2023-10-13	13:39:27	4218	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:27	4218	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:27	4218	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:27	4218	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:27	4218	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863710 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:27	4218	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:27	4218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863710,8,1)
2023-10-13	13:39:27	4218	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:27	4218	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863710\":[1863710,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863710
2023-10-13	13:39:27	4218	[DEBUG]	Checking category
2023-10-13	13:39:27	4218	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:27	4218	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863710
2023-10-13	13:39:27	4218	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:27	4218	[DEBUG]	Executed store
2023-10-13	13:39:27	4218	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863710','7410')
2023-10-13	13:39:27	4218	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:27	4218	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863710 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:27	4218	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:27	4218	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863710
2023-10-13	13:39:27	4219	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:27	4219	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:27	4219	[DEBUG]	Use field value for field taille
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:27	4219	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:27	4219	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:27	4219	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:27	4219	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:27	4219	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:27	4219	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:27	4219	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:27	4219	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:27	4219	[DEBUG]	Use field value for field published
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:27	4219	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field override
2023-10-13	13:39:27	4219	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:27	4219	[DEBUG]	Use field value for field slug
2023-10-13	13:39:27	4219	[DEBUG]	Process line 4219
2023-10-13	13:39:27	4219	[DEBUG]	Load a row
2023-10-13	13:39:27	4219	[DEBUG]	Processing item: 8435466214197
2023-10-13	13:39:27	4219	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:27	4219	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:27	4219	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4536_1'
2023-10-13	13:39:27	4219	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:27	4219	[DEBUG]	Processing product tax
2023-10-13	13:39:27	4219	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:27	4219	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:27	4219	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:27	4219	[DEBUG]	Query for Product
2023-10-13	13:39:27	4219	[DEBUG]	Executed store
2023-10-13	13:39:27	4219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863710','8435466214197','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:27	4219	[DEBUG]	No parent found
2023-10-13	13:39:27	4219	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863710 AND customfield_value = 'stockable'
2023-10-13	13:39:27	4219	[DEBUG]	Check product language entry
2023-10-13	13:39:27	4219	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863711
2023-10-13	13:39:27	4219	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:27	4219	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214197' AND `virtuemart_product_id` != 1863711
2023-10-13	13:39:27	4219	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:27	4219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863711, '8435466214197')
2023-10-13	13:39:27	4219	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:27	4219	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-27-5-x-2-30-tlr-2c-am-pro-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863711
2023-10-13	13:39:27	4219	[DEBUG]	Query for ProductLang
2023-10-13	13:39:27	4219	[DEBUG]	Executed store
2023-10-13	13:39:27	4219	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU GRIPPER 27.5 X 2.30 TLR 2C AM PRO 60TPI  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-27-5-x-2-30-tlr-2c-am-pro-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863711'
2023-10-13	13:39:27	4219	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27319_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_60a-50a_2c-am_pro.jpg
2023-10-13	13:39:27	4219	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:27	4219	[DEBUG]	Process image file
2023-10-13	13:39:27	4219	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:27	4219	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:27	4219	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27319_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_60a-50a_2c-am_pro.jpg
2023-10-13	13:39:27	4219	[DEBUG]	Full name target: bcprisme/27319_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_60a-50a_2c-am_pro.jpg
2023-10-13	13:39:28	4219	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:28	4219	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27319_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_60a-50a_2c-am_pro.jpg'
2023-10-13	13:39:28	4219	[DEBUG]	Query for Media
2023-10-13	13:39:28	4219	[DEBUG]	Executed store
2023-10-13	13:39:28	4219	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27319_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_60a-50a_2c-am_pro.jpg',`file_url_thumb`='bcprisme/27319_gripper_27_5_x_2_30_tlr,_kevlar,_renfort_lateral,_60_tpi,_double_gomme_60a-50a_2c-am_pro.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14504'
2023-10-13	13:39:28	4219	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:28	4219	[DEBUG]	Executed store
2023-10-13	13:39:28	4219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863711','14504','1')
2023-10-13	13:39:28	4219	[DEBUG]	Store product image relation
2023-10-13	13:39:28	4219	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:28	4219	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863711 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:28	4219	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:28	4219	[DEBUG]	Executed store
2023-10-13	13:39:28	4219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863711','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:28	4219	[DEBUG]	Checking manufacturer
2023-10-13	13:39:28	4219	[DEBUG]	Load a row
2023-10-13	13:39:28	4219	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:28	4219	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:28	4219	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:28	4219	[DEBUG]	Executed store
2023-10-13	13:39:28	4219	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:28	4219	[DEBUG]	Manufacturer exists
2023-10-13	13:39:28	4219	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:28	4219	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:28	4219	[DEBUG]	Executed store
2023-10-13	13:39:28	4219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863711','32')
2023-10-13	13:39:28	4219	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:28	4219	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:28	4219	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863711 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:28	4219	[DEBUG]	Store custom available field
2023-10-13	13:39:28	4219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863711,3,'',1)
2023-10-13	13:39:28	4219	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:28	4219	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:28	4219	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863711 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:28	4219	[DEBUG]	Store custom available field
2023-10-13	13:39:28	4219	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863711,6,'Unitaire',3)
2023-10-13	13:39:28	4219	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:28	4219	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:28	4219	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863710
2023-10-13	13:39:28	4219	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:28	4219	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863710\":[1863710,8,1,\"choisir la taille\"],\"1863711\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863710
2023-10-13	13:39:28	4219	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:28	4219	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863711
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:28	4220	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field taille
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:28	4220	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:28	4220	[DEBUG]	Use default value for field file_url
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:28	4220	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:28	4220	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:28	4220	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:28	4220	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:28	4220	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field published
2023-10-13	13:39:28	4220	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:28	4220	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field override
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:28	4220	[DEBUG]	Use field value for field slug
2023-10-13	13:39:28	4220	[DEBUG]	Process line 4220
2023-10-13	13:39:28	4220	[DEBUG]	Load a row
2023-10-13	13:39:28	4220	[DEBUG]	Processing item: A_4963_1
2023-10-13	13:39:28	4220	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:28	4220	[DEBUG]	Processing product tax
2023-10-13	13:39:28	4220	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:28	4220	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:28	4220	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:28	4220	[DEBUG]	Query for Product
2023-10-13	13:39:28	4220	[DEBUG]	Executed store
2023-10-13	13:39:28	4220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4963_1','0.6','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:28	4220	[DEBUG]	Check product language entry
2023-10-13	13:39:28	4220	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863712
2023-10-13	13:39:28	4220	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:28	4220	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4963_1' AND `virtuemart_product_id` != 1863712
2023-10-13	13:39:28	4220	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:28	4220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863712, 'A_4963_1')
2023-10-13	13:39:28	4220	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:28	4220	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-hans-dampf-27-5-x-2-35-addix-60-584-noir' AND `virtuemart_product_id` != 1863712
2023-10-13	13:39:28	4220	[DEBUG]	Query for ProductLang
2023-10-13	13:39:28	4220	[DEBUG]	Executed store
2023-10-13	13:39:28	4220	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.449',`product_name`='SCHWALBE PNEU HANS DAMPF 27.5 X 2.35 ADDIX 60-584 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-hans-dampf-27-5-x-2-35-addix-60-584-noir' WHERE `virtuemart_product_id` = '1863712'
2023-10-13	13:39:28	4220	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:28	4220	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863712 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:28	4220	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:28	4220	[DEBUG]	Executed store
2023-10-13	13:39:28	4220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863712','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:28	4220	[DEBUG]	Checking manufacturer
2023-10-13	13:39:28	4220	[DEBUG]	Load a row
2023-10-13	13:39:28	4220	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:28	4220	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:28	4220	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:28	4220	[DEBUG]	Executed store
2023-10-13	13:39:28	4220	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:28	4220	[DEBUG]	Manufacturer exists
2023-10-13	13:39:28	4220	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:28	4220	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:28	4220	[DEBUG]	Executed store
2023-10-13	13:39:28	4220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863712','25')
2023-10-13	13:39:28	4220	[DEBUG]	Find the custom field ID
2023-10-13	13:39:28	4220	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:28	4220	[DEBUG]	No custom field ID found
2023-10-13	13:39:28	4220	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:28	4220	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:28	4220	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863712 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:28	4220	[DEBUG]	Store custom available field
2023-10-13	13:39:28	4220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863712,3,'0',1)
2023-10-13	13:39:28	4220	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:28	4220	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:28	4220	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863712 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:28	4220	[DEBUG]	Store custom available field
2023-10-13	13:39:28	4220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863712,6,'choisir la taille',3)
2023-10-13	13:39:28	4220	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:28	4220	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:28	4220	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:28	4220	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:28	4220	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863712 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:28	4220	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:28	4220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863712,8,1)
2023-10-13	13:39:28	4220	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:28	4220	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863712\":[1863712,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863712
2023-10-13	13:39:28	4220	[DEBUG]	Checking category
2023-10-13	13:39:28	4220	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:28	4220	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863712
2023-10-13	13:39:28	4220	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:28	4220	[DEBUG]	Executed store
2023-10-13	13:39:28	4220	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863712','7410')
2023-10-13	13:39:28	4220	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:28	4220	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863712 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:28	4220	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:28	4220	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863712
2023-10-13	13:39:28	4221	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:28	4221	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:28	4221	[DEBUG]	Use field value for field taille
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:28	4221	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:28	4221	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:28	4221	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field file_url
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:28	4221	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:28	4221	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:28	4221	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:28	4221	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:28	4221	[DEBUG]	Use field value for field published
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:28	4221	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field override
2023-10-13	13:39:28	4221	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:28	4221	[DEBUG]	Use field value for field slug
2023-10-13	13:39:28	4221	[DEBUG]	Process line 4221
2023-10-13	13:39:28	4221	[DEBUG]	Load a row
2023-10-13	13:39:28	4221	[DEBUG]	Processing item: 1000000135633
2023-10-13	13:39:28	4221	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:28	4221	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:28	4221	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4963_1'
2023-10-13	13:39:28	4221	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:28	4221	[DEBUG]	Processing product tax
2023-10-13	13:39:28	4221	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:28	4221	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:28	4221	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:28	4221	[DEBUG]	Query for Product
2023-10-13	13:39:28	4221	[DEBUG]	Executed store
2023-10-13	13:39:28	4221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863712','1000000135633','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:28	4221	[DEBUG]	No parent found
2023-10-13	13:39:28	4221	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863712 AND customfield_value = 'stockable'
2023-10-13	13:39:28	4221	[DEBUG]	Check product language entry
2023-10-13	13:39:28	4221	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863713
2023-10-13	13:39:28	4221	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:28	4221	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000135633' AND `virtuemart_product_id` != 1863713
2023-10-13	13:39:28	4221	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:28	4221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863713, '1000000135633')
2023-10-13	13:39:28	4221	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:28	4221	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-hans-dampf-27-5-x-2-35-addix-60-584-noir-unitaire' AND `virtuemart_product_id` != 1863713
2023-10-13	13:39:28	4221	[DEBUG]	Query for ProductLang
2023-10-13	13:39:28	4221	[DEBUG]	Executed store
2023-10-13	13:39:28	4221	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU HANS DAMPF 27.5 X 2.35 ADDIX 60-584 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-hans-dampf-27-5-x-2-35-addix-60-584-noir-unitaire' WHERE `virtuemart_product_id` = '1863713'
2023-10-13	13:39:28	4221	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:28	4221	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863713 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:28	4221	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:28	4221	[DEBUG]	Executed store
2023-10-13	13:39:28	4221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863713','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:28	4221	[DEBUG]	Checking manufacturer
2023-10-13	13:39:28	4221	[DEBUG]	Load a row
2023-10-13	13:39:28	4221	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:28	4221	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:28	4221	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:28	4221	[DEBUG]	Executed store
2023-10-13	13:39:28	4221	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:28	4221	[DEBUG]	Manufacturer exists
2023-10-13	13:39:28	4221	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:28	4221	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:28	4221	[DEBUG]	Executed store
2023-10-13	13:39:28	4221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863713','25')
2023-10-13	13:39:28	4221	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:28	4221	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:28	4221	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863713 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:28	4221	[DEBUG]	Store custom available field
2023-10-13	13:39:28	4221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863713,3,'',1)
2023-10-13	13:39:28	4221	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:28	4221	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:28	4221	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863713 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:28	4221	[DEBUG]	Store custom available field
2023-10-13	13:39:28	4221	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863713,6,'Unitaire',3)
2023-10-13	13:39:28	4221	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:28	4221	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:28	4221	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863712
2023-10-13	13:39:28	4221	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:28	4221	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863712\":[1863712,8,1,\"choisir la taille\"],\"1863713\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863712
2023-10-13	13:39:28	4221	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:28	4221	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863713
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:28	4222	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field taille
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:28	4222	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:28	4222	[DEBUG]	Use default value for field file_url
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:28	4222	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:28	4222	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:28	4222	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:28	4222	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:28	4222	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:28	4222	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field published
2023-10-13	13:39:28	4222	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:28	4222	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field override
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:28	4222	[DEBUG]	Use field value for field slug
2023-10-13	13:39:28	4222	[DEBUG]	Process line 4222
2023-10-13	13:39:28	4222	[DEBUG]	Load a row
2023-10-13	13:39:28	4222	[DEBUG]	Processing item: A_4988_1
2023-10-13	13:39:28	4222	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:28	4222	[DEBUG]	Processing product tax
2023-10-13	13:39:28	4222	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:28	4222	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:28	4222	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:28	4222	[DEBUG]	Query for Product
2023-10-13	13:39:28	4222	[DEBUG]	Executed store
2023-10-13	13:39:28	4222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4988_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:28	4222	[DEBUG]	Check product language entry
2023-10-13	13:39:28	4222	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863714
2023-10-13	13:39:28	4222	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:28	4222	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4988_1' AND `virtuemart_product_id` != 1863714
2023-10-13	13:39:28	4222	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:28	4222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863714, 'A_4988_1')
2023-10-13	13:39:28	4222	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:28	4222	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-racing-ralph-performance-noir-27-5x2-25-noir' AND `virtuemart_product_id` != 1863714
2023-10-13	13:39:28	4222	[DEBUG]	Query for ProductLang
2023-10-13	13:39:28	4222	[DEBUG]	Executed store
2023-10-13	13:39:28	4222	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.097',`product_name`='SCHWALBE Pneu Racing Ralph Performance noir 27.5x2.25 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-racing-ralph-performance-noir-27-5x2-25-noir' WHERE `virtuemart_product_id` = '1863714'
2023-10-13	13:39:28	4222	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:28	4222	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863714 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:28	4222	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:28	4222	[DEBUG]	Executed store
2023-10-13	13:39:28	4222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863714','0','35.1903435468895','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:28	4222	[DEBUG]	Checking manufacturer
2023-10-13	13:39:28	4222	[DEBUG]	Load a row
2023-10-13	13:39:28	4222	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:28	4222	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:28	4222	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:28	4222	[DEBUG]	Executed store
2023-10-13	13:39:28	4222	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:28	4222	[DEBUG]	Manufacturer exists
2023-10-13	13:39:28	4222	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:28	4222	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:28	4222	[DEBUG]	Executed store
2023-10-13	13:39:28	4222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863714','25')
2023-10-13	13:39:28	4222	[DEBUG]	Find the custom field ID
2023-10-13	13:39:28	4222	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:28	4222	[DEBUG]	No custom field ID found
2023-10-13	13:39:28	4222	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:28	4222	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:28	4222	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863714 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:28	4222	[DEBUG]	Store custom available field
2023-10-13	13:39:28	4222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863714,3,'0',1)
2023-10-13	13:39:28	4222	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:28	4222	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:28	4222	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863714 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:28	4222	[DEBUG]	Store custom available field
2023-10-13	13:39:28	4222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863714,6,'choisir la taille',3)
2023-10-13	13:39:28	4222	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:28	4222	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:28	4222	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:28	4222	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:28	4222	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863714 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:28	4222	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:28	4222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863714,8,1)
2023-10-13	13:39:28	4222	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:28	4222	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863714\":[1863714,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863714
2023-10-13	13:39:28	4222	[DEBUG]	Checking category
2023-10-13	13:39:28	4222	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:28	4222	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863714
2023-10-13	13:39:28	4222	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:28	4222	[DEBUG]	Executed store
2023-10-13	13:39:28	4222	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863714','7410')
2023-10-13	13:39:28	4222	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:28	4222	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863714 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:28	4222	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:28	4222	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863714
2023-10-13	13:39:28	4223	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:28	4223	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:28	4223	[DEBUG]	Use field value for field taille
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:28	4223	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:28	4223	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:28	4223	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field file_url
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:28	4223	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:28	4223	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:28	4223	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:28	4223	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:28	4223	[DEBUG]	Use field value for field published
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:28	4223	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field override
2023-10-13	13:39:28	4223	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:28	4223	[DEBUG]	Use field value for field slug
2023-10-13	13:39:28	4223	[DEBUG]	Process line 4223
2023-10-13	13:39:28	4223	[DEBUG]	Load a row
2023-10-13	13:39:28	4223	[DEBUG]	Processing item: 1000000135640
2023-10-13	13:39:28	4223	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:28	4223	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:28	4223	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4988_1'
2023-10-13	13:39:28	4223	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:28	4223	[DEBUG]	Processing product tax
2023-10-13	13:39:28	4223	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:28	4223	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:28	4223	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:28	4223	[DEBUG]	Query for Product
2023-10-13	13:39:28	4223	[DEBUG]	Executed store
2023-10-13	13:39:28	4223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863714','1000000135640','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:28	4223	[DEBUG]	No parent found
2023-10-13	13:39:28	4223	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863714 AND customfield_value = 'stockable'
2023-10-13	13:39:28	4223	[DEBUG]	Check product language entry
2023-10-13	13:39:28	4223	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863715
2023-10-13	13:39:28	4223	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:28	4223	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000135640' AND `virtuemart_product_id` != 1863715
2023-10-13	13:39:28	4223	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:28	4223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863715, '1000000135640')
2023-10-13	13:39:28	4223	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:28	4223	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-racing-ralph-performance-noir-27-5x2-25-noir-unitaire' AND `virtuemart_product_id` != 1863715
2023-10-13	13:39:28	4223	[DEBUG]	Query for ProductLang
2023-10-13	13:39:28	4223	[DEBUG]	Executed store
2023-10-13	13:39:28	4223	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Racing Ralph Performance noir 27.5x2.25 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-racing-ralph-performance-noir-27-5x2-25-noir-unitaire' WHERE `virtuemart_product_id` = '1863715'
2023-10-13	13:39:28	4223	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:28	4223	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863715 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:28	4223	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:28	4223	[DEBUG]	Executed store
2023-10-13	13:39:28	4223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863715','0','35.1903435468895','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:28	4223	[DEBUG]	Checking manufacturer
2023-10-13	13:39:28	4223	[DEBUG]	Load a row
2023-10-13	13:39:28	4223	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:28	4223	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:28	4223	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:28	4223	[DEBUG]	Executed store
2023-10-13	13:39:28	4223	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:28	4223	[DEBUG]	Manufacturer exists
2023-10-13	13:39:28	4223	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:28	4223	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:28	4223	[DEBUG]	Executed store
2023-10-13	13:39:28	4223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863715','25')
2023-10-13	13:39:28	4223	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:28	4223	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:28	4223	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863715 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:28	4223	[DEBUG]	Store custom available field
2023-10-13	13:39:28	4223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863715,3,'',1)
2023-10-13	13:39:28	4223	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:28	4223	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:28	4223	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863715 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:28	4223	[DEBUG]	Store custom available field
2023-10-13	13:39:28	4223	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863715,6,'Unitaire',3)
2023-10-13	13:39:28	4223	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:28	4223	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:28	4223	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863714
2023-10-13	13:39:28	4223	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:28	4223	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863714\":[1863714,8,1,\"choisir la taille\"],\"1863715\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863714
2023-10-13	13:39:28	4223	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:28	4223	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863715
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:28	4224	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field taille
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:28	4224	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:28	4224	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:28	4224	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:28	4224	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:28	4224	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:28	4224	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:28	4224	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field published
2023-10-13	13:39:28	4224	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:28	4224	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field override
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:28	4224	[DEBUG]	Use field value for field slug
2023-10-13	13:39:28	4224	[DEBUG]	Process line 4224
2023-10-13	13:39:28	4224	[DEBUG]	Load a row
2023-10-13	13:39:28	4224	[DEBUG]	Processing item: A_5000_1
2023-10-13	13:39:28	4224	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:28	4224	[DEBUG]	Processing product tax
2023-10-13	13:39:28	4224	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:28	4224	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:28	4224	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:28	4224	[DEBUG]	Query for Product
2023-10-13	13:39:28	4224	[DEBUG]	Executed store
2023-10-13	13:39:28	4224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5000_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:28	4224	[DEBUG]	Check product language entry
2023-10-13	13:39:28	4224	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863716
2023-10-13	13:39:28	4224	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:28	4224	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5000_1' AND `virtuemart_product_id` != 1863716
2023-10-13	13:39:28	4224	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:28	4224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863716, 'A_5000_1')
2023-10-13	13:39:28	4224	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:28	4224	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-racing-ralph-liteskin-pacestar-tlr-27-5-x-2-25-noir' AND `virtuemart_product_id` != 1863716
2023-10-13	13:39:28	4224	[DEBUG]	Query for ProductLang
2023-10-13	13:39:28	4224	[DEBUG]	Executed store
2023-10-13	13:39:28	4224	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.66703',`product_name`='SCHWALBE Pneu Schwalbe Racing Ralph Liteskin Pacestar TLR  27.5 x 2.25 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-racing-ralph-liteskin-pacestar-tlr-27-5-x-2-25-noir' WHERE `virtuemart_product_id` = '1863716'
2023-10-13	13:39:28	4224	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29365_pneu_schwalbe_racing_ralph_performance_noir_27_5x2_25.jpg
2023-10-13	13:39:28	4224	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:28	4224	[DEBUG]	Process image file
2023-10-13	13:39:28	4224	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:28	4224	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:28	4224	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29365_pneu_schwalbe_racing_ralph_performance_noir_27_5x2_25.jpg
2023-10-13	13:39:28	4224	[DEBUG]	Full name target: bcprisme/29365_pneu_schwalbe_racing_ralph_performance_noir_27_5x2_25.jpg
2023-10-13	13:39:29	4224	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:29	4224	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29365_pneu_schwalbe_racing_ralph_performance_noir_27_5x2_25.jpg'
2023-10-13	13:39:29	4224	[DEBUG]	Query for Media
2023-10-13	13:39:29	4224	[DEBUG]	Executed store
2023-10-13	13:39:29	4224	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29365_pneu_schwalbe_racing_ralph_performance_noir_27_5x2_25.jpg',`file_url_thumb`='bcprisme/29365_pneu_schwalbe_racing_ralph_performance_noir_27_5x2_25.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16015'
2023-10-13	13:39:29	4224	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:29	4224	[DEBUG]	Executed store
2023-10-13	13:39:29	4224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863716','16015','1')
2023-10-13	13:39:29	4224	[DEBUG]	Store product image relation
2023-10-13	13:39:29	4224	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:29	4224	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863716 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:29	4224	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:29	4224	[DEBUG]	Executed store
2023-10-13	13:39:29	4224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863716','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:29	4224	[DEBUG]	Checking manufacturer
2023-10-13	13:39:29	4224	[DEBUG]	Load a row
2023-10-13	13:39:29	4224	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:29	4224	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:29	4224	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:29	4224	[DEBUG]	Executed store
2023-10-13	13:39:29	4224	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:29	4224	[DEBUG]	Manufacturer exists
2023-10-13	13:39:29	4224	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:29	4224	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:29	4224	[DEBUG]	Executed store
2023-10-13	13:39:29	4224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863716','25')
2023-10-13	13:39:29	4224	[DEBUG]	Find the custom field ID
2023-10-13	13:39:29	4224	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:29	4224	[DEBUG]	No custom field ID found
2023-10-13	13:39:29	4224	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:29	4224	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:29	4224	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863716 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:29	4224	[DEBUG]	Store custom available field
2023-10-13	13:39:29	4224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863716,3,'0',1)
2023-10-13	13:39:29	4224	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:29	4224	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:29	4224	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863716 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:29	4224	[DEBUG]	Store custom available field
2023-10-13	13:39:29	4224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863716,6,'choisir la taille',3)
2023-10-13	13:39:29	4224	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:29	4224	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:29	4224	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:29	4224	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:29	4224	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863716 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:29	4224	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:29	4224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863716,8,1)
2023-10-13	13:39:29	4224	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:29	4224	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863716\":[1863716,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863716
2023-10-13	13:39:29	4224	[DEBUG]	Checking category
2023-10-13	13:39:29	4224	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:29	4224	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863716
2023-10-13	13:39:29	4224	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:29	4224	[DEBUG]	Executed store
2023-10-13	13:39:29	4224	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863716','7410')
2023-10-13	13:39:29	4224	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:29	4224	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863716 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:29	4224	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:29	4224	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863716
2023-10-13	13:39:29	4225	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:29	4225	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:29	4225	[DEBUG]	Use field value for field taille
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:29	4225	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:29	4225	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:29	4225	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:29	4225	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:29	4225	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:29	4225	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:29	4225	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:29	4225	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:29	4225	[DEBUG]	Use field value for field published
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:29	4225	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field override
2023-10-13	13:39:29	4225	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:29	4225	[DEBUG]	Use field value for field slug
2023-10-13	13:39:29	4225	[DEBUG]	Process line 4225
2023-10-13	13:39:29	4225	[DEBUG]	Load a row
2023-10-13	13:39:29	4225	[DEBUG]	Processing item: 4026495747196
2023-10-13	13:39:29	4225	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:29	4225	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:29	4225	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5000_1'
2023-10-13	13:39:29	4225	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:29	4225	[DEBUG]	Processing product tax
2023-10-13	13:39:29	4225	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:29	4225	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:29	4225	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:29	4225	[DEBUG]	Query for Product
2023-10-13	13:39:29	4225	[DEBUG]	Executed store
2023-10-13	13:39:29	4225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863716','4026495747196','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:29	4225	[DEBUG]	No parent found
2023-10-13	13:39:29	4225	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863716 AND customfield_value = 'stockable'
2023-10-13	13:39:29	4225	[DEBUG]	Check product language entry
2023-10-13	13:39:29	4225	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863717
2023-10-13	13:39:29	4225	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:29	4225	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495747196' AND `virtuemart_product_id` != 1863717
2023-10-13	13:39:29	4225	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:29	4225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863717, '4026495747196')
2023-10-13	13:39:29	4225	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:29	4225	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-racing-ralph-liteskin-pacestar-tlr-27-5-x-2-25-noir-unitaire' AND `virtuemart_product_id` != 1863717
2023-10-13	13:39:29	4225	[DEBUG]	Query for ProductLang
2023-10-13	13:39:29	4225	[DEBUG]	Executed store
2023-10-13	13:39:29	4225	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Schwalbe Racing Ralph Liteskin Pacestar TLR  27.5 x 2.25 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-racing-ralph-liteskin-pacestar-tlr-27-5-x-2-25-noir-unitaire' WHERE `virtuemart_product_id` = '1863717'
2023-10-13	13:39:29	4225	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29365_pneu_schwalbe_racing_ralph_performance_noir_27_5x2_25.jpg
2023-10-13	13:39:29	4225	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:29	4225	[DEBUG]	Process image file
2023-10-13	13:39:29	4225	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:29	4225	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:29	4225	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29365_pneu_schwalbe_racing_ralph_performance_noir_27_5x2_25.jpg
2023-10-13	13:39:29	4225	[DEBUG]	Full name target: bcprisme/29365_pneu_schwalbe_racing_ralph_performance_noir_27_5x2_25.jpg
2023-10-13	13:39:30	4225	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:30	4225	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29365_pneu_schwalbe_racing_ralph_performance_noir_27_5x2_25.jpg'
2023-10-13	13:39:30	4225	[DEBUG]	Query for Media
2023-10-13	13:39:30	4225	[DEBUG]	Executed store
2023-10-13	13:39:30	4225	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29365_pneu_schwalbe_racing_ralph_performance_noir_27_5x2_25.jpg',`file_url_thumb`='bcprisme/29365_pneu_schwalbe_racing_ralph_performance_noir_27_5x2_25.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16015'
2023-10-13	13:39:30	4225	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:30	4225	[DEBUG]	Executed store
2023-10-13	13:39:30	4225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863717','16015','1')
2023-10-13	13:39:30	4225	[DEBUG]	Store product image relation
2023-10-13	13:39:30	4225	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:30	4225	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863717 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:30	4225	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:30	4225	[DEBUG]	Executed store
2023-10-13	13:39:30	4225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863717','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:30	4225	[DEBUG]	Checking manufacturer
2023-10-13	13:39:30	4225	[DEBUG]	Load a row
2023-10-13	13:39:30	4225	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:30	4225	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:30	4225	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:30	4225	[DEBUG]	Executed store
2023-10-13	13:39:30	4225	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:30	4225	[DEBUG]	Manufacturer exists
2023-10-13	13:39:30	4225	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:30	4225	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:30	4225	[DEBUG]	Executed store
2023-10-13	13:39:30	4225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863717','25')
2023-10-13	13:39:30	4225	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:30	4225	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:30	4225	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863717 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:30	4225	[DEBUG]	Store custom available field
2023-10-13	13:39:30	4225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863717,3,'',1)
2023-10-13	13:39:30	4225	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:30	4225	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:30	4225	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863717 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:30	4225	[DEBUG]	Store custom available field
2023-10-13	13:39:30	4225	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863717,6,'Unitaire',3)
2023-10-13	13:39:30	4225	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:30	4225	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:30	4225	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863716
2023-10-13	13:39:30	4225	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:30	4225	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863716\":[1863716,8,1,\"choisir la taille\"],\"1863717\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863716
2023-10-13	13:39:30	4225	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:30	4225	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863717
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:30	4226	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field taille
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:30	4226	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:30	4226	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:30	4226	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:30	4226	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:30	4226	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:30	4226	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field published
2023-10-13	13:39:30	4226	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:30	4226	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field override
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:30	4226	[DEBUG]	Use field value for field slug
2023-10-13	13:39:30	4226	[DEBUG]	Process line 4226
2023-10-13	13:39:30	4226	[DEBUG]	Load a row
2023-10-13	13:39:30	4226	[DEBUG]	Processing item: A_5182_1
2023-10-13	13:39:30	4226	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:30	4226	[DEBUG]	Processing product tax
2023-10-13	13:39:30	4226	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:30	4226	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:30	4226	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:30	4226	[DEBUG]	Query for Product
2023-10-13	13:39:30	4226	[DEBUG]	Executed store
2023-10-13	13:39:30	4226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5182_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:30	4226	[DEBUG]	Check product language entry
2023-10-13	13:39:30	4226	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863718
2023-10-13	13:39:30	4226	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:30	4226	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5182_1' AND `virtuemart_product_id` != 1863718
2023-10-13	13:39:30	4226	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:30	4226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863718, 'A_5182_1')
2023-10-13	13:39:30	4226	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:30	4226	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-land-cruiser-plus-reflex-27x2-00-50-584-noir' AND `virtuemart_product_id` != 1863718
2023-10-13	13:39:30	4226	[DEBUG]	Query for ProductLang
2023-10-13	13:39:30	4226	[DEBUG]	Executed store
2023-10-13	13:39:30	4226	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : 10.55.04.391',`product_name`='SCHWALBE Pneu Land Cruiser Plus reflex 27x2.00 50-584 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-land-cruiser-plus-reflex-27x2-00-50-584-noir' WHERE `virtuemart_product_id` = '1863718'
2023-10-13	13:39:30	4226	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29647_pneu_schwalbe_land_cruiser_plus_reflex_27x2_00_50-584.png
2023-10-13	13:39:30	4226	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:39:30	4226	[DEBUG]	Process image file
2023-10-13	13:39:30	4226	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:39:30	4226	[DEBUG]	Mime type found: image/png
2023-10-13	13:39:30	4226	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29647_pneu_schwalbe_land_cruiser_plus_reflex_27x2_00_50-584.png
2023-10-13	13:39:30	4226	[DEBUG]	Full name target: bcprisme/29647_pneu_schwalbe_land_cruiser_plus_reflex_27x2_00_50-584.png
2023-10-13	13:39:31	4226	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:31	4226	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29647_pneu_schwalbe_land_cruiser_plus_reflex_27x2_00_50-584.png'
2023-10-13	13:39:31	4226	[DEBUG]	Query for Media
2023-10-13	13:39:31	4226	[DEBUG]	Executed store
2023-10-13	13:39:31	4226	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29647_pneu_schwalbe_land_cruiser_plus_reflex_27x2_00_50-584.png',`file_url_thumb`='bcprisme/29647_pneu_schwalbe_land_cruiser_plus_reflex_27x2_00_50-584.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14509'
2023-10-13	13:39:31	4226	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:31	4226	[DEBUG]	Executed store
2023-10-13	13:39:31	4226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863718','14509','1')
2023-10-13	13:39:31	4226	[DEBUG]	Store product image relation
2023-10-13	13:39:31	4226	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:31	4226	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863718 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:31	4226	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:31	4226	[DEBUG]	Executed store
2023-10-13	13:39:31	4226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863718','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:31	4226	[DEBUG]	Checking manufacturer
2023-10-13	13:39:31	4226	[DEBUG]	Load a row
2023-10-13	13:39:31	4226	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:31	4226	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:31	4226	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:31	4226	[DEBUG]	Executed store
2023-10-13	13:39:31	4226	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:31	4226	[DEBUG]	Manufacturer exists
2023-10-13	13:39:31	4226	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:31	4226	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:31	4226	[DEBUG]	Executed store
2023-10-13	13:39:31	4226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863718','25')
2023-10-13	13:39:31	4226	[DEBUG]	Find the custom field ID
2023-10-13	13:39:31	4226	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:31	4226	[DEBUG]	No custom field ID found
2023-10-13	13:39:31	4226	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:31	4226	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:39:31	4226	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863718 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:31	4226	[DEBUG]	Store custom available field
2023-10-13	13:39:31	4226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863718,3,'39.7891666666667',1)
2023-10-13	13:39:31	4226	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:31	4226	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:31	4226	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863718 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:31	4226	[DEBUG]	Store custom available field
2023-10-13	13:39:31	4226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863718,6,'choisir la taille',3)
2023-10-13	13:39:31	4226	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:31	4226	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:31	4226	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:31	4226	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:31	4226	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863718 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:31	4226	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:31	4226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863718,8,1)
2023-10-13	13:39:31	4226	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:31	4226	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863718\":[1863718,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863718
2023-10-13	13:39:31	4226	[DEBUG]	Checking category
2023-10-13	13:39:31	4226	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:31	4226	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863718
2023-10-13	13:39:31	4226	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:31	4226	[DEBUG]	Executed store
2023-10-13	13:39:31	4226	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863718','7410')
2023-10-13	13:39:31	4226	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:31	4226	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863718 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:31	4226	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:31	4226	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863718
2023-10-13	13:39:31	4227	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:31	4227	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:31	4227	[DEBUG]	Use field value for field taille
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:31	4227	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:31	4227	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:31	4227	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:31	4227	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:31	4227	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:31	4227	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:31	4227	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:31	4227	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:31	4227	[DEBUG]	Use field value for field published
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:31	4227	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field override
2023-10-13	13:39:31	4227	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:31	4227	[DEBUG]	Use field value for field slug
2023-10-13	13:39:31	4227	[DEBUG]	Process line 4227
2023-10-13	13:39:31	4227	[DEBUG]	Load a row
2023-10-13	13:39:31	4227	[DEBUG]	Processing item: 4026495775083
2023-10-13	13:39:31	4227	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:31	4227	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:31	4227	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5182_1'
2023-10-13	13:39:31	4227	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:31	4227	[DEBUG]	Processing product tax
2023-10-13	13:39:31	4227	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:31	4227	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:31	4227	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:31	4227	[DEBUG]	Query for Product
2023-10-13	13:39:31	4227	[DEBUG]	Executed store
2023-10-13	13:39:31	4227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863718','4026495775083','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:31	4227	[DEBUG]	No parent found
2023-10-13	13:39:31	4227	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863718 AND customfield_value = 'stockable'
2023-10-13	13:39:31	4227	[DEBUG]	Check product language entry
2023-10-13	13:39:32	4227	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863719
2023-10-13	13:39:32	4227	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:32	4227	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495775083' AND `virtuemart_product_id` != 1863719
2023-10-13	13:39:32	4227	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:32	4227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863719, '4026495775083')
2023-10-13	13:39:32	4227	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:32	4227	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-land-cruiser-plus-reflex-27x2-00-50-584-noir-unitaire' AND `virtuemart_product_id` != 1863719
2023-10-13	13:39:32	4227	[DEBUG]	Query for ProductLang
2023-10-13	13:39:32	4227	[DEBUG]	Executed store
2023-10-13	13:39:32	4227	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Land Cruiser Plus reflex 27x2.00 50-584 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-land-cruiser-plus-reflex-27x2-00-50-584-noir-unitaire' WHERE `virtuemart_product_id` = '1863719'
2023-10-13	13:39:32	4227	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29647_pneu_schwalbe_land_cruiser_plus_reflex_27x2_00_50-584.png
2023-10-13	13:39:32	4227	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:39:32	4227	[DEBUG]	Process image file
2023-10-13	13:39:32	4227	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:39:32	4227	[DEBUG]	Mime type found: image/png
2023-10-13	13:39:32	4227	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29647_pneu_schwalbe_land_cruiser_plus_reflex_27x2_00_50-584.png
2023-10-13	13:39:32	4227	[DEBUG]	Full name target: bcprisme/29647_pneu_schwalbe_land_cruiser_plus_reflex_27x2_00_50-584.png
2023-10-13	13:39:32	4227	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:32	4227	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29647_pneu_schwalbe_land_cruiser_plus_reflex_27x2_00_50-584.png'
2023-10-13	13:39:32	4227	[DEBUG]	Query for Media
2023-10-13	13:39:32	4227	[DEBUG]	Executed store
2023-10-13	13:39:32	4227	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29647_pneu_schwalbe_land_cruiser_plus_reflex_27x2_00_50-584.png',`file_url_thumb`='bcprisme/29647_pneu_schwalbe_land_cruiser_plus_reflex_27x2_00_50-584.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14509'
2023-10-13	13:39:32	4227	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:32	4227	[DEBUG]	Executed store
2023-10-13	13:39:32	4227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863719','14509','1')
2023-10-13	13:39:32	4227	[DEBUG]	Store product image relation
2023-10-13	13:39:32	4227	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:32	4227	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863719 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:32	4227	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:32	4227	[DEBUG]	Executed store
2023-10-13	13:39:33	4227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863719','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:33	4227	[DEBUG]	Checking manufacturer
2023-10-13	13:39:33	4227	[DEBUG]	Load a row
2023-10-13	13:39:33	4227	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:33	4227	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:33	4227	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:33	4227	[DEBUG]	Executed store
2023-10-13	13:39:33	4227	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:33	4227	[DEBUG]	Manufacturer exists
2023-10-13	13:39:33	4227	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:33	4227	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:33	4227	[DEBUG]	Executed store
2023-10-13	13:39:33	4227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863719','25')
2023-10-13	13:39:33	4227	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:33	4227	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:33	4227	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863719 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:33	4227	[DEBUG]	Store custom available field
2023-10-13	13:39:33	4227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863719,3,'',1)
2023-10-13	13:39:33	4227	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:33	4227	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:33	4227	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863719 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:33	4227	[DEBUG]	Store custom available field
2023-10-13	13:39:33	4227	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863719,6,'Unitaire',3)
2023-10-13	13:39:33	4227	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:33	4227	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:33	4227	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863718
2023-10-13	13:39:33	4227	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:33	4227	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863718\":[1863718,8,1,\"choisir la taille\"],\"1863719\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863718
2023-10-13	13:39:33	4227	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:33	4227	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863719
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:33	4228	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field taille
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:33	4228	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:33	4228	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:33	4228	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:33	4228	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:33	4228	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:33	4228	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:33	4228	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field published
2023-10-13	13:39:33	4228	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:33	4228	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field override
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:33	4228	[DEBUG]	Use field value for field slug
2023-10-13	13:39:33	4228	[DEBUG]	Process line 4228
2023-10-13	13:39:33	4228	[DEBUG]	Load a row
2023-10-13	13:39:33	4228	[DEBUG]	Processing item: A_5205_1
2023-10-13	13:39:33	4228	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:33	4228	[DEBUG]	Processing product tax
2023-10-13	13:39:33	4228	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:33	4228	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:33	4228	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:33	4228	[DEBUG]	Query for Product
2023-10-13	13:39:33	4228	[DEBUG]	Executed store
2023-10-13	13:39:33	4228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5205_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:33	4228	[DEBUG]	Check product language entry
2023-10-13	13:39:33	4228	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863720
2023-10-13	13:39:33	4228	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:33	4228	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5205_1' AND `virtuemart_product_id` != 1863720
2023-10-13	13:39:33	4228	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:33	4228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863720, 'A_5205_1')
2023-10-13	13:39:33	4228	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:33	4228	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-magic-mary-27-5-x-2-35-650b-60-584-noir' AND `virtuemart_product_id` != 1863720
2023-10-13	13:39:33	4228	[DEBUG]	Query for ProductLang
2023-10-13	13:39:33	4228	[DEBUG]	Executed store
2023-10-13	13:39:33	4228	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.451',`product_name`='SCHWALBE PNEU MAGIC MARY 27.5 X 2.35 650b 60-584 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-magic-mary-27-5-x-2-35-650b-60-584-noir' WHERE `virtuemart_product_id` = '1863720'
2023-10-13	13:39:33	4228	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29676_pneu_magic_mary_27_5_x_2_35_650b_60-584.jpg
2023-10-13	13:39:33	4228	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:39:33	4228	[DEBUG]	Process image file
2023-10-13	13:39:33	4228	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:39:33	4228	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:33	4228	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29676_pneu_magic_mary_27_5_x_2_35_650b_60-584.jpg
2023-10-13	13:39:33	4228	[DEBUG]	Full name target: bcprisme/29676_pneu_magic_mary_27_5_x_2_35_650b_60-584.jpg
2023-10-13	13:39:34	4228	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:34	4228	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29676_pneu_magic_mary_27_5_x_2_35_650b_60-584.jpg'
2023-10-13	13:39:34	4228	[DEBUG]	Query for Media
2023-10-13	13:39:34	4228	[DEBUG]	Executed store
2023-10-13	13:39:34	4228	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29676_pneu_magic_mary_27_5_x_2_35_650b_60-584.jpg',`file_url_thumb`='bcprisme/29676_pneu_magic_mary_27_5_x_2_35_650b_60-584.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381949'
2023-10-13	13:39:34	4228	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:34	4228	[DEBUG]	Executed store
2023-10-13	13:39:34	4228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863720','381949','1')
2023-10-13	13:39:34	4228	[DEBUG]	Store product image relation
2023-10-13	13:39:34	4228	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:34	4228	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863720 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:34	4228	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:34	4228	[DEBUG]	Executed store
2023-10-13	13:39:34	4228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863720','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:34	4228	[DEBUG]	Checking manufacturer
2023-10-13	13:39:34	4228	[DEBUG]	Load a row
2023-10-13	13:39:34	4228	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:34	4228	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:34	4228	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:34	4228	[DEBUG]	Executed store
2023-10-13	13:39:34	4228	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:34	4228	[DEBUG]	Manufacturer exists
2023-10-13	13:39:34	4228	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:34	4228	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:34	4228	[DEBUG]	Executed store
2023-10-13	13:39:34	4228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863720','25')
2023-10-13	13:39:34	4228	[DEBUG]	Find the custom field ID
2023-10-13	13:39:34	4228	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:34	4228	[DEBUG]	No custom field ID found
2023-10-13	13:39:34	4228	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:34	4228	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:34	4228	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863720 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:34	4228	[DEBUG]	Store custom available field
2023-10-13	13:39:34	4228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863720,3,'0',1)
2023-10-13	13:39:34	4228	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:34	4228	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:34	4228	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863720 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:34	4228	[DEBUG]	Store custom available field
2023-10-13	13:39:34	4228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863720,6,'choisir la taille',3)
2023-10-13	13:39:34	4228	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:34	4228	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:34	4228	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:34	4228	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:34	4228	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863720 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:34	4228	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:34	4228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863720,8,1)
2023-10-13	13:39:34	4228	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:34	4228	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863720\":[1863720,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863720
2023-10-13	13:39:34	4228	[DEBUG]	Checking category
2023-10-13	13:39:34	4228	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:34	4228	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863720
2023-10-13	13:39:34	4228	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:34	4228	[DEBUG]	Executed store
2023-10-13	13:39:34	4228	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863720','7410')
2023-10-13	13:39:34	4228	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:34	4228	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863720 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:34	4228	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:34	4228	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863720
2023-10-13	13:39:34	4229	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:34	4229	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:34	4229	[DEBUG]	Use field value for field taille
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:34	4229	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:34	4229	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:34	4229	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:34	4229	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:34	4229	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:34	4229	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:34	4229	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:34	4229	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:34	4229	[DEBUG]	Use field value for field published
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:34	4229	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field override
2023-10-13	13:39:34	4229	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:34	4229	[DEBUG]	Use field value for field slug
2023-10-13	13:39:34	4229	[DEBUG]	Process line 4229
2023-10-13	13:39:34	4229	[DEBUG]	Load a row
2023-10-13	13:39:34	4229	[DEBUG]	Processing item: 4026495817325
2023-10-13	13:39:34	4229	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:34	4229	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:34	4229	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5205_1'
2023-10-13	13:39:34	4229	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:34	4229	[DEBUG]	Processing product tax
2023-10-13	13:39:34	4229	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:34	4229	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:34	4229	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:34	4229	[DEBUG]	Query for Product
2023-10-13	13:39:34	4229	[DEBUG]	Executed store
2023-10-13	13:39:34	4229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863720','4026495817325','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:34	4229	[DEBUG]	No parent found
2023-10-13	13:39:34	4229	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863720 AND customfield_value = 'stockable'
2023-10-13	13:39:34	4229	[DEBUG]	Check product language entry
2023-10-13	13:39:34	4229	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863721
2023-10-13	13:39:34	4229	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:34	4229	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495817325' AND `virtuemart_product_id` != 1863721
2023-10-13	13:39:34	4229	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:34	4229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863721, '4026495817325')
2023-10-13	13:39:34	4229	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:34	4229	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-magic-mary-27-5-x-2-35-650b-60-584-noir-unitaire' AND `virtuemart_product_id` != 1863721
2023-10-13	13:39:34	4229	[DEBUG]	Query for ProductLang
2023-10-13	13:39:34	4229	[DEBUG]	Executed store
2023-10-13	13:39:34	4229	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU MAGIC MARY 27.5 X 2.35 650b 60-584 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-magic-mary-27-5-x-2-35-650b-60-584-noir-unitaire' WHERE `virtuemart_product_id` = '1863721'
2023-10-13	13:39:34	4229	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29676_pneu_magic_mary_27_5_x_2_35_650b_60-584.jpg
2023-10-13	13:39:34	4229	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:39:34	4229	[DEBUG]	Process image file
2023-10-13	13:39:34	4229	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:39:34	4229	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:34	4229	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29676_pneu_magic_mary_27_5_x_2_35_650b_60-584.jpg
2023-10-13	13:39:34	4229	[DEBUG]	Full name target: bcprisme/29676_pneu_magic_mary_27_5_x_2_35_650b_60-584.jpg
2023-10-13	13:39:35	4229	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:35	4229	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29676_pneu_magic_mary_27_5_x_2_35_650b_60-584.jpg'
2023-10-13	13:39:35	4229	[DEBUG]	Query for Media
2023-10-13	13:39:35	4229	[DEBUG]	Executed store
2023-10-13	13:39:35	4229	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29676_pneu_magic_mary_27_5_x_2_35_650b_60-584.jpg',`file_url_thumb`='bcprisme/29676_pneu_magic_mary_27_5_x_2_35_650b_60-584.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381949'
2023-10-13	13:39:35	4229	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:35	4229	[DEBUG]	Executed store
2023-10-13	13:39:35	4229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863721','381949','1')
2023-10-13	13:39:35	4229	[DEBUG]	Store product image relation
2023-10-13	13:39:35	4229	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:35	4229	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863721 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:35	4229	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:35	4229	[DEBUG]	Executed store
2023-10-13	13:39:35	4229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863721','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:35	4229	[DEBUG]	Checking manufacturer
2023-10-13	13:39:35	4229	[DEBUG]	Load a row
2023-10-13	13:39:35	4229	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:35	4229	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:35	4229	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:35	4229	[DEBUG]	Executed store
2023-10-13	13:39:35	4229	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:35	4229	[DEBUG]	Manufacturer exists
2023-10-13	13:39:35	4229	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:35	4229	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:35	4229	[DEBUG]	Executed store
2023-10-13	13:39:35	4229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863721','25')
2023-10-13	13:39:35	4229	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:35	4229	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:35	4229	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863721 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:35	4229	[DEBUG]	Store custom available field
2023-10-13	13:39:35	4229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863721,3,'',1)
2023-10-13	13:39:35	4229	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:35	4229	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:35	4229	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863721 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:35	4229	[DEBUG]	Store custom available field
2023-10-13	13:39:35	4229	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863721,6,'Unitaire',3)
2023-10-13	13:39:35	4229	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:35	4229	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:35	4229	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863720
2023-10-13	13:39:35	4229	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:35	4229	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863720\":[1863720,8,1,\"choisir la taille\"],\"1863721\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863720
2023-10-13	13:39:35	4229	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:35	4229	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863721
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:35	4230	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field taille
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:35	4230	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:35	4230	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:35	4230	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:35	4230	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:35	4230	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:35	4230	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field published
2023-10-13	13:39:35	4230	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:35	4230	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field override
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:35	4230	[DEBUG]	Use field value for field slug
2023-10-13	13:39:35	4230	[DEBUG]	Process line 4230
2023-10-13	13:39:35	4230	[DEBUG]	Load a row
2023-10-13	13:39:35	4230	[DEBUG]	Processing item: A_5277_1
2023-10-13	13:39:35	4230	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:35	4230	[DEBUG]	Processing product tax
2023-10-13	13:39:35	4230	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:35	4230	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:35	4230	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:35	4230	[DEBUG]	Query for Product
2023-10-13	13:39:35	4230	[DEBUG]	Executed store
2023-10-13	13:39:35	4230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5277_1','0.6','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:35	4230	[DEBUG]	Check product language entry
2023-10-13	13:39:35	4230	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863722
2023-10-13	13:39:35	4230	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:35	4230	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5277_1' AND `virtuemart_product_id` != 1863722
2023-10-13	13:39:35	4230	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:35	4230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863722, 'A_5277_1')
2023-10-13	13:39:35	4230	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:35	4230	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-pneu-double-fighter-iii-27-5x2-0-rigide-noir-noir' AND `virtuemart_product_id` != 1863722
2023-10-13	13:39:35	4230	[DEBUG]	Query for ProductLang
2023-10-13	13:39:35	4230	[DEBUG]	Executed store
2023-10-13	13:39:35	4230	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.65637',`product_name`='Continental Pneu Double Fighter III 27.5x2.0 rigide noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-pneu-double-fighter-iii-27-5x2-0-rigide-noir-noir' WHERE `virtuemart_product_id` = '1863722'
2023-10-13	13:39:35	4230	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_65636.jpg
2023-10-13	13:39:35	4230	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:35	4230	[DEBUG]	Process image file
2023-10-13	13:39:35	4230	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:35	4230	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:35	4230	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_65636.jpg
2023-10-13	13:39:35	4230	[DEBUG]	Full name target: bcprisme/24_65636.jpg
2023-10-13	13:39:36	4230	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:36	4230	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_65636.jpg'
2023-10-13	13:39:36	4230	[DEBUG]	Query for Media
2023-10-13	13:39:36	4230	[DEBUG]	Executed store
2023-10-13	13:39:36	4230	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_65636.jpg',`file_url_thumb`='bcprisme/24_65636.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438303'
2023-10-13	13:39:36	4230	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:36	4230	[DEBUG]	Executed store
2023-10-13	13:39:36	4230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863722','438303','1')
2023-10-13	13:39:36	4230	[DEBUG]	Store product image relation
2023-10-13	13:39:36	4230	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:36	4230	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863722 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:36	4230	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:36	4230	[DEBUG]	Executed store
2023-10-13	13:39:36	4230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863722','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:36	4230	[DEBUG]	Checking manufacturer
2023-10-13	13:39:36	4230	[DEBUG]	Load a row
2023-10-13	13:39:36	4230	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:36	4230	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:39:36	4230	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:36	4230	[DEBUG]	Executed store
2023-10-13	13:39:36	4230	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:39:36	4230	[DEBUG]	Manufacturer exists
2023-10-13	13:39:36	4230	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:39:36	4230	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:36	4230	[DEBUG]	Executed store
2023-10-13	13:39:36	4230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863722','52')
2023-10-13	13:39:36	4230	[DEBUG]	Find the custom field ID
2023-10-13	13:39:36	4230	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:36	4230	[DEBUG]	No custom field ID found
2023-10-13	13:39:36	4230	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:36	4230	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:36	4230	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863722 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:36	4230	[DEBUG]	Store custom available field
2023-10-13	13:39:36	4230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863722,3,'0',1)
2023-10-13	13:39:36	4230	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:36	4230	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:36	4230	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863722 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:36	4230	[DEBUG]	Store custom available field
2023-10-13	13:39:36	4230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863722,6,'choisir la taille',3)
2023-10-13	13:39:36	4230	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:36	4230	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:36	4230	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:36	4230	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:36	4230	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863722 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:36	4230	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:36	4230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863722,8,1)
2023-10-13	13:39:36	4230	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:36	4230	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863722\":[1863722,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863722
2023-10-13	13:39:36	4230	[DEBUG]	Checking category
2023-10-13	13:39:36	4230	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:36	4230	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863722
2023-10-13	13:39:36	4230	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:36	4230	[DEBUG]	Executed store
2023-10-13	13:39:36	4230	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863722','7410')
2023-10-13	13:39:36	4230	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:36	4230	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863722 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:36	4230	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:36	4230	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863722
2023-10-13	13:39:36	4231	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:36	4231	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:36	4231	[DEBUG]	Use field value for field taille
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:36	4231	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:36	4231	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:36	4231	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:36	4231	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:36	4231	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:36	4231	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:36	4231	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:36	4231	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:36	4231	[DEBUG]	Use field value for field published
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:36	4231	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field override
2023-10-13	13:39:36	4231	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:36	4231	[DEBUG]	Use field value for field slug
2023-10-13	13:39:36	4231	[DEBUG]	Process line 4231
2023-10-13	13:39:36	4231	[DEBUG]	Load a row
2023-10-13	13:39:36	4231	[DEBUG]	Processing item: 4019238709872
2023-10-13	13:39:36	4231	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:36	4231	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:36	4231	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5277_1'
2023-10-13	13:39:36	4231	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:36	4231	[DEBUG]	Processing product tax
2023-10-13	13:39:36	4231	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:36	4231	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:36	4231	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:36	4231	[DEBUG]	Query for Product
2023-10-13	13:39:36	4231	[DEBUG]	Executed store
2023-10-13	13:39:36	4231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863722','4019238709872','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:36	4231	[DEBUG]	No parent found
2023-10-13	13:39:36	4231	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863722 AND customfield_value = 'stockable'
2023-10-13	13:39:36	4231	[DEBUG]	Check product language entry
2023-10-13	13:39:36	4231	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863723
2023-10-13	13:39:36	4231	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:36	4231	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4019238709872' AND `virtuemart_product_id` != 1863723
2023-10-13	13:39:36	4231	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:36	4231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863723, '4019238709872')
2023-10-13	13:39:36	4231	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:36	4231	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-pneu-double-fighter-iii-27-5x2-0-rigide-noir-noir-all' AND `virtuemart_product_id` != 1863723
2023-10-13	13:39:36	4231	[DEBUG]	Query for ProductLang
2023-10-13	13:39:36	4231	[DEBUG]	Executed store
2023-10-13	13:39:36	4231	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Continental Pneu Double Fighter III 27.5x2.0 rigide noir / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-pneu-double-fighter-iii-27-5x2-0-rigide-noir-noir-all' WHERE `virtuemart_product_id` = '1863723'
2023-10-13	13:39:36	4231	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_65636.jpg
2023-10-13	13:39:36	4231	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:36	4231	[DEBUG]	Process image file
2023-10-13	13:39:36	4231	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:36	4231	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:36	4231	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_65636.jpg
2023-10-13	13:39:36	4231	[DEBUG]	Full name target: bcprisme/24_65636.jpg
2023-10-13	13:39:37	4231	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:37	4231	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_65636.jpg'
2023-10-13	13:39:37	4231	[DEBUG]	Query for Media
2023-10-13	13:39:37	4231	[DEBUG]	Executed store
2023-10-13	13:39:37	4231	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_65636.jpg',`file_url_thumb`='bcprisme/24_65636.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '438303'
2023-10-13	13:39:37	4231	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:37	4231	[DEBUG]	Executed store
2023-10-13	13:39:37	4231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863723','438303','1')
2023-10-13	13:39:37	4231	[DEBUG]	Store product image relation
2023-10-13	13:39:37	4231	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:37	4231	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863723 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:37	4231	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:37	4231	[DEBUG]	Executed store
2023-10-13	13:39:37	4231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863723','0','30.5478180129991','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:37	4231	[DEBUG]	Checking manufacturer
2023-10-13	13:39:37	4231	[DEBUG]	Load a row
2023-10-13	13:39:37	4231	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:37	4231	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:39:37	4231	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:37	4231	[DEBUG]	Executed store
2023-10-13	13:39:37	4231	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:39:37	4231	[DEBUG]	Manufacturer exists
2023-10-13	13:39:37	4231	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:39:37	4231	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:37	4231	[DEBUG]	Executed store
2023-10-13	13:39:37	4231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863723','52')
2023-10-13	13:39:37	4231	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:37	4231	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:37	4231	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863723 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:37	4231	[DEBUG]	Store custom available field
2023-10-13	13:39:37	4231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863723,3,'',1)
2023-10-13	13:39:37	4231	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:37	4231	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:39:37	4231	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863723 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:37	4231	[DEBUG]	Store custom available field
2023-10-13	13:39:37	4231	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863723,6,'All',3)
2023-10-13	13:39:37	4231	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:37	4231	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:37	4231	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863722
2023-10-13	13:39:37	4231	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:37	4231	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863722\":[1863722,8,1,\"choisir la taille\"],\"1863723\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863722
2023-10-13	13:39:37	4231	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:37	4231	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863723
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:37	4232	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field taille
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:37	4232	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:37	4232	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:37	4232	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:37	4232	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:37	4232	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:37	4232	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field published
2023-10-13	13:39:37	4232	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:37	4232	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field override
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:37	4232	[DEBUG]	Use field value for field slug
2023-10-13	13:39:37	4232	[DEBUG]	Process line 4232
2023-10-13	13:39:37	4232	[DEBUG]	Load a row
2023-10-13	13:39:37	4232	[DEBUG]	Processing item: A_5278_208
2023-10-13	13:39:37	4232	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:37	4232	[DEBUG]	Processing product tax
2023-10-13	13:39:37	4232	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:37	4232	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:37	4232	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:37	4232	[DEBUG]	Query for Product
2023-10-13	13:39:37	4232	[DEBUG]	Executed store
2023-10-13	13:39:37	4232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5278_208','0.6','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:37	4232	[DEBUG]	Check product language entry
2023-10-13	13:39:37	4232	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863724
2023-10-13	13:39:37	4232	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:37	4232	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5278_208' AND `virtuemart_product_id` != 1863724
2023-10-13	13:39:37	4232	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:37	4232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863724, 'A_5278_208')
2023-10-13	13:39:37	4232	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:37	4232	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-hurricane-27-5x2-00-rigide-black-aucune' AND `virtuemart_product_id` != 1863724
2023-10-13	13:39:37	4232	[DEBUG]	Query for ProductLang
2023-10-13	13:39:37	4232	[DEBUG]	Executed store
2023-10-13	13:39:37	4232	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.65657',`product_name`='Schwalbe Pneu Hurricane 27.5x2.00 rigide black / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-hurricane-27-5x2-00-rigide-black-aucune' WHERE `virtuemart_product_id` = '1863724'
2023-10-13	13:39:37	4232	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29753_schwalbe_pneu_hurricane_27_5x2_00_rigide_black.jpg
2023-10-13	13:39:37	4232	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:37	4232	[DEBUG]	Process image file
2023-10-13	13:39:37	4232	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:37	4232	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:37	4232	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29753_schwalbe_pneu_hurricane_27_5x2_00_rigide_black.jpg
2023-10-13	13:39:37	4232	[DEBUG]	Full name target: bcprisme/29753_schwalbe_pneu_hurricane_27_5x2_00_rigide_black.jpg
2023-10-13	13:39:38	4232	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:38	4232	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29753_schwalbe_pneu_hurricane_27_5x2_00_rigide_black.jpg'
2023-10-13	13:39:38	4232	[DEBUG]	Query for Media
2023-10-13	13:39:38	4232	[DEBUG]	Executed store
2023-10-13	13:39:38	4232	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29753_schwalbe_pneu_hurricane_27_5x2_00_rigide_black.jpg',`file_url_thumb`='bcprisme/29753_schwalbe_pneu_hurricane_27_5x2_00_rigide_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14512'
2023-10-13	13:39:38	4232	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:38	4232	[DEBUG]	Executed store
2023-10-13	13:39:38	4232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863724','14512','1')
2023-10-13	13:39:38	4232	[DEBUG]	Store product image relation
2023-10-13	13:39:38	4232	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:38	4232	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863724 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:38	4232	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:38	4232	[DEBUG]	Executed store
2023-10-13	13:39:38	4232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863724','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:38	4232	[DEBUG]	Checking manufacturer
2023-10-13	13:39:38	4232	[DEBUG]	Load a row
2023-10-13	13:39:38	4232	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:38	4232	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:39:38	4232	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:38	4232	[DEBUG]	Executed store
2023-10-13	13:39:38	4232	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:39:38	4232	[DEBUG]	Manufacturer exists
2023-10-13	13:39:38	4232	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:39:38	4232	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:38	4232	[DEBUG]	Executed store
2023-10-13	13:39:38	4232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863724','77')
2023-10-13	13:39:38	4232	[DEBUG]	Find the custom field ID
2023-10-13	13:39:38	4232	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:38	4232	[DEBUG]	No custom field ID found
2023-10-13	13:39:38	4232	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:38	4232	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:38	4232	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863724 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:38	4232	[DEBUG]	Store custom available field
2023-10-13	13:39:38	4232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863724,3,'0',1)
2023-10-13	13:39:38	4232	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:38	4232	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:38	4232	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863724 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:38	4232	[DEBUG]	Store custom available field
2023-10-13	13:39:38	4232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863724,6,'choisir la taille',3)
2023-10-13	13:39:38	4232	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:38	4232	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:38	4232	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:38	4232	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:38	4232	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863724 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:38	4232	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:38	4232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863724,8,1)
2023-10-13	13:39:38	4232	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:38	4232	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863724\":[1863724,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863724
2023-10-13	13:39:38	4232	[DEBUG]	Checking category
2023-10-13	13:39:38	4232	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:38	4232	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863724
2023-10-13	13:39:38	4232	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:38	4232	[DEBUG]	Executed store
2023-10-13	13:39:38	4232	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863724','7410')
2023-10-13	13:39:38	4232	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:38	4232	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863724 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:38	4232	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:38	4232	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863724
2023-10-13	13:39:38	4233	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:38	4233	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:38	4233	[DEBUG]	Use field value for field taille
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:38	4233	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:38	4233	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:38	4233	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:38	4233	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:38	4233	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:38	4233	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:38	4233	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:38	4233	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:38	4233	[DEBUG]	Use field value for field published
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:38	4233	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field override
2023-10-13	13:39:38	4233	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:38	4233	[DEBUG]	Use field value for field slug
2023-10-13	13:39:38	4233	[DEBUG]	Process line 4233
2023-10-13	13:39:38	4233	[DEBUG]	Load a row
2023-10-13	13:39:38	4233	[DEBUG]	Processing item: 4026495784764
2023-10-13	13:39:38	4233	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:38	4233	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:38	4233	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5278_208'
2023-10-13	13:39:38	4233	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:38	4233	[DEBUG]	Processing product tax
2023-10-13	13:39:38	4233	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:38	4233	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:38	4233	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:38	4233	[DEBUG]	Query for Product
2023-10-13	13:39:38	4233	[DEBUG]	Executed store
2023-10-13	13:39:38	4233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863724','4026495784764','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:38	4233	[DEBUG]	No parent found
2023-10-13	13:39:38	4233	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863724 AND customfield_value = 'stockable'
2023-10-13	13:39:38	4233	[DEBUG]	Check product language entry
2023-10-13	13:39:38	4233	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863725
2023-10-13	13:39:38	4233	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:38	4233	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495784764' AND `virtuemart_product_id` != 1863725
2023-10-13	13:39:38	4233	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:38	4233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863725, '4026495784764')
2023-10-13	13:39:38	4233	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:38	4233	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-hurricane-27-5x2-00-rigide-black-aucune-all' AND `virtuemart_product_id` != 1863725
2023-10-13	13:39:38	4233	[DEBUG]	Query for ProductLang
2023-10-13	13:39:38	4233	[DEBUG]	Executed store
2023-10-13	13:39:38	4233	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Pneu Hurricane 27.5x2.00 rigide black / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-hurricane-27-5x2-00-rigide-black-aucune-all' WHERE `virtuemart_product_id` = '1863725'
2023-10-13	13:39:38	4233	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29753_schwalbe_pneu_hurricane_27_5x2_00_rigide_black.jpg
2023-10-13	13:39:38	4233	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:38	4233	[DEBUG]	Process image file
2023-10-13	13:39:38	4233	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:38	4233	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:38	4233	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29753_schwalbe_pneu_hurricane_27_5x2_00_rigide_black.jpg
2023-10-13	13:39:38	4233	[DEBUG]	Full name target: bcprisme/29753_schwalbe_pneu_hurricane_27_5x2_00_rigide_black.jpg
2023-10-13	13:39:39	4233	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:39	4233	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29753_schwalbe_pneu_hurricane_27_5x2_00_rigide_black.jpg'
2023-10-13	13:39:39	4233	[DEBUG]	Query for Media
2023-10-13	13:39:39	4233	[DEBUG]	Executed store
2023-10-13	13:39:39	4233	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29753_schwalbe_pneu_hurricane_27_5x2_00_rigide_black.jpg',`file_url_thumb`='bcprisme/29753_schwalbe_pneu_hurricane_27_5x2_00_rigide_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14512'
2023-10-13	13:39:39	4233	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:39	4233	[DEBUG]	Executed store
2023-10-13	13:39:39	4233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863725','14512','1')
2023-10-13	13:39:39	4233	[DEBUG]	Store product image relation
2023-10-13	13:39:39	4233	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:39	4233	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863725 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:39	4233	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:39	4233	[DEBUG]	Executed store
2023-10-13	13:39:39	4233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863725','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:39	4233	[DEBUG]	Checking manufacturer
2023-10-13	13:39:39	4233	[DEBUG]	Load a row
2023-10-13	13:39:39	4233	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:39	4233	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:39:39	4233	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:39	4233	[DEBUG]	Executed store
2023-10-13	13:39:39	4233	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:39:39	4233	[DEBUG]	Manufacturer exists
2023-10-13	13:39:39	4233	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:39:39	4233	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:39	4233	[DEBUG]	Executed store
2023-10-13	13:39:39	4233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863725','77')
2023-10-13	13:39:39	4233	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:39	4233	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:39	4233	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863725 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:39	4233	[DEBUG]	Store custom available field
2023-10-13	13:39:39	4233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863725,3,'',1)
2023-10-13	13:39:39	4233	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:39	4233	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:39:39	4233	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863725 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:39	4233	[DEBUG]	Store custom available field
2023-10-13	13:39:39	4233	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863725,6,'All',3)
2023-10-13	13:39:39	4233	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:39	4233	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:39	4233	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863724
2023-10-13	13:39:39	4233	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:39	4233	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863724\":[1863724,8,1,\"choisir la taille\"],\"1863725\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863724
2023-10-13	13:39:39	4233	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:39	4233	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863725
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:39	4234	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field taille
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:39	4234	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:39	4234	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:39	4234	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:39	4234	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:39	4234	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:39	4234	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field published
2023-10-13	13:39:39	4234	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:39	4234	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field override
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:39	4234	[DEBUG]	Use field value for field slug
2023-10-13	13:39:39	4234	[DEBUG]	Process line 4234
2023-10-13	13:39:39	4234	[DEBUG]	Load a row
2023-10-13	13:39:39	4234	[DEBUG]	Processing item: A_5360_1
2023-10-13	13:39:39	4234	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:39	4234	[DEBUG]	Processing product tax
2023-10-13	13:39:39	4234	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:39	4234	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:39	4234	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:39	4234	[DEBUG]	Query for Product
2023-10-13	13:39:39	4234	[DEBUG]	Executed store
2023-10-13	13:39:39	4234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5360_1','0.6','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:39	4234	[DEBUG]	Check product language entry
2023-10-13	13:39:39	4234	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863726
2023-10-13	13:39:39	4234	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:39	4234	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5360_1' AND `virtuemart_product_id` != 1863726
2023-10-13	13:39:39	4234	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:39	4234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863726, 'A_5360_1')
2023-10-13	13:39:39	4234	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:39	4234	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rapid-rob-27-5x2-35-57-584-hs391-noir' AND `virtuemart_product_id` != 1863726
2023-10-13	13:39:39	4234	[DEBUG]	Query for ProductLang
2023-10-13	13:39:39	4234	[DEBUG]	Executed store
2023-10-13	13:39:39	4234	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.197',`product_name`='SCHWALBE PNEU RAPID ROB 27.5X2.35  57-584 HS391 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rapid-rob-27-5x2-35-57-584-hs391-noir' WHERE `virtuemart_product_id` = '1863726'
2023-10-13	13:39:39	4234	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29838_pneu_schwalbe_rapid_rob_27_5x2_35__57-584_hs391.jpg
2023-10-13	13:39:39	4234	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:39	4234	[DEBUG]	Process image file
2023-10-13	13:39:39	4234	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:39	4234	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:39	4234	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29838_pneu_schwalbe_rapid_rob_27_5x2_35__57-584_hs391.jpg
2023-10-13	13:39:39	4234	[DEBUG]	Full name target: bcprisme/29838_pneu_schwalbe_rapid_rob_27_5x2_35__57-584_hs391.jpg
2023-10-13	13:39:40	4234	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:40	4234	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29838_pneu_schwalbe_rapid_rob_27_5x2_35__57-584_hs391.jpg'
2023-10-13	13:39:40	4234	[DEBUG]	Query for Media
2023-10-13	13:39:40	4234	[DEBUG]	Executed store
2023-10-13	13:39:40	4234	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29838_pneu_schwalbe_rapid_rob_27_5x2_35__57-584_hs391.jpg',`file_url_thumb`='bcprisme/29838_pneu_schwalbe_rapid_rob_27_5x2_35__57-584_hs391.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14513'
2023-10-13	13:39:40	4234	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:40	4234	[DEBUG]	Executed store
2023-10-13	13:39:40	4234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863726','14513','1')
2023-10-13	13:39:40	4234	[DEBUG]	Store product image relation
2023-10-13	13:39:40	4234	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:40	4234	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863726 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:40	4234	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:40	4234	[DEBUG]	Executed store
2023-10-13	13:39:40	4234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863726','0','24.0482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:40	4234	[DEBUG]	Checking manufacturer
2023-10-13	13:39:40	4234	[DEBUG]	Load a row
2023-10-13	13:39:40	4234	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:40	4234	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:40	4234	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:40	4234	[DEBUG]	Executed store
2023-10-13	13:39:40	4234	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:40	4234	[DEBUG]	Manufacturer exists
2023-10-13	13:39:40	4234	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:40	4234	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:40	4234	[DEBUG]	Executed store
2023-10-13	13:39:40	4234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863726','25')
2023-10-13	13:39:40	4234	[DEBUG]	Find the custom field ID
2023-10-13	13:39:40	4234	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:40	4234	[DEBUG]	No custom field ID found
2023-10-13	13:39:40	4234	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:40	4234	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:40	4234	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863726 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:40	4234	[DEBUG]	Store custom available field
2023-10-13	13:39:40	4234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863726,3,'0',1)
2023-10-13	13:39:40	4234	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:40	4234	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:40	4234	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863726 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:40	4234	[DEBUG]	Store custom available field
2023-10-13	13:39:40	4234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863726,6,'choisir la taille',3)
2023-10-13	13:39:40	4234	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:40	4234	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:40	4234	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:40	4234	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:40	4234	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863726 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:40	4234	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:40	4234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863726,8,1)
2023-10-13	13:39:40	4234	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:40	4234	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863726\":[1863726,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863726
2023-10-13	13:39:40	4234	[DEBUG]	Checking category
2023-10-13	13:39:40	4234	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:40	4234	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863726
2023-10-13	13:39:40	4234	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:40	4234	[DEBUG]	Executed store
2023-10-13	13:39:40	4234	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863726','7410')
2023-10-13	13:39:40	4234	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:40	4234	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863726 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:40	4234	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:40	4234	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863726
2023-10-13	13:39:40	4235	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:40	4235	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:40	4235	[DEBUG]	Use field value for field taille
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:40	4235	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:40	4235	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:40	4235	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:40	4235	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:40	4235	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:40	4235	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:40	4235	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:40	4235	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:40	4235	[DEBUG]	Use field value for field published
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:40	4235	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field override
2023-10-13	13:39:40	4235	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:40	4235	[DEBUG]	Use field value for field slug
2023-10-13	13:39:40	4235	[DEBUG]	Process line 4235
2023-10-13	13:39:40	4235	[DEBUG]	Load a row
2023-10-13	13:39:40	4235	[DEBUG]	Processing item: 4026495810203
2023-10-13	13:39:40	4235	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:40	4235	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:40	4235	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5360_1'
2023-10-13	13:39:40	4235	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:40	4235	[DEBUG]	Processing product tax
2023-10-13	13:39:40	4235	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:40	4235	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:40	4235	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:40	4235	[DEBUG]	Query for Product
2023-10-13	13:39:40	4235	[DEBUG]	Executed store
2023-10-13	13:39:40	4235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863726','4026495810203','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:40	4235	[DEBUG]	No parent found
2023-10-13	13:39:40	4235	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863726 AND customfield_value = 'stockable'
2023-10-13	13:39:40	4235	[DEBUG]	Check product language entry
2023-10-13	13:39:40	4235	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863727
2023-10-13	13:39:40	4235	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:40	4235	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495810203' AND `virtuemart_product_id` != 1863727
2023-10-13	13:39:40	4235	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:40	4235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863727, '4026495810203')
2023-10-13	13:39:40	4235	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:40	4235	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rapid-rob-27-5x2-35-57-584-hs391-noir-unitaire' AND `virtuemart_product_id` != 1863727
2023-10-13	13:39:40	4235	[DEBUG]	Query for ProductLang
2023-10-13	13:39:40	4235	[DEBUG]	Executed store
2023-10-13	13:39:40	4235	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU RAPID ROB 27.5X2.35  57-584 HS391 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rapid-rob-27-5x2-35-57-584-hs391-noir-unitaire' WHERE `virtuemart_product_id` = '1863727'
2023-10-13	13:39:40	4235	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29838_pneu_schwalbe_rapid_rob_27_5x2_35__57-584_hs391.jpg
2023-10-13	13:39:40	4235	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:40	4235	[DEBUG]	Process image file
2023-10-13	13:39:40	4235	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:40	4235	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:40	4235	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29838_pneu_schwalbe_rapid_rob_27_5x2_35__57-584_hs391.jpg
2023-10-13	13:39:40	4235	[DEBUG]	Full name target: bcprisme/29838_pneu_schwalbe_rapid_rob_27_5x2_35__57-584_hs391.jpg
2023-10-13	13:39:41	4235	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:41	4235	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29838_pneu_schwalbe_rapid_rob_27_5x2_35__57-584_hs391.jpg'
2023-10-13	13:39:41	4235	[DEBUG]	Query for Media
2023-10-13	13:39:41	4235	[DEBUG]	Executed store
2023-10-13	13:39:41	4235	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29838_pneu_schwalbe_rapid_rob_27_5x2_35__57-584_hs391.jpg',`file_url_thumb`='bcprisme/29838_pneu_schwalbe_rapid_rob_27_5x2_35__57-584_hs391.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14513'
2023-10-13	13:39:41	4235	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:41	4235	[DEBUG]	Executed store
2023-10-13	13:39:41	4235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863727','14513','1')
2023-10-13	13:39:41	4235	[DEBUG]	Store product image relation
2023-10-13	13:39:41	4235	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:41	4235	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863727 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:41	4235	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:41	4235	[DEBUG]	Executed store
2023-10-13	13:39:41	4235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863727','0','24.0482822655525','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:41	4235	[DEBUG]	Checking manufacturer
2023-10-13	13:39:41	4235	[DEBUG]	Load a row
2023-10-13	13:39:41	4235	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:41	4235	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:41	4235	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:41	4235	[DEBUG]	Executed store
2023-10-13	13:39:41	4235	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:41	4235	[DEBUG]	Manufacturer exists
2023-10-13	13:39:41	4235	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:41	4235	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:41	4235	[DEBUG]	Executed store
2023-10-13	13:39:41	4235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863727','25')
2023-10-13	13:39:41	4235	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:41	4235	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:41	4235	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863727 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:41	4235	[DEBUG]	Store custom available field
2023-10-13	13:39:41	4235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863727,3,'',1)
2023-10-13	13:39:41	4235	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:41	4235	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:41	4235	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863727 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:41	4235	[DEBUG]	Store custom available field
2023-10-13	13:39:41	4235	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863727,6,'Unitaire',3)
2023-10-13	13:39:41	4235	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:41	4235	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:41	4235	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863726
2023-10-13	13:39:41	4235	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:41	4235	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863726\":[1863726,8,1,\"choisir la taille\"],\"1863727\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863726
2023-10-13	13:39:41	4235	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:41	4235	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863727
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:41	4236	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field taille
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:41	4236	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:41	4236	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:41	4236	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:41	4236	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:41	4236	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:41	4236	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field published
2023-10-13	13:39:41	4236	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:41	4236	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field override
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:41	4236	[DEBUG]	Use field value for field slug
2023-10-13	13:39:41	4236	[DEBUG]	Process line 4236
2023-10-13	13:39:41	4236	[DEBUG]	Load a row
2023-10-13	13:39:41	4236	[DEBUG]	Processing item: A_5469_1
2023-10-13	13:39:41	4236	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:41	4236	[DEBUG]	Processing product tax
2023-10-13	13:39:41	4236	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:41	4236	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:41	4236	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:41	4236	[DEBUG]	Query for Product
2023-10-13	13:39:41	4236	[DEBUG]	Executed store
2023-10-13	13:39:41	4236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5469_1','0.6','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:41	4236	[DEBUG]	Check product language entry
2023-10-13	13:39:41	4236	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863728
2023-10-13	13:39:41	4236	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:41	4236	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5469_1' AND `virtuemart_product_id` != 1863728
2023-10-13	13:39:41	4236	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:41	4236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863728, 'A_5469_1')
2023-10-13	13:39:41	4236	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:41	4236	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-smart-sam-27-5x2-25-noir' AND `virtuemart_product_id` != 1863728
2023-10-13	13:39:41	4236	[DEBUG]	Query for ProductLang
2023-10-13	13:39:41	4236	[DEBUG]	Executed store
2023-10-13	13:39:41	4236	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.400',`product_name`='SCHWALBE PNEU SMART SAM 27.5X2.25  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-smart-sam-27-5x2-25-noir' WHERE `virtuemart_product_id` = '1863728'
2023-10-13	13:39:41	4236	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29956_schwalbe_smart_sam_27_5x2_25_.jpg
2023-10-13	13:39:41	4236	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:41	4236	[DEBUG]	Process image file
2023-10-13	13:39:41	4236	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:41	4236	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:41	4236	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29956_schwalbe_smart_sam_27_5x2_25_.jpg
2023-10-13	13:39:41	4236	[DEBUG]	Full name target: bcprisme/29956_schwalbe_smart_sam_27_5x2_25_.jpg
2023-10-13	13:39:42	4236	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:42	4236	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29956_schwalbe_smart_sam_27_5x2_25_.jpg'
2023-10-13	13:39:42	4236	[DEBUG]	Query for Media
2023-10-13	13:39:42	4236	[DEBUG]	Executed store
2023-10-13	13:39:42	4236	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29956_schwalbe_smart_sam_27_5x2_25_.jpg',`file_url_thumb`='bcprisme/29956_schwalbe_smart_sam_27_5x2_25_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14514'
2023-10-13	13:39:42	4236	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:42	4236	[DEBUG]	Executed store
2023-10-13	13:39:42	4236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863728','14514','1')
2023-10-13	13:39:42	4236	[DEBUG]	Store product image relation
2023-10-13	13:39:42	4236	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:42	4236	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863728 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:42	4236	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:42	4236	[DEBUG]	Executed store
2023-10-13	13:39:42	4236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863728','0','25.9052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:42	4236	[DEBUG]	Checking manufacturer
2023-10-13	13:39:42	4236	[DEBUG]	Load a row
2023-10-13	13:39:42	4236	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:42	4236	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:42	4236	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:42	4236	[DEBUG]	Executed store
2023-10-13	13:39:42	4236	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:42	4236	[DEBUG]	Manufacturer exists
2023-10-13	13:39:42	4236	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:42	4236	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:42	4236	[DEBUG]	Executed store
2023-10-13	13:39:42	4236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863728','25')
2023-10-13	13:39:42	4236	[DEBUG]	Find the custom field ID
2023-10-13	13:39:42	4236	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:42	4236	[DEBUG]	No custom field ID found
2023-10-13	13:39:42	4236	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:42	4236	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:42	4236	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863728 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:42	4236	[DEBUG]	Store custom available field
2023-10-13	13:39:42	4236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863728,3,'0',1)
2023-10-13	13:39:42	4236	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:42	4236	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:42	4236	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863728 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:42	4236	[DEBUG]	Store custom available field
2023-10-13	13:39:42	4236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863728,6,'choisir la taille',3)
2023-10-13	13:39:42	4236	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:42	4236	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:42	4236	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:42	4236	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:42	4236	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863728 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:42	4236	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:42	4236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863728,8,1)
2023-10-13	13:39:42	4236	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:42	4236	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863728\":[1863728,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863728
2023-10-13	13:39:42	4236	[DEBUG]	Checking category
2023-10-13	13:39:42	4236	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:42	4236	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863728
2023-10-13	13:39:42	4236	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:42	4236	[DEBUG]	Executed store
2023-10-13	13:39:42	4236	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863728','7410')
2023-10-13	13:39:42	4236	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:42	4236	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863728 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:42	4236	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:42	4236	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863728
2023-10-13	13:39:42	4237	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:42	4237	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:42	4237	[DEBUG]	Use field value for field taille
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:42	4237	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:42	4237	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:42	4237	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:42	4237	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:42	4237	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:42	4237	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:42	4237	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:42	4237	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:42	4237	[DEBUG]	Use field value for field published
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:42	4237	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field override
2023-10-13	13:39:42	4237	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:42	4237	[DEBUG]	Use field value for field slug
2023-10-13	13:39:42	4237	[DEBUG]	Process line 4237
2023-10-13	13:39:42	4237	[DEBUG]	Load a row
2023-10-13	13:39:42	4237	[DEBUG]	Processing item: 4026495819848
2023-10-13	13:39:42	4237	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:42	4237	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:42	4237	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5469_1'
2023-10-13	13:39:42	4237	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:42	4237	[DEBUG]	Processing product tax
2023-10-13	13:39:42	4237	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:42	4237	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:42	4237	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:42	4237	[DEBUG]	Query for Product
2023-10-13	13:39:42	4237	[DEBUG]	Executed store
2023-10-13	13:39:42	4237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863728','4026495819848','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:42	4237	[DEBUG]	No parent found
2023-10-13	13:39:42	4237	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863728 AND customfield_value = 'stockable'
2023-10-13	13:39:42	4237	[DEBUG]	Check product language entry
2023-10-13	13:39:42	4237	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863729
2023-10-13	13:39:42	4237	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:42	4237	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495819848' AND `virtuemart_product_id` != 1863729
2023-10-13	13:39:42	4237	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:42	4237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863729, '4026495819848')
2023-10-13	13:39:42	4237	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:42	4237	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-smart-sam-27-5x2-25-noir-unitaire' AND `virtuemart_product_id` != 1863729
2023-10-13	13:39:42	4237	[DEBUG]	Query for ProductLang
2023-10-13	13:39:42	4237	[DEBUG]	Executed store
2023-10-13	13:39:42	4237	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU SMART SAM 27.5X2.25  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-smart-sam-27-5x2-25-noir-unitaire' WHERE `virtuemart_product_id` = '1863729'
2023-10-13	13:39:42	4237	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29956_schwalbe_smart_sam_27_5x2_25_.jpg
2023-10-13	13:39:42	4237	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:42	4237	[DEBUG]	Process image file
2023-10-13	13:39:42	4237	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:42	4237	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:42	4237	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29956_schwalbe_smart_sam_27_5x2_25_.jpg
2023-10-13	13:39:42	4237	[DEBUG]	Full name target: bcprisme/29956_schwalbe_smart_sam_27_5x2_25_.jpg
2023-10-13	13:39:43	4237	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:43	4237	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29956_schwalbe_smart_sam_27_5x2_25_.jpg'
2023-10-13	13:39:43	4237	[DEBUG]	Query for Media
2023-10-13	13:39:43	4237	[DEBUG]	Executed store
2023-10-13	13:39:43	4237	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29956_schwalbe_smart_sam_27_5x2_25_.jpg',`file_url_thumb`='bcprisme/29956_schwalbe_smart_sam_27_5x2_25_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14514'
2023-10-13	13:39:43	4237	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:43	4237	[DEBUG]	Executed store
2023-10-13	13:39:43	4237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863729','14514','1')
2023-10-13	13:39:43	4237	[DEBUG]	Store product image relation
2023-10-13	13:39:43	4237	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:43	4237	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863729 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:43	4237	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:43	4237	[DEBUG]	Executed store
2023-10-13	13:39:43	4237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863729','0','25.9052924791086','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:43	4237	[DEBUG]	Checking manufacturer
2023-10-13	13:39:43	4237	[DEBUG]	Load a row
2023-10-13	13:39:43	4237	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:43	4237	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:43	4237	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:43	4237	[DEBUG]	Executed store
2023-10-13	13:39:43	4237	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:43	4237	[DEBUG]	Manufacturer exists
2023-10-13	13:39:43	4237	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:43	4237	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:43	4237	[DEBUG]	Executed store
2023-10-13	13:39:43	4237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863729','25')
2023-10-13	13:39:43	4237	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:43	4237	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:43	4237	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863729 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:43	4237	[DEBUG]	Store custom available field
2023-10-13	13:39:43	4237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863729,3,'',1)
2023-10-13	13:39:43	4237	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:43	4237	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:43	4237	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863729 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:43	4237	[DEBUG]	Store custom available field
2023-10-13	13:39:43	4237	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863729,6,'Unitaire',3)
2023-10-13	13:39:43	4237	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:43	4237	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:43	4237	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863728
2023-10-13	13:39:43	4237	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:43	4237	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863728\":[1863728,8,1,\"choisir la taille\"],\"1863729\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863728
2023-10-13	13:39:43	4237	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:43	4237	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863729
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:43	4238	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field taille
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:43	4238	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:43	4238	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:43	4238	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:43	4238	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:43	4238	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:43	4238	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field published
2023-10-13	13:39:43	4238	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:43	4238	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field override
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:43	4238	[DEBUG]	Use field value for field slug
2023-10-13	13:39:43	4238	[DEBUG]	Process line 4238
2023-10-13	13:39:43	4238	[DEBUG]	Load a row
2023-10-13	13:39:43	4238	[DEBUG]	Processing item: A_5576_1
2023-10-13	13:39:43	4238	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:43	4238	[DEBUG]	Processing product tax
2023-10-13	13:39:43	4238	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:43	4238	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:43	4238	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:43	4238	[DEBUG]	Query for Product
2023-10-13	13:39:43	4238	[DEBUG]	Executed store
2023-10-13	13:39:43	4238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5576_1','0.57','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:43	4238	[DEBUG]	Check product language entry
2023-10-13	13:39:43	4238	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863730
2023-10-13	13:39:43	4238	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:43	4238	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5576_1' AND `virtuemart_product_id` != 1863730
2023-10-13	13:39:43	4238	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:43	4238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863730, 'A_5576_1')
2023-10-13	13:39:43	4238	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:43	4238	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-27-5-x-2-10-60tpi-pliable-noir' AND `virtuemart_product_id` != 1863730
2023-10-13	13:39:43	4238	[DEBUG]	Query for ProductLang
2023-10-13	13:39:43	4238	[DEBUG]	Executed store
2023-10-13	13:39:43	4238	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='650 g<br><br>-Accroche: 3/5<br>-Traction: 4/5<br>-Vitesse: 5/5<br>-Sol optimal: sec/humide<br>-Gomme: 62a<br>-ETRTO 54-584<br><br>Un pari imbattable en XC Marathon! Un véritable concentré de technologies pour un rendement optimal sur terrains secs et roulants.<br><br>La géométrie inclinée des crampons centraux, son profil bas et un espacement réduit favorisent un meilleur contact avec la superficie et garantissent un roulement extrêmement rapide. De plus cette disposition augmente un peu plus la résistance aux coupures et crevaisons. Les rainures horizontales sur les crampons de transition, offrent une traction excellente sur des tracés droits et lors des montés<br><br>Le crampon latéral, rectangulaire et taillé à 90º avec des rainures verticales et une entaille en escalier, assure une excellente accroche latérale à grande vitesse dans tous types de courbes.<br>N° art fourn : ROL275210KV',`product_name`='MSC PNEU ROLLER 27.5 X 2.10 60TPI PLIABLE / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-27-5-x-2-10-60tpi-pliable-noir' WHERE `virtuemart_product_id` = '1863730'
2023-10-13	13:39:43	4238	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30074_roller_27_5_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a_foldable.jpg
2023-10-13	13:39:43	4238	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:43	4238	[DEBUG]	Process image file
2023-10-13	13:39:43	4238	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:43	4238	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:43	4238	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30074_roller_27_5_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a_foldable.jpg
2023-10-13	13:39:43	4238	[DEBUG]	Full name target: bcprisme/30074_roller_27_5_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a_foldable.jpg
2023-10-13	13:39:44	4238	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:44	4238	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30074_roller_27_5_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a_foldable.jpg'
2023-10-13	13:39:44	4238	[DEBUG]	Query for Media
2023-10-13	13:39:44	4238	[DEBUG]	Executed store
2023-10-13	13:39:44	4238	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30074_roller_27_5_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a_foldable.jpg',`file_url_thumb`='bcprisme/30074_roller_27_5_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a_foldable.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14515'
2023-10-13	13:39:44	4238	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:44	4238	[DEBUG]	Executed store
2023-10-13	13:39:44	4238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863730','14515','1')
2023-10-13	13:39:44	4238	[DEBUG]	Store product image relation
2023-10-13	13:39:44	4238	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:44	4238	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863730 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:44	4238	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:44	4238	[DEBUG]	Executed store
2023-10-13	13:39:44	4238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863730','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:44	4238	[DEBUG]	Checking manufacturer
2023-10-13	13:39:44	4238	[DEBUG]	Load a row
2023-10-13	13:39:44	4238	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:44	4238	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:44	4238	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:44	4238	[DEBUG]	Executed store
2023-10-13	13:39:44	4238	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:44	4238	[DEBUG]	Manufacturer exists
2023-10-13	13:39:44	4238	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:44	4238	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:44	4238	[DEBUG]	Executed store
2023-10-13	13:39:44	4238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863730','32')
2023-10-13	13:39:44	4238	[DEBUG]	Find the custom field ID
2023-10-13	13:39:44	4238	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:44	4238	[DEBUG]	No custom field ID found
2023-10-13	13:39:44	4238	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:44	4238	[DEBUG]	Get existing row with customfield value 22.8363888888889
2023-10-13	13:39:44	4238	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863730 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:44	4238	[DEBUG]	Store custom available field
2023-10-13	13:39:44	4238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863730,3,'22.8363888888889',1)
2023-10-13	13:39:44	4238	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:44	4238	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:44	4238	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863730 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:44	4238	[DEBUG]	Store custom available field
2023-10-13	13:39:44	4238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863730,6,'choisir la taille',3)
2023-10-13	13:39:44	4238	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:44	4238	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:44	4238	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:44	4238	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:44	4238	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863730 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:44	4238	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:44	4238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863730,8,1)
2023-10-13	13:39:44	4238	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:44	4238	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863730\":[1863730,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863730
2023-10-13	13:39:44	4238	[DEBUG]	Checking category
2023-10-13	13:39:44	4238	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:44	4238	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863730
2023-10-13	13:39:44	4238	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:44	4238	[DEBUG]	Executed store
2023-10-13	13:39:44	4238	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863730','7410')
2023-10-13	13:39:44	4238	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:44	4238	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863730 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:44	4238	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:44	4238	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863730
2023-10-13	13:39:44	4239	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:44	4239	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:44	4239	[DEBUG]	Use field value for field taille
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:44	4239	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:44	4239	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:44	4239	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:44	4239	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:44	4239	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:44	4239	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:44	4239	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:44	4239	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:44	4239	[DEBUG]	Use field value for field published
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:44	4239	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field override
2023-10-13	13:39:44	4239	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:44	4239	[DEBUG]	Use field value for field slug
2023-10-13	13:39:44	4239	[DEBUG]	Process line 4239
2023-10-13	13:39:44	4239	[DEBUG]	Load a row
2023-10-13	13:39:45	4239	[DEBUG]	Processing item: 8435466214265
2023-10-13	13:39:45	4239	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:45	4239	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:45	4239	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5576_1'
2023-10-13	13:39:45	4239	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:45	4239	[DEBUG]	Processing product tax
2023-10-13	13:39:45	4239	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:45	4239	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:45	4239	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:45	4239	[DEBUG]	Query for Product
2023-10-13	13:39:45	4239	[DEBUG]	Executed store
2023-10-13	13:39:45	4239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863730','8435466214265','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:45	4239	[DEBUG]	No parent found
2023-10-13	13:39:45	4239	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863730 AND customfield_value = 'stockable'
2023-10-13	13:39:45	4239	[DEBUG]	Check product language entry
2023-10-13	13:39:45	4239	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863731
2023-10-13	13:39:45	4239	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:45	4239	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214265' AND `virtuemart_product_id` != 1863731
2023-10-13	13:39:45	4239	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:45	4239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863731, '8435466214265')
2023-10-13	13:39:45	4239	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:45	4239	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-27-5-x-2-10-60tpi-pliable-noir-unitaire' AND `virtuemart_product_id` != 1863731
2023-10-13	13:39:45	4239	[DEBUG]	Query for ProductLang
2023-10-13	13:39:45	4239	[DEBUG]	Executed store
2023-10-13	13:39:45	4239	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROLLER 27.5 X 2.10 60TPI PLIABLE / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-27-5-x-2-10-60tpi-pliable-noir-unitaire' WHERE `virtuemart_product_id` = '1863731'
2023-10-13	13:39:45	4239	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30074_roller_27_5_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a_foldable.jpg
2023-10-13	13:39:45	4239	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:45	4239	[DEBUG]	Process image file
2023-10-13	13:39:45	4239	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:45	4239	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:45	4239	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30074_roller_27_5_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a_foldable.jpg
2023-10-13	13:39:45	4239	[DEBUG]	Full name target: bcprisme/30074_roller_27_5_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a_foldable.jpg
2023-10-13	13:39:46	4239	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:46	4239	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30074_roller_27_5_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a_foldable.jpg'
2023-10-13	13:39:46	4239	[DEBUG]	Query for Media
2023-10-13	13:39:46	4239	[DEBUG]	Executed store
2023-10-13	13:39:46	4239	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30074_roller_27_5_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a_foldable.jpg',`file_url_thumb`='bcprisme/30074_roller_27_5_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a_foldable.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14515'
2023-10-13	13:39:46	4239	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:46	4239	[DEBUG]	Executed store
2023-10-13	13:39:46	4239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863731','14515','1')
2023-10-13	13:39:46	4239	[DEBUG]	Store product image relation
2023-10-13	13:39:46	4239	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:46	4239	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863731 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:46	4239	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:46	4239	[DEBUG]	Executed store
2023-10-13	13:39:46	4239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863731','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:46	4239	[DEBUG]	Checking manufacturer
2023-10-13	13:39:46	4239	[DEBUG]	Load a row
2023-10-13	13:39:46	4239	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:46	4239	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:46	4239	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:46	4239	[DEBUG]	Executed store
2023-10-13	13:39:46	4239	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:46	4239	[DEBUG]	Manufacturer exists
2023-10-13	13:39:46	4239	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:46	4239	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:46	4239	[DEBUG]	Executed store
2023-10-13	13:39:46	4239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863731','32')
2023-10-13	13:39:46	4239	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:46	4239	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:46	4239	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863731 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:46	4239	[DEBUG]	Store custom available field
2023-10-13	13:39:46	4239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863731,3,'',1)
2023-10-13	13:39:46	4239	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:46	4239	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:46	4239	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863731 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:46	4239	[DEBUG]	Store custom available field
2023-10-13	13:39:46	4239	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863731,6,'Unitaire',3)
2023-10-13	13:39:46	4239	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:46	4239	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:46	4239	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863730
2023-10-13	13:39:46	4239	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:46	4239	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863730\":[1863730,8,1,\"choisir la taille\"],\"1863731\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863730
2023-10-13	13:39:46	4239	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:46	4239	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863731
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:46	4240	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field taille
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:46	4240	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:46	4240	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:46	4240	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:46	4240	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:46	4240	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:46	4240	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field published
2023-10-13	13:39:46	4240	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:46	4240	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field override
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:46	4240	[DEBUG]	Use field value for field slug
2023-10-13	13:39:46	4240	[DEBUG]	Process line 4240
2023-10-13	13:39:46	4240	[DEBUG]	Load a row
2023-10-13	13:39:46	4240	[DEBUG]	Processing item: A_5692_1
2023-10-13	13:39:46	4240	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:46	4240	[DEBUG]	Processing product tax
2023-10-13	13:39:46	4240	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:46	4240	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:46	4240	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:46	4240	[DEBUG]	Query for Product
2023-10-13	13:39:46	4240	[DEBUG]	Executed store
2023-10-13	13:39:46	4240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5692_1','0.57','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:46	4240	[DEBUG]	Check product language entry
2023-10-13	13:39:46	4240	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863732
2023-10-13	13:39:46	4240	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:46	4240	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5692_1' AND `virtuemart_product_id` != 1863732
2023-10-13	13:39:46	4240	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:46	4240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863732, 'A_5692_1')
2023-10-13	13:39:46	4240	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:46	4240	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-27-5-x-2-30-tlr-3c-dh-race-pro-60-tpi-noir' AND `virtuemart_product_id` != 1863732
2023-10-13	13:39:46	4240	[DEBUG]	Query for ProductLang
2023-10-13	13:39:46	4240	[DEBUG]	Executed store
2023-10-13	13:39:46	4240	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1050 g<br><br>-Accroche: 5/5<br> -Traction: 4/5<br> -Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br> -Gomme: 62a/48a/42a<br> -ETRTO 58-584<br>-2.30 – same to 2.40 between knobs/ebike friendly<br><br>Idéal pour l’Enduro et la DH. Contrôle parfait sur terrains détériorés, meubles et humides.<br><br>Ses 4 rangés de crampons hauts et larges taillés perpendiculairement garantissent une adhérence et un contrôle extraordinaire lors de freinages brusques, même dans les situations de pilotages les plus agressives. Capable d’affronter férocement des courbes prononcées et de dévorer tous les types de terrains.<br><br>Un crampon sur deux de La zone de centrale sont équipés d’une rampe afin de diminuer la résistance au roulement. Les crampons latéraux, dotés d’entailles verticales et d’encoches, sont placés sur 2 niveaux pour assurer une accroche parfaite lors de passage en courbe, sur pierres et racines. <br>N° art fourn : GRI275230TLR3CP',`product_name`='MSC PNEU GRIPPER 27.5 X 2.30 TLR 3C DH RACE PRO 60 TPI  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-27-5-x-2-30-tlr-3c-dh-race-pro-60-tpi-noir' WHERE `virtuemart_product_id` = '1863732'
2023-10-13	13:39:46	4240	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30195_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_pro_60_tp_62a-48a-42a_.jpg
2023-10-13	13:39:46	4240	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:46	4240	[DEBUG]	Process image file
2023-10-13	13:39:46	4240	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:46	4240	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:46	4240	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30195_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_pro_60_tp_62a-48a-42a_.jpg
2023-10-13	13:39:46	4240	[DEBUG]	Full name target: bcprisme/30195_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_pro_60_tp_62a-48a-42a_.jpg
2023-10-13	13:39:47	4240	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:47	4240	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30195_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_pro_60_tp_62a-48a-42a_.jpg'
2023-10-13	13:39:47	4240	[DEBUG]	Query for Media
2023-10-13	13:39:47	4240	[DEBUG]	Executed store
2023-10-13	13:39:47	4240	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30195_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_pro_60_tp_62a-48a-42a_.jpg',`file_url_thumb`='bcprisme/30195_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_pro_60_tp_62a-48a-42a_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14517'
2023-10-13	13:39:47	4240	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:47	4240	[DEBUG]	Executed store
2023-10-13	13:39:47	4240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863732','14517','1')
2023-10-13	13:39:47	4240	[DEBUG]	Store product image relation
2023-10-13	13:39:47	4240	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:47	4240	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863732 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:47	4240	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:47	4240	[DEBUG]	Executed store
2023-10-13	13:39:47	4240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863732','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:47	4240	[DEBUG]	Checking manufacturer
2023-10-13	13:39:47	4240	[DEBUG]	Load a row
2023-10-13	13:39:47	4240	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:47	4240	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:47	4240	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:47	4240	[DEBUG]	Executed store
2023-10-13	13:39:47	4240	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:47	4240	[DEBUG]	Manufacturer exists
2023-10-13	13:39:47	4240	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:47	4240	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:47	4240	[DEBUG]	Executed store
2023-10-13	13:39:47	4240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863732','32')
2023-10-13	13:39:47	4240	[DEBUG]	Find the custom field ID
2023-10-13	13:39:47	4240	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:47	4240	[DEBUG]	No custom field ID found
2023-10-13	13:39:47	4240	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:47	4240	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:39:47	4240	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863732 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:47	4240	[DEBUG]	Store custom available field
2023-10-13	13:39:47	4240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863732,3,'54.7475',1)
2023-10-13	13:39:47	4240	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:47	4240	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:47	4240	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863732 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:47	4240	[DEBUG]	Store custom available field
2023-10-13	13:39:47	4240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863732,6,'choisir la taille',3)
2023-10-13	13:39:47	4240	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:47	4240	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:47	4240	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:47	4240	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:47	4240	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863732 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:47	4240	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:47	4240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863732,8,1)
2023-10-13	13:39:47	4240	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:47	4240	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863732\":[1863732,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863732
2023-10-13	13:39:47	4240	[DEBUG]	Checking category
2023-10-13	13:39:47	4240	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:47	4240	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863732
2023-10-13	13:39:47	4240	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:47	4240	[DEBUG]	Executed store
2023-10-13	13:39:47	4240	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863732','7410')
2023-10-13	13:39:47	4240	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:47	4240	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863732 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:47	4240	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:47	4240	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863732
2023-10-13	13:39:47	4241	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:47	4241	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:47	4241	[DEBUG]	Use field value for field taille
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:47	4241	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:47	4241	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:47	4241	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:47	4241	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:47	4241	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:47	4241	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:47	4241	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:47	4241	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:47	4241	[DEBUG]	Use field value for field published
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:47	4241	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field override
2023-10-13	13:39:47	4241	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:47	4241	[DEBUG]	Use field value for field slug
2023-10-13	13:39:47	4241	[DEBUG]	Process line 4241
2023-10-13	13:39:47	4241	[DEBUG]	Load a row
2023-10-13	13:39:47	4241	[DEBUG]	Processing item: 8435466215262
2023-10-13	13:39:47	4241	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:47	4241	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:47	4241	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5692_1'
2023-10-13	13:39:47	4241	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:47	4241	[DEBUG]	Processing product tax
2023-10-13	13:39:47	4241	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:47	4241	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:47	4241	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:47	4241	[DEBUG]	Query for Product
2023-10-13	13:39:47	4241	[DEBUG]	Executed store
2023-10-13	13:39:47	4241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863732','8435466215262','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:47	4241	[DEBUG]	No parent found
2023-10-13	13:39:47	4241	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863732 AND customfield_value = 'stockable'
2023-10-13	13:39:47	4241	[DEBUG]	Check product language entry
2023-10-13	13:39:47	4241	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863733
2023-10-13	13:39:47	4241	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:47	4241	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215262' AND `virtuemart_product_id` != 1863733
2023-10-13	13:39:47	4241	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:47	4241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863733, '8435466215262')
2023-10-13	13:39:47	4241	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:47	4241	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-27-5-x-2-30-tlr-3c-dh-race-pro-60-tpi-noir-unitaire' AND `virtuemart_product_id` != 1863733
2023-10-13	13:39:47	4241	[DEBUG]	Query for ProductLang
2023-10-13	13:39:47	4241	[DEBUG]	Executed store
2023-10-13	13:39:47	4241	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU GRIPPER 27.5 X 2.30 TLR 3C DH RACE PRO 60 TPI  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-27-5-x-2-30-tlr-3c-dh-race-pro-60-tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863733'
2023-10-13	13:39:47	4241	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30195_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_pro_60_tp_62a-48a-42a_.jpg
2023-10-13	13:39:47	4241	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:47	4241	[DEBUG]	Process image file
2023-10-13	13:39:47	4241	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:47	4241	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:47	4241	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30195_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_pro_60_tp_62a-48a-42a_.jpg
2023-10-13	13:39:47	4241	[DEBUG]	Full name target: bcprisme/30195_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_pro_60_tp_62a-48a-42a_.jpg
2023-10-13	13:39:48	4241	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:48	4241	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30195_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_pro_60_tp_62a-48a-42a_.jpg'
2023-10-13	13:39:48	4241	[DEBUG]	Query for Media
2023-10-13	13:39:48	4241	[DEBUG]	Executed store
2023-10-13	13:39:48	4241	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30195_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_pro_60_tp_62a-48a-42a_.jpg',`file_url_thumb`='bcprisme/30195_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_pro_60_tp_62a-48a-42a_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14517'
2023-10-13	13:39:48	4241	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:48	4241	[DEBUG]	Executed store
2023-10-13	13:39:48	4241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863733','14517','1')
2023-10-13	13:39:48	4241	[DEBUG]	Store product image relation
2023-10-13	13:39:48	4241	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:48	4241	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863733 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:48	4241	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:48	4241	[DEBUG]	Executed store
2023-10-13	13:39:48	4241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863733','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:48	4241	[DEBUG]	Checking manufacturer
2023-10-13	13:39:48	4241	[DEBUG]	Load a row
2023-10-13	13:39:48	4241	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:48	4241	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:48	4241	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:48	4241	[DEBUG]	Executed store
2023-10-13	13:39:48	4241	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:48	4241	[DEBUG]	Manufacturer exists
2023-10-13	13:39:48	4241	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:48	4241	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:48	4241	[DEBUG]	Executed store
2023-10-13	13:39:48	4241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863733','32')
2023-10-13	13:39:48	4241	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:48	4241	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:48	4241	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863733 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:48	4241	[DEBUG]	Store custom available field
2023-10-13	13:39:48	4241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863733,3,'',1)
2023-10-13	13:39:48	4241	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:48	4241	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:48	4241	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863733 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:48	4241	[DEBUG]	Store custom available field
2023-10-13	13:39:48	4241	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863733,6,'Unitaire',3)
2023-10-13	13:39:48	4241	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:48	4241	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:48	4241	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863732
2023-10-13	13:39:48	4241	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:48	4241	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863732\":[1863732,8,1,\"choisir la taille\"],\"1863733\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863732
2023-10-13	13:39:48	4241	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:48	4241	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863733
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:48	4242	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field taille
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:48	4242	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:48	4242	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:48	4242	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:48	4242	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:48	4242	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:48	4242	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field published
2023-10-13	13:39:48	4242	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:48	4242	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field override
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:48	4242	[DEBUG]	Use field value for field slug
2023-10-13	13:39:48	4242	[DEBUG]	Process line 4242
2023-10-13	13:39:48	4242	[DEBUG]	Load a row
2023-10-13	13:39:48	4242	[DEBUG]	Processing item: A_5693_1
2023-10-13	13:39:48	4242	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:48	4242	[DEBUG]	Processing product tax
2023-10-13	13:39:48	4242	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:48	4242	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:48	4242	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:48	4242	[DEBUG]	Query for Product
2023-10-13	13:39:48	4242	[DEBUG]	Executed store
2023-10-13	13:39:48	4242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5693_1','0.57','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:48	4242	[DEBUG]	Check product language entry
2023-10-13	13:39:48	4242	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863734
2023-10-13	13:39:48	4242	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:48	4242	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5693_1' AND `virtuemart_product_id` != 1863734
2023-10-13	13:39:48	4242	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:48	4242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863734, 'A_5693_1')
2023-10-13	13:39:48	4242	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:48	4242	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-27-5-x-2-30-tlr-3c-dh-race-sup-60tpi-noir' AND `virtuemart_product_id` != 1863734
2023-10-13	13:39:48	4242	[DEBUG]	Query for ProductLang
2023-10-13	13:39:48	4242	[DEBUG]	Executed store
2023-10-13	13:39:48	4242	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1160 g<br><br>-Accroche: 5/5<br> -Traction: 4/5<br> -Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br> -Gomme: 62a/48a/42a<br> -ETRTO 58-584<br>-2.30 – same to 2.40 between knobs/ebike friendly<br><br>Idéal pour l’Enduro et la DH. Contrôle parfait sur terrains détériorés, meubles et humides.<br><br>Ses 4 rangés de crampons hauts et larges taillés perpendiculairement garantissent une adhérence et un contrôle extraordinaire lors de freinages brusques, même dans les situations de pilotages les plus agressives. Capable d’affronter férocement des courbes prononcées et de dévorer tous les types de terrains.<br><br>Un crampon sur deux de La zone de centrale sont équipés d’une rampe afin de diminuer la résistance au roulement. Les crampons latéraux, dotés d’entailles verticales et d’encoches, sont placés sur 2 niveaux pour assurer une accroche parfaite lors de passage en courbe, sur pierres et racines. <br>N° art fourn : GRI275230TLR3CS',`product_name`='MSC PNEU GRIPPER 27.5 X 2.30 TLR 3C DH RACE SUP 60TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-27-5-x-2-30-tlr-3c-dh-race-sup-60tpi-noir' WHERE `virtuemart_product_id` = '1863734'
2023-10-13	13:39:48	4242	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30196_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_sup_60_tp_62a-48a-42a__.jpg
2023-10-13	13:39:48	4242	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:48	4242	[DEBUG]	Process image file
2023-10-13	13:39:48	4242	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:48	4242	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:48	4242	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30196_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_sup_60_tp_62a-48a-42a__.jpg
2023-10-13	13:39:48	4242	[DEBUG]	Full name target: bcprisme/30196_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_sup_60_tp_62a-48a-42a__.jpg
2023-10-13	13:39:49	4242	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:49	4242	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30196_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_sup_60_tp_62a-48a-42a__.jpg'
2023-10-13	13:39:49	4242	[DEBUG]	Query for Media
2023-10-13	13:39:49	4242	[DEBUG]	Executed store
2023-10-13	13:39:49	4242	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30196_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_sup_60_tp_62a-48a-42a__.jpg',`file_url_thumb`='bcprisme/30196_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_sup_60_tp_62a-48a-42a__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14518'
2023-10-13	13:39:49	4242	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:49	4242	[DEBUG]	Executed store
2023-10-13	13:39:49	4242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863734','14518','1')
2023-10-13	13:39:49	4242	[DEBUG]	Store product image relation
2023-10-13	13:39:49	4242	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:49	4242	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863734 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:49	4242	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:49	4242	[DEBUG]	Executed store
2023-10-13	13:39:49	4242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863734','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:49	4242	[DEBUG]	Checking manufacturer
2023-10-13	13:39:49	4242	[DEBUG]	Load a row
2023-10-13	13:39:49	4242	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:49	4242	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:49	4242	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:49	4242	[DEBUG]	Executed store
2023-10-13	13:39:49	4242	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:49	4242	[DEBUG]	Manufacturer exists
2023-10-13	13:39:49	4242	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:49	4242	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:49	4242	[DEBUG]	Executed store
2023-10-13	13:39:49	4242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863734','32')
2023-10-13	13:39:49	4242	[DEBUG]	Find the custom field ID
2023-10-13	13:39:49	4242	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:49	4242	[DEBUG]	No custom field ID found
2023-10-13	13:39:49	4242	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:49	4242	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:39:49	4242	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863734 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:49	4242	[DEBUG]	Store custom available field
2023-10-13	13:39:49	4242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863734,3,'54.7475',1)
2023-10-13	13:39:49	4242	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:49	4242	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:49	4242	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863734 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:49	4242	[DEBUG]	Store custom available field
2023-10-13	13:39:49	4242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863734,6,'choisir la taille',3)
2023-10-13	13:39:49	4242	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:49	4242	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:49	4242	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:49	4242	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:49	4242	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863734 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:49	4242	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:49	4242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863734,8,1)
2023-10-13	13:39:49	4242	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:49	4242	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863734\":[1863734,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863734
2023-10-13	13:39:49	4242	[DEBUG]	Checking category
2023-10-13	13:39:49	4242	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:49	4242	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863734
2023-10-13	13:39:49	4242	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:49	4242	[DEBUG]	Executed store
2023-10-13	13:39:49	4242	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863734','7410')
2023-10-13	13:39:49	4242	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:49	4242	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863734 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:49	4242	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:49	4242	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863734
2023-10-13	13:39:49	4243	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:49	4243	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:49	4243	[DEBUG]	Use field value for field taille
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:49	4243	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:49	4243	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:49	4243	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:49	4243	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:49	4243	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:49	4243	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:49	4243	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:49	4243	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:49	4243	[DEBUG]	Use field value for field published
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:49	4243	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field override
2023-10-13	13:39:49	4243	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:49	4243	[DEBUG]	Use field value for field slug
2023-10-13	13:39:49	4243	[DEBUG]	Process line 4243
2023-10-13	13:39:49	4243	[DEBUG]	Load a row
2023-10-13	13:39:49	4243	[DEBUG]	Processing item: 8435466215279
2023-10-13	13:39:49	4243	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:49	4243	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:49	4243	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5693_1'
2023-10-13	13:39:49	4243	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:49	4243	[DEBUG]	Processing product tax
2023-10-13	13:39:49	4243	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:49	4243	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:49	4243	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:49	4243	[DEBUG]	Query for Product
2023-10-13	13:39:49	4243	[DEBUG]	Executed store
2023-10-13	13:39:49	4243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863734','8435466215279','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:49	4243	[DEBUG]	No parent found
2023-10-13	13:39:49	4243	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863734 AND customfield_value = 'stockable'
2023-10-13	13:39:49	4243	[DEBUG]	Check product language entry
2023-10-13	13:39:49	4243	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863735
2023-10-13	13:39:49	4243	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:49	4243	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215279' AND `virtuemart_product_id` != 1863735
2023-10-13	13:39:49	4243	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:49	4243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863735, '8435466215279')
2023-10-13	13:39:49	4243	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:49	4243	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-27-5-x-2-30-tlr-3c-dh-race-sup-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863735
2023-10-13	13:39:49	4243	[DEBUG]	Query for ProductLang
2023-10-13	13:39:49	4243	[DEBUG]	Executed store
2023-10-13	13:39:49	4243	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU GRIPPER 27.5 X 2.30 TLR 3C DH RACE SUP 60TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-27-5-x-2-30-tlr-3c-dh-race-sup-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863735'
2023-10-13	13:39:49	4243	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30196_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_sup_60_tp_62a-48a-42a__.jpg
2023-10-13	13:39:49	4243	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:49	4243	[DEBUG]	Process image file
2023-10-13	13:39:49	4243	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:49	4243	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:49	4243	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30196_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_sup_60_tp_62a-48a-42a__.jpg
2023-10-13	13:39:49	4243	[DEBUG]	Full name target: bcprisme/30196_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_sup_60_tp_62a-48a-42a__.jpg
2023-10-13	13:39:50	4243	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:50	4243	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30196_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_sup_60_tp_62a-48a-42a__.jpg'
2023-10-13	13:39:50	4243	[DEBUG]	Query for Media
2023-10-13	13:39:50	4243	[DEBUG]	Executed store
2023-10-13	13:39:50	4243	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30196_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_sup_60_tp_62a-48a-42a__.jpg',`file_url_thumb`='bcprisme/30196_gripper_27_5_x_2_30_tubeless_ready_3c_dh_race_sup_60_tp_62a-48a-42a__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14518'
2023-10-13	13:39:50	4243	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:50	4243	[DEBUG]	Executed store
2023-10-13	13:39:50	4243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863735','14518','1')
2023-10-13	13:39:50	4243	[DEBUG]	Store product image relation
2023-10-13	13:39:50	4243	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:50	4243	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863735 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:50	4243	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:50	4243	[DEBUG]	Executed store
2023-10-13	13:39:50	4243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863735','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:50	4243	[DEBUG]	Checking manufacturer
2023-10-13	13:39:50	4243	[DEBUG]	Load a row
2023-10-13	13:39:50	4243	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:50	4243	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:50	4243	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:50	4243	[DEBUG]	Executed store
2023-10-13	13:39:50	4243	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:39:50	4243	[DEBUG]	Manufacturer exists
2023-10-13	13:39:50	4243	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:39:50	4243	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:50	4243	[DEBUG]	Executed store
2023-10-13	13:39:50	4243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863735','32')
2023-10-13	13:39:50	4243	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:50	4243	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:50	4243	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863735 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:50	4243	[DEBUG]	Store custom available field
2023-10-13	13:39:50	4243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863735,3,'',1)
2023-10-13	13:39:50	4243	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:50	4243	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:50	4243	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863735 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:50	4243	[DEBUG]	Store custom available field
2023-10-13	13:39:50	4243	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863735,6,'Unitaire',3)
2023-10-13	13:39:50	4243	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:50	4243	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:50	4243	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863734
2023-10-13	13:39:50	4243	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:50	4243	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863734\":[1863734,8,1,\"choisir la taille\"],\"1863735\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863734
2023-10-13	13:39:50	4243	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:50	4243	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863735
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:50	4244	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field taille
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:50	4244	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:50	4244	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:50	4244	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field product_weight
2023-10-13	13:39:50	4244	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:50	4244	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:50	4244	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field published
2023-10-13	13:39:50	4244	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:50	4244	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field override
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:50	4244	[DEBUG]	Use field value for field slug
2023-10-13	13:39:50	4244	[DEBUG]	Process line 4244
2023-10-13	13:39:50	4244	[DEBUG]	Load a row
2023-10-13	13:39:50	4244	[DEBUG]	Processing item: A_5742_208
2023-10-13	13:39:50	4244	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:50	4244	[DEBUG]	Processing product tax
2023-10-13	13:39:50	4244	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:50	4244	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:50	4244	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:50	4244	[DEBUG]	Query for Product
2023-10-13	13:39:50	4244	[DEBUG]	Executed store
2023-10-13	13:39:50	4244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5742_208','0.5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:50	4244	[DEBUG]	Check product language entry
2023-10-13	13:39:50	4244	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863736
2023-10-13	13:39:50	4244	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:50	4244	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5742_208' AND `virtuemart_product_id` != 1863736
2023-10-13	13:39:50	4244	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:50	4244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863736, 'A_5742_208')
2023-10-13	13:39:50	4244	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:50	4244	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-pneu-mountain-king-ii-27-5x2-2-pliable-black-aucune' AND `virtuemart_product_id` != 1863736
2023-10-13	13:39:50	4244	[DEBUG]	Query for ProductLang
2023-10-13	13:39:50	4244	[DEBUG]	Executed store
2023-10-13	13:39:50	4244	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.66108',`product_name`='Continental Pneu Mountain King II 27.5x2.2 pliable black / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-pneu-mountain-king-ii-27-5x2-2-pliable-black-aucune' WHERE `virtuemart_product_id` = '1863736'
2023-10-13	13:39:50	4244	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30250_continental_pneu_mountain_king_ii_27_5x2_2_pliable_black.jpg
2023-10-13	13:39:50	4244	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:50	4244	[DEBUG]	Process image file
2023-10-13	13:39:50	4244	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:50	4244	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:50	4244	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30250_continental_pneu_mountain_king_ii_27_5x2_2_pliable_black.jpg
2023-10-13	13:39:50	4244	[DEBUG]	Full name target: bcprisme/30250_continental_pneu_mountain_king_ii_27_5x2_2_pliable_black.jpg
2023-10-13	13:39:51	4244	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:51	4244	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30250_continental_pneu_mountain_king_ii_27_5x2_2_pliable_black.jpg'
2023-10-13	13:39:51	4244	[DEBUG]	Query for Media
2023-10-13	13:39:51	4244	[DEBUG]	Executed store
2023-10-13	13:39:51	4244	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30250_continental_pneu_mountain_king_ii_27_5x2_2_pliable_black.jpg',`file_url_thumb`='bcprisme/30250_continental_pneu_mountain_king_ii_27_5x2_2_pliable_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16016'
2023-10-13	13:39:51	4244	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:51	4244	[DEBUG]	Executed store
2023-10-13	13:39:51	4244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863736','16016','1')
2023-10-13	13:39:51	4244	[DEBUG]	Store product image relation
2023-10-13	13:39:51	4244	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:51	4244	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863736 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:51	4244	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:51	4244	[DEBUG]	Executed store
2023-10-13	13:39:51	4244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863736','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:51	4244	[DEBUG]	Checking manufacturer
2023-10-13	13:39:51	4244	[DEBUG]	Load a row
2023-10-13	13:39:51	4244	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:51	4244	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:39:51	4244	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:51	4244	[DEBUG]	Executed store
2023-10-13	13:39:51	4244	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:39:51	4244	[DEBUG]	Manufacturer exists
2023-10-13	13:39:51	4244	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:39:51	4244	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:51	4244	[DEBUG]	Executed store
2023-10-13	13:39:51	4244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863736','52')
2023-10-13	13:39:51	4244	[DEBUG]	Find the custom field ID
2023-10-13	13:39:51	4244	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:51	4244	[DEBUG]	No custom field ID found
2023-10-13	13:39:51	4244	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:51	4244	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:51	4244	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863736 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:51	4244	[DEBUG]	Store custom available field
2023-10-13	13:39:51	4244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863736,3,'0',1)
2023-10-13	13:39:51	4244	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:51	4244	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:51	4244	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863736 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:51	4244	[DEBUG]	Store custom available field
2023-10-13	13:39:51	4244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863736,6,'choisir la taille',3)
2023-10-13	13:39:51	4244	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:51	4244	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:51	4244	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:51	4244	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:51	4244	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863736 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:51	4244	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:51	4244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863736,8,1)
2023-10-13	13:39:51	4244	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:51	4244	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863736\":[1863736,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863736
2023-10-13	13:39:51	4244	[DEBUG]	Checking category
2023-10-13	13:39:51	4244	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:51	4244	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863736
2023-10-13	13:39:51	4244	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:51	4244	[DEBUG]	Executed store
2023-10-13	13:39:51	4244	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863736','7410')
2023-10-13	13:39:51	4244	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:51	4244	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863736 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:51	4244	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:51	4244	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863736
2023-10-13	13:39:51	4245	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:51	4245	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:51	4245	[DEBUG]	Use field value for field taille
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:51	4245	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:51	4245	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:51	4245	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:51	4245	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:51	4245	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:51	4245	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:51	4245	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:51	4245	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:51	4245	[DEBUG]	Use field value for field published
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:51	4245	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field override
2023-10-13	13:39:51	4245	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:51	4245	[DEBUG]	Use field value for field slug
2023-10-13	13:39:51	4245	[DEBUG]	Process line 4245
2023-10-13	13:39:51	4245	[DEBUG]	Load a row
2023-10-13	13:39:51	4245	[DEBUG]	Processing item: 4019238610383
2023-10-13	13:39:51	4245	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:51	4245	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:51	4245	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5742_208'
2023-10-13	13:39:51	4245	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:51	4245	[DEBUG]	Processing product tax
2023-10-13	13:39:51	4245	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:51	4245	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:51	4245	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:51	4245	[DEBUG]	Query for Product
2023-10-13	13:39:51	4245	[DEBUG]	Executed store
2023-10-13	13:39:51	4245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863736','4019238610383','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:51	4245	[DEBUG]	No parent found
2023-10-13	13:39:51	4245	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863736 AND customfield_value = 'stockable'
2023-10-13	13:39:51	4245	[DEBUG]	Check product language entry
2023-10-13	13:39:51	4245	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863737
2023-10-13	13:39:51	4245	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:51	4245	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4019238610383' AND `virtuemart_product_id` != 1863737
2023-10-13	13:39:51	4245	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:51	4245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863737, '4019238610383')
2023-10-13	13:39:51	4245	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:51	4245	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-pneu-mountain-king-ii-27-5x2-2-pliable-black-aucune-all' AND `virtuemart_product_id` != 1863737
2023-10-13	13:39:51	4245	[DEBUG]	Query for ProductLang
2023-10-13	13:39:51	4245	[DEBUG]	Executed store
2023-10-13	13:39:51	4245	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Continental Pneu Mountain King II 27.5x2.2 pliable black / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-pneu-mountain-king-ii-27-5x2-2-pliable-black-aucune-all' WHERE `virtuemart_product_id` = '1863737'
2023-10-13	13:39:51	4245	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30250_continental_pneu_mountain_king_ii_27_5x2_2_pliable_black.jpg
2023-10-13	13:39:51	4245	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:51	4245	[DEBUG]	Process image file
2023-10-13	13:39:51	4245	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:51	4245	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:51	4245	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30250_continental_pneu_mountain_king_ii_27_5x2_2_pliable_black.jpg
2023-10-13	13:39:51	4245	[DEBUG]	Full name target: bcprisme/30250_continental_pneu_mountain_king_ii_27_5x2_2_pliable_black.jpg
2023-10-13	13:39:52	4245	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:52	4245	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30250_continental_pneu_mountain_king_ii_27_5x2_2_pliable_black.jpg'
2023-10-13	13:39:52	4245	[DEBUG]	Query for Media
2023-10-13	13:39:52	4245	[DEBUG]	Executed store
2023-10-13	13:39:52	4245	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30250_continental_pneu_mountain_king_ii_27_5x2_2_pliable_black.jpg',`file_url_thumb`='bcprisme/30250_continental_pneu_mountain_king_ii_27_5x2_2_pliable_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16016'
2023-10-13	13:39:52	4245	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:52	4245	[DEBUG]	Executed store
2023-10-13	13:39:52	4245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863737','16016','1')
2023-10-13	13:39:52	4245	[DEBUG]	Store product image relation
2023-10-13	13:39:52	4245	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:52	4245	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863737 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:52	4245	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:52	4245	[DEBUG]	Executed store
2023-10-13	13:39:52	4245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863737','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:52	4245	[DEBUG]	Checking manufacturer
2023-10-13	13:39:52	4245	[DEBUG]	Load a row
2023-10-13	13:39:52	4245	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:52	4245	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:39:52	4245	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:52	4245	[DEBUG]	Executed store
2023-10-13	13:39:52	4245	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:39:52	4245	[DEBUG]	Manufacturer exists
2023-10-13	13:39:52	4245	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:39:52	4245	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:52	4245	[DEBUG]	Executed store
2023-10-13	13:39:52	4245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863737','52')
2023-10-13	13:39:52	4245	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:52	4245	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:52	4245	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863737 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:52	4245	[DEBUG]	Store custom available field
2023-10-13	13:39:52	4245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863737,3,'',1)
2023-10-13	13:39:52	4245	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:52	4245	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:39:52	4245	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863737 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:52	4245	[DEBUG]	Store custom available field
2023-10-13	13:39:52	4245	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863737,6,'All',3)
2023-10-13	13:39:52	4245	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:52	4245	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:52	4245	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863736
2023-10-13	13:39:52	4245	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:52	4245	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863736\":[1863736,8,1,\"choisir la taille\"],\"1863737\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863736
2023-10-13	13:39:52	4245	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:52	4245	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863737
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:52	4246	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field taille
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:52	4246	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:52	4246	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:52	4246	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:52	4246	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:52	4246	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:52	4246	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:52	4246	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field published
2023-10-13	13:39:52	4246	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:52	4246	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field override
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:52	4246	[DEBUG]	Use field value for field slug
2023-10-13	13:39:52	4246	[DEBUG]	Process line 4246
2023-10-13	13:39:52	4246	[DEBUG]	Load a row
2023-10-13	13:39:52	4246	[DEBUG]	Processing item: A_5806_1
2023-10-13	13:39:52	4246	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:52	4246	[DEBUG]	Processing product tax
2023-10-13	13:39:52	4246	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:52	4246	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:52	4246	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:52	4246	[DEBUG]	Query for Product
2023-10-13	13:39:52	4246	[DEBUG]	Executed store
2023-10-13	13:39:52	4246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5806_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:52	4246	[DEBUG]	Check product language entry
2023-10-13	13:39:52	4246	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863738
2023-10-13	13:39:52	4246	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:52	4246	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5806_1' AND `virtuemart_product_id` != 1863738
2023-10-13	13:39:52	4246	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:52	4246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863738, 'A_5806_1')
2023-10-13	13:39:52	4246	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:52	4246	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-pneu-traffic-1-9-50-559-noir' AND `virtuemart_product_id` != 1863738
2023-10-13	13:39:52	4246	[DEBUG]	Query for ProductLang
2023-10-13	13:39:52	4246	[DEBUG]	Executed store
2023-10-13	13:39:52	4246	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 0100205',`product_name`='Continental Pneu Traffic 1.9  50-559 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-pneu-traffic-1-9-50-559-noir' WHERE `virtuemart_product_id` = '1863738'
2023-10-13	13:39:52	4246	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30324_continental_pneu_traffic_1_9__50-559.jpg
2023-10-13	13:39:52	4246	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:39:52	4246	[DEBUG]	Process image file
2023-10-13	13:39:52	4246	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:39:52	4246	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:52	4246	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30324_continental_pneu_traffic_1_9__50-559.jpg
2023-10-13	13:39:52	4246	[DEBUG]	Full name target: bcprisme/30324_continental_pneu_traffic_1_9__50-559.jpg
2023-10-13	13:39:53	4246	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:53	4246	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30324_continental_pneu_traffic_1_9__50-559.jpg'
2023-10-13	13:39:53	4246	[DEBUG]	Query for Media
2023-10-13	13:39:53	4246	[DEBUG]	Executed store
2023-10-13	13:39:53	4246	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30324_continental_pneu_traffic_1_9__50-559.jpg',`file_url_thumb`='bcprisme/30324_continental_pneu_traffic_1_9__50-559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381971'
2023-10-13	13:39:53	4246	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:53	4246	[DEBUG]	Executed store
2023-10-13	13:39:53	4246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863738','381971','1')
2023-10-13	13:39:53	4246	[DEBUG]	Store product image relation
2023-10-13	13:39:53	4246	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:53	4246	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863738 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:53	4246	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:53	4246	[DEBUG]	Executed store
2023-10-13	13:39:53	4246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863738','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:53	4246	[DEBUG]	Checking manufacturer
2023-10-13	13:39:53	4246	[DEBUG]	Load a row
2023-10-13	13:39:53	4246	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:53	4246	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:39:53	4246	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:53	4246	[DEBUG]	Executed store
2023-10-13	13:39:53	4246	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:39:53	4246	[DEBUG]	Manufacturer exists
2023-10-13	13:39:53	4246	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:39:53	4246	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:53	4246	[DEBUG]	Executed store
2023-10-13	13:39:53	4246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863738','52')
2023-10-13	13:39:53	4246	[DEBUG]	Find the custom field ID
2023-10-13	13:39:53	4246	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:53	4246	[DEBUG]	No custom field ID found
2023-10-13	13:39:53	4246	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:53	4246	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:53	4246	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863738 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:53	4246	[DEBUG]	Store custom available field
2023-10-13	13:39:53	4246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863738,3,'0',1)
2023-10-13	13:39:53	4246	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:53	4246	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:53	4246	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863738 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:53	4246	[DEBUG]	Store custom available field
2023-10-13	13:39:53	4246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863738,6,'choisir la taille',3)
2023-10-13	13:39:53	4246	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:53	4246	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:53	4246	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:53	4246	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:53	4246	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863738 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:53	4246	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:53	4246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863738,8,1)
2023-10-13	13:39:53	4246	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:53	4246	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863738\":[1863738,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863738
2023-10-13	13:39:53	4246	[DEBUG]	Checking category
2023-10-13	13:39:53	4246	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:53	4246	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863738
2023-10-13	13:39:53	4246	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:53	4246	[DEBUG]	Executed store
2023-10-13	13:39:53	4246	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863738','7410')
2023-10-13	13:39:53	4246	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:53	4246	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863738 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:53	4246	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:53	4246	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863738
2023-10-13	13:39:53	4247	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:53	4247	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:53	4247	[DEBUG]	Use field value for field taille
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:53	4247	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:53	4247	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:53	4247	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:53	4247	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:53	4247	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:53	4247	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:53	4247	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:53	4247	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:53	4247	[DEBUG]	Use field value for field published
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:53	4247	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field override
2023-10-13	13:39:53	4247	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:53	4247	[DEBUG]	Use field value for field slug
2023-10-13	13:39:53	4247	[DEBUG]	Process line 4247
2023-10-13	13:39:53	4247	[DEBUG]	Load a row
2023-10-13	13:39:53	4247	[DEBUG]	Processing item: 4019238423600
2023-10-13	13:39:53	4247	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:53	4247	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:53	4247	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5806_1'
2023-10-13	13:39:53	4247	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:53	4247	[DEBUG]	Processing product tax
2023-10-13	13:39:53	4247	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:53	4247	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:53	4247	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:53	4247	[DEBUG]	Query for Product
2023-10-13	13:39:53	4247	[DEBUG]	Executed store
2023-10-13	13:39:53	4247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863738','4019238423600','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:53	4247	[DEBUG]	No parent found
2023-10-13	13:39:53	4247	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863738 AND customfield_value = 'stockable'
2023-10-13	13:39:53	4247	[DEBUG]	Check product language entry
2023-10-13	13:39:53	4247	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863739
2023-10-13	13:39:53	4247	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:53	4247	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4019238423600' AND `virtuemart_product_id` != 1863739
2023-10-13	13:39:53	4247	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:53	4247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863739, '4019238423600')
2023-10-13	13:39:53	4247	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:53	4247	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-pneu-traffic-1-9-50-559-noir-all' AND `virtuemart_product_id` != 1863739
2023-10-13	13:39:53	4247	[DEBUG]	Query for ProductLang
2023-10-13	13:39:53	4247	[DEBUG]	Executed store
2023-10-13	13:39:53	4247	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Continental Pneu Traffic 1.9  50-559 / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-pneu-traffic-1-9-50-559-noir-all' WHERE `virtuemart_product_id` = '1863739'
2023-10-13	13:39:53	4247	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30324_continental_pneu_traffic_1_9__50-559.jpg
2023-10-13	13:39:53	4247	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:39:53	4247	[DEBUG]	Process image file
2023-10-13	13:39:53	4247	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:39:53	4247	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:53	4247	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30324_continental_pneu_traffic_1_9__50-559.jpg
2023-10-13	13:39:53	4247	[DEBUG]	Full name target: bcprisme/30324_continental_pneu_traffic_1_9__50-559.jpg
2023-10-13	13:39:54	4247	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:54	4247	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30324_continental_pneu_traffic_1_9__50-559.jpg'
2023-10-13	13:39:54	4247	[DEBUG]	Query for Media
2023-10-13	13:39:54	4247	[DEBUG]	Executed store
2023-10-13	13:39:54	4247	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30324_continental_pneu_traffic_1_9__50-559.jpg',`file_url_thumb`='bcprisme/30324_continental_pneu_traffic_1_9__50-559.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381971'
2023-10-13	13:39:54	4247	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:54	4247	[DEBUG]	Executed store
2023-10-13	13:39:54	4247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863739','381971','1')
2023-10-13	13:39:54	4247	[DEBUG]	Store product image relation
2023-10-13	13:39:54	4247	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:54	4247	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863739 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:54	4247	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:54	4247	[DEBUG]	Executed store
2023-10-13	13:39:54	4247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863739','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:54	4247	[DEBUG]	Checking manufacturer
2023-10-13	13:39:54	4247	[DEBUG]	Load a row
2023-10-13	13:39:54	4247	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:54	4247	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:39:54	4247	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:54	4247	[DEBUG]	Executed store
2023-10-13	13:39:54	4247	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:39:54	4247	[DEBUG]	Manufacturer exists
2023-10-13	13:39:54	4247	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:39:54	4247	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:54	4247	[DEBUG]	Executed store
2023-10-13	13:39:54	4247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863739','52')
2023-10-13	13:39:54	4247	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:54	4247	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:54	4247	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863739 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:54	4247	[DEBUG]	Store custom available field
2023-10-13	13:39:54	4247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863739,3,'',1)
2023-10-13	13:39:54	4247	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:54	4247	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:39:54	4247	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863739 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:54	4247	[DEBUG]	Store custom available field
2023-10-13	13:39:54	4247	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863739,6,'All',3)
2023-10-13	13:39:54	4247	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:54	4247	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:54	4247	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863738
2023-10-13	13:39:54	4247	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:54	4247	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863738\":[1863738,8,1,\"choisir la taille\"],\"1863739\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863738
2023-10-13	13:39:54	4247	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:54	4247	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863739
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:54	4248	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field taille
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:54	4248	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:54	4248	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:54	4248	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:54	4248	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:54	4248	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:54	4248	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:54	4248	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field published
2023-10-13	13:39:54	4248	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:54	4248	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field override
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:54	4248	[DEBUG]	Use field value for field slug
2023-10-13	13:39:54	4248	[DEBUG]	Process line 4248
2023-10-13	13:39:54	4248	[DEBUG]	Load a row
2023-10-13	13:39:54	4248	[DEBUG]	Processing item: A_5917_1
2023-10-13	13:39:54	4248	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:54	4248	[DEBUG]	Processing product tax
2023-10-13	13:39:54	4248	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:54	4248	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:54	4248	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:54	4248	[DEBUG]	Query for Product
2023-10-13	13:39:54	4248	[DEBUG]	Executed store
2023-10-13	13:39:54	4248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5917_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:54	4248	[DEBUG]	Check product language entry
2023-10-13	13:39:54	4248	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863740
2023-10-13	13:39:54	4248	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:54	4248	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5917_1' AND `virtuemart_product_id` != 1863740
2023-10-13	13:39:54	4248	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:54	4248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863740, 'A_5917_1')
2023-10-13	13:39:54	4248	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:54	4248	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-smart-sam-26-x-2-10-performance-wire-54-559-hs-476-addix-noir' AND `virtuemart_product_id` != 1863740
2023-10-13	13:39:54	4248	[DEBUG]	Query for ProductLang
2023-10-13	13:39:54	4248	[DEBUG]	Executed store
2023-10-13	13:39:54	4248	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.480',`product_name`='SCHWALBE PNEU SMART SAM 26 x 2.10 Performance, wire 54-559 HS 476 Addix / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-smart-sam-26-x-2-10-performance-wire-54-559-hs-476-addix-noir' WHERE `virtuemart_product_id` = '1863740'
2023-10-13	13:39:54	4248	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31514_schwalbe_smart_sam_26_x_2_10_performance,_wire_54-559_hs_476_addix.jpg
2023-10-13	13:39:54	4248	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:39:54	4248	[DEBUG]	Process image file
2023-10-13	13:39:54	4248	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:39:54	4248	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:54	4248	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31514_schwalbe_smart_sam_26_x_2_10_performance,_wire_54-559_hs_476_addix.jpg
2023-10-13	13:39:54	4248	[DEBUG]	Full name target: bcprisme/31514_schwalbe_smart_sam_26_x_2_10_performance,_wire_54-559_hs_476_addix.jpg
2023-10-13	13:39:55	4248	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:55	4248	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31514_schwalbe_smart_sam_26_x_2_10_performance,_wire_54-559_hs_476_addix.jpg'
2023-10-13	13:39:55	4248	[DEBUG]	Query for Media
2023-10-13	13:39:55	4248	[DEBUG]	Executed store
2023-10-13	13:39:55	4248	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31514_schwalbe_smart_sam_26_x_2_10_performance,_wire_54-559_hs_476_addix.jpg',`file_url_thumb`='bcprisme/31514_schwalbe_smart_sam_26_x_2_10_performance,_wire_54-559_hs_476_addix.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381977'
2023-10-13	13:39:55	4248	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:55	4248	[DEBUG]	Executed store
2023-10-13	13:39:55	4248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863740','381977','1')
2023-10-13	13:39:55	4248	[DEBUG]	Store product image relation
2023-10-13	13:39:55	4248	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:55	4248	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863740 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:55	4248	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:55	4248	[DEBUG]	Executed store
2023-10-13	13:39:55	4248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863740','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:55	4248	[DEBUG]	Checking manufacturer
2023-10-13	13:39:55	4248	[DEBUG]	Load a row
2023-10-13	13:39:55	4248	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:55	4248	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:55	4248	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:55	4248	[DEBUG]	Executed store
2023-10-13	13:39:55	4248	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:55	4248	[DEBUG]	Manufacturer exists
2023-10-13	13:39:55	4248	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:55	4248	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:55	4248	[DEBUG]	Executed store
2023-10-13	13:39:55	4248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863740','25')
2023-10-13	13:39:55	4248	[DEBUG]	Find the custom field ID
2023-10-13	13:39:55	4248	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:55	4248	[DEBUG]	No custom field ID found
2023-10-13	13:39:55	4248	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:55	4248	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:55	4248	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863740 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:55	4248	[DEBUG]	Store custom available field
2023-10-13	13:39:55	4248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863740,3,'0',1)
2023-10-13	13:39:55	4248	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:55	4248	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:55	4248	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863740 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:55	4248	[DEBUG]	Store custom available field
2023-10-13	13:39:55	4248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863740,6,'choisir la taille',3)
2023-10-13	13:39:55	4248	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:55	4248	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:55	4248	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:55	4248	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:55	4248	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863740 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:55	4248	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:55	4248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863740,8,1)
2023-10-13	13:39:55	4248	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:55	4248	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863740\":[1863740,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863740
2023-10-13	13:39:55	4248	[DEBUG]	Checking category
2023-10-13	13:39:55	4248	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:55	4248	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863740
2023-10-13	13:39:55	4248	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:55	4248	[DEBUG]	Executed store
2023-10-13	13:39:55	4248	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863740','7410')
2023-10-13	13:39:55	4248	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:55	4248	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863740 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:55	4248	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:55	4248	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863740
2023-10-13	13:39:55	4249	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:55	4249	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:55	4249	[DEBUG]	Use field value for field taille
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:55	4249	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:55	4249	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:55	4249	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:55	4249	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:55	4249	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:55	4249	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:55	4249	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:55	4249	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:55	4249	[DEBUG]	Use field value for field published
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:55	4249	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field override
2023-10-13	13:39:55	4249	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:55	4249	[DEBUG]	Use field value for field slug
2023-10-13	13:39:55	4249	[DEBUG]	Process line 4249
2023-10-13	13:39:55	4249	[DEBUG]	Load a row
2023-10-13	13:39:55	4249	[DEBUG]	Processing item: 4026495819985
2023-10-13	13:39:55	4249	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:55	4249	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:55	4249	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5917_1'
2023-10-13	13:39:55	4249	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:55	4249	[DEBUG]	Processing product tax
2023-10-13	13:39:55	4249	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:55	4249	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:55	4249	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:55	4249	[DEBUG]	Query for Product
2023-10-13	13:39:55	4249	[DEBUG]	Executed store
2023-10-13	13:39:55	4249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863740','4026495819985','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:55	4249	[DEBUG]	No parent found
2023-10-13	13:39:55	4249	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863740 AND customfield_value = 'stockable'
2023-10-13	13:39:55	4249	[DEBUG]	Check product language entry
2023-10-13	13:39:55	4249	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863741
2023-10-13	13:39:55	4249	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:55	4249	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495819985' AND `virtuemart_product_id` != 1863741
2023-10-13	13:39:55	4249	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:55	4249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863741, '4026495819985')
2023-10-13	13:39:55	4249	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:55	4249	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-smart-sam-26-x-2-10-performance-wire-54-559-hs-476-addix-noir-unitaire' AND `virtuemart_product_id` != 1863741
2023-10-13	13:39:55	4249	[DEBUG]	Query for ProductLang
2023-10-13	13:39:55	4249	[DEBUG]	Executed store
2023-10-13	13:39:55	4249	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU SMART SAM 26 x 2.10 Performance, wire 54-559 HS 476 Addix / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-smart-sam-26-x-2-10-performance-wire-54-559-hs-476-addix-noir-unitaire' WHERE `virtuemart_product_id` = '1863741'
2023-10-13	13:39:55	4249	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31514_schwalbe_smart_sam_26_x_2_10_performance,_wire_54-559_hs_476_addix.jpg
2023-10-13	13:39:55	4249	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:39:55	4249	[DEBUG]	Process image file
2023-10-13	13:39:55	4249	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:39:55	4249	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:55	4249	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31514_schwalbe_smart_sam_26_x_2_10_performance,_wire_54-559_hs_476_addix.jpg
2023-10-13	13:39:55	4249	[DEBUG]	Full name target: bcprisme/31514_schwalbe_smart_sam_26_x_2_10_performance,_wire_54-559_hs_476_addix.jpg
2023-10-13	13:39:56	4249	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:56	4249	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31514_schwalbe_smart_sam_26_x_2_10_performance,_wire_54-559_hs_476_addix.jpg'
2023-10-13	13:39:56	4249	[DEBUG]	Query for Media
2023-10-13	13:39:56	4249	[DEBUG]	Executed store
2023-10-13	13:39:56	4249	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31514_schwalbe_smart_sam_26_x_2_10_performance,_wire_54-559_hs_476_addix.jpg',`file_url_thumb`='bcprisme/31514_schwalbe_smart_sam_26_x_2_10_performance,_wire_54-559_hs_476_addix.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381977'
2023-10-13	13:39:56	4249	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:56	4249	[DEBUG]	Executed store
2023-10-13	13:39:56	4249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863741','381977','1')
2023-10-13	13:39:56	4249	[DEBUG]	Store product image relation
2023-10-13	13:39:56	4249	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:56	4249	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863741 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:56	4249	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:56	4249	[DEBUG]	Executed store
2023-10-13	13:39:56	4249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863741','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:56	4249	[DEBUG]	Checking manufacturer
2023-10-13	13:39:56	4249	[DEBUG]	Load a row
2023-10-13	13:39:56	4249	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:56	4249	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:56	4249	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:56	4249	[DEBUG]	Executed store
2023-10-13	13:39:56	4249	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:56	4249	[DEBUG]	Manufacturer exists
2023-10-13	13:39:56	4249	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:56	4249	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:56	4249	[DEBUG]	Executed store
2023-10-13	13:39:56	4249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863741','25')
2023-10-13	13:39:56	4249	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:56	4249	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:56	4249	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863741 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:56	4249	[DEBUG]	Store custom available field
2023-10-13	13:39:56	4249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863741,3,'',1)
2023-10-13	13:39:56	4249	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:56	4249	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:56	4249	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863741 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:56	4249	[DEBUG]	Store custom available field
2023-10-13	13:39:56	4249	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863741,6,'Unitaire',3)
2023-10-13	13:39:56	4249	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:56	4249	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:56	4249	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863740
2023-10-13	13:39:56	4249	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:56	4249	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863740\":[1863740,8,1,\"choisir la taille\"],\"1863741\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863740
2023-10-13	13:39:56	4249	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:56	4249	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863741
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:56	4250	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field taille
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:56	4250	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:56	4250	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:56	4250	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:56	4250	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:56	4250	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:56	4250	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:56	4250	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field published
2023-10-13	13:39:56	4250	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:56	4250	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field override
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:56	4250	[DEBUG]	Use field value for field slug
2023-10-13	13:39:56	4250	[DEBUG]	Process line 4250
2023-10-13	13:39:56	4250	[DEBUG]	Load a row
2023-10-13	13:39:56	4250	[DEBUG]	Processing item: A_5924_1
2023-10-13	13:39:56	4250	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:56	4250	[DEBUG]	Processing product tax
2023-10-13	13:39:56	4250	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:56	4250	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:56	4250	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:56	4250	[DEBUG]	Query for Product
2023-10-13	13:39:56	4250	[DEBUG]	Executed store
2023-10-13	13:39:56	4250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5924_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:56	4250	[DEBUG]	Check product language entry
2023-10-13	13:39:56	4250	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863742
2023-10-13	13:39:56	4250	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:56	4250	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5924_1' AND `virtuemart_product_id` != 1863742
2023-10-13	13:39:56	4250	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:56	4250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863742, 'A_5924_1')
2023-10-13	13:39:56	4250	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:56	4250	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-maxxis-crossmark-27-5-x-2-10-65-psi-wire-650-b-f-r-noir' AND `virtuemart_product_id` != 1863742
2023-10-13	13:39:56	4250	[DEBUG]	Query for ProductLang
2023-10-13	13:39:56	4250	[DEBUG]	Executed store
2023-10-13	13:39:56	4250	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : CROSSMARK',`product_name`='SCHWALBE PNEU MAXXIS CROSSMARK 27.5 X 2.10  65 PSI WIRE 650 B F/R / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-maxxis-crossmark-27-5-x-2-10-65-psi-wire-650-b-f-r-noir' WHERE `virtuemart_product_id` = '1863742'
2023-10-13	13:39:56	4250	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31522_pneu__maxxis_crossmark_27_5_x_2_10__65_psi_wire_650_b_f-r.jpg
2023-10-13	13:39:56	4250	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:39:56	4250	[DEBUG]	Process image file
2023-10-13	13:39:56	4250	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:39:56	4250	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:56	4250	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31522_pneu__maxxis_crossmark_27_5_x_2_10__65_psi_wire_650_b_f-r.jpg
2023-10-13	13:39:56	4250	[DEBUG]	Full name target: bcprisme/31522_pneu__maxxis_crossmark_27_5_x_2_10__65_psi_wire_650_b_f-r.jpg
2023-10-13	13:39:57	4250	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:57	4250	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31522_pneu__maxxis_crossmark_27_5_x_2_10__65_psi_wire_650_b_f-r.jpg'
2023-10-13	13:39:57	4250	[DEBUG]	Query for Media
2023-10-13	13:39:57	4250	[DEBUG]	Executed store
2023-10-13	13:39:57	4250	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31522_pneu__maxxis_crossmark_27_5_x_2_10__65_psi_wire_650_b_f-r.jpg',`file_url_thumb`='bcprisme/31522_pneu__maxxis_crossmark_27_5_x_2_10__65_psi_wire_650_b_f-r.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381979'
2023-10-13	13:39:57	4250	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:57	4250	[DEBUG]	Executed store
2023-10-13	13:39:57	4250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863742','381979','1')
2023-10-13	13:39:57	4250	[DEBUG]	Store product image relation
2023-10-13	13:39:57	4250	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:57	4250	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863742 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:57	4250	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:57	4250	[DEBUG]	Executed store
2023-10-13	13:39:57	4250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863742','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:57	4250	[DEBUG]	Checking manufacturer
2023-10-13	13:39:57	4250	[DEBUG]	Load a row
2023-10-13	13:39:57	4250	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:57	4250	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:57	4250	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:57	4250	[DEBUG]	Executed store
2023-10-13	13:39:57	4250	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:57	4250	[DEBUG]	Manufacturer exists
2023-10-13	13:39:57	4250	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:57	4250	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:57	4250	[DEBUG]	Executed store
2023-10-13	13:39:57	4250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863742','25')
2023-10-13	13:39:57	4250	[DEBUG]	Find the custom field ID
2023-10-13	13:39:57	4250	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:57	4250	[DEBUG]	No custom field ID found
2023-10-13	13:39:57	4250	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:57	4250	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:57	4250	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863742 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:57	4250	[DEBUG]	Store custom available field
2023-10-13	13:39:57	4250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863742,3,'0',1)
2023-10-13	13:39:57	4250	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:57	4250	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:57	4250	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863742 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:57	4250	[DEBUG]	Store custom available field
2023-10-13	13:39:57	4250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863742,6,'choisir la taille',3)
2023-10-13	13:39:57	4250	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:57	4250	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:57	4250	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:57	4250	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:57	4250	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863742 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:57	4250	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:57	4250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863742,8,1)
2023-10-13	13:39:57	4250	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:57	4250	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863742\":[1863742,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863742
2023-10-13	13:39:57	4250	[DEBUG]	Checking category
2023-10-13	13:39:57	4250	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:57	4250	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863742
2023-10-13	13:39:57	4250	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:57	4250	[DEBUG]	Executed store
2023-10-13	13:39:57	4250	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863742','7410')
2023-10-13	13:39:57	4250	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:57	4250	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863742 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:57	4250	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:57	4250	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863742
2023-10-13	13:39:57	4251	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:57	4251	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:57	4251	[DEBUG]	Use field value for field taille
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:57	4251	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:57	4251	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:57	4251	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:57	4251	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:57	4251	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:57	4251	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:57	4251	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:57	4251	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:57	4251	[DEBUG]	Use field value for field published
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:57	4251	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field override
2023-10-13	13:39:57	4251	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:57	4251	[DEBUG]	Use field value for field slug
2023-10-13	13:39:57	4251	[DEBUG]	Process line 4251
2023-10-13	13:39:57	4251	[DEBUG]	Load a row
2023-10-13	13:39:57	4251	[DEBUG]	Processing item: 1000000088885
2023-10-13	13:39:57	4251	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:57	4251	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:57	4251	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5924_1'
2023-10-13	13:39:57	4251	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:57	4251	[DEBUG]	Processing product tax
2023-10-13	13:39:57	4251	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:57	4251	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:57	4251	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:57	4251	[DEBUG]	Query for Product
2023-10-13	13:39:57	4251	[DEBUG]	Executed store
2023-10-13	13:39:57	4251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863742','1000000088885','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:57	4251	[DEBUG]	No parent found
2023-10-13	13:39:57	4251	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863742 AND customfield_value = 'stockable'
2023-10-13	13:39:57	4251	[DEBUG]	Check product language entry
2023-10-13	13:39:57	4251	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863743
2023-10-13	13:39:57	4251	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:57	4251	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000088885' AND `virtuemart_product_id` != 1863743
2023-10-13	13:39:57	4251	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:57	4251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863743, '1000000088885')
2023-10-13	13:39:57	4251	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:57	4251	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-maxxis-crossmark-27-5-x-2-10-65-psi-wire-650-b-f-r-noir-unitaire' AND `virtuemart_product_id` != 1863743
2023-10-13	13:39:57	4251	[DEBUG]	Query for ProductLang
2023-10-13	13:39:57	4251	[DEBUG]	Executed store
2023-10-13	13:39:57	4251	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU MAXXIS CROSSMARK 27.5 X 2.10  65 PSI WIRE 650 B F/R / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-maxxis-crossmark-27-5-x-2-10-65-psi-wire-650-b-f-r-noir-unitaire' WHERE `virtuemart_product_id` = '1863743'
2023-10-13	13:39:57	4251	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31522_pneu__maxxis_crossmark_27_5_x_2_10__65_psi_wire_650_b_f-r.jpg
2023-10-13	13:39:57	4251	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:39:57	4251	[DEBUG]	Process image file
2023-10-13	13:39:57	4251	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:39:57	4251	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:57	4251	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31522_pneu__maxxis_crossmark_27_5_x_2_10__65_psi_wire_650_b_f-r.jpg
2023-10-13	13:39:57	4251	[DEBUG]	Full name target: bcprisme/31522_pneu__maxxis_crossmark_27_5_x_2_10__65_psi_wire_650_b_f-r.jpg
2023-10-13	13:39:58	4251	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:58	4251	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31522_pneu__maxxis_crossmark_27_5_x_2_10__65_psi_wire_650_b_f-r.jpg'
2023-10-13	13:39:58	4251	[DEBUG]	Query for Media
2023-10-13	13:39:58	4251	[DEBUG]	Executed store
2023-10-13	13:39:58	4251	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31522_pneu__maxxis_crossmark_27_5_x_2_10__65_psi_wire_650_b_f-r.jpg',`file_url_thumb`='bcprisme/31522_pneu__maxxis_crossmark_27_5_x_2_10__65_psi_wire_650_b_f-r.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381979'
2023-10-13	13:39:58	4251	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:58	4251	[DEBUG]	Executed store
2023-10-13	13:39:58	4251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863743','381979','1')
2023-10-13	13:39:58	4251	[DEBUG]	Store product image relation
2023-10-13	13:39:58	4251	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:58	4251	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863743 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:58	4251	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:58	4251	[DEBUG]	Executed store
2023-10-13	13:39:58	4251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863743','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:58	4251	[DEBUG]	Checking manufacturer
2023-10-13	13:39:58	4251	[DEBUG]	Load a row
2023-10-13	13:39:58	4251	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:58	4251	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:58	4251	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:58	4251	[DEBUG]	Executed store
2023-10-13	13:39:58	4251	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:39:58	4251	[DEBUG]	Manufacturer exists
2023-10-13	13:39:58	4251	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:39:58	4251	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:58	4251	[DEBUG]	Executed store
2023-10-13	13:39:58	4251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863743','25')
2023-10-13	13:39:58	4251	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:58	4251	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:39:58	4251	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863743 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:58	4251	[DEBUG]	Store custom available field
2023-10-13	13:39:58	4251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863743,3,'',1)
2023-10-13	13:39:58	4251	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:58	4251	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:39:58	4251	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863743 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:58	4251	[DEBUG]	Store custom available field
2023-10-13	13:39:58	4251	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863743,6,'Unitaire',3)
2023-10-13	13:39:58	4251	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:58	4251	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:39:58	4251	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863742
2023-10-13	13:39:58	4251	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:58	4251	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863742\":[1863742,8,1,\"choisir la taille\"],\"1863743\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863742
2023-10-13	13:39:58	4251	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:58	4251	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863743
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:58	4252	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field taille
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field category_path
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:58	4252	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:39:58	4252	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:58	4252	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:58	4252	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:58	4252	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:58	4252	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:58	4252	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field published
2023-10-13	13:39:58	4252	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:58	4252	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field custom_title
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field custom_param
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field override
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field public_price
2023-10-13	13:39:58	4252	[DEBUG]	Use field value for field slug
2023-10-13	13:39:58	4252	[DEBUG]	Process line 4252
2023-10-13	13:39:58	4252	[DEBUG]	Load a row
2023-10-13	13:39:58	4252	[DEBUG]	Processing item: A_6137_1
2023-10-13	13:39:58	4252	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:58	4252	[DEBUG]	Processing product tax
2023-10-13	13:39:58	4252	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:58	4252	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:58	4252	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:58	4252	[DEBUG]	Query for Product
2023-10-13	13:39:58	4252	[DEBUG]	Executed store
2023-10-13	13:39:58	4252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6137_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:58	4252	[DEBUG]	Check product language entry
2023-10-13	13:39:58	4252	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863744
2023-10-13	13:39:58	4252	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:58	4252	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6137_1' AND `virtuemart_product_id` != 1863744
2023-10-13	13:39:58	4252	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:58	4252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863744, 'A_6137_1')
2023-10-13	13:39:58	4252	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:58	4252	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-eddy-current-r-27-5-x-2-8-snake-skin-evo-soft-super-gravity-tlr-hs496-addix-falt-e-25-noir' AND `virtuemart_product_id` != 1863744
2023-10-13	13:39:58	4252	[DEBUG]	Query for ProductLang
2023-10-13	13:39:58	4252	[DEBUG]	Executed store
2023-10-13	13:39:58	4252	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.541',`product_name`='Schwalbe Pneu Eddy Current R 27.5 x 2.8 Snake Skin, Evo, Soft, super Gravity,TLR, HS496, Addix, Falt, E-25 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-eddy-current-r-27-5-x-2-8-snake-skin-evo-soft-super-gravity-tlr-hs496-addix-falt-e-25-noir' WHERE `virtuemart_product_id` = '1863744'
2023-10-13	13:39:58	4252	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31831_schwalbe_pneu_eddy_current_r_27_5_x_2_8_snake_skin,_evo,_soft,_super_gravity,tlr,_hs496,_addix,_falt,_e-25.jpg
2023-10-13	13:39:58	4252	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:58	4252	[DEBUG]	Process image file
2023-10-13	13:39:58	4252	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:58	4252	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:58	4252	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31831_schwalbe_pneu_eddy_current_r_27_5_x_2_8_snake_skin,_evo,_soft,_super_gravity,tlr,_hs496,_addix,_falt,_e-25.jpg
2023-10-13	13:39:58	4252	[DEBUG]	Full name target: bcprisme/31831_schwalbe_pneu_eddy_current_r_27_5_x_2_8_snake_skin,_evo,_soft,_super_gravity,tlr,_hs496,_addix,_falt,_e-25.jpg
2023-10-13	13:39:59	4252	[DEBUG]	Checking if the file_url exists
2023-10-13	13:39:59	4252	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31831_schwalbe_pneu_eddy_current_r_27_5_x_2_8_snake_skin,_evo,_soft,_super_gravity,tlr,_hs496,_addix,_falt,_e-25.jpg'
2023-10-13	13:39:59	4252	[DEBUG]	Query for Media
2023-10-13	13:39:59	4252	[DEBUG]	Executed store
2023-10-13	13:39:59	4252	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31831_schwalbe_pneu_eddy_current_r_27_5_x_2_8_snake_skin,_evo,_soft,_super_gravity,tlr,_hs496,_addix,_falt,_e-25.jpg',`file_url_thumb`='bcprisme/31831_schwalbe_pneu_eddy_current_r_27_5_x_2_8_snake_skin,_evo,_soft,_super_gravity,tlr,_hs496,_addix,_falt,_e-25.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381981'
2023-10-13	13:39:59	4252	[DEBUG]	Query for ProductMedia
2023-10-13	13:39:59	4252	[DEBUG]	Executed store
2023-10-13	13:39:59	4252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863744','381981','1')
2023-10-13	13:39:59	4252	[DEBUG]	Store product image relation
2023-10-13	13:39:59	4252	[DEBUG]	Finding a product_price_id
2023-10-13	13:39:59	4252	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863744 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:39:59	4252	[DEBUG]	Query for ProductPrice
2023-10-13	13:39:59	4252	[DEBUG]	Executed store
2023-10-13	13:39:59	4252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863744','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:39:59	4252	[DEBUG]	Checking manufacturer
2023-10-13	13:39:59	4252	[DEBUG]	Load a row
2023-10-13	13:39:59	4252	[DEBUG]	Manufacturer already exists
2023-10-13	13:39:59	4252	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:39:59	4252	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:39:59	4252	[DEBUG]	Executed store
2023-10-13	13:39:59	4252	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:39:59	4252	[DEBUG]	Manufacturer exists
2023-10-13	13:39:59	4252	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:39:59	4252	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:39:59	4252	[DEBUG]	Executed store
2023-10-13	13:39:59	4252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863744','77')
2023-10-13	13:39:59	4252	[DEBUG]	Find the custom field ID
2023-10-13	13:39:59	4252	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:39:59	4252	[DEBUG]	No custom field ID found
2023-10-13	13:39:59	4252	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:39:59	4252	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:39:59	4252	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863744 AND `virtuemart_custom_id` = 3
2023-10-13	13:39:59	4252	[DEBUG]	Store custom available field
2023-10-13	13:39:59	4252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863744,3,'0',1)
2023-10-13	13:39:59	4252	[DEBUG]	Processing custom available field: taille
2023-10-13	13:39:59	4252	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:39:59	4252	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863744 AND `virtuemart_custom_id` = 6
2023-10-13	13:39:59	4252	[DEBUG]	Store custom available field
2023-10-13	13:39:59	4252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863744,6,'choisir la taille',3)
2023-10-13	13:39:59	4252	[DEBUG]	Process multi-variant fields
2023-10-13	13:39:59	4252	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:39:59	4252	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:39:59	4252	[DEBUG]	Find the multi variant product entry
2023-10-13	13:39:59	4252	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863744 AND `virtuemart_custom_id` = 8
2023-10-13	13:39:59	4252	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:39:59	4252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863744,8,1)
2023-10-13	13:39:59	4252	[DEBUG]	Store the updated customfield_params
2023-10-13	13:39:59	4252	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863744\":[1863744,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863744
2023-10-13	13:39:59	4252	[DEBUG]	Checking category
2023-10-13	13:39:59	4252	[DEBUG]	Get the existing categories for the product
2023-10-13	13:39:59	4252	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863744
2023-10-13	13:39:59	4252	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:39:59	4252	[DEBUG]	Executed store
2023-10-13	13:39:59	4252	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863744','7410')
2023-10-13	13:39:59	4252	[DEBUG]	Delete leftover product categories
2023-10-13	13:39:59	4252	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863744 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:39:59	4252	[DEBUG]	Update has fields after all processing
2023-10-13	13:39:59	4252	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863744
2023-10-13	13:39:59	4253	[DEBUG]	Use field value for field product_sku
2023-10-13	13:39:59	4253	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:39:59	4253	[DEBUG]	Use field value for field taille
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:39:59	4253	[DEBUG]	Use field value for field product_name
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field category_path
2023-10-13	13:39:59	4253	[DEBUG]	Use field value for field product_price
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:39:59	4253	[DEBUG]	Use field value for field product_tax
2023-10-13	13:39:59	4253	[DEBUG]	Use field value for field file_url
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field product_desc
2023-10-13	13:39:59	4253	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:39:59	4253	[DEBUG]	Use field value for field product_availability
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field product_weight
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field product_unit
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field related_products
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field product_special
2023-10-13	13:39:59	4253	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:39:59	4253	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:39:59	4253	[DEBUG]	Use field value for field published
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field metadesc
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field metakey
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field custom_title
2023-10-13	13:39:59	4253	[DEBUG]	Use field value for field custom_value
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field custom_param
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field override
2023-10-13	13:39:59	4253	[DEBUG]	Use default value for field public_price
2023-10-13	13:39:59	4253	[DEBUG]	Use field value for field slug
2023-10-13	13:39:59	4253	[DEBUG]	Process line 4253
2023-10-13	13:39:59	4253	[DEBUG]	Load a row
2023-10-13	13:39:59	4253	[DEBUG]	Processing item: 4026495854894
2023-10-13	13:39:59	4253	[DEBUG]	Looking for parent SKU
2023-10-13	13:39:59	4253	[DEBUG]	Checking product parent SKU
2023-10-13	13:39:59	4253	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6137_1'
2023-10-13	13:39:59	4253	[DEBUG]	Product tax: 7.7
2023-10-13	13:39:59	4253	[DEBUG]	Processing product tax
2023-10-13	13:39:59	4253	[DEBUG]	Check if calculation rule exists
2023-10-13	13:39:59	4253	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:39:59	4253	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:39:59	4253	[DEBUG]	Query for Product
2023-10-13	13:39:59	4253	[DEBUG]	Executed store
2023-10-13	13:39:59	4253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863744','4026495854894','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:39:59	4253	[DEBUG]	No parent found
2023-10-13	13:39:59	4253	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863744 AND customfield_value = 'stockable'
2023-10-13	13:39:59	4253	[DEBUG]	Check product language entry
2023-10-13	13:39:59	4253	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863745
2023-10-13	13:39:59	4253	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:59	4253	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495854894' AND `virtuemart_product_id` != 1863745
2023-10-13	13:39:59	4253	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:39:59	4253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863745, '4026495854894')
2023-10-13	13:39:59	4253	[DEBUG]	Check if the product slug exists
2023-10-13	13:39:59	4253	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-eddy-current-r-27-5-x-2-8-snake-skin-evo-soft-super-gravity-tlr-hs496-addix-falt-e-25-noir-all' AND `virtuemart_product_id` != 1863745
2023-10-13	13:39:59	4253	[DEBUG]	Query for ProductLang
2023-10-13	13:39:59	4253	[DEBUG]	Executed store
2023-10-13	13:39:59	4253	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Pneu Eddy Current R 27.5 x 2.8 Snake Skin, Evo, Soft, super Gravity,TLR, HS496, Addix, Falt, E-25 / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-eddy-current-r-27-5-x-2-8-snake-skin-evo-soft-super-gravity-tlr-hs496-addix-falt-e-25-noir-all' WHERE `virtuemart_product_id` = '1863745'
2023-10-13	13:39:59	4253	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31831_schwalbe_pneu_eddy_current_r_27_5_x_2_8_snake_skin,_evo,_soft,_super_gravity,tlr,_hs496,_addix,_falt,_e-25.jpg
2023-10-13	13:39:59	4253	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:59	4253	[DEBUG]	Process image file
2023-10-13	13:39:59	4253	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:39:59	4253	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:39:59	4253	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31831_schwalbe_pneu_eddy_current_r_27_5_x_2_8_snake_skin,_evo,_soft,_super_gravity,tlr,_hs496,_addix,_falt,_e-25.jpg
2023-10-13	13:39:59	4253	[DEBUG]	Full name target: bcprisme/31831_schwalbe_pneu_eddy_current_r_27_5_x_2_8_snake_skin,_evo,_soft,_super_gravity,tlr,_hs496,_addix,_falt,_e-25.jpg
2023-10-13	13:40:00	4253	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:00	4253	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31831_schwalbe_pneu_eddy_current_r_27_5_x_2_8_snake_skin,_evo,_soft,_super_gravity,tlr,_hs496,_addix,_falt,_e-25.jpg'
2023-10-13	13:40:00	4253	[DEBUG]	Query for Media
2023-10-13	13:40:00	4253	[DEBUG]	Executed store
2023-10-13	13:40:00	4253	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31831_schwalbe_pneu_eddy_current_r_27_5_x_2_8_snake_skin,_evo,_soft,_super_gravity,tlr,_hs496,_addix,_falt,_e-25.jpg',`file_url_thumb`='bcprisme/31831_schwalbe_pneu_eddy_current_r_27_5_x_2_8_snake_skin,_evo,_soft,_super_gravity,tlr,_hs496,_addix,_falt,_e-25.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381981'
2023-10-13	13:40:00	4253	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:00	4253	[DEBUG]	Executed store
2023-10-13	13:40:00	4253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863745','381981','1')
2023-10-13	13:40:00	4253	[DEBUG]	Store product image relation
2023-10-13	13:40:00	4253	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:00	4253	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863745 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:00	4253	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:00	4253	[DEBUG]	Executed store
2023-10-13	13:40:00	4253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863745','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:00	4253	[DEBUG]	Checking manufacturer
2023-10-13	13:40:00	4253	[DEBUG]	Load a row
2023-10-13	13:40:00	4253	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:00	4253	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:40:00	4253	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:00	4253	[DEBUG]	Executed store
2023-10-13	13:40:00	4253	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:40:00	4253	[DEBUG]	Manufacturer exists
2023-10-13	13:40:00	4253	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:40:00	4253	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:00	4253	[DEBUG]	Executed store
2023-10-13	13:40:00	4253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863745','77')
2023-10-13	13:40:00	4253	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:00	4253	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:00	4253	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863745 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:00	4253	[DEBUG]	Store custom available field
2023-10-13	13:40:00	4253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863745,3,'',1)
2023-10-13	13:40:00	4253	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:00	4253	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:40:00	4253	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863745 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:00	4253	[DEBUG]	Store custom available field
2023-10-13	13:40:00	4253	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863745,6,'All',3)
2023-10-13	13:40:00	4253	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:00	4253	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:00	4253	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863744
2023-10-13	13:40:00	4253	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:00	4253	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863744\":[1863744,8,1,\"choisir la taille\"],\"1863745\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863744
2023-10-13	13:40:00	4253	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:00	4253	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863745
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:00	4254	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field taille
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:00	4254	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:00	4254	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:00	4254	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:00	4254	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:00	4254	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:00	4254	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field published
2023-10-13	13:40:00	4254	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:00	4254	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field override
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:00	4254	[DEBUG]	Use field value for field slug
2023-10-13	13:40:00	4254	[DEBUG]	Process line 4254
2023-10-13	13:40:00	4254	[DEBUG]	Load a row
2023-10-13	13:40:00	4254	[DEBUG]	Processing item: A_6245_1
2023-10-13	13:40:00	4254	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:00	4254	[DEBUG]	Processing product tax
2023-10-13	13:40:00	4254	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:00	4254	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:00	4254	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:00	4254	[DEBUG]	Query for Product
2023-10-13	13:40:00	4254	[DEBUG]	Executed store
2023-10-13	13:40:00	4254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6245_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:00	4254	[DEBUG]	Check product language entry
2023-10-13	13:40:00	4254	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863746
2023-10-13	13:40:00	4254	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:00	4254	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6245_1' AND `virtuemart_product_id` != 1863746
2023-10-13	13:40:00	4254	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:00	4254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863746, 'A_6245_1')
2023-10-13	13:40:00	4254	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:00	4254	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-nobby-nic-27-5-x-2-35-60-584-addix-tl-easy-noir' AND `virtuemart_product_id` != 1863746
2023-10-13	13:40:00	4254	[DEBUG]	Query for ProductLang
2023-10-13	13:40:00	4254	[DEBUG]	Executed store
2023-10-13	13:40:00	4254	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.483',`product_name`='SCHWALBE PNEU NOBBY NIC 27.5 X 2.35 60-584 Addix TL-Easy / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-nobby-nic-27-5-x-2-35-60-584-addix-tl-easy-noir' WHERE `virtuemart_product_id` = '1863746'
2023-10-13	13:40:00	4254	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32094_pneu_nobby_nic_27_5_x_2_35_60-584_addix_tl-easy.png
2023-10-13	13:40:00	4254	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:40:00	4254	[DEBUG]	Process image file
2023-10-13	13:40:00	4254	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:40:00	4254	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:00	4254	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32094_pneu_nobby_nic_27_5_x_2_35_60-584_addix_tl-easy.png
2023-10-13	13:40:00	4254	[DEBUG]	Full name target: bcprisme/32094_pneu_nobby_nic_27_5_x_2_35_60-584_addix_tl-easy.png
2023-10-13	13:40:01	4254	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:01	4254	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32094_pneu_nobby_nic_27_5_x_2_35_60-584_addix_tl-easy.png'
2023-10-13	13:40:01	4254	[DEBUG]	Query for Media
2023-10-13	13:40:01	4254	[DEBUG]	Executed store
2023-10-13	13:40:01	4254	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/32094_pneu_nobby_nic_27_5_x_2_35_60-584_addix_tl-easy.png',`file_url_thumb`='bcprisme/32094_pneu_nobby_nic_27_5_x_2_35_60-584_addix_tl-easy.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381983'
2023-10-13	13:40:01	4254	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:01	4254	[DEBUG]	Executed store
2023-10-13	13:40:01	4254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863746','381983','1')
2023-10-13	13:40:01	4254	[DEBUG]	Store product image relation
2023-10-13	13:40:01	4254	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:01	4254	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863746 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:01	4254	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:01	4254	[DEBUG]	Executed store
2023-10-13	13:40:01	4254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863746','0','67.3166202414113','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:01	4254	[DEBUG]	Checking manufacturer
2023-10-13	13:40:01	4254	[DEBUG]	Load a row
2023-10-13	13:40:01	4254	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:01	4254	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:01	4254	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:01	4254	[DEBUG]	Executed store
2023-10-13	13:40:01	4254	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:01	4254	[DEBUG]	Manufacturer exists
2023-10-13	13:40:01	4254	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:01	4254	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:01	4254	[DEBUG]	Executed store
2023-10-13	13:40:01	4254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863746','25')
2023-10-13	13:40:01	4254	[DEBUG]	Find the custom field ID
2023-10-13	13:40:01	4254	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:01	4254	[DEBUG]	No custom field ID found
2023-10-13	13:40:01	4254	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:01	4254	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:40:01	4254	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863746 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:01	4254	[DEBUG]	Store custom available field
2023-10-13	13:40:01	4254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863746,3,'0',1)
2023-10-13	13:40:01	4254	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:01	4254	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:01	4254	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863746 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:01	4254	[DEBUG]	Store custom available field
2023-10-13	13:40:01	4254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863746,6,'choisir la taille',3)
2023-10-13	13:40:01	4254	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:01	4254	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:01	4254	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:01	4254	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:01	4254	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863746 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:01	4254	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:01	4254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863746,8,1)
2023-10-13	13:40:01	4254	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:01	4254	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863746\":[1863746,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863746
2023-10-13	13:40:01	4254	[DEBUG]	Checking category
2023-10-13	13:40:01	4254	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:01	4254	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863746
2023-10-13	13:40:01	4254	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:01	4254	[DEBUG]	Executed store
2023-10-13	13:40:01	4254	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863746','7410')
2023-10-13	13:40:01	4254	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:01	4254	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863746 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:01	4254	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:01	4254	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863746
2023-10-13	13:40:01	4255	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:01	4255	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:01	4255	[DEBUG]	Use field value for field taille
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:01	4255	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:01	4255	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:01	4255	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:01	4255	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:01	4255	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:01	4255	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:01	4255	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:01	4255	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:01	4255	[DEBUG]	Use field value for field published
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:01	4255	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field override
2023-10-13	13:40:01	4255	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:01	4255	[DEBUG]	Use field value for field slug
2023-10-13	13:40:01	4255	[DEBUG]	Process line 4255
2023-10-13	13:40:01	4255	[DEBUG]	Load a row
2023-10-13	13:40:01	4255	[DEBUG]	Processing item: 4026495821223
2023-10-13	13:40:01	4255	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:01	4255	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:01	4255	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6245_1'
2023-10-13	13:40:01	4255	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:01	4255	[DEBUG]	Processing product tax
2023-10-13	13:40:01	4255	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:01	4255	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:01	4255	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:01	4255	[DEBUG]	Query for Product
2023-10-13	13:40:01	4255	[DEBUG]	Executed store
2023-10-13	13:40:01	4255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863746','4026495821223','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:01	4255	[DEBUG]	No parent found
2023-10-13	13:40:01	4255	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863746 AND customfield_value = 'stockable'
2023-10-13	13:40:01	4255	[DEBUG]	Check product language entry
2023-10-13	13:40:01	4255	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863747
2023-10-13	13:40:01	4255	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:01	4255	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495821223' AND `virtuemart_product_id` != 1863747
2023-10-13	13:40:01	4255	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:01	4255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863747, '4026495821223')
2023-10-13	13:40:01	4255	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:01	4255	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-nobby-nic-27-5-x-2-35-60-584-addix-tl-easy-noir-unitaire' AND `virtuemart_product_id` != 1863747
2023-10-13	13:40:01	4255	[DEBUG]	Query for ProductLang
2023-10-13	13:40:01	4255	[DEBUG]	Executed store
2023-10-13	13:40:01	4255	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU NOBBY NIC 27.5 X 2.35 60-584 Addix TL-Easy / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-nobby-nic-27-5-x-2-35-60-584-addix-tl-easy-noir-unitaire' WHERE `virtuemart_product_id` = '1863747'
2023-10-13	13:40:01	4255	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32094_pneu_nobby_nic_27_5_x_2_35_60-584_addix_tl-easy.png
2023-10-13	13:40:01	4255	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:40:01	4255	[DEBUG]	Process image file
2023-10-13	13:40:01	4255	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:40:01	4255	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:01	4255	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32094_pneu_nobby_nic_27_5_x_2_35_60-584_addix_tl-easy.png
2023-10-13	13:40:01	4255	[DEBUG]	Full name target: bcprisme/32094_pneu_nobby_nic_27_5_x_2_35_60-584_addix_tl-easy.png
2023-10-13	13:40:03	4255	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:03	4255	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32094_pneu_nobby_nic_27_5_x_2_35_60-584_addix_tl-easy.png'
2023-10-13	13:40:03	4255	[DEBUG]	Query for Media
2023-10-13	13:40:03	4255	[DEBUG]	Executed store
2023-10-13	13:40:03	4255	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/32094_pneu_nobby_nic_27_5_x_2_35_60-584_addix_tl-easy.png',`file_url_thumb`='bcprisme/32094_pneu_nobby_nic_27_5_x_2_35_60-584_addix_tl-easy.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '381983'
2023-10-13	13:40:03	4255	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:03	4255	[DEBUG]	Executed store
2023-10-13	13:40:03	4255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863747','381983','1')
2023-10-13	13:40:03	4255	[DEBUG]	Store product image relation
2023-10-13	13:40:03	4255	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:03	4255	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863747 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:03	4255	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:03	4255	[DEBUG]	Executed store
2023-10-13	13:40:03	4255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863747','0','67.3166202414113','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:03	4255	[DEBUG]	Checking manufacturer
2023-10-13	13:40:03	4255	[DEBUG]	Load a row
2023-10-13	13:40:03	4255	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:03	4255	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:03	4255	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:03	4255	[DEBUG]	Executed store
2023-10-13	13:40:03	4255	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:03	4255	[DEBUG]	Manufacturer exists
2023-10-13	13:40:03	4255	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:03	4255	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:03	4255	[DEBUG]	Executed store
2023-10-13	13:40:03	4255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863747','25')
2023-10-13	13:40:03	4255	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:03	4255	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:03	4255	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863747 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:03	4255	[DEBUG]	Store custom available field
2023-10-13	13:40:03	4255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863747,3,'',1)
2023-10-13	13:40:03	4255	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:03	4255	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:03	4255	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863747 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:03	4255	[DEBUG]	Store custom available field
2023-10-13	13:40:03	4255	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863747,6,'Unitaire',3)
2023-10-13	13:40:03	4255	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:03	4255	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:03	4255	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863746
2023-10-13	13:40:03	4255	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:03	4255	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863746\":[1863746,8,1,\"choisir la taille\"],\"1863747\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863746
2023-10-13	13:40:03	4255	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:03	4255	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863747
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:03	4256	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field taille
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:03	4256	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:03	4256	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:03	4256	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:03	4256	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:03	4256	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:03	4256	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field published
2023-10-13	13:40:03	4256	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:03	4256	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field override
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:03	4256	[DEBUG]	Use field value for field slug
2023-10-13	13:40:03	4256	[DEBUG]	Process line 4256
2023-10-13	13:40:03	4256	[DEBUG]	Load a row
2023-10-13	13:40:03	4256	[DEBUG]	Processing item: A_6263_1
2023-10-13	13:40:03	4256	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:03	4256	[DEBUG]	Processing product tax
2023-10-13	13:40:03	4256	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:03	4256	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:03	4256	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:03	4256	[DEBUG]	Query for Product
2023-10-13	13:40:03	4256	[DEBUG]	Executed store
2023-10-13	13:40:03	4256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6263_1','0.5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:03	4256	[DEBUG]	Check product language entry
2023-10-13	13:40:03	4256	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863748
2023-10-13	13:40:03	4256	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:03	4256	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6263_1' AND `virtuemart_product_id` != 1863748
2023-10-13	13:40:03	4256	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:03	4256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863748, 'A_6263_1')
2023-10-13	13:40:03	4256	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:03	4256	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-kojak-race-guard-27-5x1-35-35-584-hs385-noir' AND `virtuemart_product_id` != 1863748
2023-10-13	13:40:03	4256	[DEBUG]	Query for ProductLang
2023-10-13	13:40:03	4256	[DEBUG]	Executed store
2023-10-13	13:40:03	4256	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.332',`product_name`='SCHWALBE PNEU Kojak Race Guard 27.5x1.35 35-584, HS385 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-kojak-race-guard-27-5x1-35-35-584-hs385-noir' WHERE `virtuemart_product_id` = '1863748'
2023-10-13	13:40:03	4256	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32113_pneu_schwalbe_kojak_race_guard_27_5x1_35_35-584,_hs385.png
2023-10-13	13:40:03	4256	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:40:03	4256	[DEBUG]	Process image file
2023-10-13	13:40:03	4256	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:40:03	4256	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:03	4256	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32113_pneu_schwalbe_kojak_race_guard_27_5x1_35_35-584,_hs385.png
2023-10-13	13:40:03	4256	[DEBUG]	Full name target: bcprisme/32113_pneu_schwalbe_kojak_race_guard_27_5x1_35_35-584,_hs385.png
2023-10-13	13:40:04	4256	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:04	4256	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32113_pneu_schwalbe_kojak_race_guard_27_5x1_35_35-584,_hs385.png'
2023-10-13	13:40:04	4256	[DEBUG]	Query for Media
2023-10-13	13:40:04	4256	[DEBUG]	Executed store
2023-10-13	13:40:04	4256	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/32113_pneu_schwalbe_kojak_race_guard_27_5x1_35_35-584,_hs385.png',`file_url_thumb`='bcprisme/32113_pneu_schwalbe_kojak_race_guard_27_5x1_35_35-584,_hs385.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14521'
2023-10-13	13:40:04	4256	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:04	4256	[DEBUG]	Executed store
2023-10-13	13:40:04	4256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863748','14521','1')
2023-10-13	13:40:04	4256	[DEBUG]	Store product image relation
2023-10-13	13:40:04	4256	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:04	4256	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863748 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:04	4256	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:04	4256	[DEBUG]	Executed store
2023-10-13	13:40:04	4256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863748','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:04	4256	[DEBUG]	Checking manufacturer
2023-10-13	13:40:04	4256	[DEBUG]	Load a row
2023-10-13	13:40:04	4256	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:04	4256	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:04	4256	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:04	4256	[DEBUG]	Executed store
2023-10-13	13:40:04	4256	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:04	4256	[DEBUG]	Manufacturer exists
2023-10-13	13:40:04	4256	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:04	4256	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:04	4256	[DEBUG]	Executed store
2023-10-13	13:40:04	4256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863748','25')
2023-10-13	13:40:04	4256	[DEBUG]	Find the custom field ID
2023-10-13	13:40:04	4256	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:04	4256	[DEBUG]	No custom field ID found
2023-10-13	13:40:04	4256	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:04	4256	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:40:04	4256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863748 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:04	4256	[DEBUG]	Store custom available field
2023-10-13	13:40:04	4256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863748,3,'0',1)
2023-10-13	13:40:04	4256	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:04	4256	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:04	4256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863748 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:04	4256	[DEBUG]	Store custom available field
2023-10-13	13:40:04	4256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863748,6,'choisir la taille',3)
2023-10-13	13:40:04	4256	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:04	4256	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:04	4256	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:04	4256	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:04	4256	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863748 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:04	4256	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:04	4256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863748,8,1)
2023-10-13	13:40:04	4256	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:04	4256	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863748\":[1863748,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863748
2023-10-13	13:40:04	4256	[DEBUG]	Checking category
2023-10-13	13:40:04	4256	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:04	4256	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863748
2023-10-13	13:40:04	4256	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:04	4256	[DEBUG]	Executed store
2023-10-13	13:40:04	4256	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863748','7410')
2023-10-13	13:40:04	4256	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:04	4256	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863748 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:04	4256	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:04	4256	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863748
2023-10-13	13:40:04	4257	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:04	4257	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:04	4257	[DEBUG]	Use field value for field taille
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:04	4257	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:04	4257	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:04	4257	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:04	4257	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:04	4257	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:04	4257	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:04	4257	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:04	4257	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:04	4257	[DEBUG]	Use field value for field published
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:04	4257	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field override
2023-10-13	13:40:04	4257	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:04	4257	[DEBUG]	Use field value for field slug
2023-10-13	13:40:04	4257	[DEBUG]	Process line 4257
2023-10-13	13:40:04	4257	[DEBUG]	Load a row
2023-10-13	13:40:04	4257	[DEBUG]	Processing item: 4026495763325
2023-10-13	13:40:04	4257	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:04	4257	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:04	4257	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6263_1'
2023-10-13	13:40:04	4257	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:04	4257	[DEBUG]	Processing product tax
2023-10-13	13:40:04	4257	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:04	4257	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:04	4257	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:04	4257	[DEBUG]	Query for Product
2023-10-13	13:40:04	4257	[DEBUG]	Executed store
2023-10-13	13:40:04	4257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863748','4026495763325','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:04	4257	[DEBUG]	No parent found
2023-10-13	13:40:04	4257	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863748 AND customfield_value = 'stockable'
2023-10-13	13:40:04	4257	[DEBUG]	Check product language entry
2023-10-13	13:40:04	4257	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863749
2023-10-13	13:40:04	4257	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:04	4257	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495763325' AND `virtuemart_product_id` != 1863749
2023-10-13	13:40:04	4257	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:04	4257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863749, '4026495763325')
2023-10-13	13:40:04	4257	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:04	4257	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-kojak-race-guard-27-5x1-35-35-584-hs385-noir-unitaire' AND `virtuemart_product_id` != 1863749
2023-10-13	13:40:04	4257	[DEBUG]	Query for ProductLang
2023-10-13	13:40:04	4257	[DEBUG]	Executed store
2023-10-13	13:40:04	4257	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU Kojak Race Guard 27.5x1.35 35-584, HS385 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-kojak-race-guard-27-5x1-35-35-584-hs385-noir-unitaire' WHERE `virtuemart_product_id` = '1863749'
2023-10-13	13:40:04	4257	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32113_pneu_schwalbe_kojak_race_guard_27_5x1_35_35-584,_hs385.png
2023-10-13	13:40:04	4257	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:40:04	4257	[DEBUG]	Process image file
2023-10-13	13:40:04	4257	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:40:04	4257	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:04	4257	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32113_pneu_schwalbe_kojak_race_guard_27_5x1_35_35-584,_hs385.png
2023-10-13	13:40:04	4257	[DEBUG]	Full name target: bcprisme/32113_pneu_schwalbe_kojak_race_guard_27_5x1_35_35-584,_hs385.png
2023-10-13	13:40:05	4257	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:05	4257	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32113_pneu_schwalbe_kojak_race_guard_27_5x1_35_35-584,_hs385.png'
2023-10-13	13:40:05	4257	[DEBUG]	Query for Media
2023-10-13	13:40:05	4257	[DEBUG]	Executed store
2023-10-13	13:40:05	4257	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/32113_pneu_schwalbe_kojak_race_guard_27_5x1_35_35-584,_hs385.png',`file_url_thumb`='bcprisme/32113_pneu_schwalbe_kojak_race_guard_27_5x1_35_35-584,_hs385.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14521'
2023-10-13	13:40:05	4257	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:05	4257	[DEBUG]	Executed store
2023-10-13	13:40:05	4257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863749','14521','1')
2023-10-13	13:40:05	4257	[DEBUG]	Store product image relation
2023-10-13	13:40:05	4257	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:05	4257	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863749 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:05	4257	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:05	4257	[DEBUG]	Executed store
2023-10-13	13:40:05	4257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863749','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:05	4257	[DEBUG]	Checking manufacturer
2023-10-13	13:40:05	4257	[DEBUG]	Load a row
2023-10-13	13:40:05	4257	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:05	4257	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:05	4257	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:05	4257	[DEBUG]	Executed store
2023-10-13	13:40:05	4257	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:05	4257	[DEBUG]	Manufacturer exists
2023-10-13	13:40:05	4257	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:05	4257	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:05	4257	[DEBUG]	Executed store
2023-10-13	13:40:05	4257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863749','25')
2023-10-13	13:40:05	4257	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:05	4257	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:05	4257	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863749 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:05	4257	[DEBUG]	Store custom available field
2023-10-13	13:40:05	4257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863749,3,'',1)
2023-10-13	13:40:05	4257	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:05	4257	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:05	4257	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863749 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:05	4257	[DEBUG]	Store custom available field
2023-10-13	13:40:05	4257	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863749,6,'Unitaire',3)
2023-10-13	13:40:05	4257	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:05	4257	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:05	4257	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863748
2023-10-13	13:40:05	4257	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:05	4257	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863748\":[1863748,8,1,\"choisir la taille\"],\"1863749\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863748
2023-10-13	13:40:05	4257	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:05	4257	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863749
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:05	4258	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field taille
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:05	4258	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:05	4258	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:05	4258	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:05	4258	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:05	4258	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:05	4258	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field published
2023-10-13	13:40:05	4258	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:05	4258	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field override
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:05	4258	[DEBUG]	Use field value for field slug
2023-10-13	13:40:05	4258	[DEBUG]	Process line 4258
2023-10-13	13:40:05	4258	[DEBUG]	Load a row
2023-10-13	13:40:05	4258	[DEBUG]	Processing item: A_6264_208
2023-10-13	13:40:05	4258	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:05	4258	[DEBUG]	Processing product tax
2023-10-13	13:40:05	4258	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:05	4258	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:05	4258	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:05	4258	[DEBUG]	Query for Product
2023-10-13	13:40:05	4258	[DEBUG]	Executed store
2023-10-13	13:40:05	4258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6264_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:05	4258	[DEBUG]	Check product language entry
2023-10-13	13:40:05	4258	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863750
2023-10-13	13:40:05	4258	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:05	4258	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6264_208' AND `virtuemart_product_id` != 1863750
2023-10-13	13:40:05	4258	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:05	4258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863750, 'A_6264_208')
2023-10-13	13:40:05	4258	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:05	4258	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-27-5x1-65-rigide-avec-bande-reflechissante-black-aucune' AND `virtuemart_product_id` != 1863750
2023-10-13	13:40:05	4258	[DEBUG]	Query for ProductLang
2023-10-13	13:40:05	4258	[DEBUG]	Executed store
2023-10-13	13:40:05	4258	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.57408',`product_name`='Schwalbe Pneu Marathon 27.5x1.65 rigide avec bande réfléchissante black / <aucune>',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-27-5x1-65-rigide-avec-bande-reflechissante-black-aucune' WHERE `virtuemart_product_id` = '1863750'
2023-10-13	13:40:05	4258	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32114_schwalbe_pneu_marathon_27_5x1_65_rigide_avec_bande_reflechissante_black.jpg
2023-10-13	13:40:05	4258	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:05	4258	[DEBUG]	Process image file
2023-10-13	13:40:05	4258	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:05	4258	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:05	4258	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32114_schwalbe_pneu_marathon_27_5x1_65_rigide_avec_bande_reflechissante_black.jpg
2023-10-13	13:40:05	4258	[DEBUG]	Full name target: bcprisme/32114_schwalbe_pneu_marathon_27_5x1_65_rigide_avec_bande_reflechissante_black.jpg
2023-10-13	13:40:06	4258	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:06	4258	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32114_schwalbe_pneu_marathon_27_5x1_65_rigide_avec_bande_reflechissante_black.jpg'
2023-10-13	13:40:06	4258	[DEBUG]	Query for Media
2023-10-13	13:40:06	4258	[DEBUG]	Executed store
2023-10-13	13:40:06	4258	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32114_schwalbe_pneu_marathon_27_5x1_65_rigide_avec_bande_reflechissante_black.jpg',`file_url_thumb`='bcprisme/32114_schwalbe_pneu_marathon_27_5x1_65_rigide_avec_bande_reflechissante_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14522'
2023-10-13	13:40:06	4258	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:06	4258	[DEBUG]	Executed store
2023-10-13	13:40:06	4258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863750','14522','1')
2023-10-13	13:40:06	4258	[DEBUG]	Store product image relation
2023-10-13	13:40:06	4258	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:06	4258	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863750 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:06	4258	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:06	4258	[DEBUG]	Executed store
2023-10-13	13:40:06	4258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863750','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:06	4258	[DEBUG]	Checking manufacturer
2023-10-13	13:40:06	4258	[DEBUG]	Load a row
2023-10-13	13:40:06	4258	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:06	4258	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:40:06	4258	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:06	4258	[DEBUG]	Executed store
2023-10-13	13:40:06	4258	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:40:06	4258	[DEBUG]	Manufacturer exists
2023-10-13	13:40:06	4258	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:40:06	4258	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:06	4258	[DEBUG]	Executed store
2023-10-13	13:40:06	4258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863750','77')
2023-10-13	13:40:06	4258	[DEBUG]	Find the custom field ID
2023-10-13	13:40:06	4258	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:06	4258	[DEBUG]	No custom field ID found
2023-10-13	13:40:06	4258	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:06	4258	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:40:06	4258	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863750 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:06	4258	[DEBUG]	Store custom available field
2023-10-13	13:40:06	4258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863750,3,'0',1)
2023-10-13	13:40:06	4258	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:06	4258	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:06	4258	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863750 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:06	4258	[DEBUG]	Store custom available field
2023-10-13	13:40:06	4258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863750,6,'choisir la taille',3)
2023-10-13	13:40:06	4258	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:06	4258	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:06	4258	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:06	4258	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:06	4258	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863750 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:06	4258	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:06	4258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863750,8,1)
2023-10-13	13:40:06	4258	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:06	4258	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863750\":[1863750,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863750
2023-10-13	13:40:06	4258	[DEBUG]	Checking category
2023-10-13	13:40:06	4258	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:06	4258	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863750
2023-10-13	13:40:06	4258	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:06	4258	[DEBUG]	Executed store
2023-10-13	13:40:06	4258	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863750','7410')
2023-10-13	13:40:06	4258	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:06	4258	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863750 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:06	4258	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:06	4258	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863750
2023-10-13	13:40:06	4259	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:06	4259	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:06	4259	[DEBUG]	Use field value for field taille
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:06	4259	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:06	4259	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:06	4259	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:06	4259	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:06	4259	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:06	4259	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:06	4259	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:06	4259	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:06	4259	[DEBUG]	Use field value for field published
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:06	4259	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field override
2023-10-13	13:40:06	4259	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:06	4259	[DEBUG]	Use field value for field slug
2023-10-13	13:40:06	4259	[DEBUG]	Process line 4259
2023-10-13	13:40:06	4259	[DEBUG]	Load a row
2023-10-13	13:40:06	4259	[DEBUG]	Processing item: 4026495709644
2023-10-13	13:40:06	4259	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:06	4259	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:06	4259	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6264_208'
2023-10-13	13:40:06	4259	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:06	4259	[DEBUG]	Processing product tax
2023-10-13	13:40:06	4259	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:06	4259	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:06	4259	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:06	4259	[DEBUG]	Query for Product
2023-10-13	13:40:06	4259	[DEBUG]	Executed store
2023-10-13	13:40:06	4259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863750','4026495709644','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:06	4259	[DEBUG]	No parent found
2023-10-13	13:40:06	4259	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863750 AND customfield_value = 'stockable'
2023-10-13	13:40:06	4259	[DEBUG]	Check product language entry
2023-10-13	13:40:06	4259	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863751
2023-10-13	13:40:06	4259	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:06	4259	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495709644' AND `virtuemart_product_id` != 1863751
2023-10-13	13:40:06	4259	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:06	4259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863751, '4026495709644')
2023-10-13	13:40:06	4259	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:06	4259	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-27-5x1-65-rigide-avec-bande-reflechissante-black-aucune-all' AND `virtuemart_product_id` != 1863751
2023-10-13	13:40:06	4259	[DEBUG]	Query for ProductLang
2023-10-13	13:40:06	4259	[DEBUG]	Executed store
2023-10-13	13:40:06	4259	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Pneu Marathon 27.5x1.65 rigide avec bande réfléchissante black / <aucune> (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-27-5x1-65-rigide-avec-bande-reflechissante-black-aucune-all' WHERE `virtuemart_product_id` = '1863751'
2023-10-13	13:40:06	4259	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32114_schwalbe_pneu_marathon_27_5x1_65_rigide_avec_bande_reflechissante_black.jpg
2023-10-13	13:40:06	4259	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:06	4259	[DEBUG]	Process image file
2023-10-13	13:40:06	4259	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:06	4259	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:06	4259	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32114_schwalbe_pneu_marathon_27_5x1_65_rigide_avec_bande_reflechissante_black.jpg
2023-10-13	13:40:06	4259	[DEBUG]	Full name target: bcprisme/32114_schwalbe_pneu_marathon_27_5x1_65_rigide_avec_bande_reflechissante_black.jpg
2023-10-13	13:40:07	4259	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:07	4259	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32114_schwalbe_pneu_marathon_27_5x1_65_rigide_avec_bande_reflechissante_black.jpg'
2023-10-13	13:40:07	4259	[DEBUG]	Query for Media
2023-10-13	13:40:07	4259	[DEBUG]	Executed store
2023-10-13	13:40:07	4259	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32114_schwalbe_pneu_marathon_27_5x1_65_rigide_avec_bande_reflechissante_black.jpg',`file_url_thumb`='bcprisme/32114_schwalbe_pneu_marathon_27_5x1_65_rigide_avec_bande_reflechissante_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14522'
2023-10-13	13:40:07	4259	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:07	4259	[DEBUG]	Executed store
2023-10-13	13:40:07	4259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863751','14522','1')
2023-10-13	13:40:07	4259	[DEBUG]	Store product image relation
2023-10-13	13:40:07	4259	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:07	4259	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863751 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:07	4259	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:07	4259	[DEBUG]	Executed store
2023-10-13	13:40:07	4259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863751','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:07	4259	[DEBUG]	Checking manufacturer
2023-10-13	13:40:07	4259	[DEBUG]	Load a row
2023-10-13	13:40:07	4259	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:07	4259	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:40:07	4259	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:07	4259	[DEBUG]	Executed store
2023-10-13	13:40:07	4259	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:40:07	4259	[DEBUG]	Manufacturer exists
2023-10-13	13:40:07	4259	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:40:07	4259	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:07	4259	[DEBUG]	Executed store
2023-10-13	13:40:07	4259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863751','77')
2023-10-13	13:40:07	4259	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:07	4259	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:07	4259	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863751 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:07	4259	[DEBUG]	Store custom available field
2023-10-13	13:40:07	4259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863751,3,'',1)
2023-10-13	13:40:07	4259	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:07	4259	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:40:07	4259	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863751 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:07	4259	[DEBUG]	Store custom available field
2023-10-13	13:40:07	4259	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863751,6,'All',3)
2023-10-13	13:40:07	4259	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:07	4259	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:07	4259	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863750
2023-10-13	13:40:07	4259	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:07	4259	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863750\":[1863750,8,1,\"choisir la taille\"],\"1863751\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863750
2023-10-13	13:40:07	4259	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:07	4259	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863751
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:07	4260	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field taille
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:07	4260	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:07	4260	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:07	4260	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:07	4260	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:07	4260	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:07	4260	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field published
2023-10-13	13:40:07	4260	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:07	4260	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field override
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:07	4260	[DEBUG]	Use field value for field slug
2023-10-13	13:40:07	4260	[DEBUG]	Process line 4260
2023-10-13	13:40:07	4260	[DEBUG]	Load a row
2023-10-13	13:40:07	4260	[DEBUG]	Processing item: A_6583_120
2023-10-13	13:40:07	4260	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:07	4260	[DEBUG]	Processing product tax
2023-10-13	13:40:07	4260	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:07	4260	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:07	4260	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:07	4260	[DEBUG]	Query for Product
2023-10-13	13:40:07	4260	[DEBUG]	Executed store
2023-10-13	13:40:07	4260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6583_120','0.57','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:07	4260	[DEBUG]	Check product language entry
2023-10-13	13:40:07	4260	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863752
2023-10-13	13:40:07	4260	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:07	4260	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6583_120' AND `virtuemart_product_id` != 1863752
2023-10-13	13:40:07	4260	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:07	4260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863752, 'A_6583_120')
2023-10-13	13:40:07	4260	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:07	4260	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-27-5-x-2-30-trl-2c-dh-sup-60tpi-brown-brown' AND `virtuemart_product_id` != 1863752
2023-10-13	13:40:07	4260	[DEBUG]	Query for ProductLang
2023-10-13	13:40:07	4260	[DEBUG]	Executed store
2023-10-13	13:40:07	4260	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1035 g<br><br>-Accroche: 5/5<br> -Traction: 4/5<br> -Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br> -Gomme: 56a/50a<br> -ETRTO 58-584<br>-2.30 – same to 2.40 between knobs/ebike friendly<br><br>Idéal pour l’Enduro et la DH. Contrôle parfait sur terrains détériorés, meubles et humides.<br><br>Ses 4 rangés de crampons hauts et larges taillés perpendiculairement garantissent une adhérence et un contrôle extraordinaire lors de freinages brusques, même dans les situations de pilotages les plus agressives. Capable d’affronter férocement des courbes prononcées et de dévorer tous les types de terrains.<br><br>Un crampon sur deux de la zone centrale sont équipés d’une rampe afin de diminuer la résistance au roulement. Les crampons latéraux, dotés d’entailles verticales et d’encoches, sont placés sur 2 niveaux pour assurer une accroche parfaite lors de passage en courbe, sur pierres et racines. <br>N° art fourn : GRI275230TLR2CT',`product_name`='MSC PNEU GRIPPER 27.5 X 2.30 TRL 2C DH SUP 60TPI  BROWN / Brown',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-27-5-x-2-30-trl-2c-dh-sup-60tpi-brown-brown' WHERE `virtuemart_product_id` = '1863752'
2023-10-13	13:40:07	4260	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32469_gripper_27_5x2_30_trl_2c_dh_sup_60tpi__skinwall.jpg
2023-10-13	13:40:07	4260	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:07	4260	[DEBUG]	Process image file
2023-10-13	13:40:07	4260	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:07	4260	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:07	4260	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32469_gripper_27_5x2_30_trl_2c_dh_sup_60tpi__skinwall.jpg
2023-10-13	13:40:07	4260	[DEBUG]	Full name target: bcprisme/32469_gripper_27_5x2_30_trl_2c_dh_sup_60tpi__skinwall.jpg
2023-10-13	13:40:08	4260	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:08	4260	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32469_gripper_27_5x2_30_trl_2c_dh_sup_60tpi__skinwall.jpg'
2023-10-13	13:40:08	4260	[DEBUG]	Query for Media
2023-10-13	13:40:08	4260	[DEBUG]	Executed store
2023-10-13	13:40:08	4260	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32469_gripper_27_5x2_30_trl_2c_dh_sup_60tpi__skinwall.jpg',`file_url_thumb`='bcprisme/32469_gripper_27_5x2_30_trl_2c_dh_sup_60tpi__skinwall.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14523'
2023-10-13	13:40:08	4260	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:08	4260	[DEBUG]	Executed store
2023-10-13	13:40:08	4260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863752','14523','1')
2023-10-13	13:40:08	4260	[DEBUG]	Store product image relation
2023-10-13	13:40:08	4260	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:08	4260	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863752 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:08	4260	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:08	4260	[DEBUG]	Executed store
2023-10-13	13:40:08	4260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863752','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:08	4260	[DEBUG]	Checking manufacturer
2023-10-13	13:40:08	4260	[DEBUG]	Load a row
2023-10-13	13:40:08	4260	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:08	4260	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:08	4260	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:08	4260	[DEBUG]	Executed store
2023-10-13	13:40:08	4260	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:08	4260	[DEBUG]	Manufacturer exists
2023-10-13	13:40:08	4260	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:08	4260	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:08	4260	[DEBUG]	Executed store
2023-10-13	13:40:08	4260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863752','32')
2023-10-13	13:40:08	4260	[DEBUG]	Find the custom field ID
2023-10-13	13:40:08	4260	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:08	4260	[DEBUG]	No custom field ID found
2023-10-13	13:40:08	4260	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:08	4260	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:40:08	4260	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863752 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:08	4260	[DEBUG]	Store custom available field
2023-10-13	13:40:08	4260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863752,3,'54.7475',1)
2023-10-13	13:40:08	4260	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:08	4260	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:08	4260	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863752 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:08	4260	[DEBUG]	Store custom available field
2023-10-13	13:40:08	4260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863752,6,'choisir la taille',3)
2023-10-13	13:40:08	4260	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:08	4260	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:08	4260	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:08	4260	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:08	4260	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863752 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:08	4260	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:08	4260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863752,8,1)
2023-10-13	13:40:08	4260	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:08	4260	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863752\":[1863752,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863752
2023-10-13	13:40:08	4260	[DEBUG]	Checking category
2023-10-13	13:40:08	4260	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:08	4260	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863752
2023-10-13	13:40:08	4260	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:08	4260	[DEBUG]	Executed store
2023-10-13	13:40:08	4260	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863752','7410')
2023-10-13	13:40:08	4260	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:08	4260	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863752 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:08	4260	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:08	4260	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863752
2023-10-13	13:40:08	4261	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:08	4261	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:08	4261	[DEBUG]	Use field value for field taille
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:08	4261	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:08	4261	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:08	4261	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:08	4261	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:08	4261	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:08	4261	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:08	4261	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:08	4261	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:08	4261	[DEBUG]	Use field value for field published
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:08	4261	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field override
2023-10-13	13:40:08	4261	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:08	4261	[DEBUG]	Use field value for field slug
2023-10-13	13:40:08	4261	[DEBUG]	Process line 4261
2023-10-13	13:40:08	4261	[DEBUG]	Load a row
2023-10-13	13:40:08	4261	[DEBUG]	Processing item: 8435466215989
2023-10-13	13:40:08	4261	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:08	4261	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:08	4261	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6583_120'
2023-10-13	13:40:08	4261	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:08	4261	[DEBUG]	Processing product tax
2023-10-13	13:40:08	4261	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:08	4261	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:08	4261	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:08	4261	[DEBUG]	Query for Product
2023-10-13	13:40:08	4261	[DEBUG]	Executed store
2023-10-13	13:40:08	4261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863752','8435466215989','0','KG','M','','38','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:08	4261	[DEBUG]	No parent found
2023-10-13	13:40:08	4261	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863752 AND customfield_value = 'stockable'
2023-10-13	13:40:08	4261	[DEBUG]	Check product language entry
2023-10-13	13:40:08	4261	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863753
2023-10-13	13:40:08	4261	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:08	4261	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215989' AND `virtuemart_product_id` != 1863753
2023-10-13	13:40:08	4261	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:08	4261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863753, '8435466215989')
2023-10-13	13:40:08	4261	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:08	4261	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-27-5-x-2-30-trl-2c-dh-sup-60tpi-brown-brown-unitaire' AND `virtuemart_product_id` != 1863753
2023-10-13	13:40:08	4261	[DEBUG]	Query for ProductLang
2023-10-13	13:40:08	4261	[DEBUG]	Executed store
2023-10-13	13:40:08	4261	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU GRIPPER 27.5 X 2.30 TRL 2C DH SUP 60TPI  BROWN / Brown (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-27-5-x-2-30-trl-2c-dh-sup-60tpi-brown-brown-unitaire' WHERE `virtuemart_product_id` = '1863753'
2023-10-13	13:40:08	4261	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32469_gripper_27_5x2_30_trl_2c_dh_sup_60tpi__skinwall.jpg
2023-10-13	13:40:08	4261	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:08	4261	[DEBUG]	Process image file
2023-10-13	13:40:08	4261	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:08	4261	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:08	4261	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32469_gripper_27_5x2_30_trl_2c_dh_sup_60tpi__skinwall.jpg
2023-10-13	13:40:08	4261	[DEBUG]	Full name target: bcprisme/32469_gripper_27_5x2_30_trl_2c_dh_sup_60tpi__skinwall.jpg
2023-10-13	13:40:09	4261	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:09	4261	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32469_gripper_27_5x2_30_trl_2c_dh_sup_60tpi__skinwall.jpg'
2023-10-13	13:40:09	4261	[DEBUG]	Query for Media
2023-10-13	13:40:09	4261	[DEBUG]	Executed store
2023-10-13	13:40:09	4261	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32469_gripper_27_5x2_30_trl_2c_dh_sup_60tpi__skinwall.jpg',`file_url_thumb`='bcprisme/32469_gripper_27_5x2_30_trl_2c_dh_sup_60tpi__skinwall.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14523'
2023-10-13	13:40:09	4261	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:09	4261	[DEBUG]	Executed store
2023-10-13	13:40:09	4261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863753','14523','1')
2023-10-13	13:40:09	4261	[DEBUG]	Store product image relation
2023-10-13	13:40:09	4261	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:09	4261	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863753 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:09	4261	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:09	4261	[DEBUG]	Executed store
2023-10-13	13:40:09	4261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863753','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:09	4261	[DEBUG]	Checking manufacturer
2023-10-13	13:40:09	4261	[DEBUG]	Load a row
2023-10-13	13:40:09	4261	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:09	4261	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:09	4261	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:09	4261	[DEBUG]	Executed store
2023-10-13	13:40:09	4261	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:09	4261	[DEBUG]	Manufacturer exists
2023-10-13	13:40:09	4261	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:09	4261	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:09	4261	[DEBUG]	Executed store
2023-10-13	13:40:09	4261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863753','32')
2023-10-13	13:40:09	4261	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:09	4261	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:09	4261	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863753 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:09	4261	[DEBUG]	Store custom available field
2023-10-13	13:40:09	4261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863753,3,'',1)
2023-10-13	13:40:09	4261	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:09	4261	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:09	4261	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863753 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:09	4261	[DEBUG]	Store custom available field
2023-10-13	13:40:09	4261	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863753,6,'Unitaire',3)
2023-10-13	13:40:09	4261	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:09	4261	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:09	4261	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863752
2023-10-13	13:40:09	4261	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:09	4261	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863752\":[1863752,8,1,\"choisir la taille\"],\"1863753\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863752
2023-10-13	13:40:09	4261	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:09	4261	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863753
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:09	4262	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field taille
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:09	4262	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:09	4262	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:09	4262	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:09	4262	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:09	4262	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:09	4262	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field published
2023-10-13	13:40:09	4262	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:09	4262	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field override
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:09	4262	[DEBUG]	Use field value for field slug
2023-10-13	13:40:09	4262	[DEBUG]	Process line 4262
2023-10-13	13:40:09	4262	[DEBUG]	Load a row
2023-10-13	13:40:09	4262	[DEBUG]	Processing item: A_6776_1
2023-10-13	13:40:09	4262	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:09	4262	[DEBUG]	Processing product tax
2023-10-13	13:40:09	4262	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:09	4262	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:09	4262	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:09	4262	[DEBUG]	Query for Product
2023-10-13	13:40:09	4262	[DEBUG]	Executed store
2023-10-13	13:40:09	4262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6776_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:09	4262	[DEBUG]	Check product language entry
2023-10-13	13:40:09	4262	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863754
2023-10-13	13:40:09	4262	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:09	4262	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6776_1' AND `virtuemart_product_id` != 1863754
2023-10-13	13:40:09	4262	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:09	4262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863754, 'A_6776_1')
2023-10-13	13:40:09	4262	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:09	4262	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-super-moto-x-27-5x2-40-rigide-avec-bande-refechissante-noir' AND `virtuemart_product_id` != 1863754
2023-10-13	13:40:09	4262	[DEBUG]	Query for ProductLang
2023-10-13	13:40:09	4262	[DEBUG]	Executed store
2023-10-13	13:40:09	4262	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.73787',`product_name`='Schwalbe Pneu Super Moto-X 27.5x2.40 rigide avec bande réféchissante / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-super-moto-x-27-5x2-40-rigide-avec-bande-refechissante-noir' WHERE `virtuemart_product_id` = '1863754'
2023-10-13	13:40:09	4262	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33013_schwalbe_pneu_super_moto-x_27_5x2_40_rigide_avec_bande_refechissante.jpg
2023-10-13	13:40:09	4262	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:09	4262	[DEBUG]	Process image file
2023-10-13	13:40:09	4262	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:09	4262	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:09	4262	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33013_schwalbe_pneu_super_moto-x_27_5x2_40_rigide_avec_bande_refechissante.jpg
2023-10-13	13:40:09	4262	[DEBUG]	Full name target: bcprisme/33013_schwalbe_pneu_super_moto-x_27_5x2_40_rigide_avec_bande_refechissante.jpg
2023-10-13	13:40:10	4262	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:10	4262	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33013_schwalbe_pneu_super_moto-x_27_5x2_40_rigide_avec_bande_refechissante.jpg'
2023-10-13	13:40:10	4262	[DEBUG]	Query for Media
2023-10-13	13:40:10	4262	[DEBUG]	Executed store
2023-10-13	13:40:10	4262	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33013_schwalbe_pneu_super_moto-x_27_5x2_40_rigide_avec_bande_refechissante.jpg',`file_url_thumb`='bcprisme/33013_schwalbe_pneu_super_moto-x_27_5x2_40_rigide_avec_bande_refechissante.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15911'
2023-10-13	13:40:10	4262	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:10	4262	[DEBUG]	Executed store
2023-10-13	13:40:10	4262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863754','15911','1')
2023-10-13	13:40:10	4262	[DEBUG]	Store product image relation
2023-10-13	13:40:10	4262	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:10	4262	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863754 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:10	4262	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:10	4262	[DEBUG]	Executed store
2023-10-13	13:40:10	4262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863754','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:10	4262	[DEBUG]	Checking manufacturer
2023-10-13	13:40:10	4262	[DEBUG]	Load a row
2023-10-13	13:40:10	4262	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:10	4262	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:40:10	4262	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:10	4262	[DEBUG]	Executed store
2023-10-13	13:40:10	4262	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:40:10	4262	[DEBUG]	Manufacturer exists
2023-10-13	13:40:10	4262	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:40:10	4262	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:10	4262	[DEBUG]	Executed store
2023-10-13	13:40:10	4262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863754','77')
2023-10-13	13:40:10	4262	[DEBUG]	Find the custom field ID
2023-10-13	13:40:10	4262	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:10	4262	[DEBUG]	No custom field ID found
2023-10-13	13:40:10	4262	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:10	4262	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:40:10	4262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863754 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:10	4262	[DEBUG]	Store custom available field
2023-10-13	13:40:10	4262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863754,3,'0',1)
2023-10-13	13:40:10	4262	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:10	4262	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:10	4262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863754 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:10	4262	[DEBUG]	Store custom available field
2023-10-13	13:40:10	4262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863754,6,'choisir la taille',3)
2023-10-13	13:40:10	4262	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:10	4262	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:10	4262	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:10	4262	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:10	4262	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863754 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:10	4262	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:10	4262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863754,8,1)
2023-10-13	13:40:10	4262	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:10	4262	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863754\":[1863754,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863754
2023-10-13	13:40:10	4262	[DEBUG]	Checking category
2023-10-13	13:40:10	4262	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:10	4262	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863754
2023-10-13	13:40:10	4262	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:10	4262	[DEBUG]	Executed store
2023-10-13	13:40:10	4262	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863754','7410')
2023-10-13	13:40:10	4262	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:10	4262	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863754 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:10	4262	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:10	4262	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863754
2023-10-13	13:40:10	4263	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:10	4263	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:10	4263	[DEBUG]	Use field value for field taille
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:10	4263	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:10	4263	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:10	4263	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:10	4263	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:10	4263	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:10	4263	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:10	4263	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:10	4263	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:10	4263	[DEBUG]	Use field value for field published
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:10	4263	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field override
2023-10-13	13:40:10	4263	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:10	4263	[DEBUG]	Use field value for field slug
2023-10-13	13:40:10	4263	[DEBUG]	Process line 4263
2023-10-13	13:40:10	4263	[DEBUG]	Load a row
2023-10-13	13:40:10	4263	[DEBUG]	Processing item: 4026495857000
2023-10-13	13:40:10	4263	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:10	4263	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:10	4263	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6776_1'
2023-10-13	13:40:10	4263	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:10	4263	[DEBUG]	Processing product tax
2023-10-13	13:40:10	4263	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:10	4263	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:10	4263	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:10	4263	[DEBUG]	Query for Product
2023-10-13	13:40:10	4263	[DEBUG]	Executed store
2023-10-13	13:40:10	4263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863754','4026495857000','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:10	4263	[DEBUG]	No parent found
2023-10-13	13:40:10	4263	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863754 AND customfield_value = 'stockable'
2023-10-13	13:40:10	4263	[DEBUG]	Check product language entry
2023-10-13	13:40:10	4263	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863755
2023-10-13	13:40:10	4263	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:10	4263	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495857000' AND `virtuemart_product_id` != 1863755
2023-10-13	13:40:10	4263	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:10	4263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863755, '4026495857000')
2023-10-13	13:40:10	4263	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:10	4263	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-super-moto-x-27-5x2-40-rigide-avec-bande-refechissante-noir-unitaire' AND `virtuemart_product_id` != 1863755
2023-10-13	13:40:10	4263	[DEBUG]	Query for ProductLang
2023-10-13	13:40:10	4263	[DEBUG]	Executed store
2023-10-13	13:40:10	4263	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Pneu Super Moto-X 27.5x2.40 rigide avec bande réféchissante / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-super-moto-x-27-5x2-40-rigide-avec-bande-refechissante-noir-unitaire' WHERE `virtuemart_product_id` = '1863755'
2023-10-13	13:40:10	4263	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33013_schwalbe_pneu_super_moto-x_27_5x2_40_rigide_avec_bande_refechissante.jpg
2023-10-13	13:40:10	4263	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:10	4263	[DEBUG]	Process image file
2023-10-13	13:40:10	4263	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:10	4263	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:10	4263	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33013_schwalbe_pneu_super_moto-x_27_5x2_40_rigide_avec_bande_refechissante.jpg
2023-10-13	13:40:10	4263	[DEBUG]	Full name target: bcprisme/33013_schwalbe_pneu_super_moto-x_27_5x2_40_rigide_avec_bande_refechissante.jpg
2023-10-13	13:40:11	4263	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:11	4263	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33013_schwalbe_pneu_super_moto-x_27_5x2_40_rigide_avec_bande_refechissante.jpg'
2023-10-13	13:40:11	4263	[DEBUG]	Query for Media
2023-10-13	13:40:11	4263	[DEBUG]	Executed store
2023-10-13	13:40:11	4263	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33013_schwalbe_pneu_super_moto-x_27_5x2_40_rigide_avec_bande_refechissante.jpg',`file_url_thumb`='bcprisme/33013_schwalbe_pneu_super_moto-x_27_5x2_40_rigide_avec_bande_refechissante.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15911'
2023-10-13	13:40:11	4263	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:11	4263	[DEBUG]	Executed store
2023-10-13	13:40:11	4263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863755','15911','1')
2023-10-13	13:40:11	4263	[DEBUG]	Store product image relation
2023-10-13	13:40:11	4263	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:11	4263	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863755 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:11	4263	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:11	4263	[DEBUG]	Executed store
2023-10-13	13:40:11	4263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863755','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:11	4263	[DEBUG]	Checking manufacturer
2023-10-13	13:40:11	4263	[DEBUG]	Load a row
2023-10-13	13:40:11	4263	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:11	4263	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:40:11	4263	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:11	4263	[DEBUG]	Executed store
2023-10-13	13:40:11	4263	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:40:11	4263	[DEBUG]	Manufacturer exists
2023-10-13	13:40:11	4263	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:40:11	4263	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:11	4263	[DEBUG]	Executed store
2023-10-13	13:40:11	4263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863755','77')
2023-10-13	13:40:11	4263	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:11	4263	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:11	4263	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863755 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:11	4263	[DEBUG]	Store custom available field
2023-10-13	13:40:11	4263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863755,3,'',1)
2023-10-13	13:40:11	4263	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:11	4263	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:11	4263	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863755 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:11	4263	[DEBUG]	Store custom available field
2023-10-13	13:40:11	4263	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863755,6,'Unitaire',3)
2023-10-13	13:40:11	4263	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:11	4263	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:11	4263	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863754
2023-10-13	13:40:11	4263	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:11	4263	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863754\":[1863754,8,1,\"choisir la taille\"],\"1863755\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863754
2023-10-13	13:40:11	4263	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:11	4263	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863755
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:11	4264	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field taille
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:11	4264	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:11	4264	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:11	4264	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:11	4264	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:11	4264	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:11	4264	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field published
2023-10-13	13:40:11	4264	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:11	4264	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field override
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:11	4264	[DEBUG]	Use field value for field slug
2023-10-13	13:40:11	4264	[DEBUG]	Process line 4264
2023-10-13	13:40:11	4264	[DEBUG]	Load a row
2023-10-13	13:40:11	4264	[DEBUG]	Processing item: A_6813_1
2023-10-13	13:40:11	4264	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:11	4264	[DEBUG]	Processing product tax
2023-10-13	13:40:11	4264	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:11	4264	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:11	4264	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:11	4264	[DEBUG]	Query for Product
2023-10-13	13:40:11	4264	[DEBUG]	Executed store
2023-10-13	13:40:11	4264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6813_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:11	4264	[DEBUG]	Check product language entry
2023-10-13	13:40:11	4264	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863756
2023-10-13	13:40:11	4264	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:11	4264	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6813_1' AND `virtuemart_product_id` != 1863756
2023-10-13	13:40:11	4264	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:11	4264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863756, 'A_6813_1')
2023-10-13	13:40:11	4264	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:11	4264	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-singletrack-27-5-x-2-20-tlr-2c-xc-pro-shield-60-tpi-noir' AND `virtuemart_product_id` != 1863756
2023-10-13	13:40:11	4264	[DEBUG]	Query for ProductLang
2023-10-13	13:40:11	4264	[DEBUG]	Executed store
2023-10-13	13:40:11	4264	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : SIN275220TLR2C',`product_name`='MSC PNEU SINGLETRACK 27,5 X 2.20 TLR  2C XC PRO SHIELD 60 TPI  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-singletrack-27-5-x-2-20-tlr-2c-xc-pro-shield-60-tpi-noir' WHERE `virtuemart_product_id` = '1863756'
2023-10-13	13:40:11	4264	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33622_singletrack_27,5x2_20_tlr__2c_xc_pro_60_tpi_.jpg
2023-10-13	13:40:11	4264	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:11	4264	[DEBUG]	Process image file
2023-10-13	13:40:11	4264	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:11	4264	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:11	4264	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33622_singletrack_27,5x2_20_tlr__2c_xc_pro_60_tpi_.jpg
2023-10-13	13:40:11	4264	[DEBUG]	Full name target: bcprisme/33622_singletrack_27,5x2_20_tlr__2c_xc_pro_60_tpi_.jpg
2023-10-13	13:40:12	4264	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:12	4264	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33622_singletrack_27,5x2_20_tlr__2c_xc_pro_60_tpi_.jpg'
2023-10-13	13:40:12	4264	[DEBUG]	Query for Media
2023-10-13	13:40:12	4264	[DEBUG]	Executed store
2023-10-13	13:40:12	4264	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33622_singletrack_27,5x2_20_tlr__2c_xc_pro_60_tpi_.jpg',`file_url_thumb`='bcprisme/33622_singletrack_27,5x2_20_tlr__2c_xc_pro_60_tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15307'
2023-10-13	13:40:12	4264	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:12	4264	[DEBUG]	Executed store
2023-10-13	13:40:12	4264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863756','15307','1')
2023-10-13	13:40:12	4264	[DEBUG]	Store product image relation
2023-10-13	13:40:12	4264	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:12	4264	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863756 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:12	4264	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:12	4264	[DEBUG]	Executed store
2023-10-13	13:40:12	4264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863756','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:12	4264	[DEBUG]	Checking manufacturer
2023-10-13	13:40:12	4264	[DEBUG]	Load a row
2023-10-13	13:40:12	4264	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:12	4264	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:12	4264	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:12	4264	[DEBUG]	Executed store
2023-10-13	13:40:12	4264	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:12	4264	[DEBUG]	Manufacturer exists
2023-10-13	13:40:12	4264	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:12	4264	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:12	4264	[DEBUG]	Executed store
2023-10-13	13:40:12	4264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863756','32')
2023-10-13	13:40:12	4264	[DEBUG]	Find the custom field ID
2023-10-13	13:40:12	4264	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:12	4264	[DEBUG]	No custom field ID found
2023-10-13	13:40:12	4264	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:12	4264	[DEBUG]	Get existing row with customfield value 46.7697222222222
2023-10-13	13:40:12	4264	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863756 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:12	4264	[DEBUG]	Store custom available field
2023-10-13	13:40:12	4264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863756,3,'46.7697222222222',1)
2023-10-13	13:40:12	4264	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:12	4264	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:12	4264	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863756 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:12	4264	[DEBUG]	Store custom available field
2023-10-13	13:40:12	4264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863756,6,'choisir la taille',3)
2023-10-13	13:40:12	4264	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:12	4264	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:12	4264	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:12	4264	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:12	4264	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863756 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:12	4264	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:12	4264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863756,8,1)
2023-10-13	13:40:12	4264	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:12	4264	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863756\":[1863756,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863756
2023-10-13	13:40:12	4264	[DEBUG]	Checking category
2023-10-13	13:40:12	4264	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:12	4264	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863756
2023-10-13	13:40:12	4264	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:12	4264	[DEBUG]	Executed store
2023-10-13	13:40:12	4264	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863756','7410')
2023-10-13	13:40:12	4264	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:12	4264	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863756 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:12	4264	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:12	4264	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863756
2023-10-13	13:40:12	4265	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:12	4265	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:12	4265	[DEBUG]	Use field value for field taille
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:12	4265	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:12	4265	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:12	4265	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:12	4265	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:12	4265	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:12	4265	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:12	4265	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:12	4265	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:12	4265	[DEBUG]	Use field value for field published
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:12	4265	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field override
2023-10-13	13:40:12	4265	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:12	4265	[DEBUG]	Use field value for field slug
2023-10-13	13:40:12	4265	[DEBUG]	Process line 4265
2023-10-13	13:40:12	4265	[DEBUG]	Load a row
2023-10-13	13:40:12	4265	[DEBUG]	Processing item: 8435466216313
2023-10-13	13:40:12	4265	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:12	4265	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:12	4265	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6813_1'
2023-10-13	13:40:12	4265	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:12	4265	[DEBUG]	Processing product tax
2023-10-13	13:40:12	4265	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:12	4265	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:12	4265	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:12	4265	[DEBUG]	Query for Product
2023-10-13	13:40:12	4265	[DEBUG]	Executed store
2023-10-13	13:40:12	4265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863756','8435466216313','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:12	4265	[DEBUG]	No parent found
2023-10-13	13:40:12	4265	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863756 AND customfield_value = 'stockable'
2023-10-13	13:40:12	4265	[DEBUG]	Check product language entry
2023-10-13	13:40:12	4265	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863757
2023-10-13	13:40:12	4265	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:12	4265	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216313' AND `virtuemart_product_id` != 1863757
2023-10-13	13:40:12	4265	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:12	4265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863757, '8435466216313')
2023-10-13	13:40:12	4265	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:12	4265	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-singletrack-27-5-x-2-20-tlr-2c-xc-pro-shield-60-tpi-noir-unitaire' AND `virtuemart_product_id` != 1863757
2023-10-13	13:40:12	4265	[DEBUG]	Query for ProductLang
2023-10-13	13:40:12	4265	[DEBUG]	Executed store
2023-10-13	13:40:12	4265	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU SINGLETRACK 27,5 X 2.20 TLR  2C XC PRO SHIELD 60 TPI  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-singletrack-27-5-x-2-20-tlr-2c-xc-pro-shield-60-tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863757'
2023-10-13	13:40:12	4265	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33622_singletrack_27,5x2_20_tlr__2c_xc_pro_60_tpi_.jpg
2023-10-13	13:40:12	4265	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:12	4265	[DEBUG]	Process image file
2023-10-13	13:40:12	4265	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:12	4265	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:12	4265	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33622_singletrack_27,5x2_20_tlr__2c_xc_pro_60_tpi_.jpg
2023-10-13	13:40:12	4265	[DEBUG]	Full name target: bcprisme/33622_singletrack_27,5x2_20_tlr__2c_xc_pro_60_tpi_.jpg
2023-10-13	13:40:13	4265	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:13	4265	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33622_singletrack_27,5x2_20_tlr__2c_xc_pro_60_tpi_.jpg'
2023-10-13	13:40:13	4265	[DEBUG]	Query for Media
2023-10-13	13:40:13	4265	[DEBUG]	Executed store
2023-10-13	13:40:13	4265	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33622_singletrack_27,5x2_20_tlr__2c_xc_pro_60_tpi_.jpg',`file_url_thumb`='bcprisme/33622_singletrack_27,5x2_20_tlr__2c_xc_pro_60_tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15307'
2023-10-13	13:40:13	4265	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:13	4265	[DEBUG]	Executed store
2023-10-13	13:40:13	4265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863757','15307','1')
2023-10-13	13:40:13	4265	[DEBUG]	Store product image relation
2023-10-13	13:40:13	4265	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:13	4265	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863757 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:13	4265	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:13	4265	[DEBUG]	Executed store
2023-10-13	13:40:13	4265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863757','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:13	4265	[DEBUG]	Checking manufacturer
2023-10-13	13:40:13	4265	[DEBUG]	Load a row
2023-10-13	13:40:13	4265	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:13	4265	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:13	4265	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:13	4265	[DEBUG]	Executed store
2023-10-13	13:40:13	4265	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:13	4265	[DEBUG]	Manufacturer exists
2023-10-13	13:40:13	4265	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:13	4265	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:13	4265	[DEBUG]	Executed store
2023-10-13	13:40:13	4265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863757','32')
2023-10-13	13:40:13	4265	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:13	4265	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:13	4265	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863757 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:13	4265	[DEBUG]	Store custom available field
2023-10-13	13:40:13	4265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863757,3,'',1)
2023-10-13	13:40:13	4265	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:13	4265	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:13	4265	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863757 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:13	4265	[DEBUG]	Store custom available field
2023-10-13	13:40:13	4265	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863757,6,'Unitaire',3)
2023-10-13	13:40:13	4265	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:13	4265	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:13	4265	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863756
2023-10-13	13:40:13	4265	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:13	4265	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863756\":[1863756,8,1,\"choisir la taille\"],\"1863757\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863756
2023-10-13	13:40:13	4265	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:13	4265	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863757
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:13	4266	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field taille
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:13	4266	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:13	4266	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:13	4266	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:13	4266	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:13	4266	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:13	4266	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field published
2023-10-13	13:40:13	4266	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:13	4266	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field override
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:13	4266	[DEBUG]	Use field value for field slug
2023-10-13	13:40:13	4266	[DEBUG]	Process line 4266
2023-10-13	13:40:13	4266	[DEBUG]	Load a row
2023-10-13	13:40:13	4266	[DEBUG]	Processing item: A_6816_1
2023-10-13	13:40:13	4266	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:13	4266	[DEBUG]	Processing product tax
2023-10-13	13:40:13	4266	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:13	4266	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:13	4266	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:13	4266	[DEBUG]	Query for Product
2023-10-13	13:40:13	4266	[DEBUG]	Executed store
2023-10-13	13:40:13	4266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6816_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:13	4266	[DEBUG]	Check product language entry
2023-10-13	13:40:13	4266	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863758
2023-10-13	13:40:13	4266	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:13	4266	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6816_1' AND `virtuemart_product_id` != 1863758
2023-10-13	13:40:13	4266	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:13	4266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863758, 'A_6816_1')
2023-10-13	13:40:13	4266	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:13	4266	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-27-5x2-40-tlr-3c-dh-race-xtrem-shield-60tpi-noir' AND `virtuemart_product_id` != 1863758
2023-10-13	13:40:13	4266	[DEBUG]	Query for ProductLang
2023-10-13	13:40:13	4266	[DEBUG]	Executed store
2023-10-13	13:40:13	4266	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : HOT275240TLR3CX',`product_name`='MSC PNEU HOT SEAT 27.5X2.40 TLR 3C DH RACE XTREM SHIELD 60TPI  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-27-5x2-40-tlr-3c-dh-race-xtrem-shield-60tpi-noir' WHERE `virtuemart_product_id` = '1863758'
2023-10-13	13:40:13	4266	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33625_hot_seat_27_5x2_40_tlr_3c_dh_race_xtrem_shield_60tpi_.jpg
2023-10-13	13:40:13	4266	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:13	4266	[DEBUG]	Process image file
2023-10-13	13:40:13	4266	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:13	4266	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:13	4266	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33625_hot_seat_27_5x2_40_tlr_3c_dh_race_xtrem_shield_60tpi_.jpg
2023-10-13	13:40:13	4266	[DEBUG]	Full name target: bcprisme/33625_hot_seat_27_5x2_40_tlr_3c_dh_race_xtrem_shield_60tpi_.jpg
2023-10-13	13:40:14	4266	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:14	4266	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33625_hot_seat_27_5x2_40_tlr_3c_dh_race_xtrem_shield_60tpi_.jpg'
2023-10-13	13:40:14	4266	[DEBUG]	Query for Media
2023-10-13	13:40:14	4266	[DEBUG]	Executed store
2023-10-13	13:40:14	4266	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33625_hot_seat_27_5x2_40_tlr_3c_dh_race_xtrem_shield_60tpi_.jpg',`file_url_thumb`='bcprisme/33625_hot_seat_27_5x2_40_tlr_3c_dh_race_xtrem_shield_60tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15309'
2023-10-13	13:40:14	4266	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:14	4266	[DEBUG]	Executed store
2023-10-13	13:40:14	4266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863758','15309','1')
2023-10-13	13:40:14	4266	[DEBUG]	Store product image relation
2023-10-13	13:40:14	4266	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:14	4266	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863758 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:14	4266	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:14	4266	[DEBUG]	Executed store
2023-10-13	13:40:14	4266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863758','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:14	4266	[DEBUG]	Checking manufacturer
2023-10-13	13:40:14	4266	[DEBUG]	Load a row
2023-10-13	13:40:14	4266	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:14	4266	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:14	4266	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:14	4266	[DEBUG]	Executed store
2023-10-13	13:40:14	4266	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:14	4266	[DEBUG]	Manufacturer exists
2023-10-13	13:40:14	4266	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:14	4266	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:14	4266	[DEBUG]	Executed store
2023-10-13	13:40:14	4266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863758','32')
2023-10-13	13:40:14	4266	[DEBUG]	Find the custom field ID
2023-10-13	13:40:14	4266	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:14	4266	[DEBUG]	No custom field ID found
2023-10-13	13:40:14	4266	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:14	4266	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:40:14	4266	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863758 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:14	4266	[DEBUG]	Store custom available field
2023-10-13	13:40:14	4266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863758,3,'0',1)
2023-10-13	13:40:14	4266	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:14	4266	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:14	4266	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863758 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:14	4266	[DEBUG]	Store custom available field
2023-10-13	13:40:14	4266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863758,6,'choisir la taille',3)
2023-10-13	13:40:14	4266	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:14	4266	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:14	4266	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:14	4266	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:14	4266	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863758 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:14	4266	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:14	4266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863758,8,1)
2023-10-13	13:40:14	4266	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:14	4266	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863758\":[1863758,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863758
2023-10-13	13:40:14	4266	[DEBUG]	Checking category
2023-10-13	13:40:14	4266	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:14	4266	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863758
2023-10-13	13:40:14	4266	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:14	4266	[DEBUG]	Executed store
2023-10-13	13:40:14	4266	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863758','7410')
2023-10-13	13:40:14	4266	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:14	4266	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863758 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:14	4266	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:14	4266	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863758
2023-10-13	13:40:14	4267	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:14	4267	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:14	4267	[DEBUG]	Use field value for field taille
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:14	4267	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:14	4267	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:14	4267	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:14	4267	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:14	4267	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:14	4267	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:14	4267	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:14	4267	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:14	4267	[DEBUG]	Use field value for field published
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:14	4267	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field override
2023-10-13	13:40:14	4267	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:14	4267	[DEBUG]	Use field value for field slug
2023-10-13	13:40:14	4267	[DEBUG]	Process line 4267
2023-10-13	13:40:14	4267	[DEBUG]	Load a row
2023-10-13	13:40:14	4267	[DEBUG]	Processing item: 1000000109849
2023-10-13	13:40:14	4267	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:14	4267	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:14	4267	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6816_1'
2023-10-13	13:40:14	4267	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:14	4267	[DEBUG]	Processing product tax
2023-10-13	13:40:14	4267	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:14	4267	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:14	4267	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:14	4267	[DEBUG]	Query for Product
2023-10-13	13:40:14	4267	[DEBUG]	Executed store
2023-10-13	13:40:14	4267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863758','1000000109849','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:14	4267	[DEBUG]	No parent found
2023-10-13	13:40:14	4267	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863758 AND customfield_value = 'stockable'
2023-10-13	13:40:14	4267	[DEBUG]	Check product language entry
2023-10-13	13:40:14	4267	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863759
2023-10-13	13:40:14	4267	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:14	4267	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000109849' AND `virtuemart_product_id` != 1863759
2023-10-13	13:40:14	4267	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:14	4267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863759, '1000000109849')
2023-10-13	13:40:14	4267	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:14	4267	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-27-5x2-40-tlr-3c-dh-race-xtrem-shield-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863759
2023-10-13	13:40:14	4267	[DEBUG]	Query for ProductLang
2023-10-13	13:40:14	4267	[DEBUG]	Executed store
2023-10-13	13:40:14	4267	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU HOT SEAT 27.5X2.40 TLR 3C DH RACE XTREM SHIELD 60TPI  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-27-5x2-40-tlr-3c-dh-race-xtrem-shield-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863759'
2023-10-13	13:40:14	4267	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33625_hot_seat_27_5x2_40_tlr_3c_dh_race_xtrem_shield_60tpi_.jpg
2023-10-13	13:40:14	4267	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:14	4267	[DEBUG]	Process image file
2023-10-13	13:40:14	4267	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:14	4267	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:14	4267	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33625_hot_seat_27_5x2_40_tlr_3c_dh_race_xtrem_shield_60tpi_.jpg
2023-10-13	13:40:14	4267	[DEBUG]	Full name target: bcprisme/33625_hot_seat_27_5x2_40_tlr_3c_dh_race_xtrem_shield_60tpi_.jpg
2023-10-13	13:40:15	4267	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:15	4267	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33625_hot_seat_27_5x2_40_tlr_3c_dh_race_xtrem_shield_60tpi_.jpg'
2023-10-13	13:40:15	4267	[DEBUG]	Query for Media
2023-10-13	13:40:15	4267	[DEBUG]	Executed store
2023-10-13	13:40:15	4267	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33625_hot_seat_27_5x2_40_tlr_3c_dh_race_xtrem_shield_60tpi_.jpg',`file_url_thumb`='bcprisme/33625_hot_seat_27_5x2_40_tlr_3c_dh_race_xtrem_shield_60tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15309'
2023-10-13	13:40:15	4267	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:15	4267	[DEBUG]	Executed store
2023-10-13	13:40:15	4267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863759','15309','1')
2023-10-13	13:40:15	4267	[DEBUG]	Store product image relation
2023-10-13	13:40:15	4267	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:15	4267	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863759 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:15	4267	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:15	4267	[DEBUG]	Executed store
2023-10-13	13:40:15	4267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863759','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:15	4267	[DEBUG]	Checking manufacturer
2023-10-13	13:40:15	4267	[DEBUG]	Load a row
2023-10-13	13:40:15	4267	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:15	4267	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:15	4267	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:15	4267	[DEBUG]	Executed store
2023-10-13	13:40:15	4267	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:15	4267	[DEBUG]	Manufacturer exists
2023-10-13	13:40:15	4267	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:15	4267	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:15	4267	[DEBUG]	Executed store
2023-10-13	13:40:15	4267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863759','32')
2023-10-13	13:40:15	4267	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:15	4267	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:15	4267	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863759 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:15	4267	[DEBUG]	Store custom available field
2023-10-13	13:40:15	4267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863759,3,'',1)
2023-10-13	13:40:15	4267	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:15	4267	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:15	4267	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863759 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:15	4267	[DEBUG]	Store custom available field
2023-10-13	13:40:15	4267	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863759,6,'Unitaire',3)
2023-10-13	13:40:15	4267	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:15	4267	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:15	4267	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863758
2023-10-13	13:40:15	4267	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:15	4267	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863758\":[1863758,8,1,\"choisir la taille\"],\"1863759\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863758
2023-10-13	13:40:15	4267	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:15	4267	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863759
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:15	4268	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field taille
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:15	4268	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:15	4268	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:15	4268	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:15	4268	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:15	4268	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:15	4268	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field published
2023-10-13	13:40:15	4268	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:15	4268	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field override
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:15	4268	[DEBUG]	Use field value for field slug
2023-10-13	13:40:15	4268	[DEBUG]	Process line 4268
2023-10-13	13:40:15	4268	[DEBUG]	Load a row
2023-10-13	13:40:15	4268	[DEBUG]	Processing item: A_6817_1
2023-10-13	13:40:15	4268	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:15	4268	[DEBUG]	Processing product tax
2023-10-13	13:40:15	4268	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:15	4268	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:15	4268	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:15	4268	[DEBUG]	Query for Product
2023-10-13	13:40:15	4268	[DEBUG]	Executed store
2023-10-13	13:40:15	4268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6817_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:15	4268	[DEBUG]	Check product language entry
2023-10-13	13:40:15	4268	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863760
2023-10-13	13:40:15	4268	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:15	4268	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6817_1' AND `virtuemart_product_id` != 1863760
2023-10-13	13:40:15	4268	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:15	4268	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863760, 'A_6817_1')
2023-10-13	13:40:15	4268	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:15	4268	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-27-5x2-40-tlr-2c-dh-xtrem-shield-60tpi-noir' AND `virtuemart_product_id` != 1863760
2023-10-13	13:40:15	4268	[DEBUG]	Query for ProductLang
2023-10-13	13:40:15	4268	[DEBUG]	Executed store
2023-10-13	13:40:15	4268	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>COMPUESTO: 55A/50A<br><br>1120 g<br><br>ACCROCHE 5/5<br> VITESSE 3/5<br> HUMIDE 5/5<br> TRACTION 5/5<br> SEC 4/5<br> MOUILLÉ 5/5<br> BOUE 4/5<br> GOMME: 56a/52a<br> ETRTO: 60-584<br><br>Hot Seat, le trône de DH réservé au pilote le plus rapide peut être le vôtre. Notre tout-terrain\" est le meilleur choix pour rouler toute la saison sans avoir à penser à quel pneu rouler pour chaque type de terrain et de conditions.<br><br>Doté d\'un profil plus carré et de crampons latéraux robustes et surélevés, le Hot Seat est conçu pour maintenir une adhérence maximale et une haute prévisibilité du pilotage, quel que soit l\'état du sol. <br><br>L\'espacement et la hauteur des crampons centrales ont été conçus pour réduire considérablement la distance de freinage et même évacuer la boue lorsque la piste devient plus compliquée par la pluie. <br><br>Le pilotage est maintenant plus précis, plus rapide et plus sûre. Le hot Seat intègre la nouvelle carcasse XtremShield conçue pour le gravity qui permet de rouler à basse pression tout en maintenant la rigidité structurelle du pneu et en protégeant votre descente contre les terribles crevaisons.<br><br><br><br>E25:<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br> électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br> certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br> plus élevées, tels que le vélo électrique.<br><br><br> <br><br><br><br><br>   <br><br><br>?<br><br><br>?<br><br><br>?<br><br><br>?<br><br><br>?<br><br><br>Garanties<br><br><br>|<br><br><br><br><br>COMPUESTO: 55A/50A<br><br>1120 g<br><br>ACCROCHE 5/5<br> VITESSE 3/5<br> HUMIDE 5/5<br> TRACTION 5/5<br> SEC 4/5<br> MOUILLÉ 5/5<br> BOUE 4/5<br> GOMME: 56a/52a<br> ETRTO: 60-584<br><br>Hot Seat, le trône de DH réservé au pilote le plus rapide peut être le vôtre. Notre \"tout-terrain\" est le meilleur choix pour rouler toute la saison sans avoir à penser à quel pneu rouler pour chaque type de terrain et de conditions.<br><br>Doté d\'un profil plus carré et de crampons latéraux robustes et surélevés, le Hot Seat est conçu pour maintenir une adhérence maximale et une haute prévisibilité du pilotage, quel que soit l\'état du sol. <br><br>L\'espacement et la hauteur des crampons centrales ont été conçus pour réduire considérablement la distance de freinage et même évacuer la boue lorsque la piste devient plus compliquée par la pluie. <br><br>Le pilotage est maintenant plus précis, plus rapide et plus sûre. Le hot Seat intègre la nouvelle carcasse XtremShield conçue pour le gravity qui permet de rouler à basse pression tout en maintenant la rigidité structurelle du pneu et en protégeant votre descente contre les terribles crevaisons.<br><br><br><br>E25:<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br> électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br> certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br> plus élevées, tels que le vélo électrique.<br><br><br> <br><br><br><br><br>   <br><br><br>?<br><br><br>?<br><br><br>?<br><br><br>?<br><br><br>?<br><br><br>Garanties<br><br><br>|<br><br><br>Catalogue<br><br><br>|<br><br><br><br><br><br><br><br><br>N° art fourn : HOT275240TLR2CX\"',`product_name`='MSC PNEU HOT SEAT 27.5X2.40 TLR 2C DH XTREM SHIELD 60TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-27-5x2-40-tlr-2c-dh-xtrem-shield-60tpi-noir' WHERE `virtuemart_product_id` = '1863760'
2023-10-13	13:40:15	4269	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:15	4269	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:15	4269	[DEBUG]	Use field value for field taille
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:15	4269	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:15	4269	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:15	4269	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:15	4269	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:15	4269	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:15	4269	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:15	4269	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:15	4269	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:15	4269	[DEBUG]	Use field value for field published
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:15	4269	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field override
2023-10-13	13:40:15	4269	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:16	4269	[DEBUG]	Use field value for field slug
2023-10-13	13:40:16	4269	[DEBUG]	Process line 4269
2023-10-13	13:40:16	4269	[DEBUG]	Load a row
2023-10-13	13:40:16	4269	[DEBUG]	Processing item: 8435466216337
2023-10-13	13:40:16	4269	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:16	4269	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:16	4269	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6817_1'
2023-10-13	13:40:16	4269	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:16	4269	[DEBUG]	Processing product tax
2023-10-13	13:40:16	4269	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:16	4269	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:16	4269	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:16	4269	[DEBUG]	Query for Product
2023-10-13	13:40:16	4269	[DEBUG]	Executed store
2023-10-13	13:40:16	4269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863760','8435466216337','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:16	4269	[DEBUG]	No parent found
2023-10-13	13:40:16	4269	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863760 AND customfield_value = 'stockable'
2023-10-13	13:40:16	4269	[DEBUG]	Check product language entry
2023-10-13	13:40:16	4269	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863761
2023-10-13	13:40:16	4269	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:16	4269	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216337' AND `virtuemart_product_id` != 1863761
2023-10-13	13:40:16	4269	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:16	4269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863761, '8435466216337')
2023-10-13	13:40:16	4269	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:16	4269	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-27-5x2-40-tlr-2c-dh-xtrem-shield-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863761
2023-10-13	13:40:16	4269	[DEBUG]	Query for ProductLang
2023-10-13	13:40:16	4269	[DEBUG]	Executed store
2023-10-13	13:40:16	4269	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU HOT SEAT 27.5X2.40 TLR 2C DH XTREM SHIELD 60TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-27-5x2-40-tlr-2c-dh-xtrem-shield-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863761'
2023-10-13	13:40:16	4269	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33626_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60tpi.jpg
2023-10-13	13:40:16	4269	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:16	4269	[DEBUG]	Process image file
2023-10-13	13:40:16	4269	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:16	4269	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:16	4269	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33626_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60tpi.jpg
2023-10-13	13:40:16	4269	[DEBUG]	Full name target: bcprisme/33626_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60tpi.jpg
2023-10-13	13:40:17	4269	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:17	4269	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33626_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60tpi.jpg'
2023-10-13	13:40:17	4269	[DEBUG]	Query for Media
2023-10-13	13:40:17	4269	[DEBUG]	Executed store
2023-10-13	13:40:17	4269	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33626_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60tpi.jpg',`file_url_thumb`='bcprisme/33626_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60tpi.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15310'
2023-10-13	13:40:17	4269	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:17	4269	[DEBUG]	Executed store
2023-10-13	13:40:17	4269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863761','15310','1')
2023-10-13	13:40:17	4269	[DEBUG]	Store product image relation
2023-10-13	13:40:17	4269	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:17	4269	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863761 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:17	4269	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:17	4269	[DEBUG]	Executed store
2023-10-13	13:40:17	4269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863761','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:17	4269	[DEBUG]	Checking manufacturer
2023-10-13	13:40:17	4269	[DEBUG]	Load a row
2023-10-13	13:40:17	4269	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:17	4269	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:17	4269	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:17	4269	[DEBUG]	Executed store
2023-10-13	13:40:17	4269	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:17	4269	[DEBUG]	Manufacturer exists
2023-10-13	13:40:17	4269	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:17	4269	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:17	4269	[DEBUG]	Executed store
2023-10-13	13:40:17	4269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863761','32')
2023-10-13	13:40:17	4269	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:17	4269	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:17	4269	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863761 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:17	4269	[DEBUG]	Store custom available field
2023-10-13	13:40:17	4269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863761,3,'',1)
2023-10-13	13:40:17	4269	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:17	4269	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:17	4269	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863761 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:17	4269	[DEBUG]	Store custom available field
2023-10-13	13:40:17	4269	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863761,6,'Unitaire',3)
2023-10-13	13:40:17	4269	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:17	4269	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:17	4269	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863760
2023-10-13	13:40:17	4269	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:17	4269	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[]|clabels=0|options={\"1863761\":[]}|' WHERE `virtuemart_product_id` = 1863760
2023-10-13	13:40:17	4269	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:17	4269	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863761
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:17	4270	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field taille
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:17	4270	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:17	4270	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:17	4270	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:17	4270	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:17	4270	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:17	4270	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field published
2023-10-13	13:40:17	4270	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:17	4270	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field override
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:17	4270	[DEBUG]	Use field value for field slug
2023-10-13	13:40:17	4270	[DEBUG]	Process line 4270
2023-10-13	13:40:17	4270	[DEBUG]	Load a row
2023-10-13	13:40:17	4270	[DEBUG]	Processing item: A_6905_1
2023-10-13	13:40:17	4270	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:17	4270	[DEBUG]	Processing product tax
2023-10-13	13:40:17	4270	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:17	4270	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:17	4270	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:17	4270	[DEBUG]	Query for Product
2023-10-13	13:40:17	4270	[DEBUG]	Executed store
2023-10-13	13:40:17	4270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6905_1','0.5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:17	4270	[DEBUG]	Check product language entry
2023-10-13	13:40:17	4270	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863762
2023-10-13	13:40:17	4270	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:17	4270	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6905_1' AND `virtuemart_product_id` != 1863762
2023-10-13	13:40:17	4270	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:17	4270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863762, 'A_6905_1')
2023-10-13	13:40:17	4270	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:17	4270	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'maxxis-pneu-high-roller-ii-3c-exo-tr-27-5-x-2-60-120-tpi-max-terra-noir' AND `virtuemart_product_id` != 1863762
2023-10-13	13:40:17	4270	[DEBUG]	Query for ProductLang
2023-10-13	13:40:17	4270	[DEBUG]	Executed store
2023-10-13	13:40:17	4270	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : HighrollerIIexotrmax',`product_name`='MAXXIS PNEU High Roller II 3C EXO TR 27.5 x 2.60 120 TPI Max Terra / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='maxxis-pneu-high-roller-ii-3c-exo-tr-27-5-x-2-60-120-tpi-max-terra-noir' WHERE `virtuemart_product_id` = '1863762'
2023-10-13	13:40:17	4270	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34026_pneu_maxxis_high_roller_ii_3c_exo_tr_27_5_x_2_60_120_tpi_max_terra.png
2023-10-13	13:40:17	4270	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f0
2023-10-13	13:40:17	4270	[DEBUG]	Process image file
2023-10-13	13:40:17	4270	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f0
2023-10-13	13:40:17	4270	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:17	4270	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34026_pneu_maxxis_high_roller_ii_3c_exo_tr_27_5_x_2_60_120_tpi_max_terra.png
2023-10-13	13:40:17	4270	[DEBUG]	Full name target: bcprisme/34026_pneu_maxxis_high_roller_ii_3c_exo_tr_27_5_x_2_60_120_tpi_max_terra.png
2023-10-13	13:40:18	4270	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:18	4270	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34026_pneu_maxxis_high_roller_ii_3c_exo_tr_27_5_x_2_60_120_tpi_max_terra.png'
2023-10-13	13:40:18	4270	[DEBUG]	Query for Media
2023-10-13	13:40:18	4270	[DEBUG]	Executed store
2023-10-13	13:40:18	4270	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34026_pneu_maxxis_high_roller_ii_3c_exo_tr_27_5_x_2_60_120_tpi_max_terra.png',`file_url_thumb`='bcprisme/34026_pneu_maxxis_high_roller_ii_3c_exo_tr_27_5_x_2_60_120_tpi_max_terra.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15937'
2023-10-13	13:40:18	4270	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:18	4270	[DEBUG]	Executed store
2023-10-13	13:40:18	4270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863762','15937','1')
2023-10-13	13:40:18	4270	[DEBUG]	Store product image relation
2023-10-13	13:40:18	4270	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:18	4270	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863762 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:18	4270	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:18	4270	[DEBUG]	Executed store
2023-10-13	13:40:18	4270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863762','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:18	4270	[DEBUG]	Checking manufacturer
2023-10-13	13:40:18	4270	[DEBUG]	Load a row
2023-10-13	13:40:18	4270	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:18	4270	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:40:18	4270	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:18	4270	[DEBUG]	Executed store
2023-10-13	13:40:18	4270	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:40:18	4270	[DEBUG]	Manufacturer exists
2023-10-13	13:40:18	4270	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:40:18	4270	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:18	4270	[DEBUG]	Executed store
2023-10-13	13:40:18	4270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863762','20')
2023-10-13	13:40:18	4270	[DEBUG]	Find the custom field ID
2023-10-13	13:40:18	4270	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:18	4270	[DEBUG]	No custom field ID found
2023-10-13	13:40:18	4270	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:18	4270	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:40:18	4270	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863762 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:18	4270	[DEBUG]	Store custom available field
2023-10-13	13:40:18	4270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863762,3,'0',1)
2023-10-13	13:40:18	4270	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:18	4270	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:18	4270	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863762 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:18	4270	[DEBUG]	Store custom available field
2023-10-13	13:40:18	4270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863762,6,'choisir la taille',3)
2023-10-13	13:40:18	4270	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:18	4270	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:18	4270	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:18	4270	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:18	4270	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863762 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:18	4270	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:18	4270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863762,8,1)
2023-10-13	13:40:18	4270	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:18	4270	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863762\":[1863762,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863762
2023-10-13	13:40:18	4270	[DEBUG]	Checking category
2023-10-13	13:40:18	4270	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:18	4270	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863762
2023-10-13	13:40:18	4270	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:18	4270	[DEBUG]	Executed store
2023-10-13	13:40:18	4270	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863762','7410')
2023-10-13	13:40:18	4270	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:18	4270	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863762 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:18	4270	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:18	4270	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863762
2023-10-13	13:40:18	4271	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:18	4271	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:18	4271	[DEBUG]	Use field value for field taille
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:18	4271	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:18	4271	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:18	4271	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:18	4271	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:18	4271	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:18	4271	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:18	4271	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:18	4271	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:18	4271	[DEBUG]	Use field value for field published
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:18	4271	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field override
2023-10-13	13:40:18	4271	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:18	4271	[DEBUG]	Use field value for field slug
2023-10-13	13:40:18	4271	[DEBUG]	Process line 4271
2023-10-13	13:40:18	4271	[DEBUG]	Load a row
2023-10-13	13:40:18	4271	[DEBUG]	Processing item: 1000000111064
2023-10-13	13:40:18	4271	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:18	4271	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:18	4271	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6905_1'
2023-10-13	13:40:18	4271	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:18	4271	[DEBUG]	Processing product tax
2023-10-13	13:40:18	4271	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:18	4271	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:18	4271	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:18	4271	[DEBUG]	Query for Product
2023-10-13	13:40:18	4271	[DEBUG]	Executed store
2023-10-13	13:40:18	4271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863762','1000000111064','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:18	4271	[DEBUG]	No parent found
2023-10-13	13:40:18	4271	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863762 AND customfield_value = 'stockable'
2023-10-13	13:40:18	4271	[DEBUG]	Check product language entry
2023-10-13	13:40:18	4271	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863763
2023-10-13	13:40:18	4271	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:18	4271	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000111064' AND `virtuemart_product_id` != 1863763
2023-10-13	13:40:18	4271	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:18	4271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863763, '1000000111064')
2023-10-13	13:40:18	4271	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:18	4271	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'maxxis-pneu-high-roller-ii-3c-exo-tr-27-5-x-2-60-120-tpi-max-terra-noir-unitaire' AND `virtuemart_product_id` != 1863763
2023-10-13	13:40:18	4271	[DEBUG]	Query for ProductLang
2023-10-13	13:40:18	4271	[DEBUG]	Executed store
2023-10-13	13:40:18	4271	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAXXIS PNEU High Roller II 3C EXO TR 27.5 x 2.60 120 TPI Max Terra / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='maxxis-pneu-high-roller-ii-3c-exo-tr-27-5-x-2-60-120-tpi-max-terra-noir-unitaire' WHERE `virtuemart_product_id` = '1863763'
2023-10-13	13:40:18	4271	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34026_pneu_maxxis_high_roller_ii_3c_exo_tr_27_5_x_2_60_120_tpi_max_terra.png
2023-10-13	13:40:18	4271	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f0
2023-10-13	13:40:18	4271	[DEBUG]	Process image file
2023-10-13	13:40:18	4271	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001f0
2023-10-13	13:40:18	4271	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:18	4271	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34026_pneu_maxxis_high_roller_ii_3c_exo_tr_27_5_x_2_60_120_tpi_max_terra.png
2023-10-13	13:40:18	4271	[DEBUG]	Full name target: bcprisme/34026_pneu_maxxis_high_roller_ii_3c_exo_tr_27_5_x_2_60_120_tpi_max_terra.png
2023-10-13	13:40:19	4271	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:19	4271	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34026_pneu_maxxis_high_roller_ii_3c_exo_tr_27_5_x_2_60_120_tpi_max_terra.png'
2023-10-13	13:40:19	4271	[DEBUG]	Query for Media
2023-10-13	13:40:19	4271	[DEBUG]	Executed store
2023-10-13	13:40:19	4271	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34026_pneu_maxxis_high_roller_ii_3c_exo_tr_27_5_x_2_60_120_tpi_max_terra.png',`file_url_thumb`='bcprisme/34026_pneu_maxxis_high_roller_ii_3c_exo_tr_27_5_x_2_60_120_tpi_max_terra.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15937'
2023-10-13	13:40:19	4271	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:19	4271	[DEBUG]	Executed store
2023-10-13	13:40:19	4271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863763','15937','1')
2023-10-13	13:40:19	4271	[DEBUG]	Store product image relation
2023-10-13	13:40:19	4271	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:19	4271	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863763 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:19	4271	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:19	4271	[DEBUG]	Executed store
2023-10-13	13:40:19	4271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863763','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:19	4271	[DEBUG]	Checking manufacturer
2023-10-13	13:40:19	4271	[DEBUG]	Load a row
2023-10-13	13:40:19	4271	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:19	4271	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:40:19	4271	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:19	4271	[DEBUG]	Executed store
2023-10-13	13:40:19	4271	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:40:19	4271	[DEBUG]	Manufacturer exists
2023-10-13	13:40:19	4271	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:40:19	4271	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:19	4271	[DEBUG]	Executed store
2023-10-13	13:40:19	4271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863763','20')
2023-10-13	13:40:19	4271	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:19	4271	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:19	4271	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863763 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:19	4271	[DEBUG]	Store custom available field
2023-10-13	13:40:19	4271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863763,3,'',1)
2023-10-13	13:40:19	4271	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:19	4271	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:19	4271	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863763 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:19	4271	[DEBUG]	Store custom available field
2023-10-13	13:40:19	4271	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863763,6,'Unitaire',3)
2023-10-13	13:40:19	4271	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:19	4271	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:19	4271	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863762
2023-10-13	13:40:19	4271	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:19	4271	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863762\":[1863762,8,1,\"choisir la taille\"],\"1863763\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863762
2023-10-13	13:40:19	4271	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:19	4271	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863763
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:19	4272	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field taille
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:19	4272	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:19	4272	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:19	4272	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:19	4272	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:19	4272	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:19	4272	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field published
2023-10-13	13:40:19	4272	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:19	4272	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field override
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:19	4272	[DEBUG]	Use field value for field slug
2023-10-13	13:40:19	4272	[DEBUG]	Process line 4272
2023-10-13	13:40:19	4272	[DEBUG]	Load a row
2023-10-13	13:40:19	4272	[DEBUG]	Processing item: A_6998_392
2023-10-13	13:40:19	4272	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:19	4272	[DEBUG]	Processing product tax
2023-10-13	13:40:19	4272	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:19	4272	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:19	4272	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:19	4272	[DEBUG]	Query for Product
2023-10-13	13:40:19	4272	[DEBUG]	Executed store
2023-10-13	13:40:19	4272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6998_392','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:19	4272	[DEBUG]	Check product language entry
2023-10-13	13:40:19	4272	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863764
2023-10-13	13:40:19	4272	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:19	4272	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6998_392' AND `virtuemart_product_id` != 1863764
2023-10-13	13:40:19	4272	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:19	4272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863764, 'A_6998_392')
2023-10-13	13:40:19	4272	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:19	4272	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-singletrack-27-5-x-2-20-tlr-2c-xc-pro-shield-60-tpi-skinwall-skinwall' AND `virtuemart_product_id` != 1863764
2023-10-13	13:40:19	4272	[DEBUG]	Query for ProductLang
2023-10-13	13:40:19	4272	[DEBUG]	Executed store
2023-10-13	13:40:19	4272	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : SIN275220TLR2CT',`product_name`='MSC PNEU SINGLETRACK 27.5 X 2.20 TLR  2C XC PRO SHIELD 60 TPI SKINWALL  / SKINWALL',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-singletrack-27-5-x-2-20-tlr-2c-xc-pro-shield-60-tpi-skinwall-skinwall' WHERE `virtuemart_product_id` = '1863764'
2023-10-13	13:40:19	4272	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34137_singletrack_27_5x2_20_tlr__2c_xc_pro_60_tpi_skinwall_(copie).png
2023-10-13	13:40:19	4272	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000000e1
2023-10-13	13:40:19	4272	[DEBUG]	Process image file
2023-10-13	13:40:19	4272	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000000e1
2023-10-13	13:40:19	4272	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:19	4272	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34137_singletrack_27_5x2_20_tlr__2c_xc_pro_60_tpi_skinwall_(copie).png
2023-10-13	13:40:19	4272	[DEBUG]	Full name target: bcprisme/34137_singletrack_27_5x2_20_tlr__2c_xc_pro_60_tpi_skinwall_(copie).png
2023-10-13	13:40:20	4272	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:20	4272	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34137_singletrack_27_5x2_20_tlr__2c_xc_pro_60_tpi_skinwall_(copie).png'
2023-10-13	13:40:20	4272	[DEBUG]	Query for Media
2023-10-13	13:40:20	4272	[DEBUG]	Executed store
2023-10-13	13:40:20	4272	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34137_singletrack_27_5x2_20_tlr__2c_xc_pro_60_tpi_skinwall_(copie).png',`file_url_thumb`='bcprisme/34137_singletrack_27_5x2_20_tlr__2c_xc_pro_60_tpi_skinwall_(copie).png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16608'
2023-10-13	13:40:20	4272	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:20	4272	[DEBUG]	Executed store
2023-10-13	13:40:20	4272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863764','16608','1')
2023-10-13	13:40:20	4272	[DEBUG]	Store product image relation
2023-10-13	13:40:20	4272	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:20	4272	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863764 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:20	4272	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:20	4272	[DEBUG]	Executed store
2023-10-13	13:40:20	4272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863764','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:20	4272	[DEBUG]	Checking manufacturer
2023-10-13	13:40:20	4272	[DEBUG]	Load a row
2023-10-13	13:40:20	4272	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:20	4272	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:20	4272	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:20	4272	[DEBUG]	Executed store
2023-10-13	13:40:20	4272	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:20	4272	[DEBUG]	Manufacturer exists
2023-10-13	13:40:20	4272	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:20	4272	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:20	4272	[DEBUG]	Executed store
2023-10-13	13:40:20	4272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863764','32')
2023-10-13	13:40:20	4272	[DEBUG]	Find the custom field ID
2023-10-13	13:40:20	4272	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:20	4272	[DEBUG]	No custom field ID found
2023-10-13	13:40:20	4272	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:20	4272	[DEBUG]	Get existing row with customfield value 46.7697222222222
2023-10-13	13:40:20	4272	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863764 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:20	4272	[DEBUG]	Store custom available field
2023-10-13	13:40:20	4272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863764,3,'46.7697222222222',1)
2023-10-13	13:40:20	4272	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:20	4272	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:20	4272	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863764 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:20	4272	[DEBUG]	Store custom available field
2023-10-13	13:40:20	4272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863764,6,'choisir la taille',3)
2023-10-13	13:40:20	4272	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:20	4272	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:20	4272	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:20	4272	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:20	4272	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863764 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:20	4272	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:20	4272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863764,8,1)
2023-10-13	13:40:20	4272	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:20	4272	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863764\":[1863764,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863764
2023-10-13	13:40:20	4272	[DEBUG]	Checking category
2023-10-13	13:40:20	4272	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:20	4272	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863764
2023-10-13	13:40:20	4272	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:20	4272	[DEBUG]	Executed store
2023-10-13	13:40:20	4272	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863764','7410')
2023-10-13	13:40:20	4272	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:20	4272	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863764 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:20	4272	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:20	4272	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863764
2023-10-13	13:40:20	4273	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:20	4273	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:20	4273	[DEBUG]	Use field value for field taille
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:20	4273	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:20	4273	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:20	4273	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:20	4273	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:20	4273	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:20	4273	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:20	4273	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:20	4273	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:20	4273	[DEBUG]	Use field value for field published
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:20	4273	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field override
2023-10-13	13:40:20	4273	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:20	4273	[DEBUG]	Use field value for field slug
2023-10-13	13:40:20	4273	[DEBUG]	Process line 4273
2023-10-13	13:40:20	4273	[DEBUG]	Load a row
2023-10-13	13:40:20	4273	[DEBUG]	Processing item: 8435466216320
2023-10-13	13:40:20	4273	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:20	4273	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:20	4273	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6998_392'
2023-10-13	13:40:20	4273	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:20	4273	[DEBUG]	Processing product tax
2023-10-13	13:40:20	4273	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:20	4273	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:20	4273	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:20	4273	[DEBUG]	Query for Product
2023-10-13	13:40:20	4273	[DEBUG]	Executed store
2023-10-13	13:40:20	4273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863764','8435466216320','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:20	4273	[DEBUG]	No parent found
2023-10-13	13:40:20	4273	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863764 AND customfield_value = 'stockable'
2023-10-13	13:40:20	4273	[DEBUG]	Check product language entry
2023-10-13	13:40:20	4273	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863765
2023-10-13	13:40:20	4273	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:20	4273	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216320' AND `virtuemart_product_id` != 1863765
2023-10-13	13:40:20	4273	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:20	4273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863765, '8435466216320')
2023-10-13	13:40:20	4273	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:20	4273	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-singletrack-27-5-x-2-20-tlr-2c-xc-pro-shield-60-tpi-skinwall-skinwall-unitaire' AND `virtuemart_product_id` != 1863765
2023-10-13	13:40:20	4273	[DEBUG]	Query for ProductLang
2023-10-13	13:40:20	4273	[DEBUG]	Executed store
2023-10-13	13:40:20	4273	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU SINGLETRACK 27.5 X 2.20 TLR  2C XC PRO SHIELD 60 TPI SKINWALL  / SKINWALL (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-singletrack-27-5-x-2-20-tlr-2c-xc-pro-shield-60-tpi-skinwall-skinwall-unitaire' WHERE `virtuemart_product_id` = '1863765'
2023-10-13	13:40:20	4273	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34137_singletrack_27_5x2_20_tlr__2c_xc_pro_60_tpi_skinwall_(copie).png
2023-10-13	13:40:20	4273	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000000e1
2023-10-13	13:40:20	4273	[DEBUG]	Process image file
2023-10-13	13:40:20	4273	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000000e1
2023-10-13	13:40:20	4273	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:20	4273	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34137_singletrack_27_5x2_20_tlr__2c_xc_pro_60_tpi_skinwall_(copie).png
2023-10-13	13:40:20	4273	[DEBUG]	Full name target: bcprisme/34137_singletrack_27_5x2_20_tlr__2c_xc_pro_60_tpi_skinwall_(copie).png
2023-10-13	13:40:21	4273	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:21	4273	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34137_singletrack_27_5x2_20_tlr__2c_xc_pro_60_tpi_skinwall_(copie).png'
2023-10-13	13:40:21	4273	[DEBUG]	Query for Media
2023-10-13	13:40:21	4273	[DEBUG]	Executed store
2023-10-13	13:40:21	4273	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34137_singletrack_27_5x2_20_tlr__2c_xc_pro_60_tpi_skinwall_(copie).png',`file_url_thumb`='bcprisme/34137_singletrack_27_5x2_20_tlr__2c_xc_pro_60_tpi_skinwall_(copie).png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16608'
2023-10-13	13:40:21	4273	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:21	4273	[DEBUG]	Executed store
2023-10-13	13:40:21	4273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863765','16608','1')
2023-10-13	13:40:21	4273	[DEBUG]	Store product image relation
2023-10-13	13:40:21	4273	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:21	4273	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863765 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:21	4273	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:21	4273	[DEBUG]	Executed store
2023-10-13	13:40:21	4273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863765','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:21	4273	[DEBUG]	Checking manufacturer
2023-10-13	13:40:21	4273	[DEBUG]	Load a row
2023-10-13	13:40:21	4273	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:21	4273	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:21	4273	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:21	4273	[DEBUG]	Executed store
2023-10-13	13:40:21	4273	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:21	4273	[DEBUG]	Manufacturer exists
2023-10-13	13:40:21	4273	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:21	4273	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:21	4273	[DEBUG]	Executed store
2023-10-13	13:40:21	4273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863765','32')
2023-10-13	13:40:21	4273	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:21	4273	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:21	4273	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863765 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:21	4273	[DEBUG]	Store custom available field
2023-10-13	13:40:21	4273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863765,3,'',1)
2023-10-13	13:40:21	4273	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:21	4273	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:21	4273	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863765 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:21	4273	[DEBUG]	Store custom available field
2023-10-13	13:40:21	4273	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863765,6,'Unitaire',3)
2023-10-13	13:40:21	4273	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:21	4273	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:21	4273	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863764
2023-10-13	13:40:21	4273	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:21	4273	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863764\":[1863764,8,1,\"choisir la taille\"],\"1863765\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863764
2023-10-13	13:40:21	4273	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:21	4273	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863765
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:21	4274	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field taille
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:21	4274	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:21	4274	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:21	4274	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:21	4274	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:21	4274	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:21	4274	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field published
2023-10-13	13:40:21	4274	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:21	4274	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field override
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:21	4274	[DEBUG]	Use field value for field slug
2023-10-13	13:40:21	4274	[DEBUG]	Process line 4274
2023-10-13	13:40:21	4274	[DEBUG]	Load a row
2023-10-13	13:40:21	4274	[DEBUG]	Processing item: A_7042_171
2023-10-13	13:40:21	4274	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:21	4274	[DEBUG]	Processing product tax
2023-10-13	13:40:21	4274	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:21	4274	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:21	4274	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:21	4274	[DEBUG]	Query for Product
2023-10-13	13:40:21	4274	[DEBUG]	Executed store
2023-10-13	13:40:21	4274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7042_171','0.57','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:21	4274	[DEBUG]	Check product language entry
2023-10-13	13:40:21	4274	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863766
2023-10-13	13:40:21	4274	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:21	4274	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7042_171' AND `virtuemart_product_id` != 1863766
2023-10-13	13:40:21	4274	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:21	4274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863766, 'A_7042_171')
2023-10-13	13:40:21	4274	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:21	4274	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-27-5-x-2-10-tlr-2c-xc-epic-shield-skinwall-120-tpi-marron' AND `virtuemart_product_id` != 1863766
2023-10-13	13:40:21	4274	[DEBUG]	Query for ProductLang
2023-10-13	13:40:21	4274	[DEBUG]	Executed store
2023-10-13	13:40:21	4274	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='740 g<br><br>-Accroche: 3/5<br>-Traction: 4/5<br>-Vitesse: 5/5<br>-Sol optimal: sec/humide<br>-Gomme: 62a/60a<br>-ETRTO 54-584<br><br>Un pari imbattable en XC Marathon! Un véritable concentré de technologies pour un rendement optimal sur terrains secs et roulants.<br><br>La géométrie inclinée des crampons centraux, son profil bas et un espacement réduit favorisent un meilleur contact avec la superficie et garantissent un roulement extrêmement rapide. De plus cette disposition augmente un peu plus la résistance aux coupures et crevaisons. Les rainures horizontales sur les crampons de transition, offrent une traction excellente sur des tracés droits et lors des montés<br><br>Le crampon latéral, rectangulaire et taillé à 90º avec des rainures verticales et une entaille en escalier, assure une excellente accroche latérale à grande vitesse dans tous types de courbes.<br><br>N° art fourn : ROL275210TLR2CE',`product_name`='MSC PNEU ROLLER 27.5 X 2.10 TLR 2C XC EPIC SHIELD SKINWALL 120 TPI / Marron',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-27-5-x-2-10-tlr-2c-xc-epic-shield-skinwall-120-tpi-marron' WHERE `virtuemart_product_id` = '1863766'
2023-10-13	13:40:21	4274	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34181_roller_27_5_x_2_10_tlr_2c_xc_epic_shield_skinwall_120_tpi.png
2023-10-13	13:40:21	4274	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001b0
2023-10-13	13:40:21	4274	[DEBUG]	Process image file
2023-10-13	13:40:21	4274	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001b0
2023-10-13	13:40:21	4274	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:21	4274	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34181_roller_27_5_x_2_10_tlr_2c_xc_epic_shield_skinwall_120_tpi.png
2023-10-13	13:40:21	4274	[DEBUG]	Full name target: bcprisme/34181_roller_27_5_x_2_10_tlr_2c_xc_epic_shield_skinwall_120_tpi.png
2023-10-13	13:40:22	4274	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:22	4274	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34181_roller_27_5_x_2_10_tlr_2c_xc_epic_shield_skinwall_120_tpi.png'
2023-10-13	13:40:22	4274	[DEBUG]	Query for Media
2023-10-13	13:40:22	4274	[DEBUG]	Executed store
2023-10-13	13:40:22	4274	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34181_roller_27_5_x_2_10_tlr_2c_xc_epic_shield_skinwall_120_tpi.png',`file_url_thumb`='bcprisme/34181_roller_27_5_x_2_10_tlr_2c_xc_epic_shield_skinwall_120_tpi.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17641'
2023-10-13	13:40:22	4274	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:22	4274	[DEBUG]	Executed store
2023-10-13	13:40:22	4274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863766','17641','1')
2023-10-13	13:40:22	4274	[DEBUG]	Store product image relation
2023-10-13	13:40:22	4274	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:22	4274	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863766 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:22	4274	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:22	4274	[DEBUG]	Executed store
2023-10-13	13:40:22	4274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863766','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:22	4274	[DEBUG]	Checking manufacturer
2023-10-13	13:40:22	4274	[DEBUG]	Load a row
2023-10-13	13:40:22	4274	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:22	4274	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:22	4274	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:22	4274	[DEBUG]	Executed store
2023-10-13	13:40:22	4274	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:22	4274	[DEBUG]	Manufacturer exists
2023-10-13	13:40:22	4274	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:22	4274	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:22	4274	[DEBUG]	Executed store
2023-10-13	13:40:22	4274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863766','32')
2023-10-13	13:40:22	4274	[DEBUG]	Find the custom field ID
2023-10-13	13:40:22	4274	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:22	4274	[DEBUG]	No custom field ID found
2023-10-13	13:40:22	4274	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:22	4274	[DEBUG]	Get existing row with customfield value 42.7808333333333
2023-10-13	13:40:22	4274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863766 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:22	4274	[DEBUG]	Store custom available field
2023-10-13	13:40:22	4274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863766,3,'42.7808333333333',1)
2023-10-13	13:40:22	4274	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:22	4274	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:22	4274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863766 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:22	4274	[DEBUG]	Store custom available field
2023-10-13	13:40:22	4274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863766,6,'choisir la taille',3)
2023-10-13	13:40:22	4274	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:22	4274	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:22	4274	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:22	4274	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:22	4274	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863766 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:22	4274	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:22	4274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863766,8,1)
2023-10-13	13:40:22	4274	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:22	4274	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863766\":[1863766,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863766
2023-10-13	13:40:22	4274	[DEBUG]	Checking category
2023-10-13	13:40:22	4274	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:22	4274	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863766
2023-10-13	13:40:22	4274	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:22	4274	[DEBUG]	Executed store
2023-10-13	13:40:22	4274	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863766','7410')
2023-10-13	13:40:22	4274	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:22	4274	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863766 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:22	4274	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:22	4274	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863766
2023-10-13	13:40:22	4275	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:22	4275	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:22	4275	[DEBUG]	Use field value for field taille
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:22	4275	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:22	4275	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:22	4275	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:22	4275	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:22	4275	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:22	4275	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:22	4275	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:22	4275	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:22	4275	[DEBUG]	Use field value for field published
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:22	4275	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field override
2023-10-13	13:40:22	4275	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:22	4275	[DEBUG]	Use field value for field slug
2023-10-13	13:40:22	4275	[DEBUG]	Process line 4275
2023-10-13	13:40:22	4275	[DEBUG]	Load a row
2023-10-13	13:40:22	4275	[DEBUG]	Processing item: 8435466216412
2023-10-13	13:40:22	4275	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:22	4275	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:22	4275	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7042_171'
2023-10-13	13:40:22	4275	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:22	4275	[DEBUG]	Processing product tax
2023-10-13	13:40:22	4275	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:22	4275	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:22	4275	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:22	4275	[DEBUG]	Query for Product
2023-10-13	13:40:22	4275	[DEBUG]	Executed store
2023-10-13	13:40:22	4275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863766','8435466216412','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:22	4275	[DEBUG]	No parent found
2023-10-13	13:40:22	4275	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863766 AND customfield_value = 'stockable'
2023-10-13	13:40:22	4275	[DEBUG]	Check product language entry
2023-10-13	13:40:22	4275	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863767
2023-10-13	13:40:22	4275	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:22	4275	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216412' AND `virtuemart_product_id` != 1863767
2023-10-13	13:40:22	4275	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:22	4275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863767, '8435466216412')
2023-10-13	13:40:22	4275	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:22	4275	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-27-5-x-2-10-tlr-2c-xc-epic-shield-skinwall-120-tpi-marron-unitaire' AND `virtuemart_product_id` != 1863767
2023-10-13	13:40:22	4275	[DEBUG]	Query for ProductLang
2023-10-13	13:40:22	4275	[DEBUG]	Executed store
2023-10-13	13:40:22	4275	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROLLER 27.5 X 2.10 TLR 2C XC EPIC SHIELD SKINWALL 120 TPI / Marron (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-27-5-x-2-10-tlr-2c-xc-epic-shield-skinwall-120-tpi-marron-unitaire' WHERE `virtuemart_product_id` = '1863767'
2023-10-13	13:40:22	4275	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34181_roller_27_5_x_2_10_tlr_2c_xc_epic_shield_skinwall_120_tpi.png
2023-10-13	13:40:22	4275	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001b0
2023-10-13	13:40:22	4275	[DEBUG]	Process image file
2023-10-13	13:40:22	4275	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001b0
2023-10-13	13:40:22	4275	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:22	4275	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34181_roller_27_5_x_2_10_tlr_2c_xc_epic_shield_skinwall_120_tpi.png
2023-10-13	13:40:22	4275	[DEBUG]	Full name target: bcprisme/34181_roller_27_5_x_2_10_tlr_2c_xc_epic_shield_skinwall_120_tpi.png
2023-10-13	13:40:23	4275	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:23	4275	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34181_roller_27_5_x_2_10_tlr_2c_xc_epic_shield_skinwall_120_tpi.png'
2023-10-13	13:40:23	4275	[DEBUG]	Query for Media
2023-10-13	13:40:23	4275	[DEBUG]	Executed store
2023-10-13	13:40:23	4275	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34181_roller_27_5_x_2_10_tlr_2c_xc_epic_shield_skinwall_120_tpi.png',`file_url_thumb`='bcprisme/34181_roller_27_5_x_2_10_tlr_2c_xc_epic_shield_skinwall_120_tpi.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17641'
2023-10-13	13:40:23	4275	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:23	4275	[DEBUG]	Executed store
2023-10-13	13:40:23	4275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863767','17641','1')
2023-10-13	13:40:23	4275	[DEBUG]	Store product image relation
2023-10-13	13:40:23	4275	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:23	4275	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863767 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:23	4275	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:23	4275	[DEBUG]	Executed store
2023-10-13	13:40:23	4275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863767','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:23	4275	[DEBUG]	Checking manufacturer
2023-10-13	13:40:23	4275	[DEBUG]	Load a row
2023-10-13	13:40:23	4275	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:23	4275	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:23	4275	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:23	4275	[DEBUG]	Executed store
2023-10-13	13:40:23	4275	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:23	4275	[DEBUG]	Manufacturer exists
2023-10-13	13:40:23	4275	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:23	4275	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:23	4275	[DEBUG]	Executed store
2023-10-13	13:40:23	4275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863767','32')
2023-10-13	13:40:23	4275	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:23	4275	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:23	4275	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863767 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:23	4275	[DEBUG]	Store custom available field
2023-10-13	13:40:23	4275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863767,3,'',1)
2023-10-13	13:40:23	4275	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:23	4275	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:23	4275	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863767 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:23	4275	[DEBUG]	Store custom available field
2023-10-13	13:40:23	4275	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863767,6,'Unitaire',3)
2023-10-13	13:40:23	4275	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:23	4275	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:23	4275	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863766
2023-10-13	13:40:23	4275	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:23	4275	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863766\":[1863766,8,1,\"choisir la taille\"],\"1863767\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863766
2023-10-13	13:40:23	4275	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:23	4275	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863767
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:23	4276	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field taille
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:23	4276	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:23	4276	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:23	4276	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:23	4276	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:23	4276	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:23	4276	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field published
2023-10-13	13:40:23	4276	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:23	4276	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field override
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:23	4276	[DEBUG]	Use field value for field slug
2023-10-13	13:40:23	4276	[DEBUG]	Process line 4276
2023-10-13	13:40:23	4276	[DEBUG]	Load a row
2023-10-13	13:40:23	4276	[DEBUG]	Processing item: A_7043_171
2023-10-13	13:40:23	4276	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:23	4276	[DEBUG]	Processing product tax
2023-10-13	13:40:23	4276	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:23	4276	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:23	4276	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:23	4276	[DEBUG]	Query for Product
2023-10-13	13:40:23	4276	[DEBUG]	Executed store
2023-10-13	13:40:23	4276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7043_171','0.57','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:23	4276	[DEBUG]	Check product language entry
2023-10-13	13:40:23	4276	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863768
2023-10-13	13:40:23	4276	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:23	4276	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7043_171' AND `virtuemart_product_id` != 1863768
2023-10-13	13:40:23	4276	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:23	4276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863768, 'A_7043_171')
2023-10-13	13:40:23	4276	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:23	4276	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-27-5-x-2-20-tlr-2c-xc-epicshield-120-tpi-brown-marron' AND `virtuemart_product_id` != 1863768
2023-10-13	13:40:23	4276	[DEBUG]	Query for ProductLang
2023-10-13	13:40:23	4276	[DEBUG]	Executed store
2023-10-13	13:40:23	4276	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='740 g<br><br>-Accroche: 3/5<br>-Traction: 4/5<br>-Vitesse: 5/5<br>-Sol optimal: sec/humide<br>-Gomme: 62a/60a<br>-ETRTO 54-584<br><br>Un pari imbattable en XC Marathon! Un véritable concentré de technologies pour un rendement optimal sur terrains secs et roulants.<br><br>La géométrie inclinée des crampons centraux, son profil bas et un espacement réduit favorisent un meilleur contact avec la superficie et garantissent un roulement extrêmement rapide. De plus cette disposition augmente un peu plus la résistance aux coupures et crevaisons. Les rainures horizontales sur les crampons de transition, offrent une traction excellente sur des tracés droits et lors des montés<br><br>Le crampon latéral, rectangulaire et taillé à 90º avec des rainures verticales et une entaille en escalier, assure une excellente accroche latérale à grande vitesse dans tous types de courbes.<br><br>N° art fourn : TRA275220TLR2CE',`product_name`='MSC PNEU TRACTOR 27.5 X 2.20 TLR 2C XC EPICSHIELD 120 TPI BROWN / Marron',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-27-5-x-2-20-tlr-2c-xc-epicshield-120-tpi-brown-marron' WHERE `virtuemart_product_id` = '1863768'
2023-10-13	13:40:23	4276	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34182_tractor_27_5_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png
2023-10-13	13:40:23	4276	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001bd
2023-10-13	13:40:23	4276	[DEBUG]	Process image file
2023-10-13	13:40:23	4276	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001bd
2023-10-13	13:40:23	4276	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:23	4276	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34182_tractor_27_5_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png
2023-10-13	13:40:23	4276	[DEBUG]	Full name target: bcprisme/34182_tractor_27_5_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png
2023-10-13	13:40:24	4276	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:24	4276	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34182_tractor_27_5_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png'
2023-10-13	13:40:24	4276	[DEBUG]	Query for Media
2023-10-13	13:40:24	4276	[DEBUG]	Executed store
2023-10-13	13:40:24	4276	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34182_tractor_27_5_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png',`file_url_thumb`='bcprisme/34182_tractor_27_5_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17642'
2023-10-13	13:40:24	4276	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:24	4276	[DEBUG]	Executed store
2023-10-13	13:40:24	4276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863768','17642','1')
2023-10-13	13:40:24	4276	[DEBUG]	Store product image relation
2023-10-13	13:40:24	4276	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:24	4276	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863768 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:24	4276	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:24	4276	[DEBUG]	Executed store
2023-10-13	13:40:24	4276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863768','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:24	4276	[DEBUG]	Checking manufacturer
2023-10-13	13:40:24	4276	[DEBUG]	Load a row
2023-10-13	13:40:24	4276	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:24	4276	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:24	4276	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:24	4276	[DEBUG]	Executed store
2023-10-13	13:40:24	4276	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:24	4276	[DEBUG]	Manufacturer exists
2023-10-13	13:40:24	4276	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:24	4276	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:24	4276	[DEBUG]	Executed store
2023-10-13	13:40:24	4276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863768','32')
2023-10-13	13:40:24	4276	[DEBUG]	Find the custom field ID
2023-10-13	13:40:24	4276	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:24	4276	[DEBUG]	No custom field ID found
2023-10-13	13:40:24	4276	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:24	4276	[DEBUG]	Get existing row with customfield value 42.7808333333333
2023-10-13	13:40:24	4276	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863768 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:24	4276	[DEBUG]	Store custom available field
2023-10-13	13:40:24	4276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863768,3,'42.7808333333333',1)
2023-10-13	13:40:24	4276	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:24	4276	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:24	4276	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863768 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:24	4276	[DEBUG]	Store custom available field
2023-10-13	13:40:24	4276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863768,6,'choisir la taille',3)
2023-10-13	13:40:24	4276	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:24	4276	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:24	4276	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:24	4276	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:24	4276	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863768 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:24	4276	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:24	4276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863768,8,1)
2023-10-13	13:40:24	4276	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:24	4276	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863768\":[1863768,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863768
2023-10-13	13:40:24	4276	[DEBUG]	Checking category
2023-10-13	13:40:24	4276	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:24	4276	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863768
2023-10-13	13:40:24	4276	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:24	4276	[DEBUG]	Executed store
2023-10-13	13:40:24	4276	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863768','7410')
2023-10-13	13:40:24	4276	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:24	4276	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863768 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:24	4276	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:24	4276	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863768
2023-10-13	13:40:24	4277	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:24	4277	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:24	4277	[DEBUG]	Use field value for field taille
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:24	4277	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:24	4277	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:24	4277	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:24	4277	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:24	4277	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:24	4277	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:24	4277	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:24	4277	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:24	4277	[DEBUG]	Use field value for field published
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:24	4277	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field override
2023-10-13	13:40:24	4277	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:24	4277	[DEBUG]	Use field value for field slug
2023-10-13	13:40:24	4277	[DEBUG]	Process line 4277
2023-10-13	13:40:24	4277	[DEBUG]	Load a row
2023-10-13	13:40:24	4277	[DEBUG]	Processing item: 8435466216429
2023-10-13	13:40:24	4277	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:24	4277	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:24	4277	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7043_171'
2023-10-13	13:40:24	4277	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:24	4277	[DEBUG]	Processing product tax
2023-10-13	13:40:24	4277	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:24	4277	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:24	4277	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:24	4277	[DEBUG]	Query for Product
2023-10-13	13:40:24	4277	[DEBUG]	Executed store
2023-10-13	13:40:24	4277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863768','8435466216429','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:24	4277	[DEBUG]	No parent found
2023-10-13	13:40:24	4277	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863768 AND customfield_value = 'stockable'
2023-10-13	13:40:24	4277	[DEBUG]	Check product language entry
2023-10-13	13:40:24	4277	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863769
2023-10-13	13:40:24	4277	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:24	4277	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216429' AND `virtuemart_product_id` != 1863769
2023-10-13	13:40:24	4277	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:24	4277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863769, '8435466216429')
2023-10-13	13:40:24	4277	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:24	4277	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-27-5-x-2-20-tlr-2c-xc-epicshield-120-tpi-brown-marron-unitaire' AND `virtuemart_product_id` != 1863769
2023-10-13	13:40:24	4277	[DEBUG]	Query for ProductLang
2023-10-13	13:40:24	4277	[DEBUG]	Executed store
2023-10-13	13:40:24	4277	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU TRACTOR 27.5 X 2.20 TLR 2C XC EPICSHIELD 120 TPI BROWN / Marron (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-27-5-x-2-20-tlr-2c-xc-epicshield-120-tpi-brown-marron-unitaire' WHERE `virtuemart_product_id` = '1863769'
2023-10-13	13:40:24	4277	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34182_tractor_27_5_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png
2023-10-13	13:40:24	4277	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001bd
2023-10-13	13:40:24	4277	[DEBUG]	Process image file
2023-10-13	13:40:24	4277	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001bd
2023-10-13	13:40:24	4277	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:24	4277	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34182_tractor_27_5_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png
2023-10-13	13:40:24	4277	[DEBUG]	Full name target: bcprisme/34182_tractor_27_5_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png
2023-10-13	13:40:25	4277	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:25	4277	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34182_tractor_27_5_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png'
2023-10-13	13:40:25	4277	[DEBUG]	Query for Media
2023-10-13	13:40:25	4277	[DEBUG]	Executed store
2023-10-13	13:40:25	4277	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/34182_tractor_27_5_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png',`file_url_thumb`='bcprisme/34182_tractor_27_5_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '17642'
2023-10-13	13:40:25	4277	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:25	4277	[DEBUG]	Executed store
2023-10-13	13:40:25	4277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863769','17642','1')
2023-10-13	13:40:25	4277	[DEBUG]	Store product image relation
2023-10-13	13:40:25	4277	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:25	4277	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863769 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:25	4277	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:25	4277	[DEBUG]	Executed store
2023-10-13	13:40:25	4277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863769','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:25	4277	[DEBUG]	Checking manufacturer
2023-10-13	13:40:25	4277	[DEBUG]	Load a row
2023-10-13	13:40:25	4277	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:25	4277	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:25	4277	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:25	4277	[DEBUG]	Executed store
2023-10-13	13:40:25	4277	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:25	4277	[DEBUG]	Manufacturer exists
2023-10-13	13:40:25	4277	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:25	4277	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:25	4277	[DEBUG]	Executed store
2023-10-13	13:40:25	4277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863769','32')
2023-10-13	13:40:25	4277	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:25	4277	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:25	4277	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863769 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:25	4277	[DEBUG]	Store custom available field
2023-10-13	13:40:25	4277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863769,3,'',1)
2023-10-13	13:40:25	4277	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:25	4277	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:25	4277	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863769 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:25	4277	[DEBUG]	Store custom available field
2023-10-13	13:40:25	4277	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863769,6,'Unitaire',3)
2023-10-13	13:40:25	4277	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:25	4277	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:25	4277	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863768
2023-10-13	13:40:25	4277	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:25	4277	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863768\":[1863768,8,1,\"choisir la taille\"],\"1863769\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863768
2023-10-13	13:40:25	4277	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:25	4277	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863769
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:25	4278	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field taille
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:25	4278	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:25	4278	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:25	4278	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:25	4278	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:25	4278	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:25	4278	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:25	4278	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field published
2023-10-13	13:40:25	4278	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:25	4278	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field override
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:25	4278	[DEBUG]	Use field value for field slug
2023-10-13	13:40:25	4278	[DEBUG]	Process line 4278
2023-10-13	13:40:25	4278	[DEBUG]	Load a row
2023-10-13	13:40:25	4278	[DEBUG]	Processing item: A_7129_1
2023-10-13	13:40:25	4278	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:25	4278	[DEBUG]	Processing product tax
2023-10-13	13:40:25	4278	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:25	4278	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:25	4278	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:25	4278	[DEBUG]	Query for Product
2023-10-13	13:40:25	4278	[DEBUG]	Executed store
2023-10-13	13:40:25	4278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7129_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:25	4278	[DEBUG]	Check product language entry
2023-10-13	13:40:25	4278	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863770
2023-10-13	13:40:25	4278	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:25	4278	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7129_1' AND `virtuemart_product_id` != 1863770
2023-10-13	13:40:25	4278	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:25	4278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863770, 'A_7129_1')
2023-10-13	13:40:25	4278	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:25	4278	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-smart-sam-26x2-25-performance-wire-57-559-hs-476-addix-copie-noir' AND `virtuemart_product_id` != 1863770
2023-10-13	13:40:25	4278	[DEBUG]	Query for ProductLang
2023-10-13	13:40:25	4278	[DEBUG]	Executed store
2023-10-13	13:40:25	4278	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.399',`product_name`='SCHWALBE PNEU SMART SAM 26X2.25 Performance, wire 57-559 HS 476 Addix (copie) / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-smart-sam-26x2-25-performance-wire-57-559-hs-476-addix-copie-noir' WHERE `virtuemart_product_id` = '1863770'
2023-10-13	13:40:25	4278	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34284_schwalbe_smart_sam_26_x_2_25_performance,_wire_57-559_hs_476_addix_(copie).jpg
2023-10-13	13:40:25	4278	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:40:25	4278	[DEBUG]	Process image file
2023-10-13	13:40:25	4278	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:40:25	4278	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:25	4278	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34284_schwalbe_smart_sam_26_x_2_25_performance,_wire_57-559_hs_476_addix_(copie).jpg
2023-10-13	13:40:25	4278	[DEBUG]	Full name target: bcprisme/34284_schwalbe_smart_sam_26_x_2_25_performance,_wire_57-559_hs_476_addix_(copie).jpg
2023-10-13	13:40:26	4278	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:26	4278	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34284_schwalbe_smart_sam_26_x_2_25_performance,_wire_57-559_hs_476_addix_(copie).jpg'
2023-10-13	13:40:26	4278	[DEBUG]	Query for Media
2023-10-13	13:40:26	4278	[DEBUG]	Executed store
2023-10-13	13:40:26	4278	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34284_schwalbe_smart_sam_26_x_2_25_performance,_wire_57-559_hs_476_addix_(copie).jpg',`file_url_thumb`='bcprisme/34284_schwalbe_smart_sam_26_x_2_25_performance,_wire_57-559_hs_476_addix_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382013'
2023-10-13	13:40:26	4278	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:26	4278	[DEBUG]	Executed store
2023-10-13	13:40:26	4278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863770','382013','1')
2023-10-13	13:40:26	4278	[DEBUG]	Store product image relation
2023-10-13	13:40:26	4278	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:26	4278	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863770 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:26	4278	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:26	4278	[DEBUG]	Executed store
2023-10-13	13:40:26	4278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863770','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:26	4278	[DEBUG]	Checking manufacturer
2023-10-13	13:40:26	4278	[DEBUG]	Load a row
2023-10-13	13:40:26	4278	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:26	4278	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:26	4278	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:26	4278	[DEBUG]	Executed store
2023-10-13	13:40:26	4278	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:26	4278	[DEBUG]	Manufacturer exists
2023-10-13	13:40:26	4278	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:26	4278	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:26	4278	[DEBUG]	Executed store
2023-10-13	13:40:26	4278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863770','25')
2023-10-13	13:40:26	4278	[DEBUG]	Find the custom field ID
2023-10-13	13:40:26	4278	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:26	4278	[DEBUG]	No custom field ID found
2023-10-13	13:40:26	4278	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:26	4278	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:40:26	4278	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863770 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:26	4278	[DEBUG]	Store custom available field
2023-10-13	13:40:26	4278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863770,3,'0',1)
2023-10-13	13:40:26	4278	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:26	4278	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:26	4278	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863770 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:26	4278	[DEBUG]	Store custom available field
2023-10-13	13:40:26	4278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863770,6,'choisir la taille',3)
2023-10-13	13:40:26	4278	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:26	4278	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:26	4278	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:26	4278	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:26	4278	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863770 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:26	4278	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:26	4278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863770,8,1)
2023-10-13	13:40:26	4278	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:26	4278	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863770\":[1863770,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863770
2023-10-13	13:40:26	4278	[DEBUG]	Checking category
2023-10-13	13:40:26	4278	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:26	4278	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863770
2023-10-13	13:40:26	4278	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:26	4278	[DEBUG]	Executed store
2023-10-13	13:40:26	4278	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863770','7410')
2023-10-13	13:40:26	4278	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:26	4278	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863770 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:26	4278	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:26	4278	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863770
2023-10-13	13:40:26	4279	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:26	4279	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:26	4279	[DEBUG]	Use field value for field taille
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:26	4279	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:26	4279	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:26	4279	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:26	4279	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:26	4279	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:26	4279	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:26	4279	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:26	4279	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:26	4279	[DEBUG]	Use field value for field published
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:26	4279	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field override
2023-10-13	13:40:26	4279	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:26	4279	[DEBUG]	Use field value for field slug
2023-10-13	13:40:26	4279	[DEBUG]	Process line 4279
2023-10-13	13:40:26	4279	[DEBUG]	Load a row
2023-10-13	13:40:26	4279	[DEBUG]	Processing item: 4026495820042
2023-10-13	13:40:26	4279	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:26	4279	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:26	4279	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7129_1'
2023-10-13	13:40:26	4279	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:26	4279	[DEBUG]	Processing product tax
2023-10-13	13:40:26	4279	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:26	4279	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:26	4279	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:26	4279	[DEBUG]	Query for Product
2023-10-13	13:40:26	4279	[DEBUG]	Executed store
2023-10-13	13:40:26	4279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863770','4026495820042','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:26	4279	[DEBUG]	No parent found
2023-10-13	13:40:26	4279	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863770 AND customfield_value = 'stockable'
2023-10-13	13:40:26	4279	[DEBUG]	Check product language entry
2023-10-13	13:40:26	4279	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863771
2023-10-13	13:40:26	4279	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:26	4279	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495820042' AND `virtuemart_product_id` != 1863771
2023-10-13	13:40:26	4279	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:26	4279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863771, '4026495820042')
2023-10-13	13:40:26	4279	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:26	4279	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-smart-sam-26x2-25-performance-wire-57-559-hs-476-addix-copie-noir-unitaire' AND `virtuemart_product_id` != 1863771
2023-10-13	13:40:26	4279	[DEBUG]	Query for ProductLang
2023-10-13	13:40:26	4279	[DEBUG]	Executed store
2023-10-13	13:40:26	4279	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU SMART SAM 26X2.25 Performance, wire 57-559 HS 476 Addix (copie) / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-smart-sam-26x2-25-performance-wire-57-559-hs-476-addix-copie-noir-unitaire' WHERE `virtuemart_product_id` = '1863771'
2023-10-13	13:40:26	4279	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34284_schwalbe_smart_sam_26_x_2_25_performance,_wire_57-559_hs_476_addix_(copie).jpg
2023-10-13	13:40:26	4279	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:40:26	4279	[DEBUG]	Process image file
2023-10-13	13:40:26	4279	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:40:26	4279	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:26	4279	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34284_schwalbe_smart_sam_26_x_2_25_performance,_wire_57-559_hs_476_addix_(copie).jpg
2023-10-13	13:40:26	4279	[DEBUG]	Full name target: bcprisme/34284_schwalbe_smart_sam_26_x_2_25_performance,_wire_57-559_hs_476_addix_(copie).jpg
2023-10-13	13:40:27	4279	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:27	4279	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34284_schwalbe_smart_sam_26_x_2_25_performance,_wire_57-559_hs_476_addix_(copie).jpg'
2023-10-13	13:40:27	4279	[DEBUG]	Query for Media
2023-10-13	13:40:27	4279	[DEBUG]	Executed store
2023-10-13	13:40:27	4279	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34284_schwalbe_smart_sam_26_x_2_25_performance,_wire_57-559_hs_476_addix_(copie).jpg',`file_url_thumb`='bcprisme/34284_schwalbe_smart_sam_26_x_2_25_performance,_wire_57-559_hs_476_addix_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382013'
2023-10-13	13:40:27	4279	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:27	4279	[DEBUG]	Executed store
2023-10-13	13:40:27	4279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863771','382013','1')
2023-10-13	13:40:27	4279	[DEBUG]	Store product image relation
2023-10-13	13:40:27	4279	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:27	4279	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863771 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:27	4279	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:27	4279	[DEBUG]	Executed store
2023-10-13	13:40:27	4279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863771','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:27	4279	[DEBUG]	Checking manufacturer
2023-10-13	13:40:27	4279	[DEBUG]	Load a row
2023-10-13	13:40:27	4279	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:27	4279	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:27	4279	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:27	4279	[DEBUG]	Executed store
2023-10-13	13:40:27	4279	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:27	4279	[DEBUG]	Manufacturer exists
2023-10-13	13:40:27	4279	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:27	4279	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:27	4279	[DEBUG]	Executed store
2023-10-13	13:40:27	4279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863771','25')
2023-10-13	13:40:27	4279	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:27	4279	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:27	4279	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863771 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:27	4279	[DEBUG]	Store custom available field
2023-10-13	13:40:27	4279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863771,3,'',1)
2023-10-13	13:40:27	4279	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:27	4279	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:27	4279	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863771 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:27	4279	[DEBUG]	Store custom available field
2023-10-13	13:40:27	4279	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863771,6,'Unitaire',3)
2023-10-13	13:40:27	4279	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:27	4279	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:27	4279	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863770
2023-10-13	13:40:27	4279	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:27	4279	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863770\":[1863770,8,1,\"choisir la taille\"],\"1863771\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863770
2023-10-13	13:40:27	4279	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:27	4279	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863771
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:27	4280	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field taille
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:27	4280	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:27	4280	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:27	4280	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:27	4280	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:27	4280	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:27	4280	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field published
2023-10-13	13:40:27	4280	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:27	4280	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field override
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:27	4280	[DEBUG]	Use field value for field slug
2023-10-13	13:40:27	4280	[DEBUG]	Process line 4280
2023-10-13	13:40:27	4280	[DEBUG]	Load a row
2023-10-13	13:40:27	4280	[DEBUG]	Processing item: A_7249_1
2023-10-13	13:40:27	4280	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:27	4280	[DEBUG]	Processing product tax
2023-10-13	13:40:27	4280	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:27	4280	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:27	4280	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:27	4280	[DEBUG]	Query for Product
2023-10-13	13:40:27	4280	[DEBUG]	Executed store
2023-10-13	13:40:27	4280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7249_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:27	4280	[DEBUG]	Check product language entry
2023-10-13	13:40:27	4280	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863772
2023-10-13	13:40:27	4280	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:27	4280	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7249_1' AND `virtuemart_product_id` != 1863772
2023-10-13	13:40:27	4280	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:27	4280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863772, 'A_7249_1')
2023-10-13	13:40:27	4280	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:27	4280	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-smart-sam-performance-24x2-35-lite-skin-noir' AND `virtuemart_product_id` != 1863772
2023-10-13	13:40:27	4280	[DEBUG]	Query for ProductLang
2023-10-13	13:40:27	4280	[DEBUG]	Executed store
2023-10-13	13:40:27	4280	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.668',`product_name`='SCHWALBE PNEU SMART SAM Performance 24x2.35 Lite Skin / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-smart-sam-performance-24x2-35-lite-skin-noir' WHERE `virtuemart_product_id` = '1863772'
2023-10-13	13:40:27	4280	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34433_pneu_smart_sam_performance_24x2_35_lite_skin.jpg
2023-10-13	13:40:27	4280	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:27	4280	[DEBUG]	Process image file
2023-10-13	13:40:27	4280	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:27	4280	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:27	4280	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34433_pneu_smart_sam_performance_24x2_35_lite_skin.jpg
2023-10-13	13:40:27	4280	[DEBUG]	Full name target: bcprisme/34433_pneu_smart_sam_performance_24x2_35_lite_skin.jpg
2023-10-13	13:40:28	4280	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:28	4280	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34433_pneu_smart_sam_performance_24x2_35_lite_skin.jpg'
2023-10-13	13:40:28	4280	[DEBUG]	Query for Media
2023-10-13	13:40:28	4280	[DEBUG]	Executed store
2023-10-13	13:40:28	4280	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34433_pneu_smart_sam_performance_24x2_35_lite_skin.jpg',`file_url_thumb`='bcprisme/34433_pneu_smart_sam_performance_24x2_35_lite_skin.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '165962'
2023-10-13	13:40:28	4280	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:28	4280	[DEBUG]	Executed store
2023-10-13	13:40:28	4280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863772','165962','1')
2023-10-13	13:40:28	4280	[DEBUG]	Store product image relation
2023-10-13	13:40:28	4280	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:28	4280	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863772 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:28	4280	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:28	4280	[DEBUG]	Executed store
2023-10-13	13:40:28	4280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863772','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:28	4280	[DEBUG]	Checking manufacturer
2023-10-13	13:40:28	4280	[DEBUG]	Load a row
2023-10-13	13:40:28	4280	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:28	4280	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:28	4280	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:28	4280	[DEBUG]	Executed store
2023-10-13	13:40:28	4280	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:28	4280	[DEBUG]	Manufacturer exists
2023-10-13	13:40:28	4280	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:28	4280	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:28	4280	[DEBUG]	Executed store
2023-10-13	13:40:28	4280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863772','25')
2023-10-13	13:40:28	4280	[DEBUG]	Find the custom field ID
2023-10-13	13:40:28	4280	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:28	4280	[DEBUG]	No custom field ID found
2023-10-13	13:40:28	4280	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:28	4280	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:40:28	4280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863772 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:28	4280	[DEBUG]	Store custom available field
2023-10-13	13:40:28	4280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863772,3,'0',1)
2023-10-13	13:40:28	4280	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:28	4280	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:28	4280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863772 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:28	4280	[DEBUG]	Store custom available field
2023-10-13	13:40:28	4280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863772,6,'choisir la taille',3)
2023-10-13	13:40:28	4280	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:28	4280	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:28	4280	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:28	4280	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:28	4280	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863772 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:28	4280	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:28	4280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863772,8,1)
2023-10-13	13:40:28	4280	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:28	4280	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863772\":[1863772,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863772
2023-10-13	13:40:28	4280	[DEBUG]	Checking category
2023-10-13	13:40:28	4280	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:28	4280	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863772
2023-10-13	13:40:28	4280	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:28	4280	[DEBUG]	Executed store
2023-10-13	13:40:28	4280	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863772','7410')
2023-10-13	13:40:28	4280	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:28	4280	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863772 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:28	4280	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:28	4280	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863772
2023-10-13	13:40:28	4281	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:28	4281	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:28	4281	[DEBUG]	Use field value for field taille
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:28	4281	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:28	4281	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:28	4281	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:28	4281	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:28	4281	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:28	4281	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:28	4281	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:28	4281	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:28	4281	[DEBUG]	Use field value for field published
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:28	4281	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field override
2023-10-13	13:40:28	4281	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:28	4281	[DEBUG]	Use field value for field slug
2023-10-13	13:40:28	4281	[DEBUG]	Process line 4281
2023-10-13	13:40:28	4281	[DEBUG]	Load a row
2023-10-13	13:40:28	4281	[DEBUG]	Processing item: 4026495836388
2023-10-13	13:40:28	4281	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:28	4281	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:28	4281	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7249_1'
2023-10-13	13:40:28	4281	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:28	4281	[DEBUG]	Processing product tax
2023-10-13	13:40:28	4281	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:28	4281	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:28	4281	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:28	4281	[DEBUG]	Query for Product
2023-10-13	13:40:28	4281	[DEBUG]	Executed store
2023-10-13	13:40:28	4281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863772','4026495836388','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:28	4281	[DEBUG]	No parent found
2023-10-13	13:40:28	4281	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863772 AND customfield_value = 'stockable'
2023-10-13	13:40:28	4281	[DEBUG]	Check product language entry
2023-10-13	13:40:28	4281	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863773
2023-10-13	13:40:28	4281	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:28	4281	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495836388' AND `virtuemart_product_id` != 1863773
2023-10-13	13:40:28	4281	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:28	4281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863773, '4026495836388')
2023-10-13	13:40:28	4281	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:28	4281	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-smart-sam-performance-24x2-35-lite-skin-noir-unitaire' AND `virtuemart_product_id` != 1863773
2023-10-13	13:40:28	4281	[DEBUG]	Query for ProductLang
2023-10-13	13:40:28	4281	[DEBUG]	Executed store
2023-10-13	13:40:28	4281	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU SMART SAM Performance 24x2.35 Lite Skin / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-smart-sam-performance-24x2-35-lite-skin-noir-unitaire' WHERE `virtuemart_product_id` = '1863773'
2023-10-13	13:40:28	4281	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34433_pneu_smart_sam_performance_24x2_35_lite_skin.jpg
2023-10-13	13:40:28	4281	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:28	4281	[DEBUG]	Process image file
2023-10-13	13:40:28	4281	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:28	4281	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:28	4281	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34433_pneu_smart_sam_performance_24x2_35_lite_skin.jpg
2023-10-13	13:40:28	4281	[DEBUG]	Full name target: bcprisme/34433_pneu_smart_sam_performance_24x2_35_lite_skin.jpg
2023-10-13	13:40:29	4281	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:29	4281	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34433_pneu_smart_sam_performance_24x2_35_lite_skin.jpg'
2023-10-13	13:40:29	4281	[DEBUG]	Query for Media
2023-10-13	13:40:29	4281	[DEBUG]	Executed store
2023-10-13	13:40:29	4281	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34433_pneu_smart_sam_performance_24x2_35_lite_skin.jpg',`file_url_thumb`='bcprisme/34433_pneu_smart_sam_performance_24x2_35_lite_skin.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '165962'
2023-10-13	13:40:29	4281	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:29	4281	[DEBUG]	Executed store
2023-10-13	13:40:29	4281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863773','165962','1')
2023-10-13	13:40:29	4281	[DEBUG]	Store product image relation
2023-10-13	13:40:29	4281	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:29	4281	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863773 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:29	4281	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:29	4281	[DEBUG]	Executed store
2023-10-13	13:40:29	4281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863773','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:29	4281	[DEBUG]	Checking manufacturer
2023-10-13	13:40:29	4281	[DEBUG]	Load a row
2023-10-13	13:40:29	4281	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:29	4281	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:29	4281	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:29	4281	[DEBUG]	Executed store
2023-10-13	13:40:29	4281	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:29	4281	[DEBUG]	Manufacturer exists
2023-10-13	13:40:29	4281	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:29	4281	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:29	4281	[DEBUG]	Executed store
2023-10-13	13:40:29	4281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863773','25')
2023-10-13	13:40:29	4281	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:29	4281	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:29	4281	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863773 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:29	4281	[DEBUG]	Store custom available field
2023-10-13	13:40:29	4281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863773,3,'',1)
2023-10-13	13:40:29	4281	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:29	4281	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:29	4281	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863773 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:29	4281	[DEBUG]	Store custom available field
2023-10-13	13:40:29	4281	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863773,6,'Unitaire',3)
2023-10-13	13:40:29	4281	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:29	4281	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:29	4281	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863772
2023-10-13	13:40:29	4281	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:29	4281	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863772\":[1863772,8,1,\"choisir la taille\"],\"1863773\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863772
2023-10-13	13:40:29	4281	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:29	4281	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863773
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:29	4282	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field taille
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:29	4282	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:29	4282	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:29	4282	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:29	4282	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:29	4282	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:29	4282	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field published
2023-10-13	13:40:29	4282	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:29	4282	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field override
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:29	4282	[DEBUG]	Use field value for field slug
2023-10-13	13:40:29	4282	[DEBUG]	Process line 4282
2023-10-13	13:40:29	4282	[DEBUG]	Load a row
2023-10-13	13:40:29	4282	[DEBUG]	Processing item: A_7519_120
2023-10-13	13:40:29	4282	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:29	4282	[DEBUG]	Processing product tax
2023-10-13	13:40:29	4282	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:29	4282	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:29	4282	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:29	4282	[DEBUG]	Query for Product
2023-10-13	13:40:29	4282	[DEBUG]	Executed store
2023-10-13	13:40:29	4282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7519_120','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:29	4282	[DEBUG]	Check product language entry
2023-10-13	13:40:29	4282	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863774
2023-10-13	13:40:29	4282	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:29	4282	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7519_120' AND `virtuemart_product_id` != 1863774
2023-10-13	13:40:29	4282	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:29	4282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863774, 'A_7519_120')
2023-10-13	13:40:29	4282	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:29	4282	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-27-5x2-40-tlr-2c-dh-xtrem-shield-60-tpi-brown' AND `virtuemart_product_id` != 1863774
2023-10-13	13:40:29	4282	[DEBUG]	Query for ProductLang
2023-10-13	13:40:29	4282	[DEBUG]	Executed store
2023-10-13	13:40:29	4282	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='COMPUESTO: 55A/50A<br>1120 g<br>ACCROCHE 5/5<br>VITESSE 3/5<br>HUMIDE 5/5<br>TRACTION 5/5<br>SEC 4/5<br>MOUILLÉ 5/5<br>BOUE 4/5<br>GOMME: 56a/52a<br>ETRTO: 60-584<br><br>Hot Seat, le trône de DH réservé au pilote le plus rapide peut être le vôtre. Notre tout-terrain\" est le meilleur choix pour rouler toute la saison sans avoir à penser à quel pneu rouler pour chaque type de terrain et de conditions.<br><br>Doté d\'un profil plus carré et de crampons latéraux robustes et surélevés, le Hot Seat est conçu pour maintenir une adhérence maximale et une haute prévisibilité du pilotage, quel que soit l\'état du sol.<br><br>L\'espacement et la hauteur des crampons centrales ont été conçus pour réduire considérablement la distance de freinage et même évacuer la boue lorsque la piste devient plus compliquée par la pluie.<br><br>Le pilotage est maintenant plus précis, plus rapide et plus sûre. Le hot Seat intègre la nouvelle carcasse XtremShield conçue pour le gravity qui permet de rouler à basse pression tout en maintenant la rigidité structurelle du pneu et en protégeant votre descente contre les terribles crevaisons.<br><br>E25:<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br>électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br>certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br>plus élevées, tels que le vélo électrique.<br>N° art fourn : HOT275240TLR2CT\"',`product_name`='MSC PNEU HOT SEAT 27.5X2.40 TLR 2C DH XTREM SHIELD 60 TPI  / Brown',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-27-5x2-40-tlr-2c-dh-xtrem-shield-60-tpi-brown' WHERE `virtuemart_product_id` = '1863774'
2023-10-13	13:40:29	4282	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34918_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60_tpi_.jpg
2023-10-13	13:40:29	4282	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:29	4282	[DEBUG]	Process image file
2023-10-13	13:40:29	4282	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:29	4282	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:29	4282	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34918_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60_tpi_.jpg
2023-10-13	13:40:29	4282	[DEBUG]	Full name target: bcprisme/34918_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60_tpi_.jpg
2023-10-13	13:40:30	4282	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:30	4282	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34918_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60_tpi_.jpg'
2023-10-13	13:40:30	4282	[DEBUG]	Query for Media
2023-10-13	13:40:30	4282	[DEBUG]	Executed store
2023-10-13	13:40:30	4282	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34918_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60_tpi_.jpg',`file_url_thumb`='bcprisme/34918_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60_tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267207'
2023-10-13	13:40:30	4282	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:30	4282	[DEBUG]	Executed store
2023-10-13	13:40:30	4282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863774','267207','1')
2023-10-13	13:40:30	4282	[DEBUG]	Store product image relation
2023-10-13	13:40:30	4282	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:30	4282	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863774 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:30	4282	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:30	4282	[DEBUG]	Executed store
2023-10-13	13:40:30	4282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863774','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:30	4282	[DEBUG]	Checking manufacturer
2023-10-13	13:40:30	4282	[DEBUG]	Load a row
2023-10-13	13:40:30	4282	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:30	4282	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:30	4282	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:30	4282	[DEBUG]	Executed store
2023-10-13	13:40:30	4282	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:30	4282	[DEBUG]	Manufacturer exists
2023-10-13	13:40:30	4282	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:30	4282	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:30	4282	[DEBUG]	Executed store
2023-10-13	13:40:30	4282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863774','32')
2023-10-13	13:40:30	4282	[DEBUG]	Find the custom field ID
2023-10-13	13:40:30	4282	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:30	4282	[DEBUG]	No custom field ID found
2023-10-13	13:40:30	4282	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:30	4282	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:40:30	4282	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863774 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:30	4282	[DEBUG]	Store custom available field
2023-10-13	13:40:30	4282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863774,3,'0',1)
2023-10-13	13:40:30	4282	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:30	4282	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:30	4282	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863774 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:30	4282	[DEBUG]	Store custom available field
2023-10-13	13:40:30	4282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863774,6,'choisir la taille',3)
2023-10-13	13:40:30	4282	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:30	4282	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:30	4282	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:30	4282	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:30	4282	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863774 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:30	4282	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:30	4282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863774,8,1)
2023-10-13	13:40:30	4282	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:30	4282	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863774\":[1863774,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863774
2023-10-13	13:40:30	4282	[DEBUG]	Checking category
2023-10-13	13:40:30	4282	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:30	4282	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863774
2023-10-13	13:40:30	4282	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:30	4282	[DEBUG]	Executed store
2023-10-13	13:40:30	4282	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863774','7410')
2023-10-13	13:40:30	4282	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:30	4282	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863774 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:30	4282	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:30	4282	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863774
2023-10-13	13:40:30	4283	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:30	4283	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:30	4283	[DEBUG]	Use field value for field taille
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:30	4283	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:30	4283	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:30	4283	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:30	4283	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:30	4283	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:30	4283	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:30	4283	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:30	4283	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:30	4283	[DEBUG]	Use field value for field published
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:30	4283	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field override
2023-10-13	13:40:30	4283	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:30	4283	[DEBUG]	Use field value for field slug
2023-10-13	13:40:30	4283	[DEBUG]	Process line 4283
2023-10-13	13:40:30	4283	[DEBUG]	Load a row
2023-10-13	13:40:30	4283	[DEBUG]	Processing item: 8435466217051
2023-10-13	13:40:30	4283	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:30	4283	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:30	4283	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7519_120'
2023-10-13	13:40:30	4283	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:30	4283	[DEBUG]	Processing product tax
2023-10-13	13:40:30	4283	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:30	4283	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:30	4283	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:30	4283	[DEBUG]	Query for Product
2023-10-13	13:40:30	4283	[DEBUG]	Executed store
2023-10-13	13:40:30	4283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863774','8435466217051','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:30	4283	[DEBUG]	No parent found
2023-10-13	13:40:30	4283	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863774 AND customfield_value = 'stockable'
2023-10-13	13:40:30	4283	[DEBUG]	Check product language entry
2023-10-13	13:40:30	4283	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863775
2023-10-13	13:40:30	4283	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:30	4283	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466217051' AND `virtuemart_product_id` != 1863775
2023-10-13	13:40:30	4283	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:30	4283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863775, '8435466217051')
2023-10-13	13:40:30	4283	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:30	4283	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-27-5x2-40-tlr-2c-dh-xtrem-shield-60-tpi-brown-unitaire' AND `virtuemart_product_id` != 1863775
2023-10-13	13:40:30	4283	[DEBUG]	Query for ProductLang
2023-10-13	13:40:30	4283	[DEBUG]	Executed store
2023-10-13	13:40:30	4283	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU HOT SEAT 27.5X2.40 TLR 2C DH XTREM SHIELD 60 TPI  / Brown (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-27-5x2-40-tlr-2c-dh-xtrem-shield-60-tpi-brown-unitaire' WHERE `virtuemart_product_id` = '1863775'
2023-10-13	13:40:30	4283	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34918_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60_tpi_.jpg
2023-10-13	13:40:30	4283	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:30	4283	[DEBUG]	Process image file
2023-10-13	13:40:30	4283	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:30	4283	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:30	4283	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34918_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60_tpi_.jpg
2023-10-13	13:40:30	4283	[DEBUG]	Full name target: bcprisme/34918_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60_tpi_.jpg
2023-10-13	13:40:31	4283	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:31	4283	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34918_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60_tpi_.jpg'
2023-10-13	13:40:31	4283	[DEBUG]	Query for Media
2023-10-13	13:40:31	4283	[DEBUG]	Executed store
2023-10-13	13:40:31	4283	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34918_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60_tpi_.jpg',`file_url_thumb`='bcprisme/34918_hot_seat_27_5x2_40_tlr_2c_dh_xtrem_shield_60_tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267207'
2023-10-13	13:40:31	4283	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:31	4283	[DEBUG]	Executed store
2023-10-13	13:40:31	4283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863775','267207','1')
2023-10-13	13:40:31	4283	[DEBUG]	Store product image relation
2023-10-13	13:40:31	4283	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:31	4283	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863775 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:31	4283	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:31	4283	[DEBUG]	Executed store
2023-10-13	13:40:31	4283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863775','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:31	4283	[DEBUG]	Checking manufacturer
2023-10-13	13:40:31	4283	[DEBUG]	Load a row
2023-10-13	13:40:31	4283	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:31	4283	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:31	4283	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:31	4283	[DEBUG]	Executed store
2023-10-13	13:40:31	4283	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:31	4283	[DEBUG]	Manufacturer exists
2023-10-13	13:40:31	4283	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:31	4283	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:31	4283	[DEBUG]	Executed store
2023-10-13	13:40:31	4283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863775','32')
2023-10-13	13:40:31	4283	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:31	4283	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:31	4283	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863775 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:31	4283	[DEBUG]	Store custom available field
2023-10-13	13:40:31	4283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863775,3,'',1)
2023-10-13	13:40:31	4283	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:31	4283	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:31	4283	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863775 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:31	4283	[DEBUG]	Store custom available field
2023-10-13	13:40:31	4283	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863775,6,'Unitaire',3)
2023-10-13	13:40:31	4283	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:31	4283	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:31	4283	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863774
2023-10-13	13:40:31	4283	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:31	4283	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863774\":[1863774,8,1,\"choisir la taille\"],\"1863775\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863774
2023-10-13	13:40:31	4283	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:31	4283	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863775
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:31	4284	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field taille
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:31	4284	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:31	4284	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:31	4284	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:31	4284	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:31	4284	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:31	4284	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field published
2023-10-13	13:40:31	4284	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:31	4284	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field override
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:31	4284	[DEBUG]	Use field value for field slug
2023-10-13	13:40:31	4284	[DEBUG]	Process line 4284
2023-10-13	13:40:31	4284	[DEBUG]	Load a row
2023-10-13	13:40:31	4284	[DEBUG]	Processing item: A_7850_1
2023-10-13	13:40:31	4284	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:31	4284	[DEBUG]	Processing product tax
2023-10-13	13:40:31	4284	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:31	4284	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:31	4284	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:31	4284	[DEBUG]	Query for Product
2023-10-13	13:40:31	4284	[DEBUG]	Executed store
2023-10-13	13:40:31	4284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7850_1','0.57','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:31	4284	[DEBUG]	Check product language entry
2023-10-13	13:40:31	4284	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863776
2023-10-13	13:40:31	4284	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:31	4284	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7850_1' AND `virtuemart_product_id` != 1863776
2023-10-13	13:40:31	4284	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:31	4284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863776, 'A_7850_1')
2023-10-13	13:40:31	4284	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:31	4284	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-27-5-x-2-40-tlr-2c-dh-xtremshield-60-tpi-noir' AND `virtuemart_product_id` != 1863776
2023-10-13	13:40:31	4284	[DEBUG]	Query for ProductLang
2023-10-13	13:40:31	4284	[DEBUG]	Executed store
2023-10-13	13:40:31	4284	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1195 g<br><br>-Accroche: 5/5<br> -Traction: 4/5<br> -Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br> -Gomme: 62a/48a/42a<br> -ETRTO 60-584<br><br>Idéal pour l’Enduro et la DH. Contrôle parfait sur terrains détériorés, meubles et humides.<br><br>Ses 4 rangés de crampons hauts et larges taillés perpendiculairement garantissent une adhérence et un contrôle extraordinaire lors de freinages brusques, même dans les situations de pilotages les plus agressives. Capable d’affronter férocement des courbes prononcées et de dévorer tous les types de terrains.<br><br>Un crampon sur deux de La zone de centrale sont équipés d’une rampe afin de diminuer la résistance au roulement. Les crampons latéraux, dotés d’entailles verticales et d’encoches, sont placés sur 2 niveaux pour assurer une accroche parfaite lors de passage en courbe, sur pierres et racines.<br>N° art fourn : GRI275240TLR2CX',`product_name`='MSC PNEU GRIPPER 27.5 X 2.40 TLR 2C DH XTREMSHIELD 60 TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-27-5-x-2-40-tlr-2c-dh-xtremshield-60-tpi-noir' WHERE `virtuemart_product_id` = '1863776'
2023-10-13	13:40:31	4284	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36248_pneu_gripper_27_5_x_2_40_tlr_2c_dh_xtremshield_60_tpi.jpg
2023-10-13	13:40:31	4284	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:31	4284	[DEBUG]	Process image file
2023-10-13	13:40:31	4284	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:31	4284	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:31	4284	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36248_pneu_gripper_27_5_x_2_40_tlr_2c_dh_xtremshield_60_tpi.jpg
2023-10-13	13:40:31	4284	[DEBUG]	Full name target: bcprisme/36248_pneu_gripper_27_5_x_2_40_tlr_2c_dh_xtremshield_60_tpi.jpg
2023-10-13	13:40:32	4284	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:32	4284	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36248_pneu_gripper_27_5_x_2_40_tlr_2c_dh_xtremshield_60_tpi.jpg'
2023-10-13	13:40:32	4284	[DEBUG]	Query for Media
2023-10-13	13:40:32	4284	[DEBUG]	Executed store
2023-10-13	13:40:32	4284	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36248_pneu_gripper_27_5_x_2_40_tlr_2c_dh_xtremshield_60_tpi.jpg',`file_url_thumb`='bcprisme/36248_pneu_gripper_27_5_x_2_40_tlr_2c_dh_xtremshield_60_tpi.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '690244'
2023-10-13	13:40:32	4284	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:32	4284	[DEBUG]	Executed store
2023-10-13	13:40:32	4284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863776','690244','1')
2023-10-13	13:40:32	4284	[DEBUG]	Store product image relation
2023-10-13	13:40:32	4284	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:32	4284	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863776 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:32	4284	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:32	4284	[DEBUG]	Executed store
2023-10-13	13:40:32	4284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863776','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:32	4284	[DEBUG]	Checking manufacturer
2023-10-13	13:40:32	4284	[DEBUG]	Load a row
2023-10-13	13:40:32	4284	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:32	4284	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:32	4284	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:32	4284	[DEBUG]	Executed store
2023-10-13	13:40:32	4284	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:32	4284	[DEBUG]	Manufacturer exists
2023-10-13	13:40:32	4284	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:32	4284	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:32	4284	[DEBUG]	Executed store
2023-10-13	13:40:32	4284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863776','32')
2023-10-13	13:40:32	4284	[DEBUG]	Find the custom field ID
2023-10-13	13:40:32	4284	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:32	4284	[DEBUG]	No custom field ID found
2023-10-13	13:40:32	4284	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:32	4284	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:40:32	4284	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863776 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:32	4284	[DEBUG]	Store custom available field
2023-10-13	13:40:32	4284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863776,3,'54.7475',1)
2023-10-13	13:40:32	4284	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:32	4284	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:32	4284	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863776 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:32	4284	[DEBUG]	Store custom available field
2023-10-13	13:40:32	4284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863776,6,'choisir la taille',3)
2023-10-13	13:40:32	4284	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:32	4284	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:32	4284	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:32	4284	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:32	4284	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863776 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:32	4284	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:32	4284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863776,8,1)
2023-10-13	13:40:32	4284	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:32	4284	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863776\":[1863776,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863776
2023-10-13	13:40:32	4284	[DEBUG]	Checking category
2023-10-13	13:40:32	4284	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:32	4284	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863776
2023-10-13	13:40:32	4284	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:32	4284	[DEBUG]	Executed store
2023-10-13	13:40:32	4284	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863776','7410')
2023-10-13	13:40:32	4284	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:32	4284	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863776 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:32	4284	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:32	4284	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863776
2023-10-13	13:40:32	4285	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:32	4285	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:32	4285	[DEBUG]	Use field value for field taille
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:32	4285	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:32	4285	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:32	4285	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:32	4285	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:32	4285	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:32	4285	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:32	4285	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:32	4285	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:32	4285	[DEBUG]	Use field value for field published
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:32	4285	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field override
2023-10-13	13:40:32	4285	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:32	4285	[DEBUG]	Use field value for field slug
2023-10-13	13:40:32	4285	[DEBUG]	Process line 4285
2023-10-13	13:40:32	4285	[DEBUG]	Load a row
2023-10-13	13:40:32	4285	[DEBUG]	Processing item: 8435466216115
2023-10-13	13:40:32	4285	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:32	4285	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:32	4285	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7850_1'
2023-10-13	13:40:32	4285	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:32	4285	[DEBUG]	Processing product tax
2023-10-13	13:40:32	4285	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:32	4285	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:32	4285	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:32	4285	[DEBUG]	Query for Product
2023-10-13	13:40:32	4285	[DEBUG]	Executed store
2023-10-13	13:40:32	4285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863776','8435466216115','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:32	4285	[DEBUG]	No parent found
2023-10-13	13:40:32	4285	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863776 AND customfield_value = 'stockable'
2023-10-13	13:40:32	4285	[DEBUG]	Check product language entry
2023-10-13	13:40:32	4285	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863777
2023-10-13	13:40:32	4285	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:32	4285	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216115' AND `virtuemart_product_id` != 1863777
2023-10-13	13:40:32	4285	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:32	4285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863777, '8435466216115')
2023-10-13	13:40:32	4285	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:32	4285	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-27-5-x-2-40-tlr-2c-dh-xtremshield-60-tpi-noir-unitaire' AND `virtuemart_product_id` != 1863777
2023-10-13	13:40:32	4285	[DEBUG]	Query for ProductLang
2023-10-13	13:40:32	4285	[DEBUG]	Executed store
2023-10-13	13:40:32	4285	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU GRIPPER 27.5 X 2.40 TLR 2C DH XTREMSHIELD 60 TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-27-5-x-2-40-tlr-2c-dh-xtremshield-60-tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863777'
2023-10-13	13:40:32	4285	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36248_pneu_gripper_27_5_x_2_40_tlr_2c_dh_xtremshield_60_tpi.jpg
2023-10-13	13:40:32	4285	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:32	4285	[DEBUG]	Process image file
2023-10-13	13:40:32	4285	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:32	4285	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:32	4285	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36248_pneu_gripper_27_5_x_2_40_tlr_2c_dh_xtremshield_60_tpi.jpg
2023-10-13	13:40:32	4285	[DEBUG]	Full name target: bcprisme/36248_pneu_gripper_27_5_x_2_40_tlr_2c_dh_xtremshield_60_tpi.jpg
2023-10-13	13:40:33	4285	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:33	4285	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36248_pneu_gripper_27_5_x_2_40_tlr_2c_dh_xtremshield_60_tpi.jpg'
2023-10-13	13:40:33	4285	[DEBUG]	Query for Media
2023-10-13	13:40:33	4285	[DEBUG]	Executed store
2023-10-13	13:40:33	4285	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36248_pneu_gripper_27_5_x_2_40_tlr_2c_dh_xtremshield_60_tpi.jpg',`file_url_thumb`='bcprisme/36248_pneu_gripper_27_5_x_2_40_tlr_2c_dh_xtremshield_60_tpi.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '690244'
2023-10-13	13:40:33	4285	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:33	4285	[DEBUG]	Executed store
2023-10-13	13:40:33	4285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863777','690244','1')
2023-10-13	13:40:33	4285	[DEBUG]	Store product image relation
2023-10-13	13:40:33	4285	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:33	4285	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863777 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:33	4285	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:33	4285	[DEBUG]	Executed store
2023-10-13	13:40:33	4285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863777','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:33	4285	[DEBUG]	Checking manufacturer
2023-10-13	13:40:33	4285	[DEBUG]	Load a row
2023-10-13	13:40:33	4285	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:33	4285	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:33	4285	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:33	4285	[DEBUG]	Executed store
2023-10-13	13:40:33	4285	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:33	4285	[DEBUG]	Manufacturer exists
2023-10-13	13:40:33	4285	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:33	4285	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:33	4285	[DEBUG]	Executed store
2023-10-13	13:40:33	4285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863777','32')
2023-10-13	13:40:33	4285	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:33	4285	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:33	4285	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863777 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:33	4285	[DEBUG]	Store custom available field
2023-10-13	13:40:33	4285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863777,3,'',1)
2023-10-13	13:40:33	4285	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:33	4285	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:33	4285	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863777 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:33	4285	[DEBUG]	Store custom available field
2023-10-13	13:40:33	4285	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863777,6,'Unitaire',3)
2023-10-13	13:40:33	4285	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:33	4285	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:33	4285	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863776
2023-10-13	13:40:33	4285	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:33	4285	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863776\":[1863776,8,1,\"choisir la taille\"],\"1863777\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863776
2023-10-13	13:40:33	4285	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:33	4285	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863777
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:33	4286	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field taille
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:33	4286	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:33	4286	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:33	4286	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:33	4286	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:33	4286	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:33	4286	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field published
2023-10-13	13:40:33	4286	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:33	4286	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field override
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:33	4286	[DEBUG]	Use field value for field slug
2023-10-13	13:40:33	4286	[DEBUG]	Process line 4286
2023-10-13	13:40:33	4286	[DEBUG]	Load a row
2023-10-13	13:40:33	4286	[DEBUG]	Processing item: A_7982_1
2023-10-13	13:40:33	4286	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:33	4286	[DEBUG]	Processing product tax
2023-10-13	13:40:33	4286	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:33	4286	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:33	4286	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:33	4286	[DEBUG]	Query for Product
2023-10-13	13:40:33	4286	[DEBUG]	Executed store
2023-10-13	13:40:33	4286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7982_1','0.5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:33	4286	[DEBUG]	Check product language entry
2023-10-13	13:40:33	4286	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863778
2023-10-13	13:40:33	4286	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:33	4286	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7982_1' AND `virtuemart_product_id` != 1863778
2023-10-13	13:40:33	4286	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:33	4286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863778, 'A_7982_1')
2023-10-13	13:40:33	4286	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:33	4286	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-range-cruiser-28x1-75-noir-reflex-rigide-noir' AND `virtuemart_product_id` != 1863778
2023-10-13	13:40:33	4286	[DEBUG]	Query for ProductLang
2023-10-13	13:40:33	4286	[DEBUG]	Executed store
2023-10-13	13:40:33	4286	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.339',`product_name`='SCHWALBE RANGE CRUISER 28X1.75 NOIR-REFLEX RIGIDE / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-range-cruiser-28x1-75-noir-reflex-rigide-noir' WHERE `virtuemart_product_id` = '1863778'
2023-10-13	13:40:33	4286	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36449_schwable_range_cruiser_28x1_75_noir-reflex_rigide.png
2023-10-13	13:40:33	4286	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:40:33	4286	[DEBUG]	Process image file
2023-10-13	13:40:33	4286	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:40:33	4286	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:33	4286	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36449_schwable_range_cruiser_28x1_75_noir-reflex_rigide.png
2023-10-13	13:40:33	4286	[DEBUG]	Full name target: bcprisme/36449_schwable_range_cruiser_28x1_75_noir-reflex_rigide.png
2023-10-13	13:40:34	4286	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:34	4286	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36449_schwable_range_cruiser_28x1_75_noir-reflex_rigide.png'
2023-10-13	13:40:34	4286	[DEBUG]	Query for Media
2023-10-13	13:40:34	4286	[DEBUG]	Executed store
2023-10-13	13:40:34	4286	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36449_schwable_range_cruiser_28x1_75_noir-reflex_rigide.png',`file_url_thumb`='bcprisme/36449_schwable_range_cruiser_28x1_75_noir-reflex_rigide.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '590924'
2023-10-13	13:40:34	4286	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:34	4286	[DEBUG]	Executed store
2023-10-13	13:40:34	4286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863778','590924','1')
2023-10-13	13:40:34	4286	[DEBUG]	Store product image relation
2023-10-13	13:40:34	4286	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:34	4286	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863778 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:34	4286	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:34	4286	[DEBUG]	Executed store
2023-10-13	13:40:34	4286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863778','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:34	4286	[DEBUG]	Checking manufacturer
2023-10-13	13:40:34	4286	[DEBUG]	Load a row
2023-10-13	13:40:34	4286	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:34	4286	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:34	4286	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:34	4286	[DEBUG]	Executed store
2023-10-13	13:40:34	4286	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:34	4286	[DEBUG]	Manufacturer exists
2023-10-13	13:40:34	4286	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:34	4286	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:34	4286	[DEBUG]	Executed store
2023-10-13	13:40:34	4286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863778','25')
2023-10-13	13:40:34	4286	[DEBUG]	Find the custom field ID
2023-10-13	13:40:34	4286	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:34	4286	[DEBUG]	No custom field ID found
2023-10-13	13:40:34	4286	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:34	4286	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:40:34	4286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863778 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:34	4286	[DEBUG]	Store custom available field
2023-10-13	13:40:34	4286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863778,3,'0',1)
2023-10-13	13:40:34	4286	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:34	4286	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:34	4286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863778 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:34	4286	[DEBUG]	Store custom available field
2023-10-13	13:40:34	4286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863778,6,'choisir la taille',3)
2023-10-13	13:40:34	4286	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:34	4286	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:34	4286	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:34	4286	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:34	4286	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863778 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:34	4286	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:34	4286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863778,8,1)
2023-10-13	13:40:34	4286	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:34	4286	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863778\":[1863778,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863778
2023-10-13	13:40:34	4286	[DEBUG]	Checking category
2023-10-13	13:40:34	4286	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:34	4286	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863778
2023-10-13	13:40:34	4286	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:34	4286	[DEBUG]	Executed store
2023-10-13	13:40:34	4286	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863778','7410')
2023-10-13	13:40:34	4286	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:34	4286	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863778 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:34	4286	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:34	4286	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863778
2023-10-13	13:40:34	4287	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:34	4287	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:34	4287	[DEBUG]	Use field value for field taille
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:34	4287	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:34	4287	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:34	4287	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:34	4287	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:34	4287	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:34	4287	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:34	4287	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:34	4287	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:34	4287	[DEBUG]	Use field value for field published
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:34	4287	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field override
2023-10-13	13:40:34	4287	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:34	4287	[DEBUG]	Use field value for field slug
2023-10-13	13:40:34	4287	[DEBUG]	Process line 4287
2023-10-13	13:40:34	4287	[DEBUG]	Load a row
2023-10-13	13:40:34	4287	[DEBUG]	Processing item: 4026495739801
2023-10-13	13:40:34	4287	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:34	4287	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:34	4287	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7982_1'
2023-10-13	13:40:34	4287	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:34	4287	[DEBUG]	Processing product tax
2023-10-13	13:40:34	4287	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:34	4287	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:34	4287	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:34	4287	[DEBUG]	Query for Product
2023-10-13	13:40:34	4287	[DEBUG]	Executed store
2023-10-13	13:40:34	4287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863778','4026495739801','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:34	4287	[DEBUG]	No parent found
2023-10-13	13:40:34	4287	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863778 AND customfield_value = 'stockable'
2023-10-13	13:40:34	4287	[DEBUG]	Check product language entry
2023-10-13	13:40:34	4287	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863779
2023-10-13	13:40:34	4287	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:34	4287	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495739801' AND `virtuemart_product_id` != 1863779
2023-10-13	13:40:34	4287	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:34	4287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863779, '4026495739801')
2023-10-13	13:40:34	4287	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:34	4287	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-range-cruiser-28x1-75-noir-reflex-rigide-noir-unitaire' AND `virtuemart_product_id` != 1863779
2023-10-13	13:40:34	4287	[DEBUG]	Query for ProductLang
2023-10-13	13:40:34	4287	[DEBUG]	Executed store
2023-10-13	13:40:34	4287	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE RANGE CRUISER 28X1.75 NOIR-REFLEX RIGIDE / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-range-cruiser-28x1-75-noir-reflex-rigide-noir-unitaire' WHERE `virtuemart_product_id` = '1863779'
2023-10-13	13:40:34	4287	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36449_schwable_range_cruiser_28x1_75_noir-reflex_rigide.png
2023-10-13	13:40:34	4287	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:40:34	4287	[DEBUG]	Process image file
2023-10-13	13:40:34	4287	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:40:34	4287	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:34	4287	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36449_schwable_range_cruiser_28x1_75_noir-reflex_rigide.png
2023-10-13	13:40:34	4287	[DEBUG]	Full name target: bcprisme/36449_schwable_range_cruiser_28x1_75_noir-reflex_rigide.png
2023-10-13	13:40:36	4287	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:36	4287	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36449_schwable_range_cruiser_28x1_75_noir-reflex_rigide.png'
2023-10-13	13:40:36	4287	[DEBUG]	Query for Media
2023-10-13	13:40:36	4287	[DEBUG]	Executed store
2023-10-13	13:40:36	4287	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/36449_schwable_range_cruiser_28x1_75_noir-reflex_rigide.png',`file_url_thumb`='bcprisme/36449_schwable_range_cruiser_28x1_75_noir-reflex_rigide.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '590924'
2023-10-13	13:40:36	4287	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:36	4287	[DEBUG]	Executed store
2023-10-13	13:40:36	4287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863779','590924','1')
2023-10-13	13:40:36	4287	[DEBUG]	Store product image relation
2023-10-13	13:40:36	4287	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:36	4287	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863779 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:36	4287	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:36	4287	[DEBUG]	Executed store
2023-10-13	13:40:36	4287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863779','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:36	4287	[DEBUG]	Checking manufacturer
2023-10-13	13:40:36	4287	[DEBUG]	Load a row
2023-10-13	13:40:36	4287	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:36	4287	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:36	4287	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:36	4287	[DEBUG]	Executed store
2023-10-13	13:40:36	4287	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:36	4287	[DEBUG]	Manufacturer exists
2023-10-13	13:40:36	4287	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:36	4287	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:36	4287	[DEBUG]	Executed store
2023-10-13	13:40:36	4287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863779','25')
2023-10-13	13:40:36	4287	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:36	4287	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:36	4287	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863779 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:36	4287	[DEBUG]	Store custom available field
2023-10-13	13:40:36	4287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863779,3,'',1)
2023-10-13	13:40:36	4287	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:36	4287	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:36	4287	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863779 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:36	4287	[DEBUG]	Store custom available field
2023-10-13	13:40:36	4287	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863779,6,'Unitaire',3)
2023-10-13	13:40:36	4287	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:36	4287	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:36	4287	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863778
2023-10-13	13:40:36	4287	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:36	4287	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863778\":[1863778,8,1,\"choisir la taille\"],\"1863779\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863778
2023-10-13	13:40:36	4287	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:36	4287	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863779
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:36	4288	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field taille
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:36	4288	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:36	4288	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:36	4288	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:36	4288	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:36	4288	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:36	4288	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field published
2023-10-13	13:40:36	4288	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:36	4288	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field override
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:36	4288	[DEBUG]	Use field value for field slug
2023-10-13	13:40:36	4288	[DEBUG]	Process line 4288
2023-10-13	13:40:36	4288	[DEBUG]	Load a row
2023-10-13	13:40:36	4288	[DEBUG]	Processing item: A_9332_1
2023-10-13	13:40:36	4288	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:36	4288	[DEBUG]	Processing product tax
2023-10-13	13:40:36	4288	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:36	4288	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:36	4288	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:36	4288	[DEBUG]	Query for Product
2023-10-13	13:40:36	4288	[DEBUG]	Executed store
2023-10-13	13:40:36	4288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9332_1','0.5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:36	4288	[DEBUG]	Check product language entry
2023-10-13	13:40:36	4288	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863780
2023-10-13	13:40:36	4288	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:36	4288	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9332_1' AND `virtuemart_product_id` != 1863780
2023-10-13	13:40:36	4288	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:36	4288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863780, 'A_9332_1')
2023-10-13	13:40:36	4288	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:36	4288	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-land-cruiser-plus-700x40c-noir' AND `virtuemart_product_id` != 1863780
2023-10-13	13:40:36	4288	[DEBUG]	Query for ProductLang
2023-10-13	13:40:36	4288	[DEBUG]	Executed store
2023-10-13	13:40:36	4288	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.534',`product_name`='SCHWALBE LAND CRUISER PLUS 700x40c / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-land-cruiser-plus-700x40c-noir' WHERE `virtuemart_product_id` = '1863780'
2023-10-13	13:40:36	4288	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38418_schwable_land_cruiser_plus_700x40c.png
2023-10-13	13:40:36	4288	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:40:36	4288	[DEBUG]	Process image file
2023-10-13	13:40:36	4288	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:40:36	4288	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:36	4288	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38418_schwable_land_cruiser_plus_700x40c.png
2023-10-13	13:40:36	4288	[DEBUG]	Full name target: bcprisme/38418_schwable_land_cruiser_plus_700x40c.png
2023-10-13	13:40:37	4288	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:37	4288	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38418_schwable_land_cruiser_plus_700x40c.png'
2023-10-13	13:40:37	4288	[DEBUG]	Query for Media
2023-10-13	13:40:37	4288	[DEBUG]	Executed store
2023-10-13	13:40:37	4288	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38418_schwable_land_cruiser_plus_700x40c.png',`file_url_thumb`='bcprisme/38418_schwable_land_cruiser_plus_700x40c.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1368394'
2023-10-13	13:40:37	4288	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:37	4288	[DEBUG]	Executed store
2023-10-13	13:40:37	4288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863780','1368394','1')
2023-10-13	13:40:37	4288	[DEBUG]	Store product image relation
2023-10-13	13:40:37	4288	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:37	4288	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863780 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:37	4288	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:37	4288	[DEBUG]	Executed store
2023-10-13	13:40:37	4288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863780','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:37	4288	[DEBUG]	Checking manufacturer
2023-10-13	13:40:37	4288	[DEBUG]	Load a row
2023-10-13	13:40:37	4288	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:37	4288	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:37	4288	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:37	4288	[DEBUG]	Executed store
2023-10-13	13:40:37	4288	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:37	4288	[DEBUG]	Manufacturer exists
2023-10-13	13:40:37	4288	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:37	4288	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:37	4288	[DEBUG]	Executed store
2023-10-13	13:40:37	4288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863780','25')
2023-10-13	13:40:37	4288	[DEBUG]	Find the custom field ID
2023-10-13	13:40:37	4288	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:37	4288	[DEBUG]	No custom field ID found
2023-10-13	13:40:37	4288	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:37	4288	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:40:37	4288	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863780 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:37	4288	[DEBUG]	Store custom available field
2023-10-13	13:40:37	4288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863780,3,'0',1)
2023-10-13	13:40:37	4288	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:37	4288	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:37	4288	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863780 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:37	4288	[DEBUG]	Store custom available field
2023-10-13	13:40:37	4288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863780,6,'choisir la taille',3)
2023-10-13	13:40:37	4288	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:37	4288	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:37	4288	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:37	4288	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:37	4288	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863780 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:37	4288	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:37	4288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863780,8,1)
2023-10-13	13:40:37	4288	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:37	4288	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863780\":[1863780,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863780
2023-10-13	13:40:37	4288	[DEBUG]	Checking category
2023-10-13	13:40:37	4288	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:37	4288	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863780
2023-10-13	13:40:37	4288	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:37	4288	[DEBUG]	Executed store
2023-10-13	13:40:37	4288	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863780','7410')
2023-10-13	13:40:37	4288	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:37	4288	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863780 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:37	4288	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:37	4288	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863780
2023-10-13	13:40:37	4289	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:37	4289	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:37	4289	[DEBUG]	Use field value for field taille
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:37	4289	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:37	4289	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:37	4289	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:37	4289	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:37	4289	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:37	4289	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:37	4289	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:37	4289	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:37	4289	[DEBUG]	Use field value for field published
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:37	4289	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field override
2023-10-13	13:40:37	4289	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:37	4289	[DEBUG]	Use field value for field slug
2023-10-13	13:40:37	4289	[DEBUG]	Process line 4289
2023-10-13	13:40:37	4289	[DEBUG]	Load a row
2023-10-13	13:40:37	4289	[DEBUG]	Processing item: 4026495906951
2023-10-13	13:40:37	4289	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:37	4289	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:37	4289	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9332_1'
2023-10-13	13:40:37	4289	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:37	4289	[DEBUG]	Processing product tax
2023-10-13	13:40:37	4289	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:37	4289	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:37	4289	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:37	4289	[DEBUG]	Query for Product
2023-10-13	13:40:37	4289	[DEBUG]	Executed store
2023-10-13	13:40:37	4289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863780','4026495906951','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:37	4289	[DEBUG]	No parent found
2023-10-13	13:40:37	4289	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863780 AND customfield_value = 'stockable'
2023-10-13	13:40:37	4289	[DEBUG]	Check product language entry
2023-10-13	13:40:37	4289	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863781
2023-10-13	13:40:37	4289	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:37	4289	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495906951' AND `virtuemart_product_id` != 1863781
2023-10-13	13:40:37	4289	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:37	4289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863781, '4026495906951')
2023-10-13	13:40:37	4289	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:37	4289	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-land-cruiser-plus-700x40c-noir-unitaire' AND `virtuemart_product_id` != 1863781
2023-10-13	13:40:37	4289	[DEBUG]	Query for ProductLang
2023-10-13	13:40:37	4289	[DEBUG]	Executed store
2023-10-13	13:40:37	4289	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE LAND CRUISER PLUS 700x40c / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-land-cruiser-plus-700x40c-noir-unitaire' WHERE `virtuemart_product_id` = '1863781'
2023-10-13	13:40:37	4289	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38418_schwable_land_cruiser_plus_700x40c.png
2023-10-13	13:40:37	4289	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:40:37	4289	[DEBUG]	Process image file
2023-10-13	13:40:37	4289	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:40:37	4289	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:37	4289	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38418_schwable_land_cruiser_plus_700x40c.png
2023-10-13	13:40:37	4289	[DEBUG]	Full name target: bcprisme/38418_schwable_land_cruiser_plus_700x40c.png
2023-10-13	13:40:38	4289	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:38	4289	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38418_schwable_land_cruiser_plus_700x40c.png'
2023-10-13	13:40:38	4289	[DEBUG]	Query for Media
2023-10-13	13:40:38	4289	[DEBUG]	Executed store
2023-10-13	13:40:38	4289	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38418_schwable_land_cruiser_plus_700x40c.png',`file_url_thumb`='bcprisme/38418_schwable_land_cruiser_plus_700x40c.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1368394'
2023-10-13	13:40:38	4289	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:38	4289	[DEBUG]	Executed store
2023-10-13	13:40:38	4289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863781','1368394','1')
2023-10-13	13:40:38	4289	[DEBUG]	Store product image relation
2023-10-13	13:40:38	4289	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:38	4289	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863781 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:38	4289	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:38	4289	[DEBUG]	Executed store
2023-10-13	13:40:38	4289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863781','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:38	4289	[DEBUG]	Checking manufacturer
2023-10-13	13:40:38	4289	[DEBUG]	Load a row
2023-10-13	13:40:38	4289	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:38	4289	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:38	4289	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:38	4289	[DEBUG]	Executed store
2023-10-13	13:40:38	4289	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:38	4289	[DEBUG]	Manufacturer exists
2023-10-13	13:40:38	4289	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:38	4289	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:38	4289	[DEBUG]	Executed store
2023-10-13	13:40:38	4289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863781','25')
2023-10-13	13:40:38	4289	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:38	4289	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:38	4289	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863781 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:38	4289	[DEBUG]	Store custom available field
2023-10-13	13:40:38	4289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863781,3,'',1)
2023-10-13	13:40:38	4289	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:38	4289	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:38	4289	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863781 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:38	4289	[DEBUG]	Store custom available field
2023-10-13	13:40:38	4289	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863781,6,'Unitaire',3)
2023-10-13	13:40:38	4289	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:38	4289	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:38	4289	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863780
2023-10-13	13:40:38	4289	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:38	4289	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863780\":[1863780,8,1,\"choisir la taille\"],\"1863781\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863780
2023-10-13	13:40:38	4289	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:38	4289	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863781
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:38	4290	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field taille
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:38	4290	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:38	4290	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:38	4290	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:38	4290	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:38	4290	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:38	4290	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field published
2023-10-13	13:40:38	4290	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:38	4290	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field override
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:38	4290	[DEBUG]	Use field value for field slug
2023-10-13	13:40:38	4290	[DEBUG]	Process line 4290
2023-10-13	13:40:38	4290	[DEBUG]	Load a row
2023-10-13	13:40:38	4290	[DEBUG]	Processing item: A_9372_1
2023-10-13	13:40:38	4290	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:38	4290	[DEBUG]	Processing product tax
2023-10-13	13:40:38	4290	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:38	4290	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:38	4290	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:38	4290	[DEBUG]	Query for Product
2023-10-13	13:40:38	4290	[DEBUG]	Executed store
2023-10-13	13:40:38	4290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9372_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:38	4290	[DEBUG]	Check product language entry
2023-10-13	13:40:38	4290	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863782
2023-10-13	13:40:38	4290	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:38	4290	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9372_1' AND `virtuemart_product_id` != 1863782
2023-10-13	13:40:38	4290	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:38	4290	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863782, 'A_9372_1')
2023-10-13	13:40:38	4290	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:38	4290	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-27-5x2-40-tlr-1c-dh-xtrem-shield-60tpi-noir' AND `virtuemart_product_id` != 1863782
2023-10-13	13:40:38	4290	[DEBUG]	Query for ProductLang
2023-10-13	13:40:38	4290	[DEBUG]	Executed store
2023-10-13	13:40:38	4290	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>COMPUESTO: 55A/50A<br><br>1120 g<br><br>ACCROCHE 5/5<br> VITESSE 3/5<br> HUMIDE 5/5<br> TRACTION 5/5<br> SEC 4/5<br> MOUILLÉ 5/5<br> BOUE 4/5<br> GOMME: 56a/52a<br> ETRTO: 60-584<br><br>Hot Seat, le trône de DH réservé au pilote le plus rapide peut être le vôtre. Notre tout-terrain\" est le meilleur choix pour rouler toute la saison sans avoir à penser à quel pneu rouler pour chaque type de terrain et de conditions.<br><br>Doté d\'un profil plus carré et de crampons latéraux robustes et surélevés, le Hot Seat est conçu pour maintenir une adhérence maximale et une haute prévisibilité du pilotage, quel que soit l\'état du sol. <br><br>L\'espacement et la hauteur des crampons centrales ont été conçus pour réduire considérablement la distance de freinage et même évacuer la boue lorsque la piste devient plus compliquée par la pluie. <br><br>Le pilotage est maintenant plus précis, plus rapide et plus sûre. Le hot Seat intègre la nouvelle carcasse XtremShield conçue pour le gravity qui permet de rouler à basse pression tout en maintenant la rigidité structurelle du pneu et en protégeant votre descente contre les terribles crevaisons.<br><br><br><br>E25:<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br> électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br> certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br> plus élevées, tels que le vélo électrique.<br><br><br> <br><br><br><br><br>   <br><br><br>?<br><br><br>?<br><br><br>?<br><br><br>?<br><br><br>?<br><br><br>Garanties<br><br><br>|<br><br><br><br><br>COMPUESTO: 55A/50A<br><br>1120 g<br><br>ACCROCHE 5/5<br> VITESSE 3/5<br> HUMIDE 5/5<br> TRACTION 5/5<br> SEC 4/5<br> MOUILLÉ 5/5<br> BOUE 4/5<br> GOMME: 56a/52a<br> ETRTO: 60-584<br><br>Hot Seat, le trône de DH réservé au pilote le plus rapide peut être le vôtre. Notre \"tout-terrain\" est le meilleur choix pour rouler toute la saison sans avoir à penser à quel pneu rouler pour chaque type de terrain et de conditions.<br><br>Doté d\'un profil plus carré et de crampons latéraux robustes et surélevés, le Hot Seat est conçu pour maintenir une adhérence maximale et une haute prévisibilité du pilotage, quel que soit l\'état du sol. <br><br>L\'espacement et la hauteur des crampons centrales ont été conçus pour réduire considérablement la distance de freinage et même évacuer la boue lorsque la piste devient plus compliquée par la pluie. <br><br>Le pilotage est maintenant plus précis, plus rapide et plus sûre. Le hot Seat intègre la nouvelle carcasse XtremShield conçue pour le gravity qui permet de rouler à basse pression tout en maintenant la rigidité structurelle du pneu et en protégeant votre descente contre les terribles crevaisons.<br><br><br><br>E25:<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br> électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br> certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br> plus élevées, tels que le vélo électrique.<br><br><br> <br><br><br><br><br>   <br><br><br>?<br><br><br>?<br><br><br>?<br><br><br>?<br><br><br>?<br><br><br>Garanties<br><br><br>|<br><br><br>Catalogue<br><br><br>|<br><br><br><br><br><br><br><br><br>N° art fourn : HOT275240TLR1CX\"',`product_name`='MSC PNEU HOT SEAT 27.5X2.40 TLR 1C DH XTREM SHIELD 60TPI  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-27-5x2-40-tlr-1c-dh-xtrem-shield-60tpi-noir' WHERE `virtuemart_product_id` = '1863782'
2023-10-13	13:40:38	4291	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:38	4291	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:38	4291	[DEBUG]	Use field value for field taille
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:38	4291	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:38	4291	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:38	4291	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:38	4291	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:38	4291	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:38	4291	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:38	4291	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:38	4291	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:38	4291	[DEBUG]	Use field value for field published
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:38	4291	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field override
2023-10-13	13:40:38	4291	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:38	4291	[DEBUG]	Use field value for field slug
2023-10-13	13:40:38	4291	[DEBUG]	Process line 4291
2023-10-13	13:40:38	4291	[DEBUG]	Load a row
2023-10-13	13:40:38	4291	[DEBUG]	Processing item: 8435466217075
2023-10-13	13:40:38	4291	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:38	4291	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:38	4291	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9372_1'
2023-10-13	13:40:38	4291	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:38	4291	[DEBUG]	Processing product tax
2023-10-13	13:40:38	4291	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:38	4291	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:38	4291	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:38	4291	[DEBUG]	Query for Product
2023-10-13	13:40:38	4291	[DEBUG]	Executed store
2023-10-13	13:40:38	4291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863782','8435466217075','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:38	4291	[DEBUG]	No parent found
2023-10-13	13:40:38	4291	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863782 AND customfield_value = 'stockable'
2023-10-13	13:40:38	4291	[DEBUG]	Check product language entry
2023-10-13	13:40:38	4291	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863783
2023-10-13	13:40:38	4291	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:38	4291	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466217075' AND `virtuemart_product_id` != 1863783
2023-10-13	13:40:38	4291	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:38	4291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863783, '8435466217075')
2023-10-13	13:40:38	4291	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:38	4291	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-27-5x2-40-tlr-1c-dh-xtrem-shield-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863783
2023-10-13	13:40:38	4291	[DEBUG]	Query for ProductLang
2023-10-13	13:40:38	4291	[DEBUG]	Executed store
2023-10-13	13:40:38	4291	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU HOT SEAT 27.5X2.40 TLR 1C DH XTREM SHIELD 60TPI  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-27-5x2-40-tlr-1c-dh-xtrem-shield-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863783'
2023-10-13	13:40:38	4291	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38473_pneu_hot_seat_27_5x2_40_tlr_1c_dh_xtrem_shield_60tpi_.jpg
2023-10-13	13:40:38	4291	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:40:38	4291	[DEBUG]	Process image file
2023-10-13	13:40:38	4291	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:40:38	4291	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:38	4291	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38473_pneu_hot_seat_27_5x2_40_tlr_1c_dh_xtrem_shield_60tpi_.jpg
2023-10-13	13:40:38	4291	[DEBUG]	Full name target: bcprisme/38473_pneu_hot_seat_27_5x2_40_tlr_1c_dh_xtrem_shield_60tpi_.jpg
2023-10-13	13:40:39	4291	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:39	4291	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38473_pneu_hot_seat_27_5x2_40_tlr_1c_dh_xtrem_shield_60tpi_.jpg'
2023-10-13	13:40:39	4291	[DEBUG]	Query for Media
2023-10-13	13:40:39	4291	[DEBUG]	Executed store
2023-10-13	13:40:39	4291	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38473_pneu_hot_seat_27_5x2_40_tlr_1c_dh_xtrem_shield_60tpi_.jpg',`file_url_thumb`='bcprisme/38473_pneu_hot_seat_27_5x2_40_tlr_1c_dh_xtrem_shield_60tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1511972'
2023-10-13	13:40:39	4291	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:39	4291	[DEBUG]	Executed store
2023-10-13	13:40:39	4291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863783','1511972','1')
2023-10-13	13:40:39	4291	[DEBUG]	Store product image relation
2023-10-13	13:40:39	4291	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:39	4291	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863783 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:39	4291	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:39	4291	[DEBUG]	Executed store
2023-10-13	13:40:39	4291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863783','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:39	4291	[DEBUG]	Checking manufacturer
2023-10-13	13:40:39	4291	[DEBUG]	Load a row
2023-10-13	13:40:39	4291	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:39	4291	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:39	4291	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:39	4291	[DEBUG]	Executed store
2023-10-13	13:40:39	4291	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:39	4291	[DEBUG]	Manufacturer exists
2023-10-13	13:40:39	4291	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:39	4291	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:39	4291	[DEBUG]	Executed store
2023-10-13	13:40:39	4291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863783','32')
2023-10-13	13:40:39	4291	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:39	4291	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:39	4291	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863783 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:39	4291	[DEBUG]	Store custom available field
2023-10-13	13:40:39	4291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863783,3,'',1)
2023-10-13	13:40:39	4291	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:39	4291	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:39	4291	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863783 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:39	4291	[DEBUG]	Store custom available field
2023-10-13	13:40:39	4291	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863783,6,'Unitaire',3)
2023-10-13	13:40:39	4291	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:39	4291	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:39	4291	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863782
2023-10-13	13:40:39	4291	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:39	4291	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[]|clabels=0|options={\"1863783\":[]}|' WHERE `virtuemart_product_id` = 1863782
2023-10-13	13:40:39	4291	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:39	4291	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863783
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:39	4292	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field taille
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:39	4292	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:39	4292	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:39	4292	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:39	4292	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:39	4292	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:39	4292	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field published
2023-10-13	13:40:39	4292	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:39	4292	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field override
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:39	4292	[DEBUG]	Use field value for field slug
2023-10-13	13:40:39	4292	[DEBUG]	Process line 4292
2023-10-13	13:40:39	4292	[DEBUG]	Load a row
2023-10-13	13:40:39	4292	[DEBUG]	Processing item: A_9392_1
2023-10-13	13:40:39	4292	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:39	4292	[DEBUG]	Processing product tax
2023-10-13	13:40:39	4292	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:39	4292	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:39	4292	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:39	4292	[DEBUG]	Query for Product
2023-10-13	13:40:39	4292	[DEBUG]	Executed store
2023-10-13	13:40:39	4292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9392_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:39	4292	[DEBUG]	Check product language entry
2023-10-13	13:40:39	4292	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863784
2023-10-13	13:40:39	4292	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:39	4292	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9392_1' AND `virtuemart_product_id` != 1863784
2023-10-13	13:40:39	4292	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:39	4292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863784, 'A_9392_1')
2023-10-13	13:40:39	4292	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:39	4292	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-singletrack-27-5-x-2-20-tlr-2c-dh-supershield-60-tpi-noir' AND `virtuemart_product_id` != 1863784
2023-10-13	13:40:39	4292	[DEBUG]	Query for ProductLang
2023-10-13	13:40:39	4292	[DEBUG]	Executed store
2023-10-13	13:40:39	4292	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : SIN275220TLR2CS',`product_name`='MSC PNEU SINGLETRACK 27,5 X 2.20 TLR  2C DH SUPERSHIELD  60 TPI   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-singletrack-27-5-x-2-20-tlr-2c-dh-supershield-60-tpi-noir' WHERE `virtuemart_product_id` = '1863784'
2023-10-13	13:40:39	4292	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38588_pneu_singletrack_27,5_x_2_20_tlr__2c_dh_supershield__60_tpi__.png
2023-10-13	13:40:39	4292	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:40:39	4292	[DEBUG]	Process image file
2023-10-13	13:40:39	4292	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:40:39	4292	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:39	4292	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38588_pneu_singletrack_27,5_x_2_20_tlr__2c_dh_supershield__60_tpi__.png
2023-10-13	13:40:39	4292	[DEBUG]	Full name target: bcprisme/38588_pneu_singletrack_27,5_x_2_20_tlr__2c_dh_supershield__60_tpi__.png
2023-10-13	13:40:40	4292	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:40	4292	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38588_pneu_singletrack_27,5_x_2_20_tlr__2c_dh_supershield__60_tpi__.png'
2023-10-13	13:40:40	4292	[DEBUG]	Query for Media
2023-10-13	13:40:40	4292	[DEBUG]	Executed store
2023-10-13	13:40:40	4292	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38588_pneu_singletrack_27,5_x_2_20_tlr__2c_dh_supershield__60_tpi__.png',`file_url_thumb`='bcprisme/38588_pneu_singletrack_27,5_x_2_20_tlr__2c_dh_supershield__60_tpi__.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1415950'
2023-10-13	13:40:40	4292	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:40	4292	[DEBUG]	Executed store
2023-10-13	13:40:40	4292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863784','1415950','1')
2023-10-13	13:40:40	4292	[DEBUG]	Store product image relation
2023-10-13	13:40:40	4292	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:40	4292	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863784 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:40	4292	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:40	4292	[DEBUG]	Executed store
2023-10-13	13:40:40	4292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863784','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:40	4292	[DEBUG]	Checking manufacturer
2023-10-13	13:40:40	4292	[DEBUG]	Load a row
2023-10-13	13:40:40	4292	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:40	4292	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:40	4292	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:40	4292	[DEBUG]	Executed store
2023-10-13	13:40:40	4292	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:40	4292	[DEBUG]	Manufacturer exists
2023-10-13	13:40:40	4292	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:40	4292	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:40	4292	[DEBUG]	Executed store
2023-10-13	13:40:40	4292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863784','32')
2023-10-13	13:40:40	4292	[DEBUG]	Find the custom field ID
2023-10-13	13:40:40	4292	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:40	4292	[DEBUG]	No custom field ID found
2023-10-13	13:40:40	4292	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:40	4292	[DEBUG]	Get existing row with customfield value 46.7697222222222
2023-10-13	13:40:40	4292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863784 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:40	4292	[DEBUG]	Store custom available field
2023-10-13	13:40:40	4292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863784,3,'46.7697222222222',1)
2023-10-13	13:40:40	4292	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:40	4292	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:40	4292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863784 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:40	4292	[DEBUG]	Store custom available field
2023-10-13	13:40:40	4292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863784,6,'choisir la taille',3)
2023-10-13	13:40:40	4292	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:40	4292	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:40	4292	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:40	4292	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:40	4292	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863784 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:40	4292	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:40	4292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863784,8,1)
2023-10-13	13:40:40	4292	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:40	4292	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863784\":[1863784,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863784
2023-10-13	13:40:40	4292	[DEBUG]	Checking category
2023-10-13	13:40:40	4292	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:40	4292	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863784
2023-10-13	13:40:40	4292	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:40	4292	[DEBUG]	Executed store
2023-10-13	13:40:40	4292	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863784','7410')
2023-10-13	13:40:40	4292	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:40	4292	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863784 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:40	4292	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:40	4292	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863784
2023-10-13	13:40:40	4293	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:40	4293	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:40	4293	[DEBUG]	Use field value for field taille
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:40	4293	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:40	4293	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:40	4293	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:40	4293	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:40	4293	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:40	4293	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:40	4293	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:40	4293	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:40	4293	[DEBUG]	Use field value for field published
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:40	4293	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field override
2023-10-13	13:40:40	4293	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:40	4293	[DEBUG]	Use field value for field slug
2023-10-13	13:40:40	4293	[DEBUG]	Process line 4293
2023-10-13	13:40:40	4293	[DEBUG]	Load a row
2023-10-13	13:40:40	4293	[DEBUG]	Processing item: 8435466216450
2023-10-13	13:40:40	4293	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:40	4293	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:40	4293	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9392_1'
2023-10-13	13:40:40	4293	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:40	4293	[DEBUG]	Processing product tax
2023-10-13	13:40:40	4293	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:40	4293	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:40	4293	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:40	4293	[DEBUG]	Query for Product
2023-10-13	13:40:40	4293	[DEBUG]	Executed store
2023-10-13	13:40:40	4293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863784','8435466216450','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:40	4293	[DEBUG]	No parent found
2023-10-13	13:40:40	4293	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863784 AND customfield_value = 'stockable'
2023-10-13	13:40:40	4293	[DEBUG]	Check product language entry
2023-10-13	13:40:40	4293	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863785
2023-10-13	13:40:40	4293	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:40	4293	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216450' AND `virtuemart_product_id` != 1863785
2023-10-13	13:40:40	4293	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:40	4293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863785, '8435466216450')
2023-10-13	13:40:40	4293	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:40	4293	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-singletrack-27-5-x-2-20-tlr-2c-dh-supershield-60-tpi-noir-unitaire' AND `virtuemart_product_id` != 1863785
2023-10-13	13:40:40	4293	[DEBUG]	Query for ProductLang
2023-10-13	13:40:40	4293	[DEBUG]	Executed store
2023-10-13	13:40:40	4293	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU SINGLETRACK 27,5 X 2.20 TLR  2C DH SUPERSHIELD  60 TPI   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-singletrack-27-5-x-2-20-tlr-2c-dh-supershield-60-tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863785'
2023-10-13	13:40:40	4293	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38588_pneu_singletrack_27,5_x_2_20_tlr__2c_dh_supershield__60_tpi__.png
2023-10-13	13:40:40	4293	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:40:40	4293	[DEBUG]	Process image file
2023-10-13	13:40:40	4293	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:40:40	4293	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:40	4293	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38588_pneu_singletrack_27,5_x_2_20_tlr__2c_dh_supershield__60_tpi__.png
2023-10-13	13:40:40	4293	[DEBUG]	Full name target: bcprisme/38588_pneu_singletrack_27,5_x_2_20_tlr__2c_dh_supershield__60_tpi__.png
2023-10-13	13:40:41	4293	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:41	4293	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38588_pneu_singletrack_27,5_x_2_20_tlr__2c_dh_supershield__60_tpi__.png'
2023-10-13	13:40:41	4293	[DEBUG]	Query for Media
2023-10-13	13:40:41	4293	[DEBUG]	Executed store
2023-10-13	13:40:41	4293	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/38588_pneu_singletrack_27,5_x_2_20_tlr__2c_dh_supershield__60_tpi__.png',`file_url_thumb`='bcprisme/38588_pneu_singletrack_27,5_x_2_20_tlr__2c_dh_supershield__60_tpi__.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1415950'
2023-10-13	13:40:41	4293	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:41	4293	[DEBUG]	Executed store
2023-10-13	13:40:41	4293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863785','1415950','1')
2023-10-13	13:40:41	4293	[DEBUG]	Store product image relation
2023-10-13	13:40:41	4293	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:41	4293	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863785 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:41	4293	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:41	4293	[DEBUG]	Executed store
2023-10-13	13:40:41	4293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863785','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:41	4293	[DEBUG]	Checking manufacturer
2023-10-13	13:40:41	4293	[DEBUG]	Load a row
2023-10-13	13:40:41	4293	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:41	4293	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:41	4293	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:41	4293	[DEBUG]	Executed store
2023-10-13	13:40:41	4293	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:40:41	4293	[DEBUG]	Manufacturer exists
2023-10-13	13:40:41	4293	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:40:41	4293	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:41	4293	[DEBUG]	Executed store
2023-10-13	13:40:41	4293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863785','32')
2023-10-13	13:40:41	4293	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:41	4293	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:41	4293	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863785 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:41	4293	[DEBUG]	Store custom available field
2023-10-13	13:40:41	4293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863785,3,'',1)
2023-10-13	13:40:41	4293	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:41	4293	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:41	4293	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863785 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:41	4293	[DEBUG]	Store custom available field
2023-10-13	13:40:41	4293	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863785,6,'Unitaire',3)
2023-10-13	13:40:41	4293	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:41	4293	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:41	4293	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863784
2023-10-13	13:40:41	4293	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:41	4293	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863784\":[1863784,8,1,\"choisir la taille\"],\"1863785\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863784
2023-10-13	13:40:41	4293	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:41	4293	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863785
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:41	4294	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field taille
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:41	4294	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:41	4294	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:41	4294	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:41	4294	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:41	4294	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:41	4294	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:41	4294	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field published
2023-10-13	13:40:41	4294	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:41	4294	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field override
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:41	4294	[DEBUG]	Use field value for field slug
2023-10-13	13:40:41	4294	[DEBUG]	Process line 4294
2023-10-13	13:40:41	4294	[DEBUG]	Load a row
2023-10-13	13:40:41	4294	[DEBUG]	Processing item: A_9815_84
2023-10-13	13:40:41	4294	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:41	4294	[DEBUG]	Processing product tax
2023-10-13	13:40:41	4294	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:41	4294	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:41	4294	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:41	4294	[DEBUG]	Query for Product
2023-10-13	13:40:41	4294	[DEBUG]	Executed store
2023-10-13	13:40:41	4294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9815_84','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:41	4294	[DEBUG]	Check product language entry
2023-10-13	13:40:41	4294	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863786
2023-10-13	13:40:41	4294	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:41	4294	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9815_84' AND `virtuemart_product_id` != 1863786
2023-10-13	13:40:41	4294	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:41	4294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863786, 'A_9815_84')
2023-10-13	13:40:41	4294	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:41	4294	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-smart-sam-27-5x2-60-rigide-double-defense-black-black' AND `virtuemart_product_id` != 1863786
2023-10-13	13:40:41	4294	[DEBUG]	Query for ProductLang
2023-10-13	13:40:41	4294	[DEBUG]	Executed store
2023-10-13	13:40:41	4294	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.69022',`product_name`='SCHWALBE Pneu Smart Sam 27.5x2.60 rigide Double Defense black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-smart-sam-27-5x2-60-rigide-double-defense-black-black' WHERE `virtuemart_product_id` = '1863786'
2023-10-13	13:40:41	4294	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39280_pneu_smart_sam_27_5x2_60_rigide_double_defense_black.png
2023-10-13	13:40:41	4294	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000244
2023-10-13	13:40:41	4294	[DEBUG]	Process image file
2023-10-13	13:40:41	4294	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000244
2023-10-13	13:40:41	4294	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:41	4294	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39280_pneu_smart_sam_27_5x2_60_rigide_double_defense_black.png
2023-10-13	13:40:41	4294	[DEBUG]	Full name target: bcprisme/39280_pneu_smart_sam_27_5x2_60_rigide_double_defense_black.png
2023-10-13	13:40:42	4294	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:42	4294	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39280_pneu_smart_sam_27_5x2_60_rigide_double_defense_black.png'
2023-10-13	13:40:42	4294	[DEBUG]	Query for Media
2023-10-13	13:40:42	4294	[DEBUG]	Executed store
2023-10-13	13:40:42	4294	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/39280_pneu_smart_sam_27_5x2_60_rigide_double_defense_black.png',`file_url_thumb`='bcprisme/39280_pneu_smart_sam_27_5x2_60_rigide_double_defense_black.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1612230'
2023-10-13	13:40:42	4294	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:42	4294	[DEBUG]	Executed store
2023-10-13	13:40:42	4294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863786','1612230','1')
2023-10-13	13:40:42	4294	[DEBUG]	Store product image relation
2023-10-13	13:40:42	4294	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:42	4294	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863786 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:42	4294	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:42	4294	[DEBUG]	Executed store
2023-10-13	13:40:42	4294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863786','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:42	4294	[DEBUG]	Checking manufacturer
2023-10-13	13:40:42	4294	[DEBUG]	Load a row
2023-10-13	13:40:42	4294	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:42	4294	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:40:42	4294	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:42	4294	[DEBUG]	Executed store
2023-10-13	13:40:42	4294	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:40:42	4294	[DEBUG]	Manufacturer exists
2023-10-13	13:40:42	4294	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:40:42	4294	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:42	4294	[DEBUG]	Executed store
2023-10-13	13:40:42	4294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863786','24')
2023-10-13	13:40:42	4294	[DEBUG]	Find the custom field ID
2023-10-13	13:40:42	4294	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:42	4294	[DEBUG]	No custom field ID found
2023-10-13	13:40:42	4294	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:42	4294	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:40:42	4294	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863786 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:42	4294	[DEBUG]	Store custom available field
2023-10-13	13:40:42	4294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863786,3,'0',1)
2023-10-13	13:40:42	4294	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:42	4294	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:42	4294	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863786 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:42	4294	[DEBUG]	Store custom available field
2023-10-13	13:40:42	4294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863786,6,'choisir la taille',3)
2023-10-13	13:40:42	4294	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:42	4294	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:42	4294	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:42	4294	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:42	4294	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863786 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:42	4294	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:42	4294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863786,8,1)
2023-10-13	13:40:42	4294	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:42	4294	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863786\":[1863786,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863786
2023-10-13	13:40:42	4294	[DEBUG]	Checking category
2023-10-13	13:40:42	4294	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:42	4294	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863786
2023-10-13	13:40:42	4294	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:42	4294	[DEBUG]	Executed store
2023-10-13	13:40:42	4294	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863786','7410')
2023-10-13	13:40:42	4294	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:42	4294	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863786 AND `virtuemart_category_id` NOT IN (7410)
2023-10-13	13:40:42	4294	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:42	4294	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863786
2023-10-13	13:40:42	4295	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:42	4295	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:42	4295	[DEBUG]	Use field value for field taille
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:42	4295	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:42	4295	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:42	4295	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:42	4295	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:42	4295	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:42	4295	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:42	4295	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:42	4295	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:42	4295	[DEBUG]	Use field value for field published
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:42	4295	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field override
2023-10-13	13:40:42	4295	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:42	4295	[DEBUG]	Use field value for field slug
2023-10-13	13:40:42	4295	[DEBUG]	Process line 4295
2023-10-13	13:40:42	4295	[DEBUG]	Load a row
2023-10-13	13:40:42	4295	[DEBUG]	Processing item: 4026495820363
2023-10-13	13:40:42	4295	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:42	4295	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:42	4295	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9815_84'
2023-10-13	13:40:42	4295	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:42	4295	[DEBUG]	Processing product tax
2023-10-13	13:40:42	4295	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:42	4295	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:42	4295	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:42	4295	[DEBUG]	Query for Product
2023-10-13	13:40:42	4295	[DEBUG]	Executed store
2023-10-13	13:40:42	4295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863786','4026495820363','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:42	4295	[DEBUG]	No parent found
2023-10-13	13:40:42	4295	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863786 AND customfield_value = 'stockable'
2023-10-13	13:40:42	4295	[DEBUG]	Check product language entry
2023-10-13	13:40:42	4295	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863787
2023-10-13	13:40:42	4295	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:42	4295	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495820363' AND `virtuemart_product_id` != 1863787
2023-10-13	13:40:42	4295	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:42	4295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863787, '4026495820363')
2023-10-13	13:40:42	4295	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:42	4295	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-smart-sam-27-5x2-60-rigide-double-defense-black-black-unitaire' AND `virtuemart_product_id` != 1863787
2023-10-13	13:40:42	4295	[DEBUG]	Query for ProductLang
2023-10-13	13:40:42	4295	[DEBUG]	Executed store
2023-10-13	13:40:42	4295	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Smart Sam 27.5x2.60 rigide Double Defense black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-smart-sam-27-5x2-60-rigide-double-defense-black-black-unitaire' WHERE `virtuemart_product_id` = '1863787'
2023-10-13	13:40:42	4295	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39280_pneu_smart_sam_27_5x2_60_rigide_double_defense_black.png
2023-10-13	13:40:42	4295	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000244
2023-10-13	13:40:42	4295	[DEBUG]	Process image file
2023-10-13	13:40:42	4295	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000244
2023-10-13	13:40:42	4295	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:42	4295	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/39280_pneu_smart_sam_27_5x2_60_rigide_double_defense_black.png
2023-10-13	13:40:42	4295	[DEBUG]	Full name target: bcprisme/39280_pneu_smart_sam_27_5x2_60_rigide_double_defense_black.png
2023-10-13	13:40:43	4295	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:43	4295	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/39280_pneu_smart_sam_27_5x2_60_rigide_double_defense_black.png'
2023-10-13	13:40:43	4295	[DEBUG]	Query for Media
2023-10-13	13:40:43	4295	[DEBUG]	Executed store
2023-10-13	13:40:43	4295	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/39280_pneu_smart_sam_27_5x2_60_rigide_double_defense_black.png',`file_url_thumb`='bcprisme/39280_pneu_smart_sam_27_5x2_60_rigide_double_defense_black.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1612230'
2023-10-13	13:40:43	4295	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:43	4295	[DEBUG]	Executed store
2023-10-13	13:40:43	4295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863787','1612230','1')
2023-10-13	13:40:43	4295	[DEBUG]	Store product image relation
2023-10-13	13:40:43	4295	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:43	4295	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863787 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:43	4295	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:43	4295	[DEBUG]	Executed store
2023-10-13	13:40:43	4295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863787','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:43	4295	[DEBUG]	Checking manufacturer
2023-10-13	13:40:43	4295	[DEBUG]	Load a row
2023-10-13	13:40:43	4295	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:43	4295	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:40:43	4295	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:43	4295	[DEBUG]	Executed store
2023-10-13	13:40:43	4295	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:40:43	4295	[DEBUG]	Manufacturer exists
2023-10-13	13:40:43	4295	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:40:43	4295	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:43	4295	[DEBUG]	Executed store
2023-10-13	13:40:43	4295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863787','24')
2023-10-13	13:40:43	4295	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:43	4295	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:43	4295	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863787 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:43	4295	[DEBUG]	Store custom available field
2023-10-13	13:40:43	4295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863787,3,'',1)
2023-10-13	13:40:43	4295	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:43	4295	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:43	4295	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863787 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:43	4295	[DEBUG]	Store custom available field
2023-10-13	13:40:43	4295	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863787,6,'Unitaire',3)
2023-10-13	13:40:43	4295	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:43	4295	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:43	4295	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863786
2023-10-13	13:40:43	4295	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:43	4295	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863786\":[1863786,8,1,\"choisir la taille\"],\"1863787\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863786
2023-10-13	13:40:43	4295	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:43	4295	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863787
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:43	4296	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field taille
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:43	4296	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:43	4296	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:43	4296	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:43	4296	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:43	4296	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:43	4296	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field published
2023-10-13	13:40:43	4296	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:43	4296	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field override
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:43	4296	[DEBUG]	Use field value for field slug
2023-10-13	13:40:43	4296	[DEBUG]	Process line 4296
2023-10-13	13:40:43	4296	[DEBUG]	Load a row
2023-10-13	13:40:43	4296	[DEBUG]	Processing item: A_5520_1
2023-10-13	13:40:43	4296	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:43	4296	[DEBUG]	Processing product tax
2023-10-13	13:40:43	4296	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:43	4296	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:43	4296	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:43	4296	[DEBUG]	Query for Product
2023-10-13	13:40:43	4296	[DEBUG]	Executed store
2023-10-13	13:40:43	4296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5520_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:43	4296	[DEBUG]	Check product language entry
2023-10-13	13:40:43	4296	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863788
2023-10-13	13:40:43	4296	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:43	4296	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5520_1' AND `virtuemart_product_id` != 1863788
2023-10-13	13:40:43	4296	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:43	4296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863788, 'A_5520_1')
2023-10-13	13:40:43	4296	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:43	4296	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-road-delta-cruiser-plus-28x1-25-green-guard-noir' AND `virtuemart_product_id` != 1863788
2023-10-13	13:40:43	4296	[DEBUG]	Query for ProductLang
2023-10-13	13:40:43	4296	[DEBUG]	Executed store
2023-10-13	13:40:43	4296	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.03.161',`product_name`='SCHWALBE PNEU Road Delta Cruiser Plus 28x1.25 Green Guard / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-road-delta-cruiser-plus-28x1-25-green-guard-noir' WHERE `virtuemart_product_id` = '1863788'
2023-10-13	13:40:43	4296	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30022_pneu_road_delta_cruiser_28x1_40_green_compound.png
2023-10-13	13:40:43	4296	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000244
2023-10-13	13:40:43	4296	[DEBUG]	Process image file
2023-10-13	13:40:43	4296	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000244
2023-10-13	13:40:43	4296	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:43	4296	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30022_pneu_road_delta_cruiser_28x1_40_green_compound.png
2023-10-13	13:40:43	4296	[DEBUG]	Full name target: bcprisme/30022_pneu_road_delta_cruiser_28x1_40_green_compound.png
2023-10-13	13:40:44	4296	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:44	4296	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30022_pneu_road_delta_cruiser_28x1_40_green_compound.png'
2023-10-13	13:40:44	4296	[DEBUG]	Query for Media
2023-10-13	13:40:44	4296	[DEBUG]	Executed store
2023-10-13	13:40:44	4296	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/30022_pneu_road_delta_cruiser_28x1_40_green_compound.png',`file_url_thumb`='bcprisme/30022_pneu_road_delta_cruiser_28x1_40_green_compound.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382019'
2023-10-13	13:40:44	4296	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:44	4296	[DEBUG]	Executed store
2023-10-13	13:40:44	4296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863788','382019','1')
2023-10-13	13:40:44	4296	[DEBUG]	Store product image relation
2023-10-13	13:40:44	4296	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:44	4296	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863788 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:44	4296	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:44	4296	[DEBUG]	Executed store
2023-10-13	13:40:44	4296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863788','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:44	4296	[DEBUG]	Checking manufacturer
2023-10-13	13:40:44	4296	[DEBUG]	Load a row
2023-10-13	13:40:44	4296	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:44	4296	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:44	4296	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:44	4296	[DEBUG]	Executed store
2023-10-13	13:40:44	4296	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:44	4296	[DEBUG]	Manufacturer exists
2023-10-13	13:40:44	4296	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:44	4296	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:44	4296	[DEBUG]	Executed store
2023-10-13	13:40:44	4296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863788','25')
2023-10-13	13:40:44	4296	[DEBUG]	Find the custom field ID
2023-10-13	13:40:44	4296	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:44	4296	[DEBUG]	No custom field ID found
2023-10-13	13:40:44	4296	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:44	4296	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:40:44	4296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863788 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:44	4296	[DEBUG]	Store custom available field
2023-10-13	13:40:44	4296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863788,3,'0',1)
2023-10-13	13:40:44	4296	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:44	4296	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:44	4296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863788 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:44	4296	[DEBUG]	Store custom available field
2023-10-13	13:40:44	4296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863788,6,'choisir la taille',3)
2023-10-13	13:40:44	4296	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:44	4296	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:44	4296	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:44	4296	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:44	4296	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863788 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:44	4296	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:44	4296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863788,8,1)
2023-10-13	13:40:44	4296	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:44	4296	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863788\":[1863788,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863788
2023-10-13	13:40:44	4296	[DEBUG]	Checking category
2023-10-13	13:40:44	4296	[DEBUG]	Check if category path exists: PNEUS 28- REIFEN 28
2023-10-13	13:40:44	4296	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS 28- REIFEN 28' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:40:44	4296	[DEBUG]	Query for Category
2023-10-13	13:40:44	4296	[DEBUG]	Executed store
2023-10-13	13:40:44	4296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','15','0','1','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:44	4296	[DEBUG]	Category publish 1
2023-10-13	13:40:44	4296	[DEBUG]	Check the category language
2023-10-13	13:40:44	4296	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7411
2023-10-13	13:40:44	4296	[DEBUG]	Check the category slug
2023-10-13	13:40:44	4296	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-28--reifen-28' AND `virtuemart_category_id` != 7411
2023-10-13	13:40:44	4296	[DEBUG]	Check the category slug
2023-10-13	13:40:44	4296	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-28--reifen-28' AND `virtuemart_category_id` != 7411
2023-10-13	13:40:44	4296	[DEBUG]	Add the category language entry
2023-10-13	13:40:44	4296	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7411, 'pneus-28--reifen-28')
2023-10-13	13:40:44	4296	[DEBUG]	Query for CategoryLang
2023-10-13	13:40:44	4296	[DEBUG]	Executed store
2023-10-13	13:40:44	4296	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PNEUS 28- REIFEN 28',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pneus-28--reifen-28' WHERE `virtuemart_category_id` = '7411'
2023-10-13	13:40:44	4296	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:40:44	4296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7411','0')
2023-10-13	13:40:44	4296	[DEBUG]	Update has field for parent category
2023-10-13	13:40:44	4296	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:40:44	4296	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:44	4296	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863788
2023-10-13	13:40:44	4296	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:44	4296	[DEBUG]	Executed store
2023-10-13	13:40:44	4296	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863788','7411')
2023-10-13	13:40:44	4296	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:44	4296	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863788 AND `virtuemart_category_id` NOT IN (7411)
2023-10-13	13:40:44	4296	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:44	4296	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863788
2023-10-13	13:40:44	4297	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:44	4297	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:44	4297	[DEBUG]	Use field value for field taille
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:44	4297	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:44	4297	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:44	4297	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:44	4297	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:44	4297	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:44	4297	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:44	4297	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:44	4297	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:44	4297	[DEBUG]	Use field value for field published
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:44	4297	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field override
2023-10-13	13:40:44	4297	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:44	4297	[DEBUG]	Use field value for field slug
2023-10-13	13:40:44	4297	[DEBUG]	Process line 4297
2023-10-13	13:40:44	4297	[DEBUG]	Load a row
2023-10-13	13:40:44	4297	[DEBUG]	Processing item: 4026495812726
2023-10-13	13:40:44	4297	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:44	4297	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:44	4297	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5520_1'
2023-10-13	13:40:44	4297	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:44	4297	[DEBUG]	Processing product tax
2023-10-13	13:40:44	4297	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:44	4297	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:44	4297	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:44	4297	[DEBUG]	Query for Product
2023-10-13	13:40:44	4297	[DEBUG]	Executed store
2023-10-13	13:40:44	4297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863788','4026495812726','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:44	4297	[DEBUG]	No parent found
2023-10-13	13:40:44	4297	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863788 AND customfield_value = 'stockable'
2023-10-13	13:40:44	4297	[DEBUG]	Check product language entry
2023-10-13	13:40:44	4297	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863789
2023-10-13	13:40:44	4297	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:44	4297	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495812726' AND `virtuemart_product_id` != 1863789
2023-10-13	13:40:44	4297	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:44	4297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863789, '4026495812726')
2023-10-13	13:40:44	4297	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:44	4297	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-road-delta-cruiser-plus-28x1-25-green-guard-noir-unitaire' AND `virtuemart_product_id` != 1863789
2023-10-13	13:40:44	4297	[DEBUG]	Query for ProductLang
2023-10-13	13:40:44	4297	[DEBUG]	Executed store
2023-10-13	13:40:44	4297	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU Road Delta Cruiser Plus 28x1.25 Green Guard / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-road-delta-cruiser-plus-28x1-25-green-guard-noir-unitaire' WHERE `virtuemart_product_id` = '1863789'
2023-10-13	13:40:44	4297	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30022_pneu_road_delta_cruiser_28x1_40_green_compound.png
2023-10-13	13:40:44	4297	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000244
2023-10-13	13:40:44	4297	[DEBUG]	Process image file
2023-10-13	13:40:44	4297	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000244
2023-10-13	13:40:44	4297	[DEBUG]	Mime type found: image/png
2023-10-13	13:40:44	4297	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30022_pneu_road_delta_cruiser_28x1_40_green_compound.png
2023-10-13	13:40:44	4297	[DEBUG]	Full name target: bcprisme/30022_pneu_road_delta_cruiser_28x1_40_green_compound.png
2023-10-13	13:40:45	4297	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:45	4297	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30022_pneu_road_delta_cruiser_28x1_40_green_compound.png'
2023-10-13	13:40:45	4297	[DEBUG]	Query for Media
2023-10-13	13:40:45	4297	[DEBUG]	Executed store
2023-10-13	13:40:45	4297	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/30022_pneu_road_delta_cruiser_28x1_40_green_compound.png',`file_url_thumb`='bcprisme/30022_pneu_road_delta_cruiser_28x1_40_green_compound.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382019'
2023-10-13	13:40:45	4297	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:45	4297	[DEBUG]	Executed store
2023-10-13	13:40:45	4297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863789','382019','1')
2023-10-13	13:40:45	4297	[DEBUG]	Store product image relation
2023-10-13	13:40:45	4297	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:45	4297	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863789 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:45	4297	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:45	4297	[DEBUG]	Executed store
2023-10-13	13:40:45	4297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863789','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:45	4297	[DEBUG]	Checking manufacturer
2023-10-13	13:40:45	4297	[DEBUG]	Load a row
2023-10-13	13:40:45	4297	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:45	4297	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:45	4297	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:45	4297	[DEBUG]	Executed store
2023-10-13	13:40:45	4297	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:45	4297	[DEBUG]	Manufacturer exists
2023-10-13	13:40:45	4297	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:45	4297	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:45	4297	[DEBUG]	Executed store
2023-10-13	13:40:45	4297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863789','25')
2023-10-13	13:40:45	4297	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:45	4297	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:45	4297	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863789 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:45	4297	[DEBUG]	Store custom available field
2023-10-13	13:40:45	4297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863789,3,'',1)
2023-10-13	13:40:45	4297	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:45	4297	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:45	4297	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863789 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:45	4297	[DEBUG]	Store custom available field
2023-10-13	13:40:45	4297	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863789,6,'Unitaire',3)
2023-10-13	13:40:45	4297	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:45	4297	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:45	4297	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863788
2023-10-13	13:40:45	4297	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:45	4297	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863788\":[1863788,8,1,\"choisir la taille\"],\"1863789\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863788
2023-10-13	13:40:45	4297	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:45	4297	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863789
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:45	4298	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field taille
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:45	4298	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:45	4298	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:45	4298	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:45	4298	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:45	4298	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:45	4298	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field published
2023-10-13	13:40:45	4298	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:45	4298	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field override
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:45	4298	[DEBUG]	Use field value for field slug
2023-10-13	13:40:45	4298	[DEBUG]	Process line 4298
2023-10-13	13:40:45	4298	[DEBUG]	Load a row
2023-10-13	13:40:45	4298	[DEBUG]	Processing item: A_6306_1
2023-10-13	13:40:45	4298	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:45	4298	[DEBUG]	Processing product tax
2023-10-13	13:40:45	4298	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:45	4298	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:45	4298	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:45	4298	[DEBUG]	Query for Product
2023-10-13	13:40:45	4298	[DEBUG]	Executed store
2023-10-13	13:40:45	4298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6306_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:45	4298	[DEBUG]	Check product language entry
2023-10-13	13:40:45	4298	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863790
2023-10-13	13:40:45	4298	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:45	4298	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6306_1' AND `virtuemart_product_id` != 1863790
2023-10-13	13:40:45	4298	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:45	4298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863790, 'A_6306_1')
2023-10-13	13:40:45	4298	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:45	4298	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-marathon-plus-tour-28x1-75-reflex-performance-hs404-47-622-noir' AND `virtuemart_product_id` != 1863790
2023-10-13	13:40:45	4298	[DEBUG]	Query for ProductLang
2023-10-13	13:40:45	4298	[DEBUG]	Executed store
2023-10-13	13:40:45	4298	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : 10.55.04.396',`product_name`='SCHWALBE Pneu Schwalbe Marathon Plus Tour 28x1.75 reflex Performance HS404 47-622 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-marathon-plus-tour-28x1-75-reflex-performance-hs404-47-622-noir' WHERE `virtuemart_product_id` = '1863790'
2023-10-13	13:40:45	4298	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32165_pneu_schwalbe_marathon_plus_tour_28x1_75_reflex_performance_hs404_47-622.jpg
2023-10-13	13:40:45	4298	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:40:45	4298	[DEBUG]	Process image file
2023-10-13	13:40:45	4298	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:40:45	4298	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:45	4298	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32165_pneu_schwalbe_marathon_plus_tour_28x1_75_reflex_performance_hs404_47-622.jpg
2023-10-13	13:40:45	4298	[DEBUG]	Full name target: bcprisme/32165_pneu_schwalbe_marathon_plus_tour_28x1_75_reflex_performance_hs404_47-622.jpg
2023-10-13	13:40:46	4298	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:46	4298	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32165_pneu_schwalbe_marathon_plus_tour_28x1_75_reflex_performance_hs404_47-622.jpg'
2023-10-13	13:40:46	4298	[DEBUG]	Query for Media
2023-10-13	13:40:46	4298	[DEBUG]	Executed store
2023-10-13	13:40:46	4298	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32165_pneu_schwalbe_marathon_plus_tour_28x1_75_reflex_performance_hs404_47-622.jpg',`file_url_thumb`='bcprisme/32165_pneu_schwalbe_marathon_plus_tour_28x1_75_reflex_performance_hs404_47-622.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '361411'
2023-10-13	13:40:46	4298	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:46	4298	[DEBUG]	Executed store
2023-10-13	13:40:46	4298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863790','361411','1')
2023-10-13	13:40:46	4298	[DEBUG]	Store product image relation
2023-10-13	13:40:46	4298	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:46	4298	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863790 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:46	4298	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:46	4298	[DEBUG]	Executed store
2023-10-13	13:40:46	4298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863790','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:46	4298	[DEBUG]	Checking manufacturer
2023-10-13	13:40:46	4298	[DEBUG]	Load a row
2023-10-13	13:40:46	4298	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:46	4298	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:46	4298	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:46	4298	[DEBUG]	Executed store
2023-10-13	13:40:46	4298	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:46	4298	[DEBUG]	Manufacturer exists
2023-10-13	13:40:46	4298	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:46	4298	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:46	4298	[DEBUG]	Executed store
2023-10-13	13:40:46	4298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863790','25')
2023-10-13	13:40:46	4298	[DEBUG]	Find the custom field ID
2023-10-13	13:40:46	4298	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:46	4298	[DEBUG]	No custom field ID found
2023-10-13	13:40:46	4298	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:46	4298	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:40:46	4298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863790 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:46	4298	[DEBUG]	Store custom available field
2023-10-13	13:40:46	4298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863790,3,'39.7891666666667',1)
2023-10-13	13:40:46	4298	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:46	4298	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:46	4298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863790 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:46	4298	[DEBUG]	Store custom available field
2023-10-13	13:40:46	4298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863790,6,'choisir la taille',3)
2023-10-13	13:40:46	4298	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:46	4298	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:46	4298	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:46	4298	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:46	4298	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863790 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:46	4298	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:46	4298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863790,8,1)
2023-10-13	13:40:46	4298	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:46	4298	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863790\":[1863790,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863790
2023-10-13	13:40:46	4298	[DEBUG]	Checking category
2023-10-13	13:40:46	4298	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:46	4298	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863790
2023-10-13	13:40:46	4298	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:46	4298	[DEBUG]	Executed store
2023-10-13	13:40:46	4298	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863790','7411')
2023-10-13	13:40:46	4298	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:46	4298	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863790 AND `virtuemart_category_id` NOT IN (7411)
2023-10-13	13:40:46	4298	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:46	4298	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863790
2023-10-13	13:40:46	4299	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:46	4299	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:40:46	4299	[DEBUG]	Use field value for field taille
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:40:46	4299	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field category_path
2023-10-13	13:40:46	4299	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:46	4299	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:46	4299	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:46	4299	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:40:46	4299	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field product_weight
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:46	4299	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:46	4299	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:46	4299	[DEBUG]	Use field value for field published
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field custom_title
2023-10-13	13:40:46	4299	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field custom_param
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field override
2023-10-13	13:40:46	4299	[DEBUG]	Use default value for field public_price
2023-10-13	13:40:46	4299	[DEBUG]	Use field value for field slug
2023-10-13	13:40:46	4299	[DEBUG]	Process line 4299
2023-10-13	13:40:46	4299	[DEBUG]	Load a row
2023-10-13	13:40:46	4299	[DEBUG]	Processing item: 4026495778763
2023-10-13	13:40:46	4299	[DEBUG]	Looking for parent SKU
2023-10-13	13:40:46	4299	[DEBUG]	Checking product parent SKU
2023-10-13	13:40:46	4299	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6306_1'
2023-10-13	13:40:46	4299	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:46	4299	[DEBUG]	Processing product tax
2023-10-13	13:40:46	4299	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:46	4299	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:46	4299	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:46	4299	[DEBUG]	Query for Product
2023-10-13	13:40:46	4299	[DEBUG]	Executed store
2023-10-13	13:40:46	4299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863790','4026495778763','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:46	4299	[DEBUG]	No parent found
2023-10-13	13:40:46	4299	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863790 AND customfield_value = 'stockable'
2023-10-13	13:40:46	4299	[DEBUG]	Check product language entry
2023-10-13	13:40:46	4299	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863791
2023-10-13	13:40:46	4299	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:46	4299	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495778763' AND `virtuemart_product_id` != 1863791
2023-10-13	13:40:46	4299	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:46	4299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863791, '4026495778763')
2023-10-13	13:40:46	4299	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:46	4299	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-schwalbe-marathon-plus-tour-28x1-75-reflex-performance-hs404-47-622-noir-unitaire' AND `virtuemart_product_id` != 1863791
2023-10-13	13:40:46	4299	[DEBUG]	Query for ProductLang
2023-10-13	13:40:46	4299	[DEBUG]	Executed store
2023-10-13	13:40:46	4299	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Schwalbe Marathon Plus Tour 28x1.75 reflex Performance HS404 47-622 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-schwalbe-marathon-plus-tour-28x1-75-reflex-performance-hs404-47-622-noir-unitaire' WHERE `virtuemart_product_id` = '1863791'
2023-10-13	13:40:47	4299	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32165_pneu_schwalbe_marathon_plus_tour_28x1_75_reflex_performance_hs404_47-622.jpg
2023-10-13	13:40:47	4299	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:40:47	4299	[DEBUG]	Process image file
2023-10-13	13:40:47	4299	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:40:47	4299	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:47	4299	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32165_pneu_schwalbe_marathon_plus_tour_28x1_75_reflex_performance_hs404_47-622.jpg
2023-10-13	13:40:47	4299	[DEBUG]	Full name target: bcprisme/32165_pneu_schwalbe_marathon_plus_tour_28x1_75_reflex_performance_hs404_47-622.jpg
2023-10-13	13:40:47	4299	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:47	4299	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32165_pneu_schwalbe_marathon_plus_tour_28x1_75_reflex_performance_hs404_47-622.jpg'
2023-10-13	13:40:47	4299	[DEBUG]	Query for Media
2023-10-13	13:40:47	4299	[DEBUG]	Executed store
2023-10-13	13:40:47	4299	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32165_pneu_schwalbe_marathon_plus_tour_28x1_75_reflex_performance_hs404_47-622.jpg',`file_url_thumb`='bcprisme/32165_pneu_schwalbe_marathon_plus_tour_28x1_75_reflex_performance_hs404_47-622.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '361411'
2023-10-13	13:40:48	4299	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:48	4299	[DEBUG]	Executed store
2023-10-13	13:40:48	4299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863791','361411','1')
2023-10-13	13:40:48	4299	[DEBUG]	Store product image relation
2023-10-13	13:40:48	4299	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:48	4299	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863791 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:48	4299	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:48	4299	[DEBUG]	Executed store
2023-10-13	13:40:48	4299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863791','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:48	4299	[DEBUG]	Checking manufacturer
2023-10-13	13:40:48	4299	[DEBUG]	Load a row
2023-10-13	13:40:48	4299	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:48	4299	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:48	4299	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:48	4299	[DEBUG]	Executed store
2023-10-13	13:40:48	4299	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:48	4299	[DEBUG]	Manufacturer exists
2023-10-13	13:40:48	4299	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:48	4299	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:48	4299	[DEBUG]	Executed store
2023-10-13	13:40:48	4299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863791','25')
2023-10-13	13:40:48	4299	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:48	4299	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:40:48	4299	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863791 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:48	4299	[DEBUG]	Store custom available field
2023-10-13	13:40:48	4299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863791,3,'',1)
2023-10-13	13:40:48	4299	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:48	4299	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:40:48	4299	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863791 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:48	4299	[DEBUG]	Store custom available field
2023-10-13	13:40:48	4299	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863791,6,'Unitaire',3)
2023-10-13	13:40:48	4299	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:48	4299	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:40:48	4299	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863790
2023-10-13	13:40:48	4299	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:48	4299	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863790\":[1863790,8,1,\"choisir la taille\"],\"1863791\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863790
2023-10-13	13:40:48	4299	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:48	4299	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863791
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field product_sku
2023-10-13	13:40:48	4300	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field taille
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field product_name
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field category_path
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field product_price
2023-10-13	13:40:48	4300	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field product_tax
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field file_url
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:40:48	4300	[DEBUG]	Use default value for field product_desc
2023-10-13	13:40:48	4300	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field product_availability
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field product_weight
2023-10-13	13:40:48	4300	[DEBUG]	Use default value for field product_unit
2023-10-13	13:40:48	4300	[DEBUG]	Use default value for field related_products
2023-10-13	13:40:48	4300	[DEBUG]	Use default value for field product_special
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field published
2023-10-13	13:40:48	4300	[DEBUG]	Use default value for field metadesc
2023-10-13	13:40:48	4300	[DEBUG]	Use default value for field metakey
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field custom_title
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field custom_value
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field custom_param
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field override
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field public_price
2023-10-13	13:40:48	4300	[DEBUG]	Use field value for field slug
2023-10-13	13:40:48	4300	[DEBUG]	Process line 4300
2023-10-13	13:40:48	4300	[DEBUG]	Load a row
2023-10-13	13:40:48	4300	[DEBUG]	Processing item: A_7597_1
2023-10-13	13:40:48	4300	[DEBUG]	Product tax: 7.7
2023-10-13	13:40:48	4300	[DEBUG]	Processing product tax
2023-10-13	13:40:48	4300	[DEBUG]	Check if calculation rule exists
2023-10-13	13:40:48	4300	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:40:48	4300	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:40:48	4300	[DEBUG]	Query for Product
2023-10-13	13:40:48	4300	[DEBUG]	Executed store
2023-10-13	13:40:48	4300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7597_1','0.525','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0')
2023-10-13	13:40:48	4300	[DEBUG]	Check product language entry
2023-10-13	13:40:48	4300	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863792
2023-10-13	13:40:48	4300	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:48	4300	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7597_1' AND `virtuemart_product_id` != 1863792
2023-10-13	13:40:48	4300	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:40:48	4300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863792, 'A_7597_1')
2023-10-13	13:40:48	4300	[DEBUG]	Check if the product slug exists
2023-10-13	13:40:48	4300	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-marathon-winter-plus-drahtreifen-28x1-35-noir' AND `virtuemart_product_id` != 1863792
2023-10-13	13:40:48	4300	[DEBUG]	Query for ProductLang
2023-10-13	13:40:48	4300	[DEBUG]	Executed store
2023-10-13	13:40:48	4300	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Chaoyang hornet 27.5 x 2.0 kv shark skin 2c, 60 TPI, 525 gr.<br>N° art fourn : 10.55.04.505',`product_name`='SCHWALBE Marathon Winter Plus Drahtreifen 28x1.35 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-marathon-winter-plus-drahtreifen-28x1-35-noir' WHERE `virtuemart_product_id` = '1863792'
2023-10-13	13:40:48	4300	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35048_schwalbe_marathon_winter_plus_drahtreifen_28x1_35.jpg
2023-10-13	13:40:48	4300	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:48	4300	[DEBUG]	Process image file
2023-10-13	13:40:48	4300	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:40:48	4300	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:40:48	4300	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35048_schwalbe_marathon_winter_plus_drahtreifen_28x1_35.jpg
2023-10-13	13:40:48	4300	[DEBUG]	Full name target: bcprisme/35048_schwalbe_marathon_winter_plus_drahtreifen_28x1_35.jpg
2023-10-13	13:40:49	4300	[DEBUG]	Checking if the file_url exists
2023-10-13	13:40:49	4300	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35048_schwalbe_marathon_winter_plus_drahtreifen_28x1_35.jpg'
2023-10-13	13:40:49	4300	[DEBUG]	Query for Media
2023-10-13	13:40:49	4300	[DEBUG]	Executed store
2023-10-13	13:40:49	4300	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35048_schwalbe_marathon_winter_plus_drahtreifen_28x1_35.jpg',`file_url_thumb`='bcprisme/35048_schwalbe_marathon_winter_plus_drahtreifen_28x1_35.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '338430'
2023-10-13	13:40:49	4300	[DEBUG]	Query for ProductMedia
2023-10-13	13:40:49	4300	[DEBUG]	Executed store
2023-10-13	13:40:49	4300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863792','338430','1')
2023-10-13	13:40:49	4300	[DEBUG]	Store product image relation
2023-10-13	13:40:49	4300	[DEBUG]	Finding a product_price_id
2023-10-13	13:40:49	4300	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863792 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:40:49	4300	[DEBUG]	Query for ProductPrice
2023-10-13	13:40:49	4300	[DEBUG]	Executed store
2023-10-13	13:40:49	4300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863792','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:39:10','1593','2023-10-13 13:39:10','1593','0000-00-00 00:00:00','0')
2023-10-13	13:40:49	4300	[DEBUG]	Checking manufacturer
2023-10-13	13:40:49	4300	[DEBUG]	Load a row
2023-10-13	13:40:49	4300	[DEBUG]	Manufacturer already exists
2023-10-13	13:40:49	4300	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:49	4300	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:40:49	4300	[DEBUG]	Executed store
2023-10-13	13:40:49	4300	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:40:49	4300	[DEBUG]	Manufacturer exists
2023-10-13	13:40:49	4300	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:40:49	4300	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:40:49	4300	[DEBUG]	Executed store
2023-10-13	13:40:49	4300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863792','25')
2023-10-13	13:40:49	4300	[DEBUG]	Find the custom field ID
2023-10-13	13:40:49	4300	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:40:49	4300	[DEBUG]	No custom field ID found
2023-10-13	13:40:49	4300	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:40:49	4300	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:40:49	4300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863792 AND `virtuemart_custom_id` = 3
2023-10-13	13:40:49	4300	[DEBUG]	Store custom available field
2023-10-13	13:40:49	4300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863792,3,'39.7891666666667',1)
2023-10-13	13:40:49	4300	[DEBUG]	Processing custom available field: taille
2023-10-13	13:40:49	4300	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:40:49	4300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863792 AND `virtuemart_custom_id` = 6
2023-10-13	13:40:49	4300	[DEBUG]	Store custom available field
2023-10-13	13:40:49	4300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863792,6,'choisir la taille',3)
2023-10-13	13:40:49	4300	[DEBUG]	Process multi-variant fields
2023-10-13	13:40:49	4300	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:40:49	4300	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:40:49	4300	[DEBUG]	Find the multi variant product entry
2023-10-13	13:40:49	4300	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863792 AND `virtuemart_custom_id` = 8
2023-10-13	13:40:49	4300	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:40:49	4300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863792,8,1)
2023-10-13	13:40:49	4300	[DEBUG]	Store the updated customfield_params
2023-10-13	13:40:49	4300	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863792\":[1863792,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863792
2023-10-13	13:40:49	4300	[DEBUG]	Checking category
2023-10-13	13:40:49	4300	[DEBUG]	Get the existing categories for the product
2023-10-13	13:40:49	4300	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863792
2023-10-13	13:40:49	4300	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:40:49	4300	[DEBUG]	Executed store
2023-10-13	13:40:49	4300	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863792','7411')
2023-10-13	13:40:49	4300	[DEBUG]	Delete leftover product categories
2023-10-13	13:40:49	4300	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863792 AND `virtuemart_category_id` NOT IN (7411)
2023-10-13	13:40:49	4300	[DEBUG]	Update has fields after all processing
2023-10-13	13:40:49	4300	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863792
2023-10-13	13:41:09	4300	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:41:09	4300	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:41:09	4300	[DEBUG]	Load the fields to process
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: product_sku
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: taille
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: product_name
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: category_path
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: product_price
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: product_override_price
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: product_tax
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: file_url
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: product_desc
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: product_availability
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: product_weight
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: product_unit
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: related_products
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: product_special
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: published
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: metadesc
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: metakey
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: custom_title
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: custom_value
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: custom_param
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: override
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: public_price
2023-10-13	13:41:09	4300	[DEBUG]	Setup field: slug
2023-10-13	13:41:09	4300	[DEBUG]	Use the file for configuration
2023-10-13	13:41:09	4300	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:41:09	4300	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:41:09	4300	[DEBUG]	Load the custom fields
2023-10-13	13:41:09	4300	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:41:09	4300	[DEBUG]	Load stockable custom fields
2023-10-13	13:41:09	4300	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:41:09	4300	[DEBUG]	Load custom fields for all
2023-10-13	13:41:09	4300	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:41:09	4301	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:09	4301	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:09	4301	[DEBUG]	Use field value for field taille
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:09	4301	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:09	4301	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:09	4301	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:09	4301	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:09	4301	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:09	4301	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:09	4301	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:09	4301	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:09	4301	[DEBUG]	Use field value for field published
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:09	4301	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field override
2023-10-13	13:41:09	4301	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:09	4301	[DEBUG]	Use field value for field slug
2023-10-13	13:41:09	4301	[DEBUG]	Process line 4301
2023-10-13	13:41:09	4301	[DEBUG]	Check if the vendor exists
2023-10-13	13:41:09	4301	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '4026495674911'
2023-10-13	13:41:09	4301	[DEBUG]	Load a row
2023-10-13	13:41:09	4301	[DEBUG]	Processing item: 4026495674911
2023-10-13	13:41:09	4301	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:09	4301	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:09	4301	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7597_1'
2023-10-13	13:41:09	4301	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:09	4301	[DEBUG]	Processing product tax
2023-10-13	13:41:09	4301	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:09	4301	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:09	4301	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:09	4301	[DEBUG]	Query for Product
2023-10-13	13:41:09	4301	[DEBUG]	Executed store
2023-10-13	13:41:09	4301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863792','4026495674911','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:09	4301	[DEBUG]	No parent found
2023-10-13	13:41:09	4301	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863792 AND customfield_value = 'stockable'
2023-10-13	13:41:09	4301	[DEBUG]	Check product language entry
2023-10-13	13:41:09	4301	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863793
2023-10-13	13:41:09	4301	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:09	4301	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495674911' AND `virtuemart_product_id` != 1863793
2023-10-13	13:41:09	4301	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:09	4301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863793, '4026495674911')
2023-10-13	13:41:09	4301	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:09	4301	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-marathon-winter-plus-drahtreifen-28x1-35-noir-unitaire' AND `virtuemart_product_id` != 1863793
2023-10-13	13:41:09	4301	[DEBUG]	Query for ProductLang
2023-10-13	13:41:09	4301	[DEBUG]	Executed store
2023-10-13	13:41:09	4301	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Marathon Winter Plus Drahtreifen 28x1.35 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-marathon-winter-plus-drahtreifen-28x1-35-noir-unitaire' WHERE `virtuemart_product_id` = '1863793'
2023-10-13	13:41:09	4301	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35048_schwalbe_marathon_winter_plus_drahtreifen_28x1_35.jpg
2023-10-13	13:41:09	4301	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:09	4301	[DEBUG]	Process image file
2023-10-13	13:41:09	4301	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:09	4301	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:09	4301	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/35048_schwalbe_marathon_winter_plus_drahtreifen_28x1_35.jpg
2023-10-13	13:41:09	4301	[DEBUG]	Full name target: bcprisme/35048_schwalbe_marathon_winter_plus_drahtreifen_28x1_35.jpg
2023-10-13	13:41:10	4301	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:10	4301	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/35048_schwalbe_marathon_winter_plus_drahtreifen_28x1_35.jpg'
2023-10-13	13:41:10	4301	[DEBUG]	Query for Media
2023-10-13	13:41:10	4301	[DEBUG]	Executed store
2023-10-13	13:41:10	4301	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/35048_schwalbe_marathon_winter_plus_drahtreifen_28x1_35.jpg',`file_url_thumb`='bcprisme/35048_schwalbe_marathon_winter_plus_drahtreifen_28x1_35.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '338430'
2023-10-13	13:41:10	4301	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:10	4301	[DEBUG]	Executed store
2023-10-13	13:41:10	4301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863793','338430','1')
2023-10-13	13:41:10	4301	[DEBUG]	Store product image relation
2023-10-13	13:41:10	4301	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:10	4301	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863793 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:10	4301	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:10	4301	[DEBUG]	Executed store
2023-10-13	13:41:10	4301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863793','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:10	4301	[DEBUG]	Checking manufacturer
2023-10-13	13:41:10	4301	[DEBUG]	Load a row
2023-10-13	13:41:10	4301	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:10	4301	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:10	4301	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:10	4301	[DEBUG]	Executed store
2023-10-13	13:41:10	4301	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:10	4301	[DEBUG]	Manufacturer exists
2023-10-13	13:41:10	4301	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:10	4301	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:10	4301	[DEBUG]	Executed store
2023-10-13	13:41:10	4301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863793','25')
2023-10-13	13:41:10	4301	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:10	4301	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:10	4301	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863793 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:10	4301	[DEBUG]	Store custom available field
2023-10-13	13:41:10	4301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863793,3,'',1)
2023-10-13	13:41:10	4301	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:10	4301	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:10	4301	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863793 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:10	4301	[DEBUG]	Store custom available field
2023-10-13	13:41:10	4301	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863793,6,'Unitaire',3)
2023-10-13	13:41:10	4301	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:10	4301	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:10	4301	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863792
2023-10-13	13:41:10	4301	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:10	4301	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863792\":[1863792,8,1,\"choisir la taille\"],\"1863793\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863792
2023-10-13	13:41:10	4301	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:10	4301	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863793
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:10	4302	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field taille
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:10	4302	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:10	4302	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:10	4302	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:10	4302	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:10	4302	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:10	4302	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field published
2023-10-13	13:41:10	4302	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:10	4302	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field override
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:10	4302	[DEBUG]	Use field value for field slug
2023-10-13	13:41:10	4302	[DEBUG]	Process line 4302
2023-10-13	13:41:10	4302	[DEBUG]	Load a row
2023-10-13	13:41:10	4302	[DEBUG]	Processing item: A_8123_84
2023-10-13	13:41:10	4302	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:10	4302	[DEBUG]	Processing product tax
2023-10-13	13:41:10	4302	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:10	4302	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:10	4302	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:10	4302	[DEBUG]	Query for Product
2023-10-13	13:41:10	4302	[DEBUG]	Executed store
2023-10-13	13:41:10	4302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8123_84','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:10	4302	[DEBUG]	Check product language entry
2023-10-13	13:41:10	4302	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863794
2023-10-13	13:41:10	4302	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:10	4302	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8123_84' AND `virtuemart_product_id` != 1863794
2023-10-13	13:41:10	4302	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:10	4302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863794, 'A_8123_84')
2023-10-13	13:41:10	4302	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:10	4302	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-energizer-plus-tour700x47c-28-x-1-75-rigide-avec-bande-reflechissante-black-black' AND `virtuemart_product_id` != 1863794
2023-10-13	13:41:10	4302	[DEBUG]	Query for ProductLang
2023-10-13	13:41:10	4302	[DEBUG]	Executed store
2023-10-13	13:41:10	4302	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.79980',`product_name`='SCHWALBE Pneu Energizer Plus Tour700x47C 28 x 1.75 rigide avec bande réfléchissante black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-energizer-plus-tour700x47c-28-x-1-75-rigide-avec-bande-reflechissante-black-black' WHERE `virtuemart_product_id` = '1863794'
2023-10-13	13:41:10	4302	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79979_01_jpg.jpg
2023-10-13	13:41:10	4302	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:41:10	4302	[DEBUG]	Process image file
2023-10-13	13:41:10	4302	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:41:10	4302	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:10	4302	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79979_01_jpg.jpg
2023-10-13	13:41:10	4302	[DEBUG]	Full name target: bcprisme/24_79979_01_jpg.jpg
2023-10-13	13:41:11	4302	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:11	4302	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_79979_01_jpg.jpg'
2023-10-13	13:41:11	4302	[DEBUG]	Query for Media
2023-10-13	13:41:11	4302	[DEBUG]	Executed store
2023-10-13	13:41:11	4302	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_79979_01_jpg.jpg',`file_url_thumb`='bcprisme/24_79979_01_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '680261'
2023-10-13	13:41:11	4302	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:11	4302	[DEBUG]	Executed store
2023-10-13	13:41:11	4302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863794','680261','1')
2023-10-13	13:41:11	4302	[DEBUG]	Store product image relation
2023-10-13	13:41:11	4302	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:11	4302	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863794 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:11	4302	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:11	4302	[DEBUG]	Executed store
2023-10-13	13:41:11	4302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863794','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:11	4302	[DEBUG]	Checking manufacturer
2023-10-13	13:41:11	4302	[DEBUG]	Load a row
2023-10-13	13:41:11	4302	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:11	4302	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:41:11	4302	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:11	4302	[DEBUG]	Executed store
2023-10-13	13:41:11	4302	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:41:11	4302	[DEBUG]	Manufacturer exists
2023-10-13	13:41:11	4302	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:41:11	4302	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:11	4302	[DEBUG]	Executed store
2023-10-13	13:41:11	4302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863794','24')
2023-10-13	13:41:11	4302	[DEBUG]	Find the custom field ID
2023-10-13	13:41:11	4302	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:11	4302	[DEBUG]	No custom field ID found
2023-10-13	13:41:11	4302	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:11	4302	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:11	4302	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863794 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:11	4302	[DEBUG]	Store custom available field
2023-10-13	13:41:11	4302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863794,3,'0',1)
2023-10-13	13:41:11	4302	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:11	4302	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:11	4302	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863794 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:11	4302	[DEBUG]	Store custom available field
2023-10-13	13:41:11	4302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863794,6,'choisir la taille',3)
2023-10-13	13:41:11	4302	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:11	4302	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:11	4302	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:11	4302	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:11	4302	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863794 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:11	4302	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:11	4302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863794,8,1)
2023-10-13	13:41:11	4302	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:11	4302	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863794\":[1863794,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863794
2023-10-13	13:41:11	4302	[DEBUG]	Checking category
2023-10-13	13:41:11	4302	[DEBUG]	Check if category path exists: PNEUS - REIFEN
2023-10-13	13:41:11	4302	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS - REIFEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:41:11	4302	[DEBUG]	Check if category path exists: PNEUS 28- REIFEN 28
2023-10-13	13:41:11	4302	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS 28- REIFEN 28' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:41:11	4302	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:11	4302	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863794
2023-10-13	13:41:11	4302	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:11	4302	[DEBUG]	Executed store
2023-10-13	13:41:11	4302	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863794','7411')
2023-10-13	13:41:11	4302	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:11	4302	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863794 AND `virtuemart_category_id` NOT IN (7411)
2023-10-13	13:41:11	4302	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:11	4302	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863794
2023-10-13	13:41:11	4303	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:11	4303	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:11	4303	[DEBUG]	Use field value for field taille
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:11	4303	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:11	4303	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:11	4303	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:11	4303	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:11	4303	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:11	4303	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:11	4303	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:11	4303	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:11	4303	[DEBUG]	Use field value for field published
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:11	4303	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field override
2023-10-13	13:41:11	4303	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:11	4303	[DEBUG]	Use field value for field slug
2023-10-13	13:41:11	4303	[DEBUG]	Process line 4303
2023-10-13	13:41:11	4303	[DEBUG]	Load a row
2023-10-13	13:41:11	4303	[DEBUG]	Processing item: 4026495891189
2023-10-13	13:41:11	4303	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:11	4303	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:11	4303	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8123_84'
2023-10-13	13:41:11	4303	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:11	4303	[DEBUG]	Processing product tax
2023-10-13	13:41:11	4303	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:11	4303	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:11	4303	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:11	4303	[DEBUG]	Query for Product
2023-10-13	13:41:11	4303	[DEBUG]	Executed store
2023-10-13	13:41:11	4303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863794','4026495891189','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:11	4303	[DEBUG]	No parent found
2023-10-13	13:41:11	4303	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863794 AND customfield_value = 'stockable'
2023-10-13	13:41:11	4303	[DEBUG]	Check product language entry
2023-10-13	13:41:11	4303	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863795
2023-10-13	13:41:11	4303	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:11	4303	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495891189' AND `virtuemart_product_id` != 1863795
2023-10-13	13:41:11	4303	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:11	4303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863795, '4026495891189')
2023-10-13	13:41:11	4303	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:11	4303	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-energizer-plus-tour700x47c-28-x-1-75-rigide-avec-bande-reflechissante-black-black-unitaire' AND `virtuemart_product_id` != 1863795
2023-10-13	13:41:11	4303	[DEBUG]	Query for ProductLang
2023-10-13	13:41:11	4303	[DEBUG]	Executed store
2023-10-13	13:41:11	4303	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Energizer Plus Tour700x47C 28 x 1.75 rigide avec bande réfléchissante black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-energizer-plus-tour700x47c-28-x-1-75-rigide-avec-bande-reflechissante-black-black-unitaire' WHERE `virtuemart_product_id` = '1863795'
2023-10-13	13:41:11	4303	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79979_01_jpg.jpg
2023-10-13	13:41:11	4303	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:41:11	4303	[DEBUG]	Process image file
2023-10-13	13:41:11	4303	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:41:11	4303	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:11	4303	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79979_01_jpg.jpg
2023-10-13	13:41:11	4303	[DEBUG]	Full name target: bcprisme/24_79979_01_jpg.jpg
2023-10-13	13:41:12	4303	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:12	4303	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_79979_01_jpg.jpg'
2023-10-13	13:41:12	4303	[DEBUG]	Query for Media
2023-10-13	13:41:12	4303	[DEBUG]	Executed store
2023-10-13	13:41:12	4303	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_79979_01_jpg.jpg',`file_url_thumb`='bcprisme/24_79979_01_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '680261'
2023-10-13	13:41:12	4303	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:12	4303	[DEBUG]	Executed store
2023-10-13	13:41:12	4303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863795','680261','1')
2023-10-13	13:41:12	4303	[DEBUG]	Store product image relation
2023-10-13	13:41:12	4303	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:12	4303	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863795 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:12	4303	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:12	4303	[DEBUG]	Executed store
2023-10-13	13:41:12	4303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863795','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:12	4303	[DEBUG]	Checking manufacturer
2023-10-13	13:41:12	4303	[DEBUG]	Load a row
2023-10-13	13:41:12	4303	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:12	4303	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:41:12	4303	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:12	4303	[DEBUG]	Executed store
2023-10-13	13:41:12	4303	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:41:12	4303	[DEBUG]	Manufacturer exists
2023-10-13	13:41:12	4303	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:41:12	4303	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:12	4303	[DEBUG]	Executed store
2023-10-13	13:41:12	4303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863795','24')
2023-10-13	13:41:12	4303	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:12	4303	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:12	4303	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863795 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:12	4303	[DEBUG]	Store custom available field
2023-10-13	13:41:12	4303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863795,3,'',1)
2023-10-13	13:41:12	4303	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:12	4303	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:12	4303	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863795 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:12	4303	[DEBUG]	Store custom available field
2023-10-13	13:41:12	4303	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863795,6,'Unitaire',3)
2023-10-13	13:41:12	4303	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:12	4303	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:12	4303	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863794
2023-10-13	13:41:12	4303	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:12	4303	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863794\":[1863794,8,1,\"choisir la taille\"],\"1863795\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863794
2023-10-13	13:41:12	4303	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:12	4303	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863795
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:12	4304	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field taille
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:12	4304	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:12	4304	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:12	4304	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:12	4304	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:12	4304	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:12	4304	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field published
2023-10-13	13:41:12	4304	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:12	4304	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field override
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:12	4304	[DEBUG]	Use field value for field slug
2023-10-13	13:41:12	4304	[DEBUG]	Process line 4304
2023-10-13	13:41:12	4304	[DEBUG]	Load a row
2023-10-13	13:41:12	4304	[DEBUG]	Processing item: A_8198_84
2023-10-13	13:41:12	4304	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:12	4304	[DEBUG]	Processing product tax
2023-10-13	13:41:12	4304	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:12	4304	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:12	4304	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:12	4304	[DEBUG]	Query for Product
2023-10-13	13:41:12	4304	[DEBUG]	Executed store
2023-10-13	13:41:12	4304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8198_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:12	4304	[DEBUG]	Check product language entry
2023-10-13	13:41:12	4304	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863796
2023-10-13	13:41:12	4304	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:12	4304	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8198_84' AND `virtuemart_product_id` != 1863796
2023-10-13	13:41:12	4304	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:12	4304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863796, 'A_8198_84')
2023-10-13	13:41:12	4304	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:12	4304	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-plus-tour-700x35c-rigide-avec-bande-reflechissante-black-black' AND `virtuemart_product_id` != 1863796
2023-10-13	13:41:12	4304	[DEBUG]	Query for ProductLang
2023-10-13	13:41:12	4304	[DEBUG]	Executed store
2023-10-13	13:41:12	4304	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.57851',`product_name`='SCHWALBE Pneu Marathon Plus Tour 700x35C rigide avec bande réfléchissante black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-plus-tour-700x35c-rigide-avec-bande-reflechissante-black-black' WHERE `virtuemart_product_id` = '1863796'
2023-10-13	13:41:12	4304	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_60332_001_jpg.jpg
2023-10-13	13:41:12	4304	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:41:12	4304	[DEBUG]	Process image file
2023-10-13	13:41:12	4304	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:41:12	4304	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:12	4304	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_60332_001_jpg.jpg
2023-10-13	13:41:12	4304	[DEBUG]	Full name target: bcprisme/24_60332_001_jpg.jpg
2023-10-13	13:41:13	4304	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:13	4304	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_60332_001_jpg.jpg'
2023-10-13	13:41:13	4304	[DEBUG]	Query for Media
2023-10-13	13:41:13	4304	[DEBUG]	Executed store
2023-10-13	13:41:13	4304	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_60332_001_jpg.jpg',`file_url_thumb`='bcprisme/24_60332_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '710345'
2023-10-13	13:41:13	4304	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:13	4304	[DEBUG]	Executed store
2023-10-13	13:41:13	4304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863796','710345','1')
2023-10-13	13:41:13	4304	[DEBUG]	Store product image relation
2023-10-13	13:41:13	4304	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:13	4304	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863796 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:13	4304	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:13	4304	[DEBUG]	Executed store
2023-10-13	13:41:13	4304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863796','0','52.8319405756732','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:13	4304	[DEBUG]	Checking manufacturer
2023-10-13	13:41:13	4304	[DEBUG]	Load a row
2023-10-13	13:41:13	4304	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:13	4304	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:41:13	4304	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:13	4304	[DEBUG]	Executed store
2023-10-13	13:41:13	4304	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:41:13	4304	[DEBUG]	Manufacturer exists
2023-10-13	13:41:13	4304	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:41:13	4304	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:13	4304	[DEBUG]	Executed store
2023-10-13	13:41:13	4304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863796','24')
2023-10-13	13:41:13	4304	[DEBUG]	Find the custom field ID
2023-10-13	13:41:13	4304	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:13	4304	[DEBUG]	No custom field ID found
2023-10-13	13:41:13	4304	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:13	4304	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:13	4304	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863796 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:13	4304	[DEBUG]	Store custom available field
2023-10-13	13:41:13	4304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863796,3,'0',1)
2023-10-13	13:41:13	4304	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:13	4304	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:13	4304	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863796 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:13	4304	[DEBUG]	Store custom available field
2023-10-13	13:41:13	4304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863796,6,'choisir la taille',3)
2023-10-13	13:41:13	4304	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:13	4304	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:13	4304	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:13	4304	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:13	4304	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863796 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:13	4304	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:13	4304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863796,8,1)
2023-10-13	13:41:13	4304	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:13	4304	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863796\":[1863796,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863796
2023-10-13	13:41:13	4304	[DEBUG]	Checking category
2023-10-13	13:41:13	4304	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:13	4304	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863796
2023-10-13	13:41:13	4304	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:13	4304	[DEBUG]	Executed store
2023-10-13	13:41:13	4304	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863796','7411')
2023-10-13	13:41:13	4304	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:13	4304	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863796 AND `virtuemart_category_id` NOT IN (7411)
2023-10-13	13:41:13	4304	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:13	4304	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863796
2023-10-13	13:41:13	4305	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:13	4305	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:13	4305	[DEBUG]	Use field value for field taille
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:13	4305	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:13	4305	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:13	4305	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:13	4305	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:13	4305	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:13	4305	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:13	4305	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:13	4305	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:13	4305	[DEBUG]	Use field value for field published
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:13	4305	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field override
2023-10-13	13:41:13	4305	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:13	4305	[DEBUG]	Use field value for field slug
2023-10-13	13:41:13	4305	[DEBUG]	Process line 4305
2023-10-13	13:41:13	4305	[DEBUG]	Load a row
2023-10-13	13:41:13	4305	[DEBUG]	Processing item: 4026495492171
2023-10-13	13:41:13	4305	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:13	4305	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:13	4305	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8198_84'
2023-10-13	13:41:13	4305	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:13	4305	[DEBUG]	Processing product tax
2023-10-13	13:41:13	4305	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:13	4305	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:13	4305	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:13	4305	[DEBUG]	Query for Product
2023-10-13	13:41:13	4305	[DEBUG]	Executed store
2023-10-13	13:41:13	4305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863796','4026495492171','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:13	4305	[DEBUG]	No parent found
2023-10-13	13:41:13	4305	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863796 AND customfield_value = 'stockable'
2023-10-13	13:41:13	4305	[DEBUG]	Check product language entry
2023-10-13	13:41:13	4305	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863797
2023-10-13	13:41:13	4305	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:13	4305	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495492171' AND `virtuemart_product_id` != 1863797
2023-10-13	13:41:13	4305	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:13	4305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863797, '4026495492171')
2023-10-13	13:41:13	4305	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:13	4305	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-plus-tour-700x35c-rigide-avec-bande-reflechissante-black-black-unitaire' AND `virtuemart_product_id` != 1863797
2023-10-13	13:41:13	4305	[DEBUG]	Query for ProductLang
2023-10-13	13:41:13	4305	[DEBUG]	Executed store
2023-10-13	13:41:13	4305	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Marathon Plus Tour 700x35C rigide avec bande réfléchissante black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-plus-tour-700x35c-rigide-avec-bande-reflechissante-black-black-unitaire' WHERE `virtuemart_product_id` = '1863797'
2023-10-13	13:41:13	4305	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_60332_001_jpg.jpg
2023-10-13	13:41:13	4305	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:41:13	4305	[DEBUG]	Process image file
2023-10-13	13:41:13	4305	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:41:13	4305	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:13	4305	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_60332_001_jpg.jpg
2023-10-13	13:41:13	4305	[DEBUG]	Full name target: bcprisme/24_60332_001_jpg.jpg
2023-10-13	13:41:14	4305	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:14	4305	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_60332_001_jpg.jpg'
2023-10-13	13:41:14	4305	[DEBUG]	Query for Media
2023-10-13	13:41:14	4305	[DEBUG]	Executed store
2023-10-13	13:41:14	4305	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_60332_001_jpg.jpg',`file_url_thumb`='bcprisme/24_60332_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '710345'
2023-10-13	13:41:14	4305	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:14	4305	[DEBUG]	Executed store
2023-10-13	13:41:14	4305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863797','710345','1')
2023-10-13	13:41:14	4305	[DEBUG]	Store product image relation
2023-10-13	13:41:14	4305	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:14	4305	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863797 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:14	4305	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:14	4305	[DEBUG]	Executed store
2023-10-13	13:41:14	4305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863797','0','52.8319405756732','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:14	4305	[DEBUG]	Checking manufacturer
2023-10-13	13:41:14	4305	[DEBUG]	Load a row
2023-10-13	13:41:14	4305	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:14	4305	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:41:14	4305	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:14	4305	[DEBUG]	Executed store
2023-10-13	13:41:14	4305	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:41:14	4305	[DEBUG]	Manufacturer exists
2023-10-13	13:41:14	4305	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:41:14	4305	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:14	4305	[DEBUG]	Executed store
2023-10-13	13:41:14	4305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863797','24')
2023-10-13	13:41:14	4305	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:14	4305	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:14	4305	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863797 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:14	4305	[DEBUG]	Store custom available field
2023-10-13	13:41:14	4305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863797,3,'',1)
2023-10-13	13:41:14	4305	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:14	4305	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:14	4305	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863797 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:14	4305	[DEBUG]	Store custom available field
2023-10-13	13:41:14	4305	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863797,6,'Unitaire',3)
2023-10-13	13:41:14	4305	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:14	4305	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:14	4305	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863796
2023-10-13	13:41:14	4305	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:14	4305	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863796\":[1863796,8,1,\"choisir la taille\"],\"1863797\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863796
2023-10-13	13:41:14	4305	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:14	4305	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863797
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:14	4306	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field taille
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:14	4306	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:14	4306	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:14	4306	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:14	4306	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:14	4306	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:14	4306	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field published
2023-10-13	13:41:14	4306	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:14	4306	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field override
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:14	4306	[DEBUG]	Use field value for field slug
2023-10-13	13:41:14	4306	[DEBUG]	Process line 4306
2023-10-13	13:41:14	4306	[DEBUG]	Load a row
2023-10-13	13:41:14	4306	[DEBUG]	Processing item: A_4506_172
2023-10-13	13:41:14	4306	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:14	4306	[DEBUG]	Processing product tax
2023-10-13	13:41:14	4306	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:14	4306	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:14	4306	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:14	4306	[DEBUG]	Query for Product
2023-10-13	13:41:14	4306	[DEBUG]	Executed store
2023-10-13	13:41:14	4306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4506_172','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:14	4306	[DEBUG]	Check product language entry
2023-10-13	13:41:14	4306	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863798
2023-10-13	13:41:14	4306	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:14	4306	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4506_172' AND `virtuemart_product_id` != 1863798
2023-10-13	13:41:14	4306	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:14	4306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863798, 'A_4506_172')
2023-10-13	13:41:14	4306	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:14	4306	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-29-x-2-10-tlr-2c-xc-race-pro-120tpi-noir-marron' AND `virtuemart_product_id` != 1863798
2023-10-13	13:41:14	4306	[DEBUG]	Query for ProductLang
2023-10-13	13:41:14	4306	[DEBUG]	Executed store
2023-10-13	13:41:14	4306	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='740 g<br>-Accroche: 3/5<br>-Traction: 4/5<br>-Vitesse: 5/5<br>-Sol optimal: sec/humide<br>-Gomme: 60a/50a<br>-Brown skinwall<br>-ETRTO 54-622<br><br><br>Un pari imbattable en XC Marathon! Un véritable concentré de technologies pour un rendement optimal sur terrains secs et roulants.<br><br>La géométrie inclinée des crampons centraux, son profil bas et un espacement réduit favorisent un meilleur contact avec la superficie et garantissent un roulement extrêmement rapide. De plus cette disposition augmente un peu plus la résistance aux coupures et crevaisons. Les rainures horizontales sur les crampons de transition, offrent une traction excellente sur des tracés droits et lors des montés<br><br>Le crampon latéral, rectangulaire et taillé à 90º avec des rainures verticales et une entaille en escalier, assure une excellente accroche latérale à grande vitesse dans tous types de courbes.<br>N° art fourn : ROL29210TLR2CX',`product_name`='MSC PNEU ROLLER 29 X 2.10 TLR 2C XC RACE PRO 120TPI  / NOIR-MARRON',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-29-x-2-10-tlr-2c-xc-race-pro-120tpi-noir-marron' WHERE `virtuemart_product_id` = '1863798'
2023-10-13	13:41:14	4306	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27322_roller_29_x_2_10_trl,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a.jpg
2023-10-13	13:41:14	4306	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:14	4306	[DEBUG]	Process image file
2023-10-13	13:41:14	4306	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:14	4306	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:14	4306	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27322_roller_29_x_2_10_trl,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a.jpg
2023-10-13	13:41:14	4306	[DEBUG]	Full name target: bcprisme/27322_roller_29_x_2_10_trl,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a.jpg
2023-10-13	13:41:15	4306	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:15	4306	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27322_roller_29_x_2_10_trl,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a.jpg'
2023-10-13	13:41:15	4306	[DEBUG]	Query for Media
2023-10-13	13:41:15	4306	[DEBUG]	Executed store
2023-10-13	13:41:15	4306	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27322_roller_29_x_2_10_trl,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a.jpg',`file_url_thumb`='bcprisme/27322_roller_29_x_2_10_trl,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14525'
2023-10-13	13:41:15	4306	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:15	4306	[DEBUG]	Executed store
2023-10-13	13:41:15	4306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863798','14525','1')
2023-10-13	13:41:15	4306	[DEBUG]	Store product image relation
2023-10-13	13:41:15	4306	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:15	4306	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863798 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:15	4306	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:15	4306	[DEBUG]	Executed store
2023-10-13	13:41:15	4306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863798','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:15	4306	[DEBUG]	Checking manufacturer
2023-10-13	13:41:15	4306	[DEBUG]	Load a row
2023-10-13	13:41:15	4306	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:15	4306	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:15	4306	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:15	4306	[DEBUG]	Executed store
2023-10-13	13:41:15	4306	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:15	4306	[DEBUG]	Manufacturer exists
2023-10-13	13:41:15	4306	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:15	4306	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:15	4306	[DEBUG]	Executed store
2023-10-13	13:41:15	4306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863798','32')
2023-10-13	13:41:15	4306	[DEBUG]	Find the custom field ID
2023-10-13	13:41:15	4306	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:15	4306	[DEBUG]	No custom field ID found
2023-10-13	13:41:15	4306	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:15	4306	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:41:15	4306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863798 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:15	4306	[DEBUG]	Store custom available field
2023-10-13	13:41:15	4306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863798,3,'54.7475',1)
2023-10-13	13:41:15	4306	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:15	4306	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:15	4306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863798 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:15	4306	[DEBUG]	Store custom available field
2023-10-13	13:41:15	4306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863798,6,'choisir la taille',3)
2023-10-13	13:41:15	4306	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:15	4306	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:15	4306	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:15	4306	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:15	4306	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863798 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:15	4306	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:15	4306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863798,8,1)
2023-10-13	13:41:15	4306	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:15	4306	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863798\":[1863798,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863798
2023-10-13	13:41:15	4306	[DEBUG]	Checking category
2023-10-13	13:41:15	4306	[DEBUG]	Check if category path exists: PNEUS 29- REIFEN 29
2023-10-13	13:41:15	4306	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS 29- REIFEN 29' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:41:15	4306	[DEBUG]	Query for Category
2023-10-13	13:41:15	4306	[DEBUG]	Executed store
2023-10-13	13:41:15	4306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','16','0','1','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:15	4306	[DEBUG]	Category publish 1
2023-10-13	13:41:15	4306	[DEBUG]	Check the category language
2023-10-13	13:41:15	4306	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7412
2023-10-13	13:41:15	4306	[DEBUG]	Check the category slug
2023-10-13	13:41:15	4306	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-29--reifen-29' AND `virtuemart_category_id` != 7412
2023-10-13	13:41:15	4306	[DEBUG]	Check the category slug
2023-10-13	13:41:15	4306	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-29--reifen-29' AND `virtuemart_category_id` != 7412
2023-10-13	13:41:15	4306	[DEBUG]	Add the category language entry
2023-10-13	13:41:15	4306	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7412, 'pneus-29--reifen-29')
2023-10-13	13:41:15	4306	[DEBUG]	Query for CategoryLang
2023-10-13	13:41:15	4306	[DEBUG]	Executed store
2023-10-13	13:41:15	4306	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PNEUS 29- REIFEN 29',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pneus-29--reifen-29' WHERE `virtuemart_category_id` = '7412'
2023-10-13	13:41:15	4306	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:41:15	4306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7412','0')
2023-10-13	13:41:15	4306	[DEBUG]	Update has field for parent category
2023-10-13	13:41:15	4306	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:41:15	4306	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:15	4306	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863798
2023-10-13	13:41:15	4306	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:15	4306	[DEBUG]	Executed store
2023-10-13	13:41:15	4306	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863798','7412')
2023-10-13	13:41:15	4306	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:15	4306	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863798 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:15	4306	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:15	4306	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863798
2023-10-13	13:41:15	4307	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:15	4307	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:15	4307	[DEBUG]	Use field value for field taille
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:15	4307	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:15	4307	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:15	4307	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:15	4307	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:15	4307	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:15	4307	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:15	4307	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:15	4307	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:15	4307	[DEBUG]	Use field value for field published
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:15	4307	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field override
2023-10-13	13:41:15	4307	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:15	4307	[DEBUG]	Use field value for field slug
2023-10-13	13:41:15	4307	[DEBUG]	Process line 4307
2023-10-13	13:41:15	4307	[DEBUG]	Load a row
2023-10-13	13:41:15	4307	[DEBUG]	Processing item: 8435466214234
2023-10-13	13:41:15	4307	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:15	4307	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:15	4307	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4506_172'
2023-10-13	13:41:15	4307	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:15	4307	[DEBUG]	Processing product tax
2023-10-13	13:41:15	4307	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:15	4307	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:15	4307	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:15	4307	[DEBUG]	Query for Product
2023-10-13	13:41:15	4307	[DEBUG]	Executed store
2023-10-13	13:41:15	4307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863798','8435466214234','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:15	4307	[DEBUG]	No parent found
2023-10-13	13:41:15	4307	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863798 AND customfield_value = 'stockable'
2023-10-13	13:41:15	4307	[DEBUG]	Check product language entry
2023-10-13	13:41:15	4307	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863799
2023-10-13	13:41:15	4307	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:15	4307	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214234' AND `virtuemart_product_id` != 1863799
2023-10-13	13:41:15	4307	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:15	4307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863799, '8435466214234')
2023-10-13	13:41:15	4307	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:15	4307	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-29-x-2-10-tlr-2c-xc-race-pro-120tpi-noir-marron-unitaire' AND `virtuemart_product_id` != 1863799
2023-10-13	13:41:15	4307	[DEBUG]	Query for ProductLang
2023-10-13	13:41:15	4307	[DEBUG]	Executed store
2023-10-13	13:41:15	4307	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROLLER 29 X 2.10 TLR 2C XC RACE PRO 120TPI  / NOIR-MARRON (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-29-x-2-10-tlr-2c-xc-race-pro-120tpi-noir-marron-unitaire' WHERE `virtuemart_product_id` = '1863799'
2023-10-13	13:41:15	4307	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27322_roller_29_x_2_10_trl,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a.jpg
2023-10-13	13:41:15	4307	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:15	4307	[DEBUG]	Process image file
2023-10-13	13:41:15	4307	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:15	4307	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:15	4307	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27322_roller_29_x_2_10_trl,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a.jpg
2023-10-13	13:41:15	4307	[DEBUG]	Full name target: bcprisme/27322_roller_29_x_2_10_trl,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a.jpg
2023-10-13	13:41:16	4307	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:16	4307	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27322_roller_29_x_2_10_trl,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a.jpg'
2023-10-13	13:41:16	4307	[DEBUG]	Query for Media
2023-10-13	13:41:16	4307	[DEBUG]	Executed store
2023-10-13	13:41:16	4307	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27322_roller_29_x_2_10_trl,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a.jpg',`file_url_thumb`='bcprisme/27322_roller_29_x_2_10_trl,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14525'
2023-10-13	13:41:16	4307	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:16	4307	[DEBUG]	Executed store
2023-10-13	13:41:16	4307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863799','14525','1')
2023-10-13	13:41:16	4307	[DEBUG]	Store product image relation
2023-10-13	13:41:16	4307	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:16	4307	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863799 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:16	4307	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:16	4307	[DEBUG]	Executed store
2023-10-13	13:41:16	4307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863799','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:16	4307	[DEBUG]	Checking manufacturer
2023-10-13	13:41:16	4307	[DEBUG]	Load a row
2023-10-13	13:41:16	4307	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:16	4307	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:16	4307	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:16	4307	[DEBUG]	Executed store
2023-10-13	13:41:16	4307	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:16	4307	[DEBUG]	Manufacturer exists
2023-10-13	13:41:16	4307	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:16	4307	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:16	4307	[DEBUG]	Executed store
2023-10-13	13:41:16	4307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863799','32')
2023-10-13	13:41:16	4307	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:16	4307	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:16	4307	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863799 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:16	4307	[DEBUG]	Store custom available field
2023-10-13	13:41:16	4307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863799,3,'',1)
2023-10-13	13:41:16	4307	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:16	4307	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:16	4307	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863799 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:16	4307	[DEBUG]	Store custom available field
2023-10-13	13:41:16	4307	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863799,6,'Unitaire',3)
2023-10-13	13:41:16	4307	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:16	4307	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:16	4307	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863798
2023-10-13	13:41:16	4307	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:16	4307	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863798\":[1863798,8,1,\"choisir la taille\"],\"1863799\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863798
2023-10-13	13:41:16	4307	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:16	4307	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863799
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:16	4308	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field taille
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:16	4308	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:16	4308	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:16	4308	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:16	4308	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:16	4308	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:16	4308	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field published
2023-10-13	13:41:16	4308	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:16	4308	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field override
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:16	4308	[DEBUG]	Use field value for field slug
2023-10-13	13:41:16	4308	[DEBUG]	Process line 4308
2023-10-13	13:41:16	4308	[DEBUG]	Load a row
2023-10-13	13:41:16	4308	[DEBUG]	Processing item: A_4507_1
2023-10-13	13:41:16	4308	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:16	4308	[DEBUG]	Processing product tax
2023-10-13	13:41:16	4308	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:16	4308	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:16	4308	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:16	4308	[DEBUG]	Query for Product
2023-10-13	13:41:16	4308	[DEBUG]	Executed store
2023-10-13	13:41:16	4308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4507_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:16	4308	[DEBUG]	Check product language entry
2023-10-13	13:41:16	4308	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863800
2023-10-13	13:41:16	4308	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:16	4308	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4507_1' AND `virtuemart_product_id` != 1863800
2023-10-13	13:41:16	4308	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:16	4308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863800, 'A_4507_1')
2023-10-13	13:41:16	4308	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:16	4308	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-29-x-2-10-tlr-2c-xc-pro-60tpi-noir' AND `virtuemart_product_id` != 1863800
2023-10-13	13:41:16	4308	[DEBUG]	Query for ProductLang
2023-10-13	13:41:16	4308	[DEBUG]	Executed store
2023-10-13	13:41:16	4308	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='810 g<br>-Accroche: 3/5<br>-Traction: 4/5<br>-Vitesse: 5/5<br>-Sol optimal: sec/humide<br>-Gomme: 62a/60a<br>-ETRTO : 54-622<br><br>Un pari imbattable en XC Marathon! Un véritable concentré de technologies pour un rendement optimal sur terrains secs et roulants.<br><br>La géométrie inclinée des crampons centraux, son profil bas et un espacement réduit favorisent un meilleur contact avec la superficie et garantissent un roulement extrêmement rapide. De plus cette disposition augmente un peu plus la résistance aux coupures et crevaisons. Les rainures horizontales sur les crampons de transition, offrent une traction excellente sur des tracés droits et lors des montés<br><br>Le crampon latéral, rectangulaire et taillé à 90º avec des rainures verticales et une entaille en escalier, assure une excellente accroche latérale à grande vitesse dans tous types de courbes.<br>N° art fourn : ROL29210TLR2C',`product_name`='MSC PNEU ROLLER 29 X 2.10 TLR 2C XC PRO 60TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-29-x-2-10-tlr-2c-xc-pro-60tpi-noir' WHERE `virtuemart_product_id` = '1863800'
2023-10-13	13:41:16	4308	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27323_roller_29_x_2_10_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:41:16	4308	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:16	4308	[DEBUG]	Process image file
2023-10-13	13:41:16	4308	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:16	4308	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:16	4308	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27323_roller_29_x_2_10_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:41:16	4308	[DEBUG]	Full name target: bcprisme/27323_roller_29_x_2_10_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:41:17	4308	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:17	4308	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27323_roller_29_x_2_10_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg'
2023-10-13	13:41:17	4308	[DEBUG]	Query for Media
2023-10-13	13:41:17	4308	[DEBUG]	Executed store
2023-10-13	13:41:17	4308	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27323_roller_29_x_2_10_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg',`file_url_thumb`='bcprisme/27323_roller_29_x_2_10_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14526'
2023-10-13	13:41:17	4308	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:17	4308	[DEBUG]	Executed store
2023-10-13	13:41:17	4308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863800','14526','1')
2023-10-13	13:41:17	4308	[DEBUG]	Store product image relation
2023-10-13	13:41:17	4308	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:17	4308	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863800 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:17	4308	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:17	4308	[DEBUG]	Executed store
2023-10-13	13:41:17	4308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863800','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:17	4308	[DEBUG]	Checking manufacturer
2023-10-13	13:41:17	4308	[DEBUG]	Load a row
2023-10-13	13:41:17	4308	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:17	4308	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:17	4308	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:17	4308	[DEBUG]	Executed store
2023-10-13	13:41:17	4308	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:17	4308	[DEBUG]	Manufacturer exists
2023-10-13	13:41:17	4308	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:17	4308	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:17	4308	[DEBUG]	Executed store
2023-10-13	13:41:17	4308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863800','32')
2023-10-13	13:41:17	4308	[DEBUG]	Find the custom field ID
2023-10-13	13:41:17	4308	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:17	4308	[DEBUG]	No custom field ID found
2023-10-13	13:41:17	4308	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:17	4308	[DEBUG]	Get existing row with customfield value 46.7697222222222
2023-10-13	13:41:17	4308	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863800 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:17	4308	[DEBUG]	Store custom available field
2023-10-13	13:41:17	4308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863800,3,'46.7697222222222',1)
2023-10-13	13:41:17	4308	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:17	4308	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:17	4308	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863800 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:17	4308	[DEBUG]	Store custom available field
2023-10-13	13:41:17	4308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863800,6,'choisir la taille',3)
2023-10-13	13:41:17	4308	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:17	4308	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:17	4308	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:17	4308	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:17	4308	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863800 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:17	4308	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:17	4308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863800,8,1)
2023-10-13	13:41:17	4308	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:17	4308	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863800\":[1863800,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863800
2023-10-13	13:41:17	4308	[DEBUG]	Checking category
2023-10-13	13:41:17	4308	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:17	4308	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863800
2023-10-13	13:41:17	4308	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:17	4308	[DEBUG]	Executed store
2023-10-13	13:41:17	4308	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863800','7412')
2023-10-13	13:41:17	4308	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:17	4308	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863800 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:17	4308	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:17	4308	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863800
2023-10-13	13:41:17	4309	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:17	4309	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:17	4309	[DEBUG]	Use field value for field taille
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:17	4309	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:17	4309	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:17	4309	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:17	4309	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:17	4309	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:17	4309	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:17	4309	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:17	4309	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:17	4309	[DEBUG]	Use field value for field published
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:17	4309	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field override
2023-10-13	13:41:17	4309	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:17	4309	[DEBUG]	Use field value for field slug
2023-10-13	13:41:17	4309	[DEBUG]	Process line 4309
2023-10-13	13:41:17	4309	[DEBUG]	Load a row
2023-10-13	13:41:17	4309	[DEBUG]	Processing item: 8435466214241
2023-10-13	13:41:17	4309	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:17	4309	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:17	4309	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4507_1'
2023-10-13	13:41:17	4309	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:17	4309	[DEBUG]	Processing product tax
2023-10-13	13:41:17	4309	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:17	4309	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:17	4309	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:17	4309	[DEBUG]	Query for Product
2023-10-13	13:41:17	4309	[DEBUG]	Executed store
2023-10-13	13:41:17	4309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863800','8435466214241','0','KG','M','','22','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:17	4309	[DEBUG]	No parent found
2023-10-13	13:41:17	4309	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863800 AND customfield_value = 'stockable'
2023-10-13	13:41:17	4309	[DEBUG]	Check product language entry
2023-10-13	13:41:17	4309	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863801
2023-10-13	13:41:17	4309	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:17	4309	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214241' AND `virtuemart_product_id` != 1863801
2023-10-13	13:41:17	4309	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:17	4309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863801, '8435466214241')
2023-10-13	13:41:17	4309	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:17	4309	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-29-x-2-10-tlr-2c-xc-pro-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863801
2023-10-13	13:41:17	4309	[DEBUG]	Query for ProductLang
2023-10-13	13:41:17	4309	[DEBUG]	Executed store
2023-10-13	13:41:17	4309	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROLLER 29 X 2.10 TLR 2C XC PRO 60TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-29-x-2-10-tlr-2c-xc-pro-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863801'
2023-10-13	13:41:17	4309	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27323_roller_29_x_2_10_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:41:17	4309	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:17	4309	[DEBUG]	Process image file
2023-10-13	13:41:17	4309	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:17	4309	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:17	4309	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27323_roller_29_x_2_10_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:41:17	4309	[DEBUG]	Full name target: bcprisme/27323_roller_29_x_2_10_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:41:18	4309	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:18	4309	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27323_roller_29_x_2_10_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg'
2023-10-13	13:41:18	4309	[DEBUG]	Query for Media
2023-10-13	13:41:18	4309	[DEBUG]	Executed store
2023-10-13	13:41:18	4309	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27323_roller_29_x_2_10_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg',`file_url_thumb`='bcprisme/27323_roller_29_x_2_10_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14526'
2023-10-13	13:41:18	4309	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:18	4309	[DEBUG]	Executed store
2023-10-13	13:41:18	4309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863801','14526','1')
2023-10-13	13:41:18	4309	[DEBUG]	Store product image relation
2023-10-13	13:41:18	4309	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:18	4309	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863801 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:18	4309	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:18	4309	[DEBUG]	Executed store
2023-10-13	13:41:18	4309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863801','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:18	4309	[DEBUG]	Checking manufacturer
2023-10-13	13:41:18	4309	[DEBUG]	Load a row
2023-10-13	13:41:18	4309	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:18	4309	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:18	4309	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:18	4309	[DEBUG]	Executed store
2023-10-13	13:41:18	4309	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:18	4309	[DEBUG]	Manufacturer exists
2023-10-13	13:41:18	4309	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:18	4309	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:18	4309	[DEBUG]	Executed store
2023-10-13	13:41:18	4309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863801','32')
2023-10-13	13:41:18	4309	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:18	4309	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:18	4309	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863801 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:18	4309	[DEBUG]	Store custom available field
2023-10-13	13:41:18	4309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863801,3,'',1)
2023-10-13	13:41:18	4309	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:18	4309	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:18	4309	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863801 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:18	4309	[DEBUG]	Store custom available field
2023-10-13	13:41:18	4309	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863801,6,'Unitaire',3)
2023-10-13	13:41:18	4309	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:18	4309	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:18	4309	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863800
2023-10-13	13:41:18	4309	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:18	4309	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863800\":[1863800,8,1,\"choisir la taille\"],\"1863801\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863800
2023-10-13	13:41:18	4309	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:18	4309	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863801
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:18	4310	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field taille
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:18	4310	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:18	4310	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:18	4310	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:18	4310	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:18	4310	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:18	4310	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field published
2023-10-13	13:41:18	4310	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:18	4310	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field override
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:18	4310	[DEBUG]	Use field value for field slug
2023-10-13	13:41:18	4310	[DEBUG]	Process line 4310
2023-10-13	13:41:18	4310	[DEBUG]	Load a row
2023-10-13	13:41:18	4310	[DEBUG]	Processing item: A_4508_1
2023-10-13	13:41:18	4310	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:18	4310	[DEBUG]	Processing product tax
2023-10-13	13:41:18	4310	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:18	4310	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:18	4310	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:18	4310	[DEBUG]	Query for Product
2023-10-13	13:41:18	4310	[DEBUG]	Executed store
2023-10-13	13:41:18	4310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4508_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:18	4310	[DEBUG]	Check product language entry
2023-10-13	13:41:18	4310	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863802
2023-10-13	13:41:18	4310	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:18	4310	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4508_1' AND `virtuemart_product_id` != 1863802
2023-10-13	13:41:18	4310	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:18	4310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863802, 'A_4508_1')
2023-10-13	13:41:18	4310	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:18	4310	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-29-x-2-10-60-tpi-pliable-noir' AND `virtuemart_product_id` != 1863802
2023-10-13	13:41:18	4310	[DEBUG]	Query for ProductLang
2023-10-13	13:41:18	4310	[DEBUG]	Executed store
2023-10-13	13:41:18	4310	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='630 g<br>-Accroche: 3/5<br>-Traction: 4/5<br>-Vitesse: 5/5<br>-Sol optimal: sec/humide<br>-Gomme: 62a<br>-ETRTO 54-622<br><br>Un pari imbattable en XC Marathon! Un véritable concentré de technologies pour un rendement optimal sur terrains secs et roulants.<br><br>La géométrie inclinée des crampons centraux, son profil bas et un espacement réduit favorisent un meilleur contact avec la superficie et garantissent un roulement extrêmement rapide. De plus cette disposition augmente un peu plus la résistance aux coupures et crevaisons. Les rainures horizontales sur les crampons de transition, offrent une traction excellente sur des tracés droits et lors des montés<br><br>Le crampon latéral, rectangulaire et taillé à 90º avec des rainures verticales et une entaille en escalier, assure une excellente accroche latérale à grande vitesse dans tous types de courbes.<br>N° art fourn : ROL29210KV',`product_name`='MSC PNEU ROLLER 29 X 2.10 60 TPI PLIABLE / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-29-x-2-10-60-tpi-pliable-noir' WHERE `virtuemart_product_id` = '1863802'
2023-10-13	13:41:18	4310	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27324_roller_29_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:41:18	4310	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:18	4310	[DEBUG]	Process image file
2023-10-13	13:41:18	4310	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:18	4310	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:18	4310	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27324_roller_29_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:41:18	4310	[DEBUG]	Full name target: bcprisme/27324_roller_29_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:41:19	4310	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:19	4310	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27324_roller_29_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a.jpg'
2023-10-13	13:41:19	4310	[DEBUG]	Query for Media
2023-10-13	13:41:19	4310	[DEBUG]	Executed store
2023-10-13	13:41:19	4310	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27324_roller_29_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a.jpg',`file_url_thumb`='bcprisme/27324_roller_29_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14527'
2023-10-13	13:41:19	4310	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:19	4310	[DEBUG]	Executed store
2023-10-13	13:41:19	4310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863802','14527','1')
2023-10-13	13:41:19	4310	[DEBUG]	Store product image relation
2023-10-13	13:41:19	4310	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:19	4310	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863802 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:19	4310	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:19	4310	[DEBUG]	Executed store
2023-10-13	13:41:19	4310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863802','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:19	4310	[DEBUG]	Checking manufacturer
2023-10-13	13:41:19	4310	[DEBUG]	Load a row
2023-10-13	13:41:19	4310	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:19	4310	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:19	4310	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:19	4310	[DEBUG]	Executed store
2023-10-13	13:41:19	4310	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:19	4310	[DEBUG]	Manufacturer exists
2023-10-13	13:41:19	4310	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:19	4310	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:19	4310	[DEBUG]	Executed store
2023-10-13	13:41:19	4310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863802','32')
2023-10-13	13:41:19	4310	[DEBUG]	Find the custom field ID
2023-10-13	13:41:19	4310	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:19	4310	[DEBUG]	No custom field ID found
2023-10-13	13:41:19	4310	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:19	4310	[DEBUG]	Get existing row with customfield value 37.7947222222222
2023-10-13	13:41:19	4310	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863802 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:19	4310	[DEBUG]	Store custom available field
2023-10-13	13:41:19	4310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863802,3,'37.7947222222222',1)
2023-10-13	13:41:19	4310	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:19	4310	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:19	4310	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863802 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:19	4310	[DEBUG]	Store custom available field
2023-10-13	13:41:19	4310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863802,6,'choisir la taille',3)
2023-10-13	13:41:19	4310	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:19	4310	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:19	4310	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:19	4310	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:19	4310	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863802 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:19	4310	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:19	4310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863802,8,1)
2023-10-13	13:41:19	4310	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:19	4310	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863802\":[1863802,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863802
2023-10-13	13:41:19	4310	[DEBUG]	Checking category
2023-10-13	13:41:19	4310	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:19	4310	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863802
2023-10-13	13:41:19	4310	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:19	4310	[DEBUG]	Executed store
2023-10-13	13:41:19	4310	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863802','7412')
2023-10-13	13:41:19	4310	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:19	4310	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863802 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:19	4310	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:19	4310	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863802
2023-10-13	13:41:19	4311	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:19	4311	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:19	4311	[DEBUG]	Use field value for field taille
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:19	4311	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:19	4311	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:19	4311	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:19	4311	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:19	4311	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:19	4311	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:19	4311	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:19	4311	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:19	4311	[DEBUG]	Use field value for field published
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:19	4311	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field override
2023-10-13	13:41:19	4311	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:19	4311	[DEBUG]	Use field value for field slug
2023-10-13	13:41:19	4311	[DEBUG]	Process line 4311
2023-10-13	13:41:19	4311	[DEBUG]	Load a row
2023-10-13	13:41:19	4311	[DEBUG]	Processing item: 8435466214272
2023-10-13	13:41:19	4311	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:19	4311	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:19	4311	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4508_1'
2023-10-13	13:41:19	4311	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:19	4311	[DEBUG]	Processing product tax
2023-10-13	13:41:19	4311	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:19	4311	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:19	4311	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:19	4311	[DEBUG]	Query for Product
2023-10-13	13:41:19	4311	[DEBUG]	Executed store
2023-10-13	13:41:19	4311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863802','8435466214272','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:19	4311	[DEBUG]	No parent found
2023-10-13	13:41:19	4311	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863802 AND customfield_value = 'stockable'
2023-10-13	13:41:19	4311	[DEBUG]	Check product language entry
2023-10-13	13:41:19	4311	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863803
2023-10-13	13:41:19	4311	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:19	4311	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214272' AND `virtuemart_product_id` != 1863803
2023-10-13	13:41:19	4311	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:19	4311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863803, '8435466214272')
2023-10-13	13:41:19	4311	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:19	4311	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-29-x-2-10-60-tpi-pliable-noir-unitaire' AND `virtuemart_product_id` != 1863803
2023-10-13	13:41:19	4311	[DEBUG]	Query for ProductLang
2023-10-13	13:41:19	4311	[DEBUG]	Executed store
2023-10-13	13:41:19	4311	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROLLER 29 X 2.10 60 TPI PLIABLE / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-29-x-2-10-60-tpi-pliable-noir-unitaire' WHERE `virtuemart_product_id` = '1863803'
2023-10-13	13:41:19	4311	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27324_roller_29_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:41:19	4311	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:19	4311	[DEBUG]	Process image file
2023-10-13	13:41:19	4311	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:19	4311	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:19	4311	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27324_roller_29_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:41:19	4311	[DEBUG]	Full name target: bcprisme/27324_roller_29_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:41:20	4311	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:20	4311	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27324_roller_29_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a.jpg'
2023-10-13	13:41:20	4311	[DEBUG]	Query for Media
2023-10-13	13:41:20	4311	[DEBUG]	Executed store
2023-10-13	13:41:20	4311	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27324_roller_29_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a.jpg',`file_url_thumb`='bcprisme/27324_roller_29_x_2_10_kevlar,_60_tpi,_lateral_noir,_gomme_62a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14527'
2023-10-13	13:41:20	4311	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:20	4311	[DEBUG]	Executed store
2023-10-13	13:41:20	4311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863803','14527','1')
2023-10-13	13:41:20	4311	[DEBUG]	Store product image relation
2023-10-13	13:41:20	4311	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:20	4311	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863803 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:20	4311	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:20	4311	[DEBUG]	Executed store
2023-10-13	13:41:20	4311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863803','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:20	4311	[DEBUG]	Checking manufacturer
2023-10-13	13:41:20	4311	[DEBUG]	Load a row
2023-10-13	13:41:20	4311	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:20	4311	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:20	4311	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:20	4311	[DEBUG]	Executed store
2023-10-13	13:41:20	4311	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:20	4311	[DEBUG]	Manufacturer exists
2023-10-13	13:41:20	4311	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:20	4311	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:20	4311	[DEBUG]	Executed store
2023-10-13	13:41:20	4311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863803','32')
2023-10-13	13:41:20	4311	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:20	4311	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:20	4311	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863803 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:20	4311	[DEBUG]	Store custom available field
2023-10-13	13:41:20	4311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863803,3,'',1)
2023-10-13	13:41:20	4311	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:20	4311	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:20	4311	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863803 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:20	4311	[DEBUG]	Store custom available field
2023-10-13	13:41:20	4311	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863803,6,'Unitaire',3)
2023-10-13	13:41:20	4311	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:20	4311	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:20	4311	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863802
2023-10-13	13:41:20	4311	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:20	4311	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863802\":[1863802,8,1,\"choisir la taille\"],\"1863803\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863802
2023-10-13	13:41:20	4311	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:20	4311	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863803
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:20	4312	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field taille
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:20	4312	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:20	4312	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:20	4312	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:20	4312	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:20	4312	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:20	4312	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field published
2023-10-13	13:41:20	4312	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:20	4312	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field override
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:20	4312	[DEBUG]	Use field value for field slug
2023-10-13	13:41:20	4312	[DEBUG]	Process line 4312
2023-10-13	13:41:20	4312	[DEBUG]	Load a row
2023-10-13	13:41:20	4312	[DEBUG]	Processing item: A_4509_1
2023-10-13	13:41:20	4312	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:20	4312	[DEBUG]	Processing product tax
2023-10-13	13:41:20	4312	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:20	4312	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:20	4312	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:20	4312	[DEBUG]	Query for Product
2023-10-13	13:41:20	4312	[DEBUG]	Executed store
2023-10-13	13:41:20	4312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4509_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:20	4312	[DEBUG]	Check product language entry
2023-10-13	13:41:20	4312	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863804
2023-10-13	13:41:20	4312	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:20	4312	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4509_1' AND `virtuemart_product_id` != 1863804
2023-10-13	13:41:20	4312	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:20	4312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863804, 'A_4509_1')
2023-10-13	13:41:20	4312	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:20	4312	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-29-x-2-10-33tpi-noir' AND `virtuemart_product_id` != 1863804
2023-10-13	13:41:20	4312	[DEBUG]	Query for ProductLang
2023-10-13	13:41:20	4312	[DEBUG]	Executed store
2023-10-13	13:41:20	4312	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='800 g<br>-Accroche: 3/5<br>-Traction: 4/5<br>-Vitesse: 5/5<br>-Sol optimal: sec/humide<br>-Gomme: 62a<br>-ETRTO 54-622<br><br>Un pari imbattable en XC Marathon! Un véritable concentré de technologies pour un rendement optimal sur terrains secs et roulants.<br><br>La géométrie inclinée des crampons centraux, son profil bas et un espacement réduit favorisent un meilleur contact avec la superficie et garantissent un roulement extrêmement rapide. De plus cette disposition augmente un peu plus la résistance aux coupures et crevaisons. Les rainures horizontales sur les crampons de transition, offrent une traction excellente sur des tracés droits et lors des montés<br><br>Le crampon latéral, rectangulaire et taillé à 90º avec des rainures verticales et une entaille en escalier, assure une excellente accroche latérale à grande vitesse dans tous types de courbes.<br>N° art fourn : ROL29210W',`product_name`='MSC PNEU ROLLER 29 X 2.10 33TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-29-x-2-10-33tpi-noir' WHERE `virtuemart_product_id` = '1863804'
2023-10-13	13:41:20	4312	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27325_roller_29_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:41:20	4312	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:20	4312	[DEBUG]	Process image file
2023-10-13	13:41:20	4312	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:20	4312	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:20	4312	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27325_roller_29_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:41:20	4312	[DEBUG]	Full name target: bcprisme/27325_roller_29_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:41:21	4312	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:21	4312	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27325_roller_29_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg'
2023-10-13	13:41:21	4312	[DEBUG]	Query for Media
2023-10-13	13:41:21	4312	[DEBUG]	Executed store
2023-10-13	13:41:21	4312	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27325_roller_29_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg',`file_url_thumb`='bcprisme/27325_roller_29_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14528'
2023-10-13	13:41:21	4312	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:21	4312	[DEBUG]	Executed store
2023-10-13	13:41:21	4312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863804','14528','1')
2023-10-13	13:41:21	4312	[DEBUG]	Store product image relation
2023-10-13	13:41:21	4312	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:21	4312	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863804 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:21	4312	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:21	4312	[DEBUG]	Executed store
2023-10-13	13:41:21	4312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863804','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:21	4312	[DEBUG]	Checking manufacturer
2023-10-13	13:41:21	4312	[DEBUG]	Load a row
2023-10-13	13:41:21	4312	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:21	4312	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:21	4312	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:21	4312	[DEBUG]	Executed store
2023-10-13	13:41:21	4312	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:21	4312	[DEBUG]	Manufacturer exists
2023-10-13	13:41:21	4312	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:21	4312	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:21	4312	[DEBUG]	Executed store
2023-10-13	13:41:21	4312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863804','32')
2023-10-13	13:41:21	4312	[DEBUG]	Find the custom field ID
2023-10-13	13:41:21	4312	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:21	4312	[DEBUG]	No custom field ID found
2023-10-13	13:41:21	4312	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:21	4312	[DEBUG]	Get existing row with customfield value 23.8336111111111
2023-10-13	13:41:21	4312	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863804 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:21	4312	[DEBUG]	Store custom available field
2023-10-13	13:41:21	4312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863804,3,'23.8336111111111',1)
2023-10-13	13:41:21	4312	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:21	4312	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:21	4312	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863804 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:21	4312	[DEBUG]	Store custom available field
2023-10-13	13:41:21	4312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863804,6,'choisir la taille',3)
2023-10-13	13:41:21	4312	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:21	4312	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:21	4312	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:21	4312	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:21	4312	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863804 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:21	4312	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:21	4312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863804,8,1)
2023-10-13	13:41:21	4312	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:21	4312	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863804\":[1863804,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863804
2023-10-13	13:41:21	4312	[DEBUG]	Checking category
2023-10-13	13:41:21	4312	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:21	4312	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863804
2023-10-13	13:41:21	4312	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:21	4312	[DEBUG]	Executed store
2023-10-13	13:41:21	4312	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863804','7412')
2023-10-13	13:41:21	4312	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:21	4312	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863804 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:21	4312	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:21	4312	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863804
2023-10-13	13:41:21	4313	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:21	4313	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:21	4313	[DEBUG]	Use field value for field taille
2023-10-13	13:41:21	4313	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:21	4313	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:21	4313	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:21	4313	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:21	4313	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:21	4313	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:21	4313	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:21	4313	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:21	4313	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:21	4313	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:21	4313	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:21	4313	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:21	4313	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:21	4313	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:21	4313	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:21	4313	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:22	4313	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:22	4313	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:22	4313	[DEBUG]	Use field value for field published
2023-10-13	13:41:22	4313	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:22	4313	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:22	4313	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:22	4313	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:22	4313	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:22	4313	[DEBUG]	Use default value for field override
2023-10-13	13:41:22	4313	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:22	4313	[DEBUG]	Use field value for field slug
2023-10-13	13:41:22	4313	[DEBUG]	Process line 4313
2023-10-13	13:41:22	4313	[DEBUG]	Load a row
2023-10-13	13:41:22	4313	[DEBUG]	Processing item: 8435466214289
2023-10-13	13:41:22	4313	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:22	4313	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:22	4313	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4509_1'
2023-10-13	13:41:22	4313	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:22	4313	[DEBUG]	Processing product tax
2023-10-13	13:41:22	4313	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:22	4313	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:22	4313	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:22	4313	[DEBUG]	Query for Product
2023-10-13	13:41:22	4313	[DEBUG]	Executed store
2023-10-13	13:41:22	4313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863804','8435466214289','0','KG','M','','6','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:22	4313	[DEBUG]	No parent found
2023-10-13	13:41:22	4313	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863804 AND customfield_value = 'stockable'
2023-10-13	13:41:22	4313	[DEBUG]	Check product language entry
2023-10-13	13:41:22	4313	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863805
2023-10-13	13:41:22	4313	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:22	4313	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214289' AND `virtuemart_product_id` != 1863805
2023-10-13	13:41:22	4313	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:22	4313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863805, '8435466214289')
2023-10-13	13:41:22	4313	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:22	4313	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-29-x-2-10-33tpi-noir-unitaire' AND `virtuemart_product_id` != 1863805
2023-10-13	13:41:22	4313	[DEBUG]	Query for ProductLang
2023-10-13	13:41:22	4313	[DEBUG]	Executed store
2023-10-13	13:41:22	4313	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROLLER 29 X 2.10 33TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-29-x-2-10-33tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863805'
2023-10-13	13:41:22	4313	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27325_roller_29_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:41:22	4313	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:22	4313	[DEBUG]	Process image file
2023-10-13	13:41:22	4313	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:22	4313	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:22	4313	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27325_roller_29_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:41:22	4313	[DEBUG]	Full name target: bcprisme/27325_roller_29_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg
2023-10-13	13:41:22	4313	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:22	4313	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27325_roller_29_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg'
2023-10-13	13:41:22	4313	[DEBUG]	Query for Media
2023-10-13	13:41:22	4313	[DEBUG]	Executed store
2023-10-13	13:41:22	4313	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27325_roller_29_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg',`file_url_thumb`='bcprisme/27325_roller_29_x_2_10_wire,_33_tpi,_lateral_noir,_gomme_62a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14528'
2023-10-13	13:41:23	4313	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:23	4313	[DEBUG]	Executed store
2023-10-13	13:41:23	4313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863805','14528','1')
2023-10-13	13:41:23	4313	[DEBUG]	Store product image relation
2023-10-13	13:41:23	4313	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:23	4313	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863805 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:23	4313	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:23	4313	[DEBUG]	Executed store
2023-10-13	13:41:23	4313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863805','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:23	4313	[DEBUG]	Checking manufacturer
2023-10-13	13:41:23	4313	[DEBUG]	Load a row
2023-10-13	13:41:23	4313	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:23	4313	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:23	4313	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:23	4313	[DEBUG]	Executed store
2023-10-13	13:41:23	4313	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:23	4313	[DEBUG]	Manufacturer exists
2023-10-13	13:41:23	4313	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:23	4313	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:23	4313	[DEBUG]	Executed store
2023-10-13	13:41:23	4313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863805','32')
2023-10-13	13:41:23	4313	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:23	4313	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:23	4313	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863805 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:23	4313	[DEBUG]	Store custom available field
2023-10-13	13:41:23	4313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863805,3,'',1)
2023-10-13	13:41:23	4313	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:23	4313	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:23	4313	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863805 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:23	4313	[DEBUG]	Store custom available field
2023-10-13	13:41:23	4313	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863805,6,'Unitaire',3)
2023-10-13	13:41:23	4313	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:23	4313	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:23	4313	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863804
2023-10-13	13:41:23	4313	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:23	4313	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863804\":[1863804,8,1,\"choisir la taille\"],\"1863805\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863804
2023-10-13	13:41:23	4313	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:23	4313	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863805
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:23	4314	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field taille
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:23	4314	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:23	4314	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:23	4314	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:23	4314	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:23	4314	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:23	4314	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field published
2023-10-13	13:41:23	4314	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:23	4314	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field override
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:23	4314	[DEBUG]	Use field value for field slug
2023-10-13	13:41:23	4314	[DEBUG]	Process line 4314
2023-10-13	13:41:23	4314	[DEBUG]	Load a row
2023-10-13	13:41:23	4314	[DEBUG]	Processing item: A_4526_172
2023-10-13	13:41:23	4314	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:23	4314	[DEBUG]	Processing product tax
2023-10-13	13:41:23	4314	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:23	4314	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:23	4314	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:23	4314	[DEBUG]	Query for Product
2023-10-13	13:41:23	4314	[DEBUG]	Executed store
2023-10-13	13:41:23	4314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4526_172','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:23	4314	[DEBUG]	Check product language entry
2023-10-13	13:41:23	4314	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863806
2023-10-13	13:41:23	4314	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:23	4314	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4526_172' AND `virtuemart_product_id` != 1863806
2023-10-13	13:41:23	4314	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:23	4314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863806, 'A_4526_172')
2023-10-13	13:41:23	4314	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:23	4314	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-29-x-2-20-tlr-2c-xc-race-120tpi-noir-marron' AND `virtuemart_product_id` != 1863806
2023-10-13	13:41:23	4314	[DEBUG]	Query for ProductLang
2023-10-13	13:41:23	4314	[DEBUG]	Executed store
2023-10-13	13:41:23	4314	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='760 g<br>-Accroche: 4/5<br>-Traction: 5/5<br>-Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br>-Gomme: 60a/50a<br>-ETRTO : 56-622<br><br>Usage optimisé pour XC et All Mountain. Polyvalent, adapté pour terrains variés.<br><br>La zone de roulement centrale, formée de crampons carrés proéminents aux coupes verticales avec une finition rugueuse sur le dessus assurent un grip efficace sur toutes les superficies y compris glissantes. Le positionnement des crampons sur différents angles apporte de la traction dans toutes les circonstances.<br><br>La nervure verticale qui unit les crampons intermédiaires, les rend plus consistants et donne plus de stabilité au pneumatique. La zone latérale, avec ses crampons rectangulaires situés à 2 endroits distints offre une accroche plus efficace. Les rainures verticales comme horizontales apportent plus de flexibilités aux crampons qui s’adapteront plus facilement aux imperfections du terrain et une plus grande longévité des gommes. <br>N° art fourn : TRA29220TLR2CX',`product_name`='MSC PNEU TRACTOR 29 X 2.20 TLR 2C XC RACE 120TPI / NOIR-MARRON',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-29-x-2-20-tlr-2c-xc-race-120tpi-noir-marron' WHERE `virtuemart_product_id` = '1863806'
2023-10-13	13:41:23	4314	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27326_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race.jpg
2023-10-13	13:41:23	4314	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:23	4314	[DEBUG]	Process image file
2023-10-13	13:41:23	4314	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:23	4314	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:23	4314	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27326_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race.jpg
2023-10-13	13:41:23	4314	[DEBUG]	Full name target: bcprisme/27326_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race.jpg
2023-10-13	13:41:24	4314	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:24	4314	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27326_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race.jpg'
2023-10-13	13:41:24	4314	[DEBUG]	Query for Media
2023-10-13	13:41:24	4314	[DEBUG]	Executed store
2023-10-13	13:41:24	4314	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27326_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race.jpg',`file_url_thumb`='bcprisme/27326_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14529'
2023-10-13	13:41:24	4314	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:24	4314	[DEBUG]	Executed store
2023-10-13	13:41:24	4314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863806','14529','1')
2023-10-13	13:41:24	4314	[DEBUG]	Store product image relation
2023-10-13	13:41:24	4314	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:24	4314	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863806 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:24	4314	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:24	4314	[DEBUG]	Executed store
2023-10-13	13:41:24	4314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863806','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:24	4314	[DEBUG]	Checking manufacturer
2023-10-13	13:41:24	4314	[DEBUG]	Load a row
2023-10-13	13:41:24	4314	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:24	4314	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:24	4314	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:24	4314	[DEBUG]	Executed store
2023-10-13	13:41:24	4314	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:24	4314	[DEBUG]	Manufacturer exists
2023-10-13	13:41:24	4314	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:24	4314	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:24	4314	[DEBUG]	Executed store
2023-10-13	13:41:24	4314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863806','32')
2023-10-13	13:41:24	4314	[DEBUG]	Find the custom field ID
2023-10-13	13:41:24	4314	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:24	4314	[DEBUG]	No custom field ID found
2023-10-13	13:41:24	4314	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:24	4314	[DEBUG]	Get existing row with customfield value 57.7391666666667
2023-10-13	13:41:24	4314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863806 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:24	4314	[DEBUG]	Store custom available field
2023-10-13	13:41:24	4314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863806,3,'57.7391666666667',1)
2023-10-13	13:41:24	4314	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:24	4314	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:24	4314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863806 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:24	4314	[DEBUG]	Store custom available field
2023-10-13	13:41:24	4314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863806,6,'choisir la taille',3)
2023-10-13	13:41:24	4314	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:24	4314	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:24	4314	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:24	4314	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:24	4314	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863806 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:24	4314	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:24	4314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863806,8,1)
2023-10-13	13:41:24	4314	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:24	4314	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863806\":[1863806,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863806
2023-10-13	13:41:24	4314	[DEBUG]	Checking category
2023-10-13	13:41:24	4314	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:24	4314	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863806
2023-10-13	13:41:24	4314	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:24	4314	[DEBUG]	Executed store
2023-10-13	13:41:24	4314	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863806','7412')
2023-10-13	13:41:24	4314	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:24	4314	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863806 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:24	4314	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:24	4314	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863806
2023-10-13	13:41:24	4315	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:24	4315	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:24	4315	[DEBUG]	Use field value for field taille
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:24	4315	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:24	4315	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:24	4315	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:24	4315	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:24	4315	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:24	4315	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:24	4315	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:24	4315	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:24	4315	[DEBUG]	Use field value for field published
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:24	4315	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field override
2023-10-13	13:41:24	4315	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:24	4315	[DEBUG]	Use field value for field slug
2023-10-13	13:41:24	4315	[DEBUG]	Process line 4315
2023-10-13	13:41:24	4315	[DEBUG]	Load a row
2023-10-13	13:41:24	4315	[DEBUG]	Processing item: 8435466214319
2023-10-13	13:41:24	4315	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:24	4315	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:24	4315	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4526_172'
2023-10-13	13:41:24	4315	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:24	4315	[DEBUG]	Processing product tax
2023-10-13	13:41:24	4315	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:24	4315	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:24	4315	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:24	4315	[DEBUG]	Query for Product
2023-10-13	13:41:24	4315	[DEBUG]	Executed store
2023-10-13	13:41:24	4315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863806','8435466214319','0','KG','M','','8','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:24	4315	[DEBUG]	No parent found
2023-10-13	13:41:24	4315	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863806 AND customfield_value = 'stockable'
2023-10-13	13:41:24	4315	[DEBUG]	Check product language entry
2023-10-13	13:41:24	4315	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863807
2023-10-13	13:41:24	4315	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:24	4315	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214319' AND `virtuemart_product_id` != 1863807
2023-10-13	13:41:24	4315	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:24	4315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863807, '8435466214319')
2023-10-13	13:41:24	4315	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:24	4315	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-29-x-2-20-tlr-2c-xc-race-120tpi-noir-marron-unitaire' AND `virtuemart_product_id` != 1863807
2023-10-13	13:41:24	4315	[DEBUG]	Query for ProductLang
2023-10-13	13:41:24	4315	[DEBUG]	Executed store
2023-10-13	13:41:24	4315	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU TRACTOR 29 X 2.20 TLR 2C XC RACE 120TPI / NOIR-MARRON (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-29-x-2-20-tlr-2c-xc-race-120tpi-noir-marron-unitaire' WHERE `virtuemart_product_id` = '1863807'
2023-10-13	13:41:24	4315	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27326_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race.jpg
2023-10-13	13:41:24	4315	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:24	4315	[DEBUG]	Process image file
2023-10-13	13:41:24	4315	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:24	4315	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:24	4315	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27326_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race.jpg
2023-10-13	13:41:24	4315	[DEBUG]	Full name target: bcprisme/27326_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race.jpg
2023-10-13	13:41:25	4315	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:25	4315	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27326_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race.jpg'
2023-10-13	13:41:25	4315	[DEBUG]	Query for Media
2023-10-13	13:41:25	4315	[DEBUG]	Executed store
2023-10-13	13:41:25	4315	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27326_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race.jpg',`file_url_thumb`='bcprisme/27326_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14529'
2023-10-13	13:41:25	4315	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:25	4315	[DEBUG]	Executed store
2023-10-13	13:41:25	4315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863807','14529','1')
2023-10-13	13:41:25	4315	[DEBUG]	Store product image relation
2023-10-13	13:41:25	4315	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:25	4315	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863807 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:25	4315	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:25	4315	[DEBUG]	Executed store
2023-10-13	13:41:25	4315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863807','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:25	4315	[DEBUG]	Checking manufacturer
2023-10-13	13:41:25	4315	[DEBUG]	Load a row
2023-10-13	13:41:25	4315	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:25	4315	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:25	4315	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:25	4315	[DEBUG]	Executed store
2023-10-13	13:41:25	4315	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:25	4315	[DEBUG]	Manufacturer exists
2023-10-13	13:41:25	4315	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:25	4315	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:25	4315	[DEBUG]	Executed store
2023-10-13	13:41:25	4315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863807','32')
2023-10-13	13:41:25	4315	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:25	4315	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:25	4315	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863807 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:25	4315	[DEBUG]	Store custom available field
2023-10-13	13:41:25	4315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863807,3,'',1)
2023-10-13	13:41:25	4315	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:25	4315	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:25	4315	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863807 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:25	4315	[DEBUG]	Store custom available field
2023-10-13	13:41:25	4315	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863807,6,'Unitaire',3)
2023-10-13	13:41:25	4315	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:25	4315	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:25	4315	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863806
2023-10-13	13:41:25	4315	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:25	4315	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863806\":[1863806,8,1,\"choisir la taille\"],\"1863807\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863806
2023-10-13	13:41:25	4315	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:25	4315	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863807
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:25	4316	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field taille
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:25	4316	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:25	4316	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:25	4316	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:25	4316	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:25	4316	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:25	4316	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field published
2023-10-13	13:41:25	4316	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:25	4316	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field override
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:25	4316	[DEBUG]	Use field value for field slug
2023-10-13	13:41:25	4316	[DEBUG]	Process line 4316
2023-10-13	13:41:25	4316	[DEBUG]	Load a row
2023-10-13	13:41:25	4316	[DEBUG]	Processing item: A_4527_1
2023-10-13	13:41:25	4316	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:25	4316	[DEBUG]	Processing product tax
2023-10-13	13:41:25	4316	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:25	4316	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:25	4316	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:25	4316	[DEBUG]	Query for Product
2023-10-13	13:41:25	4316	[DEBUG]	Executed store
2023-10-13	13:41:25	4316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4527_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:25	4316	[DEBUG]	Check product language entry
2023-10-13	13:41:25	4316	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863808
2023-10-13	13:41:25	4316	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:25	4316	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4527_1' AND `virtuemart_product_id` != 1863808
2023-10-13	13:41:25	4316	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:25	4316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863808, 'A_4527_1')
2023-10-13	13:41:25	4316	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:25	4316	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-29-x-2-20-tlr-2c-xc-pro-60-tpi-noir' AND `virtuemart_product_id` != 1863808
2023-10-13	13:41:25	4316	[DEBUG]	Query for ProductLang
2023-10-13	13:41:25	4316	[DEBUG]	Executed store
2023-10-13	13:41:25	4316	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='850 g<br>-Accroche: 4/5<br>-Traction: 5/5<br>-Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br>-Gomme: 62a/60a<br><br>Usage optimisé pour XC et All Mountain. Polyvalent, adapté pour terrains variés.<br><br>La zone de roulement centrale, formée de crampons carrés proéminents aux coupes verticales avec une finition rugueuse sur le dessus assurent un grip efficace sur toutes les superficies y compris glissantes. Le positionnement des crampons sur différents angles apporte de la traction dans toutes les circonstances.<br><br>La nervure verticale qui unit les crampons intermédiaires, les rend plus consistants et donne plus de stabilité au pneumatique. La zone latérale, avec ses crampons rectangulaires situés à 2 endroits distints offre une accroche plus efficace. Les rainures verticales comme horizontales apportent plus de flexibilités aux crampons qui s’adapteront plus facilement aux imperfections du terrain et une plus grande longévité des gommes.<br>N° art fourn : TRA29220TLR2C',`product_name`='MSC PNEU TRACTOR 29 X 2.20 TLR 2C XC PRO 60 TPI  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-29-x-2-20-tlr-2c-xc-pro-60-tpi-noir' WHERE `virtuemart_product_id` = '1863808'
2023-10-13	13:41:25	4316	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27327_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:41:25	4316	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:25	4316	[DEBUG]	Process image file
2023-10-13	13:41:25	4316	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:25	4316	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:25	4316	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27327_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:41:25	4316	[DEBUG]	Full name target: bcprisme/27327_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:41:26	4316	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:26	4316	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27327_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg'
2023-10-13	13:41:26	4316	[DEBUG]	Query for Media
2023-10-13	13:41:26	4316	[DEBUG]	Executed store
2023-10-13	13:41:26	4316	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27327_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg',`file_url_thumb`='bcprisme/27327_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14530'
2023-10-13	13:41:26	4316	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:26	4316	[DEBUG]	Executed store
2023-10-13	13:41:26	4316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863808','14530','1')
2023-10-13	13:41:26	4316	[DEBUG]	Store product image relation
2023-10-13	13:41:26	4316	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:26	4316	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863808 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:26	4316	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:26	4316	[DEBUG]	Executed store
2023-10-13	13:41:26	4316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863808','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:26	4316	[DEBUG]	Checking manufacturer
2023-10-13	13:41:26	4316	[DEBUG]	Load a row
2023-10-13	13:41:26	4316	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:26	4316	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:26	4316	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:26	4316	[DEBUG]	Executed store
2023-10-13	13:41:26	4316	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:26	4316	[DEBUG]	Manufacturer exists
2023-10-13	13:41:26	4316	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:26	4316	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:26	4316	[DEBUG]	Executed store
2023-10-13	13:41:26	4316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863808','32')
2023-10-13	13:41:26	4316	[DEBUG]	Find the custom field ID
2023-10-13	13:41:26	4316	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:26	4316	[DEBUG]	No custom field ID found
2023-10-13	13:41:26	4316	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:26	4316	[DEBUG]	Get existing row with customfield value 46.7697222222222
2023-10-13	13:41:26	4316	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863808 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:26	4316	[DEBUG]	Store custom available field
2023-10-13	13:41:26	4316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863808,3,'46.7697222222222',1)
2023-10-13	13:41:26	4316	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:26	4316	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:26	4316	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863808 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:26	4316	[DEBUG]	Store custom available field
2023-10-13	13:41:26	4316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863808,6,'choisir la taille',3)
2023-10-13	13:41:26	4316	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:26	4316	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:26	4316	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:26	4316	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:26	4316	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863808 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:26	4316	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:26	4316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863808,8,1)
2023-10-13	13:41:26	4316	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:26	4316	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863808\":[1863808,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863808
2023-10-13	13:41:26	4316	[DEBUG]	Checking category
2023-10-13	13:41:26	4316	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:26	4316	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863808
2023-10-13	13:41:26	4316	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:26	4316	[DEBUG]	Executed store
2023-10-13	13:41:26	4316	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863808','7412')
2023-10-13	13:41:26	4316	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:26	4316	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863808 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:26	4316	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:26	4316	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863808
2023-10-13	13:41:26	4317	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:26	4317	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:26	4317	[DEBUG]	Use field value for field taille
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:26	4317	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:26	4317	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:26	4317	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:26	4317	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:26	4317	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:26	4317	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:26	4317	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:26	4317	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:26	4317	[DEBUG]	Use field value for field published
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:26	4317	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field override
2023-10-13	13:41:26	4317	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:26	4317	[DEBUG]	Use field value for field slug
2023-10-13	13:41:26	4317	[DEBUG]	Process line 4317
2023-10-13	13:41:26	4317	[DEBUG]	Load a row
2023-10-13	13:41:26	4317	[DEBUG]	Processing item: 8435466214326
2023-10-13	13:41:26	4317	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:26	4317	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:26	4317	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4527_1'
2023-10-13	13:41:26	4317	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:26	4317	[DEBUG]	Processing product tax
2023-10-13	13:41:26	4317	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:26	4317	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:26	4317	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:26	4317	[DEBUG]	Query for Product
2023-10-13	13:41:26	4317	[DEBUG]	Executed store
2023-10-13	13:41:26	4317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863808','8435466214326','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:26	4317	[DEBUG]	No parent found
2023-10-13	13:41:26	4317	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863808 AND customfield_value = 'stockable'
2023-10-13	13:41:26	4317	[DEBUG]	Check product language entry
2023-10-13	13:41:26	4317	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863809
2023-10-13	13:41:26	4317	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:26	4317	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214326' AND `virtuemart_product_id` != 1863809
2023-10-13	13:41:26	4317	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:26	4317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863809, '8435466214326')
2023-10-13	13:41:26	4317	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:26	4317	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-29-x-2-20-tlr-2c-xc-pro-60-tpi-noir-unitaire' AND `virtuemart_product_id` != 1863809
2023-10-13	13:41:26	4317	[DEBUG]	Query for ProductLang
2023-10-13	13:41:26	4317	[DEBUG]	Executed store
2023-10-13	13:41:26	4317	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU TRACTOR 29 X 2.20 TLR 2C XC PRO 60 TPI  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-29-x-2-20-tlr-2c-xc-pro-60-tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863809'
2023-10-13	13:41:26	4317	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27327_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:41:26	4317	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:26	4317	[DEBUG]	Process image file
2023-10-13	13:41:26	4317	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:26	4317	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:26	4317	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27327_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:41:26	4317	[DEBUG]	Full name target: bcprisme/27327_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg
2023-10-13	13:41:27	4317	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:27	4317	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27327_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg'
2023-10-13	13:41:27	4317	[DEBUG]	Query for Media
2023-10-13	13:41:27	4317	[DEBUG]	Executed store
2023-10-13	13:41:27	4317	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27327_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg',`file_url_thumb`='bcprisme/27327_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_62a-52a_2c-xc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14530'
2023-10-13	13:41:27	4317	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:27	4317	[DEBUG]	Executed store
2023-10-13	13:41:27	4317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863809','14530','1')
2023-10-13	13:41:27	4317	[DEBUG]	Store product image relation
2023-10-13	13:41:27	4317	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:27	4317	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863809 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:27	4317	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:27	4317	[DEBUG]	Executed store
2023-10-13	13:41:27	4317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863809','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:27	4317	[DEBUG]	Checking manufacturer
2023-10-13	13:41:27	4317	[DEBUG]	Load a row
2023-10-13	13:41:27	4317	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:27	4317	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:27	4317	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:27	4317	[DEBUG]	Executed store
2023-10-13	13:41:27	4317	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:27	4317	[DEBUG]	Manufacturer exists
2023-10-13	13:41:27	4317	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:27	4317	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:27	4317	[DEBUG]	Executed store
2023-10-13	13:41:27	4317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863809','32')
2023-10-13	13:41:27	4317	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:27	4317	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:27	4317	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863809 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:27	4317	[DEBUG]	Store custom available field
2023-10-13	13:41:27	4317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863809,3,'',1)
2023-10-13	13:41:27	4317	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:27	4317	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:27	4317	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863809 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:27	4317	[DEBUG]	Store custom available field
2023-10-13	13:41:27	4317	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863809,6,'Unitaire',3)
2023-10-13	13:41:27	4317	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:27	4317	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:27	4317	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863808
2023-10-13	13:41:27	4317	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:27	4317	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863808\":[1863808,8,1,\"choisir la taille\"],\"1863809\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863808
2023-10-13	13:41:27	4317	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:27	4317	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863809
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:27	4318	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field taille
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:27	4318	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:27	4318	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:27	4318	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:27	4318	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:27	4318	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:27	4318	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field published
2023-10-13	13:41:27	4318	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:27	4318	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field override
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:27	4318	[DEBUG]	Use field value for field slug
2023-10-13	13:41:27	4318	[DEBUG]	Process line 4318
2023-10-13	13:41:27	4318	[DEBUG]	Load a row
2023-10-13	13:41:27	4318	[DEBUG]	Processing item: A_4530_1
2023-10-13	13:41:27	4318	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:27	4318	[DEBUG]	Processing product tax
2023-10-13	13:41:27	4318	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:27	4318	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:27	4318	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:27	4318	[DEBUG]	Query for Product
2023-10-13	13:41:27	4318	[DEBUG]	Executed store
2023-10-13	13:41:27	4318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4530_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:27	4318	[DEBUG]	Check product language entry
2023-10-13	13:41:27	4318	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863810
2023-10-13	13:41:27	4318	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:27	4318	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4530_1' AND `virtuemart_product_id` != 1863810
2023-10-13	13:41:27	4318	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:27	4318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863810, 'A_4530_1')
2023-10-13	13:41:27	4318	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:27	4318	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-29-x-2-30-tlr-2c-am-race-pro-60tpi-noir' AND `virtuemart_product_id` != 1863810
2023-10-13	13:41:27	4318	[DEBUG]	Query for ProductLang
2023-10-13	13:41:27	4318	[DEBUG]	Executed store
2023-10-13	13:41:27	4318	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='995 g<br>-Accroche: 5/5<br>-Traction: 4/5<br>-Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br>-ETRTO 58-622<br>-2.30 – same to 2.40 between knobs/ebike friendly<br><br><br><br>Idéal pour l’Enduro et la DH. Contrôle parfait sur terrains détériorés, meubles et humides.<br><br>Ses 4 rangés de crampons hauts et larges taillés perpendiculairement garantissent une adhérence et un contrôle extraordinaire lors de freinages brusques, même dans les situations de pilotages les plus agressives. Capable d’affronter férocement des courbes prononcées et de dévorer tous les types de terrains.<br><br>Un crampon sur deux de La zone de centrale sont équipés d’une rampe afin de diminuer la résistance au roulement. Les crampons latéraux, dotés d’entailles verticales et d’encoches, sont placés sur 2 niveaux pour assurer une accroche parfaite lors de passage en courbe, sur pierres et racines. <br>N° art fourn : GRI29230TLR2CA',`product_name`='MSC PNEU GRIPPER 29 X 2.30 TLR 2C AM RACE PRO 60TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-29-x-2-30-tlr-2c-am-race-pro-60tpi-noir' WHERE `virtuemart_product_id` = '1863810'
2023-10-13	13:41:27	4318	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27328_gripper_29_x_2_30_tlr,_kevalr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg
2023-10-13	13:41:27	4318	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:27	4318	[DEBUG]	Process image file
2023-10-13	13:41:27	4318	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:27	4318	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:27	4318	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27328_gripper_29_x_2_30_tlr,_kevalr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg
2023-10-13	13:41:27	4318	[DEBUG]	Full name target: bcprisme/27328_gripper_29_x_2_30_tlr,_kevalr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg
2023-10-13	13:41:28	4318	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:28	4318	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27328_gripper_29_x_2_30_tlr,_kevalr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg'
2023-10-13	13:41:28	4318	[DEBUG]	Query for Media
2023-10-13	13:41:28	4318	[DEBUG]	Executed store
2023-10-13	13:41:28	4318	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27328_gripper_29_x_2_30_tlr,_kevalr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg',`file_url_thumb`='bcprisme/27328_gripper_29_x_2_30_tlr,_kevalr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14531'
2023-10-13	13:41:28	4318	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:28	4318	[DEBUG]	Executed store
2023-10-13	13:41:28	4318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863810','14531','1')
2023-10-13	13:41:28	4318	[DEBUG]	Store product image relation
2023-10-13	13:41:28	4318	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:28	4318	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863810 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:28	4318	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:28	4318	[DEBUG]	Executed store
2023-10-13	13:41:28	4318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863810','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:28	4318	[DEBUG]	Checking manufacturer
2023-10-13	13:41:28	4318	[DEBUG]	Load a row
2023-10-13	13:41:28	4318	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:28	4318	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:28	4318	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:28	4318	[DEBUG]	Executed store
2023-10-13	13:41:28	4318	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:28	4318	[DEBUG]	Manufacturer exists
2023-10-13	13:41:28	4318	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:28	4318	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:28	4318	[DEBUG]	Executed store
2023-10-13	13:41:28	4318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863810','32')
2023-10-13	13:41:28	4318	[DEBUG]	Find the custom field ID
2023-10-13	13:41:28	4318	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:28	4318	[DEBUG]	No custom field ID found
2023-10-13	13:41:28	4318	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:28	4318	[DEBUG]	Get existing row with customfield value 49.7613888888889
2023-10-13	13:41:28	4318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863810 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:28	4318	[DEBUG]	Store custom available field
2023-10-13	13:41:28	4318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863810,3,'49.7613888888889',1)
2023-10-13	13:41:28	4318	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:28	4318	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:28	4318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863810 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:28	4318	[DEBUG]	Store custom available field
2023-10-13	13:41:28	4318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863810,6,'choisir la taille',3)
2023-10-13	13:41:28	4318	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:28	4318	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:28	4318	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:28	4318	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:28	4318	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863810 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:28	4318	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:28	4318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863810,8,1)
2023-10-13	13:41:28	4318	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:28	4318	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863810\":[1863810,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863810
2023-10-13	13:41:28	4318	[DEBUG]	Checking category
2023-10-13	13:41:28	4318	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:28	4318	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863810
2023-10-13	13:41:28	4318	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:28	4318	[DEBUG]	Executed store
2023-10-13	13:41:28	4318	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863810','7412')
2023-10-13	13:41:28	4318	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:28	4318	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863810 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:28	4318	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:28	4318	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863810
2023-10-13	13:41:28	4319	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:28	4319	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:28	4319	[DEBUG]	Use field value for field taille
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:28	4319	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:28	4319	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:28	4319	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:28	4319	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:28	4319	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:28	4319	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:28	4319	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:28	4319	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:28	4319	[DEBUG]	Use field value for field published
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:28	4319	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field override
2023-10-13	13:41:28	4319	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:28	4319	[DEBUG]	Use field value for field slug
2023-10-13	13:41:28	4319	[DEBUG]	Process line 4319
2023-10-13	13:41:28	4319	[DEBUG]	Load a row
2023-10-13	13:41:28	4319	[DEBUG]	Processing item: 8435466214159
2023-10-13	13:41:28	4319	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:28	4319	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:28	4319	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4530_1'
2023-10-13	13:41:28	4319	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:28	4319	[DEBUG]	Processing product tax
2023-10-13	13:41:28	4319	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:28	4319	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:28	4319	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:28	4319	[DEBUG]	Query for Product
2023-10-13	13:41:28	4319	[DEBUG]	Executed store
2023-10-13	13:41:28	4319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863810','8435466214159','0','KG','M','','36','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:28	4319	[DEBUG]	No parent found
2023-10-13	13:41:28	4319	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863810 AND customfield_value = 'stockable'
2023-10-13	13:41:28	4319	[DEBUG]	Check product language entry
2023-10-13	13:41:28	4319	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863811
2023-10-13	13:41:28	4319	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:28	4319	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214159' AND `virtuemart_product_id` != 1863811
2023-10-13	13:41:28	4319	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:28	4319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863811, '8435466214159')
2023-10-13	13:41:28	4319	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:28	4319	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-29-x-2-30-tlr-2c-am-race-pro-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863811
2023-10-13	13:41:28	4319	[DEBUG]	Query for ProductLang
2023-10-13	13:41:28	4319	[DEBUG]	Executed store
2023-10-13	13:41:28	4319	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU GRIPPER 29 X 2.30 TLR 2C AM RACE PRO 60TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-29-x-2-30-tlr-2c-am-race-pro-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863811'
2023-10-13	13:41:28	4319	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27328_gripper_29_x_2_30_tlr,_kevalr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg
2023-10-13	13:41:28	4319	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:28	4319	[DEBUG]	Process image file
2023-10-13	13:41:28	4319	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:28	4319	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:28	4319	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27328_gripper_29_x_2_30_tlr,_kevalr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg
2023-10-13	13:41:28	4319	[DEBUG]	Full name target: bcprisme/27328_gripper_29_x_2_30_tlr,_kevalr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg
2023-10-13	13:41:29	4319	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:29	4319	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27328_gripper_29_x_2_30_tlr,_kevalr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg'
2023-10-13	13:41:29	4319	[DEBUG]	Query for Media
2023-10-13	13:41:29	4319	[DEBUG]	Executed store
2023-10-13	13:41:29	4319	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27328_gripper_29_x_2_30_tlr,_kevalr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg',`file_url_thumb`='bcprisme/27328_gripper_29_x_2_30_tlr,_kevalr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_56a-50a_2c-am_race_pro.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14531'
2023-10-13	13:41:29	4319	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:29	4319	[DEBUG]	Executed store
2023-10-13	13:41:29	4319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863811','14531','1')
2023-10-13	13:41:29	4319	[DEBUG]	Store product image relation
2023-10-13	13:41:29	4319	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:29	4319	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863811 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:29	4319	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:29	4319	[DEBUG]	Executed store
2023-10-13	13:41:29	4319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863811','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:29	4319	[DEBUG]	Checking manufacturer
2023-10-13	13:41:29	4319	[DEBUG]	Load a row
2023-10-13	13:41:29	4319	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:29	4319	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:29	4319	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:29	4319	[DEBUG]	Executed store
2023-10-13	13:41:29	4319	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:29	4319	[DEBUG]	Manufacturer exists
2023-10-13	13:41:29	4319	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:29	4319	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:29	4319	[DEBUG]	Executed store
2023-10-13	13:41:29	4319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863811','32')
2023-10-13	13:41:29	4319	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:29	4319	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:29	4319	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863811 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:29	4319	[DEBUG]	Store custom available field
2023-10-13	13:41:29	4319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863811,3,'',1)
2023-10-13	13:41:29	4319	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:29	4319	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:29	4319	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863811 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:29	4319	[DEBUG]	Store custom available field
2023-10-13	13:41:29	4319	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863811,6,'Unitaire',3)
2023-10-13	13:41:29	4319	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:29	4319	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:29	4319	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863810
2023-10-13	13:41:29	4319	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:29	4319	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863810\":[1863810,8,1,\"choisir la taille\"],\"1863811\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863810
2023-10-13	13:41:29	4319	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:29	4319	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863811
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:29	4320	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field taille
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:29	4320	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:29	4320	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:29	4320	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:29	4320	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:29	4320	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:29	4320	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field published
2023-10-13	13:41:29	4320	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:29	4320	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field override
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:29	4320	[DEBUG]	Use field value for field slug
2023-10-13	13:41:29	4320	[DEBUG]	Process line 4320
2023-10-13	13:41:29	4320	[DEBUG]	Load a row
2023-10-13	13:41:29	4320	[DEBUG]	Processing item: A_4531_1
2023-10-13	13:41:29	4320	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:29	4320	[DEBUG]	Processing product tax
2023-10-13	13:41:29	4320	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:29	4320	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:29	4320	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:29	4320	[DEBUG]	Query for Product
2023-10-13	13:41:29	4320	[DEBUG]	Executed store
2023-10-13	13:41:29	4320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4531_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:29	4320	[DEBUG]	Check product language entry
2023-10-13	13:41:29	4320	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863812
2023-10-13	13:41:29	4320	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:29	4320	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4531_1' AND `virtuemart_product_id` != 1863812
2023-10-13	13:41:29	4320	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:29	4320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863812, 'A_4531_1')
2023-10-13	13:41:29	4320	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:29	4320	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-29-x-2-30-tlr-2c-am-pro-60tpi-noir' AND `virtuemart_product_id` != 1863812
2023-10-13	13:41:29	4320	[DEBUG]	Query for ProductLang
2023-10-13	13:41:29	4320	[DEBUG]	Executed store
2023-10-13	13:41:29	4320	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='990 g<br>-Accroche: 5/5<br>-Traction: 4/5<br>-Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br>-Gomme: 62a/60a<br><br>-ETRTO 58-622<br>-2.30 – same to 2.40 between knobs/ebike friendly<br><br><br>Idéal pour l’Enduro et la DH. Contrôle parfait sur terrains détériorés, meubles et humides.<br><br>Ses 4 rangés de crampons hauts et larges taillés perpendiculairement garantissent une adhérence et un contrôle extraordinaire lors de freinages brusques, même dans les situations de pilotages les plus agressives. Capable d’affronter férocement des courbes prononcées et de dévorer tous les types de terrains.<br><br>Un crampon sur deux de La zone de centrale sont équipés d’une rampe afin de diminuer la résistance au roulement. Les crampons latéraux, dotés d’entailles verticales et d’encoches, sont placés sur 2 niveaux pour assurer une accroche parfaite lors de passage en courbe, sur pierres et racines. <br>N° art fourn : GRI29230TLR2C',`product_name`='MSC PNEU GRIPPER 29 X 2.30 TLR 2C AM PRO 60TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-29-x-2-30-tlr-2c-am-pro-60tpi-noir' WHERE `virtuemart_product_id` = '1863812'
2023-10-13	13:41:29	4320	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27329_gripper_29_x_2_30_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_60a-50a_2c-am_pro.jpg
2023-10-13	13:41:29	4320	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:29	4320	[DEBUG]	Process image file
2023-10-13	13:41:29	4320	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:29	4320	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:29	4320	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27329_gripper_29_x_2_30_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_60a-50a_2c-am_pro.jpg
2023-10-13	13:41:29	4320	[DEBUG]	Full name target: bcprisme/27329_gripper_29_x_2_30_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_60a-50a_2c-am_pro.jpg
2023-10-13	13:41:30	4320	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:30	4320	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27329_gripper_29_x_2_30_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_60a-50a_2c-am_pro.jpg'
2023-10-13	13:41:30	4320	[DEBUG]	Query for Media
2023-10-13	13:41:30	4320	[DEBUG]	Executed store
2023-10-13	13:41:30	4320	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27329_gripper_29_x_2_30_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_60a-50a_2c-am_pro.jpg',`file_url_thumb`='bcprisme/27329_gripper_29_x_2_30_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_60a-50a_2c-am_pro.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14532'
2023-10-13	13:41:30	4320	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:30	4320	[DEBUG]	Executed store
2023-10-13	13:41:30	4320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863812','14532','1')
2023-10-13	13:41:30	4320	[DEBUG]	Store product image relation
2023-10-13	13:41:30	4320	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:30	4320	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863812 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:30	4320	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:30	4320	[DEBUG]	Executed store
2023-10-13	13:41:30	4320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863812','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:30	4320	[DEBUG]	Checking manufacturer
2023-10-13	13:41:30	4320	[DEBUG]	Load a row
2023-10-13	13:41:30	4320	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:30	4320	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:30	4320	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:30	4320	[DEBUG]	Executed store
2023-10-13	13:41:30	4320	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:30	4320	[DEBUG]	Manufacturer exists
2023-10-13	13:41:30	4320	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:30	4320	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:30	4320	[DEBUG]	Executed store
2023-10-13	13:41:30	4320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863812','32')
2023-10-13	13:41:30	4320	[DEBUG]	Find the custom field ID
2023-10-13	13:41:30	4320	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:30	4320	[DEBUG]	No custom field ID found
2023-10-13	13:41:30	4320	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:30	4320	[DEBUG]	Get existing row with customfield value 48.7641666666667
2023-10-13	13:41:30	4320	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863812 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:30	4320	[DEBUG]	Store custom available field
2023-10-13	13:41:30	4320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863812,3,'48.7641666666667',1)
2023-10-13	13:41:30	4320	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:30	4320	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:30	4320	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863812 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:30	4320	[DEBUG]	Store custom available field
2023-10-13	13:41:30	4320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863812,6,'choisir la taille',3)
2023-10-13	13:41:30	4320	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:30	4320	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:30	4320	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:30	4320	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:30	4320	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863812 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:30	4320	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:30	4320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863812,8,1)
2023-10-13	13:41:30	4320	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:30	4320	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863812\":[1863812,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863812
2023-10-13	13:41:30	4320	[DEBUG]	Checking category
2023-10-13	13:41:30	4320	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:30	4320	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863812
2023-10-13	13:41:30	4320	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:30	4320	[DEBUG]	Executed store
2023-10-13	13:41:30	4320	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863812','7412')
2023-10-13	13:41:30	4320	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:30	4320	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863812 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:30	4320	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:30	4320	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863812
2023-10-13	13:41:30	4321	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:30	4321	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:30	4321	[DEBUG]	Use field value for field taille
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:30	4321	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:30	4321	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:30	4321	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:30	4321	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:30	4321	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:30	4321	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:30	4321	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:30	4321	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:30	4321	[DEBUG]	Use field value for field published
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:30	4321	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field override
2023-10-13	13:41:30	4321	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:30	4321	[DEBUG]	Use field value for field slug
2023-10-13	13:41:30	4321	[DEBUG]	Process line 4321
2023-10-13	13:41:30	4321	[DEBUG]	Load a row
2023-10-13	13:41:30	4321	[DEBUG]	Processing item: 8435466214166
2023-10-13	13:41:30	4321	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:30	4321	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:30	4321	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4531_1'
2023-10-13	13:41:30	4321	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:30	4321	[DEBUG]	Processing product tax
2023-10-13	13:41:30	4321	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:30	4321	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:30	4321	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:30	4321	[DEBUG]	Query for Product
2023-10-13	13:41:30	4321	[DEBUG]	Executed store
2023-10-13	13:41:30	4321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863812','8435466214166','0','KG','M','','11','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:30	4321	[DEBUG]	No parent found
2023-10-13	13:41:30	4321	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863812 AND customfield_value = 'stockable'
2023-10-13	13:41:30	4321	[DEBUG]	Check product language entry
2023-10-13	13:41:30	4321	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863813
2023-10-13	13:41:30	4321	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:30	4321	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214166' AND `virtuemart_product_id` != 1863813
2023-10-13	13:41:30	4321	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:30	4321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863813, '8435466214166')
2023-10-13	13:41:30	4321	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:30	4321	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-29-x-2-30-tlr-2c-am-pro-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863813
2023-10-13	13:41:30	4321	[DEBUG]	Query for ProductLang
2023-10-13	13:41:30	4321	[DEBUG]	Executed store
2023-10-13	13:41:30	4321	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU GRIPPER 29 X 2.30 TLR 2C AM PRO 60TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-29-x-2-30-tlr-2c-am-pro-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863813'
2023-10-13	13:41:30	4321	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27329_gripper_29_x_2_30_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_60a-50a_2c-am_pro.jpg
2023-10-13	13:41:30	4321	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:30	4321	[DEBUG]	Process image file
2023-10-13	13:41:30	4321	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:30	4321	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:30	4321	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27329_gripper_29_x_2_30_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_60a-50a_2c-am_pro.jpg
2023-10-13	13:41:30	4321	[DEBUG]	Full name target: bcprisme/27329_gripper_29_x_2_30_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_60a-50a_2c-am_pro.jpg
2023-10-13	13:41:31	4321	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:31	4321	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27329_gripper_29_x_2_30_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_60a-50a_2c-am_pro.jpg'
2023-10-13	13:41:31	4321	[DEBUG]	Query for Media
2023-10-13	13:41:31	4321	[DEBUG]	Executed store
2023-10-13	13:41:31	4321	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27329_gripper_29_x_2_30_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_60a-50a_2c-am_pro.jpg',`file_url_thumb`='bcprisme/27329_gripper_29_x_2_30_tlr,_renfort_lateral,_60_tpi,_lateral_noir,_double_gomme_60a-50a_2c-am_pro.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14532'
2023-10-13	13:41:31	4321	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:31	4321	[DEBUG]	Executed store
2023-10-13	13:41:31	4321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863813','14532','1')
2023-10-13	13:41:31	4321	[DEBUG]	Store product image relation
2023-10-13	13:41:31	4321	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:31	4321	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863813 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:31	4321	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:31	4321	[DEBUG]	Executed store
2023-10-13	13:41:31	4321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863813','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:31	4321	[DEBUG]	Checking manufacturer
2023-10-13	13:41:31	4321	[DEBUG]	Load a row
2023-10-13	13:41:31	4321	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:31	4321	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:31	4321	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:31	4321	[DEBUG]	Executed store
2023-10-13	13:41:31	4321	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:41:31	4321	[DEBUG]	Manufacturer exists
2023-10-13	13:41:31	4321	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:41:31	4321	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:31	4321	[DEBUG]	Executed store
2023-10-13	13:41:31	4321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863813','32')
2023-10-13	13:41:31	4321	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:31	4321	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:31	4321	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863813 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:31	4321	[DEBUG]	Store custom available field
2023-10-13	13:41:31	4321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863813,3,'',1)
2023-10-13	13:41:31	4321	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:31	4321	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:31	4321	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863813 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:31	4321	[DEBUG]	Store custom available field
2023-10-13	13:41:31	4321	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863813,6,'Unitaire',3)
2023-10-13	13:41:31	4321	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:31	4321	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:31	4321	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863812
2023-10-13	13:41:31	4321	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:31	4321	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863812\":[1863812,8,1,\"choisir la taille\"],\"1863813\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863812
2023-10-13	13:41:31	4321	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:31	4321	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863813
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:31	4322	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field taille
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:31	4322	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:31	4322	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:31	4322	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:31	4322	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:31	4322	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:31	4322	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field published
2023-10-13	13:41:31	4322	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:31	4322	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field override
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:31	4322	[DEBUG]	Use field value for field slug
2023-10-13	13:41:31	4322	[DEBUG]	Process line 4322
2023-10-13	13:41:31	4322	[DEBUG]	Load a row
2023-10-13	13:41:31	4322	[DEBUG]	Processing item: A_4960_3
2023-10-13	13:41:31	4322	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:31	4322	[DEBUG]	Processing product tax
2023-10-13	13:41:31	4322	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:31	4322	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:31	4322	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:31	4322	[DEBUG]	Query for Product
2023-10-13	13:41:31	4322	[DEBUG]	Executed store
2023-10-13	13:41:31	4322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4960_3','0.6','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:31	4322	[DEBUG]	Check product language entry
2023-10-13	13:41:31	4322	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863814
2023-10-13	13:41:31	4322	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:31	4322	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4960_3' AND `virtuemart_product_id` != 1863814
2023-10-13	13:41:31	4322	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:31	4322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863814, 'A_4960_3')
2023-10-13	13:41:31	4322	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:31	4322	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-ice-spiker-pro-evo-29x2-25-57-622-none' AND `virtuemart_product_id` != 1863814
2023-10-13	13:41:31	4322	[DEBUG]	Query for ProductLang
2023-10-13	13:41:31	4322	[DEBUG]	Executed store
2023-10-13	13:41:31	4322	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.324',`product_name`='SCHWALBE PNEU ICE SPIKER PRO EVO 29X2.25 57-622 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-ice-spiker-pro-evo-29x2-25-57-622-none' WHERE `virtuemart_product_id` = '1863814'
2023-10-13	13:41:31	4322	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28880_pneu_ice_spiker_pro_evo_29x2_25_57-622.png
2023-10-13	13:41:31	4322	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:41:31	4322	[DEBUG]	Process image file
2023-10-13	13:41:31	4322	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:41:31	4322	[DEBUG]	Mime type found: image/png
2023-10-13	13:41:31	4322	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28880_pneu_ice_spiker_pro_evo_29x2_25_57-622.png
2023-10-13	13:41:31	4322	[DEBUG]	Full name target: bcprisme/28880_pneu_ice_spiker_pro_evo_29x2_25_57-622.png
2023-10-13	13:41:32	4322	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:32	4322	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28880_pneu_ice_spiker_pro_evo_29x2_25_57-622.png'
2023-10-13	13:41:32	4322	[DEBUG]	Query for Media
2023-10-13	13:41:32	4322	[DEBUG]	Executed store
2023-10-13	13:41:32	4322	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/28880_pneu_ice_spiker_pro_evo_29x2_25_57-622.png',`file_url_thumb`='bcprisme/28880_pneu_ice_spiker_pro_evo_29x2_25_57-622.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14533'
2023-10-13	13:41:32	4322	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:32	4322	[DEBUG]	Executed store
2023-10-13	13:41:32	4322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863814','14533','1')
2023-10-13	13:41:32	4322	[DEBUG]	Store product image relation
2023-10-13	13:41:32	4322	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:32	4322	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863814 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:32	4322	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:32	4322	[DEBUG]	Executed store
2023-10-13	13:41:32	4322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863814','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:32	4322	[DEBUG]	Checking manufacturer
2023-10-13	13:41:32	4322	[DEBUG]	Load a row
2023-10-13	13:41:32	4322	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:32	4322	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:32	4322	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:32	4322	[DEBUG]	Executed store
2023-10-13	13:41:32	4322	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:32	4322	[DEBUG]	Manufacturer exists
2023-10-13	13:41:32	4322	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:32	4322	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:32	4322	[DEBUG]	Executed store
2023-10-13	13:41:32	4322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863814','25')
2023-10-13	13:41:32	4322	[DEBUG]	Find the custom field ID
2023-10-13	13:41:32	4322	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:32	4322	[DEBUG]	No custom field ID found
2023-10-13	13:41:32	4322	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:32	4322	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:32	4322	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863814 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:32	4322	[DEBUG]	Store custom available field
2023-10-13	13:41:32	4322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863814,3,'0',1)
2023-10-13	13:41:32	4322	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:32	4322	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:32	4322	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863814 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:32	4322	[DEBUG]	Store custom available field
2023-10-13	13:41:32	4322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863814,6,'choisir la taille',3)
2023-10-13	13:41:32	4322	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:32	4322	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:32	4322	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:32	4322	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:32	4322	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863814 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:32	4322	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:32	4322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863814,8,1)
2023-10-13	13:41:32	4322	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:32	4322	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863814\":[1863814,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863814
2023-10-13	13:41:32	4322	[DEBUG]	Checking category
2023-10-13	13:41:32	4322	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:32	4322	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863814
2023-10-13	13:41:32	4322	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:32	4322	[DEBUG]	Executed store
2023-10-13	13:41:32	4322	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863814','7412')
2023-10-13	13:41:32	4322	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:32	4322	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863814 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:32	4322	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:32	4322	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863814
2023-10-13	13:41:32	4323	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:32	4323	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:32	4323	[DEBUG]	Use field value for field taille
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:32	4323	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:32	4323	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:32	4323	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:32	4323	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:32	4323	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:32	4323	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:32	4323	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:32	4323	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:32	4323	[DEBUG]	Use field value for field published
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:32	4323	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field override
2023-10-13	13:41:32	4323	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:32	4323	[DEBUG]	Use field value for field slug
2023-10-13	13:41:32	4323	[DEBUG]	Process line 4323
2023-10-13	13:41:32	4323	[DEBUG]	Load a row
2023-10-13	13:41:32	4323	[DEBUG]	Processing item: 4026495746977
2023-10-13	13:41:32	4323	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:32	4323	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:32	4323	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4960_3'
2023-10-13	13:41:32	4323	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:32	4323	[DEBUG]	Processing product tax
2023-10-13	13:41:32	4323	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:32	4323	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:32	4323	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:32	4323	[DEBUG]	Query for Product
2023-10-13	13:41:32	4323	[DEBUG]	Executed store
2023-10-13	13:41:32	4323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863814','4026495746977','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:32	4323	[DEBUG]	No parent found
2023-10-13	13:41:32	4323	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863814 AND customfield_value = 'stockable'
2023-10-13	13:41:32	4323	[DEBUG]	Check product language entry
2023-10-13	13:41:32	4323	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863815
2023-10-13	13:41:32	4323	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:32	4323	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495746977' AND `virtuemart_product_id` != 1863815
2023-10-13	13:41:32	4323	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:32	4323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863815, '4026495746977')
2023-10-13	13:41:32	4323	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:32	4323	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-ice-spiker-pro-evo-29x2-25-57-622-none-unitaire' AND `virtuemart_product_id` != 1863815
2023-10-13	13:41:32	4323	[DEBUG]	Query for ProductLang
2023-10-13	13:41:32	4323	[DEBUG]	Executed store
2023-10-13	13:41:32	4323	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU ICE SPIKER PRO EVO 29X2.25 57-622 / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-ice-spiker-pro-evo-29x2-25-57-622-none-unitaire' WHERE `virtuemart_product_id` = '1863815'
2023-10-13	13:41:32	4323	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28880_pneu_ice_spiker_pro_evo_29x2_25_57-622.png
2023-10-13	13:41:32	4323	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:41:32	4323	[DEBUG]	Process image file
2023-10-13	13:41:32	4323	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:41:32	4323	[DEBUG]	Mime type found: image/png
2023-10-13	13:41:32	4323	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28880_pneu_ice_spiker_pro_evo_29x2_25_57-622.png
2023-10-13	13:41:32	4323	[DEBUG]	Full name target: bcprisme/28880_pneu_ice_spiker_pro_evo_29x2_25_57-622.png
2023-10-13	13:41:33	4323	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:33	4323	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28880_pneu_ice_spiker_pro_evo_29x2_25_57-622.png'
2023-10-13	13:41:33	4323	[DEBUG]	Query for Media
2023-10-13	13:41:33	4323	[DEBUG]	Executed store
2023-10-13	13:41:33	4323	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/28880_pneu_ice_spiker_pro_evo_29x2_25_57-622.png',`file_url_thumb`='bcprisme/28880_pneu_ice_spiker_pro_evo_29x2_25_57-622.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14533'
2023-10-13	13:41:33	4323	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:33	4323	[DEBUG]	Executed store
2023-10-13	13:41:33	4323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863815','14533','1')
2023-10-13	13:41:33	4323	[DEBUG]	Store product image relation
2023-10-13	13:41:33	4323	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:33	4323	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863815 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:33	4323	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:33	4323	[DEBUG]	Executed store
2023-10-13	13:41:33	4323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863815','0','120.612813370474','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:33	4323	[DEBUG]	Checking manufacturer
2023-10-13	13:41:33	4323	[DEBUG]	Load a row
2023-10-13	13:41:33	4323	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:33	4323	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:33	4323	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:33	4323	[DEBUG]	Executed store
2023-10-13	13:41:33	4323	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:33	4323	[DEBUG]	Manufacturer exists
2023-10-13	13:41:33	4323	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:33	4323	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:33	4323	[DEBUG]	Executed store
2023-10-13	13:41:33	4323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863815','25')
2023-10-13	13:41:33	4323	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:33	4323	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:33	4323	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863815 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:33	4323	[DEBUG]	Store custom available field
2023-10-13	13:41:33	4323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863815,3,'',1)
2023-10-13	13:41:33	4323	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:33	4323	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:33	4323	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863815 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:33	4323	[DEBUG]	Store custom available field
2023-10-13	13:41:33	4323	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863815,6,'Unitaire',3)
2023-10-13	13:41:33	4323	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:33	4323	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:33	4323	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863814
2023-10-13	13:41:33	4323	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:33	4323	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863814\":[1863814,8,1,\"choisir la taille\"],\"1863815\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863814
2023-10-13	13:41:33	4323	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:33	4323	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863815
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:33	4324	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field taille
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:33	4324	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:33	4324	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:33	4324	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:33	4324	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:33	4324	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:33	4324	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field published
2023-10-13	13:41:33	4324	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:33	4324	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field override
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:33	4324	[DEBUG]	Use field value for field slug
2023-10-13	13:41:33	4324	[DEBUG]	Process line 4324
2023-10-13	13:41:33	4324	[DEBUG]	Load a row
2023-10-13	13:41:33	4324	[DEBUG]	Processing item: A_4961_3
2023-10-13	13:41:33	4324	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:33	4324	[DEBUG]	Processing product tax
2023-10-13	13:41:33	4324	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:33	4324	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:33	4324	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:33	4324	[DEBUG]	Query for Product
2023-10-13	13:41:33	4324	[DEBUG]	Executed store
2023-10-13	13:41:33	4324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4961_3','0.3','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:33	4324	[DEBUG]	Check product language entry
2023-10-13	13:41:33	4324	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863816
2023-10-13	13:41:33	4324	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:33	4324	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4961_3' AND `virtuemart_product_id` != 1863816
2023-10-13	13:41:33	4324	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:33	4324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863816, 'A_4961_3')
2023-10-13	13:41:33	4324	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:33	4324	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-nobby-nic-29x2-25-addix-57-622-none' AND `virtuemart_product_id` != 1863816
2023-10-13	13:41:33	4324	[DEBUG]	Query for ProductLang
2023-10-13	13:41:33	4324	[DEBUG]	Executed store
2023-10-13	13:41:33	4324	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.465',`product_name`='SCHWALBE PNEU NOBBY NIC 29X2.25 ADDIX 57-622 / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-nobby-nic-29x2-25-addix-57-622-none' WHERE `virtuemart_product_id` = '1863816'
2023-10-13	13:41:33	4324	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28911_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622.jpg
2023-10-13	13:41:33	4324	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:33	4324	[DEBUG]	Process image file
2023-10-13	13:41:33	4324	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:33	4324	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:33	4324	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28911_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622.jpg
2023-10-13	13:41:33	4324	[DEBUG]	Full name target: bcprisme/28911_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622.jpg
2023-10-13	13:41:34	4324	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:34	4324	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28911_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622.jpg'
2023-10-13	13:41:34	4324	[DEBUG]	Query for Media
2023-10-13	13:41:34	4324	[DEBUG]	Executed store
2023-10-13	13:41:34	4324	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28911_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622.jpg',`file_url_thumb`='bcprisme/28911_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16017'
2023-10-13	13:41:34	4324	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:34	4324	[DEBUG]	Executed store
2023-10-13	13:41:34	4324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863816','16017','1')
2023-10-13	13:41:34	4324	[DEBUG]	Store product image relation
2023-10-13	13:41:34	4324	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:34	4324	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863816 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:34	4324	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:34	4324	[DEBUG]	Executed store
2023-10-13	13:41:34	4324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863816','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:34	4324	[DEBUG]	Checking manufacturer
2023-10-13	13:41:34	4324	[DEBUG]	Load a row
2023-10-13	13:41:34	4324	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:34	4324	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:34	4324	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:34	4324	[DEBUG]	Executed store
2023-10-13	13:41:34	4324	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:34	4324	[DEBUG]	Manufacturer exists
2023-10-13	13:41:34	4324	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:34	4324	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:34	4324	[DEBUG]	Executed store
2023-10-13	13:41:34	4324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863816','25')
2023-10-13	13:41:34	4324	[DEBUG]	Find the custom field ID
2023-10-13	13:41:34	4324	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:34	4324	[DEBUG]	No custom field ID found
2023-10-13	13:41:34	4324	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:34	4324	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:34	4324	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863816 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:34	4324	[DEBUG]	Store custom available field
2023-10-13	13:41:34	4324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863816,3,'0',1)
2023-10-13	13:41:34	4324	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:34	4324	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:34	4324	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863816 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:34	4324	[DEBUG]	Store custom available field
2023-10-13	13:41:34	4324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863816,6,'choisir la taille',3)
2023-10-13	13:41:34	4324	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:34	4324	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:34	4324	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:34	4324	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:34	4324	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863816 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:34	4324	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:34	4324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863816,8,1)
2023-10-13	13:41:34	4324	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:34	4324	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863816\":[1863816,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863816
2023-10-13	13:41:34	4324	[DEBUG]	Checking category
2023-10-13	13:41:34	4324	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:34	4324	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863816
2023-10-13	13:41:34	4324	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:34	4324	[DEBUG]	Executed store
2023-10-13	13:41:34	4324	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863816','7412')
2023-10-13	13:41:34	4324	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:34	4324	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863816 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:34	4324	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:34	4324	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863816
2023-10-13	13:41:34	4325	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:34	4325	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:34	4325	[DEBUG]	Use field value for field taille
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:34	4325	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:34	4325	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:34	4325	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:34	4325	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:34	4325	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:34	4325	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:34	4325	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:34	4325	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:34	4325	[DEBUG]	Use field value for field published
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:34	4325	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field override
2023-10-13	13:41:34	4325	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:34	4325	[DEBUG]	Use field value for field slug
2023-10-13	13:41:34	4325	[DEBUG]	Process line 4325
2023-10-13	13:41:34	4325	[DEBUG]	Load a row
2023-10-13	13:41:34	4325	[DEBUG]	Processing item: 4026495818025
2023-10-13	13:41:34	4325	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:34	4325	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:34	4325	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4961_3'
2023-10-13	13:41:34	4325	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:34	4325	[DEBUG]	Processing product tax
2023-10-13	13:41:34	4325	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:34	4325	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:34	4325	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:34	4325	[DEBUG]	Query for Product
2023-10-13	13:41:34	4325	[DEBUG]	Executed store
2023-10-13	13:41:34	4325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863816','4026495818025','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:34	4325	[DEBUG]	No parent found
2023-10-13	13:41:34	4325	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863816 AND customfield_value = 'stockable'
2023-10-13	13:41:34	4325	[DEBUG]	Check product language entry
2023-10-13	13:41:34	4325	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863817
2023-10-13	13:41:34	4325	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:34	4325	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495818025' AND `virtuemart_product_id` != 1863817
2023-10-13	13:41:34	4325	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:34	4325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863817, '4026495818025')
2023-10-13	13:41:34	4325	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:34	4325	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-nobby-nic-29x2-25-addix-57-622-none-unitaire' AND `virtuemart_product_id` != 1863817
2023-10-13	13:41:34	4325	[DEBUG]	Query for ProductLang
2023-10-13	13:41:34	4325	[DEBUG]	Executed store
2023-10-13	13:41:34	4325	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU NOBBY NIC 29X2.25 ADDIX 57-622 / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-nobby-nic-29x2-25-addix-57-622-none-unitaire' WHERE `virtuemart_product_id` = '1863817'
2023-10-13	13:41:34	4325	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28911_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622.jpg
2023-10-13	13:41:34	4325	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:34	4325	[DEBUG]	Process image file
2023-10-13	13:41:34	4325	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:34	4325	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:34	4325	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/28911_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622.jpg
2023-10-13	13:41:34	4325	[DEBUG]	Full name target: bcprisme/28911_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622.jpg
2023-10-13	13:41:35	4325	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:35	4325	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/28911_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622.jpg'
2023-10-13	13:41:35	4325	[DEBUG]	Query for Media
2023-10-13	13:41:35	4325	[DEBUG]	Executed store
2023-10-13	13:41:35	4325	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/28911_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622.jpg',`file_url_thumb`='bcprisme/28911_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16017'
2023-10-13	13:41:35	4325	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:35	4325	[DEBUG]	Executed store
2023-10-13	13:41:35	4325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863817','16017','1')
2023-10-13	13:41:35	4325	[DEBUG]	Store product image relation
2023-10-13	13:41:35	4325	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:35	4325	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863817 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:35	4325	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:35	4325	[DEBUG]	Executed store
2023-10-13	13:41:35	4325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863817','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:35	4325	[DEBUG]	Checking manufacturer
2023-10-13	13:41:35	4325	[DEBUG]	Load a row
2023-10-13	13:41:35	4325	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:35	4325	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:35	4325	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:35	4325	[DEBUG]	Executed store
2023-10-13	13:41:35	4325	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:35	4325	[DEBUG]	Manufacturer exists
2023-10-13	13:41:35	4325	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:35	4325	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:35	4325	[DEBUG]	Executed store
2023-10-13	13:41:35	4325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863817','25')
2023-10-13	13:41:35	4325	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:35	4325	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:35	4325	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863817 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:35	4325	[DEBUG]	Store custom available field
2023-10-13	13:41:35	4325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863817,3,'',1)
2023-10-13	13:41:35	4325	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:35	4325	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:35	4325	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863817 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:35	4325	[DEBUG]	Store custom available field
2023-10-13	13:41:35	4325	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863817,6,'Unitaire',3)
2023-10-13	13:41:35	4325	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:35	4325	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:35	4325	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863816
2023-10-13	13:41:35	4325	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:35	4325	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863816\":[1863816,8,1,\"choisir la taille\"],\"1863817\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863816
2023-10-13	13:41:35	4325	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:35	4325	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863817
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:35	4326	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field taille
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:35	4326	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:35	4326	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:35	4326	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:35	4326	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:35	4326	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:35	4326	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field published
2023-10-13	13:41:35	4326	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:35	4326	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field override
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:35	4326	[DEBUG]	Use field value for field slug
2023-10-13	13:41:35	4326	[DEBUG]	Process line 4326
2023-10-13	13:41:35	4326	[DEBUG]	Load a row
2023-10-13	13:41:35	4326	[DEBUG]	Processing item: A_5127_3
2023-10-13	13:41:35	4326	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:35	4326	[DEBUG]	Processing product tax
2023-10-13	13:41:35	4326	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:35	4326	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:35	4326	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:35	4326	[DEBUG]	Query for Product
2023-10-13	13:41:35	4326	[DEBUG]	Executed store
2023-10-13	13:41:35	4326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5127_3','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:35	4326	[DEBUG]	Check product language entry
2023-10-13	13:41:35	4326	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863818
2023-10-13	13:41:35	4326	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:35	4326	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5127_3' AND `virtuemart_product_id` != 1863818
2023-10-13	13:41:35	4326	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:35	4326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863818, 'A_5127_3')
2023-10-13	13:41:35	4326	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:35	4326	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-pneu-vittoria-saguaro-29x2-00-none' AND `virtuemart_product_id` != 1863818
2023-10-13	13:41:35	4326	[DEBUG]	Query for ProductLang
2023-10-13	13:41:35	4326	[DEBUG]	Executed store
2023-10-13	13:41:35	4326	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.56316',`product_name`='VITTORIA PNEU Vittoria Saguaro 29x2.00  / None',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-pneu-vittoria-saguaro-29x2-00-none' WHERE `virtuemart_product_id` = '1863818'
2023-10-13	13:41:35	4326	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29589_pneus_vittoria_saguaro_27_5x2_00_.jpg
2023-10-13	13:41:35	4326	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:35	4326	[DEBUG]	Process image file
2023-10-13	13:41:35	4326	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:35	4326	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:35	4326	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29589_pneus_vittoria_saguaro_27_5x2_00_.jpg
2023-10-13	13:41:35	4326	[DEBUG]	Full name target: bcprisme/29589_pneus_vittoria_saguaro_27_5x2_00_.jpg
2023-10-13	13:41:36	4326	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:36	4326	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29589_pneus_vittoria_saguaro_27_5x2_00_.jpg'
2023-10-13	13:41:36	4326	[DEBUG]	Query for Media
2023-10-13	13:41:36	4326	[DEBUG]	Executed store
2023-10-13	13:41:36	4326	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29589_pneus_vittoria_saguaro_27_5x2_00_.jpg',`file_url_thumb`='bcprisme/29589_pneus_vittoria_saguaro_27_5x2_00_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14534'
2023-10-13	13:41:36	4326	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:36	4326	[DEBUG]	Executed store
2023-10-13	13:41:36	4326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863818','14534','1')
2023-10-13	13:41:36	4326	[DEBUG]	Store product image relation
2023-10-13	13:41:36	4326	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:36	4326	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863818 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:36	4326	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:36	4326	[DEBUG]	Executed store
2023-10-13	13:41:36	4326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863818','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:36	4326	[DEBUG]	Checking manufacturer
2023-10-13	13:41:36	4326	[DEBUG]	Load a row
2023-10-13	13:41:36	4326	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:36	4326	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:41:36	4326	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:36	4326	[DEBUG]	Executed store
2023-10-13	13:41:36	4326	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:41:36	4326	[DEBUG]	Manufacturer exists
2023-10-13	13:41:36	4326	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:41:36	4326	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:36	4326	[DEBUG]	Executed store
2023-10-13	13:41:36	4326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863818','42')
2023-10-13	13:41:36	4326	[DEBUG]	Find the custom field ID
2023-10-13	13:41:36	4326	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:36	4326	[DEBUG]	No custom field ID found
2023-10-13	13:41:36	4326	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:36	4326	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:36	4326	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863818 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:36	4326	[DEBUG]	Store custom available field
2023-10-13	13:41:36	4326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863818,3,'0',1)
2023-10-13	13:41:36	4326	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:36	4326	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:36	4326	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863818 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:36	4326	[DEBUG]	Store custom available field
2023-10-13	13:41:36	4326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863818,6,'choisir la taille',3)
2023-10-13	13:41:36	4326	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:36	4326	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:36	4326	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:36	4326	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:36	4326	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863818 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:36	4326	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:36	4326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863818,8,1)
2023-10-13	13:41:36	4326	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:36	4326	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863818\":[1863818,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863818
2023-10-13	13:41:36	4326	[DEBUG]	Checking category
2023-10-13	13:41:36	4326	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:36	4326	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863818
2023-10-13	13:41:36	4326	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:36	4326	[DEBUG]	Executed store
2023-10-13	13:41:36	4326	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863818','7412')
2023-10-13	13:41:36	4326	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:36	4326	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863818 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:36	4326	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:36	4326	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863818
2023-10-13	13:41:36	4327	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:36	4327	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:36	4327	[DEBUG]	Use field value for field taille
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:36	4327	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:36	4327	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:36	4327	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:36	4327	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:36	4327	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:36	4327	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:36	4327	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:36	4327	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:36	4327	[DEBUG]	Use field value for field published
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:36	4327	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field override
2023-10-13	13:41:36	4327	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:36	4327	[DEBUG]	Use field value for field slug
2023-10-13	13:41:36	4327	[DEBUG]	Process line 4327
2023-10-13	13:41:36	4327	[DEBUG]	Load a row
2023-10-13	13:41:36	4327	[DEBUG]	Processing item: 641740235705
2023-10-13	13:41:36	4327	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:36	4327	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:36	4327	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5127_3'
2023-10-13	13:41:36	4327	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:36	4327	[DEBUG]	Processing product tax
2023-10-13	13:41:36	4327	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:36	4327	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:36	4327	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:36	4327	[DEBUG]	Query for Product
2023-10-13	13:41:36	4327	[DEBUG]	Executed store
2023-10-13	13:41:36	4327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863818','641740235705','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:36	4327	[DEBUG]	No parent found
2023-10-13	13:41:36	4327	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863818 AND customfield_value = 'stockable'
2023-10-13	13:41:36	4327	[DEBUG]	Check product language entry
2023-10-13	13:41:36	4327	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863819
2023-10-13	13:41:36	4327	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:36	4327	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '641740235705' AND `virtuemart_product_id` != 1863819
2023-10-13	13:41:36	4327	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:36	4327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863819, '641740235705')
2023-10-13	13:41:36	4327	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:36	4327	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-pneu-vittoria-saguaro-29x2-00-none-unitaire' AND `virtuemart_product_id` != 1863819
2023-10-13	13:41:36	4327	[DEBUG]	Query for ProductLang
2023-10-13	13:41:36	4327	[DEBUG]	Executed store
2023-10-13	13:41:36	4327	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='VITTORIA PNEU Vittoria Saguaro 29x2.00  / None (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-pneu-vittoria-saguaro-29x2-00-none-unitaire' WHERE `virtuemart_product_id` = '1863819'
2023-10-13	13:41:36	4327	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29589_pneus_vittoria_saguaro_27_5x2_00_.jpg
2023-10-13	13:41:36	4327	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:36	4327	[DEBUG]	Process image file
2023-10-13	13:41:36	4327	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:36	4327	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:36	4327	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29589_pneus_vittoria_saguaro_27_5x2_00_.jpg
2023-10-13	13:41:36	4327	[DEBUG]	Full name target: bcprisme/29589_pneus_vittoria_saguaro_27_5x2_00_.jpg
2023-10-13	13:41:37	4327	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:37	4327	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29589_pneus_vittoria_saguaro_27_5x2_00_.jpg'
2023-10-13	13:41:37	4327	[DEBUG]	Query for Media
2023-10-13	13:41:37	4327	[DEBUG]	Executed store
2023-10-13	13:41:37	4327	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29589_pneus_vittoria_saguaro_27_5x2_00_.jpg',`file_url_thumb`='bcprisme/29589_pneus_vittoria_saguaro_27_5x2_00_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14534'
2023-10-13	13:41:37	4327	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:37	4327	[DEBUG]	Executed store
2023-10-13	13:41:37	4327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863819','14534','1')
2023-10-13	13:41:37	4327	[DEBUG]	Store product image relation
2023-10-13	13:41:37	4327	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:37	4327	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863819 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:37	4327	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:37	4327	[DEBUG]	Executed store
2023-10-13	13:41:37	4327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863819','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:37	4327	[DEBUG]	Checking manufacturer
2023-10-13	13:41:37	4327	[DEBUG]	Load a row
2023-10-13	13:41:37	4327	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:37	4327	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:41:37	4327	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:37	4327	[DEBUG]	Executed store
2023-10-13	13:41:37	4327	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:41:37	4327	[DEBUG]	Manufacturer exists
2023-10-13	13:41:37	4327	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:41:37	4327	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:37	4327	[DEBUG]	Executed store
2023-10-13	13:41:37	4327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863819','42')
2023-10-13	13:41:37	4327	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:37	4327	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:37	4327	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863819 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:37	4327	[DEBUG]	Store custom available field
2023-10-13	13:41:37	4327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863819,3,'',1)
2023-10-13	13:41:37	4327	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:37	4327	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:37	4327	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863819 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:37	4327	[DEBUG]	Store custom available field
2023-10-13	13:41:37	4327	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863819,6,'Unitaire',3)
2023-10-13	13:41:37	4327	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:37	4327	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:37	4327	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863818
2023-10-13	13:41:37	4327	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:37	4327	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863818\":[1863818,8,1,\"choisir la taille\"],\"1863819\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863818
2023-10-13	13:41:37	4327	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:37	4327	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863819
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:37	4328	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field taille
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:37	4328	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:37	4328	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:37	4328	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:37	4328	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:37	4328	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:37	4328	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:37	4328	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field published
2023-10-13	13:41:37	4328	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:37	4328	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field override
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:37	4328	[DEBUG]	Use field value for field slug
2023-10-13	13:41:37	4328	[DEBUG]	Process line 4328
2023-10-13	13:41:37	4328	[DEBUG]	Load a row
2023-10-13	13:41:37	4328	[DEBUG]	Processing item: A_5128_1
2023-10-13	13:41:37	4328	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:37	4328	[DEBUG]	Processing product tax
2023-10-13	13:41:37	4328	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:37	4328	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:37	4328	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:37	4328	[DEBUG]	Query for Product
2023-10-13	13:41:37	4328	[DEBUG]	Executed store
2023-10-13	13:41:38	4328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5128_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:38	4328	[DEBUG]	Check product language entry
2023-10-13	13:41:38	4328	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863820
2023-10-13	13:41:38	4328	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:38	4328	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5128_1' AND `virtuemart_product_id` != 1863820
2023-10-13	13:41:38	4328	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:38	4328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863820, 'A_5128_1')
2023-10-13	13:41:38	4328	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:38	4328	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-nobby-nic-29x2-25-addix-57-622-hs463-tlr-noir' AND `virtuemart_product_id` != 1863820
2023-10-13	13:41:38	4328	[DEBUG]	Query for ProductLang
2023-10-13	13:41:38	4328	[DEBUG]	Executed store
2023-10-13	13:41:38	4328	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.477',`product_name`='SCHWALBE PNEU NOBBY NIC 29X2.25 ADDIX 57-622 HS463 TLR / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-nobby-nic-29x2-25-addix-57-622-hs463-tlr-noir' WHERE `virtuemart_product_id` = '1863820'
2023-10-13	13:41:38	4328	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29590_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622_hs463_tlr.png
2023-10-13	13:41:38	4328	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:41:38	4328	[DEBUG]	Process image file
2023-10-13	13:41:38	4328	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:41:38	4328	[DEBUG]	Mime type found: image/png
2023-10-13	13:41:38	4328	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29590_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622_hs463_tlr.png
2023-10-13	13:41:38	4328	[DEBUG]	Full name target: bcprisme/29590_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622_hs463_tlr.png
2023-10-13	13:41:38	4328	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:38	4328	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29590_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622_hs463_tlr.png'
2023-10-13	13:41:38	4328	[DEBUG]	Query for Media
2023-10-13	13:41:38	4328	[DEBUG]	Executed store
2023-10-13	13:41:38	4328	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29590_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622_hs463_tlr.png',`file_url_thumb`='bcprisme/29590_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622_hs463_tlr.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382047'
2023-10-13	13:41:38	4328	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:38	4328	[DEBUG]	Executed store
2023-10-13	13:41:38	4328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863820','382047','1')
2023-10-13	13:41:38	4328	[DEBUG]	Store product image relation
2023-10-13	13:41:38	4328	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:38	4328	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863820 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:38	4328	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:39	4328	[DEBUG]	Executed store
2023-10-13	13:41:39	4328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863820','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:39	4328	[DEBUG]	Checking manufacturer
2023-10-13	13:41:39	4328	[DEBUG]	Load a row
2023-10-13	13:41:39	4328	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:39	4328	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:39	4328	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:39	4328	[DEBUG]	Executed store
2023-10-13	13:41:39	4328	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:39	4328	[DEBUG]	Manufacturer exists
2023-10-13	13:41:39	4328	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:39	4328	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:39	4328	[DEBUG]	Executed store
2023-10-13	13:41:39	4328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863820','25')
2023-10-13	13:41:39	4328	[DEBUG]	Find the custom field ID
2023-10-13	13:41:39	4328	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:39	4328	[DEBUG]	No custom field ID found
2023-10-13	13:41:39	4328	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:39	4328	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:39	4328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863820 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:39	4328	[DEBUG]	Store custom available field
2023-10-13	13:41:39	4328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863820,3,'0',1)
2023-10-13	13:41:39	4328	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:39	4328	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:39	4328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863820 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:39	4328	[DEBUG]	Store custom available field
2023-10-13	13:41:39	4328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863820,6,'choisir la taille',3)
2023-10-13	13:41:39	4328	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:39	4328	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:39	4328	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:39	4328	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:39	4328	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863820 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:39	4328	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:39	4328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863820,8,1)
2023-10-13	13:41:39	4328	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:39	4328	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863820\":[1863820,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863820
2023-10-13	13:41:39	4328	[DEBUG]	Checking category
2023-10-13	13:41:39	4328	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:39	4328	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863820
2023-10-13	13:41:39	4328	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:39	4328	[DEBUG]	Executed store
2023-10-13	13:41:39	4328	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863820','7412')
2023-10-13	13:41:39	4328	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:39	4328	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863820 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:39	4328	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:39	4328	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863820
2023-10-13	13:41:39	4329	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:39	4329	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:39	4329	[DEBUG]	Use field value for field taille
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:39	4329	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:39	4329	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:39	4329	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:39	4329	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:39	4329	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:39	4329	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:39	4329	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:39	4329	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:39	4329	[DEBUG]	Use field value for field published
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:39	4329	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field override
2023-10-13	13:41:39	4329	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:39	4329	[DEBUG]	Use field value for field slug
2023-10-13	13:41:39	4329	[DEBUG]	Process line 4329
2023-10-13	13:41:39	4329	[DEBUG]	Load a row
2023-10-13	13:41:39	4329	[DEBUG]	Processing item: 1000000077070
2023-10-13	13:41:39	4329	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:39	4329	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:39	4329	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5128_1'
2023-10-13	13:41:39	4329	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:39	4329	[DEBUG]	Processing product tax
2023-10-13	13:41:39	4329	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:39	4329	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:39	4329	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:39	4329	[DEBUG]	Query for Product
2023-10-13	13:41:39	4329	[DEBUG]	Executed store
2023-10-13	13:41:39	4329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863820','1000000077070','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:39	4329	[DEBUG]	No parent found
2023-10-13	13:41:39	4329	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863820 AND customfield_value = 'stockable'
2023-10-13	13:41:39	4329	[DEBUG]	Check product language entry
2023-10-13	13:41:39	4329	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863821
2023-10-13	13:41:39	4329	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:39	4329	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000077070' AND `virtuemart_product_id` != 1863821
2023-10-13	13:41:39	4329	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:39	4329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863821, '1000000077070')
2023-10-13	13:41:39	4329	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:39	4329	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-nobby-nic-29x2-25-addix-57-622-hs463-tlr-noir-unitaire' AND `virtuemart_product_id` != 1863821
2023-10-13	13:41:39	4329	[DEBUG]	Query for ProductLang
2023-10-13	13:41:39	4329	[DEBUG]	Executed store
2023-10-13	13:41:39	4329	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU NOBBY NIC 29X2.25 ADDIX 57-622 HS463 TLR / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-nobby-nic-29x2-25-addix-57-622-hs463-tlr-noir-unitaire' WHERE `virtuemart_product_id` = '1863821'
2023-10-13	13:41:39	4329	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29590_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622_hs463_tlr.png
2023-10-13	13:41:39	4329	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:41:39	4329	[DEBUG]	Process image file
2023-10-13	13:41:39	4329	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:41:39	4329	[DEBUG]	Mime type found: image/png
2023-10-13	13:41:39	4329	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29590_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622_hs463_tlr.png
2023-10-13	13:41:39	4329	[DEBUG]	Full name target: bcprisme/29590_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622_hs463_tlr.png
2023-10-13	13:41:40	4329	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:40	4329	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29590_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622_hs463_tlr.png'
2023-10-13	13:41:40	4329	[DEBUG]	Query for Media
2023-10-13	13:41:40	4329	[DEBUG]	Executed store
2023-10-13	13:41:40	4329	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29590_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622_hs463_tlr.png',`file_url_thumb`='bcprisme/29590_pneu_schwalbe_nobby_nic_29x2_25_addix_57-622_hs463_tlr.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382047'
2023-10-13	13:41:40	4329	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:40	4329	[DEBUG]	Executed store
2023-10-13	13:41:40	4329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863821','382047','1')
2023-10-13	13:41:40	4329	[DEBUG]	Store product image relation
2023-10-13	13:41:40	4329	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:40	4329	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863821 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:40	4329	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:40	4329	[DEBUG]	Executed store
2023-10-13	13:41:40	4329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863821','0','34.2618384401114','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:40	4329	[DEBUG]	Checking manufacturer
2023-10-13	13:41:40	4329	[DEBUG]	Load a row
2023-10-13	13:41:40	4329	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:40	4329	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:40	4329	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:40	4329	[DEBUG]	Executed store
2023-10-13	13:41:40	4329	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:40	4329	[DEBUG]	Manufacturer exists
2023-10-13	13:41:40	4329	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:40	4329	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:40	4329	[DEBUG]	Executed store
2023-10-13	13:41:40	4329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863821','25')
2023-10-13	13:41:40	4329	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:40	4329	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:40	4329	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863821 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:40	4329	[DEBUG]	Store custom available field
2023-10-13	13:41:40	4329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863821,3,'',1)
2023-10-13	13:41:40	4329	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:40	4329	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:40	4329	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863821 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:40	4329	[DEBUG]	Store custom available field
2023-10-13	13:41:40	4329	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863821,6,'Unitaire',3)
2023-10-13	13:41:40	4329	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:40	4329	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:40	4329	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863820
2023-10-13	13:41:40	4329	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:40	4329	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863820\":[1863820,8,1,\"choisir la taille\"],\"1863821\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863820
2023-10-13	13:41:40	4329	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:40	4329	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863821
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:40	4330	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field taille
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:40	4330	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:40	4330	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:40	4330	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:40	4330	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:40	4330	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:40	4330	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field published
2023-10-13	13:41:40	4330	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:40	4330	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field override
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:40	4330	[DEBUG]	Use field value for field slug
2023-10-13	13:41:40	4330	[DEBUG]	Process line 4330
2023-10-13	13:41:40	4330	[DEBUG]	Load a row
2023-10-13	13:41:40	4330	[DEBUG]	Processing item: A_5174_1
2023-10-13	13:41:40	4330	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:40	4330	[DEBUG]	Processing product tax
2023-10-13	13:41:40	4330	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:40	4330	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:40	4330	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:40	4330	[DEBUG]	Query for Product
2023-10-13	13:41:40	4330	[DEBUG]	Executed store
2023-10-13	13:41:40	4330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5174_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:40	4330	[DEBUG]	Check product language entry
2023-10-13	13:41:40	4330	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863822
2023-10-13	13:41:40	4330	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:40	4330	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5174_1' AND `virtuemart_product_id` != 1863822
2023-10-13	13:41:40	4330	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:40	4330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863822, 'A_5174_1')
2023-10-13	13:41:40	4330	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:40	4330	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rocket-ron-29-x-2-10-snake-skin-speed-54-622-tlr-addix-faltbar-noir' AND `virtuemart_product_id` != 1863822
2023-10-13	13:41:40	4330	[DEBUG]	Query for ProductLang
2023-10-13	13:41:40	4330	[DEBUG]	Executed store
2023-10-13	13:41:40	4330	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.461_1',`product_name`='SCHWALBE PNEU ROCKET RON 29 X 2.10 SNAKE SKIN, SPEED, 54-622 TLR ADDIX FALTBAR / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rocket-ron-29-x-2-10-snake-skin-speed-54-622-tlr-addix-faltbar-noir' WHERE `virtuemart_product_id` = '1863822'
2023-10-13	13:41:40	4330	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29639_pneu_schwalbe_rocket_ron_29_x_2_10_snake_skin,_speed,_54-622_tlr_addix_faltbar.jpg
2023-10-13	13:41:40	4330	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:41:40	4330	[DEBUG]	Process image file
2023-10-13	13:41:40	4330	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:41:40	4330	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:40	4330	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29639_pneu_schwalbe_rocket_ron_29_x_2_10_snake_skin,_speed,_54-622_tlr_addix_faltbar.jpg
2023-10-13	13:41:40	4330	[DEBUG]	Full name target: bcprisme/29639_pneu_schwalbe_rocket_ron_29_x_2_10_snake_skin,_speed,_54-622_tlr_addix_faltbar.jpg
2023-10-13	13:41:41	4330	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:41	4330	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29639_pneu_schwalbe_rocket_ron_29_x_2_10_snake_skin,_speed,_54-622_tlr_addix_faltbar.jpg'
2023-10-13	13:41:41	4330	[DEBUG]	Query for Media
2023-10-13	13:41:41	4330	[DEBUG]	Executed store
2023-10-13	13:41:41	4330	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29639_pneu_schwalbe_rocket_ron_29_x_2_10_snake_skin,_speed,_54-622_tlr_addix_faltbar.jpg',`file_url_thumb`='bcprisme/29639_pneu_schwalbe_rocket_ron_29_x_2_10_snake_skin,_speed,_54-622_tlr_addix_faltbar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14535'
2023-10-13	13:41:41	4330	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:41	4330	[DEBUG]	Executed store
2023-10-13	13:41:41	4330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863822','14535','1')
2023-10-13	13:41:41	4330	[DEBUG]	Store product image relation
2023-10-13	13:41:41	4330	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:41	4330	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863822 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:41	4330	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:41	4330	[DEBUG]	Executed store
2023-10-13	13:41:41	4330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863822','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:41	4330	[DEBUG]	Checking manufacturer
2023-10-13	13:41:41	4330	[DEBUG]	Load a row
2023-10-13	13:41:41	4330	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:41	4330	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:41	4330	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:41	4330	[DEBUG]	Executed store
2023-10-13	13:41:41	4330	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:41	4330	[DEBUG]	Manufacturer exists
2023-10-13	13:41:41	4330	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:41	4330	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:41	4330	[DEBUG]	Executed store
2023-10-13	13:41:41	4330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863822','25')
2023-10-13	13:41:41	4330	[DEBUG]	Find the custom field ID
2023-10-13	13:41:41	4330	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:41	4330	[DEBUG]	No custom field ID found
2023-10-13	13:41:41	4330	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:41	4330	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:41	4330	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863822 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:41	4330	[DEBUG]	Store custom available field
2023-10-13	13:41:41	4330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863822,3,'0',1)
2023-10-13	13:41:41	4330	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:41	4330	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:41	4330	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863822 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:41	4330	[DEBUG]	Store custom available field
2023-10-13	13:41:41	4330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863822,6,'choisir la taille',3)
2023-10-13	13:41:41	4330	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:41	4330	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:41	4330	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:41	4330	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:41	4330	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863822 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:41	4330	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:41	4330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863822,8,1)
2023-10-13	13:41:41	4330	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:41	4330	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863822\":[1863822,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863822
2023-10-13	13:41:41	4330	[DEBUG]	Checking category
2023-10-13	13:41:41	4330	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:41	4330	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863822
2023-10-13	13:41:41	4330	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:41	4330	[DEBUG]	Executed store
2023-10-13	13:41:41	4330	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863822','7412')
2023-10-13	13:41:41	4330	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:41	4330	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863822 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:41	4330	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:41	4330	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863822
2023-10-13	13:41:41	4331	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:41	4331	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:41	4331	[DEBUG]	Use field value for field taille
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:41	4331	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:41	4331	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:41	4331	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:41	4331	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:41	4331	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:41	4331	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:41	4331	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:41	4331	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:41	4331	[DEBUG]	Use field value for field published
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:41	4331	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field override
2023-10-13	13:41:41	4331	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:41	4331	[DEBUG]	Use field value for field slug
2023-10-13	13:41:41	4331	[DEBUG]	Process line 4331
2023-10-13	13:41:41	4331	[DEBUG]	Load a row
2023-10-13	13:41:41	4331	[DEBUG]	Processing item: 4026495817561
2023-10-13	13:41:41	4331	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:41	4331	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:41	4331	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5174_1'
2023-10-13	13:41:41	4331	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:41	4331	[DEBUG]	Processing product tax
2023-10-13	13:41:41	4331	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:41	4331	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:41	4331	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:41	4331	[DEBUG]	Query for Product
2023-10-13	13:41:41	4331	[DEBUG]	Executed store
2023-10-13	13:41:41	4331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863822','4026495817561','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:41	4331	[DEBUG]	No parent found
2023-10-13	13:41:41	4331	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863822 AND customfield_value = 'stockable'
2023-10-13	13:41:41	4331	[DEBUG]	Check product language entry
2023-10-13	13:41:41	4331	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863823
2023-10-13	13:41:41	4331	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:41	4331	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495817561' AND `virtuemart_product_id` != 1863823
2023-10-13	13:41:41	4331	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:41	4331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863823, '4026495817561')
2023-10-13	13:41:41	4331	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:41	4331	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rocket-ron-29-x-2-10-snake-skin-speed-54-622-tlr-addix-faltbar-noir-unitaire' AND `virtuemart_product_id` != 1863823
2023-10-13	13:41:41	4331	[DEBUG]	Query for ProductLang
2023-10-13	13:41:41	4331	[DEBUG]	Executed store
2023-10-13	13:41:41	4331	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU ROCKET RON 29 X 2.10 SNAKE SKIN, SPEED, 54-622 TLR ADDIX FALTBAR / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rocket-ron-29-x-2-10-snake-skin-speed-54-622-tlr-addix-faltbar-noir-unitaire' WHERE `virtuemart_product_id` = '1863823'
2023-10-13	13:41:41	4331	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29639_pneu_schwalbe_rocket_ron_29_x_2_10_snake_skin,_speed,_54-622_tlr_addix_faltbar.jpg
2023-10-13	13:41:41	4331	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:41:41	4331	[DEBUG]	Process image file
2023-10-13	13:41:41	4331	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:41:41	4331	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:41	4331	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29639_pneu_schwalbe_rocket_ron_29_x_2_10_snake_skin,_speed,_54-622_tlr_addix_faltbar.jpg
2023-10-13	13:41:41	4331	[DEBUG]	Full name target: bcprisme/29639_pneu_schwalbe_rocket_ron_29_x_2_10_snake_skin,_speed,_54-622_tlr_addix_faltbar.jpg
2023-10-13	13:41:42	4331	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:42	4331	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29639_pneu_schwalbe_rocket_ron_29_x_2_10_snake_skin,_speed,_54-622_tlr_addix_faltbar.jpg'
2023-10-13	13:41:42	4331	[DEBUG]	Query for Media
2023-10-13	13:41:42	4331	[DEBUG]	Executed store
2023-10-13	13:41:42	4331	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29639_pneu_schwalbe_rocket_ron_29_x_2_10_snake_skin,_speed,_54-622_tlr_addix_faltbar.jpg',`file_url_thumb`='bcprisme/29639_pneu_schwalbe_rocket_ron_29_x_2_10_snake_skin,_speed,_54-622_tlr_addix_faltbar.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14535'
2023-10-13	13:41:42	4331	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:42	4331	[DEBUG]	Executed store
2023-10-13	13:41:42	4331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863823','14535','1')
2023-10-13	13:41:42	4331	[DEBUG]	Store product image relation
2023-10-13	13:41:42	4331	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:42	4331	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863823 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:42	4331	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:42	4331	[DEBUG]	Executed store
2023-10-13	13:41:42	4331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863823','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:42	4331	[DEBUG]	Checking manufacturer
2023-10-13	13:41:42	4331	[DEBUG]	Load a row
2023-10-13	13:41:42	4331	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:42	4331	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:42	4331	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:42	4331	[DEBUG]	Executed store
2023-10-13	13:41:42	4331	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:42	4331	[DEBUG]	Manufacturer exists
2023-10-13	13:41:42	4331	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:42	4331	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:42	4331	[DEBUG]	Executed store
2023-10-13	13:41:42	4331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863823','25')
2023-10-13	13:41:42	4331	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:42	4331	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:42	4331	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863823 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:42	4331	[DEBUG]	Store custom available field
2023-10-13	13:41:42	4331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863823,3,'',1)
2023-10-13	13:41:42	4331	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:42	4331	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:42	4331	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863823 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:42	4331	[DEBUG]	Store custom available field
2023-10-13	13:41:42	4331	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863823,6,'Unitaire',3)
2023-10-13	13:41:42	4331	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:42	4331	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:42	4331	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863822
2023-10-13	13:41:42	4331	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:42	4331	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863822\":[1863822,8,1,\"choisir la taille\"],\"1863823\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863822
2023-10-13	13:41:42	4331	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:42	4331	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863823
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:42	4332	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field taille
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:42	4332	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:42	4332	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:42	4332	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:42	4332	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:42	4332	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:42	4332	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field published
2023-10-13	13:41:42	4332	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:42	4332	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field override
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:42	4332	[DEBUG]	Use field value for field slug
2023-10-13	13:41:42	4332	[DEBUG]	Process line 4332
2023-10-13	13:41:42	4332	[DEBUG]	Load a row
2023-10-13	13:41:42	4332	[DEBUG]	Processing item: A_5200_1
2023-10-13	13:41:42	4332	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:42	4332	[DEBUG]	Processing product tax
2023-10-13	13:41:42	4332	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:42	4332	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:42	4332	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:42	4332	[DEBUG]	Query for Product
2023-10-13	13:41:42	4332	[DEBUG]	Executed store
2023-10-13	13:41:42	4332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5200_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:42	4332	[DEBUG]	Check product language entry
2023-10-13	13:41:42	4332	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863824
2023-10-13	13:41:42	4332	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:42	4332	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5200_1' AND `virtuemart_product_id` != 1863824
2023-10-13	13:41:42	4332	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:42	4332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863824, 'A_5200_1')
2023-10-13	13:41:42	4332	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:42	4332	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-nobby-nic-29x2-25-57-622-noir' AND `virtuemart_product_id` != 1863824
2023-10-13	13:41:42	4332	[DEBUG]	Query for ProductLang
2023-10-13	13:41:42	4332	[DEBUG]	Executed store
2023-10-13	13:41:42	4332	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 11601034',`product_name`='SCHWALBE PNEU NOBBY NIC 29X2.25 57-622  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-nobby-nic-29x2-25-57-622-noir' WHERE `virtuemart_product_id` = '1863824'
2023-10-13	13:41:42	4332	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29671_pneu_schwalbe_nobby_nic_29x2_25_57-622_.png
2023-10-13	13:41:42	4332	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:41:42	4332	[DEBUG]	Process image file
2023-10-13	13:41:42	4332	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:41:42	4332	[DEBUG]	Mime type found: image/png
2023-10-13	13:41:42	4332	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29671_pneu_schwalbe_nobby_nic_29x2_25_57-622_.png
2023-10-13	13:41:42	4332	[DEBUG]	Full name target: bcprisme/29671_pneu_schwalbe_nobby_nic_29x2_25_57-622_.png
2023-10-13	13:41:43	4332	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:43	4332	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29671_pneu_schwalbe_nobby_nic_29x2_25_57-622_.png'
2023-10-13	13:41:43	4332	[DEBUG]	Query for Media
2023-10-13	13:41:43	4332	[DEBUG]	Executed store
2023-10-13	13:41:43	4332	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29671_pneu_schwalbe_nobby_nic_29x2_25_57-622_.png',`file_url_thumb`='bcprisme/29671_pneu_schwalbe_nobby_nic_29x2_25_57-622_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14536'
2023-10-13	13:41:43	4332	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:43	4332	[DEBUG]	Executed store
2023-10-13	13:41:43	4332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863824','14536','1')
2023-10-13	13:41:43	4332	[DEBUG]	Store product image relation
2023-10-13	13:41:43	4332	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:43	4332	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863824 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:43	4332	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:43	4332	[DEBUG]	Executed store
2023-10-13	13:41:43	4332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863824','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:43	4332	[DEBUG]	Checking manufacturer
2023-10-13	13:41:43	4332	[DEBUG]	Load a row
2023-10-13	13:41:43	4332	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:43	4332	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:43	4332	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:43	4332	[DEBUG]	Executed store
2023-10-13	13:41:43	4332	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:43	4332	[DEBUG]	Manufacturer exists
2023-10-13	13:41:43	4332	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:43	4332	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:43	4332	[DEBUG]	Executed store
2023-10-13	13:41:43	4332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863824','25')
2023-10-13	13:41:43	4332	[DEBUG]	Find the custom field ID
2023-10-13	13:41:43	4332	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:43	4332	[DEBUG]	No custom field ID found
2023-10-13	13:41:43	4332	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:43	4332	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:43	4332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863824 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:43	4332	[DEBUG]	Store custom available field
2023-10-13	13:41:43	4332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863824,3,'0',1)
2023-10-13	13:41:43	4332	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:43	4332	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:43	4332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863824 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:43	4332	[DEBUG]	Store custom available field
2023-10-13	13:41:43	4332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863824,6,'choisir la taille',3)
2023-10-13	13:41:43	4332	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:43	4332	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:43	4332	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:43	4332	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:43	4332	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863824 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:43	4332	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:43	4332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863824,8,1)
2023-10-13	13:41:43	4332	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:43	4332	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863824\":[1863824,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863824
2023-10-13	13:41:43	4332	[DEBUG]	Checking category
2023-10-13	13:41:43	4332	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:43	4332	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863824
2023-10-13	13:41:43	4332	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:43	4332	[DEBUG]	Executed store
2023-10-13	13:41:43	4332	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863824','7412')
2023-10-13	13:41:43	4332	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:43	4332	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863824 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:43	4332	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:43	4332	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863824
2023-10-13	13:41:43	4333	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:43	4333	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:43	4333	[DEBUG]	Use field value for field taille
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:43	4333	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:43	4333	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:43	4333	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:43	4333	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:43	4333	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:43	4333	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:43	4333	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:43	4333	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:43	4333	[DEBUG]	Use field value for field published
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:43	4333	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field override
2023-10-13	13:41:43	4333	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:43	4333	[DEBUG]	Use field value for field slug
2023-10-13	13:41:43	4333	[DEBUG]	Process line 4333
2023-10-13	13:41:43	4333	[DEBUG]	Load a row
2023-10-13	13:41:43	4333	[DEBUG]	Processing item: 4026495821261
2023-10-13	13:41:43	4333	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:43	4333	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:43	4333	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5200_1'
2023-10-13	13:41:43	4333	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:43	4333	[DEBUG]	Processing product tax
2023-10-13	13:41:43	4333	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:43	4333	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:43	4333	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:43	4333	[DEBUG]	Query for Product
2023-10-13	13:41:43	4333	[DEBUG]	Executed store
2023-10-13	13:41:43	4333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863824','4026495821261','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:43	4333	[DEBUG]	No parent found
2023-10-13	13:41:43	4333	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863824 AND customfield_value = 'stockable'
2023-10-13	13:41:43	4333	[DEBUG]	Check product language entry
2023-10-13	13:41:43	4333	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863825
2023-10-13	13:41:43	4333	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:43	4333	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495821261' AND `virtuemart_product_id` != 1863825
2023-10-13	13:41:43	4333	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:43	4333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863825, '4026495821261')
2023-10-13	13:41:43	4333	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:43	4333	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-nobby-nic-29x2-25-57-622-noir-unitaire' AND `virtuemart_product_id` != 1863825
2023-10-13	13:41:43	4333	[DEBUG]	Query for ProductLang
2023-10-13	13:41:43	4333	[DEBUG]	Executed store
2023-10-13	13:41:43	4333	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU NOBBY NIC 29X2.25 57-622  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-nobby-nic-29x2-25-57-622-noir-unitaire' WHERE `virtuemart_product_id` = '1863825'
2023-10-13	13:41:43	4333	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29671_pneu_schwalbe_nobby_nic_29x2_25_57-622_.png
2023-10-13	13:41:43	4333	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:41:43	4333	[DEBUG]	Process image file
2023-10-13	13:41:43	4333	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:41:43	4333	[DEBUG]	Mime type found: image/png
2023-10-13	13:41:43	4333	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29671_pneu_schwalbe_nobby_nic_29x2_25_57-622_.png
2023-10-13	13:41:43	4333	[DEBUG]	Full name target: bcprisme/29671_pneu_schwalbe_nobby_nic_29x2_25_57-622_.png
2023-10-13	13:41:44	4333	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:44	4333	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29671_pneu_schwalbe_nobby_nic_29x2_25_57-622_.png'
2023-10-13	13:41:44	4333	[DEBUG]	Query for Media
2023-10-13	13:41:44	4333	[DEBUG]	Executed store
2023-10-13	13:41:44	4333	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29671_pneu_schwalbe_nobby_nic_29x2_25_57-622_.png',`file_url_thumb`='bcprisme/29671_pneu_schwalbe_nobby_nic_29x2_25_57-622_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14536'
2023-10-13	13:41:44	4333	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:44	4333	[DEBUG]	Executed store
2023-10-13	13:41:44	4333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863825','14536','1')
2023-10-13	13:41:44	4333	[DEBUG]	Store product image relation
2023-10-13	13:41:44	4333	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:44	4333	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863825 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:44	4333	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:44	4333	[DEBUG]	Executed store
2023-10-13	13:41:44	4333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863825','0','37.0473537604457','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:44	4333	[DEBUG]	Checking manufacturer
2023-10-13	13:41:44	4333	[DEBUG]	Load a row
2023-10-13	13:41:44	4333	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:44	4333	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:44	4333	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:44	4333	[DEBUG]	Executed store
2023-10-13	13:41:44	4333	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:44	4333	[DEBUG]	Manufacturer exists
2023-10-13	13:41:44	4333	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:44	4333	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:44	4333	[DEBUG]	Executed store
2023-10-13	13:41:44	4333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863825','25')
2023-10-13	13:41:44	4333	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:44	4333	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:44	4333	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863825 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:44	4333	[DEBUG]	Store custom available field
2023-10-13	13:41:44	4333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863825,3,'',1)
2023-10-13	13:41:44	4333	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:44	4333	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:44	4333	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863825 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:44	4333	[DEBUG]	Store custom available field
2023-10-13	13:41:44	4333	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863825,6,'Unitaire',3)
2023-10-13	13:41:44	4333	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:44	4333	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:44	4333	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863824
2023-10-13	13:41:44	4333	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:44	4333	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863824\":[1863824,8,1,\"choisir la taille\"],\"1863825\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863824
2023-10-13	13:41:44	4333	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:44	4333	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863825
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:44	4334	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field taille
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:44	4334	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:44	4334	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:44	4334	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:44	4334	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:44	4334	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:44	4334	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:44	4334	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field published
2023-10-13	13:41:44	4334	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:44	4334	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field override
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:44	4334	[DEBUG]	Use field value for field slug
2023-10-13	13:41:44	4334	[DEBUG]	Process line 4334
2023-10-13	13:41:44	4334	[DEBUG]	Load a row
2023-10-13	13:41:44	4334	[DEBUG]	Processing item: A_5249_1
2023-10-13	13:41:44	4334	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:44	4334	[DEBUG]	Processing product tax
2023-10-13	13:41:44	4334	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:44	4334	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:44	4334	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:44	4334	[DEBUG]	Query for Product
2023-10-13	13:41:44	4334	[DEBUG]	Executed store
2023-10-13	13:41:44	4334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5249_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:44	4334	[DEBUG]	Check product language entry
2023-10-13	13:41:44	4334	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863826
2023-10-13	13:41:44	4334	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:44	4334	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5249_1' AND `virtuemart_product_id` != 1863826
2023-10-13	13:41:44	4334	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:44	4334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863826, 'A_5249_1')
2023-10-13	13:41:44	4334	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:44	4334	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rocket-ron-29x2-10-addix-57-622-noir' AND `virtuemart_product_id` != 1863826
2023-10-13	13:41:44	4334	[DEBUG]	Query for ProductLang
2023-10-13	13:41:44	4334	[DEBUG]	Executed store
2023-10-13	13:41:44	4334	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.461',`product_name`='SCHWALBE PNEU ROCKET RON 29X2.10 ADDIX 57-622 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rocket-ron-29x2-10-addix-57-622-noir' WHERE `virtuemart_product_id` = '1863826'
2023-10-13	13:41:44	4334	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29720_pneu_schwalbe_rocket_ron_29x2_10_addix_57-622.jpg
2023-10-13	13:41:44	4334	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:44	4334	[DEBUG]	Process image file
2023-10-13	13:41:44	4334	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:44	4334	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:44	4334	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29720_pneu_schwalbe_rocket_ron_29x2_10_addix_57-622.jpg
2023-10-13	13:41:44	4334	[DEBUG]	Full name target: bcprisme/29720_pneu_schwalbe_rocket_ron_29x2_10_addix_57-622.jpg
2023-10-13	13:41:45	4334	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:45	4334	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29720_pneu_schwalbe_rocket_ron_29x2_10_addix_57-622.jpg'
2023-10-13	13:41:45	4334	[DEBUG]	Query for Media
2023-10-13	13:41:45	4334	[DEBUG]	Executed store
2023-10-13	13:41:45	4334	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29720_pneu_schwalbe_rocket_ron_29x2_10_addix_57-622.jpg',`file_url_thumb`='bcprisme/29720_pneu_schwalbe_rocket_ron_29x2_10_addix_57-622.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382055'
2023-10-13	13:41:45	4334	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:45	4334	[DEBUG]	Executed store
2023-10-13	13:41:45	4334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863826','382055','1')
2023-10-13	13:41:45	4334	[DEBUG]	Store product image relation
2023-10-13	13:41:45	4334	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:45	4334	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863826 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:45	4334	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:45	4334	[DEBUG]	Executed store
2023-10-13	13:41:45	4334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863826','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:45	4334	[DEBUG]	Checking manufacturer
2023-10-13	13:41:45	4334	[DEBUG]	Load a row
2023-10-13	13:41:45	4334	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:45	4334	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:45	4334	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:45	4334	[DEBUG]	Executed store
2023-10-13	13:41:45	4334	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:45	4334	[DEBUG]	Manufacturer exists
2023-10-13	13:41:45	4334	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:45	4334	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:45	4334	[DEBUG]	Executed store
2023-10-13	13:41:45	4334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863826','25')
2023-10-13	13:41:45	4334	[DEBUG]	Find the custom field ID
2023-10-13	13:41:45	4334	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:45	4334	[DEBUG]	No custom field ID found
2023-10-13	13:41:45	4334	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:45	4334	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:45	4334	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863826 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:45	4334	[DEBUG]	Store custom available field
2023-10-13	13:41:45	4334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863826,3,'0',1)
2023-10-13	13:41:45	4334	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:45	4334	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:45	4334	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863826 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:45	4334	[DEBUG]	Store custom available field
2023-10-13	13:41:45	4334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863826,6,'choisir la taille',3)
2023-10-13	13:41:45	4334	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:45	4334	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:45	4334	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:45	4334	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:45	4334	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863826 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:45	4334	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:45	4334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863826,8,1)
2023-10-13	13:41:45	4334	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:45	4334	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863826\":[1863826,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863826
2023-10-13	13:41:45	4334	[DEBUG]	Checking category
2023-10-13	13:41:45	4334	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:45	4334	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863826
2023-10-13	13:41:45	4334	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:45	4334	[DEBUG]	Executed store
2023-10-13	13:41:45	4334	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863826','7412')
2023-10-13	13:41:45	4334	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:45	4334	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863826 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:45	4334	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:45	4334	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863826
2023-10-13	13:41:45	4335	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:45	4335	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:45	4335	[DEBUG]	Use field value for field taille
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:45	4335	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:45	4335	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:45	4335	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:45	4335	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:45	4335	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:45	4335	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:45	4335	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:45	4335	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:45	4335	[DEBUG]	Use field value for field published
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:45	4335	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field override
2023-10-13	13:41:45	4335	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:45	4335	[DEBUG]	Use field value for field slug
2023-10-13	13:41:45	4335	[DEBUG]	Process line 4335
2023-10-13	13:41:45	4335	[DEBUG]	Load a row
2023-10-13	13:41:45	4335	[DEBUG]	Processing item: 4026495817226
2023-10-13	13:41:45	4335	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:45	4335	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:45	4335	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5249_1'
2023-10-13	13:41:45	4335	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:45	4335	[DEBUG]	Processing product tax
2023-10-13	13:41:45	4335	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:45	4335	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:45	4335	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:45	4335	[DEBUG]	Query for Product
2023-10-13	13:41:45	4335	[DEBUG]	Executed store
2023-10-13	13:41:45	4335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863826','4026495817226','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:45	4335	[DEBUG]	No parent found
2023-10-13	13:41:45	4335	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863826 AND customfield_value = 'stockable'
2023-10-13	13:41:45	4335	[DEBUG]	Check product language entry
2023-10-13	13:41:45	4335	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863827
2023-10-13	13:41:45	4335	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:45	4335	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495817226' AND `virtuemart_product_id` != 1863827
2023-10-13	13:41:45	4335	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:45	4335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863827, '4026495817226')
2023-10-13	13:41:45	4335	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:45	4335	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rocket-ron-29x2-10-addix-57-622-noir-unitaire' AND `virtuemart_product_id` != 1863827
2023-10-13	13:41:45	4335	[DEBUG]	Query for ProductLang
2023-10-13	13:41:45	4335	[DEBUG]	Executed store
2023-10-13	13:41:45	4335	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU ROCKET RON 29X2.10 ADDIX 57-622 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rocket-ron-29x2-10-addix-57-622-noir-unitaire' WHERE `virtuemart_product_id` = '1863827'
2023-10-13	13:41:45	4335	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29720_pneu_schwalbe_rocket_ron_29x2_10_addix_57-622.jpg
2023-10-13	13:41:45	4335	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:45	4335	[DEBUG]	Process image file
2023-10-13	13:41:45	4335	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:45	4335	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:45	4335	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29720_pneu_schwalbe_rocket_ron_29x2_10_addix_57-622.jpg
2023-10-13	13:41:45	4335	[DEBUG]	Full name target: bcprisme/29720_pneu_schwalbe_rocket_ron_29x2_10_addix_57-622.jpg
2023-10-13	13:41:46	4335	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:46	4335	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29720_pneu_schwalbe_rocket_ron_29x2_10_addix_57-622.jpg'
2023-10-13	13:41:46	4335	[DEBUG]	Query for Media
2023-10-13	13:41:46	4335	[DEBUG]	Executed store
2023-10-13	13:41:46	4335	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29720_pneu_schwalbe_rocket_ron_29x2_10_addix_57-622.jpg',`file_url_thumb`='bcprisme/29720_pneu_schwalbe_rocket_ron_29x2_10_addix_57-622.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382055'
2023-10-13	13:41:46	4335	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:46	4335	[DEBUG]	Executed store
2023-10-13	13:41:46	4335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863827','382055','1')
2023-10-13	13:41:46	4335	[DEBUG]	Store product image relation
2023-10-13	13:41:46	4335	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:46	4335	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863827 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:46	4335	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:46	4335	[DEBUG]	Executed store
2023-10-13	13:41:46	4335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863827','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:46	4335	[DEBUG]	Checking manufacturer
2023-10-13	13:41:46	4335	[DEBUG]	Load a row
2023-10-13	13:41:46	4335	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:46	4335	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:46	4335	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:46	4335	[DEBUG]	Executed store
2023-10-13	13:41:46	4335	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:46	4335	[DEBUG]	Manufacturer exists
2023-10-13	13:41:46	4335	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:46	4335	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:46	4335	[DEBUG]	Executed store
2023-10-13	13:41:46	4335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863827','25')
2023-10-13	13:41:46	4335	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:46	4335	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:46	4335	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863827 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:46	4335	[DEBUG]	Store custom available field
2023-10-13	13:41:46	4335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863827,3,'',1)
2023-10-13	13:41:46	4335	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:46	4335	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:46	4335	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863827 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:46	4335	[DEBUG]	Store custom available field
2023-10-13	13:41:46	4335	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863827,6,'Unitaire',3)
2023-10-13	13:41:46	4335	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:46	4335	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:46	4335	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863826
2023-10-13	13:41:46	4335	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:46	4335	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863826\":[1863826,8,1,\"choisir la taille\"],\"1863827\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863826
2023-10-13	13:41:46	4335	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:46	4335	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863827
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:46	4336	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field taille
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:46	4336	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:46	4336	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:46	4336	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:46	4336	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:46	4336	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:46	4336	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:46	4336	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field published
2023-10-13	13:41:46	4336	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:46	4336	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field override
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:46	4336	[DEBUG]	Use field value for field slug
2023-10-13	13:41:46	4336	[DEBUG]	Process line 4336
2023-10-13	13:41:46	4336	[DEBUG]	Load a row
2023-10-13	13:41:46	4336	[DEBUG]	Processing item: A_5367_1
2023-10-13	13:41:46	4336	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:46	4336	[DEBUG]	Processing product tax
2023-10-13	13:41:46	4336	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:46	4336	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:46	4336	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:46	4336	[DEBUG]	Query for Product
2023-10-13	13:41:46	4336	[DEBUG]	Executed store
2023-10-13	13:41:46	4336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5367_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:46	4336	[DEBUG]	Check product language entry
2023-10-13	13:41:46	4336	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863828
2023-10-13	13:41:46	4336	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:46	4336	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5367_1' AND `virtuemart_product_id` != 1863828
2023-10-13	13:41:46	4336	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:46	4336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863828, 'A_5367_1')
2023-10-13	13:41:46	4336	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:46	4336	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-pneu-vittoria-saguaro-29x2-00-noir' AND `virtuemart_product_id` != 1863828
2023-10-13	13:41:46	4336	[DEBUG]	Query for ProductLang
2023-10-13	13:41:46	4336	[DEBUG]	Executed store
2023-10-13	13:41:46	4336	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.63715',`product_name`='VITTORIA PNEU Vittoria Saguaro 29x2.00   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-pneu-vittoria-saguaro-29x2-00-noir' WHERE `virtuemart_product_id` = '1863828'
2023-10-13	13:41:46	4336	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29845_pneus_vittoria_saguaro_29x2_00__.jpg
2023-10-13	13:41:46	4336	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:46	4336	[DEBUG]	Process image file
2023-10-13	13:41:46	4336	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:46	4336	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:46	4336	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29845_pneus_vittoria_saguaro_29x2_00__.jpg
2023-10-13	13:41:46	4336	[DEBUG]	Full name target: bcprisme/29845_pneus_vittoria_saguaro_29x2_00__.jpg
2023-10-13	13:41:47	4336	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:47	4336	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29845_pneus_vittoria_saguaro_29x2_00__.jpg'
2023-10-13	13:41:47	4336	[DEBUG]	Query for Media
2023-10-13	13:41:47	4336	[DEBUG]	Executed store
2023-10-13	13:41:47	4336	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29845_pneus_vittoria_saguaro_29x2_00__.jpg',`file_url_thumb`='bcprisme/29845_pneus_vittoria_saguaro_29x2_00__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382057'
2023-10-13	13:41:47	4336	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:47	4336	[DEBUG]	Executed store
2023-10-13	13:41:47	4336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863828','382057','1')
2023-10-13	13:41:47	4336	[DEBUG]	Store product image relation
2023-10-13	13:41:47	4336	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:47	4336	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863828 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:47	4336	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:47	4336	[DEBUG]	Executed store
2023-10-13	13:41:47	4336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863828','0','54.7818012999071','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:47	4336	[DEBUG]	Checking manufacturer
2023-10-13	13:41:47	4336	[DEBUG]	Load a row
2023-10-13	13:41:47	4336	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:47	4336	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:41:47	4336	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:47	4336	[DEBUG]	Executed store
2023-10-13	13:41:47	4336	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:41:47	4336	[DEBUG]	Manufacturer exists
2023-10-13	13:41:47	4336	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:41:47	4336	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:47	4336	[DEBUG]	Executed store
2023-10-13	13:41:47	4336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863828','42')
2023-10-13	13:41:47	4336	[DEBUG]	Find the custom field ID
2023-10-13	13:41:47	4336	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:47	4336	[DEBUG]	No custom field ID found
2023-10-13	13:41:47	4336	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:47	4336	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:47	4336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863828 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:47	4336	[DEBUG]	Store custom available field
2023-10-13	13:41:47	4336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863828,3,'0',1)
2023-10-13	13:41:47	4336	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:47	4336	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:47	4336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863828 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:47	4336	[DEBUG]	Store custom available field
2023-10-13	13:41:47	4336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863828,6,'choisir la taille',3)
2023-10-13	13:41:47	4336	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:47	4336	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:47	4336	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:47	4336	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:47	4336	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863828 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:47	4336	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:47	4336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863828,8,1)
2023-10-13	13:41:47	4336	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:47	4336	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863828\":[1863828,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863828
2023-10-13	13:41:47	4336	[DEBUG]	Checking category
2023-10-13	13:41:47	4336	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:47	4336	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863828
2023-10-13	13:41:47	4336	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:47	4336	[DEBUG]	Executed store
2023-10-13	13:41:47	4336	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863828','7412')
2023-10-13	13:41:47	4336	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:47	4336	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863828 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:47	4336	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:47	4336	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863828
2023-10-13	13:41:47	4337	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:47	4337	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:47	4337	[DEBUG]	Use field value for field taille
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:47	4337	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:47	4337	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:47	4337	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:47	4337	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:47	4337	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:47	4337	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:47	4337	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:47	4337	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:47	4337	[DEBUG]	Use field value for field published
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:47	4337	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field override
2023-10-13	13:41:47	4337	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:47	4337	[DEBUG]	Use field value for field slug
2023-10-13	13:41:47	4337	[DEBUG]	Process line 4337
2023-10-13	13:41:47	4337	[DEBUG]	Load a row
2023-10-13	13:41:47	4337	[DEBUG]	Processing item: 1000000082241
2023-10-13	13:41:47	4337	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:47	4337	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:47	4337	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5367_1'
2023-10-13	13:41:47	4337	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:47	4337	[DEBUG]	Processing product tax
2023-10-13	13:41:47	4337	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:47	4337	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:47	4337	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:47	4337	[DEBUG]	Query for Product
2023-10-13	13:41:47	4337	[DEBUG]	Executed store
2023-10-13	13:41:47	4337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863828','1000000082241','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:47	4337	[DEBUG]	No parent found
2023-10-13	13:41:47	4337	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863828 AND customfield_value = 'stockable'
2023-10-13	13:41:47	4337	[DEBUG]	Check product language entry
2023-10-13	13:41:47	4337	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863829
2023-10-13	13:41:47	4337	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:47	4337	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000082241' AND `virtuemart_product_id` != 1863829
2023-10-13	13:41:47	4337	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:47	4337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863829, '1000000082241')
2023-10-13	13:41:47	4337	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:47	4337	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-pneu-vittoria-saguaro-29x2-00-noir-unitaire' AND `virtuemart_product_id` != 1863829
2023-10-13	13:41:47	4337	[DEBUG]	Query for ProductLang
2023-10-13	13:41:47	4337	[DEBUG]	Executed store
2023-10-13	13:41:47	4337	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='VITTORIA PNEU Vittoria Saguaro 29x2.00   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-pneu-vittoria-saguaro-29x2-00-noir-unitaire' WHERE `virtuemart_product_id` = '1863829'
2023-10-13	13:41:47	4337	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29845_pneus_vittoria_saguaro_29x2_00__.jpg
2023-10-13	13:41:47	4337	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:47	4337	[DEBUG]	Process image file
2023-10-13	13:41:47	4337	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:47	4337	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:47	4337	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29845_pneus_vittoria_saguaro_29x2_00__.jpg
2023-10-13	13:41:47	4337	[DEBUG]	Full name target: bcprisme/29845_pneus_vittoria_saguaro_29x2_00__.jpg
2023-10-13	13:41:48	4337	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:48	4337	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29845_pneus_vittoria_saguaro_29x2_00__.jpg'
2023-10-13	13:41:48	4337	[DEBUG]	Query for Media
2023-10-13	13:41:48	4337	[DEBUG]	Executed store
2023-10-13	13:41:48	4337	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29845_pneus_vittoria_saguaro_29x2_00__.jpg',`file_url_thumb`='bcprisme/29845_pneus_vittoria_saguaro_29x2_00__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382057'
2023-10-13	13:41:48	4337	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:48	4337	[DEBUG]	Executed store
2023-10-13	13:41:48	4337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863829','382057','1')
2023-10-13	13:41:48	4337	[DEBUG]	Store product image relation
2023-10-13	13:41:48	4337	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:48	4337	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863829 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:48	4337	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:48	4337	[DEBUG]	Executed store
2023-10-13	13:41:48	4337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863829','0','54.7818012999071','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:48	4337	[DEBUG]	Checking manufacturer
2023-10-13	13:41:48	4337	[DEBUG]	Load a row
2023-10-13	13:41:48	4337	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:48	4337	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:41:48	4337	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:48	4337	[DEBUG]	Executed store
2023-10-13	13:41:48	4337	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:41:48	4337	[DEBUG]	Manufacturer exists
2023-10-13	13:41:48	4337	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:41:48	4337	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:48	4337	[DEBUG]	Executed store
2023-10-13	13:41:48	4337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863829','42')
2023-10-13	13:41:48	4337	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:48	4337	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:48	4337	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863829 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:48	4337	[DEBUG]	Store custom available field
2023-10-13	13:41:48	4337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863829,3,'',1)
2023-10-13	13:41:48	4337	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:48	4337	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:48	4337	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863829 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:48	4337	[DEBUG]	Store custom available field
2023-10-13	13:41:48	4337	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863829,6,'Unitaire',3)
2023-10-13	13:41:48	4337	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:48	4337	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:48	4337	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863828
2023-10-13	13:41:48	4337	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:48	4337	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863828\":[1863828,8,1,\"choisir la taille\"],\"1863829\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863828
2023-10-13	13:41:48	4337	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:48	4337	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863829
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:48	4338	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field taille
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:48	4338	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:48	4338	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:48	4338	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:48	4338	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:48	4338	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:48	4338	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:48	4338	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field published
2023-10-13	13:41:48	4338	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:48	4338	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field override
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:48	4338	[DEBUG]	Use field value for field slug
2023-10-13	13:41:48	4338	[DEBUG]	Process line 4338
2023-10-13	13:41:48	4338	[DEBUG]	Load a row
2023-10-13	13:41:48	4338	[DEBUG]	Processing item: A_5505_1
2023-10-13	13:41:48	4338	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:48	4338	[DEBUG]	Processing product tax
2023-10-13	13:41:48	4338	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:48	4338	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:48	4338	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:48	4338	[DEBUG]	Query for Product
2023-10-13	13:41:48	4338	[DEBUG]	Executed store
2023-10-13	13:41:48	4338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5505_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:48	4338	[DEBUG]	Check product language entry
2023-10-13	13:41:48	4338	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863830
2023-10-13	13:41:48	4338	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:48	4338	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5505_1' AND `virtuemart_product_id` != 1863830
2023-10-13	13:41:48	4338	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:48	4338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863830, 'A_5505_1')
2023-10-13	13:41:48	4338	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:48	4338	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-hurricane-performance-29x2-00-50-622-noir' AND `virtuemart_product_id` != 1863830
2023-10-13	13:41:48	4338	[DEBUG]	Query for ProductLang
2023-10-13	13:41:48	4338	[DEBUG]	Executed store
2023-10-13	13:41:48	4338	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.194',`product_name`='SCHWALBE PNEU HURRICANE PERFORMANCE 29X2.00 50-622  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-hurricane-performance-29x2-00-50-622-noir' WHERE `virtuemart_product_id` = '1863830'
2023-10-13	13:41:48	4338	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30008_pneu_schwalbe_hurricane_performance_29x2_00_50-622_.jpg
2023-10-13	13:41:48	4338	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:48	4338	[DEBUG]	Process image file
2023-10-13	13:41:48	4338	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:48	4338	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:48	4338	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30008_pneu_schwalbe_hurricane_performance_29x2_00_50-622_.jpg
2023-10-13	13:41:48	4338	[DEBUG]	Full name target: bcprisme/30008_pneu_schwalbe_hurricane_performance_29x2_00_50-622_.jpg
2023-10-13	13:41:49	4338	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:49	4338	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30008_pneu_schwalbe_hurricane_performance_29x2_00_50-622_.jpg'
2023-10-13	13:41:49	4338	[DEBUG]	Query for Media
2023-10-13	13:41:49	4338	[DEBUG]	Executed store
2023-10-13	13:41:49	4338	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30008_pneu_schwalbe_hurricane_performance_29x2_00_50-622_.jpg',`file_url_thumb`='bcprisme/30008_pneu_schwalbe_hurricane_performance_29x2_00_50-622_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382059'
2023-10-13	13:41:49	4338	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:49	4338	[DEBUG]	Executed store
2023-10-13	13:41:49	4338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863830','382059','1')
2023-10-13	13:41:49	4338	[DEBUG]	Store product image relation
2023-10-13	13:41:49	4338	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:49	4338	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863830 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:49	4338	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:49	4338	[DEBUG]	Executed store
2023-10-13	13:41:49	4338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863830','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:49	4338	[DEBUG]	Checking manufacturer
2023-10-13	13:41:49	4338	[DEBUG]	Load a row
2023-10-13	13:41:49	4338	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:49	4338	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:49	4338	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:49	4338	[DEBUG]	Executed store
2023-10-13	13:41:49	4338	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:49	4338	[DEBUG]	Manufacturer exists
2023-10-13	13:41:49	4338	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:49	4338	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:49	4338	[DEBUG]	Executed store
2023-10-13	13:41:49	4338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863830','25')
2023-10-13	13:41:49	4338	[DEBUG]	Find the custom field ID
2023-10-13	13:41:49	4338	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:49	4338	[DEBUG]	No custom field ID found
2023-10-13	13:41:49	4338	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:49	4338	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:49	4338	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863830 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:49	4338	[DEBUG]	Store custom available field
2023-10-13	13:41:49	4338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863830,3,'0',1)
2023-10-13	13:41:49	4338	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:49	4338	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:49	4338	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863830 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:49	4338	[DEBUG]	Store custom available field
2023-10-13	13:41:49	4338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863830,6,'choisir la taille',3)
2023-10-13	13:41:49	4338	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:49	4338	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:49	4338	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:49	4338	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:49	4338	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863830 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:49	4338	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:49	4338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863830,8,1)
2023-10-13	13:41:49	4338	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:49	4338	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863830\":[1863830,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863830
2023-10-13	13:41:49	4338	[DEBUG]	Checking category
2023-10-13	13:41:49	4338	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:49	4338	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863830
2023-10-13	13:41:49	4338	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:49	4338	[DEBUG]	Executed store
2023-10-13	13:41:49	4338	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863830','7412')
2023-10-13	13:41:49	4338	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:49	4338	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863830 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:49	4338	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:49	4338	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863830
2023-10-13	13:41:49	4339	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:49	4339	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:49	4339	[DEBUG]	Use field value for field taille
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:49	4339	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:49	4339	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:49	4339	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:49	4339	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:49	4339	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:49	4339	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:49	4339	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:49	4339	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:49	4339	[DEBUG]	Use field value for field published
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:49	4339	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field override
2023-10-13	13:41:49	4339	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:49	4339	[DEBUG]	Use field value for field slug
2023-10-13	13:41:49	4339	[DEBUG]	Process line 4339
2023-10-13	13:41:49	4339	[DEBUG]	Load a row
2023-10-13	13:41:49	4339	[DEBUG]	Processing item: 4026495752923
2023-10-13	13:41:49	4339	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:49	4339	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:49	4339	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5505_1'
2023-10-13	13:41:49	4339	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:49	4339	[DEBUG]	Processing product tax
2023-10-13	13:41:49	4339	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:49	4339	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:49	4339	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:49	4339	[DEBUG]	Query for Product
2023-10-13	13:41:49	4339	[DEBUG]	Executed store
2023-10-13	13:41:49	4339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863830','4026495752923','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:49	4339	[DEBUG]	No parent found
2023-10-13	13:41:49	4339	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863830 AND customfield_value = 'stockable'
2023-10-13	13:41:49	4339	[DEBUG]	Check product language entry
2023-10-13	13:41:49	4339	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863831
2023-10-13	13:41:49	4339	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:49	4339	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495752923' AND `virtuemart_product_id` != 1863831
2023-10-13	13:41:49	4339	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:49	4339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863831, '4026495752923')
2023-10-13	13:41:49	4339	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:49	4339	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-hurricane-performance-29x2-00-50-622-noir-unitaire' AND `virtuemart_product_id` != 1863831
2023-10-13	13:41:49	4339	[DEBUG]	Query for ProductLang
2023-10-13	13:41:49	4339	[DEBUG]	Executed store
2023-10-13	13:41:49	4339	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU HURRICANE PERFORMANCE 29X2.00 50-622  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-hurricane-performance-29x2-00-50-622-noir-unitaire' WHERE `virtuemart_product_id` = '1863831'
2023-10-13	13:41:49	4339	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30008_pneu_schwalbe_hurricane_performance_29x2_00_50-622_.jpg
2023-10-13	13:41:49	4339	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:49	4339	[DEBUG]	Process image file
2023-10-13	13:41:49	4339	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:49	4339	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:49	4339	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30008_pneu_schwalbe_hurricane_performance_29x2_00_50-622_.jpg
2023-10-13	13:41:49	4339	[DEBUG]	Full name target: bcprisme/30008_pneu_schwalbe_hurricane_performance_29x2_00_50-622_.jpg
2023-10-13	13:41:50	4339	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:50	4339	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30008_pneu_schwalbe_hurricane_performance_29x2_00_50-622_.jpg'
2023-10-13	13:41:50	4339	[DEBUG]	Query for Media
2023-10-13	13:41:50	4339	[DEBUG]	Executed store
2023-10-13	13:41:50	4339	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30008_pneu_schwalbe_hurricane_performance_29x2_00_50-622_.jpg',`file_url_thumb`='bcprisme/30008_pneu_schwalbe_hurricane_performance_29x2_00_50-622_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382059'
2023-10-13	13:41:50	4339	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:50	4339	[DEBUG]	Executed store
2023-10-13	13:41:50	4339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863831','382059','1')
2023-10-13	13:41:50	4339	[DEBUG]	Store product image relation
2023-10-13	13:41:50	4339	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:50	4339	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863831 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:50	4339	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:50	4339	[DEBUG]	Executed store
2023-10-13	13:41:50	4339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863831','0','24.9767873723305','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:50	4339	[DEBUG]	Checking manufacturer
2023-10-13	13:41:50	4339	[DEBUG]	Load a row
2023-10-13	13:41:50	4339	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:50	4339	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:50	4339	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:50	4339	[DEBUG]	Executed store
2023-10-13	13:41:50	4339	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:50	4339	[DEBUG]	Manufacturer exists
2023-10-13	13:41:50	4339	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:50	4339	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:50	4339	[DEBUG]	Executed store
2023-10-13	13:41:50	4339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863831','25')
2023-10-13	13:41:50	4339	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:50	4339	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:50	4339	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863831 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:50	4339	[DEBUG]	Store custom available field
2023-10-13	13:41:50	4339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863831,3,'',1)
2023-10-13	13:41:50	4339	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:50	4339	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:50	4339	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863831 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:50	4339	[DEBUG]	Store custom available field
2023-10-13	13:41:50	4339	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863831,6,'Unitaire',3)
2023-10-13	13:41:50	4339	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:50	4339	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:50	4339	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863830
2023-10-13	13:41:50	4339	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:50	4339	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863830\":[1863830,8,1,\"choisir la taille\"],\"1863831\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863830
2023-10-13	13:41:50	4339	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:50	4339	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863831
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:50	4340	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field taille
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:50	4340	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:50	4340	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:50	4340	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:50	4340	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:50	4340	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:50	4340	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:50	4340	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field published
2023-10-13	13:41:50	4340	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:50	4340	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field override
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:50	4340	[DEBUG]	Use field value for field slug
2023-10-13	13:41:50	4340	[DEBUG]	Process line 4340
2023-10-13	13:41:50	4340	[DEBUG]	Load a row
2023-10-13	13:41:50	4340	[DEBUG]	Processing item: A_5514_1
2023-10-13	13:41:50	4340	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:50	4340	[DEBUG]	Processing product tax
2023-10-13	13:41:50	4340	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:50	4340	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:50	4340	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:50	4340	[DEBUG]	Query for Product
2023-10-13	13:41:50	4340	[DEBUG]	Executed store
2023-10-13	13:41:50	4340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5514_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:50	4340	[DEBUG]	Check product language entry
2023-10-13	13:41:50	4340	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863832
2023-10-13	13:41:50	4340	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:50	4340	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5514_1' AND `virtuemart_product_id` != 1863832
2023-10-13	13:41:50	4340	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:50	4340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863832, 'A_5514_1')
2023-10-13	13:41:50	4340	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:50	4340	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-magic-mary-29x2-35-supergravity-addix-soft-tl-easy-blac-noir' AND `virtuemart_product_id` != 1863832
2023-10-13	13:41:50	4340	[DEBUG]	Query for ProductLang
2023-10-13	13:41:50	4340	[DEBUG]	Executed store
2023-10-13	13:41:50	4340	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.71755',`product_name`='SCHWALBE PNEU MAGIC MARY 29X2.35 SUPERGRAVITY ADDIX SOFT TL EASY BLAC / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-magic-mary-29x2-35-supergravity-addix-soft-tl-easy-blac-noir' WHERE `virtuemart_product_id` = '1863832'
2023-10-13	13:41:50	4340	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30018_pneu_magic_mary_29x2_35_supergravity_addix_soft_tl_easy_blac.jpg
2023-10-13	13:41:50	4340	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:41:50	4340	[DEBUG]	Process image file
2023-10-13	13:41:50	4340	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:41:50	4340	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:50	4340	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30018_pneu_magic_mary_29x2_35_supergravity_addix_soft_tl_easy_blac.jpg
2023-10-13	13:41:50	4340	[DEBUG]	Full name target: bcprisme/30018_pneu_magic_mary_29x2_35_supergravity_addix_soft_tl_easy_blac.jpg
2023-10-13	13:41:51	4340	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:51	4340	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30018_pneu_magic_mary_29x2_35_supergravity_addix_soft_tl_easy_blac.jpg'
2023-10-13	13:41:51	4340	[DEBUG]	Query for Media
2023-10-13	13:41:51	4340	[DEBUG]	Executed store
2023-10-13	13:41:51	4340	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30018_pneu_magic_mary_29x2_35_supergravity_addix_soft_tl_easy_blac.jpg',`file_url_thumb`='bcprisme/30018_pneu_magic_mary_29x2_35_supergravity_addix_soft_tl_easy_blac.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382061'
2023-10-13	13:41:51	4340	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:51	4340	[DEBUG]	Executed store
2023-10-13	13:41:51	4340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863832','382061','1')
2023-10-13	13:41:51	4340	[DEBUG]	Store product image relation
2023-10-13	13:41:51	4340	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:51	4340	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863832 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:51	4340	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:51	4340	[DEBUG]	Executed store
2023-10-13	13:41:51	4340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863832','0','69.6378830083565','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:51	4340	[DEBUG]	Checking manufacturer
2023-10-13	13:41:51	4340	[DEBUG]	Load a row
2023-10-13	13:41:51	4340	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:51	4340	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:51	4340	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:51	4340	[DEBUG]	Executed store
2023-10-13	13:41:51	4340	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:51	4340	[DEBUG]	Manufacturer exists
2023-10-13	13:41:51	4340	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:51	4340	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:51	4340	[DEBUG]	Executed store
2023-10-13	13:41:51	4340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863832','25')
2023-10-13	13:41:51	4340	[DEBUG]	Find the custom field ID
2023-10-13	13:41:51	4340	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:51	4340	[DEBUG]	No custom field ID found
2023-10-13	13:41:51	4340	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:51	4340	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:51	4340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863832 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:51	4340	[DEBUG]	Store custom available field
2023-10-13	13:41:51	4340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863832,3,'0',1)
2023-10-13	13:41:51	4340	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:51	4340	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:51	4340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863832 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:51	4340	[DEBUG]	Store custom available field
2023-10-13	13:41:51	4340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863832,6,'choisir la taille',3)
2023-10-13	13:41:51	4340	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:51	4340	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:51	4340	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:51	4340	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:51	4340	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863832 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:51	4340	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:51	4340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863832,8,1)
2023-10-13	13:41:51	4340	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:51	4340	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863832\":[1863832,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863832
2023-10-13	13:41:51	4340	[DEBUG]	Checking category
2023-10-13	13:41:51	4340	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:51	4340	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863832
2023-10-13	13:41:51	4340	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:51	4340	[DEBUG]	Executed store
2023-10-13	13:41:51	4340	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863832','7412')
2023-10-13	13:41:51	4340	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:51	4340	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863832 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:51	4340	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:51	4340	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863832
2023-10-13	13:41:51	4341	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:51	4341	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:51	4341	[DEBUG]	Use field value for field taille
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:51	4341	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:51	4341	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:51	4341	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:51	4341	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:51	4341	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:51	4341	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:51	4341	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:51	4341	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:51	4341	[DEBUG]	Use field value for field published
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:51	4341	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field override
2023-10-13	13:41:51	4341	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:51	4341	[DEBUG]	Use field value for field slug
2023-10-13	13:41:51	4341	[DEBUG]	Process line 4341
2023-10-13	13:41:51	4341	[DEBUG]	Load a row
2023-10-13	13:41:51	4341	[DEBUG]	Processing item: 4026495839792
2023-10-13	13:41:51	4341	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:51	4341	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:51	4341	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5514_1'
2023-10-13	13:41:51	4341	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:51	4341	[DEBUG]	Processing product tax
2023-10-13	13:41:51	4341	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:51	4341	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:51	4341	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:51	4341	[DEBUG]	Query for Product
2023-10-13	13:41:51	4341	[DEBUG]	Executed store
2023-10-13	13:41:51	4341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863832','4026495839792','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:51	4341	[DEBUG]	No parent found
2023-10-13	13:41:51	4341	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863832 AND customfield_value = 'stockable'
2023-10-13	13:41:51	4341	[DEBUG]	Check product language entry
2023-10-13	13:41:51	4341	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863833
2023-10-13	13:41:51	4341	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:51	4341	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495839792' AND `virtuemart_product_id` != 1863833
2023-10-13	13:41:51	4341	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:51	4341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863833, '4026495839792')
2023-10-13	13:41:51	4341	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:51	4341	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-magic-mary-29x2-35-supergravity-addix-soft-tl-easy-blac-noir-unitaire' AND `virtuemart_product_id` != 1863833
2023-10-13	13:41:51	4341	[DEBUG]	Query for ProductLang
2023-10-13	13:41:51	4341	[DEBUG]	Executed store
2023-10-13	13:41:51	4341	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU MAGIC MARY 29X2.35 SUPERGRAVITY ADDIX SOFT TL EASY BLAC / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-magic-mary-29x2-35-supergravity-addix-soft-tl-easy-blac-noir-unitaire' WHERE `virtuemart_product_id` = '1863833'
2023-10-13	13:41:51	4341	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30018_pneu_magic_mary_29x2_35_supergravity_addix_soft_tl_easy_blac.jpg
2023-10-13	13:41:51	4341	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:41:51	4341	[DEBUG]	Process image file
2023-10-13	13:41:51	4341	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:41:51	4341	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:51	4341	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30018_pneu_magic_mary_29x2_35_supergravity_addix_soft_tl_easy_blac.jpg
2023-10-13	13:41:51	4341	[DEBUG]	Full name target: bcprisme/30018_pneu_magic_mary_29x2_35_supergravity_addix_soft_tl_easy_blac.jpg
2023-10-13	13:41:52	4341	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:52	4341	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30018_pneu_magic_mary_29x2_35_supergravity_addix_soft_tl_easy_blac.jpg'
2023-10-13	13:41:52	4341	[DEBUG]	Query for Media
2023-10-13	13:41:52	4341	[DEBUG]	Executed store
2023-10-13	13:41:52	4341	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30018_pneu_magic_mary_29x2_35_supergravity_addix_soft_tl_easy_blac.jpg',`file_url_thumb`='bcprisme/30018_pneu_magic_mary_29x2_35_supergravity_addix_soft_tl_easy_blac.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382061'
2023-10-13	13:41:52	4341	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:52	4341	[DEBUG]	Executed store
2023-10-13	13:41:52	4341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863833','382061','1')
2023-10-13	13:41:52	4341	[DEBUG]	Store product image relation
2023-10-13	13:41:52	4341	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:52	4341	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863833 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:52	4341	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:52	4341	[DEBUG]	Executed store
2023-10-13	13:41:52	4341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863833','0','69.6378830083565','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:52	4341	[DEBUG]	Checking manufacturer
2023-10-13	13:41:52	4341	[DEBUG]	Load a row
2023-10-13	13:41:52	4341	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:52	4341	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:52	4341	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:52	4341	[DEBUG]	Executed store
2023-10-13	13:41:52	4341	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:52	4341	[DEBUG]	Manufacturer exists
2023-10-13	13:41:52	4341	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:52	4341	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:52	4341	[DEBUG]	Executed store
2023-10-13	13:41:52	4341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863833','25')
2023-10-13	13:41:52	4341	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:52	4341	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:52	4341	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863833 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:52	4341	[DEBUG]	Store custom available field
2023-10-13	13:41:52	4341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863833,3,'',1)
2023-10-13	13:41:52	4341	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:52	4341	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:52	4341	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863833 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:52	4341	[DEBUG]	Store custom available field
2023-10-13	13:41:52	4341	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863833,6,'Unitaire',3)
2023-10-13	13:41:52	4341	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:52	4341	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:52	4341	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863832
2023-10-13	13:41:52	4341	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:52	4341	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863832\":[1863832,8,1,\"choisir la taille\"],\"1863833\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863832
2023-10-13	13:41:52	4341	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:52	4341	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863833
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:52	4342	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field taille
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field product_override_price
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:52	4342	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:52	4342	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:52	4342	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:52	4342	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:52	4342	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:52	4342	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field published
2023-10-13	13:41:52	4342	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:52	4342	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field override
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:52	4342	[DEBUG]	Use field value for field slug
2023-10-13	13:41:52	4342	[DEBUG]	Process line 4342
2023-10-13	13:41:52	4342	[DEBUG]	Load a row
2023-10-13	13:41:52	4342	[DEBUG]	Processing item: A_5714_1
2023-10-13	13:41:52	4342	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:52	4342	[DEBUG]	Processing product tax
2023-10-13	13:41:52	4342	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:52	4342	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:52	4342	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:52	4342	[DEBUG]	Query for Product
2023-10-13	13:41:52	4342	[DEBUG]	Executed store
2023-10-13	13:41:52	4342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5714_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:52	4342	[DEBUG]	Check product language entry
2023-10-13	13:41:52	4342	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863834
2023-10-13	13:41:52	4342	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:52	4342	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5714_1' AND `virtuemart_product_id` != 1863834
2023-10-13	13:41:52	4342	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:52	4342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863834, 'A_5714_1')
2023-10-13	13:41:52	4342	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:52	4342	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rocket-ron-29-x-2-25-snake-skin-speed-54-622-tlr-addix-faltbar-copie-noir' AND `virtuemart_product_id` != 1863834
2023-10-13	13:41:52	4342	[DEBUG]	Query for ProductLang
2023-10-13	13:41:52	4342	[DEBUG]	Executed store
2023-10-13	13:41:52	4342	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.463',`product_name`='SCHWALBE PNEU ROCKET RON 29 X 2.25 SNAKE SKIN, SPEED, 54-622 TLR ADDIX FALTBAR (copie) / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rocket-ron-29-x-2-25-snake-skin-speed-54-622-tlr-addix-faltbar-copie-noir' WHERE `virtuemart_product_id` = '1863834'
2023-10-13	13:41:52	4342	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30221_pneu_schwalbe_rocket_ron_29_x_2_25_snake_skin,_speed,_54-622_tlr_addix_faltbar_(copie).jpg
2023-10-13	13:41:52	4342	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:52	4342	[DEBUG]	Process image file
2023-10-13	13:41:52	4342	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:52	4342	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:52	4342	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30221_pneu_schwalbe_rocket_ron_29_x_2_25_snake_skin,_speed,_54-622_tlr_addix_faltbar_(copie).jpg
2023-10-13	13:41:52	4342	[DEBUG]	Full name target: bcprisme/30221_pneu_schwalbe_rocket_ron_29_x_2_25_snake_skin,_speed,_54-622_tlr_addix_faltbar_(copie).jpg
2023-10-13	13:41:53	4342	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:53	4342	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30221_pneu_schwalbe_rocket_ron_29_x_2_25_snake_skin,_speed,_54-622_tlr_addix_faltbar_(copie).jpg'
2023-10-13	13:41:53	4342	[DEBUG]	Query for Media
2023-10-13	13:41:53	4342	[DEBUG]	Executed store
2023-10-13	13:41:53	4342	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30221_pneu_schwalbe_rocket_ron_29_x_2_25_snake_skin,_speed,_54-622_tlr_addix_faltbar_(copie).jpg',`file_url_thumb`='bcprisme/30221_pneu_schwalbe_rocket_ron_29_x_2_25_snake_skin,_speed,_54-622_tlr_addix_faltbar_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382063'
2023-10-13	13:41:53	4342	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:53	4342	[DEBUG]	Executed store
2023-10-13	13:41:53	4342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863834','382063','1')
2023-10-13	13:41:53	4342	[DEBUG]	Store product image relation
2023-10-13	13:41:53	4342	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:53	4342	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863834 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:53	4342	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:53	4342	[DEBUG]	Executed store
2023-10-13	13:41:53	4342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_override_price`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863834','0','64.9025069637883','-1','64.4407145605596','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:53	4342	[DEBUG]	Checking manufacturer
2023-10-13	13:41:53	4342	[DEBUG]	Load a row
2023-10-13	13:41:53	4342	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:53	4342	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:53	4342	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:53	4342	[DEBUG]	Executed store
2023-10-13	13:41:53	4342	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:53	4342	[DEBUG]	Manufacturer exists
2023-10-13	13:41:53	4342	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:53	4342	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:53	4342	[DEBUG]	Executed store
2023-10-13	13:41:53	4342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863834','25')
2023-10-13	13:41:53	4342	[DEBUG]	Find the custom field ID
2023-10-13	13:41:53	4342	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:53	4342	[DEBUG]	No custom field ID found
2023-10-13	13:41:53	4342	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:53	4342	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:53	4342	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863834 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:53	4342	[DEBUG]	Store custom available field
2023-10-13	13:41:53	4342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863834,3,'0',1)
2023-10-13	13:41:53	4342	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:53	4342	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:53	4342	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863834 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:53	4342	[DEBUG]	Store custom available field
2023-10-13	13:41:53	4342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863834,6,'choisir la taille',3)
2023-10-13	13:41:53	4342	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:53	4342	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:53	4342	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:53	4342	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:53	4342	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863834 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:53	4342	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:53	4342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863834,8,1)
2023-10-13	13:41:53	4342	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:53	4342	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863834\":[1863834,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863834
2023-10-13	13:41:53	4342	[DEBUG]	Checking category
2023-10-13	13:41:53	4342	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:53	4342	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863834
2023-10-13	13:41:53	4342	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:53	4342	[DEBUG]	Executed store
2023-10-13	13:41:53	4342	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863834','7412')
2023-10-13	13:41:53	4342	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:53	4342	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863834 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:53	4342	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:53	4342	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863834
2023-10-13	13:41:53	4343	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:53	4343	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:53	4343	[DEBUG]	Use field value for field taille
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:53	4343	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:53	4343	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:53	4343	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:53	4343	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:53	4343	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:53	4343	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:53	4343	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:53	4343	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:53	4343	[DEBUG]	Use field value for field published
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:53	4343	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field override
2023-10-13	13:41:53	4343	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:53	4343	[DEBUG]	Use field value for field slug
2023-10-13	13:41:53	4343	[DEBUG]	Process line 4343
2023-10-13	13:41:53	4343	[DEBUG]	Load a row
2023-10-13	13:41:53	4343	[DEBUG]	Processing item: 1000000086430
2023-10-13	13:41:53	4343	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:53	4343	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:53	4343	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5714_1'
2023-10-13	13:41:53	4343	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:53	4343	[DEBUG]	Processing product tax
2023-10-13	13:41:53	4343	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:53	4343	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:53	4343	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:53	4343	[DEBUG]	Query for Product
2023-10-13	13:41:53	4343	[DEBUG]	Executed store
2023-10-13	13:41:53	4343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863834','1000000086430','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:53	4343	[DEBUG]	No parent found
2023-10-13	13:41:53	4343	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863834 AND customfield_value = 'stockable'
2023-10-13	13:41:53	4343	[DEBUG]	Check product language entry
2023-10-13	13:41:53	4343	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863835
2023-10-13	13:41:53	4343	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:53	4343	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000086430' AND `virtuemart_product_id` != 1863835
2023-10-13	13:41:53	4343	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:53	4343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863835, '1000000086430')
2023-10-13	13:41:53	4343	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:53	4343	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rocket-ron-29-x-2-25-snake-skin-speed-54-622-tlr-addix-faltbar-copie-noir-unitaire' AND `virtuemart_product_id` != 1863835
2023-10-13	13:41:53	4343	[DEBUG]	Query for ProductLang
2023-10-13	13:41:53	4343	[DEBUG]	Executed store
2023-10-13	13:41:53	4343	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU ROCKET RON 29 X 2.25 SNAKE SKIN, SPEED, 54-622 TLR ADDIX FALTBAR (copie) / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rocket-ron-29-x-2-25-snake-skin-speed-54-622-tlr-addix-faltbar-copie-noir-unitaire' WHERE `virtuemart_product_id` = '1863835'
2023-10-13	13:41:53	4343	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30221_pneu_schwalbe_rocket_ron_29_x_2_25_snake_skin,_speed,_54-622_tlr_addix_faltbar_(copie).jpg
2023-10-13	13:41:53	4343	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:53	4343	[DEBUG]	Process image file
2023-10-13	13:41:53	4343	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:53	4343	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:53	4343	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30221_pneu_schwalbe_rocket_ron_29_x_2_25_snake_skin,_speed,_54-622_tlr_addix_faltbar_(copie).jpg
2023-10-13	13:41:53	4343	[DEBUG]	Full name target: bcprisme/30221_pneu_schwalbe_rocket_ron_29_x_2_25_snake_skin,_speed,_54-622_tlr_addix_faltbar_(copie).jpg
2023-10-13	13:41:54	4343	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:54	4343	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30221_pneu_schwalbe_rocket_ron_29_x_2_25_snake_skin,_speed,_54-622_tlr_addix_faltbar_(copie).jpg'
2023-10-13	13:41:54	4343	[DEBUG]	Query for Media
2023-10-13	13:41:54	4343	[DEBUG]	Executed store
2023-10-13	13:41:54	4343	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30221_pneu_schwalbe_rocket_ron_29_x_2_25_snake_skin,_speed,_54-622_tlr_addix_faltbar_(copie).jpg',`file_url_thumb`='bcprisme/30221_pneu_schwalbe_rocket_ron_29_x_2_25_snake_skin,_speed,_54-622_tlr_addix_faltbar_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382063'
2023-10-13	13:41:54	4343	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:54	4343	[DEBUG]	Executed store
2023-10-13	13:41:54	4343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863835','382063','1')
2023-10-13	13:41:54	4343	[DEBUG]	Store product image relation
2023-10-13	13:41:54	4343	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:54	4343	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863835 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:54	4343	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:54	4343	[DEBUG]	Executed store
2023-10-13	13:41:54	4343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863835','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:54	4343	[DEBUG]	Checking manufacturer
2023-10-13	13:41:54	4343	[DEBUG]	Load a row
2023-10-13	13:41:54	4343	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:54	4343	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:54	4343	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:54	4343	[DEBUG]	Executed store
2023-10-13	13:41:54	4343	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:41:54	4343	[DEBUG]	Manufacturer exists
2023-10-13	13:41:54	4343	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:41:54	4343	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:54	4343	[DEBUG]	Executed store
2023-10-13	13:41:54	4343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863835','25')
2023-10-13	13:41:54	4343	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:54	4343	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:54	4343	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863835 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:54	4343	[DEBUG]	Store custom available field
2023-10-13	13:41:54	4343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863835,3,'',1)
2023-10-13	13:41:54	4343	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:54	4343	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:54	4343	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863835 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:55	4343	[DEBUG]	Store custom available field
2023-10-13	13:41:55	4343	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863835,6,'Unitaire',3)
2023-10-13	13:41:55	4343	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:55	4343	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:55	4343	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863834
2023-10-13	13:41:55	4343	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:55	4343	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863834\":[1863834,8,1,\"choisir la taille\"],\"1863835\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863834
2023-10-13	13:41:55	4343	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:55	4343	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863835
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:55	4344	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field taille
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:55	4344	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:55	4344	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:55	4344	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:55	4344	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:55	4344	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:55	4344	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field published
2023-10-13	13:41:55	4344	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:55	4344	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field override
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:55	4344	[DEBUG]	Use field value for field slug
2023-10-13	13:41:55	4344	[DEBUG]	Process line 4344
2023-10-13	13:41:55	4344	[DEBUG]	Load a row
2023-10-13	13:41:55	4344	[DEBUG]	Processing item: A_5768_1
2023-10-13	13:41:55	4344	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:55	4344	[DEBUG]	Processing product tax
2023-10-13	13:41:55	4344	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:55	4344	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:55	4344	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:55	4344	[DEBUG]	Query for Product
2023-10-13	13:41:55	4344	[DEBUG]	Executed store
2023-10-13	13:41:55	4344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5768_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:55	4344	[DEBUG]	Check product language entry
2023-10-13	13:41:55	4344	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863836
2023-10-13	13:41:55	4344	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:55	4344	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5768_1' AND `virtuemart_product_id` != 1863836
2023-10-13	13:41:55	4344	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:55	4344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863836, 'A_5768_1')
2023-10-13	13:41:55	4344	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:55	4344	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-pneu-vittoria-saguaro-29x2-20-noir' AND `virtuemart_product_id` != 1863836
2023-10-13	13:41:55	4344	[DEBUG]	Query for ProductLang
2023-10-13	13:41:55	4344	[DEBUG]	Executed store
2023-10-13	13:41:55	4344	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.51385',`product_name`='VITTORIA PNEU Vittoria Saguaro 29x2.20   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-pneu-vittoria-saguaro-29x2-20-noir' WHERE `virtuemart_product_id` = '1863836'
2023-10-13	13:41:55	4344	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30282_pneus_vittoria_saguaro_29x2_20__.jpg
2023-10-13	13:41:55	4344	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:55	4344	[DEBUG]	Process image file
2023-10-13	13:41:55	4344	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:55	4344	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:55	4344	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30282_pneus_vittoria_saguaro_29x2_20__.jpg
2023-10-13	13:41:55	4344	[DEBUG]	Full name target: bcprisme/30282_pneus_vittoria_saguaro_29x2_20__.jpg
2023-10-13	13:41:55	4344	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:55	4344	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30282_pneus_vittoria_saguaro_29x2_20__.jpg'
2023-10-13	13:41:55	4344	[DEBUG]	Query for Media
2023-10-13	13:41:55	4344	[DEBUG]	Executed store
2023-10-13	13:41:55	4344	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30282_pneus_vittoria_saguaro_29x2_20__.jpg',`file_url_thumb`='bcprisme/30282_pneus_vittoria_saguaro_29x2_20__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16018'
2023-10-13	13:41:55	4344	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:55	4344	[DEBUG]	Executed store
2023-10-13	13:41:55	4344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863836','16018','1')
2023-10-13	13:41:56	4344	[DEBUG]	Store product image relation
2023-10-13	13:41:56	4344	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:56	4344	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863836 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:56	4344	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:56	4344	[DEBUG]	Executed store
2023-10-13	13:41:56	4344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863836','0','54.7818012999071','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:56	4344	[DEBUG]	Checking manufacturer
2023-10-13	13:41:56	4344	[DEBUG]	Load a row
2023-10-13	13:41:56	4344	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:56	4344	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:41:56	4344	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:56	4344	[DEBUG]	Executed store
2023-10-13	13:41:56	4344	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:41:56	4344	[DEBUG]	Manufacturer exists
2023-10-13	13:41:56	4344	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:41:56	4344	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:56	4344	[DEBUG]	Executed store
2023-10-13	13:41:56	4344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863836','42')
2023-10-13	13:41:56	4344	[DEBUG]	Find the custom field ID
2023-10-13	13:41:56	4344	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:56	4344	[DEBUG]	No custom field ID found
2023-10-13	13:41:56	4344	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:56	4344	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:56	4344	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863836 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:56	4344	[DEBUG]	Store custom available field
2023-10-13	13:41:56	4344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863836,3,'0',1)
2023-10-13	13:41:56	4344	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:56	4344	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:56	4344	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863836 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:56	4344	[DEBUG]	Store custom available field
2023-10-13	13:41:56	4344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863836,6,'choisir la taille',3)
2023-10-13	13:41:56	4344	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:56	4344	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:56	4344	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:56	4344	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:56	4344	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863836 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:56	4344	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:56	4344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863836,8,1)
2023-10-13	13:41:56	4344	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:56	4344	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863836\":[1863836,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863836
2023-10-13	13:41:56	4344	[DEBUG]	Checking category
2023-10-13	13:41:56	4344	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:56	4344	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863836
2023-10-13	13:41:56	4344	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:56	4344	[DEBUG]	Executed store
2023-10-13	13:41:56	4344	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863836','7412')
2023-10-13	13:41:56	4344	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:56	4344	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863836 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:56	4344	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:56	4344	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863836
2023-10-13	13:41:56	4345	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:56	4345	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:56	4345	[DEBUG]	Use field value for field taille
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:56	4345	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:56	4345	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:56	4345	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:56	4345	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:56	4345	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:56	4345	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:56	4345	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:56	4345	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:56	4345	[DEBUG]	Use field value for field published
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:56	4345	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field override
2023-10-13	13:41:56	4345	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:56	4345	[DEBUG]	Use field value for field slug
2023-10-13	13:41:56	4345	[DEBUG]	Process line 4345
2023-10-13	13:41:56	4345	[DEBUG]	Load a row
2023-10-13	13:41:56	4345	[DEBUG]	Processing item: 641740237006
2023-10-13	13:41:56	4345	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:56	4345	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:56	4345	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5768_1'
2023-10-13	13:41:56	4345	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:56	4345	[DEBUG]	Processing product tax
2023-10-13	13:41:56	4345	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:56	4345	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:56	4345	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:56	4345	[DEBUG]	Query for Product
2023-10-13	13:41:56	4345	[DEBUG]	Executed store
2023-10-13	13:41:56	4345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863836','641740237006','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:56	4345	[DEBUG]	No parent found
2023-10-13	13:41:56	4345	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863836 AND customfield_value = 'stockable'
2023-10-13	13:41:56	4345	[DEBUG]	Check product language entry
2023-10-13	13:41:56	4345	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863837
2023-10-13	13:41:56	4345	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:56	4345	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '641740237006' AND `virtuemart_product_id` != 1863837
2023-10-13	13:41:56	4345	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:56	4345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863837, '641740237006')
2023-10-13	13:41:56	4345	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:56	4345	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-pneu-vittoria-saguaro-29x2-20-noir-unitaire' AND `virtuemart_product_id` != 1863837
2023-10-13	13:41:56	4345	[DEBUG]	Query for ProductLang
2023-10-13	13:41:56	4345	[DEBUG]	Executed store
2023-10-13	13:41:56	4345	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='VITTORIA PNEU Vittoria Saguaro 29x2.20   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-pneu-vittoria-saguaro-29x2-20-noir-unitaire' WHERE `virtuemart_product_id` = '1863837'
2023-10-13	13:41:56	4345	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30282_pneus_vittoria_saguaro_29x2_20__.jpg
2023-10-13	13:41:56	4345	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:56	4345	[DEBUG]	Process image file
2023-10-13	13:41:56	4345	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:56	4345	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:56	4345	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30282_pneus_vittoria_saguaro_29x2_20__.jpg
2023-10-13	13:41:56	4345	[DEBUG]	Full name target: bcprisme/30282_pneus_vittoria_saguaro_29x2_20__.jpg
2023-10-13	13:41:57	4345	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:57	4345	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30282_pneus_vittoria_saguaro_29x2_20__.jpg'
2023-10-13	13:41:57	4345	[DEBUG]	Query for Media
2023-10-13	13:41:57	4345	[DEBUG]	Executed store
2023-10-13	13:41:57	4345	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30282_pneus_vittoria_saguaro_29x2_20__.jpg',`file_url_thumb`='bcprisme/30282_pneus_vittoria_saguaro_29x2_20__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16018'
2023-10-13	13:41:57	4345	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:57	4345	[DEBUG]	Executed store
2023-10-13	13:41:57	4345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863837','16018','1')
2023-10-13	13:41:57	4345	[DEBUG]	Store product image relation
2023-10-13	13:41:57	4345	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:57	4345	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863837 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:57	4345	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:57	4345	[DEBUG]	Executed store
2023-10-13	13:41:57	4345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863837','0','54.7818012999071','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:57	4345	[DEBUG]	Checking manufacturer
2023-10-13	13:41:57	4345	[DEBUG]	Load a row
2023-10-13	13:41:57	4345	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:57	4345	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:41:57	4345	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:57	4345	[DEBUG]	Executed store
2023-10-13	13:41:57	4345	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:41:57	4345	[DEBUG]	Manufacturer exists
2023-10-13	13:41:57	4345	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:41:57	4345	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:57	4345	[DEBUG]	Executed store
2023-10-13	13:41:57	4345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863837','42')
2023-10-13	13:41:57	4345	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:57	4345	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:57	4345	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863837 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:57	4345	[DEBUG]	Store custom available field
2023-10-13	13:41:57	4345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863837,3,'',1)
2023-10-13	13:41:57	4345	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:57	4345	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:57	4345	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863837 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:57	4345	[DEBUG]	Store custom available field
2023-10-13	13:41:57	4345	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863837,6,'Unitaire',3)
2023-10-13	13:41:57	4345	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:57	4345	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:57	4345	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863836
2023-10-13	13:41:57	4345	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:57	4345	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863836\":[1863836,8,1,\"choisir la taille\"],\"1863837\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863836
2023-10-13	13:41:57	4345	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:57	4345	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863837
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:57	4346	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field taille
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:57	4346	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:57	4346	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:57	4346	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:57	4346	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:57	4346	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:57	4346	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field published
2023-10-13	13:41:57	4346	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:57	4346	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field override
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:57	4346	[DEBUG]	Use field value for field slug
2023-10-13	13:41:57	4346	[DEBUG]	Process line 4346
2023-10-13	13:41:57	4346	[DEBUG]	Load a row
2023-10-13	13:41:57	4346	[DEBUG]	Processing item: A_5902_1
2023-10-13	13:41:57	4346	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:57	4346	[DEBUG]	Processing product tax
2023-10-13	13:41:57	4346	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:57	4346	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:57	4346	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:57	4346	[DEBUG]	Query for Product
2023-10-13	13:41:57	4346	[DEBUG]	Executed store
2023-10-13	13:41:57	4346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5902_1','0.5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:57	4346	[DEBUG]	Check product language entry
2023-10-13	13:41:57	4346	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863838
2023-10-13	13:41:57	4346	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:57	4346	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5902_1' AND `virtuemart_product_id` != 1863838
2023-10-13	13:41:57	4346	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:57	4346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863838, 'A_5902_1')
2023-10-13	13:41:57	4346	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:57	4346	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'maxxis-pneu-minion-dhr-ii-29-x-2-40-wt-120-tpi-3c-maxx-terra-exo-tr-noir' AND `virtuemart_product_id` != 1863838
2023-10-13	13:41:57	4346	[DEBUG]	Query for ProductLang
2023-10-13	13:41:57	4346	[DEBUG]	Executed store
2023-10-13	13:41:57	4346	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : MINIONDHR29240',`product_name`='MAXXIS PNEU Minion DHR II 29 x 2.40 WT 120 TPI 3C MAXX TERRA EXO+ TR / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='maxxis-pneu-minion-dhr-ii-29-x-2-40-wt-120-tpi-3c-maxx-terra-exo-tr-noir' WHERE `virtuemart_product_id` = '1863838'
2023-10-13	13:41:57	4346	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31498_pneu_maxxis_minion_dhr_27_5_x_2_60_exo_protection_tlr.jpg
2023-10-13	13:41:57	4346	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:57	4346	[DEBUG]	Process image file
2023-10-13	13:41:57	4346	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:57	4346	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:57	4346	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31498_pneu_maxxis_minion_dhr_27_5_x_2_60_exo_protection_tlr.jpg
2023-10-13	13:41:57	4346	[DEBUG]	Full name target: bcprisme/31498_pneu_maxxis_minion_dhr_27_5_x_2_60_exo_protection_tlr.jpg
2023-10-13	13:41:58	4346	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:58	4346	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31498_pneu_maxxis_minion_dhr_27_5_x_2_60_exo_protection_tlr.jpg'
2023-10-13	13:41:58	4346	[DEBUG]	Query for Media
2023-10-13	13:41:58	4346	[DEBUG]	Executed store
2023-10-13	13:41:58	4346	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31498_pneu_maxxis_minion_dhr_27_5_x_2_60_exo_protection_tlr.jpg',`file_url_thumb`='bcprisme/31498_pneu_maxxis_minion_dhr_27_5_x_2_60_exo_protection_tlr.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14520'
2023-10-13	13:41:58	4346	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:58	4346	[DEBUG]	Executed store
2023-10-13	13:41:58	4346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863838','14520','1')
2023-10-13	13:41:58	4346	[DEBUG]	Store product image relation
2023-10-13	13:41:58	4346	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:58	4346	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863838 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:58	4346	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:58	4346	[DEBUG]	Executed store
2023-10-13	13:41:58	4346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863838','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:58	4346	[DEBUG]	Checking manufacturer
2023-10-13	13:41:58	4346	[DEBUG]	Load a row
2023-10-13	13:41:58	4346	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:58	4346	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:41:58	4346	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:58	4346	[DEBUG]	Executed store
2023-10-13	13:41:58	4346	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:41:58	4346	[DEBUG]	Manufacturer exists
2023-10-13	13:41:58	4346	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:41:58	4346	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:58	4346	[DEBUG]	Executed store
2023-10-13	13:41:58	4346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863838','20')
2023-10-13	13:41:58	4346	[DEBUG]	Find the custom field ID
2023-10-13	13:41:58	4346	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:41:58	4346	[DEBUG]	No custom field ID found
2023-10-13	13:41:58	4346	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:58	4346	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:41:58	4346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863838 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:58	4346	[DEBUG]	Store custom available field
2023-10-13	13:41:58	4346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863838,3,'0',1)
2023-10-13	13:41:58	4346	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:58	4346	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:41:58	4346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863838 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:58	4346	[DEBUG]	Store custom available field
2023-10-13	13:41:58	4346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863838,6,'choisir la taille',3)
2023-10-13	13:41:58	4346	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:58	4346	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:41:58	4346	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:41:58	4346	[DEBUG]	Find the multi variant product entry
2023-10-13	13:41:58	4346	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863838 AND `virtuemart_custom_id` = 8
2023-10-13	13:41:58	4346	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:41:58	4346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863838,8,1)
2023-10-13	13:41:58	4346	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:58	4346	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863838\":[1863838,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863838
2023-10-13	13:41:58	4346	[DEBUG]	Checking category
2023-10-13	13:41:58	4346	[DEBUG]	Get the existing categories for the product
2023-10-13	13:41:58	4346	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863838
2023-10-13	13:41:58	4346	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:41:58	4346	[DEBUG]	Executed store
2023-10-13	13:41:58	4346	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863838','7412')
2023-10-13	13:41:58	4346	[DEBUG]	Delete leftover product categories
2023-10-13	13:41:58	4346	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863838 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:41:58	4346	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:58	4346	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863838
2023-10-13	13:41:58	4347	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:58	4347	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:41:58	4347	[DEBUG]	Use field value for field taille
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:41:58	4347	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field category_path
2023-10-13	13:41:58	4347	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:58	4347	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:58	4347	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:58	4347	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:41:58	4347	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field product_weight
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:58	4347	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:58	4347	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:58	4347	[DEBUG]	Use field value for field published
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field custom_title
2023-10-13	13:41:58	4347	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field custom_param
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field override
2023-10-13	13:41:58	4347	[DEBUG]	Use default value for field public_price
2023-10-13	13:41:58	4347	[DEBUG]	Use field value for field slug
2023-10-13	13:41:58	4347	[DEBUG]	Process line 4347
2023-10-13	13:41:58	4347	[DEBUG]	Load a row
2023-10-13	13:41:58	4347	[DEBUG]	Processing item: 1000000088601
2023-10-13	13:41:58	4347	[DEBUG]	Looking for parent SKU
2023-10-13	13:41:58	4347	[DEBUG]	Checking product parent SKU
2023-10-13	13:41:58	4347	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5902_1'
2023-10-13	13:41:58	4347	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:58	4347	[DEBUG]	Processing product tax
2023-10-13	13:41:58	4347	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:58	4347	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:58	4347	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:58	4347	[DEBUG]	Query for Product
2023-10-13	13:41:58	4347	[DEBUG]	Executed store
2023-10-13	13:41:58	4347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863838','1000000088601','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:58	4347	[DEBUG]	No parent found
2023-10-13	13:41:58	4347	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863838 AND customfield_value = 'stockable'
2023-10-13	13:41:58	4347	[DEBUG]	Check product language entry
2023-10-13	13:41:58	4347	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863839
2023-10-13	13:41:58	4347	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:58	4347	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000088601' AND `virtuemart_product_id` != 1863839
2023-10-13	13:41:58	4347	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:58	4347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863839, '1000000088601')
2023-10-13	13:41:58	4347	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:58	4347	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'maxxis-pneu-minion-dhr-ii-29-x-2-40-wt-120-tpi-3c-maxx-terra-exo-tr-noir-unitaire' AND `virtuemart_product_id` != 1863839
2023-10-13	13:41:58	4347	[DEBUG]	Query for ProductLang
2023-10-13	13:41:58	4347	[DEBUG]	Executed store
2023-10-13	13:41:58	4347	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAXXIS PNEU Minion DHR II 29 x 2.40 WT 120 TPI 3C MAXX TERRA EXO+ TR / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='maxxis-pneu-minion-dhr-ii-29-x-2-40-wt-120-tpi-3c-maxx-terra-exo-tr-noir-unitaire' WHERE `virtuemart_product_id` = '1863839'
2023-10-13	13:41:58	4347	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31498_pneu_maxxis_minion_dhr_27_5_x_2_60_exo_protection_tlr.jpg
2023-10-13	13:41:58	4347	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:58	4347	[DEBUG]	Process image file
2023-10-13	13:41:58	4347	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:58	4347	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:58	4347	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31498_pneu_maxxis_minion_dhr_27_5_x_2_60_exo_protection_tlr.jpg
2023-10-13	13:41:58	4347	[DEBUG]	Full name target: bcprisme/31498_pneu_maxxis_minion_dhr_27_5_x_2_60_exo_protection_tlr.jpg
2023-10-13	13:41:59	4347	[DEBUG]	Checking if the file_url exists
2023-10-13	13:41:59	4347	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31498_pneu_maxxis_minion_dhr_27_5_x_2_60_exo_protection_tlr.jpg'
2023-10-13	13:41:59	4347	[DEBUG]	Query for Media
2023-10-13	13:41:59	4347	[DEBUG]	Executed store
2023-10-13	13:41:59	4347	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31498_pneu_maxxis_minion_dhr_27_5_x_2_60_exo_protection_tlr.jpg',`file_url_thumb`='bcprisme/31498_pneu_maxxis_minion_dhr_27_5_x_2_60_exo_protection_tlr.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14520'
2023-10-13	13:41:59	4347	[DEBUG]	Query for ProductMedia
2023-10-13	13:41:59	4347	[DEBUG]	Executed store
2023-10-13	13:41:59	4347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863839','14520','1')
2023-10-13	13:41:59	4347	[DEBUG]	Store product image relation
2023-10-13	13:41:59	4347	[DEBUG]	Finding a product_price_id
2023-10-13	13:41:59	4347	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863839 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:41:59	4347	[DEBUG]	Query for ProductPrice
2023-10-13	13:41:59	4347	[DEBUG]	Executed store
2023-10-13	13:41:59	4347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863839','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:41:59	4347	[DEBUG]	Checking manufacturer
2023-10-13	13:41:59	4347	[DEBUG]	Load a row
2023-10-13	13:41:59	4347	[DEBUG]	Manufacturer already exists
2023-10-13	13:41:59	4347	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:41:59	4347	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:41:59	4347	[DEBUG]	Executed store
2023-10-13	13:41:59	4347	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:41:59	4347	[DEBUG]	Manufacturer exists
2023-10-13	13:41:59	4347	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:41:59	4347	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:41:59	4347	[DEBUG]	Executed store
2023-10-13	13:41:59	4347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863839','20')
2023-10-13	13:41:59	4347	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:41:59	4347	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:41:59	4347	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863839 AND `virtuemart_custom_id` = 3
2023-10-13	13:41:59	4347	[DEBUG]	Store custom available field
2023-10-13	13:41:59	4347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863839,3,'',1)
2023-10-13	13:41:59	4347	[DEBUG]	Processing custom available field: taille
2023-10-13	13:41:59	4347	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:41:59	4347	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863839 AND `virtuemart_custom_id` = 6
2023-10-13	13:41:59	4347	[DEBUG]	Store custom available field
2023-10-13	13:41:59	4347	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863839,6,'Unitaire',3)
2023-10-13	13:41:59	4347	[DEBUG]	Process multi-variant fields
2023-10-13	13:41:59	4347	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:41:59	4347	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863838
2023-10-13	13:41:59	4347	[DEBUG]	Store the updated customfield_params
2023-10-13	13:41:59	4347	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863838\":[1863838,8,1,\"choisir la taille\"],\"1863839\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863838
2023-10-13	13:41:59	4347	[DEBUG]	Update has fields after all processing
2023-10-13	13:41:59	4347	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863839
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field product_sku
2023-10-13	13:41:59	4348	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field taille
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field product_name
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field category_path
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field product_price
2023-10-13	13:41:59	4348	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field product_tax
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field file_url
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:41:59	4348	[DEBUG]	Use default value for field product_desc
2023-10-13	13:41:59	4348	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field product_availability
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field product_weight
2023-10-13	13:41:59	4348	[DEBUG]	Use default value for field product_unit
2023-10-13	13:41:59	4348	[DEBUG]	Use default value for field related_products
2023-10-13	13:41:59	4348	[DEBUG]	Use default value for field product_special
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field published
2023-10-13	13:41:59	4348	[DEBUG]	Use default value for field metadesc
2023-10-13	13:41:59	4348	[DEBUG]	Use default value for field metakey
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field custom_title
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field custom_value
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field custom_param
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field override
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field public_price
2023-10-13	13:41:59	4348	[DEBUG]	Use field value for field slug
2023-10-13	13:41:59	4348	[DEBUG]	Process line 4348
2023-10-13	13:41:59	4348	[DEBUG]	Load a row
2023-10-13	13:41:59	4348	[DEBUG]	Processing item: A_5918_1
2023-10-13	13:41:59	4348	[DEBUG]	Product tax: 7.7
2023-10-13	13:41:59	4348	[DEBUG]	Processing product tax
2023-10-13	13:41:59	4348	[DEBUG]	Check if calculation rule exists
2023-10-13	13:41:59	4348	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:41:59	4348	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:41:59	4348	[DEBUG]	Query for Product
2023-10-13	13:41:59	4348	[DEBUG]	Executed store
2023-10-13	13:41:59	4348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5918_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:41:59	4348	[DEBUG]	Check product language entry
2023-10-13	13:41:59	4348	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863840
2023-10-13	13:41:59	4348	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:59	4348	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5918_1' AND `virtuemart_product_id` != 1863840
2023-10-13	13:41:59	4348	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:41:59	4348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863840, 'A_5918_1')
2023-10-13	13:41:59	4348	[DEBUG]	Check if the product slug exists
2023-10-13	13:41:59	4348	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-29-x-2-20-tlr-2c-xc-race-pro-120tpi-noir' AND `virtuemart_product_id` != 1863840
2023-10-13	13:41:59	4348	[DEBUG]	Query for ProductLang
2023-10-13	13:41:59	4348	[DEBUG]	Executed store
2023-10-13	13:41:59	4348	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='770 g<br><br>-Accroche: 4/5<br><br>-Traction: 5/5<br><br>-Vitesse: 3/5<br><br>-Sol optimal: sec/mouillé<br><br>-Gomme: 62a/60a<br><br><br><br>Usage optimisé pour XC et All Mountain. Polyvalent, adapté pour terrains variés.<br><br><br><br>La zone de roulement centrale, formée de crampons carrés proéminents aux coupes verticales avec une finition rugueuse sur le dessus assurent un grip efficace sur toutes les superficies y compris glissantes. Le positionnement des crampons sur différents angles apporte de la traction dans toutes les circonstances.<br><br><br><br>La nervure verticale qui unit les crampons intermédiaires, les rend plus consistants et donne plus de stabilité au pneumatique. La zone latérale, avec ses crampons rectangulaires situés à 2 endroits distints offre une accroche plus efficace. Les rainures verticales comme horizontales apportent plus de flexibilités aux crampons qui s’adapteront plus facilement aux imperfections du terrain et une plus grande longévité des gommes.<br>N° art fourn : TRA29220TLR2CXB',`product_name`='MSC PNEU TRACTOR 29 X 2.20 TLR 2C XC RACE PRO 120TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-29-x-2-20-tlr-2c-xc-race-pro-120tpi-noir' WHERE `virtuemart_product_id` = '1863840'
2023-10-13	13:41:59	4348	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31516_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race_(copie).jpg
2023-10-13	13:41:59	4348	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:59	4348	[DEBUG]	Process image file
2023-10-13	13:41:59	4348	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:41:59	4348	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:41:59	4348	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31516_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race_(copie).jpg
2023-10-13	13:41:59	4348	[DEBUG]	Full name target: bcprisme/31516_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race_(copie).jpg
2023-10-13	13:42:00	4348	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:00	4348	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31516_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race_(copie).jpg'
2023-10-13	13:42:00	4348	[DEBUG]	Query for Media
2023-10-13	13:42:00	4348	[DEBUG]	Executed store
2023-10-13	13:42:00	4348	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31516_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race_(copie).jpg',`file_url_thumb`='bcprisme/31516_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14538'
2023-10-13	13:42:00	4348	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:00	4348	[DEBUG]	Executed store
2023-10-13	13:42:00	4348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863840','14538','1')
2023-10-13	13:42:00	4348	[DEBUG]	Store product image relation
2023-10-13	13:42:00	4348	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:00	4348	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863840 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:00	4348	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:00	4348	[DEBUG]	Executed store
2023-10-13	13:42:00	4348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863840','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:00	4348	[DEBUG]	Checking manufacturer
2023-10-13	13:42:00	4348	[DEBUG]	Load a row
2023-10-13	13:42:00	4348	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:00	4348	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:00	4348	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:00	4348	[DEBUG]	Executed store
2023-10-13	13:42:00	4348	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:00	4348	[DEBUG]	Manufacturer exists
2023-10-13	13:42:00	4348	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:00	4348	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:00	4348	[DEBUG]	Executed store
2023-10-13	13:42:00	4348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863840','32')
2023-10-13	13:42:00	4348	[DEBUG]	Find the custom field ID
2023-10-13	13:42:00	4348	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:00	4348	[DEBUG]	No custom field ID found
2023-10-13	13:42:00	4348	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:00	4348	[DEBUG]	Get existing row with customfield value 57.7391666666667
2023-10-13	13:42:00	4348	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863840 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:00	4348	[DEBUG]	Store custom available field
2023-10-13	13:42:00	4348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863840,3,'57.7391666666667',1)
2023-10-13	13:42:00	4348	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:00	4348	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:00	4348	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863840 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:00	4348	[DEBUG]	Store custom available field
2023-10-13	13:42:00	4348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863840,6,'choisir la taille',3)
2023-10-13	13:42:00	4348	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:00	4348	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:00	4348	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:00	4348	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:00	4348	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863840 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:00	4348	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:00	4348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863840,8,1)
2023-10-13	13:42:00	4348	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:00	4348	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863840\":[1863840,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863840
2023-10-13	13:42:00	4348	[DEBUG]	Checking category
2023-10-13	13:42:00	4348	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:00	4348	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863840
2023-10-13	13:42:00	4348	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:00	4348	[DEBUG]	Executed store
2023-10-13	13:42:00	4348	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863840','7412')
2023-10-13	13:42:00	4348	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:00	4348	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863840 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:00	4348	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:00	4348	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863840
2023-10-13	13:42:00	4349	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:00	4349	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:00	4349	[DEBUG]	Use field value for field taille
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:00	4349	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:00	4349	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:00	4349	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:00	4349	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:00	4349	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:00	4349	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:00	4349	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:00	4349	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:00	4349	[DEBUG]	Use field value for field published
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:00	4349	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field override
2023-10-13	13:42:00	4349	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:00	4349	[DEBUG]	Use field value for field slug
2023-10-13	13:42:00	4349	[DEBUG]	Process line 4349
2023-10-13	13:42:00	4349	[DEBUG]	Load a row
2023-10-13	13:42:00	4349	[DEBUG]	Processing item: 8435466215767
2023-10-13	13:42:00	4349	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:00	4349	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:00	4349	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5918_1'
2023-10-13	13:42:00	4349	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:00	4349	[DEBUG]	Processing product tax
2023-10-13	13:42:00	4349	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:00	4349	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:00	4349	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:00	4349	[DEBUG]	Query for Product
2023-10-13	13:42:00	4349	[DEBUG]	Executed store
2023-10-13	13:42:00	4349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863840','8435466215767','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:00	4349	[DEBUG]	No parent found
2023-10-13	13:42:00	4349	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863840 AND customfield_value = 'stockable'
2023-10-13	13:42:00	4349	[DEBUG]	Check product language entry
2023-10-13	13:42:00	4349	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863841
2023-10-13	13:42:00	4349	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:00	4349	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215767' AND `virtuemart_product_id` != 1863841
2023-10-13	13:42:00	4349	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:00	4349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863841, '8435466215767')
2023-10-13	13:42:00	4349	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:00	4349	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-29-x-2-20-tlr-2c-xc-race-pro-120tpi-noir-unitaire' AND `virtuemart_product_id` != 1863841
2023-10-13	13:42:00	4349	[DEBUG]	Query for ProductLang
2023-10-13	13:42:00	4349	[DEBUG]	Executed store
2023-10-13	13:42:00	4349	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU TRACTOR 29 X 2.20 TLR 2C XC RACE PRO 120TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-29-x-2-20-tlr-2c-xc-race-pro-120tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863841'
2023-10-13	13:42:00	4349	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31516_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race_(copie).jpg
2023-10-13	13:42:00	4349	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:00	4349	[DEBUG]	Process image file
2023-10-13	13:42:00	4349	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:00	4349	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:00	4349	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31516_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race_(copie).jpg
2023-10-13	13:42:00	4349	[DEBUG]	Full name target: bcprisme/31516_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race_(copie).jpg
2023-10-13	13:42:01	4349	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:01	4349	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31516_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race_(copie).jpg'
2023-10-13	13:42:01	4349	[DEBUG]	Query for Media
2023-10-13	13:42:01	4349	[DEBUG]	Executed store
2023-10-13	13:42:01	4349	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31516_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race_(copie).jpg',`file_url_thumb`='bcprisme/31516_tractor_29_x_2_20_tlr,_kevlar,_renfort_lateral,_120_tpi,_lateral_marron,_double_gomme_60a-50a__2c-xc_race_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14538'
2023-10-13	13:42:01	4349	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:01	4349	[DEBUG]	Executed store
2023-10-13	13:42:01	4349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863841','14538','1')
2023-10-13	13:42:01	4349	[DEBUG]	Store product image relation
2023-10-13	13:42:01	4349	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:01	4349	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863841 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:01	4349	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:01	4349	[DEBUG]	Executed store
2023-10-13	13:42:01	4349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863841','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:01	4349	[DEBUG]	Checking manufacturer
2023-10-13	13:42:01	4349	[DEBUG]	Load a row
2023-10-13	13:42:01	4349	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:01	4349	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:01	4349	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:01	4349	[DEBUG]	Executed store
2023-10-13	13:42:01	4349	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:01	4349	[DEBUG]	Manufacturer exists
2023-10-13	13:42:01	4349	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:01	4349	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:01	4349	[DEBUG]	Executed store
2023-10-13	13:42:01	4349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863841','32')
2023-10-13	13:42:01	4349	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:01	4349	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:01	4349	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863841 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:01	4349	[DEBUG]	Store custom available field
2023-10-13	13:42:01	4349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863841,3,'',1)
2023-10-13	13:42:01	4349	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:01	4349	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:01	4349	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863841 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:01	4349	[DEBUG]	Store custom available field
2023-10-13	13:42:01	4349	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863841,6,'Unitaire',3)
2023-10-13	13:42:01	4349	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:01	4349	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:01	4349	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863840
2023-10-13	13:42:01	4349	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:01	4349	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863840\":[1863840,8,1,\"choisir la taille\"],\"1863841\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863840
2023-10-13	13:42:01	4349	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:01	4349	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863841
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:01	4350	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field taille
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:01	4350	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:01	4350	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:01	4350	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:01	4350	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:01	4350	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:01	4350	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field published
2023-10-13	13:42:01	4350	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:01	4350	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field override
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:01	4350	[DEBUG]	Use field value for field slug
2023-10-13	13:42:01	4350	[DEBUG]	Process line 4350
2023-10-13	13:42:01	4350	[DEBUG]	Load a row
2023-10-13	13:42:01	4350	[DEBUG]	Processing item: A_6292_1
2023-10-13	13:42:01	4350	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:01	4350	[DEBUG]	Processing product tax
2023-10-13	13:42:01	4350	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:01	4350	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:01	4350	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:01	4350	[DEBUG]	Query for Product
2023-10-13	13:42:01	4350	[DEBUG]	Executed store
2023-10-13	13:42:01	4350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6292_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:01	4350	[DEBUG]	Check product language entry
2023-10-13	13:42:01	4350	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863842
2023-10-13	13:42:01	4350	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:01	4350	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6292_1' AND `virtuemart_product_id` != 1863842
2023-10-13	13:42:01	4350	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:01	4350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863842, 'A_6292_1')
2023-10-13	13:42:01	4350	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:01	4350	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-rock-roller-29-x-2-10-tlr-2c-xc-epic-shield-120-tpi-noir' AND `virtuemart_product_id` != 1863842
2023-10-13	13:42:01	4350	[DEBUG]	Query for ProductLang
2023-10-13	13:42:01	4350	[DEBUG]	Executed store
2023-10-13	13:42:01	4350	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='715 g<br><br><br>-Accroche: 5/5<br> -Traction: 4/5<br> -Vitesse: 5/5<br> -Sol optimal: sec/humide<br> -Gomme: 62a/60a<br> -ETRTO : 54-622<br><br><br><br><br><br>Son nom dit tout. Vitesse maximale et contrôle maximum. Comment est-ce possible?<br> La zone centrale des crampons parallèles, compacts et en forme de rampe permet de réduire le frottement au maximum pour rouler aussi vite que possible. Les crampons intermédiaires permettent une transition parfaite dans les virages et de maintenir une bonne<br> traction en tout temps, tandis que les crampons latérales surdimensionnés et arrangés avec notre célèbre design décalé donnent le Rock & Roller une adhérence en virage jamais vu sur un pneu de Xcountry/marathon.<br><br>E25<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br> électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br> certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br> plus élevées, tels que le vélo électrique.<br><br>EPIC SHIELD: <br><br>Protection de tringle à tringle pour éviter les perforations et les coupures dans<br> toutes les zones du pneu, offrant une plus grande rigidité et moins de déformation du pneu à<br> basse pression. Recommandé pour les parcours xc, marathon et par étapes.<br>N° art fourn : ROC29210TLR2CEB',`product_name`='MSC PNEU ROCK & ROLLER 29 X 2.10 TLR 2C XC EPIC SHIELD 120 TPI  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-rock-roller-29-x-2-10-tlr-2c-xc-epic-shield-120-tpi-noir' WHERE `virtuemart_product_id` = '1863842'
2023-10-13	13:42:01	4350	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32142_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_bk_120_tpi_e25_2c-xc.jpg
2023-10-13	13:42:01	4350	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:01	4350	[DEBUG]	Process image file
2023-10-13	13:42:01	4350	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:01	4350	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:01	4350	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32142_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_bk_120_tpi_e25_2c-xc.jpg
2023-10-13	13:42:01	4350	[DEBUG]	Full name target: bcprisme/32142_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_bk_120_tpi_e25_2c-xc.jpg
2023-10-13	13:42:02	4350	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:02	4350	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32142_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_bk_120_tpi_e25_2c-xc.jpg'
2023-10-13	13:42:02	4350	[DEBUG]	Query for Media
2023-10-13	13:42:02	4350	[DEBUG]	Executed store
2023-10-13	13:42:02	4350	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32142_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_bk_120_tpi_e25_2c-xc.jpg',`file_url_thumb`='bcprisme/32142_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_bk_120_tpi_e25_2c-xc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14541'
2023-10-13	13:42:02	4350	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:02	4350	[DEBUG]	Executed store
2023-10-13	13:42:02	4350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863842','14541','1')
2023-10-13	13:42:02	4350	[DEBUG]	Store product image relation
2023-10-13	13:42:02	4350	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:02	4350	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863842 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:02	4350	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:02	4350	[DEBUG]	Executed store
2023-10-13	13:42:02	4350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863842','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:02	4350	[DEBUG]	Checking manufacturer
2023-10-13	13:42:02	4350	[DEBUG]	Load a row
2023-10-13	13:42:02	4350	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:02	4350	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:02	4350	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:02	4350	[DEBUG]	Executed store
2023-10-13	13:42:02	4350	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:02	4350	[DEBUG]	Manufacturer exists
2023-10-13	13:42:02	4350	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:02	4350	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:02	4350	[DEBUG]	Executed store
2023-10-13	13:42:02	4350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863842','32')
2023-10-13	13:42:02	4350	[DEBUG]	Find the custom field ID
2023-10-13	13:42:02	4350	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:02	4350	[DEBUG]	No custom field ID found
2023-10-13	13:42:02	4350	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:02	4350	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:42:02	4350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863842 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:02	4350	[DEBUG]	Store custom available field
2023-10-13	13:42:02	4350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863842,3,'54.7475',1)
2023-10-13	13:42:02	4350	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:02	4350	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:02	4350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863842 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:02	4350	[DEBUG]	Store custom available field
2023-10-13	13:42:02	4350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863842,6,'choisir la taille',3)
2023-10-13	13:42:02	4350	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:02	4350	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:02	4350	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:02	4350	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:02	4350	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863842 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:02	4350	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:02	4350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863842,8,1)
2023-10-13	13:42:02	4350	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:02	4350	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863842\":[1863842,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863842
2023-10-13	13:42:02	4350	[DEBUG]	Checking category
2023-10-13	13:42:02	4350	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:02	4350	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863842
2023-10-13	13:42:02	4350	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:02	4350	[DEBUG]	Executed store
2023-10-13	13:42:02	4350	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863842','7412')
2023-10-13	13:42:02	4350	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:02	4350	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863842 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:02	4350	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:02	4350	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863842
2023-10-13	13:42:02	4351	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:02	4351	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:02	4351	[DEBUG]	Use field value for field taille
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:02	4351	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:02	4351	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:02	4351	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:02	4351	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:02	4351	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:02	4351	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:02	4351	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:02	4351	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:02	4351	[DEBUG]	Use field value for field published
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:02	4351	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field override
2023-10-13	13:42:02	4351	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:02	4351	[DEBUG]	Use field value for field slug
2023-10-13	13:42:02	4351	[DEBUG]	Process line 4351
2023-10-13	13:42:02	4351	[DEBUG]	Load a row
2023-10-13	13:42:02	4351	[DEBUG]	Processing item: 8435466216160
2023-10-13	13:42:02	4351	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:02	4351	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:02	4351	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6292_1'
2023-10-13	13:42:02	4351	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:02	4351	[DEBUG]	Processing product tax
2023-10-13	13:42:02	4351	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:02	4351	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:02	4351	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:02	4351	[DEBUG]	Query for Product
2023-10-13	13:42:02	4351	[DEBUG]	Executed store
2023-10-13	13:42:02	4351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863842','8435466216160','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:02	4351	[DEBUG]	No parent found
2023-10-13	13:42:02	4351	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863842 AND customfield_value = 'stockable'
2023-10-13	13:42:02	4351	[DEBUG]	Check product language entry
2023-10-13	13:42:02	4351	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863843
2023-10-13	13:42:02	4351	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:02	4351	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216160' AND `virtuemart_product_id` != 1863843
2023-10-13	13:42:02	4351	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:02	4351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863843, '8435466216160')
2023-10-13	13:42:02	4351	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:02	4351	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-rock-roller-29-x-2-10-tlr-2c-xc-epic-shield-120-tpi-noir-unitaire' AND `virtuemart_product_id` != 1863843
2023-10-13	13:42:02	4351	[DEBUG]	Query for ProductLang
2023-10-13	13:42:02	4351	[DEBUG]	Executed store
2023-10-13	13:42:02	4351	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROCK & ROLLER 29 X 2.10 TLR 2C XC EPIC SHIELD 120 TPI  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-rock-roller-29-x-2-10-tlr-2c-xc-epic-shield-120-tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863843'
2023-10-13	13:42:02	4351	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32142_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_bk_120_tpi_e25_2c-xc.jpg
2023-10-13	13:42:02	4351	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:02	4351	[DEBUG]	Process image file
2023-10-13	13:42:02	4351	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:02	4351	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:02	4351	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32142_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_bk_120_tpi_e25_2c-xc.jpg
2023-10-13	13:42:02	4351	[DEBUG]	Full name target: bcprisme/32142_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_bk_120_tpi_e25_2c-xc.jpg
2023-10-13	13:42:03	4351	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:03	4351	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32142_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_bk_120_tpi_e25_2c-xc.jpg'
2023-10-13	13:42:03	4351	[DEBUG]	Query for Media
2023-10-13	13:42:03	4351	[DEBUG]	Executed store
2023-10-13	13:42:03	4351	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32142_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_bk_120_tpi_e25_2c-xc.jpg',`file_url_thumb`='bcprisme/32142_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_bk_120_tpi_e25_2c-xc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14541'
2023-10-13	13:42:03	4351	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:03	4351	[DEBUG]	Executed store
2023-10-13	13:42:03	4351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863843','14541','1')
2023-10-13	13:42:03	4351	[DEBUG]	Store product image relation
2023-10-13	13:42:03	4351	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:03	4351	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863843 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:03	4351	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:03	4351	[DEBUG]	Executed store
2023-10-13	13:42:03	4351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863843','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:03	4351	[DEBUG]	Checking manufacturer
2023-10-13	13:42:03	4351	[DEBUG]	Load a row
2023-10-13	13:42:03	4351	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:03	4351	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:03	4351	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:03	4351	[DEBUG]	Executed store
2023-10-13	13:42:03	4351	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:03	4351	[DEBUG]	Manufacturer exists
2023-10-13	13:42:03	4351	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:03	4351	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:03	4351	[DEBUG]	Executed store
2023-10-13	13:42:03	4351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863843','32')
2023-10-13	13:42:03	4351	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:03	4351	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:03	4351	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863843 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:03	4351	[DEBUG]	Store custom available field
2023-10-13	13:42:03	4351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863843,3,'',1)
2023-10-13	13:42:03	4351	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:03	4351	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:03	4351	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863843 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:03	4351	[DEBUG]	Store custom available field
2023-10-13	13:42:03	4351	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863843,6,'Unitaire',3)
2023-10-13	13:42:03	4351	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:03	4351	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:03	4351	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863842
2023-10-13	13:42:03	4351	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:03	4351	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863842\":[1863842,8,1,\"choisir la taille\"],\"1863843\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863842
2023-10-13	13:42:03	4351	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:03	4351	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863843
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:03	4352	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field taille
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:03	4352	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:03	4352	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:03	4352	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:03	4352	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:03	4352	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:03	4352	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field published
2023-10-13	13:42:03	4352	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:03	4352	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field override
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:03	4352	[DEBUG]	Use field value for field slug
2023-10-13	13:42:03	4352	[DEBUG]	Process line 4352
2023-10-13	13:42:03	4352	[DEBUG]	Load a row
2023-10-13	13:42:03	4352	[DEBUG]	Processing item: A_6293_1
2023-10-13	13:42:03	4352	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:03	4352	[DEBUG]	Processing product tax
2023-10-13	13:42:03	4352	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:03	4352	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:03	4352	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:03	4352	[DEBUG]	Query for Product
2023-10-13	13:42:03	4352	[DEBUG]	Executed store
2023-10-13	13:42:03	4352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6293_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:03	4352	[DEBUG]	Check product language entry
2023-10-13	13:42:03	4352	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863844
2023-10-13	13:42:03	4352	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:03	4352	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6293_1' AND `virtuemart_product_id` != 1863844
2023-10-13	13:42:03	4352	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:03	4352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863844, 'A_6293_1')
2023-10-13	13:42:03	4352	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:03	4352	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-rock-roller-29-x-2-10-tlr-2c-xc-pro-shield-60tpi-noir' AND `virtuemart_product_id` != 1863844
2023-10-13	13:42:03	4352	[DEBUG]	Query for ProductLang
2023-10-13	13:42:03	4352	[DEBUG]	Executed store
2023-10-13	13:42:03	4352	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='800 g<br><br>-Accroche: 5/5<br> -Traction: 4/5<br> -Vitesse: 5/5<br> -Sol optimal: sec/humide<br> -Gomme: 62a/60a<br> -ETRTO : 54-622<br><br>Son nom dit tout. Vitesse maximale et contrôle maximum. Comment est-ce possible?<br><br>La zone centrale des crampons parallèles, compacts et en forme de rampe permet de réduire le frottement au maximum pour rouler aussi vite que possible. Les crampons intermédiaires permettent une transition parfaite dans les virages et de maintenir une bonne<br><br>traction en tout temps, tandis que les crampons latérales surdimensionnés et arrangés avec notre célèbre design décalé donnent le Rock & Roller une adhérence en virage jamais vu sur un pneu de Xcountry/marathon.<br>N° art fourn : ROC29210TLR2C',`product_name`='MSC PNEU ROCK & ROLLER 29 X 2.10 TLR 2C XC PRO SHIELD 60TPI   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-rock-roller-29-x-2-10-tlr-2c-xc-pro-shield-60tpi-noir' WHERE `virtuemart_product_id` = '1863844'
2023-10-13	13:42:03	4352	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32143_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_pro_shield_bk_60_tpi__2c-xc.jpg
2023-10-13	13:42:03	4352	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:03	4352	[DEBUG]	Process image file
2023-10-13	13:42:03	4352	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:03	4352	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:03	4352	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32143_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_pro_shield_bk_60_tpi__2c-xc.jpg
2023-10-13	13:42:03	4352	[DEBUG]	Full name target: bcprisme/32143_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_pro_shield_bk_60_tpi__2c-xc.jpg
2023-10-13	13:42:04	4352	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:04	4352	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32143_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_pro_shield_bk_60_tpi__2c-xc.jpg'
2023-10-13	13:42:04	4352	[DEBUG]	Query for Media
2023-10-13	13:42:04	4352	[DEBUG]	Executed store
2023-10-13	13:42:04	4352	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32143_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_pro_shield_bk_60_tpi__2c-xc.jpg',`file_url_thumb`='bcprisme/32143_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_pro_shield_bk_60_tpi__2c-xc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14542'
2023-10-13	13:42:04	4352	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:04	4352	[DEBUG]	Executed store
2023-10-13	13:42:04	4352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863844','14542','1')
2023-10-13	13:42:04	4352	[DEBUG]	Store product image relation
2023-10-13	13:42:04	4352	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:04	4352	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863844 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:04	4352	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:04	4352	[DEBUG]	Executed store
2023-10-13	13:42:04	4352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863844','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:04	4352	[DEBUG]	Checking manufacturer
2023-10-13	13:42:04	4352	[DEBUG]	Load a row
2023-10-13	13:42:04	4352	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:04	4352	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:04	4352	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:04	4352	[DEBUG]	Executed store
2023-10-13	13:42:04	4352	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:04	4352	[DEBUG]	Manufacturer exists
2023-10-13	13:42:04	4352	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:04	4352	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:04	4352	[DEBUG]	Executed store
2023-10-13	13:42:04	4352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863844','32')
2023-10-13	13:42:04	4352	[DEBUG]	Find the custom field ID
2023-10-13	13:42:04	4352	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:04	4352	[DEBUG]	No custom field ID found
2023-10-13	13:42:04	4352	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:04	4352	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:42:04	4352	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863844 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:04	4352	[DEBUG]	Store custom available field
2023-10-13	13:42:04	4352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863844,3,'54.7475',1)
2023-10-13	13:42:04	4352	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:04	4352	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:04	4352	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863844 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:04	4352	[DEBUG]	Store custom available field
2023-10-13	13:42:04	4352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863844,6,'choisir la taille',3)
2023-10-13	13:42:04	4352	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:04	4352	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:04	4352	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:04	4352	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:04	4352	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863844 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:04	4352	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:04	4352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863844,8,1)
2023-10-13	13:42:04	4352	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:04	4352	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863844\":[1863844,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863844
2023-10-13	13:42:04	4352	[DEBUG]	Checking category
2023-10-13	13:42:04	4352	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:04	4352	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863844
2023-10-13	13:42:04	4352	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:04	4352	[DEBUG]	Executed store
2023-10-13	13:42:04	4352	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863844','7412')
2023-10-13	13:42:04	4352	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:04	4352	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863844 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:04	4352	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:04	4352	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863844
2023-10-13	13:42:04	4353	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:04	4353	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:04	4353	[DEBUG]	Use field value for field taille
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:04	4353	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:04	4353	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:04	4353	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:04	4353	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:04	4353	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:04	4353	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:04	4353	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:04	4353	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:04	4353	[DEBUG]	Use field value for field published
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:04	4353	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field override
2023-10-13	13:42:04	4353	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:04	4353	[DEBUG]	Use field value for field slug
2023-10-13	13:42:04	4353	[DEBUG]	Process line 4353
2023-10-13	13:42:04	4353	[DEBUG]	Load a row
2023-10-13	13:42:04	4353	[DEBUG]	Processing item: 8435466216146
2023-10-13	13:42:04	4353	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:04	4353	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:04	4353	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6293_1'
2023-10-13	13:42:04	4353	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:04	4353	[DEBUG]	Processing product tax
2023-10-13	13:42:04	4353	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:04	4353	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:04	4353	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:04	4353	[DEBUG]	Query for Product
2023-10-13	13:42:04	4353	[DEBUG]	Executed store
2023-10-13	13:42:04	4353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863844','8435466216146','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:04	4353	[DEBUG]	No parent found
2023-10-13	13:42:04	4353	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863844 AND customfield_value = 'stockable'
2023-10-13	13:42:04	4353	[DEBUG]	Check product language entry
2023-10-13	13:42:04	4353	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863845
2023-10-13	13:42:04	4353	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:04	4353	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216146' AND `virtuemart_product_id` != 1863845
2023-10-13	13:42:04	4353	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:04	4353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863845, '8435466216146')
2023-10-13	13:42:04	4353	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:04	4353	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-rock-roller-29-x-2-10-tlr-2c-xc-pro-shield-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863845
2023-10-13	13:42:04	4353	[DEBUG]	Query for ProductLang
2023-10-13	13:42:04	4353	[DEBUG]	Executed store
2023-10-13	13:42:04	4353	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROCK & ROLLER 29 X 2.10 TLR 2C XC PRO SHIELD 60TPI   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-rock-roller-29-x-2-10-tlr-2c-xc-pro-shield-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863845'
2023-10-13	13:42:04	4353	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32143_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_pro_shield_bk_60_tpi__2c-xc.jpg
2023-10-13	13:42:04	4353	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:04	4353	[DEBUG]	Process image file
2023-10-13	13:42:04	4353	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:04	4353	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:04	4353	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32143_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_pro_shield_bk_60_tpi__2c-xc.jpg
2023-10-13	13:42:04	4353	[DEBUG]	Full name target: bcprisme/32143_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_pro_shield_bk_60_tpi__2c-xc.jpg
2023-10-13	13:42:05	4353	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:05	4353	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32143_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_pro_shield_bk_60_tpi__2c-xc.jpg'
2023-10-13	13:42:05	4353	[DEBUG]	Query for Media
2023-10-13	13:42:05	4353	[DEBUG]	Executed store
2023-10-13	13:42:05	4353	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32143_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_pro_shield_bk_60_tpi__2c-xc.jpg',`file_url_thumb`='bcprisme/32143_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_pro_shield_bk_60_tpi__2c-xc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14542'
2023-10-13	13:42:05	4353	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:05	4353	[DEBUG]	Executed store
2023-10-13	13:42:05	4353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863845','14542','1')
2023-10-13	13:42:05	4353	[DEBUG]	Store product image relation
2023-10-13	13:42:05	4353	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:05	4353	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863845 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:05	4353	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:05	4353	[DEBUG]	Executed store
2023-10-13	13:42:05	4353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863845','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:05	4353	[DEBUG]	Checking manufacturer
2023-10-13	13:42:05	4353	[DEBUG]	Load a row
2023-10-13	13:42:05	4353	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:05	4353	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:05	4353	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:05	4353	[DEBUG]	Executed store
2023-10-13	13:42:05	4353	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:05	4353	[DEBUG]	Manufacturer exists
2023-10-13	13:42:05	4353	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:05	4353	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:05	4353	[DEBUG]	Executed store
2023-10-13	13:42:05	4353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863845','32')
2023-10-13	13:42:05	4353	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:05	4353	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:05	4353	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863845 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:05	4353	[DEBUG]	Store custom available field
2023-10-13	13:42:05	4353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863845,3,'',1)
2023-10-13	13:42:05	4353	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:05	4353	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:05	4353	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863845 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:05	4353	[DEBUG]	Store custom available field
2023-10-13	13:42:05	4353	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863845,6,'Unitaire',3)
2023-10-13	13:42:05	4353	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:05	4353	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:05	4353	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863844
2023-10-13	13:42:05	4353	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:05	4353	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863844\":[1863844,8,1,\"choisir la taille\"],\"1863845\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863844
2023-10-13	13:42:05	4353	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:05	4353	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863845
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:05	4354	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field taille
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:05	4354	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:05	4354	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:05	4354	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:05	4354	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:05	4354	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:05	4354	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field published
2023-10-13	13:42:05	4354	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:05	4354	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field override
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:05	4354	[DEBUG]	Use field value for field slug
2023-10-13	13:42:05	4354	[DEBUG]	Process line 4354
2023-10-13	13:42:05	4354	[DEBUG]	Load a row
2023-10-13	13:42:05	4354	[DEBUG]	Processing item: A_6294_248
2023-10-13	13:42:05	4354	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:05	4354	[DEBUG]	Processing product tax
2023-10-13	13:42:05	4354	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:05	4354	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:05	4354	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:05	4354	[DEBUG]	Query for Product
2023-10-13	13:42:05	4354	[DEBUG]	Executed store
2023-10-13	13:42:05	4354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6294_248','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:05	4354	[DEBUG]	Check product language entry
2023-10-13	13:42:05	4354	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863846
2023-10-13	13:42:05	4354	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:05	4354	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6294_248' AND `virtuemart_product_id` != 1863846
2023-10-13	13:42:05	4354	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:05	4354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863846, 'A_6294_248')
2023-10-13	13:42:05	4354	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:05	4354	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-rock-roller-29-x-2-10-tlr-2c-xc-epic-shield-120tpi-noir-brun' AND `virtuemart_product_id` != 1863846
2023-10-13	13:42:05	4354	[DEBUG]	Query for ProductLang
2023-10-13	13:42:05	4354	[DEBUG]	Executed store
2023-10-13	13:42:05	4354	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='715 g<br><br>-Accroche: 5/5<br> -Traction: 4/5<br> -Vitesse: 5/5<br> -Sol optimal: sec/humide<br> -Gomme: 62a/60a<br> -ETRTO : 54-622<br><br>Son nom dit tout. Vitesse maximale et contrôle maximum. Comment est-ce possible?<br><br>La zone centrale des crampons parallèles, compacts et en forme de rampe permet de réduire le frottement au maximum pour rouler aussi vite que possible. Les crampons intermédiaires permettent une transition parfaite dans les virages et de maintenir une bonne<br><br>traction en tout temps, tandis que les crampons latérales surdimensionnés et arrangés avec notre célèbre design décalé donnent le Rock & Roller une adhérence en virage jamais vu sur un pneu de Xcountry/marathon.<br><br>E25<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br> électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br> certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br> plus élevées, tels que le vélo électrique.<br><br>EPIC SHIELD: <br><br>Protection de tringle à tringle pour éviter les perforations et les coupures dans<br> toutes les zones du pneu, offrant une plus grande rigidité et moins de déformation du pneu à<br> basse pression. Recommandé pour les parcours xc, marathon et par étapes.<br>N° art fourn : ROC29210TLR2CE',`product_name`='MSC PNEU ROCK & ROLLER 29 X 2.10 TLR 2C XC EPIC SHIELD 120TPI / NOIR/BRUN',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-rock-roller-29-x-2-10-tlr-2c-xc-epic-shield-120tpi-noir-brun' WHERE `virtuemart_product_id` = '1863846'
2023-10-13	13:42:05	4354	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32144_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_brown_120_tpi_e25__2c-xc.jpg
2023-10-13	13:42:05	4354	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:05	4354	[DEBUG]	Process image file
2023-10-13	13:42:05	4354	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:05	4354	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:05	4354	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32144_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_brown_120_tpi_e25__2c-xc.jpg
2023-10-13	13:42:05	4354	[DEBUG]	Full name target: bcprisme/32144_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_brown_120_tpi_e25__2c-xc.jpg
2023-10-13	13:42:06	4354	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:06	4354	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32144_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_brown_120_tpi_e25__2c-xc.jpg'
2023-10-13	13:42:06	4354	[DEBUG]	Query for Media
2023-10-13	13:42:06	4354	[DEBUG]	Executed store
2023-10-13	13:42:06	4354	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32144_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_brown_120_tpi_e25__2c-xc.jpg',`file_url_thumb`='bcprisme/32144_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_brown_120_tpi_e25__2c-xc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14543'
2023-10-13	13:42:06	4354	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:06	4354	[DEBUG]	Executed store
2023-10-13	13:42:06	4354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863846','14543','1')
2023-10-13	13:42:06	4354	[DEBUG]	Store product image relation
2023-10-13	13:42:06	4354	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:06	4354	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863846 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:06	4354	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:06	4354	[DEBUG]	Executed store
2023-10-13	13:42:06	4354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863846','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:06	4354	[DEBUG]	Checking manufacturer
2023-10-13	13:42:06	4354	[DEBUG]	Load a row
2023-10-13	13:42:06	4354	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:06	4354	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:06	4354	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:06	4354	[DEBUG]	Executed store
2023-10-13	13:42:06	4354	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:06	4354	[DEBUG]	Manufacturer exists
2023-10-13	13:42:06	4354	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:06	4354	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:06	4354	[DEBUG]	Executed store
2023-10-13	13:42:06	4354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863846','32')
2023-10-13	13:42:06	4354	[DEBUG]	Find the custom field ID
2023-10-13	13:42:06	4354	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:06	4354	[DEBUG]	No custom field ID found
2023-10-13	13:42:06	4354	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:06	4354	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:42:06	4354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863846 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:06	4354	[DEBUG]	Store custom available field
2023-10-13	13:42:06	4354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863846,3,'54.7475',1)
2023-10-13	13:42:06	4354	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:06	4354	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:06	4354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863846 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:06	4354	[DEBUG]	Store custom available field
2023-10-13	13:42:06	4354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863846,6,'choisir la taille',3)
2023-10-13	13:42:06	4354	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:06	4354	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:06	4354	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:06	4354	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:06	4354	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863846 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:06	4354	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:06	4354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863846,8,1)
2023-10-13	13:42:06	4354	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:06	4354	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863846\":[1863846,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863846
2023-10-13	13:42:06	4354	[DEBUG]	Checking category
2023-10-13	13:42:06	4354	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:06	4354	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863846
2023-10-13	13:42:06	4354	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:06	4354	[DEBUG]	Executed store
2023-10-13	13:42:06	4354	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863846','7412')
2023-10-13	13:42:06	4354	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:06	4354	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863846 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:06	4354	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:06	4354	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863846
2023-10-13	13:42:06	4355	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:06	4355	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:06	4355	[DEBUG]	Use field value for field taille
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:06	4355	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:06	4355	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:06	4355	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:06	4355	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:06	4355	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:06	4355	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:06	4355	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:06	4355	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:06	4355	[DEBUG]	Use field value for field published
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:06	4355	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field override
2023-10-13	13:42:06	4355	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:06	4355	[DEBUG]	Use field value for field slug
2023-10-13	13:42:06	4355	[DEBUG]	Process line 4355
2023-10-13	13:42:06	4355	[DEBUG]	Load a row
2023-10-13	13:42:06	4355	[DEBUG]	Processing item: 8435466216153
2023-10-13	13:42:06	4355	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:06	4355	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:06	4355	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6294_248'
2023-10-13	13:42:06	4355	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:06	4355	[DEBUG]	Processing product tax
2023-10-13	13:42:06	4355	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:06	4355	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:06	4355	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:06	4355	[DEBUG]	Query for Product
2023-10-13	13:42:06	4355	[DEBUG]	Executed store
2023-10-13	13:42:06	4355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863846','8435466216153','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:06	4355	[DEBUG]	No parent found
2023-10-13	13:42:06	4355	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863846 AND customfield_value = 'stockable'
2023-10-13	13:42:06	4355	[DEBUG]	Check product language entry
2023-10-13	13:42:06	4355	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863847
2023-10-13	13:42:06	4355	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:06	4355	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216153' AND `virtuemart_product_id` != 1863847
2023-10-13	13:42:06	4355	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:06	4355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863847, '8435466216153')
2023-10-13	13:42:06	4355	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:06	4355	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-rock-roller-29-x-2-10-tlr-2c-xc-epic-shield-120tpi-noir-brun-unitaire' AND `virtuemart_product_id` != 1863847
2023-10-13	13:42:06	4355	[DEBUG]	Query for ProductLang
2023-10-13	13:42:06	4355	[DEBUG]	Executed store
2023-10-13	13:42:06	4355	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROCK & ROLLER 29 X 2.10 TLR 2C XC EPIC SHIELD 120TPI / NOIR/BRUN (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-rock-roller-29-x-2-10-tlr-2c-xc-epic-shield-120tpi-noir-brun-unitaire' WHERE `virtuemart_product_id` = '1863847'
2023-10-13	13:42:06	4355	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32144_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_brown_120_tpi_e25__2c-xc.jpg
2023-10-13	13:42:06	4355	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:06	4355	[DEBUG]	Process image file
2023-10-13	13:42:06	4355	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:06	4355	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:06	4355	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32144_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_brown_120_tpi_e25__2c-xc.jpg
2023-10-13	13:42:06	4355	[DEBUG]	Full name target: bcprisme/32144_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_brown_120_tpi_e25__2c-xc.jpg
2023-10-13	13:42:07	4355	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:07	4355	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32144_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_brown_120_tpi_e25__2c-xc.jpg'
2023-10-13	13:42:07	4355	[DEBUG]	Query for Media
2023-10-13	13:42:07	4355	[DEBUG]	Executed store
2023-10-13	13:42:07	4355	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32144_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_brown_120_tpi_e25__2c-xc.jpg',`file_url_thumb`='bcprisme/32144_rock_&_roller_29_x_2_10_tlr_2c_62a-60a_epic_shield_brown_120_tpi_e25__2c-xc.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14543'
2023-10-13	13:42:07	4355	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:07	4355	[DEBUG]	Executed store
2023-10-13	13:42:07	4355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863847','14543','1')
2023-10-13	13:42:07	4355	[DEBUG]	Store product image relation
2023-10-13	13:42:07	4355	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:07	4355	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863847 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:07	4355	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:07	4355	[DEBUG]	Executed store
2023-10-13	13:42:07	4355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863847','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:07	4355	[DEBUG]	Checking manufacturer
2023-10-13	13:42:07	4355	[DEBUG]	Load a row
2023-10-13	13:42:07	4355	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:07	4355	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:07	4355	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:07	4355	[DEBUG]	Executed store
2023-10-13	13:42:07	4355	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:07	4355	[DEBUG]	Manufacturer exists
2023-10-13	13:42:07	4355	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:07	4355	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:07	4355	[DEBUG]	Executed store
2023-10-13	13:42:07	4355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863847','32')
2023-10-13	13:42:07	4355	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:07	4355	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:07	4355	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863847 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:07	4355	[DEBUG]	Store custom available field
2023-10-13	13:42:07	4355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863847,3,'',1)
2023-10-13	13:42:07	4355	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:07	4355	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:07	4355	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863847 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:07	4355	[DEBUG]	Store custom available field
2023-10-13	13:42:07	4355	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863847,6,'Unitaire',3)
2023-10-13	13:42:07	4355	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:07	4355	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:07	4355	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863846
2023-10-13	13:42:07	4355	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:07	4355	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863846\":[1863846,8,1,\"choisir la taille\"],\"1863847\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863846
2023-10-13	13:42:07	4355	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:07	4355	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863847
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:07	4356	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field taille
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:07	4356	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:07	4356	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:07	4356	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:07	4356	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:07	4356	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:07	4356	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field published
2023-10-13	13:42:07	4356	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:07	4356	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field override
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:07	4356	[DEBUG]	Use field value for field slug
2023-10-13	13:42:07	4356	[DEBUG]	Process line 4356
2023-10-13	13:42:07	4356	[DEBUG]	Load a row
2023-10-13	13:42:07	4356	[DEBUG]	Processing item: A_6608_172
2023-10-13	13:42:07	4356	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:07	4356	[DEBUG]	Processing product tax
2023-10-13	13:42:07	4356	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:07	4356	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:07	4356	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:07	4356	[DEBUG]	Query for Product
2023-10-13	13:42:07	4356	[DEBUG]	Executed store
2023-10-13	13:42:07	4356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6608_172','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:07	4356	[DEBUG]	Check product language entry
2023-10-13	13:42:07	4356	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863848
2023-10-13	13:42:07	4356	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:07	4356	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6608_172' AND `virtuemart_product_id` != 1863848
2023-10-13	13:42:07	4356	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:07	4356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863848, 'A_6608_172')
2023-10-13	13:42:07	4356	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:07	4356	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-29-x-2-30-tlr-2c-dh-sup-60tpi-skinwall-noir-marron' AND `virtuemart_product_id` != 1863848
2023-10-13	13:42:07	4356	[DEBUG]	Query for ProductLang
2023-10-13	13:42:07	4356	[DEBUG]	Executed store
2023-10-13	13:42:07	4356	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1095 g<br><br>-Accroche: 5/5<br> -Traction: 4/5<br> -Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br> -Gomme: 56a/50a<br> -ETRTO 58-622<br>-2.30 – same to 2.40 between knobs/ebike friendly<br><br>Idéal pour l’Enduro et la DH. Contrôle parfait sur terrains détériorés, meubles et humides.<br><br>Ses 4 rangés de crampons hauts et larges taillés perpendiculairement garantissent une adhérence et un contrôle extraordinaire lors de freinages brusques, même dans les situations de pilotages les plus agressives. Capable d’affronter férocement des courbes prononcées et de dévorer tous les types de terrains.<br><br>Un crampon sur deux de La zone de centrale sont équipés d’une rampe afin de diminuer la résistance au roulement. Les crampons latéraux, dotés d’entailles verticales et d’encoches, sont placés sur 2 niveaux pour assurer une accroche parfaite lors de passage en courbe, sur pierres et racines. <br>N° art fourn : GRI29230TLR2CT',`product_name`='MSC PNEU GRIPPER 29 X 2.30 TLR 2C DH SUP 60TPI SKINWALL / NOIR-MARRON',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-29-x-2-30-tlr-2c-dh-sup-60tpi-skinwall-noir-marron' WHERE `virtuemart_product_id` = '1863848'
2023-10-13	13:42:07	4356	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32495__gripper_29_x_2_30_tlr_2c_dh,_renfort_lateral,_60_tpi,_skinwall_brown,_double_gomme_62a-60a_2c_dh_super_shield.jpg
2023-10-13	13:42:07	4356	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:07	4356	[DEBUG]	Process image file
2023-10-13	13:42:07	4356	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:07	4356	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:07	4356	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32495__gripper_29_x_2_30_tlr_2c_dh,_renfort_lateral,_60_tpi,_skinwall_brown,_double_gomme_62a-60a_2c_dh_super_shield.jpg
2023-10-13	13:42:07	4356	[DEBUG]	Full name target: bcprisme/32495__gripper_29_x_2_30_tlr_2c_dh,_renfort_lateral,_60_tpi,_skinwall_brown,_double_gomme_62a-60a_2c_dh_super_shield.jpg
2023-10-13	13:42:08	4356	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:08	4356	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32495__gripper_29_x_2_30_tlr_2c_dh,_renfort_lateral,_60_tpi,_skinwall_brown,_double_gomme_62a-60a_2c_dh_super_shield.jpg'
2023-10-13	13:42:08	4356	[DEBUG]	Query for Media
2023-10-13	13:42:08	4356	[DEBUG]	Executed store
2023-10-13	13:42:08	4356	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32495__gripper_29_x_2_30_tlr_2c_dh,_renfort_lateral,_60_tpi,_skinwall_brown,_double_gomme_62a-60a_2c_dh_super_shield.jpg',`file_url_thumb`='bcprisme/32495__gripper_29_x_2_30_tlr_2c_dh,_renfort_lateral,_60_tpi,_skinwall_brown,_double_gomme_62a-60a_2c_dh_super_shield.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14544'
2023-10-13	13:42:08	4356	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:08	4356	[DEBUG]	Executed store
2023-10-13	13:42:08	4356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863848','14544','1')
2023-10-13	13:42:08	4356	[DEBUG]	Store product image relation
2023-10-13	13:42:08	4356	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:08	4356	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863848 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:08	4356	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:08	4356	[DEBUG]	Executed store
2023-10-13	13:42:08	4356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863848','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:08	4356	[DEBUG]	Checking manufacturer
2023-10-13	13:42:08	4356	[DEBUG]	Load a row
2023-10-13	13:42:08	4356	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:08	4356	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:08	4356	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:08	4356	[DEBUG]	Executed store
2023-10-13	13:42:08	4356	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:08	4356	[DEBUG]	Manufacturer exists
2023-10-13	13:42:08	4356	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:08	4356	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:08	4356	[DEBUG]	Executed store
2023-10-13	13:42:08	4356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863848','32')
2023-10-13	13:42:08	4356	[DEBUG]	Find the custom field ID
2023-10-13	13:42:08	4356	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:08	4356	[DEBUG]	No custom field ID found
2023-10-13	13:42:08	4356	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:08	4356	[DEBUG]	Get existing row with customfield value 48.7641666666667
2023-10-13	13:42:08	4356	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863848 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:08	4356	[DEBUG]	Store custom available field
2023-10-13	13:42:08	4356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863848,3,'48.7641666666667',1)
2023-10-13	13:42:08	4356	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:08	4356	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:08	4356	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863848 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:08	4356	[DEBUG]	Store custom available field
2023-10-13	13:42:08	4356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863848,6,'choisir la taille',3)
2023-10-13	13:42:08	4356	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:08	4356	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:08	4356	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:08	4356	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:08	4356	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863848 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:08	4356	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:08	4356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863848,8,1)
2023-10-13	13:42:08	4356	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:08	4356	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863848\":[1863848,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863848
2023-10-13	13:42:08	4356	[DEBUG]	Checking category
2023-10-13	13:42:08	4356	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:08	4356	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863848
2023-10-13	13:42:08	4356	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:08	4356	[DEBUG]	Executed store
2023-10-13	13:42:08	4356	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863848','7412')
2023-10-13	13:42:08	4356	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:08	4356	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863848 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:08	4356	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:08	4356	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863848
2023-10-13	13:42:08	4357	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:08	4357	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:08	4357	[DEBUG]	Use field value for field taille
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:08	4357	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:08	4357	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:08	4357	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:08	4357	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:08	4357	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:08	4357	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:08	4357	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:08	4357	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:08	4357	[DEBUG]	Use field value for field published
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:08	4357	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field override
2023-10-13	13:42:08	4357	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:08	4357	[DEBUG]	Use field value for field slug
2023-10-13	13:42:08	4357	[DEBUG]	Process line 4357
2023-10-13	13:42:08	4357	[DEBUG]	Load a row
2023-10-13	13:42:08	4357	[DEBUG]	Processing item: 8435466216009
2023-10-13	13:42:08	4357	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:08	4357	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:08	4357	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6608_172'
2023-10-13	13:42:08	4357	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:08	4357	[DEBUG]	Processing product tax
2023-10-13	13:42:08	4357	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:08	4357	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:08	4357	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:08	4357	[DEBUG]	Query for Product
2023-10-13	13:42:08	4357	[DEBUG]	Executed store
2023-10-13	13:42:08	4357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863848','8435466216009','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:08	4357	[DEBUG]	No parent found
2023-10-13	13:42:08	4357	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863848 AND customfield_value = 'stockable'
2023-10-13	13:42:08	4357	[DEBUG]	Check product language entry
2023-10-13	13:42:08	4357	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863849
2023-10-13	13:42:08	4357	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:08	4357	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216009' AND `virtuemart_product_id` != 1863849
2023-10-13	13:42:08	4357	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:08	4357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863849, '8435466216009')
2023-10-13	13:42:08	4357	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:08	4357	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-29-x-2-30-tlr-2c-dh-sup-60tpi-skinwall-noir-marron-unitaire' AND `virtuemart_product_id` != 1863849
2023-10-13	13:42:08	4357	[DEBUG]	Query for ProductLang
2023-10-13	13:42:08	4357	[DEBUG]	Executed store
2023-10-13	13:42:08	4357	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU GRIPPER 29 X 2.30 TLR 2C DH SUP 60TPI SKINWALL / NOIR-MARRON (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-29-x-2-30-tlr-2c-dh-sup-60tpi-skinwall-noir-marron-unitaire' WHERE `virtuemart_product_id` = '1863849'
2023-10-13	13:42:08	4357	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32495__gripper_29_x_2_30_tlr_2c_dh,_renfort_lateral,_60_tpi,_skinwall_brown,_double_gomme_62a-60a_2c_dh_super_shield.jpg
2023-10-13	13:42:08	4357	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:08	4357	[DEBUG]	Process image file
2023-10-13	13:42:08	4357	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:08	4357	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:08	4357	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32495__gripper_29_x_2_30_tlr_2c_dh,_renfort_lateral,_60_tpi,_skinwall_brown,_double_gomme_62a-60a_2c_dh_super_shield.jpg
2023-10-13	13:42:08	4357	[DEBUG]	Full name target: bcprisme/32495__gripper_29_x_2_30_tlr_2c_dh,_renfort_lateral,_60_tpi,_skinwall_brown,_double_gomme_62a-60a_2c_dh_super_shield.jpg
2023-10-13	13:42:09	4357	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:09	4357	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32495__gripper_29_x_2_30_tlr_2c_dh,_renfort_lateral,_60_tpi,_skinwall_brown,_double_gomme_62a-60a_2c_dh_super_shield.jpg'
2023-10-13	13:42:09	4357	[DEBUG]	Query for Media
2023-10-13	13:42:09	4357	[DEBUG]	Executed store
2023-10-13	13:42:09	4357	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32495__gripper_29_x_2_30_tlr_2c_dh,_renfort_lateral,_60_tpi,_skinwall_brown,_double_gomme_62a-60a_2c_dh_super_shield.jpg',`file_url_thumb`='bcprisme/32495__gripper_29_x_2_30_tlr_2c_dh,_renfort_lateral,_60_tpi,_skinwall_brown,_double_gomme_62a-60a_2c_dh_super_shield.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14544'
2023-10-13	13:42:09	4357	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:09	4357	[DEBUG]	Executed store
2023-10-13	13:42:09	4357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863849','14544','1')
2023-10-13	13:42:09	4357	[DEBUG]	Store product image relation
2023-10-13	13:42:09	4357	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:09	4357	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863849 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:09	4357	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:09	4357	[DEBUG]	Executed store
2023-10-13	13:42:09	4357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863849','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:09	4357	[DEBUG]	Checking manufacturer
2023-10-13	13:42:09	4357	[DEBUG]	Load a row
2023-10-13	13:42:09	4357	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:09	4357	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:09	4357	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:09	4357	[DEBUG]	Executed store
2023-10-13	13:42:09	4357	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:09	4357	[DEBUG]	Manufacturer exists
2023-10-13	13:42:09	4357	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:09	4357	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:09	4357	[DEBUG]	Executed store
2023-10-13	13:42:09	4357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863849','32')
2023-10-13	13:42:09	4357	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:09	4357	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:09	4357	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863849 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:09	4357	[DEBUG]	Store custom available field
2023-10-13	13:42:09	4357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863849,3,'',1)
2023-10-13	13:42:09	4357	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:09	4357	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:09	4357	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863849 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:09	4357	[DEBUG]	Store custom available field
2023-10-13	13:42:09	4357	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863849,6,'Unitaire',3)
2023-10-13	13:42:09	4357	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:09	4357	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:09	4357	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863848
2023-10-13	13:42:09	4357	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:09	4357	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863848\":[1863848,8,1,\"choisir la taille\"],\"1863849\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863848
2023-10-13	13:42:09	4357	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:09	4357	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863849
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:09	4358	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field taille
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:09	4358	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:09	4358	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:09	4358	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:09	4358	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:09	4358	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:09	4358	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field published
2023-10-13	13:42:09	4358	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:09	4358	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field override
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:09	4358	[DEBUG]	Use field value for field slug
2023-10-13	13:42:09	4358	[DEBUG]	Process line 4358
2023-10-13	13:42:09	4358	[DEBUG]	Load a row
2023-10-13	13:42:09	4358	[DEBUG]	Processing item: A_6759_1
2023-10-13	13:42:09	4358	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:09	4358	[DEBUG]	Processing product tax
2023-10-13	13:42:09	4358	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:09	4358	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:09	4358	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:09	4358	[DEBUG]	Query for Product
2023-10-13	13:42:09	4358	[DEBUG]	Executed store
2023-10-13	13:42:09	4358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6759_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:09	4358	[DEBUG]	Check product language entry
2023-10-13	13:42:09	4358	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863850
2023-10-13	13:42:09	4358	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:09	4358	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6759_1' AND `virtuemart_product_id` != 1863850
2023-10-13	13:42:09	4358	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:09	4358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863850, 'A_6759_1')
2023-10-13	13:42:09	4358	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:09	4358	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-pneu-cross-king-29x2-30-race-sport-balck-chili-noir' AND `virtuemart_product_id` != 1863850
2023-10-13	13:42:09	4358	[DEBUG]	Query for ProductLang
2023-10-13	13:42:09	4358	[DEBUG]	Executed store
2023-10-13	13:42:09	4358	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.71579',`product_name`='Continental PNEU CROSS KING 29X2.30 Race Sport Balck Chili / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-pneu-cross-king-29x2-30-race-sport-balck-chili-noir' WHERE `virtuemart_product_id` = '1863850'
2023-10-13	13:42:09	4358	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32985_pneu_continental_cross_king_29x2_30_race_sport_balck_chili.jpg
2023-10-13	13:42:09	4358	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:09	4358	[DEBUG]	Process image file
2023-10-13	13:42:09	4358	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:09	4358	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:09	4358	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32985_pneu_continental_cross_king_29x2_30_race_sport_balck_chili.jpg
2023-10-13	13:42:09	4358	[DEBUG]	Full name target: bcprisme/32985_pneu_continental_cross_king_29x2_30_race_sport_balck_chili.jpg
2023-10-13	13:42:10	4358	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:10	4358	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32985_pneu_continental_cross_king_29x2_30_race_sport_balck_chili.jpg'
2023-10-13	13:42:10	4358	[DEBUG]	Query for Media
2023-10-13	13:42:10	4358	[DEBUG]	Executed store
2023-10-13	13:42:10	4358	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32985_pneu_continental_cross_king_29x2_30_race_sport_balck_chili.jpg',`file_url_thumb`='bcprisme/32985_pneu_continental_cross_king_29x2_30_race_sport_balck_chili.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14545'
2023-10-13	13:42:10	4358	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:10	4358	[DEBUG]	Executed store
2023-10-13	13:42:10	4358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863850','14545','1')
2023-10-13	13:42:10	4358	[DEBUG]	Store product image relation
2023-10-13	13:42:10	4358	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:10	4358	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863850 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:10	4358	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:10	4358	[DEBUG]	Executed store
2023-10-13	13:42:10	4358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863850','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:10	4358	[DEBUG]	Checking manufacturer
2023-10-13	13:42:10	4358	[DEBUG]	Load a row
2023-10-13	13:42:10	4358	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:10	4358	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:42:10	4358	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:10	4358	[DEBUG]	Executed store
2023-10-13	13:42:10	4358	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:42:10	4358	[DEBUG]	Manufacturer exists
2023-10-13	13:42:10	4358	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:42:10	4358	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:10	4358	[DEBUG]	Executed store
2023-10-13	13:42:10	4358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863850','52')
2023-10-13	13:42:10	4358	[DEBUG]	Find the custom field ID
2023-10-13	13:42:10	4358	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:10	4358	[DEBUG]	No custom field ID found
2023-10-13	13:42:10	4358	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:10	4358	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:42:10	4358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863850 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:10	4358	[DEBUG]	Store custom available field
2023-10-13	13:42:10	4358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863850,3,'0',1)
2023-10-13	13:42:10	4358	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:10	4358	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:10	4358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863850 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:10	4358	[DEBUG]	Store custom available field
2023-10-13	13:42:10	4358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863850,6,'choisir la taille',3)
2023-10-13	13:42:10	4358	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:10	4358	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:10	4358	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:10	4358	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:10	4358	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863850 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:10	4358	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:10	4358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863850,8,1)
2023-10-13	13:42:10	4358	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:10	4358	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863850\":[1863850,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863850
2023-10-13	13:42:10	4358	[DEBUG]	Checking category
2023-10-13	13:42:10	4358	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:10	4358	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863850
2023-10-13	13:42:10	4358	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:10	4358	[DEBUG]	Executed store
2023-10-13	13:42:10	4358	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863850','7412')
2023-10-13	13:42:10	4358	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:10	4358	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863850 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:10	4358	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:10	4358	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863850
2023-10-13	13:42:10	4359	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:10	4359	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:10	4359	[DEBUG]	Use field value for field taille
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:10	4359	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:10	4359	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:10	4359	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:10	4359	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:10	4359	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:10	4359	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:10	4359	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:10	4359	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:10	4359	[DEBUG]	Use field value for field published
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:10	4359	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field override
2023-10-13	13:42:10	4359	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:10	4359	[DEBUG]	Use field value for field slug
2023-10-13	13:42:10	4359	[DEBUG]	Process line 4359
2023-10-13	13:42:10	4359	[DEBUG]	Load a row
2023-10-13	13:42:11	4359	[DEBUG]	Processing item: 1000000109108
2023-10-13	13:42:11	4359	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:11	4359	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:11	4359	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6759_1'
2023-10-13	13:42:11	4359	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:11	4359	[DEBUG]	Processing product tax
2023-10-13	13:42:11	4359	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:11	4359	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:11	4359	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:11	4359	[DEBUG]	Query for Product
2023-10-13	13:42:11	4359	[DEBUG]	Executed store
2023-10-13	13:42:11	4359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863850','1000000109108','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:11	4359	[DEBUG]	No parent found
2023-10-13	13:42:11	4359	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863850 AND customfield_value = 'stockable'
2023-10-13	13:42:11	4359	[DEBUG]	Check product language entry
2023-10-13	13:42:11	4359	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863851
2023-10-13	13:42:11	4359	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:11	4359	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000109108' AND `virtuemart_product_id` != 1863851
2023-10-13	13:42:11	4359	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:11	4359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863851, '1000000109108')
2023-10-13	13:42:11	4359	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:11	4359	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-pneu-cross-king-29x2-30-race-sport-balck-chili-noir-unitaire' AND `virtuemart_product_id` != 1863851
2023-10-13	13:42:11	4359	[DEBUG]	Query for ProductLang
2023-10-13	13:42:11	4359	[DEBUG]	Executed store
2023-10-13	13:42:11	4359	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Continental PNEU CROSS KING 29X2.30 Race Sport Balck Chili / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-pneu-cross-king-29x2-30-race-sport-balck-chili-noir-unitaire' WHERE `virtuemart_product_id` = '1863851'
2023-10-13	13:42:11	4359	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32985_pneu_continental_cross_king_29x2_30_race_sport_balck_chili.jpg
2023-10-13	13:42:11	4359	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:11	4359	[DEBUG]	Process image file
2023-10-13	13:42:11	4359	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:11	4359	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:11	4359	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32985_pneu_continental_cross_king_29x2_30_race_sport_balck_chili.jpg
2023-10-13	13:42:11	4359	[DEBUG]	Full name target: bcprisme/32985_pneu_continental_cross_king_29x2_30_race_sport_balck_chili.jpg
2023-10-13	13:42:12	4359	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:12	4359	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32985_pneu_continental_cross_king_29x2_30_race_sport_balck_chili.jpg'
2023-10-13	13:42:12	4359	[DEBUG]	Query for Media
2023-10-13	13:42:12	4359	[DEBUG]	Executed store
2023-10-13	13:42:12	4359	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32985_pneu_continental_cross_king_29x2_30_race_sport_balck_chili.jpg',`file_url_thumb`='bcprisme/32985_pneu_continental_cross_king_29x2_30_race_sport_balck_chili.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14545'
2023-10-13	13:42:12	4359	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:12	4359	[DEBUG]	Executed store
2023-10-13	13:42:12	4359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863851','14545','1')
2023-10-13	13:42:12	4359	[DEBUG]	Store product image relation
2023-10-13	13:42:12	4359	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:12	4359	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863851 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:12	4359	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:12	4359	[DEBUG]	Executed store
2023-10-13	13:42:12	4359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863851','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:12	4359	[DEBUG]	Checking manufacturer
2023-10-13	13:42:12	4359	[DEBUG]	Load a row
2023-10-13	13:42:12	4359	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:12	4359	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:42:12	4359	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:12	4359	[DEBUG]	Executed store
2023-10-13	13:42:12	4359	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:42:12	4359	[DEBUG]	Manufacturer exists
2023-10-13	13:42:12	4359	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:42:12	4359	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:12	4359	[DEBUG]	Executed store
2023-10-13	13:42:12	4359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863851','52')
2023-10-13	13:42:12	4359	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:12	4359	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:12	4359	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863851 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:12	4359	[DEBUG]	Store custom available field
2023-10-13	13:42:12	4359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863851,3,'',1)
2023-10-13	13:42:12	4359	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:12	4359	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:12	4359	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863851 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:12	4359	[DEBUG]	Store custom available field
2023-10-13	13:42:12	4359	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863851,6,'Unitaire',3)
2023-10-13	13:42:12	4359	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:12	4359	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:12	4359	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863850
2023-10-13	13:42:12	4359	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:12	4359	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863850\":[1863850,8,1,\"choisir la taille\"],\"1863851\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863850
2023-10-13	13:42:12	4359	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:12	4359	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863851
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:12	4360	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field taille
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:12	4360	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:12	4360	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:12	4360	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:12	4360	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:12	4360	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:12	4360	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field published
2023-10-13	13:42:12	4360	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:12	4360	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field override
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:12	4360	[DEBUG]	Use field value for field slug
2023-10-13	13:42:12	4360	[DEBUG]	Process line 4360
2023-10-13	13:42:12	4360	[DEBUG]	Load a row
2023-10-13	13:42:12	4360	[DEBUG]	Processing item: A_6795_1
2023-10-13	13:42:12	4360	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:12	4360	[DEBUG]	Processing product tax
2023-10-13	13:42:12	4360	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:12	4360	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:12	4360	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:12	4360	[DEBUG]	Query for Product
2023-10-13	13:42:12	4360	[DEBUG]	Executed store
2023-10-13	13:42:12	4360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6795_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:12	4360	[DEBUG]	Check product language entry
2023-10-13	13:42:12	4360	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863852
2023-10-13	13:42:12	4360	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:12	4360	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6795_1' AND `virtuemart_product_id` != 1863852
2023-10-13	13:42:12	4360	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:12	4360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863852, 'A_6795_1')
2023-10-13	13:42:12	4360	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:12	4360	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-singletrack-29x2-20-tlr-2c-xc-pro-shield-60-tpi-noir' AND `virtuemart_product_id` != 1863852
2023-10-13	13:42:12	4360	[DEBUG]	Query for ProductLang
2023-10-13	13:42:12	4360	[DEBUG]	Executed store
2023-10-13	13:42:12	4360	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : SIN29220TLR2C',`product_name`='MSC PNEU SINGLETRACK 29X2.20 TLR  2C XC PRO SHIELD 60 TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-singletrack-29x2-20-tlr-2c-xc-pro-shield-60-tpi-noir' WHERE `virtuemart_product_id` = '1863852'
2023-10-13	13:42:12	4360	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33031_pneu_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi.png
2023-10-13	13:42:12	4360	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:42:12	4360	[DEBUG]	Process image file
2023-10-13	13:42:12	4360	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:42:12	4360	[DEBUG]	Mime type found: image/png
2023-10-13	13:42:12	4360	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33031_pneu_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi.png
2023-10-13	13:42:12	4360	[DEBUG]	Full name target: bcprisme/33031_pneu_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi.png
2023-10-13	13:42:13	4360	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:13	4360	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33031_pneu_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi.png'
2023-10-13	13:42:13	4360	[DEBUG]	Query for Media
2023-10-13	13:42:13	4360	[DEBUG]	Executed store
2023-10-13	13:42:13	4360	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/33031_pneu_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi.png',`file_url_thumb`='bcprisme/33031_pneu_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '690310'
2023-10-13	13:42:13	4360	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:13	4360	[DEBUG]	Executed store
2023-10-13	13:42:13	4360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863852','690310','1')
2023-10-13	13:42:13	4360	[DEBUG]	Store product image relation
2023-10-13	13:42:13	4360	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:13	4360	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863852 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:13	4360	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:13	4360	[DEBUG]	Executed store
2023-10-13	13:42:13	4360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863852','0','57.4744661095636','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:13	4360	[DEBUG]	Checking manufacturer
2023-10-13	13:42:13	4360	[DEBUG]	Load a row
2023-10-13	13:42:13	4360	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:13	4360	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:13	4360	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:13	4360	[DEBUG]	Executed store
2023-10-13	13:42:13	4360	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:13	4360	[DEBUG]	Manufacturer exists
2023-10-13	13:42:13	4360	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:13	4360	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:13	4360	[DEBUG]	Executed store
2023-10-13	13:42:13	4360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863852','32')
2023-10-13	13:42:13	4360	[DEBUG]	Find the custom field ID
2023-10-13	13:42:13	4360	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:13	4360	[DEBUG]	No custom field ID found
2023-10-13	13:42:13	4360	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:13	4360	[DEBUG]	Get existing row with customfield value 46.7697222222222
2023-10-13	13:42:13	4360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863852 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:13	4360	[DEBUG]	Store custom available field
2023-10-13	13:42:13	4360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863852,3,'46.7697222222222',1)
2023-10-13	13:42:13	4360	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:13	4360	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:13	4360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863852 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:13	4360	[DEBUG]	Store custom available field
2023-10-13	13:42:13	4360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863852,6,'choisir la taille',3)
2023-10-13	13:42:13	4360	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:13	4360	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:13	4360	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:13	4360	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:13	4360	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863852 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:13	4360	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:13	4360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863852,8,1)
2023-10-13	13:42:13	4360	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:13	4360	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863852\":[1863852,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863852
2023-10-13	13:42:13	4360	[DEBUG]	Checking category
2023-10-13	13:42:13	4360	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:13	4360	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863852
2023-10-13	13:42:13	4360	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:13	4360	[DEBUG]	Executed store
2023-10-13	13:42:13	4360	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863852','7412')
2023-10-13	13:42:13	4360	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:13	4360	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863852 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:13	4360	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:13	4360	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863852
2023-10-13	13:42:13	4361	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:13	4361	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:13	4361	[DEBUG]	Use field value for field taille
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:13	4361	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:13	4361	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:13	4361	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:13	4361	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:13	4361	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:13	4361	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:13	4361	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:13	4361	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:13	4361	[DEBUG]	Use field value for field published
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:13	4361	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field override
2023-10-13	13:42:13	4361	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:13	4361	[DEBUG]	Use field value for field slug
2023-10-13	13:42:13	4361	[DEBUG]	Process line 4361
2023-10-13	13:42:13	4361	[DEBUG]	Load a row
2023-10-13	13:42:13	4361	[DEBUG]	Processing item: 8435466216290
2023-10-13	13:42:13	4361	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:13	4361	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:13	4361	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6795_1'
2023-10-13	13:42:13	4361	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:13	4361	[DEBUG]	Processing product tax
2023-10-13	13:42:13	4361	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:13	4361	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:13	4361	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:13	4361	[DEBUG]	Query for Product
2023-10-13	13:42:13	4361	[DEBUG]	Executed store
2023-10-13	13:42:13	4361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863852','8435466216290','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:13	4361	[DEBUG]	No parent found
2023-10-13	13:42:13	4361	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863852 AND customfield_value = 'stockable'
2023-10-13	13:42:13	4361	[DEBUG]	Check product language entry
2023-10-13	13:42:13	4361	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863853
2023-10-13	13:42:13	4361	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:13	4361	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216290' AND `virtuemart_product_id` != 1863853
2023-10-13	13:42:13	4361	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:13	4361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863853, '8435466216290')
2023-10-13	13:42:13	4361	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:13	4361	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-singletrack-29x2-20-tlr-2c-xc-pro-shield-60-tpi-noir-unitaire' AND `virtuemart_product_id` != 1863853
2023-10-13	13:42:13	4361	[DEBUG]	Query for ProductLang
2023-10-13	13:42:13	4361	[DEBUG]	Executed store
2023-10-13	13:42:13	4361	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU SINGLETRACK 29X2.20 TLR  2C XC PRO SHIELD 60 TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-singletrack-29x2-20-tlr-2c-xc-pro-shield-60-tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863853'
2023-10-13	13:42:13	4361	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33031_pneu_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi.png
2023-10-13	13:42:13	4361	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:42:13	4361	[DEBUG]	Process image file
2023-10-13	13:42:13	4361	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:42:13	4361	[DEBUG]	Mime type found: image/png
2023-10-13	13:42:13	4361	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33031_pneu_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi.png
2023-10-13	13:42:13	4361	[DEBUG]	Full name target: bcprisme/33031_pneu_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi.png
2023-10-13	13:42:14	4361	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:14	4361	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33031_pneu_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi.png'
2023-10-13	13:42:14	4361	[DEBUG]	Query for Media
2023-10-13	13:42:14	4361	[DEBUG]	Executed store
2023-10-13	13:42:14	4361	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/33031_pneu_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi.png',`file_url_thumb`='bcprisme/33031_pneu_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '690310'
2023-10-13	13:42:14	4361	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:14	4361	[DEBUG]	Executed store
2023-10-13	13:42:14	4361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863853','690310','1')
2023-10-13	13:42:14	4361	[DEBUG]	Store product image relation
2023-10-13	13:42:14	4361	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:14	4361	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863853 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:14	4361	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:14	4361	[DEBUG]	Executed store
2023-10-13	13:42:14	4361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863853','0','57.4744661095636','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:14	4361	[DEBUG]	Checking manufacturer
2023-10-13	13:42:14	4361	[DEBUG]	Load a row
2023-10-13	13:42:14	4361	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:14	4361	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:14	4361	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:14	4361	[DEBUG]	Executed store
2023-10-13	13:42:14	4361	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:14	4361	[DEBUG]	Manufacturer exists
2023-10-13	13:42:14	4361	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:14	4361	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:14	4361	[DEBUG]	Executed store
2023-10-13	13:42:14	4361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863853','32')
2023-10-13	13:42:14	4361	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:14	4361	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:14	4361	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863853 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:14	4361	[DEBUG]	Store custom available field
2023-10-13	13:42:14	4361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863853,3,'',1)
2023-10-13	13:42:14	4361	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:14	4361	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:14	4361	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863853 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:14	4361	[DEBUG]	Store custom available field
2023-10-13	13:42:14	4361	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863853,6,'Unitaire',3)
2023-10-13	13:42:14	4361	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:14	4361	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:14	4361	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863852
2023-10-13	13:42:14	4361	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:14	4361	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863852\":[1863852,8,1,\"choisir la taille\"],\"1863853\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863852
2023-10-13	13:42:14	4361	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:14	4361	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863853
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:14	4362	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field taille
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:14	4362	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:14	4362	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:14	4362	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:14	4362	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:14	4362	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:14	4362	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field published
2023-10-13	13:42:14	4362	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:14	4362	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field override
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:14	4362	[DEBUG]	Use field value for field slug
2023-10-13	13:42:14	4362	[DEBUG]	Process line 4362
2023-10-13	13:42:14	4362	[DEBUG]	Load a row
2023-10-13	13:42:14	4362	[DEBUG]	Processing item: A_6814_1
2023-10-13	13:42:14	4362	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:14	4362	[DEBUG]	Processing product tax
2023-10-13	13:42:14	4362	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:14	4362	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:14	4362	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:14	4362	[DEBUG]	Query for Product
2023-10-13	13:42:14	4362	[DEBUG]	Executed store
2023-10-13	13:42:14	4362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6814_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:14	4362	[DEBUG]	Check product language entry
2023-10-13	13:42:14	4362	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863854
2023-10-13	13:42:14	4362	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:14	4362	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6814_1' AND `virtuemart_product_id` != 1863854
2023-10-13	13:42:14	4362	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:14	4362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863854, 'A_6814_1')
2023-10-13	13:42:14	4362	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:14	4362	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-29-x-2-40-tlr-2c-dh-sup-60tpi-noir' AND `virtuemart_product_id` != 1863854
2023-10-13	13:42:14	4362	[DEBUG]	Query for ProductLang
2023-10-13	13:42:14	4362	[DEBUG]	Executed store
2023-10-13	13:42:14	4362	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1290 g<br><br>-Accroche: 5/5<br> -Traction: 4/5<br> -Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br> -Gomme: 62a/60a<br> -ETRTO 60-622<br>-2.40 – same to 2.60 between knobs/ebike friendly-<br><br>Idéal pour l’Enduro et la DH. Contrôle parfait sur terrains détériorés, meubles et humides.<br><br>Ses 4 rangés de crampons hauts et larges taillés perpendiculairement garantissent une adhérence et un contrôle extraordinaire lors de freinages brusques, même dans les situations de pilotages les plus agressives. Capable d’affronter férocement des courbes prononcées et de dévorer tous les types de terrains.<br><br>Un crampon sur deux de La zone de centrale sont équipés d’une rampe afin de diminuer la résistance au roulement. Les crampons latéraux, dotés d’entailles verticales et d’encoches, sont placés sur 2 niveaux pour assurer une accroche parfaite lors de passage en courbe, sur pierres et racines. <br><br>Le nouveau XtremShield est conçu pour la gravité et vous permet de photographier à basse pression tout en maintenant la rigidité structurelle du pneu et en protégeant votre chute des terribles perforations.<br><br><br><br>E25:<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br> électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br> certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br> plus élevées, tels que le vélo électrique.<br>N° art fourn : GRI29240TLR2CA',`product_name`='MSC PNEU GRIPPER 29 X 2.40 TLR 2C DH SUP 60TPI  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-29-x-2-40-tlr-2c-dh-sup-60tpi-noir' WHERE `virtuemart_product_id` = '1863854'
2023-10-13	13:42:14	4362	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33623_gripper_29_x_2_40_tlr_2c_dh_sup_60tpi_.jpg
2023-10-13	13:42:14	4362	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:14	4362	[DEBUG]	Process image file
2023-10-13	13:42:14	4362	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:14	4362	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:14	4362	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33623_gripper_29_x_2_40_tlr_2c_dh_sup_60tpi_.jpg
2023-10-13	13:42:14	4362	[DEBUG]	Full name target: bcprisme/33623_gripper_29_x_2_40_tlr_2c_dh_sup_60tpi_.jpg
2023-10-13	13:42:15	4362	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:15	4362	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33623_gripper_29_x_2_40_tlr_2c_dh_sup_60tpi_.jpg'
2023-10-13	13:42:15	4362	[DEBUG]	Query for Media
2023-10-13	13:42:15	4362	[DEBUG]	Executed store
2023-10-13	13:42:15	4362	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33623_gripper_29_x_2_40_tlr_2c_dh_sup_60tpi_.jpg',`file_url_thumb`='bcprisme/33623_gripper_29_x_2_40_tlr_2c_dh_sup_60tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15311'
2023-10-13	13:42:15	4362	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:15	4362	[DEBUG]	Executed store
2023-10-13	13:42:15	4362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863854','15311','1')
2023-10-13	13:42:15	4362	[DEBUG]	Store product image relation
2023-10-13	13:42:15	4362	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:15	4362	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863854 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:15	4362	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:15	4362	[DEBUG]	Executed store
2023-10-13	13:42:15	4362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863854','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:15	4362	[DEBUG]	Checking manufacturer
2023-10-13	13:42:15	4362	[DEBUG]	Load a row
2023-10-13	13:42:15	4362	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:15	4362	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:15	4362	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:15	4362	[DEBUG]	Executed store
2023-10-13	13:42:15	4362	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:15	4362	[DEBUG]	Manufacturer exists
2023-10-13	13:42:15	4362	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:15	4362	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:15	4362	[DEBUG]	Executed store
2023-10-13	13:42:15	4362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863854','32')
2023-10-13	13:42:15	4362	[DEBUG]	Find the custom field ID
2023-10-13	13:42:15	4362	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:15	4362	[DEBUG]	No custom field ID found
2023-10-13	13:42:15	4362	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:15	4362	[DEBUG]	Get existing row with customfield value 52.7530555555555
2023-10-13	13:42:15	4362	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863854 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:15	4362	[DEBUG]	Store custom available field
2023-10-13	13:42:15	4362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863854,3,'52.7530555555555',1)
2023-10-13	13:42:15	4362	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:15	4362	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:15	4362	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863854 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:15	4362	[DEBUG]	Store custom available field
2023-10-13	13:42:15	4362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863854,6,'choisir la taille',3)
2023-10-13	13:42:15	4362	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:15	4362	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:15	4362	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:15	4362	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:15	4362	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863854 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:15	4362	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:15	4362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863854,8,1)
2023-10-13	13:42:15	4362	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:15	4362	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863854\":[1863854,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863854
2023-10-13	13:42:15	4362	[DEBUG]	Checking category
2023-10-13	13:42:15	4362	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:15	4362	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863854
2023-10-13	13:42:15	4362	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:15	4362	[DEBUG]	Executed store
2023-10-13	13:42:15	4362	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863854','7412')
2023-10-13	13:42:15	4362	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:15	4362	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863854 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:15	4362	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:15	4362	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863854
2023-10-13	13:42:15	4363	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:15	4363	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:15	4363	[DEBUG]	Use field value for field taille
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:15	4363	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:15	4363	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:15	4363	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:15	4363	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:15	4363	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:15	4363	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:15	4363	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:15	4363	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:15	4363	[DEBUG]	Use field value for field published
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:15	4363	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field override
2023-10-13	13:42:15	4363	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:15	4363	[DEBUG]	Use field value for field slug
2023-10-13	13:42:15	4363	[DEBUG]	Process line 4363
2023-10-13	13:42:15	4363	[DEBUG]	Load a row
2023-10-13	13:42:15	4363	[DEBUG]	Processing item: 8435466214173
2023-10-13	13:42:15	4363	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:15	4363	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:15	4363	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6814_1'
2023-10-13	13:42:15	4363	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:15	4363	[DEBUG]	Processing product tax
2023-10-13	13:42:15	4363	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:15	4363	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:15	4363	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:15	4363	[DEBUG]	Query for Product
2023-10-13	13:42:15	4363	[DEBUG]	Executed store
2023-10-13	13:42:15	4363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863854','8435466214173','0','KG','M','','9','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:15	4363	[DEBUG]	No parent found
2023-10-13	13:42:15	4363	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863854 AND customfield_value = 'stockable'
2023-10-13	13:42:15	4363	[DEBUG]	Check product language entry
2023-10-13	13:42:15	4363	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863855
2023-10-13	13:42:15	4363	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:15	4363	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214173' AND `virtuemart_product_id` != 1863855
2023-10-13	13:42:15	4363	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:15	4363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863855, '8435466214173')
2023-10-13	13:42:15	4363	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:15	4363	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-29-x-2-40-tlr-2c-dh-sup-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863855
2023-10-13	13:42:15	4363	[DEBUG]	Query for ProductLang
2023-10-13	13:42:15	4363	[DEBUG]	Executed store
2023-10-13	13:42:15	4363	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU GRIPPER 29 X 2.40 TLR 2C DH SUP 60TPI  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-29-x-2-40-tlr-2c-dh-sup-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863855'
2023-10-13	13:42:15	4363	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33623_gripper_29_x_2_40_tlr_2c_dh_sup_60tpi_.jpg
2023-10-13	13:42:15	4363	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:15	4363	[DEBUG]	Process image file
2023-10-13	13:42:15	4363	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:15	4363	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:15	4363	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/33623_gripper_29_x_2_40_tlr_2c_dh_sup_60tpi_.jpg
2023-10-13	13:42:15	4363	[DEBUG]	Full name target: bcprisme/33623_gripper_29_x_2_40_tlr_2c_dh_sup_60tpi_.jpg
2023-10-13	13:42:16	4363	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:16	4363	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/33623_gripper_29_x_2_40_tlr_2c_dh_sup_60tpi_.jpg'
2023-10-13	13:42:16	4363	[DEBUG]	Query for Media
2023-10-13	13:42:16	4363	[DEBUG]	Executed store
2023-10-13	13:42:16	4363	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/33623_gripper_29_x_2_40_tlr_2c_dh_sup_60tpi_.jpg',`file_url_thumb`='bcprisme/33623_gripper_29_x_2_40_tlr_2c_dh_sup_60tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '15311'
2023-10-13	13:42:16	4363	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:16	4363	[DEBUG]	Executed store
2023-10-13	13:42:16	4363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863855','15311','1')
2023-10-13	13:42:16	4363	[DEBUG]	Store product image relation
2023-10-13	13:42:16	4363	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:16	4363	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863855 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:16	4363	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:16	4363	[DEBUG]	Executed store
2023-10-13	13:42:16	4363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863855','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:16	4363	[DEBUG]	Checking manufacturer
2023-10-13	13:42:16	4363	[DEBUG]	Load a row
2023-10-13	13:42:16	4363	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:16	4363	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:16	4363	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:16	4363	[DEBUG]	Executed store
2023-10-13	13:42:16	4363	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:16	4363	[DEBUG]	Manufacturer exists
2023-10-13	13:42:16	4363	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:16	4363	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:16	4363	[DEBUG]	Executed store
2023-10-13	13:42:16	4363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863855','32')
2023-10-13	13:42:16	4363	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:16	4363	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:16	4363	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863855 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:16	4363	[DEBUG]	Store custom available field
2023-10-13	13:42:16	4363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863855,3,'',1)
2023-10-13	13:42:16	4363	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:16	4363	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:16	4363	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863855 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:16	4363	[DEBUG]	Store custom available field
2023-10-13	13:42:16	4363	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863855,6,'Unitaire',3)
2023-10-13	13:42:16	4363	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:16	4363	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:16	4363	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863854
2023-10-13	13:42:16	4363	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:16	4363	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863854\":[1863854,8,1,\"choisir la taille\"],\"1863855\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863854
2023-10-13	13:42:16	4363	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:16	4363	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863855
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:16	4364	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field taille
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:16	4364	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:16	4364	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:16	4364	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:16	4364	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:16	4364	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:16	4364	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field published
2023-10-13	13:42:16	4364	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:16	4364	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field override
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:16	4364	[DEBUG]	Use field value for field slug
2023-10-13	13:42:16	4364	[DEBUG]	Process line 4364
2023-10-13	13:42:16	4364	[DEBUG]	Load a row
2023-10-13	13:42:16	4364	[DEBUG]	Processing item: A_6996_120
2023-10-13	13:42:16	4364	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:16	4364	[DEBUG]	Processing product tax
2023-10-13	13:42:16	4364	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:16	4364	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:16	4364	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:16	4364	[DEBUG]	Query for Product
2023-10-13	13:42:16	4364	[DEBUG]	Executed store
2023-10-13	13:42:16	4364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6996_120','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:16	4364	[DEBUG]	Check product language entry
2023-10-13	13:42:16	4364	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863856
2023-10-13	13:42:16	4364	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:16	4364	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6996_120' AND `virtuemart_product_id` != 1863856
2023-10-13	13:42:16	4364	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:16	4364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863856, 'A_6996_120')
2023-10-13	13:42:16	4364	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:16	4364	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-singletrack-29x2-20-tlr-2c-xc-pro-shield-60-tpi-skinwall-brown' AND `virtuemart_product_id` != 1863856
2023-10-13	13:42:16	4364	[DEBUG]	Query for ProductLang
2023-10-13	13:42:16	4364	[DEBUG]	Executed store
2023-10-13	13:42:16	4364	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : SIN29220TLR2CT',`product_name`='MSC PNEU SINGLETRACK 29X2.20 TLR  2C XC PRO SHIELD 60 TPI SKINWALL / Brown',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-singletrack-29x2-20-tlr-2c-xc-pro-shield-60-tpi-skinwall-brown' WHERE `virtuemart_product_id` = '1863856'
2023-10-13	13:42:16	4364	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34135_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi_skinwall.jpg
2023-10-13	13:42:16	4364	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:16	4364	[DEBUG]	Process image file
2023-10-13	13:42:16	4364	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:16	4364	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:16	4364	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34135_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi_skinwall.jpg
2023-10-13	13:42:16	4364	[DEBUG]	Full name target: bcprisme/34135_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi_skinwall.jpg
2023-10-13	13:42:17	4364	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:17	4364	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34135_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi_skinwall.jpg'
2023-10-13	13:42:17	4364	[DEBUG]	Query for Media
2023-10-13	13:42:17	4364	[DEBUG]	Executed store
2023-10-13	13:42:17	4364	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34135_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi_skinwall.jpg',`file_url_thumb`='bcprisme/34135_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi_skinwall.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '26417'
2023-10-13	13:42:17	4364	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:17	4364	[DEBUG]	Executed store
2023-10-13	13:42:17	4364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863856','26417','1')
2023-10-13	13:42:17	4364	[DEBUG]	Store product image relation
2023-10-13	13:42:17	4364	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:17	4364	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863856 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:17	4364	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:17	4364	[DEBUG]	Executed store
2023-10-13	13:42:17	4364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863856','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:17	4364	[DEBUG]	Checking manufacturer
2023-10-13	13:42:17	4364	[DEBUG]	Load a row
2023-10-13	13:42:17	4364	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:17	4364	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:17	4364	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:17	4364	[DEBUG]	Executed store
2023-10-13	13:42:17	4364	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:17	4364	[DEBUG]	Manufacturer exists
2023-10-13	13:42:17	4364	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:17	4364	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:17	4364	[DEBUG]	Executed store
2023-10-13	13:42:17	4364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863856','32')
2023-10-13	13:42:17	4364	[DEBUG]	Find the custom field ID
2023-10-13	13:42:17	4364	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:17	4364	[DEBUG]	No custom field ID found
2023-10-13	13:42:17	4364	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:17	4364	[DEBUG]	Get existing row with customfield value 46.7697222222222
2023-10-13	13:42:17	4364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863856 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:17	4364	[DEBUG]	Store custom available field
2023-10-13	13:42:17	4364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863856,3,'46.7697222222222',1)
2023-10-13	13:42:17	4364	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:17	4364	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:17	4364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863856 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:17	4364	[DEBUG]	Store custom available field
2023-10-13	13:42:17	4364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863856,6,'choisir la taille',3)
2023-10-13	13:42:17	4364	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:17	4364	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:17	4364	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:17	4364	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:17	4364	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863856 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:17	4364	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:17	4364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863856,8,1)
2023-10-13	13:42:17	4364	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:17	4364	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863856\":[1863856,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863856
2023-10-13	13:42:17	4364	[DEBUG]	Checking category
2023-10-13	13:42:17	4364	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:17	4364	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863856
2023-10-13	13:42:17	4364	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:17	4364	[DEBUG]	Executed store
2023-10-13	13:42:17	4364	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863856','7412')
2023-10-13	13:42:17	4364	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:17	4364	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863856 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:17	4364	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:17	4364	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863856
2023-10-13	13:42:17	4365	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:17	4365	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:17	4365	[DEBUG]	Use field value for field taille
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:17	4365	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:17	4365	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:17	4365	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:17	4365	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:17	4365	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:17	4365	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:17	4365	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:17	4365	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:17	4365	[DEBUG]	Use field value for field published
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:17	4365	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field override
2023-10-13	13:42:17	4365	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:17	4365	[DEBUG]	Use field value for field slug
2023-10-13	13:42:17	4365	[DEBUG]	Process line 4365
2023-10-13	13:42:17	4365	[DEBUG]	Load a row
2023-10-13	13:42:17	4365	[DEBUG]	Processing item: 8435466216306
2023-10-13	13:42:17	4365	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:17	4365	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:17	4365	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6996_120'
2023-10-13	13:42:17	4365	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:17	4365	[DEBUG]	Processing product tax
2023-10-13	13:42:17	4365	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:17	4365	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:17	4365	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:17	4365	[DEBUG]	Query for Product
2023-10-13	13:42:17	4365	[DEBUG]	Executed store
2023-10-13	13:42:17	4365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863856','8435466216306','0','KG','M','','13','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:17	4365	[DEBUG]	No parent found
2023-10-13	13:42:17	4365	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863856 AND customfield_value = 'stockable'
2023-10-13	13:42:17	4365	[DEBUG]	Check product language entry
2023-10-13	13:42:17	4365	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863857
2023-10-13	13:42:17	4365	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:17	4365	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216306' AND `virtuemart_product_id` != 1863857
2023-10-13	13:42:17	4365	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:17	4365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863857, '8435466216306')
2023-10-13	13:42:17	4365	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:17	4365	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-singletrack-29x2-20-tlr-2c-xc-pro-shield-60-tpi-skinwall-brown-unitaire' AND `virtuemart_product_id` != 1863857
2023-10-13	13:42:17	4365	[DEBUG]	Query for ProductLang
2023-10-13	13:42:17	4365	[DEBUG]	Executed store
2023-10-13	13:42:17	4365	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU SINGLETRACK 29X2.20 TLR  2C XC PRO SHIELD 60 TPI SKINWALL / Brown (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-singletrack-29x2-20-tlr-2c-xc-pro-shield-60-tpi-skinwall-brown-unitaire' WHERE `virtuemart_product_id` = '1863857'
2023-10-13	13:42:17	4365	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34135_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi_skinwall.jpg
2023-10-13	13:42:17	4365	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:17	4365	[DEBUG]	Process image file
2023-10-13	13:42:17	4365	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:17	4365	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:17	4365	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34135_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi_skinwall.jpg
2023-10-13	13:42:17	4365	[DEBUG]	Full name target: bcprisme/34135_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi_skinwall.jpg
2023-10-13	13:42:18	4365	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:18	4365	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34135_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi_skinwall.jpg'
2023-10-13	13:42:18	4365	[DEBUG]	Query for Media
2023-10-13	13:42:18	4365	[DEBUG]	Executed store
2023-10-13	13:42:18	4365	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34135_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi_skinwall.jpg',`file_url_thumb`='bcprisme/34135_singletrack_29x2_20_tlr__2c_xc_pro_shield_60_tpi_skinwall.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '26417'
2023-10-13	13:42:18	4365	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:18	4365	[DEBUG]	Executed store
2023-10-13	13:42:18	4365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863857','26417','1')
2023-10-13	13:42:18	4365	[DEBUG]	Store product image relation
2023-10-13	13:42:18	4365	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:18	4365	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863857 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:18	4365	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:18	4365	[DEBUG]	Executed store
2023-10-13	13:42:18	4365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863857','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:18	4365	[DEBUG]	Checking manufacturer
2023-10-13	13:42:18	4365	[DEBUG]	Load a row
2023-10-13	13:42:18	4365	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:18	4365	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:18	4365	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:18	4365	[DEBUG]	Executed store
2023-10-13	13:42:18	4365	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:18	4365	[DEBUG]	Manufacturer exists
2023-10-13	13:42:18	4365	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:18	4365	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:18	4365	[DEBUG]	Executed store
2023-10-13	13:42:18	4365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863857','32')
2023-10-13	13:42:18	4365	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:18	4365	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:18	4365	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863857 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:18	4365	[DEBUG]	Store custom available field
2023-10-13	13:42:18	4365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863857,3,'',1)
2023-10-13	13:42:18	4365	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:18	4365	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:18	4365	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863857 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:18	4365	[DEBUG]	Store custom available field
2023-10-13	13:42:18	4365	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863857,6,'Unitaire',3)
2023-10-13	13:42:18	4365	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:18	4365	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:18	4365	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863856
2023-10-13	13:42:18	4365	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:18	4365	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863856\":[1863856,8,1,\"choisir la taille\"],\"1863857\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863856
2023-10-13	13:42:18	4365	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:18	4365	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863857
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:18	4366	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field taille
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:18	4366	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:18	4366	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:18	4366	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:18	4366	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:18	4366	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:18	4366	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field published
2023-10-13	13:42:18	4366	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:18	4366	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field override
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:18	4366	[DEBUG]	Use field value for field slug
2023-10-13	13:42:18	4366	[DEBUG]	Process line 4366
2023-10-13	13:42:18	4366	[DEBUG]	Load a row
2023-10-13	13:42:18	4366	[DEBUG]	Processing item: A_6999_392
2023-10-13	13:42:18	4366	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:18	4366	[DEBUG]	Processing product tax
2023-10-13	13:42:18	4366	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:18	4366	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:18	4366	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:18	4366	[DEBUG]	Query for Product
2023-10-13	13:42:18	4366	[DEBUG]	Executed store
2023-10-13	13:42:18	4366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6999_392','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:18	4366	[DEBUG]	Check product language entry
2023-10-13	13:42:18	4366	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863858
2023-10-13	13:42:18	4366	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:18	4366	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6999_392' AND `virtuemart_product_id` != 1863858
2023-10-13	13:42:18	4366	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:18	4366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863858, 'A_6999_392')
2023-10-13	13:42:18	4366	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:18	4366	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-dragster-29-x-2-10-tlr-2c-xc-epic-shild-120-tpi-skinwall' AND `virtuemart_product_id` != 1863858
2023-10-13	13:42:18	4366	[DEBUG]	Query for ProductLang
2023-10-13	13:42:18	4366	[DEBUG]	Executed store
2023-10-13	13:42:18	4366	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : DRA29210TLR2CE',`product_name`='MSC PNEU DRAGSTER 29 X 2.10 TLR 2C XC EPIC SHILD 120 TPI  / SKINWALL',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-dragster-29-x-2-10-tlr-2c-xc-epic-shild-120-tpi-skinwall' WHERE `virtuemart_product_id` = '1863858'
2023-10-13	13:42:18	4366	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34138_dragster_29_x_2_10_tlr_2c_xc_epic_shild_120_tpi_.jpg
2023-10-13	13:42:18	4366	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:18	4366	[DEBUG]	Process image file
2023-10-13	13:42:18	4366	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:18	4366	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:18	4366	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34138_dragster_29_x_2_10_tlr_2c_xc_epic_shild_120_tpi_.jpg
2023-10-13	13:42:18	4366	[DEBUG]	Full name target: bcprisme/34138_dragster_29_x_2_10_tlr_2c_xc_epic_shild_120_tpi_.jpg
2023-10-13	13:42:19	4366	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:19	4366	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34138_dragster_29_x_2_10_tlr_2c_xc_epic_shild_120_tpi_.jpg'
2023-10-13	13:42:19	4366	[DEBUG]	Query for Media
2023-10-13	13:42:19	4366	[DEBUG]	Executed store
2023-10-13	13:42:19	4366	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34138_dragster_29_x_2_10_tlr_2c_xc_epic_shild_120_tpi_.jpg',`file_url_thumb`='bcprisme/34138_dragster_29_x_2_10_tlr_2c_xc_epic_shild_120_tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16610'
2023-10-13	13:42:19	4366	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:19	4366	[DEBUG]	Executed store
2023-10-13	13:42:19	4366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863858','16610','1')
2023-10-13	13:42:19	4366	[DEBUG]	Store product image relation
2023-10-13	13:42:19	4366	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:19	4366	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863858 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:19	4366	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:19	4366	[DEBUG]	Executed store
2023-10-13	13:42:19	4366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863858','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:19	4366	[DEBUG]	Checking manufacturer
2023-10-13	13:42:19	4366	[DEBUG]	Load a row
2023-10-13	13:42:19	4366	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:19	4366	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:19	4366	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:19	4366	[DEBUG]	Executed store
2023-10-13	13:42:19	4366	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:19	4366	[DEBUG]	Manufacturer exists
2023-10-13	13:42:19	4366	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:19	4366	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:19	4366	[DEBUG]	Executed store
2023-10-13	13:42:19	4366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863858','32')
2023-10-13	13:42:19	4366	[DEBUG]	Find the custom field ID
2023-10-13	13:42:19	4366	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:19	4366	[DEBUG]	No custom field ID found
2023-10-13	13:42:19	4366	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:19	4366	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:42:19	4366	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863858 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:19	4366	[DEBUG]	Store custom available field
2023-10-13	13:42:19	4366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863858,3,'0',1)
2023-10-13	13:42:19	4366	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:19	4366	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:19	4366	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863858 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:19	4366	[DEBUG]	Store custom available field
2023-10-13	13:42:19	4366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863858,6,'choisir la taille',3)
2023-10-13	13:42:19	4366	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:19	4366	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:19	4366	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:19	4366	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:19	4366	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863858 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:19	4366	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:19	4366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863858,8,1)
2023-10-13	13:42:19	4366	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:19	4366	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863858\":[1863858,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863858
2023-10-13	13:42:19	4366	[DEBUG]	Checking category
2023-10-13	13:42:19	4366	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:19	4366	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863858
2023-10-13	13:42:19	4366	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:19	4366	[DEBUG]	Executed store
2023-10-13	13:42:19	4366	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863858','7412')
2023-10-13	13:42:19	4366	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:19	4366	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863858 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:19	4366	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:19	4366	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863858
2023-10-13	13:42:19	4367	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:19	4367	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:19	4367	[DEBUG]	Use field value for field taille
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:19	4367	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:19	4367	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:19	4367	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:19	4367	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:19	4367	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:19	4367	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:19	4367	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:19	4367	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:19	4367	[DEBUG]	Use field value for field published
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:19	4367	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field override
2023-10-13	13:42:19	4367	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:19	4367	[DEBUG]	Use field value for field slug
2023-10-13	13:42:19	4367	[DEBUG]	Process line 4367
2023-10-13	13:42:19	4367	[DEBUG]	Load a row
2023-10-13	13:42:19	4367	[DEBUG]	Processing item: 8435466216375
2023-10-13	13:42:19	4367	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:19	4367	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:19	4367	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6999_392'
2023-10-13	13:42:19	4367	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:19	4367	[DEBUG]	Processing product tax
2023-10-13	13:42:19	4367	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:19	4367	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:19	4367	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:19	4367	[DEBUG]	Query for Product
2023-10-13	13:42:19	4367	[DEBUG]	Executed store
2023-10-13	13:42:19	4367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863858','8435466216375','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:19	4367	[DEBUG]	No parent found
2023-10-13	13:42:19	4367	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863858 AND customfield_value = 'stockable'
2023-10-13	13:42:19	4367	[DEBUG]	Check product language entry
2023-10-13	13:42:19	4367	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863859
2023-10-13	13:42:19	4367	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:19	4367	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216375' AND `virtuemart_product_id` != 1863859
2023-10-13	13:42:19	4367	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:19	4367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863859, '8435466216375')
2023-10-13	13:42:19	4367	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:19	4367	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-dragster-29-x-2-10-tlr-2c-xc-epic-shild-120-tpi-skinwall-unitaire' AND `virtuemart_product_id` != 1863859
2023-10-13	13:42:19	4367	[DEBUG]	Query for ProductLang
2023-10-13	13:42:19	4367	[DEBUG]	Executed store
2023-10-13	13:42:19	4367	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU DRAGSTER 29 X 2.10 TLR 2C XC EPIC SHILD 120 TPI  / SKINWALL (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-dragster-29-x-2-10-tlr-2c-xc-epic-shild-120-tpi-skinwall-unitaire' WHERE `virtuemart_product_id` = '1863859'
2023-10-13	13:42:19	4367	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34138_dragster_29_x_2_10_tlr_2c_xc_epic_shild_120_tpi_.jpg
2023-10-13	13:42:19	4367	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:19	4367	[DEBUG]	Process image file
2023-10-13	13:42:19	4367	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:19	4367	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:19	4367	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34138_dragster_29_x_2_10_tlr_2c_xc_epic_shild_120_tpi_.jpg
2023-10-13	13:42:19	4367	[DEBUG]	Full name target: bcprisme/34138_dragster_29_x_2_10_tlr_2c_xc_epic_shild_120_tpi_.jpg
2023-10-13	13:42:20	4367	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:20	4367	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34138_dragster_29_x_2_10_tlr_2c_xc_epic_shild_120_tpi_.jpg'
2023-10-13	13:42:20	4367	[DEBUG]	Query for Media
2023-10-13	13:42:20	4367	[DEBUG]	Executed store
2023-10-13	13:42:20	4367	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34138_dragster_29_x_2_10_tlr_2c_xc_epic_shild_120_tpi_.jpg',`file_url_thumb`='bcprisme/34138_dragster_29_x_2_10_tlr_2c_xc_epic_shild_120_tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '16610'
2023-10-13	13:42:20	4367	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:20	4367	[DEBUG]	Executed store
2023-10-13	13:42:20	4367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863859','16610','1')
2023-10-13	13:42:20	4367	[DEBUG]	Store product image relation
2023-10-13	13:42:20	4367	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:20	4367	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863859 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:20	4367	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:20	4367	[DEBUG]	Executed store
2023-10-13	13:42:20	4367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863859','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:20	4367	[DEBUG]	Checking manufacturer
2023-10-13	13:42:20	4367	[DEBUG]	Load a row
2023-10-13	13:42:20	4367	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:20	4367	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:20	4367	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:20	4367	[DEBUG]	Executed store
2023-10-13	13:42:20	4367	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:20	4367	[DEBUG]	Manufacturer exists
2023-10-13	13:42:20	4367	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:20	4367	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:20	4367	[DEBUG]	Executed store
2023-10-13	13:42:20	4367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863859','32')
2023-10-13	13:42:20	4367	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:20	4367	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:20	4367	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863859 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:20	4367	[DEBUG]	Store custom available field
2023-10-13	13:42:20	4367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863859,3,'',1)
2023-10-13	13:42:20	4367	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:20	4367	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:20	4367	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863859 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:20	4367	[DEBUG]	Store custom available field
2023-10-13	13:42:20	4367	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863859,6,'Unitaire',3)
2023-10-13	13:42:20	4367	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:20	4367	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:20	4367	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863858
2023-10-13	13:42:20	4367	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:20	4367	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863858\":[1863858,8,1,\"choisir la taille\"],\"1863859\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863858
2023-10-13	13:42:20	4367	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:20	4367	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863859
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:20	4368	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field taille
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:20	4368	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:20	4368	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:20	4368	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:20	4368	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:20	4368	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:20	4368	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field published
2023-10-13	13:42:20	4368	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:20	4368	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field override
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:20	4368	[DEBUG]	Use field value for field slug
2023-10-13	13:42:20	4368	[DEBUG]	Process line 4368
2023-10-13	13:42:20	4368	[DEBUG]	Load a row
2023-10-13	13:42:20	4368	[DEBUG]	Processing item: A_7275_171
2023-10-13	13:42:20	4368	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:20	4368	[DEBUG]	Processing product tax
2023-10-13	13:42:20	4368	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:20	4368	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:20	4368	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:20	4368	[DEBUG]	Query for Product
2023-10-13	13:42:20	4368	[DEBUG]	Executed store
2023-10-13	13:42:20	4368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7275_171','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:20	4368	[DEBUG]	Check product language entry
2023-10-13	13:42:20	4368	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863860
2023-10-13	13:42:20	4368	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:20	4368	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7275_171' AND `virtuemart_product_id` != 1863860
2023-10-13	13:42:20	4368	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:20	4368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863860, 'A_7275_171')
2023-10-13	13:42:20	4368	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:20	4368	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-rock-roller-29-x-2-20-tlr-2c-xc-epic-shield-120tpi-marron' AND `virtuemart_product_id` != 1863860
2023-10-13	13:42:20	4368	[DEBUG]	Query for ProductLang
2023-10-13	13:42:20	4368	[DEBUG]	Executed store
2023-10-13	13:42:20	4368	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='715 g<br><br>-Accroche: 5/5<br> -Traction: 4/5<br> -Vitesse: 5/5<br> -Sol optimal: sec/humide<br> -Gomme: 62a/60a<br> -ETRTO : 54-622<br><br>Son nom dit tout. Vitesse maximale et contrôle maximum. Comment est-ce possible?<br><br>La zone centrale des crampons parallèles, compacts et en forme de rampe permet de réduire le frottement au maximum pour rouler aussi vite que possible. Les crampons intermédiaires permettent une transition parfaite dans les virages et de maintenir une bonne<br><br>traction en tout temps, tandis que les crampons latérales surdimensionnés et arrangés avec notre célèbre design décalé donnent le Rock & Roller une adhérence en virage jamais vu sur un pneu de Xcountry/marathon.<br><br>E25<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br> électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br> certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br> plus élevées, tels que le vélo électrique.<br><br>EPIC SHIELD: <br><br>Protection de tringle à tringle pour éviter les perforations et les coupures dans<br> toutes les zones du pneu, offrant une plus grande rigidité et moins de déformation du pneu à<br> basse pression. Recommandé pour les parcours xc, marathon et par étapes.<br>N° art fourn : ROC29220TLR2CE',`product_name`='MSC PNEU ROCK & ROLLER 29 X 2.20 TLR 2C XC EPIC SHIELD 120TPI / Marron',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-rock-roller-29-x-2-20-tlr-2c-xc-epic-shield-120tpi-marron' WHERE `virtuemart_product_id` = '1863860'
2023-10-13	13:42:20	4368	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34461_rock_&_roller_29_x_2_20_tlr_2c_xc_epic_shield_120tpi.jpg
2023-10-13	13:42:20	4368	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:20	4368	[DEBUG]	Process image file
2023-10-13	13:42:20	4368	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:20	4368	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:20	4368	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34461_rock_&_roller_29_x_2_20_tlr_2c_xc_epic_shield_120tpi.jpg
2023-10-13	13:42:20	4368	[DEBUG]	Full name target: bcprisme/34461_rock_&_roller_29_x_2_20_tlr_2c_xc_epic_shield_120tpi.jpg
2023-10-13	13:42:21	4368	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:21	4368	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34461_rock_&_roller_29_x_2_20_tlr_2c_xc_epic_shield_120tpi.jpg'
2023-10-13	13:42:21	4368	[DEBUG]	Query for Media
2023-10-13	13:42:21	4368	[DEBUG]	Executed store
2023-10-13	13:42:21	4368	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34461_rock_&_roller_29_x_2_20_tlr_2c_xc_epic_shield_120tpi.jpg',`file_url_thumb`='bcprisme/34461_rock_&_roller_29_x_2_20_tlr_2c_xc_epic_shield_120tpi.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267265'
2023-10-13	13:42:21	4368	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:21	4368	[DEBUG]	Executed store
2023-10-13	13:42:21	4368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863860','267265','1')
2023-10-13	13:42:21	4368	[DEBUG]	Store product image relation
2023-10-13	13:42:21	4368	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:21	4368	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863860 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:21	4368	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:21	4368	[DEBUG]	Executed store
2023-10-13	13:42:21	4368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863860','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:21	4368	[DEBUG]	Checking manufacturer
2023-10-13	13:42:21	4368	[DEBUG]	Load a row
2023-10-13	13:42:21	4368	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:21	4368	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:21	4368	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:21	4368	[DEBUG]	Executed store
2023-10-13	13:42:21	4368	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:21	4368	[DEBUG]	Manufacturer exists
2023-10-13	13:42:21	4368	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:21	4368	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:21	4368	[DEBUG]	Executed store
2023-10-13	13:42:21	4368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863860','32')
2023-10-13	13:42:21	4368	[DEBUG]	Find the custom field ID
2023-10-13	13:42:21	4368	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:21	4368	[DEBUG]	No custom field ID found
2023-10-13	13:42:21	4368	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:21	4368	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:42:21	4368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863860 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:21	4368	[DEBUG]	Store custom available field
2023-10-13	13:42:21	4368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863860,3,'54.7475',1)
2023-10-13	13:42:21	4368	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:21	4368	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:21	4368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863860 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:21	4368	[DEBUG]	Store custom available field
2023-10-13	13:42:21	4368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863860,6,'choisir la taille',3)
2023-10-13	13:42:21	4368	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:21	4368	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:21	4368	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:21	4368	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:21	4368	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863860 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:21	4368	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:21	4368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863860,8,1)
2023-10-13	13:42:21	4368	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:21	4368	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863860\":[1863860,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863860
2023-10-13	13:42:21	4368	[DEBUG]	Checking category
2023-10-13	13:42:21	4368	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:21	4368	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863860
2023-10-13	13:42:21	4368	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:21	4368	[DEBUG]	Executed store
2023-10-13	13:42:21	4368	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863860','7412')
2023-10-13	13:42:21	4368	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:21	4368	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863860 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:21	4368	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:21	4368	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863860
2023-10-13	13:42:21	4369	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:21	4369	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:21	4369	[DEBUG]	Use field value for field taille
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:21	4369	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:21	4369	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:21	4369	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:21	4369	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:21	4369	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:21	4369	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:21	4369	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:21	4369	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:21	4369	[DEBUG]	Use field value for field published
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:21	4369	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field override
2023-10-13	13:42:21	4369	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:21	4369	[DEBUG]	Use field value for field slug
2023-10-13	13:42:21	4369	[DEBUG]	Process line 4369
2023-10-13	13:42:21	4369	[DEBUG]	Load a row
2023-10-13	13:42:21	4369	[DEBUG]	Processing item: 8435466216917
2023-10-13	13:42:21	4369	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:21	4369	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:21	4369	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7275_171'
2023-10-13	13:42:21	4369	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:21	4369	[DEBUG]	Processing product tax
2023-10-13	13:42:21	4369	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:21	4369	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:21	4369	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:21	4369	[DEBUG]	Query for Product
2023-10-13	13:42:21	4369	[DEBUG]	Executed store
2023-10-13	13:42:21	4369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863860','8435466216917','0','KG','M','','13','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:21	4369	[DEBUG]	No parent found
2023-10-13	13:42:21	4369	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863860 AND customfield_value = 'stockable'
2023-10-13	13:42:21	4369	[DEBUG]	Check product language entry
2023-10-13	13:42:21	4369	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863861
2023-10-13	13:42:21	4369	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:21	4369	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216917' AND `virtuemart_product_id` != 1863861
2023-10-13	13:42:21	4369	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:21	4369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863861, '8435466216917')
2023-10-13	13:42:21	4369	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:21	4369	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-rock-roller-29-x-2-20-tlr-2c-xc-epic-shield-120tpi-marron-unitaire' AND `virtuemart_product_id` != 1863861
2023-10-13	13:42:21	4369	[DEBUG]	Query for ProductLang
2023-10-13	13:42:21	4369	[DEBUG]	Executed store
2023-10-13	13:42:21	4369	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROCK & ROLLER 29 X 2.20 TLR 2C XC EPIC SHIELD 120TPI / Marron (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-rock-roller-29-x-2-20-tlr-2c-xc-epic-shield-120tpi-marron-unitaire' WHERE `virtuemart_product_id` = '1863861'
2023-10-13	13:42:21	4369	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34461_rock_&_roller_29_x_2_20_tlr_2c_xc_epic_shield_120tpi.jpg
2023-10-13	13:42:21	4369	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:21	4369	[DEBUG]	Process image file
2023-10-13	13:42:21	4369	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:21	4369	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:21	4369	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34461_rock_&_roller_29_x_2_20_tlr_2c_xc_epic_shield_120tpi.jpg
2023-10-13	13:42:21	4369	[DEBUG]	Full name target: bcprisme/34461_rock_&_roller_29_x_2_20_tlr_2c_xc_epic_shield_120tpi.jpg
2023-10-13	13:42:22	4369	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:22	4369	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34461_rock_&_roller_29_x_2_20_tlr_2c_xc_epic_shield_120tpi.jpg'
2023-10-13	13:42:22	4369	[DEBUG]	Query for Media
2023-10-13	13:42:22	4369	[DEBUG]	Executed store
2023-10-13	13:42:22	4369	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34461_rock_&_roller_29_x_2_20_tlr_2c_xc_epic_shield_120tpi.jpg',`file_url_thumb`='bcprisme/34461_rock_&_roller_29_x_2_20_tlr_2c_xc_epic_shield_120tpi.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267265'
2023-10-13	13:42:22	4369	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:22	4369	[DEBUG]	Executed store
2023-10-13	13:42:22	4369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863861','267265','1')
2023-10-13	13:42:22	4369	[DEBUG]	Store product image relation
2023-10-13	13:42:22	4369	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:22	4369	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863861 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:22	4369	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:22	4369	[DEBUG]	Executed store
2023-10-13	13:42:22	4369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863861','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:22	4369	[DEBUG]	Checking manufacturer
2023-10-13	13:42:22	4369	[DEBUG]	Load a row
2023-10-13	13:42:22	4369	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:22	4369	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:22	4369	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:22	4369	[DEBUG]	Executed store
2023-10-13	13:42:22	4369	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:22	4369	[DEBUG]	Manufacturer exists
2023-10-13	13:42:22	4369	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:22	4369	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:22	4369	[DEBUG]	Executed store
2023-10-13	13:42:22	4369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863861','32')
2023-10-13	13:42:22	4369	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:22	4369	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:22	4369	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863861 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:22	4369	[DEBUG]	Store custom available field
2023-10-13	13:42:22	4369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863861,3,'',1)
2023-10-13	13:42:22	4369	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:22	4369	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:22	4369	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863861 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:22	4369	[DEBUG]	Store custom available field
2023-10-13	13:42:22	4369	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863861,6,'Unitaire',3)
2023-10-13	13:42:22	4369	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:22	4369	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:22	4369	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863860
2023-10-13	13:42:22	4369	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:22	4369	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863860\":[1863860,8,1,\"choisir la taille\"],\"1863861\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863860
2023-10-13	13:42:22	4369	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:22	4369	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863861
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:22	4370	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field taille
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:22	4370	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:22	4370	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:22	4370	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:22	4370	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:22	4370	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:22	4370	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field published
2023-10-13	13:42:22	4370	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:22	4370	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field override
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:22	4370	[DEBUG]	Use field value for field slug
2023-10-13	13:42:22	4370	[DEBUG]	Process line 4370
2023-10-13	13:42:22	4370	[DEBUG]	Load a row
2023-10-13	13:42:22	4370	[DEBUG]	Processing item: A_7434_84
2023-10-13	13:42:22	4370	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:22	4370	[DEBUG]	Processing product tax
2023-10-13	13:42:22	4370	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:22	4370	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:22	4370	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:22	4370	[DEBUG]	Query for Product
2023-10-13	13:42:22	4370	[DEBUG]	Executed store
2023-10-13	13:42:22	4370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7434_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:22	4370	[DEBUG]	Check product language entry
2023-10-13	13:42:22	4370	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863862
2023-10-13	13:42:22	4370	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:22	4370	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7434_84' AND `virtuemart_product_id` != 1863862
2023-10-13	13:42:22	4370	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:22	4370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863862, 'A_7434_84')
2023-10-13	13:42:22	4370	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:22	4370	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rocket-ron-29x2-25-superground-addix-speedgrip-tl-e-black-black' AND `virtuemart_product_id` != 1863862
2023-10-13	13:42:22	4370	[DEBUG]	Query for ProductLang
2023-10-13	13:42:22	4370	[DEBUG]	Executed store
2023-10-13	13:42:22	4370	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.79411',`product_name`='SCHWALBE PNEU ROCKET RON 29X2.25 SuperGround Addix SpeedGrip TL-E black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rocket-ron-29x2-25-superground-addix-speedgrip-tl-e-black-black' WHERE `virtuemart_product_id` = '1863862'
2023-10-13	13:42:22	4370	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79412_001.jpg
2023-10-13	13:42:22	4370	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:22	4370	[DEBUG]	Process image file
2023-10-13	13:42:22	4370	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:22	4370	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:22	4370	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79412_001.jpg
2023-10-13	13:42:22	4370	[DEBUG]	Full name target: bcprisme/24_79412_001.jpg
2023-10-13	13:42:23	4370	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:23	4370	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_79412_001.jpg'
2023-10-13	13:42:23	4370	[DEBUG]	Query for Media
2023-10-13	13:42:23	4370	[DEBUG]	Executed store
2023-10-13	13:42:23	4370	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_79412_001.jpg',`file_url_thumb`='bcprisme/24_79412_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '216907'
2023-10-13	13:42:23	4370	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:23	4370	[DEBUG]	Executed store
2023-10-13	13:42:23	4370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863862','216907','1')
2023-10-13	13:42:23	4370	[DEBUG]	Store product image relation
2023-10-13	13:42:23	4370	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:23	4370	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863862 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:23	4370	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:23	4370	[DEBUG]	Executed store
2023-10-13	13:42:23	4370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863862','0','68.7093779015785','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:23	4370	[DEBUG]	Checking manufacturer
2023-10-13	13:42:23	4370	[DEBUG]	Load a row
2023-10-13	13:42:23	4370	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:23	4370	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:42:23	4370	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:23	4370	[DEBUG]	Executed store
2023-10-13	13:42:23	4370	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:42:23	4370	[DEBUG]	Manufacturer exists
2023-10-13	13:42:23	4370	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:42:23	4370	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:23	4370	[DEBUG]	Executed store
2023-10-13	13:42:23	4370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863862','24')
2023-10-13	13:42:23	4370	[DEBUG]	Find the custom field ID
2023-10-13	13:42:23	4370	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:23	4370	[DEBUG]	No custom field ID found
2023-10-13	13:42:23	4370	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:23	4370	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:42:23	4370	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863862 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:23	4370	[DEBUG]	Store custom available field
2023-10-13	13:42:23	4370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863862,3,'0',1)
2023-10-13	13:42:23	4370	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:23	4370	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:23	4370	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863862 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:23	4370	[DEBUG]	Store custom available field
2023-10-13	13:42:23	4370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863862,6,'choisir la taille',3)
2023-10-13	13:42:23	4370	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:23	4370	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:23	4370	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:23	4370	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:23	4370	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863862 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:23	4370	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:23	4370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863862,8,1)
2023-10-13	13:42:23	4370	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:23	4370	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863862\":[1863862,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863862
2023-10-13	13:42:23	4370	[DEBUG]	Checking category
2023-10-13	13:42:23	4370	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:23	4370	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863862
2023-10-13	13:42:23	4370	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:23	4370	[DEBUG]	Executed store
2023-10-13	13:42:23	4370	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863862','7412')
2023-10-13	13:42:23	4370	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:23	4370	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863862 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:23	4370	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:23	4370	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863862
2023-10-13	13:42:23	4371	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:23	4371	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:23	4371	[DEBUG]	Use field value for field taille
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:23	4371	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:23	4371	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:23	4371	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:23	4371	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:23	4371	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:23	4371	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:23	4371	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:23	4371	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:23	4371	[DEBUG]	Use field value for field published
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:23	4371	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field override
2023-10-13	13:42:23	4371	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:23	4371	[DEBUG]	Use field value for field slug
2023-10-13	13:42:23	4371	[DEBUG]	Process line 4371
2023-10-13	13:42:23	4371	[DEBUG]	Load a row
2023-10-13	13:42:23	4371	[DEBUG]	Processing item: 4026495879712
2023-10-13	13:42:23	4371	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:23	4371	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:23	4371	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7434_84'
2023-10-13	13:42:23	4371	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:23	4371	[DEBUG]	Processing product tax
2023-10-13	13:42:23	4371	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:23	4371	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:23	4371	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:23	4371	[DEBUG]	Query for Product
2023-10-13	13:42:23	4371	[DEBUG]	Executed store
2023-10-13	13:42:23	4371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863862','4026495879712','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:23	4371	[DEBUG]	No parent found
2023-10-13	13:42:23	4371	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863862 AND customfield_value = 'stockable'
2023-10-13	13:42:23	4371	[DEBUG]	Check product language entry
2023-10-13	13:42:23	4371	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863863
2023-10-13	13:42:23	4371	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:23	4371	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495879712' AND `virtuemart_product_id` != 1863863
2023-10-13	13:42:23	4371	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:23	4371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863863, '4026495879712')
2023-10-13	13:42:23	4371	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:23	4371	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-rocket-ron-29x2-25-superground-addix-speedgrip-tl-e-black-black-unitaire' AND `virtuemart_product_id` != 1863863
2023-10-13	13:42:23	4371	[DEBUG]	Query for ProductLang
2023-10-13	13:42:23	4371	[DEBUG]	Executed store
2023-10-13	13:42:23	4371	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU ROCKET RON 29X2.25 SuperGround Addix SpeedGrip TL-E black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-rocket-ron-29x2-25-superground-addix-speedgrip-tl-e-black-black-unitaire' WHERE `virtuemart_product_id` = '1863863'
2023-10-13	13:42:23	4371	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79412_001.jpg
2023-10-13	13:42:23	4371	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:23	4371	[DEBUG]	Process image file
2023-10-13	13:42:23	4371	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:23	4371	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:23	4371	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79412_001.jpg
2023-10-13	13:42:23	4371	[DEBUG]	Full name target: bcprisme/24_79412_001.jpg
2023-10-13	13:42:24	4371	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:24	4371	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_79412_001.jpg'
2023-10-13	13:42:24	4371	[DEBUG]	Query for Media
2023-10-13	13:42:24	4371	[DEBUG]	Executed store
2023-10-13	13:42:24	4371	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_79412_001.jpg',`file_url_thumb`='bcprisme/24_79412_001.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '216907'
2023-10-13	13:42:24	4371	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:24	4371	[DEBUG]	Executed store
2023-10-13	13:42:24	4371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863863','216907','1')
2023-10-13	13:42:24	4371	[DEBUG]	Store product image relation
2023-10-13	13:42:24	4371	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:24	4371	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863863 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:24	4371	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:24	4371	[DEBUG]	Executed store
2023-10-13	13:42:24	4371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863863','0','68.7093779015785','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:24	4371	[DEBUG]	Checking manufacturer
2023-10-13	13:42:24	4371	[DEBUG]	Load a row
2023-10-13	13:42:24	4371	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:24	4371	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:42:24	4371	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:24	4371	[DEBUG]	Executed store
2023-10-13	13:42:24	4371	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:42:24	4371	[DEBUG]	Manufacturer exists
2023-10-13	13:42:24	4371	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:42:24	4371	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:24	4371	[DEBUG]	Executed store
2023-10-13	13:42:24	4371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863863','24')
2023-10-13	13:42:24	4371	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:24	4371	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:24	4371	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863863 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:24	4371	[DEBUG]	Store custom available field
2023-10-13	13:42:24	4371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863863,3,'',1)
2023-10-13	13:42:24	4371	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:24	4371	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:24	4371	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863863 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:24	4371	[DEBUG]	Store custom available field
2023-10-13	13:42:24	4371	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863863,6,'Unitaire',3)
2023-10-13	13:42:24	4371	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:24	4371	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:24	4371	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863862
2023-10-13	13:42:24	4371	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:24	4371	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863862\":[1863862,8,1,\"choisir la taille\"],\"1863863\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863862
2023-10-13	13:42:24	4371	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:24	4371	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863863
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:24	4372	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field taille
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:24	4372	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:24	4372	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:24	4372	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:24	4372	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:24	4372	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:24	4372	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field published
2023-10-13	13:42:24	4372	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:24	4372	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field override
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:24	4372	[DEBUG]	Use field value for field slug
2023-10-13	13:42:24	4372	[DEBUG]	Process line 4372
2023-10-13	13:42:24	4372	[DEBUG]	Load a row
2023-10-13	13:42:24	4372	[DEBUG]	Processing item: A_7522_1
2023-10-13	13:42:24	4372	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:24	4372	[DEBUG]	Processing product tax
2023-10-13	13:42:24	4372	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:24	4372	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:24	4372	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:24	4372	[DEBUG]	Query for Product
2023-10-13	13:42:24	4372	[DEBUG]	Executed store
2023-10-13	13:42:24	4372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7522_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:24	4372	[DEBUG]	Check product language entry
2023-10-13	13:42:24	4372	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863864
2023-10-13	13:42:24	4372	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:24	4372	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7522_1' AND `virtuemart_product_id` != 1863864
2023-10-13	13:42:24	4372	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:24	4372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863864, 'A_7522_1')
2023-10-13	13:42:24	4372	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:24	4372	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-dragster-29-x-2-10-tlr-2c-xc-pro-shield-60-tpi-noir' AND `virtuemart_product_id` != 1863864
2023-10-13	13:42:24	4372	[DEBUG]	Query for ProductLang
2023-10-13	13:42:24	4372	[DEBUG]	Executed store
2023-10-13	13:42:24	4372	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='COMPUESTO: 62A/60A<br>680 g<br>-Accroche: 3/5<br>-Traction: 3/5<br>-Vitesse: 5/5<br>-Sec: 5/5<br>-humide: 3/5<br>-Gomme: 62a/60a<br>-ETRTO : 56-622<br><br>DRAGSTER<br><br>Notre modèle le plus rapide et le plus léger, conçu pour voler sur terrain compact, des pistes ou de l\'asphalte, mais sans perdre les propriétés de l\'adhérence, le freinage et la protection des meilleurs pneus mtb.<br><br>Les crampons centrales sont regroupés compactement, avec une hauteur inférieure et la forme de la rampe pour une accélération incroyable et maintenir la vitesse maximale sur le terrain.<br><br>Les crampons latéraux s\'élèvent assez haut pour pouvoir soutenir en toute confiance dans les virages les plus techniques. Disponible avec les carcasses ProShield et EpicShield pour un pilotage à sécurité maximale.<br>N° art fourn : DRA29210TLR2C',`product_name`='MSC PNEU DRAGSTER 29 X 2.10 TLR 2C XC PRO SHIELD 60 TPI   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-dragster-29-x-2-10-tlr-2c-xc-pro-shield-60-tpi-noir' WHERE `virtuemart_product_id` = '1863864'
2023-10-13	13:42:24	4372	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34921_dragster_29_x_2_20_tlr_2c_xc_pro_shield_60_tpi__.jpg
2023-10-13	13:42:24	4372	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:24	4372	[DEBUG]	Process image file
2023-10-13	13:42:24	4372	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:24	4372	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:24	4372	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34921_dragster_29_x_2_20_tlr_2c_xc_pro_shield_60_tpi__.jpg
2023-10-13	13:42:24	4372	[DEBUG]	Full name target: bcprisme/34921_dragster_29_x_2_20_tlr_2c_xc_pro_shield_60_tpi__.jpg
2023-10-13	13:42:25	4372	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:25	4372	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34921_dragster_29_x_2_20_tlr_2c_xc_pro_shield_60_tpi__.jpg'
2023-10-13	13:42:25	4372	[DEBUG]	Query for Media
2023-10-13	13:42:25	4372	[DEBUG]	Executed store
2023-10-13	13:42:25	4372	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34921_dragster_29_x_2_20_tlr_2c_xc_pro_shield_60_tpi__.jpg',`file_url_thumb`='bcprisme/34921_dragster_29_x_2_20_tlr_2c_xc_pro_shield_60_tpi__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267269'
2023-10-13	13:42:25	4372	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:25	4372	[DEBUG]	Executed store
2023-10-13	13:42:25	4372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863864','267269','1')
2023-10-13	13:42:25	4372	[DEBUG]	Store product image relation
2023-10-13	13:42:25	4372	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:25	4372	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863864 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:25	4372	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:25	4372	[DEBUG]	Executed store
2023-10-13	13:42:25	4372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863864','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:25	4372	[DEBUG]	Checking manufacturer
2023-10-13	13:42:25	4372	[DEBUG]	Load a row
2023-10-13	13:42:25	4372	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:25	4372	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:25	4372	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:25	4372	[DEBUG]	Executed store
2023-10-13	13:42:25	4372	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:25	4372	[DEBUG]	Manufacturer exists
2023-10-13	13:42:25	4372	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:25	4372	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:25	4372	[DEBUG]	Executed store
2023-10-13	13:42:25	4372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863864','32')
2023-10-13	13:42:25	4372	[DEBUG]	Find the custom field ID
2023-10-13	13:42:25	4372	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:25	4372	[DEBUG]	No custom field ID found
2023-10-13	13:42:25	4372	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:25	4372	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:42:25	4372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863864 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:25	4372	[DEBUG]	Store custom available field
2023-10-13	13:42:25	4372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863864,3,'0',1)
2023-10-13	13:42:25	4372	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:25	4372	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:25	4372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863864 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:25	4372	[DEBUG]	Store custom available field
2023-10-13	13:42:25	4372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863864,6,'choisir la taille',3)
2023-10-13	13:42:25	4372	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:25	4372	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:25	4372	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:25	4372	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:25	4372	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863864 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:25	4372	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:25	4372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863864,8,1)
2023-10-13	13:42:25	4372	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:25	4372	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863864\":[1863864,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863864
2023-10-13	13:42:25	4372	[DEBUG]	Checking category
2023-10-13	13:42:25	4372	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:25	4372	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863864
2023-10-13	13:42:25	4372	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:25	4372	[DEBUG]	Executed store
2023-10-13	13:42:25	4372	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863864','7412')
2023-10-13	13:42:25	4372	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:25	4372	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863864 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:25	4372	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:25	4372	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863864
2023-10-13	13:42:25	4373	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:25	4373	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:25	4373	[DEBUG]	Use field value for field taille
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:25	4373	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:25	4373	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:25	4373	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:25	4373	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:25	4373	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:25	4373	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:25	4373	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:25	4373	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:25	4373	[DEBUG]	Use field value for field published
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:25	4373	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field override
2023-10-13	13:42:25	4373	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:25	4373	[DEBUG]	Use field value for field slug
2023-10-13	13:42:25	4373	[DEBUG]	Process line 4373
2023-10-13	13:42:25	4373	[DEBUG]	Load a row
2023-10-13	13:42:25	4373	[DEBUG]	Processing item: 8435466216368
2023-10-13	13:42:25	4373	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:25	4373	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:25	4373	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7522_1'
2023-10-13	13:42:25	4373	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:25	4373	[DEBUG]	Processing product tax
2023-10-13	13:42:25	4373	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:25	4373	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:25	4373	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:25	4373	[DEBUG]	Query for Product
2023-10-13	13:42:25	4373	[DEBUG]	Executed store
2023-10-13	13:42:25	4373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863864','8435466216368','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:25	4373	[DEBUG]	No parent found
2023-10-13	13:42:25	4373	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863864 AND customfield_value = 'stockable'
2023-10-13	13:42:25	4373	[DEBUG]	Check product language entry
2023-10-13	13:42:25	4373	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863865
2023-10-13	13:42:25	4373	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:25	4373	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216368' AND `virtuemart_product_id` != 1863865
2023-10-13	13:42:25	4373	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:25	4373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863865, '8435466216368')
2023-10-13	13:42:25	4373	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:25	4373	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-dragster-29-x-2-10-tlr-2c-xc-pro-shield-60-tpi-noir-unitaire' AND `virtuemart_product_id` != 1863865
2023-10-13	13:42:25	4373	[DEBUG]	Query for ProductLang
2023-10-13	13:42:25	4373	[DEBUG]	Executed store
2023-10-13	13:42:25	4373	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU DRAGSTER 29 X 2.10 TLR 2C XC PRO SHIELD 60 TPI   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-dragster-29-x-2-10-tlr-2c-xc-pro-shield-60-tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863865'
2023-10-13	13:42:25	4373	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34921_dragster_29_x_2_20_tlr_2c_xc_pro_shield_60_tpi__.jpg
2023-10-13	13:42:25	4373	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:25	4373	[DEBUG]	Process image file
2023-10-13	13:42:25	4373	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:25	4373	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:25	4373	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34921_dragster_29_x_2_20_tlr_2c_xc_pro_shield_60_tpi__.jpg
2023-10-13	13:42:25	4373	[DEBUG]	Full name target: bcprisme/34921_dragster_29_x_2_20_tlr_2c_xc_pro_shield_60_tpi__.jpg
2023-10-13	13:42:26	4373	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:26	4373	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34921_dragster_29_x_2_20_tlr_2c_xc_pro_shield_60_tpi__.jpg'
2023-10-13	13:42:26	4373	[DEBUG]	Query for Media
2023-10-13	13:42:26	4373	[DEBUG]	Executed store
2023-10-13	13:42:26	4373	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34921_dragster_29_x_2_20_tlr_2c_xc_pro_shield_60_tpi__.jpg',`file_url_thumb`='bcprisme/34921_dragster_29_x_2_20_tlr_2c_xc_pro_shield_60_tpi__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267269'
2023-10-13	13:42:26	4373	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:26	4373	[DEBUG]	Executed store
2023-10-13	13:42:26	4373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863865','267269','1')
2023-10-13	13:42:26	4373	[DEBUG]	Store product image relation
2023-10-13	13:42:26	4373	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:26	4373	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863865 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:26	4373	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:26	4373	[DEBUG]	Executed store
2023-10-13	13:42:26	4373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863865','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:26	4373	[DEBUG]	Checking manufacturer
2023-10-13	13:42:26	4373	[DEBUG]	Load a row
2023-10-13	13:42:26	4373	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:26	4373	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:26	4373	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:26	4373	[DEBUG]	Executed store
2023-10-13	13:42:26	4373	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:26	4373	[DEBUG]	Manufacturer exists
2023-10-13	13:42:26	4373	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:26	4373	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:26	4373	[DEBUG]	Executed store
2023-10-13	13:42:26	4373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863865','32')
2023-10-13	13:42:26	4373	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:26	4373	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:26	4373	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863865 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:26	4373	[DEBUG]	Store custom available field
2023-10-13	13:42:26	4373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863865,3,'',1)
2023-10-13	13:42:26	4373	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:26	4373	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:26	4373	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863865 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:26	4373	[DEBUG]	Store custom available field
2023-10-13	13:42:26	4373	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863865,6,'Unitaire',3)
2023-10-13	13:42:26	4373	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:26	4373	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:26	4373	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863864
2023-10-13	13:42:26	4373	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:26	4373	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863864\":[1863864,8,1,\"choisir la taille\"],\"1863865\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863864
2023-10-13	13:42:26	4373	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:26	4373	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863865
2023-10-13	13:42:26	4374	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:26	4374	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:26	4374	[DEBUG]	Use field value for field taille
2023-10-13	13:42:26	4374	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:26	4374	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:26	4374	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:26	4374	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:26	4374	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:26	4374	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:26	4374	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:27	4374	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:27	4374	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:27	4374	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:27	4374	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:27	4374	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:27	4374	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:27	4374	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:27	4374	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:27	4374	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:27	4374	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:27	4374	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:27	4374	[DEBUG]	Use field value for field published
2023-10-13	13:42:27	4374	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:27	4374	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:27	4374	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:27	4374	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:27	4374	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:27	4374	[DEBUG]	Use field value for field override
2023-10-13	13:42:27	4374	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:27	4374	[DEBUG]	Use field value for field slug
2023-10-13	13:42:27	4374	[DEBUG]	Process line 4374
2023-10-13	13:42:27	4374	[DEBUG]	Load a row
2023-10-13	13:42:27	4374	[DEBUG]	Processing item: A_7523_120
2023-10-13	13:42:27	4374	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:27	4374	[DEBUG]	Processing product tax
2023-10-13	13:42:27	4374	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:27	4374	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:27	4374	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:27	4374	[DEBUG]	Query for Product
2023-10-13	13:42:27	4374	[DEBUG]	Executed store
2023-10-13	13:42:27	4374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7523_120','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:27	4374	[DEBUG]	Check product language entry
2023-10-13	13:42:27	4374	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863866
2023-10-13	13:42:27	4374	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:27	4374	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7523_120' AND `virtuemart_product_id` != 1863866
2023-10-13	13:42:27	4374	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:27	4374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863866, 'A_7523_120')
2023-10-13	13:42:27	4374	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:27	4374	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-dragster-29-x-2-20-tlr-2c-xc-epic-shield-120-tpi-brown' AND `virtuemart_product_id` != 1863866
2023-10-13	13:42:27	4374	[DEBUG]	Query for ProductLang
2023-10-13	13:42:27	4374	[DEBUG]	Executed store
2023-10-13	13:42:27	4374	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Marron<br>COMPUESTO: 62A/60A<br>750 g<br>-Accroche: 3/5<br>-Traction: 3/5<br>-Vitesse: 5/5<br>-Sec: 5/5<br>-Humide: 3/5<br>-Gomme: 62a/60a<br>-ETRTO : 54-622<br><br>DRAGSTER<br><br>Notre modèle le plus rapide et le plus léger, conçu pour voler sur terrain compact, des pistes ou de l\'asphalte, mais sans perdre les propriétés de l\'adhérence, le freinage et la protection des meilleurs pneus mtb.<br><br>Les crampons centrales sont regroupés compactement, avec une hauteur inférieure et la forme de la rampe pour une accélération incroyable et maintenir la vitesse maximale sur le terrain.<br><br>Les crampons latéraux s\'élèvent assez haut pour pouvoir soutenir en toute confiance dans les virages les plus techniques. Disponible avec les carcasses ProShield et EpicShield pour un pilotage à sécurité maximale.<br><br>E25:<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br>électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br>certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br>plus élevées, tels que le vélo électrique.<br><br>EPIC SHIELD:<br>Protection de tringle à tringle pour éviter les perforations et les coupures dans<br>toutes les zones du pneu, offrant une plus grande rigidité et moins de déformation du pneu à<br>basse pression. Recommandé pour les parcours xc, marathon et par étapes.<br>N° art fourn : DRA29220TLR2CE',`product_name`='MSC PNEU DRAGSTER 29 X 2.20 TLR 2C XC EPIC SHIELD 120 TPI   / Brown',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-dragster-29-x-2-20-tlr-2c-xc-epic-shield-120-tpi-brown' WHERE `virtuemart_product_id` = '1863866'
2023-10-13	13:42:27	4374	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34922_dragster_29_x_2_20_tlr_2c_xc_epic_shield_60_tpi__.jpg
2023-10-13	13:42:27	4374	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:27	4374	[DEBUG]	Process image file
2023-10-13	13:42:27	4374	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:27	4374	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:27	4374	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34922_dragster_29_x_2_20_tlr_2c_xc_epic_shield_60_tpi__.jpg
2023-10-13	13:42:27	4374	[DEBUG]	Full name target: bcprisme/34922_dragster_29_x_2_20_tlr_2c_xc_epic_shield_60_tpi__.jpg
2023-10-13	13:42:28	4374	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:28	4374	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34922_dragster_29_x_2_20_tlr_2c_xc_epic_shield_60_tpi__.jpg'
2023-10-13	13:42:28	4374	[DEBUG]	Query for Media
2023-10-13	13:42:28	4374	[DEBUG]	Executed store
2023-10-13	13:42:28	4374	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34922_dragster_29_x_2_20_tlr_2c_xc_epic_shield_60_tpi__.jpg',`file_url_thumb`='bcprisme/34922_dragster_29_x_2_20_tlr_2c_xc_epic_shield_60_tpi__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267271'
2023-10-13	13:42:28	4374	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:28	4374	[DEBUG]	Executed store
2023-10-13	13:42:28	4374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863866','267271','1')
2023-10-13	13:42:28	4374	[DEBUG]	Store product image relation
2023-10-13	13:42:28	4374	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:28	4374	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863866 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:28	4374	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:28	4374	[DEBUG]	Executed store
2023-10-13	13:42:28	4374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863866','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:28	4374	[DEBUG]	Checking manufacturer
2023-10-13	13:42:28	4374	[DEBUG]	Load a row
2023-10-13	13:42:28	4374	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:28	4374	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:28	4374	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:28	4374	[DEBUG]	Executed store
2023-10-13	13:42:28	4374	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:28	4374	[DEBUG]	Manufacturer exists
2023-10-13	13:42:28	4374	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:28	4374	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:28	4374	[DEBUG]	Executed store
2023-10-13	13:42:28	4374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863866','32')
2023-10-13	13:42:28	4374	[DEBUG]	Find the custom field ID
2023-10-13	13:42:28	4374	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:28	4374	[DEBUG]	No custom field ID found
2023-10-13	13:42:28	4374	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:28	4374	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:42:28	4374	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863866 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:28	4374	[DEBUG]	Store custom available field
2023-10-13	13:42:28	4374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863866,3,'0',1)
2023-10-13	13:42:28	4374	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:28	4374	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:28	4374	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863866 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:28	4374	[DEBUG]	Store custom available field
2023-10-13	13:42:28	4374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863866,6,'choisir la taille',3)
2023-10-13	13:42:28	4374	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:28	4374	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:28	4374	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:28	4374	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:28	4374	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863866 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:28	4374	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:28	4374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863866,8,1)
2023-10-13	13:42:28	4374	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:28	4374	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863866\":[1863866,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863866
2023-10-13	13:42:28	4374	[DEBUG]	Checking category
2023-10-13	13:42:28	4374	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:28	4374	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863866
2023-10-13	13:42:28	4374	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:28	4374	[DEBUG]	Executed store
2023-10-13	13:42:28	4374	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863866','7412')
2023-10-13	13:42:28	4374	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:28	4374	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863866 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:28	4374	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:28	4374	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863866
2023-10-13	13:42:28	4375	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:28	4375	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:28	4375	[DEBUG]	Use field value for field taille
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:28	4375	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:28	4375	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:28	4375	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:28	4375	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:28	4375	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:28	4375	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:28	4375	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:28	4375	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:28	4375	[DEBUG]	Use field value for field published
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:28	4375	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field override
2023-10-13	13:42:28	4375	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:28	4375	[DEBUG]	Use field value for field slug
2023-10-13	13:42:28	4375	[DEBUG]	Process line 4375
2023-10-13	13:42:28	4375	[DEBUG]	Load a row
2023-10-13	13:42:28	4375	[DEBUG]	Processing item: 8435466217174
2023-10-13	13:42:28	4375	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:28	4375	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:28	4375	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7523_120'
2023-10-13	13:42:28	4375	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:28	4375	[DEBUG]	Processing product tax
2023-10-13	13:42:28	4375	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:28	4375	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:28	4375	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:28	4375	[DEBUG]	Query for Product
2023-10-13	13:42:28	4375	[DEBUG]	Executed store
2023-10-13	13:42:28	4375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863866','8435466217174','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:28	4375	[DEBUG]	No parent found
2023-10-13	13:42:28	4375	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863866 AND customfield_value = 'stockable'
2023-10-13	13:42:28	4375	[DEBUG]	Check product language entry
2023-10-13	13:42:28	4375	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863867
2023-10-13	13:42:28	4375	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:28	4375	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466217174' AND `virtuemart_product_id` != 1863867
2023-10-13	13:42:28	4375	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:28	4375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863867, '8435466217174')
2023-10-13	13:42:28	4375	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:28	4375	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-dragster-29-x-2-20-tlr-2c-xc-epic-shield-120-tpi-brown-unitaire' AND `virtuemart_product_id` != 1863867
2023-10-13	13:42:28	4375	[DEBUG]	Query for ProductLang
2023-10-13	13:42:28	4375	[DEBUG]	Executed store
2023-10-13	13:42:28	4375	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU DRAGSTER 29 X 2.20 TLR 2C XC EPIC SHIELD 120 TPI   / Brown (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-dragster-29-x-2-20-tlr-2c-xc-epic-shield-120-tpi-brown-unitaire' WHERE `virtuemart_product_id` = '1863867'
2023-10-13	13:42:28	4375	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34922_dragster_29_x_2_20_tlr_2c_xc_epic_shield_60_tpi__.jpg
2023-10-13	13:42:28	4375	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:28	4375	[DEBUG]	Process image file
2023-10-13	13:42:28	4375	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:28	4375	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:28	4375	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34922_dragster_29_x_2_20_tlr_2c_xc_epic_shield_60_tpi__.jpg
2023-10-13	13:42:28	4375	[DEBUG]	Full name target: bcprisme/34922_dragster_29_x_2_20_tlr_2c_xc_epic_shield_60_tpi__.jpg
2023-10-13	13:42:29	4375	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:29	4375	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34922_dragster_29_x_2_20_tlr_2c_xc_epic_shield_60_tpi__.jpg'
2023-10-13	13:42:29	4375	[DEBUG]	Query for Media
2023-10-13	13:42:29	4375	[DEBUG]	Executed store
2023-10-13	13:42:29	4375	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34922_dragster_29_x_2_20_tlr_2c_xc_epic_shield_60_tpi__.jpg',`file_url_thumb`='bcprisme/34922_dragster_29_x_2_20_tlr_2c_xc_epic_shield_60_tpi__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267271'
2023-10-13	13:42:29	4375	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:29	4375	[DEBUG]	Executed store
2023-10-13	13:42:29	4375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863867','267271','1')
2023-10-13	13:42:29	4375	[DEBUG]	Store product image relation
2023-10-13	13:42:29	4375	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:29	4375	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863867 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:29	4375	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:29	4375	[DEBUG]	Executed store
2023-10-13	13:42:29	4375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863867','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:29	4375	[DEBUG]	Checking manufacturer
2023-10-13	13:42:29	4375	[DEBUG]	Load a row
2023-10-13	13:42:29	4375	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:29	4375	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:29	4375	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:29	4375	[DEBUG]	Executed store
2023-10-13	13:42:29	4375	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:29	4375	[DEBUG]	Manufacturer exists
2023-10-13	13:42:29	4375	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:29	4375	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:29	4375	[DEBUG]	Executed store
2023-10-13	13:42:29	4375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863867','32')
2023-10-13	13:42:29	4375	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:29	4375	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:29	4375	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863867 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:29	4375	[DEBUG]	Store custom available field
2023-10-13	13:42:29	4375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863867,3,'',1)
2023-10-13	13:42:29	4375	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:29	4375	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:29	4375	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863867 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:29	4375	[DEBUG]	Store custom available field
2023-10-13	13:42:29	4375	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863867,6,'Unitaire',3)
2023-10-13	13:42:29	4375	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:29	4375	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:29	4375	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863866
2023-10-13	13:42:29	4375	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:29	4375	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863866\":[1863866,8,1,\"choisir la taille\"],\"1863867\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863866
2023-10-13	13:42:29	4375	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:29	4375	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863867
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:29	4376	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field taille
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:29	4376	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:29	4376	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:29	4376	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:29	4376	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:29	4376	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:29	4376	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field published
2023-10-13	13:42:29	4376	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:29	4376	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field override
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:29	4376	[DEBUG]	Use field value for field slug
2023-10-13	13:42:29	4376	[DEBUG]	Process line 4376
2023-10-13	13:42:29	4376	[DEBUG]	Load a row
2023-10-13	13:42:29	4376	[DEBUG]	Processing item: A_7524_1
2023-10-13	13:42:29	4376	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:29	4376	[DEBUG]	Processing product tax
2023-10-13	13:42:29	4376	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:29	4376	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:29	4376	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:29	4376	[DEBUG]	Query for Product
2023-10-13	13:42:29	4376	[DEBUG]	Executed store
2023-10-13	13:42:29	4376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7524_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:29	4376	[DEBUG]	Check product language entry
2023-10-13	13:42:29	4376	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863868
2023-10-13	13:42:29	4376	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:29	4376	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7524_1' AND `virtuemart_product_id` != 1863868
2023-10-13	13:42:29	4376	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:29	4376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863868, 'A_7524_1')
2023-10-13	13:42:29	4376	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:29	4376	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-29x2-40-tlr-1c-dh-xtrem-shield-60tpi-noir' AND `virtuemart_product_id` != 1863868
2023-10-13	13:42:29	4376	[DEBUG]	Query for ProductLang
2023-10-13	13:42:29	4376	[DEBUG]	Executed store
2023-10-13	13:42:29	4376	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>COMPUESTO: 60A<br>1180 g<br>ACCROCHE 5/5<br>VITESSE 3/5<br>HUMIDE 5/5<br>TRACTION 5/5<br>SEC 4/5<br>MOUILLÉ 5/5<br>BOUE 4/5<br>GOMME: 60a<br>ETRTO: 60-622<br><br>Hot Seat, le trône de DH réservé au pilote le plus rapide peut être le vôtre. Notre tout-terrain\" est le meilleur choix pour rouler toute la saison sans avoir à penser à quel pneu rouler pour chaque type de terrain et de conditions.<br><br>Doté d\'un profil plus carré et de crampons latéraux robustes et surélevés, le Hot Seat est conçu pour maintenir une adhérence maximale et une haute prévisibilité du pilotage, quel que soit l\'état du sol.<br><br>L\'espacement et la hauteur des crampons centrales ont été conçus pour réduire considérablement la distance de freinage et même évacuer la boue lorsque la piste devient plus compliquée par la pluie.<br><br>Le pilotage est maintenant plus précis, plus rapide et plus sûre. Le hot Seat intègre la nouvelle carcasse XtremShield conçue pour le gravity qui permet de rouler à basse pression tout en maintenant la rigidité structurelle du pneu et en protégeant votre descente contre les terribles crevaisons.<br><br>E25:<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br>électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br>certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br>plus élevées, tels que le vélo électrique.<br>N° art fourn : HOT29240TLR1CX\"',`product_name`='MSC PNEU HOT SEAT 29X2.40 TLR 1C DH XTREM SHIELD 60TPI / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-29x2-40-tlr-1c-dh-xtrem-shield-60tpi-noir' WHERE `virtuemart_product_id` = '1863868'
2023-10-13	13:42:29	4376	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34923_hot_seat_29x2_40_tlr_1c_dh_xtrem_shield_60tpi.jpg
2023-10-13	13:42:29	4376	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:29	4376	[DEBUG]	Process image file
2023-10-13	13:42:29	4376	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:29	4376	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:29	4376	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34923_hot_seat_29x2_40_tlr_1c_dh_xtrem_shield_60tpi.jpg
2023-10-13	13:42:29	4376	[DEBUG]	Full name target: bcprisme/34923_hot_seat_29x2_40_tlr_1c_dh_xtrem_shield_60tpi.jpg
2023-10-13	13:42:30	4376	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:30	4376	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34923_hot_seat_29x2_40_tlr_1c_dh_xtrem_shield_60tpi.jpg'
2023-10-13	13:42:30	4376	[DEBUG]	Query for Media
2023-10-13	13:42:30	4376	[DEBUG]	Executed store
2023-10-13	13:42:30	4376	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34923_hot_seat_29x2_40_tlr_1c_dh_xtrem_shield_60tpi.jpg',`file_url_thumb`='bcprisme/34923_hot_seat_29x2_40_tlr_1c_dh_xtrem_shield_60tpi.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267273'
2023-10-13	13:42:30	4376	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:30	4376	[DEBUG]	Executed store
2023-10-13	13:42:30	4376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863868','267273','1')
2023-10-13	13:42:30	4376	[DEBUG]	Store product image relation
2023-10-13	13:42:30	4376	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:30	4376	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863868 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:30	4376	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:30	4376	[DEBUG]	Executed store
2023-10-13	13:42:30	4376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863868','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:30	4376	[DEBUG]	Checking manufacturer
2023-10-13	13:42:30	4376	[DEBUG]	Load a row
2023-10-13	13:42:30	4376	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:30	4376	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:30	4376	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:30	4376	[DEBUG]	Executed store
2023-10-13	13:42:30	4376	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:30	4376	[DEBUG]	Manufacturer exists
2023-10-13	13:42:30	4376	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:30	4376	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:30	4376	[DEBUG]	Executed store
2023-10-13	13:42:30	4376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863868','32')
2023-10-13	13:42:30	4376	[DEBUG]	Find the custom field ID
2023-10-13	13:42:30	4376	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:30	4376	[DEBUG]	No custom field ID found
2023-10-13	13:42:30	4376	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:30	4376	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:42:30	4376	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863868 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:30	4376	[DEBUG]	Store custom available field
2023-10-13	13:42:30	4376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863868,3,'0',1)
2023-10-13	13:42:30	4376	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:30	4376	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:30	4376	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863868 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:30	4376	[DEBUG]	Store custom available field
2023-10-13	13:42:30	4376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863868,6,'choisir la taille',3)
2023-10-13	13:42:30	4376	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:30	4376	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:30	4376	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:30	4376	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:30	4376	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863868 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:30	4376	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:30	4376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863868,8,1)
2023-10-13	13:42:30	4376	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:30	4376	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863868\":[1863868,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863868
2023-10-13	13:42:30	4376	[DEBUG]	Checking category
2023-10-13	13:42:30	4376	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:30	4376	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863868
2023-10-13	13:42:30	4376	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:30	4376	[DEBUG]	Executed store
2023-10-13	13:42:30	4376	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863868','7412')
2023-10-13	13:42:30	4376	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:30	4376	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863868 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:30	4376	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:30	4376	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863868
2023-10-13	13:42:30	4377	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:30	4377	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:30	4377	[DEBUG]	Use field value for field taille
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:30	4377	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:30	4377	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:30	4377	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:30	4377	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:30	4377	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:30	4377	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:30	4377	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:30	4377	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:30	4377	[DEBUG]	Use field value for field published
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:30	4377	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field override
2023-10-13	13:42:30	4377	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:30	4377	[DEBUG]	Use field value for field slug
2023-10-13	13:42:30	4377	[DEBUG]	Process line 4377
2023-10-13	13:42:30	4377	[DEBUG]	Load a row
2023-10-13	13:42:30	4377	[DEBUG]	Processing item: 8435466217082
2023-10-13	13:42:30	4377	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:30	4377	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:30	4377	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7524_1'
2023-10-13	13:42:30	4377	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:30	4377	[DEBUG]	Processing product tax
2023-10-13	13:42:30	4377	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:30	4377	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:30	4377	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:30	4377	[DEBUG]	Query for Product
2023-10-13	13:42:30	4377	[DEBUG]	Executed store
2023-10-13	13:42:30	4377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863868','8435466217082','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:30	4377	[DEBUG]	No parent found
2023-10-13	13:42:30	4377	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863868 AND customfield_value = 'stockable'
2023-10-13	13:42:30	4377	[DEBUG]	Check product language entry
2023-10-13	13:42:30	4377	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863869
2023-10-13	13:42:30	4377	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:30	4377	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466217082' AND `virtuemart_product_id` != 1863869
2023-10-13	13:42:30	4377	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:30	4377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863869, '8435466217082')
2023-10-13	13:42:30	4377	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:30	4377	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-29x2-40-tlr-1c-dh-xtrem-shield-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863869
2023-10-13	13:42:30	4377	[DEBUG]	Query for ProductLang
2023-10-13	13:42:30	4377	[DEBUG]	Executed store
2023-10-13	13:42:30	4377	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU HOT SEAT 29X2.40 TLR 1C DH XTREM SHIELD 60TPI / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-29x2-40-tlr-1c-dh-xtrem-shield-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863869'
2023-10-13	13:42:30	4377	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34923_hot_seat_29x2_40_tlr_1c_dh_xtrem_shield_60tpi.jpg
2023-10-13	13:42:30	4377	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:30	4377	[DEBUG]	Process image file
2023-10-13	13:42:30	4377	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:30	4377	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:30	4377	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34923_hot_seat_29x2_40_tlr_1c_dh_xtrem_shield_60tpi.jpg
2023-10-13	13:42:30	4377	[DEBUG]	Full name target: bcprisme/34923_hot_seat_29x2_40_tlr_1c_dh_xtrem_shield_60tpi.jpg
2023-10-13	13:42:31	4377	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:31	4377	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34923_hot_seat_29x2_40_tlr_1c_dh_xtrem_shield_60tpi.jpg'
2023-10-13	13:42:31	4377	[DEBUG]	Query for Media
2023-10-13	13:42:31	4377	[DEBUG]	Executed store
2023-10-13	13:42:31	4377	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34923_hot_seat_29x2_40_tlr_1c_dh_xtrem_shield_60tpi.jpg',`file_url_thumb`='bcprisme/34923_hot_seat_29x2_40_tlr_1c_dh_xtrem_shield_60tpi.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267273'
2023-10-13	13:42:31	4377	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:31	4377	[DEBUG]	Executed store
2023-10-13	13:42:31	4377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863869','267273','1')
2023-10-13	13:42:31	4377	[DEBUG]	Store product image relation
2023-10-13	13:42:31	4377	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:31	4377	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863869 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:31	4377	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:31	4377	[DEBUG]	Executed store
2023-10-13	13:42:31	4377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863869','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:31	4377	[DEBUG]	Checking manufacturer
2023-10-13	13:42:31	4377	[DEBUG]	Load a row
2023-10-13	13:42:31	4377	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:31	4377	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:31	4377	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:31	4377	[DEBUG]	Executed store
2023-10-13	13:42:31	4377	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:31	4377	[DEBUG]	Manufacturer exists
2023-10-13	13:42:31	4377	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:31	4377	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:31	4377	[DEBUG]	Executed store
2023-10-13	13:42:31	4377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863869','32')
2023-10-13	13:42:31	4377	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:31	4377	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:31	4377	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863869 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:31	4377	[DEBUG]	Store custom available field
2023-10-13	13:42:31	4377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863869,3,'',1)
2023-10-13	13:42:31	4377	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:31	4377	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:31	4377	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863869 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:31	4377	[DEBUG]	Store custom available field
2023-10-13	13:42:31	4377	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863869,6,'Unitaire',3)
2023-10-13	13:42:31	4377	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:31	4377	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:31	4377	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863868
2023-10-13	13:42:31	4377	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:31	4377	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863868\":[1863868,8,1,\"choisir la taille\"],\"1863869\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863868
2023-10-13	13:42:31	4377	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:31	4377	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863869
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:31	4378	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field taille
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:31	4378	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:31	4378	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:31	4378	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:31	4378	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:31	4378	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:31	4378	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field published
2023-10-13	13:42:31	4378	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:31	4378	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field override
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:31	4378	[DEBUG]	Use field value for field slug
2023-10-13	13:42:31	4378	[DEBUG]	Process line 4378
2023-10-13	13:42:31	4378	[DEBUG]	Load a row
2023-10-13	13:42:31	4378	[DEBUG]	Processing item: A_7525_1
2023-10-13	13:42:31	4378	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:31	4378	[DEBUG]	Processing product tax
2023-10-13	13:42:31	4378	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:31	4378	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:31	4378	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:31	4378	[DEBUG]	Query for Product
2023-10-13	13:42:31	4378	[DEBUG]	Executed store
2023-10-13	13:42:31	4378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7525_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:31	4378	[DEBUG]	Check product language entry
2023-10-13	13:42:31	4378	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863870
2023-10-13	13:42:31	4378	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:31	4378	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7525_1' AND `virtuemart_product_id` != 1863870
2023-10-13	13:42:31	4378	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:31	4378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863870, 'A_7525_1')
2023-10-13	13:42:31	4378	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:31	4378	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-29x2-40-tlr-2c-dh-xtrem-shield-60tpi-noir' AND `virtuemart_product_id` != 1863870
2023-10-13	13:42:31	4378	[DEBUG]	Query for ProductLang
2023-10-13	13:42:31	4378	[DEBUG]	Executed store
2023-10-13	13:42:31	4378	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>COMPUESTO: 56A/52A<br>1240 g<br>ACCROCHE 5/5<br>VITESSE 3/5<br>HUMIDE 5/5<br>TRACTION 5/5<br>SEC 4/5<br>MOUILLÉ 5/5<br>BOUE 4/5<br>GOMME: 56a/52a<br>ETRTO: 60-622<br><br>Hot Seat, le trône de DH réservé au pilote le plus rapide peut être le vôtre. Notre tout-terrain\" est le meilleur choix pour rouler toute la saison sans avoir à penser à quel pneu rouler pour chaque type de terrain et de conditions.<br><br>Doté d\'un profil plus carré et de crampons latéraux robustes et surélevés, le Hot Seat est conçu pour maintenir une adhérence maximale et une haute prévisibilité du pilotage, quel que soit l\'état du sol.<br><br>L\'espacement et la hauteur des crampons centrales ont été conçus pour réduire considérablement la distance de freinage et même évacuer la boue lorsque la piste devient plus compliquée par la pluie.<br><br>Le pilotage est maintenant plus précis, plus rapide et plus sûre. Le hot Seat intègre la nouvelle carcasse XtremShield conçue pour le gravity qui permet de rouler à basse pression tout en maintenant la rigidité structurelle du pneu et en protégeant votre descente contre les terribles crevaisons.<br><br>E25:<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br>électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br>certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br>plus élevées, tels que le vélo électrique.<br>N° art fourn : HOT29240TLR2CX\"',`product_name`='MSC PNEU HOT SEAT 29X2.40 TLR 2C DH XTREM SHIELD 60TPI  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-29x2-40-tlr-2c-dh-xtrem-shield-60tpi-noir' WHERE `virtuemart_product_id` = '1863870'
2023-10-13	13:42:31	4378	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34924_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi_.jpg
2023-10-13	13:42:31	4378	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:31	4378	[DEBUG]	Process image file
2023-10-13	13:42:31	4378	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:31	4378	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:31	4378	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34924_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi_.jpg
2023-10-13	13:42:31	4378	[DEBUG]	Full name target: bcprisme/34924_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi_.jpg
2023-10-13	13:42:32	4378	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:32	4378	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34924_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi_.jpg'
2023-10-13	13:42:32	4378	[DEBUG]	Query for Media
2023-10-13	13:42:32	4378	[DEBUG]	Executed store
2023-10-13	13:42:32	4378	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34924_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi_.jpg',`file_url_thumb`='bcprisme/34924_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267275'
2023-10-13	13:42:32	4378	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:32	4378	[DEBUG]	Executed store
2023-10-13	13:42:32	4378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863870','267275','1')
2023-10-13	13:42:32	4378	[DEBUG]	Store product image relation
2023-10-13	13:42:32	4378	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:32	4378	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863870 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:32	4378	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:32	4378	[DEBUG]	Executed store
2023-10-13	13:42:32	4378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863870','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:32	4378	[DEBUG]	Checking manufacturer
2023-10-13	13:42:32	4378	[DEBUG]	Load a row
2023-10-13	13:42:32	4378	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:32	4378	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:32	4378	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:32	4378	[DEBUG]	Executed store
2023-10-13	13:42:32	4378	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:32	4378	[DEBUG]	Manufacturer exists
2023-10-13	13:42:32	4378	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:32	4378	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:32	4378	[DEBUG]	Executed store
2023-10-13	13:42:32	4378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863870','32')
2023-10-13	13:42:32	4378	[DEBUG]	Find the custom field ID
2023-10-13	13:42:32	4378	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:32	4378	[DEBUG]	No custom field ID found
2023-10-13	13:42:32	4378	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:32	4378	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:42:32	4378	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863870 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:32	4378	[DEBUG]	Store custom available field
2023-10-13	13:42:32	4378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863870,3,'0',1)
2023-10-13	13:42:32	4378	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:32	4378	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:32	4378	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863870 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:32	4378	[DEBUG]	Store custom available field
2023-10-13	13:42:32	4378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863870,6,'choisir la taille',3)
2023-10-13	13:42:32	4378	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:32	4378	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:32	4378	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:32	4378	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:32	4378	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863870 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:32	4378	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:32	4378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863870,8,1)
2023-10-13	13:42:32	4378	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:32	4378	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863870\":[1863870,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863870
2023-10-13	13:42:32	4378	[DEBUG]	Checking category
2023-10-13	13:42:32	4378	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:32	4378	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863870
2023-10-13	13:42:32	4378	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:32	4378	[DEBUG]	Executed store
2023-10-13	13:42:32	4378	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863870','7412')
2023-10-13	13:42:32	4378	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:32	4378	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863870 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:32	4378	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:32	4378	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863870
2023-10-13	13:42:32	4379	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:32	4379	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:32	4379	[DEBUG]	Use field value for field taille
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:32	4379	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:32	4379	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:32	4379	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:32	4379	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:32	4379	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:32	4379	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:32	4379	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:32	4379	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:32	4379	[DEBUG]	Use field value for field published
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:32	4379	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field override
2023-10-13	13:42:32	4379	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:32	4379	[DEBUG]	Use field value for field slug
2023-10-13	13:42:32	4379	[DEBUG]	Process line 4379
2023-10-13	13:42:32	4379	[DEBUG]	Load a row
2023-10-13	13:42:32	4379	[DEBUG]	Processing item: 8435466217099
2023-10-13	13:42:32	4379	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:32	4379	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:32	4379	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7525_1'
2023-10-13	13:42:32	4379	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:32	4379	[DEBUG]	Processing product tax
2023-10-13	13:42:32	4379	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:32	4379	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:32	4379	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:32	4379	[DEBUG]	Query for Product
2023-10-13	13:42:32	4379	[DEBUG]	Executed store
2023-10-13	13:42:32	4379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863870','8435466217099','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:32	4379	[DEBUG]	No parent found
2023-10-13	13:42:32	4379	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863870 AND customfield_value = 'stockable'
2023-10-13	13:42:32	4379	[DEBUG]	Check product language entry
2023-10-13	13:42:32	4379	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863871
2023-10-13	13:42:32	4379	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:32	4379	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466217099' AND `virtuemart_product_id` != 1863871
2023-10-13	13:42:32	4379	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:32	4379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863871, '8435466217099')
2023-10-13	13:42:32	4379	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:32	4379	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-29x2-40-tlr-2c-dh-xtrem-shield-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863871
2023-10-13	13:42:32	4379	[DEBUG]	Query for ProductLang
2023-10-13	13:42:32	4379	[DEBUG]	Executed store
2023-10-13	13:42:32	4379	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU HOT SEAT 29X2.40 TLR 2C DH XTREM SHIELD 60TPI  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-29x2-40-tlr-2c-dh-xtrem-shield-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863871'
2023-10-13	13:42:32	4379	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34924_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi_.jpg
2023-10-13	13:42:32	4379	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:32	4379	[DEBUG]	Process image file
2023-10-13	13:42:32	4379	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:32	4379	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:32	4379	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34924_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi_.jpg
2023-10-13	13:42:32	4379	[DEBUG]	Full name target: bcprisme/34924_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi_.jpg
2023-10-13	13:42:33	4379	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:33	4379	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34924_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi_.jpg'
2023-10-13	13:42:33	4379	[DEBUG]	Query for Media
2023-10-13	13:42:33	4379	[DEBUG]	Executed store
2023-10-13	13:42:33	4379	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34924_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi_.jpg',`file_url_thumb`='bcprisme/34924_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267275'
2023-10-13	13:42:33	4379	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:33	4379	[DEBUG]	Executed store
2023-10-13	13:42:33	4379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863871','267275','1')
2023-10-13	13:42:33	4379	[DEBUG]	Store product image relation
2023-10-13	13:42:33	4379	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:33	4379	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863871 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:33	4379	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:33	4379	[DEBUG]	Executed store
2023-10-13	13:42:33	4379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863871','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:33	4379	[DEBUG]	Checking manufacturer
2023-10-13	13:42:33	4379	[DEBUG]	Load a row
2023-10-13	13:42:33	4379	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:33	4379	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:33	4379	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:33	4379	[DEBUG]	Executed store
2023-10-13	13:42:33	4379	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:33	4379	[DEBUG]	Manufacturer exists
2023-10-13	13:42:33	4379	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:33	4379	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:33	4379	[DEBUG]	Executed store
2023-10-13	13:42:33	4379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863871','32')
2023-10-13	13:42:33	4379	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:33	4379	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:33	4379	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863871 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:33	4379	[DEBUG]	Store custom available field
2023-10-13	13:42:33	4379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863871,3,'',1)
2023-10-13	13:42:33	4379	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:33	4379	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:33	4379	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863871 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:33	4379	[DEBUG]	Store custom available field
2023-10-13	13:42:33	4379	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863871,6,'Unitaire',3)
2023-10-13	13:42:33	4379	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:33	4379	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:33	4379	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863870
2023-10-13	13:42:33	4379	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:33	4379	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863870\":[1863870,8,1,\"choisir la taille\"],\"1863871\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863870
2023-10-13	13:42:33	4379	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:33	4379	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863871
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:33	4380	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field taille
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:33	4380	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:33	4380	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:33	4380	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:33	4380	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:33	4380	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:33	4380	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field published
2023-10-13	13:42:33	4380	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:33	4380	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field override
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:33	4380	[DEBUG]	Use field value for field slug
2023-10-13	13:42:33	4380	[DEBUG]	Process line 4380
2023-10-13	13:42:33	4380	[DEBUG]	Load a row
2023-10-13	13:42:33	4380	[DEBUG]	Processing item: A_7526_1
2023-10-13	13:42:33	4380	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:33	4380	[DEBUG]	Processing product tax
2023-10-13	13:42:33	4380	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:33	4380	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:33	4380	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:33	4380	[DEBUG]	Query for Product
2023-10-13	13:42:33	4380	[DEBUG]	Executed store
2023-10-13	13:42:33	4380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7526_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:33	4380	[DEBUG]	Check product language entry
2023-10-13	13:42:33	4380	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863872
2023-10-13	13:42:33	4380	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:33	4380	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7526_1' AND `virtuemart_product_id` != 1863872
2023-10-13	13:42:33	4380	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:33	4380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863872, 'A_7526_1')
2023-10-13	13:42:33	4380	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:33	4380	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-29x2-40-tlr-3c-dh-xtrem-shield-60tpi-noir' AND `virtuemart_product_id` != 1863872
2023-10-13	13:42:33	4380	[DEBUG]	Query for ProductLang
2023-10-13	13:42:33	4380	[DEBUG]	Executed store
2023-10-13	13:42:33	4380	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>COMPUESTO: 62A/48A/45A<br>1350 g<br>ACCROCHE 5/5<br>VITESSE 3/5<br>HUMIDE 5/5<br>TRACTION 5/5<br>SEC 4/5<br>MOUILLÉ 5/5<br>BOUE 4/5<br>GOMME: 56a/52a<br>ETRTO: 60-622<br><br>Hot Seat, le trône de DH réservé au pilote le plus rapide peut être le vôtre. Notre tout-terrain\" est le meilleur choix pour rouler toute la saison sans avoir à penser à quel pneu rouler pour chaque type de terrain et de conditions.<br><br>Doté d\'un profil plus carré et de crampons latéraux robustes et surélevés, le Hot Seat est conçu pour maintenir une adhérence maximale et une haute prévisibilité du pilotage, quel que soit l\'état du sol.<br><br>L\'espacement et la hauteur des crampons centrales ont été conçus pour réduire considérablement la distance de freinage et même évacuer la boue lorsque la piste devient plus compliquée par la pluie.<br><br>Le pilotage est maintenant plus précis, plus rapide et plus sûre. Le hot Seat intègre la nouvelle carcasse XtremShield conçue pour le gravity qui permet de rouler à basse pression tout en maintenant la rigidité structurelle du pneu et en protégeant votre descente contre les terribles crevaisons.<br><br>E25:<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br>électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br>certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br>plus élevées, tels que le vélo électrique.<br>N° art fourn : HOT29240TLR3CX\"',`product_name`='MSC PNEU HOT SEAT 29X2.40 TLR 3C DH XTREM SHIELD 60TPI   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-29x2-40-tlr-3c-dh-xtrem-shield-60tpi-noir' WHERE `virtuemart_product_id` = '1863872'
2023-10-13	13:42:33	4380	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34925_hot_seat_29x2_40_tlr_3c_dh_xtrem_shield_60tpi__.jpg
2023-10-13	13:42:33	4380	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:33	4380	[DEBUG]	Process image file
2023-10-13	13:42:33	4380	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:33	4380	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:33	4380	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34925_hot_seat_29x2_40_tlr_3c_dh_xtrem_shield_60tpi__.jpg
2023-10-13	13:42:33	4380	[DEBUG]	Full name target: bcprisme/34925_hot_seat_29x2_40_tlr_3c_dh_xtrem_shield_60tpi__.jpg
2023-10-13	13:42:34	4380	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:34	4380	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34925_hot_seat_29x2_40_tlr_3c_dh_xtrem_shield_60tpi__.jpg'
2023-10-13	13:42:34	4380	[DEBUG]	Query for Media
2023-10-13	13:42:34	4380	[DEBUG]	Executed store
2023-10-13	13:42:34	4380	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34925_hot_seat_29x2_40_tlr_3c_dh_xtrem_shield_60tpi__.jpg',`file_url_thumb`='bcprisme/34925_hot_seat_29x2_40_tlr_3c_dh_xtrem_shield_60tpi__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267277'
2023-10-13	13:42:34	4380	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:34	4380	[DEBUG]	Executed store
2023-10-13	13:42:34	4380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863872','267277','1')
2023-10-13	13:42:34	4380	[DEBUG]	Store product image relation
2023-10-13	13:42:34	4380	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:34	4380	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863872 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:34	4380	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:34	4380	[DEBUG]	Executed store
2023-10-13	13:42:34	4380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863872','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:34	4380	[DEBUG]	Checking manufacturer
2023-10-13	13:42:34	4380	[DEBUG]	Load a row
2023-10-13	13:42:34	4380	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:34	4380	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:34	4380	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:34	4380	[DEBUG]	Executed store
2023-10-13	13:42:34	4380	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:34	4380	[DEBUG]	Manufacturer exists
2023-10-13	13:42:34	4380	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:34	4380	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:34	4380	[DEBUG]	Executed store
2023-10-13	13:42:34	4380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863872','32')
2023-10-13	13:42:34	4380	[DEBUG]	Find the custom field ID
2023-10-13	13:42:34	4380	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:34	4380	[DEBUG]	No custom field ID found
2023-10-13	13:42:34	4380	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:34	4380	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:42:34	4380	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863872 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:34	4380	[DEBUG]	Store custom available field
2023-10-13	13:42:34	4380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863872,3,'0',1)
2023-10-13	13:42:34	4380	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:34	4380	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:34	4380	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863872 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:34	4380	[DEBUG]	Store custom available field
2023-10-13	13:42:34	4380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863872,6,'choisir la taille',3)
2023-10-13	13:42:34	4380	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:34	4380	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:34	4380	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:34	4380	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:34	4380	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863872 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:34	4380	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:34	4380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863872,8,1)
2023-10-13	13:42:34	4380	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:34	4380	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863872\":[1863872,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863872
2023-10-13	13:42:34	4380	[DEBUG]	Checking category
2023-10-13	13:42:34	4380	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:34	4380	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863872
2023-10-13	13:42:34	4380	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:34	4380	[DEBUG]	Executed store
2023-10-13	13:42:34	4380	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863872','7412')
2023-10-13	13:42:34	4380	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:34	4380	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863872 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:34	4380	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:34	4380	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863872
2023-10-13	13:42:34	4381	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:34	4381	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:34	4381	[DEBUG]	Use field value for field taille
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:34	4381	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:34	4381	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:34	4381	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:34	4381	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:34	4381	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:34	4381	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:34	4381	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:34	4381	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:34	4381	[DEBUG]	Use field value for field published
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:34	4381	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field override
2023-10-13	13:42:34	4381	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:34	4381	[DEBUG]	Use field value for field slug
2023-10-13	13:42:34	4381	[DEBUG]	Process line 4381
2023-10-13	13:42:34	4381	[DEBUG]	Load a row
2023-10-13	13:42:34	4381	[DEBUG]	Processing item: 1000000126594
2023-10-13	13:42:34	4381	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:34	4381	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:34	4381	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7526_1'
2023-10-13	13:42:34	4381	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:34	4381	[DEBUG]	Processing product tax
2023-10-13	13:42:34	4381	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:34	4381	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:34	4381	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:34	4381	[DEBUG]	Query for Product
2023-10-13	13:42:34	4381	[DEBUG]	Executed store
2023-10-13	13:42:34	4381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863872','1000000126594','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:34	4381	[DEBUG]	No parent found
2023-10-13	13:42:34	4381	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863872 AND customfield_value = 'stockable'
2023-10-13	13:42:34	4381	[DEBUG]	Check product language entry
2023-10-13	13:42:34	4381	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863873
2023-10-13	13:42:34	4381	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:34	4381	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000126594' AND `virtuemart_product_id` != 1863873
2023-10-13	13:42:34	4381	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:34	4381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863873, '1000000126594')
2023-10-13	13:42:34	4381	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:34	4381	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-29x2-40-tlr-3c-dh-xtrem-shield-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863873
2023-10-13	13:42:34	4381	[DEBUG]	Query for ProductLang
2023-10-13	13:42:34	4381	[DEBUG]	Executed store
2023-10-13	13:42:34	4381	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU HOT SEAT 29X2.40 TLR 3C DH XTREM SHIELD 60TPI   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-29x2-40-tlr-3c-dh-xtrem-shield-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863873'
2023-10-13	13:42:34	4381	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34925_hot_seat_29x2_40_tlr_3c_dh_xtrem_shield_60tpi__.jpg
2023-10-13	13:42:34	4381	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:34	4381	[DEBUG]	Process image file
2023-10-13	13:42:34	4381	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:34	4381	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:34	4381	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34925_hot_seat_29x2_40_tlr_3c_dh_xtrem_shield_60tpi__.jpg
2023-10-13	13:42:34	4381	[DEBUG]	Full name target: bcprisme/34925_hot_seat_29x2_40_tlr_3c_dh_xtrem_shield_60tpi__.jpg
2023-10-13	13:42:35	4381	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:35	4381	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34925_hot_seat_29x2_40_tlr_3c_dh_xtrem_shield_60tpi__.jpg'
2023-10-13	13:42:35	4381	[DEBUG]	Query for Media
2023-10-13	13:42:35	4381	[DEBUG]	Executed store
2023-10-13	13:42:35	4381	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34925_hot_seat_29x2_40_tlr_3c_dh_xtrem_shield_60tpi__.jpg',`file_url_thumb`='bcprisme/34925_hot_seat_29x2_40_tlr_3c_dh_xtrem_shield_60tpi__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267277'
2023-10-13	13:42:35	4381	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:35	4381	[DEBUG]	Executed store
2023-10-13	13:42:35	4381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863873','267277','1')
2023-10-13	13:42:35	4381	[DEBUG]	Store product image relation
2023-10-13	13:42:35	4381	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:35	4381	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863873 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:35	4381	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:35	4381	[DEBUG]	Executed store
2023-10-13	13:42:35	4381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863873','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:35	4381	[DEBUG]	Checking manufacturer
2023-10-13	13:42:35	4381	[DEBUG]	Load a row
2023-10-13	13:42:35	4381	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:35	4381	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:35	4381	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:35	4381	[DEBUG]	Executed store
2023-10-13	13:42:35	4381	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:35	4381	[DEBUG]	Manufacturer exists
2023-10-13	13:42:35	4381	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:35	4381	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:35	4381	[DEBUG]	Executed store
2023-10-13	13:42:35	4381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863873','32')
2023-10-13	13:42:35	4381	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:35	4381	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:35	4381	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863873 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:35	4381	[DEBUG]	Store custom available field
2023-10-13	13:42:35	4381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863873,3,'',1)
2023-10-13	13:42:35	4381	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:35	4381	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:35	4381	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863873 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:35	4381	[DEBUG]	Store custom available field
2023-10-13	13:42:35	4381	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863873,6,'Unitaire',3)
2023-10-13	13:42:35	4381	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:35	4381	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:35	4381	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863872
2023-10-13	13:42:35	4381	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:35	4381	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863872\":[1863872,8,1,\"choisir la taille\"],\"1863873\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863872
2023-10-13	13:42:35	4381	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:35	4381	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863873
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:35	4382	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field taille
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:35	4382	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:35	4382	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:35	4382	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:35	4382	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:35	4382	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:35	4382	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field published
2023-10-13	13:42:35	4382	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:35	4382	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field override
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:35	4382	[DEBUG]	Use field value for field slug
2023-10-13	13:42:35	4382	[DEBUG]	Process line 4382
2023-10-13	13:42:35	4382	[DEBUG]	Load a row
2023-10-13	13:42:35	4382	[DEBUG]	Processing item: A_7527_120
2023-10-13	13:42:35	4382	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:35	4382	[DEBUG]	Processing product tax
2023-10-13	13:42:35	4382	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:35	4382	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:35	4382	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:35	4382	[DEBUG]	Query for Product
2023-10-13	13:42:35	4382	[DEBUG]	Executed store
2023-10-13	13:42:35	4382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_7527_120','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:35	4382	[DEBUG]	Check product language entry
2023-10-13	13:42:35	4382	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863874
2023-10-13	13:42:35	4382	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:35	4382	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_7527_120' AND `virtuemart_product_id` != 1863874
2023-10-13	13:42:35	4382	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:35	4382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863874, 'A_7527_120')
2023-10-13	13:42:35	4382	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:35	4382	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-29x2-40-tlr-2c-dh-xtrem-shield-60tpi-brown' AND `virtuemart_product_id` != 1863874
2023-10-13	13:42:35	4382	[DEBUG]	Query for ProductLang
2023-10-13	13:42:35	4382	[DEBUG]	Executed store
2023-10-13	13:42:35	4382	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Marron<br>COMPUESTO: 56A/52A<br>1200 g<br>ACCROCHE 5/5<br>VITESSE 3/5<br>HUMIDE 5/5<br>TRACTION 5/5<br>SEC 4/5<br>MOUILLÉ 5/5<br>BOUE 4/5<br>GOMME: 56a/52a<br>ETRTO: 60-622<br><br>Hot Seat, le trône de DH réservé au pilote le plus rapide peut être le vôtre. Notre tout-terrain\" est le meilleur choix pour rouler toute la saison sans avoir à penser à quel pneu rouler pour chaque type de terrain et de conditions.<br><br>Doté d\'un profil plus carré et de crampons latéraux robustes et surélevés, le Hot Seat est conçu pour maintenir une adhérence maximale et une haute prévisibilité du pilotage, quel que soit l\'état du sol.<br><br>L\'espacement et la hauteur des crampons centrales ont été conçus pour réduire considérablement la distance de freinage et même évacuer la boue lorsque la piste devient plus compliquée par la pluie.<br><br>Le pilotage est maintenant plus précis, plus rapide et plus sûre. Le hot Seat intègre la nouvelle carcasse XtremShield conçue pour le gravity qui permet de rouler à basse pression tout en maintenant la rigidité structurelle du pneu et en protégeant votre descente contre les terribles crevaisons.<br><br>E25:<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br>électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br>certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br>plus élevées, tels que le vélo électrique.<br><br><br>N° art fourn : HOT29240TLR2CT\"',`product_name`='MSC PNEU HOT SEAT 29X2.40 TLR 2C DH XTREM SHIELD 60TPI    / Brown',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-29x2-40-tlr-2c-dh-xtrem-shield-60tpi-brown' WHERE `virtuemart_product_id` = '1863874'
2023-10-13	13:42:35	4382	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34926_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi___.jpg
2023-10-13	13:42:35	4382	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:35	4382	[DEBUG]	Process image file
2023-10-13	13:42:35	4382	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:35	4382	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:35	4382	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34926_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi___.jpg
2023-10-13	13:42:35	4382	[DEBUG]	Full name target: bcprisme/34926_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi___.jpg
2023-10-13	13:42:36	4382	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:36	4382	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34926_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi___.jpg'
2023-10-13	13:42:36	4382	[DEBUG]	Query for Media
2023-10-13	13:42:36	4382	[DEBUG]	Executed store
2023-10-13	13:42:36	4382	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34926_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi___.jpg',`file_url_thumb`='bcprisme/34926_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi___.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267279'
2023-10-13	13:42:36	4382	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:36	4382	[DEBUG]	Executed store
2023-10-13	13:42:36	4382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863874','267279','1')
2023-10-13	13:42:36	4382	[DEBUG]	Store product image relation
2023-10-13	13:42:36	4382	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:36	4382	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863874 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:36	4382	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:36	4382	[DEBUG]	Executed store
2023-10-13	13:42:36	4382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863874','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:36	4382	[DEBUG]	Checking manufacturer
2023-10-13	13:42:36	4382	[DEBUG]	Load a row
2023-10-13	13:42:36	4382	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:36	4382	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:36	4382	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:36	4382	[DEBUG]	Executed store
2023-10-13	13:42:36	4382	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:36	4382	[DEBUG]	Manufacturer exists
2023-10-13	13:42:36	4382	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:36	4382	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:36	4382	[DEBUG]	Executed store
2023-10-13	13:42:36	4382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863874','32')
2023-10-13	13:42:36	4382	[DEBUG]	Find the custom field ID
2023-10-13	13:42:36	4382	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:36	4382	[DEBUG]	No custom field ID found
2023-10-13	13:42:36	4382	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:36	4382	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:42:36	4382	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863874 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:36	4382	[DEBUG]	Store custom available field
2023-10-13	13:42:36	4382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863874,3,'0',1)
2023-10-13	13:42:36	4382	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:36	4382	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:36	4382	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863874 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:36	4382	[DEBUG]	Store custom available field
2023-10-13	13:42:36	4382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863874,6,'choisir la taille',3)
2023-10-13	13:42:36	4382	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:36	4382	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:36	4382	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:36	4382	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:36	4382	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863874 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:36	4382	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:36	4382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863874,8,1)
2023-10-13	13:42:36	4382	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:36	4382	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863874\":[1863874,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863874
2023-10-13	13:42:36	4382	[DEBUG]	Checking category
2023-10-13	13:42:36	4382	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:36	4382	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863874
2023-10-13	13:42:36	4382	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:36	4382	[DEBUG]	Executed store
2023-10-13	13:42:36	4382	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863874','7412')
2023-10-13	13:42:36	4382	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:36	4382	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863874 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:36	4382	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:36	4382	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863874
2023-10-13	13:42:36	4383	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:36	4383	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:36	4383	[DEBUG]	Use field value for field taille
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:36	4383	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:36	4383	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:36	4383	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:36	4383	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:36	4383	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:36	4383	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:36	4383	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:36	4383	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:36	4383	[DEBUG]	Use field value for field published
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:36	4383	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field override
2023-10-13	13:42:36	4383	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:36	4383	[DEBUG]	Use field value for field slug
2023-10-13	13:42:36	4383	[DEBUG]	Process line 4383
2023-10-13	13:42:36	4383	[DEBUG]	Load a row
2023-10-13	13:42:36	4383	[DEBUG]	Processing item: 8435466217105
2023-10-13	13:42:36	4383	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:36	4383	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:36	4383	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_7527_120'
2023-10-13	13:42:36	4383	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:36	4383	[DEBUG]	Processing product tax
2023-10-13	13:42:36	4383	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:36	4383	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:36	4383	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:36	4383	[DEBUG]	Query for Product
2023-10-13	13:42:36	4383	[DEBUG]	Executed store
2023-10-13	13:42:36	4383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863874','8435466217105','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:36	4383	[DEBUG]	No parent found
2023-10-13	13:42:36	4383	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863874 AND customfield_value = 'stockable'
2023-10-13	13:42:36	4383	[DEBUG]	Check product language entry
2023-10-13	13:42:36	4383	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863875
2023-10-13	13:42:36	4383	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:36	4383	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466217105' AND `virtuemart_product_id` != 1863875
2023-10-13	13:42:36	4383	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:36	4383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863875, '8435466217105')
2023-10-13	13:42:36	4383	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:36	4383	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-hot-seat-29x2-40-tlr-2c-dh-xtrem-shield-60tpi-brown-unitaire' AND `virtuemart_product_id` != 1863875
2023-10-13	13:42:36	4383	[DEBUG]	Query for ProductLang
2023-10-13	13:42:36	4383	[DEBUG]	Executed store
2023-10-13	13:42:36	4383	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU HOT SEAT 29X2.40 TLR 2C DH XTREM SHIELD 60TPI    / Brown (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-hot-seat-29x2-40-tlr-2c-dh-xtrem-shield-60tpi-brown-unitaire' WHERE `virtuemart_product_id` = '1863875'
2023-10-13	13:42:36	4383	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34926_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi___.jpg
2023-10-13	13:42:36	4383	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:36	4383	[DEBUG]	Process image file
2023-10-13	13:42:36	4383	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:36	4383	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:36	4383	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/34926_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi___.jpg
2023-10-13	13:42:36	4383	[DEBUG]	Full name target: bcprisme/34926_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi___.jpg
2023-10-13	13:42:37	4383	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:37	4383	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/34926_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi___.jpg'
2023-10-13	13:42:37	4383	[DEBUG]	Query for Media
2023-10-13	13:42:37	4383	[DEBUG]	Executed store
2023-10-13	13:42:37	4383	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/34926_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi___.jpg',`file_url_thumb`='bcprisme/34926_hot_seat_29x2_40_tlr_2c_dh_xtrem_shield_60tpi___.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '267279'
2023-10-13	13:42:37	4383	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:37	4383	[DEBUG]	Executed store
2023-10-13	13:42:37	4383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863875','267279','1')
2023-10-13	13:42:37	4383	[DEBUG]	Store product image relation
2023-10-13	13:42:37	4383	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:37	4383	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863875 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:37	4383	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:37	4383	[DEBUG]	Executed store
2023-10-13	13:42:37	4383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863875','0','69.5450324976787','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:37	4383	[DEBUG]	Checking manufacturer
2023-10-13	13:42:37	4383	[DEBUG]	Load a row
2023-10-13	13:42:37	4383	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:37	4383	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:37	4383	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:37	4383	[DEBUG]	Executed store
2023-10-13	13:42:37	4383	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:37	4383	[DEBUG]	Manufacturer exists
2023-10-13	13:42:37	4383	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:37	4383	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:37	4383	[DEBUG]	Executed store
2023-10-13	13:42:37	4383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863875','32')
2023-10-13	13:42:37	4383	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:37	4383	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:37	4383	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863875 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:37	4383	[DEBUG]	Store custom available field
2023-10-13	13:42:37	4383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863875,3,'',1)
2023-10-13	13:42:37	4383	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:37	4383	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:37	4383	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863875 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:37	4383	[DEBUG]	Store custom available field
2023-10-13	13:42:37	4383	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863875,6,'Unitaire',3)
2023-10-13	13:42:37	4383	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:37	4383	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:37	4383	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863874
2023-10-13	13:42:37	4383	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:37	4383	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863874\":[1863874,8,1,\"choisir la taille\"],\"1863875\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863874
2023-10-13	13:42:37	4383	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:37	4383	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863875
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:37	4384	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field taille
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:37	4384	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:37	4384	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:37	4384	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:37	4384	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:37	4384	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:37	4384	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field published
2023-10-13	13:42:37	4384	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:37	4384	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field override
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:37	4384	[DEBUG]	Use field value for field slug
2023-10-13	13:42:37	4384	[DEBUG]	Process line 4384
2023-10-13	13:42:37	4384	[DEBUG]	Load a row
2023-10-13	13:42:37	4384	[DEBUG]	Processing item: A_8030_1
2023-10-13	13:42:37	4384	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:37	4384	[DEBUG]	Processing product tax
2023-10-13	13:42:37	4384	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:37	4384	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:37	4384	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:37	4384	[DEBUG]	Query for Product
2023-10-13	13:42:37	4384	[DEBUG]	Executed store
2023-10-13	13:42:37	4384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8030_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:37	4384	[DEBUG]	Check product language entry
2023-10-13	13:42:37	4384	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863876
2023-10-13	13:42:37	4384	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:37	4384	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8030_1' AND `virtuemart_product_id` != 1863876
2023-10-13	13:42:37	4384	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:37	4384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863876, 'A_8030_1')
2023-10-13	13:42:37	4384	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:37	4384	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-rock-roller-29-x-2-10-33-tpi-wire-1c-flancs-renforces-54-559-noir' AND `virtuemart_product_id` != 1863876
2023-10-13	13:42:37	4384	[DEBUG]	Query for ProductLang
2023-10-13	13:42:37	4384	[DEBUG]	Executed store
2023-10-13	13:42:37	4384	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : ROC29210W',`product_name`='MSC PNEU ROCK & ROLLER 29 X 2.10 33 TPI Wire 1C, flancs renforcés 54-559  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-rock-roller-29-x-2-10-33-tpi-wire-1c-flancs-renforces-54-559-noir' WHERE `virtuemart_product_id` = '1863876'
2023-10-13	13:42:37	4384	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36519_pneu_rock_&_roller_29_x_2_10_33_tpi_wire_1c,_flancs_renforces_54-559_.jpg
2023-10-13	13:42:37	4384	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:42:37	4384	[DEBUG]	Process image file
2023-10-13	13:42:37	4384	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:42:37	4384	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:37	4384	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36519_pneu_rock_&_roller_29_x_2_10_33_tpi_wire_1c,_flancs_renforces_54-559_.jpg
2023-10-13	13:42:37	4384	[DEBUG]	Full name target: bcprisme/36519_pneu_rock_&_roller_29_x_2_10_33_tpi_wire_1c,_flancs_renforces_54-559_.jpg
2023-10-13	13:42:38	4384	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:38	4384	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36519_pneu_rock_&_roller_29_x_2_10_33_tpi_wire_1c,_flancs_renforces_54-559_.jpg'
2023-10-13	13:42:38	4384	[DEBUG]	Query for Media
2023-10-13	13:42:38	4384	[DEBUG]	Executed store
2023-10-13	13:42:38	4384	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36519_pneu_rock_&_roller_29_x_2_10_33_tpi_wire_1c,_flancs_renforces_54-559_.jpg',`file_url_thumb`='bcprisme/36519_pneu_rock_&_roller_29_x_2_10_33_tpi_wire_1c,_flancs_renforces_54-559_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '720295'
2023-10-13	13:42:38	4384	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:38	4384	[DEBUG]	Executed store
2023-10-13	13:42:38	4384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863876','720295','1')
2023-10-13	13:42:38	4384	[DEBUG]	Store product image relation
2023-10-13	13:42:38	4384	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:38	4384	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863876 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:38	4384	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:38	4384	[DEBUG]	Executed store
2023-10-13	13:42:38	4384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863876','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:38	4384	[DEBUG]	Checking manufacturer
2023-10-13	13:42:38	4384	[DEBUG]	Load a row
2023-10-13	13:42:38	4384	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:38	4384	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:38	4384	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:38	4384	[DEBUG]	Executed store
2023-10-13	13:42:38	4384	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:38	4384	[DEBUG]	Manufacturer exists
2023-10-13	13:42:38	4384	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:38	4384	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:38	4384	[DEBUG]	Executed store
2023-10-13	13:42:38	4384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863876','32')
2023-10-13	13:42:38	4384	[DEBUG]	Find the custom field ID
2023-10-13	13:42:38	4384	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:38	4384	[DEBUG]	No custom field ID found
2023-10-13	13:42:38	4384	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:38	4384	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:42:38	4384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863876 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:38	4384	[DEBUG]	Store custom available field
2023-10-13	13:42:38	4384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863876,3,'54.7475',1)
2023-10-13	13:42:38	4384	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:38	4384	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:38	4384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863876 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:38	4384	[DEBUG]	Store custom available field
2023-10-13	13:42:38	4384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863876,6,'choisir la taille',3)
2023-10-13	13:42:38	4384	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:38	4384	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:38	4384	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:38	4384	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:38	4384	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863876 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:38	4384	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:38	4384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863876,8,1)
2023-10-13	13:42:38	4384	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:38	4384	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863876\":[1863876,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863876
2023-10-13	13:42:38	4384	[DEBUG]	Checking category
2023-10-13	13:42:38	4384	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:38	4384	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863876
2023-10-13	13:42:38	4384	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:38	4384	[DEBUG]	Executed store
2023-10-13	13:42:38	4384	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863876','7412')
2023-10-13	13:42:38	4384	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:38	4384	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863876 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:38	4384	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:38	4384	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863876
2023-10-13	13:42:38	4385	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:38	4385	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:38	4385	[DEBUG]	Use field value for field taille
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:38	4385	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:38	4385	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:38	4385	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:38	4385	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:38	4385	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:38	4385	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:38	4385	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:38	4385	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:38	4385	[DEBUG]	Use field value for field published
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:38	4385	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field override
2023-10-13	13:42:38	4385	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:38	4385	[DEBUG]	Use field value for field slug
2023-10-13	13:42:38	4385	[DEBUG]	Process line 4385
2023-10-13	13:42:38	4385	[DEBUG]	Load a row
2023-10-13	13:42:38	4385	[DEBUG]	Processing item: 8435466216177
2023-10-13	13:42:38	4385	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:38	4385	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:38	4385	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8030_1'
2023-10-13	13:42:38	4385	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:38	4385	[DEBUG]	Processing product tax
2023-10-13	13:42:38	4385	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:38	4385	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:38	4385	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:38	4385	[DEBUG]	Query for Product
2023-10-13	13:42:38	4385	[DEBUG]	Executed store
2023-10-13	13:42:38	4385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863876','8435466216177','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:38	4385	[DEBUG]	No parent found
2023-10-13	13:42:38	4385	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863876 AND customfield_value = 'stockable'
2023-10-13	13:42:38	4385	[DEBUG]	Check product language entry
2023-10-13	13:42:38	4385	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863877
2023-10-13	13:42:38	4385	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:38	4385	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216177' AND `virtuemart_product_id` != 1863877
2023-10-13	13:42:38	4385	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:38	4385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863877, '8435466216177')
2023-10-13	13:42:38	4385	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:38	4385	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-rock-roller-29-x-2-10-33-tpi-wire-1c-flancs-renforces-54-559-noir-unitaire' AND `virtuemart_product_id` != 1863877
2023-10-13	13:42:38	4385	[DEBUG]	Query for ProductLang
2023-10-13	13:42:38	4385	[DEBUG]	Executed store
2023-10-13	13:42:38	4385	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROCK & ROLLER 29 X 2.10 33 TPI Wire 1C, flancs renforcés 54-559  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-rock-roller-29-x-2-10-33-tpi-wire-1c-flancs-renforces-54-559-noir-unitaire' WHERE `virtuemart_product_id` = '1863877'
2023-10-13	13:42:38	4385	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36519_pneu_rock_&_roller_29_x_2_10_33_tpi_wire_1c,_flancs_renforces_54-559_.jpg
2023-10-13	13:42:38	4385	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:42:38	4385	[DEBUG]	Process image file
2023-10-13	13:42:38	4385	[DEBUG]	Identity string: ffd8ffe1001845786966000049492a0008000000
2023-10-13	13:42:38	4385	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:38	4385	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36519_pneu_rock_&_roller_29_x_2_10_33_tpi_wire_1c,_flancs_renforces_54-559_.jpg
2023-10-13	13:42:38	4385	[DEBUG]	Full name target: bcprisme/36519_pneu_rock_&_roller_29_x_2_10_33_tpi_wire_1c,_flancs_renforces_54-559_.jpg
2023-10-13	13:42:39	4385	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:39	4385	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36519_pneu_rock_&_roller_29_x_2_10_33_tpi_wire_1c,_flancs_renforces_54-559_.jpg'
2023-10-13	13:42:39	4385	[DEBUG]	Query for Media
2023-10-13	13:42:39	4385	[DEBUG]	Executed store
2023-10-13	13:42:39	4385	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36519_pneu_rock_&_roller_29_x_2_10_33_tpi_wire_1c,_flancs_renforces_54-559_.jpg',`file_url_thumb`='bcprisme/36519_pneu_rock_&_roller_29_x_2_10_33_tpi_wire_1c,_flancs_renforces_54-559_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '720295'
2023-10-13	13:42:39	4385	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:39	4385	[DEBUG]	Executed store
2023-10-13	13:42:39	4385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863877','720295','1')
2023-10-13	13:42:39	4385	[DEBUG]	Store product image relation
2023-10-13	13:42:39	4385	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:39	4385	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863877 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:39	4385	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:39	4385	[DEBUG]	Executed store
2023-10-13	13:42:39	4385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863877','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:39	4385	[DEBUG]	Checking manufacturer
2023-10-13	13:42:39	4385	[DEBUG]	Load a row
2023-10-13	13:42:39	4385	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:39	4385	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:39	4385	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:39	4385	[DEBUG]	Executed store
2023-10-13	13:42:39	4385	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:39	4385	[DEBUG]	Manufacturer exists
2023-10-13	13:42:39	4385	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:39	4385	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:39	4385	[DEBUG]	Executed store
2023-10-13	13:42:39	4385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863877','32')
2023-10-13	13:42:39	4385	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:39	4385	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:39	4385	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863877 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:39	4385	[DEBUG]	Store custom available field
2023-10-13	13:42:39	4385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863877,3,'',1)
2023-10-13	13:42:39	4385	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:39	4385	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:39	4385	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863877 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:39	4385	[DEBUG]	Store custom available field
2023-10-13	13:42:39	4385	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863877,6,'Unitaire',3)
2023-10-13	13:42:39	4385	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:39	4385	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:39	4385	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863876
2023-10-13	13:42:39	4385	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:39	4385	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863876\":[1863876,8,1,\"choisir la taille\"],\"1863877\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863876
2023-10-13	13:42:39	4385	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:39	4385	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863877
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:39	4386	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field taille
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:39	4386	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:39	4386	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:39	4386	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:39	4386	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:39	4386	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:39	4386	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field published
2023-10-13	13:42:39	4386	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:39	4386	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field override
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:39	4386	[DEBUG]	Use field value for field slug
2023-10-13	13:42:39	4386	[DEBUG]	Process line 4386
2023-10-13	13:42:39	4386	[DEBUG]	Load a row
2023-10-13	13:42:39	4386	[DEBUG]	Processing item: A_8031_171
2023-10-13	13:42:39	4386	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:39	4386	[DEBUG]	Processing product tax
2023-10-13	13:42:39	4386	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:39	4386	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:39	4386	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:39	4386	[DEBUG]	Query for Product
2023-10-13	13:42:39	4386	[DEBUG]	Executed store
2023-10-13	13:42:39	4386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8031_171','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:39	4386	[DEBUG]	Check product language entry
2023-10-13	13:42:39	4386	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863878
2023-10-13	13:42:39	4386	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:39	4386	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8031_171' AND `virtuemart_product_id` != 1863878
2023-10-13	13:42:39	4386	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:39	4386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863878, 'A_8031_171')
2023-10-13	13:42:39	4386	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:39	4386	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-29-x-2-10-tlr-2c-xc-epic-shield-120tpi-marron' AND `virtuemart_product_id` != 1863878
2023-10-13	13:42:39	4386	[DEBUG]	Query for ProductLang
2023-10-13	13:42:39	4386	[DEBUG]	Executed store
2023-10-13	13:42:39	4386	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='740 g<br><br>-Accroche: 3/5<br>-Traction: 4/5<br>-Vitesse: 5/5<br>-Sol optimal: sec/humide<br>-Gomme: 60a/50a<br>-Brown skinwall<br>-ETRTO 54-622<br><br><br>Un pari imbattable en XC Marathon! Un véritable concentré de technologies pour un rendement optimal sur terrains secs et roulants.<br><br>La géométrie inclinée des crampons centraux, son profil bas et un espacement réduit favorisent un meilleur contact avec la superficie et garantissent un roulement extrêmement rapide. De plus cette disposition augmente un peu plus la résistance aux coupures et crevaisons. Les rainures horizontales sur les crampons de transition, offrent une traction excellente sur des tracés droits et lors des montés<br><br>Le crampon latéral, rectangulaire et taillé à 90º avec des rainures verticales et une entaille en escalier, assure une excellente accroche latérale à grande vitesse dans tous types de courbes.<br>N° art fourn : ROL29210TLR2CE',`product_name`='MSC PNEU ROLLER 29 X 2.10 TLR 2C XC EPIC SHIELD 120TPI   / Marron',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-29-x-2-10-tlr-2c-xc-epic-shield-120tpi-marron' WHERE `virtuemart_product_id` = '1863878'
2023-10-13	13:42:39	4386	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36520_pneu_roller_29_x_2_10_tlr_2c_xc_epic_shield_120tpi__.jpg
2023-10-13	13:42:39	4386	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:39	4386	[DEBUG]	Process image file
2023-10-13	13:42:39	4386	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:39	4386	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:39	4386	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36520_pneu_roller_29_x_2_10_tlr_2c_xc_epic_shield_120tpi__.jpg
2023-10-13	13:42:39	4386	[DEBUG]	Full name target: bcprisme/36520_pneu_roller_29_x_2_10_tlr_2c_xc_epic_shield_120tpi__.jpg
2023-10-13	13:42:40	4386	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:40	4386	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36520_pneu_roller_29_x_2_10_tlr_2c_xc_epic_shield_120tpi__.jpg'
2023-10-13	13:42:40	4386	[DEBUG]	Query for Media
2023-10-13	13:42:40	4386	[DEBUG]	Executed store
2023-10-13	13:42:40	4386	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36520_pneu_roller_29_x_2_10_tlr_2c_xc_epic_shield_120tpi__.jpg',`file_url_thumb`='bcprisme/36520_pneu_roller_29_x_2_10_tlr_2c_xc_epic_shield_120tpi__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '801814'
2023-10-13	13:42:40	4386	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:40	4386	[DEBUG]	Executed store
2023-10-13	13:42:40	4386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863878','801814','1')
2023-10-13	13:42:40	4386	[DEBUG]	Store product image relation
2023-10-13	13:42:40	4386	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:40	4386	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863878 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:40	4386	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:40	4386	[DEBUG]	Executed store
2023-10-13	13:42:40	4386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863878','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:40	4386	[DEBUG]	Checking manufacturer
2023-10-13	13:42:40	4386	[DEBUG]	Load a row
2023-10-13	13:42:40	4386	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:40	4386	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:40	4386	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:40	4386	[DEBUG]	Executed store
2023-10-13	13:42:40	4386	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:40	4386	[DEBUG]	Manufacturer exists
2023-10-13	13:42:40	4386	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:40	4386	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:40	4386	[DEBUG]	Executed store
2023-10-13	13:42:40	4386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863878','32')
2023-10-13	13:42:40	4386	[DEBUG]	Find the custom field ID
2023-10-13	13:42:40	4386	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:40	4386	[DEBUG]	No custom field ID found
2023-10-13	13:42:40	4386	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:40	4386	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:42:40	4386	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863878 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:40	4386	[DEBUG]	Store custom available field
2023-10-13	13:42:40	4386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863878,3,'54.7475',1)
2023-10-13	13:42:40	4386	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:40	4386	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:40	4386	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863878 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:40	4386	[DEBUG]	Store custom available field
2023-10-13	13:42:40	4386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863878,6,'choisir la taille',3)
2023-10-13	13:42:40	4386	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:40	4386	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:40	4386	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:40	4386	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:40	4386	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863878 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:40	4386	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:40	4386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863878,8,1)
2023-10-13	13:42:40	4386	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:40	4386	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863878\":[1863878,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863878
2023-10-13	13:42:40	4386	[DEBUG]	Checking category
2023-10-13	13:42:40	4386	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:40	4386	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863878
2023-10-13	13:42:40	4386	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:40	4386	[DEBUG]	Executed store
2023-10-13	13:42:40	4386	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863878','7412')
2023-10-13	13:42:40	4386	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:40	4386	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863878 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:40	4386	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:40	4386	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863878
2023-10-13	13:42:40	4387	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:40	4387	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:40	4387	[DEBUG]	Use field value for field taille
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:40	4387	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:40	4387	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:40	4387	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:40	4387	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:40	4387	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:40	4387	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:40	4387	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:40	4387	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:40	4387	[DEBUG]	Use field value for field published
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:40	4387	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field override
2023-10-13	13:42:40	4387	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:40	4387	[DEBUG]	Use field value for field slug
2023-10-13	13:42:40	4387	[DEBUG]	Process line 4387
2023-10-13	13:42:40	4387	[DEBUG]	Load a row
2023-10-13	13:42:40	4387	[DEBUG]	Processing item: 8435466216399
2023-10-13	13:42:40	4387	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:40	4387	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:40	4387	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8031_171'
2023-10-13	13:42:40	4387	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:40	4387	[DEBUG]	Processing product tax
2023-10-13	13:42:40	4387	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:40	4387	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:40	4387	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:40	4387	[DEBUG]	Query for Product
2023-10-13	13:42:40	4387	[DEBUG]	Executed store
2023-10-13	13:42:40	4387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863878','8435466216399','0','KG','M','','7','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:40	4387	[DEBUG]	No parent found
2023-10-13	13:42:40	4387	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863878 AND customfield_value = 'stockable'
2023-10-13	13:42:40	4387	[DEBUG]	Check product language entry
2023-10-13	13:42:40	4387	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863879
2023-10-13	13:42:40	4387	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:40	4387	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216399' AND `virtuemart_product_id` != 1863879
2023-10-13	13:42:40	4387	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:40	4387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863879, '8435466216399')
2023-10-13	13:42:40	4387	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:40	4387	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-roller-29-x-2-10-tlr-2c-xc-epic-shield-120tpi-marron-unitaire' AND `virtuemart_product_id` != 1863879
2023-10-13	13:42:40	4387	[DEBUG]	Query for ProductLang
2023-10-13	13:42:40	4387	[DEBUG]	Executed store
2023-10-13	13:42:40	4387	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROLLER 29 X 2.10 TLR 2C XC EPIC SHIELD 120TPI   / Marron (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-roller-29-x-2-10-tlr-2c-xc-epic-shield-120tpi-marron-unitaire' WHERE `virtuemart_product_id` = '1863879'
2023-10-13	13:42:40	4387	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36520_pneu_roller_29_x_2_10_tlr_2c_xc_epic_shield_120tpi__.jpg
2023-10-13	13:42:40	4387	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:40	4387	[DEBUG]	Process image file
2023-10-13	13:42:40	4387	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:40	4387	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:40	4387	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36520_pneu_roller_29_x_2_10_tlr_2c_xc_epic_shield_120tpi__.jpg
2023-10-13	13:42:40	4387	[DEBUG]	Full name target: bcprisme/36520_pneu_roller_29_x_2_10_tlr_2c_xc_epic_shield_120tpi__.jpg
2023-10-13	13:42:41	4387	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:41	4387	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36520_pneu_roller_29_x_2_10_tlr_2c_xc_epic_shield_120tpi__.jpg'
2023-10-13	13:42:41	4387	[DEBUG]	Query for Media
2023-10-13	13:42:41	4387	[DEBUG]	Executed store
2023-10-13	13:42:41	4387	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36520_pneu_roller_29_x_2_10_tlr_2c_xc_epic_shield_120tpi__.jpg',`file_url_thumb`='bcprisme/36520_pneu_roller_29_x_2_10_tlr_2c_xc_epic_shield_120tpi__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '801814'
2023-10-13	13:42:41	4387	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:41	4387	[DEBUG]	Executed store
2023-10-13	13:42:41	4387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863879','801814','1')
2023-10-13	13:42:41	4387	[DEBUG]	Store product image relation
2023-10-13	13:42:41	4387	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:41	4387	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863879 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:41	4387	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:41	4387	[DEBUG]	Executed store
2023-10-13	13:42:41	4387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863879','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:41	4387	[DEBUG]	Checking manufacturer
2023-10-13	13:42:41	4387	[DEBUG]	Load a row
2023-10-13	13:42:41	4387	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:41	4387	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:41	4387	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:41	4387	[DEBUG]	Executed store
2023-10-13	13:42:41	4387	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:41	4387	[DEBUG]	Manufacturer exists
2023-10-13	13:42:41	4387	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:41	4387	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:41	4387	[DEBUG]	Executed store
2023-10-13	13:42:41	4387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863879','32')
2023-10-13	13:42:41	4387	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:41	4387	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:41	4387	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863879 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:41	4387	[DEBUG]	Store custom available field
2023-10-13	13:42:41	4387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863879,3,'',1)
2023-10-13	13:42:41	4387	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:41	4387	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:41	4387	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863879 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:41	4387	[DEBUG]	Store custom available field
2023-10-13	13:42:41	4387	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863879,6,'Unitaire',3)
2023-10-13	13:42:41	4387	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:41	4387	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:41	4387	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863878
2023-10-13	13:42:41	4387	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:41	4387	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863878\":[1863878,8,1,\"choisir la taille\"],\"1863879\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863878
2023-10-13	13:42:41	4387	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:41	4387	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863879
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:41	4388	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field taille
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:41	4388	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:41	4388	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:41	4388	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:41	4388	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:41	4388	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:41	4388	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field published
2023-10-13	13:42:41	4388	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:41	4388	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field override
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:41	4388	[DEBUG]	Use field value for field slug
2023-10-13	13:42:41	4388	[DEBUG]	Process line 4388
2023-10-13	13:42:41	4388	[DEBUG]	Load a row
2023-10-13	13:42:41	4388	[DEBUG]	Processing item: A_8082_1
2023-10-13	13:42:41	4388	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:41	4388	[DEBUG]	Processing product tax
2023-10-13	13:42:41	4388	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:41	4388	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:41	4388	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:41	4388	[DEBUG]	Query for Product
2023-10-13	13:42:41	4388	[DEBUG]	Executed store
2023-10-13	13:42:41	4388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8082_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:41	4388	[DEBUG]	Check product language entry
2023-10-13	13:42:41	4388	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863880
2023-10-13	13:42:41	4388	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:41	4388	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8082_1' AND `virtuemart_product_id` != 1863880
2023-10-13	13:42:41	4388	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:41	4388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863880, 'A_8082_1')
2023-10-13	13:42:41	4388	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:41	4388	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-29-x-2-40-tlr-2c-dh-xtrem-shield-noir' AND `virtuemart_product_id` != 1863880
2023-10-13	13:42:41	4388	[DEBUG]	Query for ProductLang
2023-10-13	13:42:41	4388	[DEBUG]	Executed store
2023-10-13	13:42:41	4388	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='1290 g<br><br>-Accroche: 5/5<br> -Traction: 4/5<br> -Vitesse: 3/5<br>-Sol optimal: sec/mouillé<br> -Gomme: 62a/60a<br> -ETRTO 60-622<br>-2.40 – same to 2.60 between knobs/ebike friendly-<br><br>Idéal pour l’Enduro et la DH. Contrôle parfait sur terrains détériorés, meubles et humides.<br><br>Ses 4 rangés de crampons hauts et larges taillés perpendiculairement garantissent une adhérence et un contrôle extraordinaire lors de freinages brusques, même dans les situations de pilotages les plus agressives. Capable d’affronter férocement des courbes prononcées et de dévorer tous les types de terrains.<br><br>Un crampon sur deux de La zone de centrale sont équipés d’une rampe afin de diminuer la résistance au roulement. Les crampons latéraux, dotés d’entailles verticales et d’encoches, sont placés sur 2 niveaux pour assurer une accroche parfaite lors de passage en courbe, sur pierres et racines. <br><br>Le nouveau XtremShield est conçu pour la gravité et vous permet de photographier à basse pression tout en maintenant la rigidité structurelle du pneu et en protégeant votre chute des terribles perforations.<br><br><br><br>E25:<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br> électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br> certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br> plus élevées, tels que le vélo électrique.<br>N° art fourn : GRI29240TLR2CX',`product_name`='MSC PNEU GRIPPER 29 X 2.40 TLR 2C DH XTREM SHIELD / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-29-x-2-40-tlr-2c-dh-xtrem-shield-noir' WHERE `virtuemart_product_id` = '1863880'
2023-10-13	13:42:41	4388	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36598_pneu_gripper_29_x_2_40_tlr_2c_dh_xtrem_shield.jpg
2023-10-13	13:42:41	4388	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:41	4388	[DEBUG]	Process image file
2023-10-13	13:42:41	4388	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:41	4388	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:41	4388	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36598_pneu_gripper_29_x_2_40_tlr_2c_dh_xtrem_shield.jpg
2023-10-13	13:42:41	4388	[DEBUG]	Full name target: bcprisme/36598_pneu_gripper_29_x_2_40_tlr_2c_dh_xtrem_shield.jpg
2023-10-13	13:42:42	4388	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:42	4388	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36598_pneu_gripper_29_x_2_40_tlr_2c_dh_xtrem_shield.jpg'
2023-10-13	13:42:42	4388	[DEBUG]	Query for Media
2023-10-13	13:42:42	4388	[DEBUG]	Executed store
2023-10-13	13:42:42	4388	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36598_pneu_gripper_29_x_2_40_tlr_2c_dh_xtrem_shield.jpg',`file_url_thumb`='bcprisme/36598_pneu_gripper_29_x_2_40_tlr_2c_dh_xtrem_shield.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '650440'
2023-10-13	13:42:42	4388	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:42	4388	[DEBUG]	Executed store
2023-10-13	13:42:42	4388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863880','650440','1')
2023-10-13	13:42:42	4388	[DEBUG]	Store product image relation
2023-10-13	13:42:42	4388	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:42	4388	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863880 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:42	4388	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:42	4388	[DEBUG]	Executed store
2023-10-13	13:42:42	4388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863880','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:42	4388	[DEBUG]	Checking manufacturer
2023-10-13	13:42:42	4388	[DEBUG]	Load a row
2023-10-13	13:42:42	4388	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:42	4388	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:42	4388	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:42	4388	[DEBUG]	Executed store
2023-10-13	13:42:42	4388	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:42	4388	[DEBUG]	Manufacturer exists
2023-10-13	13:42:42	4388	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:42	4388	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:42	4388	[DEBUG]	Executed store
2023-10-13	13:42:42	4388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863880','32')
2023-10-13	13:42:42	4388	[DEBUG]	Find the custom field ID
2023-10-13	13:42:42	4388	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:42	4388	[DEBUG]	No custom field ID found
2023-10-13	13:42:42	4388	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:42	4388	[DEBUG]	Get existing row with customfield value 52.7530555555555
2023-10-13	13:42:42	4388	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863880 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:42	4388	[DEBUG]	Store custom available field
2023-10-13	13:42:42	4388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863880,3,'52.7530555555555',1)
2023-10-13	13:42:42	4388	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:42	4388	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:42	4388	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863880 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:42	4388	[DEBUG]	Store custom available field
2023-10-13	13:42:42	4388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863880,6,'choisir la taille',3)
2023-10-13	13:42:42	4388	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:42	4388	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:42	4388	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:42	4388	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:42	4388	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863880 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:42	4388	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:42	4388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863880,8,1)
2023-10-13	13:42:42	4388	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:42	4388	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863880\":[1863880,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863880
2023-10-13	13:42:42	4388	[DEBUG]	Checking category
2023-10-13	13:42:42	4388	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:42	4388	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863880
2023-10-13	13:42:42	4388	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:42	4388	[DEBUG]	Executed store
2023-10-13	13:42:42	4388	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863880','7412')
2023-10-13	13:42:42	4388	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:42	4388	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863880 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:42	4388	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:42	4388	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863880
2023-10-13	13:42:42	4389	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:42	4389	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:42	4389	[DEBUG]	Use field value for field taille
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:42	4389	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:42	4389	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:42	4389	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:42	4389	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:42	4389	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:42	4389	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:42	4389	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:42	4389	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:42	4389	[DEBUG]	Use field value for field published
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:42	4389	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field override
2023-10-13	13:42:42	4389	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:42	4389	[DEBUG]	Use field value for field slug
2023-10-13	13:42:42	4389	[DEBUG]	Process line 4389
2023-10-13	13:42:42	4389	[DEBUG]	Load a row
2023-10-13	13:42:42	4389	[DEBUG]	Processing item: 8435466216719
2023-10-13	13:42:42	4389	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:42	4389	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:42	4389	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8082_1'
2023-10-13	13:42:42	4389	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:42	4389	[DEBUG]	Processing product tax
2023-10-13	13:42:42	4389	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:42	4389	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:42	4389	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:42	4389	[DEBUG]	Query for Product
2023-10-13	13:42:42	4389	[DEBUG]	Executed store
2023-10-13	13:42:42	4389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863880','8435466216719','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:42	4389	[DEBUG]	No parent found
2023-10-13	13:42:42	4389	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863880 AND customfield_value = 'stockable'
2023-10-13	13:42:42	4389	[DEBUG]	Check product language entry
2023-10-13	13:42:42	4389	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863881
2023-10-13	13:42:42	4389	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:42	4389	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216719' AND `virtuemart_product_id` != 1863881
2023-10-13	13:42:42	4389	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:42	4389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863881, '8435466216719')
2023-10-13	13:42:42	4389	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:42	4389	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-gripper-29-x-2-40-tlr-2c-dh-xtrem-shield-noir-unitaire' AND `virtuemart_product_id` != 1863881
2023-10-13	13:42:42	4389	[DEBUG]	Query for ProductLang
2023-10-13	13:42:42	4389	[DEBUG]	Executed store
2023-10-13	13:42:42	4389	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU GRIPPER 29 X 2.40 TLR 2C DH XTREM SHIELD / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-gripper-29-x-2-40-tlr-2c-dh-xtrem-shield-noir-unitaire' WHERE `virtuemart_product_id` = '1863881'
2023-10-13	13:42:42	4389	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36598_pneu_gripper_29_x_2_40_tlr_2c_dh_xtrem_shield.jpg
2023-10-13	13:42:42	4389	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:42	4389	[DEBUG]	Process image file
2023-10-13	13:42:42	4389	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:42	4389	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:42	4389	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36598_pneu_gripper_29_x_2_40_tlr_2c_dh_xtrem_shield.jpg
2023-10-13	13:42:42	4389	[DEBUG]	Full name target: bcprisme/36598_pneu_gripper_29_x_2_40_tlr_2c_dh_xtrem_shield.jpg
2023-10-13	13:42:43	4389	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:43	4389	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36598_pneu_gripper_29_x_2_40_tlr_2c_dh_xtrem_shield.jpg'
2023-10-13	13:42:43	4389	[DEBUG]	Query for Media
2023-10-13	13:42:43	4389	[DEBUG]	Executed store
2023-10-13	13:42:43	4389	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36598_pneu_gripper_29_x_2_40_tlr_2c_dh_xtrem_shield.jpg',`file_url_thumb`='bcprisme/36598_pneu_gripper_29_x_2_40_tlr_2c_dh_xtrem_shield.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '650440'
2023-10-13	13:42:43	4389	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:43	4389	[DEBUG]	Executed store
2023-10-13	13:42:43	4389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863881','650440','1')
2023-10-13	13:42:43	4389	[DEBUG]	Store product image relation
2023-10-13	13:42:43	4389	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:43	4389	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863881 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:43	4389	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:43	4389	[DEBUG]	Executed store
2023-10-13	13:42:43	4389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863881','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:43	4389	[DEBUG]	Checking manufacturer
2023-10-13	13:42:43	4389	[DEBUG]	Load a row
2023-10-13	13:42:43	4389	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:43	4389	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:43	4389	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:43	4389	[DEBUG]	Executed store
2023-10-13	13:42:43	4389	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:43	4389	[DEBUG]	Manufacturer exists
2023-10-13	13:42:43	4389	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:43	4389	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:43	4389	[DEBUG]	Executed store
2023-10-13	13:42:43	4389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863881','32')
2023-10-13	13:42:43	4389	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:43	4389	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:43	4389	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863881 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:43	4389	[DEBUG]	Store custom available field
2023-10-13	13:42:43	4389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863881,3,'',1)
2023-10-13	13:42:43	4389	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:43	4389	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:43	4389	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863881 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:43	4389	[DEBUG]	Store custom available field
2023-10-13	13:42:43	4389	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863881,6,'Unitaire',3)
2023-10-13	13:42:43	4389	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:43	4389	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:43	4389	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863880
2023-10-13	13:42:43	4389	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:43	4389	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863880\":[1863880,8,1,\"choisir la taille\"],\"1863881\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863880
2023-10-13	13:42:43	4389	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:43	4389	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863881
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:43	4390	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field taille
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:43	4390	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:43	4390	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:43	4390	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:43	4390	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:43	4390	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:43	4390	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field published
2023-10-13	13:42:43	4390	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:43	4390	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field override
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:43	4390	[DEBUG]	Use field value for field slug
2023-10-13	13:42:43	4390	[DEBUG]	Process line 4390
2023-10-13	13:42:43	4390	[DEBUG]	Load a row
2023-10-13	13:42:43	4390	[DEBUG]	Processing item: A_8143_1
2023-10-13	13:42:43	4390	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:43	4390	[DEBUG]	Processing product tax
2023-10-13	13:42:43	4390	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:43	4390	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:43	4390	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:43	4390	[DEBUG]	Query for Product
2023-10-13	13:42:43	4390	[DEBUG]	Executed store
2023-10-13	13:42:43	4390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8143_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:43	4390	[DEBUG]	Check product language entry
2023-10-13	13:42:43	4390	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863882
2023-10-13	13:42:43	4390	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:43	4390	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8143_1' AND `virtuemart_product_id` != 1863882
2023-10-13	13:42:43	4390	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:43	4390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863882, 'A_8143_1')
2023-10-13	13:42:43	4390	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:43	4390	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-dragster-29-x-2-20-tlr-2c-xc-pro-shield-60-tpi-noir' AND `virtuemart_product_id` != 1863882
2023-10-13	13:42:43	4390	[DEBUG]	Query for ProductLang
2023-10-13	13:42:43	4390	[DEBUG]	Executed store
2023-10-13	13:42:43	4390	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>COMPUESTO: 62A/60A<br>680 g<br>-Accroche: 3/5<br>-Traction: 3/5<br>-Vitesse: 5/5<br>-Sec: 5/5<br>-humide: 3/5<br>-Gomme: 62a/60a<br>-ETRTO : 56-622<br><br>DRAGSTER<br><br>Notre modèle le plus rapide et le plus léger, conçu pour voler sur terrain compact, des pistes ou de l\'asphalte, mais sans perdre les propriétés de l\'adhérence, le freinage et la protection des meilleurs pneus mtb.<br><br>Les crampons centrales sont regroupés compactement, avec une hauteur inférieure et la forme de la rampe pour une accélération incroyable et maintenir la vitesse maximale sur le terrain.<br><br>Les crampons latéraux s\'élèvent assez haut pour pouvoir soutenir en toute confiance dans les virages les plus techniques. Disponible avec les carcasses ProShield et EpicShield pour un pilotage à sécurité maximale.<br>N° art fourn : DRA29220TLR2C',`product_name`='MSC PNEU DRAGSTER 29 X 2.20 TLR 2C XC PRO SHIELD 60 TPI   / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-dragster-29-x-2-20-tlr-2c-xc-pro-shield-60-tpi-noir' WHERE `virtuemart_product_id` = '1863882'
2023-10-13	13:42:43	4390	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36690_pneu_dragster_29_x_2_20_tlr_2c_xc_pro_60_tpi__.jpg
2023-10-13	13:42:43	4390	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:43	4390	[DEBUG]	Process image file
2023-10-13	13:42:43	4390	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:43	4390	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:43	4390	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36690_pneu_dragster_29_x_2_20_tlr_2c_xc_pro_60_tpi__.jpg
2023-10-13	13:42:43	4390	[DEBUG]	Full name target: bcprisme/36690_pneu_dragster_29_x_2_20_tlr_2c_xc_pro_60_tpi__.jpg
2023-10-13	13:42:44	4390	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:44	4390	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36690_pneu_dragster_29_x_2_20_tlr_2c_xc_pro_60_tpi__.jpg'
2023-10-13	13:42:44	4390	[DEBUG]	Query for Media
2023-10-13	13:42:44	4390	[DEBUG]	Executed store
2023-10-13	13:42:44	4390	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36690_pneu_dragster_29_x_2_20_tlr_2c_xc_pro_60_tpi__.jpg',`file_url_thumb`='bcprisme/36690_pneu_dragster_29_x_2_20_tlr_2c_xc_pro_60_tpi__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '690336'
2023-10-13	13:42:44	4390	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:44	4390	[DEBUG]	Executed store
2023-10-13	13:42:44	4390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863882','690336','1')
2023-10-13	13:42:44	4390	[DEBUG]	Store product image relation
2023-10-13	13:42:44	4390	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:44	4390	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863882 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:44	4390	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:44	4390	[DEBUG]	Executed store
2023-10-13	13:42:44	4390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863882','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:44	4390	[DEBUG]	Checking manufacturer
2023-10-13	13:42:44	4390	[DEBUG]	Load a row
2023-10-13	13:42:44	4390	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:44	4390	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:44	4390	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:44	4390	[DEBUG]	Executed store
2023-10-13	13:42:44	4390	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:44	4390	[DEBUG]	Manufacturer exists
2023-10-13	13:42:44	4390	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:44	4390	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:44	4390	[DEBUG]	Executed store
2023-10-13	13:42:44	4390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863882','32')
2023-10-13	13:42:44	4390	[DEBUG]	Find the custom field ID
2023-10-13	13:42:44	4390	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:44	4390	[DEBUG]	No custom field ID found
2023-10-13	13:42:44	4390	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:44	4390	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:42:44	4390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863882 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:44	4390	[DEBUG]	Store custom available field
2023-10-13	13:42:44	4390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863882,3,'0',1)
2023-10-13	13:42:44	4390	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:44	4390	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:44	4390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863882 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:44	4390	[DEBUG]	Store custom available field
2023-10-13	13:42:44	4390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863882,6,'choisir la taille',3)
2023-10-13	13:42:44	4390	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:44	4390	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:44	4390	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:44	4390	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:44	4390	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863882 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:44	4390	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:44	4390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863882,8,1)
2023-10-13	13:42:44	4390	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:44	4390	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863882\":[1863882,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863882
2023-10-13	13:42:44	4390	[DEBUG]	Checking category
2023-10-13	13:42:44	4390	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:44	4390	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863882
2023-10-13	13:42:44	4390	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:44	4390	[DEBUG]	Executed store
2023-10-13	13:42:44	4390	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863882','7412')
2023-10-13	13:42:44	4390	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:44	4390	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863882 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:44	4390	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:44	4390	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863882
2023-10-13	13:42:44	4391	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:44	4391	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:44	4391	[DEBUG]	Use field value for field taille
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:45	4391	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:45	4391	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:45	4391	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:45	4391	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:45	4391	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:45	4391	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:45	4391	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:45	4391	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:45	4391	[DEBUG]	Use field value for field published
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:45	4391	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field override
2023-10-13	13:42:45	4391	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:45	4391	[DEBUG]	Use field value for field slug
2023-10-13	13:42:45	4391	[DEBUG]	Process line 4391
2023-10-13	13:42:45	4391	[DEBUG]	Load a row
2023-10-13	13:42:45	4391	[DEBUG]	Processing item: 8435466217167
2023-10-13	13:42:45	4391	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:45	4391	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:45	4391	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8143_1'
2023-10-13	13:42:45	4391	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:45	4391	[DEBUG]	Processing product tax
2023-10-13	13:42:45	4391	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:45	4391	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:45	4391	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:45	4391	[DEBUG]	Query for Product
2023-10-13	13:42:45	4391	[DEBUG]	Executed store
2023-10-13	13:42:45	4391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863882','8435466217167','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:45	4391	[DEBUG]	No parent found
2023-10-13	13:42:45	4391	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863882 AND customfield_value = 'stockable'
2023-10-13	13:42:45	4391	[DEBUG]	Check product language entry
2023-10-13	13:42:45	4391	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863883
2023-10-13	13:42:45	4391	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:45	4391	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466217167' AND `virtuemart_product_id` != 1863883
2023-10-13	13:42:45	4391	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:45	4391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863883, '8435466217167')
2023-10-13	13:42:45	4391	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:45	4391	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-dragster-29-x-2-20-tlr-2c-xc-pro-shield-60-tpi-noir-unitaire' AND `virtuemart_product_id` != 1863883
2023-10-13	13:42:45	4391	[DEBUG]	Query for ProductLang
2023-10-13	13:42:45	4391	[DEBUG]	Executed store
2023-10-13	13:42:45	4391	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU DRAGSTER 29 X 2.20 TLR 2C XC PRO SHIELD 60 TPI   / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-dragster-29-x-2-20-tlr-2c-xc-pro-shield-60-tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863883'
2023-10-13	13:42:45	4391	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36690_pneu_dragster_29_x_2_20_tlr_2c_xc_pro_60_tpi__.jpg
2023-10-13	13:42:45	4391	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:45	4391	[DEBUG]	Process image file
2023-10-13	13:42:45	4391	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:42:45	4391	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:45	4391	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/36690_pneu_dragster_29_x_2_20_tlr_2c_xc_pro_60_tpi__.jpg
2023-10-13	13:42:45	4391	[DEBUG]	Full name target: bcprisme/36690_pneu_dragster_29_x_2_20_tlr_2c_xc_pro_60_tpi__.jpg
2023-10-13	13:42:46	4391	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:46	4391	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/36690_pneu_dragster_29_x_2_20_tlr_2c_xc_pro_60_tpi__.jpg'
2023-10-13	13:42:46	4391	[DEBUG]	Query for Media
2023-10-13	13:42:46	4391	[DEBUG]	Executed store
2023-10-13	13:42:46	4391	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/36690_pneu_dragster_29_x_2_20_tlr_2c_xc_pro_60_tpi__.jpg',`file_url_thumb`='bcprisme/36690_pneu_dragster_29_x_2_20_tlr_2c_xc_pro_60_tpi__.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '690336'
2023-10-13	13:42:46	4391	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:46	4391	[DEBUG]	Executed store
2023-10-13	13:42:46	4391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863883','690336','1')
2023-10-13	13:42:46	4391	[DEBUG]	Store product image relation
2023-10-13	13:42:46	4391	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:46	4391	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863883 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:46	4391	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:46	4391	[DEBUG]	Executed store
2023-10-13	13:42:46	4391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863883','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:46	4391	[DEBUG]	Checking manufacturer
2023-10-13	13:42:46	4391	[DEBUG]	Load a row
2023-10-13	13:42:46	4391	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:46	4391	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:46	4391	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:46	4391	[DEBUG]	Executed store
2023-10-13	13:42:46	4391	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:46	4391	[DEBUG]	Manufacturer exists
2023-10-13	13:42:46	4391	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:46	4391	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:46	4391	[DEBUG]	Executed store
2023-10-13	13:42:46	4391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863883','32')
2023-10-13	13:42:46	4391	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:46	4391	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:46	4391	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863883 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:46	4391	[DEBUG]	Store custom available field
2023-10-13	13:42:46	4391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863883,3,'',1)
2023-10-13	13:42:46	4391	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:46	4391	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:46	4391	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863883 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:46	4391	[DEBUG]	Store custom available field
2023-10-13	13:42:46	4391	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863883,6,'Unitaire',3)
2023-10-13	13:42:46	4391	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:46	4391	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:46	4391	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863882
2023-10-13	13:42:46	4391	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:46	4391	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863882\":[1863882,8,1,\"choisir la taille\"],\"1863883\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863882
2023-10-13	13:42:46	4391	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:46	4391	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863883
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:46	4392	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field taille
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:46	4392	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:46	4392	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:46	4392	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:46	4392	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:46	4392	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:46	4392	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field published
2023-10-13	13:42:46	4392	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:46	4392	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field override
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:46	4392	[DEBUG]	Use field value for field slug
2023-10-13	13:42:46	4392	[DEBUG]	Process line 4392
2023-10-13	13:42:46	4392	[DEBUG]	Load a row
2023-10-13	13:42:46	4392	[DEBUG]	Processing item: A_8362_1
2023-10-13	13:42:46	4392	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:46	4392	[DEBUG]	Processing product tax
2023-10-13	13:42:46	4392	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:46	4392	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:46	4392	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:46	4392	[DEBUG]	Query for Product
2023-10-13	13:42:46	4392	[DEBUG]	Executed store
2023-10-13	13:42:46	4392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8362_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:46	4392	[DEBUG]	Check product language entry
2023-10-13	13:42:46	4392	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863884
2023-10-13	13:42:46	4392	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:46	4392	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8362_1' AND `virtuemart_product_id` != 1863884
2023-10-13	13:42:46	4392	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:46	4392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863884, 'A_8362_1')
2023-10-13	13:42:46	4392	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:46	4392	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-singletrack-29x2-20-tlr-2c-dh-sup-60-tpi-noir' AND `virtuemart_product_id` != 1863884
2023-10-13	13:42:46	4392	[DEBUG]	Query for ProductLang
2023-10-13	13:42:46	4392	[DEBUG]	Executed store
2023-10-13	13:42:46	4392	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br><br>N° art fourn : SIN29220TLR2CS',`product_name`='MSC PNEU SINGLETRACK 29X2.20 TLR  2C DH SUP 60 TPI  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-singletrack-29x2-20-tlr-2c-dh-sup-60-tpi-noir' WHERE `virtuemart_product_id` = '1863884'
2023-10-13	13:42:46	4392	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37006_pneu_singletrack_29x2_20_tlr__2c_dh_sup_60_tpi_.png
2023-10-13	13:42:46	4392	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:42:46	4392	[DEBUG]	Process image file
2023-10-13	13:42:46	4392	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:42:46	4392	[DEBUG]	Mime type found: image/png
2023-10-13	13:42:46	4392	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37006_pneu_singletrack_29x2_20_tlr__2c_dh_sup_60_tpi_.png
2023-10-13	13:42:46	4392	[DEBUG]	Full name target: bcprisme/37006_pneu_singletrack_29x2_20_tlr__2c_dh_sup_60_tpi_.png
2023-10-13	13:42:47	4392	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:47	4392	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37006_pneu_singletrack_29x2_20_tlr__2c_dh_sup_60_tpi_.png'
2023-10-13	13:42:47	4392	[DEBUG]	Query for Media
2023-10-13	13:42:47	4392	[DEBUG]	Executed store
2023-10-13	13:42:47	4392	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37006_pneu_singletrack_29x2_20_tlr__2c_dh_sup_60_tpi_.png',`file_url_thumb`='bcprisme/37006_pneu_singletrack_29x2_20_tlr__2c_dh_sup_60_tpi_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '801820'
2023-10-13	13:42:47	4392	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:47	4392	[DEBUG]	Executed store
2023-10-13	13:42:47	4392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863884','801820','1')
2023-10-13	13:42:47	4392	[DEBUG]	Store product image relation
2023-10-13	13:42:47	4392	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:47	4392	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863884 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:47	4392	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:47	4392	[DEBUG]	Executed store
2023-10-13	13:42:47	4392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863884','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:47	4392	[DEBUG]	Checking manufacturer
2023-10-13	13:42:47	4392	[DEBUG]	Load a row
2023-10-13	13:42:47	4392	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:47	4392	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:47	4392	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:47	4392	[DEBUG]	Executed store
2023-10-13	13:42:47	4392	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:47	4392	[DEBUG]	Manufacturer exists
2023-10-13	13:42:47	4392	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:47	4392	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:47	4392	[DEBUG]	Executed store
2023-10-13	13:42:47	4392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863884','32')
2023-10-13	13:42:47	4392	[DEBUG]	Find the custom field ID
2023-10-13	13:42:47	4392	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:47	4392	[DEBUG]	No custom field ID found
2023-10-13	13:42:47	4392	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:47	4392	[DEBUG]	Get existing row with customfield value 46.7697222222222
2023-10-13	13:42:47	4392	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863884 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:47	4392	[DEBUG]	Store custom available field
2023-10-13	13:42:47	4392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863884,3,'46.7697222222222',1)
2023-10-13	13:42:47	4392	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:47	4392	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:47	4392	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863884 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:47	4392	[DEBUG]	Store custom available field
2023-10-13	13:42:47	4392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863884,6,'choisir la taille',3)
2023-10-13	13:42:47	4392	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:47	4392	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:47	4392	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:47	4392	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:47	4392	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863884 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:47	4392	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:47	4392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863884,8,1)
2023-10-13	13:42:47	4392	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:47	4392	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863884\":[1863884,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863884
2023-10-13	13:42:47	4392	[DEBUG]	Checking category
2023-10-13	13:42:47	4392	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:47	4392	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863884
2023-10-13	13:42:47	4392	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:47	4392	[DEBUG]	Executed store
2023-10-13	13:42:47	4392	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863884','7412')
2023-10-13	13:42:47	4392	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:47	4392	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863884 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:47	4392	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:47	4392	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863884
2023-10-13	13:42:47	4393	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:47	4393	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:47	4393	[DEBUG]	Use field value for field taille
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:47	4393	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:47	4393	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:47	4393	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:47	4393	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:47	4393	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:47	4393	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:47	4393	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:47	4393	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:47	4393	[DEBUG]	Use field value for field published
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:47	4393	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field override
2023-10-13	13:42:47	4393	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:47	4393	[DEBUG]	Use field value for field slug
2023-10-13	13:42:47	4393	[DEBUG]	Process line 4393
2023-10-13	13:42:47	4393	[DEBUG]	Load a row
2023-10-13	13:42:47	4393	[DEBUG]	Processing item: 8435466216467
2023-10-13	13:42:47	4393	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:47	4393	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:47	4393	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8362_1'
2023-10-13	13:42:47	4393	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:47	4393	[DEBUG]	Processing product tax
2023-10-13	13:42:47	4393	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:47	4393	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:47	4393	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:47	4393	[DEBUG]	Query for Product
2023-10-13	13:42:47	4393	[DEBUG]	Executed store
2023-10-13	13:42:47	4393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863884','8435466216467','0','KG','M','','16','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:47	4393	[DEBUG]	No parent found
2023-10-13	13:42:47	4393	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863884 AND customfield_value = 'stockable'
2023-10-13	13:42:47	4393	[DEBUG]	Check product language entry
2023-10-13	13:42:47	4393	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863885
2023-10-13	13:42:47	4393	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:47	4393	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216467' AND `virtuemart_product_id` != 1863885
2023-10-13	13:42:47	4393	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:47	4393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863885, '8435466216467')
2023-10-13	13:42:47	4393	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:47	4393	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-singletrack-29x2-20-tlr-2c-dh-sup-60-tpi-noir-unitaire' AND `virtuemart_product_id` != 1863885
2023-10-13	13:42:47	4393	[DEBUG]	Query for ProductLang
2023-10-13	13:42:47	4393	[DEBUG]	Executed store
2023-10-13	13:42:47	4393	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU SINGLETRACK 29X2.20 TLR  2C DH SUP 60 TPI  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-singletrack-29x2-20-tlr-2c-dh-sup-60-tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863885'
2023-10-13	13:42:47	4393	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37006_pneu_singletrack_29x2_20_tlr__2c_dh_sup_60_tpi_.png
2023-10-13	13:42:47	4393	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:42:47	4393	[DEBUG]	Process image file
2023-10-13	13:42:47	4393	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001c2
2023-10-13	13:42:47	4393	[DEBUG]	Mime type found: image/png
2023-10-13	13:42:47	4393	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37006_pneu_singletrack_29x2_20_tlr__2c_dh_sup_60_tpi_.png
2023-10-13	13:42:47	4393	[DEBUG]	Full name target: bcprisme/37006_pneu_singletrack_29x2_20_tlr__2c_dh_sup_60_tpi_.png
2023-10-13	13:42:48	4393	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:48	4393	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37006_pneu_singletrack_29x2_20_tlr__2c_dh_sup_60_tpi_.png'
2023-10-13	13:42:48	4393	[DEBUG]	Query for Media
2023-10-13	13:42:48	4393	[DEBUG]	Executed store
2023-10-13	13:42:48	4393	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37006_pneu_singletrack_29x2_20_tlr__2c_dh_sup_60_tpi_.png',`file_url_thumb`='bcprisme/37006_pneu_singletrack_29x2_20_tlr__2c_dh_sup_60_tpi_.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '801820'
2023-10-13	13:42:48	4393	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:48	4393	[DEBUG]	Executed store
2023-10-13	13:42:48	4393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863885','801820','1')
2023-10-13	13:42:48	4393	[DEBUG]	Store product image relation
2023-10-13	13:42:48	4393	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:48	4393	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863885 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:48	4393	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:48	4393	[DEBUG]	Executed store
2023-10-13	13:42:48	4393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863885','0','60.2599814298979','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:48	4393	[DEBUG]	Checking manufacturer
2023-10-13	13:42:48	4393	[DEBUG]	Load a row
2023-10-13	13:42:48	4393	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:48	4393	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:48	4393	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:48	4393	[DEBUG]	Executed store
2023-10-13	13:42:48	4393	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:48	4393	[DEBUG]	Manufacturer exists
2023-10-13	13:42:48	4393	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:48	4393	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:48	4393	[DEBUG]	Executed store
2023-10-13	13:42:48	4393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863885','32')
2023-10-13	13:42:48	4393	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:48	4393	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:48	4393	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863885 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:48	4393	[DEBUG]	Store custom available field
2023-10-13	13:42:48	4393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863885,3,'',1)
2023-10-13	13:42:48	4393	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:48	4393	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:48	4393	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863885 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:48	4393	[DEBUG]	Store custom available field
2023-10-13	13:42:48	4393	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863885,6,'Unitaire',3)
2023-10-13	13:42:48	4393	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:48	4393	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:48	4393	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863884
2023-10-13	13:42:48	4393	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:48	4393	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863884\":[1863884,8,1,\"choisir la taille\"],\"1863885\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863884
2023-10-13	13:42:48	4393	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:48	4393	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863885
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:48	4394	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field taille
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:48	4394	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:48	4394	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:48	4394	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:48	4394	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:48	4394	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:48	4394	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field published
2023-10-13	13:42:48	4394	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:48	4394	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field override
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:48	4394	[DEBUG]	Use field value for field slug
2023-10-13	13:42:48	4394	[DEBUG]	Process line 4394
2023-10-13	13:42:48	4394	[DEBUG]	Load a row
2023-10-13	13:42:48	4394	[DEBUG]	Processing item: A_8512_84
2023-10-13	13:42:48	4394	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:48	4394	[DEBUG]	Processing product tax
2023-10-13	13:42:48	4394	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:48	4394	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:48	4394	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:48	4394	[DEBUG]	Query for Product
2023-10-13	13:42:48	4394	[DEBUG]	Executed store
2023-10-13	13:42:48	4394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8512_84','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:48	4394	[DEBUG]	Check product language entry
2023-10-13	13:42:48	4394	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863886
2023-10-13	13:42:48	4394	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:48	4394	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8512_84' AND `virtuemart_product_id` != 1863886
2023-10-13	13:42:48	4394	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:48	4394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863886, 'A_8512_84')
2023-10-13	13:42:48	4394	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:48	4394	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-ice-spiker-29x2-25-rigide-black-black' AND `virtuemart_product_id` != 1863886
2023-10-13	13:42:48	4394	[DEBUG]	Query for ProductLang
2023-10-13	13:42:48	4394	[DEBUG]	Executed store
2023-10-13	13:42:48	4394	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.65248',`product_name`='SCHWALBE Pneu Ice Spiker 29x2.25 rigide black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-ice-spiker-29x2-25-rigide-black-black' WHERE `virtuemart_product_id` = '1863886'
2023-10-13	13:42:48	4394	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56670_001_jpg.jpg
2023-10-13	13:42:48	4394	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:42:48	4394	[DEBUG]	Process image file
2023-10-13	13:42:48	4394	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:42:48	4394	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:48	4394	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56670_001_jpg.jpg
2023-10-13	13:42:48	4394	[DEBUG]	Full name target: bcprisme/24_56670_001_jpg.jpg
2023-10-13	13:42:49	4394	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:49	4394	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_56670_001_jpg.jpg'
2023-10-13	13:42:49	4394	[DEBUG]	Query for Media
2023-10-13	13:42:49	4394	[DEBUG]	Executed store
2023-10-13	13:42:49	4394	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_56670_001_jpg.jpg',`file_url_thumb`='bcprisme/24_56670_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '954333'
2023-10-13	13:42:49	4394	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:49	4394	[DEBUG]	Executed store
2023-10-13	13:42:49	4394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863886','954333','1')
2023-10-13	13:42:49	4394	[DEBUG]	Store product image relation
2023-10-13	13:42:49	4394	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:49	4394	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863886 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:49	4394	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:49	4394	[DEBUG]	Executed store
2023-10-13	13:42:49	4394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863886','0','97.4930362116992','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:49	4394	[DEBUG]	Checking manufacturer
2023-10-13	13:42:49	4394	[DEBUG]	Load a row
2023-10-13	13:42:49	4394	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:49	4394	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:42:49	4394	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:49	4394	[DEBUG]	Executed store
2023-10-13	13:42:49	4394	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:42:49	4394	[DEBUG]	Manufacturer exists
2023-10-13	13:42:49	4394	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:42:49	4394	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:49	4394	[DEBUG]	Executed store
2023-10-13	13:42:49	4394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863886','24')
2023-10-13	13:42:49	4394	[DEBUG]	Find the custom field ID
2023-10-13	13:42:49	4394	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:49	4394	[DEBUG]	No custom field ID found
2023-10-13	13:42:49	4394	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:49	4394	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:42:49	4394	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863886 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:49	4394	[DEBUG]	Store custom available field
2023-10-13	13:42:49	4394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863886,3,'0',1)
2023-10-13	13:42:49	4394	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:49	4394	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:49	4394	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863886 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:49	4394	[DEBUG]	Store custom available field
2023-10-13	13:42:49	4394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863886,6,'choisir la taille',3)
2023-10-13	13:42:49	4394	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:49	4394	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:49	4394	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:49	4394	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:49	4394	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863886 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:49	4394	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:49	4394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863886,8,1)
2023-10-13	13:42:49	4394	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:49	4394	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863886\":[1863886,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863886
2023-10-13	13:42:49	4394	[DEBUG]	Checking category
2023-10-13	13:42:49	4394	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:49	4394	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863886
2023-10-13	13:42:49	4394	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:49	4394	[DEBUG]	Executed store
2023-10-13	13:42:49	4394	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863886','7412')
2023-10-13	13:42:49	4394	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:49	4394	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863886 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:49	4394	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:49	4394	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863886
2023-10-13	13:42:49	4395	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:49	4395	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:49	4395	[DEBUG]	Use field value for field taille
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:49	4395	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:49	4395	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:49	4395	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:49	4395	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:49	4395	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:49	4395	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:49	4395	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:49	4395	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:49	4395	[DEBUG]	Use field value for field published
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:49	4395	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field override
2023-10-13	13:42:49	4395	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:49	4395	[DEBUG]	Use field value for field slug
2023-10-13	13:42:49	4395	[DEBUG]	Process line 4395
2023-10-13	13:42:49	4395	[DEBUG]	Load a row
2023-10-13	13:42:49	4395	[DEBUG]	Processing item: 4026495749855
2023-10-13	13:42:49	4395	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:49	4395	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:49	4395	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8512_84'
2023-10-13	13:42:49	4395	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:49	4395	[DEBUG]	Processing product tax
2023-10-13	13:42:49	4395	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:49	4395	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:49	4395	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:49	4395	[DEBUG]	Query for Product
2023-10-13	13:42:49	4395	[DEBUG]	Executed store
2023-10-13	13:42:49	4395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863886','4026495749855','0','KG','M','','2','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:49	4395	[DEBUG]	No parent found
2023-10-13	13:42:49	4395	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863886 AND customfield_value = 'stockable'
2023-10-13	13:42:49	4395	[DEBUG]	Check product language entry
2023-10-13	13:42:49	4395	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863887
2023-10-13	13:42:49	4395	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:49	4395	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495749855' AND `virtuemart_product_id` != 1863887
2023-10-13	13:42:49	4395	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:49	4395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863887, '4026495749855')
2023-10-13	13:42:49	4395	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:49	4395	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-ice-spiker-29x2-25-rigide-black-black-unitaire' AND `virtuemart_product_id` != 1863887
2023-10-13	13:42:49	4395	[DEBUG]	Query for ProductLang
2023-10-13	13:42:49	4395	[DEBUG]	Executed store
2023-10-13	13:42:49	4395	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Ice Spiker 29x2.25 rigide black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-ice-spiker-29x2-25-rigide-black-black-unitaire' WHERE `virtuemart_product_id` = '1863887'
2023-10-13	13:42:49	4395	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56670_001_jpg.jpg
2023-10-13	13:42:49	4395	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:42:49	4395	[DEBUG]	Process image file
2023-10-13	13:42:49	4395	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:42:49	4395	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:49	4395	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_56670_001_jpg.jpg
2023-10-13	13:42:49	4395	[DEBUG]	Full name target: bcprisme/24_56670_001_jpg.jpg
2023-10-13	13:42:50	4395	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:50	4395	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_56670_001_jpg.jpg'
2023-10-13	13:42:50	4395	[DEBUG]	Query for Media
2023-10-13	13:42:50	4395	[DEBUG]	Executed store
2023-10-13	13:42:50	4395	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_56670_001_jpg.jpg',`file_url_thumb`='bcprisme/24_56670_001_jpg.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '954333'
2023-10-13	13:42:50	4395	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:50	4395	[DEBUG]	Executed store
2023-10-13	13:42:50	4395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863887','954333','1')
2023-10-13	13:42:50	4395	[DEBUG]	Store product image relation
2023-10-13	13:42:50	4395	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:50	4395	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863887 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:50	4395	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:50	4395	[DEBUG]	Executed store
2023-10-13	13:42:50	4395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863887','0','97.4930362116992','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:50	4395	[DEBUG]	Checking manufacturer
2023-10-13	13:42:50	4395	[DEBUG]	Load a row
2023-10-13	13:42:50	4395	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:50	4395	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:42:50	4395	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:50	4395	[DEBUG]	Executed store
2023-10-13	13:42:50	4395	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:42:50	4395	[DEBUG]	Manufacturer exists
2023-10-13	13:42:50	4395	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:42:50	4395	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:50	4395	[DEBUG]	Executed store
2023-10-13	13:42:50	4395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863887','24')
2023-10-13	13:42:50	4395	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:50	4395	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:50	4395	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863887 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:50	4395	[DEBUG]	Store custom available field
2023-10-13	13:42:50	4395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863887,3,'',1)
2023-10-13	13:42:50	4395	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:50	4395	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:50	4395	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863887 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:50	4395	[DEBUG]	Store custom available field
2023-10-13	13:42:50	4395	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863887,6,'Unitaire',3)
2023-10-13	13:42:50	4395	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:50	4395	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:50	4395	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863886
2023-10-13	13:42:50	4395	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:50	4395	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863886\":[1863886,8,1,\"choisir la taille\"],\"1863887\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863886
2023-10-13	13:42:50	4395	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:50	4395	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863887
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:50	4396	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field taille
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:50	4396	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:50	4396	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:50	4396	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:50	4396	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:50	4396	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:50	4396	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field published
2023-10-13	13:42:50	4396	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:50	4396	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field override
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:50	4396	[DEBUG]	Use field value for field slug
2023-10-13	13:42:50	4396	[DEBUG]	Process line 4396
2023-10-13	13:42:50	4396	[DEBUG]	Load a row
2023-10-13	13:42:50	4396	[DEBUG]	Processing item: A_8606_1
2023-10-13	13:42:50	4396	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:50	4396	[DEBUG]	Processing product tax
2023-10-13	13:42:50	4396	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:50	4396	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:50	4396	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:50	4396	[DEBUG]	Query for Product
2023-10-13	13:42:50	4396	[DEBUG]	Executed store
2023-10-13	13:42:50	4396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8606_1','0.5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:50	4396	[DEBUG]	Check product language entry
2023-10-13	13:42:50	4396	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863888
2023-10-13	13:42:50	4396	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:50	4396	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8606_1' AND `virtuemart_product_id` != 1863888
2023-10-13	13:42:50	4396	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:50	4396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863888, 'A_8606_1')
2023-10-13	13:42:50	4396	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:50	4396	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'maxxis-pneu-dissector-29-x-2-40-wt-120-tpi-3c-maxx-terra-exo-tr-copie-noir' AND `virtuemart_product_id` != 1863888
2023-10-13	13:42:50	4396	[DEBUG]	Query for ProductLang
2023-10-13	13:42:50	4396	[DEBUG]	Executed store
2023-10-13	13:42:50	4396	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : DISSECTOR29240',`product_name`='MAXXIS PNEU DISSECTOR 29 x 2.40 WT 120 TPI 3C MAXX TERRA EXO+ TR (copie) / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='maxxis-pneu-dissector-29-x-2-40-wt-120-tpi-3c-maxx-terra-exo-tr-copie-noir' WHERE `virtuemart_product_id` = '1863888'
2023-10-13	13:42:50	4396	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37444_pneu_dissector_29_x_2_40_wt_120_tpi_3c_maxx_terra_exo+_tr_(copie).jpg
2023-10-13	13:42:50	4396	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:42:50	4396	[DEBUG]	Process image file
2023-10-13	13:42:50	4396	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:42:50	4396	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:50	4396	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37444_pneu_dissector_29_x_2_40_wt_120_tpi_3c_maxx_terra_exo+_tr_(copie).jpg
2023-10-13	13:42:50	4396	[DEBUG]	Full name target: bcprisme/37444_pneu_dissector_29_x_2_40_wt_120_tpi_3c_maxx_terra_exo+_tr_(copie).jpg
2023-10-13	13:42:51	4396	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:51	4396	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37444_pneu_dissector_29_x_2_40_wt_120_tpi_3c_maxx_terra_exo+_tr_(copie).jpg'
2023-10-13	13:42:51	4396	[DEBUG]	Query for Media
2023-10-13	13:42:51	4396	[DEBUG]	Executed store
2023-10-13	13:42:51	4396	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37444_pneu_dissector_29_x_2_40_wt_120_tpi_3c_maxx_terra_exo+_tr_(copie).jpg',`file_url_thumb`='bcprisme/37444_pneu_dissector_29_x_2_40_wt_120_tpi_3c_maxx_terra_exo+_tr_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1005261'
2023-10-13	13:42:51	4396	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:51	4396	[DEBUG]	Executed store
2023-10-13	13:42:51	4396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863888','1005261','1')
2023-10-13	13:42:51	4396	[DEBUG]	Store product image relation
2023-10-13	13:42:51	4396	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:51	4396	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863888 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:51	4396	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:51	4396	[DEBUG]	Executed store
2023-10-13	13:42:51	4396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863888','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:51	4396	[DEBUG]	Checking manufacturer
2023-10-13	13:42:51	4396	[DEBUG]	Load a row
2023-10-13	13:42:51	4396	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:51	4396	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:42:51	4396	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:51	4396	[DEBUG]	Executed store
2023-10-13	13:42:51	4396	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:42:51	4396	[DEBUG]	Manufacturer exists
2023-10-13	13:42:51	4396	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:42:51	4396	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:51	4396	[DEBUG]	Executed store
2023-10-13	13:42:51	4396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863888','20')
2023-10-13	13:42:51	4396	[DEBUG]	Find the custom field ID
2023-10-13	13:42:51	4396	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:51	4396	[DEBUG]	No custom field ID found
2023-10-13	13:42:51	4396	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:51	4396	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:42:51	4396	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863888 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:51	4396	[DEBUG]	Store custom available field
2023-10-13	13:42:51	4396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863888,3,'0',1)
2023-10-13	13:42:51	4396	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:51	4396	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:51	4396	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863888 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:51	4396	[DEBUG]	Store custom available field
2023-10-13	13:42:51	4396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863888,6,'choisir la taille',3)
2023-10-13	13:42:51	4396	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:51	4396	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:51	4396	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:51	4396	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:51	4396	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863888 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:51	4396	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:51	4396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863888,8,1)
2023-10-13	13:42:51	4396	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:51	4396	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863888\":[1863888,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863888
2023-10-13	13:42:51	4396	[DEBUG]	Checking category
2023-10-13	13:42:51	4396	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:51	4396	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863888
2023-10-13	13:42:51	4396	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:51	4396	[DEBUG]	Executed store
2023-10-13	13:42:51	4396	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863888','7412')
2023-10-13	13:42:51	4396	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:51	4396	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863888 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:51	4396	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:51	4396	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863888
2023-10-13	13:42:51	4397	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:51	4397	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:51	4397	[DEBUG]	Use field value for field taille
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:51	4397	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:51	4397	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:51	4397	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:51	4397	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:51	4397	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:51	4397	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:51	4397	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:51	4397	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:51	4397	[DEBUG]	Use field value for field published
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:51	4397	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field override
2023-10-13	13:42:51	4397	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:51	4397	[DEBUG]	Use field value for field slug
2023-10-13	13:42:51	4397	[DEBUG]	Process line 4397
2023-10-13	13:42:51	4397	[DEBUG]	Load a row
2023-10-13	13:42:51	4397	[DEBUG]	Processing item: 1000000157123
2023-10-13	13:42:51	4397	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:51	4397	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:51	4397	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8606_1'
2023-10-13	13:42:51	4397	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:51	4397	[DEBUG]	Processing product tax
2023-10-13	13:42:51	4397	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:51	4397	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:51	4397	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:51	4397	[DEBUG]	Query for Product
2023-10-13	13:42:51	4397	[DEBUG]	Executed store
2023-10-13	13:42:51	4397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863888','1000000157123','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:51	4397	[DEBUG]	No parent found
2023-10-13	13:42:51	4397	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863888 AND customfield_value = 'stockable'
2023-10-13	13:42:51	4397	[DEBUG]	Check product language entry
2023-10-13	13:42:51	4397	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863889
2023-10-13	13:42:51	4397	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:51	4397	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000157123' AND `virtuemart_product_id` != 1863889
2023-10-13	13:42:51	4397	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:51	4397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863889, '1000000157123')
2023-10-13	13:42:51	4397	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:51	4397	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'maxxis-pneu-dissector-29-x-2-40-wt-120-tpi-3c-maxx-terra-exo-tr-copie-noir-unitaire' AND `virtuemart_product_id` != 1863889
2023-10-13	13:42:51	4397	[DEBUG]	Query for ProductLang
2023-10-13	13:42:51	4397	[DEBUG]	Executed store
2023-10-13	13:42:51	4397	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAXXIS PNEU DISSECTOR 29 x 2.40 WT 120 TPI 3C MAXX TERRA EXO+ TR (copie) / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='maxxis-pneu-dissector-29-x-2-40-wt-120-tpi-3c-maxx-terra-exo-tr-copie-noir-unitaire' WHERE `virtuemart_product_id` = '1863889'
2023-10-13	13:42:51	4397	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37444_pneu_dissector_29_x_2_40_wt_120_tpi_3c_maxx_terra_exo+_tr_(copie).jpg
2023-10-13	13:42:51	4397	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:42:51	4397	[DEBUG]	Process image file
2023-10-13	13:42:51	4397	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006400640000
2023-10-13	13:42:51	4397	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:51	4397	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37444_pneu_dissector_29_x_2_40_wt_120_tpi_3c_maxx_terra_exo+_tr_(copie).jpg
2023-10-13	13:42:51	4397	[DEBUG]	Full name target: bcprisme/37444_pneu_dissector_29_x_2_40_wt_120_tpi_3c_maxx_terra_exo+_tr_(copie).jpg
2023-10-13	13:42:52	4397	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:52	4397	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37444_pneu_dissector_29_x_2_40_wt_120_tpi_3c_maxx_terra_exo+_tr_(copie).jpg'
2023-10-13	13:42:52	4397	[DEBUG]	Query for Media
2023-10-13	13:42:52	4397	[DEBUG]	Executed store
2023-10-13	13:42:52	4397	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37444_pneu_dissector_29_x_2_40_wt_120_tpi_3c_maxx_terra_exo+_tr_(copie).jpg',`file_url_thumb`='bcprisme/37444_pneu_dissector_29_x_2_40_wt_120_tpi_3c_maxx_terra_exo+_tr_(copie).jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1005261'
2023-10-13	13:42:52	4397	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:52	4397	[DEBUG]	Executed store
2023-10-13	13:42:52	4397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863889','1005261','1')
2023-10-13	13:42:52	4397	[DEBUG]	Store product image relation
2023-10-13	13:42:52	4397	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:52	4397	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863889 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:52	4397	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:52	4397	[DEBUG]	Executed store
2023-10-13	13:42:52	4397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863889','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:52	4397	[DEBUG]	Checking manufacturer
2023-10-13	13:42:52	4397	[DEBUG]	Load a row
2023-10-13	13:42:52	4397	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:52	4397	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:42:52	4397	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:52	4397	[DEBUG]	Executed store
2023-10-13	13:42:52	4397	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:42:52	4397	[DEBUG]	Manufacturer exists
2023-10-13	13:42:52	4397	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:42:52	4397	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:52	4397	[DEBUG]	Executed store
2023-10-13	13:42:52	4397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863889','20')
2023-10-13	13:42:52	4397	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:52	4397	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:52	4397	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863889 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:52	4397	[DEBUG]	Store custom available field
2023-10-13	13:42:52	4397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863889,3,'',1)
2023-10-13	13:42:52	4397	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:52	4397	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:52	4397	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863889 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:52	4397	[DEBUG]	Store custom available field
2023-10-13	13:42:52	4397	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863889,6,'Unitaire',3)
2023-10-13	13:42:52	4397	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:52	4397	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:52	4397	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863888
2023-10-13	13:42:52	4397	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:52	4397	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863888\":[1863888,8,1,\"choisir la taille\"],\"1863889\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863888
2023-10-13	13:42:52	4397	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:52	4397	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863889
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:52	4398	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field taille
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:52	4398	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:52	4398	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:52	4398	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:52	4398	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:52	4398	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:52	4398	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field published
2023-10-13	13:42:52	4398	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:52	4398	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field override
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:52	4398	[DEBUG]	Use field value for field slug
2023-10-13	13:42:52	4398	[DEBUG]	Process line 4398
2023-10-13	13:42:52	4398	[DEBUG]	Load a row
2023-10-13	13:42:52	4398	[DEBUG]	Processing item: A_8607_1
2023-10-13	13:42:52	4398	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:52	4398	[DEBUG]	Processing product tax
2023-10-13	13:42:52	4398	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:52	4398	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:52	4398	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:52	4398	[DEBUG]	Query for Product
2023-10-13	13:42:52	4398	[DEBUG]	Executed store
2023-10-13	13:42:52	4398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8607_1','0.5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:52	4398	[DEBUG]	Check product language entry
2023-10-13	13:42:52	4398	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863890
2023-10-13	13:42:52	4398	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:52	4398	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8607_1' AND `virtuemart_product_id` != 1863890
2023-10-13	13:42:52	4398	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:52	4398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863890, 'A_8607_1')
2023-10-13	13:42:52	4398	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:52	4398	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'maxxis-pneu-rekon-race-29-x-2-35-120-tpi-exo-tr-noir' AND `virtuemart_product_id` != 1863890
2023-10-13	13:42:52	4398	[DEBUG]	Query for ProductLang
2023-10-13	13:42:52	4398	[DEBUG]	Executed store
2023-10-13	13:42:52	4398	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : RECOONRACE29235',`product_name`='MAXXIS PNEU REKON RACE 29 X 2.35 120 TPI EXO TR / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='maxxis-pneu-rekon-race-29-x-2-35-120-tpi-exo-tr-noir' WHERE `virtuemart_product_id` = '1863890'
2023-10-13	13:42:52	4398	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37445_pneu_recon_race_29_x_2_35_120_tpi_exo_tr.jpg
2023-10-13	13:42:52	4398	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:42:52	4398	[DEBUG]	Process image file
2023-10-13	13:42:52	4398	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:42:52	4398	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:52	4398	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37445_pneu_recon_race_29_x_2_35_120_tpi_exo_tr.jpg
2023-10-13	13:42:52	4398	[DEBUG]	Full name target: bcprisme/37445_pneu_recon_race_29_x_2_35_120_tpi_exo_tr.jpg
2023-10-13	13:42:53	4398	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:53	4398	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37445_pneu_recon_race_29_x_2_35_120_tpi_exo_tr.jpg'
2023-10-13	13:42:53	4398	[DEBUG]	Query for Media
2023-10-13	13:42:53	4398	[DEBUG]	Executed store
2023-10-13	13:42:53	4398	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37445_pneu_recon_race_29_x_2_35_120_tpi_exo_tr.jpg',`file_url_thumb`='bcprisme/37445_pneu_recon_race_29_x_2_35_120_tpi_exo_tr.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1005263'
2023-10-13	13:42:53	4398	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:53	4398	[DEBUG]	Executed store
2023-10-13	13:42:53	4398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863890','1005263','1')
2023-10-13	13:42:53	4398	[DEBUG]	Store product image relation
2023-10-13	13:42:53	4398	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:53	4398	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863890 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:53	4398	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:53	4398	[DEBUG]	Executed store
2023-10-13	13:42:53	4398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863890','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:53	4398	[DEBUG]	Checking manufacturer
2023-10-13	13:42:53	4398	[DEBUG]	Load a row
2023-10-13	13:42:53	4398	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:53	4398	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:42:53	4398	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:53	4398	[DEBUG]	Executed store
2023-10-13	13:42:53	4398	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:42:53	4398	[DEBUG]	Manufacturer exists
2023-10-13	13:42:53	4398	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:42:53	4398	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:53	4398	[DEBUG]	Executed store
2023-10-13	13:42:53	4398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863890','20')
2023-10-13	13:42:53	4398	[DEBUG]	Find the custom field ID
2023-10-13	13:42:53	4398	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:53	4398	[DEBUG]	No custom field ID found
2023-10-13	13:42:53	4398	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:53	4398	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:42:53	4398	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863890 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:53	4398	[DEBUG]	Store custom available field
2023-10-13	13:42:53	4398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863890,3,'0',1)
2023-10-13	13:42:53	4398	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:53	4398	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:53	4398	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863890 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:53	4398	[DEBUG]	Store custom available field
2023-10-13	13:42:53	4398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863890,6,'choisir la taille',3)
2023-10-13	13:42:53	4398	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:53	4398	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:53	4398	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:53	4398	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:53	4398	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863890 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:53	4398	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:53	4398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863890,8,1)
2023-10-13	13:42:53	4398	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:53	4398	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863890\":[1863890,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863890
2023-10-13	13:42:53	4398	[DEBUG]	Checking category
2023-10-13	13:42:53	4398	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:53	4398	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863890
2023-10-13	13:42:53	4398	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:53	4398	[DEBUG]	Executed store
2023-10-13	13:42:53	4398	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863890','7412')
2023-10-13	13:42:53	4398	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:53	4398	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863890 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:53	4398	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:53	4398	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863890
2023-10-13	13:42:53	4399	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:53	4399	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:42:53	4399	[DEBUG]	Use field value for field taille
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:42:53	4399	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field category_path
2023-10-13	13:42:53	4399	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:53	4399	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:53	4399	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:53	4399	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:42:53	4399	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field product_weight
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:53	4399	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:53	4399	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:53	4399	[DEBUG]	Use field value for field published
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field custom_title
2023-10-13	13:42:53	4399	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field custom_param
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field override
2023-10-13	13:42:53	4399	[DEBUG]	Use default value for field public_price
2023-10-13	13:42:53	4399	[DEBUG]	Use field value for field slug
2023-10-13	13:42:53	4399	[DEBUG]	Process line 4399
2023-10-13	13:42:53	4399	[DEBUG]	Load a row
2023-10-13	13:42:53	4399	[DEBUG]	Processing item: 1000000157130
2023-10-13	13:42:53	4399	[DEBUG]	Looking for parent SKU
2023-10-13	13:42:53	4399	[DEBUG]	Checking product parent SKU
2023-10-13	13:42:53	4399	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8607_1'
2023-10-13	13:42:53	4399	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:53	4399	[DEBUG]	Processing product tax
2023-10-13	13:42:53	4399	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:53	4399	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:53	4399	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:53	4399	[DEBUG]	Query for Product
2023-10-13	13:42:53	4399	[DEBUG]	Executed store
2023-10-13	13:42:53	4399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863890','1000000157130','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:53	4399	[DEBUG]	No parent found
2023-10-13	13:42:53	4399	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863890 AND customfield_value = 'stockable'
2023-10-13	13:42:53	4399	[DEBUG]	Check product language entry
2023-10-13	13:42:53	4399	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863891
2023-10-13	13:42:53	4399	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:53	4399	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000157130' AND `virtuemart_product_id` != 1863891
2023-10-13	13:42:53	4399	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:53	4399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863891, '1000000157130')
2023-10-13	13:42:53	4399	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:53	4399	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'maxxis-pneu-rekon-race-29-x-2-35-120-tpi-exo-tr-noir-unitaire' AND `virtuemart_product_id` != 1863891
2023-10-13	13:42:53	4399	[DEBUG]	Query for ProductLang
2023-10-13	13:42:53	4399	[DEBUG]	Executed store
2023-10-13	13:42:53	4399	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAXXIS PNEU REKON RACE 29 X 2.35 120 TPI EXO TR / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='maxxis-pneu-rekon-race-29-x-2-35-120-tpi-exo-tr-noir-unitaire' WHERE `virtuemart_product_id` = '1863891'
2023-10-13	13:42:53	4399	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37445_pneu_recon_race_29_x_2_35_120_tpi_exo_tr.jpg
2023-10-13	13:42:53	4399	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:42:53	4399	[DEBUG]	Process image file
2023-10-13	13:42:53	4399	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:42:53	4399	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:42:53	4399	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37445_pneu_recon_race_29_x_2_35_120_tpi_exo_tr.jpg
2023-10-13	13:42:53	4399	[DEBUG]	Full name target: bcprisme/37445_pneu_recon_race_29_x_2_35_120_tpi_exo_tr.jpg
2023-10-13	13:42:54	4399	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:54	4399	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37445_pneu_recon_race_29_x_2_35_120_tpi_exo_tr.jpg'
2023-10-13	13:42:54	4399	[DEBUG]	Query for Media
2023-10-13	13:42:54	4399	[DEBUG]	Executed store
2023-10-13	13:42:54	4399	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/37445_pneu_recon_race_29_x_2_35_120_tpi_exo_tr.jpg',`file_url_thumb`='bcprisme/37445_pneu_recon_race_29_x_2_35_120_tpi_exo_tr.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1005263'
2023-10-13	13:42:54	4399	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:54	4399	[DEBUG]	Executed store
2023-10-13	13:42:54	4399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863891','1005263','1')
2023-10-13	13:42:54	4399	[DEBUG]	Store product image relation
2023-10-13	13:42:54	4399	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:54	4399	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863891 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:54	4399	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:54	4399	[DEBUG]	Executed store
2023-10-13	13:42:54	4399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863891','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:54	4399	[DEBUG]	Checking manufacturer
2023-10-13	13:42:54	4399	[DEBUG]	Load a row
2023-10-13	13:42:54	4399	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:54	4399	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:42:54	4399	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:54	4399	[DEBUG]	Executed store
2023-10-13	13:42:54	4399	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:42:54	4399	[DEBUG]	Manufacturer exists
2023-10-13	13:42:54	4399	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:42:54	4399	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:54	4399	[DEBUG]	Executed store
2023-10-13	13:42:54	4399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863891','20')
2023-10-13	13:42:54	4399	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:54	4399	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:42:54	4399	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863891 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:54	4399	[DEBUG]	Store custom available field
2023-10-13	13:42:54	4399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863891,3,'',1)
2023-10-13	13:42:54	4399	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:54	4399	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:42:54	4399	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863891 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:54	4399	[DEBUG]	Store custom available field
2023-10-13	13:42:54	4399	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863891,6,'Unitaire',3)
2023-10-13	13:42:54	4399	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:54	4399	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:42:54	4399	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863890
2023-10-13	13:42:54	4399	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:54	4399	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863890\":[1863890,8,1,\"choisir la taille\"],\"1863891\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863890
2023-10-13	13:42:54	4399	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:54	4399	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863891
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field product_sku
2023-10-13	13:42:54	4400	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field taille
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field product_name
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field category_path
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field product_price
2023-10-13	13:42:54	4400	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field product_tax
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field file_url
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:42:54	4400	[DEBUG]	Use default value for field product_desc
2023-10-13	13:42:54	4400	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field product_availability
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field product_weight
2023-10-13	13:42:54	4400	[DEBUG]	Use default value for field product_unit
2023-10-13	13:42:54	4400	[DEBUG]	Use default value for field related_products
2023-10-13	13:42:54	4400	[DEBUG]	Use default value for field product_special
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field published
2023-10-13	13:42:54	4400	[DEBUG]	Use default value for field metadesc
2023-10-13	13:42:54	4400	[DEBUG]	Use default value for field metakey
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field custom_title
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field custom_value
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field custom_param
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field override
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field public_price
2023-10-13	13:42:54	4400	[DEBUG]	Use field value for field slug
2023-10-13	13:42:54	4400	[DEBUG]	Process line 4400
2023-10-13	13:42:54	4400	[DEBUG]	Load a row
2023-10-13	13:42:54	4400	[DEBUG]	Processing item: A_8969_248
2023-10-13	13:42:54	4400	[DEBUG]	Product tax: 7.7
2023-10-13	13:42:54	4400	[DEBUG]	Processing product tax
2023-10-13	13:42:54	4400	[DEBUG]	Check if calculation rule exists
2023-10-13	13:42:54	4400	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:42:54	4400	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:42:54	4400	[DEBUG]	Query for Product
2023-10-13	13:42:54	4400	[DEBUG]	Executed store
2023-10-13	13:42:54	4400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_8969_248','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0')
2023-10-13	13:42:54	4400	[DEBUG]	Check product language entry
2023-10-13	13:42:54	4400	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863892
2023-10-13	13:42:54	4400	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:54	4400	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_8969_248' AND `virtuemart_product_id` != 1863892
2023-10-13	13:42:54	4400	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:42:54	4400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863892, 'A_8969_248')
2023-10-13	13:42:54	4400	[DEBUG]	Check if the product slug exists
2023-10-13	13:42:54	4400	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-29-x-2-20-tlr-2c-xc-epicshield-120-tpi-brown-noir-brun' AND `virtuemart_product_id` != 1863892
2023-10-13	13:42:54	4400	[DEBUG]	Query for ProductLang
2023-10-13	13:42:54	4400	[DEBUG]	Executed store
2023-10-13	13:42:54	4400	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Marron COMPUESTO: 62A/60A 776 g -Accroche: 4/5 -Traction: 5/5 -Vitesse: 3/5 -Sol optimal: sec/mouillé -Gomme: 62a/60a Usage optimisé pour XC et All Mountain. Polyvalent, adapté pour terrains variés. La zone de roulement centrale, formée de crampons carrés proéminents aux coupes verticales avec une finition rugueuse sur le dessus assurent un grip efficace sur toutes les superficies y compris glissantes. Le positionnement des crampons sur différents angles apporte de la traction dans toutes les circonstances. La nervure verticale qui unit les crampons intermédiaires, les rend plus consistants et donne plus de stabilité au pneumatique. La zone latérale, avec ses crampons rectangulaires situés à 2 endroits distints offre une accroche plus efficace. Les rainures verticales comme horizontales apportent plus de flexibilités aux crampons qui s’adapteront plus facilement aux imperfections du terrain et une plus grande longévité des gommes. E25 Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses plus élevées, tels que le vélo électrique. EPIC SHIELD: Protection de tringle à tringle pour éviter les perforations et les coupures dans toutes les zones du pneu, offrant une plus grande rigidité et moins de déformation du pneu à basse pression. Recommandé pour les parcours xc, marathon et par étapes.<br>N° art fourn : TRA29220TLR2CE',`product_name`='MSC PNEU TRACTOR 29 X 2.20 TLR 2C XC EPICSHIELD 120 TPI BROWN / NOIR/BRUN',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-29-x-2-20-tlr-2c-xc-epicshield-120-tpi-brown-noir-brun' WHERE `virtuemart_product_id` = '1863892'
2023-10-13	13:42:54	4400	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37966_tractor_29_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png
2023-10-13	13:42:54	4400	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001bd
2023-10-13	13:42:54	4400	[DEBUG]	Process image file
2023-10-13	13:42:54	4400	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001bd
2023-10-13	13:42:54	4400	[DEBUG]	Mime type found: image/png
2023-10-13	13:42:54	4400	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37966_tractor_29_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png
2023-10-13	13:42:54	4400	[DEBUG]	Full name target: bcprisme/37966_tractor_29_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png
2023-10-13	13:42:55	4400	[DEBUG]	Checking if the file_url exists
2023-10-13	13:42:55	4400	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37966_tractor_29_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png'
2023-10-13	13:42:55	4400	[DEBUG]	Query for Media
2023-10-13	13:42:55	4400	[DEBUG]	Executed store
2023-10-13	13:42:55	4400	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37966_tractor_29_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png',`file_url_thumb`='bcprisme/37966_tractor_29_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1189370'
2023-10-13	13:42:55	4400	[DEBUG]	Query for ProductMedia
2023-10-13	13:42:55	4400	[DEBUG]	Executed store
2023-10-13	13:42:55	4400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863892','1189370','1')
2023-10-13	13:42:55	4400	[DEBUG]	Store product image relation
2023-10-13	13:42:55	4400	[DEBUG]	Finding a product_price_id
2023-10-13	13:42:55	4400	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863892 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:42:55	4400	[DEBUG]	Query for ProductPrice
2023-10-13	13:42:55	4400	[DEBUG]	Executed store
2023-10-13	13:42:55	4400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863892','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:41:09','1593','2023-10-13 13:41:09','1593','0000-00-00 00:00:00','0')
2023-10-13	13:42:55	4400	[DEBUG]	Checking manufacturer
2023-10-13	13:42:55	4400	[DEBUG]	Load a row
2023-10-13	13:42:55	4400	[DEBUG]	Manufacturer already exists
2023-10-13	13:42:55	4400	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:55	4400	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:42:55	4400	[DEBUG]	Executed store
2023-10-13	13:42:55	4400	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:42:55	4400	[DEBUG]	Manufacturer exists
2023-10-13	13:42:55	4400	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:42:55	4400	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:42:55	4400	[DEBUG]	Executed store
2023-10-13	13:42:55	4400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863892','32')
2023-10-13	13:42:55	4400	[DEBUG]	Find the custom field ID
2023-10-13	13:42:55	4400	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:42:55	4400	[DEBUG]	No custom field ID found
2023-10-13	13:42:55	4400	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:42:55	4400	[DEBUG]	Get existing row with customfield value 57.7391666666667
2023-10-13	13:42:55	4400	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863892 AND `virtuemart_custom_id` = 3
2023-10-13	13:42:55	4400	[DEBUG]	Store custom available field
2023-10-13	13:42:55	4400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863892,3,'57.7391666666667',1)
2023-10-13	13:42:55	4400	[DEBUG]	Processing custom available field: taille
2023-10-13	13:42:55	4400	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:42:55	4400	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863892 AND `virtuemart_custom_id` = 6
2023-10-13	13:42:55	4400	[DEBUG]	Store custom available field
2023-10-13	13:42:55	4400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863892,6,'choisir la taille',3)
2023-10-13	13:42:55	4400	[DEBUG]	Process multi-variant fields
2023-10-13	13:42:55	4400	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:42:55	4400	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:42:55	4400	[DEBUG]	Find the multi variant product entry
2023-10-13	13:42:55	4400	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863892 AND `virtuemart_custom_id` = 8
2023-10-13	13:42:55	4400	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:42:55	4400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863892,8,1)
2023-10-13	13:42:55	4400	[DEBUG]	Store the updated customfield_params
2023-10-13	13:42:55	4400	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863892\":[1863892,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863892
2023-10-13	13:42:55	4400	[DEBUG]	Checking category
2023-10-13	13:42:55	4400	[DEBUG]	Get the existing categories for the product
2023-10-13	13:42:55	4400	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863892
2023-10-13	13:42:55	4400	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:42:55	4400	[DEBUG]	Executed store
2023-10-13	13:42:55	4400	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863892','7412')
2023-10-13	13:42:55	4400	[DEBUG]	Delete leftover product categories
2023-10-13	13:42:55	4400	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863892 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:42:55	4400	[DEBUG]	Update has fields after all processing
2023-10-13	13:42:55	4400	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863892
2023-10-13	13:43:15	4400	[DEBUG]	Loading the supported fields for com_virtuemart, operation product and action import
2023-10-13	13:43:15	4400	[QUERY]	 SELECT `a`.`csvi_name` FROM `mlvbch_csvi_availablefields` AS `a` LEFT JOIN `mlvbch_csvi_availabletables` AS `t` ON `t`.`template_table` = `a`.`component_table` WHERE `a`.`component` = 'com_virtuemart' AND `t`.`component` = 'com_virtuemart' AND `t`.`task_name` = 'product' AND `a`.`action` = 'import' AND `t`.`action` = 'import'
2023-10-13	13:43:15	4400	[DEBUG]	Load the fields to process
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: product_sku
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: product_parent_sku
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: taille
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: multi_variant_title
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: multi_variant_fields
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: product_name
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: category_path
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: product_price
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: product_override_price
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: product_tax
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: file_url
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: product_s_desc
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: product_desc
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: product_in_stock
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: product_availability
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: product_weight
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: product_unit
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: related_products
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: product_special
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: manufacturer_name
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: manufacturer_id
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: published
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: metadesc
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: metakey
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: custom_title
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: custom_value
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: custom_param
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: override
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: public_price
2023-10-13	13:43:15	4400	[DEBUG]	Setup field: slug
2023-10-13	13:43:15	4400	[DEBUG]	Use the file for configuration
2023-10-13	13:43:15	4400	[DEBUG]	Get all CF4All custom field title
2023-10-13	13:43:15	4400	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:43:15	4400	[DEBUG]	Load the custom fields
2023-10-13	13:43:15	4400	[QUERY]	 SELECT `virtuemart_custom_id` AS `id`,TRIM(`custom_title`) AS `title`,`custom_parent_id`,`field_type`,`ordering`,`custom_element` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall'
2023-10-13	13:43:15	4400	[DEBUG]	Load stockable custom fields
2023-10-13	13:43:15	4400	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'stockablecustomfields' AND `field_type` = 'E'
2023-10-13	13:43:15	4400	[DEBUG]	Load custom fields for all
2023-10-13	13:43:15	4400	[QUERY]	 SELECT `custom_title` FROM `mlvbch_virtuemart_customs` WHERE `custom_element` = 'customfieldsforall' AND `field_type` = 'E'
2023-10-13	13:43:15	4401	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:15	4401	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:15	4401	[DEBUG]	Use field value for field taille
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:15	4401	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:15	4401	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:15	4401	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:15	4401	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:15	4401	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:15	4401	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:15	4401	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:15	4401	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:15	4401	[DEBUG]	Use field value for field published
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:15	4401	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field override
2023-10-13	13:43:15	4401	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:15	4401	[DEBUG]	Use field value for field slug
2023-10-13	13:43:15	4401	[DEBUG]	Process line 4401
2023-10-13	13:43:15	4401	[DEBUG]	Check if the vendor exists
2023-10-13	13:43:15	4401	[QUERY]	 SELECT IF (COUNT(`virtuemart_vendor_id`) = 0, 1, `virtuemart_vendor_id`) AS vendor_id FROM `mlvbch_virtuemart_products` WHERE `product_sku` = '8435466216436'
2023-10-13	13:43:15	4401	[DEBUG]	Load a row
2023-10-13	13:43:15	4401	[DEBUG]	Processing item: 8435466216436
2023-10-13	13:43:15	4401	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:15	4401	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:15	4401	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_8969_248'
2023-10-13	13:43:15	4401	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:15	4401	[DEBUG]	Processing product tax
2023-10-13	13:43:15	4401	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:15	4401	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:15	4401	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:15	4401	[DEBUG]	Query for Product
2023-10-13	13:43:15	4401	[DEBUG]	Executed store
2023-10-13	13:43:15	4401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863892','8435466216436','0','KG','M','','25','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:15	4401	[DEBUG]	No parent found
2023-10-13	13:43:15	4401	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863892 AND customfield_value = 'stockable'
2023-10-13	13:43:15	4401	[DEBUG]	Check product language entry
2023-10-13	13:43:15	4401	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863893
2023-10-13	13:43:15	4401	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:15	4401	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216436' AND `virtuemart_product_id` != 1863893
2023-10-13	13:43:15	4401	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:15	4401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863893, '8435466216436')
2023-10-13	13:43:15	4401	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:15	4401	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-tractor-29-x-2-20-tlr-2c-xc-epicshield-120-tpi-brown-noir-brun-unitaire' AND `virtuemart_product_id` != 1863893
2023-10-13	13:43:15	4401	[DEBUG]	Query for ProductLang
2023-10-13	13:43:15	4401	[DEBUG]	Executed store
2023-10-13	13:43:15	4401	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU TRACTOR 29 X 2.20 TLR 2C XC EPICSHIELD 120 TPI BROWN / NOIR/BRUN (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-tractor-29-x-2-20-tlr-2c-xc-epicshield-120-tpi-brown-noir-brun-unitaire' WHERE `virtuemart_product_id` = '1863893'
2023-10-13	13:43:15	4401	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37966_tractor_29_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png
2023-10-13	13:43:15	4401	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001bd
2023-10-13	13:43:15	4401	[DEBUG]	Process image file
2023-10-13	13:43:15	4401	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000001bd
2023-10-13	13:43:15	4401	[DEBUG]	Mime type found: image/png
2023-10-13	13:43:15	4401	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/37966_tractor_29_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png
2023-10-13	13:43:15	4401	[DEBUG]	Full name target: bcprisme/37966_tractor_29_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png
2023-10-13	13:43:16	4401	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:16	4401	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/37966_tractor_29_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png'
2023-10-13	13:43:16	4401	[DEBUG]	Query for Media
2023-10-13	13:43:16	4401	[DEBUG]	Executed store
2023-10-13	13:43:16	4401	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/37966_tractor_29_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png',`file_url_thumb`='bcprisme/37966_tractor_29_x_2_20_tlr_2c_xc_epicshield_120_tpi_brown.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1189370'
2023-10-13	13:43:16	4401	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:16	4401	[DEBUG]	Executed store
2023-10-13	13:43:16	4401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863893','1189370','1')
2023-10-13	13:43:16	4401	[DEBUG]	Store product image relation
2023-10-13	13:43:16	4401	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:16	4401	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863893 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:16	4401	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:16	4401	[DEBUG]	Executed store
2023-10-13	13:43:16	4401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863893','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:16	4401	[DEBUG]	Checking manufacturer
2023-10-13	13:43:16	4401	[DEBUG]	Load a row
2023-10-13	13:43:16	4401	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:16	4401	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:16	4401	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:16	4401	[DEBUG]	Executed store
2023-10-13	13:43:16	4401	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:16	4401	[DEBUG]	Manufacturer exists
2023-10-13	13:43:16	4401	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:43:16	4401	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:16	4401	[DEBUG]	Executed store
2023-10-13	13:43:16	4401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863893','32')
2023-10-13	13:43:16	4401	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:16	4401	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:16	4401	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863893 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:16	4401	[DEBUG]	Store custom available field
2023-10-13	13:43:16	4401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863893,3,'',1)
2023-10-13	13:43:16	4401	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:16	4401	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:43:16	4401	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863893 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:16	4401	[DEBUG]	Store custom available field
2023-10-13	13:43:16	4401	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863893,6,'Unitaire',3)
2023-10-13	13:43:16	4401	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:16	4401	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:16	4401	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863892
2023-10-13	13:43:16	4401	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:16	4401	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863892\":[1863892,8,1,\"choisir la taille\"],\"1863893\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863892
2023-10-13	13:43:16	4401	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:16	4401	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863893
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:16	4402	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field taille
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:16	4402	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:16	4402	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:16	4402	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:16	4402	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:16	4402	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:16	4402	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field published
2023-10-13	13:43:16	4402	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:16	4402	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field override
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:16	4402	[DEBUG]	Use field value for field slug
2023-10-13	13:43:16	4402	[DEBUG]	Process line 4402
2023-10-13	13:43:16	4402	[DEBUG]	Load a row
2023-10-13	13:43:16	4402	[DEBUG]	Processing item: A_9183_84
2023-10-13	13:43:16	4402	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:16	4402	[DEBUG]	Processing product tax
2023-10-13	13:43:16	4402	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:16	4402	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:16	4402	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:16	4402	[DEBUG]	Query for Product
2023-10-13	13:43:16	4402	[DEBUG]	Executed store
2023-10-13	13:43:16	4402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9183_84','2','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:16	4402	[DEBUG]	Check product language entry
2023-10-13	13:43:16	4402	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863894
2023-10-13	13:43:16	4402	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:16	4402	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9183_84' AND `virtuemart_product_id` != 1863894
2023-10-13	13:43:16	4402	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:16	4402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863894, 'A_9183_84')
2023-10-13	13:43:16	4402	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:16	4402	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-nobby-nic-29x2-25-superground-addix-speedgrip-tl-e-black-black' AND `virtuemart_product_id` != 1863894
2023-10-13	13:43:16	4402	[DEBUG]	Query for ProductLang
2023-10-13	13:43:16	4402	[DEBUG]	Executed store
2023-10-13	13:43:16	4402	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.79398',`product_name`='SCHWALBE Pneu Nobby Nic 29x2.25 SuperGround Addix SpeedGrip TL-E black / Black',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-nobby-nic-29x2-25-superground-addix-speedgrip-tl-e-black-black' WHERE `virtuemart_product_id` = '1863894'
2023-10-13	13:43:16	4402	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79398_00.jpg
2023-10-13	13:43:16	4402	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:43:16	4402	[DEBUG]	Process image file
2023-10-13	13:43:16	4402	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:43:16	4402	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:16	4402	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79398_00.jpg
2023-10-13	13:43:16	4402	[DEBUG]	Full name target: bcprisme/24_79398_00.jpg
2023-10-13	13:43:17	4402	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:17	4402	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_79398_00.jpg'
2023-10-13	13:43:17	4402	[DEBUG]	Query for Media
2023-10-13	13:43:17	4402	[DEBUG]	Executed store
2023-10-13	13:43:17	4402	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_79398_00.jpg',`file_url_thumb`='bcprisme/24_79398_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1335617'
2023-10-13	13:43:17	4402	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:17	4402	[DEBUG]	Executed store
2023-10-13	13:43:17	4402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863894','1335617','1')
2023-10-13	13:43:17	4402	[DEBUG]	Store product image relation
2023-10-13	13:43:17	4402	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:17	4402	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863894 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:17	4402	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:17	4402	[DEBUG]	Executed store
2023-10-13	13:43:17	4402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863894','0','71.4020427112349','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:17	4402	[DEBUG]	Checking manufacturer
2023-10-13	13:43:17	4402	[DEBUG]	Load a row
2023-10-13	13:43:17	4402	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:17	4402	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:43:17	4402	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:17	4402	[DEBUG]	Executed store
2023-10-13	13:43:17	4402	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:43:17	4402	[DEBUG]	Manufacturer exists
2023-10-13	13:43:17	4402	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:43:17	4402	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:17	4402	[DEBUG]	Executed store
2023-10-13	13:43:17	4402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863894','24')
2023-10-13	13:43:17	4402	[DEBUG]	Find the custom field ID
2023-10-13	13:43:17	4402	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:17	4402	[DEBUG]	No custom field ID found
2023-10-13	13:43:17	4402	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:17	4402	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:43:17	4402	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863894 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:17	4402	[DEBUG]	Store custom available field
2023-10-13	13:43:17	4402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863894,3,'0',1)
2023-10-13	13:43:17	4402	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:17	4402	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:17	4402	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863894 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:17	4402	[DEBUG]	Store custom available field
2023-10-13	13:43:17	4402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863894,6,'choisir la taille',3)
2023-10-13	13:43:17	4402	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:17	4402	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:17	4402	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:17	4402	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:17	4402	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863894 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:17	4402	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:17	4402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863894,8,1)
2023-10-13	13:43:17	4402	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:17	4402	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863894\":[1863894,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863894
2023-10-13	13:43:17	4402	[DEBUG]	Checking category
2023-10-13	13:43:17	4402	[DEBUG]	Check if category path exists: PNEUS - REIFEN
2023-10-13	13:43:17	4402	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS - REIFEN' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 0
2023-10-13	13:43:17	4402	[DEBUG]	Check if category path exists: PNEUS 29- REIFEN 29
2023-10-13	13:43:17	4402	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS 29- REIFEN 29' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:43:17	4402	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:17	4402	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863894
2023-10-13	13:43:17	4402	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:17	4402	[DEBUG]	Executed store
2023-10-13	13:43:17	4402	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863894','7412')
2023-10-13	13:43:17	4402	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:17	4402	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863894 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:43:17	4402	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:17	4402	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863894
2023-10-13	13:43:17	4403	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:17	4403	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:17	4403	[DEBUG]	Use field value for field taille
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:17	4403	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:17	4403	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:17	4403	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:17	4403	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:17	4403	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:17	4403	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:17	4403	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:17	4403	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:17	4403	[DEBUG]	Use field value for field published
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:17	4403	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field override
2023-10-13	13:43:17	4403	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:17	4403	[DEBUG]	Use field value for field slug
2023-10-13	13:43:17	4403	[DEBUG]	Process line 4403
2023-10-13	13:43:17	4403	[DEBUG]	Load a row
2023-10-13	13:43:17	4403	[DEBUG]	Processing item: 4026495879415
2023-10-13	13:43:17	4403	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:17	4403	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:17	4403	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9183_84'
2023-10-13	13:43:17	4403	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:17	4403	[DEBUG]	Processing product tax
2023-10-13	13:43:17	4403	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:17	4403	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:17	4403	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:17	4403	[DEBUG]	Query for Product
2023-10-13	13:43:18	4403	[DEBUG]	Executed store
2023-10-13	13:43:18	4403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863894','4026495879415','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:18	4403	[DEBUG]	No parent found
2023-10-13	13:43:18	4403	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863894 AND customfield_value = 'stockable'
2023-10-13	13:43:18	4403	[DEBUG]	Check product language entry
2023-10-13	13:43:18	4403	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863895
2023-10-13	13:43:18	4403	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:18	4403	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495879415' AND `virtuemart_product_id` != 1863895
2023-10-13	13:43:18	4403	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:18	4403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863895, '4026495879415')
2023-10-13	13:43:18	4403	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:18	4403	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-nobby-nic-29x2-25-superground-addix-speedgrip-tl-e-black-black-unitaire' AND `virtuemart_product_id` != 1863895
2023-10-13	13:43:18	4403	[DEBUG]	Query for ProductLang
2023-10-13	13:43:18	4403	[DEBUG]	Executed store
2023-10-13	13:43:18	4403	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu Nobby Nic 29x2.25 SuperGround Addix SpeedGrip TL-E black / Black (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-nobby-nic-29x2-25-superground-addix-speedgrip-tl-e-black-black-unitaire' WHERE `virtuemart_product_id` = '1863895'
2023-10-13	13:43:18	4403	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79398_00.jpg
2023-10-13	13:43:18	4403	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:43:18	4403	[DEBUG]	Process image file
2023-10-13	13:43:18	4403	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:43:18	4403	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:18	4403	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/24_79398_00.jpg
2023-10-13	13:43:18	4403	[DEBUG]	Full name target: bcprisme/24_79398_00.jpg
2023-10-13	13:43:18	4403	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:18	4403	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/24_79398_00.jpg'
2023-10-13	13:43:18	4403	[DEBUG]	Query for Media
2023-10-13	13:43:18	4403	[DEBUG]	Executed store
2023-10-13	13:43:18	4403	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/24_79398_00.jpg',`file_url_thumb`='bcprisme/24_79398_00.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1335617'
2023-10-13	13:43:18	4403	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:18	4403	[DEBUG]	Executed store
2023-10-13	13:43:18	4403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863895','1335617','1')
2023-10-13	13:43:18	4403	[DEBUG]	Store product image relation
2023-10-13	13:43:18	4403	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:18	4403	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863895 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:18	4403	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:18	4403	[DEBUG]	Executed store
2023-10-13	13:43:18	4403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863895','0','71.4020427112349','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:18	4403	[DEBUG]	Checking manufacturer
2023-10-13	13:43:18	4403	[DEBUG]	Load a row
2023-10-13	13:43:18	4403	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:18	4403	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:43:18	4403	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:18	4403	[DEBUG]	Executed store
2023-10-13	13:43:18	4403	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-09-09-03-02-362070481788' WHERE `virtuemart_manufacturer_id` = '24'
2023-10-13	13:43:18	4403	[DEBUG]	Manufacturer exists
2023-10-13	13:43:18	4403	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 24
2023-10-13	13:43:18	4403	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:18	4403	[DEBUG]	Executed store
2023-10-13	13:43:18	4403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863895','24')
2023-10-13	13:43:18	4403	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:18	4403	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:18	4403	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863895 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:18	4403	[DEBUG]	Store custom available field
2023-10-13	13:43:18	4403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863895,3,'',1)
2023-10-13	13:43:18	4403	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:18	4403	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:43:18	4403	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863895 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:18	4403	[DEBUG]	Store custom available field
2023-10-13	13:43:18	4403	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863895,6,'Unitaire',3)
2023-10-13	13:43:18	4403	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:18	4403	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:18	4403	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863894
2023-10-13	13:43:18	4403	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:18	4403	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863894\":[1863894,8,1,\"choisir la taille\"],\"1863895\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863894
2023-10-13	13:43:18	4403	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:19	4403	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863895
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:19	4404	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field taille
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:19	4404	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:19	4404	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:19	4404	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:19	4404	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:19	4404	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:19	4404	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field published
2023-10-13	13:43:19	4404	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:19	4404	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field override
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:19	4404	[DEBUG]	Use field value for field slug
2023-10-13	13:43:19	4404	[DEBUG]	Process line 4404
2023-10-13	13:43:19	4404	[DEBUG]	Load a row
2023-10-13	13:43:19	4404	[DEBUG]	Processing item: A_9369_1
2023-10-13	13:43:19	4404	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:19	4404	[DEBUG]	Processing product tax
2023-10-13	13:43:19	4404	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:19	4404	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:19	4404	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:19	4404	[DEBUG]	Query for Product
2023-10-13	13:43:19	4404	[DEBUG]	Executed store
2023-10-13	13:43:19	4404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9369_1','0.5','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:19	4404	[DEBUG]	Check product language entry
2023-10-13	13:43:19	4404	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863896
2023-10-13	13:43:19	4404	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:19	4404	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9369_1' AND `virtuemart_product_id` != 1863896
2023-10-13	13:43:19	4404	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:19	4404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863896, 'A_9369_1')
2023-10-13	13:43:19	4404	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:19	4404	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'maxxis-pneu-maxxis-forekaster-29-x-2-35-exo-protection-tr-noir' AND `virtuemart_product_id` != 1863896
2023-10-13	13:43:19	4404	[DEBUG]	Query for ProductLang
2023-10-13	13:43:19	4404	[DEBUG]	Executed store
2023-10-13	13:43:19	4404	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : FOREKASTER29235',`product_name`='MAXXIS PNEU MAXXIS FOREKASTER 29 X 2.35 EXO PROTECTION TR / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='maxxis-pneu-maxxis-forekaster-29-x-2-35-exo-protection-tr-noir' WHERE `virtuemart_product_id` = '1863896'
2023-10-13	13:43:19	4404	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38470_pneu_maxxis_forekaster_29_x_2_35_exo_protection_tr.jpg
2023-10-13	13:43:19	4404	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:43:19	4404	[DEBUG]	Process image file
2023-10-13	13:43:19	4404	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:43:19	4404	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:19	4404	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38470_pneu_maxxis_forekaster_29_x_2_35_exo_protection_tr.jpg
2023-10-13	13:43:19	4404	[DEBUG]	Full name target: bcprisme/38470_pneu_maxxis_forekaster_29_x_2_35_exo_protection_tr.jpg
2023-10-13	13:43:20	4404	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:20	4404	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38470_pneu_maxxis_forekaster_29_x_2_35_exo_protection_tr.jpg'
2023-10-13	13:43:20	4404	[DEBUG]	Query for Media
2023-10-13	13:43:20	4404	[DEBUG]	Executed store
2023-10-13	13:43:20	4404	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38470_pneu_maxxis_forekaster_29_x_2_35_exo_protection_tr.jpg',`file_url_thumb`='bcprisme/38470_pneu_maxxis_forekaster_29_x_2_35_exo_protection_tr.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1416060'
2023-10-13	13:43:20	4404	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:20	4404	[DEBUG]	Executed store
2023-10-13	13:43:20	4404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863896','1416060','1')
2023-10-13	13:43:20	4404	[DEBUG]	Store product image relation
2023-10-13	13:43:20	4404	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:20	4404	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863896 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:20	4404	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:20	4404	[DEBUG]	Executed store
2023-10-13	13:43:20	4404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863896','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:20	4404	[DEBUG]	Checking manufacturer
2023-10-13	13:43:20	4404	[DEBUG]	Load a row
2023-10-13	13:43:20	4404	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:20	4404	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:43:20	4404	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:20	4404	[DEBUG]	Executed store
2023-10-13	13:43:20	4404	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:43:20	4404	[DEBUG]	Manufacturer exists
2023-10-13	13:43:20	4404	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:43:20	4404	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:20	4404	[DEBUG]	Executed store
2023-10-13	13:43:20	4404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863896','20')
2023-10-13	13:43:20	4404	[DEBUG]	Find the custom field ID
2023-10-13	13:43:20	4404	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:20	4404	[DEBUG]	No custom field ID found
2023-10-13	13:43:20	4404	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:20	4404	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:43:20	4404	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863896 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:20	4404	[DEBUG]	Store custom available field
2023-10-13	13:43:20	4404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863896,3,'0',1)
2023-10-13	13:43:20	4404	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:20	4404	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:20	4404	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863896 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:20	4404	[DEBUG]	Store custom available field
2023-10-13	13:43:20	4404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863896,6,'choisir la taille',3)
2023-10-13	13:43:20	4404	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:20	4404	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:20	4404	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:20	4404	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:20	4404	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863896 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:20	4404	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:20	4404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863896,8,1)
2023-10-13	13:43:20	4404	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:20	4404	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863896\":[1863896,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863896
2023-10-13	13:43:20	4404	[DEBUG]	Checking category
2023-10-13	13:43:20	4404	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:20	4404	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863896
2023-10-13	13:43:20	4404	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:20	4404	[DEBUG]	Executed store
2023-10-13	13:43:20	4404	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863896','7412')
2023-10-13	13:43:20	4404	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:20	4404	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863896 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:43:20	4404	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:20	4404	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863896
2023-10-13	13:43:20	4405	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:20	4405	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:20	4405	[DEBUG]	Use field value for field taille
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:20	4405	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:20	4405	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:20	4405	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:20	4405	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:20	4405	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:20	4405	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:20	4405	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:20	4405	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:20	4405	[DEBUG]	Use field value for field published
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:20	4405	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field override
2023-10-13	13:43:20	4405	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:20	4405	[DEBUG]	Use field value for field slug
2023-10-13	13:43:20	4405	[DEBUG]	Process line 4405
2023-10-13	13:43:20	4405	[DEBUG]	Load a row
2023-10-13	13:43:20	4405	[DEBUG]	Processing item: 1000000236187
2023-10-13	13:43:20	4405	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:20	4405	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:20	4405	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9369_1'
2023-10-13	13:43:20	4405	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:20	4405	[DEBUG]	Processing product tax
2023-10-13	13:43:20	4405	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:20	4405	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:20	4405	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:20	4405	[DEBUG]	Query for Product
2023-10-13	13:43:20	4405	[DEBUG]	Executed store
2023-10-13	13:43:20	4405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863896','1000000236187','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:20	4405	[DEBUG]	No parent found
2023-10-13	13:43:20	4405	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863896 AND customfield_value = 'stockable'
2023-10-13	13:43:20	4405	[DEBUG]	Check product language entry
2023-10-13	13:43:20	4405	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863897
2023-10-13	13:43:20	4405	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:20	4405	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '1000000236187' AND `virtuemart_product_id` != 1863897
2023-10-13	13:43:20	4405	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:20	4405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863897, '1000000236187')
2023-10-13	13:43:20	4405	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:20	4405	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'maxxis-pneu-maxxis-forekaster-29-x-2-35-exo-protection-tr-noir-unitaire' AND `virtuemart_product_id` != 1863897
2023-10-13	13:43:20	4405	[DEBUG]	Query for ProductLang
2023-10-13	13:43:20	4405	[DEBUG]	Executed store
2023-10-13	13:43:20	4405	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MAXXIS PNEU MAXXIS FOREKASTER 29 X 2.35 EXO PROTECTION TR / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='maxxis-pneu-maxxis-forekaster-29-x-2-35-exo-protection-tr-noir-unitaire' WHERE `virtuemart_product_id` = '1863897'
2023-10-13	13:43:20	4405	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38470_pneu_maxxis_forekaster_29_x_2_35_exo_protection_tr.jpg
2023-10-13	13:43:20	4405	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:43:20	4405	[DEBUG]	Process image file
2023-10-13	13:43:20	4405	[DEBUG]	Identity string: ffd8ffe000104a46494600010101000000000000
2023-10-13	13:43:20	4405	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:20	4405	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/38470_pneu_maxxis_forekaster_29_x_2_35_exo_protection_tr.jpg
2023-10-13	13:43:20	4405	[DEBUG]	Full name target: bcprisme/38470_pneu_maxxis_forekaster_29_x_2_35_exo_protection_tr.jpg
2023-10-13	13:43:21	4405	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:21	4405	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/38470_pneu_maxxis_forekaster_29_x_2_35_exo_protection_tr.jpg'
2023-10-13	13:43:21	4405	[DEBUG]	Query for Media
2023-10-13	13:43:21	4405	[DEBUG]	Executed store
2023-10-13	13:43:21	4405	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/38470_pneu_maxxis_forekaster_29_x_2_35_exo_protection_tr.jpg',`file_url_thumb`='bcprisme/38470_pneu_maxxis_forekaster_29_x_2_35_exo_protection_tr.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '1416060'
2023-10-13	13:43:21	4405	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:21	4405	[DEBUG]	Executed store
2023-10-13	13:43:21	4405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863897','1416060','1')
2023-10-13	13:43:21	4405	[DEBUG]	Store product image relation
2023-10-13	13:43:21	4405	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:21	4405	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863897 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:21	4405	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:21	4405	[DEBUG]	Executed store
2023-10-13	13:43:21	4405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863897','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:21	4405	[DEBUG]	Checking manufacturer
2023-10-13	13:43:21	4405	[DEBUG]	Load a row
2023-10-13	13:43:21	4405	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:21	4405	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:43:21	4405	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:21	4405	[DEBUG]	Executed store
2023-10-13	13:43:21	4405	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='<Null>',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='null' WHERE `virtuemart_manufacturer_id` = '20'
2023-10-13	13:43:21	4405	[DEBUG]	Manufacturer exists
2023-10-13	13:43:21	4405	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 20
2023-10-13	13:43:21	4405	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:21	4405	[DEBUG]	Executed store
2023-10-13	13:43:21	4405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863897','20')
2023-10-13	13:43:21	4405	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:21	4405	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:21	4405	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863897 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:21	4405	[DEBUG]	Store custom available field
2023-10-13	13:43:21	4405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863897,3,'',1)
2023-10-13	13:43:21	4405	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:21	4405	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:43:21	4405	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863897 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:21	4405	[DEBUG]	Store custom available field
2023-10-13	13:43:21	4405	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863897,6,'Unitaire',3)
2023-10-13	13:43:21	4405	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:21	4405	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:21	4405	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863896
2023-10-13	13:43:21	4405	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:21	4405	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863896\":[1863896,8,1,\"choisir la taille\"],\"1863897\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863896
2023-10-13	13:43:21	4405	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:21	4405	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863897
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:21	4406	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field taille
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:21	4406	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:21	4406	[DEBUG]	Use default value for field file_url
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:21	4406	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:21	4406	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:21	4406	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:21	4406	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:21	4406	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field published
2023-10-13	13:43:21	4406	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:21	4406	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field override
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:21	4406	[DEBUG]	Use field value for field slug
2023-10-13	13:43:21	4406	[DEBUG]	Process line 4406
2023-10-13	13:43:21	4406	[DEBUG]	Load a row
2023-10-13	13:43:21	4406	[DEBUG]	Processing item: A_9371_1
2023-10-13	13:43:21	4406	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:21	4406	[DEBUG]	Processing product tax
2023-10-13	13:43:21	4406	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:21	4406	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:21	4406	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:21	4406	[DEBUG]	Query for Product
2023-10-13	13:43:21	4406	[DEBUG]	Executed store
2023-10-13	13:43:21	4406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_9371_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:21	4406	[DEBUG]	Check product language entry
2023-10-13	13:43:21	4406	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863898
2023-10-13	13:43:21	4406	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:21	4406	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_9371_1' AND `virtuemart_product_id` != 1863898
2023-10-13	13:43:21	4406	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:21	4406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863898, 'A_9371_1')
2023-10-13	13:43:21	4406	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:21	4406	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-rock-roller-29-x-2-20-tlr-2c-xc-pro-60tpi-noir' AND `virtuemart_product_id` != 1863898
2023-10-13	13:43:21	4406	[DEBUG]	Query for ProductLang
2023-10-13	13:43:21	4406	[DEBUG]	Executed store
2023-10-13	13:43:21	4406	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='715 g<br><br>-Accroche: 5/5<br> -Traction: 4/5<br> -Vitesse: 5/5<br> -Sol optimal: sec/humide<br> -Gomme: 62a/60a<br> -ETRTO : 54-622<br><br>Son nom dit tout. Vitesse maximale et contrôle maximum. Comment est-ce possible?<br><br>La zone centrale des crampons parallèles, compacts et en forme de rampe permet de réduire le frottement au maximum pour rouler aussi vite que possible. Les crampons intermédiaires permettent une transition parfaite dans les virages et de maintenir une bonne<br><br>traction en tout temps, tandis que les crampons latérales surdimensionnés et arrangés avec notre célèbre design décalé donnent le Rock & Roller une adhérence en virage jamais vu sur un pneu de Xcountry/marathon.<br><br>E25<br><br>Certains de nos pneus comportent l’insigne E25 qui indique une compatibilité avec les vélos<br> électriques limités à 25 km / h (également appelés systèmes Pedelec). Ces pneus intègrent<br> certains renforts internes pouvant résister à l’utilisation de vélos plus lourds et de vitesses<br> plus élevées, tels que le vélo électrique.<br><br>EPIC SHIELD: <br><br>Protection de tringle à tringle pour éviter les perforations et les coupures dans<br> toutes les zones du pneu, offrant une plus grande rigidité et moins de déformation du pneu à<br> basse pression. Recommandé pour les parcours xc, marathon et par étapes.<br>N° art fourn : ROC29220TLR2C',`product_name`='MSC PNEU ROCK & ROLLER 29 X 2.20 TLR 2C XC PRO 60TPI  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-rock-roller-29-x-2-20-tlr-2c-xc-pro-60tpi-noir' WHERE `virtuemart_product_id` = '1863898'
2023-10-13	13:43:21	4406	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:21	4406	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863898 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:21	4406	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:21	4406	[DEBUG]	Executed store
2023-10-13	13:43:21	4406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863898','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:21	4406	[DEBUG]	Checking manufacturer
2023-10-13	13:43:21	4406	[DEBUG]	Load a row
2023-10-13	13:43:21	4406	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:21	4406	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:21	4406	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:21	4406	[DEBUG]	Executed store
2023-10-13	13:43:21	4406	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:21	4406	[DEBUG]	Manufacturer exists
2023-10-13	13:43:21	4406	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:43:21	4406	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:21	4406	[DEBUG]	Executed store
2023-10-13	13:43:21	4406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863898','32')
2023-10-13	13:43:21	4406	[DEBUG]	Find the custom field ID
2023-10-13	13:43:21	4406	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:21	4406	[DEBUG]	No custom field ID found
2023-10-13	13:43:21	4406	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:21	4406	[DEBUG]	Get existing row with customfield value 54.7475
2023-10-13	13:43:21	4406	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863898 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:21	4406	[DEBUG]	Store custom available field
2023-10-13	13:43:21	4406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863898,3,'54.7475',1)
2023-10-13	13:43:21	4406	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:21	4406	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:21	4406	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863898 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:21	4406	[DEBUG]	Store custom available field
2023-10-13	13:43:21	4406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863898,6,'choisir la taille',3)
2023-10-13	13:43:21	4406	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:21	4406	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:21	4406	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:21	4406	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:21	4406	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863898 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:21	4406	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:21	4406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863898,8,1)
2023-10-13	13:43:21	4406	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:21	4406	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863898\":[1863898,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863898
2023-10-13	13:43:21	4406	[DEBUG]	Checking category
2023-10-13	13:43:21	4406	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:21	4406	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863898
2023-10-13	13:43:21	4406	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:21	4406	[DEBUG]	Executed store
2023-10-13	13:43:21	4406	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863898','7412')
2023-10-13	13:43:21	4406	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:21	4406	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863898 AND `virtuemart_category_id` NOT IN (7412)
2023-10-13	13:43:21	4406	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:21	4406	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863898
2023-10-13	13:43:21	4407	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:21	4407	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:21	4407	[DEBUG]	Use field value for field taille
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:21	4407	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:21	4407	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:21	4407	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field file_url
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:21	4407	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:21	4407	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:21	4407	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:21	4407	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:21	4407	[DEBUG]	Use field value for field published
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:21	4407	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field override
2023-10-13	13:43:21	4407	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:21	4407	[DEBUG]	Use field value for field slug
2023-10-13	13:43:21	4407	[DEBUG]	Process line 4407
2023-10-13	13:43:21	4407	[DEBUG]	Load a row
2023-10-13	13:43:21	4407	[DEBUG]	Processing item: 8435466216900
2023-10-13	13:43:21	4407	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:21	4407	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:21	4407	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_9371_1'
2023-10-13	13:43:21	4407	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:21	4407	[DEBUG]	Processing product tax
2023-10-13	13:43:21	4407	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:21	4407	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:21	4407	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:21	4407	[DEBUG]	Query for Product
2023-10-13	13:43:21	4407	[DEBUG]	Executed store
2023-10-13	13:43:21	4407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863898','8435466216900','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:21	4407	[DEBUG]	No parent found
2023-10-13	13:43:21	4407	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863898 AND customfield_value = 'stockable'
2023-10-13	13:43:21	4407	[DEBUG]	Check product language entry
2023-10-13	13:43:21	4407	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863899
2023-10-13	13:43:21	4407	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:21	4407	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216900' AND `virtuemart_product_id` != 1863899
2023-10-13	13:43:21	4407	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:21	4407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863899, '8435466216900')
2023-10-13	13:43:21	4407	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:21	4407	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-rock-roller-29-x-2-20-tlr-2c-xc-pro-60tpi-noir-unitaire' AND `virtuemart_product_id` != 1863899
2023-10-13	13:43:21	4407	[DEBUG]	Query for ProductLang
2023-10-13	13:43:21	4407	[DEBUG]	Executed store
2023-10-13	13:43:21	4407	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROCK & ROLLER 29 X 2.20 TLR 2C XC PRO 60TPI  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-rock-roller-29-x-2-20-tlr-2c-xc-pro-60tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863899'
2023-10-13	13:43:21	4407	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:21	4407	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863899 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:21	4407	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:21	4407	[DEBUG]	Executed store
2023-10-13	13:43:21	4407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863899','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:21	4407	[DEBUG]	Checking manufacturer
2023-10-13	13:43:21	4407	[DEBUG]	Load a row
2023-10-13	13:43:21	4407	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:21	4407	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:21	4407	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:21	4407	[DEBUG]	Executed store
2023-10-13	13:43:21	4407	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:21	4407	[DEBUG]	Manufacturer exists
2023-10-13	13:43:21	4407	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:43:21	4407	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:21	4407	[DEBUG]	Executed store
2023-10-13	13:43:21	4407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863899','32')
2023-10-13	13:43:21	4407	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:21	4407	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:21	4407	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863899 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:21	4407	[DEBUG]	Store custom available field
2023-10-13	13:43:21	4407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863899,3,'',1)
2023-10-13	13:43:21	4407	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:21	4407	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:43:21	4407	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863899 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:21	4407	[DEBUG]	Store custom available field
2023-10-13	13:43:21	4407	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863899,6,'Unitaire',3)
2023-10-13	13:43:21	4407	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:21	4407	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:21	4407	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863898
2023-10-13	13:43:21	4407	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:21	4407	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863898\":[1863898,8,1,\"choisir la taille\"],\"1863899\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863898
2023-10-13	13:43:21	4407	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:21	4407	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 0  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863899
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:21	4408	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field taille
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:21	4408	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:21	4408	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:21	4408	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:21	4408	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:21	4408	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:21	4408	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field published
2023-10-13	13:43:21	4408	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:21	4408	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field override
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:21	4408	[DEBUG]	Use field value for field slug
2023-10-13	13:43:21	4408	[DEBUG]	Process line 4408
2023-10-13	13:43:21	4408	[DEBUG]	Load a row
2023-10-13	13:43:21	4408	[DEBUG]	Processing item: A_3988_1
2023-10-13	13:43:21	4408	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:21	4408	[DEBUG]	Processing product tax
2023-10-13	13:43:21	4408	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:21	4408	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:21	4408	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:21	4408	[DEBUG]	Query for Product
2023-10-13	13:43:21	4408	[DEBUG]	Executed store
2023-10-13	13:43:21	4408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_3988_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:21	4408	[DEBUG]	Check product language entry
2023-10-13	13:43:21	4408	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863900
2023-10-13	13:43:21	4408	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:21	4408	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_3988_1' AND `virtuemart_product_id` != 1863900
2023-10-13	13:43:21	4408	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:21	4408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863900, 'A_3988_1')
2023-10-13	13:43:21	4408	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:21	4408	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-silento-700-x-35-c-wire-avec-bande-reflechissante-noir' AND `virtuemart_product_id` != 1863900
2023-10-13	13:43:21	4408	[DEBUG]	Query for ProductLang
2023-10-13	13:43:21	4408	[DEBUG]	Executed store
2023-10-13	13:43:21	4408	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.66535',`product_name`='SCHWALBE PNEU Silento 700 x 35 c wire avec bande réfléchissante / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-silento-700-x-35-c-wire-avec-bande-reflechissante-noir' WHERE `virtuemart_product_id` = '1863900'
2023-10-13	13:43:21	4408	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/21124_schwalbe_salento_700_x_35_c_wire_avec_bande_reflechissante.png
2023-10-13	13:43:21	4408	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:21	4408	[DEBUG]	Process image file
2023-10-13	13:43:21	4408	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:21	4408	[DEBUG]	Mime type found: image/png
2023-10-13	13:43:21	4408	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/21124_schwalbe_salento_700_x_35_c_wire_avec_bande_reflechissante.png
2023-10-13	13:43:21	4408	[DEBUG]	Full name target: bcprisme/21124_schwalbe_salento_700_x_35_c_wire_avec_bande_reflechissante.png
2023-10-13	13:43:22	4408	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:22	4408	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/21124_schwalbe_salento_700_x_35_c_wire_avec_bande_reflechissante.png'
2023-10-13	13:43:22	4408	[DEBUG]	Query for Media
2023-10-13	13:43:22	4408	[DEBUG]	Executed store
2023-10-13	13:43:22	4408	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/21124_schwalbe_salento_700_x_35_c_wire_avec_bande_reflechissante.png',`file_url_thumb`='bcprisme/21124_schwalbe_salento_700_x_35_c_wire_avec_bande_reflechissante.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14547'
2023-10-13	13:43:22	4408	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:22	4408	[DEBUG]	Executed store
2023-10-13	13:43:22	4408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863900','14547','1')
2023-10-13	13:43:22	4408	[DEBUG]	Store product image relation
2023-10-13	13:43:22	4408	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:22	4408	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863900 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:22	4408	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:22	4408	[DEBUG]	Executed store
2023-10-13	13:43:22	4408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863900','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:22	4408	[DEBUG]	Checking manufacturer
2023-10-13	13:43:22	4408	[DEBUG]	Load a row
2023-10-13	13:43:22	4408	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:22	4408	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:22	4408	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:22	4408	[DEBUG]	Executed store
2023-10-13	13:43:22	4408	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:22	4408	[DEBUG]	Manufacturer exists
2023-10-13	13:43:22	4408	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:43:22	4408	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:22	4408	[DEBUG]	Executed store
2023-10-13	13:43:22	4408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863900','25')
2023-10-13	13:43:22	4408	[DEBUG]	Find the custom field ID
2023-10-13	13:43:22	4408	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:22	4408	[DEBUG]	No custom field ID found
2023-10-13	13:43:22	4408	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:22	4408	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:43:22	4408	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863900 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:22	4408	[DEBUG]	Store custom available field
2023-10-13	13:43:22	4408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863900,3,'39.7891666666667',1)
2023-10-13	13:43:22	4408	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:22	4408	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:22	4408	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863900 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:22	4408	[DEBUG]	Store custom available field
2023-10-13	13:43:22	4408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863900,6,'choisir la taille',3)
2023-10-13	13:43:22	4408	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:22	4408	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:22	4408	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:22	4408	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:22	4408	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863900 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:22	4408	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:22	4408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863900,8,1)
2023-10-13	13:43:22	4408	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:22	4408	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863900\":[1863900,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863900
2023-10-13	13:43:22	4408	[DEBUG]	Checking category
2023-10-13	13:43:22	4408	[DEBUG]	Check if category path exists: PNEUS 700
2023-10-13	13:43:22	4408	[QUERY]	 SELECT `c`.`virtuemart_category_id` FROM `mlvbch_virtuemart_categories` AS `c` LEFT JOIN `mlvbch_virtuemart_category_categories` AS `x` ON `c`.`virtuemart_category_id` = `x`.`category_child_id` LEFT JOIN `mlvbch_virtuemart_categories_fr_fr` AS `l` ON `l`.`virtuemart_category_id` = `c`.`virtuemart_category_id` WHERE `l`.`category_name` = 'PNEUS 700' AND `x`.`category_child_id` = `c`.`virtuemart_category_id` AND `x`.`category_parent_id` = 7396
2023-10-13	13:43:22	4408	[DEBUG]	Query for Category
2023-10-13	13:43:22	4408	[DEBUG]	Executed store
2023-10-13	13:43:22	4408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_categories` (`category_parent_id`,`virtuemart_vendor_id`,`category_template`,`category_layout`,`category_product_layout`,`products_per_row`,`limit_list_step`,`limit_list_initial`,`hits`,`cat_params`,`metarobot`,`metaauthor`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('7396','1','','default','default','3','0','0','0','','','','17','0','1','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:22	4408	[DEBUG]	Category publish 1
2023-10-13	13:43:22	4408	[DEBUG]	Check the category language
2023-10-13	13:43:22	4408	[QUERY]	 SELECT `virtuemart_category_id` FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `virtuemart_category_id` = 7413
2023-10-13	13:43:22	4408	[DEBUG]	Check the category slug
2023-10-13	13:43:22	4408	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-700' AND `virtuemart_category_id` != 7413
2023-10-13	13:43:22	4408	[DEBUG]	Check the category slug
2023-10-13	13:43:22	4408	[QUERY]	 SELECT COUNT(`virtuemart_category_id`) FROM `mlvbch_virtuemart_categories_fr_fr` WHERE `slug` = 'pneus-700' AND `virtuemart_category_id` != 7413
2023-10-13	13:43:22	4408	[DEBUG]	Add the category language entry
2023-10-13	13:43:22	4408	[QUERY]	INSERT INTO mlvbch_virtuemart_categories_fr_fr (`virtuemart_category_id`, `slug`) VALUES (7413, 'pneus-700')
2023-10-13	13:43:22	4408	[DEBUG]	Query for CategoryLang
2023-10-13	13:43:22	4408	[DEBUG]	Executed store
2023-10-13	13:43:22	4408	[QUERY]	UPDATE `mlvbch_virtuemart_categories_fr_fr` SET `category_name`='PNEUS 700',`metadesc`='',`metakey`='',`customtitle`='',`slug`='pneus-700' WHERE `virtuemart_category_id` = '7413'
2023-10-13	13:43:22	4408	[ADD]	COM_CSVI_TABLE_VirtueMartTableCategoryXref_ADDED
2023-10-13	13:43:22	4408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_category_categories` (`category_parent_id`,`category_child_id`,`ordering`) VALUES  ('7396','7413','0')
2023-10-13	13:43:22	4408	[DEBUG]	Update has field for parent category
2023-10-13	13:43:22	4408	[QUERY]	 UPDATE `mlvbch_virtuemart_categories` SET `has_children` = 1 WHERE `virtuemart_category_id` = 7396
2023-10-13	13:43:22	4408	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:22	4408	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863900
2023-10-13	13:43:22	4408	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:22	4408	[DEBUG]	Executed store
2023-10-13	13:43:22	4408	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863900','7413')
2023-10-13	13:43:22	4408	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:22	4408	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863900 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:22	4408	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:22	4408	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863900
2023-10-13	13:43:22	4409	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:22	4409	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:22	4409	[DEBUG]	Use field value for field taille
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:22	4409	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:22	4409	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:22	4409	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:22	4409	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:22	4409	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:22	4409	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:22	4409	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:22	4409	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:22	4409	[DEBUG]	Use field value for field published
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:22	4409	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field override
2023-10-13	13:43:22	4409	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:22	4409	[DEBUG]	Use field value for field slug
2023-10-13	13:43:22	4409	[DEBUG]	Process line 4409
2023-10-13	13:43:22	4409	[DEBUG]	Load a row
2023-10-13	13:43:22	4409	[DEBUG]	Processing item: 4026495672818
2023-10-13	13:43:22	4409	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:22	4409	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:22	4409	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_3988_1'
2023-10-13	13:43:22	4409	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:22	4409	[DEBUG]	Processing product tax
2023-10-13	13:43:22	4409	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:22	4409	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:22	4409	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:22	4409	[DEBUG]	Query for Product
2023-10-13	13:43:22	4409	[DEBUG]	Executed store
2023-10-13	13:43:22	4409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863900','4026495672818','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:22	4409	[DEBUG]	No parent found
2023-10-13	13:43:22	4409	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863900 AND customfield_value = 'stockable'
2023-10-13	13:43:22	4409	[DEBUG]	Check product language entry
2023-10-13	13:43:22	4409	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863901
2023-10-13	13:43:22	4409	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:22	4409	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495672818' AND `virtuemart_product_id` != 1863901
2023-10-13	13:43:22	4409	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:22	4409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863901, '4026495672818')
2023-10-13	13:43:22	4409	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:22	4409	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-silento-700-x-35-c-wire-avec-bande-reflechissante-noir-unitaire' AND `virtuemart_product_id` != 1863901
2023-10-13	13:43:22	4409	[DEBUG]	Query for ProductLang
2023-10-13	13:43:22	4409	[DEBUG]	Executed store
2023-10-13	13:43:22	4409	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU Silento 700 x 35 c wire avec bande réfléchissante / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-silento-700-x-35-c-wire-avec-bande-reflechissante-noir-unitaire' WHERE `virtuemart_product_id` = '1863901'
2023-10-13	13:43:22	4409	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/21124_schwalbe_salento_700_x_35_c_wire_avec_bande_reflechissante.png
2023-10-13	13:43:22	4409	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:22	4409	[DEBUG]	Process image file
2023-10-13	13:43:22	4409	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:22	4409	[DEBUG]	Mime type found: image/png
2023-10-13	13:43:22	4409	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/21124_schwalbe_salento_700_x_35_c_wire_avec_bande_reflechissante.png
2023-10-13	13:43:22	4409	[DEBUG]	Full name target: bcprisme/21124_schwalbe_salento_700_x_35_c_wire_avec_bande_reflechissante.png
2023-10-13	13:43:23	4409	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:23	4409	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/21124_schwalbe_salento_700_x_35_c_wire_avec_bande_reflechissante.png'
2023-10-13	13:43:23	4409	[DEBUG]	Query for Media
2023-10-13	13:43:23	4409	[DEBUG]	Executed store
2023-10-13	13:43:23	4409	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/21124_schwalbe_salento_700_x_35_c_wire_avec_bande_reflechissante.png',`file_url_thumb`='bcprisme/21124_schwalbe_salento_700_x_35_c_wire_avec_bande_reflechissante.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14547'
2023-10-13	13:43:23	4409	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:23	4409	[DEBUG]	Executed store
2023-10-13	13:43:23	4409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863901','14547','1')
2023-10-13	13:43:23	4409	[DEBUG]	Store product image relation
2023-10-13	13:43:23	4409	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:23	4409	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863901 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:23	4409	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:23	4409	[DEBUG]	Executed store
2023-10-13	13:43:23	4409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863901','0','27.7623026926648','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:23	4409	[DEBUG]	Checking manufacturer
2023-10-13	13:43:23	4409	[DEBUG]	Load a row
2023-10-13	13:43:23	4409	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:23	4409	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:23	4409	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:23	4409	[DEBUG]	Executed store
2023-10-13	13:43:23	4409	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:23	4409	[DEBUG]	Manufacturer exists
2023-10-13	13:43:23	4409	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:43:23	4409	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:23	4409	[DEBUG]	Executed store
2023-10-13	13:43:23	4409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863901','25')
2023-10-13	13:43:23	4409	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:23	4409	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:23	4409	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863901 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:23	4409	[DEBUG]	Store custom available field
2023-10-13	13:43:23	4409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863901,3,'',1)
2023-10-13	13:43:23	4409	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:23	4409	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:43:23	4409	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863901 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:23	4409	[DEBUG]	Store custom available field
2023-10-13	13:43:23	4409	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863901,6,'Unitaire',3)
2023-10-13	13:43:23	4409	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:23	4409	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:23	4409	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863900
2023-10-13	13:43:23	4409	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:23	4409	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863900\":[1863900,8,1,\"choisir la taille\"],\"1863901\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863900
2023-10-13	13:43:23	4409	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:23	4409	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863901
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:23	4410	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field taille
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:23	4410	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:23	4410	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:23	4410	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:23	4410	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:23	4410	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:23	4410	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field published
2023-10-13	13:43:23	4410	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:23	4410	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field override
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:23	4410	[DEBUG]	Use field value for field slug
2023-10-13	13:43:23	4410	[DEBUG]	Process line 4410
2023-10-13	13:43:23	4410	[DEBUG]	Load a row
2023-10-13	13:43:23	4410	[DEBUG]	Processing item: A_4549_1
2023-10-13	13:43:23	4410	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:23	4410	[DEBUG]	Processing product tax
2023-10-13	13:43:23	4410	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:23	4410	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:23	4410	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:23	4410	[DEBUG]	Query for Product
2023-10-13	13:43:23	4410	[DEBUG]	Executed store
2023-10-13	13:43:23	4410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4549_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:23	4410	[DEBUG]	Check product language entry
2023-10-13	13:43:23	4410	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863902
2023-10-13	13:43:23	4410	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:23	4410	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4549_1' AND `virtuemart_product_id` != 1863902
2023-10-13	13:43:23	4410	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:23	4410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863902, 'A_4549_1')
2023-10-13	13:43:23	4410	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:23	4410	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-performance-700-x-25-c-tringle-souple-120-tpi-gomme-62a-noir' AND `virtuemart_product_id` != 1863902
2023-10-13	13:43:23	4410	[DEBUG]	Query for ProductLang
2023-10-13	13:43:23	4410	[DEBUG]	Executed store
2023-10-13	13:43:23	4410	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='PERFORMANCE TRINGLE SOUPLE 120 TPI, GOMME 62A<br>N° art fourn : PER70025120KV',`product_name`='MSC PNEU PERFORMANCE 700 X 25 C TRINGLE SOUPLE 120 TPI, GOMME 62A / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-performance-700-x-25-c-tringle-souple-120-tpi-gomme-62a-noir' WHERE `virtuemart_product_id` = '1863902'
2023-10-13	13:43:23	4410	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27230_performance_700_x_25_c_tringle_souple_120_tpi,_gomme_62a.jpg
2023-10-13	13:43:23	4410	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:23	4410	[DEBUG]	Process image file
2023-10-13	13:43:23	4410	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:23	4410	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:23	4410	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27230_performance_700_x_25_c_tringle_souple_120_tpi,_gomme_62a.jpg
2023-10-13	13:43:23	4410	[DEBUG]	Full name target: bcprisme/27230_performance_700_x_25_c_tringle_souple_120_tpi,_gomme_62a.jpg
2023-10-13	13:43:24	4410	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:24	4410	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27230_performance_700_x_25_c_tringle_souple_120_tpi,_gomme_62a.jpg'
2023-10-13	13:43:24	4410	[DEBUG]	Query for Media
2023-10-13	13:43:24	4410	[DEBUG]	Executed store
2023-10-13	13:43:24	4410	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27230_performance_700_x_25_c_tringle_souple_120_tpi,_gomme_62a.jpg',`file_url_thumb`='bcprisme/27230_performance_700_x_25_c_tringle_souple_120_tpi,_gomme_62a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14549'
2023-10-13	13:43:24	4410	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:24	4410	[DEBUG]	Executed store
2023-10-13	13:43:24	4410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863902','14549','1')
2023-10-13	13:43:24	4410	[DEBUG]	Store product image relation
2023-10-13	13:43:24	4410	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:24	4410	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863902 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:24	4410	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:24	4410	[DEBUG]	Executed store
2023-10-13	13:43:24	4410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863902','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:24	4410	[DEBUG]	Checking manufacturer
2023-10-13	13:43:24	4410	[DEBUG]	Load a row
2023-10-13	13:43:24	4410	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:24	4410	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:24	4410	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:24	4410	[DEBUG]	Executed store
2023-10-13	13:43:24	4410	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:24	4410	[DEBUG]	Manufacturer exists
2023-10-13	13:43:24	4410	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:43:24	4410	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:24	4410	[DEBUG]	Executed store
2023-10-13	13:43:24	4410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863902','32')
2023-10-13	13:43:24	4410	[DEBUG]	Find the custom field ID
2023-10-13	13:43:24	4410	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:24	4410	[DEBUG]	No custom field ID found
2023-10-13	13:43:24	4410	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:24	4410	[DEBUG]	Get existing row with customfield value 29.8169444444444
2023-10-13	13:43:24	4410	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863902 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:24	4410	[DEBUG]	Store custom available field
2023-10-13	13:43:24	4410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863902,3,'29.8169444444444',1)
2023-10-13	13:43:24	4410	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:24	4410	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:24	4410	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863902 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:24	4410	[DEBUG]	Store custom available field
2023-10-13	13:43:24	4410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863902,6,'choisir la taille',3)
2023-10-13	13:43:24	4410	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:24	4410	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:24	4410	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:24	4410	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:24	4410	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863902 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:24	4410	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:24	4410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863902,8,1)
2023-10-13	13:43:24	4410	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:24	4410	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863902\":[1863902,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863902
2023-10-13	13:43:24	4410	[DEBUG]	Checking category
2023-10-13	13:43:24	4410	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:24	4410	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863902
2023-10-13	13:43:24	4410	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:24	4410	[DEBUG]	Executed store
2023-10-13	13:43:24	4410	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863902','7413')
2023-10-13	13:43:24	4410	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:24	4410	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863902 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:24	4410	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:24	4410	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863902
2023-10-13	13:43:24	4411	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:24	4411	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:24	4411	[DEBUG]	Use field value for field taille
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:24	4411	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:24	4411	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:24	4411	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:24	4411	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:24	4411	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:24	4411	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:24	4411	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:24	4411	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:24	4411	[DEBUG]	Use field value for field published
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:24	4411	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field override
2023-10-13	13:43:24	4411	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:24	4411	[DEBUG]	Use field value for field slug
2023-10-13	13:43:24	4411	[DEBUG]	Process line 4411
2023-10-13	13:43:24	4411	[DEBUG]	Load a row
2023-10-13	13:43:24	4411	[DEBUG]	Processing item: 8435466214128
2023-10-13	13:43:24	4411	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:24	4411	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:24	4411	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4549_1'
2023-10-13	13:43:24	4411	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:24	4411	[DEBUG]	Processing product tax
2023-10-13	13:43:24	4411	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:24	4411	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:24	4411	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:24	4411	[DEBUG]	Query for Product
2023-10-13	13:43:24	4411	[DEBUG]	Executed store
2023-10-13	13:43:24	4411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863902','8435466214128','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:24	4411	[DEBUG]	No parent found
2023-10-13	13:43:24	4411	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863902 AND customfield_value = 'stockable'
2023-10-13	13:43:24	4411	[DEBUG]	Check product language entry
2023-10-13	13:43:24	4411	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863903
2023-10-13	13:43:24	4411	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:24	4411	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466214128' AND `virtuemart_product_id` != 1863903
2023-10-13	13:43:24	4411	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:24	4411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863903, '8435466214128')
2023-10-13	13:43:24	4411	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:24	4411	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-performance-700-x-25-c-tringle-souple-120-tpi-gomme-62a-noir-unitaire' AND `virtuemart_product_id` != 1863903
2023-10-13	13:43:24	4411	[DEBUG]	Query for ProductLang
2023-10-13	13:43:24	4411	[DEBUG]	Executed store
2023-10-13	13:43:24	4411	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU PERFORMANCE 700 X 25 C TRINGLE SOUPLE 120 TPI, GOMME 62A / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-performance-700-x-25-c-tringle-souple-120-tpi-gomme-62a-noir-unitaire' WHERE `virtuemart_product_id` = '1863903'
2023-10-13	13:43:24	4411	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27230_performance_700_x_25_c_tringle_souple_120_tpi,_gomme_62a.jpg
2023-10-13	13:43:24	4411	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:24	4411	[DEBUG]	Process image file
2023-10-13	13:43:24	4411	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:24	4411	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:24	4411	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27230_performance_700_x_25_c_tringle_souple_120_tpi,_gomme_62a.jpg
2023-10-13	13:43:24	4411	[DEBUG]	Full name target: bcprisme/27230_performance_700_x_25_c_tringle_souple_120_tpi,_gomme_62a.jpg
2023-10-13	13:43:25	4411	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:25	4411	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27230_performance_700_x_25_c_tringle_souple_120_tpi,_gomme_62a.jpg'
2023-10-13	13:43:25	4411	[DEBUG]	Query for Media
2023-10-13	13:43:25	4411	[DEBUG]	Executed store
2023-10-13	13:43:25	4411	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27230_performance_700_x_25_c_tringle_souple_120_tpi,_gomme_62a.jpg',`file_url_thumb`='bcprisme/27230_performance_700_x_25_c_tringle_souple_120_tpi,_gomme_62a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14549'
2023-10-13	13:43:25	4411	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:25	4411	[DEBUG]	Executed store
2023-10-13	13:43:25	4411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863903','14549','1')
2023-10-13	13:43:25	4411	[DEBUG]	Store product image relation
2023-10-13	13:43:25	4411	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:25	4411	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863903 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:25	4411	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:25	4411	[DEBUG]	Executed store
2023-10-13	13:43:25	4411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863903','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:25	4411	[DEBUG]	Checking manufacturer
2023-10-13	13:43:25	4411	[DEBUG]	Load a row
2023-10-13	13:43:25	4411	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:25	4411	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:25	4411	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:25	4411	[DEBUG]	Executed store
2023-10-13	13:43:25	4411	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:25	4411	[DEBUG]	Manufacturer exists
2023-10-13	13:43:25	4411	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:43:25	4411	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:25	4411	[DEBUG]	Executed store
2023-10-13	13:43:25	4411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863903','32')
2023-10-13	13:43:25	4411	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:25	4411	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:25	4411	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863903 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:25	4411	[DEBUG]	Store custom available field
2023-10-13	13:43:25	4411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863903,3,'',1)
2023-10-13	13:43:25	4411	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:25	4411	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:43:25	4411	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863903 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:25	4411	[DEBUG]	Store custom available field
2023-10-13	13:43:25	4411	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863903,6,'Unitaire',3)
2023-10-13	13:43:25	4411	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:25	4411	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:25	4411	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863902
2023-10-13	13:43:25	4411	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:25	4411	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863902\":[1863902,8,1,\"choisir la taille\"],\"1863903\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863902
2023-10-13	13:43:25	4411	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:25	4411	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863903
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:25	4412	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field taille
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:25	4412	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:25	4412	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:25	4412	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:25	4412	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:25	4412	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:25	4412	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field published
2023-10-13	13:43:25	4412	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:25	4412	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field override
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:25	4412	[DEBUG]	Use field value for field slug
2023-10-13	13:43:25	4412	[DEBUG]	Process line 4412
2023-10-13	13:43:25	4412	[DEBUG]	Load a row
2023-10-13	13:43:25	4412	[DEBUG]	Processing item: A_4551_1
2023-10-13	13:43:25	4412	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:25	4412	[DEBUG]	Processing product tax
2023-10-13	13:43:25	4412	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:25	4412	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:25	4412	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:25	4412	[DEBUG]	Query for Product
2023-10-13	13:43:25	4412	[DEBUG]	Executed store
2023-10-13	13:43:25	4412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_4551_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:25	4412	[DEBUG]	Check product language entry
2023-10-13	13:43:25	4412	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863904
2023-10-13	13:43:25	4412	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:25	4412	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_4551_1' AND `virtuemart_product_id` != 1863904
2023-10-13	13:43:25	4412	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:25	4412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863904, 'A_4551_1')
2023-10-13	13:43:25	4412	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:25	4412	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-performance-plus-700x25-60tpi-road-shield-noir' AND `virtuemart_product_id` != 1863904
2023-10-13	13:43:25	4412	[DEBUG]	Query for ProductLang
2023-10-13	13:43:25	4412	[DEBUG]	Executed store
2023-10-13	13:43:25	4412	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='Noir<br>COMPUESTO 62A<br>220 g<br>Un pneumatique polyvalent et adapté à toutes les conditions. Le tout terrain de la route! La partie centrale facilite le roulement rapide tout en offrant un grip effi cace aux irrégularités de la route grâce à sa texture diamant. Les latéraux ont été pensé pour offrir un maximum de sécurité dans toutes les conditions météorologiques.<br>ROAD PERFORMANCE PLUS. Même dessin que le Road Performance mais avec la bande de protection Road Shield. Le Road Performance Plus sera votre meilleur allié pour affronter toutes les imperfections de la route et éviter les crevaisons.<br>N° art fourn : PERPL7002560KV',`product_name`='MSC PNEU PERFORMANCE PLUS 700x25 60TPI ROAD SHIELD / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-performance-plus-700x25-60tpi-road-shield-noir' WHERE `virtuemart_product_id` = '1863904'
2023-10-13	13:43:25	4412	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27232_performance_plus_700_x_25_c_tringle_souple_60_tpi__gomme_62a.jpg
2023-10-13	13:43:25	4412	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:25	4412	[DEBUG]	Process image file
2023-10-13	13:43:25	4412	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:25	4412	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:25	4412	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27232_performance_plus_700_x_25_c_tringle_souple_60_tpi__gomme_62a.jpg
2023-10-13	13:43:25	4412	[DEBUG]	Full name target: bcprisme/27232_performance_plus_700_x_25_c_tringle_souple_60_tpi__gomme_62a.jpg
2023-10-13	13:43:26	4412	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:26	4412	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27232_performance_plus_700_x_25_c_tringle_souple_60_tpi__gomme_62a.jpg'
2023-10-13	13:43:26	4412	[DEBUG]	Query for Media
2023-10-13	13:43:26	4412	[DEBUG]	Executed store
2023-10-13	13:43:26	4412	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27232_performance_plus_700_x_25_c_tringle_souple_60_tpi__gomme_62a.jpg',`file_url_thumb`='bcprisme/27232_performance_plus_700_x_25_c_tringle_souple_60_tpi__gomme_62a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14551'
2023-10-13	13:43:26	4412	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:26	4412	[DEBUG]	Executed store
2023-10-13	13:43:26	4412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863904','14551','1')
2023-10-13	13:43:26	4412	[DEBUG]	Store product image relation
2023-10-13	13:43:26	4412	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:26	4412	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863904 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:26	4412	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:26	4412	[DEBUG]	Executed store
2023-10-13	13:43:26	4412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863904','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:26	4412	[DEBUG]	Checking manufacturer
2023-10-13	13:43:26	4412	[DEBUG]	Load a row
2023-10-13	13:43:26	4412	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:26	4412	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:26	4412	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:26	4412	[DEBUG]	Executed store
2023-10-13	13:43:26	4412	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:26	4412	[DEBUG]	Manufacturer exists
2023-10-13	13:43:26	4412	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:43:26	4412	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:26	4412	[DEBUG]	Executed store
2023-10-13	13:43:26	4412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863904','32')
2023-10-13	13:43:26	4412	[DEBUG]	Find the custom field ID
2023-10-13	13:43:26	4412	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:26	4412	[DEBUG]	No custom field ID found
2023-10-13	13:43:26	4412	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:26	4412	[DEBUG]	Get existing row with customfield value 26.8252777777778
2023-10-13	13:43:26	4412	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863904 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:26	4412	[DEBUG]	Store custom available field
2023-10-13	13:43:26	4412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863904,3,'26.8252777777778',1)
2023-10-13	13:43:26	4412	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:26	4412	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:26	4412	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863904 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:26	4412	[DEBUG]	Store custom available field
2023-10-13	13:43:26	4412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863904,6,'choisir la taille',3)
2023-10-13	13:43:26	4412	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:26	4412	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:26	4412	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:26	4412	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:26	4412	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863904 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:26	4412	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:26	4412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863904,8,1)
2023-10-13	13:43:26	4412	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:26	4412	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863904\":[1863904,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863904
2023-10-13	13:43:26	4412	[DEBUG]	Checking category
2023-10-13	13:43:26	4412	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:26	4412	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863904
2023-10-13	13:43:26	4412	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:26	4412	[DEBUG]	Executed store
2023-10-13	13:43:26	4412	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863904','7413')
2023-10-13	13:43:26	4412	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:26	4412	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863904 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:26	4412	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:26	4412	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863904
2023-10-13	13:43:26	4413	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:26	4413	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:26	4413	[DEBUG]	Use field value for field taille
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:26	4413	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:26	4413	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:26	4413	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:26	4413	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:26	4413	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:26	4413	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:26	4413	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:26	4413	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:26	4413	[DEBUG]	Use field value for field published
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:26	4413	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field override
2023-10-13	13:43:26	4413	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:26	4413	[DEBUG]	Use field value for field slug
2023-10-13	13:43:26	4413	[DEBUG]	Process line 4413
2023-10-13	13:43:26	4413	[DEBUG]	Load a row
2023-10-13	13:43:26	4413	[DEBUG]	Processing item: 8435466215132
2023-10-13	13:43:26	4413	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:26	4413	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:26	4413	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_4551_1'
2023-10-13	13:43:26	4413	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:26	4413	[DEBUG]	Processing product tax
2023-10-13	13:43:26	4413	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:26	4413	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:26	4413	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:26	4413	[DEBUG]	Query for Product
2023-10-13	13:43:26	4413	[DEBUG]	Executed store
2023-10-13	13:43:26	4413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863904','8435466215132','0','KG','M','','13','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:26	4413	[DEBUG]	No parent found
2023-10-13	13:43:26	4413	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863904 AND customfield_value = 'stockable'
2023-10-13	13:43:26	4413	[DEBUG]	Check product language entry
2023-10-13	13:43:26	4413	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863905
2023-10-13	13:43:26	4413	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:26	4413	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215132' AND `virtuemart_product_id` != 1863905
2023-10-13	13:43:26	4413	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:26	4413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863905, '8435466215132')
2023-10-13	13:43:26	4413	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:26	4413	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-performance-plus-700x25-60tpi-road-shield-noir-unitaire' AND `virtuemart_product_id` != 1863905
2023-10-13	13:43:26	4413	[DEBUG]	Query for ProductLang
2023-10-13	13:43:26	4413	[DEBUG]	Executed store
2023-10-13	13:43:26	4413	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU PERFORMANCE PLUS 700x25 60TPI ROAD SHIELD / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-performance-plus-700x25-60tpi-road-shield-noir-unitaire' WHERE `virtuemart_product_id` = '1863905'
2023-10-13	13:43:26	4413	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27232_performance_plus_700_x_25_c_tringle_souple_60_tpi__gomme_62a.jpg
2023-10-13	13:43:26	4413	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:26	4413	[DEBUG]	Process image file
2023-10-13	13:43:26	4413	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:26	4413	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:26	4413	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/27232_performance_plus_700_x_25_c_tringle_souple_60_tpi__gomme_62a.jpg
2023-10-13	13:43:26	4413	[DEBUG]	Full name target: bcprisme/27232_performance_plus_700_x_25_c_tringle_souple_60_tpi__gomme_62a.jpg
2023-10-13	13:43:27	4413	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:27	4413	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/27232_performance_plus_700_x_25_c_tringle_souple_60_tpi__gomme_62a.jpg'
2023-10-13	13:43:27	4413	[DEBUG]	Query for Media
2023-10-13	13:43:27	4413	[DEBUG]	Executed store
2023-10-13	13:43:27	4413	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/27232_performance_plus_700_x_25_c_tringle_souple_60_tpi__gomme_62a.jpg',`file_url_thumb`='bcprisme/27232_performance_plus_700_x_25_c_tringle_souple_60_tpi__gomme_62a.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14551'
2023-10-13	13:43:27	4413	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:27	4413	[DEBUG]	Executed store
2023-10-13	13:43:27	4413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863905','14551','1')
2023-10-13	13:43:27	4413	[DEBUG]	Store product image relation
2023-10-13	13:43:27	4413	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:27	4413	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863905 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:27	4413	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:27	4413	[DEBUG]	Executed store
2023-10-13	13:43:27	4413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863905','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:27	4413	[DEBUG]	Checking manufacturer
2023-10-13	13:43:27	4413	[DEBUG]	Load a row
2023-10-13	13:43:27	4413	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:27	4413	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:27	4413	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:27	4413	[DEBUG]	Executed store
2023-10-13	13:43:27	4413	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:27	4413	[DEBUG]	Manufacturer exists
2023-10-13	13:43:27	4413	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:43:27	4413	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:27	4413	[DEBUG]	Executed store
2023-10-13	13:43:27	4413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863905','32')
2023-10-13	13:43:27	4413	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:27	4413	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:27	4413	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863905 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:27	4413	[DEBUG]	Store custom available field
2023-10-13	13:43:27	4413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863905,3,'',1)
2023-10-13	13:43:27	4413	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:27	4413	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:43:27	4413	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863905 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:27	4413	[DEBUG]	Store custom available field
2023-10-13	13:43:27	4413	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863905,6,'Unitaire',3)
2023-10-13	13:43:27	4413	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:27	4413	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:27	4413	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863904
2023-10-13	13:43:27	4413	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:27	4413	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863904\":[1863904,8,1,\"choisir la taille\"],\"1863905\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863904
2023-10-13	13:43:27	4413	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:27	4413	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863905
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:27	4414	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field taille
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:27	4414	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:27	4414	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:27	4414	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:27	4414	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:27	4414	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:27	4414	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:27	4414	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field published
2023-10-13	13:43:27	4414	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:27	4414	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field override
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:27	4414	[DEBUG]	Use field value for field slug
2023-10-13	13:43:27	4414	[DEBUG]	Process line 4414
2023-10-13	13:43:27	4414	[DEBUG]	Load a row
2023-10-13	13:43:27	4414	[DEBUG]	Processing item: A_5203_1
2023-10-13	13:43:27	4414	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:27	4414	[DEBUG]	Processing product tax
2023-10-13	13:43:27	4414	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:27	4414	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:27	4414	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:27	4414	[DEBUG]	Query for Product
2023-10-13	13:43:27	4414	[DEBUG]	Executed store
2023-10-13	13:43:27	4414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5203_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:27	4414	[DEBUG]	Check product language entry
2023-10-13	13:43:27	4414	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863906
2023-10-13	13:43:27	4414	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:27	4414	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5203_1' AND `virtuemart_product_id` != 1863906
2023-10-13	13:43:27	4414	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:27	4414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863906, 'A_5203_1')
2023-10-13	13:43:27	4414	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:27	4414	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'michelin-pneu-700x25c-pro4-ts-v2-noir-noir' AND `virtuemart_product_id` != 1863906
2023-10-13	13:43:27	4414	[DEBUG]	Query for ProductLang
2023-10-13	13:43:27	4414	[DEBUG]	Executed store
2023-10-13	13:43:27	4414	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 192122',`product_name`='Michelin Pneu 700x25C PRO4 TS V2 noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='michelin-pneu-700x25c-pro4-ts-v2-noir-noir' WHERE `virtuemart_product_id` = '1863906'
2023-10-13	13:43:27	4414	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29674_pneu_michelin_700x25c_pro4_ts_v2_noir.jpg
2023-10-13	13:43:27	4414	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:27	4414	[DEBUG]	Process image file
2023-10-13	13:43:27	4414	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:27	4414	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:27	4414	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29674_pneu_michelin_700x25c_pro4_ts_v2_noir.jpg
2023-10-13	13:43:27	4414	[DEBUG]	Full name target: bcprisme/29674_pneu_michelin_700x25c_pro4_ts_v2_noir.jpg
2023-10-13	13:43:28	4414	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:28	4414	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29674_pneu_michelin_700x25c_pro4_ts_v2_noir.jpg'
2023-10-13	13:43:28	4414	[DEBUG]	Query for Media
2023-10-13	13:43:28	4414	[DEBUG]	Executed store
2023-10-13	13:43:28	4414	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29674_pneu_michelin_700x25c_pro4_ts_v2_noir.jpg',`file_url_thumb`='bcprisme/29674_pneu_michelin_700x25c_pro4_ts_v2_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382117'
2023-10-13	13:43:28	4414	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:28	4414	[DEBUG]	Executed store
2023-10-13	13:43:28	4414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863906','382117','1')
2023-10-13	13:43:28	4414	[DEBUG]	Store product image relation
2023-10-13	13:43:28	4414	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:28	4414	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863906 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:28	4414	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:28	4414	[DEBUG]	Executed store
2023-10-13	13:43:28	4414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863906','0','45.4038997214485','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:28	4414	[DEBUG]	Checking manufacturer
2023-10-13	13:43:28	4414	[DEBUG]	Load a row
2023-10-13	13:43:28	4414	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:28	4414	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '125'
2023-10-13	13:43:28	4414	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:28	4414	[DEBUG]	Executed store
2023-10-13	13:43:28	4414	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21817962336' WHERE `virtuemart_manufacturer_id` = '125'
2023-10-13	13:43:28	4414	[DEBUG]	Manufacturer exists
2023-10-13	13:43:28	4414	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 125
2023-10-13	13:43:28	4414	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:28	4414	[DEBUG]	Executed store
2023-10-13	13:43:28	4414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863906','125')
2023-10-13	13:43:28	4414	[DEBUG]	Find the custom field ID
2023-10-13	13:43:28	4414	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:28	4414	[DEBUG]	No custom field ID found
2023-10-13	13:43:28	4414	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:28	4414	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:43:28	4414	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863906 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:28	4414	[DEBUG]	Store custom available field
2023-10-13	13:43:28	4414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863906,3,'0',1)
2023-10-13	13:43:28	4414	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:28	4414	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:28	4414	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863906 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:28	4414	[DEBUG]	Store custom available field
2023-10-13	13:43:28	4414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863906,6,'choisir la taille',3)
2023-10-13	13:43:28	4414	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:28	4414	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:28	4414	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:28	4414	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:28	4414	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863906 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:28	4414	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:28	4414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863906,8,1)
2023-10-13	13:43:28	4414	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:28	4414	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863906\":[1863906,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863906
2023-10-13	13:43:28	4414	[DEBUG]	Checking category
2023-10-13	13:43:28	4414	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:28	4414	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863906
2023-10-13	13:43:28	4414	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:28	4414	[DEBUG]	Executed store
2023-10-13	13:43:28	4414	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863906','7413')
2023-10-13	13:43:28	4414	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:28	4414	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863906 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:28	4414	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:28	4414	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863906
2023-10-13	13:43:28	4415	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:28	4415	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:28	4415	[DEBUG]	Use field value for field taille
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:28	4415	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:28	4415	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:28	4415	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:28	4415	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:28	4415	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:28	4415	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:28	4415	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:28	4415	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:28	4415	[DEBUG]	Use field value for field published
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:28	4415	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field override
2023-10-13	13:43:28	4415	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:28	4415	[DEBUG]	Use field value for field slug
2023-10-13	13:43:28	4415	[DEBUG]	Process line 4415
2023-10-13	13:43:28	4415	[DEBUG]	Load a row
2023-10-13	13:43:28	4415	[DEBUG]	Processing item: 086699616630
2023-10-13	13:43:28	4415	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:28	4415	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:28	4415	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5203_1'
2023-10-13	13:43:28	4415	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:28	4415	[DEBUG]	Processing product tax
2023-10-13	13:43:28	4415	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:28	4415	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:28	4415	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:28	4415	[DEBUG]	Query for Product
2023-10-13	13:43:28	4415	[DEBUG]	Executed store
2023-10-13	13:43:28	4415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863906','086699616630','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:28	4415	[DEBUG]	No parent found
2023-10-13	13:43:28	4415	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863906 AND customfield_value = 'stockable'
2023-10-13	13:43:28	4415	[DEBUG]	Check product language entry
2023-10-13	13:43:28	4415	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863907
2023-10-13	13:43:28	4415	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:28	4415	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '086699616630' AND `virtuemart_product_id` != 1863907
2023-10-13	13:43:28	4415	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:28	4415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863907, '086699616630')
2023-10-13	13:43:28	4415	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:28	4415	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'michelin-pneu-700x25c-pro4-ts-v2-noir-noir-all' AND `virtuemart_product_id` != 1863907
2023-10-13	13:43:28	4415	[DEBUG]	Query for ProductLang
2023-10-13	13:43:28	4415	[DEBUG]	Executed store
2023-10-13	13:43:28	4415	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Michelin Pneu 700x25C PRO4 TS V2 noir / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='michelin-pneu-700x25c-pro4-ts-v2-noir-noir-all' WHERE `virtuemart_product_id` = '1863907'
2023-10-13	13:43:28	4415	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29674_pneu_michelin_700x25c_pro4_ts_v2_noir.jpg
2023-10-13	13:43:28	4415	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:28	4415	[DEBUG]	Process image file
2023-10-13	13:43:28	4415	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:28	4415	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:28	4415	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29674_pneu_michelin_700x25c_pro4_ts_v2_noir.jpg
2023-10-13	13:43:28	4415	[DEBUG]	Full name target: bcprisme/29674_pneu_michelin_700x25c_pro4_ts_v2_noir.jpg
2023-10-13	13:43:29	4415	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:29	4415	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29674_pneu_michelin_700x25c_pro4_ts_v2_noir.jpg'
2023-10-13	13:43:29	4415	[DEBUG]	Query for Media
2023-10-13	13:43:29	4415	[DEBUG]	Executed store
2023-10-13	13:43:29	4415	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29674_pneu_michelin_700x25c_pro4_ts_v2_noir.jpg',`file_url_thumb`='bcprisme/29674_pneu_michelin_700x25c_pro4_ts_v2_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382117'
2023-10-13	13:43:29	4415	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:29	4415	[DEBUG]	Executed store
2023-10-13	13:43:29	4415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863907','382117','1')
2023-10-13	13:43:29	4415	[DEBUG]	Store product image relation
2023-10-13	13:43:29	4415	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:29	4415	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863907 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:29	4415	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:29	4415	[DEBUG]	Executed store
2023-10-13	13:43:29	4415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863907','0','45.4038997214485','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:29	4415	[DEBUG]	Checking manufacturer
2023-10-13	13:43:29	4415	[DEBUG]	Load a row
2023-10-13	13:43:29	4415	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:29	4415	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '125'
2023-10-13	13:43:29	4415	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:29	4415	[DEBUG]	Executed store
2023-10-13	13:43:29	4415	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21817962336' WHERE `virtuemart_manufacturer_id` = '125'
2023-10-13	13:43:29	4415	[DEBUG]	Manufacturer exists
2023-10-13	13:43:29	4415	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 125
2023-10-13	13:43:29	4415	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:29	4415	[DEBUG]	Executed store
2023-10-13	13:43:29	4415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863907','125')
2023-10-13	13:43:29	4415	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:29	4415	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:29	4415	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863907 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:29	4415	[DEBUG]	Store custom available field
2023-10-13	13:43:29	4415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863907,3,'',1)
2023-10-13	13:43:29	4415	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:29	4415	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:43:29	4415	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863907 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:29	4415	[DEBUG]	Store custom available field
2023-10-13	13:43:29	4415	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863907,6,'All',3)
2023-10-13	13:43:29	4415	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:29	4415	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:29	4415	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863906
2023-10-13	13:43:29	4415	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:29	4415	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863906\":[1863906,8,1,\"choisir la taille\"],\"1863907\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863906
2023-10-13	13:43:29	4415	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:29	4415	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863907
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:29	4416	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field taille
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:29	4416	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:29	4416	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:29	4416	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:29	4416	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:29	4416	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:29	4416	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field published
2023-10-13	13:43:29	4416	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:29	4416	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field override
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:29	4416	[DEBUG]	Use field value for field slug
2023-10-13	13:43:29	4416	[DEBUG]	Process line 4416
2023-10-13	13:43:29	4416	[DEBUG]	Load a row
2023-10-13	13:43:29	4416	[DEBUG]	Processing item: A_5354_1
2023-10-13	13:43:29	4416	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:29	4416	[DEBUG]	Processing product tax
2023-10-13	13:43:29	4416	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:29	4416	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:29	4416	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:29	4416	[DEBUG]	Query for Product
2023-10-13	13:43:29	4416	[DEBUG]	Executed store
2023-10-13	13:43:29	4416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5354_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:29	4416	[DEBUG]	Check product language entry
2023-10-13	13:43:29	4416	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863908
2023-10-13	13:43:29	4416	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:29	4416	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5354_1' AND `virtuemart_product_id` != 1863908
2023-10-13	13:43:29	4416	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:29	4416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863908, 'A_5354_1')
2023-10-13	13:43:29	4416	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:29	4416	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-one-700x25c-noir-noir' AND `virtuemart_product_id` != 1863908
2023-10-13	13:43:29	4416	[DEBUG]	Query for ProductLang
2023-10-13	13:43:29	4416	[DEBUG]	Executed store
2023-10-13	13:43:29	4416	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.05.416',`product_name`='SCHWALBE Pneu ONE 700x25C noir / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-one-700x25c-noir-noir' WHERE `virtuemart_product_id` = '1863908'
2023-10-13	13:43:29	4416	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29832_schwalbe_pneu_one_700x25c_noir.png
2023-10-13	13:43:29	4416	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:29	4416	[DEBUG]	Process image file
2023-10-13	13:43:29	4416	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:29	4416	[DEBUG]	Mime type found: image/png
2023-10-13	13:43:29	4416	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29832_schwalbe_pneu_one_700x25c_noir.png
2023-10-13	13:43:29	4416	[DEBUG]	Full name target: bcprisme/29832_schwalbe_pneu_one_700x25c_noir.png
2023-10-13	13:43:30	4416	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:30	4416	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29832_schwalbe_pneu_one_700x25c_noir.png'
2023-10-13	13:43:30	4416	[DEBUG]	Query for Media
2023-10-13	13:43:30	4416	[DEBUG]	Executed store
2023-10-13	13:43:30	4416	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29832_schwalbe_pneu_one_700x25c_noir.png',`file_url_thumb`='bcprisme/29832_schwalbe_pneu_one_700x25c_noir.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14553'
2023-10-13	13:43:30	4416	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:30	4416	[DEBUG]	Executed store
2023-10-13	13:43:30	4416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863908','14553','1')
2023-10-13	13:43:30	4416	[DEBUG]	Store product image relation
2023-10-13	13:43:30	4416	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:30	4416	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863908 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:30	4416	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:30	4416	[DEBUG]	Executed store
2023-10-13	13:43:30	4416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863908','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:30	4416	[DEBUG]	Checking manufacturer
2023-10-13	13:43:30	4416	[DEBUG]	Load a row
2023-10-13	13:43:30	4416	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:30	4416	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:30	4416	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:30	4416	[DEBUG]	Executed store
2023-10-13	13:43:30	4416	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:30	4416	[DEBUG]	Manufacturer exists
2023-10-13	13:43:30	4416	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:43:30	4416	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:30	4416	[DEBUG]	Executed store
2023-10-13	13:43:30	4416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863908','25')
2023-10-13	13:43:30	4416	[DEBUG]	Find the custom field ID
2023-10-13	13:43:30	4416	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:30	4416	[DEBUG]	No custom field ID found
2023-10-13	13:43:30	4416	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:30	4416	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:43:30	4416	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863908 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:30	4416	[DEBUG]	Store custom available field
2023-10-13	13:43:30	4416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863908,3,'0',1)
2023-10-13	13:43:30	4416	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:30	4416	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:30	4416	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863908 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:30	4416	[DEBUG]	Store custom available field
2023-10-13	13:43:30	4416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863908,6,'choisir la taille',3)
2023-10-13	13:43:30	4416	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:30	4416	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:30	4416	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:30	4416	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:30	4416	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863908 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:30	4416	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:30	4416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863908,8,1)
2023-10-13	13:43:30	4416	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:30	4416	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863908\":[1863908,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863908
2023-10-13	13:43:30	4416	[DEBUG]	Checking category
2023-10-13	13:43:30	4416	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:30	4416	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863908
2023-10-13	13:43:30	4416	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:30	4416	[DEBUG]	Executed store
2023-10-13	13:43:30	4416	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863908','7413')
2023-10-13	13:43:30	4416	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:30	4416	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863908 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:30	4416	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:30	4416	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863908
2023-10-13	13:43:30	4417	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:30	4417	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:30	4417	[DEBUG]	Use field value for field taille
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:30	4417	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:30	4417	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:30	4417	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:30	4417	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:30	4417	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:30	4417	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:30	4417	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:30	4417	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:30	4417	[DEBUG]	Use field value for field published
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:30	4417	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field override
2023-10-13	13:43:30	4417	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:30	4417	[DEBUG]	Use field value for field slug
2023-10-13	13:43:30	4417	[DEBUG]	Process line 4417
2023-10-13	13:43:30	4417	[DEBUG]	Load a row
2023-10-13	13:43:30	4417	[DEBUG]	Processing item: 4026495788762
2023-10-13	13:43:30	4417	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:30	4417	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:30	4417	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5354_1'
2023-10-13	13:43:30	4417	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:30	4417	[DEBUG]	Processing product tax
2023-10-13	13:43:30	4417	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:30	4417	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:30	4417	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:30	4417	[DEBUG]	Query for Product
2023-10-13	13:43:30	4417	[DEBUG]	Executed store
2023-10-13	13:43:30	4417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863908','4026495788762','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:30	4417	[DEBUG]	No parent found
2023-10-13	13:43:30	4417	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863908 AND customfield_value = 'stockable'
2023-10-13	13:43:30	4417	[DEBUG]	Check product language entry
2023-10-13	13:43:30	4417	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863909
2023-10-13	13:43:30	4417	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:30	4417	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495788762' AND `virtuemart_product_id` != 1863909
2023-10-13	13:43:30	4417	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:30	4417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863909, '4026495788762')
2023-10-13	13:43:30	4417	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:30	4417	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-one-700x25c-noir-noir-all' AND `virtuemart_product_id` != 1863909
2023-10-13	13:43:30	4417	[DEBUG]	Query for ProductLang
2023-10-13	13:43:30	4417	[DEBUG]	Executed store
2023-10-13	13:43:30	4417	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu ONE 700x25C noir / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-one-700x25c-noir-noir-all' WHERE `virtuemart_product_id` = '1863909'
2023-10-13	13:43:30	4417	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29832_schwalbe_pneu_one_700x25c_noir.png
2023-10-13	13:43:30	4417	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:30	4417	[DEBUG]	Process image file
2023-10-13	13:43:30	4417	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:30	4417	[DEBUG]	Mime type found: image/png
2023-10-13	13:43:30	4417	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29832_schwalbe_pneu_one_700x25c_noir.png
2023-10-13	13:43:30	4417	[DEBUG]	Full name target: bcprisme/29832_schwalbe_pneu_one_700x25c_noir.png
2023-10-13	13:43:31	4417	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:31	4417	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29832_schwalbe_pneu_one_700x25c_noir.png'
2023-10-13	13:43:31	4417	[DEBUG]	Query for Media
2023-10-13	13:43:31	4417	[DEBUG]	Executed store
2023-10-13	13:43:31	4417	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29832_schwalbe_pneu_one_700x25c_noir.png',`file_url_thumb`='bcprisme/29832_schwalbe_pneu_one_700x25c_noir.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14553'
2023-10-13	13:43:31	4417	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:31	4417	[DEBUG]	Executed store
2023-10-13	13:43:31	4417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863909','14553','1')
2023-10-13	13:43:31	4417	[DEBUG]	Store product image relation
2023-10-13	13:43:31	4417	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:31	4417	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863909 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:31	4417	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:31	4417	[DEBUG]	Executed store
2023-10-13	13:43:31	4417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863909','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:31	4417	[DEBUG]	Checking manufacturer
2023-10-13	13:43:31	4417	[DEBUG]	Load a row
2023-10-13	13:43:31	4417	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:31	4417	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:31	4417	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:31	4417	[DEBUG]	Executed store
2023-10-13	13:43:31	4417	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:31	4417	[DEBUG]	Manufacturer exists
2023-10-13	13:43:31	4417	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:43:31	4417	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:31	4417	[DEBUG]	Executed store
2023-10-13	13:43:31	4417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863909','25')
2023-10-13	13:43:31	4417	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:31	4417	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:31	4417	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863909 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:31	4417	[DEBUG]	Store custom available field
2023-10-13	13:43:31	4417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863909,3,'',1)
2023-10-13	13:43:31	4417	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:31	4417	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:43:31	4417	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863909 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:31	4417	[DEBUG]	Store custom available field
2023-10-13	13:43:31	4417	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863909,6,'All',3)
2023-10-13	13:43:31	4417	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:31	4417	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:31	4417	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863908
2023-10-13	13:43:31	4417	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:31	4417	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863908\":[1863908,8,1,\"choisir la taille\"],\"1863909\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863908
2023-10-13	13:43:31	4417	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:31	4417	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863909
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:31	4418	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field taille
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:31	4418	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:31	4418	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:31	4418	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:31	4418	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:31	4418	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:31	4418	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field published
2023-10-13	13:43:31	4418	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:31	4418	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field override
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:31	4418	[DEBUG]	Use field value for field slug
2023-10-13	13:43:31	4418	[DEBUG]	Process line 4418
2023-10-13	13:43:31	4418	[DEBUG]	Load a row
2023-10-13	13:43:31	4418	[DEBUG]	Processing item: A_5355_1
2023-10-13	13:43:31	4418	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:31	4418	[DEBUG]	Processing product tax
2023-10-13	13:43:31	4418	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:31	4418	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:31	4418	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:31	4418	[DEBUG]	Query for Product
2023-10-13	13:43:31	4418	[DEBUG]	Executed store
2023-10-13	13:43:31	4418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5355_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:31	4418	[DEBUG]	Check product language entry
2023-10-13	13:43:31	4418	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863910
2023-10-13	13:43:31	4418	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:31	4418	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5355_1' AND `virtuemart_product_id` != 1863910
2023-10-13	13:43:31	4418	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:31	4418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863910, 'A_5355_1')
2023-10-13	13:43:31	4418	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:31	4418	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-durano-700x25c-noir-noir' AND `virtuemart_product_id` != 1863910
2023-10-13	13:43:31	4418	[DEBUG]	Query for ProductLang
2023-10-13	13:43:31	4418	[DEBUG]	Executed store
2023-10-13	13:43:31	4418	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.05.239',`product_name`='SCHWALBE Pneu DURANO 700X25C NOIR / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-durano-700x25c-noir-noir' WHERE `virtuemart_product_id` = '1863910'
2023-10-13	13:43:31	4418	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29833_schwalbe_pneu_durano_700x25c_noir.jpg
2023-10-13	13:43:31	4418	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:31	4418	[DEBUG]	Process image file
2023-10-13	13:43:31	4418	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:31	4418	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:31	4418	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29833_schwalbe_pneu_durano_700x25c_noir.jpg
2023-10-13	13:43:31	4418	[DEBUG]	Full name target: bcprisme/29833_schwalbe_pneu_durano_700x25c_noir.jpg
2023-10-13	13:43:32	4418	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:32	4418	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29833_schwalbe_pneu_durano_700x25c_noir.jpg'
2023-10-13	13:43:32	4418	[DEBUG]	Query for Media
2023-10-13	13:43:32	4418	[DEBUG]	Executed store
2023-10-13	13:43:32	4418	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29833_schwalbe_pneu_durano_700x25c_noir.jpg',`file_url_thumb`='bcprisme/29833_schwalbe_pneu_durano_700x25c_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14554'
2023-10-13	13:43:32	4418	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:32	4418	[DEBUG]	Executed store
2023-10-13	13:43:32	4418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863910','14554','1')
2023-10-13	13:43:32	4418	[DEBUG]	Store product image relation
2023-10-13	13:43:32	4418	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:32	4418	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863910 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:32	4418	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:32	4418	[DEBUG]	Executed store
2023-10-13	13:43:32	4418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863910','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:32	4418	[DEBUG]	Checking manufacturer
2023-10-13	13:43:32	4418	[DEBUG]	Load a row
2023-10-13	13:43:32	4418	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:32	4418	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:32	4418	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:33	4418	[DEBUG]	Executed store
2023-10-13	13:43:33	4418	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:33	4418	[DEBUG]	Manufacturer exists
2023-10-13	13:43:33	4418	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:43:33	4418	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:33	4418	[DEBUG]	Executed store
2023-10-13	13:43:33	4418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863910','25')
2023-10-13	13:43:33	4418	[DEBUG]	Find the custom field ID
2023-10-13	13:43:33	4418	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:33	4418	[DEBUG]	No custom field ID found
2023-10-13	13:43:33	4418	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:33	4418	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:43:33	4418	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863910 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:33	4418	[DEBUG]	Store custom available field
2023-10-13	13:43:33	4418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863910,3,'0',1)
2023-10-13	13:43:33	4418	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:33	4418	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:33	4418	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863910 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:33	4418	[DEBUG]	Store custom available field
2023-10-13	13:43:33	4418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863910,6,'choisir la taille',3)
2023-10-13	13:43:33	4418	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:33	4418	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:33	4418	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:33	4418	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:33	4418	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863910 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:33	4418	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:33	4418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863910,8,1)
2023-10-13	13:43:33	4418	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:33	4418	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863910\":[1863910,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863910
2023-10-13	13:43:33	4418	[DEBUG]	Checking category
2023-10-13	13:43:33	4418	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:33	4418	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863910
2023-10-13	13:43:33	4418	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:33	4418	[DEBUG]	Executed store
2023-10-13	13:43:33	4418	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863910','7413')
2023-10-13	13:43:33	4418	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:33	4418	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863910 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:33	4418	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:33	4418	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863910
2023-10-13	13:43:33	4419	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:33	4419	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:33	4419	[DEBUG]	Use field value for field taille
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:33	4419	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:33	4419	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:33	4419	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:33	4419	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:33	4419	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:33	4419	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:33	4419	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:33	4419	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:33	4419	[DEBUG]	Use field value for field published
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:33	4419	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field override
2023-10-13	13:43:33	4419	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:33	4419	[DEBUG]	Use field value for field slug
2023-10-13	13:43:33	4419	[DEBUG]	Process line 4419
2023-10-13	13:43:33	4419	[DEBUG]	Load a row
2023-10-13	13:43:33	4419	[DEBUG]	Processing item: 4026495740487
2023-10-13	13:43:33	4419	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:33	4419	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:33	4419	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5355_1'
2023-10-13	13:43:33	4419	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:33	4419	[DEBUG]	Processing product tax
2023-10-13	13:43:33	4419	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:33	4419	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:33	4419	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:33	4419	[DEBUG]	Query for Product
2023-10-13	13:43:33	4419	[DEBUG]	Executed store
2023-10-13	13:43:33	4419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863910','4026495740487','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:33	4419	[DEBUG]	No parent found
2023-10-13	13:43:33	4419	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863910 AND customfield_value = 'stockable'
2023-10-13	13:43:33	4419	[DEBUG]	Check product language entry
2023-10-13	13:43:33	4419	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863911
2023-10-13	13:43:33	4419	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:33	4419	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495740487' AND `virtuemart_product_id` != 1863911
2023-10-13	13:43:33	4419	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:33	4419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863911, '4026495740487')
2023-10-13	13:43:33	4419	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:33	4419	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-durano-700x25c-noir-noir-all' AND `virtuemart_product_id` != 1863911
2023-10-13	13:43:33	4419	[DEBUG]	Query for ProductLang
2023-10-13	13:43:33	4419	[DEBUG]	Executed store
2023-10-13	13:43:33	4419	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE Pneu DURANO 700X25C NOIR / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-durano-700x25c-noir-noir-all' WHERE `virtuemart_product_id` = '1863911'
2023-10-13	13:43:33	4419	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29833_schwalbe_pneu_durano_700x25c_noir.jpg
2023-10-13	13:43:33	4419	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:33	4419	[DEBUG]	Process image file
2023-10-13	13:43:33	4419	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:33	4419	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:33	4419	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29833_schwalbe_pneu_durano_700x25c_noir.jpg
2023-10-13	13:43:33	4419	[DEBUG]	Full name target: bcprisme/29833_schwalbe_pneu_durano_700x25c_noir.jpg
2023-10-13	13:43:34	4419	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:34	4419	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29833_schwalbe_pneu_durano_700x25c_noir.jpg'
2023-10-13	13:43:34	4419	[DEBUG]	Query for Media
2023-10-13	13:43:34	4419	[DEBUG]	Executed store
2023-10-13	13:43:34	4419	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29833_schwalbe_pneu_durano_700x25c_noir.jpg',`file_url_thumb`='bcprisme/29833_schwalbe_pneu_durano_700x25c_noir.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14554'
2023-10-13	13:43:34	4419	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:34	4419	[DEBUG]	Executed store
2023-10-13	13:43:34	4419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863911','14554','1')
2023-10-13	13:43:34	4419	[DEBUG]	Store product image relation
2023-10-13	13:43:34	4419	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:34	4419	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863911 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:34	4419	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:34	4419	[DEBUG]	Executed store
2023-10-13	13:43:34	4419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863911','0','55.6174558960074','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:34	4419	[DEBUG]	Checking manufacturer
2023-10-13	13:43:34	4419	[DEBUG]	Load a row
2023-10-13	13:43:34	4419	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:34	4419	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:34	4419	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:34	4419	[DEBUG]	Executed store
2023-10-13	13:43:34	4419	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:34	4419	[DEBUG]	Manufacturer exists
2023-10-13	13:43:34	4419	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:43:34	4419	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:34	4419	[DEBUG]	Executed store
2023-10-13	13:43:34	4419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863911','25')
2023-10-13	13:43:34	4419	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:34	4419	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:34	4419	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863911 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:34	4419	[DEBUG]	Store custom available field
2023-10-13	13:43:34	4419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863911,3,'',1)
2023-10-13	13:43:34	4419	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:34	4419	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:43:34	4419	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863911 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:34	4419	[DEBUG]	Store custom available field
2023-10-13	13:43:34	4419	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863911,6,'All',3)
2023-10-13	13:43:34	4419	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:34	4419	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:34	4419	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863910
2023-10-13	13:43:34	4419	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:34	4419	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863910\":[1863910,8,1,\"choisir la taille\"],\"1863911\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863910
2023-10-13	13:43:34	4419	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:34	4419	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863911
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:34	4420	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field taille
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:34	4420	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:34	4420	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:34	4420	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:34	4420	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:34	4420	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:34	4420	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field published
2023-10-13	13:43:34	4420	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:34	4420	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field override
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:34	4420	[DEBUG]	Use field value for field slug
2023-10-13	13:43:34	4420	[DEBUG]	Process line 4420
2023-10-13	13:43:34	4420	[DEBUG]	Load a row
2023-10-13	13:43:34	4420	[DEBUG]	Processing item: A_5470_1
2023-10-13	13:43:34	4420	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:34	4420	[DEBUG]	Processing product tax
2023-10-13	13:43:34	4420	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:34	4420	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:34	4420	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:34	4420	[DEBUG]	Query for Product
2023-10-13	13:43:34	4420	[DEBUG]	Executed store
2023-10-13	13:43:34	4420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5470_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:34	4420	[DEBUG]	Check product language entry
2023-10-13	13:43:34	4420	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863912
2023-10-13	13:43:34	4420	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:34	4420	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5470_1' AND `virtuemart_product_id` != 1863912
2023-10-13	13:43:34	4420	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:34	4420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863912, 'A_5470_1')
2023-10-13	13:43:34	4420	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:34	4420	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-x-one-allround-28x1-35-700x35c-noir' AND `virtuemart_product_id` != 1863912
2023-10-13	13:43:34	4420	[DEBUG]	Query for ProductLang
2023-10-13	13:43:34	4420	[DEBUG]	Executed store
2023-10-13	13:43:34	4420	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.494',`product_name`='Schwalbe PNEU X-ONE ALLROUND 28X1.35 700X35C / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-x-one-allround-28x1-35-700x35c-noir' WHERE `virtuemart_product_id` = '1863912'
2023-10-13	13:43:34	4420	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29957_schwalbe_x-one_allround_28x1_35_700x35c.png
2023-10-13	13:43:34	4420	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:43:34	4420	[DEBUG]	Process image file
2023-10-13	13:43:34	4420	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:43:34	4420	[DEBUG]	Mime type found: image/png
2023-10-13	13:43:34	4420	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29957_schwalbe_x-one_allround_28x1_35_700x35c.png
2023-10-13	13:43:34	4420	[DEBUG]	Full name target: bcprisme/29957_schwalbe_x-one_allround_28x1_35_700x35c.png
2023-10-13	13:43:35	4420	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:35	4420	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29957_schwalbe_x-one_allround_28x1_35_700x35c.png'
2023-10-13	13:43:35	4420	[DEBUG]	Query for Media
2023-10-13	13:43:35	4420	[DEBUG]	Executed store
2023-10-13	13:43:35	4420	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29957_schwalbe_x-one_allround_28x1_35_700x35c.png',`file_url_thumb`='bcprisme/29957_schwalbe_x-one_allround_28x1_35_700x35c.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14555'
2023-10-13	13:43:35	4420	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:35	4420	[DEBUG]	Executed store
2023-10-13	13:43:35	4420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863912','14555','1')
2023-10-13	13:43:35	4420	[DEBUG]	Store product image relation
2023-10-13	13:43:35	4420	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:35	4420	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863912 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:35	4420	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:35	4420	[DEBUG]	Executed store
2023-10-13	13:43:35	4420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863912','0','34.8189415041783','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:35	4420	[DEBUG]	Checking manufacturer
2023-10-13	13:43:35	4420	[DEBUG]	Load a row
2023-10-13	13:43:35	4420	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:35	4420	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:43:35	4420	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:35	4420	[DEBUG]	Executed store
2023-10-13	13:43:35	4420	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:43:35	4420	[DEBUG]	Manufacturer exists
2023-10-13	13:43:35	4420	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:43:35	4420	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:35	4420	[DEBUG]	Executed store
2023-10-13	13:43:35	4420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863912','77')
2023-10-13	13:43:35	4420	[DEBUG]	Find the custom field ID
2023-10-13	13:43:35	4420	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:35	4420	[DEBUG]	No custom field ID found
2023-10-13	13:43:35	4420	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:35	4420	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:43:35	4420	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863912 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:35	4420	[DEBUG]	Store custom available field
2023-10-13	13:43:35	4420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863912,3,'0',1)
2023-10-13	13:43:35	4420	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:35	4420	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:35	4420	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863912 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:35	4420	[DEBUG]	Store custom available field
2023-10-13	13:43:35	4420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863912,6,'choisir la taille',3)
2023-10-13	13:43:35	4420	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:35	4420	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:35	4420	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:35	4420	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:35	4420	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863912 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:35	4420	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:35	4420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863912,8,1)
2023-10-13	13:43:35	4420	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:35	4420	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863912\":[1863912,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863912
2023-10-13	13:43:35	4420	[DEBUG]	Checking category
2023-10-13	13:43:35	4420	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:35	4420	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863912
2023-10-13	13:43:35	4420	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:35	4420	[DEBUG]	Executed store
2023-10-13	13:43:35	4420	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863912','7413')
2023-10-13	13:43:35	4420	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:35	4420	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863912 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:35	4420	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:35	4420	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863912
2023-10-13	13:43:35	4421	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:35	4421	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:35	4421	[DEBUG]	Use field value for field taille
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:35	4421	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:35	4421	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:35	4421	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:35	4421	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:35	4421	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:35	4421	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:35	4421	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:35	4421	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:35	4421	[DEBUG]	Use field value for field published
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:35	4421	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field override
2023-10-13	13:43:35	4421	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:35	4421	[DEBUG]	Use field value for field slug
2023-10-13	13:43:35	4421	[DEBUG]	Process line 4421
2023-10-13	13:43:35	4421	[DEBUG]	Load a row
2023-10-13	13:43:35	4421	[DEBUG]	Processing item: 4026495813600
2023-10-13	13:43:35	4421	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:35	4421	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:35	4421	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5470_1'
2023-10-13	13:43:35	4421	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:35	4421	[DEBUG]	Processing product tax
2023-10-13	13:43:35	4421	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:35	4421	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:35	4421	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:35	4421	[DEBUG]	Query for Product
2023-10-13	13:43:35	4421	[DEBUG]	Executed store
2023-10-13	13:43:35	4421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863912','4026495813600','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:35	4421	[DEBUG]	No parent found
2023-10-13	13:43:35	4421	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863912 AND customfield_value = 'stockable'
2023-10-13	13:43:35	4421	[DEBUG]	Check product language entry
2023-10-13	13:43:35	4421	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863913
2023-10-13	13:43:35	4421	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:35	4421	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495813600' AND `virtuemart_product_id` != 1863913
2023-10-13	13:43:35	4421	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:35	4421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863913, '4026495813600')
2023-10-13	13:43:35	4421	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:35	4421	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-x-one-allround-28x1-35-700x35c-noir-all' AND `virtuemart_product_id` != 1863913
2023-10-13	13:43:35	4421	[DEBUG]	Query for ProductLang
2023-10-13	13:43:35	4421	[DEBUG]	Executed store
2023-10-13	13:43:35	4421	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe PNEU X-ONE ALLROUND 28X1.35 700X35C / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-x-one-allround-28x1-35-700x35c-noir-all' WHERE `virtuemart_product_id` = '1863913'
2023-10-13	13:43:35	4421	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29957_schwalbe_x-one_allround_28x1_35_700x35c.png
2023-10-13	13:43:35	4421	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:43:35	4421	[DEBUG]	Process image file
2023-10-13	13:43:35	4421	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d49484452000007d0
2023-10-13	13:43:35	4421	[DEBUG]	Mime type found: image/png
2023-10-13	13:43:35	4421	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29957_schwalbe_x-one_allround_28x1_35_700x35c.png
2023-10-13	13:43:35	4421	[DEBUG]	Full name target: bcprisme/29957_schwalbe_x-one_allround_28x1_35_700x35c.png
2023-10-13	13:43:36	4421	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:36	4421	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29957_schwalbe_x-one_allround_28x1_35_700x35c.png'
2023-10-13	13:43:36	4421	[DEBUG]	Query for Media
2023-10-13	13:43:36	4421	[DEBUG]	Executed store
2023-10-13	13:43:36	4421	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/29957_schwalbe_x-one_allround_28x1_35_700x35c.png',`file_url_thumb`='bcprisme/29957_schwalbe_x-one_allround_28x1_35_700x35c.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14555'
2023-10-13	13:43:36	4421	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:36	4421	[DEBUG]	Executed store
2023-10-13	13:43:36	4421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863913','14555','1')
2023-10-13	13:43:36	4421	[DEBUG]	Store product image relation
2023-10-13	13:43:36	4421	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:36	4421	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863913 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:36	4421	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:36	4421	[DEBUG]	Executed store
2023-10-13	13:43:36	4421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863913','0','34.8189415041783','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:36	4421	[DEBUG]	Checking manufacturer
2023-10-13	13:43:36	4421	[DEBUG]	Load a row
2023-10-13	13:43:36	4421	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:36	4421	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:43:36	4421	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:36	4421	[DEBUG]	Executed store
2023-10-13	13:43:36	4421	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:43:36	4421	[DEBUG]	Manufacturer exists
2023-10-13	13:43:36	4421	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:43:36	4421	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:36	4421	[DEBUG]	Executed store
2023-10-13	13:43:36	4421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863913','77')
2023-10-13	13:43:36	4421	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:36	4421	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:36	4421	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863913 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:36	4421	[DEBUG]	Store custom available field
2023-10-13	13:43:36	4421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863913,3,'',1)
2023-10-13	13:43:36	4421	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:36	4421	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:43:36	4421	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863913 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:36	4421	[DEBUG]	Store custom available field
2023-10-13	13:43:36	4421	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863913,6,'All',3)
2023-10-13	13:43:36	4421	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:36	4421	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:36	4421	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863912
2023-10-13	13:43:36	4421	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:36	4421	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863912\":[1863912,8,1,\"choisir la taille\"],\"1863913\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863912
2023-10-13	13:43:36	4421	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:36	4421	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863913
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:36	4422	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field taille
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:36	4422	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:36	4422	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:36	4422	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:36	4422	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:36	4422	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:36	4422	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:36	4422	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field published
2023-10-13	13:43:36	4422	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:36	4422	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field override
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:36	4422	[DEBUG]	Use field value for field slug
2023-10-13	13:43:36	4422	[DEBUG]	Process line 4422
2023-10-13	13:43:36	4422	[DEBUG]	Load a row
2023-10-13	13:43:36	4422	[DEBUG]	Processing item: A_5471_1
2023-10-13	13:43:36	4422	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:36	4422	[DEBUG]	Processing product tax
2023-10-13	13:43:36	4422	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:36	4422	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:36	4422	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:36	4422	[DEBUG]	Query for Product
2023-10-13	13:43:36	4422	[DEBUG]	Executed store
2023-10-13	13:43:36	4422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5471_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:36	4422	[DEBUG]	Check product language entry
2023-10-13	13:43:36	4422	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863914
2023-10-13	13:43:36	4422	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:36	4422	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5471_1' AND `virtuemart_product_id` != 1863914
2023-10-13	13:43:36	4422	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:36	4422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863914, 'A_5471_1')
2023-10-13	13:43:36	4422	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:36	4422	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'michelin-pneu-700x23c-pro4-endurance-ts-v2-noir' AND `virtuemart_product_id` != 1863914
2023-10-13	13:43:36	4422	[DEBUG]	Query for ProductLang
2023-10-13	13:43:36	4422	[DEBUG]	Executed store
2023-10-13	13:43:36	4422	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 192325',`product_name`='Michelin Pneu 700x23C PRO4 Endurance TS V2  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='michelin-pneu-700x23c-pro4-endurance-ts-v2-noir' WHERE `virtuemart_product_id` = '1863914'
2023-10-13	13:43:36	4422	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29958_pneu_michelin_700x23c_pro4_endurance_ts_v2_.jpg
2023-10-13	13:43:36	4422	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:36	4422	[DEBUG]	Process image file
2023-10-13	13:43:36	4422	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:36	4422	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:36	4422	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29958_pneu_michelin_700x23c_pro4_endurance_ts_v2_.jpg
2023-10-13	13:43:36	4422	[DEBUG]	Full name target: bcprisme/29958_pneu_michelin_700x23c_pro4_endurance_ts_v2_.jpg
2023-10-13	13:43:37	4422	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:37	4422	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29958_pneu_michelin_700x23c_pro4_endurance_ts_v2_.jpg'
2023-10-13	13:43:37	4422	[DEBUG]	Query for Media
2023-10-13	13:43:37	4422	[DEBUG]	Executed store
2023-10-13	13:43:37	4422	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29958_pneu_michelin_700x23c_pro4_endurance_ts_v2_.jpg',`file_url_thumb`='bcprisme/29958_pneu_michelin_700x23c_pro4_endurance_ts_v2_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382125'
2023-10-13	13:43:37	4422	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:37	4422	[DEBUG]	Executed store
2023-10-13	13:43:37	4422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863914','382125','1')
2023-10-13	13:43:37	4422	[DEBUG]	Store product image relation
2023-10-13	13:43:37	4422	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:37	4422	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863914 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:37	4422	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:37	4422	[DEBUG]	Executed store
2023-10-13	13:43:37	4422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863914','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:37	4422	[DEBUG]	Checking manufacturer
2023-10-13	13:43:37	4422	[DEBUG]	Load a row
2023-10-13	13:43:37	4422	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:37	4422	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '125'
2023-10-13	13:43:37	4422	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:37	4422	[DEBUG]	Executed store
2023-10-13	13:43:37	4422	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21817962336' WHERE `virtuemart_manufacturer_id` = '125'
2023-10-13	13:43:37	4422	[DEBUG]	Manufacturer exists
2023-10-13	13:43:37	4422	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 125
2023-10-13	13:43:37	4422	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:37	4422	[DEBUG]	Executed store
2023-10-13	13:43:37	4422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863914','125')
2023-10-13	13:43:37	4422	[DEBUG]	Find the custom field ID
2023-10-13	13:43:37	4422	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:37	4422	[DEBUG]	No custom field ID found
2023-10-13	13:43:37	4422	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:37	4422	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:43:37	4422	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863914 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:37	4422	[DEBUG]	Store custom available field
2023-10-13	13:43:37	4422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863914,3,'0',1)
2023-10-13	13:43:37	4422	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:37	4422	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:37	4422	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863914 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:37	4422	[DEBUG]	Store custom available field
2023-10-13	13:43:37	4422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863914,6,'choisir la taille',3)
2023-10-13	13:43:37	4422	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:37	4422	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:37	4422	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:37	4422	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:37	4422	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863914 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:37	4422	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:37	4422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863914,8,1)
2023-10-13	13:43:37	4422	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:37	4422	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863914\":[1863914,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863914
2023-10-13	13:43:37	4422	[DEBUG]	Checking category
2023-10-13	13:43:37	4422	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:37	4422	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863914
2023-10-13	13:43:37	4422	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:37	4422	[DEBUG]	Executed store
2023-10-13	13:43:37	4422	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863914','7413')
2023-10-13	13:43:37	4422	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:37	4422	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863914 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:37	4422	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:37	4422	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863914
2023-10-13	13:43:37	4423	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:37	4423	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:37	4423	[DEBUG]	Use field value for field taille
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:37	4423	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:37	4423	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:37	4423	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:37	4423	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:37	4423	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:37	4423	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:37	4423	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:37	4423	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:37	4423	[DEBUG]	Use field value for field published
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:37	4423	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field override
2023-10-13	13:43:37	4423	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:37	4423	[DEBUG]	Use field value for field slug
2023-10-13	13:43:37	4423	[DEBUG]	Process line 4423
2023-10-13	13:43:37	4423	[DEBUG]	Load a row
2023-10-13	13:43:37	4423	[DEBUG]	Processing item: 086699907097
2023-10-13	13:43:37	4423	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:37	4423	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:37	4423	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5471_1'
2023-10-13	13:43:37	4423	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:37	4423	[DEBUG]	Processing product tax
2023-10-13	13:43:37	4423	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:37	4423	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:37	4423	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:37	4423	[DEBUG]	Query for Product
2023-10-13	13:43:37	4423	[DEBUG]	Executed store
2023-10-13	13:43:37	4423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863914','086699907097','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:37	4423	[DEBUG]	No parent found
2023-10-13	13:43:37	4423	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863914 AND customfield_value = 'stockable'
2023-10-13	13:43:37	4423	[DEBUG]	Check product language entry
2023-10-13	13:43:37	4423	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863915
2023-10-13	13:43:37	4423	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:37	4423	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '086699907097' AND `virtuemart_product_id` != 1863915
2023-10-13	13:43:37	4423	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:37	4423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863915, '086699907097')
2023-10-13	13:43:37	4423	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:37	4423	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'michelin-pneu-700x23c-pro4-endurance-ts-v2-noir-all' AND `virtuemart_product_id` != 1863915
2023-10-13	13:43:37	4423	[DEBUG]	Query for ProductLang
2023-10-13	13:43:37	4423	[DEBUG]	Executed store
2023-10-13	13:43:37	4423	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Michelin Pneu 700x23C PRO4 Endurance TS V2  / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='michelin-pneu-700x23c-pro4-endurance-ts-v2-noir-all' WHERE `virtuemart_product_id` = '1863915'
2023-10-13	13:43:37	4423	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29958_pneu_michelin_700x23c_pro4_endurance_ts_v2_.jpg
2023-10-13	13:43:37	4423	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:37	4423	[DEBUG]	Process image file
2023-10-13	13:43:37	4423	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:37	4423	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:37	4423	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/29958_pneu_michelin_700x23c_pro4_endurance_ts_v2_.jpg
2023-10-13	13:43:37	4423	[DEBUG]	Full name target: bcprisme/29958_pneu_michelin_700x23c_pro4_endurance_ts_v2_.jpg
2023-10-13	13:43:38	4423	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:38	4423	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/29958_pneu_michelin_700x23c_pro4_endurance_ts_v2_.jpg'
2023-10-13	13:43:38	4423	[DEBUG]	Query for Media
2023-10-13	13:43:38	4423	[DEBUG]	Executed store
2023-10-13	13:43:38	4423	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/29958_pneu_michelin_700x23c_pro4_endurance_ts_v2_.jpg',`file_url_thumb`='bcprisme/29958_pneu_michelin_700x23c_pro4_endurance_ts_v2_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382125'
2023-10-13	13:43:38	4423	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:38	4423	[DEBUG]	Executed store
2023-10-13	13:43:38	4423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863915','382125','1')
2023-10-13	13:43:38	4423	[DEBUG]	Store product image relation
2023-10-13	13:43:38	4423	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:38	4423	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863915 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:38	4423	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:38	4423	[DEBUG]	Executed store
2023-10-13	13:43:38	4423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863915','0','43.5468895078923','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:38	4423	[DEBUG]	Checking manufacturer
2023-10-13	13:43:38	4423	[DEBUG]	Load a row
2023-10-13	13:43:38	4423	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:38	4423	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '125'
2023-10-13	13:43:38	4423	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:38	4423	[DEBUG]	Executed store
2023-10-13	13:43:38	4423	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2020-03-16-11-42-21817962336' WHERE `virtuemart_manufacturer_id` = '125'
2023-10-13	13:43:38	4423	[DEBUG]	Manufacturer exists
2023-10-13	13:43:38	4423	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 125
2023-10-13	13:43:38	4423	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:38	4423	[DEBUG]	Executed store
2023-10-13	13:43:38	4423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863915','125')
2023-10-13	13:43:38	4423	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:38	4423	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:38	4423	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863915 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:38	4423	[DEBUG]	Store custom available field
2023-10-13	13:43:38	4423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863915,3,'',1)
2023-10-13	13:43:38	4423	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:38	4423	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:43:38	4423	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863915 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:38	4423	[DEBUG]	Store custom available field
2023-10-13	13:43:38	4423	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863915,6,'All',3)
2023-10-13	13:43:38	4423	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:38	4423	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:38	4423	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863914
2023-10-13	13:43:38	4423	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:38	4423	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863914\":[1863914,8,1,\"choisir la taille\"],\"1863915\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863914
2023-10-13	13:43:38	4423	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:38	4423	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863915
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:38	4424	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field taille
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:38	4424	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:38	4424	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:38	4424	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:38	4424	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:38	4424	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:38	4424	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field published
2023-10-13	13:43:38	4424	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:38	4424	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field override
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:38	4424	[DEBUG]	Use field value for field slug
2023-10-13	13:43:38	4424	[DEBUG]	Process line 4424
2023-10-13	13:43:38	4424	[DEBUG]	Load a row
2023-10-13	13:43:38	4424	[DEBUG]	Processing item: A_5557_1
2023-10-13	13:43:38	4424	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:38	4424	[DEBUG]	Processing product tax
2023-10-13	13:43:38	4424	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:38	4424	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:38	4424	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:38	4424	[DEBUG]	Query for Product
2023-10-13	13:43:38	4424	[DEBUG]	Executed store
2023-10-13	13:43:38	4424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5557_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:38	4424	[DEBUG]	Check product language entry
2023-10-13	13:43:38	4424	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863916
2023-10-13	13:43:38	4424	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:38	4424	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5557_1' AND `virtuemart_product_id` != 1863916
2023-10-13	13:43:38	4424	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:38	4424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863916, 'A_5557_1')
2023-10-13	13:43:38	4424	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:38	4424	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-pneu-gavia-sl1-all-condition-tlc-700x25c-tubeless-noir' AND `virtuemart_product_id` != 1863916
2023-10-13	13:43:38	4424	[DEBUG]	Query for ProductLang
2023-10-13	13:43:38	4424	[DEBUG]	Executed store
2023-10-13	13:43:38	4424	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.05.003',`product_name`='GIANT Pneu GAVIA SL1 All Condition TLC 700x25C tubeless / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-pneu-gavia-sl1-all-condition-tlc-700x25c-tubeless-noir' WHERE `virtuemart_product_id` = '1863916'
2023-10-13	13:43:38	4424	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30057_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg
2023-10-13	13:43:38	4424	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:38	4424	[DEBUG]	Process image file
2023-10-13	13:43:38	4424	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:38	4424	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:38	4424	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30057_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg
2023-10-13	13:43:38	4424	[DEBUG]	Full name target: bcprisme/30057_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg
2023-10-13	13:43:39	4424	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:39	4424	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30057_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg'
2023-10-13	13:43:39	4424	[DEBUG]	Query for Media
2023-10-13	13:43:39	4424	[DEBUG]	Executed store
2023-10-13	13:43:39	4424	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30057_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg',`file_url_thumb`='bcprisme/30057_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14556'
2023-10-13	13:43:39	4424	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:39	4424	[DEBUG]	Executed store
2023-10-13	13:43:39	4424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863916','14556','1')
2023-10-13	13:43:39	4424	[DEBUG]	Store product image relation
2023-10-13	13:43:39	4424	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:39	4424	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863916 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:39	4424	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:39	4424	[DEBUG]	Executed store
2023-10-13	13:43:39	4424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863916','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:39	4424	[DEBUG]	Checking manufacturer
2023-10-13	13:43:39	4424	[DEBUG]	Load a row
2023-10-13	13:43:39	4424	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:39	4424	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:43:39	4424	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:39	4424	[DEBUG]	Executed store
2023-10-13	13:43:39	4424	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:43:39	4424	[DEBUG]	Manufacturer exists
2023-10-13	13:43:39	4424	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	13:43:39	4424	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:39	4424	[DEBUG]	Executed store
2023-10-13	13:43:39	4424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863916','29')
2023-10-13	13:43:39	4424	[DEBUG]	Find the custom field ID
2023-10-13	13:43:39	4424	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:39	4424	[DEBUG]	No custom field ID found
2023-10-13	13:43:39	4424	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:39	4424	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:43:39	4424	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863916 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:39	4424	[DEBUG]	Store custom available field
2023-10-13	13:43:39	4424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863916,3,'0',1)
2023-10-13	13:43:39	4424	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:39	4424	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:39	4424	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863916 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:39	4424	[DEBUG]	Store custom available field
2023-10-13	13:43:39	4424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863916,6,'choisir la taille',3)
2023-10-13	13:43:39	4424	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:39	4424	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:39	4424	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:39	4424	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:39	4424	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863916 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:39	4424	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:39	4424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863916,8,1)
2023-10-13	13:43:39	4424	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:39	4424	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863916\":[1863916,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863916
2023-10-13	13:43:39	4424	[DEBUG]	Checking category
2023-10-13	13:43:39	4424	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:39	4424	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863916
2023-10-13	13:43:39	4424	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:39	4424	[DEBUG]	Executed store
2023-10-13	13:43:39	4424	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863916','7413')
2023-10-13	13:43:39	4424	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:39	4424	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863916 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:39	4424	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:39	4424	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863916
2023-10-13	13:43:39	4425	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:39	4425	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:39	4425	[DEBUG]	Use field value for field taille
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:39	4425	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:39	4425	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:39	4425	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:39	4425	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:39	4425	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:39	4425	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:39	4425	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:39	4425	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:39	4425	[DEBUG]	Use field value for field published
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:39	4425	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field override
2023-10-13	13:43:39	4425	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:39	4425	[DEBUG]	Use field value for field slug
2023-10-13	13:43:39	4425	[DEBUG]	Process line 4425
2023-10-13	13:43:39	4425	[DEBUG]	Load a row
2023-10-13	13:43:39	4425	[DEBUG]	Processing item: 4713250834467
2023-10-13	13:43:39	4425	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:39	4425	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:39	4425	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5557_1'
2023-10-13	13:43:39	4425	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:39	4425	[DEBUG]	Processing product tax
2023-10-13	13:43:39	4425	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:39	4425	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:39	4425	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:39	4425	[DEBUG]	Query for Product
2023-10-13	13:43:39	4425	[DEBUG]	Executed store
2023-10-13	13:43:39	4425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863916','4713250834467','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:39	4425	[DEBUG]	No parent found
2023-10-13	13:43:39	4425	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863916 AND customfield_value = 'stockable'
2023-10-13	13:43:39	4425	[DEBUG]	Check product language entry
2023-10-13	13:43:39	4425	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863917
2023-10-13	13:43:39	4425	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:39	4425	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713250834467' AND `virtuemart_product_id` != 1863917
2023-10-13	13:43:39	4425	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:39	4425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863917, '4713250834467')
2023-10-13	13:43:39	4425	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:39	4425	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-pneu-gavia-sl1-all-condition-tlc-700x25c-tubeless-noir-all' AND `virtuemart_product_id` != 1863917
2023-10-13	13:43:39	4425	[DEBUG]	Query for ProductLang
2023-10-13	13:43:39	4425	[DEBUG]	Executed store
2023-10-13	13:43:39	4425	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Pneu GAVIA SL1 All Condition TLC 700x25C tubeless / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-pneu-gavia-sl1-all-condition-tlc-700x25c-tubeless-noir-all' WHERE `virtuemart_product_id` = '1863917'
2023-10-13	13:43:39	4425	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30057_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg
2023-10-13	13:43:39	4425	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:39	4425	[DEBUG]	Process image file
2023-10-13	13:43:39	4425	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:39	4425	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:39	4425	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30057_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg
2023-10-13	13:43:39	4425	[DEBUG]	Full name target: bcprisme/30057_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg
2023-10-13	13:43:40	4425	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:40	4425	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30057_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg'
2023-10-13	13:43:40	4425	[DEBUG]	Query for Media
2023-10-13	13:43:40	4425	[DEBUG]	Executed store
2023-10-13	13:43:40	4425	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30057_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg',`file_url_thumb`='bcprisme/30057_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14556'
2023-10-13	13:43:40	4425	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:40	4425	[DEBUG]	Executed store
2023-10-13	13:43:40	4425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863917','14556','1')
2023-10-13	13:43:40	4425	[DEBUG]	Store product image relation
2023-10-13	13:43:40	4425	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:40	4425	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863917 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:40	4425	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:40	4425	[DEBUG]	Executed store
2023-10-13	13:43:40	4425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863917','0','74.1875580315692','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:40	4425	[DEBUG]	Checking manufacturer
2023-10-13	13:43:40	4425	[DEBUG]	Load a row
2023-10-13	13:43:40	4425	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:40	4425	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:43:40	4425	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:40	4425	[DEBUG]	Executed store
2023-10-13	13:43:40	4425	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:43:40	4425	[DEBUG]	Manufacturer exists
2023-10-13	13:43:40	4425	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	13:43:40	4425	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:40	4425	[DEBUG]	Executed store
2023-10-13	13:43:40	4425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863917','29')
2023-10-13	13:43:40	4425	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:40	4425	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:40	4425	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863917 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:40	4425	[DEBUG]	Store custom available field
2023-10-13	13:43:40	4425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863917,3,'',1)
2023-10-13	13:43:40	4425	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:40	4425	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:43:40	4425	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863917 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:40	4425	[DEBUG]	Store custom available field
2023-10-13	13:43:40	4425	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863917,6,'All',3)
2023-10-13	13:43:40	4425	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:40	4425	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:40	4425	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863916
2023-10-13	13:43:40	4425	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:40	4425	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863916\":[1863916,8,1,\"choisir la taille\"],\"1863917\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863916
2023-10-13	13:43:40	4425	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:40	4425	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863917
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:40	4426	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field taille
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:40	4426	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:40	4426	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:40	4426	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:40	4426	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:40	4426	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:40	4426	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field published
2023-10-13	13:43:40	4426	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:40	4426	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field override
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:40	4426	[DEBUG]	Use field value for field slug
2023-10-13	13:43:40	4426	[DEBUG]	Process line 4426
2023-10-13	13:43:40	4426	[DEBUG]	Load a row
2023-10-13	13:43:40	4426	[DEBUG]	Processing item: A_5667_1
2023-10-13	13:43:40	4426	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:40	4426	[DEBUG]	Processing product tax
2023-10-13	13:43:40	4426	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:40	4426	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:40	4426	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:40	4426	[DEBUG]	Query for Product
2023-10-13	13:43:40	4426	[DEBUG]	Executed store
2023-10-13	13:43:40	4426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5667_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:40	4426	[DEBUG]	Check product language entry
2023-10-13	13:43:40	4426	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863918
2023-10-13	13:43:40	4426	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:40	4426	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5667_1' AND `virtuemart_product_id` != 1863918
2023-10-13	13:43:40	4426	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:40	4426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863918, 'A_5667_1')
2023-10-13	13:43:40	4426	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:40	4426	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-pneu-gavia-sl1-tlc-700x25c-tubeless-noir' AND `virtuemart_product_id` != 1863918
2023-10-13	13:43:40	4426	[DEBUG]	Query for ProductLang
2023-10-13	13:43:40	4426	[DEBUG]	Executed store
2023-10-13	13:43:40	4426	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.05.007',`product_name`='GIANT Pneu GAVIA SL1 TLC 700x25C Tubeless / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-pneu-gavia-sl1-tlc-700x25c-tubeless-noir' WHERE `virtuemart_product_id` = '1863918'
2023-10-13	13:43:40	4426	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30168_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg
2023-10-13	13:43:40	4426	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:40	4426	[DEBUG]	Process image file
2023-10-13	13:43:40	4426	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:40	4426	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:40	4426	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30168_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg
2023-10-13	13:43:40	4426	[DEBUG]	Full name target: bcprisme/30168_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg
2023-10-13	13:43:41	4426	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:41	4426	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30168_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg'
2023-10-13	13:43:41	4426	[DEBUG]	Query for Media
2023-10-13	13:43:41	4426	[DEBUG]	Executed store
2023-10-13	13:43:41	4426	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30168_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg',`file_url_thumb`='bcprisme/30168_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '204596'
2023-10-13	13:43:41	4426	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:41	4426	[DEBUG]	Executed store
2023-10-13	13:43:41	4426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863918','204596','1')
2023-10-13	13:43:41	4426	[DEBUG]	Store product image relation
2023-10-13	13:43:41	4426	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:41	4426	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863918 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:41	4426	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:41	4426	[DEBUG]	Executed store
2023-10-13	13:43:41	4426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863918','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:41	4426	[DEBUG]	Checking manufacturer
2023-10-13	13:43:41	4426	[DEBUG]	Load a row
2023-10-13	13:43:41	4426	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:41	4426	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:43:41	4426	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:41	4426	[DEBUG]	Executed store
2023-10-13	13:43:41	4426	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:43:41	4426	[DEBUG]	Manufacturer exists
2023-10-13	13:43:41	4426	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	13:43:41	4426	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:41	4426	[DEBUG]	Executed store
2023-10-13	13:43:41	4426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863918','29')
2023-10-13	13:43:41	4426	[DEBUG]	Find the custom field ID
2023-10-13	13:43:41	4426	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:41	4426	[DEBUG]	No custom field ID found
2023-10-13	13:43:41	4426	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:41	4426	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:43:41	4426	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863918 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:41	4426	[DEBUG]	Store custom available field
2023-10-13	13:43:41	4426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863918,3,'0',1)
2023-10-13	13:43:41	4426	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:41	4426	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:41	4426	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863918 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:41	4426	[DEBUG]	Store custom available field
2023-10-13	13:43:41	4426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863918,6,'choisir la taille',3)
2023-10-13	13:43:41	4426	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:41	4426	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:41	4426	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:41	4426	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:41	4426	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863918 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:41	4426	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:41	4426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863918,8,1)
2023-10-13	13:43:41	4426	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:41	4426	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863918\":[1863918,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863918
2023-10-13	13:43:41	4426	[DEBUG]	Checking category
2023-10-13	13:43:41	4426	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:41	4426	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863918
2023-10-13	13:43:41	4426	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:41	4426	[DEBUG]	Executed store
2023-10-13	13:43:41	4426	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863918','7413')
2023-10-13	13:43:41	4426	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:41	4426	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863918 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:41	4426	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:41	4426	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863918
2023-10-13	13:43:41	4427	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:41	4427	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:41	4427	[DEBUG]	Use field value for field taille
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:41	4427	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:41	4427	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:41	4427	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:41	4427	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:41	4427	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:41	4427	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:41	4427	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:41	4427	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:41	4427	[DEBUG]	Use field value for field published
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:41	4427	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field override
2023-10-13	13:43:41	4427	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:41	4427	[DEBUG]	Use field value for field slug
2023-10-13	13:43:41	4427	[DEBUG]	Process line 4427
2023-10-13	13:43:41	4427	[DEBUG]	Load a row
2023-10-13	13:43:41	4427	[DEBUG]	Processing item: 4713250810225
2023-10-13	13:43:41	4427	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:41	4427	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:41	4427	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5667_1'
2023-10-13	13:43:41	4427	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:41	4427	[DEBUG]	Processing product tax
2023-10-13	13:43:41	4427	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:41	4427	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:41	4427	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:41	4427	[DEBUG]	Query for Product
2023-10-13	13:43:41	4427	[DEBUG]	Executed store
2023-10-13	13:43:41	4427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863918','4713250810225','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:41	4427	[DEBUG]	No parent found
2023-10-13	13:43:41	4427	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863918 AND customfield_value = 'stockable'
2023-10-13	13:43:41	4427	[DEBUG]	Check product language entry
2023-10-13	13:43:41	4427	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863919
2023-10-13	13:43:41	4427	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:41	4427	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4713250810225' AND `virtuemart_product_id` != 1863919
2023-10-13	13:43:41	4427	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:41	4427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863919, '4713250810225')
2023-10-13	13:43:41	4427	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:41	4427	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'giant-pneu-gavia-sl1-tlc-700x25c-tubeless-noir-all' AND `virtuemart_product_id` != 1863919
2023-10-13	13:43:41	4427	[DEBUG]	Query for ProductLang
2023-10-13	13:43:41	4427	[DEBUG]	Executed store
2023-10-13	13:43:41	4427	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='GIANT Pneu GAVIA SL1 TLC 700x25C Tubeless / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='giant-pneu-gavia-sl1-tlc-700x25c-tubeless-noir-all' WHERE `virtuemart_product_id` = '1863919'
2023-10-13	13:43:41	4427	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30168_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg
2023-10-13	13:43:41	4427	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:41	4427	[DEBUG]	Process image file
2023-10-13	13:43:41	4427	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:41	4427	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:41	4427	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30168_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg
2023-10-13	13:43:41	4427	[DEBUG]	Full name target: bcprisme/30168_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg
2023-10-13	13:43:42	4427	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:42	4427	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30168_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg'
2023-10-13	13:43:42	4427	[DEBUG]	Query for Media
2023-10-13	13:43:42	4427	[DEBUG]	Executed store
2023-10-13	13:43:42	4427	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30168_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg',`file_url_thumb`='bcprisme/30168_pneu_giant_gavia_sl1_tlc_700x25c_tubeless.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '204596'
2023-10-13	13:43:42	4427	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:42	4427	[DEBUG]	Executed store
2023-10-13	13:43:42	4427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863919','204596','1')
2023-10-13	13:43:42	4427	[DEBUG]	Store product image relation
2023-10-13	13:43:42	4427	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:42	4427	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863919 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:42	4427	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:42	4427	[DEBUG]	Executed store
2023-10-13	13:43:42	4427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863919','0','64.9025069637883','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:42	4427	[DEBUG]	Checking manufacturer
2023-10-13	13:43:42	4427	[DEBUG]	Load a row
2023-10-13	13:43:42	4427	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:42	4427	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:43:42	4427	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:42	4427	[DEBUG]	Executed store
2023-10-13	13:43:42	4427	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-49-411544674910' WHERE `virtuemart_manufacturer_id` = '29'
2023-10-13	13:43:42	4427	[DEBUG]	Manufacturer exists
2023-10-13	13:43:42	4427	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 29
2023-10-13	13:43:42	4427	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:42	4427	[DEBUG]	Executed store
2023-10-13	13:43:42	4427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863919','29')
2023-10-13	13:43:42	4427	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:42	4427	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:42	4427	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863919 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:42	4427	[DEBUG]	Store custom available field
2023-10-13	13:43:42	4427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863919,3,'',1)
2023-10-13	13:43:42	4427	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:42	4427	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:43:42	4427	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863919 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:42	4427	[DEBUG]	Store custom available field
2023-10-13	13:43:42	4427	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863919,6,'All',3)
2023-10-13	13:43:42	4427	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:42	4427	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:42	4427	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863918
2023-10-13	13:43:42	4427	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:42	4427	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863918\":[1863918,8,1,\"choisir la taille\"],\"1863919\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863918
2023-10-13	13:43:42	4427	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:42	4427	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863919
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:42	4428	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field taille
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:42	4428	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:42	4428	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:42	4428	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:42	4428	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:42	4428	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:42	4428	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field published
2023-10-13	13:43:42	4428	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:42	4428	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field override
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:42	4428	[DEBUG]	Use field value for field slug
2023-10-13	13:43:42	4428	[DEBUG]	Process line 4428
2023-10-13	13:43:42	4428	[DEBUG]	Load a row
2023-10-13	13:43:42	4428	[DEBUG]	Processing item: A_5678_208
2023-10-13	13:43:42	4428	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:42	4428	[DEBUG]	Processing product tax
2023-10-13	13:43:42	4428	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:42	4428	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:42	4428	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:42	4428	[DEBUG]	Query for Product
2023-10-13	13:43:42	4428	[DEBUG]	Executed store
2023-10-13	13:43:42	4428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5678_208','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:42	4428	[DEBUG]	Check product language entry
2023-10-13	13:43:42	4428	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863920
2023-10-13	13:43:42	4428	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:42	4428	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5678_208' AND `virtuemart_product_id` != 1863920
2023-10-13	13:43:42	4428	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:42	4428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863920, 'A_5678_208')
2023-10-13	13:43:42	4428	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:42	4428	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-pneu-boyau-competition-28x25-black-continental-aucune' AND `virtuemart_product_id` != 1863920
2023-10-13	13:43:42	4428	[DEBUG]	Query for ProductLang
2023-10-13	13:43:42	4428	[DEBUG]	Executed store
2023-10-13	13:43:42	4428	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.63589',`product_name`='Continental PNEU Boyau Competition 28x25 black Continental / &#60;aucune&#62;&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-pneu-boyau-competition-28x25-black-continental-aucune' WHERE `virtuemart_product_id` = '1863920'
2023-10-13	13:43:42	4428	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30181_continental_boyau_competition_28_x25_black.jpg
2023-10-13	13:43:42	4428	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:42	4428	[DEBUG]	Process image file
2023-10-13	13:43:42	4428	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:42	4428	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:42	4428	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30181_continental_boyau_competition_28_x25_black.jpg
2023-10-13	13:43:42	4428	[DEBUG]	Full name target: bcprisme/30181_continental_boyau_competition_28_x25_black.jpg
2023-10-13	13:43:43	4428	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:43	4428	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30181_continental_boyau_competition_28_x25_black.jpg'
2023-10-13	13:43:43	4428	[DEBUG]	Query for Media
2023-10-13	13:43:43	4428	[DEBUG]	Executed store
2023-10-13	13:43:43	4428	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30181_continental_boyau_competition_28_x25_black.jpg',`file_url_thumb`='bcprisme/30181_continental_boyau_competition_28_x25_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147853'
2023-10-13	13:43:43	4428	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:43	4428	[DEBUG]	Executed store
2023-10-13	13:43:43	4428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863920','147853','1')
2023-10-13	13:43:43	4428	[DEBUG]	Store product image relation
2023-10-13	13:43:43	4428	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:43	4428	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863920 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:43	4428	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:43	4428	[DEBUG]	Executed store
2023-10-13	13:43:43	4428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863920','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:43	4428	[DEBUG]	Checking manufacturer
2023-10-13	13:43:43	4428	[DEBUG]	Load a row
2023-10-13	13:43:43	4428	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:43	4428	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:43:43	4428	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:43	4428	[DEBUG]	Executed store
2023-10-13	13:43:43	4428	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:43:43	4428	[DEBUG]	Manufacturer exists
2023-10-13	13:43:43	4428	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:43:43	4428	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:43	4428	[DEBUG]	Executed store
2023-10-13	13:43:43	4428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863920','52')
2023-10-13	13:43:43	4428	[DEBUG]	Find the custom field ID
2023-10-13	13:43:43	4428	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:43	4428	[DEBUG]	No custom field ID found
2023-10-13	13:43:43	4428	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:43	4428	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:43:43	4428	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863920 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:43	4428	[DEBUG]	Store custom available field
2023-10-13	13:43:43	4428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863920,3,'0',1)
2023-10-13	13:43:43	4428	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:43	4428	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:43	4428	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863920 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:43	4428	[DEBUG]	Store custom available field
2023-10-13	13:43:43	4428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863920,6,'choisir la taille',3)
2023-10-13	13:43:43	4428	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:43	4428	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:43	4428	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:43	4428	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:43	4428	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863920 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:43	4428	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:43	4428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863920,8,1)
2023-10-13	13:43:43	4428	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:43	4428	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863920\":[1863920,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863920
2023-10-13	13:43:43	4428	[DEBUG]	Checking category
2023-10-13	13:43:43	4428	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:43	4428	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863920
2023-10-13	13:43:43	4428	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:43	4428	[DEBUG]	Executed store
2023-10-13	13:43:43	4428	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863920','7413')
2023-10-13	13:43:43	4428	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:43	4428	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863920 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:43	4428	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:43	4428	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863920
2023-10-13	13:43:43	4429	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:43	4429	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:43	4429	[DEBUG]	Use field value for field taille
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:43	4429	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:43	4429	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:43	4429	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:43	4429	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:43	4429	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:43	4429	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:43	4429	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:43	4429	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:43	4429	[DEBUG]	Use field value for field published
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:43	4429	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field override
2023-10-13	13:43:43	4429	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:43	4429	[DEBUG]	Use field value for field slug
2023-10-13	13:43:43	4429	[DEBUG]	Process line 4429
2023-10-13	13:43:43	4429	[DEBUG]	Load a row
2023-10-13	13:43:43	4429	[DEBUG]	Processing item: 4019238549126
2023-10-13	13:43:43	4429	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:43	4429	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:43	4429	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5678_208'
2023-10-13	13:43:43	4429	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:43	4429	[DEBUG]	Processing product tax
2023-10-13	13:43:43	4429	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:43	4429	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:43	4429	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:43	4429	[DEBUG]	Query for Product
2023-10-13	13:43:43	4429	[DEBUG]	Executed store
2023-10-13	13:43:43	4429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863920','4019238549126','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:43	4429	[DEBUG]	No parent found
2023-10-13	13:43:43	4429	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863920 AND customfield_value = 'stockable'
2023-10-13	13:43:43	4429	[DEBUG]	Check product language entry
2023-10-13	13:43:43	4429	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863921
2023-10-13	13:43:43	4429	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:43	4429	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4019238549126' AND `virtuemart_product_id` != 1863921
2023-10-13	13:43:43	4429	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:43	4429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863921, '4019238549126')
2023-10-13	13:43:43	4429	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:43	4429	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'continental-pneu-boyau-competition-28x25-black-continental-aucune-all' AND `virtuemart_product_id` != 1863921
2023-10-13	13:43:43	4429	[DEBUG]	Query for ProductLang
2023-10-13	13:43:43	4429	[DEBUG]	Executed store
2023-10-13	13:43:43	4429	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Continental PNEU Boyau Competition 28x25 black Continental / &#60;aucune&#62; (All)&#34;',`metadesc`='',`metakey`='',`customtitle`='',`slug`='continental-pneu-boyau-competition-28x25-black-continental-aucune-all' WHERE `virtuemart_product_id` = '1863921'
2023-10-13	13:43:43	4429	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30181_continental_boyau_competition_28_x25_black.jpg
2023-10-13	13:43:43	4429	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:43	4429	[DEBUG]	Process image file
2023-10-13	13:43:43	4429	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:43	4429	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:43	4429	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30181_continental_boyau_competition_28_x25_black.jpg
2023-10-13	13:43:43	4429	[DEBUG]	Full name target: bcprisme/30181_continental_boyau_competition_28_x25_black.jpg
2023-10-13	13:43:44	4429	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:44	4429	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30181_continental_boyau_competition_28_x25_black.jpg'
2023-10-13	13:43:44	4429	[DEBUG]	Query for Media
2023-10-13	13:43:44	4429	[DEBUG]	Executed store
2023-10-13	13:43:44	4429	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30181_continental_boyau_competition_28_x25_black.jpg',`file_url_thumb`='bcprisme/30181_continental_boyau_competition_28_x25_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '147853'
2023-10-13	13:43:44	4429	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:44	4429	[DEBUG]	Executed store
2023-10-13	13:43:44	4429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863921','147853','1')
2023-10-13	13:43:44	4429	[DEBUG]	Store product image relation
2023-10-13	13:43:44	4429	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:44	4429	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863921 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:44	4429	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:44	4429	[DEBUG]	Executed store
2023-10-13	13:43:44	4429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863921','0','119.777158774373','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:44	4429	[DEBUG]	Checking manufacturer
2023-10-13	13:43:44	4429	[DEBUG]	Load a row
2023-10-13	13:43:44	4429	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:44	4429	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:43:44	4429	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:44	4429	[DEBUG]	Executed store
2023-10-13	13:43:44	4429	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-33769737677' WHERE `virtuemart_manufacturer_id` = '52'
2023-10-13	13:43:44	4429	[DEBUG]	Manufacturer exists
2023-10-13	13:43:44	4429	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 52
2023-10-13	13:43:44	4429	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:44	4429	[DEBUG]	Executed store
2023-10-13	13:43:44	4429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863921','52')
2023-10-13	13:43:44	4429	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:44	4429	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:44	4429	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863921 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:44	4429	[DEBUG]	Store custom available field
2023-10-13	13:43:44	4429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863921,3,'',1)
2023-10-13	13:43:44	4429	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:44	4429	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:43:44	4429	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863921 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:44	4429	[DEBUG]	Store custom available field
2023-10-13	13:43:44	4429	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863921,6,'All',3)
2023-10-13	13:43:44	4429	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:44	4429	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:44	4429	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863920
2023-10-13	13:43:44	4429	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:44	4429	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863920\":[1863920,8,1,\"choisir la taille\"],\"1863921\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863920
2023-10-13	13:43:44	4429	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:44	4429	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863921
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:44	4430	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field taille
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:44	4430	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:44	4430	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:44	4430	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:44	4430	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:44	4430	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:44	4430	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:44	4430	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field published
2023-10-13	13:43:44	4430	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:44	4430	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field override
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:44	4430	[DEBUG]	Use field value for field slug
2023-10-13	13:43:44	4430	[DEBUG]	Process line 4430
2023-10-13	13:43:44	4430	[DEBUG]	Load a row
2023-10-13	13:43:44	4430	[DEBUG]	Processing item: A_5682_1
2023-10-13	13:43:44	4430	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:44	4430	[DEBUG]	Processing product tax
2023-10-13	13:43:44	4430	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:44	4430	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:44	4430	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:44	4430	[DEBUG]	Query for Product
2023-10-13	13:43:44	4430	[DEBUG]	Executed store
2023-10-13	13:43:44	4430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5682_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:44	4430	[DEBUG]	Check product language entry
2023-10-13	13:43:44	4430	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863922
2023-10-13	13:43:44	4430	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:44	4430	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5682_1' AND `virtuemart_product_id` != 1863922
2023-10-13	13:43:44	4430	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:44	4430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863922, 'A_5682_1')
2023-10-13	13:43:44	4430	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:44	4430	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-gt-700-x-35-c-noir' AND `virtuemart_product_id` != 1863922
2023-10-13	13:43:44	4430	[DEBUG]	Query for ProductLang
2023-10-13	13:43:44	4430	[DEBUG]	Executed store
2023-10-13	13:43:44	4430	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.04.412',`product_name`='SCHWALBE PNEU marathon GT 700 x 35 C / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-gt-700-x-35-c-noir' WHERE `virtuemart_product_id` = '1863922'
2023-10-13	13:43:44	4430	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30185_pneu_schwalbe_marathon_gt_700_x_35_c.jpg
2023-10-13	13:43:44	4430	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:43:44	4430	[DEBUG]	Process image file
2023-10-13	13:43:44	4430	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:43:44	4430	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:44	4430	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30185_pneu_schwalbe_marathon_gt_700_x_35_c.jpg
2023-10-13	13:43:44	4430	[DEBUG]	Full name target: bcprisme/30185_pneu_schwalbe_marathon_gt_700_x_35_c.jpg
2023-10-13	13:43:45	4430	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:45	4430	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30185_pneu_schwalbe_marathon_gt_700_x_35_c.jpg'
2023-10-13	13:43:45	4430	[DEBUG]	Query for Media
2023-10-13	13:43:45	4430	[DEBUG]	Executed store
2023-10-13	13:43:45	4430	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30185_pneu_schwalbe_marathon_gt_700_x_35_c.jpg',`file_url_thumb`='bcprisme/30185_pneu_schwalbe_marathon_gt_700_x_35_c.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382135'
2023-10-13	13:43:45	4430	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:45	4430	[DEBUG]	Executed store
2023-10-13	13:43:45	4430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863922','382135','1')
2023-10-13	13:43:45	4430	[DEBUG]	Store product image relation
2023-10-13	13:43:45	4430	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:45	4430	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863922 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:45	4430	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:45	4430	[DEBUG]	Executed store
2023-10-13	13:43:45	4430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863922','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:45	4430	[DEBUG]	Checking manufacturer
2023-10-13	13:43:45	4430	[DEBUG]	Load a row
2023-10-13	13:43:45	4430	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:45	4430	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:45	4430	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:45	4430	[DEBUG]	Executed store
2023-10-13	13:43:45	4430	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:45	4430	[DEBUG]	Manufacturer exists
2023-10-13	13:43:45	4430	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:43:45	4430	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:45	4430	[DEBUG]	Executed store
2023-10-13	13:43:45	4430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863922','25')
2023-10-13	13:43:45	4430	[DEBUG]	Find the custom field ID
2023-10-13	13:43:45	4430	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:45	4430	[DEBUG]	No custom field ID found
2023-10-13	13:43:45	4430	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:45	4430	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:43:45	4430	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863922 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:45	4430	[DEBUG]	Store custom available field
2023-10-13	13:43:45	4430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863922,3,'0',1)
2023-10-13	13:43:45	4430	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:45	4430	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:45	4430	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863922 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:45	4430	[DEBUG]	Store custom available field
2023-10-13	13:43:45	4430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863922,6,'choisir la taille',3)
2023-10-13	13:43:45	4430	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:45	4430	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:45	4430	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:45	4430	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:45	4430	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863922 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:45	4430	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:45	4430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863922,8,1)
2023-10-13	13:43:45	4430	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:45	4430	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863922\":[1863922,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863922
2023-10-13	13:43:45	4430	[DEBUG]	Checking category
2023-10-13	13:43:45	4430	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:45	4430	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863922
2023-10-13	13:43:45	4430	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:45	4430	[DEBUG]	Executed store
2023-10-13	13:43:45	4430	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863922','7413')
2023-10-13	13:43:45	4430	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:45	4430	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863922 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:45	4430	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:45	4430	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863922
2023-10-13	13:43:45	4431	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:45	4431	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:45	4431	[DEBUG]	Use field value for field taille
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:45	4431	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:45	4431	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:45	4431	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:45	4431	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:45	4431	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:45	4431	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:45	4431	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:45	4431	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:45	4431	[DEBUG]	Use field value for field published
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:45	4431	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field override
2023-10-13	13:43:45	4431	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:45	4431	[DEBUG]	Use field value for field slug
2023-10-13	13:43:45	4431	[DEBUG]	Process line 4431
2023-10-13	13:43:45	4431	[DEBUG]	Load a row
2023-10-13	13:43:45	4431	[DEBUG]	Processing item: 4026495787703
2023-10-13	13:43:45	4431	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:45	4431	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:45	4431	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5682_1'
2023-10-13	13:43:45	4431	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:45	4431	[DEBUG]	Processing product tax
2023-10-13	13:43:45	4431	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:45	4431	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:45	4431	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:45	4431	[DEBUG]	Query for Product
2023-10-13	13:43:45	4431	[DEBUG]	Executed store
2023-10-13	13:43:45	4431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863922','4026495787703','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:45	4431	[DEBUG]	No parent found
2023-10-13	13:43:45	4431	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863922 AND customfield_value = 'stockable'
2023-10-13	13:43:45	4431	[DEBUG]	Check product language entry
2023-10-13	13:43:45	4431	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863923
2023-10-13	13:43:45	4431	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:45	4431	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495787703' AND `virtuemart_product_id` != 1863923
2023-10-13	13:43:45	4431	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:45	4431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863923, '4026495787703')
2023-10-13	13:43:45	4431	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:45	4431	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-gt-700-x-35-c-noir-unitaire' AND `virtuemart_product_id` != 1863923
2023-10-13	13:43:45	4431	[DEBUG]	Query for ProductLang
2023-10-13	13:43:45	4431	[DEBUG]	Executed store
2023-10-13	13:43:45	4431	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU marathon GT 700 x 35 C / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-gt-700-x-35-c-noir-unitaire' WHERE `virtuemart_product_id` = '1863923'
2023-10-13	13:43:45	4431	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30185_pneu_schwalbe_marathon_gt_700_x_35_c.jpg
2023-10-13	13:43:45	4431	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:43:45	4431	[DEBUG]	Process image file
2023-10-13	13:43:45	4431	[DEBUG]	Identity string: ffd8ffe000104a46494600010101006000600000
2023-10-13	13:43:45	4431	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:45	4431	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30185_pneu_schwalbe_marathon_gt_700_x_35_c.jpg
2023-10-13	13:43:45	4431	[DEBUG]	Full name target: bcprisme/30185_pneu_schwalbe_marathon_gt_700_x_35_c.jpg
2023-10-13	13:43:46	4431	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:46	4431	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30185_pneu_schwalbe_marathon_gt_700_x_35_c.jpg'
2023-10-13	13:43:46	4431	[DEBUG]	Query for Media
2023-10-13	13:43:46	4431	[DEBUG]	Executed store
2023-10-13	13:43:46	4431	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30185_pneu_schwalbe_marathon_gt_700_x_35_c.jpg',`file_url_thumb`='bcprisme/30185_pneu_schwalbe_marathon_gt_700_x_35_c.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382135'
2023-10-13	13:43:46	4431	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:46	4431	[DEBUG]	Executed store
2023-10-13	13:43:46	4431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863923','382135','1')
2023-10-13	13:43:46	4431	[DEBUG]	Store product image relation
2023-10-13	13:43:46	4431	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:46	4431	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863923 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:46	4431	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:46	4431	[DEBUG]	Executed store
2023-10-13	13:43:46	4431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863923','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:46	4431	[DEBUG]	Checking manufacturer
2023-10-13	13:43:46	4431	[DEBUG]	Load a row
2023-10-13	13:43:46	4431	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:46	4431	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:46	4431	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:46	4431	[DEBUG]	Executed store
2023-10-13	13:43:46	4431	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:46	4431	[DEBUG]	Manufacturer exists
2023-10-13	13:43:46	4431	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:43:46	4431	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:46	4431	[DEBUG]	Executed store
2023-10-13	13:43:46	4431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863923','25')
2023-10-13	13:43:46	4431	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:46	4431	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:46	4431	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863923 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:46	4431	[DEBUG]	Store custom available field
2023-10-13	13:43:46	4431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863923,3,'',1)
2023-10-13	13:43:46	4431	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:46	4431	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:43:46	4431	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863923 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:46	4431	[DEBUG]	Store custom available field
2023-10-13	13:43:46	4431	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863923,6,'Unitaire',3)
2023-10-13	13:43:46	4431	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:46	4431	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:46	4431	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863922
2023-10-13	13:43:46	4431	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:46	4431	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863922\":[1863922,8,1,\"choisir la taille\"],\"1863923\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863922
2023-10-13	13:43:46	4431	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:46	4431	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863923
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:46	4432	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field taille
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:46	4432	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:46	4432	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:46	4432	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:46	4432	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:46	4432	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:46	4432	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field published
2023-10-13	13:43:46	4432	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:46	4432	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field override
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:46	4432	[DEBUG]	Use field value for field slug
2023-10-13	13:43:46	4432	[DEBUG]	Process line 4432
2023-10-13	13:43:46	4432	[DEBUG]	Load a row
2023-10-13	13:43:46	4432	[DEBUG]	Processing item: A_5694_248
2023-10-13	13:43:46	4432	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:46	4432	[DEBUG]	Processing product tax
2023-10-13	13:43:46	4432	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:46	4432	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:46	4432	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:46	4432	[DEBUG]	Query for Product
2023-10-13	13:43:46	4432	[DEBUG]	Executed store
2023-10-13	13:43:46	4432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5694_248','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:46	4432	[DEBUG]	Check product language entry
2023-10-13	13:43:46	4432	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863924
2023-10-13	13:43:46	4432	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:46	4432	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5694_248' AND `virtuemart_product_id` != 1863924
2023-10-13	13:43:46	4432	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:46	4432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863924, 'A_5694_248')
2023-10-13	13:43:46	4432	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:46	4432	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-performance-plus-700x25-60tpi-road-shield-skinwall-noir-brun' AND `virtuemart_product_id` != 1863924
2023-10-13	13:43:46	4432	[DEBUG]	Query for ProductLang
2023-10-13	13:43:46	4432	[DEBUG]	Executed store
2023-10-13	13:43:46	4432	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='COMPUESTO 62A<br>220 g<br>Un pneumatique polyvalent et adapté à toutes les conditions. Le tout terrain de la route! La partie centrale facilite le roulement rapide tout en offrant un grip effi cace aux irrégularités de la route grâce à sa texture diamant. Les latéraux ont été pensé pour offrir un maximum de sécurité dans toutes les conditions météorologiques.<br>ROAD PERFORMANCE PLUS. Même dessin que le Road Performance mais avec la bande de protection Road Shield. Le Road Performance Plus sera votre meilleur allié pour affronter toutes les imperfections de la route et éviter les crevaisons.<br>N° art fourn : PERPL7002560KVT',`product_name`='MSC PNEU PERFORMANCE PLUS 700x25 60TPI ROAD SHIELD SKINWALL / NOIR/BRUN',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-performance-plus-700x25-60tpi-road-shield-skinwall-noir-brun' WHERE `virtuemart_product_id` = '1863924'
2023-10-13	13:43:46	4432	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30197_road_performance_plus_700_x_25_60_tpi__road_shield_skinwall.jpg
2023-10-13	13:43:46	4432	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:46	4432	[DEBUG]	Process image file
2023-10-13	13:43:46	4432	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:46	4432	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:46	4432	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30197_road_performance_plus_700_x_25_60_tpi__road_shield_skinwall.jpg
2023-10-13	13:43:46	4432	[DEBUG]	Full name target: bcprisme/30197_road_performance_plus_700_x_25_60_tpi__road_shield_skinwall.jpg
2023-10-13	13:43:47	4432	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:47	4432	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30197_road_performance_plus_700_x_25_60_tpi__road_shield_skinwall.jpg'
2023-10-13	13:43:47	4432	[DEBUG]	Query for Media
2023-10-13	13:43:47	4432	[DEBUG]	Executed store
2023-10-13	13:43:47	4432	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30197_road_performance_plus_700_x_25_60_tpi__road_shield_skinwall.jpg',`file_url_thumb`='bcprisme/30197_road_performance_plus_700_x_25_60_tpi__road_shield_skinwall.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14558'
2023-10-13	13:43:47	4432	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:47	4432	[DEBUG]	Executed store
2023-10-13	13:43:47	4432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863924','14558','1')
2023-10-13	13:43:47	4432	[DEBUG]	Store product image relation
2023-10-13	13:43:47	4432	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:47	4432	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863924 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:47	4432	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:47	4432	[DEBUG]	Executed store
2023-10-13	13:43:47	4432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863924','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:47	4432	[DEBUG]	Checking manufacturer
2023-10-13	13:43:47	4432	[DEBUG]	Load a row
2023-10-13	13:43:47	4432	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:47	4432	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:47	4432	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:47	4432	[DEBUG]	Executed store
2023-10-13	13:43:47	4432	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:47	4432	[DEBUG]	Manufacturer exists
2023-10-13	13:43:47	4432	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:43:47	4432	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:47	4432	[DEBUG]	Executed store
2023-10-13	13:43:47	4432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863924','32')
2023-10-13	13:43:47	4432	[DEBUG]	Find the custom field ID
2023-10-13	13:43:47	4432	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:47	4432	[DEBUG]	No custom field ID found
2023-10-13	13:43:47	4432	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:47	4432	[DEBUG]	Get existing row with customfield value 64.7197222222222
2023-10-13	13:43:47	4432	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863924 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:47	4432	[DEBUG]	Store custom available field
2023-10-13	13:43:47	4432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863924,3,'64.7197222222222',1)
2023-10-13	13:43:47	4432	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:47	4432	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:47	4432	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863924 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:47	4432	[DEBUG]	Store custom available field
2023-10-13	13:43:47	4432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863924,6,'choisir la taille',3)
2023-10-13	13:43:47	4432	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:47	4432	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:47	4432	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:47	4432	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:47	4432	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863924 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:47	4432	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:47	4432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863924,8,1)
2023-10-13	13:43:47	4432	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:47	4432	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863924\":[1863924,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863924
2023-10-13	13:43:47	4432	[DEBUG]	Checking category
2023-10-13	13:43:47	4432	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:47	4432	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863924
2023-10-13	13:43:47	4432	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:47	4432	[DEBUG]	Executed store
2023-10-13	13:43:47	4432	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863924','7413')
2023-10-13	13:43:47	4432	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:47	4432	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863924 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:47	4432	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:47	4432	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863924
2023-10-13	13:43:47	4433	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:47	4433	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:47	4433	[DEBUG]	Use field value for field taille
2023-10-13	13:43:47	4433	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:47	4433	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:47	4433	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:47	4433	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:47	4433	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:47	4433	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:47	4433	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:47	4433	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:47	4433	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:47	4433	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:47	4433	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:47	4433	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:47	4433	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:47	4433	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:47	4433	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:47	4433	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:47	4433	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:47	4433	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:47	4433	[DEBUG]	Use field value for field published
2023-10-13	13:43:47	4433	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:47	4433	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:47	4433	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:47	4433	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:47	4433	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:48	4433	[DEBUG]	Use default value for field override
2023-10-13	13:43:48	4433	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:48	4433	[DEBUG]	Use field value for field slug
2023-10-13	13:43:48	4433	[DEBUG]	Process line 4433
2023-10-13	13:43:48	4433	[DEBUG]	Load a row
2023-10-13	13:43:48	4433	[DEBUG]	Processing item: 8435466215958
2023-10-13	13:43:48	4433	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:48	4433	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:48	4433	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5694_248'
2023-10-13	13:43:48	4433	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:48	4433	[DEBUG]	Processing product tax
2023-10-13	13:43:48	4433	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:48	4433	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:48	4433	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:48	4433	[DEBUG]	Query for Product
2023-10-13	13:43:48	4433	[DEBUG]	Executed store
2023-10-13	13:43:48	4433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863924','8435466215958','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:48	4433	[DEBUG]	No parent found
2023-10-13	13:43:48	4433	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863924 AND customfield_value = 'stockable'
2023-10-13	13:43:48	4433	[DEBUG]	Check product language entry
2023-10-13	13:43:48	4433	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863925
2023-10-13	13:43:48	4433	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:48	4433	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215958' AND `virtuemart_product_id` != 1863925
2023-10-13	13:43:48	4433	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:48	4433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863925, '8435466215958')
2023-10-13	13:43:48	4433	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:48	4433	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-performance-plus-700x25-60tpi-road-shield-skinwall-noir-brun-unitaire' AND `virtuemart_product_id` != 1863925
2023-10-13	13:43:48	4433	[DEBUG]	Query for ProductLang
2023-10-13	13:43:48	4433	[DEBUG]	Executed store
2023-10-13	13:43:48	4433	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU PERFORMANCE PLUS 700x25 60TPI ROAD SHIELD SKINWALL / NOIR/BRUN (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-performance-plus-700x25-60tpi-road-shield-skinwall-noir-brun-unitaire' WHERE `virtuemart_product_id` = '1863925'
2023-10-13	13:43:48	4433	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30197_road_performance_plus_700_x_25_60_tpi__road_shield_skinwall.jpg
2023-10-13	13:43:48	4433	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:48	4433	[DEBUG]	Process image file
2023-10-13	13:43:48	4433	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:48	4433	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:48	4433	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30197_road_performance_plus_700_x_25_60_tpi__road_shield_skinwall.jpg
2023-10-13	13:43:48	4433	[DEBUG]	Full name target: bcprisme/30197_road_performance_plus_700_x_25_60_tpi__road_shield_skinwall.jpg
2023-10-13	13:43:48	4433	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:48	4433	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30197_road_performance_plus_700_x_25_60_tpi__road_shield_skinwall.jpg'
2023-10-13	13:43:48	4433	[DEBUG]	Query for Media
2023-10-13	13:43:48	4433	[DEBUG]	Executed store
2023-10-13	13:43:48	4433	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/30197_road_performance_plus_700_x_25_60_tpi__road_shield_skinwall.jpg',`file_url_thumb`='bcprisme/30197_road_performance_plus_700_x_25_60_tpi__road_shield_skinwall.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14558'
2023-10-13	13:43:48	4433	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:48	4433	[DEBUG]	Executed store
2023-10-13	13:43:48	4433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863925','14558','1')
2023-10-13	13:43:48	4433	[DEBUG]	Store product image relation
2023-10-13	13:43:48	4433	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:48	4433	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863925 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:48	4433	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:48	4433	[DEBUG]	Executed store
2023-10-13	13:43:48	4433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863925','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:48	4433	[DEBUG]	Checking manufacturer
2023-10-13	13:43:48	4433	[DEBUG]	Load a row
2023-10-13	13:43:48	4433	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:48	4433	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:48	4433	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:48	4433	[DEBUG]	Executed store
2023-10-13	13:43:48	4433	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:43:48	4433	[DEBUG]	Manufacturer exists
2023-10-13	13:43:48	4433	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:43:48	4433	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:48	4433	[DEBUG]	Executed store
2023-10-13	13:43:48	4433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863925','32')
2023-10-13	13:43:48	4433	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:48	4433	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:48	4433	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863925 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:48	4433	[DEBUG]	Store custom available field
2023-10-13	13:43:48	4433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863925,3,'',1)
2023-10-13	13:43:48	4433	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:48	4433	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:43:48	4433	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863925 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:48	4433	[DEBUG]	Store custom available field
2023-10-13	13:43:48	4433	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863925,6,'Unitaire',3)
2023-10-13	13:43:49	4433	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:49	4433	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:49	4433	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863924
2023-10-13	13:43:49	4433	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:49	4433	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863924\":[1863924,8,1,\"choisir la taille\"],\"1863925\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863924
2023-10-13	13:43:49	4433	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:49	4433	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863925
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:49	4434	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field taille
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:49	4434	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:49	4434	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:49	4434	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:49	4434	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:49	4434	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:49	4434	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field published
2023-10-13	13:43:49	4434	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:49	4434	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field override
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:49	4434	[DEBUG]	Use field value for field slug
2023-10-13	13:43:49	4434	[DEBUG]	Process line 4434
2023-10-13	13:43:49	4434	[DEBUG]	Load a row
2023-10-13	13:43:49	4434	[DEBUG]	Processing item: A_5696_1
2023-10-13	13:43:49	4434	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:49	4434	[DEBUG]	Processing product tax
2023-10-13	13:43:49	4434	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:49	4434	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:49	4434	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:49	4434	[DEBUG]	Query for Product
2023-10-13	13:43:49	4434	[DEBUG]	Executed store
2023-10-13	13:43:49	4434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5696_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:49	4434	[DEBUG]	Check product language entry
2023-10-13	13:43:49	4434	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863926
2023-10-13	13:43:49	4434	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:49	4434	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5696_1' AND `virtuemart_product_id` != 1863926
2023-10-13	13:43:49	4434	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:49	4434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863926, 'A_5696_1')
2023-10-13	13:43:49	4434	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:49	4434	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-greenguard-700-x-38-c-noir' AND `virtuemart_product_id` != 1863926
2023-10-13	13:43:49	4434	[DEBUG]	Query for ProductLang
2023-10-13	13:43:49	4434	[DEBUG]	Executed store
2023-10-13	13:43:49	4434	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.03.729',`product_name`='SCHWALBE PNEU Marathon GreenGuard 700 x 38 c / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-greenguard-700-x-38-c-noir' WHERE `virtuemart_product_id` = '1863926'
2023-10-13	13:43:49	4434	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30200_schwalbe_marathon_greenguard_700_x_38_c.png
2023-10-13	13:43:49	4434	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:49	4434	[DEBUG]	Process image file
2023-10-13	13:43:49	4434	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:49	4434	[DEBUG]	Mime type found: image/png
2023-10-13	13:43:49	4434	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30200_schwalbe_marathon_greenguard_700_x_38_c.png
2023-10-13	13:43:49	4434	[DEBUG]	Full name target: bcprisme/30200_schwalbe_marathon_greenguard_700_x_38_c.png
2023-10-13	13:43:50	4434	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:50	4434	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30200_schwalbe_marathon_greenguard_700_x_38_c.png'
2023-10-13	13:43:50	4434	[DEBUG]	Query for Media
2023-10-13	13:43:50	4434	[DEBUG]	Executed store
2023-10-13	13:43:50	4434	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/30200_schwalbe_marathon_greenguard_700_x_38_c.png',`file_url_thumb`='bcprisme/30200_schwalbe_marathon_greenguard_700_x_38_c.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14559'
2023-10-13	13:43:50	4434	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:50	4434	[DEBUG]	Executed store
2023-10-13	13:43:50	4434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863926','14559','1')
2023-10-13	13:43:50	4434	[DEBUG]	Store product image relation
2023-10-13	13:43:50	4434	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:50	4434	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863926 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:50	4434	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:50	4434	[DEBUG]	Executed store
2023-10-13	13:43:50	4434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863926','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:50	4434	[DEBUG]	Checking manufacturer
2023-10-13	13:43:50	4434	[DEBUG]	Load a row
2023-10-13	13:43:50	4434	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:50	4434	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:50	4434	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:50	4434	[DEBUG]	Executed store
2023-10-13	13:43:50	4434	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:50	4434	[DEBUG]	Manufacturer exists
2023-10-13	13:43:50	4434	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:43:50	4434	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:50	4434	[DEBUG]	Executed store
2023-10-13	13:43:50	4434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863926','25')
2023-10-13	13:43:50	4434	[DEBUG]	Find the custom field ID
2023-10-13	13:43:50	4434	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:50	4434	[DEBUG]	No custom field ID found
2023-10-13	13:43:50	4434	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:50	4434	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:43:50	4434	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863926 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:50	4434	[DEBUG]	Store custom available field
2023-10-13	13:43:50	4434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863926,3,'39.7891666666667',1)
2023-10-13	13:43:50	4434	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:50	4434	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:50	4434	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863926 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:50	4434	[DEBUG]	Store custom available field
2023-10-13	13:43:50	4434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863926,6,'choisir la taille',3)
2023-10-13	13:43:50	4434	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:50	4434	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:50	4434	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:50	4434	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:50	4434	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863926 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:50	4434	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:50	4434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863926,8,1)
2023-10-13	13:43:50	4434	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:50	4434	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863926\":[1863926,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863926
2023-10-13	13:43:50	4434	[DEBUG]	Checking category
2023-10-13	13:43:50	4434	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:50	4434	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863926
2023-10-13	13:43:50	4434	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:50	4434	[DEBUG]	Executed store
2023-10-13	13:43:50	4434	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863926','7413')
2023-10-13	13:43:50	4434	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:50	4434	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863926 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:50	4434	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:50	4434	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863926
2023-10-13	13:43:50	4435	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:50	4435	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:50	4435	[DEBUG]	Use field value for field taille
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:50	4435	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:50	4435	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:50	4435	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:50	4435	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:50	4435	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:50	4435	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:50	4435	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:50	4435	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:50	4435	[DEBUG]	Use field value for field published
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:50	4435	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field override
2023-10-13	13:43:50	4435	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:50	4435	[DEBUG]	Use field value for field slug
2023-10-13	13:43:50	4435	[DEBUG]	Process line 4435
2023-10-13	13:43:50	4435	[DEBUG]	Load a row
2023-10-13	13:43:50	4435	[DEBUG]	Processing item: 4026495627931
2023-10-13	13:43:50	4435	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:50	4435	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:50	4435	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5696_1'
2023-10-13	13:43:50	4435	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:50	4435	[DEBUG]	Processing product tax
2023-10-13	13:43:50	4435	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:50	4435	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:50	4435	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:50	4435	[DEBUG]	Query for Product
2023-10-13	13:43:50	4435	[DEBUG]	Executed store
2023-10-13	13:43:50	4435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863926','4026495627931','0','KG','M','','1','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:50	4435	[DEBUG]	No parent found
2023-10-13	13:43:50	4435	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863926 AND customfield_value = 'stockable'
2023-10-13	13:43:50	4435	[DEBUG]	Check product language entry
2023-10-13	13:43:50	4435	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863927
2023-10-13	13:43:50	4435	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:50	4435	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495627931' AND `virtuemart_product_id` != 1863927
2023-10-13	13:43:50	4435	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:50	4435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863927, '4026495627931')
2023-10-13	13:43:50	4435	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:50	4435	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-greenguard-700-x-38-c-noir-unitaire' AND `virtuemart_product_id` != 1863927
2023-10-13	13:43:50	4435	[DEBUG]	Query for ProductLang
2023-10-13	13:43:50	4435	[DEBUG]	Executed store
2023-10-13	13:43:50	4435	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU Marathon GreenGuard 700 x 38 c / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-greenguard-700-x-38-c-noir-unitaire' WHERE `virtuemart_product_id` = '1863927'
2023-10-13	13:43:50	4435	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30200_schwalbe_marathon_greenguard_700_x_38_c.png
2023-10-13	13:43:50	4435	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:50	4435	[DEBUG]	Process image file
2023-10-13	13:43:50	4435	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:50	4435	[DEBUG]	Mime type found: image/png
2023-10-13	13:43:50	4435	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30200_schwalbe_marathon_greenguard_700_x_38_c.png
2023-10-13	13:43:50	4435	[DEBUG]	Full name target: bcprisme/30200_schwalbe_marathon_greenguard_700_x_38_c.png
2023-10-13	13:43:51	4435	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:51	4435	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30200_schwalbe_marathon_greenguard_700_x_38_c.png'
2023-10-13	13:43:51	4435	[DEBUG]	Query for Media
2023-10-13	13:43:51	4435	[DEBUG]	Executed store
2023-10-13	13:43:51	4435	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/30200_schwalbe_marathon_greenguard_700_x_38_c.png',`file_url_thumb`='bcprisme/30200_schwalbe_marathon_greenguard_700_x_38_c.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14559'
2023-10-13	13:43:51	4435	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:51	4435	[DEBUG]	Executed store
2023-10-13	13:43:51	4435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863927','14559','1')
2023-10-13	13:43:51	4435	[DEBUG]	Store product image relation
2023-10-13	13:43:51	4435	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:51	4435	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863927 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:51	4435	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:51	4435	[DEBUG]	Executed store
2023-10-13	13:43:51	4435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863927','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:51	4435	[DEBUG]	Checking manufacturer
2023-10-13	13:43:51	4435	[DEBUG]	Load a row
2023-10-13	13:43:51	4435	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:51	4435	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:51	4435	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:51	4435	[DEBUG]	Executed store
2023-10-13	13:43:51	4435	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:51	4435	[DEBUG]	Manufacturer exists
2023-10-13	13:43:51	4435	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:43:51	4435	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:51	4435	[DEBUG]	Executed store
2023-10-13	13:43:51	4435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863927','25')
2023-10-13	13:43:51	4435	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:51	4435	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:51	4435	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863927 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:51	4435	[DEBUG]	Store custom available field
2023-10-13	13:43:51	4435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863927,3,'',1)
2023-10-13	13:43:51	4435	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:51	4435	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:43:51	4435	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863927 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:51	4435	[DEBUG]	Store custom available field
2023-10-13	13:43:51	4435	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863927,6,'Unitaire',3)
2023-10-13	13:43:51	4435	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:51	4435	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:51	4435	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863926
2023-10-13	13:43:51	4435	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:51	4435	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863926\":[1863926,8,1,\"choisir la taille\"],\"1863927\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863926
2023-10-13	13:43:51	4435	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:51	4435	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863927
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:51	4436	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field taille
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:51	4436	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:51	4436	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:51	4436	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:51	4436	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:51	4436	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:51	4436	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field published
2023-10-13	13:43:51	4436	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:51	4436	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field override
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:51	4436	[DEBUG]	Use field value for field slug
2023-10-13	13:43:51	4436	[DEBUG]	Process line 4436
2023-10-13	13:43:51	4436	[DEBUG]	Load a row
2023-10-13	13:43:51	4436	[DEBUG]	Processing item: A_5697_1
2023-10-13	13:43:51	4436	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:51	4436	[DEBUG]	Processing product tax
2023-10-13	13:43:51	4436	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:51	4436	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:51	4436	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:51	4436	[DEBUG]	Query for Product
2023-10-13	13:43:51	4436	[DEBUG]	Executed store
2023-10-13	13:43:51	4436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5697_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:51	4436	[DEBUG]	Check product language entry
2023-10-13	13:43:51	4436	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863928
2023-10-13	13:43:51	4436	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:51	4436	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5697_1' AND `virtuemart_product_id` != 1863928
2023-10-13	13:43:51	4436	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:51	4436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863928, 'A_5697_1')
2023-10-13	13:43:51	4436	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:51	4436	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-greenguard-700-x-35-c-noir' AND `virtuemart_product_id` != 1863928
2023-10-13	13:43:51	4436	[DEBUG]	Query for ProductLang
2023-10-13	13:43:51	4436	[DEBUG]	Executed store
2023-10-13	13:43:51	4436	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 10.55.03.373',`product_name`='SCHWALBE PNEU Marathon GreenGuard 700 x 35 C / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-greenguard-700-x-35-c-noir' WHERE `virtuemart_product_id` = '1863928'
2023-10-13	13:43:51	4436	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30201_schwalbe_marathon_greenguard_700_x_35_c.png
2023-10-13	13:43:51	4436	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:51	4436	[DEBUG]	Process image file
2023-10-13	13:43:51	4436	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:51	4436	[DEBUG]	Mime type found: image/png
2023-10-13	13:43:51	4436	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30201_schwalbe_marathon_greenguard_700_x_35_c.png
2023-10-13	13:43:51	4436	[DEBUG]	Full name target: bcprisme/30201_schwalbe_marathon_greenguard_700_x_35_c.png
2023-10-13	13:43:52	4436	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:52	4436	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30201_schwalbe_marathon_greenguard_700_x_35_c.png'
2023-10-13	13:43:52	4436	[DEBUG]	Query for Media
2023-10-13	13:43:52	4436	[DEBUG]	Executed store
2023-10-13	13:43:52	4436	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/30201_schwalbe_marathon_greenguard_700_x_35_c.png',`file_url_thumb`='bcprisme/30201_schwalbe_marathon_greenguard_700_x_35_c.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14560'
2023-10-13	13:43:52	4436	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:52	4436	[DEBUG]	Executed store
2023-10-13	13:43:52	4436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863928','14560','1')
2023-10-13	13:43:52	4436	[DEBUG]	Store product image relation
2023-10-13	13:43:52	4436	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:52	4436	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863928 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:52	4436	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:52	4436	[DEBUG]	Executed store
2023-10-13	13:43:52	4436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863928','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:52	4436	[DEBUG]	Checking manufacturer
2023-10-13	13:43:52	4436	[DEBUG]	Load a row
2023-10-13	13:43:52	4436	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:52	4436	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:52	4436	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:52	4436	[DEBUG]	Executed store
2023-10-13	13:43:52	4436	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:52	4436	[DEBUG]	Manufacturer exists
2023-10-13	13:43:52	4436	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:43:52	4436	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:52	4436	[DEBUG]	Executed store
2023-10-13	13:43:52	4436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863928','25')
2023-10-13	13:43:52	4436	[DEBUG]	Find the custom field ID
2023-10-13	13:43:52	4436	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:52	4436	[DEBUG]	No custom field ID found
2023-10-13	13:43:52	4436	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:52	4436	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:43:52	4436	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863928 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:52	4436	[DEBUG]	Store custom available field
2023-10-13	13:43:52	4436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863928,3,'39.7891666666667',1)
2023-10-13	13:43:52	4436	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:52	4436	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:52	4436	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863928 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:52	4436	[DEBUG]	Store custom available field
2023-10-13	13:43:52	4436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863928,6,'choisir la taille',3)
2023-10-13	13:43:52	4436	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:52	4436	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:52	4436	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:52	4436	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:52	4436	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863928 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:52	4436	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:52	4436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863928,8,1)
2023-10-13	13:43:52	4436	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:52	4436	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863928\":[1863928,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863928
2023-10-13	13:43:52	4436	[DEBUG]	Checking category
2023-10-13	13:43:52	4436	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:52	4436	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863928
2023-10-13	13:43:52	4436	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:52	4436	[DEBUG]	Executed store
2023-10-13	13:43:52	4436	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863928','7413')
2023-10-13	13:43:52	4436	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:52	4436	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863928 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:52	4436	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:52	4436	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863928
2023-10-13	13:43:52	4437	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:52	4437	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:52	4437	[DEBUG]	Use field value for field taille
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:52	4437	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:52	4437	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:52	4437	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:52	4437	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:52	4437	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:52	4437	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:52	4437	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:52	4437	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:52	4437	[DEBUG]	Use field value for field published
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:52	4437	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field override
2023-10-13	13:43:52	4437	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:52	4437	[DEBUG]	Use field value for field slug
2023-10-13	13:43:52	4437	[DEBUG]	Process line 4437
2023-10-13	13:43:52	4437	[DEBUG]	Load a row
2023-10-13	13:43:52	4437	[DEBUG]	Processing item: 4026495627917
2023-10-13	13:43:52	4437	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:52	4437	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:52	4437	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5697_1'
2023-10-13	13:43:52	4437	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:52	4437	[DEBUG]	Processing product tax
2023-10-13	13:43:52	4437	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:52	4437	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:52	4437	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:52	4437	[DEBUG]	Query for Product
2023-10-13	13:43:52	4437	[DEBUG]	Executed store
2023-10-13	13:43:52	4437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863928','4026495627917','0','KG','M','','3','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:52	4437	[DEBUG]	No parent found
2023-10-13	13:43:52	4437	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863928 AND customfield_value = 'stockable'
2023-10-13	13:43:52	4437	[DEBUG]	Check product language entry
2023-10-13	13:43:52	4437	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863929
2023-10-13	13:43:52	4437	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:52	4437	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495627917' AND `virtuemart_product_id` != 1863929
2023-10-13	13:43:52	4437	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:52	4437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863929, '4026495627917')
2023-10-13	13:43:52	4437	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:52	4437	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-greenguard-700-x-35-c-noir-unitaire' AND `virtuemart_product_id` != 1863929
2023-10-13	13:43:52	4437	[DEBUG]	Query for ProductLang
2023-10-13	13:43:52	4437	[DEBUG]	Executed store
2023-10-13	13:43:52	4437	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='SCHWALBE PNEU Marathon GreenGuard 700 x 35 C / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-greenguard-700-x-35-c-noir-unitaire' WHERE `virtuemart_product_id` = '1863929'
2023-10-13	13:43:52	4437	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30201_schwalbe_marathon_greenguard_700_x_35_c.png
2023-10-13	13:43:52	4437	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:52	4437	[DEBUG]	Process image file
2023-10-13	13:43:52	4437	[DEBUG]	Identity string: 89504e470d0a1a0a0000000d4948445200000500
2023-10-13	13:43:52	4437	[DEBUG]	Mime type found: image/png
2023-10-13	13:43:52	4437	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/30201_schwalbe_marathon_greenguard_700_x_35_c.png
2023-10-13	13:43:52	4437	[DEBUG]	Full name target: bcprisme/30201_schwalbe_marathon_greenguard_700_x_35_c.png
2023-10-13	13:43:53	4437	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:53	4437	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/30201_schwalbe_marathon_greenguard_700_x_35_c.png'
2023-10-13	13:43:53	4437	[DEBUG]	Query for Media
2023-10-13	13:43:53	4437	[DEBUG]	Executed store
2023-10-13	13:43:53	4437	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/png',`file_type`='product',`file_url`='bcprisme/30201_schwalbe_marathon_greenguard_700_x_35_c.png',`file_url_thumb`='bcprisme/30201_schwalbe_marathon_greenguard_700_x_35_c.png',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14560'
2023-10-13	13:43:53	4437	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:53	4437	[DEBUG]	Executed store
2023-10-13	13:43:53	4437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863929','14560','1')
2023-10-13	13:43:53	4437	[DEBUG]	Store product image relation
2023-10-13	13:43:53	4437	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:53	4437	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863929 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:53	4437	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:53	4437	[DEBUG]	Executed store
2023-10-13	13:43:53	4437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863929','0','39.8328690807799','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:53	4437	[DEBUG]	Checking manufacturer
2023-10-13	13:43:53	4437	[DEBUG]	Load a row
2023-10-13	13:43:53	4437	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:53	4437	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:53	4437	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:53	4437	[DEBUG]	Executed store
2023-10-13	13:43:53	4437	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-331167146638' WHERE `virtuemart_manufacturer_id` = '25'
2023-10-13	13:43:53	4437	[DEBUG]	Manufacturer exists
2023-10-13	13:43:53	4437	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 25
2023-10-13	13:43:53	4437	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:53	4437	[DEBUG]	Executed store
2023-10-13	13:43:53	4437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863929','25')
2023-10-13	13:43:53	4437	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:53	4437	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:53	4437	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863929 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:53	4437	[DEBUG]	Store custom available field
2023-10-13	13:43:53	4437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863929,3,'',1)
2023-10-13	13:43:53	4437	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:53	4437	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:43:53	4437	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863929 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:53	4437	[DEBUG]	Store custom available field
2023-10-13	13:43:53	4437	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863929,6,'Unitaire',3)
2023-10-13	13:43:53	4437	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:53	4437	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:53	4437	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863928
2023-10-13	13:43:53	4437	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:53	4437	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863928\":[1863928,8,1,\"choisir la taille\"],\"1863929\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863928
2023-10-13	13:43:53	4437	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:53	4437	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863929
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:53	4438	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field taille
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:53	4438	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:53	4438	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:53	4438	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:53	4438	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:53	4438	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:53	4438	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field published
2023-10-13	13:43:53	4438	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:53	4438	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field override
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:53	4438	[DEBUG]	Use field value for field slug
2023-10-13	13:43:53	4438	[DEBUG]	Process line 4438
2023-10-13	13:43:53	4438	[DEBUG]	Load a row
2023-10-13	13:43:53	4438	[DEBUG]	Processing item: A_5948_1
2023-10-13	13:43:53	4438	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:53	4438	[DEBUG]	Processing product tax
2023-10-13	13:43:53	4438	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:53	4438	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:53	4438	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:53	4438	[DEBUG]	Query for Product
2023-10-13	13:43:53	4438	[DEBUG]	Executed store
2023-10-13	13:43:53	4438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_5948_1','1','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:53	4438	[DEBUG]	Check product language entry
2023-10-13	13:43:53	4438	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863930
2023-10-13	13:43:53	4438	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:53	4438	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_5948_1' AND `virtuemart_product_id` != 1863930
2023-10-13	13:43:53	4438	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:53	4438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863930, 'A_5948_1')
2023-10-13	13:43:53	4438	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:53	4438	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-pneu-terreno-dry-700-x-38-c-tr-40-622-noir' AND `virtuemart_product_id` != 1863930
2023-10-13	13:43:53	4438	[DEBUG]	Query for ProductLang
2023-10-13	13:43:53	4438	[DEBUG]	Executed store
2023-10-13	13:43:53	4438	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.74915',`product_name`='VITTORIA Pneu Terreno Dry 700 x 38 C TR 40-622 / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-pneu-terreno-dry-700-x-38-c-tr-40-622-noir' WHERE `virtuemart_product_id` = '1863930'
2023-10-13	13:43:53	4438	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31547_pneus_vittoria_terreno_mix_700_x_38_c.jpg
2023-10-13	13:43:53	4438	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:53	4438	[DEBUG]	Process image file
2023-10-13	13:43:53	4438	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:53	4438	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:53	4438	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31547_pneus_vittoria_terreno_mix_700_x_38_c.jpg
2023-10-13	13:43:53	4438	[DEBUG]	Full name target: bcprisme/31547_pneus_vittoria_terreno_mix_700_x_38_c.jpg
2023-10-13	13:43:54	4438	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:54	4438	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31547_pneus_vittoria_terreno_mix_700_x_38_c.jpg'
2023-10-13	13:43:54	4438	[DEBUG]	Query for Media
2023-10-13	13:43:54	4438	[DEBUG]	Executed store
2023-10-13	13:43:54	4438	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31547_pneus_vittoria_terreno_mix_700_x_38_c.jpg',`file_url_thumb`='bcprisme/31547_pneus_vittoria_terreno_mix_700_x_38_c.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14539'
2023-10-13	13:43:54	4438	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:54	4438	[DEBUG]	Executed store
2023-10-13	13:43:54	4438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863930','14539','1')
2023-10-13	13:43:54	4438	[DEBUG]	Store product image relation
2023-10-13	13:43:54	4438	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:54	4438	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863930 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:54	4438	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:54	4438	[DEBUG]	Executed store
2023-10-13	13:43:54	4438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863930','0','54.7818012999071','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:54	4438	[DEBUG]	Checking manufacturer
2023-10-13	13:43:54	4438	[DEBUG]	Load a row
2023-10-13	13:43:54	4438	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:54	4438	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:43:54	4438	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:54	4438	[DEBUG]	Executed store
2023-10-13	13:43:54	4438	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:43:54	4438	[DEBUG]	Manufacturer exists
2023-10-13	13:43:54	4438	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:43:54	4438	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:54	4438	[DEBUG]	Executed store
2023-10-13	13:43:54	4438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863930','42')
2023-10-13	13:43:54	4438	[DEBUG]	Find the custom field ID
2023-10-13	13:43:54	4438	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:54	4438	[DEBUG]	No custom field ID found
2023-10-13	13:43:54	4438	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:54	4438	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:43:54	4438	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863930 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:54	4438	[DEBUG]	Store custom available field
2023-10-13	13:43:54	4438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863930,3,'0',1)
2023-10-13	13:43:54	4438	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:54	4438	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:54	4438	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863930 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:54	4438	[DEBUG]	Store custom available field
2023-10-13	13:43:54	4438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863930,6,'choisir la taille',3)
2023-10-13	13:43:54	4438	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:54	4438	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:54	4438	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:54	4438	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:54	4438	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863930 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:54	4438	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:54	4438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863930,8,1)
2023-10-13	13:43:54	4438	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:54	4438	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863930\":[1863930,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863930
2023-10-13	13:43:54	4438	[DEBUG]	Checking category
2023-10-13	13:43:54	4438	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:54	4438	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863930
2023-10-13	13:43:54	4438	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:54	4438	[DEBUG]	Executed store
2023-10-13	13:43:54	4438	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863930','7413')
2023-10-13	13:43:54	4438	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:54	4438	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863930 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:54	4438	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:54	4438	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863930
2023-10-13	13:43:54	4439	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:54	4439	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:54	4439	[DEBUG]	Use field value for field taille
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:54	4439	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:54	4439	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:54	4439	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:54	4439	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:54	4439	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:54	4439	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:54	4439	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:54	4439	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:54	4439	[DEBUG]	Use field value for field published
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:54	4439	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field override
2023-10-13	13:43:54	4439	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:54	4439	[DEBUG]	Use field value for field slug
2023-10-13	13:43:54	4439	[DEBUG]	Process line 4439
2023-10-13	13:43:54	4439	[DEBUG]	Load a row
2023-10-13	13:43:54	4439	[DEBUG]	Processing item: 8022530007757
2023-10-13	13:43:54	4439	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:54	4439	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:54	4439	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_5948_1'
2023-10-13	13:43:54	4439	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:54	4439	[DEBUG]	Processing product tax
2023-10-13	13:43:54	4439	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:54	4439	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:54	4439	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:54	4439	[DEBUG]	Query for Product
2023-10-13	13:43:54	4439	[DEBUG]	Executed store
2023-10-13	13:43:54	4439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863930','8022530007757','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:54	4439	[DEBUG]	No parent found
2023-10-13	13:43:54	4439	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863930 AND customfield_value = 'stockable'
2023-10-13	13:43:54	4439	[DEBUG]	Check product language entry
2023-10-13	13:43:54	4439	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863931
2023-10-13	13:43:54	4439	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:54	4439	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8022530007757' AND `virtuemart_product_id` != 1863931
2023-10-13	13:43:54	4439	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:54	4439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863931, '8022530007757')
2023-10-13	13:43:54	4439	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:54	4439	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'vittoria-pneu-terreno-dry-700-x-38-c-tr-40-622-noir-unitaire' AND `virtuemart_product_id` != 1863931
2023-10-13	13:43:54	4439	[DEBUG]	Query for ProductLang
2023-10-13	13:43:54	4439	[DEBUG]	Executed store
2023-10-13	13:43:54	4439	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='VITTORIA Pneu Terreno Dry 700 x 38 C TR 40-622 / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='vittoria-pneu-terreno-dry-700-x-38-c-tr-40-622-noir-unitaire' WHERE `virtuemart_product_id` = '1863931'
2023-10-13	13:43:54	4439	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31547_pneus_vittoria_terreno_mix_700_x_38_c.jpg
2023-10-13	13:43:54	4439	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:54	4439	[DEBUG]	Process image file
2023-10-13	13:43:54	4439	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:54	4439	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:54	4439	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31547_pneus_vittoria_terreno_mix_700_x_38_c.jpg
2023-10-13	13:43:54	4439	[DEBUG]	Full name target: bcprisme/31547_pneus_vittoria_terreno_mix_700_x_38_c.jpg
2023-10-13	13:43:55	4439	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:55	4439	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31547_pneus_vittoria_terreno_mix_700_x_38_c.jpg'
2023-10-13	13:43:55	4439	[DEBUG]	Query for Media
2023-10-13	13:43:55	4439	[DEBUG]	Executed store
2023-10-13	13:43:55	4439	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31547_pneus_vittoria_terreno_mix_700_x_38_c.jpg',`file_url_thumb`='bcprisme/31547_pneus_vittoria_terreno_mix_700_x_38_c.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14539'
2023-10-13	13:43:55	4439	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:55	4439	[DEBUG]	Executed store
2023-10-13	13:43:55	4439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863931','14539','1')
2023-10-13	13:43:55	4439	[DEBUG]	Store product image relation
2023-10-13	13:43:55	4439	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:55	4439	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863931 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:55	4439	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:55	4439	[DEBUG]	Executed store
2023-10-13	13:43:55	4439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863931','0','54.7818012999071','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:55	4439	[DEBUG]	Checking manufacturer
2023-10-13	13:43:55	4439	[DEBUG]	Load a row
2023-10-13	13:43:55	4439	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:55	4439	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:43:55	4439	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:55	4439	[DEBUG]	Executed store
2023-10-13	13:43:55	4439	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-11-12-58-581148154284' WHERE `virtuemart_manufacturer_id` = '42'
2023-10-13	13:43:55	4439	[DEBUG]	Manufacturer exists
2023-10-13	13:43:55	4439	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 42
2023-10-13	13:43:55	4439	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:55	4439	[DEBUG]	Executed store
2023-10-13	13:43:55	4439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863931','42')
2023-10-13	13:43:55	4439	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:55	4439	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:55	4439	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863931 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:55	4439	[DEBUG]	Store custom available field
2023-10-13	13:43:55	4439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863931,3,'',1)
2023-10-13	13:43:55	4439	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:55	4439	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:43:55	4439	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863931 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:55	4439	[DEBUG]	Store custom available field
2023-10-13	13:43:55	4439	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863931,6,'Unitaire',3)
2023-10-13	13:43:55	4439	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:55	4439	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:55	4439	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863930
2023-10-13	13:43:55	4439	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:55	4439	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863930\":[1863930,8,1,\"choisir la taille\"],\"1863931\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863930
2023-10-13	13:43:55	4439	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:55	4439	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863931
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:55	4440	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field taille
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:55	4440	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:55	4440	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:55	4440	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:55	4440	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:55	4440	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:55	4440	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field published
2023-10-13	13:43:55	4440	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:55	4440	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field override
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:55	4440	[DEBUG]	Use field value for field slug
2023-10-13	13:43:55	4440	[DEBUG]	Process line 4440
2023-10-13	13:43:55	4440	[DEBUG]	Load a row
2023-10-13	13:43:55	4440	[DEBUG]	Processing item: A_6172_1
2023-10-13	13:43:55	4440	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:55	4440	[DEBUG]	Processing product tax
2023-10-13	13:43:55	4440	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:55	4440	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:55	4440	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:55	4440	[DEBUG]	Query for Product
2023-10-13	13:43:55	4440	[DEBUG]	Executed store
2023-10-13	13:43:55	4440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6172_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:55	4440	[DEBUG]	Check product language entry
2023-10-13	13:43:55	4440	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863932
2023-10-13	13:43:55	4440	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:55	4440	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6172_1' AND `virtuemart_product_id` != 1863932
2023-10-13	13:43:55	4440	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:55	4440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863932, 'A_6172_1')
2023-10-13	13:43:55	4440	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:55	4440	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-almotion-40-622-28x1-50-700-x-38-c-noir' AND `virtuemart_product_id` != 1863932
2023-10-13	13:43:55	4440	[DEBUG]	Query for ProductLang
2023-10-13	13:43:55	4440	[DEBUG]	Executed store
2023-10-13	13:43:55	4440	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.71766',`product_name`='Schwalbe PNEU Marathon Almotion 40-622  28x1.50 700 x 38 C / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-almotion-40-622-28x1-50-700-x-38-c-noir' WHERE `virtuemart_product_id` = '1863932'
2023-10-13	13:43:55	4440	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31869_schwalbe_marathon_almotion_40-622__28x1_50_700_x_38_c.jpg
2023-10-13	13:43:55	4440	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:55	4440	[DEBUG]	Process image file
2023-10-13	13:43:55	4440	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:55	4440	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:55	4440	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31869_schwalbe_marathon_almotion_40-622__28x1_50_700_x_38_c.jpg
2023-10-13	13:43:55	4440	[DEBUG]	Full name target: bcprisme/31869_schwalbe_marathon_almotion_40-622__28x1_50_700_x_38_c.jpg
2023-10-13	13:43:56	4440	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:56	4440	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31869_schwalbe_marathon_almotion_40-622__28x1_50_700_x_38_c.jpg'
2023-10-13	13:43:56	4440	[DEBUG]	Query for Media
2023-10-13	13:43:56	4440	[DEBUG]	Executed store
2023-10-13	13:43:56	4440	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31869_schwalbe_marathon_almotion_40-622__28x1_50_700_x_38_c.jpg',`file_url_thumb`='bcprisme/31869_schwalbe_marathon_almotion_40-622__28x1_50_700_x_38_c.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14562'
2023-10-13	13:43:56	4440	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:56	4440	[DEBUG]	Executed store
2023-10-13	13:43:56	4440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863932','14562','1')
2023-10-13	13:43:56	4440	[DEBUG]	Store product image relation
2023-10-13	13:43:56	4440	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:56	4440	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863932 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:56	4440	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:56	4440	[DEBUG]	Executed store
2023-10-13	13:43:56	4440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863932','0','70.4735376044568','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:56	4440	[DEBUG]	Checking manufacturer
2023-10-13	13:43:56	4440	[DEBUG]	Load a row
2023-10-13	13:43:56	4440	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:56	4440	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:43:56	4440	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:56	4440	[DEBUG]	Executed store
2023-10-13	13:43:56	4440	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:43:56	4440	[DEBUG]	Manufacturer exists
2023-10-13	13:43:56	4440	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:43:56	4440	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:56	4440	[DEBUG]	Executed store
2023-10-13	13:43:56	4440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863932','77')
2023-10-13	13:43:56	4440	[DEBUG]	Find the custom field ID
2023-10-13	13:43:56	4440	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:56	4440	[DEBUG]	No custom field ID found
2023-10-13	13:43:56	4440	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:56	4440	[DEBUG]	Get existing row with customfield value 39.7891666666667
2023-10-13	13:43:56	4440	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863932 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:56	4440	[DEBUG]	Store custom available field
2023-10-13	13:43:56	4440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863932,3,'39.7891666666667',1)
2023-10-13	13:43:56	4440	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:56	4440	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:56	4440	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863932 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:56	4440	[DEBUG]	Store custom available field
2023-10-13	13:43:56	4440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863932,6,'choisir la taille',3)
2023-10-13	13:43:56	4440	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:56	4440	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:56	4440	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:56	4440	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:56	4440	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863932 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:56	4440	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:56	4440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863932,8,1)
2023-10-13	13:43:56	4440	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:56	4440	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863932\":[1863932,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863932
2023-10-13	13:43:56	4440	[DEBUG]	Checking category
2023-10-13	13:43:56	4440	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:56	4440	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863932
2023-10-13	13:43:56	4440	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:56	4440	[DEBUG]	Executed store
2023-10-13	13:43:56	4440	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863932','7413')
2023-10-13	13:43:56	4440	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:56	4440	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863932 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:56	4440	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:56	4440	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863932
2023-10-13	13:43:56	4441	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:56	4441	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:56	4441	[DEBUG]	Use field value for field taille
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:56	4441	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:56	4441	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:56	4441	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:56	4441	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:56	4441	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:56	4441	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:56	4441	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:56	4441	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:56	4441	[DEBUG]	Use field value for field published
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:56	4441	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field override
2023-10-13	13:43:56	4441	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:56	4441	[DEBUG]	Use field value for field slug
2023-10-13	13:43:56	4441	[DEBUG]	Process line 4441
2023-10-13	13:43:56	4441	[DEBUG]	Load a row
2023-10-13	13:43:56	4441	[DEBUG]	Processing item: 4026495784146
2023-10-13	13:43:56	4441	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:56	4441	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:56	4441	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6172_1'
2023-10-13	13:43:56	4441	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:56	4441	[DEBUG]	Processing product tax
2023-10-13	13:43:56	4441	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:56	4441	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:56	4441	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:56	4441	[DEBUG]	Query for Product
2023-10-13	13:43:56	4441	[DEBUG]	Executed store
2023-10-13	13:43:56	4441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863932','4026495784146','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:56	4441	[DEBUG]	No parent found
2023-10-13	13:43:56	4441	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863932 AND customfield_value = 'stockable'
2023-10-13	13:43:56	4441	[DEBUG]	Check product language entry
2023-10-13	13:43:56	4441	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863933
2023-10-13	13:43:56	4441	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:56	4441	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495784146' AND `virtuemart_product_id` != 1863933
2023-10-13	13:43:56	4441	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:56	4441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863933, '4026495784146')
2023-10-13	13:43:56	4441	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:56	4441	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-marathon-almotion-40-622-28x1-50-700-x-38-c-noir-unitaire' AND `virtuemart_product_id` != 1863933
2023-10-13	13:43:56	4441	[DEBUG]	Query for ProductLang
2023-10-13	13:43:56	4441	[DEBUG]	Executed store
2023-10-13	13:43:56	4441	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe PNEU Marathon Almotion 40-622  28x1.50 700 x 38 C / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-marathon-almotion-40-622-28x1-50-700-x-38-c-noir-unitaire' WHERE `virtuemart_product_id` = '1863933'
2023-10-13	13:43:56	4441	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31869_schwalbe_marathon_almotion_40-622__28x1_50_700_x_38_c.jpg
2023-10-13	13:43:56	4441	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:56	4441	[DEBUG]	Process image file
2023-10-13	13:43:56	4441	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:56	4441	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:56	4441	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/31869_schwalbe_marathon_almotion_40-622__28x1_50_700_x_38_c.jpg
2023-10-13	13:43:56	4441	[DEBUG]	Full name target: bcprisme/31869_schwalbe_marathon_almotion_40-622__28x1_50_700_x_38_c.jpg
2023-10-13	13:43:57	4441	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:57	4441	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/31869_schwalbe_marathon_almotion_40-622__28x1_50_700_x_38_c.jpg'
2023-10-13	13:43:57	4441	[DEBUG]	Query for Media
2023-10-13	13:43:57	4441	[DEBUG]	Executed store
2023-10-13	13:43:57	4441	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/31869_schwalbe_marathon_almotion_40-622__28x1_50_700_x_38_c.jpg',`file_url_thumb`='bcprisme/31869_schwalbe_marathon_almotion_40-622__28x1_50_700_x_38_c.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14562'
2023-10-13	13:43:57	4441	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:57	4441	[DEBUG]	Executed store
2023-10-13	13:43:57	4441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863933','14562','1')
2023-10-13	13:43:57	4441	[DEBUG]	Store product image relation
2023-10-13	13:43:57	4441	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:57	4441	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863933 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:57	4441	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:57	4441	[DEBUG]	Executed store
2023-10-13	13:43:57	4441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863933','0','70.4735376044568','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:57	4441	[DEBUG]	Checking manufacturer
2023-10-13	13:43:57	4441	[DEBUG]	Load a row
2023-10-13	13:43:57	4441	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:57	4441	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:43:57	4441	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:57	4441	[DEBUG]	Executed store
2023-10-13	13:43:57	4441	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:43:57	4441	[DEBUG]	Manufacturer exists
2023-10-13	13:43:57	4441	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:43:57	4441	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:57	4441	[DEBUG]	Executed store
2023-10-13	13:43:57	4441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863933','77')
2023-10-13	13:43:57	4441	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:57	4441	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:57	4441	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863933 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:57	4441	[DEBUG]	Store custom available field
2023-10-13	13:43:57	4441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863933,3,'',1)
2023-10-13	13:43:57	4441	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:57	4441	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:43:57	4441	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863933 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:57	4441	[DEBUG]	Store custom available field
2023-10-13	13:43:57	4441	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863933,6,'Unitaire',3)
2023-10-13	13:43:57	4441	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:57	4441	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:57	4441	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863932
2023-10-13	13:43:57	4441	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:57	4441	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863932\":[1863932,8,1,\"choisir la taille\"],\"1863933\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863932
2023-10-13	13:43:57	4441	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:57	4441	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863933
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:57	4442	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field taille
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:57	4442	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:57	4442	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:57	4442	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:57	4442	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:57	4442	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:57	4442	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:57	4442	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field published
2023-10-13	13:43:57	4442	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:57	4442	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field override
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:57	4442	[DEBUG]	Use field value for field slug
2023-10-13	13:43:57	4442	[DEBUG]	Process line 4442
2023-10-13	13:43:57	4442	[DEBUG]	Load a row
2023-10-13	13:43:57	4442	[DEBUG]	Processing item: A_6199_1
2023-10-13	13:43:57	4442	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:57	4442	[DEBUG]	Processing product tax
2023-10-13	13:43:57	4442	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:57	4442	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:57	4442	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:57	4442	[DEBUG]	Query for Product
2023-10-13	13:43:57	4442	[DEBUG]	Executed store
2023-10-13	13:43:57	4442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6199_1','0','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:57	4442	[DEBUG]	Check product language entry
2023-10-13	13:43:57	4442	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863934
2023-10-13	13:43:57	4442	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:57	4442	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6199_1' AND `virtuemart_product_id` != 1863934
2023-10-13	13:43:57	4442	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:57	4442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863934, 'A_6199_1')
2023-10-13	13:43:57	4442	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:57	4442	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-energizer-plus-700x38c-rigide-avec-bande-reflechissante-black-noir' AND `virtuemart_product_id` != 1863934
2023-10-13	13:43:57	4442	[DEBUG]	Query for ProductLang
2023-10-13	13:43:57	4442	[DEBUG]	Executed store
2023-10-13	13:43:57	4442	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : 24.67673',`product_name`='Schwalbe Pneu Energizer Plus 700x38c rigide avec bande réfléchissante black / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-energizer-plus-700x38c-rigide-avec-bande-reflechissante-black-noir' WHERE `virtuemart_product_id` = '1863934'
2023-10-13	13:43:57	4442	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32041_pneu_schwalbe_energizer_plus_700x38c_rigide_avec_bande_reflechissante_black.jpg
2023-10-13	13:43:57	4442	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:43:57	4442	[DEBUG]	Process image file
2023-10-13	13:43:57	4442	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:43:57	4442	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:57	4442	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32041_pneu_schwalbe_energizer_plus_700x38c_rigide_avec_bande_reflechissante_black.jpg
2023-10-13	13:43:57	4442	[DEBUG]	Full name target: bcprisme/32041_pneu_schwalbe_energizer_plus_700x38c_rigide_avec_bande_reflechissante_black.jpg
2023-10-13	13:43:58	4442	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:58	4442	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32041_pneu_schwalbe_energizer_plus_700x38c_rigide_avec_bande_reflechissante_black.jpg'
2023-10-13	13:43:58	4442	[DEBUG]	Query for Media
2023-10-13	13:43:58	4442	[DEBUG]	Executed store
2023-10-13	13:43:58	4442	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32041_pneu_schwalbe_energizer_plus_700x38c_rigide_avec_bande_reflechissante_black.jpg',`file_url_thumb`='bcprisme/32041_pneu_schwalbe_energizer_plus_700x38c_rigide_avec_bande_reflechissante_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382151'
2023-10-13	13:43:58	4442	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:58	4442	[DEBUG]	Executed store
2023-10-13	13:43:58	4442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863934','382151','1')
2023-10-13	13:43:58	4442	[DEBUG]	Store product image relation
2023-10-13	13:43:58	4442	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:58	4442	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863934 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:58	4442	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:58	4442	[DEBUG]	Executed store
2023-10-13	13:43:58	4442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863934','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:58	4442	[DEBUG]	Checking manufacturer
2023-10-13	13:43:58	4442	[DEBUG]	Load a row
2023-10-13	13:43:58	4442	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:58	4442	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:43:58	4442	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:58	4442	[DEBUG]	Executed store
2023-10-13	13:43:58	4442	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:43:58	4442	[DEBUG]	Manufacturer exists
2023-10-13	13:43:58	4442	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:43:58	4442	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:58	4442	[DEBUG]	Executed store
2023-10-13	13:43:58	4442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863934','77')
2023-10-13	13:43:58	4442	[DEBUG]	Find the custom field ID
2023-10-13	13:43:58	4442	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:43:58	4442	[DEBUG]	No custom field ID found
2023-10-13	13:43:58	4442	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:58	4442	[DEBUG]	Get existing row with customfield value 0
2023-10-13	13:43:58	4442	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863934 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:58	4442	[DEBUG]	Store custom available field
2023-10-13	13:43:58	4442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863934,3,'0',1)
2023-10-13	13:43:58	4442	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:58	4442	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:43:58	4442	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863934 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:58	4442	[DEBUG]	Store custom available field
2023-10-13	13:43:58	4442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863934,6,'choisir la taille',3)
2023-10-13	13:43:58	4442	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:58	4442	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:43:58	4442	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:43:58	4442	[DEBUG]	Find the multi variant product entry
2023-10-13	13:43:58	4442	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863934 AND `virtuemart_custom_id` = 8
2023-10-13	13:43:58	4442	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:43:58	4442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863934,8,1)
2023-10-13	13:43:58	4442	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:58	4442	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863934\":[1863934,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863934
2023-10-13	13:43:58	4442	[DEBUG]	Checking category
2023-10-13	13:43:58	4442	[DEBUG]	Get the existing categories for the product
2023-10-13	13:43:58	4442	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863934
2023-10-13	13:43:58	4442	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:43:58	4442	[DEBUG]	Executed store
2023-10-13	13:43:58	4442	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863934','7413')
2023-10-13	13:43:58	4442	[DEBUG]	Delete leftover product categories
2023-10-13	13:43:58	4442	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863934 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:43:58	4442	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:58	4442	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863934
2023-10-13	13:43:58	4443	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:58	4443	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:43:58	4443	[DEBUG]	Use field value for field taille
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:43:58	4443	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field category_path
2023-10-13	13:43:58	4443	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:58	4443	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:58	4443	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:58	4443	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:43:58	4443	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field product_weight
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:58	4443	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:58	4443	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:58	4443	[DEBUG]	Use field value for field published
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field custom_title
2023-10-13	13:43:58	4443	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field custom_param
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field override
2023-10-13	13:43:58	4443	[DEBUG]	Use default value for field public_price
2023-10-13	13:43:58	4443	[DEBUG]	Use field value for field slug
2023-10-13	13:43:58	4443	[DEBUG]	Process line 4443
2023-10-13	13:43:58	4443	[DEBUG]	Load a row
2023-10-13	13:43:58	4443	[DEBUG]	Processing item: 4026495644518
2023-10-13	13:43:58	4443	[DEBUG]	Looking for parent SKU
2023-10-13	13:43:58	4443	[DEBUG]	Checking product parent SKU
2023-10-13	13:43:58	4443	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6199_1'
2023-10-13	13:43:58	4443	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:58	4443	[DEBUG]	Processing product tax
2023-10-13	13:43:58	4443	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:58	4443	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:58	4443	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:58	4443	[DEBUG]	Query for Product
2023-10-13	13:43:58	4443	[DEBUG]	Executed store
2023-10-13	13:43:58	4443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863934','4026495644518','0','KG','M','','0','0','0','0','pasenstock.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:58	4443	[DEBUG]	No parent found
2023-10-13	13:43:58	4443	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863934 AND customfield_value = 'stockable'
2023-10-13	13:43:58	4443	[DEBUG]	Check product language entry
2023-10-13	13:43:58	4443	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863935
2023-10-13	13:43:58	4443	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:58	4443	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '4026495644518' AND `virtuemart_product_id` != 1863935
2023-10-13	13:43:58	4443	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:58	4443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863935, '4026495644518')
2023-10-13	13:43:58	4443	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:58	4443	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'schwalbe-pneu-energizer-plus-700x38c-rigide-avec-bande-reflechissante-black-noir-all' AND `virtuemart_product_id` != 1863935
2023-10-13	13:43:58	4443	[DEBUG]	Query for ProductLang
2023-10-13	13:43:58	4443	[DEBUG]	Executed store
2023-10-13	13:43:58	4443	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='Schwalbe Pneu Energizer Plus 700x38c rigide avec bande réfléchissante black / Noir (All)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='schwalbe-pneu-energizer-plus-700x38c-rigide-avec-bande-reflechissante-black-noir-all' WHERE `virtuemart_product_id` = '1863935'
2023-10-13	13:43:58	4443	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32041_pneu_schwalbe_energizer_plus_700x38c_rigide_avec_bande_reflechissante_black.jpg
2023-10-13	13:43:58	4443	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:43:58	4443	[DEBUG]	Process image file
2023-10-13	13:43:58	4443	[DEBUG]	Identity string: ffd8ffe000104a46494600010101004800480000
2023-10-13	13:43:58	4443	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:58	4443	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32041_pneu_schwalbe_energizer_plus_700x38c_rigide_avec_bande_reflechissante_black.jpg
2023-10-13	13:43:58	4443	[DEBUG]	Full name target: bcprisme/32041_pneu_schwalbe_energizer_plus_700x38c_rigide_avec_bande_reflechissante_black.jpg
2023-10-13	13:43:59	4443	[DEBUG]	Checking if the file_url exists
2023-10-13	13:43:59	4443	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32041_pneu_schwalbe_energizer_plus_700x38c_rigide_avec_bande_reflechissante_black.jpg'
2023-10-13	13:43:59	4443	[DEBUG]	Query for Media
2023-10-13	13:43:59	4443	[DEBUG]	Executed store
2023-10-13	13:43:59	4443	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32041_pneu_schwalbe_energizer_plus_700x38c_rigide_avec_bande_reflechissante_black.jpg',`file_url_thumb`='bcprisme/32041_pneu_schwalbe_energizer_plus_700x38c_rigide_avec_bande_reflechissante_black.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '382151'
2023-10-13	13:43:59	4443	[DEBUG]	Query for ProductMedia
2023-10-13	13:43:59	4443	[DEBUG]	Executed store
2023-10-13	13:43:59	4443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863935','382151','1')
2023-10-13	13:43:59	4443	[DEBUG]	Store product image relation
2023-10-13	13:43:59	4443	[DEBUG]	Finding a product_price_id
2023-10-13	13:43:59	4443	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863935 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:43:59	4443	[DEBUG]	Query for ProductPrice
2023-10-13	13:43:59	4443	[DEBUG]	Executed store
2023-10-13	13:43:59	4443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863935','0','32.4048282265552','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:43:59	4443	[DEBUG]	Checking manufacturer
2023-10-13	13:43:59	4443	[DEBUG]	Load a row
2023-10-13	13:43:59	4443	[DEBUG]	Manufacturer already exists
2023-10-13	13:43:59	4443	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:43:59	4443	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:43:59	4443	[DEBUG]	Executed store
2023-10-13	13:43:59	4443	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-332081255410' WHERE `virtuemart_manufacturer_id` = '77'
2023-10-13	13:43:59	4443	[DEBUG]	Manufacturer exists
2023-10-13	13:43:59	4443	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 77
2023-10-13	13:43:59	4443	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:43:59	4443	[DEBUG]	Executed store
2023-10-13	13:43:59	4443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863935','77')
2023-10-13	13:43:59	4443	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:43:59	4443	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:43:59	4443	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863935 AND `virtuemart_custom_id` = 3
2023-10-13	13:43:59	4443	[DEBUG]	Store custom available field
2023-10-13	13:43:59	4443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863935,3,'',1)
2023-10-13	13:43:59	4443	[DEBUG]	Processing custom available field: taille
2023-10-13	13:43:59	4443	[DEBUG]	Get existing row with customfield value All
2023-10-13	13:43:59	4443	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863935 AND `virtuemart_custom_id` = 6
2023-10-13	13:43:59	4443	[DEBUG]	Store custom available field
2023-10-13	13:43:59	4443	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863935,6,'All',3)
2023-10-13	13:43:59	4443	[DEBUG]	Process multi-variant fields
2023-10-13	13:43:59	4443	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:43:59	4443	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863934
2023-10-13	13:43:59	4443	[DEBUG]	Store the updated customfield_params
2023-10-13	13:43:59	4443	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nAll\"}]|clabels=0|options={\"1863934\":[1863934,8,1,\"choisir la taille\"],\"1863935\":[\"All\"]}|' WHERE `virtuemart_product_id` = 1863934
2023-10-13	13:43:59	4443	[DEBUG]	Update has fields after all processing
2023-10-13	13:43:59	4443	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863935
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field product_sku
2023-10-13	13:43:59	4444	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field taille
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field product_name
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field category_path
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field product_price
2023-10-13	13:43:59	4444	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field product_tax
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field file_url
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:43:59	4444	[DEBUG]	Use default value for field product_desc
2023-10-13	13:43:59	4444	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field product_availability
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field product_weight
2023-10-13	13:43:59	4444	[DEBUG]	Use default value for field product_unit
2023-10-13	13:43:59	4444	[DEBUG]	Use default value for field related_products
2023-10-13	13:43:59	4444	[DEBUG]	Use default value for field product_special
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field published
2023-10-13	13:43:59	4444	[DEBUG]	Use default value for field metadesc
2023-10-13	13:43:59	4444	[DEBUG]	Use default value for field metakey
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field custom_title
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field custom_value
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field custom_param
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field override
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field public_price
2023-10-13	13:43:59	4444	[DEBUG]	Use field value for field slug
2023-10-13	13:43:59	4444	[DEBUG]	Process line 4444
2023-10-13	13:43:59	4444	[DEBUG]	Load a row
2023-10-13	13:43:59	4444	[DEBUG]	Processing item: A_6237_1
2023-10-13	13:43:59	4444	[DEBUG]	Product tax: 7.7
2023-10-13	13:43:59	4444	[DEBUG]	Processing product tax
2023-10-13	13:43:59	4444	[DEBUG]	Check if calculation rule exists
2023-10-13	13:43:59	4444	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:43:59	4444	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:43:59	4444	[DEBUG]	Query for Product
2023-10-13	13:43:59	4444	[DEBUG]	Executed store
2023-10-13	13:43:59	4444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6237_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:43:59	4444	[DEBUG]	Check product language entry
2023-10-13	13:43:59	4444	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863936
2023-10-13	13:43:59	4444	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:59	4444	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6237_1' AND `virtuemart_product_id` != 1863936
2023-10-13	13:43:59	4444	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:43:59	4444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863936, 'A_6237_1')
2023-10-13	13:43:59	4444	[DEBUG]	Check if the product slug exists
2023-10-13	13:43:59	4444	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-performance-700-x-28-c-tringle-souple-120-tpi-noir' AND `virtuemart_product_id` != 1863936
2023-10-13	13:43:59	4444	[DEBUG]	Query for ProductLang
2023-10-13	13:43:59	4444	[DEBUG]	Executed store
2023-10-13	13:43:59	4444	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='PERFORMANCE TRINGLE SOUPLE 60 TPI, GOMME 62A<br>N° art fourn : PER70028120KV',`product_name`='MSC PNEU PERFORMANCE 700 X 28 C TRINGLE SOUPLE 120 TPI,  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-performance-700-x-28-c-tringle-souple-120-tpi-noir' WHERE `virtuemart_product_id` = '1863936'
2023-10-13	13:43:59	4444	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32085_performance_700_x_28_c_tringle_souple_120_tpi,_.jpg
2023-10-13	13:43:59	4444	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:59	4444	[DEBUG]	Process image file
2023-10-13	13:43:59	4444	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:43:59	4444	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:43:59	4444	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32085_performance_700_x_28_c_tringle_souple_120_tpi,_.jpg
2023-10-13	13:43:59	4444	[DEBUG]	Full name target: bcprisme/32085_performance_700_x_28_c_tringle_souple_120_tpi,_.jpg
2023-10-13	13:44:00	4444	[DEBUG]	Checking if the file_url exists
2023-10-13	13:44:00	4444	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32085_performance_700_x_28_c_tringle_souple_120_tpi,_.jpg'
2023-10-13	13:44:00	4444	[DEBUG]	Query for Media
2023-10-13	13:44:00	4444	[DEBUG]	Executed store
2023-10-13	13:44:00	4444	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32085_performance_700_x_28_c_tringle_souple_120_tpi,_.jpg',`file_url_thumb`='bcprisme/32085_performance_700_x_28_c_tringle_souple_120_tpi,_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14563'
2023-10-13	13:44:00	4444	[DEBUG]	Query for ProductMedia
2023-10-13	13:44:00	4444	[DEBUG]	Executed store
2023-10-13	13:44:00	4444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863936','14563','1')
2023-10-13	13:44:00	4444	[DEBUG]	Store product image relation
2023-10-13	13:44:00	4444	[DEBUG]	Finding a product_price_id
2023-10-13	13:44:00	4444	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863936 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:44:00	4444	[DEBUG]	Query for ProductPrice
2023-10-13	13:44:00	4444	[DEBUG]	Executed store
2023-10-13	13:44:00	4444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863936','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:44:00	4444	[DEBUG]	Checking manufacturer
2023-10-13	13:44:00	4444	[DEBUG]	Load a row
2023-10-13	13:44:00	4444	[DEBUG]	Manufacturer already exists
2023-10-13	13:44:00	4444	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:00	4444	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:44:00	4444	[DEBUG]	Executed store
2023-10-13	13:44:00	4444	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:00	4444	[DEBUG]	Manufacturer exists
2023-10-13	13:44:00	4444	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:44:00	4444	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:44:00	4444	[DEBUG]	Executed store
2023-10-13	13:44:00	4444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863936','32')
2023-10-13	13:44:00	4444	[DEBUG]	Find the custom field ID
2023-10-13	13:44:00	4444	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:44:00	4444	[DEBUG]	No custom field ID found
2023-10-13	13:44:00	4444	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:44:00	4444	[DEBUG]	Get existing row with customfield value 25.8280555555556
2023-10-13	13:44:00	4444	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863936 AND `virtuemart_custom_id` = 3
2023-10-13	13:44:00	4444	[DEBUG]	Store custom available field
2023-10-13	13:44:00	4444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863936,3,'25.8280555555556',1)
2023-10-13	13:44:00	4444	[DEBUG]	Processing custom available field: taille
2023-10-13	13:44:00	4444	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:44:00	4444	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863936 AND `virtuemart_custom_id` = 6
2023-10-13	13:44:00	4444	[DEBUG]	Store custom available field
2023-10-13	13:44:00	4444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863936,6,'choisir la taille',3)
2023-10-13	13:44:00	4444	[DEBUG]	Process multi-variant fields
2023-10-13	13:44:00	4444	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:44:00	4444	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:44:00	4444	[DEBUG]	Find the multi variant product entry
2023-10-13	13:44:00	4444	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863936 AND `virtuemart_custom_id` = 8
2023-10-13	13:44:00	4444	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:44:00	4444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863936,8,1)
2023-10-13	13:44:00	4444	[DEBUG]	Store the updated customfield_params
2023-10-13	13:44:00	4444	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863936\":[1863936,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863936
2023-10-13	13:44:00	4444	[DEBUG]	Checking category
2023-10-13	13:44:00	4444	[DEBUG]	Get the existing categories for the product
2023-10-13	13:44:00	4444	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863936
2023-10-13	13:44:00	4444	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:44:00	4444	[DEBUG]	Executed store
2023-10-13	13:44:00	4444	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863936','7413')
2023-10-13	13:44:00	4444	[DEBUG]	Delete leftover product categories
2023-10-13	13:44:00	4444	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863936 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:44:00	4444	[DEBUG]	Update has fields after all processing
2023-10-13	13:44:00	4444	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863936
2023-10-13	13:44:00	4445	[DEBUG]	Use field value for field product_sku
2023-10-13	13:44:00	4445	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:44:00	4445	[DEBUG]	Use field value for field taille
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:44:00	4445	[DEBUG]	Use field value for field product_name
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field category_path
2023-10-13	13:44:00	4445	[DEBUG]	Use field value for field product_price
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:44:00	4445	[DEBUG]	Use field value for field product_tax
2023-10-13	13:44:00	4445	[DEBUG]	Use field value for field file_url
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field product_desc
2023-10-13	13:44:00	4445	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:44:00	4445	[DEBUG]	Use field value for field product_availability
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field product_weight
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field product_unit
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field related_products
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field product_special
2023-10-13	13:44:00	4445	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:44:00	4445	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:44:00	4445	[DEBUG]	Use field value for field published
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field metadesc
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field metakey
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field custom_title
2023-10-13	13:44:00	4445	[DEBUG]	Use field value for field custom_value
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field custom_param
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field override
2023-10-13	13:44:00	4445	[DEBUG]	Use default value for field public_price
2023-10-13	13:44:00	4445	[DEBUG]	Use field value for field slug
2023-10-13	13:44:00	4445	[DEBUG]	Process line 4445
2023-10-13	13:44:00	4445	[DEBUG]	Load a row
2023-10-13	13:44:00	4445	[DEBUG]	Processing item: 8435466215187
2023-10-13	13:44:00	4445	[DEBUG]	Looking for parent SKU
2023-10-13	13:44:00	4445	[DEBUG]	Checking product parent SKU
2023-10-13	13:44:00	4445	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6237_1'
2023-10-13	13:44:00	4445	[DEBUG]	Product tax: 7.7
2023-10-13	13:44:00	4445	[DEBUG]	Processing product tax
2023-10-13	13:44:00	4445	[DEBUG]	Check if calculation rule exists
2023-10-13	13:44:00	4445	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:44:00	4445	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:44:00	4445	[DEBUG]	Query for Product
2023-10-13	13:44:00	4445	[DEBUG]	Executed store
2023-10-13	13:44:00	4445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863936','8435466215187','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:44:00	4445	[DEBUG]	No parent found
2023-10-13	13:44:00	4445	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863936 AND customfield_value = 'stockable'
2023-10-13	13:44:00	4445	[DEBUG]	Check product language entry
2023-10-13	13:44:00	4445	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863937
2023-10-13	13:44:00	4445	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:00	4445	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215187' AND `virtuemart_product_id` != 1863937
2023-10-13	13:44:00	4445	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:44:00	4445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863937, '8435466215187')
2023-10-13	13:44:00	4445	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:00	4445	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-performance-700-x-28-c-tringle-souple-120-tpi-noir-unitaire' AND `virtuemart_product_id` != 1863937
2023-10-13	13:44:00	4445	[DEBUG]	Query for ProductLang
2023-10-13	13:44:00	4445	[DEBUG]	Executed store
2023-10-13	13:44:00	4445	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU PERFORMANCE 700 X 28 C TRINGLE SOUPLE 120 TPI,  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-performance-700-x-28-c-tringle-souple-120-tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863937'
2023-10-13	13:44:00	4445	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32085_performance_700_x_28_c_tringle_souple_120_tpi,_.jpg
2023-10-13	13:44:00	4445	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:00	4445	[DEBUG]	Process image file
2023-10-13	13:44:00	4445	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:00	4445	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:44:00	4445	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32085_performance_700_x_28_c_tringle_souple_120_tpi,_.jpg
2023-10-13	13:44:00	4445	[DEBUG]	Full name target: bcprisme/32085_performance_700_x_28_c_tringle_souple_120_tpi,_.jpg
2023-10-13	13:44:02	4445	[DEBUG]	Checking if the file_url exists
2023-10-13	13:44:02	4445	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32085_performance_700_x_28_c_tringle_souple_120_tpi,_.jpg'
2023-10-13	13:44:02	4445	[DEBUG]	Query for Media
2023-10-13	13:44:02	4445	[DEBUG]	Executed store
2023-10-13	13:44:02	4445	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32085_performance_700_x_28_c_tringle_souple_120_tpi,_.jpg',`file_url_thumb`='bcprisme/32085_performance_700_x_28_c_tringle_souple_120_tpi,_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14563'
2023-10-13	13:44:02	4445	[DEBUG]	Query for ProductMedia
2023-10-13	13:44:02	4445	[DEBUG]	Executed store
2023-10-13	13:44:02	4445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863937','14563','1')
2023-10-13	13:44:02	4445	[DEBUG]	Store product image relation
2023-10-13	13:44:02	4445	[DEBUG]	Finding a product_price_id
2023-10-13	13:44:02	4445	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863937 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:44:02	4445	[DEBUG]	Query for ProductPrice
2023-10-13	13:44:02	4445	[DEBUG]	Executed store
2023-10-13	13:44:02	4445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863937','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:44:02	4445	[DEBUG]	Checking manufacturer
2023-10-13	13:44:02	4445	[DEBUG]	Load a row
2023-10-13	13:44:02	4445	[DEBUG]	Manufacturer already exists
2023-10-13	13:44:02	4445	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:02	4445	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:44:02	4445	[DEBUG]	Executed store
2023-10-13	13:44:02	4445	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:02	4445	[DEBUG]	Manufacturer exists
2023-10-13	13:44:02	4445	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:44:02	4445	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:44:02	4445	[DEBUG]	Executed store
2023-10-13	13:44:02	4445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863937','32')
2023-10-13	13:44:02	4445	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:44:02	4445	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:44:02	4445	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863937 AND `virtuemart_custom_id` = 3
2023-10-13	13:44:02	4445	[DEBUG]	Store custom available field
2023-10-13	13:44:02	4445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863937,3,'',1)
2023-10-13	13:44:02	4445	[DEBUG]	Processing custom available field: taille
2023-10-13	13:44:02	4445	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:44:02	4445	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863937 AND `virtuemart_custom_id` = 6
2023-10-13	13:44:02	4445	[DEBUG]	Store custom available field
2023-10-13	13:44:02	4445	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863937,6,'Unitaire',3)
2023-10-13	13:44:02	4445	[DEBUG]	Process multi-variant fields
2023-10-13	13:44:02	4445	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:44:02	4445	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863936
2023-10-13	13:44:02	4445	[DEBUG]	Store the updated customfield_params
2023-10-13	13:44:02	4445	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863936\":[1863936,8,1,\"choisir la taille\"],\"1863937\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863936
2023-10-13	13:44:02	4445	[DEBUG]	Update has fields after all processing
2023-10-13	13:44:02	4445	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863937
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field product_sku
2023-10-13	13:44:02	4446	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field taille
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field product_name
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field category_path
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field product_price
2023-10-13	13:44:02	4446	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field product_tax
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field file_url
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:44:02	4446	[DEBUG]	Use default value for field product_desc
2023-10-13	13:44:02	4446	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field product_availability
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field product_weight
2023-10-13	13:44:02	4446	[DEBUG]	Use default value for field product_unit
2023-10-13	13:44:02	4446	[DEBUG]	Use default value for field related_products
2023-10-13	13:44:02	4446	[DEBUG]	Use default value for field product_special
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field published
2023-10-13	13:44:02	4446	[DEBUG]	Use default value for field metadesc
2023-10-13	13:44:02	4446	[DEBUG]	Use default value for field metakey
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field custom_title
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field custom_value
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field custom_param
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field override
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field public_price
2023-10-13	13:44:02	4446	[DEBUG]	Use field value for field slug
2023-10-13	13:44:02	4446	[DEBUG]	Process line 4446
2023-10-13	13:44:02	4446	[DEBUG]	Load a row
2023-10-13	13:44:02	4446	[DEBUG]	Processing item: A_6289_1
2023-10-13	13:44:02	4446	[DEBUG]	Product tax: 7.7
2023-10-13	13:44:02	4446	[DEBUG]	Processing product tax
2023-10-13	13:44:02	4446	[DEBUG]	Check if calculation rule exists
2023-10-13	13:44:02	4446	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:44:02	4446	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:44:02	4446	[DEBUG]	Query for Product
2023-10-13	13:44:02	4446	[DEBUG]	Executed store
2023-10-13	13:44:02	4446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6289_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:44:02	4446	[DEBUG]	Check product language entry
2023-10-13	13:44:02	4446	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863938
2023-10-13	13:44:02	4446	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:02	4446	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6289_1' AND `virtuemart_product_id` != 1863938
2023-10-13	13:44:02	4446	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:44:02	4446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863938, 'A_6289_1')
2023-10-13	13:44:02	4446	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:02	4446	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-road-slick-700-x-25-2c-52a-60a-road-60-tpi-noir' AND `virtuemart_product_id` != 1863938
2023-10-13	13:44:02	4446	[DEBUG]	Query for ProductLang
2023-10-13	13:44:02	4446	[DEBUG]	Executed store
2023-10-13	13:44:02	4446	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : SLICK7002560KV',`product_name`='MSC PNEU ROAD SLICK 700 X 25 2C 52A/60A ROAD 60 TPI  / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-road-slick-700-x-25-2c-52a-60a-road-60-tpi-noir' WHERE `virtuemart_product_id` = '1863938'
2023-10-13	13:44:02	4446	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32139_road_slick_700_x_25_2c_52a-60a_road_60_tpi_.jpg
2023-10-13	13:44:02	4446	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:02	4446	[DEBUG]	Process image file
2023-10-13	13:44:02	4446	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:02	4446	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:44:02	4446	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32139_road_slick_700_x_25_2c_52a-60a_road_60_tpi_.jpg
2023-10-13	13:44:02	4446	[DEBUG]	Full name target: bcprisme/32139_road_slick_700_x_25_2c_52a-60a_road_60_tpi_.jpg
2023-10-13	13:44:03	4446	[DEBUG]	Checking if the file_url exists
2023-10-13	13:44:03	4446	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32139_road_slick_700_x_25_2c_52a-60a_road_60_tpi_.jpg'
2023-10-13	13:44:03	4446	[DEBUG]	Query for Media
2023-10-13	13:44:03	4446	[DEBUG]	Executed store
2023-10-13	13:44:03	4446	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32139_road_slick_700_x_25_2c_52a-60a_road_60_tpi_.jpg',`file_url_thumb`='bcprisme/32139_road_slick_700_x_25_2c_52a-60a_road_60_tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14564'
2023-10-13	13:44:03	4446	[DEBUG]	Query for ProductMedia
2023-10-13	13:44:03	4446	[DEBUG]	Executed store
2023-10-13	13:44:03	4446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863938','14564','1')
2023-10-13	13:44:03	4446	[DEBUG]	Store product image relation
2023-10-13	13:44:03	4446	[DEBUG]	Finding a product_price_id
2023-10-13	13:44:03	4446	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863938 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:44:03	4446	[DEBUG]	Query for ProductPrice
2023-10-13	13:44:03	4446	[DEBUG]	Executed store
2023-10-13	13:44:03	4446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863938','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:44:03	4446	[DEBUG]	Checking manufacturer
2023-10-13	13:44:03	4446	[DEBUG]	Load a row
2023-10-13	13:44:03	4446	[DEBUG]	Manufacturer already exists
2023-10-13	13:44:03	4446	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:03	4446	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:44:03	4446	[DEBUG]	Executed store
2023-10-13	13:44:03	4446	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:03	4446	[DEBUG]	Manufacturer exists
2023-10-13	13:44:03	4446	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:44:03	4446	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:44:03	4446	[DEBUG]	Executed store
2023-10-13	13:44:03	4446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863938','32')
2023-10-13	13:44:03	4446	[DEBUG]	Find the custom field ID
2023-10-13	13:44:03	4446	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:44:03	4446	[DEBUG]	No custom field ID found
2023-10-13	13:44:03	4446	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:44:03	4446	[DEBUG]	Get existing row with customfield value 64.7197222222222
2023-10-13	13:44:03	4446	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863938 AND `virtuemart_custom_id` = 3
2023-10-13	13:44:03	4446	[DEBUG]	Store custom available field
2023-10-13	13:44:03	4446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863938,3,'64.7197222222222',1)
2023-10-13	13:44:03	4446	[DEBUG]	Processing custom available field: taille
2023-10-13	13:44:03	4446	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:44:03	4446	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863938 AND `virtuemart_custom_id` = 6
2023-10-13	13:44:03	4446	[DEBUG]	Store custom available field
2023-10-13	13:44:03	4446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863938,6,'choisir la taille',3)
2023-10-13	13:44:03	4446	[DEBUG]	Process multi-variant fields
2023-10-13	13:44:03	4446	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:44:03	4446	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:44:03	4446	[DEBUG]	Find the multi variant product entry
2023-10-13	13:44:03	4446	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863938 AND `virtuemart_custom_id` = 8
2023-10-13	13:44:03	4446	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:44:03	4446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863938,8,1)
2023-10-13	13:44:03	4446	[DEBUG]	Store the updated customfield_params
2023-10-13	13:44:03	4446	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863938\":[1863938,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863938
2023-10-13	13:44:03	4446	[DEBUG]	Checking category
2023-10-13	13:44:03	4446	[DEBUG]	Get the existing categories for the product
2023-10-13	13:44:03	4446	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863938
2023-10-13	13:44:03	4446	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:44:03	4446	[DEBUG]	Executed store
2023-10-13	13:44:03	4446	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863938','7413')
2023-10-13	13:44:03	4446	[DEBUG]	Delete leftover product categories
2023-10-13	13:44:03	4446	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863938 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:44:03	4446	[DEBUG]	Update has fields after all processing
2023-10-13	13:44:03	4446	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863938
2023-10-13	13:44:03	4447	[DEBUG]	Use field value for field product_sku
2023-10-13	13:44:03	4447	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:44:03	4447	[DEBUG]	Use field value for field taille
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:44:03	4447	[DEBUG]	Use field value for field product_name
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field category_path
2023-10-13	13:44:03	4447	[DEBUG]	Use field value for field product_price
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:44:03	4447	[DEBUG]	Use field value for field product_tax
2023-10-13	13:44:03	4447	[DEBUG]	Use field value for field file_url
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field product_desc
2023-10-13	13:44:03	4447	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:44:03	4447	[DEBUG]	Use field value for field product_availability
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field product_weight
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field product_unit
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field related_products
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field product_special
2023-10-13	13:44:03	4447	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:44:03	4447	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:44:03	4447	[DEBUG]	Use field value for field published
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field metadesc
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field metakey
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field custom_title
2023-10-13	13:44:03	4447	[DEBUG]	Use field value for field custom_value
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field custom_param
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field override
2023-10-13	13:44:03	4447	[DEBUG]	Use default value for field public_price
2023-10-13	13:44:03	4447	[DEBUG]	Use field value for field slug
2023-10-13	13:44:03	4447	[DEBUG]	Process line 4447
2023-10-13	13:44:03	4447	[DEBUG]	Load a row
2023-10-13	13:44:03	4447	[DEBUG]	Processing item: 8435466216092
2023-10-13	13:44:03	4447	[DEBUG]	Looking for parent SKU
2023-10-13	13:44:03	4447	[DEBUG]	Checking product parent SKU
2023-10-13	13:44:03	4447	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6289_1'
2023-10-13	13:44:03	4447	[DEBUG]	Product tax: 7.7
2023-10-13	13:44:03	4447	[DEBUG]	Processing product tax
2023-10-13	13:44:03	4447	[DEBUG]	Check if calculation rule exists
2023-10-13	13:44:03	4447	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:44:03	4447	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:44:03	4447	[DEBUG]	Query for Product
2023-10-13	13:44:03	4447	[DEBUG]	Executed store
2023-10-13	13:44:03	4447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863938','8435466216092','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:44:03	4447	[DEBUG]	No parent found
2023-10-13	13:44:03	4447	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863938 AND customfield_value = 'stockable'
2023-10-13	13:44:03	4447	[DEBUG]	Check product language entry
2023-10-13	13:44:03	4447	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863939
2023-10-13	13:44:03	4447	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:03	4447	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216092' AND `virtuemart_product_id` != 1863939
2023-10-13	13:44:03	4447	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:44:03	4447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863939, '8435466216092')
2023-10-13	13:44:03	4447	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:03	4447	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-road-slick-700-x-25-2c-52a-60a-road-60-tpi-noir-unitaire' AND `virtuemart_product_id` != 1863939
2023-10-13	13:44:03	4447	[DEBUG]	Query for ProductLang
2023-10-13	13:44:03	4447	[DEBUG]	Executed store
2023-10-13	13:44:03	4447	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROAD SLICK 700 X 25 2C 52A/60A ROAD 60 TPI  / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-road-slick-700-x-25-2c-52a-60a-road-60-tpi-noir-unitaire' WHERE `virtuemart_product_id` = '1863939'
2023-10-13	13:44:03	4447	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32139_road_slick_700_x_25_2c_52a-60a_road_60_tpi_.jpg
2023-10-13	13:44:03	4447	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:03	4447	[DEBUG]	Process image file
2023-10-13	13:44:03	4447	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:03	4447	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:44:03	4447	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32139_road_slick_700_x_25_2c_52a-60a_road_60_tpi_.jpg
2023-10-13	13:44:03	4447	[DEBUG]	Full name target: bcprisme/32139_road_slick_700_x_25_2c_52a-60a_road_60_tpi_.jpg
2023-10-13	13:44:04	4447	[DEBUG]	Checking if the file_url exists
2023-10-13	13:44:04	4447	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32139_road_slick_700_x_25_2c_52a-60a_road_60_tpi_.jpg'
2023-10-13	13:44:04	4447	[DEBUG]	Query for Media
2023-10-13	13:44:04	4447	[DEBUG]	Executed store
2023-10-13	13:44:04	4447	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32139_road_slick_700_x_25_2c_52a-60a_road_60_tpi_.jpg',`file_url_thumb`='bcprisme/32139_road_slick_700_x_25_2c_52a-60a_road_60_tpi_.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14564'
2023-10-13	13:44:04	4447	[DEBUG]	Query for ProductMedia
2023-10-13	13:44:04	4447	[DEBUG]	Executed store
2023-10-13	13:44:04	4447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863939','14564','1')
2023-10-13	13:44:04	4447	[DEBUG]	Store product image relation
2023-10-13	13:44:04	4447	[DEBUG]	Finding a product_price_id
2023-10-13	13:44:04	4447	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863939 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:44:04	4447	[DEBUG]	Query for ProductPrice
2023-10-13	13:44:04	4447	[DEBUG]	Executed store
2023-10-13	13:44:04	4447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863939','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:44:04	4447	[DEBUG]	Checking manufacturer
2023-10-13	13:44:04	4447	[DEBUG]	Load a row
2023-10-13	13:44:04	4447	[DEBUG]	Manufacturer already exists
2023-10-13	13:44:04	4447	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:04	4447	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:44:04	4447	[DEBUG]	Executed store
2023-10-13	13:44:04	4447	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:04	4447	[DEBUG]	Manufacturer exists
2023-10-13	13:44:04	4447	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:44:04	4447	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:44:04	4447	[DEBUG]	Executed store
2023-10-13	13:44:04	4447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863939','32')
2023-10-13	13:44:04	4447	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:44:04	4447	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:44:04	4447	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863939 AND `virtuemart_custom_id` = 3
2023-10-13	13:44:04	4447	[DEBUG]	Store custom available field
2023-10-13	13:44:04	4447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863939,3,'',1)
2023-10-13	13:44:04	4447	[DEBUG]	Processing custom available field: taille
2023-10-13	13:44:04	4447	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:44:04	4447	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863939 AND `virtuemart_custom_id` = 6
2023-10-13	13:44:04	4447	[DEBUG]	Store custom available field
2023-10-13	13:44:04	4447	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863939,6,'Unitaire',3)
2023-10-13	13:44:04	4447	[DEBUG]	Process multi-variant fields
2023-10-13	13:44:04	4447	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:44:04	4447	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863938
2023-10-13	13:44:04	4447	[DEBUG]	Store the updated customfield_params
2023-10-13	13:44:04	4447	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863938\":[1863938,8,1,\"choisir la taille\"],\"1863939\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863938
2023-10-13	13:44:04	4447	[DEBUG]	Update has fields after all processing
2023-10-13	13:44:04	4447	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863939
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field product_sku
2023-10-13	13:44:04	4448	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field taille
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field product_name
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field category_path
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field product_price
2023-10-13	13:44:04	4448	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field product_tax
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field file_url
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:44:04	4448	[DEBUG]	Use default value for field product_desc
2023-10-13	13:44:04	4448	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field product_availability
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field product_weight
2023-10-13	13:44:04	4448	[DEBUG]	Use default value for field product_unit
2023-10-13	13:44:04	4448	[DEBUG]	Use default value for field related_products
2023-10-13	13:44:04	4448	[DEBUG]	Use default value for field product_special
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field published
2023-10-13	13:44:04	4448	[DEBUG]	Use default value for field metadesc
2023-10-13	13:44:04	4448	[DEBUG]	Use default value for field metakey
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field custom_title
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field custom_value
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field custom_param
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field override
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field public_price
2023-10-13	13:44:04	4448	[DEBUG]	Use field value for field slug
2023-10-13	13:44:04	4448	[DEBUG]	Process line 4448
2023-10-13	13:44:04	4448	[DEBUG]	Load a row
2023-10-13	13:44:04	4448	[DEBUG]	Processing item: A_6290_248
2023-10-13	13:44:04	4448	[DEBUG]	Product tax: 7.7
2023-10-13	13:44:04	4448	[DEBUG]	Processing product tax
2023-10-13	13:44:04	4448	[DEBUG]	Check if calculation rule exists
2023-10-13	13:44:04	4448	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:44:04	4448	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:44:04	4448	[DEBUG]	Query for Product
2023-10-13	13:44:04	4448	[DEBUG]	Executed store
2023-10-13	13:44:04	4448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6290_248','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:44:04	4448	[DEBUG]	Check product language entry
2023-10-13	13:44:04	4448	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863940
2023-10-13	13:44:04	4448	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:04	4448	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6290_248' AND `virtuemart_product_id` != 1863940
2023-10-13	13:44:04	4448	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:44:04	4448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863940, 'A_6290_248')
2023-10-13	13:44:04	4448	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:04	4448	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-road-slick-700-x-25-2c-52a-60a-road-60-tpi-skinwall-noir-brun' AND `virtuemart_product_id` != 1863940
2023-10-13	13:44:04	4448	[DEBUG]	Query for ProductLang
2023-10-13	13:44:04	4448	[DEBUG]	Executed store
2023-10-13	13:44:04	4448	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='<br>N° art fourn : SLICK7002560KVT',`product_name`='MSC PNEU ROAD SLICK 700 X 25 2C 52A/60A ROAD 60 TPI SKINWALL / NOIR/BRUN',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-road-slick-700-x-25-2c-52a-60a-road-60-tpi-skinwall-noir-brun' WHERE `virtuemart_product_id` = '1863940'
2023-10-13	13:44:04	4448	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32140_road_slick_700_x_25_2c_52a-60a_road_60_tpi_skinwall.jpg
2023-10-13	13:44:04	4448	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:04	4448	[DEBUG]	Process image file
2023-10-13	13:44:04	4448	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:04	4448	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:44:04	4448	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32140_road_slick_700_x_25_2c_52a-60a_road_60_tpi_skinwall.jpg
2023-10-13	13:44:04	4448	[DEBUG]	Full name target: bcprisme/32140_road_slick_700_x_25_2c_52a-60a_road_60_tpi_skinwall.jpg
2023-10-13	13:44:05	4448	[DEBUG]	Checking if the file_url exists
2023-10-13	13:44:05	4448	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32140_road_slick_700_x_25_2c_52a-60a_road_60_tpi_skinwall.jpg'
2023-10-13	13:44:05	4448	[DEBUG]	Query for Media
2023-10-13	13:44:05	4448	[DEBUG]	Executed store
2023-10-13	13:44:05	4448	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32140_road_slick_700_x_25_2c_52a-60a_road_60_tpi_skinwall.jpg',`file_url_thumb`='bcprisme/32140_road_slick_700_x_25_2c_52a-60a_road_60_tpi_skinwall.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14565'
2023-10-13	13:44:05	4448	[DEBUG]	Query for ProductMedia
2023-10-13	13:44:05	4448	[DEBUG]	Executed store
2023-10-13	13:44:05	4448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863940','14565','1')
2023-10-13	13:44:05	4448	[DEBUG]	Store product image relation
2023-10-13	13:44:05	4448	[DEBUG]	Finding a product_price_id
2023-10-13	13:44:05	4448	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863940 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:44:05	4448	[DEBUG]	Query for ProductPrice
2023-10-13	13:44:05	4448	[DEBUG]	Executed store
2023-10-13	13:44:05	4448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863940','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:44:05	4448	[DEBUG]	Checking manufacturer
2023-10-13	13:44:05	4448	[DEBUG]	Load a row
2023-10-13	13:44:05	4448	[DEBUG]	Manufacturer already exists
2023-10-13	13:44:05	4448	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:05	4448	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:44:05	4448	[DEBUG]	Executed store
2023-10-13	13:44:05	4448	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:05	4448	[DEBUG]	Manufacturer exists
2023-10-13	13:44:05	4448	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:44:05	4448	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:44:05	4448	[DEBUG]	Executed store
2023-10-13	13:44:05	4448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863940','32')
2023-10-13	13:44:05	4448	[DEBUG]	Find the custom field ID
2023-10-13	13:44:05	4448	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:44:05	4448	[DEBUG]	No custom field ID found
2023-10-13	13:44:05	4448	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:44:05	4448	[DEBUG]	Get existing row with customfield value 64.7197222222222
2023-10-13	13:44:05	4448	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863940 AND `virtuemart_custom_id` = 3
2023-10-13	13:44:05	4448	[DEBUG]	Store custom available field
2023-10-13	13:44:05	4448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863940,3,'64.7197222222222',1)
2023-10-13	13:44:05	4448	[DEBUG]	Processing custom available field: taille
2023-10-13	13:44:05	4448	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:44:05	4448	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863940 AND `virtuemart_custom_id` = 6
2023-10-13	13:44:05	4448	[DEBUG]	Store custom available field
2023-10-13	13:44:05	4448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863940,6,'choisir la taille',3)
2023-10-13	13:44:05	4448	[DEBUG]	Process multi-variant fields
2023-10-13	13:44:05	4448	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:44:05	4448	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:44:05	4448	[DEBUG]	Find the multi variant product entry
2023-10-13	13:44:05	4448	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863940 AND `virtuemart_custom_id` = 8
2023-10-13	13:44:05	4448	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:44:05	4448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863940,8,1)
2023-10-13	13:44:05	4448	[DEBUG]	Store the updated customfield_params
2023-10-13	13:44:05	4448	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863940\":[1863940,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863940
2023-10-13	13:44:05	4448	[DEBUG]	Checking category
2023-10-13	13:44:05	4448	[DEBUG]	Get the existing categories for the product
2023-10-13	13:44:05	4448	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863940
2023-10-13	13:44:05	4448	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:44:05	4448	[DEBUG]	Executed store
2023-10-13	13:44:05	4448	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863940','7413')
2023-10-13	13:44:05	4448	[DEBUG]	Delete leftover product categories
2023-10-13	13:44:05	4448	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863940 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:44:05	4448	[DEBUG]	Update has fields after all processing
2023-10-13	13:44:05	4448	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863940
2023-10-13	13:44:05	4449	[DEBUG]	Use field value for field product_sku
2023-10-13	13:44:05	4449	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:44:05	4449	[DEBUG]	Use field value for field taille
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:44:05	4449	[DEBUG]	Use field value for field product_name
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field category_path
2023-10-13	13:44:05	4449	[DEBUG]	Use field value for field product_price
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:44:05	4449	[DEBUG]	Use field value for field product_tax
2023-10-13	13:44:05	4449	[DEBUG]	Use field value for field file_url
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field product_desc
2023-10-13	13:44:05	4449	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:44:05	4449	[DEBUG]	Use field value for field product_availability
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field product_weight
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field product_unit
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field related_products
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field product_special
2023-10-13	13:44:05	4449	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:44:05	4449	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:44:05	4449	[DEBUG]	Use field value for field published
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field metadesc
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field metakey
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field custom_title
2023-10-13	13:44:05	4449	[DEBUG]	Use field value for field custom_value
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field custom_param
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field override
2023-10-13	13:44:05	4449	[DEBUG]	Use default value for field public_price
2023-10-13	13:44:05	4449	[DEBUG]	Use field value for field slug
2023-10-13	13:44:05	4449	[DEBUG]	Process line 4449
2023-10-13	13:44:05	4449	[DEBUG]	Load a row
2023-10-13	13:44:05	4449	[DEBUG]	Processing item: 8435466216085
2023-10-13	13:44:05	4449	[DEBUG]	Looking for parent SKU
2023-10-13	13:44:05	4449	[DEBUG]	Checking product parent SKU
2023-10-13	13:44:05	4449	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6290_248'
2023-10-13	13:44:05	4449	[DEBUG]	Product tax: 7.7
2023-10-13	13:44:05	4449	[DEBUG]	Processing product tax
2023-10-13	13:44:05	4449	[DEBUG]	Check if calculation rule exists
2023-10-13	13:44:05	4449	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:44:05	4449	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:44:05	4449	[DEBUG]	Query for Product
2023-10-13	13:44:05	4449	[DEBUG]	Executed store
2023-10-13	13:44:05	4449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863940','8435466216085','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:44:05	4449	[DEBUG]	No parent found
2023-10-13	13:44:05	4449	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863940 AND customfield_value = 'stockable'
2023-10-13	13:44:05	4449	[DEBUG]	Check product language entry
2023-10-13	13:44:05	4449	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863941
2023-10-13	13:44:05	4449	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:05	4449	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466216085' AND `virtuemart_product_id` != 1863941
2023-10-13	13:44:05	4449	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:44:05	4449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863941, '8435466216085')
2023-10-13	13:44:05	4449	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:05	4449	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-road-slick-700-x-25-2c-52a-60a-road-60-tpi-skinwall-noir-brun-unitaire' AND `virtuemart_product_id` != 1863941
2023-10-13	13:44:05	4449	[DEBUG]	Query for ProductLang
2023-10-13	13:44:05	4449	[DEBUG]	Executed store
2023-10-13	13:44:05	4449	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU ROAD SLICK 700 X 25 2C 52A/60A ROAD 60 TPI SKINWALL / NOIR/BRUN (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-road-slick-700-x-25-2c-52a-60a-road-60-tpi-skinwall-noir-brun-unitaire' WHERE `virtuemart_product_id` = '1863941'
2023-10-13	13:44:05	4449	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32140_road_slick_700_x_25_2c_52a-60a_road_60_tpi_skinwall.jpg
2023-10-13	13:44:05	4449	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:05	4449	[DEBUG]	Process image file
2023-10-13	13:44:05	4449	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:05	4449	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:44:05	4449	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32140_road_slick_700_x_25_2c_52a-60a_road_60_tpi_skinwall.jpg
2023-10-13	13:44:05	4449	[DEBUG]	Full name target: bcprisme/32140_road_slick_700_x_25_2c_52a-60a_road_60_tpi_skinwall.jpg
2023-10-13	13:44:06	4449	[DEBUG]	Checking if the file_url exists
2023-10-13	13:44:06	4449	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32140_road_slick_700_x_25_2c_52a-60a_road_60_tpi_skinwall.jpg'
2023-10-13	13:44:06	4449	[DEBUG]	Query for Media
2023-10-13	13:44:06	4449	[DEBUG]	Executed store
2023-10-13	13:44:06	4449	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32140_road_slick_700_x_25_2c_52a-60a_road_60_tpi_skinwall.jpg',`file_url_thumb`='bcprisme/32140_road_slick_700_x_25_2c_52a-60a_road_60_tpi_skinwall.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14565'
2023-10-13	13:44:06	4449	[DEBUG]	Query for ProductMedia
2023-10-13	13:44:06	4449	[DEBUG]	Executed store
2023-10-13	13:44:06	4449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863941','14565','1')
2023-10-13	13:44:06	4449	[DEBUG]	Store product image relation
2023-10-13	13:44:06	4449	[DEBUG]	Finding a product_price_id
2023-10-13	13:44:06	4449	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863941 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:44:06	4449	[DEBUG]	Query for ProductPrice
2023-10-13	13:44:06	4449	[DEBUG]	Executed store
2023-10-13	13:44:06	4449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863941','0','46.3324048282266','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:44:06	4449	[DEBUG]	Checking manufacturer
2023-10-13	13:44:06	4449	[DEBUG]	Load a row
2023-10-13	13:44:06	4449	[DEBUG]	Manufacturer already exists
2023-10-13	13:44:06	4449	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:06	4449	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:44:06	4449	[DEBUG]	Executed store
2023-10-13	13:44:06	4449	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:06	4449	[DEBUG]	Manufacturer exists
2023-10-13	13:44:06	4449	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:44:06	4449	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:44:06	4449	[DEBUG]	Executed store
2023-10-13	13:44:06	4449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863941','32')
2023-10-13	13:44:06	4449	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:44:06	4449	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:44:06	4449	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863941 AND `virtuemart_custom_id` = 3
2023-10-13	13:44:06	4449	[DEBUG]	Store custom available field
2023-10-13	13:44:06	4449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863941,3,'',1)
2023-10-13	13:44:06	4449	[DEBUG]	Processing custom available field: taille
2023-10-13	13:44:06	4449	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:44:06	4449	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863941 AND `virtuemart_custom_id` = 6
2023-10-13	13:44:06	4449	[DEBUG]	Store custom available field
2023-10-13	13:44:06	4449	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863941,6,'Unitaire',3)
2023-10-13	13:44:06	4449	[DEBUG]	Process multi-variant fields
2023-10-13	13:44:06	4449	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:44:06	4449	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863940
2023-10-13	13:44:06	4449	[DEBUG]	Store the updated customfield_params
2023-10-13	13:44:06	4449	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863940\":[1863940,8,1,\"choisir la taille\"],\"1863941\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863940
2023-10-13	13:44:06	4449	[DEBUG]	Update has fields after all processing
2023-10-13	13:44:06	4449	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863941
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field product_sku
2023-10-13	13:44:06	4450	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field taille
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field product_name
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field category_path
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field product_price
2023-10-13	13:44:06	4450	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field product_tax
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field file_url
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:44:06	4450	[DEBUG]	Use default value for field product_desc
2023-10-13	13:44:06	4450	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field product_availability
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field product_weight
2023-10-13	13:44:06	4450	[DEBUG]	Use default value for field product_unit
2023-10-13	13:44:06	4450	[DEBUG]	Use default value for field related_products
2023-10-13	13:44:06	4450	[DEBUG]	Use default value for field product_special
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field published
2023-10-13	13:44:06	4450	[DEBUG]	Use default value for field metadesc
2023-10-13	13:44:06	4450	[DEBUG]	Use default value for field metakey
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field custom_title
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field custom_value
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field custom_param
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field override
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field public_price
2023-10-13	13:44:06	4450	[DEBUG]	Use field value for field slug
2023-10-13	13:44:06	4450	[DEBUG]	Process line 4450
2023-10-13	13:44:06	4450	[DEBUG]	Load a row
2023-10-13	13:44:06	4450	[DEBUG]	Processing item: A_6299_1
2023-10-13	13:44:06	4450	[DEBUG]	Product tax: 7.7
2023-10-13	13:44:06	4450	[DEBUG]	Processing product tax
2023-10-13	13:44:06	4450	[DEBUG]	Check if calculation rule exists
2023-10-13	13:44:06	4450	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:44:06	4450	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:44:06	4450	[DEBUG]	Query for Product
2023-10-13	13:44:06	4450	[DEBUG]	Executed store
2023-10-13	13:44:06	4450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6299_1','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:44:06	4450	[DEBUG]	Check product language entry
2023-10-13	13:44:06	4450	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863942
2023-10-13	13:44:06	4450	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:06	4450	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6299_1' AND `virtuemart_product_id` != 1863942
2023-10-13	13:44:06	4450	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:44:06	4450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863942, 'A_6299_1')
2023-10-13	13:44:06	4450	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:06	4450	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-performance-plus-700-x-28-60tpi-road-shield-noir' AND `virtuemart_product_id` != 1863942
2023-10-13	13:44:06	4450	[DEBUG]	Query for ProductLang
2023-10-13	13:44:06	4450	[DEBUG]	Executed store
2023-10-13	13:44:06	4450	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='COMPUESTO: 62A<br>253 g<br>Un pneumatique polyvalent et adapté à toutes les conditions. Le tout terrain de la route! La partie centrale facilite le roulement rapide tout en offrant un grip effi cace aux irrégularités de la route grâce à sa texture diamant. Les latéraux ont été pensé pour offrir un maximum de sécurité dans toutes les conditions météorologiques.<br>ROAD PERFORMANCE PLUS: Même dessin que le Road Performance mais avec la bande de protection Road Shield. Le Road Performance Plus sera votre meilleur allié pour affronter toutes les imperfections de la route et éviter les crevaisons.<br>N° art fourn : PERPL7002860KV',`product_name`='MSC PNEU PERFORMANCE PLUS 700 X 28 60TPI ROAD SHIELD / Noir',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-performance-plus-700-x-28-60tpi-road-shield-noir' WHERE `virtuemart_product_id` = '1863942'
2023-10-13	13:44:06	4450	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32157_road_performance_plus_700_x_28_60tpi_road_shield.jpg
2023-10-13	13:44:06	4450	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:06	4450	[DEBUG]	Process image file
2023-10-13	13:44:06	4450	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:06	4450	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:44:06	4450	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32157_road_performance_plus_700_x_28_60tpi_road_shield.jpg
2023-10-13	13:44:06	4450	[DEBUG]	Full name target: bcprisme/32157_road_performance_plus_700_x_28_60tpi_road_shield.jpg
2023-10-13	13:44:07	4450	[DEBUG]	Checking if the file_url exists
2023-10-13	13:44:07	4450	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32157_road_performance_plus_700_x_28_60tpi_road_shield.jpg'
2023-10-13	13:44:07	4450	[DEBUG]	Query for Media
2023-10-13	13:44:07	4450	[DEBUG]	Executed store
2023-10-13	13:44:07	4450	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32157_road_performance_plus_700_x_28_60tpi_road_shield.jpg',`file_url_thumb`='bcprisme/32157_road_performance_plus_700_x_28_60tpi_road_shield.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14567'
2023-10-13	13:44:07	4450	[DEBUG]	Query for ProductMedia
2023-10-13	13:44:07	4450	[DEBUG]	Executed store
2023-10-13	13:44:07	4450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863942','14567','1')
2023-10-13	13:44:07	4450	[DEBUG]	Store product image relation
2023-10-13	13:44:07	4450	[DEBUG]	Finding a product_price_id
2023-10-13	13:44:07	4450	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863942 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:44:07	4450	[DEBUG]	Query for ProductPrice
2023-10-13	13:44:07	4450	[DEBUG]	Executed store
2023-10-13	13:44:07	4450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863942','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:44:07	4450	[DEBUG]	Checking manufacturer
2023-10-13	13:44:07	4450	[DEBUG]	Load a row
2023-10-13	13:44:07	4450	[DEBUG]	Manufacturer already exists
2023-10-13	13:44:07	4450	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:07	4450	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:44:07	4450	[DEBUG]	Executed store
2023-10-13	13:44:07	4450	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:07	4450	[DEBUG]	Manufacturer exists
2023-10-13	13:44:07	4450	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:44:07	4450	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:44:07	4450	[DEBUG]	Executed store
2023-10-13	13:44:07	4450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863942','32')
2023-10-13	13:44:07	4450	[DEBUG]	Find the custom field ID
2023-10-13	13:44:07	4450	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:44:07	4450	[DEBUG]	No custom field ID found
2023-10-13	13:44:07	4450	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:44:07	4450	[DEBUG]	Get existing row with customfield value 26.8252777777778
2023-10-13	13:44:07	4450	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863942 AND `virtuemart_custom_id` = 3
2023-10-13	13:44:07	4450	[DEBUG]	Store custom available field
2023-10-13	13:44:07	4450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863942,3,'26.8252777777778',1)
2023-10-13	13:44:07	4450	[DEBUG]	Processing custom available field: taille
2023-10-13	13:44:07	4450	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:44:07	4450	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863942 AND `virtuemart_custom_id` = 6
2023-10-13	13:44:07	4450	[DEBUG]	Store custom available field
2023-10-13	13:44:07	4450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863942,6,'choisir la taille',3)
2023-10-13	13:44:07	4450	[DEBUG]	Process multi-variant fields
2023-10-13	13:44:07	4450	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:44:07	4450	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:44:07	4450	[DEBUG]	Find the multi variant product entry
2023-10-13	13:44:07	4450	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863942 AND `virtuemart_custom_id` = 8
2023-10-13	13:44:07	4450	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:44:07	4450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863942,8,1)
2023-10-13	13:44:07	4450	[DEBUG]	Store the updated customfield_params
2023-10-13	13:44:07	4450	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863942\":[1863942,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863942
2023-10-13	13:44:07	4450	[DEBUG]	Checking category
2023-10-13	13:44:07	4450	[DEBUG]	Get the existing categories for the product
2023-10-13	13:44:07	4450	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863942
2023-10-13	13:44:07	4450	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:44:07	4450	[DEBUG]	Executed store
2023-10-13	13:44:07	4450	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863942','7413')
2023-10-13	13:44:07	4450	[DEBUG]	Delete leftover product categories
2023-10-13	13:44:07	4450	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863942 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:44:07	4450	[DEBUG]	Update has fields after all processing
2023-10-13	13:44:07	4450	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863942
2023-10-13	13:44:07	4451	[DEBUG]	Use field value for field product_sku
2023-10-13	13:44:07	4451	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:44:07	4451	[DEBUG]	Use field value for field taille
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:44:07	4451	[DEBUG]	Use field value for field product_name
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field category_path
2023-10-13	13:44:07	4451	[DEBUG]	Use field value for field product_price
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:44:07	4451	[DEBUG]	Use field value for field product_tax
2023-10-13	13:44:07	4451	[DEBUG]	Use field value for field file_url
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field product_desc
2023-10-13	13:44:07	4451	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:44:07	4451	[DEBUG]	Use field value for field product_availability
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field product_weight
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field product_unit
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field related_products
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field product_special
2023-10-13	13:44:07	4451	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:44:07	4451	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:44:07	4451	[DEBUG]	Use field value for field published
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field metadesc
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field metakey
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field custom_title
2023-10-13	13:44:07	4451	[DEBUG]	Use field value for field custom_value
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field custom_param
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field override
2023-10-13	13:44:07	4451	[DEBUG]	Use default value for field public_price
2023-10-13	13:44:07	4451	[DEBUG]	Use field value for field slug
2023-10-13	13:44:07	4451	[DEBUG]	Process line 4451
2023-10-13	13:44:07	4451	[DEBUG]	Load a row
2023-10-13	13:44:07	4451	[DEBUG]	Processing item: 8435466215156
2023-10-13	13:44:07	4451	[DEBUG]	Looking for parent SKU
2023-10-13	13:44:07	4451	[DEBUG]	Checking product parent SKU
2023-10-13	13:44:07	4451	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6299_1'
2023-10-13	13:44:07	4451	[DEBUG]	Product tax: 7.7
2023-10-13	13:44:07	4451	[DEBUG]	Processing product tax
2023-10-13	13:44:07	4451	[DEBUG]	Check if calculation rule exists
2023-10-13	13:44:07	4451	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:44:07	4451	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:44:07	4451	[DEBUG]	Query for Product
2023-10-13	13:44:07	4451	[DEBUG]	Executed store
2023-10-13	13:44:07	4451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863942','8435466215156','0','KG','M','','5','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:44:07	4451	[DEBUG]	No parent found
2023-10-13	13:44:07	4451	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863942 AND customfield_value = 'stockable'
2023-10-13	13:44:07	4451	[DEBUG]	Check product language entry
2023-10-13	13:44:07	4451	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863943
2023-10-13	13:44:07	4451	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:07	4451	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215156' AND `virtuemart_product_id` != 1863943
2023-10-13	13:44:07	4451	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:44:07	4451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863943, '8435466215156')
2023-10-13	13:44:07	4451	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:07	4451	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-performance-plus-700-x-28-60tpi-road-shield-noir-unitaire' AND `virtuemart_product_id` != 1863943
2023-10-13	13:44:07	4451	[DEBUG]	Query for ProductLang
2023-10-13	13:44:07	4451	[DEBUG]	Executed store
2023-10-13	13:44:07	4451	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU PERFORMANCE PLUS 700 X 28 60TPI ROAD SHIELD / Noir (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-performance-plus-700-x-28-60tpi-road-shield-noir-unitaire' WHERE `virtuemart_product_id` = '1863943'
2023-10-13	13:44:07	4451	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32157_road_performance_plus_700_x_28_60tpi_road_shield.jpg
2023-10-13	13:44:07	4451	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:07	4451	[DEBUG]	Process image file
2023-10-13	13:44:07	4451	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:07	4451	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:44:07	4451	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32157_road_performance_plus_700_x_28_60tpi_road_shield.jpg
2023-10-13	13:44:07	4451	[DEBUG]	Full name target: bcprisme/32157_road_performance_plus_700_x_28_60tpi_road_shield.jpg
2023-10-13	13:44:08	4451	[DEBUG]	Checking if the file_url exists
2023-10-13	13:44:08	4451	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32157_road_performance_plus_700_x_28_60tpi_road_shield.jpg'
2023-10-13	13:44:08	4451	[DEBUG]	Query for Media
2023-10-13	13:44:08	4451	[DEBUG]	Executed store
2023-10-13	13:44:08	4451	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32157_road_performance_plus_700_x_28_60tpi_road_shield.jpg',`file_url_thumb`='bcprisme/32157_road_performance_plus_700_x_28_60tpi_road_shield.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14567'
2023-10-13	13:44:08	4451	[DEBUG]	Query for ProductMedia
2023-10-13	13:44:08	4451	[DEBUG]	Executed store
2023-10-13	13:44:08	4451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863943','14567','1')
2023-10-13	13:44:08	4451	[DEBUG]	Store product image relation
2023-10-13	13:44:08	4451	[DEBUG]	Finding a product_price_id
2023-10-13	13:44:08	4451	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863943 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:44:08	4451	[DEBUG]	Query for ProductPrice
2023-10-13	13:44:08	4451	[DEBUG]	Executed store
2023-10-13	13:44:08	4451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863943','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:44:08	4451	[DEBUG]	Checking manufacturer
2023-10-13	13:44:08	4451	[DEBUG]	Load a row
2023-10-13	13:44:08	4451	[DEBUG]	Manufacturer already exists
2023-10-13	13:44:08	4451	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:08	4451	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:44:08	4451	[DEBUG]	Executed store
2023-10-13	13:44:08	4451	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:08	4451	[DEBUG]	Manufacturer exists
2023-10-13	13:44:08	4451	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:44:08	4451	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:44:08	4451	[DEBUG]	Executed store
2023-10-13	13:44:08	4451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863943','32')
2023-10-13	13:44:08	4451	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:44:08	4451	[DEBUG]	Get existing row with customfield value 
2023-10-13	13:44:08	4451	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863943 AND `virtuemart_custom_id` = 3
2023-10-13	13:44:08	4451	[DEBUG]	Store custom available field
2023-10-13	13:44:08	4451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863943,3,'',1)
2023-10-13	13:44:08	4451	[DEBUG]	Processing custom available field: taille
2023-10-13	13:44:08	4451	[DEBUG]	Get existing row with customfield value Unitaire
2023-10-13	13:44:08	4451	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863943 AND `virtuemart_custom_id` = 6
2023-10-13	13:44:08	4451	[DEBUG]	Store custom available field
2023-10-13	13:44:08	4451	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863943,6,'Unitaire',3)
2023-10-13	13:44:08	4451	[DEBUG]	Process multi-variant fields
2023-10-13	13:44:08	4451	[DEBUG]	Load the existing customfield_params for product parent
2023-10-13	13:44:08	4451	[QUERY]	 SELECT `customfield_params` FROM `mlvbch_virtuemart_product_customfields` WHERE `customfield_params` != '' AND `virtuemart_product_id` = 1863942
2023-10-13	13:44:08	4451	[DEBUG]	Store the updated customfield_params
2023-10-13	13:44:08	4451	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\\r\\nUnitaire\"}]|clabels=0|options={\"1863942\":[1863942,8,1,\"choisir la taille\"],\"1863943\":[\"Unitaire\"]}|' WHERE `virtuemart_product_id` = 1863942
2023-10-13	13:44:08	4451	[DEBUG]	Update has fields after all processing
2023-10-13	13:44:08	4451	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 0  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863943
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field product_sku
2023-10-13	13:44:08	4452	[DEBUG]	Use default value for field product_parent_sku
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field taille
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field multi_variant_title
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field multi_variant_fields
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field product_name
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field category_path
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field product_price
2023-10-13	13:44:08	4452	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field product_tax
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field file_url
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field product_s_desc
2023-10-13	13:44:08	4452	[DEBUG]	Use default value for field product_desc
2023-10-13	13:44:08	4452	[DEBUG]	Use default value for field product_in_stock
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field product_availability
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field product_weight
2023-10-13	13:44:08	4452	[DEBUG]	Use default value for field product_unit
2023-10-13	13:44:08	4452	[DEBUG]	Use default value for field related_products
2023-10-13	13:44:08	4452	[DEBUG]	Use default value for field product_special
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field published
2023-10-13	13:44:08	4452	[DEBUG]	Use default value for field metadesc
2023-10-13	13:44:08	4452	[DEBUG]	Use default value for field metakey
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field custom_title
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field custom_value
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field custom_param
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field override
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field public_price
2023-10-13	13:44:08	4452	[DEBUG]	Use field value for field slug
2023-10-13	13:44:08	4452	[DEBUG]	Process line 4452
2023-10-13	13:44:08	4452	[DEBUG]	Load a row
2023-10-13	13:44:08	4452	[DEBUG]	Processing item: A_6300_248
2023-10-13	13:44:08	4452	[DEBUG]	Product tax: 7.7
2023-10-13	13:44:08	4452	[DEBUG]	Processing product tax
2023-10-13	13:44:08	4452	[DEBUG]	Check if calculation rule exists
2023-10-13	13:44:08	4452	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:44:08	4452	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:44:08	4452	[DEBUG]	Query for Product
2023-10-13	13:44:08	4452	[DEBUG]	Executed store
2023-10-13	13:44:08	4452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','0','A_6300_248','0.54','KG','M','','0','0','0','0','choisir_taille.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:44:08	4452	[DEBUG]	Check product language entry
2023-10-13	13:44:08	4452	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863944
2023-10-13	13:44:08	4452	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:08	4452	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'A_6300_248' AND `virtuemart_product_id` != 1863944
2023-10-13	13:44:08	4452	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:44:08	4452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863944, 'A_6300_248')
2023-10-13	13:44:08	4452	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:08	4452	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-performance-plus-700x28-60tpi-road-shield-brown-noir-brun' AND `virtuemart_product_id` != 1863944
2023-10-13	13:44:08	4452	[DEBUG]	Query for ProductLang
2023-10-13	13:44:08	4452	[DEBUG]	Executed store
2023-10-13	13:44:08	4452	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='COMPUESTO 62A<br>283 g<br>Un pneumatique polyvalent et adapté à toutes les conditions. Le tout terrain de la route! La partie centrale facilite le roulement rapide tout en offrant un grip effi cace aux irrégularités de la route grâce à sa texture diamant. Les latéraux ont été pensé pour offrir un maximum de sécurité dans toutes les conditions météorologiques.<br>ROAD PERFORMANCE PLUS. Même dessin que le Road Performance mais avec la bande de protection Road Shield. Le Road Performance Plus sera votre meilleur allié pour affronter toutes les imperfections de la route et éviter les crevaisons.<br>N° art fourn : PERPL7002860KVT',`product_name`='MSC PNEU PERFORMANCE PLUS 700x28 60TPI ROAD SHIELD BROWN / NOIR/BRUN',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-performance-plus-700x28-60tpi-road-shield-brown-noir-brun' WHERE `virtuemart_product_id` = '1863944'
2023-10-13	13:44:08	4452	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32158_road_performance_plus_700_x_28_60tpi_road_shield_brown.jpg
2023-10-13	13:44:08	4452	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:08	4452	[DEBUG]	Process image file
2023-10-13	13:44:08	4452	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:08	4452	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:44:08	4452	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32158_road_performance_plus_700_x_28_60tpi_road_shield_brown.jpg
2023-10-13	13:44:08	4452	[DEBUG]	Full name target: bcprisme/32158_road_performance_plus_700_x_28_60tpi_road_shield_brown.jpg
2023-10-13	13:44:09	4452	[DEBUG]	Checking if the file_url exists
2023-10-13	13:44:09	4452	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32158_road_performance_plus_700_x_28_60tpi_road_shield_brown.jpg'
2023-10-13	13:44:09	4452	[DEBUG]	Query for Media
2023-10-13	13:44:09	4452	[DEBUG]	Executed store
2023-10-13	13:44:09	4452	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32158_road_performance_plus_700_x_28_60tpi_road_shield_brown.jpg',`file_url_thumb`='bcprisme/32158_road_performance_plus_700_x_28_60tpi_road_shield_brown.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14568'
2023-10-13	13:44:09	4452	[DEBUG]	Query for ProductMedia
2023-10-13	13:44:09	4452	[DEBUG]	Executed store
2023-10-13	13:44:09	4452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863944','14568','1')
2023-10-13	13:44:09	4452	[DEBUG]	Store product image relation
2023-10-13	13:44:09	4452	[DEBUG]	Finding a product_price_id
2023-10-13	13:44:09	4452	[QUERY]	 SELECT `virtuemart_product_price_id` FROM `mlvbch_virtuemart_product_prices` WHERE `virtuemart_product_id` = 1863944 AND (`price_quantity_start` = 0 OR `price_quantity_start` IS NULL) AND (`price_quantity_end` = 0 OR `price_quantity_end` IS NULL) AND `virtuemart_shoppergroup_id` = 0 AND `product_currency` = 27 AND (`product_price_publish_up` = '0000-00-00 00:00:00' OR `product_price_publish_up` IS NULL) AND (`product_price_publish_down` = '0000-00-00 00:00:00' OR `product_price_publish_down` IS NULL)
2023-10-13	13:44:09	4452	[DEBUG]	Query for ProductPrice
2023-10-13	13:44:09	4452	[DEBUG]	Executed store
2023-10-13	13:44:09	4452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_prices` (`virtuemart_product_id`,`virtuemart_shoppergroup_id`,`product_price`,`override`,`product_tax_id`,`product_currency`,`product_price_publish_up`,`product_price_publish_down`,`price_quantity_start`,`price_quantity_end`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES  ('1863944','0','50.974930362117','0','3631','27','0000-00-00 00:00:00','0000-00-00 00:00:00','0','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0000-00-00 00:00:00','0')
2023-10-13	13:44:09	4452	[DEBUG]	Checking manufacturer
2023-10-13	13:44:09	4452	[DEBUG]	Load a row
2023-10-13	13:44:09	4452	[DEBUG]	Manufacturer already exists
2023-10-13	13:44:09	4452	[QUERY]	 SELECT * FROM `mlvbch_virtuemart_manufacturers_fr_fr` WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:09	4452	[DEBUG]	Query for ManufacturerLang
2023-10-13	13:44:09	4452	[DEBUG]	Executed store
2023-10-13	13:44:09	4452	[QUERY]	UPDATE `mlvbch_virtuemart_manufacturers_fr_fr` SET `mf_name`='',`mf_email`='',`mf_desc`='',`mf_url`='',`metadesc`='',`metakey`='',`customtitle`='',`slug`='2019-11-05-12-33-3371516096' WHERE `virtuemart_manufacturer_id` = '32'
2023-10-13	13:44:09	4452	[DEBUG]	Manufacturer exists
2023-10-13	13:44:09	4452	[QUERY]	 SELECT `virtuemart_manufacturer_id` FROM `mlvbch_virtuemart_manufacturers` WHERE `virtuemart_manufacturer_id` = 32
2023-10-13	13:44:09	4452	[DEBUG]	Query for ProductManufacturer
2023-10-13	13:44:09	4452	[DEBUG]	Executed store
2023-10-13	13:44:09	4452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_manufacturers` (`virtuemart_product_id`,`virtuemart_manufacturer_id`) VALUES  ('1863944','32')
2023-10-13	13:44:09	4452	[DEBUG]	Find the custom field ID
2023-10-13	13:44:09	4452	[QUERY]	 SELECT `custom_parent_id`,`virtuemart_custom_id`,`field_type` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'choisissez' AND `field_type` NOT IN ('C','R','Z')
2023-10-13	13:44:09	4452	[DEBUG]	No custom field ID found
2023-10-13	13:44:09	4452	[DEBUG]	Processing custom available field: public_price
2023-10-13	13:44:09	4452	[DEBUG]	Get existing row with customfield value 26.8252777777778
2023-10-13	13:44:09	4452	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863944 AND `virtuemart_custom_id` = 3
2023-10-13	13:44:09	4452	[DEBUG]	Store custom available field
2023-10-13	13:44:09	4452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863944,3,'26.8252777777778',1)
2023-10-13	13:44:09	4452	[DEBUG]	Processing custom available field: taille
2023-10-13	13:44:09	4452	[DEBUG]	Get existing row with customfield value choisir la taille
2023-10-13	13:44:09	4452	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863944 AND `virtuemart_custom_id` = 6
2023-10-13	13:44:09	4452	[DEBUG]	Store custom available field
2023-10-13	13:44:09	4452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`ordering`) VALUES  (1863944,6,'choisir la taille',3)
2023-10-13	13:44:09	4452	[DEBUG]	Process multi-variant fields
2023-10-13	13:44:09	4452	[DEBUG]	Find the multi variant custom field entry
2023-10-13	13:44:09	4452	[QUERY]	 SELECT `virtuemart_custom_id` FROM `mlvbch_virtuemart_customs` WHERE `custom_title` = 'Taille article' AND `field_type` = 'C'
2023-10-13	13:44:09	4452	[DEBUG]	Find the multi variant product entry
2023-10-13	13:44:09	4452	[QUERY]	 SELECT `virtuemart_customfield_id` FROM `mlvbch_virtuemart_product_customfields` WHERE `virtuemart_product_id` = 1863944 AND `virtuemart_custom_id` = 8
2023-10-13	13:44:09	4452	[DEBUG]	Insert the multi variant custom field entry
2023-10-13	13:44:09	4452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`published`) VALUES  (1863944,8,1)
2023-10-13	13:44:09	4452	[DEBUG]	Store the updated customfield_params
2023-10-13	13:44:09	4452	[QUERY]	 UPDATE `mlvbch_virtuemart_product_customfields` SET `customfield_params` = 'usecanonical=0|showlabels=0|sCustomId=0|selectoptions=[{\"voption\":\"clabels\",\"clabel\":\"taille\",\"values\":\"choisir la taille\"}]|clabels=0|options={\"1863944\":[1863944,8,1,\"choisir la taille\"]}|' WHERE `virtuemart_product_id` = 1863944
2023-10-13	13:44:09	4452	[DEBUG]	Checking category
2023-10-13	13:44:09	4452	[DEBUG]	Get the existing categories for the product
2023-10-13	13:44:09	4452	[QUERY]	 SELECT `id`,`virtuemart_category_id` FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863944
2023-10-13	13:44:09	4452	[DEBUG]	Query for Productcategoryxref
2023-10-13	13:44:09	4452	[DEBUG]	Executed store
2023-10-13	13:44:09	4452	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_categories` (`id`,`virtuemart_product_id`,`virtuemart_category_id`) VALUES  ('0','1863944','7413')
2023-10-13	13:44:09	4452	[DEBUG]	Delete leftover product categories
2023-10-13	13:44:09	4452	[QUERY]	 DELETE  FROM `mlvbch_virtuemart_product_categories` WHERE `virtuemart_product_id` = 1863944 AND `virtuemart_category_id` NOT IN (7413)
2023-10-13	13:44:09	4452	[DEBUG]	Update has fields after all processing
2023-10-13	13:44:09	4452	[QUERY]	 UPDATE `mlvbch_virtuemart_products` SET `has_categories` = 1  , `has_manufacturers` = 1  , `has_medias` = 1  , `has_prices` = 1  , `has_shoppergroups` = 0 WHERE `virtuemart_product_id` = 1863944
2023-10-13	13:44:09	4453	[DEBUG]	Use field value for field product_sku
2023-10-13	13:44:09	4453	[DEBUG]	Use field value for field product_parent_sku
2023-10-13	13:44:09	4453	[DEBUG]	Use field value for field taille
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field multi_variant_title
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field multi_variant_fields
2023-10-13	13:44:09	4453	[DEBUG]	Use field value for field product_name
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field category_path
2023-10-13	13:44:09	4453	[DEBUG]	Use field value for field product_price
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field product_override_price
2023-10-13	13:44:09	4453	[DEBUG]	Use field value for field product_tax
2023-10-13	13:44:09	4453	[DEBUG]	Use field value for field file_url
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field product_s_desc
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field product_desc
2023-10-13	13:44:09	4453	[DEBUG]	Use field value for field product_in_stock
2023-10-13	13:44:09	4453	[DEBUG]	Use field value for field product_availability
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field product_weight
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field product_unit
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field related_products
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field product_special
2023-10-13	13:44:09	4453	[DEBUG]	Use field value for field manufacturer_name
2023-10-13	13:44:09	4453	[DEBUG]	Use field value for field manufacturer_id
2023-10-13	13:44:09	4453	[DEBUG]	Use field value for field published
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field metadesc
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field metakey
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field custom_title
2023-10-13	13:44:09	4453	[DEBUG]	Use field value for field custom_value
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field custom_param
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field override
2023-10-13	13:44:09	4453	[DEBUG]	Use default value for field public_price
2023-10-13	13:44:09	4453	[DEBUG]	Use field value for field slug
2023-10-13	13:44:09	4453	[DEBUG]	Process line 4453
2023-10-13	13:44:09	4453	[DEBUG]	Load a row
2023-10-13	13:44:09	4453	[DEBUG]	Processing item: 8435466215965
2023-10-13	13:44:09	4453	[DEBUG]	Looking for parent SKU
2023-10-13	13:44:09	4453	[DEBUG]	Checking product parent SKU
2023-10-13	13:44:09	4453	[QUERY]	 SELECT `virtuemart_product_id` FROM `mlvbch_virtuemart_products` WHERE `product_sku` = 'A_6300_248'
2023-10-13	13:44:09	4453	[DEBUG]	Product tax: 7.7
2023-10-13	13:44:09	4453	[DEBUG]	Processing product tax
2023-10-13	13:44:09	4453	[DEBUG]	Check if calculation rule exists
2023-10-13	13:44:09	4453	[QUERY]	 SELECT `c`.`virtuemart_calc_id` FROM `mlvbch_virtuemart_calcs` AS `c` WHERE `calc_kind` = 'Tax' AND `calc_value_mathop` = '+%' AND `calc_value` BETWEEN '7.6' AND '7.8' GROUP BY `c`.`virtuemart_calc_id`
2023-10-13	13:44:09	4453	[DEBUG]	Found multiple calculation rules, using the first one. This is 3631
2023-10-13	13:44:09	4453	[DEBUG]	Query for Product
2023-10-13	13:44:09	4453	[DEBUG]	Executed store
2023-10-13	13:44:09	4453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products` (`virtuemart_vendor_id`,`product_parent_id`,`product_sku`,`product_weight`,`product_weight_uom`,`product_lwh_uom`,`product_url`,`product_in_stock`,`product_ordered`,`product_stockhandle`,`low_stock_notification`,`product_availability`,`product_special`,`product_discontinued`,`product_sales`,`product_unit`,`product_packaging`,`product_params`,`hits`,`intnotes`,`metarobot`,`metaauthor`,`layout`,`published`,`pordering`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_by`) VALUES  ('1','1863944','8435466215965','0','KG','M','','4','0','0','0','enstock2.gif','0','0','0','KG','0','min_order_level=\"\"|max_order_level=\"\"|step_order_level=\"\"|shared_stock=0|product_box=\"\"|','0','','','','0','1','0','2023-10-13 13:43:15','1593','2023-10-13 13:43:15','1593','0')
2023-10-13	13:44:09	4453	[DEBUG]	No parent found
2023-10-13	13:44:09	4453	[QUERY]	 SELECT customfield_params FROM mlvbch_virtuemart_product_customfields WHERE virtuemart_product_id = 1863944 AND customfield_value = 'stockable'
2023-10-13	13:44:09	4453	[DEBUG]	Check product language entry
2023-10-13	13:44:09	4453	[QUERY]	 SELECT `virtuemart_product_id`,`slug` FROM `mlvbch_virtuemart_products_fr_fr` WHERE `virtuemart_product_id` = 1863945
2023-10-13	13:44:09	4453	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:09	4453	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = '8435466215965' AND `virtuemart_product_id` != 1863945
2023-10-13	13:44:09	4453	[DEBUG]	Insert the dummy entry for the product language
2023-10-13	13:44:09	4453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_products_fr_fr` (`virtuemart_product_id`,`slug`) VALUES  (1863945, '8435466215965')
2023-10-13	13:44:09	4453	[DEBUG]	Check if the product slug exists
2023-10-13	13:44:09	4453	[QUERY]	 SELECT COUNT(`virtuemart_product_id`) FROM mlvbch_virtuemart_products_fr_fr WHERE `slug` = 'msc-pneu-performance-plus-700x28-60tpi-road-shield-brown-noir-brun-unitaire' AND `virtuemart_product_id` != 1863945
2023-10-13	13:44:09	4453	[DEBUG]	Query for ProductLang
2023-10-13	13:44:09	4453	[DEBUG]	Executed store
2023-10-13	13:44:09	4453	[QUERY]	UPDATE `mlvbch_virtuemart_products_fr_fr` SET `product_s_desc`='',`product_name`='MSC PNEU PERFORMANCE PLUS 700x28 60TPI ROAD SHIELD BROWN / NOIR/BRUN (Unitaire)',`metadesc`='',`metakey`='',`customtitle`='',`slug`='msc-pneu-performance-plus-700x28-60tpi-road-shield-brown-noir-brun-unitaire' WHERE `virtuemart_product_id` = '1863945'
2023-10-13	13:44:09	4453	[DEBUG]	Process file: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32158_road_performance_plus_700_x_28_60tpi_road_shield_brown.jpg
2023-10-13	13:44:09	4453	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:09	4453	[DEBUG]	Process image file
2023-10-13	13:44:09	4453	[DEBUG]	Identity string: ffd8ffe000104a46494600010100000100010000
2023-10-13	13:44:09	4453	[DEBUG]	Mime type found: image/jpeg
2023-10-13	13:44:09	4453	[DEBUG]	Full name original: /home/httpd/vhosts/lemusee.ch/fabien-bike.ch/bcprisme/32158_road_performance_plus_700_x_28_60tpi_road_shield_brown.jpg
2023-10-13	13:44:09	4453	[DEBUG]	Full name target: bcprisme/32158_road_performance_plus_700_x_28_60tpi_road_shield_brown.jpg
2023-10-13	13:44:10	4453	[DEBUG]	Checking if the file_url exists
2023-10-13	13:44:10	4453	[QUERY]	 SELECT `virtuemart_media_id` FROM `mlvbch_virtuemart_medias` WHERE `file_url` = 'bcprisme/32158_road_performance_plus_700_x_28_60tpi_road_shield_brown.jpg'
2023-10-13	13:44:10	4453	[DEBUG]	Query for Media
2023-10-13	13:44:10	4453	[DEBUG]	Executed store
2023-10-13	13:44:10	4453	[QUERY]	UPDATE `mlvbch_virtuemart_medias` SET `virtuemart_vendor_id`='1',`file_title`='',`file_description`='',`file_meta`='',`file_class`='',`file_mimetype`='image/jpeg',`file_type`='product',`file_url`='bcprisme/32158_road_performance_plus_700_x_28_60tpi_road_shield_brown.jpg',`file_url_thumb`='bcprisme/32158_road_performance_plus_700_x_28_60tpi_road_shield_brown.jpg',`file_is_product_image`='1',`file_is_downloadable`='0',`file_is_forSale`='0',`file_params`='',`file_lang`='',`shared`='0',`published`='1',`created_by`='0',`modified_by`='0',`locked_by`='0' WHERE `virtuemart_media_id` = '14568'
2023-10-13	13:44:10	4453	[DEBUG]	Query for ProductMedia
2023-10-13	13:44:10	4453	[DEBUG]	Executed store
2023-10-13	13:44:10	4453	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_medias` (`virtuemart_product_id`,`virtuemart_media_id`,`ordering`) VALUES  ('1863945','14568','1')
2023-10-13	13:44:10	4453	[DEBUG]	Store product image relation
2023-10-13	15:11:10	8874	[QUERY]	 INSERT INTO `mlvbch_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`disabler`,`override`,`noninheritable`,`customfield_params`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`,`ordering`) VALUES  ('0','1','0','0','0','','0','2023-10-13 15:09:48','1593','2023-10-13 15:09:48','1593','0000-00-00 00:00:00','0','0')
